How to install Apache on Windows Print

  • 0

Apache is one of the most popular web server software, developed and maintained by Apache Software Foundation. It is based on Linux, however, due to its great functionality, users are also interested in getting it on Windows. You can use this tutorial to install Apache on all client and server versions of Windows except Windows XP and Windows Server 2003.

Click on the following link and download Apache web server for Windows: Windows Apache download
Note: Apache will require C ++ Redistributable Visual Studio to run on Windows. If you do not have it installed on your system, download it from one of the following links and install it.

C ++ Redistributable Visual Studio – 64bit

C ++ Redistributable Visual Studio – 32bit

 

After downloading Apache, extract and copy it into a folder named Apache24 in C:
Apache installing in Windows 1

Apache installing in Windows 3

Now, run CMD with administrator access. (to do so, press 'windows key' + 'R' simultaneously. In the opened 'Run' window, type: cmd)
Run the following command to enter bin folder:

cd c:\Apache24\bin

Now enter the command shown below to install Apache web server.
httpd.exe -k install -n “Apache HTTP”

Apache installing in Windows 2

Open 'Run' (refer to step 3 for a guide on how to) and enter services.msc.
Apache installing in Windows 4

Now, find Apache HTTP Server service and start this service by right clicking and selecting 'Start'
Apache installing in Windows 5

Now the Apache web server is installed and running on your Windows VPS.

Open a browser and enter your computer’s IP. If you have completed all the steps correctly, you should see a page similar to the below image.


Was this answer helpful?

« Back