|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #41367 PHP5.2.2 windows installer application mapping mistake and internal error 500
Submitted: 2007-05-11 15:59 UTC Modified: 2008-08-22 18:10 UTC
Avg. Score:4.8 ± 0.4
Reproduced:4 of 4 (100.0%)
Same Version:4 (100.0%)
Same OS:3 (75.0%)
From: zhaoliang_97 at hotmail dot com Assigned: jmertic (profile)
Status: Closed Package: Windows Installer
PHP Version: 5.2.2 OS: Windows Server 2003
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: zhaoliang_97 at hotmail dot com
New email:
PHP Version: OS:


 [2007-05-11 15:59 UTC] zhaoliang_97 at hotmail dot com
    I installed PHP5.2.2 ISAPI on windows server 2003(IIS 6) using the PHP5.2.2 windows installer(offical). PHP installed under c:\php5. I didn't load any extensions and did no changes in php.ini. Then i place a test.php file which has only phpinfo() function in it under the web root directory. 

    When i browse the page, iis report can't find this page. I found a thing that PHP5.2.2 windows installer automatically add a application map for iis6 (.php -> c:\php5\\php5isapi.dll). Note that double "\" in the path. iis can't use this path to analys php script file. The correct path should be "c:\php5\php5isapi.dll". When I change the map path manully, the php is working. I think the installer makes a wrong application map for iis6. Is this the installer's bug?


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2007-05-12 18:38 UTC] rickywalt1 at msn dot com
see bug 41377 also.

I found this bug also.  Changed the path but it didn't help me.
 [2007-05-14 14:38 UTC] zhaoliang_97 at hotmail dot com
I have spent a whole afternoon to test PHP5.2.2 installer under windows
2000 server sp4(iis5 + isapi).

Now my total test result of PHP5.2.2 installer is:

windows server 2003 + iis6 + isapi : Need to change the wrong
application mapping to work(don't forget to restart iis to load

windows 2000 server sp4 + iis5 + isapi : although the application
mapping still wrong but change it is no use to make php work.
 [2007-05-16 15:55 UTC]
Try latest installer from snaps to see if it does the correct behavior.
 [2007-05-16 16:22 UTC] zhaoliang_97 at hotmail dot com
Test Platform : 
Windows2000 + sp4 + iis5 + isapi
Windows2003 + sp2 + iis6 + isapi

No, It still dosen't work(could not install). During the installation process (status:copy new files) the installer pops an error message window. The error info is below:

  The installer has encountered an unexpected error install this package. This may indicate a problem with this package. The error code is 2356.

But Why the latest installer is so small?
 [2007-05-16 17:36 UTC]
yaz doesn't appear to be building from snaps at the moment. I'm going to get the installer for 5.2.2 respun.
 [2007-05-16 18:15 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.

 [2007-05-21 18:30 UTC]
Try the following "unofficial" re-spin:
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Mon Dec 11 17:01:30 2023 UTC