-
Notifications
You must be signed in to change notification settings - Fork 0
Home
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. HHVM has realized > 6x increase in web request throughput for Facebook compared with Zend PHP 5.2.
For the latest news about HHVM, find us at hhvm.com.
One of the explicit design goals of HHVM was the ability to continue writing complex logic directly within PHP. Companies with large PHP codebases will generally rewrite their complex functionality directly as PHP extensions in either C or C++. Doing so ends up reducing the number of people who are able to work on the company’s entire codebase. By keeping this logic in PHP, Facebook is able to move fast and maintain a high number of engineers who are able to work across the entire codebase.
Prebuilt packages for some distributions are available as shown below:
- Prebuilt packages on Ubuntu 12.04
- Prebuilt packages on Debian 7 (wheezy) (unofficial)
- HHVM Pre built packages for Centos 6.4 (unofficial)
- FreeBSD 9: TBD
HHVM is currently under heavy development and at present we only actively test on the Ubuntu distribution. Building procedures should be fairly similar on other linux distros.
Here are some guides for how to get HHVM up and running on your distro:
- Building and installing HHVM on Ubuntu 12.04 / 12.10 / 13.04
- Building and installing HHVM on CentOS 6.3
Mac OS X and FreeBSD are not officially supported or tested but for those who want to experiment or help out:
- Building and installing HHVM on FreeBSD from ports (unofficial)
- Building and installing HHVM on OSX 10.8 (unofficial, interpreter only for now, needs work)
You can discuss HHVM and report bugs on our Facebook page, submit a ticket or Pull Request here on github, or check out the HipHop for PHP Blog. Note that the old Google Group HipHop developer mailing list is no longer active.
The wiki content is licensed under Creative Commons Attribution-ShareAlike License