|  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
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:
Solve the problem:
45 - 33 = ?
Subscribe to this entry?

 [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