# Moodle 5.1

> Moodle 5.1 focuses on security via **directory restructure** and a **New Routing Engine**. It improves **AI access controls**, expands the **Course Overview**, and refines the **Activity Chooser**. Requires **PostgreSQL 15+**.

## A New Technical Foundation: Moodle 5.1 Focuses on Security and Usability

The release of Moodle 5.1 marks a critical architectural evolution, emphasizing enhanced security, cleaner code structure, and deep usability improvements, particularly in the reporting and content creation areas. While Moodle 5.0 introduced groundbreaking AI features, 5.1 focuses on consolidating the platform's infrastructure by debuting a significant directory restructure and a new routing engine. This version ensures Moodle is built for maximum performance and future stability.



### Major Advancements for Teachers and Managers

The most strategic updates in Moodle 5.1 focus on modernizing the platform's architecture and streamlining the educator workflow.

#### 1. Architectural Restructure and Routing Engine

Moodle 5.1 implements a major structural change that enhances security and modernizes URL management:

* **Directory Restructure:** Moodle code directories are restructured to include a new **/public** directory. This is a critical security enhancement that requires web servers to point their document root to this directory, preventing direct access to sensitive core files.
* **New Routing Engine:** A new **Routing Engine** is introduced to improve how requests are handled and enable cleaner, more user-friendly URLs across the platform.

#### 2. Advanced AI Controls and Integration

The platform continues its integration of Artificial Intelligence with greater governance and expanded capabilities:

* **User Access Controls:** Administrators and teachers now have fine-grained **user access controls at the course and activity level** for AI tools, enabling strict policy enforcement.
* **New Provider:** Support for the new AI provider **Deepseek** is added, increasing choice and flexibility.

#### 3. Streamlined Course Overview and Activity Chooser

The new centralized course management views introduced in 5.0 are significantly expanded and improved:

* **Expanded Course Activities Overview:** The central overview page now includes index integration for numerous additional activities, including **Quiz, SCORM, H5P, Glossary, Forum, and Wiki**. This allows instructors to see critical management data for almost all core activities from one screen.
* **Activity Chooser Redesign:** The Activity Chooser receives usability enhancements, including the replacement of standard categories with **purpose categories** (e.g., Assessment, Collaboration), a new dedicated **details panel** for activity information, and clear indicators of whether an activity is gradable.

#### 4. Assessment and Reporting Power

The Assignment and Report Builder tools are refined to maximize clarity and customization:

* **Assignment Grader Resizing:** Instructors can now **drag and resize the grading and PDF panels** in the Assignment grader, allowing them to optimize screen space based on the size of the assignment and rubric.
* **Report Builder Expansion:** New report sources are added for **Forum Discussions** and **Site Messages**, and the ability to filter user reports by **"Never accessed"** is introduced.




### Other Noteworthy Improvements and Fixes

Moodle 5.1 includes numerous smaller, high-value enhancements across the platform:

* **TinyMCE:** The editor gains support for **TinyMCE Premium on-premise** features and improved styling for image/media adding.
* **Enrollment:** When manually enrolling a user, administrators can now **select a group** and set a **start date** for the enrollment.
* **Usability:** **Password-reset protection (CAPTCHA)** is added to the forgotten password page, and a basic **URL shortener** is implemented for links, including assignment SMS notifications.
* **Font Awesome:** The icon library is enhanced with better **Font Awesome 6** utilization across the site.


## Essential System Requirements for Moodle 5.1

Moodle 5.1 requires a further upgrade in database technology to maintain peak performance and security.

| Component | Minimum Required Version | Key Considerations |
| :--- | :--- | :--- |
| **PHP** | **8.2.0** | PHP 8.3.x is supported. The minimum version was increased in Moodle 5.0. |
| **PostgreSQL** | **15** | **Increased requirement from 5.0.** |
| **MySQL** | **8.4** | |
| **MariaDB** | **10.11.0** | |
| **Database Prefixes:** | **Maximum 10 characters** | |
| **Web Server Config:** | **Must point to `/public` directory** | Required for new security structure; may cause site loading issues if not configured correctly. |




## Partnering for Success: Comprehensive LMS Service Provision

Upgrading to Moodle 5.1 requires mandatory web server configuration changes due to the new `/public` directory and the Routing Engine. We offer comprehensive LMS services, specializing in the strategic implementation, customization, and seamless hosting of leading platforms, including **Moodle**, **Tutor**, and **Canvas**. Whether you require expert assistance with the new architectural migration, bespoke feature development to take advantage of these new capabilities, or robust integration services, our team ensures your platform is optimized for peak performance, security, and exceptional learner engagement, turning your digital learning strategy into a distinct competitive advantage.
