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

@ -214,6 +214,11 @@ if [[ -z "${EXTENSIONS##*,ioncube_loader,*}" ]]; then
install-php-extensions ioncube_loader
fi
if [[ -z "${EXTENSIONS##*,imagick,*}" ]]; then
echo "---------- Install imagick ----------"
install-php-extensions imagick
fi
if [[ -z "${EXTENSIONS##*,gd,*}" ]]; then
echo "---------- Install gd ----------"
isPhpVersionGreaterOrEqual 7 4

View File

@ -214,6 +214,11 @@ if [[ -z "${EXTENSIONS##*,ioncube_loader,*}" ]]; then
install-php-extensions ioncube_loader
fi
if [[ -z "${EXTENSIONS##*,imagick,*}" ]]; then
echo "---------- Install imagick ----------"
install-php-extensions imagick
fi
if [[ -z "${EXTENSIONS##*,gd,*}" ]]; then
echo "---------- Install gd ----------"
isPhpVersionGreaterOrEqual 7 4

View File

@ -214,6 +214,11 @@ if [[ -z "${EXTENSIONS##*,ioncube_loader,*}" ]]; then
install-php-extensions ioncube_loader
fi
if [[ -z "${EXTENSIONS##*,imagick,*}" ]]; then
echo "---------- Install imagick ----------"
install-php-extensions imagick
fi
if [[ -z "${EXTENSIONS##*,gd,*}" ]]; then
echo "---------- Install gd ----------"
isPhpVersionGreaterOrEqual 7 4

View File

@ -213,6 +213,11 @@ if [[ -z "${EXTENSIONS##*,ioncube_loader,*}" ]]; then
install-php-extensions ioncube_loader
fi
if [[ -z "${EXTENSIONS##*,imagick,*}" ]]; then
echo "---------- Install imagick ----------"
install-php-extensions imagick
fi
if [[ -z "${EXTENSIONS##*,gd,*}" ]]; then
echo "---------- Install gd ----------"
isPhpVersionGreaterOrEqual 8 0

View File

@ -213,6 +213,11 @@ if [[ -z "${EXTENSIONS##*,ioncube_loader,*}" ]]; then
install-php-extensions ioncube_loader
fi
if [[ -z "${EXTENSIONS##*,imagick,*}" ]]; then
echo "---------- Install imagick ----------"
install-php-extensions imagick
fi
if [[ -z "${EXTENSIONS##*,gd,*}" ]]; then
echo "---------- Install gd ----------"
isPhpVersionGreaterOrEqual 8 0

View File

@ -213,6 +213,11 @@ if [[ -z "${EXTENSIONS##*,ioncube_loader,*}" ]]; then
install-php-extensions ioncube_loader
fi
if [[ -z "${EXTENSIONS##*,imagick,*}" ]]; then
echo "---------- Install imagick ----------"
install-php-extensions imagick
fi
if [[ -z "${EXTENSIONS##*,gd,*}" ]]; then
echo "---------- Install gd ----------"
isPhpVersionGreaterOrEqual 8 0

View File

@ -213,6 +213,11 @@ if [[ -z "${EXTENSIONS##*,ioncube_loader,*}" ]]; then
install-php-extensions ioncube_loader
fi
if [[ -z "${EXTENSIONS##*,imagick,*}" ]]; then
echo "---------- Install imagick ----------"
install-php-extensions imagick
fi
if [[ -z "${EXTENSIONS##*,gd,*}" ]]; then
echo "---------- Install gd ----------"
isPhpVersionGreaterOrEqual 8 0

View File

@ -213,6 +213,11 @@ if [[ -z "${EXTENSIONS##*,ioncube_loader,*}" ]]; then
install-php-extensions ioncube_loader
fi
if [[ -z "${EXTENSIONS##*,imagick,*}" ]]; then
echo "---------- Install imagick ----------"
install-php-extensions imagick
fi
if [[ -z "${EXTENSIONS##*,gd,*}" ]]; then
echo "---------- Install gd ----------"
isPhpVersionGreaterOrEqual 8 0

View File

@ -213,6 +213,11 @@ if [[ -z "${EXTENSIONS##*,ioncube_loader,*}" ]]; then
install-php-extensions ioncube_loader
fi
if [[ -z "${EXTENSIONS##*,imagick,*}" ]]; then
echo "---------- Install imagick ----------"
install-php-extensions imagick
fi
if [[ -z "${EXTENSIONS##*,gd,*}" ]]; then
echo "---------- Install gd ----------"
isPhpVersionGreaterOrEqual 8 0

View File

@ -213,6 +213,11 @@ if [[ -z "${EXTENSIONS##*,ioncube_loader,*}" ]]; then
install-php-extensions ioncube_loader
fi
if [[ -z "${EXTENSIONS##*,imagick,*}" ]]; then
echo "---------- Install imagick ----------"
install-php-extensions imagick
fi
if [[ -z "${EXTENSIONS##*,gd,*}" ]]; then
echo "---------- Install gd ----------"
isPhpVersionGreaterOrEqual 8 0

View File

@ -213,6 +213,11 @@ if [[ -z "${EXTENSIONS##*,ioncube_loader,*}" ]]; then
install-php-extensions ioncube_loader
fi
if [[ -z "${EXTENSIONS##*,imagick,*}" ]]; then
echo "---------- Install imagick ----------"
install-php-extensions imagick
fi
if [[ -z "${EXTENSIONS##*,gd,*}" ]]; then
echo "---------- Install gd ----------"
isPhpVersionGreaterOrEqual 8 0