Shortly: how can I include the same settings across several php-fpm pools without repeating them for each pool?
Details
In php5-fpm there are global directives and per pool directives. In all examples and documentation, each pool has all required settings, e.g.
[www] user = $pool group = $pool listen = 127.0.0.1:9001 listen.owner = $pool listen.group = $pool pm = ondemand pm.max_children = 5 pm.process_idle_timeout = 30s chdir = /var/www/$pool [www2] user = $pool group = $pool listen = 127.0.0.1:9002 listen.owner = $pool listen.group = $pool pm = ondemand pm.max_children = 5 pm.process_idle_timeout = 30s chdir = /var/www/$pool As you can see, most of the configuraton is the same, so I wonder if there is a way to put that configuration in a place where all pools can implicitly or explictly include them.
Just putting them at the bottom of the [Global] section is not working.
Thank you for any suggestion.
pmconfiguration at the end of the main "php-fpm.conf" file, it is not included. I getthe process manager is missing (static, dynamic or ondemand). I guess that's because that's a "per pool" type of setting.