Commit Graph

105 Commits

Author SHA1 Message Date
Jérémy Lecour d013a65cf6 Merge branch 'unstable' into lpoujol/better-multiphp
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is failing Details
2020-04-17 12:23:56 +02:00
Ludovic Poujol f135f67cd0
(change) php: Cleanup CLI Settings. Also, allow url fopen and don't disable functions (in CLI only)
continuous-integration/drone/push Build is passing Details
Closes #98
2020-04-01 18:22:46 +02:00
Ludovic Poujol 2a1d355192 (fix) php: Correct tasks names in config_cli as they are for all versions, not only jessie
continuous-integration/drone/push Build is passing Details
Signed-off-by: Ludovic Poujol <lpoujol@evolix.fr>
2020-04-01 18:15:38 +02:00
Ludovic Poujol 7fc260a17b (fix) php: update surry_post.yml to match current latest PHP release
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is failing Details
2020-04-01 18:08:57 +02:00
Ludovic Poujol a21fcaf663 (fix) php: Chose the debian version repo archive for packages.sury.org 2020-04-01 17:23:39 +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)
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/pr Build is failing Details
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 e04d881988 replace "with_items" in apt modules 2019-12-31 16:18:56 +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
continuous-integration/drone/push Build is passing Details
2019-10-16 15:59:33 +02:00
Ludovic Poujol 0a7262081a php: add missing handler for php7.3-fpm
continuous-integration/drone/push Build is passing Details
2019-10-16 15:17:35 +02:00
Tristan PILAT f96c0b82ff Fix condition in main task
The Buster task should not be triggered with Debian Stretch systems
2019-10-01 17:26:33 +02:00
Jérémy Lecour bea11352be Merge branch 'buster' into unstable 2019-09-23 18:34:35 +02:00
Ludovic Poujol e2fd56bdcd php: By default, allow 128M for OpCache (instead of 64M)
continuous-integration/drone/push Build encountered an error Details
2019-08-21 15:56:35 +02:00
Jérémy Lecour c0ed2fa620 php: variable to install the mysqlnd module instead of the default mysql module
continuous-integration/drone/push Build encountered an error Details
2019-08-16 10:11:23 +02:00
Benoît S. 771c75c1de all-roles: Dot not use ansible_lsb as it is deprecated
continuous-integration/drone/push Build encountered an error Details
continuous-integration/drone/pr Build is passing Details
We move from `ansible_lsb.codename` to `ansible_distribution_release`.
2019-07-03 09:41:35 +02:00
Jérémy Lecour a4236a0708 php: look for PHP 7.3 with buster 2019-06-26 17:39:22 +02:00
Jérémy Lecour bee57a0b3c change distribution release codename
continuous-integration/drone/push Build encountered an error Details
continuous-integration/drone/pr Build is failing Details
Ansible 2.2 is too old to know about buster.
Let's use LSB for that.
2019-06-18 17:35:28 +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
Benoît S. c019c4230c PHP: For sury add packages to preferences
Closes #39
2019-04-15 16:55:45 +02:00
Tristan PILAT cd82c2609e PHP sury is now 7.3 2019-04-10 15:27:15 +02:00
Jérémy Lecour aa28e9c1b8 change repositories URL 2019-03-21 15:31:58 +01:00
Ludovic Poujol 40b2654141 php: added php-zip in the installed package list for debian 9 (and later) 2019-01-10 19:12:53 +01:00
Jérémy Lecour 4eea7362e3 php: fix php-fpm service name for Stretch 2018-06-26 16:04:14 +02:00
Tristan PILAT af6fcb8a57 Fix typing mistake 2018-06-18 10:34:20 +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 1593773937 php: enforce permissions on /etc directories 2018-06-15 11:17:41 +02:00
Jérémy Lecour 82295b6f8c php: fix php-fpm service name for Stretch 2018-06-15 11:17:41 +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
Jérémy Lecour b50ea62572 whitespaces 2018-06-11 17:35:20 +02:00
Jérémy Lecour d3eb8b870c php: fix permissions on custom php.ini file
fixes #2433
2018-05-23 21:55:34 +02:00
Jérémy Lecour 3af7d2d679 php: fix condition statement position 2018-04-04 10:01:17 +02:00
Jérémy Lecour 3d4733fc13 php: fix fpm custom file permissions 2018-03-26 21:52:46 +02:00
Jérémy Lecour d4da36ffa7 php: restart fpm if needed 2018-03-26 21:52:38 +02:00
Jérémy Lecour 1b4ea6e859 whitespaces 2018-03-26 21:52:22 +02:00
Ludovic Poujol 18dfb69679 PHP: Install php-intl module (useful for modern frameworks) 2017-12-11 11:57:55 +01:00
Jérémy Lecour 635aa5f8a1 php.ini custom file permissions
Thanks to root's umask, the copied file doesn't ave the proper
permissions :
0600 (actual) instead of 0644 (expected)
2017-11-28 15:17:36 +01:00
Victor LABORIE 3b4bf6d13a php: fix right on custom conf files 2017-10-16 17:46:55 +02:00
Benoît S. 7419937196 Force pining to php*
Why? Because we have some meta-packages like php which redirect to php7.0 or
php7.1. With this, all php packages will be 7.1 (default from sury).
2017-09-20 15:06:15 +02:00
Benoît S. e2ed9e4be8 Add preferences file to pin php7.1 packages 2017-09-20 14:33:22 +02:00
Benoît S. cbe40162d9 Remove useless apt update handler 2017-09-20 14:19:30 +02:00
Benoît S. 21f85e4e84 Use apt_repository and rename source list to sury.list 2017-09-20 14:17:02 +02:00
Benoît S. fa55761714 Add support for PHP 7.1 using sury repository.
See the documentation: https://wiki.evolix.org/HowtoPHP#php-7.1-avec-deb.sury.org
2017-09-20 11:29:54 +02:00
Victor LABORIE c430fa3485 php: install php5/php package after fpm/libapache2-mod-php
Because apt dependency always install libapache2-mod-php
if neither is present
2017-09-19 10:29:57 +02:00
Gregory Colpart a1188c7823 add default_charset example in php custom files 2017-09-12 20:14:56 +02:00
Victor LABORIE 0438ece246 php: comments starting with '#' are deprecated 2017-09-12 10:41:47 +02:00
Gregory Colpart 27f0369c5b esthetic changes: add version condition in name: 2017-09-08 02:01:26 +02:00
Gregory Colpart af5427e077 Add flavor for installing Symfony 2017-09-06 19:28:37 +02:00
Gregory Colpart 207a2f6011 Improve distribution verification 2017-08-23 01:49:27 +02:00
Gregory Colpart 6526e88b9c install phpmailer by default (now in HowtoPHP) + fix name of package for ssh module in jessie 2017-08-22 20:58:57 +02:00
Gregory Colpart 2e1deb3e93 write php role with https://wiki.evolix.org/HowtoPHP 2017-08-22 06:30:41 +02:00
Gregory Colpart 30d9e826b8 rename php-fpm -> php 2017-08-22 06:30:41 +02:00