Unable to Import a Moodle Course
-
Hello,
I'm trying to import a 1.4 GB Moodle .mbz course but I'm unable to do so. I suspect it’s related to PHP upload size limits, but even after modifying the php.ini file, it still shows 64MB when I check the values in Moodle via /admin/phpinfo.php. Did I miss something? Do I need to make another modification somewhere else?
here are my php.ini settings :
php_value post_max_size 6000M
php_value upload_max_filesize 6000M
php_value memory_limit 1024M
php_value max_execution_time 6000
php_value max_input_time 6000
php_value session.gc_maxlifetime 1200i restarted the app but nothing changed
Thank you for your help.
-
wrote on Jun 4, 2024, 9:59 PM last edited by ccfu Jun 4, 2024, 10:01 PM
The correct syntax for the php.ini file is
Name = Value
:post_max_size = 6000M upload_max_filesize = 6000M memory_limit = 1024M max_execution_time = 6000 max_input_time = 6000 session.gc_maxlifetime = 1200
The syntax you used is for .htaccess files.
-
But no! What a careless mistake! I didn't even see it
Thank you! All is ok now
-
-