cvs: php4 / php.ini-dist
| From: | Sascha Schumann | Date: | Thu, 03 Oct 2002 06:49:33 +0000 |
| Subject: | cvs: php4 / php.ini-dist | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-14441@lists.php.net to get a copy of this message | ||
sas Thu Oct 3 02:49:33 2002 EDT
Modified files:
/php4 php.ini-dist
Log:
Add new session options
Index: php4/php.ini-dist
diff -u php4/php.ini-dist:1.159 php4/php.ini-dist:1.160
--- php4/php.ini-dist:1.159 Wed Sep 25 19:36:27 2002
+++ php4/php.ini-dist Thu Oct 3 02:49:33 2002
@@ -793,9 +793,22 @@
; Handler used to serialize data. php is the standard serializer of PHP.
session.serialize_handler = php
-; Percentual probability that the 'garbage collection' process is started
+; Define the probability that the 'garbage collection' process is started
; on every session initialization.
+; The probability is calculated by using gc_probability/gc_dividend,
+; e.g. 1/100 means 1%.
+
session.gc_probability = 1
+session.gc_dividend = 100
+
+; 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.
+; You can disable the feature and the warning seperately. At this time,
+; the warning is only displayed, if bug_compat_42 is enabled.
+
+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.