Enabling error reporting using .htaccess
Please consider switching to our new and improved hosting service: Islandhosting.com
For support call:     778-410-2454

Enabling error reporting using .htaccess

Sometimes it's necessary to enable error reporting so that you can diagnose errors in website code,  without it enabled you may only see what many refer to as the "white screen of death". 

To achieve this you need to create a .htaccess file in the location where your website domain is pointing or in the folder that contains the code if you wanting to limit error reporting to just that location and in it put..:

php_value error_reporting 7
php_flag display_errors On

You can easily disable the error_reporting by placing the hash sign (#) in the beginning of the line in your .htaccess or deleting the file: 

#php_value error_reporting 7
#php_flag display_errors On