Knowledge Base
MilesWeb / cPanel, How-Tos

How to Install Moodle Application Manually via cPanel?

Approx. read time : 3 min

It is easy to install Moodle via the Softaculous application. Refer to this article where you can Learn to Install Moodle on Subdomain. But, if you don’t have the 1-Click Installer, you can follow these steps to install the Moodle application manually with cPanel.

To Install Moodle

1. Download Moodle Installation File

1. Open the official website of Moodle.

2. Click the button under “Check out our latest release:

3. Download the zip file of the latest version of the Moodle application. You will find it at the top of the list.

You will now have the zip file of the Moodle software.

2. Create a Subdomain

Yes, you can install Moodle in a folder and access the software application with your web browser at http://yoursite.com/moodle.

However, we recommend you create a subdomain with cPanel for Moodle and access it using the address. It will allow you to access the application from any machine.

3. Upload Moodle Software on the Server

Moving further, you have to upload Moodle on the hosting server via FTP client or cPanel File Manager. You can either upload uncompressed or compressed Moodle files on the server with these applications.

Make sure you upload it in your public_html folder.

  • Then, click the Extract button to unarchive the files.

A window will pop up asking for a path for the Moodle folder.

  • Click the Extract Files button.

A folder named Moodle that will have all the application files will appear in the list of directories.

Now, set permission for the files so that they are not writeable by any unauthorized user.

  • Right-click the Moodle folder and select Change Permissions.

 

Confirm if the permissions are set to 755.

  • Open the Moodle folder and check if the regular files have permission set as 644.

4. Create Database for Moodle

1. Log in to your cPanel account.

2. Go to the DATABASES section and click on MySQL® Database Wizard.

3. Enter a name for the Moodle database and click Next Step.

4. Enter the username and password for the new Moodle database and click Create User.

5. Select All Privileges and click the Next Step button.

6. Click Return Home to go back to the main interface.

5. Create a Data Directory

After creating a database, moodle will require a directory in a secure location, preferably your home directory.

  • Open the File Manager tab and click on +Folder.

 

The New Folder pop-up window will appear.

  • Enter the name for the folder to store Moodle’s data and click Create New Folder.

6. Install Moodle

1. Open your Moodle URL with a web browser.

The URL should be like: domainname/moodle/install.php

It will begin the installation process that will have several pages.

2. Choose the Language for the installation and click Next >>.

3. Enter the appropriate details in the fields.

  • Web address: The address you will enter in the browser to access Moodle.
  • Moodle directory: The path to the directory you created for the Moodle code.
  • Data directory: The directory in the database you created for Moodle’s file content.

4. After entering all the details, click Next >>.

5. Select the Type of the database driver from the drop-down list and click Next >>.

You will have to choose it based on the database directory you created.

You are almost done!

6. Now, for the final step, enter the appropriate details for the Database settings and click Next >>.

And that is how you install Moodle manually with cPanel.

Prasad is a business grad specialized in Marketing. He has garnered experience as a technical content writer and a digital marketer that he brings out in his work. He likes reading classics and travel in his free time.

Trusted By Thousands of Clients & Big Businesses

We highly appreciate the kind and stellar feedback we receive from our customers. Delivering the best is our goal! MilesWeb is rated Excellent out of 5 based on reviews. Read more reviews.

Excellent
Based on reviews
2 hours ago
Perfect and Valuable Server + ...
I am using MilesWeb Servers, The main thing which I getting are continuous support over everything w...
Gunjan Makwana
4 hours ago
Milesweb is superb Hosting pro...
Milesweb is superb Hosting provider ever, their Support team is amazing!!!...
Abhishek Singh
15 hours ago
Great support in great timing...
We need urgent assistance on changes in a primary domain on our client's Cpanel accounts and reached...
Riyaju Deen
21 hours ago
Best Website Hosting platform ...
I was new on MilesWeb. And needed help on multiple areas from setting up to getting started with cre...
Harshada
1 days ago
Very quick and helpful assista...
Very quick and helpful assistance. Support person listened properly and provided a nice solution....
Narendra
1 days ago
the team is very supportive th...
the team is very supportive though at times effort needs to be made to make understand the problem s...
Suree Sharma
1 days ago
I am using miles web for 3plus...
I am using miles web for 3plus years, very quick and perfect support by the team, they helped me man...
Sri Raghav
2 days ago
The service is good...
The service is good. They are answering with patience and doing the needful as soon as possible....
MR
2 days ago
Perfect and Valuable Server + ...
I am using MilesWeb Servers, The main thing which I getting are continuous support over everything w...
Gunjan Makwana
3 days ago
Very quick and helpful assista...
Very quick and helpful assistance. Support person listened properly and provided a nice solution....
Narendra
4 days ago
positively helped me with find...
positively helped me with finding insecure content on my website causing SSL to not work properly on...
Thaviraj Junglee
4 days ago
Exceptional support, Truly Pra...
I had opted for the basic wordpress hosting plan as I intended to experiment with various plug-ins. ...
Aseem Chandna