This commit is contained in:
Mr Chen
2024-11-27 00:17:57 +08:00
parent 3305e51fda
commit b8161b86d2
2 changed files with 2 additions and 1 deletions
+2
View File
@@ -86,6 +86,8 @@ fi
cd ${curPath} && sh -x $curPath/versions/$2/install.sh $1
if [ "${action}" == "install" ] && [ -d ${serverPath}/php-apt/${type} ];then
apt update -y
#初始化
cd ${rootPath} && python3 ${rootPath}/plugins/php-apt/index.py start ${type}
cd ${rootPath} && python3 ${rootPath}/plugins/php-apt/index.py restart ${type}
-1
View File
@@ -21,7 +21,6 @@ PHP_VER=84
Install_php()
{
apt update -y
#------------------------ install start ------------------------------------#
apt -y install php${version} php${version}-fpm php${version}-dev
if [ "$?" == "0" ];then