Re: [urgent] php4win problem!
| From: | Daniel Convissor | Date: | Tue, 10 Oct 2000 14:17:49 +0000 |
| Subject: | Re: [urgent] php4win problem! | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-19354@lists.php.net to get a copy of this message | ||
Hi Ben:
> I downloaded the php4win distribution, and did what the readme says. Here is
> a part of my Apache's HTTPD.CONF file:
>
> ----------------------
> ScriptAlias /php/ "E:/Apache/php/"
>
> # Run PHP as a CGI!
> AddType application/x-httpd-php4 .php
> Action application/x-httpd-php4 "/cgi-bin/php.exe"
Your ScriptAlias and Action statements don't match. One's "/cgi-bin/" and
the other is "/php/" Here's what I've got in my httpd.conf. Adjust as
needed for your
configuration...
ScriptAlias /php3/ "f:/z/php3/"
AddType application/x-httpd-php3 .htm .php .txt .inc
Action application/x-httpd-php3 "/php3/php.exe"
ScriptAlias /php/ "f:/z/php4/"
AddType application/x-httpd-php .html
Action application/x-httpd-php "/php/php.exe"
Enjoy,
--Dan
--
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
More than just answers. Solutions. (SM)
http://www.analysisandsolutions.com/
4015 7 Av #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409