Bug #7365 Updated: php_value error_reporting doesn't work for me

From: Date: Fri, 01 Mar 2002 00:41:09 +0000
Subject: Bug #7365 Updated: php_value error_reporting doesn't work for me
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-1350@lists.php.net to get a copy of this message
ID: 7365 Updated by: yohgaki@php.net -Summary: php_value error_reporting doesn't work for me Reported By: alex-spam@rdc.ru -Status: Closed +Status: Feedback Bug Type: PHP options/info functions Operating System: Linux -PHP Version: 4.0.3pl1 +PHP Version: 4.1.1 New Comment: error_reporting should be able to changed anywhere. PHP_INI_ENTRY("error_reporting", NULL, PHP_INI_ALL, OnUpdateErrorReporting) Could you try snapshot to see if it helps? http://snaps.php.net/ Previous Comments: ------------------------------------------------------------------------ [2002-02-28 12:47:45] norman@norman.com.br I still get this problem with PHP 4.1.1, compiled as a DSO module: This doesnt work in apache .conf files: php_value error_log "/tmp/phperr.log" php_value error_reporting 0 Just this also doesnt work: php_value error_reporting 0 In both previous cases, I still get warnings shown... But the flag WORKS: php_flag display_errors 0 Norman ------------------------------------------------------------------------ [2001-01-12 12:51:53] cynic@php.net this seems to be fixed in both 4.0.4 and current CVS. if you experience the same behavior after update, please reopen this bug report. ------------------------------------------------------------------------ [2000-10-20 07:27:31] alex-spam@rdc.ru PHP version 4.0.3, compiled as DSO module. I want to disable warnings, so I have: /www/conf/httpd.conf: --- php_value error_log "/tmp/phperr.log" php_value error_reporting 0 # disabled EVERYTHING --- 'faulty' code (line 120: --- if(is_array($messages[$seed]["replies"])){ --- In browser when I request the page, I get: --- Warning: Undefined index: replies in /home/www-html/htdocs/forum/multi-threads.inc on line 120 --- , this is a warning I guess, but they should be disabled phpinfo() says about my configuration: --- error_log /tmp/phperr.log no value error_reporting 0 no value --- , so it seems that config is read ok /tmp/phperr.log doesn't get created. If I write --- php_flag display_errors 0 --- It disables all error reporting whatsoever, but it makes debugging nearly impossible. Error log isn't created in this case as well. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=7365&edit=1

« previous php.bugs (#1350) next »