Install a WordPress Staging and Development Server with WAMP (part 1)
I’ve barely begun blogging and I’ve already violated a major blogging no-no: failing to post on a consistent basis. Despite my recent “blogging violation” I’m brushing it off and getting back to work. Therefore, to get back on track, I’ve decided to explain how to set up a WordPress staging or development site. If you’re interested in diving into WordPress theme development, plugin programming, or just want to experiment with changes to your own WordPress blog in a safe environment, then you definitely should take the time to read this post.
Probably the easiest way to set up a staging/development environment for WordPress is to acquire a second computer, install your favorite operating system, install the underlaying components of WordPress (MySQL, PHP, and Apache), and then install WordPress itself. This approach is certainly a viable option; however, there is another way.
If you’re a Linux user, then you already know all about LAMP (Linux, Apache, MySQL, and PHP). Most Linux distros come bundled with everything you need for LAMP. Windows, on the other hand, doesn’t come with everything you need out-of-the-box. And since my laptop runs Windows, I need WAMP (Windows, Apache, MySQL, and PHP).
Before going any further, let me dispel a few common myths about WAMP or LAMP:
- You DON’T need a server class machine to run either of these bundles (Remember, the point of this post is how to create a staging/development environment. You won’t be supporting any other users other than yourself so you don’t need a monster machine)
- You DON’T need a dedicated machine for either of these bundles (WAMP starts and stops similar to other applications. Turn it on when you want it, and turn it off when you don’t)
- You DON’T need excessive amounts of RAM and Disk space (If your current hardware configuration can comfortably run Windows XP, and you have at least 100 MB of free disk space, you can most certainly run WAMP )
With the myths out of the way I can move on to the actual process for setting up WAMP.
Step 1. Download WAMP
The general idea of “WAMP” exists in a couple of different packages but I use WampServer for my staging/development server. Once you visit the WampServer site you should see a download link for the latest release (in my case it was release 1.7.1) on the top of the main page. Select this link and save the 20 MB file to a safe location on your local hard drive.
Step 2. Install WAMP
Double click on the icon of the downloaded file and the guided installation process starts. First thing you see is the generic welcome screen. To continue click next.

An end user agreement screen appears next. Accept the EUS and click next to continue.
In the next screen you can specify an installation directory. The program defaults to C:\wamp, which I accepted. Also notice that this screen points out that you need at least 73.6 MB of free disk space for the installation. If you don’t have this, then cancel the installation now. If you have enough space, click next to continue.

The next screen allows you specify the Start menu folder for this installation. The program defaults to WampServer, which I accepted. Click next to continue.
The next screen allows you to enable WampServer to automatically start each time your computer starts. The default option is checked. I recommend unchecking this option unless you plan to do a lot of work with Wamp.

The next screen confirms your previous selections and prompts you to press “install” to proceed.
At the end of the installation you are prompted to select a “document root” folder. The default is www under wamp installation directory. It’s under this directory that you install WordPress when that time comes. I selected default but you can do whatever you want. Click OK to continue.

Next you are prompted to specify your SMTP server for PHP emails. The default is localhost and since I’m not concerned about PHP emails, I accepted the default. Click next to continue.
The next screen prompts you for an email address. The default is you@yourdomain. Again, since I’m not concerned about getting PHP emails, I just accepted the default to make things easier. Click next to continue.
Finally, the installation process detected Firefox as my default browser. I was prompted to confirm this selection so I just clicked OK.
If all goes well you should be looking at the setup complete screen with a default option selected to start the Wamp5 now. You can keep this or deselect and come back to it at a later time. Whatever you choose, you need to click finish to complete the installation.

When everything is done you can start Wamp by selecting the corresponding icon in its newly created program group. Or, if you left the launch option checked at the end of the installation, Wamp has already started. Once Wamp is running you will see an icon in your system tray.

Left click on the system tray icon and a menu of options appear. These options allow you to start and stop various services that make up Wamp, and you can easily access various configuration files for fine tuning of your new staging/development environment.

Double check your installation. Open a browser and enter http://localhost in the address bar and press enter. If the installation was successful and Wamp is running, you should see WampServer welcome page appear in your browser.

That’s all there is to installing WampServer. As simple as any other application installation and yet the end results leaves you with a powerful staging and development environment for your WordPress blog.
When you’re finished with Wamp, just right click on its icon in the system tray and select exit. That’s it. As easily as Wamp started, Wamp stops.
In part 2 of this series (scheduled for publication this Thursday 5/17/07) I’ll walk you through installing the latest version of WordPress on your newly created WampServer installation. In the meantime, down load WampServer and get started.
Share, Bookmark, or Email this post
|
|
If you liked this post, subscribe to TechTraction's RSS feed or TechTraction's email feed
Filed under: How-To & Tech Tips

Welcome back Bret.
Don’t you dare leave it so long again.
Thanks for the support David. I’ll try to be better at keeping to my blogging schedule in the future.
I also need to get back to commenting on other sites. I suspect I’ve got lots of reading to do back at your site.
I know it’s not easy to publish articles on a regular basis. That’s why most of the new blogs launched today remain in their very early state.
I’m not sure if there’ll be any noteworthy articles on my site, but I’m glad you have a suspicion!
[...] « TechTraction home page « Install a WordPress Staging and Development Server with WAMP (part 1) [...]
[...] Installing WampServer on your computer [...]
[...] is “off-topic” for TechTraction, however, if you read my previous post about creating a WordPress staging/development server and installed a WampServer, then why limit yourself to just using that WampServer for WordPress? [...]
Excellent installation walkthrough. I got WAMP installed on laptop running Windows XP SP2 with no issues. Just the usual new program/service warnings from Comodo Personal Firewall.
Great! Glad it was a success for you.
I got WAMP installed on laptop running Windows XP SP2 with no issues.
Great. Glad to hear that WAMP installation posed no problems for you.
Your post is not less than a gift from angels because I was just planning to install Linux on my system top run and test many popular scripts who needs me serious attention. I just want to conform that if all those scripts which need that Linux environment would work with windows?
Hi Leonardo, sorry for the delayed response. To answer your question — most scripts you want to test for a Linux/Unix environment could be tested on a wamp server; however, you might need to adjust any references you make to specific directories because of the difference between Linux and Windows. More specifically Windows usually starts a directory path with a drive letter while Linux/Unix doesn’t. Also, scripts for Linux/Unix can tap into various environment variables that don’t exist in Windows. Just keep those differences in mind and you should be okay with testing scripts for Linux/Unix on a wamp server installation.
hello Bret i’m new to blogging and have tried both blogger services and wordpress. Earlier i use to modifying wordpress template on online server but after reading your article i will surely try WAMP. I thought that you need a server to work with wordpress and can’t be done on home PC. Thanks for your help and WAMP sound great.
Failing to post on a consistent basis is better than posting stuff when you don’t really have anything to say IMO.
Since many days, I have been searching for wordpress themes with more than one column of content but I failed. There are many 2– column themes out there but they don’t have option to put content in more than one column. Anyways that is another issue. Thanks for sharing your tips and tricks for Installing WAMP. I have designed my own theme having posts in matrix style in more than one column. WAMP works fine with windows.
Glad you found the article useful. Thanks for leaving a comment.
helpful instruction. I will download it and learn to install from this articles. great works thanks
Bret, this is good advice for a development server. I’ve always had a spare computer with Linux installed to test my changes before going live.
Thank for sharing.
For the same reason, I have UBUTNU as my 2nd Operating system but perhaps I can test all functionality on windows. I am going to download WAMP so I hope everything would go fine according to your post.