ID:               43639
 Comment by:       jim dot keller at contextsolutions dot net
 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:

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.


Previous Comments:
------------------------------------------------------------------------

[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.

------------------------------------------------------------------------

[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.

------------------------------------------------------------------------

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

Reply via email to