Skip to content

Commit 596cab2

Browse files
chore(php): update PHP 8 extension installer to 2.13.4
1 parent e3ba1cf commit 596cab2

1 file changed

Lines changed: 19 additions & 6 deletions

File tree

‎php/8/data/install-php-extensions‎

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ if ! which docker-php-ext-configure >/dev/null || ! which docker-php-ext-enable
2121
exit 1
2222
fi
2323

24-
IPE_VERSION=2.13.2
24+
IPE_VERSION=2.13.4
2525

2626
# The versions of the libraries that we compile/download manually (for recent PHP versions/distros).
2727
# They can be overridden by setting the environment variables with the same names.
@@ -613,10 +613,11 @@ sortModulesToInstall() {
613613
if test $PHP_MAJMIN_VERSION -le 506; then
614614
checkRequiredModule event sockets
615615
fi
616-
# relay requires msgpack
617-
checkRequiredModule relay msgpack
618-
# relay requires igbinary
619-
checkRequiredModule relay igbinary
616+
# relay < 0.30.0 requires msgpack and igbinary (relay for PHP >= 8.6 is always newer)
617+
if test $PHP_MAJMIN_VERSION -lt 806; then
618+
checkRequiredModule relay msgpack
619+
checkRequiredModule relay igbinary
620+
fi
620621
# pq requires raphf
621622
checkRequiredModule pq raphf
622623
# mailparse requires mbstring
@@ -1497,6 +1498,14 @@ buildRequiredPackageLists() {
14971498
if test $DISTRO_MAJMIN_VERSION -ge 317; then
14981499
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent $buildRequiredPackageLists_libssl"
14991500
fi
1501+
if test $PHP_THREADSAFE -eq 1; then
1502+
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent hiredis hiredis-ssl ck"
1503+
fi
1504+
;;
1505+
relay@debian)
1506+
if test $PHP_THREADSAFE -eq 1; then
1507+
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libhiredis1.1.0 ^libck0(t64)?$"
1508+
fi
15001509
;;
15011510
saxon@alpine)
15021511
buildRequiredPackageLists_persistent="$buildRequiredPackageLists_persistent libstdc++"
@@ -4518,6 +4527,10 @@ installRemoteModule() {
45184527
else
45194528
addConfigureOption enable-redis-msgpack no
45204529
fi
4530+
# Enable phpser serializer support?
4531+
if test $(compareVersions "${installRemoteModule_version:-$(resolvePeclStabilityVersion "$installRemoteModule_module" stable)}" 6.4.0) -ge 0; then
4532+
addConfigureOption enable-redis-phpser no
4533+
fi
45214534
# Enable lz4 compression?
45224535
addConfigureOption enable-redis-lz4 yes
45234536
# Use system liblz4?
@@ -4599,7 +4612,7 @@ installRemoteModule() {
45994612
;;
46004613
esac
46014614
installRemoteModule_regex="https://downloads.saxonica.com/SaxonC/${installRemoteModule_edition}/[0-9]+/SaxonC${installRemoteModule_edition}-$installRemoteModule_regexArchitecture-[0-9]+-[0-9]+-[0-9]+\.zip"
4602-
installRemoteModule_url="$(curl $IPE_CURL_FLAGS -sSLf https://www.saxonica.com/download/c.xml | grep -Eo "$installRemoteModule_regex" | head -n 1)"
4615+
installRemoteModule_url="$(curl $IPE_CURL_FLAGS -sSLf https://www.saxonica.com/src/download/c.xml | grep -Eo "$installRemoteModule_regex" | head -n 1)"
46034616
if test $? -ne 0 || test -z "$installRemoteModule_url"; then
46044617
printf "Failed to determine SaxonC download URL - Nothing matches\n%s\n" "$installRemoteModule_regex"
46054618
exit 1

0 commit comments

Comments
 (0)