#1 By: anne, November 23rd, 2011 04:31
Thank you for the Bitnami Moodle 2.1.2-0 package which made for pain-free installation of Moodle onto my laptop. I now want to import backed up files created in Moodle 1.9 into the new version of Moodle, but the backed up zip files are between 15 MB and 200 MB, and the maximum file size I can upload is 8 MB.
According to Moodle, the alterations required to increase the maximum file upload size are done on the server, rather than in Moodle. I followed the instructions for changing the max file size on a local host here: http://docs.moodle.org/20/en/Administration_FAQ#How_do_the_limits_on_uploaded_files_work.3F
In other words I put
upload_max_filesize = 200M
in the php.ini file.
Moodle still won't let me upload anything bigger than 8 MB. I looked for something called post_max_size but couldn't find it. Also I can't find anything about max_execution_time which appears to also be important.
Can you supply very simple instructions for making the necessary changes using this bitnami build please?
#2 By: Beltran Rueda Borrego, November 23rd, 2011 09:21
In the following link you can see how to increase the upload size in PHP but 200M is so much to upload through a web site. Maybe it is better to copy the file through SSH or FTP and try to import the data in the application manually.
#3 By: ambi, March 7th, 2012 10:48
I have a similar problem. Have changed the php.ini-development and php.ini-production as suggested in the link above, but Moodle is only accepting 8M.
#4 By: Beltran Rueda Borrego, March 7th, 2012 16:56
You should modify the following options /opt/bitnami/php/etc/php.ini file:
post_max_size = 16M
upload_max_filesize = 16M
and restart apache:
$ sudo /opt/bitnami/ctlscript.sh restart apache