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):