Return to Snippet

Revision: 48833
at July 11, 2011 10:40 by kidmizere

Initial Code
How to display PHP errors in the browser for debugging when you don't have access to the servers php.ini file or the servers log files.

Insert the below PHP code into the PHP file you want to debug, then this will report all PHP errors to the browser when accessing the PHP page.

ini_set("display_errors", 1);

Initial URL

Initial Description

Initial Title
Display Errors in PHP without php.ini access

Initial Tags

Initial Language