How to upload local mashin moodle project on cpanel

Re: How to upload local mashin moodle project on cpanel

by Usman Asar -
Number of replies: 0
Picture of Plugin developers Picture of Testers

Pandit, Moodle is based on 3 parts

1: Moodle Core Files (Moodle folder that is downloaded from moodle site)

2: moodledata folder (creates automatically when installing moodle)

3: database

You'll be using phpmyadmin to make backup copy of the database, dont worry about database username and passwords to be same, you can always alter them

zip moodledata and moodle folders and upload them to your cpanel root (for moodledata) and public_html (for moodle).

Use CPanel's interface to create a new database and assign user, then using phpmyadmin again on your CPanel account, import your database.

now make alteration to your config.php file (this time  it will be with domain name and give correct path to the moodledata folder, plus alter the database name, username and passwords for the database.

you're done!