Inspired by the official opscode PHP5 cookbook, but specific to Ubuntu, with some additions to get modules working properly. Requires apt cookbook Platform Ubuntu (12.04 LTS) specific. Should work on any Debian-based system with minor tweaks.