Install Apache on Windows XP
A tutorial that help you to setting up a localhost server with Apache, PHP5, MySQL and phpMyAdmin on Windows XP as localhost for testing or developing your website before uploading it to your hosting server. To start this tutorial we need to download Apache which can be found at the following location:
Create a folder with a name "server" on C:\
This is the folder where all of our apache, php, mysql and tmp files will be kept.
On the downloaded "httpd-2.2.22-win32-x86-no_ssl.msi" double click and this will start the installation of Apache server and follow the instructions.
Select "I accept terms in the licence agreement" and click next: -
Complete the first two fields type in "localhost" and as a e-mail addresss you can use firstname.lastname@example.org. Installing Apache as a service which starts automatically when your computer starts up therefore we select Port 80.
Select Custom and click next:-
The server to be installed in C:\server\apache click change button to change the path of the installation.
Navigate to C:\server\apache\ folder and click ok and press ok again.
Now confirm the change and click next:-
click Finish to exit setup
Now see a small Apache icon in the system tray. Here you can start, stop and restart your apache server by clicking on the icon.
See if Apache is running. Open your browser type in http://localhost and Enter. You should see the same page as displayed above.
** Make sure you allow Apache access on your firewall. Some firewalls will block port 80, please refer to your user manual of your firewall regarding port 80. **