PHP error displays on/off

No Comments

Your PHP page does not display errors or only displays a blank page without any error message. You may not turn on your error_displays in your setting. Please add the below lines into your .htaccess file:

php_flag display_startup_errors on
php_flag display_errors on

Or adding these lines into your PHP file

ini_set(‘display_startup_errors’,1);
ini_set(‘display_errors’,1);

Leave a Reply