bug fix: save config php ls

This commit is contained in:
usman@cyberpersons.com
2023-05-18 15:47:39 +05:00
parent 93b9a1245e
commit 31cd557e4e

View File

@@ -573,7 +573,7 @@ class ApacheVhost:
@staticmethod
def DecidePHPPathforManager(apache, phpVers):
if apache == 0:
if apache == 0 or apache == None:
phpVers = "php" + PHPManager.getPHPString(phpVers)
if ProcessUtilities.decideDistro() == ProcessUtilities.centos or ProcessUtilities.decideDistro() == ProcessUtilities.cent8:
path = "/usr/local/lsws/ls" + phpVers + "/etc/php.ini"