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