Edit report at http://bugs.php.net/bug.php?id=54084&edit=1
ID: 54084 Updated by: s...@php.net Reported by: s...@php.net Summary: Fix apxs Apache version test to work with Apache variants -Status: Open +Status: Closed Type: Feature/Change Request Package: *Configuration Issues Operating System: All PHP Version: 5.3.6RC1 -Assigned To: +Assigned To: sixd Block user comment: N Private report: N New Comment: Fixed in PHP's 5.3 and trunk branches. It will first appear in the next version after PHP 5.3.6. Previous Comments: ------------------------------------------------------------------------ [2011-03-23 19:56:49] s...@php.net Automatic comment from SVN on behalf of sixd Revision: http://svn.php.net/viewvc/?view=revision&revision=309610 Log: Fixed bug #54084 (Fix apxs Apache version test to work with Oracle HTTP Server) (Chris Jones) ------------------------------------------------------------------------ [2011-02-24 03:08:32] s...@php.net 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 this bug report at http://bugs.php.net/bug.php?id=54084&edit=1