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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.