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
shadow dom

Crossbrowser-safe HTML5 video (IE6+) with a few lines of code and just one .mp4 video file

No time to read the full article ? Get the code directly here on GitHub: panique/html5-video. Publishing a video on

october cms

[Link] How To Install October CMS on a VPS running Ubuntu 14.04

Quick tutorial on how to install October CMS on Ubuntu 14.04 by DigitalOcean. Worth a bookmark, does the job. I

How to hack time (KUNG FURY promo campaign)

:) Finally, KUNG FURY is out! No need for further words, unless you lived in a cave for the last

angular js

Learn AngularJS in 20 (or 90) minutes with Dan Wahlin

Definitly two of the best and most up-to-date short-introductions into AngularJS: Dan Wahlin shows how to build a full little

MINI, an extremely simple barebone PHP application

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

digitalocean coupon

DigitalOcean VPS coupon codes for december 2013 and early 2014

Some (working!) coupon codes for DigitalOcean, the low-cost VPS server/hosting provider of the year. They are for NEW customers, but

php

PHP 5.7 gets refactored core, is 10%-30% faster than PHP 5.5! Wow!

What an announcement! The awesome PHP core guys have refactored the Zend Engine (which drives PHP) and could successfully speed

steam sale coupon voucher

-30% to -90% on Steam and Origin

Soft off-topic, but as most developers like to play from time to time, this might be your change to grab

node.js

PayPal drops Java, goes node.js / JavaScript

First: this is not a Java-vs.-AnyOtherLanguage diss, just an article about a very interesting development: Using “frontend-languages” for serious server-side

Support FLARUM, the future of PHP forum scripts (with some dollars on Kickstarter)

PHP forum scripts are horrible, let’s face it. Nearly everything that’s available is hard to install, hard to handle, hard

1/4

Categories

Search

bitdeli git github stats
Get visitor stats for your GitHub repo with BitDeli
sass laravel
Extremely easy SASS in Laravel (with pure PHP)
php
Why Modern PHP is Awesome And How You Can Use It Today (Slides by Matt Stauffer)
phpstorm 7.0 php
How to install GitHub’s, NetBeans’s and Sublime2’s syntax highlighting code colours theme in PHPStorm 6/7
Test GZIP compression of your server easily
Perfect HTML email templates for perfect HTML emails (outlook!) with INK
Redesigning Windows 8 – fantastic and clever drafts by Jay Machalani
php uk conference
PHP Caching Best Practices by Eli White (video from PHP UK Conference 2014)
GitHub finally introduces repo traffic stats
php
12 tools for better PHP quality
mod-rewrite-ubuntu-14-04-lts
How to install / setup PHP 5.5.x on Ubuntu 12.04 LTS
hiphop php
HipHop VM reaches 100% green Unit Tests in Laravel, Drupal, Slim, CodeIgniter etc.
Google I/O 2014 – HTTPS Everywhere (video)
First look on Gitter, the chat for GitHub
New project: Building a naked PHP skeleton / boilerplate application from scratch

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