Configuration reference—system settings

This is the actual reference of configuration settings. 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 for Moodle to operate, so be careful when changing any of them. The parameters are listed in the following table 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 mysqli (MySQL), pgsql (PostgreSQL), mssql (MS SQL Server), and oci (Oracle).

$CFG->dblibrary (String)

Currently, only native is allowed as the entry ...

Get Moodle 2 Administration 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.