Create standalone executables with PHP
Posted in: Development,Programming
Recently 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
Social Web