PHP 4.0 Bug #4892: "No input file specified." for CGI-s invoked through browser
| From: | vedo at img dot ba | Date: | Thu, 08 Jun 2000 10:41:58 +0000 |
| Subject: | PHP 4.0 Bug #4892: "No input file specified." for CGI-s invoked through browser | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-20556@lists.php.net to get a copy of this message | ||
From: vedo@img.ba
Operating system: Caldera Open Linux 1.1 (kernel 2.0.29)
PHP version: 4.0.0 Release
PHP Bug Type: Other
Bug description: "No input file specified." for CGI-s invoked through browser
Problems when running cgi scripts (No input file specified).
When I am running those scripts from shell everything is OK.
Same scripts are working fine with PHP3!!
Configuration:
Linux box (2.0.29)
Netscape Fasttrack 2.0
PHP 4.0.0
Fasttrack is set to execute any file ending with .cgi as shell script.
PHP configuration line is:
--with-mysql --with-mcrypt=/usr/local --enable-discard-path --with-config-file-path=/usr/local/lib
--enable-debug
Changes to original php.ini:
expose_php Off
Example CGI script:
#!/usr/local/bin/php4
<?
echo "hello world";
?>