From:             jakawan at jakawan dot com
Operating system: Redhat 9
PHP version:      5.0.1
PHP Bug Type:     Apache2 related
Bug description:  sapi_apache2.c is not compatible

Description:
------------
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:

[EMAIL PROTECTED] etc]# apachectl -v
Server version: Apache/2.0.50
Server built: Aug 24 2004 16:21:47

[EMAIL PROTECTED] 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-apxs2=/usr/local/apache2/bin/apxs
then 
make & make install...

-----------------------------
Here's what I have in the httpd.conf (partially)

LoadModule php5_module modules/libphp5.so
...

<VirtualHost \
xxx.xxx.xxx.xxx:80 \
>
DocumentRoot /home/httpd/vhosts/webmail
ServerName webmail
ServerAlias webmail.*
UseCanonicalName Off
<Directory /home/httpd/vhosts/webmail/horde>
<IfModule sapi_apache2.c>
php_admin_flag engine on
php_admin_flag magic_quotes_gpc off
php_admin_value safe_mode off
php_admin_value open_basedir "/home/httpd/vhosts/webmail:/etc/psa:/tmp"
php_admin_value include_path
"/home/httpd/vhosts/webmail/horde/lib:/home/httpd/vhosts/webmail/horde/pe
ar:."
</IfModule>
</Directory>
</VirtualHost>

Everything went well during the compilation, but I cannot run apache
anymore.

I searched in http://www.php.net/support.php and other php forums, I can't
find anything related to this issue. I have also download the latest from
http://snaps.php.net and recompile - still not working.

I know that there is something hanging on my server that I have missed.


Any great advice would be appriciated. I'm really desperate now. My server
has been down for almost a week already.

Thanks in advance.

Jak


-- 
Edit bug report at http://bugs.php.net/?id=29903&edit=1
-- 
Try a CVS snapshot (php4):   http://bugs.php.net/fix.php?id=29903&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=29903&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=29903&r=trysnapshot51
Fixed in CVS:                http://bugs.php.net/fix.php?id=29903&r=fixedcvs
Fixed in release:            http://bugs.php.net/fix.php?id=29903&r=alreadyfixed
Need backtrace:              http://bugs.php.net/fix.php?id=29903&r=needtrace
Need Reproduce Script:       http://bugs.php.net/fix.php?id=29903&r=needscript
Try newer version:           http://bugs.php.net/fix.php?id=29903&r=oldversion
Not developer issue:         http://bugs.php.net/fix.php?id=29903&r=support
Expected behavior:           http://bugs.php.net/fix.php?id=29903&r=notwrong
Not enough info:             http://bugs.php.net/fix.php?id=29903&r=notenoughinfo
Submitted twice:             http://bugs.php.net/fix.php?id=29903&r=submittedtwice
register_globals:            http://bugs.php.net/fix.php?id=29903&r=globals
PHP 3 support discontinued:  http://bugs.php.net/fix.php?id=29903&r=php3
Daylight Savings:            http://bugs.php.net/fix.php?id=29903&r=dst
IIS Stability:               http://bugs.php.net/fix.php?id=29903&r=isapi
Install GNU Sed:             http://bugs.php.net/fix.php?id=29903&r=gnused
Floating point limitations:  http://bugs.php.net/fix.php?id=29903&r=float

Reply via email to