note 111269 added to install.windows.apache2

From: Date: Thu, 31 Jan 2013 21:26:07 +0000
Subject: note 111269 added to install.windows.apache2
Groups: php.notes 
Request: Send a blank email to php-notes+get-193472@lists.php.net to get a copy of this message
Good God finally I was able to make PHP 5.2 work on Apache 2.4. For those still having problems with "You don't have permission to run php-cgi.exe", you must replace "Order allow,deny" and "Allow from all" from the PHP directory block with "Require all granted". They must have changed the format with Apache 2.4 since the old method used to work just fine for me before. So the usual method of setting up CGI, I'm sure you already know that you should add these 3 lines to httpd.conf: ScriptAlias /php/ "c:/php/" AddType application/x-httpd-php .php Action application/x-httpd-php "/php/php-cgi.exe" And now add the directory for PHP: <Directory "c:/php"> AllowOverride None Options None Require all granted </Directory> Important: Notice that instead of "Order allow,deny" and "Allow from all" added into the PHP directory as usual, I replaced them with "Require all granted" as I mentioned above. ---- Server IP: 69.147.83.199 Probable Submitter: 112.203.21.180 ---- Manual Page -- http://php.net/manual/en/install.windows.apache2.php Edit -- https://master.php.net/note/edit/111269 Del: integrated -- https://master.php.net/note/delete/111269/integrated Del: useless -- https://master.php.net/note/delete/111269/useless Del: bad code -- https://master.php.net/note/delete/111269/bad+code Del: spam -- https://master.php.net/note/delete/111269/spam Del: non-english -- https://master.php.net/note/delete/111269/non-english Del: in docs -- https://master.php.net/note/delete/111269/in+docs Del: other reasons-- https://master.php.net/note/delete/111269 Reject -- https://master.php.net/note/reject/111269 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#193472) next »