There is a good tutorial for setting up a PHP testing environment here:
setting_up_php_05.html
The real difference between xampp and wamp or mamp is that xampp includes more features such as an FTP server, mail server, open ssl and a few others.
In reality these features are not needed in most cases for a development server.