#46016 [Opn]: display_errors = Off doesn't work
| From: | php at jamesvalero dot com | Date: | Sun, 07 Sep 2008 09:43:10 +0000 |
| Subject: | #46016 [Opn]: display_errors = Off doesn't work | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-128750@lists.php.net to get a copy of this message | ||
ID: 46016
User updated by: php at jamesvalero dot com
Reported By: php at jamesvalero dot com
Status: Open
Bug Type: PHP options/info functions
Operating System: Windows 2003 R2 STD
PHP Version: 5.2.6
New Comment:
Correction: Calling the linked report "closed" may have been
misleading. A better way of asking should have been: Are reports tagged
with "No Feedback" still looked at when new comments are submitted by
other members of the community?
Previous Comments:
------------------------------------------------------------------------
[2008-09-07 09:34:48] php at jamesvalero dot com
http://bugs.php.net/bug.php?id=44729 is the
report in question. Is this
the same submission you were referring to?
------------------------------------------------------------------------
[2008-09-07 09:32:28] php at jamesvalero dot com
I replied in another similar bug report but it looked like it was
already closed. Does replying in closed bugs, where I am not the owner,
re-open stale bug reports?
Thanks
------------------------------------------------------------------------
[2008-09-07 09:30:07] php at jamesvalero dot com
note on the differences in the domain name: I forgot to edit the name
in the error output. Is it possible to modify the original post?
------------------------------------------------------------------------
[2008-09-07 09:28:49] tularis@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same.
Thank you for your interest in PHP.
------------------------------------------------------------------------
[2008-09-07 09:18:02] php at jamesvalero dot com
Description:
------------
The box is a W2k3 R2 STD using IIS. The error seems to be related to
FastCGI as display_errors works when using php5isapi.dll.
phpinfo(); shows that c:\windows\php.ini is being loaded and
display_errors is off in both Local & Master under PHP Core.
Again, this occurs when using php-cgi.exe
Reproduce code:
---------------
<?php
phpinfo();
asdf
?>
Expected result:
----------------
Show only normal phpinfo(); output
Actual result:
--------------
The normal phpinfo(); output and
PHP Notice: Use of undefined constant asdf - assumed 'asdf' in
D:\Domains\itgstats-dev.domain.com\public_html\phpinfo.php on line 4
FWIW, when enabling display_errors, I get more errors
Notice: Use of undefined constant asdf - assumed 'asdf' in
D:\Domains\itgstats-dev.hottopic.com\public_html\phpinfo.php on line 4
PHP Notice: Use of undefined constant asdf - assumed 'asdf' in
D:\Domains\itgstats-dev.hottopic.com\public_html\phpinfo.php on line 4
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=46016&edit=1