Reputation: 49
I am trying to upload images to nginx server. I have changed in php.ini such as upload_max_filesize = 12M and in nginx.conf such as client_max_body_size = 30M. i am trying to upload 3 images at a time. If size of 3 image are less than 6mb , images are successfully uploaded but when images are greater than 6mb , it returns only '' and images are not uploaded. How to solve this issue??
Upvotes: 0
Views: 416
Reputation: 733
you have to look for below settings
upload_max_filesize = 20M
post_max_size = 21M
Upvotes: 1