php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #39410 Installation on CGI mode fails
Submitted: 2006-11-07 08:07 UTC Modified: 2008-08-22 17:37 UTC
From: gschizas at gmail dot com Assigned: jmertic (profile)
Status: Closed Package: Windows Installer
PHP Version: 5.2.0 OS: Windows 2003
Private report: No CVE-ID: None
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: gschizas at gmail dot com
New email:
PHP Version: OS:

 

 [2006-11-07 08:07 UTC] 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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-11-07 14:20 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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 31 23:01:28 2024 UTC