phpwindowsapache

Is there any way to compile our PHP code into executable file


i'm wondering about this possibility. Is it possible to make our code written in code and string compile and make it become Executable and can operate without the use of server such as Apache.

The OS environment will be Windows family.


Solution

  • I've never tried it, but you could take a look at PHC. It appears to be able to do just that.

    Also take a look at Hip-Hop by Facebook. Looks good (and more recent).

    Edit: And for more PHP Compilers, see Wikipedia