Starting WAMP Server

If the server is not already started, from the windows start button, click All Programs, then WampServer and click start WampServer. See the screen shots below, (not I’m using Windows 7) 

start

This is very important to beginners, after WAMP server is installed, it will indicate an icon in the system tray at the taskbar, as we have in the screenshot below (right) Note: if this is not visible, you may have to expand the system tray, as I did in the screenshot below (left)

start wamp
Note: if WAMP server icon (as we have above in the taskbar) is red or yellow, this means that one or more of its programs is still starting, you will have to wait for few seconds but not up to a minute, for it to turn white, which mean all the service has successfully started.
wamp red
However if it remains red or yellow indefinitely (as we have it the screenshot above), then there is a small problem with the server starting, this is often cause by another program using the default port 80, which the WAMP (Apache server) actually need.

So the best thing to do is to either, Test the Port 80 to find the interfering program and close or terminate it OR change Apache from using the default port 80; the former is preferable, so I will explain how to do it here:

 (1) Click the WAMP Icon (2) Click Apache (3) Click Service (4) Click Test Port 80


No interference in the example above as Port 80 is use by Apache
Also note that you will have to start the server each time you shutdown and start your computer.

 

Next »


Introduction to PHP and MySQL »

Setup PHP and MySQL »

Starting WAMP Server »

Testing the WAMPServer (First PHP Program) »

PHP Code block and Variables »

Form processing using PHP »

Sending e-mail with PHP »

PHP Interaction with a Database »

SAMPLE1: a Feedback system »

SAMPLE2: Authentication system »

More PHP sample code »