Display all PHP Errors and Warnings

Saturday, March 20, 2010 1:14
Posted in category PHP

How do i display errors in php if error display setting is off in my server configuration?

Here are the two simple things to display errors even if the error display setting is off in server.

error_reporting(E_ALL);
ini_set(‘display_errors’, ’1′);

You can leave a response, or trackback from your own site.

Leave a Reply

*