You can just define something like the following in /usr/local/directadmin/data/templates/custom/php-fpm.conf.custom1 (
https://www.directadmin.com/features.php?id=2335):
Code:
|?MAX_CHILDREN=20|
|?MAX_REQUESTS=50|
Then just simply do this to update the confs:
Code:
cd /usr/local/directadmin/custombuild
./build rewrite_confs
If it's something else you'd like to customize in /usr/local/directadmin/data/templates/php-fpm.conf, you may just copy the file to /usr/local/directadmin/data/templates/custom/php-fpm.conf, do the changes needed, and that file will be used as template. However, pre/post CUSTOM sections are always recommended, so that you would still be able to get template updates, if there are any
If you'd like to apply it per-user, simply use "Custom HTTPd Configuration" from admin level. Same way of overwriting tokens there, just post the token overrides (or your new options) in custom blocks.