From 52e56c3bdb194cd79a60f692d7bd6e1990c08e2e Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Thu, 14 May 2020 14:18:23 +0500 Subject: [PATCH] set system default php on ubuntu 20.04 --- cyberpanel.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cyberpanel.sh b/cyberpanel.sh index 8038886a7..1f5721acd 100644 --- a/cyberpanel.sh +++ b/cyberpanel.sh @@ -1042,10 +1042,6 @@ fi after_install fi -if [[ $UBUNTU_20 == "True" ]] ; then - cp /usr/local/lsws/lsphp73/bin/php /usr/bin -fi - } pip_virtualenv() { @@ -1308,6 +1304,10 @@ fi fi #fix php.ini & issue +if [[ $UBUNTU_20 == "True" ]] ; then + cp /usr/local/lsws/lsphp73/bin/php /usr/bin +fi + #clear echo "###################################################################" echo " CyberPanel Successfully Installed "