Created
December 13, 2021 20:29
-
-
Save jmmeacham/90cb763642969e0feee389f60bd5d64f to your computer and use it in GitHub Desktop.
config.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php // Moodle configuration file | |
unset($CFG); | |
global $CFG; | |
$CFG = new stdClass(); | |
$CFG->dbtype = 'mysqli'; | |
$CFG->dblibrary = 'native'; | |
$CFG->dbhost = 'localhost'; | |
$CFG->dbname = 'moodledb'; | |
$CFG->dbuser = 'moodleuser'; | |
$CFG->dbpass = 'rrevif123!'; | |
$CFG->prefix = 'mdl_'; | |
$CFG->dboptions = array ( | |
'dbpersist' => 0, | |
'dbport' => '', | |
'dbsocket' => '', | |
'dbcollation' => 'utf8mb4_unicode_ci', | |
); | |
$CFG->wwwroot = 'http://54.187.27.32/moodle'; | |
$CFG->dataroot = '/var/moodledata'; | |
$CFG->admin = 'admin'; | |
$CFG->directorypermissions = 0777; | |
require_once(__DIR__ . '/lib/setup.php'); | |
// There is no php closing tag in this file, | |
// it is intentional because it prevents trailing whitespace problems! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment