<body bgcolor="#ffffff">
<h1>Installation d'Apache, de MySQL et de PHP</h1>
-<!-- Le reste doit encore Ítre traduit -->
<blockquote>
<p>Moodle est Ècrit dans un langage de scripts appelÈ PHP, et conserve la plupart
des donnÈes qu'il utilise dans une base de donnÈes. Le gestionnaire de base de
target="_blank">EasyPHP</a>, un logiciel qui regroupe tous les ÈlÈments logiciels
nÈcessaires en une seule application Windows. Voici une marche ý suivre dÈtaillÈe :</p>
<ol>
+ <li>Avant tout, si vous avez dÈjý installÈ MySQL auparavant (mÍme si vous l'utilisez
+ avec une autre application), dÈsinstallez-le complËtement, effacez tous les fichiers
+ de MySQL et effacez Ègalement <strong>c:\my.cnf</strong> et
+ <strong>c:\windows\my.ini</strong>. Il sera peut-Ítre nÈcessaire de rechercher et
+ d'effacer TOUS les fichiers dÈnommÈs <strong>my.cnf</strong> ou <strong>my.ini</strong>.</li>
+ <li>Si vous avez dÈjý installÈ PHP auparavant, effacez tous les fichiers dÈnommÈs
+ <strong>php4ts.dll</strong> de votre dossier Windows, ainsi que tous les fichiers
+ dÈnommÈs <strong>php.ini</strong>.</li>
+ <li>TÈlÈchargez EasyPHP ý cette adresse : <a href="http://www.easyphp.org/telechargements/dn.php?F=easyphp1-6.php3" target="_blank">http://www.easyphp.org/telechargements/dn.php?F=easyphp1-6.php3</a>
+ (environ 10 MO).</li>
+ <li>Lancez le fichier tÈlÈchargÈ <strong>easyphp1-6_setup.exe</strong>. Le processus
+ d'installation est en franÁais (Ouf!!) - nous vous conseillons d'accepter les rÈglages
+ par dÈfaut et de tout installer.</li>
+ <li>¿ la fin de l'installation, cochez la case ý cocher ´ Lancer
+ EasyPHP ª et cliquez sur le bouton ´ Terminer ª. La page web
+ d'informations s'affichera.</li>
+ <li>Si tout s'est bien passÈ - FÈlicitations ! Apache, PHP et MySQL sont tous installÈs
+ et tournent ! Votre barre des t\92ches contient un E nor. En cliquant dessus, vous
+ obtiendrez un menu qui vous permet de contrÙler les programmes. Vous n'en avez pas
+ besoin pour l'instant.</li>
+ <li>La prochaine chose ý faire et de mettre en place une base de donnÈes pour Moodle.
+ Avec un navigateur, allez ý l'adresse <a href="http://localhost/mysql/"
+ target="_blank">http://localhost/mysql/</a> (attention ý la barre oblique finale).</li>
+ <li>Si l'on vous demande un nom d'utilisateur, utilisez ´ root ª avec un mot
+ de passe vide. L'interface web de phpMyAdmin s'affichera et vous permettra de crÈer de
+ nouvelles bases de donnÈes et de nouveaux comptes utilisateurs.</li>
+ <li>CrÈez une nouvelle base de donnÈes en tapant ´ moodle ª dans le champ et
+ cliquez sur le bouton ´ Create ª. Facile !</li>
+ <li>Vous pouvez aussi crÈer un nouvel utilisateur pour votre base de donnÈes. Ce peut
+ Ítre un peu compliquÈ pour un dÈbutant. C'est pourquoi vous pouvez utiliser pour commencer
+ le compte utilisateur existant ´ root ª avec un mot de passe vide dans votre
+ configuration Moodle, et corriger cela plus tard.</li>
+ <li>Vous pouvez maintenant installer Moodle ! TÈlÈchargez la derniËre version de
+ Moodle ý l'adresse <a href="http://moodle.org/download"
+ target="_blank">http://moodle.org/download</a> et dÈcompactez le fichier compressÈ.</li>
+ <li>Copiez vos fichier Moodle dans <strong>C:\Program Files\EasyPHP\www</strong>. Vous
+ pouvez soit copier l'intÈgralitÈ du dossier moodle (c'est-ý-dire
+ C:\Program Files\EasyPHP\www\moodle), soit copier le <em>contenu</em> du dossier moodle.
+ Si vous choisissez cette cerniËre option, vous pourrez accÈder ý votre site Moodle ý
+ l'adresse http://localhost/ plutÙt que http://localhost/moodle/.</li>
+ <li>CrÈez un nouveau dossier vide ailleurs sur votre disque dur pour que Moodle
+ puisse y placer les fichiers dÈposÈs par les utilisateurs, par exemple
+ <strong>C:\moodledata</strong>.</li>
<!-- Le reste doit encore Ítre traduit -->
- <li> Firstly, if you have ever installed MySQL before (even as part of another
- package), uninstall it all, delete all the MySQL files and make sure you
- delete <strong>c:\my.cnf</strong> and <strong>c:\windows\my.ini</strong>.You
- might want to do a search and delete ANY file called <strong>my.cnf</strong>
- or <strong>my.ini</strong>.</li>
- <li> If you've ever installed PHP before delete any files called <strong>php4ts.dll</strong>
- from around your Windows directory, as well as any files called <strong>php.ini</strong>.</li>
- <li> Download EasyPHP from here: <a href="http://www.easyphp.org/telechargements/dn.php?F=easyphp1-6.php3" target="_blank">http://www.easyphp.org/telechargements/dn.php?F=easyphp1-6.php3</a>
- (approx 10 Mb)</li>
- <li> Run the downloaded file: <strong>easyphp1-6_setup.exe</strong>. The installation
- process is in French but is otherwise much like installing any other Windows
- program - I advise accepting the defaults and letting it all install. Note
- that "Suivant" means Next.and "Oui" means Yes.</li>
- <li>At the end of the install leave the checkbox selected to "Lancer
- EasyPHP" (Start EasyPHP) and hit the 'Terminer" button.You might
- be taken to a information web page which you can safely ignore. </li>
- <li>If all went well - congratulations! Apache, PHP and MySQL are all installed
- and running! You should see a black E in your toolbar tray. You can right
- click on it to get a menu which will let you control the running programs,
- but you won't be needing that for now.</li>
- <li> The next thing you need to do is to set up a database for Moodle to use.
- Using a browser, go to <a href="http://localhost/mysql/" target="_blank">http://localhost/mysql/</a>
- (note the final slash).</li>
- <li>If asked for a username, use "root" with a blank password. You
- should see a phpMyAdmin web interface that allows you to create a new databases
- and user accounts. </li>
- <li>Create a new database by typing "moodle" into the field and
- hitting the "Create" button. That was easy!</li>
- <li>You can also create a new user to access your database if you want. This
- can be a bit tricky for a first-time user, so you might just want to use
- the existing user "root" with no password in your Moodle config
- for now, and fix this later.</li>
- <li> You're ready to install Moodle! Download the latest release of Moodle
- from <a href="http://moodle.org/download" target="_blank">http://moodle.org/download</a>,
- then unzip the archive.</li>
- <li>Copy your moodle files into <strong>C:\Program Files\EasyPHP\www. </strong>You
- can either copy the entire moodle directory (ie C:\Program Files\EasyPHP\www\moodle)
- or copy all the <em>contents</em> of the moodle directory. If you choose
- this second option then you will be able to access your Moodle home page
- using http://localhost/ instead of http://localhost/moodle/.</li>
- <li> Make a new empty folder somewhere else for Moodle to store uploaded files
- in, eg: <strong>C:\moodledata</strong></li>
<li> Go into your Moodle folder. Make a copy of config-dist.php, and call
it config.php</li>
<li> Edit config.php using a text editor (Notepad will do, just be careful