then why are you using PHP in the first place?
anyway, you need to execute the PHP somehow to get the output.
So, you could download something to get the output, and then use it.
For example, there's a package on sourceforge.com called FoxServ that will quickly install apache, php, and mysql with some other stuff, too.
You can use taht to generate the HTML and then use the HTML.
Of course, that's a lot of overhead.
I think you can get the PHP binary alone, and use that to execute it, however I really don't know... (like a php compiler)
if you can, why don't you use another language to generate the HTML? (port your PHP to C++ or something).