Saturday, May 25, 2013

How to run PHP in XAMPP

Using XAMPP is very easy. Follow these steps -

1. Run the XAMPP application. Turn on Apache & MySQL (if your application needs database) services through it.
2. find the folder where xampp is installed example C:\xampp\htdocs
3. create a folder in C:\xampp\htdocs example Test
4. in Test folder save PHP file example test.php
5. once the php file saved in test folder open browser any browser ex. firefox, internet explorer , google chrome etc.
6 . once the browser is opened type the following in address bar  http://localhost/Test/test.php

your browser will execute the php file and we will find the webpage ...



No comments: