note 110910 added to install.windows.installer.msi
| From: | soham dot bag at gmail dot com | Date: | Fri, 21 Dec 2012 20:33:44 +0000 |
| Subject: | note 110910 added to install.windows.installer.msi | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-192634@lists.php.net to get a copy of this message | ||
php5.2vc6 --- Apache 2.0.x --- Windows 7
Was not able restart Apache after installing php. Windows was throwing error(alert) "Requested
operation could not be completed".
Got frustrated after about 6-7 times install and uninstalling. Found this at last.
(regards to people who posted above.Got the idea from there.)
Install Apache in dir - C:\Program Files (x86)\
(note use <C:\Program Files\> in 32 bit machines)
Service should be up and running if you follow normal steps on install wizard(download as windows
installer program).
Install php in C:\ (root directory, not inside 'Program Files' or 'Windows').
Navigate to> C:\Program Files (x86)\Apache Group\Apache2\conf ..
Add the following lines at the end of httpd.config file
#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
ScriptAlias /php/ "C:/PHP/"
AddHandler x-httpd-php .php
Action x-httpd-php "php/php.exe"
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
You will find the comments (lines beginning with semicolons) existing in your file.replace the
portion between.
This works.
----
Server IP: 69.147.83.199
Probable Submitter: 49.248.180.113
----
Manual Page -- http://php.net/manual/en/install.windows.installer.msi.php
Edit -- https://master.php.net/note/edit/110910
Del: integrated -- https://master.php.net/note/delete/110910/integrated
Del: useless -- https://master.php.net/note/delete/110910/useless
Del: bad code -- https://master.php.net/note/delete/110910/bad+code
Del: spam -- https://master.php.net/note/delete/110910/spam
Del: non-english -- https://master.php.net/note/delete/110910/non-english
Del: in docs -- https://master.php.net/note/delete/110910/in+docs
Del: other reasons-- https://master.php.net/note/delete/110910
Reject -- https://master.php.net/note/reject/110910
Search -- https://master.php.net/manage/user-notes.php