File size...

File size...

J C -
回帖数: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?
回复J C

Re: File size...

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

atw
回复A. T. Wyatt

Re: File size...

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
回复M Y

Re: File size...

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
回复A. T. Wyatt

Re: File size...

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.
回复J C

Re: File size...

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
回复M Y

Re: File size...

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

Re: File size...

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