Skip to content
Samuel Demirdjian edited this page Dec 30, 2013 · 3 revisions

Virtual Machine, Runtime, and JIT for PHP (a Facebook open source project)

What is HHVM?

HipHop VM (HHVM) is a new open-source virtual machine designed for executing programs written in PHP. HHVM uses a just-in-time compilation approach to achieve superior performance while maintaining the flexibility that PHP developers are accustomed to. HipHop VM (and before it HPHPc) has realized > 5x increase in throughput for Facebook compared with Zend PHP 5.2.

HipHop is most commonly run as a standalone server, replacing both Apache and modphp.

HHVM in Turnkey Linux

The following are possible candidate options of TLK appliances with HHVM:

  • Standalone server: it includes the webserver and PHP parser
  • With Nginx as a front server, HHVM configured as FastCGI backend
  • With Apache as a front server, HHVM configured as FastCGI backend (seems work is in progress to make HHVM work smoothly with Apache)
Clone this wiki locally