mirror of
https://github.com/geerlingguy/ansible-role-php.git
synced 2024-11-28 12:45:16 +01:00
Merge pull request #79 from ajsalminen/configurable_sessions
Configuration options for PHP session handling.
This commit is contained in:
commit
8d3aa950e6
@ -55,6 +55,11 @@ php_date_timezone: "America/Chicago"
|
||||
php_sendmail_path: "/usr/sbin/sendmail -t -i"
|
||||
php_short_open_tag: false
|
||||
|
||||
php_session_cookie_lifetime: 0
|
||||
php_session_gc_probability: 1
|
||||
php_session_gc_divisor: 1000
|
||||
php_session_gc_maxlifetime: 1440
|
||||
|
||||
php_error_reporting: "E_ALL & ~E_DEPRECATED & ~E_STRICT"
|
||||
php_display_errors: "Off"
|
||||
php_display_startup_errors: "Off"
|
||||
|
@ -176,16 +176,16 @@ session.use_only_cookies = 1
|
||||
session.name = PHPSESSID
|
||||
session.auto_start = 0
|
||||
|
||||
session.cookie_lifetime = 0
|
||||
session.cookie_lifetime = {{ php_session_cookie_lifetime }}
|
||||
session.cookie_path = /
|
||||
session.cookie_domain =
|
||||
session.cookie_httponly =
|
||||
|
||||
session.serialize_handler = php
|
||||
|
||||
session.gc_probability = 1
|
||||
session.gc_divisor = 1000
|
||||
session.gc_maxlifetime = 1440
|
||||
session.gc_probability = {{ php_session_gc_probability }}
|
||||
session.gc_divisor = {{ php_session_gc_divisor }}
|
||||
session.gc_maxlifetime = {{ php_session_gc_maxlifetime }}
|
||||
|
||||
session.bug_compat_42 = Off
|
||||
session.bug_compat_warn = Off
|
||||
|
Loading…
Reference in New Issue
Block a user