PHP 4.0 Bug #6201: PHP4 CGI replies 'No input file specified' when used in shell scape context.
| From: | david at paisvirtual dot com | Date: | Wed, 16 Aug 2000 19:37:16 +0000 |
| Subject: | PHP 4.0 Bug #6201: PHP4 CGI replies 'No input file specified' when used in shell scape context. | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-29178@lists.php.net to get a copy of this message | ||
From: david@paisvirtual.com
Operating system: Linux
PHP version: 4.0.0
PHP Bug Type: Scripting Engine problem
Bug description: PHP4 CGI replies 'No input file specified' when used in shell scape
context.
I have configured and compiled php4 with
configure --enable-discard-path
my cgi is an easy test "prueba.cgi" with 755 permissions
#!/usr/local/bin/php
<?
print "Hola";
?>
It is executed correctly in a shell, but it fails if it's executed as a CGI, it fails with the
message:
"No input file specified"
php 3.0.16 works correctly in the same context.