Added timeout to expect script to avoid hanging chef
php: using module system and new api version for Ubuntu 14.04