#24864 [Opn]: Warning: Unexpected character in input

From: Date: Wed, 30 Jul 2003 06:21:48 +0000
Subject: #24864 [Opn]: Warning: Unexpected character in input
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-45036@lists.php.net to get a copy of this message
ID: 24864 User updated by: tom at minnesota dot com Reported By: tom at minnesota dot com Status: Open Bug Type: CGI related Operating System: NetBSD/Alpha (64bit) - 1.6 PHP Version: 4CVS-2003-07-30 (stable) New Comment: I should also note that accessing the phpinfo.phtml page via shell and php (cgi) directly works fine. It shows that error when accessing the script with php cgi through Apache. Previous Comments: ------------------------------------------------------------------------ [2003-07-30 01:18:14] tom at minnesota dot com Description: ------------ When accessing a simple page with via the browser and php (cgi): <?php phpinfo(); ?> I get: --- Warning: Unexpected character in input: ' in /usr/local_install/php-4-200307300130-cgi/bin/php on line 4819 Warning: Unexpected character in input: ' in /usr/local_install/php-4-200307300130-cgi/bin/php on line 4819 Warning: Unexpected character in input: ' in /usr/local_install/php-4-200307300130-cgi/bin/php on line 4819 Parse error: parse error in /usr/local_install/php-4-200307300130-cgi/bin/php on line 4819 --- Works fine with apache module and older 4.3.1 cgi. Reproduce code: --------------- <?php phpinfo(); ?> Expected result: ---------------- Show the phpinfo page. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=24864&edit=1

« previous php.bugs (#45036) next »