These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for increase max file upload with NGINX on the new forum.
I use virtualmin with nginx to build a uploading website. I setup to allow member can upload max 50MB but member cannt. I think it limit by nginx like apache-php.
Somebody can help me increase max filesize upload in nginx. Thank! Best Regards!
You do this in the php.ini, First off the default php.ini will be boss then with in your site container will let you add or edit the php.ini for that site.
So the first thing you need to do is edit the main php.ini. I believe this is the main one /etc/php5/apache2/php.ini then you have have to edit the one in the site container which is located in /home/user_dir_here/etc/php5/php.ini.
Then you will need to look for these two lines in your main php.ini
upload_max_filesize = 2M <- Change this to what you want your max file size to be
post_max_size = 8M <- Make this the same size as the one above
You can do this in both files however remember /etc/php5/apache2/php.ini takes precedence over the container php.ini
By the way here is a thread that talks exactly about what you are asking --> http://www.webhostingtalk.com/showthread.php?t=570945
I hope this helps you....
Michael Cooper Linux Certified Professional http://www.coopfire.com