This solution didn't resolve anything for me.
Yes, I have checked the openbasedir setting in php.ini, but it is commented out.
Here's a copy of our config.php (without comments) :
<?PHP // $Id: config-dist.php,v 1.52 2004/03/12 07:34:14 moodler Exp $
unset($CFG); // Ignore this line
$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 = *****; // your database username
$CFG->dbpass = *****; // your database password
$CFG->prefix = 'mdl_'; // Prefix to use for all table names
$CFG->dbpersist = false; // Should database connections be reused?
// "false" is the most stable setting
// "true" can improve performance sometimes
$CFG->wwwroot = 'http://rpntest1.rpn.ch/moodle';
$CFG->dirroot = 'D:\Inetpub\wwwroot\moodle';
$CFG->dataroot = 'C:\moodledata';
$CFG->directorypermissions = 0777;
$CFG->admin = 'admin';
//=========================================================================
// ALL DONE! To continue installation, visit your main page with a browser
//=========================================================================
if (file_exists("$CFG->dirroot/lib/setup.php")) { // Do not edit
include_once("$CFG->dirroot/lib/setup.php");
} else {
if ($CFG->dirroot == dirname(__FILE__)) {
echo "<p>Could not find this file: $CFG->dirroot/lib/setup.php</p>";
echo "<p>Are you sure all your files have been uploaded?</p>";
} else {
echo "<p>Error detected in config.php</p>";
echo "<p>Error in: \$CFG->dirroot = '$CFG->dirroot';</p>";
echo "<p>Try this: \$CFG->dirroot = '".dirname(__FILE__)."';</p>";
}
die;
}
?>