2.0.39 was released after PHP 4.2 and they changed the API. You will need current CVS versions of both PHP and Apache to make it work.
-Rasmus On Wed, 21 Aug 2002, Niklas Saers Mailinglistaccount wrote: > Hi, when compiling PHP with Apache2 on FreeBSD, I get with the following > line: > > ./configure --prefix=/usr/local/apache2 \ > --with-apxs2=/usr/local/apache2/bin/apxs --with-tsrm-pth --with-mysql \ > && make -DHAVE_GD_GIF=NO > > Making all in apache2filter > /bin/sh /disks/ibm18/server-src/php-4.2.2-apache2/libtool --silent > --mode=compile gcc -I. > -I/disks/ibm18/server-src/php-4.2.2-apache2/sapi/apache2filter > -I/disks/ibm18/server-src/php-4.2.2-apache2/main > -I/disks/ibm18/server-src/php-4.2.2-apache2 -I/usr/local/apache2/include > -I/disks/ibm18/server-src/php-4.2.2-apache2/Zend > -I/disks/ibm18/server-src/php-4.2.2-apache2/ext/mysql/libmysql > -I/disks/ibm18/server-src/php-4.2.2-apache2/ext/xml/expat -D_REENTRANT > -D_THREAD_SAFE -I/disks/ibm18/server-src/php-4.2.2-apache2/TSRM > -I/usr/local/include/pth -DTHREAD=1 -g -O2 -pthread -DZTS -prefer-pic -c > php_functions.c > php_functions.c:93: syntax error > *** Error code 1 > > I'm using Apache 2.0.39, PHP 4.2.2 and FreeBSD 4.6. I know it sais Apache2 > support is experimental, but come on, syntax errors doesn't make it > experimental, it makes it fail. So I'm quite sure this is not the problem, > and I'd like suggestions on how to get this up and running. > > Cheers > > Nik > > > -- > PHP Install Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php