PHP-FPM Pool Templates
Customize Eenos-managed website PHP-FPM pools with domain-specific, global custom and default Mako templates.
The Eenos-managed PHP-FPM website builder selects a Mako pool template for the domain. This is separate from the panel's own PHP service and from PHP application source code.
Lookup order
/var/eenos/userdata/<user>/templates/fpm/<domain>/usr/local/eenos/templates/webserver/fpm/custom/default/usr/local/eenos/templates/webserver/fpm/default
The account override filename is the domain, not the global filename default. This selection applies to the reviewed Eenos PHP vendor branch; do not assume another vendor uses an identical pool builder.
Preserve the pool contract
Start from the current compatible default. Keep the generated user/group, socket, chroot, working directory, logging and security controls consistent with the account and website. Process limits and PHP directives need values valid for the chosen PHP version and available server resources.
The builder supplies domain/account/runtime data. A custom template cannot safely assume a fixed account home or socket shared across all sites. The default website error log uses the account's logs directory, not the panel PHP-FPM log.
Test and activate
Back up custom and generated pool files, render on a development server and validate using the selected PHP-FPM version's supported configuration check. A template save does not automatically replace every existing pool. Apply an intentional domain/pool rebuild and reload only after validation, then check the site and logs.
Keep old configuration for rollback and rebase overrides after PHP/panel updates. See WAP PHP for runtime administration.