You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

134 lines
2.8 KiB

  1. [PHP]
  2. ;;;;;;;;;;;;;;;;;;;;
  3. ; Language Options ;
  4. ;;;;;;;;;;;;;;;;;;;;
  5. engine = On
  6. ;short_open_tag = Off
  7. precision = 12
  8. output_buffering = Off
  9. ;output_handler =
  10. zlib.output_compression = Off
  11. ;zlib.output_compression_level = -1
  12. ;zlib.output_handler =
  13. implicit_flush = Off
  14. unserialize_callback_func =
  15. ;unserialize_max_depth = 4096
  16. serialize_precision = 100
  17. ;open_basedir =
  18. disable_functions =
  19. disable_classes =
  20. ;highlight.string = #DD0000
  21. ;highlight.comment = #FF9900
  22. ;highlight.keyword = #007700
  23. ;highlight.default = #0000BB
  24. ;highlight.html = #000000
  25. ;ignore_user_abort = On
  26. ;realpath_cache_size = 16k
  27. ;realpath_cache_ttl = 120
  28. ;zend.enable_gc = On
  29. ;zend.multibyte = Off
  30. ;zend.script_encoding =
  31. ;zend.exception_ignore_args = On
  32. ;zend.exception_string_param_max_len = 0
  33. ;;;;;;;;;;;;;;;;;
  34. ; Miscellaneous ;
  35. ;;;;;;;;;;;;;;;;;
  36. expose_php = On
  37. ;;;;;;;;;;;;;;;;;;;
  38. ; Resource Limits ;
  39. ;;;;;;;;;;;;;;;;;;;
  40. max_execution_time = 30
  41. max_input_time = 60
  42. ;max_input_nesting_level = 64
  43. ;max_input_vars = 1000
  44. memory_limit = 8M
  45. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  46. ; Error handling and logging ;
  47. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
  48. error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED & ~E_STRICT
  49. display_errors = On
  50. display_startup_errors = Off
  51. log_errors = Off
  52. log_errors_max_len = 1024
  53. ignore_repeated_errors = Off
  54. ignore_repeated_source = Off
  55. report_memleaks = On
  56. ;report_zend_debug = 0
  57. track_errors = Off
  58. ;html_errors = Off
  59. ;docref_root = "/phpmanual/"
  60. ;docref_ext = .html
  61. ;error_prepend_string = "<span style='color: #ff0000'>"
  62. ;error_append_string = "</span>"
  63. ;error_log = syslog
  64. ;syslog.ident = php
  65. ;syslog.facility = user
  66. ;syslog.filter = ascii
  67. ;;;;;;;;;;;;;;;;;
  68. ; Data Handling ;
  69. ;;;;;;;;;;;;;;;;;
  70. ;arg_separator.output = "&amp;"
  71. ;arg_separator.input = ";&"
  72. variables_order = "EGPCS"
  73. request_order = "GP"
  74. register_argc_argv = On
  75. auto_globals_jit = On
  76. ;enable_post_data_reading = Off
  77. post_max_size = 8M
  78. auto_prepend_file =
  79. auto_append_file =
  80. default_mimetype = "text/html"
  81. ;default_charset = "UTF-8"
  82. ;internal_encoding =
  83. ;input_encoding =
  84. ;output_encoding =
  85. ;;;;;;;;;;;;;;;;;;;;;;;;;
  86. ; Paths and Directories ;
  87. ;;;;;;;;;;;;;;;;;;;;;;;;;
  88. ;include_path = ".:/php/includes"
  89. doc_root = "/www"
  90. user_dir =
  91. extension_dir = "/usr/lib/php8"
  92. ;sys_temp_dir = "/tmp"
  93. enable_dl = On
  94. ;cgi.force_redirect = 1
  95. ;cgi.nph = 1
  96. ;cgi.redirect_status_env =
  97. cgi.fix_pathinfo = 1
  98. ;cgi.discard_path = 1
  99. ;fastcgi.impersonate = 1
  100. ;fastcgi.logging = 0
  101. ;cgi.rfc2616_headers = 0
  102. ;cgi.check_shebang_line = 1
  103. ;;;;;;;;;;;;;;;;
  104. ; File Uploads ;
  105. ;;;;;;;;;;;;;;;;
  106. file_uploads = On
  107. upload_tmp_dir = "/tmp"
  108. upload_max_filesize = 2M
  109. max_file_uploads = 20
  110. ;;;;;;;;;;;;;;;;;;
  111. ; Fopen wrappers ;
  112. ;;;;;;;;;;;;;;;;;;
  113. allow_url_fopen = On
  114. allow_url_include = Off
  115. ;from = "john@doe.com"
  116. ;user_agent = "PHP"
  117. default_socket_timeout = 60
  118. ;auto_detect_line_endings = Off