note 3865 modified in install.windows by irc-html
| From: | irc-html@php.net | Date: | Sat, 19 Jan 2002 12:20:28 +0000 |
| Subject: | note 3865 modified in install.windows by irc-html | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-25142@lists.php.net to get a copy of this message | ||
Just got php working with apache in win32, took me a bit to see my mistake.
When you setup the Action you need to use the scriptalias location and not the actual location
ScriptAlias /php-bin/ "d:/Internet/Apache/PHP3/"
Action application/x-httpd-php3 "/php-bin/php.exe"
The example had c:\php for the true location of the .exe and /php/ for the scriptalias, I assumed
the 2nd part of Action "/php/php.exe" refered to the true location but assuming the drive
was c:\ (just that should have caught me).
Btw, this add note script at the end of the manual is a great idea!
--was--
Just got php working with apache in win32, took me a bit to see my mistake.
When you setup the Action you need to use the scriptalias location and not the actual location
<PRE>
ScriptAlias /php-bin/ "d:/Internet/Apache/PHP3/"
Action application/x-httpd-php3 "/php-bin/php.exe"
</PRE>
The example had c:\php for the true location of the .exe and /php/ for the scriptalias, I assumed
the 2nd part of Action "/php/php.exe" refered to the true location but assuming the drive
was c:\ (just that should have caught me).
<BR>
Btw, this add note script at the end of the manual is a great idea!
http://www.php.net/manual/en/install.windows.php