How to increase PHP file size limits on Nginx?

Solution 1:

This issue comes from nginx, in your nginx.conf set the following value:

client_max_body_size 100M;

Obviously if you want a bigger file size then 100MB, make this value higher


You can read more about client_max_body_size in the nginx documentation: http://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size