Error Reporting
PHP Security
2025-03-15
20
error_reporting
- Always set to
E_ALL
.
display_errors
- Set to
On
in development and
Off
in production.
log_errors
- Set to
On
in production.
error_log
- Set to the desired location of the error log.