From:             gschizas at gmail dot com
Operating system: Windows 2003
PHP version:      5.2.0
PHP Bug Type:     IIS related
Bug description:  Installation on CGI mode fails

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 bug report at http://bugs.php.net/?id=39410&edit=1
-- 
Try a CVS snapshot (PHP 4.4): 
http://bugs.php.net/fix.php?id=39410&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=39410&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=39410&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=39410&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=39410&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=39410&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=39410&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=39410&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=39410&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=39410&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=39410&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=39410&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=39410&r=globals
PHP 3 support discontinued:   http://bugs.php.net/fix.php?id=39410&r=php3
Daylight Savings:             http://bugs.php.net/fix.php?id=39410&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=39410&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=39410&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=39410&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=39410&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=39410&r=mysqlcfg

Reply via email to