From bcba9c5664001c240ef6c94f8f76cd393d7c5cbf Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Mon, 14 Nov 2022 13:50:27 +0500 Subject: [PATCH] remove php 71 --- plogical/upgrade.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/plogical/upgrade.py b/plogical/upgrade.py index 9da9b6c0e..327be11e0 100755 --- a/plogical/upgrade.py +++ b/plogical/upgrade.py @@ -2339,9 +2339,10 @@ echo $oConfig->Save() ? 'Done' : 'Error'; CentOSPath = '/etc/redhat-release' openEulerPath = '/etc/openEuler-release' - if not os.path.exists(CentOSPath) or not os.path.exists(openEulerPath): - command = 'cp /usr/local/lsws/lsphp71/bin/php /usr/bin/' - Upgrade.executioner(command, 'Set default PHP 7.0, 0') + #if not os.path.exists(CentOSPath) or not os.path.exists(openEulerPath): + #command = 'cp /usr/local/lsws/lsphp71/bin/php /usr/bin/' + #Upgrade.executioner(command, 'Set default PHP 7.0, 0') + @staticmethod def someDirectories():