Michael Satterwhite wrote:

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?


You won't see the notice for an undefined variable with this setting. You have notices turned off. You will only see warnings and fatal errors. If you want to see notices, you need to use the following setting:

error_reporting  =  E_ALL

Janet



--
Janet Valade -- janet.valade.com
--
Janet Valade -- janet.valade.com

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

Reply via email to