php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #27411 sapi_apache2.c version incompatability
Submitted: 2004-02-26 21:08 UTC Modified: 2004-02-27 02:41 UTC
From: joplin at moabutah dot com Assigned:
Status: Not a bug Package: Apache2 related
PHP Version: 4.3.4 OS: Linux/Red Hat 9
Private report: No CVE-ID: None
 [2004-02-26 21:08 UTC] joplin at moabutah dot com
Description:
------------
Compiles fine, Makes Fine, Make Install - Fine. 
When restarting apache,

> /wwwroot/bin/apachectl start
httpd: module "/usr/src/php4-STABLE-200402270030/sapi/apache2handler/sapi_apache2.c" is not compatible with this version of Apache (found 20020628, need 20020903).
Please contact the vendor for the correct version.

Gives this error.

Can't seem to find a fix, or anything.

Configure command used:
./configure  --prefix=/wwwroot/php --with-config-file-path=/wwwroot/php --enable-bcmath --enable-calendar --enable-dbase --enable-dbx --enable-dio --enable-exif --enable-filepro --enable-ftp --enable-gd-native-ttf --enable-mbstring --enable-mbstr-enc-trans --enable--mbregex --enable-overload --enable-shmop --enable-ucd-snmp-hack --enable-sockets --enable-aggregate --enable-sysvsem --enable-sysvshm --enable-tokenizer --enable-wddx --enable-yp --enable-versioning --with-mod-charset --with-openssl --with-zlib-dir=/usr/lib --with-zlib --with-jpeg-dir=/usr/lib --with-tiff-dir=/usr/lib --with-png-dir=/usr/lib --with-curl --with-db --with-gd --with-ttf --with-gettext --with-gmp --with-hyperwave --with-kerberos --with-ldap --with-mcal=/usr/lib --with-mhash --with-mysql --with-regex=php --with-iconv --enable-track-vars --enable-trans-sid --with-tsrm-st --with-tsrm-pthreads --enable-debug --with-apxs2=/usr/sbin/apxs

Installed Apache: httpd-2.0.48 (no problems)

Would like to know which direction to head from here.



Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-02-27 02:41 UTC] sniper@php.net
1. Reinstall Apache2. Make sure you don't have ANY old apache headers laying around in your system!

2. Remove all the unnecessary configure options (--enable-versioning, all the tsrm related ones, etc. some of those don't even EXIST anymore)

3. Use proper paths for the configure options. (/usr/lib is _NEVER_ correc, plain /usr is!!)

4. Ask ANY further support questions on the mailing lists.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Jul 01 04:01:29 2024 UTC