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 Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
47 - 16 = ?
Subscribe to this entry?

 
 [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

Add a Patch

Pull Requests

Add a Pull Request

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 May 05 14:01:31 2024 UTC