Usman Nasir
2021-12-25 12:40:45 +05:00
parent c7071a1a50
commit 6dbcc6ace7
3 changed files with 17 additions and 4 deletions

View File

@@ -200,6 +200,9 @@ class InstallCyberPanel:
command = 'DEBIAN_FRONTEND=noninteractive apt-get -y install lsphp80*'
os.system(command)
command = 'DEBIAN_FRONTEND=noninteractive apt-get -y install lsphp81*'
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)
@@ -241,6 +244,9 @@ class InstallCyberPanel:
command = 'yum install lsphp80* -y'
subprocess.call(command, shell=True)
command = 'yum install lsphp81* -y'
subprocess.call(command, shell=True)
if self.distro == cent8:
command = 'dnf install lsphp71* lsphp72* lsphp73* lsphp74* lsphp80* --exclude lsphp73-pecl-zip -y'
subprocess.call(command, shell=True)