File tree Expand file tree Collapse file tree 3 files changed +5
-15
lines changed Expand file tree Collapse file tree 3 files changed +5
-15
lines changed Original file line number Diff line number Diff line change @@ -2104,7 +2104,7 @@ AC_DEFUN([PHP_INSTALL_HEADERS],[
2104
2104
dnl
2105
2105
dnl PHP_AP_EXTRACT_VERSION(/path/httpd)
2106
2106
dnl
2107
- dnl This macro is used to get a comparable version for apache1/2 .
2107
+ dnl This macro is used to get a comparable version for Apache .
2108
2108
dnl
2109
2109
AC_DEFUN ( [ PHP_AP_EXTRACT_VERSION] ,[
2110
2110
ac_output=`$1 -v 2>&1 | grep version | $SED -e 's/Oracle-HTTP-//'`
Original file line number Diff line number Diff line change @@ -1636,14 +1636,6 @@ if test -n "\$REDO_ALL"; then
1636
1636
cli_extensions="$EXT_CLI_STATIC"
1637
1637
sh $srcdir/build/genif.sh $srcdir/main/internal_functions.c.in $srcdir "$EXTRA_MODULE_PTRS" $AWK \$cli_extensions > main/internal_functions_cli.c
1638
1638
1639
- if test -n "$PHP_APXS_BROKEN"; then
1640
- echo "+--------------------------------------------------------------------+"
1641
- echo "| WARNING: Your $APXS script is most likely broken."
1642
- echo "| |"
1643
- echo "| Please go read http://www.php.net/faq.build#faq.build.apxs |"
1644
- echo "| and make the changes described there and try again. |"
1645
- fi
1646
-
1647
1639
if test -n "$DEBUG_LOG"; then
1648
1640
rm -f config.cache
1649
1641
cat <<X
Original file line number Diff line number Diff line change 1
1
PHP_ARG_WITH([ apxs2] ,,
2
2
[ AS_HELP_STRING ( [ [ --with-apxs2[ =FILE] ] ] ,
3
- [ Build shared Apache 2.0 Handler module. FILE is the optional pathname to
3
+ [ Build shared Apache 2 handler module. FILE is the optional pathname to
4
4
the Apache apxs tool [ apxs] ] ) ] ,
5
5
[ no] ,
6
6
[ no] )
7
7
8
- AC_MSG_CHECKING ( [ for Apache 2.0 handler- module support via DSO through APXS] )
8
+ AC_MSG_CHECKING ( [ for Apache 2 handler module support via DSO through APXS] )
9
9
10
10
if test "$PHP_APXS2" != "no"; then
11
11
if test "$PHP_APXS2" = "yes"; then
@@ -59,9 +59,7 @@ if test "$PHP_APXS2" != "no"; then
59
59
60
60
dnl Test that we're trying to configure with apache 2.x
61
61
PHP_AP_EXTRACT_VERSION($APXS_HTTPD)
62
- if test "$APACHE_VERSION" -le 2000000; then
63
- AC_MSG_ERROR ( [ You have enabled Apache 2 support while your server is Apache 1.3. Please use the appropriate switch --with-apxs (without the 2)] )
64
- elif test "$APACHE_VERSION" -lt 2000044; then
62
+ if test "$APACHE_VERSION" -lt 2000044; then
65
63
AC_MSG_ERROR ( [ Please note that Apache version >= 2.0.44 is required] )
66
64
fi
67
65
@@ -113,7 +111,7 @@ if test "$PHP_APXS2" != "no"; then
113
111
PHP_BUILD_THREAD_SAFE
114
112
fi
115
113
else
116
- APACHE_THREADED_MPM=`$APXS_HTTPD -V | grep 'threaded:.*yes'`
114
+ APACHE_THREADED_MPM=`$APXS_HTTPD -V 2>/dev/null | grep 'threaded:.*yes'`
117
115
if test -n "$APACHE_THREADED_MPM"; then
118
116
PHP_BUILD_THREAD_SAFE
119
117
fi
You can’t perform that action at this time.
0 commit comments