Tom Maitland

Creates digital things at Agency. WordPress developer. Web designer. Communicates for UN Youth Australia.

Turn on Error Reporting with .htaccess

25 January 2013

I’m putting this up because I seem to look for it with every site I work on. To turn on PHP error reporting temporarily using a .htaccess file, enter the following:

[codesyntax lang=”text”]

php_flag display_errors on
php_value error_reporting 7