Home > Backend Development > PHP Tutorial > curl-get - php curl 502 Bad Gateway

curl-get - php curl 502 Bad Gateway

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-06 20:17:48
Original
2010 people have browsed it

php curl 502 Bad Gateway最可能的原因?如何处理呢?

回复内容:

php curl 502 Bad Gateway最可能的原因?如何处理呢?

正常访问有没有问题?

php-fpm 超时,看看php的慢日志。
看看这篇文章,分析502与504的区别的

fastcgi_connect_timeout 300;
fastcgi_send_timeout 300;
fastcgi_read_timeout 300;
在http节点中加入这三行,能解决502的问题

Related labels:
php
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template