#26865 [Opn->Fbk]: PHP ini E_NOTICE setting ignored
| From: | sniper@php.net | Date: | Sun, 11 Jan 2004 13:32:06 +0000 |
| Subject: | #26865 [Opn->Fbk]: PHP ini E_NOTICE setting ignored | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-53109@lists.php.net to get a copy of this message | ||
ID: 26865
Updated by: sniper@php.net
Reported By: mmdrake at bctonline dot com
-Status: Open
+Status: Feedback
Bug Type: PHP options/info functions
Operating System: Windows
PHP Version: 4.3.4
New Comment:
Are you sure the error_reporting isn't overriden in the script? (with
call to ini_set() or error_reporting())
Previous Comments:
------------------------------------------------------------------------
[2004-01-11 02:49:06] mmdrake at bctonline dot com
PHP.ini is being read. I can change the error log name and have a new
file created.
------------------------------------------------------------------------
[2004-01-10 20:29:15] sniper@php.net
The php.ini file is not being read at all.
Check your setup.
------------------------------------------------------------------------
[2004-01-10 18:12:02] mmdrake at bctonline dot com
Description:
------------
PHP.ini settings as listed below.
In spite of this, notices are written anyway, causing major performance
issues when a PHP-Gtk screen has several vars declared on the fly.
This worked at one point; no changes have been made to the way the
script is called (from a batch file, using php_gtk.exe wrapper); only
changes to the code. Can't spot anything that might have this kind of
impact, where the ini file is basically ignored.
There is only one php.ini file on the machines, so no possibility of
wrong file being read.
Occurs in both WinNT and Win98.
Reproduce code:
---------------
PHP.ini has error logging on, with settings as follows:
error_reporting = E_ALL & ~E_NOTICE
log_errors = On
error_log = gtk_error.txt
Expected result:
----------------
NO NOTICES, only errors or warnings.
Actual result:
--------------
All notices are written to the error log, together with warnings and
errors.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26865&edit=1