Re: PHP on Apache
| From: | Andy Hoffman | Date: | Mon, 30 Oct 2000 20:14:48 +0000 |
| Subject: | Re: PHP on Apache | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-3590@lists.php.net to get a copy of this message | ||
Gonzalo Vera wrote:
> You're missing the ScriptAlias line. Place it before the others:
>
> ScriptAlias /cphp/ "c:/php4/php/"
>
> Or whatever your php path is (use front slashes). Also, I think it is
> best recomended to use the Action before the AddType (but I've tried
> both and they seem to work).
Actually, the ScriptAlias line should reference /php4/, NOT /cphp/... especially
with the Action and AddType lines which were quoted... try these:
ScriptAlias /php4/ "c:/php4/"
AddType application/x-httpd-php .phtml .php
AddType application/x-httpd-php-source .phps
Action application/x-httpd-php "/php4/php.exe"
This is of course assuming that php.exe was unzipped/installed in c:\php4
directory :)
--
Andy Hoffman
Web Developer
Bristol-Myers Squibb
email: andy.hoffman@bms.com