1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-24 08:37:37 +02:00
openwrt-packages/lang/php8/patches/1010-dont-try-to-install-mod_php.patch
Michael Heimpold 9dd0bbf0a6 php8: update to 8.1.0
Also update patches and remove obsolete ones.
We also need to add one to prevent mod_php to be enabled
by apxs in configuration file.

While at, remove the VARIANT setting for pecl extensions.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2021-12-06 19:26:50 +01:00

12 lines
410 B
Diff

--- a/sapi/apache2handler/config.m4
+++ b/sapi/apache2handler/config.m4
@@ -74,7 +74,7 @@ if test "$PHP_APXS2" != "no"; then
\$(mkinstalldirs) '$APXS_SYSCONFDIR' && \
$APXS -S LIBEXECDIR='$APXS_LIBEXECDIR' \
-S SYSCONFDIR='$APXS_SYSCONFDIR' \
- -i -a -n php"
+ -i -n php"
fi
LIBPHP_CFLAGS="-shared"