php.net |  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
Votes:4
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
 [2007-05-11 15:59 UTC] zhaoliang_97 at hotmail dot com
Description:
------------
    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?


Patches

Pull Requests

History

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
php.ini).

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] jmertic@php.net
Try latest installer from snaps to see if it does the correct behavior.

http://snaps.php.net/win32/php5.2-win32-installer-latest.msi
 [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] jmertic@php.net
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] 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.


 [2007-05-21 18:30 UTC] jmertic@php.net
Try the following "unofficial" re-spin:

http://files.edin.dk/php/installer/php-5.2.2-2-win32-installer.msi
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 31 23:01:28 2024 UTC