This tutorial will walk you through setting up a WAMP Server install Apache, PHP5, MySQL and phpMyAdmin on Windows XP running as localhost for testing/developing or editing your website before uploading it to your live website.
To start with we will download Apache which can be found at the following locations:
Notepad++
(optional) - Free source code editor for editing the .php and .ini files in this totorial: Download link: Notepad
++
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.
Installing Apache:
On the downloaded "apache_2.2.13-win32-x86-no_ssl" double click and this will start the installation of Apache server and follow the instructions.
Click next:-
Select "I accept terms in the licence agreement" and click next: -
Click next:-
Complete the first two fields type in "localhost" and as a e-mail addresss you can use webmaster@localhost.com. Installing Apache as a service which starts automatically when computer starts 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 Install:-
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.