Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions php/ols.ini
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,12 @@ max_input_time = 60

; Maximum number of input variables that PHP will accept
max_input_vars = 1000

; Session garbage collection.
; lsphp ships Debian's php.ini-production, which sets session.gc_probability = 0
; and delegates cleanup to a sessionclean cron that does not exist in this
; container. Re-enable PHP's built-in probabilistic GC so stale sess_* files in
; /var/lib/php/sessions are pruned instead of accumulating indefinitely.
session.gc_probability = 1
session.gc_divisor = 100
session.gc_maxlifetime = 1440