From 6d30940920e7992d40b7a01dfe129cbe4f6a925b Mon Sep 17 00:00:00 2001 From: dami Date: Thu, 7 May 2026 16:46:31 +0800 Subject: [PATCH] Update index.py --- plugins/php-apt/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/php-apt/index.py b/plugins/php-apt/index.py index e70b07998..15b55f878 100755 --- a/plugins/php-apt/index.py +++ b/plugins/php-apt/index.py @@ -81,7 +81,7 @@ def status(version): # if data[0] == '': # return 'stop' # return 'start' - sock_file = "/run/php/php${version:0:1}.${version:1:2}-fpm.sock" + sock_file = "/run/php/php${version}-fpm.sock" if os.path.exists(sock_file): return 'start' return 'stop'