开启php-fpm的慢日子

修改配置文件:

vi /etc/php-fpm.d/www.conf

修改配置

request_slowlog_timeout = 5s  # 超出5s的记录下来
slowlog = /var/logs/php-slow.log  # 记录文件的地址址