Binocode

PHP Suhosin config

by Pawel Barcik

As an addition to my previous post :

FastCGI php 5.3.6 compilation on Ubuntu 8.04

you have here a config settings for Suhosin which you can use as a base for further modifications:

[suhosin]

;suhosin.filter.action =
suhosin.cookie.max_array_depth = 100
suhosin.cookie.max_array_index_length = 32500
;suhosin.cookie.max_name_length = 64
;suhosin.cookie.max_totalname_length = 256
;suhosin.cookie.max_value_length = 10000
suhosin.cookie.max_vars = 5000
;suhosin.cookie.disallow_nul = on
suhosin.get.max_array_depth = 100
suhosin.get.max_array_index_length = 32500
;suhosin.get.max_name_length = 64
;suhosin.get.max_totalname_length = 256
suhosin.get.max_value_length = 512000
suhosin.get.max_vars = 5000
;suhosin.get.disallow_nul = on
suhosin.post.max_array_depth = 100
suhosin.post.max_array_index_length = 32500
;suhosin.post.max_name_length = 64
;suhosin.post.max_totalname_length = 256
suhosin.post.max_value_length = 512000
suhosin.post.max_vars = 5000
;suhosin.post.disallow_nul = on
suhosin.request.max_array_depth = 100
suhosin.request.max_array_index_length = 32500
;suhosin.request.max_totalname_length = 256
suhosin.request.max_value_length = 512000
suhosin.request.max_vars = 5000
;suhosin.request.max_varname_length = 64
;suhosin.request.disallow_nul = on
suhosin.upload.max_uploads = 25
;suhosin.upload.disallow_elf = on
;suhosin.upload.disallow_binary = off
;suhosin.upload.remove_binary = off
;suhosin.upload.verification_script =
;suhosin.session.max_id_length = 128

← Back to Overview

comments powered by Disqus