Section A.7. log_errors


A.7. log_errors

When 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.




Essential PHP Security
Essential PHP Security
ISBN: 059600656X
EAN: 2147483647
Year: 2005
Pages: 110

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net