How to Install the Apache Web Server on a Windows PC

The Apache HTTP Server is one of the most widely used web server softwares available. It is an open-source software that can be run on a large number of different operating systems, including Windows. This article will teach you how to install the Apache web server on your Windows PC.

Steps

  1. Image titled Install the Apache Web Server on a Windows PC Step 1
    1
    If you haven't done so already, download the Apache HTTPD Web Server from the Apache web site . Be sure to download the apache_2.2.16-win32-x86-no_ssl MSI installer here: (http://httpd.apache.org/download.cgi)
  2. Image titled Install the Apache Web Server on a Windows PC Step 2
    2
    Save the file to your Windows Desktop
  3. Image titled Install the Apache Web Server on a Windows PC Step 3
    3
    Double click the MSI file saved on your Windows Desktop. You will see a window that looks like this:
  4. Image titled Install the Apache Web Server on a Windows PC Step 4
    4
    Click "Next>".
  5. Image titled Install the Apache Web Server on a Windows PC Step 5
    5
    Click the radio button "I accept the terms in the license agreement".
  6. Image titled Install the Apache Web Server on a Windows PC Step 6
    6
    Click "Next>".
  7. Image titled Install the Apache Web Server on a Windows PC Step 7
    7
    On the next window, again click "Next
  8. Image titled Install the Apache Web Server on a Windows PC Step 8
    8
    Next, fill in all the text boxes with the following information:
    1. "Network Domain": localhost
    2. "Server Name": localhost
    3. "Administrator's Email Address": your email address
  9. Image titled Install the Apache Web Server on a Windows PC Step 9
    9
    Make sure the radio button "for all users, on port 80, as a service - recommended" is selected.
  10. Image titled Install the Apache Web Server on a Windows PC Step 10
    10
    Click "Next>".
  11. Image titled Install the Apache Web Server on a Windows PC Step 11
    11
    After you have typed in the path, click "OK" and then click "Next>". At this point, you should see a window that looks like this:
  12. Image titled Install the Apache Web Server on a Windows PC Step 12
    12
    On the next window highlight "Apache HTTP Server" and click the "change" button.
  13. Image titled Install the Apache Web Server on a Windows PC Step 13
    13
    We are going to install all the packages and scripts in the path C:\Server\Apache2\ (assuming C: is your main hard drive). So in the text box "Folder name:" type in "C:\Server\Apache2\". The ending backslash is important.
  14. Image titled Install the Apache Web Server on a Windows PC Step 14
    14
    After you have typed in the path, click "OK" and then click "Next>". At this point, you should see a window that looks like this:
  15. Image titled Install the Apache Web Server on a Windows PC Step 15
    15
    Click "Install" to begin the installation.
  16. Image titled Install the Apache Web Server on a Windows PC Step 16
    16
    Once the Apache installation software has finished installing all the files on your computer, you will see a final window letting you know the installation was a success. Click the "Finish" button

Tips



  • You can also install XAMPP for a simpler Apache, MySQL, PHP package.
  • To check that the software was in installed successfully, open your favourite browser and type "http://localhost/" into the address bar. You should see a page that looks like this or the words "It Works!":

Article Info

Categories: Web Programming