3 ms·
Is there a good tutorial on installing HHVM on server and then running your PHP app?
by sideproject 13y ago
Is there a good tutorial on installing HHVM on server and then running your PHP app?
- frik 13y agoYes, on the official wiki: https://github.com/facebook/hhvm/wiki/_pages https://github.com/facebook/hhvm/wiki/_pages First read the page related to your Linux/BSD e.g. "Prebuilt Packages on Ubuntu 12.04" Then read the page "Using nginx as Front Server to HipHop" As last step read this blog article how to write/edit the config file (/etc/hhvm.hdf): http://www.hhvm.com/blog/113/getting-wordpress-running-on-hhvm http://www.hhvm.com/blog/113/getting-wordpress-running-on-hh... Read this and copy things you need from the documentation: https://github.com/facebook/hhvm/blob/master/hphp/doc/options.compiled https://github.com/facebook/hhvm/blob/master/hphp/doc/option... This is how I got HHVM working. To sum up: * you need a little bit of basic Linux knowledge * install Linux or BSD (e.g. Ubuntu 12.04 LTS) (64-bit) * install Nginx (or since last week HHVM also supports Apache with FastCGI) * install HHVM * install MySQL or MariaDB, etc. * create a web directory where you place your php files * edit the hhvm.hdf (config file) * start hhvm Btw. a lot of blog posts you find with Google search are still about the old HpHp (the former and now outdated PHP to C++ translator also called HipHop from FB)... so better skip third party blog posts older than January 2013 ;)