Bug #50071 [Com]: Not honored: display_errors = stderr
| From: | ahollosi at xmp dot net | Date: | Sat, 10 Apr 2010 16:06:40 +0000 |
| Subject: | Bug #50071 [Com]: Not honored: display_errors = stderr | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-149477@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=50071&edit=1
ID: 50071
Comment by: ahollosi at xmp dot net
Reported by: rank1seeker at gmail dot com
Summary: Not honored: display_errors = stderr
Status: Bogus
Type: Bug
Package: *Configuration Issues
Operating System: FreeBSD 7.2
PHP Version: 5.3SVN-2009-11-03 (snap)
New Comment:
This bug is NOT bogus.
I can confirm it for PHP 5.3.2 on IIS 7.5 running on Windows Server 2008
R2 (I'm using the precompiled binaries from windows.php.net)
display_errors=stderr is ignored, output goes to STDOUT, if
log_errors=On and error_log is set to a file.
And yes: I checked that the correct php.ini file is loaded.
(On a side note: I don't think that bug #28349 is bogus either. If I set
display_errors=Off I excpect it to mean "Off" and not "Well, mostly off,
unless you set some other configuration options to wrong values.")
Previous Comments:
------------------------------------------------------------------------
[2009-11-04 13:50:12] rank1seeker at gmail dot com
Of course it is loaded: I already use phpinfo() script
Loaded Configuration File /usr/local/etc/php.ini
I even tried:
display_errors = stderr
display_errors = Stderr
display_errors = "stderr"
display_errors = "Stderr"
All behaves as:
display_errors = On
------------------------------------------------------------------------
[2009-11-04 09:54:22] jani@php.net
It works fine when your ini file is actually loaded.
Check phpinfo() for "Loaded Configuration file" line..
------------------------------------------------------------------------
[2009-11-03 23:18:29] rank1seeker at gmail dot com
Description:
------------
display_errors = stderr, acts like display_errors = On
Reproduce code:
---------------
In php.ini:
display_errors = stderr
Expected result:
----------------
Errors displayed to STDERR
Actual result:
--------------
Errors displayed to STDOUT (visible in browser)
Some page[phpinfo();] parsed by fcgi
Result(part):
display_errors On(Local Value) On(Master Value)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=50071&edit=1