Skip to content

Building and installing HHVM on FreeBSD from ports

Sean Cannella edited this page Jul 31, 2013 · 1 revision

This walkthrough was tested with 64-bit FreeBSD 9.2, but generally any recent 64-bit FreeBSD should do.

Download and install the FreeBSD ports tree

If you don't have the ports tree yet, download and extract it using portsnap:

portsnap fetch
portsnap extract

If you already have a ports tree, you may want to update it:

portsnap fetch update

Portmaster install

Install the portmaster tool (if not installed)

cd /usr/ports/ports-mgmt/portmaster
make install clean

Install using portmaster

portmaster lang/hiphop-php

Alternative: traditional install from port

cd /usr/ports/lang/hiphop-php
make install

Clean-up after install (if desired)

make clean
Clone this wiki locally