How to run PHP files on localhost?
October 30, 2008 by: Ranjith1. First download the xampp from http://www.apachefriends.org/en/xampp.html
2. Extract the file and double click the exe. This will install Mysql and Apache servers.
3. Once the installation is complete, you will find XAMPP under Start / Programs / XAMPP. You can use the XAMPP Control Panel to start/stop all servers. Start Mysql and Apache servers.
4. Write a test.php file and copy it in to C:/Program Files/XAMPP/htdocs/
5. To run the php file, you just need to brows http://localhost/test.php
Note: You can also create any folder inside htdocs and past test.php inside the folder. If you create a folder called test then the address will become http://localhost/test/test.php


Bro i installed wamp & iis with php designer both of them didnot work so i search on google and i find ure article i m really thankfull for ure efforts and hardwork work Ranjith Keep it up dude,,,,
Thank you Ranjith
it solved my problem
very well tutor about running files on xampp and wamp
Simple and Nice Tutorial
Plese send me ho to run php file in localhost
I Don’t konw how to setting in localhost
But this file i create and save in www folder and run with localhost in interbet explorer i get a error file not found plese send me detials
I have php designer, wamp server, iis. But could not able to open the php file in browser. The file couldnt run. how to run php file.
Plz send me the exact soln and Correct procidure to follow.
it works perfectly…
realy a good one thanks
it’s so nice.
its a nice suggestion but i installed wamp server … but it needs start first to execute the progarm ….. is this necessary for all server or it necessary only for wamp server
Thanks for sharing. Can we install Xampp in D drive..as i dont have much space to store my PHP project files in my C drive.
How can i run mysql, please explain with an example
Thanks
sir ,i am doing a college project in which i have to create a image gallery where different user can share the images and also music …so do what other tools do i need apart from xampp to make both front end and back end(database)
thanks for this short & easy tutorial
i got what i was looking for
Thank u so much Ranjith, for explaining very simple way to install and run PHP. Cheers and Keep it up.
Thanx for advise.
It works.
A good wish to you……………………
BINGOOOO !!!!… i love u man .. i have been searching to run php for hours.. and thanks God i came across your article .. so simple and brilliant..
i wish u best of luck in every walk of life
I’m doing my fourth project so i wants to know how to run php… waiting for the reply…
thanks….
hi i was installed xampp in my windios but when i open my local host it opens the oracle http server so what i can do…………………………plz help me
thanx it really is very simple