Organizational Research By

Surprising Reserch Topic

Experts Most Trusted Topic


boostr.in questions - 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
23 views



Related Hot Questions



Walkin Jobs Opening



Government Jobs Opening


...