From 17f2e7692b75195a5f10be68e4e00eb847d6fb0e Mon Sep 17 00:00:00 2001 From: midoks Date: Thu, 7 Jul 2022 15:49:44 +0800 Subject: [PATCH] up --- plugins/php/index.html | 2 +- plugins/php/index.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/plugins/php/index.html b/plugins/php/index.html index 7995b5c98..05dd0c4ac 100755 --- a/plugins/php/index.html +++ b/plugins/php/index.html @@ -9,7 +9,7 @@

上传限制

超时限制

配置文件

-

FPM配置

+

FPM配置

禁用函数

性能调整

负载状况

diff --git a/plugins/php/index.py b/plugins/php/index.py index 98af7b885..cd7875db6 100755 --- a/plugins/php/index.py +++ b/plugins/php/index.py @@ -204,7 +204,7 @@ def phpFpmWwwReplace(version): mw.writeFile(service_php_fpmwww, content) -def getFpmConf(version): +def getFpmConfFile(version): return getServerDir() + '/' + version + '/etc/php-fpm.d/www.conf' @@ -766,8 +766,8 @@ if __name__ == "__main__": print(getConfAppStart()) elif func == 'get_php_conf': print(getPhpConf(version)) - elif func == 'get_fpm_conf': - print(getFpmConf(version)) + elif func == 'get_fpm_conf_file': + print(getFpmConfFile(version)) elif func == 'submit_php_conf': print(submitPhpConf(version)) elif func == 'get_limit_conf':