Warning: include(/home/185104/domains/s185104.gridserver.com/html/wp-content/plugins/wp-synhighlight/object.php) [function.include]: failed to open stream: No such file or directory in /nfs/c06/h05/mnt/185104/domains/tommaitland.net/html/wp-config.php on line 42

Warning: include() [function.include]: Failed opening '/home/185104/domains/s185104.gridserver.com/html/wp-content/plugins/wp-synhighlight/object.php' for inclusion (include_path='.:/usr/local/php-5.3.29/share/pear') in /nfs/c06/h05/mnt/185104/domains/tommaitland.net/html/wp-config.php on line 42
Turn on Error Reporting with .htaccess - Tom Maitland

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

[/codesyntax]