nginx php and uploading large files

Athan Dimoy foxx at freemail.gr
Tue Jun 26 16:13:18 MSD 2007


I assume that you only changed upload_max_filesize.
You have to increase post_max_size and memory_limit too.

For example, in php.ini

memory_limit = 384M
post_max_size = 256M
upload_max_filesize = 200M

...and in nginx.conf
client_max_body_size 150m;

I hope it helps.

Athan







More information about the nginx mailing list