diff --git a/plugins/php-yum/index.py b/plugins/php-yum/index.py index 71a25b570..5141024ee 100755 --- a/plugins/php-yum/index.py +++ b/plugins/php-yum/index.py @@ -137,7 +137,7 @@ def makeOpenrestyConf(version): tpl_content = mw.readFile(tpl) dfile = sdir + '/web_conf/php/conf/enable-php-yum' + version + '.conf' if not os.path.exists(dfile): - w_content = contentReplace(tpl_content, x) + w_content = contentReplace(tpl_content, version) mw.writeFile(dfile, w_content) # php-fpm status