Re: install problem
| From: | Teodor Cimpoesu | Date: | Fri, 22 Sep 2000 09:54:09 +0000 |
| Subject: | Re: install problem | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-17303@lists.php.net to get a copy of this message | ||
Hi patrick!
On Thu, 21 Sep 2000, patrick dooley wrote:
> Hi,
>
> I have tried to get php4 to run as a cgi with apache
> 1.3.12 and windowsNT 4.0. I used the standard conf
> file for apache and added to it:
> ScriptAlias /php/ "C:/phpcgi/"
> AddType application/x-httpd-php .php
- Action application/x-httpd-php "\phpcgi\php.exe"
+ Action application/x-httpd-php "/php/php.exe"
> I used the php.ini-optimized (copied it to
> c:\winnt\php.ini)
remember php.ini-optimized has register_globals off (to save some
future posible Qs :^)
>
> When I try to load a file like 'test.php', Apache
> sends a 404 saying it couldn't find
> '/phpcgi/php.exe/test.php' on the server.
>
> any ideas as to what I'm doing wrong?
try the above change.
gl.
-- teodor