From 5d8c320b81516eecc8a15af4a8e18756bffe4112 Mon Sep 17 00:00:00 2001 From: midoks Date: Sun, 3 Jul 2022 18:54:19 +0800 Subject: [PATCH] Update index.py --- plugins/php/index.py | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/plugins/php/index.py b/plugins/php/index.py index 010114d3e..5d81adbea 100755 --- a/plugins/php/index.py +++ b/plugins/php/index.py @@ -287,7 +287,14 @@ def start(version): def stop(version): - return phpOp(version, 'stop') + status = phpOp(version, 'stop') + + if version == '52': + file = initReplace(version) + data = mw.execShell(file + ' ' + 'stop') + if data[1] == '': + return 'ok' + return status def restart(version):