note 68634 deleted from install.windows.apache2 by danbrown
| From: | danbrown@php.net | Date: | Tue, 08 Sep 2009 22:25:59 +0000 |
| Subject: | note 68634 deleted from install.windows.apache2 by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-160330@lists.php.net to get a copy of this message | ||
Note Submitter:
----
There is a mistake in documentation regarding installation of PHP as Apache 2 CGI script. The
ScriptAlias directive should not have trailing slash on 'php' as it then means that
'php' should be part of the URL, just like 'cgi-bin' usually is, and in case of
PHP this leads to 403 Forbidden.
Instead, this is the correct directive (no trailing slash on 'php'):
ScriptAlias /php "C:/path/to/PHP/dir"