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. 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. Save the file to your Windows Desktop
  3. Double click the MSI file saved on your Windows Desktop. You will see a window that looks like this:

  4. Click "Next>".
  5. Click the radio button "I accept the terms in the license agreement".
  6. Click "Next>".
  7. On the next window, again click "Next
  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. Make sure the radio button "for all users, on port 80, as a service - recommended" is selected.
  10. Click "Next>".
  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. On the next window highlight "Apache HTTP Server" and click the "change" button.
  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. 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. Click "Install" to begin the installation.
  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!":

Related Articles

Sources and Citations