PHP compiler for windows [closed] PHP compiler for windows [closed] windows windows

PHP compiler for windows [closed]


Okay I figured it out. there is a open source program called phc-win. It supports php 5.3.1, compiles scripts to byte code (obfuscation!) and is simple to use (It even has a gui).

It needs a php-embed.ini and whatever DLL's you use, but it just works.

Thanks for all the answers everyone!

phc-win 0.3.1 (c) 2009 Andrew Fitzgerald - contact@swiftlytilting.com PHP Version: 5.3.1

  • To compile a single file:

    • Choose 'Compile single file' from the File menu.
    • Then select the file to compile.
  • To build an EXE containing all files in a directory and all sub directories:

    • Choose 'Compile directory' from the File menu.
    • Select the project folder.
    • Select the main program file.
    • phc-win will then recursively scan the specificed directory.
    • All files with 'php' anywhere in the extension will be compiled into .phb files.
    • These .phb files, along with all files in the directory tree will be added to the project EXE.

    • Once the EXE has been created, you will be asked about the EXE type:

      • CONSOLE (displays DOS box)
      • WINDOWS (no DOS box).
  • Place the EXE in the same directory with the required DLL file(s) and php-embed.ini file if needed.


You want this: Bamcompile

http://www.bambalam.se/bamcompile/

You can use the WApache, too:

http://wapache.sourceforge.net/

And, if none of these options satisfy you:

http://www.zzee.com/phpexe/


If you want to run php scripts as Windows executable, the best is Wapache http://sourceforge.net/projects/wapache/ and if you want to protect your code try ZZEE