Advertisement
Guest User

Untitled

a guest
Jun 28th, 2016
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.40 KB | None | 0 0
  1. [PHP]
  2.  
  3. zend.ze1_compatibility_mode = Off
  4.  
  5. ; Language Options
  6. safe_mode = Off
  7. engine = On
  8. ;short_open_tag = Off
  9. precision = 12
  10. y2k_compliance = On
  11. output_buffering = Off
  12. ;output_handler =
  13. zlib.output_compression = On
  14. ;zlib.output_compression_level = -1
  15. ;zlib.output_handler =
  16. implicit_flush = Off
  17. unserialize_callback_func =
  18. serialize_precision = 100
  19.  
  20. ;open_basedir =
  21. disable_functions =
  22. disable_classes =
  23.  
  24. ; Colors for Syntax Highlighting mode. Anything that's acceptable in
  25. ; <span style="color: ???????"> would work.
  26. ;highlight.string = #DD0000
  27. ;highlight.comment = #FF9900
  28. ;highlight.keyword = #007700
  29. ;highlight.bg = #FFFFFF
  30. ;highlight.default = #0000BB
  31. ;highlight.html = #000000
  32.  
  33. ;ignore_user_abort = On
  34. ;realpath_cache_size = 16k
  35. ;realpath_cache_ttl = 120
  36.  
  37. ; Miscellaneous
  38.  
  39. expose_php = On
  40.  
  41. ; Resource Limits
  42.  
  43. max_execution_time = 200 ; Maximum execution time of each script, in seconds.
  44. max_input_time = 60 ; Maximum amount of time each script may spend parsing request data.
  45. ;max_input_nesting_level = 64
  46. memory_limit = 20M ; Maximum amount of memory a script may consume.
  47.  
  48. ; Error handling and logging
  49.  
  50. ; Error Level Constants:
  51. ; E_ALL - All errors and warnings (includes E_STRICT as of PHP 6.0.0)
  52. ; E_ERROR - fatal run-time errors
  53. ; E_RECOVERABLE_ERROR - almost fatal run-time errors
  54. ; E_WARNING - run-time warnings (non-fatal errors)
  55. ; E_PARSE - compile-time parse errors
  56. ; E_NOTICE - run-time notices (these are warnings which often result
  57. ; from a bug in your code, but it's possible that it was
  58. ; intentional (e.g., using an uninitialized variable and
  59. ; relying on the fact it's automatically initialized to an
  60. ; empty string)
  61. ; E_STRICT - run-time notices, enable to have PHP suggest changes
  62. ; to your code which will ensure the best interoperability
  63. ; and forward compatibility of your code
  64. ; E_CORE_ERROR - fatal errors that occur during PHP's initial startup
  65. ; E_CORE_WARNING - warnings (non-fatal errors) that occur during PHP's
  66. ; initial startup
  67. ; E_COMPILE_ERROR - fatal compile-time errors
  68. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
  69. ; E_USER_ERROR - user-generated error message
  70. ; E_USER_WARNING - user-generated warning message
  71. ; E_USER_NOTICE - user-generated notice message
  72. ; E_DEPRECATED - warn about code that will not work in future versions
  73. ; of PHP
  74. ; E_USER_DEPRECATED - user-generated deprecation warnings
  75. ;
  76. ; Common Values:
  77. ; E_ALL & ~E_NOTICE (Show all errors, except for notices and coding standards warnings.)
  78. ; E_ALL & ~E_NOTICE | E_STRICT (Show all errors, except for notices)
  79. ; E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR (Show only errors)
  80. ; E_ALL | E_STRICT (Show all errors, warnings and notices including coding standards.)
  81. ; Default Value: E_ALL & ~E_NOTICE
  82. error_reporting = E_ALL | E_STRICT
  83.  
  84. display_errors = On
  85. display_startup_errors = On
  86. log_errors = On
  87. log_errors_max_len = 0
  88. ignore_repeated_errors = Off
  89. ignore_repeated_source = Off
  90. report_memleaks = On
  91. ;report_zend_debug = 0
  92. track_errors = On
  93. html_errors = On
  94. ;docref_root = "/phpmanual/"
  95. ;docref_ext = .html
  96. ;error_prepend_string = "<font color=#ff0000>"
  97. ;error_append_string = "</font>"
  98. ; Log errors to specified file.
  99. error_log = /home/data/logs/error_php.log
  100. ; Log errors to syslog.
  101. error_log = syslog
  102.  
  103. ; Data Handling
  104.  
  105. ;arg_separator.output = "&amp;"
  106. ;arg_separator.input = ";&"
  107. variables_order = "EGPCS"
  108. request_order = "GP"
  109. register_globals = Off
  110. register_long_arrays = Off
  111. register_argc_argv = On
  112. auto_globals_jit = On
  113. post_max_size = 40M
  114. ;magic_quotes_gpc = Off
  115. magic_quotes_runtime = Off
  116. magic_quotes_sybase = Off
  117. auto_prepend_file =
  118. auto_append_file =
  119. default_mimetype = "text/html"
  120. ;default_charset = "iso-8859-1"
  121. ;always_populate_raw_post_data = On
  122.  
  123. ; Paths and Directories
  124.  
  125. ; UNIX: "/path1:/path2"
  126. ;include_path = ".:/php/includes"
  127. doc_root = "/home/www"
  128. user_dir =
  129. extension_dir = "/usr/lib/php"
  130. enable_dl = On
  131. cgi.force_redirect = 1
  132. ;cgi.nph = 1
  133. cgi.redirect_status_env = "yes";
  134. cgi.fix_pathinfo=0
  135. ;fastcgi.impersonate = 1;
  136. fastcgi.logging = 1
  137. ;cgi.rfc2616_headers = 0
  138.  
  139. ; File Uploads
  140.  
  141. file_uploads = Off
  142. upload_tmp_dir = "/home/data/tmp"
  143. upload_max_filesize = 2M
  144. max_file_uploads = 20
  145.  
  146. ; Fopen wrappers
  147.  
  148. allow_url_fopen = On
  149. allow_url_include = Off
  150. ;from="john@doe.com"
  151. ;user_agent="PHP"
  152. default_socket_timeout = 60
  153. ;auto_detect_line_endings = Off
  154.  
  155. [APC]
  156. apc.enabled = 0
  157. apc.shm_segments = 16 ;The number of shared memory segments to allocate for the compiler cache.
  158. apc.shm_size = 0.9M ;The size of each shared memory segment.
  159. apc.ttl=3600
  160. apc.user_ttl=7200
  161. apc.gc_ttl=3600
  162. apc.max_file_size=1M
  163. apc.stat=0
  164. apc.shm_strings_buffer=1M
  165.  
  166. [Date]
  167. date.timezone = Europe/Moscow
  168.  
  169. pdo_mysql.cache_size = 2000
  170. pdo_mysql.default_socket=
  171.  
  172. [MySQL]
  173. mysqli.allow_local_infile = On
  174. mysqli.allow_persistent = On
  175. mysqli.cache_size = 2000
  176. mysqli.max_persistent = -1
  177. mysqli.max_links = -1
  178. mysqli.default_port = 3306
  179. mysqli.default_socket = /tmp/run/mysqld.sock
  180. mysqli.default_host = localhost
  181. mysqli.default_user =
  182. mysqli.default_password =
  183. mysqli.connect_timeout = 180
  184. mysqli.connect_timeout = 180
  185. mysqli.trace_mode = Off
  186.  
  187. [Session]
  188. session.save_handler = files
  189. session.save_path = "/home/data/tmp"
  190. session.use_cookies = 1
  191. ;session.cookie_secure =
  192. session.use_only_cookies = 1
  193. session.name = PHPSESSID
  194. session.auto_start = 0
  195. session.cookie_lifetime = 0
  196. session.cookie_path = /
  197. session.cookie_domain =
  198. session.cookie_httponly =
  199. session.serialize_handler = php
  200. session.gc_probability = 1
  201. session.gc_divisor = 100
  202. session.gc_maxlifetime = 120
  203. session.bug_compat_42 = On
  204. session.bug_compat_warn = On
  205. session.referer_check =
  206. session.entropy_length = 0
  207. ;session.entropy_file = /dev/urandom
  208. session.entropy_file =
  209. ;session.entropy_length = 16
  210. session.cache_limiter = private
  211. session.cache_expire = 120
  212. session.use_trans_sid = 0
  213. session.hash_function = 1
  214. session.hash_bits_per_character = 4
  215. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="
  216.  
  217. [soap]
  218. soap.wsdl_cache_enabled=0
  219. soap.wsdl_cache_dir="/home/data/tmp/"
  220. soap.wsdl_cache=3
  221. soap.wsdl_cache_ttl=84000
  222. soap.wsdl_cache_limit =15
  223.  
  224. [ldap]
  225. ldap.max_links = -1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement