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