XAMPP and WAMP are popular "snapshot" installs but, if you're a webmaster, you should prefer to setup your test server using the daemons that your host is using, i.e., install the individual daemons (MySQL, PHP and Apache ... then add PHPMyAdmin and configure it for your PHP).
Kevin Yank's early editions of Build Your Own Database Driven Website Using PHP & MySQL offered a free chapter on installing and configuring the daemons on various systems (Windows, Mac & Linux). I had to modify the basic instructions to get a "checklist" for members using Windows XP and Vista/7/8 have made further changes necessary (NEVER use Program Files OR a Windows subdirectory for the daemon installations - except MySQL - because of the need to use administrator privileges all the @#$% time!).
Note: I just saw that neither Kevin's book nor the free chapter is available online so PM if you need these to go the daemon route (unless I hear from SitePoint that I cannot legally forward their FREE - albeit copyright - chapter), I will get it to you ASAP.