php.net |  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
Votes:1
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:
MUST BE VALID
Solve the problem:
24 - 4 = ?
Subscribe to this entry?

 
 [2005-05-20 00:31 UTC] webmaster at cyberdogtech dot com
Description:
------------
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 www.website.com/nothing.php (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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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

 [2005-11-07 00:01 UTC] sniper@php.net
Phil, are you aware of this issue?
 [2005-12-19 09:08 UTC] sniper@php.net
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-2022 The PHP Group
All rights reserved.
Last updated: Sat May 28 19:03:50 2022 UTC