The way I see, there are 2 ways of doing it:
the first, would be using a PHP compiler, but you would have to rewrite some of your code in order to work as a compiled page.
the following link can take you to the compiler I used torun scritps on other computers:
http://www.deskcode.com/phpcompiler/
The second and better alternative would be to run apache and Php directly from the CDROM, but, there is a problem with this solution:
- Apache is easelly ported to the cdrom, since it desn´t put files in the system. PHP, does put a few dlls and the PHP ini in the system, so you need to recompile PHP to use all files in the same directory.
I´ve being wanting to do it myself for quite a while now, but havn´t had the time or a decent compiler.
Let me know how you solved the problem...
Fernando Michelotti