/php5/conf.d/suhosin.ini
http://github.com/brinkman83/bashrc · INI · 109 lines · 2 code · 7 blank · 100 comment · 0 complexity · ea360353fede8a47b5637e161506b256 MD5 · raw file
- ; configuration for php suhosin module
- extension=suhosin.so
- ;;;;;;;;;;;;;;;;;;;
- ; Module Settings ;
- ;;;;;;;;;;;;;;;;;;;
- ; the following values are the internal default settings and set implicit
- ; feel free to modify to your needs
- ; documentation can be found at:
- ; http://www.hardened-php.net/suhosin/configuration.html
- [suhosin]
- ; Logging Configuration
- ;suhosin.log.syslog =
- ;suhosin.log.syslog.facility = 9
- ;suhosin.log.syslog.priority = 1
- ;suhosin.log.sapi =
- ;suhosin.log.script = 0
- ;suhosin.log.phpscript = 0
- ;suhosin.log.script.name =
- ;suhosin.log.phpscript.name =
- ;suhosin.log.use-x-forwarded-for = off
- ; Executor Options
- ;suhosin.executor.max_depth = 0
- ;suhosin.executor.include.max_traversal = 0
- ;suhosin.executor.include.whitelist =
- ;suhosin.executor.include.blacklist =
- ;suhosin.executor.include.allow_writable_files = on
- ;suhosin.executor.func.whitelist =
- ;suhosin.executor.func.blacklist =
- ;suhosin.executor.eval.whitelist =
- ;suhosin.executor.eval.blacklist =
- ;suhosin.executor.disable_eval = off
- ;suhosin.executor.disable_emodifier = off
- ;suhosin.executor.allow_symlink = off
- ; Misc Options
- ;suhosin.simulation = off
- ;suhosin.apc_bug_workaround = off
- ;suhosin.sql.bailout_on_error = off
- ;suhosin.sql.user_prefix =
- ;suhosin.sql.user_postfix =
- ;suhosin.multiheader = off
- ;suhosin.mail.protect = 0
- ;suhosin.memory_limit = 0
- ; Transparent Encryption Options
- ;suhosin.session.encrypt = on
- ;suhosin.session.cryptkey =
- ;suhosin.session.cryptua = on
- ;suhosin.session.cryptdocroot = on
- ;suhosin.session.cryptraddr = 0
- ;suhosin.session.checkraddr = 0
- ;suhosin.cookie.encrypt = on
- ;suhosin.cookie.cryptkey =
- ;suhosin.cookie.cryptua = on
- ;suhosin.cookie.cryptdocroot = on
- ;suhosin.cookie.cryptraddr = 0
- ;suhosin.cookie.checkraddr = 0
- ;suhosin.cookie.cryptlist =
- ;suhosin.cookie.plainlist =
- ; Randomness
- ;suhosin.srand.ignore = on
- ;suhosin.mt_srand.ignore = on
- ; Filtering Options
- ;suhosin.filter.action =
- ;suhosin.cookie.max_array_depth = 100
- ;suhosin.cookie.max_array_index_length = 64
- ;suhosin.cookie.max_name_length = 64
- ;suhosin.cookie.max_totalname_length = 256
- ;suhosin.cookie.max_value_length = 10000
- ;suhosin.cookie.max_vars = 100
- ;suhosin.cookie.disallow_nul = on
- ;suhosin.get.max_array_depth = 50
- ;suhosin.get.max_array_index_length = 64
- ;suhosin.get.max_name_length = 64
- ;suhosin.get.max_totalname_length = 256
- ;suhosin.get.max_value_length = 512
- ;suhosin.get.max_vars = 100
- ;suhosin.get.disallow_nul = on
- ;suhosin.post.max_array_depth = 100
- ;suhosin.post.max_array_index_length = 64
- ;suhosin.post.max_name_length = 64
- ;suhosin.post.max_totalname_length = 256
- ;suhosin.post.max_value_length = 1000000
- ;suhosin.post.max_vars = 1000
- ;suhosin.post.disallow_nul = on
- ;suhosin.request.max_array_depth = 100
- ;suhosin.request.max_array_index_length = 64
- ;suhosin.request.max_totalname_length = 256
- ;suhosin.request.max_value_length = 1000000
- ;suhosin.request.max_vars = 1000
- ;suhosin.request.max_varname_length = 64
- ;suhosin.request.disallow_nul = on
- ;suhosin.server.encode = on
- ;suhosin.server.strip = 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
- ;suhosin.coredump = off
- ;suhosin.protectkey = 1
- ;suhosin.stealth = 1
- ;suhosin.perdir = "0"