|
|
@ -388,9 +388,9 @@ def check502Task(): |
|
|
|
|
|
|
|
|
|
|
|
def check502(): |
|
|
|
def check502(): |
|
|
|
try: |
|
|
|
try: |
|
|
|
phpversions = ['52', '53', '54', '55', '56', '70', |
|
|
|
verlist = ['52', '53', '54', '55', '56', '70', |
|
|
|
'71', '72', '73', '74', '80', '81'] |
|
|
|
'71', '72', '73', '74', '80', '81'] |
|
|
|
for version in phpversions: |
|
|
|
for version in verlist: |
|
|
|
sdir = mw.getServerDir() |
|
|
|
sdir = mw.getServerDir() |
|
|
|
php_path = sdir + '/php/' + version + '/sbin/php-fpm' |
|
|
|
php_path = sdir + '/php/' + version + '/sbin/php-fpm' |
|
|
|
if not os.path.exists(php_path): |
|
|
|
if not os.path.exists(php_path): |
|
|
|