分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0& V% f' G( Z+ V' q
. M) T3 k% q& g  c3 D- ]& J
  1. [PHP]
    " P& _; T; H- Q+ y) u5 j

  2. 8 l, L8 v6 D7 ?) K  s
  3. ;;;;;;;;;;;;;;;;;;;" O' U: Z% C0 V4 U8 F1 _# m/ N
  4. ; About php.ini   ;
    # A' S- h! I8 @3 V) h. _
  5. ;;;;;;;;;;;;;;;;;;;
    - y5 t# E4 E1 O/ B9 M8 n+ a. V
  6. ; PHP's initialization file, generally called php.ini, is responsible for. g, M/ h* e! x! v% C
  7. ; configuring many of the aspects of PHP's behavior.
    $ P, _, B4 a# {9 G/ d' V, i$ c

  8. - Z7 e! Q, K' Q/ u8 {! r
  9. ; PHP attempts to find and load this configuration from a number of locations.
    * ?4 s0 k( L8 Y  B4 K& M
  10. ; The following is a summary of its search order:8 G, Q8 y2 |5 U2 D4 G4 l) m7 R5 S
  11. ; 1. SAPI module specific location.7 @% R5 o7 e# o1 \
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)" q& }5 I9 |, @( t: y; N6 S
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    % O: f4 ]) I- ?# ]
  14. ; 4. Current working directory (except CLI)
    5 z6 i9 Q% H6 `  e7 {
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    + B$ y2 r8 ?' L: Y
  16. ; (otherwise in Windows)
    & ]* T, M4 F/ g
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    # g( }1 o& ?8 w% l3 H! j
  18. ; Windows directory (C:\windows or C:\winnt)
    , S# g& l' z. _% X: ]
  19. ; See the PHP docs for more specific information.
    5 |" S$ I1 Z& L8 J% z; N' P
  20. ; http://php.net/configuration.file
    # u$ B& k1 Y9 m- |6 _$ \1 w& X4 E

  21. , L9 _  c+ |1 W6 y6 K1 u0 R
  22. ; The syntax of the file is extremely simple.  Whitespace and lines9 C: D, e) V/ Q+ S  [
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    - }2 W: J) d( f# v; i7 `5 |
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    4 \. J! k! V( e; U6 L/ b( r
  25. ; they might mean something in the future.  Y3 {3 r$ M+ ^  F( V
  26. ( q5 `  U5 F8 ?+ i$ |- D) v
  27. ; Directives following the section heading [PATH=/www/mysite] only4 C, K. q8 O9 C& M% ?
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    " H& p/ z, {& v3 A! f+ h
  29. ; following the section heading [HOST=www.example.com] only apply to7 _7 H; Y7 l& b* O
  30. ; PHP files served from www.example.com.  Directives set in these
    % J( T7 J& P; b  s$ A
  31. ; special sections cannot be overridden by user-defined INI files or
    % c: U* m, Z* Y! I' U1 z( h3 N. e
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under* U5 w" G- c9 H* i: s2 d  ~
  33. ; CGI/FastCGI.) J/ n; ~6 ^0 s9 _7 E$ s
  34. ; http://php.net/ini.sections7 F  N0 o  g! h0 g! X# a( X' R
  35. # i: y* h" m2 o- T+ Z8 U
  36. ; Directives are specified using the following syntax:
    $ o9 |' V* y/ Y4 m
  37. ; directive = value  k. R1 X: R5 p7 w& O" K1 m
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.! P* K( S5 F4 I* P% ^9 D
  39. ; Directives are variables used to configure PHP or PHP extensions.
    0 z/ T# D1 k7 U, n
  40. ; There is no name validation.  If PHP can't find an expected
      K) ^% {# P  d+ g
  41. ; directive because it is not set or is mistyped, a default value will be used.+ E, J! a0 f# z% a4 ^) ]1 o6 e, \" T

  42. 4 r$ V& W% w  x; e
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    0 M' |, K. `  O* L
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    / a/ J* \6 f: E. c  ?
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    2 ~' z4 L) M" @% ~( }
  46. ; previously set variable or directive (e.g. ${foo})3 i9 J9 w/ A  q  G

  47. 8 x5 q$ u: F  L4 V1 ^& e6 h! r
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    4 |% |0 L, n8 B. K* h# n
  49. ; |  bitwise OR* S' q0 i" j2 Q' Q- q7 i
  50. ; ^  bitwise XOR
    8 I  n& |; L, r1 Y0 ]; j
  51. ; &  bitwise AND# T1 R  q. D) A" X  U( B
  52. ; ~  bitwise NOT, P+ h  T$ Y5 Q* f. l
  53. ; !  boolean NOT
    5 v9 m* ~& J. J; c. i$ Y
  54. 6 W2 e: D4 K  Y3 d- ]% i
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    6 A9 ~/ T) E3 T
  56. ; They can be turned off using the values 0, Off, False or No.
    1 }8 N( z! T* d4 o; Z* g

  57. ; X" {5 O" C$ W! ?  L+ m) @
  58. ; An empty string can be denoted by simply not writing anything after the equal
    ' {% c; }9 e3 a# i7 w0 \
  59. ; sign, or by using the None keyword:, L. |$ _( @/ n9 B/ j
  60. 9 q+ U; x- W/ s7 l; Y% Q! D7 i
  61. ;  foo =         ; sets foo to an empty string
    8 J3 M( B% d$ H8 w3 o
  62. ;  foo = None    ; sets foo to an empty string
    / N  y& r$ t$ m! h4 ~0 t# C% X
  63. ;  foo = "None"  ; sets foo to the string 'None'0 x7 P+ Z5 X+ p7 T3 C# S+ A! I7 t. U
  64. 3 }0 g4 ]2 \" G6 z1 @
  65. ; If you use constants in your value, and these constants belong to a6 b5 b  N, p0 |
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    ( r" U( n( t' a% P" H
  67. ; you may only use these constants *after* the line that loads the extension.
    4 h- o& I3 d% e, x% e2 Z9 m  ?4 C

  68. 3 R, _  V: x% p# Q6 k7 K8 Q
  69. ;;;;;;;;;;;;;;;;;;;& _. [- i* K+ n$ K5 J
  70. ; About this file ;
    8 N) r6 k$ r- f. K' k5 m
  71. ;;;;;;;;;;;;;;;;;;;
    " [& K" h' |: @/ Y/ K# D
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    7 W' T, y; Z7 U" y( [9 B
  73. ; in production environments and one that is recommended to be used in
    0 @$ V. t" d5 ^: h
  74. ; development environments." k2 ~$ m% Q- w$ a0 f; V+ [

  75. , z% |# r' A9 |* Q3 ~% z
  76. ; php.ini-production contains settings which hold security, performance and
    / x' ?  Z9 R& P1 Q
  77. ; best practices at its core. But please be aware, these settings may break
    * Z1 ]+ ?% C4 u4 N
  78. ; compatibility with older or less security conscience applications. We' A5 l6 b) g4 O  F5 F6 g
  79. ; recommending using the production ini in production and testing environments.
    ! l, C; i' N, h1 P" E

  80. " X) Z! S( T' y4 G1 A2 o3 Q
  81. ; php.ini-development is very similar to its production variant, except it is
    & A! U7 e5 u7 x$ u
  82. ; much more verbose when it comes to errors. We recommend using the
    3 \  F# ~& h4 g. g. P
  83. ; development version only in development environments, as errors shown to
    - V+ I3 ?5 g- Q: d9 j, |1 s4 I" y
  84. ; application users can inadvertently leak otherwise secure information.- U' e- R# Y$ O, _  ?+ \2 r+ _

  85. + e' ~+ [4 b' r! z+ J2 y: D
  86. ; This is php.ini-production INI file.$ a4 j: a4 ^3 U0 k4 |; b% W

  87. ! M6 G( h' t5 W. ^( o
  88. ;;;;;;;;;;;;;;;;;;;4 D6 x' w+ v' }1 ]$ O* t
  89. ; Quick Reference ;
    7 G  q; ^0 z. ]
  90. ;;;;;;;;;;;;;;;;;;;9 ^. N8 ?! s8 ~5 g
  91. ; The following are all the settings which are different in either the production
    $ Q: T$ Y! o' w. A% ^- M2 h
  92. ; or development versions of the INIs with respect to PHP's default behavior.5 H1 K9 s) J; ?# y9 q7 @, b1 C
  93. ; Please see the actual settings later in the document for more details as to why
    % m& F* I8 v9 K( ~
  94. ; we recommend these changes in PHP's behavior.- S1 A( s! n* v" ]$ t5 ~; e) _

  95. 9 q2 c4 X8 l. [. w$ C0 q
  96. ; display_errors
    , O( ?- q% P2 k. p
  97. ;   Default Value: On$ B' t7 ]6 P) N  `2 \$ R0 ~2 `( V
  98. ;   Development Value: On
    ) ^: }+ N4 ^1 h, X
  99. ;   Production Value: Off
    $ B9 \- A5 R4 C( s% w

  100. ' d, J$ L) f) C7 ?3 I
  101. ; display_startup_errors
    - Q; Y! M2 z. o3 P1 l) u
  102. ;   Default Value: Off- k% J/ l3 \+ Z8 }% O2 o2 J
  103. ;   Development Value: On6 n* T6 ?" D5 z0 r7 U7 [) \
  104. ;   Production Value: Off6 S/ n# W3 U! R4 @) W8 J- B

  105. / ?6 Z; l/ v- b* L6 a0 u+ Q
  106. ; error_reporting
    & r9 y0 R0 P! Q) d, E# Q4 J% d
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED$ i9 ]) L2 z: C7 c1 m  f' K
  108. ;   Development Value: E_ALL8 w$ t& S  v; V
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    2 k! a/ _2 }: q1 G- R
  110. ( i0 ^9 O0 h$ o  b
  111. ; html_errors8 c" S) f6 N3 t* g9 E% Y7 e) D
  112. ;   Default Value: On6 ~- J$ K" K' M* @
  113. ;   Development Value: On/ n" _, w9 ^. k0 h$ B
  114. ;   Production value: On8 [0 m4 C2 J4 W2 u; w

  115. 0 L7 d1 }2 ^( q2 [2 I
  116. ; log_errors. i4 P  l/ V+ j0 S. c
  117. ;   Default Value: Off
    # Z( A  }- H" u6 y# L( y# Y
  118. ;   Development Value: On; K+ z3 Z1 Y  r& C; M, x. a1 X
  119. ;   Production Value: On4 C, L% c# {8 ~9 y+ j$ [
  120. 6 O9 G. O& _  n0 \! z9 M9 x* c
  121. ; max_input_time: h# _4 h+ p% X, v
  122. ;   Default Value: -1 (Unlimited)
    " ^2 N9 u: A0 S0 e0 ]. ?' U
  123. ;   Development Value: 60 (60 seconds)+ x) U$ n+ L, w1 U# E. w
  124. ;   Production Value: 60 (60 seconds)
    9 [0 q" G+ A3 N$ z
  125.   M2 q" m/ k$ P- z/ g& d3 r- O. l; [
  126. ; output_buffering
    $ ?' B% y! n! {
  127. ;   Default Value: Off
    - s' Y# ?8 K! f3 N' J& h
  128. ;   Development Value: 4096* d( A" `  M5 a6 j
  129. ;   Production Value: 4096+ s, N# Z8 _: G3 f# E

  130. * [& g  v) j( Z3 P0 N7 O
  131. ; register_argc_argv
    / k' ?4 k% ], ]3 A; n6 v
  132. ;   Default Value: On' y0 C) W) }- B. F9 H
  133. ;   Development Value: Off$ A4 o3 `- T7 S4 W8 h
  134. ;   Production Value: Off
    9 a1 E% ?/ V' T8 @
  135. / ^- A- g: U0 O. y' G# ?: k
  136. ; request_order) H3 A$ w9 W/ |1 t% \7 D
  137. ;   Default Value: None
    2 f* S& j* m" z/ P* o8 o
  138. ;   Development Value: "GP"/ ]6 h' ~7 W/ Q. q% z) S: S
  139. ;   Production Value: "GP": y( @  d, i/ W/ h

  140. 7 b7 M  D* z% [5 z" R: \3 R
  141. ; session.gc_divisor
    / y# Q) K9 J  I7 ~& H: B1 r
  142. ;   Default Value: 100
    + w0 z: V$ F7 f) K* b7 x% O
  143. ;   Development Value: 1000' u, P) q4 P% w
  144. ;   Production Value: 1000
    8 R) r1 v, S0 }5 U1 B) y5 G
  145. # k& D% _% ~& P
  146. ; session.hash_bits_per_character
    ( O9 d" Z3 w- Z$ e' D
  147. ;   Default Value: 4
    ; }- E9 e9 C4 ]2 ]1 d) ?" }
  148. ;   Development Value: 5
    " t' b5 r/ e6 J
  149. ;   Production Value: 5
    # K0 O2 o# k; D3 d( O' R# e
  150. & {4 W, ]! `7 |5 o: y1 u; _- b
  151. ; short_open_tag
    0 q, i0 ?9 o$ a: H
  152. ;   Default Value: On2 U! `, G8 Q2 v" w1 ~% z
  153. ;   Development Value: Off/ A! c. D( d. d; c, c; L- ~
  154. ;   Production Value: Off
    . ^& P- q) A% k" G
  155. # u' v* [6 t8 K/ S: Q4 ]2 F
  156. ; track_errors
    2 H# k, {3 f) X. V; N
  157. ;   Default Value: Off
    & U: z' b+ L, N6 C% U; _. `
  158. ;   Development Value: On0 V# t: z9 A9 E& U: ]/ J
  159. ;   Production Value: Off/ t, {  l) |( c
  160.   [( P) O9 G5 H: L! ~$ ]: N
  161. ; url_rewriter.tags+ m! t5 i0 y( |; e. C
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="* s6 q) N9 O6 }5 I, o$ c* g4 ]" [
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"4 W8 ~2 Y0 l9 z: W3 ]
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"# V  U: m- ^7 W2 f$ {# R$ ]
  165. 1 u3 P% I: j7 z# x' b5 }0 p0 G
  166. ; variables_order
    $ l. j; \: M3 c3 T8 q5 a6 Q
  167. ;   Default Value: "EGPCS"
    ; \6 z7 @5 E% L8 n. t* i# ?
  168. ;   Development Value: "GPCS"
    : W2 d5 Y5 j: x/ ^7 @4 Y! z" N
  169. ;   Production Value: "GPCS"3 F# B/ X9 A5 ^- w( u, x# B
  170. , I0 [, v1 v7 C; H- J
  171. ;;;;;;;;;;;;;;;;;;;;
    0 o* w) a8 p: f' p+ ~, H9 S# s( d
  172. ; php.ini Options  ;4 r' W  g+ O9 h' F. v; y
  173. ;;;;;;;;;;;;;;;;;;;;
    , T, V1 A1 r" f& C
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    * q9 K) h; A% ~, |7 x2 ?
  175. ;user_ini.filename = ".user.ini"  ]5 i# R* `, f  T$ a2 ]" g
  176. 2 V) R6 d7 ?3 \: N/ }3 A4 W. h
  177. ; To disable this feature set this option to empty value
    7 ~' z' h! l# B; p, T% {
  178. ;user_ini.filename =2 ]% |5 X; G9 L/ w4 u" J1 v
  179. ) D  B( z, d' }
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    5 Q  H- `# E) Q1 K* |& @
  181. ;user_ini.cache_ttl = 300- x& ]5 P% |; x' v1 M* [
  182. ! j9 p- d* C5 C4 e- H* ?
  183. ;;;;;;;;;;;;;;;;;;;;
    % {- [7 T2 u5 S3 f- L
  184. ; Language Options ;- ]/ ~! n* G' P, C( w' J
  185. ;;;;;;;;;;;;;;;;;;;;
    0 l8 ?* M5 g: x0 A

  186. ! b8 s6 U/ v0 K4 q1 O1 {# w
  187. ; Enable the PHP scripting language engine under Apache.7 h3 Z  d* w: P. D" T
  188. ; http://php.net/engine3 F0 @2 x# M9 e6 R5 \
  189. engine = On) Y, }' y- n4 j6 R: x0 g
  190. ( [' M" t- R6 _9 ~6 H% c
  191. ; This directive determines whether or not PHP will recognize code between) N4 p; Q: D6 f* Y5 v/ \% q
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
      w& V8 ]$ ^6 ~& V
  193. ; generally recommended that <?php and ?> should be used and that this feature
    . V& Y) C3 b5 ]' m
  194. ; should be disabled, as enabling it may result in issues when generating XML
    - k5 |: C' s2 e3 j# y3 v  p
  195. ; documents, however this remains supported for backward compatibility reasons.
    : d$ x. z2 p7 }' Z, w
  196. ; Note that this directive does not control the <?= shorthand tag, which can be% h9 x: A( Q' O2 A
  197. ; used regardless of this directive.! \, O3 ?( q" [' _/ A0 s/ h! r0 v
  198. ; Default Value: On/ h- ?$ s2 r* g7 l9 V; o3 b
  199. ; Development Value: Off
    2 A* I9 \: h  ?! ^
  200. ; Production Value: Off3 B2 C% z5 H% V8 `8 J9 g) t+ R" o
  201. ; http://php.net/short-open-tag. O$ n& `( j$ o9 A9 X5 K0 `
  202. short_open_tag = On
    7 a% Y- m1 L# x7 `" n6 Q* ]

  203. 4 L7 D$ p8 S- U
  204. ; The number of significant digits displayed in floating point numbers.( u) f  \' t; ?9 J, }3 p! l
  205. ; http://php.net/precision7 F3 N: d* F2 X
  206. precision = 14
    . O" V# c8 n8 y! J. F: M

  207. ! o+ o: D) X( e/ b4 Y
  208. ; Output buffering is a mechanism for controlling how much output data
    ' q! X- g% X% |
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    9 p3 N9 i* G5 s& Y, x( i
  210. ; data to the client. If your application's output exceeds this setting, PHP" ]& z* A% N5 X" c! C6 s
  211. ; will send that data in chunks of roughly the size you specify.) n) o" [1 R7 V: K  R- S! |
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    . A3 t; S* s( e8 B0 K" z
  213. ; interesting side-effects depending on your application and web server.& s. ^2 c" q7 e6 g4 a
  214. ; You may be able to send headers and cookies after you've already sent output( E; \  @' y- V) T- {" \, l
  215. ; through print or echo. You also may see performance benefits if your server is) f0 [# K7 h8 F: d4 u* E5 I
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    ; I& H( J* h  U1 E
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance3 M. ]0 E! |# p* w" L
  218. ; reasons.1 L% I6 D+ j. A( E
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    9 j" d, j  D$ a% [4 H. y
  220. ;   functions.
    8 k' J# l1 y2 u
  221. ; Possible Values:
    * x  `1 O- p5 }( H& E6 t
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    0 N  J) g4 K0 F: T/ ]+ ]/ y
  223. ;   Off = Disabled
    5 a+ `- V1 O3 X! Y3 C
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.% x" D" M, X; U! c5 Y
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI+ g0 U0 T2 ~' p1 u; @) C
  226. ; Default Value: Off
    8 X5 P+ [3 h7 e  t/ |3 l9 ~1 D
  227. ; Development Value: 4096- O8 J. y; m$ D! E  c3 F/ H
  228. ; Production Value: 4096
    / n3 P4 [6 ?; _$ P- z
  229. ; http://php.net/output-buffering
    7 Q+ b" h4 n7 l
  230. output_buffering = 4096
    : }4 _. b- Y' Z* R
  231.   ?" T8 o8 M8 S- ?  S" X3 N
  232. ; You can redirect all of the output of your scripts to a function.  For( g& S) D3 m% T# S7 e) U+ ]
  233. ; example, if you set output_handler to "mb_output_handler", character6 J' b& [; V* K- E0 H8 A( X  f6 i! |, O( K
  234. ; encoding will be transparently converted to the specified encoding.& p- f! M+ ^2 U! k' c% l( f7 N' Z
  235. ; Setting any output handler automatically turns on output buffering.0 o& y& _6 B9 w* w8 ^
  236. ; Note: People who wrote portable scripts should not depend on this ini% u; s1 Q/ N, B
  237. ;   directive. Instead, explicitly set the output handler using ob_start().+ V: F2 J" @4 r0 |
  238. ;   Using this ini directive may cause problems unless you know what script
    3 l8 W# D' @4 w* L5 l# E& q* j5 i; \
  239. ;   is doing.
    4 U8 i% Y- Z( t4 E8 j  W0 T
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"7 k6 h: D$ Z/ z( R2 R. h
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    + _) {/ O$ Y' Q
  242. ; Note: output_handler must be empty if this is set 'On' !!!!; b: u5 }) f. ~; D& n1 Q! J
  243. ;   Instead you must use zlib.output_handler., R2 o# A/ ]7 a' R2 j
  244. ; http://php.net/output-handler# x# G/ k# r. i  L8 G. D; [
  245. ;output_handler =
    + z+ a4 V' Y+ v& K4 {( c) u

  246. % t. z& e) f  g* b/ ?) r# x' m
  247. ; Transparent output compression using the zlib library: G4 Z7 j$ u+ x6 m% R
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size  u6 [8 a  R1 K% |
  249. ; to be used for compression (default is 4KB)
    ! D+ R# j7 _& e
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP8 f8 n, m0 z4 o/ t1 K$ r5 B
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    * H$ C8 h2 T( I2 R: d
  252. ;   compression. If you prefer a larger chunk size for better
    1 y  B7 ~& V/ U' Q
  253. ;   performance, enable output_buffering in addition.
    , j# ~: K  y8 [7 l% @
  254. ; Note: You need to use zlib.output_handler instead of the standard
    4 j/ w- A& g0 L+ s! t4 c. _4 a. a& H
  255. ;   output_handler, or otherwise the output will be corrupted.1 n7 k; z# {* ?" _
  256. ; http://php.net/zlib.output-compression
    1 k+ Z% S( Q, {/ a! |
  257. zlib.output_compression = Off
    9 y# f4 R- `6 m! `
  258. # a+ d& q- @" F
  259. ; http://php.net/zlib.output-compression-level
    ! @3 }/ o4 y' b
  260. ;zlib.output_compression_level = -1
    5 j, c% D1 r1 O( K+ X1 f: U# ^4 |

  261. + P! r+ c0 ^! _' z8 S
  262. ; You cannot specify additional output handlers if zlib.output_compression8 S6 f1 [0 ~1 H2 A3 {$ M
  263. ; is activated here. This setting does the same as output_handler but in
    $ S: M) M  s5 \, {: q9 \/ ], M
  264. ; a different order.
    5 Z0 z$ L" Y4 a' u0 Y5 S0 W- B
  265. ; http://php.net/zlib.output-handler
    : _2 N' C5 X1 Y0 n& t8 X5 m
  266. ;zlib.output_handler =
    3 O, X! B& }8 l) R, r
  267. ' b# @; j" \+ p3 g+ q
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    0 S  j% T1 m( x8 a, [
  269. ; automatically after every output block.  This is equivalent to calling the
    9 n# o! u  g6 h, ]
  270. ; PHP function flush() after each and every call to print() or echo() and each
    # @! m8 i/ j( |0 @$ S8 e3 X5 \
  271. ; and every HTML block.  Turning this option on has serious performance* j3 \* v/ [) q8 J
  272. ; implications and is generally recommended for debugging purposes only.
    $ R( O0 _, E0 u4 M. Y: _1 R
  273. ; http://php.net/implicit-flush
    & v: `( o2 s  e7 t% a) I
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    6 T. d: J' Q0 r
  275. implicit_flush = Off; |/ J, G+ }" R' r- @

  276. 3 S/ r7 Z( O% V8 B. F
  277. ; The unserialize callback function will be called (with the undefined class'
    - m" e# d- F/ V. G5 [: ]
  278. ; name as parameter), if the unserializer finds an undefined class
    2 Q, ?! @: i5 l  A
  279. ; which should be instantiated. A warning appears if the specified function is- J, t! j' |9 U: S2 W& U; d
  280. ; not defined, or if the function doesn't include/implement the missing class.: h9 V$ i. w! v9 b
  281. ; So only set this entry, if you really want to implement such a
    8 f# r, _6 A6 Y, L
  282. ; callback-function." r9 d9 T. V# E( s& i) _0 ]# z
  283. unserialize_callback_func =! a) Z/ I- I  D# o! Y

  284. 6 X  b9 q  x& w" G% f% s
  285. ; When floats & doubles are serialized store serialize_precision significant' K, z4 d/ Q' Y3 B1 d* ^
  286. ; digits after the floating point. The default value ensures that when floats
      f1 e5 y+ F( f
  287. ; are decoded with unserialize, the data will remain the same.
    ' ?# A) E" M4 E' ]) o
  288. serialize_precision = 17. W9 u$ n9 f) T; ~# }8 o% h

  289. " ]$ Z; _4 ]4 W3 q8 H4 X* c9 |
  290. ; open_basedir, if set, limits all file operations to the defined directory: B8 x/ A3 I  p, _8 U7 t% _
  291. ; and below.  This directive makes most sense if used in a per-directory
    " H8 A4 I* l" q1 Z; T3 i/ e6 ^- [! [
  292. ; or per-virtualhost web server configuration file.- t7 G2 m& M! n# T/ ~. a. z
  293. ; http://php.net/open-basedir. [/ H7 H/ Y4 z
  294. ;open_basedir =' g8 l% {! c( P
  295. . [  g1 [  F1 Q7 d) f$ T; F) k3 S5 h
  296. ; This directive allows you to disable certain functions for security reasons.3 E, n9 v( E/ W& L3 g! d$ c# h
  297. ; It receives a comma-delimited list of function names.9 t! A* _2 Q5 j
  298. ; http://php.net/disable-functions* e' A% _- {9 V4 E1 r. L/ a
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    2 [* U1 c  D$ ^4 \$ Z4 Q0 N" U
  300. 0 {8 e, [- r5 _" [& y
  301. ; This directive allows you to disable certain classes for security reasons.& O7 F  W9 X! K, F& Q
  302. ; It receives a comma-delimited list of class names.
    : \& z" y% T9 p9 z, I- k7 Q/ C5 R
  303. ; http://php.net/disable-classes" C: O3 J0 l4 l7 w3 A
  304. disable_classes =
      K! [# e' |- g. L

  305. ( z. @# c- b9 a1 A; u* x
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    , O/ J. ^5 {* e9 \" B' b4 G
  307. ; <span style="color: ???????"> would work.
    & ^! [& i9 k8 t5 E+ {) ~
  308. ; http://php.net/syntax-highlighting* Y+ D0 z$ J. }) V
  309. ;highlight.string  = #DD0000
    ' _' O- u( i( r" Z9 C8 H% ^
  310. ;highlight.comment = #FF9900
    " P+ n  B3 b# G! `0 q5 u
  311. ;highlight.keyword = #007700. n# c" X$ N0 x+ C% h
  312. ;highlight.default = #0000BB6 {. g" A7 M" e0 o3 m: h
  313. ;highlight.html    = #0000003 p& K: [) j3 [4 x

  314. , y' G7 t5 B9 G" Q
  315. ; If enabled, the request will be allowed to complete even if the user aborts) K7 o" i8 h& R/ m
  316. ; the request. Consider enabling it if executing long requests, which may end up
    1 j0 |! A- g) f# H: R$ H
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior/ U/ t7 p7 D( A* a  [
  318. ; is to disable this feature.- d0 `! E& M+ e. K( j4 L) D1 F) ]8 [
  319. ; http://php.net/ignore-user-abort0 ^9 f& e" {+ x+ |9 P
  320. ;ignore_user_abort = On
    $ }1 X! m0 O- }  ]( l) b# P% [( X

  321. ; @4 [: i4 f5 z0 f4 S- E3 t1 F1 C
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    ' K$ r, g+ f9 Z  b# p+ s; ?5 g
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    1 L' `+ u( z7 |+ s* r0 V
  324. ; the file operations performed.2 L) }9 ^% i) O8 \
  325. ; http://php.net/realpath-cache-size
    4 Z5 a! a5 \( J  l0 X* Y
  326. ;realpath_cache_size = 4096k( o$ `, M& Y. R' w) ?* C
  327. * D5 l. y/ x2 q" I! |' v
  328. ; Duration of time, in seconds for which to cache realpath information for a given6 {* R/ t3 p- b  b  v* V
  329. ; file or directory. For systems with rarely changing files, consider increasing this! M& ]' ?3 s, \+ M
  330. ; value.
    : ?! l3 Q$ @5 y$ @
  331. ; http://php.net/realpath-cache-ttl, F+ w2 K. p+ h9 q4 Q* t
  332. ;realpath_cache_ttl = 120" B: A9 p* s6 Y0 m0 t* T' @3 W3 p4 J; ]
  333. ' G! P$ S9 w. V: m# G8 V3 |5 X
  334. ; Enables or disables the circular reference collector.& _! }* z0 V  D/ b  c8 J
  335. ; http://php.net/zend.enable-gc8 U. _, A1 c$ _4 G$ ~
  336. zend.enable_gc = On
    / T+ N9 e6 L: ^. E! Z6 @/ t

  337. " I4 I- G, y9 f: t+ r- r: E
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    6 [2 H1 P& X. Z: T6 q% b8 T0 @
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    9 f2 U4 }( P) P0 I  ]
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    2 @2 N4 _! }4 D; k# V% Z9 T: c
  341. ; Default: Off
    " i0 n7 a+ f9 S* H/ P% y
  342. ;zend.multibyte = Off
    " J$ q9 H: l& f% O
  343. % g6 X+ |+ u2 [9 ~8 B
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    ( G- G$ l( W' t( ~- h0 E
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    6 U2 M% N- l, _& H9 W: g
  346. ; Only affects if zend.multibyte is set.
    6 g- s% `# w! T8 F9 x# Q6 q5 Z. Q
  347. ; Default: ""
    ( k, Z  p" B$ |) p6 I! j# p
  348. ;zend.script_encoding =$ L. T9 c* ?7 g7 t2 C+ U9 |
  349. ; z0 U; v! h1 x, {% U
  350. ;;;;;;;;;;;;;;;;;" d$ L  s' ^8 n  r
  351. ; Miscellaneous ;
    + y0 \$ S+ E+ G, a- r
  352. ;;;;;;;;;;;;;;;;;' W0 b1 S  o' G  x2 h9 ]6 N$ Y8 \

  353. : X  P- ?9 N" J* j( b% Q- c
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    6 F; u) E6 [% p9 |6 m
  355. ; (e.g. by adding its signature to the Web server header).  It is no security$ b' A( C; a: Q) `4 Q* b
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    ) ^: a- |. i3 _2 k
  357. ; on your server or not.! v% P7 C4 h2 _
  358. ; http://php.net/expose-php- M0 l* P1 N/ W- g7 ~
  359. expose_php = On
    0 i) ?7 d4 r1 ~2 |. {/ O

  360. . `( q* B, `  L* t9 Y$ T
  361. ;;;;;;;;;;;;;;;;;;;
    ; k( v$ u# h) k0 b! {
  362. ; Resource Limits ;
    # w" c+ Z4 e  j6 \! T/ Z, k
  363. ;;;;;;;;;;;;;;;;;;;
    0 U" e* o4 Z3 U
  364. * j# Y' E0 P8 F% _
  365. ; Maximum execution time of each script, in seconds
    2 W# w; I" A% G7 o
  366. ; http://php.net/max-execution-time$ W5 l! C6 b' a4 A0 A1 D7 r) X
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI( B5 S2 G4 a( Y+ w) G
  368. max_execution_time = 300
    / R( ^; G' J& Z
  369. . n4 M6 R- @+ n4 p$ ^* C% X- o
  370. ; Maximum amount of time each script may spend parsing request data. It's a good2 I$ S9 q1 S1 y' X9 Y8 y. v+ l
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly1 Z) `& q7 o" E
  372. ; long running scripts.) D5 k! b8 c2 P" ^, s
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI5 ?8 f. }1 G9 @' C6 L3 j6 m' |4 U
  374. ; Default Value: -1 (Unlimited)' i/ q, N' H% g+ j4 r0 k
  375. ; Development Value: 60 (60 seconds)
    - f  M" @& h6 I
  376. ; Production Value: 60 (60 seconds)) o( m( T- Y- b9 ]# x8 o8 p4 a% P
  377. ; http://php.net/max-input-time7 o% z8 S# n% \# D
  378. max_input_time = 60! U9 P$ m- ^+ t$ D, k

  379. $ \4 z9 v0 v$ W4 r& i' y& ~
  380. ; Maximum input variable nesting level4 J( K. ?4 a4 E& F( v6 }% {
  381. ; http://php.net/max-input-nesting-level
    " V+ @$ S1 h. `- w8 G) ]8 r
  382. ;max_input_nesting_level = 64
    5 x0 u+ {3 ~2 G& h) M+ [( D
  383. , C# h" Z. S/ R2 W5 {8 t% ~
  384. ; How many GET/POST/COOKIE input variables may be accepted2 k9 d0 J: ]& j( r; a
  385. ; max_input_vars = 1000( L3 P0 |2 \1 I/ s

  386. # [5 {  e  w6 U8 d1 M! R
  387. ; Maximum amount of memory a script may consume (128MB)
    ' D; U" m: u7 S+ l
  388. ; http://php.net/memory-limit3 Y3 k8 s! r9 P+ x0 j; P, c
  389. memory_limit = 128M
    4 F: B9 p- \' A% @2 D
  390. ! ?2 ^2 w: Z: q; I7 {6 F, Y
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    , z+ \( X& z& W6 n8 a. f9 ]
  392. ; Error handling and logging ;( e3 M. Q3 d+ J3 g  p
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;- h2 ~% k6 E# u+ m9 C6 q2 \6 [

  394. ; C- G, g( b8 _; ?" V
  395. ; This directive informs PHP of which errors, warnings and notices you would like/ C$ i+ E; B9 z; R, M. ^/ [1 v+ Q( Z
  396. ; it to take action for. The recommended way of setting values for this
    1 h  L- K% s) H9 k$ D2 z7 }
  397. ; directive is through the use of the error level constants and bitwise* ~+ ^) S! A  d8 p
  398. ; operators. The error level constants are below here for convenience as well as9 a1 Y3 t& M- y" _! g4 m
  399. ; some common settings and their meanings.
    . o; K; ]. t0 E4 J( A8 Y6 v
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT, r0 t: h, t" O5 |
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
      b- L1 b  Y  Q0 f/ w
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    1 O9 g' ]2 J/ q9 |% D* A8 P
  403. ; recommend error reporting setting. Your production server shouldn't be wasting1 D! V% G+ ?$ q6 c4 X
  404. ; resources complaining about best practices and coding standards. That's what
    2 }& ?. j6 A/ a3 g1 j" g
  405. ; development servers and development settings are for.
    6 r4 R% @6 e+ x
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    & M* A+ h0 `9 t. w  @& w
  407. ; means it pretty much reports everything which is exactly what you want during
    6 M: x1 R) s! l, r' `5 D+ {
  408. ; development and early testing.# S' E! O: j! o7 n. L; D: f/ {
  409. ;# U) _$ T0 b3 X3 i9 J
  410. ; Error Level Constants:, f/ V1 s6 W3 ^2 ]) a! [
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)6 p2 O, u7 e/ h# r" R. v7 I  I
  412. ; E_ERROR           - fatal run-time errors! D9 s, a! C5 X. t2 L) i
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    " o, Z0 I, {$ C& }1 X* N
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    + n) B4 L  U& ]7 L
  415. ; E_PARSE           - compile-time parse errors9 B8 t9 C% X' F, T' e! R  x
  416. ; E_NOTICE          - run-time notices (these are warnings which often result# M2 o! d. Y0 T# T
  417. ;                     from a bug in your code, but it's possible that it was; C& C4 l' P9 H) q$ d0 r# t* o6 Z
  418. ;                     intentional (e.g., using an uninitialized variable and
    $ _% C( D9 U: l, ]8 A
  419. ;                     relying on the fact it is automatically initialized to an
    + [7 o4 [$ B9 C* I4 b4 T
  420. ;                     empty string)" U+ @! S. S7 q# ^) X+ r- l
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes4 T7 N7 N" K  Q' T* _- e
  422. ;                     to your code which will ensure the best interoperability9 ]: P8 O. x, `# `8 G" d  z; q
  423. ;                     and forward compatibility of your code
    - M! z$ M9 `, H/ j7 r3 y# z: C
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup7 E7 U; F. l# I5 L
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's. k3 h; V/ b: g
  426. ;                     initial startup: d% C$ X# B4 m/ P6 G9 c; N
  427. ; E_COMPILE_ERROR   - fatal compile-time errors7 H) W- V; g! N) g( `( o0 \9 \
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)/ B/ r7 u* w) G' l1 Q4 O
  429. ; E_USER_ERROR      - user-generated error message
    $ u- E0 H. k0 A
  430. ; E_USER_WARNING    - user-generated warning message0 E' r3 _2 K; ]9 o( J* c
  431. ; E_USER_NOTICE     - user-generated notice message! S# ?6 M8 P! P4 K# I7 X4 ?" H
  432. ; E_DEPRECATED      - warn about code that will not work in future versions  d$ {$ S' w$ k: _$ G, h* {' @
  433. ;                     of PHP9 j1 y; R  r# K8 I, Q, l; t
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings! c# o8 J6 s9 ^8 O
  435. ;
    9 @5 z2 N& K5 Q+ ~
  436. ; Common Values:
    ; f- e! b! N: P
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
      m' M* ~/ |6 a9 f8 J# N
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    4 S- U" Q3 I' X- \4 v! P; P0 [
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    6 {/ R8 v! }5 n) T) W
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    # X0 D/ ^% O; G; U( e1 ]3 v
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED7 y$ b, o: M- d; Z$ T
  442. ; Development Value: E_ALL
    - X, w  G: }: O
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT9 d* m" E7 V( H/ Y  @$ F
  444. ; http://php.net/error-reporting
    8 _1 E" k4 }& j
  445. error_reporting = E_ALL & ~E_NOTICE
    - Y1 \7 l1 c* F5 h$ K5 W) @, U3 u

  446. : `6 y# f* }( ]3 V) J
  447. ; This directive controls whether or not and where PHP will output errors,
    & I& e' ^3 P" E% ^9 h, k) j" {: ]
  448. ; notices and warnings too. Error output is very useful during development, but- p4 G. ~. ~$ _3 r) J/ b6 ^' K' C
  449. ; it could be very dangerous in production environments. Depending on the code% Z/ v9 i) K  @, N, J2 o8 `
  450. ; which is triggering the error, sensitive information could potentially leak
    " ?, ^0 V8 s8 }% F; F6 n+ \
  451. ; out of your application such as database usernames and passwords or worse.. A0 n/ v0 n) [/ {, g8 j1 k
  452. ; For production environments, we recommend logging errors rather than( G! a7 y! e! s( q+ j% U
  453. ; sending them to STDOUT.9 H5 v  }, {7 |! i* }4 l2 u
  454. ; Possible Values:
    - Y: U3 l% n% f8 y
  455. ;   Off = Do not display any errors
    ) \9 J$ {0 G- [6 z, a# L
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)) @7 d: E6 H7 Y& s
  457. ;   On or stdout = Display errors to STDOUT
    " j; @$ v* `) [- W4 Z9 }% M
  458. ; Default Value: On5 x  ]. J0 U2 H) l# U& J" T9 Y1 S
  459. ; Development Value: On& |4 Y- w3 F. B/ H" W
  460. ; Production Value: Off% ^: o9 W" I9 ]
  461. ; http://php.net/display-errors
    : V" n# z! E$ Y: O$ @6 e
  462. display_errors = On, Y( ]( E7 Q/ o% p# [9 d% a& H
  463. & n% b8 i$ o( _
  464. ; The display of errors which occur during PHP's startup sequence are handled( I- q% b" }: v6 T
  465. ; separately from display_errors. PHP's default behavior is to suppress those8 b9 X- Y4 a2 k# H5 Y+ O( n  I
  466. ; errors from clients. Turning the display of startup errors on can be useful in9 h1 l' B" w, q% K
  467. ; debugging configuration problems. We strongly recommend you
    , R& W5 d  F$ ~( b2 C. s7 ~
  468. ; set this to 'off' for production servers." Q1 p- L3 E9 g! V% y( I* J
  469. ; Default Value: Off' x1 y4 `9 H' u
  470. ; Development Value: On6 f' ^2 Y9 ?5 X
  471. ; Production Value: Off
    2 H; [0 N# O! {0 k
  472. ; http://php.net/display-startup-errors1 g$ U( G0 K$ f& y- _* T
  473. display_startup_errors = Off/ R# K; l$ v4 A; A; P8 O" @

  474. . c% V) r- C# O; Z- P
  475. ; Besides displaying errors, PHP can also log errors to locations such as a! U3 J( j) D' d
  476. ; server-specific log, STDERR, or a location specified by the error_log
    ! w4 U* _$ I+ ^# L2 }
  477. ; directive found below. While errors should not be displayed on productions
    8 F+ d5 d0 t1 [
  478. ; servers they should still be monitored and logging is a great way to do that.( \: \, f9 N$ M* p! b
  479. ; Default Value: Off( S5 {1 m) j+ ^: }, @+ l
  480. ; Development Value: On
    $ {1 z% {& |" n3 K
  481. ; Production Value: On6 a6 A" |& K/ z; L( j0 r  }' m; N2 |1 L
  482. ; http://php.net/log-errors% Z% o9 P6 D0 {4 f4 ?
  483. log_errors = On# W6 T( O, M1 ]

  484. , y, _3 q! v2 L7 K8 b+ y  f
  485. ; Set maximum length of log_errors. In error_log information about the source is
    * j* j, f, n' f5 b! `& u1 f
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.; g3 W$ c9 e4 ]# `3 v
  487. ; http://php.net/log-errors-max-len
    1 U6 A  I( G9 g6 i. C5 t' m
  488. log_errors_max_len = 1024
    . G6 T* k1 A0 h: |: V9 t# Y. v2 M

  489.   ~- n% ^; R' I
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    7 u* X) h$ a$ Y4 |( i9 ?) R  [: e7 p
  491. ; line unless ignore_repeated_source is set true.
    5 G# o$ ?2 A0 H  A
  492. ; http://php.net/ignore-repeated-errors
    7 E; \4 E' t; V7 U2 _5 `
  493. ignore_repeated_errors = Off3 }+ [' ~$ e7 \+ g0 }* \! O% ?. \
  494. ! `+ k: @& A# d/ m" s
  495. ; Ignore source of message when ignoring repeated messages. When this setting; I+ h) d9 K  }* ~
  496. ; is On you will not log errors with repeated messages from different files or
      w* S5 _; o3 Y5 I0 i0 Y
  497. ; source lines.
    + k9 T9 M% n# ^1 ~4 ]
  498. ; http://php.net/ignore-repeated-source7 ~! z" K1 g& A5 W
  499. ignore_repeated_source = Off" i2 _: D, r- a/ X5 X7 r. s  ^

  500. ' D3 B1 J4 V# E7 u) V; _  ?
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    ) k' K( ~8 x' e  g8 y6 k, z. c
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    ! C" l& N2 v& _/ S' O0 Y
  503. ; error reporting includes E_WARNING in the allowed list* ^! q0 Q1 ~) q0 g5 L: }
  504. ; http://php.net/report-memleaks7 o5 s- \+ @+ {
  505. report_memleaks = On2 {/ I) I$ E8 {6 ]7 x, e1 T

  506. 4 m& F; F) l% p. B( ]9 S
  507. ; This setting is on by default.
    # R4 [0 n% k; `& ^# R  ?0 s
  508. ;report_zend_debug = 0" e1 S4 U+ t9 K* j# u. W5 M

  509. & J2 `9 `7 k+ l
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    ; Z, L" S$ g. R& {6 L
  511. ; to On can assist in debugging and is appropriate for development servers. It should' ]( Z2 R) m4 Y4 H8 j. S
  512. ; however be disabled on production servers.+ P; Q9 |7 t- w( A8 W
  513. ; Default Value: Off7 B+ T0 }) L; B! e
  514. ; Development Value: On* z* a. z0 ~6 x4 |5 J" G. ~
  515. ; Production Value: Off, T! O; P( r" b$ q
  516. ; http://php.net/track-errors
    5 `  f8 {, {3 i9 N
  517. track_errors = Off
    : N+ z+ E8 W. o8 J% U
  518. 7 y' `* o* @2 }
  519. ; Turn off normal error reporting and emit XML-RPC error XML; ]4 S1 t9 N6 X% o! E
  520. ; http://php.net/xmlrpc-errors" x; }. I( b  b" a$ x/ i) s
  521. ;xmlrpc_errors = 0
      {/ ]" }7 i% g+ X3 V- e* q
  522. 0 ~( P$ i2 T, T+ G# p0 o' ?% W
  523. ; An XML-RPC faultCode
    ! u1 ~( }% N/ e) ?" [& W
  524. ;xmlrpc_error_number = 0
    5 p( I" v, K7 N9 @

  525. ) B; f4 z" |: E+ k: g3 h
  526. ; When PHP displays or logs an error, it has the capability of formatting the) B9 n, j5 P; Z9 y& n) B7 J. G
  527. ; error message as HTML for easier reading. This directive controls whether
    . ^. L' I3 j& y) V+ ?
  528. ; the error message is formatted as HTML or not.
    " y  z. A8 g8 Z9 w0 [1 p
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    2 {' P8 h" h8 [3 @! O. Z
  530. ; Default Value: On- H. `% r, b1 v9 W& ^
  531. ; Development Value: On9 {6 j' n% Z: j0 ~
  532. ; Production value: On
    3 y+ a% g4 E* [# h( N- S) d" m
  533. ; http://php.net/html-errors
    0 z' |5 _2 Y8 K  N7 S
  534. html_errors = On. _& G9 ~5 |! V+ E) e5 N* |
  535. ; ]4 X* w+ H( M( O% r
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP5 _8 G6 P9 S# N% V) m( f) M5 b
  537. ; produces clickable error messages that direct to a page describing the error. d% u: K  U4 e! P+ A: H" E
  538. ; or function causing the error in detail.$ j: p9 B, r3 h( a9 L
  539. ; You can download a copy of the PHP manual from http://php.net/docs9 E7 s5 W& t- a( G; w, U
  540. ; and change docref_root to the base URL of your local copy including the3 W4 X1 J7 Y4 ?' U! l
  541. ; leading '/'. You must also specify the file extension being used including! P/ ~7 i: f3 i: S; j& a. V& a
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which! m6 |  o+ g* H( ?" ^; n" ^
  543. ; case no links to documentation are generated.
    0 Y: v% F+ x" {  i( q+ m
  544. ; Note: Never use this feature for production boxes.
    7 U1 Y# y% s2 u7 g) P( y
  545. ; http://php.net/docref-root3 f- e1 D1 M" e* Q: Y2 N: i
  546. ; Examples9 Z3 J' w9 n/ B3 O
  547. ;docref_root = "/phpmanual/"# d2 R$ b7 M+ F' g" B* e5 M
  548. : l! `( t- _) `. H& L  Y1 f
  549. ; http://php.net/docref-ext
    / r% o7 |; m0 p
  550. ;docref_ext = .html
    $ r! f& F) ^- _$ z% O
  551. % i" L- j: ]- P; h) Y
  552. ; String to output before an error message. PHP's default behavior is to leave" }+ `" O, X+ f
  553. ; this setting blank.
    : Z  ~  U5 \  }/ {0 j2 h" u
  554. ; http://php.net/error-prepend-string
    & i, C! c- A# {. @2 m; m' \
  555. ; Example:
    . s6 f: W7 J: k- G3 z- |
  556. ;error_prepend_string = "<span style='color: #ff0000'>". v; c. E9 |0 [2 @
  557. 8 j6 B# L( {3 W
  558. ; String to output after an error message. PHP's default behavior is to leave
    . _8 R; B3 p3 a- N7 v
  559. ; this setting blank.
    2 \7 C& y5 J  A! I0 A
  560. ; http://php.net/error-append-string
    / S" U2 k4 o+ j/ f% j
  561. ; Example:
    ' B# h; S& k' y% Z' f9 q' \# Y
  562. ;error_append_string = "</span>"
    1 I4 [' h5 K+ J$ w# U2 Q
  563. 7 r; A, H6 l; V( [
  564. ; Log errors to specified file. PHP's default behavior is to leave this value9 \/ t2 _3 k1 S  o/ r
  565. ; empty./ b* {! L6 d9 }
  566. ; http://php.net/error-log
    + f( Z( o7 C7 |5 b! U
  567. ; Example:! v, i2 y/ Q6 r, }' C& r. D; Q
  568. ;error_log = php_errors.log9 Q, v; N( q0 F
  569. ; Log errors to syslog (Event Log on Windows).; j( q/ b: r  F4 k1 h- R8 L
  570. ;error_log = syslog
    / N2 S1 m3 v  B
  571. 7 G1 e' H3 {7 ]: }  _/ _+ G/ i
  572. ;windows.show_crt_warning
    2 S" I' d& g( _
  573. ; Default value: 0; T: V( B0 X* n. r3 [0 e2 \
  574. ; Development value: 0
    + @3 l0 s$ [0 j0 D/ p
  575. ; Production value: 0# }# }- ^/ h, k) k0 G5 y1 T0 y

  576. 8 z1 i  h# f5 G+ z. n1 W& _3 V
  577. ;;;;;;;;;;;;;;;;;
    2 g- y% F$ N  x4 \0 o
  578. ; Data Handling ;
    3 R- q/ e2 W) u2 k
  579. ;;;;;;;;;;;;;;;;;! u& P+ Y4 \. |

  580. / e  X# }& s7 b& J5 z
  581. ; The separator used in PHP generated URLs to separate arguments.0 f+ i9 R" M( W/ s& [/ I8 ?: {% A
  582. ; PHP's default setting is "&".
    ( K+ Q9 Z* @9 p' I
  583. ; http://php.net/arg-separator.output  _; H3 K+ k8 J/ o& x
  584. ; Example:
    $ S8 \+ M0 g2 A5 y4 A: E4 d+ z
  585. ;arg_separator.output = "&"  ?" r" _" Z! }# h; `8 d9 ?+ s6 M

  586. ! {7 Q8 z9 S! j" i% X/ F
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    1 b! ~9 U1 N4 j; B1 Z' [' O
  588. ; PHP's default setting is "&".
    ) F' [4 R' j8 P% N
  589. ; NOTE: Every character in this directive is considered as separator!7 T0 ]' H0 b; Z3 `
  590. ; http://php.net/arg-separator.input/ _, m2 w- \2 N& ~- ~+ l
  591. ; Example:
    2 d8 u8 \( K8 ?0 P1 q, v5 [
  592. ;arg_separator.input = ";&"* D- s8 [/ H6 L& H+ Z; O
  593. 5 q1 y1 \6 a9 ?1 P0 ~  d. j
  594. ; This directive determines which super global arrays are registered when PHP
    ) R6 e0 ^9 |' y/ @' \9 D: ?9 C
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    ) g& w  n* q; |# V$ R' ]8 _: _5 P, I
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    - Z" I+ m7 H9 n# ]& y: r) G
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    / g  C# j, B/ o
  598. ; used as the others, ENV is not recommended on productions servers. You
      f) J$ u1 r( H8 P. z, J5 Y
  599. ; can still get access to the environment variables through getenv() should you
    * M3 S- L0 U- {( K% p
  600. ; need to.4 N- h: X8 _( I% ^- r
  601. ; Default Value: "EGPCS"
    4 b* f2 b1 }0 V: H0 e
  602. ; Development Value: "GPCS"& l: E  c9 m5 |$ _: X
  603. ; Production Value: "GPCS";/ i1 n3 u' u1 D5 [3 h; ]( B
  604. ; http://php.net/variables-order& d- R# p4 p) n6 k; V  g2 E9 H
  605. variables_order = "GPCS"
    % I7 ^0 c8 ~6 J6 y) v& u
  606. * l/ r$ O5 ~% _. l2 L0 z
  607. ; This directive determines which super global data (G,P & C) should be
    ' E3 x6 N0 D3 s# F, d9 J' j# y
  608. ; registered into the super global array REQUEST. If so, it also determines
    3 M: T! b  R; ^& F
  609. ; the order in which that data is registered. The values for this directive9 p# v/ m# z5 X
  610. ; are specified in the same manner as the variables_order directive,, O" G. P* I  W' x+ ?/ B" R
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    $ V  O$ D( K0 \; h4 u( p
  612. ; in the variables_order directive. It does not mean it will leave the super, a# G% ~. e) _9 b! r; Q
  613. ; globals array REQUEST empty.! e3 ~1 k) R8 U0 ?6 C" c
  614. ; Default Value: None9 a& s5 y; f% O7 S4 y' \, E8 J
  615. ; Development Value: "GP"
    - a" V. U8 m9 v
  616. ; Production Value: "GP"( t, g( `* e- R& [
  617. ; http://php.net/request-order" H0 X7 ]/ o( Z* {
  618. request_order = "GP"
    1 R% e; a0 L& a. R) }9 V/ G7 Z
  619. 7 y3 j% B$ b2 J4 }2 I  c
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    & u- q. N/ n# X+ t2 c  I4 t2 T' ?% M
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    6 i& t1 r) `/ S6 F
  622. ; is invoked. $argc contains an integer representing the number of arguments+ J  X% F  C( ^! m( B" \
  623. ; that were passed when the script was invoked. These arrays are extremely$ k, v6 _" T8 \
  624. ; useful when running scripts from the command line. When this directive is
    # m7 D0 Z8 w/ @
  625. ; enabled, registering these variables consumes CPU cycles and memory each time+ p9 D: t! m, n, X! |
  626. ; a script is executed. For performance reasons, this feature should be disabled# N; J0 Z% f% @' ]+ l7 u" r( Z
  627. ; on production servers.& {5 s7 ~/ B6 c& w$ _) O  A( N. W
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    # [" t/ q* p! M! n' x) {! N7 F3 Y
  629. ; Default Value: On: T" j3 J' R3 q+ @
  630. ; Development Value: Off
    1 \+ R- q' E1 f3 p& [! {5 A4 z3 w
  631. ; Production Value: Off
    3 }- W* B- a7 j
  632. ; http://php.net/register-argc-argv
    : r6 _3 D- o( P' n) `4 m2 B1 l( |2 A% L
  633. register_argc_argv = Off
    1 I1 \8 v1 h6 ~- u3 r1 b

  634. & Z1 g- |* N8 m6 H4 w3 @- v  A
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're# [: E) B. p' l8 j- m* Y* h, Z# @+ h8 m
  636. ; first used (Just In Time) instead of when the script starts. If these
    % w9 F& x& u& k" b, o* _
  637. ; variables are not used within a script, having this directive on will result
    0 y) F8 @, c3 }: C6 B5 F
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    % D! ^$ M: ^0 N& o7 }9 G! `$ B
  639. ; for this directive to have any affect.  |9 o. w% J0 |; k2 ?# G* l: g- ]
  640. ; http://php.net/auto-globals-jit
    ) [) y& Q+ P5 S! J0 u8 U
  641. auto_globals_jit = On0 Q5 i) H/ {5 i' r8 J, h! A

  642. 9 x' w+ \# I/ R& P5 [
  643. ; Whether PHP will read the POST data.; i- M. _8 K* O+ D5 Y8 I( N
  644. ; This option is enabled by default.
    $ e/ S( q* e$ d/ @
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    ! z' a; f0 [2 `" m
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    & y" o( j. R& @0 g1 ~' x
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    1 b" r7 _" G$ R' @2 e
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    , x$ T) V9 B6 {
  649. ; http://php.net/enable-post-data-reading
    " f0 W" [/ d/ }
  650. ;enable_post_data_reading = Off
    / d8 @( l6 S: V/ e4 G( Q
  651. : ]2 f: j7 A1 d* r: R
  652. ; Maximum size of POST data that PHP will accept./ N: {  f7 G7 B7 J3 j0 \
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading1 c  l; ?( y7 P; F2 T* b
  654. ; is disabled through enable_post_data_reading.
    . m7 t% g7 c0 `8 c" ]9 z0 J
  655. ; http://php.net/post-max-size
    4 d) z1 F7 X1 M
  656. post_max_size = 50M2 U: @. D# q. U: c
  657. " `$ R- m8 P$ B" |
  658. ; Automatically add files before PHP document.. @2 W% f( E7 S, s
  659. ; http://php.net/auto-prepend-file" ?( b) T9 j4 y0 m) m* |- T; ^
  660. auto_prepend_file =
    . K% v- v% g% {# p! P8 Q- F

  661. ) v: [) h+ x" k5 v" O+ N
  662. ; Automatically add files after PHP document.
    / t% t. Y- z) ^! r4 c* @5 b4 W3 H; ?. D
  663. ; http://php.net/auto-append-file4 c+ a% {5 i1 v% h4 V3 \
  664. auto_append_file =
    2 f. }/ |2 a/ E, p# ^0 F

  665. % D7 V, B# Q: [& X; f$ N
  666. ; By default, PHP will output a media type using the Content-Type header. To
    6 f( i1 b5 X" [
  667. ; disable this, simply set it to be empty.( I* X5 S: a6 c# ~
  668. ;: O' ]8 G/ n' V' M& o: Z8 F) T
  669. ; PHP's built-in default media type is set to text/html.( t2 i& H! u8 f$ i4 H
  670. ; http://php.net/default-mimetype
    1 V, J) F9 d: S% M8 Y: i. D" n
  671. default_mimetype = "text/html"$ r; p6 e% O: T7 s2 ?7 {( T, v# J1 y. n

  672. ) C$ o: R8 H' o  _4 R
  673. ; PHP's default character set is set to UTF-8.8 _, E& a4 k, q1 z4 P
  674. ; http://php.net/default-charset
    7 l( O. o9 i. Y; O9 ?5 E
  675. default_charset = "UTF-8"
    ! F2 b6 H* L" }  r) h
  676.   v- G6 {3 f. N1 T8 H4 o
  677. ; PHP internal character encoding is set to empty." z* |8 d* R" p3 I
  678. ; If empty, default_charset is used.
      M' H' H$ B3 j" I* m4 Y
  679. ; http://php.net/internal-encoding, H4 n6 z1 E5 W& t* [
  680. ;internal_encoding =# G; t/ d3 V3 c/ e! e1 I4 `: p. A

  681. 9 M% s" }4 K; Y2 g4 ~" z7 g
  682. ; PHP input character encoding is set to empty.
    * M4 @5 C( I7 G
  683. ; If empty, default_charset is used.
    % w( C6 O; O- c' R5 ~3 ]
  684. ; http://php.net/input-encoding
    2 Q6 U  G% r# L+ ?! R3 x9 y  _: w& m
  685. ;input_encoding =
    2 A' H9 u+ c+ Y+ z
  686. $ m3 P6 l5 M/ a) ?
  687. ; PHP output character encoding is set to empty.+ i, i" {6 n/ @4 q1 l
  688. ; If empty, default_charset is used.
    3 @9 y) ~- x  a$ E! P4 }8 T: G4 l
  689. ; See also output_buffer.; H3 R; m8 X$ q3 E2 S' x. l) a7 f
  690. ; http://php.net/output-encoding
    * n0 E9 z; D7 R$ m
  691. ;output_encoding =! j. c  S' k1 d. L0 M& Q

  692. ( k& p8 K4 {  c/ d
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    ! i5 _! I' e6 K2 @) H( `, d! }0 f
  694. ; Paths and Directories ;+ {1 A1 ^0 [# f
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
      k* D& U" F$ ]) k! j
  696. 1 i1 q( W; p$ g* \+ S' p3 d
  697. ; UNIX: "/path1:/path2"+ R( \! a. J9 X+ M# f4 s
  698. ;include_path = ".:/php/includes"
    ' D* A) O  h4 A) d2 P+ `) \& e
  699. ;
    0 D& X% O2 [9 F* E4 h
  700. ; Windows: "\path1;\path2"7 F4 B$ f2 }" u, @5 D+ [1 f9 r
  701. ;include_path = ".;c:\php\includes"
    1 ]: k, I3 d3 W
  702. ;* `6 Y5 p$ c" N3 q8 O; J
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"# w- h% D* ~& i9 ~1 t
  704. ; http://php.net/include-path
    $ Q' \3 F7 [4 I  f9 c8 ], L

  705. % U  b/ k& c3 @# @( B
  706. ; The root of the PHP pages, used only if nonempty.2 X8 N$ u/ b3 Y+ u# h/ n$ c
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root) E( P# a' \+ c9 v# r. m$ `) z6 R
  708. ; if you are running php as a CGI under any web server (other than IIS), X( T# a& o7 s3 z
  709. ; see documentation for security issues.  The alternate is to use the
    ) M+ l0 Y2 }7 V3 f
  710. ; cgi.force_redirect configuration below6 ^+ }! ~. O6 V$ w) K
  711. ; http://php.net/doc-root
    0 ^, ~" b0 F, h" L! L+ x$ ?3 `
  712. doc_root =$ w" C5 M  d/ n. D; Y
  713. ; h" n  f! q$ M
  714. ; The directory under which PHP opens the script using /~username used only2 m0 @+ d" |# W0 r
  715. ; if nonempty.; q- ?9 j  I, x+ \2 B
  716. ; http://php.net/user-dir7 K0 @2 p  A& X7 z  \* T" J) m6 f: T
  717. user_dir =, k  _4 t: `% X9 Y, r9 M

  718. ) _0 \  ^& }" R- Y0 B  C
  719. ; Directory in which the loadable extensions (modules) reside.' R/ N: w: u) m6 y1 Q' M) s# @# c) M
  720. ; http://php.net/extension-dir7 m; ~7 k1 E9 h
  721. ; extension_dir = "./"
    " \8 ]+ A2 H7 L; t7 B8 e. T6 O: L
  722. ; On windows:
    1 O( j! \. r% ]# p7 W1 f; p
  723. ; extension_dir = "ext"
    ; g& c* ^2 }4 k( I8 l; q
  724. 5 Y6 b0 \' p4 R* ]0 J$ A& E
  725. ; Directory where the temporary files should be placed.& W4 _# S, N2 h+ m6 [3 d/ K
  726. ; Defaults to the system default (see sys_get_temp_dir)5 M: [2 A: U' L( m& e" |+ y0 E' l' G
  727. ; sys_temp_dir = "/tmp"0 _1 r7 N, d! Q& N- G( O$ r

  728. " p" W/ i, K+ t  a5 x- i2 e& u0 r
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    - C5 @: d+ Y1 h; @+ F! D. r) B8 l$ l
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically* `8 Z: F/ R! u4 f( u5 P
  731. ; disabled on them.
    " `* z1 m/ n& d2 \2 q
  732. ; http://php.net/enable-dl! x1 f# r9 J) Q1 R) ?0 x# T# w9 ~
  733. enable_dl = Off2 z6 ~5 F3 ?  X1 e
  734. 2 z8 A/ U9 l4 N# j* z: @) o+ C
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    ) T3 A* @/ S* c8 u- q$ Z/ e' N2 ?* V3 e" U
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can- u# Q7 M3 y  s
  737. ; turn it off here AT YOUR OWN RISK2 ]9 B* v  a' x& j$ I! G1 @5 J
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**( u% O8 c% p0 D' }
  739. ; http://php.net/cgi.force-redirect& [- L: b. K) I: t
  740. ;cgi.force_redirect = 1
    " t' B9 H8 u! O; j, C4 l3 d) b$ b
  741. $ n6 w1 E3 B/ I$ f4 B/ g
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with7 d6 D, Y$ V0 x7 ]4 I
  743. ; every request. PHP's default behavior is to disable this feature.1 k- k. ^% Z( i) d2 L# |% ~& x
  744. ;cgi.nph = 12 L$ v( c$ k1 u
  745. 9 K) C4 r1 u4 U, n
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    $ |" j/ c! i: m1 v# n& s8 P
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP+ f( U6 u  A/ d, F
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    * J1 [6 }- J9 `! B3 A+ C" H5 z
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.- c: J8 I5 A* i/ |4 w2 T6 S! I9 t
  750. ; http://php.net/cgi.redirect-status-env6 Z* o* W; H" w: b
  751. ;cgi.redirect_status_env =3 T; Z& j$ m  {  c. d/ n( y9 x
  752. 7 [1 \) W* h: l  R0 c' g  y
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    & r, t  C9 k4 V: k
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    9 U# o, q% k# ]. y  W8 f
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    . S% R; D! d8 n* U- e  u0 V6 A
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting' X8 ]4 z% K; z7 {
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    ) l# i) R; [3 x- {. g8 f7 d
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    2 E& B/ t: l$ y  z& B/ D8 I
  759. ; http://php.net/cgi.fix-pathinfo
    7 O; C4 T7 ]' k, |6 F! A
  760. cgi.fix_pathinfo=16 \- Y! X% w2 z* k3 A

  761. , W3 W3 c5 v/ q
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside2 v! Q$ j# j: \8 z. w1 X1 ]9 P' i
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    4 \& w. y- o+ h! H7 B
  764. ; http://php.net/cgi.dicard-path/ G: m5 Z/ X6 d; D$ q
  765. ;cgi.discard_path=1
    - z# W2 c& z8 a2 ^9 L1 s
  766. 5 z8 j% l% y  M& `7 O1 z
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate( j4 L  k# T& Q  [% ^6 P# E% |
  768. ; security tokens of the calling client.  This allows IIS to define the" k9 g- I# N5 A( o4 }
  769. ; security context that the request runs under.  mod_fastcgi under Apache; e6 P6 d) d# z# C! u& V' o
  770. ; does not currently support this feature (03/17/2002)
    ( G9 x& p( Y) T1 q, D
  771. ; Set to 1 if running under IIS.  Default is zero.
      K6 E. @' S$ ~  v0 [
  772. ; http://php.net/fastcgi.impersonate
    / w; M( H* i8 V: k/ O1 H
  773. ;fastcgi.impersonate = 1& F5 M5 w: j6 Z7 B- F

  774. & X' O$ X, {+ j0 d/ @0 f, {. s6 k5 e
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable5 j. B- \! g. J$ @
  776. ; this feature.
    4 k& s  S' e* V: z# Q
  777. ;fastcgi.logging = 0
    % K  C1 X# j0 |  {

  778. ! D8 ^3 h# Z/ Y# z( v1 l
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to" a+ [9 F* L' \5 ~) F( D
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that: z, F. |8 c4 k
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    * o2 E; s# U4 u0 t
  782. ; RFC2616 compliant header.2 j3 x& b& @3 e
  783. ; Default is zero.' a: a3 k9 J, ^. g; n
  784. ; http://php.net/cgi.rfc2616-headers
    $ g0 `8 ^3 ?; n
  785. ;cgi.rfc2616_headers = 0
    1 U& a* m$ [; z! {

  786. ; X  h( O& U* b- s% t
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    ; O) [& B4 t" U- z1 R6 ?
  788. ; (shebang) at the top of the running script. This line might be needed if the/ T( ~* E8 C# w3 x
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI6 Z+ [; @% _4 s" I
  790. ; mode skips this line and ignores its content if this directive is turned on.
    6 e9 z9 w9 a& M: s1 Q$ }  P& n
  791. ; http://php.net/cgi.check-shebang-line" ?. _  r% W4 F- L, D6 U
  792. ;cgi.check_shebang_line=17 v0 w4 x! N" P( D; ~( s" \9 U' f% m( z

  793. # ], w3 H! ]3 @4 `* L7 @
  794. ;;;;;;;;;;;;;;;;1 b2 p( X; r8 i3 B
  795. ; File Uploads ;: Y7 Q  N) I$ f
  796. ;;;;;;;;;;;;;;;;6 f/ M3 Q+ ?% v4 j

  797. ( K; k/ L0 O1 ]6 A$ ]
  798. ; Whether to allow HTTP file uploads.
    4 ~/ q6 `1 C8 }, Q
  799. ; http://php.net/file-uploads
    4 D$ v& D) r  G# {4 _8 C) N
  800. file_uploads = On
    ! T8 j$ a: Q) ]! T

  801. # a3 A5 u4 z. M$ o& W
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
      a( q5 V+ a% f
  803. ; specified).3 e! V+ U) u1 c; C
  804. ; http://php.net/upload-tmp-dir
    ! E7 U0 u1 H& j# y+ M. T! o
  805. ;upload_tmp_dir =: b' \6 j: A. ?, v# e
  806. / ?* H$ D' k: O6 w
  807. ; Maximum allowed size for uploaded files.
    4 o9 |( @9 U' W; r
  808. ; http://php.net/upload-max-filesize
    $ a) Y1 B  d9 }4 h
  809. upload_max_filesize = 50M6 [! W* U( v2 ]- J

  810. - Y/ ]) O" {2 k: |
  811. ; Maximum number of files that can be uploaded via a single request
    + \  v& R* E5 _; r: f
  812. max_file_uploads = 20
    ) ]* @$ |6 ~8 |. Z; C0 T: B
  813. ) E4 H0 W3 S! |, D5 N
  814. ;;;;;;;;;;;;;;;;;;( ]: m3 I# @, d" u
  815. ; Fopen wrappers ;
    ; m' \! [) [! t# B1 Y% R3 i5 g
  816. ;;;;;;;;;;;;;;;;;;# |6 [2 O8 U: k+ o" o
  817. , \( ]! L$ t, x# t8 h( @; A7 [( i
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.# s. ^. V) R& ^0 t/ v
  819. ; http://php.net/allow-url-fopen& n2 [$ p$ q" I7 }
  820. allow_url_fopen = On; s7 d- G" c* b* U( j, ]9 ~
  821. , ]. |* g1 D$ b
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.1 z3 f: C8 S9 d6 J& N
  823. ; http://php.net/allow-url-include
    8 @0 h; k; |- S8 d$ ]: A
  824. allow_url_include = Off; W4 H/ D+ ]6 G# P% d+ C. v) Z0 l' `

  825. 7 H/ n$ A# F" b3 [. M) G' w
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    $ J. O& H* b) S
  827. ; for this is empty.
    ; V* a- O. M0 m  l: D, D
  828. ; http://php.net/from
    / c' e5 c7 j' \! \0 u2 {* r
  829. ;from="john@doe.com"9 Q* u; _* S5 I. `1 t2 d# a  w

  830. " {  T* N% Y% J( K! M5 @
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    4 @! q# G) g: ?7 W' o" [1 m
  832. ; http://php.net/user-agent
    6 k+ Z  h0 h* {' e% i9 U2 |$ Z, P9 }
  833. ;user_agent="PHP"- X& v3 s) _7 v# v/ D" s, A% P2 ?
  834. ( s0 u/ E4 S0 W( J5 r9 Z; ^; j
  835. ; Default timeout for socket based streams (seconds)
    / z2 T* E9 l  B& n
  836. ; http://php.net/default-socket-timeout; r4 W% f: r5 ~- b+ y; G
  837. default_socket_timeout = 60- @! R: g% x& @# I
  838.   |3 d  l: a8 T5 |, g7 n
  839. ; If your scripts have to deal with files from Macintosh systems,* I1 n; ^4 b7 X) t
  840. ; or you are running on a Mac and need to deal with files from
    7 _1 x, p! o: ~- A  c6 K
  841. ; unix or win32 systems, setting this flag will cause PHP to* q6 W. P- }, c
  842. ; automatically detect the EOL character in those files so that: W1 F) @, q+ U% `2 v+ z4 w) F
  843. ; fgets() and file() will work regardless of the source of the file.7 Z6 d7 Y4 r; L
  844. ; http://php.net/auto-detect-line-endings0 K# Y% h4 ^- }" c+ K
  845. ;auto_detect_line_endings = Off& V$ }7 K- r2 G: ~# w' A
  846. 7 ?+ t# F* `- g0 i' h1 S* c: x
  847. ;;;;;;;;;;;;;;;;;;;;;;
    0 C  N3 u: I1 _5 n: G9 O
  848. ; Dynamic Extensions ;& R7 X: e8 Z* i6 U+ @( C
  849. ;;;;;;;;;;;;;;;;;;;;;;
    - @, Y. x" B% B( e* x, ?! Z! M6 V- y; `- R

  850. + V% Q# r, `/ F; [, y9 f5 H0 t0 ~
  851. ; If you wish to have an extension loaded automatically, use the following  v" N, r9 }# R0 ^1 t
  852. ; syntax:
    9 Y4 p" A; Q+ v* F! }6 r3 |6 n
  853. ;
    7 }2 c, `' `1 t. e+ M/ I
  854. ;   extension=modulename.extension+ J" h3 y/ x2 P2 L' ~9 `( {7 H. E
  855. ;! j1 }$ z6 F% Q0 h' B& e! Z
  856. ; For example, on Windows:
    # J: U& y( U0 a3 m- _
  857. ;
    + ]% n0 R% Z' Y& ]7 N6 |  f+ i
  858. ;   extension=msql.dll* J) n- E/ ^9 `7 }( O9 Y
  859. ;6 c# K( f, e5 h& Z$ S
  860. ; ... or under UNIX:
      I# h2 r  L* V( `, n+ B
  861. ;
    ! }1 |9 Z# {9 P) m
  862. ;   extension=msql.so0 R" }- `' m- t* u. \* m
  863. ;5 {( e1 q7 J" X$ E  ?% H- v# l
  864. ; ... or with a path:9 B4 M  J+ l6 C& f
  865. ;  r0 i8 a! u4 q+ X8 x. R
  866. ;   extension=/path/to/extension/msql.so
    8 @: I/ k- ^8 j% A  F4 z9 \
  867. ;- q! V! H3 ?  H. w* {
  868. ; If you only provide the name of the extension, PHP will look for it in its
    ' W+ m( `# u0 R# A5 y# G+ Z
  869. ; default extension directory.
    , N/ d4 Z- _* v5 \  t
  870. ;
    6 V6 V* @) e3 F) k' f, ~* }
  871. ; Windows Extensions
    8 [6 z: ?2 g$ Q# }3 t
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    ' |, ]" L6 t' k- Q) w, z! H$ b
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)5 Z( @! M) L" S/ p! B
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    5 R( ^& @- C1 a  N$ g3 B
  875. ; Be sure to appropriately set the extension_dir directive.
    * L+ k/ w# d4 c# ?* P9 n: g
  876. ;% t0 G* U+ B7 Q. ]
  877. ;extension=php_bz2.dll, i6 y  V6 h+ @% z% D0 w! F9 |3 ?
  878. ;extension=php_curl.dll
    3 E8 ?* r* z2 Y" p
  879. ;extension=php_fileinfo.dll! i; W5 T% f/ |# }1 Z
  880. ;extension=php_ftp.dll
      g0 F* x- J! F3 L5 @8 J5 z: R
  881. ;extension=php_gd2.dll
    + \2 u6 |- s/ w& I% f. B
  882. ;extension=php_gettext.dll* r, B9 e' y" @9 N
  883. ;extension=php_gmp.dll( r0 _5 q# K/ S" _6 |
  884. ;extension=php_intl.dll
    5 I) T) W# `- w9 S8 k( r
  885. ;extension=php_imap.dll9 W3 `6 T: Q- |% g0 }- P9 k
  886. ;extension=php_interbase.dll
    : K* f9 ]4 t9 P6 b
  887. ;extension=php_ldap.dll; W* Q# D7 ]2 t; b2 \6 _) ?/ c6 V' \
  888. ;extension=php_mbstring.dll2 P5 }6 L* E8 V
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    1 L2 v2 o6 @* _( r3 x
  890. ;extension=php_mysqli.dll
      M; a  J+ p5 m' {  B! l5 f
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client- J6 p  J9 @0 X( Y
  892. ;extension=php_openssl.dll
    9 ^0 F# v1 T* x  J( s2 N
  893. ;extension=php_pdo_firebird.dll
    # a- ^% y, O1 K- E: G7 z" T
  894. ;extension=php_pdo_mysql.dll) h5 X/ D3 z  N7 x0 u1 c( n2 N* E: `
  895. ;extension=php_pdo_oci.dll
    & f% Y# d+ m2 s  v
  896. ;extension=php_pdo_odbc.dll( g3 o0 ]$ Z  r$ E# n
  897. ;extension=php_pdo_pgsql.dll! O! x- G5 U: h% |; j& x( D* [
  898. ;extension=php_pdo_sqlite.dll
    % p! Z) F( c, Y" N- z& B9 B
  899. ;extension=php_pgsql.dll# z* H- V5 ~$ }  V9 M
  900. ;extension=php_shmop.dll* Q# v! w3 J1 n# Z8 A3 ]1 U

  901. 4 W6 q$ f3 Z2 j( R* [3 Q6 F" f
  902. ; The MIBS data available in the PHP distribution must be installed.
    5 `4 X4 \5 b" r0 j: h
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    ' F# q2 S! V. O$ D/ w
  904. ;extension=php_snmp.dll
    + _* [4 U0 T' W- n$ ~9 p
  905. 0 C, q( O1 v4 W( P) [6 l8 s. _7 I
  906. ;extension=php_soap.dll  a) e9 p" G; L% E& s/ V2 s+ a- D
  907. ;extension=php_sockets.dll
    ! ^, h# m7 x3 \9 w3 d+ Z' y  v* [
  908. ;extension=php_sqlite3.dll
    8 U2 c. m- D) x9 j% D% ^
  909. ;extension=php_tidy.dll
    ; `8 p) S# Q7 {" A
  910. ;extension=php_xmlrpc.dll7 x4 k# M7 y% U1 m. O2 H
  911. ;extension=php_xsl.dll
    ) ?0 }0 P7 O- a- d$ W% D6 E
  912. ( j: u4 V1 O0 L
  913. ;;;;;;;;;;;;;;;;;;;
    . N3 s$ U8 d& @3 l; V3 ?, K
  914. ; Module Settings ;
    ( ^# X! |, L7 J; }7 a6 o3 \
  915. ;;;;;;;;;;;;;;;;;;;% h, a( ?6 Q* x, X+ A4 U! c- o
  916. + Y; z5 Y5 Z! u- f  Z
  917. [CLI Server]; Y% N+ r8 Y6 P  a& A: \. v( ?
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    ; s) f3 E1 h2 ^
  919. cli_server.color = On
    1 m& @8 c  M+ l3 o& c
  920. & {3 s  I4 E) i
  921. [Date]+ B& p3 B9 G8 C, m, o, R: |' Z
  922. ; Defines the default timezone used by the date functions0 l1 O/ C1 }# g, l+ S
  923. ; http://php.net/date.timezone
    4 o# k2 g+ V( H5 E+ a/ B
  924. date.timezone = PRC; p, u( Q8 h5 o- E- h: F
  925. # y2 u- W0 J9 B. H; c9 G- E
  926. ; http://php.net/date.default-latitude9 |% l7 j/ `) ~* L
  927. ;date.default_latitude = 31.7667. l  Y, e+ |. s$ v: X$ o* f* t% e; K

  928. # f/ r7 Z( c6 Q0 R1 l8 @
  929. ; http://php.net/date.default-longitude! Z8 F& y2 [* f7 C# }+ [7 H- _- W
  930. ;date.default_longitude = 35.2333
    - y9 I; `$ ]8 L5 ^' A
  931. * p7 H- [$ B- u3 d- S! z* a
  932. ; http://php.net/date.sunrise-zenith+ p* W( p4 r6 U8 m' ^
  933. ;date.sunrise_zenith = 90.583333
    8 b, }9 K' l3 @+ H" H% S$ D  x
  934. ; w# ?- ^2 I7 x4 d* `: n1 a: o
  935. ; http://php.net/date.sunset-zenith
    3 C$ B. T! k, ^5 n+ t" R* s
  936. ;date.sunset_zenith = 90.583333
    % _4 a  S9 d' W& P) H0 i# g

  937. 8 _0 j& W, r4 z- a/ F
  938. [filter]
    ; ^. M' a% ^1 Q- }( Q( c$ Y
  939. ; http://php.net/filter.default: x( r/ d5 ]% e- L* D$ [# j
  940. ;filter.default = unsafe_raw" X1 l9 l% v# R  F# l

  941. . R& x% }* x# T& w" y
  942. ; http://php.net/filter.default-flags
    + g2 F. K! K5 d& C7 R- r, R# E! I
  943. ;filter.default_flags =7 Y7 M( r8 B5 v( J" F+ \9 L& r

  944. ' W6 J; D% b* k) o( {8 {5 A
  945. [iconv]2 a$ }. G+ x' Y7 S7 M8 l& ]
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    % s; `: C& U2 k: d; M7 D. k
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.* E6 N. }5 s/ w7 F
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding8 U$ x! m: R7 B
  949. ;iconv.input_encoding =
    . E! r2 R% n- g7 T8 }  y6 ?3 j

  950. ; m3 W6 j5 a% A- [! p9 H; y
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.; v; h+ e2 l0 P& h) ]
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ! E1 {4 z1 _5 T2 }6 C5 x3 f
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    8 v0 g- F0 L" T( ?: l
  954. ;iconv.internal_encoding =
    % W' Y  R8 _0 c

  955. % ~; E$ n' B( E5 f( z( y- m
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    3 p/ h/ E# w7 A0 q  s" d- X) \
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.  @* r7 }' s5 y' K
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    . T) ^3 d9 U$ B( s+ e
  959. ; To use an output encoding conversion, iconv's output handler must be set
    ' o& f2 u, R3 K" \0 _/ D4 a
  960. ; otherwise output encoding conversion cannot be performed.
    * _& d( a# G) N
  961. ;iconv.output_encoding =
      r) @  b4 N% Z9 U7 p6 _

  962. ! `" A$ M+ r* X8 M% B
  963. [intl]
    $ p, }3 d) g. M" Y
  964. ;intl.default_locale =9 k/ r5 K( R! f2 z+ M; v7 d
  965. ; This directive allows you to produce PHP errors when some error# U% d7 G) x: ~) J; F* {
  966. ; happens within intl functions. The value is the level of the error produced.
    0 I( O# g( I+ P6 l$ W: s
  967. ; Default is 0, which does not produce any errors.
    5 _6 [; ?, _; t
  968. ;intl.error_level = E_WARNING# r9 v8 @! }9 O0 _9 f. j) F, h
  969. ;intl.use_exceptions = 07 T5 m4 C: w: [2 W$ r

  970. 4 t# Z# R6 V/ }
  971. [sqlite3]
    - _* k, i( J4 _  e6 D  G, o; R
  972. ;sqlite3.extension_dir =
    6 B1 I, Z1 `- Z, U( _( r  ~0 w" v/ Z
  973. 2 H5 y2 Y  f# F8 k- J
  974. [Pcre]
    " u' L1 J  t2 ]( P
  975. ;PCRE library backtracking limit.+ I8 y$ w, g9 A( p: E
  976. ; http://php.net/pcre.backtrack-limit
    , |) h& A( R% x1 `- i! N
  977. ;pcre.backtrack_limit=100000: Y8 ^- J- T% k0 o

  978. 4 h" N# l$ ], m9 l( h* T* `  D1 t1 o
  979. ;PCRE library recursion limit.+ H/ m) ], G- ?
  980. ;Please note that if you set this value to a high number you may consume all
    2 b& @( m8 a, p# e* A' ^1 p+ N
  981. ;the available process stack and eventually crash PHP (due to reaching the
    ; [! o5 t- d/ j  j+ P3 J& ~3 v
  982. ;stack size limit imposed by the Operating System).5 K+ u& X8 [0 ?3 r
  983. ; http://php.net/pcre.recursion-limit/ [+ V7 E' y1 S$ e3 u+ K" Y. {$ z
  984. ;pcre.recursion_limit=100000) M; J2 i3 l: ^. g8 {2 O: @* z
  985. 5 P$ J, M# J# ^1 d
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE. w4 A; c0 f6 l: T& r
  987. ;library to be compiled with JIT support.
    4 M3 y+ e- D3 G+ F' v* U6 {
  988. ;pcre.jit=18 R. W0 e7 o$ Z, S0 H2 n3 Z

  989. 1 O) O8 U0 }1 U- X7 Q/ o  B- g
  990. [Pdo]0 N8 p0 \3 `1 o3 R: [
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"4 x3 a; M1 ?1 u3 z9 b
  992. ; http://php.net/pdo-odbc.connection-pooling
    8 i0 a+ `, x/ D( ?( ?0 U
  993. ;pdo_odbc.connection_pooling=strict
    . r/ O3 ~7 P+ r" o6 |5 ^/ k9 V

  994. ' l+ U+ Y; d; N# B
  995. ;pdo_odbc.db2_instance_name" Y9 X6 R+ ~) ^$ m

  996. 0 ]) Y. B' Q. L5 Z
  997. [Pdo_mysql]3 m4 [! S* h% ?
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    1 y0 z. z3 ]- u3 J. Z9 E5 {6 U* @
  999. ; http://php.net/pdo_mysql.cache_size
    2 @- x# T5 L4 @3 V
  1000. pdo_mysql.cache_size = 2000
    . t$ X$ }2 e+ |4 y3 ?  J
  1001. / T. s  `* u  f4 ?. p
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    * B# W, @0 Z8 N8 B  k* W% J
  1003. ; MySQL defaults." [5 r, r7 E" u2 z. J
  1004. ; http://php.net/pdo_mysql.default-socket
    9 p; i( Z. N' a! G# [% m
  1005. pdo_mysql.default_socket=3 |7 v2 _, k' d4 p( j0 X3 l, h
  1006. ) R2 a' u9 C7 O' p' Q  }: j" ^
  1007. [Phar]  S% F1 ~9 z( _# |/ x$ V
  1008. ; http://php.net/phar.readonly
    4 o! m: _' c- [* [
  1009. ;phar.readonly = On
    0 }8 \5 A- |; |& C5 D# X

  1010. & I7 W1 }9 L% Z4 _0 @: t
  1011. ; http://php.net/phar.require-hash
    & \2 d0 w# J# }* m# L& f2 Q
  1012. ;phar.require_hash = On
      A- O- d* v1 x, [* S/ {
  1013. - ~& [+ @2 o& Z: c( f, K# G
  1014. ;phar.cache_list =0 }! U8 h  L# G! A

  1015. - ?9 u8 l% w  }
  1016. [mail function]7 @8 n" b3 ?7 Q
  1017. ; For Win32 only.
    ( D/ Q5 J% V% |+ k  F
  1018. ; http://php.net/smtp, K' ^; `2 P3 G
  1019. SMTP = localhost* c: F5 r, y# {% N1 P+ D
  1020. ; http://php.net/smtp-port
    6 d) V; \' I, v% M6 {
  1021. smtp_port = 25
    % c1 n6 T$ s$ y# w( q+ w
  1022. . m' [7 d, S+ I; l8 I- j
  1023. ; For Win32 only.
    , ]) i: ^& N% S
  1024. ; http://php.net/sendmail-from% u$ J1 }# [& `
  1025. ;sendmail_from = me@example.com
    7 [3 ?2 I( M- ~  I

  1026. 2 q/ v  p# W, ~
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").0 v( b- Y. @5 i! J" U: h
  1028. ; http://php.net/sendmail-path
    ; E' M+ K/ z$ t
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    3 O! E8 S( o4 V5 l; V- ~' M* N' R

  1030. ! o  U7 R1 o+ ^" `6 \
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    * M7 p7 k5 T( e4 ^, C5 J
  1032. ; to the sendmail binary. These parameters will always replace the value of
    - V1 }1 e, @: b. L9 u
  1033. ; the 5th parameter to mail().& D8 n2 F$ u$ y9 z" I3 K, k* w
  1034. ;mail.force_extra_parameters =
    " ]; s& e$ J$ c" d6 X! @9 Z( B

  1035. ( b' v0 h$ P: z5 ?: i3 G/ m( Y
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename; t8 r5 Q! |! h# l1 [3 y9 F  h
  1037. mail.add_x_header = On
    $ s- C( Q; s4 R- t" \8 |& L

  1038. * m+ ~- B0 Z/ b) J/ d, T! t9 h
  1039. ; The path to a log file that will log all mail() calls. Log entries include: w+ D8 L$ F+ w" \: m- e( f* E! k
  1040. ; the full path of the script, line number, To address and headers.
    + T( }7 U2 V5 J( t% a
  1041. ;mail.log =1 E6 N5 K/ i9 ]* Y& D6 D4 s
  1042. ; Log mail to syslog (Event Log on Windows).8 Z. ^$ n/ L' e4 E! J
  1043. ;mail.log = syslog7 L3 M  P$ h3 R5 u

  1044. - R0 k: C! t/ q! `& I+ s6 K
  1045. [SQL]
    1 Y# q1 Y* ?* N" h, b2 {
  1046. ; http://php.net/sql.safe-mode
    ( B, K" P) ^- S9 c
  1047. sql.safe_mode = Off
    ( z, C& Q8 ]* J+ d0 s
  1048. ' H- i9 W* U1 d0 W; k
  1049. [ODBC]- V$ }/ J2 X5 j2 M
  1050. ; http://php.net/odbc.default-db
    6 v1 b! U7 J+ P8 `- F+ N
  1051. ;odbc.default_db    =  Not yet implemented: o/ r' G. L- U2 T- X2 j

  1052. # I! I# O* N; Y* X# F! }
  1053. ; http://php.net/odbc.default-user
    / `% L; j- f0 d# x( ^( L  E
  1054. ;odbc.default_user  =  Not yet implemented! r, e! b" O1 H! C

  1055. : A, M% J# y9 Q9 K" i
  1056. ; http://php.net/odbc.default-pw
    7 {7 A* C4 }: }0 K- i8 ~' X
  1057. ;odbc.default_pw    =  Not yet implemented2 _- ]3 K- ?1 ~! @

  1058. - L/ q1 L* g# [
  1059. ; Controls the ODBC cursor model.6 x1 l' v- z& L7 j; u' V
  1060. ; Default: SQL_CURSOR_STATIC (default).# Y9 _% ^, t& z  n
  1061. ;odbc.default_cursortype
    ; i5 A! I8 y- d" a4 r
  1062. % p1 v0 j+ K4 ^% s+ ?
  1063. ; Allow or prevent persistent links./ a. K, u4 g+ Z6 _8 g6 f8 B
  1064. ; http://php.net/odbc.allow-persistent
    : S- h+ A$ \% v7 e
  1065. odbc.allow_persistent = On
    9 B& y: ^0 I& s
  1066. " ?- A; B# j$ Y5 P/ G7 E! t$ O
  1067. ; Check that a connection is still valid before reuse.  N- C' _, ~+ B! ?8 @* R& F
  1068. ; http://php.net/odbc.check-persistent
    + _) A+ H) W0 i9 R8 H2 k
  1069. odbc.check_persistent = On
    * H- C$ h) ?* v7 ?& `

  1070. % L. ^- T+ [! S! ]
  1071. ; Maximum number of persistent links.  -1 means no limit.
    2 l- _# U7 g  K3 s
  1072. ; http://php.net/odbc.max-persistent
    8 A) H& }+ p+ b, v8 y
  1073. odbc.max_persistent = -19 W; q, B0 w% z$ p! \" b9 S

  1074. , Y! D. g6 S6 M1 u7 Y
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.% H( l& Q* X3 t: g( L' e/ D" r
  1076. ; http://php.net/odbc.max-links
    ; a- E# D$ l( @% c9 z2 v, l
  1077. odbc.max_links = -18 T+ t; r6 K: a4 A0 a
  1078. % I" n7 I  A1 X, C, Q
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    . U$ S5 ?/ x$ `: V+ ~2 S& N
  1080. ; passthru.& o1 _- S# M1 d) J5 j9 Y
  1081. ; http://php.net/odbc.defaultlrl' ~. a5 D: H/ @3 R
  1082. odbc.defaultlrl = 4096
    ) r8 X8 K3 F: \! @# k; G' q, i
  1083. & J+ N: m2 _% ]3 |2 u1 M. i
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.+ m! m7 \! K; H3 V4 W
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    . e- p  ^2 _' o6 ]
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode. E( U. z# o* Q4 ?, u+ T
  1087. ; http://php.net/odbc.defaultbinmode6 c  X5 K9 T. L3 b% I! v
  1088. odbc.defaultbinmode = 1# c, Z5 m) p" J1 k

  1089. 7 \; U; c) a% N& W
  1090. ;birdstep.max_links = -1
      a8 n8 `1 Z: s2 |! s% o5 w# C

  1091. # @. V6 B  J* H$ I
  1092. [Interbase]
    / @+ {: P% f: q7 I  S- _' R
  1093. ; Allow or prevent persistent links.
    5 }# @6 t8 a' r! ]8 ]1 f5 e
  1094. ibase.allow_persistent = 1+ v, y  b! Q! \/ S# p) [( l

  1095. ( L8 u. `- z+ o2 g  V, U4 s
  1096. ; Maximum number of persistent links.  -1 means no limit.
    ! ]4 ?4 h6 r. k7 w9 R& F4 H9 r
  1097. ibase.max_persistent = -11 d( c$ `5 f( d( g! A* x
  1098. / p0 n; Q+ G( [; T% l  z% R/ G
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.* K% C, z. O6 h# _4 f  A6 n
  1100. ibase.max_links = -1
    , T3 G$ j# D) x+ H7 T
  1101. 5 x5 l) ~  e' d1 e: r
  1102. ; Default database name for ibase_connect().
    , t3 o" H. b1 c
  1103. ;ibase.default_db =
    9 k0 m8 @4 [( [/ t6 A. q
  1104. ; U$ c% z' ]" W" ]8 i" c) J
  1105. ; Default username for ibase_connect().
    8 T9 y  K) T  N" _9 Q* r
  1106. ;ibase.default_user =
    ) e$ {9 I2 S& {& B8 |3 T

  1107. . n' z: ~% L3 |! e/ X4 j% [. T
  1108. ; Default password for ibase_connect().( H: d! ~5 d( j6 v4 _5 y
  1109. ;ibase.default_password =& w. x0 v& y, l: |( p; V# `9 r, V

  1110. : j' k% O' b. x+ g. `( }
  1111. ; Default charset for ibase_connect().
    2 ?, k& n+ h. _& j( j/ \
  1112. ;ibase.default_charset =1 v) K) [; g4 F" A; y; J; _; {* P* z
  1113. * z2 D  U0 u* B. d& {
  1114. ; Default timestamp format.; g( O! b: z; w0 D9 Z: \
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    * m! M0 Z  _$ j: M+ e
  1116. " E: T/ ?, y, `4 `% O
  1117. ; Default date format." \7 Z7 ?  E% d  [% o/ c7 I6 K" y
  1118. ibase.dateformat = "%Y-%m-%d"
    0 w" F6 U! d( L2 w

  1119. # }& z% M  b. w9 W# \5 Z6 p" D8 i1 p
  1120. ; Default time format.
    $ k, E; C# n* ]. v" a" D+ p; s
  1121. ibase.timeformat = "%H:%M:%S"
    / g* g/ K6 i2 J4 z! i: G. H
  1122. ; a. W: |# I5 ?3 B( s
  1123. [MySQLi]! N0 `, J  a; T, |
  1124. % ^/ |# L$ @4 a  X1 s  Q
  1125. ; Maximum number of persistent links.  -1 means no limit.
      l( K: J" ~) j+ H
  1126. ; http://php.net/mysqli.max-persistent7 b/ N& B1 E: ~
  1127. mysqli.max_persistent = -1" n% o( V% A3 d5 B: D

  1128. # Y9 X9 r* z: }" t7 h
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    ; P$ e- J4 Z; s
  1130. ; http://php.net/mysqli.allow_local_infile2 P9 M8 J1 ^% Q0 E& s+ }( j# A
  1131. ;mysqli.allow_local_infile = On
    & y$ `5 N9 {9 A/ k# C
  1132. ' m. Y% ]# t+ d- f' Z1 `+ L
  1133. ; Allow or prevent persistent links.2 T) a$ e- _- o& H  W7 I3 m
  1134. ; http://php.net/mysqli.allow-persistent
    3 R! d5 E4 g0 p8 U
  1135. mysqli.allow_persistent = On
    ( x& }4 G- ?  M+ f* S' b. f0 y4 y
  1136. 5 `2 a  ~# J# }1 Y: {
  1137. ; Maximum number of links.  -1 means no limit.# ]; j$ J( y: D7 |! j! G* J9 J
  1138. ; http://php.net/mysqli.max-links
    " x& S3 H# J' I( b% m
  1139. mysqli.max_links = -1/ |# O0 [9 M  \. I

  1140. 3 N, o1 {" K. H/ L
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    5 B" S5 e* L8 ^6 X5 n) C
  1142. ; http://php.net/mysqli.cache_size
    / R: ?7 h2 @& @: S+ n0 A  a8 g
  1143. mysqli.cache_size = 2000( Z+ r7 \+ s( z
  1144. 9 q! ?% ~# R( m6 }$ X
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    & S2 J4 e& i4 T1 n
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    9 N5 h( l) w  j7 C3 E7 S
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    ) R. q( |- M. Y  ?' ~2 O* d
  1148. ; at MYSQL_PORT.4 G" w  ^3 }& s, [$ f
  1149. ; http://php.net/mysqli.default-port
    ! K! l* s+ \! ^! M1 L2 O6 U
  1150. mysqli.default_port = 3306; T/ n2 r' ~( E. f

  1151. + e) F/ j* e: K7 Q
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in' N/ Z: L/ ~; G( `. ]6 R. p
  1153. ; MySQL defaults.8 }$ J- p1 |. y; O( ~
  1154. ; http://php.net/mysqli.default-socket/ D9 y' Q$ k3 ^1 K, A
  1155. mysqli.default_socket =
    * p$ l- m' }; G

  1156. - S9 t1 a+ M% N6 U. |
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    / F+ a2 `; [8 j4 _, a$ Z0 n* q
  1158. ; http://php.net/mysqli.default-host: ]- t6 _9 k1 }( |: R+ a( c- m
  1159. mysqli.default_host =
    $ w, b/ R+ |5 P# u

  1160. * E0 }7 M. n) ~$ X0 x; f5 X
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    6 Y# _8 u# M$ a- U& f# ?" p3 r
  1162. ; http://php.net/mysqli.default-user
    1 H' t% I' ^! B. b5 R
  1163. mysqli.default_user =
    % N4 x0 h& I0 G7 A
  1164. % T% B/ j7 Q4 `6 \2 c* K) @- c
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).% P1 m7 T) S& {1 e' a. Q. w
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    7 p7 e( U4 D* u9 g
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")  v5 G1 D% X2 g% t$ x6 V
  1168. ; and reveal this password!  And of course, any users with read access to this4 p- |& _' W4 Q" e& E
  1169. ; file will be able to reveal the password as well.8 |' I* G" H! _
  1170. ; http://php.net/mysqli.default-pw& y( S3 y: ?8 p* @
  1171. mysqli.default_pw =! i( Y+ j5 h/ c" g% a& o7 \
  1172. * Y* ]. T4 w6 |! I" O6 j- R5 H
  1173. ; Allow or prevent reconnect
    $ M; P9 l% Y! K, i/ Q8 a8 n- }
  1174. mysqli.reconnect = Off% [* [+ D$ t7 w# }+ v9 Z9 l1 m/ u
  1175. 4 }; u0 l- j2 P5 z+ y6 i) u* H
  1176. [mysqlnd]# l/ \+ Z# _4 R
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be( _& s( T0 Z1 e! _6 _
  1178. ; used to tune and monitor MySQL operations.; E+ w7 q2 W; h. s& Z3 j! K
  1179. ; http://php.net/mysqlnd.collect_statistics6 S4 U) @! O5 i1 a* ~
  1180. mysqlnd.collect_statistics = On  o. P. f. I) ]1 _' q

  1181. 3 Y5 l" ^% S, H1 }4 l
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    ! r6 h3 o; ~" c/ G
  1183. ; used to tune and monitor MySQL operations.
    ; U: e# y0 q! \' C6 z, N+ C1 d
  1184. ; http://php.net/mysqlnd.collect_memory_statistics3 s& I% `% r& h2 F3 ]8 k( s
  1185. mysqlnd.collect_memory_statistics = Off
    : w# w& s! T4 F

  1186. - \4 F5 K# \2 [6 P" ]; v# Q$ z
  1187. ; Records communication from all extensions using mysqlnd to the specified log8 ^: h1 {6 l; r; I" O4 Y
  1188. ; file.! p" {1 H2 m. R7 a' x
  1189. ; http://php.net/mysqlnd.debug! T2 A6 C; ^; ^+ m& D& S5 e$ M! V
  1190. ;mysqlnd.debug =2 n5 s& Y& d6 P9 W0 _4 h2 ?

  1191. ( }3 v  O' @' f' R/ p7 b
  1192. ; Defines which queries will be logged.
    * p3 k# P" L) B3 C0 F6 C
  1193. ; http://php.net/mysqlnd.log_mask( U1 E; F& r( ?9 q. c* J. G8 j# M
  1194. ;mysqlnd.log_mask = 0
    + P0 `4 l' [9 C
  1195. + q1 u# e+ D  T) W$ `" H: r
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.: a: h' R5 k2 x. d9 F
  1197. ; http://php.net/mysqlnd.mempool_default_size+ |4 u# }, c7 m! ^3 e$ d" U6 j
  1198. ;mysqlnd.mempool_default_size = 160007 _, {" Y8 t/ c, z
  1199. 3 l; X1 B( Q. j% R6 @8 r7 I
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.1 q9 y  {# w' _+ }9 J. O- \) @
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    2 d1 a6 y  b. V
  1202. ;mysqlnd.net_cmd_buffer_size = 20487 }! e8 R1 @& J. K- _5 H/ k% n
  1203. 8 l4 F$ a$ Y* k* f; F3 p
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    ; B8 ^. w4 p% w* _% a* d
  1205. ; bytes.
    6 [9 H% B, I0 a9 l
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    5 x+ _. p' U! R) S# m3 _0 V! K
  1207. ;mysqlnd.net_read_buffer_size = 32768/ _5 V  \4 }4 ?

  1208. " }8 y0 `: R; [  b* M1 a
  1209. ; Timeout for network requests in seconds." `0 R4 z: x- U7 l
  1210. ; http://php.net/mysqlnd.net_read_timeout; B$ L) L- U$ @4 [0 p. ~, m% y1 f
  1211. ;mysqlnd.net_read_timeout = 31536000
    8 u' w8 [' x, c: V! c0 m' v  Y. h5 m+ ^

  1212. 9 m3 N9 @  N) |+ F  p6 c
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA* p- O9 R( w( @5 [$ ?
  1214. ; key.$ x! i5 |6 [2 C0 Q( H" V) ]' L
  1215. ; http://php.net/mysqlnd.sha256_server_public_key& u8 D8 p$ m& K0 X8 d% V1 h
  1216. ;mysqlnd.sha256_server_public_key =0 M! W4 n% ]; Y" \

  1217. 7 o6 l6 j4 P% f6 \4 r4 v- a; N
  1218. [OCI8]& I( N/ F) @: c1 R+ U' n& p
  1219. / b9 B1 _# H  i
  1220. ; Connection: Enables privileged connections using external
      U  @" z; G6 y$ w. p  ~
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    - e. f6 B! M% p1 n1 U
  1222. ; http://php.net/oci8.privileged-connect
    ; O% h8 O$ W5 n8 C. p8 e
  1223. ;oci8.privileged_connect = Off
    ; C2 V- R: T1 F. N8 L, D% ]& i8 b
  1224. 5 S. @2 J3 P( T9 _1 P5 e$ O
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    0 ~3 Z' X& ]% C+ s
  1226. ; process. Using -1 means no limit.
    ' [/ l! V6 |9 l  L0 {
  1227. ; http://php.net/oci8.max-persistent
    8 f: ^; d. p4 j
  1228. ;oci8.max_persistent = -1
    - J2 X! G% }  A0 c
  1229.   c! n) Y* N/ `( n8 y3 s
  1230. ; Connection: The maximum number of seconds a process is allowed to& n5 F, \; u+ w/ o: D  q" h
  1231. ; maintain an idle persistent connection. Using -1 means idle# \7 C  g2 I  w! V; ?
  1232. ; persistent connections will be maintained forever.+ m( e# W) O: U1 {
  1233. ; http://php.net/oci8.persistent-timeout8 f! {# I9 _6 _: J
  1234. ;oci8.persistent_timeout = -1
    5 ]( f4 e* W6 G
  1235. 2 b+ l" ]* c0 G1 y
  1236. ; Connection: The number of seconds that must pass before issuing a
    ( J/ v( m# [  z* D6 w6 T
  1237. ; ping during oci_pconnect() to check the connection validity. When+ Z! n3 a, [$ X. h
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables. n3 }4 X6 o5 b
  1239. ; pings completely.
    4 `9 x2 ?7 W8 D2 k0 ^
  1240. ; http://php.net/oci8.ping-interval2 W7 W! A; ~1 }! M4 e* j3 M4 P! B6 Q
  1241. ;oci8.ping_interval = 60
    ( y7 t$ {6 ]5 f3 b- c" ?' D7 [
  1242. ! j. r  Q. T- D( T0 a/ r/ O! M
  1243. ; Connection: Set this to a user chosen connection class to be used( L9 e0 a& a) {: f, }# V
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    8 ]+ v; ~  Y9 T& ]2 d
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to& T1 r/ b* ]1 i: h9 Y4 X/ W6 B
  1246. ; the same string for all web servers running the same application,- ~/ Z! c6 C/ T7 d! l: j
  1247. ; the database pool must be configured, and the connection string must
    9 |, X3 A& N) e: [9 i; b
  1248. ; specify to use a pooled server.6 p2 U3 C7 Z/ z0 v
  1249. ;oci8.connection_class =8 S- b) ?4 P" h! Q

  1250. 8 w# y2 @. X3 ?7 L3 X; M  J
  1251. ; High Availability: Using On lets PHP receive Fast Application9 x3 r: h; X1 K* R
  1252. ; Notification (FAN) events generated when a database node fails. The9 U0 I3 g4 t+ J* `4 F! h
  1253. ; database must also be configured to post FAN events.
    5 H3 a! B0 w% J
  1254. ;oci8.events = Off3 n8 o6 w3 X6 l( d1 H  Q" i
  1255. " K7 q7 Z. |8 G7 e0 J/ C  _  X  x6 x
  1256. ; Tuning: This option enables statement caching, and specifies how. }; B' _9 }% W
  1257. ; many statements to cache. Using 0 disables statement caching.
    . A- o5 g) R2 b: Z1 D  [: P
  1258. ; http://php.net/oci8.statement-cache-size
    9 D! g4 P: o( [1 _. X
  1259. ;oci8.statement_cache_size = 200 o8 W9 \% Y4 |8 Z& ^

  1260. & h) [  ^! \- m3 @8 _
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    / p! [: ~* c0 q9 C
  1262. ; rows that will be fetched automatically after statement execution.9 r/ X8 M, `' D$ G, }
  1263. ; http://php.net/oci8.default-prefetch
    1 D: e7 i6 @/ O" ^  u5 r5 }% t
  1264. ;oci8.default_prefetch = 100
    ) F; x7 w, f; D* j9 N3 N5 W

  1265. 2 U- }% L- `' X) q$ L& q  v
  1266. ; Compatibility. Using On means oci_close() will not close
    * Y  T: b3 n" K( o) `* `( t; e, z
  1267. ; oci_connect() and oci_new_connect() connections.7 i, ~+ |( e( L* J% o- u
  1268. ; http://php.net/oci8.old-oci-close-semantics# |, C, f. R, w/ k: y. t
  1269. ;oci8.old_oci_close_semantics = Off" c- B# ?7 x* _; ^$ _& h

  1270. ; r" l* J7 D$ I2 V' F
  1271. [PostgreSQL], {5 y3 `. Y, Q
  1272. ; Allow or prevent persistent links.- H  _9 X4 Y* u% f4 P! j
  1273. ; http://php.net/pgsql.allow-persistent
    . j+ ~" c: a& D, O1 ~3 n
  1274. pgsql.allow_persistent = On! J% o* f( j% j* c$ [3 S" k! ~

  1275. " j, b: E; s( U6 [
  1276. ; Detect broken persistent links always with pg_pconnect().
    % ?  h! v# X( ?' o3 U
  1277. ; Auto reset feature requires a little overheads.
    0 A0 _$ j, C5 m4 y* [7 y
  1278. ; http://php.net/pgsql.auto-reset-persistent9 l/ [8 N! T: [& W2 V
  1279. pgsql.auto_reset_persistent = Off  b* c% y: [7 F9 E6 f
  1280. * Q. e$ t+ y+ ?8 \
  1281. ; Maximum number of persistent links.  -1 means no limit.' R5 Y% j- F5 l& T# `
  1282. ; http://php.net/pgsql.max-persistent& ]4 {3 ^: X6 r& m1 \
  1283. pgsql.max_persistent = -1
    1 n& l( z) `$ p
  1284. + d5 S5 w' k# q3 c
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    7 Z7 ]8 r4 q1 \
  1286. ; http://php.net/pgsql.max-links
    : y) t. q! K7 Q* s
  1287. pgsql.max_links = -13 m# X0 K5 s; |( R
  1288. ) `/ Y$ W5 _* Z; u
  1289. ; Ignore PostgreSQL backends Notice message or not.: Z# \; E: b5 N: R* N9 R, T# q6 |
  1290. ; Notice message logging require a little overheads." H" I' ~# y( ]8 ]
  1291. ; http://php.net/pgsql.ignore-notice  s' H4 X# Y9 R* K9 r! Q
  1292. pgsql.ignore_notice = 0$ Y6 r/ R% ^/ {6 |
  1293. ; j  N2 I) m) V; n
  1294. ; Log PostgreSQL backends Notice message or not.- |! F; M2 \, d) R
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.) S$ K: {* O/ t: |5 d- n6 Z
  1296. ; http://php.net/pgsql.log-notice" q/ |: z# M0 C) t/ p
  1297. pgsql.log_notice = 0; I2 {9 G9 o7 G* ^+ J# X* y  ]* ~  M

  1298. 0 l1 P. I  W5 r+ ^
  1299. [bcmath]+ }" m1 J. x" F! `9 E, e
  1300. ; Number of decimal digits for all bcmath functions.
    3 ?% r1 a1 l2 `5 c2 C. o+ a7 Q- z
  1301. ; http://php.net/bcmath.scale( z5 j1 V, r* u8 b" o
  1302. bcmath.scale = 0
    ' w% G3 t; F: r1 o, ^% n: L

  1303. - x1 p% R: L& v
  1304. [browscap]
    9 F; B. L1 m$ Z# B4 A' J
  1305. ; http://php.net/browscap
    6 j5 \; ]; ]& w
  1306. ;browscap = extra/browscap.ini* N* q, F7 W6 e0 v2 G
  1307. . K% j, }. O) F2 i7 r0 T
  1308. [Session]
    2 `: Q& ]: M$ V5 `: H% G
  1309. ; Handler used to store/retrieve data.0 F& j/ V# u6 i+ }6 z7 E
  1310. ; http://php.net/session.save-handler$ g6 [1 ~% p' p" X* _9 a
  1311. session.save_handler = files
    & O/ L* k: C& j5 o& ?4 m

  1312. 3 X, R# W) e3 \" P
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    9 K) r& E. n/ y# o
  1314. ; where data files are stored. Note: Windows users have to change this
    $ o: |6 g& p6 M, ~
  1315. ; variable in order to use PHP's session functions.: g9 Y- H9 V4 _8 _
  1316. ;
    & [" j- U  D4 N# w7 j8 H9 b5 V
  1317. ; The path can be defined as:
    1 e) E8 w: m8 |& D& t
  1318. ;
    % m: E8 o2 b9 }+ f  Z) U
  1319. ;     session.save_path = "N;/path"
    8 S) T0 ]1 a8 e6 P! i& V
  1320. ;" r. T1 E& T. L2 m/ u$ j' O
  1321. ; where N is an integer.  Instead of storing all the session files in  f6 q9 N" i" A* J, h3 |
  1322. ; /path, what this will do is use subdirectories N-levels deep, and9 S  I: ?, M" U5 C/ w( D0 q
  1323. ; store the session data in those directories.  This is useful if( r; X8 J0 o6 n1 p) R( S* w
  1324. ; your OS has problems with many files in one directory, and is
    % [' C8 a+ h8 Q" s  ^/ K
  1325. ; a more efficient layout for servers that handle many sessions.0 W3 a+ O' y" b0 |
  1326. ;3 O) N8 }$ L5 R- l/ O
  1327. ; NOTE 1: PHP will not create this directory structure automatically.% w1 ?6 M5 x) l. w  E2 q; j# R
  1328. ;         You can use the script in the ext/session dir for that purpose.
    * {1 c; F* J# Q( ~2 w+ p
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    / z0 K2 @2 j; k( Q! a
  1330. ;         use subdirectories for session storage: |$ J! l& r# C: k# j
  1331. ;
    5 D7 x1 _! ?4 ~8 B% c0 s
  1332. ; The file storage module creates files using mode 600 by default.
    2 e& O+ s1 [. _( a
  1333. ; You can change that by using2 R- j$ _* l* v  I
  1334. ;
    : l* T. e" s5 l/ ?& i) F
  1335. ;     session.save_path = "N;MODE;/path"4 v1 B/ P/ ?4 T3 U; g
  1336. ;: R. S6 z. F- X2 c3 D! _0 E  W$ o
  1337. ; where MODE is the octal representation of the mode. Note that this
    1 ~3 e- u" X. M( h
  1338. ; does not overwrite the process's umask.
    ! S/ `% j( ]* i" Y- a$ R. q9 \
  1339. ; http://php.net/session.save-path
    8 D. p2 h4 _9 P' ^
  1340. ;session.save_path = "/tmp"
    0 W& o8 j4 r6 w0 o/ Y

  1341. ( T$ O6 \3 r, B. {( h7 o6 m
  1342. ; Whether to use strict session mode.
    " u: m0 J. P: Q2 e: j' _, A* f
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    2 P8 V' h  d4 F( N9 D" w
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects. S6 z8 z9 J& \& W- O* C' |
  1345. ; applications from session fixation via session adoption vulnerability. It is8 _" M( \8 V4 m  F/ Y
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.- [$ y# L' m/ r. d! `" J
  1347. ; https://wiki.php.net/rfc/strict_sessions
    # Y9 f& j; A5 \- f0 u# s# p
  1348. session.use_strict_mode = 0+ D8 J6 i* B+ L8 Q4 Z0 u2 b, Y( f3 R

  1349. , D& R: c; C: V+ H6 }& A
  1350. ; Whether to use cookies.5 f' b" B8 `9 y6 e- H
  1351. ; http://php.net/session.use-cookies
    ' P/ f! r* u/ ?/ [0 o5 h- C
  1352. session.use_cookies = 1: Y2 ?: O8 a3 v9 k" k

  1353. 8 m- K7 D" E4 m" U4 M* Y  k+ c
  1354. ; http://php.net/session.cookie-secure
    # E6 [7 P* D" m
  1355. ;session.cookie_secure =* f# F1 m7 F/ W4 S# O# y* \

  1356. & o3 _, m' y2 P9 y7 C3 }
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    # d* j# f) o) U' B0 ?
  1358. ; the session id. We encourage this operation as it's very helpful in combating* U; t' Y/ Q$ m& ~% x) M
  1359. ; session hijacking when not specifying and managing your own session id. It is
    " u  K. ^0 K( I3 h7 M, ~, N6 s
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.& l% Y7 z, k* i% ^/ N) T
  1361. ; http://php.net/session.use-only-cookies
    * H* z) f, s; R: @2 k
  1362. session.use_only_cookies = 1
    5 g! c! {' O2 S6 Q& Z
  1363. . N; G* l& s& Y+ f
  1364. ; Name of the session (used as cookie name).. p2 p7 E; O' Y) ]+ ~
  1365. ; http://php.net/session.name
    . F" D$ b* k+ c2 i6 l: S
  1366. session.name = PHPSESSID8 M5 o) J, Y7 ?; F3 ]# d' ~+ M
  1367. 8 K7 C, g, }& M
  1368. ; Initialize session on request startup.
    - F7 D$ T4 k. N. C; C, ^' l
  1369. ; http://php.net/session.auto-start
    1 ~5 a! y0 O9 y
  1370. session.auto_start = 0
    6 p# y8 v, v/ r: M
  1371. ' ]. u5 A3 W. t5 E6 p! H! L
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    2 u, p! J" Q4 n0 l
  1373. ; http://php.net/session.cookie-lifetime
    # H' Q% {! j& T  m; `5 _! q
  1374. session.cookie_lifetime = 08 [5 G5 d8 @5 }2 Z4 d# N
  1375. & u0 Z  m# f4 f0 L, `; Y( p" p
  1376. ; The path for which the cookie is valid.
      Z. L* A$ T* D5 @+ D4 o0 X
  1377. ; http://php.net/session.cookie-path) C5 |; e  Z; _" ]& {  `3 c4 I: v* e$ A
  1378. session.cookie_path = /7 c8 E4 i: c7 R# C0 w9 l

  1379. 7 g8 r3 w) ]* V! z0 |4 w
  1380. ; The domain for which the cookie is valid.
    ' N$ S" I0 s. s+ t+ J
  1381. ; http://php.net/session.cookie-domain# b7 M0 G+ d% Q4 `% u/ C* C7 ?) A
  1382. session.cookie_domain =5 H; h& p8 G* G7 o3 s
  1383. + H0 o% |2 _1 Y# @
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    / u( j) {2 l; O9 Y% L
  1385. ; http://php.net/session.cookie-httponly% A9 A: T* i( r, ~7 J( Q
  1386. session.cookie_httponly =
    & J- x. ~  p, Q
  1387. 5 h8 o. ^( F2 Z5 O& A
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.+ c, v9 k# `$ \: f5 j' A
  1389. ; http://php.net/session.serialize-handler
    1 A& p7 _# g; W# U, [$ K- K
  1390. session.serialize_handler = php
    / o5 H* [0 P* x8 Y/ H7 v6 ]

  1391. # {6 f" {  \9 j$ `
  1392. ; Defines the probability that the 'garbage collection' process is started) b- u- z" f( r  |# H& v: R& W
  1393. ; on every session initialization. The probability is calculated by using
    ' ^/ ?2 }3 D( O; Y; J
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator) A5 t8 a* ?# C$ z3 \& x
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1$ ^  N  T( X4 m! }% i0 E) I
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance# `, u2 k3 P, d$ m
  1397. ; the gc will run on any give request.6 W( M: x4 m& Q. c
  1398. ; Default Value: 19 T( a/ h. R, W6 }! C
  1399. ; Development Value: 1. t  @  M! F! n3 \  F( e6 }2 n' b
  1400. ; Production Value: 1
    6 `) ~/ }7 ~1 D% v+ N' B9 F
  1401. ; http://php.net/session.gc-probability
    % @4 i5 _) F, ]2 p6 h6 {* A9 \
  1402. session.gc_probability = 1
    7 `( E7 x9 H8 ~- f3 ^
  1403. ( p2 w: i$ l/ c6 o& ~' o6 d
  1404. ; Defines the probability that the 'garbage collection' process is started on every6 E* E2 B% t" [
  1405. ; session initialization. The probability is calculated by using the following equation:
      X0 O% n8 |  A6 H
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    $ [0 h' ?; f& F1 Z! n
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1% A+ p6 M7 L; @6 u8 {2 q
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    5 t) e! t5 G- L8 Q
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    0 ^# Z5 O, P3 [
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    $ |3 f) |8 T& A, F7 f
  1411. ; this is a more efficient approach.6 G( Y( w' z8 r* R
  1412. ; Default Value: 100
    - w6 P9 A( r# V9 L  R: `  W% ?
  1413. ; Development Value: 1000* F+ f$ ?" r( ^$ u2 R
  1414. ; Production Value: 1000
    % @9 D  J! F" G% c1 V' ^4 \( b! j
  1415. ; http://php.net/session.gc-divisor0 A. e- V  W2 H
  1416. session.gc_divisor = 1000
    # ~) r' s& c7 C; P' W: s

  1417. * b/ z! s+ n0 p. D
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and* B( X% g9 d" r. q9 q; m: S
  1419. ; cleaned up by the garbage collection process.
    ) w, {  K0 Y  ~. ]
  1420. ; http://php.net/session.gc-maxlifetime
    $ I% F& \. Q* {) }
  1421. session.gc_maxlifetime = 1440* u+ O; j. u' J" _1 h1 w1 z8 B/ M
  1422. + a  ^, ~) \8 Q
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    ! W1 X5 j- C2 m7 c
  1424. ;       (see session.save_path above), then garbage collection does *not*2 `9 o" P4 w7 R7 r; p
  1425. ;       happen automatically.  You will need to do your own garbage! k$ G& y3 E6 I+ C5 A
  1426. ;       collection through a shell script, cron entry, or some other method.2 D1 [& y; N9 _5 A
  1427. ;       For example, the following script would is the equivalent of+ F* _% {$ H+ Z
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):$ B2 p0 I% @; u8 a  E
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm) U# Y2 Y" V/ M

  1430. ) Y9 Y" P7 d; _+ q# q6 k: S
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    " R% ^! D# J  Q: c
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    & M. r+ v4 A2 _% ?8 W0 h
  1433. ; considered as valid." l# i( A* E( T# T4 O9 z
  1434. ; http://php.net/session.referer-check4 z; E+ X/ h1 I9 D5 N' H$ G
  1435. session.referer_check =
    7 P) r$ ?8 Y6 r1 w- U" c; i
  1436. $ `9 x' v  y1 {, T+ B5 K
  1437. ; How many bytes to read from the file.
    6 c# P2 d0 \: t. r
  1438. ; http://php.net/session.entropy-length5 r' P& U$ p! V8 _) Y, _5 p
  1439. ;session.entropy_length = 32* O- Q) h& x  {) M5 z- o4 v( ?6 j
  1440. . O2 K; s! L, X/ v3 Y, I: l! x
  1441. ; Specified here to create the session id.
    ! i: {' b6 w" s) F
  1442. ; http://php.net/session.entropy-file
    7 `# w" ~) L& t' U, U
  1443. ; Defaults to /dev/urandom7 ?& j& Y6 o7 X: x5 E
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    ! x$ F, E" I0 S& c
  1445. ; If neither are found at compile time, the default is no entropy file.
    1 W+ z  Z1 q% C1 s2 U' P) J
  1446. ; On windows, setting the entropy_length setting will activate the* Z: `. i4 h/ J$ [$ [! c
  1447. ; Windows random source (using the CryptoAPI)
    % X( m: g$ {/ E3 ]. X6 s1 ?6 f
  1448. ;session.entropy_file = /dev/urandom
      a: r7 j) k, m7 @6 R/ v
  1449. 4 x2 U( y0 g9 Q4 f: E9 D2 r
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    # m8 e) l) N% q  Q  i9 ]' ]  K8 m+ l. D
  1451. ; or leave this empty to avoid sending anti-caching headers.  W7 l/ q. U5 i2 ~2 T; Y6 V3 y
  1452. ; http://php.net/session.cache-limiter5 x2 f" R& a' r" e6 C
  1453. session.cache_limiter = nocache2 j' U. A7 Q0 f. H' @- L2 _& Q, O
  1454. ; E5 G% \2 R2 K9 E: T9 W/ T
  1455. ; Document expires after n minutes.$ e2 L0 A1 g. l$ A) x: V/ X
  1456. ; http://php.net/session.cache-expire
    4 v: W; ?5 ^  V; K0 Z
  1457. session.cache_expire = 180
    6 V/ ]8 q* }" v: ^
  1458. . E; E9 X' T8 J* T5 p- v4 M6 z
  1459. ; trans sid support is disabled by default.9 p% L5 A" E0 I1 Z# J
  1460. ; Use of trans sid may risk your users' security." i  {) f( E( ^
  1461. ; Use this option with caution.
    . M6 ]6 K. ]! z9 D& p2 S
  1462. ; - User may send URL contains active session ID8 [% B5 @1 ?% x; b( A
  1463. ;   to other person via. email/irc/etc.
    1 D; O% U4 ]  O4 ]. G
  1464. ; - URL that contains active session ID may be stored
    6 G) k. U  @( {: W1 q5 s
  1465. ;   in publicly accessible computer.3 L& t6 H- K: H/ b
  1466. ; - User may access your site with the same session ID, b  X+ _- O* Z0 P! X' h7 ]. Y
  1467. ;   always using URL stored in browser's history or bookmarks.
    , G6 h/ b% X, M' X/ ~$ K
  1468. ; http://php.net/session.use-trans-sid
    3 X* q# d0 d! a& m0 ^5 O
  1469. session.use_trans_sid = 0
    8 [7 r2 s/ G# U! m3 W: I( c0 A

  1470.   r, @2 t* [5 v- C& I
  1471. ; Select a hash function for use in generating session ids.
    9 x- [* g  b! u. n
  1472. ; Possible Values
    6 d$ [, x' x" H, z$ b9 M$ L" T
  1473. ;   0  (MD5 128 bits)
    : L( }9 `  w) {( e
  1474. ;   1  (SHA-1 160 bits)
    * I: E8 K5 G, l
  1475. ; This option may also be set to the name of any hash function supported by
    9 z6 |. T5 r+ Q
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    . b" h5 Q2 y1 V4 G# U* _1 B$ f
  1477. ; function.4 {9 b# E4 v$ w; t5 q3 }
  1478. ; http://php.net/session.hash-function
    # v! C4 x. x3 s4 X$ ?
  1479. session.hash_function = 0
    4 @" _, Z' k& U
  1480. ! d9 G" d4 O9 X% T( y
  1481. ; Define how many bits are stored in each character when converting+ F; k5 x( Z4 z( r" Y' g& r
  1482. ; the binary hash data to something readable.  F" _/ s9 V) s, A8 Y  ^  p
  1483. ; Possible values:& [, H4 }' m9 U9 N* l0 Z. Z
  1484. ;   4  (4 bits: 0-9, a-f)
    ' M2 s: e9 k* ~+ v4 R5 K6 ?
  1485. ;   5  (5 bits: 0-9, a-v)
    & i2 q% E) f$ Y
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")# ~3 V$ w: ~0 h# S
  1487. ; Default Value: 4
    ' @; z: Z- N# `. @$ l
  1488. ; Development Value: 5
    5 Q/ X8 L- L4 k/ k4 ^( N: M! k
  1489. ; Production Value: 5
    5 q$ k1 s' b+ R3 y+ S; V7 A
  1490. ; http://php.net/session.hash-bits-per-character
    / z9 e# q, L( W7 L+ L
  1491. session.hash_bits_per_character = 5" B5 z& i, ]4 j, |- l

  1492. 0 d" [& v  ^8 D7 q6 O2 w) `
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.7 P& {# g7 F' u. S. }
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    / ?. t; M, J. z# s7 d4 Z
  1495. ; add a hidden <input> field with the info which is otherwise appended
    : G/ C8 c! x5 n9 m
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.& P; w. D8 U, a4 u6 @$ D" \
  1497. ; Note that all valid entries require a "=", even if no value follows.3 Z9 v* k4 B& K: v
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ) J+ X; _9 e2 j7 o7 d$ A  E6 C
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    9 j2 G% n4 f/ k' m
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"9 h/ F# `' C4 L' n0 c
  1501. ; http://php.net/url-rewriter.tags' ^7 j+ {7 G* g+ D- I
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"* P! l* l" M; e& J% g: ?) d; u- ^! [

  1503. ! S- C' Y$ T9 [# |3 R- {
  1504. ; Enable upload progress tracking in $_SESSION& G( R, v# y: r1 F
  1505. ; Default Value: On
    2 l& J7 F# K( _; ]
  1506. ; Development Value: On
    2 v" T* c, [$ U9 ~' t8 X
  1507. ; Production Value: On
    ) w" B4 q1 B7 s* \8 @& o. h
  1508. ; http://php.net/session.upload-progress.enabled( }5 M" w' c7 W1 U/ {, @
  1509. ;session.upload_progress.enabled = On1 D- @* i0 f1 O  a
  1510. 9 U, L5 x" l3 w" \' F; G
  1511. ; Cleanup the progress information as soon as all POST data has been read
    / M$ z. h9 w; Z! x" }) D, ?: x  s+ x9 a
  1512. ; (i.e. upload completed).; d* i1 T# _2 D* i2 d' K
  1513. ; Default Value: On, Q5 V; y% v: m
  1514. ; Development Value: On1 `0 f1 ?, r8 A  K2 k% H
  1515. ; Production Value: On
    0 ?9 l% y0 p! Z$ ~
  1516. ; http://php.net/session.upload-progress.cleanup
    * L- a+ ~& a: c6 u
  1517. ;session.upload_progress.cleanup = On
    6 c: n, N+ q* \* I; M

  1518. 4 s: @# a  s, N8 Q! I5 F
  1519. ; A prefix used for the upload progress key in $_SESSION! Q' i6 E4 r# U/ o1 C& \& X# i  p
  1520. ; Default Value: "upload_progress_"
      U$ G+ r" }  K' H& J! M1 b3 h
  1521. ; Development Value: "upload_progress_"( R+ i* {# H! s0 H7 p7 [
  1522. ; Production Value: "upload_progress_"
    0 b6 h# L0 v6 V; a% c* Q9 \$ i
  1523. ; http://php.net/session.upload-progress.prefix# a& S+ f  B6 i- z' Z% ~7 e
  1524. ;session.upload_progress.prefix = "upload_progress_"+ ]5 g$ b2 \1 T

  1525. . o: b: M1 w" w! [
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    . @. x- E& {, T' ~* M$ i
  1527. ; containing the upload progress information
    " X1 r" }7 x: J+ Z  b
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"& [8 L' \% R- O  ]- k/ v& m
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS". t. m, m% ]& ~" l0 q+ n. J
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"  v" j) R$ t' _
  1531. ; http://php.net/session.upload-progress.name( d9 D/ F! a  x, }
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"" ^1 T9 a% H! ]

  1533. 2 q6 D% A7 c0 z2 p! w
  1534. ; How frequently the upload progress should be updated.% V  {9 `6 G1 ^  i4 r: ~6 x
  1535. ; Given either in percentages (per-file), or in bytes. R. i  k6 ]! _) [' i1 I
  1536. ; Default Value: "1%"
    : o" g. R6 q& z% i" ?1 V
  1537. ; Development Value: "1%"
    ; G9 {: L( L  f0 f2 m& J* J
  1538. ; Production Value: "1%"8 R4 j5 H! i& X' C5 q2 L8 e
  1539. ; http://php.net/session.upload-progress.freq! c$ u) I, c1 F5 H2 j5 k) \9 r% w  Y
  1540. ;session.upload_progress.freq =  "1%"
    8 a2 r/ \) b' {1 h+ M3 H

  1541. - _- {- G& n5 ]1 k
  1542. ; The minimum delay between updates, in seconds
    7 B& |) }* b0 R  R
  1543. ; Default Value: 1  Q( L) d2 O( N6 u# p
  1544. ; Development Value: 18 |( i) `: {" k; q
  1545. ; Production Value: 1
    ; Q$ e2 e/ e. p' I; E, S8 N. W9 U+ A
  1546. ; http://php.net/session.upload-progress.min-freq
    8 l# _0 C( a3 x  Y0 B( o2 W+ ?
  1547. ;session.upload_progress.min_freq = "1"
    2 z3 \* X7 f7 [1 F; c) ?- e
  1548. 2 y* m1 s% U2 m
  1549. ; Only write session data when session data is changed. Enabled by default., |9 B' }: P6 U
  1550. ; http://php.net/session.lazy-write2 ]4 f' X, k* M! W, ^
  1551. ;session.lazy_write = On& ^3 Y! w; W8 K. f4 B: d3 [$ w9 \2 L

  1552. 7 k* Q0 Z0 w5 v" k) L- z! _+ `6 v
  1553. [Assertion]
    " e( |% ^$ t2 r" C, X7 \1 h7 g
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)9 R4 J! h5 Y: c" v$ l, ^' _
  1555. ; -1: Do not compile at all
    ) b$ Q: {% S$ z! ?- u* Z
  1556. ;  0: Jump over assertion at run-time
    ! y/ ^' f: s- |% k1 W: s
  1557. ;  1: Execute assertions& l' Z% q3 q: N! J* R5 H+ }
  1558. ; Changing from or to a negative value is only possible in php.ini! (For turning assertions on and off at run-time, see assert.active, when zend.assertions = 1)* ?7 V# d$ d: h3 w( v
  1559. ; Default Value: 1
    7 B* l- K3 u7 A' m+ B7 Z! \" j$ G
  1560. ; Development Value: 1
    7 C: T; a8 w; B# [( _! E
  1561. ; Production Value: -1
    * K( s  Q: n- P1 N- z$ L" ~
  1562. ; http://php.net/zend.assertions
    - S6 I9 H# G0 m8 y3 M$ M+ u
  1563. zend.assertions = -1
    3 m: y8 N: n2 V2 u7 r: y7 ~
  1564. " H8 W) `/ V: i  M/ s
  1565. ; Assert(expr); active by default.& e% `$ \, O0 z$ k( g& a/ ]
  1566. ; http://php.net/assert.active
    * E2 W% q2 W5 u. d8 B! |
  1567. ;assert.active = On
    2 K! ~) p  ]6 U3 A; ^
  1568. % h- H  k) t- F, S: F. `
  1569. ; Throw an AssertationException on failed assertions6 @2 |3 x7 i# Z( ?! ~" z
  1570. ; http://php.net/assert.exception5 L" |, d. Y' U" @/ n4 g' ~
  1571. ;assert.exception = On1 H# k( n- }+ |1 Y: B3 v
  1572. 1 N4 {/ X" I1 j1 e& }# q2 E
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    1 w) B# P4 g/ E- w
  1574. ; http://php.net/assert.warning
    7 V  i2 e& F3 @. J: X2 n
  1575. ;assert.warning = On" I1 q. ^/ n  b9 y+ ~
  1576. 3 x$ `" ^) F; ~  L; Q
  1577. ; Don't bail out by default.
    - r' Y" @7 ^4 E+ T7 b
  1578. ; http://php.net/assert.bail9 B9 Y5 j7 q: T7 Y( ^! |
  1579. ;assert.bail = Off5 m4 r8 a  V  G

  1580. ; q4 ~$ w$ s- W3 P% Z, w# a
  1581. ; User-function to be called if an assertion fails.
    : [3 h; M+ x" }" |$ O
  1582. ; http://php.net/assert.callback
    : @/ s0 D! h; v$ a
  1583. ;assert.callback = 04 E) q; e4 H' P; y/ W+ R7 a0 |  S7 ^

  1584. 5 L0 X5 m, Y" Z2 i
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    1 L+ ~8 @$ m2 ]* a9 M/ a' A
  1586. ; error_reporting(0) around the eval().
    7 s5 a9 u6 j6 Y/ f7 d1 \
  1587. ; http://php.net/assert.quiet-eval
    . e. }5 w6 w( i$ h8 ?! u% |
  1588. ;assert.quiet_eval = 00 r& ], u; o$ j/ k
  1589. 5 i9 e! i5 E; B4 Q
  1590. [COM]# D/ H: ]7 `' V  |
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs# [0 ]( V. y' P% k5 s9 M( ]
  1592. ; http://php.net/com.typelib-file
    ! U4 B  d" Q$ L" N# R
  1593. ;com.typelib_file =6 l' {$ Q  x( I% Z- ]( `, Z2 J% |/ b
  1594. 8 ^3 y5 g7 n! T% Z
  1595. ; allow Distributed-COM calls6 P; Z# F* w5 y9 _8 `( q. ^
  1596. ; http://php.net/com.allow-dcom$ }! z6 f& D+ q/ @& s3 h
  1597. ;com.allow_dcom = true
    % x5 B; K0 p2 }+ j
  1598. , U& Y  `& s* s& D1 V3 G
  1599. ; autoregister constants of a components typlib on com_load()
    & }  i1 i' c; a  X8 g8 P/ S4 d  b" c" _
  1600. ; http://php.net/com.autoregister-typelib+ |1 Q( I5 x2 e% a: ~: O. `: m
  1601. ;com.autoregister_typelib = true
    ) O1 }: {; |, R, h* ]! t* r; `8 v
  1602. 0 r- F  q8 e% c9 U
  1603. ; register constants casesensitive* [3 i4 t' S! \$ m4 V& T
  1604. ; http://php.net/com.autoregister-casesensitive- N/ F7 g, K/ U7 W; ]7 R
  1605. ;com.autoregister_casesensitive = false) q: I+ W) }% B8 s* j

  1606. , q6 E3 e; Q) v0 p! ]$ B+ j3 |" `
  1607. ; show warnings on duplicate constant registrations4 n0 @, I# E$ [5 @) ^% j3 u% w
  1608. ; http://php.net/com.autoregister-verbose
    8 i/ {; D3 k* f! P- M, {
  1609. ;com.autoregister_verbose = true0 N1 `: S7 }* l2 O) ~, m/ Y- p

  1610. + V. o. M  ]* q. w+ z- _
  1611. ; The default character set code-page to use when passing strings to and from COM objects." q& U! F# S4 J. n- Q9 D
  1612. ; Default: system ANSI code page
    % B; ~1 t( U( t8 t# |$ ~
  1613. ;com.code_page=
    0 f* J0 a$ G3 D) v4 ?' c) {

  1614. - J8 i5 y" t1 H2 Y" o
  1615. [mbstring]
    ; y; g9 E; U" g: _0 l
  1616. ; language for internal character representation.
    - R6 d4 u5 W; A6 R8 d# U8 i# z
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    + K2 W- ], f6 q
  1618. ; http://php.net/mbstring.language
    3 T2 J+ m  y7 L3 t
  1619. ;mbstring.language = Japanese- D! S* U: R5 X, u- H

  1620. # x4 T8 }- _* I0 T
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    + n7 q9 ]; Z& V7 O* M
  1622. ; internal/script encoding.! x$ D/ T, u  D8 {
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    7 B6 G% x) m: I7 z
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ) E# J$ Y0 t* q
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding- N& C: ~+ F- e% s2 s
  1626. ;mbstring.internal_encoding =& ^9 w3 X1 C7 i$ o. T. {
  1627. 1 h4 f. N7 C$ k- ]; w
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    & N; N) T0 O3 {. L, p
  1629. ; http input encoding.
    3 }4 V2 r2 k0 f6 U; F
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    8 ?7 y" p) v" u3 s$ {
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    : K6 p( t% U* h2 Y: C; y
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input* f! t/ S% _, F) D" y
  1633. ; http://php.net/mbstring.http-input
    - B* l0 N0 h8 w9 P; o
  1634. ;mbstring.http_input =. a+ E4 m! D2 r

  1635. 4 b) i- y$ O$ J3 r/ R. s7 T
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.& O: U* ?4 b" p
  1637. ; http output encoding.* G1 z3 w0 [& N* W
  1638. ; mb_output_handler must be registered as output buffer to function.
    4 t2 H* d) U0 E. R- @
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    ) J+ \' ~% o# f$ x9 K1 h8 t1 j
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output, [+ b! Q# m; V
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    ; ]6 c" e  }, ^1 r( \! \/ S
  1642. ; otherwise output encoding conversion cannot be performed.
    " @" ?2 V! }% u, s- w5 y9 F
  1643. ; http://php.net/mbstring.http-output2 p- r- q$ A) C3 G  v
  1644. ;mbstring.http_output =
    0 M0 V4 e) Q2 n; l1 @' S) _8 d- y9 J+ s
  1645. $ N; \7 ^' H6 v. z" s7 X
  1646. ; enable automatic encoding translation according to
    . x' N: y- w; Y! W
  1647. ; mbstring.internal_encoding setting. Input chars are' W& ?. t; D& C
  1648. ; converted to internal encoding by setting this to On.+ N+ x9 |+ X8 u! N6 d% ^* v
  1649. ; Note: Do _not_ use automatic encoding translation for0 `3 j$ J3 K, k1 k0 z7 H
  1650. ;       portable libs/applications.
    6 a, W; J" M- i- g
  1651. ; http://php.net/mbstring.encoding-translation
    & p" P0 b# d# ]% h
  1652. ;mbstring.encoding_translation = Off
    * R4 W* e1 {- g& C0 y  p$ `2 ^/ v8 C

  1653. + O1 I3 j* Y( ~5 o  n
  1654. ; automatic encoding detection order.- |, h/ x' l" M
  1655. ; "auto" detect order is changed according to mbstring.language
    , I  n) {" l" I
  1656. ; http://php.net/mbstring.detect-order/ w% o* K, v! e3 D% r
  1657. ;mbstring.detect_order = auto: V1 n, t# O3 H* \0 |

  1658. 0 z  L8 Q1 I4 m
  1659. ; substitute_character used when character cannot be converted
    * x: R; u7 q" [; c0 [
  1660. ; one from another) R+ x) P$ c* D2 E5 R8 Q" U
  1661. ; http://php.net/mbstring.substitute-character7 X- O7 j' M; Q8 t: l5 S" x) D
  1662. ;mbstring.substitute_character = none) m+ O1 O( f" ~/ E. z" {
  1663. " ~& R2 X  I4 X  j
  1664. ; overload(replace) single byte functions by mbstring functions.
    - Z* K9 j4 ]2 X5 d
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),0 \0 b" Z, I% A8 `, }3 s5 e1 r: G
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    & s/ T! |3 j, G; K
  1667. ; For example, 7 for overload everything.
    % _/ n" j' K  W) o- L' c
  1668. ; 0: No overload/ u; p3 c( j  w) V7 }
  1669. ; 1: Overload mail() function
    7 _* ~5 d, L) C8 g  I" i8 B0 j
  1670. ; 2: Overload str*() functions
    8 v  l9 E2 S; ]
  1671. ; 4: Overload ereg*() functions
    + g. l  A. e) \, o2 k; f" D- k
  1672. ; http://php.net/mbstring.func-overload! x  @' U) s! E9 f7 Z' G
  1673. ;mbstring.func_overload = 0: f% ]6 r1 ]0 O2 N8 A5 m
  1674. 1 `. C- i7 ?  X: @
  1675. ; enable strict encoding detection.. u2 B+ z2 G/ V- G
  1676. ; Default: Off) D5 b3 q* ]' {$ B  ]8 P/ c' [& B
  1677. ;mbstring.strict_detection = On
    4 Q0 j5 y1 F# @
  1678. ' M6 `) S3 f& ?9 e8 N' v
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    9 I' t2 V1 R7 n& w! o; n5 j
  1680. ; is activated.
    ! d, }: m$ ~/ Z' w  ]; e1 t- ?! Q
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)2 _& r9 G4 [4 o: ]
  1682. ;mbstring.http_output_conv_mimetype=* t& Z- o" ?7 b

  1683. & I5 p$ y. C$ }5 f
  1684. [gd]6 L$ M7 F% `6 P; \, V
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    9 p. Y5 V& N4 b% r( w1 I( b2 V
  1686. ; a gd image. The warning will then be displayed as notices* B' ]/ M+ e  h1 z, ]0 u3 G
  1687. ; disabled by default
    6 g  Z8 F6 h% n0 r3 R
  1688. ; http://php.net/gd.jpeg-ignore-warning
    & r0 P5 _2 o+ j# O" C+ C
  1689. ;gd.jpeg_ignore_warning = 0" w" y# h) b2 n
  1690. 3 W( S2 G' Z, k8 {# \
  1691. [exif]
    ) G& {+ w, e) [% c4 x# m% S: ^, L" x
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    ) K" b3 K; K$ g) O- t
  1693. ; With mbstring support this will automatically be converted into the encoding
    ; I9 q: H9 ^8 I+ m0 W
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding% B8 M" y1 f0 W( \" C. T
  1695. ; is used. For the decode settings you can distinguish between motorola and$ d, r4 ^- e) v+ r3 a" ~  f
  1696. ; intel byte order. A decode setting cannot be empty.
    9 t, t& b7 M5 o1 l
  1697. ; http://php.net/exif.encode-unicode) o' o  G3 s! O& q" T7 E
  1698. ;exif.encode_unicode = ISO-8859-15
    6 N8 i/ w1 t. K; @
  1699. 7 m* [  S* p* l& |2 n8 q+ Z
  1700. ; http://php.net/exif.decode-unicode-motorola8 Y) R  H: @5 u- A: h5 g
  1701. ;exif.decode_unicode_motorola = UCS-2BE! m& f( A: r8 c

  1702. 9 t4 c# n$ Z8 u  ]3 b9 M
  1703. ; http://php.net/exif.decode-unicode-intel
    9 D( y/ L8 N$ x
  1704. ;exif.decode_unicode_intel    = UCS-2LE1 h. k; L1 T2 W
  1705. 2 }; [2 g. Q( b. O
  1706. ; http://php.net/exif.encode-jis
    ) ]0 h4 q7 P0 w" I/ T* d
  1707. ;exif.encode_jis =
    7 D; w8 t. W/ G; l# G( I

  1708. 6 b' L% I2 @. L5 f3 f% j
  1709. ; http://php.net/exif.decode-jis-motorola
    & U" I2 {% c4 ]5 n) l
  1710. ;exif.decode_jis_motorola = JIS- s, Q0 A) ~! v# _2 n
  1711. 1 ~+ K9 W1 T2 n; [8 Y' i
  1712. ; http://php.net/exif.decode-jis-intel, @$ L7 J' y( g3 Z8 P9 Y7 g2 _3 K
  1713. ;exif.decode_jis_intel    = JIS. Z7 h! m3 j8 y6 p. J
  1714. 3 `  ~# Z- _! p* y
  1715. [Tidy]. i# Z* n0 ^! s8 i2 U/ O  N
  1716. ; The path to a default tidy configuration file to use when using tidy
    , l- p8 ?0 c4 a1 |4 m4 y: u6 \
  1717. ; http://php.net/tidy.default-config* U3 q& n; [( O% Z' n2 V. {  p
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg8 k' g  h5 I. w5 H& Z& u, h
  1719. - U/ s) K. K, E( }0 |" d  E* g! Y" A
  1720. ; Should tidy clean and repair output automatically?! x0 M# Q$ U$ I% J
  1721. ; WARNING: Do not use this option if you are generating non-html content
      L2 v( z4 y  y
  1722. ; such as dynamic images1 b0 A% ^6 N" |4 s
  1723. ; http://php.net/tidy.clean-output
    ) v, L4 Z% f. y8 h" x: O: |6 G' X
  1724. tidy.clean_output = Off" c1 p9 y4 O2 p
  1725. 2 q+ w: P( Q( J5 b0 u7 f- M/ X! g
  1726. [soap]
    5 Q. T( b2 p. n! r% P$ q. w
  1727. ; Enables or disables WSDL caching feature.
    , J: A7 f6 R3 l0 a, Z
  1728. ; http://php.net/soap.wsdl-cache-enabled  d3 f6 Q9 X  b. v- z1 c- n* J
  1729. soap.wsdl_cache_enabled=1* g1 x7 V- N! B9 _$ x

  1730. . e$ @  x6 [! _, ~  a" m+ _$ V
  1731. ; Sets the directory name where SOAP extension will put cache files.
    % k. f6 e" d- h; D9 c& y! i$ A
  1732. ; http://php.net/soap.wsdl-cache-dir
    7 b) N% ~, E+ ?, f/ f2 l
  1733. soap.wsdl_cache_dir="/tmp"1 i& c. I' ]( ]  M- M) @
  1734. & ~& z9 s+ }% }* t7 i& U
  1735. ; (time to live) Sets the number of second while cached file will be used6 F0 X5 i% ^- a
  1736. ; instead of original one.
    ) D. i2 N# S0 Y
  1737. ; http://php.net/soap.wsdl-cache-ttl
    2 g' n. I- v' L  J4 e9 T
  1738. soap.wsdl_cache_ttl=86400
    ! N/ ~( s( D( g3 t

  1739. : t% Y) h6 Z2 n) K2 J
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    ( V! N, Q, ~2 D6 _3 f9 i& C
  1741. soap.wsdl_cache_limit = 5/ V$ x* t6 n  s. V- V( K2 W
  1742. . }) d* ?7 B' [! B/ ~5 Q& y
  1743. [sysvshm]
    7 W; R* K  p# `- T7 j, E# n& N
  1744. ; A default size of the shared memory segment
    " Q1 e$ X4 B1 y* |: U) A/ J
  1745. ;sysvshm.init_mem = 10000
    & M  j1 q2 G' O1 q# U# R2 c
  1746.   y' r8 o* Y& W" V- I
  1747. [ldap]
    * a: _4 s# W" C& o
  1748. ; Sets the maximum number of open links or -1 for unlimited.5 L& m0 C5 Y4 r0 ^! Y8 K6 h& w
  1749. ldap.max_links = -19 ]* b+ k, L# M
  1750. : L1 i  t/ k. S5 y/ q9 L
  1751. [mcrypt]0 B( z- [+ g( Z7 t0 `1 q" g
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open, X& I: F) T1 r5 N2 F2 b% e, j

  1753. 3 N( B& d) r0 i% w1 ]& \7 y9 e
  1754. ; Directory where to load mcrypt algorithms5 r7 e: G, J+ d+ w' u% F7 Q
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)  C3 O- C8 p2 w7 ?5 u: }, y6 W; C% [, Y
  1756. ;mcrypt.algorithms_dir=
    9 b: f$ A9 `5 A* ?, Y+ O
  1757. $ g. Q+ b# h! S  A6 ^, J! J1 _
  1758. ; Directory where to load mcrypt modes& E1 v2 |4 m6 u1 M( \. k2 |/ ]" K
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    . q# z- {8 ?, R  C7 H  _6 U6 o& `
  1760. ;mcrypt.modes_dir=$ O5 {8 Z( C- ]) d
  1761. 1 Z5 ~5 ~0 i$ H/ R- p/ e0 _5 F, T
  1762. [dba]
    7 Q& s+ w8 b' j: E
  1763. ;dba.default_handler=) a! n; z! ]( m9 A4 m

  1764. 1 c8 F* Z3 K4 U3 {) Q
  1765. [opcache]( t8 H  L) [  K! g- y; G
  1766. ; Determines if Zend OPCache is enabled
    4 n4 k. q1 i( L# g
  1767. ;opcache.enable=0
    - S( V: [- d8 }, f' z1 y

  1768. 0 [/ P0 a' b% X0 j
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP9 y9 K" q$ y! e+ K8 B' p
  1770. ;opcache.enable_cli=01 |  L& F: }% b
  1771. , d3 S6 l& ?3 \6 K. e. b
  1772. ; The OPcache shared memory storage size.
    ! e0 Z9 a1 n8 z8 n% a
  1773. ;opcache.memory_consumption=64
    & b7 X/ |. R8 e. F# Z

  1774. 0 N9 e/ T$ K( |* W+ [2 t
  1775. ; The amount of memory for interned strings in Mbytes.
    6 J% R: z. |0 B6 P( p7 v
  1776. ;opcache.interned_strings_buffer=4( \% \! K' `4 H4 ~5 I- Z" A1 B- B

  1777. 4 j' D$ A4 X9 V7 {* e
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.; ^  t0 g$ D$ b" q/ e' p/ n7 P; c
  1779. ; Only numbers between 200 and 1000000 are allowed.
    . S: H6 ]4 C& d% q2 I+ g- U
  1780. ;opcache.max_accelerated_files=20005 o  Y  ^# K' m
  1781. % ]2 n$ b! @( j( ?) D
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.( |+ Z! m' ~& C) Y/ i: M- C+ A
  1783. ;opcache.max_wasted_percentage=57 f3 O. ^4 T! {8 ~
  1784. # S) r; @$ [) N
  1785. ; When this directive is enabled, the OPcache appends the current working1 w- H# C% R+ ~3 O- [$ G1 e
  1786. ; directory to the script key, thus eliminating possible collisions between
    4 x/ c8 T- \0 d. m2 u
  1787. ; files with the same name (basename). Disabling the directive improves( U) U9 q3 `' f- }: p
  1788. ; performance, but may break existing applications., a4 |' [' j: T! D
  1789. ;opcache.use_cwd=1# m5 D; m1 y9 z/ n& W
  1790. 7 p8 M* e% z5 J7 r  O) [
  1791. ; When disabled, you must reset the OPcache manually or restart the5 E3 r: s) U! C  u. x
  1792. ; webserver for changes to the filesystem to take effect.1 p" I6 o, L1 N
  1793. ;opcache.validate_timestamps=1( x2 E" c4 b$ ?
  1794. 7 n5 j, @( h6 t4 S' p1 B8 v
  1795. ; How often (in seconds) to check file timestamps for changes to the shared! E3 ?4 R1 [: I# u2 \5 S! J0 k
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    - h7 Y& p( C& y  v
  1797. ; once per request. "0" means always validate)
    # F. r! L* }# Q8 d. r
  1798. ;opcache.revalidate_freq=2  G  P  k0 ~- _3 y

  1799. 1 X& }: z) j9 j& T, j5 j0 X
  1800. ; Enables or disables file search in include_path optimization) m' v' T. `3 q
  1801. ;opcache.revalidate_path=01 T- r" p% _* [, i: N4 Y
  1802. 5 L& x9 `) R- u: D
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the5 l. q1 {% e" a* t0 _, l
  1804. ; size of the optimized code.( Q6 `, O( W# K  b) a& v, B  E
  1805. ;opcache.save_comments=1+ v9 P' C4 d) [- h( x( T6 V

  1806. . _3 r: c8 o$ ?9 |4 T3 D
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code7 j6 ]$ r2 x/ n2 a
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    1 F4 j5 l* `5 |8 U
  1809. ;opcache.fast_shutdown=06 M  m9 S3 y/ B9 m3 y
  1810. # ?  O  U9 J1 `
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    7 l% R7 b/ T6 ~- [" L4 [* y( |
  1812. ;opcache.enable_file_override=0
    & `$ J4 B* b; {. q' [
  1813. 0 K5 @( ]( p; z, i2 Z$ r6 Y
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache! {: c0 ]/ S- ?" H
  1815. ; passes
    8 _5 k2 r2 }& n
  1816. ;opcache.optimization_level=0xffffffff
    : |. L4 m7 }8 K4 b) I; n9 M. `$ T
  1817. 4 k( |$ }$ u, Z2 _
  1818. ;opcache.inherited_hack=1/ d7 l7 s" B4 S+ G6 W- g7 P. R
  1819. ;opcache.dups_fix=0
    1 b( Q4 }! J9 ]5 M# A0 K
  1820. ) K% C# S5 ~( |$ Y
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    0 C$ U# E7 H/ g" K9 \
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    & n5 `, C3 H$ j" P8 o" e; [" v1 G
  1823. ; that should not be accelerated. The file format is to add each filename
    8 s- S( P; o* g/ B9 |
  1824. ; to a new line. The filename may be a full path or just a file prefix6 Q2 r3 A8 @, L- X; g+ ]
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www" Z; O0 h4 V' _# @
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    9 R+ u. _" J, y( n/ h% p7 e
  1827. ;opcache.blacklist_filename=
    ' @. N: K6 c1 S

  1828. 9 ]# S) J$ i3 w- Q% n# O
  1829. ; Allows exclusion of large files from being cached. By default all files3 s2 o1 }* C. }* x. s  U
  1830. ; are cached.6 _  F3 r- E+ X- k" @
  1831. ;opcache.max_file_size=01 U# }! W4 m# G0 H5 ?

  1832. : ^$ ^# }1 ~' ?! ~! g, u
  1833. ; Check the cache checksum each N requests.; V6 F, b5 V# |% _( o
  1834. ; The default value of "0" means that the checks are disabled.
    5 q& j. m2 _8 c5 i
  1835. ;opcache.consistency_checks=0
    5 ~$ n' i2 U! v: i
  1836. 0 `  Z# e4 i5 O: o7 H$ X
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    : E* f# T& V4 {5 E9 q& r
  1838. ; is not being accessed.
    3 \0 ?9 P7 J3 p& N
  1839. ;opcache.force_restart_timeout=180
    9 n2 D& }+ b+ d
  1840. 4 o% f: s  R/ z& E% k' d! D4 @
  1841. ; OPcache error_log file name. Empty string assumes "stderr".) I" k) ~$ j4 {, P
  1842. ;opcache.error_log=) c6 L  k& @- L5 b% v2 k" q# y
  1843. 6 V0 }3 [& f; H: B# o" N# G
  1844. ; All OPcache errors go to the Web server log.4 _" \1 ~' u. B: V' o4 K' [
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    1 g8 Q! F1 _  }3 t
  1846. ; You can also enable warnings (level 2), info messages (level 3) or, R5 ?/ s1 [0 X/ V3 ~, g
  1847. ; debug messages (level 4).5 R& t' o& j" X
  1848. ;opcache.log_verbosity_level=1" U6 x  h' q9 M8 C( S

  1849. ' b% M. S/ e: u
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.+ ?" Z$ c, H+ _7 r! ?' x; q) S* g
  1851. ;opcache.preferred_memory_model=, O+ t$ G8 Z9 q

  1852. 7 m1 N$ w8 O6 t& {: s/ ?7 g
  1853. ; Protect the shared memory from unexpected writing during script execution.
    ! F+ W7 s  v$ Z# N
  1854. ; Useful for internal debugging only.( `! F9 _  Z, ~0 d' k
  1855. ;opcache.protect_memory=04 I, q0 G5 S7 h
  1856. 2 C: [5 K- W& x9 q  n
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is4 e3 }8 C! V2 c/ A8 Y, i
  1858. ; started from specified string. The default "" means no restriction
    & H1 I& z& ~+ k, c" M0 n2 g* m
  1859. ;opcache.restrict_api=7 G: ?4 @# l% ^+ Q+ x5 n

  1860.   S2 N4 I* ^* j8 k/ f
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    1 v, J% @( p% ~/ V( R
  1862. ; processes have to map shared memory into the same address space. This5 o/ D! t) @0 R5 K" @
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    $ A. D: T, b( D/ d0 m$ c6 |
  1864. ; errors.
    3 r/ o: U( R' q9 F5 E# G
  1865. ;opcache.mmap_base=7 x+ g8 {  b  C! p; x) C$ K1 C

  1866. 6 P/ E/ R; q! f
  1867. ; Enables and sets the second level cache directory.
    : g$ I$ J( d# M% k& A1 J/ a( t
  1868. ; It should improve performance when SHM memory is full, at server restart or
    2 q3 \- W8 h; o4 N& I; a5 ^
  1869. ; SHM reset. The default "" disables file based caching.
    ! o! g, B$ ]* a7 n  E% o( X
  1870. ;opcache.file_cache=
    . B) I1 W% J1 I5 T

  1871. ! Y9 X7 y2 y% \
  1872. ; Enables or disables opcode caching in shared memory.
    9 j0 {" x9 M: b6 e% j! F
  1873. ;opcache.file_cache_only=0
    3 e; q" G0 }" N7 ^4 U) C

  1874. 0 @3 V( n9 B, p; {. r1 D% M$ ?$ z
  1875. ; Enables or disables checksum validation when script loaded from file cache.8 |3 u1 s+ s. X( d
  1876. ;opcache.file_cache_consistency_checks=1( `% m5 ^" D) p* f4 U/ l
  1877. 6 e, E7 G1 i  G; ?- m
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to% {! e3 i4 J- R6 \9 G; ~1 W. X
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    & I/ u, X$ L% U2 k1 p: ~) s; ~
  1880. ; cache is required.
    9 w+ L, q5 o% |) @+ O" T+ g* D  G7 d
  1881. ;opcache.file_cache_fallback=1
    0 P- A. N/ V2 ~" ~5 F

  1882. & O- @" z- w! `9 E# v
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.% O9 m  e; O+ ~' s
  1884. ; This should improve performance, but requires appropriate OS configuration.
    : W, y7 L) Z6 [
  1885. ;opcache.huge_code_pages=1, b0 A6 a. l& N) c  N* k
  1886. " Y! Y. G7 C* i
  1887. ; Validate cached file permissions.
    % P, R  Z) @* r% y- n
  1888. ; opcache.validate_permission=0
    0 w8 H% n8 _' Y3 U
  1889. - T6 @2 U4 |2 O3 b" e
  1890. ; Prevent name collisions in chroot'ed environment.
    % F# `+ J& ~/ d6 S) t7 W
  1891. ; opcache.validate_root=0
    - K& H) f/ @' z4 R+ j$ {" s

  1892. 3 S( s0 G' x7 K3 a9 e
  1893. [curl]8 I6 w& o+ ~2 |2 c2 x
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an- N; b; P# W$ o- [8 h* f
  1895. ; absolute path.5 H- R2 H2 `3 K$ n
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt/ c! Z& t# E. C/ q3 g
  1897. * ?4 N' e5 V, Y5 r9 U
  1898. [openssl]
    4 o% l/ m; K6 J( T8 q3 j
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    0 G5 r  L* D! ]4 ~
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should  ^% u' x! L! _/ b: A1 a
  1901. ; not specify a value for this directive as PHP will attempt to use the7 X) K3 @( `2 Z. o6 I
  1902. ; OS-managed cert stores in its absence. If specified, this value may still" @: m' u7 T. e" ]) p! y& ^; g
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    + T& A/ O  p; j
  1904. ; option.0 z+ i: ~) b! o8 `; U# @; n
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt3 K7 D# k7 X( _) l6 R- E6 \
  1906. + H& U( k& @! Y/ n
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    / h& n' g8 H6 z& ]6 y5 K7 I
  1908. ; directory pointed to by openssl.capath is searched for a suitable: m% Q6 [9 l' s
  1909. ; certificate. This value must be a correctly hashed certificate directory.! [& l4 h4 C2 h$ Z
  1910. ; Most users should not specify a value for this directive as PHP will! a0 x' e2 F8 D; }
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,& r5 d( I4 m1 V! O3 H+ X
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    % |2 c2 H( O! G0 R. V! M1 Q+ b
  1913. ; SSL stream context option.0 P. W( X" A8 N- }
  1914. ;openssl.capath=' h* |* W' W/ Q) `
  1915. 4 W; w* J+ v! t( o: T
  1916. ; Local Variables:
    , F; U3 w% j. ^0 L8 u
  1917. ; tab-width: 45 [9 F; w7 }+ A* L/ ^/ e* Z) b
  1918. ; End:/ W% w, K9 R, e: d
  1919. " P; _+ J; h+ ]9 [" G7 r7 Z6 m
  1920. ;eaccelerator0 l; i( z: u0 O6 h

  1921. 0 z. }- M9 |: e& Z9 _( M* @
  1922. ;ionCube. c+ f( i( x# d  P2 I
  1923. & F* v3 [2 l( s2 O
  1924. ;opcache
    3 A  a+ m4 Y, D# j

  1925. ! W3 v8 P! X8 f
  1926. [Zend ZendGuard Loader]/ e3 R: F1 {' k, W1 ~7 K# _
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    / O( A; I+ E, @: P3 g
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    * \" N/ y' y) H. F
  1929. ;zend_loader.enable=17 H3 W  u# a! b% }  l
  1930. ;zend_loader.disable_licensing=0
    : e4 M  k: Q/ D. R% |7 _! A% t
  1931. ;zend_loader.obfuscation_level_support=3
    * _. L9 L! ]; j3 h/ @+ Z/ {" t6 |
  1932. ;zend_loader.license_path=
    $ T, e$ S! X: @

  1933. 0 S8 D$ _: Y! m# W6 V. w1 G
  1934. ;xcache
    - ~2 U& [! s8 `4 ~6 x1 S
  1935. ' ?5 u8 S, E& F5 R: U: G' E+ L
复制代码
0 @" @# N- U$ {( N$ ?6 m
. R! ]$ F/ ?7 B4 h$ [8 G
& G8 W- Q+ q, U4 V9 H5 s/ V

+ u: o0 R  p! N6 v0 s
* W9 O6 [. o5 q
4 \7 ^0 Y1 A! ?0 {, ]  E; K, V; a/ Y* Y* v/ F* n' `- F
PHP5.6版本原始设置3 X- d' a& O( m) W2 s

, c2 e5 _8 A) T$ M9 U8 Z
  1. [PHP]
    7 e! \% R8 K' M
  2. ) ~0 f7 Q% v& _7 I9 |1 E9 U3 j4 Z
  3. ;;;;;;;;;;;;;;;;;;;6 G4 V3 q( X) R* K' P
  4. ; About php.ini   ;. j% F7 S" h/ B+ B8 D0 L
  5. ;;;;;;;;;;;;;;;;;;;
    ' Q% k. K0 z# s/ E1 [8 }" G
  6. ; PHP's initialization file, generally called php.ini, is responsible for/ [. T/ v! r6 \- u+ h5 c
  7. ; configuring many of the aspects of PHP's behavior.
    9 `$ b6 V! E: A* O+ g" y9 |0 L+ }
  8. : W+ v5 r& l/ V2 K4 `: y0 Q
  9. ; PHP attempts to find and load this configuration from a number of locations.
    " f4 k* z* m4 w
  10. ; The following is a summary of its search order:
    * U$ q( y- A  q5 i2 j- v
  11. ; 1. SAPI module specific location.
    ( i& f" X* o! M. _
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    ' C6 e- v0 Q7 z4 }$ \
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    1 P3 V- |: T/ T' Y, B+ i, n6 C
  14. ; 4. Current working directory (except CLI)! ^7 B: U! W; A: c2 o, e
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    7 W9 R: I) e6 w1 e, V( L5 L
  16. ; (otherwise in Windows)$ m  N: i5 A8 ?, D
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    6 o( V4 K( d) b+ f
  18. ; Windows directory (C:\windows or C:\winnt)3 O7 T, y2 N0 I5 L3 }% X8 m% q
  19. ; See the PHP docs for more specific information.
    % F  [0 H9 p% w3 K$ D9 F8 ~
  20. ; http://php.net/configuration.file
    8 C0 j( v% r# a/ {; k
  21. " m6 I- a  \1 m! L. q
  22. ; The syntax of the file is extremely simple.  Whitespace and lines4 C9 ~" Q/ T" V5 [
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    ; T/ w( [6 L* u* L" C2 l: M: o" D# a
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though4 t7 E! z' l  l! K7 [# p
  25. ; they might mean something in the future.
    " b( e% H( O5 N  `
  26. $ R% E% ~3 u/ K1 F- [7 V+ J
  27. ; Directives following the section heading [PATH=/www/mysite] only
    & h8 U/ e% n0 q2 U$ |; h5 k
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    # u% e4 ]- A$ b9 T  V
  29. ; following the section heading [HOST=www.example.com] only apply to
    ; F' _. E& ^# @: ]+ l; l
  30. ; PHP files served from www.example.com.  Directives set in these. M; u! Q: S0 A: @# {8 o* g
  31. ; special sections cannot be overridden by user-defined INI files or6 N9 C  D- a; g1 B) t2 f; {
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    3 u, e! x# v3 l" M
  33. ; CGI/FastCGI.4 ~. E* t- ?8 S1 L! y
  34. ; http://php.net/ini.sections
    % t5 Y* K7 U/ c7 a' {+ H" `

  35. 3 Z% Q& y' l0 Y  `; X7 c
  36. ; Directives are specified using the following syntax:' b$ y8 T. i  Z" [& \" K
  37. ; directive = value
    0 q6 y- ^) ]. v' _
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    6 G. Y8 w8 h! P
  39. ; Directives are variables used to configure PHP or PHP extensions.
    , X5 c4 w, m- D& I
  40. ; There is no name validation.  If PHP can't find an expected
    ( g: ?' e$ j$ c: N5 D
  41. ; directive because it is not set or is mistyped, a default value will be used.
    : z9 C4 e( ?2 p( N: A* F- j& u9 W
  42. 6 e7 V* w2 Z/ p2 Y. e
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one4 R2 ~. f" B8 @. k
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    + }2 e" f5 t+ g) [
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    7 a8 ]* I/ m9 N' r
  46. ; previously set variable or directive (e.g. ${foo}), N7 p) A" L/ r6 V. w9 |* w

  47. % x/ @( T+ m' V5 a8 T- j
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    , @; y% T- M; u, I: a. Q' r, V3 a
  49. ; |  bitwise OR: y: d. K$ b1 q6 E. A2 v, u
  50. ; ^  bitwise XOR
    " c6 J/ q( U" T% ~) o) E( M, _8 z: w9 k
  51. ; &  bitwise AND
    : X1 q; R2 ^2 m- K
  52. ; ~  bitwise NOT8 Z& ?  v% r* T* ?
  53. ; !  boolean NOT1 H: v- i8 a. A* K! L2 \/ o
  54. 7 m! \6 o  a3 n/ r# I
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.3 d, q, k( i+ x
  56. ; They can be turned off using the values 0, Off, False or No.
    ) e1 c& e8 k  g
  57. % X8 i2 ]+ i! m( v0 `. p
  58. ; An empty string can be denoted by simply not writing anything after the equal
    " x. C9 V  t7 A( g8 t  F) [' `
  59. ; sign, or by using the None keyword:8 X9 q/ t$ f4 O  `6 w# P4 w5 s

  60. ' \: b: C( S8 [. S
  61. ;  foo =         ; sets foo to an empty string: ?8 A. r3 Z& O9 }" }
  62. ;  foo = None    ; sets foo to an empty string
    : s, _" I2 |% J/ I  U
  63. ;  foo = "None"  ; sets foo to the string 'None'  ?. S4 v0 y0 x% c% g

  64. $ C0 o# ^0 W, |  P1 w- ?" [
  65. ; If you use constants in your value, and these constants belong to a$ r  c% c, z" H' @6 u6 t. J
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    . Z9 b3 U4 Y# t( d& Q
  67. ; you may only use these constants *after* the line that loads the extension.
    8 k! |( C5 G$ ~9 [$ Z3 @' Y

  68. 8 |1 [- b0 ~' h: Y5 j: T
  69. ;;;;;;;;;;;;;;;;;;;
    / N3 _6 J9 f& K
  70. ; About this file ;
    , y: X0 ~* s6 h$ B1 ^5 W, \0 ]
  71. ;;;;;;;;;;;;;;;;;;;
    0 ?: A) G4 K) [/ G8 s: T& p$ O
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    : F6 y, O/ T2 E" j! F( h! c
  73. ; in production environments and one that is recommended to be used in& X% ^" ]5 h! C
  74. ; development environments.
    , L! R1 ~% |+ X
  75. ) q& J8 G5 \. U4 h( w3 B& H! o
  76. ; php.ini-production contains settings which hold security, performance and
    3 Z) _$ ]* k1 D! ~$ b
  77. ; best practices at its core. But please be aware, these settings may break/ e. w6 h4 b/ K4 T; R1 K7 ]1 @
  78. ; compatibility with older or less security conscience applications. We
    / P& P, D: \" S4 g4 M, g, n& g+ O
  79. ; recommending using the production ini in production and testing environments.
    - |) T1 y# D2 N) B9 m

  80. ! Q6 R) f( t6 _/ @2 z0 C$ G
  81. ; php.ini-development is very similar to its production variant, except it is
    1 C6 Z, i/ y( N8 ^% b
  82. ; much more verbose when it comes to errors. We recommend using the
    5 H# F# e4 v4 U4 w
  83. ; development version only in development environments, as errors shown to& q0 e% r9 S8 {5 r+ J% B
  84. ; application users can inadvertently leak otherwise secure information.9 z, y: p, V) K7 o4 A
  85. ) g' x( J; u- H1 t$ B0 H% |, ~
  86. ; This is php.ini-production INI file.
    ( N& i* C1 U" Q- X& P

  87. " u+ v, w+ q3 m9 M" p2 g
  88. ;;;;;;;;;;;;;;;;;;;
    ! A4 y9 D, Z% p3 u! G
  89. ; Quick Reference ;
    * c' Q. f6 ^" _" m1 F
  90. ;;;;;;;;;;;;;;;;;;;
    4 p, P# ]1 `2 @, F- V- [# O
  91. ; The following are all the settings which are different in either the production
    + m" S$ Y. C% _* P& \* ~
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    ! M1 Z6 F( q+ P" R. a" X, {
  93. ; Please see the actual settings later in the document for more details as to why
    * P# V8 A  t1 j; s3 `% R
  94. ; we recommend these changes in PHP's behavior.0 I& b/ @3 t# ^; i- C) i  _

  95.   k2 L! }1 Z% R0 C/ U
  96. ; display_errors1 S. x3 l4 Q, n" |% W2 y9 P$ Y% ]
  97. ;   Default Value: On' m) `  e) E5 W. G
  98. ;   Development Value: On
    ' v1 V% H# I% E( M
  99. ;   Production Value: Off9 T. L) a0 z" Y! J) ^

  100. 6 E. A* Q/ W& Y1 `9 H6 P* j
  101. ; display_startup_errors
    ! g5 n/ V! g" g4 m
  102. ;   Default Value: Off
    ( m  _) D) D8 b1 I1 X7 t  g; e
  103. ;   Development Value: On( l3 z3 b4 G2 I( o( s( v& o0 G
  104. ;   Production Value: Off
    ( y  Z" H3 q5 ~1 c1 Y
  105. ; j( |+ Z, l' w. t
  106. ; error_reporting
    6 D" ^/ Z7 q/ ^3 l! r& V  V
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    0 Z/ Y" o, G4 l7 c( e3 q8 M
  108. ;   Development Value: E_ALL
    # x4 k0 h' ?( v  X
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT4 t' ?8 n+ {) H1 Y) }

  110. 1 J  N& J" [* r' M; b
  111. ; html_errors) b( u& ?1 r% ^% d
  112. ;   Default Value: On
    8 J# K3 p. A9 q' j$ c0 P0 u5 k. Z
  113. ;   Development Value: On% L1 o* E6 k. A, w
  114. ;   Production value: On6 s  s' h: R5 R) l- M: M8 v
  115. ( n# s# E5 C+ z! s
  116. ; log_errors
    ) m9 |2 d: S& J( u/ M' Y/ `  n
  117. ;   Default Value: Off
    ) \/ X! r) N2 y" [$ E) _
  118. ;   Development Value: On0 m0 N' ]- P+ I7 Z
  119. ;   Production Value: On% z- b; D9 z1 O, _4 M/ c

  120. - R/ x0 b# Q8 v5 d7 N$ P6 A
  121. ; max_input_time- C7 J7 `) f5 K: T7 d+ {, t1 u
  122. ;   Default Value: -1 (Unlimited)
    - p) ]: @3 m+ r! _/ X$ m5 r( p! M
  123. ;   Development Value: 60 (60 seconds)
    ' X. i& @* q6 ~
  124. ;   Production Value: 60 (60 seconds)
    ! s) J* z! w- ?9 l
  125. ; ]: I$ U+ d3 f# E8 Z0 F( {: a7 H
  126. ; output_buffering9 g- A8 }0 x! [& g
  127. ;   Default Value: Off
    - M6 C5 N! w. C& _0 M% G6 U  M
  128. ;   Development Value: 4096! o: V$ ]$ r7 E. y0 v& R
  129. ;   Production Value: 4096( k. Z5 F" x9 H) S3 m: ^- G
  130. % |% }8 l# C" c9 L
  131. ; register_argc_argv" q3 D7 m- W- u. T
  132. ;   Default Value: On
      F$ q/ T$ a( @) I3 ]+ ?  i/ J2 E
  133. ;   Development Value: Off7 T( F2 F  j" l* u
  134. ;   Production Value: Off
    : y: t. x5 T: h; H  w1 Q# P
  135. 7 M# ~" g! y0 H+ ]  t) g7 {
  136. ; request_order
    ; S3 D  x6 ^! z3 C! g
  137. ;   Default Value: None
    1 C* y- K0 r9 l( O7 @$ q, R' k/ ?
  138. ;   Development Value: "GP"
    6 W% t7 x  ~& o( l% [  n" x; U; v" g
  139. ;   Production Value: "GP"; ?' _3 V6 X+ b! X
  140. & }+ `/ V+ T7 q' _6 x/ w9 M# j
  141. ; session.gc_divisor
    * x# h! |4 N2 H3 ]8 [! n0 i
  142. ;   Default Value: 100& @4 f6 f# @0 p! f( {7 w
  143. ;   Development Value: 1000
      I6 V! `9 c& R( c$ e2 F5 c; [
  144. ;   Production Value: 1000% x5 n6 u- O* i! u5 U1 m

  145. ) I3 W4 P# F/ v! m9 e) g
  146. ; session.hash_bits_per_character
    3 X6 G3 n6 A  q: m3 M* ^, q/ Z4 u
  147. ;   Default Value: 4& C6 ]7 ~3 u8 R5 d
  148. ;   Development Value: 5
    0 K: ?; G. r, r4 w
  149. ;   Production Value: 5. R2 m- ^9 ?* O1 }
  150. ; a- G/ v" r. x0 }8 q! P
  151. ; short_open_tag  @( J: p- Q# u$ O/ K7 \7 F
  152. ;   Default Value: On
    # k8 S2 N& G' A( r
  153. ;   Development Value: Off1 z* Y: @$ a: F2 w
  154. ;   Production Value: Off8 e: ^2 _2 \+ v- k& C
  155. 0 V7 y9 ^( ?8 p9 b2 I
  156. ; track_errors# x+ V4 Q1 U/ M1 Z! G
  157. ;   Default Value: Off
    0 R0 J+ x5 I7 F* B9 b! p1 f
  158. ;   Development Value: On# D& v+ \/ z; A/ o3 V8 @+ L+ g
  159. ;   Production Value: Off
    ! \& h, o+ m% Z$ f  K/ L7 [! ]
  160. ( X9 s! F6 Q- `5 A! H
  161. ; url_rewriter.tags
    + W6 [  [0 H* V- n. g* \2 P* b5 A7 A
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="0 ^- ]% A; p  |2 R& _: ^& u
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"6 e4 e, C* J/ c) Q
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    . o- }9 \2 R5 X3 E1 E1 |+ A
  165. 0 I  _( O% `3 _
  166. ; variables_order
    - j4 h7 X7 m" {1 ]5 C
  167. ;   Default Value: "EGPCS"* }- y, Z  }! r! \' P) u
  168. ;   Development Value: "GPCS"0 U& X. k2 H8 J4 Q' k- K
  169. ;   Production Value: "GPCS"9 D" c" a+ G0 \" K8 C
  170. ' N8 d4 W& }; h/ m* q- Z' q; X
  171. ;;;;;;;;;;;;;;;;;;;;' C9 a" |3 |1 a' T$ u
  172. ; php.ini Options  ;7 _* I9 G8 W  Q7 P2 X* r: W
  173. ;;;;;;;;;;;;;;;;;;;;
    3 B- t: B- F8 r" ?, p3 H9 p
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    6 l4 F1 M9 J' b
  175. ;user_ini.filename = ".user.ini"
    - L& y0 V0 d( e! W; d! v& P
  176. % p* s+ }7 v% H1 V/ ]" f. B' `
  177. ; To disable this feature set this option to empty value  E1 F2 l; a+ t+ v' m: ]
  178. ;user_ini.filename =4 n9 X' T% p- k7 s- b. o( g

  179. " U6 S% |7 U; r
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    9 ^* D- [9 i6 I
  181. ;user_ini.cache_ttl = 3001 I  m8 U( o# t# g: d- c, p) h$ j/ x9 Y
  182. 8 z- v1 V/ @8 n) H5 K8 d# C+ r
  183. ;;;;;;;;;;;;;;;;;;;;
    " v; a0 f$ h9 z
  184. ; Language Options ;  _& h2 P* ]. j
  185. ;;;;;;;;;;;;;;;;;;;;
    . k9 A  l* ^( E. Z+ c6 j7 R

  186. 4 B# W7 H0 v' w% [0 C8 N0 @
  187. ; Enable the PHP scripting language engine under Apache.4 E5 ~1 q$ _6 v; }4 X& Z% Q
  188. ; http://php.net/engine
    : u+ e* w# ?9 J( f# T! k
  189. engine = On
    ( r  d7 ^0 ?3 ?0 `4 n
  190. 3 A' u6 u- Z4 g- d
  191. ; This directive determines whether or not PHP will recognize code between, J$ `: |* e4 E
  192. ; <? and ?> tags as PHP source which should be processed as such. It is% A& p$ d7 ^9 k0 g* `  E/ r! g7 ~* \
  193. ; generally recommended that <?php and ?> should be used and that this feature
    8 {. J8 ^" C; O) R
  194. ; should be disabled, as enabling it may result in issues when generating XML
    ( ]- Z: e& ?6 i
  195. ; documents, however this remains supported for backward compatibility reasons.
    6 J: W% B& ]- Y/ F- R8 v" L. P! x
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    - N, X" v/ _0 Z* A0 B, w1 g3 i
  197. ; used regardless of this directive.
    - N1 d: ]  K( I9 {2 r% e) }, u
  198. ; Default Value: On3 K$ t3 z+ O3 m& n
  199. ; Development Value: Off
    1 Q$ b2 Y+ V& O
  200. ; Production Value: Off* i# s1 w" U  e" z; o6 x
  201. ; http://php.net/short-open-tag
      t% s( G" b- ^! l; d: r
  202. short_open_tag = On* o8 A( s: I+ I" }; w

  203. $ b" H6 g) m% W' G' ~8 [0 S, G
  204. ; Allow ASP-style <% %> tags.) \' @& K* z+ V3 o6 t
  205. ; http://php.net/asp-tags
    & A3 F7 `! a: y; ?2 ^7 |/ x
  206. asp_tags = Off
    ( T1 ]- ?6 O+ v: R0 ^

  207. * L, ~# J2 `& ~$ h) k1 Y' p
  208. ; The number of significant digits displayed in floating point numbers.
    ! g! @" N2 W/ _2 g) b. \8 _
  209. ; http://php.net/precision4 b# z6 M# H" @3 j2 w1 o- c
  210. precision = 14
    0 [' A, [7 ~  E

  211. 4 h( W( `4 |- ~4 r
  212. ; Output buffering is a mechanism for controlling how much output data
      g5 F/ h9 z) s) ?! D% C
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that* B# _% ?4 }# C8 \7 Q
  214. ; data to the client. If your application's output exceeds this setting, PHP2 F3 P$ }9 P8 t. f. r
  215. ; will send that data in chunks of roughly the size you specify.0 @9 P, E- d& n) T
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    - C- F# M7 Y1 C3 W0 V) Y
  217. ; interesting side-effects depending on your application and web server.
    $ m/ m8 A$ @! v
  218. ; You may be able to send headers and cookies after you've already sent output
    , g3 [; E# L* u+ s$ L
  219. ; through print or echo. You also may see performance benefits if your server is  [0 @; j+ t  m, [5 W5 S; k; [: g
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    , A8 P% q+ {6 t  N' w0 [
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    7 u- f  C( f4 D* [
  222. ; reasons.
    / p7 f: g' h9 x5 I
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    & G( T  \( G1 T! p! a( b, d
  224. ;   functions." p, g( b& X/ [# u! Y* `/ S
  225. ; Possible Values:
    , W: K6 |$ q/ T
  226. ;   On = Enabled and buffer is unlimited. (Use with caution): B* `; m" Z9 j
  227. ;   Off = Disabled2 |* q+ ~9 I8 A: j# Y3 p: O
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes./ l, m  D4 R8 ^
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI9 b# @8 Z& ~+ c+ s4 M% ?
  230. ; Default Value: Off
    7 i+ Z+ d, U0 N: [% T
  231. ; Development Value: 4096
    - n3 Z- X9 W( s" [6 `
  232. ; Production Value: 40960 Q- a7 X8 b5 f6 J  e& u  s* m
  233. ; http://php.net/output-buffering
      g7 w  S* E$ G2 R
  234. output_buffering = 4096( O, |) [4 {) ?" I. q' \  E

  235. . M+ ?  ]% L& m: O5 j
  236. ; You can redirect all of the output of your scripts to a function.  For" }( b/ ^9 P* D, D6 f
  237. ; example, if you set output_handler to "mb_output_handler", character6 k# O0 ?( k% \  s
  238. ; encoding will be transparently converted to the specified encoding.
    + ]4 z/ f; ]. L: c$ i- W( g9 u8 h" o
  239. ; Setting any output handler automatically turns on output buffering.2 M6 C6 I' \3 @0 F
  240. ; Note: People who wrote portable scripts should not depend on this ini6 j: @& j7 M$ L- @# @% Z" v
  241. ;   directive. Instead, explicitly set the output handler using ob_start().4 R+ Z" A% R2 O, h  p  I' D
  242. ;   Using this ini directive may cause problems unless you know what script+ U$ t0 D9 o& c6 J$ z- m( G
  243. ;   is doing.) n  B- w- }) E4 i5 c
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"% x. W6 I) E: ^, h' o. z
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".; F6 q6 O; w: C6 x
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    # j' V) y6 s$ @1 a/ W4 g* h
  247. ;   Instead you must use zlib.output_handler.' v8 ]  c' V! X; E5 {- v
  248. ; http://php.net/output-handler6 O3 g" L+ A) z% a1 k) A/ s  \* j
  249. ;output_handler =8 l2 E+ a, o3 {/ V" P$ v0 j! t" Y
  250. " e- K, u: j$ I( Q  ~3 N
  251. ; Transparent output compression using the zlib library, M9 k% |5 G. l' N6 ~6 f
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    1 m5 d/ d) Z9 J$ X" m" T
  253. ; to be used for compression (default is 4KB)
    , n) m& }( @( V& C
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP* ^6 i5 |0 Z0 A
  255. ;   outputs chunks that are few hundreds bytes each as a result of9 T3 l8 W6 V" G2 J
  256. ;   compression. If you prefer a larger chunk size for better8 m  t) w- b/ h& l) Q
  257. ;   performance, enable output_buffering in addition./ |& O$ G/ |( e# H; W
  258. ; Note: You need to use zlib.output_handler instead of the standard
    - `, C5 s" r- _$ s" ~8 I6 R
  259. ;   output_handler, or otherwise the output will be corrupted.. z8 f( G" z# @2 F+ _5 Q
  260. ; http://php.net/zlib.output-compression# X* V! r. R, W0 |  o
  261. zlib.output_compression = Off
    ( m% H/ K% E8 g0 B7 E2 u6 s: f
  262. . h; [% p- u% g" [7 ?0 w$ `: ~
  263. ; http://php.net/zlib.output-compression-level
    * D3 C( L; d: d. }, Q9 Y# w" R
  264. ;zlib.output_compression_level = -15 x5 b3 E* _  v- `+ @

  265. ! ?; ~! O: k5 y; J. f7 {
  266. ; You cannot specify additional output handlers if zlib.output_compression
    $ h" v- J- r" T, f5 L
  267. ; is activated here. This setting does the same as output_handler but in. B7 ]% b' [# d
  268. ; a different order.
    ( B# E. z0 y3 P- @/ C1 ]
  269. ; http://php.net/zlib.output-handler
    8 }) _0 Z4 s7 n  L- s" `8 D) ?4 h3 y
  270. ;zlib.output_handler =. z- m3 ?8 ]; r* P! v* _

  271. 9 N& Q$ @& Z. E* }3 D+ l+ L+ c
  272. ; Implicit flush tells PHP to tell the output layer to flush itself- ^  y3 A. d8 \% R8 l2 m0 h3 i
  273. ; automatically after every output block.  This is equivalent to calling the) n6 n8 Q- T# W" R
  274. ; PHP function flush() after each and every call to print() or echo() and each
    3 ]3 f' ]# r; C9 L! V7 @
  275. ; and every HTML block.  Turning this option on has serious performance/ H) o: g  E7 ~# {& H& D+ `6 J6 M; B
  276. ; implications and is generally recommended for debugging purposes only.$ O8 v: ^& m& A3 Y. P" T
  277. ; http://php.net/implicit-flush
    ; a0 k9 _" r  p5 e" m- ~
  278. ; Note: This directive is hardcoded to On for the CLI SAPI$ n' v+ S" w4 N: }: v5 J: @6 l
  279. implicit_flush = Off
    $ {+ k4 D* V" \
  280. 5 u# b6 Z2 i, ~4 y
  281. ; The unserialize callback function will be called (with the undefined class'  \1 A# w. D' z6 a  k
  282. ; name as parameter), if the unserializer finds an undefined class$ Q% l7 k/ ~1 ?) t  J  e7 o
  283. ; which should be instantiated. A warning appears if the specified function is; d: h; j/ `: h
  284. ; not defined, or if the function doesn't include/implement the missing class.0 o; `+ s: E) K+ }& U* ?0 i
  285. ; So only set this entry, if you really want to implement such a3 L2 v- Z% q3 v, f2 t3 I" e+ s
  286. ; callback-function.
    . n, D( F. \1 v; E4 F2 h
  287. unserialize_callback_func =
    * @% d' A3 r# k5 p/ F& Y% B* B7 Z2 c
  288. # ~$ F- m! f3 x! L
  289. ; When floats & doubles are serialized store serialize_precision significant' F: C4 Z' `, j2 X) y7 q& Q: t- [
  290. ; digits after the floating point. The default value ensures that when floats. L2 ^. x( r9 I7 l" Q! U& i
  291. ; are decoded with unserialize, the data will remain the same.1 L+ n' t2 ], v& C* p# G
  292. serialize_precision = 17
    8 B! e, B* k! `/ [( X# ~3 h7 b

  293. . U+ n1 ]9 [5 I0 E- |
  294. ; open_basedir, if set, limits all file operations to the defined directory
    / D5 ^1 F& {& B  w6 j
  295. ; and below.  This directive makes most sense if used in a per-directory
    % \9 R7 F) {6 _0 ?7 _
  296. ; or per-virtualhost web server configuration file.8 f) y" u* o& N3 y: x4 o$ l
  297. ; http://php.net/open-basedir
    " p5 V6 R3 G8 s
  298. ;open_basedir =  `2 F: J+ o  j- h
  299. ! I2 ?* M8 \3 ^/ ]' [. |
  300. ; This directive allows you to disable certain functions for security reasons.6 H  Y& w# Q) }) H; m
  301. ; It receives a comma-delimited list of function names.
    , q, p6 Y; e7 ?# T* J
  302. ; http://php.net/disable-functions
    % {2 S$ z! I/ j: u4 Q- h$ t
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    & u: H$ z+ o1 `6 l0 @
  304. ( P+ \& r+ \% c
  305. ; This directive allows you to disable certain classes for security reasons.4 V6 f+ |: X. |& U
  306. ; It receives a comma-delimited list of class names.& V  w  H5 t$ |# q! J" M- @3 i. H
  307. ; http://php.net/disable-classes2 S" \  ^% N0 u- m: p
  308. disable_classes =
    & v( I) w) B( H. m, b  S4 G2 P
  309. 6 H" K% U4 n' h& `: h
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in) {+ I) K! T# {: h
  311. ; <span style="color: ???????"> would work.4 z2 w" g/ X! q9 O# R( \
  312. ; http://php.net/syntax-highlighting& }% u$ n- c& @0 L  \1 E$ [) v
  313. ;highlight.string  = #DD0000: V; m+ n0 `1 M! j
  314. ;highlight.comment = #FF9900
    , t1 x4 E* K: _: A" |, w9 x! e
  315. ;highlight.keyword = #007700
    : i# D6 p7 ?3 j% g; [& H0 i
  316. ;highlight.default = #0000BB
    $ l6 J' K; q! @" P! Z1 a& D) }
  317. ;highlight.html    = #000000
    . v$ }- v6 C3 O9 H) q% l

  318. / p* {# s" T0 h6 L  m
  319. ; If enabled, the request will be allowed to complete even if the user aborts) [* M7 J1 y" A& i( v7 G* H. r/ ~
  320. ; the request. Consider enabling it if executing long requests, which may end up
    * r. {* O' z1 o5 V  O
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
      i4 |) g2 l: F8 i! y% o4 q: a7 V4 U
  322. ; is to disable this feature.
    2 ~8 v, T. v# {" o. L- P, K
  323. ; http://php.net/ignore-user-abort1 S9 O( K0 u9 w3 j- G! L
  324. ;ignore_user_abort = On4 h( M2 g/ \: b5 u- s6 ?, @1 ]! y

  325. . F! U$ x0 R9 U' G# ?! K
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    + w7 t& F, D7 `) J/ `/ A; L
  327. ; be increased on systems where PHP opens many files to reflect the quantity of/ D/ m2 M5 E0 ~- G; ^, \6 g, p8 Q
  328. ; the file operations performed.
    9 i5 ~# e# m  v* r; ~7 ?: B
  329. ; http://php.net/realpath-cache-size' T0 R8 n6 n7 R# ~1 K
  330. ;realpath_cache_size = 16k
    9 o  z" _) r7 @# w9 D
  331. 2 V7 ]/ p; Z; H6 L/ w& h' Z7 b
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    7 Q1 ~- j" R: t, \) Y2 J
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    3 z4 x4 m/ M+ w
  334. ; value.
    0 L1 z( x8 U* G- T
  335. ; http://php.net/realpath-cache-ttl+ @, s2 C7 Y/ ?& c: ^7 C2 H9 D6 x
  336. ;realpath_cache_ttl = 1206 O5 O8 h. {$ i( O" ?1 S6 A; c
  337. 6 g2 A& ?) p5 t$ r2 P
  338. ; Enables or disables the circular reference collector.0 M' J' s5 I  N2 j$ Y
  339. ; http://php.net/zend.enable-gc
    $ z# A" H2 V( A* {
  340. zend.enable_gc = On
    6 y8 Q0 |$ d& Y) r, [; w) D
  341. . o% \2 Y4 v& ^4 g/ j& \
  342. ; If enabled, scripts may be written in encodings that are incompatible with5 A# a2 x9 H. M6 s, I
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such, B9 B8 ~1 i2 w3 ~. w9 R! N) W
  344. ; encodings.  To use this feature, mbstring extension must be enabled.9 T8 i7 a' e5 |& y" r
  345. ; Default: Off
    $ @2 B3 P6 L7 Q4 j. I+ u
  346. ;zend.multibyte = Off4 i+ X6 |2 @- |" J
  347. $ [- V, d( X0 @( e  `! G5 u
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    , d* `. l, k* `2 g. Y7 u
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    , F# O& Q3 ~* F9 K7 Q  O
  350. ; Only affects if zend.multibyte is set.5 k$ c" _6 W/ @- h$ }+ |1 O
  351. ; Default: ""
    & n& b1 Z8 a4 G6 \
  352. ;zend.script_encoding =
    " P2 f" D9 K( x9 u+ ?$ h, J) r3 ]
  353. % k  x, e7 Q  r' f1 Q# Y+ b* |! s
  354. ;;;;;;;;;;;;;;;;;3 H8 K, g1 Y% D4 x' J
  355. ; Miscellaneous ;
    3 z- M- o9 i. }; k2 f$ I' K8 X
  356. ;;;;;;;;;;;;;;;;;
    - P( y( ^$ N. H1 x4 U

  357. , L+ v# [2 U5 i! B  R3 O' q% U0 g
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    ' }7 y  w6 H# a5 _' E1 j
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    " t! }3 F# V% K: j
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    9 w, T# r7 }! L$ Y. P
  361. ; on your server or not.- }& o# h  `7 X1 y' H5 ^
  362. ; http://php.net/expose-php
      [# K, N% x6 h; M( K- n
  363. expose_php = On4 |2 o! S) N9 `
  364. : Q. r6 d' w, W9 d
  365. ;;;;;;;;;;;;;;;;;;;: D: p" T8 l6 H& s3 F- D) R; h
  366. ; Resource Limits ;
    , I1 r# z2 b$ \2 v# `8 {( }8 z! }
  367. ;;;;;;;;;;;;;;;;;;;
    3 p) w! C. I# j  U0 U5 y3 n

  368. 7 u( A' q( ?% }2 C) k
  369. ; Maximum execution time of each script, in seconds8 m, X( w/ h- ~9 e" S
  370. ; http://php.net/max-execution-time/ A9 N' d; y* i7 O, Z+ ?/ T
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    * t0 |5 k' p, c2 I! `
  372. max_execution_time = 300
      \+ p! j: G& k$ v; T) O

  373. 7 e* v' a# d. K0 F7 {6 `) X
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    ! v$ L. O( o# v& d
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    / W) K- k7 e' }& `3 P
  376. ; long running scripts.
    4 y1 s; N/ M  H; g( w# P
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    % ?& P4 _! M1 z! W
  378. ; Default Value: -1 (Unlimited)
    ! @2 _: p0 \  {0 R) [/ A
  379. ; Development Value: 60 (60 seconds)) \8 `, ^" x1 z- m9 P5 _
  380. ; Production Value: 60 (60 seconds)6 q% {" N/ L$ }* L0 U) m
  381. ; http://php.net/max-input-time
    2 ~* `' {& {9 i
  382. max_input_time = 60+ }/ s/ t4 y$ Q% `. D

  383. 0 j# N* Y4 n- x1 X9 b* o
  384. ; Maximum input variable nesting level
    / ?3 I( e% @& r( Y+ ]
  385. ; http://php.net/max-input-nesting-level8 a/ O8 [9 d1 i8 O, h
  386. ;max_input_nesting_level = 643 Q7 {- N1 Z% V: R, S

  387. . R1 Z* m6 L: X( R+ X
  388. ; How many GET/POST/COOKIE input variables may be accepted
    8 d4 o( C& ^2 Q1 j
  389. ; max_input_vars = 10007 P. L. Q- T# s' Z# Q$ W
  390. ! ~& P# K! B: x' F- o7 a: h+ q
  391. ; Maximum amount of memory a script may consume (128MB)
    0 p( }- Q; s; b# A# C
  392. ; http://php.net/memory-limit& j" g5 N2 @3 [- s5 {
  393. memory_limit = 128M; ?  g% h7 @& k$ S8 V$ D! m  r
  394. ; o! ?  r) B: }* F% N
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    1 y  U) c5 ~& V! N' G
  396. ; Error handling and logging ;
    . \# G# h! r0 A3 `7 M8 l" a
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;# o% n- S' l* J

  398. 4 L1 u/ m+ \. ]: m; Q9 g
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    ' `  Y/ h0 ]0 E) W
  400. ; it to take action for. The recommended way of setting values for this
    & L8 f% [5 N: ~
  401. ; directive is through the use of the error level constants and bitwise
    ; \% R+ _3 C7 z
  402. ; operators. The error level constants are below here for convenience as well as
    - G6 u' Q* B# y% c" L
  403. ; some common settings and their meanings.
    5 v. w1 @. A: K, i5 R& ?% B
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    # }; q) R2 m% g1 ]* J8 h9 Z$ J& R
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    ' D; g. q- A: o: {: H2 z
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    9 g5 ~% J1 W* d. a" C
  407. ; recommend error reporting setting. Your production server shouldn't be wasting4 _" l: f) i& O. d; x2 \
  408. ; resources complaining about best practices and coding standards. That's what
    % g6 m; Y) I, [' `# ~# U, G, ?/ ~) M
  409. ; development servers and development settings are for.
    : i$ K; j9 d( n  i! |( W8 C
  410. ; Note: The php.ini-development file has this setting as E_ALL. This# D( P9 B* P  n
  411. ; means it pretty much reports everything which is exactly what you want during
    + y; U4 s( H6 F" r8 O& g
  412. ; development and early testing.0 U  |8 o/ ?$ ~8 Y
  413. ;
    , W' X8 X7 j" h! r- C/ d
  414. ; Error Level Constants:/ @# s  U) I9 d* h
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    7 }" t4 I& K/ v0 _; I0 a
  416. ; E_ERROR           - fatal run-time errors
    . v! b+ [2 h+ q( a, J/ t" N* k
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    ' w0 F( u7 A; H; I& C( @
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    3 I; P# e- x9 _/ A0 K
  419. ; E_PARSE           - compile-time parse errors& h4 p$ {9 T" m* ?- i
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    5 p" a  t* L- V' t/ j# H
  421. ;                     from a bug in your code, but it's possible that it was+ c$ k5 I9 y$ t) C3 F# {+ v. V- ]
  422. ;                     intentional (e.g., using an uninitialized variable and, S" L) T$ x' K# F) X
  423. ;                     relying on the fact it is automatically initialized to an5 l7 n: g+ N, z, X$ {
  424. ;                     empty string)
    6 F6 R5 F6 J( [" ~& A8 ~
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes0 e9 r' B3 M$ P5 i6 \
  426. ;                     to your code which will ensure the best interoperability
    % D# J/ Q9 \7 w! Y. J3 O
  427. ;                     and forward compatibility of your code; F4 d& m* g% h
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup+ \( s# P* [  [7 w" O3 R  h8 L) v
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's- _  O: Z4 i2 Z+ W" P( _
  430. ;                     initial startup( z% \. X4 R& y) M) l! }
  431. ; E_COMPILE_ERROR   - fatal compile-time errors& e2 Y# ^# Q2 b3 a4 h! B' ?: q
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    " p8 X# ^, [1 a0 G8 b
  433. ; E_USER_ERROR      - user-generated error message
    4 j2 e1 [+ I" a- \
  434. ; E_USER_WARNING    - user-generated warning message; r6 @5 A+ L, S( g0 m6 f
  435. ; E_USER_NOTICE     - user-generated notice message
    ( j- L4 `4 }5 e8 e) Y9 ]" D
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    & e% U6 E1 E* ?, l' c% a$ w: u5 B' H
  437. ;                     of PHP
    , J- O* D. m# {  A/ |+ P- y0 I, M
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings( c7 t4 w# Q+ _! k; b
  439. ;2 l5 B  u' Y' g1 j$ A7 o8 p( f' }
  440. ; Common Values:% @! R0 n- N, B' t2 W! ]
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)0 i$ f3 \) n! q% s" t
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices): p  \" v6 g# F
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    7 t  R0 H0 E$ c( J( `1 S3 h0 V% ~
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    , B& l) n3 K& q' Q
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED9 k. E$ D7 Q/ ~+ P9 F' A
  446. ; Development Value: E_ALL  `, O- Y1 X& Z  H
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT. v$ L  n& ]$ Z$ a& p; Z
  448. ; http://php.net/error-reporting
    6 w' C( @- N1 p% E
  449. error_reporting = E_ALL & ~E_NOTICE0 F- e& V$ ?6 Y# O; b2 ?7 R5 q

  450. 9 z' ?& K+ @8 r: _/ u2 v) n
  451. ; This directive controls whether or not and where PHP will output errors,
    1 Y0 {+ U2 {/ ?) |
  452. ; notices and warnings too. Error output is very useful during development, but
    ' D: k, h( g7 c0 A, e1 A
  453. ; it could be very dangerous in production environments. Depending on the code
    5 d$ g. }( f- z% Z$ }. ~5 n6 n/ }
  454. ; which is triggering the error, sensitive information could potentially leak) d2 t! _; r8 t
  455. ; out of your application such as database usernames and passwords or worse.& Y. R# [+ d# t
  456. ; For production environments, we recommend logging errors rather than
    $ E/ `4 n. l, Y- Y6 O3 g4 [
  457. ; sending them to STDOUT.
    & O3 Q! A/ B# L6 X+ A2 t
  458. ; Possible Values:
    - z5 c! R- M4 _1 L( y* y; e
  459. ;   Off = Do not display any errors
    8 w8 S6 O/ Z4 h% i8 l  d% N' v
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)! N0 p' {3 K7 O/ i( Q( `
  461. ;   On or stdout = Display errors to STDOUT0 [7 B* d$ D; V# O
  462. ; Default Value: On
    ( K& e! P  f3 b0 U
  463. ; Development Value: On- H- j8 \& v  z4 u& Z
  464. ; Production Value: Off
    2 @% j2 R! b" E+ P
  465. ; http://php.net/display-errors
    - X* N1 u3 G/ V! d1 W0 z8 D* B( k8 }
  466. display_errors = On: y2 h3 _/ A& ], T4 w" q, Q0 B; c
  467. & {# E3 V% k/ O
  468. ; The display of errors which occur during PHP's startup sequence are handled
    : A6 z$ z6 y  f5 i$ z
  469. ; separately from display_errors. PHP's default behavior is to suppress those
      Y$ _9 ~7 M# B/ W4 x6 O
  470. ; errors from clients. Turning the display of startup errors on can be useful in
      f5 }2 F+ ~) L% p
  471. ; debugging configuration problems. We strongly recommend you
    5 ?9 O1 H4 i# X, ^' A- c
  472. ; set this to 'off' for production servers.
    $ ~7 b2 w- H* r' i: e6 `- x
  473. ; Default Value: Off  S4 l! }" s. c! c) _, A/ T
  474. ; Development Value: On
    + F) {' i/ ^# v% f$ V
  475. ; Production Value: Off
    5 `( z) x- x4 A: H+ v
  476. ; http://php.net/display-startup-errors+ w0 r2 t3 X7 Z9 b" t
  477. display_startup_errors = Off0 i- ]4 ^+ _( _* O, X4 e+ n

  478. " d4 _* s8 l- Z6 D+ L2 ?) _
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    - ]  m: x7 k4 Y) ?
  480. ; server-specific log, STDERR, or a location specified by the error_log
    8 B( R2 U: `! w! w% m
  481. ; directive found below. While errors should not be displayed on productions
    0 A6 p% g) ^3 x
  482. ; servers they should still be monitored and logging is a great way to do that.
    " U) }  |; {( C& \/ s! a
  483. ; Default Value: Off' v  n" J. L  N4 Y: M
  484. ; Development Value: On; F1 c9 ~- v9 |' j' c% w7 K
  485. ; Production Value: On* h" c5 X: R% f- I, A3 Y' ^
  486. ; http://php.net/log-errors2 ^) x# Z; D. T4 \9 Y
  487. log_errors = On
    2 @* B) ^/ T! ?' r# \. z! T7 O
  488. ; X: ]. w0 a% i
  489. ; Set maximum length of log_errors. In error_log information about the source is
    5 t5 a2 F" [& v) `9 m
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all., k1 ^" m3 f2 o& l: ^
  491. ; http://php.net/log-errors-max-len2 W, a+ e& V: J+ f5 r: C0 l
  492. log_errors_max_len = 10244 M6 ?- c. X8 x0 n& o& }0 \
  493. ( l% F4 i# A% B) g
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    : M2 f8 z( O9 A* E
  495. ; line unless ignore_repeated_source is set true.
    7 J6 s3 `  I+ X
  496. ; http://php.net/ignore-repeated-errors; S: ]; `: |( V7 Y2 T  B
  497. ignore_repeated_errors = Off
    ( |( U; T7 L, H9 r; A

  498. & C3 b' [  p+ N  W
  499. ; Ignore source of message when ignoring repeated messages. When this setting1 N0 n! B, I1 [% ]
  500. ; is On you will not log errors with repeated messages from different files or
    , E4 a5 b# c9 |0 }
  501. ; source lines.4 Q( K( H/ G: I3 K+ x
  502. ; http://php.net/ignore-repeated-source
    - l7 `! y" X# U2 j2 ~
  503. ignore_repeated_source = Off
    6 f+ W+ {- G0 B7 B' a

  504. 4 l  d7 `2 a1 U0 d
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    8 x7 v3 u( |5 M, a9 {4 h* [
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    8 g( }! c3 u$ }) N& w
  507. ; error reporting includes E_WARNING in the allowed list
    # Z( T# i" i1 M& z* @/ b/ ?
  508. ; http://php.net/report-memleaks
    + H: l3 e' Q  U0 U, C- x2 R1 W
  509. report_memleaks = On
    ! l* J# L  {9 }/ v( o3 }; y; c1 a

  510. 2 F, n, L& `9 b* K& l
  511. ; This setting is on by default., u0 K' T( k4 M
  512. ;report_zend_debug = 0" U& e0 s: D1 x0 m* C
  513. 4 ~5 _# L/ z/ F6 r# }
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    " H* n. l3 ^8 V' n9 y& i( d2 y
  515. ; to On can assist in debugging and is appropriate for development servers. It should$ s+ U0 E4 J/ D4 G
  516. ; however be disabled on production servers./ P" i* l7 @4 H9 T. d
  517. ; Default Value: Off
    9 i+ S( g% ]: f  I
  518. ; Development Value: On( j+ X) Y+ J% Q) e4 a! d
  519. ; Production Value: Off- U7 X# M& I+ S  N- p. }( _
  520. ; http://php.net/track-errors8 S6 F9 S2 J, d4 K4 k
  521. track_errors = Off4 N" K* [' t  x" }+ `, z6 Z; ?

  522. ; E. \6 W( k+ |7 W* N" _9 A& u
  523. ; Turn off normal error reporting and emit XML-RPC error XML8 M+ q& D" D! }- ?
  524. ; http://php.net/xmlrpc-errors
    6 y4 Q! z/ V2 _
  525. ;xmlrpc_errors = 0
    % W4 ?, r* G2 }5 f4 b

  526. - D' Y+ }+ D. ^$ ^
  527. ; An XML-RPC faultCode
    8 E+ I! c2 R; r$ w+ A. R
  528. ;xmlrpc_error_number = 0
    5 ~0 {  F& R, i) M7 ?
  529. 8 i( N3 c& p& G
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    * o5 e7 p$ z0 h& p( w2 L/ q
  531. ; error message as HTML for easier reading. This directive controls whether
    : n9 {# z  z$ ^) k* ]% T0 L
  532. ; the error message is formatted as HTML or not.
    + Z: h: C  I! U, {
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI. B, J4 b/ I3 u. c$ \' I5 X
  534. ; Default Value: On: ]6 c! e, _$ w
  535. ; Development Value: On: M) \7 w/ l0 f* Q
  536. ; Production value: On7 |+ q7 g& c0 v' p, v2 F8 k
  537. ; http://php.net/html-errors' q4 G& l/ I6 t4 W1 G- ?5 A* t( M' j" m
  538. html_errors = On4 d2 [0 M% U) }
  539. : U  }$ T" z3 T$ \9 N/ H% m
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP, y. }8 X  B2 D$ v; L- o
  541. ; produces clickable error messages that direct to a page describing the error
    4 @5 m% s& z( \- W+ t' C$ m
  542. ; or function causing the error in detail.4 p2 G+ F" L% l, c0 ]; D5 j
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    " I+ V, K& C1 G- J  V. d
  544. ; and change docref_root to the base URL of your local copy including the2 S: ?: d6 p1 H) q% M' a  D( Z
  545. ; leading '/'. You must also specify the file extension being used including
    : R0 S; L* D; A# O( x
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which" T. ~( s2 m& z) q2 W& N  `
  547. ; case no links to documentation are generated.
    2 Y1 U9 I" a5 b. Y/ ^! i
  548. ; Note: Never use this feature for production boxes.. U6 s7 O3 Q5 }5 t+ u9 D
  549. ; http://php.net/docref-root) z% u) |3 w$ d, K+ k2 n9 ?
  550. ; Examples9 b) r+ M) j* h) S9 R
  551. ;docref_root = "/phpmanual/"
    ' T2 [6 i' H/ E6 d% e
  552. 7 B* R- T& F8 t
  553. ; http://php.net/docref-ext3 Q8 j5 ~4 F! |8 m+ [0 ]
  554. ;docref_ext = .html, O; P" e9 L  C4 `! Z6 C# _* B7 v+ Q" M
  555. . u8 |' Y# g/ G/ H: @' ]( h
  556. ; String to output before an error message. PHP's default behavior is to leave
    $ D5 ~6 x" t, o2 {0 ]
  557. ; this setting blank.& X/ f' H9 Q' t7 k! q
  558. ; http://php.net/error-prepend-string! ]9 i, t: A  b3 e/ W$ y
  559. ; Example:$ i7 a7 b' L5 T) x0 }. ]- R
  560. ;error_prepend_string = "<span style='color: #ff0000'>"# z1 v/ T. T7 x8 p9 N" \7 b6 n8 O  y

  561. / p( H0 {  ~& O: p1 f
  562. ; String to output after an error message. PHP's default behavior is to leave3 J+ ^1 k9 |  {, `! d
  563. ; this setting blank.
    / o  d8 q& t3 g" @" A3 ?" w. Y
  564. ; http://php.net/error-append-string
    8 K6 i1 w1 G: Q- m. b$ Y$ h( p5 i# b
  565. ; Example:0 r' e7 ~) ]0 e0 T& b$ q* G" U
  566. ;error_append_string = "</span>"+ n, o; D( p( l, L

  567. - ^% }/ V$ `- d6 k1 D
  568. ; Log errors to specified file. PHP's default behavior is to leave this value4 Y5 f( X$ I$ s  a8 W) t6 F! ~
  569. ; empty.5 ^* a1 |' g1 J! ~) O
  570. ; http://php.net/error-log2 S: v# G, a/ N1 k
  571. ; Example:
    2 F6 ~: K$ c. V. b. G& t5 s( r
  572. ;error_log = php_errors.log4 y* N5 d' h; `
  573. ; Log errors to syslog (Event Log on Windows).7 O  O6 S/ R' ?# L; _- ~5 {0 H
  574. ;error_log = syslog, M; H. b% U" g7 N
  575. . a2 E) Q& H# f% P7 P+ |
  576. ;windows.show_crt_warning9 x1 T5 m/ X; G. J" U
  577. ; Default value: 0
    - Y8 I0 w' P- C# Y) b# N# R8 W, O# S
  578. ; Development value: 0
    - X) W5 ~% i3 ^0 T: h. ?
  579. ; Production value: 0
    9 I0 G; Q, v/ [4 O1 ]
  580. ) P4 }, h6 O9 e$ |
  581. ;;;;;;;;;;;;;;;;;" X/ s2 t. r; U2 y: O) |6 y
  582. ; Data Handling ;; m8 C4 Y( i( P" |
  583. ;;;;;;;;;;;;;;;;;
    : Q( t! u! Z, i; c9 Y4 o3 @
  584. % V1 Z) w. s) r9 `
  585. ; The separator used in PHP generated URLs to separate arguments.: \1 I# @; V! D, E9 \
  586. ; PHP's default setting is "&".2 q2 C& p* Y- u+ I% E$ _4 N2 }
  587. ; http://php.net/arg-separator.output7 J; v9 `. V# S" m- x
  588. ; Example:
    ' ]8 l. I3 F# V2 O2 Y4 F- T1 ?
  589. ;arg_separator.output = "&amp;"
    6 Q5 Z9 n* H( M. x7 S; q0 o
  590. $ B+ \4 P7 T- l& ]
  591. ; List of separator(s) used by PHP to parse input URLs into variables.- @8 v8 ~* u3 P* F5 p+ X+ }; Q0 ^
  592. ; PHP's default setting is "&".0 r! y- u% g9 x) N1 t7 M
  593. ; NOTE: Every character in this directive is considered as separator!
    ! p/ A: H# b) R
  594. ; http://php.net/arg-separator.input3 x3 L* ?8 Y2 N/ t: O- Q2 _$ _4 m
  595. ; Example:
    , ]2 u% C8 Q( F& z" }( z' R8 t
  596. ;arg_separator.input = ";&"+ C" F7 s) }2 p( c6 H

  597. : ^7 O! C3 T/ g2 _
  598. ; This directive determines which super global arrays are registered when PHP# b" j7 F1 V1 p" x* D
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super' y! Z" v( L9 m
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty8 R7 u  x1 A5 S, V" G
  601. ; paid for the registration of these arrays and because ENV is not as commonly) T6 ?# O7 |! g, t& U2 h" F
  602. ; used as the others, ENV is not recommended on productions servers. You! o6 _' u# K! j4 i* G
  603. ; can still get access to the environment variables through getenv() should you/ w' l& K, @/ [. W# ^) z8 E$ W
  604. ; need to.4 d5 p5 Y( H# M1 ]7 e' {. M
  605. ; Default Value: "EGPCS"
    8 z+ M% n5 X0 j, }# x2 ~
  606. ; Development Value: "GPCS"
    ( J, B+ b8 X8 h
  607. ; Production Value: "GPCS";
    ! R$ m2 b  t3 O, U1 C2 X) d
  608. ; http://php.net/variables-order
    0 C' c! [5 L/ m" d6 c% g
  609. variables_order = "GPCS"- ^8 ?3 d+ \' J. j$ [
  610. ( C6 c% e+ J2 m0 ~! k% U0 ]8 u# n
  611. ; This directive determines which super global data (G,P & C) should be
    9 x! `% ]* w: K
  612. ; registered into the super global array REQUEST. If so, it also determines
    + P& Z% |% Z9 q4 w) ?
  613. ; the order in which that data is registered. The values for this directive, w3 }6 ^1 X5 H: X& X4 L
  614. ; are specified in the same manner as the variables_order directive,
    ! H1 n4 m0 t8 W$ y6 l: p0 s# Z
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set# k# E8 t8 p" S, |  ~& C# ~
  616. ; in the variables_order directive. It does not mean it will leave the super
    ; [; Z. b5 W6 |. v  M4 [: ?
  617. ; globals array REQUEST empty.
    , k  n1 P6 T6 L  z, N4 v! W
  618. ; Default Value: None
    " f% V" a' c  K+ i' o
  619. ; Development Value: "GP"
    # N, E$ o# `. n7 T6 z  A
  620. ; Production Value: "GP"* s3 e8 H# v! G/ c+ A
  621. ; http://php.net/request-order- Q3 {1 s$ C3 j) s7 N
  622. request_order = "GP"3 [. f! T; r: ~! H1 p/ G4 w1 d9 z

  623. + q$ B" o5 S/ Y) Q
  624. ; This directive determines whether PHP registers $argv & $argc each time it' z! `9 M$ I0 ?8 m% c, k7 q; {
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script- F, ]0 T1 `  A) o) M  e
  626. ; is invoked. $argc contains an integer representing the number of arguments) t) A- ?: u$ C- F! ?+ I' x( {
  627. ; that were passed when the script was invoked. These arrays are extremely
    ! J/ G- T9 m/ F( p2 E0 e
  628. ; useful when running scripts from the command line. When this directive is
    ' Q7 S- D. q" ?$ B0 N" ?) L  n
  629. ; enabled, registering these variables consumes CPU cycles and memory each time3 c1 J4 l* v( K
  630. ; a script is executed. For performance reasons, this feature should be disabled  w0 a- c" `( `% L
  631. ; on production servers.
    6 h, f) x! C# F, P' I, I8 U
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    , G9 _% B( y, o# O6 z$ v
  633. ; Default Value: On
    1 Q0 [1 {( O' V. z( S4 R3 L
  634. ; Development Value: Off: h, o2 S$ N4 _
  635. ; Production Value: Off( F: a3 m; S; m/ q6 b+ Q
  636. ; http://php.net/register-argc-argv8 I1 E& U4 A6 x4 H% F6 R
  637. register_argc_argv = Off
    . t/ C+ X5 U( q
  638.   z* ~0 u0 h1 t  R
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're" Z5 {* X) q* b' t+ A7 S
  640. ; first used (Just In Time) instead of when the script starts. If these" j4 F# h2 k) U# o4 T1 N: Y
  641. ; variables are not used within a script, having this directive on will result+ h/ \, m0 U3 P+ H1 S
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled$ R# ]. p  [7 ~# \
  643. ; for this directive to have any affect.  {6 C, a4 r: F# G2 R0 k
  644. ; http://php.net/auto-globals-jit# `' Q$ f2 D- {, C$ F6 G+ j
  645. auto_globals_jit = On8 e/ r& }8 `; S) w" _) i8 n" A' }
  646. 8 C' _2 _4 t, [0 B4 l& b
  647. ; Whether PHP will read the POST data.+ t! H3 U  U. `* T, f' a
  648. ; This option is enabled by default.! j: ?4 [$ A3 k1 t5 a
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    0 P- ^  M+ A3 o' D' d  O
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    6 R" t4 \# J; {$ R* f8 L
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    ) v3 ^; ~8 d  S6 ^3 t) M8 s
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    / |; h! w. z) O, P& |
  653. ; http://php.net/enable-post-data-reading4 O5 z2 r1 N% V
  654. ;enable_post_data_reading = Off3 y' a" T) g" z% e7 j9 I3 i
  655. 9 s/ c3 @" e" z9 p7 z( ^7 z
  656. ; Maximum size of POST data that PHP will accept.3 y& u- a1 }8 ~+ k" r: N( F# L
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading; t' P+ o* F( d- K: K
  658. ; is disabled through enable_post_data_reading.$ ?: Q. M+ A- }/ N0 d  g# v
  659. ; http://php.net/post-max-size1 i1 S; M( V  q/ h$ l
  660. post_max_size = 50M
    5 m( K& m7 G& d8 U# y+ }8 x" y% A* ^

  661. - A% D* Y- a5 g: T
  662. ; Automatically add files before PHP document.9 o. o1 r4 N3 I. K( x  k. H* Y2 k1 D
  663. ; http://php.net/auto-prepend-file, b9 t2 Y( o+ c. \
  664. auto_prepend_file =7 N% P5 H4 X3 P
  665. # g: W4 X  P! d! J
  666. ; Automatically add files after PHP document.9 N- q8 {: q+ f
  667. ; http://php.net/auto-append-file
    0 y( b% d! Q4 K! r' ?0 ^) m
  668. auto_append_file =2 n. r$ O8 c2 b5 |* T" }& ?" i
  669. / c! p0 S& N+ o9 _
  670. ; By default, PHP will output a media type using the Content-Type header. To
    5 C+ A0 Z6 g. k7 `) U, O
  671. ; disable this, simply set it to be empty./ W6 S7 Z% @1 v; k0 t
  672. ;/ K$ z& ^5 Q  n& [& _2 O/ t
  673. ; PHP's built-in default media type is set to text/html.
    8 F) S% T* G0 I1 N+ e
  674. ; http://php.net/default-mimetype# ?0 M* N6 u; C6 c
  675. default_mimetype = "text/html"4 T& I0 D8 N8 j1 C8 f
  676. ( E; [- d# e; w2 O8 Y# D# B
  677. ; PHP's default character set is set to UTF-8.
    & l1 Z4 W3 p& z8 y5 }( w( r; J
  678. ; http://php.net/default-charset) o: K" U5 ]' {: e1 d1 j, _
  679. default_charset = "UTF-8"
    + K& |/ I5 F& Y( I2 Q8 n7 j. d

  680. ' q" g. x* y/ Q+ r
  681. ; PHP internal character encoding is set to empty.
    $ i4 d1 w, P( W6 _2 u( z
  682. ; If empty, default_charset is used.
    ' |! B, W+ m& V1 k* n* q
  683. ; http://php.net/internal-encoding
    : f2 z' q3 s' z* v
  684. ;internal_encoding =
    / o8 V7 p, I2 _' }

  685. % |6 U* C3 x& T. n
  686. ; PHP input character encoding is set to empty., e. X0 D% W6 s2 B# Y4 W
  687. ; If empty, default_charset is used.
    : j- y; n6 @& f9 N6 x
  688. ; http://php.net/input-encoding
    - b6 ?5 g+ {3 D9 M2 b( T5 V( d: Y
  689. ;input_encoding =
    & k  N3 D  D2 V1 [) w& l+ ?' l

  690. 0 e: F, b) g* A
  691. ; PHP output character encoding is set to empty.
    1 ^; ]' ?, c* C# j3 r1 o
  692. ; If empty, default_charset is used.
    / o/ l; k$ U) ]1 b6 P# r) e9 I! I
  693. ; See also output_buffer.
    ' U, N, T; C% T  A  ^$ w! x5 S
  694. ; http://php.net/output-encoding5 E* m9 J! q6 t2 M. _
  695. ;output_encoding =
    - B9 a% X) e( G6 e' O7 ~0 N( n3 m
  696. + o8 H0 F! v0 e0 t! v
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    % t# m% z- _8 ]
  698. ; to disable this feature and it will be removed in a future version.
    8 V4 H  m" W' w/ l* h  a
  699. ; If post reading is disabled through enable_post_data_reading,
    0 Z% \6 E1 d: x* b. G" i& ]( A- u
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    4 l0 [  s' c7 r
  701. ; http://php.net/always-populate-raw-post-data9 [* Z# [) \+ Y6 P+ j" R4 n! m2 L
  702. ;always_populate_raw_post_data = -1
    8 w( |& s2 [: O+ o  A: V

  703. ' s, P) S' G7 `2 ^
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    ; R' _( D* H6 ]5 n4 h6 h, a
  705. ; Paths and Directories ;
    " a1 K  K2 G2 P; W
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;  A% J4 v1 D; V5 T9 f7 V# _, ?; T

  707. " v* Q5 t' I& M& u" x1 x$ I
  708. ; UNIX: "/path1:/path2"
    & ?( j1 |" ~, q" m
  709. ;include_path = ".:/php/includes"2 x1 b, {) Q4 _1 r: P
  710. ;1 {9 q. P- w* g; b0 {  n' Z6 X. N
  711. ; Windows: "\path1;\path2"& Y. b& n( U& p- a8 H& a+ [8 f" @
  712. ;include_path = ".;c:\php\includes"
    + e. c$ }8 |% s# Q) Q7 t
  713. ;
    " j4 F7 G5 w5 B4 ^
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    ' W4 `% f- ]2 G5 l
  715. ; http://php.net/include-path  Y. U  Q& W" M8 s- C0 u* O

  716. , _% T3 B& s# o3 y* b( ~+ q  o
  717. ; The root of the PHP pages, used only if nonempty.9 ~0 o' _' k8 ^
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root5 I7 H9 g' q6 l4 P$ L( `5 O# i
  719. ; if you are running php as a CGI under any web server (other than IIS)  y9 Z( i7 c6 b" ]; X+ d
  720. ; see documentation for security issues.  The alternate is to use the4 i# y$ O" ^1 S( n3 z7 G4 x* L
  721. ; cgi.force_redirect configuration below
    # n2 H+ ?' Y8 ^4 X. {7 n) ?' E6 G
  722. ; http://php.net/doc-root2 A  h0 ]# `+ c0 Y7 S2 J
  723. doc_root =$ b; e; V6 H3 g' |
  724. ! Z5 o: n$ p& T7 t! _! ^
  725. ; The directory under which PHP opens the script using /~username used only# Y& C" I7 W  ~* m+ r
  726. ; if nonempty.% C" j& \; {+ B# m2 M2 c; w
  727. ; http://php.net/user-dir
    % x2 y8 h4 {' n2 `/ M8 e
  728. user_dir =( K$ q/ f. ~. a0 y# y

  729. % o7 i9 C% n  a, K: Z
  730. ; Directory in which the loadable extensions (modules) reside.
    ( {* R  @0 Z4 w
  731. ; http://php.net/extension-dir* J4 C$ A+ k8 ^- U
  732. ; extension_dir = "./"9 X5 g$ C3 m1 E( _' X3 a
  733. ; On windows:) E1 z% y1 p, T! s+ R; P% a
  734. ; extension_dir = "ext"' {! Z% L. a0 {4 W

  735. ) j6 m; H- H. n0 J
  736. ; Directory where the temporary files should be placed.
    4 U$ l$ \# l# i$ H  s
  737. ; Defaults to the system default (see sys_get_temp_dir)
    1 s: g+ f- U) W/ a7 A! U  S( G
  738. ; sys_temp_dir = "/tmp"
    0 ^8 T: F' c$ Y5 z7 G5 I7 n6 R5 y
  739. $ F" U0 C" Y! o# `, p+ v. ^
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    , b: |2 \2 Z8 v7 D# _1 [  @3 l4 Q9 ]
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically! p& w7 T7 ]7 }- N- P# A( h) n* |( I
  742. ; disabled on them.& H% L# J$ m. ]! ]4 o
  743. ; http://php.net/enable-dl. V5 W" \7 a5 ?. [# d3 T
  744. enable_dl = Off$ M+ t* S4 d/ a9 B% |  b4 C6 w- W9 |: U
  745. / t) \+ S  B* T" k" P5 Q. s
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    + v4 _+ a, P) N/ a* T
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can) A: h8 W$ T5 T
  748. ; turn it off here AT YOUR OWN RISK
    & O& F! h% G3 @7 g
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    2 V* F( V7 S; t% i8 R
  750. ; http://php.net/cgi.force-redirect( v5 y# C, H0 @7 u5 C  U
  751. ;cgi.force_redirect = 19 Y1 r1 s  ]5 e3 @

  752. 9 ?( {# R7 p7 \: [5 M2 p9 O
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    , G% A' `; S# H& g
  754. ; every request. PHP's default behavior is to disable this feature.4 C3 C( v0 D* P8 M9 e
  755. ;cgi.nph = 1
    + l5 n- i7 J( o9 b+ o8 t

  756. 6 J9 U3 f$ {1 S* a
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    * ^6 y( Z0 q" m
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    8 I3 g2 ?' M: w' Y8 O$ D0 M1 L2 _. r
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    8 K* f" ^7 ]+ G
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    0 y2 K- g, M% M" W1 M) M0 Y  ?8 A0 @) F4 D
  761. ; http://php.net/cgi.redirect-status-env, r& @) B+ z6 C
  762. ;cgi.redirect_status_env =: ~: S5 Q: S) Z; Y' l

  763. 6 Z1 l, |+ |! V6 T4 w% x8 B8 a
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    9 q8 z& O. C# e: A" D0 m7 S
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    ! C6 W5 V1 o+ P# ^- H
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting3 d$ c  W0 s# R! ]& S
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    4 D, Z) T; F: ^
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    ) P+ m2 D" a& H3 Z5 V/ i! L3 o6 v
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    , n5 `. ^, O$ V' ?6 @8 t
  770. ; http://php.net/cgi.fix-pathinfo3 N+ I" s* A& S
  771. cgi.fix_pathinfo=1# q3 Z9 Y' G) ~  E

  772. ' C7 h1 `8 U1 f$ t6 R% Q2 O
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    * N" J: ?0 M# E% O
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    4 c9 L  F5 E* @' X+ m9 O& L
  775. ; http://php.net/cgi.dicard-path
    % \/ E) n) }* q( @$ V& t: A7 P
  776. ;cgi.discard_path=1
    & l0 \, k* E) t+ b" ]! E
  777. - u1 m$ `. G9 @. n0 k/ I9 o, K! g
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate* }% O5 Q3 S, b# B
  779. ; security tokens of the calling client.  This allows IIS to define the
    ) ?  k( {5 J( H
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    * K1 y! I) \+ Z& N. F
  781. ; does not currently support this feature (03/17/2002)
    2 F1 K( e6 b" ^9 M
  782. ; Set to 1 if running under IIS.  Default is zero.
    * c2 e0 X2 ~7 K. X- e' d" P
  783. ; http://php.net/fastcgi.impersonate- a. v( Q+ n: p% G
  784. ;fastcgi.impersonate = 16 C( b! C: A7 u
  785. " G1 ~  o  Y# D$ r" \
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    0 \3 c. C6 `- e$ w
  787. ; this feature.
    " T1 \: ^% V3 ^9 T4 i
  788. ;fastcgi.logging = 0
    / Q. I. O2 r7 Y
  789. . J  J9 d9 {4 X, `
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to9 }4 M! R* l; w4 i
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    9 s& A2 ?6 E: i8 z( W+ ~1 _
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    & `  ]; i$ R% @6 k
  793. ; RFC2616 compliant header.3 Q2 T& W! p4 O0 m0 X( m0 n% b
  794. ; Default is zero.
    # j1 A$ P3 S. w
  795. ; http://php.net/cgi.rfc2616-headers
    4 u$ v7 V  m3 U; }, U
  796. ;cgi.rfc2616_headers = 0
    " p' G& W( D0 |

  797. 4 [4 e! m5 F* k$ \) ~. D! l
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    2 m; t$ B' H$ y/ p1 H7 z
  799. ; (shebang) at the top of the running script. This line might be needed if the
    " x* R! ~9 ?/ T
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI2 f' b$ N& c6 E' G( ?% F/ w" u
  801. ; mode skips this line and ignores its content if this directive is turned on.) w& }3 F- G3 R1 L5 ^8 i* N
  802. ; http://php.net/cgi.check-shebang-line; H! @+ a8 ^7 e& a3 H: L' G
  803. ;cgi.check_shebang_line=18 s6 C- H7 g, U

  804. " Y, w5 |1 l" @1 p
  805. ;;;;;;;;;;;;;;;;8 U, D+ a* {1 Z8 s+ C
  806. ; File Uploads ;7 C+ D3 N# L; F
  807. ;;;;;;;;;;;;;;;;
    7 {$ o4 T, Z' z, k4 P6 H( E

  808. ) P7 V: S; e$ q# U: p
  809. ; Whether to allow HTTP file uploads.
    5 I: |$ }/ D' g$ }
  810. ; http://php.net/file-uploads
      w+ W& S1 g( }
  811. file_uploads = On
    * J. V) q: m  I

  812. $ A0 y9 |7 Z5 e# y: R4 h
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    $ h# }* f4 X6 K+ ^, z
  814. ; specified)., `9 E4 S7 j! R* Z" U& Z
  815. ; http://php.net/upload-tmp-dir8 I# N4 l" G9 _- u' Q0 ^( [, C! u- H
  816. ;upload_tmp_dir =
    / o& P' i$ D- g! u8 h
  817. 4 h3 i/ g2 H' M" _6 H3 |# ?7 c
  818. ; Maximum allowed size for uploaded files.+ c9 Q% U* P: W& }3 Z4 P
  819. ; http://php.net/upload-max-filesize
    % x1 }7 ~: p) P( V5 M7 X! C# \
  820. upload_max_filesize = 50M
    4 U& _, N+ J% [& W" M1 u

  821. " r! `! m- g; S% [$ O1 i, G( g) m( F
  822. ; Maximum number of files that can be uploaded via a single request; [8 C: Z" `7 d! V; m' n
  823. max_file_uploads = 20* ^+ q, ]% B9 s& J5 D
  824. # z. f6 T& n& q' f, b$ \/ i" s5 A
  825. ;;;;;;;;;;;;;;;;;;; w$ c$ i& n4 C5 z" @
  826. ; Fopen wrappers ;
    / s' p$ m) o; y( C6 b9 w4 O
  827. ;;;;;;;;;;;;;;;;;;* V& [' M5 _% e8 i# t, p

  828. , N) ?5 H8 S3 h, e# O0 v
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.. X% A( B. @2 B. U# o
  830. ; http://php.net/allow-url-fopen' n2 h: q2 L+ ~
  831. allow_url_fopen = On
    : W8 h: ?/ A7 }

  832. / q* r& l* d$ m2 w/ f1 b
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    4 s: S3 g. \# \% _  a( S% e& P1 z0 V
  834. ; http://php.net/allow-url-include
    7 U  L' C% t+ k6 |- G, a: C
  835. allow_url_include = Off
    5 T4 l2 u, e& @; d/ e9 }0 b
  836. " Q- S- ~* E9 J! R
  837. ; Define the anonymous ftp password (your email address). PHP's default setting# g# ^0 ~2 J. u1 O
  838. ; for this is empty.) d7 r; |* B- g8 n- d, v/ F
  839. ; http://php.net/from- f/ i7 @0 l, l3 J$ ^
  840. ;from="john@doe.com"
    6 v" Y2 k5 o: X  q& {

  841. 7 U* s9 f$ C" |0 s
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    . z6 `* p9 U9 ]! c
  843. ; http://php.net/user-agent
    7 r/ @/ {; h6 S3 C% ^
  844. ;user_agent="PHP"  @" e5 V1 l4 i/ ^) Q. t9 {. ^

  845. 9 x9 c& c2 N: s) S2 j/ z
  846. ; Default timeout for socket based streams (seconds)
    # s* P! i" H* K
  847. ; http://php.net/default-socket-timeout
    * i4 Y  C4 [/ c0 S" {" R+ _: s
  848. default_socket_timeout = 607 J+ x8 \, }- w" k4 c$ U& A+ |
  849. 7 H3 B% K- O  E- c2 B0 h$ u
  850. ; If your scripts have to deal with files from Macintosh systems,
    ; q$ [, i7 B1 s6 |6 y; m5 r: H; Q$ A
  851. ; or you are running on a Mac and need to deal with files from
    7 @9 l# s6 c3 i4 g
  852. ; unix or win32 systems, setting this flag will cause PHP to
    / u5 N  E5 b2 t$ Y! q- c: n- s4 j
  853. ; automatically detect the EOL character in those files so that% V: A. O, \4 t4 G0 w
  854. ; fgets() and file() will work regardless of the source of the file." c% A. z9 ~" z* p
  855. ; http://php.net/auto-detect-line-endings
    3 l0 O! [3 P3 v7 ^3 K
  856. ;auto_detect_line_endings = Off
    : d8 Q3 }8 o: n4 A2 _& v

  857. $ p4 a. t) h/ ~2 b
  858. ;;;;;;;;;;;;;;;;;;;;;;3 z) g: `( q/ \1 ~( X$ y
  859. ; Dynamic Extensions ;
    7 I3 d7 ?* E, ]; n% i8 \5 P
  860. ;;;;;;;;;;;;;;;;;;;;;;2 h& \$ K- f& _
  861. ) _) L  Y  H* d. m
  862. ; If you wish to have an extension loaded automatically, use the following" a( I; I) I, Z. u! c
  863. ; syntax:
    % Y& Q0 T1 I2 X; Q
  864. ;
    , e& N. B. U! p" h/ l+ i8 h
  865. ;   extension=modulename.extension  K+ F0 ~, O6 c
  866. ;7 \# h' s! l2 E0 X& |
  867. ; For example, on Windows:
    : C$ g% t7 F3 j) r% f
  868. ;; Q/ e% U9 t' v4 F* {6 H% T7 H, e
  869. ;   extension=msql.dll
    8 M/ Y) x; f! [7 [$ Z% s; K) B5 Q
  870. ;
      ~- X6 Y4 w# M+ e
  871. ; ... or under UNIX:# I* B' W+ s4 h  |1 {
  872. ;
    " m6 ]4 U8 U; j5 O% W0 A$ K/ F
  873. ;   extension=msql.so
    0 ]2 B9 L& }$ x" [# m2 c9 B
  874. ;
    0 q; G$ e4 ?% n3 b7 z  Y
  875. ; ... or with a path:
    5 {. G/ f  q4 {- ?
  876. ;7 L4 q2 ~" w7 r0 {1 `
  877. ;   extension=/path/to/extension/msql.so
    ) M9 x& s: j8 }+ ?6 u
  878. ;+ m7 X* F6 A9 Z! M: p! _3 ~
  879. ; If you only provide the name of the extension, PHP will look for it in its
    , d# N/ ?: C6 S* ^+ F# r) g  f
  880. ; default extension directory.
    0 K& i5 j5 {* t
  881. ;. x3 L+ j& k! M0 \% @: [
  882. ; Windows Extensions/ _' j* a3 m0 O+ G
  883. ; Note that ODBC support is built in, so no dll is needed for it.. `1 ]. g( {; X) G+ I: |+ {
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5); k& w  T5 i+ |  y8 _& |
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    7 r& E2 a& k' ~0 {8 f4 T% q% x/ L
  886. ; Be sure to appropriately set the extension_dir directive.
    ( x9 ^! C6 W. R5 P6 [9 o2 P$ ~
  887. ;. o( c* m, h5 w" X# f
  888. ;extension=php_bz2.dll2 G$ c6 p! ^9 \- Q3 t
  889. ;extension=php_curl.dll
    % _9 I5 f$ m6 |5 t0 B& f
  890. ;extension=php_fileinfo.dll, D3 q0 K- S' a7 ~/ q% i* x
  891. ;extension=php_gd2.dll
    9 p- }+ R: y5 t
  892. ;extension=php_gettext.dll
    # G% Z+ t( Z0 ?. C! N, m
  893. ;extension=php_gmp.dll
    , P- f4 B+ H& C
  894. ;extension=php_intl.dll3 @1 I8 J7 D. ]; Y
  895. ;extension=php_imap.dll
    ( ~8 k% W1 X6 C, x- r  R
  896. ;extension=php_interbase.dll' m+ y0 t( E$ W' x3 ~. n* h: D
  897. ;extension=php_ldap.dll- h3 ]/ L) x  K' ]! ~, i! M
  898. ;extension=php_mbstring.dll* h/ i- w2 _7 B7 p
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    8 K1 j1 g# N4 K
  900. ;extension=php_mysql.dll
    6 F6 D6 ?9 {: b7 S0 H6 n
  901. ;extension=php_mysqli.dll
    3 j; c4 t4 w# }: R& |
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client. c9 g% E* ]2 W0 X6 Y
  903. ;extension=php_openssl.dll
    * f8 D/ T& ^8 {; Q) Z8 J6 I2 p
  904. ;extension=php_pdo_firebird.dll
    0 X' ~; M3 y# a' O& m
  905. ;extension=php_pdo_mysql.dll
    2 P6 F$ d( \' Z% I+ K& X
  906. ;extension=php_pdo_oci.dll7 B) }3 e# O: K
  907. ;extension=php_pdo_odbc.dll
    " s2 ]+ ~( ~* p
  908. ;extension=php_pdo_pgsql.dll
    & p5 [) t, v3 `" P
  909. ;extension=php_pdo_sqlite.dll
    9 Q/ G& i# t# w/ U: U4 Y" a0 W
  910. ;extension=php_pgsql.dll
    8 E$ p6 Y' X) ]. g( g* p2 ]6 h
  911. ;extension=php_shmop.dll% N, c+ q4 z. g* y" ~- K& E

  912. 3 N  f& i4 p; E6 G
  913. ; The MIBS data available in the PHP distribution must be installed.
    2 T1 {3 [6 k+ m! t/ x" C" x9 I
  914. ; See http://www.php.net/manual/en/snmp.installation.php * ]0 ^2 p$ T2 R7 g
  915. ;extension=php_snmp.dll7 M. c  u$ `* \/ ~

  916. : }& y2 }, Z( g  ]* |, I
  917. ;extension=php_soap.dll+ N2 g5 n* Z2 o, H
  918. ;extension=php_sockets.dll0 T1 V; }+ p  _: d4 |+ N4 j
  919. ;extension=php_sqlite3.dll& E/ j3 T: [$ w7 |8 p
  920. ;extension=php_sybase_ct.dll+ D* o  E! A* I
  921. ;extension=php_tidy.dll
    % [) r* x. \2 R5 [/ _- Q3 v* ]' f
  922. ;extension=php_xmlrpc.dll: o# m* t% v5 d- X8 S( M% x, L& n
  923. ;extension=php_xsl.dll
    $ L1 s. A; W6 `2 o4 V  d1 i+ Z

  924. ; s! S3 J9 x/ l: M! K
  925. ;;;;;;;;;;;;;;;;;;;
    + H+ y+ E" N8 j3 }  V: C/ y
  926. ; Module Settings ;
    ; l6 E( B; N& r! f: k# b
  927. ;;;;;;;;;;;;;;;;;;;
    . G* U0 u1 M" R6 |* {
  928. 9 w( d9 d, P6 n: M( E& m: C5 l$ X
  929. [CLI Server]8 L4 Q/ a4 v: X2 r
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    * p8 a1 m! W* g) b; C: ]1 K1 A) q, W
  931. cli_server.color = On  v; g/ m, X7 Z- h$ Z5 a$ e$ B# ^

  932. * \4 c) y* `1 E9 `: k  r& N, H
  933. [Date]
    - d# Y% W1 D+ Z3 R
  934. ; Defines the default timezone used by the date functions
    # q6 X, Q+ @2 B+ v$ a
  935. ; http://php.net/date.timezone3 f' Z- u) ]( r- p& L: n" j$ W4 v# i
  936. date.timezone = PRC
    # P7 E: W/ G+ S* ^0 H7 b  e9 e

  937. , C( Z/ B9 a/ o1 H4 C
  938. ; http://php.net/date.default-latitude' l7 q; ?: K. [9 e! u' B( l
  939. ;date.default_latitude = 31.76677 s; B/ s/ a/ A- T# A) F

  940. 3 j0 I! O# O& u. Q
  941. ; http://php.net/date.default-longitude) R  Y' P( {$ }8 g! R
  942. ;date.default_longitude = 35.23337 o0 i1 X% g/ n7 X" p3 f" Y9 e

  943. / g  P) i4 m3 }: N4 `$ m* f
  944. ; http://php.net/date.sunrise-zenith, O" {. X4 i# n& a1 A6 `) x7 @
  945. ;date.sunrise_zenith = 90.583333
    5 z5 j3 T/ u/ p; r1 r$ J4 h, v0 f

  946. * g+ X7 Q4 J$ D: r$ v5 T/ J
  947. ; http://php.net/date.sunset-zenith
    % {% j- p& l$ d0 G0 d6 ~0 r5 d
  948. ;date.sunset_zenith = 90.5833336 D' p$ ?' j8 N" C

  949. ; B7 t/ I) I3 E# U0 ^: Z* b' B9 S4 j
  950. [filter]* s0 M+ v0 `, K5 J2 |9 Q* I
  951. ; http://php.net/filter.default
    . ^4 R3 Z7 ?) |7 v
  952. ;filter.default = unsafe_raw
    ( R# P" q  R; o

  953. ; |; `  f9 v2 J- M+ C0 n& P
  954. ; http://php.net/filter.default-flags
    & {7 U% s4 X+ L# D9 Z7 S% |8 B
  955. ;filter.default_flags =
    , M& }5 u' C1 Q7 u
  956. ! i9 l! A* O- N
  957. [iconv]
    & L) F% p, z# ^& T
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    7 D# v9 H; {/ I( b4 f
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    * P# ]3 f% H" Z$ J& z& e+ M
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    9 G8 p' P5 K( d
  961. ;iconv.input_encoding =
    ( X( H3 d3 }5 v/ h4 J' G

  962. : k5 [1 t6 Q7 w3 R0 b+ o% o& `
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    % r7 {1 |8 P6 B: s' _6 f0 Z% |8 v; [
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    1 Y" `9 s8 x0 V* e! A+ A, T
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    2 H& W. Y; e1 |
  966. ;iconv.internal_encoding =0 R7 R' k" s5 g( ]" F

  967. 1 ~6 V! M2 Y1 |
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    $ }3 O; M, O9 Q. S& P* w
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.2 Y8 J0 R/ V! F+ [
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    , S% X$ H2 i# O
  971. ; To use an output encoding conversion, iconv's output handler must be set
    4 u# u9 w- x6 X
  972. ; otherwise output encoding conversion cannot be performed.
    $ c. c7 Q8 g) ]* _& d/ F& @
  973. ;iconv.output_encoding =
    6 R' ?! h: ?* H9 u' W! \% Z6 Q  _

  974. . z: i5 R' r3 m$ p, U+ l
  975. [intl]
    2 i# R4 H4 n/ ^* i* N
  976. ;intl.default_locale =
    ) ~! c4 e/ ^0 A+ v
  977. ; This directive allows you to produce PHP errors when some error! b0 g4 V4 p8 P7 k
  978. ; happens within intl functions. The value is the level of the error produced.! Y  z- u& j; }! N: Q
  979. ; Default is 0, which does not produce any errors.
    / I, X0 |2 k( m* D  e
  980. ;intl.error_level = E_WARNING2 R: s* v- k  a) w" t1 B! a
  981. ;intl.use_exceptions = 0: Y1 M. o/ K) L+ ?
  982. ) o8 N: W- Q' R7 W  _1 b' K# ?
  983. [sqlite3]+ p9 M4 A( H* x$ H* B( d/ w5 c
  984. ;sqlite3.extension_dir =
    - c/ N: w9 b; Z7 O; I7 u3 G* C

  985. : t& J; A4 p9 v( p. D+ {8 L
  986. [Pcre]+ ]6 }" V" c- ^: M
  987. ;PCRE library backtracking limit.
    ( V( r  E! x) G2 y
  988. ; http://php.net/pcre.backtrack-limit
    1 h3 {* n+ m6 o( ~) w4 P5 F
  989. ;pcre.backtrack_limit=1000003 b2 U1 e2 C# K7 h6 x/ c& ~. M

  990. 7 b; Z) g# V4 ~) t) b
  991. ;PCRE library recursion limit.( W8 r3 T+ j! H7 o& e% {
  992. ;Please note that if you set this value to a high number you may consume all: V1 U9 K1 o! g: @& o
  993. ;the available process stack and eventually crash PHP (due to reaching the
    % @% E1 M2 r# l- K" y( `4 G
  994. ;stack size limit imposed by the Operating System).5 N& O9 w) r0 K: f8 R' B. L6 s1 J
  995. ; http://php.net/pcre.recursion-limit
    : C& {' G" }8 s# X
  996. ;pcre.recursion_limit=1000005 Y; P% F3 c/ T4 I( L1 D/ @

  997. " J% o$ C1 w" z( L) u$ N) H& T1 i
  998. [Pdo]
    . ^# _, F. c/ J- s# ^
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    $ D* e7 `1 k1 c$ N
  1000. ; http://php.net/pdo-odbc.connection-pooling
    % F6 g* y; l* s
  1001. ;pdo_odbc.connection_pooling=strict
    + m' W: G" k$ R
  1002. 3 x% y% c7 Z! y' H
  1003. ;pdo_odbc.db2_instance_name' k8 M  v7 a% l$ ~

  1004. ( @; r9 f0 a  c. u
  1005. [Pdo_mysql]
    4 w1 l. O+ @# B9 s) U& W
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache4 z4 R! W5 J; `' `7 i- H. B- m
  1007. ; http://php.net/pdo_mysql.cache_size
    9 T2 a. s6 r8 _# {  n7 Z
  1008. pdo_mysql.cache_size = 2000. n7 c  r% O; V6 m; G, G6 V7 Y3 m
  1009. ; w1 C& k& f( `' `
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in$ U8 P4 O0 D- w/ S* B
  1011. ; MySQL defaults.
    # |( w3 L0 p% Q# j9 j; i9 e
  1012. ; http://php.net/pdo_mysql.default-socket! v0 Q; P# `  J7 f' x+ C, R( {. r# C
  1013. pdo_mysql.default_socket=
    7 u1 q2 R- F9 \8 j6 ~  I
  1014. - B0 V3 q1 f( a$ a% O
  1015. [Phar]( R* V1 Z8 ?* ]( _0 P5 k
  1016. ; http://php.net/phar.readonly" Z. H" f8 g9 s  ?! v2 N0 d
  1017. ;phar.readonly = On
    + e6 @6 q* p; `. P

  1018. 6 Q) r  j% j5 e% q' g
  1019. ; http://php.net/phar.require-hash
    # {8 O9 q$ }* ^/ {$ e
  1020. ;phar.require_hash = On
    % t+ q4 e5 q" S  N; ?  v; Q% A
  1021. * W) s9 F% g" _
  1022. ;phar.cache_list =$ ]9 e) ]& s. V  X1 ]  A
  1023. ; F" T! ~  \" \
  1024. [mail function]1 L5 C9 V1 l5 w1 C* i5 C
  1025. ; For Win32 only./ r# F$ b/ J; ~; S7 d' ~
  1026. ; http://php.net/smtp) P4 @; G6 Z- Q9 W
  1027. SMTP = localhost8 I/ S/ m4 ]1 K* F* r
  1028. ; http://php.net/smtp-port
    2 O0 ^" S/ q9 H& K/ S, [3 Z0 G2 I
  1029. smtp_port = 250 h  O: I% x+ B7 p' S. J9 B2 E9 d
  1030. , s+ z0 O, p% z( A7 p( u- b& Z* ^
  1031. ; For Win32 only.9 L& j* K1 s5 C% ^2 C4 j+ @
  1032. ; http://php.net/sendmail-from
    0 t# p( b) b! h4 ^9 S2 t$ [
  1033. ;sendmail_from = me@example.com1 w; ~% v6 X2 G2 a: n
  1034. , |0 h1 t* i6 h1 s( T
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").: _/ E1 b& K( n; C- ]
  1036. ; http://php.net/sendmail-path
    * d. p- k+ O6 M2 G% k; v
  1037. sendmail_path = /usr/sbin/sendmail -t -i4 T. z8 v# V) y4 q( W

  1038. , \  K% {2 r2 z) c) _, b0 R
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    3 E, y' \% Q5 k: r( H3 E  S
  1040. ; to the sendmail binary. These parameters will always replace the value of
    9 }9 z  r6 z3 h3 x+ p
  1041. ; the 5th parameter to mail().
    $ ]! V5 p# r( e! q% B
  1042. ;mail.force_extra_parameters =
    ; A* l+ \/ H/ ^* n# Z/ w+ w5 y
  1043.   [: U$ [! k4 F! G
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename/ b3 z7 W9 S  \/ Y  z2 v
  1045. mail.add_x_header = On, E8 z6 S( {, H) r
  1046. 6 M/ M! F5 f  n" F: o
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    5 q% a! V$ {" e8 C0 J7 C( z
  1048. ; the full path of the script, line number, To address and headers.
    2 w5 O2 b5 H6 `' l& c9 n) v
  1049. ;mail.log =/ R: ^# G9 F0 C
  1050. ; Log mail to syslog (Event Log on Windows).5 c) [. Y' {* \% q# t: }  G
  1051. ;mail.log = syslog0 V. d8 I. ~! u! Y7 }
  1052. / z$ b5 m9 \7 X: ^. z/ m
  1053. [SQL]
    ! d. B# ^/ {$ W) O
  1054. ; http://php.net/sql.safe-mode
    & c+ Y  w. H5 O# h( i  z7 n. [
  1055. sql.safe_mode = Off
    % m3 A, E  Q  [/ y; i+ v
  1056. $ J# Y$ A3 h) i- v" v# Z
  1057. [ODBC]
    / ]9 g& [- E* i) x/ _8 d, z  f- R
  1058. ; http://php.net/odbc.default-db
    $ E2 w4 F  p, O
  1059. ;odbc.default_db    =  Not yet implemented
    * |7 Z; u$ z7 Y
  1060. 5 x; G0 a% O, H7 A: C/ F' ^
  1061. ; http://php.net/odbc.default-user
    4 b. [) p. p4 R- {: v) X( W1 r$ j. \# a
  1062. ;odbc.default_user  =  Not yet implemented
    5 d/ n6 }6 u7 f0 \

  1063. $ x' f: o4 X! k; w
  1064. ; http://php.net/odbc.default-pw. q# U/ I. Z9 @0 T, Q% [+ R+ W
  1065. ;odbc.default_pw    =  Not yet implemented3 ]7 e, u5 x4 Y4 q" \1 b! w5 q
  1066. 6 D1 b/ a) r# Y, J1 _3 z
  1067. ; Controls the ODBC cursor model.
    ; Y7 |; A+ i" l# ^* U9 O
  1068. ; Default: SQL_CURSOR_STATIC (default).
    / `; ]: Z; v9 E7 W( c
  1069. ;odbc.default_cursortype% Z$ u3 a5 {# A% E+ Z  N* r" m
  1070. ) z: d6 X' I/ p0 o- c0 O% s
  1071. ; Allow or prevent persistent links.. a' A& g. v( o& G
  1072. ; http://php.net/odbc.allow-persistent
    7 S) N9 D7 F, L. `9 s  y
  1073. odbc.allow_persistent = On
    % Y, b; T3 _, s- e

  1074. 7 K( f$ {/ r1 f4 k4 m. P+ Y
  1075. ; Check that a connection is still valid before reuse.
    $ f; }6 e' r2 d
  1076. ; http://php.net/odbc.check-persistent* ]" y) L1 z' [) l9 I# y
  1077. odbc.check_persistent = On% ]8 _3 }' @5 z" }
  1078. 3 X9 v' ?/ T/ J& m& F. F+ o5 \$ A
  1079. ; Maximum number of persistent links.  -1 means no limit.( E- }+ y  A, N% Y+ i$ z% x# Z( A
  1080. ; http://php.net/odbc.max-persistent2 `8 n# H) P& z( \" q" p9 U
  1081. odbc.max_persistent = -11 {) M6 z( P3 O& T2 y6 c- _" L5 D( D
  1082. # Y: d" F/ x/ ^/ \' k
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.! b& p. ?: w* J! h6 U6 R: O: `
  1084. ; http://php.net/odbc.max-links
    - [0 C2 r' g% D6 O
  1085. odbc.max_links = -1
    ' b; V9 p" g4 L7 y6 l, U7 U
  1086. ( M/ v  w1 Q# X* K
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means' o5 u( [0 X  G
  1088. ; passthru.0 M4 h: U* O. U( _% W) a5 T
  1089. ; http://php.net/odbc.defaultlrl
      y) M+ o0 {+ W/ y4 z! ^/ I
  1090. odbc.defaultlrl = 40965 d1 [  }- ]8 R
  1091. - d9 D; S! ]2 T2 Y7 V7 Y
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.  E; j+ U$ X" s6 g  @
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    ' N9 H& u/ o! [- \' |
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    ; q. A/ O. r) a) |
  1095. ; http://php.net/odbc.defaultbinmode( C- h% M# ]0 [9 J4 y9 B# }
  1096. odbc.defaultbinmode = 1
    . {# |. p; c, T5 ?

  1097. 3 L, i( ~3 a1 O
  1098. ;birdstep.max_links = -1
    . \/ A( V, L4 }
  1099. / J0 |4 j+ m7 R% J5 F
  1100. [Interbase]
    3 z4 Y5 ?8 e2 ~% ?+ @& m# Q# X
  1101. ; Allow or prevent persistent links.; F, `0 _6 P% A( |; L* C
  1102. ibase.allow_persistent = 1- n' C# s2 U' X1 R1 j5 q

  1103. 2 H% A5 f. l/ @: F3 C0 g0 H3 ?; T8 @
  1104. ; Maximum number of persistent links.  -1 means no limit.
    + s  Z+ o5 L* B
  1105. ibase.max_persistent = -1* v+ r9 {1 E: @1 p; j
  1106. , t- X. L+ Y9 }# x
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit." w: u6 x8 t. T3 V9 G6 j# W1 C' y. ]
  1108. ibase.max_links = -1
    " h# U9 O6 M/ `; |0 `; h

  1109. 5 n8 a; V6 i$ n9 N, j. j  o. {
  1110. ; Default database name for ibase_connect().
    5 H4 w, F" v8 t+ I# R+ u; F' ~3 B
  1111. ;ibase.default_db =- P# `* j; i2 v! s

  1112. # D& s. K0 \+ L: P2 ]1 K0 [
  1113. ; Default username for ibase_connect().) |9 Y5 O8 o7 `) q8 R* X9 F; q$ }
  1114. ;ibase.default_user =  }, C" T$ _" a

  1115. 0 Y: f$ |  ?: c# ?# ]$ S& e3 d
  1116. ; Default password for ibase_connect().* {8 g$ v& |7 v- @
  1117. ;ibase.default_password =
    ! e2 C4 T0 r/ g  h! o8 {1 a

  1118. ' J. s6 s- L" O3 \
  1119. ; Default charset for ibase_connect().* [% Y+ {; t1 W, W; i0 K0 Z, j8 v3 n
  1120. ;ibase.default_charset =7 G% R* a& P3 w$ j; V6 ^. s
  1121. . S) R- O( u( x0 {# d6 ?- t" ^
  1122. ; Default timestamp format.4 Y! D- u/ x- w: l& f: D
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"# R" r" r3 I+ g0 f" |. b

  1124. 7 X3 z) g2 q0 o
  1125. ; Default date format.; P- v5 V% C, b: v7 O7 u
  1126. ibase.dateformat = "%Y-%m-%d"! L5 o- u( q$ T* G* T5 q
  1127. ) k' W$ d3 p$ Y( S
  1128. ; Default time format.7 q, i. [+ s9 Z' Z: W  n
  1129. ibase.timeformat = "%H:%M:%S"5 ]- Z: S( i; T- [4 @4 E% e' ]
  1130.   x$ I- C( `( v1 U( ~+ y
  1131. [MySQL]
    5 R0 [0 N9 }, ?0 V0 g
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    6 E6 X( y) {" k* k/ k4 \
  1133. ; http://php.net/mysql.allow_local_infile4 r" \! c" j3 G4 }$ z
  1134. mysql.allow_local_infile = On
    ) B9 N4 t3 t8 p$ A2 p

  1135. % c4 k2 }4 B) @
  1136. ; Allow or prevent persistent links.
    6 K- v; ~( j! \7 r" X3 ]
  1137. ; http://php.net/mysql.allow-persistent5 L. f( Y/ O7 y$ [$ `
  1138. mysql.allow_persistent = On
    1 m! y$ I# {  w8 \7 p, L, e2 @' l

  1139. 1 p5 w% k( W* G1 I
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ) q2 I# h0 K: F5 c  Y, E6 g) _
  1141. ; http://php.net/mysql.cache_size
    & H/ P* A# O; {8 o& ]- ^7 u
  1142. mysql.cache_size = 2000
    # k2 a# N2 O, w

  1143. 7 U4 d# I( p  u
  1144. ; Maximum number of persistent links.  -1 means no limit.0 ^, ^; h- z: i  J
  1145. ; http://php.net/mysql.max-persistent1 Z! U6 D; _0 d$ D  z! q
  1146. mysql.max_persistent = -1- C$ m" B  ?8 q. B4 N( b3 n

  1147. $ v1 o3 g) V2 J/ f. n. ~& p
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    , q$ W0 B  v6 j% C+ |
  1149. ; http://php.net/mysql.max-links* U  L) ^9 T& q: c: k3 P
  1150. mysql.max_links = -1, ^" E' N# X: l. z& k' x
  1151. + y' H% `( W4 S7 }1 T5 S
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    , a2 U& v& f4 f# |- ~
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the+ @3 e# ]1 S; Z3 P* S
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look: Z7 x1 x9 q/ T, U1 k; Q
  1155. ; at MYSQL_PORT./ I5 |8 K3 @* s, F* M6 ]: ]
  1156. ; http://php.net/mysql.default-port
    ! c. }3 V7 ~8 E8 D4 V7 M  Y  u2 c3 D
  1157. mysql.default_port =  Q3 U3 f6 T0 I

  1158. . ]# ~  M0 l* |2 O* F- C9 n9 h
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in5 U; Z5 E' _0 u0 z/ w+ |
  1160. ; MySQL defaults.
    3 v+ U" [6 O+ z; x5 n# w% p
  1161. ; http://php.net/mysql.default-socket
    9 s1 f; y4 E- Q: k4 I9 v7 W. \
  1162. mysql.default_socket =2 \  A3 a* g3 ~3 D; q1 p. l, p

  1163. 6 e# P  }2 }7 Z
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).8 r$ C+ ]1 d% {2 V. A
  1165. ; http://php.net/mysql.default-host
    ( \$ s9 b3 \5 \& l: v
  1166. mysql.default_host =, P& R. O( h; Z7 C5 f2 w
  1167. + R8 }. a$ H, u; }. D/ g$ D
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    9 P5 L# N" K) }
  1169. ; http://php.net/mysql.default-user0 ~  o1 s  p) d  @3 U
  1170. mysql.default_user =5 i7 R( M2 \8 A4 L# @

  1171. : j$ l. G- }1 N; p4 j! w
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).( ^% s% L1 v) h1 R1 W& @6 r
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    ; A0 k* w2 f  L0 [8 w) G* _
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")2 F0 A" d9 O% `* J3 I
  1175. ; and reveal this password!  And of course, any users with read access to this
    % T# o, {* D  p, b9 {
  1176. ; file will be able to reveal the password as well.
    " V3 f; }# }: l8 |( C* ]
  1177. ; http://php.net/mysql.default-password
    # w+ T3 [/ i- Y0 e
  1178. mysql.default_password =
      F: X0 a/ r, P. N9 C' u
  1179. * x# `  n: }5 p
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit* O  N2 n4 g$ L9 _( O$ G. C) J
  1181. ; http://php.net/mysql.connect-timeout% @- v' A! }& {" G
  1182. mysql.connect_timeout = 60
    - H* g- [8 @/ @& p/ J
  1183. / _; k; s: y5 l* ?8 g8 B; {
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and3 @  M8 `; v- c& U7 G# |/ j
  1185. ; SQL-Errors will be displayed.0 o2 N( b7 F$ Z" `
  1186. ; http://php.net/mysql.trace-mode6 J7 s; b/ S& f& K. K" `8 j
  1187. mysql.trace_mode = Off- v% ^. S+ F; l1 j& n+ o
  1188. $ {+ }8 H5 S+ i6 r
  1189. [MySQLi]
    : {5 T6 H, k% O, N

  1190. % A8 N+ a$ A' i, [- e1 B/ n
  1191. ; Maximum number of persistent links.  -1 means no limit.( p# X0 \9 k2 h4 P; |. t  W; [
  1192. ; http://php.net/mysqli.max-persistent
    " G) L( R5 a  k/ Y
  1193. mysqli.max_persistent = -1( s  u; {0 E  V9 Y5 V: Z8 @
  1194. : e& E. _# n% h6 X6 p9 _9 V
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements, n, M+ h9 u) C
  1196. ; http://php.net/mysqli.allow_local_infile
    ; F4 C& W$ l! s* S& w1 n0 E
  1197. ;mysqli.allow_local_infile = On
    / }+ [  U4 w5 U% L

  1198. ! N, y$ P" A! f# I0 K8 B; g8 V
  1199. ; Allow or prevent persistent links.
    4 S1 I0 {6 u7 b4 e! P3 p9 ]
  1200. ; http://php.net/mysqli.allow-persistent; ~5 W! ]+ c* e1 k) A: S3 ?
  1201. mysqli.allow_persistent = On* Z% X# ~* O* e) t4 J1 {

  1202. 2 j4 K$ r" {7 x, J4 F5 y
  1203. ; Maximum number of links.  -1 means no limit.
    + [' `6 m: B2 v  F; `
  1204. ; http://php.net/mysqli.max-links
    ; j9 n% g: Y5 P9 L( Q' p1 C
  1205. mysqli.max_links = -1
    - o: H% \. }* ^/ x$ s2 V% Q1 O4 S

  1206. ) u8 `* T0 f4 I9 K6 H% F
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    3 V% t3 X# y! l& \  s
  1208. ; http://php.net/mysqli.cache_size
    # V( \# |* s6 }: `
  1209. mysqli.cache_size = 2000
    - P1 y1 J; [1 D+ L$ n9 w8 ]9 k

  1210. & j! K/ u' ^! f; @5 `
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    ! h' Z0 Q. _( |0 c
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    ! {, L: c0 M4 G- i
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look7 o/ h" C3 }3 ^  `6 l; q4 r
  1214. ; at MYSQL_PORT.! ]3 l  m1 w4 B
  1215. ; http://php.net/mysqli.default-port
    ; A- G5 w# u& a1 R) [9 F
  1216. mysqli.default_port = 3306
    / L9 h6 X4 A( B

  1217. / n" u+ U, n8 Q: l/ B
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    3 c# J" z  U5 ?! e( D" V3 c
  1219. ; MySQL defaults.
    1 c- m% M0 p6 \" q# q1 ]% [
  1220. ; http://php.net/mysqli.default-socket. O* i* X9 _  W- x5 c
  1221. mysqli.default_socket =
    + m( |  i' I$ Y/ i' e: O

  1222. - {( _3 Y" L+ U  G+ U
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    & Y) {0 {' i( y7 W; @  y
  1224. ; http://php.net/mysqli.default-host0 V* M; X' H$ u! m  [$ h
  1225. mysqli.default_host =$ x7 p0 r/ ~; y! X; d, g0 v' M
  1226. % [- w4 M8 u$ |- @: L, h' o
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    ; ]& h$ \7 i4 X3 q
  1228. ; http://php.net/mysqli.default-user
    2 u1 R% S9 g4 K) }* S3 G& m
  1229. mysqli.default_user =6 C4 q$ R  P4 }1 N1 V" X
  1230. " v. b7 o, m" W* g2 p. N
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    ) L: p; i/ |* d! r/ [! z# D. @
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    7 C3 N6 ]6 M6 `: j: E  h
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")* v7 k- C$ c. q$ X' J$ v, z9 v
  1234. ; and reveal this password!  And of course, any users with read access to this: K& y+ s3 k7 o7 {" S! O. U0 ^8 S
  1235. ; file will be able to reveal the password as well.
    3 `0 E- b( N4 t9 y1 A# S7 F3 w
  1236. ; http://php.net/mysqli.default-pw# r# f+ N* b3 }% O7 a; F
  1237. mysqli.default_pw =" z, j$ t. {! r* D- Y

  1238. - E" W7 a# U" s) B5 p( C
  1239. ; Allow or prevent reconnect
    % L+ g' F- X' ^. ~. W" r9 y1 W
  1240. mysqli.reconnect = Off, A9 `& u# |5 L' r& O# z: q

  1241. ! E" x* v0 ]! r+ _
  1242. [mysqlnd]1 V+ D( E* }+ @, b4 e
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be9 k8 {! S9 ~, }+ X" W+ o( U+ V
  1244. ; used to tune and monitor MySQL operations.
    2 f; H; y4 p( x$ h  Z; v
  1245. ; http://php.net/mysqlnd.collect_statistics; d; a  T$ e6 d1 K8 r* @
  1246. mysqlnd.collect_statistics = On
    : M. z$ g3 Q* Z3 p
  1247. + O& e+ @/ T6 m2 i# l3 _/ {0 R
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be+ A% f% i* K7 Z1 Q9 L& D
  1249. ; used to tune and monitor MySQL operations.
    & Y. b9 t5 {0 c; `2 H
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    9 C# f* _. z! a4 E4 t
  1251. mysqlnd.collect_memory_statistics = Off
    9 n: @8 ]: L7 f

  1252. / w6 I* [+ u. k) t( A5 i* D1 m/ M7 N% A
  1253. ; Records communication from all extensions using mysqlnd to the specified log  p% ~2 O6 s# }
  1254. ; file.) f0 v7 |, U# T4 m
  1255. ; http://php.net/mysqlnd.debug& J* \7 S3 o. i7 Q; L9 f4 V
  1256. ;mysqlnd.debug =; ~, |' v& b1 F* }+ `

  1257. 3 k, y! N. B) F3 F1 I
  1258. ; Defines which queries will be logged.
    + p/ {" @+ N8 _( ~) k/ e! b
  1259. ; http://php.net/mysqlnd.log_mask! L, }9 Y4 r1 O
  1260. ;mysqlnd.log_mask = 0
    * ~' R6 u+ `  M: u+ q
  1261. % C& M4 {8 p9 x1 d
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
      F* p; |  Q1 G! j; s7 Z, Q
  1263. ; http://php.net/mysqlnd.mempool_default_size
    1 a! Y! f7 G& ?5 a0 g' }
  1264. ;mysqlnd.mempool_default_size = 16000
    8 v# g8 q  N4 H8 m5 W
  1265. ; j1 T! t4 I0 B
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.2 w& z" {9 K  R% l) f
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size& L* S$ z+ J7 n; J6 a' T
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    ' G+ G: r' S# @
  1269.   m+ t; M/ F# R: ?" D
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    ( [0 u1 [1 E7 d: L$ y& o2 b
  1271. ; bytes.4 E! J  a4 p* Z
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    5 g3 b) A; y) F+ z) p3 n4 s
  1273. ;mysqlnd.net_read_buffer_size = 327683 C0 z2 c7 @) ~$ U+ J
  1274.   b3 d8 P9 [+ P; m* x
  1275. ; Timeout for network requests in seconds.
    5 h3 F8 W! U. E5 {' z
  1276. ; http://php.net/mysqlnd.net_read_timeout* ~/ l" r4 Z* I2 c: m. J5 b8 w3 k
  1277. ;mysqlnd.net_read_timeout = 31536000, r9 H% Y$ W+ m5 ~  W9 [
  1278. 1 t/ C: a  ^- l9 k& M
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA$ X0 _3 D& h: P4 ?+ ^4 G) x
  1280. ; key.$ Q! h8 u2 S7 C! Y1 y4 Q
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    9 j: W# Q* R; e; o3 Q
  1282. ;mysqlnd.sha256_server_public_key =
    & D  A- k6 z: R

  1283. 5 S  R% Q# q& [! G, a5 V
  1284. [OCI8]
    4 J9 Z! C# G  L* P! U* I

  1285. & P( s" l9 \# Y# p, X* V# W& _
  1286. ; Connection: Enables privileged connections using external& x* h% _4 S/ P, @/ o- p. M
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)/ z5 z. Q( \; V2 r+ O4 v. U
  1288. ; http://php.net/oci8.privileged-connect& D* T0 s  R6 e$ V/ k5 H
  1289. ;oci8.privileged_connect = Off
    9 b  a5 Q' K9 E" f2 l

  1290. ' o# T) b! ?0 [
  1291. ; Connection: The maximum number of persistent OCI8 connections per. Z4 W, k6 z$ x- f, R, [7 ]% G2 d* b
  1292. ; process. Using -1 means no limit.
    . b6 h2 |2 c. _- ?7 L% w5 Z
  1293. ; http://php.net/oci8.max-persistent& K. z: a! i0 a) h" n, x; T1 N
  1294. ;oci8.max_persistent = -1- B3 N% \2 K& V- K$ j0 ^3 v& _

  1295. ' n' R: E, G* d
  1296. ; Connection: The maximum number of seconds a process is allowed to
    $ k, b5 ^( ^) {7 K+ t
  1297. ; maintain an idle persistent connection. Using -1 means idle
    5 H7 G. |5 e" R8 F/ J+ R+ I$ P
  1298. ; persistent connections will be maintained forever.
    / ?) g  H! W2 x0 W) N
  1299. ; http://php.net/oci8.persistent-timeout, s# o* k* Q8 o) V: ]# U' V
  1300. ;oci8.persistent_timeout = -1
    2 K3 O* O- ^5 o% ~/ q

  1301. * o7 y2 y: J8 \4 s/ G1 Z9 Q
  1302. ; Connection: The number of seconds that must pass before issuing a
    - m) R: [) G) n; b. V! R" V9 \
  1303. ; ping during oci_pconnect() to check the connection validity. When
    1 j/ n2 a0 S4 U
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    ' w( m* J9 o  m- W6 H
  1305. ; pings completely.
    6 _3 P" b* j  ~
  1306. ; http://php.net/oci8.ping-interval
    * Z/ J. c8 g6 i+ {, G3 e
  1307. ;oci8.ping_interval = 60
    5 j0 t1 e- m5 M5 T5 C% u

  1308.   X4 M9 a; H: `0 D9 x7 o
  1309. ; Connection: Set this to a user chosen connection class to be used
    7 t* l, J# R5 w6 |6 c+ j5 W) n
  1310. ; for all pooled server requests with Oracle 11g Database Resident- B6 r/ _) i: j. f$ {# J
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    ' @- P! \8 z" a( X
  1312. ; the same string for all web servers running the same application,
    3 A0 S  y$ I0 `, {0 H" L
  1313. ; the database pool must be configured, and the connection string must
    * `- b1 C% O' i. y$ h
  1314. ; specify to use a pooled server.
    3 f& E2 t3 m2 w$ F9 t+ N2 l
  1315. ;oci8.connection_class =  C0 l" m, E$ S

  1316. ! q8 Q" ^% o5 a1 M: |
  1317. ; High Availability: Using On lets PHP receive Fast Application
    $ `  h) S4 f6 w/ U
  1318. ; Notification (FAN) events generated when a database node fails. The  ?' G6 `& f2 y" |+ M" e+ S
  1319. ; database must also be configured to post FAN events.' q; D9 W1 P% \6 u: G5 p* ~8 g( b4 @
  1320. ;oci8.events = Off0 I$ I; {! a& q" V% N
  1321. 2 x( Q: l9 J5 Q: q$ e" q+ H
  1322. ; Tuning: This option enables statement caching, and specifies how
    , o* \- o$ A# X/ t  a
  1323. ; many statements to cache. Using 0 disables statement caching.6 V2 z& @) `) f) Y
  1324. ; http://php.net/oci8.statement-cache-size
    3 a+ R8 c  \* v& p
  1325. ;oci8.statement_cache_size = 20
    # W- b" |3 S) T2 V2 G

  1326. 0 D" t) z' \8 h8 G4 r
  1327. ; Tuning: Enables statement prefetching and sets the default number of3 _  h/ X. Q. L" {+ K2 K- r
  1328. ; rows that will be fetched automatically after statement execution.% B: A9 i# B$ ^: g' b  `
  1329. ; http://php.net/oci8.default-prefetch
    3 [: P+ c8 Z  T$ E- _4 o2 i7 Z9 e
  1330. ;oci8.default_prefetch = 100
    9 P6 j7 V, `  _" F! y! |  {  ?. E
  1331. 6 y9 ~! C1 W7 V
  1332. ; Compatibility. Using On means oci_close() will not close/ d# x* G- B2 X( ^# @
  1333. ; oci_connect() and oci_new_connect() connections.
    3 s+ H  i& i8 [& ?7 T/ O
  1334. ; http://php.net/oci8.old-oci-close-semantics: ~6 ?% a: P- {+ w* s- N5 L
  1335. ;oci8.old_oci_close_semantics = Off# e- C, f. A6 Z, E7 }4 l6 f4 J
  1336. 5 k/ n+ j: d$ O* H
  1337. [PostgreSQL]
    0 B+ |3 E- G/ ]1 C) D
  1338. ; Allow or prevent persistent links.( q) l3 w3 [7 p- C
  1339. ; http://php.net/pgsql.allow-persistent
    # ^( c; i8 r9 j7 B9 n5 |' O% x
  1340. pgsql.allow_persistent = On
    " r4 {7 E! r. E0 ^4 H4 b' S7 c

  1341. 9 W0 C. ~  A  c$ a
  1342. ; Detect broken persistent links always with pg_pconnect().% f' Q1 ]: k6 {9 O
  1343. ; Auto reset feature requires a little overheads." E0 x: J0 |' F% S5 X$ ^  y
  1344. ; http://php.net/pgsql.auto-reset-persistent  b* V6 t0 K* D7 I! `8 C+ @& n
  1345. pgsql.auto_reset_persistent = Off" |! [* @' T  w0 K" ?

  1346. 0 b8 s% g$ J  c; x* v- z
  1347. ; Maximum number of persistent links.  -1 means no limit.
    ( B* b" W; H! n  u$ ?; L9 c% v% w
  1348. ; http://php.net/pgsql.max-persistent
    + R8 N2 }/ f: w& S0 A
  1349. pgsql.max_persistent = -18 Y1 P( X- w" `4 _( e9 @: k

  1350. 0 g8 `# `5 t1 C! N# D+ P: d6 K
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    ! c1 M. |8 H  a# Z
  1352. ; http://php.net/pgsql.max-links
    ; Z; n5 X2 P2 f- q
  1353. pgsql.max_links = -1
    9 E) ^1 o7 |9 u% F( F7 C

  1354.   G% J6 @1 T, v2 o2 L8 J
  1355. ; Ignore PostgreSQL backends Notice message or not.0 L- F9 y) P; z0 E
  1356. ; Notice message logging require a little overheads.
    8 s  g5 O6 C; n9 v4 O4 A3 D. e+ s
  1357. ; http://php.net/pgsql.ignore-notice( _6 M( X' Z- ?: H9 Y7 ^9 `
  1358. pgsql.ignore_notice = 0; K- n! ?, A2 C) p% H6 B
  1359. ! f4 E2 t; t7 E  W. `9 F+ d# Z
  1360. ; Log PostgreSQL backends Notice message or not.
    % i, c. v: {3 v7 ~0 K
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.# ]$ h% f' v2 `: _  A
  1362. ; http://php.net/pgsql.log-notice  ]4 B3 q+ U' d
  1363. pgsql.log_notice = 0
    2 M' M6 a7 ]3 x
  1364. + I% x& c# }. z* ~
  1365. [Sybase-CT]
    * W0 ~" B$ I$ c0 e! B% W, I
  1366. ; Allow or prevent persistent links.' _- X: I0 L1 I6 `# T+ e$ |! \
  1367. ; http://php.net/sybct.allow-persistent
    6 c% d" v4 b: n5 L
  1368. sybct.allow_persistent = On; W7 k8 g$ X5 K+ K3 h& b& e4 o
  1369. ! W% P! U4 i1 u& ?8 l& ^/ P7 T
  1370. ; Maximum number of persistent links.  -1 means no limit.. k% ]5 y7 N- d0 c
  1371. ; http://php.net/sybct.max-persistent+ R: E$ d2 @; S2 h+ k
  1372. sybct.max_persistent = -16 Z+ Q7 V  Q3 ^0 g. F! Y
  1373. , i2 i) _, [1 q/ U  b) L6 \/ w
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    # m$ z* J7 U0 W3 L$ D
  1375. ; http://php.net/sybct.max-links
    2 F. q9 g( i+ v
  1376. sybct.max_links = -1
    ) y0 E4 U1 F. L, d! c2 E' y! \5 U  D* C
  1377. - }+ v2 s4 _% s  q) ^( W
  1378. ; Minimum server message severity to display.% k2 B. W2 |! P' M9 E! N
  1379. ; http://php.net/sybct.min-server-severity
    3 q7 u  M7 l" j' {4 E% i- N
  1380. sybct.min_server_severity = 10" Y9 r; p8 u! m0 L3 u
  1381.   h) a. R3 A1 l* H) E* P0 @
  1382. ; Minimum client message severity to display., O  Q6 o8 J0 u. j
  1383. ; http://php.net/sybct.min-client-severity6 N- M" z2 J1 V! b: b8 w
  1384. sybct.min_client_severity = 10
    , ~; U$ k$ q" f) E

  1385. " d( @* |) |" D# p: q
  1386. ; Set per-context timeout2 b2 v# v, p6 X3 F% U, K
  1387. ; http://php.net/sybct.timeout
    + @2 g) O& e7 t. C7 j' Y
  1388. ;sybct.timeout=' S$ w8 H, j3 y8 O

  1389. 1 J7 \# z& m: S5 \" W
  1390. ;sybct.packet_size
    / `2 n2 e- y0 w' {( W$ B' b) f

  1391.   c# X/ N( P  q
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    7 I7 R8 L  k* c( N& a; A+ i$ ~# F  _
  1393. ; Default: one minute
    & N+ Q7 t, V* |% \4 A- {
  1394. ;sybct.login_timeout=
    / I$ l3 I1 ^8 |; U

  1395. " n. ]. `3 ~% p( v1 B" w% c
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.' C  V2 `5 `. c0 f& F7 |2 r
  1397. ; Default: none
      a+ r8 z( R& n/ A9 y0 X: `
  1398. ;sybct.hostname=
    0 {) u3 g3 }. }& [; @. O

  1399. 8 ]+ Y* ], T/ ?* K* u
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".$ N2 r( x* N- R6 n% Z2 B6 U( O1 P
  1401. ; Default: 00 f0 c+ q! D- D5 }+ ?
  1402. ;sybct.deadlock_retry_count=
    / F: X9 H; V: @1 H' j
  1403. 3 C; B' y) _8 S
  1404. [bcmath]
    % c; S% Z5 V5 X9 [% M
  1405. ; Number of decimal digits for all bcmath functions.
    $ D  ?+ l. D* L
  1406. ; http://php.net/bcmath.scale- O7 j9 O1 i/ m: P2 x0 _/ }
  1407. bcmath.scale = 0
    7 _& x# i5 B: h5 x6 Y, b# A3 q2 d

  1408. 3 Y% X9 j, a" K; l# P$ A4 Q
  1409. [browscap]; `# B4 F/ h6 @* P' `
  1410. ; http://php.net/browscap) `8 i+ a: z, a. I0 H7 |# _, ]5 I
  1411. ;browscap = extra/browscap.ini
    ! _# Y  I) K9 W9 w" t( {( W: u

  1412. 3 \) L+ x  q8 R; H4 G
  1413. [Session]
    3 R1 s# l/ `. d0 b/ ~0 n1 x! d# R
  1414. ; Handler used to store/retrieve data.+ G% o# L2 z0 V" d* W4 O0 [) S
  1415. ; http://php.net/session.save-handler
    & [- G' v1 F: `* }
  1416. session.save_handler = files
      n. L" v! L: P; Z

  1417.   W, N: G, p8 a" j. o9 k
  1418. ; Argument passed to save_handler.  In the case of files, this is the path; M* n% S; u2 C* O& g
  1419. ; where data files are stored. Note: Windows users have to change this0 s/ ]. Q2 G3 t" d: ?# Z0 j
  1420. ; variable in order to use PHP's session functions.4 y& D  A0 p4 ~8 s& F: }
  1421. ;
    0 t! j( l  ]# @2 y3 c  u
  1422. ; The path can be defined as:
    6 I9 _7 V; e- G/ }4 l5 |% d
  1423. ;
    ; w: q: a. i; ^
  1424. ;     session.save_path = "N;/path"
    # X1 x3 V- Q8 X7 l; ^8 D7 D: d/ U
  1425. ;
    / X% T( c/ B" b& z! J+ {
  1426. ; where N is an integer.  Instead of storing all the session files in
    : P- V5 Q* C) f
  1427. ; /path, what this will do is use subdirectories N-levels deep, and; C1 J1 U. h% l6 i
  1428. ; store the session data in those directories.  This is useful if9 |5 O. K( t% @2 A8 O* S
  1429. ; your OS has problems with many files in one directory, and is/ s+ T1 z6 Q( k/ e( i# }
  1430. ; a more efficient layout for servers that handle many sessions./ J% W- j# X& x* a2 p
  1431. ;$ q! c$ R0 a% J+ ^& n: L  a) o0 V
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    * Z" r; Z. q! T* g1 Q. a, `
  1433. ;         You can use the script in the ext/session dir for that purpose.3 n8 Y' M2 q! n+ a% J; ~$ d8 ]$ l
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    4 j9 _/ l7 r! w8 U4 i
  1435. ;         use subdirectories for session storage0 @; w5 k4 q, q$ O6 j5 _. L
  1436. ;
    $ X$ ^2 X( ?5 q) F2 `
  1437. ; The file storage module creates files using mode 600 by default.8 ]8 N& H) T& ^8 C3 t- j" [
  1438. ; You can change that by using5 w0 l  Q7 @) h& t! \
  1439. ;  l. R8 x5 e( _9 u1 H( f
  1440. ;     session.save_path = "N;MODE;/path"! f4 F: V( K+ p
  1441. ;
    6 G$ L; ~5 F9 F8 ]; Q% U) o
  1442. ; where MODE is the octal representation of the mode. Note that this" i; t7 ]' ~- I3 D" A/ N* ~+ Y
  1443. ; does not overwrite the process's umask.
      {+ T0 t9 d/ Z
  1444. ; http://php.net/session.save-path  e* s+ K7 m( J/ V6 o  U4 [. D( S
  1445. ;session.save_path = "/tmp"# ]/ k1 h% M' O

  1446. 1 m& y7 o9 v9 m! v+ S( h5 h6 U. t
  1447. ; Whether to use strict session mode.
    ' i# C0 }6 s+ S; _0 O
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    ' q1 s1 w6 i0 B( R" c( A
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects% U+ D1 W1 P) B; n) ]
  1450. ; applications from session fixation via session adoption vulnerability. It is  L/ c1 l; M6 }1 Q9 N( h
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    5 u3 Z7 G! g: y! n
  1452. ; https://wiki.php.net/rfc/strict_sessions! s& d+ u+ r' `9 C) \; @
  1453. session.use_strict_mode = 0: K2 Z2 h. J" W4 ~% b
  1454. 3 a' Q0 C9 r& {; O9 v" W7 e
  1455. ; Whether to use cookies.
    % m8 Q+ p7 c% ^8 B! P
  1456. ; http://php.net/session.use-cookies& N: S( d# X% _2 W
  1457. session.use_cookies = 12 ]' ~1 w; p/ w+ o

  1458. ( ^$ k; `1 x% V5 j1 @
  1459. ; http://php.net/session.cookie-secure
    ; m. [. x; g9 J  p  e+ Q
  1460. ;session.cookie_secure =
    9 N" Z; x1 [8 H: n; e& y9 q" E
  1461. 3 c# j) @* a# g  b# B0 ^
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    9 l5 i6 |  S" k
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    , J3 P5 {5 `& B- d0 `- H: }5 j% R
  1464. ; session hijacking when not specifying and managing your own session id. It is: ~1 g. Y6 \3 x/ X
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.4 ]; C8 {, K2 Y+ Z- z
  1466. ; http://php.net/session.use-only-cookies5 i4 Q! T8 C! L' c
  1467. session.use_only_cookies = 16 y" R* k) c8 l4 I

  1468. 6 ~# M6 Z2 D% }5 S
  1469. ; Name of the session (used as cookie name).+ B( a; ]; U5 E* Q
  1470. ; http://php.net/session.name4 G# F6 b/ \0 q
  1471. session.name = PHPSESSID* @/ v( V, b. d! l6 l

  1472. ) q  [" ^4 O, R( X; ]
  1473. ; Initialize session on request startup.. K  O) v  {: R& f4 L5 Q& F
  1474. ; http://php.net/session.auto-start
    0 ?& F4 j. {5 ^/ `
  1475. session.auto_start = 0& Z$ L& x5 u9 Q; M- p5 H6 x7 S. E. T

  1476. 6 P8 \7 C& N9 n! U' _
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    & B; G$ J6 j$ A8 v6 n
  1478. ; http://php.net/session.cookie-lifetime6 x) F9 r2 N7 W6 t/ y( I8 L* t# e
  1479. session.cookie_lifetime = 0
    . X! y/ h! U- M6 r

  1480. , `" p* |; C( O. w
  1481. ; The path for which the cookie is valid." ^; J+ W  m1 }1 W, W% ~; j
  1482. ; http://php.net/session.cookie-path. J# K5 z& E, U1 e( a) e- `! [/ t
  1483. session.cookie_path = /4 l  H9 `+ P' V- n- u% }- @* {

  1484. $ ^  \5 s: F  c: V
  1485. ; The domain for which the cookie is valid.
    ! J/ x( l+ h5 S/ e( {1 h' a( r( `6 L) a
  1486. ; http://php.net/session.cookie-domain0 M, s8 j( K& ~2 T: f
  1487. session.cookie_domain =
    ' r7 t1 H+ l: G  h! n4 U1 w' @
  1488. - ^- h& F) `; R1 u0 ?3 {. U- l# b; i
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    / h% S0 z2 z! N' w9 }9 [0 e# b0 J+ K
  1490. ; http://php.net/session.cookie-httponly+ [9 `8 D, X/ r0 I
  1491. session.cookie_httponly =) t+ u: k: b) a0 r3 Y7 i' ^8 k

  1492. " |, n: q! k8 j8 _& P
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    7 L' d% {: K) t% b; Y1 C8 C
  1494. ; http://php.net/session.serialize-handler1 M# z& \$ y. m: U
  1495. session.serialize_handler = php$ G1 e  L# X1 p4 {8 p

  1496. : ~3 B3 j( {% M. Z- U
  1497. ; Defines the probability that the 'garbage collection' process is started+ U# u7 K% {3 K  t' B  p8 j( C' ?% o
  1498. ; on every session initialization. The probability is calculated by using
    , k/ @0 r; D1 I: Y9 P) O4 b
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    , X* ^5 j, F, d; J
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    1 I3 r$ P# ?( a0 H6 F- e
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    8 B4 A  ~* e, E- Q+ j5 N
  1502. ; the gc will run on any give request.! }; q3 z% Z9 d/ U0 x
  1503. ; Default Value: 1  Y$ }& J% V, L8 B2 y- w! m' ]
  1504. ; Development Value: 1. u& T* }& n" @4 _9 h& |8 i
  1505. ; Production Value: 1/ M  I. g# t( t; }, L: T5 q
  1506. ; http://php.net/session.gc-probability
    : h% p( S2 V/ r
  1507. session.gc_probability = 16 }6 b9 P9 Z4 k6 R( d, a& \
  1508. ) H, }, u, }# M* }2 p
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    + g" Y' x7 b8 b
  1510. ; session initialization. The probability is calculated by using the following equation:
    7 a8 P8 R* W) ~- R" c
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and5 q8 {/ o) W. N0 `8 [* _
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 17 }# n3 t* |% b  Z/ n7 M9 E5 \
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    7 H# B  t+ }0 s2 O
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    # D' d# f8 D# L: b8 ]3 P- [" {6 f) {
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    - N) c% [7 u8 z* M  z( R7 f
  1516. ; this is a more efficient approach.8 r% D: C0 E- D- \- a5 t
  1517. ; Default Value: 100
    0 ?# r2 @( g6 ?+ M
  1518. ; Development Value: 10003 J1 e9 {: L2 V" h$ D" q
  1519. ; Production Value: 1000
    9 \9 \  g6 C3 \
  1520. ; http://php.net/session.gc-divisor
    3 Y6 x/ O8 V" a& H$ Z: s
  1521. session.gc_divisor = 1000. l: Y3 i1 X+ H" {/ d8 D0 |0 B9 m
  1522. / Z2 ^0 ~" E* f
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and/ [8 O  F. f# ]+ }8 i" d
  1524. ; cleaned up by the garbage collection process." V# f7 h; b1 z" T0 a8 v; v8 O
  1525. ; http://php.net/session.gc-maxlifetime
    ( @" Z& t. |2 M+ h
  1526. session.gc_maxlifetime = 1440+ `9 t4 s* j* w. _' \- T
  1527. ( G8 b1 W. ^% L! P
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    + u% ^7 W4 L8 q. t# o+ }$ w
  1529. ;       (see session.save_path above), then garbage collection does *not*" M* n! R2 @" h; k
  1530. ;       happen automatically.  You will need to do your own garbage
    ) v4 q9 ~8 N6 V$ D) [( V
  1531. ;       collection through a shell script, cron entry, or some other method.1 R* y7 S1 ^1 Q" ]- M9 a
  1532. ;       For example, the following script would is the equivalent of
    . a$ n# l$ h0 J" N8 M" b
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):6 f- J* p) {+ v; p  b! g
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    ! O4 o, z: }  f
  1535. + R4 ?0 R9 S6 f  T  X- |) y
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.: c" u! _: Q1 M" ~6 Y  e& y
  1537. ; HTTP_REFERER has to contain this substring for the session to be7 U# y: x& w  W2 U3 s8 G
  1538. ; considered as valid.7 R. |- H9 a& U3 T9 l7 m
  1539. ; http://php.net/session.referer-check
    * E' \. m0 j% w' S1 a' [8 |+ Q
  1540. session.referer_check =4 V2 Z! E3 b! N6 D. F1 m
  1541. 9 g$ l: n: w% m2 t( h
  1542. ; How many bytes to read from the file.( g. s  c- @5 H& y0 ?8 _
  1543. ; http://php.net/session.entropy-length
    % [9 _5 D: a: s0 |8 R+ S  w7 r2 n/ b- D
  1544. ;session.entropy_length = 32$ \9 [: g- ^' L7 M: K

  1545. 6 i/ j/ Z! r4 ?- B3 F
  1546. ; Specified here to create the session id.- q# s. g3 z6 ]
  1547. ; http://php.net/session.entropy-file
    ( a- _' b5 a1 m0 M) {2 \+ D
  1548. ; Defaults to /dev/urandom
    3 [; k# [0 n8 H( n  ?, t, @
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom& U  t7 S4 j5 W" X
  1550. ; If neither are found at compile time, the default is no entropy file.
    + [0 [$ E6 x+ D% c3 q) z$ V% P8 a% x
  1551. ; On windows, setting the entropy_length setting will activate the8 ?$ k$ I5 B( {3 t! Y) |
  1552. ; Windows random source (using the CryptoAPI)
    5 q5 ^8 o" o; J2 \* h4 d
  1553. ;session.entropy_file = /dev/urandom
    ; U, B* g! a. [! Y

  1554. & u( {0 j. s  H+ P
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    ) n+ H5 J  t# _3 @+ O1 n( c' p
  1556. ; or leave this empty to avoid sending anti-caching headers.
    0 A; l6 {* n. V& g1 N
  1557. ; http://php.net/session.cache-limiter" a1 l8 {: ^; m' ~+ G
  1558. session.cache_limiter = nocache! Z- V, J7 n" B# u/ `5 [8 G

  1559. ( q5 |6 V- m- b) i3 z: P- D: t
  1560. ; Document expires after n minutes.
    7 x5 ?/ V8 }  H
  1561. ; http://php.net/session.cache-expire
    & C, m% C; }( J( k
  1562. session.cache_expire = 180! t* ?: X) I( m9 a  d

  1563. 5 h" ~/ L* c  p; F0 G5 f. S
  1564. ; trans sid support is disabled by default.  @! o3 h; y# v6 ?8 X5 F
  1565. ; Use of trans sid may risk your users' security.
    8 h/ q- U0 o: G: f
  1566. ; Use this option with caution.
      g2 G. [1 ?* b" l. m
  1567. ; - User may send URL contains active session ID
    # b# K% c% T  S3 G2 Q
  1568. ;   to other person via. email/irc/etc.; E& I' n+ X1 o" a) D# T2 i
  1569. ; - URL that contains active session ID may be stored
    ( N  H5 L, X6 @# g- N9 E8 B
  1570. ;   in publicly accessible computer.' h, k+ b) ^, Z' m; X
  1571. ; - User may access your site with the same session ID' O; s& Z- _4 u' H0 m
  1572. ;   always using URL stored in browser's history or bookmarks.
    1 D' w# t9 \8 |3 z
  1573. ; http://php.net/session.use-trans-sid+ }" \$ y& L) w2 V; u4 `6 z  Y
  1574. session.use_trans_sid = 0. w5 G4 Z$ `# l
  1575. 6 a* Z, p+ ^3 @9 Y
  1576. ; Select a hash function for use in generating session ids.+ L0 I9 W/ ~8 B( M; A
  1577. ; Possible Values
    $ i# c7 E- Y8 }8 V
  1578. ;   0  (MD5 128 bits)
    ' d$ ?( l# ^% W+ O7 w! t1 Z4 d
  1579. ;   1  (SHA-1 160 bits)' J: F/ O7 ^/ J! r5 d9 q6 {( a8 ~% d
  1580. ; This option may also be set to the name of any hash function supported by# G1 _; _9 Z% D! x* A2 A/ Q( L6 N
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    3 e; Q) T. a4 m* t2 K
  1582. ; function.
    + g% s: \" p5 _1 q4 w1 }  O+ v
  1583. ; http://php.net/session.hash-function1 ]; q# y6 w/ L
  1584. session.hash_function = 0. x% }: T# n/ U6 b
  1585. 8 N1 p7 f/ W6 s. T, I% \5 f
  1586. ; Define how many bits are stored in each character when converting$ B1 J5 Y  A8 a2 S) x9 K! C
  1587. ; the binary hash data to something readable.7 C) v1 q5 T4 b& v$ B+ r
  1588. ; Possible values:
    $ A2 w% q+ |+ j& c* b
  1589. ;   4  (4 bits: 0-9, a-f), e! p& h+ d% k  C# Q) N" @0 M! L
  1590. ;   5  (5 bits: 0-9, a-v)4 l8 m+ }' T: X0 [" G
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")( m5 S* c  B1 n; N( S  }* K
  1592. ; Default Value: 4& B/ E. B( I! y. q. P1 G
  1593. ; Development Value: 5! U( b  [( m% `% R
  1594. ; Production Value: 59 y% P) v5 y' G4 S# r5 q% v/ `
  1595. ; http://php.net/session.hash-bits-per-character
      z" Y0 B+ y3 \4 g) T7 O
  1596. session.hash_bits_per_character = 5
    8 a4 y  n) [) e, o
  1597. & ]' h3 f5 N# u0 C1 {1 ~
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.$ x& \* F5 g3 k- d) E! M, S7 Q
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    5 S/ g. I+ l: C* D; n
  1600. ; add a hidden <input> field with the info which is otherwise appended
    9 l6 ?. r0 ?9 H% U: N  e7 W
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.. Z- y1 j$ c' C. l% \- X/ i
  1602. ; Note that all valid entries require a "=", even if no value follows.2 g1 a: C8 j9 w" A5 B1 s4 Y# e
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ; K5 T5 N6 Y1 ~/ G  j# W$ S
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"5 n0 L: }! W3 K' C/ v  S
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    # b/ f* u2 W# I! i% i3 Z
  1606. ; http://php.net/url-rewriter.tags, ?& I- Z* c  h8 V" V8 Q* a2 d2 E
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"9 R7 g" l! m1 L
  1608. & ?' y  W2 M  H7 k" V8 D; i5 N
  1609. ; Enable upload progress tracking in $_SESSION" L! k; W6 i) _6 w4 _$ ?' X$ X
  1610. ; Default Value: On2 ~8 E4 h; x# B
  1611. ; Development Value: On1 i5 T- T" C7 t% v! ^- q) U6 _
  1612. ; Production Value: On' Z! T) j; t, u: E6 H
  1613. ; http://php.net/session.upload-progress.enabled
    3 x/ @6 W% B0 a1 j/ G9 Z) i
  1614. ;session.upload_progress.enabled = On
    ; S( F6 |: `! Q4 b

  1615. ) P7 B% m& }3 S* V  @* k
  1616. ; Cleanup the progress information as soon as all POST data has been read
    * h2 G4 t" u( ?7 n% j9 _) d
  1617. ; (i.e. upload completed).. k: B& ^- p, p/ }% n
  1618. ; Default Value: On- s4 [9 N1 w) [
  1619. ; Development Value: On. |: A7 @3 v# n2 u$ [
  1620. ; Production Value: On
    * U$ Z1 _  B* R2 P* K7 l7 c
  1621. ; http://php.net/session.upload-progress.cleanup
      e+ g" n4 a. r4 a1 I% j
  1622. ;session.upload_progress.cleanup = On
    ! |3 A! ~/ j; d! ~& M

  1623. 3 ?& I1 \" I" b5 }1 e( q, p; B
  1624. ; A prefix used for the upload progress key in $_SESSION& N: c( k: c+ K! |  j; v$ i5 P
  1625. ; Default Value: "upload_progress_"
    0 C, [9 e9 B, L1 n" q$ q
  1626. ; Development Value: "upload_progress_"; {/ q7 g- w. w( b- ?- q
  1627. ; Production Value: "upload_progress_"
    7 y4 W5 j2 G  j. |: k5 m. N. S
  1628. ; http://php.net/session.upload-progress.prefix
    - J% Z1 L. V/ ?$ F7 O8 f6 B. g
  1629. ;session.upload_progress.prefix = "upload_progress_"4 \! I- H8 H! R" P; c

  1630. # r$ M/ ?, q' O* o) g* ~
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    ! L+ Z0 v. ?% c, _" q/ B0 K
  1632. ; containing the upload progress information- q+ d1 R& t3 @# T& |8 W$ d- d
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"' C, s7 K/ {( {. m  K, {# e
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS", g% D' p) a0 i% B  N1 [/ S5 t
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    4 S" g- d6 ]; e  E- G; [+ g
  1636. ; http://php.net/session.upload-progress.name4 I0 }8 J! k9 P; f: B8 x
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"% p4 {* ^/ U, s; }  k

  1638. + [1 I+ A' N$ @
  1639. ; How frequently the upload progress should be updated.
    # P) H) Q" P. |. O. J8 u% L4 g
  1640. ; Given either in percentages (per-file), or in bytes
    ) F5 ]1 L& l6 m8 i( F0 S9 D
  1641. ; Default Value: "1%"
    + t, {/ D# f1 r2 A! |
  1642. ; Development Value: "1%", L5 o0 M3 t' _% N( Q' p" \& _
  1643. ; Production Value: "1%"
    - b5 I2 @( g  F8 q7 A2 S& K: o
  1644. ; http://php.net/session.upload-progress.freq
    # P- [( g- C, V' [: Z
  1645. ;session.upload_progress.freq =  "1%"
    % ~, U; K9 Y: ]

  1646. : P8 n& n/ B0 M( J4 a3 y- y
  1647. ; The minimum delay between updates, in seconds
    9 f* D; o' W# ?  s- B8 N
  1648. ; Default Value: 1
    8 c8 J. b% |) Z: v
  1649. ; Development Value: 1- t- n( ~' `+ b7 F7 K
  1650. ; Production Value: 1; H, F3 S  ^" s, G) r5 ?6 j4 X& R5 J6 q, Z
  1651. ; http://php.net/session.upload-progress.min-freq3 K* ~) `1 \, Q9 G0 Q$ e
  1652. ;session.upload_progress.min_freq = "1"7 E8 s# `4 C. Q& N

  1653. ' a! E1 _7 {! F' t
  1654. [MSSQL]8 o' v% M7 z! ]& d& e, H
  1655. ; Allow or prevent persistent links.
    ) Z' w8 d; L1 G7 J# A8 Y  f6 V$ t
  1656. mssql.allow_persistent = On
    ; W) y* v  e5 Q; ^
  1657. " B6 [% e, l3 a5 Y$ c
  1658. ; Maximum number of persistent links.  -1 means no limit.1 v# a0 t) S* W2 M1 p
  1659. mssql.max_persistent = -1$ [7 i. y& |' |5 Q2 p0 l
  1660. # k( I. E5 e9 Q, n( R
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    ( k& \& J. p9 L& l3 ^
  1662. mssql.max_links = -1
    ! `  |9 o3 L0 U
  1663.   i& Q7 f0 f- }/ R2 j( Z
  1664. ; Minimum error severity to display.
    ; o, s' a3 W4 v2 O
  1665. mssql.min_error_severity = 10
    / e. k5 T" i8 p" Y/ t

  1666. , [! t  a' |$ F: l( E5 _: p1 q
  1667. ; Minimum message severity to display.& q- j) p% m2 y( N
  1668. mssql.min_message_severity = 10; L9 Q3 ]7 `+ [& n2 J7 l& Y
  1669. ; E7 b6 b* P5 Z1 i& N5 h0 ?
  1670. ; Compatibility mode with old versions of PHP 3.0.) x, h3 k1 M0 h- [2 E; D
  1671. mssql.compatibility_mode = Off# \  n- M' X1 ^# J5 e( b- S

  1672. ) |  Y- W$ M9 ~  U
  1673. ; Connect timeout# ~  }; u7 }6 H* [' @
  1674. ;mssql.connect_timeout = 5
    1 J/ U* ^# _, v0 z4 C: _$ @

  1675. : {0 a9 k; G( F5 u# F
  1676. ; Query timeout
    ) {6 u. S$ u4 }( d" l
  1677. ;mssql.timeout = 60# E, T6 @, L  G% d2 n' R

  1678.   t' ^$ q# |9 u
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    ' ~7 S( f) V% U' f, T
  1680. ;mssql.textlimit = 4096- I8 A$ r0 Y* I; O

  1681. 7 N; E- A  h1 H. x1 j% E
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    . B9 y% j* E* I/ |
  1683. ;mssql.textsize = 4096
    ) o7 H  r$ U  m9 C# s1 R' v

  1684. 8 e) I, r2 }  M: G
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    % X2 }4 j' k+ e) y
  1686. ;mssql.batchsize = 0
    , I) j% `  i  B/ Z

  1687. ! s, |) T7 |* @; p( }( H8 [0 ^
  1688. ; Specify how datetime and datetim4 columns are returned
    & C( A/ N8 W- L. t% r
  1689. ; On => Returns data converted to SQL server settings
    ; q0 I! A+ K2 k* g  d
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    ; b( Q+ u' L- P$ m2 r
  1691. ;mssql.datetimeconvert = On
    - W9 c- H. y$ X8 t( w5 F0 p2 K

  1692. ( l, @/ U$ {  {! q7 e# T/ ]1 L2 t
  1693. ; Use NT authentication when connecting to the server) E8 B" m8 U/ l" |: @* I( r6 x% ~7 Z
  1694. mssql.secure_connection = Off4 o. j/ M6 y: t; ~3 L

  1695. 3 p( ]1 G( Q9 k
  1696. ; Specify max number of processes. -1 = library default
    8 x2 C! G# o5 k0 `
  1697. ; msdlib defaults to 25: v3 Z4 Z4 t; ?7 I4 I! m6 u
  1698. ; FreeTDS defaults to 4096
    ! L8 ?' [# X0 `; g! K5 s/ [4 u
  1699. ;mssql.max_procs = -1
    - L7 h5 l' T7 C' C' U1 o  M
  1700. ! P( T+ H! G# p, K9 ]
  1701. ; Specify client character set.
    ; \6 q+ ?2 b* B9 C9 P$ b& q# p
  1702. ; If empty or not set the client charset from freetds.conf is used, Y) y0 J9 C6 Y! q* R
  1703. ; This is only used when compiled with FreeTDS
    # |# b/ t  y! W/ o
  1704. ;mssql.charset = "ISO-8859-1"
    8 U5 _1 e, ^, O  w1 S9 M9 p
  1705. * k8 j7 p. o% Y: W/ t5 M
  1706. [Assertion]6 U7 `% i1 o: M
  1707. ; Assert(expr); active by default.
    + p' ^8 W4 X" @4 f; k
  1708. ; http://php.net/assert.active
    " }' B( R6 o& {% o! I5 h/ Z. Q
  1709. ;assert.active = On, j4 P$ }/ [. S. Y
  1710. 9 V/ \8 F% K* H' j; ^: ?8 }
  1711. ; Issue a PHP warning for each failed assertion.
    $ M: q6 V0 W: O& j
  1712. ; http://php.net/assert.warning$ Z5 t. B- ~8 n, Z! W( q+ x) [
  1713. ;assert.warning = On
    : a; m4 Z, ]$ ^2 g1 U' \

  1714. ! |6 }3 O$ V- Y$ y9 d" A- c, h
  1715. ; Don't bail out by default.
      Z2 I  A, E, }# w' P3 [+ }- @5 a, @
  1716. ; http://php.net/assert.bail
    6 b$ c- d% D- K3 G4 J+ r
  1717. ;assert.bail = Off
    7 m& l- f( Y  }

  1718.   u/ L% |. {" J  X$ d
  1719. ; User-function to be called if an assertion fails.
    # e3 o2 l0 n, h8 c6 X
  1720. ; http://php.net/assert.callback
    / \: B3 o6 t0 W* Z# E& v: M: I
  1721. ;assert.callback = 0% n# C$ O1 c. m7 j1 P& y
  1722. . g$ J; m. b7 t4 v+ k8 B
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    5 Q- I9 {6 G) e2 O8 I
  1724. ; error_reporting(0) around the eval().' x4 ?7 v0 P9 U" j( F( @
  1725. ; http://php.net/assert.quiet-eval5 e: X& {& y- |
  1726. ;assert.quiet_eval = 02 C, t) {  V, X) r4 d( g
  1727. ' X  |' P8 t2 s2 N5 ~1 a
  1728. [COM]: q2 W# ^1 e# D, |& L& g% F* m
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    ( u) i) c% S: n1 S
  1730. ; http://php.net/com.typelib-file/ Y/ {. {# |9 T- G; S! ^
  1731. ;com.typelib_file =6 N6 `& H1 _' z" J# D. o" \' T) \
  1732. ) B3 |9 o5 m; p3 |) f( k' [, k
  1733. ; allow Distributed-COM calls9 F* {) j# A; `: ~8 U
  1734. ; http://php.net/com.allow-dcom
    3 [  z; m/ N& ?
  1735. ;com.allow_dcom = true
    " _  i, U& r7 R! w3 u) v

  1736. 1 Q$ _2 \0 B0 j& ]
  1737. ; autoregister constants of a components typlib on com_load()) ^$ {# N5 Z  k& k
  1738. ; http://php.net/com.autoregister-typelib* F6 A. a6 S- r8 F. z
  1739. ;com.autoregister_typelib = true
    0 Q' f& w* [; f) r9 S

  1740. ' b3 L6 _' ?( V- ~. Q1 D. u
  1741. ; register constants casesensitive
    9 c: s; G0 w4 B. ^0 s) e
  1742. ; http://php.net/com.autoregister-casesensitive
    2 [0 D2 C0 W% d3 [0 D& d
  1743. ;com.autoregister_casesensitive = false
    5 I: G2 _& }9 I. o
  1744. $ y+ @7 l4 F9 ~* K  D$ ^( T& F; K
  1745. ; show warnings on duplicate constant registrations
    0 c! b, O# G, m, u
  1746. ; http://php.net/com.autoregister-verbose
    / h  `7 N8 U3 L0 x% |; G0 @
  1747. ;com.autoregister_verbose = true
    7 o) _4 o* R2 {; u: p8 B
  1748. 6 e' U2 B* X( L8 y5 Y5 M9 [% J4 Z
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    4 k& G  D0 `4 W9 V6 E
  1750. ; Default: system ANSI code page
    4 {; o3 K8 ?. k8 i
  1751. ;com.code_page=5 \1 z5 v) w- [; Y" u

  1752. - |: q& v& g& C0 A
  1753. [mbstring]! P, F9 _& j4 W* ]
  1754. ; language for internal character representation.9 l) w, Q+ s; a+ J7 G9 s: r
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    , S- F, M/ A8 B- X1 }1 m
  1756. ; http://php.net/mbstring.language
    . B3 N# M5 F# y# H0 D2 j3 c
  1757. ;mbstring.language = Japanese
    # f+ b' Y/ B( G. \5 G# z  D

  1758. / p8 W8 e* h9 T1 ^* D* U$ D; S; @8 B
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.* g5 j( K: w# j, T7 p( A& v! c, f
  1760. ; internal/script encoding.+ S2 `9 k2 F( I" T' E
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*), }7 ~' |7 B8 H. e
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    4 b  W4 e$ N- i3 n- H7 \2 k, F
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding+ Y  y1 {! `4 N  X3 C: I2 |
  1764. ;mbstring.internal_encoding =4 a1 h' }$ t! P/ ?8 \* ]
  1765. + {8 ]6 }! X( @3 O5 [$ A8 c
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.2 D7 p/ V4 \% P6 i
  1767. ; http input encoding.1 F/ ^! O3 M7 Z8 N
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    " ^, R, H; V3 {: X* |
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.9 Z% u$ l. u6 W
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    # m3 l- b$ o& t8 {2 p
  1771. ; http://php.net/mbstring.http-input. p7 T4 U4 z8 h) f5 @, M
  1772. ;mbstring.http_input =1 g" p5 z/ r# i% a( h& L+ e( d' y' X

  1773. : ^! m" u7 [% u( J2 ~9 x) J( Q( \
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
      C+ `% m8 I" a9 O, d9 c2 q* i. H
  1775. ; http output encoding.
    9 F5 `, |+ k% c, f# F/ J
  1776. ; mb_output_handler must be registered as output buffer to function.( J" {! J1 H) F5 O
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    : M- r5 Z# V" M
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output" b3 ^8 \& q4 P# X+ |, g- `
  1779. ; To use an output encoding conversion, mbstring's output handler must be set4 s: s/ s, e; F8 `; Z8 P) g5 |
  1780. ; otherwise output encoding conversion cannot be performed.
    2 `# |5 r  _) o) D' a9 \- b
  1781. ; http://php.net/mbstring.http-output2 {0 K0 u% R; ]5 w- u
  1782. ;mbstring.http_output =
    . P0 U. Q' }; K
  1783. 9 n8 a; H* r7 b
  1784. ; enable automatic encoding translation according to
    6 F: `4 b1 J; @& c
  1785. ; mbstring.internal_encoding setting. Input chars are
      {9 R1 {- Y+ F! L  V# w
  1786. ; converted to internal encoding by setting this to On.
    ' @; I' o2 X1 j6 k/ f" @
  1787. ; Note: Do _not_ use automatic encoding translation for. d1 u2 I% a% S8 t9 Q
  1788. ;       portable libs/applications.) J! u+ h/ ~+ k# [
  1789. ; http://php.net/mbstring.encoding-translation
    . `! a0 S% f+ J
  1790. ;mbstring.encoding_translation = Off$ h6 g( X) N. Q

  1791. 4 v  a* `0 [4 q; |( l
  1792. ; automatic encoding detection order.) T" R+ N$ e6 K3 u
  1793. ; "auto" detect order is changed according to mbstring.language
    3 S% S+ L( d0 N/ I/ {6 Z' c
  1794. ; http://php.net/mbstring.detect-order
    . x  E' \. v' N' X6 K
  1795. ;mbstring.detect_order = auto
    $ u  k# \; g; n6 E1 G
  1796. ( a; ]9 S1 ?2 q& b
  1797. ; substitute_character used when character cannot be converted2 `4 U$ e% f% H
  1798. ; one from another
    : h) ?6 E0 W$ ]% F
  1799. ; http://php.net/mbstring.substitute-character
    3 ]* G5 g+ ]) B, p
  1800. ;mbstring.substitute_character = none
    ; }! ]/ u# J) F4 |

  1801. : H, l  b$ x1 k+ x% k
  1802. ; overload(replace) single byte functions by mbstring functions.3 X$ R7 l5 o5 o
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    + o' a( ~( D) Q6 F) e
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.( r  c1 f0 \8 j1 [
  1805. ; For example, 7 for overload everything.% A4 {7 y# _* d# w. f* Q
  1806. ; 0: No overload
    # O+ W" h! A; L" T. Y7 ~; b- k
  1807. ; 1: Overload mail() function
    # n* `% l0 Y% }! P2 Q- H
  1808. ; 2: Overload str*() functions
    4 t- O" b- s/ M6 ]7 E
  1809. ; 4: Overload ereg*() functions5 \2 j! U: f1 D. T
  1810. ; http://php.net/mbstring.func-overload
    ! q, \9 ~( D+ f/ N! b$ H6 g
  1811. ;mbstring.func_overload = 0; S) h$ W% [1 R8 n; [1 }' W
  1812. , y: S! q# M9 G, b, i1 R" b$ I' M
  1813. ; enable strict encoding detection.  Y$ }* f# u, Y( N
  1814. ; Default: Off# A9 x& C- O  Z# e$ b+ Q
  1815. ;mbstring.strict_detection = On# o1 O4 @& `1 K; x
  1816.   _- f1 E5 J5 z" [) X
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()) k- ~0 P! h1 q5 N# d
  1818. ; is activated.
    * R. N8 z0 I4 B) |% u0 g
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    6 H$ Y: R/ e% S4 q
  1820. ;mbstring.http_output_conv_mimetype=
    0 W% t! H( z- s0 y6 i% }' F

  1821. 7 q/ W! P1 ^& L- C
  1822. [gd]9 v0 _4 U+ [6 ^& x8 Y) P
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    2 D+ Q" T  |$ D" W. N' b
  1824. ; a gd image. The warning will then be displayed as notices
    : i4 p  Z! k' c# s. s* c! c# n
  1825. ; disabled by default
    % p% m) v0 v; c
  1826. ; http://php.net/gd.jpeg-ignore-warning0 {+ w+ p( F  S+ F
  1827. ;gd.jpeg_ignore_warning = 0
    " r9 d* {7 B! K( Q' n

  1828. 5 ?. x% Y0 T! G# a# Z) z6 p, t$ D
  1829. [exif]4 n0 Z, k% |8 `
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    3 _" b. g9 ]" s8 _; K$ m
  1831. ; With mbstring support this will automatically be converted into the encoding
    ) _8 _3 t5 ?1 u2 E+ z
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding, m0 M3 n$ t/ l: q. v$ ^  P
  1833. ; is used. For the decode settings you can distinguish between motorola and
    / e, w# @9 @  ?9 S7 }' Z# H
  1834. ; intel byte order. A decode setting cannot be empty.- _) ^% N! {9 P$ R) |, a
  1835. ; http://php.net/exif.encode-unicode% {5 O* f, I% k2 W" q
  1836. ;exif.encode_unicode = ISO-8859-15  B, `. o- _; e+ S/ _; Q
  1837. : Q* z, r8 c- o( d# T
  1838. ; http://php.net/exif.decode-unicode-motorola
    " O. N6 f: ?+ d
  1839. ;exif.decode_unicode_motorola = UCS-2BE( q4 v+ }! E) P3 k7 b# |5 E* t2 \
  1840. & U2 U6 F5 |9 t5 B" W
  1841. ; http://php.net/exif.decode-unicode-intel. M# Z' Z# s# o
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    5 P  _) @; c$ E

  1843. ! }9 L) B! U; i9 K. L% i- r5 F
  1844. ; http://php.net/exif.encode-jis
    . ]# U( U9 l' B. F
  1845. ;exif.encode_jis =
    2 Z: s; W2 i+ d" d  n- H+ i: l9 b
  1846. * M$ b1 y2 W! B5 R3 ~5 C" Z+ A
  1847. ; http://php.net/exif.decode-jis-motorola" h% ?3 Z) L7 ]# X' b7 B: H
  1848. ;exif.decode_jis_motorola = JIS) `& {/ U0 ^7 P1 A
  1849. & r* x+ y+ @' z
  1850. ; http://php.net/exif.decode-jis-intel
    5 R9 x$ j4 R( B% N: P! M
  1851. ;exif.decode_jis_intel    = JIS
    - n0 H1 g& s7 h8 b+ T3 H
  1852. * r, q% p7 h( G" q, L/ Q
  1853. [Tidy]: b- v4 D, i( ]8 @
  1854. ; The path to a default tidy configuration file to use when using tidy
    * L, ^8 ^+ K1 l. u8 c" A) S* g
  1855. ; http://php.net/tidy.default-config9 ]8 K8 w- I6 A3 `- g
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg# L5 w) g. W8 d( @# u% D# ]8 F
  1857. ) Z& x" }! u) j" e& ^
  1858. ; Should tidy clean and repair output automatically?
    / t+ T/ ^. o( L9 a
  1859. ; WARNING: Do not use this option if you are generating non-html content  w2 m2 {4 k* b+ f
  1860. ; such as dynamic images
      F, R* t' ?! D; |: H
  1861. ; http://php.net/tidy.clean-output$ D3 E5 S' w% k1 v, [1 d
  1862. tidy.clean_output = Off
    # N% W$ Z' }! [4 u. y9 F

  1863. ' W2 O% ]8 [: J
  1864. [soap]
    0 {. f* H* X% Y& l0 N( k1 s$ t6 j
  1865. ; Enables or disables WSDL caching feature.1 B  \  N! h- f4 @- W# J) M# j
  1866. ; http://php.net/soap.wsdl-cache-enabled
    , t# U1 c/ Z2 w0 {
  1867. soap.wsdl_cache_enabled=1
    3 G) E" d4 i, e, V/ A- X% H. G

  1868. # O9 f9 \8 P5 F; }! j' e
  1869. ; Sets the directory name where SOAP extension will put cache files.: i" x  {) t# P; \  b) f0 d9 M
  1870. ; http://php.net/soap.wsdl-cache-dir
    . y" V& E5 C" e0 p
  1871. soap.wsdl_cache_dir="/tmp") M# [1 g3 n) @; F# T4 A1 S

  1872. 8 ?* L) Z; D& K7 z- q1 @
  1873. ; (time to live) Sets the number of second while cached file will be used
    1 e, t2 Q  K' D6 ~
  1874. ; instead of original one.
    ; E3 c/ m. A. {2 Z
  1875. ; http://php.net/soap.wsdl-cache-ttl' q, Z. t$ G, f# n, g* g5 L
  1876. soap.wsdl_cache_ttl=86400
    # P4 B) ~/ x( m
  1877. % K0 e9 v. S# k+ S; S+ s4 W: b
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    . V3 O- v& G! s' R
  1879. soap.wsdl_cache_limit = 5
    & ~: Q: K. w# n3 R9 M9 ~7 ?
  1880. + V- B1 L' j! r7 D
  1881. [sysvshm]
    ! i7 Z2 g7 y. G  v
  1882. ; A default size of the shared memory segment
    : G' h' R( |8 o8 g
  1883. ;sysvshm.init_mem = 10000
    - {0 r! W! E. F) m4 e9 }
  1884. 7 z( F( o* l! ^' {
  1885. [ldap]
    ; O5 V  y8 C: }! W% L
  1886. ; Sets the maximum number of open links or -1 for unlimited., C3 h$ |- f, G7 J% B+ P- E: V
  1887. ldap.max_links = -1
    ) e% S& T1 y; j
  1888. 9 g5 ?, Z4 s+ i  q2 r3 j
  1889. [mcrypt]1 \9 h$ W( P% G9 j/ E0 o. P
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    9 g1 E5 }* P5 l3 \

  1891. 3 ?' X; e% i3 Y! M# q3 s
  1892. ; Directory where to load mcrypt algorithms
    ' o, r0 L9 }- }" N! u
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)  ?, W/ s) Y8 U& c$ M  |
  1894. ;mcrypt.algorithms_dir=
    4 D7 V2 U) I& x! `4 E

  1895. 9 q$ F, d  Y4 U" R6 `3 C. J
  1896. ; Directory where to load mcrypt modes+ W  D" k- j) B7 ~& r5 `. ?2 _, n# M
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)  Y9 C8 t9 u6 O0 l. I6 Z: x
  1898. ;mcrypt.modes_dir=
    7 q# Q0 Z: k% ~9 |! P' X/ d

  1899. - ?$ x7 S# f( K# U
  1900. [dba]- Y! {( E0 z+ u) R- f
  1901. ;dba.default_handler=
    ' R: j$ c" Q- w* Q

  1902. ; q+ ?+ A1 K  e7 z- }, n- E
  1903. [opcache]; b7 C8 f* e; Z7 f  _0 o7 h
  1904. ; Determines if Zend OPCache is enabled( U, G# R$ v+ K/ T+ u' R
  1905. ;opcache.enable=0
    & y! `) N4 S  A, i. P& W; H/ p+ ~( k; T

  1906. # `, S, U) r9 {9 ~: D" _" g
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP8 W& Y. {1 Z0 n6 u$ {. B
  1908. ;opcache.enable_cli=0
    / E( A+ d" o# u4 ?( Q

  1909. 8 O0 X/ c/ p. u5 ?4 t7 b% g
  1910. ; The OPcache shared memory storage size.# B/ g6 O8 x5 J4 r
  1911. ;opcache.memory_consumption=64
    " r4 a5 c  b& v& E; Q  R- a3 b
  1912. 5 y- ^6 [: H+ n3 `! T
  1913. ; The amount of memory for interned strings in Mbytes.  C0 A* \% E' |# i* }9 A% n
  1914. ;opcache.interned_strings_buffer=4
    4 o. S% K1 g$ K

  1915. $ j% P. e9 b. q7 D
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.# z3 v% s3 o# T
  1917. ; Only numbers between 200 and 100000 are allowed.
      l& u# s* f0 B
  1918. ;opcache.max_accelerated_files=20003 ?$ J- {% `& f# {

  1919. $ A0 F  D9 {, O2 P7 t0 t( X/ h
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.8 h4 J. D# W5 A; v  K4 w1 q/ d  W
  1921. ;opcache.max_wasted_percentage=5# X! b) C6 a! L) N) k3 s

  1922. ) P; G3 I. Z; S8 S& r4 B
  1923. ; When this directive is enabled, the OPcache appends the current working3 C- w/ C  W1 @# Q2 Y3 t# f
  1924. ; directory to the script key, thus eliminating possible collisions between, u% {: r/ L1 x- z0 s' k
  1925. ; files with the same name (basename). Disabling the directive improves/ Y: h: _, l) B# Y
  1926. ; performance, but may break existing applications.5 s8 t. E/ V& I1 z5 c
  1927. ;opcache.use_cwd=1* V3 A4 ~; B  y% O$ j

  1928. 3 r! ^9 j0 b! F9 W
  1929. ; When disabled, you must reset the OPcache manually or restart the# ?' ?9 V& t) H% M
  1930. ; webserver for changes to the filesystem to take effect.
    8 I) W! g. P, c  R# X/ O
  1931. ;opcache.validate_timestamps=1+ k+ a( B1 s+ T+ t
  1932. - {+ H) j" Y% O0 M! i
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    ( F$ `  O" f8 n% P& x  j% c
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    4 a6 l- j5 H. z2 N
  1935. ; once per request. "0" means always validate): s6 L9 x/ c9 G0 e) _1 g% @+ L
  1936. ;opcache.revalidate_freq=2! H) s2 ?  y9 M) Q
  1937. 5 y# D2 d. {2 o6 p, C
  1938. ; Enables or disables file search in include_path optimization
    5 I' c0 x  D( L2 `% n/ a
  1939. ;opcache.revalidate_path=0/ [1 v1 \/ T- N# W
  1940. + {$ [9 [2 T$ B: {# D" K( |
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    6 L3 T$ c2 p  n1 p+ M/ p6 Y6 Z; S
  1942. ; size of the optimized code.$ p& u2 B) |( ?. B) F
  1943. ;opcache.save_comments=1
    7 x9 a2 D2 Y9 K: x& I3 i

  1944. 3 V# x. }6 d0 Q+ e; ^
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"* g1 b3 I' Q- |( F1 T
  1946. ; may be always stored (save_comments=1), but not loaded by applications" h* U/ S2 c' B7 _+ `/ w
  1947. ; that don't need them anyway.
    ( d3 x6 i& y- L0 l+ Q; @% k' Q% K' o
  1948. ;opcache.load_comments=1/ g. v( ]% A2 o

  1949. 6 G  V6 U* b! h$ i7 G: L% [
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    ( a& ?/ I5 F5 r
  1951. ;opcache.fast_shutdown=00 B: e5 ^- O; f) M4 U- t
  1952. ' x1 H- {& `( ]8 n2 }* L/ C
  1953. ; Allow file existence override (file_exists, etc.) performance feature.  a9 s9 y7 V& ^. C" ?% V
  1954. ;opcache.enable_file_override=0% k- P$ M% p1 W' y' d

  1955. 6 j# Y# J! f, o. L
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache) w7 d: J  s" t1 U% _& H
  1957. ; passes% y" C. e$ |5 {; O
  1958. ;opcache.optimization_level=0xffffffff8 ]# u  m# S4 z' l
  1959.   x; M! E  e" g: N- W0 ?
  1960. ;opcache.inherited_hack=1$ |: e4 w" N, A  g3 g
  1961. ;opcache.dups_fix=0& G* k% l. |0 m0 H! k% n& q5 U" ]+ `
  1962. ( i2 k2 T, r+ e, H" O$ ]+ N/ D! ]
  1963. ; The location of the OPcache blacklist file (wildcards allowed).9 `- d' I% b. e) e( o3 n! r
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
      p3 }+ |8 M; R5 h1 \, ]3 L
  1965. ; that should not be accelerated. The file format is to add each filename
    8 F1 n( H3 S+ _' `4 K1 e
  1966. ; to a new line. The filename may be a full path or just a file prefix0 L2 F& [- }! l& }* X
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www, U$ ~7 ^# K: T% ~/ O
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    $ t' w2 Q' n0 _6 H
  1969. ;opcache.blacklist_filename=
    ! F# q  u: j/ [* [
  1970. 1 w2 x- K8 L9 |/ @4 Q2 A
  1971. ; Allows exclusion of large files from being cached. By default all files5 W; _8 S' v5 v% A
  1972. ; are cached.
    ( K8 r3 |$ u5 E& F9 ~5 r0 J; q
  1973. ;opcache.max_file_size=09 D. w; l* }0 E. b7 |. N

  1974. 6 x: u' _! `: q) y# f
  1975. ; Check the cache checksum each N requests.' d+ ^9 r( N7 B& R7 A% i
  1976. ; The default value of "0" means that the checks are disabled.2 y3 @# n  I# i" r0 ~# U- s" s
  1977. ;opcache.consistency_checks=0+ q2 {% `4 K; G4 w, k

  1978. 7 |* c$ ]3 u/ T' Q1 X2 h) [9 D
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    ' |9 t% i+ g8 z" T6 U
  1980. ; is not being accessed.% {% l+ W7 `- T# Z" C* Y8 x# S
  1981. ;opcache.force_restart_timeout=1803 [) p* ]2 o3 p0 R5 g. e. A, h# d- o

  1982. 3 Z2 {* v! ?7 k; j  Y2 \; _
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    7 X/ W3 p' ?; f+ ^
  1984. ;opcache.error_log=
    1 ]( ?* j/ }. Y$ S; k; z
  1985. 1 `3 S- V% L; }4 q- }3 w0 d
  1986. ; All OPcache errors go to the Web server log.* l; {2 E, M7 U: b- W$ G2 C
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.5 t2 A! n0 K% ]
  1988. ; You can also enable warnings (level 2), info messages (level 3) or. v3 h4 k, p7 p1 J: }4 G9 h
  1989. ; debug messages (level 4).$ U3 }" G6 h8 C1 h, a5 b
  1990. ;opcache.log_verbosity_level=11 @- \: ~" t3 \9 r& O
  1991. ' o! h5 f( ~& O4 F) J' g% E
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.) Z* y6 |6 I# J0 ~# w/ Z  m
  1993. ;opcache.preferred_memory_model=
    - e  I( g  ~* z9 \) J' j' i% a
  1994. $ ], g0 r3 N. `
  1995. ; Protect the shared memory from unexpected writing during script execution.
    ; _8 U9 I) h( h; _* F$ R+ d
  1996. ; Useful for internal debugging only.# b! D3 j) k# j. J, R
  1997. ;opcache.protect_memory=0: e+ A3 P, y: R& ^% V

  1998. / W2 ]: b) q- [' v4 c% E
  1999. ; Validate cached file permissions.
      a% d, s! n4 M# {( m  B4 O+ [4 h
  2000. ; opcache.validate_permission=0/ D. G0 L- y& Q8 @
  2001. ' W3 Z3 n$ h9 u
  2002. ; Prevent name collisions in chroot'ed environment.$ y( `/ x/ w5 E/ e; T5 ^0 h! Z8 S% A+ g  g5 }
  2003. ; opcache.validate_root=00 [. n; H$ d( ^  ^
  2004. % O0 U: s5 ?, Z" h
  2005. [curl]4 z& p" D" ^& K  d9 n0 @7 o( W
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    ( s$ N! X! ~5 ^* L
  2007. ; absolute path.
    , K& y4 H' O/ S3 P. y$ M
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    : H* A+ t" R! ]" N8 a( n

  2009. ( h: \. M) l: S
  2010. [openssl]5 R4 y9 `7 o1 E0 [  l
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem  R$ J1 y. m5 Y, `! f
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
      o# b( j. E. ^" ~  X3 t
  2013. ; not specify a value for this directive as PHP will attempt to use the
    ( n* ]" V4 x; S
  2014. ; OS-managed cert stores in its absence. If specified, this value may still" J; [; u8 U2 j9 y- P# V1 n
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    3 r& X2 i9 j" [! F; l  s
  2016. ; option.( H  E$ e" C5 g' E
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    3 G' I$ @: ]- E2 K2 z7 ]- v* v; Z4 S( ]

  2018. ! g- v) f$ p3 L
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the  U  ~2 g2 P$ E5 {( D
  2020. ; directory pointed to by openssl.capath is searched for a suitable  @6 T1 R' U  D* Y% m+ _, n4 }
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    7 _0 y* P& F: O
  2022. ; Most users should not specify a value for this directive as PHP will- U. S' e6 p1 f+ p
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    - k. `$ J& j7 L9 n. {, m9 a
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    2 _! `7 a5 u  r, B
  2025. ; SSL stream context option.* a4 S9 h  Q2 w& A  W
  2026. ;openssl.capath=
    . p+ ]4 @  @; z6 C

  2027. 6 H$ J+ o6 W  H
  2028. ; Local Variables:3 P4 {, S. \8 N7 U
  2029. ; tab-width: 4
    5 [* Z8 I- {8 _# h2 t
  2030. ; End:
    ) b; O- z# g$ N1 p; F" r" B
  2031. 4 B0 _; t& p  r6 t- G! i
  2032. ;eaccelerator
    % B, Y1 d+ Z) n; C$ Z1 ^; S
  2033. + o; M( p, v7 B$ ?" b4 S7 V
  2034. ;ionCube
    ) Z3 S2 f, ]5 ~$ I. L  ~# B

  2035. ) |5 o0 X1 D* W) t1 n/ M
  2036. ;opcache9 w% L. w* ?/ M/ u+ E  S

  2037. 1 ?7 p2 z0 q, D6 C* O/ K
  2038. [Zend ZendGuard Loader]
    : f2 T+ S5 N! C" G% u6 A
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so8 u* P5 `. y1 a: }! m0 ^& C# ^7 F8 h. @
  2040. zend_loader.enable=1
      u) ]- V. \; @5 {0 r1 b, |5 e& y
  2041. zend_loader.disable_licensing=0
    9 w0 W( c  F: i5 `
  2042. zend_loader.obfuscation_level_support=3& x# I9 ^% D* d, l
  2043. zend_loader.license_path=- n8 B  P2 X1 ^8 N; m2 d  F
  2044. 2 V) g' C6 j3 Y- g
  2045. ;xcache
    1 ?( \# I& a! O9 p0 l  f# v

  2046. 3 d, k9 M$ X" o3 g% j. |3 P
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
$ V) c) k$ S/ j$ n  f* Z3 P$ U% R) J- p. h

4 a3 I9 i0 U* BDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,# P: g3 I. F+ o. Q1 _- v( ^% p
0 e, x- a$ R! ~) Y9 h
Discuz!程序版本选择:# }5 x3 t; Q1 F" T6 E- |: y
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
, {/ x" K3 g9 C9 c- O不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
7 N# T% D* L: K1 D6 |Discuz!F1.0 是应用中心民审、作者爱好者合作基于 Discuz!官方Discuz!X3.2、Discuz!X3.3、Discuz! X3.4版本之上推出的基于PHP 7.1、mysql 5.8最新环境适配、精简的Discuz!论坛程序,目前对Discuz!F1.0 的支持应用DZ插件、DZ模板都相对较少,很多DZ插件、DZ模板对Discuz!F1.0 的支持性也较少,根据目前站长普遍的反馈而言,使用Discuz!F1.0 建站的站长遇到的问题往往比较繁琐,且目前民审、开发作者、爱好者出品的Discuz!F1.0 版本已经处于停摆之中,站长最终都选择了Discuz!F1.0 降级为 Discuz!X3.2、Discuz!X3.3、Discuz! X3.4。
3 v0 ^7 U8 D# z4 @# _, ^
% n8 u, @1 v6 S3 W' [6 [Discuz!插件模板版本选择:; y- M0 v% K' a# n% O0 M
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
! e: d' @# _! i  Y8 M2 d针对这个问题做个统一的普及:
4 X, z, F5 B- G# @* h- yX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。! b5 a' ~8 j# ?* U4 T% M

0 t! g, _* t+ |- H( U, l8 K7 D所以; w9 [2 a2 E; D1 `! o
适合Discuz!X3、X3.1版本的DZ插件、DZ模板是适合并兼容 Discuz!X3.2站点使用的,请站长放心安装使用。但适用于X3.2版本的应用90%以上是不兼容Discuz! X3.4和php 7.x的,请格外注意!!!
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-12-2 01:25:25 | 显示全部楼层
添加网站的时候一定要添加两个站点,一个是主域名,一个是www的二级域名。; i6 [, A/ C: a4 }+ R
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
+ d1 N" E' c9 x1 ~注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

使用高级回帖 (可批量传图、插入视频等)快速回复

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则   Ctrl + Enter 快速发布  

×温馨提醒:关注《神采飞扬网》公众号,就可以及时接收到回复通知啦!24小时客服微信/电话:13068892088
1、注册用户在神采飞扬网(含旗下所有平台)发表、转载的任何作品仅代表其个人观点,不代表神采飞扬网认同其观点。
2、如果存在违反国家相关法律、法规、条例的行为,我们有权在不经作者准许的情况下删除其在神采飞扬网的所有内容。
3、所有网友请不要盗用有版权要求的作品,转贴请注明来源,否则文责自负。
4、神采飞扬网保护注册用户个人资料,但是因自身原因导致个人资料泄露、丢失、被盗或篡改,神采飞扬网概不负责,也不承担相应法律责任。

发帖时请遵守我国法律,网站会将有关你发帖内容、时间以及发帖IP地址等记录保留,只要接到合法请求,即会将信息提供给有关政府机构。
快速回复 返回顶部 返回列表