Créer un projet dans Wampserver
qclaurin
Messages postés
1
Date d'inscription
Statut
Membre
Dernière intervention
-
jordane45 Messages postés 38486 Date d'inscription Statut Modérateur Dernière intervention -
jordane45 Messages postés 38486 Date d'inscription Statut Modérateur Dernière intervention -
Bonjour,
je viens d'installer Wampserver.
J'ai créer un projet dans wamp/www un dossier se nommant Mirgo.
J'ai faite dans mirgo un fichier mirgo.html
j'ai écris pour faire des test.
<html>
<head>
<title>PHP Test</title>
</head>
<body>
<?php echo '<p>Hello World</p>'; ?>
</body>
</html>
quand je vais dans localhost section mon projet ca m'affiche une erreur :
Ce site est inaccessible
Mirgo’s DNS address could not be found.
Merci de l'aide!
je viens d'installer Wampserver.
J'ai créer un projet dans wamp/www un dossier se nommant Mirgo.
J'ai faite dans mirgo un fichier mirgo.html
j'ai écris pour faire des test.
<html>
<head>
<title>PHP Test</title>
</head>
<body>
<?php echo '<p>Hello World</p>'; ?>
</body>
</html>
quand je vais dans localhost section mon projet ca m'affiche une erreur :
Ce site est inaccessible
Mirgo’s DNS address could not be found.
Merci de l'aide!
A voir également:
- Localhost/projet/index.php
- Filigrane projet - Guide
- Gant projet - Télécharger - Gestion de projets
- Localhost:8080 ✓ - Forum Webmastering
- Localhost:8090 - Forum PHP
- Musique projet x - Forum Musique / Radio / Clip
1 réponse
Bonjour,
Quelle adresse apparait dans la barre d'adresse de ton navigateur ?
Vu que tu as mis du code php dans ton fichier .. l'extension de celui-ci doit être .php (et non .html)
renomme ton fichier.
Ensuite, via ton navigateur, va sur : http://localhost/Mirgo/mirgo.php
Sinon, tu peux aussi renommer ton fichier mirgo.html en index.php et là .. en arrivant sur le dossier de ton projet (via wamp / localhost ) ta page devrait s'afficher.
Quelle adresse apparait dans la barre d'adresse de ton navigateur ?
Vu que tu as mis du code php dans ton fichier .. l'extension de celui-ci doit être .php (et non .html)
renomme ton fichier.
Ensuite, via ton navigateur, va sur : http://localhost/Mirgo/mirgo.php
Sinon, tu peux aussi renommer ton fichier mirgo.html en index.php et là .. en arrivant sur le dossier de ton projet (via wamp / localhost ) ta page devrait s'afficher.