#24982 [Opn->Bgs]: PHP can't run as a CGI
| From: | sniper@php.net | Date: | Fri, 08 Aug 2003 08:51:39 +0000 |
| Subject: | #24982 [Opn->Bgs]: PHP can't run as a CGI | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-45558@lists.php.net to get a copy of this message | ||
ID: 24982
Updated by: sniper@php.net
Reported By: peters at stack dot nl
-Status: Open
+Status: Bogus
Bug Type: CGI related
Operating System: gnu/linux
PHP Version: 4.3.3RC3
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
Works fine for me, you just have installed it wrong.
Previous Comments:
------------------------------------------------------------------------
[2003-08-08 03:36:22] peters at stack dot nl
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 this bug report at http://bugs.php.net/?id=24982&edit=1