ID: 43639 Comment by: andreaslustigcom at gmail dot com 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:
None of the suggestions worked for me. I spent 2 days on this by now. Dedicated box, brand new install (XP pro, SP3) with no result. Ridiculous and very unprofessional. I'm a programmer, too, but if I was to deliver this to my clients I'd be out of work in no time. If PHP/Zend wants to be taken seriously they need to improve their quality assurance process dramatically. 0/10 from me! Previous Comments: ------------------------------------------------------------------------ [2008-10-05 09:16:14] bad_boy2k8 at msn dot com hey i have installed php-5.2.5-win32 but what is that php for? is it for making website or what please tell me ------------------------------------------------------------------------ [2008-09-25 18:11:01] jim dot keller at contextsolutions dot net Turning off User Account Control in Vista fixes this problem. Start > Control Panel > (Classic View) > User Accounts > Turn User Account Control Off My guess is that even though the installer is running as administrator, the scripts that run in the background are separate processes, and are therefore subject to "user account control". If you like the User Account Control feature, just re-enable it after install. ------------------------------------------------------------------------ [2008-09-23 22:40:31] thomas dot j dot owens at gmail dot com I believe this might be related to a bug I file last night at http://bugs.php.net/bug.php?id=46155 ------------------------------------------------------------------------ [2008-09-21 06:35:53] cfaribault at presencenet dot ca 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 ------------------------------------------------------------------------ [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. ------------------------------------------------------------------------ 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