For Programmers: Free Programming Magazines  


Home > Archive > PHP Installation > August 2004 > sapi_apache2 not compatible with Apache 2.0.50 and PHP5









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author sapi_apache2 not compatible with Apache 2.0.50 and PHP5
Jak

2004-08-26, 8:56 pm

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
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com