From c1574f34305c6faf6a7a8c6a8f6405107f7d79f8 Mon Sep 17 00:00:00 2001 From: midoks Date: Sat, 3 Dec 2022 15:56:58 +0800 Subject: [PATCH] up --- plugins/php/versions/common/memcache.sh | 11 +++++++---- plugins/php/versions/phplib.conf | 10 +++++++++- tools.py | 1 + 3 files changed, 17 insertions(+), 5 deletions(-) diff --git a/plugins/php/versions/common/memcache.sh b/plugins/php/versions/common/memcache.sh index 839d678a9..6b845155c 100755 --- a/plugins/php/versions/common/memcache.sh +++ b/plugins/php/versions/common/memcache.sh @@ -17,10 +17,13 @@ sysName=`uname` actionType=$1 version=$2 -if [ "$version" -gt "56" ];then - echo "not need" - exit 1 -fi +if [ "$version" -gt "56" ] && [ "$version" -lt "80" ];then + LIBV=4.0.5.2 +fi + +if [ "$version" -gt "74" ];then + LIBV=8.0 +fi LIB_PATH_NAME=lib/php diff --git a/plugins/php/versions/phplib.conf b/plugins/php/versions/phplib.conf index eb4badb86..32c15e635 100755 --- a/plugins/php/versions/phplib.conf +++ b/plugins/php/versions/phplib.conf @@ -314,7 +314,15 @@ "53", "54", "55", - "56" + "56", + "70", + "71", + "72", + "73", + "74", + "80", + "81", + "82" ], "type": "缓存器", "msg": "强大的内容缓存器,不支持集群", diff --git a/tools.py b/tools.py index 64752dba4..6f60765e5 100755 --- a/tools.py +++ b/tools.py @@ -110,6 +110,7 @@ def mwcli(mw_input=0): os.remove(basic_auth) os.system(INIT_CMD + " restart") print("|-关闭basic_auth成功") + elif mw_input == 21: bind_domain = 'data/bind_domain.pl' if os.path.exists(bind_domain): os.remove(bind_domain)