Showing posts with label Moodle. Show all posts
Showing posts with label Moodle. Show all posts

Friday, March 19, 2010

Problems in installing Moodle

Moodle is an open source project which is basically a Content Management System (CMS).

  • You have to download moodle latest version from the moodle website. http://download.moodle.org/. (Remember when you download ,it will have many versions.But always try to use a stable version of it.For instance don't use "moodle-version+" .Because they are updating weekly.Normally for latest versions ,you need to have PHP 4.3.0, MySQL 4.1.16 or Postgres 8.0 or MSSQL 9.0 or Oracle 9.0)
  • Above user guide lines won't enough .Some problems may occur.So you have to explicitly rename the config---.php file in to config.php which is there in your downloaded .zip file and make the following changes in the config.php file.
  • Suppose you have installed wamp server(or any compatible server as mentioned above) at C:\wamp\
  • $CFG->dbtype = 'mysql'; // mysql or postgres7 (for now)
  • $CFG->dbhost = 'localhost'; // eg localhost or db.isp.com
  • $CFG->dbname = 'moodle'; // database name, eg moodle
  • $CFG->dbuser = 'root'; // your database username
  • $CFG->dbpass = ''; // your database password
  • $CFG->prefix = 'mdl_';
  • $CFG->wwwroot = 'http://localhost/moodle' //your root folder
  • $CFG->dirroot = 'C:\wamp\www\moodle' // your working directory (if you really work with )
  • $CFG->dataroot = 'E:\wamp\www\moodledata' // directory where moodle keeps your custom data

  • Then go to local host from your browser and you only have to do some clicks of next,next,next...And enjoy moodle. A pretty useful CMS.