file upload with php-fpm

Sylvia nginx-forum at nginx.us
Sat May 4 19:54:25 UTC 2013


hi.

nginx.conf:
    client_max_body_size 42m;


php.ini:
memory_limit = 64M
post_max_size = 40M
upload_max_filesize = 32M

it works fine for me with that settings. I havent speficied any timeout
settings you used.
Have you edited php.ini for php-fpm? If not - default upload file size is 2M

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,238838,238840#msg-238840



More information about the nginx mailing list