From: btnguyen2k at yahoo dot com Operating system: Linux Redhat 8.0 PHP version: 4.3.6 PHP Bug Type: Apache2 related Bug description: "sapi/apache/sapi_apache2.c" is not compatible with Apach 2.0.49
Description: ------------ Today I installed a new server (clean install) with Apache 2.0.49 and PHP 4.3.6. Everythings was fine from ./configure to make, make test, and make install. However, when restarting Apache, I got the following error message: Starting httpd: httpd: module "/root/download/php-4.3.6/sapi/apache2filter/sapi_apache2.c" is not compatible with this version of Apache. Please contact the vendor for the correct version. On my old servers (Apache 2.0.47/48 with PHP 4.3.4) there was no such an error message. This is the configuration command I used for PHP: ./configure --enable-force-cgi-redirect --disable-debug --with-gd --with-ttf --with-zlib --enable-memory-limit --enable-mbstring --with-mysql --enable-safe-mode --enable-pic --with-png --with-jpeg Note: I do find some previous bug reports regarding to this issue, but with different versions of Apache and PHP. The solution in all of those bug reports was "download the CVS version of PHP". However it's not the choice for me now because I need a stable version of PHP that works with my current Apache. -- Edit bug report at http://bugs.php.net/?id=28595&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=28595&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=28595&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=28595&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=28595&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=28595&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=28595&r=needscript Try newer version: http://bugs.php.net/fix.php?id=28595&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=28595&r=support Expected behavior: http://bugs.php.net/fix.php?id=28595&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=28595&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=28595&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=28595&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=28595&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=28595&r=dst IIS Stability: http://bugs.php.net/fix.php?id=28595&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=28595&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=28595&r=float