Overriding display errors and error reporting in php.ini

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

 



I am running a system with PHP 5 and IIS 4. If I enable error display
in php.ini, errors get displayed. If I turn error display off, they go
away.

However, if I have them off in php.ini but I put this code on a page:

error_reporting(E_ALL);
ini_set('display_errors', TRUE);

I still get no error display. Shouldn't this override the php.ini
settings? Is there a way to set the server default to E_ALL ~ E_NOTICE
and No Error display but retain the ability to change these settings
within individual pages/apps?

c

-- 
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