Add support for zookeeper on PHP 8.1/8.2 (#696)

pull/701/head
Michele Locati 2023-02-21 13:48:42 +01:00 committed by GitHub
parent 9d8d867219
commit 83457983c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 4 deletions

View File

@ -126,5 +126,5 @@ yaml 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2
yar 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1
zephir_parser 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2
zip 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2
zookeeper 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0
zookeeper 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2
zstd 5.5 5.6 7.0 7.1 7.2 7.3 7.4 8.0 8.1 8.2

View File

@ -3593,12 +3593,13 @@ installRemoteModule() {
if test -z "$installRemoteModule_version"; then
if test $PHP_MAJMIN_VERSION -le 506; then
installRemoteModule_version=0.5.0
else
elif test $PHP_MAJMIN_VERSION -le 700; then
installRemoteModule_version=1.0.0
fi
else
installRemoteModule_version="$(resolvePeclStabilityVersion "$installRemoteModule_module" "$installRemoteModule_version")"
installRemoteModule_version=alpha
fi
fi
installRemoteModule_version="$(resolvePeclStabilityVersion "$installRemoteModule_module" "$installRemoteModule_version")"
case "$DISTRO" in
alpine)
if ! test -f /usr/local/include/zookeeper/zookeeper.h; then