Skip to content →

Installing HipHop Virtual Machine

I recently read an article about how you can install HipHp Virtual Machine (HHVM) for a 2x+ speed boost on your site.  The newest version of WordPress works 100% with HHVM, but unfortunately some of the plugins out there don’t. I decided the pros out weighed the cons and decided to install HHVM on my development server.  Outlined below are the steps for installing it on your own.

Now you want to edit the nginx vhost for the site you wish to enable HHVM on.  Comment out the block of code that deals with .php files and then near the bottom of the vhost file add the following

Adding the include will include the HHVM config that was generated in the previous step.  After you have done this you can then run a config test on nginx and if all passes issue a reload command.

If you are looking for more of an automatic means of doing this, check out the git repo that Chuck Reynolds setup where he created a script that you can run to accomplish everything above.

Published in Internet Linux Technology WordPress

%d bloggers like this: