je me permet de vous envoyer ce message j'ai un souci avec wamp. en suivant un tuto, il a fallu coller dans le fichier httpd.conf d'apache les lignes suivantes :
# Mettez ici le nom de domaine que vous avez utilisé dans le fichier hosts. ServerName monsupersite
# Mettez ici le chemin vers lequel doit pointer le domaine. # Je suis sous Linux. Si vous êtes sous Windows, le chemin sera de la forme C:\Wamp\www\monsupersite\Web DocumentRoot /home/victor/www/monsupersite/Web <Directory /home/victor/www/monsupersite/Web> Options Indexes FollowSymLinks MultiViews
# Cette directive permet d'activer les .htaccess. AllowOverride All
# Si le serveur est accessible via l'Internet mais que vous n'en faites qu'une utilisation personnelle # pensez à interdire l'accès à tout le monde # sauf au localhost, sinon vous ne pourrez pas y accéder ! deny from all allow from localhost </Directory> </VirtualHost>
de plus il a fallu également triturer le fichier hosts. cependant, ces modifications ne fonctionnait (erreur 404 sur mon fichier localhost) du coup je suis venue en arrière effacer les lignes ci dessus de httpd.conf d'apache et remettre le fichier hosts dans l'état initial. je vous mets la copie de mon fichier hosts :
# Copyright (c) 1993-2009 Microsoft Corp. # # This is a sample HOSTS file used by Microsoft TCP/IP for Windows. # # This file contains the mappings of IP addresses to host names. Each # entry should be kept on an individual line. The IP address should # be placed in the first column followed by the corresponding host name. # The IP address and the host name should be separated by at least one # space. # # Additionally, comments (such as these) may be inserted on individual # lines or following the machine name denoted by a '#' symbol. # # For example: # # 102.54.94.97 rhino.acme.com # source server # 38.25.63.10 x.acme.com # x client host
# localhost name resolution is handled within DNS itself. # 127.0.0.1 localhost # ::1 localhost
127.0.0.1 localhost
depuis je peux accéder à mon localhost, mais je n'arrive plus à accéder à phpmyadmin ( erreur 404). en regardant les logs de mysql. wamp me dit qu'il n'existe pas...inquiétant, non???
je vous mets les logs d'apache si vous voulez :
[Mon Jan 25 15:18:20.809861 2016] [mpm_winnt:notice] [pid 8492:tid 544] AH00422: Parent: Received shutdown signal -- Shutting down the server. [Mon Jan 25 15:18:22.811365 2016] [mpm_winnt:notice] [pid 6804:tid 460] AH00364: Child: All worker threads have exited. [Mon Jan 25 15:18:22.860405 2016] [mpm_winnt:notice] [pid 8492:tid 544] AH00430: Parent: Child process 6804 exited successfully. [Mon Jan 25 15:18:24.890356 2016] [mpm_winnt:notice] [pid 7520:tid 536] AH00455: Apache/2.4.9 (Win64) PHP/5.5.12 configured -- resuming normal operations [Mon Jan 25 15:18:24.890356 2016] [mpm_winnt:notice] [pid 7520:tid 536] AH00456: Apache Lounge VC11 Server built: Mar 16 2014 12:42:59 [Mon Jan 25 15:18:24.890356 2016] [core:notice] [pid 7520:tid 536] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.9\\bin\\httpd.exe -d C:/wamp/bin/apache/apache2.4.9' [Mon Jan 25 15:18:24.896360 2016] [mpm_winnt:notice] [pid 7520:tid 536] AH00418: Parent: Created child process 1108 [Mon Jan 25 15:18:26.125339 2016] [mpm_winnt:notice] [pid 1108:tid 444] AH00354: Child: Starting 64 worker threads. [Mon Jan 25 15:21:24.711475 2016] [authz_core:error] [pid 1108:tid 984] [client ::1:64591] AH01630: client denied by server configuration: C:/Apache24, referer: [localhost] [Mon Jan 25 15:21:24.712477 2016] [authz_core:error] [pid 1108:tid 980] [client ::1:64592] AH01630: client denied by server configuration: C:/Apache24, referer: [localhost] [Mon Jan 25 17:06:09.605105 2016] [authz_core:error] [pid 1108:tid 980] [client 127.0.0.1:65203] AH01630: client denied by server configuration: C:/Apache24, referer: [localhost] [Mon Jan 25 17:06:09.607101 2016] [authz_core:error] [pid 1108:tid 984] [client 127.0.0.1:65204] AH01630: client denied by server configuration: C:/Apache24, referer: [localhost] [Mon Jan 25 17:06:09.610103 2016] [authz_core:error] [pid 1108:tid 968] [client ::1:65205] AH01630: client denied by server configuration: C:/Apache24, referer: [localhost] [Mon Jan 25 17:06:12.723760 2016] [authz_core:error] [pid 1108:tid 968] [client ::1:65205] AH01630: client denied by server configuration: C:/Apache24, referer: [localhost] [Mon Jan 25 17:06:12.726763 2016] [authz_core:error] [pid 1108:tid 984] [client 127.0.0.1:65204] AH01630: client denied by server configuration: C:/Apache24, referer: [localhost] [Mon Jan 25 17:06:12.727764 2016] [authz_core:error] [pid 1108:tid 980] [client 127.0.0.1:65203] AH01630: client denied by server configuration: C:/Apache24, referer: [localhost] [Mon Jan 25 17:41:15.680080 2016] [mpm_winnt:notice] [pid 7520:tid 536] AH00422: Parent: Received shutdown signal -- Shutting down the server. [Mon Jan 25 17:41:17.681490 2016] [mpm_winnt:notice] [pid 1108:tid 444] AH00364: Child: All worker threads have exited. [Mon Jan 25 17:41:17.753040 2016] [mpm_winnt:notice] [pid 7520:tid 536] AH00430: Parent: Child process 1108 exited successfully. [Mon Jan 25 17:41:24.416404 2016] [mpm_winnt:notice] [pid 2468:tid 560] AH00455: Apache/2.4.9 (Win64) PHP/5.5.12 configured -- resuming normal operations [Mon Jan 25 17:41:24.416404 2016] [mpm_winnt:notice] [pid 2468:tid 560] AH00456: Apache Lounge VC11 Server built: Mar 16 2014 12:42:59 [Mon Jan 25 17:41:24.416404 2016] [core:notice] [pid 2468:tid 560] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.9\\bin\\httpd.exe -d C:/wamp/bin/apache/apache2.4.9' [Mon Jan 25 17:41:24.422381 2016] [mpm_winnt:notice] [pid 2468:tid 560] AH00418: Parent: Created child process 9756 [Mon Jan 25 17:41:25.621756 2016] [mpm_winnt:notice] [pid 9756:tid 460] AH00354: Child: Starting 64 worker threads. [Mon Jan 25 17:46:17.050885 2016] [mpm_winnt:notice] [pid 2468:tid 560] AH00422: Parent: Received shutdown signal -- Shutting down the server. [Mon Jan 25 17:46:19.053167 2016] [mpm_winnt:notice] [pid 9756:tid 460] AH00364: Child: All worker threads have exited. [Mon Jan 25 17:46:19.111183 2016] [mpm_winnt:notice] [pid 2468:tid 560] AH00430: Parent: Child process 9756 exited successfully. [Mon Jan 25 17:46:21.534597 2016] [mpm_winnt:notice] [pid 2032:tid 528] AH00455: Apache/2.4.9 (Win64) PHP/5.5.12 configured -- resuming normal operations [Mon Jan 25 17:46:21.534597 2016] [mpm_winnt:notice] [pid 2032:tid 528] AH00456: Apache Lounge VC11 Server built: Mar 16 2014 12:42:59 [Mon Jan 25 17:46:21.534597 2016] [core:notice] [pid 2032:tid 528] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.9\\bin\\httpd.exe -d C:/wamp/bin/apache/apache2.4.9' [Mon Jan 25 17:46:21.540600 2016] [mpm_winnt:notice] [pid 2032:tid 528] AH00418: Parent: Created child process 2212 [Mon Jan 25 17:46:22.836828 2016] [mpm_winnt:notice] [pid 2212:tid 452] AH00354: Child: Starting 64 worker threads. [Mon Jan 25 18:08:53.549783 2016] [mpm_winnt:notice] [pid 2032:tid 528] AH00422: Parent: Received shutdown signal -- Shutting down the server. [Mon Jan 25 18:08:55.551196 2016] [mpm_winnt:notice] [pid 2212:tid 452] AH00364: Child: All worker threads have exited. [Mon Jan 25 18:08:55.612239 2016] [mpm_winnt:notice] [pid 2032:tid 528] AH00430: Parent: Child process 2212 exited successfully. [Mon Jan 25 18:08:56.839564 2016] [mpm_winnt:notice] [pid 4796:tid 552] AH00455: Apache/2.4.9 (Win64) PHP/5.5.12 configured -- resuming normal operations [Mon Jan 25 18:08:56.839564 2016] [mpm_winnt:notice] [pid 4796:tid 552] AH00456: Apache Lounge VC11 Server built: Mar 16 2014 12:42:59 [Mon Jan 25 18:08:56.839564 2016] [core:notice] [pid 4796:tid 552] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.9\\bin\\httpd.exe -d C:/wamp/bin/apache/apache2.4.9' [Mon Jan 25 18:08:56.845568 2016] [mpm_winnt:notice] [pid 4796:tid 552] AH00418: Parent: Created child process 6404 [Mon Jan 25 18:08:57.995146 2016] [mpm_winnt:notice] [pid 6404:tid 444] AH00354: Child: Starting 64 worker threads. [Mon Jan 25 18:32:33.260994 2016] [mpm_winnt:notice] [pid 4796:tid 552] AH00422: Parent: Received shutdown signal -- Shutting down the server. [Mon Jan 25 18:32:35.278245 2016] [mpm_winnt:notice] [pid 6404:tid 444] AH00364: Child: All worker threads have exited. [Mon Jan 25 18:32:35.340686 2016] [mpm_winnt:notice] [pid 4796:tid 552] AH00430: Parent: Child process 6404 exited successfully.
si vous voulez d'autres infos n'hésitez à m'en faire part...mais je suis bloqué et très embêté. quelqu'un à une solution en évitant une désinstallation, svp?
désolé pour l'envoi du post incomplet. je l'ai fait un peu en mode panique donc je n'ai pas pris le temps de tout lire les recommandations. voici les informations nécessaires pour résoudre mon problème :
- 1 - Version de Windows utilisée (Précisez la version ET si 32 ou 64 bits) : windows 8.1 64 bits - 2 - Version de Wampserver (Précisez la version ET si 32 ou 64 bits) : wampserver 2.5 64 bits - 3 - Version Apache (Précisez la version) : 2.4.9 - 4 - Version PHP (Précisez la version) : 5.5.12 - 5 - Version MySQL (Précisez la version) : 5.6.17 - 6 - De quelle couleur est l'icône Wampserver (Dans la zone de notification de la barre des tâches) Quand tout va bien elle doit être verte, mais peut être rouge ou orange. : couleur de l'icône verte
- 7 - Dans le fichier c:\Windows\System32\drivers\etc\hosts, quelles sont les lignes actives* relatives au domaine [localhost] ? : 127.0.0.1 localhost
- Si icône Wampserver verte et en utilisant le menu de cette icône : - 8 - Avez-vous accès à localhost (Page d'accueil de wampserver) ? : oui - 9 - Avez-vous accès à phpMyAdmin ? : non
- 10 - Si vous faites référence à un message d'erreur, merci de donner le libellé EXACT et COMPLET de l'erreur - 11 - Si vous utilisez un Anti-virus et/ou un Parefeu, merci de donner les noms de ceux-ci : windows defender, malwarebytes - 12 - Quel est le chemin complet de l'installation de Wampserver (Par exemple D:\wamp\) : C:\wamp\www
concernant le tuto que je suivais c'était dans le cadre de la programmation objet sur le site openclassrooms : voici le lien [openclassrooms.com]. cependant j'ai pas fait beaucoup de changement. j'ai copié les lignes dans le httpd.conf puis je les ai effaçées.
voici l'erreur exacte que j'obtiens lorsque je veux accéder à phpmyadmin :
Not Found
The requested URL /phpmyadmin/ was not found on this server.
Apache/2.4.9 (Win64) PHP/5.5.12 Server at localhost Port 80
merci d'avance otomatic
N.B : le lien vers webgrind me ramène également une erreur 404...au cas ou ça peut peut être vous servir