Windows web server
To install a Windows web server, you have several solutions.
Either by installing Apache alone or Wamp.
Requirements for a Windows web server
In the prerequisites, you will find the download links;
Installing a Windows Web Server with Apache2
Once you have all the downloads, we will explain how to install Apache2.
To start you go to the C:\ drive. You will create three folders.
The third folder www can be put in another drive or hard drive like D:\
Then we are going to unzip the file httpd-2.4.54-win64-VS17.zip in the directory C:\Apache24. To do this we use a small and very light and free software 7zip.
Testing the Windows web server with apache2
So we advise you to test after the installation. because there can be errors.
Let’s go. open the folder C:Apache24, and go to the Bin folder.
You should find a file called httpd.exe
Now that you have found the folder, click on the file httpd.exe.
You may get two errors. The first is the Windows firewall. Then the second one is a problem with a file that does not find “VCRUNTIME140.dll”.
Then once the packages are installed, we test again.
Finally we click on the file httpd.exe in the folder c:\Apache24\bin and there we have a Windows security alert that appears.
You need to click on private networks and the Allow access button.
Now go to your firefox or other web browser, type in the address bar 127.0.0.1 or localhost. you should see It’s works.
To conclude, the installation of Apache2 is finished for the moment we still have to configure Apache2.