ID:               39410
 Updated by:       [EMAIL PROTECTED]
 Reported By:      gschizas at gmail dot com
-Status:           Open
+Status:           Assigned
 Bug Type:         IIS related
 Operating System: Windows 2003
 PHP Version:      5.2.0
-Assigned To:      
+Assigned To:      jmertic


Previous Comments:
------------------------------------------------------------------------

[2006-11-07 08:07:18] gschizas at gmail dot com

Description:
------------
While installing (with the installer) in CGI Mode (Windows 2003 SP1,
IIS6), I get an error message at the end of the installation (There is
a problem with this Windows Installer Package)

Reproduce code:
---------------
Event Viewer shows this:

Product: PHP 5.2.0 -- Error 1721. There is a problem with this Windows
Installer package. A program required for this install to complete
could not be run. Contact your support personnel or package vendor.
Action: iisextVBS, location: C:\Program Files\PHP\, command:
"C:\WINDOWS\system32\iisext.vbs" /AddFile "C:\Program
Files\PHP\php-cgi.exe" 


I found this again as Bug #26185, for PHP 4.2.1, but obviously it
reared its ugly head again (#26185 is closed, but the behavior
persists).

Expected result:
----------------
Installation not producing any error messages, and registering PHP in
"Web Service Extensions"

Actually this is probably a problem with the fact iisext.vbs requires
more parameters in Windows 2003. So instead of
"C:\WINDOWS\system32\iisext.vbs" /AddFile "C:\Program
Files\PHP\php-cgi.exe",
you should type
"C:\WINDOWS\system32\iisext.vbs" /AddFile "C:\Program
Files\PHP\php-cgi.exe" 1 PHP 1 "PHP: Hypertext Processor"

Use iisext.vbs /? to see the meaning of the parameters.

The installer needs to be fixed.

Actual result:
--------------
Installation produced the error message, PHP was not registered, but
all other things seemed to go well.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=39410&edit=1

Reply via email to