From b96dcd1e205d5f7c0516977efadc906a604951da Mon Sep 17 00:00:00 2001 From: "usman@cyberpersons.com" Date: Wed, 17 May 2023 11:53:42 +0500 Subject: [PATCH] bug fix php-fpm installation ref https://community.cyberpanel.net/t/getting-error-on-using-apache-as-reverse-proxy/42870 --- ApachController/ApacheController.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/ApachController/ApacheController.py b/ApachController/ApacheController.py index e8bad2f17..8c8bac732 100755 --- a/ApachController/ApacheController.py +++ b/ApachController/ApacheController.py @@ -221,6 +221,10 @@ LoadModule mpm_event_module modules/mod_mpm_event.so else: + command = 'apt-get install software-properties-common -y' + if ProcessUtilities.executioner(command, None, True) == 0: + return "Failed to install software-properties-common" + command = 'apt install python-software-properties -y' if ProcessUtilities.executioner(command, None, True) == 0: return "Failed to install python-software-properties"