Req #54084 [Opn->Csd]: Fix apxs Apache version test to work with Apache variants
| From: | sixd@php.net | Date: | Wed, 23 Mar 2011 19:26:44 +0000 |
| Subject: | Req #54084 [Opn->Csd]: Fix apxs Apache version test to work with Apache variants | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-159733@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=54084&edit=1
ID: 54084
Updated by: sixd@php.net
Reported by: sixd@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] sixd@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] sixd@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