php.net |  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jake67890 at hotmail dot com
New email:
PHP Version: OS:

 

 [2008-01-06 05:05 UTC] jake67890 at hotmail dot com
Description:
------------
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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-01-13 13:38 UTC] jmertic@php.net
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
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.

This was fixed in Bug #43394
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Nov 21 20:01:29 2024 UTC