Created
June 11, 2013 14:42
-
-
Save carlessistare/5757400 to your computer and use it in GitHub Desktop.
How to run hiphop from shell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd hiphop/hiphop-php/ | |
export CMAKE_PREFIX_PATH=`/bin/pwd`/../ | |
export HPHP_HOME=`/bin/pwd` | |
export HPHP_LIB=`/bin/pwd`/bin | |
find . -name "*.php" > files.list | |
sudo rm -R /tmp/hphp_* | |
../hphp/hphp --input-list=files.list -k 1 --log=3 --include-path="." --force=1 --cluster-count=50 -v "AllDynamic=true" | |
sudo /tmp/hphp_zJVsIX/program -m server -v "Server.SourceRoot=`pwd`" -v "Server.DefaultDocument=public/index.php" -p 8080 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment