request_terminate_timeout FPM
Hi, is there any way to include the request_terminate_timeout directive by default to domains that we activate FPM?
Is there a template file we can edit?
Thanks!
-
Suspect (someone correct me if I'm wrong) this is a case of adding: php_admin_value_request_terminate_timeout: { name: 'php_admin_value[request_terminate_timeout]', value: '300s' }
...(replacing value as appropriate) in/var/cpanel/userdata/[username]/[domain].php-fpm.yaml
The above is to perform on a per-domain basis. To do it globally so that it's defaulted for all FPM accounts, you'd add the same but in:/var/cpanel/ApachePHPFPM/system_pool_defaults.yaml
...and then run:/scripts/php_fpm_config --rebuild /scripts/restartsrv_httpd /scripts/restartsrv_apache_php_fpm
...to action the changes.0 -
The tutorial here: also provides the steps necessary to make this sort of customization. 0
Please sign in to leave a comment.
Comments
2 comments