Fix installing zstd on PHP 5.x (#664)

pull/661/head 1.5.48
Michele Locati 2022-11-24 14:02:19 +01:00 committed by GitHub
parent 1ce733079d
commit ef69c94206
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -3559,6 +3559,13 @@ installRemoteModule() {
;;
esac
;;
zstd)
if test -z "$installRemoteModule_version"; then
if test $PHP_MAJMIN_VERSION -le 506; then
installRemoteModule_version=0.11.0
fi
fi
;;
esac
if test $installRemoteModule_manuallyInstalled -eq 0; then
if test -n "$installRemoteModule_path"; then