apache 2.0.39 + php 4.2.1

Am I doing something wrong..?

i'm trying to get apache 2.0.39 to work, with php 4.2.1

here's what i'm doing

first cd'ing into the apache dir
doing this:

./configure --enable-auth-dbm --disable-log-config --enable-proxy --enable-proxy-connect --enable-proxy-http --enable-ssl --enable-http --enable-info --enable-cgi --enable-cgid --enable-vhost-alias --enable-so --with-ssl --enable-suexec --with-suexec-caller=nobody --with-suexec-docroot=/mspace --with-suexec-
userdir=htdocs --with-suexec
safepath=/usr/local/bin:/usr/bin:/bin --with-suexec-logfile=/var/log/suexec_log --prefix=/usr/local/apache2

Then i'm doing make, make install -- works perfectly.

then cd'ing out and into the php 4.2.1 dir

and i'm doing this:
./configure --with-mysql --with-apxs2=/usr/local/apache2/bin/apxs --enable-track-vars


and php will compile for awhile, then it errors

/bin/sh /home/dev/ap2.0/php-4.2.1/libtool --silent --mode=compile gcc -I. -I/home/dev/ap2.0/php-4.2.1/sapi/apache2filter -I/home/dev/ap2.0/php-4.2.1/main -I/home/dev/ap2.0/php-4.2.1 -I/usr/local/apache2/include -I/home/dev/ap2.0/php-4.2.1/Zend -I/home/dev/ap2.0/php-4.2.1/ext/mysql/libmysql -I/home/dev/ap2.0/php-4.2.1/ext/xml/expat -D_REENTRANT -I/home/dev/ap2.0/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 `/home/dev/ap2.0/php-4.2.1/sapi/apache2filter'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/dev/ap2.0/php-4.2.1/sapi/apache2filter'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/dev/ap2.0/php-4.2.1/sapi'
make: *** [all-recursive] Error 1

Has anyone got this? Surely someone has...? Am i the only one? Could someone help me out, maybe i am doing something wrong..

any help is appreciated.

 

 

 

 

Top