HHVM 3.6.0 Virtual Machine for HACK released

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. This can be reverted by putting ‘unsafe_xhp=true’ in your .hhconfig
  • The ZRANGEBYSCORE and ZREVRANGEBYSCORE need to take in start/end scores as strings
  • [asio] Move cycle detection from BlockableWaitHandle to WaitableWaitHandle
  • Add a StackTraceTimeout option to set the timeout for the backtrace handler.
  • Define FOLLY_HAVE_PTHREAD_SPINLOCK (for ppc port)
  • [hh_format] Change scoring function to match developers expectations better
  • update libmagic CVE-2014-0236
  • Fixes #4764 by adding a Redis::unwatch() method
  • Disable external entity loading to SOAP WSDL files CVE-2013-1643 CVE-2013-1824
  • [hhvm] MySQLi: Move mysqli class to NPH
  • [hh] typechecker: use __Deprecated for DynamicYield
  • and many more

Install HHVM 3.6.0 on Ubuntu OS

sudo apt-add-repository ppa:nginx/development

sudo apt-get update

sudo apt-get install nginx

sudo service nginx start

wget -O - http://dl.hhvm.com/conf/hhvm.gpg.key | sudo apt-key add -

echo deb http://dl.hhvm.com/ubuntu trusty main | sudo tee /etc/apt/sources.list.d/hhvm.list

sudo apt-get update

sudo apt-get install hhvm

sudo /etc/init.d/hhvm start

sudo update-rc.d hhvm defaults

– Now you can load your website

comments powered by Disqus