multiple bug fixes to apache manager on al9

This commit is contained in:
usmannasir
2024-09-26 22:10:44 +05:00
parent dcf8967cdc
commit a989d9900f
8 changed files with 142 additions and 110 deletions

View File

@@ -273,7 +273,8 @@ class phpUtilities:
@staticmethod
def FindIfSaidPHPIsAvaiableOtherwiseMaketheNextOneAvailableToUse(vhFile, phpVersion):
if vhFile != None:
result = phpUtilities.GetPHPVersionFromFile(vhFile)
virtualHostName = vhFile.split('/')[6]
result = phpUtilities.GetPHPVersionFromFile(vhFile, virtualHostName)
if os.path.exists(result):
return phpVersion