From 692da86677c88cf43a7dff86e51b95528b4526fe Mon Sep 17 00:00:00 2001 From: midoks Date: Tue, 5 Jul 2022 09:56:36 +0800 Subject: [PATCH] Update index.py --- plugins/php/index.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/plugins/php/index.py b/plugins/php/index.py index 32e2fa25e..3325ff409 100755 --- a/plugins/php/index.py +++ b/plugins/php/index.py @@ -556,8 +556,10 @@ def checkFpmStatusFile(version): def getFpmStatus(version): - checkFpmStatusFile(version) + if version == '52': + return mw.returnJson(False, 'PHP[' + version + ']不支持!!!') + checkFpmStatusFile(version) stat = status(version) if stat == 'stop': return mw.returnJson(False, 'PHP[' + version + ']未启动!!!')