You can install Apache anywhere, such as a portable USB drive

But, in this scenario we install in C drive

Download latest version or your required Apache web server setup from site

Apache httpd for Microsoft Windows


Stable Release – Latest Version:

Microsoft Visual C++ 2005 SP1 Redistributable Package (x86) or latest verion

Install this setup


Extract the file

We will install Apache in C:Apache2, so extract the ZIP file to the root of the C: drive

Apache can be installed anywhere on your system, but you will need to change the configuration file paths accordingly…

Configure Apache

Apache is configured with the text file in httpd.conf contained in the Apache > Apache24>conf folder. Open it with your favorite text editor or notepad.

There are several lines you should change for your production environment:

Change line


Define SRVROOT “/Apache24”


Define SRVROOT “C:/Apache24”

listen to all requests on port 80:

Listen :80

ServerName localhost:80

Change DocumentRoot


DocumentRoot “${SRVROOT}/htdocs”

<Directory “${SRVROOT}/htdocs”>


DocumentRoot “C:\Apache24\htdocs”

<Directory “C:\Apache24\htdocs”>

Then save your file .

Go to C:\Apache24\bin

And run the ApacheMonitor.exe file

Elfsight widgets for your website

Check Apache is running or not in task manager


Open Apache Monitor


If Apache service is running then green icon ,if not then red icon shows.

Now , test


Great Apache server started.


Click to rate this post!
[Total: 0 Average: 0]