#50432 [Opn]: setting for display_errors not being honored

From: Date: Sun, 13 Dec 2009 01:19:05 +0000
Subject: #50432 [Opn]: setting for display_errors not being honored
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-145681@lists.php.net to get a copy of this message
ID: 50432 User updated by: bill dot mcclendon at digiconllc dot com Reported By: bill dot mcclendon at digiconllc dot com Status: Open Bug Type: PHP options/info functions Operating System: win32 only - Windows Server 2008 PHP Version: 5.3.1 New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2009-12-11 22:35:36] jani@php.net Quite likely some installation issue on windows, works fine on *nix. ------------------------------------------------------------------------ [2009-12-11 20:42:18] 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-09 20:28:42] pajoye@php.net Are you sure the right php.ini is loaded? ------------------------------------------------------------------------ [2009-12-09 20:11:04] 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 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=50432&edit=1

« previous php.bugs (#145681) next »