php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #50432 setting for display_errors not being honored
Submitted: 2009-12-09 20:11 UTC Modified: 2013-02-18 00:34 UTC
From: bill dot mcclendon at digiconllc dot com Assigned:
Status: No Feedback Package: PHP options/info functions
PHP Version: 5.3.1 OS: win32 only - Windows Server 2008
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: bill dot mcclendon at digiconllc dot com
New email:
PHP Version: OS:

 

 [2009-12-09 20:11 UTC] bill dot mcclendon at digiconllc dot com
Description:
------------
When using 5.3.1 for Windows (VC6 non thread safe) build, the php.ini settings for "display_errors=Off" is ignored and E_NOTICE messages display in the web page results from PHP.

This can also be seen via "phpinfo()" which shows the setting "On".

If I run "php -i " from the command window, the setting correctly shows "Off".

Windows Server 2008
IIS 7.0
PHP 5.3.1 (binary .msi install from windows.php.net)

Reproduce code:
---------------
<? phpinfo();?>

Expected result:
----------------
display_errors Off

Actual result:
--------------
display_errors On

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-12-09 20:28 UTC] pajoye@php.net
Are you sure the right php.ini is loaded?
 [2009-12-11 20:42 UTC] bill dot mcclendon at digiconllc dot com
Am I sure?  You did see the reference to "phpinfo()" - right?

It shows the one and only "php.ini" file that exists on this server and instance and it's the one I edited.

Bill
 [2009-12-11 22:35 UTC] jani@php.net
Quite likely some installation issue on windows, works fine on *nix.
 [2009-12-13 01:19 UTC] bill dot mcclendon at digiconllc dot com
It may be a Windows installation issue - but the installation was via the install version from the windows.php.net download link.  So, it's built into it.
 [2010-06-08 15:21 UTC] tony2001@php.net
-Status: Open +Status: Feedback
 [2010-06-08 15:21 UTC] tony2001@php.net
Restart your web-server and check phpinfo() again.
 [2013-02-18 00:34 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun Dec 08 09:01:33 2024 UTC