How to Enable and Use HHVM Tutorial

Learn how to start using HHVM on your SiteGround Cloud Hosting account

This tutorial explains how to enable and use HHVM for your website. Note, that at this point HHVM is available only to our customers, hosted on Dedicated servers with the Booster pack and the Cloud hosting platform.

To enable HHVM, you need to login to your cPanel and open the SuperCacher tool, located in the Advanced tab.

Once you do that, go to the HHVM tab.

Next, simply click on the ON/OFF toggle to enable HHVM for this hosting account.

Finally, you need to add the following to the .htaccess files for your websites in order to enable HHVM for the ones you want:

Note that if you disable HHVM and keep the rule in your .htaccess file this will cause errors on your website. To avoid this, always switch to one of our supported PHP versions before you disable HHVM.

That's it, all the scripts in that folder and the folders in it will use HHVM to compile php files.