Part 1 – Install a Testing Server

The other parts in this article are:


Topics on This Page:


The Testing Server
The Testing Server

Download a Testing Server package:

Download your chosen local web server package. There are various free, open source packages available:

  • XAMPP (windows, Linux & OSX).
  • MAMP (windows & OSX).
  • A list of other AMP (Apache, MySQL, PHP) packages can be found on Wikipedia.

You can download all the AMP components individually (Apache, MySQL, PHP), but it is far easier with one of these configured ‘ready to install’ packages.

Download a Testing Server (or AMP Stack). In this case i'm using XAMPP...
Download a Testing Server (or AMP Stack). In this case i’m using XAMPP…
Video of a Testing Server Being Downloaded:
Download a Testing Server Package (an AMP stack) – XAMPP
Notes:
  • If the web server package asks which version of PHP, pick one of the more recent version numbers, or check which version your hosting provider uses, (if you have one?).
  • You can download a testing server ‘package’ configured to install WordPress at the same time. This is great for single websites, but if you plan to install more than one website, you may want to install individual copies of WordPress, for each site.

Installing the Testing Server Package:

I am going to use XAMPP (an AMP stack) for Windows in this example. XAMPP is one of the most common, open source ‘testing’ server packages available. There is also a video at the bottom of this section, showing the installation process

  • Open the testing server package (AMP stack) file you downloaded earlier, to start the setup (installation) process.
Opening the Testing Server (or AMP Stack) Download - I'm using XAMPP
Opening the Testing Server (or AMP Stack) Download – I’m using XAMPP
  • If your antivirus is running, you may get a warning message. I’ve not had a problem with this, so I click ‘Yes’ to continue. (If you have any problems, read the text in the warning message).
Testing Server Install Warning - Is Your AntiVirus Running - XAMPP
Testing Server Install Warning – Is Your AntiVirus Running – XAMPP
  • You may get another warning message about ‘User Account Control (UAC). Again, I have not had a problem with this, so I click ‘Yes’ to continue. (If you have any problems, read the text in the warning message).
Testing Server Install Warning - User Account Control (UAC) - XAMPP
Testing Server Install Warning – User Account Control (UAC) – XAMPP
  • The ‘Setup’ window will now open. Just follow the installation instructions…
Setting up (Installing) the Testing Server - XAMPP
Setting up (Installing) the Testing Server – XAMPP
  • Create a folder for the ‘localhost’ testing server on your computer hard drive. It is useful to call the folder the same name as the type of server package (AMP stack) installed. i.e. XAMPP, MAMP, or WAMP, etc.
Testing Server Install Location (Default) - XAMPP
Testing Server Install Location (Default) – XAMPP
  • You can install the testing server in a different location if needed (this is my preference, should I ever need to reinstall Windows).
Testing Server Install Location (New) - XAMPP
Testing Server Install Location (New) – XAMPP
  • Once you have selected your install location, click next.
  • The testing server package will start unpacking and installing the files.
Installing the Testing Server - Unpacking and Installing - XAMPP
Installing the Testing Server – Unpacking and Installing – XAMPP
  • Near the end of the installation, XAMPP will ask if you want to ‘start’ the Control Panel? Select the checkbox, as there is still a couple of steps to go, before installation is fully complete (though you can complete it later).
Installing the Testing Server - Start the Control Panel - XAMPP
Installing the Testing Server – Start the Control Panel – XAMPP
  • When the install is complete, a dialogue box will appear for you to select your language preference.
  • If you placed a tick in the checkbox for the control panel to open during the install process, the Control Panel will open… This is actually useful, as we need to let the Control Panel applications through the firewall.
  • Start Apache by clicking the ‘Start’ button.
The Testing Server Control Panel - Start Apache - XAMPP
The Testing Server Control Panel – Start Apache – XAMPP
  • A ‘Windows Security Alert’ window will open. Let Apache through the firewall by clicking ‘Allow access’.
The Testing Server Control Panel - Let Apache Through the Firewall - XAMPP
The Testing Server Control Panel – Let Apache Through the Firewall – XAMPP
  • As with Apache, Start MySQL, by clicking the ‘Start’ button.
  • Another ‘Windows Security Alert’ window will open. Let MySQL through the firewall by clicking ‘Allow access’.
  • Your testing server (XAMPP) is now running.
The Control Panel -The Testing Server is Running - XAMPP
The Control Panel -The Testing Server is Running – XAMPP

When you Start Apache and MySQL, it means that the server is running. WordPress is a Content Management System (CMS) and needs the server running to work correctly (on a ‘live’ website, the server runs all the time and is pre-installed on the server).

You will need to build your website within this XAMPP server structure (in the htdocs folder), that you have just installed.

Video of the Testing Server (XAMPP) installation Process:
Install a Testing Server Package (an AMP stack) – XAMPP

Part 1 – Install a Testing Server

The Testing Server
The other parts in this article are: Part 2 – Getting Ready to Install WordPress.Part 3 – Install WordPress on a Testing Server.Part 4 – A WordPress Installation Error? Topics […]

Part 2 – Getting Ready to Install WordPress

Download WordPress (Get WordPress)
The other parts in this article are: Part 1 – Install a Testing Server.Part 3 – Install WordPress on a Testing Server.Part 4 – A WordPress Installation Error? Topics on […]

Part 3 – Install WordPress on a Testing Server

Installing WordPress - 'Success' - Log In
The other parts in this article are: Part 1 – Install a Testing Server.Part 2 – Getting Ready to Install WordPress.Part 4 – A WordPress Installation Error? Topics on This […]

Part 4 – A WordPress Installation Error?

WordPress - Error Establishing a Database Connection (Featured Image)
The other parts in this article are: Part 1 – Install a Testing Server.Part 2 – Getting Ready to Install WordPress.Part 3 – Install WordPress on a Testing Server. Topics […]