Enabling error logging
To enable PHP error logging, you need to set two directives in the php.ini file:- log_errors
- error_log
Disabling error logging
To disable PHP error logging, modify the log_errors line in the php.ini file as follows:More information
- To view a complete list of php.ini directives, please visit https://secure.php.net/manual/en/ini.list.php.
- For more information about the log_errors directive, please visit https://secure.php.net/manual/en/errorfunc.configuration.php#ini.log-errors.
- For more information about the error_log directive, please visit https://secure.php.net/manual/en/errorfunc.configuration.php#ini.error-log.