Skip to content

Instantly share code, notes, and snippets.

@Swop
Created April 18, 2014 17:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Swop/11055683 to your computer and use it in GitHub Desktop.
Save Swop/11055683 to your computer and use it in GitHub Desktop.
Install hhvm debian
deb http://dl.hhvm.com/ubuntu saucy main
apt-get update
apt-get install hhvm
/etc/init.d/hhvm start
and in nginx config
location ~ \.php$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME
/var/www$fastcgi_script_name;
include fastcgi_param;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment