Re: Error checking

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux