Re: /cgi-bin/php

From: Date: Fri, 28 Sep 2001 19:42:06 +0000
Subject: Re: /cgi-bin/php
References: 1  Groups: php.general php.general 
Request: Send a blank email to php-general+get-69217@lists.php.net to get a copy of this message
On Mon, 8 May 2000, Jie Gao wrote: > Server Version: Apache/1.3.12 (Unix) PHP/4.0RC1 > > I installed php and put in the document root a test file containing: > > <html> > <?phpinfo()?> > </html> > > But I get this error: > > The requested URL /cgi-bin/php/test.php was not found on this server. > > Why is php looking in /cgi-bin/php at all? The way that CGI works is to fire up the program /cgi-bin/php and tack on the URL to the end of that. Your have configured Apache to use PHP as a CGI, but have not specified Alias and Action correctly to have it find PHP. Documentation about Alias/Action are at http://apache.org

« previous php.general (#69217) next »