HHVM (HipHop Virtual Machine) is an open-source virtual machine designed for executing programs written in Hack and PHP.
HHVM is developed and supported by Facebook. Faster and more secure than PHP 7 (see comparisons between PHP 7 and HHVM).
My site is using Joomla 3.4.5 and runs normal under Nginx stack and HHVM from EasyEngine. EasyEngine requires Linux Ubuntu or Debian. Here I am using Ubuntu 14.04 to install Nginx stack + HHVM from EasyEngine.
Input this command to install EasyEngine:
apt-get install wget nano sudo -y
apt-get update -y
wget -qO ee rt.cx/ee && sudo bash ee
sudo ee stack install --admin
sudo ee site create example.com --mysql --hhvm
Those commands are to install Nginx (latest stable version), PHP 5.6, HHVM, Mysql, and Admin including PhpMyAdmin.
No need alots of time to setup Nginx and PHP-Fpm configuration, default EasyEngine is enough. Nginx has already optimized with Microcaching (FastCGI Cache) and PHP-FPM with ondemand pool setting.
To see HHVM version:
hhvm --version
HipHop VM 3.10.1 (rel)
Compiler: tags/HHVM-3.10.1-0-g689b4969a141620ee5a282ce0dbf72278c84d44b
Repo schema: 6c99ee1f98340f6f3ef397a332583f0e843a627d
Just install or transfer Joomla files to directory /var/www/example.com/htdocs
(default directory EasyEngine).
EasyEngine also made Mysql database name and user that stored in ee-config.php
from directory: /var/www/example.com
:
nano /var/www/example.com/ee-config.php
Rewrite rule from EasyEngine also suitable for Joomla, so no need to change it.
That's it. Now, you can test how fly your site will be.*
Comments