O'Reilly logo

Learning PHP, MySQL, and JavaScript by Robin Nixon

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Installing a WAMP on Windows

There are several available WAMP servers, each offering slightly different configurations, but the easiest of these is the appropriately named EasyPHP. You can download it from a link toward the top of its website at http://easyphp.org (see Figure 2-1).

Follow the download link and you’ll be taken to the SourceForge download area. The version used in this book is EasyPHP-3.0-setup.exe, which is about 15.6 MB in size.

Once you’ve downloaded the file, run the installer and follow the prompts, accepting the defaults you are given. Upon completion, EasyPHP will load and an icon will be added to your System Tray, at the bottom right of your screen (see Figure 2-2).

Double-click the System Tray icon and the control window will pop up. From here, you can start, stop, and restart both Apache and MySQL. Sometimes you may find that the initial installation will not correctly start one or the other program, so if you don’t see a green traffic light next to one, select Restart to get it going (see Figure 2-3).

Overcoming Installation Problems

Should EasyPHP pop up any errors about either Apache or MySQL being unable to run because a port is blocked, this means that either a firewall you have running is preventing access, or another program is conflicting with EasyPHP.

You can download EasyPHP via the site’s main page

Figure 2-1. You can download EasyPHP via the site’s main page

Figure 2-2. Accessing EasyPHP’s controls from ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required