Re: Anyone else having problems with installing php (dso) on latest a pache 2.0.36?
| From: | Rasmus Lerdorf | Date: | Wed, 19 Jun 2002 14:17:50 +0000 |
| Subject: | Re: Anyone else having problems with installing php (dso) on latest a pache 2.0.36? | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-7387@lists.php.net to get a copy of this message | ||
Use the CVS version or a snapshot from snaps.php.net
Apache2 is not officially supported yet as it is unlikely to work anyway
in anything but non-threaded pre-fork mode. And then you might as well
run Apache 1.3.x.
-Rasmus
On Wed, 19 Jun 2002, Jonathan Thomas wrote:
> Just installed the latest apache 2.0.36 (to resolve latest security
> advisory)
> Compiling php 4.2.1 as a shared module
> ./configure --with-mysql --with-apxs2=/usr/local/httpd/bin/apxs
>
> Configure completes fine. Make dies with the following errors:
>
> make[3]: Entering directory `/usr/local/etc/php-4.2.1/sapi/apache2filter'
> /bin/sh /usr/local/etc/php-4.2.1/libtool --silent --mode=compile gcc -I.
> -I/usr/local/etc/php-4.2.1/sapi/apache2filter
> -I/usr/local/etc/php-4.2.1/main -I/usr/local/etc/php-4.2.1
> -I/usr/local/etc/httpd/include -I/usr/local/etc/php-4.2.1/Zend
> -I/usr/local/etc/php-4.2.1/ext/mysql/libmysql
> -I/usr/local/etc/php-4.2.1/ext/xml/expat -D_REENTRANT
> -I/usr/local/etc/php-4.2.1/TSRM -DTHREAD=1 -g -O2 -pthread -DZTS -prefer-pic
> -c sapi_apache2.c
> /bin/sh /usr/local/etc/php-4.2.1/libtool --silent --mode=compile gcc -I.
> -I/usr/local/etc/php-4.2.1/sapi/apache2filter
> -I/usr/local/etc/php-4.2.1/main -I/usr/local/etc/php-4.2.1
> -I/usr/local/etc/httpd/include -I/usr/local/etc/php-4.2.1/Zend
> -I/usr/local/etc/php-4.2.1/ext/mysql/libmysql
> -I/usr/local/etc/php-4.2.1/ext/xml/expat -D_REENTRANT
> -I/usr/local/etc/php-4.2.1/TSRM -DTHREAD=1 -g -O2 -pthread -DZTS -prefer-pic
> -c apache_config.c
> /bin/sh /usr/local/etc/php-4.2.1/libtool --silent --mode=compile gcc -I.
> -I/usr/local/etc/php-4.2.1/sapi/apache2filter
> -I/usr/local/etc/php-4.2.1/main -I/usr/local/etc/php-4.2.1
> -I/usr/local/etc/httpd/include -I/usr/local/etc/php-4.2.1/Zend
> -I/usr/local/etc/php-4.2.1/ext/mysql/libmysql
> -I/usr/local/etc/php-4.2.1/ext/xml/expat -D_REENTRANT
> -I/usr/local/etc/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/local/etc/php-4.2.1/sapi/apache2filter'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/local/etc/php-4.2.1/sapi/apache2filter'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/etc/php-4.2.1/sapi'
> make: *** [all-recursive] Error 1
>
>
> I went back one version on apache 2 and the compile worked fine. Perhaps
> apache changed something that php has yet to catch up with?
>
>
>
> Thanks,
> JT
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>