diff --git a/install/installCyberPanel.py b/install/installCyberPanel.py index 533808973..17c91439a 100755 --- a/install/installCyberPanel.py +++ b/install/installCyberPanel.py @@ -260,6 +260,9 @@ class InstallCyberPanel: command = 'DEBIAN_FRONTEND=noninteractive apt-get -y install lsphp82*' os.system(command) + command = 'DEBIAN_FRONTEND=noninteractive apt-get -y install lsphp83*' + os.system(command) + elif self.distro == centos: command = 'yum -y groupinstall lsphp-all' install.preFlightsChecks.call(command, self.distro, command, command, 1, 1, os.EX_OSERR) @@ -293,15 +296,21 @@ class InstallCyberPanel: command = 'yum install lsphp81* -y --skip-broken' subprocess.call(command, shell=True) + command = 'yum install lsphp82* -y --skip-broken' + subprocess.call(command, shell=True) + + command = 'yum install lsphp83* -y --skip-broken' + subprocess.call(command, shell=True) + if self.distro == cent8: command = 'dnf install lsphp71* lsphp72* lsphp73* lsphp74* lsphp80* --exclude lsphp73-pecl-zip --exclude *imagick* -y --skip-broken' subprocess.call(command, shell=True) - command = 'dnf install lsphp81* lsphp82* --exclude *imagick* -y --skip-broken' + command = 'dnf install lsphp81* lsphp82* lsphp83* --exclude *imagick* -y --skip-broken' subprocess.call(command, shell=True) if self.distro == openeuler: - command = 'dnf install lsphp71* lsphp72* lsphp73* lsphp74* lsphp80* -y' + command = 'dnf install lsphp71* lsphp72* lsphp73* lsphp74* lsphp80* lsphp81* lsphp82* lsphp83* -y' subprocess.call(command, shell=True) def installMySQL(self, mysql): diff --git a/plogical/upgrade.py b/plogical/upgrade.py index abd7f4a6f..79f204614 100755 --- a/plogical/upgrade.py +++ b/plogical/upgrade.py @@ -2682,6 +2682,9 @@ echo $oConfig->Save() ? 'Done' : 'Error'; command = 'yum install lsphp82* -y' subprocess.call(command, shell=True) + command = 'yum install lsphp83* -y' + subprocess.call(command, shell=True) + except: command = 'DEBIAN_FRONTEND=noninteractive apt-get -y install ' \ 'lsphp7? lsphp7?-common lsphp7?-curl lsphp7?-dev lsphp7?-imap lsphp7?-intl lsphp7?-json ' \ @@ -2698,6 +2701,9 @@ echo $oConfig->Save() ? 'Done' : 'Error'; command = 'DEBIAN_FRONTEND=noninteractive apt-get -y install lsphp82*' os.system(command) + command = 'DEBIAN_FRONTEND=noninteractive apt-get -y install lsphp83*' + os.system(command) + CentOSPath = '/etc/redhat-release' openEulerPath = '/etc/openEuler-release'