Bug #10485 Updated: "no input file specified" when running as a CGI
| From: | yohgaki@php.net | Date: | Wed, 12 Dec 2001 13:28:07 +0000 |
| Subject: | Bug #10485 Updated: "no input file specified" when running as a CGI | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-73299@lists.php.net to get a copy of this message | ||
ID: 10485
Updated by: yohgaki
Reported By: chulinn@gmx.de
Old Status: Open
Status: Feedback
Bug Type: Scripting Engine problem
Operating System: HP-UX 11
PHP Version: 4.0.4pl1
New Comment:
Could you try 4.1.0? to see if it helps?
Previous Comments:
------------------------------------------------------------------------
[2001-04-25 02:19:06] chulinn@gmx.de
I am running PHP4 4.0.4pl1 on HP-UX11 (64 bit) and
Apache 1.3.11. I compiled PHP4 with gcc and did not
specify any options except --with-mysql.
When I try to execute simple scripts like:
#!/opt/php4/php -q
echo "foobar";
I always get "No input file specified." If I leave out
the option -q my scripts work, but I always get
as a first line "#!/opt/php4/php" which prevents me
from using cookies :-(
It is hardly possible to compile PHP on HP-UX, so I
cannot (and do not want to) use PHP as an Apache module.
I would be extremely happy to use PHP via CGI, but I am
still running into this annoying bug which should be
fixed long ago. At least the usenet is full of descriptions
"No input file specified" when using PHP via CGI and
I never encountered a solution. I have got it running
on Apache and Windows 2000 without problems (since there
was no need to compile anything :-), but this is
not a suitable webserver.
Cheers,
Mark
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=10485&edit=1