How to turn on PHP error messages

Turning on PHP error messages is very useful in determining when a PHP page fails.

You can set the php handling in the php.ini. Set the following lines to ON:

error_reporting
display_errors

If you only want to check a particular page, just add this line on top of your script:

ERROR_REPORTING(E_ALL);

You may also want to try out some informations from this page.

Recommended buys!

0 comments