What is this? From this page you can use the Social Web links to save Create standalone executables with PHP to a social bookmarking site, or the E-mail form to send a link via e-mail.

Social Web

E-mail

E-mail It
February 19, 2009

Create standalone executables with PHP

Posted in: Development,Programming

bambalan php exe compilerRecently I needed to create a small command line app which processes .TXT files with some minor text editing.

So, as I’m a big fan of PHP I took a quick Google search on running  .PHP scripts without installing PHP itself.

But, I’ve found something even more interesting – an application that actually converts, compiles, .PHP scripts into a standalone command line EXE application !

This tool is – “Bambalam PHP EXE Compiler/Embedder“, and the official web site is here.

It’s really straight-forward and easy to use.
Basic syntax for compiling is: bamcompile [-options] infile.php [outfile.exe]

It also supports some advanced features like:

  • embedding .DLL files
  • custom icon for produced .EXE file
  • ability to create “Windows” application
  • and some other things

 


Return to: Create standalone executables with PHP