mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2025-11-10 23:36:11 +01:00
pssobile bug in wp installer
This commit is contained in:
@@ -618,11 +618,17 @@ class ApplicationInstaller(multi.Thread):
|
||||
|
||||
### lets first find php path
|
||||
|
||||
|
||||
from plogical.phpUtilities import phpUtilities
|
||||
|
||||
vhFile = f'/usr/local/lsws/conf/vhosts/{domainName}/vhost.conf'
|
||||
|
||||
phpPath = phpUtilities.GetPHPVersionFromFile(vhFile)
|
||||
try:
|
||||
|
||||
phpPath = phpUtilities.GetPHPVersionFromFile(vhFile)
|
||||
except:
|
||||
phpPath = '/usr/local/lsws/lsphp80/bin/php'
|
||||
|
||||
|
||||
### basically for now php 8.0 is being checked
|
||||
|
||||
@@ -632,6 +638,7 @@ class ApplicationInstaller(multi.Thread):
|
||||
statusFile.close()
|
||||
phpUtilities.InstallSaidPHP('80')
|
||||
|
||||
|
||||
finalPath = ''
|
||||
self.permPath = ''
|
||||
|
||||
|
||||
Reference in New Issue
Block a user