Tuesday, 12 June 2012

Enabling PHP error logging

Within the PHP directory, open php.ini



display_errors = Off (This will redirect the errors from end users)
error_log = "php_error_log .log"


Then restart the Apache server, you should now find the log file within the PHP folder.

No comments:

Post a Comment