How To Install HHVM on Debian 8

r00t March 22, 2017

Install HHVM on Debian 8

In this tutorial we will show you how to install and configuration HHVM on Debian 8 server. 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 account, 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 HHVM (HipHop Virtual Machine) on a Debian 8 server.

Install HHVM on Debian 8

Step 1. Before we install any software, it’s important to make sure your system is up to date by running these following apt-get commands in the terminal:

Step 2. Installing HHVM.

First we need to add the HHVM repository to your Debian 8 server with the following command:

Now we can install HHVM with the following command:

Verify the HHVM version:

Step 3. Testing HHVM.

To test HHVM, create a test page in the root directory and type these lines in the file and save it:

Then add the following code to your new file:

Try to access it at http://your_server_ip/hhvminfo.php. If the PHP info page is rendered in your browser then everything looks good and you are ready to proceed further.

Install HHVM on Debian 8

Congratulation’s! You have successfully installed HHVM. Thanks for using this tutorial for installing HHVM (HipHop Virtual Machine) on your Debian 8 system. For additional help or useful information, we recommend you to check the official HipHop Virtual Machine 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!

Save

Share on Google+0Share on Facebook2Tweet about this on TwitterShare on Tumblr0Share on StumbleUpon1Share on Reddit1Pin on Pinterest2
The Tags:

Leave a Comment