#34167 [Opn->Bgs]: php parses itself
| From: | tony2001@php.net | Date: | Wed, 17 Aug 2005 08:59:44 +0000 |
| Subject: | #34167 [Opn->Bgs]: php parses itself | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-83685@lists.php.net to get a copy of this message | ||
ID: 34167
Updated by: tony2001@php.net
Reported By: karasek at ceskyserver dot cz
-Status: Open
+Status: Bogus
Bug Type: CGI related
Operating System: linux
PHP Version: 4.4.0
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. Due to the volume
of reports we can not explain in detail here why your report is not
a bug. The support channels will be able to provide an explanation
for you.
Thank you for your interest in PHP.
Previous Comments:
------------------------------------------------------------------------
[2005-08-17 10:58:13] karasek at ceskyserver dot cz
Description:
------------
I'm trying to run php4 as cgi and php5 as Apache's
module.
I get this error:
address: http://skatach.ceskyserver.cz:8000/info.php4
Warning: Unexpected character in input: '' (ASCII=15)
state=1 in /usr/local/php4/bin/php on line 919
Parse error: parse error, unexpected T_STRING in /usr/
local/php4/bin/php on line 919
This looks like php parse itself binary.
When I try the same with php5, everythink is OK.
address: http://skatach.ceskyserver.cz:8000/info.php5
The important part of my httpd.conf is:
scriptalias /cgi-php /usr/local/php5/bin
scriptalias /bin /usr/local/php4/bin
AddHandler php4-exec .php4
AddHandler php5-exec .php5
Action php5-exec /cgi-php/php
Action php4-exec /bin/php
I tryed the same with older version (4.3.8) of PHP, but
the result was the same.
Is it really a bug or is the problem between keyboard
and chair? :o)
Regards
Tony
Reproduce code:
---------------
<?
phpinfo();
?>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=34167&edit=1