Apache 2.0.39 and PHP 4.2.2

Andrew Bates andrewb at litecode.net
Wed Jul 24 18:00:59 CDT 2002


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

simple delete the WHOLE if statement on line 93... works everytime.

- - Andrew

Lucas Peet wrote:

| Hello, all.
|  
| I'm trying to compile PHP 4.2.2 with Apache 2.0.39 and MySQL 3.23.48.
| I saw somewhere on a message board a similar error, and they said to
| use PHP 4.2.1.  So I tried that, and got the *exact* error message.
|  
| Apache compiled just fine, but when I tried to compile PHP, here's the
| error I got:
|  
| Making all in sapi
| make[1]: Entering directory `/usr/src/php-4.2.1/sapi'
| Making all in apache2filter
| make[2]: Entering directory `/usr/src/php-4.2.1/sapi/apache2filter'
| make[3]: Entering directory `/usr/src/php-4.2.1/sapi/apache2filter'
| /bin/sh /usr/src/php-4.2.1/libtool --silent --mode=compile gcc  -I.
| -I/usr/src/php-4.2.1/sapi/apache2filter -I/usr/src/php-4.2.1/main
| -I/usr/src/php-4.2.1 -I/opt/apache2.0/apache/include
| -I/usr/src/php-4.2.1/Zend -I/usr/src/php-4.2.1/ext/mysql/libmysql
| -I/usr/src/php-4.2.1/ext/xml/expat  -D_REENTRANT
| -I/usr/src/php-4.2.1/TSRM -DTHREAD=1 -g -O2 -pthread -DZTS
| -prefer-pic  -c sapi_apache2.c
| /bin/sh /usr/src/php-4.2.1/libtool --silent --mode=compile gcc  -I.
| -I/usr/src/php-4.2.1/sapi/apache2filter -I/usr/src/php-4.2.1/main
| -I/usr/src/php-4.2.1 -I/opt/apache2.0/apache/include
| -I/usr/src/php-4.2.1/Zend -I/usr/src/php-4.2.1/ext/mysql/libmysql
| -I/usr/src/php-4.2.1/ext/xml/expat  -D_REENTRANT
| -I/usr/src/php-4.2.1/TSRM -DTHREAD=1 -g -O2 -pthread -DZTS
| -prefer-pic  -c apache_config.c
| /bin/sh /usr/src/php-4.2.1/libtool --silent --mode=compile gcc  -I.
| -I/usr/src/php-4.2.1/sapi/apache2filter -I/usr/src/php-4.2.1/main
| -I/usr/src/php-4.2.1 -I/opt/apache2.0/apache/include
| -I/usr/src/php-4.2.1/Zend -I/usr/src/php-4.2.1/ext/mysql/libmysql
| -I/usr/src/php-4.2.1/ext/xml/expat  -D_REENTRANT
| -I/usr/src/php-4.2.1/TSRM -DTHREAD=1 -g -O2 -pthread -DZTS
| -prefer-pic  -c php_functions.c
| php_functions.c:93:27: missing binary operator before '!'
| make[3]: *** [php_functions.lo] Error 1
| make[3]: Leaving directory `/usr/src/php-4.2.1/sapi/apache2filter'
| make[2]: *** [all-recursive] Error 1
| make[2]: Leaving directory `/usr/src/php-4.2.1/sapi/apache2filter'
| make[1]: *** [all-recursive] Error 1
| make[1]: Leaving directory `/usr/src/php-4.2.1/sapi'
| make: *** [all-recursive] Error 1
| The command I used to configure it was:
|  
| ./configure --with-mysql --with-apxs2=/opt/apache2.0/apache/bin/apxs
| --with-ftp --prefix=/opt/apache2.0/php-4.2.1
|  
| Any ideas?
|  
| -Lucas
|
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE9Pu5RZDPmJ8C0lSYRAlONAJ9eGl09Pl5xSRSLbgopxEcSp5jQqACfcEJI
mzI9GZtyx3u4LdPATy7WgWk=
=U+mG
-----END PGP SIGNATURE-----




More information about the Kclug mailing list