Install PHP and extensions in prefix folder

Install all extensions with php
Fix cakephp path handling
DO NOT MERGE