How to Install WAMP on Windows Server 2022
WAMP stands for Windows, Apache, MySQL, and PHP. It is a popular, easy-to-use software stack that allows users to create and host web applications on their local Windows machine. WAMP Server provides a pre-configured environment that includes Apache (webserver), MySQL (database server), and PHP (programming language). This stack is especially helpful for web developers who want to build and test their web applications locally before deploying them to a live server.
In this guide, we will walk you through the step-by-step process of installing WAMP Server on your Windows machine. By following these instructions, you will successfully set up a local web development environment on your computer. The desired outcome is to have a fully functional WAMP Server installed and ready to use for hosting your web applications.
- A server running Windows Server operating system along with RDP access.
- A user with administrative privileges.
- Minimum 4 GB of RAM with 2 Cores CPU.
- Microsoft Visual C++
1. Download and Install WAMP
Before starting, you will need to visit the WAMP server’s official website and download the latest version of WAMP on your server. Follow the below steps to install it
Step 1: Click here to download the latest version of WAMP on your server.
Step 2: Once the WAMP server is downloaded on your server. Double-click on the downloaded file to start the installation. You should see the language selection screen. Select your language and click on the OK button. You will be asked to read and accept the license agreement on the following screen:
Step 3: Read and accept the license agreement then click on the Next button. You should see the WAMP information screen
Step 4: Read the WAMP important information then click on the Next button. You will be asked to define the installation folder location:
Step 5: Define your installation folder and click on the Next button. You will be redirected to the component selection screen:
Step 6: Select your required WAMP components such as Apache, PHP, MySQL, and MariaDB then click on the Next button. You will be asked to select the start menu folder
Then select your required WAMP components such as Apache, PHP, MySQL, and MariaDB then click on the Next button. You will be asked to select the start menu folder:
Step 7: Select your start menu folder then click on the Next button. You should see the WAMP ready-to-install screen
Step 8: While installing the setup of WampServer, it will ask which browser you want as default in the WAMP server to change it to Google Chrome or Mozilla Firefox click on YES otherwise NO.
When you click on YES, the Windows Explorer will open from where go to C:\Program Files (x86)\Google\Chrome\Application, select Chrome.exe, and click on Open.
After selecting the default browser, the Wamp Server will also ask us to select the default Text editor which we need in case we want to edit Apache or PHP config files such as HTTP.config or php.ini. By default, it uses the notepad of Windows, I think it doesn’t need to be changed, so that’s why just click on NO. However, if you want to change the Text editor then click on YES and locate your third-party installed text editor as we do above for selecting Google Chrome.
Step 9: Click on the Finish button to complete the WAMP server installation and click the installation screen
2. Verify the WAMP Server
To test the WAMP server, double-click on the WAMP server icon on your desktop to start all WAMP services. Once all the services are started. Open your web browser and type the URL http://localhost. You should see the WAMP server test page:
Please open your web browser and type the URL http://localhost/phpmyadmin. You should see the phpMyAdmin login screen:
Provide the default username as root, leave the password field blank then click on the Login button. You should see the phpMyAdmin dashboard on the following screen:
After installing WAMP on Windows Server 2022, it is time to use the Wamp server.
3. How to use WAMP
The WAMP server provides several options to manage all components. To access all WAMP components, right-click on the WAMP icon in the notification bar. You should see all configuration options on the following screen:
Step 1: Please click on the Tools. You should see other configuration options on the following screen:
Step 2: Now, click on the Command windows. You should see the following screen
Click on the MariaDB Command Shell. You should see the MariaDB command line interface on the following screen
From here, you can interact with the MariaDB database and perform database-related tasks via the command line. Next, click on the Apache Command Shell. You should see the following screen:
Now you can interact with the Apache web server and perform Apache-related tasks via the command line interface.
Having a local server such as WAMP helps create a near-live environment where you can test, design, and experiment with different features such as plugins and get a gist of how your site will look like. We hope that this article was helpful