HHVM 3.6.0 recently released, is an open-source virtual machine designed for executing programs written inHack and PHP. HHVM 3.6 comes with lots of new goodies. In particular, many new Async features are now available by default including AsyncMySQL andMCRouter (memcache) support. Combined with existing support for asynchronous cURL, applications are now ready to deeply parallelize many common forms of costly data access. HHVM 3.6 changelog Release the async mysql extension Release an async MCRouter extension FastCGI largely re-written; should fix several rare crashes Make sure that C++ method signatures match the HNI Make the typechecker be as strict about XHP classes as other classes.
In this post, I will be showing you how to install HHVM (HipHop Virtual Machine – a facebook open-source virtual machine for running php and HACK) with Nginx (A light weight , open-source, high-performance HTTP server for serving static assets) on Ubuntu 14.04. Step 1: Install latest Nginx sudo apt-add-repository ppa:nginx/development sudo apt-get update sudo apt-get install nginx sudo service nginx start – Confirm Nginx is running by browsing ‘localhost’
HHVM is an open-source virtual machine designed for executing programs written in Hack and PHP. HHVM uses a just-in-time compilation approach to achieve superior performance while maintaining the flexibility and ease of use that PHP developers are accustomed to (dynamic features like eval(), rapid run-edit-debug cycle, etc). HHVM is used by Facebook to serve billions of web requests per day. To date, HHVM (and its predecessor HPHPc before it) has realized over a 9-times increase in web request throughput and over a 5-times reduction in memory consumption for Facebook compared with the Zend PHP 5.