PHP/HHVM

From Bibliotheca Anonoma
Revision as of 01:20, 20 March 2017 by Antonizoon (talk | contribs)

First, install HHVM:

https://www.digitalocean.com/community/tutorials/how-to-install-hhvm-with-nginx-on-ubuntu-14-04

https://www.howtoforge.com/tutorial/how-to-install-wordpress-with-hhvm-and-nginx-on-centos-7/

For better performance, set up HHVM as a UNIX socket to reduce additional load from TCP layers.

https://docs.hhvm.com/hhvm/advanced-usage/fastCGI#using-fastcgi

Add

/etc/hhvm/server.ini
hhvm.server.file_socket=/var/run/hhvm/sock