Re: php 4.2.2 and apache2
| From: | Michele Albrigo | Date: | Fri, 26 Jul 2002 06:47:02 +0000 |
| Subject: | Re: php 4.2.2 and apache2 | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-7907@lists.php.net to get a copy of this message | ||
> Dist: Custom RedHat 7.3 install
>
> Compiled Apache2 with the --enable-so function*
>
> PHP: ./configure -with-apxs2=/usr/local/apache2/bin/apxs --with-zlib
>
> configures alright, says it has support for Apache2 module.
>
> Then I run make, and WHAM
>
> php_functions.c:93:27: missing binary operator before '!'
> make[3]: *** [php_functions.lo] Error 1
> make[3]: Leaving directory
> `/usr/src/downloads/php-4.2.2/sapi/apache2filter'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory
> `/usr/src/downloads/php-4.2.2/sapi/apache2filter'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/src/downloads/php-4.2.2/sapi'
> make: *** [all-recursive] Error 1
You have to download php4-latest.tar.gz from http://snaps.php.net
then copy sapi/apache2filter/php_functions.c from that snapshot to the
4.2.2 source tree. Then make clean && make.
You'll find another error during installation. Simply create
php-4.2.2/libs and install again with no problems.
Bye
Michele