Install Apache on Windows

Install, configure and use
Apache, PHP, MySQL
on Linux and Windows.
 

Install Apache on Windows


Attention! To install Apache form your Linux distributions you must have admin privilidges.
This page shows you how to install Apache Web Server on Windows (XP).
First of all You need to download Apache Windows binary. You can get it directly from Apache download page. Look for "Win32 Binary (MSI Installer)", save it somewhere localy and run it. You will seee the following:
Install Apache on Windows
Then proceed with Apache Installation dialog by clicking NEXT:
Install Apache on Windows
You need to accept Apache Terms and Conditions:
Install Apache on Windows
Apache Windows installation wizard might give you some general information abotu the project:
Install Apache on Windows
Apache installation wizrd promts you to enter server details:
Install Apache on Windows
Probably you want to enter some real data of you web site similar to the example below:
Install Apache on Windows
There are two options of installation: typical and custom. For default Apache installtion Typical one will do.
Install Apache on Windows
After prompt you can change the default path where Apache should be installed. We kept the default one.
Install Apache on Windows
Now everything is ready to copy Apache files to your hard disk.
Install Apache on Windows
Just wait for a while unless apache will finish copying and initial setup:
Install Apache on Windows
That is it! Apache has been installed on your windows box and is up and running!
Install Apache on Windows
Most windows systems have firewall switched on. You MUST unblock firewall to make Apache respond to your requests. Other wise firewall will blocck everything going from and toyour web server.
Install Apache on Windows
Now you may check that evrything is fine and Apache running without any problems. You should see icon as shown below that shows current status.
Install Apache on Windows
You may use this Icon to control your web server: stop, start, restart it at any time. Please, make sure that you restart it after every change of configuration. Otherwise in most cases changes won't have any effect.
Install Apache on Windows
In order to see you web server doing something just fire up your browser and go to "http://localhost" site (it is your deafult locale site). Different versions of Apache has different greetings. Version 2.2.3 greeting shown below:
Install Apache on Windows
Now you can configure it! The example below shows how to find you configuration file.
Install Apache on Windows
Configuration files for Windows and Linux are very similar (except File path syntax). Please, refre to our Apache confugration page for futher instructions.
Obviously if you installed Apache on your local box and want to access it localy, you need to let you system know how to resolve your local domain name. To do that you need to add 127.0.0.1 www.exmaple.com your local domain name (e.g. www.example.com) to C:\WINDOWS\system32\drivers\etc\hosts .