From:             tim at digicol dot de
Operating system: SuSE Linux 8.2
PHP version:      4.3.4RC2
PHP Bug Type:     *Compile Issues
Bug description:  Parse error on line 1 - have to remove zend/*.parser.c

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

Reply via email to