Introduction
WAMP is a free and open-source tool most commonly used by PHP developers in the Windows family and other platforms to set up the development and testing environment. The WAMP server comes with the WAMP control panel to manage all its components easily.
WAMP stands for (W) Windows, (A) Apache, (M) MySQL, (P) PHP, and some additional modules including phpmyadmin (for the database).
Once you have installed and configured the WAMP server in your system, you can easily work with any CMS like WordPress, Joomla, Drupal, and more. WAMP server works like a local server in your system that is generally used by PHP developers to test websites (like web projects).
This tutorial will show you various steps on how to install and configure the WAMP server in Windows 10.
Prerequisites for WAMP Server
In order to successfully install and run the WAMP Server, make sure that you have Microsoft Visual C++ Redistributable packages installed in your system.
Installation Process of WAMP Server
Step 1. To download the WAMP Server, visit the "Wamp Server" website in your web browser.
Step 2. Click on the "WAMP SERVER 64 BITS (X64).
Step 3. Now, click on the "download directly" link to start downloading.
Step 4. Double-click the downloaded file to launch the WAMP installer.
Step 5. The"Select Setup Language" window will appear on the screen and then choose your preferred language.
Step 6. Under the "License Agreement", click on the "I accept the agreement" radio button and then click on the "Next" button.
Step 7. Click on the "Next" button.
Note."Information" setup ensures that the required components (prerequisites) are installed on your system for the Wamp Server to function correctly.
Step 8. Choose a location (folder) to install the WAMP server and click on the "Next" button.
Step 9. Select the components that you want to install and click on the "Next" button.
Step 10. Select the start menu folder.
Step 11. The "Ready to Install" window will appear on the screen and then, click on the "Next" button.
Step 12. Now, select the default browser and default text editor for the Wamp server.
Step 13. Click on the "Finish" button.
Configuration Process of WAMP Server
Step 1. Start the WAMP server through its shortcut on the desktop.
Step 2. When the WAMP Server starts, you can see the color of the WAMP server icon in the taskbar becomes green. Initially, it will be red, then turn into
amber, and then green. When it turns green, it means all the services are now running fine.
Fix an Issue of Apache not Working
Some users may face an issue with Apache and MySQL module services not working in WAMP. However, depending on the setup configuration or usage of your system, you may need to change the port number of the Apache and the MySQL. For example, the "World Wide Web Services" under "Internet Information Services (IIS)" is also run on port 80 in your system, which is also the default port of Apache in WAMP. And, the two servers (applications) can not use (run) the same port simultaneously. Follow the instructions below to fix the problem with Apache and MySQL services in the WAMP Server.
Method 1. Change the default port of Apache
Step 1. Open the WAMP Server.
Step 2. In Apache Module Service, click on the "httpd.Conf" button.
Step 3. By pressing the "Ctrl + F" key, find the "Listen 80" and replace it with another open port (like 81 or 9080) and save the file.
Step 4. Restart the WAMP Server by clicking on the "Restart All Services" option.
Step 5. Now, open and check the "WAMPP Server" and also check the localhost and phpmyadmin.
Method 2. By disabling the Internet Information Services
Step 1. From the Start Menu, search for Control Panel.
Step 2. Click on the "Programs" option.
Step 3. Click on the "Turn Windows Feature on or off" option.
Step 4. Uncheck (clear) the "Internet Information Services" option and click on the "OK" button.
Step 5. Click on the "Restart Now" option (This will reboot/restart your computer/laptop).
Step 6. Now, open and check the "WAMPP Server" and check the local host.
Conclusion
By following the above steps, you can install and configure the WAMP server in Windows 10.
I hope you enjoyed this article. Follow C# Corner to learn more new and amazing things about Windows 10.
Thanks for reading this article.