bug fix: apache vhost config

This commit is contained in:
usmannasir
2024-07-09 15:53:02 +05:00
parent 846341bfe2
commit 10b66df48e
2 changed files with 3 additions and 1 deletions

View File

@@ -546,6 +546,8 @@ class ApacheVhost:
finalConfPath = ApacheVhost.DecidePHPPath(php, virtualHostName)
logging.writeToFile(f'apache php final path: {finalConfPath}')
confFile = open(finalConfPath, "w+")
currentConf = vhostConfs.phpFpmPool
currentConf = currentConf.replace('{www}', externalApp)

View File

@@ -3214,7 +3214,7 @@ pm.max_spare_servers = 3
[php74default]
user = www-data
group = www-data
listen ={sockPath}php7.3-fpm.sock
listen ={sockPath}php7.4-fpm.sock
listen.owner = www-data
listen.group = www-data
pm = dynamic