#46326 [Com]: error_reporting ignored in php-cli.ini
| From: | RQuadling at GMail dot com | Date: | Fri, 12 Dec 2008 20:12:41 +0000 |
| Subject: | #46326 [Com]: error_reporting ignored in php-cli.ini | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-131969@lists.php.net to get a copy of this message | ||
ID: 46326
Comment by: RQuadling at GMail dot com
Reported By: RQuadling at GMail dot com
Status: Assigned
Bug Type: PHP options/info functions
Operating System: win32 only
PHP Version: 5.3CVS-2008-10-17 (snap)
Assigned To: pajoye
New Comment:
Still having problems with this on Windows XP Pro SP3 and Windows
Server 2005/2008.
php-5.3-win32-VC6-x86-latest >php -v
PHP 5.3.0alpha4-dev (cli) (built: Dec 12 2008 15:05:22)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2008 Zend Technologies
php-5.3-win32-VC6-x86-latest >php --ini
Configuration File (php.ini) Path: C:\WINDOWS
Loaded Configuration File: C:\PHP\PHP5\INI\php-cli.ini
Scan for additional .ini files in: (none)
Additional .ini files parsed: (none)
php-5.3-win32-VC6-x86-latest >type
C:\php\php5\ini\php-cli.ini | find "error_reporting"
error_reporting = E_ALL | E_STRICT
php-5.3-win32-VC6-x86-latest >php -i | find
"error_reporting"
error_reporting => no value => no value
Same results for ...
PHP 5.3.0alpha3 (cli) (built: Dec 4 2008 20:40:51)
Copyright (c) 1997-2008 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2008 Zend Technologies
I even created a separate INI file ...
[PHP]
error_reporting = E_ALL | E_STRICT
and then ...
php-5.3.0alpha3-Win32-VC6-x86 >php -c
C:\php\php5\INI\error_reporting.ini -i | find "error_reporting"
Loaded Configuration File => C:\PHP\PHP5\INI\error_reporting.ini
error_reporting => no value => no value
I'm aware that Pierre is working around this area along with [PATH=]
and [HOST=].
Posting this comment as another test case.
Previous Comments:
------------------------------------------------------------------------
[2008-11-03 16:46:41] RQuadling at GMail dot com
It seems as if the entire INI file is ignored. I was playing with
activating some more modules and there is no change to php -m output
for the 5.3 alphas.
Same INI file for 5.2.6 and all is well.
------------------------------------------------------------------------
[2008-10-23 13:24:39] RQuadling at GMail dot com
Wouldn't surprise me.
------------------------------------------------------------------------
[2008-10-22 11:25:29] jani@php.net
So it's most likely Windows only issue. (can't reproduce here..)
------------------------------------------------------------------------
[2008-10-21 19:09:45] RQuadling at GMail dot com
"real"? <raspberry>
But no. I'm all windows here.
------------------------------------------------------------------------
[2008-10-21 09:29:02] jani@php.net
Can you reproduce this with some real OS, line Linux?
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/46326
--
Edit this bug report at http://bugs.php.net/?id=46326&edit=1