From d8d1d78b86efb9ed61a585a76371a13391dea98a Mon Sep 17 00:00:00 2001 From: usmannasir Date: Sun, 14 Jan 2024 18:56:58 +0500 Subject: [PATCH] bug fix: https://app.clickup.com/t/86enet6vn --- ApachController/ApacheController.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ApachController/ApacheController.py b/ApachController/ApacheController.py index d0191b1d5..498f74665 100755 --- a/ApachController/ApacheController.py +++ b/ApachController/ApacheController.py @@ -87,6 +87,8 @@ LoadModule mpm_event_module modules/mod_mpm_event.so # return 1 # else: # return 0 + + except BaseException as msg: message = "%s. [%s]" % (str(msg), '[ApacheController.checkIfApacheInstalled]') logging.CyberCPLogFileWriter.writeToFile(message) @@ -245,6 +247,9 @@ LoadModule mpm_event_module modules/mod_mpm_event.so if ProcessUtilities.executioner(command, None, True) == 0: return "Failed to install Apache and PHP-FPM." + from plogical.upgrade import Upgrade + Upgrade.CreateMissingPoolsforFPM() + # try: # wwwConfPath = ApacheVhost.php54Path + "/www.conf" #