dimanche 3 avril 2016

Open .php from web browser [duplicate]

This question already has an answer here:

I have this .php file (index2.php)

 <html>
 <head>
  <title>PHP Test</title>
 </head>
 <body>
 <?php 
  echo "Hola, como estas??"; 
 ?> 
 </body>
</html>
Resultados de búsqueda

I saved it on : file:///home/josue/Desarrollo/lab.local/index2.php and when I go to this direcction on the web browser, the web browser wants to download it. I am not using any web server, I just want to open it from that directory. I want to display: Hola, como estas?? on the web browser.




Aucun commentaire:

Enregistrer un commentaire