remove php version

This commit is contained in:
Usman Nasir
2019-12-21 12:17:57 +05:00
parent 258a6b813a
commit 370c181aee
3 changed files with 2 additions and 3 deletions

View File

@@ -972,7 +972,6 @@ if [[ $DEV == "ON" ]] ; then
source /usr/local/CyberPanel/bin/activate
wget -O requirements.txt https://raw.githubusercontent.com/usmannasir/cyberpanel/$BRANCH_NAME/requirments.txt
pip install --ignore-installed -r requirements.txt
systemctl restart lscpd
cd -
fi

View File

@@ -1425,7 +1425,7 @@ imap_folder_list_limit = 0
try:
os.remove("/usr/local/lscp/fcgi-bin/lsphp")
shutil.copy("/usr/local/lsws/lsphp70/bin/lsphp", "/usr/local/lscp/fcgi-bin/lsphp")
shutil.copy("/usr/local/lsws/lsphp71/bin/lsphp", "/usr/local/lscp/fcgi-bin/lsphp")
except:
pass

View File

@@ -14,7 +14,7 @@ class PHPManager:
distro = ProcessUtilities.decideDistro()
if distro == ProcessUtilities.centos:
if distro == ProcessUtilities.cent8:
return ['PHP 7.0', 'PHP 7.1', 'PHP 7.2', 'PHP 7.3']
return ['PHP 7.1', 'PHP 7.2', 'PHP 7.3']
return ['PHP 5.3', 'PHP 5.4', 'PHP 5.5', 'PHP 5.6', 'PHP 7.0', 'PHP 7.1', 'PHP 7.2', 'PHP 7.3']
else:
return ['PHP 7.0', 'PHP 7.1', 'PHP 7.2', 'PHP 7.3']