Fix installing ast on PHP 7.1- (#624)

pull/629/head 1.5.37
Michele Locati 2022-08-10 08:35:03 +02:00 committed by GitHub
parent 05ddea7f49
commit c32c1b259c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions

View File

@ -2442,6 +2442,13 @@ installRemoteModule() {
# apcu_bc must be loaded after apcu # apcu_bc must be loaded after apcu
installRemoteModule_ini_basename="xx-php-ext-$installRemoteModule_module" installRemoteModule_ini_basename="xx-php-ext-$installRemoteModule_module"
;; ;;
ast)
if test -z "$installRemoteModule_version"; then
if test $PHP_MAJMIN_VERSION -le 701; then
installRemoteModule_version=1.0.16
fi
fi
;;
blackfire) blackfire)
case $(uname -m) in case $(uname -m) in
i386 | i686 | x86) i386 | i686 | x86)