Solution Link: http://docs.moodle.org/en/Installing_Moodle_on_Windows_Vista
Many people tried to install Moodle on Windows Vista, but got a blank screen after database config. This is due to some Vista permission issue. This method is from a Moodle forum and might help Moodle installation.
A. Create a “moodledata” directory somewhere on your PC ( May be c:\wwwroot\moodledata ) Not sure if this step is needed, but it worked.
1. Right-click on the folder moodledata, select Properties, then select the Security tab.
2. Click on “Everyone” (“Users” on some machines) in the top window (Group or User Names)
then click Edit.
3. Check to allow read and write permissions for Everyone (List folder contents and Read &
Execute should already be checked)
B. Create config.php in your main Moodle directory
unset($CFG); $CFG->dbtype = 'mysql'; //Database Type $CFG->dbhost = 'localhost'; //Database Host $CFG->dbname = 'moodle'; //Database Name $CFG->dbuser = 'root'; //Database User $CFG->dbpass = ; //Database Password $CFG->dbpersist = false; $CFG->prefix = 'mdl_'; //Table Prefix $CFG->wwwroot = 'http://localhost/moodle'; //Location where moodle is accessed $CFG->dirroot = 'C:\wwwroot\moodle'; //Directory of Moodle $CFG->dataroot = 'C:\moodledata'; //Directory of moodledata folder (Created in step 1, //should be inaccessible through HTTP) $CFG->admin = 'admin'; $CFG->directorypermissions = 00777; // try 02777 on a server in Safe Mode $CFG->unicodedb = true; // If 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. ?>
C. Go to your browser and type your moodle URL. You should get a screen that allows you to continue installation.
Version: PHP5.2.9-2, Moodle Weekly19