Logo
  • PHP
    • HipHop / HHVM
    • Modern PHP
    • PHPStorm
    • LAMP
    • Laravel
    • Composer
    • PDO
  • JavaScript
    • node.js
    • AngularJS
  • CSS
    • SASS
    • “CSS4” (CSS level 4)
  • HTML
  • Git
  • LAMP
  • Vagrant
  • UI / UX
  • Architecture of …
  • Off-Topic
With ♥ from Berlin
October 26, 2013
Chris
HipHop, Local Development, Modern PHP, PHP, PHP-compiling, Ubuntu, Vagrant, Virtual Machine / VM
Comments Off on A preinstalled Vagrant box with PHP HipHop / HHVM and Ubuntu 13.10 (Saucy Salamander)

A preinstalled Vagrant box with PHP HipHop / HHVM and Ubuntu 13.10 (Saucy Salamander)

PreviousNext
vagrant

Here’s an excellent downloadable Vagrant box that’s brings you a preinstalled HHVM / HipHop for PHP within a Ubuntu 13.10 server. When you are reading this, you probably know what this is all about, but here’s a short introduction for everybody else:

Facebook is the most used website in the world. And it’s a highly active site, permanent updates, requests, interaction etc. And it’s built in PHP. Therefore the Facebook developers are using PHP at the most advanced level. To get even more out of PHP, they created a pendant to the “Java Virtual Machine” in which Java is running: HipHop (or HHVM), a virtual machine that runs COMPILED PHP code. Don’t get confused with the term “virtual machine”, as this article is about a Vagrant box, which is also a virtual machine, in this case HipHop would be a virtual machine running within a virtual machine. Sound weird, but is totally okay as Vagrant is just a dev tool, nothing for production. Anyway, running PHP within HipHop makes PHP much much faster. Some benchmarks show increases up to 600%, in most cases you will gain 100%-150% performance, so you app will run 2 – 2.5 times faster.

Please note: HipHop is built by Facebook and FOR Facebook. So its focus is on the Facebook architecture, therefore not all PHP functions are supported (as Facebook simply don’t use them, like mysql/mysqli commands, here you have to use PDO).

Vagrant box on GitHub:
https://github.com/adrienbrault/hhvm-vagrant

 

facebookHipHopPHPubuntu 13.10vagrant
Share this

How to show the available version of a package (before doing apt-get install)

To show the version of the package that will be installed with apt-get install, do apt-cache policy packagename. To show

MINI2, an extremely simple barebone PHP application on top of Slim

For my daily work I often needed to setup super-simple PHP applications, just some more or less static pages plus

Test GZIP compression of your server easily

If you are running servers (which you hopefully do), then Gzip compression should be a topic, as this simple thing

Frontend Ops Conf 2014 – Keynote by Alex Sexton: “Front End Operations”

https://www.youtube.com/watch?v=7HGe8zZ1G6k

-45% (or even 50%) off on DesignWall today

Get 45% off on DesignWall.com with this coupon code: AMTHUNTER45 It’s also possible to get off 50% by taking part

forbes 30 under 30

Need motivation ? Check out these 2 awesome “FORBES 30 under 30” lists (web, UI, games)

The FORBES magazine has just published the new “30 under 30” lists, and they are really really interesting! Lots of

DigitalOcean coupon voucher 50

Only today: $50 coupon for DigitalOcean SSD VPS / hosting

Wow! The supernice SSD-cloud-server-provider DigitalOcean adds $50 (!) to new customers accounts ONLY TODAY (US-time-zones, so calculate if this is

How to get a single table out of a massive MySQL .sql database backup file (mysql dump splitter)

Imagine the following situation: Somebody backs up an entire MySQL database – a very large one – with common tools.

The architecture of StackOverflow

One of the most interesting talks these weeks, and a rare insight into one of the most active pages on

mod-rewrite-ubuntu-14-04-lts

How to enable mod_rewrite in Ubuntu 14.04 LTS

A little note first: This is the most basic way to enable mod_rewrite. However, it’s not the best way. The

1/4

Categories

Search

Frontend Ops Conf 2014 – Paul Irish: Delivering The Goods In Under 1000ms (40min video)
How Instagram.com works
hearthbleed-ssl-bug
A quick guideline on how to fix the Hearthbleed bug (and update OpenSSL) on Ubuntu
vagrant
A super-simple Vagrant LAMP stack bootstrap (installable with one command)
ubuntu-14.04-lts
First view: Ubuntu 14.04 LTS brings PHP 5.5 and Apache 2.4
All new features of WordPress 3.9 in this 2 minute video
O’Reilly sells EVERY ebook for -50% right now!
php
How to install the mcrypt php extension (to use Laravel 4)
increase-your-pagespeed-score
Increase your PageSpeed score (10min video with Matt Gaunt)
PHPMyAdmin not found after installation ? Here’s a fix (Ubuntu 12.04) !
Hacking ATMs – A conference talk about the current security state of Windows XP driven cash machines
sass
New features in SASS 3.3 (a talk by SASS-creator Chris Eppstein)
DEF CON 18 – When your computer got stolen and you can still SSH into it: “Pwned by the 0wner” (22min conference talk)
harper reed about big data
Harper Reed – The magic and mystery of Big Data (30min video from Webstock’15)
github-logo-octocat
GitHub buys Easel.io, a code-free full website creator worth a look

Tags

apache bash centos composer conference coupon CSS debian fonts framework git GitHub hack HHVM HipHop HTML HTML5 IDE JavaScript JS LAMP laravel linux mod_rewrite MVC MySQL Nginx optimization PHP PHP 5.5 PHP 5.6 phpmyadmin PHPStorm security server SSD Ubuntu UI UX vagrant video virtual machine voucher VPS wordpress
Side-Project: Wordle-Solver:
www.wordle-helper.info

Pages

  • Privacy Policy