From: deptotecnico at towebs dot com
Operating system: Linux
PHP version: 4.3.3RC1
PHP Bug Type: CGI related
Bug description: php as cgi always report 'No input file specified.'

Description:
------------

If I compile php as cgi (--enable-force-cgi-redirect is not used), I
always get 'No input file specified' while browsing any .php file.
I've tried with 4.3.1, 4.3.2 and 4.3.3RC1, with php.ini-recommended as
the init file.
php -v gives:

PHP 4.3.3RC1 (cgi) (built: Jul 11 2003 20:52:32)
Copyright (c) 1997-2003 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies

running the same code from console (path/to/php/cgi file.php) works
fine.
I've been looking around and I've seen several old reports for this and
a few ones, but no fixed whatsoever.
I've also checked the CVS repository, but doesn't seem like anything has
changed wrt in cgi_main.c.




Reproduce code:
---------------
<?
phpinfo ();
?>

Expected result:
----------------
phpinfo() output.

Actual result:
--------------
No input file specified.

--
Edit bug report at [url]http://bugs.php.net/?id=24614&edit=1[/url]
--
Try a CVS snapshot (php4): [url]http://bugs.php.net/fix.php?id=24614&r=trysnapshot4[/url]
Try a CVS snapshot (php5): [url]http://bugs.php.net/fix.php?id=24614&r=trysnapshot5[/url]
Fixed in CVS: [url]http://bugs.php.net/fix.php?id=24614&r=fixedcvs[/url]
Fixed in release: [url]http://bugs.php.net/fix.php?id=24614&r=alreadyfixed[/url]
Need backtrace: [url]http://bugs.php.net/fix.php?id=24614&r=needtrace[/url]
Try newer version: [url]http://bugs.php.net/fix.php?id=24614&r=oldversion[/url]
Not developer issue: [url]http://bugs.php.net/fix.php?id=24614&r=support[/url]
Expected behavior: [url]http://bugs.php.net/fix.php?id=24614&r=notwrong[/url]
Not enough info: [url]http://bugs.php.net/fix.php?id=24614&r=notenoughinfo[/url]
Submitted twice: [url]http://bugs.php.net/fix.php?id=24614&r=submittedtwice[/url]
register_globals: [url]http://bugs.php.net/fix.php?id=24614&r=globals[/url]
PHP 3 support discontinued: [url]http://bugs.php.net/fix.php?id=24614&r=php3[/url]
Daylight Savings: [url]http://bugs.php.net/fix.php?id=24614&r=dst[/url]
IIS Stability: [url]http://bugs.php.net/fix.php?id=24614&r=isapi[/url]
Install GNU Sed: [url]http://bugs.php.net/fix.php?id=24614&r=gnused[/url]