I want to install an Apache 2 server on a Windows 10 system. The official documentation (https://httpd.apache.org/docs/2.4/platform/windows.html) states that:
“The Apache HTTP Server Project itself does not provide binary releases of software, only source code”
To have a binary of the Apache HTTP Server it has to be compiled by oneself or acquired from a distribution provided by a thrid party. These distributions usually bundle Apache with PHP and MySQL.
The question is:
What distribution is recommended to install a standalone Apache 2 server and what are the steps to do it?
2
Answers
I have used the Apache Lounge distribution indicated in the official Apache 2 documentation (https://httpd.apache.org/docs/2.4/platform/windows.html)
These are the steps to install Apache on Windows using Apache Lounge distribution:
Option 1: To run it from the console:
Execute httpd.exe
or
Open http:localhost or http:127.0.0.1 in brwoser
Option 2: To install it as a service:
Open Windows Power Shell as administrator
Install the service
Start the service
or through the services administrator
Open http:localhost or http:127.0.0.1 in brwoser
Easy:
done!
Now type "localhost" into your browser and a message "It works" should appear on screen.