installing apache 2.2

950 font color comparission chart
SSL certificates

A step by step guide on how to install Apache 2.2.19 in Microsoft Windows

(Apache 2.2.19 Page 1 of 3)

Installing Apache 2.2 on Microsoft Windows

Module Introduction


Apache 2.2.19 [Release Date: 22-May-2011]:
(This guide supercedes Install Guide: Apache Server 2.2.17)
(Note: The latest recommended apache release is 2.2.22 released on the 31-Jan-2012 and replaces version 2.2.21 released on 13-Sep-2011. An updeated guide is pending on the 2.2.22 release version. You can still follow this guide to download and install either 2.2.19, 2.2.21 or 2.2.22)

The reason the Website Administrator would install Apache HTTP server onto a computer is to enable him to serve webpages and/or other content on the World Wide Web, on an intranet or for personal testing before uploading his site live.

Using the Apache Windows .msi installer file, this study module aims to successfully instruct the Website Administrator on how to install and correctly configure Apache HTTP server on a Windows computer. Installing Apache on Windows XP SP2+, Vista or a Windows7 based operating system is a matter of following each of these steps in sequence.

If you plan to install your Apache server on Windows 95/98/Me, Windows NT 4.0, Windows 2000 or other Windows operating system than those listed above, please refer first to the notes in prerequisites. XP users should ensure they are running XP Service Pack 3 with this Apache version release.

During this installation phase, the difference between setting up a test system and a live system (www or intranet) is only encountered in the section entitled Server Information. This module assumes the installation purpose is for a test server setup. We have decided to include some notes for users wishing to host their own internet website using their home or home-office computer along with their normal local internet connection.

The Website Administrator can also install PHP5 and My SQL along side this version of Apache under Windows to add greater functionality, perfect his skills or to demonstrate new experimental ideas with swiftness and ease.



On completion of this module, the Website Administrator will have demonstrated that he has attained the necessary skills required to install and configure Apache HTTP server on a Microsoft Windows based Operating System. He will become familiar with how to locate and do a simple edit to Apache's main configuration file, httpd.conf. He will also learn how to modify the document root (the home directory) so that he can create any number of 'test website' directories and be able to point the configuration file to only one of these test websites at a time. This is very useful for any Website Administrator who tends after more than one website.

The more the Website Administrator understands, can and does use the basic tools of his trade, the better his service will be to his client base.


Which Windows compatible Apache Version 1.3 or Version 2.2?

As the Website Administrator, a major question to firstly resolve is which Windows version of Apache should be installed on your system, version 1.3 or version 2.2? Your decision may be influenced by your desire or need to add further functionality to your HTTP Server in the future with add-on software programs like PHP5.3.5 or earlier, including all PHP4 versions (PHP is a very popular free server side scripting software which can add greater functionality to websites) or My SQL (a very popular free data base software).

The strongest argument against using the once very popular Apache HTTP Server version 1.3 is that this version has been declared as having reached it's "end of life" and is now officially deprecated and removed from the main Windows versions downloads page. Further notes on this version can be found in our 2.2.17 install guide.

The most recent release of Apache HTTP server version 2.3.16 is available in it's testing alpha form. This version of apache will eventually become Apache 2.4.x As this is not yet ready for general release, we will pass over this version for now.

This brings us to the best recent and most stable WIN32 version available. This release also works well with a range of current contemporary third party software programs such as the previously mentioned PHP, My SQL etc., as these developers have already released compatible Windows installation software which will go in nicely with our 2.2 server. So the version we should want to install is the current Apache HTTP server Version 2.2.22.


Notes on TCP/IP networking:

The installation of Apache under the Windows Operating System requires that TCP/IP is correctly installed and configured on the computer. You should also ensure you are connected to the internet/intranet before you install and use Apache with Windows. Dial-up networking users should also ensure they are first connected to the internet which will allow Apache to check that TCP/IP is correctly installed.

adobe products

Notes on SSL:

An SSL [Secure Sockets Layer] allows the administrator to add encryption between the server and visitor. When a web page is actively using SSL, the web browser location bar will display the web page address beginning with https:// instead of the more common http:// location.

In this tutorial, the target download is the apache "no mod_ssl" version as many websites have little to no requirement for a personal SSL setup. If needed, many prefer to simply obtain an SSL certificate(s) from Trusted Suppliers for a variety of valid reasons to simplify the process of Trust. Especially in e-commerce scenarios.

To add SSL function, you can install a version of Apache HTTP Server in which Mod_SSL is included [available from the linked Apache downloads page below]. However, if you do plan to use an SSL function, your preference may be slanted to other SSL binaries like

In a Third Party SSL binary scenario, you would first install the "no mod_ssl" version of Apache HTTP Server 2.2.19, then add and configure your Third Party SSL binary after this setup was complete.

For these reasons, and to keep this installation guide simple, we download the Apache version which does not require any SSL setup at this time.

If looking for a digital delivery solution etc., one can also easily expedite a sales process by purchasing an SSL certificate from an SSL supplier, such as one from the very popular entrust SSL products or use products similar to those found in the LinkLok Php range (see below).


Notes Multi-Processing Module (MPM) & Thread Safety:

(this note is for advanced users, programmers and developers)

"...When upgrading or installing this version of Apache, please bear in mind that if you intend to use Apache with one of the threaded MPMs (other than the Prefork MPM), you must ensure that any modules you will be using (and the libraries they depend on) are thread-safe...." (source link ). Also see Multi-Processing Modules (MPMs) for more information.


Download the software:

Selecting the next link will open a new window or tab and take you directly to the correct section of the downloads page and provides the most current version for your apache windows installer software.

Scan down the immediate list of available download descriptions in that section until you find Win32 Binary without crypto (no mod_ssl) (MSI Installer): httpd-2.2.22-win32-x86-no_ssl.msi and select that file for download. It should automatically locate your nearest mirror site for a quick download.

If you are seeking the 2.2.19 or 2.2.21 install file, the file name for Win32 Binary without crypto (no mod_ssl) (MSI Installer) is httpd-2.2.19-win32-x86-no_ssl.msi [4.9Mb] or httpd-2.2.21-win32-x86-no_ssl.msi [4.9Mb] which is in the apache archive directory. Copy the file name to clip-board and search the page is the fastest method to locate the correct file.

The remainder of this apache tutorial will walk you through this apache HTTP server windows installer file so that it is functioning on your Microsoft XP, Vista, Windows 7 (or other MS OS Software with the prerequisites in place) Operating System. The Apache HTTP Server installer file is quite small in file size and will not take long to download. Here's a couple of interesting bits of data while you wait.


Notes for installing Windows Php on Windows Apache 2.2.19

Official Apache VC9 builds for Windows Operating Systems:

This note does not apply to those using Php with Apache with any other operating system other than MicroSoft Windows.

Technically speaking, the newest version of Php you should install with genuine downloads is Php 5.3.5 (The VC6 version). There are simply no official Apache (32bit / 64bit) VC9 compiled downloads to suit MicroSoft Windows (Check that link for updates to this datum). As the Php-Windows crew are no longer offering pre compiled VC6 version releases for the general Apache-Windows-Php public, there is a window of opportunity for anyone to establish themselves (or their website) as a major source for Apache VC6 compliant Windows-Php software downloads. You would simply need to compile and release VC6 versions of any new Php release to achieve this.

Conversely, if you are seeking an unofficial VC9 Apache-windows version of software, you should refer to our notes found in our Php 5.3.5 guide (or later guide versions) which are accessible through our PHP guides found in the top right-hand menu of this page.

Want help with your Cisco - CCNA CCNP certification course? This is a good step by step approach resource for any and all 24hr video based training assistance!


Copyright © 2011 Website Administration Services ™




Powering over 120 million Webservers world-wide, Apache is the most prolific server software on the internet and this easy to follow module will guide the administrator through each of the needed steps of the install process so that in a short amount of time, his first Windows based Apache HTTP Server will be setup and running and he can have at it.

Website Employment &
Job Opportunities

New Zealand
South Africa
United kingdom