fix: 解决 PHP 安装 imagick 失败的问题 (#138)
This commit is contained in:
parent
a2de0bfbc8
commit
f7481e5a99
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue