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