Organizational Research By

Surprising Reserch Topic

Question:how to Log All PHP Errors


Do not expose PHP error messages to all site visitors. Edit /etc/php.d/security.ini and set the following directive:

display_errors=Off

Make sure you log all php errors to a log file:

log_errors=On
error_log=/var/log/httpd/php_scripts_error.log

asked Sep 13, 2013 in PHP by rajesh
edited Sep 12, 2013
0 votes
29 views



Related Hot Questions

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.

...