Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Sign In with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter

Categories

In this Discussion

Who's Online 14

CurtisOdenPistachiosRicardo_ViteriUnderDogericgillettetc74422 +7 guests

How i can change the max file size?

This discussion is related to the FileUpload addon.

hi, i need change the max file size. Now the max file size is 2 mb, i need max file size 5 mb. Please help me

Comments

  • Posts: 1,586 Accepted Answer 1 like

    There is config setting:

    $Configuration['Garden']['Upload']['MaxFileSize'] = '5M';
    

    However, this is initially set to 50M so you may have another problem. There are two php ini settings that also control your max file upload: post_max_size and upload_max_filesize. If it's one or both of these setting you're going to have to get them changed with your web host.

    Vanilla co-founder

  • 422422
    Posts: 2,109 Accepted Answer

    Thats an interesting point Todd. Why is it set at 50 big ones ?

    ♥ I love Vanilla. VanillaSkins | on Twitter | on Facebook | Available Freelance | Take the Vanilla Test | Free Downloads

  • Posts: 1,586 Accepted Answer

    I think we made it big to accommodate imports.

    Vanilla co-founder

  • Posts: 2

    $Configuration['Garden']['Upload']['MaxFileSize'] = '5M';

    Dont work :(

  • hbfhbf
    Posts: 654

    akendram said: $Configuration['Garden']['Upload']['MaxFileSize'] = '5M';

    Dont work :(

    it's probably because your php settings are limiting you.... per Todd's original reply. I had to modify my ini file, so too is likely your fate. Talk to your hosting provider...

Sign In or Register to comment.