Revamping default pools file for PHP-FPM #95
Loading…
Reference in New Issue
No description provided.
Delete Branch "lpoujol/fpm-php"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This pull request on the PHP role, targets the FPM part of it with the following objectives :
More details bellow :
Functional default pool
If Debian default pool file is deleted/absent, FPM won't be able to run because some settings are missing on the www pool. I've introduced the following settings (extracted from Debian's default pool) :
Renaming files and variables
Because it's more than just pure configuration, but a (complete) fpm pool
definition, I've changed the following variables in Ansible :
php_fpm_defaults_conf_file
to replaced byphp_fpm_default_pool_file
php_fpm_custom_conf_file
tophp_fpm_default_pool_custom_file
On the FPM side, I've also changed the files names of the pool to make
them more explicit. No more z and zzz. It's the www pool, so let's put
www in the file name for coherence :
z-evolinux-defaults.conf
changes towww-evolinux-defaults.conf
zzz-evolinux-custom.conf
changes towww-evolinux-zcustom.conf
I've also introduced
php_fpm_remove_default_pool
, that will remove Debian's default FPM pool (the www.conf file). It's set to False by defaultWIP: Revamping default pools file for PHP-FPMto Revamping default pools file for PHP-FPM