Hm...well I got error reporting ON using this .htaccess file:
php_flag display_errors On
php_flag error_reporting E_ALL
AuthType Basic
AuthName "Restricted Area"
AuthUserFile "/path/to/passwd"
require valid-user
I can easily do this in my code and get bazillions of notices:
error_reporting(E_ALL);
HOWEVER, a file with syntax errors that doesn't compile still results in a blank page. Like this, for instance has no output at all...not even a single character:
<?
$var = 'this file is broken...no semicolon at the end'
$arar = 'blah'
?>
Also, that second line in my htaccess seems to have no impact whatsoever on the amount of error reporting that goes on. if i remove the error_reporting() settings from my file and try to set error_reporting to E_ALL (or 6143, its numeric equivalent) in the htaccess file, it does absolutely nothing.
The most important thing for me is to get line numbers when my script has a syntax error or other fatal error so i can find the problems.