ID: 43639 Comment by: cfaribault at presencenet dot ca Reported By: erik dot kullberg at telia dot com Status: Assigned Bug Type: Windows Installer Operating System: Windows Vista PHP Version: 5.2.5 Assigned To: jmertic New Comment:
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 Previous Comments: ------------------------------------------------------------------------ [2008-09-18 01:52:29] kfou at free dot fr I've generated a fixed installer that you can download from http://kfou.free.fr/php/php-5.2.6-win32-installer.msi. Or you can download the original installer from php.net and modify it using Orca to extract the (faulty) script PHPInstallerScripts.vbs, patch it (using http://kfou.free.fr/php/PHPInstallerScripts.patch) and re-import it again using Orca. Kamel. ------------------------------------------------------------------------ [2008-09-11 11:59:36] llucenic at inmail dot sk My Win XP SP2 with Slovak locales - the same installer problem. After I changed the locales (regional settings) to English (United States), the installation worked fine even w/o the need to run as administrator. Thank you Tamas for your insight. Helped a lot. Ludo Lucenic ------------------------------------------------------------------------ [2008-09-10 11:33:47] [EMAIL PROTECTED] Having this bug assigned to the installer maintainer will help to actually get it solved. Especially when so many different problems are discussed within the same bug. ------------------------------------------------------------------------ [2008-09-10 10:22:15] stonesben at googlemail dot com This is disgusting. No workaround since 2007. Lazy or incompetent at fixing bugs? ------------------------------------------------------------------------ [2008-09-08 11:40:31] pdanailov at yahoo dot com I have the same problem. My system is Win XP Prof SP2, PHP 5.2.6 and PHP 5.2.7 Bulgarian settings changed to English for the decimal separator None of the solutions worked. PHP Sucks:(((( ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/43639 -- Edit this bug report at http://bugs.php.net/?id=43639&edit=1