how to configure wamp/xampp on windows

To run php files we need a server. xampp/wamp act like a server on our local computer

1. Install xammp from this url below.

2. Run setup and click install this will install automatically

3.  when installation finished open xamp control panel


4 . Click start Apache server and MYSQL

5.  Now open a folder in C:\xampp\htdocs

htdocs in your root folder where you create your projects

now create a project name test

now create a file name index.php in test folder

copy this code in your file to run php on local server xampp


echo “My first php Script “;
echo “Happy Coding “;


save that file

now open your web browser and type


now your xampp is configured finally. Happy coding 🙂


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s