php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #4892 "No input file specified." for CGI-s invoked through browser
Submitted: 2000-06-08 12:41 UTC Modified: 2000-06-28 14:28 UTC
From: vedo at img dot ba Assigned:
Status: Closed Package: Other
PHP Version: 4.0.0 Release OS: Caldera Open Linux 1.1 (kernel 2
Private report: No CVE-ID: None
 [2000-06-08 12:41 UTC] vedo at img dot ba
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";
?>


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-06-28 14:28 UTC] andi at cvs dot php dot net
This should be fixed in 4.0.1 due to be released tomorrow. If the problem persists please open a new bug report.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Apr 19 09:01:27 2024 UTC