diff --git a/install/installCyberPanel.py b/install/installCyberPanel.py index c16a1af1c..7bf6d1bf8 100755 --- a/install/installCyberPanel.py +++ b/install/installCyberPanel.py @@ -199,7 +199,7 @@ class InstallCyberPanel: res = os.system(command) 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: command = 'yum -y groupinstall lsphp-all' diff --git a/plogical/upgrade.py b/plogical/upgrade.py index 58a2f2d17..ff30343f3 100755 --- a/plogical/upgrade.py +++ b/plogical/upgrade.py @@ -1923,7 +1923,6 @@ echo $oConfig->Save() ? 'Done' : 'Error'; @staticmethod def installPHP73(): try: - if Upgrade.installedOutput.find('lsphp73') == -1: 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 ' \