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, 12: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, 12:20 PM #2 you need to alter the php.ini file
Code:
post_max_size = 1024M
upload_max_filesize = 1024M
that should do it - as far as i know it is not server specific
you will need to restart iis after the change
HTH
Mark
-
-
9th September 2010, 12: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, 12: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
HTH
Mark
-
-
9th September 2010, 01:09 PM #5 
Originally Posted by
sister_annex
You will need to change your 'Maximum uploaded file size' in moodle also
Administration > Security > Site policies
Ours is currently set at server limit
HTH
Mark
Ours is set as that as well. It is a server issue? Can I increase the server upload allowance and if so, where?
-
-
9th September 2010, 01: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?
Mark
-
-
9th September 2010, 01: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. 
Thanks
-
-
9th September 2010, 02:14 PM #8 haha, typical!
No Problems - it may help someone else in the future 
Mark
-
-
9th September 2010, 10:57 PM #9 Spoke too soon - still doesnt work but now getting at 404 error
Any ideas?
-
-
10th September 2010, 08: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, 09: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
any ideas?
-
-
10th September 2010, 09: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
http://moodle.org/mod/forum/discuss.php?d=144597
sorry I cant be of more help
Mark
-
-
13th September 2010, 07:49 AM #13 Found this:
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:
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength=”2000000000″ />
</requestFiltering>
</security>
Does anyone think this will work, and if so, where do I find the file to alter?
-
-
13th September 2010, 09:12 AM #14 Can anyone help me? Or am I ..
-
-
13th September 2010, 09:22 AM #15 
Originally Posted by
witch
Found this:
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:
<security>
<requestFiltering>
<requestLimits maxAllowedContentLength=”2000000000″ />
</requestFiltering>
</security>
Does anyone think this will work, and if so, where do I find the file to alter?
Web.config is usually for ASP applications.
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)
-
SHARE:
Similar Threads
-
By Kamran7860 in forum Virtual Learning Platforms
Replies: 3
Last Post: 23rd November 2010, 07:03 AM
-
By bensewell in forum Virtual Learning Platforms
Replies: 2
Last Post: 27th July 2010, 10:47 AM
-
By RabbieBurns in forum *nix
Replies: 4
Last Post: 19th March 2010, 03:09 AM
-
By mwnci in forum Virtual Learning Platforms
Replies: 7
Last Post: 25th February 2010, 10:06 AM
-
By Wildebeaste in forum Educational Software
Replies: 5
Last Post: 24th September 2007, 01:54 PM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules