MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: tochits on 2017-05-22, 05:28:53

Title: PHP FPM slow.log
Post by: tochits on 2017-05-22, 05:28:53
Which files do I need to edit to disable slowlog and also to make it permanent/make it default config for all?

;request_slowlog_timeout = 30s
;slowlog = /var/log/php-fpm/slow.log
Title: Re: PHP FPM slow.log
Post by: MRatWork on 2017-05-22, 06:52:24
Instead disable slow better increasing timeout.

Copy 'php53-fpm-pool.conf.tpl' to 'custom.php53-fpm-pool.conf.tpl' inside '/opt/configs/php-fpm/tpl' and then modified this custom file. After that, run 'sh /script/fixphp; sh /script/restart-web'.