Modern PHP

Submitted by christophe on Sat, 31/10/2015 - 08:18

The best PHP time saver book ever about the latest features of the language (PHP 5.5+), good practices and deployment. A must have for Drupal 8.

We talk here about OOP, namespaces, traits, generators, closure, PSR, components, optimization, deployment (Capistrano), profiling (XDebug, XHProf), unit tests (PHPUnit, Travis CI), dev environment (Vagrant), ...

O'Reilly book
Git repo


Access a Vagrant virtual host with

Submitted by christophe on Fri, 23/10/2015 - 15:19

This tip is for people that would access a Vagrant dev website from another VM (let's say to test another version of Internet Explorer via e.g. or via another device than the host environment (smartphone, tablet, ...).

Vagrant allows you to quickly deploy dev environments on a Virtualbox VM. will let you access your dev website from other devices (already tried to patch /etc/hosts on an iPad?)

Running Drupal 8 on

Submitted by christophe on Sun, 15/03/2015 - 19:12

I wondered if there was a solution to play around with Drupal 8 on a Chromebook (super cheap hardware / "everything in the cloud model" with a 16G SSD).

After some reddit I discovered that provides you freely, in the browser, a VM / terminal plus a text editor for PHP and other popular languages (Ruby, Python, ...).

Open up your Koding Terminal and cd in the Web directory (default, single docroot for a VM).

cd Web

Use +SymLinksIfOwnerMatch option in .htaccess for Drupal on Virtualmin

Submitted by christophe on Sat, 08/11/2014 - 21:47

The default Drupal 8 .htaccess provides +FollowSymLinks.

There is an old discussion about that on the Virtualmin forum.

patch is under creation for Drupal 8. It changes the Options +FollowSymLinkson the root .htaccess directory.


Options +SymLinksIfOwnerMatch

You should also change this on the sites/default/files .htaccess