remove, from /etc/php5/fpm/php-fpm.conf the cgi.fix_pathinfo directive that is supposed to be in /etc/php5/fpm/php.ini