Skip to content

Instantly share code, notes, and snippets.

@carlessistare
Created June 11, 2013 14:42
Show Gist options
  • Save carlessistare/5757400 to your computer and use it in GitHub Desktop.
Save carlessistare/5757400 to your computer and use it in GitHub Desktop.
How to run hiphop from shell
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