Created
April 18, 2014 17:39
-
-
Save Swop/11055683 to your computer and use it in GitHub Desktop.
Install hhvm debian
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
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