summaryrefslogtreecommitdiff
path: root/php.ini-dist
diff options
context:
space:
mode:
authorSascha Schumann <sas@php.net>2002-10-03 06:52:23 +0000
committerSascha Schumann <sas@php.net>2002-10-03 06:52:23 +0000
commit4fbf3f77c083f4734d1f9a594c65974cb2ed12b0 (patch)
tree4e0e3ec28019fb57928a655d08fca19855b6fc47 /php.ini-dist
parent04b66595a73ba5b268c636241dbb9cbe05a2925d (diff)
downloadphp-git-4fbf3f77c083f4734d1f9a594c65974cb2ed12b0.tar.gz
move gc_maxlifetime one up
Diffstat (limited to 'php.ini-dist')
-rw-r--r--php.ini-dist14
1 files changed, 7 insertions, 7 deletions
diff --git a/php.ini-dist b/php.ini-dist
index cbe1103ade..e38c2fd812 100644
--- a/php.ini-dist
+++ b/php.ini-dist
@@ -801,6 +801,13 @@ session.serialize_handler = php
session.gc_probability = 1
session.gc_dividend = 100
+; After this number of seconds, stored data will be seen as 'garbage' and
+; cleaned up by the garbage collection process.
+; WARNING: Your filesystem must store access times. Windows FAT does
+; not. So, see session_set_save_handler() and write your own
+; session handler with a different mechanism for cleaning up sessions.
+session.gc_maxlifetime = 1440
+
; PHP 4.2 and less have an undocumented feature/bug that allows you to
; to initialize a session variable in the global scope, albeit register_globals
; is disabled. PHP 4.3 and later will warn you, if this feature is used.
@@ -810,13 +817,6 @@ session.gc_dividend = 100
session.bug_compat_42 = 1
session.bug_compat_warn = 1
-; After this number of seconds, stored data will be seen as 'garbage' and
-; cleaned up by the garbage collection process.
-; WARNING: Your filesystem must store access times. Windows FAT does
-; not. So, see session_set_save_handler() and write your own
-; session handler with a different mechanism for cleaning up sessions.
-session.gc_maxlifetime = 1440
-
; Check HTTP Referer to invalidate externally stored URLs containing ids.
; HTTP_REFERER has to contain this substring for the session to be
; considered as valid.