mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-06 05:15:49 +01:00
bug fix: https://app.clickup.com/t/86enet6vn
This commit is contained in:
@@ -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"
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user