|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2672 compiled for cgi method, all .php3 files say "no input file specified."
Submitted: 1999-11-05 17:07 UTC Modified: 2002-06-16 14:18 UTC
From: amos at hmc dot com dot hk Assigned:
Status: Not a bug Package: Parser error
PHP Version: 3.0.12 OS: solaris 2.5.1 x86, apache 1.3.4
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: amos at hmc dot com dot hk
New email:
PHP Version: OS:


 [1999-11-05 17:07 UTC] amos at hmc dot com dot hk
when calling any .php3 file as cgi, the php shell always just says "no input file specified."  the shell is in /usr/local/bin, all security options turned off, running under suexec.  i have a feeling that php is expecting sone environment variables to be set that aren't.
executing cgi sets these:
SERVER_SIGNATURE=<ADDRESS>Apache/1.3.4 Server at Port 80</ADDRESS>

SERVER_SOFTWARE=Apache/1.3.4 (Unix)
..i saw the thing in the faq about iis doing this, so i tried linking to it from html.  no difference.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [1999-11-05 17:27 UTC] amos at hmc dot com dot hk
the source can be hacked up to fix this on my system, by editing request_info.c and changing getenv("PATH_TRANSLATED"); to getenv("SCRIPT_FILENAME"); .. there should be a better way though, i don't know too much about c.
 [2002-06-16 14:18 UTC]
Thank you for taking the time to report a problem with PHP.
Unfortunately, PHP 3 is no longer supported. Please download
the latest version of PHP 4 from

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Tue Nov 30 07:03:33 2021 UTC