diff --git a/plugins/php-yum/index.py b/plugins/php-yum/index.py index 103f0ca53..34c0f877e 100755 --- a/plugins/php-yum/index.py +++ b/plugins/php-yum/index.py @@ -419,7 +419,8 @@ def setFpmConfig(version): max_spare_servers = args['max_spare_servers'] pm = args['pm'] - file = getServerDir() + '/php' + version + '/php-fpm.d/www.conf' + # file = getServerDir() + '/php' + version + '/php-fpm.d/www.conf' + file = getFpmConfFile(version) conf = mw.readFile(file) rep = "\s*pm.max_children\s*=\s*([0-9]+)\s*"