This commit is contained in:
midoks
2022-11-19 17:42:59 +08:00
parent 60b25cd35b
commit abd8fecbf2
4 changed files with 53 additions and 13 deletions
+5 -4
View File
@@ -61,6 +61,11 @@ fi
cd ${curPath} && sh -x $curPath/versions/$2/install.sh $1
if [ "${action}" == "install" ] && [ -d ${serverPath}/php-yum/${type} ];then
#初始化
cd ${rootPath} && python3 ${rootPath}/plugins/php-yum/index.py start ${type}
cd ${rootPath} && python3 ${rootPath}/plugins/php-yum/index.py initd_install ${type}
# 安装通用扩展
echo "install PHP-YUM[${type}] extend start"
cd ${rootPath}/plugins/php-yum/versions && bash common.sh ${type} install gd
@@ -73,10 +78,6 @@ if [ "${action}" == "install" ] && [ -d ${serverPath}/php-yum/${type} ];then
cd ${rootPath}/plugins/php-yum/versions && bash common.sh ${type} install redis
cd ${rootPath}/plugins/php-yum/versions && bash common.sh ${type} install memcached
echo "install PHP-YUM[${type}] extend end"
#初始化
cd ${rootPath} && python3 ${rootPath}/plugins/php-yum/index.py start ${type}
cd ${rootPath} && python3 ${rootPath}/plugins/php-yum/index.py initd_install ${type}
fi