mirror of
https://github.com/QYG2297248353/appstore-1panel.git
synced 2024-11-10 18:06:56 +08:00
feat: PHP 扩展选项默认增加 imagick (#168)
This commit is contained in:
parent
596d533708
commit
f05ec04cad
@ -121,6 +121,10 @@
|
||||
{
|
||||
"label": "sg11",
|
||||
"value": "sourceguardian"
|
||||
},
|
||||
{
|
||||
"label": "imagick",
|
||||
"value": "imagick"
|
||||
}
|
||||
],
|
||||
"envKey": "PHP_EXTENSIONS",
|
||||
|
@ -83,6 +83,11 @@ if [[ -z "${EXTENSIONS##*,imagick,*}" ]]; then
|
||||
echo "---------- Install imagick ----------"
|
||||
install-php-extensions imagick
|
||||
fi
|
||||
|
||||
if [[ -z "${EXTENSIONS##*,sourceguardian,*}" ]]; then
|
||||
echo "---------- Install sourceguardian ----------"
|
||||
install-php-extensions sourceguardian
|
||||
fi
|
||||
# end
|
||||
|
||||
|
||||
|
@ -121,6 +121,10 @@
|
||||
{
|
||||
"label": "sg11",
|
||||
"value": "sourceguardian"
|
||||
},
|
||||
{
|
||||
"label": "imagick",
|
||||
"value": "imagick"
|
||||
}
|
||||
],
|
||||
"envKey": "PHP_EXTENSIONS",
|
||||
|
@ -83,6 +83,11 @@ if [[ -z "${EXTENSIONS##*,imagick,*}" ]]; then
|
||||
echo "---------- Install imagick ----------"
|
||||
install-php-extensions imagick
|
||||
fi
|
||||
|
||||
if [[ -z "${EXTENSIONS##*,sourceguardian,*}" ]]; then
|
||||
echo "---------- Install sourceguardian ----------"
|
||||
install-php-extensions sourceguardian
|
||||
fi
|
||||
# end
|
||||
|
||||
|
||||
|
@ -121,6 +121,10 @@
|
||||
{
|
||||
"label": "sg11",
|
||||
"value": "sourceguardian"
|
||||
},
|
||||
{
|
||||
"label": "imagick",
|
||||
"value": "imagick"
|
||||
}
|
||||
],
|
||||
"envKey": "PHP_EXTENSIONS",
|
||||
|
@ -83,8 +83,12 @@ if [[ -z "${EXTENSIONS##*,imagick,*}" ]]; then
|
||||
echo "---------- Install imagick ----------"
|
||||
install-php-extensions imagick
|
||||
fi
|
||||
# end
|
||||
|
||||
if [[ -z "${EXTENSIONS##*,sourceguardian,*}" ]]; then
|
||||
echo "---------- Install sourceguardian ----------"
|
||||
install-php-extensions sourceguardian
|
||||
fi
|
||||
# end
|
||||
|
||||
if [[ -z "${EXTENSIONS##*,pdo_mysql,*}" ]]; then
|
||||
echo "---------- Install pdo_mysql ----------"
|
||||
|
@ -121,6 +121,10 @@
|
||||
{
|
||||
"label": "sg11",
|
||||
"value": "sourceguardian"
|
||||
},
|
||||
{
|
||||
"label": "imagick",
|
||||
"value": "imagick"
|
||||
}
|
||||
],
|
||||
"envKey": "PHP_EXTENSIONS",
|
||||
|
@ -83,6 +83,11 @@ if [[ -z "${EXTENSIONS##*,imagick,*}" ]]; then
|
||||
echo "---------- Install imagick ----------"
|
||||
install-php-extensions imagick
|
||||
fi
|
||||
|
||||
if [[ -z "${EXTENSIONS##*,sourceguardian,*}" ]]; then
|
||||
echo "---------- Install sourceguardian ----------"
|
||||
install-php-extensions sourceguardian
|
||||
fi
|
||||
# end
|
||||
|
||||
|
||||
|
@ -121,6 +121,10 @@
|
||||
{
|
||||
"label": "sg11",
|
||||
"value": "sourceguardian"
|
||||
},
|
||||
{
|
||||
"label": "imagick",
|
||||
"value": "imagick"
|
||||
}
|
||||
],
|
||||
"envKey": "PHP_EXTENSIONS",
|
||||
|
@ -83,6 +83,11 @@ if [[ -z "${EXTENSIONS##*,imagick,*}" ]]; then
|
||||
echo "---------- Install imagick ----------"
|
||||
install-php-extensions imagick
|
||||
fi
|
||||
|
||||
if [[ -z "${EXTENSIONS##*,sourceguardian,*}" ]]; then
|
||||
echo "---------- Install sourceguardian ----------"
|
||||
install-php-extensions sourceguardian
|
||||
fi
|
||||
# end
|
||||
|
||||
|
||||
|
@ -117,6 +117,10 @@
|
||||
{
|
||||
"label": "sg11",
|
||||
"value": "sourceguardian"
|
||||
},
|
||||
{
|
||||
"label": "imagick",
|
||||
"value": "imagick"
|
||||
}
|
||||
],
|
||||
"envKey": "PHP_EXTENSIONS",
|
||||
|
@ -72,6 +72,23 @@ installExtensionFromTgz()
|
||||
docker-php-ext-enable ${extensionName}
|
||||
}
|
||||
|
||||
# install use install-php-extensions
|
||||
if [[ -z "${EXTENSIONS##*,ioncube_loader,*}" ]]; then
|
||||
echo "---------- Install ioncube_loader ----------"
|
||||
install-php-extensions ioncube_loader
|
||||
fi
|
||||
|
||||
if [[ -z "${EXTENSIONS##*,imagick,*}" ]]; then
|
||||
echo "---------- Install imagick ----------"
|
||||
install-php-extensions imagick
|
||||
fi
|
||||
|
||||
if [[ -z "${EXTENSIONS##*,sourceguardian,*}" ]]; then
|
||||
echo "---------- Install sourceguardian ----------"
|
||||
install-php-extensions sourceguardian
|
||||
fi
|
||||
# end
|
||||
|
||||
|
||||
if [[ -z "${EXTENSIONS##*,pdo_mysql,*}" ]]; then
|
||||
echo "---------- Install pdo_mysql ----------"
|
||||
@ -208,16 +225,6 @@ if [[ -z "${EXTENSIONS##*,hprose,*}" ]]; then
|
||||
docker-php-ext-enable hprose
|
||||
fi
|
||||
|
||||
if [[ -z "${EXTENSIONS##*,ioncube_loader,*}" ]]; then
|
||||
echo "---------- Install ioncube_loader ----------"
|
||||
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
|
||||
|
@ -117,6 +117,10 @@
|
||||
{
|
||||
"label": "sg11",
|
||||
"value": "sourceguardian"
|
||||
},
|
||||
{
|
||||
"label": "imagick",
|
||||
"value": "imagick"
|
||||
}
|
||||
],
|
||||
"envKey": "PHP_EXTENSIONS",
|
||||
|
@ -73,6 +73,24 @@ installExtensionFromTgz()
|
||||
}
|
||||
|
||||
|
||||
# install use install-php-extensions
|
||||
if [[ -z "${EXTENSIONS##*,ioncube_loader,*}" ]]; then
|
||||
echo "---------- Install ioncube_loader ----------"
|
||||
install-php-extensions ioncube_loader
|
||||
fi
|
||||
|
||||
if [[ -z "${EXTENSIONS##*,imagick,*}" ]]; then
|
||||
echo "---------- Install imagick ----------"
|
||||
install-php-extensions imagick
|
||||
fi
|
||||
|
||||
if [[ -z "${EXTENSIONS##*,sourceguardian,*}" ]]; then
|
||||
echo "---------- Install sourceguardian ----------"
|
||||
install-php-extensions sourceguardian
|
||||
fi
|
||||
# end
|
||||
|
||||
|
||||
if [[ -z "${EXTENSIONS##*,pdo_mysql,*}" ]]; then
|
||||
echo "---------- Install pdo_mysql ----------"
|
||||
docker-php-ext-install ${MC} pdo_mysql
|
||||
@ -208,16 +226,6 @@ if [[ -z "${EXTENSIONS##*,hprose,*}" ]]; then
|
||||
docker-php-ext-enable hprose
|
||||
fi
|
||||
|
||||
if [[ -z "${EXTENSIONS##*,ioncube_loader,*}" ]]; then
|
||||
echo "---------- Install ioncube_loader ----------"
|
||||
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
|
||||
|
@ -117,6 +117,10 @@
|
||||
{
|
||||
"label": "sg11",
|
||||
"value": "sourceguardian"
|
||||
},
|
||||
{
|
||||
"label": "imagick",
|
||||
"value": "imagick"
|
||||
}
|
||||
],
|
||||
"envKey": "PHP_EXTENSIONS",
|
||||
|
@ -72,6 +72,23 @@ installExtensionFromTgz()
|
||||
docker-php-ext-enable ${extensionName}
|
||||
}
|
||||
|
||||
# install use install-php-extensions
|
||||
if [[ -z "${EXTENSIONS##*,ioncube_loader,*}" ]]; then
|
||||
echo "---------- Install ioncube_loader ----------"
|
||||
install-php-extensions ioncube_loader
|
||||
fi
|
||||
|
||||
if [[ -z "${EXTENSIONS##*,imagick,*}" ]]; then
|
||||
echo "---------- Install imagick ----------"
|
||||
install-php-extensions imagick
|
||||
fi
|
||||
|
||||
if [[ -z "${EXTENSIONS##*,sourceguardian,*}" ]]; then
|
||||
echo "---------- Install sourceguardian ----------"
|
||||
install-php-extensions sourceguardian
|
||||
fi
|
||||
# end
|
||||
|
||||
|
||||
if [[ -z "${EXTENSIONS##*,pdo_mysql,*}" ]]; then
|
||||
echo "---------- Install pdo_mysql ----------"
|
||||
@ -208,16 +225,6 @@ if [[ -z "${EXTENSIONS##*,hprose,*}" ]]; then
|
||||
docker-php-ext-enable hprose
|
||||
fi
|
||||
|
||||
if [[ -z "${EXTENSIONS##*,ioncube_loader,*}" ]]; then
|
||||
echo "---------- Install ioncube_loader ----------"
|
||||
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
Block a user