Install HHVM Stack by Easy Engine script on Ubuntu


Easy Engine is a script to install HHVM(Hip Hop Virtual Machine) stack on VPS hosting. It’s an effective way to try out HHVM works environment in just a few steps of the installation process. I’ve tried it for the first time so I can say it’s incredibly great! It’s faster than I thought.

My site BluetailCoupon is running on PHP-FPM environment! And another site is working on HHVM. I see that the other website with HHVM works faster than my site you’re visiting here. It just in the testing time! If it shows the best results, I will apply it for the rest of my projects left.


Easy Engine Key Features:
– Auto installs Nginx newest version.
– Install HHVM in a few easy steps.
– Supports Memcached, Opcache
– Supports WP-CLI tool
– Auto config Nginx for WordPress Multisite.
– Install WordPress by single command line.
– Auto Config PHP-FPM for Nginx.
– Install NGINX, PHP, MySQL, Postfix
– W3Total Cache, WP Super Cache & Nginx’s FastCGI Cache.

To get started, make sure you prepared these things:
– Putty or other SFTP tools.
– VPS cloud hosting at least 1GB RAM(memory) Using Ubuntu 12,14 or 16/ Debian 7 +. Operation 64 Bits recommended.
– Nginx doesn’t support .htaccess.
– Pointing your domain name to your IP address.
Let’s get started.

Install Python Properties

sudo apt-get install python-software-properties

Install easyengine

 wget -qO ee && sudo bash ee

Install HHVM stack

ee stack install

Or You can custom any part of installation stack by the other following code. But I truly recommend you only use: ee stack install to make things simple

ee stack install --nginx --php --mysql --postfix --wpcli --phpmyadmin --utils --admin 

Add domain & Install WordPress

ee site create --wp


ee site create --w3tc


ee site create --wpfc


ee site create --wpsc


ee site create --wpredis

What are those stuff?
–wp : Install a single WordPress.
–w3tc; Install WordPress + W3 total Cache.
–wpfc: Install WordPress with Nginx + FastCGI Cache.
–wpsc: Install WordPress + WP super cache.
–wpredis: Install WordPress + Redis Cache.

Define WordPress administrator password and email

ee site create --pass=yourpassword

If you forget setting your WordPress account at this step, easy engine will auto generate it for you. You can change it later inside WP dashboard.

Install WordPress with a single command line
Picking up which options that right for you and mixing to a combo like this:

ee site create --wpfc --w3tc --pass=yourpassword

If you do wrong nothing gonna happen. Just try to mix it to another way.

Install WordPress Multisites

– (subdirectory)

ee site create --wpsubdir

– (subdomain)

ee site create --wpsubdom


ee site create --wpsubdom --w3tc


ee site create --wpsubdom --wpsc 

Delete a Website
If you’re boring with your website and You want to delete it. Okay! You can do it by following code:

ee site delete

Enable SSL using Let’s Encrypt

ee site update --letsencrypt

This SSL certificate is totally free. you can run this command line after finishing install WordPress.
As the default after 90 days Let’s Encrypt license will be expired but easy engine will auto renew it by Linux cron job. Auto-renew 30 days before it getting expired or simply manual renew by this command line to renew it:

ee site update --letsencrypt=renew

Turn OFF let’s Encrypt on Easy Engine by this code:

ee site update --letsencrypt=off

Update EasyEngine
Everytime a new version been released, you can update it by this simple code:

ee update

You can update something that you forget to install before, you can update it later. Here some examples for you:

ee site update --pass=yourpassword

# This code will help you to update your new password to WordPress site.

 ee site update --wp --w3tc 

#This code will install a new plugin W3 Total cache to WordPress site tht you forgotten to install before.

How to Slove Error Establishing a Database Connection
To solve this problem you have to restart Nginx Stack. Otherwise, you You can restart only MysQl server.

 ee stack restart 

Just it. Now your site back online. It really easy isn’t it?
How to access phpMyAdmin

As default easyEngine will auto setup port 22222 to your admin area.

https://IP:22222//db/pma/. This is the link for phpMyadmin.

How to get password and username to get in phpMyAdmin?
Open WordPress wp-config.php in this part /var/www/ and copy database username and database password. It’s the key to get in.

Now you can login to your phpMyAdmin area easily.

Where is my WordPress folder installed?

You can find entirely your WordPress files in this path:

Uninstall easyengine

Remove all packages:

 ee stack remove --all

## Purge Web Packages:

 ee stack purge


 ee stack purge --web

To get more command to remove a specific package read more: EasyEngine Remove Commands

Okay! I just helps you guys to right here! All the others you can read more in this document: EasyEngine Commands

Liquid Web offers a Managed WordPress Hosting with HHVM(Hip Hop Virtual Machine). You don’t need to do any code because you just install it by a simple click on Liquid Web dash-board. Check out Liquid Web WordPress Hosting.

Stay close to Liquid Web is DreamPress 2(Dreamhost WP hosting), a Managed WordPress Hosting with HHVM (reliable prices) for beginners. Check out DreamPress 2

%d bloggers like this: