Parse and fatal error on xp

Parse and fatal error on xp

د Pontus Sörlin لخوا -
د ځوابونو شمیر: 2
Hi!
And thanks for a wonderful software solution.

However, I just tried to install moodle on windows xp, IIS 5, MySQL.

When I try to reach the admin/index.php in my browser, I get this:

Parse error: parse error, unexpected ':' in C:Inetpubwwwrootmoodleconfig.php on line 58

Fatal error: Call to undefined function: check_php_version() in C:Inetpubwwwrootmoodleadminindex.php on line 8

My settings are:
$CFG->dbtype = "mysql";
$CFG->dbhost = "XXX.XX.XX.XX"; /my IP
$CFG->dbname = "moodle";
$CFG->dbuser = "root";
$CFG->dbpass = "XXXXXXXXX"; /my root-login

$CFG->wwwroot = "http://XXX.XX.XX.XX/moodle";

$CFG->dirroot = C:Inetpubwwwrootmoodle";

$CFG->dataroot = C:moodle";

$CFG->buggy_referer = false;

I suspect it has something to do with the index.php page, which I have not been able to understand how to change to default on xp. Maybe someone here knows it. Or is it my settings that are wrong somehow?

I have other php-programs like phpcollab which works fine through the browser, so I'm a little confused. Probably it's an easy solution to this (i hope?).

Many thanks in advance. (and happy new year!)
/Pontus Sörlin
د درجې بندۍ اوسط:  -
In reply to Pontus Sörlin

Re: Parse and fatal error on xp

د Martin Dougiamas لخوا -
د Core developers انځور د Documentation writers انځور د Moodle HQ انځور د Particularly helpful Moodlers انځور د Plugin developers انځور د Testers انځور
The line with $CFG->dirroot is missing a double quote " before the C. موسکا