Advertisement
digininja

php config for DVWA

Jul 15th, 2017
363
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.40 KB | None | 0 0
  1. [PHP]
  2. engine = On
  3. short_open_tag = Off
  4. precision = 14
  5. output_buffering = 4096
  6. zlib.output_compression = Off
  7. implicit_flush = Off
  8. unserialize_callback_func =
  9. serialize_precision = 17
  10. disable_functions = pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
  11. disable_classes =
  12. zend.enable_gc = On
  13. expose_php = Off
  14. max_execution_time = 30
  15. max_input_time = 60
  16. memory_limit = 128M
  17. error_reporting = E_ALL
  18. display_errors = On
  19. display_startup_errors = On
  20. log_errors = On
  21. log_errors_max_len = 1024
  22. ignore_repeated_errors = Off
  23. ignore_repeated_source = Off
  24. report_memleaks = On
  25. track_errors = Off
  26. html_errors = On
  27. variables_order = "GPCS"
  28. request_order = "GP"
  29. register_argc_argv = Off
  30. auto_globals_jit = On
  31. post_max_size = 8M
  32. auto_prepend_file =
  33. auto_append_file =
  34. default_mimetype = "text/html"
  35. default_charset = "UTF-8"
  36. doc_root =
  37. user_dir =
  38. enable_dl = Off
  39. file_uploads = On
  40. upload_max_filesize = 2M
  41. max_file_uploads = 20
  42. allow_url_fopen = On
  43. allow_url_include = On
  44. default_socket_timeout = 60
  45. [CLI Server]
  46. cli_server.color = On
  47. [Date]
  48. [filter]
  49. [iconv]
  50. [intl]
  51. [sqlite3]
  52. [Pcre]
  53. [Pdo]
  54. [Pdo_mysql]
  55. pdo_mysql.cache_size = 2000
  56. pdo_mysql.default_socket=
  57. [Phar]
  58. [mail function]
  59. SMTP = localhost
  60. smtp_port = 25
  61. mail.add_x_header = On
  62. [SQL]
  63. sql.safe_mode = Off
  64. [ODBC]
  65. odbc.allow_persistent = On
  66. odbc.check_persistent = On
  67. odbc.max_persistent = -1
  68. odbc.max_links = -1
  69. odbc.defaultlrl = 4096
  70. odbc.defaultbinmode = 1
  71. [Interbase]
  72. ibase.allow_persistent = 1
  73. ibase.max_persistent = -1
  74. ibase.max_links = -1
  75. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
  76. ibase.dateformat = "%Y-%m-%d"
  77. ibase.timeformat = "%H:%M:%S"
  78. [MySQLi]
  79. mysqli.max_persistent = -1
  80. mysqli.allow_persistent = On
  81. mysqli.max_links = -1
  82. mysqli.cache_size = 2000
  83. mysqli.default_port = 3306
  84. mysqli.default_socket =
  85. mysqli.default_host =
  86. mysqli.default_user =
  87. mysqli.default_pw =
  88. mysqli.reconnect = Off
  89. [mysqlnd]
  90. mysqlnd.collect_statistics = On
  91. mysqlnd.collect_memory_statistics = Off
  92. [OCI8]
  93. [PostgreSQL]
  94. pgsql.allow_persistent = On
  95. pgsql.auto_reset_persistent = Off
  96. pgsql.max_persistent = -1
  97. pgsql.max_links = -1
  98. pgsql.ignore_notice = 0
  99. pgsql.log_notice = 0
  100. [bcmath]
  101. bcmath.scale = 0
  102. [browscap]
  103. [Session]
  104. session.save_handler = files
  105. session.use_strict_mode = 0
  106. session.use_cookies = 1
  107. session.use_only_cookies = 1
  108. session.name = PHPSESSID
  109. session.auto_start = 0
  110. session.cookie_lifetime = 0
  111. session.cookie_path = /
  112. session.cookie_domain =
  113. session.cookie_httponly =
  114. session.serialize_handler = php
  115. session.gc_probability = 0
  116. session.gc_divisor = 1000
  117. session.gc_maxlifetime = 1440
  118. session.referer_check =
  119. session.cache_limiter = nocache
  120. session.cache_expire = 180
  121. session.use_trans_sid = 0
  122. session.hash_function = 0
  123. session.hash_bits_per_character = 5
  124. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
  125. [Assertion]
  126. zend.assertions = -1
  127. [COM]
  128. [mbstring]
  129. [gd]
  130. [exif]
  131. [Tidy]
  132. tidy.clean_output = Off
  133. [soap]
  134. soap.wsdl_cache_enabled=1
  135. soap.wsdl_cache_dir="/tmp"
  136. soap.wsdl_cache_ttl=86400
  137. soap.wsdl_cache_limit = 5
  138. [sysvshm]
  139. [ldap]
  140. ldap.max_links = -1
  141. [mcrypt]
  142. [dba]
  143. [opcache]
  144. [curl]
  145. [openssl]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement