Answer : After this question was asked, Facebook launched HipHop for PHP which is probably the best-tested PHP compiler to date (seeing as it ran one of the world’s 10 biggest websites). However, Facebook discontinued it in favour of HHVM, which is a virtual machine, not a compiler. Beyond that, googling PHP compiler turns up a number of 3rd party solutions. PeachPie PeachPie GitHub compiles PHP to .NET and .NET Core can be compiled into self-contained binary file runs on Mac, Linux, Windows, Windows Core, ARM, ... Phalanger GitHub (download), Wikipedia compiles to .NET (CIL) looks discontinued from July 2017 and doesn't seem to support PHP 7. phc compiles to native binaries not very active now (February 2014) – last version in 2011, last change in summer 2013 Roadsend PHP Compiler GitHub, GitHub of a rewrite free, open source implementation of PHP with compiler compiles to native binaries (Windows, Linux) discontinued since 2010 till contribut...