Apache 2 & PHP 4.1.2

From: Date: Wed, 21 Aug 2002 19:48:54 +0000
Subject: Apache 2 & PHP 4.1.2
Groups: php.install 
Request: Send a blank email to php-install+get-8187@lists.php.net to get a copy of this message
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

« previous php.install (#8187) next »