Créer un projet dans Wampserver
qclaurin
Messages postés
1
Statut
Membre
-
jordane45 Messages postés 40050 Statut Modérateur -
jordane45 Messages postés 40050 Statut Modérateur -
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:8090 - Forum PHP
- Localhost:8080 ✓ - Forum Webmastering
- Projet x streaming vf - Forum MacOS
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.