php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #43230 The MSI Installer crashes when trying to install
Submitted: 2007-11-09 22:03 UTC Modified: 2008-08-22 18:16 UTC
Votes:21
Avg. Score:4.7 ± 0.7
Reproduced:19 of 20 (95.0%)
Same Version:16 (84.2%)
Same OS:9 (47.4%)
From: pamcallaway at pobox dot com Assigned: jmertic (profile)
Status: Closed Package: Windows Installer
PHP Version: 5.2.5 OS: Win XP, SP2
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: pamcallaway at pobox dot com
New email:
PHP Version: OS:

 

 [2007-11-09 22:03 UTC] pamcallaway at pobox dot com
Description:
------------
Hi, I downloaded the PHP 5.2.5 MSI package, and it crashes when I try to Install it.  It get to the directory selection page, and after you pick where to install it and the click next, it crashes.  I was putting in C:\Program Files\PHP\.  I click next and I get this error:

PHP 5.2.5 Setup
The installer has encountered and unexpected error installing this package.  This may indicate a problem with this package.  The error code is 2878.

I tried all four servers in the US and still got this message.  I will try the ZIP file next, but the MSI is definately not working on my system.

Reproduce code:
---------------
Run the installer.

Expected result:
----------------
I expected to have it successfully installed.

Actual result:
--------------
It gave me that error message:

PHP 5.2.5 Setup
The installer has encountered and unexpected error installing this package.  This may indicate a problem with this package.  The error code is 2878.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2007-11-10 21:21 UTC] kempe dot marcus at gmail dot com
I have the same problem, using Windows Vista Ultimate. 
I also tried the snapshot installers for both version 5.2 and 5.3 and experience the exact same error (2878).
 [2007-11-10 22:20 UTC] jani@php.net
Assigned to the installer maintainer.
 [2007-11-10 22:25 UTC] matthayden at cinci dot rr dot com
I am having the same problem. I tried installing on 2 computers with the same problem. error code 2878
 [2007-11-10 23:46 UTC] sandiphome at yahoo dot com
Same problem here on XP professional.
 [2007-11-11 00:01 UTC] progun at ukr dot net
Same problem. Log file:

The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2878. The arguments are: WebServerDlg, Buttons, iis4CGI
=== Logging stopped: 11.11.2007  01:54:02 ===

Description of that error:
On the dialog [2] the control [3] has a possible value: [4]. This is an invalid or duplicate value.

http://img152.imageshack.us/img152/3411/phpinstym2.jpg
After i changed the upper iis4CGI value to iis4FastCGI, problem disappeared. But after install i see another error message:

The installer has encountered an unexpected error installing this package. This may indicate a problem with this package. The error code is 2717. The arguments are: fcgiconfigJSFastCGIremove, , 
=== Logging stopped: 11.11.2007  01:53:46 ===

Bad action condition or error calling custom action '[2]'.

I have tried to fix this error but i failed. That is problems with the installer.
 [2007-11-11 06:05 UTC] seansowell at gmail dot com
Hello ---

The same error message occurs for me.  I'm running Windows 2000 Service Pack 4, fully patched.  I already have Apache 2.2.4 installed and properly configured.  I also have MySQL 5.0.45 installed.  This latest PHP version would keep my WAMP stack up to date.

Before trying to install PHP 5.2.5, I uninstalled PHP 5.2.4 with the usual Windows Add/Remove Software tool.

I also checked the md5sum using version 1.13 of md5deep from sf.net (please see https://sourceforge.net/projects/md5deep/).  The md5sum of my file matches that posted to the php.net download page (http://www.php.net/downloads.php):

  21013504  cc882abae3b9ac2f5b83abc57f3381ae  20071108-php-5.2.5-win32-installer.msi

The error message occurs whether or not Apache 2.2.4 is running or stopped, and regardless of the presence or absence of the Apache Monitor in the taskbar.  MySQL was not running when I attempted to install PHP 5.2.5.  No other programs that might impact or depend upon PHP were running during installation (ActiveState Perl/Python/TCL etc, or any web browser, or any other database engine).

After receiving the same error message several times, I simply reinstalled PHP 5.2.4 with that MSI installer.  5.2.4 reinstalled flawlessly.

Obviously, if this is a bug and not a misconfiguration of my machine, I'd like to be alerted when the patched installer is ready for testing.  If the maintainer needs further hardware or software configuration details, I would be happy to provide them.

Thanks,

Sean S.
Pleasanton, California, USA
 [2007-11-11 07:15 UTC] timshaw at mail dot usa dot com
Me too!

Windows XP Service Pack 2 IIS 5.1 Windows Installer 3.1 DreamWeaver ActivePerl 5.8.2 MySQL 4.1.

Also, I use international character sets and chinese characters are installed but rarely used, which may be a common denominator for this error from other projects using WiX...

Thanks for PHP!
timshaw@mail.usa.com
 [2007-11-11 13:16 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.

I'm going to get the 5.2.5 installer re-spun here shortly. Thanks progun at ukr dot net for pointing out the problems; I actually had them fixed locally, but I must have forgot to commit the changes out.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Oct 07 18:01:28 2024 UTC