Virtual Learning Platforms Thread, How to increase file upload size on Moodle - Server 2008 in Technical; I know that there have been some threads mentioning this, but I am keen to know specifically how to do ...
9th September 2010, 01:17 PM #1
How to increase file upload size on Moodle - Server 2008
I know that there have been some threads mentioning this, but I am keen to know specifically how to do this on Server 2008R2. The Moodle FAQs only mention it for IIS, but surely if the rest of it, that they have titled '"XP and Server 2003" applied to Server2008 it would say so?
Bit worried about breaking it
IDG Tech News
9th September 2010, 01:20 PM #2
you need to alter the php.ini file
that should do it - as far as i know it is not server specific
post_max_size = 1024M
upload_max_filesize = 1024M
you will need to restart iis after the change
9th September 2010, 01:39 PM #3
Is that really all? Because the FAQs seem to mention a lot more than that
We have done that but cant upload big files - could anything else be stopping it?
9th September 2010, 01:52 PM #4
You will need to change your 'Maximum uploaded file size' in moodle also
Administration > Security > Site policies
Ours is currently set at server limit
9th September 2010, 02:09 PM #5
Ours is set as that as well. It is a server issue? Can I increase the server upload allowance and if so, where?
Originally Posted by sister_annex
9th September 2010, 02:15 PM #6
Server limit pulls the info from the php.ini file. AFAIK that should be it and works fine for us here.
It may be a course setting - that also has the ability to restrict file upload sizes.
There is a course upload limit (default).
Administration > Courses > Course Default Settings
Is it a WAMP setup or do you use IIS?
9th September 2010, 02:45 PM #7
Note to self: DON'T listen to teachers! I was informed that the error mentioned file size...it doesnt..
The error, when I was finally told it, is more likely to be a timeout.
I have increased the timeout to 900 seconds and will now go away and see if it works.
9th September 2010, 03:14 PM #8
No Problems - it may help someone else in the future
9th September 2010, 11:57 PM #9
Spoke too soon - still doesnt work but now getting at 404 error
10th September 2010, 09:23 AM #10
hmmmm 404 is usually File or Site not Found...
I am presuming that it has been working fine up until this point or is this a test case?
Timeouts tend to happen on large files usually >1Gb
Have you checked file permissions on the directory that contains your moodledata?
I am struggling at this point. Sorry
10th September 2010, 10:19 AM #11
situation as follows:
Uploads of 24MB or above are getting the 404 error. Anything less than this is fine, which is why it was thought to be a file size error.
I have increased the file size and the timeout with no success
10th September 2010, 10:47 AM #12
hmmm, tbh not really sure, and the box of straws that i'm clutching at are getting thin on the ground!
the only things I can thing of is possibly Quotas(maybe), if it is IIS that you're running i dont think there are file size restrictions, if it is Apache there may well be but i know very little about apache. other than that I really dont know.
A quick google come up with this, but not sure how helpful it would be - but it seems to be similar to the error you are getting
sorry I cant be of more help
13th September 2010, 08:49 AM #13
Adjusting File Size Limit in IIS 7
The problem is that in IIS 7 on Windows 2008 Server, the web application will reject any file that is larger than 30 MB. This is a default limitation of IIS. You can increase the maximum file size by adding the following code to <system.webServer> in the web.config file:
<requestLimits maxAllowedContentLength=”2000000000″ />
Does anyone think this will work, and if so, where do I find the file to alter?
13th September 2010, 10:12 AM #14
Can anyone help me? Or am I ..
13th September 2010, 10:22 AM #15
Web.config is usually for ASP applications.
Originally Posted by witch
Found this on Moodle.
Modifying the IIS 7.0/7.5 configuration (Windows Server 2008, Windows Server 2008 R2)
First increase activity and request time outs (allows large files to succeed on slow connections)
FastCGI Settings > Edit (Right-click on PHP application)
Set Process Model > Activity Timeout to '3600' (one hour)
Set Process Model > Request Timeout to '3600' (one hour)Next set 'Maximum allowed content length'
Request Filtering > Edit Feature Settings:
Set 'Maximum allowed content length' to your desired file size (in bytes) e.g. '536870912' for 512MB (default is approximately 28.6MB)
By Kamran7860 in forum Virtual Learning Platforms
Last Post: 23rd November 2010, 07:03 AM
By bensewell in forum Virtual Learning Platforms
Last Post: 27th July 2010, 11:47 AM
By RabbieBurns in forum *nix
Last Post: 19th March 2010, 03:09 AM
By mwnci in forum Virtual Learning Platforms
Last Post: 25th February 2010, 10:06 AM
By Wildebeaste in forum Educational Software
Last Post: 24th September 2007, 02:54 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)