Configuration reference: system settings

This is the actual reference for configuration settings. The following explanations have been taken from help pages, forum posts, and comments in source code.

Default parameters

These are settings that have been created by the installer, derived from config-dist.php. Most parameters are compulsory in order for Moodle to operate, so be careful when changing any of them. The parameters are listed in the order in which they appear by default in config.php:

Parameter

Description

$CFG->dbtype (String)

The database system that is used. The four valid values are mysql (MySQL), pgsql (Postgres), mssql (MS SQL Server), mariadb (MariaDB), and oci (Oracle).

$CFG->dblibrary (String)

Currently only native is ...

Get Moodle 3 Administration - Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.