Commit Graph

50 Commits

Author SHA1 Message Date
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
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
e3fab5a6ed
Merge pull request #269 from porcospino/patch-1
Set php-fpm socket owner and group
2020-03-10 17:54:18 -05:00
Jeff Geerling
e71d49d319
Merge branch 'master' into master 2020-03-06 09:28:58 -06:00
Chris Fryer
ef69a5ffe5
Set php-fpm socket owner and group
Fixes #166
2019-06-19 23:56:25 +01:00
guessit-dev
77cd68003a
Remove settings which are absent in php 7.0+
https://www.php.net/manual/en/ini.core.php#ini.asp-tags
https://www.php.net/manual/en/ini.core.php#ini.always-populate-raw-post-data
https://www.php.net/manual/en/session.configuration.php#ini.session.bug-compat-42
https://www.php.net/manual/en/session.configuration.php#ini.session.bug-compat-warn
2019-05-17 16:24:15 +00:00
Andrian Jardan
6a2e9aa1d2 Make precision configurable 2018-04-11 15:17:49 +02:00
Jeff Geerling
fabb651bf5 Fixes #170: Full control over PHP upload settings. 2017-01-14 15:48:42 -06:00
Jarkko Mönkkönen
f8082e4602 add support to set custom opcache.so location (#157) 2016-11-07 12:36:24 -06: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
2d640f57a0 Fixes #136: Unable to load apc.so. 2016-06-10 21:00:01 -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
Jeff Geerling
f838f3fa5b Merge pull request #131 from rockholla/apc-opcache-config-tweaking
Fixes #130 and #48: Tweak and simplify some of the apc and opcache configuration
2016-06-08 22:58:56 -05:00
Patrick Force
b9f0a61720 tweak and simplify some of the apc and opcache configuration 2016-05-20 16:00:24 -06:00
Mathieu Garstecki
72c05c942f Fix #120: Introduce variables for FPM user and group. 2016-05-19 16:07:12 +02:00
Jeff Geerling
9378374d8b Fixes #125: APCu not loading under PHP 7. 2016-05-13 07:40:19 -05:00
Jeff Geerling
214e4bb8fa Fixes #69: APC is dead, long live OpCache and APCu. 2016-05-11 22:27:02 -05: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
Jeff Geerling
beffaeb4ce Revert "Typo in php.ini mssql.compatibility_mode" 2016-04-08 14:19:23 -05:00
Petrox
ab2a314055 Typo in php.ini mssql.compatibility_mode
Bad:
mssql.compatability_mode = Off

Good:
mssql.compatibility_mode = Off
2016-04-08 19:39:46 +02:00
Jeff Geerling
041e7bc0d5 Fixes #99: Allow override of output_buffering setting. 2016-03-25 17:05:33 -05:00
Jeff Geerling
e03ffd0104 Fixes #94: PHP-FPM init script for build from source causes 30s delay when stopping via systemd. 2016-03-16 12:14:13 -05:00
Oskar Schöldström
9eadfc1cdc correct some paths 2016-03-03 22:12:42 -05:00
Westin Shafer
db617add4a Set always_populate_raw_post_data to -1 as setting is deprecated in 5.6 2016-02-19 09:04:12 -07: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
Jeff Geerling
e22b35d20e Fixes #65: Make FPM init script more PHP-7-friendly. 2015-12-13 22:42:44 -06:00
Tomas Joelsson
af9293214a Add if-condition for opcache blacklist filename 2015-10-14 14:23:27 +08:00
Tomas Joelsson
aaea548336 Add blacklist file option to opcache config 2015-10-14 12:33:53 +08:00
Chris Smith
592995082f Variable to enable / disable php_allow_url_fopen 2015-09-12 11:52:18 -04:00
Jeff Geerling
ac77ea3327 Issue #45: Fix PHP-FPM setup and configuration when installing from source - for real. 2015-07-06 12:03:23 -05:00
Jeff Geerling
30e9ef1a33 Add max_input_vars and max_input_time vars. 2015-05-27 10:17:43 -05:00
Jeff Geerling
f0d922699d Merge pull request #31 from o2web/master
Add option to disable expose_php.
2015-05-11 10:27:12 -07:00
Jeff Geerling
c1cf287346 Fixes #24: Configure OpCache for PHP >= 5.5. 2015-04-30 15:54:15 -05:00
Jeff Geerling
bd2ef93fae Clean up default php.ini and add php_display_startup_errors variable. 2015-04-24 11:02:59 -05:00
Louis-Michel Couture
924824c0f3 Add option to disable expose_php 2015-04-14 01:28:24 -04:00
Louis-Michel Couture
6f2516cc0a Add configurable max post size 2015-04-12 13:03:29 -04:00
Jeff Geerling
4595c8d5ec Fixes #25: Add php_apc_enable_cli variable. 2015-02-28 21:14:51 -06:00
Jeff Geerling
d3e2ac586f Add php_apc_stat variable. 2015-02-26 14:30:49 -06:00
Jeff Geerling
ee9a827049 Add php_realpath_cache_size variable. 2014-11-20 10:52:06 -06:00
Jeff Geerling
8ea541776f Issue #19: Allow self-managed php.ini, and related cleanup. 2014-11-11 11:34:06 -06:00
Sebastian Schwarz
df29e3d358 Make PHP option short_open_tag configurable
This is useful for nasty legacy applications.
2014-08-07 15:58:23 +02:00
Jeff Geerling
bc27f1f03b Merge pull request #5 from allgood2386/master
Add sendmail path variable.
2014-08-05 09:16:06 -05:00
Rich Allen
644194d3de renaming sendmail variable to remain consistant with nameing conventions 2014-08-05 10:01:28 -04:00
Jeff Geerling
4121ffe265 Add php_apc_enabled_in_ini option. 2014-07-28 08:54:51 -05:00
Rich Allen
26c5175756 adding a sendmail path variable incase you wanted to set up something like mailcatcher or non-standard mail config" 2014-06-23 15:04:10 -04:00
Jeff Geerling
bf3f28ce77 Initial commit of meta, tasks, templates, and vars. 2014-02-28 20:39:35 -06:00