...
Install the extension dom, fileinfo, iconv, mbstring, zip, pdo_mysql , and gd and readline
sudo apt-get install libapache2-mod-php5
php5-mysql
php5-gd php5-readline
Install Oracle Java
(needed by openTMStermTagger, which is used by translate5)
...