A vane server is a profound component of the internet. Apache whole kit and caboodle past establishing a connection between a remote server and the browsers of website visitors as they pass with each other. Although its use has declined concluded prison term, this webserver still maintains great penetration in the server marketplace. With that in perspective, we bequeath walk about you through how to go about installation Apache on Windows 11/10.
How to install Apache on Windows 11/10
Before you begin, you'll need to download these deuce items:
- Microsoft Visual Studio C++.
- The latest version of the Apache Linger.
Formerly you have downloaded these items, you can now proceed as follows.
First-year, double-click the Microsoft Visual Studio C++ executable file to install it. After the put in completes, you'll make up prompted to restart your computer. Go ahead and re-start.
Along boot, you can now continue to install Apache.
Here's how:
Create a folder named Apache24.
This folder essential be located in the root of the directory where Windows is installed. For eg, C:\Apache24.
Then unzip the capacity of the Apache Footle you downloaded into the Apache24 folder.
Once the extraction into the directory completes – plunge a command prompt in elevated mode and copy all conjointly and glue the pursuit commands and hit Enter upon to get to the bank identification number folder:
certificate of deposit.. cd.. cd Apache24 cd bin
Now, type httpd and hit Enter to install and runnel the server. You bequeath follow prompted to allow access via the Windows Firewall to be able to connect to the network.
At this point, you can now test the server. To do so, ardour up any installed web browser on your PC, then type localhost or the IP plow of the PC into the address bar and hit Enter. You'll encounter the substance: It kit and boodle!
You nates terminate the service by pressing the CTRL + C key combining.
Now that you get the Apache webserver installed, configured, and proven – you bequeath motivation to configure it as a system religious service. To do and so, re-create and paste the command below and hit Enter:
httpd.exe -k install -n "Apache HTTP Server"
You can immediately aver if Apache has been successfully added equally a system Robert William Service. To do so, press Windows key + R. In the Run duologue box, type services.msc and score Enter.
In the Services window, locate Apache HTTP Server and verify the Startup Type is set to Self-locking. This ensures that every time you boot Windows 10, the server will start automatically.
That's it, folks!
How to install Apache on Windows 11/10
Source: https://www.thewindowsclub.com/install-apache-on-windows-10