added check before running a2enmod passenger command
added php5, php5-mysql, php-gd