If you need a full featured webserver on your laptop, you might as well do it right.
TBH, I wouldn't use LAMP, XAMPP, etc any longer. I've been working with PHP on various projects over the last year or two, and you never know when you're going to need to install this or that php module.
I recommend just running a full featured web server in a virtual machine. This way, you can test pretty much anything there is to do in a script.
Get something like VMware, setup a new virtual machine with about 5 or more gigs of space and at least 256mb of ram.
Then, continue using the following guide I wrote up some time back for a friend:
http://www.itmustbetrue.com/20minute guide to running your own server.txt]www.itmustbetrue.com/20minute guide to running your own server.txt
In the guide, I make reference to using dyndns, you can skip that if you're running a VM on your local computer. Just give it any name you like. To access it, point your browser to the ip address assigned to the virtual machine.
In the guide, I make mention of installing virtualmin, this will be your control panel for configuring any web server related things.