---
title: How to install Moodle on Cyberpanel VPS server.
description: "**Installing Moodle on Cyberpanel is a very simple process that can be achived by following steps below.** 1. **Requirements Php 8.1 and above Mariadb 10.6 and above** **Latest version of Moodle.** **Latest version of Cyberpanel** **2. Go to cyberpanel and…"
url: "https://truehost.com/support/knowledge-base/how-to-install-moodle-on-cyberpanel-vps-server/"
updated: "2024-09-19"
category: Cyberpanel
---

# How to install Moodle on Cyberpanel VPS server.

**Installing Moodle on Cyberpanel is a very simple process that can be achived by following steps below.**

1. **Requirements
Php 8.1 and above
Mariadb 10.6 and above**

**Latest version of Moodle.**

**Latest version of Cyberpanel**

**2. Go to cyberpanel and create a website where you will install moodle.
In my case it is moodle.lintsawa.com**

**3. Visit moodle website and download the latest moodle archive.**

[Download Moodle Here](https://download.moodle.org/releases/latest/)

**At time of writing, the latest version is Moodle 4.4.3+ .**

![](http://truehost.com/support/wp-content/uploads/2024/09/moodle-1.png)

4. **Go to your domain public_html folder and uplaod the zip file there.**

![](https://truehost.com/support/wp-content/uploads/2024/09/moodle-upload.png)

5. **Extract the zip file.**

6. **Navigate to the moodle directory/folder where the extracted files are and move them to public_html folder.**

**7. Create a database for your application on cyberpanel.**

![](http://truehost.com/support/wp-content/uploads/2024/09/moodle-5.png)

8. **On your browser open your domain in the path moodle.lintsawa.com/install.php**

**Installation**

**i) Choose Your language**

![](http://truehost.com/support/wp-content/uploads/2024/09/moodle-2-1024x466.png)

**ii) Confirm paths
Leave as default**

![](http://truehost.com/support/wp-content/uploads/2024/09/moddle-3.png)

**iii) Database
Choose database driver - Leave default.**

![](http://truehost.com/support/wp-content/uploads/2024/09/moodle-4.png)

**iv) Database settings - At this point, ensure you've created a database from Cyberpanel.**

![](http://truehost.com/support/wp-content/uploads/2024/09/moodle-6.png)

**v) Confirm**

**vi) Server checks**

You might run into the 2 errors below:

**a) Wrong $CFG->dbtype. You need to change it in your config.php file from 'mysqli' to 'mariadb'.**

![](http://truehost.com/support/wp-content/uploads/2024/09/moodle-7-1024x130.png)

**Just edit the config.php file as directed and all should be good.
Note: The file does not initially exist but will be autocreated. Refresh your browser page and check**

![](http://truehost.com/support/wp-content/uploads/2024/09/moodle-8.png)

**b) max_input_vars must be at least 5000.
Go to Cyberpanel -> Php -> Edit PHP configs -> Click Advanced Tab -> Select your PHP version.**

**Look for max_input_vars and edit to value above 5000
Also remove the semi-colon ';' for the changes to take effect.**

**Save changes and Restart PHP.**

![](https://truehost.com/support/wp-content/uploads/2024/09/image-62-1024x509.png)

At this point, Ensure you see :**Your server environment meets all minimum requirements.**

**vii) System**

**This may take a while to load all modules.**

**viii) New settings - Site home settings**

**Fill in your site details.**

![](http://truehost.com/support/wp-content/uploads/2024/09/moodle-9-1024x611.png)

![](http://truehost.com/support/wp-content/uploads/2024/09/moodle-10-1024x603.png)

**ix) Complete your site registration**

**9. Once done, complete the setup and you're all good to go.**

![](https://truehost.com/support/wp-content/uploads/2024/09/image-63-1024x577.png)

All done. You have successfully installed Moodle on Cyberpanel VPS server.
