I am trying to install on a hosted account where I did do a trial install of moodle 18 months ago. So I know it can be done!
It's unix, apache, has php and I set up a mysql db through the cpanel.
Uploaded all files as directory moodle/ placed in directory forest/ under public_html.
Put a directory called * data * in the *moodle * directory and put the .htaccess file in it.
Changed the * admin * directory to * moodleadmin * just in case. Also tried changing it back to just admin/ and changing the line in config.php to match.
In config.php put in db name, username, password
p>$CFG->dbtype = 'mysql'; // mysql or postgres7 (for now)
$CFG->dbhost = 'localhost'; // eg localhost or db.isp.com
$CFG->dbname = xxxxx; // database name, eg moodle
$CFG->dbuser = xxxxxx; // your database username
$CFG->dbpass = 'xxxxxx'; // your database password
$CFG->prefix = 'mdl_'; // Prefix to use for all table names
website location
$CFG->wwwroot = 'http://www.mysite.co.uk/forest/moodle';
server files
$CFG->dirroot = '/home/public_html/forest/moodle';
data files
$CFG->dataroot = '/home/public_html/forest/moodle/data';
data files permissions left as
$CFG->directorypermissions = 0777;
directory location changed to
$CFG->admin = 'moodleadmin';
Now I haven't done much with php though I'm used to chmod with perl. But I don't understand the instructions given with moodle as I'm used to setting file permissions with numbers like 755.
All the folders in * moodle * folder are 755. I set config.php at 755 and the other single php files (file help index tags & version) are 644.
I'm using the url www.mysite.co.uk/forest/moodle/admin
and I just get 404.