fix: 解决 PHP 安装 imagick 失败的问题 (#138)

This commit is contained in:
zhengkunwang223 2023-06-05 15:24:21 +08:00 committed by GitHub
parent 7490d78a81
commit 8de035662c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 66 additions and 11 deletions

View File

@ -211,7 +211,12 @@ fi
if [[ -z "${EXTENSIONS##*,ioncube_loader,*}" ]]; then if [[ -z "${EXTENSIONS##*,ioncube_loader,*}" ]]; then
echo "---------- Install ioncube_loader ----------" echo "---------- Install ioncube_loader ----------"
install-php-extensions ioncube_loader install-php-extensions ioncube_loader
fi
if [[ -z "${EXTENSIONS##*,imagick,*}" ]]; then
echo "---------- Install imagick ----------"
install-php-extensions imagick
fi fi
if [[ -z "${EXTENSIONS##*,gd,*}" ]]; then if [[ -z "${EXTENSIONS##*,gd,*}" ]]; then

View File

@ -211,7 +211,12 @@ fi
if [[ -z "${EXTENSIONS##*,ioncube_loader,*}" ]]; then if [[ -z "${EXTENSIONS##*,ioncube_loader,*}" ]]; then
echo "---------- Install ioncube_loader ----------" echo "---------- Install ioncube_loader ----------"
install-php-extensions ioncube_loader install-php-extensions ioncube_loader
fi
if [[ -z "${EXTENSIONS##*,imagick,*}" ]]; then
echo "---------- Install imagick ----------"
install-php-extensions imagick
fi fi
if [[ -z "${EXTENSIONS##*,gd,*}" ]]; then if [[ -z "${EXTENSIONS##*,gd,*}" ]]; then

View File

@ -211,7 +211,12 @@ fi
if [[ -z "${EXTENSIONS##*,ioncube_loader,*}" ]]; then if [[ -z "${EXTENSIONS##*,ioncube_loader,*}" ]]; then
echo "---------- Install ioncube_loader ----------" echo "---------- Install ioncube_loader ----------"
install-php-extensions ioncube_loader install-php-extensions ioncube_loader
fi
if [[ -z "${EXTENSIONS##*,imagick,*}" ]]; then
echo "---------- Install imagick ----------"
install-php-extensions imagick
fi fi
if [[ -z "${EXTENSIONS##*,gd,*}" ]]; then if [[ -z "${EXTENSIONS##*,gd,*}" ]]; then

View File

@ -210,7 +210,12 @@ fi
if [[ -z "${EXTENSIONS##*,ioncube_loader,*}" ]]; then if [[ -z "${EXTENSIONS##*,ioncube_loader,*}" ]]; then
echo "---------- Install ioncube_loader ----------" echo "---------- Install ioncube_loader ----------"
install-php-extensions ioncube_loader install-php-extensions ioncube_loader
fi
if [[ -z "${EXTENSIONS##*,imagick,*}" ]]; then
echo "---------- Install imagick ----------"
install-php-extensions imagick
fi fi
if [[ -z "${EXTENSIONS##*,gd,*}" ]]; then if [[ -z "${EXTENSIONS##*,gd,*}" ]]; then

View File

@ -210,7 +210,12 @@ fi
if [[ -z "${EXTENSIONS##*,ioncube_loader,*}" ]]; then if [[ -z "${EXTENSIONS##*,ioncube_loader,*}" ]]; then
echo "---------- Install ioncube_loader ----------" echo "---------- Install ioncube_loader ----------"
install-php-extensions ioncube_loader install-php-extensions ioncube_loader
fi
if [[ -z "${EXTENSIONS##*,imagick,*}" ]]; then
echo "---------- Install imagick ----------"
install-php-extensions imagick
fi fi
if [[ -z "${EXTENSIONS##*,gd,*}" ]]; then if [[ -z "${EXTENSIONS##*,gd,*}" ]]; then

View File

@ -210,7 +210,12 @@ fi
if [[ -z "${EXTENSIONS##*,ioncube_loader,*}" ]]; then if [[ -z "${EXTENSIONS##*,ioncube_loader,*}" ]]; then
echo "---------- Install ioncube_loader ----------" echo "---------- Install ioncube_loader ----------"
install-php-extensions ioncube_loader install-php-extensions ioncube_loader
fi
if [[ -z "${EXTENSIONS##*,imagick,*}" ]]; then
echo "---------- Install imagick ----------"
install-php-extensions imagick
fi fi
if [[ -z "${EXTENSIONS##*,gd,*}" ]]; then if [[ -z "${EXTENSIONS##*,gd,*}" ]]; then

View File

@ -210,7 +210,12 @@ fi
if [[ -z "${EXTENSIONS##*,ioncube_loader,*}" ]]; then if [[ -z "${EXTENSIONS##*,ioncube_loader,*}" ]]; then
echo "---------- Install ioncube_loader ----------" echo "---------- Install ioncube_loader ----------"
install-php-extensions ioncube_loader install-php-extensions ioncube_loader
fi
if [[ -z "${EXTENSIONS##*,imagick,*}" ]]; then
echo "---------- Install imagick ----------"
install-php-extensions imagick
fi fi
if [[ -z "${EXTENSIONS##*,gd,*}" ]]; then if [[ -z "${EXTENSIONS##*,gd,*}" ]]; then

View File

@ -210,7 +210,12 @@ fi
if [[ -z "${EXTENSIONS##*,ioncube_loader,*}" ]]; then if [[ -z "${EXTENSIONS##*,ioncube_loader,*}" ]]; then
echo "---------- Install ioncube_loader ----------" echo "---------- Install ioncube_loader ----------"
install-php-extensions ioncube_loader install-php-extensions ioncube_loader
fi
if [[ -z "${EXTENSIONS##*,imagick,*}" ]]; then
echo "---------- Install imagick ----------"
install-php-extensions imagick
fi fi
if [[ -z "${EXTENSIONS##*,gd,*}" ]]; then if [[ -z "${EXTENSIONS##*,gd,*}" ]]; then

View File

@ -210,7 +210,12 @@ fi
if [[ -z "${EXTENSIONS##*,ioncube_loader,*}" ]]; then if [[ -z "${EXTENSIONS##*,ioncube_loader,*}" ]]; then
echo "---------- Install ioncube_loader ----------" echo "---------- Install ioncube_loader ----------"
install-php-extensions ioncube_loader install-php-extensions ioncube_loader
fi
if [[ -z "${EXTENSIONS##*,imagick,*}" ]]; then
echo "---------- Install imagick ----------"
install-php-extensions imagick
fi fi
if [[ -z "${EXTENSIONS##*,gd,*}" ]]; then if [[ -z "${EXTENSIONS##*,gd,*}" ]]; then

View File

@ -210,7 +210,12 @@ fi
if [[ -z "${EXTENSIONS##*,ioncube_loader,*}" ]]; then if [[ -z "${EXTENSIONS##*,ioncube_loader,*}" ]]; then
echo "---------- Install ioncube_loader ----------" echo "---------- Install ioncube_loader ----------"
install-php-extensions ioncube_loader install-php-extensions ioncube_loader
fi
if [[ -z "${EXTENSIONS##*,imagick,*}" ]]; then
echo "---------- Install imagick ----------"
install-php-extensions imagick
fi fi
if [[ -z "${EXTENSIONS##*,gd,*}" ]]; then if [[ -z "${EXTENSIONS##*,gd,*}" ]]; then

View File

@ -210,7 +210,12 @@ fi
if [[ -z "${EXTENSIONS##*,ioncube_loader,*}" ]]; then if [[ -z "${EXTENSIONS##*,ioncube_loader,*}" ]]; then
echo "---------- Install ioncube_loader ----------" echo "---------- Install ioncube_loader ----------"
install-php-extensions ioncube_loader install-php-extensions ioncube_loader
fi
if [[ -z "${EXTENSIONS##*,imagick,*}" ]]; then
echo "---------- Install imagick ----------"
install-php-extensions imagick
fi fi
if [[ -z "${EXTENSIONS##*,gd,*}" ]]; then if [[ -z "${EXTENSIONS##*,gd,*}" ]]; then