Mentor LMS Docs
Installation Guide

Shared Hosting Installation

How to install Mentor LMS on a shared hosting server using cPanel or Plesk.

This guide will help you install Mentor LMS on a shared hosting server (cPanel, Plesk, or similar environments).

Server Requirements

  • PHP >= 8.2 (PHP 8.3 recommended)
  • All required PHP extensions enabled (see Requirements)

symlink() Required

The symlink() function must be enabled. Contact your hosting provider if you're unsure.

Installation Steps

Step 1: Create Database

  1. Log in to your cPanel or hosting control panel
  2. Navigate to MySQL Databases
  3. Create a new database and note the credentials:
    • Database name
    • Database username
    • Database password

Step 2: Upload Files

  1. Log in to cPanel and open File Manager
  2. Navigate to public_html (or your domain's root directory)
  3. Upload the Mentor LMS ZIP file
  4. Select the ZIP file and click Extract
  5. Rename .env.example to .env

Step 3: Access Web Installer

  1. Open your browser and navigate to https://your-domain.com
  2. You will be automatically redirected to the installation wizard
  3. If not redirected, visit: https://your-domain.com/install/step-1

Professional Installation

If the web installer doesn't work, follow the manual installation steps below.

Step 4 (Optional): Manual Installation

Edit the .env file

Update the database credentials:

APP_URL=https://your-domain.com

DB_DATABASE=your_database_name
DB_USERNAME=your_database_username
DB_PASSWORD=your_database_password

Create the installed flag

  1. Navigate to storage/app/public in File Manager
  2. Create a new empty file named installed (no extension need)

Import the database

  1. In cPanel, open phpMyAdmin
  2. Select your database from the sidebar
  3. Click Import → Choose file
  4. Select the mentor-lms.sql file from your project
  5. Click Go to import

Temporary Admin Login

After manual installation, log in with:

  • Email: admin@example.com
  • Password: 12345678

Security Note

Change these default credentials immediately after your first login.

Need Help?

If you encounter issues during installation, contact support at support@ui-lib.com.

On this page