Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 1

<?

php // Moodle configuration file

unset($CFG);
global $CFG;
$CFG = new stdClass();

$CFG->dbtype = 'mysqli';
$CFG->dblibrary = 'native';
$CFG->dbhost = 'localhost';
$CFG->dbname = 'moodle';
$CFG->dbuser = 'root';
$CFG->dbpass = '';
$CFG->prefix = 'mdl_';
$CFG->dboptions = array (
'dbpersist' => 0,
'dbsocket' => 0,
);

$CFG->wwwroot = 'http://localhost/moodle'; change this into IP Address ex: 192.168.1.121


$CFG->dataroot = 'C:\\wamp\\moodledata';
$CFG->admin = 'admin';

$CFG->directorypermissions = 0777;

$CFG->passwordsaltmain = 'JIU6kqmPb)EMDFi?q=i<Xv1 T7';

require_once(dirname(__FILE__) . '/lib/setup.php');

// There is no php closing tag in this file,


// it is intentional because it prevents trailing whitespace problems!

You might also like