Je viens d'installer la nouveller version de WAMP 2.0 (sur ce site). WAMP est lancé impec. Mais quand je crée un nouveau projet, ça ne marche pas. Voici les étapes que je fais: 1. Créer le répertoire test dans wamp/www/test, avec le fichier base index.php dedans: <?php echo "Bonjour"; ?> 2. Modif le fichier wamp/bin/apache2.2.6/conf/http.conf : -> Activer la ligne Include conf/extra/httpd-vhosts.conf (supprime #) 3. Modif le fichier wamp/bin/apache2.2.6/conf/extra/httpd-vhosts.conf : <Virtualhost 127.0.0.1> ServerName localhost DocumentRoot D:/Applis/wamp/www </Virtualhost> <Virtualhost 127.0.0.2> ServerName test.localhost DocumentRoot D:/Applis/wamp/www/test </Virtualhost> 4. Modif le fichier c:\windows\system32\drivers\etc\hosts 127.0.0.1 localhost 127.0.0.2 test.localhost 5. Reboot la machine
Après passer toutes ces étapes, je lance IE avec url [test.localhost], j'ai recu la page d'erreur : "Erreur de chargement de la page". Je regarde le fichier appache_error.log, il y a des lignes comme: [Mon Jan 21 16:10:37 2008] [notice] Apache/2.2.6 (Win32) PHP/5.2.5 configured -- resuming normal operations [Mon Jan 21 16:10:37 2008] [notice] Server built: Sep 5 2007 08:58:56 [Mon Jan 21 16:10:37 2008] [notice] Parent: Created child process 3340 [Mon Jan 21 16:10:37 2008] [notice] Child 3340: Child process is running [Mon Jan 21 16:10:37 2008] [notice] Child 3340: Acquired the start mutex. [Mon Jan 21 16:10:37 2008] [notice] Child 3340: Starting 250 worker threads. [Mon Jan 21 16:10:37 2008] [notice] Child 3340: Starting thread to listen on port 80.
Merci de votre réponse. J'ai testé mais ça marche pas encore.. Je lance [toto], il affiche le contenu du projet localhost par défaut (c mieux que hier qu'il affiche rien du tout). Je n'ai jamais vu ce problème dans la dernière version du wamp. C'est bizarre !