Hosting App's Spanish version

Support article

How to Install Moodle: E-Learning Platform

Install Moodle on your hosting to create online courses: requirements, Softaculous, manual installation and initial campus configuration.

Published: 12/07/2026 Updated: 12/07/2026

Introduction

Moodle is the world’s most widely used e-learning (online teaching) platform. It’s used by universities, academies, companies and trainers to create and manage online courses. It’s free and open source.

If you want to create your own course platform, Moodle is one of the best options. In this article you’ll see how to install it on your hosting.

What Moodle is and what it’s for

Moodle is an LMS (Learning Management System): a system to create, manage and follow online courses. It allows:

  • Creating courses with lessons, videos, documents and activities.
  • Evaluating with quizzes, tasks and exams.
  • Managing students and teachers.
  • Issuing certificates of completion.
  • Tracking each student’s progress.

Moodle is what thousands of universities and academies around the world use for their online teaching.

Server requirements for Moodle

Before installing Moodle, make sure your hosting meets:

  • PHP 8.1 or higher (the latest Moodle version requires recent PHP).
  • MySQL 5.7 or MariaDB 10.6 or higher (also supports PostgreSQL).
  • Minimum 256 MB PHP memory (512 MB recommended for large courses).
  • SSL certificate (mandatory for evaluation processes).
  • PHP extensions: gd, intl, xmlrpc, mbstring, curl, zip.

Moodle is demanding with PHP memory. For courses with many users or multimedia content, consider a generous hosting plan or a VPS.

Step 1: Open Softaculous

  1. Log in to cPanel.
  2. Find Softaculous Apps Installer.
  3. Click Moodle.

Step 2: Configure the installation

  1. Click Install Now.

  2. Fill in the details:

    FieldWhat to enter
    Protocolhttps:// (with SSL)
    DomainThe domain where you want Moodle
    In DirectoryEmpty or a folder like campus
    Site NameYour campus name
    Admin UsernameYour administrator username
    Admin PasswordA strong password
    Admin EmailYour email
  3. Click Install.

[Imagen sugerida: screenshot of the Moodle installation form in Softaculous]

The installation takes a minute or two. Softaculous shows you at the end:

  • The campus URL.
  • The admin panel URL.
  • Your credentials.

Method 2: Install Moodle manually

Step 1: Download Moodle

  1. Go to the official website (moodle.org).
  2. Download the latest version in ZIP or TGZ format.

Step 2: Upload the files

  1. Connect via FTP or use cPanel’s File Manager.
  2. Go to public_html or a folder like campus.
  3. Upload the Moodle ZIP file.
  4. Unzip it.

Step 3: Create the database

  1. In cPanel, go to MySQL Databases.
  2. Create a database, for example user_moodle.
  3. Create a user with a strong password.
  4. Assign the user to the database with all privileges.

Write down: database name, username and password.

Step 4: Create the data folder (moodledata)

Moodle needs a folder outside the public web to store course files. For example:

/home/user/moodledata

Create this folder from cPanel’s File Manager or via FTP, outside public_html.

Step 5: Run the installer

  1. Open your browser and go to https://yourdomain.com.

  2. The Moodle installation wizard opens automatically.

  3. Follow the steps:

    • Language: choose the language.
    • Paths: confirm the Moodle path and the moodledata folder.
    • Database: enter your database details.
    • Installation: wait for it to finish.
    • Administrator account: create the admin user.

[Imagen sugerida: screenshot of the Moodle installation wizard]

Initial configuration after installation

Once Moodle is installed, it’s worth:

  1. Configuring mandatory SSL. In Site administration → Security → HTTP security, enable mandatory HTTPS.
  2. Configuring the email method. In Site administration → Server → Email settings, configure SMTP.
  3. Configuring user registration. Decide whether they can register freely or you create them.
  4. Creating your first course. In Site administration → Courses → Manage courses.
  5. Configuring backups. Moodle allows automatic course backups.
  6. Installing a theme. Choose a design suitable for your institution.

Useful tips

  • Moodle needs generous PHP memory. If you have memory errors, raise memory_limit from cPanel.
  • Configure Moodle’s cron. Moodle needs a script to run every minute for maintenance tasks. Configure it from cPanel → Cron jobs.
  • Use a secure moodledata folder. It must be outside the public web.
  • Don’t install too many plugins at first. Moodle is powerful out of the box; add plugins as you need them.
  • Back up courses. Moodle allows exporting courses to recover them if something fails.

Common problems

Moodle shows memory error

Raise PHP’s memory_limit. In cPanel: Software → Select PHP Version → Options → memory_limit. Set it to 512M or more.

Emails aren’t sent

Configure SMTP in Site administration → Server → Email settings. Try your host’s SMTP or an external one like Gmail.

Moodle is slow

Enable cache in Site administration → Plugins → Cache. Check that your hosting plan has sufficient resources.

Students don’t receive notifications

Check that Moodle’s cron is configured and runs. Without cron, Moodle doesn’t process message queues.

I can’t upload large files

The upload limit depends on PHP configuration. Raise upload_max_filesize and post_max_size from cPanel.

Frequently asked questions

Is Moodle free?

Yes, the Moodle software is free and open source. What may have a cost are paid plugins or themes.

Can I charge for my courses?

Yes. Moodle allows integrating payment gateways (PayPal, Stripe) to sell courses.

How many students can my Moodle have?

It depends on your hosting. For thousands of students, you need a VPS or dedicated server. For small or medium academies, good shared hosting is usually sufficient.

Does Moodle need maintenance?

Yes. Like any software, it needs to be updated and backed up. If you have a maintenance plan, we handle it.

Can I customize the design?

Yes. Moodle allows changing the theme (template) and there are free and paid themes.

Create your virtual campus with Moodle

Moodle is the world’s most widely used e-learning platform for a reason: it’s powerful, flexible and free. If you want to teach online courses, it’s one of the best options.

If you need suitable hosting for Moodle, at miHosting we have plans with PHP 8.x, free SSL, MariaDB and the necessary memory. For academies with many students, we also offer managed VPS. Open a ticket from your client panel and we’ll advise you.