How To Install HipHop Virtual Machine on CentOS 7

Install HipHop Virtual Machine on CentOS 7

In this tutorial we will show you how to install HipHop Virtual Machine on your CentOS 7 server. For those of you who didn’t know, For those of you who didn’t know, HipHop Virtual Machine (HHVM) is a virtual machine developed and open sourced by Facebook to process and execute programs and scripts written in PHP. Facebook developed HHVM because the regular Zend+Apache combination isn’t as efficient to serve large applications built in PHP.

This article assumes you have at least basic knowledge of Linux, know how to use the shell, and most importantly, you host your site on your own VPS. The installation is quite simple and assumes you are running in the root accge of Linount, if not you may need to add ‘sudo’ to the commands to get root privileges. I will show you through the step by step installation the HipHop Virtual Machine (HHVM) on a CentOS 7 server.

Install HipHop Virtual Machine on CentOS 7

Step 1. First let’s start by ensuring your system is up-to-date.

Step 2. Installing Required Dependency.

Install the dependencies for the HHVM installation:

Step 3. Installing HipHop Virtual Machine (HHVM) on CentOS 7.

Ok now we have the server ready lets get and build hhvm:

Time to build:

Step 4. Config Setup HHVM.

First create some folders:

Next add some config files:

Add following files:

Next, Adding the service:

Add following files:

Reload the systemd service, start hhvm and add it to be started at boot time:

Congratulation’s! You have successfully installed HipHop Virtual Machine. Thanks for using this tutorial for installing HipHop Virtual Machine (HHVM) on CentOS 7 systems. For additional help or useful information, we recommend you to check the official HHVM web site.

VPS Manage Service Offer
If you don’t have time to do all of this stuff, or if this is not your area of expertise, we offer a service to do “VPS Manage Service Offer”, starting from $10 (Paypal payment). Please contact us to get a best deal!