How To Install Apache

Apache is a fully featured set of open source software for web servers. It is the most popular software of its type in the world, with over 50% of the market currently using some variant of Apache. Whilst it generally comes pre-installed with MacOSX and Linux, some Windows users may need to install it. Luckily, this is not a complex process. However, if you are not confident with technology, it may be best to download the 'all in one' installer, which is available on the official Apache download page.

If you do want to manually install Apache onto Windows, the first step is to download the files. Again, you can find them on the Apache download webpage, with Apache 2 being recommended for Windows installation. Just scroll down to find the appropriate .MSI file for the version you wish to install. If you use Skype, before you proceed you will want to configure it so that there is no clash with Apache. You can do this by opening Skype and visiting Tools>Options>Advanced>Connection. Just uncheck "Use port 80 and 443 as alternatives for incoming connections" and all should be well.

Once the files are downloaded, double click on the .MSI file to begin installation. After accepting the licence, you will need to enter a Network Domain name, Server Name and a functioning email address. The easiest names to select are usually 'localhost' for both. Once you have done this, select the 'recommended' option of using Port 80 at the bottom of the display, and click Next. If you are confident, choose Custom Install and remove the option 'Build Headers and Libraries', unless you specifically require server extensions for your project. If you are not sure, just choose the Typical Install option.

After clicking Next, Apache will rapidly install and you should notice the Apache Service Monitor running in your system tray. You will probably need to give permission for your firewall to allow Apache to function, and then you will be able to open up your web browser and visit http://localhost/. This should open up Apache's welcome page. Specifically, you should be looking at a message saying "It works!"

If, despite implementing the well known 'Skype fix' mentioned above, you are still receiving a Port 80 error, never fear! You can use a utility such as ActivePorts or TCPView to find out which program is using Port 80, and just make sure to disable it when using Apache. Alternatively, you can switch the port used by the other program, and this should fix any functionality issue. The Apache community forums contain a large amount of troubleshooting advice should you come across any other problems in installing this popular piece of software.