RE: [PHP-DEV] PHP4 Bug #1777: No input file specified when run as cgi
| From: | Graeme Merrall | Date: | Wed, 21 Jul 1999 03:18:01 +0000 |
| Subject: | RE: [PHP-DEV] PHP4 Bug #1777: No input file specified when run as cgi | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-8832@lists.php.net to get a copy of this message | ||
> From: johnh@solidtechnology.com
> Operating system: Linux 2.2.9
> PHP version: 4.0 Beta 1
> PHP Bug Type: Installation problem
> Bug description: No input file specified when run as cgi
>
> When installing php4 as a cgi program it returns No input file
> specified. The apache config is as follows:
>
> AddType application/x-httpd-php .php
> Action application/x-httpd-php /www/cgi-bin/php4
>
You need to make sure you have a php.ini file in the location you specified
an configure time - usually /usr/local/lib at the doc root set correctly.
This could be a bug as PHP3 works fine without an ini file.
Cheers,
Graeme