This commit is contained in:
Mr Chen
2025-01-04 02:37:28 +08:00
parent 08a41f039b
commit 809c9ea237
6 changed files with 127 additions and 7 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ def getFpmConfFile(version):
def getPhpSocket(version):
path = getFpmConfFile(version)
content = mw.readFile(path)
rep = 'listen\s*=\s*(.*)'
rep = r'listen\s*=\s*(.*)'
tmp = re.search(rep, content)
return tmp.groups()[0].strip()