A.7. log_errorsWhen enabled, log_errors instructs PHP to log all errors to the file indicated by the error_log directive. This is useful for creating a history of behavior, so that you can better monitor an application. When display_errors is disabled, enabling log_errors is especially important; otherwise, you are not alerted to the problems with your application. I recommend always enabling log_errors. Remember to indicate the desired location of the error log with error_log. |