How to run PHP programs using WAMP server on Windows operating system?
First, Download WAMP server from http://www.wampserver.com/en/
Here are the steps to install WAMP server on your PC and run your first PHP program.
1.Double click on WAMP server set up file
2.Click on Run
3. Click “Next”
4. Click on “Accept”
5. Click on “Next”
6. Click on “Next” [here you can also make shortcut to wamp]
7. Now, Click on “install”
8.After successful installing WAMP server, it will create the folder called “wamp” in local drive (C:) this wamp folder contains a sub folder called “www”.
9.Now, open notepad or any text editor for creating your first PHP program.
10.Now create a folder e.g.”PHP_Programs” under “www” folder [your folder path should looks like this, c:\wamp\www\PHP_Programs].
11.Type following code in the note pad and save it as e.g.” myfirst.php and save inside the “PHP_Programs” folder.