Hello, i found on this forum about add to /var/cpanel/userdata/user/domain.php-fpm.yaml
then
PHP HANDLERS > CGI
i open cpanel documentation and i saw the option and value are the same as i write, so any help?
and one more question about this: this will help me to find out which php script are slow and using process and cpu too much right?
Code:
---
_is_present: 1
slowlog = /var/log/php-fpm/slow.log
request_slowlog_timeout = 10s
Code:
/scripts/php_fpm_config --rebuild --domain=domain.tld
info [php_fpm_config] Rebuilding ...
info [php_fpm_config] Dequeued the following domains
info [php_fpm_config] Dequeued domain.tld
info [php_fpm_config] rebuild_files: working on domain (domain.tld)
Warning: During the PHP-FPM rebuild, the system detected formatting issues with the “/var/cpanel/userdata/user/domain.tld.php-fpm.yaml” file and did not apply any custom values.For more information about the correct formatting of custom values, read our Custom Templates (link: https://go.cpanel.net/EA4CustomTemplates (https://go.cpanel.net/EA4CustomTemplates)) documentation.
info [php_fpm_config] php-fpm: rebuild_files: restart fpm services for Apache
info [php_fpm_config] php-fpm: fpm services restarted
info [php_fpm_config] Rebuilding vhosts in apache conf
info [php_fpm_config] Rebuild Complete
i open cpanel documentation and i saw the option and value are the same as i write, so any help?
and one more question about this: this will help me to find out which php script are slow and using process and cpu too much right?
Last edited by a moderator: