I seached my apache server and it has a file upload limit of 5 MB. Is the 2MB a limit for the entire resource pool. I tried to upload a 1.5 MB file and it kicked me out to an empty browser. I tried one under 1MB and it loaded. I already had around 2.5 MB of files in the resource folders. I'm not sure how I'm going to get my larger files up...any siggestions? I have having a wonderful time developing my courseware except for this one problem. Maybe I don't understand something??? I had recently made a contribution to moodle becasue I believed there was no better course deveopment software anywhere, and I have been searching for about 6 months, but I am now ready to abandon it because of this limit that I can't seem to work around and no one seems to be able to help me. I have read all the forum topics/discussions and tried all the fixes but to no avail. This is my last appeal, please someone help!
In my (successful) experience, I recommend you using FTP to upload large files (about 2 MB). I worked for me, even 15MB or larger.
I believe that it will work for you too.
Thanks Vu, I will do that. In fact that has been my work around until I find an answer!
God Bless You!
Yes agree totally with you. The ftp is faster, has no volume limits and having a ftp client makes much more easier the files management on the server. The limit of 2M is set by the php file.
I'm still have a concern to identify to which directory -on the server- should the uploaded files be saved? Many thanks in advance.
Mohamed BEN HASSINE
I also use ftp to transfer zipped course files up to 250 mg. I really would appreciate some input on the file structure, as well as where to put things as I find the cryptic folder names Moodle creates make finding things unintuitive.
Did you ever resolve this problem without a workaround? I found some useful information in another thread (http://moodle.org/mod/forum/discuss.php?d=7565) that was helpful in getting the system to accept larger files, though I am still unable to send one 13 megabyte video file to the server. I am getting a timeout error that I haven't yet been able to resolve.
Please follow the Mooldle FAQ every tning is there. I have same problem and i solved it through the FAQ . if you are a Server admin this URL will be very usefull http://moodle.org/mod/glossary/showentry.php?courseid=5&concept=How+do+the+limits+on+uploaded+files+work%3F
For example to increase upload file size to 10MB (10485760 byte)
Add entry to hpptd.conf
Add entry to php.ini
Please restart httpd
in linux > service hpptd restart
That should read "Add entry to httpd.conf" not "Add entry to hpptd.conf."
You can locate this file in most flavors of unix by typing the following as root:
find / -name httpd.conf
( httpd.conf is usually located in /etc/httpd/ or /etc/httpd/conf/ )
find / -name php.ini
( php.ini is usually located in /etc/php.ini )
Some versions of linux include a file called:
If your server has this file, update it instead of httpd.conf.
Also, some versions of linux do not use the service command. If the above does not work for you, you may have more luck with:
NOTE: This may not flush a module in some versions of linux. If it doesn't work, try this:
Where did you go to edit this file. I need to do the same but am not sure where or what directory you went to to edit the upload size?
I've got maxbytes set at 8Mb but in settings for each course I can still only get a max of 2Mb upload. Any ideas on what I've missed?
the file location depend on your OS/OS versions, please use a seach Command(in Linux 'locate', 'whereis' ..etc can be used, or in Window do 'Search' is a way to find the the file. (Please keep a copy file before change).
I have looked through a number of forums and see that FTP seems to be a valid workaround to file upload restrictions.
I have a 15.9MB Scorm file (ZIP) I have successfully FTPd it to my moodle server, however I cannot find where I should be actually putting the file.
I am currently trying to put the file in:
from there I see a few folders. There is a folder "1" and a folder "2" I believe the course I have created is 8 but I cannot see this folder anywhere?
A little help? Am I in the correct place? Is there a default location?
My understanding is that the folder is not created until it is needed.
Upload a resource using the standard procedure or create a directory in the course using 'files' ........... folder '8' should then appear
I have make the following changes in .htaccess, but it doesn't work:
php_value upload_max_filesize 2048M
php_value post_max_size 2048M
php_value memory_limit 3072M
Also, when I made these changes, I can't login again.
Could there somebody help?
php_value upload_max_filesize 40M
php_value post_max_size 40M
php_value memory_limit 256M
And restart apache.
Only LimitRequestBody should be in the .htaccess file. upload_max_filesize and post_max_size you need to modify in the php.ini file.
I hope this helps.