Update task.py

This commit is contained in:
Mr Chen 2019-03-19 16:07:20 +08:00
parent 282bcccf39
commit 94bb8e31cf
1 changed files with 1 additions and 1 deletions

View File

@ -405,7 +405,7 @@ def checkPHPVersion(version):
try:
url = 'http://127.0.0.1/phpfpm_status_'+version;
result = public.httpGet(url);
print version,result
# print version,result
#检查nginx
if result.find('Bad Gateway') != -1: return False;
if result.find('HTTP Error 404: Not Found') != -1: return False;