Skip to content

Commit 67d2f87

Browse files
Mentioned Debian explicitly
Question: The next sentence ("That's why...") doesn't make sense to me! If Debian thinks it's better to do it with its own cronjob, **why** is Symfony overwriting it?? => Suggestion: Symfony overwrites this value to ``1``, because ...
1 parent 2dc8eb2 commit 67d2f87

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

components/http_foundation/session_configuration.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,8 @@ the ``php.ini`` directive ``session.gc_maxlifetime``. The meaning in this contex
139139
that any stored session that was saved more than ``gc_maxlifetime`` ago should be
140140
deleted. This allows one to expire records based on idle time.
141141

142-
However, some operating systems do their own session handling and set the
143-
``session.gc_probability`` variable to ``0`` to stop PHP doing garbage
142+
However, some operating systems (e.g. Debian) do their own session handling and set
143+
the ``session.gc_probability`` variable to ``0`` to stop PHP doing garbage
144144
collection. That's why Symfony now overwrites this value to ``1``.
145145

146146
If you wish to use the original value set in your ``php.ini``, add the following

0 commit comments

Comments
 (0)