Turn on PHP error reporting   August 11th, 2015

To display error messages caused by your PHP script you can include these lines of code:


Another way to do it is to edit your php.ini file and include this option:

error_reporting = E_ALL

To turn error reporting off for a single document, include this line:

This entry was posted on Tuesday, August 11th, 2015 at 7:17 pm and is filed under PHP. You can follow any responses to this entry through the RSS 2.0 feed.Responses are currently closed, but you can trackback from your own site.

No Responses