0
How do I make a php file run on my localhost
I've been trying to run php but it doesn't give me the output, it just returns the source code.
3 Answers
+ 11
> Start your Wamp server.
> Create your php file.
> Save your file in www folder which you'll find inside wamp folder with .php extension.
> Now open your browser, and type localhost/yourfilename.php
Now your website will open through localhost.
+ 1
Have you a local server ?
+ 1
Wamp server or easy php?