summaryrefslogtreecommitdiff
path: root/php.ini-production
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>2010-03-31 18:03:17 (GMT)
committerRasmus Lerdorf <rasmus@php.net>2010-03-31 18:03:17 (GMT)
commit9692a3619c8def5f558fabb7b89284e199616587 (patch)
tree94f9340de073d08093bf2af881300b7d849c7372 /php.ini-production
parente0f91992c0a416f5bcb13af5b236faefdbc778f2 (diff)
downloadphp-9692a3619c8def5f558fabb7b89284e199616587.tar.gz
Set session.entropy_file to /dev/urandom or /dev/arandom by
default if present at compile-time. Addresses part of bug #51436
Diffstat (limited to 'php.ini-production')
-rw-r--r--php.ini-production11
1 files changed, 5 insertions, 6 deletions
diff --git a/php.ini-production b/php.ini-production
index 793f67e..448be26 100644
--- a/php.ini-production
+++ b/php.ini-production
@@ -1588,17 +1588,16 @@ session.bug_compat_warn = Off
; http://php.net/session.referer-check
session.referer_check =
-; How many bytes to read from the file.
-; http://php.net/session.entropy-length
-session.entropy_length = 0
-
; Specified here to create the session id.
; http://php.net/session.entropy-file
+; Defaults to /dev/urandom
+; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
+; If neither are found at compile time, the default is no entropy file.
;session.entropy_file = /dev/urandom
-session.entropy_file =
; http://php.net/session.entropy-length
-;session.entropy_length = 16
+; defaults to 32
+;session.entropy_length = 32
; Set to {nocache,private,public,} to determine HTTP caching aspects
; or leave this empty to avoid sending anti-caching headers.