Aquesta pàgina forma part de la documentació de Moodle en català, tot i que no ha estat traduïda encara. Podeu contribuir obertament a les tasques de traducció. Podeu consultar la Guia d'edició de la documentació i també participar ens els debats del fòrum de traductors de la documentació a moodle.org

Installing Moodle on Windows Vista: diferència entre les revisions

De MoodleDocs
Salta a:navegació, cerca
Cap resum de modificació
(see also discussion link)
Línia 1: Línia 1:
==Problem installing Moodle with Windows Vista==
Many people tried to install Moodle on Windows Vista, but got blank screen after database config. This is due to some Vista permission issue.
Many people tried to install Moodle on Windows Vista, but got blank screen after database config. This is due to some Vista permission issue.
This method is from Moodle forum and might help Moodle installation.
This method is from Moodle forum and might help Moodle installation.
Línia 40: Línia 39:
3. Go to your browser and type your moodle URL. you should get a screen that allows you to continue installation.
3. Go to your browser and type your moodle URL. you should get a screen that allows you to continue installation.


From http://moodle.org/mod/forum/post.php?reply=349700
==See also==
 
*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=73852 Installing on Windows Vista] forum discussion


[[Category:Installation]]
[[Category:Installation]]


[[fr:Installation sur Windows Vista]]
[[fr:Installation sur Windows Vista]]

Revisió del 15:49, 30 set 2008

Many people tried to install Moodle on Windows Vista, but got blank screen after database config. This is due to some Vista permission issue. This method is from Moodle forum and might help Moodle installation.

1. Create a "moodledata" directory on somewhere in 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" in some machine) 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)

2. Create config.php in your main Moodle directory

  <?php /// Moodle Configuration File
  
  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 unaccessible 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.
  ?>

3. Go to your browser and type your moodle URL. you should get a screen that allows you to continue installation.

See also