I have installed 2.9.3. I am getting following error.
Fatal error: $CFG->dataroot is not configured properly, directory does not exist or is not accessible! Exiting. See below settings
$CFG->wwwroot = 'http://mysite.com';
$CFG->dataroot = '/home/vol14_7/example/user/moodledata/';
$CFG->admin = 'admin';
$CFG->directorypermissions = 0777;
require_once(dirname(__FILE__) . '/lib/setup.php');
I have installed elgg on the same server and elgg also has data directory. No problem. What is the problem with moodle. Installed using softaculous.