mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Remove some old apache2filter occurrences
apache2filter was supported in PHP <= 5.6. This patch removes some old apache2filter occurrences. Also FreeBSD warning therefore is not needed anymore when building PHP with apache2filter and in later versions don't need to set the --with-tsrm-pth option.
This commit is contained in:
parent
0646042d1f
commit
3644cc6111
2 changed files with 1 additions and 11 deletions
11
configure.ac
11
configure.ac
|
@ -1544,15 +1544,6 @@ dnl mv -f main/internal_functions.c main/internal_functions.c.old 2>/dev/null
|
|||
cli_extensions="$EXT_CLI_STATIC"
|
||||
sh $srcdir/build/genif.sh $srcdir/main/internal_functions.c.in $srcdir "$EXTRA_MODULE_PTRS" $AWK \$cli_extensions > main/internal_functions_cli.c
|
||||
|
||||
if test "$UNAME" = "FreeBSD" && test "$PHP_SAPI" = "apache2filter" && test "$TSRM_PTH" != "pth-config" ; then
|
||||
echo "+--------------------------------------------------------------------+"
|
||||
echo "| *** WARNING *** |"
|
||||
echo "| |"
|
||||
echo "| In order to build PHP as a Apache2 module on FreeBSD, you have to |"
|
||||
echo "| add --with-tsrm-pth to your ./configure line. Therefore you need |"
|
||||
echo "| to install gnu-pth from /usr/ports/devel/pth. |"
|
||||
fi
|
||||
|
||||
if test -n "$PHP_APXS_BROKEN"; then
|
||||
echo "+--------------------------------------------------------------------+"
|
||||
echo "| WARNING: Your $APXS script is most likely broken."
|
||||
|
@ -1578,7 +1569,7 @@ cat <<X
|
|||
X
|
||||
fi
|
||||
|
||||
if test "$PHP_SAPI" = "apache2handler" || test "$PHP_SAPI" = "apache2filter"; then
|
||||
if test "$PHP_SAPI" = "apache2handler"; then
|
||||
if test "$APACHE_VERSION" -ge 2004001; then
|
||||
if test -z "$APACHE_THREADED_MPM"; then
|
||||
cat <<X
|
||||
|
|
|
@ -2319,7 +2319,6 @@ static inline int accel_find_sapi(void)
|
|||
"cli-server",
|
||||
"cgi-fcgi",
|
||||
"fpm-fcgi",
|
||||
"apache2filter",
|
||||
"apache2handler",
|
||||
"litespeed",
|
||||
"uwsgi",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue