Pre Exam Test Practice (SSC | Banking | IAS | GATE | State Level | CLAT | Railways | Insurance | Teaching Exams | NDA | Defence | IES |State Exam )

Organizational Research By

Surprising Reserch 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



Government Jobs Opening


...