|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2007-12-19 21:17 UTC] erik dot kullberg at telia dot com
Description: ------------ I try to install PHP_5.2.5 by use of php-5.2.5-win32-installer.msi, but it stops before it is finished and delivers the following message: "There is a problem with this Windows Installer Package. A script required for this install to complete could not be run. Contact your support personnel or package vendor." I tried to run the installation with the wanted additions (MySQL and GD) and without any additions at all - the result is the same. System: Windows Vista, version 6.0 "Home Premium". Server: Apache 2.2.6 I cannot extract a cure from the answers to those similar questions in the database. Is there one? Or maybe a prognosis for a solution? PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 01 15:00:01 2025 UTC |
Hi all, Tried 5.2.6 MSI installer from PHP's site as well as the one from "kfou at free dot fr" and both still give me the error. Trying to setup PHP as Apache 2.2.x Module. I'm on XP !SP3 English. Also worth noting, I don't get any error in System Event Viewer. I also want to note that everytime I run the installer (because I've also tried to set it up as Apache CGI as well), it adds the following block of text in httpd.conf: #BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL ScriptAlias /php/ "D:/Program Files/PHP/" Action application/x-httpd-php "D:/Program Files/PHP/php-cgi.exe" PHPIniDir "D:/Program Files/PHP/" LoadModule php5_module "D:/Program Files/PHP/php5apache2_2.dll" PHPIniDir "D:/Program Files/PHP/" LoadModule php5_module "D:/Program Files/PHP/php5apache2.dll" PHPIniDir "D:/Program Files/PHP/" LoadModule php5_module "D:/Program Files/PHP/php5apache.dll" #END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL Over time, I ended up with 4-5 such blocks, all commented but one. Not a problem but still annoying. But there is one problem... Apache won't start unless I comment all "PHPIniDir..." lines but one. Finally, I'd like to point out that the changes made to httpd.conf don't include an association to .php files for application/x-httpd-php ("AddType application/x-httpd-php .php"). Once the installer is done (past the error message) and Apache restarted, I'm prompted for a file download when I try to access a php file. That may be what the script fails to do because of the error, I don't know... But in my present situation, it's something that it's not doing. I guess that'll be enough for now! :) Chris