文件上传报错
来源:6-3 视频上传到本地
MK小学僧
2019-02-19
老师,文件上传时报错,错误日志
2019/02/19 16:34:38 [error] 3389#0: *6 recv() failed (104: Connection reset by peer) while reading response header from upstream, client: 192.168.46.1, server: localhost, request: “POST /api/upload/file HTTP/1.1”, upstream: “http://127.0.0.1:9501/api/upload/file”, host: "songswoole.com:8008"
也百度了,百度上说修改php-fpm.conf中的request_terminate_timeout=0,我试了,可报错ERROR: [/usr/local/php/etc/php-fpm.conf:69] unknown entry ‘request_terminate_timeout’。老师这该怎么解决。
写回答
1回答
-
singwa
2019-02-19
您好,是修改php.ini文件里面的这个配置。你试试
00
相似问题