Perhaps this is helpful: http://moodle.org/doc/?frame=install.html&sub=webserver
LimitRequestBody 0
php_value upload_max_filesize 2M
php_value post_max_size 2M
Ho hum … ..
Put those directives in the "Directory" bit for Moodle and it made no difference whatsoever.
I finally thought to check in the Apache error log, and it says that the files is bigger than the "configured limit of 524288". I wonder what is setting that limit?
Any other ideas?
Oh … yes I did restart Apache
I don't have a lot of server space for uploads. In fact, I will probably only have students upload their pictures.
Instead of 2M, will htaccess accept something as low as:
php_value upload_max_filesize 75K
php_value post_max_size 75K
That should be more than big enough for a 100x100 jpeg picture and/or text posts.
Will moodle automatically update changes made here to the "Max size:" notices?
Instead of 2M, will htaccess accept something as low as:
php_value upload_max_filesize 75K
php_value post_max_size 75K
That should be more than big enough for a 100x100 jpeg picture and/or text posts.
Will moodle automatically update changes made here to the "Max size:" notices?
Yes, the notice is updated to reflect the real current limits.
Note, though, that user images are automatically scaled/cropped down to 100x100, and usually end up being about 5k on disk, regardless of how big the upload was.
This doesn't help forum attachments or assignments though, for which you would need to reduce the limits as you've described.
Note, though, that user images are automatically scaled/cropped down to 100x100, and usually end up being about 5k on disk, regardless of how big the upload was.
This doesn't help forum attachments or assignments though, for which you would need to reduce the limits as you've described.