HipHop for PHP
HipHop is a high performance PHP toolchain. Currently supported platforms are Linux and FreeBSD. There is no OS X support.
The latest information is available on the wiki
- cmake 2.6 is the minimum version
- g++/gcc 4.3 is the minimum version
- Boost 1.37 is the minimum version
- libicu 4.2 is the minimum version
- tbb Intel's Thread Building Blocks
- google-glog (http://code.google.com/p/google-glog/)
The following packages have had slight modifications added to them. Patches are provided and should be made against the current source copies.
- libevent 1.4
You may need to point CMake to the location of your custom libcurl and libevent, or to any other libraries which needed to be installed. The CMAKE_PREFIX_PATH variable is used to hint to the location.
To build HipHop, use the following:
cd /home/user/dev git clone git://github.com/facebook/hiphop-php.git cd hiphop-php git submodule init git submodule update export HPHP_HOME=`pwd` export HPHP_LIB=`pwd`/bin cmake .
If you are using FreeBSD instead use export - setenv
Once this is done you can generate the build file. This will return you to the shell. Finally, to build, run
make. If any errors occur, it may be required to remove the CMakeCache.txt directory in the checkout.
Contributing to HipHop
HipHop is licensed under the PHP and Zend licenses except as otherwise noted.
Before changes can be accepted a Contributors Licensing Agreement must be signed and returned.
Please see the wiki page