From 98b69de96dfa5d9c04fdd9b78aa3fce38647b968 Mon Sep 17 00:00:00 2001 From: "usman@cyberpersons.com" Date: Thu, 18 May 2023 15:47:39 +0500 Subject: [PATCH] bug fix: save config php ls --- ApachController/ApacheVhosts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ApachController/ApacheVhosts.py b/ApachController/ApacheVhosts.py index dad02a024..f2abbf8b3 100755 --- a/ApachController/ApacheVhosts.py +++ b/ApachController/ApacheVhosts.py @@ -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"