您的位置:首页 > 编程语言 > PHP开发

对于PHP引起的(104: Connection reset by peer) while reading response header from upstream错误解决方法

2016-04-29 14:46 716 查看
对于php引起的(104: Connection reset by peer) while reading response header from upstream,这个问题,在Linux生产服务器中,我的php版本是7.0,只需修改/usr/local/php/etc/php-fpm.d中的www.conf文件中request_terminate_timeou这个参数,只需将前面的;去掉,设置为:

request_terminate_timeout=0

然后保存重启php-fpm;

重启指令:

1、killall
php-fpm

2、/etc/init.d/php-fpm
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: