summaryrefslogtreecommitdiffstats
path: root/etc/rc.php_ini_setup
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2010-03-18 23:21:40 +0000
committerErmal <eri@pfsense.org>2010-03-18 23:21:40 +0000
commita8e6134661736af9c0492ea3a9800b6f0935092f (patch)
tree7f1c03ea8bcd89ab00faa0e59dda4a192bafcef1 /etc/rc.php_ini_setup
parent9ae9a7fcc2cdbe2cc1b5300d4b6e533a9e1781d1 (diff)
downloadpfsense-a8e6134661736af9c0492ea3a9800b6f0935092f.zip
pfsense-a8e6134661736af9c0492ea3a9800b6f0935092f.tar.gz
Fix editing large aliases. Suhosin patch has by default a limit of 64 variables.
Diffstat (limited to 'etc/rc.php_ini_setup')
-rwxr-xr-xetc/rc.php_ini_setup12
1 files changed, 12 insertions, 0 deletions
diff --git a/etc/rc.php_ini_setup b/etc/rc.php_ini_setup
index 91b337b..fd67a83 100755
--- a/etc/rc.php_ini_setup
+++ b/etc/rc.php_ini_setup
@@ -151,6 +151,7 @@ include_path = ".:/etc/inc:/usr/local/www:/usr/local/captiveportal:/usr/local/pk
extension_dir=${EXTENSIONSDIR}
; Extensions
+
EOF
# Ensure directory exists
@@ -194,6 +195,17 @@ apc.enabled="1"
apc.enable_cli="1"
apc.shm_size="${APCSHMEMSIZE}"
+[suhosin]
+suhosin.get.max_array_depth = 5000
+suhosin.get.max_array_index_length = 256
+suhosin.get.max_vars = 5000
+suhosin.post.max_array_depth = 5000
+suhosin.post.max_array_index_length = 256
+suhosin.post.max_vars = 5000
+suhosin.request.max_array_depth = 5000
+suhosin.request.max_array_index_length = 256
+suhosin.request.max_vars = 5000
+
EOF
else
OpenPOWER on IntegriCloud