This commit is contained in:
midoks
2022-07-03 11:50:07 +08:00
parent f42d1b9d26
commit 0f57cb7357
3 changed files with 8 additions and 3 deletions
+1
View File
@@ -185,6 +185,7 @@ def phpFpmReplace(version):
mw.writeFile(desc_php_fpm, content)
else:
if version == '52':
os.makedirs(getServerDir() + '/php/' + version + '/var/log')
tpl_php_fpm = tpl_php_fpm = getPluginDir() + '/conf/php-fpm-52.conf'
content = mw.readFile(tpl_php_fpm)
mw.writeFile(desc_php_fpm, content)