dbtype = 'mariadb'; $CFG->dblibrary = 'native'; $CFG->dbhost = 'localhost'; $CFG->dbname = 'moodledbname'; $CFG->dbuser = 'moodledbuser'; $CFG->dbpass = 'moodledbpassword'; $CFG->prefix = 'mdl_'; $CFG->dboptions = array ( 'dbpersist' => 0, 'dbport' => '', 'dbsocket' => '', 'dbcollation' => 'utf8mb4_general_ci', ); $CFG->wwwroot = 'https://url.of.your.site'; $CFG->dataroot = '/var/www/path/of/your/moodledata'; $CFG->admin = 'admin'; $CFG->directorypermissions = 02777; $CFG->showcampaigncontent = false; // Prevent display of campaign section $CFG->showservicesandsupportcontent = false; // Prevent display of support and services section $CFG->site_is_public = false; // Prevent display of Moodle registration reminder require_once(__DIR__ . '/lib/setup.php'); // There is no php closing tag in this file, // it is intentional because it prevents trailing whitespace problems!