The best self-hosted LMS options in 2026 are Moodle, Open edX, Canvas LMS (open source edition), Chamilo, ILIAS and WordPress with an LMS plugin, plus commercial self-hostable products. Moodle is the default choice for most universities and corporate academies because of its maturity, plugin ecosystem and hosting flexibility. Open edX suits large-scale course delivery and MOOCs, Canvas suits teams that want the Instructure experience and can run a Ruby stack, and ILIAS and Chamilo are strong, simpler open source alternatives.
Self-hosting gives you control over data, compliance and customisation, but it also transfers responsibility for hosting, upgrades, security and backups to you. This guide explains when self-hosting makes sense, reviews each candidate with requirements checked against official documentation in September 2026, and compares them in one table so you can shortlist quickly.
Self-hosted vs SaaS LMS: when self-hosting makes sense
Self-hosting is not automatically cheaper or more secure. It is the right call when one or more of these apply:
- Data control: you must know exactly where learner data lives, who can access it and how long it is kept, or you need direct database access for analytics.
- Compliance: contracts, sector regulation or data residency rules require hosting in a specific jurisdiction or on your own infrastructure.
- Cost structure: per-user SaaS pricing becomes expensive at scale, and you prefer predictable infrastructure and support costs.
- Customisation: you need custom plugins, integrations or workflows that a SaaS vendor will not support.
SaaS is usually better when you have no in-house or partner operations capability, a small learner base, or a need to launch in days rather than weeks.
What self-hosting really involves
Whatever platform you choose, budget for these responsibilities:
- Hosting and capacity: web servers, database, file storage, caching, background job runners, and a plan for peak loads such as exam periods.
- Upgrades: core releases, plugin compatibility testing, and runtime upgrades such as PHP, Ruby, Python or database versions.
- Security: patching, TLS, hardening, access control, vulnerability monitoring, and incident response. See our LMS security checklist.
- Backups and recovery: tested restores, not just scheduled backups, with defined recovery time and recovery point objectives.
- Monitoring: uptime, performance, cron and queue health, disk growth and error logs.
Security deserves particular attention. With SaaS, the vendor patches the application and infrastructure; when you self-host, every layer is yours, from the operating system and web server to the LMS core, every plugin and every integration credential. In practice that means subscribing to each project's security announcements, applying security releases within days rather than at the next quarterly upgrade, restricting administrator access with SSO and multi-factor authentication, and keeping an audit trail of changes. Data protection obligations, such as responding to access and deletion requests, also sit with you, so confirm the platform supports them before launch.
The best self-hosted LMS platforms
Moodle
Moodle is open source (GPL) and one of the most widely deployed self-hosted LMS platforms in the world. Moodle 5.2, released in April 2026, is the current stable release, and Moodle 5.3 is scheduled as the next long-term support (LTS) release in October 2026; Moodle 4.5 LTS remains in security support until October 2027. Moodle 5.2 requires PHP 8.3 or later (8.4 supported), and supports PostgreSQL 16+, MySQL 8.4+, MariaDB 10.11+ and SQL Server 2019+. Since Moodle 5.1, web-accessible files live in a public directory, which changes web server configuration on upgrade.
Best for: universities, schools and corporate academies that need rich assessment, a huge plugin directory and many hosting partners. If Moodle feels too heavy or dated for your audience, our Moodle alternatives article covers when to look elsewhere.
Open edX
Open edX is the open source platform behind edX, built on Python and Django, with its core platform licensed under the AGPLv3. It ships as named releases, with Verawood the current release in mid-2026 and Willow planned for December 2026. The recommended deployment tool is Tutor, the official Docker-based distribution, which also supports Kubernetes for larger installations.
Best for: large-scale course delivery, MOOCs and organisations with DevOps capacity. Operating Open edX well requires container and Python skills.
Canvas LMS (open source)
Instructure publishes Canvas LMS under the AGPLv3 licence. The self-hosting guide recommends Ubuntu, Ruby 3.4 or later, PostgreSQL 14 or later, Redis 6 or later, Node.js, a background job daemon and at least 8 GB of RAM for a single-server setup. Support for self-hosted installs comes from the community rather than Instructure.
Best for: institutions that want Canvas's teaching experience and have Ruby operations skills. Features available in Instructure's hosted service are not guaranteed in the open source edition, so compare carefully.
Chamilo
Chamilo is a GPLv3 LMS focused on ease of use. Chamilo 2.0, a major rewrite on Symfony and Vue.js, was released in April 2026 and has since received point releases. It runs on PHP 8.3 or later with MariaDB or MySQL. The maintainers advised waiting for version 2.1 before migrating large 1.11 portals, and noted that many plugins were still being restored.
Best for: schools, NGOs and training providers wanting a simple, lightweight platform.
ILIAS
ILIAS is a GPL-3.0 LMS widely used in European higher education and public sector organisations. ILIAS 11 supports PHP 8.3 and 8.4, MariaDB 10.5 to 10.11 or MySQL 8.0.21 and later, Apache or nginx, and uses Java for supporting services such as search.
Best for: organisations that value strong built-in test and assessment tools, role-based permissions and a long-lived open source governance model.
WordPress with an LMS plugin
WordPress with a plugin such as LearnDash, Tutor LMS or LifterLMS is a self-hosted stack that suits course businesses selling online. It is easy to host, strong on marketing pages and e-commerce, and cheaper to customise for many teams. It is weaker for complex academic workflows and compliance reporting. Our best WordPress LMS plugins comparison covers the choice of plugin.
LMS Advisor
LMS Advisor is a commercial LMS that can be self-hosted on standard PHP and MySQL servers or used as a cloud service. It includes course authoring, proctored exams, certification with expiry, SCORM 1.2 and 2004, xAPI with a built-in LRS, cmi5, LTI 1.3, SAML SSO and SCIM provisioning. Pricing is quoted per deployment rather than published. See LMS Advisor for details. Disclosure: LMS Advisor is built by our team.
Self-hosted LMS comparison table
| Platform | Licence | Core stack | Ops complexity | Strongest fit |
|---|---|---|---|---|
| Moodle | GPL | PHP 8.3+, PostgreSQL, MySQL, MariaDB or SQL Server | Moderate | Universities, corporate academies |
| Open edX | AGPLv3 (platform core) | Python, Django, Docker via Tutor | High | Large-scale courses, MOOCs |
| Canvas LMS | AGPLv3 | Ruby, PostgreSQL, Redis, Node.js | High | Higher education with Ruby skills |
| Chamilo | GPLv3+ | PHP 8.3+, Symfony, MariaDB or MySQL | Low to moderate | Simple, lightweight deployments |
| ILIAS | GPL-3.0 | PHP 8.3 or 8.4, MariaDB or MySQL, Java services | Moderate | Assessment-heavy, public sector |
| WordPress + LMS plugin | GPL core, plugins vary | PHP, MySQL or MariaDB | Low to moderate | Course businesses selling online |
| LMS Advisor | Commercial | PHP, MySQL | Low to moderate | Certification and proctored exams |
Always check each project's current release notes for exact version requirements before provisioning servers.
Hosting requirements in practice
Official minimums are rarely enough for production. As a starting point for any of these platforms:
- Separate the database from the web tier once you move beyond a pilot, and use managed database services if your team lacks DBA skills.
- Add an object cache (Redis or similar) and a CDN for static assets and video.
- Run scheduled tasks reliably: Moodle cron, Canvas job daemons and Open edX workers all break the platform quietly if they stop.
- Load test with realistic concurrency, especially for timed quizzes and exam windows.
- Keep staging identical to production so upgrades can be rehearsed.
Plan storage growth too. Video, SCORM packages, assignment submissions and course backups accumulate quickly, and backup windows lengthen as data grows. Object storage for files and a retention policy for old backups and logs keep both cost and recovery times under control.
How to choose
- List your non-negotiables: standards (SCORM, xAPI, LTI), SSO, reporting, assessment types, languages and accessibility.
- Match the stack to the skills you have or can contract: PHP platforms are easiest to staff, Ruby and Python platforms need specialist operations.
- Estimate five-year total cost: infrastructure, support, upgrades and custom development, not just licences.
- Run a proof of concept with real content and a real SSO connection before committing.
How we can help
We deploy, customise and run self-hosted LMS platforms, from Moodle and Open edX to WordPress and custom builds, with upgrades, monitoring and security handled for you. See our LMS maintenance and support services, or contact us for an independent shortlist based on your requirements.
Frequently asked questions
What is the best free self-hosted LMS?
Moodle is one of the most widely used free, open source self-hosted LMS platforms and fits most education and corporate needs. Open edX, Canvas, Chamilo and ILIAS are also free to use, but differ in operational complexity and focus.
Is a self-hosted LMS cheaper than SaaS?
It can be at larger scale, because you avoid per-user fees. Include hosting, upgrades, security, monitoring and staff or partner time in the comparison, since these costs are easy to underestimate.
What server do I need to self-host Moodle?
Moodle 5.2 needs 64-bit PHP 8.3 or later and a supported database such as PostgreSQL 16 or MySQL 8.4. Real sizing depends on concurrent users, so load test before launch and separate the database for production.
Can I move from a SaaS LMS to a self-hosted one later?
Yes, but plan the migration of users, completions, certificates and SCORM results carefully, and check what data your SaaS vendor lets you export before you sign.
Free 30-minute consultation
Not sure where to start? Talk to an LMS engineer.
Tell us what platform you run and what you need. You’ll get honest, practical advice - even if the answer is that you don’t need us.
Sources & references
- Moodle releases - Moodle
- Moodle 5.2 release notes and requirements - Moodle
- Open edX release notes - Open edX
- Canvas LMS Production Start - Instructure
- Chamilo v2.0.0 release announcement - Chamilo
- Required and supported software ILIAS 11 - ILIAS