Installing Chamilo on localhost

A local installation guide for Chamilo LMS, setting up a lightweight online learning and course platform at http://localhost/chamilo.


Chamilo is an open-source LMS platform that emphasizes ease of use and quick deployment, making it suitable for training institutions and small to medium-sized enterprises for online training. Compared to Moodle, it has lower resource consumption in certain scenarios.

Prerequisites

  • PHP 7.4+ or 8.x (refer to the Chamilo documentation)
  • MySQL/MariaDB
  • Apache + mod_rewrite or Nginx
  • Extensions: gd, intl, mbstring, curl, zip, etc.

Installation Steps

  1. Download Chamilo LMS from chamilo.org or GitHub.
  2. Extract to htdocs/chamilo/.
  3. Create a database chamilo_local in phpMyAdmin with character set utf8mb4.
  4. Ensure directories like app/cache/, app/upload/, and main/default/courses/ are writable.
  5. Access http://localhost/chamilo in your browser.
  6. Configure the database and admin account according to the installation wizard.

Database Configuration

ItemValue
Database Hostlocalhost
Database Namechamilo_local
Userroot
PasswordLocal MySQL password

Common Paths

PathDescription
/chamiloPlatform homepage / Login
/chamilo/main/adminAdmin area
/chamilo/main/inc/Core include files (do not modify)

Comparison with Moodle

ItemChamiloMoodle
PositioningEasy deployment, training-orientedComprehensive features, large plugin ecosystem
Data DirectoryMostly configured within installation directorySeparate moodledata
ResourceRelatively lowerRelatively higher

Frequently Asked Questions

Unable to write after installation
On Linux/macOS, execute chmod or chown on directories like app/cache, upload, etc., for the web user.

URL Rewriting
Enable Apache mod_rewrite; use the official .htaccess provided.

Version and PHP
Older versions of Chamilo may not support PHP 8.2+, please refer to the official compatibility table.

Conclusion

Chamilo can be accessed locally at http://localhost/chamilo, and can be installed with PHP + MySQL, making it suitable for lightweight LMS and training course prototype development.

访客计数:------ Best viewed in Netscape Navigator · 800×600 © LocalHost Run