How to Install an Apache Web Server in Windows

Table of contents:

How to Install an Apache Web Server in Windows
How to Install an Apache Web Server in Windows
Anonim

The Apache HTTP Server is one of the most famous and used web server programs. It is open-source software that can be installed on a large number of operating systems, including Windows. In this tutorial you will be shown how to install Apache on a computer with a Windows operating system.

Steps

Install the Apache Web Server on a Windows PC Step 1
Install the Apache Web Server on a Windows PC Step 1

Step 1. If you haven't downloaded the Apache HTTPD Web Server installation file yet, do so by going directly to the Apache website

Make sure you download the 'apache_2.2.16-win32-x86-no_ssl' installation file. You can do it directly from this link.

Install the Apache Web Server on a Windows PC Step 2
Install the Apache Web Server on a Windows PC Step 2

Step 2. Save the installation file to your computer desktop

Install the Apache Web Server on a Windows PC Step 3
Install the Apache Web Server on a Windows PC Step 3

Step 3. Double click on the file with 'MSI' extension

A window similar to the following will appear:

Install the Apache Web Server on a Windows PC Step 4
Install the Apache Web Server on a Windows PC Step 4

Step 4. Press the 'Next' button

Install the Apache Web Server on a Windows PC Step 5
Install the Apache Web Server on a Windows PC Step 5

Step 5. Select the radio button 'I accept the terms in the license agreement'

Install the Apache Web Server on a Windows PC Step 6
Install the Apache Web Server on a Windows PC Step 6

Step 6. Press the 'Next' button

Install the Apache Web Server on a Windows PC Step 7
Install the Apache Web Server on a Windows PC Step 7

Step 7. On the next page, press the 'Next' button again

Install the Apache Web Server on a Windows PC Step 8
Install the Apache Web Server on a Windows PC Step 8

Step 8. Now type the following information in the relevant fields:

  1. 'Network Domain': localhost
  2. 'Server Name': localhost
  3. 'Administrator's Email Address': your email address

    Install the Apache Web Server on a Windows PC Step 9
    Install the Apache Web Server on a Windows PC Step 9

    Step 9. Make sure the radio button 'for all users, on port 80, as a service - recommended' is selected

    Install the Apache Web Server on a Windows PC Step 10
    Install the Apache Web Server on a Windows PC Step 10

    Step 10. Press the 'Next' button

    Install the Apache Web Server on a Windows PC Step 11
    Install the Apache Web Server on a Windows PC Step 11

    Step 11. At this point in the installation, select the 'Custom' radio button, then press the 'Next' button

    Install the Apache Web Server on a Windows PC Step 12
    Install the Apache Web Server on a Windows PC Step 12

    Step 12. In the window for the custom installation of components, select the 'Apache HTTP Server' item and press the 'Change' button

    Install the Apache Web Server on a Windows PC Step 13
    Install the Apache Web Server on a Windows PC Step 13

    Step 13. All program components and related scripts will be installed in folder 'C:

    Server / Apache2 / '(assuming your primary hard drive is identified by drive letter' C: '). In the 'Folder name:' field type the following character string: 'C: / Server / Apache2 \' (without quotes). The trailing backslash '\' is very important, so don't omit it.

    Install the Apache Web Server on a Windows PC Step 14
    Install the Apache Web Server on a Windows PC Step 14

    Step 14. Once you have finished entering the installation path, you can press the 'OK' button and then the 'Next' button

    At this point in the installation procedure, you should see a window similar to the following:

    Install the Apache Web Server on a Windows PC Step 15
    Install the Apache Web Server on a Windows PC Step 15

    Step 15. Press the 'Install' button to proceed with the actual installation

    Install the Apache Web Server on a Windows PC Step 16
    Install the Apache Web Server on a Windows PC Step 16

    Step 16. When the installation wizard has finished copying the files to your computer, you will be shown the last window confirming that the installation was successful

    Press the 'Finish' button to complete the procedure.

    Advice

    • You can also install XAMPP, if you want a simple Apache server using MySql and PHP.
    • To verify that the software is installed correctly, start your favorite browser and type the following address https:// localhost / in the address bar. You should be able to see a web page similar to the following:

      Image
      Image

      Apache Success

Recommended: