From 3fb8406e7b92da660d416355c785108869822d17 Mon Sep 17 00:00:00 2001 From: dami Date: Thu, 7 May 2026 16:53:30 +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 15b55f878..e407821b5 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}-fpm.sock" + sock_file = "/run/php/php{}-fpm.sock".format(version) if os.path.exists(sock_file): return 'start' return 'stop'