Update task.py
This commit is contained in:
parent
282bcccf39
commit
94bb8e31cf
2
task.py
2
task.py
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue