Jeff Geerling
377516f0f5
Update PHP source repository since PHP's git site was hacked.
2021-09-22 23:11:44 -05:00
Andreas Lehr
170c409401
set max_request to 0 (default)
2021-05-14 10:35:19 +02:00
Andreas Lehr
5e4b6549c3
re-add php_fpm_pm_max_requests
2021-05-13 20:46:18 +02:00
Andreas Lehr
467eab8bec
make #302 backwards compatible, fixes #329
2021-05-12 20:55:32 +02:00
Roger Sicart
c62db9bbc1
Set lower values on default pm settings
2021-05-06 10:19:09 +02:00
Roger Sicart
759a165dc5
Remove commented pool from default values
2021-05-06 10:08:19 +02:00
R.Sicart
f5aab0ceb2
Configure extra fpm pools
...
Allow to configure extra fpm pools with a generic template.
You can find an example of php_fpm_extra_pools usage in default vars.
pool_name and pool_listen are mandatory.
2020-08-31 11:32:46 +02:00
Jeff Geerling
2f8128d427
Fixes #305 : Fix source build on Debian 10 and Ubuntu 18+.
2020-08-04 17:35:03 -05:00
Jeff Geerling
1496cf8f92
Fixes #281 : Thorough support for all current Ubuntu and Debian versions.
2020-07-24 17:17:50 -05:00
Jeff Geerling
aa43a45f47
Merge pull request #298 from rvdbogerd/patch-1
...
Make serialize_precision a parameter
2020-07-02 09:17:01 -05:00
R.Sicart
7506c18750
Added possibility to choose if php-fpm is restarted or reloaded.
...
In production systems, it is sometimes better to reload FPM instead of
restarting. This commit allows users to manage restart or reload of
php-fpm service, but keeps restarting by default.
Co-authored-by: Julien LE SAUX <julien.le.saux@fr.clara.net>
2020-06-16 18:34:21 +02:00
Robbert van den Bogerd
3b6255f1aa
Make serialize_precision a parameter
...
According to the php documentation, the default version for php should be "-1". Before php7.1 it was 17, so I parameterized it, and made the default "-1"
2020-04-01 17:13:52 +02:00
Jeff Geerling
6c7f0dd304
PR #277 : Change default docs line for php_packages_extra var.
2020-03-06 12:43:32 -06:00
Jeff Geerling
c4bd34bf81
Merge pull request #277 from kindlehl/php_packages_extra_fix
...
Php_packages_extra fix
2020-03-06 12:42:14 -06:00
Jeff Geerling
e949e81681
Merge pull request #235 from ajardan/master
...
Make precision configurable, add php-cgi config
2020-03-06 09:51:47 -06:00
Jeff Geerling
07cb84c591
Fixes #293 : Allow PHP-FPM state and boot behavior to be configured.
2020-03-06 09:38:47 -06:00
Jeff Geerling
e71d49d319
Merge branch 'master' into master
2020-03-06 09:28:58 -06:00
Hunter Lannon
cb8438fde1
define php_packages_extra in defaults
2019-09-11 16:03:46 -07:00
Jeff Geerling
8093947079
Add new php_default_version_debian variable so 7.2 can be used on Bionic.
2018-10-23 13:50:02 -05:00
Jeff Geerling
6e92b87062
Switch tests to use Molecule.
2018-09-29 14:41:26 -05:00
Andrian Jardan
6a2e9aa1d2
Make precision configurable
2018-04-11 15:17:49 +02:00
Jeff Geerling
3780da1445
Fix deprecation warnings in Ansible 2.5 for state 'present'.
2018-04-04 14:01:58 -05:00
Jeff Geerling
462ebfaabf
Fixes #219 : Fix source build failure on Ansible 2.4+.
2017-09-21 21:58:02 -05:00
Yaron Tal
0adb0cdc41
Changed default value of short_open_tags to Off instead of FAlse ( #168 )
2017-01-16 11:13:45 -06:00
Jeff Geerling
fabb651bf5
Fixes #170 : Full control over PHP upload settings.
2017-01-14 15:48:42 -06:00
Jeff Geerling
3d15a1ddda
Fixes #164 : Workaround for shallow tag clones not working in Ansible 2.2.
2016-11-23 13:46:01 -06:00
Jarkko Mönkkönen
f8082e4602
add support to set custom opcache.so location ( #157 )
2016-11-07 12:36:24 -06:00
Jeff Geerling
e863c348c3
Merge pull request #153 from stevenspasbo/master
...
Added php option for disable_functions
2016-11-02 15:28:02 -05:00
Jeff Geerling
08c948d24f
Fix test failures due to boolean handling in YAML.
2016-10-12 15:41:28 -05:00
Jeff Geerling
06d8a0edd2
Add the ability to choose --no-install-recommends for apt installs.
2016-10-12 15:27:31 -05:00
Steven Spasbo
0c3c0963a2
Added php option for disable_functions
...
* Added php_disable_functions variable
* Updated php.ini template
2016-10-05 12:15:33 -07:00
Jeff Geerling
4f785c108c
Issue #145 : Document variable that's RHEL-specific.
2016-07-26 21:35:35 -05:00
Jeff Geerling
d4af9e1ae6
Better description of php_packages_state.
2016-06-10 21:06:53 -05:00
Jeff Geerling
6c7eb71a01
Merge pull request #135 from geerlingguy/pporada-gl-master
...
Enable user to set the apt/yum module 'state'
2016-06-09 11:35:49 -05:00
Jeff Geerling
54b5e5e93f
PR #54 follow-up: Keep PHP's default and add new var to readme.
2016-06-08 23:14:47 -05:00
Jeff Geerling
40e4a7b668
Merge pull request #54 from csedev/master
...
Variable to enable / disable php_allow_url_fopen
2016-06-08 23:13:17 -05:00
Jeff Geerling
7739671037
Merge pull request #113 from andreiashu/enableOpcacheRevalidatePath
...
Enable opcache.revalidate_path setting
2016-06-08 23:11:39 -05:00
Phil Porada
9c5de4307a
Merge branch 'master' of https://github.com/geerlingguy/ansible-role-php
2016-06-02 14:19:42 -04:00
Patrick Force
b9f0a61720
tweak and simplify some of the apc and opcache configuration
2016-05-20 16:00:24 -06:00
Jeff Geerling
214e4bb8fa
Fixes #69 : APC is dead, long live OpCache and APCu.
2016-05-11 22:27:02 -05:00
Phil Porada
11ed2172de
Per comments on PR106
2016-05-02 08:57:32 -04:00
Andrei Simion
901b9b18cf
Keep default of php_opcache_revalidate_path as per PHP Zend defaults
2016-04-18 09:17:52 +01:00
Andrei Simion
674c848681
Enable opcache.revalidate_path setting
...
This is needed otherwise in certain cases one will get
served stale PHP files.
2016-04-14 17:15:21 +01:00
Phil Porada
f20bbde884
Users can now set the apt/yum module 'state' to be 'installed, latest, present' etc. This allows a user to test php55, swap a variable to enable the php56 repo, then re-run the ansible play to get different PHP packages.
2016-04-08 16:43:26 -04:00
Jeff Geerling
041e7bc0d5
Fixes #99 : Allow override of output_buffering setting.
2016-03-25 17:05:33 -05:00
Oskar Schöldström
9eadfc1cdc
correct some paths
2016-03-03 22:12:42 -05:00
Jeff Geerling
f969eb2190
Fixes #58 : Allow session save handler and path to be configured.
2016-02-16 21:48:38 -06:00
Jeff Geerling
8d3aa950e6
Merge pull request #79 from ajsalminen/configurable_sessions
...
Configuration options for PHP session handling.
2016-02-16 19:31:19 -08:00
Jeff Geerling
41a6282e9e
Merge pull request #56 from juwai/master
...
Add option for opcache blacklist file
2016-02-16 19:28:48 -08:00
Antti Salminen
5c5c3ceae2
Configuration options for PHP session handling.
2016-02-10 22:36:37 +02:00