PHP Installation – Wamp

Download and install WAMP (Windows, Apache, MySQL, PHP) from the official WAMP website:

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:\wamp64\www or C:\wamp\www depending on the version of WAMP you have installed.

In test.php, add the following code:


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.