Martic.net

Talking in binary since 1980.

Create standalone executables with PHP

Darko at 3:38 pm on Thursday, February 19, 2009

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

 

No Comments »

No comments yet.

RSS feed for comments on this post. TrackBack URL

Leave a comment

Enter this code

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

 
 
Close
E-mail It
Socialized through Gregarious 42