How to enable display_error

There are two different ways to enable PHP errors.

1. Via CPanel

Go to CPanel->Alter PHP Config->Alter PHP Directives now click on on button of display errors radio group.

2. Via .htaccess
Just paste this line in your .htaccess file.

php_value display_errors On
7 Likes