diff --git a/plogical/upgrade.py b/plogical/upgrade.py index 752a16b88..844614802 100755 --- a/plogical/upgrade.py +++ b/plogical/upgrade.py @@ -2142,12 +2142,26 @@ failovermethod=priority Upgrade.upgradeVersion() Upgrade.UpdateMaxSSLCons() + ## Update LSCPD PHP + + phpPath = '/usr/local/lscp/fcgi-bin/lsphp' + + try: + os.remove(phpPath) + except: + pass + + command = 'cp /usr/local/lsws/lsphp73/bin/lsphp %s' % (phpPath) + Upgrade.executioner(command, 0) + + try: command = "systemctl start lscpd" Upgrade.executioner(command, 'Start LSCPD', 0) except: pass + command = 'csf -uf' Upgrade.executioner(command, 'fix csf if there', 0) command = 'systemctl start cpssh'