From: [EMAIL PROTECTED] Operating system: SuSE 7.0 PHP version: 4.2.0 PHP Bug Type: Compile Failure Bug description: configure checks for apache 2.X wrong way
I was trying to compile php 4.2.0 with apache 1.3.23 on a SuSE 7.0 system using the following configure command: ./configure --with-apxs=/usr/local/httpd/bin/apxs --with-gettext --with-xml --with-mysql --with-imap --with-gd --with-zlib It then gives the error: error: Use --with-apxs2 with Apache 2.x! even though apache is version 1.3.23 After looking into the code of configure and commenting out these lines: # Test that we're trying to configure with apache 1.x if test -f "$APXS_INCLUDEDIR/ap_mpm.h"; then { { echo "$as_me:5006: error: Use --with-apxs2 with Apache 2.x!" >&5 echo "$as_me: error: Use --with-apxs2 with Apache 2.x!" >&2;} { (exit 1); exit 1; }; } fi "configure", "make" and "make install" ran well without a problem. PHP is now running fine. Is there a mistake in the check the configure script is doing? The file it is checking for is there although I have never had apache 2.X on the system. A bug? Erik Slooff -- Edit bug report at http://bugs.php.net/?id=16791&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=16791&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=16791&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=16791&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=16791&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=16791&r=support Expected behavior: http://bugs.php.net/fix.php?id=16791&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=16791&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=16791&r=submittedtwice