Overriding display errors and error reporting in php.ini

From: Date: Wed, 24 Nov 2004 19:44:40 +0000
Subject: Overriding display errors and error reporting in php.ini
Groups: php.general 
Request: Send a blank email to php-general+get-202791@lists.php.net to get a copy of this message
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

« previous php.general (#202791) next »