I don't think that you can compile PHP?
It's a script, therefore it means that it's executed by the server everytime it is run...
Or I believe so--
You just need a host that supports PHP (Almost all do) and then upload the file...When you goto the file, it will be executed...