Appearance
Shared Hosting Installation
This guide will help you install Mentor LMS on a shared hosting server (cPanel, Plesk, or similar hosting environments).
Server Requirements
PHP Version
- PHP >= 8.2 (PHP 8.3 recommended for best performance)
PHP Extensions
The following PHP extensions must be enabled on your server:
- BCMath PHP Extension - For arbitrary precision mathematics
- Ctype PHP Extension - For character type checking
- cURL PHP Extension - For handling URL requests
- DOM PHP Extension - For handling XML and HTML documents
- Fileinfo PHP Extension - For file type detection
- JSON PHP Extension - For JSON handling
- Mbstring PHP Extension - For handling UTF-8 strings
- OpenSSL PHP Extension - For secure connections and encryption
- PCRE PHP Extension - For regular expression support
- PDO PHP Extension - For database connections
- Tokenizer PHP Extension - For processing PHP code
- XML PHP Extension - For XML processing
- symlink() function - For public access of storage files
Important
symlink() function - Required for creating secure file storage links and managing public file access. Enable it from disable_functions = "" of your php settings section or contact with your hosting provider.
Server Configuration
PHP Settings
Recommended PHP configuration for handling large video uploads:
memory_limit: 512MB (minimum)upload_max_filesize: 512MB (recommended)post_max_size: 512MB (recommended)max_execution_time: 600 (recommended)max_input_time: 600 (recommended)upload_tmp_dir: Path to a directory with sufficient spacefile_uploads: On
Installation Steps
Step 1: Create Database
- Log in to your cPanel or hosting control panel
- Navigate to MySQL Databases section
- Create a new database and collect the credentials.
- Database name:
your_database_name - Database username:
your_database_username - Database password:
your_database_password
- Database name:
Step 2: Upload Files
- Log in to your cPanel
- Open File Manager
- Navigate to
public_htmldirectory (or your domain's root directory) - Click Upload button
- Upload the Mentor LMS ZIP file
- Once uploaded, select the ZIP file
- Click Extract to extract all files
- After extraction, rename
.env.examplefile to.env
Step 3: Access Web Installer
- Open your web browser
- Navigate to your domain:
https://your-domain.com - You will be automatically redirected to the installation wizard
- If not redirected, manually visit:
https://your-domain.com/install/step-1
Need Help?
If you encounter issues during installation:
- Check our Troubleshooting Guide
- Review Common Problems
- Contact support at support@ui-lib.com
Professional Installation
If you prefer not to install manually, we offer professional installation services. Our team will handle the complete setup for you.

