bug fix: upgrade mautic version and fix installation issues

This commit is contained in:
usman@cyberpersons.com
2023-08-10 12:26:06 +05:00
parent b3726e7b53
commit db8903bcf5
4 changed files with 42 additions and 4 deletions

View File

@@ -4252,6 +4252,15 @@ StrictHostKeyChecking no
else:
return ACLManager.loadErrorJson('installStatus', 0)
#### Before installing mautic change php to 8.0
completePathToConfigFile = f'/usr/local/lsws/conf/vhosts/{self.domain}/vhost.conf'
execPath = "/usr/local/CyberCP/bin/python " + virtualHostUtilities.cyberPanel + "/plogical/virtualHostUtilities.py"
execPath = execPath + " changePHP --phpVersion 'PHP 8.0' --path " + completePathToConfigFile
ProcessUtilities.executioner(execPath)
mailUtilities.checkHome()
extraArgs = {}