mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-08 14:26:16 +01:00
temp: bypass php8.0 fail on ubuntu
This commit is contained in:
@@ -199,7 +199,7 @@ class InstallCyberPanel:
|
|||||||
|
|
||||||
res = os.system(command)
|
res = os.system(command)
|
||||||
if res != 0:
|
if res != 0:
|
||||||
InstallCyberPanel.stdOut("Failed to install PHP on Ubuntu.", 1, 1)
|
InstallCyberPanel.stdOut("Failed to install PHP on Ubuntu.", 1, 0)
|
||||||
|
|
||||||
elif self.distro == centos:
|
elif self.distro == centos:
|
||||||
command = 'yum -y groupinstall lsphp-all'
|
command = 'yum -y groupinstall lsphp-all'
|
||||||
|
|||||||
@@ -1923,7 +1923,6 @@ echo $oConfig->Save() ? 'Done' : 'Error';
|
|||||||
@staticmethod
|
@staticmethod
|
||||||
def installPHP73():
|
def installPHP73():
|
||||||
try:
|
try:
|
||||||
|
|
||||||
if Upgrade.installedOutput.find('lsphp73') == -1:
|
if Upgrade.installedOutput.find('lsphp73') == -1:
|
||||||
command = 'yum install -y lsphp73 lsphp73-json lsphp73-xmlrpc lsphp73-xml lsphp73-tidy lsphp73-soap lsphp73-snmp ' \
|
command = 'yum install -y lsphp73 lsphp73-json lsphp73-xmlrpc lsphp73-xml lsphp73-tidy lsphp73-soap lsphp73-snmp ' \
|
||||||
'lsphp73-recode lsphp73-pspell lsphp73-process lsphp73-pgsql lsphp73-pear lsphp73-pdo lsphp73-opcache ' \
|
'lsphp73-recode lsphp73-pspell lsphp73-process lsphp73-pgsql lsphp73-pear lsphp73-pdo lsphp73-opcache ' \
|
||||||
|
|||||||
Reference in New Issue
Block a user