title: Compile a PHP script in Linux
body: <p>I know PHP scripts don't actually compile until they are run. However, say I want to create a small simple program and compile it to a binary without requiring the PHP binary. How could I do this?</p>
  
  <p>I've seen a few IDE's out there that would do this, but either they are all for windows or the Linux versions don't actually build properly.<br>
  What I would like is something like py2exe that does it in the script itself.</p>