分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
# q/ v  {# m' E: u8 O( e
+ E1 U0 ?* }4 W9 l( x% U( p' D
  1. [PHP]
    3 P" |0 I8 G/ q9 o

  2. / J" D6 D+ h! C5 C. m6 k: i0 W
  3. ;;;;;;;;;;;;;;;;;;;
    5 V4 F7 c( b( w5 h. L3 ?
  4. ; About php.ini   ;4 _+ y9 [5 u6 Q( M9 T5 y: n: _$ N
  5. ;;;;;;;;;;;;;;;;;;;7 o% q& R$ X# Q* H9 O( h
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    5 B8 }$ L3 s! p# x* J' ?
  7. ; configuring many of the aspects of PHP's behavior.9 r; f6 X4 V" G; V% E$ i
  8. ! l$ M( Z* X: [+ R, c2 r7 Q/ u
  9. ; PHP attempts to find and load this configuration from a number of locations.
    " D7 H' j6 |' a' T: {( ^, d
  10. ; The following is a summary of its search order:
    + z. i$ v. j/ K5 T9 Q- ?
  11. ; 1. SAPI module specific location.
    3 A& h* F6 c" y- m
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    8 G" h& A9 R. L3 P
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    : ?/ m3 r5 s' M2 C4 z7 G! p
  14. ; 4. Current working directory (except CLI)$ _0 c/ p. d7 i6 ^  F1 p& W. |4 k
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP$ F2 j. J6 e, ?/ Y* u
  16. ; (otherwise in Windows)
    + U9 k# Y# H9 e' w: L# S/ ~. Z
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    6 Z. r5 ]- f, m9 [& ^
  18. ; Windows directory (C:\windows or C:\winnt)
    3 X( \- U6 e8 E* \8 C
  19. ; See the PHP docs for more specific information.
    1 c  m6 _/ d  Q/ M; S
  20. ; http://php.net/configuration.file- i: _6 H# ?- h& @( k- m

  21.   c9 J2 Y; ]1 Y9 c
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    ( S  Y- c9 S0 f" w' \! n1 N
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    3 m: r' r& C7 [
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    $ \% j) A, p* [+ z- _( b# D
  25. ; they might mean something in the future.
    0 V9 a5 T4 M3 d7 l2 C% f2 G
  26. 0 g# r7 O8 A; m  x( I
  27. ; Directives following the section heading [PATH=/www/mysite] only
    ! k' R- ~( l. B; u$ O
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    6 f7 ~! U/ o" m/ G- E: o" g8 R
  29. ; following the section heading [HOST=www.example.com] only apply to, Q+ h' O& z  Q; A
  30. ; PHP files served from www.example.com.  Directives set in these, ^. \0 Z. f3 H  \# L, }6 e
  31. ; special sections cannot be overridden by user-defined INI files or, Y5 E# x- ]9 _0 ~- D" p
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under# N1 H7 X- B4 b
  33. ; CGI/FastCGI.- e4 ?8 Q+ X; C% Z0 I
  34. ; http://php.net/ini.sections, _# E2 s, R8 Z' g

  35. 4 }* B8 L8 u; M2 T; \0 {' d9 O8 g/ [
  36. ; Directives are specified using the following syntax:7 U. w! P  z% S+ h
  37. ; directive = value) v$ b: \5 x9 d; I0 U4 o" `
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    ) ]- E; }! ]# e: y
  39. ; Directives are variables used to configure PHP or PHP extensions.
    % F+ }) n. u# o. {6 ?4 ~2 ^5 g" g
  40. ; There is no name validation.  If PHP can't find an expected2 o, A- W6 I5 w' L
  41. ; directive because it is not set or is mistyped, a default value will be used.: b% q$ e; v! X8 `& s

  42. + i, M" X0 f: x+ ^, p! ]: g
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one8 G8 z4 i! P' \# l* U; F$ S. V  c
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression( o1 `. S: p2 @
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    , l' q) U/ n/ a
  46. ; previously set variable or directive (e.g. ${foo})
    ' E5 g5 J% `) e7 }% f

  47. / S( X; V& J( M3 o
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    ; A! C$ D6 {$ q/ [9 W, I0 S
  49. ; |  bitwise OR
    ) ~5 P+ \4 X5 a, E; y" e0 r
  50. ; ^  bitwise XOR
    2 h6 `! s& N6 q' U
  51. ; &  bitwise AND4 g' q/ u. _, L4 E) H: Z
  52. ; ~  bitwise NOT
    2 r& b; P0 _  \. _  B* X: Y* y2 }
  53. ; !  boolean NOT
    " ]* T* E% B1 L1 Y9 D% q2 r
  54. 4 l3 m8 J: s. `) \0 ?; w8 {, r; n
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    6 A1 [# ~; p+ F9 r6 j; o0 H
  56. ; They can be turned off using the values 0, Off, False or No./ I# E$ W/ a" t: P2 t# l) G7 U" M

  57. - k. {, E: i% O3 _; d
  58. ; An empty string can be denoted by simply not writing anything after the equal% o5 d* A; `4 ^8 r# a. ?3 t- I) j
  59. ; sign, or by using the None keyword:& W  R, \/ {4 z5 t# [$ Z

  60. * ?; Q& x5 r8 |  F2 f
  61. ;  foo =         ; sets foo to an empty string2 [1 t5 ^0 h( j9 J% x9 F
  62. ;  foo = None    ; sets foo to an empty string/ h: g/ T2 {+ b; i8 g% g( L3 w
  63. ;  foo = "None"  ; sets foo to the string 'None'8 f% J4 r" M' U* k7 R
  64. * A! i$ Q7 l# A
  65. ; If you use constants in your value, and these constants belong to a
    1 u) h. _8 ^5 Z- t2 r8 A1 p% r
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    & s1 u5 P6 |3 @! P5 q( x: q
  67. ; you may only use these constants *after* the line that loads the extension.
    3 u% q/ |- j+ H. M. h9 ^

  68. " h3 }0 [. d, O+ t2 g7 s. @. R
  69. ;;;;;;;;;;;;;;;;;;;3 q' L  J% e/ C  _- p
  70. ; About this file ;
    5 ^9 K4 W6 }, [6 c' X
  71. ;;;;;;;;;;;;;;;;;;;
    ; Z0 j# y) W& I: F. J$ j' `4 D
  72. ; PHP comes packaged with two INI files. One that is recommended to be used8 j4 ?, p4 M" d% S, p
  73. ; in production environments and one that is recommended to be used in
    6 F& p' g  [1 c, _* e
  74. ; development environments.+ a; h# {: v$ a$ O0 l

  75. $ x5 M& y: P; |5 A7 h# W
  76. ; php.ini-production contains settings which hold security, performance and1 V$ m5 ^& S5 C# z
  77. ; best practices at its core. But please be aware, these settings may break
    ; H8 e1 V; \, U/ L9 d! G2 G
  78. ; compatibility with older or less security conscience applications. We. q2 i' x) C# K! S
  79. ; recommending using the production ini in production and testing environments.
    / \5 T) G0 U8 C

  80. % |& h/ v' p# I( V; U7 Z
  81. ; php.ini-development is very similar to its production variant, except it is3 `6 l0 J' x/ Z7 }, c
  82. ; much more verbose when it comes to errors. We recommend using the# ]2 K# i3 T2 Z% h; D
  83. ; development version only in development environments, as errors shown to
    & d8 W) v% ~' ]& v, I
  84. ; application users can inadvertently leak otherwise secure information.; E8 i# }. U" [
  85. ) k6 m8 c! z! b6 }
  86. ; This is php.ini-production INI file.
    : {- Z6 j- t! e9 K
  87. 1 d- `* j" v& w- q
  88. ;;;;;;;;;;;;;;;;;;;7 N# v& _+ X2 A% F3 U3 X' h# \( h
  89. ; Quick Reference ;5 E/ n2 g- J* F( T1 @
  90. ;;;;;;;;;;;;;;;;;;;
    # Z! _1 m2 d' {/ @  R' c1 [# G# l
  91. ; The following are all the settings which are different in either the production
    ' X+ X9 Q5 U- H" e0 T& S, Z
  92. ; or development versions of the INIs with respect to PHP's default behavior.6 A1 P# Z3 P' m* j% n: s0 R6 I
  93. ; Please see the actual settings later in the document for more details as to why- h* ]1 a: g6 m8 I2 o
  94. ; we recommend these changes in PHP's behavior.4 }  ]( s( q# p, M2 @

  95. 1 h, a' `2 p8 o6 O/ @- \
  96. ; display_errors0 k" z/ \- }5 D8 d+ B
  97. ;   Default Value: On
    6 ]/ a" [9 F: T
  98. ;   Development Value: On( h2 v' l" X4 n6 `4 v4 j
  99. ;   Production Value: Off, P7 n# `5 ]! s) E* p6 Q" ?  [
  100. 8 n% n" W# w% J0 e1 J; S
  101. ; display_startup_errors
    # g0 f: h( @' ]! L; d# P/ o7 a
  102. ;   Default Value: Off
    % |2 w" c1 v- ]
  103. ;   Development Value: On
    3 O( \. o; Q4 K8 l0 \9 B" u2 Q
  104. ;   Production Value: Off
    ' \6 h2 a- Q! M! p( u. m

  105. 4 L" q& q  X' P2 u$ ~
  106. ; error_reporting8 j6 a2 [, @* K7 l5 p' m7 e  h, C
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    $ o$ h$ O: J2 Z
  108. ;   Development Value: E_ALL
    1 b/ F; R+ q8 E) _
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    - f* m! v0 c3 n" Z) }' ]

  110. 0 T: i. y7 A  D0 @3 l
  111. ; html_errors
    $ d2 R5 L; U9 `' d
  112. ;   Default Value: On
    ( A, S5 X4 N+ C0 @- N! ?5 @
  113. ;   Development Value: On
    2 U8 @; E3 E+ C' N, V# a
  114. ;   Production value: On2 [- D5 ]& D3 T1 V2 e( f% b+ h+ @5 @
  115. 7 R% _2 O) A7 j0 ]3 L
  116. ; log_errors
    . M1 m( s6 e  O$ u) t/ f0 M
  117. ;   Default Value: Off9 g, W9 K9 S5 H- E
  118. ;   Development Value: On
      J2 \5 O6 ]7 C6 s8 i! c/ M
  119. ;   Production Value: On
    & f' f6 n$ v! @2 V7 c  h

  120.   t+ L$ g1 n5 E
  121. ; max_input_time9 ], \% n" z. g) t' u
  122. ;   Default Value: -1 (Unlimited)
    + @0 Y5 P, Y7 M4 L' F: h
  123. ;   Development Value: 60 (60 seconds)
    ; f  ], q% b$ }5 B, o6 L- R+ n
  124. ;   Production Value: 60 (60 seconds)5 p( J" l# S. i8 y" w$ [

  125. 3 Q9 `# n( a/ h1 C$ D6 Z! x- s. [
  126. ; output_buffering
    ( q3 `/ o' M/ c5 k+ p1 D
  127. ;   Default Value: Off& A! I  s4 ~9 C, _1 A( O1 K6 R7 O
  128. ;   Development Value: 4096; W9 n+ U+ _1 |  M
  129. ;   Production Value: 40963 t1 X4 l2 F; I8 g: ]: p! {9 C, i
  130. / L8 c7 I1 _* ]: ^1 V$ V" m: N
  131. ; register_argc_argv
    ! m& v& W0 q  T$ _' P1 p
  132. ;   Default Value: On
    + C5 F* b3 ^$ n; O& W4 K# |$ Z5 Z6 P
  133. ;   Development Value: Off$ c/ M: S2 N2 l. ?# o9 w6 F
  134. ;   Production Value: Off
    1 S! ~$ @* D# d* Q% D

  135. ) g8 N' B$ k$ @+ w9 D2 [1 n
  136. ; request_order
    / P6 Z! W/ Y/ t4 a/ R3 K
  137. ;   Default Value: None4 s2 @) U4 D. l# ~+ U+ a- j3 i
  138. ;   Development Value: "GP"
    & ^& y4 i" o7 B) ^! f4 Z
  139. ;   Production Value: "GP"" {( u; z$ S/ _5 t  ^

  140. 3 a& T. A- ^+ B- S
  141. ; session.gc_divisor
    3 z! e% _0 \+ ~% \1 ?
  142. ;   Default Value: 100$ U; e4 f; F+ H1 l# `- e
  143. ;   Development Value: 1000
    ; d% Q) M' X9 E) t+ n" I1 \/ [3 s
  144. ;   Production Value: 10002 v6 C! n9 u, x0 J

  145. 7 l) i) e6 G& P% Y9 r+ B+ F5 Q. m7 Q
  146. ; session.hash_bits_per_character& L2 m, Q$ d* A$ i7 `. J
  147. ;   Default Value: 4
    - c- b3 s# H: |0 b
  148. ;   Development Value: 5
      z) F4 G) T) N
  149. ;   Production Value: 5" a9 M( t& U& h

  150. / d0 q& Q4 F- T- k& Z/ F5 n! |" ?
  151. ; short_open_tag7 g' ~. F0 j( `
  152. ;   Default Value: On. x! O& Y' P6 X5 d7 ?6 Y( @
  153. ;   Development Value: Off, x" F; E, A* @4 i. \* Q
  154. ;   Production Value: Off
    & [4 g2 x" u- F  R

  155. 5 {$ R1 m  s7 m* C) O9 w, H
  156. ; track_errors
    3 c$ L# s, u& ]$ m1 }. L; g- y- [
  157. ;   Default Value: Off0 }* L2 d8 y, k& L& U  G8 d* V
  158. ;   Development Value: On/ a7 Q( ]6 n, t
  159. ;   Production Value: Off
    + r7 w* c2 S" ]$ d8 p0 R
  160. 9 `, C" z2 N$ a! w  B# @/ e/ K
  161. ; url_rewriter.tags
    " H. y) @: i9 m  \+ P
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    2 }1 p4 n( n  L& y5 T' {
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    2 z) i# D7 v5 I3 X9 p' B
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"1 ?+ a: x7 z$ S9 o2 W; D. t" g+ Q( K
  165. 0 }. J, @9 [8 A2 W% s. ?( I9 s! N
  166. ; variables_order' o! N( l0 F) u6 s
  167. ;   Default Value: "EGPCS"
    + ]& O' C' r" a. N  y# o7 P% \
  168. ;   Development Value: "GPCS"
    6 y9 t5 Y9 K2 G/ o( c# n
  169. ;   Production Value: "GPCS"" d- ~1 f- F# m+ ]7 W- n. ]' d4 g

  170. % }& z( }9 H" f3 I( A: J7 C" \  u
  171. ;;;;;;;;;;;;;;;;;;;;# Q7 q# m& z0 G0 E, k3 }3 @
  172. ; php.ini Options  ;
    9 M0 H( P3 Y  y1 W$ N, ^
  173. ;;;;;;;;;;;;;;;;;;;;: k0 d% f1 J* ~7 u) b& ?
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"2 ?* Q) }: T7 s1 ?5 w9 ~
  175. ;user_ini.filename = ".user.ini"
    1 S1 r7 y9 T( Y5 B, p8 d5 R
  176. * s- ]5 j1 ^; d8 A8 c8 B! J  c
  177. ; To disable this feature set this option to empty value
    1 s  l  m/ f  W) L4 _
  178. ;user_ini.filename =
    ' _9 K; W3 s& h
  179. # r8 g; I" w  W8 f
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    5 J/ b& l' Q+ W4 e* J! M. r
  181. ;user_ini.cache_ttl = 300# ^+ d3 G  W7 m  a$ X" q) p6 B, U' Y

  182. 7 u$ V" f0 ?: Q2 ?" O6 b4 ?
  183. ;;;;;;;;;;;;;;;;;;;;
    # m  R4 N  W5 w" c) @' l
  184. ; Language Options ;
    # O: _+ {! e. z+ L( H, K
  185. ;;;;;;;;;;;;;;;;;;;;' x* x- ]+ m+ L5 O' c
  186. / l9 D: q0 E- ~' N% a$ ~  [, \7 U# h
  187. ; Enable the PHP scripting language engine under Apache.
    - m% V2 W2 c8 A6 J3 v9 n
  188. ; http://php.net/engine
    7 T0 S# U) _; c' D8 X
  189. engine = On- `3 ^/ d) H6 B& p3 d

  190. ( z. Y) y' @, {
  191. ; This directive determines whether or not PHP will recognize code between
    ! p& r4 t! x: E5 c) m6 Q
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    5 N& S+ i5 q" _" L* W
  193. ; generally recommended that <?php and ?> should be used and that this feature* @+ ?7 B7 r7 {2 i: O
  194. ; should be disabled, as enabling it may result in issues when generating XML& z$ U( J0 b0 O" B8 q# V- v- ~; t. N
  195. ; documents, however this remains supported for backward compatibility reasons.& ?/ z6 R  z! m8 @, m5 [
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    ' S3 L& y- o# L( ]
  197. ; used regardless of this directive.5 |/ p7 D; O$ x
  198. ; Default Value: On$ X- R. S2 F  T4 L  l
  199. ; Development Value: Off* O( m8 J8 S" Z& w4 K
  200. ; Production Value: Off
    ) q: k- ]/ M: F' Z
  201. ; http://php.net/short-open-tag' t4 D; r) _0 H- J
  202. short_open_tag = On1 ^0 ?. @& s6 v' V! f; a4 l+ w  h

  203. & w  w) S7 N1 K5 O
  204. ; The number of significant digits displayed in floating point numbers.! E# s" S& U' V* D7 R# U
  205. ; http://php.net/precision
    & N" ~4 h  s) q' \- G
  206. precision = 14& g$ K) p. j) u1 \' b1 ~
  207. . _5 Q8 ^( O, b3 ]' l
  208. ; Output buffering is a mechanism for controlling how much output data( ?# i6 O0 x! q, p. c
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that0 k; z7 f3 D' R% t
  210. ; data to the client. If your application's output exceeds this setting, PHP% K2 @8 \3 r7 o0 I. l5 Z2 t
  211. ; will send that data in chunks of roughly the size you specify.
    & {, l8 y1 _# D+ N1 L4 R# T9 z8 `* @
  212. ; Turning on this setting and managing its maximum buffer size can yield some9 u5 P. u9 {8 J. q6 Y
  213. ; interesting side-effects depending on your application and web server.( e2 J2 F6 i1 ~
  214. ; You may be able to send headers and cookies after you've already sent output
    0 N. S' b& @& N: H
  215. ; through print or echo. You also may see performance benefits if your server is
    9 z& e0 E( D% H1 K
  216. ; emitting less packets due to buffered output versus PHP streaming the output( l: z2 i1 f2 b; n. L0 D& l
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance+ {/ N8 }% ~; W0 S/ [
  218. ; reasons.: a- k$ R9 E( V+ h: O- O. I: b
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    & ?+ T/ v2 {; S- [( h  b: s
  220. ;   functions.
    - ~& Y# ]; Z  w) f! D0 }8 R3 p, t
  221. ; Possible Values:& E% R) ~8 {" F3 J
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    # L$ c9 i( G; e% G  B" m- P1 d9 U& m
  223. ;   Off = Disabled/ v* Q9 c& Y/ z3 s, O. Z+ M& W
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.) Z; }/ A& g% M" E0 A
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ! K# S: O8 `* ^6 d: T
  226. ; Default Value: Off
    9 N6 U2 E# M7 U7 k/ @
  227. ; Development Value: 4096
    & g7 j. r+ D& ?& W+ s
  228. ; Production Value: 4096; ~6 F/ u/ e3 [1 O7 l0 `5 q
  229. ; http://php.net/output-buffering( ?& t$ {- e! O: G& M; t
  230. output_buffering = 40964 T2 d& \7 r8 f, o
  231. 8 A$ b( u4 f( m# T  m5 L
  232. ; You can redirect all of the output of your scripts to a function.  For9 Q6 l8 \( J% h5 y0 [& L
  233. ; example, if you set output_handler to "mb_output_handler", character/ g, A" G! W2 L2 K9 ^
  234. ; encoding will be transparently converted to the specified encoding.+ L) M5 e0 [- K! I" U; t
  235. ; Setting any output handler automatically turns on output buffering.
    , L. Q7 K0 W/ h0 B4 L6 p
  236. ; Note: People who wrote portable scripts should not depend on this ini
    2 Y4 p. d# t. _4 Z" t
  237. ;   directive. Instead, explicitly set the output handler using ob_start().; W% G/ y5 S3 i+ Q
  238. ;   Using this ini directive may cause problems unless you know what script5 p# D( E4 i3 @
  239. ;   is doing.: {! K2 S: g+ \) m7 L5 G0 T: F
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"' u! Q5 L7 g) ~
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    3 h# r. C$ y! y
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    ) R/ s* O" F3 \/ C: q
  243. ;   Instead you must use zlib.output_handler.
      T$ K2 e9 L. ^4 Y% O0 A0 m
  244. ; http://php.net/output-handler3 t4 B3 I/ h* ~9 u1 F
  245. ;output_handler =7 B/ |0 m/ N/ L* P
  246. $ |  b  ]3 N$ r4 w. o2 M- g6 t& J
  247. ; Transparent output compression using the zlib library
    # ]& @1 Y: i$ ~5 {( X0 c. x
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
      l! ~. v) w6 R$ V4 _; H$ E2 N8 X
  249. ; to be used for compression (default is 4KB)9 A) l7 y$ b' z2 ^% |
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP9 h; C" \) D1 t
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    - Z# P& J8 c3 s7 M9 B
  252. ;   compression. If you prefer a larger chunk size for better
    " n; E  h  j! T' c
  253. ;   performance, enable output_buffering in addition.
    ( ?# f' n; }4 W# E) b6 L
  254. ; Note: You need to use zlib.output_handler instead of the standard
    % d- ?# t/ j/ u/ p8 C
  255. ;   output_handler, or otherwise the output will be corrupted.
    ' w/ J* W; c: M/ c; u5 k
  256. ; http://php.net/zlib.output-compression' S9 S8 Y# V( `) K5 H# o, u
  257. zlib.output_compression = Off
    9 @" q0 R, W4 c% n, X, ~

  258. 2 T/ k; K0 U5 l( b6 K
  259. ; http://php.net/zlib.output-compression-level
    , b  y9 K8 c5 v3 _& \
  260. ;zlib.output_compression_level = -11 b; B  e% Z8 Z

  261. # i! G4 ^# x0 y  ]
  262. ; You cannot specify additional output handlers if zlib.output_compression, {; @' g! h: A8 L
  263. ; is activated here. This setting does the same as output_handler but in
    0 y) Q" r* k& i/ n& H
  264. ; a different order.
    * R2 E4 l( _5 h3 P9 g3 ?" Z7 O" P+ z
  265. ; http://php.net/zlib.output-handler
      Y) B6 m8 j. G! t
  266. ;zlib.output_handler =
    ) A1 Y4 @/ d! H7 X( J2 e: y; @6 y" K% ^

  267. * o, G2 [$ ^2 E5 Z+ W6 H8 C# D! H
  268. ; Implicit flush tells PHP to tell the output layer to flush itself$ K, f; T  n. R& V, S4 \1 ~6 M2 n
  269. ; automatically after every output block.  This is equivalent to calling the
    . \, M1 |  s- L. v  [! Z" q9 g# H
  270. ; PHP function flush() after each and every call to print() or echo() and each7 S. j7 n$ I0 K1 h5 p6 |/ h- z
  271. ; and every HTML block.  Turning this option on has serious performance
    . c+ _' o. Z# x8 i6 U$ ?- _/ \
  272. ; implications and is generally recommended for debugging purposes only.
    0 ?$ E8 h, m* w6 B5 T8 V
  273. ; http://php.net/implicit-flush
    1 c* i. r% \! m5 z% a" ^2 b$ A3 @
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    - M1 v$ i: W7 T6 i0 N
  275. implicit_flush = Off6 @! ~' W1 Z! a2 V, n1 u) p* `0 S$ g

  276. & ~& N- n) Z7 l4 ~5 f$ Z* {
  277. ; The unserialize callback function will be called (with the undefined class'
    2 v6 ^+ @; a. z+ @5 V
  278. ; name as parameter), if the unserializer finds an undefined class
    8 b/ a; B: p% |
  279. ; which should be instantiated. A warning appears if the specified function is
    2 d8 N3 u$ {/ S) e6 ]( k
  280. ; not defined, or if the function doesn't include/implement the missing class.
    % M. ]0 [- d; z
  281. ; So only set this entry, if you really want to implement such a
    $ H1 z/ t5 d2 c! y9 f( R
  282. ; callback-function.
    * k$ g# u: o; `; \. ]
  283. unserialize_callback_func =
    6 L& l+ R# A6 s1 \8 Y) @
  284. 1 D1 r( K5 b: X
  285. ; When floats & doubles are serialized store serialize_precision significant
    7 }2 P/ \1 h: k- d
  286. ; digits after the floating point. The default value ensures that when floats
    0 n: X& R4 T  m9 z; h
  287. ; are decoded with unserialize, the data will remain the same.
    % P: L6 \5 b8 Y1 m# p
  288. serialize_precision = 17; T9 n1 m, c$ M4 n6 I' Q

  289. ( D( F5 Y& {7 B( ?( E
  290. ; open_basedir, if set, limits all file operations to the defined directory) b. e: t" n9 x" S0 y; U, o7 C
  291. ; and below.  This directive makes most sense if used in a per-directory3 |- H# U. q( |/ I
  292. ; or per-virtualhost web server configuration file.
    8 ~# C' t6 q. J( T' f3 {3 z/ |
  293. ; http://php.net/open-basedir
    , E1 }' i! r2 B, J& J2 C8 z
  294. ;open_basedir =
    * n5 a& R- n$ T

  295. $ L: ]8 r; O4 _1 I
  296. ; This directive allows you to disable certain functions for security reasons.) L2 [4 a1 H* V2 _8 ]2 ^  }$ X
  297. ; It receives a comma-delimited list of function names.
    ) N7 h, e+ u% P0 X3 @
  298. ; http://php.net/disable-functions& |2 c1 a- ^# N* s! Y
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    ) B7 b0 d6 M+ J

  300. - q/ E1 ^6 X1 z' u
  301. ; This directive allows you to disable certain classes for security reasons.2 d8 Z, t( F$ _- p+ Y: v8 x+ |
  302. ; It receives a comma-delimited list of class names.
    6 ?: A+ w! P# Z* x+ D; [2 p7 b% ~
  303. ; http://php.net/disable-classes! V, P+ m. @; v
  304. disable_classes =
    ! u& K0 c. {# m' ^4 n
  305. : |' V! f8 Y% D5 ~$ n
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in/ }/ q5 l5 R4 o9 [  L7 P2 z- Y
  307. ; <span style="color: ???????"> would work.
    + l7 B8 ?, U3 \& Q) H
  308. ; http://php.net/syntax-highlighting# H7 p7 Z/ N4 X3 m* V! x
  309. ;highlight.string  = #DD0000- U; h& }1 n3 |# ?
  310. ;highlight.comment = #FF99002 y2 Z9 R% r, s; P# |8 O% h
  311. ;highlight.keyword = #0077006 Z+ G* a. f8 q% `4 i. M
  312. ;highlight.default = #0000BB
    ) f1 H& m+ A4 Z5 l, E
  313. ;highlight.html    = #000000! a1 }5 b* a8 e% @* f

  314. # i: `  A$ c" @# x2 W
  315. ; If enabled, the request will be allowed to complete even if the user aborts  t2 S1 k. E1 Y% A
  316. ; the request. Consider enabling it if executing long requests, which may end up/ i% _' e' n8 P; _
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    9 E' b; q4 N4 W, R! |4 W) |) U. T/ F
  318. ; is to disable this feature.
    8 g6 u# e8 |* m+ _$ b% `" j
  319. ; http://php.net/ignore-user-abort
    : K, e- a: z' ]& r1 v
  320. ;ignore_user_abort = On
    * t' ^, @1 H+ S4 w

  321.   [9 ~' |% A$ r9 K; T7 ]- Y: y
  322. ; Determines the size of the realpath cache to be used by PHP. This value should+ r) D3 J* {: x6 V; x" w6 s. Q
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    4 V* k0 l/ y" q% m+ x8 B
  324. ; the file operations performed.
    . Y$ q9 ~, b& t6 X: S$ q
  325. ; http://php.net/realpath-cache-size, M# Y' ~8 r- Y4 `
  326. ;realpath_cache_size = 4096k6 F0 l. e# F) K: y- O; o" N
  327. ! o, j' C2 F/ O
  328. ; Duration of time, in seconds for which to cache realpath information for a given' y, l, e7 G) y1 C" `
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    6 u5 S" \+ I: a+ W& \# N
  330. ; value.
    1 a8 w  l- I) q) y
  331. ; http://php.net/realpath-cache-ttl3 R, M+ C7 k* V. q+ R
  332. ;realpath_cache_ttl = 120
    / {$ h6 e4 s1 `% r# s$ ^0 j* t

  333. 4 `4 g+ ^; z6 i1 J
  334. ; Enables or disables the circular reference collector.% j$ s$ V  s+ l3 P
  335. ; http://php.net/zend.enable-gc* d0 ^0 k5 H, s) F9 Z! \. U  l
  336. zend.enable_gc = On
    ) K7 Q9 \0 p' T9 Y" O6 Q7 C& \
  337. 2 f* n7 k- z6 L9 d/ G- ?
  338. ; If enabled, scripts may be written in encodings that are incompatible with7 `; T' ?- A6 T- `; T
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such+ t3 b) ^, u( B+ g
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    $ E5 ?: P( @! S0 Y
  341. ; Default: Off
    & q# \& u4 S, h* Q  a) e% o. p
  342. ;zend.multibyte = Off
    / H3 I5 m( g' S

  343. : \+ F6 S  f( c4 C- j- R
  344. ; Allows to set the default encoding for the scripts.  This value will be used! H) z" S, Y- h$ k- y
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    1 N/ W+ v2 Y! ~9 K. T' T' f0 L7 ~
  346. ; Only affects if zend.multibyte is set.% T2 L) D4 S' U5 q+ o; u7 `
  347. ; Default: ""
    9 i1 Q" I' C1 M0 D
  348. ;zend.script_encoding =
    9 q6 i6 S2 D! y! X

  349. * D: |3 R3 M2 _7 W7 \
  350. ;;;;;;;;;;;;;;;;;) M: X; |; ?+ L: N2 g, K& G
  351. ; Miscellaneous ;7 h" M9 e6 l! s: S, ~- v5 H
  352. ;;;;;;;;;;;;;;;;;% d# {. t6 Q. Q' C6 g# ~

  353. " F5 Y' q$ s) y# ]& l3 F
  354. ; Decides whether PHP may expose the fact that it is installed on the server; ^/ g8 E0 [6 C. g% v. X; z# \8 l' }
  355. ; (e.g. by adding its signature to the Web server header).  It is no security/ M; H; _' K2 F4 h  |; [
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    2 q8 Z( X# j4 L4 H: b6 q4 X6 t+ N
  357. ; on your server or not.
    6 |2 H, m% f3 U: I; \' _
  358. ; http://php.net/expose-php
    2 k8 c. ^1 R8 B, w0 g" K0 M+ D$ {
  359. expose_php = On) @  r! i% K) Y. U% j7 W

  360. ' Q- m! y& B$ {7 T
  361. ;;;;;;;;;;;;;;;;;;;
    ( f* i- H( `. E' k. G2 v
  362. ; Resource Limits ;6 h" W1 R. d; S9 [0 s7 X
  363. ;;;;;;;;;;;;;;;;;;;% D$ ?4 u% W* |( r) ?3 _5 n

  364. + d1 g+ ]: x/ r/ \3 U
  365. ; Maximum execution time of each script, in seconds
    7 O- w" w' T1 ^* B$ C0 F
  366. ; http://php.net/max-execution-time
    & {2 }- m9 b/ o& \) {: c
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    " O$ M4 v" _; A& d7 ~1 Q6 ~
  368. max_execution_time = 300
    # h8 V4 |6 {" u; ^9 g  g

  369. & G' |9 T) W/ V# t# m, k+ P, r
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    - n9 Z+ T5 \) F) i  Z: h5 a
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    2 r' V9 Y2 @  ^3 S- g+ R3 ]
  372. ; long running scripts.
    9 F  s  a- @/ Y' ?9 B2 ?
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    # v" H5 e8 X- u# j: d3 k: k
  374. ; Default Value: -1 (Unlimited)! W$ h7 Y% @; i- @6 h5 b
  375. ; Development Value: 60 (60 seconds)
    ; m1 L" A1 o  Y6 L  f
  376. ; Production Value: 60 (60 seconds)
    : Q: _; E4 G; M1 o4 o1 F
  377. ; http://php.net/max-input-time
    * K. n4 }& V6 y* O8 r, ~* P
  378. max_input_time = 60
    + @5 V" e" J8 e  l7 n/ B- ~8 k

  379. / o8 k6 s6 V& o# E* j
  380. ; Maximum input variable nesting level
    % G. R7 S4 S  Y* t8 i
  381. ; http://php.net/max-input-nesting-level8 p  k; @/ R# }9 F/ `
  382. ;max_input_nesting_level = 64; f* D" T1 f& Z% f1 N+ p) R8 S+ x' |8 q$ i

  383. ' }: C  z& L# ]* t3 {9 \& G2 U
  384. ; How many GET/POST/COOKIE input variables may be accepted
    ! |, c4 [% I7 `# A6 ?
  385. ; max_input_vars = 1000, ]+ X" S  N2 y) B: G% m
  386. * T: j; {1 e$ K' l5 ~8 ~; e) L
  387. ; Maximum amount of memory a script may consume (128MB)
    - ]" f; W; u3 T. J9 g# ?$ |' U- U
  388. ; http://php.net/memory-limit. c) F% ]5 `+ C, |
  389. memory_limit = 128M
    % e6 k+ c3 G& M8 ]5 w: }. T# ^6 t( g
  390. # R% d4 C$ |9 X- c5 k2 y, p( G
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    7 \( ~# }1 }5 v- K" G% E
  392. ; Error handling and logging ;
    0 }# W6 A8 d/ g
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ' \0 Z+ z/ y. f5 {
  394. 4 t# x% i! B9 Z; T+ L; X
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    # X- R/ k, M3 u3 J2 ^3 `
  396. ; it to take action for. The recommended way of setting values for this
    7 b* W, x' ~! [. d
  397. ; directive is through the use of the error level constants and bitwise
    . ?& g  @6 F1 I) K
  398. ; operators. The error level constants are below here for convenience as well as; l5 Y" |) d6 \6 e- b/ q
  399. ; some common settings and their meanings.
    5 k' O) W. [+ G/ ?, L/ l' j" ], T" d& {
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    + U5 z1 O( n" h* `% ]& _
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    : {: A# g6 P; j2 k8 H4 U
  402. ; recommended coding standards in PHP. For performance reasons, this is the* ]  Y' i- C/ r
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    8 K7 I$ n" t  W
  404. ; resources complaining about best practices and coding standards. That's what
    # i% R& R: l. q7 Y1 B
  405. ; development servers and development settings are for.
    : ?3 ^# O, m: Q/ e, \/ Y
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    6 y/ H: r* X' I6 \# v8 _) D
  407. ; means it pretty much reports everything which is exactly what you want during
      Z$ z! ^# Q, I* ]5 T+ Q" {( _6 G7 z
  408. ; development and early testing.7 G0 \9 G8 w% Q7 g) d3 w( ?
  409. ;' r! e2 ~/ w5 U5 \! E3 h
  410. ; Error Level Constants:
    ' z/ S4 l( _4 e' z5 [
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)# H& G/ c, T! ~& O% j0 x, E0 o
  412. ; E_ERROR           - fatal run-time errors0 B4 C: W% H' _8 h3 u
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors# ~" Z7 j; B" E5 t7 d+ a
  414. ; E_WARNING         - run-time warnings (non-fatal errors)) I" p+ y# [& I$ J4 }/ Y
  415. ; E_PARSE           - compile-time parse errors
    1 C* N) Q4 d' `7 x3 ?6 [" h: q
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    ( Z' Q: ?/ _1 g7 J2 c( G
  417. ;                     from a bug in your code, but it's possible that it was  z- z  z4 K4 ?
  418. ;                     intentional (e.g., using an uninitialized variable and
    - J0 i$ V+ p8 U3 l  R% w; u
  419. ;                     relying on the fact it is automatically initialized to an
    8 y6 r* C/ u9 M. q: n5 b
  420. ;                     empty string)* N  k3 }* D0 t3 o* e  {
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    " v* W' i- A! o) Y' t( J
  422. ;                     to your code which will ensure the best interoperability
    ( h& [8 R4 \0 h4 J: U
  423. ;                     and forward compatibility of your code
    2 i2 x( B( |8 G. @: j: i
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    3 ~5 R. i( ]" {7 E1 k6 x
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's9 a+ U1 C0 v7 I3 b) I$ p
  426. ;                     initial startup) o9 V3 `7 [. Q, _! f+ m; D8 _
  427. ; E_COMPILE_ERROR   - fatal compile-time errors3 x7 ^  g' Z7 [6 |8 U1 [2 D" w1 A% c& g
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    - N+ ~0 K* s8 |" F7 u" H
  429. ; E_USER_ERROR      - user-generated error message! @( w5 M( b: d+ i: T
  430. ; E_USER_WARNING    - user-generated warning message3 p! [3 }) [$ u# ~$ a
  431. ; E_USER_NOTICE     - user-generated notice message5 d" F  m+ u9 w  d
  432. ; E_DEPRECATED      - warn about code that will not work in future versions. U1 H) j) l* v
  433. ;                     of PHP
    4 I  v, m2 j, Y3 A
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings# ~& A. R+ g# a
  435. ;
    & u  C, ?4 e- }2 o. m
  436. ; Common Values:1 T" z. E: W4 V3 Z+ i1 u
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    % o8 t7 m* y# ?3 T: ?0 v4 [
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    / |  j! Q# \- Q# E
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)% j# R( K: x4 H- y# J- _6 {
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    6 n4 I0 \% ]5 \2 c% e
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    / |1 c4 J1 v4 S. x8 I7 c
  442. ; Development Value: E_ALL! X2 X2 N& F& t
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
      L$ G$ f& l3 b$ e6 T
  444. ; http://php.net/error-reporting
    ; s" k+ u, t0 L% A
  445. error_reporting = E_ALL & ~E_NOTICE
    . r2 g: n) a# T
  446. 2 a! R2 W. |, S- M
  447. ; This directive controls whether or not and where PHP will output errors,9 y* o0 Q8 f! U2 N# S5 V
  448. ; notices and warnings too. Error output is very useful during development, but
    0 _4 m, ?" g/ X
  449. ; it could be very dangerous in production environments. Depending on the code, s8 R  E! ~/ _! ~# A2 X+ A; b; y
  450. ; which is triggering the error, sensitive information could potentially leak4 @" K0 o1 V/ B8 [* s5 \
  451. ; out of your application such as database usernames and passwords or worse.$ R, {' m2 c8 p) k/ T  A
  452. ; For production environments, we recommend logging errors rather than
    * U/ D: T0 h9 n# \6 P" U
  453. ; sending them to STDOUT.
    6 i, S& l0 Y1 Y7 D3 W
  454. ; Possible Values:
    6 }7 i) [8 L+ s; I+ Y. _1 I
  455. ;   Off = Do not display any errors
    ( q4 C2 f- R! K9 i
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    5 n* m  E* _: E" {1 S6 l
  457. ;   On or stdout = Display errors to STDOUT
    . u& Q$ x$ C6 a' c: z( f8 X
  458. ; Default Value: On) r7 Y- m. V* p' n6 t
  459. ; Development Value: On
    2 |; M$ p; u. Y) P' `# U
  460. ; Production Value: Off* [8 X  N9 \0 ?9 V6 ]* S
  461. ; http://php.net/display-errors
      x" @) ~' A- m% m
  462. display_errors = On6 G* l4 f; \5 O$ h
  463. % B! _* N6 ]" g0 f
  464. ; The display of errors which occur during PHP's startup sequence are handled
    $ [8 o' q; N- i, L$ U. U% [. z
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    " \0 N$ L6 i: j( N0 b
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    5 ~+ m. K1 u! B# I) ^. }$ u
  467. ; debugging configuration problems. We strongly recommend you
    1 ]9 a  ]/ Z6 |0 \0 {, t
  468. ; set this to 'off' for production servers.% G  R2 w, |- U( P7 b
  469. ; Default Value: Off7 y/ x6 M- J% D7 Z/ u, O2 l- d
  470. ; Development Value: On( D* I4 `4 S% j7 G0 x) g
  471. ; Production Value: Off1 D& u# D6 U) Q- i
  472. ; http://php.net/display-startup-errors
    % |5 o- W& r* q: l( a. z1 N
  473. display_startup_errors = Off
    4 o# W" j8 M9 a5 N
  474. . `; w% s7 A' L( R% ?; U9 t
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    " F( t8 S  ]; `( G; k
  476. ; server-specific log, STDERR, or a location specified by the error_log
    8 t3 p* n9 n* B
  477. ; directive found below. While errors should not be displayed on productions: Z- |) ^  ^& q0 n+ f! R
  478. ; servers they should still be monitored and logging is a great way to do that.
    " C% e1 U$ D4 N
  479. ; Default Value: Off5 `/ ]! F/ M( W7 q1 Y) _$ q
  480. ; Development Value: On2 h5 D& E  g' [4 ]8 {5 K, S
  481. ; Production Value: On
    & i* V4 {2 }1 u9 L7 v
  482. ; http://php.net/log-errors
    9 S) h: _: h+ ], r6 i7 C
  483. log_errors = On3 [* |! C% l: S0 p# p/ x+ L" R

  484. 1 F4 n( c1 [7 a9 I  ?# u1 w
  485. ; Set maximum length of log_errors. In error_log information about the source is
    1 D8 b# O) z! b9 Y" W7 ~! p
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    8 b. F4 P/ u+ B6 u
  487. ; http://php.net/log-errors-max-len
    3 B" _4 |1 b9 e4 X" Z
  488. log_errors_max_len = 1024: U2 x$ @/ c7 b( u. j
  489. 6 e% Q# _2 c' D9 d! B0 E, ^
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same' A1 Y) {( A/ u- ]
  491. ; line unless ignore_repeated_source is set true.
    % d+ z5 A& K8 M3 _7 ]2 H6 D
  492. ; http://php.net/ignore-repeated-errors* H+ {. {; p6 Q- p
  493. ignore_repeated_errors = Off
      t% A3 a4 _+ {: `5 e% S; E% I9 R

  494. / b# L! @- C& g6 |* r! y
  495. ; Ignore source of message when ignoring repeated messages. When this setting4 W7 G. K. O1 w5 l- h# i
  496. ; is On you will not log errors with repeated messages from different files or
    , x- m) ~6 J! u
  497. ; source lines." r! j1 a; K( d% s' d. t3 z3 I+ x0 j
  498. ; http://php.net/ignore-repeated-source
    % E6 v# B( t+ b& `
  499. ignore_repeated_source = Off+ G) |! n( j+ R$ O8 T5 E6 ]
  500. ( I% e% ?! e4 w- N+ F
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    ! d  X3 D5 x( e& p* o! P% a
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    4 o% [- P5 o+ P. [
  503. ; error reporting includes E_WARNING in the allowed list3 ~0 f4 K: M" d2 P0 @# O  N3 R
  504. ; http://php.net/report-memleaks8 d& V4 P8 Z4 \( p
  505. report_memleaks = On6 ~8 Q7 A! r' J" V; X' s6 C
  506. : V+ e% w- D9 I; w  Q6 g
  507. ; This setting is on by default.
    $ o, X& m# H7 R, t8 \
  508. ;report_zend_debug = 0! w1 C' p5 N3 M6 Y
  509. 5 |* U: Z, ?- b: y* u
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    ( b: i0 h* `& d6 P7 E5 y7 {. V
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    0 k8 l2 Q+ N0 d5 c  o! J
  512. ; however be disabled on production servers.
    2 W# ]: Z2 {' {7 Q, \
  513. ; Default Value: Off1 o6 W# L2 ]! @! r- v! [1 K9 X4 y. G4 B) O
  514. ; Development Value: On4 M% s6 ~6 _% I- H! K: B: Y% H
  515. ; Production Value: Off
    " g* Z: f2 {' V  i7 u
  516. ; http://php.net/track-errors4 D9 I; L  e. r; p# d3 Z2 ]' t# ^' W
  517. track_errors = Off( r4 E# z$ [8 b7 l4 G0 m3 G! ~

  518. 1 g7 _+ Q+ ^" S
  519. ; Turn off normal error reporting and emit XML-RPC error XML* K6 d. A+ L) ~' C& `2 J* }
  520. ; http://php.net/xmlrpc-errors
    * ~+ p( J6 r8 C" P' A  H) f
  521. ;xmlrpc_errors = 0% B  B3 s0 ]' _6 u$ `2 Q& I

  522. * a; H0 B0 y- A( Q/ f5 C
  523. ; An XML-RPC faultCode
    . I. `& N% C! r; X, n3 p, o
  524. ;xmlrpc_error_number = 0$ u& P3 I. W( N! n+ N

  525. 1 z# p2 p  Q# K# K+ Q
  526. ; When PHP displays or logs an error, it has the capability of formatting the' ^9 E! _4 _( J* ]- y4 r4 J9 Q
  527. ; error message as HTML for easier reading. This directive controls whether: n# e( r1 R) [/ r7 [- ]) f
  528. ; the error message is formatted as HTML or not.; }4 y  I2 s2 h4 n1 a; [" N3 Y
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    & H' E6 a, w! m$ k
  530. ; Default Value: On. s! Z2 r* g, L4 h- ]  s
  531. ; Development Value: On
    8 I& T9 e) q' Q5 z  s
  532. ; Production value: On) {& y" A: B% h( `9 b2 q2 G
  533. ; http://php.net/html-errors6 x! A1 S( n5 t3 i+ ~
  534. html_errors = On
    : N( A& L' p6 ^4 |
  535. ) s$ m" \) P! U
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP6 r! C/ k+ @# Q& M& }" N+ `
  537. ; produces clickable error messages that direct to a page describing the error
    ! F7 O. W. w, K1 u. |5 {, ?" r: O
  538. ; or function causing the error in detail.
    + N7 r, ]! l. @- n! H% M
  539. ; You can download a copy of the PHP manual from http://php.net/docs7 l+ s9 Z2 J) C* I# @( B
  540. ; and change docref_root to the base URL of your local copy including the% x. _+ j/ N2 W2 x, o
  541. ; leading '/'. You must also specify the file extension being used including$ U* z" S& M3 ]
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which" N' Y: ?7 k2 {3 C' E
  543. ; case no links to documentation are generated.% h# B, Z) x+ p8 F
  544. ; Note: Never use this feature for production boxes.
    8 ]5 A. B* k3 o* {+ k/ h$ a
  545. ; http://php.net/docref-root% I6 |3 R, ~! l1 J5 e
  546. ; Examples( }$ `4 X5 F4 M* f  P/ S! m; P
  547. ;docref_root = "/phpmanual/"; h$ R& v# f/ T; c* D% z
  548. ' H3 F: c. Y3 P! E  _; [, b
  549. ; http://php.net/docref-ext
    . p- y  l0 X8 B2 J! ~3 a& T+ Q# G/ }  s
  550. ;docref_ext = .html( F5 h4 _0 e8 I# K1 Y

  551.   D% L+ q- |. ?$ T
  552. ; String to output before an error message. PHP's default behavior is to leave+ {7 l+ w6 a$ U, L, Y
  553. ; this setting blank.9 [/ t2 D) T2 I( Y, o. O& t
  554. ; http://php.net/error-prepend-string
    5 H- E" ]" [7 `3 N6 }
  555. ; Example:4 L7 Y1 Q  J( `
  556. ;error_prepend_string = "<span style='color: #ff0000'>"" H* a) [2 z& [% k. Q5 ~6 l0 G

  557. ( e4 I  q) Z+ W$ I- t
  558. ; String to output after an error message. PHP's default behavior is to leave
    0 p/ J6 t. ?7 f6 e) m- F7 J$ M
  559. ; this setting blank.1 d* F3 t& l. g7 u0 x4 v
  560. ; http://php.net/error-append-string
    + _# n) ]4 o# C( l3 T# {* }7 p
  561. ; Example:
    4 `, I- N8 n0 G; \# f
  562. ;error_append_string = "</span>"
    $ l  W$ [+ p( p5 w, e

  563. : ~4 u( i; \# h
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    : C9 i% S5 e3 D# `+ M/ }2 }" j
  565. ; empty.
    0 n, t2 @; q# f: r8 P( z* _
  566. ; http://php.net/error-log
    - ?2 s+ T% F. x1 Z3 j
  567. ; Example:9 |2 Z5 ~; |# C
  568. ;error_log = php_errors.log
    ' Q" N; t, W+ E& K- N0 n1 t
  569. ; Log errors to syslog (Event Log on Windows).
    ' Z0 |3 d2 S# P: c! `2 q* z
  570. ;error_log = syslog
    - G5 \3 m6 z4 S( s* W- b

  571. ' D1 q9 y% k0 ^2 P; I1 z$ Q( E0 T! W
  572. ;windows.show_crt_warning
    : M$ R' r9 ]6 N
  573. ; Default value: 0
    $ f  o5 V0 X* b
  574. ; Development value: 00 X$ R3 I) K4 R, }" m
  575. ; Production value: 0
    4 [- g  ]- o9 q# e3 U' i

  576. 5 f- Y" m$ R* T# [, W. W
  577. ;;;;;;;;;;;;;;;;;1 E. d$ |8 V0 K  U
  578. ; Data Handling ;9 f. I; z0 B% `& v- N3 @
  579. ;;;;;;;;;;;;;;;;;
    * y  J5 ]  ^+ q/ `# m4 c/ j
  580. / b6 ^4 q4 s( x" c8 C' o! o6 P
  581. ; The separator used in PHP generated URLs to separate arguments., D0 `3 R5 X% J* w8 R9 N
  582. ; PHP's default setting is "&".
    , u8 d( I) j4 Z' b- \' @
  583. ; http://php.net/arg-separator.output6 Y% B  [! T# N3 r3 G
  584. ; Example:
    $ D6 m) y/ ?3 ]+ G+ Z- n/ ~5 q
  585. ;arg_separator.output = "&"4 g$ E* N* E, w6 k7 S% \

  586. ) u2 x- `3 e7 w1 u% v
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    2 P; t/ e* K3 C7 b7 P) l
  588. ; PHP's default setting is "&".
    / k* w0 [3 O, u7 T1 c/ Y3 `
  589. ; NOTE: Every character in this directive is considered as separator!
    6 w3 C% \! E* B0 G9 G3 H
  590. ; http://php.net/arg-separator.input
    ; S; C3 p! W! b9 V5 ^. P( z2 V$ c( U
  591. ; Example:" @) r/ A( l/ [' }& ]. T
  592. ;arg_separator.input = ";&"
    * Y0 |) Z; U! L

  593. + x; Y& i/ `; K8 K) R' \" K' v
  594. ; This directive determines which super global arrays are registered when PHP$ U' K) g. j* r5 q$ I: \; ^+ }+ t
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    # [4 p6 K% _  B8 L
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    ! {8 |$ U( d5 H+ Z4 I$ u- ^
  597. ; paid for the registration of these arrays and because ENV is not as commonly% P/ ?8 `9 {: n5 L- W0 {$ H
  598. ; used as the others, ENV is not recommended on productions servers. You
    " c% v$ p6 t: H' |4 _
  599. ; can still get access to the environment variables through getenv() should you
    8 y! G# ?, [/ ]: v8 F- |
  600. ; need to.
    2 k4 g0 R  G. S3 i3 B
  601. ; Default Value: "EGPCS"7 G6 @. |4 q* M2 D1 C  P* C8 v
  602. ; Development Value: "GPCS"3 E2 b+ \7 m; c' v) I
  603. ; Production Value: "GPCS";( z+ W4 n4 \9 J9 ?8 |+ \, s$ z
  604. ; http://php.net/variables-order
    9 d% O" P( U, q, D2 u: A
  605. variables_order = "GPCS"
      i% Z1 g3 c, ~. h+ O$ ^( ]
  606. 4 j9 Z+ R+ Y6 B
  607. ; This directive determines which super global data (G,P & C) should be; p* d1 u" y3 f$ g* i3 O
  608. ; registered into the super global array REQUEST. If so, it also determines2 \6 T. Z1 v3 X' n0 z
  609. ; the order in which that data is registered. The values for this directive
    * q9 l! d/ N5 V2 M$ c/ w* A+ t
  610. ; are specified in the same manner as the variables_order directive,
    , [/ c+ W9 J* k* w! I
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    9 Y  N/ a; _4 p) P! W8 I  K
  612. ; in the variables_order directive. It does not mean it will leave the super4 [! o; r+ f2 N
  613. ; globals array REQUEST empty.( R: y7 z4 x- U0 y
  614. ; Default Value: None3 R. r9 K1 P3 l% `% l" M
  615. ; Development Value: "GP"/ l' M2 y$ T& |0 E
  616. ; Production Value: "GP"1 r# H% W5 e) b6 U6 {- E
  617. ; http://php.net/request-order
    ) s! l; v; J% _  C
  618. request_order = "GP"! q# y) F( N& ]+ N
  619. " d4 ^7 z. o, [  r8 |  o( N( x& }
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    / e  ~( E2 y- e& o
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    ( C& |2 u6 M6 R7 {7 v0 {0 I
  622. ; is invoked. $argc contains an integer representing the number of arguments
    $ Q3 I- T; [! c" r  {- f# T2 C
  623. ; that were passed when the script was invoked. These arrays are extremely
    3 H# p% K- H- Q& S: d% |
  624. ; useful when running scripts from the command line. When this directive is
    + d, m0 t1 P9 N4 @* T/ [$ N! m
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    6 v: l8 b: F" W0 K6 b' l
  626. ; a script is executed. For performance reasons, this feature should be disabled1 W1 ?: P* r  `# s" u1 o" K
  627. ; on production servers./ _+ a  Y- u* N
  628. ; Note: This directive is hardcoded to On for the CLI SAPI* j' V0 F6 z4 q  [
  629. ; Default Value: On& h" E% t' `' m3 n9 D2 [+ _7 h1 t
  630. ; Development Value: Off+ V, Y; X1 y) ?3 J: x0 C
  631. ; Production Value: Off
    2 W7 b& m- }/ D# }/ [% z. Q' f
  632. ; http://php.net/register-argc-argv7 D( m, k3 x- u
  633. register_argc_argv = Off
    / `  G# h3 z0 @( V$ @( N1 t3 B- c

  634. ( x0 }# u2 F7 v; ^% }
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    , f/ r- I! E6 Q5 m. [
  636. ; first used (Just In Time) instead of when the script starts. If these
    7 Z' ?& L2 f( W5 g
  637. ; variables are not used within a script, having this directive on will result; n! A, r9 L, V2 b2 l8 f6 j2 ], g5 V
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled8 T! c3 C, S+ W% O5 e
  639. ; for this directive to have any affect.! K# o# B- V7 x* ?" b9 ?7 U
  640. ; http://php.net/auto-globals-jit" C- n9 a$ v$ P. e; U& Y1 G3 \
  641. auto_globals_jit = On
    $ O# P" ^: E" [% W" h3 w
  642. , o+ u0 s# s1 Z3 M+ D7 y3 h
  643. ; Whether PHP will read the POST data.
    3 B1 g$ T. ?' ?% T5 t
  644. ; This option is enabled by default.+ P* P& z  @3 Y+ y0 W, D5 F
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST) I4 a" Q* y! B! L2 ?
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    " I4 ]- P& d% Q0 Y+ b
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    ) ~' M* u, W7 H% D' L
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    5 g' \7 w' k% `5 c
  649. ; http://php.net/enable-post-data-reading' ]& H1 g: v; x
  650. ;enable_post_data_reading = Off
    - d" N6 |4 T" [$ I# d4 t. B
  651. 7 p# [4 @% Q* ]  s
  652. ; Maximum size of POST data that PHP will accept.
    ! S% d/ d4 I2 w
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading; }5 f  x4 |. R4 Y8 d' r) h
  654. ; is disabled through enable_post_data_reading.9 w5 b9 S, ^+ k
  655. ; http://php.net/post-max-size7 Q* n+ u, d. C
  656. post_max_size = 50M
    1 ?* R" j: ~7 ]  R1 m
  657. ' j) M  i7 s% W
  658. ; Automatically add files before PHP document.3 b+ n% B) N0 S% {2 H0 E
  659. ; http://php.net/auto-prepend-file
    * S! U+ Y. C( E; n* h
  660. auto_prepend_file =
    : D+ \( p- [# D8 {- _, Q2 s
  661. 8 M" y6 z, N+ N! p  V% A, i. i6 D! N
  662. ; Automatically add files after PHP document.5 [" Z, p7 y  E. W
  663. ; http://php.net/auto-append-file* D1 f: j2 A2 R* B# J
  664. auto_append_file =
    4 Y5 X; g( c+ ~- Q) Q$ V: E/ C; L
  665. 0 Q/ Y% \' U1 y) p4 X- n3 R, P3 `
  666. ; By default, PHP will output a media type using the Content-Type header. To
    ; Q" ]0 R: @* |
  667. ; disable this, simply set it to be empty.
    2 z, N# r6 j7 R# s9 c# q) m/ @7 }/ p
  668. ;
    4 P7 Z- F! {( h6 m
  669. ; PHP's built-in default media type is set to text/html.
    0 f; p; U( y& x. C) F4 R
  670. ; http://php.net/default-mimetype
    ; d5 v; v) J8 H, J0 \1 [4 L; Z
  671. default_mimetype = "text/html"; q/ H; X. o) |+ D
  672. 7 ?7 K8 G0 J! a
  673. ; PHP's default character set is set to UTF-8., L/ l& A6 v9 P) E5 j& I' L
  674. ; http://php.net/default-charset5 E+ `# L4 c* B0 s5 H* d/ B
  675. default_charset = "UTF-8"
    8 k$ V- l& _& |

  676. & Z$ T$ ~. `; p+ ]9 V
  677. ; PHP internal character encoding is set to empty.! V7 ]) b) I& c' }4 Y( v
  678. ; If empty, default_charset is used.: L& n2 q& q2 B! O" P7 r0 Z3 `
  679. ; http://php.net/internal-encoding5 }  ^  P7 U# Q4 I/ }# k* c/ |
  680. ;internal_encoding =7 w+ i5 X3 [4 Z3 n" _; j  ^! g4 L

  681. . u% }- ^/ z' i9 J, `# v
  682. ; PHP input character encoding is set to empty.
    ' p; ^) v$ I+ w
  683. ; If empty, default_charset is used.
    3 |/ n* p- W4 j7 Z; Q/ D
  684. ; http://php.net/input-encoding  Y+ N- K" x# \6 s; D$ N; n/ R
  685. ;input_encoding =2 y4 x: Q2 p8 ]" j0 N9 @( o
  686. " O- l: J$ d9 i+ O! H2 S9 Z
  687. ; PHP output character encoding is set to empty.) z: W+ g& J4 E! Y4 T  O
  688. ; If empty, default_charset is used.
    ; z/ h' t& y2 S" _. v; G
  689. ; See also output_buffer.. k9 `1 P" _" J; g& }8 S+ Z' S4 \% |
  690. ; http://php.net/output-encoding
    ) }" K5 G& Z) z% Y! v  Q  g# U& [* ~( T
  691. ;output_encoding =2 V: L1 f% R$ W8 I( |- {8 L( e8 G' w

  692. 1 L! _9 _; C$ f5 W
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;# B$ |5 [7 U; V: {
  694. ; Paths and Directories ;
    6 J; s; H  ?0 Z! H3 J* Z5 W
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;% O, B% A  P9 `, k5 g1 X( H$ l+ b

  696. ( C' W  L' T3 Q) q1 h# r
  697. ; UNIX: "/path1:/path2"9 u; z. X/ J" s: ^( y
  698. ;include_path = ".:/php/includes"
    1 Q0 W0 z( E/ s& T
  699. ;' ]4 L2 l8 Q0 B9 Y1 R4 \
  700. ; Windows: "\path1;\path2"
    5 W9 ?' l# `& o4 X' T6 C+ u+ w
  701. ;include_path = ".;c:\php\includes"
    - ?! Y: [7 a, S6 n4 i* \; [
  702. ;
    % p8 L1 p: {8 c# }
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear") c) ~& E2 W" R  Z# k- t
  704. ; http://php.net/include-path# Z$ u0 `0 Q; m8 k* v
  705. & l4 e$ B0 O+ b3 k( K9 s) h
  706. ; The root of the PHP pages, used only if nonempty.
    ( C1 k- Q  w( a: l" i1 J# z# V3 A
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root5 Z9 w+ D" V$ j3 Y* \* V3 x
  708. ; if you are running php as a CGI under any web server (other than IIS). N% j- y8 z! A
  709. ; see documentation for security issues.  The alternate is to use the7 g2 J5 d% |7 ]$ \7 T- E2 B
  710. ; cgi.force_redirect configuration below
      X( r6 ]0 `1 W' `* D6 `; R/ ?
  711. ; http://php.net/doc-root6 v5 t4 [/ k8 N) w$ e
  712. doc_root =
    ; q& z; [% P9 [+ E$ O
  713. 9 J. d( Z. g6 h. `
  714. ; The directory under which PHP opens the script using /~username used only
    % H; g+ o# e1 t& Q# M
  715. ; if nonempty.
    9 i* }6 r8 X% R2 D" M
  716. ; http://php.net/user-dir: z: ?: t; \. Z& N
  717. user_dir =6 l" S( R8 O5 W, b, z* T- Y/ w2 w

  718. 5 h; Z: Z" [7 U$ d0 m
  719. ; Directory in which the loadable extensions (modules) reside.3 e; R/ q6 T2 T7 M" c1 e6 ~  U
  720. ; http://php.net/extension-dir
    8 \* v& f1 p) ]- k2 R/ Q: J
  721. ; extension_dir = "./"
    # H5 I3 k9 N$ r1 P# s) m4 V, J
  722. ; On windows:5 A+ f8 x3 d- z0 L8 S
  723. ; extension_dir = "ext"
    - Z+ F" e) l2 z3 J% X( u2 e

  724. 0 v3 W7 j  e2 ~" n
  725. ; Directory where the temporary files should be placed.! m  a* L6 z# L+ a! H
  726. ; Defaults to the system default (see sys_get_temp_dir)
    ( v0 w7 r' a5 h' S8 A" ?
  727. ; sys_temp_dir = "/tmp"
    3 T7 T* _- \' E  B
  728. " G# o2 M1 G% l9 ]
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work# w$ A: l8 t" [/ M/ _; F
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically. X) M8 N: q5 r$ c% R
  731. ; disabled on them.9 K5 {2 Y$ |2 t
  732. ; http://php.net/enable-dl
    2 w1 ?* h  A8 B3 e* Q
  733. enable_dl = Off
    6 @; I2 U' m0 I* {8 b6 A9 T$ i
  734. " Q: e& v0 }7 H& t9 P
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    ) @. K3 e- `% a2 b+ O/ t9 [
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can# |' v) w8 C1 u% o
  737. ; turn it off here AT YOUR OWN RISK5 d+ ?& u  q" R
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    " r# P: j. ~5 f. H# a
  739. ; http://php.net/cgi.force-redirect
    9 R; c8 o" C7 A4 K) s
  740. ;cgi.force_redirect = 1
    * E: _! e. I+ T: T* w
  741. % i$ M) u9 B2 w# ]: ]( O3 M
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    & Q1 q$ R. l- \+ |4 \+ H) }
  743. ; every request. PHP's default behavior is to disable this feature.% K* N- x+ r$ C& T+ D, x
  744. ;cgi.nph = 1
    ! }$ ^0 q% k) a, c

  745. % j& U7 c6 U5 s5 b9 }+ N
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape/ u" L$ Q$ M% c5 W! m+ l7 h
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP% x# w, T1 z: ~7 c& t/ h( ~
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY! d8 s! p6 h' _* a% p7 k. K
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.8 X4 g9 r4 [" |/ C3 {
  750. ; http://php.net/cgi.redirect-status-env+ D4 q9 ?# y' U. R7 q4 P2 L
  751. ;cgi.redirect_status_env =+ E8 r( Z) N3 `# j6 n: j
  752. ) d- O+ C0 `& x! s1 h2 p
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    7 _1 b) B2 g& q, B( P$ _3 P) R# ]& _
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok; C" p7 F4 H0 z  X- @5 d
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting7 {5 e/ m# D/ X7 }; X: I3 A  {  \
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting9 X; x* R$ g! \
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    1 _% ?/ g5 D/ l' G( a
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    ; a, R7 n3 v3 p
  759. ; http://php.net/cgi.fix-pathinfo6 J) Z3 J5 i# u, e
  760. cgi.fix_pathinfo=1; S( {2 G1 F. J2 q# a! \
  761. 9 G) @* i; K0 C5 u2 w" |2 [6 g
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside) C6 y% M* {  z" j1 v2 `, M
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    7 J3 o" Q$ n- D3 \
  764. ; http://php.net/cgi.dicard-path, S4 ?( u, w! c, `
  765. ;cgi.discard_path=1( H+ d& t$ @' h4 p
  766. * j, y. Y1 B$ [; o. [' y5 D
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate+ F$ P/ ~7 H, t
  768. ; security tokens of the calling client.  This allows IIS to define the2 L0 v$ s4 ?3 Q: o1 V" I, W
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    . A, ^& Y5 b% C7 L$ r% Q$ ]0 @
  770. ; does not currently support this feature (03/17/2002)
    ' u# U1 Q  v# R) k1 j" ^; v4 a
  771. ; Set to 1 if running under IIS.  Default is zero.
    : K3 b3 M% d4 Y+ }8 u8 |
  772. ; http://php.net/fastcgi.impersonate
    3 a( s2 h% _2 ?, H, U7 I0 E
  773. ;fastcgi.impersonate = 1! S# K2 s6 \: B: j2 S3 B
  774. 7 u0 @1 s" ^" W0 G" f5 R& `
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable, C5 y- G7 D9 E5 t1 _: d
  776. ; this feature.
    ; v. ~9 S8 G4 I9 l" q8 g( {, o$ L7 E
  777. ;fastcgi.logging = 03 k; U: U- f5 O  T7 E

  778. 9 ]* H6 M9 f7 B* Z* J
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to% i3 `- r3 Y0 E# ?0 _3 Y0 g: `; Y  l3 L
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that: t% n, y; T- J
  781. ; is supported by Apache. When this option is set to 1, PHP will send6 C& Y; C1 L. |
  782. ; RFC2616 compliant header.5 W! E& \( ]; X" E
  783. ; Default is zero.! R. m- x9 i$ ^& {% ?
  784. ; http://php.net/cgi.rfc2616-headers
    ) Z, V$ a0 @! R* k" Y
  785. ;cgi.rfc2616_headers = 0
    . l5 F$ k8 [! C3 S; {
  786. 2 k4 }& I% |* S' o- F# Y* H8 n
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!- \" |& K/ x3 c; T' m: o
  788. ; (shebang) at the top of the running script. This line might be needed if the* C' I' i: t  ?8 }0 ^3 F, Q
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    4 E" \" k: d: f. V, Z
  790. ; mode skips this line and ignores its content if this directive is turned on.
    ) T8 d- [0 |; R0 |7 a
  791. ; http://php.net/cgi.check-shebang-line, Y7 s, G1 p8 A0 P" u, K0 d
  792. ;cgi.check_shebang_line=1
    ( `: F; p7 o9 r
  793. ) {7 m* K) ^! J+ m0 I% ]
  794. ;;;;;;;;;;;;;;;;
    . H4 r( S8 }. D( v& e8 P4 Q9 |
  795. ; File Uploads ;& O% |; W0 K" H# _& x! ~* b( u( n
  796. ;;;;;;;;;;;;;;;;
    4 D+ f; L0 p) F- g: c
  797. ; Q! j. l- D+ V9 N+ X
  798. ; Whether to allow HTTP file uploads.& w" P' _) _  Q/ F, z  ]/ o
  799. ; http://php.net/file-uploads7 S& d/ f2 r6 X) f
  800. file_uploads = On0 W+ f9 h( |  A  l6 m: `$ B

  801. ! W& w( q5 @# i% t3 M3 x
  802. ; Temporary directory for HTTP uploaded files (will use system default if not& G1 ]( {! N: d/ h
  803. ; specified).9 B; D6 r; K1 P; V6 x
  804. ; http://php.net/upload-tmp-dir3 A- q; F* i- ]- `( l2 P
  805. ;upload_tmp_dir =* h2 E. \- o5 r: |8 O

  806. 4 I" _3 p6 u. G
  807. ; Maximum allowed size for uploaded files.
    1 m- j+ r. D4 N4 d
  808. ; http://php.net/upload-max-filesize$ x. m" {0 A; H$ C
  809. upload_max_filesize = 50M
    ; g5 Y0 T  M5 f6 l' E$ k

  810. : ], v) n5 g+ A4 X, g* O
  811. ; Maximum number of files that can be uploaded via a single request  l9 I( c3 Y0 u! X! V( c2 [
  812. max_file_uploads = 20
    $ |: \7 R. ]2 B! ]
  813. & n: \& d8 I9 P; R+ [
  814. ;;;;;;;;;;;;;;;;;;
    4 O. x2 M9 s" |4 O6 ]  L) a
  815. ; Fopen wrappers ;/ ^7 S0 l9 f4 ~# O9 y) ^6 A# @
  816. ;;;;;;;;;;;;;;;;;;+ j; ?" g# R# k1 Q9 D

  817. + y/ v0 C& F) t# t8 }% r
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.% {) E) P) q3 L" [1 `  l
  819. ; http://php.net/allow-url-fopen
    6 s5 ~5 B2 J' |. y4 a4 ~/ E( X
  820. allow_url_fopen = On# S( p8 o6 W9 j) t5 i4 A; e
  821. 0 e" G7 a; D* @" }% @" i
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    1 Y& H1 H  T, T* |) m) z. `, S
  823. ; http://php.net/allow-url-include: P( a, a- m5 M4 ^
  824. allow_url_include = Off
    1 p  t! n7 s* |4 M
  825. 5 _" `  Z! Y# X8 s" w- k' O
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    % N2 Y$ D% F$ Y/ q
  827. ; for this is empty.( ]' j: R: F* O" V1 F1 H* v
  828. ; http://php.net/from$ a2 |$ C2 a* a7 }3 _7 q
  829. ;from="john@doe.com"
    4 q' Y7 F0 g. S2 w

  830. ! D6 R& j3 e" d3 Q6 E, I
  831. ; Define the User-Agent string. PHP's default setting for this is empty." q* g, f; R5 n% N1 w4 Q6 G
  832. ; http://php.net/user-agent
    3 I) P5 I9 b0 ?6 @* \9 t/ K
  833. ;user_agent="PHP"* B1 _3 n6 }' s" K; ?4 ]* J
  834. - r* b8 ]5 E7 J7 Y) Z6 i7 d; `' o
  835. ; Default timeout for socket based streams (seconds)
    & v  W+ U5 `0 I5 W- F7 k8 z" s" g
  836. ; http://php.net/default-socket-timeout
    9 K. I+ G7 x- J
  837. default_socket_timeout = 602 E  t1 w; s- n5 M3 o+ b4 _
  838. 4 z9 B1 ?& }- Y+ L- B
  839. ; If your scripts have to deal with files from Macintosh systems,
    ' I$ A' h. q+ W( a* I- w$ ?
  840. ; or you are running on a Mac and need to deal with files from
    - \6 V) a$ {% R; G4 ]5 V/ m2 h7 l
  841. ; unix or win32 systems, setting this flag will cause PHP to
    8 [2 F' J- n4 H; y
  842. ; automatically detect the EOL character in those files so that
    0 ~; _' ~7 G  z# s8 O' S
  843. ; fgets() and file() will work regardless of the source of the file.
    4 C: V$ n' u9 o6 T2 b6 a' z
  844. ; http://php.net/auto-detect-line-endings
    ' |, h4 b$ D$ u% ]% q5 F! M
  845. ;auto_detect_line_endings = Off7 G$ V6 {. Z% a2 ]7 C

  846. % c/ T1 g7 w8 X
  847. ;;;;;;;;;;;;;;;;;;;;;;' b* E% C7 l  ~5 _  w5 `& s& y
  848. ; Dynamic Extensions ;
    ( Z3 I! d, y, p
  849. ;;;;;;;;;;;;;;;;;;;;;;
    * ~4 H7 o" f, d4 s

  850. * `1 b* A  V& T6 r: M
  851. ; If you wish to have an extension loaded automatically, use the following
    ) @& L8 K* @4 ]( p
  852. ; syntax:
    3 ]" ]6 z  [  {2 v! E3 P% u
  853. ;
    ; R# g# x; d- v/ u
  854. ;   extension=modulename.extension
    7 Q$ N: @- f2 x% f! S
  855. ;
    1 W3 Q. V& M8 r2 f; m
  856. ; For example, on Windows:
    " B% i5 L( q: k  K8 }2 }& f. ^
  857. ;( u8 q8 b9 ~% C  A: ]: Y" _( W
  858. ;   extension=msql.dll
    3 ^9 B" h/ K9 H/ c8 N
  859. ;
    : E/ t" p' q" ^$ W! Y8 o! ?
  860. ; ... or under UNIX:
    9 `& d0 L# t7 [. m5 L9 L
  861. ;
    $ k( ^6 Y0 O! ]/ ]+ L
  862. ;   extension=msql.so
    ) B! P' Y5 G0 W$ b' s" T8 q. z
  863. ;
    5 p% q7 ]3 K" K" i
  864. ; ... or with a path:
    6 ^! j  l2 t7 \- j- U! t
  865. ;
    5 _' n% z. D7 \( C
  866. ;   extension=/path/to/extension/msql.so  X7 c( R$ A! N! T
  867. ;" P. y6 L2 E; g& `9 }
  868. ; If you only provide the name of the extension, PHP will look for it in its7 \8 h. `. w+ I6 }+ I& n
  869. ; default extension directory.
    ! k8 [  x7 Z% Z( Q2 _( s6 x
  870. ;7 `# i8 M; r8 K  L1 G' y$ Z# t/ o9 e
  871. ; Windows Extensions; s' b$ \- G: Q( Z) K
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    ! @7 j1 f& p( {# b9 A
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    0 T5 U1 h6 M0 V
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    + g# w$ P  }% V5 f5 W
  875. ; Be sure to appropriately set the extension_dir directive.. T* D" E+ m" w6 F8 b, T
  876. ;' V6 L5 p! J( ~' v$ g! [" e
  877. ;extension=php_bz2.dll
    + N& r8 o5 J1 _# n: ]
  878. ;extension=php_curl.dll; G" }- G+ F( I  `) J
  879. ;extension=php_fileinfo.dll
    9 u/ H8 O, O; s
  880. ;extension=php_ftp.dll
    * _5 g5 Y* u+ \
  881. ;extension=php_gd2.dll5 K0 n& u2 d- M0 Z& c. X- S
  882. ;extension=php_gettext.dll% n; l( z( M* k
  883. ;extension=php_gmp.dll& S: C) h5 n- [$ i& Z) M+ m, X
  884. ;extension=php_intl.dll* `& G1 C) B' D* Z, K
  885. ;extension=php_imap.dll
    ( P1 H2 a5 P5 i; v1 n0 Q1 ]# ~5 D8 }! j
  886. ;extension=php_interbase.dll
    4 ]9 l# w7 _: c8 s! `$ |" A
  887. ;extension=php_ldap.dll
    9 ?3 f% f( o( _8 f/ s
  888. ;extension=php_mbstring.dll  u0 o8 ]/ u; K; _  h, m; S
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    ) E6 s' @% L3 C5 t/ @: Z
  890. ;extension=php_mysqli.dll& j% I0 N% K6 v* b* l, a4 |, o- x
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    / F# u+ |8 b8 q
  892. ;extension=php_openssl.dll
    $ g. U: u( v! B) u
  893. ;extension=php_pdo_firebird.dll7 G; f  |" b7 [7 Q
  894. ;extension=php_pdo_mysql.dll3 N8 r2 z7 l+ C  G( c" ~
  895. ;extension=php_pdo_oci.dll2 |4 j7 D2 ?8 C* ~
  896. ;extension=php_pdo_odbc.dll
    4 I& O- Y' Q" O/ E# p& r
  897. ;extension=php_pdo_pgsql.dll
    ' ]! n0 o: X+ y$ [
  898. ;extension=php_pdo_sqlite.dll
    ) t, z) Y% z  r: t2 j4 I6 k
  899. ;extension=php_pgsql.dll# H: ^) R4 p, W9 P  [; ~
  900. ;extension=php_shmop.dll
    - U1 d$ ^9 P& V& n' \9 V: n/ ^% R- [5 P8 s
  901.   c6 |  L( K; v) _- O; p8 a
  902. ; The MIBS data available in the PHP distribution must be installed.3 W/ n$ f7 @  p9 L; U, F4 d% q
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    * c" U% @. X1 K0 B& g% R! |. u( w
  904. ;extension=php_snmp.dll
    . w0 e9 O% e9 I/ }6 {
  905. ( N1 L5 \7 k. u' ~
  906. ;extension=php_soap.dll
    . S1 c! i$ j+ P) \% }- P
  907. ;extension=php_sockets.dll
    ( a' @3 H% b+ N8 c5 _
  908. ;extension=php_sqlite3.dll
    4 E$ s* K. ^8 _$ A% ]" v
  909. ;extension=php_tidy.dll, |1 U. N) G/ p1 ~" p. d1 _* ?4 Y8 q
  910. ;extension=php_xmlrpc.dll+ Y) f/ x1 F( J; D
  911. ;extension=php_xsl.dll7 ^" \* b& m, l$ _' d
  912. & o) z# n1 L& H1 G1 Q) ^
  913. ;;;;;;;;;;;;;;;;;;;
    2 m6 A% A& ~! V; y- v5 i0 h& c5 s7 l
  914. ; Module Settings ;7 O6 X2 r& U0 X2 `6 C
  915. ;;;;;;;;;;;;;;;;;;;& j# a: }. D1 `( z$ D5 b5 K2 ?
  916. 9 ^: W' _( D$ T, ]9 S
  917. [CLI Server]  ^' o* f9 S# `3 O, V) x
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.3 N- r& F* a0 A  Q3 g' D% b
  919. cli_server.color = On& q6 c# E  l, d; T  N1 a
  920. 2 |" |1 F6 |: X3 k6 |  I7 Z4 x
  921. [Date]
    , }$ _( f3 C! ?4 s8 w2 v- M% R
  922. ; Defines the default timezone used by the date functions
    : i4 l% {6 a( k8 h
  923. ; http://php.net/date.timezone
    1 Q/ v1 s! K5 Q+ u/ `+ e
  924. date.timezone = PRC$ }' L8 Q7 q# b: K) y
  925. ; I5 n- l- r) w  v7 G  U! B- T, X
  926. ; http://php.net/date.default-latitude
    " e& C) W' L9 W0 O. R
  927. ;date.default_latitude = 31.76672 }0 H; K" e( I

  928. 6 w+ n6 Y& |- A1 L2 z" b& `6 v: U. s
  929. ; http://php.net/date.default-longitude! }" a% z  A" Z2 _4 a
  930. ;date.default_longitude = 35.23333 [1 O3 P% K' q$ k8 h
  931. * O- y1 o, A0 u& i7 g8 S& p8 a
  932. ; http://php.net/date.sunrise-zenith) o$ t# X7 g4 O; ]. N
  933. ;date.sunrise_zenith = 90.583333
    . v5 F- L  K8 y$ V

  934. 8 q* f" E' ^+ r
  935. ; http://php.net/date.sunset-zenith) s- C6 }  c5 ?7 r. B
  936. ;date.sunset_zenith = 90.583333
    : j( j- ]% c& k* |" R

  937. 0 e$ _( o5 p1 Z' E" v# c+ R
  938. [filter]
      o3 T6 t! f5 K& v# I! g
  939. ; http://php.net/filter.default2 B$ m! H+ U& Z" u8 S8 }
  940. ;filter.default = unsafe_raw0 g# X, |! P" {5 y3 t9 {
  941. ) L3 R( v; j: F) U8 T0 ]1 \
  942. ; http://php.net/filter.default-flags
    3 I; c# Z+ B' k* t% `
  943. ;filter.default_flags =
    2 ]2 p: }8 A% K* N3 z' i
  944. 2 b1 x5 \* u/ n% B4 W
  945. [iconv]
    7 G: Y- [7 q* I2 h. N0 n
  946. ; Use of this INI entry is deprecated, use global input_encoding instead./ P/ ^9 h/ A6 `' ?  |% I
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used., M8 f! g2 d+ y
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding. ?2 ]/ b3 [' l& z
  949. ;iconv.input_encoding =  q  {, c/ K9 H/ t6 h2 f

  950. , q, G$ b4 l" a5 U- A
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.: a5 O3 J1 y7 i) G7 P/ `, i
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ( l. G6 [5 z8 _1 h
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding3 H/ T+ N! R' f4 c3 t
  954. ;iconv.internal_encoding =8 ~6 [$ v/ z$ {
  955. - Z9 T+ Y: X  i3 v7 ?: n
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.) F$ k$ u" g. i5 C5 n! q
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.! |2 g6 |9 K( ~# U
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding+ D8 x) [& k( L# g
  959. ; To use an output encoding conversion, iconv's output handler must be set
    6 Y; \1 T0 }. p6 b# [  e
  960. ; otherwise output encoding conversion cannot be performed.
    ; E$ Z. Y+ d5 V2 p
  961. ;iconv.output_encoding =
    # {1 [( j1 B- `" s
  962. & V! Y; k/ b) E. S8 b+ W  q4 `$ Y
  963. [intl]  X; Y, f3 G5 w: N
  964. ;intl.default_locale =
    ' V! Y! D6 l$ X
  965. ; This directive allows you to produce PHP errors when some error6 a8 @' f& X, r' t: R
  966. ; happens within intl functions. The value is the level of the error produced.
    " L; k; r) {) u# B- a
  967. ; Default is 0, which does not produce any errors.
    9 k, Y# L  G7 H" m
  968. ;intl.error_level = E_WARNING# }9 i% S% s" D/ Y9 m1 U' r
  969. ;intl.use_exceptions = 08 [6 C- y1 M9 h4 V* `) G% P! s

  970. 6 v5 K! Q6 d) y" g) R
  971. [sqlite3]/ g" w2 N2 V, H: y! |# r6 O3 B
  972. ;sqlite3.extension_dir =
    - k5 G. J" ~7 `/ ?0 U0 [% Z4 f! T

  973. 0 d7 _9 ]6 t" D* e/ \& v
  974. [Pcre]/ g1 O8 R" Z, @- E
  975. ;PCRE library backtracking limit./ b; j8 @- E- R' }
  976. ; http://php.net/pcre.backtrack-limit
      L/ ]( _3 W- }4 D$ e2 w3 c
  977. ;pcre.backtrack_limit=100000' V. B) ?8 `! Q& O; z- u5 |" L
  978. 5 F# Q/ Z( z6 G2 K# J
  979. ;PCRE library recursion limit.
    8 Z6 G$ H) J1 L$ G; o. E8 E9 ?
  980. ;Please note that if you set this value to a high number you may consume all
    % o* T5 B6 r# N
  981. ;the available process stack and eventually crash PHP (due to reaching the9 Y  N$ j5 {# e! t# O
  982. ;stack size limit imposed by the Operating System).) A: w- J% }, j7 p
  983. ; http://php.net/pcre.recursion-limit
    0 h0 X5 Y: V/ Z' h( j. S
  984. ;pcre.recursion_limit=100000# C5 n# B" c$ X

  985. 2 G2 o# Z+ ~; _8 H9 z8 C
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE* e9 f& H# l3 b8 k% J) t) N
  987. ;library to be compiled with JIT support.
    4 }6 ^6 V9 J, \+ S- o
  988. ;pcre.jit=1
    2 J, Y2 I2 {$ N+ v; a# _

  989. ( ^) x( Y& m! z& i+ \. g
  990. [Pdo]* F5 Z5 J) W) A. b9 n
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    ( E5 K$ Q( ~9 K; {7 x
  992. ; http://php.net/pdo-odbc.connection-pooling
    ! Q& f, b# |/ N5 a( }* ~
  993. ;pdo_odbc.connection_pooling=strict+ W  l! u+ ]* z
  994. 1 D: a/ m1 G; T& N; j
  995. ;pdo_odbc.db2_instance_name
    3 \" _& f& ^# |* w

  996. ! n, v1 u, {( P- V! w
  997. [Pdo_mysql]
    ( r# A4 C3 b1 V$ q- e; M# y
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    # V, M3 R$ }; N+ D: J0 a# W
  999. ; http://php.net/pdo_mysql.cache_size
    " d9 n. Z0 Q$ J; H" w% h
  1000. pdo_mysql.cache_size = 2000
    ) G/ g, x  ~" U

  1001. + ?/ U& F6 D- q7 U" W2 m+ |# {/ C% R
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    5 x3 G* }' e$ w6 z1 v
  1003. ; MySQL defaults.. ^; q  a/ F. @0 q0 U, T% w3 M
  1004. ; http://php.net/pdo_mysql.default-socket. d: }2 r3 h/ C" w9 _1 y
  1005. pdo_mysql.default_socket=( C2 R- w! }: z8 J  S

  1006. : V/ ]: a) h0 w6 Z8 }2 r  t
  1007. [Phar]
    6 C+ W' f0 K$ w% @5 N
  1008. ; http://php.net/phar.readonly
    " W0 S. n- {- _
  1009. ;phar.readonly = On1 F% \+ m7 q1 b9 s

  1010. 5 S) n  _- l7 H. P) _
  1011. ; http://php.net/phar.require-hash9 `: r6 C% U2 X, |
  1012. ;phar.require_hash = On/ k4 u9 i) I; I* w: n
  1013. 3 a$ f; y! z& {8 @
  1014. ;phar.cache_list =: ]. p. ?+ M5 D. D' X

  1015. 8 c- ~7 g# p. |  I3 F6 G
  1016. [mail function]# h$ c  t+ H* V8 b
  1017. ; For Win32 only.7 O! E5 {7 X0 Y5 I0 F5 M
  1018. ; http://php.net/smtp
    # w. ~9 G9 |0 {* h; V* ]' A: @
  1019. SMTP = localhost
    " R7 |1 k" G1 c1 z0 @) l& p
  1020. ; http://php.net/smtp-port2 ^7 o1 \% A1 U, ~. b& b
  1021. smtp_port = 251 q3 _* g4 ]4 {2 p1 f, P, Q* ?

  1022. 7 S4 S5 B. b9 h& a) R5 g3 ?# W  d6 U
  1023. ; For Win32 only.3 Z3 i7 j& K, d: _7 ?2 m
  1024. ; http://php.net/sendmail-from4 F& N: U" q3 R* O2 a$ P! W. c
  1025. ;sendmail_from = me@example.com2 z% F7 R3 u+ `% n

  1026. ! t! B5 q5 \) v  }5 a9 i# r
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").5 J! T: a9 l* S* {! `0 ]! b
  1028. ; http://php.net/sendmail-path
    " b; k0 y' j) V0 N- e  J
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    + P. G; q8 P7 P1 D
  1030. 2 S* o6 n" ^2 T* p! u
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    " S) j' w" N& O' q& W+ q; Y* K: W( N
  1032. ; to the sendmail binary. These parameters will always replace the value of
    1 n3 M0 t8 D0 ?  e9 A# _
  1033. ; the 5th parameter to mail().. j7 w: m- Q. J/ Z. c3 i% L9 Z0 U
  1034. ;mail.force_extra_parameters =5 s8 j; |- y  O# a: {

  1035. 7 Q, E5 P+ \: e
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename& M# A+ M) |& M
  1037. mail.add_x_header = On
    4 q( H: _5 }1 N& M8 o( Z
  1038. % h9 D) Q/ @" o: j( B
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    2 [4 {# F! O7 S1 }" ?9 p
  1040. ; the full path of the script, line number, To address and headers.( g7 r5 d( P' q5 R
  1041. ;mail.log =
    7 l$ N' |% V6 [; L  [: z" z) |
  1042. ; Log mail to syslog (Event Log on Windows).
    : i: f8 e) e! G4 O) I
  1043. ;mail.log = syslog
    - d$ p9 w+ t2 L9 i/ {  j
  1044.   [$ G. g+ g' A
  1045. [SQL]
    % J" w, v- d$ a! K
  1046. ; http://php.net/sql.safe-mode) C2 ^! I; q4 K$ q9 M
  1047. sql.safe_mode = Off
    $ n! d3 |/ w+ w9 ^* [
  1048. 1 z8 t. z3 v4 H  p+ V
  1049. [ODBC]
    / Y! }  C- s  {" X, W2 H
  1050. ; http://php.net/odbc.default-db& L0 U) @# y% o7 Y1 t
  1051. ;odbc.default_db    =  Not yet implemented; Z$ K0 B) K9 {. O4 C

  1052. 9 d+ k) }5 {7 u+ N9 {( @/ n* e7 S
  1053. ; http://php.net/odbc.default-user
    % q' w0 F1 P- Q' \( ?) `( r
  1054. ;odbc.default_user  =  Not yet implemented. @+ \# f$ k5 q- Q# [8 ?$ M  U

  1055. 7 \9 O/ S% B. N; p! i6 G* Q: q* [
  1056. ; http://php.net/odbc.default-pw0 I- w/ T3 x7 s  C2 G8 E
  1057. ;odbc.default_pw    =  Not yet implemented* m0 A& B7 U  b0 f

  1058. 2 j, p' [3 r" o. B
  1059. ; Controls the ODBC cursor model.
    ) u2 {" V! ^% ?5 q0 B1 E% u# i
  1060. ; Default: SQL_CURSOR_STATIC (default).
      Z" h, k3 b% F5 \2 t
  1061. ;odbc.default_cursortype
    ) Z; x- w& S# O3 N7 s8 |6 b* T

  1062. ( Q3 C2 j* i/ A$ P4 K/ A9 M
  1063. ; Allow or prevent persistent links.
    ! Y/ M  j8 ?2 ^1 k7 X
  1064. ; http://php.net/odbc.allow-persistent
    . e$ Q: z# L) m# w3 N  h6 B
  1065. odbc.allow_persistent = On- E1 w0 `, i7 |' d
  1066. 6 X/ r. {4 K% w7 l4 P$ d
  1067. ; Check that a connection is still valid before reuse.
    + t' J! L( E" k' S# P+ r
  1068. ; http://php.net/odbc.check-persistent
    9 w! W- z! M# Q7 D
  1069. odbc.check_persistent = On9 w% F. Q+ i$ Z( }- j3 R# K- U7 m
  1070. ! A' j, t1 _- }. m3 i8 B% C  H, X
  1071. ; Maximum number of persistent links.  -1 means no limit., a  v* ^# J( p0 e# @
  1072. ; http://php.net/odbc.max-persistent
    ' t2 a# o/ o" S
  1073. odbc.max_persistent = -1  F; D. Q8 S1 b8 x- J

  1074. - V. p# e9 ~7 E2 u* Q' x4 U, d
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    2 B4 E1 I0 ~  F
  1076. ; http://php.net/odbc.max-links3 A; M- r" \: ~5 R
  1077. odbc.max_links = -1
    $ O! s$ `! D7 E& l3 @0 {) r* `
  1078. 4 A" H& }% n9 D/ f$ i
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means+ F! }+ M( p' B9 z! ?& ?4 r0 {
  1080. ; passthru.
    8 L0 J  @" g; ?% F# M. a
  1081. ; http://php.net/odbc.defaultlrl  T! a3 z, i# ~# r, l
  1082. odbc.defaultlrl = 4096; T% n: |( ^5 F6 ?& ]6 V) J

  1083. ( i% n$ c0 p' }8 c6 t; b8 o1 _
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
      g: ]) X) L, v
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    " Z1 x# f1 B) d6 E
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    * P2 r% b. K5 a  h$ {
  1087. ; http://php.net/odbc.defaultbinmode6 b& q8 [. U: M! N
  1088. odbc.defaultbinmode = 13 m3 D5 D1 }# P3 _# B5 ^: H9 Q- T
  1089. 5 P8 x" \# T5 l: N8 H
  1090. ;birdstep.max_links = -1
    $ {1 x/ l9 D) v) W, ~& C8 A% X
  1091. 9 Y/ O* V6 |+ v
  1092. [Interbase]4 N9 p* ]( P1 y0 y3 A
  1093. ; Allow or prevent persistent links.
    0 w' O4 B& s0 H- n$ E
  1094. ibase.allow_persistent = 1
    ; B4 e9 [7 W/ R$ U7 \7 U: J
  1095. 0 ]$ ?: M2 q4 [$ q' A% O  C" K  E# u
  1096. ; Maximum number of persistent links.  -1 means no limit.2 h+ a, u" R- x  |# c
  1097. ibase.max_persistent = -1
    * P  A: f+ m3 v9 o
  1098. + @# Y7 ?  U( @9 D* o$ a" q  H
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    : w9 j! E8 k" k& h8 V7 ~! w
  1100. ibase.max_links = -1/ Y( F* @) l0 }1 |2 h$ w9 {9 {

  1101. ' F5 n' \; K, O( a/ ~) |
  1102. ; Default database name for ibase_connect().0 }3 Y7 s+ ?" j/ o: t
  1103. ;ibase.default_db =* U6 _. m7 X" N
  1104. 4 T" G9 p5 G- p! S
  1105. ; Default username for ibase_connect().. G1 b% v* J7 x6 J) ?6 R" C: w
  1106. ;ibase.default_user =
    - A3 V# Y0 ]. H, o8 t( f
  1107. 5 r" o9 r  o% R+ F3 {7 u( x
  1108. ; Default password for ibase_connect().) y! L! x9 v9 w1 U4 \
  1109. ;ibase.default_password =. p# s. N8 {/ A
  1110. * C4 g$ b: n! Z( b
  1111. ; Default charset for ibase_connect().
    5 w* |  p9 o- V
  1112. ;ibase.default_charset =
      T3 J2 Q8 E# ?4 m8 B) b+ j: J0 q

  1113. ) s1 A8 H8 c* x" Z& ^" p4 r7 \
  1114. ; Default timestamp format.: o, c. ~& D! k' |1 p: e) F
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"1 ~* E6 ^9 j, w% ^: U7 N
  1116. 5 ]) {  w( y: u1 T
  1117. ; Default date format.
    % j  s4 q0 o6 j+ y; U
  1118. ibase.dateformat = "%Y-%m-%d", Q, o: \) |; `9 A/ b' }$ Q! I

  1119. 6 K5 ~  Q: ]; H! B/ z3 t) e# m
  1120. ; Default time format./ J) g8 ?% Q/ R3 K5 i8 q8 `
  1121. ibase.timeformat = "%H:%M:%S"
    2 w7 A0 w0 E2 H! }' M& h6 t
  1122. 1 ^9 ^- l$ {9 h( F
  1123. [MySQLi]7 O- h3 N7 O2 ^8 W9 U- o
  1124. & F! ]; k9 }( N8 d/ S0 B1 l% ~
  1125. ; Maximum number of persistent links.  -1 means no limit.
    " g: o" L; j- P0 }7 x0 T8 a; }2 k  I
  1126. ; http://php.net/mysqli.max-persistent' Q; J7 P2 X4 ~4 E/ e% ?7 f0 o
  1127. mysqli.max_persistent = -1
    0 q6 ~* R  w0 e" o
  1128. - K% t  A1 F0 N, t  ?9 b( E- o
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements* o& E: }. Q8 K" k: s: c4 P5 C8 f8 k
  1130. ; http://php.net/mysqli.allow_local_infile  [  G2 C/ {, p9 q" \
  1131. ;mysqli.allow_local_infile = On
    . K5 }3 r, \7 K: @" H/ [3 E
  1132. : g7 R- q0 K) E
  1133. ; Allow or prevent persistent links.1 T+ O' e  W4 a0 c' k' f
  1134. ; http://php.net/mysqli.allow-persistent
    2 S; C% i% E% U7 v# e4 }5 u
  1135. mysqli.allow_persistent = On
    2 _3 ]* R9 H8 ?

  1136.   x, K  W2 i7 e
  1137. ; Maximum number of links.  -1 means no limit.
    ) |* q7 {9 v7 D3 ?
  1138. ; http://php.net/mysqli.max-links
    4 Z5 V# b" T. T+ ?
  1139. mysqli.max_links = -1
    ( m) h+ C& T3 ]: a, [; @& k9 V2 w, e
  1140. / T( }: j- t+ |- ?9 j
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    , V3 K8 U, [# A- b* P3 i4 h) u
  1142. ; http://php.net/mysqli.cache_size
    6 k! \4 H8 C! }& q, U
  1143. mysqli.cache_size = 2000
    ) C$ c; z% E) K& ~8 r: S, `
  1144. 5 D4 q$ |8 F0 ?& O
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    / b0 A- I/ q- n+ [5 |
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the5 ^6 ~; W) w+ h2 r- k& y. p2 w
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look) g6 D& \7 W8 b9 m
  1148. ; at MYSQL_PORT.3 h0 @/ W9 m' E0 C4 p) z8 n* G: n
  1149. ; http://php.net/mysqli.default-port
    0 W# P- [& N5 Q. u- f. Z1 e- E
  1150. mysqli.default_port = 3306
      m' Z  F$ `6 `+ \

  1151. 8 P% \" O* n4 ]" ]6 X8 g
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    8 Y3 q0 `2 u; x" l- q4 g2 p& |
  1153. ; MySQL defaults.1 y% \' Q- {2 S
  1154. ; http://php.net/mysqli.default-socket
    1 u! ?0 M/ }3 a
  1155. mysqli.default_socket =$ L2 E& [" C/ T+ _( ?1 ]' `

  1156. 0 w2 z5 T* }( I# u$ y: E
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    ' {# M( h- D# E& U+ ?  L
  1158. ; http://php.net/mysqli.default-host7 f$ g0 [% p9 W' t' X
  1159. mysqli.default_host =
    & B3 {  ~( q! y+ @1 G

  1160. ) P' e( J% \+ f4 H2 p
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).9 z' M+ \7 t, J" {) [4 F: E
  1162. ; http://php.net/mysqli.default-user  u5 {; r: w! y& i  T8 G: ~
  1163. mysqli.default_user =" t$ J0 q# M5 {: r6 P9 ~2 ?4 ^9 ~

  1164. 7 z$ p! z1 m; t" t9 f( G) U0 x
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    / E+ o& `5 [3 j! Q+ `
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    5 f1 L+ J3 n. Y+ j# l
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    6 D8 z5 ]$ C# j; x! }+ w/ `9 c4 ~
  1168. ; and reveal this password!  And of course, any users with read access to this# ]2 f# E$ {  i& ^/ `1 j
  1169. ; file will be able to reveal the password as well.
    & V+ k2 h6 ^2 I
  1170. ; http://php.net/mysqli.default-pw
    8 y& K8 H  c4 Q- P% b4 |
  1171. mysqli.default_pw =4 J! g8 z# Q8 E8 t; e) x! z% i

  1172. 3 J0 W' }! l" Z+ i
  1173. ; Allow or prevent reconnect
    2 K( ]9 X8 Z& Q, c7 n; Z: g! U3 l. W
  1174. mysqli.reconnect = Off
    ) l# O8 z4 t! M8 U5 M+ S" J- _" ]

  1175. 2 n0 f  n5 n* g0 s8 X. p
  1176. [mysqlnd]' o" P& Y# m7 _. G
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be  M4 v- b, K: H+ t0 P& [7 N# e/ p. C
  1178. ; used to tune and monitor MySQL operations.- K( e5 e1 k- @% r: T) v
  1179. ; http://php.net/mysqlnd.collect_statistics
    0 v. m. |' v6 k( F( n+ v
  1180. mysqlnd.collect_statistics = On* A* J' H9 x) t+ K  e& u
  1181. , L* j5 u9 F7 P" O  ^$ s
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be+ O) V% M: B$ e! m" C* p- v
  1183. ; used to tune and monitor MySQL operations.
    2 P  w0 O7 A4 v
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    " x8 Q$ N; J0 e4 [0 n% U  b
  1185. mysqlnd.collect_memory_statistics = Off
    9 ~1 K2 ~$ S. p  x: {$ M! l
  1186. " I+ x$ {1 T: Y- L6 Z, V" J
  1187. ; Records communication from all extensions using mysqlnd to the specified log- f) g% P8 Z' O- Y4 [4 k9 K  F
  1188. ; file.5 L- b* j. q+ g4 m5 t
  1189. ; http://php.net/mysqlnd.debug
    ! e0 {, H9 F+ ?
  1190. ;mysqlnd.debug =
    4 }) P% O! H# I& M1 s- d3 j& b
  1191. # d6 {. K; k8 D4 l4 g3 L* d1 |
  1192. ; Defines which queries will be logged.
    1 D% N2 ]+ _9 y. r6 j" q
  1193. ; http://php.net/mysqlnd.log_mask' s5 f( r4 ^2 R. R
  1194. ;mysqlnd.log_mask = 0
    : u! N9 q: d4 y9 p5 Q' Z
  1195. + g9 V. B  d# {. X4 B. h4 b
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    5 N. Q6 D& ~0 c9 ]2 c  s) t
  1197. ; http://php.net/mysqlnd.mempool_default_size4 W$ e. E1 J% p. M$ {* y
  1198. ;mysqlnd.mempool_default_size = 160009 \8 T% \. X7 ~

  1199. , @4 |5 E  d( L) [6 u* q4 O
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.* j' q0 y& ^: p( L; A! G2 W
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
      w+ ^$ A; y0 l1 ^7 _! x
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    8 h: b" P, Q9 o' Z# [. Z, Y. N
  1203. . a" C+ `! r' y
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in6 R6 i* Z5 m. r% d4 P' p) }
  1205. ; bytes.; F3 J$ V. D! C5 C' P0 T4 e
  1206. ; http://php.net/mysqlnd.net_read_buffer_size9 C' H* z$ c5 h/ s, f$ T
  1207. ;mysqlnd.net_read_buffer_size = 32768
    6 s2 B8 c& h* M: A! T. M; t

  1208. " o( i* }1 y  G" Q  l+ r+ P
  1209. ; Timeout for network requests in seconds.  u( s5 ^, P/ X0 Z  p/ |' l
  1210. ; http://php.net/mysqlnd.net_read_timeout% {4 w8 b) s7 g+ I
  1211. ;mysqlnd.net_read_timeout = 31536000
    0 c) F. U  T% F
  1212. $ H' {, h, p$ ?5 S7 }* \
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA9 X: ?% f  V. ^9 A( x& G
  1214. ; key.; P' j/ i% w# I: g1 H1 A
  1215. ; http://php.net/mysqlnd.sha256_server_public_key/ a) `3 c* J3 T
  1216. ;mysqlnd.sha256_server_public_key =% J, [1 `8 F) ~4 x+ T

  1217. & q% v# E) P, l: B0 P
  1218. [OCI8]
    6 B0 d; Q6 e7 c/ C2 [; \
  1219. - X' U) o6 n/ K
  1220. ; Connection: Enables privileged connections using external# i2 t9 L4 K  u' J* a* A
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)4 e( U- Y5 ^( m: ?- H
  1222. ; http://php.net/oci8.privileged-connect
    3 G- g0 _6 S8 |. r  v
  1223. ;oci8.privileged_connect = Off
    $ v1 ~$ F: E- W* v* a
  1224. 2 A* h) H: }: A8 @6 |8 a% `5 X
  1225. ; Connection: The maximum number of persistent OCI8 connections per. R+ f- o9 a9 C) O, [2 U
  1226. ; process. Using -1 means no limit.# h$ Q! K7 k! Q% M) \
  1227. ; http://php.net/oci8.max-persistent+ |5 j( ?3 Y. w
  1228. ;oci8.max_persistent = -1
    / O3 i) F( p3 s: u4 @* C
  1229. ( K# v% V+ k6 Q0 g6 P3 y  c
  1230. ; Connection: The maximum number of seconds a process is allowed to; ?  h) e+ z; m
  1231. ; maintain an idle persistent connection. Using -1 means idle6 o8 j8 U& q0 e- _
  1232. ; persistent connections will be maintained forever.  O7 T/ O3 @/ H& R7 E2 y9 E
  1233. ; http://php.net/oci8.persistent-timeout  g7 P/ v, _& c  E
  1234. ;oci8.persistent_timeout = -1/ O; X# k1 J3 J& ?: s3 k* H
  1235. ) p. {+ [7 `# e7 f& |7 e
  1236. ; Connection: The number of seconds that must pass before issuing a& Z$ y8 ~' A7 w% b) v, ^
  1237. ; ping during oci_pconnect() to check the connection validity. When
    ) X" A( x) t/ h% |2 N; [
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    ! W9 c( e) z% T! w) W3 _
  1239. ; pings completely.
    ! L3 j+ f" u6 S) b
  1240. ; http://php.net/oci8.ping-interval- o. F! J; Q) e
  1241. ;oci8.ping_interval = 60
    ! M( M3 d+ Y( d  c- |# i" O% v* E
  1242. 9 ?/ E# b, P( G+ @- i
  1243. ; Connection: Set this to a user chosen connection class to be used
    % r* F4 M& D0 r$ v
  1244. ; for all pooled server requests with Oracle 11g Database Resident* n6 b! b* D! K' M! M# c5 ]* g
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to$ j% D+ M6 U# @, {$ m' S
  1246. ; the same string for all web servers running the same application,! m$ I- U* l" W& W
  1247. ; the database pool must be configured, and the connection string must
    : P; O( k! z, Q& U3 E% z
  1248. ; specify to use a pooled server.
    ' F1 g9 G' n# z# M
  1249. ;oci8.connection_class =9 K1 O1 O) v! G: `* t, U: h6 d
  1250. ) s- L' R0 w! _% `6 \& ]
  1251. ; High Availability: Using On lets PHP receive Fast Application: |! y! v  L0 G# \
  1252. ; Notification (FAN) events generated when a database node fails. The
    8 C6 x# d$ N4 Z5 N# w8 c/ H: [) c
  1253. ; database must also be configured to post FAN events.
    0 ^; @3 B. O4 l' s, T
  1254. ;oci8.events = Off
    / l4 D; K0 w9 ^  Q

  1255. . N, c; \# w# J4 r1 H3 F+ B/ e5 k
  1256. ; Tuning: This option enables statement caching, and specifies how
    ! |$ s; S3 J, Q& C9 y) V0 f( t
  1257. ; many statements to cache. Using 0 disables statement caching.% l( A+ k) v& ~+ S
  1258. ; http://php.net/oci8.statement-cache-size+ M3 g* U4 M0 a. s5 R* {4 Y, \
  1259. ;oci8.statement_cache_size = 208 l8 z' i- w% x9 f0 Q1 @
  1260. 0 o. [( X, @. v' k
  1261. ; Tuning: Enables statement prefetching and sets the default number of% l& g/ f8 E) c" J
  1262. ; rows that will be fetched automatically after statement execution.7 K) ~$ h0 `3 U% t
  1263. ; http://php.net/oci8.default-prefetch' Z. ?% ^+ i4 b9 o
  1264. ;oci8.default_prefetch = 100- U! s6 m$ k: o$ D, r

  1265. # j  y/ e/ I. q" L) {
  1266. ; Compatibility. Using On means oci_close() will not close, M# s$ I, ?; w7 o2 t/ s
  1267. ; oci_connect() and oci_new_connect() connections.
    2 `& Y  x0 L- R
  1268. ; http://php.net/oci8.old-oci-close-semantics
    1 D7 q% f  I# R/ N, l
  1269. ;oci8.old_oci_close_semantics = Off) |8 f% I" T  i) S4 u- ]/ a
  1270. ( {+ V3 K$ s( s( O; T3 l' C, T/ H
  1271. [PostgreSQL]) ^; t- b2 b0 V; d
  1272. ; Allow or prevent persistent links.
      ?! f. _3 \. w8 V. d! f" U0 J. z
  1273. ; http://php.net/pgsql.allow-persistent
    % T2 ^) S0 A& q1 V
  1274. pgsql.allow_persistent = On0 y4 y! w( H8 W0 a2 n5 h" D( ~! T

  1275. $ F" u. u4 [. \+ ^% z+ x- w0 \0 Y+ s
  1276. ; Detect broken persistent links always with pg_pconnect().  [( u; o1 ?+ f
  1277. ; Auto reset feature requires a little overheads.
    # t: R# A) H( p' M
  1278. ; http://php.net/pgsql.auto-reset-persistent
    + H4 d: G) i# D- S
  1279. pgsql.auto_reset_persistent = Off
    6 `5 s& x5 _7 A1 ~
  1280. 9 h$ ?: a0 T; Q( R8 x
  1281. ; Maximum number of persistent links.  -1 means no limit.
    ' F6 N: b8 ?# N% S
  1282. ; http://php.net/pgsql.max-persistent- X2 s- i7 @+ v8 z$ A% I
  1283. pgsql.max_persistent = -1! V& i! o, o9 w9 \+ R
  1284. # U7 S1 V7 Y2 V( O; z1 V$ k, x6 `1 a: ]
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.8 B3 i% X( ~7 R2 ]$ S( F- h; _
  1286. ; http://php.net/pgsql.max-links
    ! K" E5 r! N. J. @
  1287. pgsql.max_links = -1
    9 H5 @& w5 y: W( N5 ?

  1288. ( |: s" g/ q& I5 t; e2 L$ h1 X
  1289. ; Ignore PostgreSQL backends Notice message or not.
    ( v. a$ M5 V* j3 h- q# H$ g
  1290. ; Notice message logging require a little overheads.$ G- e; I3 M* z7 {% l
  1291. ; http://php.net/pgsql.ignore-notice
      |+ U5 E9 W4 F" o
  1292. pgsql.ignore_notice = 0% f% a9 G+ T2 U& j9 C, d9 Q1 R! I

  1293. + r$ z3 e' C* K6 g
  1294. ; Log PostgreSQL backends Notice message or not.
    4 |" j4 K, q* a- _
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.2 W" T7 |& l# f" m" H# x+ p
  1296. ; http://php.net/pgsql.log-notice/ A" p, g" {2 o4 [. f4 \
  1297. pgsql.log_notice = 07 |3 {1 T; f2 C: q  A5 K$ G
  1298. ) K  [. K# s) v5 r9 W/ J* |- f, o7 E
  1299. [bcmath]$ T( h# E% w8 y$ q
  1300. ; Number of decimal digits for all bcmath functions.
      p, A: t: k3 V$ h
  1301. ; http://php.net/bcmath.scale
    5 M7 V& W" T! G- m, u
  1302. bcmath.scale = 0# U' L' k6 d) t1 `
  1303. ) P& i, C5 g5 H  s
  1304. [browscap]
    ) p+ a9 N( G/ q$ t
  1305. ; http://php.net/browscap
    ) v/ l9 M4 g7 U0 Q
  1306. ;browscap = extra/browscap.ini
    ! c7 _9 X& ^: n' q

  1307. - g4 n9 Y: A6 F
  1308. [Session]
    . r# t: F' _" K% t+ K+ l8 J$ C( M+ [
  1309. ; Handler used to store/retrieve data.7 f. k7 c8 B4 w: r, e" M
  1310. ; http://php.net/session.save-handler3 ^! V: g6 g9 z+ _, i
  1311. session.save_handler = files+ c% s! z$ ~* k* x8 P1 ~+ N: o
  1312. : |4 K+ q. v" `' x
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    ; p$ X9 @% R! J. e7 U& ~# c; h- s
  1314. ; where data files are stored. Note: Windows users have to change this
    ; W  K4 W. y9 r9 i4 n
  1315. ; variable in order to use PHP's session functions." m* W+ F$ w# y9 u7 s
  1316. ;, v4 U3 G/ A8 ?" b: X( k: R
  1317. ; The path can be defined as:  Y' p/ e9 e4 \0 i) z! k4 q' H1 N
  1318. ;1 ~4 f6 b! H, u
  1319. ;     session.save_path = "N;/path"3 ]$ a3 K9 r- ^- \. c9 h
  1320. ;% @$ F. a- R  L/ o7 n) n
  1321. ; where N is an integer.  Instead of storing all the session files in3 u7 v$ j9 s" D7 z
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    & Q4 k+ G( C- A" ?, A
  1323. ; store the session data in those directories.  This is useful if- a3 r" z7 I. V% }6 ]# I
  1324. ; your OS has problems with many files in one directory, and is! E5 F( _5 Z, t8 k
  1325. ; a more efficient layout for servers that handle many sessions.+ w: S1 G& }  N3 w* U, R. F
  1326. ;
    : Q. K* Z7 H( n; L/ `0 _% F
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    . c( P) z( F' z& `0 y& |
  1328. ;         You can use the script in the ext/session dir for that purpose.
    , \. S2 s3 H& D( n! y1 M1 g0 T  P0 R- C5 P
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    + j; r6 r7 K' x6 ~
  1330. ;         use subdirectories for session storage1 ]; I. S) e1 c! k! ]! t1 U. ]
  1331. ;
    . e  o& z9 @, Z, j! w
  1332. ; The file storage module creates files using mode 600 by default.
    4 D1 E8 L3 |; G& E$ M+ z9 s, V5 e9 {
  1333. ; You can change that by using  D2 e/ |' o' @& \! F4 o5 @" f
  1334. ;
    7 t% y" n# r9 S( g0 S9 s, ]
  1335. ;     session.save_path = "N;MODE;/path"/ F: D- w( V0 U) e2 ~1 k
  1336. ;
    5 b4 K+ N& g) f' u% s, X" s; V
  1337. ; where MODE is the octal representation of the mode. Note that this
    0 u% d  o0 u& P1 k! Q
  1338. ; does not overwrite the process's umask.+ w( w: \" w! V# @
  1339. ; http://php.net/session.save-path. H* D! ~4 [, ^; @8 z& M# H- m
  1340. ;session.save_path = "/tmp"
    * ~: J0 {+ @3 r( j
  1341. ; L9 ^$ p+ {; V
  1342. ; Whether to use strict session mode.
    # U% k+ u5 S, h9 F- J) l
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    " E6 R* x3 Q7 v8 l0 V3 g
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    / ~  }2 [/ D" R7 D
  1345. ; applications from session fixation via session adoption vulnerability. It is7 f* T/ s6 x3 r) X0 F: R9 q
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.2 X. _. ?; }7 ], e
  1347. ; https://wiki.php.net/rfc/strict_sessions
    ! T+ A3 o* b) C5 O' F
  1348. session.use_strict_mode = 09 R! A% s6 U' h5 s1 D1 Q+ ?9 U

  1349. , L+ a3 W: M9 \) J! p/ [8 A  d* }
  1350. ; Whether to use cookies.1 ^/ O0 v/ t  _4 n0 y. {
  1351. ; http://php.net/session.use-cookies
    7 w0 ]3 U  h0 T' @( x  _# Q& C
  1352. session.use_cookies = 15 i) x9 v/ o# k- |) ]9 u
  1353. 6 Q& P4 n1 U) c5 \0 n
  1354. ; http://php.net/session.cookie-secure
    ) f1 j# y) M# s" n2 }
  1355. ;session.cookie_secure =
    7 d2 r: ^: n5 j

  1356. 2 r4 C* d) w* X: `
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining+ u# G( E) U. s8 N4 c( ]# x* N
  1358. ; the session id. We encourage this operation as it's very helpful in combating( k: a8 m. s, k8 J. p
  1359. ; session hijacking when not specifying and managing your own session id. It is! q# p$ ~. J6 T7 L/ ?# w2 x5 u
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    ( u* I* U& o8 ?$ V- |9 k; b% M% s
  1361. ; http://php.net/session.use-only-cookies6 ]  P' Y$ x6 L% Z" J. `0 g9 v
  1362. session.use_only_cookies = 19 n% y3 |8 O3 l
  1363. 0 d$ e+ i) {- u: K2 a3 O
  1364. ; Name of the session (used as cookie name).0 I4 x4 Q* u: F# @5 v2 c& [
  1365. ; http://php.net/session.name
    , d" i& o( {2 m3 X+ J9 g
  1366. session.name = PHPSESSID' t8 D. |, a) r

  1367. & p9 C5 w% ?3 X  D0 z' \- T. v
  1368. ; Initialize session on request startup.8 p9 g" u" x5 n- q; W
  1369. ; http://php.net/session.auto-start2 z+ x2 p/ X  X5 f) _
  1370. session.auto_start = 03 ~6 s6 }; P8 `! U% F
  1371. & j$ N5 Y, O9 c
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    / z/ r4 t9 }- r& j
  1373. ; http://php.net/session.cookie-lifetime
    # v2 [9 X0 u2 O7 U
  1374. session.cookie_lifetime = 0' Q. h4 N9 r5 c/ y

  1375. 9 p. e6 L2 A# Y$ W' _1 b
  1376. ; The path for which the cookie is valid.' N7 i+ l$ w  w2 z. Z  j
  1377. ; http://php.net/session.cookie-path
    " {( N, p, c! B5 Y* @
  1378. session.cookie_path = /6 \0 E" Z+ v$ {1 R* ~1 F8 g

  1379. ; f4 s# B) ?3 H' H
  1380. ; The domain for which the cookie is valid.$ W; ?5 f" k$ I& `4 T$ o
  1381. ; http://php.net/session.cookie-domain
    8 d. o% ?% G& O& ]: i
  1382. session.cookie_domain =& ]6 R2 E% z1 E; M8 e9 ]

  1383. 7 _6 E) i) @; W" {
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript./ n) T% D, s. l; C" O% T: c2 s
  1385. ; http://php.net/session.cookie-httponly
    - W* d7 l1 Q9 r* ~
  1386. session.cookie_httponly =3 J' u/ }& k, G  w

  1387. " y4 {' B# D* ~0 C8 ^1 P3 g' h
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    & q5 W; F5 n4 G0 ]6 j7 x
  1389. ; http://php.net/session.serialize-handler" }# |; H' Y& Q
  1390. session.serialize_handler = php
    1 l( A& c! ]4 F
  1391. ; d1 Q, ]8 Z2 |# j' I
  1392. ; Defines the probability that the 'garbage collection' process is started! D' }6 C* M5 D3 h( x. I% ?
  1393. ; on every session initialization. The probability is calculated by using/ S* z: Y) y6 n- _
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator. }( Q" Y2 M; C2 x
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1( a5 b; i: z3 `" X  l, H2 f
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance9 F9 W  `9 l0 s
  1397. ; the gc will run on any give request.
    7 k1 I% S$ f, m
  1398. ; Default Value: 1
    5 t! X* Q: c9 e0 }3 t+ h
  1399. ; Development Value: 1
    - n7 ~, S/ J$ g! p3 p
  1400. ; Production Value: 1, h, j( ^/ o0 o! x- u
  1401. ; http://php.net/session.gc-probability9 B- v8 A2 _4 I5 H* b! U
  1402. session.gc_probability = 1
    4 z3 J9 O' L: N. \& D- x

  1403. 8 q- p, i' _; Q8 x0 F$ N5 L
  1404. ; Defines the probability that the 'garbage collection' process is started on every# r5 J, y" e/ }
  1405. ; session initialization. The probability is calculated by using the following equation:
    - u2 t1 H9 V6 W9 N" a1 e' Z
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and( e2 e/ b8 g4 k3 y" Z  ]$ A
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    ) `3 |+ W0 ^+ G; E$ Q
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    4 ?/ B. h! O6 Q) O
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    5 W7 D0 D( G7 n% L/ m
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    ( h2 R6 D' j0 b" P4 y
  1411. ; this is a more efficient approach./ p8 X$ Y; t/ v8 @/ \; u
  1412. ; Default Value: 100
    " F# W+ g' k4 s8 \6 z& ?
  1413. ; Development Value: 1000
    ( I; X& g; J3 C- J" e+ C; H
  1414. ; Production Value: 1000
    4 [2 v. V" h) s/ O, e( P
  1415. ; http://php.net/session.gc-divisor
      n5 K! C6 Z- e( B8 D$ Q/ ?7 b$ _
  1416. session.gc_divisor = 1000+ x; `) a2 q* |8 o; w6 [) O0 ]

  1417. . Z+ D7 K2 M$ F( `" |" V9 }3 S8 `
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    ) ~! R& K& W1 i
  1419. ; cleaned up by the garbage collection process.9 ^) A1 n  Z# J& c+ d6 n
  1420. ; http://php.net/session.gc-maxlifetime" }% |+ }" v3 V8 M% l+ m
  1421. session.gc_maxlifetime = 1440
    + _! @" N0 G' M/ N0 T) k5 d
  1422. ) y! ~( J3 A! G0 m' x
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    8 t; M6 S! Y& N
  1424. ;       (see session.save_path above), then garbage collection does *not*
    ( B" p4 ]1 B9 i8 Y0 ^* f6 J8 k+ b
  1425. ;       happen automatically.  You will need to do your own garbage8 @0 F( ~# F0 V; C% x  `6 r
  1426. ;       collection through a shell script, cron entry, or some other method.
    4 G3 J  C( A( ?' ?
  1427. ;       For example, the following script would is the equivalent of. B* s/ g' W  q7 p; m$ x+ n/ A
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    * z: x$ c$ D2 r
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    4 n# H) c" u: m
  1430. : X- v6 v# F/ i; b# b& i. d. a
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.4 s$ O! p! \" A7 P5 [! F
  1432. ; HTTP_REFERER has to contain this substring for the session to be6 U/ R: w0 T& a6 s/ u- x+ ~
  1433. ; considered as valid.% f) H! y3 H9 X
  1434. ; http://php.net/session.referer-check
    2 s4 g; w: }2 A* l7 s, ~4 H
  1435. session.referer_check =, s! r% o! V# c9 x0 N

  1436. : W2 Y7 l7 R0 l. F0 d' a
  1437. ; How many bytes to read from the file.* v8 u' |3 F, R2 r
  1438. ; http://php.net/session.entropy-length" N, j+ c  M& W$ j: P- t
  1439. ;session.entropy_length = 32
    9 G1 C8 V: \1 n  N2 P% E

  1440. , A6 A, s: X4 ~# f
  1441. ; Specified here to create the session id.
    % d. `  X4 X: P6 z4 E! t" B
  1442. ; http://php.net/session.entropy-file7 w* n# k  ^+ u
  1443. ; Defaults to /dev/urandom
    ) I8 W0 |$ J. E5 n
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom' L9 F8 o* M" w+ @5 a2 _( [
  1445. ; If neither are found at compile time, the default is no entropy file.
    1 Y. r* `3 {' K4 f
  1446. ; On windows, setting the entropy_length setting will activate the
    3 Z: g* b4 I- k; b
  1447. ; Windows random source (using the CryptoAPI)
      h- ^3 |$ b+ v/ v* g
  1448. ;session.entropy_file = /dev/urandom3 @9 Y% `# O! p7 N

  1449. 6 Y* n7 _- X% N  y* n1 }; K" ^4 F
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    7 E: G$ S& Z9 c# t2 Z
  1451. ; or leave this empty to avoid sending anti-caching headers.
    . q6 r* z6 _5 K" P/ @0 x
  1452. ; http://php.net/session.cache-limiter5 Q0 B+ o) I' E( F' ^6 g1 Q4 {
  1453. session.cache_limiter = nocache
    , k* K9 {. |9 T: C6 l0 j, s  _3 k
  1454. % s  f5 K3 ^1 D/ j. F' P$ z
  1455. ; Document expires after n minutes.1 V- x/ \' O- X1 Y- h% b
  1456. ; http://php.net/session.cache-expire
    8 D# O) ?7 q3 e7 X' o1 Q0 k) V4 r
  1457. session.cache_expire = 180
    & n$ d' {) A! p- n: r( ?% W5 m# C
  1458. : H, E0 d: a. C( x- t5 G
  1459. ; trans sid support is disabled by default.
    . |+ L- \4 u6 B0 l; y7 u1 b4 A
  1460. ; Use of trans sid may risk your users' security.0 _; s6 d6 N2 f4 Z
  1461. ; Use this option with caution.
    * k1 D' S9 |8 I# Q2 a* g
  1462. ; - User may send URL contains active session ID
    * k0 Q* X" E+ X6 x* q! n9 o* L
  1463. ;   to other person via. email/irc/etc.
    7 `( ^# ?) p9 }3 b  n6 z
  1464. ; - URL that contains active session ID may be stored
    # k2 n3 c; O; ]; U
  1465. ;   in publicly accessible computer.
    ( c* c, @' u- N& |# ^3 r
  1466. ; - User may access your site with the same session ID' b/ v' |; b' |# C& r' A' l
  1467. ;   always using URL stored in browser's history or bookmarks.
    0 z2 {1 o% h  Q( S% K9 o6 E
  1468. ; http://php.net/session.use-trans-sid' j6 q, k" n) h$ j9 A4 R2 d. F
  1469. session.use_trans_sid = 0
    9 o1 M, C, L! R* s: m

  1470. * @# q7 ^  I% T
  1471. ; Select a hash function for use in generating session ids.
    ' r- w6 Q7 d5 R: H( N- T4 d
  1472. ; Possible Values1 N' j* v: g5 I5 b$ Q5 J( F; J
  1473. ;   0  (MD5 128 bits)4 G& v; z9 T: Z. `; O
  1474. ;   1  (SHA-1 160 bits)
    4 @6 a) i; s$ r6 a
  1475. ; This option may also be set to the name of any hash function supported by
    ) \  I1 I, w: @4 q  _
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    8 I0 R# N4 R8 o& G6 g) Q( T
  1477. ; function.+ c& Q5 Q, I: O  V4 s
  1478. ; http://php.net/session.hash-function
    8 G, {6 c9 N) e- R: z# W5 Y0 d
  1479. session.hash_function = 04 w  v$ z+ D: \7 I2 j
  1480. 2 l7 ~- c" T' |
  1481. ; Define how many bits are stored in each character when converting$ s: a, I4 r# G; U  i  v
  1482. ; the binary hash data to something readable.
    7 l! n" Q4 ~4 G& ]
  1483. ; Possible values:3 H0 b9 {( ^2 ~  C  b/ w- V) ?7 z. Q
  1484. ;   4  (4 bits: 0-9, a-f)
    4 K3 F0 X- e0 z$ K3 s( X
  1485. ;   5  (5 bits: 0-9, a-v)# K$ T0 J) }& X' z
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    , v( ~/ h) B" V
  1487. ; Default Value: 4" W$ o! n9 n& Y9 L
  1488. ; Development Value: 54 b1 V$ ~, N* b" ?: N
  1489. ; Production Value: 50 u, E' x0 B4 _! Y6 {
  1490. ; http://php.net/session.hash-bits-per-character& L. A, M1 p% d' G+ D% _
  1491. session.hash_bits_per_character = 5
    0 o2 G( z! p4 W4 k
  1492. 2 H; }% p  L1 W# f, W* N
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.4 I3 i0 V1 k9 Y: H
  1494. ; form/fieldset are special; if you include them here, the rewriter will$ j" Q0 x& P) y; C4 V  y
  1495. ; add a hidden <input> field with the info which is otherwise appended' b1 }5 [9 d) v( V4 S
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    * I- v7 i6 D8 j; i; z
  1497. ; Note that all valid entries require a "=", even if no value follows.
    0 s! S& V, V) y+ J: i
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="" ], H" @, W2 A; s. u, n
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    & c( {" H) _) {& ~7 a) W' l
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"+ H4 n7 f8 e# [5 n7 R* H
  1501. ; http://php.net/url-rewriter.tags
    # L* Y; R/ C$ @; y
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    + d0 Y: N* [: o

  1503. 0 O: Z# p: A/ |% x. D: a
  1504. ; Enable upload progress tracking in $_SESSION
    ; U7 N3 F1 E- V! k# T; o4 B- A
  1505. ; Default Value: On4 l0 c5 i; S& f1 z1 k" {7 l
  1506. ; Development Value: On
    . A6 z8 f. v0 c; \. h1 }
  1507. ; Production Value: On  h3 X+ }# t/ ?# t* C
  1508. ; http://php.net/session.upload-progress.enabled$ ?, J& U6 B3 ]8 K9 t7 F9 K
  1509. ;session.upload_progress.enabled = On
    6 ]/ i7 Z+ h: _( b, m% Q

  1510. 1 x7 ]: Z- z- s5 l+ ?5 u3 t! g
  1511. ; Cleanup the progress information as soon as all POST data has been read7 c) t$ J$ ~+ O  }* [0 \
  1512. ; (i.e. upload completed).
    7 D6 r6 _9 i2 E0 K
  1513. ; Default Value: On, |0 E/ b  i, i( I% E
  1514. ; Development Value: On
    + N, p- t& z$ n2 c; O. s2 o$ x: X8 b
  1515. ; Production Value: On4 N( x9 o% n2 h2 Z/ m+ L+ C
  1516. ; http://php.net/session.upload-progress.cleanup
    , L+ N+ U3 k  R- |  T! I# B) _
  1517. ;session.upload_progress.cleanup = On
    : v# H& J9 P7 e6 z9 U
  1518. + G9 G) N. e) }/ R2 f% k
  1519. ; A prefix used for the upload progress key in $_SESSION$ B# r' P* S8 ^+ R/ A6 A6 R' Q1 S
  1520. ; Default Value: "upload_progress_"
    . `" S' U& J! l4 [0 {0 e: y4 u. w
  1521. ; Development Value: "upload_progress_"6 p8 \8 [1 G/ ^% Y; O% x) T
  1522. ; Production Value: "upload_progress_"
    " o! v1 C) y6 \! }& x+ Z$ |
  1523. ; http://php.net/session.upload-progress.prefix
    % W; G) r' F3 V( T" @) S. r1 n
  1524. ;session.upload_progress.prefix = "upload_progress_"* e( U2 p' {0 H& k2 ^
  1525. , P: Y+ w/ G: q2 Z/ S2 e" ~" X
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    ) I3 l, ]6 l2 b9 q0 I- }8 ?
  1527. ; containing the upload progress information
    8 t+ U# J& s) {: Q0 l! L5 p
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"- w5 c. m1 A7 e- {9 r! v
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"0 m4 h7 j( t  W9 ]) S6 F! d
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"3 X* M/ ^$ Q2 y, M, k5 V% b
  1531. ; http://php.net/session.upload-progress.name
    . C0 p; l8 c  t8 o# G+ [% a
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"& C2 I: T( Q6 H6 E+ n7 q

  1533. & H- \3 q4 l0 C
  1534. ; How frequently the upload progress should be updated./ J, Q) F. r- i
  1535. ; Given either in percentages (per-file), or in bytes4 Z" f. B6 x1 g  {4 T( N
  1536. ; Default Value: "1%"0 M! g0 ]: J7 {0 T& V
  1537. ; Development Value: "1%"
    ' C! h8 e+ W& `7 t7 Y: Z
  1538. ; Production Value: "1%"
    ) y$ P: q% B# r% Y
  1539. ; http://php.net/session.upload-progress.freq
    / I1 s8 \! e! s: v4 C8 B) ?
  1540. ;session.upload_progress.freq =  "1%"+ N/ \# z2 }. ?3 x$ n4 P

  1541. 6 K. B% A2 d, r: S( K, h3 f. e
  1542. ; The minimum delay between updates, in seconds
      `$ X0 b! W# U4 g5 Q
  1543. ; Default Value: 1
    3 F6 c6 U& f/ a. n' W2 H" K$ j
  1544. ; Development Value: 1
    1 C8 @# G/ \( t* Q" s
  1545. ; Production Value: 1
    . d$ v$ c# v5 Z7 T- c+ P# K; b" h
  1546. ; http://php.net/session.upload-progress.min-freq
    4 M3 \* ]' o' I- `( Z- x4 g" D  k
  1547. ;session.upload_progress.min_freq = "1"  ]7 G7 E4 t* T5 D( i+ u% z2 s

  1548. + z9 ?; f' B8 v, a: R1 m
  1549. ; Only write session data when session data is changed. Enabled by default.  h( N( f! ~# L2 l" l3 F! U
  1550. ; http://php.net/session.lazy-write* i$ f# n/ b& P" I* V* W
  1551. ;session.lazy_write = On
    , A0 f- e+ y( F( w1 g

  1552. % R4 V2 G4 `7 Q( V
  1553. [Assertion]
    " g& B4 e5 @4 c7 N
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    ( a! d: g# p( L
  1555. ; -1: Do not compile at all" i$ R* T+ M( y' v4 \
  1556. ;  0: Jump over assertion at run-time
    2 f. t$ r/ i" J( n  L2 a/ ?& X
  1557. ;  1: Execute assertions3 z' k) |) F0 E7 i/ A4 K; I
  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)& |2 c- B! v; _$ S" Q5 u7 p
  1559. ; Default Value: 14 L( P' B, c3 p3 y2 D
  1560. ; Development Value: 1
    ; ~" k2 v: j% q* n- L( I
  1561. ; Production Value: -1
    4 K, Q+ j8 l  i* H
  1562. ; http://php.net/zend.assertions
    * I7 U" m- a5 i5 x7 b
  1563. zend.assertions = -18 ^  n+ g# K3 p* |# V- c! q4 v
  1564.   ^; ~6 D7 v) {$ H  j) o: y5 F  o
  1565. ; Assert(expr); active by default.
    " Z5 r* v, u$ H! }8 Q+ i
  1566. ; http://php.net/assert.active  Z. n3 a5 v/ b- P; x
  1567. ;assert.active = On( F. M! F9 D3 h/ h
  1568. ' ]) g. P, W" a# e/ X8 ~
  1569. ; Throw an AssertationException on failed assertions. g' U: L, a7 D8 ]( I, u5 o
  1570. ; http://php.net/assert.exception
    * s6 {% F& \! a# u2 H
  1571. ;assert.exception = On( w7 ^! t$ s+ j5 d$ }7 p

  1572. 4 L3 ~0 x+ v# t& c; }5 y! |
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)  W* @) ]* I% Z# L1 R
  1574. ; http://php.net/assert.warning! }) `. U2 K/ d' f9 o# r
  1575. ;assert.warning = On0 V0 z/ _) _% S: r
  1576. 9 z1 _4 u9 Y0 ^4 Y! q( }5 x
  1577. ; Don't bail out by default.
    # P! l* |2 i5 Y1 ]: C( p
  1578. ; http://php.net/assert.bail
    ) i$ z$ \9 F( G! \7 H
  1579. ;assert.bail = Off( L3 L* r( |( j8 ?; k8 x
  1580. ' F3 [; u9 A+ p0 L2 M! A
  1581. ; User-function to be called if an assertion fails.; }1 z! X5 [* {; j' L* K* q
  1582. ; http://php.net/assert.callback
    + R3 P: ]% P% K* ~  `8 D: Z7 S  `
  1583. ;assert.callback = 0
    2 l# v- i- S, q

  1584. + b: l) {) ?9 C+ u  }; g' n
  1585. ; Eval the expression with current error_reporting().  Set to true if you want0 x2 {: t- C/ B. y2 n
  1586. ; error_reporting(0) around the eval().0 X5 ^& T7 K9 L2 I! z
  1587. ; http://php.net/assert.quiet-eval
    5 b/ M( W# S" \4 l
  1588. ;assert.quiet_eval = 08 v8 F8 T$ A; P6 X( R* J% `1 i

  1589. . H8 ?- I7 g: Y; [) ]
  1590. [COM]
      p0 |+ |& R+ i3 a0 i6 a1 Z" I% C
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs$ ?! N$ d2 g) S1 l% _6 t0 z' }: h/ [2 ?
  1592. ; http://php.net/com.typelib-file
    ) V3 H; a) M' v4 I5 F+ L
  1593. ;com.typelib_file =
    ! @0 e% W) _2 y" h# J3 J9 @

  1594. . B+ J0 X* @( _7 D( [( d. _) A3 r* m0 I
  1595. ; allow Distributed-COM calls
    0 @* F9 }: q  @4 p$ F8 j. |0 Z8 c
  1596. ; http://php.net/com.allow-dcom
    3 m) S% z  y) x
  1597. ;com.allow_dcom = true
    * r$ A+ {: Z: _& Y4 C3 y

  1598. 9 H) y& i! H) Q4 V2 i
  1599. ; autoregister constants of a components typlib on com_load()
    0 Z. K& C& E8 f' S1 K& ?3 P- o1 b
  1600. ; http://php.net/com.autoregister-typelib" q+ r% E) Q* t& e" u
  1601. ;com.autoregister_typelib = true- h& \. H4 V$ l1 U. L
  1602. 9 e4 ^6 T; R# r) }8 r& ]
  1603. ; register constants casesensitive
    3 F; z2 Y. L: S2 Z! U% b
  1604. ; http://php.net/com.autoregister-casesensitive
    * g  T4 p" q* l2 M' Q
  1605. ;com.autoregister_casesensitive = false
    8 B) P& b' k6 g: }* Z% g
  1606. 7 y; {5 y* ]- X4 Z# \- U
  1607. ; show warnings on duplicate constant registrations8 e) P" n3 Q6 A- H3 R
  1608. ; http://php.net/com.autoregister-verbose( K4 L( t0 m" V# b$ ~, [* f' T* t
  1609. ;com.autoregister_verbose = true9 a: i  X5 L& G0 i+ A* s2 ]3 h

  1610. 6 P4 a& L6 a3 y3 r
  1611. ; The default character set code-page to use when passing strings to and from COM objects.) T, c- B0 z9 B# j
  1612. ; Default: system ANSI code page
    / c+ Y& S% |! a- Z1 A! ?$ Y
  1613. ;com.code_page=$ R) E8 A7 X1 i; B
  1614. % z7 M  Y/ t- Z* u) \+ W+ c+ L
  1615. [mbstring]  U( H# [* L9 y
  1616. ; language for internal character representation.: m9 P, l- q! c" b; s. \4 w
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    , G+ B2 E- @7 N' a1 N5 p7 z$ V5 @
  1618. ; http://php.net/mbstring.language
      O$ |, L  D7 s$ O8 R% v
  1619. ;mbstring.language = Japanese
    6 R" v. ~" K  W) K8 G  c! {) h$ }' C

  1620. . |) w. k6 J  j
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    $ r, W3 p" m. p; U2 v
  1622. ; internal/script encoding.4 X7 k6 T" q) ^5 g" s5 _2 P8 S
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)0 ?- Q; N) i1 U: Y' C
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.3 f( T7 B4 F  o% I/ E. I) B
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
      R+ e6 _' G' P8 G' r
  1626. ;mbstring.internal_encoding =/ ~0 o) s- ?% b( w
  1627. + d" d/ P. H2 z& h
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.4 h* S8 a' b0 u" o' t
  1629. ; http input encoding.
    / L1 N* X! O, g
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    ' T$ h4 _5 ?) U/ y$ G/ l
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.( G! {( [$ _* W3 o  }* ?) t
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    ! C5 Y; n) y% c+ {* Z' K
  1633. ; http://php.net/mbstring.http-input2 y# Q* {# W3 I1 q7 ^/ m
  1634. ;mbstring.http_input =2 X/ J# T: i! d# U+ @

  1635. 1 Y+ X. H4 e  e1 Z, D7 K
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    + H8 ~: O9 Q- d: g% Y. y
  1637. ; http output encoding.) Y* O7 Y6 i1 O# {% N% S" v
  1638. ; mb_output_handler must be registered as output buffer to function.
    ! i4 c8 V  {' t
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.+ s) l& o( H0 e# Q# u% Y7 B
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output. T/ b8 |6 G, G3 S
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
      A$ H9 i$ R/ z: b5 ?
  1642. ; otherwise output encoding conversion cannot be performed.
    # e- l$ Z" ^* `3 ?: m
  1643. ; http://php.net/mbstring.http-output
      x. M4 B/ E3 Y% e8 i- d- U; \
  1644. ;mbstring.http_output =
    , p7 _2 a% q! z
  1645. ! \- M0 b/ O* ^
  1646. ; enable automatic encoding translation according to
    0 x4 s0 U/ V9 \/ o$ j, |
  1647. ; mbstring.internal_encoding setting. Input chars are: i; Y. Z3 d# F: Q
  1648. ; converted to internal encoding by setting this to On.
    ) J5 I0 w! d+ o5 h
  1649. ; Note: Do _not_ use automatic encoding translation for' ]+ i! I4 K6 Y' s9 G$ [$ b% U
  1650. ;       portable libs/applications.* U0 `; ?. M5 k7 s9 Y; |" D
  1651. ; http://php.net/mbstring.encoding-translation
    4 g) v4 j" |- r% w7 p: }
  1652. ;mbstring.encoding_translation = Off
    % C1 Z" L8 S7 e6 A5 Y- U1 ^
  1653. 9 U- T$ R( S# _  T
  1654. ; automatic encoding detection order.
    7 Z, O; s- B4 t) |7 t0 ?( ?
  1655. ; "auto" detect order is changed according to mbstring.language
    ' ~$ P. R" }* m/ Q1 F6 O+ i8 r
  1656. ; http://php.net/mbstring.detect-order
    # r! s1 C7 j; F0 w% n) S2 g
  1657. ;mbstring.detect_order = auto8 H$ ?, K( l' Y. c% ^1 U  v
  1658. 0 R7 l& p6 i  m8 t0 R( J. Q
  1659. ; substitute_character used when character cannot be converted
    / i0 B! o2 p& F/ a9 v* K
  1660. ; one from another, f( N, R# s: h  b; u2 w
  1661. ; http://php.net/mbstring.substitute-character
    8 S, f! a5 r. R; I9 g
  1662. ;mbstring.substitute_character = none1 B3 D5 [" R  V/ x2 X2 [

  1663. / B1 V4 [8 r) {3 Z1 c
  1664. ; overload(replace) single byte functions by mbstring functions.4 a" F8 ~  Z8 I
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    9 @; D' O/ q: w: |6 ^4 t7 M+ {
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    3 Q# H4 F4 q# ~# l- b, W7 r( R
  1667. ; For example, 7 for overload everything.% @# n  S# b% N* y; |
  1668. ; 0: No overload
    # w4 O# @4 V2 _" b5 q. A1 T3 v! r. K0 u
  1669. ; 1: Overload mail() function% z7 w* q+ H4 s% ~
  1670. ; 2: Overload str*() functions0 j2 _- V) N4 f2 e) o) g  S
  1671. ; 4: Overload ereg*() functions7 F/ r. j3 K" s9 ~- K
  1672. ; http://php.net/mbstring.func-overload7 z4 ^  C, B, \, F
  1673. ;mbstring.func_overload = 0
    : f) f( c5 v$ c
  1674. 0 v: }% A+ \& C/ o& X# k
  1675. ; enable strict encoding detection.! ]% e$ s7 N  C- X
  1676. ; Default: Off, {/ y8 Q# F& }8 L
  1677. ;mbstring.strict_detection = On
    7 f& f5 G# P! ?& H
  1678. 2 {" q+ q' Y  e  W0 c
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    8 r& z. `, F5 w
  1680. ; is activated.
    ( J& J9 k2 X  e+ w8 Q$ \- f4 [% L
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)6 p4 W! ?) h$ B: c* Z+ A3 A
  1682. ;mbstring.http_output_conv_mimetype=
    : u# G# `) S: m$ k6 D$ W* G( s2 Z1 K
  1683. ( X$ l! j! _. Y
  1684. [gd]9 K$ R. a5 k8 V: [2 p
  1685. ; Tell the jpeg decode to ignore warnings and try to create) ], T, `) M5 w& p3 a( F$ O
  1686. ; a gd image. The warning will then be displayed as notices
    2 x, Z1 k, |& T# e) V, X4 O* M
  1687. ; disabled by default
    7 m* c$ X% b! @6 k5 [# R
  1688. ; http://php.net/gd.jpeg-ignore-warning! @# `" V) x3 v% S; N8 H! T1 v
  1689. ;gd.jpeg_ignore_warning = 0) P& e" j# K( v: Z6 T
  1690. 4 {3 E/ S0 ^, H8 u* Z. D# @
  1691. [exif], h, {4 J+ S4 r2 c# V
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.# i6 {% R/ a; ?; K$ ]
  1693. ; With mbstring support this will automatically be converted into the encoding1 E% o4 `3 ~, o" z' s. |6 Y
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding! X7 P5 W9 ~. S# q# X' K
  1695. ; is used. For the decode settings you can distinguish between motorola and
    # e0 r* p0 g3 X( ^, a/ e( ]! G. s8 ^
  1696. ; intel byte order. A decode setting cannot be empty.1 I$ t  t( _, L+ ^
  1697. ; http://php.net/exif.encode-unicode, E# t& d0 J, ?3 C
  1698. ;exif.encode_unicode = ISO-8859-154 z* a: ]* d1 m

  1699. % s/ W/ G( ~2 H0 ^; S
  1700. ; http://php.net/exif.decode-unicode-motorola) W4 u+ T0 e7 L+ o
  1701. ;exif.decode_unicode_motorola = UCS-2BE) D/ h; a( {6 V$ V* i1 `2 a

  1702. 1 @1 H$ U0 L5 a/ \* N
  1703. ; http://php.net/exif.decode-unicode-intel
    6 P4 l; [/ `2 o. {! N
  1704. ;exif.decode_unicode_intel    = UCS-2LE4 q9 F8 o( I# u8 ?& [* y
  1705. ' Z+ e; t6 _1 z! Q! C! s  b: N
  1706. ; http://php.net/exif.encode-jis
    3 w" W: a; ^; c2 G' R
  1707. ;exif.encode_jis =# E  `0 l2 f4 b9 v2 S
  1708.   m8 d* p* @7 F! i
  1709. ; http://php.net/exif.decode-jis-motorola: G+ ^+ ?# X4 S
  1710. ;exif.decode_jis_motorola = JIS
    ) p' q% D3 Z( O! T

  1711. ; _6 I! Z7 k3 V5 L
  1712. ; http://php.net/exif.decode-jis-intel
    3 J; E) \/ Q# \, n( V
  1713. ;exif.decode_jis_intel    = JIS
    0 x1 Z3 Y) f2 n# w% h; B0 Z4 S
  1714. " y% o# \# u: v8 Y  F' [' |
  1715. [Tidy]
    - B" I& ?& J3 S) v/ B& B9 K
  1716. ; The path to a default tidy configuration file to use when using tidy
    6 O: v4 _* T* J6 J4 X
  1717. ; http://php.net/tidy.default-config6 _" `3 O) o" w- d* G
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    7 g6 r% ~9 }" s+ _
  1719. 9 a, Z0 Q8 r3 J5 {8 v* @/ F
  1720. ; Should tidy clean and repair output automatically?
    ' Z6 Z+ }) u7 y0 {+ @- b
  1721. ; WARNING: Do not use this option if you are generating non-html content
    ; M/ T" V! o; N' h
  1722. ; such as dynamic images
    ' }8 ^; c! \( Y) V+ t/ m
  1723. ; http://php.net/tidy.clean-output1 n8 s. Q2 f4 C- }# S$ c
  1724. tidy.clean_output = Off
    / h- w- _5 }& z% B' _
  1725. 4 o8 H" A3 I5 M8 K5 z" x
  1726. [soap]* x( u% N8 ?8 x+ u! Y
  1727. ; Enables or disables WSDL caching feature.
    3 t; M$ ]9 {% Q/ f+ O# v" \5 V
  1728. ; http://php.net/soap.wsdl-cache-enabled" v( }: j1 F) j2 y
  1729. soap.wsdl_cache_enabled=1
    . d( E1 t' T; O& W- h  O

  1730. . y& g. T9 o( u5 K2 @% H8 v, c
  1731. ; Sets the directory name where SOAP extension will put cache files.1 ]1 s  M1 Z3 @, c- U+ U" z& g; `
  1732. ; http://php.net/soap.wsdl-cache-dir  }: ~9 i3 A0 M! o5 R
  1733. soap.wsdl_cache_dir="/tmp"
    2 a. k/ M$ X& E0 u9 W
  1734. : Y- r1 S! {9 m5 r/ ?9 w" e% T
  1735. ; (time to live) Sets the number of second while cached file will be used
    # A- F% ]) A- I1 W# h
  1736. ; instead of original one./ G& r, D  m2 e" \8 q
  1737. ; http://php.net/soap.wsdl-cache-ttl% y* [: a( X; \, W. R& h7 |7 A* r
  1738. soap.wsdl_cache_ttl=86400
    ) X, c* `" [, {& h' u

  1739. * X( X& K9 j9 i2 ]4 g) t
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    5 U5 e" a' J5 y, d: t/ {8 P
  1741. soap.wsdl_cache_limit = 5
    7 l0 k1 L, ^3 w* o& B, E

  1742. 0 ]$ a. c2 y4 v/ I% r
  1743. [sysvshm]
    3 @: y; u( ?* T
  1744. ; A default size of the shared memory segment4 W% U0 h) P$ M" G4 q" W3 d
  1745. ;sysvshm.init_mem = 10000
    $ l: f0 R" {/ b0 {9 A
  1746. % t. d8 {$ l6 l! n! o
  1747. [ldap]6 Y* F- U2 ^6 T2 [5 R  m2 ]
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    ' F. Z: r- P5 L5 k& v4 Y. E
  1749. ldap.max_links = -1
    : `! n; i8 c  O1 ~

  1750. - A- B0 Z; D5 \8 Y5 U, j  n
  1751. [mcrypt]
    & }. B+ X- d" o; v
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    . ]0 {$ S% o4 \. h; B( ?3 g
  1753. $ M' W; z% Q! s. B$ q+ t, ^: [
  1754. ; Directory where to load mcrypt algorithms
    - v' `, x# H/ l  s# u) U
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    % n: v$ j/ `: C- M2 U0 d- a8 B
  1756. ;mcrypt.algorithms_dir=8 U/ `3 X0 E( C7 L3 [; ]' B
  1757. 9 d5 k/ o$ V2 D8 M, ^1 ^
  1758. ; Directory where to load mcrypt modes
    " ?, v: K$ |  n8 B3 \5 S6 D
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    : K) L! s: G2 ~) f4 X8 w. p0 F9 E  F  w
  1760. ;mcrypt.modes_dir=$ }3 q4 J8 f3 ^3 x9 G: A

  1761. : A" ]8 k( D% O! O  V) @' \0 \
  1762. [dba]0 r. B: W4 q0 y2 [9 ], R
  1763. ;dba.default_handler=! Y. V6 S3 m# I' C  }4 q
  1764. 2 k8 s( d- D. a, r) P; _8 R0 g& u
  1765. [opcache]
    2 ]  b6 K% I. Z+ a
  1766. ; Determines if Zend OPCache is enabled) p4 R5 E. u4 T: I* u  L
  1767. ;opcache.enable=0% Z, h% }: ?; V

  1768. : ?2 S  c$ a. V& C: D6 }+ l
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP0 x% n' T. X% e7 P" x! a8 E
  1770. ;opcache.enable_cli=0
    5 |4 j' Q$ p1 @. \1 E) i+ P5 g

  1771. ! R% b/ ~& E! L+ o
  1772. ; The OPcache shared memory storage size.: r, G6 ^( [" Q  w) t' ~
  1773. ;opcache.memory_consumption=640 B' x7 Q1 W+ b7 Q

  1774. ' d: v  c; [! N: Y4 s+ c) g
  1775. ; The amount of memory for interned strings in Mbytes.1 s: J0 r+ N- H& y6 T$ Q5 ]
  1776. ;opcache.interned_strings_buffer=4" m' K% ^' E6 p9 q
  1777. : K" X+ O4 V% [! X' e/ Z
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.6 n; q4 D6 W% m1 a" k
  1779. ; Only numbers between 200 and 1000000 are allowed.
    5 k5 O- l; o* k" y/ E6 d% u4 W/ D
  1780. ;opcache.max_accelerated_files=2000
    & w" V' Z! n( B# a2 A( Z

  1781. - c3 \" |8 }7 p$ T* F
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    + a  k5 B7 W* I. b0 ~" U
  1783. ;opcache.max_wasted_percentage=5
    , K7 p! n) ]1 C

  1784. $ H: T- A! t" l, V: g4 q* A0 p
  1785. ; When this directive is enabled, the OPcache appends the current working
    0 P  m2 E% p7 {5 L2 o8 H# p! l
  1786. ; directory to the script key, thus eliminating possible collisions between
    % B% `- `, f& F) F4 W
  1787. ; files with the same name (basename). Disabling the directive improves: a* O9 c6 S5 e, Z. V, Z
  1788. ; performance, but may break existing applications.
    ; B2 A6 D7 Y* O3 @+ Q
  1789. ;opcache.use_cwd=1
    0 K& G7 ?; Z1 s) y3 U+ R
  1790. - k6 a) V5 a) T' m9 P/ o3 P
  1791. ; When disabled, you must reset the OPcache manually or restart the) v+ F6 u3 w3 A6 I
  1792. ; webserver for changes to the filesystem to take effect.
    ; ]$ }, o; x# X& o" ?  I
  1793. ;opcache.validate_timestamps=1
    3 q/ H& N1 M- N9 z4 m
  1794. , Z' Z1 _' B/ I* a5 }
  1795. ; How often (in seconds) to check file timestamps for changes to the shared$ }  ]' N* U/ ~$ t$ ~1 j6 F
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    , _# q' Y; }& F7 u. p
  1797. ; once per request. "0" means always validate)
    ) x; `) d# W  d. r, c
  1798. ;opcache.revalidate_freq=2
    1 p! s2 q2 u5 j; w3 S: l

  1799. & j4 [% q+ n9 h, c* R! I
  1800. ; Enables or disables file search in include_path optimization
    - [! z9 z/ H* G5 }$ t3 ]
  1801. ;opcache.revalidate_path=0
    " q3 f9 p/ z6 |- Q% d
  1802. . W# R$ [+ N* U6 |. h5 A
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the9 V6 _# V% U# x2 P- B
  1804. ; size of the optimized code.
    ( A+ ~7 Q% t" H, u) a- T; T
  1805. ;opcache.save_comments=19 F2 s$ [+ o9 F

  1806. - C9 ?2 `5 _1 p4 q+ j
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code* X3 E9 C( f+ X& f. f
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    1 l, F- q3 V3 D
  1809. ;opcache.fast_shutdown=0
    4 O$ o# S( I' C3 `% R4 I
  1810.   S* Y8 K* O$ g  G$ I, C
  1811. ; Allow file existence override (file_exists, etc.) performance feature." S0 N4 ]: t' m8 a
  1812. ;opcache.enable_file_override=0
    6 U9 o' h& e8 j# M2 C( N( ]

  1813. % Y# }8 @! ^1 R: i+ X6 ~% b
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    1 K3 n8 G! {/ I" J5 }
  1815. ; passes. ]; n7 M0 M3 y) f! V$ k% W
  1816. ;opcache.optimization_level=0xffffffff1 i: p- I* L9 g; O

  1817. . m/ S# }3 x2 F! \1 T1 K* t
  1818. ;opcache.inherited_hack=1
    ) O4 ^6 K4 w, z
  1819. ;opcache.dups_fix=0
    7 X+ }0 J% @. L# H0 t
  1820. : w6 ^5 c, ]+ \* U% X
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    8 Y# t$ g- d  w' B$ s* U
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
      I. S+ F2 w! Q/ O
  1823. ; that should not be accelerated. The file format is to add each filename6 J+ j4 @0 ?7 D  s' I7 c7 ]5 C$ y+ |
  1824. ; to a new line. The filename may be a full path or just a file prefix
    % J% Q1 z2 P  r, m+ g+ `
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    5 ^0 n2 ~+ `4 ?1 D" N4 f. p
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    ; c8 I" i; m; H! @: J' `% G
  1827. ;opcache.blacklist_filename=! T8 Z) f5 t' `& [

  1828. # D# g8 x% b. s4 M
  1829. ; Allows exclusion of large files from being cached. By default all files
    $ k3 `0 x( p0 X0 e$ `: c7 H6 }
  1830. ; are cached.
    " a0 s! I6 o, g, _3 j( j
  1831. ;opcache.max_file_size=0
    0 E! X9 i' n& V; N

  1832. / D& S1 Q5 T% @+ a7 O
  1833. ; Check the cache checksum each N requests.1 i$ R& }( K9 \6 g. H( W) D4 h
  1834. ; The default value of "0" means that the checks are disabled.
    8 X2 A  Q# x* u; K1 y8 M2 y' J* b
  1835. ;opcache.consistency_checks=0; Q& [* w# }9 p9 _9 C# M
  1836. & J0 {" F0 J; `% U' j5 d1 }
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache# w. N7 }7 o$ J" h- Z6 }( t
  1838. ; is not being accessed.
    ! {& A  \" E7 }7 ^+ |' |
  1839. ;opcache.force_restart_timeout=1805 n  V/ ]' m" Z3 M
  1840. - w4 ^4 g, x; F) O: ]
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    1 {. ]: E/ C2 h
  1842. ;opcache.error_log=
    ; Y- T2 q+ i5 N- e$ ^4 H

  1843. / ^& g; ~- y( I( e4 K+ ~
  1844. ; All OPcache errors go to the Web server log.; c- y& x2 u; h5 _: V
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.1 o/ S! b$ b) ]4 R* \  d& h5 {7 D4 E
  1846. ; You can also enable warnings (level 2), info messages (level 3) or5 Q; O6 l; E% t6 |
  1847. ; debug messages (level 4).7 t; e: T4 y' E- ~& `
  1848. ;opcache.log_verbosity_level=1
    ( n0 `1 i, B+ Z

  1849. 9 }; U- D8 G  |! @+ G
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.1 i9 h. C) t* M; Y
  1851. ;opcache.preferred_memory_model=0 t7 c1 c, x! E3 T
  1852. 1 w2 Y; Z, N) R8 x- {: N# C9 ~
  1853. ; Protect the shared memory from unexpected writing during script execution.
    / s* d1 U, W0 l- |( |- n4 y
  1854. ; Useful for internal debugging only.
    6 @" s9 g8 Z1 W  K( M
  1855. ;opcache.protect_memory=0, t; [1 m( }. [4 p
  1856. 8 d/ v1 e9 ]3 d4 [! B  r
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is# R8 R- r3 @3 c) q1 A
  1858. ; started from specified string. The default "" means no restriction
    3 X  }& r9 q- C" a& d8 r
  1859. ;opcache.restrict_api=
    : d: u, c5 x% A3 r" U" _# _
  1860. / e! w& d" E& a( w- x
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP7 |- t# c- [1 J9 E- R
  1862. ; processes have to map shared memory into the same address space. This
    ; k! y' h+ T) k, T: b: Q% j3 {& \0 h
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    # h) ]! S. D! q1 m; {" g6 K
  1864. ; errors.
    0 M! D) G  p+ I
  1865. ;opcache.mmap_base=
    7 _9 i" j7 p) p8 p- J
  1866. 5 z( t( Z3 V" J- O2 E
  1867. ; Enables and sets the second level cache directory.
    . }+ r2 }3 {% f+ n. |' p8 _# Z/ Y2 t
  1868. ; It should improve performance when SHM memory is full, at server restart or
    9 c# X: ?! n  t/ p& `
  1869. ; SHM reset. The default "" disables file based caching.
    / Y) H& g' h$ x4 Y6 \
  1870. ;opcache.file_cache=; P& i& @. E9 P) u+ m: @$ Y
  1871. - L; N! K' {/ x7 e' I- s7 X4 \
  1872. ; Enables or disables opcode caching in shared memory.' y* f2 a# z0 _+ R, K- R5 n
  1873. ;opcache.file_cache_only=0$ C( P5 \, F9 N( \2 @
  1874. ) n" M( _$ ~# A6 m# W# d2 |
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    0 ]' }# x" M/ s% L0 y% ^
  1876. ;opcache.file_cache_consistency_checks=1
    5 U5 R$ ~# |' Q
  1877. 8 s$ P. Z2 l. C( \
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to7 M  E1 b# X  o' P" Y8 b3 n
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file& f' e; Q9 Y$ o$ j5 i
  1880. ; cache is required.
    ; B( I# ?& g& n" T
  1881. ;opcache.file_cache_fallback=16 k3 J+ _$ u7 e) C0 G, @

  1882. 8 y2 a$ @0 ^- p/ j, n
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.! E5 D1 i3 [# n8 \- o; F9 Y
  1884. ; This should improve performance, but requires appropriate OS configuration.% q0 {2 ?" C' w! _& s) l
  1885. ;opcache.huge_code_pages=1
    4 f( ?$ l7 b/ v- F9 O  A' w, v

  1886. 6 o- M) V( q+ @3 T: G" _* x
  1887. ; Validate cached file permissions.
    ( b* N! y- V1 e. F( r
  1888. ; opcache.validate_permission=0
    , q. s9 u8 j5 a# m' K, e+ I9 q2 a

  1889. . c: q" p5 u' y/ Y2 V2 p
  1890. ; Prevent name collisions in chroot'ed environment.
    ( l$ B: k! j6 W# S& Q0 z& B
  1891. ; opcache.validate_root=0
    ) u8 a& E) d1 h8 \: N
  1892. 2 a0 Q7 }8 U( c. `, k
  1893. [curl]
    7 u5 o( k, j5 Q3 C
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an% [8 H3 F+ K/ Z
  1895. ; absolute path.
    : \, w& ?8 k: m
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt! Y$ y% v8 p5 F7 {9 f
  1897. 0 ~  y" w! s; {
  1898. [openssl]
    " q2 v; e; {, u1 i& l% K
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem& g! z* k8 r7 J# n: g# Q# m
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    : j  }8 I, s( W; q4 W
  1901. ; not specify a value for this directive as PHP will attempt to use the7 }; w. y' z: I8 e; [+ n. r4 o
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    & C6 h- b7 y) H" D
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    ( m( Z: r, w: r4 R. X
  1904. ; option.
    ( Z3 o' X; ]" j0 d6 K" L" y
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    % {3 F5 k- k9 y, e0 }/ m

  1906. ) ~3 j/ z0 r( y' E  k
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    5 ?: `/ W' n( k( s7 A4 y3 `
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    ' o. c" Z5 f7 y* W8 M
  1909. ; certificate. This value must be a correctly hashed certificate directory.# U2 g8 x5 x: ]: ?9 ^6 m, T. W
  1910. ; Most users should not specify a value for this directive as PHP will
    & t4 {! ^3 M1 W0 F
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,3 }% x, S! K, h, ?9 O" \) X  }) z
  1912. ; this value may still be overridden on a per-stream basis via the "capath"4 y- U" T: F6 H5 ?! a
  1913. ; SSL stream context option.
    3 T/ S; t2 @3 a+ z
  1914. ;openssl.capath=, C3 ~( {, N- J: N

  1915. / R* j  i5 f4 j$ r; W( g# n# Q( Z
  1916. ; Local Variables:: J9 Y4 y& M# d1 F) G) N
  1917. ; tab-width: 4% h6 O) f3 ?& }/ d# b2 Q1 ?
  1918. ; End:; Q1 h! U  X6 C. M2 Y: c* J4 G7 {

  1919. ) M: ]( }" T  p5 B; E; z% }8 m
  1920. ;eaccelerator! |; G* H- m' o0 ~
  1921. 5 e7 K" U) |. V* C$ Q/ q$ E
  1922. ;ionCube& ^: z: k+ A# B5 L
  1923. 0 T5 a( u7 r( r- a: Y$ ]
  1924. ;opcache$ n- O* i  ~& l% {2 S+ y& w, A

  1925. : Q3 j( A9 `, T: u3 E$ _0 |
  1926. [Zend ZendGuard Loader]
    - @3 x( _) \  D. W: t  X
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.+ p5 b- c" k. l2 }, x1 w& K$ I
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    % X9 p/ Z/ D1 T
  1929. ;zend_loader.enable=1) G% B. s) w, E
  1930. ;zend_loader.disable_licensing=06 S' Q. _0 u0 k# j& t# Z
  1931. ;zend_loader.obfuscation_level_support=3
      J7 X6 \# l3 t* V
  1932. ;zend_loader.license_path=& F: K0 J3 \! y& p' p! i
  1933. ' S$ L* A: I: Q) D+ p
  1934. ;xcache" `. s4 f0 R! u6 E
  1935. . n3 E$ `2 V- ^) z) l
复制代码
$ ]. L: i7 U1 Z/ O( q  g* i
$ E( B/ y/ X( q3 d$ M4 I, b
! p, I: ]% v$ K* S5 \. \

6 a- V. q' F1 g! ]
/ C+ \7 K+ `; j5 X% v* e
' J$ x* Z% w  `* C  A! b) }
7 H- ?* p- @5 E0 Z0 Q4 wPHP5.6版本原始设置
1 K% L) q) G# A9 G  v- _
* Y, {  k, J/ x! w* e
  1. [PHP]
    * J0 a- B- z. G6 ]3 l

  2. 9 A2 a# @3 r# {
  3. ;;;;;;;;;;;;;;;;;;;
    ) f: }; d! g# R5 A% \0 N4 F
  4. ; About php.ini   ;( B0 t/ s3 l: z( _
  5. ;;;;;;;;;;;;;;;;;;;$ ?; s8 G1 P& i( V  R
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    ; H0 {1 j7 M! D( l0 L
  7. ; configuring many of the aspects of PHP's behavior.
    . m, |  m' l6 p2 ~0 W! m- T: a

  8. ) r6 C8 ]  t! f4 E) @
  9. ; PHP attempts to find and load this configuration from a number of locations.
    8 _5 n& ]5 p) f( C$ T- Y
  10. ; The following is a summary of its search order:
    " E) K# _0 m5 C6 m
  11. ; 1. SAPI module specific location.
    1 `6 b% U! j- U5 k3 d0 o# D
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)& B% ?) @9 y: ~
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0), P7 I$ N/ P, P
  14. ; 4. Current working directory (except CLI)9 ~, b, K  }+ G* f9 ^" V
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    6 j) H- q9 X  p5 A7 V
  16. ; (otherwise in Windows)! J/ s6 E5 ~0 y# E/ t
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    / B" }7 i( e5 D1 D& D: o5 y8 }
  18. ; Windows directory (C:\windows or C:\winnt)8 y) v7 z. R3 N6 g* N
  19. ; See the PHP docs for more specific information.
    " K) G7 p! i: N/ o# N9 D/ l6 N  Q+ x
  20. ; http://php.net/configuration.file
    : n% e) f1 O$ U! ^' I1 `; T

  21. & [! t/ {6 C" y* g" D3 T- x; p
  22. ; The syntax of the file is extremely simple.  Whitespace and lines& N9 b; E; j4 e8 a
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    ! z4 i* V# P+ r1 w1 K& D8 T% {
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though& X, O# p. }1 O( `
  25. ; they might mean something in the future.  A4 k$ |3 M5 F( h+ B
  26. ! h5 u8 R$ o$ J# l/ A
  27. ; Directives following the section heading [PATH=/www/mysite] only
    ) @5 M3 h  T( G! C' y* b4 ?  Y/ N
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    ) T( A& K( b! i
  29. ; following the section heading [HOST=www.example.com] only apply to: y8 W1 G$ V! M7 \3 i7 a4 T
  30. ; PHP files served from www.example.com.  Directives set in these
      M- o0 t- ]2 \
  31. ; special sections cannot be overridden by user-defined INI files or
    ) f* p8 m7 c6 B' N# R  V
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under% T  X" F9 x# C4 j9 }% Y
  33. ; CGI/FastCGI.
    ) X' R& O) D. {8 K  g; Z2 c4 G6 G
  34. ; http://php.net/ini.sections: }+ S0 {1 b' d. F  i
  35. $ T/ k: o6 o! M# q4 ~  U
  36. ; Directives are specified using the following syntax:: Q8 Y' H: T8 ~, K" \) y  n
  37. ; directive = value1 {0 f4 I3 J- }
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    7 D6 O/ O6 m/ _+ _( }# ^% N
  39. ; Directives are variables used to configure PHP or PHP extensions./ y- C0 \8 k1 \: j$ [7 y, @
  40. ; There is no name validation.  If PHP can't find an expected
    ) B6 G, Z, S2 V9 p: ^
  41. ; directive because it is not set or is mistyped, a default value will be used.7 s& O/ j3 c: c3 t: t" [
  42.   q6 w4 j7 ~: D6 g0 }
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one: G8 w/ r1 C: l' N: g
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    $ z6 k* D7 }$ L: }  r$ x
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a! D$ u2 V8 p; Q: E! C, h4 S& T& `/ o
  46. ; previously set variable or directive (e.g. ${foo})
    & H$ x& R- n8 k* t3 s

  47. 3 v4 N0 k1 _1 U. E# Z/ ?6 Y1 n
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:1 H' \6 T9 v3 @- I# k) F+ K6 ~
  49. ; |  bitwise OR9 W* J# a0 R* B2 s5 A7 }
  50. ; ^  bitwise XOR
    0 Y" m, {( S5 z) _
  51. ; &  bitwise AND) t! T; v2 t- q
  52. ; ~  bitwise NOT: R9 n: a5 E8 M/ J9 k
  53. ; !  boolean NOT
      i0 y6 }1 u; ^% y

  54. 6 Y5 J' G6 Y# M# O
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    ; K# S- ^( N/ D8 `+ _* }7 m' s
  56. ; They can be turned off using the values 0, Off, False or No.
    : M6 H: |7 E3 A" j3 G2 P
  57. 8 C/ x- t3 p3 C7 I# w! ]3 N
  58. ; An empty string can be denoted by simply not writing anything after the equal
    . w6 L2 I; H& s9 R; x
  59. ; sign, or by using the None keyword:
    ' u1 ^# ^  v' T! P6 V

  60. $ O+ n' p. x/ N
  61. ;  foo =         ; sets foo to an empty string4 Q2 [) y4 ^; y$ {& C
  62. ;  foo = None    ; sets foo to an empty string
    & Q! }1 B+ W( I8 p+ ^
  63. ;  foo = "None"  ; sets foo to the string 'None'7 S; @1 h& [1 X% Y  G
  64. ! F5 `6 H/ q; [9 i) r, Q
  65. ; If you use constants in your value, and these constants belong to a
    . l. q# p" w% ?, G8 p
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),/ m% o2 p! g" Z
  67. ; you may only use these constants *after* the line that loads the extension.
    ) c0 @2 d+ s! L
  68. ! [& x; O% u- O+ [$ \
  69. ;;;;;;;;;;;;;;;;;;;$ U. i* w, d/ ~# N6 e  F
  70. ; About this file ;
    * ^  |' g9 D  q2 I
  71. ;;;;;;;;;;;;;;;;;;;4 K; n4 A$ e0 G& p0 W
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    0 Q; i0 F% J9 d3 W' }
  73. ; in production environments and one that is recommended to be used in
    + m  ]% f# d  I2 X, ]" I. K) M
  74. ; development environments." B( ^% ~  K5 [# I: B$ B
  75.   ?2 Y0 q9 s+ M
  76. ; php.ini-production contains settings which hold security, performance and
    * k! f+ i) z7 O8 y8 l- R( c9 q
  77. ; best practices at its core. But please be aware, these settings may break0 B; a8 w( t+ k$ a( w1 U
  78. ; compatibility with older or less security conscience applications. We. P2 `! R/ A4 o% Q' \
  79. ; recommending using the production ini in production and testing environments.) q/ A% d8 Y. ^' x2 O

  80. ) [& {$ e  y# V$ K2 l
  81. ; php.ini-development is very similar to its production variant, except it is3 h" n. c( N& G# j
  82. ; much more verbose when it comes to errors. We recommend using the
    ! Y; I) M, D/ Y5 P% S
  83. ; development version only in development environments, as errors shown to
    : o; X, @: U$ J1 ]
  84. ; application users can inadvertently leak otherwise secure information.: @+ X& T* |& q; O0 H5 I, H

  85. 6 s' e' I" Y4 Q5 ]) u
  86. ; This is php.ini-production INI file./ X, f- w3 ?/ v, @$ [

  87. % d) |5 H5 }7 P+ u
  88. ;;;;;;;;;;;;;;;;;;;; O" @( `2 y+ f; ?8 t* n
  89. ; Quick Reference ;
    8 |7 F7 D& Y2 K( M
  90. ;;;;;;;;;;;;;;;;;;;
    7 Z1 Z5 u6 p0 O5 ]5 H$ x2 P' @
  91. ; The following are all the settings which are different in either the production
    . E! s& w3 U! H! c+ s) M
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    ! y  F1 n4 ^; u, c" R2 D
  93. ; Please see the actual settings later in the document for more details as to why
    $ Y# n& N* z9 \* |  j. {6 r
  94. ; we recommend these changes in PHP's behavior.
    7 T5 G: t, u3 m( f8 T( d4 n6 t

  95. , o' _. r2 _" _4 h, l6 I
  96. ; display_errors
    $ n! W. S* i; a5 O, o( e
  97. ;   Default Value: On0 L0 ~, q! U' V, v* w" X
  98. ;   Development Value: On, `% L7 k' m+ S( k8 F9 B; a
  99. ;   Production Value: Off! b+ m* M- D" \" W. o5 l1 h

  100. 5 n  A, W0 a& X
  101. ; display_startup_errors
    $ v# o4 p* x% q' S* G
  102. ;   Default Value: Off
    ) B8 n3 G* D  o# O# s0 F" h9 o  V6 b
  103. ;   Development Value: On
    . }- y& s3 l2 g( U
  104. ;   Production Value: Off
    / h+ [" @/ F* @
  105. ! [3 U% Y6 h8 |" i
  106. ; error_reporting
    * ^3 G1 E( n: ?# F
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED4 Y  k+ J* A1 v. @
  108. ;   Development Value: E_ALL& O/ J0 G5 F7 }, d$ z+ b
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    ) T) D# `$ F9 C3 W' c

  110. - u# H+ s) v3 ~5 R+ l" w/ G; }! ?
  111. ; html_errors- w6 l4 K* ^9 S# S) H; T. O
  112. ;   Default Value: On$ [; t" V# a' \3 ?' t+ f
  113. ;   Development Value: On$ R! X% y* i# d# m) t5 l4 s2 k
  114. ;   Production value: On) s; P. |% V9 _' @: ]
  115. + d6 {( S: D) K- H8 l4 s! w) l
  116. ; log_errors# g9 @. a9 A# e0 l
  117. ;   Default Value: Off
    5 \& F& X" e. D/ l4 B* E! [
  118. ;   Development Value: On
    4 P2 S; V' ~) k5 N0 L
  119. ;   Production Value: On  j( ^5 d( e) a' M
  120. # t8 _% G0 m) S4 t4 }0 E: j% v% Q6 Z
  121. ; max_input_time
    : K/ e9 U9 H6 u/ r% J
  122. ;   Default Value: -1 (Unlimited)/ \  B/ m9 `6 V) A- {
  123. ;   Development Value: 60 (60 seconds)* e/ P% c! V8 D" X% m% L. X- N
  124. ;   Production Value: 60 (60 seconds)
    * P0 v% c% t4 h( A' k

  125. : C' y, |4 s& x7 V
  126. ; output_buffering2 a* C, |, g4 D6 U+ G# v8 q( L+ i
  127. ;   Default Value: Off
    2 x2 _) c8 x6 K+ y! ?
  128. ;   Development Value: 4096
    6 P1 G' I: S# ?* I4 G
  129. ;   Production Value: 4096
    6 b% u9 [; a: ~: W) T  w  }8 R: [
  130. : q# a' [" h9 V
  131. ; register_argc_argv5 j; g' M' j( C& X* e
  132. ;   Default Value: On2 l4 a7 L( E9 W) \% E, J+ l2 {
  133. ;   Development Value: Off
    8 Y( c$ f& U3 Q1 E( h
  134. ;   Production Value: Off
    6 r) ]3 s  ?" G, X: b% B, E
  135. $ b3 L. P+ n9 _# q0 S' L4 M/ [
  136. ; request_order
    * k7 K' }" o" D( ~' e
  137. ;   Default Value: None0 h1 K6 }, ~" P8 A1 _! |
  138. ;   Development Value: "GP"
    . \9 H2 f9 i! G) w
  139. ;   Production Value: "GP"
    + S! e1 m& q: v% t1 ^1 s

  140. 9 c; c3 e3 \; X) N
  141. ; session.gc_divisor6 H- p+ h- d+ T+ |5 F
  142. ;   Default Value: 100. J6 K( f2 y, N, B" X; ~
  143. ;   Development Value: 1000+ i; f* ?$ S9 P* y7 t4 l& H
  144. ;   Production Value: 1000
    0 T  ^4 H3 Z' ~2 e, o
  145. $ ~6 @, u! C- ?! B% p9 I3 \
  146. ; session.hash_bits_per_character5 V: r' H7 W3 Z1 O, J( m2 }
  147. ;   Default Value: 4" a" P. @5 y  X- J- y+ ]+ a
  148. ;   Development Value: 5; Y2 x2 `. n" p5 o4 D" F
  149. ;   Production Value: 5/ h3 B" k" w' ^
  150. $ j2 ]6 U1 y: J" {* ~7 ~. G
  151. ; short_open_tag
    " d0 E' d) n: t- [# ?- ]$ F" r
  152. ;   Default Value: On$ Q7 _& q9 c3 Q- O
  153. ;   Development Value: Off) w9 _6 M. ^; [% C' F* T, F
  154. ;   Production Value: Off
    & R2 Z1 K5 _* s3 w0 W$ f

  155. 0 ^1 a& m& D5 W
  156. ; track_errors
    8 Q& G/ q  |! h: U$ u
  157. ;   Default Value: Off0 u% W1 G1 w; R7 p# Q+ t
  158. ;   Development Value: On
    # P3 W8 j& e$ n( S5 |2 c
  159. ;   Production Value: Off2 {4 {# X9 l/ Q6 c* L
  160. 4 L, g) W# t. W! ]8 X  Q# i' Y
  161. ; url_rewriter.tags
    $ v" @& n  H2 y9 Q4 ^
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    . h/ r6 a$ z$ z. E6 T
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    + b+ c9 q( Z, R. z7 A& j; N
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    * ], p/ V  k* B; X
  165. : y2 w3 t1 T0 k: n4 T7 f
  166. ; variables_order. j  i+ `4 g4 v9 U  x, `
  167. ;   Default Value: "EGPCS"# z, w+ B- [. K9 n; P5 u. _
  168. ;   Development Value: "GPCS"& @% i+ W2 P1 t2 A: ?" U  S0 b
  169. ;   Production Value: "GPCS"# ]  ~  E9 m! f3 v/ y# a8 U

  170. 5 `, a0 a1 H: A- p6 J+ r, g2 z8 H
  171. ;;;;;;;;;;;;;;;;;;;;
    " a$ ~! T" M7 }% |" t+ v2 O1 x8 Z
  172. ; php.ini Options  ;/ c6 {+ d5 [+ A: B: A( o
  173. ;;;;;;;;;;;;;;;;;;;;8 ^( J2 W. b8 K
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    5 B0 X9 l+ f+ U0 J
  175. ;user_ini.filename = ".user.ini"
    $ j. ]- |  A& S* T4 r
  176. - }" q1 W% }; X0 ~  [# @
  177. ; To disable this feature set this option to empty value& Q$ e! E: C. ]- Y$ w5 ~
  178. ;user_ini.filename =* o1 V: \+ V* o+ @$ V0 ^" k
  179. 4 ~# f0 X7 i" `8 B: `8 M
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)6 j& z0 ^/ C9 [2 w
  181. ;user_ini.cache_ttl = 300
    , t# d: e7 G, f+ u

  182. % [" }4 Z$ A, ~( c+ t
  183. ;;;;;;;;;;;;;;;;;;;;
    6 `" h6 p0 D( ~! K1 e/ \
  184. ; Language Options ;5 a! q8 |5 U/ {# G& G9 A# H
  185. ;;;;;;;;;;;;;;;;;;;;/ a# w& \# K( L8 \

  186. * a# [$ ]- O# h3 x: {8 X; T5 T4 L% m
  187. ; Enable the PHP scripting language engine under Apache.9 U5 V' E. y; G
  188. ; http://php.net/engine
      j; B  [" Q# s6 C
  189. engine = On
    ! B; Y4 K7 C) ?7 q$ D) d4 y

  190. * f4 q( q# t0 q9 I  Z6 ^$ I
  191. ; This directive determines whether or not PHP will recognize code between
    0 q( H2 e4 Z; z, c/ d1 ~
  192. ; <? and ?> tags as PHP source which should be processed as such. It is  Z  D$ g4 l% v9 Z
  193. ; generally recommended that <?php and ?> should be used and that this feature
    5 b! c7 D3 k' t; z
  194. ; should be disabled, as enabling it may result in issues when generating XML& y' m" p( q  _. T% {9 {( S: A4 R
  195. ; documents, however this remains supported for backward compatibility reasons.1 w. J7 e6 V* P9 k- H  h. `2 J5 [
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    : d8 X4 }4 G. f8 Q" e9 b
  197. ; used regardless of this directive.
    $ i  C) Z5 t) e2 Y  L6 O
  198. ; Default Value: On
    5 y, x2 X. }) @2 F% G/ I
  199. ; Development Value: Off
    ! D! I, H. _2 K; @9 }: q, |
  200. ; Production Value: Off5 O. N  r, q% J; ^
  201. ; http://php.net/short-open-tag# X  S# i7 N9 J6 ~0 C1 F5 t' h
  202. short_open_tag = On
    6 g& T5 X( i- l5 ?6 J
  203. ( }/ _4 ]0 G& g2 k. j
  204. ; Allow ASP-style <% %> tags.
    " Z+ ~5 f8 m7 ~* p% Y* w6 D. w3 Q8 u
  205. ; http://php.net/asp-tags
    ) z9 A! `2 ^2 \- H
  206. asp_tags = Off
    7 l& x5 f5 k; t4 P5 ?

  207. 1 R, w8 A3 O! q
  208. ; The number of significant digits displayed in floating point numbers.
    2 d( g* `6 _# c: x1 _: i4 W" [3 V
  209. ; http://php.net/precision$ s( W* J4 Y. x  W' U: ~' [: ]* c
  210. precision = 14
    1 Y. r) Y, @9 C4 F' u0 _
  211. % Q; r6 r+ T0 v
  212. ; Output buffering is a mechanism for controlling how much output data. R- j' a, w* ~1 i
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    : E) t1 Q8 [5 X1 M
  214. ; data to the client. If your application's output exceeds this setting, PHP
    - Y; }& p2 E% W* e& [$ H
  215. ; will send that data in chunks of roughly the size you specify.
    / g- y& Z0 Z/ m/ L" V
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    0 N  W" [" f/ j0 K8 P
  217. ; interesting side-effects depending on your application and web server.
    0 ]3 V! M" M7 O+ w" ^# Z2 F$ r
  218. ; You may be able to send headers and cookies after you've already sent output
    & @2 b9 b1 h2 V. [8 y
  219. ; through print or echo. You also may see performance benefits if your server is8 V; J5 |. E. @5 s) p* s
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    . I' x( x: J/ z2 p
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    , g# ~$ d4 J6 m3 X/ g* G
  222. ; reasons.3 M9 H2 I& A" c- |
  223. ; Note: Output buffering can also be controlled via Output Buffering Control* j$ {. d* b, l" ?! f
  224. ;   functions.
    ! }+ C! I  Y+ n1 ?9 E
  225. ; Possible Values:% }% \5 a; G5 P" R, E. v
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)( `  B( R/ U! j. i& k# n; u# H1 o
  227. ;   Off = Disabled" i" Y6 W2 b& }! S. Y4 V4 M$ w( p
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.& `7 _$ C8 }8 p2 ^7 r# `: p
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI" s. O2 N9 Y- ~
  230. ; Default Value: Off4 Y# V% p# d' B" Z- o( [6 r
  231. ; Development Value: 4096
    / k; k1 t! P$ n% l- D- v: p
  232. ; Production Value: 40967 O0 m, b4 Q; b# L
  233. ; http://php.net/output-buffering6 x0 P! V0 o' S* u( n, a
  234. output_buffering = 4096
    * O, d  k0 \& M( d7 n

  235. ) ^( k' @* M- g! V% z& {, L/ D1 ]
  236. ; You can redirect all of the output of your scripts to a function.  For
    ' f/ u# q: W* W& h2 r2 W% j5 h
  237. ; example, if you set output_handler to "mb_output_handler", character
    9 m5 \" i" I! i# b& R' A6 ^
  238. ; encoding will be transparently converted to the specified encoding.
    " x9 @( c/ L6 y4 ?, s) A
  239. ; Setting any output handler automatically turns on output buffering.
    , X" f1 {! ?# s! Y6 ^
  240. ; Note: People who wrote portable scripts should not depend on this ini! o; }! s, P; E* V; \5 b/ p* {* S9 R
  241. ;   directive. Instead, explicitly set the output handler using ob_start().+ j3 V% t, u4 C7 d7 F4 l) q2 V6 O" Y
  242. ;   Using this ini directive may cause problems unless you know what script+ ]% K1 S: _7 H. |
  243. ;   is doing.
    ! M5 X5 V9 O& M9 g* |
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler", e& a8 r/ u& D7 K2 D* l
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".' O$ F( A, {; m; u% X$ w& X3 T+ d
  246. ; Note: output_handler must be empty if this is set 'On' !!!!+ c6 w3 h: D" O; g/ K. u
  247. ;   Instead you must use zlib.output_handler.
    8 t  y5 G' l3 S/ b; Y# J% I
  248. ; http://php.net/output-handler% Q1 `( |5 x% d# E2 H4 g7 e
  249. ;output_handler =
    3 H% r8 `+ F# L  b# S3 k

  250. % o. e' R* w/ M; t& r; O
  251. ; Transparent output compression using the zlib library$ u6 q9 L) ^" h  v) j& M' V8 H4 I
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    # T2 M2 y" K/ v  |
  253. ; to be used for compression (default is 4KB)
    + `6 f! F& e; z* J0 F" `
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP) k) r/ O8 Y9 Y9 v- k* g/ r- D& y+ W+ F
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    . E" I. _# _/ O
  256. ;   compression. If you prefer a larger chunk size for better
    ( S5 Q) u0 q& V- j! `
  257. ;   performance, enable output_buffering in addition.
    . X" D( v/ ^9 f# m/ f
  258. ; Note: You need to use zlib.output_handler instead of the standard- W3 W, C" f) O
  259. ;   output_handler, or otherwise the output will be corrupted.! E4 }& E  e* g& ^* i6 B$ G" d
  260. ; http://php.net/zlib.output-compression9 ?; P/ \' p( `( f
  261. zlib.output_compression = Off0 x% q* n9 c* }, J" v$ O5 N2 i
  262. 9 g9 I: a; ?5 Z3 I, E) p  [: _
  263. ; http://php.net/zlib.output-compression-level
    " N: P% A& V! D- `% ?% [
  264. ;zlib.output_compression_level = -1: R+ [) H  K3 o3 [, {/ s2 m* w1 y

  265.   I: l- X  ?5 T& H9 K& F$ r
  266. ; You cannot specify additional output handlers if zlib.output_compression
    , M+ S/ H( G/ \; j/ F, \
  267. ; is activated here. This setting does the same as output_handler but in9 [- D: S& ^3 w6 i  i) `
  268. ; a different order.. g) E; q3 j0 T" r
  269. ; http://php.net/zlib.output-handler
    $ L' o7 [& U) i/ Q6 H) h
  270. ;zlib.output_handler =
    4 H' W8 w& M4 k" R

  271. 6 `8 ~; v, T2 P3 q: S% F" ]0 h
  272. ; Implicit flush tells PHP to tell the output layer to flush itself2 b; k  k! g% G- g8 c
  273. ; automatically after every output block.  This is equivalent to calling the5 E) d9 @5 |! |  y
  274. ; PHP function flush() after each and every call to print() or echo() and each
    * n8 ~# u+ v7 g# C5 \; P
  275. ; and every HTML block.  Turning this option on has serious performance
    7 p  t  w" c* ^
  276. ; implications and is generally recommended for debugging purposes only.
    * {5 J# H5 ?3 S7 \7 r$ l( C
  277. ; http://php.net/implicit-flush- Y/ y1 B, W+ B% }3 j& C
  278. ; Note: This directive is hardcoded to On for the CLI SAPI3 E* F5 F& i4 Z) I
  279. implicit_flush = Off
    + ]) b9 _. `' z- z9 K
  280. % ^& j( q! P- {& |
  281. ; The unserialize callback function will be called (with the undefined class'
    % H( j$ b) t8 A, u  j
  282. ; name as parameter), if the unserializer finds an undefined class, ?2 x  T0 ]: x: ]$ M8 m
  283. ; which should be instantiated. A warning appears if the specified function is
      A# q8 }( u. M
  284. ; not defined, or if the function doesn't include/implement the missing class.
    - h0 R1 j: \9 A8 T" _6 K, V
  285. ; So only set this entry, if you really want to implement such a/ S7 |0 v; j- L* n& y/ S
  286. ; callback-function.
    1 t' X4 @3 Q: \  a5 o8 S
  287. unserialize_callback_func =8 x1 F& R# y5 X8 _7 S

  288. ) V4 c5 C- e6 K( D& u  b
  289. ; When floats & doubles are serialized store serialize_precision significant8 h3 F3 o; h) r7 E. L7 l; M5 L
  290. ; digits after the floating point. The default value ensures that when floats% p1 O& I2 g+ u* G& I9 T
  291. ; are decoded with unserialize, the data will remain the same.8 N' t8 M) o" W2 n8 w
  292. serialize_precision = 17* V! ?0 Z" w* E6 |) I# W
  293. $ D' K3 P) G& Y) P3 ?5 ]. f0 b* T
  294. ; open_basedir, if set, limits all file operations to the defined directory9 {5 |) ~2 i" U" B% F
  295. ; and below.  This directive makes most sense if used in a per-directory
    2 {9 ]. B$ @) t+ A* a! X  f
  296. ; or per-virtualhost web server configuration file.5 F' T, U0 ?$ r% ]6 W
  297. ; http://php.net/open-basedir
      o/ C$ }! b! L* @4 q/ x0 D0 k
  298. ;open_basedir =
    : d& a- l# X& x( g

  299. * h! ^$ o  i/ a- h7 ]3 r* ?2 x
  300. ; This directive allows you to disable certain functions for security reasons.4 N; e7 R; ~4 U7 k5 i6 _
  301. ; It receives a comma-delimited list of function names.5 T; l0 Z* p6 m, K  P: D
  302. ; http://php.net/disable-functions, k" X6 a! }! k
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru* v  p1 w# }# Y3 ?

  304. 0 V! o+ D' p. w1 N1 d% l% r
  305. ; This directive allows you to disable certain classes for security reasons.
    $ Z# R/ L% G3 F' ~
  306. ; It receives a comma-delimited list of class names.
    , w+ A/ Q5 W. o  t- W9 N4 t
  307. ; http://php.net/disable-classes8 `  w" w* |& o, ?/ g! h
  308. disable_classes =: ~* \  Z- \2 P7 _
  309. * }- j* d" d! h5 i6 M3 i9 W
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in5 o# A, s% X, u: o3 H1 K+ R& k- z# _
  311. ; <span style="color: ???????"> would work.
    1 G$ {% F4 b+ S  L+ F, E' D) K
  312. ; http://php.net/syntax-highlighting0 D! s3 |8 ~) R5 Q$ }! V
  313. ;highlight.string  = #DD0000
    ) |2 f! ], S/ a1 P) w. Y! h& j
  314. ;highlight.comment = #FF9900  ^# |# D3 O5 e; w( H; p4 n8 P
  315. ;highlight.keyword = #007700
    # x/ q  z1 B& c3 g
  316. ;highlight.default = #0000BB8 u' q8 I$ [# V. v5 L% k
  317. ;highlight.html    = #0000005 Z2 M+ z. P: c8 X% n  r

  318. 4 e& W  q# e4 R; b
  319. ; If enabled, the request will be allowed to complete even if the user aborts
      b& U% O2 [* m- I" y/ I5 o! T
  320. ; the request. Consider enabling it if executing long requests, which may end up
    ) g' p& t2 `& P2 a) \
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    & V: e+ _+ a& J2 g
  322. ; is to disable this feature.0 b8 @$ b% [+ N( g( Q0 f, }
  323. ; http://php.net/ignore-user-abort/ J, C# o5 H4 H+ @8 [+ p7 P
  324. ;ignore_user_abort = On
    ' u* j3 q) B$ Q) F# V" u

  325. , d) k, N' Q0 X$ h( S
  326. ; Determines the size of the realpath cache to be used by PHP. This value should: y7 J: t& m- [7 w% Z
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    1 i  f/ X7 P2 r
  328. ; the file operations performed.+ `" K6 @( x  J  t4 X  K
  329. ; http://php.net/realpath-cache-size1 m5 u" P) W  P# M) y
  330. ;realpath_cache_size = 16k  [3 f1 ]( H+ |: y: G: m' ]
  331. , {" S9 a# a0 F7 V; t. k# C
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    , ~, a6 @. C2 O; \& z8 V
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    5 t( y$ W' v% x3 [& Q8 W
  334. ; value.
    / {: E" r7 J% ^* m0 V) B
  335. ; http://php.net/realpath-cache-ttl0 R% I9 U* O3 n
  336. ;realpath_cache_ttl = 120
    % K* }- C# H9 d* u3 J
  337. " _! {( {- F/ k! F2 b
  338. ; Enables or disables the circular reference collector.2 p, I; ~& d: n. w. D
  339. ; http://php.net/zend.enable-gc$ H3 O9 e( Y4 E* f6 R
  340. zend.enable_gc = On; A0 q2 d6 W. k: p& M
  341. * G, r* a+ D$ s( D2 f
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    8 A& ], K% \; p6 F; e' h
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    6 G: L. p) k, D  q
  344. ; encodings.  To use this feature, mbstring extension must be enabled.- ?# e3 h6 k4 [5 f9 T6 R; i
  345. ; Default: Off" i5 L2 x8 r- {+ k6 ~5 s% C
  346. ;zend.multibyte = Off4 Y- S- b' f8 D; _$ l2 W: t; T
  347. ! |, J. C- `& n# m: x7 k$ U
  348. ; Allows to set the default encoding for the scripts.  This value will be used1 ~0 Q& J6 B( e- f6 S" @
  349. ; unless "declare(encoding=...)" directive appears at the top of the script./ b, M1 U5 p! Z3 @! r! G6 v
  350. ; Only affects if zend.multibyte is set.
    3 B' Y' X$ _& R/ ?$ _/ Z$ f
  351. ; Default: ""
    # C; B6 B/ W3 f) o' i% k- |
  352. ;zend.script_encoding =7 S' D9 Q3 J$ }2 n/ W9 _

  353.   D% I  t/ V" m( A% o
  354. ;;;;;;;;;;;;;;;;;4 }  i, p+ K" `( c) {
  355. ; Miscellaneous ;& A+ w4 K4 E+ S1 Z! Z
  356. ;;;;;;;;;;;;;;;;;: X& e/ h7 d' ^
  357. ; J' _+ |" h. z1 n* C
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    7 _( T; f# }" Y* i7 x5 [
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    0 ?9 |: k  O& z" ?$ c1 D
  360. ; threat in any way, but it makes it possible to determine whether you use PHP/ n; _7 }! H4 q9 }$ O
  361. ; on your server or not.* r6 V3 m# k, X
  362. ; http://php.net/expose-php
    - S6 n' ]' s! g, e1 h% M( ~
  363. expose_php = On
    . o2 F; Y* U4 T; a* I3 w1 J
  364. ' K5 J" z+ w- a7 l4 W) v' U, g
  365. ;;;;;;;;;;;;;;;;;;;5 W4 R, {/ t! I( `
  366. ; Resource Limits ;" b9 i7 J3 e- E8 F8 n
  367. ;;;;;;;;;;;;;;;;;;;8 o, |( |/ P( d( Y; u& n! D

  368. 5 ~9 p. L6 e3 F) I0 s, W' ]# F
  369. ; Maximum execution time of each script, in seconds7 L2 b! K0 [: G7 F
  370. ; http://php.net/max-execution-time7 v( e0 u0 T  X# I2 g
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    & {9 u" j0 B# v3 V' f2 n. W2 k
  372. max_execution_time = 300
    ! Q' H& O, }0 ~' H* r( c( L4 l
  373. # d: k( s! D, y" l$ u
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    * j, q9 u: y/ ]! h( P) n) H& L1 ]
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly6 [, `( g0 p% _4 F. T  C
  376. ; long running scripts.
    % \2 |& s7 E0 `- p, W  H
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI1 x4 c0 l' ]+ ]1 d8 |( w
  378. ; Default Value: -1 (Unlimited)! m1 `: Q3 ?" ]4 M6 }. i( h+ p
  379. ; Development Value: 60 (60 seconds)8 v, x; w. y+ C8 [4 r0 d' m4 k
  380. ; Production Value: 60 (60 seconds)
    % }- |9 J7 M8 ~' z8 g; e  S
  381. ; http://php.net/max-input-time
    # i/ H8 |% u! X2 l1 o
  382. max_input_time = 60: F3 ~* P" o8 x+ O/ b5 B9 J

  383. + |- Y6 m: Y. L. H) m
  384. ; Maximum input variable nesting level5 \' o+ s, e. z' [% b1 `
  385. ; http://php.net/max-input-nesting-level7 A" ~2 Y# X4 b! P
  386. ;max_input_nesting_level = 64% U' [: c- b4 t1 }* @& Z# g+ D
  387. + N! ~: j) {+ r
  388. ; How many GET/POST/COOKIE input variables may be accepted
    % q6 _: _8 {, ~; H) ?
  389. ; max_input_vars = 1000
    : n3 c" U2 n! o* F8 h! O
  390. ) t5 N# ~! B: b# O! }
  391. ; Maximum amount of memory a script may consume (128MB)
    8 U$ }! v* G. L. G8 }" R
  392. ; http://php.net/memory-limit
    , L" M0 a5 e% O6 R
  393. memory_limit = 128M" a8 U: N4 Y/ l& {
  394. - \/ i# a9 y4 l# q, q0 }
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;" O8 V; @  n! g9 A. B7 [3 b
  396. ; Error handling and logging ;" L/ K( o( ^  L
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;* S/ N# I7 m7 T( _7 T

  398. $ t9 W8 y5 O. f- _" s
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    6 ]9 ?* D$ a. v8 t& ?
  400. ; it to take action for. The recommended way of setting values for this
    ( `6 W# J2 n$ X  l' j) T2 L( D$ K
  401. ; directive is through the use of the error level constants and bitwise! U4 }+ m( Z- i2 F1 K7 s
  402. ; operators. The error level constants are below here for convenience as well as7 B& @5 X! V/ C2 q  P0 [  m
  403. ; some common settings and their meanings.
    4 J. \0 @. l$ F8 J: p
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    0 p9 L( {/ W: W9 R. K+ L- @
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and, r1 l, Q( I1 i. p, c! X
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    $ @4 ]) l' U& C! t0 Q; H5 w  O5 ~- c
  407. ; recommend error reporting setting. Your production server shouldn't be wasting7 w/ b3 @: `6 U$ L8 I$ J
  408. ; resources complaining about best practices and coding standards. That's what
    . L- }( C1 B# g" b: ^/ s2 Q
  409. ; development servers and development settings are for.& z( N( I2 e  f3 E# ~% l1 K
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    ) Y" f8 M) N, K( d$ W7 l. Q$ S
  411. ; means it pretty much reports everything which is exactly what you want during* f. [6 {! l# a+ A* a6 D+ m' }
  412. ; development and early testing.2 y/ Y' a2 w' X/ N+ a) j
  413. ;7 V0 ]5 q5 r" \) M  u
  414. ; Error Level Constants:
    8 V" v7 y- |# W% N- x
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    2 x9 I+ K' ^9 ~0 d3 |
  416. ; E_ERROR           - fatal run-time errors
    ) \" w/ A- o- o& K. Y
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    - ^% K) c' n9 N/ [
  418. ; E_WARNING         - run-time warnings (non-fatal errors)* Z, _. |. @/ m+ {: C
  419. ; E_PARSE           - compile-time parse errors3 [1 n4 `  V* q5 K
  420. ; E_NOTICE          - run-time notices (these are warnings which often result6 Z/ q2 K9 Z, E1 p
  421. ;                     from a bug in your code, but it's possible that it was3 e: `- d+ c) N) W5 F* E
  422. ;                     intentional (e.g., using an uninitialized variable and+ ]$ [8 Q$ U% w0 Q
  423. ;                     relying on the fact it is automatically initialized to an5 _1 a8 N' m1 U
  424. ;                     empty string)
    6 q) ]( t/ Z9 C" {! \
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    ) @( g7 w. D; z0 t0 I% S
  426. ;                     to your code which will ensure the best interoperability# z" U% K' D' g0 P. H  ~# }6 `7 |
  427. ;                     and forward compatibility of your code4 K' G" A) I4 c1 ^: Q" B, R: a
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup" @: |7 L  ~1 E' W; u
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's0 R; W9 o4 {) V- R1 V' i. i# ?. B$ H
  430. ;                     initial startup
    9 c, S  Z# [; A: }& D
  431. ; E_COMPILE_ERROR   - fatal compile-time errors9 D; M/ T% W. Y  f1 z. A6 N. @
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    : d+ y6 I+ N2 \1 {8 k, m
  433. ; E_USER_ERROR      - user-generated error message
    ' F4 P* F4 S  B& J8 r: J6 T
  434. ; E_USER_WARNING    - user-generated warning message
    1 L9 V: o+ b9 _3 k
  435. ; E_USER_NOTICE     - user-generated notice message  H% ~4 D* E$ W4 {, P. N" R
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    ; c5 z: _. ^% J1 r) n  l1 W
  437. ;                     of PHP
    ) W3 e; J& ]2 x7 C- P, a
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings( R2 u  L: K/ K
  439. ;
    * {  `: n5 K4 [* o7 M7 U
  440. ; Common Values:0 x% _' K+ O9 h! X( ~
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)% V, M- Q/ h4 e. [
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)7 U$ `3 O8 H0 C7 E6 b! I
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    % z4 s  b- Y& \* J$ y/ ?7 q
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    : H7 {* _! |& L1 l3 }3 |+ G
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    0 `8 ^& W( A8 ~7 }( U  V
  446. ; Development Value: E_ALL( N6 f2 @2 M. b9 e% G
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    & `/ I8 Q  u( k/ k. h! E
  448. ; http://php.net/error-reporting$ B8 l( J# u3 Q4 S
  449. error_reporting = E_ALL & ~E_NOTICE3 ~1 V, f7 ~" f8 Y% a1 x
  450. 3 k* z) b! ?! c( E% ^6 ^
  451. ; This directive controls whether or not and where PHP will output errors,
    ; B+ F( C7 m- [1 u! S9 ^/ c
  452. ; notices and warnings too. Error output is very useful during development, but
    " a7 y1 W$ D  D/ }6 t# r/ V
  453. ; it could be very dangerous in production environments. Depending on the code! v& J( S5 @. @9 ]# Z) O7 {# t
  454. ; which is triggering the error, sensitive information could potentially leak( T; u- _6 m0 c, f$ i
  455. ; out of your application such as database usernames and passwords or worse.- [1 U+ \0 S* L4 a+ Q# [
  456. ; For production environments, we recommend logging errors rather than2 f+ s& H: q. m) f3 n
  457. ; sending them to STDOUT.
    / z/ h" v5 @+ J- t( P* P9 n6 f0 r. Q
  458. ; Possible Values:. q6 J) @8 j3 C% n, z/ o" T
  459. ;   Off = Do not display any errors4 b2 ~! p# f8 G1 i! Y+ b. d& g
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)+ W* K; M' J" w
  461. ;   On or stdout = Display errors to STDOUT
    ! T# N6 g( }$ _& A" W( d5 E
  462. ; Default Value: On
    - a: J! q" _1 D$ J  E3 `
  463. ; Development Value: On
    . v! I/ k8 H# |9 e
  464. ; Production Value: Off2 y! w' _4 L0 Q7 ?( }% d
  465. ; http://php.net/display-errors/ A4 X9 S* t0 Z. ?
  466. display_errors = On
    7 o$ L0 ?& Y0 {5 c- h

  467. ; ~" H( T% g' l0 }+ P
  468. ; The display of errors which occur during PHP's startup sequence are handled6 i1 b  S+ B% r6 _5 k& U! g  x4 {
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    $ F4 n1 w3 i4 W) c0 S2 V
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    3 Y- D, g1 k% W, }& S
  471. ; debugging configuration problems. We strongly recommend you' \4 O# A2 G2 t/ g; }! E
  472. ; set this to 'off' for production servers.
    , f5 S3 n7 l; m5 f4 v
  473. ; Default Value: Off# _1 c' J% D2 {- x. _8 i2 n
  474. ; Development Value: On
      h4 z4 N7 @3 b8 A4 J& N
  475. ; Production Value: Off
    ; e% H+ Q; ?9 Z* [" b
  476. ; http://php.net/display-startup-errors) u+ C& w; v1 F2 u( b8 s
  477. display_startup_errors = Off
    0 T7 `% k+ q3 }/ |4 B8 V

  478. 7 w3 v2 X% C( y, w% Y
  479. ; Besides displaying errors, PHP can also log errors to locations such as a: P8 {- A* Q( u7 V9 ]. p$ Y& z$ u
  480. ; server-specific log, STDERR, or a location specified by the error_log1 V9 v  E8 j* P6 t9 C4 X! T: V; u
  481. ; directive found below. While errors should not be displayed on productions# u# X9 ]+ g8 |2 r4 `$ F& `
  482. ; servers they should still be monitored and logging is a great way to do that.$ U# c# a! j6 m- `. o( V! n4 W
  483. ; Default Value: Off! [: }* C7 U5 T! P9 d
  484. ; Development Value: On
    # {  f2 F, s8 D7 Y8 G+ M! s2 d" D
  485. ; Production Value: On# _% n2 e8 [+ s3 j: J; Y( o% ]
  486. ; http://php.net/log-errors2 H7 u$ Z" I/ I3 M7 P
  487. log_errors = On
    + T) e/ C2 B/ x0 q% L) I( v+ k

  488. ; N: h2 c" u" n( P: Q' r3 ?- s
  489. ; Set maximum length of log_errors. In error_log information about the source is
    # a5 y+ N/ w7 Y' A" r/ H; y
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.! [& S7 N& P; g( Q4 C: t1 [) M2 L# s
  491. ; http://php.net/log-errors-max-len
    # n9 N% l4 e6 S  k, ?
  492. log_errors_max_len = 1024% M5 B6 ~0 E+ _' i6 ]$ ^1 D7 d# D

  493. ' X+ m2 X# p5 _! C+ q
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same1 y' R. d$ Y* t. c6 {* r
  495. ; line unless ignore_repeated_source is set true.
    - E, Z- S; J9 v; L& c/ A
  496. ; http://php.net/ignore-repeated-errors6 e& D9 ]# O. P. `! q( x* [
  497. ignore_repeated_errors = Off
    ) o( C' a( ?% X( ~
  498. & Z; p6 i3 C; w6 J9 d
  499. ; Ignore source of message when ignoring repeated messages. When this setting5 ^% U, S/ b: b. |' u- A; ^" p# O
  500. ; is On you will not log errors with repeated messages from different files or& C3 b9 C1 o8 V( [# e7 U& ?
  501. ; source lines.
      K& q: I9 N: Q' D% z9 ]
  502. ; http://php.net/ignore-repeated-source( y  O, L1 J1 n. F5 I
  503. ignore_repeated_source = Off4 c) i( o) x9 M
  504. 3 I8 X: Y# n) z7 O5 a3 I5 K
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    ; x% C, E6 \7 Y: s: Y$ ~6 x
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    ! M3 k) l3 @( E1 Y, \& a+ k
  507. ; error reporting includes E_WARNING in the allowed list
    % z: f" W9 [( G' N1 \, W9 d8 k
  508. ; http://php.net/report-memleaks2 f" R! J- J8 P$ k) e! h; M8 z
  509. report_memleaks = On0 c  h, u: A! x

  510. ' ~$ P. \( h# I
  511. ; This setting is on by default.8 N& K# U/ X% p- k; k( I
  512. ;report_zend_debug = 0  o) J2 F) a5 M6 N! e) O
  513. ; d) y1 P* K4 B1 K6 N' |. j/ W% i
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    & V! M- m/ y( j: U7 d5 `
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    ) n; h) }+ _: V& B
  516. ; however be disabled on production servers.( ]* Y& w& w4 v+ ^5 {& r, X& t
  517. ; Default Value: Off# {4 t2 Y' n. E  {) M8 W4 e
  518. ; Development Value: On/ }' J# V. J1 R( ^8 H( S: q
  519. ; Production Value: Off9 k) y+ {/ h( F' S* M
  520. ; http://php.net/track-errors
    : C, t2 a* m% D6 n' R
  521. track_errors = Off
    * @6 @+ r/ j: x( {! a- E" ?* F0 g
  522. . d) b0 G8 [4 ?4 C
  523. ; Turn off normal error reporting and emit XML-RPC error XML# q0 L# U7 @: |
  524. ; http://php.net/xmlrpc-errors* h: {+ j. _# ~  v! P4 s5 ^# K8 g
  525. ;xmlrpc_errors = 0
      y" q( b0 Z$ U/ S; i

  526. * {& v" ^5 J; ?2 H* t# b+ m/ ^
  527. ; An XML-RPC faultCode/ }' B# K% G$ `. B. e8 I
  528. ;xmlrpc_error_number = 0
    ! ]8 [. }/ H5 d# o+ C

  529. : s  E, V, F9 F  {
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    7 Q0 [) `% _/ u$ J: M
  531. ; error message as HTML for easier reading. This directive controls whether  V" c1 @1 i1 X+ ~/ p6 }& w4 E
  532. ; the error message is formatted as HTML or not.) f- i$ E# G1 M6 z
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    / N+ T" K0 M2 b4 G& J! A* v
  534. ; Default Value: On# G1 Y2 X8 E7 z& S! |- [! r
  535. ; Development Value: On
    4 e) i$ V9 l0 N% a. z' ^
  536. ; Production value: On
    ' ]8 I5 T$ n! I% L  h$ P
  537. ; http://php.net/html-errors; e" ~5 u, S8 S) a) h( j' H0 s3 P: I
  538. html_errors = On
    / @8 W" N8 T9 n! \
  539. ' z- Z+ J1 K1 j0 A
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP( c% w# T/ _4 b$ n( d' X3 [3 z
  541. ; produces clickable error messages that direct to a page describing the error
    / e( ]0 W; F$ M* S
  542. ; or function causing the error in detail.
    4 G  v7 I1 @! K, u. M5 \
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    # |1 t. N5 \% Q* v
  544. ; and change docref_root to the base URL of your local copy including the# x: F4 l# ~& T
  545. ; leading '/'. You must also specify the file extension being used including! s2 B! n+ }+ d: x* N/ O% r# u
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which% m, p* n$ m9 a0 v) O8 V; ?* I
  547. ; case no links to documentation are generated.  S5 Z+ z6 z- N1 F5 X4 X9 u/ o
  548. ; Note: Never use this feature for production boxes.
    + F* [3 v4 G, E3 S  {* a; @+ d
  549. ; http://php.net/docref-root& V  ?! H' ~. _2 v  E
  550. ; Examples$ U" m; W: ^9 N" z. W; e+ p: ~
  551. ;docref_root = "/phpmanual/"
    7 h, x; a9 Y' |4 K

  552. - {+ R0 V2 L1 O8 z- h0 P
  553. ; http://php.net/docref-ext
    , V( E, ^5 L; z6 s% e
  554. ;docref_ext = .html7 K- v& Z0 K  r. w8 O

  555. : j4 _- p: p. L, K# T
  556. ; String to output before an error message. PHP's default behavior is to leave
    : c- d- m, Q- P+ o* R$ `! ?
  557. ; this setting blank./ O6 U7 Y5 l; M; {, O( Q- v, w
  558. ; http://php.net/error-prepend-string
    - j) l" n& q1 @/ N) n
  559. ; Example:
    6 B) _/ Y" F* V
  560. ;error_prepend_string = "<span style='color: #ff0000'>"0 S; G& O9 x" A

  561. + L2 f4 r/ \" ?# I
  562. ; String to output after an error message. PHP's default behavior is to leave' O8 X% A3 m1 @. B9 Q
  563. ; this setting blank.
    7 o) ?$ f, G4 o7 }2 R' w5 q* u5 ^
  564. ; http://php.net/error-append-string" \. T' @3 z- H
  565. ; Example:% {6 j8 C3 r5 z  V6 g
  566. ;error_append_string = "</span>"* w* |3 W. W2 d. c' y

  567. " m  j& b2 H- k! w% e* S/ m2 e
  568. ; Log errors to specified file. PHP's default behavior is to leave this value: v2 ?" G- r$ m, ?
  569. ; empty.& ~: |# R8 C0 e3 s/ S; Y2 s
  570. ; http://php.net/error-log
    . D( G8 h+ W  [+ t$ n" G
  571. ; Example:9 F) X3 g6 m' ~7 S5 Y7 i
  572. ;error_log = php_errors.log9 Q- m5 u8 M8 a% a  _/ \
  573. ; Log errors to syslog (Event Log on Windows).6 Z" j, I$ q1 g  ]( o( T8 @
  574. ;error_log = syslog5 M/ q2 Q& s, `$ @
  575. / f/ _$ m, C6 x5 P0 h! Y* b) V
  576. ;windows.show_crt_warning
    ! M+ y& ~4 O7 L1 c# `
  577. ; Default value: 0
    , r7 ?( I" R% R4 f9 e7 }1 u
  578. ; Development value: 0
    4 `; u! \* r8 o# ]' c; l; O* x+ V7 k
  579. ; Production value: 02 T7 ]& G  ~9 O/ Y4 E

  580. ( K" v( Z  H1 ?7 v7 J  x  {
  581. ;;;;;;;;;;;;;;;;;  C0 M% P( M) w1 ?* |! \0 P
  582. ; Data Handling ;
    ( {; Q' _  M  `4 w* W' s& l/ Q
  583. ;;;;;;;;;;;;;;;;;
    6 l0 N# @5 d5 P! V
  584. : n0 W. o* Q* Q# `. B! Y  j+ c
  585. ; The separator used in PHP generated URLs to separate arguments.$ a5 q! z: p/ U
  586. ; PHP's default setting is "&"./ h& e/ p- C& e9 ~: p1 C' a
  587. ; http://php.net/arg-separator.output
    3 j, a& a# I7 z* d( o* Z$ ?2 T- t
  588. ; Example:4 h% u2 }3 z1 l! y2 y* Q0 K' M" T
  589. ;arg_separator.output = "&amp;"9 q8 j' R# `. ^3 e% `# i/ O, L. y# T

  590. & \, `& ?( y  f# }
  591. ; List of separator(s) used by PHP to parse input URLs into variables.( V7 |# F! y* X% S$ D$ {- R
  592. ; PHP's default setting is "&".
    5 v8 w) B+ j$ ^, U% y
  593. ; NOTE: Every character in this directive is considered as separator!) [) p7 `0 W# ~) F# M- A$ {
  594. ; http://php.net/arg-separator.input+ X1 w7 q& v, z/ n
  595. ; Example:
    ' l& I- J* w/ {* [' e+ c! C
  596. ;arg_separator.input = ";&"
    0 t& E- d1 a, c
  597. " `+ J% ^& m# T  r
  598. ; This directive determines which super global arrays are registered when PHP2 f) @$ H( x2 `* S9 m  ?+ |
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super. v- c; N5 P, W4 N: C
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty: G/ w! l% H3 i' S& f; m
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    + {/ I" k$ B' N, X& m! V4 x$ e
  602. ; used as the others, ENV is not recommended on productions servers. You% r$ k. T( s" z
  603. ; can still get access to the environment variables through getenv() should you
    - o. m+ c4 i# U' ?/ P, v! \' `" B* k, l2 p. ]
  604. ; need to.
    7 s( ]' D8 m. j( z0 }! |
  605. ; Default Value: "EGPCS"
    9 h6 N% ?) g% w; x% d* \+ G
  606. ; Development Value: "GPCS"0 Y3 V' o- ?3 Q/ C% P$ W' z$ G
  607. ; Production Value: "GPCS";( w( m0 m! e- f/ U8 f
  608. ; http://php.net/variables-order4 N% K! l0 |0 }3 n, D5 _
  609. variables_order = "GPCS"
    $ Y: Y* i7 [. x

  610. : \/ ]: @6 R% v
  611. ; This directive determines which super global data (G,P & C) should be
    7 r, N/ ^9 K% |9 H1 `( `
  612. ; registered into the super global array REQUEST. If so, it also determines  J0 E4 u# Q3 H0 |- h" m- E
  613. ; the order in which that data is registered. The values for this directive  H1 G4 B; u$ T6 ~& i
  614. ; are specified in the same manner as the variables_order directive,
    + r' k* _; L$ u6 Z
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    0 G' i3 a4 {# f* N8 t+ Y3 m( u% X4 y/ Z
  616. ; in the variables_order directive. It does not mean it will leave the super
    ! z" @8 R& O" T1 `: m1 [, H( K
  617. ; globals array REQUEST empty.; D, u5 C( X" t( ?9 f( V
  618. ; Default Value: None. E! Y2 g' e  X$ ~
  619. ; Development Value: "GP"
    ' X5 O% q7 e8 n# U& D5 c
  620. ; Production Value: "GP"/ @. G1 S. F9 s( x' ^
  621. ; http://php.net/request-order0 Y3 N2 Y5 y6 x0 y5 Q! i
  622. request_order = "GP"
    5 [' z# u, Z) E* k! \. R# a7 w: `
  623. / r. x6 Y$ a: l  l% O, p  t4 j
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    , U" J% f" O2 P
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    / F8 _, ~/ f3 ]# ~
  626. ; is invoked. $argc contains an integer representing the number of arguments0 x' {7 B4 F6 Z5 K% ?5 C& P/ @7 i
  627. ; that were passed when the script was invoked. These arrays are extremely' F/ i8 m! }1 p5 \) D
  628. ; useful when running scripts from the command line. When this directive is
    # j5 ?# o' W' A, c, Y! ]- ]
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    $ A9 Z, g, i8 a2 u( `- q
  630. ; a script is executed. For performance reasons, this feature should be disabled& {4 n7 c' P9 C1 \
  631. ; on production servers.
    % }0 U* `  M  I# c- b, ~. b
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    ( c$ W" Y0 g. L$ {& Y6 V
  633. ; Default Value: On8 J: O+ f8 `" Q8 T4 S
  634. ; Development Value: Off
    $ @' T' c3 y, ^4 t. ^
  635. ; Production Value: Off
    0 e/ l6 d" `8 H# M( m
  636. ; http://php.net/register-argc-argv; `; D0 M/ s7 i5 Q# B7 G
  637. register_argc_argv = Off
    0 j9 l" s# q0 H* A" z% {) ]

  638. ; p' X6 |$ f* |, c! c" z. W8 C' P
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're) q2 R/ c8 M6 K7 w' `4 I
  640. ; first used (Just In Time) instead of when the script starts. If these
    ! {. |* u- C2 N" @  Y/ s
  641. ; variables are not used within a script, having this directive on will result4 z4 ]8 V0 j; {
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    & j, l' W6 m" u- \- E) }* N
  643. ; for this directive to have any affect.
    ' y' R1 `! n' `$ Q
  644. ; http://php.net/auto-globals-jit" W7 ?/ l3 t' k5 q
  645. auto_globals_jit = On6 h6 B1 U2 w8 B$ b: z

  646. # W- G3 Z3 u6 w# ~! a; h
  647. ; Whether PHP will read the POST data.
    2 i3 Y; \5 |: n1 ]: p+ @
  648. ; This option is enabled by default.+ M' d. {2 d# q7 E' s" d
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST$ e3 m5 y) ^& Y5 b- w
  650. ; and $_FILES to always be empty; the only way you will be able to read the; p) y6 A/ x: i5 f/ g. T
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    ; U3 N: h0 C4 c5 O3 ^& Q
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    ! u  C$ f1 b& K( E0 q, c
  653. ; http://php.net/enable-post-data-reading
    # t1 `3 O) _: c+ R- _, C' Z# Q
  654. ;enable_post_data_reading = Off
    3 E& a) M6 z- [, ]) [+ E

  655. ) V' T% k7 j0 M8 p" I0 a. K# E- r
  656. ; Maximum size of POST data that PHP will accept.
    # ^. w) U$ ^- @0 R6 c2 E: a
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    6 w" \3 T5 o* x% [1 i6 S+ C
  658. ; is disabled through enable_post_data_reading.
    ' X& m6 y6 _9 e2 D; S6 Z3 |* }1 |# w
  659. ; http://php.net/post-max-size
    . j) `' l9 R- ~9 `
  660. post_max_size = 50M4 @- W+ P$ X/ [1 F! a

  661. & X- E+ Z4 ]7 C
  662. ; Automatically add files before PHP document.: |9 N7 G! H/ X+ b2 {( g! J
  663. ; http://php.net/auto-prepend-file* y' ~& Z; [2 p* S% W3 ?, [
  664. auto_prepend_file =* {, C4 H4 r2 g2 D0 l7 S1 ?

  665. ; T+ [3 S8 m% T1 d3 S$ ^: W  w
  666. ; Automatically add files after PHP document.
    ) _3 c; p: c- q2 Y7 S" R* w% N
  667. ; http://php.net/auto-append-file/ M, A' t) A3 I
  668. auto_append_file =
    3 X. n0 d4 S$ c; n) i1 e1 n8 u
  669. ' o1 K5 g; k% l1 l. I2 r5 N1 T7 \
  670. ; By default, PHP will output a media type using the Content-Type header. To
    ! y$ ~: b- j; O2 K4 j
  671. ; disable this, simply set it to be empty.8 S( _7 K5 W! F3 O6 q# ^# L( K
  672. ;
      t$ T- N# ?5 ^- W5 ]5 Z& j
  673. ; PHP's built-in default media type is set to text/html.+ Y- P* e: d- r/ D% e
  674. ; http://php.net/default-mimetype
    / L% S& f: _. N+ \. \1 _3 x
  675. default_mimetype = "text/html"
    / ^2 |- h) A0 n' X& {( V

  676. 9 V" U4 V! P4 {1 C1 J1 O
  677. ; PHP's default character set is set to UTF-8.
    * Z- k7 r7 {( t- D: _0 h! @( O: S
  678. ; http://php.net/default-charset
    ( X1 w- j: w3 `( F% l
  679. default_charset = "UTF-8"' S0 ~! i7 ~; c

  680. & E5 F/ b% P0 B1 p# Q2 x
  681. ; PHP internal character encoding is set to empty.( W. q& b  f* |8 M9 s: N. M$ z
  682. ; If empty, default_charset is used.6 \) ]) ?  f- ]2 u' b) Y
  683. ; http://php.net/internal-encoding9 Q. A4 \, S) A0 r# i
  684. ;internal_encoding =
    3 y0 d4 R; G; R: W+ [
  685. 3 j5 D+ Z5 v( G9 u1 [% f2 J4 Y5 B
  686. ; PHP input character encoding is set to empty.9 W" |# ~: m4 Z5 k4 X# {0 H# L: e
  687. ; If empty, default_charset is used.
    " n* v2 D+ z% L2 r
  688. ; http://php.net/input-encoding% J) C2 I  M/ Q/ M
  689. ;input_encoding =, s; I: A4 j& `- b

  690. + ]8 @7 A2 n0 @3 j1 B' E
  691. ; PHP output character encoding is set to empty.0 k' a9 ?/ l. D: V8 ~- R' i# C
  692. ; If empty, default_charset is used.
    " }- ~. U2 Z+ ]0 c4 i
  693. ; See also output_buffer.3 h5 y' O) H2 m5 G& q1 y/ n/ Q
  694. ; http://php.net/output-encoding
    6 c" A7 e/ t- c3 ~5 I
  695. ;output_encoding =, ?2 C' e& u, e

  696.   f0 q8 u8 @* _9 m% l: U
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    ) }) s) I: b; [9 i" Z
  698. ; to disable this feature and it will be removed in a future version.6 L' X  V9 H1 D$ |5 d% R
  699. ; If post reading is disabled through enable_post_data_reading,
    2 @* s2 B& X5 ^+ H
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    5 K6 Q: N) @% ?1 S% K3 @" m+ l
  701. ; http://php.net/always-populate-raw-post-data: e1 m/ m. `' s' y
  702. ;always_populate_raw_post_data = -16 o% M: P- q2 h

  703. 0 w# O4 e' ?/ I+ j) c
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;1 A$ N, q) Q% \! S- o/ B
  705. ; Paths and Directories ;) {. w: ~- E; Z+ b
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;: ?0 U" K4 r3 n; Q+ c: P
  707. ' M. R8 Y2 T: \/ y3 p
  708. ; UNIX: "/path1:/path2"5 k* y( T1 L# _% l& p- Z
  709. ;include_path = ".:/php/includes"# S0 d' ^5 \) G  W5 L
  710. ;
    ( ^. I4 K! n3 W( @! B' x1 i
  711. ; Windows: "\path1;\path2"
    ' V* I3 L, |% p$ ?
  712. ;include_path = ".;c:\php\includes"
    / H  g  d  X  K. p  |: d% u, f$ f
  713. ;* M* p$ M2 i4 }- K* |! `
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    8 b. r! I' C6 l+ ^: V; Y0 F
  715. ; http://php.net/include-path% s3 y. s# f2 V' \/ u% q
  716.   @' w/ Y& K$ |1 p8 A
  717. ; The root of the PHP pages, used only if nonempty.% k" H4 J$ L1 l8 }
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    1 ~5 V& A5 @& A& Q: e$ f" G, A. n
  719. ; if you are running php as a CGI under any web server (other than IIS)
    9 J( }% C1 x) U) `: Y
  720. ; see documentation for security issues.  The alternate is to use the
    ' E' {7 D7 ~! B9 F  t* A5 ?
  721. ; cgi.force_redirect configuration below" p+ W, k  d  U
  722. ; http://php.net/doc-root0 Q* G% p! M( u5 M9 y
  723. doc_root =' g9 W$ j+ O" C! i& H7 J6 P1 l: g
  724. $ N: D4 p1 y! }2 D; W# o% S" t
  725. ; The directory under which PHP opens the script using /~username used only$ M! F' ~) V- i6 Y7 z0 G& m$ D
  726. ; if nonempty.
    3 w: P8 F7 J/ O) c
  727. ; http://php.net/user-dir# v6 M: B- k% l( V
  728. user_dir =
    ) p* M5 V; O8 w0 y- p
  729. 9 @! z9 n9 E; r1 K0 i& u6 \
  730. ; Directory in which the loadable extensions (modules) reside.
    1 a6 u# U5 R7 T* S# T' u6 V0 U; O
  731. ; http://php.net/extension-dir+ b( T- o* R4 T8 S8 W' e. c1 c
  732. ; extension_dir = "./". }3 w* o- C1 O4 c- z/ I
  733. ; On windows:( A! f# b' I: t7 {8 w) {7 d
  734. ; extension_dir = "ext"+ z; x" Z9 L: d
  735. 6 X; S; V4 {  q# D/ ~  B
  736. ; Directory where the temporary files should be placed.0 ]  W# e2 p" y9 m% k; ?0 y1 w, H) L
  737. ; Defaults to the system default (see sys_get_temp_dir)
    5 C+ M! B: Q" P" f
  738. ; sys_temp_dir = "/tmp", k  I" P8 e2 I- j2 k' a0 {

  739.   B# P6 z! r; {* b( U
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    * N( E! b& V0 ~' R  @9 @3 M+ Y
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically" x) P* I3 b3 k* ~9 C
  742. ; disabled on them.- s& y% a' C: m1 x: v: f6 Q
  743. ; http://php.net/enable-dl
    - C3 b0 M, X6 I& A( k" G
  744. enable_dl = Off
    & B( h" \8 M. W3 B

  745. 6 V5 x4 H7 r% ]  U% E) C
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under4 W. e) @& x: D5 C5 G
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    ) w* K$ _4 J% q- Z4 j
  748. ; turn it off here AT YOUR OWN RISK; T# `2 n* F( }0 b% U& D8 m
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**; b  {+ U3 I! F- G6 N4 {9 B$ _. o
  750. ; http://php.net/cgi.force-redirect
    7 r( b) t% f; e/ q
  751. ;cgi.force_redirect = 1
    8 K# x) r; g8 {% K% h+ I
  752. 7 m( v( G) K5 V9 `; j6 t
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    - J+ g( p& Z) a9 m% Y
  754. ; every request. PHP's default behavior is to disable this feature.4 T7 X: M, ^' \" C/ u
  755. ;cgi.nph = 1& `% L3 z; M( o$ F7 Z6 ]' `8 y0 B  y2 ?
  756. : z9 |2 q1 F3 U0 h  g
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape/ h3 n; j+ G9 T2 n: [
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP+ z2 R7 q7 ~6 V! e2 n$ r& _
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY1 J6 ]# P3 _7 o# s. t- @
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST." O6 [0 U3 Z7 m0 j( r
  761. ; http://php.net/cgi.redirect-status-env
    6 B, N( [4 p) C; T4 _
  762. ;cgi.redirect_status_env =* G  n6 g  a# ]4 o) q0 s

  763. * H4 ~0 m9 v7 j  \9 w+ a$ z" X+ H
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    , s8 e. D- G' P! H5 h7 p1 b
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    % l8 F; k' t3 ~- p/ j9 S8 a) @% |3 q
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting) Z* [7 e) c  H3 x- A: B! n
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting" X7 f* n" M) R; s5 _9 r+ J
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts( N! w4 X3 g' ]( |
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    $ K  D3 Z# N7 Q4 }0 h  F6 W1 h4 X
  770. ; http://php.net/cgi.fix-pathinfo
    & D5 G/ d1 i; ^# W4 b
  771. cgi.fix_pathinfo=1
    5 ^# G% L6 m6 i- {0 m: v
  772. : B5 U9 V! l, w3 @, R7 M
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    4 {+ R" }7 f( ^2 b  O& U6 m
  774. ; of the web tree and people will not be able to circumvent .htaccess security.7 g" A! k; `3 B( W. c% v8 o( S
  775. ; http://php.net/cgi.dicard-path; Q& M  z- f0 r) Q7 `. [, E1 L8 b
  776. ;cgi.discard_path=1
    1 ]. c5 F2 }4 r" b

  777. ( p8 j# N) g6 u, a1 T& {
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate* S  Z  f9 r, r3 e2 c! A2 U/ ~
  779. ; security tokens of the calling client.  This allows IIS to define the
    / s2 j1 {* O" v5 L! {6 g
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    9 Q! {) k9 u# e0 J4 f4 x
  781. ; does not currently support this feature (03/17/2002)( |$ {7 x6 Y: q- O- h; g) ^
  782. ; Set to 1 if running under IIS.  Default is zero.
    0 I: K% Q3 E$ n9 {9 b" v
  783. ; http://php.net/fastcgi.impersonate! |) s( Q5 b2 X  @' y
  784. ;fastcgi.impersonate = 1
    . [  d& W, R  |! ]/ @, n7 q
  785. 9 P2 `  |4 g* N# }( V! @% V
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    * y* y7 z! M/ E$ K9 x9 E
  787. ; this feature.
    " P' A$ Q7 F. e0 }6 ~
  788. ;fastcgi.logging = 03 k, T+ |- x' V6 b

  789. $ Y% j' D& u3 q* i" b0 c! H' }( H
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to( y6 j( l4 a" B# q
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    ' k- g6 ^8 n" ~6 }, p5 v# d
  792. ; is supported by Apache. When this option is set to 1, PHP will send3 l- d9 \) L: ]4 @4 F
  793. ; RFC2616 compliant header.  }; o) x" F0 t- h6 [
  794. ; Default is zero.
    : m# e* \! Q+ V! W6 F: G
  795. ; http://php.net/cgi.rfc2616-headers
    9 K" }% r8 k$ T# T7 o2 ]. F
  796. ;cgi.rfc2616_headers = 0$ F! F5 D% O* X9 ^

  797. ! N" `% r7 D8 V& C' B1 n
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    * i9 ]* o$ V# [
  799. ; (shebang) at the top of the running script. This line might be needed if the* S) x1 `; d4 q
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI9 ]. O. Z2 }" F$ y4 G: g
  801. ; mode skips this line and ignores its content if this directive is turned on.
    6 r6 b1 q1 x5 X7 J7 p( n' d. n
  802. ; http://php.net/cgi.check-shebang-line
    $ l$ L+ e% _/ r5 e3 c3 Y  X+ Z
  803. ;cgi.check_shebang_line=1/ f( _. H  f4 n, Z& x

  804. 0 o" ?; u' |8 r5 q
  805. ;;;;;;;;;;;;;;;;+ P$ z" f* |) X5 ^2 k5 j3 h- ^
  806. ; File Uploads ;9 A8 s: Z+ q, B3 E: Z
  807. ;;;;;;;;;;;;;;;;: Y7 k6 T- w& _, p; I3 V
  808. % V  |3 z* R5 i$ w
  809. ; Whether to allow HTTP file uploads." R  m* Z$ s, m1 B
  810. ; http://php.net/file-uploads: D" E, [4 z1 D$ g
  811. file_uploads = On
    / I$ \  N! X9 T7 U2 h
  812. % w8 h4 d1 M1 {0 o$ J5 T
  813. ; Temporary directory for HTTP uploaded files (will use system default if not- n) x* }& X9 f$ l: V  }) {& i3 B
  814. ; specified).# C4 e% @/ o$ p9 m: v6 |
  815. ; http://php.net/upload-tmp-dir6 L) e# W5 k( t$ q
  816. ;upload_tmp_dir =* H# Y' i/ i5 u5 C* |6 |  N) k

  817. 7 ?- E) I  o4 P& d) X
  818. ; Maximum allowed size for uploaded files.
      l. O( T$ U7 Q8 ?6 T' V+ w; Z* f
  819. ; http://php.net/upload-max-filesize' l0 R- ~0 `8 C$ Z( s* G8 M
  820. upload_max_filesize = 50M5 R1 Z! F" H7 a, s# C3 `9 N

  821. - @: S) ]. s$ i, p& G6 K9 g
  822. ; Maximum number of files that can be uploaded via a single request, k6 y) W1 i+ M: R
  823. max_file_uploads = 208 g" K% y. ~+ O# R/ c- M
  824. 6 T) E9 e1 |2 d/ t; Z5 i( w0 J+ i
  825. ;;;;;;;;;;;;;;;;;;
    + C, ?; e" M5 |0 c6 [$ O8 e
  826. ; Fopen wrappers ;
    * W5 k% I$ N( Z0 a* F
  827. ;;;;;;;;;;;;;;;;;;
    ; C9 I+ t  V! V( ~
  828. + D( ]7 s- ]  U/ `# U5 z. p9 i
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    " {' a. q7 F- _, P* g4 q, N& B9 I; {
  830. ; http://php.net/allow-url-fopen+ ?8 h3 n, D- s' c+ j# D& }
  831. allow_url_fopen = On. H+ L0 f, D7 {$ `" Q
  832. $ ]6 |% h/ @8 Q5 V. L/ \
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.: }8 ]( S+ I* X  o, w8 e
  834. ; http://php.net/allow-url-include
    + _& M" B2 D( v+ ]
  835. allow_url_include = Off
    1 Z) z* ~1 O4 ^# L

  836. 6 B2 k' _. X9 h" G* q
  837. ; Define the anonymous ftp password (your email address). PHP's default setting% \+ e# U. H" P. I' [9 V3 \* n
  838. ; for this is empty.
    4 E) J) j8 c$ J$ W6 j/ b
  839. ; http://php.net/from& b. j* O6 z/ n" }) }
  840. ;from="john@doe.com"+ k5 D1 Z, p! v8 J- O1 m+ u/ X
  841. ; X5 W: n4 {- _
  842. ; Define the User-Agent string. PHP's default setting for this is empty.. U- u6 u# N9 R, b0 B3 e% J
  843. ; http://php.net/user-agent$ m, k& u0 m, [0 E- V
  844. ;user_agent="PHP"+ |! w" g+ a% ?5 D9 ?

  845. 6 S: _' z1 R4 Y' r+ h2 l$ k/ M
  846. ; Default timeout for socket based streams (seconds)6 h( n* y* K9 s+ e. I) j) R, _6 v
  847. ; http://php.net/default-socket-timeout
    3 q& i, s! S; `/ @3 p! y$ D
  848. default_socket_timeout = 60
    " t6 V7 t) |$ _6 t9 I
  849. 5 `+ Z: o6 |, P* M& V" s) y+ k( r
  850. ; If your scripts have to deal with files from Macintosh systems,6 F$ |" D7 N- F2 r0 O* c
  851. ; or you are running on a Mac and need to deal with files from7 p4 u! T* ]; `& r; O6 m
  852. ; unix or win32 systems, setting this flag will cause PHP to6 g8 y7 f, K" D7 c& ^
  853. ; automatically detect the EOL character in those files so that3 w2 I0 N% ]( U& D0 W
  854. ; fgets() and file() will work regardless of the source of the file.
    & u' R5 V& t, U& c2 [- C
  855. ; http://php.net/auto-detect-line-endings4 f  j5 }! }3 j  V
  856. ;auto_detect_line_endings = Off
    + @: W) @9 c  n7 I: {# \

  857. . b7 G9 ~) G/ C# ~
  858. ;;;;;;;;;;;;;;;;;;;;;;4 W, ^% d0 P5 |- ?
  859. ; Dynamic Extensions ;( \* B3 v( w8 i' @9 N4 w
  860. ;;;;;;;;;;;;;;;;;;;;;;
    : G( Y, w6 D% T  d# B& T

  861. : T/ P$ n3 K5 d3 @6 \
  862. ; If you wish to have an extension loaded automatically, use the following, [  ?4 a! Y7 p3 K: `( R
  863. ; syntax:
    , \8 A. ^, ]- g* J5 \7 _+ d1 ~$ [
  864. ;. o' s# a. y! q/ M8 n
  865. ;   extension=modulename.extension- l( i+ O# I  Y1 I; U# I, k$ h9 n
  866. ;! [' Z4 E. e/ \! s1 c7 W2 e
  867. ; For example, on Windows:
    " r0 B7 d/ m0 T! K$ O
  868. ;( J& H; u0 d' {: Y# u2 N* L3 q. A4 Z  H
  869. ;   extension=msql.dll) h. |6 ^/ U3 a% A$ ~) r! b3 K
  870. ;
    & j1 b% m0 {$ Y: q8 r
  871. ; ... or under UNIX:- ?# y7 f3 l; S7 q6 E" p
  872. ;+ c, }/ a6 x0 y& M: _5 M( P7 J2 C
  873. ;   extension=msql.so
    & g; \: }" U" E. z" Q4 \1 U
  874. ;
    ; t8 }# p, b: J
  875. ; ... or with a path:
    5 U) b. i' g  x- I
  876. ;
    - Z+ N* c6 c6 q
  877. ;   extension=/path/to/extension/msql.so; I- T4 F# o% X6 \/ c# H1 ]
  878. ;
    1 C8 e: ?5 h6 \# P7 }4 r: O
  879. ; If you only provide the name of the extension, PHP will look for it in its; ^" G  R+ u& G0 A. N7 a* E: p9 _5 o* w
  880. ; default extension directory.
    " d9 v1 S  _/ E* A4 d/ N/ f) j7 v- O
  881. ;
    ' ^9 d" v+ t- U
  882. ; Windows Extensions% x1 x6 y: _$ Q+ S/ Y9 \) ]
  883. ; Note that ODBC support is built in, so no dll is needed for it.6 R- U* V0 a* e
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    ( ^! H& Q) O( }! p. M3 [* T
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    6 P+ w' ^/ g( O3 ~8 {
  886. ; Be sure to appropriately set the extension_dir directive.
    7 z& R2 w; O3 P5 I5 c2 B( N
  887. ;
    * I- \4 q4 A) c" c/ d( e
  888. ;extension=php_bz2.dll
    7 Z7 U% w; g* C- e$ b% G' K8 @  R
  889. ;extension=php_curl.dll
    , Q  J3 J6 z4 q+ i) R/ [0 b
  890. ;extension=php_fileinfo.dll
    : D4 _  u5 i8 y' S7 ~
  891. ;extension=php_gd2.dll
    ) b, l# {+ q: R; {0 j; ^! `9 S0 l
  892. ;extension=php_gettext.dll6 J9 d- c, k' s- l. W
  893. ;extension=php_gmp.dll5 X& m  t) F  x3 d: N0 o* P
  894. ;extension=php_intl.dll
    # C& @- e3 T' z( |# g: L! p
  895. ;extension=php_imap.dll
      e% d9 l5 U2 G% ?
  896. ;extension=php_interbase.dll" |1 q$ E) j3 ?: Q9 i9 Z5 @! w  u0 h) [
  897. ;extension=php_ldap.dll; i; D- E2 Z+ |6 u6 ^+ {
  898. ;extension=php_mbstring.dll" e% s1 c. p( j- [  R6 t
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it6 }# }; M- i' h6 I% O* h0 {
  900. ;extension=php_mysql.dll
    ( w; L. B$ V# w+ y+ x% ]
  901. ;extension=php_mysqli.dll8 D( |' F$ K' {
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client2 {0 K/ G) f7 S, l" L7 h9 A
  903. ;extension=php_openssl.dll
    7 g; L$ O7 L4 X, V. n2 Q
  904. ;extension=php_pdo_firebird.dll
    ! M6 h$ K! {+ \' Y6 A
  905. ;extension=php_pdo_mysql.dll" R" c/ L$ s# ~+ o2 R0 x
  906. ;extension=php_pdo_oci.dll3 I: [9 g" D1 m) c; z
  907. ;extension=php_pdo_odbc.dll8 X0 N% n  g- g9 k- J& o3 p
  908. ;extension=php_pdo_pgsql.dll- P! Q8 q9 o! v$ Y4 X9 x( t
  909. ;extension=php_pdo_sqlite.dll
    ; d$ ~* \" ?3 x: H0 ~" o1 N3 ]
  910. ;extension=php_pgsql.dll
    * K+ ~. W  U, F& C7 O' {
  911. ;extension=php_shmop.dll
    ' g& F6 k9 ]! c0 N$ B6 o- ^9 M8 Y; u

  912. 8 s& Y5 K; R. `5 E7 q
  913. ; The MIBS data available in the PHP distribution must be installed.
    " c1 T1 ~. ^( M
  914. ; See http://www.php.net/manual/en/snmp.installation.php
      w1 Y& x, `. b( Z
  915. ;extension=php_snmp.dll. t9 w) I9 W. P

  916. 9 h9 m! ^5 X0 D/ Y4 s  t
  917. ;extension=php_soap.dll/ U4 p9 X; E% F. J/ y( y% r+ ?. T
  918. ;extension=php_sockets.dll
    1 H: I; x% _5 P4 X9 f% ?/ u
  919. ;extension=php_sqlite3.dll
    % k. B* o3 Z2 ~" s+ _3 K9 D8 L
  920. ;extension=php_sybase_ct.dll5 @' U1 d/ H. {' V1 Y6 _( S
  921. ;extension=php_tidy.dll
    6 S- m7 d2 S' b" _8 e: g; i8 U
  922. ;extension=php_xmlrpc.dll
    . O+ \" I% w$ u6 L
  923. ;extension=php_xsl.dll0 W. g# A2 G, b$ y2 x9 N/ t7 V
  924. / O- ]- d: j- J( F$ f! F
  925. ;;;;;;;;;;;;;;;;;;;! S% n/ C) p9 U4 E/ D- Y* V
  926. ; Module Settings ;
    9 q! O! f2 ^8 c& E( w5 B* i
  927. ;;;;;;;;;;;;;;;;;;;) E, e: h( X* h! k# o# I2 {

  928. 9 e" l+ T; C) f/ m" ]& b
  929. [CLI Server]
    & q# O/ x) P7 C: A
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    5 w* K* J. B: a0 R$ ~5 S0 e& g  r' R
  931. cli_server.color = On. o& E& J4 ~9 e2 \
  932. : W% T, r! Q% i- w' F9 r% f# h
  933. [Date]
    - N& W5 Z+ i4 Y4 }# x  W$ H
  934. ; Defines the default timezone used by the date functions  D6 _3 s" {  h0 d
  935. ; http://php.net/date.timezone
    5 Z4 |9 V7 E" c% y
  936. date.timezone = PRC
    - d% _% P3 C3 ~- L5 @
  937. / T- V' x3 U4 m3 `  N& D* S( ]
  938. ; http://php.net/date.default-latitude
    4 ~9 L: N: j# d. E' r
  939. ;date.default_latitude = 31.76674 t- i. Z  `5 N0 H  K+ f5 u  v* {
  940. + R4 R- A& b$ B3 P7 K% t
  941. ; http://php.net/date.default-longitude
    - P1 U& o+ }% i& @4 {+ C
  942. ;date.default_longitude = 35.2333
    ( `& x" y* w9 Y1 ^
  943. 0 v$ _; y0 S2 V$ j" w
  944. ; http://php.net/date.sunrise-zenith. v# |! d: i# S! V! {, Y0 J$ ~
  945. ;date.sunrise_zenith = 90.5833338 o) r: Y! m" z: ]- h3 S% Q

  946. / l: S* }/ W" s( X$ s) z
  947. ; http://php.net/date.sunset-zenith
    # `: Z9 r5 h; k* ?4 C9 N/ y
  948. ;date.sunset_zenith = 90.5833339 U, C* Q1 l1 Z! r& [

  949. 0 z/ e/ N  ^0 T+ K! @" e7 ?
  950. [filter]. R6 ], M# j, b$ J+ h& l
  951. ; http://php.net/filter.default
    8 O8 c( e! i3 u7 h& d
  952. ;filter.default = unsafe_raw
    1 ~1 L. u9 o: Z( H+ x* u
  953. 4 _" k8 i( v3 S5 v
  954. ; http://php.net/filter.default-flags' `+ O3 s3 S1 f* C: Z& Y
  955. ;filter.default_flags =  Y4 z! v8 O  s  V: s

  956. ! ?: }3 Y6 Q- Q" s+ @1 F9 x
  957. [iconv], ^  a: `2 j. U* e" ~& J
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.5 B( |. _7 ^3 G
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.5 k7 d2 |; h" Q3 @+ _( k
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding# ~- G8 v, h' J- \
  961. ;iconv.input_encoding =- N% z+ R+ I& }
  962. " n0 m* S) W) t- X7 y* V
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
      @% u, U4 Y3 n6 _0 O' |7 k/ ?
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.& ^$ R8 Q4 S4 B" Q9 t2 `2 U
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding$ X4 P; h" n! h5 [
  966. ;iconv.internal_encoding =
    . y6 i1 j4 o+ F& F% x2 c; K5 L

  967. 3 [+ f( Z$ e0 M& K8 D( h
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    3 ]6 y+ ^( R: P; }, r1 p$ Y6 d7 L
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.& r4 q7 @  d. v1 d$ j+ \
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding4 i  L2 E* s0 H/ L
  971. ; To use an output encoding conversion, iconv's output handler must be set! \9 u) d, k- f) [- |
  972. ; otherwise output encoding conversion cannot be performed.3 j5 E1 M9 h9 ?& h" ]/ Z1 H4 T" {+ h
  973. ;iconv.output_encoding =6 q. l$ {7 D6 ?- C. a- p: d& n
  974. ! R& a* z; D7 y9 [  h
  975. [intl]9 D* }5 I, b+ F. `* c) }
  976. ;intl.default_locale =
    5 I4 q7 t, A: T. Q7 ~- ?0 Y
  977. ; This directive allows you to produce PHP errors when some error8 P) L$ K- Z; {. W& H4 [
  978. ; happens within intl functions. The value is the level of the error produced.& v, P. B+ [; ~9 M+ d( T4 X: L
  979. ; Default is 0, which does not produce any errors.
    2 _; y* r! f/ ]$ |: m
  980. ;intl.error_level = E_WARNING
    : D% N$ x# ^  Z( q$ |% J
  981. ;intl.use_exceptions = 0; z" o5 E6 V3 Z' P5 Q$ b; Y# I5 {

  982. - b5 [# `9 T- C0 f) T
  983. [sqlite3]
    / }: J/ }7 i" G
  984. ;sqlite3.extension_dir =( T. m  P' q" a5 _" u9 q+ b1 `

  985. , W, V0 _: @" X' O+ x
  986. [Pcre]
    ! x8 [+ _* l- Z5 e4 _
  987. ;PCRE library backtracking limit.  ^8 E( e; @8 C2 H( ~, q3 @. c! p
  988. ; http://php.net/pcre.backtrack-limit
    9 ^- [' O9 F. l3 n
  989. ;pcre.backtrack_limit=100000
    " o# w/ o3 Y2 S+ m7 s0 |# l1 @) r) x

  990. 1 }7 j8 i* t9 H* D' J
  991. ;PCRE library recursion limit.
    3 m) Z' v: j! A, W+ y3 g
  992. ;Please note that if you set this value to a high number you may consume all
    ' }) r% N3 w$ Z' t, Q
  993. ;the available process stack and eventually crash PHP (due to reaching the
    ; Y. l2 X5 i, s. g5 m
  994. ;stack size limit imposed by the Operating System).
    % \" l- B: o( q+ E7 s8 X4 w% w
  995. ; http://php.net/pcre.recursion-limit% `1 H, [, Q) O
  996. ;pcre.recursion_limit=100000
    % W: z8 Z/ R' ^# O
  997. ) T# F# {8 r) t& M! I" R
  998. [Pdo]9 O$ a$ E7 ~' x+ C/ p
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    + F6 [4 y$ s% v: \- c
  1000. ; http://php.net/pdo-odbc.connection-pooling8 h7 X1 A  {* c
  1001. ;pdo_odbc.connection_pooling=strict! ]3 O# g, w1 P- R! ~# B/ |; X

  1002. - e9 [% B8 y' E/ u
  1003. ;pdo_odbc.db2_instance_name
    8 ?& L# L: f4 V& K' F- r
  1004. ) [; K% Y+ I$ v# I5 ^* v, e
  1005. [Pdo_mysql]7 a2 X! B7 k/ x4 R) T3 C
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache6 V5 _( ^8 J# F! N$ v
  1007. ; http://php.net/pdo_mysql.cache_size+ p. x3 M9 ?6 G- j
  1008. pdo_mysql.cache_size = 2000! _& f: j, n  f; d" p: w. \
  1009. 0 h  H# H! `2 {& b
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    3 L* i4 Y# k" ?0 n( H, }" j, p/ b) h
  1011. ; MySQL defaults.; L% ]4 {, v' [
  1012. ; http://php.net/pdo_mysql.default-socket- K  ?4 L* N' [- L, G0 V
  1013. pdo_mysql.default_socket=
    6 S  w# _/ _" u7 a% V
  1014. ; s% J  q6 ~* n( \8 y9 ?7 |% r
  1015. [Phar]# {# ?2 d0 }& e* t0 r
  1016. ; http://php.net/phar.readonly2 [* h" S- I' _+ f3 g
  1017. ;phar.readonly = On+ A& r- ~, w+ G) x  P! k$ A% _( p! g

  1018. / M  R# ]& |5 ]9 J9 w$ F
  1019. ; http://php.net/phar.require-hash
    ; O. M3 {/ S' O/ d1 S4 t
  1020. ;phar.require_hash = On
      @, r. x+ _" `( Y, K

  1021. % z2 r) m" {& D8 F2 M
  1022. ;phar.cache_list =
    2 T1 J* w" C" {/ t
  1023. , E: @0 l+ l/ O1 U; \" t$ I
  1024. [mail function]% T! D5 z2 {& @
  1025. ; For Win32 only.
    + O/ S* d+ j: X8 j  ~+ y1 d$ g
  1026. ; http://php.net/smtp
    7 K0 W' @, u# A4 X6 h+ P- H0 P' M/ n
  1027. SMTP = localhost4 k2 h& k) t3 M& ]# B" K' m
  1028. ; http://php.net/smtp-port) c  _5 h- a; E+ k# N2 W: @
  1029. smtp_port = 25, t1 ^2 B: L7 D  `) F6 A9 F( K
  1030. 1 n) t' q0 b. j8 j. \6 \
  1031. ; For Win32 only., g4 l% o, H% d# P
  1032. ; http://php.net/sendmail-from
    / Q7 e. B* U. \3 D% M8 M9 f
  1033. ;sendmail_from = me@example.com
    , x, M! {) r) y' a

  1034. , i# M2 N5 a: y+ l. y9 z
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").4 S  w8 V0 M" m
  1036. ; http://php.net/sendmail-path4 ]3 [) E) n  e. w- X' `
  1037. sendmail_path = /usr/sbin/sendmail -t -i& j; V" `; r- q' X& y

  1038. 1 H, P) ?8 I2 o* n: W
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    ) l  s& ?" [# [. B. m
  1040. ; to the sendmail binary. These parameters will always replace the value of# q# D$ U. m* K/ I
  1041. ; the 5th parameter to mail().
    % u% I) X0 G* ]7 C! P; j* ?* h
  1042. ;mail.force_extra_parameters =
    % y: R  ?. X: ]0 D2 T& k8 p( p

  1043. : V6 D2 `6 q: `. ^
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    6 P$ \* {" o( l3 U2 m4 w
  1045. mail.add_x_header = On
    # K$ L0 G+ u+ n! Z' c$ D  L2 M

  1046. " q3 O/ b# {2 C5 k8 o& t
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    0 o$ M2 o- I' ^8 O2 n5 }0 j9 D6 Z
  1048. ; the full path of the script, line number, To address and headers.6 z! _4 v7 I3 l
  1049. ;mail.log =
    5 }; \1 _8 J1 E
  1050. ; Log mail to syslog (Event Log on Windows).1 \# s5 N7 b. g& R9 F
  1051. ;mail.log = syslog5 b8 m1 Q1 s% J/ ^
  1052. 8 A! L4 b& z4 g# \/ D
  1053. [SQL]! U- `. Q7 x, q* [( \
  1054. ; http://php.net/sql.safe-mode6 q& ?' ]% m" D3 {! A2 ]
  1055. sql.safe_mode = Off+ c$ f" ?9 `5 J3 a' |. D

  1056. : P# ?7 j# K  a- K# X1 x2 A5 O
  1057. [ODBC]
    : n5 D" j. r. |
  1058. ; http://php.net/odbc.default-db
    % W' G( s* m8 G6 H( w& O' \5 G
  1059. ;odbc.default_db    =  Not yet implemented
      {" ~& K% K) w+ r+ `  ^

  1060.   T, v8 L! D. D, X. z* o; G. J! g  p' `
  1061. ; http://php.net/odbc.default-user% A  x8 T  W+ L( O2 Z
  1062. ;odbc.default_user  =  Not yet implemented
    ; j9 D) g8 E: z' L( V% K

  1063. / t& L5 h. S1 B
  1064. ; http://php.net/odbc.default-pw
    - S" g- V" r9 K9 c* a  K
  1065. ;odbc.default_pw    =  Not yet implemented
    6 V$ L2 m) G  u' Q1 k) J
  1066. 0 {* U' S! y6 ?6 P5 _& a1 q  V& ?/ {
  1067. ; Controls the ODBC cursor model.
    9 P* S+ J, O6 W) P( `0 k
  1068. ; Default: SQL_CURSOR_STATIC (default).) n8 |1 s# ^$ P; Z2 F
  1069. ;odbc.default_cursortype7 \: W0 ]8 u& U
  1070. 0 `( ?3 q# `0 D/ ^8 {
  1071. ; Allow or prevent persistent links., {  r! n; x* h0 Y! ^& b
  1072. ; http://php.net/odbc.allow-persistent: Z1 k: ]; Q- L1 T9 Q: K
  1073. odbc.allow_persistent = On
    . w2 @2 `  d* ]: w

  1074. ' G! Y- r: }' ~- M
  1075. ; Check that a connection is still valid before reuse.$ d1 t, ?+ {% {+ F  {! J) c
  1076. ; http://php.net/odbc.check-persistent
    " z6 |$ |, L7 [8 {# Z$ v! D
  1077. odbc.check_persistent = On
    " _: u) J2 U; m3 K4 i

  1078. ) y: v8 T" h6 ?8 [, n$ R! v' f8 q
  1079. ; Maximum number of persistent links.  -1 means no limit.( m$ l$ O& T' ~( k6 e- R+ r5 @. y/ K
  1080. ; http://php.net/odbc.max-persistent
    % r0 D% `- e( K1 r/ \
  1081. odbc.max_persistent = -15 H' r# w: o) y2 ~. }
  1082. 8 p! S; O2 o( n% L2 P( M
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.$ X9 R4 O5 v% Y
  1084. ; http://php.net/odbc.max-links  Q& K9 w; }$ q9 N/ H" T+ k
  1085. odbc.max_links = -1
    4 V8 X% b9 T' W/ M2 U1 ~. w

  1086. ) J5 {9 s% \5 R) K, m; C
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means' B+ F! s" ]" m
  1088. ; passthru.
    3 i- S+ D- I$ q  {* c
  1089. ; http://php.net/odbc.defaultlrl
    7 a) v# D. x$ m, k* i  q
  1090. odbc.defaultlrl = 4096
    % p4 `7 R& u0 j5 {

  1091. ' w4 T4 B9 I1 M0 Q. E  }% X8 _
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    7 \4 N2 E" a& Z  L# \/ l6 @
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation9 g- ?! T6 u5 F# x
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode" y4 D! K) W$ V# z5 [3 ?* v
  1095. ; http://php.net/odbc.defaultbinmode
    ) t1 [7 q* f2 Q- {0 }# `4 q
  1096. odbc.defaultbinmode = 1+ r8 m4 {+ ~# _8 n; ^! z
  1097. " p/ o# Q4 t$ T
  1098. ;birdstep.max_links = -1$ |3 r& e/ G# \* J. c

  1099. / }2 l+ f9 B. @6 f
  1100. [Interbase]
    * x$ e) a. s6 s. K
  1101. ; Allow or prevent persistent links.
    & [3 p" B* G3 m- \: ]" P2 |4 q. z
  1102. ibase.allow_persistent = 1
    % b# C. O0 E9 y. R- x2 Y1 k9 J2 I
  1103. ( o1 Y9 o- G" e+ c) i
  1104. ; Maximum number of persistent links.  -1 means no limit.
    ) m$ w9 ?  t: U" A8 g3 G6 r
  1105. ibase.max_persistent = -1- O) S0 F$ j- x# Y& d6 K$ Q

  1106. : l9 o  A% r+ P/ u. G+ ?
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    6 [" w: U" Q( r( R1 B
  1108. ibase.max_links = -1$ r6 p0 C, r: {

  1109. + C+ O' o% l# T" D
  1110. ; Default database name for ibase_connect().& e* ?; k8 X# k; {. v8 e
  1111. ;ibase.default_db =, b7 X9 X6 i3 L( g9 z
  1112. % T# J0 n; Y) `" Z! [
  1113. ; Default username for ibase_connect().
    ( \6 l; H. H/ b8 M5 o! w
  1114. ;ibase.default_user =
    ! P* Z7 v$ S4 i7 S" }+ ?

  1115. ; g5 }1 _$ N  S! p* g' I' P
  1116. ; Default password for ibase_connect().; `& E2 F) }" T/ D7 \9 y" e& T8 j& u
  1117. ;ibase.default_password =9 t. B) @( ?* I$ y; A

  1118. ! C/ Q4 z5 q! q7 c0 M4 S
  1119. ; Default charset for ibase_connect().: ]( r3 X# s* B. d
  1120. ;ibase.default_charset =8 U8 E) T& b- l, ?4 _
  1121. # J( t8 f  o: L! B) p: H
  1122. ; Default timestamp format.
    2 H4 M& v+ u* d' J, U
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    6 K+ m$ h! S  Y) ?  \- F# X
  1124. ) G9 L1 l+ N) r, h' E  j' K
  1125. ; Default date format.8 D) p' z! O' P( q. d
  1126. ibase.dateformat = "%Y-%m-%d"
    ! l9 X+ K0 j) [

  1127. & F) z7 r- ]2 |
  1128. ; Default time format.
    . L2 ?) F1 J  m0 m! `) e
  1129. ibase.timeformat = "%H:%M:%S"
    1 K; _/ J7 ^$ U/ t; r

  1130. ) S- y5 A  c7 [" P
  1131. [MySQL]9 F( O5 ~3 B" I( Z8 h: G6 V
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    ) ^0 O* {1 r7 N/ n8 m; o4 @
  1133. ; http://php.net/mysql.allow_local_infile" C3 L: h, w* i& R  v
  1134. mysql.allow_local_infile = On2 f" I% }& ]7 y% E- @; \  b% X
  1135. - i; G. T% @7 A* k: u0 M+ g
  1136. ; Allow or prevent persistent links.
    - @" F% j9 c0 N% [
  1137. ; http://php.net/mysql.allow-persistent8 i  e6 J1 X$ Q; E: s
  1138. mysql.allow_persistent = On
    0 t: i0 P# B9 [* r  F

  1139. ! H1 E* q4 L6 O
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    4 j6 o: J% p- H5 \7 d' O
  1141. ; http://php.net/mysql.cache_size
    2 F; {$ u' M- V$ p  e/ W
  1142. mysql.cache_size = 20004 e2 W4 v) q! W' V3 o8 u6 a

  1143. # O3 V' T) l7 _0 D
  1144. ; Maximum number of persistent links.  -1 means no limit.
    ( K; a  N2 ?6 t6 `
  1145. ; http://php.net/mysql.max-persistent6 {3 w, t% `; J  Y3 i
  1146. mysql.max_persistent = -13 `, U9 H, Z. u0 ]% g+ M% T
  1147. * e0 h% i( Q* B7 [8 L6 L* ?
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    " @7 ]! Q* i; q8 F! K2 k" j0 x( e
  1149. ; http://php.net/mysql.max-links
    ) z. x" X; c+ K% C' x; b
  1150. mysql.max_links = -1% j9 v8 W1 x& v1 e0 b9 q7 p5 v8 y

  1151. / U* \& |, o6 W: [' q0 ?- c; @3 g9 _
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use. b' v1 X( @, I* B% u+ S/ A! m7 [8 R
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    0 l0 e0 \* J5 o* N* L
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look/ }6 |6 t$ m+ Q- Z; G5 M/ L: `0 y% I
  1155. ; at MYSQL_PORT.
    4 R1 H7 B5 ~, i  h
  1156. ; http://php.net/mysql.default-port2 r1 H: I$ m$ [1 g& E6 n5 _' D
  1157. mysql.default_port =# F+ J, q! t. ?5 P2 C& j0 q  b
  1158. 2 T5 ?$ y: l: N0 [! V1 u+ Y+ _
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    / i7 d1 [1 v& F% q) Z5 ^! q
  1160. ; MySQL defaults.
    6 x' {0 z5 f# D- I
  1161. ; http://php.net/mysql.default-socket
    1 }, F2 w+ v; E+ v8 e
  1162. mysql.default_socket =
    ( K4 s; q" {4 c8 \

  1163. # q) Y. u6 ^; Q! j: V( P7 x
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    + y3 s4 `+ K; L* n
  1165. ; http://php.net/mysql.default-host2 n  K4 f" E& [, D4 a4 \3 E$ S
  1166. mysql.default_host =, ~! w. J- z0 [) k1 W3 {8 S

  1167. . u! w$ z8 Y6 ]- ~3 x
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).' }" ?/ y. L7 d: p0 c. b8 D
  1169. ; http://php.net/mysql.default-user  m6 b2 T1 G* y
  1170. mysql.default_user =
    + J: V% s* l7 ~2 f( `1 ^7 u. o) I3 N7 c6 a
  1171. 2 }0 F  N# o/ W4 \
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).0 L& u- q5 g% {: d  D- h, Q
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    1 R( I: P/ q- W' Y$ F: q
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")' p8 }. ^2 d: c: x
  1175. ; and reveal this password!  And of course, any users with read access to this
    . H+ v) g  ?* S1 f
  1176. ; file will be able to reveal the password as well.
    ) G( @1 f1 A1 i
  1177. ; http://php.net/mysql.default-password+ ~9 ^0 _- P$ }7 J- Y* a% E" @( I
  1178. mysql.default_password =. c; s( M8 z; X1 ]1 c& s
  1179. $ {' O, o7 p  \) q9 ^' _
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit6 y+ ^, ^6 P! V% G! H0 X
  1181. ; http://php.net/mysql.connect-timeout
    1 ?/ u+ j( A7 ?5 m6 L
  1182. mysql.connect_timeout = 60
    # l) h+ @( n) [% x3 {. \
  1183. ! H8 S" s4 `' L. }! w
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    ) a3 L' q; ~8 F$ ?3 g/ m0 A* |! k: Q) V
  1185. ; SQL-Errors will be displayed.; V) W' ^0 d& b6 p! X5 m8 S$ t9 D0 e
  1186. ; http://php.net/mysql.trace-mode
    9 v5 w! o: ?" z( }  n( j
  1187. mysql.trace_mode = Off
    - z" Q1 C/ O# O3 o/ w1 S
  1188. - F. Z$ I+ `, J( z( f8 \7 F9 O* |
  1189. [MySQLi]0 t9 |8 y( n* M: J/ r, F/ P
  1190. 1 ^2 S" ~* y, l, K/ i
  1191. ; Maximum number of persistent links.  -1 means no limit.
    2 P  N: t7 h, q8 K2 g
  1192. ; http://php.net/mysqli.max-persistent+ v: C$ A: ^  y! {& |4 n
  1193. mysqli.max_persistent = -1
    / v( D8 ~/ D% y, e
  1194. ! B' e3 Q4 Q. k+ F: q% J  @
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    0 c! a0 A, W3 K5 o8 j& o/ p) l
  1196. ; http://php.net/mysqli.allow_local_infile7 \% g) D6 b% Y' X/ D& L4 r' O5 L
  1197. ;mysqli.allow_local_infile = On+ z& r2 @2 I$ |- I) J# n
  1198. ( ~/ `3 ?0 d0 G( |8 d$ |' }5 Y
  1199. ; Allow or prevent persistent links.
    0 k" a7 z1 A9 v+ C* \& r
  1200. ; http://php.net/mysqli.allow-persistent4 e- M1 X) o: {# t1 B# {
  1201. mysqli.allow_persistent = On
    $ |' _$ ~2 C& b0 ~* A4 t

  1202. 9 X3 b6 H( y1 G4 W9 I; V: W( c  t
  1203. ; Maximum number of links.  -1 means no limit.& y, t9 S. q) W! \
  1204. ; http://php.net/mysqli.max-links5 M: f+ H, J2 a) S  ?$ N
  1205. mysqli.max_links = -1
    1 M8 z% V4 b& q7 G) H& w
  1206. 1 B  V' X# H( u" ]
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ! a4 N$ c8 i: `  o
  1208. ; http://php.net/mysqli.cache_size
    - d( s% S, ~& D3 O3 V/ j
  1209. mysqli.cache_size = 2000
    , L! t) l9 s5 G6 n1 A

  1210. / d% z: D1 y7 q
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use0 H8 n) x8 |; X2 z$ Q9 g
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the! J  l+ K  b9 z8 M0 V6 y$ l. g) y
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    % ^* O! z: c& B) w
  1214. ; at MYSQL_PORT.
    1 o" g1 Z3 N' e7 O. B: Y, s2 z
  1215. ; http://php.net/mysqli.default-port
    - V3 a. {& J# y$ v# F/ Z* m
  1216. mysqli.default_port = 3306* I) {$ l9 Q: |- i4 ?
  1217. " Q8 e" \* k2 `4 Q! P
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    % h( h7 H6 B1 `4 ^" U7 F
  1219. ; MySQL defaults.3 D" M& `/ ]3 ^1 M
  1220. ; http://php.net/mysqli.default-socket- `7 Y1 m, ]2 c" P+ K/ ?
  1221. mysqli.default_socket =$ \/ a- `; V/ o0 Y" I# R, ~
  1222. 7 S0 Q7 `8 t) ]- @8 I
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).7 N  G2 l* n+ O# r+ B, U
  1224. ; http://php.net/mysqli.default-host1 e- A% q4 N3 u
  1225. mysqli.default_host =
    # a1 F8 D& `+ }5 _  i2 F; H
  1226. ( E5 E1 I" |1 G' F2 I, r8 T
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    0 [8 [' H- w  i/ [  ^
  1228. ; http://php.net/mysqli.default-user
    ; s( V( Q& n* F/ _3 j
  1229. mysqli.default_user =/ I. U; I2 x* {) R

  1230. : K9 X. B* G% v3 u: ^+ `
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).& t/ I7 p% k0 x; i  d6 d* o
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    $ K7 ?( M- u1 t+ m6 b+ K+ C) V4 Y
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    8 H6 L) j6 _. K
  1234. ; and reveal this password!  And of course, any users with read access to this' L3 h; D- }& Z; J0 V
  1235. ; file will be able to reveal the password as well.. k7 ?! |" ?5 }) h( T. ]5 ]
  1236. ; http://php.net/mysqli.default-pw
    3 M! h5 o: z& H& d$ Z: O! U2 }3 d
  1237. mysqli.default_pw =2 r0 T" U5 j# [

  1238. ! L/ \  Q2 y6 g+ R6 x- t, z
  1239. ; Allow or prevent reconnect
    6 T; W( e: `# l
  1240. mysqli.reconnect = Off
    % n. J. ]7 E, _- R7 ~2 c& A

  1241. $ A+ y! a: H# w$ C
  1242. [mysqlnd]0 c2 y8 K2 n6 m5 a, ]  ~- j
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    ( x, w4 J, z# w, {
  1244. ; used to tune and monitor MySQL operations.
    4 i8 K: ?; G) `" h" k
  1245. ; http://php.net/mysqlnd.collect_statistics& u  V  |" b( A9 d2 `
  1246. mysqlnd.collect_statistics = On* K$ t. k/ W0 z; O
  1247. 6 ]2 \: T/ a) [6 G! F
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be8 {9 }/ B3 d+ U# ?$ o- r" s2 m
  1249. ; used to tune and monitor MySQL operations.
    ' }* I# w5 a: ~' g
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    8 ]  t3 K9 w, h/ D2 p" U
  1251. mysqlnd.collect_memory_statistics = Off2 ^  K& h, F! l1 S( _( p! S

  1252. ( c( r$ i, E  E
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    ) g2 X% U7 S& ^! \, ~
  1254. ; file.
    1 F+ I% F- J( \% S  {
  1255. ; http://php.net/mysqlnd.debug
    ) _8 }/ c$ x+ `! H
  1256. ;mysqlnd.debug =
    5 r. P: g8 a$ ], ?8 v  J

  1257. ; {2 L8 ?8 b! J/ Z( O
  1258. ; Defines which queries will be logged.
    ) A6 z9 {, v+ F4 t* d+ P6 e2 B  a
  1259. ; http://php.net/mysqlnd.log_mask7 |3 i, e: C/ |8 s' x
  1260. ;mysqlnd.log_mask = 0) \4 U# M; f- `2 W" F  i: B
  1261. : V- g3 y! E/ e* U# U
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    6 O; X- |2 ?) R. D
  1263. ; http://php.net/mysqlnd.mempool_default_size
    ! n, \- K# F+ g: o/ A4 M
  1264. ;mysqlnd.mempool_default_size = 16000; @% q3 ]' M8 R7 I. |
  1265. * R' U+ o8 A/ V; t) [
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.9 U0 P& i" ?3 N  s' ?' x$ D4 G
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    $ X: R9 k3 U  ~0 s$ v& J% n
  1268. ;mysqlnd.net_cmd_buffer_size = 20489 Y& M2 ^5 c, j4 i7 c

  1269. ; j, Z: j$ Z; H8 ?' G
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in4 @( s& Q0 f$ y" D6 ^% P: L4 \8 Z
  1271. ; bytes.
    - I, R  V( n" @+ d4 j2 r- y
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    8 Z6 D& T  E9 F6 [  m5 v; |1 x
  1273. ;mysqlnd.net_read_buffer_size = 327685 n+ t4 X5 {: `

  1274. 4 J9 W. Z/ a# Q: I6 x" R4 k6 v
  1275. ; Timeout for network requests in seconds.3 T+ }; a2 `4 h; i3 U6 ^$ Y) H1 T# G( u
  1276. ; http://php.net/mysqlnd.net_read_timeout
    & l4 e3 E1 ?9 h: D4 H
  1277. ;mysqlnd.net_read_timeout = 315360000 J7 p$ v: _9 e5 _' A, R" V
  1278. 9 E7 U! q2 G6 e; t8 {( S& w
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    # Y4 b1 k5 W' ?0 m! x2 v
  1280. ; key.2 h  v$ m! [9 m6 _- ~7 L, r2 n0 K
  1281. ; http://php.net/mysqlnd.sha256_server_public_key- e4 V. `  X/ O1 Z
  1282. ;mysqlnd.sha256_server_public_key =
    ( l) P9 Y6 d( ?9 Q" k+ a; [: ^$ C( E

  1283. 2 r# R0 u0 m) j, y& l; i' _3 P$ B
  1284. [OCI8]
    4 _4 G# o* h9 G, S" \

  1285. " Z: L. Q9 n/ \/ i
  1286. ; Connection: Enables privileged connections using external
    : s1 l, ]$ {+ R5 ]/ D8 }$ d
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    8 d1 c0 k- K8 G) U7 U
  1288. ; http://php.net/oci8.privileged-connect
    9 B& _; g7 ^2 _- T& ^! X1 U
  1289. ;oci8.privileged_connect = Off
      e6 ?! y/ @  [/ F! U! f+ ~1 T

  1290. & C2 G& }% F4 {5 K( D+ R. B
  1291. ; Connection: The maximum number of persistent OCI8 connections per# Z6 i5 v& ^9 k( U1 j
  1292. ; process. Using -1 means no limit.) P$ B1 e4 Q* t' h4 |: c2 ~
  1293. ; http://php.net/oci8.max-persistent
    ! K. F( @4 M! Y  E$ g% g
  1294. ;oci8.max_persistent = -1
    ) a$ ^8 D) ?1 |* J8 g* @5 A

  1295. - R  o) X, ]/ y
  1296. ; Connection: The maximum number of seconds a process is allowed to
      Y0 s# h. v6 F, A
  1297. ; maintain an idle persistent connection. Using -1 means idle4 q  Y& w- Y5 u* `% _8 N. f
  1298. ; persistent connections will be maintained forever.
    5 _' f9 j+ X; R
  1299. ; http://php.net/oci8.persistent-timeout
    9 @) F7 ~6 u6 C, E4 o1 I
  1300. ;oci8.persistent_timeout = -1
    ' g- w8 N6 S# w* i8 ?$ p

  1301. 0 K1 C/ B$ z" f& G5 V' X  D
  1302. ; Connection: The number of seconds that must pass before issuing a  l1 z; O. Y; U, S" D
  1303. ; ping during oci_pconnect() to check the connection validity. When
    . n; d3 b* o+ f% `6 w0 H
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables' Z" ]* O+ c* b8 x. ~" [& {
  1305. ; pings completely.2 D, N  @* y; M: x' B: m* Q4 U
  1306. ; http://php.net/oci8.ping-interval
    8 g$ ]# y4 f2 n
  1307. ;oci8.ping_interval = 60
    7 e" C6 j3 H/ \4 b1 ~

  1308. 4 `- a" V. Z" r7 B+ V3 j) \' x
  1309. ; Connection: Set this to a user chosen connection class to be used$ h$ a0 b' J, Y4 E: U# C- O% @! ]
  1310. ; for all pooled server requests with Oracle 11g Database Resident# k+ z* w" e" O" }$ A6 K' u7 U  Q6 L
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    # N0 l! j  ]7 F8 s  I
  1312. ; the same string for all web servers running the same application,
    9 M2 e( ~' `* m  H
  1313. ; the database pool must be configured, and the connection string must. N* h+ U: w% W. f/ b3 R
  1314. ; specify to use a pooled server.( {0 S9 s* `& S1 g
  1315. ;oci8.connection_class =
    5 r) q. c" `+ x. x

  1316. ( L+ I0 e: }  r% {9 l7 b/ ~
  1317. ; High Availability: Using On lets PHP receive Fast Application
    6 o9 \" w$ s% Q1 @
  1318. ; Notification (FAN) events generated when a database node fails. The
    0 ^5 L% R* F, `- R
  1319. ; database must also be configured to post FAN events.
    9 w7 U" d4 j. Y4 x5 `$ `
  1320. ;oci8.events = Off
    $ l! G8 ~7 Z, j! o7 g
  1321. 5 A& k3 e- ^: E- P1 c; j9 M
  1322. ; Tuning: This option enables statement caching, and specifies how
    9 u8 w+ k  r7 ]! e( u
  1323. ; many statements to cache. Using 0 disables statement caching.& H8 ]  F9 Q6 J+ x
  1324. ; http://php.net/oci8.statement-cache-size
      t. c$ L: y* U
  1325. ;oci8.statement_cache_size = 20
    ( L9 f2 r- z& ^; |% X/ c0 ?6 ?

  1326. 2 k7 s& x0 T9 t
  1327. ; Tuning: Enables statement prefetching and sets the default number of* }0 m2 z- o- w8 Y5 p' q
  1328. ; rows that will be fetched automatically after statement execution." g. K1 B3 }$ I
  1329. ; http://php.net/oci8.default-prefetch6 C. w" X( X# ^1 w) a
  1330. ;oci8.default_prefetch = 100! Y) c2 C4 [5 K0 X

  1331. ( @+ j+ i! C: d. q/ ^
  1332. ; Compatibility. Using On means oci_close() will not close
    2 U' c8 {9 E( V3 S; h- ~
  1333. ; oci_connect() and oci_new_connect() connections.
    " Y6 `# f/ D: V/ z8 K
  1334. ; http://php.net/oci8.old-oci-close-semantics: X9 [4 d' O* \, R+ F- K3 a6 q/ Q
  1335. ;oci8.old_oci_close_semantics = Off1 \. A6 C! M7 c4 C
  1336. $ d" b" K* K8 z. \
  1337. [PostgreSQL]. j9 s+ z8 G  v+ U% I, {
  1338. ; Allow or prevent persistent links.
    ; w8 O; ^- }9 K- g
  1339. ; http://php.net/pgsql.allow-persistent- M$ W8 ?/ b* _- g5 E
  1340. pgsql.allow_persistent = On/ ?( t, U& C) B
  1341. / U) h$ e: e( E( S" G3 J$ _3 v
  1342. ; Detect broken persistent links always with pg_pconnect().
    1 [2 |7 V; D& E2 U- p' v3 x
  1343. ; Auto reset feature requires a little overheads.
    $ P0 g! y. C9 }: f) V2 Y9 e' F* U
  1344. ; http://php.net/pgsql.auto-reset-persistent
    5 p2 o6 x7 f# L8 j
  1345. pgsql.auto_reset_persistent = Off; ?4 e1 {4 U9 p' N3 Z  C

  1346. + G- S9 Y) A- E" ?: G# B
  1347. ; Maximum number of persistent links.  -1 means no limit.* S3 e" `1 s- o
  1348. ; http://php.net/pgsql.max-persistent8 f) W4 s8 N+ O/ g( v% Q
  1349. pgsql.max_persistent = -1
    5 m+ H/ _7 _& ], {9 T  M

  1350. 4 E( C2 K9 `7 B6 X
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.- Y8 |/ J1 O: `
  1352. ; http://php.net/pgsql.max-links
    : N2 f$ h8 o, a" C5 }! W
  1353. pgsql.max_links = -1" X7 }6 m0 I; }& _. }, C% a% F# A* B

  1354. : o! d/ @5 o( s" V: \8 m
  1355. ; Ignore PostgreSQL backends Notice message or not.* i* [3 g/ D5 U* q
  1356. ; Notice message logging require a little overheads.2 d3 z. r5 j6 b' m
  1357. ; http://php.net/pgsql.ignore-notice
    , f% k) A, @( A2 Q# ]
  1358. pgsql.ignore_notice = 0; a  t0 q( k: K) M$ Y$ b
  1359. % F3 O) Q# X' {1 j* |2 q+ |
  1360. ; Log PostgreSQL backends Notice message or not.
    " c7 Y; J6 T6 {) Z5 i9 [3 m# [
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.& B1 Q0 V! R3 |% P, n8 [9 V6 x- s
  1362. ; http://php.net/pgsql.log-notice% l0 E. ^) L( ]& i1 O% Q. c) }
  1363. pgsql.log_notice = 0
    4 M# S- |; ~9 l! A2 {
  1364. $ n: g! g( R7 I* ^: x# I4 w, W' z
  1365. [Sybase-CT]
    . s+ Y0 g9 c1 I
  1366. ; Allow or prevent persistent links.
    3 k6 m! x5 {! G( m- Y# x8 |
  1367. ; http://php.net/sybct.allow-persistent
    - d  t4 w! M. E5 B! r
  1368. sybct.allow_persistent = On& Z' U2 ]- S1 N% U" m

  1369. ( k6 ~+ k- n! V
  1370. ; Maximum number of persistent links.  -1 means no limit.3 s$ B8 @7 `7 i: Q& n5 x* p9 {: K1 q
  1371. ; http://php.net/sybct.max-persistent5 ?& X- @; \6 q
  1372. sybct.max_persistent = -1* U3 U( I3 L: q1 R8 A) r( B' s3 c

  1373. 7 n5 f& Q1 n# G1 d/ V
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    9 m2 H/ B7 A% i2 m
  1375. ; http://php.net/sybct.max-links$ a6 _0 j$ v+ y
  1376. sybct.max_links = -1
    2 w# C8 b* p$ @4 _  o

  1377. 7 v1 t6 n1 U0 s+ o# t/ ?6 C* j* K' k
  1378. ; Minimum server message severity to display.5 }+ ?  e, f5 `4 i' j! ]
  1379. ; http://php.net/sybct.min-server-severity' i: F' B8 ]1 i+ A2 i  a1 m
  1380. sybct.min_server_severity = 10' f5 H* I0 D7 [
  1381. $ j8 M5 \% E9 ~0 `/ u" J
  1382. ; Minimum client message severity to display." D) Y: Z1 p( M* _# U* A! u
  1383. ; http://php.net/sybct.min-client-severity
      k1 ]3 S& u  u& s( ~6 o
  1384. sybct.min_client_severity = 10
    7 }' N. g  D: q2 A% r* \
  1385. 5 H& ]+ d! O; w6 s
  1386. ; Set per-context timeout
    9 p7 M8 e" Z/ n* w
  1387. ; http://php.net/sybct.timeout
      @- i- {! F5 e) i9 a, K# ^
  1388. ;sybct.timeout=
    , @  c( N3 T1 S) A

  1389. " Q0 B: U* w& J
  1390. ;sybct.packet_size+ ?9 ^2 A" D9 o

  1391.   p9 y' F  q. j0 z4 ~, V+ X( }
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    0 p/ C( Q6 C  b; {- ?
  1393. ; Default: one minute, s; G3 Q1 t8 f1 H  [- w3 Y
  1394. ;sybct.login_timeout=- E1 O  F) Q7 t. s4 G' C
  1395. 6 f3 z  s5 X0 y
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    7 d& e4 m- ?- I7 z$ u* e- W
  1397. ; Default: none
    3 l7 }; q9 o: ]1 z( s* Z, G" y) e
  1398. ;sybct.hostname=
    & F8 c& J2 Y& N/ }
  1399. 9 e7 m$ j( S2 F" B3 D
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".+ n8 T! J; L' K- G! }
  1401. ; Default: 09 {% q4 H0 P4 E5 l' P
  1402. ;sybct.deadlock_retry_count=3 `, k; X* v% x; T) v
  1403. + n+ ~; t8 l+ ^3 t) q0 @
  1404. [bcmath]4 C1 W- h( m9 \/ L2 _) N5 f
  1405. ; Number of decimal digits for all bcmath functions.# Q" T+ M7 ]0 Y( c) f0 A
  1406. ; http://php.net/bcmath.scale
    2 s& ]6 w8 _8 m7 W% N# k; D% b
  1407. bcmath.scale = 0  t0 c9 ]7 _5 _4 C

  1408. $ v, a" D9 N. j  h% w
  1409. [browscap]) P! t! @/ ~1 X) ^3 X% x
  1410. ; http://php.net/browscap0 c$ A" k& o+ O1 q1 d0 s8 B4 v, C) u
  1411. ;browscap = extra/browscap.ini
    ( J6 r: a, u. F7 x5 d# d, a/ P  g

  1412. : G1 ]# r. B) Y( K8 n) E8 `
  1413. [Session]. P0 x( E8 \2 `  c7 M3 Q4 x' ~) r
  1414. ; Handler used to store/retrieve data." P& g  T7 \4 H
  1415. ; http://php.net/session.save-handler
    ) G& h; V- u/ F3 h2 u$ d2 ~1 B
  1416. session.save_handler = files
    4 H1 \" R! X% h, O% T% Y; ~

  1417. $ @, h$ `) R7 D, J9 T
  1418. ; Argument passed to save_handler.  In the case of files, this is the path& H; r- \1 y2 ]7 ]% F
  1419. ; where data files are stored. Note: Windows users have to change this
    $ ?" J7 {" o! L8 x% P
  1420. ; variable in order to use PHP's session functions.
    ; H) N% m( A( J8 Y7 j% T: U3 v
  1421. ;7 K, m) C2 V; c; a2 e
  1422. ; The path can be defined as:) }1 z3 R- G: x/ l4 W
  1423. ;
    8 K, t3 a, j. k. K+ K# H( t& ^) G
  1424. ;     session.save_path = "N;/path"
    3 E3 j+ M2 d- p( g7 m+ U. v5 e
  1425. ;
    : T1 D5 \/ e+ ~! S
  1426. ; where N is an integer.  Instead of storing all the session files in
    1 @; C7 a2 C4 f# F4 ]* _
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    + @- A# ~' k; ]* Q3 r( R/ \
  1428. ; store the session data in those directories.  This is useful if3 E0 X; D+ ?3 Y3 t
  1429. ; your OS has problems with many files in one directory, and is! u* O+ K) H5 f6 ]/ ]
  1430. ; a more efficient layout for servers that handle many sessions.
    ; q% s1 ~8 t5 ]$ q% |3 `
  1431. ;. k. ^( y. E& Y
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
      U8 }! E" V8 `' b  c- l: y2 T
  1433. ;         You can use the script in the ext/session dir for that purpose.: r2 X3 {2 y. }8 i3 x; @+ b3 x
  1434. ; NOTE 2: See the section on garbage collection below if you choose to0 f8 Q/ N2 W# l1 a* X
  1435. ;         use subdirectories for session storage/ E$ [+ t+ f; A* s% W/ m
  1436. ;
    ! v* x! U6 a, T6 s2 k
  1437. ; The file storage module creates files using mode 600 by default.
    8 M* x3 U6 p3 M6 o( }- ?
  1438. ; You can change that by using
    $ t, k5 U" t" Q: S; s9 ^
  1439. ;
    + Q: ]! L. L( r, `, W) {
  1440. ;     session.save_path = "N;MODE;/path"
    + b- z7 C; d$ [" X. b
  1441. ;+ p5 o+ P$ y3 t3 R6 b
  1442. ; where MODE is the octal representation of the mode. Note that this! K' [, L: G5 N
  1443. ; does not overwrite the process's umask.
    5 m$ N/ ~: J2 W$ [8 _
  1444. ; http://php.net/session.save-path
    * }, D- H! L! k& Z9 w$ K
  1445. ;session.save_path = "/tmp"
    8 w( e2 b( T2 H# y9 m5 p: M1 r% w
  1446. & _; W# e! d9 o8 T# }$ r
  1447. ; Whether to use strict session mode.9 R- }2 l- L" t! [- u
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate% p" w* s5 k( ]: S" ~0 a
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    . }5 N  ^% c6 y7 t+ U
  1450. ; applications from session fixation via session adoption vulnerability. It is
    3 g5 D* j) B2 J1 w  n6 X
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    ' z+ _% ?7 @9 a+ u, _: r
  1452. ; https://wiki.php.net/rfc/strict_sessions" O4 }4 z  T/ s, B& w
  1453. session.use_strict_mode = 0
    - Q2 V* \; q9 {0 e5 c+ `7 e& z1 s
  1454. - i3 n8 m3 I! M) w0 R2 o. t. H
  1455. ; Whether to use cookies.
    1 Z4 j" J! H2 b9 |
  1456. ; http://php.net/session.use-cookies4 G4 H. X% A7 G% T& Y
  1457. session.use_cookies = 1
    . b+ b7 J5 L: W6 J

  1458. $ e! z& z8 @, T/ ?) b4 k
  1459. ; http://php.net/session.cookie-secure
    6 v# N, ~  b: Q% n
  1460. ;session.cookie_secure =/ x( d) w8 _& N2 F  O

  1461. 6 Z5 B) |' l: g! A! h: J
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    # \8 [, s. a3 o0 \
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    3 r- O3 ]# R8 m8 T
  1464. ; session hijacking when not specifying and managing your own session id. It is
    " s6 X8 n6 L! }( l# Q8 P" C
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.- w. j* H5 C+ K' W1 n: s7 G: z5 p
  1466. ; http://php.net/session.use-only-cookies
    5 d/ {" _6 Y' U* l* I2 M
  1467. session.use_only_cookies = 1
    * F1 D; O; B& b  S

  1468. 6 E( W1 U- V! T' R+ N. I& o
  1469. ; Name of the session (used as cookie name).
      p; ?6 u. ?; @3 g2 H/ N
  1470. ; http://php.net/session.name
    % F+ z6 |. @# N8 k# R* P1 d; r0 `
  1471. session.name = PHPSESSID
    1 W, a0 F% v1 B
  1472. 7 W/ n; [3 x9 Y0 j+ ~
  1473. ; Initialize session on request startup.# s0 {5 j+ n3 {" N2 v
  1474. ; http://php.net/session.auto-start1 v9 [- m4 j* ]" _; _: y
  1475. session.auto_start = 0
    , M2 p+ N" g" d

  1476. ' o& [& G) y. J  B% y7 M
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.4 [  X9 m2 n( f, e( F' J- d& O
  1478. ; http://php.net/session.cookie-lifetime, h& Q0 Z# W9 f# s
  1479. session.cookie_lifetime = 0
    & U8 |+ k  w% z

  1480.   y3 d8 Q, k% v: B8 m
  1481. ; The path for which the cookie is valid.
    & b4 D& X; V8 ~5 ]% D* r  n
  1482. ; http://php.net/session.cookie-path5 c0 t# N5 l$ R0 f( M% C
  1483. session.cookie_path = /
    " o) O* j7 y: A! c% K1 u9 [1 Y8 F
  1484. # T$ W% M0 L% I3 W$ v
  1485. ; The domain for which the cookie is valid.
    ) {' U8 b0 `5 d( r
  1486. ; http://php.net/session.cookie-domain2 k9 \, p6 r- g  k$ m2 c
  1487. session.cookie_domain =
    . h9 W$ u/ B3 T$ p; c" H+ H, }+ n
  1488. 8 [! D' s# x  t7 y% k
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.3 ~9 N, K, J  k2 v8 ]) v2 {
  1490. ; http://php.net/session.cookie-httponly
    " V" o( C8 o& i: O. g2 j
  1491. session.cookie_httponly =
    8 n  z# g1 }/ H. p
  1492.   `: l# S9 q. B( s
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    / r2 p# n9 d2 ?8 ]) o
  1494. ; http://php.net/session.serialize-handler( ]- W- d0 m0 T$ T8 c
  1495. session.serialize_handler = php$ p6 n  Q$ ^0 y2 M# T

  1496. 3 Y- q- ^4 e% j, A- x" O7 c* Y: O
  1497. ; Defines the probability that the 'garbage collection' process is started, v; l6 V, `! w
  1498. ; on every session initialization. The probability is calculated by using1 G- P# R6 p- ]6 Z# |0 y/ j
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator: C, N3 n6 ~6 G5 v/ c8 L- O2 D
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1+ D; O0 O4 G- N
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    ' \2 z$ ]# h' A2 s
  1502. ; the gc will run on any give request.
    9 Z( m+ A. k4 _% K
  1503. ; Default Value: 1
    9 M0 n  C1 ~+ e+ }6 z1 Z) U, E' K
  1504. ; Development Value: 1* F" |2 [( V2 I4 t
  1505. ; Production Value: 1
    0 a$ I& v  k/ V" O
  1506. ; http://php.net/session.gc-probability
    2 D. I6 U, U7 g5 d8 D' b( g) t
  1507. session.gc_probability = 1( G# k& ]) G" f+ l, I
  1508. + l* G" R# G5 L1 B% x5 j/ L7 P. \
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    $ s; _3 F/ S7 ^/ O$ {7 Q- x! p
  1510. ; session initialization. The probability is calculated by using the following equation:
    3 d2 A; `6 a( i, V
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and9 X' h: h& T5 z6 R% y$ @2 P
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1; X& L% ]" s' R3 E- h4 [% N, F
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    : }* H: O, z/ b4 b! O
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you. d! h5 p0 X! |8 D
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,: F( C/ R8 E! h; [, [  N9 I( a5 H5 M: J
  1516. ; this is a more efficient approach.4 `# r. |6 |8 d
  1517. ; Default Value: 100
    ! W5 h. B1 P) l- n: p% e  y7 \
  1518. ; Development Value: 10006 n* F- b8 X% q1 U
  1519. ; Production Value: 1000
    & `- D1 {5 {) \- O+ W! P1 c
  1520. ; http://php.net/session.gc-divisor* V7 G9 A2 b( f7 ?( X9 G
  1521. session.gc_divisor = 1000+ B8 f$ y* o2 C

  1522. . K" Y  p0 |) Y9 O4 \+ x  l. q
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    " K; R+ @* k" ~3 A# ]
  1524. ; cleaned up by the garbage collection process.6 }2 Z. j' N8 W  G
  1525. ; http://php.net/session.gc-maxlifetime
    # R9 c* l) c& |# D: C7 p
  1526. session.gc_maxlifetime = 1440
    : j7 N% T4 C- h' x" R
  1527. 5 E7 z9 U8 ]9 n3 V7 ^1 P+ _
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    0 y9 F# [) w8 A3 H7 q
  1529. ;       (see session.save_path above), then garbage collection does *not*
    8 Q* ~0 `$ G! P* K
  1530. ;       happen automatically.  You will need to do your own garbage
    6 z& g1 ]0 j) J
  1531. ;       collection through a shell script, cron entry, or some other method.3 ^1 v9 G2 w" K5 {$ e
  1532. ;       For example, the following script would is the equivalent of4 s1 }% v; S% z: o6 R
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):$ ^# S3 N& O  u0 Y7 B3 W9 y
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm) z; B9 W' f. V! h* n
  1535. 2 S% c# t6 w& m1 C% `; h9 S' B. K
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    . }1 C+ o1 k7 S+ i
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    , C3 y- e' r, k1 `
  1538. ; considered as valid.
    + t; E4 y, u: Q+ j- Z! R
  1539. ; http://php.net/session.referer-check
      t4 Y! X; i9 A: y% x1 m3 w" k- n3 w
  1540. session.referer_check =8 ?: d" M* I% j2 e* j
  1541. + B: t, r4 l( Q5 M/ I5 e3 H* F
  1542. ; How many bytes to read from the file.% u" q7 g  a6 V( g
  1543. ; http://php.net/session.entropy-length
    6 F. `# Q' Z4 c0 S
  1544. ;session.entropy_length = 32$ x7 u; S6 t# a/ C, {

  1545. / A' `+ ?6 C+ A
  1546. ; Specified here to create the session id.% E/ z9 R2 A, F* y8 ]
  1547. ; http://php.net/session.entropy-file
    / y% J+ S0 W' ?
  1548. ; Defaults to /dev/urandom
    # y  [/ _+ P% \& Y
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom& i$ Y0 M" p! _( N5 U' s: N, F
  1550. ; If neither are found at compile time, the default is no entropy file.: l' X' c" p) `& M4 K" O
  1551. ; On windows, setting the entropy_length setting will activate the" R! p1 G4 [6 K4 K
  1552. ; Windows random source (using the CryptoAPI)
    0 }# a  S: P0 t: A" K. I+ c
  1553. ;session.entropy_file = /dev/urandom
    , B0 J4 U  p0 n' j

  1554. " s4 K) ~  z3 K( I
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects6 a8 Z8 |; j4 ]) @7 R& W$ n+ F
  1556. ; or leave this empty to avoid sending anti-caching headers.5 q; _' @+ N# q3 u0 h) `
  1557. ; http://php.net/session.cache-limiter
    7 R1 E' x: u- i6 \+ `. ?1 t3 F% j
  1558. session.cache_limiter = nocache0 i. }/ ?% o2 i. p
  1559. : z5 ~7 D- z9 d0 l% O: e/ l* K
  1560. ; Document expires after n minutes.* j1 }4 M* C- J0 {" n0 e) n
  1561. ; http://php.net/session.cache-expire/ [3 H# M3 o( m; C! `$ ]; O$ v
  1562. session.cache_expire = 180
    ( V- ^: r+ `$ T/ J
  1563. ( A1 k( f9 v6 S, J3 l7 h5 c+ C" d
  1564. ; trans sid support is disabled by default.0 l) p7 L; F% h* c( H. M
  1565. ; Use of trans sid may risk your users' security.
    & m6 j! i- c; j% x2 V! u
  1566. ; Use this option with caution.* f0 {4 j) P, `
  1567. ; - User may send URL contains active session ID1 U1 c4 D4 m* p+ ?$ L! v. _$ m/ m
  1568. ;   to other person via. email/irc/etc., o0 P8 G5 m$ F; q6 ~
  1569. ; - URL that contains active session ID may be stored( Q3 V1 a% T, F. J' u
  1570. ;   in publicly accessible computer.9 x; B# W2 E$ ^# |0 t/ Z
  1571. ; - User may access your site with the same session ID
    , u# |2 `, ?: d3 ]: t0 T" a
  1572. ;   always using URL stored in browser's history or bookmarks.
    2 P: h/ S: `. ^- `- M
  1573. ; http://php.net/session.use-trans-sid5 S. B1 C+ g3 s# v. e( U( U
  1574. session.use_trans_sid = 0
    0 \* G! p0 c1 F

  1575. # q( P2 Q$ `! O0 C
  1576. ; Select a hash function for use in generating session ids.3 W; s# C6 p9 E
  1577. ; Possible Values  c2 K9 u9 P1 Z
  1578. ;   0  (MD5 128 bits)) W9 L, x) P+ U! V5 f9 f( w
  1579. ;   1  (SHA-1 160 bits)
    - ~# i; M# `; `+ C) G& Q- D7 V
  1580. ; This option may also be set to the name of any hash function supported by
    6 d' B$ u' r! z+ q5 ?: W& ]
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    ; m1 l' |4 f4 o/ Q0 f  F2 K, B) Q
  1582. ; function.; t9 o2 y) w, G2 T0 W
  1583. ; http://php.net/session.hash-function% B+ ~# v0 D- U
  1584. session.hash_function = 0( W# m, P; X8 h
  1585. # n+ K: l1 ~% Z" a  d( z
  1586. ; Define how many bits are stored in each character when converting2 m' {, r) |& f) y( ^
  1587. ; the binary hash data to something readable.2 d/ _( r; G, I  R! l
  1588. ; Possible values:; x1 Y& v0 Y8 Q% A' W7 R" ]
  1589. ;   4  (4 bits: 0-9, a-f)) f+ W6 M# G# V4 [+ P# a
  1590. ;   5  (5 bits: 0-9, a-v)
    : S5 @& u( H. i
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    ( F8 U6 f6 }5 ^9 j. z( _
  1592. ; Default Value: 4% F, M6 }" a0 f9 w1 ~1 v6 J2 T" n3 q
  1593. ; Development Value: 52 S7 n: i6 F- U: Z# L' g
  1594. ; Production Value: 5, L2 E1 U$ c4 y" A. D3 v2 C
  1595. ; http://php.net/session.hash-bits-per-character- V+ g0 r; n  z" i1 d: j9 C
  1596. session.hash_bits_per_character = 5
    % Q; O8 S# J' w

  1597. ( [5 U* E5 t) F! p- i) s  }; Q( G
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.' X! r" U- p' B! i7 p. f
  1599. ; form/fieldset are special; if you include them here, the rewriter will, x& C* u; S1 {- V
  1600. ; add a hidden <input> field with the info which is otherwise appended
    " b8 ?6 D3 ~3 p3 ~
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.' {$ O8 D! Q  L+ A
  1602. ; Note that all valid entries require a "=", even if no value follows.$ u6 j/ E1 T% W
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    + A- j# v, [4 G! ]
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    # U0 x) a1 C3 Z: x8 e8 U& n- i
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry": s5 [6 k. Q: P9 h, ^
  1606. ; http://php.net/url-rewriter.tags
    : R; l0 ?. k. t
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"; X" x4 j) t% h0 j
  1608. , r/ E8 H$ K' c% R- T& K2 W+ F
  1609. ; Enable upload progress tracking in $_SESSION/ t% h  |. H6 L. E3 P  r* l
  1610. ; Default Value: On
    / z- m8 g- R8 p4 A- n) s+ _8 c
  1611. ; Development Value: On6 J0 P9 v( Y4 q7 Z  i
  1612. ; Production Value: On' O3 n5 m  ?5 `  m
  1613. ; http://php.net/session.upload-progress.enabled& L0 N" U/ d6 [
  1614. ;session.upload_progress.enabled = On3 {, A4 v6 R! G
  1615. 2 G' i: D; _9 j# }- R
  1616. ; Cleanup the progress information as soon as all POST data has been read6 b$ [5 j+ Z- f9 l
  1617. ; (i.e. upload completed).
    2 H5 K! b7 E0 h* Z
  1618. ; Default Value: On; N* N. E. h: E9 N  l
  1619. ; Development Value: On
    * K' X; u% D  `' q5 \
  1620. ; Production Value: On$ l  c5 K+ M3 |2 H: q4 p
  1621. ; http://php.net/session.upload-progress.cleanup& C. Y9 D! [$ u( G4 j) T
  1622. ;session.upload_progress.cleanup = On
    6 b$ l# [# G) h* D
  1623. 5 h' i5 l0 m0 i, o& N2 O  g
  1624. ; A prefix used for the upload progress key in $_SESSION
    8 Z: w: u* z" K7 |3 b3 g
  1625. ; Default Value: "upload_progress_"
    6 K7 M! \  U) u  F- H
  1626. ; Development Value: "upload_progress_"* M. F4 i  U* k' j0 t
  1627. ; Production Value: "upload_progress_"
    ! ?, {$ ?( n& ^( ^! E0 o
  1628. ; http://php.net/session.upload-progress.prefix( x  E5 n' F5 K4 ?9 I* U
  1629. ;session.upload_progress.prefix = "upload_progress_"
    + h1 N' E- |7 x) V! v
  1630. 1 _8 ?8 c; A2 S  k: @/ a" a
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    / @/ p9 j, M* m2 O4 \
  1632. ; containing the upload progress information0 @: M0 k6 x* ?& P' Z, [8 q  K
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    3 O! ~9 d' `# D0 ?7 _
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    2 o5 V& T! s" h! Y
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"+ |. m4 C* ?( Y" [  }- H2 X
  1636. ; http://php.net/session.upload-progress.name1 f8 i" U; H% ^* C8 ]8 f; D) K" U
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    . g% F$ G, K) p, ]9 o' j2 i
  1638. 8 m! o3 U/ L( m% K
  1639. ; How frequently the upload progress should be updated.
    / S( w& w/ J$ G% U
  1640. ; Given either in percentages (per-file), or in bytes6 [8 P# o, h" S" y
  1641. ; Default Value: "1%"
    ; v+ C# g  p+ c: J/ P, U
  1642. ; Development Value: "1%"7 x* e3 p8 H) I6 r. n
  1643. ; Production Value: "1%"
    & x' d& A1 @3 e6 [! u5 r/ i
  1644. ; http://php.net/session.upload-progress.freq
    . f6 j) y- {- R9 ?1 ~( [  I" H
  1645. ;session.upload_progress.freq =  "1%"4 o, o4 V, r' @8 r

  1646. , x1 Q7 _" m4 }$ W
  1647. ; The minimum delay between updates, in seconds
    4 |' k% y3 F. Q; M' d
  1648. ; Default Value: 1
    8 M: g; \+ j, W5 h9 _$ O
  1649. ; Development Value: 1
    / y: F3 ]+ ?/ A% O" W* h
  1650. ; Production Value: 1, d/ }' v4 z5 W8 Y. l. d6 G
  1651. ; http://php.net/session.upload-progress.min-freq9 A* r' r% c8 p" G
  1652. ;session.upload_progress.min_freq = "1"
    ; q. z, b* P# O, C

  1653. % h& o8 m; v  C  @9 X
  1654. [MSSQL]" o7 d" F9 f7 ^0 n0 x' k
  1655. ; Allow or prevent persistent links.
    ! m5 V6 |7 F  K+ W, ~( C
  1656. mssql.allow_persistent = On
    1 U# p# E+ z: Y
  1657. ) u) k8 i" N+ L
  1658. ; Maximum number of persistent links.  -1 means no limit.
    - d$ V# _& D! q+ z2 q3 H
  1659. mssql.max_persistent = -1! d! \5 T6 q' S2 {1 t4 @

  1660. ; X9 [! P! y) z
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.3 P1 o6 G+ w# V: W2 e3 P
  1662. mssql.max_links = -1/ c0 [9 @  H9 D3 Z2 t* E1 s
  1663. - _, \- A+ p6 \5 N
  1664. ; Minimum error severity to display.
    ! k* A- z$ {4 R/ e$ @2 ~; s4 W
  1665. mssql.min_error_severity = 10  X7 P: i! g# W1 D( r) \. ^) n, r3 l5 b

  1666. 8 H: x, E1 n+ a
  1667. ; Minimum message severity to display.2 y" F5 R& M0 @+ q9 K$ p9 k, P# l
  1668. mssql.min_message_severity = 10/ G! o8 A! K; w+ Z7 w4 @

  1669. # x) L$ K& w$ A1 f5 s
  1670. ; Compatibility mode with old versions of PHP 3.0.9 G' \/ a' U$ ]( ~$ p$ m
  1671. mssql.compatibility_mode = Off
    8 A, D1 D  n( [8 V' b

  1672. 5 [# e, Y6 l5 i* X( h+ a! u
  1673. ; Connect timeout# j0 n. A! \+ l7 Y6 J2 A/ ~7 t' }
  1674. ;mssql.connect_timeout = 5% H; f' J; e$ [! `
  1675. - Z1 x4 Z# z  s; V
  1676. ; Query timeout! C. C; g" |1 _$ V, U
  1677. ;mssql.timeout = 60. s6 s; ~2 r: O3 s
  1678. ' S/ F5 ^( W& n9 m
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    ) c# S! I, a. B# d0 O
  1680. ;mssql.textlimit = 4096
    5 j9 Q8 O( b% v( y( K# a2 j

  1681. * b; g# s* c8 |6 p2 |6 R
  1682. ; Valid range 0 - 2147483647.  Default = 4096.+ o; U$ u$ y: ^) U5 Z4 O. F
  1683. ;mssql.textsize = 4096. R1 h$ e' v8 q5 l: \- c* a9 o

  1684. & r5 U" Y: n4 D* U2 L1 D
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    1 f1 ?- }# u7 I
  1686. ;mssql.batchsize = 07 ~' h; f5 z+ ~

  1687. " O! \; ~. L  Y+ F8 {9 b, Z0 _) q# X4 ?
  1688. ; Specify how datetime and datetim4 columns are returned
    5 j/ _; P; i- Z: l0 ~+ X# Z: p
  1689. ; On => Returns data converted to SQL server settings, T4 \; }4 U8 g0 c& Q. v2 I
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss8 i+ P6 C  ^3 N1 [. p5 s& p2 T
  1691. ;mssql.datetimeconvert = On; |+ L8 E: |1 S' X: i1 ]

  1692. 4 O( B  ^# b/ T5 _
  1693. ; Use NT authentication when connecting to the server! F8 i8 @- d' g+ z% v2 _" }" T1 Z
  1694. mssql.secure_connection = Off6 H% |. w$ ^1 @, }# E

  1695. ' E# ~3 i* {7 K1 `& w
  1696. ; Specify max number of processes. -1 = library default' l( J+ T& k- u8 A1 p
  1697. ; msdlib defaults to 25
    4 k3 [1 Q4 |) z
  1698. ; FreeTDS defaults to 4096
    3 |  s: a) ~* R) J4 W
  1699. ;mssql.max_procs = -12 f. k; j( M! I  |4 s% D, F! n

  1700. * a$ u) b3 Z1 b/ s* P* E1 j
  1701. ; Specify client character set.
    ' O; t, f2 i& ]5 a$ t- k
  1702. ; If empty or not set the client charset from freetds.conf is used
    * I% s6 a# t, w8 v* J* B( W) R+ F
  1703. ; This is only used when compiled with FreeTDS2 Y* ~, K3 R( |0 M6 N' D& f: H
  1704. ;mssql.charset = "ISO-8859-1"$ e/ `  C! M" x8 i2 b# u9 W

  1705. ( t) j5 b- b! m# O
  1706. [Assertion]
    2 {# j9 V* {; U0 I7 z
  1707. ; Assert(expr); active by default.2 v  u6 g' Z. H6 a1 [1 G8 O
  1708. ; http://php.net/assert.active
    + G9 U- ^8 K& A' M  a
  1709. ;assert.active = On
    # K% w4 C8 g0 f- g( c% N

  1710. 2 y8 _' k8 j, _6 f% S' m
  1711. ; Issue a PHP warning for each failed assertion.+ F' X" u, x+ |2 _4 t4 i
  1712. ; http://php.net/assert.warning
    8 h, ?0 n: S: A2 H9 ~) A
  1713. ;assert.warning = On
    % Z; v, r  h; h2 w- U% Z+ Q

  1714. ) A2 ?+ u& f  y
  1715. ; Don't bail out by default.5 R0 U4 o8 j; i! ~6 q; Z
  1716. ; http://php.net/assert.bail7 @* I9 p% A4 q
  1717. ;assert.bail = Off
    ( [- q5 ~( U. P* Y/ O3 d  {, W

  1718. ) o3 y. d/ `" r6 i  |( ?2 B% X
  1719. ; User-function to be called if an assertion fails.
    ) R& A# `' S* Z$ J$ J# x
  1720. ; http://php.net/assert.callback
    , l* Z$ }8 X8 S' S
  1721. ;assert.callback = 0; ]0 m# L6 q; t1 W2 A6 M

  1722. % g5 L, l3 l& `+ E# s. w
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    : L* _  T3 }+ w# L- s# q) T
  1724. ; error_reporting(0) around the eval()., v3 t7 R6 ?7 B6 W7 P+ F& p
  1725. ; http://php.net/assert.quiet-eval3 y5 J$ e9 b# [) e" s! d/ T
  1726. ;assert.quiet_eval = 02 V. K8 z% X; C
  1727. % p3 C" e6 e+ R/ ?- T& [
  1728. [COM]# x0 ]- J* k# h, ]' n
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs, ?3 a/ z/ S" H6 L: @. @
  1730. ; http://php.net/com.typelib-file
    0 X4 ?; u- c6 p' T0 f+ a* v4 a
  1731. ;com.typelib_file =  G. j9 W8 a( @& S9 y1 F
  1732. 5 V  M  P0 m5 X: Q4 x. c  g
  1733. ; allow Distributed-COM calls2 x1 A  I6 d! d  |5 I& m2 t' T
  1734. ; http://php.net/com.allow-dcom
    3 S% z/ k3 z) M+ O  P, i3 j
  1735. ;com.allow_dcom = true6 ?7 s$ v& D0 X
  1736. 8 I6 |% t0 j3 I6 P4 U& {0 G( |
  1737. ; autoregister constants of a components typlib on com_load()* ^; G6 L6 c) z* L9 ?# U6 X5 t/ X
  1738. ; http://php.net/com.autoregister-typelib
    : J+ E  e7 I) Q' S! C5 H5 [6 ?+ \
  1739. ;com.autoregister_typelib = true1 i+ T7 r0 @* a0 q

  1740. * S1 g) J/ u5 V7 {* w2 b
  1741. ; register constants casesensitive' k& J: v5 P& @9 U, Y& E9 \
  1742. ; http://php.net/com.autoregister-casesensitive
    & `3 [6 v. P6 [/ y
  1743. ;com.autoregister_casesensitive = false
    / c) h* x: m$ a+ n

  1744. $ N3 h7 G& b! R; E- D
  1745. ; show warnings on duplicate constant registrations
    ' `' H4 u# i3 `* D( V
  1746. ; http://php.net/com.autoregister-verbose
    # L; C( z2 A# |5 w: l
  1747. ;com.autoregister_verbose = true  M. j& ~: U, y2 m
  1748. + q: i& p5 j2 C
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    " o+ z6 ?/ g  S- `! J5 V
  1750. ; Default: system ANSI code page: g) Z7 c1 j& [' g, C4 }
  1751. ;com.code_page=
      O/ A0 i! g# F0 i* Y; y; i
  1752. $ U# L8 A# J+ R5 v
  1753. [mbstring]$ H( a' {3 w  k7 t9 E
  1754. ; language for internal character representation.
    6 s; C4 C1 o& e! `1 d, a
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.' u! o( o4 E- f4 y8 }# f6 a: b
  1756. ; http://php.net/mbstring.language7 e: `! o. J% o8 f2 d8 b& {7 W* W
  1757. ;mbstring.language = Japanese% @) K% I$ O( y! `* y) E  b% O, @

  1758. # |0 I9 s9 ^4 N9 n% }- ~$ N% q
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.. C: c9 ~' F* E0 x0 P% ]
  1760. ; internal/script encoding.% [9 q" R# b9 H& S% w
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    4 `( e/ n5 k* U4 y2 |, F
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    / f" N0 L2 X2 s2 `2 c: [
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding& a: \0 U9 H# R1 X
  1764. ;mbstring.internal_encoding =/ C6 Y$ Y# ~. p$ T' l) S

  1765. $ s3 H6 }: f  G4 y+ X
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.6 w5 l9 f( ?/ n5 w
  1767. ; http input encoding.8 E$ y7 c$ }: u0 ?
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
      F0 k" \' S  Z3 y$ Q
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used., K2 M1 C0 G( p; V" g) O! v
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    : h) L) \' q/ x5 ]) k  x6 r
  1771. ; http://php.net/mbstring.http-input; N& X2 Q. Z9 l1 _( @) @- W
  1772. ;mbstring.http_input =
    - h- P5 p) e) w$ D9 N
  1773. 1 P) f" O6 F9 }' A& @0 j4 \" }
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.0 N& K" y: \+ X+ W! r
  1775. ; http output encoding.
    5 D1 I" f4 G: y. n! M. g
  1776. ; mb_output_handler must be registered as output buffer to function.- i. \/ _6 ]1 Z; ~
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.& [) R  N  S$ f" ?  }3 `
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    ; q8 }& j7 Z; Z3 y! w, o
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    ( I: N$ N/ t; v' d; @: Q
  1780. ; otherwise output encoding conversion cannot be performed." O$ l) y' e$ S, b  o; x
  1781. ; http://php.net/mbstring.http-output% I$ c- h, X' J- ?8 T' |
  1782. ;mbstring.http_output =& Y+ A$ q  Y* s1 s. x9 ~
  1783.   J) m% n) g8 _& X. m: O; R+ ]
  1784. ; enable automatic encoding translation according to
    / w3 R1 h) G+ A4 q- b
  1785. ; mbstring.internal_encoding setting. Input chars are+ k* K8 Q# }4 u# G
  1786. ; converted to internal encoding by setting this to On.
    ' K5 R4 d2 n3 \( M7 n3 X
  1787. ; Note: Do _not_ use automatic encoding translation for
    ! ^9 J, o: r4 i8 `% i% r/ W8 T) p
  1788. ;       portable libs/applications.
    ( v) X$ a0 g8 d0 Q; ~8 t
  1789. ; http://php.net/mbstring.encoding-translation
    ' I7 O- |" P/ p+ c" l5 y, L6 V
  1790. ;mbstring.encoding_translation = Off
    - h: v! |9 W5 g- N( R

  1791. ( e, D' J  V$ d! X
  1792. ; automatic encoding detection order.
    7 k+ j; |7 A+ R. G$ D2 ^
  1793. ; "auto" detect order is changed according to mbstring.language( g% s  u0 r4 L5 {  P2 y$ c1 ^( i
  1794. ; http://php.net/mbstring.detect-order1 k% ~5 B5 W8 A) v0 s* t
  1795. ;mbstring.detect_order = auto
    * B3 H5 w5 [6 m* s$ s$ z4 H

  1796. 7 Y) A2 o4 i5 T
  1797. ; substitute_character used when character cannot be converted
      ]4 P% ~9 a5 Q# w. B
  1798. ; one from another  }9 @9 d. m4 j3 n
  1799. ; http://php.net/mbstring.substitute-character
    . K# z/ |$ G  x/ y/ }
  1800. ;mbstring.substitute_character = none
    * a+ y# v/ S& c6 G& @6 c& A  R/ V
  1801. ! R9 }- k+ N  i- h' P9 ^
  1802. ; overload(replace) single byte functions by mbstring functions.
    $ [5 w7 f9 ]3 {+ u/ j( o
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    ! `8 c3 W  W/ n+ x0 r1 v
  1804. ; etc. Possible values are 0,1,2,4 or combination of them., {: w9 P4 v6 r
  1805. ; For example, 7 for overload everything.0 q1 g& z4 H, `( r
  1806. ; 0: No overload
    5 K" Y! J- R9 D$ u1 Q- c) i
  1807. ; 1: Overload mail() function$ d9 J* G7 m: }4 b+ c( \7 w
  1808. ; 2: Overload str*() functions0 A7 f  j) J/ [; s3 E0 x% ^- p
  1809. ; 4: Overload ereg*() functions
    ; t. D3 b& B" X: u1 `- }8 X0 F7 r
  1810. ; http://php.net/mbstring.func-overload; h# S0 n& V; w% I5 ?8 U
  1811. ;mbstring.func_overload = 0
    7 r* _$ n0 T2 C1 t% |+ ?
  1812. 7 e9 t) A0 y5 w8 M! a. G4 H
  1813. ; enable strict encoding detection.0 U0 n, a: _  l' p
  1814. ; Default: Off
    / Y/ F7 @+ ^4 k( u
  1815. ;mbstring.strict_detection = On
    ! d* T6 d8 u7 A+ d

  1816. ) Z, k) Z# ~! S9 r7 _0 O
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    6 L0 i9 J% J2 n5 l
  1818. ; is activated.
    ( g; r$ A0 Q+ l, U) `- U, L5 j
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)1 ]( l7 x3 R) x* E0 i& V' w( C
  1820. ;mbstring.http_output_conv_mimetype=
    $ K9 W  P, e( x9 u3 k
  1821. 5 o* _' J) u/ j, \7 s0 U+ k' `
  1822. [gd], X. z0 J6 J5 b, Y8 Y$ [2 Y
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    5 z( z1 u! t- \1 Y0 H! J& b
  1824. ; a gd image. The warning will then be displayed as notices
    - a* i8 s% V3 R/ k' I
  1825. ; disabled by default
    9 @6 {3 {0 k6 J4 ~
  1826. ; http://php.net/gd.jpeg-ignore-warning
    8 ^9 V' o4 K* h( t7 u
  1827. ;gd.jpeg_ignore_warning = 04 l" n* ~4 e0 L( v- m0 D7 |
  1828. 6 a8 a* U; \* o3 m) I9 v
  1829. [exif]9 u+ U, I7 D4 d. N( k3 z% S
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    7 i3 L8 m- W, T7 }" `
  1831. ; With mbstring support this will automatically be converted into the encoding
    & Y$ C; K4 c* O. K  b
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    " _  j& k+ H3 H/ x& `
  1833. ; is used. For the decode settings you can distinguish between motorola and1 T; ?# o% j: b9 c* P
  1834. ; intel byte order. A decode setting cannot be empty.2 j9 K4 x# {) j& O) }
  1835. ; http://php.net/exif.encode-unicode
    8 |2 M* N6 d5 [
  1836. ;exif.encode_unicode = ISO-8859-15' G' Z8 e( d; e" J" s) @: l
  1837. / v# {6 T+ B, t% \
  1838. ; http://php.net/exif.decode-unicode-motorola
    4 ]1 ^0 T5 }4 N/ z7 v  @7 f3 U- Q
  1839. ;exif.decode_unicode_motorola = UCS-2BE- E7 ~* S1 V7 u$ R# r5 Z4 j

  1840. ' D0 a6 }% ^, z' B2 l- a7 ?1 m; B
  1841. ; http://php.net/exif.decode-unicode-intel7 {; D% r( J9 l4 A. f) a- _. K7 T' K
  1842. ;exif.decode_unicode_intel    = UCS-2LE3 e- J  v0 P2 v/ J8 L/ `& L  f

  1843. ' ]+ C+ C6 f3 x, p4 ]6 Z9 L
  1844. ; http://php.net/exif.encode-jis) S3 E, G. Z2 H: \/ h/ r
  1845. ;exif.encode_jis =" @- t5 d4 v$ {$ q, R

  1846. ; F( P2 x. q  L5 Z" y) @7 I) N
  1847. ; http://php.net/exif.decode-jis-motorola
    2 x" h0 f5 K- }. p; e& ?
  1848. ;exif.decode_jis_motorola = JIS$ S  N: j7 Y, s; \

  1849. $ L; M4 r$ c0 n* K5 W& q- H# [' Q
  1850. ; http://php.net/exif.decode-jis-intel5 f: d( _- a' N$ p$ B/ o
  1851. ;exif.decode_jis_intel    = JIS# x3 \3 O, z' \. W  _
  1852. / \" m0 E' A$ O8 `+ J: P
  1853. [Tidy]- L+ K# w  H7 U9 x- M
  1854. ; The path to a default tidy configuration file to use when using tidy6 s* d0 Y3 s7 t
  1855. ; http://php.net/tidy.default-config0 P" r6 W1 R$ v+ V( O5 b; l4 d- X+ `6 T
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    , a6 k9 j# k0 P, @/ R+ I& i9 C" X! ]
  1857. , f: p8 Z+ p4 t0 ^9 V( z4 F
  1858. ; Should tidy clean and repair output automatically?
    6 Y, ?3 I# {6 t4 y
  1859. ; WARNING: Do not use this option if you are generating non-html content
    ; \( ?: m1 l9 A* @: g! U
  1860. ; such as dynamic images5 t/ c2 G/ }" r- Q
  1861. ; http://php.net/tidy.clean-output/ k, M1 _& ^2 m- T1 N# o) G0 V8 w
  1862. tidy.clean_output = Off, e( S, o% q3 a0 c
  1863. 6 Y& c  c! O% {* `$ j4 O* }& `
  1864. [soap]
    : Q/ Y. Z* Z1 V/ d5 [: A
  1865. ; Enables or disables WSDL caching feature.% r( i7 r0 V# R: _7 L5 q
  1866. ; http://php.net/soap.wsdl-cache-enabled
    " t" }, Y9 L2 w3 |$ ^- \8 A( D
  1867. soap.wsdl_cache_enabled=1
    : R* g  Z  A4 f: n% \9 |

  1868. & s! b5 m9 R1 L
  1869. ; Sets the directory name where SOAP extension will put cache files./ p+ Z* N+ b4 @- h) c* z% o, N
  1870. ; http://php.net/soap.wsdl-cache-dir
    3 J4 f: Y7 _1 ~( o( ?* A3 c
  1871. soap.wsdl_cache_dir="/tmp"
    - d8 C: a' r# R
  1872. 0 h8 Q6 y$ e5 |( g2 z# T% F9 W0 z
  1873. ; (time to live) Sets the number of second while cached file will be used. J, n( b5 t0 J2 e5 x0 r
  1874. ; instead of original one.
    6 F' L$ X: t5 s0 l) a- W$ k4 |# ~
  1875. ; http://php.net/soap.wsdl-cache-ttl
    ' f( }: I! C1 e/ k4 M
  1876. soap.wsdl_cache_ttl=864009 E2 t  M# C2 {- P, P
  1877. & S! l% O+ ~7 {( M
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    5 r; T4 {$ B0 l& {' S& N
  1879. soap.wsdl_cache_limit = 5: P6 A) t9 r. s% E* ]
  1880. / d( G( P- I6 x6 `. n6 Z
  1881. [sysvshm]/ A# @2 g% t/ d2 B
  1882. ; A default size of the shared memory segment, s) c$ h) x6 @/ Y+ t
  1883. ;sysvshm.init_mem = 10000  m' P9 _, T* X' M! w2 o* h

  1884. 1 z0 V9 A* `# t) @* h
  1885. [ldap]
    9 i5 {* l* J) c5 ^! f
  1886. ; Sets the maximum number of open links or -1 for unlimited.. J& w9 X% |' v$ m: R! P
  1887. ldap.max_links = -1
    - P' f4 I3 l, U* x5 t

  1888. 7 F( b+ O; L' P( I+ J" l
  1889. [mcrypt]* c8 A) v% w1 z# t$ M; F: E
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    / Z6 R* `. ~' u8 M0 N" @
  1891. . E- D8 R9 t8 q3 `5 ~. |7 @
  1892. ; Directory where to load mcrypt algorithms7 p) o# ^' b0 j$ S) p& y1 B
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)5 R1 |7 J8 S  W' ~' v' C* v2 U1 [
  1894. ;mcrypt.algorithms_dir=
    2 M* V9 _1 y/ D8 y. Z3 D

  1895. ' `) D' x* h+ n: E+ i) `: m( q
  1896. ; Directory where to load mcrypt modes
    / m, Q3 R4 M' V  r
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    1 S, f  T9 I4 h  {, f2 L+ J! {& g/ `
  1898. ;mcrypt.modes_dir=
    - W3 q( p! g' h7 _

  1899. 0 l. J  O- I) p7 Z
  1900. [dba]
    0 Z0 {) Q! O4 @; E
  1901. ;dba.default_handler=
    6 B& \' e6 T: |: y+ m& ?+ G: a
  1902. 6 ^6 w) k  G' G2 b+ ?$ T+ {, p% L& Z
  1903. [opcache]
      s% p, k: V* \! W
  1904. ; Determines if Zend OPCache is enabled
    ! Y' `7 o. R% ^
  1905. ;opcache.enable=00 `7 y- c! m- R# g

  1906. - Y" m- s; I7 N2 y9 k& a9 `
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP1 j1 @. h3 x' o& s
  1908. ;opcache.enable_cli=04 ]& R) ^4 R' v3 V: J, }, h; J
  1909. + s4 ?, v* `* Z7 v# A7 ?/ f1 g
  1910. ; The OPcache shared memory storage size.) Z. M" k( O5 m
  1911. ;opcache.memory_consumption=64
    0 q& s, ?( o' J8 R% d
  1912. . h) w# K( e  A3 N
  1913. ; The amount of memory for interned strings in Mbytes.
    % q9 Q* F! S0 ^1 I0 N0 ]
  1914. ;opcache.interned_strings_buffer=4
    7 {& v+ d+ F) p- T
  1915. + J0 L  c! z$ k
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.0 m# g4 b0 D+ A- X
  1917. ; Only numbers between 200 and 100000 are allowed.
    ' Z+ [! T+ y$ f3 U$ ?
  1918. ;opcache.max_accelerated_files=2000& v1 @( h, c# H

  1919. 4 s. h: J) a6 z5 L$ D+ N
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.5 H; J- O! S9 c) Y  @3 q
  1921. ;opcache.max_wasted_percentage=5. |4 p$ \' h: s) T

  1922.   a1 b( r, J- ?6 n. Q# R# d2 j
  1923. ; When this directive is enabled, the OPcache appends the current working
    - L; l5 m6 m  o8 U* X3 N
  1924. ; directory to the script key, thus eliminating possible collisions between. a+ p' |0 Y+ q) l2 {$ H4 i
  1925. ; files with the same name (basename). Disabling the directive improves+ B; C3 M, D$ [6 I: V, P
  1926. ; performance, but may break existing applications.
    # q, l5 g2 ]9 i  x
  1927. ;opcache.use_cwd=1
    2 Z, s3 M7 f  ^0 H
  1928. / u# C. p- m+ g; U
  1929. ; When disabled, you must reset the OPcache manually or restart the. Y; ^' j/ \! }) I1 l" W
  1930. ; webserver for changes to the filesystem to take effect.
    5 e" P& F6 y' U1 Z/ |7 ~
  1931. ;opcache.validate_timestamps=1
    ; o) a& t% e/ ]6 R
  1932. 0 K, ~1 F5 L- n. s
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    2 g" F* b. Y  e; Y- |- X
  1934. ; memory storage allocation. ("1" means validate once per second, but only# W& f8 T6 g% V  R
  1935. ; once per request. "0" means always validate)
    : j$ H$ n* B1 h4 s& X* g! R
  1936. ;opcache.revalidate_freq=2
    7 ^1 _4 S1 V* m% o# d* R) F! i

  1937. # |7 D7 n3 v/ N  z; G* p: w& F3 G
  1938. ; Enables or disables file search in include_path optimization
    ; y# X2 c& f0 @) ]  W
  1939. ;opcache.revalidate_path=08 I2 Y. S) `( r2 p2 [7 y8 K/ j8 B
  1940. " S& |  B7 }2 Y3 @9 ^* U! C
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the. U  `( Z6 M6 c  p" {2 P; l
  1942. ; size of the optimized code.# A2 \! [1 t" t4 a
  1943. ;opcache.save_comments=1
    ! G4 \& B5 K2 t

  1944. 8 p8 c9 c2 I( ]! F
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    , p) b" f  P: y9 u: ~+ J6 }
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    8 {) v" X& T' v2 P" s& ?
  1947. ; that don't need them anyway.# P( c$ D9 P- e0 I
  1948. ;opcache.load_comments=1
    ! u" B7 H- U& A7 V
  1949. ( k. L+ g( b0 {3 ^# \( k
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code: W" V9 r6 G0 e2 T3 i2 G
  1951. ;opcache.fast_shutdown=0
    . K6 |, a  l, d2 }9 U1 C7 f

  1952. 7 x7 e% E) N" m2 y; O
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    ; u. g5 R3 m, q
  1954. ;opcache.enable_file_override=0
    4 s" i% P, w' I. ]+ O

  1955. ' l; f/ ~( W6 \2 O7 j
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    2 e: L% P; F! ]* U6 M4 B0 A# j; ^- R
  1957. ; passes9 ~, ?1 _) U. r& K& r$ k
  1958. ;opcache.optimization_level=0xffffffff
    8 Q3 N, U) p# `* D6 ^
  1959. & Q. j$ Q1 w  j
  1960. ;opcache.inherited_hack=1
    3 {" C: b/ x" R# Z
  1961. ;opcache.dups_fix=0+ F# y2 {9 e- A& }$ T9 q) l/ q" k

  1962. ) l' s# d0 ?5 M: n; V3 I- [
  1963. ; The location of the OPcache blacklist file (wildcards allowed).4 L. A; F! }0 o  Y0 s  [) x
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    $ }' E+ _# S3 b! K) h' S8 j
  1965. ; that should not be accelerated. The file format is to add each filename
    . e5 Y' R2 g) `% u# X, a5 A. s
  1966. ; to a new line. The filename may be a full path or just a file prefix
    3 q) x8 a0 B+ `: l: B0 `& {/ C- U
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www  P7 t1 R0 h, T7 }* {; ^/ t& W% q
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    . {1 B* k( s: g- t8 g
  1969. ;opcache.blacklist_filename=& x; o! q! m/ N: m9 z
  1970. ! G& l* y; C! n7 l
  1971. ; Allows exclusion of large files from being cached. By default all files- A# R, r7 b# G) u# l9 U( i
  1972. ; are cached.( M& R0 L) Q( h4 V1 {9 g4 G
  1973. ;opcache.max_file_size=02 f* ?6 O) U" I/ r
  1974. 5 E% m" D7 ~5 i+ M$ y+ _6 g
  1975. ; Check the cache checksum each N requests.0 {# L8 y6 N* B5 j
  1976. ; The default value of "0" means that the checks are disabled.
    ( y5 }9 F2 K! A( l2 Z* @1 l
  1977. ;opcache.consistency_checks=0
    # x$ ?6 B. Q4 W2 A

  1978. ' j3 X; Q  ~# M) Q% ~1 B, S+ V' E
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    % G6 r8 K2 j) k9 [
  1980. ; is not being accessed.7 q/ t& W; d7 i- C$ R( g
  1981. ;opcache.force_restart_timeout=180$ P% ^0 j$ F% r" ]0 _8 {0 v9 N1 n

  1982. : k* O- j1 t3 L2 J1 {7 b
  1983. ; OPcache error_log file name. Empty string assumes "stderr".4 j' ?6 s3 H/ ]9 P
  1984. ;opcache.error_log=
    " u6 M0 S: }* }8 P6 F# k6 \  c, O
  1985. ! b% g' g" _* O! `+ o
  1986. ; All OPcache errors go to the Web server log.2 `" _. W0 A# N! O& X/ ?
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.$ Y1 e+ V( g" K5 z( V
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    ! W3 k2 T; f, N9 [7 u3 _0 ^; }
  1989. ; debug messages (level 4).7 p8 e/ {0 v1 \1 Z& |
  1990. ;opcache.log_verbosity_level=1
    ; f/ i8 c( p/ a5 M
  1991. - O) G- a; T3 l/ ]
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.9 Z! q6 |6 p( O- a& x9 J* q! k( E5 X
  1993. ;opcache.preferred_memory_model=4 D/ [% T/ n' w: q# M

  1994. 4 A+ u: L/ j8 X1 a
  1995. ; Protect the shared memory from unexpected writing during script execution.) l. c0 v/ M# y
  1996. ; Useful for internal debugging only.' q: ^3 ?3 p* T" k; B
  1997. ;opcache.protect_memory=03 Y  S$ t7 P6 r+ p' L$ c
  1998. 9 t; _- N  P6 p! M3 k, T) w! J4 c7 n
  1999. ; Validate cached file permissions.
    % ^9 H# ^3 U! F- K
  2000. ; opcache.validate_permission=0
    $ i9 e9 V" ]' c6 J+ k' N

  2001. 6 [: Y+ u7 Z1 z/ L' o+ J4 R
  2002. ; Prevent name collisions in chroot'ed environment.7 h6 w1 d) J( Y) B) Z4 R3 p
  2003. ; opcache.validate_root=08 P( x& w' R% l; |, k

  2004. : z/ d' W! j* R/ x$ _
  2005. [curl]
    & A0 @: C' h! C$ Z- b
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an' B  L2 ~+ P8 D( M0 Z! R& d
  2007. ; absolute path./ r0 i3 ]3 }) A9 k! ~$ B# N
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt. L% K. s- H' m
  2009. 2 Z# y/ a3 J$ t  u. C
  2010. [openssl]
    5 g8 J$ D/ n+ b9 q# x& g% t
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    $ a6 f" \) y) R
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    + b$ H/ y0 W& H9 @
  2013. ; not specify a value for this directive as PHP will attempt to use the; t" h1 `& ~/ J* C4 e
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    8 U# e8 f7 R& |) V  A: _
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context% V$ U2 `0 O4 g# [5 G- [8 m
  2016. ; option.9 X3 h' {- N$ B
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt* c: J" a- d; P: h% q) ^: ?
  2018. 6 C0 N" {1 r: k/ {! U* R
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the+ ]+ e: {5 P) ]5 G
  2020. ; directory pointed to by openssl.capath is searched for a suitable" E+ F5 a1 m' z! q# L
  2021. ; certificate. This value must be a correctly hashed certificate directory.' D/ l2 U6 d5 h, Q
  2022. ; Most users should not specify a value for this directive as PHP will
    % j' a, q- a) G& s
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,( }' D4 B; v  j8 L4 D9 [) v
  2024. ; this value may still be overridden on a per-stream basis via the "capath"/ c' z, g& y/ C* M0 ], l3 v
  2025. ; SSL stream context option." R) G$ Q+ d: W* o3 k" C
  2026. ;openssl.capath=/ F3 _- d6 Z- q1 L, C
  2027. ' e$ H) Q- m. a# O+ z, U# t( [2 g  Z. Q
  2028. ; Local Variables:
    & x4 p" `5 D$ r% G! D) S
  2029. ; tab-width: 48 S5 G7 D$ a8 d5 @
  2030. ; End:
    4 j) |. [3 G' l  L/ B

  2031. , I+ Z' K/ h! r
  2032. ;eaccelerator
    # r% R, }. ]! B& p

  2033. $ F) l# V: h2 z
  2034. ;ionCube4 v- A( u7 h3 _; a7 f" c

  2035. " N2 Y& F; j% d6 I  w
  2036. ;opcache5 k) Q7 P  B- X* s+ m- w

  2037. $ Z- @+ l% ?7 o; I; @9 E  C
  2038. [Zend ZendGuard Loader]; I1 D- E0 i$ a9 [" ?) y+ C
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    . g3 d# X9 Q4 y9 l2 e+ c( g
  2040. zend_loader.enable=1
    6 p$ X% `, o' M. y' E2 M" V% s: [) `
  2041. zend_loader.disable_licensing=04 L7 ~8 U" A* }2 L; R1 G: a9 j
  2042. zend_loader.obfuscation_level_support=3% m- Y6 D: O  M% l
  2043. zend_loader.license_path=
    + \$ ]1 ^$ X, w
  2044. # ^( `8 ?# d3 b! i) L
  2045. ;xcache/ D( F, G. z; l6 o- a

  2046. . n% \0 \3 H- p* ]0 f, t$ ]9 m9 K
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
0 w4 J$ o0 p9 z6 I' i8 P6 }' x+ G; n1 H$ X
+ {* C  E- N/ ~
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,- C7 p, _6 j9 L

" L& F7 o  Z9 ^2 r6 IDiscuz!程序版本选择:
- }- ?8 A5 F2 S- L$ ]站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,/ Z+ [+ e: S6 |6 q
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:2 ~! n0 s3 I7 w, T1 n
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。
- Q5 b, p4 i$ t8 D- V- e5 {' ~; |' x0 O+ R; w; s- c# v& a
Discuz!插件模板版本选择:% g9 B! Q( j6 {& r
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,; r: N: m9 V5 _
针对这个问题做个统一的普及:5 C/ x( y# ~$ B
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。0 J& B- Y/ c' E) @4 m$ m
! X5 [( E4 i; ]2 ]6 H
所以
8 ]9 M; x' T- `) y3 ~4 z5 Q2 Q& l适合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的二级域名。
/ z2 W/ `2 |/ H" z& Q, M. k3 G打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。# a! g4 l- b* }' a. E  S3 O
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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