Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 74 lines (53 sloc) 2.404 kb
7b99879 @scottmac Add README
scottmac authored
1 # HipHop for PHP
2
bebaa1a @jdelong Minor tweak to README.md
jdelong authored
3 HipHop is a high performance PHP toolchain. Currently supported platforms are Linux and FreeBSD. There is no OS X support.
7b99879 @scottmac Add README
scottmac authored
4
5 * [Developer Mailing List](http://groups.google.com/group/hiphop-php-dev)
6 * [Wiki](http://wiki.github.com/facebook/hiphop-php)
7 * [Issue Tracker](http://github.com/facebook/hiphop-php/issues)
8
9 ## Required Packages
5f129a4 @scottmac Update readme and change patch so -p1 is required like the libevent patc...
scottmac authored
10
11 The latest information is available on the [wiki](http://wiki.github.com/facebook/hiphop-php/building-and-installing)
12
7b99879 @scottmac Add README
scottmac authored
13 * cmake *2.6 is the minimum version*
6b173c0 @scottmac Fix GCC version
scottmac authored
14 * g++/gcc *4.3 is the minimum version*
7b99879 @scottmac Add README
scottmac authored
15 * Boost *1.37 is the minimum version*
16 * flex
17 * bison
18 * re2c
19 * libmysql
20 * libxml2
21 * libmcrypt
22 * libicu *4.2 is the minimum version*
23 * openssl
24 * binutils
25 * libcap
26 * gd
27 * zlib
28 * tbb *Intel's Thread Building Blocks*
29 * [Oniguruma](http://www.geocities.jp/kosako3/oniguruma/)
5f129a4 @scottmac Update readme and change patch so -p1 is required like the libevent patc...
scottmac authored
30 * libpcre
31 * libexpat
32 * libmemcached
7b99879 @scottmac Add README
scottmac authored
33
4d5eba6 @danopia Indented code in the README so that it displays much better.
danopia authored
34 The following packages have had slight modifications added to them. Patches are provided and should be made against the current source copies.
7b99879 @scottmac Add README
scottmac authored
35
36 * [libcurl](http://curl.haxx.se/download.html)
37 * src/third_party/libcurl.fb-changes.diff
38 * [libevent 1.4](http://www.monkey.org/~provos/libevent/)
5f129a4 @scottmac Update readme and change patch so -p1 is required like the libevent patc...
scottmac authored
39 * src/third_party/libevent-1.4.13.fb-changes.diff OR src/third_party/libevent-1.4.14.fb-changes.diff
7b99879 @scottmac Add README
scottmac authored
40
41 ## Installation
42
4d5eba6 @danopia Indented code in the README so that it displays much better.
danopia authored
43 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.
7b99879 @scottmac Add README
scottmac authored
44
4d5eba6 @danopia Indented code in the README so that it displays much better.
danopia authored
45 export CMAKE_PREFIX_PATH=/home/user
7b99879 @scottmac Add README
scottmac authored
46
4d5eba6 @danopia Indented code in the README so that it displays much better.
danopia authored
47 To build HipHop, use the following:
7b99879 @scottmac Add README
scottmac authored
48
cf8f739 Edited README.md via GitHub
PandoraBox authored
49 Linux:
50
4d5eba6 @danopia Indented code in the README so that it displays much better.
danopia authored
51 cd /home/user/dev
52 git clone git://github.com/facebook/hiphop-php.git
53 cd hiphop-php
54 git submodule init
55 git submodule update
56 export HPHP_HOME=`pwd`
57 export HPHP_LIB=`pwd`/bin
58 cmake .
7b99879 @scottmac Add README
scottmac authored
59
cf8f739 Edited README.md via GitHub
PandoraBox authored
60 If you are using FreeBSD instead use export - setenv
61
4d5eba6 @danopia Indented code in the README so that it displays much better.
danopia authored
62 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.
7b99879 @scottmac Add README
scottmac authored
63
4d5eba6 @danopia Indented code in the README so that it displays much better.
danopia authored
64 make
7b99879 @scottmac Add README
scottmac authored
65
d06dc86 @scottmac Add CLA requirements to the readme
scottmac authored
66 ## Contributing to HipHop
074502e @legalosLOTR Minor spelling mistake in README.md
legalosLOTR authored
67 HipHop is licensed under the PHP and Zend licenses except as otherwise noted.
d06dc86 @scottmac Add CLA requirements to the readme
scottmac authored
68
69 Before changes can be accepted a [Contributors Licensing Agreement](http://developers.facebook.com/opensource/cla) must be signed and returned.
70
7b99879 @scottmac Add README
scottmac authored
71 ## Running HipHop
72
6b173c0 @scottmac Fix GCC version
scottmac authored
73 Please see [the wiki page](http://wiki.github.com/facebook/hiphop-php/running-hiphop)
Something went wrong with that request. Please try again.