Upload Limit Change

killerstrom

Joined: 2004-12-27
Posts: 20
Posted: Mon, 2005-01-24 09:40

Anyone up for some quick support about this one?!
Is it possible to change the upload limit from 8MB to something bigger and where should I be doing that if it is possible?

Cheers!

 
delebre

Joined: 2004-09-08
Posts: 9
Posted: Mon, 2005-01-24 09:50

How do you LOWER the limit from 8MB down to say.. 1MB?

 
killerstrom

Joined: 2004-12-27
Posts: 20
Posted: Mon, 2005-01-24 09:59

Yadda yadda!!!

In this enviroment there are several files mucho grande bigger than 8MB... So delebre 1MB, yeah.. yeah, you find out that yourself.

 
delebre

Joined: 2004-09-08
Posts: 9
Posted: Mon, 2005-01-24 10:02

Wow, thanks for the help. I see my ideals are much less significant and valid than yours....

 
killerstrom

Joined: 2004-12-27
Posts: 20
Posted: Mon, 2005-01-24 10:04

delebre

Your welcome!

 
bharat
bharat's picture

Joined: 2002-05-21
Posts: 7994
Posted: Mon, 2005-01-24 10:36

Killerstrom, if you want help here please try acting like an adult. Thanks.

Delebre, there are two PHP settings you can change.

upload_max_filesize
This caps the max size of any one file uploaded from the browser

post_max_size
This caps the total size of all data uploaded in a single request

You can change these values in your php.ini, or you can put a directive like this:

php_value upload_max_filesize 1M

in your httpd.conf or .htaccess as appropriate. Also see FAQ Gallery:c.6 which is aimed at Gallery 1.x, but is still somewhat applicable.

 
gregradz

Joined: 2004-09-20
Posts: 57
Posted: Mon, 2005-01-24 19:31

Bharat-
Thanks for the help. I have been trying to figure out why a file won't upload for me and the post_max_size was a parameter I forgot about. Made it what I needed and all is well.
Delebre, most every on this board is quite willing to help out, so don't be shy about continuing to post. We all learn from everyone something.
Cheers
Greg