Connexion
S'inscrire
Actualités
Quoi de neuf
Activités générales
Auteurs
Forums
Nouveaux messages
Rechercher un forum
Quoi de neuf
Nouveaux messages
Nouveaux messages de profil
Activités générales
Membres
Membres inscrits
Visiteurs actuels
Nouveaux messages de profil
Rechercher dans les messages des profils
Teams
Créé ton équipe
Quoi de neuf ?
Nouveaux messages
Rechercher un forum
Menu
Connexion
S'inscrire
Install the app
Install
Forums
Forums généraux
Informatique
Développement
Comment utiliser et configurer XAMPP [ Windows ]
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
Vous utilisez un navigateur non à jour ou ancien. Il ne peut pas afficher ce site ou d'autres sites correctement.
Vous devez le mettre à jour ou utiliser un
navigateur alternatif
.
Répondre à la discussion
Message
<blockquote data-quote="deleted577633" data-source="post: 6999293"><p style="text-align: center"><img src="http://image.noelshack.com/fichiers/2016/52/1483107955-apprendrexampp.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="color: #404040">Bonjour à tous,</span></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="color: #404040"></span></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="color: #404040">Aujourd'hui je vais vous faire découvrir </span><span style="color: #003366"><strong>XAMPP</strong></span><span style="color: #404040">, un très bon environnement de développement à la portée de tous.</span></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="color: #404040"></span></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="color: #404040">Dans ce tutoriel nous allons aborder les points suivants :</span></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="color: #404040"></span></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="color: #003366"><strong>[fa]fa-question-circle[/fa] Qu'est-ce que XAMPP [fa]fa-question-circle[/fa]</strong></span></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="color: #003366"><strong>[fa]fa-upload[/fa] Téléchargement [fa]fa-upload[/fa]</strong></span></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="color: #003366"><strong>[fa]fa-cogs[/fa] Configurer XAMPP [fa]fa-cogs[/fa] </strong></span></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="color: #003366"><strong>[fa]fa-info-circle[/fa] Comment utiliser XAMPP [fa]fa-info-circle[/fa]</strong></span></span></p> <p style="text-align: center"></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="color: #404040"></span></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="color: #404040"><img src="http://image.noelshack.com/fichiers/2016/52/1483108392-separateurgz.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /> </span></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="color: #404040"></span></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="color: #003366"><strong>[fa]fa-question-circle[/fa] Qu'est-ce que XAMPP [fa]fa-question-circle[/fa]</strong></span></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="color: #404040"></span></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="color: #404040">Connaissez-vous </span><strong><span style="color: #003366">WampServer</span></strong><span style="color: #404040">, </span><strong><span style="color: #003366">Mamp</span></strong><span style="color: #404040">, </span><strong><span style="color: #003366">Mamp Pro</span></strong><span style="color: #404040"> ? Et bien </span><strong><span style="color: #003366">XAMPP</span></strong><span style="color: #404040"> est une différente version tout autant connue mais plus </span><strong><span style="color: #003366">fonctionnelle</span></strong><span style="color: #404040">, vous aurez peut-être moins d'erreur qu'avec </span><strong><span style="color: #003366">WampServer</span></strong><span style="color: #404040"> par exemple.</span></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="color: #404040">Reprenons, </span><strong><span style="color: #003366">XAMPP</span></strong><span style="color: #404040"> est donc un environnement de développement qui sert si on veut simplifier à </span><strong><span style="color: #003366">développer en local</span></strong><span style="color: #404040">.</span></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="color: #404040">Vous l'aurez compris, </span><strong><span style="color: #003366">XAMPP</span></strong><span style="color: #404040"> est très simple à installer.</span></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="color: #003366"><strong>[fa]fa-upload[/fa] Téléchargement [fa]fa-upload[/fa]</strong></span></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><strong><span style="color: #003366">XAMPP</span></strong><span style="color: #404040"> est disponible sur </span><span style="color: #ff8000">[fa]fa-linux[/fa]Linux</span><span style="color: #404040"> ( [fa]fa-link[/fa]</span><a href="https://www.apachefriends.org/xampp-files/5.6.28/xampp-linux-x64-5.6.28-1-installer.run" target="_blank"> <strong><span style="color: #003366">ici</span></strong></a><span style="color: #404040"> ), </span><span style="color: #00b3b3">[fa]fa-windows[/fa]Windows</span><span style="color: #404040"> ( [fa]fa-link[/fa]</span><a href="https://www.apachefriends.org/xampp-files/5.6.28/xampp-win32-5.6.28-1-VC11-installer.exe" target="_blank"> <strong><span style="color: #003366">ici</span></strong></a><span style="color: #404040"> ) ainsi que sur </span><span style="color: #808080">[fa]fa-apple[/fa]OS X</span><span style="color: #404040"> ( [fa]fa-link[/fa]</span><a href="https://www.apachefriends.org/xampp-files/5.6.28/xampp-osx-5.6.28-1-installer.dmg" target="_blank"> <strong><span style="color: #003366">ici</span></strong></a> <span style="color: #404040">), toutes les 3 ont la version </span><strong><span style="color: #003366">5.6.28</span></strong><span style="color: #404040"> du </span><strong><span style="color: #003366">PHP</span></strong><span style="color: #404040">, depuis peu, la version </span><strong><span style="color: #003366">7</span></strong><span style="color: #404040"> est supportée.</span></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="color: #404040"></span></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="color: #404040">Il faut impérativement que vous mettiez le fichier à la </span><strong><span style="color: #003366">racine</span></strong><span style="color: #404040"> de votre </span><strong><span style="color: #003366">disque dur</span></strong><span style="color: #404040">, pour que vous compreniez mieux voici un chemin en guise d'exemple : </span><strong><span style="color: #003366">Disque local ( C: ) [fa]fa-angle-double-right[/fa] xampp</span></strong><span style="color: #404040">.</span></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="color: #404040">Le téléchargement est assez long, une fois celui-ci terminé, vous verrez un " </span><strong><span style="color: #003366">panel </span></strong><span style="color: #404040">" s'ouvrir ...</span></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="color: #003366"><strong>[fa]fa-cogs[/fa] Configurer XAMPP [fa]fa-cogs[/fa] </strong></span></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="color: #404040"></span></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="color: #404040">Voici donc à quoi doit ressembler ce panel :</span></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="color: rgb(64, 64, 64)"></span></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="color: rgb(64, 64, 64)"><img src="http://image.noelshack.com/fichiers/2016/52/1483109968-screenshot-350.jpg" alt="" class="fr-fic fr-dii fr-draggable " style="" /> </span></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="color: rgb(64, 64, 64)"></span></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="font-size: 12px"><span style="color: #003366"><strong>[fa]fa-edit[/fa] Note</strong></span><span style="color: #404040"> : MySQL, FlieZilla ainsi que Apache étaient lancés automatiquement, je les ai donc arrêter ( c'est pour ça que des commandes sont apparues.</span></span></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="color: #404040"></span></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="color: #404040">Donc, faites comme ci vous avez rien vu :trollneige:.</span></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="color: #404040"></span></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="color: #404040">Vous allez donc lancer </span><strong><span style="color: rgb(0, 51, 102)">Apache, MySQL </span></strong><span style="color: #404040">et</span><strong><span style="color: rgb(0, 51, 102)"> FileZilla</span></strong><span style="color: #404040"> ( en option ) en cliquant sur </span><strong><span style="color: #003366">Start</span></strong><span style="color: #404040">.</span></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="color: #404040"></span></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="color: #404040"></span></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="color: #404040"></span></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="color: #404040">Vous allez devoir connaître 3 types de couleur quand vous lancer un des serveurs proposés.</span></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="color: #404040"></span></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="color: #b3b300">Jaune</span><span style="color: #404040"> = Le serveur se lance</span></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="color: #006600">Vert</span><span style="color: #404040"> = le serveur est lancé et prêt à être utilisé</span></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="color: #ff0000">Rouge</span><span style="color: #404040"> : Le serveur ne se lance pas ( regardez vos commandes pour voir d'où vient l'erreur puis stoppez et relancez le serveur ).</span></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="color: #404040"></span></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="color: #404040">Cela ne sert à rien de tout lancer.</span></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="color: #404040">Pour accéder à vos bases de donnés, cliquez sur " </span><strong><span style="color: #003366">Admin</span></strong><span style="color: #404040"> " dans les options pour </span><strong><span style="color: #003366">MySQL</span></strong><span style="color: #404040">.</span></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="color: #404040"></span></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="color: #003366"><strong>[fa]fa-info-circle[/fa] Comment utiliser XAMPP [fa]fa-info-circle[/fa]</strong></span></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="color: #404040"></span></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="color: #404040">Cliquez sur " </span><strong><span style="color: #003366">Explorer</span></strong><span style="color: #404040"> " vous allez arriver dans le dossier </span><strong><span style="color: #003366">xampp</span></strong><span style="color: #404040">, il y aura pleins de dossier. Un seul nous suffira, </span><strong><span style="color: #003366">htdocs</span></strong><span style="color: #404040">.</span></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="color: #404040">On va commencer par voir si les serveurs </span><span style="color: #003366"><strong>Apache </strong></span><span style="color: #404040">sont </span><strong><span style="color: #003366">fonctionnels</span></strong><span style="color: #404040">. Pour ça on va tout simplement écrire </span><strong><span style="color: #003366"><a href="http://localhost" target="_blank">http://localhost</a></span></strong><span style="color: #404040"> ou </span><strong><span style="color: #003366"><a href="http://127.0.0.1" target="_blank">http://127.0.0.1</a></span></strong><span style="color: #404040"> qui est l'</span><strong><span style="color: #003366">adresse IP</span></strong><span style="color: #404040"> du </span><strong><span style="color: #003366">localhost</span></strong><span style="color: #404040">, une page devrait s'afficher.</span></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="color: #404040"></span></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="color: #404040">Maintenant comment </span><strong><span style="color: #003366">afficher la page</span></strong><span style="color: #404040"> que </span><strong><span style="color: #003366">vous</span></strong><span style="color: #404040"> souhaitez ? </span></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="color: #404040"></span></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="color: #404040">Imaginons que je veuille créer un fichier </span><strong><span style="color: rgb(0, 51, 102)">.php</span></strong><span style="color: #404040">, je vais le nommer </span><strong><span style="color: #003366">rg</span></strong><span style="color: #404040"> donc, </span><strong><span style="color: #003366">rg.php</span></strong><span style="color: #404040"> ( </span><strong><span style="color: #003366">toujours dans htdocs c'est important</span></strong><span style="color: #404040"> ) Cela nous donnera </span><strong><span style="color: #003366"><a href="http://localhost/rg.php" target="_blank">http://localhost/rg.php</a></span></strong><span style="color: #404040"> ou </span><strong><span style="color: #003366"><a href="http://127.0.0.1/rg.php" target="_blank">http://127.0.0.1/rg.php</a></span></strong><span style="color: #404040">, bien sûr vous pouvez </span><strong><span style="color: #003366">créer des dossiers</span></strong><span style="color: #404040">.</span></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="color: #404040"></span></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="color: #404040">On va se baser sur notre </span><strong><span style="color: #003366">rg.php</span></strong><span style="color: #404040">, imaginons qu'on veuille qu'il soit classer dans un </span><strong><span style="color: #003366">dossier</span></strong><span style="color: #404040"> nommé </span><strong><span style="color: #003366">forums</span></strong><span style="color: #404040">, on va écrire dans la </span><strong><span style="color: #003366">barre de recherche</span></strong><span style="color: #404040"> : </span><strong><span style="color: #003366"><a href="http://localhost/forums/rg.php" target="_blank">http://localhost/forums/rg.php</a></span></strong><span style="color: #404040"> ou </span><strong><span style="color: #003366"><a href="http://127.0.0.1/forums/rg.php" target="_blank">http://127.0.0.1/forums/rg.php</a></span></strong><span style="color: #404040"> et vous pouvez continuer avec plusieurs </span><strong><span style="color: #003366">sous-dossiers</span></strong><span style="color: #404040"> sans problème. Sachez que la </span><strong><span style="color: #003366">réécriture d'URL</span></strong> <strong><span style="color: #003366">fonctionne</span></strong><span style="color: #404040">.</span></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="color: #404040"></span></span></p> <p style="text-align: center"><img src="http://image.noelshack.com/fichiers/2016/52/1483108392-separateurgz.png" alt="" class="fr-fic fr-dii fr-draggable " style="" /></p> <p style="text-align: center"></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="color: #404040">C'est tout pour ce tuto, il était rapide je ne me suis pas attardé sur les détails.</span></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="color: #404040">C'était surtout pour vous montrez qu'on peut développement en local avec simplicité :noel:</span></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="color: #404040"></span></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="color: #404040">A la prochaine <img src="/data/assets/smilies/bye.gif" class="smilie" loading="lazy" alt=":bye:" title="Bye :bye:" data-shortname=":bye:" /></span></span></p> <p style="text-align: center"><span style="font-family: 'Questrial'"><span style="color: #404040"></span></span></p> <p style="text-align: right"><span style="font-family: 'Questrial'"><span style="color: #404040"><em>Flown'</em></span></span></p></blockquote><p></p>
[QUOTE="deleted577633, post: 6999293"] [CENTER][IMG]http://image.noelshack.com/fichiers/2016/52/1483107955-apprendrexampp.png[/IMG] [FONT=Questrial][COLOR=#404040]Bonjour à tous, Aujourd'hui je vais vous faire découvrir [/COLOR][COLOR=#003366][B]XAMPP[/B][/COLOR][COLOR=#404040], un très bon environnement de développement à la portée de tous. Dans ce tutoriel nous allons aborder les points suivants : [/COLOR] [COLOR=#003366][B][fa]fa-question-circle[/fa] Qu'est-ce que XAMPP [fa]fa-question-circle[/fa][/B] [B][fa]fa-upload[/fa] Téléchargement [fa]fa-upload[/fa][/B] [B][fa]fa-cogs[/fa] Configurer XAMPP [fa]fa-cogs[/fa] [/B] [B][fa]fa-info-circle[/fa] Comment utiliser XAMPP [fa]fa-info-circle[/fa][/B][/COLOR][/FONT] [FONT=Questrial][COLOR=#404040] [IMG]http://image.noelshack.com/fichiers/2016/52/1483108392-separateurgz.png[/IMG] [/COLOR] [COLOR=#003366][B][fa]fa-question-circle[/fa] Qu'est-ce que XAMPP [fa]fa-question-circle[/fa][/B][/COLOR] [COLOR=#404040] Connaissez-vous [/COLOR][B][COLOR=#003366]WampServer[/COLOR][/B][COLOR=#404040], [/COLOR][B][COLOR=#003366]Mamp[/COLOR][/B][COLOR=#404040], [/COLOR][B][COLOR=#003366]Mamp Pro[/COLOR][/B][COLOR=#404040] ? Et bien [/COLOR][B][COLOR=#003366]XAMPP[/COLOR][/B][COLOR=#404040] est une différente version tout autant connue mais plus [/COLOR][B][COLOR=#003366]fonctionnelle[/COLOR][/B][COLOR=#404040], vous aurez peut-être moins d'erreur qu'avec [/COLOR][B][COLOR=#003366]WampServer[/COLOR][/B][COLOR=#404040] par exemple.[/COLOR] [COLOR=#404040]Reprenons, [/COLOR][B][COLOR=#003366]XAMPP[/COLOR][/B][COLOR=#404040] est donc un environnement de développement qui sert si on veut simplifier à [/COLOR][B][COLOR=#003366]développer en local[/COLOR][/B][COLOR=#404040].[/COLOR] [COLOR=#404040][/COLOR] [COLOR=#404040]Vous l'aurez compris, [/COLOR][B][COLOR=#003366]XAMPP[/COLOR][/B][COLOR=#404040] est très simple à installer.[/COLOR] [COLOR=#003366][B][fa]fa-upload[/fa] Téléchargement [fa]fa-upload[/fa][/B][/COLOR] [B][COLOR=#003366]XAMPP[/COLOR][/B][COLOR=#404040] est disponible sur [/COLOR][COLOR=#ff8000][fa]fa-linux[/fa]Linux[/COLOR][COLOR=#404040] ( [fa]fa-link[/fa][/COLOR][URL='https://www.apachefriends.org/xampp-files/5.6.28/xampp-linux-x64-5.6.28-1-installer.run'] [B][COLOR=#003366]ici[/COLOR][/B][/URL][COLOR=#404040] ), [/COLOR][COLOR=#00b3b3][fa]fa-windows[/fa]Windows[/COLOR][COLOR=#404040] ( [fa]fa-link[/fa][/COLOR][URL='https://www.apachefriends.org/xampp-files/5.6.28/xampp-win32-5.6.28-1-VC11-installer.exe'] [B][COLOR=#003366]ici[/COLOR][/B][/URL][COLOR=#404040] ) ainsi que sur [/COLOR][COLOR=#808080][fa]fa-apple[/fa]OS X[/COLOR][COLOR=#404040] ( [fa]fa-link[/fa][/COLOR][URL='https://www.apachefriends.org/xampp-files/5.6.28/xampp-osx-5.6.28-1-installer.dmg'] [B][COLOR=#003366]ici[/COLOR][/B][/URL] [COLOR=#404040]), toutes les 3 ont la version [/COLOR][B][COLOR=#003366]5.6.28[/COLOR][/B][COLOR=#404040] du [/COLOR][B][COLOR=#003366]PHP[/COLOR][/B][COLOR=#404040], depuis peu, la version [/COLOR][B][COLOR=#003366]7[/COLOR][/B][COLOR=#404040] est supportée. Il faut impérativement que vous mettiez le fichier à la [/COLOR][B][COLOR=#003366]racine[/COLOR][/B][COLOR=#404040] de votre [/COLOR][B][COLOR=#003366]disque dur[/COLOR][/B][COLOR=#404040], pour que vous compreniez mieux voici un chemin en guise d'exemple : [/COLOR][B][COLOR=#003366]Disque local ( C: ) [fa]fa-angle-double-right[/fa] xampp[/COLOR][/B][COLOR=#404040]. Le téléchargement est assez long, une fois celui-ci terminé, vous verrez un " [/COLOR][B][COLOR=#003366]panel [/COLOR][/B][COLOR=#404040]" s'ouvrir ...[/COLOR] [COLOR=#003366][B][fa]fa-cogs[/fa] Configurer XAMPP [fa]fa-cogs[/fa] [/B][/COLOR] [COLOR=#404040] Voici donc à quoi doit ressembler ce panel :[/COLOR] [COLOR=rgb(64, 64, 64)] [IMG]http://image.noelshack.com/fichiers/2016/52/1483109968-screenshot-350.jpg[/IMG] [/COLOR] [SIZE=3][COLOR=#003366][B][fa]fa-edit[/fa] Note[/B][/COLOR][COLOR=#404040] : MySQL, FlieZilla ainsi que Apache étaient lancés automatiquement, je les ai donc arrêter ( c'est pour ça que des commandes sont apparues.[/COLOR][/SIZE] [COLOR=#404040] Donc, faites comme ci vous avez rien vu :trollneige:. Vous allez donc lancer [/COLOR][B][COLOR=rgb(0, 51, 102)]Apache, MySQL [/COLOR][/B][COLOR=#404040]et[/COLOR][B][COLOR=rgb(0, 51, 102)] FileZilla[/COLOR][/B][COLOR=#404040] ( en option ) en cliquant sur [/COLOR][B][COLOR=#003366]Start[/COLOR][/B][COLOR=#404040]. [/COLOR] [COLOR=#404040] Vous allez devoir connaître 3 types de couleur quand vous lancer un des serveurs proposés. [/COLOR] [COLOR=#b3b300]Jaune[/COLOR][COLOR=#404040] = Le serveur se lance[/COLOR] [COLOR=#006600]Vert[/COLOR][COLOR=#404040] = le serveur est lancé et prêt à être utilisé[/COLOR] [COLOR=#ff0000]Rouge[/COLOR][COLOR=#404040] : Le serveur ne se lance pas ( regardez vos commandes pour voir d'où vient l'erreur puis stoppez et relancez le serveur ). Cela ne sert à rien de tout lancer. Pour accéder à vos bases de donnés, cliquez sur " [/COLOR][B][COLOR=#003366]Admin[/COLOR][/B][COLOR=#404040] " dans les options pour [/COLOR][B][COLOR=#003366]MySQL[/COLOR][/B][COLOR=#404040]. [/COLOR] [COLOR=#003366][B][fa]fa-info-circle[/fa] Comment utiliser XAMPP [fa]fa-info-circle[/fa][/B][/COLOR] [COLOR=#404040] Cliquez sur " [/COLOR][B][COLOR=#003366]Explorer[/COLOR][/B][COLOR=#404040] " vous allez arriver dans le dossier [/COLOR][B][COLOR=#003366]xampp[/COLOR][/B][COLOR=#404040], il y aura pleins de dossier. Un seul nous suffira, [/COLOR][B][COLOR=#003366]htdocs[/COLOR][/B][COLOR=#404040]. On va commencer par voir si les serveurs [/COLOR][COLOR=#003366][B]Apache [/B][/COLOR][COLOR=#404040]sont [/COLOR][B][COLOR=#003366]fonctionnels[/COLOR][/B][COLOR=#404040]. Pour ça on va tout simplement écrire [/COLOR][B][COLOR=#003366][URL]http://localhost[/URL][/COLOR][/B][COLOR=#404040] ou [/COLOR][B][COLOR=#003366][URL]http://127.0.0.1[/URL][/COLOR][/B][COLOR=#404040] qui est l'[/COLOR][B][COLOR=#003366]adresse IP[/COLOR][/B][COLOR=#404040] du [/COLOR][B][COLOR=#003366]localhost[/COLOR][/B][COLOR=#404040], une page devrait s'afficher. Maintenant comment [/COLOR][B][COLOR=#003366]afficher la page[/COLOR][/B][COLOR=#404040] que [/COLOR][B][COLOR=#003366]vous[/COLOR][/B][COLOR=#404040] souhaitez ? Imaginons que je veuille créer un fichier [/COLOR][B][COLOR=rgb(0, 51, 102)].php[/COLOR][/B][COLOR=#404040], je vais le nommer [/COLOR][B][COLOR=#003366]rg[/COLOR][/B][COLOR=#404040] donc, [/COLOR][B][COLOR=#003366]rg.php[/COLOR][/B][COLOR=#404040] ( [/COLOR][B][COLOR=#003366]toujours dans htdocs c'est important[/COLOR][/B][COLOR=#404040] ) Cela nous donnera [/COLOR][B][COLOR=#003366][URL]http://localhost/rg.php[/URL][/COLOR][/B][COLOR=#404040] ou [/COLOR][B][COLOR=#003366][URL]http://127.0.0.1/rg.php[/URL][/COLOR][/B][COLOR=#404040], bien sûr vous pouvez [/COLOR][B][COLOR=#003366]créer des dossiers[/COLOR][/B][COLOR=#404040]. On va se baser sur notre [/COLOR][B][COLOR=#003366]rg.php[/COLOR][/B][COLOR=#404040], imaginons qu'on veuille qu'il soit classer dans un [/COLOR][B][COLOR=#003366]dossier[/COLOR][/B][COLOR=#404040] nommé [/COLOR][B][COLOR=#003366]forums[/COLOR][/B][COLOR=#404040], on va écrire dans la [/COLOR][B][COLOR=#003366]barre de recherche[/COLOR][/B][COLOR=#404040] : [/COLOR][B][COLOR=#003366][URL]http://localhost/forums/rg.php[/URL][/COLOR][/B][COLOR=#404040] ou [/COLOR][B][COLOR=#003366][URL]http://127.0.0.1/forums/rg.php[/URL][/COLOR][/B][COLOR=#404040] et vous pouvez continuer avec plusieurs [/COLOR][B][COLOR=#003366]sous-dossiers[/COLOR][/B][COLOR=#404040] sans problème. Sachez que la [/COLOR][B][COLOR=#003366]réécriture d'URL[/COLOR][/B] [B][COLOR=#003366]fonctionne[/COLOR][/B][COLOR=#404040]. [/COLOR][/FONT] [IMG]http://image.noelshack.com/fichiers/2016/52/1483108392-separateurgz.png[/IMG] [FONT=Questrial][COLOR=#404040]C'est tout pour ce tuto, il était rapide je ne me suis pas attardé sur les détails. C'était surtout pour vous montrez qu'on peut développement en local avec simplicité :noel: A la prochaine :bye: [/COLOR][/FONT][/CENTER] [RIGHT][FONT=Questrial][COLOR=#404040][I]Flown'[/I][/COLOR][/FONT][/RIGHT] [/QUOTE]
Insérer les citations…
Vérification
Publier la réponse
Forums
Forums généraux
Informatique
Développement
Comment utiliser et configurer XAMPP [ Windows ]
Ce site utilise des cookies. En continuant à utiliser ce site, vous acceptez l'utilisation des cookies.
Acceptez
En savoir plus.…
Haut