File Upload Limits

Ken Rich
Ken Rich
@ken-rich
11 years ago
926 posts
I have a client who wants to sell a zipped file about 750MB containing her artwork.

So I sent the server guy the help file here - https://www.jamroom.net/the-jamroom-network/documentation/problems/748/how-do-i-increase-phps-upload-limit

He set it to 1GB, but it still didn't increase. So he got the data center to set it and they tested it as well.

Still, when I try to upload a file I get the message you see in the sceenshot. Is there something else I need to do? The top setting I see in the quotas is 128 max.
Filesize.JPG.jpg
Filesize.JPG.jpg  •  53KB




--

Ken Rich
indiegospel.net

updated by @ken-rich: 12/26/14 04:55:08AM
michael
@michael
11 years ago
7,793 posts
There is over-head allowed for the system to process the upload, so setting:
Quote:
post_max_size = 512M
upload_max_filesize = 512M
memory_limit = 512M

gives 128MB of upload ability. If they are all set to 1GB then your not going to get 1GB of upload ability, you'll get less. How much you get will be visible at:

ACP -> SYSTEM CORE -> QUOTA CONFIG -> MAX UPLOAD SIZE.

It varies according to quota too, so make sure the quota that profile is in is changed after your servers max limit is increased.
gary.moncrieff
gary.moncrieff
@garymoncrieff
11 years ago
865 posts
This had me scratching my head too, to allow 750mb uploads you'll need to set it to 3gb or more, which unless your on a seriously high end server you may not have.
Ken Rich
Ken Rich
@ken-rich
11 years ago
926 posts
Thank Michael - ACP -> SYSTEM CORE -> QUOTA CONFIG -> MAX UPLOAD SIZE is still showing 128 as the maximum allowed.

My php.ini is set at:

post_max_size = 4096M
upload_max_filesize = 4096M
memory_limit = 4096M

That should give me 1 GB upload size if I am understanding correctly and the server can "take it" (thanks Gary).

I assume that it can "take it" as my server guy is telling me the datacenter have tested and confirmed php upload is now at 1 GB and working.

Therefore, he is saying something else in the script probably needs changing???

He reset the SSH and PHP sections of the server, as he doesn't think a total reset is required. If it is, please advise and he will do it late at night (it's "disruptive").


--

Ken Rich
indiegospel.net

updated by @ken-rich: 11/20/14 07:36:14AM
brian
@brian
11 years ago
10,149 posts
You need to have your server person restart Apache - PHP settings do not take effect until restarted.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
brian
@brian
11 years ago
10,149 posts
Also - after the server is restarted, run the Integrity Check - it's during an integrity check when the core will check again.

Hope this helps!


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
Ken Rich
Ken Rich
@ken-rich
11 years ago
926 posts
Thanks... We'll try resetting the Apache tonight... and integrity check...


--

Ken Rich
indiegospel.net