Install HHVM

Here are the instructions to install HHVM on Ubuntu 12.04.

sudo add-apt-repository ppa:mapnik/boost
wget -O - | sudo apt-key add -
echo deb precise main | sudo tee /etc/apt/sources.list.d/hhvm.list
sudo apt-get update
sudo apt-get install hhvm

To test if your HHVM is installed, save the following into a file called test.php. Notice there is NO closing tag for hh.

  print "hellon";

Then run hhvm test.php, you should see the hello string gets printed out.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s