Information Technology Reference
In-Depth Information
Windows-based systems but chances are, if you are using Linux or OS X, then you are
already familiar with setting up an *AMP environment for testing.
For our testing environment, we will be using the open source and freely available
WAMP server called Uniform Server ( http://www.uniformserver.com/ ). Yo u can
download the WAMP server from their website. The version I am using, and the version
that will be shown in the screenshots in this chapter, will be from version “7.1.2-Orion.”
Setting up the test environment is fairly simple. Just find the downloaded file that you
grabbed from the website and run the self-extracting EXE file. Once you do that, open
the folder. Before running the server, I wanted to go over a few helpful programs that the
Uniform Server team included to make our lives easier. The first application is called
Pre-Check (Run_pre_check.exe). 1 Let's run this application and look at the results in
Figure 2-1.
Figure 2-1. Uniform Server's Pre-Check application showing that ports 80 and 443 are currently in use
As you can see, if I tried to run the server at this moment in time, it would fail. I currently
have Skype open and it is running on the classic HTTP ports (Ports 80 and 443) that I
need to run the server. There's a one program to port rule in networking, so we need to
do a bit of simple tweaking. While you do have the ability to edit some configuration files
to change which ports you will use, for the sake of simplicity, I will just shut down Skype
so we can run on a default set up.
Now that we have freed up our ports, we can run the “Start.exe” application that will
open up and place an icon in your system tray. Right click the Uniform Server icon in
your system tray. It looks like a blue box with the numeral 1 in it as seen in Figure 2-2
below. Choose the “Install and Run All Services” option at the top of the menu. Now, if
you open up your web browser and point it toward http://localhost/, you should be
1 You may need to run this, and other commands, as an administrator in Windows. To
do so, right click on the command and choose “Run as administrator.”
 
Search WWH ::




Custom Search