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.
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.
Method 1: Install Moodle with Softaculous (recommended)
Step 1: Open Softaculous
- Log in to cPanel.
- Find Softaculous Apps Installer.
- Click Moodle.
Step 2: Configure the installation
-
Click Install Now.
-
Fill in the details:
Field What to enter Protocol https://(with SSL)Domain The domain where you want Moodle In Directory Empty or a folder like campusSite Name Your campus name Admin Username Your administrator username Admin Password A strong password Admin Email Your email -
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
- Go to the official website (moodle.org).
- Download the latest version in ZIP or TGZ format.
Step 2: Upload the files
- Connect via FTP or use cPanel’s File Manager.
- Go to
public_htmlor a folder likecampus. - Upload the Moodle ZIP file.
- Unzip it.
Step 3: Create the database
- In cPanel, go to MySQL Databases.
- Create a database, for example
user_moodle. - Create a user with a strong password.
- 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
-
Open your browser and go to
https://yourdomain.com. -
The Moodle installation wizard opens automatically.
-
Follow the steps:
- Language: choose the language.
- Paths: confirm the Moodle path and the
moodledatafolder. - 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:
- Configuring mandatory SSL. In Site administration → Security → HTTP security, enable mandatory HTTPS.
- Configuring the email method. In Site administration → Server → Email settings, configure SMTP.
- Configuring user registration. Decide whether they can register freely or you create them.
- Creating your first course. In Site administration → Courses → Manage courses.
- Configuring backups. Moodle allows automatic course backups.
- Installing a theme. Choose a design suitable for your institution.
Useful tips
- Moodle needs generous PHP memory. If you have memory errors, raise
memory_limitfrom 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.