分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
$ U# `; ^4 [! a7 y% J" K' w) i, x1 w& @5 Z# f) K" h* a# h/ V$ {' C8 R
  1. [PHP]/ e, |( w0 x" J

  2. 5 C: o. }0 I3 i8 I6 _  C
  3. ;;;;;;;;;;;;;;;;;;;
    ' P# _! M+ q% K9 l
  4. ; About php.ini   ;
    5 D1 U+ D8 q$ |! O6 a
  5. ;;;;;;;;;;;;;;;;;;;1 {: S! Z& k" H$ C
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    * Q6 q* ~* l$ }$ n, r2 L$ u
  7. ; configuring many of the aspects of PHP's behavior., `# b" g8 S6 Q5 N! q

  8. % ?& Q. i% T% D+ I* d) u# R& X
  9. ; PHP attempts to find and load this configuration from a number of locations.4 I3 A9 T5 ]& G0 f; J
  10. ; The following is a summary of its search order:
    * Z- x+ k# |) S% B2 `- _& P- N% W$ ?5 _
  11. ; 1. SAPI module specific location.
    6 A3 q7 z/ I* p7 [/ Q* q
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)# H9 m8 n" Z+ [- k9 G
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)% e! O8 E( ~$ |1 T: `! `
  14. ; 4. Current working directory (except CLI)6 I1 r% h8 h4 \
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    $ F$ s; O4 L+ G+ K! W% N3 `+ k3 G
  16. ; (otherwise in Windows)
    - `- h, I- h4 x4 T" g
  17. ; 6. The directory from the --with-config-file-path compile time option, or the0 m2 C- m0 V' T$ E* R* x
  18. ; Windows directory (C:\windows or C:\winnt)
    7 M. E8 q* ^- s0 G+ ]- f! Z2 S* [/ }
  19. ; See the PHP docs for more specific information.
    ( _' h  r7 R, H' E& D1 G3 ^
  20. ; http://php.net/configuration.file
    6 \5 k( `2 h6 i, ^3 t
  21. 8 ?' _2 C8 m% k7 O
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    ) x! q5 r, F  q- r+ V5 f
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).- {. H. F4 m4 G# d! d
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    ' C! A2 j7 C% b( L  f& ^
  25. ; they might mean something in the future." e. F+ V  j/ E! H  x: b

  26. # a" ?& e9 W+ P5 _! p5 T, h9 N
  27. ; Directives following the section heading [PATH=/www/mysite] only
    3 H* U  |5 `5 w( {* M. a
  28. ; apply to PHP files in the /www/mysite directory.  Directives, e$ H# i: h3 Z, m) k
  29. ; following the section heading [HOST=www.example.com] only apply to
    . G+ |: E3 r$ W
  30. ; PHP files served from www.example.com.  Directives set in these0 t' R0 i# R# V; z, h
  31. ; special sections cannot be overridden by user-defined INI files or
    9 e5 G2 m" E6 w' b
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under  }. b' g# ^' Y3 l- T
  33. ; CGI/FastCGI.! V# ]2 K, I6 i" x" N6 x6 l+ t
  34. ; http://php.net/ini.sections  P8 q7 P" I/ p1 Q
  35. ; P# z/ B2 M8 X# j
  36. ; Directives are specified using the following syntax:* b4 @; b- n$ l% i# R
  37. ; directive = value' G, G1 z* r0 L/ B* Z0 `; _
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.) {1 |; d) `4 ~0 V) c: b! S
  39. ; Directives are variables used to configure PHP or PHP extensions.
    . `4 G+ l* Z% K* G! B% z
  40. ; There is no name validation.  If PHP can't find an expected9 y6 o% i$ v( o) P: `8 ]+ n- W
  41. ; directive because it is not set or is mistyped, a default value will be used.$ z/ e1 z+ O. @) ^7 i) i1 _

  42.   i  {' O3 P1 W6 c2 H  o
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one. u. t/ T, c; B# [! O/ q
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    % r. S$ ?% a0 h
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a  f2 q7 T$ G# U/ S1 l: T
  46. ; previously set variable or directive (e.g. ${foo})
    & V: D- ^% Y; Y" w& l, `" {
  47. + s2 C" l* ^0 f9 r, L
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    & O3 H# _8 P1 ]8 O" R9 a
  49. ; |  bitwise OR# g/ |2 I* @- i- x/ p$ ]  O
  50. ; ^  bitwise XOR0 g* m7 t+ d- k& o
  51. ; &  bitwise AND1 Y# v! ?% ?" [* G$ g9 F* x
  52. ; ~  bitwise NOT7 w! A6 ?' o4 t" C# M1 R
  53. ; !  boolean NOT8 X8 p* P* O/ q, }
  54. 5 l; e6 \& |( M& M% m% @, ?2 [+ w
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    2 `/ j: e  H' W$ f4 {/ r1 F4 E
  56. ; They can be turned off using the values 0, Off, False or No.
    / d$ [0 h( g4 Q

  57. & @  F7 P3 l6 b' L* f8 Y5 o
  58. ; An empty string can be denoted by simply not writing anything after the equal# q" T7 I" N$ d/ z$ b
  59. ; sign, or by using the None keyword:
    + B4 \' Q- h  S
  60. ' k) l( O( o0 L0 [
  61. ;  foo =         ; sets foo to an empty string0 W/ g+ v+ e+ Z* _
  62. ;  foo = None    ; sets foo to an empty string
    % j: _9 O* ]4 |
  63. ;  foo = "None"  ; sets foo to the string 'None'
    / j0 o. ~7 w8 {: J: [

  64. ; e9 R5 ~2 [. ]# {/ A
  65. ; If you use constants in your value, and these constants belong to a& T) h8 B. d4 X& j
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    ) R4 x7 x' Z8 `  K
  67. ; you may only use these constants *after* the line that loads the extension." |0 W/ |. @, e" V3 h2 V; Z' [

  68. ( ?$ Q1 o) S. P& Q. J% L- ]
  69. ;;;;;;;;;;;;;;;;;;;* @2 s1 O$ y- s/ G! |  Z7 h
  70. ; About this file ;
      k( A& d0 ?- _* F( ^! Z
  71. ;;;;;;;;;;;;;;;;;;;
    ; j$ x: w/ O+ z3 }  ~. K6 P
  72. ; PHP comes packaged with two INI files. One that is recommended to be used7 F7 ], {# t! t1 h( x. b( u8 |/ j' H0 k. d
  73. ; in production environments and one that is recommended to be used in0 a# _2 b% @* |+ Q
  74. ; development environments.
    / Z9 {  U, {" j8 {

  75. . {6 V, H. c+ V6 d# g+ J7 G
  76. ; php.ini-production contains settings which hold security, performance and
    9 M+ N" h+ H) }5 a6 w! v- C  j9 c
  77. ; best practices at its core. But please be aware, these settings may break9 i& @' [0 [  H0 r& {# y! u) [" Q8 h
  78. ; compatibility with older or less security conscience applications. We; ?9 d6 D0 O  @3 [9 V. G
  79. ; recommending using the production ini in production and testing environments.
    . ^& Z0 j- |% O) Z1 \
  80. ' `: ]' y( r. Q. R6 o; s6 `
  81. ; php.ini-development is very similar to its production variant, except it is% g7 J/ `+ a- {. v( F7 F
  82. ; much more verbose when it comes to errors. We recommend using the" m' t, d' P+ g% \* B! p  G. [0 f
  83. ; development version only in development environments, as errors shown to
    * y1 ]" y$ ^2 l) g4 W
  84. ; application users can inadvertently leak otherwise secure information.
    9 A% P& i! f- J; l8 O1 f
  85. " C8 Q  f& X( b7 D- g" P$ M
  86. ; This is php.ini-production INI file.
    % p3 m: d0 x% H0 K5 @

  87. ' p* j( n) Z- B4 w+ O
  88. ;;;;;;;;;;;;;;;;;;;
    4 O1 i5 D& O: S9 n* ^
  89. ; Quick Reference ;
    & E0 `3 @5 J; e$ n* b3 m! N
  90. ;;;;;;;;;;;;;;;;;;;
    3 W) O& M; e8 W3 [
  91. ; The following are all the settings which are different in either the production" T5 U, U1 R1 ]1 a5 p6 D( r" R  w
  92. ; or development versions of the INIs with respect to PHP's default behavior.1 e& t8 g. P, x) h
  93. ; Please see the actual settings later in the document for more details as to why' S1 E1 U$ y) V9 M* x
  94. ; we recommend these changes in PHP's behavior.
    ' S: E  v9 U( p) @. C2 h+ L
  95. 8 q5 U4 d, Z1 j: |/ C3 |  i
  96. ; display_errors
    : u8 `. L0 x$ F+ ^/ x( |  n. F
  97. ;   Default Value: On2 ~, `0 l: ?# d% ?/ C
  98. ;   Development Value: On
    0 S0 n+ [* e' @/ k2 d. i: z( \
  99. ;   Production Value: Off/ d) E+ U- b3 K) x, A- w2 j  z

  100. 1 z! `& E3 q; z5 ~9 i' a
  101. ; display_startup_errors
    1 e5 }7 w& G/ J# _
  102. ;   Default Value: Off- G3 F9 u& D* K9 B) Z. d" W+ ]+ d) N" g
  103. ;   Development Value: On
    / l: o" ~' d8 l# v4 E3 B  u
  104. ;   Production Value: Off, ]* M0 _- ]: ]. l5 e% X

  105. + n0 |, G& |+ F8 J7 Z
  106. ; error_reporting: \) Q1 \9 E: y' l1 p
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED! k% B0 |! t/ f
  108. ;   Development Value: E_ALL
    , b+ b& s3 }: M6 t3 g8 \% V
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    / e; d& a  c; u
  110. - ]0 B' {3 C* z
  111. ; html_errors; _% g6 h0 w; ^
  112. ;   Default Value: On
    3 Z2 g" O  T9 F+ ^) q$ O* ?' C. M
  113. ;   Development Value: On
    : a- a( `/ E4 K! Y
  114. ;   Production value: On: I9 }' J5 [7 ~; V. {: X
  115. : d# s0 C& v# ?4 Z
  116. ; log_errors$ D2 r; ~+ N0 @0 `. @2 d! E
  117. ;   Default Value: Off: G, N; d3 a8 @. S
  118. ;   Development Value: On
    * ]+ G+ g- m5 g2 Z
  119. ;   Production Value: On
    3 {% W* {( X; T
  120.   N) N2 _. y+ ]7 Q2 J8 ~2 Y# t
  121. ; max_input_time1 J4 [/ O/ A: k  Y. @
  122. ;   Default Value: -1 (Unlimited)
    4 o, b1 r. P9 Q- U; m% `6 \
  123. ;   Development Value: 60 (60 seconds)4 v- {1 c! _, k* e
  124. ;   Production Value: 60 (60 seconds)0 }5 S9 c. v: J4 b" O6 V8 n' n

  125. 4 ^. `6 ?) I& N9 W& T
  126. ; output_buffering5 y! M+ Q, D( {2 j& {: J
  127. ;   Default Value: Off
    $ H! Z* O0 [) d: E
  128. ;   Development Value: 4096
    - m* |$ P/ R9 z( n  O- E4 z
  129. ;   Production Value: 40969 ]! T0 Y9 U6 s/ E5 W' ]
  130. ( E' W& \3 Q' w5 U# G4 K
  131. ; register_argc_argv, Q2 g7 z& k7 m
  132. ;   Default Value: On
    ) g, w+ Q% C, u* ~" f; f- f5 [
  133. ;   Development Value: Off
    : n( I4 a8 C- z/ n
  134. ;   Production Value: Off
    : R; |$ p: w2 a' u$ u) d

  135. 4 E& ^% T3 o/ `- f# _
  136. ; request_order
    2 J9 t' Z+ Y( l4 x0 O
  137. ;   Default Value: None
    - Q5 c+ Q: S4 B0 i" a/ l: y* F
  138. ;   Development Value: "GP"
    0 X2 a& P* \5 k. ]& |
  139. ;   Production Value: "GP"/ N% b9 J9 Q! \; g6 C+ T

  140. ' z) Z9 n8 Q" i2 C$ B# B
  141. ; session.gc_divisor+ c! W( @! U9 x" i+ a
  142. ;   Default Value: 100
      ]% o+ @! n) @" k2 B* F
  143. ;   Development Value: 10000 \" _5 b! ]9 H
  144. ;   Production Value: 1000* B3 Q( L6 ~' D3 g

  145. ! \( F+ M4 r, B
  146. ; session.hash_bits_per_character
    . p, p: C1 r/ }- m
  147. ;   Default Value: 41 r+ Z$ ~, ]6 L" q8 p
  148. ;   Development Value: 5* j( T9 @$ I; ^' m6 L0 C$ O
  149. ;   Production Value: 5
    : a0 R. z- N- @6 c" ]
  150. 3 ~2 O( C% N7 U6 ~' M, U* o, h) ~
  151. ; short_open_tag
    6 N' c& c0 ?  t1 |
  152. ;   Default Value: On
    % v  k) b/ c" m
  153. ;   Development Value: Off
    7 d/ I' \7 D! [, H% W# Z
  154. ;   Production Value: Off
    7 w. ~' |! ]2 A1 x' z9 H" f' F1 Q
  155. 9 t  H% K9 o0 ~) U; Z
  156. ; track_errors
    5 X9 ]7 q1 f. ]9 }: z3 b
  157. ;   Default Value: Off
      x; ^. o) T$ j- _4 }% y
  158. ;   Development Value: On
    * \/ A- e+ e) T6 g& I! y% V
  159. ;   Production Value: Off
    : H5 ?7 ]: F0 a

  160. 3 b; R$ |, O4 V
  161. ; url_rewriter.tags; L+ N9 N" B2 z
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="# e7 @1 n0 ]$ Y! k# U/ z: L1 S7 `
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    . ~/ r1 D7 q) J8 {
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    3 S8 R/ F+ J3 |: S+ h

  165. . L( {# z8 R! y6 r" B
  166. ; variables_order
    $ W7 s$ `7 i  s, W
  167. ;   Default Value: "EGPCS"' Q- p  p8 a8 m4 V7 j$ p( j
  168. ;   Development Value: "GPCS", K8 o6 m% b/ H+ G: `/ d$ R
  169. ;   Production Value: "GPCS"
    2 n9 U& ^8 i- t% ^  H1 z0 X& \3 ]

  170. 6 I* l: i4 p' M% J
  171. ;;;;;;;;;;;;;;;;;;;;- P8 \9 c0 k6 j' e- I1 |& U+ e
  172. ; php.ini Options  ;
    6 ?( X. p5 P( [8 U# B) F0 a
  173. ;;;;;;;;;;;;;;;;;;;;  F: I# m! e3 Y1 X% n( u
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"8 `9 }  }/ H" O4 d. ~2 R
  175. ;user_ini.filename = ".user.ini"  D# l8 Z) t  g9 w( R
  176. - z* l. s8 A: Y, a5 F" N* [
  177. ; To disable this feature set this option to empty value* t- G3 A/ X2 O1 w
  178. ;user_ini.filename =
    8 T' P: n4 Y9 x2 t" p6 H- a
  179. ( _% b& ]9 {# s
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)# B: u) z3 {: c9 p
  181. ;user_ini.cache_ttl = 300
    ( g1 J! N, ?9 R: ^
  182. 2 M0 j0 V9 b& D: C8 V7 C) {
  183. ;;;;;;;;;;;;;;;;;;;;" k3 n+ v) z+ X* K0 }
  184. ; Language Options ;
    : _9 X! Y- K# ^# [/ u( ~0 d
  185. ;;;;;;;;;;;;;;;;;;;;8 T6 Q, ]* A, c, F( u! O! @

  186. 0 y7 R; \' s6 f* N$ ~
  187. ; Enable the PHP scripting language engine under Apache., W7 {: ~" m! G+ f/ F
  188. ; http://php.net/engine
    / s& ]& U9 W2 ~2 H) `" R" m
  189. engine = On
    + F8 Q; E/ b8 v; T8 G- ^# h# F! p& G

  190. " p0 `% r+ a+ v% r) y
  191. ; This directive determines whether or not PHP will recognize code between; q' \2 p! [. P6 n* l& v6 n
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
      A7 F9 N9 v5 J. `, q
  193. ; generally recommended that <?php and ?> should be used and that this feature
    ' x$ v0 J& _0 n1 ^. ]$ h
  194. ; should be disabled, as enabling it may result in issues when generating XML: E1 g: B" e2 k9 R5 ^8 d
  195. ; documents, however this remains supported for backward compatibility reasons.
    ! H2 ?( P: O# _+ E: V7 z
  196. ; Note that this directive does not control the <?= shorthand tag, which can be$ K7 [" Q; Q9 N. x5 {9 D
  197. ; used regardless of this directive.8 H" J7 W, C# w4 K; V2 ~9 C
  198. ; Default Value: On
    3 l. b. k8 I/ B
  199. ; Development Value: Off
    ; @' \, _5 y, r6 K
  200. ; Production Value: Off
    ! R7 ~& s3 W9 h
  201. ; http://php.net/short-open-tag
    # H, X4 q. z0 I5 p& x
  202. short_open_tag = On4 ^: _6 N7 N: E6 i  a7 g* \* X, o
  203. 6 }$ w& ]. ]5 q* O1 x
  204. ; The number of significant digits displayed in floating point numbers.
    & M4 F5 Z+ I% |) p
  205. ; http://php.net/precision8 h0 K/ J  `5 I5 @! ~( T* a' d# o
  206. precision = 14
    1 C4 W. V, J3 v: B$ r
  207. : h& ?/ O1 y( v' t$ v
  208. ; Output buffering is a mechanism for controlling how much output data
    - E6 V$ {+ q; \+ \  T+ U3 ^
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that" S- m1 u* ?: v- d2 m) ]
  210. ; data to the client. If your application's output exceeds this setting, PHP% C  n# q" _9 h' }8 N
  211. ; will send that data in chunks of roughly the size you specify.
    0 [5 g+ u+ R/ n
  212. ; Turning on this setting and managing its maximum buffer size can yield some
      K8 E3 j* A, M' v$ i2 @% |* i
  213. ; interesting side-effects depending on your application and web server.2 y7 ^9 j$ x5 Q: u! t3 q
  214. ; You may be able to send headers and cookies after you've already sent output9 U  `6 L; n) `3 d" b  D
  215. ; through print or echo. You also may see performance benefits if your server is
    9 q* }; x3 J7 o0 C/ @) R
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    % {& Y8 K- y/ b# z
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    * z3 A, U; M% M) e1 e9 P. ~
  218. ; reasons.
    4 W% I6 V) r0 Y3 x, O
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    . L; S4 X4 m/ G  v
  220. ;   functions.
    % J" h* O4 C) s, O, r% g3 |, F
  221. ; Possible Values:
    7 Z+ h8 r$ @% Z
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    # h1 E6 Q% q; o3 t$ g6 a' n
  223. ;   Off = Disabled& m+ Y( d# A5 h9 Z
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    6 p: [, r' y& q8 Z; K: U
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    - R- W6 j; y$ @3 H6 i) ^
  226. ; Default Value: Off0 v2 K: g% Q, T- v8 Q1 B8 i
  227. ; Development Value: 4096
    ( _% s7 ~! ^3 i7 L
  228. ; Production Value: 40964 K) e$ A) a& k  _& p  y
  229. ; http://php.net/output-buffering
    " j8 P: `" W2 M7 _* ?2 |
  230. output_buffering = 4096
    * K" |- S+ v! z. t: r0 w" J: @1 x& e( m
  231. # E; i2 K3 d: {# ?7 _' e8 L
  232. ; You can redirect all of the output of your scripts to a function.  For
    # x$ p7 q: z* q! T& a1 B5 i8 V
  233. ; example, if you set output_handler to "mb_output_handler", character4 K5 f: l8 {7 r. z) h+ }) t( h3 y
  234. ; encoding will be transparently converted to the specified encoding.
    4 ]# Z+ W9 A! v- \  h9 _
  235. ; Setting any output handler automatically turns on output buffering.
    7 `. x: |) b6 B* |; S" ]
  236. ; Note: People who wrote portable scripts should not depend on this ini# B, F1 |7 x! N3 M% b. A' [- x+ N
  237. ;   directive. Instead, explicitly set the output handler using ob_start().9 B7 n6 d1 h" ?6 f. }
  238. ;   Using this ini directive may cause problems unless you know what script
    . u5 k+ s& O9 j9 F% l! v& N
  239. ;   is doing.& K0 R* {' g# d: R
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    7 t- S' i; X$ N0 K- h" j, d. j  u
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".6 `1 X- \5 _; U* t+ G' N
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    , b, V, s. h4 S, b9 m" ?* `
  243. ;   Instead you must use zlib.output_handler." R4 L, X5 M$ o
  244. ; http://php.net/output-handler
    0 u1 e: |5 H/ F" x
  245. ;output_handler =6 A* \% f. ?! e# E- P6 n
  246. 3 `5 f2 _6 ~3 R" S* q) M
  247. ; Transparent output compression using the zlib library/ l6 d. B% c0 h9 z) o. |
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    + i5 Y" L2 r& c$ s5 M! @6 C0 l
  249. ; to be used for compression (default is 4KB)
    6 |# s  h% b2 ]; u2 ~
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP/ K! a" n* q9 ]0 v8 Q- S4 z) y
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    8 R+ M5 Y2 y& V
  252. ;   compression. If you prefer a larger chunk size for better8 `) D. C+ G; K2 f4 d
  253. ;   performance, enable output_buffering in addition.9 g( S3 C" F# I( Y' W
  254. ; Note: You need to use zlib.output_handler instead of the standard" b; z, {% m+ _
  255. ;   output_handler, or otherwise the output will be corrupted.% R1 }  T: o/ k) x
  256. ; http://php.net/zlib.output-compression
    4 {# P3 h3 h2 Y
  257. zlib.output_compression = Off
    * X5 m1 ^2 t! ]2 Z" P

  258. / J1 f6 c9 n& p3 z+ ^
  259. ; http://php.net/zlib.output-compression-level4 ~6 d4 F8 H4 b& U- j( a9 O
  260. ;zlib.output_compression_level = -1
    + R' v2 }4 D3 ~; e& B3 S
  261. 8 d) _3 j  M) j1 L' f0 `- u
  262. ; You cannot specify additional output handlers if zlib.output_compression) ?8 i6 O; }; \( Z8 j$ N3 T
  263. ; is activated here. This setting does the same as output_handler but in( O5 I, N2 ~7 ~
  264. ; a different order.
    * [/ ^  w! p  T- o
  265. ; http://php.net/zlib.output-handler+ I) d( W' P2 O; h+ p* k
  266. ;zlib.output_handler =& L: f. ~- j. Z: s' X
  267. 0 L  [6 y+ L: |6 p7 |1 c3 }9 Z
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    ; }' P! Q; b# m# d( j* \: `' ^
  269. ; automatically after every output block.  This is equivalent to calling the
    7 s$ D1 R7 u6 q. k
  270. ; PHP function flush() after each and every call to print() or echo() and each
    * L( b- K" P- X. L# B
  271. ; and every HTML block.  Turning this option on has serious performance
    * l9 Y" |; E! U
  272. ; implications and is generally recommended for debugging purposes only.
    6 e1 O, t3 u4 Z
  273. ; http://php.net/implicit-flush
    7 ]  U$ {2 r( H7 n" W. {; l
  274. ; Note: This directive is hardcoded to On for the CLI SAPI% A$ d: @. s, {+ m
  275. implicit_flush = Off
    6 x4 q( u) W9 o
  276. ; @8 j' t% ?( s: t( E
  277. ; The unserialize callback function will be called (with the undefined class'( G; n# H. }# e4 g- A
  278. ; name as parameter), if the unserializer finds an undefined class: J" @. b2 j, i$ U0 J/ s
  279. ; which should be instantiated. A warning appears if the specified function is
    4 M* h) X- R9 D
  280. ; not defined, or if the function doesn't include/implement the missing class.% R1 M" S% j4 t* V' r+ p
  281. ; So only set this entry, if you really want to implement such a
    * \# o! e( L3 m7 R) }9 G
  282. ; callback-function.
    6 p( f5 N# S* J) E& ^, T, [
  283. unserialize_callback_func =
    ) @/ R5 I' A3 n) L

  284. % k5 z( G" D# c1 _9 t
  285. ; When floats & doubles are serialized store serialize_precision significant
    9 a- [2 ]9 |& L5 D
  286. ; digits after the floating point. The default value ensures that when floats" Y) ^: c" ^/ m+ r/ P
  287. ; are decoded with unserialize, the data will remain the same.. M: f) Q7 U5 {2 \2 l: w  x% {
  288. serialize_precision = 17
    & V$ W9 `- B( Q8 i6 _) W
  289. $ N7 p8 ~+ }  e/ d! V. _2 i  Q; R
  290. ; open_basedir, if set, limits all file operations to the defined directory
    % h3 U6 ]3 ]6 p3 g. p% ?
  291. ; and below.  This directive makes most sense if used in a per-directory! _! B% U* b5 C0 j
  292. ; or per-virtualhost web server configuration file.3 }7 F. g. n6 g
  293. ; http://php.net/open-basedir
    ! G$ Z3 I  o- y2 [$ M
  294. ;open_basedir =+ }# y+ ]: Q9 F3 v# ~( x2 x3 q( c, ~
  295. - v& s* N/ K% }% j
  296. ; This directive allows you to disable certain functions for security reasons.
    2 ?4 c$ O. U3 F
  297. ; It receives a comma-delimited list of function names.
    6 {; O5 d- H2 N6 L2 E1 {% Z0 s
  298. ; http://php.net/disable-functions) i% a' u* y3 F8 r" ^
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    - f# |/ O2 X; @* u* y+ ^

  300. * s, {. ]3 ]4 V; ?& A2 C& n
  301. ; This directive allows you to disable certain classes for security reasons.$ z+ g5 A, g; R$ ?
  302. ; It receives a comma-delimited list of class names.$ ?  ~% r( W6 |5 r- C
  303. ; http://php.net/disable-classes
    ) R9 |  q( t3 f5 z
  304. disable_classes =
    - k6 U5 X/ O: c

  305. * E; R  H- w- q. Q. ~+ z8 T
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in) y) i# R: J2 b* V! r8 ~( z1 |
  307. ; <span style="color: ???????"> would work.3 F( m- e/ a- ?5 d
  308. ; http://php.net/syntax-highlighting
    ; d/ o- T4 E2 b0 e
  309. ;highlight.string  = #DD0000
    ) o+ D; w/ G' i! d* Q
  310. ;highlight.comment = #FF99007 ^+ w2 R& Z! T- _; i- b$ y
  311. ;highlight.keyword = #0077008 t* n: K# z/ {0 G8 v4 ^! {
  312. ;highlight.default = #0000BB( q: z% q! u! U0 a
  313. ;highlight.html    = #000000
    8 r  X8 B# I  ?, h! ^- t

  314. 7 q. _  i' [( d  D4 Z) E
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    + a* \1 d$ u/ S
  316. ; the request. Consider enabling it if executing long requests, which may end up! n2 c1 e' g8 Q3 [# O$ X; H, S# O" o
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior7 J/ X) c5 u2 q6 _4 Z: B3 W
  318. ; is to disable this feature.7 g( v& q% e/ r, }8 j# Q
  319. ; http://php.net/ignore-user-abort
    ) z0 m# y/ b# d; v! }. H
  320. ;ignore_user_abort = On( b# o5 w% Q0 e

  321. , j+ [9 R3 ?, \$ V* f3 Q: h1 ^$ ]
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    - V  V# z: P& w# C
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    : h2 n- w& G* R% q$ p0 ]
  324. ; the file operations performed.7 s" q2 z4 I9 ~' u/ G- ~2 k: ]5 L
  325. ; http://php.net/realpath-cache-size
    , ]) G. Y( d0 V7 ?' Q
  326. ;realpath_cache_size = 4096k
    5 b9 q- v) f# L7 @# ~# ]; F

  327. ; n# A5 x' h  L$ ~5 I* R
  328. ; Duration of time, in seconds for which to cache realpath information for a given5 D- P) `6 V* C% s4 X! h* u) a
  329. ; file or directory. For systems with rarely changing files, consider increasing this7 A2 [7 t9 A5 T( k3 U) x
  330. ; value.
    , M1 v+ i3 c( `" I$ y) N
  331. ; http://php.net/realpath-cache-ttl
    0 @0 f) \$ t# K/ _0 \
  332. ;realpath_cache_ttl = 120" J. T4 ]/ g/ M# x

  333. : c) ^' k9 U* I/ ~* k  u6 x
  334. ; Enables or disables the circular reference collector./ q% a" \0 C. p
  335. ; http://php.net/zend.enable-gc- X: c) m7 i1 C
  336. zend.enable_gc = On; L6 c& P5 C# e# }2 D, ]0 z

  337. 0 f* S( }$ V& G7 W" P2 P
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    , x! E$ a" a' r% c. I7 ^
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such+ j' h; H! v9 c7 d# K) C
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    4 C  D% \+ ?, ?2 I1 }
  341. ; Default: Off
    , b" U- B2 |0 M
  342. ;zend.multibyte = Off5 ]' y8 C% k7 A$ z8 k3 u
  343. 2 h' {& i: h  y% o& \+ B
  344. ; Allows to set the default encoding for the scripts.  This value will be used6 t& q* Z) W  K3 O: F2 F; b7 D
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.+ e) n: a9 W( \9 |' }  W/ D
  346. ; Only affects if zend.multibyte is set.- M$ M. h+ q9 K0 r" X$ t
  347. ; Default: ""
    ) K; B- t+ j. R- j" Q3 O. p9 t3 Y
  348. ;zend.script_encoding =9 B/ L% M  E. Z4 O0 R

  349. + J) z- C; v& l2 h
  350. ;;;;;;;;;;;;;;;;;+ k* W! ?  B# V
  351. ; Miscellaneous ;
    1 C+ z* K2 K# T! p5 Z
  352. ;;;;;;;;;;;;;;;;;$ v: O$ M! J) e) l+ j  ^9 w
  353. $ B; A0 B' H9 G
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    1 D, C. h1 L7 ^7 c3 \" K6 B
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    + S9 Z4 s7 j/ \& T
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    , u0 G* W) o( R, P6 N+ ?3 l+ E
  357. ; on your server or not." I, ^. u& ]0 b
  358. ; http://php.net/expose-php  G4 f$ \6 i4 T: `9 z
  359. expose_php = On
    ) w' z  \' I* }& ?8 N
  360. 5 R6 n0 A" s7 m5 t- N0 n7 |6 a$ d: `* c
  361. ;;;;;;;;;;;;;;;;;;;
    9 u! k# s9 D8 a1 \9 [5 K
  362. ; Resource Limits ;
    4 g9 O+ H$ q9 J( u0 b! `
  363. ;;;;;;;;;;;;;;;;;;;
    ) \2 R' O5 V" e% S6 l

  364. 1 p6 o1 p  ?' h* a
  365. ; Maximum execution time of each script, in seconds5 c, s, E$ S- ?& H( ?
  366. ; http://php.net/max-execution-time( S$ u- x! ^8 E* a
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI. d3 ~0 c7 ~; n: `6 k
  368. max_execution_time = 3002 X" f7 o; W. B! ^7 R" v

  369. , v2 r  K6 |6 ~/ M& z7 Z
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    5 O& b+ J8 G0 ^4 r* t0 G# T% M. Y
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    8 }9 X8 G% z! Y4 f
  372. ; long running scripts.
    % i8 L, T8 }0 z4 C. Z
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI3 Y3 I' E. Y% t" X( t0 [- e: ~- N3 y! k
  374. ; Default Value: -1 (Unlimited)3 P8 k! _7 [3 c' j& j: q3 y5 _
  375. ; Development Value: 60 (60 seconds)  S! U& u/ t9 @, ?4 ^9 ~  R
  376. ; Production Value: 60 (60 seconds)
    ( V* Q2 y4 l8 N; q. x. |8 r
  377. ; http://php.net/max-input-time
    * H4 B+ ]" v7 @5 u8 O9 o* i& K9 [- N
  378. max_input_time = 60- d6 S. u/ S& A( u) k

  379. ) V- o' J6 B/ Q$ b, F
  380. ; Maximum input variable nesting level
    ; _5 E( M! s  G9 o
  381. ; http://php.net/max-input-nesting-level
    ! ?0 s2 k; m5 D4 x5 @1 l
  382. ;max_input_nesting_level = 64
    ; V2 A- {5 O/ F7 A7 N: t) K4 ], K8 |3 f
  383. 8 a- X) j8 g; I6 M% i
  384. ; How many GET/POST/COOKIE input variables may be accepted/ ^1 ?" X0 E1 ]  y  U* R
  385. ; max_input_vars = 10009 ~/ [  r* P. E: Q+ E6 {

  386. 0 `% Y# j( G8 s* _# B/ b0 _; \
  387. ; Maximum amount of memory a script may consume (128MB)
    # A# U: G, {, M3 a& k4 v& K- x0 D
  388. ; http://php.net/memory-limit
    0 _: t8 R, h4 d7 r7 ]# o
  389. memory_limit = 128M# o, N# |7 I# s& z) x
  390. & }. O; N. h. B7 g- t
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;' q) ^& w! a) u# J$ P
  392. ; Error handling and logging ;2 y" J6 x. e2 Z
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ( i4 f8 c4 k6 G6 G

  394.   S: o8 Z* Q1 @! j: x' g
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    ' @- n7 `( M( y6 [1 d" n
  396. ; it to take action for. The recommended way of setting values for this1 \7 y$ X. m0 m: ]6 c& V% Q8 e
  397. ; directive is through the use of the error level constants and bitwise2 h7 u3 d) F4 W! D6 a
  398. ; operators. The error level constants are below here for convenience as well as
    + _$ r; b1 c+ o$ _- o! _
  399. ; some common settings and their meanings.
      Y7 y7 Z' V* A
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT2 J: Z2 r/ S4 d: c$ H' a" O9 S
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and, N8 `8 I' W& p* E) y& `
  402. ; recommended coding standards in PHP. For performance reasons, this is the' x" R1 f8 m" u  X0 R4 t9 w! S2 q
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    # q7 c4 \- i8 h+ z  T( K% [
  404. ; resources complaining about best practices and coding standards. That's what- _6 n( Z/ Z4 x$ _' e$ W
  405. ; development servers and development settings are for.2 @& z4 a4 i# G0 z% h
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    4 n" s9 |% b6 d% W! p0 F3 J
  407. ; means it pretty much reports everything which is exactly what you want during3 R; y) S" ]3 l
  408. ; development and early testing.
    % u& F: R6 n& m
  409. ;; h$ b8 a% H6 |) O" b, r6 I
  410. ; Error Level Constants:
    6 D$ \3 o" ^: a7 m+ B9 h4 e* Y
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)* Y  c2 W, R( n7 C6 l9 F; W) P; `9 Z7 @& @
  412. ; E_ERROR           - fatal run-time errors
    ; O% _! `5 K% i% ~# v6 @, ~
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    - g# \, o$ i* M. v
  414. ; E_WARNING         - run-time warnings (non-fatal errors)& M: z$ a. u7 ^$ K4 K5 z
  415. ; E_PARSE           - compile-time parse errors2 [4 w. y& V4 M8 j  I2 |
  416. ; E_NOTICE          - run-time notices (these are warnings which often result) `- _" h2 a! c4 L+ `
  417. ;                     from a bug in your code, but it's possible that it was
    / f, e) W% P: e9 ~6 d* W$ [
  418. ;                     intentional (e.g., using an uninitialized variable and
    ' y+ p; F( K, }
  419. ;                     relying on the fact it is automatically initialized to an" _( ~0 z1 @! z# \# j  t2 a: ^
  420. ;                     empty string)
    & a0 G+ g6 N( r! d! J( l- a
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    ) h7 r8 H0 q) ?# r0 N! F- o
  422. ;                     to your code which will ensure the best interoperability' }+ D7 \1 }( [
  423. ;                     and forward compatibility of your code
    / W( `: Q+ b# ^
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup4 K$ X7 ~" [. r/ Z* z" D$ U
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
      I  B) R: R. P/ v+ H
  426. ;                     initial startup
    ) H% {3 _2 Y: K8 o- C
  427. ; E_COMPILE_ERROR   - fatal compile-time errors/ |- a$ T9 e! @# y
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    * b& T: w2 Q4 d5 \6 n' z
  429. ; E_USER_ERROR      - user-generated error message/ D* t: }! [" u' A  B4 J% X" h
  430. ; E_USER_WARNING    - user-generated warning message" |$ w  q8 q* R) u
  431. ; E_USER_NOTICE     - user-generated notice message
    ; \* v8 J1 {' f2 J+ H
  432. ; E_DEPRECATED      - warn about code that will not work in future versions& b6 B+ Z2 r4 ?  l2 Y: `
  433. ;                     of PHP
    1 ~4 i6 \7 e0 x* M& X, k$ }! D* c
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    ( E) k$ Q5 L" F' X, B/ I1 O
  435. ;
    0 c- `+ t/ ?+ l+ U/ _5 @
  436. ; Common Values:. u: l; |; R& p  [" w" I9 ]. r9 |
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)) T& {( a3 ~, [$ O
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)8 K3 Z& Q+ j+ `* Y+ l% P; Z
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    7 h; p7 E+ o6 p/ d& n
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    2 {9 W; b$ {2 E  x8 n# P. a
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED+ j- D! {. ~3 q9 t8 |
  442. ; Development Value: E_ALL
    1 Y/ Z5 |! O" m/ V* }4 C1 z1 b
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    3 O8 s! q0 K% G8 Z, a: t" ?  [
  444. ; http://php.net/error-reporting0 ?8 n/ h; a8 r3 Y) b# {2 q
  445. error_reporting = E_ALL & ~E_NOTICE
    / v( k, s- u8 J( o

  446. # O1 [% R% x% ]4 B3 Y) {
  447. ; This directive controls whether or not and where PHP will output errors,2 e* I% B0 A0 I7 V& W
  448. ; notices and warnings too. Error output is very useful during development, but( j% r0 P! T; r6 O' @
  449. ; it could be very dangerous in production environments. Depending on the code: ~0 J: `- a# g8 O
  450. ; which is triggering the error, sensitive information could potentially leak" H- c) H8 C% R4 R5 v
  451. ; out of your application such as database usernames and passwords or worse.6 D' I, i# e# T2 z" _
  452. ; For production environments, we recommend logging errors rather than) T' q) L7 x6 z! Z
  453. ; sending them to STDOUT.( O) Q: t9 P. Z( N& M
  454. ; Possible Values:
    4 `  I: `* d, c, F
  455. ;   Off = Do not display any errors
    3 R$ G4 _* h) c$ j4 P( E2 |  g  k8 P) n
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)8 d( @3 ^% c7 n0 R4 c+ S
  457. ;   On or stdout = Display errors to STDOUT; L* C) j6 x( b- V4 I! w+ o7 M
  458. ; Default Value: On0 S5 I. Y4 W0 [4 v
  459. ; Development Value: On
    $ G+ L2 {4 f5 L
  460. ; Production Value: Off2 ]: b/ g; o! p7 }; X0 Q2 F
  461. ; http://php.net/display-errors+ I7 ~( O# q5 u* k; X, o( A  D0 y
  462. display_errors = On$ G. M' _- a0 S) V$ o, r

  463. 1 ~) C' g7 W( D6 R6 e) _* P
  464. ; The display of errors which occur during PHP's startup sequence are handled6 u; s3 U! N" z8 W& r
  465. ; separately from display_errors. PHP's default behavior is to suppress those* Q% }# `' v4 K+ ?* L# g
  466. ; errors from clients. Turning the display of startup errors on can be useful in* ^6 B1 K$ `  B$ A4 x+ ~* a
  467. ; debugging configuration problems. We strongly recommend you8 M. a3 Y3 K1 Q- g# b- w9 d
  468. ; set this to 'off' for production servers.
    ) E/ J1 i, }, H. ?+ t1 [- t6 G
  469. ; Default Value: Off
    , `4 o) L9 ]+ x! t0 e1 A+ i9 t0 f  z
  470. ; Development Value: On
    , E" X( o1 W5 F5 T* S$ Q
  471. ; Production Value: Off$ i6 m8 p, E# n$ }
  472. ; http://php.net/display-startup-errors& |! L1 I* o: r/ ^. |# n6 h  L
  473. display_startup_errors = Off* M' O- d+ y* U6 G4 k- [
  474. 9 y; }/ {4 y2 s
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    1 a) V3 ?* {. r. h/ B2 A# m
  476. ; server-specific log, STDERR, or a location specified by the error_log7 D4 i# ^/ S1 ?4 L
  477. ; directive found below. While errors should not be displayed on productions
    . c; {4 M7 T( D$ |% m
  478. ; servers they should still be monitored and logging is a great way to do that.$ G  M" X5 j- |% C; i
  479. ; Default Value: Off7 U" |. c, l. Q
  480. ; Development Value: On+ y+ _% r( e; L8 k, F  i5 n+ {# h
  481. ; Production Value: On
    / h( A2 T* `  M! b; x1 @
  482. ; http://php.net/log-errors
    4 j. G0 L* d* }! a/ X+ c/ E& w0 g; F
  483. log_errors = On; H' ~0 [% q$ N- m

  484. 0 V3 T5 K# r8 f) Q% N' Z! c
  485. ; Set maximum length of log_errors. In error_log information about the source is
    . J/ f1 {4 w% P4 {' S- G
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.2 E9 A2 D9 S1 X8 F
  487. ; http://php.net/log-errors-max-len8 N( [. @. j1 ~) X5 C. E
  488. log_errors_max_len = 10247 N5 i9 E$ h: \: W4 ]
  489.   j4 w0 |( g7 c' l. w
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    / u' }* H& v/ ^; M& e" e
  491. ; line unless ignore_repeated_source is set true.  [! \7 r5 _* E6 O
  492. ; http://php.net/ignore-repeated-errors
    " G% p% N" a8 w/ {; m3 g# q
  493. ignore_repeated_errors = Off0 R$ H- J2 c$ j7 f( f
  494. 9 M/ P9 O" D' d0 T( O
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    9 O9 f: q4 x  G0 v
  496. ; is On you will not log errors with repeated messages from different files or5 ?7 m+ \) h, [
  497. ; source lines.. G  V6 l; a0 f
  498. ; http://php.net/ignore-repeated-source4 D0 \2 a: j  z
  499. ignore_repeated_source = Off. `2 j9 c3 e! Q8 b2 L$ \4 f, B

  500. / D  z+ X. ~/ I) Y9 g
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
      `! h2 \/ V6 A, h
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    ' k3 ^' t- q. n: t7 k; c
  503. ; error reporting includes E_WARNING in the allowed list
    5 }( S0 s4 a/ P" {0 V
  504. ; http://php.net/report-memleaks
    ) z* M- w; p: F1 l
  505. report_memleaks = On2 m4 ]! M# z8 ]9 _) \5 C

  506. ' y; z0 ~5 }4 s' b9 }
  507. ; This setting is on by default.
    0 a- K7 c' ?  I% j0 \1 b; Z
  508. ;report_zend_debug = 0
    * N" g/ P4 z' ?3 v

  509. ; {; a6 Z9 ]' [' ]' C  o7 a4 X
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value  }4 f7 i) B# P  g6 Z
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    - T8 O' s* J; r
  512. ; however be disabled on production servers.7 H! i! U! w( u2 l; Q
  513. ; Default Value: Off: Y% [! I1 i; s1 }9 W" D
  514. ; Development Value: On
    ( j$ L7 l/ m- K. w
  515. ; Production Value: Off
    # p' S7 N5 d: V" B
  516. ; http://php.net/track-errors
    * d- A0 ^. J$ ]# p/ w
  517. track_errors = Off
    * T& B1 S( t+ o) f2 p1 U

  518. 2 E) E. x/ v  K  W/ O, M/ K
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    ! u8 o4 ^& v( {- P4 s( M
  520. ; http://php.net/xmlrpc-errors
    6 h4 O( i; w1 s. ?+ r
  521. ;xmlrpc_errors = 0
    6 V! n! h$ F& Q) J

  522. . s( Y; S- e$ X5 C/ J9 ?
  523. ; An XML-RPC faultCode& {8 u- A0 X! J2 Z
  524. ;xmlrpc_error_number = 0
    ' ?* M  p4 e+ o5 r' W4 a0 t) x

  525. . g9 }% W: \7 |5 U# `+ _
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    / J$ [, a7 ?6 \! K' L( `1 @0 j
  527. ; error message as HTML for easier reading. This directive controls whether: d5 d* X& B, x8 R" j; ]# @
  528. ; the error message is formatted as HTML or not.' M/ @2 h5 Z; Y2 ]
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI' ]" |/ A) }( J* Y0 K% t) }
  530. ; Default Value: On" v7 Y7 F- u( r9 `+ _) Z* b
  531. ; Development Value: On( J, Q1 ]% u$ J6 h( o4 y
  532. ; Production value: On  I4 a6 X  i6 d2 ~7 ]
  533. ; http://php.net/html-errors
    / H: c  J1 p9 r: U1 u# h: G
  534. html_errors = On( \& c9 v  L4 n) t( ~4 K/ q
  535. " Y* \9 |# G* V
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    3 [7 i! i5 `6 H, @7 J3 z: l
  537. ; produces clickable error messages that direct to a page describing the error
    3 E0 f2 G( h3 W! b) ]/ `
  538. ; or function causing the error in detail.
    - q' ^' n/ N9 N& K2 n6 a
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    0 P# K8 D+ w: D, `
  540. ; and change docref_root to the base URL of your local copy including the% s( D0 \* `1 Z/ A* X
  541. ; leading '/'. You must also specify the file extension being used including
    3 h1 k& ?+ m  o) U# t/ A
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which' j5 o  C& X/ a
  543. ; case no links to documentation are generated.0 B2 l0 k. e* R
  544. ; Note: Never use this feature for production boxes.7 m  _( b: @- o7 v  i
  545. ; http://php.net/docref-root( d. t+ X3 T. K- y+ E
  546. ; Examples
    ) n7 F, w, X+ Z) @% K
  547. ;docref_root = "/phpmanual/"
    ( k/ Z4 m! n# H0 a

  548. 0 B9 x+ E/ L  A1 {. v" a8 b2 z0 b
  549. ; http://php.net/docref-ext
    9 f* @( V2 n+ v+ ?: B& O
  550. ;docref_ext = .html
    5 a, Q( a. s9 d0 A2 Y% g  h* S0 u

  551. # c) U/ N( ^2 N3 h8 X
  552. ; String to output before an error message. PHP's default behavior is to leave
    6 A/ z2 N: g* t# f+ k& n
  553. ; this setting blank.
    ) w( Z( F0 E: o
  554. ; http://php.net/error-prepend-string
    ( o6 V- X: h7 D3 \* e
  555. ; Example:( n: T2 `% p" e  Z
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    ! ~8 d& b* K' I
  557. $ F9 y4 }) a5 v! @( M, M
  558. ; String to output after an error message. PHP's default behavior is to leave
    + w; _9 @0 [, U- P6 i  A
  559. ; this setting blank.
    , D& v/ u6 Z+ T6 K" i
  560. ; http://php.net/error-append-string* b4 S% x% y* Q. X& j
  561. ; Example:
      |4 {+ C) m% s9 j, n
  562. ;error_append_string = "</span>"
    ' X6 E* Q5 |) W1 l7 q+ E) U
  563. 7 ^! w7 K$ u' _# j' a8 u, Y8 Y
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    3 V5 R9 l0 x1 B7 x0 Q/ [/ w
  565. ; empty.
    3 y  g3 O) ?3 V
  566. ; http://php.net/error-log
    1 V* V0 [$ r# H8 c
  567. ; Example:, `: x1 x5 e3 o9 a
  568. ;error_log = php_errors.log5 r! v  H: h5 `+ {& W) `. n+ l% m
  569. ; Log errors to syslog (Event Log on Windows).
    / g# H6 h1 O, e5 [7 `  _- K
  570. ;error_log = syslog% o5 [, V# j/ X) ^: G

  571. 4 Q# T2 a+ G: Z
  572. ;windows.show_crt_warning$ r& s" P. @* \
  573. ; Default value: 0! {2 D. b+ D6 F  u
  574. ; Development value: 0
    $ z& s/ Z5 A/ `" n* }5 C
  575. ; Production value: 00 j2 {' f; z( h6 G2 F/ b
  576. ; k1 X) c9 X; s! [
  577. ;;;;;;;;;;;;;;;;;( c2 r. p7 R7 F; L
  578. ; Data Handling ;
    , c& m1 `9 ]+ d5 I( m
  579. ;;;;;;;;;;;;;;;;;
    - @" `% E  g9 M( A

  580.   Q0 i& P9 |; d- l& Z% A
  581. ; The separator used in PHP generated URLs to separate arguments.. \; t: ?* X5 |4 T5 x9 t
  582. ; PHP's default setting is "&".
    $ x$ N5 E5 r5 p8 D# S9 L+ M
  583. ; http://php.net/arg-separator.output$ ?# j9 J# H  D9 H- l+ g
  584. ; Example:0 x7 R6 T$ P- q* T$ y
  585. ;arg_separator.output = "&"
    & u7 N8 q. K3 v4 F2 Y6 p

  586. + u0 j: n6 d$ P3 Z4 z  m
  587. ; List of separator(s) used by PHP to parse input URLs into variables.8 l% `  O; l7 S. h: O! V
  588. ; PHP's default setting is "&".1 Q0 T( _' v- i
  589. ; NOTE: Every character in this directive is considered as separator!* W1 y; v/ g# S
  590. ; http://php.net/arg-separator.input
    5 w0 U3 D" \+ }  |( i* k
  591. ; Example:
    ' M0 l- @' A6 w- i
  592. ;arg_separator.input = ";&"! Z2 o' w# ^! X; s

  593. 6 A3 }/ J- S; j9 u9 B. ^
  594. ; This directive determines which super global arrays are registered when PHP
    , B' r3 R! C# ~, V
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super: |+ E6 g2 l& `, D% d, e! w4 U0 F
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty0 E6 S  X! f/ y3 R
  597. ; paid for the registration of these arrays and because ENV is not as commonly4 y- |0 h/ S- I9 P% N7 x' i( Q
  598. ; used as the others, ENV is not recommended on productions servers. You8 q' o: m6 G6 i
  599. ; can still get access to the environment variables through getenv() should you
    5 I& Q9 a4 _9 f' [! n+ X5 Z
  600. ; need to.
    5 J! M/ x0 M/ I% X( A! r( X* ?% h
  601. ; Default Value: "EGPCS"3 z" T1 l; D: B! i
  602. ; Development Value: "GPCS"2 X" l  J) B# Y; S
  603. ; Production Value: "GPCS";) f% c3 L$ d( I9 ^0 U/ {; m4 M
  604. ; http://php.net/variables-order
    $ w7 ^  B, Q; W1 z' I0 }
  605. variables_order = "GPCS"
    1 [# ~) ~9 G, K6 q8 H$ O4 H0 m

  606. . f. ^2 n1 x9 [' `/ |5 W* t; Y% u
  607. ; This directive determines which super global data (G,P & C) should be
    4 K4 J6 q( a9 {* j
  608. ; registered into the super global array REQUEST. If so, it also determines
    : a. k7 p# J+ D2 m
  609. ; the order in which that data is registered. The values for this directive; a' J+ K) B7 m1 Y- E4 B) E7 g* G
  610. ; are specified in the same manner as the variables_order directive,
    $ ]# \: A3 I+ ]0 \. y5 G
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    ( D, Z1 Y6 W) h
  612. ; in the variables_order directive. It does not mean it will leave the super' R' z$ k) e& }# v
  613. ; globals array REQUEST empty.5 j$ t: c' |" O: A
  614. ; Default Value: None
    3 s7 |" W0 L; s# l
  615. ; Development Value: "GP", j! \% Y- v1 \8 ~% \+ u! C
  616. ; Production Value: "GP"
    , |, m) C# @  H# {- x# ~
  617. ; http://php.net/request-order/ u6 t0 l9 g( {' A: a
  618. request_order = "GP"
    : \3 P1 }5 b. n9 Q

  619. ) R( f  G8 i1 R; I) t! M
  620. ; This directive determines whether PHP registers $argv & $argc each time it' N! K0 s8 I! b4 }8 X$ ?
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    ) \, F8 d2 E1 l2 [) H
  622. ; is invoked. $argc contains an integer representing the number of arguments
    0 G' o' l2 X6 ^7 H" _
  623. ; that were passed when the script was invoked. These arrays are extremely
    8 q2 O  Y% w! @; X) {
  624. ; useful when running scripts from the command line. When this directive is
    4 J% U  K2 g0 _6 }7 z
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    # D0 B( t( Z7 F; V3 D3 R0 K( Q
  626. ; a script is executed. For performance reasons, this feature should be disabled9 {: D$ c, V. P
  627. ; on production servers.( p  c& z- |# F
  628. ; Note: This directive is hardcoded to On for the CLI SAPI5 |$ P( R- r$ \; c
  629. ; Default Value: On2 D( V+ d) G. {5 j' h# }: {
  630. ; Development Value: Off  Z- b, ], R3 J* z
  631. ; Production Value: Off
    1 e6 q& b' |& B+ A* Z' D' Q0 n+ E
  632. ; http://php.net/register-argc-argv1 v: x: ^, r$ `+ Q: @, s) c# b7 ^' P* q
  633. register_argc_argv = Off
    * }7 h7 [9 N: i2 K
  634. 6 N1 |5 W5 x! ]0 c
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're7 ]0 t( J* h2 [+ O* |0 N+ F
  636. ; first used (Just In Time) instead of when the script starts. If these
    ; Q% w( }, |4 E# O& F! _% A6 R9 O" D
  637. ; variables are not used within a script, having this directive on will result9 E( |( K: z: g4 I: Q
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled/ f0 [4 r! l  w1 Z9 ?7 L: g
  639. ; for this directive to have any affect.
    9 ?; K5 F1 U6 E1 u9 j. j3 q
  640. ; http://php.net/auto-globals-jit9 R, P5 O- |1 R) q: Z9 T' p" {
  641. auto_globals_jit = On
    # ^2 X6 h/ P" k0 \* g

  642. / q. L8 S% t4 |6 z: k2 U- B
  643. ; Whether PHP will read the POST data.
    ! J( Z7 \8 e% K
  644. ; This option is enabled by default.8 F* o. {( J9 h, S
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST8 p) r( z- ]' x+ u
  646. ; and $_FILES to always be empty; the only way you will be able to read the! r' x- F$ C  d: X- _
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    * i; B( i9 k+ v7 Z/ y, J
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.  M+ \1 X& y. H! d& a
  649. ; http://php.net/enable-post-data-reading
    $ l. q6 S# C) B: c6 y
  650. ;enable_post_data_reading = Off
    / o4 C$ i% z: d9 O, V1 C

  651. 0 w, W8 [$ [8 y) r/ V; Q; L
  652. ; Maximum size of POST data that PHP will accept.
    1 h, e! u- d; m5 h+ M- k! e! H) ~' Z
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    # S% ?: J! b+ p6 @1 U" Z3 L$ g
  654. ; is disabled through enable_post_data_reading.
    / p' s- v  F- B
  655. ; http://php.net/post-max-size
    2 c7 `( R, |9 [
  656. post_max_size = 50M
    " y( D/ J  T5 J1 b7 j  G9 s# {2 f

  657. + ?7 Y9 N- g) J, @% y& b
  658. ; Automatically add files before PHP document.7 e! \4 [9 [! J: T8 T
  659. ; http://php.net/auto-prepend-file
    * u  B; a+ `% d% x/ l$ {0 @
  660. auto_prepend_file =6 H* K* z* L. Q- u  j) A/ n5 @4 T) g
  661. - A1 [# s2 K9 L4 N' [7 A
  662. ; Automatically add files after PHP document.
    - z/ I0 }; v2 n2 S% y; ], |2 {' r3 J
  663. ; http://php.net/auto-append-file' o% C- Q0 o3 R4 J+ y1 G  H! Y
  664. auto_append_file =
      o; {0 i3 T+ l
  665. 9 V% _1 O- y; i+ L
  666. ; By default, PHP will output a media type using the Content-Type header. To
    " X, `5 G( ?* }2 p
  667. ; disable this, simply set it to be empty.
    / p8 k" R3 C# v# H
  668. ;
    4 c, `( u7 L% n2 e
  669. ; PHP's built-in default media type is set to text/html.4 L0 T7 _3 T  W. w9 J
  670. ; http://php.net/default-mimetype
    / T5 U/ c4 ]% Q: r/ Y# x5 T
  671. default_mimetype = "text/html"
    , D6 {* G- }/ w$ ^" m' @

  672. 2 a: _3 D1 H# O( \! x) @/ e- |$ Q
  673. ; PHP's default character set is set to UTF-8.
    8 e  {+ R+ S! Y+ W, J) Z& m
  674. ; http://php.net/default-charset
    2 t4 Y6 b. Q# ?' @" x
  675. default_charset = "UTF-8"! e$ w6 F$ E. O8 a3 i- G

  676. : u( z. M% [: D  c
  677. ; PHP internal character encoding is set to empty.
    ( U3 L7 Q0 P: O$ T, w& G" F4 |
  678. ; If empty, default_charset is used.
    " s3 W* x+ e$ l$ }6 n# S
  679. ; http://php.net/internal-encoding
    3 c3 r+ ]9 Y! _: Z7 i1 V8 c
  680. ;internal_encoding =
    ) C" U- C* c: j

  681. 4 P: A: l* Q: b  A
  682. ; PHP input character encoding is set to empty.
      V2 q. I6 `* p
  683. ; If empty, default_charset is used.6 E2 v' y4 G! `9 V
  684. ; http://php.net/input-encoding1 N  {! c: K3 l5 T
  685. ;input_encoding =6 ]) [# ~# I7 n( a* }$ H) z

  686. ( i" ~( n5 F& n. k
  687. ; PHP output character encoding is set to empty.7 g+ |( I) X/ d5 ]5 E2 \
  688. ; If empty, default_charset is used.$ o2 `9 P! M1 b" S# [
  689. ; See also output_buffer.
    ' N# ]" X1 x8 U; g' M; X$ T3 [  Y
  690. ; http://php.net/output-encoding
    , d" \8 i2 Z# [8 P4 m* X2 P
  691. ;output_encoding =& L: ]# u" s+ L- R: v) F, z, g% m' T

  692. + u. w. n  J' |) P8 ~. j1 J
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;$ {2 _' M( z6 A; c, {% e, B) [- [6 `
  694. ; Paths and Directories ;! P2 M, W/ `: r) t' d
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;7 u. A' H; N- l
  696. 0 J" s. M1 j) z) g- e# {
  697. ; UNIX: "/path1:/path2"
    $ {$ K' m. h, j  m' Z" `
  698. ;include_path = ".:/php/includes"
    " e/ z  I+ C! Y" e$ A
  699. ;
    5 r) v% K+ h) f! N3 X( B7 i" M
  700. ; Windows: "\path1;\path2"
    ' D. a1 t) z4 O7 Q
  701. ;include_path = ".;c:\php\includes"+ K4 \' i! u9 B  B6 J, h, Z: N
  702. ;
    / z. f: d& N9 T: V
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"' F0 V/ f6 z# K' E1 m+ x) d/ c7 u
  704. ; http://php.net/include-path
    , {& y: R  H. }. f# K
  705. * t6 R6 n9 b8 Q3 r! ]+ k9 l, R0 M
  706. ; The root of the PHP pages, used only if nonempty.3 O( f3 H2 K$ @% s% v: p
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root, m6 u/ u9 J/ l" a7 C
  708. ; if you are running php as a CGI under any web server (other than IIS)) l, o6 s- L+ a% x: k
  709. ; see documentation for security issues.  The alternate is to use the
    2 @! k3 u0 `/ x& Q& d' s; p
  710. ; cgi.force_redirect configuration below
    5 ~; ^, M3 ^* W( \: b: J7 @
  711. ; http://php.net/doc-root
    4 t6 }. [. w: `* `
  712. doc_root =8 y/ t7 H% c: C4 {1 v
  713. ; f% o% m: e/ z
  714. ; The directory under which PHP opens the script using /~username used only
    & X+ w! V+ ?- Q  A" w) E
  715. ; if nonempty.
    $ F3 E; e8 U& a1 [: k
  716. ; http://php.net/user-dir
    3 f. Z4 e$ O. o9 `; f6 m! ?
  717. user_dir =  r/ }4 B) I. f' b3 i/ t) x

  718. 0 |4 {% {7 h2 J. d0 S
  719. ; Directory in which the loadable extensions (modules) reside.  k2 Q8 b0 o; a( l
  720. ; http://php.net/extension-dir
    ' C% e+ f3 A2 [* ]3 Z- l
  721. ; extension_dir = "./"
    ) ]0 ^' B8 k; m  T4 G
  722. ; On windows:
    : _5 H# x1 Q+ I" k* s
  723. ; extension_dir = "ext"
      ^5 V5 O  O7 a+ L7 u& l

  724. 7 n9 R. k7 k! e0 p/ W, b
  725. ; Directory where the temporary files should be placed.
    & n- D% H: |! @) y
  726. ; Defaults to the system default (see sys_get_temp_dir)
    5 g4 h) h7 s4 t( I& y) B- q
  727. ; sys_temp_dir = "/tmp"7 n% v6 E, L% s- [

  728. & |- D5 O/ A0 c+ Y, n! w5 G7 _
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work/ `6 }5 z7 F$ t! Y& w
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    % j& H% h; I, v' i) P
  731. ; disabled on them.' c" o4 }& B9 u/ N5 ]! b& w5 p
  732. ; http://php.net/enable-dl/ o' ], h; ]: T- ]8 x: @
  733. enable_dl = Off- `; c/ F# r% M+ L$ M2 M

  734. / \7 b7 f8 _6 ]
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    2 n/ R. o: \1 F2 s
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    1 S( k3 i. ?5 R4 ?
  737. ; turn it off here AT YOUR OWN RISK
    - N- Q: X8 ^1 e9 }' u; i# @8 V
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**+ z! s. W; F9 l! Z  H% w) n% }7 ^
  739. ; http://php.net/cgi.force-redirect, }- m( x" r& K! E. j8 |, K% E
  740. ;cgi.force_redirect = 1( |6 {* Q" U0 P8 o4 U- l2 g% t

  741. % f2 J. w/ H/ I, j: Z6 ^
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    , `  u6 v8 v' @, [% H* b4 J8 L
  743. ; every request. PHP's default behavior is to disable this feature.  L9 @( e1 S  P% n4 H! f8 J2 E- B! o
  744. ;cgi.nph = 19 C8 Y. V6 C& w) H' v: X6 v

  745. 7 z& c& d6 i& d  E7 Q
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    3 ~2 Q5 }- G" I. W% t
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP# r7 g4 F, o; a6 f# Z) ~' e4 W' I
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    2 u( H- P% O9 _; N7 o. D' x, h
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.+ K7 R) E! O* k5 G
  750. ; http://php.net/cgi.redirect-status-env' b0 h+ x  U! V- N/ Z/ o  t
  751. ;cgi.redirect_status_env =
    1 n# O9 W+ t' E( N
  752. - y8 L- V- |2 C5 {8 y+ f3 ~
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    % s9 i/ W$ R3 z
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok6 t& w7 y/ H, x  `. ]
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    2 P: o/ @) V: X
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting6 S" x$ N# U! u
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    ! F0 R' K0 ]) _, e2 f) p
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    # O( i1 `" ^6 g) ~: b
  759. ; http://php.net/cgi.fix-pathinfo3 l( d9 W- ^( b! U4 O1 w
  760. cgi.fix_pathinfo=1
    , L2 @1 ^6 `  X
  761. 5 Z! a1 y3 g/ X! z0 G' F6 ]& k
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside5 J( ^! V; z4 z  L1 Q
  763. ; of the web tree and people will not be able to circumvent .htaccess security." b4 l" z! W% }
  764. ; http://php.net/cgi.dicard-path
      x: l4 n1 R& B& p
  765. ;cgi.discard_path=1
    : j) t; s) ^" o1 ^: M) `# O6 E
  766. ' \0 W7 v2 i/ U  r5 w! N
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate2 L$ F( S5 l/ ~
  768. ; security tokens of the calling client.  This allows IIS to define the
    % C- H/ ]5 x$ I- g( q
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    2 n$ T7 N9 Z5 i; S
  770. ; does not currently support this feature (03/17/2002); L) h" w" y. @$ d. \6 B
  771. ; Set to 1 if running under IIS.  Default is zero.) N7 S' `- \$ V, D) r% o9 y
  772. ; http://php.net/fastcgi.impersonate+ t) J+ j7 c8 k3 c% E
  773. ;fastcgi.impersonate = 1
    8 h$ c* ^, a- h/ w7 ~# V

  774. 2 e3 K# o3 s2 A" N  h0 B7 q: p
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    + J$ ]! A! w* C% g6 r
  776. ; this feature.* K  l7 }4 ?1 ~& r; S0 g
  777. ;fastcgi.logging = 0
    0 q* k7 C; U* w% U$ O) J

  778. 7 J: t( `: y; a" T- b: }
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to0 l; r$ n* y5 g2 k  E" Y
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    4 }6 _1 e8 X$ L
  781. ; is supported by Apache. When this option is set to 1, PHP will send; T& q2 x1 R( e: n. s
  782. ; RFC2616 compliant header.- n6 k" ]6 Q2 L2 j% o) _9 S
  783. ; Default is zero.
    3 r: q) C% f& ~/ _! v! C4 a
  784. ; http://php.net/cgi.rfc2616-headers
    2 e- a8 y9 Q6 W) k: E/ l
  785. ;cgi.rfc2616_headers = 07 P9 s2 x: q0 Z8 S8 f( q$ G
  786. # K9 r  v! d' v  |' K$ E
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!9 K* V( _. w$ B
  788. ; (shebang) at the top of the running script. This line might be needed if the$ e+ l4 ?. g7 \- z9 j1 @
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    1 H6 Z6 ?( ?* b4 G8 g7 I. C
  790. ; mode skips this line and ignores its content if this directive is turned on.3 ]+ p% k/ p! y  i0 i1 J
  791. ; http://php.net/cgi.check-shebang-line# \, u+ V2 r' [
  792. ;cgi.check_shebang_line=1. b! Z0 n/ O* Y- Z! B  c# y

  793. 3 w$ S/ {2 c6 h( w
  794. ;;;;;;;;;;;;;;;;
    / m2 F& z4 Z3 _: S' K0 n8 }" s. [
  795. ; File Uploads ;9 I; t" g9 ~2 u# }) I5 y
  796. ;;;;;;;;;;;;;;;;( H- d" K" c! l5 e0 @2 ~

  797. 6 W' r) i) M6 l8 c
  798. ; Whether to allow HTTP file uploads.
    9 m1 L  A/ f& m/ J3 k
  799. ; http://php.net/file-uploads
    & O) V% a, v# p1 @. @  d
  800. file_uploads = On
    + K! C2 O# c- ~2 [- I! s
  801. ! [7 g1 C* n4 s" T+ S, K
  802. ; Temporary directory for HTTP uploaded files (will use system default if not, V1 X$ h/ l6 k6 Q/ |3 `) p! S% q
  803. ; specified).
    ) M6 Z, O: s  f
  804. ; http://php.net/upload-tmp-dir) Q  W* u: k2 C) d+ `
  805. ;upload_tmp_dir =
    . K& H; C" t2 N, i% n  C

  806. # ^4 h8 A$ M6 b- `% E" H
  807. ; Maximum allowed size for uploaded files.
    : K7 o( z0 Q1 r  s
  808. ; http://php.net/upload-max-filesize
    ) H  x$ `  ^; U. U, n" [5 ^* C+ d
  809. upload_max_filesize = 50M) b% _! e2 G; S$ Z0 S: \
  810. - s0 n5 ]$ b8 E8 I9 e  r1 G
  811. ; Maximum number of files that can be uploaded via a single request
    0 Z3 O+ ]: R* ?" ]; Z7 u; b/ V1 H
  812. max_file_uploads = 209 W' v4 Q4 a. u% A
  813. 0 t! U3 Q5 l" k
  814. ;;;;;;;;;;;;;;;;;;- G6 R" a, i9 [: ^! ^* s; g) ]
  815. ; Fopen wrappers ;, k: Q1 T' O. G3 X4 t) H% Y1 W
  816. ;;;;;;;;;;;;;;;;;;
    " K6 e* b/ _- r9 L
  817. # a" R: W7 w: Y; f" v
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    ' m# R) b! U: U  J% u5 K; x! Z) j8 ^: T
  819. ; http://php.net/allow-url-fopen! p- n$ g. x* [$ b$ [
  820. allow_url_fopen = On
    3 x2 a( l: W9 }# H
  821. 4 |: u9 e* k9 |4 Z: Z5 o7 `: y
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    4 a8 ~. t" J! `
  823. ; http://php.net/allow-url-include
    ! }, V9 G  D: p' Z/ ~& ?
  824. allow_url_include = Off' H  j+ g  k+ M; g8 U5 b
  825. 5 n1 p/ H: c- R: [! b9 B# l
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    8 Q; V( Q$ A" i' J  u# R, P, N
  827. ; for this is empty.
    $ q' a- g% E) h; U4 S
  828. ; http://php.net/from1 z; M; t' w* K8 v+ _8 ?
  829. ;from="john@doe.com"8 M# c! [; }5 s( W7 z' D

  830. 6 B5 Y3 E8 ]% G/ e# Z2 A9 k
  831. ; Define the User-Agent string. PHP's default setting for this is empty." r' R% T' N3 U8 _7 T* m  w4 [
  832. ; http://php.net/user-agent
    2 w2 `* P+ I9 r4 {9 ]0 U
  833. ;user_agent="PHP"
    7 _  @) [( W8 w

  834. * D0 i- l; n4 J8 s  o
  835. ; Default timeout for socket based streams (seconds)) a' j" @- C  v2 i  _
  836. ; http://php.net/default-socket-timeout" y) [3 A7 q6 B" b7 W7 F7 r
  837. default_socket_timeout = 60
    . r. e) t2 a: A. q9 U3 I2 f6 j8 B: x/ }

  838. & M8 W6 W9 c# o/ }& r" ~
  839. ; If your scripts have to deal with files from Macintosh systems,: d; p, r4 l! W: K. r  M3 N; y
  840. ; or you are running on a Mac and need to deal with files from
    1 i5 E* \: v/ e/ A) _  J2 g
  841. ; unix or win32 systems, setting this flag will cause PHP to
    # U) S' J1 l9 s8 G; L
  842. ; automatically detect the EOL character in those files so that
    - f7 z) p# P7 }' E7 S
  843. ; fgets() and file() will work regardless of the source of the file.
    ! G- R, H9 |# Q7 w6 |$ g. d% ]
  844. ; http://php.net/auto-detect-line-endings. p3 Q- B! Z9 _. H! m; _' G# {8 [3 F' H4 ]
  845. ;auto_detect_line_endings = Off* i9 u% C) R. H# g6 C/ M$ U

  846. % A4 w7 z! G5 s/ U2 o
  847. ;;;;;;;;;;;;;;;;;;;;;;
    $ d+ f3 ~) c6 b) K6 r% f; S' _, Q: e
  848. ; Dynamic Extensions ;
    . h; B$ _  b" e  B' X
  849. ;;;;;;;;;;;;;;;;;;;;;;$ d* M6 M/ X8 u9 x3 @: E/ k

  850. 3 G  o/ h6 k( c: t0 \: f
  851. ; If you wish to have an extension loaded automatically, use the following. ~% ?  `0 M5 g$ i3 A, h
  852. ; syntax:
    $ V$ O, n3 \- E7 t
  853. ;4 R9 t& ]! O- @, G; V
  854. ;   extension=modulename.extension
    ; `7 V0 Q5 K5 p( o( ?6 ?. S
  855. ;
    % e- Y3 w4 R' n' H7 W8 ~
  856. ; For example, on Windows:
    ! x* s$ n- H' O
  857. ;* g; J9 [" B% ^( R3 {2 |* V3 k- z4 v
  858. ;   extension=msql.dll$ Z& b* [. B8 ~+ X8 `  P
  859. ;
    3 g5 s& X! z( Q2 s! j- N( s0 J- T
  860. ; ... or under UNIX:
    ' n( v  u: U  }; u# Z! s
  861. ;9 g. l' w  ~2 |/ f5 J/ r: R" m
  862. ;   extension=msql.so, t( x/ g/ r% p) N+ I
  863. ;
    9 n  J2 n2 k$ b8 v) x- o
  864. ; ... or with a path:& y; ~5 B9 U! p7 Y9 S. r" B
  865. ;
    3 n/ R" `5 J0 F; v
  866. ;   extension=/path/to/extension/msql.so# Z' y( ^' _4 F7 h
  867. ;& W$ u  D' L) I. `1 E' \, l. v, @
  868. ; If you only provide the name of the extension, PHP will look for it in its
    / M  T1 L; Z9 x" D" i
  869. ; default extension directory.4 ^) ~, D' Y) U7 L- D0 B  y% N
  870. ;
    4 w, v- u3 H7 F8 m- b0 S
  871. ; Windows Extensions9 H0 J* W5 H* q
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    5 {- |2 L+ V1 }: h5 z6 M
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    & O0 l/ c- w" q3 ^
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).; j4 z1 f: i, m: ?: p1 b# Y
  875. ; Be sure to appropriately set the extension_dir directive.
    - E( B9 p# \& x9 D
  876. ;4 \: y: a# U+ F5 L4 O- V& N
  877. ;extension=php_bz2.dll
    ) ^( k3 v: S1 o9 M( Y& {
  878. ;extension=php_curl.dll, ?; }' j5 Z8 R. V
  879. ;extension=php_fileinfo.dll  I9 {' M+ G: Z/ p! Z8 o3 O; Z
  880. ;extension=php_ftp.dll
    5 I% p9 T! g) m
  881. ;extension=php_gd2.dll
    . y# @" T, ?# f: W
  882. ;extension=php_gettext.dll; \  h! P$ l. [% g3 f% v* B( f! H
  883. ;extension=php_gmp.dll
      u5 D9 e1 R/ G, K4 a2 m
  884. ;extension=php_intl.dll+ ?9 x' c; A- b: ~1 V  M
  885. ;extension=php_imap.dll/ [8 k; _3 f1 I3 ]7 t5 W
  886. ;extension=php_interbase.dll
    0 U" s/ R1 S! Z7 a
  887. ;extension=php_ldap.dll% C* u  z& D* \1 W# h# x
  888. ;extension=php_mbstring.dll
    % I1 X- H# h$ V
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it: ]7 Q3 Y0 ]/ G" T& F/ a: A
  890. ;extension=php_mysqli.dll# C# z% P  Z$ T4 k- [
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    4 |, l9 |5 N- \8 \
  892. ;extension=php_openssl.dll- f7 ]$ M: m2 |, ?1 j
  893. ;extension=php_pdo_firebird.dll
    - p/ V: u5 h. Z8 _6 X, T' P9 Z
  894. ;extension=php_pdo_mysql.dll. [4 U  f. t  J2 k) k! {
  895. ;extension=php_pdo_oci.dll
    $ y+ k& N* F( T4 m5 x9 q
  896. ;extension=php_pdo_odbc.dll% M0 p7 ^+ I3 n0 F/ }& @' d
  897. ;extension=php_pdo_pgsql.dll
    2 s" K4 Q$ f( Z" b7 n
  898. ;extension=php_pdo_sqlite.dll
    ! V0 ]# a: y0 Y, p
  899. ;extension=php_pgsql.dll
    8 ^( I' ~. D( e6 `
  900. ;extension=php_shmop.dll4 L8 V' C& {8 A9 ?1 E
  901. ( o& A! r+ @: {; S* ~
  902. ; The MIBS data available in the PHP distribution must be installed.: q( G- T) g4 j8 e- M7 D  p
  903. ; See http://www.php.net/manual/en/snmp.installation.php2 ?% b( x; W/ r" F+ O8 w( J3 o' o' u
  904. ;extension=php_snmp.dll
    ) w! S& a  S9 ^& M9 ]& g
  905. ' ]0 b; L- W3 s# E
  906. ;extension=php_soap.dll
    / S7 j6 a1 G2 m
  907. ;extension=php_sockets.dll" g# Z$ l. E+ y1 S" ]" {, {
  908. ;extension=php_sqlite3.dll
    6 m( k. g# D( o" v4 _  {, Q
  909. ;extension=php_tidy.dll' n* f: e7 q- I. q, T
  910. ;extension=php_xmlrpc.dll
    ; R" P% {/ y8 f1 R0 E$ u# J; o
  911. ;extension=php_xsl.dll
    % G$ t# n1 a+ Z0 Z$ i

  912. , }, B, I& r0 v
  913. ;;;;;;;;;;;;;;;;;;;
    " p0 T7 G- H/ Q
  914. ; Module Settings ;0 Z$ t. Q( n) r6 F0 x
  915. ;;;;;;;;;;;;;;;;;;;
    4 ~* p8 [: i+ v) z+ X
  916. $ W& @# P2 @. ^% R: R. x
  917. [CLI Server]
    # v- g1 _5 P2 |7 b' Q5 ~9 k- E& b8 L% ^
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    7 u" d% N# H4 J6 Y1 ?; @4 c
  919. cli_server.color = On
    ' A1 q: H3 M$ u* U' Y) n0 H' z

  920. ! v" H5 ?% b/ `2 O. e6 i# @
  921. [Date], F6 \7 V" `- Y8 x9 g2 d, B
  922. ; Defines the default timezone used by the date functions
    7 \& s: _9 B: a
  923. ; http://php.net/date.timezone# @3 E, P% V0 L: E$ }! }
  924. date.timezone = PRC9 @6 X- w6 O+ e: H6 h

  925. " |' S: P  g7 R& j
  926. ; http://php.net/date.default-latitude/ H! N2 H! `: Y6 K
  927. ;date.default_latitude = 31.7667
    ' m; p/ x% |" i' e# f; i
  928. : ~4 l& K8 h3 p% C7 c
  929. ; http://php.net/date.default-longitude1 f. v, l6 F9 x# g2 N4 s; w
  930. ;date.default_longitude = 35.23334 n( S' ?" [  `) J6 M

  931. + O$ t" k  S; a1 t0 N& Q
  932. ; http://php.net/date.sunrise-zenith
    ( V% J7 D0 L1 Q
  933. ;date.sunrise_zenith = 90.583333" O* J. M) [' _, j* Z% g4 o& _. J+ Z

  934. * L. Z; Y/ V" Z1 M' q. n. b" ?0 L% q
  935. ; http://php.net/date.sunset-zenith% {# j% O' q; k
  936. ;date.sunset_zenith = 90.5833339 @7 s) F$ K5 o* W) {2 I: y
  937. ( C; F; @" P5 |. R
  938. [filter]; I1 w: D# E/ W# s" n3 [
  939. ; http://php.net/filter.default; e2 @6 X( u. |5 x
  940. ;filter.default = unsafe_raw
    9 U' C& u1 \1 l& N  M- ]

  941. 2 D; O8 R& H; `
  942. ; http://php.net/filter.default-flags
    ! B) P) V# e  `
  943. ;filter.default_flags =9 K% M/ g% Q6 h0 u# r

  944. 6 p. s5 U! K$ Y. G# j# P
  945. [iconv]& w! F2 I$ w. Y! P( y; |0 B5 p
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.( c7 Y' O- T' l% H  Z, M& @
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.0 P2 Y1 x1 B( y
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding* i& v$ I3 f4 g1 d5 }) ]
  949. ;iconv.input_encoding =
    . |, Q* h# E& }6 k
  950. % h  j) Y: I' x  X' N) L- ]
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.0 I+ a  [/ K+ x% u5 l
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    $ a7 z1 w* v% H; @
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding( G/ ^1 H9 n7 i% M8 x
  954. ;iconv.internal_encoding =3 ]1 V, a! P8 g1 r
  955. ; V) s( x3 ]1 L* ^
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    3 N1 v1 i6 `; @, q* H0 _
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.! ?  q2 [5 c- [0 ]/ y3 [
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding$ v8 u+ k9 K9 J5 ]( R
  959. ; To use an output encoding conversion, iconv's output handler must be set
    - m( e: z2 K2 a7 l5 l, l4 w
  960. ; otherwise output encoding conversion cannot be performed./ W! u3 b9 A. p" z* g% X
  961. ;iconv.output_encoding =6 P+ D8 o" Z6 I% I% w

  962. 1 w' H' C! E; n9 \
  963. [intl]% A& A8 S/ Q3 g9 N$ X: n
  964. ;intl.default_locale =
    * l+ j( ~/ N+ r6 d" M$ n! u, _9 s
  965. ; This directive allows you to produce PHP errors when some error
    2 q+ F* X) m% W) r( _9 b
  966. ; happens within intl functions. The value is the level of the error produced.
    3 T( X+ W; o% y3 o4 x5 \
  967. ; Default is 0, which does not produce any errors., r7 t1 F6 G1 {# I0 ?" |
  968. ;intl.error_level = E_WARNING5 E/ c9 h( c7 m5 J" s0 H
  969. ;intl.use_exceptions = 0
    1 K( R/ m: z  K3 O- e* X8 U

  970. $ Z( ^* S, Q) J  m( P
  971. [sqlite3]7 V# f4 m2 c, v. u! H& Z2 m
  972. ;sqlite3.extension_dir =# d7 N' C* e  G/ _$ C. _" V
  973. " w/ {; G$ W$ N
  974. [Pcre]
    2 j" F( a" t! z8 Q6 ]9 B* m
  975. ;PCRE library backtracking limit.9 p( i# @4 V( \% D. j+ \
  976. ; http://php.net/pcre.backtrack-limit
    . a; V2 B% m) \, S% `
  977. ;pcre.backtrack_limit=100000
    2 B! H( J2 w. P
  978. & W- N+ S% U: k$ C
  979. ;PCRE library recursion limit./ {. `% r% @. r" o7 }# r
  980. ;Please note that if you set this value to a high number you may consume all; a  ]0 `  z: O6 P1 w
  981. ;the available process stack and eventually crash PHP (due to reaching the8 e- {) t$ V9 x/ F9 z
  982. ;stack size limit imposed by the Operating System).8 p: C4 u( w- x4 G$ ?
  983. ; http://php.net/pcre.recursion-limit% R; z3 Y$ g. _
  984. ;pcre.recursion_limit=100000
    + j0 ^" K' U8 c0 {8 @7 Z. s

  985. 4 S1 E& ?% \+ o, d
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE- P+ F1 b( z& @& }! o7 w
  987. ;library to be compiled with JIT support.- n5 l& \! R, L% O9 _; [
  988. ;pcre.jit=1
    + i  ~: O0 |( u8 S/ @3 ^

  989. ' K; w% K% r9 J$ C
  990. [Pdo]
      \4 H" T" R6 X6 U' |& `
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off". g# ?3 N- l4 a8 m7 o
  992. ; http://php.net/pdo-odbc.connection-pooling2 [6 v" e% u6 s" ^  |$ [3 O' K
  993. ;pdo_odbc.connection_pooling=strict
    : j( X4 e; l* ]8 ?" d5 J
  994. $ O6 L( ^3 F9 [; l9 E
  995. ;pdo_odbc.db2_instance_name" r. B( r' b& Q% k. A6 _

  996. : c; f7 l% r& b4 c" }
  997. [Pdo_mysql]5 t1 y# x3 W% s! O1 N( l
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    4 A" T4 w. G* Y6 ^( Q  j
  999. ; http://php.net/pdo_mysql.cache_size
    3 i6 i; v' X! k) m6 D
  1000. pdo_mysql.cache_size = 2000
    $ l' ^3 E) F" ?" x. M' N
  1001. % N$ K' `+ D- W. j4 }
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
      n% h7 D: S) |6 Q9 F- @8 e
  1003. ; MySQL defaults.
    # w% A' m9 Y# f
  1004. ; http://php.net/pdo_mysql.default-socket
    . j7 X% _$ b6 @+ g
  1005. pdo_mysql.default_socket=
    6 q6 C% K# ]7 z- L# @

  1006. $ w" [" K9 k9 g$ r% @
  1007. [Phar]( T; o  _3 j* P' u. G, w
  1008. ; http://php.net/phar.readonly% h. v9 s2 x/ t8 n& f
  1009. ;phar.readonly = On
      x, a* N+ s1 Y% h

  1010. ; N) S: t0 G* l9 q
  1011. ; http://php.net/phar.require-hash4 `0 m% L: s. D' {0 \
  1012. ;phar.require_hash = On
    " Q/ ^, w& o0 z$ O; W- U) b) l6 ~

  1013. 4 j0 ^3 y3 Q  e2 T
  1014. ;phar.cache_list =
    0 l. D* l8 R9 _! m

  1015. ! N' f4 U) I" h; x4 G
  1016. [mail function]
      m. w8 \; T' [( k
  1017. ; For Win32 only.
    / Z$ H8 m, H, Z* U
  1018. ; http://php.net/smtp+ }, S: _" ~( @1 K1 u0 w" F
  1019. SMTP = localhost: h/ X; w9 K' E4 e
  1020. ; http://php.net/smtp-port
    + a; N1 y2 B+ X4 y" w
  1021. smtp_port = 25" y/ c7 P) @5 ]6 S1 \6 n
  1022.   F# k3 T, x4 j. W6 g
  1023. ; For Win32 only.
    " r  |5 |, T  G5 q
  1024. ; http://php.net/sendmail-from! o! w7 }$ U2 O* Q% w
  1025. ;sendmail_from = me@example.com* j9 p# H8 m3 B1 e: D  U

  1026. / j* m" U0 U. K# q, }
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    1 G' p7 ^1 O$ N! y  Q6 r  d8 ~
  1028. ; http://php.net/sendmail-path
    : d6 F( U3 u7 `
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    2 L5 k2 k% @# W1 R4 K9 G$ m' Y1 G$ u
  1030. 1 b  j+ u9 c1 I/ Z0 h4 Y- B
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    ; y3 Y; @( w3 w1 x
  1032. ; to the sendmail binary. These parameters will always replace the value of( `! Z4 ~  @- U+ a8 v, F% m
  1033. ; the 5th parameter to mail().
      u; _! G( Z: I/ \- ]
  1034. ;mail.force_extra_parameters =
    . p  s8 l2 q, _

  1035. 1 o* D! E/ Y( m' H: n$ V4 L
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    ! j3 g1 o$ [0 k: J0 S4 R( K
  1037. mail.add_x_header = On
    + U" F. A3 H! i# l( _
  1038. $ M8 Z3 U1 u* U
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    . M! i  @- C* _
  1040. ; the full path of the script, line number, To address and headers.
    7 `& {- U" f3 B) m. ^
  1041. ;mail.log =
    6 I8 b7 z$ ~2 V: t' Z
  1042. ; Log mail to syslog (Event Log on Windows).' W/ [1 o; o. K3 Z% [9 }
  1043. ;mail.log = syslog
    # t4 J0 @# `. ?8 r% V0 s

  1044. : @3 b9 m& U" h0 {( }
  1045. [SQL]0 V0 o: E" ?6 T& T( F/ Y( y
  1046. ; http://php.net/sql.safe-mode8 j4 W9 w4 _; F5 d
  1047. sql.safe_mode = Off
    & B- ]0 q* O8 \2 p5 t

  1048. ' J. u* R5 Z+ i
  1049. [ODBC], e) O( T1 T3 E6 m
  1050. ; http://php.net/odbc.default-db
    - f; d6 g! `  ^( A2 `# K3 M, @
  1051. ;odbc.default_db    =  Not yet implemented
    / D& }" {0 r( r. w
  1052. ' _8 q2 I4 {2 K" }
  1053. ; http://php.net/odbc.default-user
    . \0 |& O9 g+ N! c' c3 W
  1054. ;odbc.default_user  =  Not yet implemented
    " M9 ~2 K: J8 `- I* f6 \4 c
  1055. , ~. V" A9 s2 g8 q9 m
  1056. ; http://php.net/odbc.default-pw
    9 x1 X0 e8 k( s: P' J
  1057. ;odbc.default_pw    =  Not yet implemented
    : K6 v6 ]' U3 E3 d
  1058. 1 T1 \. i, M# @* x
  1059. ; Controls the ODBC cursor model.
    ( T+ G5 g' `$ u/ K7 ?# R/ Z
  1060. ; Default: SQL_CURSOR_STATIC (default).7 n% p& `: N3 i3 z7 x8 v% n( }
  1061. ;odbc.default_cursortype
      r5 T: u+ }6 x; y$ \$ ?3 ~4 b
  1062. ) E: x5 {' z% ?2 r* t/ j( Z
  1063. ; Allow or prevent persistent links.+ S6 Y' T5 d; a/ {/ e" L; w( n
  1064. ; http://php.net/odbc.allow-persistent& u3 V( U- g$ j7 L1 b. K* B( [
  1065. odbc.allow_persistent = On
    9 r6 i0 {* A7 X

  1066. & Z* P' R, U' R# x5 W" ^
  1067. ; Check that a connection is still valid before reuse.
    ' p( h( i; ^3 N8 V" ~/ s
  1068. ; http://php.net/odbc.check-persistent2 J9 w* U# n$ n6 f
  1069. odbc.check_persistent = On
    0 e/ S: i, a$ b5 H" Z

  1070. - T9 g4 n( N3 ?' X
  1071. ; Maximum number of persistent links.  -1 means no limit.
    2 L! k% K( Q4 J3 @
  1072. ; http://php.net/odbc.max-persistent
    1 k& a5 E1 d5 S
  1073. odbc.max_persistent = -1
    ; H$ g2 _* V, T9 c. V+ x8 n, Z

  1074. + K8 N$ q( J" D8 s: }
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.- x* P8 E3 ~: y5 f
  1076. ; http://php.net/odbc.max-links# d& }  f% P7 L8 n8 O: ?
  1077. odbc.max_links = -1
    - n/ |+ E5 I4 `3 V

  1078. 8 x# C3 F9 ]3 r) t
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means: A, q( U; L4 P- F7 M: j
  1080. ; passthru.* f% i8 z; \% f2 d; s. O2 i
  1081. ; http://php.net/odbc.defaultlrl
    + \% |7 M% N! I+ b+ [0 Q: b6 ~' k/ n3 e
  1082. odbc.defaultlrl = 4096- u6 m8 N$ b$ k4 N

  1083. 0 s( F8 _5 R7 }9 X
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    - H0 q( C9 h, j  v, ]
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation  x7 a) L* m% c7 D: |" `
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    $ C4 i5 X5 o/ y$ v, @+ N- q- |
  1087. ; http://php.net/odbc.defaultbinmode+ Y, T! b6 |5 w% a! z4 N: ?# u
  1088. odbc.defaultbinmode = 1$ q2 _5 Z7 T) D& \+ k

  1089. 0 ?6 o5 }) S9 b/ U0 `
  1090. ;birdstep.max_links = -1* E/ y4 \$ Y- U- x

  1091. , D( v* j; w1 K# H# \& w
  1092. [Interbase]
    3 k5 `1 q4 ]8 W: ~) r3 _
  1093. ; Allow or prevent persistent links.8 R! g' P. L1 c5 ?8 r
  1094. ibase.allow_persistent = 1
    # S2 U8 B% I+ P

  1095. % J: i7 p3 J9 A- f& S
  1096. ; Maximum number of persistent links.  -1 means no limit.( [- D) g2 B0 b: c3 l% u
  1097. ibase.max_persistent = -1
    9 ]% a% B8 u; x, t) B' K/ D. M1 |% W

  1098. " P2 i. t, a3 N4 X/ n1 b
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    5 J% V  N  |- q% s
  1100. ibase.max_links = -1
    : v' V! N0 B- [: c0 \$ y, H

  1101. ) }+ b6 e* B7 J) b3 w+ f+ n4 ]* o5 F
  1102. ; Default database name for ibase_connect().
    $ y1 S3 f$ k  x/ x
  1103. ;ibase.default_db =
    ; R) Z: p. V5 K: S% n  O
  1104. , Q4 u# A0 z+ ^6 y4 o$ p$ Y2 U; G" a0 s
  1105. ; Default username for ibase_connect().
    * }3 I: A# ]& Z* q9 Y4 r* Z
  1106. ;ibase.default_user =7 I! E/ j8 {: K, X
  1107. 7 R* g, F( e, j8 A! b
  1108. ; Default password for ibase_connect().
    8 |" Z5 Q! ^7 G2 Q
  1109. ;ibase.default_password =
    . ~. A+ X2 ^6 Y

  1110. 6 T) k' {1 w  ~  V. P
  1111. ; Default charset for ibase_connect().
    ! H- V/ W- [) u6 u* c
  1112. ;ibase.default_charset =+ ~% J! A7 Y% B

  1113. 7 x; a4 A& }2 W. J" b
  1114. ; Default timestamp format.7 M& V/ ?& \, e; V) S& n
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"/ H5 ~2 O  u& T& r3 ~( {  `
  1116. 5 |& p# K$ w5 j$ J$ O. q
  1117. ; Default date format.; ]4 b4 E) J/ Y7 C- f, ?1 a3 C
  1118. ibase.dateformat = "%Y-%m-%d"5 h' R# L! a4 _+ K+ f

  1119.   f* z# W. E  k  |; j+ a
  1120. ; Default time format.* K- i& F( y- R% p
  1121. ibase.timeformat = "%H:%M:%S"8 X. i: q: s' _! c% v

  1122. + ?6 O' T3 ^" a0 A' _+ Z# j
  1123. [MySQLi]) S- U9 s! ~' j3 e" l/ c- G
  1124. ; w# T5 x1 _: [6 O+ f1 n) ^
  1125. ; Maximum number of persistent links.  -1 means no limit.8 F2 X$ D% c% ~5 u
  1126. ; http://php.net/mysqli.max-persistent+ S$ D0 D7 j' J- M; G. n- E  s: F$ Y
  1127. mysqli.max_persistent = -1
    / J/ v9 f  g; }/ G

  1128. + @+ J2 o( _7 y1 H: N; G. ^
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements, v, |- S5 I! c0 N' s2 g, x1 u
  1130. ; http://php.net/mysqli.allow_local_infile
    - O" ^% |2 b5 V8 s) o/ @/ W
  1131. ;mysqli.allow_local_infile = On
    # T+ w0 ^) O1 t. u1 Q& n- @

  1132. 9 \+ k# |) v: Z' S. K
  1133. ; Allow or prevent persistent links.
    1 D) f1 m/ |3 n  \: x6 S  F: p- P
  1134. ; http://php.net/mysqli.allow-persistent
    ; S/ y) \1 O5 M2 q
  1135. mysqli.allow_persistent = On: y$ q7 @" m- J2 L7 ^
  1136. : E' a2 H" h7 \( Y
  1137. ; Maximum number of links.  -1 means no limit.  r& ~/ x! H0 S' Y) b, H
  1138. ; http://php.net/mysqli.max-links4 j; G1 q* O$ O6 F
  1139. mysqli.max_links = -1* ^3 f$ |" {7 X# b7 D& H# J

  1140. " @! Q8 i% x. a* R7 Y
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache1 y9 ~& \4 R+ _* j. X
  1142. ; http://php.net/mysqli.cache_size
    2 A9 c( l; s% r# C% f$ N
  1143. mysqli.cache_size = 20008 u. l; Z/ v) Z

  1144. 8 A) c0 t0 i+ K' M9 a5 i6 \
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
      `- P, T2 a7 f( C
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    4 |# I, q$ \0 s+ J# V5 l8 u! \
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    & G) W4 m# h* [) u( n0 E; F
  1148. ; at MYSQL_PORT.
    5 o3 }) A  |4 }4 ^7 V4 I5 ^9 w$ A
  1149. ; http://php.net/mysqli.default-port4 n! a5 k% ]3 J5 g/ @2 p
  1150. mysqli.default_port = 33060 A0 i" r! I# O2 t
  1151. * [9 R7 A2 u: U5 J8 c
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in3 y6 P% S: r$ z) Z
  1153. ; MySQL defaults.6 U( I0 F8 i5 r9 B: ?4 v' x2 L, c
  1154. ; http://php.net/mysqli.default-socket. Q9 d! C( B6 q) X: ^* m, K/ R  N( i
  1155. mysqli.default_socket =2 w% n+ s, ^) p% I3 {# X6 ?1 A6 f

  1156. , C8 \* i; H+ W3 L. @$ G( V% p
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    + O2 B% l; E- j8 W0 A. D/ B
  1158. ; http://php.net/mysqli.default-host
    ; G. k0 k( `4 H* f6 [8 D
  1159. mysqli.default_host =. T' O& k2 G9 ]' k6 A& z+ h
  1160. 3 o. d+ y' h: J9 g& n
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    / s* B6 [) B( L7 }0 D
  1162. ; http://php.net/mysqli.default-user2 ]) i( A" O  G' d" b) W$ q% N
  1163. mysqli.default_user =
    / ~! O( y! ]' ~: L' F. S" h
  1164. 6 L7 x% g7 M' B' ?( }; K# R; Y
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    : a3 N' i# ]1 C* \7 ]- }
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    & L) C/ E, w- j
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    8 B1 b7 G3 V$ i
  1168. ; and reveal this password!  And of course, any users with read access to this
    7 k. T* L' F" M9 a" v
  1169. ; file will be able to reveal the password as well.
    % T6 i; X2 e+ `+ x; m7 s
  1170. ; http://php.net/mysqli.default-pw* b5 j- `% C" L/ D
  1171. mysqli.default_pw =
      t% Z0 b+ @; H* B
  1172. . h) b* V0 R% Z2 h9 \
  1173. ; Allow or prevent reconnect: n3 m5 G2 z6 X
  1174. mysqli.reconnect = Off6 O+ c/ K( E2 [9 g7 [1 X0 T' [

  1175. ' I8 \) p! ]6 f1 K6 e. q; I0 O& S
  1176. [mysqlnd]2 k& ?& Y% n# }/ [2 u+ v& [
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
      r' z" d7 ^  i3 q# Z7 j" x. W6 a
  1178. ; used to tune and monitor MySQL operations.' g" i' z6 H1 |  L0 f
  1179. ; http://php.net/mysqlnd.collect_statistics
    ( I+ v" k, Z2 @; T* g7 b7 W
  1180. mysqlnd.collect_statistics = On( ?; ], }# w' I5 P5 O

  1181. 6 m% O; O8 P6 q( f6 w
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    : i' W7 o, a! l& c7 D
  1183. ; used to tune and monitor MySQL operations.
    $ \: G0 j1 `6 Z# `. o' Q/ r
  1184. ; http://php.net/mysqlnd.collect_memory_statistics) F8 `+ C% l" K4 k) B6 X" D/ Z
  1185. mysqlnd.collect_memory_statistics = Off
    6 O. i9 q/ d# Y5 O) _6 H) [

  1186. 9 q/ g% [9 \7 \
  1187. ; Records communication from all extensions using mysqlnd to the specified log9 U! Z5 q/ P) T/ {
  1188. ; file.: z( x* r3 f0 Q+ O% ?; q
  1189. ; http://php.net/mysqlnd.debug- ?! c9 u% B  p2 y& h- a7 t, n0 ^! k
  1190. ;mysqlnd.debug =
    / `% n) J5 w0 u8 i+ I4 u

  1191. 9 P$ U2 ]* E/ v" |7 T5 d% I
  1192. ; Defines which queries will be logged.9 q: s. ~, g9 ^0 G6 U
  1193. ; http://php.net/mysqlnd.log_mask
    $ h/ W! x9 j! p2 Y- A
  1194. ;mysqlnd.log_mask = 0
    5 W& r7 z& B' j9 ]& _4 s* k
  1195. 7 Q' \9 h, _7 A* W& N3 r
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    " y! N- c% M" `0 v5 }' h
  1197. ; http://php.net/mysqlnd.mempool_default_size; ]0 E$ G' d$ G
  1198. ;mysqlnd.mempool_default_size = 16000) d! I, M2 M7 |: h6 {+ c: t
  1199. 3 d$ x- I) ~7 W
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.8 o, N9 @" f; k8 R
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size1 V( M2 S) Y3 m4 n# ~, o
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    - g$ c! ^& c. a& y
  1203. # E( P! _! X' T6 E6 q1 c
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in% F& y* a% C; N+ U
  1205. ; bytes.
    ' n1 N8 S9 ]6 e
  1206. ; http://php.net/mysqlnd.net_read_buffer_size" W- N6 Y9 g% F5 r5 k
  1207. ;mysqlnd.net_read_buffer_size = 327680 n1 i  j& l* [/ `9 Z  b
  1208. 3 U- Q( X$ E3 w. m; F7 S/ E" J
  1209. ; Timeout for network requests in seconds.+ g* N. ^& W0 A3 z5 x# L4 h  B
  1210. ; http://php.net/mysqlnd.net_read_timeout
    & S8 `3 c# }$ w6 q: B, V" K
  1211. ;mysqlnd.net_read_timeout = 31536000- m/ e7 z$ |1 g. R
  1212. - l( g0 T. P5 G
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA7 B- M1 E1 T( X. U4 b% c- r4 w
  1214. ; key." d% T9 d: a& A# [) f/ t( n, W
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    % P1 ^4 Y' D+ ^$ c
  1216. ;mysqlnd.sha256_server_public_key =& y, Y0 D' b# w" |0 f# c
  1217. 4 w7 A7 E; z# j* H8 \
  1218. [OCI8]2 P$ h+ P, \1 E
  1219. " v9 w3 c+ F4 p% o9 `6 k- H) x
  1220. ; Connection: Enables privileged connections using external9 A( X1 G" q6 Y# |! m
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)1 W$ e5 X# m& a1 G
  1222. ; http://php.net/oci8.privileged-connect& f/ r" @% b0 W* g
  1223. ;oci8.privileged_connect = Off
    # Z7 C7 g0 [8 d: r

  1224. 4 i/ k3 r7 X: {. s0 s9 ~
  1225. ; Connection: The maximum number of persistent OCI8 connections per1 e* a& J* m! r4 K+ |
  1226. ; process. Using -1 means no limit.+ g) ^0 ^: ?7 j) j
  1227. ; http://php.net/oci8.max-persistent6 _$ C0 t* I; V- {+ v
  1228. ;oci8.max_persistent = -1
    8 w$ ^- A: \' P8 {
  1229. 4 |3 x2 ?7 x3 h3 S8 I) l+ |
  1230. ; Connection: The maximum number of seconds a process is allowed to
    - M$ l9 T- A* x* Q+ n; `8 m
  1231. ; maintain an idle persistent connection. Using -1 means idle- h6 i6 {. V, ]! x5 x! h
  1232. ; persistent connections will be maintained forever.
    7 a- V( N" A  e4 w1 B
  1233. ; http://php.net/oci8.persistent-timeout* T. D7 J; n9 u1 T' l# V
  1234. ;oci8.persistent_timeout = -1) f' Y1 q" g- y2 Y. g* L: d) ]
  1235. - o- L  y4 y7 x- x  o2 H
  1236. ; Connection: The number of seconds that must pass before issuing a
    : ]3 ]" g; V9 D; s+ b6 B
  1237. ; ping during oci_pconnect() to check the connection validity. When/ j5 |3 F/ W% z: i; d
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    # W/ x# K7 _, l1 M. w
  1239. ; pings completely.* p3 p/ L; x* R
  1240. ; http://php.net/oci8.ping-interval
    " \" O  G7 z: t: s* x* h
  1241. ;oci8.ping_interval = 60% l: T3 e4 m( a8 f
  1242. ! L& y" g( F5 L9 a7 q
  1243. ; Connection: Set this to a user chosen connection class to be used
    * y5 E" t, Z2 I* @& L% W
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    7 k( _/ U: ]6 D* C2 A
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to1 ?% G( s5 x1 |4 P" I
  1246. ; the same string for all web servers running the same application,8 @2 N$ a% p, ]$ W7 d: Y! @
  1247. ; the database pool must be configured, and the connection string must" B- c- Y. v7 Y
  1248. ; specify to use a pooled server.+ p9 g0 y8 @3 S& B, \1 o
  1249. ;oci8.connection_class =
    % Z' A0 {7 q! C8 D# F( Q/ b

  1250. ! O% N( ]* W+ F4 l9 a9 p1 z3 j
  1251. ; High Availability: Using On lets PHP receive Fast Application% m2 m  i" f3 \3 g3 u7 `* l5 ^
  1252. ; Notification (FAN) events generated when a database node fails. The
    3 x$ ^4 L+ U" ]7 \: C  e
  1253. ; database must also be configured to post FAN events.) }/ y4 ?4 i* u( f  N6 @
  1254. ;oci8.events = Off
    % y8 I$ f" Q8 X+ Q/ B' G9 U0 X
  1255. 3 c8 M0 b) U& |: r7 s3 m
  1256. ; Tuning: This option enables statement caching, and specifies how* r- ^, ]0 k: E
  1257. ; many statements to cache. Using 0 disables statement caching.: e6 \7 E& q; j
  1258. ; http://php.net/oci8.statement-cache-size
    3 D" ]* d2 h$ E0 D5 @. q
  1259. ;oci8.statement_cache_size = 20' Z$ Y' N2 H2 P; r1 }

  1260. # U$ w! `# E7 ?
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    ' ~% d* T2 o2 ~
  1262. ; rows that will be fetched automatically after statement execution.
    . I# S9 P+ o, m4 [" A
  1263. ; http://php.net/oci8.default-prefetch
    9 _# V# S$ c6 K; l6 A" k
  1264. ;oci8.default_prefetch = 100
    % h6 h9 W1 @: \
  1265. ! Q* u4 z, \( W- \. ]
  1266. ; Compatibility. Using On means oci_close() will not close. v8 C0 h, N/ w
  1267. ; oci_connect() and oci_new_connect() connections.
    3 h# H7 `% `9 S2 y
  1268. ; http://php.net/oci8.old-oci-close-semantics4 n! ^# _+ k3 C  j: J
  1269. ;oci8.old_oci_close_semantics = Off
    ) H& B1 d2 i* z8 Y9 V8 r

  1270. 8 b, i/ A6 f( F# Y7 g$ v
  1271. [PostgreSQL]! `, ~5 {, \0 ]' @$ h% I* ^
  1272. ; Allow or prevent persistent links.
    5 x) E& N8 s) [, ^9 k; i# ]
  1273. ; http://php.net/pgsql.allow-persistent! T! j0 h& c: c$ U
  1274. pgsql.allow_persistent = On5 T+ {; Y# c% o' u+ f- v6 p7 D
  1275. . k; }0 V% j+ e* p( T: q  E% ^
  1276. ; Detect broken persistent links always with pg_pconnect().# O  |( ~& V8 Z% d; X
  1277. ; Auto reset feature requires a little overheads.$ G  P% t7 G# y% l
  1278. ; http://php.net/pgsql.auto-reset-persistent
    2 y+ e7 d( f% w* ^' ]+ `* S) j+ l
  1279. pgsql.auto_reset_persistent = Off
    1 I0 \3 t6 W# ~- L

  1280. & v% F- h4 D. r! Y0 i6 c7 R/ J8 R) ~) \8 j
  1281. ; Maximum number of persistent links.  -1 means no limit.& r0 l6 z. L; n5 L9 F& @
  1282. ; http://php.net/pgsql.max-persistent
    ) Z$ H4 n) u: Q. Z
  1283. pgsql.max_persistent = -1% S2 f  R+ G. W
  1284. 9 p4 Y- _+ Y2 A- t& j
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.8 X8 I2 c) r+ T! @$ j8 f: w
  1286. ; http://php.net/pgsql.max-links
    7 Z0 E3 v- q- r& X
  1287. pgsql.max_links = -1" p* f; A" z2 P; [
  1288. " Y4 a' @) p' L- [
  1289. ; Ignore PostgreSQL backends Notice message or not.
    . Z6 R* a4 y5 z/ }4 V" Y
  1290. ; Notice message logging require a little overheads.$ r% F3 x$ [. d" ~4 Y
  1291. ; http://php.net/pgsql.ignore-notice; o& ^- ~7 `( O8 h  B( t  H, p
  1292. pgsql.ignore_notice = 0+ C6 i3 O8 `5 x" F4 R3 s+ Q

  1293. - L: ^: N; u8 m: Y: j; B
  1294. ; Log PostgreSQL backends Notice message or not.
    2 g" G+ A( ?# U9 s
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    $ b4 k6 D6 l+ h, t0 E. u0 p$ r
  1296. ; http://php.net/pgsql.log-notice
    3 R1 c9 _) y. S( t
  1297. pgsql.log_notice = 04 d9 ~% A# P( K8 A- X% c! K2 A
  1298. 8 n6 H, m* F, s, z9 T" S! h
  1299. [bcmath]# H0 m+ ^' z6 [$ |$ c0 p9 X% b
  1300. ; Number of decimal digits for all bcmath functions.
    * J8 O) d) a# }
  1301. ; http://php.net/bcmath.scale* `  p( J0 W" f1 y; K  A9 t+ D
  1302. bcmath.scale = 0% E, M2 M8 Q$ ], c+ R8 e; i
  1303. - T% K  z3 ]" q; w; c  F
  1304. [browscap]
    5 B0 Z6 d) Z! [1 P; `5 u0 H0 @1 U
  1305. ; http://php.net/browscap
    / l$ w  s/ u4 j. P3 Y
  1306. ;browscap = extra/browscap.ini$ W8 v" R6 a9 B( c- M

  1307. 8 }# G  T: _' F$ X( M
  1308. [Session]
    8 c# N1 M5 G2 l
  1309. ; Handler used to store/retrieve data.! k! B! O4 ~6 T7 l4 l' y7 i1 T
  1310. ; http://php.net/session.save-handler- l+ q+ x7 J+ W) d7 Z* E
  1311. session.save_handler = files6 _$ o7 d( k6 v  o

  1312. 1 j, L3 L0 q8 J* ~% S
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    : J0 {% O5 B( z' t6 _+ @" P0 H
  1314. ; where data files are stored. Note: Windows users have to change this! \1 f4 Y2 `8 z( f; |) l1 f# ^
  1315. ; variable in order to use PHP's session functions.
    ; i* ]7 [/ d9 p% e/ I  J7 }# \
  1316. ;
    ' N/ U. a* T  j
  1317. ; The path can be defined as:9 [) V) ]5 k& N# A3 L/ ~5 Y
  1318. ;# ?$ j4 D  b1 p& e
  1319. ;     session.save_path = "N;/path"! |; W. ]& y) k( o& E
  1320. ;* R. x; `% A2 m
  1321. ; where N is an integer.  Instead of storing all the session files in1 O! h, z% t+ K$ r- N7 j
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    ! L% M' v% ?3 F% O: r: D
  1323. ; store the session data in those directories.  This is useful if
    / l4 y6 D) W( a! h1 X" o
  1324. ; your OS has problems with many files in one directory, and is
    $ E6 o' S7 y, t
  1325. ; a more efficient layout for servers that handle many sessions./ S; m! j" A$ n3 Z% P1 J& k" _
  1326. ;' _" J+ X2 e& l4 i: v
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    ' h2 b+ I8 Q2 E+ O$ O  C
  1328. ;         You can use the script in the ext/session dir for that purpose.
    - S7 b+ x5 V7 w! n$ i. b
  1329. ; NOTE 2: See the section on garbage collection below if you choose to* n* k# r# ^! a2 X- b
  1330. ;         use subdirectories for session storage  D) O- F2 |% b# _( t0 x
  1331. ;. t* g$ u0 o5 s* N0 }3 T" s
  1332. ; The file storage module creates files using mode 600 by default.( C' h5 Z* L: ?  ?- ~" z0 b: d/ B$ c$ K
  1333. ; You can change that by using: ~+ M% y2 [1 J  a
  1334. ;
    - Y2 q! \( P  _; r- W! o# ?
  1335. ;     session.save_path = "N;MODE;/path"
    + o2 i( h/ @; U* z& `3 |) s
  1336. ;
    * }2 C& `: U" i8 k8 w* K
  1337. ; where MODE is the octal representation of the mode. Note that this
    0 o* U- z6 w$ V7 `+ F
  1338. ; does not overwrite the process's umask.% @- o8 e5 L/ b7 n7 s
  1339. ; http://php.net/session.save-path  S& h$ l% G& X1 _( O* f
  1340. ;session.save_path = "/tmp"6 a' d3 T. L& [: J' p

  1341. 2 _/ ^# Z( u4 q/ ?- B, R5 K
  1342. ; Whether to use strict session mode.
    - S: q; S7 {6 ~. a% M' O* z2 D
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    4 X$ I! e2 ]% ~, [3 F% e" d* P* O+ ]; J
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
      a, P" |7 x2 n& ~/ X
  1345. ; applications from session fixation via session adoption vulnerability. It is+ t) G; o  Q5 h3 R) }! c. H
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.' ?' Q# O; B" k, [: l1 Z
  1347. ; https://wiki.php.net/rfc/strict_sessions
    7 H. D9 f' `$ `9 u
  1348. session.use_strict_mode = 05 P3 n% o# C8 a7 P( N# V8 N6 q

  1349. " d  p$ E4 ~* B! X  m
  1350. ; Whether to use cookies.; O+ I$ i% h7 V" s5 S) f, S
  1351. ; http://php.net/session.use-cookies
    5 x; J" R+ w' A. i% W
  1352. session.use_cookies = 1" ?* ]$ Q# B3 F5 Z1 a$ e: b

  1353. - t3 W: g# ~+ Q: C
  1354. ; http://php.net/session.cookie-secure9 p4 ?, {# L' n3 @8 X
  1355. ;session.cookie_secure =
    $ N. v9 N" b1 C4 Q2 d
  1356. , d  L' A; V2 M+ i0 F0 n0 b8 Z
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining* m4 O/ W( z! P9 u  y
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    1 K8 Y2 j) q  z8 C* V
  1359. ; session hijacking when not specifying and managing your own session id. It is/ W* Q/ w0 I8 u6 D& g
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.; k5 z" e9 t8 ]: J2 p$ M
  1361. ; http://php.net/session.use-only-cookies
    0 \2 j$ c" [) c+ |) z9 m
  1362. session.use_only_cookies = 1# q1 u: ]- C/ Y$ L8 I7 L
  1363. * C2 \* e1 G6 W
  1364. ; Name of the session (used as cookie name).* G- j5 W! w8 K; w
  1365. ; http://php.net/session.name
    & U' z5 y0 l+ n/ m
  1366. session.name = PHPSESSID+ {7 p8 t+ d+ n' @; p& m
  1367. 7 _- B; u' w. N! Y' ?; Q
  1368. ; Initialize session on request startup.
      i, x( v" A6 w! o; M
  1369. ; http://php.net/session.auto-start
    + r: {+ u/ f7 t" C7 }* J6 Y5 Q
  1370. session.auto_start = 0
    ! l1 U" ~3 u5 g4 e& `; n7 {

  1371. - u9 g- n( k6 e: o
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    7 U# O7 H  Y* ~
  1373. ; http://php.net/session.cookie-lifetime0 n' }+ l/ t$ Z  f5 i4 m
  1374. session.cookie_lifetime = 0
    8 X" u8 S& _- s$ l3 e
  1375. ( b9 h' E5 h5 |+ }: H
  1376. ; The path for which the cookie is valid.  c, Q1 X2 c1 E( o! m: v" a' b
  1377. ; http://php.net/session.cookie-path
    # }( S% `" ]1 ]0 ]( R; ?% H8 O
  1378. session.cookie_path = /% X- w1 n- O* U4 j5 S" s

  1379. & Y7 S5 H8 y& M7 P* i( y/ D
  1380. ; The domain for which the cookie is valid./ t# L5 r: o3 w) P. H
  1381. ; http://php.net/session.cookie-domain
    # V) Z" Q, |* z( k. P+ M
  1382. session.cookie_domain =' `3 q$ d! h8 r  c4 L
  1383. ; K  L/ J! b% a5 G; O8 Q
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.: s% X2 T4 p/ q4 ?' K
  1385. ; http://php.net/session.cookie-httponly
      \  I, ^& \6 ?$ I4 g- W
  1386. session.cookie_httponly =
    $ H7 \  A3 g( F. ]9 ^% J

  1387. ; h- m1 B* @0 K8 G
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    2 t- l& f  P6 V1 z( X2 X$ C
  1389. ; http://php.net/session.serialize-handler8 ~# k+ B; o" o( t/ i. {/ v
  1390. session.serialize_handler = php! c: u7 W' ^$ E% v
  1391. 7 }% P9 g; t; ]% e* t+ U( u" z
  1392. ; Defines the probability that the 'garbage collection' process is started. `/ ?* S, n, u, Y0 i9 z7 S
  1393. ; on every session initialization. The probability is calculated by using1 R! J/ c' i  {5 M) ]
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator9 f; j% a; y6 A0 L3 f
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    5 U* _/ y( }5 W0 y3 g
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    * C% [; J2 _% h  H- }
  1397. ; the gc will run on any give request.& o3 V0 N) l" s: h# D
  1398. ; Default Value: 1
    - C  w( T. b$ U$ H3 y6 n1 {
  1399. ; Development Value: 1+ d! k* D! |9 d3 T
  1400. ; Production Value: 1
    , h5 p% [' C! o  y, {% X
  1401. ; http://php.net/session.gc-probability
    7 N+ j/ x- N  g7 o! {
  1402. session.gc_probability = 1. R2 x* n! p7 z+ [3 P

  1403. , J1 ]* Z4 c0 m# s5 }7 K" _: B& C
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    2 V, e  {8 s2 |* R4 ^; @
  1405. ; session initialization. The probability is calculated by using the following equation:
    3 H) s! r0 m5 Q, B0 I0 U
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and% n* i8 l, C9 |3 Y) P! o& G# f! ?
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    ( o+ A  J/ @/ q9 G
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    0 y7 ]* V" [% n  n! [
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    3 Y9 U  M  ]- [; T8 O4 o
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    : _+ Q# q4 [5 r. w: w: ]
  1411. ; this is a more efficient approach.: o& N2 Q( A- c) s' J0 }% u: V9 J
  1412. ; Default Value: 100
    2 I% y' b- c, o+ @2 T
  1413. ; Development Value: 1000: A0 b/ N* l$ S
  1414. ; Production Value: 1000% E2 c( A9 v# `3 n4 ?; s
  1415. ; http://php.net/session.gc-divisor
    ( |( _- l# S$ r$ `; @5 S1 e
  1416. session.gc_divisor = 1000
    / X2 }* C( G& h! l

  1417. # N! `: ~* M: l7 C  A, y' o
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and# z' z* O% f8 a% M6 m2 K* Y. z5 S
  1419. ; cleaned up by the garbage collection process.
    + ~9 T- |/ n5 p
  1420. ; http://php.net/session.gc-maxlifetime
    1 J/ U# A! r9 `$ {3 M" O: b  S
  1421. session.gc_maxlifetime = 14400 X8 E/ h" y- L, C! j; C

  1422. 1 J( P' s* Y9 N2 ]
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    " j! _1 u  }9 u$ h
  1424. ;       (see session.save_path above), then garbage collection does *not*& |8 I" o9 Y1 T) u  A
  1425. ;       happen automatically.  You will need to do your own garbage1 ^7 O+ Z4 u2 e$ i! u
  1426. ;       collection through a shell script, cron entry, or some other method.
    1 X1 g: S" P0 e3 T7 f. V9 k+ s
  1427. ;       For example, the following script would is the equivalent of
      C& L  q8 N' q! T( ]0 {7 F6 J
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    ( d/ f. ?, P6 v1 L& C
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm- r& ~4 G/ @1 z" Z( w5 F
  1430. : f& l2 D- c( b' \9 M$ c
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    - u& {  v& E' D+ t) |
  1432. ; HTTP_REFERER has to contain this substring for the session to be8 {; f" Y! [' P7 I+ l4 \& N) u( Y
  1433. ; considered as valid.
    2 w% T3 V, B$ C. t! ~
  1434. ; http://php.net/session.referer-check
    : d8 G* I1 v% F  V/ [" f
  1435. session.referer_check =( A& A- e! Y3 y9 f6 M6 n5 n

  1436. * E% K8 s( T9 b( S
  1437. ; How many bytes to read from the file.
    , ]1 Y% J3 K. T/ g" r8 Q: \
  1438. ; http://php.net/session.entropy-length
    6 h% ?$ c, D* Q2 ~
  1439. ;session.entropy_length = 32: G, W" W" q" d5 W6 D
  1440. - p5 M6 d- }5 F2 h0 q7 s; {$ p
  1441. ; Specified here to create the session id.# H8 `, E+ r! z! w# C: B
  1442. ; http://php.net/session.entropy-file
    . P# w4 X  [' y
  1443. ; Defaults to /dev/urandom
    4 b) c6 {! p6 W+ n1 G7 u
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom3 P8 a: X  y7 `$ C! G6 x" A' l
  1445. ; If neither are found at compile time, the default is no entropy file.5 M$ @- J2 `/ A- S6 z, T. u
  1446. ; On windows, setting the entropy_length setting will activate the9 U7 J0 Y* S5 @' }) ?- d+ e0 W
  1447. ; Windows random source (using the CryptoAPI); @9 n7 a) Q* t5 O$ R- O8 c: s6 M- \
  1448. ;session.entropy_file = /dev/urandom
    % a( V2 N  ]  e
  1449. % h9 M  H0 B/ i
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects9 m; w- }& k. V4 c9 n9 H' H
  1451. ; or leave this empty to avoid sending anti-caching headers.6 I) `. R% Y1 b* F- d3 B
  1452. ; http://php.net/session.cache-limiter
    4 ~- }5 C8 V( M1 P4 f2 y. F
  1453. session.cache_limiter = nocache4 d: @! e! o+ q9 f

  1454. + e8 w# m1 M/ z9 G2 x8 W
  1455. ; Document expires after n minutes.
    1 y6 ~  E5 e2 R% ]. T9 _5 S+ u
  1456. ; http://php.net/session.cache-expire
    9 e' u' Z3 e7 b+ v5 F' }/ Q- B
  1457. session.cache_expire = 180
      W9 e5 g1 j* [: \5 r# Q7 q$ l
  1458. & Y8 ?6 u% X+ m7 d: h, q( T
  1459. ; trans sid support is disabled by default.8 }% r# A2 T' f+ H
  1460. ; Use of trans sid may risk your users' security.: u) L. x: i9 {& Q% h
  1461. ; Use this option with caution.' L; e2 v, T3 o' y0 f  Q
  1462. ; - User may send URL contains active session ID' s( r- J% v7 J3 \2 R
  1463. ;   to other person via. email/irc/etc.
    : P3 u* q  L  [$ {2 o  g
  1464. ; - URL that contains active session ID may be stored* A8 l% z, t/ W  o1 O
  1465. ;   in publicly accessible computer.
    5 I2 @. }+ I+ C% V) K) w
  1466. ; - User may access your site with the same session ID0 }( y8 N3 K% L, z+ g
  1467. ;   always using URL stored in browser's history or bookmarks." ^0 t$ O  k5 u0 [7 K% d0 @
  1468. ; http://php.net/session.use-trans-sid
    2 P) |( [: Z7 R# B6 E
  1469. session.use_trans_sid = 0& O1 N6 d# u) B9 c9 o! c* J6 o3 k

  1470. 2 S9 v( N) e- j/ B% E: y
  1471. ; Select a hash function for use in generating session ids.
    ) K, F" a  S. m) E$ @" \
  1472. ; Possible Values& x0 O/ I2 ?+ P+ j/ V, J7 D
  1473. ;   0  (MD5 128 bits)
    ) F  x7 F( p. n4 b
  1474. ;   1  (SHA-1 160 bits)
    ) o' a: E, R/ \6 ^2 z4 Q
  1475. ; This option may also be set to the name of any hash function supported by
    ' @" f$ K7 P% R+ b% a- o
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    4 u0 i$ p0 j& Z. b* r
  1477. ; function.8 i8 T, ]0 x$ }/ `  C2 l
  1478. ; http://php.net/session.hash-function1 w! V/ r: `1 H5 ?
  1479. session.hash_function = 00 p% e: U3 i* X3 I* t
  1480. 5 I( v4 R* Z0 w
  1481. ; Define how many bits are stored in each character when converting9 e8 `2 H) L* }% p- }% f
  1482. ; the binary hash data to something readable.9 w, a6 A% {& Z, a' Z+ L/ B2 h1 P
  1483. ; Possible values:  A. F5 W9 p+ G
  1484. ;   4  (4 bits: 0-9, a-f)
    ' ^. ~. A. r/ H# f4 Z! K
  1485. ;   5  (5 bits: 0-9, a-v)
    ( y2 b1 b7 \, M: ^* P  `* f
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    1 W" l( a: k4 o$ s
  1487. ; Default Value: 4( j3 k/ j* ]3 E) {% y' O4 P9 M4 A9 y
  1488. ; Development Value: 5
    ) f$ x& j7 Q% n9 b* ^+ y$ Q6 V
  1489. ; Production Value: 5
    - d) V: e: {% i9 w  Y) i! Y) {
  1490. ; http://php.net/session.hash-bits-per-character
    3 R% k1 r  ^7 P
  1491. session.hash_bits_per_character = 5; ~/ {# K) w5 x
  1492. ) ~) T. P* v' ^* r
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    - }/ z: H4 J5 D& c, ]% B7 s: J9 t
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    5 f$ d9 G2 D: x9 C2 ?, c, q
  1495. ; add a hidden <input> field with the info which is otherwise appended
    5 y/ X0 m- i! M# X
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.4 u% Q, X; u5 g$ G1 B3 Y# ^
  1497. ; Note that all valid entries require a "=", even if no value follows.% y; e) y$ X% G7 V" r) C2 v8 u1 Y
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    5 K4 Q6 F  u+ L  T( p
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    0 t3 y& {3 Z% I2 d* J/ ^
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"  ^" y  x! {8 m* L( A7 Y
  1501. ; http://php.net/url-rewriter.tags3 Q4 U8 f, L* j  j  x+ V- j
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    % ]7 e7 l; L) Y
  1503. # v/ f# Q1 Z# x2 B0 Y2 i. ~
  1504. ; Enable upload progress tracking in $_SESSION
    8 p! }. H- x  _: L& j- d8 f
  1505. ; Default Value: On* {5 G9 O. [7 c5 J, I: R
  1506. ; Development Value: On" i( m  k7 R% p
  1507. ; Production Value: On
    : l3 {3 a* M. z- @) ]" d
  1508. ; http://php.net/session.upload-progress.enabled
    % w, J  ~; w* R$ }: |1 k, u
  1509. ;session.upload_progress.enabled = On3 r6 V; x. A9 q
  1510. 0 L' k+ T) o$ [$ V/ e" a: {
  1511. ; Cleanup the progress information as soon as all POST data has been read
    ! P: {+ v; r' \1 L3 p! C
  1512. ; (i.e. upload completed).
    ! @( u! [  G  P
  1513. ; Default Value: On# p7 o3 u- e  G5 i
  1514. ; Development Value: On, I( l5 I& N0 q! n" s* F  O( z
  1515. ; Production Value: On5 b$ v' [$ W+ \, S% {- w# v
  1516. ; http://php.net/session.upload-progress.cleanup
    " @" Y- P, f! Y" A
  1517. ;session.upload_progress.cleanup = On
    6 m) F9 N/ U5 @7 G3 o
  1518. 8 |, ?9 U/ t1 E5 M
  1519. ; A prefix used for the upload progress key in $_SESSION6 v, m3 d/ Y5 F
  1520. ; Default Value: "upload_progress_"
    * z  M2 \3 B/ b6 [
  1521. ; Development Value: "upload_progress_"
    4 I% e& A& W* l4 C5 B. d6 ~# e# n' @
  1522. ; Production Value: "upload_progress_"4 O" |$ G2 F% d- Z
  1523. ; http://php.net/session.upload-progress.prefix. \) Y* a+ j9 H6 G6 u
  1524. ;session.upload_progress.prefix = "upload_progress_"
    $ O6 e) p: `% \# x9 F( w% m. M

  1525. % w3 R- b0 p( C7 Q1 n$ O* n4 g( h
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    7 A. P) ?3 Z( G* |# i/ K
  1527. ; containing the upload progress information6 Z( k5 E) R& T
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"+ h* s- z( M$ j0 Y0 H  ~
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"9 a7 B( F( n0 Y% ^; |7 C6 H) Y8 C
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"9 k; s$ y$ r( s8 J& W8 j% e
  1531. ; http://php.net/session.upload-progress.name. t: \# T. X1 R  f5 G: \
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    + O/ F, U# j5 ~5 y/ G1 M; A
  1533. 4 X) h9 Q- N  F& t( [; {8 o% P( a
  1534. ; How frequently the upload progress should be updated./ s5 U. q* Z/ k7 s+ Z! P- \
  1535. ; Given either in percentages (per-file), or in bytes3 ~- ~; ?+ }8 E0 f2 f0 J# h
  1536. ; Default Value: "1%"
    4 i& X& |! h+ w& X/ R; Z
  1537. ; Development Value: "1%"
    ' m* T3 S! q- ~4 E; N5 z
  1538. ; Production Value: "1%"
    5 ~1 z$ K* B8 W8 _
  1539. ; http://php.net/session.upload-progress.freq- E7 q" }# T7 u5 e
  1540. ;session.upload_progress.freq =  "1%"/ C$ q" i9 w$ R7 g; m
  1541. " P4 Y1 J6 O3 M! R! K! Y* @
  1542. ; The minimum delay between updates, in seconds' k8 V- Y  g: \  m/ {
  1543. ; Default Value: 1
    8 [4 K/ B/ M: f' t# A  G) S( G% `
  1544. ; Development Value: 1: q& J+ j! R0 f' @
  1545. ; Production Value: 1
    6 q% O( L0 D. j1 O" Q( h% t
  1546. ; http://php.net/session.upload-progress.min-freq
    4 C- j9 }/ B7 s$ q. H' T
  1547. ;session.upload_progress.min_freq = "1"& B1 s) u2 m: J( O1 A
  1548. 4 a1 k+ h) y8 t# [
  1549. ; Only write session data when session data is changed. Enabled by default.& K7 v4 F- e* @% [
  1550. ; http://php.net/session.lazy-write6 b  o4 M1 N7 P( l
  1551. ;session.lazy_write = On
    / S  C+ x+ ], I" G2 n8 H* B
  1552. 6 p6 I' j  n; g( H4 ?
  1553. [Assertion]
    9 |4 _( Z& q6 p. Z: a& D2 F
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    + B; i8 d" |  f4 Q* r
  1555. ; -1: Do not compile at all/ G' U: J/ B, g( S" [
  1556. ;  0: Jump over assertion at run-time5 b# u; r) X2 q6 P1 x$ y
  1557. ;  1: Execute assertions; O) E1 S+ O7 g- }' z1 t6 A
  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)
    ( k7 j7 @1 T: H( |
  1559. ; Default Value: 1
    1 Z* j9 ~! t* D- r: I% P! I
  1560. ; Development Value: 1; z& L% T/ A4 W) j
  1561. ; Production Value: -1
    3 g5 s' I3 h% k9 C: l7 P
  1562. ; http://php.net/zend.assertions% c' Z& ]  t! g  L' f
  1563. zend.assertions = -13 H& r  _+ g! T7 M2 W( W. ]
  1564. ' C# h" n0 y/ n/ {0 y6 F
  1565. ; Assert(expr); active by default.: d2 _" j, p$ ]* u$ P6 i9 v% L
  1566. ; http://php.net/assert.active: l8 d" @! e6 X0 K; O6 R1 F. S
  1567. ;assert.active = On5 _0 s3 Z+ l9 L  c* a
  1568. . @5 P) M4 t; ~  ]7 l7 {9 W, ?
  1569. ; Throw an AssertationException on failed assertions
    ; s, Y, L# `0 c7 w' O) H7 W
  1570. ; http://php.net/assert.exception
    / m8 l$ g6 P- G( v- M. @) N
  1571. ;assert.exception = On
    & ^6 u+ `' s: r" T% V8 W9 W

  1572. - X8 Z( Q9 Y8 e% M
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    + b5 Y* G0 q( @5 w# ]
  1574. ; http://php.net/assert.warning* h* t) T: |* K1 G9 U
  1575. ;assert.warning = On$ v; V% b) }. u, a1 r
  1576. 0 M7 r" U  h  _$ c( _
  1577. ; Don't bail out by default.
    1 S8 D3 Q3 V3 o5 ?+ M5 S# u6 M
  1578. ; http://php.net/assert.bail
    2 _, P1 N# h6 l' V/ Z
  1579. ;assert.bail = Off- v: A! ~. }( N% S4 F
  1580. 2 q, f7 ^: u9 m9 H! r
  1581. ; User-function to be called if an assertion fails.
    4 M' S4 f. l5 f8 F% J
  1582. ; http://php.net/assert.callback: X' _, w7 K1 G" W
  1583. ;assert.callback = 0
    8 s3 H# {' k# E4 L/ ~# h$ r; b( d
  1584. : m; x, Z% \4 R6 y
  1585. ; Eval the expression with current error_reporting().  Set to true if you want) D! i2 C  R. E
  1586. ; error_reporting(0) around the eval()./ u! N& z' d! [) R$ a# p
  1587. ; http://php.net/assert.quiet-eval" ~9 V) q9 R8 m; g8 T- h1 ~. \8 m3 L+ u
  1588. ;assert.quiet_eval = 03 {9 @+ R2 D$ s6 y8 E( i1 B

  1589. + M, n# O1 E: G  O
  1590. [COM]2 V: }. T1 u# A% c" F& C
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs! N7 C6 Y' e8 u2 O' _
  1592. ; http://php.net/com.typelib-file1 k2 V1 W1 S7 R; [! A( x% E
  1593. ;com.typelib_file =3 M% \9 a. O5 K, p

  1594. 5 h( f; p3 y* m3 X- g0 i
  1595. ; allow Distributed-COM calls
    9 t- `: t, L9 ~$ }" m7 N. |
  1596. ; http://php.net/com.allow-dcom! X. [) O, m& k" R7 w) x
  1597. ;com.allow_dcom = true1 B( ]* a6 r( }. J2 ~
  1598. 4 p/ C6 a( S% E, O8 v7 H
  1599. ; autoregister constants of a components typlib on com_load()0 j+ ]' Z# a2 [0 J
  1600. ; http://php.net/com.autoregister-typelib
    1 T4 ^- I1 C# c. [+ ~) y+ U/ d5 Y
  1601. ;com.autoregister_typelib = true
    : X6 J. Z& T& F3 ]/ [2 F
  1602. , L* ]2 q* B- z& i& N
  1603. ; register constants casesensitive# }' y# `. e9 I# |: P% ^* P; Z6 z7 c& S
  1604. ; http://php.net/com.autoregister-casesensitive
    8 B! P3 |3 w; y0 j4 S& B
  1605. ;com.autoregister_casesensitive = false
    ( j9 f# v0 Y" x' ?3 {9 X/ b8 c

  1606. " j  |2 R' I. s# l" k
  1607. ; show warnings on duplicate constant registrations- j# O  X: z1 m) F' f* k$ j
  1608. ; http://php.net/com.autoregister-verbose% z7 t2 ^, |3 X
  1609. ;com.autoregister_verbose = true4 B$ A3 ^. o2 _5 Z0 Z( y& c
  1610. 4 X, i3 j6 i4 @8 u# u- ~
  1611. ; The default character set code-page to use when passing strings to and from COM objects.% Y7 h% \; F0 R' B
  1612. ; Default: system ANSI code page
    5 m, f$ N' r% p$ L- M6 ]$ u
  1613. ;com.code_page=7 k4 u+ {% ~( P5 c/ G8 b- ]" Q

  1614.   P& B( f" C5 R1 F! g0 K
  1615. [mbstring]
    6 p7 z/ z: n3 T6 s- {
  1616. ; language for internal character representation.
      ?1 R, e! |5 e& X/ l! t
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    ! @. F4 a3 C8 M9 B
  1618. ; http://php.net/mbstring.language
    7 A0 A0 Z1 f7 k' J) Q
  1619. ;mbstring.language = Japanese8 A% K1 K" d, f% C
  1620. * Z+ u# m: l0 l# V
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead." v+ ~& ?; Y+ F5 W4 ~9 }
  1622. ; internal/script encoding.
    . O, K# Z# p+ |, |: [% D9 a, i/ X
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    6 m- o3 q4 q) R: X
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ; U. O* V9 Y" Y* V! Z7 x' T1 k
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding' R' i, w4 d% v8 U' q' S( x0 k
  1626. ;mbstring.internal_encoding =' w# n( q7 |( f/ V1 d

  1627. / G# A4 \& d% s2 t8 v! E
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    - |5 s8 s* E& r0 L- F1 K
  1629. ; http input encoding." `. i! L0 B9 \0 w
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    % }! O6 Y7 t0 i
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.% m% n1 T0 k% u* g8 s" Y
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input. n( s5 d% H! t# @+ }
  1633. ; http://php.net/mbstring.http-input
    ) j2 q4 X0 `5 t5 k5 w
  1634. ;mbstring.http_input =
    : _. x& q% g" E5 o8 N, N7 ^# `
  1635. / J9 R4 h/ s! X* L8 R
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    7 @- S* s$ _  ]. C* T4 r' T8 e8 C" m
  1637. ; http output encoding.
    * W/ n+ v/ T; k6 a1 ~$ _
  1638. ; mb_output_handler must be registered as output buffer to function.% f$ n% f" L. z% `. t. g, g. _- E- a
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    : W! M1 r( Y  [( d3 |. u
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output7 J  `8 U) ]; o5 T3 E* t, V! y
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    7 |. s  X: x% t" A- l
  1642. ; otherwise output encoding conversion cannot be performed.
    : m) e- Z) m* K: I/ p, d- q
  1643. ; http://php.net/mbstring.http-output
    3 j8 J1 x& L! j2 u
  1644. ;mbstring.http_output =: m! J+ I, J# e
  1645. . E; j7 Q8 W7 N
  1646. ; enable automatic encoding translation according to$ A3 Q. Y+ J3 }/ ~
  1647. ; mbstring.internal_encoding setting. Input chars are
    ! K- g9 `7 h' {/ k9 Y
  1648. ; converted to internal encoding by setting this to On.' o' G% p7 L7 o# M
  1649. ; Note: Do _not_ use automatic encoding translation for# M9 a3 O6 [, r! f- S  n( J
  1650. ;       portable libs/applications.6 y1 J5 f& G& B- C0 |3 {  C
  1651. ; http://php.net/mbstring.encoding-translation$ N! s$ F8 f& G5 Z; [* e- h
  1652. ;mbstring.encoding_translation = Off
    % ?2 m2 @" ], }3 R# K  N/ s: J

  1653. 4 W- z) ^" V" V4 u
  1654. ; automatic encoding detection order.' d( u7 [5 ?0 x2 H) Z$ \& S
  1655. ; "auto" detect order is changed according to mbstring.language
    5 G/ w- b" D7 x, |4 I  c2 h
  1656. ; http://php.net/mbstring.detect-order
    7 k  y9 t0 n7 @4 r1 C7 ]# u% O
  1657. ;mbstring.detect_order = auto
    $ A) n7 H' S* J2 {6 E

  1658. ! n+ N' x7 `0 C8 _1 d: O) ^
  1659. ; substitute_character used when character cannot be converted
    2 D9 n+ F8 X7 Z( w
  1660. ; one from another
    * r* i) P7 F3 C( @* g
  1661. ; http://php.net/mbstring.substitute-character
    5 Y$ v8 [+ l! b+ B/ n$ W$ g
  1662. ;mbstring.substitute_character = none
    7 g4 M$ s' y* d9 W9 p  i

  1663. 6 e  S- a$ P( B
  1664. ; overload(replace) single byte functions by mbstring functions.' T4 f  n8 Z: [4 @8 z5 f: p- W
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    : z# v  ^# [4 j  u& g$ L  A
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    9 ~  p6 K- i& x
  1667. ; For example, 7 for overload everything.
    / ~5 ~- i5 p: ~$ F- v) S
  1668. ; 0: No overload4 l/ N; ]9 `; z/ ?2 E
  1669. ; 1: Overload mail() function
    9 P! Z. i* j0 y# d
  1670. ; 2: Overload str*() functions  i% X9 T0 e3 @: S9 c* o$ H1 l) M7 }
  1671. ; 4: Overload ereg*() functions
    6 a% N4 y8 @) Z1 m7 P* U+ s
  1672. ; http://php.net/mbstring.func-overload% [4 t1 f# W/ {9 ]6 O# P
  1673. ;mbstring.func_overload = 0
    5 z, F4 c- _9 I' @

  1674. ! ]7 p. F9 ~+ p, a7 G3 L
  1675. ; enable strict encoding detection.
    9 r' O' G( p( G( D8 k- b) @; \
  1676. ; Default: Off3 y! x/ l/ A9 s* s# K
  1677. ;mbstring.strict_detection = On% Q  v9 p+ k( I0 T

  1678. 7 ~7 \, t- _: c
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    7 K, j- v! P  ?: ^
  1680. ; is activated.0 J: D; [7 ~& J# D$ t6 Q5 n( R
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    . X3 x- X- W$ F0 B# n% f( \
  1682. ;mbstring.http_output_conv_mimetype=
    ( t. i2 _( E: ]7 n4 V3 t: p- ?
  1683. - E& S0 j) {" I8 N6 X% N7 @- g1 o" p( s8 L
  1684. [gd]0 v$ O% p% w) [
  1685. ; Tell the jpeg decode to ignore warnings and try to create( y7 m$ x: R" q) B6 q6 u
  1686. ; a gd image. The warning will then be displayed as notices
    9 Q+ @3 T+ D' g/ }/ y
  1687. ; disabled by default
    , f9 F; R' o  T- J4 Q
  1688. ; http://php.net/gd.jpeg-ignore-warning
    * i7 ]' l% @& y" w
  1689. ;gd.jpeg_ignore_warning = 0
    : K9 W& z( c1 i: }  u
  1690.   p& I3 `* Q) Y, d
  1691. [exif]
      ~; u, ~  ~6 _  G
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    ' R* f' v4 Z; L
  1693. ; With mbstring support this will automatically be converted into the encoding; s; c$ k  O. E0 g2 z
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding/ A0 y: E6 J& w; @0 H8 K, m
  1695. ; is used. For the decode settings you can distinguish between motorola and
    * Z5 W8 _; S9 ]9 k+ ?
  1696. ; intel byte order. A decode setting cannot be empty.! \$ [+ h$ D# Z' T3 t
  1697. ; http://php.net/exif.encode-unicode3 g7 [8 b0 L6 Z1 v' _
  1698. ;exif.encode_unicode = ISO-8859-15% b8 G5 ?. r1 B3 f; s9 b8 f, t

  1699. # N: j2 m3 o8 O/ G- G+ A# y
  1700. ; http://php.net/exif.decode-unicode-motorola( W$ S) m" J% Z( A: s7 U4 y
  1701. ;exif.decode_unicode_motorola = UCS-2BE1 M' c+ w1 B2 s% m

  1702. ) L, ?8 C6 b1 d# N
  1703. ; http://php.net/exif.decode-unicode-intel. j) s; f3 w" D9 B
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    . P  n3 f& D; t
  1705. ( L' E7 \" F  B" Z+ B: j8 @$ u
  1706. ; http://php.net/exif.encode-jis
    / e! u( N/ o' ?
  1707. ;exif.encode_jis =& v8 t) ?( @- e. ?
  1708. " h3 C' g  _$ w9 a( r
  1709. ; http://php.net/exif.decode-jis-motorola
    % u0 T& \& x5 D  `. H
  1710. ;exif.decode_jis_motorola = JIS
    $ `- {" A  |1 X* e( P

  1711. / g% d0 Z* r) R7 \: B7 t+ d9 l
  1712. ; http://php.net/exif.decode-jis-intel
    2 d7 {3 V! K3 R& q
  1713. ;exif.decode_jis_intel    = JIS! c. g% i/ K6 R0 j8 X. O
  1714. ( E; Z6 [9 z+ ~( J' q" l
  1715. [Tidy]
    4 h/ A' g1 u2 ]( j4 _
  1716. ; The path to a default tidy configuration file to use when using tidy* p  E  Z: B% I" n" L
  1717. ; http://php.net/tidy.default-config3 R6 u. B& a6 m: q& `
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    ; U4 C8 E* J; U4 e

  1719. 1 x1 O/ M) o, p/ `; e- M3 C
  1720. ; Should tidy clean and repair output automatically?3 b2 R) `9 a" g
  1721. ; WARNING: Do not use this option if you are generating non-html content& O9 s( A. ~: U
  1722. ; such as dynamic images
    ( M+ _0 N0 l! }
  1723. ; http://php.net/tidy.clean-output
    8 t7 W! Z; \# b4 K: V2 Q! F) f
  1724. tidy.clean_output = Off
    - R( g5 ~% x, q8 P; r3 m' g
  1725. / S# n5 \- x  d6 F, e% T
  1726. [soap]/ P; C$ f$ J2 S! F
  1727. ; Enables or disables WSDL caching feature.
    # ^3 C5 I5 N- {% {
  1728. ; http://php.net/soap.wsdl-cache-enabled1 I6 ~- m4 g8 b, y
  1729. soap.wsdl_cache_enabled=1( q8 S9 v+ P5 _
  1730. ) S5 ~* q: }7 X
  1731. ; Sets the directory name where SOAP extension will put cache files.2 k9 Q+ O/ X, x# _% u
  1732. ; http://php.net/soap.wsdl-cache-dir7 z5 J2 S1 D, W4 w
  1733. soap.wsdl_cache_dir="/tmp"
    ; j! k2 S2 \. C8 D# K! t$ z- a

  1734. 2 a$ F0 o/ l3 P7 X( s
  1735. ; (time to live) Sets the number of second while cached file will be used, v# _6 B. Z6 q# F" e; y- l5 K
  1736. ; instead of original one.5 U" n% |- `% i6 q( t9 [6 J6 u
  1737. ; http://php.net/soap.wsdl-cache-ttl
    , b1 e/ z* }9 a; F- Q
  1738. soap.wsdl_cache_ttl=86400
    : A( q. W& A* E1 B. a

  1739. " F* k0 n6 ?: P2 R# g
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    : ?" ]0 t3 O; p" C5 V2 ]
  1741. soap.wsdl_cache_limit = 51 S# o9 ~0 N6 g" w# R
  1742. 9 V6 U4 E1 i% N/ b! n: y1 h+ q
  1743. [sysvshm]) ]( I. E, E0 u8 ^8 @8 g/ j
  1744. ; A default size of the shared memory segment
    $ @  q4 Q- ?9 z0 ~0 D0 r; b% |
  1745. ;sysvshm.init_mem = 10000) i; `9 z0 _9 t+ p

  1746. - L5 K5 p  ^. c& g
  1747. [ldap]) E) c. ?3 N" W' n1 Y' S1 |
  1748. ; Sets the maximum number of open links or -1 for unlimited.! l( N8 f/ D2 o" F2 Q$ C0 x2 i$ R
  1749. ldap.max_links = -1
    8 {0 o4 e' e2 i' |/ S% m
  1750. ( X/ Z: }+ X0 \" N. A8 `2 _. R. Y) D
  1751. [mcrypt]
    * k/ r/ |8 r% f. Z
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
      o' _0 u% O: A; O

  1753.   N: Y4 s$ }. o6 a5 k: O& Q  P" N
  1754. ; Directory where to load mcrypt algorithms
    7 Z0 Y/ E% C1 `+ a3 G2 X
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    : L" z. b' N: p5 t4 |8 z( Z
  1756. ;mcrypt.algorithms_dir=
    - y8 n) r9 x1 i9 ~3 p

  1757. 3 P: B: S4 Q; `: V, p1 m7 \
  1758. ; Directory where to load mcrypt modes
    * o, i( J5 f# H8 D/ O2 n
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    4 e4 Y% h8 ]6 T1 h
  1760. ;mcrypt.modes_dir=
    % z9 a, f( @8 {" m3 ~2 s1 Q& N

  1761. & c) }3 a  `) ]! c
  1762. [dba]/ g5 a8 O9 g5 X: x6 E1 }/ j7 f" @
  1763. ;dba.default_handler=
    5 ~8 n% j. M' j3 Z. v
  1764. $ {9 W7 O) S9 P" h$ i. P
  1765. [opcache]
    / \: _% M, R+ N8 V) d
  1766. ; Determines if Zend OPCache is enabled5 W; Q9 a; @8 U& J5 U4 e! r
  1767. ;opcache.enable=0
    , C1 @9 g; f% H6 r( h# W3 T7 k

  1768. % Z. x7 \8 e2 A- r; a: o# d
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    8 o' M- I7 P0 w1 H
  1770. ;opcache.enable_cli=0
    ( g7 T, F! N- E) t; [% {
  1771. 3 [! x% B$ \& f6 A+ K
  1772. ; The OPcache shared memory storage size.$ t; ^3 v' C: I4 ]5 R
  1773. ;opcache.memory_consumption=64* T$ U  h% K9 a: B8 _3 G& i

  1774. 6 d( U& ]* l0 b2 J1 E3 T1 Z* O
  1775. ; The amount of memory for interned strings in Mbytes.3 s% x$ a0 j7 ^% ?) ]
  1776. ;opcache.interned_strings_buffer=4
    9 l3 M" o% `8 r+ n% U
  1777. $ V1 V; f1 G, _, h( w0 S
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.5 s$ E3 }. k* I
  1779. ; Only numbers between 200 and 1000000 are allowed.5 y5 A) G, y& b# I9 k: T3 i
  1780. ;opcache.max_accelerated_files=20005 |2 n( |+ _1 C7 k4 o
  1781. + }( c6 |! A& I6 [" e- t
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.( J& u# w# C" v
  1783. ;opcache.max_wasted_percentage=5
    # r" C* E9 A) ?3 q  [+ |4 a

  1784. , x& P0 G; Q0 i% p) w) @& a$ h! \
  1785. ; When this directive is enabled, the OPcache appends the current working
    8 U  x4 u5 j: q) L8 ?9 K
  1786. ; directory to the script key, thus eliminating possible collisions between0 t6 o6 Y7 z' i9 ]. c& a
  1787. ; files with the same name (basename). Disabling the directive improves
    5 L. ~* F3 O+ I( |& J5 r
  1788. ; performance, but may break existing applications./ I1 X! B3 b; X; L2 ]7 A" \
  1789. ;opcache.use_cwd=1
    % L' e* {2 O: z$ [
  1790. 7 L. h# y3 h( `0 H% ?. L
  1791. ; When disabled, you must reset the OPcache manually or restart the
    , R! ~" d* A. ~- h- y
  1792. ; webserver for changes to the filesystem to take effect.! R4 X( U; ^! \8 q( t: u7 j+ E
  1793. ;opcache.validate_timestamps=1
    # p. z, c% u. l7 y8 j
  1794. ) u. k3 Q2 g! b% G% |$ I
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    5 L9 {) a7 @5 S6 T1 [7 z
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    4 C/ k6 X! q& H2 y+ V8 _1 I
  1797. ; once per request. "0" means always validate)
    ' f. Z4 k( k3 ?# D0 X1 f- O5 J! e
  1798. ;opcache.revalidate_freq=2
    * A/ R  F% |: n- j/ W8 R: X" U7 F

  1799. 9 Z" j% k3 ?* K. F1 ]8 R
  1800. ; Enables or disables file search in include_path optimization
    / P) S9 s  r8 Y1 h; L
  1801. ;opcache.revalidate_path=0
    9 I* e. R! R% L8 n- J& d3 M
  1802. 3 J4 \! |7 k  Z2 l- z8 X. F$ ^" |
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the# }' ]2 C' ]4 M5 S  L. J6 S
  1804. ; size of the optimized code.0 v- n0 k7 Y! P6 \
  1805. ;opcache.save_comments=1
    " n4 r& H* v8 `

  1806. 3 h* f" [+ L6 i2 {. i' k' x: @- F( l
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    6 I1 i8 [  i3 {6 g
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.( O' Q# N3 r2 B! o, |+ B
  1809. ;opcache.fast_shutdown=0% m9 u  U6 |8 d! j+ k% u

  1810. 6 k" y4 `( \0 G9 X: j, }7 ]
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
      v  T& s5 j% i9 L& X
  1812. ;opcache.enable_file_override=01 Z  R. }. F4 W
  1813. * C  E2 e! v' k6 @8 W6 d2 I; a
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    2 j$ H& K/ ]8 @  x0 X
  1815. ; passes4 ^: b6 s6 O- P( M) I) g4 b1 b$ Y
  1816. ;opcache.optimization_level=0xffffffff
    & t" C- @8 J6 v8 f5 g2 B: ?
  1817. - z2 O+ S7 k7 q$ ?4 h
  1818. ;opcache.inherited_hack=1& u/ x" K/ b* E: |
  1819. ;opcache.dups_fix=0& o# ]& G( u& k, R
  1820. " A0 b  ]& a& c% D' E$ R
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    2 C  N) H' `/ m$ F: n6 [% f
  1822. ; Each OPcache blacklist file is a text file that holds the names of files0 \, r9 N7 m1 T; o3 C
  1823. ; that should not be accelerated. The file format is to add each filename8 o' G# V$ U4 @1 x+ K2 m! R! g
  1824. ; to a new line. The filename may be a full path or just a file prefix6 E; Y( T: ^* \5 l
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    1 }- \' q7 K6 J
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    0 U" ~& Y$ R! t  ~1 p+ B1 L
  1827. ;opcache.blacklist_filename=0 j9 M" j! h3 f) r& B% Z. s
  1828. 9 Y- Q* K/ ]. }5 S
  1829. ; Allows exclusion of large files from being cached. By default all files
    + b1 w5 R$ q& I9 p& [* N
  1830. ; are cached.
    4 v( O0 W4 g$ L% A0 J- [
  1831. ;opcache.max_file_size=06 R  O$ H7 F/ ~
  1832. ( ^6 B4 O9 T4 K. k5 R, A  L
  1833. ; Check the cache checksum each N requests.) O* C8 y  h$ A  a( C4 O- o: B6 G6 j( y
  1834. ; The default value of "0" means that the checks are disabled.+ g$ {$ t9 e/ P# H1 P  i7 p  O
  1835. ;opcache.consistency_checks=06 n; B  G! I1 ^
  1836. 5 F& X7 \$ O5 ?- V0 p8 P5 R  p2 y8 t
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    2 \3 R$ K" B4 t, A+ q
  1838. ; is not being accessed.
    ( e8 z1 {! R  X" {: o' f: |5 r
  1839. ;opcache.force_restart_timeout=180
    % M' r  [6 T) r# E) m8 m. `. @
  1840. + p3 ^- I2 Q" A/ D1 P
  1841. ; OPcache error_log file name. Empty string assumes "stderr".4 V  D$ v* }$ p9 Y- O4 V
  1842. ;opcache.error_log=
    ' J2 i, ^% y$ c. N
  1843. 2 Z1 r6 u! C: |
  1844. ; All OPcache errors go to the Web server log." J- ^8 }, Y+ b: ~0 }$ X. l! i2 Y
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    0 D0 I0 j5 Q1 ]3 x* Q% f# c, N8 f
  1846. ; You can also enable warnings (level 2), info messages (level 3) or8 i! B" G# ~- T2 p6 j( d$ ]
  1847. ; debug messages (level 4).
    8 Y# x* i9 e+ [6 U9 S
  1848. ;opcache.log_verbosity_level=1' g- U& |7 t' M1 d& s: B
  1849. : ^0 d- g$ k4 q! g; u9 m3 g
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    ' \+ \! ]3 t) S) w* q" X3 u8 u
  1851. ;opcache.preferred_memory_model=
    ) g% G6 K0 E5 X2 [$ B6 P" ]/ N# Z

  1852. ! v7 x! K7 `; C% U' T2 |
  1853. ; Protect the shared memory from unexpected writing during script execution.
    8 V" i( u6 V! M  O9 m! t
  1854. ; Useful for internal debugging only.4 e' m! ]3 u7 i2 K
  1855. ;opcache.protect_memory=0
    # c7 N0 X7 l( n0 ^% o3 M

  1856. ' h+ R/ n. K, ^* K" }
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is- K8 W2 i. _/ E
  1858. ; started from specified string. The default "" means no restriction
    : s, G, C$ a, H4 U% {1 M1 I
  1859. ;opcache.restrict_api=
    & _( `1 W# _% k- I, A

  1860. # L0 W$ Z$ }. ~4 @0 R
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP/ t  G" w4 r+ P  E1 A2 A8 o
  1862. ; processes have to map shared memory into the same address space. This
      p! h0 ~7 U9 H( R$ G
  1863. ; directive allows to manually fix the "Unable to reattach to base address"6 ?( K$ q9 E3 D7 {8 s( e' G
  1864. ; errors.
    / m  g  o: g+ M
  1865. ;opcache.mmap_base=
    ; {: M( b% c4 q  Y. L8 Q
  1866. & p% @3 S! B/ i0 A7 c  m) m) b
  1867. ; Enables and sets the second level cache directory.% K1 T9 d( N. K8 d$ w1 _$ o
  1868. ; It should improve performance when SHM memory is full, at server restart or9 c6 v# J  n1 i, x# n( H
  1869. ; SHM reset. The default "" disables file based caching.: O# Y, n9 d6 B: C- j5 q
  1870. ;opcache.file_cache=
    ; o0 N( _/ N: k/ Q: @" c' I  ~3 e

  1871. 7 C+ V" T) n0 z+ x0 S1 \3 x
  1872. ; Enables or disables opcode caching in shared memory.0 Z2 Q8 b2 H0 v3 `+ |" p( D: F5 Y
  1873. ;opcache.file_cache_only=0' L0 x, o7 S$ Y' y. h( Q
  1874. 7 x( X' W  I! ~0 i' b. V0 I
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    7 a# F1 t* D( ?  m" E$ N
  1876. ;opcache.file_cache_consistency_checks=1
    & d+ O* H7 f& i: s4 ^! G
  1877. 3 g, C% S9 G- c; T; J% C0 A( ^% p/ V
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    3 n& S( h* }4 f6 g+ t* M1 I
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file) E* M+ q8 M) g" R! S8 o
  1880. ; cache is required.
    & I+ b, G# b7 q8 [  Y1 |* _
  1881. ;opcache.file_cache_fallback=1+ ~  \- V+ j0 C2 w* X, M9 C( ]% m( w

  1882. ; X  Y! c! Y$ j
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    7 Q" ^* [6 G9 g* n) F; i9 x
  1884. ; This should improve performance, but requires appropriate OS configuration.
    5 J! @, k+ t6 y, A( r
  1885. ;opcache.huge_code_pages=1
    ; |- K# u6 R. U3 l. S0 ^" {/ M

  1886. " @" D" r% ~4 y, {& u9 p
  1887. ; Validate cached file permissions.9 F2 o6 \$ K9 ~# x* h
  1888. ; opcache.validate_permission=09 a5 k' a4 V: P- c- y+ y
  1889. 0 u% d, a7 V$ O8 k+ N) r# E6 [
  1890. ; Prevent name collisions in chroot'ed environment.
    " a) u$ e6 l$ n0 Y
  1891. ; opcache.validate_root=0
    8 Y9 M& [$ |2 ^$ f. ]9 ^

  1892. " A7 X" n% m( c+ Q
  1893. [curl]) G' R- Q( u7 _$ _- B
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an& K8 G% [6 ]3 _5 G' Q- K
  1895. ; absolute path.
    5 ]7 G8 E- q; D% Z  h+ g, b3 W( V
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    0 a0 d3 N. t" d* I8 A
  1897. " E  X8 A' G1 E8 F- w
  1898. [openssl]" L/ c$ E* i, \' }- W9 l
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem* c" ~+ h5 p: M9 P
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    # ~; E1 \+ h' m- M3 h  y3 [4 o
  1901. ; not specify a value for this directive as PHP will attempt to use the
    # M% v8 |/ l4 A1 W
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    ' h. b' q1 U' d
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    6 l8 |$ E5 g) ^
  1904. ; option.) k6 r! O, }+ \* ]  }
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    6 }+ C* t# N) D1 M6 z8 N
  1906. / i# V+ V' ]* n! |5 x8 a
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    ; Z" g6 R: d- P; N+ O, K- x) a
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    , e4 ?  h9 C% E, n2 j
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    4 k+ b0 h* I1 T( z, G% T; n
  1910. ; Most users should not specify a value for this directive as PHP will
    0 r! s4 a# L) d& M
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    7 \1 {' y) ~0 ]1 k/ n# V' L5 [- M" W. B
  1912. ; this value may still be overridden on a per-stream basis via the "capath"5 x0 u1 v* `  t9 K3 t
  1913. ; SSL stream context option.
    1 M" B1 B9 I2 p6 R
  1914. ;openssl.capath=
    3 t3 Y- K5 d( L- n: ?3 w

  1915. . K4 a1 B; s: i* i' y  C
  1916. ; Local Variables:4 ]: A4 f, r9 U% h% R, J' `
  1917. ; tab-width: 4
    ) I4 U3 G1 C: `5 D/ {
  1918. ; End:
    # d& Y( z" i1 N0 {2 q

  1919. 7 O  M) G; \# ]
  1920. ;eaccelerator1 W4 i1 Y* P6 ?

  1921. ) K  H. L2 V) v$ `: `- z. k2 C
  1922. ;ionCube9 |, p9 [4 y0 N) w8 d' u( {
  1923. 9 A7 Y8 `  `. F$ @, I% C9 q
  1924. ;opcache; A$ r6 v  q9 K
  1925. 9 d  h3 K# T3 H3 @+ L! C. p4 ?/ i% @" p
  1926. [Zend ZendGuard Loader]/ }% J0 r5 H# {! B3 c" {# F
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    / z8 l% \4 ~' d
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so' W$ u4 _- x- M( }
  1929. ;zend_loader.enable=1
    " m& X" s8 _( T& E1 z8 H
  1930. ;zend_loader.disable_licensing=0
    . Z' |% O6 Z" N) M3 B" E
  1931. ;zend_loader.obfuscation_level_support=3
    0 m, ~% {5 W5 {/ p4 Y% X1 y
  1932. ;zend_loader.license_path=! u# M" A' c$ k. I5 j1 {. F& ]
  1933. % D+ C/ z2 Q7 t2 U' T
  1934. ;xcache& h: N( u, `- |# S& A' Q. r
  1935. $ l- v$ g& T7 f, ?
复制代码

1 e& L  y8 V8 C
" Q/ c5 o3 B3 ?* F4 k) D4 I  s+ v- B) h/ F$ s

1 N1 L- j: R# N
  Z. }; }; ]9 t. y; p/ |9 j
, q' }- \7 [( }( ?1 `1 C6 {2 }
* b# F1 A5 e1 i* g7 q. O( C8 s# APHP5.6版本原始设置+ }, d* U! R8 Y, ^% z

7 \8 ?( y# o  c: u
  1. [PHP]/ Z- C9 B. d4 K7 o7 W! a  f

  2. . W8 }: y) B4 U5 N' _
  3. ;;;;;;;;;;;;;;;;;;;
    3 S, p3 ^: d- a7 Y$ ^& Q' n3 j% M
  4. ; About php.ini   ;
    $ `2 [+ O. D3 g- M
  5. ;;;;;;;;;;;;;;;;;;;
    4 Z4 d$ V" k! @9 T) c  G
  6. ; PHP's initialization file, generally called php.ini, is responsible for. V  d3 D& c* k8 }6 N
  7. ; configuring many of the aspects of PHP's behavior.* |8 {; `7 C9 E0 w: p
  8. " R) W8 ]1 s3 y1 T, d8 |. b7 L( q
  9. ; PHP attempts to find and load this configuration from a number of locations.' Q# P9 `) B# x8 M
  10. ; The following is a summary of its search order:
    * n/ j" z  T/ S8 f; G! `
  11. ; 1. SAPI module specific location.
    ! k( ]6 V4 `. G$ l
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    0 o2 M% i7 ?" d/ O8 Z" n7 s+ R$ A* Y
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)$ @" _5 }# H1 l* a
  14. ; 4. Current working directory (except CLI)+ f9 X& f. n7 `3 A3 N
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP  @: u- U$ a8 [# V$ M0 E
  16. ; (otherwise in Windows)
    & B& R8 @% P# e6 Q+ i
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    7 z) b  X7 J# {/ K( R! ?
  18. ; Windows directory (C:\windows or C:\winnt)
    1 L/ a+ A% t- ~/ ?
  19. ; See the PHP docs for more specific information.
    , j0 B: F3 {  u' `' w
  20. ; http://php.net/configuration.file/ a. h- }# Y  ~. O: }$ q

  21. $ d- |/ L, p* Y1 J$ g
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    + Z/ ]8 Z+ Z, ~6 ^* L# H( O
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    ' p- o) H+ M: I. c5 b6 j1 T
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    7 A/ }% L* Z$ n3 b# l
  25. ; they might mean something in the future.
    0 J: q3 ]9 l1 x; O: [+ d' |/ B

  26. 3 X1 I/ U' |) V% \% Y- d0 {
  27. ; Directives following the section heading [PATH=/www/mysite] only% L0 t: \, `. C! T0 p
  28. ; apply to PHP files in the /www/mysite directory.  Directives3 Y  O0 D2 s  D7 M* O5 V0 q3 Z
  29. ; following the section heading [HOST=www.example.com] only apply to) k- @* r4 U! F) f. U/ m1 \* R
  30. ; PHP files served from www.example.com.  Directives set in these/ j" Y  g3 P% @0 s& Y
  31. ; special sections cannot be overridden by user-defined INI files or
    8 m3 ~3 e. I. I
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under4 j! ?, @! g& {8 b! I  j" G2 [
  33. ; CGI/FastCGI.! D, a( ^9 _' L* G1 E& x
  34. ; http://php.net/ini.sections
    # i" y0 A( k' e6 s: X2 p3 Z& {" c# V

  35. + r3 x; y; V8 @2 r* s/ T# Q
  36. ; Directives are specified using the following syntax:
    ' @* g! a" V8 m8 M4 e
  37. ; directive = value
    $ C1 e8 m1 k3 j
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.4 p6 R9 n/ Y, l/ F6 u7 B
  39. ; Directives are variables used to configure PHP or PHP extensions.# y9 n. y, s& \( s3 Y7 D
  40. ; There is no name validation.  If PHP can't find an expected1 }9 s6 _1 l0 j
  41. ; directive because it is not set or is mistyped, a default value will be used.3 t6 W# i2 Z$ e# E4 K
  42. - D9 U8 C% T# j5 S
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one) F+ S( ~$ b* O3 a- C
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression2 t# j/ [  N+ M% B  j+ u
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    . }5 X: M9 M+ z: U9 g
  46. ; previously set variable or directive (e.g. ${foo})
    & m2 b8 `8 |4 X! R! R+ R
  47. 7 i) B. F+ {3 k9 w( A
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    ! q# w1 H: x, f' U) e  j
  49. ; |  bitwise OR6 d) _( R! t0 k6 Q; B/ y3 V
  50. ; ^  bitwise XOR
    : b0 T. N! i9 |5 P- B; K, f
  51. ; &  bitwise AND
      X; q% U- o  l& J9 m4 k
  52. ; ~  bitwise NOT
    . J! R( m) |3 ~  c. ~0 k  J  s
  53. ; !  boolean NOT! @0 L: l, A5 b: T% D
  54. / ~) K) y+ t+ L! _( F7 E' p
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    0 C( L" a$ \) f1 O
  56. ; They can be turned off using the values 0, Off, False or No.
    ) a8 H0 y$ _8 c3 n% \4 C% H! P
  57. . Q9 `3 ?5 S  e6 n9 z; v
  58. ; An empty string can be denoted by simply not writing anything after the equal; s- h' a% h! q( c5 B) x4 E7 }* j
  59. ; sign, or by using the None keyword:
    : y* W* ^, y5 q* v- h: c
  60. ; ]0 @) {- r! d3 {$ y6 Q& t. b8 n
  61. ;  foo =         ; sets foo to an empty string& R" Q2 W+ e0 I& d, Y/ x9 M+ X
  62. ;  foo = None    ; sets foo to an empty string: R( Q0 Z% s, e/ ]% T4 L3 p5 d7 `
  63. ;  foo = "None"  ; sets foo to the string 'None'& i* H3 V( D! X

  64. 8 Q5 }5 H5 [6 O6 c$ @
  65. ; If you use constants in your value, and these constants belong to a" H: _! R- C! g, T: c
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    ( e1 X: c; S2 u1 ]* W
  67. ; you may only use these constants *after* the line that loads the extension./ b  ]: L  i" w9 ^

  68. , s/ J2 O- o9 L: x5 H, y0 [
  69. ;;;;;;;;;;;;;;;;;;;
    2 T+ S8 J, K3 {9 c9 M
  70. ; About this file ;
    + m: u; m, s( v$ o1 j) J
  71. ;;;;;;;;;;;;;;;;;;;
    ; y1 x3 k* Y( {: A  d  @* s* ~# ~
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    ' `3 F  ]  M* W6 s/ P5 ~6 K0 B
  73. ; in production environments and one that is recommended to be used in
    7 W% E0 S9 o5 @# X1 A7 R% X& y
  74. ; development environments.
    ' ^# U4 B" g$ E* ~

  75. . ~2 a) i6 I3 A* g' N3 b8 A! y
  76. ; php.ini-production contains settings which hold security, performance and" H9 ]5 a' p1 R5 Z0 f
  77. ; best practices at its core. But please be aware, these settings may break
    ) d8 h: W0 [* f, r) F
  78. ; compatibility with older or less security conscience applications. We5 g5 }/ ?8 [0 w! [* _2 n: Z. ?
  79. ; recommending using the production ini in production and testing environments.
    : P+ [9 ]! ]. K: I
  80. $ ]3 h& V; w1 Y
  81. ; php.ini-development is very similar to its production variant, except it is3 J! _5 e$ B: {' m6 y+ d3 \1 ^
  82. ; much more verbose when it comes to errors. We recommend using the
    $ `/ ^/ Z0 x% }, l3 [3 G7 q" U
  83. ; development version only in development environments, as errors shown to
    . i3 |5 \/ N; r# r' P5 u
  84. ; application users can inadvertently leak otherwise secure information., J. I7 T: S+ I- [5 r

  85. , b4 K5 X4 T( J8 _9 M2 s
  86. ; This is php.ini-production INI file.
    2 s4 f- v4 Q* r( d% F

  87. ) D- w$ l& O/ {) t# C& G
  88. ;;;;;;;;;;;;;;;;;;;
    5 }6 l. T! J6 ?+ Y; K: M
  89. ; Quick Reference ;. f0 ^7 L' b: @, l
  90. ;;;;;;;;;;;;;;;;;;;% Q* g5 h$ Q) V3 k  \
  91. ; The following are all the settings which are different in either the production6 e5 K% ?% R' q$ a
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    ! n" _/ A2 i; Z4 L# H2 b
  93. ; Please see the actual settings later in the document for more details as to why* {5 O3 h" |& r5 X6 E* W0 k$ T6 N
  94. ; we recommend these changes in PHP's behavior.9 u, I0 Z. P2 Z9 U- y8 t6 A4 }

  95. 9 C1 U3 }/ u+ h: h
  96. ; display_errors$ Y; N! S' q  m+ g3 k. ~
  97. ;   Default Value: On
      L! W" @$ F# w, }3 R, U
  98. ;   Development Value: On
    3 E3 X/ b7 O; c* {' J: J
  99. ;   Production Value: Off
    + m* R; ]9 M+ N. h$ `

  100. " R" L( L8 }5 q. b
  101. ; display_startup_errors
    % V7 p" K; W3 [# D1 {* {1 y7 }
  102. ;   Default Value: Off( ~5 O: N6 Z# A0 m. E& L6 m
  103. ;   Development Value: On" \. `/ h2 @6 R" Z4 t! [, `
  104. ;   Production Value: Off
    # A5 G( S# m" ]+ \3 A* \
  105. ( M1 f' g: `# k/ Q6 }6 G5 w7 f1 K7 a
  106. ; error_reporting1 r4 i" i' o5 ~3 S# k* {/ U- n
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    - n6 X' e! i0 C
  108. ;   Development Value: E_ALL
    4 E) g0 b0 @) I$ Y5 ~  k
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT9 z( v1 W- _& _
  110. , y4 K: [: Y0 W" C  ^3 a
  111. ; html_errors
    ) i* Y. f% M& A1 F7 M* X- c' t
  112. ;   Default Value: On, \1 [) J0 ?  o$ K% R7 g
  113. ;   Development Value: On
    & `4 |3 Q8 A- @. l, u; Q
  114. ;   Production value: On2 T0 {3 G* ^' i: F
  115. & A& j7 H' Z3 d# L
  116. ; log_errors
    ( w' Y$ V7 L, K; W- d
  117. ;   Default Value: Off: D7 \! \- ?/ _4 z7 D
  118. ;   Development Value: On- b) E5 `; a  \* {9 F/ y+ Y1 O
  119. ;   Production Value: On) t1 A6 o7 p9 D% L2 i, w8 I
  120. , T1 _6 ^% T$ z+ `2 T2 ^; R
  121. ; max_input_time
    + P1 }: O; z4 e6 |8 e
  122. ;   Default Value: -1 (Unlimited)" F2 P, c( `: U/ {
  123. ;   Development Value: 60 (60 seconds)
    8 A0 g9 K5 f8 M
  124. ;   Production Value: 60 (60 seconds)& I0 H& n6 W7 s8 s, c
  125. 6 X2 j# Q' W1 O9 P
  126. ; output_buffering9 A: V4 X1 k8 k) J
  127. ;   Default Value: Off
    + T% u* f' ^# l6 F9 E, W3 G
  128. ;   Development Value: 40962 V8 i: |* @2 \% `( ^
  129. ;   Production Value: 40969 g2 x, N& k, j, h9 z' M

  130. / G. j3 O- U0 i/ G7 [
  131. ; register_argc_argv+ X3 ~9 w1 F6 A# \! V/ F
  132. ;   Default Value: On
    % g; l( [1 V; X/ y" h& e; S) q0 `
  133. ;   Development Value: Off6 J* C( N- J' E; g
  134. ;   Production Value: Off
    / t$ U2 @: G/ L
  135. 0 V5 h  R( T, l+ ^8 ]( b+ ^3 p; x
  136. ; request_order- s9 p6 r6 \! m. m: C# s2 g
  137. ;   Default Value: None# l  y8 [+ u. e0 ?8 R  h- v- O5 C
  138. ;   Development Value: "GP"! o  O9 [  b1 b3 E
  139. ;   Production Value: "GP"7 Y, J% o4 e6 k$ ~. i7 q1 w

  140. ) P' L1 I+ J, x( h5 @/ N
  141. ; session.gc_divisor
    + n$ M7 v: c/ P6 P2 K
  142. ;   Default Value: 100
    + L+ d7 w, U  U2 B8 g7 q( r- \4 x
  143. ;   Development Value: 1000
    8 x+ }+ x- l9 y: h
  144. ;   Production Value: 1000
    4 g. z' O7 o+ m: U4 Z5 T

  145. : x) {% e: n) O+ g. }
  146. ; session.hash_bits_per_character, f# C' p7 ]8 a- r
  147. ;   Default Value: 4/ Z/ y! B/ w# L% P! g4 r. n
  148. ;   Development Value: 5
    & k/ X2 c5 G8 K
  149. ;   Production Value: 5
    / o& x- {- I7 q9 \$ r4 V; Z0 ?! v( ?+ e

  150. * a( x# b/ C! e, J$ y$ U
  151. ; short_open_tag; m- T+ `2 n8 I5 @3 k  I7 A  M
  152. ;   Default Value: On) ^" O4 |+ A/ c
  153. ;   Development Value: Off# I# @( M! d7 z$ t" ?& T2 T
  154. ;   Production Value: Off& J$ w8 O! j3 W& j
  155. $ q/ {4 p0 f+ v; M, i; ^, l0 D: n
  156. ; track_errors
    / `# G/ |6 A! o+ Z! u# ^
  157. ;   Default Value: Off
    : e4 S2 F8 ]. t5 d- o/ X+ F
  158. ;   Development Value: On
    ( p1 l6 O& ?3 B2 X% a
  159. ;   Production Value: Off
    0 }2 ^" T" K( a! a4 Z  Z
  160. ( Q* @6 f, B- b# u/ [- v$ I! U5 s
  161. ; url_rewriter.tags. g4 s$ q, k! d# f
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="; q# T* j  I! O. K, c" G0 ]2 Q
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    & {9 ?3 F/ |. r( o
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"6 \4 H. M8 |1 |" C( u' }

  165. 4 P* j  l- M1 S4 M
  166. ; variables_order9 Z3 ?# }& y3 y& q, S
  167. ;   Default Value: "EGPCS"
    % Y" Z5 \2 @3 M2 W" K9 L
  168. ;   Development Value: "GPCS"
    8 X" D1 o3 P' }" j- F9 O" V
  169. ;   Production Value: "GPCS". C5 L6 e8 m7 f, H& K
  170. & N' O* g) v* X1 \2 Z3 N% f/ V( |- p
  171. ;;;;;;;;;;;;;;;;;;;;
    ( F! ^" o  J) O2 O4 l: b
  172. ; php.ini Options  ;
    . }9 ~6 S0 t9 D. y% T- n
  173. ;;;;;;;;;;;;;;;;;;;;! }- z$ D( E' [
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"& g6 l* i. i! h" B
  175. ;user_ini.filename = ".user.ini"' h+ s& \3 D2 Z, J/ [0 q

  176. , j2 V7 K% v& y$ ~; C8 |
  177. ; To disable this feature set this option to empty value
    6 Z! |+ v+ s" N+ c4 T
  178. ;user_ini.filename =
    + v+ W) {8 f5 S

  179. " l' |0 @8 a. x. ]
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    " K. j! W# p8 O, W) k
  181. ;user_ini.cache_ttl = 300
    + \9 G) v: F: R

  182. 2 h( P/ x$ Z# i, Y% u* R
  183. ;;;;;;;;;;;;;;;;;;;;
    5 Y; Y/ o# C8 A( u
  184. ; Language Options ;( N5 ~, r: d2 ~! j* ^5 |% g& v
  185. ;;;;;;;;;;;;;;;;;;;;0 z8 }8 R& i, c5 K
  186. . L" [6 V( X9 N
  187. ; Enable the PHP scripting language engine under Apache.
    * m* A- J3 H" j+ ?) x$ o  i3 G
  188. ; http://php.net/engine& {1 @% G* K# H; i/ c2 Q) ?9 Z
  189. engine = On, a! \# A/ ?- l- W
  190. ' A& u: a* o( T/ R7 F
  191. ; This directive determines whether or not PHP will recognize code between! }- ^- o2 N5 w2 O2 }
  192. ; <? and ?> tags as PHP source which should be processed as such. It is& ^0 N7 L6 V* q9 Z
  193. ; generally recommended that <?php and ?> should be used and that this feature
    / R& r7 @% l& w- {0 ], W7 I
  194. ; should be disabled, as enabling it may result in issues when generating XML
    ! G4 d$ C+ j4 G6 M' }$ ?
  195. ; documents, however this remains supported for backward compatibility reasons.9 i. n3 C0 x# G. k! w3 d
  196. ; Note that this directive does not control the <?= shorthand tag, which can be4 C8 ]! _7 D. }6 N
  197. ; used regardless of this directive.
    3 t! f; [1 h8 A! b* ]( Q# b
  198. ; Default Value: On2 h, G/ B: k, W# I
  199. ; Development Value: Off
    0 W2 \' T: H; w5 q2 P8 k, M
  200. ; Production Value: Off- j$ a, Z; L9 _2 a' p% ?7 I5 i  ~
  201. ; http://php.net/short-open-tag5 h9 Q6 [! l8 W5 l! O+ h2 c" G
  202. short_open_tag = On* }2 G5 a$ T7 [, F- [% G9 n& g
  203. , E4 w$ f8 }* k0 |! Q: ^
  204. ; Allow ASP-style <% %> tags., r8 Y: ~: V! F
  205. ; http://php.net/asp-tags
      ?' n. K9 M) c  N; o% o
  206. asp_tags = Off: ?4 S! n. ]3 `% H# ?- m
  207. ' K- a: s$ l& r4 k  t
  208. ; The number of significant digits displayed in floating point numbers.
    $ H" p4 _: v, x( Q7 Z3 z. ~
  209. ; http://php.net/precision
      W  g# U. Z' Y7 g
  210. precision = 145 H6 q; w/ O; p& W3 Z

  211. ) ~( n1 b, |. f8 f+ F8 {  I/ t8 X, m- g
  212. ; Output buffering is a mechanism for controlling how much output data
    6 E6 j" W+ `, H" X" L
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    5 h* h) r  b9 J* \  B" P
  214. ; data to the client. If your application's output exceeds this setting, PHP
    # L5 _4 x! s# j$ {6 w
  215. ; will send that data in chunks of roughly the size you specify.
    1 q! H$ _3 Y9 f+ M: n6 n* R- o4 Z
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    8 C" h- }6 L) c7 P, B0 q
  217. ; interesting side-effects depending on your application and web server.* u1 W1 ?4 ~  g* B1 ?0 P
  218. ; You may be able to send headers and cookies after you've already sent output# X0 l, @3 \& q) ?1 z
  219. ; through print or echo. You also may see performance benefits if your server is
    7 |9 S) O; d, h' ^  |1 Z3 {
  220. ; emitting less packets due to buffered output versus PHP streaming the output8 n, g8 }  t/ d# I$ `% `
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance4 i' n) Q& {8 i
  222. ; reasons./ h" C. j% n3 _5 G
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    * x% ^, u$ @9 `2 ~
  224. ;   functions.
    5 ^$ N: b% f$ d% r7 l/ n2 y
  225. ; Possible Values:
    2 Y; W8 W8 M' T% g% U
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    % @* P0 }  T7 B+ y, v% }
  227. ;   Off = Disabled
    , E7 h; B! i6 S# S: v$ C; L0 W/ X6 ]4 i
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.9 `$ ]) }; I& p5 w1 b# N
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    # N( s" b$ ]/ V- Y# p6 d1 u! E
  230. ; Default Value: Off) e/ q* n. Q! y8 z# x) W
  231. ; Development Value: 4096* E  T! f" e% m
  232. ; Production Value: 4096/ ^) O' K3 n% Q) k8 k  D* P
  233. ; http://php.net/output-buffering) w3 g3 Z; ]& o) X8 S% G
  234. output_buffering = 4096+ c$ s9 `* |+ t, X/ e. X
  235. " v& c: W& \0 v" m
  236. ; You can redirect all of the output of your scripts to a function.  For3 K6 \: p7 i. G) c" o3 D9 N
  237. ; example, if you set output_handler to "mb_output_handler", character
    9 P/ G% o( g  F3 V6 J& ^$ g
  238. ; encoding will be transparently converted to the specified encoding.1 O2 U4 y# M' ^6 y3 Z  Y
  239. ; Setting any output handler automatically turns on output buffering.
    ' P- V  b. N6 @. U' Z
  240. ; Note: People who wrote portable scripts should not depend on this ini" `& p, |" W; K0 Y* a) F
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    8 ~9 }* P( h7 k( l7 W
  242. ;   Using this ini directive may cause problems unless you know what script/ p+ r, G1 N% @  |' U0 d
  243. ;   is doing.4 s) k. @* ^4 l! ^: V
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"( T9 M' X' K2 N- B
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    4 M  f7 I" H) ~9 _* b- M& x6 {
  246. ; Note: output_handler must be empty if this is set 'On' !!!!# j, V* y1 `$ ^4 T9 }" V
  247. ;   Instead you must use zlib.output_handler.
    2 p4 M2 ]/ c1 A0 ^% Q/ J9 Y; n
  248. ; http://php.net/output-handler' t2 I1 c# o* [5 E
  249. ;output_handler =
    & k6 B4 C  o  A

  250. ! D  P( O( C& V3 C) ?, b
  251. ; Transparent output compression using the zlib library
    6 A" p. a- u; n4 X, \9 A2 R
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    - v9 i$ H% Y! h: G; _
  253. ; to be used for compression (default is 4KB)( `% B( K3 e" B5 {% f
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    + M! v/ f* [# x; a2 K
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    3 B7 R0 M, Z6 E2 s; I% J" _
  256. ;   compression. If you prefer a larger chunk size for better- w' f3 I) ^* p* e; A& I* A6 b& a
  257. ;   performance, enable output_buffering in addition.
    2 E6 O3 ~& Q/ p8 x0 G
  258. ; Note: You need to use zlib.output_handler instead of the standard
    # g' k8 E- x- M/ h! w' c2 ]/ {
  259. ;   output_handler, or otherwise the output will be corrupted.
    # |( T( o0 I1 s
  260. ; http://php.net/zlib.output-compression
    ! |0 Q% W+ m7 O( L; V
  261. zlib.output_compression = Off
    5 J+ K: ^# R) J/ A4 y- T; M5 X* @
  262. & s# n( z3 i* {) N8 x
  263. ; http://php.net/zlib.output-compression-level
    1 j8 a/ w* J" w4 g) M
  264. ;zlib.output_compression_level = -1
    7 D" R2 o. `' G; n0 \7 w
  265. 5 k8 t4 G8 F/ d* k3 y4 j. ~3 H
  266. ; You cannot specify additional output handlers if zlib.output_compression
    # A! L# z! e/ f
  267. ; is activated here. This setting does the same as output_handler but in/ h5 W( i  Z8 I( a- ]  w
  268. ; a different order.
    5 Z% y- L/ S8 y9 L& C! L3 x" v
  269. ; http://php.net/zlib.output-handler
    3 {' `: h, t8 V! L+ V4 d
  270. ;zlib.output_handler =9 `. y% v  H8 E8 K" n8 S$ Z
  271. 0 f7 c* C$ v# M8 v" m
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    6 r% D+ E" @* H+ f  Z& |$ M
  273. ; automatically after every output block.  This is equivalent to calling the) l& v8 e, z- P3 {; \2 ^" c& l- L
  274. ; PHP function flush() after each and every call to print() or echo() and each+ B2 D6 C% B8 o7 @0 Z  v
  275. ; and every HTML block.  Turning this option on has serious performance
    ! Z8 o, L- F, R7 [+ }  c
  276. ; implications and is generally recommended for debugging purposes only.3 ^& ?& B8 v; u0 v. n# r, X+ R  v
  277. ; http://php.net/implicit-flush# \& r/ X3 l! S1 S8 \( Q$ z/ R
  278. ; Note: This directive is hardcoded to On for the CLI SAPI2 s6 a/ y, p) e+ N: I
  279. implicit_flush = Off
    5 J* |4 @8 w) Y
  280. / m$ A: T( A( K  T4 u/ Y  m$ ?4 c( U
  281. ; The unserialize callback function will be called (with the undefined class'
    - a& S0 K3 V1 i) z* m- ^
  282. ; name as parameter), if the unserializer finds an undefined class
    4 ?$ Z. O4 ~; t/ w, C1 W
  283. ; which should be instantiated. A warning appears if the specified function is
    1 d, R2 O/ L, d
  284. ; not defined, or if the function doesn't include/implement the missing class.% }5 L4 ^2 C8 V7 A8 Y
  285. ; So only set this entry, if you really want to implement such a) V$ r' o8 u( }! A3 S
  286. ; callback-function.# B8 ]- P1 ]$ F$ N
  287. unserialize_callback_func =
    - v# o- S7 b3 E# W9 i/ e8 C1 t

  288. 9 @% q- {/ v) l' N
  289. ; When floats & doubles are serialized store serialize_precision significant
    1 B) z* L' Y) c3 o
  290. ; digits after the floating point. The default value ensures that when floats
    1 X. Q1 T' d; N: n; W3 [
  291. ; are decoded with unserialize, the data will remain the same.3 e5 h% h: G' D4 r) K) f/ R
  292. serialize_precision = 171 U; M5 n" s/ L8 ^% Z! h
  293. 5 L/ r- ]3 o$ t+ O7 E3 O& H; q8 U
  294. ; open_basedir, if set, limits all file operations to the defined directory  r$ C% x+ d! f
  295. ; and below.  This directive makes most sense if used in a per-directory# y8 g. Y; r2 E7 b! `
  296. ; or per-virtualhost web server configuration file.0 z1 `  O* [8 s) [' u9 {3 M' ]  N
  297. ; http://php.net/open-basedir
    4 H- N( N' C& s1 R
  298. ;open_basedir =; h2 ~1 |. k$ P
  299.   F$ Z  t% b# S$ J" T, c7 M
  300. ; This directive allows you to disable certain functions for security reasons.
    6 f% B/ Y. H  O9 B$ q2 V
  301. ; It receives a comma-delimited list of function names.
    4 b- l' |: n1 D4 x" d
  302. ; http://php.net/disable-functions
    4 G1 A9 r4 x/ y& v) s* ^
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    , m# G; t( o* g" g) X' M5 G) H/ Y

  304. ( c3 W% V  T# T- e$ I" C* s
  305. ; This directive allows you to disable certain classes for security reasons.  {; f! X. ~& j- }
  306. ; It receives a comma-delimited list of class names.( b7 C% H( d8 x: l1 z
  307. ; http://php.net/disable-classes8 d# b2 q7 o6 @  Y' t/ k% o  V
  308. disable_classes =
    ; p/ i! D  _- ~6 R
  309. 1 J6 G% q3 A# b$ q2 e$ i
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in% g5 G+ {) G+ I& B( f
  311. ; <span style="color: ???????"> would work.: {2 ]/ d. D' {# @. b& [
  312. ; http://php.net/syntax-highlighting
    " C/ C3 r9 l2 Z, p3 q5 @6 T( t
  313. ;highlight.string  = #DD0000
    $ o0 [0 K5 _2 ~$ j' T8 z
  314. ;highlight.comment = #FF9900! J2 ?7 A: ]# j# j, O0 y
  315. ;highlight.keyword = #007700
    6 {' `: g- _/ R" B% u3 E
  316. ;highlight.default = #0000BB! L& |4 r- m3 h: R$ J! }
  317. ;highlight.html    = #000000
    * F0 h6 b. Q7 A7 B+ ~& P- R; E
  318. # U/ H/ n9 m6 W5 \: p( s
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    8 m6 ], K) H1 I" d
  320. ; the request. Consider enabling it if executing long requests, which may end up
    - K  c. `+ y* N, @: S& W* Y
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior. V5 h7 y) P0 D6 V2 L0 q- I7 q) _
  322. ; is to disable this feature.
    $ Q8 B! f# Z, _5 d" Z  U( U
  323. ; http://php.net/ignore-user-abort
    3 Q3 g+ n6 L8 p( A
  324. ;ignore_user_abort = On7 x8 f1 r2 P8 ^' L5 |9 I
  325. 1 ?6 ~1 S# I9 b% V  _
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    / R$ E; s' Y1 F/ m: `
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
      k+ J- k/ s; m; H
  328. ; the file operations performed.
    " E6 z  {" K( V$ `' F
  329. ; http://php.net/realpath-cache-size
    , M% M: L( U- t/ @8 R2 ]. J  _. G
  330. ;realpath_cache_size = 16k0 c# I" p+ y9 B& d2 h

  331. " m% k  G: [8 C, t
  332. ; Duration of time, in seconds for which to cache realpath information for a given& v% U4 K9 {9 S
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    & E8 Q: ~2 Z9 \: Q
  334. ; value.
    0 j# A" Y- u: V# h
  335. ; http://php.net/realpath-cache-ttl
    0 N. w- x: Q3 g4 U4 _% r6 f
  336. ;realpath_cache_ttl = 1205 p- }2 ]0 U$ i& \( g: u
  337. * T1 H+ J- O+ F4 `, F, {; X8 t
  338. ; Enables or disables the circular reference collector.
    7 T  a8 l& g$ _8 J( i
  339. ; http://php.net/zend.enable-gc
    & ]* X* J7 `% b2 h) T
  340. zend.enable_gc = On
    * f2 m, m+ ]. a3 M2 F. f3 b+ w8 c
  341. - H/ s+ N/ ~# x7 Z
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    1 [% o( c& q! o) a8 q6 n
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
      [$ a5 G- ]* j
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    / V; P/ X1 t8 |6 Y
  345. ; Default: Off# s8 \9 b+ f8 q. f
  346. ;zend.multibyte = Off
      t7 C) }0 @  V0 C- \# f
  347. ! e, G; A* o$ R3 `: ]  O+ z
  348. ; Allows to set the default encoding for the scripts.  This value will be used& z; a1 \- t' U' b* r
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    6 s3 p& |' @1 f
  350. ; Only affects if zend.multibyte is set.* t' N8 `) |3 z
  351. ; Default: ""
    / C0 V; \0 \- B1 E3 _
  352. ;zend.script_encoding =9 w+ ~# E1 O( d

  353.   w4 J' f( u  v$ D) X: S, [1 g
  354. ;;;;;;;;;;;;;;;;;& A* E9 l; t( z) n, ^
  355. ; Miscellaneous ;
    - E3 H, y4 }# U" f) T6 M8 f
  356. ;;;;;;;;;;;;;;;;;( K* `( ~( {: ^! F9 b$ x

  357. $ O% i) ]5 D# t) H5 `+ H7 P
  358. ; Decides whether PHP may expose the fact that it is installed on the server0 T* H1 n% b7 b5 B, h! w
  359. ; (e.g. by adding its signature to the Web server header).  It is no security7 S0 Q& _7 n2 f8 Q) o) [
  360. ; threat in any way, but it makes it possible to determine whether you use PHP" b. h9 A/ h4 ]4 w' y. r" J1 c! B
  361. ; on your server or not.
    7 s4 ?; H# w. `. t8 e! ^8 w) c
  362. ; http://php.net/expose-php( o/ F6 P& m- M2 Y
  363. expose_php = On
    ( U/ o% |$ ?* x- c  _

  364. ) _, Z/ C" `7 u' p7 L( ?
  365. ;;;;;;;;;;;;;;;;;;;
    + B$ m2 \3 |# b
  366. ; Resource Limits ;
    # ^- [: s! u  A) o8 \
  367. ;;;;;;;;;;;;;;;;;;;
    3 b, J$ o+ I9 d- n# h

  368. 9 b; F! E8 V; G
  369. ; Maximum execution time of each script, in seconds
    9 q: U* V" I: s; D
  370. ; http://php.net/max-execution-time
    * Y* w& i3 K1 c- B6 u
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI( M; S, O5 `3 j, K$ M+ p- t
  372. max_execution_time = 300
    1 P6 m/ h' U) O; r0 \# \0 p/ K) N
  373. . j: R. }) a1 e% r# A5 d
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    - A* d7 h5 z  g( f2 k
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly) }. ]& g- a% r: y
  376. ; long running scripts.
    ) O5 I5 x3 C5 b
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
      h: C# ~. h1 b; f
  378. ; Default Value: -1 (Unlimited)3 F7 w8 Q/ b: w  o, {9 _
  379. ; Development Value: 60 (60 seconds)1 D  X% i. p6 s, ?
  380. ; Production Value: 60 (60 seconds)
    / l0 X' |' {& z+ L8 i: k3 M
  381. ; http://php.net/max-input-time  p. i; \3 e: q+ v
  382. max_input_time = 60
    2 |. m1 ~, q( i& R8 c5 G5 V6 K

  383. - w, d3 R3 }8 @$ E/ _0 s( g! Z# p# k
  384. ; Maximum input variable nesting level
    3 S1 E( B; @" D2 q  G$ a3 S
  385. ; http://php.net/max-input-nesting-level
    / f3 ]  n+ m- ~  i# [/ X- P& x
  386. ;max_input_nesting_level = 64
    ) {; F$ P$ f; m* M

  387. : [; O+ k3 B& c
  388. ; How many GET/POST/COOKIE input variables may be accepted% S8 L) m1 e" }4 C& o7 J! e; x
  389. ; max_input_vars = 10008 Z, F7 y8 k" q) I9 R  ?6 F

  390. ' d3 i( L8 f' s# U/ @6 ~
  391. ; Maximum amount of memory a script may consume (128MB)
    ( S+ b3 c. m/ w1 j% O
  392. ; http://php.net/memory-limit
    " s/ _) J" o0 z' P7 V1 D/ h
  393. memory_limit = 128M
    # N$ X& G- x* M; X/ D& `7 P

  394. ( z0 [# `: X# N9 N* Q
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9 _' y3 Z% R9 w; G4 p1 B; Y
  396. ; Error handling and logging ;" Q) }! P+ P* d  ]7 l
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    3 ?  [& H0 `! ]9 p. J
  398. / p0 U! G) J( j7 \2 G4 O
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    ; ^9 f& h- V4 m+ {  ^* Z" ^
  400. ; it to take action for. The recommended way of setting values for this
    3 I* N& ?, [2 A5 M1 d4 g
  401. ; directive is through the use of the error level constants and bitwise
    1 L' Z6 N: {1 Q) d
  402. ; operators. The error level constants are below here for convenience as well as* k: O- @; z# `4 A, `
  403. ; some common settings and their meanings.3 \+ g0 T  ~2 b
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT5 W0 y; T) {# a# ?3 e3 x6 I& n
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and& e- R+ a+ @0 R
  406. ; recommended coding standards in PHP. For performance reasons, this is the6 R5 `8 W, Q4 N7 X
  407. ; recommend error reporting setting. Your production server shouldn't be wasting" W, `" k- y+ j8 Z6 U" d5 T5 h" Q
  408. ; resources complaining about best practices and coding standards. That's what
    8 a$ L7 F% {+ @
  409. ; development servers and development settings are for.
    6 P3 K, Y! D' C; r+ v0 J1 B2 E6 ?  r
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    4 U' _, X! A- [6 o0 ~& ]1 h
  411. ; means it pretty much reports everything which is exactly what you want during3 H. V* A. n5 H3 ]; l; x
  412. ; development and early testing.
    0 G+ u% O; G9 w# C2 A4 o
  413. ;7 \% l- ]) n1 |3 t2 Y& L
  414. ; Error Level Constants:
    0 x' p- j2 y. ]: k/ V
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)* q: q  k  e& B) O. m( M+ ]3 Y
  416. ; E_ERROR           - fatal run-time errors, |2 ?/ l' M" O
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors/ V: L# N5 E( U, E; s4 k# n9 Y0 J
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    1 H! S8 {4 I% l' O0 M$ _# W7 @- ]
  419. ; E_PARSE           - compile-time parse errors% \4 F2 s1 M; D2 H) b
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    / J6 j8 A. o7 }1 m0 }
  421. ;                     from a bug in your code, but it's possible that it was; c. {# e7 h# u$ n4 H! n* H
  422. ;                     intentional (e.g., using an uninitialized variable and
    7 J  Q' M( q- T; f7 e
  423. ;                     relying on the fact it is automatically initialized to an
    # M; W4 Q* u! _$ W* c
  424. ;                     empty string)
    9 w: o6 I# N0 c; e  O5 @
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes. w6 m# K9 }3 U* T6 j2 z
  426. ;                     to your code which will ensure the best interoperability
    " X1 _0 d* M+ R
  427. ;                     and forward compatibility of your code
    2 P3 R1 q7 U$ Q% b$ ^5 x" r8 g
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup5 H* R0 q9 M- X& S, |0 p, a
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    3 _+ e" z; O2 ?5 ?$ k: V% r6 q: s
  430. ;                     initial startup
    3 i7 e( A" g6 g0 }( ~" U' V
  431. ; E_COMPILE_ERROR   - fatal compile-time errors6 g, O3 {1 H( j6 b
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)2 `3 k, D6 p9 H! s1 K
  433. ; E_USER_ERROR      - user-generated error message
    % q! V( c. m1 ?# e+ c) A
  434. ; E_USER_WARNING    - user-generated warning message
    ; }2 H) {3 q: K2 {7 [) |: o
  435. ; E_USER_NOTICE     - user-generated notice message
      E: O+ f: R; {, X2 M4 y# t# |/ \
  436. ; E_DEPRECATED      - warn about code that will not work in future versions0 d* @8 ]9 d8 \5 ^
  437. ;                     of PHP3 Z  Y6 ]: v4 x  l: q& ~
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    ( \7 R7 `! k+ U5 {
  439. ;
    5 T& U; V. J: w3 q* L7 j1 D6 @
  440. ; Common Values:8 c5 A( ]( L! a( E  j( j8 J
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)4 @8 H! [7 o+ e) B
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)* ?4 e# _" J; R
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    ' e- r  t% n; v( j2 D2 g
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)7 w2 A* U# I7 {1 F- R
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED, T3 R4 `. I6 Q3 i: [
  446. ; Development Value: E_ALL% a" ?7 P% u, m
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    ( @  e) T  J$ v+ q9 Z
  448. ; http://php.net/error-reporting
    & T5 ?" `; J0 q: i
  449. error_reporting = E_ALL & ~E_NOTICE
    9 `: q% T4 r, m9 W( o3 k; ~9 E

  450. + N$ i- L1 P% k1 X2 C7 G
  451. ; This directive controls whether or not and where PHP will output errors,
    " n  o% d" y9 f' T6 t! E
  452. ; notices and warnings too. Error output is very useful during development, but
    ; V  J( H% h# C) {
  453. ; it could be very dangerous in production environments. Depending on the code
    $ \$ }6 r" _- p4 d
  454. ; which is triggering the error, sensitive information could potentially leak
    0 U) ?: y, F0 C1 C" C
  455. ; out of your application such as database usernames and passwords or worse.
    " @' l, Z, ], X* z
  456. ; For production environments, we recommend logging errors rather than" ~7 A( S8 z7 @8 A2 D3 X5 E7 n
  457. ; sending them to STDOUT.
    ( s5 A& v# _5 f: x7 i$ i
  458. ; Possible Values:
    2 S; d/ _2 D# V7 Q
  459. ;   Off = Do not display any errors+ l! V- R% z9 F
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    ! i1 {1 e5 C0 D
  461. ;   On or stdout = Display errors to STDOUT* h  b0 [# _) E6 J# j
  462. ; Default Value: On
    * K, ]" {& {0 w) R! m
  463. ; Development Value: On9 }+ X- E8 U! q  ]/ e
  464. ; Production Value: Off8 r% Y3 F# u% z$ \" [# Y
  465. ; http://php.net/display-errors
    " p3 d* @/ r- u0 k5 E  X6 M+ W
  466. display_errors = On
    7 |. m- l9 z: k

  467. $ `! \2 f' f: K
  468. ; The display of errors which occur during PHP's startup sequence are handled
    # R' z, c( R0 v4 k0 j
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    $ y( }1 v+ |7 \1 G" _0 ^
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    ( R+ W8 [" e# s
  471. ; debugging configuration problems. We strongly recommend you! J. l+ B% V) m$ f
  472. ; set this to 'off' for production servers.
    ; [- a- T0 X. @9 M+ T5 s' h
  473. ; Default Value: Off
    . T7 \' `3 n% X. H( i+ i
  474. ; Development Value: On9 N4 X3 m: P/ z: [& R& A
  475. ; Production Value: Off, i) |7 g( G2 m( P+ T% R
  476. ; http://php.net/display-startup-errors
    * O6 k/ ^; O/ I+ A7 E
  477. display_startup_errors = Off, P7 \1 b) }$ K7 ?; x; U; ~

  478. ( s+ F( x7 V% i' A. ?
  479. ; Besides displaying errors, PHP can also log errors to locations such as a* M9 Z) b  T4 X5 K
  480. ; server-specific log, STDERR, or a location specified by the error_log
    " P' @9 n! z# ]1 Y0 r! z
  481. ; directive found below. While errors should not be displayed on productions/ H; \( g  d! b6 a0 ~6 f5 W
  482. ; servers they should still be monitored and logging is a great way to do that.: u) W! S6 I  T5 B
  483. ; Default Value: Off* Z% a/ D  R$ }4 c; _, R% ]
  484. ; Development Value: On' \0 @) g/ i8 N3 [" `! [
  485. ; Production Value: On
    5 M) k6 G5 |( `! [" b/ R
  486. ; http://php.net/log-errors
    . p0 r3 c1 o( S  u
  487. log_errors = On1 G5 i* P8 F1 z1 Y+ x5 U
  488. ) E) d# l: ^9 g; w, [4 i
  489. ; Set maximum length of log_errors. In error_log information about the source is
    3 P+ J0 g7 F4 M% g, Q2 _) e
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.9 n2 w/ l9 G1 c; }  a( g1 y
  491. ; http://php.net/log-errors-max-len
    3 i* t8 T" N  M3 T  O6 Z
  492. log_errors_max_len = 1024# C2 w7 T9 s/ o. X+ e

  493. ) F( D4 S. `' U, c
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same* u) _* P: m% N! H9 t! x; x
  495. ; line unless ignore_repeated_source is set true.* |4 U: e. ^9 ]; l0 Q" A
  496. ; http://php.net/ignore-repeated-errors
    ( `, K/ i; O# C$ n
  497. ignore_repeated_errors = Off$ n+ K6 \$ V1 j5 a2 A
  498. . H: w* p2 Q4 G! N* o: R* ^, e- C
  499. ; Ignore source of message when ignoring repeated messages. When this setting- o* v" Z+ B8 S. l6 p; G
  500. ; is On you will not log errors with repeated messages from different files or
    1 \' Q2 I3 O* [1 W9 {0 @; J8 w* {/ N
  501. ; source lines.5 I2 `7 ~- |- ?; I: e
  502. ; http://php.net/ignore-repeated-source
    ! c6 ], ~7 G, i  N! U
  503. ignore_repeated_source = Off
    5 u! H. d0 ]0 U) X2 Z  |
  504. . T. \7 a, ^+ Y2 Q# ]5 ?
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    ( `) E# t5 J2 e- B/ O
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    8 R: F( Z- Q; P2 B5 P' |* M* w
  507. ; error reporting includes E_WARNING in the allowed list) S8 K6 q# z  D% v9 F6 h2 @
  508. ; http://php.net/report-memleaks& L, Y( r8 y* f% _
  509. report_memleaks = On
    + t2 n* a9 t1 N
  510. ' a# Y( s. y& a$ j" k* z4 T& J+ B
  511. ; This setting is on by default.
    , N4 \# C0 J2 I; [" P. T1 |
  512. ;report_zend_debug = 0- G# A. f% E, C! c. Y3 v

  513. $ G0 E. Q+ _% s4 N! O0 I, U1 }# P
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value. ^" S3 \5 Z! w% Y) Y
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    1 Q$ a3 u. F: G2 T9 H' F5 `' _! `
  516. ; however be disabled on production servers.
    ) x6 g* V) [# B3 f
  517. ; Default Value: Off
    3 A4 s5 z" n" u& Z
  518. ; Development Value: On
    ( y, m( m$ l4 i7 W5 V
  519. ; Production Value: Off6 w, Q2 T/ [, z: s4 h
  520. ; http://php.net/track-errors7 |. ~/ P' I( J% v# M" J
  521. track_errors = Off2 l1 ?! Z6 w% f  b4 _& R

  522. 5 e0 R5 G1 x  o/ I$ F7 D
  523. ; Turn off normal error reporting and emit XML-RPC error XML3 x3 a# N. c0 w, B* f
  524. ; http://php.net/xmlrpc-errors5 c! y, ~4 w+ V% I& R! e% a0 a
  525. ;xmlrpc_errors = 02 `" G6 Z+ t! x

  526. ! j% ]  S" w4 v0 d
  527. ; An XML-RPC faultCode
    1 h1 V8 L4 x  c$ W5 b# ?% Q
  528. ;xmlrpc_error_number = 06 j  D( S2 J7 ^7 f( w' i# V
  529. 4 K" L3 b8 ]/ I- a4 i2 M, v1 e
  530. ; When PHP displays or logs an error, it has the capability of formatting the5 B5 [& h0 L1 d* A" d7 l/ f( z, _
  531. ; error message as HTML for easier reading. This directive controls whether: d6 _* {5 h2 K  O# G- D
  532. ; the error message is formatted as HTML or not.
      B# }  t1 y6 n& C
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    1 H, Z1 v- L3 }/ A5 O  o; M* w
  534. ; Default Value: On
    - j) u+ p& q4 o6 F+ [3 {1 D
  535. ; Development Value: On( a; g' Z; A8 l2 Q  @3 Q
  536. ; Production value: On
    5 p4 l  M! {3 S$ j4 V  O
  537. ; http://php.net/html-errors
    - C2 G; G/ k6 X/ a
  538. html_errors = On9 L4 y( O# E5 a; ]- f( c) X* I

  539. - o* n$ A$ w/ `& K+ }$ ~3 y
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
      R3 @+ q$ R* U
  541. ; produces clickable error messages that direct to a page describing the error* t$ K8 j3 l& G' G; H# S
  542. ; or function causing the error in detail.
    " u. t& R, z1 u, n& l- S" I- A9 Y
  543. ; You can download a copy of the PHP manual from http://php.net/docs) o, V/ q  m8 c) h
  544. ; and change docref_root to the base URL of your local copy including the
    : i. a3 Y. B( ?: t) Z8 @, w
  545. ; leading '/'. You must also specify the file extension being used including  P9 v2 a, E1 G3 B$ r8 y
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which; V" h* y9 K) L  n
  547. ; case no links to documentation are generated., i0 u- _$ k, w: G, |
  548. ; Note: Never use this feature for production boxes.7 G" Y1 ?# X% Y7 t8 `
  549. ; http://php.net/docref-root
    0 |  Q0 h. B* `; p/ z5 o9 ?4 u
  550. ; Examples; X' R/ a; c, ~5 [
  551. ;docref_root = "/phpmanual/", k3 X- R: D2 O5 n2 z0 ]

  552. $ e9 Y. U6 P2 C4 `/ R& [, ~
  553. ; http://php.net/docref-ext
    3 p7 J0 `- ^1 ]4 x
  554. ;docref_ext = .html
    - i! R/ _- r) r+ n4 t8 `0 f
  555. 5 e3 r0 u% V" C( t. y, ?: i
  556. ; String to output before an error message. PHP's default behavior is to leave
    5 h# E3 s6 C: _( _: [
  557. ; this setting blank.
    5 g- }) D/ l2 i! N
  558. ; http://php.net/error-prepend-string5 u% x) E7 a& k, R5 i
  559. ; Example:
    + J2 k# D/ \2 F3 P
  560. ;error_prepend_string = "<span style='color: #ff0000'>"+ F# i1 H  V9 q' _
  561. 0 ]7 g* ~3 ^$ R( i, Q4 |
  562. ; String to output after an error message. PHP's default behavior is to leave" G  A  `+ G# ?
  563. ; this setting blank.0 P! O1 i* S! A1 c8 j
  564. ; http://php.net/error-append-string/ i! b  c3 m$ w( {. i
  565. ; Example:: P. y" _( }- \# [- R. F
  566. ;error_append_string = "</span>"
    0 z8 G  u! S  z
  567. 7 ?) p5 C% N) ]4 E4 p9 I
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    8 @4 {9 T7 \& [3 K% F$ W. I' s
  569. ; empty.  e& t1 h5 P& O' C
  570. ; http://php.net/error-log" e& w0 F# f8 _1 V1 n. ]8 m
  571. ; Example:# T4 i" p$ y3 h( @
  572. ;error_log = php_errors.log
    ( `. m/ M9 |6 y4 F3 j2 }$ T) O
  573. ; Log errors to syslog (Event Log on Windows).
    ! S! Q6 z1 j9 j. @1 h$ y
  574. ;error_log = syslog- Y) a4 P8 x) H& W0 ?1 r: U) @

  575. : c; s8 s6 _. Y( b$ `8 p$ x
  576. ;windows.show_crt_warning
    ' G4 r9 I. y7 D
  577. ; Default value: 0
    9 J- o6 B3 y* J( }3 g
  578. ; Development value: 0% b/ x  L; u, t, o5 h2 M
  579. ; Production value: 0/ e% A8 P, c$ ?

  580. % q2 b+ `) G" |
  581. ;;;;;;;;;;;;;;;;;
    " o7 N, k7 n4 R/ B5 R
  582. ; Data Handling ;/ u2 f4 N( S* }2 r; `1 n
  583. ;;;;;;;;;;;;;;;;;
    : f$ z: V2 j2 X# \8 ^% F

  584. ; a& w. X7 c0 }" W. H$ J
  585. ; The separator used in PHP generated URLs to separate arguments.
    & K- \6 i/ O6 F1 w4 W; T
  586. ; PHP's default setting is "&".
    - ?9 A& ^) D3 H3 U# K6 ?
  587. ; http://php.net/arg-separator.output1 y: ^$ n- Y& E. y, X
  588. ; Example:5 \4 S9 O8 }3 d+ @% z
  589. ;arg_separator.output = "&amp;"
      P% `5 y* t% P# n9 D  H+ y

  590. - [8 `* ]# O* X
  591. ; List of separator(s) used by PHP to parse input URLs into variables.: O" G+ g& o: o
  592. ; PHP's default setting is "&".3 K, d0 [% N! A3 W, {% A
  593. ; NOTE: Every character in this directive is considered as separator!/ E, c$ o# X! P, g: p9 _1 D
  594. ; http://php.net/arg-separator.input
    - f8 O8 o$ y. U% G
  595. ; Example:9 ?' t8 m1 v2 a* Z
  596. ;arg_separator.input = ";&"
    ) l( [: j# N3 p/ A4 n

  597. + O4 X: I0 |+ R- c, M! ]8 G% `6 I
  598. ; This directive determines which super global arrays are registered when PHP
    ) D: R( G9 F6 \) v
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super  m' k) Z  {6 Y9 c  M1 u5 f
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    6 I9 C& b+ }# f/ F, r& V6 y' `
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    2 |- H$ }8 h1 Z2 L
  602. ; used as the others, ENV is not recommended on productions servers. You/ c. H) Y5 x) ~9 [3 E
  603. ; can still get access to the environment variables through getenv() should you
    9 @7 `1 G$ G. ?( V
  604. ; need to.: H, w1 t4 `4 I% _2 z2 @/ _4 n
  605. ; Default Value: "EGPCS"
    6 B' G% M, I# U9 o
  606. ; Development Value: "GPCS"/ b& K  D& ?- ~8 T2 ]
  607. ; Production Value: "GPCS";
    ; y6 _6 v1 W  i, {
  608. ; http://php.net/variables-order. [% h  I6 V3 \( c5 X4 m! e- R
  609. variables_order = "GPCS"* M1 m" H% i: J* \+ F+ Q. S. S. d

  610. 5 U/ l) q& S: M  I$ ?
  611. ; This directive determines which super global data (G,P & C) should be8 p$ }8 x+ _( X( |" S
  612. ; registered into the super global array REQUEST. If so, it also determines
    * ^$ O8 M; C& h$ B
  613. ; the order in which that data is registered. The values for this directive! a3 W7 a& P  S. w- l, \- O8 F
  614. ; are specified in the same manner as the variables_order directive,$ U2 ], o, f# r3 f! e
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    - O* w4 B/ x/ j: Z3 j
  616. ; in the variables_order directive. It does not mean it will leave the super
    7 G3 f8 N; K; c* {
  617. ; globals array REQUEST empty.! H1 k. H( Y4 |' Z* i" ~- q
  618. ; Default Value: None
    ' u, o6 A: j# t- M+ i* k0 B. r- r
  619. ; Development Value: "GP"
    ) y2 R3 c4 k6 {$ z
  620. ; Production Value: "GP"
    4 E8 F) R8 _8 i8 _3 }" i
  621. ; http://php.net/request-order! F$ u- J& ^8 m7 U, l
  622. request_order = "GP"
    4 _- a) y% C  v( `$ T+ \' O5 D
  623. 3 E" H4 P3 F2 |0 y/ Y0 m9 W9 b) M
  624. ; This directive determines whether PHP registers $argv & $argc each time it/ {# l' h. K2 T4 c) [& y2 ?% O
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script5 L+ e2 h4 A2 E6 P' ?" F) ]  _
  626. ; is invoked. $argc contains an integer representing the number of arguments6 G, Y" j. C5 S3 i* ~" Y, b
  627. ; that were passed when the script was invoked. These arrays are extremely
    & E; u& W2 }$ G: P: t+ q3 ]( s
  628. ; useful when running scripts from the command line. When this directive is
    . u, f  O+ g3 f! R
  629. ; enabled, registering these variables consumes CPU cycles and memory each time$ e1 o( c6 f; J/ i% g+ W6 ]1 B
  630. ; a script is executed. For performance reasons, this feature should be disabled
    4 M* Q: U' K9 `2 m4 \
  631. ; on production servers.+ _/ L9 M5 g2 n# ?
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    2 p/ g' R, ?9 K9 Y
  633. ; Default Value: On
    - T$ G6 N7 m# n8 a: ]
  634. ; Development Value: Off
    * C  }$ s+ c. ~
  635. ; Production Value: Off
    $ }: j# J9 U: I+ N7 a' B% B( p
  636. ; http://php.net/register-argc-argv
    ( Q. |, j% I# c2 c$ `$ I
  637. register_argc_argv = Off
    * [( Y0 k6 Q1 ~. O; r

  638. ! ~4 Z* J7 W' q' f, n! J
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    ) P& u, I3 T- `
  640. ; first used (Just In Time) instead of when the script starts. If these* a6 W' S7 E' e( ~
  641. ; variables are not used within a script, having this directive on will result
    + ~7 p  U+ G; ^! s* E& W
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled' q; \! }8 H/ H5 }% e* w  U" |* ^
  643. ; for this directive to have any affect., T0 R  o2 \0 o$ k# L
  644. ; http://php.net/auto-globals-jit
    * C( s5 M  }  E
  645. auto_globals_jit = On3 Y9 [! f$ i# Z. m
  646. * e- W& N3 S4 o' I( }9 |# R
  647. ; Whether PHP will read the POST data.' @& o* T5 B. v' `; [: b9 z
  648. ; This option is enabled by default., `% l2 X, o" n
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST- R% Q7 T. P5 A+ |( J4 j6 n3 n# F
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    . D  d. t6 M* V6 t/ p* x% ^
  651. ; POST data will be through the php://input stream wrapper. This can be useful, R. `6 r. N) p) R) T
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    - c: [7 a+ |" C; a0 I" h- a
  653. ; http://php.net/enable-post-data-reading& v" }: M1 R3 ?1 d. A7 _
  654. ;enable_post_data_reading = Off
    + d, |9 U; k/ l

  655. 5 s5 j; ?& s% Z2 X
  656. ; Maximum size of POST data that PHP will accept.
    0 q; {# p, G. |
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading% ~4 V! d1 e3 }- P
  658. ; is disabled through enable_post_data_reading.
    ! U5 _2 U  l' D: y( B" w
  659. ; http://php.net/post-max-size- V" Y. e+ u, v+ W1 M8 W
  660. post_max_size = 50M. v( n: o; L7 |7 Y

  661. 0 }0 f/ r  m7 x/ @
  662. ; Automatically add files before PHP document.
    8 y5 X! w9 l6 k8 k' E
  663. ; http://php.net/auto-prepend-file3 [& a$ b- N0 f5 f  M, J
  664. auto_prepend_file =$ {  f1 E* }9 a

  665. 8 V/ O& ^" o! E2 L1 [% g8 s
  666. ; Automatically add files after PHP document.
    ! O  g% P! x1 _6 X1 H. S, p7 X
  667. ; http://php.net/auto-append-file; [  Z& h/ v. {5 M. A/ }
  668. auto_append_file =& o1 H, a0 l1 F4 E! C9 I9 n

  669. 6 K( j. g  U/ ~
  670. ; By default, PHP will output a media type using the Content-Type header. To
    3 W6 c9 L) {3 Y
  671. ; disable this, simply set it to be empty.
    % W$ ]9 |7 N  p  ^
  672. ;( A8 j2 O( v  g. e: |5 ?
  673. ; PHP's built-in default media type is set to text/html.
    . S" I0 L" }  A, F+ {2 y
  674. ; http://php.net/default-mimetype
    ! a' _& |( @: z! y& o* x' \
  675. default_mimetype = "text/html"1 k* @2 c2 F. t7 |

  676. . D6 V8 x6 Y$ d8 w/ j
  677. ; PHP's default character set is set to UTF-8.
    ! J4 i- W3 O7 ^
  678. ; http://php.net/default-charset
    " |. v( D) u" x8 c! ?: J( D
  679. default_charset = "UTF-8"
    . D" |6 W4 u- a! T
  680.   |3 I& b( i3 G( e. I& G
  681. ; PHP internal character encoding is set to empty.
    3 _' Q$ Y4 |4 h2 F$ \
  682. ; If empty, default_charset is used.
    7 ~( f9 e0 H( q* C5 a9 t4 M6 o( s
  683. ; http://php.net/internal-encoding
    1 g( ^( u: c7 `/ q* {
  684. ;internal_encoding =
    & e5 N$ C* Q0 p
  685. & a/ w: a) G0 N- \' M
  686. ; PHP input character encoding is set to empty.
      J, Z. A  W, x
  687. ; If empty, default_charset is used.2 }0 h' b8 O3 G& D
  688. ; http://php.net/input-encoding% `; l, ?+ N" A/ z# L# i+ e7 z
  689. ;input_encoding =9 i; J' n& C1 k1 C. {/ S
  690. ; J4 L" `; y, P1 M
  691. ; PHP output character encoding is set to empty.6 |/ o' }) o( }9 N' W& u" X2 v; u  @
  692. ; If empty, default_charset is used.
    : {& z0 S/ H% v! H# U; T
  693. ; See also output_buffer.) v1 y0 F, X# I
  694. ; http://php.net/output-encoding
    0 B+ E! Z9 {: F- B8 o! C% i) m
  695. ;output_encoding =
    3 Y) q1 o  u8 c# J3 Q
  696. 5 u2 o7 {, J# V3 F8 l) m
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is7 O7 R' P, c( @% p# L8 b
  698. ; to disable this feature and it will be removed in a future version.
    8 e2 N0 r( d, u7 Z
  699. ; If post reading is disabled through enable_post_data_reading,
    9 B9 Q! }& J" ?  x/ w. K
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    7 Z6 L9 H6 K6 t9 K3 O; [$ S
  701. ; http://php.net/always-populate-raw-post-data
    8 _! n" v4 s/ Y/ V
  702. ;always_populate_raw_post_data = -13 v( j. ?" t' D/ ?

  703. 6 C4 ~0 T2 c3 @: D
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;. D8 O. i+ J9 M9 T4 a+ l" F
  705. ; Paths and Directories ;
    $ Z" X) t0 Q% e& t1 H5 E1 }
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    . V. i- Z/ {( z% {, g

  707. - Y; a- O9 I1 {/ J- K2 D& v7 C
  708. ; UNIX: "/path1:/path2") F* k  q: f8 M. u- b5 k
  709. ;include_path = ".:/php/includes"; X9 E  l5 E) \- h/ ?, R3 M6 ?
  710. ;
    3 e/ p8 d: ^. [  D4 a/ O
  711. ; Windows: "\path1;\path2"
    & S. \& h- {. L& J+ S: J# {& }" S
  712. ;include_path = ".;c:\php\includes"  x* p9 O& x/ Q5 g  e
  713. ;! @1 v3 u' W  N$ {' F+ c5 b
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    ; _, P# X4 B# x9 y- N$ f
  715. ; http://php.net/include-path% S( v0 T5 `/ f2 V' o% i6 U
  716. ! u, @; [1 {" L( \3 z
  717. ; The root of the PHP pages, used only if nonempty.
    $ D: \8 P  p. n5 w, O
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    ! M4 W1 F2 @) f% I2 {+ f8 g$ q% ]
  719. ; if you are running php as a CGI under any web server (other than IIS)2 ?% y9 C5 Z- ^* b# a' }
  720. ; see documentation for security issues.  The alternate is to use the
    7 D8 j. E, x0 c8 s' T! l! m% D+ K; e
  721. ; cgi.force_redirect configuration below
    3 j& W1 G8 m8 ]0 h; z6 W
  722. ; http://php.net/doc-root
    0 h( T# i" ?# J( z' b8 _3 I
  723. doc_root =, v4 p; U3 [" O+ e" d
  724. 5 }/ M0 e, M% v
  725. ; The directory under which PHP opens the script using /~username used only9 y/ x$ \( |1 e9 t
  726. ; if nonempty.
    % Y) h* W( N0 c4 S, m3 O4 H0 B
  727. ; http://php.net/user-dir
    4 F& X7 u" K8 _& z: f! A: z. u
  728. user_dir =2 j  N% y" h+ ]7 Z
  729. & C+ O$ Y7 \0 f8 o
  730. ; Directory in which the loadable extensions (modules) reside.
    7 S* V# j3 k5 u0 z1 e% M9 S. A/ h
  731. ; http://php.net/extension-dir" B" v' c( y* K  _; H# ~0 o
  732. ; extension_dir = "./"0 Z& }' u# e, b* P, A
  733. ; On windows:" \. _, w* s% Y; N1 e/ I
  734. ; extension_dir = "ext"6 ]% J' r2 b- y- b2 Q

  735. # c) r* v' l, q* c8 O
  736. ; Directory where the temporary files should be placed.
    2 p7 ]% _( w3 p6 Q
  737. ; Defaults to the system default (see sys_get_temp_dir)
    6 b$ l% ^( R7 |" w( ^3 d. a3 U- c$ O
  738. ; sys_temp_dir = "/tmp"$ q. T; A: r7 A
  739. : O- G7 D% F* \/ k( Q- B
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
      d) u9 P; z+ K8 M6 R0 C
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically/ b7 f0 F& ~8 v" o, h( D
  742. ; disabled on them.
    - H. Z1 s9 d& x0 r
  743. ; http://php.net/enable-dl$ {) G! Z: x6 C! O4 |/ y
  744. enable_dl = Off1 `! u7 t; l9 p3 i/ `: V

  745. 9 p0 X4 f0 {( m0 c( c; `
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under# {) n0 U, F7 u) k) M
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    0 Q" V: l+ q0 ?( i
  748. ; turn it off here AT YOUR OWN RISK
    ; Z# t9 v5 y2 z
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    + E& q& G/ s" x* m6 N
  750. ; http://php.net/cgi.force-redirect
    . o7 Y+ S3 ^% b8 s& x0 P6 s
  751. ;cgi.force_redirect = 16 b! v' P7 Y1 e, s1 Q  Z
  752. - [+ z) R" H6 `
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    # Q1 f) l. j2 l' S: P) Q
  754. ; every request. PHP's default behavior is to disable this feature.
    + o( v& Y! [% |0 h+ K5 J/ o! t
  755. ;cgi.nph = 1
    / h/ p# }& C7 _
  756. 9 ^  E6 y, N; K8 K, `% v* M; b2 b9 T
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape8 @) h0 X% i+ |+ Q4 Q
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP1 x) }) H) k9 M( M" d6 V6 u: c
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    # S* @8 ^- A6 Q# l, h) ]
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.8 p' D% x3 G0 }' J1 I9 \# a# D
  761. ; http://php.net/cgi.redirect-status-env& W6 O- d( g. L/ @( e* j9 P( r
  762. ;cgi.redirect_status_env =
    # G2 O% h, L5 s( v( \5 e/ g

  763. - a. T1 M. u7 G2 D: ?. z
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    * `+ ^+ G' o2 m
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok, m) `6 U: `3 r. ]1 @0 s, n
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    - r( i0 ~. Z* N* s
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    ; r2 ]- F6 ~8 \6 Q! i! H# b
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    9 n0 p7 X7 Y; g* ^+ {8 p2 l9 ]* z0 ^
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    # [* l! K8 }0 a: h+ K9 a  l
  770. ; http://php.net/cgi.fix-pathinfo- |, Q$ P! i3 l' m, E
  771. cgi.fix_pathinfo=1. n, t2 `. o! S# b
  772. & z/ h/ `. K. g' o
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    : W1 |  J5 O/ L1 |$ V
  774. ; of the web tree and people will not be able to circumvent .htaccess security.* Q  n' E5 ]" e) n7 g4 @$ b
  775. ; http://php.net/cgi.dicard-path
    + ]6 e' h- \  {1 J1 u) ^
  776. ;cgi.discard_path=1
    ) t7 ^4 V0 d2 n, w3 n* |/ K

  777. ! h/ K2 h" @4 g" x) z4 ?
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate: ~& t# a9 r% m( D  L& @
  779. ; security tokens of the calling client.  This allows IIS to define the
    $ L# a* H9 I# J, K7 k% K- y0 M7 {
  780. ; security context that the request runs under.  mod_fastcgi under Apache) Y  v; _/ q/ i. S, o: c# ]1 _
  781. ; does not currently support this feature (03/17/2002)
    : }, z4 C7 n: o0 c" i
  782. ; Set to 1 if running under IIS.  Default is zero.
    $ ~! ^: @8 h# L) z8 _
  783. ; http://php.net/fastcgi.impersonate
    / w3 S; ~, A4 j! G& p* j& W
  784. ;fastcgi.impersonate = 1( V3 o  x& @. y6 K- \# E
  785. + v9 g) R* a, J7 C' P
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    ( e. B1 h" r9 p0 w( t9 X
  787. ; this feature.% Q+ g2 Y/ K" f& F/ {
  788. ;fastcgi.logging = 07 b/ s9 q7 y  a6 q1 ]( i6 L, E: K; @
  789.   n  G* Z# {6 Q5 r7 z( K
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to+ W& D) m' o, T: K  {; l
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    + b& ?. L& g' }
  792. ; is supported by Apache. When this option is set to 1, PHP will send+ |& w+ L. y$ N
  793. ; RFC2616 compliant header.
    ( ]0 |, U; C$ X9 x( i
  794. ; Default is zero.
    7 P5 ]' h0 S$ S; r  H# A# Z
  795. ; http://php.net/cgi.rfc2616-headers
    % m- O- ^4 d+ P+ e+ f: p; P
  796. ;cgi.rfc2616_headers = 0
    6 U3 c1 u& Q( p$ D
  797. $ o  F. W! ?& w( Z& r; _: S% y
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    $ l6 M3 F8 F9 E
  799. ; (shebang) at the top of the running script. This line might be needed if the
    2 B: D( b* Y4 l8 m* O) ^) Y
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI) F0 s0 _0 N3 R) y8 g8 A  x
  801. ; mode skips this line and ignores its content if this directive is turned on.5 s& x1 K  Q7 J% s9 W' g7 Q: t( V
  802. ; http://php.net/cgi.check-shebang-line
    8 \7 V$ \5 k5 K; r, [# M
  803. ;cgi.check_shebang_line=1
    & {# R) r: N+ ^7 d$ _

  804. ' \1 p/ K1 m' Z! |8 m9 y
  805. ;;;;;;;;;;;;;;;;* ?; U$ @/ i8 i, x* p7 u, ^
  806. ; File Uploads ;
    % F' B6 z- M: H- a  e5 v9 x/ ]
  807. ;;;;;;;;;;;;;;;;/ j* I4 i9 g, Y$ e
  808. ) h% Q* L0 ]5 Q+ K- u
  809. ; Whether to allow HTTP file uploads.$ E: L$ u7 Q; E
  810. ; http://php.net/file-uploads
    & n; J2 \) H- ~4 Z" F$ e7 t0 H
  811. file_uploads = On
    9 M. E9 w. L* r

  812. 7 g- M: j3 P$ m8 k
  813. ; Temporary directory for HTTP uploaded files (will use system default if not: D& k3 Q, e2 i# ^7 _
  814. ; specified).
    * C# \& M9 w/ J* D# ]* l' M
  815. ; http://php.net/upload-tmp-dir
    % [3 G: o7 I1 h0 x3 w0 _/ z3 M
  816. ;upload_tmp_dir =% G! L* I6 L% L2 X
  817. " y0 A# F" _' G; _: {
  818. ; Maximum allowed size for uploaded files." q+ m; b0 c2 K' |& V
  819. ; http://php.net/upload-max-filesize
    % |/ k7 b8 r3 _$ @; [, K9 ^0 a* S) d' I
  820. upload_max_filesize = 50M; I9 c- o- P% Z9 G3 z- {8 g  F

  821. 9 K# i6 Q# n! h! @" a" h1 l
  822. ; Maximum number of files that can be uploaded via a single request2 U4 @. @# O; V7 p
  823. max_file_uploads = 20
    % V' h2 {% @6 F
  824. ' W7 y5 i/ h' [+ d0 _( l
  825. ;;;;;;;;;;;;;;;;;;" c& `. J6 K, D
  826. ; Fopen wrappers ;3 M# t7 }& }& `
  827. ;;;;;;;;;;;;;;;;;;3 ~4 p" c3 Z/ H& M% d# Y1 Z) ^' A

  828. / y& M6 ]. F' r+ r% }: e( C& u
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    + l0 K3 d  g( c
  830. ; http://php.net/allow-url-fopen
    ; P2 j: Y4 p- p+ ?2 m
  831. allow_url_fopen = On+ t! q5 j5 a, l2 B4 s3 F% e2 G) @8 r

  832.   E6 P+ E) C) F* ~3 u9 B; G8 d2 S4 P
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    2 Q3 X  ?1 s+ f6 l0 l: ]
  834. ; http://php.net/allow-url-include
    $ Z/ a6 R6 b2 c' c/ ?: c
  835. allow_url_include = Off
    1 W: v+ o0 |- ^  k  V

  836. ! s0 \8 c6 U! M) Q
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    5 @, D8 O% F, N" y! Z
  838. ; for this is empty.
    4 V$ i4 `. A1 h4 V" l% t: b3 x
  839. ; http://php.net/from) f: ]% C) w. d1 y6 }/ ]
  840. ;from="john@doe.com"4 P  I9 U- D/ }; N/ {  W
  841. ' g5 |. y# A) z0 N$ A, I; Q9 Q
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    ' Q( ?" w9 D" M7 T) ?; R
  843. ; http://php.net/user-agent
    ) o' i( h" E7 v% [0 }
  844. ;user_agent="PHP"
    # C: U# |3 O- ], x% o; q9 F# [2 ^
  845. ! l$ M5 X% W" `$ t
  846. ; Default timeout for socket based streams (seconds). b; p+ Y3 y' [" A9 |2 e/ S' S
  847. ; http://php.net/default-socket-timeout  X0 l/ R9 j/ S* L
  848. default_socket_timeout = 60
    + Y6 B6 i5 M0 |( Q* \

  849. ) H# X2 f+ I( g' o' A) ^$ C6 r
  850. ; If your scripts have to deal with files from Macintosh systems,
    9 l+ r/ _3 b6 I! C; o- {; G$ Q
  851. ; or you are running on a Mac and need to deal with files from5 J- l; C- Y# A2 @
  852. ; unix or win32 systems, setting this flag will cause PHP to: e% [! A4 ^1 g6 g
  853. ; automatically detect the EOL character in those files so that
    . F9 A- T* Q; k4 l9 e7 G
  854. ; fgets() and file() will work regardless of the source of the file.
    . d. v2 ^: Y* F* k
  855. ; http://php.net/auto-detect-line-endings
    5 @; ^% t+ ?! W- ]( P
  856. ;auto_detect_line_endings = Off
    , L9 l' \: m8 W( ?' d" [: N

  857. + z( ]# F0 u0 @$ K% q* t5 B2 L" T
  858. ;;;;;;;;;;;;;;;;;;;;;;6 v0 o& }5 W( j) e( V# j
  859. ; Dynamic Extensions ;
    ( @- R. D" P2 a) {4 U! z
  860. ;;;;;;;;;;;;;;;;;;;;;;
    ( o4 n4 K# L5 z' g6 R( H5 e7 d
  861. 9 D$ e) d6 y. t! ~2 T
  862. ; If you wish to have an extension loaded automatically, use the following
    # m7 q) D# E. z0 y* U$ B3 N
  863. ; syntax:* K+ I2 S/ D+ P
  864. ;+ Y% A) W0 e  l0 d; A( v) e
  865. ;   extension=modulename.extension
    / W4 Z  Q( E+ t, x5 q4 N3 Y
  866. ;% ^0 g+ F! Y4 W/ }; Z* q9 I: Q
  867. ; For example, on Windows:" m  E! G6 K+ t# L
  868. ;5 a. w9 h4 h0 E, B' Z
  869. ;   extension=msql.dll, w' W$ v7 e7 ^8 F2 S# Y" t
  870. ;  {2 j7 p9 ~  q8 v: L3 {" r
  871. ; ... or under UNIX:1 d1 _( a: K3 ?" ]8 U" a2 R
  872. ;
    3 Y4 l) G1 x4 z3 d/ ~
  873. ;   extension=msql.so& }' z  g9 L! G5 P8 B3 p+ l7 \% a& |
  874. ;, W% o" q3 d1 Y& t1 h2 Y& g
  875. ; ... or with a path:
    # \! ^2 I0 x" M3 T5 G7 @' ]
  876. ;+ ]3 j: ?" B$ B: ?$ @( \9 V* v7 u
  877. ;   extension=/path/to/extension/msql.so2 V+ F+ t% P5 @/ b! y3 C. K
  878. ;; ~1 x! y: Z2 {3 b, ^' \7 ^# g
  879. ; If you only provide the name of the extension, PHP will look for it in its! u0 e8 g7 c" S5 |
  880. ; default extension directory.
    # e$ k5 V" H, k$ f
  881. ;
      K" _" x3 [) Z+ R/ P/ h
  882. ; Windows Extensions
    ! Q6 {/ t4 f. B0 w3 \
  883. ; Note that ODBC support is built in, so no dll is needed for it., M$ Z  W: d( X2 e9 p' {
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)2 ?4 ~# B! e& J& v2 L) a' T
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).8 B* p# v- I" k) B
  886. ; Be sure to appropriately set the extension_dir directive.
    . ]$ C  K5 J+ r1 P7 U
  887. ;
    5 J5 b9 M' g8 i# g
  888. ;extension=php_bz2.dll
    0 [; y4 l$ `7 d- `: l9 B$ L% {3 O
  889. ;extension=php_curl.dll
    ! h; [# i* M% p( H$ C
  890. ;extension=php_fileinfo.dll
    3 D4 _$ {# y+ a0 x. W
  891. ;extension=php_gd2.dll
    % K  M9 Q/ K/ J, g- x+ k+ }( r
  892. ;extension=php_gettext.dll
    ! A6 Q" W$ |6 ^, {& m1 S# P
  893. ;extension=php_gmp.dll" q, }1 j; v8 r
  894. ;extension=php_intl.dll% w) f; `" R  z4 S( ]- }# V
  895. ;extension=php_imap.dll$ @8 a2 X( F3 o. j) P: M0 I- A
  896. ;extension=php_interbase.dll
    ( \" C2 y, i, w4 s) W# R: o
  897. ;extension=php_ldap.dll
    7 W: w9 O* r9 _; {* @
  898. ;extension=php_mbstring.dll$ F. I2 Y* m! l
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it, Y8 D/ B! b, q
  900. ;extension=php_mysql.dll  U  K' d# [# |& f1 _) U' B2 Q
  901. ;extension=php_mysqli.dll
    $ K- {( j- R! o; v) j6 i& e3 ]
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client6 I/ X/ V0 x' T4 M+ x# p
  903. ;extension=php_openssl.dll
    ; _; x+ W) H* @' w
  904. ;extension=php_pdo_firebird.dll
    + x5 s! \) I7 b
  905. ;extension=php_pdo_mysql.dll
    - z+ Q. H1 X5 |& J
  906. ;extension=php_pdo_oci.dll/ }4 p6 U4 `( H- s! t
  907. ;extension=php_pdo_odbc.dll! d1 t/ k* X! |$ ?
  908. ;extension=php_pdo_pgsql.dll
    ; ^. j8 H# W2 t) I  B0 g0 I. ]
  909. ;extension=php_pdo_sqlite.dll( m5 b! c7 ~0 f8 J# {/ W
  910. ;extension=php_pgsql.dll
    : z- g9 s( ]3 l; I
  911. ;extension=php_shmop.dll! A. B# U* H' q2 e" |) s7 y

  912. 3 \0 C7 \' L" }" @+ J' u7 c+ w
  913. ; The MIBS data available in the PHP distribution must be installed. ! U1 \% d* N2 ^- n8 }# v) D# g) ~
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    : f1 Y: _! z) c1 z( x; }
  915. ;extension=php_snmp.dll1 P& l2 T6 l) k0 Q" O
  916. 9 B# ~3 u9 ~% ~" W# z- l: l
  917. ;extension=php_soap.dll, T8 q* ~7 ?8 d( |+ r* r  z, m
  918. ;extension=php_sockets.dll
    + W9 L2 {1 V4 q$ L: j2 c
  919. ;extension=php_sqlite3.dll
    ) |' J/ \  w- z$ V7 L7 Q8 l$ n& l
  920. ;extension=php_sybase_ct.dll- G4 l- i/ {7 C+ ~1 B
  921. ;extension=php_tidy.dll
    ) _9 r" R% z1 v  `1 ~7 x
  922. ;extension=php_xmlrpc.dll
    ) u9 H1 i6 n+ F" F9 C& X
  923. ;extension=php_xsl.dll
    & E8 n: W+ R: ~1 @* k4 h" h6 ~

  924. 7 V' ^3 m0 f& Y/ Q( H. M/ {3 N7 c8 M
  925. ;;;;;;;;;;;;;;;;;;;
    + o# {6 B: l! u( Y- Q. S3 G' ~
  926. ; Module Settings ;7 p% K% }; ~  A  D+ N
  927. ;;;;;;;;;;;;;;;;;;;3 m( {0 D+ f* L& o) d! G

  928. ' S+ f9 M3 g# s& @" U- d& B
  929. [CLI Server]
    7 Y8 [! S( M$ ^6 }5 l; E0 P
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.0 Y0 ~9 P  U, V4 ^$ ]! K
  931. cli_server.color = On
    % k% o3 M" p- R7 q6 G+ `6 W

  932. 8 _) Q/ E' A; f( ]% ]
  933. [Date]8 {+ J/ P6 M( N. T( p
  934. ; Defines the default timezone used by the date functions
    $ v( U8 ~2 ^+ b/ Y( P
  935. ; http://php.net/date.timezone$ j3 e" F. _" G1 T7 f6 c9 y
  936. date.timezone = PRC3 H% v+ Q( [' m1 Y
  937. # L9 P! A. n$ \6 p- L
  938. ; http://php.net/date.default-latitude; u# q6 y) P5 v$ x9 R
  939. ;date.default_latitude = 31.7667
    , }1 h0 v' i# t( p2 Y( R( U: ^
  940. % i/ C+ {' w3 W3 J5 m
  941. ; http://php.net/date.default-longitude, n4 T  w3 R; M  P' E; N5 I
  942. ;date.default_longitude = 35.2333
    - v9 Z- r4 Z8 M- v+ l6 p' H" B# [
  943. # D- V( S3 M2 u
  944. ; http://php.net/date.sunrise-zenith
    5 }& L" o; r0 N" H. C/ a' p
  945. ;date.sunrise_zenith = 90.5833334 e* w6 \; n  C% d

  946. ' w2 R% l, M$ t6 D" K8 ~6 A
  947. ; http://php.net/date.sunset-zenith3 m& e3 F4 }2 H* \# ]* q
  948. ;date.sunset_zenith = 90.583333& U* q" ~) |& {
  949. & c8 w- F: V; W6 `
  950. [filter]% w6 F1 v5 K3 V0 _& U: e
  951. ; http://php.net/filter.default
    # G# W& g$ [9 a1 M/ a$ R
  952. ;filter.default = unsafe_raw
    # I1 \+ H% E8 F$ E8 [- B

  953. $ ?" W. u- ?9 E$ N! ]
  954. ; http://php.net/filter.default-flags
    , m( u8 [9 h% r! d6 U, F
  955. ;filter.default_flags =  e' K# X9 P8 M6 I

  956. % R7 o# g. m* g# R
  957. [iconv]0 D1 i6 E% v; u: E+ I6 U  `0 b; a
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    ! Y- h! X8 d, C( W
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.1 i4 c6 n9 s# u8 [
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding7 Q; g7 Y) h1 p) c7 y, l! N
  961. ;iconv.input_encoding =
    - }% S6 E1 }) `: j( o9 i

  962. 6 Z5 A2 S% H5 A, Q1 s. B
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.. Q6 T5 ]* I6 Q4 q" l& m% n
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.! g, W: B$ |# d6 \  E- \
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    9 I8 l  B; u1 ?) M
  966. ;iconv.internal_encoding =& [+ M2 Q8 L" e) ], w$ a
  967. 6 k" Y2 ]. w+ X# A4 c) H. {
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.1 a8 {5 C9 [$ W7 c. _
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    3 ^8 A2 t2 x: j8 S. \
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding5 P9 _* H' z5 a" g4 K
  971. ; To use an output encoding conversion, iconv's output handler must be set
    6 V5 F: Y: {3 j8 V6 _+ L, i
  972. ; otherwise output encoding conversion cannot be performed.
    . Y5 F6 t( }3 T; x
  973. ;iconv.output_encoding =
    3 {: b) ]4 M+ ^- z% e  }

  974. " i* u+ }* b' h8 a2 X8 P) S8 @
  975. [intl]3 F7 K+ z- c) I% C+ P$ G
  976. ;intl.default_locale =
    ( ?$ k* k/ q/ |0 S
  977. ; This directive allows you to produce PHP errors when some error$ `  L, d5 U" P% K+ s6 U* `! j" y
  978. ; happens within intl functions. The value is the level of the error produced.- K2 _5 D) ?+ t# t/ ?) V
  979. ; Default is 0, which does not produce any errors.( l5 X: F+ S1 Y! M* z, U
  980. ;intl.error_level = E_WARNING
    ; e5 g2 J* o+ G
  981. ;intl.use_exceptions = 0
    4 j1 {8 ?- s. z2 u( K9 M7 [, x% l( f- R
  982. 4 D! z" O) d# l6 |3 m: Z
  983. [sqlite3]
    . B" J* @3 z, v  c* k9 l
  984. ;sqlite3.extension_dir =3 c* B' X- o$ S& x/ \

  985. ' Y6 E7 }6 O2 }) `" u" m4 X
  986. [Pcre]: J" j: F$ S( K4 D
  987. ;PCRE library backtracking limit.
    0 ?5 U: G; g+ T1 d
  988. ; http://php.net/pcre.backtrack-limit
    1 ?9 G4 V$ l9 L! B+ D  @
  989. ;pcre.backtrack_limit=100000
    % y) J% }5 h3 [. s% R

  990. ( f5 b; b0 m* s
  991. ;PCRE library recursion limit.
    2 {" ^- p  @" L+ m) m
  992. ;Please note that if you set this value to a high number you may consume all: [. j8 \1 Q5 V2 c0 v  l9 j& K
  993. ;the available process stack and eventually crash PHP (due to reaching the" U% I; d$ ?# q2 E: I2 d
  994. ;stack size limit imposed by the Operating System).
    3 E1 m8 z. ]- [! ]2 U+ o7 C
  995. ; http://php.net/pcre.recursion-limit6 A9 x& t1 _1 F; ~  u
  996. ;pcre.recursion_limit=100000
    + }2 z+ A' s, E- p
  997. / {0 k' F7 K! c- ~
  998. [Pdo]; i: z4 _& b% T* v5 Q% m  ~7 s
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    0 _! ]- I3 D" x
  1000. ; http://php.net/pdo-odbc.connection-pooling' y9 q& z7 N7 Y/ Q3 g3 T
  1001. ;pdo_odbc.connection_pooling=strict1 r9 N& k; U$ W4 c& C6 J

  1002. 9 Z; G# U$ C* A0 s5 q7 a4 b$ N& y
  1003. ;pdo_odbc.db2_instance_name
    : h" T( y& J; S
  1004. : q" w6 l7 f: \
  1005. [Pdo_mysql]+ H" }' I1 T. r' K  K, R3 k& `( ~
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache: Q5 U& @6 U* X
  1007. ; http://php.net/pdo_mysql.cache_size, F0 j! n2 d  U- |6 i
  1008. pdo_mysql.cache_size = 2000) j% h$ c. @; J% D5 v+ m

  1009. ) R6 V1 p0 R6 e& R+ ^+ R$ \3 |% z
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    3 |- i6 S9 z- e& v$ k# N1 [
  1011. ; MySQL defaults.5 ^$ A# W( a' d6 g' u" x
  1012. ; http://php.net/pdo_mysql.default-socket7 d$ U; v" W0 u/ D, P4 S* d8 F3 A
  1013. pdo_mysql.default_socket=
    7 |7 [  b8 Q% b5 Y& Z/ M

  1014. 7 |$ `" Z0 u* x  G! L
  1015. [Phar]
    3 R) V/ A. ?7 Y3 e0 M* @% d
  1016. ; http://php.net/phar.readonly
    # E. \9 o; [; U1 s3 L0 Y
  1017. ;phar.readonly = On
    ' F2 `1 j- U0 ?$ K

  1018. 2 u- q# i3 f" c! F* J; M
  1019. ; http://php.net/phar.require-hash) q2 ~6 V1 z  y5 S. _8 q
  1020. ;phar.require_hash = On
    * z* v$ F, y1 V+ d& z. M8 K! O

  1021. 8 _- ^" i# ~" D+ C
  1022. ;phar.cache_list =3 v& l" I4 Q* _1 |% b) n

  1023. 0 A- s( \1 y5 _
  1024. [mail function]
    ) ^+ L: O5 ~+ H/ G8 i: X
  1025. ; For Win32 only.
    ' @+ l4 q$ o* B: P; S
  1026. ; http://php.net/smtp
    & o; v; N5 `; K: }+ ~' }% w! R
  1027. SMTP = localhost
    9 p' t$ I' O8 L  C7 L" v
  1028. ; http://php.net/smtp-port: [" ?! @9 }/ C' y( V( a# R
  1029. smtp_port = 25
    2 J, Y) H. H. L* r

  1030. ! H, e! F) R6 Z; E
  1031. ; For Win32 only.
    5 i6 Z% _. n% {$ S; \' C4 p$ |
  1032. ; http://php.net/sendmail-from# u$ p" S" L' {) i$ ~
  1033. ;sendmail_from = me@example.com6 O/ L' `9 R% {
  1034. 8 |# Y2 y6 `! a* N7 U5 M: V
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    : y* c5 a: l( K
  1036. ; http://php.net/sendmail-path
    & E2 H8 H. x# j. @" p3 E% I
  1037. sendmail_path = /usr/sbin/sendmail -t -i* W: ]3 r1 o3 Z
  1038. $ O, b* x8 I. m. A
  1039. ; Force the addition of the specified parameters to be passed as extra parameters: B+ I* E8 o' d* s( U
  1040. ; to the sendmail binary. These parameters will always replace the value of
    ) h0 g4 O' J. r
  1041. ; the 5th parameter to mail().
    $ T6 Y; k/ {. |
  1042. ;mail.force_extra_parameters =
    / Z0 F; A0 n7 W) @3 x4 E- V

  1043. , u* _& X( T4 X& ]7 z! m8 C
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    6 ^4 d' I( X, r% n* h
  1045. mail.add_x_header = On6 U8 ^% h$ M+ T+ V; K
  1046. ( ?! v7 k0 L" k) x
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    9 C6 S$ f8 g) L  u$ _) V
  1048. ; the full path of the script, line number, To address and headers.4 u3 r, |$ k% `) k8 B% I
  1049. ;mail.log =
    . ]$ E) i) z  a- x2 t
  1050. ; Log mail to syslog (Event Log on Windows).2 o% }. r& `7 Y+ }3 I0 m8 E
  1051. ;mail.log = syslog
    $ Q3 m$ R3 a3 Y2 E5 D( a
  1052. . E2 c8 n) D- S
  1053. [SQL]: K# d% U$ n# d$ H! j; l
  1054. ; http://php.net/sql.safe-mode1 V( o4 c) g8 R# Z# d. i; h" n
  1055. sql.safe_mode = Off
    ) A# [) E. D! V* Z; ?; |1 h, I
  1056.   F  U* l7 n3 U! a
  1057. [ODBC]
    , l5 ^, \9 S$ @: I8 g/ }& U
  1058. ; http://php.net/odbc.default-db
    & t, Y7 U' z4 L4 ?( _
  1059. ;odbc.default_db    =  Not yet implemented
    6 c- L2 e) k) P5 d" X, @

  1060. . ?$ e" {- d8 h7 H
  1061. ; http://php.net/odbc.default-user
    4 E- ]9 c! N( `# [( P  @
  1062. ;odbc.default_user  =  Not yet implemented3 `( Z) H( d- G, c7 H
  1063. ; d; Z- G1 v. n; ~9 v
  1064. ; http://php.net/odbc.default-pw+ t0 ^, P4 C& H# n
  1065. ;odbc.default_pw    =  Not yet implemented
    . i" ]# w; |: b' m
  1066. " ?9 _/ [% L" }+ _- a  S
  1067. ; Controls the ODBC cursor model.
    , p" E- e4 o5 z5 r. I
  1068. ; Default: SQL_CURSOR_STATIC (default).2 S( D# i/ t. y2 b
  1069. ;odbc.default_cursortype4 ?6 B: ^2 l! `$ K  ^
  1070. 4 z: [  W* C: H& \
  1071. ; Allow or prevent persistent links.: j, A+ I1 f0 p" \. {4 k  E* {- B
  1072. ; http://php.net/odbc.allow-persistent; F+ u( i4 N4 n- s% Q
  1073. odbc.allow_persistent = On' h3 m. {5 q: d2 J: m
  1074. 3 k( g4 j* f4 @! z2 U5 [- [; ~
  1075. ; Check that a connection is still valid before reuse.
    & c+ {) W5 B( ^
  1076. ; http://php.net/odbc.check-persistent
    - N# O3 S2 B  o: \
  1077. odbc.check_persistent = On" x5 Y' @% Q% X- s- w: z" U

  1078. 7 ^2 r$ J  b$ h/ N; J9 j& w
  1079. ; Maximum number of persistent links.  -1 means no limit.) w6 g' k& T! P( I3 q
  1080. ; http://php.net/odbc.max-persistent2 h: W: p8 Z3 T" \
  1081. odbc.max_persistent = -1/ H) c5 }& a, ~- K# a% H3 M/ I, k

  1082. 2 I% b5 O: I2 }2 Y
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit." r' T3 N6 E& k* L
  1084. ; http://php.net/odbc.max-links
    6 @# `8 k/ S9 x+ w$ F9 z- z0 V( N- O
  1085. odbc.max_links = -1, ^# t3 c6 W0 e9 f% k$ Z9 `3 u) ~- G
  1086. ! R- j( b8 x+ G2 H' e6 Z/ z7 X
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means: J( w9 g! O. y# l/ C5 X; h
  1088. ; passthru.# e0 D, D; z0 B' x3 X3 `
  1089. ; http://php.net/odbc.defaultlrl, c+ `! d- U" l- E$ c3 k0 w) m
  1090. odbc.defaultlrl = 40969 F6 n  c1 a/ ]* \" {
  1091. $ F" u2 t* Y$ _' H* p2 @4 \! m6 Q! @
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    5 @# p4 \9 T, U3 k/ w
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    ) J* \4 ?. ?! f; l
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    1 ^  G0 T* y  k
  1095. ; http://php.net/odbc.defaultbinmode8 ~# G9 f2 @0 b& K/ t' h
  1096. odbc.defaultbinmode = 1! Q# i3 B3 [4 b) u8 p$ L' B
  1097. 9 L+ B  e) M( L
  1098. ;birdstep.max_links = -1. R6 n/ `* B. ]* n; o5 D
  1099. % E' v8 V. P6 j, |- D$ o
  1100. [Interbase]8 H9 z3 y! X/ _: M
  1101. ; Allow or prevent persistent links.( j5 \2 C( t# b1 ]9 I9 \
  1102. ibase.allow_persistent = 1
    / S4 v9 J$ H5 o( Y9 t& m! W& ?
  1103. . B- b0 o- @) J" a
  1104. ; Maximum number of persistent links.  -1 means no limit.4 V) z# o8 Z+ S3 H0 R# F, f
  1105. ibase.max_persistent = -1
    4 y% p. f# J0 D

  1106. $ H% P3 v/ a) h
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.9 U; {' j! O4 j# ~, j# e; A/ b6 t  ?
  1108. ibase.max_links = -1
    3 K# O9 l  m5 j& p$ {* a

  1109. ! k6 p4 |& t+ W# B& M4 B& G
  1110. ; Default database name for ibase_connect().: f+ u7 z2 Z/ F
  1111. ;ibase.default_db =2 Y+ z  V5 J1 \3 O0 `5 H/ w
  1112. 3 V, b# R4 a4 Z$ ]
  1113. ; Default username for ibase_connect().
    6 m' O1 h2 L$ B: K
  1114. ;ibase.default_user =
    7 G# f; M  L2 ~* L& @# i

  1115. % {4 ^0 B% m4 d8 ~# b& ?- u
  1116. ; Default password for ibase_connect().
    / D2 Y. E' [% n! {/ y- s" K
  1117. ;ibase.default_password =
    ; P- V9 H4 {2 b7 q
  1118. . u% g; S8 G: k: `, N8 O
  1119. ; Default charset for ibase_connect().
    0 P; s5 Z8 n+ f" \0 Y
  1120. ;ibase.default_charset =4 u) _0 a3 @+ q( s
  1121. , e, s+ p" ~/ _) O. x8 I
  1122. ; Default timestamp format.% B0 n' e. G5 c; o7 d6 Q( v
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    * o: v: B( Q3 v1 I2 n( `6 i/ O

  1124. ' ^) F/ j9 W6 s3 T' t, K8 p! Q
  1125. ; Default date format.
    + f! X2 p; p: g5 u
  1126. ibase.dateformat = "%Y-%m-%d"5 o# L! {5 [6 p6 z( D0 G5 L
  1127. ) b0 ]; }$ {1 |) ~8 {: X
  1128. ; Default time format.- i" t( A( x  }: p, V+ N
  1129. ibase.timeformat = "%H:%M:%S"! Q4 a& U4 D. P3 ~8 q9 r

  1130. 5 y& r" e& n) ~) E' a/ a+ B- _' p
  1131. [MySQL]: ~6 Q9 U! H2 m# \
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements, w% E4 m3 k5 ^' ~1 O) ^" E
  1133. ; http://php.net/mysql.allow_local_infile
    7 ?. ?  n+ Z$ p3 P# p; w
  1134. mysql.allow_local_infile = On0 s2 t7 a) ^+ l" S. ]0 [

  1135. # y7 k$ t1 s+ h
  1136. ; Allow or prevent persistent links./ j4 D: x% m; C# T4 \  r. E, }
  1137. ; http://php.net/mysql.allow-persistent) j$ C- ~, g8 v8 L8 e/ T
  1138. mysql.allow_persistent = On: n; A9 s+ o! O0 {+ L  x

  1139. % u1 Y* u7 J5 O$ n: ~* v
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    . Y: [3 {8 z& u/ ^+ z
  1141. ; http://php.net/mysql.cache_size( ^; g/ j# `- w$ P. P/ ~1 b
  1142. mysql.cache_size = 2000
    ( F( S& y7 F, M% J8 z6 y7 n. _
  1143. ) ?8 \0 P0 o& H; [6 |6 o5 l) ~8 p
  1144. ; Maximum number of persistent links.  -1 means no limit.  K) b$ G6 k( q0 {9 d1 o$ @
  1145. ; http://php.net/mysql.max-persistent
    ; J+ D: X- w4 U4 k
  1146. mysql.max_persistent = -1
    8 p8 Y+ y+ E( l% a

  1147. * y6 Y) n+ s3 V0 K) [0 H. E
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.. @2 `+ d0 H! O4 R
  1149. ; http://php.net/mysql.max-links; I( {8 M8 g1 S8 p+ n  b4 I
  1150. mysql.max_links = -12 Z# r5 q1 a8 U+ L- P" F

  1151. $ c: l, X, N8 v
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use0 `1 N5 G  c1 u: w9 [% z# U
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the9 X( o% h! _; b) I; u9 B+ q( \
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look8 t# `" {) E3 X4 ~1 l. k
  1155. ; at MYSQL_PORT.
    $ k& S4 U- {) ?" V1 l5 ]; \
  1156. ; http://php.net/mysql.default-port. G8 ^" j; j; q! m
  1157. mysql.default_port =. B: V# T3 m0 y

  1158. 0 S4 @* }/ N( W* E+ S( i6 x, t
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in# H% n' l* m5 l0 v" Z
  1160. ; MySQL defaults.2 L6 f0 F9 c+ |# o( @
  1161. ; http://php.net/mysql.default-socket. d4 e3 O9 z5 k5 a4 U
  1162. mysql.default_socket =9 W" S/ n- k7 f& z/ m) O

  1163. 3 x9 o  H! L& N; L% w
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).2 _) m" ]' m8 U8 Y. n' }, Y
  1165. ; http://php.net/mysql.default-host
    : ~: k: ]" K7 D. c, q) u/ N4 q$ B
  1166. mysql.default_host =' A% l6 v8 [5 n- N4 d8 }; W/ E
  1167. . D  e& {( L; \8 X" t. d
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    # D$ K* A8 [1 x+ [! z6 O
  1169. ; http://php.net/mysql.default-user8 ~. V6 ~* b/ K: A! \
  1170. mysql.default_user =, c" [; D3 a2 d' h) u& c; F& B
  1171. 4 m7 M2 l, u/ H; y& h% m- w
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    ( }. E+ J8 y) g% S0 ~% Y$ y
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    + c: [* ]9 O& V& j
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    . s2 P; `. M6 }
  1175. ; and reveal this password!  And of course, any users with read access to this
    $ W: u- }- g. g" q9 }
  1176. ; file will be able to reveal the password as well.
    ! b3 |: w/ V0 ]; }# D$ ~
  1177. ; http://php.net/mysql.default-password
    ' M. Y: d1 S" N( H3 D) w% I8 O" k
  1178. mysql.default_password =  |2 L! Q0 J1 W- W% k

  1179. . f4 @! o; a/ {  m
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit( m' J/ R" {2 G; k: d; W2 u) c6 n
  1181. ; http://php.net/mysql.connect-timeout  E9 I: X# ?: k8 \8 A0 X0 r3 c
  1182. mysql.connect_timeout = 604 O$ I8 c1 }0 P8 D
  1183. : [/ x1 X. D% n" V" j
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    # b# Y! I9 H: N. O7 W
  1185. ; SQL-Errors will be displayed.+ ?& t2 _3 l8 E) j0 n4 e, S
  1186. ; http://php.net/mysql.trace-mode
    4 _. x& ~  r3 }. s& [/ j6 W7 D
  1187. mysql.trace_mode = Off' g$ W$ z4 u$ D' a: c

  1188. 1 ~8 h8 T, z) Q# Z& D; r! X
  1189. [MySQLi]
    & g6 ~! a* r! r) {) `9 R' @7 @9 o

  1190. : Y! j9 |6 ^4 U# g9 E, ]
  1191. ; Maximum number of persistent links.  -1 means no limit.2 O: r2 L5 r5 u! K3 B( R
  1192. ; http://php.net/mysqli.max-persistent
    ; H& ?$ Z' H  ?9 Y" y) f
  1193. mysqli.max_persistent = -1
    7 Z: z+ g) v. `
  1194. ! E- b! o( b0 b) m7 K
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    ' v: y* {' o6 |( b
  1196. ; http://php.net/mysqli.allow_local_infile6 w4 F% h1 ^# ~$ |5 F
  1197. ;mysqli.allow_local_infile = On4 \1 M+ U9 w7 Y5 r% T! Q1 U5 `0 f
  1198. * b) a  Z+ V. R
  1199. ; Allow or prevent persistent links.* R. }0 v5 Y" d
  1200. ; http://php.net/mysqli.allow-persistent
    9 s$ s2 X8 P! F# d1 R2 j0 @3 z4 ?) d
  1201. mysqli.allow_persistent = On* q& o+ u- }8 S4 Q: t8 ]! X
  1202. ; J# A! C: P. R' p3 v0 a6 o- p0 q
  1203. ; Maximum number of links.  -1 means no limit.- c) g  X* C0 j& P0 @) m  s! n
  1204. ; http://php.net/mysqli.max-links
    ) o' s8 n8 o( N8 x% Z+ k2 O. C
  1205. mysqli.max_links = -1( K% K7 g- n  r1 l9 h  T
  1206. ; ^# g! o* V6 Z- t: K
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    8 I0 q4 H7 |" L* b% N7 [3 i7 `
  1208. ; http://php.net/mysqli.cache_size1 _: g! y& g" n6 g) V
  1209. mysqli.cache_size = 2000: J$ l3 Q0 x0 }3 Z
  1210. 8 e3 e+ Y$ o, A1 g3 l
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    . \; e* {' ]# n, V  a
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the" |& t" C) F1 }3 N- h6 `; H' J
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look- H- V: @1 L0 t, a5 Q
  1214. ; at MYSQL_PORT.6 Q7 j: w7 M5 f- @
  1215. ; http://php.net/mysqli.default-port
    " ]! ~4 U$ N/ H' x
  1216. mysqli.default_port = 3306
    . V# L/ J7 ?. k$ q" t0 P5 W; M& ?

  1217. 5 j  Y2 K4 G$ M# S
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    . I' M6 A! e$ ]( D4 T  g* i
  1219. ; MySQL defaults.
    ; X# Z+ r* W9 x- r& h
  1220. ; http://php.net/mysqli.default-socket
    1 c1 m- A  H& z" \
  1221. mysqli.default_socket =
    0 ~$ r1 O! [' N9 E. f2 g

  1222. " I0 e- S/ z+ p, O) ~, K
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    , f6 J2 j7 f) V7 P' E  a+ F
  1224. ; http://php.net/mysqli.default-host+ x* k& |: p  o2 @6 y2 `
  1225. mysqli.default_host =* y- Q% D) a# C8 u6 [

  1226. - H0 _1 y; B1 q
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    + ]2 p8 M, o% Z4 U1 U
  1228. ; http://php.net/mysqli.default-user
    ' g1 g" }' X, G. `2 @3 W$ R0 E- y6 k
  1229. mysqli.default_user =
    5 L; ^8 C6 E) N& k# l
  1230. % Z6 l6 A4 ^& i6 Z, ~& E+ v. x, P& D7 `
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    7 Q0 i. M+ O6 E& l. U- p: T/ |
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.8 u7 U0 N: }8 x2 h
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    " H; ~* C* f( t
  1234. ; and reveal this password!  And of course, any users with read access to this
    / G# Z# C) g3 A+ u8 E$ a
  1235. ; file will be able to reveal the password as well.
    ! j) L: p# Z$ F, x6 b  c
  1236. ; http://php.net/mysqli.default-pw% `1 E3 c! I& l( g4 t
  1237. mysqli.default_pw =
    0 M2 S' K% n2 m8 p
  1238. 1 _+ @' _6 |. c- d8 E0 B$ @, D
  1239. ; Allow or prevent reconnect
    & Y( z! `/ H' i9 c. w4 X" |
  1240. mysqli.reconnect = Off
    # H0 w+ q6 l5 v* A( ^% x
  1241.   k; y- n# y+ F8 ~0 ~
  1242. [mysqlnd]
    ; a5 K1 J/ ^6 C$ ^& m+ q% o
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    + W- }. S, `% Z: z! o1 d- Q! d
  1244. ; used to tune and monitor MySQL operations.
    2 _4 g/ B6 l- B. h5 d' a9 l
  1245. ; http://php.net/mysqlnd.collect_statistics+ n( N, B& q4 Y. C% f1 @0 r
  1246. mysqlnd.collect_statistics = On0 K* v! P, z; ^# h1 s8 l

  1247. . a+ W# h4 H7 V' ^/ y
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    . G  H$ G. y# l/ f2 ?, B9 q# Z# ]7 U
  1249. ; used to tune and monitor MySQL operations.
    0 {4 y: ?0 p6 g5 A4 b8 O9 `1 X' p
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    8 y! a! D! b  r
  1251. mysqlnd.collect_memory_statistics = Off
    - c/ x5 _8 a7 ]" V
  1252. ! p1 o( r1 P# B/ W" L$ M* }
  1253. ; Records communication from all extensions using mysqlnd to the specified log, v: T# ^5 A) h
  1254. ; file.
    8 R3 @6 D9 ^, r( }( [3 O% ^* f
  1255. ; http://php.net/mysqlnd.debug$ Y0 l9 M8 M! V7 C
  1256. ;mysqlnd.debug =" e. ?* \; T% T. g) d( `
  1257. / r% H2 @$ S/ i* Q
  1258. ; Defines which queries will be logged.- P# ?0 X- W  \1 M& z5 r2 K" _3 S
  1259. ; http://php.net/mysqlnd.log_mask1 x) S7 V! `/ V7 G9 F
  1260. ;mysqlnd.log_mask = 0
    3 w. @  ^: j* n$ Z' p
  1261. * j: ^$ |( {! U2 D0 b
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.) W) L7 c* O: M( B/ ]1 ~" [7 p) ]
  1263. ; http://php.net/mysqlnd.mempool_default_size! |: f2 b7 l+ o3 R4 {
  1264. ;mysqlnd.mempool_default_size = 16000
    0 O; x/ ?' y" s

  1265. ; H5 M, o8 J% }; c) C6 n2 ^
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes./ o% ~  }' O- L
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size0 N+ {4 T1 A# n! i# \
  1268. ;mysqlnd.net_cmd_buffer_size = 2048$ Z6 x! B! R$ ~* V5 g/ Z
  1269. ' }+ b4 [8 r( \+ Z( K
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in1 Y) m1 f+ q2 i& n. {
  1271. ; bytes.' H& W+ ~4 }# g0 {7 |. [
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    # p- y( j, D6 X  D# v
  1273. ;mysqlnd.net_read_buffer_size = 32768& M1 R4 y3 U3 R5 K" u9 |8 ~

  1274. 9 Z9 k% u* ?8 f# Y1 Q' r* L
  1275. ; Timeout for network requests in seconds.
    : w' B* N% C+ r. a! R$ p0 r
  1276. ; http://php.net/mysqlnd.net_read_timeout) D1 n( L+ r$ q3 a2 E; g% f! Q
  1277. ;mysqlnd.net_read_timeout = 31536000
    + o5 q" m" V9 G: G
  1278. " |7 P( r2 t: |
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    8 r( d! h3 ~5 |  _) n6 d
  1280. ; key.
    ( D! K1 O" H  D1 U/ x* D
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    3 f0 ^2 U7 Z( o( r2 k
  1282. ;mysqlnd.sha256_server_public_key =
    4 Y. j$ ^, [/ ^8 f: q  o/ i# v

  1283. , Q5 T$ f" U- A1 c! [/ f
  1284. [OCI8]5 u1 D9 q8 L, w# V9 U9 g8 M4 E& e

  1285. $ _9 \8 U8 k$ H( R5 |& @  \
  1286. ; Connection: Enables privileged connections using external
    / }3 i( H, t$ i
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)& G9 J: ~% O+ B4 Y1 b$ P
  1288. ; http://php.net/oci8.privileged-connect8 y1 p- ~+ c6 J, x3 B
  1289. ;oci8.privileged_connect = Off
    % j% a( k3 F; N

  1290. / n+ o) Y- Z# h6 W! H
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    # w; t; W# F. l% E* _
  1292. ; process. Using -1 means no limit.
    & K# t: p1 s4 T7 V0 Q! K/ C
  1293. ; http://php.net/oci8.max-persistent
    ( |" v* O9 s7 [
  1294. ;oci8.max_persistent = -1; A* K$ w- Y3 _# ~
  1295. ; W+ }  D( W4 H
  1296. ; Connection: The maximum number of seconds a process is allowed to
    . |9 |' J" [. S4 u
  1297. ; maintain an idle persistent connection. Using -1 means idle3 y: j4 j  B1 y$ a/ y: I. r/ ]
  1298. ; persistent connections will be maintained forever.
    1 ^1 ]. Z2 |% m' ?
  1299. ; http://php.net/oci8.persistent-timeout
    1 l0 m$ w, E4 }' V( ^; f: o
  1300. ;oci8.persistent_timeout = -1+ I2 v: B" K5 m8 y
  1301. " l1 T- o( N/ K! V6 u
  1302. ; Connection: The number of seconds that must pass before issuing a/ o( y# a( _$ `+ r$ i1 j
  1303. ; ping during oci_pconnect() to check the connection validity. When
    % t9 V$ s! M7 o( Q# F( ?
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    ) C8 @, S+ r7 k
  1305. ; pings completely.8 p6 |: h1 y4 ^. E$ X
  1306. ; http://php.net/oci8.ping-interval
    5 {# \8 |; u0 }5 H
  1307. ;oci8.ping_interval = 60( Y0 W; y2 o7 ^$ I+ H  K, f

  1308. ' w7 x2 d# T/ {. t& X
  1309. ; Connection: Set this to a user chosen connection class to be used
    ( w/ `2 n" I% P& {% k; c2 c
  1310. ; for all pooled server requests with Oracle 11g Database Resident4 S" g  U1 v; {( J- C6 v8 A- Z$ t
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to4 N9 m! j  l7 `4 c
  1312. ; the same string for all web servers running the same application,5 l& {0 m* K( f- j3 r& i- Y
  1313. ; the database pool must be configured, and the connection string must
    " i0 p, u' O$ _7 S8 @. Z' u
  1314. ; specify to use a pooled server.
    $ w6 u# y( `" l$ S1 [' U
  1315. ;oci8.connection_class =
    ! c$ v3 q" e6 Z6 R2 @

  1316. 6 @- m6 ^# M/ @2 I) e$ {
  1317. ; High Availability: Using On lets PHP receive Fast Application0 D8 ~3 B8 j, d  D
  1318. ; Notification (FAN) events generated when a database node fails. The; {# X+ B* D, y, O
  1319. ; database must also be configured to post FAN events." ?" s- U% s( n# C0 `; X
  1320. ;oci8.events = Off
    1 }- f. `1 y+ {0 n

  1321. ( p; T& m1 E: u( b: R8 B# w  A+ I
  1322. ; Tuning: This option enables statement caching, and specifies how
    6 e# {4 L/ k2 @' r
  1323. ; many statements to cache. Using 0 disables statement caching.
    8 R8 a: j" c' Q7 m3 d
  1324. ; http://php.net/oci8.statement-cache-size- N2 }0 p3 _, R/ I- `
  1325. ;oci8.statement_cache_size = 20+ N9 g  M4 s7 j9 V
  1326. / J2 v; N* f1 ^- V# E! E
  1327. ; Tuning: Enables statement prefetching and sets the default number of& s8 c3 a$ Q: Q" Q
  1328. ; rows that will be fetched automatically after statement execution.2 A" C) H) O6 m# C7 m+ i
  1329. ; http://php.net/oci8.default-prefetch
    4 T( Z" S/ m# j! `
  1330. ;oci8.default_prefetch = 100
    * z1 u' T& f9 o( O

  1331. ( v; L7 L5 T$ P5 P4 L: ~) s8 l# F
  1332. ; Compatibility. Using On means oci_close() will not close
    $ P! I5 _/ I- L4 q+ T0 C
  1333. ; oci_connect() and oci_new_connect() connections.: ?+ T9 M# M( |0 [
  1334. ; http://php.net/oci8.old-oci-close-semantics: y6 o0 r# x9 p  F, M9 v0 Y5 `
  1335. ;oci8.old_oci_close_semantics = Off
    ) i( a3 X: N7 w% M' n, K8 `5 }

  1336. . a5 k: I- m/ V% M7 z0 @
  1337. [PostgreSQL]: [( F: A" y9 o, d9 a
  1338. ; Allow or prevent persistent links., g4 {& ]/ K$ X0 J" i
  1339. ; http://php.net/pgsql.allow-persistent$ M. d& i( Y  s4 v0 L8 ?* d( ~
  1340. pgsql.allow_persistent = On
    5 G$ J1 B4 q1 m& b  b

  1341. % S3 r# t4 Q5 P4 A5 M: `
  1342. ; Detect broken persistent links always with pg_pconnect().
    * n. b7 d7 q, {8 v5 O
  1343. ; Auto reset feature requires a little overheads.
    - i0 n+ c- S' G4 Q
  1344. ; http://php.net/pgsql.auto-reset-persistent
    ) P% O8 j, K" s* }9 W
  1345. pgsql.auto_reset_persistent = Off
      [3 b. e. A8 o2 X

  1346. 8 H6 L# p( i7 c( G8 a, K" ~* y5 H
  1347. ; Maximum number of persistent links.  -1 means no limit.
    3 I! Q5 i( Z2 ^6 D5 U8 R
  1348. ; http://php.net/pgsql.max-persistent6 M: l: Y* I7 L. S: @
  1349. pgsql.max_persistent = -1. h$ i& ?4 h" Z  b+ @; L# T$ Q

  1350. 2 N. I) W  n$ v9 d
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.) p; `- ~" }& e, {- l% q
  1352. ; http://php.net/pgsql.max-links
    ( k5 w$ h) _: M. i5 W1 q
  1353. pgsql.max_links = -1
    ' ^" a. S# P+ @' c+ w2 Q
  1354. # X# @1 c- v5 o+ N. y* O1 Z3 ~/ P% m( Y
  1355. ; Ignore PostgreSQL backends Notice message or not.& n+ e2 K5 C- d' z4 A
  1356. ; Notice message logging require a little overheads.0 {) B, H6 A7 P4 o( y1 }
  1357. ; http://php.net/pgsql.ignore-notice
    # M5 h( s7 M* O, H( Q
  1358. pgsql.ignore_notice = 0
    3 Z+ C, G% n- `

  1359. - [) D8 H4 @( O- e' w$ l7 u
  1360. ; Log PostgreSQL backends Notice message or not.
    , F9 b2 I7 [' G
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    ) n$ I. A; x3 q1 a2 w% M
  1362. ; http://php.net/pgsql.log-notice
    7 X! B4 ?+ Q2 I7 |. R4 R. V
  1363. pgsql.log_notice = 0% C: g- H9 W9 m* F0 B- p+ }. {
  1364. 3 a3 g% S/ m# k; V
  1365. [Sybase-CT]2 |6 Y  j9 Z6 V, y) T" N- S) h' B
  1366. ; Allow or prevent persistent links.
    % L8 A/ Q& t% F0 K; ]4 y; ~- Z
  1367. ; http://php.net/sybct.allow-persistent
    2 r$ H$ h; N6 L
  1368. sybct.allow_persistent = On" [# R6 K8 W. ]. q

  1369. ) e: o" u- u/ J: w' ]4 r$ f
  1370. ; Maximum number of persistent links.  -1 means no limit.
    ' m% D# v2 {& y2 J+ ^+ D
  1371. ; http://php.net/sybct.max-persistent8 j# x1 x/ I+ m* J: x
  1372. sybct.max_persistent = -1
    6 P% S; W1 C8 i/ q! F
  1373. ! E! n! @: s8 H1 l: \7 W
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    $ l0 B8 [3 a1 _" N3 q7 a3 ~
  1375. ; http://php.net/sybct.max-links
    1 e# g( q4 S6 r' V
  1376. sybct.max_links = -19 _8 E1 q  D1 C
  1377. ( N4 V% U$ d- s9 p* u
  1378. ; Minimum server message severity to display.5 U  w( U$ o4 _5 X6 d. s
  1379. ; http://php.net/sybct.min-server-severity
    ( c* `3 i, n: i6 j
  1380. sybct.min_server_severity = 10
    " T( C: I) r5 |: z8 @% O
  1381. 1 q0 n! ?5 Z3 [  H- }
  1382. ; Minimum client message severity to display." r) m8 o9 Q9 Y! q; w, O' c! d
  1383. ; http://php.net/sybct.min-client-severity, u6 e$ F  w$ {, l3 Y! e4 m
  1384. sybct.min_client_severity = 100 u& O9 o. ]  w& L8 K

  1385. 0 Z( W- @1 `! K: u! v$ j  O$ U3 X$ `
  1386. ; Set per-context timeout
    . \8 j6 _0 I# g+ k# b
  1387. ; http://php.net/sybct.timeout
    6 H" E/ |. i' D) ?* K6 f
  1388. ;sybct.timeout=
    ! {: H( t3 n5 F

  1389. 1 f7 [+ n; C( V9 J5 {6 H
  1390. ;sybct.packet_size% U" m- ^3 K* A* r* @* w2 J

  1391. ! _. x  Z0 r0 E- ^' @
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.( d- S/ W8 I" f: y
  1393. ; Default: one minute  v5 m, @& ?4 x- Z7 H7 t! |
  1394. ;sybct.login_timeout=
    ; m, e" {# z6 e5 n3 \4 D
  1395. . _+ C' {7 Y( g  G8 n( H3 T
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.; I% R2 h4 ~) Y
  1397. ; Default: none: D& `9 `& z3 {& _# v& e0 p3 m
  1398. ;sybct.hostname=
    + M7 H2 m1 w) H  E5 c
  1399. * U9 Z: P% k- v% ~2 Q. h8 G
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    8 }5 h. P9 D4 v
  1401. ; Default: 0
    5 U2 k# X! m; G! W3 ^
  1402. ;sybct.deadlock_retry_count=! a  b. a2 a1 T: I4 p
  1403. ; v; @9 J+ [8 u+ W* o
  1404. [bcmath]
    % v' K3 T/ [, M% K. ^! n
  1405. ; Number of decimal digits for all bcmath functions.4 h4 F4 H. G9 `( O( ]9 [; M
  1406. ; http://php.net/bcmath.scale" P' f; Q% |0 H* f
  1407. bcmath.scale = 0
    % g+ q% p" r, u/ O) v/ M; ]

  1408. " x" D) K7 W3 ?8 g* N% d
  1409. [browscap]
    % f6 \9 j/ [5 n. L: n' d
  1410. ; http://php.net/browscap
    1 g9 p" p8 d) i, @7 T# e4 s
  1411. ;browscap = extra/browscap.ini/ n/ {* s8 _9 R
  1412. # V* ^) S4 H& h8 W
  1413. [Session]( @1 Q) Y/ R/ K
  1414. ; Handler used to store/retrieve data.
    % i  R1 f1 x* A& _
  1415. ; http://php.net/session.save-handler
      q4 z; m5 D! I: A! {
  1416. session.save_handler = files
      u* I' p, B0 o4 N4 b

  1417. 6 u# B2 U9 {: ]& j
  1418. ; Argument passed to save_handler.  In the case of files, this is the path8 e5 L& ~0 C8 U; c' H
  1419. ; where data files are stored. Note: Windows users have to change this8 z7 j8 ?3 o% z
  1420. ; variable in order to use PHP's session functions.9 D' g  i& z0 x4 q3 c3 `  E$ P
  1421. ;
    2 n  b+ d; A  G7 w* N! E
  1422. ; The path can be defined as:
    7 F/ Y8 Z) {- L8 g' c
  1423. ;
    8 w3 ^* q5 x( X4 S0 c- d
  1424. ;     session.save_path = "N;/path"
    1 J2 k/ N) J: P7 X
  1425. ;
    , _1 v8 ~& ?( D$ L9 b; ]2 s; g6 g% L
  1426. ; where N is an integer.  Instead of storing all the session files in' u- X* [  w- z  q# H
  1427. ; /path, what this will do is use subdirectories N-levels deep, and, A% V' n- F& O& b: A. Q' u- C
  1428. ; store the session data in those directories.  This is useful if# l# u& H- z" v- _
  1429. ; your OS has problems with many files in one directory, and is
    ' [6 ?' K/ u5 R. S& M. c0 Z" M
  1430. ; a more efficient layout for servers that handle many sessions.2 l2 }/ r9 q8 b* T
  1431. ;& ?$ o6 G# T  q! b9 {
  1432. ; NOTE 1: PHP will not create this directory structure automatically.' O0 [; x2 R! e% @9 z
  1433. ;         You can use the script in the ext/session dir for that purpose.
    1 B3 A0 u) E! Q4 Q" t1 o
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    * i; B! H/ C. `  _6 k
  1435. ;         use subdirectories for session storage& W9 _' \) g, L: _% D: B7 F& D
  1436. ;) Q4 y' l* x( V* g9 W  z6 \
  1437. ; The file storage module creates files using mode 600 by default., |+ Q: R- g: Y% `0 Q
  1438. ; You can change that by using: w; _, M$ ]2 v* {! U( i* }
  1439. ;
    2 R& t" o, o0 _# n9 I0 S6 K
  1440. ;     session.save_path = "N;MODE;/path"
    2 E! w" b- w4 |( Q
  1441. ;
    7 ?' s: p9 f! u
  1442. ; where MODE is the octal representation of the mode. Note that this1 E: f- i- c; g. f, X7 i/ e3 r
  1443. ; does not overwrite the process's umask.
    * A( c/ z  c8 c. w2 `/ y  w
  1444. ; http://php.net/session.save-path% j* `) m+ Y  ]8 J
  1445. ;session.save_path = "/tmp", N' [' Q/ t! D' ?6 X$ g* [! r# ?
  1446. , j' X* l) H( T- W2 v
  1447. ; Whether to use strict session mode.) ?7 v" B0 |7 {1 @
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate- P2 o9 E8 p0 v- ^7 H: F( t' Z2 a
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects0 I  m9 k8 n; X% X0 l/ h
  1450. ; applications from session fixation via session adoption vulnerability. It is- g0 b# L7 z1 z/ K( z! m9 q
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged./ e  F7 J. o  l
  1452. ; https://wiki.php.net/rfc/strict_sessions) s1 r( E" p5 s3 x9 [
  1453. session.use_strict_mode = 0
    & C3 |$ \! E8 p. t7 y$ N

  1454. 3 M8 s# O( s0 X( R+ M
  1455. ; Whether to use cookies.
    # d! E- R1 F  ]4 P% f/ X3 }
  1456. ; http://php.net/session.use-cookies, l/ D' Q5 |' e
  1457. session.use_cookies = 1
    + B/ M- M$ l# ?: q

  1458. 5 L( E' q5 x+ y# h
  1459. ; http://php.net/session.cookie-secure# Z1 m8 Z5 a7 `/ e! W3 {# h. W3 p
  1460. ;session.cookie_secure =
      r$ a/ d' j  u" F9 C
  1461. ) N( w6 Z! O5 {6 @8 H3 O( P, V
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    3 ~" o9 d5 [8 O' G
  1463. ; the session id. We encourage this operation as it's very helpful in combating9 @7 b: D) b8 R+ W8 A- F" _( t
  1464. ; session hijacking when not specifying and managing your own session id. It is& S2 d' j" I: t
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.6 ~. i9 S& o" J' H, ~" J3 L
  1466. ; http://php.net/session.use-only-cookies# K5 K' J+ l1 h
  1467. session.use_only_cookies = 1
    , f( M( ~7 @$ f: \# r7 S/ m

  1468. $ r3 H7 U% e! d: v
  1469. ; Name of the session (used as cookie name).7 t. B' l$ D6 C$ c: ?( E* J
  1470. ; http://php.net/session.name+ u; l  Z9 G3 L( l
  1471. session.name = PHPSESSID2 O; N9 V1 G7 T5 B
  1472. 2 x/ L3 B. K8 U. U( c
  1473. ; Initialize session on request startup.
    9 Y, ?' Y* p& W& }% p* B
  1474. ; http://php.net/session.auto-start
    5 P) V# r2 u: \: i' L3 Q3 {2 @
  1475. session.auto_start = 0
    - p# M  O6 Q2 w$ A8 Y  Q9 s% F
  1476. , s' k( i- u. H$ d
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted." F, e, p5 r2 G  I6 o9 {
  1478. ; http://php.net/session.cookie-lifetime4 t* t0 W# N$ W: P  U7 z
  1479. session.cookie_lifetime = 0  S' @, i2 s  n5 g7 |  Q0 o
  1480. " }  H  ^9 T, n" I
  1481. ; The path for which the cookie is valid.
    / X) p3 z$ Q# s2 V9 v: u
  1482. ; http://php.net/session.cookie-path
    " R) U3 P. O& j
  1483. session.cookie_path = /
    : I3 J1 [) X. P6 A

  1484. 5 B* S9 v; u/ Z
  1485. ; The domain for which the cookie is valid.  t) K/ j$ X5 S; @5 d* A* Y: X4 O
  1486. ; http://php.net/session.cookie-domain- ~' @0 L3 N( p% M0 B. C$ @8 k8 m
  1487. session.cookie_domain =4 h7 |1 {' ^4 \& z* \# g
  1488. 1 t; t6 c& h* ^% m* T
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.; A! h% [6 I. ?: h+ U& j8 w8 ~$ Q  X
  1490. ; http://php.net/session.cookie-httponly
    0 J1 S+ `4 z% u& p3 h& Z8 u8 S
  1491. session.cookie_httponly =/ g9 ^" j$ f3 h8 y+ \9 f

  1492. % F: L2 E1 g" `6 ], x' {1 N( ~/ {
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    # Y2 R' A# N3 P2 E0 Z, p
  1494. ; http://php.net/session.serialize-handler
    ( z2 e+ q* z! S
  1495. session.serialize_handler = php
    2 x8 u# q# e5 X- ^6 C
  1496. : k. {6 ?3 u9 W' P
  1497. ; Defines the probability that the 'garbage collection' process is started
    * g& N5 \1 k2 g9 V
  1498. ; on every session initialization. The probability is calculated by using7 s0 {% q: R% d/ |$ u3 S4 l
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator  P* U5 C, e) F* }
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1+ j+ Q. D! _7 k! G( Q4 P
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    3 K# l8 ^; g$ P0 {1 _0 U8 \: f
  1502. ; the gc will run on any give request./ Y( X5 F* i! K  P' B8 T
  1503. ; Default Value: 1
    ! T6 N) D4 G1 G5 Q  N; j
  1504. ; Development Value: 1
    6 k+ M- @7 F% C! p- C+ N$ F4 M2 E# E
  1505. ; Production Value: 1/ w) ~8 L% y6 p9 r6 ~  p& @+ K2 B: ]
  1506. ; http://php.net/session.gc-probability
    : f7 [* t/ ]8 A1 T. c  k: c+ F( R! q" l
  1507. session.gc_probability = 1# }; U* ]% |, R- m6 Q* ?

  1508. / o; t; K- o- Q! v+ m, Y
  1509. ; Defines the probability that the 'garbage collection' process is started on every$ |8 N3 }7 g8 y
  1510. ; session initialization. The probability is calculated by using the following equation:) r5 L6 }( ~5 g& \2 V' G* |
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and3 v( U  v4 y$ t7 C
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    + b: i( Z9 S3 ?! }5 d/ k
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    6 k* j( I4 W: n, Y6 q
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you% u- U7 h; A* v. b, C! a
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,6 B! p* K: n& @8 ~
  1516. ; this is a more efficient approach.! @8 R5 i5 e6 w+ U* V. l6 R6 b6 R
  1517. ; Default Value: 1004 j- C3 r- Y. p" X
  1518. ; Development Value: 1000
    ! z- A* N6 W6 A- F5 a& X
  1519. ; Production Value: 1000
    7 m. S2 p! [" {9 c6 G" x
  1520. ; http://php.net/session.gc-divisor
    7 J( v1 p$ }5 w% P. {
  1521. session.gc_divisor = 1000
    $ i- `( j. }. y2 V

  1522. ! `& _! A7 J6 t
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    6 @0 x; X+ \! l( X4 u
  1524. ; cleaned up by the garbage collection process.6 G$ Z: M8 k+ N7 l( j
  1525. ; http://php.net/session.gc-maxlifetime
    9 V1 ]+ i& F7 x2 ~; P( h" q8 R
  1526. session.gc_maxlifetime = 14402 r  E0 t) Q# c* Y
  1527. 4 P7 F' l& p6 }- R7 v
  1528. ; NOTE: If you are using the subdirectory option for storing session files0 l/ c& a8 ^; ?# j
  1529. ;       (see session.save_path above), then garbage collection does *not*
    - z; y' S3 w( {/ E
  1530. ;       happen automatically.  You will need to do your own garbage
    $ O% T" u' T. s- G
  1531. ;       collection through a shell script, cron entry, or some other method./ U" l, o. w* l8 [4 W
  1532. ;       For example, the following script would is the equivalent of
    0 x% s3 k* E  i3 B+ G3 T9 J; J
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    . ?! ]! t$ b" x7 Y
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm# }* }! @6 s3 f$ }. S

  1535. 0 b; S$ I" g& j
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    ( R" g0 v* {6 n( v! A
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    1 O# F( s2 E' f* c( S
  1538. ; considered as valid.3 {& i- b/ i/ S9 j& s8 L% V( Z
  1539. ; http://php.net/session.referer-check* z% \4 @9 p, I) A( B
  1540. session.referer_check =% `, x& m1 w% k0 G/ ]
  1541. / `& K1 L" \4 t3 s3 Y. s
  1542. ; How many bytes to read from the file.
    ( u6 @! }" U* c$ E/ A
  1543. ; http://php.net/session.entropy-length! Y! @& W7 y: @! k; ^2 \
  1544. ;session.entropy_length = 32) |* J0 T" Q7 L( [2 C# U

  1545. # Q+ L" W+ X+ i. s2 k
  1546. ; Specified here to create the session id.
    ) x( B  [- R0 t- u7 f# d8 V
  1547. ; http://php.net/session.entropy-file
    ; H, b. m) K4 Z: C; |
  1548. ; Defaults to /dev/urandom
    " y% v3 G  U7 f  |5 u& s% m: B
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom/ V$ m1 X5 S7 {: i( ?
  1550. ; If neither are found at compile time, the default is no entropy file.
    ; M! |/ C  V9 N/ a  t% \& m* v
  1551. ; On windows, setting the entropy_length setting will activate the
    7 a1 L, i# L* u, q
  1552. ; Windows random source (using the CryptoAPI)
    4 S; J+ s$ m+ `8 O6 L+ K
  1553. ;session.entropy_file = /dev/urandom% P$ w$ W4 U/ U- v3 k7 ?4 C
  1554. 6 E' R8 {& w! P( k$ ?" r
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects" R' v+ D8 u$ G5 e3 B, c; v
  1556. ; or leave this empty to avoid sending anti-caching headers.; m( `7 N. P& f* o7 i
  1557. ; http://php.net/session.cache-limiter
      R0 b& V$ v/ V" y+ j' ^" r" D/ p% a
  1558. session.cache_limiter = nocache
    . D. \  _6 P# S) F  u  g
  1559.   L2 s4 y# x+ |
  1560. ; Document expires after n minutes.
    ( O7 {/ Q6 j' `/ e5 G
  1561. ; http://php.net/session.cache-expire
    3 u0 C9 w  R* [& B6 r
  1562. session.cache_expire = 180
    8 [( ^# O: ?/ h% z- M1 \* p
  1563. 7 n6 D4 G' a+ `# x8 P. P. u* B
  1564. ; trans sid support is disabled by default.
    ; t/ C' o' L8 K  C$ H, R% Z8 i
  1565. ; Use of trans sid may risk your users' security./ J- _! I; A* ?6 }) J; ]" R9 N& q
  1566. ; Use this option with caution.8 d0 g2 T4 D" v* }  z
  1567. ; - User may send URL contains active session ID; e4 {+ f0 e1 S6 a* `; S6 C
  1568. ;   to other person via. email/irc/etc.
    ) A7 X5 A; T' {4 X" v3 i/ S: o" I: w
  1569. ; - URL that contains active session ID may be stored
    9 k# V; V' a& t
  1570. ;   in publicly accessible computer.
    , L- {- G; v7 D% Z6 O: [7 c
  1571. ; - User may access your site with the same session ID* T  s- }7 X/ J9 z
  1572. ;   always using URL stored in browser's history or bookmarks.
    4 Y; ?, U1 e: f4 G8 H
  1573. ; http://php.net/session.use-trans-sid6 r1 {# B: c( k" |9 S( t
  1574. session.use_trans_sid = 02 W6 e$ W9 e7 {( Q8 B" X
  1575. 4 |" V) z' w' ^6 _
  1576. ; Select a hash function for use in generating session ids.
    , y6 ^1 h) ^, D- C. x0 _2 j
  1577. ; Possible Values
    6 `; x+ v2 E7 X6 K- l
  1578. ;   0  (MD5 128 bits)
    % v0 O3 ^. F4 M
  1579. ;   1  (SHA-1 160 bits)
    , @$ p4 Y# N% m% |
  1580. ; This option may also be set to the name of any hash function supported by4 D0 G6 p' {# b3 F0 t# Q
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos(). l) s' Y' a& W4 c$ F1 h# j* R* W+ C
  1582. ; function.
    3 ~3 f2 |+ R1 t: X# C- @
  1583. ; http://php.net/session.hash-function4 |/ R; y, e0 R" A
  1584. session.hash_function = 00 W0 s2 w5 N! B
  1585. . K2 t" \/ j. f$ u
  1586. ; Define how many bits are stored in each character when converting
    & \* ^# n& _+ f
  1587. ; the binary hash data to something readable.
    : q% A1 v5 @! P0 R$ W/ t' z& V
  1588. ; Possible values:
    & K' h  n$ n. v6 W" k
  1589. ;   4  (4 bits: 0-9, a-f)
    1 Z( x% [% U8 J; t4 A  G, V  M
  1590. ;   5  (5 bits: 0-9, a-v)
    & a5 Y# t, c* C$ ^2 k* l
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    ; _. g9 i7 o; _  x( B
  1592. ; Default Value: 4/ u0 b2 }; O4 a6 K7 S( M: G0 Z
  1593. ; Development Value: 59 `6 e/ [- ]; i5 R/ x. A2 n
  1594. ; Production Value: 5
    9 b) G* G! Q, t6 P) _# Y" R+ U( y0 K
  1595. ; http://php.net/session.hash-bits-per-character
    6 u' U3 M3 a+ \& Q
  1596. session.hash_bits_per_character = 5. {# b8 M4 l& E  F

  1597. 0 Y2 H8 x! [5 _1 R* J4 [  R
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    % [; K; k/ W4 f' [
  1599. ; form/fieldset are special; if you include them here, the rewriter will% o4 d& M- J1 O  a9 z) x
  1600. ; add a hidden <input> field with the info which is otherwise appended% \* N' r' o/ ?5 p
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    / P& Q8 v8 U. b0 _+ |( x% G" Q
  1602. ; Note that all valid entries require a "=", even if no value follows.
    ' ~9 b3 j7 ]8 q+ b& `: X  z
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    2 {6 D$ O9 k- V' j- f6 r  h7 A
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    + S8 \9 F  [1 _/ p: f
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    $ M' @5 O8 r2 i  T; u6 k
  1606. ; http://php.net/url-rewriter.tags7 K* `# c% g' F* S% v) x( L
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"1 T" G9 q) f( p% d# y6 w; R% @
  1608. 8 L0 t) D& n, N% [+ E% x" `$ I9 [3 d
  1609. ; Enable upload progress tracking in $_SESSION
    ' o& B& Q- V8 H' d; [1 d, Q
  1610. ; Default Value: On
    9 H' f! i* E" _  i& \6 p
  1611. ; Development Value: On
    - t( z8 x% b0 W9 `" m
  1612. ; Production Value: On
    3 K6 `7 n/ t) Q2 v
  1613. ; http://php.net/session.upload-progress.enabled
    5 H" ^/ U; J0 a6 [- u4 l7 c% y
  1614. ;session.upload_progress.enabled = On4 b  w, _1 a& Y1 X: _
  1615. & H5 R) S7 R7 m5 z9 ^6 f. J
  1616. ; Cleanup the progress information as soon as all POST data has been read
    8 P7 _( B% \% e- k8 l
  1617. ; (i.e. upload completed).
    4 t' z& m) m! l, x2 R) [3 X
  1618. ; Default Value: On3 S& m* G4 j  }# p% {9 d, M
  1619. ; Development Value: On
    # [  @' K$ a% d( s  `/ F
  1620. ; Production Value: On6 J0 _- Q6 X) |0 Q
  1621. ; http://php.net/session.upload-progress.cleanup. q8 P$ h7 x3 K9 i, c
  1622. ;session.upload_progress.cleanup = On5 l* v7 D. x* J# u- ~# `) B
  1623. . K3 S4 n6 m% ]) N: p5 I. g2 J
  1624. ; A prefix used for the upload progress key in $_SESSION$ T8 d  Z/ f- ~/ S9 h) c% s, E
  1625. ; Default Value: "upload_progress_", G( E1 Z9 u5 |( ~7 G2 I/ `# M$ D% y! m, R" F
  1626. ; Development Value: "upload_progress_"
    / q3 H, [& F4 C+ L: Y
  1627. ; Production Value: "upload_progress_"
    / {2 J. i" h" B' O$ O; [0 H
  1628. ; http://php.net/session.upload-progress.prefix
    6 |; P0 {. X. ]4 J6 z7 [* o. i8 Y  g
  1629. ;session.upload_progress.prefix = "upload_progress_"0 w- ^9 N- z) S/ F

  1630. + t8 F$ I) Q  h. }0 T" X9 i* u5 q; p
  1631. ; The index name (concatenated with the prefix) in $_SESSION" o4 {: }( z7 p4 O( w, ]4 r
  1632. ; containing the upload progress information
    0 M* W( I, N& h" g9 H9 y( ^0 L
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ' `- B& C7 C( c9 `9 {! t
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    # X$ N+ m- N. d0 o2 E' k) A( m
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    / R( P. c; f+ }4 F" @
  1636. ; http://php.net/session.upload-progress.name/ U& R' W/ H. \
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    : \  A- o0 u7 J; U# h6 X

  1638. , u8 Z3 c8 \, c
  1639. ; How frequently the upload progress should be updated.
    9 t) U% A& |$ ?- e6 ^+ Y0 o+ E
  1640. ; Given either in percentages (per-file), or in bytes+ [8 _# F: S/ k& [+ g
  1641. ; Default Value: "1%"
    " l. ?2 K  {2 |3 z. O' `
  1642. ; Development Value: "1%"+ j5 T+ s7 I- h; B, E
  1643. ; Production Value: "1%"
    ) Z4 [1 i! z$ [9 _/ d3 j! a2 p
  1644. ; http://php.net/session.upload-progress.freq
    + Q" H# G- u' ^% d# n/ K8 @& C
  1645. ;session.upload_progress.freq =  "1%"# c; H7 w- x* T4 v

  1646. 9 `, L* Q" T& K3 z1 _% x& M# K
  1647. ; The minimum delay between updates, in seconds2 d% z# ?& w' j8 q, G/ C
  1648. ; Default Value: 1
    9 a( I6 W- v& n8 S
  1649. ; Development Value: 1
    3 ?/ K" g1 b  n* R* m( i; q
  1650. ; Production Value: 1/ n+ l9 W0 T! N2 K7 P& ?/ g% W8 s0 m
  1651. ; http://php.net/session.upload-progress.min-freq5 G+ B2 m7 C9 j0 N
  1652. ;session.upload_progress.min_freq = "1"! x2 d3 E4 T' Q; f7 `
  1653. $ r& \9 H# C  A) `# T$ F. N
  1654. [MSSQL]
    ) \1 h( u' s& n7 w: T! o; u
  1655. ; Allow or prevent persistent links./ E0 E( q! ^& J- a2 d+ m
  1656. mssql.allow_persistent = On
    9 ]# b1 D  T2 k5 j* y$ K5 S

  1657. ( i9 M- J5 B/ E& ]' L2 s
  1658. ; Maximum number of persistent links.  -1 means no limit.9 n, F1 C% N: T% F* j. m# y
  1659. mssql.max_persistent = -12 J! a7 ^9 U1 O6 Y& ^2 [

  1660. / @& E1 x+ D0 E* W' }4 w3 q
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.0 r: a1 a0 q' G$ j1 x
  1662. mssql.max_links = -1
    3 r2 e2 @( }2 p* b$ D: s. s/ r& E% H+ c
  1663. ; M1 G9 ]9 O" E! H6 X3 l
  1664. ; Minimum error severity to display.
    + R* X8 j7 F2 v' {' p
  1665. mssql.min_error_severity = 10
    1 ?7 H& ~: L0 J* ^

  1666. 7 |/ G3 a0 R3 V8 ^8 I
  1667. ; Minimum message severity to display.
    4 k$ x% ~5 P0 z4 z" z% y
  1668. mssql.min_message_severity = 10& G% }# j3 q- i: z6 Q9 S( @. c
  1669. ) T: u5 ^: G! m! R; \" _" y1 @8 F
  1670. ; Compatibility mode with old versions of PHP 3.0." ]" y( }6 ~5 c' Y5 `
  1671. mssql.compatibility_mode = Off& Q- y6 N! a) M9 y

  1672. ' |: X: e( w, F7 o' M
  1673. ; Connect timeout, M$ Q! U: j5 ~& |" v. E
  1674. ;mssql.connect_timeout = 5
    % ~3 X8 j) v$ k; _& x! z& ^

  1675. , ^& P5 j# P; b, k
  1676. ; Query timeout
    & \' e" r( C. p4 y; R% H
  1677. ;mssql.timeout = 60  l- f6 D& m) O

  1678. ) w3 Q$ J7 F# y  S" t6 a
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
      S1 e( _) p+ ?8 D4 D( S6 @
  1680. ;mssql.textlimit = 40968 }% L4 M) u* W# P0 T
  1681. ' J' ~* }9 ^! h- Z- G1 n4 @/ R
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    3 G! C7 z- V+ C! s
  1683. ;mssql.textsize = 4096
    " p, w; M* W  E: k# r
  1684. 6 j2 |0 _6 Z$ _8 m4 H$ R- s9 F+ n& E
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    8 y6 H/ k# ]; H+ B' x2 z
  1686. ;mssql.batchsize = 0
    7 [3 [( i9 @% _7 h2 d8 f0 v0 n9 g

  1687. ) p" v8 W4 v9 i6 m- N
  1688. ; Specify how datetime and datetim4 columns are returned6 h/ y- a5 Q- r' B
  1689. ; On => Returns data converted to SQL server settings
    , C) r8 n# G8 u
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss0 R/ h# d, e) \* S; h
  1691. ;mssql.datetimeconvert = On
    7 w" Q( U2 ?, E1 R" L1 i

  1692. % D- @0 e7 G) y8 d: X* k
  1693. ; Use NT authentication when connecting to the server0 S- R: U. m+ H4 C& R8 g/ _# i
  1694. mssql.secure_connection = Off6 W5 T: P% j5 e6 h4 \
  1695. + @( l! W6 x9 F; l( P/ O
  1696. ; Specify max number of processes. -1 = library default
    % D7 S( z1 N3 W' ~9 v; K
  1697. ; msdlib defaults to 25. F  x* C" _- C& X
  1698. ; FreeTDS defaults to 4096
    4 _& r3 I( Z8 o4 G% Y# P
  1699. ;mssql.max_procs = -1
    - z8 m- }& F9 Z4 Z
  1700. " Q2 p% y; k: p. N7 f' U/ y! j
  1701. ; Specify client character set.6 v8 @, I) }- N) T( X
  1702. ; If empty or not set the client charset from freetds.conf is used6 G3 Y8 }7 _4 B7 C% M& W! ]
  1703. ; This is only used when compiled with FreeTDS
    2 g) |3 {; S0 K& U7 B
  1704. ;mssql.charset = "ISO-8859-1"
    ) u# L* ~9 v) T& ]' v; r1 M; C: l

  1705. % r9 q9 Q" I( |7 r4 [
  1706. [Assertion]
    . J4 H7 y( b" x4 d: q7 z+ _
  1707. ; Assert(expr); active by default.
    4 }: z7 T. N& Z0 v2 k
  1708. ; http://php.net/assert.active
    7 I" W2 }4 x8 D1 Y1 {5 Y# M% A
  1709. ;assert.active = On% L0 I: Q; v& m: h4 n
  1710. 2 t. k4 a: B- ?# i/ ~; `! c
  1711. ; Issue a PHP warning for each failed assertion.9 R- V4 s% N7 t; ?% Q5 h8 g. b: \
  1712. ; http://php.net/assert.warning
    9 n$ F) Z$ ]+ O1 q5 ]/ g
  1713. ;assert.warning = On
    0 `1 [8 x8 m* h& Y% z

  1714. " f: D5 z: M/ s, N2 |4 a3 |/ B' {5 r
  1715. ; Don't bail out by default.
    ' ?6 W; r' z6 U
  1716. ; http://php.net/assert.bail2 ^0 v5 `7 \9 X* u3 m
  1717. ;assert.bail = Off
    2 O% e$ [1 f/ }( T
  1718. % p8 [, v3 E: |6 a6 G
  1719. ; User-function to be called if an assertion fails.) L: Z9 Z  l' U3 I9 u. x
  1720. ; http://php.net/assert.callback* E9 E3 i1 p/ v9 ~5 F  b9 i9 U
  1721. ;assert.callback = 0) B3 c& j* m# p0 X2 I

  1722. 6 h3 ^. _" k, L
  1723. ; Eval the expression with current error_reporting().  Set to true if you want9 {" j; i# L5 J0 w1 @2 c6 v& N
  1724. ; error_reporting(0) around the eval().
    / w- r# j) g& Y' t. K
  1725. ; http://php.net/assert.quiet-eval
    : o3 x" s! J0 H% l5 G
  1726. ;assert.quiet_eval = 06 g; z2 U# w. Z8 s4 L$ ^1 u

  1727. - ]; E3 s( q. v& h* t
  1728. [COM], [. \$ `; y; X: ]# |
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    & p# i3 `# Q4 K0 W1 E; v8 k
  1730. ; http://php.net/com.typelib-file3 d8 m/ h3 W/ c. H. e6 b
  1731. ;com.typelib_file =
    , j* K* T; [9 _6 w" z% G1 j
  1732. ( [- T, _4 x& Y/ m* T- r
  1733. ; allow Distributed-COM calls
    - s+ B' L) \+ `+ j3 o
  1734. ; http://php.net/com.allow-dcom9 A1 E5 Z0 K- `) @
  1735. ;com.allow_dcom = true
    : q) m( b/ F" m- }
  1736. - D' Z6 O! ^$ a/ ]5 X' r: i/ B2 R
  1737. ; autoregister constants of a components typlib on com_load()" @6 r7 Z/ Z9 l% a; o' N. m0 `
  1738. ; http://php.net/com.autoregister-typelib
    6 v6 @) m3 B& Z9 K' n/ m/ D/ b# N
  1739. ;com.autoregister_typelib = true& {# o1 ~3 E5 q, _# z- {
  1740. 2 w8 S: ?2 F4 H
  1741. ; register constants casesensitive
    3 P& d! ?5 Z5 {4 k4 |- v
  1742. ; http://php.net/com.autoregister-casesensitive5 c; M7 H* n8 ]1 b
  1743. ;com.autoregister_casesensitive = false
    % l6 x! S, G8 M$ ]
  1744. ; L8 F+ j( R0 \# A
  1745. ; show warnings on duplicate constant registrations
    8 L; E6 ^6 n: o; V
  1746. ; http://php.net/com.autoregister-verbose. `' G. V& j% \1 o) o% B: ^8 P2 ]
  1747. ;com.autoregister_verbose = true
    6 r) L! v# q" U
  1748. 2 f5 w! R' j. L/ Q1 _2 p* g; }2 M( q
  1749. ; The default character set code-page to use when passing strings to and from COM objects.* Y7 p! b; {6 i  }
  1750. ; Default: system ANSI code page
    5 Y- V/ y# I+ [
  1751. ;com.code_page=
    5 [5 K, S/ o! y& z# }- A3 \

  1752. 3 B$ @7 A! b8 l1 [, {
  1753. [mbstring]3 E9 a$ }6 D' R" E+ w* w0 E
  1754. ; language for internal character representation.8 b4 a, Q8 x/ r2 p) U
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
      D& r! d$ F& m
  1756. ; http://php.net/mbstring.language9 c/ V$ s- _% L( l7 I& ?
  1757. ;mbstring.language = Japanese
    - g2 S( [" t6 A/ T- q! z) X/ ]
  1758. 2 H7 K9 b0 J6 H7 Z0 r7 E
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    5 Y" S: t; E* B7 J
  1760. ; internal/script encoding.
    , Z2 S  q* X! r/ f7 ]4 \3 B
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    . _! H' _+ m* M  y" ]9 u
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    8 W3 |1 F9 l+ h* `
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding. T) s! _# H7 Y0 c! E0 r5 d/ q+ ~1 ^
  1764. ;mbstring.internal_encoding =
    - A6 }) s  d) w

  1765. . O" h; ]+ `# B
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    6 w8 _# q2 R9 A& K7 w( B6 c
  1767. ; http input encoding.  k9 J4 e8 b3 a4 M- h) ?9 `
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    , O3 c+ I9 `! a! O8 @0 i
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.) E4 n8 }0 y0 g& b# Z
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input5 v# C3 `% i; v! o
  1771. ; http://php.net/mbstring.http-input
    $ c, w' Z$ I5 b  g
  1772. ;mbstring.http_input =
    . f/ T3 d, T" Y/ H- ]/ z
  1773. 9 g2 V( b$ @0 j3 S9 U0 b; `& [
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.* q7 g2 Z( J* k' X6 i8 y1 K
  1775. ; http output encoding.
    7 p/ b8 x& g* z% P. Y* B8 I5 Z
  1776. ; mb_output_handler must be registered as output buffer to function.
    / |2 P) m0 j2 G: \
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    / H9 h9 v& I* z/ v
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output+ J8 S: H, j! R9 `5 z5 l( j
  1779. ; To use an output encoding conversion, mbstring's output handler must be set- k1 b& P) \2 y# {4 l
  1780. ; otherwise output encoding conversion cannot be performed.
    ! O. ^1 U3 r. k; B! s
  1781. ; http://php.net/mbstring.http-output6 H; |1 t+ p  d& z7 t. q  O6 b
  1782. ;mbstring.http_output =: |9 ]9 s1 o+ N% w, g& U4 X

  1783. " H6 ]  }* ]8 n, E8 D: b
  1784. ; enable automatic encoding translation according to
    : E# x# t4 F. t; E
  1785. ; mbstring.internal_encoding setting. Input chars are
    / E- s: U  B% D8 @9 L$ B9 D
  1786. ; converted to internal encoding by setting this to On.
    4 X5 R+ o: e5 N! {2 p! U
  1787. ; Note: Do _not_ use automatic encoding translation for
    2 H7 D  B8 S" U: c$ L' q3 e5 y9 v5 b
  1788. ;       portable libs/applications.
    : H3 w/ k5 B2 n0 Z
  1789. ; http://php.net/mbstring.encoding-translation" ?. A1 I, k9 ^" U5 P) S# J
  1790. ;mbstring.encoding_translation = Off
    5 F9 J& Z# C/ C( r( e. E; J& v

  1791. ( D/ R7 ^: }' E* t6 S
  1792. ; automatic encoding detection order.
    + Z; ?' w4 x/ ]$ p
  1793. ; "auto" detect order is changed according to mbstring.language
    ! _) ~# r# {/ h2 ?) l0 A) J8 A* b
  1794. ; http://php.net/mbstring.detect-order
    , ]3 X+ r6 j3 e$ K% Y' g* I. O
  1795. ;mbstring.detect_order = auto7 j% R+ e& q8 ]& S% W5 i7 t

  1796.   x& \" ^. a! G  ^# W1 `5 q2 E7 A- |
  1797. ; substitute_character used when character cannot be converted) o+ W  Z& V- r+ [' P
  1798. ; one from another
    * C4 Q- A8 z# D2 I- K# V3 e6 [" l
  1799. ; http://php.net/mbstring.substitute-character, v) t  t+ W% \( h
  1800. ;mbstring.substitute_character = none
    7 F- e9 X6 z# O% E$ w7 M2 ]

  1801. 5 |: K% m2 C& ^& b1 c
  1802. ; overload(replace) single byte functions by mbstring functions.
    / ]( t+ n: n% P% g0 }& ]" X2 F
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),/ N2 Y4 h. H" O- t5 j- k: ^
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    & f$ v3 O) S. g" G7 {7 x
  1805. ; For example, 7 for overload everything.6 u- y) |5 ]7 X# k) F" Z
  1806. ; 0: No overload
    ' U% w  L8 l& K. o3 `8 d/ {
  1807. ; 1: Overload mail() function
    # s" s5 P, F( [( t  q) E. y+ V
  1808. ; 2: Overload str*() functions
    ; {+ _" W# J- U
  1809. ; 4: Overload ereg*() functions- B2 R  a1 D2 S7 t
  1810. ; http://php.net/mbstring.func-overload
    ) B, f* L; t* R* T
  1811. ;mbstring.func_overload = 0
    ( ^5 K" R/ z$ @

  1812. ) J" E3 I6 ^' p! n) Q; T6 c
  1813. ; enable strict encoding detection./ p" ~0 Y8 x# a; j5 \  s" q
  1814. ; Default: Off
    # y. ~( r& p+ Y3 D# \9 q4 |/ ^6 {) D
  1815. ;mbstring.strict_detection = On
    4 f$ t* [3 e: q$ ^  k. F

  1816. 3 k" G, X- }& |6 X2 t
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    + T& n1 _+ p  E0 u  B* o
  1818. ; is activated.4 w0 r/ n7 H9 B3 l6 k! j4 ?
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)5 @% o2 W8 D. H
  1820. ;mbstring.http_output_conv_mimetype=
    . Z: Q' o: V0 D$ k$ Z
  1821. / W1 [+ R& a3 F" D: n2 E
  1822. [gd]
    0 R9 V+ w- s2 I, ^8 v& s1 Z
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    3 ~; _# j. C; O2 W+ j5 k+ `
  1824. ; a gd image. The warning will then be displayed as notices
    0 `  o: B( |8 }/ l) b9 e5 O; ~  V
  1825. ; disabled by default
    & W  _' [  ]: [! U! z+ ^
  1826. ; http://php.net/gd.jpeg-ignore-warning# M9 W2 T+ B# H# t$ H* R! X
  1827. ;gd.jpeg_ignore_warning = 0
      w0 E* {5 f9 o* V, b( c. B8 }

  1828. 5 H; b# ]& x7 G. o2 U
  1829. [exif]) s5 Y( J/ @" N/ v# Z1 u2 X
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    - b+ J5 }% F: g, L
  1831. ; With mbstring support this will automatically be converted into the encoding1 J# W, I& X4 v( B6 v1 B' D3 m
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding' \) c& |& ?; C: N: [" z5 A
  1833. ; is used. For the decode settings you can distinguish between motorola and
    7 A5 Z0 N! X, P  P
  1834. ; intel byte order. A decode setting cannot be empty.
    , _, u- `4 a0 G9 ^, Y
  1835. ; http://php.net/exif.encode-unicode
    # {$ [- q2 M5 Q! M$ @; Y- m
  1836. ;exif.encode_unicode = ISO-8859-15
    5 T$ H; Z) j5 U+ N5 ^/ {/ K' o! a- N$ z

  1837. $ a3 t2 c# V8 J; o; [9 K1 O) E
  1838. ; http://php.net/exif.decode-unicode-motorola
    * r* {- P. A3 v8 |4 V) c& u7 R
  1839. ;exif.decode_unicode_motorola = UCS-2BE, w  u5 h" G& c( m) d( _

  1840. 6 a$ m2 p' F4 C% J2 R
  1841. ; http://php.net/exif.decode-unicode-intel+ O2 q) b* {0 [* x2 j0 E
  1842. ;exif.decode_unicode_intel    = UCS-2LE! Y& x2 r. G) Z1 H, B" U% i0 A' z
  1843. ! T5 H- d/ M! U  U, M
  1844. ; http://php.net/exif.encode-jis
    / N% l8 [% L. @: G% I: k
  1845. ;exif.encode_jis =
    , q0 p: N& ^6 S) I
  1846. / u2 g  A: O5 z& N$ r8 o
  1847. ; http://php.net/exif.decode-jis-motorola
    - o( L  G7 N7 t/ z7 B0 V+ x
  1848. ;exif.decode_jis_motorola = JIS
    2 D" ~  i0 v1 P4 {% s* ~& |
  1849. ' U+ q5 V! l( u9 x/ h
  1850. ; http://php.net/exif.decode-jis-intel
    7 S1 ~- W  \% O: @& P9 \0 M3 R/ t& t
  1851. ;exif.decode_jis_intel    = JIS; l! I, T& T4 m" N
  1852. , e& E6 P  K4 d
  1853. [Tidy]. T2 I/ Q  R8 c, ~1 Y9 Z" @5 Y
  1854. ; The path to a default tidy configuration file to use when using tidy$ ^% |! M7 W9 z8 U
  1855. ; http://php.net/tidy.default-config- V+ J. n; [2 X  J+ @  u; e- ?
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg1 a  s( a6 T$ l2 r
  1857. 3 G" p. q9 V- ^' l
  1858. ; Should tidy clean and repair output automatically?5 o/ ~$ m/ ]# N8 @( h# g5 W' B8 k) ^
  1859. ; WARNING: Do not use this option if you are generating non-html content% _" m, B3 f/ {
  1860. ; such as dynamic images
    / l6 C" p2 O. x: t9 |! G: p
  1861. ; http://php.net/tidy.clean-output" p, v$ O: p$ l- t8 g
  1862. tidy.clean_output = Off
    + b1 h  z3 y& C7 h

  1863. * d. L4 L3 b3 N4 l. B4 j
  1864. [soap]
    8 f/ E: m( e) N8 p2 m' s
  1865. ; Enables or disables WSDL caching feature.' s: m' a7 a' X  r5 P+ V
  1866. ; http://php.net/soap.wsdl-cache-enabled' C; t; N5 e* m9 j4 P$ E2 }
  1867. soap.wsdl_cache_enabled=1* L' N% \5 u  g& a

  1868. ( U& C* g$ g6 k" e) B
  1869. ; Sets the directory name where SOAP extension will put cache files.
    7 z4 v. M% W7 v
  1870. ; http://php.net/soap.wsdl-cache-dir
    . L3 R# ~3 h5 I% O
  1871. soap.wsdl_cache_dir="/tmp"' y$ h, m! {! f+ e2 F$ _2 d; @- K3 i

  1872. - V1 l' }/ @: |! F( n9 z
  1873. ; (time to live) Sets the number of second while cached file will be used
    8 R3 f7 r- h( k% o* F
  1874. ; instead of original one.
    9 f% j5 @) E" U' M# j$ f. z
  1875. ; http://php.net/soap.wsdl-cache-ttl* _- n1 B1 H8 `: w
  1876. soap.wsdl_cache_ttl=864006 @! V  C  H4 N5 `  F! Q! ]

  1877. ) M( z+ G7 U& A+ a% n
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)) T& ?0 i  \& m9 a+ I( O
  1879. soap.wsdl_cache_limit = 5' p4 C, }0 S! J. z9 E7 ]

  1880. 3 G% f$ }8 T! T! g) \$ c: O7 ]
  1881. [sysvshm], w; n; d, ~( M& E4 f9 D
  1882. ; A default size of the shared memory segment
    , n. r( D4 y! `2 e% {+ c
  1883. ;sysvshm.init_mem = 10000
    9 _1 _1 i1 R* ]1 z  _  |2 x& R

  1884. & E. q) B9 X3 i& p9 Y' v9 z
  1885. [ldap]" c" R* ?# A" ~% p
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    ! t  I$ T4 c/ ^2 e( a
  1887. ldap.max_links = -1( [, p( f1 V; e8 k: c) c7 d9 s
  1888. 4 n4 u. E: r  U2 \' d2 U4 k8 w  l
  1889. [mcrypt]
    : R* y3 ]; {5 c' P! u# w3 _  `, L
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    3 y) h$ H& B- b( J  ~, T( |
  1891. # g! g9 T5 v3 v2 s& R  e8 p
  1892. ; Directory where to load mcrypt algorithms, f) o! L! L' ^; Q5 {
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)) p; X4 V6 ~( ^8 D! g4 V
  1894. ;mcrypt.algorithms_dir=) }+ }5 B" F$ K% r# m! I- g8 ~
  1895. 7 s# m4 v- }( D3 c8 k
  1896. ; Directory where to load mcrypt modes
    . C: s' V! Q4 P9 _, @) ^
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)7 s. ~* |. Y* A8 \! U9 L: S, M
  1898. ;mcrypt.modes_dir=+ C9 _" }) S& u2 T

  1899. 9 G  ^/ Y9 y- a( ~* c
  1900. [dba]: H/ D2 g$ {: t& d
  1901. ;dba.default_handler=) F7 y- _2 Q  v
  1902. ) C: M7 P) m; d- Q" `
  1903. [opcache]
    - x) Y% P. W3 V4 q; H% m% F* V( w7 |
  1904. ; Determines if Zend OPCache is enabled) B8 B) {" d8 `; u4 d: [  M# }
  1905. ;opcache.enable=0
    : ]* J8 R# x9 U. b
  1906. 6 T6 Y* |  N+ H- ^0 z* h7 e
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    ; z3 F+ K' R2 ^  R  ?% s
  1908. ;opcache.enable_cli=0
    9 k, w  o) q6 i! I7 @- D

  1909. ! _3 x: ?# @1 a/ x" X
  1910. ; The OPcache shared memory storage size.
    3 O" x/ r+ @( E$ M* J1 I# R
  1911. ;opcache.memory_consumption=64. a5 o' Q, A2 ~5 m1 ?- |

  1912. " K" `# x" S' o6 D
  1913. ; The amount of memory for interned strings in Mbytes./ A+ s7 v" L& N4 T
  1914. ;opcache.interned_strings_buffer=4
    3 @: v+ o6 `* F, F6 n

  1915. 5 R. q+ f# g7 h. n+ U( N
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    8 v/ C8 K+ ?7 g) |- J
  1917. ; Only numbers between 200 and 100000 are allowed.
    2 s7 X" F4 d0 m5 u
  1918. ;opcache.max_accelerated_files=2000) W; A6 Y1 n8 E" L
  1919. & M2 D0 o8 q$ y9 _* g! n
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.* R# y2 ?# f7 F' R% Q) K
  1921. ;opcache.max_wasted_percentage=59 U$ @# [0 G7 T, D  o2 ?

  1922. 0 D- u5 {+ M$ E& D
  1923. ; When this directive is enabled, the OPcache appends the current working
    1 ^8 C% b' d7 A0 g1 q) j6 t
  1924. ; directory to the script key, thus eliminating possible collisions between& n7 o9 y! N; a9 u+ d2 z5 m- [# |
  1925. ; files with the same name (basename). Disabling the directive improves
    0 [" l; w0 \% D+ _
  1926. ; performance, but may break existing applications.0 G; j) \5 z7 a5 S. T  ?/ f
  1927. ;opcache.use_cwd=1
    / d9 w2 Y7 o1 Z8 P7 E" k2 A

  1928. 5 g* H0 s4 @1 ]3 d; d3 W  i) f
  1929. ; When disabled, you must reset the OPcache manually or restart the4 P+ r1 F( w% \+ |; ~- e) g
  1930. ; webserver for changes to the filesystem to take effect.
    " n/ h/ G) g" H" v
  1931. ;opcache.validate_timestamps=1
    ( X. ?, @8 M5 {4 L7 j" t
  1932. ) x5 C5 e- Z$ C) c# M4 y
  1933. ; How often (in seconds) to check file timestamps for changes to the shared9 ]6 M0 z$ x# W- `  O& {+ q  N
  1934. ; memory storage allocation. ("1" means validate once per second, but only2 h. x+ {* P8 w
  1935. ; once per request. "0" means always validate)
    ! p. ~' K) [/ X/ |  V& K
  1936. ;opcache.revalidate_freq=2+ W- z3 Y: V3 v5 w2 p  k+ r

  1937. 8 ^3 i) @3 X' E% I) v# Y
  1938. ; Enables or disables file search in include_path optimization
    * E, K0 D3 N0 x4 j* |/ A
  1939. ;opcache.revalidate_path=0
    0 T: r6 p9 B' _

  1940. - `  S! E/ u, Z+ G# J
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the* l6 |! o6 I6 Z9 I8 a
  1942. ; size of the optimized code.
    ( ?$ i1 x" Q! b. q0 |* e8 s
  1943. ;opcache.save_comments=11 }0 h3 i0 `  ^- c( u

  1944. 2 C) ?( t9 X+ I) ^1 L" U
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    0 m' q5 p& J* V* K- l
  1946. ; may be always stored (save_comments=1), but not loaded by applications" }0 x. u: G5 e3 ^0 v; e3 C
  1947. ; that don't need them anyway.
    # z' W$ [  h! B) d; B
  1948. ;opcache.load_comments=1& t+ ~/ |4 @, a! E
  1949. 1 E, @+ w6 B( {4 w/ I% r
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    : f0 a+ ^- Q; `1 ?0 u% t
  1951. ;opcache.fast_shutdown=0
    ! A9 L% x& k: _5 d
  1952. 7 k- m( l0 g3 O  Q7 q4 V$ J8 W
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    9 |% V( ?" l6 N: P) [
  1954. ;opcache.enable_file_override=0' `" }1 m- q/ B; V) V  `

  1955. % m4 |6 h1 S: R! z
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    # a/ d% t& c8 m5 s0 }9 P" m
  1957. ; passes
    " q. x' R* W) k- K6 m
  1958. ;opcache.optimization_level=0xffffffff
    % E+ s8 T8 U. z$ J! W

  1959. 5 Q" ~* }" c+ ?
  1960. ;opcache.inherited_hack=1. i# a( c# m  n8 P! o3 W2 k. W( C$ @
  1961. ;opcache.dups_fix=0
    ! _! j* Y8 p* T# |3 e9 d% ?# ]

  1962. 4 u/ n9 a  p8 ~( K0 Z
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    . I- r6 t$ j1 o- U  f& C  q# E
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    , q* _) p% x7 J. f
  1965. ; that should not be accelerated. The file format is to add each filename4 [6 Q) s/ X) a; D: v6 }
  1966. ; to a new line. The filename may be a full path or just a file prefix' \- L+ q7 h, A/ |6 `: {; Z! Y
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    ) `) K: z/ z( \% G( H
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    5 @! _2 _, [  e
  1969. ;opcache.blacklist_filename=
      t+ u$ f* ]! j/ m/ `, w

  1970. & K. Y2 F$ m8 @7 @" X& Q
  1971. ; Allows exclusion of large files from being cached. By default all files
    4 \' d6 V3 M- r
  1972. ; are cached.! w% h0 k( I% I9 K7 x8 o8 U1 A
  1973. ;opcache.max_file_size=0
    1 E3 u" c( M3 ^9 Z
  1974.   H2 h( Q4 a% {
  1975. ; Check the cache checksum each N requests.* `/ E" L" K( J% e) d
  1976. ; The default value of "0" means that the checks are disabled.$ k) G9 @. h# p" U
  1977. ;opcache.consistency_checks=0
    7 e/ q" y! z: Z" n) y; d5 R

  1978. ) F# i& b5 e) I. ~* G4 D
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    % b) Q6 g; {- R0 M4 ]
  1980. ; is not being accessed.
    ) \" x* U$ G3 H( Q
  1981. ;opcache.force_restart_timeout=180
    9 A( }1 x: V! i; q* z* j
  1982. + y) t. P0 E/ e
  1983. ; OPcache error_log file name. Empty string assumes "stderr".5 i' K) W7 {; Z
  1984. ;opcache.error_log=
    ) T6 r9 _% @* m; D# K- t2 M6 _' n

  1985. 4 ]0 J  @' J# m6 t* v; n! @8 }
  1986. ; All OPcache errors go to the Web server log., y# Z' y5 w' j& y; @
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    # P/ k5 _9 U4 p: j9 v
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    / F1 P; d& O: U. d8 H
  1989. ; debug messages (level 4)." w, A- F- o4 u0 }/ s; L
  1990. ;opcache.log_verbosity_level=1
    # _! y0 ~$ q" h6 j% e5 s$ u) {

  1991. ) Z2 I* N9 g- D# }; [
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.. m2 x# p+ H2 Z: l, K- i2 C' y
  1993. ;opcache.preferred_memory_model=
    7 }: c) x# o0 d) u
  1994. $ e  r3 G$ f4 j8 Q: E; f
  1995. ; Protect the shared memory from unexpected writing during script execution., Y9 }) G$ y/ D  a. M4 `# Z. k
  1996. ; Useful for internal debugging only.$ W8 i* S9 |; s( T
  1997. ;opcache.protect_memory=0
    8 J; g) A4 C$ k
  1998. # V1 m% c* R" C2 \0 Y0 l
  1999. ; Validate cached file permissions.: V* k1 h" E' p" m
  2000. ; opcache.validate_permission=0- Y) x( ?' K3 g& n
  2001. 8 {9 `% d) l: Q
  2002. ; Prevent name collisions in chroot'ed environment.
    : Z3 |9 {7 d2 L" k" `: r
  2003. ; opcache.validate_root=0" \+ q/ A+ B2 f" P& |
  2004. * F3 Z6 q" y$ O9 ]8 }; K+ I% l
  2005. [curl]
    3 j" y& F2 {$ e% \0 o! G
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    ! R- B8 e) p/ Y
  2007. ; absolute path.1 y6 U! m2 x* ?- _2 J
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    # F* C& H& Y4 A! M- V4 l4 `$ u: E
  2009. 8 q* x% D* u+ L. }' S
  2010. [openssl]
    7 K* ~% ]2 |% {  H) O$ k* N
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem; A3 x0 t6 h0 ?5 n9 G! l
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    5 E4 `# x  B& Y5 @; T- B' r
  2013. ; not specify a value for this directive as PHP will attempt to use the1 w  C6 P, ~/ J' P. x/ g
  2014. ; OS-managed cert stores in its absence. If specified, this value may still6 \% O! P1 m  w1 o) T+ i
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    5 @/ b5 P+ Y, X' E( C
  2016. ; option.
    . d' E) t1 p) E! _* k+ V5 d4 A/ F  l
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt* l' q$ V2 l" h1 U# m" _
  2018. 3 W' H' d, f6 U
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the) G2 ~4 t# j9 w5 z
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    # V3 z. Q8 K  [# ~5 ]% q9 T* }. J
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    ( K) g  ~  [! n
  2022. ; Most users should not specify a value for this directive as PHP will
      e" }5 S/ x1 B
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    0 `; Z! N! W9 M0 `; x/ h3 y5 k
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    + ?; A4 n5 X  @5 y8 P) C% j
  2025. ; SSL stream context option.
    - a" a1 u; ?7 M4 i: V
  2026. ;openssl.capath=
    1 I4 H1 e. f- ]" _2 W: r

  2027. 6 K6 P# p2 _) U# t6 u. b9 _
  2028. ; Local Variables:
    2 x" S4 J) o! y4 t
  2029. ; tab-width: 4+ e8 Q% J9 L1 \! D% G2 s- V+ q3 S
  2030. ; End:
    / }' d1 t0 A$ f- V- u5 J; F3 N$ a( I

  2031. 6 b% J- ^, h+ d$ U$ z( ]. K# T1 L8 V
  2032. ;eaccelerator
      A3 q1 A) f; V/ E9 T+ P7 O2 ?8 v
  2033. . U( Y: S% |2 J& t
  2034. ;ionCube. v) h6 }6 s: c4 o5 Z. W
  2035. 0 Y6 D0 P+ [9 Q! ]
  2036. ;opcache
    6 M: m" X+ T5 D
  2037. 8 w$ \) C2 D6 ]. _- H" n
  2038. [Zend ZendGuard Loader]
    2 _0 F+ g5 ~1 K& P2 J- Y# d
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so- }9 e9 }2 S' n' B  p4 v' P
  2040. zend_loader.enable=1
    : V$ h9 D+ y1 n2 N2 Z: y8 Z0 _+ H
  2041. zend_loader.disable_licensing=0
    2 U6 ]4 M6 \0 T1 ?2 a7 l! i
  2042. zend_loader.obfuscation_level_support=39 z! f+ S1 c! _+ k% l/ |. |
  2043. zend_loader.license_path=9 b1 n- P. o5 o; v* `" B8 R
  2044. 3 f% O) X0 `3 b7 o: q
  2045. ;xcache5 i$ {. o0 s! w# B4 ^4 z  P
  2046. . O9 D& }# e8 I& }* S( J
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
3 q% p* l" C! ~- c4 \- X6 y0 f" s
) u/ N% S- _4 {0 l3 D  @7 W
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
4 z0 V( b; e/ [& x2 L7 t1 B% {: C, y8 A5 O9 H
Discuz!程序版本选择:
0 s0 \$ x9 M$ D6 `# t7 ]站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
/ |; K. w9 `7 s; \不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
6 @. F! C- [8 {1 w2 x3 ZDiscuz!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。2 L) Y& s: r  d- y4 l" W9 S

* ?- L  ~  @. u7 ^0 ~Discuz!插件模板版本选择:1 \# l3 }6 n/ o9 i
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,! n' S: J; B& |9 N0 _
针对这个问题做个统一的普及:" J6 a+ h7 r7 e/ O/ H8 B" w
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
/ l, C: X/ @5 E2 U% [* W5 o
, j0 }4 k: k! n+ C9 k* |所以
7 h5 H! X: q, S$ N/ X6 G" o适合Discuz!X3、X3.1版本的DZ插件、DZ模板是适合并兼容 Discuz!X3.2站点使用的,请站长放心安装使用。但适用于X3.2版本的应用90%以上是不兼容Discuz! X3.4和php 7.x的,请格外注意!!!
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-12-2 01:25:25 | 显示全部楼层
添加网站的时候一定要添加两个站点,一个是主域名,一个是www的二级域名。
" y8 X) ~/ z4 M4 L1 f1 k打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。0 M+ J% N+ }; z: X
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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