Update task.py

pull/109/head
midoks 3 years ago
parent 701bdbbe84
commit 110a59466c
  1. 6
      task.py

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

Loading…
Cancel
Save