summaryrefslogtreecommitdiff
path: root/php.ini-development
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>2010-03-31 18:03:17 +0000
committerRasmus Lerdorf <rasmus@php.net>2010-03-31 18:03:17 +0000
commit9692a3619c8def5f558fabb7b89284e199616587 (patch)
tree94f9340de073d08093bf2af881300b7d849c7372 /php.ini-development
parente0f91992c0a416f5bcb13af5b236faefdbc778f2 (diff)
downloadphp-git-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-development')
-rw-r--r--php.ini-development9
1 files changed, 6 insertions, 3 deletions
diff --git a/php.ini-development b/php.ini-development
index 7e304461c5..123187350d 100644
--- a/php.ini-development
+++ b/php.ini-development
@@ -1582,15 +1582,18 @@ session.referer_check =
; How many bytes to read from the file.
; http://php.net/session.entropy-length
-session.entropy_length = 0
+;session.entropy_length = 32
; 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.