Howdy, Stranger!

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

Try Vanilla Forums Cloud product

Ready to contribute?

Amazing! Sign our contributors' agreement and then join us on GitHub.

Update for critical security issue in PHPMailer included in release Vanilla 2.3.1
Please upgrade to 2.3 here. The 2.2 and earlier branches are no longer being updated.

How i can change the max file size?

This discussion is related to the FileUpload addon.
edited January 2012 in Vanilla 2.0 - 2.2

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

Best Answers

  • ToddTodd Chief Product Officer Vanilla Staff
    edited January 2012 Accepted Answer

    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.

  • 422422 Developer MVP
    Accepted Answer

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

    422 Real Estate Australia , now open Check it out

  • ToddTodd Chief Product Officer Vanilla Staff
    Accepted Answer

    I think we made it big to accommodate imports.


Sign In or Register to comment.