Vista interferes (I think) with the moodledata folder creation. So to install in Vista:
- Download XAMPP
- Install according to directions on your local drive in c:\xampp
Now you need to put the Moodle files in the right place. Download the standard package (you won't need the Windows install package).
- Unpack the zip file into the c:\xampp\htdocs directory. You should have a folder c:\xampp\htdocs\moodle that has all the moodle files in it.
- Create a directory c:\xampp\htdocs\moodledata
- I am not sure if this step is needed, but it worked for me.
- Right-click on the folder moodledata, select Properties, then select the Security tab.
- Click on Everyone in the top window (Group or User Names) then click Edit.
- Check to allow read and write permissions for Everyone (List folder contents and Read & Execute should already be checked - don't know if they need to be or not).
- Now you will have to modify the configuration file. Open Notepad or a similar text editor. Copy this and paste it into Notepad:
unset($CFG);
$CFG->dbtype = 'mysql';
$CFG->dbhost = 'localhost';
$CFG->dbname = 'moodle';
$CFG->dbuser = 'root';
$CFG->dbpass = '';
$CFG->dbpersist = false;
$CFG->prefix = 'mdl_';
$CFG->wwwroot = 'http://localhost/moodle';
$CFG->dirroot = 'C:\xampp\htdocs\moodle';
$CFG->dataroot = 'C:\xampp\htdocs/moodledata';
$CFG->admin = 'admin';
$CFG->directorypermissions = 00777; // try 02777 on a server in Safe Mode
$CFG->unicodedb = true; // Database is utf8
require_once("$CFG->dirroot/lib/setup.php");
// MAKE SURE WHEN YOU EDIT THIS FILE THAT THERE ARE NO SPACES, BLANK LINES,
// RETURNS, OR ANYTHING ELSE AFTER THE TWO CHARACTERS ON THE NEXT LINE.
?>
Now save the file in c:\xampp\htdocs\moodle\config.php If you are using Notepad, you will need to type this in the Save As box, "config.php" otherwise it will save it as config.php.txt which won't work.
Now you are ready to configure Moodle. Go to your browser and type: http://localhost/moodle and it should bring up the normal configuration screens. Everything from that point forward is like a normal installation.
I did this, and Moodle runs perfectly well in Vista.
I hope this helps you!