Update install.sh

This commit is contained in:
midoks 2023-01-09 14:33:15 +08:00
parent 1ecf12ab5c
commit 73b4be90f5
1 changed files with 2 additions and 0 deletions

View File

@ -82,6 +82,8 @@ if [ "${action}" == "install" ] && [ -d ${serverPath}/php-yum/${type} ];then
cd ${rootPath}/plugins/php-yum/versions && bash common.sh ${type} install mbstring
echo "install PHP-YUM[${type}] extend end"
cd ${rootPath} && python3 ${rootPath}/plugins/php-yum/index.py restart ${type}
if [ ! -f /usr/local/bin/composer ];then
cd /tmp
curl -sS https://getcomposer.org/installer | php