From: sixd Operating system: All PHP version: 5.3.6RC1 Package: *Configuration Issues Bug Type: Feature/Change Request Bug description:Fix apxs Apache version test to work with Apache variants
Description: ------------ A small change to acinclude.m4 will let the Apache version number check work correctly when installing PHP on Oracle HTTP Server (OHS). The end user work around is to edit 'configure' and change APACHE_VERSION=`expr $4 \* 1000000 + $5 \* 1000 + $6` to APACHE_VERSION=`expr $6 \* 1000000 + $7 \* 1000 + $8` The suggested real base patch is: Index: acinclude.m4 =================================================================== --- acinclude.m4 (revision 308331) +++ acinclude.m4 (working copy) @@ -2590,7 +2590,7 @@ dnl version for apache1/2. dnl AC_DEFUN([PHP_AP_EXTRACT_VERSION],[ - ac_output=`$1 -v 2>&1 | grep version` + ac_output=`$1 -v 2>&1 | grep version | $SED -e 's/Oracle-HTTP-//'` ac_IFS=$IFS IFS="- /. " -- Edit bug report at http://bugs.php.net/bug.php?id=54084&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=54084&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=54084&r=trysnapshot53 Try a snapshot (trunk): http://bugs.php.net/fix.php?id=54084&r=trysnapshottrunk Fixed in SVN: http://bugs.php.net/fix.php?id=54084&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=54084&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=54084&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=54084&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=54084&r=needscript Try newer version: http://bugs.php.net/fix.php?id=54084&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=54084&r=support Expected behavior: http://bugs.php.net/fix.php?id=54084&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=54084&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=54084&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=54084&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=54084&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=54084&r=dst IIS Stability: http://bugs.php.net/fix.php?id=54084&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=54084&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=54084&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=54084&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=54084&r=mysqlcfg