2016-09-15 4 views
0

PHPを使用してサーバーから1024MBを超えるファイルをダウンロードしようとすると、 "return response() - > download(...);"それは1024MB以上をダウンロードしません。Laravel Forgeダウンロード制限(1024MB)

PHP経由ではなくpublic_htmlからダウンロードすると、大きなファイルをダウンロードすることができます。

Nginixエラー:

2016/09/15 13:23:58 [error] 5801#5801: *198201 readv() failed (104: Connection reset by peer) while reading upstream, client: xx.xx.xx.xx, server: xxxxxx.com, request: "GET /test HTTP/2.0", upstream: "fastcgi://unix:/var/run/php/php7.0-fpm.sock:", host: "xxxxxx.com" 

使用:Laravelフォージ、Laravel 5.1、Nginxは、PHP 7.

+1

[大きなファイルをPHPで確実にダウンロードする](http://stackoverflow.com/questions/597159/downloading-large-files-reliably-in-php)の可能な複製 – vitr

答えて

0

nginxののfastcgi_max_temp_file_sizeに増やすには、問題を解決しました。

関連する問題