|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #43764 Installer Uses old DOS format Path, Causing 404 Errors
Submitted: 2008-01-06 05:05 UTC Modified: 2008-08-22 18:21 UTC
From: jake67890 at hotmail dot com Assigned: jmertic (profile)
Status: Closed Package: Windows Installer
PHP Version: 5.2.5 OS: Windows 2003
Private report: No CVE-ID: None
 [2008-01-06 05:05 UTC] jake67890 at hotmail dot com
This is an issue with the Windows installer.

Using all defaults with the installer for 5.2.5 on Windows 2003 sets the IIS application map path to C:\PROGRA~1\PHP\PHP5IS~1.DLL.  IIS does not seem to like this DOS format path and returns a 404 error for every PHP page request, regardless of whether the php file exists or not.

Changing the value to "C:\Program Files\PHP\php5isapi.dll"  (including surrounding quotes) seems to resolve the issue.

Reproduce code:
Run the Windows Installer on Windows 2003 accepting all defaults.

Expected result:
IIS should be able to serve a simple test PHP page.

Actual result:
IIS Displays a 404 error regardless of whether the php file exists or not.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2008-01-13 13:38 UTC]
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
Thank you for the report, and for helping us make PHP better.

This was fixed in Bug #43394
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sat Jan 28 07:02:22 2023 UTC