/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

  1. ; configuration for php suhosin module
  2. extension=suhosin.so
  3. ;;;;;;;;;;;;;;;;;;;
  4. ; Module Settings ;
  5. ;;;;;;;;;;;;;;;;;;;
  6. ; the following values are the internal default settings and set implicit
  7. ; feel free to modify to your needs
  8. ; documentation can be found at:
  9. ; http://www.hardened-php.net/suhosin/configuration.html
  10. [suhosin]
  11. ; Logging Configuration
  12. ;suhosin.log.syslog =
  13. ;suhosin.log.syslog.facility = 9
  14. ;suhosin.log.syslog.priority = 1
  15. ;suhosin.log.sapi =
  16. ;suhosin.log.script = 0
  17. ;suhosin.log.phpscript = 0
  18. ;suhosin.log.script.name =
  19. ;suhosin.log.phpscript.name =
  20. ;suhosin.log.use-x-forwarded-for = off
  21. ; Executor Options
  22. ;suhosin.executor.max_depth = 0
  23. ;suhosin.executor.include.max_traversal = 0
  24. ;suhosin.executor.include.whitelist =
  25. ;suhosin.executor.include.blacklist =
  26. ;suhosin.executor.include.allow_writable_files = on
  27. ;suhosin.executor.func.whitelist =
  28. ;suhosin.executor.func.blacklist =
  29. ;suhosin.executor.eval.whitelist =
  30. ;suhosin.executor.eval.blacklist =
  31. ;suhosin.executor.disable_eval = off
  32. ;suhosin.executor.disable_emodifier = off
  33. ;suhosin.executor.allow_symlink = off
  34. ; Misc Options
  35. ;suhosin.simulation = off
  36. ;suhosin.apc_bug_workaround = off
  37. ;suhosin.sql.bailout_on_error = off
  38. ;suhosin.sql.user_prefix =
  39. ;suhosin.sql.user_postfix =
  40. ;suhosin.multiheader = off
  41. ;suhosin.mail.protect = 0
  42. ;suhosin.memory_limit = 0
  43. ; Transparent Encryption Options
  44. ;suhosin.session.encrypt = on
  45. ;suhosin.session.cryptkey =
  46. ;suhosin.session.cryptua = on
  47. ;suhosin.session.cryptdocroot = on
  48. ;suhosin.session.cryptraddr = 0
  49. ;suhosin.session.checkraddr = 0
  50. ;suhosin.cookie.encrypt = on
  51. ;suhosin.cookie.cryptkey =
  52. ;suhosin.cookie.cryptua = on
  53. ;suhosin.cookie.cryptdocroot = on
  54. ;suhosin.cookie.cryptraddr = 0
  55. ;suhosin.cookie.checkraddr = 0
  56. ;suhosin.cookie.cryptlist =
  57. ;suhosin.cookie.plainlist =
  58. ; Randomness
  59. ;suhosin.srand.ignore = on
  60. ;suhosin.mt_srand.ignore = on
  61. ; Filtering Options
  62. ;suhosin.filter.action =
  63. ;suhosin.cookie.max_array_depth = 100
  64. ;suhosin.cookie.max_array_index_length = 64
  65. ;suhosin.cookie.max_name_length = 64
  66. ;suhosin.cookie.max_totalname_length = 256
  67. ;suhosin.cookie.max_value_length = 10000
  68. ;suhosin.cookie.max_vars = 100
  69. ;suhosin.cookie.disallow_nul = on
  70. ;suhosin.get.max_array_depth = 50
  71. ;suhosin.get.max_array_index_length = 64
  72. ;suhosin.get.max_name_length = 64
  73. ;suhosin.get.max_totalname_length = 256
  74. ;suhosin.get.max_value_length = 512
  75. ;suhosin.get.max_vars = 100
  76. ;suhosin.get.disallow_nul = on
  77. ;suhosin.post.max_array_depth = 100
  78. ;suhosin.post.max_array_index_length = 64
  79. ;suhosin.post.max_name_length = 64
  80. ;suhosin.post.max_totalname_length = 256
  81. ;suhosin.post.max_value_length = 1000000
  82. ;suhosin.post.max_vars = 1000
  83. ;suhosin.post.disallow_nul = on
  84. ;suhosin.request.max_array_depth = 100
  85. ;suhosin.request.max_array_index_length = 64
  86. ;suhosin.request.max_totalname_length = 256
  87. ;suhosin.request.max_value_length = 1000000
  88. ;suhosin.request.max_vars = 1000
  89. ;suhosin.request.max_varname_length = 64
  90. ;suhosin.request.disallow_nul = on
  91. ;suhosin.server.encode = on
  92. ;suhosin.server.strip = on
  93. ;suhosin.upload.max_uploads = 25
  94. ;suhosin.upload.disallow_elf = on
  95. ;suhosin.upload.disallow_binary = off
  96. ;suhosin.upload.remove_binary = off
  97. ;suhosin.upload.verification_script =
  98. ;suhosin.session.max_id_length = 128
  99. ;suhosin.coredump = off
  100. ;suhosin.protectkey = 1
  101. ;suhosin.stealth = 1
  102. ;suhosin.perdir = "0"