[LAMP] How to install Apache on windows system

Apache is a popular platform to establish website on your local machine. In this tutorial, we are going to demonstrate how to setup Apache 2.4 on Windows 7 system.

First, Go to the Apache Lounge website

enter image description here

Download both:
1. the latest C++ Redistributable Visual Studio 2017 and
2. Apache *.zip
files for your operation system
(For me is Win64 version)

Unzip the file after downloaded and put the Apache24 folder to the location of C:\
enter image description here

Run the CMD.ext as Administrator and change the direction to the folder of C:\Apache24\bin
enter image description here

Type in httpd.exe -k install
enter image description here

Go to the folder of C**:\Apache24\bin** and double click on ApacheMonitor.exe
enter image description here

You can see the Apache 2.4 server with green light if the server has been started properly.
enter image description here

Type in localhost in your browser address. If the Apache works properly. You can see a web page displayed in your browser.
enter image description here

This is the first step to start up your own website with Apache!

Uninstall
Type in these code with the administration mode of CMD.exe under the folder of C:\Apache24\bin`enter code here

httpd -k shutdown httpd -k stop httpd -k uninstall

Comments