note 92361 added to install.windows.installer.msi

From: Date: Tue, 21 Jul 2009 13:50:26 +0000
Subject: note 92361 added to install.windows.installer.msi
Groups: php.notes 
Request: Send a blank email to php-notes+get-158545@lists.php.net to get a copy of this message
I have just spent a tiresome morning trying to get PHP 5.2 / 5.3 installed onto Apache 2.2 (WinXPSP2) (Slight oddity in setup that program files on D: drive) I have finally got it to work by using the following: 1) Getting installation script to use "Other CGI" (would be nice if it mentioned Apache - I believe it to be a fairly popular option) 2) Adding the following directives to httpd.conf (the Apache configuration file) ScriptAlias /php/ "D:/Program Files/PHP/" (This tells Apache to treat the PHP directory as script files/executables and alias it under /php/ for ease of use later) AddHandler x-httpd-php .php (This tells apache to recognise all .php files as of type x-httpd-php (equally you could call them anything you liked and after this mornings debacle I can think of one or two choice phrases) Action x-httpd-php "php/php-cgi.exe" (The tells Apache to use php-cgi.exe to handle files of type x-httpd-php (or .php files as we declared earlier). php-cgi.exe only exists if you have selected the "Other CGI" option at installation". A lot of stuff around on the web is pointing at php.exe which is now failing. Has this changed recently?) ---- Server IP: 92.48.74.199 Probable Submitter: 81.158.52.22 ---- Manual Page -- http://www.php.net/manual/en/install.windows.installer.msi.php Edit -- https://master.php.net/note/edit/92361 Del: integrated -- https://master.php.net/note/delete/92361/integrated Del: useless -- https://master.php.net/note/delete/92361/useless Del: bad code -- https://master.php.net/note/delete/92361/bad+code Del: spam -- https://master.php.net/note/delete/92361/spam Del: non-english -- https://master.php.net/note/delete/92361/non-english Del: in docs -- https://master.php.net/note/delete/92361/in+docs Del: other reasons-- https://master.php.net/note/delete/92361 Reject -- https://master.php.net/note/reject/92361 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#158545) next »