Just in case anyone else finds this the same way I did (google 'moodle
upload
8MB'), I'm adding this post to the end of all threads that don't have all this info (I'll post them here to increase the likelihood anyone searching will
find what they are looking for).
There are four things you have to do to ensure this works properly (in some versions of linux). Let's say I want to allow for a 50 MB
upload
(we've got a photoshop class where student files can easily exceed
8MB). Here are the steps needed to ensure your site can handle this:
1. Update /etc/php.ini (or where ever your php.ini file is) to reflect TWO changes:
*
upload_max_filesize = 50M
* post_max_size = 50M
2. Update apache's config file in /etc/httpd/httpd.conf (or where ever your httpd.conf file is located):
*
LimitRequestBody 51200000
3. Restart apache:
* apachectl stop
* apachectl start
4. Update the Moodle Course Variables entity. (Do this last or you won't be able to see the new size options).
(NOTE: A simple restart didn't reload the modules correctly for my system, YMMV.)
Googlers may also be intested in knowing that browsers don't always respect the
upload limit and may try to
upload
a file that is too large. There are applets on the market (and probably
free by the time you get this) which will check in advance to make sure
the file is the proper size before
uploading - thus saving bandwidth.