add nginx repository before install nginx
changed php to 5.5, needs to change the /etc/php5/fpm/pool.d/www.conf to listen to different port