Since we do not have access to PHP.INI, I used .htaccess. In my .htaccess, I have definitions:
>[...]
php_flag register_globals off
php_flag display_errors on
php_flag display_startup_errors on
php_value error_reporting 2047
php_flag log_errors off
It appears the file partially works: my register_globals are Off for the site as expected, but the error_reporting doesn't seem to work.
I can run PHP code with a known error/warning but get no message.
If I put 'error_reporting(E_ALL)' at the top of the actual PHP file, it reports the error/warning as I wanted.
Any ideas on what I am doing wrong?
[EDIT]
Very odd...
I think there was something wrong with the formatting of the file. There were tabs hidden in the text (I only saw when I posted this message) and possibly some at the end of each line.
I hate that the files are saved in one format (UNIX or Windows or ASCII) and when I edit them with my PHP editor, it causes extra blank lines because it attempts to translate into a different one.
Sorry for the bother, but if you have suggestions on the file type issue, I would love to hear it.