Add php5-cli php5-gd php5-pgsql php5-sqlite php5-common php-pear curl as well as Composer.