Philip Hallstrom wrote:
I'm using Apache and PHP4 under debian.

in /etc/php4/apache, I have the setting
    error_reporting  =  E_ALL & ~E_NOTICE

but I don't get any errors - even when I've clearly used an undefined variable. What else might need to be set to get PHP to report errors for me?


take a read through here...

http://us2.php.net/errorfunc

I just read it again (I'd read it before I posted the first message), and I don't see *ANYTHING* I'm missing. Obviously, I am missing something, but I don't see it. The significant parameters seem to be
        error_reporting
                and
        display_errors

My php.ini has
        error_reporting = E_ALL & ~E_NOTICE
        display_errors = On (I've also tried display_errors = 1)

A documentation reference is always appreciated (at least by me), and I thank you for suggesting I read it again. This time, however, I seem to be too dense to see it.

Thanks again
---Michael

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to