From 510d85f980ac23efee60228d89ac7753d68cc4c0 Mon Sep 17 00:00:00 2001 From: midoks Date: Wed, 29 Jun 2022 22:59:14 +0800 Subject: [PATCH] Update app.sh --- scripts/quick/app.sh | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/scripts/quick/app.sh b/scripts/quick/app.sh index f411bab40..d958cfbb7 100755 --- a/scripts/quick/app.sh +++ b/scripts/quick/app.sh @@ -28,10 +28,19 @@ else echo "php71 alreay exist!" fi + +# php +if [ ! -d /www/server/php/74 ];then + cd /www/server/mdserver-web/plugins/php && bash install.sh install 74 + cd /www/server/mdserver-web && python3 /www/server/mdserver-web/plugins/php/index.py start 74 +else + echo "php71 alreay exist!" +fi + # mysql if [ ! -d /www/server/mysql ];then - cd /www/server/mdserver-web/plugins/mysql && bash install.sh install 5.5 - cd /www/server/mdserver-web && python3 /www/server/mdserver-web/plugins/mysql/index.py start 5.5 + cd /www/server/mdserver-web/plugins/mysql && bash install.sh install 5.6 + cd /www/server/mdserver-web && python3 /www/server/mdserver-web/plugins/mysql/index.py start 5.6 else echo "mysql alreay exist!" fi