Commit graph

13 commits

Author SHA1 Message Date
Jérémy Lecour 5138065059 Use 'loop' syntax instead of 'with_items' 2021-05-04 14:19:18 +02:00
Ludovic Poujol 0dfb92360f php: Don't disable putenv() by default in PHP settings
All checks were successful
continuous-integration/drone/push Build is passing
2020-06-04 11:52:04 +02:00
Jérémy Lecour 7283e34077 Replace version_compare() with version() 2020-02-25 10:45:35 +01:00
Ludovic Poujol 31df2d2fbc
php: Add a task to remove Debian's default FPM pool file (off by default)
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is failing
Can be triggered by switching php_fpm_remove_default_pool to True.
2020-01-16 15:55:35 +01:00
Ludovic Poujol ef5ed6911e
php: Change the default pool names to something more explicit (and same for the variables names)
Because it's more than just pure configuration, but a fpm pool 
definition, I've changed the following variables in Ansible :
- php_fpm_defaults_conf_file to replaced by php_fpm_default_pool_file
- php_fpm_custom_conf_file to php_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 to www-evolinux-defaults.conf 
- zzz-evolinux-custom.conf changes to www-evolinux-zcustom.conf
2020-01-16 15:55:25 +01:00
Ludovic Poujol c9d3635cf8
php: Make sure the default pool we define can be fully functionnal witout debian's default pool file 2020-01-16 15:55:17 +01:00
Jérémy Lecour 79bb6103b8 Change "|version_compare" with "is version_compare" 2019-12-31 10:18:19 +01:00
Ludovic Poujol 2d2889ac16 php: Don't set a chroot for the default fpm pool
All checks were successful
continuous-integration/drone/push Build is passing
2019-10-16 15:59:33 +02:00
Ludovic Poujol e2fd56bdcd php: By default, allow 128M for OpCache (instead of 64M)
Some checks reported errors
continuous-integration/drone/push Build encountered an error
2019-08-21 15:56:35 +02:00
Ludovic Poujol 20a4c082d7 php: Stop enforcing /var/www/html as chroot while we use /var/www..... 2019-06-06 13:45:53 +02:00
Tristan PILAT 469d9e6984 Fix bug when installing php-fpm. Absolute path is required.
ERROR: Unable to create or open slowlog(/usr/log/www.log.slow): No such file or directory (2)
2018-06-18 10:21:22 +02:00
Jérémy Lecour 767ce95b5c php: variable service name for jessie and stretch 2018-06-13 09:37:55 +02:00
Jérémy Lecour 17d0c9c6bf php: clarify configuration
* Variables for config file names are normalized* With Sury, Evolix configs are linked to regular 7.0 paths
2018-06-11 17:35:20 +02:00
Renamed from php/tasks/fpm.yml (Browse further)