From:             tom at minnesota dot com
Operating system: NetBSD/Alpha (64bit) - 1.6
PHP version:      4CVS-2003-07-30 (stable)
PHP Bug Type:     CGI related
Bug description:  Warning: Unexpected character in input

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

Reply via email to