File size...

File size...

by J C -
Number of replies: 8
Can anyone tell me how to allow teachers to upload files as large as 10 MB to Moodle? Teachers switching from one Moodle system to another need to have a quick way to transfer their files, is there a better way?
Average of ratings: -
In reply to J C

Re: File size...

by A. T. Wyatt -
Greetings, J. C.--
See if these directions on changing the upload limit help.

atw
In reply to A. T. Wyatt

Re: File size...

by M Y -
If only I hadnt spent those last few mins re-wording my answer, I would have got there first, anyway, I think your answer was more helpful A. T.

--martin
In reply to M Y

Re: File size...

by A. T. Wyatt -
OHO! I see that we were both working on it at the same time! I like the new moodle docs; this section is particularly good because it gives detailed instructions for both linux and windows.

atw
In reply to A. T. Wyatt

Re: File size...

by M Y -
Moodle Docs is great, its much better to have the documentation in a wiki, that way the documentation grows with peoples own knowledge.
In reply to J C

Re: File size...

by M Y -
Hi J C,

The size that Moodle can accept is governed by the upload_max_filesize parameter in php.ini.

Open your php.ini file and find upload_max_filesize and change the value.

Hope this helps, I just got back in from a gig so i'm a bit tired sleepy
In reply to M Y

Re: File size...

by J C -
Hi all,
Thanks for the info. I can't seem to find the php.ini file. Where do I look?
In reply to J C

Re: File size...

by A. T. Wyatt -
Well, it depends on how you have your server set up. I believe ours is here:

/web/php-bin/

You will have to go poke around and find it.
atw
In reply to J C

Re: File size...

by Jason Hando -
Hi J C,

I've gotten around this by adding two lines in .htaccess which resides in public_html folder in my hosting account.

The lines I added were:
php_value upload_max_filesize 20971520
php_value post_max_size 20971520
Change the numbers to the nuumbers of bytes. Just divide by 1024 to get KB and then divide by 1024 again to get MB. (or multiply)

Hope this helps.

Jason