Error compiling PHP-4.2.1 on linux
| From: | Scott Hurring | Date: | Fri, 17 May 2002 20:31:55 +0000 |
| Subject: | Error compiling PHP-4.2.1 on linux | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-98183@lists.php.net to get a copy of this message | ||
Hello everyone.
I have been using PHP since version 4.0.6 and always
compile from source. I have not had a single problem
until now. I'm trying to upgrade from php-4.1.2 to
php-4.2.1, and when i make install php-4.2.1, *any*
PHP page i access throws off a ton of errors that
i've never seen before.
I use the following ./configure options (i used the exact
same opts for 4.1.2 with no prob, and i know my system has
all the necessary libs and headers)
Any help is appreciated... google searches turned up nothing
on this, so i figured "who better to ask?" :) Thanks!!
./configure --enable-ftp --enable-memory-limit --enable-discard-path
--enable-wddx --enable-sockets --enable-force-cgi-redirect
--with-mysql=/usr/local/mysql/ --with-zlib --with-zlib-dir=../zlib/
--with-pear --with-openssl
This is what i get when trying to access *any* PHP page
(The specific page that threw these errors was <? print "hi"; ?>)
Warning: Unexpected character in input: '' (ASCII=4) state=1 in
/usr/local/bin/php on line 3390
Warning: Unexpected character in input: ' in /usr/local/bin/php on line 3391
Warning: Unexpected character in input: '' (ASCII=4) state=1 in
/usr/local/bin/php on line 3391
Warning: Unexpected character in input: '' (ASCII=4) state=1 in
/usr/local/bin/php on line 3392
Warning: Unexpected character in input: '' (ASCII=27) state=1 in
/usr/local/bin/php on line 3393
Parse error: parse error, unexpected T_STRING in /usr/local/bin/php on line
3393
---
Scott Hurring
Systems Programmer
EAC Corporation
ScottH@eac.com
Voice: 201-462-2149
Fax: 201-288-1515