Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
How i can change the max file size?
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
Tagged:
0
Best Answers
-
Todd Vanilla Staff
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.
1 -
422 MVP
Thats an interesting point Todd. Why is it set at 50 big ones ?
There was an error rendering this rich post.
0
Answers
There is config setting:
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.
Thats an interesting point Todd. Why is it set at 50 big ones ?
There was an error rendering this rich post.
I think we made it big to accommodate imports.
$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...
Vanilla Wiki, Tastes Great! 31,000 viewers can't be wrong. || Plugin Development Explained