php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #38971 PHP doesn't report errors
Submitted: 2006-09-27 07:32 UTC Modified: 2006-09-27 22:47 UTC
From: bruce dot li at hannoverfairs dot com dot au Assigned:
Status: Not a bug Package: IIS related
PHP Version: 4.4.4 OS: Windows XP SP2
Private report: No CVE-ID: None
 [2006-09-27 07:32 UTC] bruce dot li at hannoverfairs dot com dot au
Description:
------------
I have installed PHP on windows IIS as an application, and have setup php.ini to report all errors. The problem is, when a php page is valid, it displays properly on the browser, but when there's some error in the coding, instead of displaying errors, a blank page is returned. 

I have tried it with Apache, or installing PHP as CGI, no problem at all, I got the errors when I made a mistake in the coding, but on IIS, when installed as an application, no error is returned at all, I am not sure if it's just my settings but I have tried it on 3 computers with windows 2K, windows NT4 and windows XP, and I got the same problem on all of them.

Reproduce code:
---------------
N/A

Expected result:
----------------
N/A

Actual result:
--------------
N/A

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-09-27 07:39 UTC] tony2001@php.net
display_errors = On in php.ini is what you need.
 [2006-09-27 22:47 UTC] bruce dot li at hannoverfairs dot com dot au
I think I already mentioned that I've set both 
error_reporting  =  E_ALL
and
display_errors = On
in php.ini after installing PHP on IIS,
but that's not helping at all!
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 03 03:01:30 2024 UTC