Page 1 of 1

What's the Maximun file size allowed for uploads?

Posted: Fri Jan 11, 2013 5:49 pm
by rthonly2001
Hi, newbie in php and phpMyFAQ like to know what's the maximum file size allowed for uploads on embedded media?
So far I was able to modify my ini.php to 20mb and I was able to upload files as big as 7mb but I tried 12mb and 17mb and didn't work. So I'm thinking there must be a limit somewhere other than ini.php. Can someone help clarifying what else needs to be configure to upload bigger files like video.mov of 35mb?

Re: What's the Maximun file size allowed for uploads?

Posted: Fri Jan 11, 2013 6:10 pm
by Thorsten
HI,

depends on your PHP configuration. Theoretically 2 GB are possible.

bye
Thorsten

Re: What's the Maximun file size allowed for uploads?

Posted: Fri Jan 11, 2013 11:50 pm
by rthonly2001
Ok if 2GB is the max file size upload, why is 12mb not loading since I've have modified my ini.php to 200mb. Is there some more setting to change?

Code: Select all

; Maximum allowed size for uploaded files. Default upload_max_filesize = 2M
upload_max_filesize = 200M
Roland

Re: What's the Maximun file size allowed for uploads?

Posted: Sat Jan 12, 2013 6:24 am
by Thorsten
Hi,

did you check

Code: Select all

post_max_size
bye
Thorsten

Re: What's the Maximun file size allowed for uploads?

Posted: Sat Jan 12, 2013 9:53 pm
by rthonly2001
No I didn't, but now that you mention it I'll check;
This was on my ini.php

Code: Select all

; Maximum size of POST data that PHP will accept.
post_max_size = 8M
now I changed it to;

Code: Select all

; Maximum size of POST data that PHP will accept.
post_max_size = 200M
And tried again with a 12MB file and this time did worked!!!
Now my only concern is if charging it to 200M will affect anything else on the system? if not i'm good to go :P

Thank you for you prompt help

Re: What's the Maximun file size allowed for uploads?

Posted: Sun Jan 13, 2013 9:24 am
by Thorsten
Hi,

no, it just increases the size of POST requests handled by PHP

bye
Thorsten