Quite often I work on code which has its own error suppression, and sometimes I have been at a point where I need to get visibility of errors being raised by PHP. Using php_admin_value, I can enable error reporting on the vhost, as opposed to server-wide, and also it can not be overridden within the code.

To do this, add the following lines within your vhost configuration:

php_admin_value error_reporting 6135 php_admin_value display_errors 1

Once added, run apachectl graceful and then re-visit your site, where you will now see the errors displayed on-screen.

What is 6135 you may ask? This is the integer value of E_ALL & ~E_NOTICE