summaryrefslogtreecommitdiffstats
path: root/src/etc
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2016-01-08 08:24:11 -0200
committerRenato Botelho <renato@netgate.com>2016-01-08 08:24:11 -0200
commitac64c53429bb582427a4d7348b501ff13085cc39 (patch)
treedeec0b9cb4700dae742d0f418808b2e964d584af /src/etc
parent641ff348e58d55e8e12ae790429e4a22ac1e5e8b (diff)
parent3e582e4fd4c2bcc8a0dbfc5a45f4beecb2c55f82 (diff)
downloadpfsense-ac64c53429bb582427a4d7348b501ff13085cc39.zip
pfsense-ac64c53429bb582427a4d7348b501ff13085cc39.tar.gz
Merge pull request #2380 from NewEraCracker/php-standards
Diffstat (limited to 'src/etc')
-rwxr-xr-xsrc/etc/rc.php_ini_setup5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/etc/rc.php_ini_setup b/src/etc/rc.php_ini_setup
index ca2e3dd..c0b37c8 100755
--- a/src/etc/rc.php_ini_setup
+++ b/src/etc/rc.php_ini_setup
@@ -199,6 +199,8 @@ log_errors=on
error_log=/tmp/PHP_errors.log
extension_dir=${EXTENSIONSDIR}
date.timezone="${TIMEZONE}"
+session.hash_bits_per_character = 5
+session.hash_function = 1
; Extensions
@@ -250,15 +252,12 @@ fi
/bin/cat >>/usr/local/etc/php.ini <<EOF
[suhosin]
-suhosin.get.max_array_depth = 5000
suhosin.get.max_array_index_length = 256
suhosin.get.max_vars = 5000
suhosin.get.max_value_length = 500000
-suhosin.post.max_array_depth = 5000
suhosin.post.max_array_index_length = 256
suhosin.post.max_vars = 5000
suhosin.post.max_value_length = 500000
-suhosin.request.max_array_depth = 5000
suhosin.request.max_array_index_length = 256
suhosin.request.max_vars = 5000
suhosin.request.max_value_length = 500000
OpenPOWER on IntegriCloud