How to Install Moodle Application Manually via cPanel



1. Download Moodle Installation File.


1.1. Open the official website of Moodle https://download.moodle.org/

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

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

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


2. Create a Subdomain.


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




3. Upload Moodle Software on the Server


3.1. we advise you to upload the zip file(compressed file) on cPanel File Manager.Make sure you upload it in your public_html folder

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

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

3.4. 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


4.1. Log in to your cPanel account.Go to the DATABASES section and click on MySQL® Database Wizard.

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

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

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

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




5. Create a Data Directory


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

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

5.3. The New Folder pop-up window will appear.

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




6. Install Moodle


6.1. Open your Moodle URL with a web browser. The URL should be like: domainname/moodle/install.php

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

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

6.4. 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.

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

6.6. 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.

6.7. You are almost done! For the final step, enter the appropriate details for the Database settings and click Next >>.

That is how you install Moodle manually with cPanel.


Was this article helpful?

mood_bad Dislike 0
mood Like 1
visibility Views: 2013