mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-06 21:35:55 +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
|
# return 1
|
||||||
# else:
|
# else:
|
||||||
# return 0
|
# return 0
|
||||||
|
|
||||||
|
|
||||||
except BaseException as msg:
|
except BaseException as msg:
|
||||||
message = "%s. [%s]" % (str(msg), '[ApacheController.checkIfApacheInstalled]')
|
message = "%s. [%s]" % (str(msg), '[ApacheController.checkIfApacheInstalled]')
|
||||||
logging.CyberCPLogFileWriter.writeToFile(message)
|
logging.CyberCPLogFileWriter.writeToFile(message)
|
||||||
@@ -245,6 +247,9 @@ LoadModule mpm_event_module modules/mod_mpm_event.so
|
|||||||
if ProcessUtilities.executioner(command, None, True) == 0:
|
if ProcessUtilities.executioner(command, None, True) == 0:
|
||||||
return "Failed to install Apache and PHP-FPM."
|
return "Failed to install Apache and PHP-FPM."
|
||||||
|
|
||||||
|
from plogical.upgrade import Upgrade
|
||||||
|
Upgrade.CreateMissingPoolsforFPM()
|
||||||
|
|
||||||
# try:
|
# try:
|
||||||
# wwwConfPath = ApacheVhost.php54Path + "/www.conf"
|
# wwwConfPath = ApacheVhost.php54Path + "/www.conf"
|
||||||
#
|
#
|
||||||
|
|||||||
Reference in New Issue
Block a user