|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #33073 PHP Windows Installer does not set Verify File Exists for IIS 6.
Submitted: 2005-05-20 00:31 UTC Modified: 2005-12-27 01:00 UTC
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: webmaster at cyberdogtech dot com Assigned: phildriscoll (profile)
Status: No Feedback Package: IIS related
PHP Version: 5.0.4 OS: Windows Server 2003
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: webmaster at cyberdogtech dot com
New email:
PHP Version: OS:


 [2005-05-20 00:31 UTC] webmaster at cyberdogtech dot com
I discovered this bug while using the PHP Windows Installer with 5.0.4 under IIS6 on Windows Server 2003 SP1.  The installer adds the ISAPI extension to IIS for .php files, linking them to php-cgi.exe.  The problem is, it does not set the option of "Verify that File Exists."  This option causes IIS to validate the presence of the requested file.  Without it set, as it stands now, php will always return an html page even for non-existent files!  For example if I request (a file which doesn't exist), PHP will still return empty HTML tags instead of the usual 404.  By activating this IIS option, however, a 404 is returned properly instead of invoking PHP on the missing file name.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2005-05-20 10:34 UTC]
Assigned the person behind the installer.. =)

 [2005-11-07 00:01 UTC]
Phil, are you aware of this issue?
 [2005-12-19 09:08 UTC]
Does this happen with the latest release? (5.1.1)
 [2005-12-27 01:00 UTC] php-bugs at lists dot php dot net
No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
 [2006-01-14 04:37 UTC] sw1 at cyberdogtech dot com
Just tested with 5.1.2, and yes this issue still occurs.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Wed Feb 08 03:03:53 2023 UTC