mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 01:29:26 +08:00
update
This commit is contained in:
@@ -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}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user