From 34ef69516e70b83079c5c9b0fa82bb766b1c50b1 Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Sun, 25 Sep 2022 12:08:37 +0500 Subject: [PATCH] bug fix: https://github.com/usmannasir/cyberpanel/issues/952: finally CP Running --- plogical/applicationInstaller.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/plogical/applicationInstaller.py b/plogical/applicationInstaller.py index a992a4584..03f5d002a 100755 --- a/plogical/applicationInstaller.py +++ b/plogical/applicationInstaller.py @@ -1697,6 +1697,10 @@ $parameters = array( try: website = Websites.objects.get(domain=DataToPass['domainName']) + if website.phpSelection == 'PHP 7.3': + website.phpSelection = 'PHP 7.4' + website.save() + if ACLManager.checkOwnership(website.domain, self.extraArgs['adminID'], self.extraArgs['currentACL']) == 0: statusFile = open(tempStatusPath, 'w')