Quantcast
Channel: Installing and upgrading help
Viewing all articles
Browse latest Browse all 46829

Re: Installing problems

$
0
0
by Osmildo Pereira dos Santos.  

Hello Howard. I followed these steps: 

Now, you have to find the file called config-dist.php in your moodle folder. make a copy of that file called config.php.  Edit config.php and supply the information needed - database type (mysqli), username, password (from the screen above).

$CFG->dbtype = 'mysqli'; // 'pgsql', 'mysqli', 'mssql', 'sqlsrv' or 'oci'
$CFG->dblibrary = 'native'; // 'native' only at the moment  do not change
$CFG->dbhost = 'localhost'; // eg 'localhost' or 'db.isp.com' or IP do not change
$CFG->dbname = 'u557442447_moodle'; // database name, eg moodle 
$CFG->dbuser = 'u557442447_242'; // your database username
$CFG->dbpass = 'password'; // your database user password - 242's password) 
$CFG->prefix = 'mdl_'; // prefix to use for all table names do not change

While you are there, also change the lines

$CFG->wwwroot = 'http://example.com/moodle';  // your website address with /moodle on the end

and

$CFG->dataroot = '/home/example/moodledata';  // probably '/home/u557442447/moodledata'

to the website and location of datafiles on your system.  

You need to create the moodledata folder on your local installation - you can do it at the same level as public_html.  The web root is your public_html folder.  

Be careful with the quotes and the semi-colons.

If these instructions are still not understandable, perhaps consider asking someone local who has some knowledge of websites and databases to help you with it.

BUT, What I am supposed to do with config-dist.php file?

I have made a copy of config.php from another version of moodle because in this version (2.4.2) I can't find it. And after doing all these things I access this address: http://englishsforfun.com/moodle/intall.php, that's when this message appears. 

What am I doing wrong? 

Please see the files attached to see if there is something wrong. 

 

Thank you. 


Viewing all articles
Browse latest Browse all 46829

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>