diff options
| -rw-r--r-- | php.ini-dist | 7 | ||||
| -rw-r--r-- | php.ini-recommended | 7 |
2 files changed, 14 insertions, 0 deletions
diff --git a/php.ini-dist b/php.ini-dist index 6eb84a7dd5..f4d0b6b710 100644 --- a/php.ini-dist +++ b/php.ini-dist @@ -117,6 +117,13 @@ implicit_flush = Off ; reference). allow_call_time_pass_reference = On +; Default random number generator. Specify here which random number generator +; you want to use for the PHP-rand() function. Usually MT (Mersenne Twister, +; see http://www.php.net/manual/en/function.mt-rand.php) is the best choice. +; It is thread-safe, fast, and, quite important, mod and divide-free. +; Possible values are 'system', 'mt' and 'lcg' +random_number_generator = mt + ; ; Safe Mode diff --git a/php.ini-recommended b/php.ini-recommended index ff7b1de373..a38e410f31 100644 --- a/php.ini-recommended +++ b/php.ini-recommended @@ -130,6 +130,13 @@ implicit_flush = Off ; reference). allow_call_time_pass_reference = Off +; Default random number generator. Specify here which random number generator +; you want to use for the PHP-rand() function. Usually MT (Mersenne Twister, +; see http://www.php.net/manual/en/function.mt-rand.php) is the best choice. +; It is thread-safe, fast, and, quite important, mod and divide-free. +; Possible values are 'system', 'mt' and 'lcg' +random_number_generator = mt + ; ; Safe Mode |
