Download and install WAMP (Windows, Apache, MySQL, PHP) from the official WAMP website: http://www.wampserver.com/en/
Launch WAMP and make sure it is running. You should see a green W icon in the system tray if it is running.
Open your web browser and go to
http://localhost/. You should see the WAMP homepage.
Click on the “phpMyAdmin” link to open the phpMyAdmin interface. This is a web-based tool for managing MySQL databases.
Create a new file called
test.php in the root directory of your web server. This directory is usually located in
C:\wamp\www depending on the version of WAMP you have installed.
test.php, add the following code:
<?php phpinfo(); ?>
Save the file and navigate to
http://localhost/test.php in your web browser. You should see a page with information about your PHP installation.