vi /etc/php5/fpm/pool/www.conf

slowlog = /var/log/php_slow.log
request_slowlog_timeout = 5s
service php-fpm restart 
tail -f /var/log/php_slow.log