find out slow script
Hello, i found on this forum about add to /var/cpanel/userdata/user/domain.php-fpm.yaml
then
PHP HANDLERS > CGI i open
---
_is_present: 1
slowlog = /var/log/php-fpm/slow.log
request_slowlog_timeout = 10sthen
/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 CompletePHP HANDLERS > CGI i open
-
Can you please open a ticket using the link in my signature? Once open please reply with the Ticket ID here so that we can update this thread with the resolution once the ticket is resolved. Thanks! 0 -
well support was fast so this is solved and if someone has the same error need from: slowlog = /var/log/php-fpm/slow.log request_slowlog_timeout = 10s
add like this:php_admin_value_slowlog: { name: 'php_admin_value[slowlog]', value: '/var/log/php-fpm/slow.log' } php_admin_value_request_slowlog_timeout: { name: 'php_admin_value[request_slowlog_timeout]', value: '10s' }0
Please sign in to leave a comment.
Comments
2 comments