Depending on your laptop OS - you can install and run a web server and PHP on it.
If windows:
See the win32 binaries @:
http://www.php.net/downloads.php
I would recommend simply installing PWS (Personal Web Server) on your laptop and configuring PHP on that.
PWS should be included in your windows CD.
Unix:
Apache+php should be relatively painless to install.
web-server: www.apache.org