Add session_gc_maxlifetime php.ini option

This commit is contained in:
Julian Rother 2022-12-04 00:25:08 +01:00
parent 5a3a51e1be
commit 7e86de7eea
No known key found for this signature in database
GPG key ID: 8F9B6AE9BAAE4899
2 changed files with 2 additions and 1 deletions

View file

@ -78,3 +78,4 @@ phpinidefault:
upload_max_filesize: 64M upload_max_filesize: 64M
memory_limit: 128M memory_limit: 128M
date_timezone: UTC date_timezone: UTC
session_gc_maxlifetime: 1440

View file

@ -1422,7 +1422,7 @@ session.gc_divisor = 1000
; After this number of seconds, stored data will be seen as 'garbage' and ; After this number of seconds, stored data will be seen as 'garbage' and
; cleaned up by the garbage collection process. ; cleaned up by the garbage collection process.
; http://php.net/session.gc-maxlifetime ; http://php.net/session.gc-maxlifetime
session.gc_maxlifetime = 1440 session.gc_maxlifetime = {{ phpini.session_gc_maxlifetime }}
; NOTE: If you are using the subdirectory option for storing session files ; NOTE: If you are using the subdirectory option for storing session files
; (see session.save_path above), then garbage collection does *not* ; (see session.save_path above), then garbage collection does *not*