Re: Error checking

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

 



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


[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