#24982 [NEW]: PHP can't run as a CGI
| From: | peters at stack dot nl | Date: | Fri, 08 Aug 2003 08:36:22 +0000 |
| Subject: | #24982 [NEW]: PHP can't run as a CGI | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-45553@lists.php.net to get a copy of this message | ||
From: peters at stack dot nl
Operating system: gnu/linux
PHP version: 4.3.3RC3
PHP Bug Type: CGI related
Bug description: PHP can't run as a CGI
Description:
------------
PHP runs as a CGI under the webserver and produces an error.
Reproducable with these commands (commandline):
peter@xaron:~/public_html% REQUEST_METHOD=GET PATH_INFO=/
PATH_TRANSLATED="/home/peter/public_html/index.php" php
Which results in:
Status: 404
Content-type: text/html
X-Powered-By: PHP/4.3.3RC3
No input file specified.
Reproduce code:
---------------
At shell-prompt:
REQUEST_METHOD=GET PATH_INFO=/
PATH_TRANSLATED="/home/peter/public_html/index.php" php
Expected result:
----------------
I expect the file index.php (which does exist) to be processed.
Actual result:
--------------
Status: 404
Content-type: text/html
X-Powered-By: PHP/4.3.3RC3
No input file specified.
--
Edit bug report at http://bugs.php.net/?id=24982&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=24982&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=24982&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=24982&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=24982&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=24982&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=24982&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=24982&r=support
Expected behavior: http://bugs.php.net/fix.php?id=24982&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=24982&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=24982&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=24982&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24982&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=24982&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=24982&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=24982&r=gnused