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에서 증가 문제를 해결했다.