| Hendrik Schmieder 2004-08-27, 8:57 am |
| jak schrieb:
> Hello,
>
> Can somebody help please?
>
> I'm really desperate now.
> I have read the install.txt, support forum about 50 times. I
> recompiled back and forth about 10 times. Download the latest PHP from
> both PHP.net and http://snaps.php.net.
>
> I still get the same error below:
>
> httpd: module
> "/usr/src/build/274778-i386/BUILD/php-4.2.2/sapi/apache2filter/sapi_apache2.c"
> is not compatible with this version of apache (found 20020628, need
> 20020903).
> Please contact the vendor for the correct version.
>
> Here is my apache and PHP version:
>
> [root@u15157708 etc]# apachectl -v
> Server version: Apache/2.0.50
> Server built: Aug 24 2004 16:21:47
>
> [root@u15157708 etc]# php -v
> PHP 5.0.2-dev (cli) (built: Aug 24 2004 10:40:57)
> Copyright (c) 1997-2004 The PHP Group
> Zend Engine v2.0.2-dev, Copyright (c) 1998-2004 Zend Technologies
>
> When I compile, I only use the basic switches:
> ./configure --prefix=/usr/local/apache2
> then do
> make & make install
>
> for PHP, I follow the INSTALL document:
> ./configure --with-apxs=/www/bin/apxs
> (i couldn't compile with mysql b/c php5 does not bundle with mysql
> module).
>
> Any great advice would be appriciated. Thanks in advance.
>
> Jak
>
You should use ./configure --with-apxs2=/usr/local/apache2/bin/apxs
Hendrik
|