fbpx

This article is part of series of articles on Apache. Here is the list:

  1. Introduction to Apache Web Server.
  2. Difference between Apache http and Apache Tomcat.
  3. How to Install and Run Apache Web Server on Ubuntu Linux.
  4. How to Install and Run Apache Web Server on Windows 10.(this one)

Original Article:

So, crack those knuckles and follow along.

Step 1.

Apache is a software, so we have to download it, visit the site

https://httpd.apache.org/download.cgi

1

Click on the latest stable release

Step 2.

You want the binaries, click on it.

2

Step 3.

Now go to โ€˜win32โ€™ and click on it.

3

Step 4.

Scroll down to see โ€˜ApacheHausโ€™ , open it.

4

Step 5.

You should have something like this.

5

Scroll down to see the version of Apache in two variations 32 bit and 64 bit (x64) (blue boxes).

Click on download on whichever one you want (red circles).

6

Step 6.

Open up the downloaded file, then open up the folder with Apache24 on it.

Copy all the files and folder in it.

7

Step 7.

Make a new folder in any drive and paste the files in a folder named โ€˜Apache24โ€™.

7-2

Just make sure the address is not much complicated.

Step 8.

Open System Properties, by right clicking on โ€˜This PCโ€™, then properties.

8

Step 9.

Open Advanced System Settings.

9

Step 10.

Click on Environment Variablesโ€ฆ

10

Double Click on โ€˜Pathโ€™

11

Step 11.

Now click on โ€˜Browseโ€™

Find the folder you created and select

12

bin from it and click ok.

After youโ€™ve done that it should look like this.

13

Now click ok, and the windows will keep closing.

This has to be done because the Web Serverโ€™s daemon runs as a Service on windows.

Step 12.

Press win+R, or open Run.

Write

services.msc

Find the โ€˜Apacheโ€™ service, right click on it and press start.

14

Step 13.

Open Command Prompt as Admin, and write

httpd โ€“k install

When the window pops โ€œAllow Accessโ€

15

Check:

Open up any browser and write โ€œlocalhostโ€, the window below should appear.

16

You are done!!

You can test all the above on our Windows VPS with a 20% lifetime discount. Use the coupon codeย WIN20OFF at checkout.

Categories: Tutorials

3 Comments

Paul · April 24, 2017 at 10:28 PM

step 12 does not work! please check

Mubashirullah Durrani · December 7, 2018 at 11:31 AM

Step 12 and 13 are out of order. Run the cmd part before the service one. Otherwise, Apache 2.4 will not be visible.

How to Install and Run Apache Web Server on Ubuntu Linux OS – Virtono Community · July 23, 2016 at 7:51 PM

[…] How to Install and Run Apache Web Server on Windows 10. […]

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.