- Upload moodle 1.8 zip file to your website via ftp.
- Use Putty to unzip the file. This will make a moodle folder. Move that folder to where you want your url to point to. Change the name of the moodle folder to what ever you want.
- You MUST make a .htaccess file with this as its contents inside your moodle folder: AddType x-mapp-php5 .php
- You MUST make a php.ini with the following contents inside your moodle folder:
magic_quotes_runtime = 0
file_uploads = 1
session.auto_start = 0
session.bug_compat_warn = 0
upload_max_filesize = 128M
max_execution_time = 2400
memory_limit = 128M
post_max_size = 128M
SMTP = localhost
5. Your config.php file must have this layout. There is one extra line moodle makes which can be deleted from the config.php file.
$CFG->dbtype = 'mysql'; // mysql or postgres7 (for now) $CFG->dbhost = 'db123.yourdomain.net'; // eg localhost or db.isp.com $CFG->dbname = 'db123456789'; // database name, eg moodle $CFG->dbuser = 'dbo123456789'; // your database username $CFG->dbpass = 'yourpassword'; // your database password $CFG->prefix = 'mdl_'; // Prefix to use for all table names
Other variables must be defined as follows:
$CFG->wwwroot = 'http://www.yourdomain.com'; $CFG->dirroot = '/homepages/12/d123456789/htdocs/yourdirectory'; $CFG->dataroot = '/homepages/12/d123456789/htdocs/moodledata'; MY MOODLE IS NOW INSTALLED PERFECT!!! ENJOY! Yotsume