Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps - Status | Demo | Docs | Install
  1. Cloudron Forum
  2. Moodle
  3. Unable to Import a Moodle Course

Unable to Import a Moodle Course

Scheduled Pinned Locked Moved Solved Moodle
3 Posts 2 Posters 1.1k Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • BenoitB Offline
    BenoitB Offline
    Benoit
    translator
    wrote on last edited by
    #1

    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 1200

    i restarted the app but nothing changed

    Thank you for your help.

    1 Reply Last reply
    1
    • C Offline
      C Offline
      ccfu
      wrote on last edited by ccfu
      #2

      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.

      1 Reply Last reply
      3
      • BenoitB Offline
        BenoitB Offline
        Benoit
        translator
        wrote on last edited by
        #3

        But no! What a careless mistake! I didn't even see it 🙂 Thank you! All is ok now

        1 Reply Last reply
        1
        • girishG girish marked this topic as a question on
        • girishG girish has marked this topic as solved on

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Bookmarks
        • Search