mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-08 14:26:16 +01:00
bug fix: apache vhost config
This commit is contained in:
@@ -546,6 +546,8 @@ class ApacheVhost:
|
|||||||
|
|
||||||
finalConfPath = ApacheVhost.DecidePHPPath(php, virtualHostName)
|
finalConfPath = ApacheVhost.DecidePHPPath(php, virtualHostName)
|
||||||
|
|
||||||
|
logging.writeToFile(f'apache php final path: {finalConfPath}')
|
||||||
|
|
||||||
confFile = open(finalConfPath, "w+")
|
confFile = open(finalConfPath, "w+")
|
||||||
currentConf = vhostConfs.phpFpmPool
|
currentConf = vhostConfs.phpFpmPool
|
||||||
currentConf = currentConf.replace('{www}', externalApp)
|
currentConf = currentConf.replace('{www}', externalApp)
|
||||||
|
|||||||
@@ -3214,7 +3214,7 @@ pm.max_spare_servers = 3
|
|||||||
[php74default]
|
[php74default]
|
||||||
user = www-data
|
user = www-data
|
||||||
group = www-data
|
group = www-data
|
||||||
listen ={sockPath}php7.3-fpm.sock
|
listen ={sockPath}php7.4-fpm.sock
|
||||||
listen.owner = www-data
|
listen.owner = www-data
|
||||||
listen.group = www-data
|
listen.group = www-data
|
||||||
pm = dynamic
|
pm = dynamic
|
||||||
|
|||||||
Reference in New Issue
Block a user