php-general | 2001092
Date: 09/28/01
- Next message: rlynch: "[PHP] Re: /cgi-bin/php"
- Previous message: rlynch: "[PHP] Re: value submit button"
- Next in thread: rlynch: "[PHP] Re: /cgi-bin/php"
- Maybe reply: rlynch: "[PHP] Re: /cgi-bin/php"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: rlynch: "[PHP] Re: /cgi-bin/php"
- Previous message: rlynch: "[PHP] Re: value submit button"
- Next in thread: rlynch: "[PHP] Re: /cgi-bin/php"
- Maybe reply: rlynch: "[PHP] Re: /cgi-bin/php"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

