#25952 [Fbk->Opn]: Parse error on line 1 - have to remove zend/*.parser.c
ID: 25952
User updated by: tim at digicol dot de
Reported By: tim at digicol dot de
-Status: Feedback
+Status: Open
Bug Type: Compile Failure
Operating System: SuSE Linux 8.2
PHP Version: 4.3.4RC2
New Comment:
"bison (GNU Bison) 1.75" - it's the standard bison delivered with SuSE
Linux 8.2.
Previous Comments:
------------------------------------------------------------------------
[2003-10-22 12:18:49] iliaa@php.net
Which version of bison are you using?
------------------------------------------------------------------------
[2003-10-22 09:43:47] tim at digicol dot de
Description:
------------
PHP 4.3.4RC2 seems to compiles fine, but every PHP script we call
results in a "parse error on line 1".
Thies Arntzen told us to remove zend/*.parser.c, zend/*.parser.h,
zend/*.scanner.c and then run make again - this works fine for us. But
we were hoping that this issue be resolved in 4.3.4.
We had the same problem with PHP 4.3.3 on SuSE Linux as well, and also
on an HP-UX server.
Here's the configure line:
===============================================
../php-4.3.4RC2/configure \
--with-config-file-path=/usr/local/php/conf \
--enable-track-vars \
--disable-magic-quotes \
--enable-xml \
--enable-sysvsem \
--enable-sysvshm \
--with-apxs=/usr/local/apache/bin/apxs \
--disable-debug \
--enable-ftp \
--enable-wddx \
--enable-sigchild \
--enable-inline-optimization \
--disable-pear \
--enable-exif \
--with-pgsql=/usr/local/pgsql \
--prefix=/usr/local/php \
--without-mysql \
--with-oci8=/dot/oracle/product/9.2.0 \
--with-db3=/usr/local/db3 \
--with-zlib \
--with-dom \
--with-mhash=/usr/local/mhash \
--enable-mbstring=UTF-8 \
--enable-mbstr-enc-trans \
--enable-mbregex \
--disable-pic
===============================================
Reproduce code:
---------------
Any PHP script.
Actual result:
--------------
No output. error_log says:
PHP Parse error: parse error, unexpected T_STRING in <filename> on
line 1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=25952&edit=1
Thread (6 messages)