|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #10485 "no input file specified" when running as a CGI
Submitted: 2001-04-25 02:19 UTC Modified: 2002-01-02 13:53 UTC
From: chulinn at gmx dot de Assigned:
Status: Closed Package: Scripting Engine problem
PHP Version: 4.0.4pl1 OS: HP-UX 11
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: chulinn at gmx dot de
New email:
PHP Version: OS:


 [2001-04-25 02:19 UTC] chulinn at gmx dot 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.




Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-12-12 08:28 UTC]
Could you try 4.1.0? to see if it helps?
 [2002-01-02 13:53 UTC]
No feedback. Closing.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sat May 08 18:01:23 2021 UTC