HHVM is an open-source virtual machine designed for executing programs written in Hack and PHP. HHVM uses a just-in-time compilation approach to achieve superior performance while maintaining the flexibility and ease of use that PHP developers are accustomed to (dynamic features like eval(), rapid run-edit-debug cycle, etc).
HHVM is used by Facebook to serve billions of web requests per day. To date, HHVM (and its predecessor HPHPc before it) has realized over a 9x increase in web request throughput and over a 5x reduction in memory consumption for Facebook compared with the Zend PHP 5.2 engine + APC. Link.
Anyone can download, compile the hhvm open source code and later install and use it. HHVM licensed under the PHP and Zend. Also HHVM contain Hack language licensed under BSD license.
I has prepared CentOS 7 virtual machine and executed HHVM installation instruction. You can also execute this instruction or deploy prepared HHVM AMI. AMI contains CentOS 7 packages, compiled and installed HHVM and WordPress personal blog engine.

To configure WordPress type ip address if new virtual machine in browser and press “Enter” and execute following instruction.

1) Select WordPress language

Select WordPress language

2) Read detailed installation instruction and press “Lets’s go!” button.

Wordpress installation instructions

3) Leave unchanged default values of database connection and press “Submit” button. WordPress database is not accessible outside of virtual machine.

Wordpress database configuration

4) Read information message about working database connection and press “Run the install” button.

Information message about database configured correctly

5) Configure site information and press “Install WordPress”

Wordpress site information configuration

6) Read information message and press “Log In”

Wordpress installation successful message

Also you can check status of HHVM via executing command “systemctl status hhvm.service”. Example of output below:

[root@busybox ~]# systemctl status hhvm.service
hhvm.service - HipHop Virtual Machine (FCGI)
Loaded: loaded (/usr/lib/systemd/system/hhvm.service; enabled)
Active: active (running) since Wed 2015-05-13 14:57:07 GMT; 6 days ago
Main PID: 642 (hhvm)
CGroup: /system.slice/hhvm.service
└─642 /usr/bin/hhvm --config /etc/hhvm/server.hdf --user www-data --mode daemon -vServer.Type=fastcgi -vServer.Port=9000

Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
[root@busybox ~]#

P.S. At present, the AMI template is offered without technical support. But maybe it will change.

Leave a Reply

Your email address will not be published. Required fields are marked *