update mautic to mautic 5 and php 8.1

This commit is contained in:
usmannasir
2024-01-16 12:56:24 +05:00
parent e270edaebd
commit 6ee19f0001
2 changed files with 5 additions and 5 deletions

View File

@@ -4347,12 +4347,12 @@ StrictHostKeyChecking no
else:
return ACLManager.loadErrorJson('installStatus', 0)
#### Before installing mautic change php to 8.0
#### Before installing mautic change php to 8.1
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
execPath = execPath + " changePHP --phpVersion 'PHP 8.1' --path " + completePathToConfigFile
ProcessUtilities.executioner(execPath)
mailUtilities.checkHome()