版权声明:转载请带原文地址!!! https://blog.csdn.net/qq_17403553/article/details/81542171
-
找到php-fpm文件
-
去掉request_slowlog_timeout前面的分号,并设置时间。如:request_slowlog_timeout=5表示超过5秒的
-
去掉slowlog前面的分号,并设置log路径。如slowlog=/usr/local/php71/log
-
重启PHP
找到php-fpm文件
去掉request_slowlog_timeout前面的分号,并设置时间。如:request_slowlog_timeout=5表示超过5秒的
去掉slowlog前面的分号,并设置log路径。如slowlog=/usr/local/php71/log
重启PHP