0
嘗試從服務器下載大於1024MB的文件時使用PHP「return response() - > download(...);」它不下載超過1024MB。Laravel Forge下載限制(1024MB)
從public_html而不是通過PHP下載時,可以下載較大的文件。
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
[在PHP中可靠地下載大文件]可能的副本(http://stackoverflow.com/questions/597159/downloading-large-files-reliably-in-php) – vitr