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ó
 
Línia 1: Línia 1:
==Problem with Windows Vista==
==Problem installing Moodle with Windows Vista==
Many people tried to install Moodle on Windows Vista, but failed 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 is from Moodle forum and might help Moodle installation.
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  )
1. Create a "moodledata" directory on somewhere in your PC ( May be c:\wwwroot\moodledata  )
Línia 8: Línia 8:
   1. Right-click on the folder moodledata, select Properties, then select the Security tab.
   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.
   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
   3. Check to allow read and write permissions for Everyone (List folder contents and Read & Execute should already be checked)
(List folder contents and Read & Execute should already be checked - don't know if they need to be or not).


2. Create config.php in your main Moodle directory
2. Create config.php in your main Moodle directory
Línia 39: Línia 38:
?>
?>


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


Then you should get a screen that allows you to continue installation.
From http://moodle.org/mod/forum/post.php?reply=349700
 
Original from http://moodle.org/mod/forum/post.php?reply=349700

Revisió del 12:53, 9 gen 2008

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. 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.

From http://moodle.org/mod/forum/post.php?reply=349700