Uploding files more than 8MB

Re: Uploding files more than 8MB

by Don Hinkelman -
Number of replies: 0
Picture of Particularly helpful Moodlers Picture of Plugin developers
Hi Kevin,

Thanks for the little help file for this common question.  You might go and add your notes to the documentation wiki as well.  You know, it is like Wikipedia--anyone can add.

Some added points to note...
  • Apache 1.3 (at least mine) does not need to be modified.  There is no line called LimitRequestBody.  Just modify php.ini.  
  • In Apache 2, you probably need to modify or add this line  LimitRequestBody 0   (the last number is a zero).  I doubt there is a need to make the limit at 51200000.  And writing zero is easier.  smile
  • On hosting services, you probably won't have access to php.ini, so make a file called php.ini in a text editor and place those two lines in it.  Then put a copy of that php.ini in *every* folder in Moodle that might be concerned with file uploads (ie:  /mod/forum    /mod/assignment   ).

Average of ratings: Useful (1)