This is a fully functional E-Learning Management System built with PHP and MySQL. The system allows users to register as both students and teachers, enroll in courses, upload video lectures, take quizzes, earn certificates, and track progress. Admins can manage courses, students, teachers, and payments.
- User Roles: Students & Teachers
- Course Management: Create, edit, delete, and publish courses
- Video Lectures & Study Materials: Upload and manage course content
- Quiz & Assessment System: Interactive quizzes with scoring
- Certificates: Auto-generated certificates upon course completion
- Teacher Dashboard: Manage courses, earnings, and students
- Student Dashboard: Track progress, enrolled courses, and quiz scores
- Payment Gateway Integration: Secure payments for paid courses
Before installing, ensure you have:
- XAMPP (Apache, MySQL, PHP)
- PHP
- MySQL
- phpMyAdmin (for database management)
git clone https://github.com/sumaiyashah27/E-Learning-Management-System-PHP.git
cd E-Learning-Management-System-PHP
- Start XAMPP and ensure Apache & MySQL services are running.
- Open phpMyAdmin (
http://localhost/phpmyadmin/
). - Create a new database named
course-db
:
CREATE DATABASE course-db;
- Import the provided SQL file:
- Click on the database
course-db
. - Go to the Import tab and upload
database/course-db.sql
.
- Click on the database
Modify config.php
to match your XAMPP settings:
<?php
$servername = "localhost";
$username = "root";
$password = ""; // Default is empty in XAMPP
$dbname = "course-db";
$conn = new mysqli($servername, $username, $password, $dbname);
if ($conn->connect_error) {
die("Connection failed: " . $conn->connect_error);
}
?>
- Move the
E-Learning-Management-System-PHP
folder tohtdocs
inside your XAMPP installation. - Open XAMPP Control Panel and start Apache & MySQL.
- Open your browser and visit:
http://localhost/E-Learning-Management-System-PHP/
- Ensure XAMPP’s Apache & MySQL services are running.
- If a database connection error appears, verify
config.php
settings. - If the site does not load, ensure the project folder is inside
htdocs
. - Check for errors in
error_log
or enable debugging inphp.ini
by settingdisplay_errors=On
.
For any queries or support, feel free to reach out:
- Email: sumaiyashah647@gmail.com
- LinkedIn: Sumaiya Shah