php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #32992 display_errors = off does not work correctly
Submitted: 2005-05-09 23:24 UTC Modified: 2005-05-10 00:58 UTC
From: agarrison at st3 dot cc Assigned:
Status: Not a bug Package: PHP options/info functions
PHP Version: 4.3.11 OS: Windows 2003
Private report: No CVE-ID: None
 [2005-05-09 23:24 UTC] agarrison at st3 dot cc
Description:
------------
If you use the CGI binary php.exe instead of the ISAPI module php4isapi.dll with IIS 6 setting dispaly_errors = off does not work correctly.  Errors are still displayed.  In my case they were just NOTICE errors, but changing IIS to use the ISAPI module seems to fix the issue.

Reproduce code:
---------------
http://www.smartechcorp.net The errors display in the news box on the left.  Currently it's fixed since I'm using the ISAPI module.  I can change it back to display the errors if needed.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-05-10 00:40 UTC] edink@php.net
You're most likely using the wrong php.ini. Check the output of phpinfo() to see which php.ini file is your php install using.
 [2005-05-10 00:58 UTC] agarrison at st3 dot cc
No it was using the one in c:\php4 that I was changing.  I used phpinfo to make sure.  I also copied it to c:\windows in case phpinfo wasn't showing me the correct information and I restarted IIS after every change, and display_errors still did not work correctly.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat May 11 10:01:30 2024 UTC