I am using Elgg - 6.0.1 . How can I increase the upload file size ?
info@elgg.org
Security issues should be reported to security@elgg.org!
©2014 the Elgg Foundation
Elgg is a registered trademark of Thematic Networks.
Cover image by RaĆ¼l Utrera is used under Creative Commons license.
Icons by Flaticon and FontAwesome.
- Nikolai Shcherbin@rivervanrain

Nikolai Shcherbin - 0 likes
- Jerome Bakker@jeabakker

Jerome Bakker - 0 likes
- Nicole Sharp@nicolesharp100

Nicole Sharp - 0 likes
You must log in to post replies.https://stackoverflow.com/questions/2184513/change-the-maximum-upload-file-size
In the .htaccess (which is in the root of your website) you can change the max file size.
https://github.com/Elgg/Elgg/blob/7ea56c6dfebd0937c854a92fc12f37b9b19c6c4c/install/config/htaccess.dist#L48-L51
Make sure you also increase the 'post_max_size' to be above the 'upload_max_filesize' because the file size also counts in the post size and the rest of a form also needs to be send in the post size. A safe bet is 2MB more in post size.
Memory also has to be increased. The PHP Manual states that "
memory_limit
" must be larger than "post_max_size
" and also that "post_max_size
" must be larger than "upload_max_size
".— "Description of Core PHP.INI Directives"