分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.08 w( {2 `% b  l, h! e

7 O0 B( r4 A) D: N
  1. [PHP]/ J/ r# |* \9 E% @8 y& ]" U

  2. : b5 x8 L& b) C2 J
  3. ;;;;;;;;;;;;;;;;;;;
    - G( @- ]  f2 X5 X
  4. ; About php.ini   ;
    . i7 x( ~* a6 ^; L" T
  5. ;;;;;;;;;;;;;;;;;;;
    . S: r! E1 @' A* D- W5 {
  6. ; PHP's initialization file, generally called php.ini, is responsible for' |# h8 j# C; ^/ s3 B% d. i
  7. ; configuring many of the aspects of PHP's behavior.
    " T$ l9 {' g9 v4 M% }+ M7 P
  8. 9 ^9 V5 X; h# }3 \" p/ m# g
  9. ; PHP attempts to find and load this configuration from a number of locations.
    7 g/ @! g" r3 i! j2 E3 e# Y
  10. ; The following is a summary of its search order:
    3 I1 Y$ \+ b9 X& n& o1 e
  11. ; 1. SAPI module specific location.
    / G* d) S0 e' u6 ]8 c8 l  o
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    3 s5 ~% t2 a: u' X" O) A
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)# z# V* o9 L. {) S
  14. ; 4. Current working directory (except CLI)% j0 \- M5 ^: M2 M
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP- {7 ^! a/ z% O* c6 k
  16. ; (otherwise in Windows)2 ~1 y1 I0 W8 K7 n9 e' z, Q) F4 y0 v
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    # {6 ~  h9 X  i5 N
  18. ; Windows directory (C:\windows or C:\winnt)
    % x. s5 H/ Q0 R9 S  s0 P5 J. W1 ]
  19. ; See the PHP docs for more specific information.) J) `% I9 D; K! [9 A5 r
  20. ; http://php.net/configuration.file
    1 n* g; X3 s, w6 S" d  w1 V6 s7 ^

  21. , z. F( s% k) R! v
  22. ; The syntax of the file is extremely simple.  Whitespace and lines& u2 _$ v. }- q9 t' C8 n: |
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    & c8 Y" K4 q( [# l9 P' P7 w
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though7 ~3 H- d/ X- @" P- U( l( f: B; T; X
  25. ; they might mean something in the future.
    4 N0 E4 l9 [4 p5 r$ m8 y% V: Y

  26. ! ?1 \- W) t# l* l+ b: p2 k3 o8 L# S
  27. ; Directives following the section heading [PATH=/www/mysite] only
    7 a* s3 o- d3 n1 I3 F
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    9 {' w  B5 F( [2 F0 }- X" V9 p
  29. ; following the section heading [HOST=www.example.com] only apply to
    + B* n) h  j' ?7 z; \( z
  30. ; PHP files served from www.example.com.  Directives set in these
    ! z) _/ k( C8 U# i& {4 I
  31. ; special sections cannot be overridden by user-defined INI files or
    ) X5 l) B: S7 `; \
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under- p3 Z5 M( i  z& u/ d. U' {
  33. ; CGI/FastCGI.
      ^3 j3 u  y# a9 W3 u
  34. ; http://php.net/ini.sections
    9 W) c$ P& q  O# n3 y

  35. 7 X$ ~. g6 y( ^# K! m4 Q: q
  36. ; Directives are specified using the following syntax:
    / d6 s! `3 L7 b8 ^
  37. ; directive = value9 l" x' E' q; R, ]3 T% f1 R
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.' D% D9 d0 V- q1 j. k/ o
  39. ; Directives are variables used to configure PHP or PHP extensions.
    / F1 i* u6 Q# E7 D1 ?
  40. ; There is no name validation.  If PHP can't find an expected
    ! b* l) }# H4 v9 q
  41. ; directive because it is not set or is mistyped, a default value will be used.
    ! V* ^3 s9 U$ P, ^4 B5 q
  42. 8 N0 }/ w5 c4 G* @8 }1 j" W& r
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one) r" E6 @3 n: f: Z2 g
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression( H5 s6 j, R3 O( f$ S6 S
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    " z2 L9 \) x2 a7 ^+ e4 }9 I
  46. ; previously set variable or directive (e.g. ${foo})
    $ }, {! B# l) l0 t0 X, o

  47. * v  r+ t; l) q8 r8 U% ^
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    " b$ U& c. ]5 z/ D5 q
  49. ; |  bitwise OR
    . T. j- \& x" m9 ~7 E8 ~
  50. ; ^  bitwise XOR
    : b" w- u4 t1 a( B
  51. ; &  bitwise AND8 V5 ^5 K$ \+ c; L7 e2 C2 o
  52. ; ~  bitwise NOT) x; l3 e/ L6 [/ d/ N. J- C
  53. ; !  boolean NOT
    1 S% _. y/ a2 ?) U) b" j

  54. ! C# u, V+ H6 a* _. i5 v' U6 c
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.8 l& D3 L% A/ w- ]: M
  56. ; They can be turned off using the values 0, Off, False or No.
    2 w; E2 H; U' Q& z! S
  57. 5 W$ E* Z$ D& C# ~" ~( R9 I0 @( j
  58. ; An empty string can be denoted by simply not writing anything after the equal' ?! o$ }2 W2 c; H
  59. ; sign, or by using the None keyword:" |& j7 {, R. _" y& s

  60. ( N, ?% |/ D6 u- ?7 f7 c/ ?
  61. ;  foo =         ; sets foo to an empty string# V4 [/ c' m, a# a0 O6 ]
  62. ;  foo = None    ; sets foo to an empty string
      B# k- K+ E" ^( h+ Y' H3 |, E
  63. ;  foo = "None"  ; sets foo to the string 'None'
    5 U7 w" Y+ N% @: D* J7 F
  64. - g6 u7 L# q2 b2 U4 ]4 O2 g7 [3 A
  65. ; If you use constants in your value, and these constants belong to a
    4 z( l% ~9 S( Q6 j- b" i
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),) w4 e# L2 G# g7 K
  67. ; you may only use these constants *after* the line that loads the extension.6 Q& y9 Q7 v, V9 j  O/ t1 w

  68. 4 V+ Y7 U5 j- l: j7 @3 i' [3 ]
  69. ;;;;;;;;;;;;;;;;;;;
    5 H+ u& u2 P6 [
  70. ; About this file ;; @" }8 A! ^/ ?. M3 c4 |( I
  71. ;;;;;;;;;;;;;;;;;;;9 i0 s5 C  f: v- ~  D7 u1 f0 s
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
      ]8 Y1 N* b( N4 e
  73. ; in production environments and one that is recommended to be used in
    $ d6 {5 \, Z  i6 G$ L1 ]
  74. ; development environments.
    : ?" J! i4 M: U/ q- {
  75. + i: H& q3 O  H1 ?& L
  76. ; php.ini-production contains settings which hold security, performance and( N" ~1 f* @2 W! i
  77. ; best practices at its core. But please be aware, these settings may break. x( ?1 }6 w/ [, G
  78. ; compatibility with older or less security conscience applications. We! l8 m0 j$ y8 `2 Y2 {
  79. ; recommending using the production ini in production and testing environments.
    4 T! ]: ~2 _/ I% [
  80. : ~. t; a, ^: B9 N4 C" ~
  81. ; php.ini-development is very similar to its production variant, except it is$ |3 \% S6 b! g- e% o7 e# k3 P. K
  82. ; much more verbose when it comes to errors. We recommend using the
    4 f: M' `6 b& C8 p# U* q
  83. ; development version only in development environments, as errors shown to
    3 W+ C2 K5 ~+ u) v/ j) U- o
  84. ; application users can inadvertently leak otherwise secure information.
    2 ~$ {( _3 l% }

  85. 1 I/ D2 k4 f0 y( e7 i5 W+ g# U
  86. ; This is php.ini-production INI file.
    8 e& K4 ]5 d, Q$ p
  87. * T' n( H  r+ j( \+ J
  88. ;;;;;;;;;;;;;;;;;;;
    ! K( T9 ~9 b. ]( Z! Z  y
  89. ; Quick Reference ;
    - V# d* L  i+ s. c2 b. ^' V9 d
  90. ;;;;;;;;;;;;;;;;;;;
    ; H8 T% M* z0 Z' V! T% x9 i1 g
  91. ; The following are all the settings which are different in either the production
    0 s& X" E9 B9 n3 Y  S% C% {2 O
  92. ; or development versions of the INIs with respect to PHP's default behavior.6 C0 X0 }8 V. o' s5 @) |% ^" N7 t
  93. ; Please see the actual settings later in the document for more details as to why
    3 _7 P5 b# [. B$ f  B
  94. ; we recommend these changes in PHP's behavior.
    1 x1 \( R: O5 W) |# y2 K2 k2 K

  95. 1 d9 `9 ^$ {" Z
  96. ; display_errors5 I8 t, @+ z! V( x( \! V
  97. ;   Default Value: On
    # ^! E' D' z7 {
  98. ;   Development Value: On. g4 Q& a5 ^: k) g/ S
  99. ;   Production Value: Off
      @  ?! _/ Z# ?4 V

  100. . v' M! o/ c9 H
  101. ; display_startup_errors* h" b8 |- ~, T0 E+ p
  102. ;   Default Value: Off
    ' N9 V3 k1 k) H& I$ h% O2 o
  103. ;   Development Value: On* q' S. q7 F! L3 e$ P
  104. ;   Production Value: Off
    ( e* b5 i& e9 n; ?3 ^$ A

  105.   t0 p% P) @) K
  106. ; error_reporting
    % h) d( Z9 f# Y& a( F3 t/ r! b, c
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED0 P6 _0 b6 q* Z8 w8 n1 Q9 H  R+ ^% i
  108. ;   Development Value: E_ALL  b* K2 @1 v4 j* R$ W0 t
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT. b* N3 k) V+ Y1 P) n# E( V$ B9 f# e
  110. 7 U2 O2 ~5 I5 |. \
  111. ; html_errors  e5 h- i2 y9 [: E- T( I2 t
  112. ;   Default Value: On% b/ F1 b7 c* u, y+ J  b# k3 x
  113. ;   Development Value: On1 D) {. D% T0 }+ n
  114. ;   Production value: On
    , F0 E! A& Y8 `

  115. . h$ i! N) Y- h6 k7 ?$ ~$ v' c# d
  116. ; log_errors% ~$ `# o, ?3 m& U8 N
  117. ;   Default Value: Off8 v0 Y$ d' S( b& X
  118. ;   Development Value: On
    4 [/ Z. }8 t. s6 m9 l5 E9 k) w6 b
  119. ;   Production Value: On8 O# K8 y( u. b$ u
  120. - Z  ^2 O; P6 L4 u8 R% G5 V* @# b
  121. ; max_input_time& a: l) w, l/ q# z" U, s
  122. ;   Default Value: -1 (Unlimited)4 r, q5 M, r3 E, y4 x4 I
  123. ;   Development Value: 60 (60 seconds)
    - b7 D7 |0 V6 O- V+ U
  124. ;   Production Value: 60 (60 seconds)# h5 |; M6 J& t5 N3 Q

  125. 9 a( }2 E$ A2 u, D2 B" Z2 \
  126. ; output_buffering2 y' y' E% V! M9 }$ L1 i0 W* y
  127. ;   Default Value: Off
    3 ?$ Z' ~8 q. d
  128. ;   Development Value: 4096
    # P3 m7 w1 F% w9 v7 z- X4 t
  129. ;   Production Value: 4096' z4 f4 x  B+ z. {1 k0 w) y( l
  130. / G9 K" t6 {: |3 d+ A. h
  131. ; register_argc_argv
    ; j' X+ ~# ~$ \+ e
  132. ;   Default Value: On
    2 I2 @# ^' w" ]4 x- z9 J
  133. ;   Development Value: Off
    + G7 N0 _7 X# I+ A2 {% j' M) z6 z
  134. ;   Production Value: Off' G8 r' e; I4 w7 Q* s  Z8 N$ B
  135. 2 R( S% n+ M0 k: p+ @
  136. ; request_order5 T  j6 e: t: J0 E& {( i
  137. ;   Default Value: None* a3 `! }& G2 c
  138. ;   Development Value: "GP"% z# J: j8 G0 U: H, e
  139. ;   Production Value: "GP"
    , H9 M' G) u& t
  140. 9 ~9 g! z, w  D/ P+ I; ~- f
  141. ; session.gc_divisor/ n4 A' G: b+ W3 I( f
  142. ;   Default Value: 1007 V, i9 F% X# y( j' X4 t9 F, Z
  143. ;   Development Value: 1000- N' R" N1 h' ~/ \+ X* `
  144. ;   Production Value: 10002 n# N* [/ D9 N

  145. 0 P, l4 Y3 c" {2 N4 ^( f
  146. ; session.hash_bits_per_character
    8 v0 m) L# H1 o
  147. ;   Default Value: 47 U0 {% g0 D4 J9 z1 r2 F
  148. ;   Development Value: 5" n2 ^$ ]- V/ e! @5 p
  149. ;   Production Value: 58 L. i5 N% E7 @" m/ y

  150. ) L% B7 U. E( x* u$ o2 s
  151. ; short_open_tag! ?8 N: _5 a: ]! e
  152. ;   Default Value: On
    4 d7 }0 A4 q/ O' U5 u* }( x
  153. ;   Development Value: Off) l6 |) K: A+ i, v2 z5 R0 l) N
  154. ;   Production Value: Off0 w! U5 t0 [- l  U# j! h" t
  155. 4 B7 v3 M% s5 ?. ?& F) X7 Y9 L+ Y
  156. ; track_errors
    2 N7 j8 q; R* n, h. O
  157. ;   Default Value: Off/ G! D) s8 a! x, O% S0 O
  158. ;   Development Value: On* `; f1 U  |" X% T/ o
  159. ;   Production Value: Off. R. R8 M% t$ a" v5 j1 i0 q  G; m

  160. " o# z, v  p$ V
  161. ; url_rewriter.tags; d0 `" t/ {* ?
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    6 M) I3 L+ O# i
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"4 N# d1 R6 ?% k& G, H, @! q& l
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    # t- q# r4 [$ u+ J

  165. , t' L' O- H8 A- B7 b* K3 R
  166. ; variables_order% i6 o8 l/ c9 l2 I% ?" o: Z
  167. ;   Default Value: "EGPCS"
    4 w2 _# q- x2 Y2 Y! n, e
  168. ;   Development Value: "GPCS"
    ; }4 p& F  @& v* ?& T- X
  169. ;   Production Value: "GPCS"( o7 q2 {) L0 B$ v. s8 T0 x# k
  170. * b6 A, Q$ `0 V" ]% `- K: k
  171. ;;;;;;;;;;;;;;;;;;;;; @6 d; g4 a, C: x
  172. ; php.ini Options  ;2 _# X6 H, L$ q: d2 I1 a
  173. ;;;;;;;;;;;;;;;;;;;;
    ' Z8 j5 I- D7 l; G# Q$ H
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"! p) }$ D" N  I4 `2 f
  175. ;user_ini.filename = ".user.ini"8 l) y) q$ S* |4 C% ]2 ^

  176. 1 M( e, W$ _' O$ n% D) ]
  177. ; To disable this feature set this option to empty value! h/ m+ D$ l5 d1 X" O
  178. ;user_ini.filename =2 {- v' H: c' p

  179. 7 W) P/ H! C: v( y
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    # |) G7 ~  f; ]: }, |
  181. ;user_ini.cache_ttl = 300! J" t5 t( m7 B
  182. 4 m* W, {: {; F
  183. ;;;;;;;;;;;;;;;;;;;;0 f% r4 N; ~6 y0 U) `
  184. ; Language Options ;4 r6 ?8 M0 W* f+ Y/ M: x
  185. ;;;;;;;;;;;;;;;;;;;;
    , r% q, m2 Q/ x7 P1 \" M4 x% l

  186. 7 I* M/ P: L" }
  187. ; Enable the PHP scripting language engine under Apache.
    : ]) o1 x+ F5 W) A2 Z" X
  188. ; http://php.net/engine
    # }' Z# B$ m+ E
  189. engine = On& }( D) [/ w8 s7 p2 [9 y# [" G6 I( G
  190. 9 f. x# U! _) o7 f+ _' J2 L; x
  191. ; This directive determines whether or not PHP will recognize code between/ i# D# i! b* ~& L- f' c
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    2 L; o* N  i& e
  193. ; generally recommended that <?php and ?> should be used and that this feature
    . S7 s3 d$ S- W' H0 u
  194. ; should be disabled, as enabling it may result in issues when generating XML$ ^/ P/ m# Y% ?3 r2 u
  195. ; documents, however this remains supported for backward compatibility reasons.) N5 y/ j3 B4 @" N: c. m$ x9 h
  196. ; Note that this directive does not control the <?= shorthand tag, which can be: L. x% B, H! Z( J7 }. R; B) V
  197. ; used regardless of this directive.
    ) ~/ H. T  J8 }. ]2 t: s8 q. R  M# q
  198. ; Default Value: On
    / k; j' R: y8 {. P/ G7 t
  199. ; Development Value: Off; Z: L+ Q  [, H/ D% F
  200. ; Production Value: Off! u" J3 X7 @7 n" V; ^5 y
  201. ; http://php.net/short-open-tag+ e, _+ A1 f1 v7 r* ^
  202. short_open_tag = On
    % O/ H3 `9 S$ _- E

  203. + V% M! F  {/ U( ]2 m
  204. ; The number of significant digits displayed in floating point numbers.
      b1 z% Y7 `6 h; ^+ {1 v: b
  205. ; http://php.net/precision
    9 z5 P4 c8 y0 U; f) P
  206. precision = 14
    * w8 v. o( ?$ @% X

  207. ; w4 @5 S' H. C8 {6 r$ O
  208. ; Output buffering is a mechanism for controlling how much output data8 }! i; \5 m" Q& j' b
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    - |5 b3 ]) {* X& T9 T
  210. ; data to the client. If your application's output exceeds this setting, PHP. ~8 J6 @4 z3 S3 E/ _! A, x
  211. ; will send that data in chunks of roughly the size you specify.
    * V5 _, i" w( }: Z
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    & c% Q1 g% t7 t$ o; ?
  213. ; interesting side-effects depending on your application and web server.
    4 ^1 o6 V+ D  j7 L: I
  214. ; You may be able to send headers and cookies after you've already sent output/ q0 m# Z0 ?6 [- g/ U
  215. ; through print or echo. You also may see performance benefits if your server is
    2 n6 t6 |  P2 w! ~* h8 `
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    ' ~4 ?/ k* g* q
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance# M8 [0 b9 F3 d% f
  218. ; reasons.; I# V7 `7 O, e) J
  219. ; Note: Output buffering can also be controlled via Output Buffering Control( x9 ?# P- H3 j0 X# N+ [
  220. ;   functions.
    5 W; k( d# w9 x; H  J
  221. ; Possible Values:
    : L2 U3 ]/ M# A
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)/ E! W% V! l- N: K8 W
  223. ;   Off = Disabled
    + O, `7 F+ W. i2 f8 ~: A+ b
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.# G0 e4 s$ ]6 k$ r/ O
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ' {' w& e& m( H2 e/ m
  226. ; Default Value: Off" u' z; \6 a- y- l8 X0 x
  227. ; Development Value: 40968 p) D9 Y8 X; O, o9 ]
  228. ; Production Value: 4096' z/ G- s; f9 Y7 o- J
  229. ; http://php.net/output-buffering
    1 k, o( E3 w: D# u9 M
  230. output_buffering = 4096: f+ C: ^/ [2 n$ f

  231. 7 \0 T& R4 w" R- M
  232. ; You can redirect all of the output of your scripts to a function.  For
    / S4 n$ O. }" _5 b+ L
  233. ; example, if you set output_handler to "mb_output_handler", character0 h9 b7 W& k. t+ }! A' A! ^
  234. ; encoding will be transparently converted to the specified encoding.
    - E; c0 [* q: q9 L% s
  235. ; Setting any output handler automatically turns on output buffering.
    ) k7 `6 z' D: m" j: N
  236. ; Note: People who wrote portable scripts should not depend on this ini# {2 J2 f: Z# ^7 X; g
  237. ;   directive. Instead, explicitly set the output handler using ob_start().  U. `2 g2 V4 U+ r2 c
  238. ;   Using this ini directive may cause problems unless you know what script/ B$ E6 b5 B$ }
  239. ;   is doing.
    8 Y, i' ]8 l- Z. q7 M( m
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"8 h5 c9 ]5 B7 d- N& i9 J# \1 T
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    - _7 v/ q4 Y1 y' S% e6 N: L0 ?4 I
  242. ; Note: output_handler must be empty if this is set 'On' !!!!3 G6 h' X+ _6 t0 l. V2 V' s
  243. ;   Instead you must use zlib.output_handler.2 U7 y0 N) ?, c1 A. j" `6 [2 m
  244. ; http://php.net/output-handler( ~( I% o4 ?* R, e( o% G/ B
  245. ;output_handler =; ]9 d- _: o% b1 b) a8 E3 z

  246. # H, ?/ Z. ?4 A# ~
  247. ; Transparent output compression using the zlib library8 ^& G+ D( `* ?' |7 D3 w$ {
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    - A# d# p3 W' S0 y
  249. ; to be used for compression (default is 4KB)6 W$ G. A. ?# @* J1 g: H* F7 D
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    # c% d. j2 I% z  [2 x
  251. ;   outputs chunks that are few hundreds bytes each as a result of
      _# A! a3 x! v8 ?
  252. ;   compression. If you prefer a larger chunk size for better1 z! W# O* U9 I6 {7 r4 x, c6 O
  253. ;   performance, enable output_buffering in addition.
      N3 {  b3 z( ?- D. |7 ]
  254. ; Note: You need to use zlib.output_handler instead of the standard
    8 ~, h* d& [1 P) Q1 o2 p
  255. ;   output_handler, or otherwise the output will be corrupted.
    0 H" G# e/ t% k+ S# f# {( e
  256. ; http://php.net/zlib.output-compression
    6 D; I+ Q) x, G$ [8 n
  257. zlib.output_compression = Off
    5 V  l) _3 @. t2 F5 t
  258. + u/ z7 J* h' x7 e: B
  259. ; http://php.net/zlib.output-compression-level0 M% o% v* V& H8 y- X2 h- c. w# u
  260. ;zlib.output_compression_level = -13 r: T' h7 G2 T/ H* O: [
  261. + H  Y8 O; y7 S2 v4 P
  262. ; You cannot specify additional output handlers if zlib.output_compression
    , T4 Z: ?. o8 R. K" {+ [
  263. ; is activated here. This setting does the same as output_handler but in0 n; d# w1 X8 O1 Q2 A
  264. ; a different order.
    & w( b8 g) x# b. S2 ^# X, ?0 r8 v
  265. ; http://php.net/zlib.output-handler2 _4 o& e1 @9 c" @
  266. ;zlib.output_handler =- U. r3 J9 `% c
  267. , v: v, |. G3 _; _' T# u4 B
  268. ; Implicit flush tells PHP to tell the output layer to flush itself. H  V1 B$ X2 }, c9 [
  269. ; automatically after every output block.  This is equivalent to calling the
    5 c+ A* Z/ r% ?7 A3 I' b% }( [
  270. ; PHP function flush() after each and every call to print() or echo() and each
    6 i/ t) V+ N5 p
  271. ; and every HTML block.  Turning this option on has serious performance
    2 s# [3 D! M3 K. s/ k
  272. ; implications and is generally recommended for debugging purposes only.
    * N/ N# O( \5 }$ _( s, @% D) z( @! k
  273. ; http://php.net/implicit-flush
    6 H& i/ p6 O! a! M
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    2 E7 {0 g. d. _4 J
  275. implicit_flush = Off
    5 v; Q0 R4 O/ ~
  276. 7 `: W& S$ B' K  u! ^- e
  277. ; The unserialize callback function will be called (with the undefined class'
    5 X' a7 H, e$ K& r( F4 ~: I
  278. ; name as parameter), if the unserializer finds an undefined class
    ! z8 H. }% c8 D, u1 F+ l/ S# m8 z
  279. ; which should be instantiated. A warning appears if the specified function is
      `; h& E6 v* m
  280. ; not defined, or if the function doesn't include/implement the missing class.4 Q9 V& s! X- j2 {
  281. ; So only set this entry, if you really want to implement such a
      \" |  `$ Y' |5 d1 \' G2 [
  282. ; callback-function.) k1 c2 F" d1 e9 z3 {8 W# j3 h
  283. unserialize_callback_func =/ ^4 ?* T* W% z2 s3 _8 P7 ]1 b
  284. * g- A: t2 n+ ~( m8 G' j( x
  285. ; When floats & doubles are serialized store serialize_precision significant
    * Y0 \( F0 i, c
  286. ; digits after the floating point. The default value ensures that when floats
    3 g2 Y. T3 m: R
  287. ; are decoded with unserialize, the data will remain the same.
      y4 Y" {9 r, w; R- Y2 i
  288. serialize_precision = 17
    ' `- Y2 t6 F+ Z  h
  289. 6 j1 v. W  T' G3 X/ K! Z$ ~# Z! t
  290. ; open_basedir, if set, limits all file operations to the defined directory. t0 U& H' }3 V* |1 s8 Y- Z
  291. ; and below.  This directive makes most sense if used in a per-directory4 m; ^3 l- ^: y4 O
  292. ; or per-virtualhost web server configuration file.! A* H) Y0 y* R- w8 p$ }
  293. ; http://php.net/open-basedir
    ' q4 _" q) H+ p7 D# b& a
  294. ;open_basedir =$ V! A, c2 V1 s3 `. R" k4 ~/ [

  295. 9 V2 p) h" e4 c( S! I" b7 j4 L
  296. ; This directive allows you to disable certain functions for security reasons.8 X# }  {- }5 t! R. {! E5 U
  297. ; It receives a comma-delimited list of function names.
    8 g. x2 a6 W6 u' e# n2 D+ C
  298. ; http://php.net/disable-functions
    9 a( @" W$ y" l
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    5 h4 I! {) R4 L0 x# k5 F# u. r! j# t
  300. ( z1 g; r9 y# U0 f" t4 Q
  301. ; This directive allows you to disable certain classes for security reasons.6 X6 w: Z' f& K! {, R8 R6 M0 x
  302. ; It receives a comma-delimited list of class names.
    2 g3 D) V, T  \2 A! @2 l: O# t6 v
  303. ; http://php.net/disable-classes
    7 ^3 k. h; S+ Q) G
  304. disable_classes =- d* @) A; a3 Z. }8 F
  305. / ]3 @0 K* }0 a! V7 P; l: l( a4 k
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    % C: J# |8 n" i$ N+ d7 S, M
  307. ; <span style="color: ???????"> would work.! R. X  o8 [. ^
  308. ; http://php.net/syntax-highlighting
    3 y% `& v( R% n5 m* C
  309. ;highlight.string  = #DD0000. P$ ]* a9 ]! s) E' n
  310. ;highlight.comment = #FF9900
      h7 P# |+ _$ k; f9 v3 z4 X, V
  311. ;highlight.keyword = #007700
    4 ^; S) J" N8 ?
  312. ;highlight.default = #0000BB9 b/ [+ u0 |; V% K' |# W
  313. ;highlight.html    = #000000
    $ f- D6 d: V$ ^
  314. & A6 h) b- d4 S
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    $ _+ @( `- E. Z1 j; |" G
  316. ; the request. Consider enabling it if executing long requests, which may end up
    6 d9 i" D$ `6 s& x" A" g3 s
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    ; v2 h1 b6 {9 s9 R0 t% R' w
  318. ; is to disable this feature.
    . P. {$ M# D; D7 s2 X- I
  319. ; http://php.net/ignore-user-abort. {% ]8 X: y1 K# m( D! T
  320. ;ignore_user_abort = On1 C" B  u3 Q5 }# `
  321. * L9 e. \# e; L5 S9 c" l/ c
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    ) e5 `. a/ T' C) k
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
      X4 V$ D9 n, e
  324. ; the file operations performed.
    " d! d0 g% d' |. S& Z, ^1 Q' J
  325. ; http://php.net/realpath-cache-size
    5 G  N( T7 n1 o& i) \2 r. |  T
  326. ;realpath_cache_size = 4096k+ q; K' S8 N. \& Q. W8 U

  327. 1 N2 V+ h) w2 y  F( r
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    , H8 x0 d- e& f  |
  329. ; file or directory. For systems with rarely changing files, consider increasing this, Z4 D1 x0 }  I; L
  330. ; value.. r$ E  Z4 v  R- Q$ \9 x
  331. ; http://php.net/realpath-cache-ttl
    " a( I  u7 K8 M. _0 j: |$ T
  332. ;realpath_cache_ttl = 120
    : y2 T4 w9 G! x

  333. . N  n( Y$ }( N* J6 U8 z1 g
  334. ; Enables or disables the circular reference collector.; T4 P- Q' B, q8 f+ ]5 K) F
  335. ; http://php.net/zend.enable-gc# K: a9 ^- T) b# R. v
  336. zend.enable_gc = On
    4 U+ O5 [& r3 E! @# `, I
  337. 4 D4 M6 ^8 K8 o- j. d% ]
  338. ; If enabled, scripts may be written in encodings that are incompatible with% r( x  L& l, [
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such! g4 \& ]  e8 f/ `  @/ m
  340. ; encodings.  To use this feature, mbstring extension must be enabled.* r) I, ?. w4 e) \' E
  341. ; Default: Off% V. }; E1 h+ G* _0 v: G
  342. ;zend.multibyte = Off% j4 B1 i* o5 C. l* N" C

  343.   k* ?& R$ G5 N; [, b! F3 d
  344. ; Allows to set the default encoding for the scripts.  This value will be used- ~# P8 p- D: N' i
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.+ K2 O. V/ r$ m/ K
  346. ; Only affects if zend.multibyte is set.
    1 f* a' z) B: S2 @4 `
  347. ; Default: ""0 \% v, @0 j; u0 R7 Q
  348. ;zend.script_encoding =" v: I2 J: h4 ^, D- i2 `% H$ a

  349. & k* ^2 C+ K% b, j
  350. ;;;;;;;;;;;;;;;;;
    # T" s# D; \- ?6 w+ i9 @
  351. ; Miscellaneous ;
    ; I, U. P/ @8 C) a. k
  352. ;;;;;;;;;;;;;;;;;) C# p' ]8 S8 i  g; G& _

  353. % f2 f5 y* d4 U9 w
  354. ; Decides whether PHP may expose the fact that it is installed on the server: t& z0 z3 m& g' B. `* e6 w! b
  355. ; (e.g. by adding its signature to the Web server header).  It is no security1 O. X0 |8 t" q, s2 y! b! i  j
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    9 N9 `: N& i1 z8 ^4 x; v5 E3 Q6 d% E
  357. ; on your server or not.  o4 E- J7 c) h* Z9 B3 e" I' P
  358. ; http://php.net/expose-php* {9 H2 {. K" d5 r
  359. expose_php = On
    , A" t9 Z, B3 L  \, A5 B

  360. ( z6 U4 l. @% A% P, l
  361. ;;;;;;;;;;;;;;;;;;;
    ( a" }7 a: j2 }2 ^
  362. ; Resource Limits ;' ~* g- r  h, p, ]
  363. ;;;;;;;;;;;;;;;;;;;6 T( D5 m- ~+ a! z! b# p

  364. % t0 u3 w4 U: X' [* X9 V+ _5 @1 o
  365. ; Maximum execution time of each script, in seconds- I/ _8 W) [) a( `
  366. ; http://php.net/max-execution-time* T0 {7 {/ g$ e. r( {
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI, c* j( X4 `" f" v" F; B
  368. max_execution_time = 300
    , `  u/ B; [/ i, n

  369. 8 r5 C/ P8 w+ C( f3 X
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    / l# ^( i; b' ?% q+ H3 \) D
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    7 i, S0 f# |4 p& [
  372. ; long running scripts.5 M& L3 a3 q( W5 H- X, E
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    : u. h; }  B  A& |4 g2 V- B
  374. ; Default Value: -1 (Unlimited)3 J6 ?. n# a  h
  375. ; Development Value: 60 (60 seconds), X# @4 z- P! X0 A
  376. ; Production Value: 60 (60 seconds)' w. Z0 T) W, t! l7 v" r8 ~$ `
  377. ; http://php.net/max-input-time
    2 ?. N  p( E. a( K8 W6 ~8 Y
  378. max_input_time = 60
    4 H" P1 q. ~( A, G: F

  379. 1 S. [, P2 g8 t
  380. ; Maximum input variable nesting level* x, v2 R* Q7 P* E1 |
  381. ; http://php.net/max-input-nesting-level& Y0 Y' d* `  R- W- ]
  382. ;max_input_nesting_level = 64- v1 [& B1 j" A, S- }- ^* T  z' z% H' ~
  383. % Q, U+ p, O3 e: y! r8 Q
  384. ; How many GET/POST/COOKIE input variables may be accepted5 k- `+ I7 i& ~
  385. ; max_input_vars = 1000# Y0 D) F& ]7 p/ q4 j! ~0 r7 f+ H9 b

  386. 0 ]8 f3 A, f+ m- F0 W! j$ U$ v# F
  387. ; Maximum amount of memory a script may consume (128MB)
    1 J  l7 V" B2 q$ P1 W) h. Q
  388. ; http://php.net/memory-limit
    " I2 ~; U$ }' f; ]; v
  389. memory_limit = 128M' P& v+ r7 A, ]3 l! g

  390. # {# c6 @- k. q- r) |$ O
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6 }& c  N0 k9 b$ G6 ]; k" F/ A
  392. ; Error handling and logging ;7 s: T2 n5 w. B0 c
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    : `- z; c0 R0 L/ p
  394. 8 e$ l; g/ k- H0 C3 b/ }( Z
  395. ; This directive informs PHP of which errors, warnings and notices you would like
      C3 F4 G6 R' G1 `6 i; Z
  396. ; it to take action for. The recommended way of setting values for this8 N4 ~" x+ w/ C' j1 |5 R/ J
  397. ; directive is through the use of the error level constants and bitwise$ m  ?% }7 y% J6 q0 y
  398. ; operators. The error level constants are below here for convenience as well as
    , O- Q! F3 k, D. @
  399. ; some common settings and their meanings.
    - e, V, c+ m- Q8 m
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    3 {9 S2 P6 N+ ?. ~% I
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    % J! M1 L! v* r
  402. ; recommended coding standards in PHP. For performance reasons, this is the5 v( L) O1 c9 `& L* G
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    4 i  ~# i5 \0 K3 A0 I
  404. ; resources complaining about best practices and coding standards. That's what
    " [" O) D7 H' L8 q
  405. ; development servers and development settings are for.; j$ b5 c5 Q2 z+ `* J, f$ h
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    # M, B+ \& u- ~
  407. ; means it pretty much reports everything which is exactly what you want during+ @; K/ t' F: k! b/ p/ Y: G
  408. ; development and early testing.
    ' w* v8 w5 @* ~$ r
  409. ;
    * `% y3 F8 I) G, z/ w
  410. ; Error Level Constants:
    , N) W3 n* q6 D" P. b' A
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    . X/ T2 g: R, F1 I
  412. ; E_ERROR           - fatal run-time errors
    0 ^$ ~" g! y8 t, J( t. ^
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    - T' l) _7 y* q8 S3 p
  414. ; E_WARNING         - run-time warnings (non-fatal errors)6 I- {3 U0 ~2 {* r3 G9 r. U8 s
  415. ; E_PARSE           - compile-time parse errors
    - [1 {' |3 j) d. [7 w. I' P0 V; ?
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    1 U& I; B( M' j6 y- w" ~' M
  417. ;                     from a bug in your code, but it's possible that it was" j+ _2 l% O9 B# g9 i
  418. ;                     intentional (e.g., using an uninitialized variable and
    7 n/ A' |$ ^+ `5 N
  419. ;                     relying on the fact it is automatically initialized to an
    , `) ^# \( O0 l/ h8 q
  420. ;                     empty string)+ z, C: e2 C; f* A: Z% M
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
      g1 P0 [5 h9 ^) f
  422. ;                     to your code which will ensure the best interoperability
    ; V. m  E* {! a7 }& k8 o* J
  423. ;                     and forward compatibility of your code: u+ r) k& M# s# p# A: J% ]
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    ' ~$ c% y5 h, q2 e* _
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    3 _$ c, |! d! B
  426. ;                     initial startup( M( p8 R6 y- r. v( N! y5 Y, |9 i
  427. ; E_COMPILE_ERROR   - fatal compile-time errors" c3 P1 Y! {4 L% a
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    2 O6 S. c0 [  k/ \
  429. ; E_USER_ERROR      - user-generated error message4 Y" v! l2 \+ Y8 x2 l$ f! ?" O- D
  430. ; E_USER_WARNING    - user-generated warning message
    & V+ d9 x& [& z  F% j7 `
  431. ; E_USER_NOTICE     - user-generated notice message
    ' \8 c. w; u% _5 c$ r1 ~
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    3 Q7 w% h9 e0 k1 P3 j8 M" Y2 B
  433. ;                     of PHP' m0 b- n" k5 b7 K  w* x: y
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings' s' ?! y2 r3 f; D$ ]2 V
  435. ;' x1 e( F0 a, P5 H: a" D5 k) o
  436. ; Common Values:2 w* ?# x/ ?6 p7 D, I! f
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    " |8 W$ T- |0 u0 J2 y  P9 o8 @
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)& q( D7 F: Z( A) [1 H6 H
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    - E6 h9 B! ^9 P) q: G3 I
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    2 J4 u6 Z* s4 v
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED7 i  j5 M& i! B( v
  442. ; Development Value: E_ALL! J! R. w$ L, I5 ~
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT6 |# o3 X* }  C: K3 l2 p0 H
  444. ; http://php.net/error-reporting, M2 Z9 {2 w0 f7 n3 M8 U5 [4 N
  445. error_reporting = E_ALL & ~E_NOTICE* ^. z9 B& U. d! H3 P
  446. # X, c, R' {) N* n; d2 v/ R
  447. ; This directive controls whether or not and where PHP will output errors,
    : {; b% Q% F6 T4 P8 O% L
  448. ; notices and warnings too. Error output is very useful during development, but2 t. g+ _1 r6 ~# }2 \
  449. ; it could be very dangerous in production environments. Depending on the code7 Q3 p9 g, J1 w) T/ G* a# ~
  450. ; which is triggering the error, sensitive information could potentially leak
    % f6 O) v7 m9 U9 |. s8 q9 O
  451. ; out of your application such as database usernames and passwords or worse.
    ' k' A* A# C8 \. S' B
  452. ; For production environments, we recommend logging errors rather than7 f$ J8 p* y/ p1 g6 v. N
  453. ; sending them to STDOUT.
    ; n+ W/ k2 _+ _8 Q
  454. ; Possible Values:' ~, o: Y" L; e/ W
  455. ;   Off = Do not display any errors
    2 J/ S' X- {' k' S% b' t% U6 e, U
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)' B) W9 D0 Q$ K1 `, H' P
  457. ;   On or stdout = Display errors to STDOUT5 J* ]/ K% W( |; K7 u9 F
  458. ; Default Value: On1 V' M9 W& ?! K, e) y+ o
  459. ; Development Value: On
    + t, C: x/ E6 Y  [. L- T6 C  B# ?
  460. ; Production Value: Off
    3 u" J) p; k5 z) g( W; s
  461. ; http://php.net/display-errors( a$ Q4 j' W* j7 P' A
  462. display_errors = On
    + ^1 p1 S% w. ?2 g

  463. $ y+ b* P0 h2 l$ M3 M% B
  464. ; The display of errors which occur during PHP's startup sequence are handled# @% @) `; @& P' ^. ~
  465. ; separately from display_errors. PHP's default behavior is to suppress those4 Y3 b; Z* @+ y5 s. h/ l
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    . j  v$ b# P8 }
  467. ; debugging configuration problems. We strongly recommend you; Y1 e" o3 {4 M; t+ w
  468. ; set this to 'off' for production servers.# p  d7 L: V7 k/ K* z8 z& ?# u4 ~
  469. ; Default Value: Off
    ; B* L3 b3 A) @3 ?0 T
  470. ; Development Value: On0 o1 L# J' J% B0 j
  471. ; Production Value: Off7 x3 n3 x8 J2 ^" \8 G7 p) w( G
  472. ; http://php.net/display-startup-errors8 u- v) ~6 f! x" U: I
  473. display_startup_errors = Off0 ^# \# e# \2 l- b# Z% ^

  474. ; u' F) D" w  k; _3 L7 A& P9 q% G! t6 p
  475. ; Besides displaying errors, PHP can also log errors to locations such as a. n" E; M7 Y" l8 e; s* f4 ^
  476. ; server-specific log, STDERR, or a location specified by the error_log4 B7 U. Z& t( V1 Y. d
  477. ; directive found below. While errors should not be displayed on productions
    : h: U( N! M; l* ]
  478. ; servers they should still be monitored and logging is a great way to do that." `7 d7 D' `) l
  479. ; Default Value: Off
    0 R! N1 }" f! L& X) b
  480. ; Development Value: On3 n0 y- h- L$ a$ a. l
  481. ; Production Value: On% m/ A  p4 @( e, W
  482. ; http://php.net/log-errors. U6 Y9 T% `! d
  483. log_errors = On
    ) k2 m5 D/ d2 C; H

  484. 5 R: H6 x$ J: t8 E4 h
  485. ; Set maximum length of log_errors. In error_log information about the source is. C0 x( t9 o8 ]' V
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.+ }8 O9 o- C+ e( o% e* V) W
  487. ; http://php.net/log-errors-max-len
    - G0 {) ~2 R, @( C( a  }0 A
  488. log_errors_max_len = 1024
    / s5 u  H8 i! _. f
  489. : u$ e% Q0 o2 I5 y; Y2 R2 D
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    : y& b. ?; J% {' h9 a5 u1 X
  491. ; line unless ignore_repeated_source is set true.
    + Z9 r. ?; H% r& |
  492. ; http://php.net/ignore-repeated-errors# {  q4 p$ n' Y0 j
  493. ignore_repeated_errors = Off
    0 k  w" E& j: X, K

  494. " }! Y+ U$ C  R9 o! V1 U) l
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    + S9 l/ x1 @* W3 ^+ o/ T( l/ Z
  496. ; is On you will not log errors with repeated messages from different files or
    - Z* y  P4 a' _* g& t' ~. b% E
  497. ; source lines.  i. @( m4 i# }: S7 L$ K& Q
  498. ; http://php.net/ignore-repeated-source) }7 t1 i& I) M1 J$ k8 v
  499. ignore_repeated_source = Off
      W; @# e" {) ~+ q/ A6 B8 k
  500. , g  F  d5 K8 w- j
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on# l( n/ |% l4 ~% z
  502. ; stdout or in the log). This has only effect in a debug compile, and if, c) a" _& a, s5 T! U
  503. ; error reporting includes E_WARNING in the allowed list
    2 R. o% m; b. \" p
  504. ; http://php.net/report-memleaks
    2 d  K% ]- H4 i7 e
  505. report_memleaks = On
    5 Y1 u9 [5 ~7 r* q, U' d$ A7 p
  506. + s/ }5 L; g& y
  507. ; This setting is on by default.
    1 I5 K4 |* g+ v# ~1 Q: o
  508. ;report_zend_debug = 0
    , e. W7 i: w: Z; _% Y, U

  509. ! }" {. ?; F! }3 `- K3 T
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    3 s2 d7 o) a( h6 x8 ^! \
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    / _+ Z, L  T) X6 C9 |& O
  512. ; however be disabled on production servers.
    1 X% d8 y3 h- E; t, ?6 T
  513. ; Default Value: Off2 }" x9 o$ H2 o6 S
  514. ; Development Value: On
    # k0 m0 j! `: W! V
  515. ; Production Value: Off4 J# I8 W0 D+ f1 e. F* q$ Z$ ]
  516. ; http://php.net/track-errors0 _( t( G3 }) r! q) j# ~" C
  517. track_errors = Off
    5 L3 q8 l% r1 ~! @+ t7 j

  518. " X  k, z( r8 G( [3 f$ [
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    4 f$ l7 i% U: i) H7 t
  520. ; http://php.net/xmlrpc-errors! H; d! U; ?8 n
  521. ;xmlrpc_errors = 0
    , {7 |$ |8 U! y

  522. - e! `2 f+ G  \; t/ i1 z" u3 ?* m
  523. ; An XML-RPC faultCode! {9 U5 e( V$ ^# `. l3 d- ^
  524. ;xmlrpc_error_number = 0
    5 n' l" k$ s0 e

  525. ( Q% ~! z8 u8 _
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    . d+ y! s& l4 L  G
  527. ; error message as HTML for easier reading. This directive controls whether
    ; g  _0 K: L9 U3 {0 b
  528. ; the error message is formatted as HTML or not.8 A: V: C/ i: o5 s
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    " o3 z+ M' ~8 P7 _8 ^: k
  530. ; Default Value: On& o: `, w+ ]$ W1 C! U
  531. ; Development Value: On
    : T6 V  J; Y, u0 c5 ^
  532. ; Production value: On
    % @2 u! L$ v3 }. u+ U8 d
  533. ; http://php.net/html-errors
    ) B. q2 R# H6 h. M* Q3 G0 ~2 J
  534. html_errors = On
    0 [2 A) Z% h  f7 ~& I) X  j

  535. 0 r( i; Y  t  S7 a1 A( U1 p' _" D
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP) T- e$ i9 O( \, c. a8 |
  537. ; produces clickable error messages that direct to a page describing the error( O3 t8 F7 a7 W
  538. ; or function causing the error in detail.4 K8 z2 H. r/ o  z  P& @
  539. ; You can download a copy of the PHP manual from http://php.net/docs5 i3 q+ g) z1 a: p+ K* W4 n
  540. ; and change docref_root to the base URL of your local copy including the& l6 W; U$ Q( u+ Q
  541. ; leading '/'. You must also specify the file extension being used including
    " I8 ]8 N. y! b/ V
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which1 O3 e/ t" `- P3 g4 k0 e$ U$ {
  543. ; case no links to documentation are generated.( S3 O! W; J& x# O! i; N$ p
  544. ; Note: Never use this feature for production boxes., M6 d4 [0 G1 p7 \& d
  545. ; http://php.net/docref-root: f7 o8 n8 a/ F2 u3 ?2 V' @3 f4 E
  546. ; Examples
    & I4 Q3 @/ n$ `2 I8 r5 e* J0 L5 I
  547. ;docref_root = "/phpmanual/"& h: |3 n0 e0 i/ F4 ^9 W! O
  548. ! F7 R: o; y) y- W) V7 \( b& g8 Y
  549. ; http://php.net/docref-ext
    # C5 t# C+ @- A# F, y
  550. ;docref_ext = .html/ M1 v8 J) a8 }+ o
  551. 0 _  x2 H6 k! Q
  552. ; String to output before an error message. PHP's default behavior is to leave7 F* I( N$ ?: O4 i: ^
  553. ; this setting blank.
    . Y3 \0 o1 W+ \. z. w' u% e
  554. ; http://php.net/error-prepend-string
    7 l" C- E7 ^( ?* x* `/ G! g
  555. ; Example:
    ( Y3 y) B$ q- V- u; y* Q5 |
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    & u0 r/ S7 r$ ~8 {; [9 u$ [) @7 q6 \
  557. : r8 V  V/ [6 w. B
  558. ; String to output after an error message. PHP's default behavior is to leave
    8 j- H$ l' w1 v+ [# q5 `
  559. ; this setting blank.+ s' w& k' v) C% I5 s) _( j* V* q) }
  560. ; http://php.net/error-append-string( y& Y1 v, e$ D: t8 k$ v8 I
  561. ; Example:% u# e0 P( V; L2 U+ L5 @. _" n
  562. ;error_append_string = "</span>"
    3 m+ p" |5 O, [  I4 W1 [5 q, m. T

  563. $ c7 k/ T8 h- N* W7 P
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    # T9 q+ i7 ^. {9 a1 V
  565. ; empty.3 g" ?* {+ P+ z9 g( ^5 R! b
  566. ; http://php.net/error-log
    / E. n5 q" \! O, B% F
  567. ; Example:( i; ]% d2 P- Q/ F. \4 q1 }
  568. ;error_log = php_errors.log
    ' s3 ^( p  d3 g! T; Y% H0 H: s
  569. ; Log errors to syslog (Event Log on Windows).+ ^6 {; f% F. w, ~: W: _2 K" M
  570. ;error_log = syslog: }9 B  K: Y  m$ f" ?
  571. 9 [/ t+ j1 |/ x) P
  572. ;windows.show_crt_warning  M3 ~0 T1 S( c9 ?+ W" n0 `
  573. ; Default value: 06 j6 _. p0 M) u, D0 F) a# J$ P( F
  574. ; Development value: 02 v, B1 I- r) m5 W# j% P
  575. ; Production value: 0
      ]" [- ]% f+ S0 T" d
  576. - R3 T1 m- @9 D1 m/ f5 N
  577. ;;;;;;;;;;;;;;;;;$ E' f# z# A$ G- R" J; v# l& \
  578. ; Data Handling ;* G* g# ~( D( q( c1 q/ n
  579. ;;;;;;;;;;;;;;;;;) n9 H; z% C% J: g  `& x

  580. 9 }" L1 x4 E6 \& h: K) a0 q
  581. ; The separator used in PHP generated URLs to separate arguments.
    9 F5 x8 U; T, b4 Z% {
  582. ; PHP's default setting is "&".
    8 x8 X$ \) q3 {& u! U5 w' @3 k0 e
  583. ; http://php.net/arg-separator.output
    9 ?0 ~2 Z6 p4 W! X$ {# L5 z% e9 ?' @
  584. ; Example:
    / C; Z7 K( `& [5 m, l! M
  585. ;arg_separator.output = "&"/ z5 a7 Q8 ^' ]7 f+ N
  586. & _+ n0 I# Y2 p0 k; |
  587. ; List of separator(s) used by PHP to parse input URLs into variables.6 g! O0 Q1 t5 n8 ~/ w, B
  588. ; PHP's default setting is "&".. b+ A; V( h9 V
  589. ; NOTE: Every character in this directive is considered as separator!
    " y* k/ Q: t0 w- \# J
  590. ; http://php.net/arg-separator.input, ]/ D4 D7 C2 p6 D# c, f4 c
  591. ; Example:
    , L" V% e. C4 `& C
  592. ;arg_separator.input = ";&"/ o( g- H, b, h) ~3 B

  593. 6 }0 m% b3 c# j; T9 C) i
  594. ; This directive determines which super global arrays are registered when PHP0 m8 ^  e1 h. q' H3 v, A) |0 L
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    ( l' B/ K9 k8 A3 v% |! ]
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty, W! z$ W; E  U- ~; `: }, _( Q2 Y4 Y
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    , J) A) W' G; l1 q& j& N
  598. ; used as the others, ENV is not recommended on productions servers. You2 {5 Z2 i' X" e2 N+ C0 U( L
  599. ; can still get access to the environment variables through getenv() should you. s% f# |0 M  U5 ~0 B" ~$ S
  600. ; need to.
    ; E4 B% `: ]* t1 n, d& E
  601. ; Default Value: "EGPCS"
    " W5 r; d, r1 s% _
  602. ; Development Value: "GPCS"1 E2 [: d5 S. _/ Q$ r3 X" U
  603. ; Production Value: "GPCS";. U: `+ W% N3 X& H5 h, d7 H
  604. ; http://php.net/variables-order$ C- g. b4 r) ]% p0 U- T# W
  605. variables_order = "GPCS"
    ( ^7 _5 J/ N% j- S
  606. 3 }" e/ W" }  o. K& y' ~
  607. ; This directive determines which super global data (G,P & C) should be5 z0 Q; b, i, O1 h9 e" Y' s
  608. ; registered into the super global array REQUEST. If so, it also determines
    ( I* P2 Y! z. @; T
  609. ; the order in which that data is registered. The values for this directive/ r; s2 r$ z5 d. K9 V
  610. ; are specified in the same manner as the variables_order directive,
    ! r& Z# v; d, X. w
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set. T8 ^  N  J/ v4 c  x* Y& L0 t) t" J
  612. ; in the variables_order directive. It does not mean it will leave the super6 n* a" t! y. I8 d$ {! O
  613. ; globals array REQUEST empty.+ `; o: V2 b7 A2 m9 }+ x$ u
  614. ; Default Value: None
    8 k# W  ]! n+ B' G! ~/ d- Y
  615. ; Development Value: "GP"
    5 g5 s) `0 O+ [( E/ S
  616. ; Production Value: "GP"
    * G4 e2 R7 Q; s8 D/ \/ \) P
  617. ; http://php.net/request-order
    8 U% |5 z- {8 x. _3 d+ d
  618. request_order = "GP"! \" K# [8 v; V: D2 u; I/ R: f7 e

  619. # e( [; W! C8 E7 {1 y! U
  620. ; This directive determines whether PHP registers $argv & $argc each time it( f& B+ H% D, _9 G0 q7 z) N) O
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script% @" D' ]& U5 }  M+ `/ t# |4 G
  622. ; is invoked. $argc contains an integer representing the number of arguments) q. }8 y" B3 _1 q6 y$ H+ H; P
  623. ; that were passed when the script was invoked. These arrays are extremely) x& e' m$ q& J: c6 x: U
  624. ; useful when running scripts from the command line. When this directive is! q) n9 h/ p( D# |* t
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    * C2 v4 r( n" @$ u3 ~  E
  626. ; a script is executed. For performance reasons, this feature should be disabled
    % M) H; x3 r/ s0 g" a% ]
  627. ; on production servers.
    ' T( Y& Q% s  a8 z
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    2 Q7 \8 Y( H5 K, d$ N
  629. ; Default Value: On
    1 k% |1 c5 i% k; x3 A
  630. ; Development Value: Off3 Z$ e7 B+ ], U4 ]
  631. ; Production Value: Off
    8 b/ \1 |' y" _' x" g; N1 n
  632. ; http://php.net/register-argc-argv
    $ u! Y: X7 L# W% j7 N% E
  633. register_argc_argv = Off; ~! E- |* K% f+ [! ^4 w

  634. - m# ^9 b- d# @# I
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're( v3 E/ `; ?( _' o- ]; ]5 b
  636. ; first used (Just In Time) instead of when the script starts. If these
    8 d& K1 y# x* ^4 b9 k
  637. ; variables are not used within a script, having this directive on will result3 q6 G$ x: L4 K$ D1 _
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled8 w) s7 \# H3 H# @$ e
  639. ; for this directive to have any affect." O. k, U0 O0 i  M! v
  640. ; http://php.net/auto-globals-jit
    , w. ?3 l" f! W& Z- M! ^8 G# F* n
  641. auto_globals_jit = On
    - X4 {; i: M  |8 ^! A1 ~+ a" U
  642. 0 @% ~& K7 U; P. i7 b
  643. ; Whether PHP will read the POST data., s2 j0 c4 Q+ ~) N9 Z
  644. ; This option is enabled by default.$ i$ b8 I3 P8 h* w; z
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    8 ~$ |/ A  c- Z- N  l
  646. ; and $_FILES to always be empty; the only way you will be able to read the+ w; T) ~1 M( e: N% o; E- z& n
  647. ; POST data will be through the php://input stream wrapper. This can be useful" |" x* i3 P# O4 V
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    ! v1 ?3 _0 j2 y, P
  649. ; http://php.net/enable-post-data-reading
    ' ^$ V$ U! Z# z+ Q+ b) S9 e
  650. ;enable_post_data_reading = Off. i( Z$ ?3 f4 o2 p2 H" m# k9 @
  651. % W% O, t- D* n2 c
  652. ; Maximum size of POST data that PHP will accept.
    / S' @5 O. `* X0 {0 G) p8 m  m5 f. F
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
      m/ a: l) i9 C8 E$ a6 q* s, N4 v, _
  654. ; is disabled through enable_post_data_reading.
    3 U% _3 U7 |9 u4 \. q
  655. ; http://php.net/post-max-size- h- m1 z: `$ @; m# h
  656. post_max_size = 50M) f3 a5 O! O$ V5 F9 A9 U
  657. ! m; N# e5 E8 q" |. |: @+ W
  658. ; Automatically add files before PHP document.8 K' y" A, W! U; y5 x( V* i
  659. ; http://php.net/auto-prepend-file3 T# Q- ~3 _0 p2 ?; G7 }0 m
  660. auto_prepend_file =+ p# B0 ]6 ~" m9 F" }

  661. 2 Y( `! Y/ `! x, l; I, u, ]4 Q( r
  662. ; Automatically add files after PHP document.1 \$ G4 e4 r" x; c6 K
  663. ; http://php.net/auto-append-file# ~0 n$ w' Y% q" A- F
  664. auto_append_file =3 l- L5 a" v8 }) N6 J+ i! R! K6 y

  665. ( B& w: V, J% a6 U2 a9 u
  666. ; By default, PHP will output a media type using the Content-Type header. To- Y8 w2 P; j3 b2 X4 ^" x
  667. ; disable this, simply set it to be empty.! j+ W5 @4 X1 b" E: @& f) l" v
  668. ;
    8 X( n! J% E3 ], O& m) p5 S
  669. ; PHP's built-in default media type is set to text/html.
    * ?+ @* t: u. G' O, E8 U+ w
  670. ; http://php.net/default-mimetype
    ) a5 W* H; R- i) O- Z/ M
  671. default_mimetype = "text/html"
    # C9 l( d$ G/ B6 }
  672. 0 v3 v: t3 p8 ^- q  R& i: C/ v
  673. ; PHP's default character set is set to UTF-8.9 ]5 B; k" L2 ^) J
  674. ; http://php.net/default-charset
    ( x5 @! p( @" C" y6 T
  675. default_charset = "UTF-8"1 R+ M- b( C' h1 r
  676. 9 |% s- G( \' s/ ^/ u. m- L
  677. ; PHP internal character encoding is set to empty.  h5 r  J: K, [4 a0 z
  678. ; If empty, default_charset is used.4 q; v6 C' ]& D' E2 U0 F
  679. ; http://php.net/internal-encoding+ M5 }) ?! N+ T: S5 v
  680. ;internal_encoding =) J: X! q5 L, e9 O" e5 T; F

  681. ! ?3 j5 I; R1 E( I  m$ {0 D
  682. ; PHP input character encoding is set to empty.0 c3 g$ h9 l; v8 Y' \
  683. ; If empty, default_charset is used.
    + p* `3 F8 B9 f, e  T
  684. ; http://php.net/input-encoding: Y3 y* @9 F6 W. y. o; m
  685. ;input_encoding =9 s! C5 v; ~3 m, Q" z8 W
  686. % @' R, r  t' d1 \/ d; p( A
  687. ; PHP output character encoding is set to empty.
    ) x2 h3 V9 t3 t
  688. ; If empty, default_charset is used.1 r7 E) I3 x5 J6 W5 g0 ^. Z7 h! j
  689. ; See also output_buffer.+ ~  U' Z( i( L
  690. ; http://php.net/output-encoding! B- h- I9 F* o1 I. x3 h7 R
  691. ;output_encoding =3 j' ?1 o- W7 V/ W, \$ J
  692. 6 J4 m7 C* c% p+ w$ A
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    # c" m9 T( B$ P+ V0 J; z: `6 y
  694. ; Paths and Directories ;
    / y# X( X" `/ }* t  ~6 n5 G
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    3 `  A( M. ?- A. P! h+ n
  696. 0 p9 O+ s: y. |
  697. ; UNIX: "/path1:/path2"
    ; J* }. ^1 f9 V' f) q2 M* ^3 Q" k
  698. ;include_path = ".:/php/includes"% ^+ R* m: F+ R9 S
  699. ;
    0 x9 a$ C) d! J2 b
  700. ; Windows: "\path1;\path2"% f0 B3 \' H1 ?5 G5 M6 p2 d
  701. ;include_path = ".;c:\php\includes"
    2 d6 n; ]" \0 r* ~
  702. ;9 N  j5 P" J: q! ^* Y
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    $ J' h# I, r! w2 g  A, Q
  704. ; http://php.net/include-path
    - E/ L5 ]+ S! o# W. h2 q% U
  705.   f3 M' P9 M3 h
  706. ; The root of the PHP pages, used only if nonempty.
    ' ^: a# K% w  M, `5 o# z
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root/ V- H. Z* C6 Q; ^" t
  708. ; if you are running php as a CGI under any web server (other than IIS)
    % c$ s9 @: |2 s  o/ J
  709. ; see documentation for security issues.  The alternate is to use the
    5 b+ B2 q. q, F$ Z
  710. ; cgi.force_redirect configuration below
    + m/ {& z* r2 G/ y3 S7 v7 x+ F
  711. ; http://php.net/doc-root3 V( O- M: `* C9 k; t3 K( y$ S
  712. doc_root =
    1 z+ Z. \. k& ^7 n2 N7 P, T& h
  713. 9 n! h3 ^4 R% u. ^2 |5 v1 {, D
  714. ; The directory under which PHP opens the script using /~username used only
    2 ]/ X* \. M5 _; h/ o) F* A, C8 i
  715. ; if nonempty.
    & Y" ^' o1 e# Z0 T. B0 y6 I! e
  716. ; http://php.net/user-dir9 @0 d2 J7 z2 \; H0 m
  717. user_dir =- f' B; @( r4 |: b" g) u+ M
  718. ; R8 s0 p* t5 Q; L: E
  719. ; Directory in which the loadable extensions (modules) reside.2 t9 S" c& [# h
  720. ; http://php.net/extension-dir
    0 s6 G) h& c) l
  721. ; extension_dir = "./"& g8 D1 t6 h' x5 L. U8 s& }
  722. ; On windows:7 \- l# i+ l6 J& h) w6 g! z
  723. ; extension_dir = "ext"8 E6 x+ m) z( l. F  @! F" p8 p
  724. 6 ]' N+ ]/ D& @9 R1 w
  725. ; Directory where the temporary files should be placed.
    + _. Q) u7 I5 u; a" `( ^4 P7 k2 |
  726. ; Defaults to the system default (see sys_get_temp_dir)6 ?' w, I* h2 I8 `' r
  727. ; sys_temp_dir = "/tmp"7 q" @! j# v+ O4 L
  728. 0 I4 [# E% r6 C# o
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    , S* f6 W( p" z5 W/ R& o
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically9 S( W8 d  J+ K5 n2 }
  731. ; disabled on them.) A7 K. D) Y: s9 ?/ s
  732. ; http://php.net/enable-dl
    - X: n8 l1 ?3 H& D9 e8 P
  733. enable_dl = Off' D4 e  ~3 T* w! R. K

  734. 2 S4 `' j$ g8 h8 e8 [; D4 M
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under. y: K' B2 h& k! j- O% h
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can! o( W' X4 w; S. d' {. K( q2 j  r7 t
  737. ; turn it off here AT YOUR OWN RISK; e* [: m3 E: R# B% B- r: p% }! m
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    3 p- o3 y" e7 q# f. b& N. ~6 h5 Q
  739. ; http://php.net/cgi.force-redirect
    % G# x" _1 J6 S/ _
  740. ;cgi.force_redirect = 12 q$ M& ^& J# @1 p6 D& l
  741. & z7 f/ w9 [! u& r& w% A4 U
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with6 n9 h3 b  w6 @3 [6 E4 `! n. P
  743. ; every request. PHP's default behavior is to disable this feature.
    " ~7 q. ^1 Z# k5 J3 T! A
  744. ;cgi.nph = 1
    0 I. ?( L& u" }
  745. ( j8 ]% n5 A; J. f6 D
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape- H- j5 l  r- N+ v9 \( L
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP1 W3 K9 u! m6 Q8 H5 E
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    0 @0 H# v# V* Q5 m0 {
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.  O0 R' x- z& N& j# y" q0 |5 M
  750. ; http://php.net/cgi.redirect-status-env6 A" c7 Z" }! h/ c2 h
  751. ;cgi.redirect_status_env =
    * R3 n* \% j- f  V0 t3 Q

  752. 7 n% S6 h$ s3 j5 B: U6 v- W
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's4 H4 j4 c+ \0 ?) \2 o7 y" l7 @. |
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok* @/ C7 S/ b0 D% P. P5 W5 f; ^
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    ( L- t( f4 z5 A- {2 x
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting) K/ ^7 K! D6 N8 d% r7 X  w
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts8 L0 v* F7 F/ \6 M& a! P
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    ' Y9 O( ]( ^, u4 q* |
  759. ; http://php.net/cgi.fix-pathinfo; m! ?' h- c9 @# ?& V
  760. cgi.fix_pathinfo=16 q. M* y! x' v! H0 S* E& r" ~; m
  761. - B7 T( K. y9 ]3 `9 \. `- c
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside! c" e: f- V/ ]9 i5 [  y% t
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    7 M+ d# p. t$ ~2 I
  764. ; http://php.net/cgi.dicard-path
    # \" X( I  Q& Y$ L0 Z
  765. ;cgi.discard_path=1: @2 s' t- |- r& R! S" i- X
  766. 0 n5 f; N. n3 ?8 Q! j
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate. O1 P7 J6 n% S; g) S8 O
  768. ; security tokens of the calling client.  This allows IIS to define the
    ' {# o# c1 r0 x- E
  769. ; security context that the request runs under.  mod_fastcgi under Apache3 l1 V' \1 Z1 ?4 J: {
  770. ; does not currently support this feature (03/17/2002)& h8 K* \) c4 @% `4 u
  771. ; Set to 1 if running under IIS.  Default is zero.3 G+ E7 s4 ^9 ]3 h2 H& s
  772. ; http://php.net/fastcgi.impersonate
    ' X% H' E- b. n  \2 F
  773. ;fastcgi.impersonate = 1& B  g& o4 o7 ^! \' F& B

  774. % _7 Y& H4 A( v! V: }+ w: f+ ?
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable# Y! T- l  T& Z" z6 w
  776. ; this feature.) Q. E: U1 }1 m7 S* t  Y# {& n9 _
  777. ;fastcgi.logging = 04 H2 y+ H; `" r6 q$ r8 g

  778.   u- p6 L! T% `5 ~* [
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to; @1 H# q$ M% F
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that( w% t  l. F, ?
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    ' E. B. ]5 N2 N" R) V: X+ F" i& S
  782. ; RFC2616 compliant header.( X/ T/ U) A6 d' R" H+ Y
  783. ; Default is zero.1 ~# {3 r! Y- B3 g3 f
  784. ; http://php.net/cgi.rfc2616-headers- o' X( H0 d" J2 ^/ i: w
  785. ;cgi.rfc2616_headers = 0
    $ {% ~4 W  A" l
  786. ) ]& j3 Z7 a' ^" q5 g
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!) [: W& V, W: _  a5 Q
  788. ; (shebang) at the top of the running script. This line might be needed if the& l3 T. G- A) p7 {$ Q
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI# X' N6 w2 H# ]0 K! k$ u
  790. ; mode skips this line and ignores its content if this directive is turned on.
    ) p4 t! _2 {$ q6 U8 m9 k
  791. ; http://php.net/cgi.check-shebang-line
    . t* x: U/ G9 v8 [2 R
  792. ;cgi.check_shebang_line=10 ^; L' I. B, X! h( B7 ^! H

  793. 4 o. L& S! M, O& ?5 ^
  794. ;;;;;;;;;;;;;;;;
    # K. V) o. `" l4 P7 v' i! c
  795. ; File Uploads ;5 `& M2 r8 X0 p: g9 d5 P
  796. ;;;;;;;;;;;;;;;;% g7 W( I4 V$ }+ D

  797. / m% v, Q* B+ F* |6 W) B. o" P: g; p" J
  798. ; Whether to allow HTTP file uploads.
    # M# W# c1 [; K
  799. ; http://php.net/file-uploads) ]  P- E0 K& d( |* O
  800. file_uploads = On, k3 t$ L1 s3 K9 U

  801. " n8 p. J2 y+ j
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    ' e. i! g! w' E% ], T
  803. ; specified).
    : j$ ]0 l' \" h/ Y% A
  804. ; http://php.net/upload-tmp-dir
    $ b( \+ Y9 s5 [. a' Y
  805. ;upload_tmp_dir =9 Q- f/ E% y+ r0 o% L. P) N) J7 R5 _

  806. - J  |1 c. o1 P
  807. ; Maximum allowed size for uploaded files.
    5 X1 J9 Q9 D3 A, ^
  808. ; http://php.net/upload-max-filesize
    % A% Z2 j/ `) m8 S
  809. upload_max_filesize = 50M, F! D3 d0 J- _6 ?( b8 M9 U+ ^7 H
  810. 0 s0 O5 i& v! L
  811. ; Maximum number of files that can be uploaded via a single request# A6 }+ ^6 g) H1 G; c
  812. max_file_uploads = 20
    % A+ F& s) F" G) R

  813. & @* j! r6 u6 l+ I+ ~# R
  814. ;;;;;;;;;;;;;;;;;;4 o$ D$ P: }- Q4 |/ p& [
  815. ; Fopen wrappers ;
    $ g+ H$ R) ?/ b6 u
  816. ;;;;;;;;;;;;;;;;;;
    . K7 _% K1 ]. \3 M! o* ~* ]

  817. + k$ m9 m$ U! c; H. f
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    . s5 F. k" J7 p; Y8 V* W! k
  819. ; http://php.net/allow-url-fopen  A0 S0 k) o) v* r( I1 Q
  820. allow_url_fopen = On' y2 u4 _$ [+ H# f; }% k$ }

  821. 6 g7 |! h, ]- K' d
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.1 z/ e! M4 R# b  i
  823. ; http://php.net/allow-url-include
    $ [8 g/ g2 N6 N3 j' H$ f
  824. allow_url_include = Off) w* ?, K9 q( y9 J! B) w
  825. , _- e. s; m  M+ C
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    $ H4 j: r( n  j9 g) f$ |3 q
  827. ; for this is empty.
    # V! K" ^2 {- T* l; v; n/ {) i! U
  828. ; http://php.net/from5 R2 a( H* K9 V) ]& b/ Y2 M
  829. ;from="john@doe.com"4 ]: `4 v) R# j% l" s
  830. $ Z* `* J" R% T6 Y* ^; F+ ]0 `) s
  831. ; Define the User-Agent string. PHP's default setting for this is empty.  O, i, w; N. M  c0 h: p! [$ S! ]
  832. ; http://php.net/user-agent8 n$ _: _3 \, w  q
  833. ;user_agent="PHP"
    % h' o5 I( G( ]) J& e
  834. 8 |* F3 V$ z/ |1 E
  835. ; Default timeout for socket based streams (seconds)
    / Y+ k1 h. E! q* W( m$ z9 I. R1 ]
  836. ; http://php.net/default-socket-timeout
    ! y4 b7 v/ E5 E# A3 s: V& a  r/ ~1 F
  837. default_socket_timeout = 60
    : s2 Z! K2 D1 o4 ]
  838. 1 U& ?# ^6 k2 j2 b3 z
  839. ; If your scripts have to deal with files from Macintosh systems,) e! D4 ]  i6 M+ U9 M
  840. ; or you are running on a Mac and need to deal with files from
    . p- J: {' f! |+ p4 {
  841. ; unix or win32 systems, setting this flag will cause PHP to2 e: r& C5 v! X7 H  C
  842. ; automatically detect the EOL character in those files so that
    ! }+ @7 O# v! p% x& i+ J5 D
  843. ; fgets() and file() will work regardless of the source of the file.
    / b& \5 ~9 N% z, a9 n+ ?  r
  844. ; http://php.net/auto-detect-line-endings2 B; A6 \# R+ \+ t
  845. ;auto_detect_line_endings = Off
    : G  _/ o# Z, S& K+ \
  846. 1 p4 A' A6 f$ m! g! q& _
  847. ;;;;;;;;;;;;;;;;;;;;;;
    4 ], @# x8 p7 }+ r
  848. ; Dynamic Extensions ;; S8 g9 o. C3 o  G/ Q( _
  849. ;;;;;;;;;;;;;;;;;;;;;;
    - E  o) E$ W" |  c
  850. ) D6 o5 O) g7 R5 s. h
  851. ; If you wish to have an extension loaded automatically, use the following" Y& k% @, Y" E8 U5 ?
  852. ; syntax:
    4 N: z% V' z% e6 M5 ]& {9 O
  853. ;
    . A+ H* Z. F4 m6 P! b% a
  854. ;   extension=modulename.extension" c2 W# k5 ]" O* p$ [/ c/ v
  855. ;
    # @+ Z$ m6 @, V) c$ L+ o4 X
  856. ; For example, on Windows:$ V3 p1 m8 D& w- M! _5 a
  857. ;
    , U, M- e- }) Y. O+ O
  858. ;   extension=msql.dll
    + U+ k1 ^+ S5 q" K! ~( m
  859. ;$ P* I2 [6 b! r
  860. ; ... or under UNIX:
    ) o7 h; v4 {, ^, C# S' ]
  861. ;4 u% N5 V$ }! _4 s5 |& k
  862. ;   extension=msql.so9 W9 D/ s/ w* B! d7 F
  863. ;
    1 L- v* q5 C  J( ]/ @$ h/ V
  864. ; ... or with a path:
    - o  r/ p4 g* T% S8 l/ G8 W: F
  865. ;+ s! h6 L0 s! J2 ]/ t/ x1 }
  866. ;   extension=/path/to/extension/msql.so
    9 v# q! p6 ?. N. T0 v
  867. ;
    ' A! F8 g( F. {
  868. ; If you only provide the name of the extension, PHP will look for it in its& M4 z$ s+ [' g: w
  869. ; default extension directory.* _; a3 i4 y( E3 Y) L& v- k
  870. ;
    & m9 [% E* M  N
  871. ; Windows Extensions" F, w2 u$ E6 O9 W7 I9 T
  872. ; Note that ODBC support is built in, so no dll is needed for it.& S6 L; X- y2 Q1 y, R. T+ @
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+); M0 N/ p5 V9 Q- K" }5 j# O& k- X
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    ; f5 x# Y/ S8 I# b
  875. ; Be sure to appropriately set the extension_dir directive.
    " `  ^, n/ \2 s4 q5 T+ m
  876. ;
    # a- B- j+ j4 ~4 t" w  \
  877. ;extension=php_bz2.dll3 }) `, o) T, O6 i/ D" q' I
  878. ;extension=php_curl.dll2 P/ G$ G4 v. l* u. L3 w8 p! ]
  879. ;extension=php_fileinfo.dll
    8 U- ?! F3 B) ^! t7 N2 l
  880. ;extension=php_ftp.dll3 T8 }, y. e0 M$ j2 h
  881. ;extension=php_gd2.dll
    1 {4 g: ?  K- O& {% s0 u$ x: h
  882. ;extension=php_gettext.dll
    8 j7 I, o  Y# y) b$ I/ r6 W
  883. ;extension=php_gmp.dll* \* \3 p4 Z6 ]" X0 _: c+ K
  884. ;extension=php_intl.dll
    1 @9 _) A, K8 R, z2 y# R1 f0 U
  885. ;extension=php_imap.dll9 j6 G) f4 M" h9 G+ N. Q/ S4 q+ i
  886. ;extension=php_interbase.dll
    1 _" F: Y5 y. J  V, }7 O
  887. ;extension=php_ldap.dll% R* Z* _! t" ?# G
  888. ;extension=php_mbstring.dll
    " W* c0 P4 ^. T# h! B% V# H$ Y
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    * M+ H. D3 u6 s3 g6 U% `
  890. ;extension=php_mysqli.dll
    2 z1 o9 x8 ]. I8 g2 M7 g' Y
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client+ c. w7 u4 J# L( e( y  C: d  l1 l) }4 d
  892. ;extension=php_openssl.dll) c2 Y/ m9 C: j0 C' q6 O
  893. ;extension=php_pdo_firebird.dll6 b3 N' i0 l5 t
  894. ;extension=php_pdo_mysql.dll# ~  |: w: H, f) H3 J9 W4 F+ j
  895. ;extension=php_pdo_oci.dll" ?. c9 T1 a% A( ]8 k
  896. ;extension=php_pdo_odbc.dll
    6 W' U. D1 d. B* c4 b6 s" Q5 p
  897. ;extension=php_pdo_pgsql.dll/ S) D. M# O( h, o( P) }
  898. ;extension=php_pdo_sqlite.dll; i- U1 O* v8 D) N7 M
  899. ;extension=php_pgsql.dll1 k! {% C( F+ @$ F, ^! {
  900. ;extension=php_shmop.dll1 s! g  s! N- x4 d
  901. - r3 K+ U' H$ F- c
  902. ; The MIBS data available in the PHP distribution must be installed.
    2 E  [" Z9 d5 |" C
  903. ; See http://www.php.net/manual/en/snmp.installation.php+ A! v6 @  F" ~  z
  904. ;extension=php_snmp.dll
    , @2 S  r# m9 f. }0 \
  905. 4 x- _& m8 n0 U; f+ t" d% o
  906. ;extension=php_soap.dll
      f5 E: ?  b6 d( ]7 |3 G- y6 q9 `
  907. ;extension=php_sockets.dll
    ) o6 T$ Y1 V# o+ ]
  908. ;extension=php_sqlite3.dll
    0 a3 C! @6 o: {) ?
  909. ;extension=php_tidy.dll
    . S* ]7 V3 E2 s
  910. ;extension=php_xmlrpc.dll4 l: o& a# y8 s
  911. ;extension=php_xsl.dll
    5 M4 f6 V( y4 L5 j; u

  912. 2 f3 _6 W' i- t0 c- ^
  913. ;;;;;;;;;;;;;;;;;;;
    6 O: q; J% z, h: m
  914. ; Module Settings ;
    ' w& ~) n# D$ |2 \2 Z+ F. U3 R/ t6 i! O
  915. ;;;;;;;;;;;;;;;;;;;
    7 @! d: b' l3 P
  916. , l+ D- a  v% O  u- i* H$ G
  917. [CLI Server]; a& `: `$ F1 n
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    8 x; `* s$ _* w4 L) d
  919. cli_server.color = On
    5 l% {" W# ^+ d
  920. 6 n4 x% U$ r& Y/ o8 w
  921. [Date]2 j$ n5 \9 Z, Y% l" P
  922. ; Defines the default timezone used by the date functions7 m5 `! v1 A* V" e
  923. ; http://php.net/date.timezone
    9 c# ?8 q# t6 N/ T' K
  924. date.timezone = PRC! z4 b3 I) N/ v

  925. ' c% w- u% m, e+ T, P7 W. Z
  926. ; http://php.net/date.default-latitude- D7 y' c3 u9 o9 `3 _/ A' N- l
  927. ;date.default_latitude = 31.7667
    & [$ z+ m7 J0 j  W5 d  S; _
  928. * v1 B' H2 I# H& _; p
  929. ; http://php.net/date.default-longitude
    * ?# V/ }/ |/ D% A
  930. ;date.default_longitude = 35.2333! A) b) t+ R2 {& N) Z* u

  931. $ W) q5 k4 o8 r' h  r
  932. ; http://php.net/date.sunrise-zenith+ z! ^3 O7 Y; V' k% q
  933. ;date.sunrise_zenith = 90.583333
    $ D8 w$ V; Y2 J0 r: o9 z4 g5 |
  934. ! Q, K' R) ~5 i1 a
  935. ; http://php.net/date.sunset-zenith- ?0 q6 h, S  i8 P
  936. ;date.sunset_zenith = 90.583333* K( h# Z3 Z4 `& ?' l# o, p

  937. : _: ~6 G% f+ Y0 r" K# i
  938. [filter]
    ' S7 t% |% j5 ?! ]  B
  939. ; http://php.net/filter.default
    " D3 C7 G  ~% L& A  s
  940. ;filter.default = unsafe_raw( w% l" t( U% _. ]8 s  F7 o4 m
  941. ' x: d: H0 F7 Y; D
  942. ; http://php.net/filter.default-flags
    + u4 f1 N% O& p6 F3 y6 N
  943. ;filter.default_flags =5 V5 p2 g) p1 O9 z1 T" Z

  944. ! T9 G8 }. A$ o$ ^& l% K0 }
  945. [iconv]
    ) e' a/ z! ?3 m5 L6 a& C! n+ O* e
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.2 z& L  p- _2 I' o: m
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    4 _0 m4 R/ I& S' Q! [
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    + ]/ |. z4 C/ V# w( k6 }
  949. ;iconv.input_encoding =
    " Q" T- `9 H# }: I9 ~1 b

  950. ! D5 l2 h% S* u- l* L" R8 T8 R
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    9 Q+ N* e" {4 W( T+ E' \4 J) K7 A
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.# v. Y) H* L5 D, {
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding9 A' o) D1 ]5 b4 H* |
  954. ;iconv.internal_encoding =) e) T7 o. y, s) \& C9 |6 e

  955.   Y- w- K9 Y6 O0 h6 D
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.' h/ Q  t  @% ~* A% ]+ N6 J) Y$ b! L
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    ' w8 D2 C9 x3 [8 k/ H& `3 I, v
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding' V8 A5 r: [3 d& x* D
  959. ; To use an output encoding conversion, iconv's output handler must be set
    7 M) ^6 M7 s  j# E
  960. ; otherwise output encoding conversion cannot be performed.# L3 c' O* R+ \: ?7 u1 z1 B
  961. ;iconv.output_encoding =
    ' N6 \  ~  L5 \! o) m0 a! i! s

  962. 9 T' l; A7 |1 I: A
  963. [intl]
    2 d3 {; h# S, k% C
  964. ;intl.default_locale =
    . l: T2 `, Q& u9 I; }* H
  965. ; This directive allows you to produce PHP errors when some error0 t6 k. I+ D3 h3 c* _" [9 }- B+ J8 T
  966. ; happens within intl functions. The value is the level of the error produced.% D% Z  K) J0 F3 M( C& B
  967. ; Default is 0, which does not produce any errors." {4 {9 u5 B: e% J
  968. ;intl.error_level = E_WARNING
    : A% I6 o8 O+ r% H) k" b+ ^, C
  969. ;intl.use_exceptions = 02 j" |* E5 g* l, u
  970. $ B2 j' E% y; H8 M
  971. [sqlite3]) @6 n- L4 E! L! o% G$ w$ K9 D
  972. ;sqlite3.extension_dir =
    & M6 P3 \& O, X. W  A9 A0 L* e

  973. / \5 _0 J4 |+ ?
  974. [Pcre]
    3 Y0 P. X3 _6 l4 S" C( J
  975. ;PCRE library backtracking limit.
    3 F" T9 ^! t; G% F& a9 K
  976. ; http://php.net/pcre.backtrack-limit7 y% Z# D! J, T' E' H
  977. ;pcre.backtrack_limit=100000
    9 o0 `# I1 V9 A0 l9 Q

  978. $ S: ]6 }# b, t3 }
  979. ;PCRE library recursion limit.; k5 D4 T4 ^% d
  980. ;Please note that if you set this value to a high number you may consume all( s# M# {$ m0 c
  981. ;the available process stack and eventually crash PHP (due to reaching the
    . S! f+ P+ q; j  A7 L- t( L
  982. ;stack size limit imposed by the Operating System).
    ' r4 W6 ^, m8 M$ n+ g& ^9 ~/ T
  983. ; http://php.net/pcre.recursion-limit
    , O1 _* n4 _+ u: L! ~& ]% ]2 [+ Q
  984. ;pcre.recursion_limit=1000007 V4 r* h; S: h/ \( X

  985. 0 {0 w& l, U. S- r
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    6 z; Y: E+ Z8 J( A
  987. ;library to be compiled with JIT support.
    & \1 Z. r! i4 ]0 g9 Z
  988. ;pcre.jit=1& w& F+ p8 c& [
  989. ( F' W3 ~" Q8 g$ i& E$ Z- H6 t
  990. [Pdo]
    8 s4 T. ^1 Q/ u
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    7 j+ j* z0 `7 a
  992. ; http://php.net/pdo-odbc.connection-pooling
    , a/ |/ y9 |, ^
  993. ;pdo_odbc.connection_pooling=strict
    / K) S6 Y/ N* U& r

  994.   k1 Q* k8 }& N6 V2 z
  995. ;pdo_odbc.db2_instance_name: ^* ]5 R+ ^2 R) W: X$ h
  996. . c! }! A" X: I* d$ Q! d
  997. [Pdo_mysql]8 F* k5 L& V7 Y
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache! |8 d1 J2 U; V1 Y6 t; |2 d$ w
  999. ; http://php.net/pdo_mysql.cache_size
    1 Z& ~  y5 Y; G, \# l4 l( R5 T
  1000. pdo_mysql.cache_size = 2000
    ; m6 D0 U- _0 m& Q& ^1 h
  1001. 6 {  ], R+ N- q# K2 q
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    & O' [/ A4 D, M' }0 J( r
  1003. ; MySQL defaults.
    1 U; c/ B" {; s* t# u: o
  1004. ; http://php.net/pdo_mysql.default-socket
    8 ], N9 M# a' y% n
  1005. pdo_mysql.default_socket=
    ; H& b3 y8 `! c; T0 g7 K

  1006. : S7 b: E0 Z; \  W8 {7 I
  1007. [Phar]
    3 Q& K/ @$ @# U/ p$ L' u! `! f
  1008. ; http://php.net/phar.readonly
    * o# N, I& L9 b' O" R
  1009. ;phar.readonly = On! k# |& `' v% P

  1010. 5 ~; l8 [2 x* a9 y/ I  z
  1011. ; http://php.net/phar.require-hash
    9 A5 W" r3 N4 j
  1012. ;phar.require_hash = On
    ' z, O- z6 e* `7 D

  1013. 5 m$ `7 ^) F9 }& {  V) D
  1014. ;phar.cache_list =
    + I" ]8 q4 |5 d4 \% K) Q

  1015. 9 a; c5 d+ Q4 X5 g6 E% ]
  1016. [mail function]
    0 k; Z7 g0 S/ |
  1017. ; For Win32 only.) s9 J4 i7 ^$ v1 M; G& v6 Y1 [
  1018. ; http://php.net/smtp
    ( z: D: q6 x) m3 @
  1019. SMTP = localhost" D1 d5 S+ e6 f; ?- t9 G4 R6 b
  1020. ; http://php.net/smtp-port# M" s/ l4 G7 J3 R2 I! k
  1021. smtp_port = 25/ F, E. G# X# c2 B1 s0 O

  1022. $ H" s8 \9 u. O% d8 [' |' z" v# M
  1023. ; For Win32 only.
    2 A: x& J+ X& O* F
  1024. ; http://php.net/sendmail-from
    ! b2 q% E1 \" Y) C
  1025. ;sendmail_from = me@example.com- l. ?. R5 ]1 g8 Q- k/ v. N( [: r

  1026. ! `3 S# ~; Y1 w' ^
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").5 d3 n% b9 B4 Q$ R
  1028. ; http://php.net/sendmail-path
    2 i* R7 c1 X1 {" {- n# X: n( c
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    ; ?, d  P0 r: r1 {5 o. ?: b* H3 X9 X

  1030. ; p' ?. F3 p: m
  1031. ; Force the addition of the specified parameters to be passed as extra parameters3 T1 A9 B. L0 D
  1032. ; to the sendmail binary. These parameters will always replace the value of" [+ y4 V+ ?0 I- K
  1033. ; the 5th parameter to mail().! U7 a* b) I  M
  1034. ;mail.force_extra_parameters =
    7 |( C, y/ X6 M* ]6 I" e, A0 q

  1035. , I; S* _2 R4 C
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    ' [9 A, y- }, x; |
  1037. mail.add_x_header = On
    8 q5 W* D. y6 B+ r9 g
  1038. 6 ?8 P2 \- L4 X) V. r
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    ' u  B$ j/ c# `/ _% T, o, ^4 l
  1040. ; the full path of the script, line number, To address and headers.
    ( f1 G3 d+ K- W  ^
  1041. ;mail.log =; `3 ]# n! ~4 ^6 a, `) u5 B6 V
  1042. ; Log mail to syslog (Event Log on Windows).- ]+ f7 e- C! B0 `" i
  1043. ;mail.log = syslog
    , m9 y- e8 h% C- G2 o  K# d
  1044. 6 v" S* N. t1 |' I: l; [
  1045. [SQL]! p# F, ~/ w0 Q/ F! m) f
  1046. ; http://php.net/sql.safe-mode# \9 Y; u+ E) }% d
  1047. sql.safe_mode = Off  q: `$ d) q. d) C) G+ E' z& Y
  1048. * `9 }2 ]) J; d# c/ O$ z
  1049. [ODBC]
    . Y( Y. b3 l" `; o' l% K& r, Q
  1050. ; http://php.net/odbc.default-db+ Q0 ~4 _7 O% M5 {
  1051. ;odbc.default_db    =  Not yet implemented
    % B+ Q9 h9 v. J/ u& r. l
  1052. 3 w7 P; t0 L! c) ~5 b) R# i2 l
  1053. ; http://php.net/odbc.default-user- \% w1 q; p6 f& A! O1 i* x
  1054. ;odbc.default_user  =  Not yet implemented
    7 {* v* z! T- K$ i

  1055. 6 i" Q- U/ y& `5 S$ v5 T
  1056. ; http://php.net/odbc.default-pw3 z& y3 s6 j0 B# Y6 A/ t% U6 P
  1057. ;odbc.default_pw    =  Not yet implemented& w4 w6 @9 k$ f7 u( O

  1058. # }. T7 [% V, K
  1059. ; Controls the ODBC cursor model.
    7 M9 A3 s3 B$ C, q  b
  1060. ; Default: SQL_CURSOR_STATIC (default).
    % ]" w2 s& x0 x) b
  1061. ;odbc.default_cursortype/ _  W! o# \9 a0 G+ s7 n
  1062. & x. p2 a, G+ q4 x
  1063. ; Allow or prevent persistent links.* G9 _, y1 ]" U# y) z  o1 x1 U) r
  1064. ; http://php.net/odbc.allow-persistent
    ! V8 q9 t# ~. J5 q3 [7 Z3 o" |% b
  1065. odbc.allow_persistent = On# {8 y% Y3 a; b9 j2 w
  1066. 8 C6 m9 x+ T  Q
  1067. ; Check that a connection is still valid before reuse.
    + I. ]- a: F7 @; W6 g# v6 {
  1068. ; http://php.net/odbc.check-persistent& I- L% {1 r% h
  1069. odbc.check_persistent = On$ |% Z$ {' ]5 F( d! p' P0 Z
  1070. 4 V  E$ y" x1 D
  1071. ; Maximum number of persistent links.  -1 means no limit.3 S) }- H! L  g
  1072. ; http://php.net/odbc.max-persistent8 l  J+ k4 Q% \
  1073. odbc.max_persistent = -1: N& I% y" h+ t) ^/ W0 ~6 b; K* P
  1074. - t* w6 e  J9 r: r% U- p% A
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.8 F6 C& u, ?3 O
  1076. ; http://php.net/odbc.max-links  g( A6 i( q5 C( |1 Z* [1 R6 e
  1077. odbc.max_links = -1; D' i* U+ [; l# |8 }: s

  1078. 5 `6 h% N' s& {6 V' U( R; `: d
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    ' N  X6 T$ o- ]; ~
  1080. ; passthru.
    * P" H1 l. x; \, z1 g4 L
  1081. ; http://php.net/odbc.defaultlrl
    % `5 T$ H3 f+ y$ ~" p( W! |
  1082. odbc.defaultlrl = 4096
    6 a, w4 D$ k9 T. Q0 k" X3 t  z

  1083. & ]' I: b7 i6 O9 K0 s' i
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.2 G$ r3 |6 z! f2 e
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation) z4 v& `( h/ V# k; I# J* ]/ B/ r
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode: M! y7 a9 {# [9 L/ n5 w0 J( c
  1087. ; http://php.net/odbc.defaultbinmode( L/ [4 E1 c9 X6 b1 o2 c" j
  1088. odbc.defaultbinmode = 1  t; Q9 ]6 k2 O2 K
  1089. 6 ~; i: Q" r! s* y$ ]3 @
  1090. ;birdstep.max_links = -1
    4 |( H+ S# L# S- s4 M3 k* i2 P7 z9 _
  1091. ) k3 R  w* p2 k9 n8 M: N
  1092. [Interbase]; X, y/ m* v& [, J8 ?6 F' G% b
  1093. ; Allow or prevent persistent links.: q4 T5 J- \; }4 M  @9 E* X1 K- N9 m
  1094. ibase.allow_persistent = 16 }& g' V5 ]- O  s* ]( }4 H
  1095. 2 F# D1 n* c) T3 `1 Q# y: H  [
  1096. ; Maximum number of persistent links.  -1 means no limit.
    2 L4 M& b* }9 Y
  1097. ibase.max_persistent = -1. A0 d3 [: W+ L3 ]8 f0 @  l7 S
  1098. 7 |3 f5 k9 e# O9 H
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    " _$ o5 o& D9 \1 [, H4 D& T0 m
  1100. ibase.max_links = -1
    2 p" l8 T# d' P0 W- Z: {' g4 @
  1101. + Y% D" n. `* Y
  1102. ; Default database name for ibase_connect().0 s4 G. W* C. }+ X) Y, Q. w& f
  1103. ;ibase.default_db =
    : Y8 D. ~8 B% g  E

  1104. 9 _: @& C( _) S8 a, ?7 c
  1105. ; Default username for ibase_connect().
    % K$ P) i. {; X7 ?+ }" ~
  1106. ;ibase.default_user =
    9 v3 l/ {1 a9 d0 k( V8 n, m

  1107. " f+ a9 |+ Y5 Y1 q6 k. `$ o
  1108. ; Default password for ibase_connect().
    ! x9 P3 A0 Z0 L0 t
  1109. ;ibase.default_password =# ?5 A  v9 I/ M

  1110. + D$ T6 M; d+ j
  1111. ; Default charset for ibase_connect().
    " f6 X0 V' J. P
  1112. ;ibase.default_charset =
    " P1 S- [* k' @; }+ y) h

  1113.   b( N7 H6 J! R- K) j
  1114. ; Default timestamp format.4 p0 f- K: A) t2 z& j3 w# n. {
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    : M1 h) J6 W# m
  1116. 5 G2 K* `7 L$ U1 L! }9 M
  1117. ; Default date format.# S2 Y5 Q: K# o
  1118. ibase.dateformat = "%Y-%m-%d"  R/ Z% d: |. r; O

  1119. 5 C+ @) O' {8 i' m- {7 a" S$ w& C
  1120. ; Default time format./ I6 _( s; b9 j% x" v5 R
  1121. ibase.timeformat = "%H:%M:%S"' `4 {" V. I- o( A4 V2 d

  1122. 7 M5 r. p1 h& ^9 a+ v; f
  1123. [MySQLi]) F) R8 y6 b+ h; l: h
  1124. : l! h$ s0 J$ D+ l7 j1 ?" g
  1125. ; Maximum number of persistent links.  -1 means no limit.6 `" P5 J0 N: ~8 C3 v8 O
  1126. ; http://php.net/mysqli.max-persistent
    , W) K1 L4 ]- o* j
  1127. mysqli.max_persistent = -1
    % O/ {, [  r' i7 k
  1128. ( z- j7 \+ k) w
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements% u4 U: w. f3 S" n
  1130. ; http://php.net/mysqli.allow_local_infile
    : l1 |; s, V/ s1 h( @, i
  1131. ;mysqli.allow_local_infile = On
    , r" J+ m5 F" v3 J* p

  1132. 4 [# _5 @- f& J' Z; i: V7 m
  1133. ; Allow or prevent persistent links.8 j( p$ W* l3 u. P( z0 f0 W* _
  1134. ; http://php.net/mysqli.allow-persistent. Y4 G5 ^4 @- h/ R: P
  1135. mysqli.allow_persistent = On
    - b- u% `. J" G6 W: a
  1136. 8 |. B7 M4 s* f- v2 m' R/ @
  1137. ; Maximum number of links.  -1 means no limit.
    " h1 G  M9 e+ a
  1138. ; http://php.net/mysqli.max-links
    ; ^' g! K/ K$ O# S! c
  1139. mysqli.max_links = -16 h/ e7 \+ ~- E/ f4 P1 q0 G  ?9 T

  1140. # f5 c- ~9 E, A! K4 C' J
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    9 l* @# [4 J7 z9 q. e
  1142. ; http://php.net/mysqli.cache_size
    + G: U8 e- z- v
  1143. mysqli.cache_size = 2000
    2 X. g0 G: I3 T# e/ A5 E
  1144. 3 C0 c% [: O4 c( c/ p5 L/ i
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
      ~) [- Y6 I8 Y, O
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the- i; S/ d9 I( B# K5 T
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look! \6 N( U0 s- i( Z; O  h" e5 a: W( a
  1148. ; at MYSQL_PORT.$ g+ h3 k$ M0 y  u# D) K
  1149. ; http://php.net/mysqli.default-port7 l# s5 N, R: |0 M
  1150. mysqli.default_port = 3306- s1 C$ z0 b6 j! q3 ^0 F3 T; r

  1151. ( d% k" n+ P9 L; _# h. r
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in; g  u4 g1 d( c6 N4 ^) F
  1153. ; MySQL defaults.
    & m+ {- L& x5 S
  1154. ; http://php.net/mysqli.default-socket
    / I& J; F; p# g7 M0 @! A+ s
  1155. mysqli.default_socket =4 [8 w3 v) g* `% q

  1156. 6 i/ ?' I3 n/ L7 p/ c
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    . N& E" x: L/ H1 T. Q4 O$ T
  1158. ; http://php.net/mysqli.default-host
    ( v+ ~0 I& \, a  B1 U3 d+ C
  1159. mysqli.default_host =. W6 }& y' l% J: S, `
  1160. $ X* a0 ^( k1 z. o0 i+ n% V  o
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    ; c* \6 c" L" p7 C8 ~2 N
  1162. ; http://php.net/mysqli.default-user
    , e! S% v* |; s; B& x6 Z5 e0 C, X
  1163. mysqli.default_user =
    # k8 _+ `# ~! Y

  1164. + j$ _% k1 e$ e5 V5 H, y5 r
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    , b8 d7 c$ P' R7 l! r" Z: X3 i) S
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.0 j- ?0 f& s  e( i; v( i
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    0 ?$ ^! b) s6 Q  b# P
  1168. ; and reveal this password!  And of course, any users with read access to this
    8 @! R1 [4 O/ F* G2 [0 q) X
  1169. ; file will be able to reveal the password as well.
    4 o' o! q6 i2 b7 ]* T
  1170. ; http://php.net/mysqli.default-pw& h2 |) M0 @5 e, j. K
  1171. mysqli.default_pw =
    . k. ~( x# {2 W5 K: B6 }

  1172. % M3 w+ k& k9 K+ ?2 Z( m9 K7 s
  1173. ; Allow or prevent reconnect
    " g- Z3 P) V7 p9 ]
  1174. mysqli.reconnect = Off: u; I4 A4 L! I: @' ^# b- A" |+ s

  1175. ) w; l6 x  J2 \5 Y' k7 E$ o4 ^! M9 y
  1176. [mysqlnd]
    4 ], y$ b. C1 E$ p& \
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    " H, Z9 L3 F  |  @$ A
  1178. ; used to tune and monitor MySQL operations.
    % w% O8 D1 d* K( E$ c
  1179. ; http://php.net/mysqlnd.collect_statistics: k0 R2 f2 g' o3 j; g# J& M
  1180. mysqlnd.collect_statistics = On
    3 |1 t# d$ S5 p; g- K# g

  1181. * y' q0 S, D! u( N& p
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    & s; f6 h3 {9 r9 G! V
  1183. ; used to tune and monitor MySQL operations.
      D1 ~; v. j# T; L; ?4 P) q
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    + i5 S% t( w2 q7 V/ I+ q7 m$ s# p  P
  1185. mysqlnd.collect_memory_statistics = Off$ }) v" ^! p8 X: R

  1186. 5 U# h5 e( W! d( V4 F% U
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    % ]' c5 q4 k6 P6 j* n
  1188. ; file.6 g0 H  S1 S* d# a+ ?: u6 L% q5 }
  1189. ; http://php.net/mysqlnd.debug
    8 ?2 [, G/ q. S
  1190. ;mysqlnd.debug =
    ! i5 q( ]3 r6 t) P. ]) I

  1191. . O- |# p* D' C9 h5 P
  1192. ; Defines which queries will be logged.
    % _( E0 p1 A+ X
  1193. ; http://php.net/mysqlnd.log_mask8 n3 y' m) p. Z8 r) b1 M/ [
  1194. ;mysqlnd.log_mask = 0
    ' ?# H2 U4 B/ _, F/ C2 n
  1195. - F) U, ?( `7 M
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    $ ~1 ~" N7 Y6 u& p' m: C& G
  1197. ; http://php.net/mysqlnd.mempool_default_size
    0 g& a9 t! H: N  F3 q8 ?
  1198. ;mysqlnd.mempool_default_size = 16000
    5 g7 X& B& y% E" n
  1199. 2 r2 S+ T; X2 F% a# N0 O. e4 E! M7 s
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes., b& K, i# E% `0 U  d4 J% `
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size- k( a5 C% `* N0 L; }3 a
  1202. ;mysqlnd.net_cmd_buffer_size = 2048/ `7 T. N7 w) x9 x, F1 @/ U

  1203. # V. ]! Y- H& i- M' D
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    6 N( v  n# v$ n8 X: ~
  1205. ; bytes.
    9 P7 q3 N! t& k, l6 V- w" B0 ^1 S
  1206. ; http://php.net/mysqlnd.net_read_buffer_size' ]7 _$ l& v! Q; o
  1207. ;mysqlnd.net_read_buffer_size = 32768
    9 i' h3 t0 m) c! B& K9 p) h

  1208. 4 j: e9 J6 P2 a/ V& O, u
  1209. ; Timeout for network requests in seconds.. g2 Q8 O5 ^+ o& W# A
  1210. ; http://php.net/mysqlnd.net_read_timeout
    ; j7 ]: q; `3 \0 }2 R0 @
  1211. ;mysqlnd.net_read_timeout = 31536000
    , S& f7 o" p% D

  1212. $ k6 [$ a" l) ~' R4 t
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    2 W- m0 U  h! B" m) F' C
  1214. ; key.
    ( c6 _7 s$ r9 B/ \% u1 f
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    * Q# P. S# E5 c: d& U8 ?
  1216. ;mysqlnd.sha256_server_public_key =
    6 i4 Z1 }, t( V2 s1 X" h3 M: W
  1217. # ~6 A- C4 n6 T( C
  1218. [OCI8]
    : I+ i6 v* C' P1 i

  1219. & q" l* t. J$ z  s. \: l
  1220. ; Connection: Enables privileged connections using external9 Y2 p) ]% V/ D2 ?/ P
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    ' h5 P9 g, {) l& j. ~$ t
  1222. ; http://php.net/oci8.privileged-connect
    : A+ T. L7 @5 x1 E
  1223. ;oci8.privileged_connect = Off
      D/ N5 F  d6 m; V
  1224. " i+ G2 R2 U7 `( @0 |5 x
  1225. ; Connection: The maximum number of persistent OCI8 connections per& o" v/ L: b/ B
  1226. ; process. Using -1 means no limit.
    + W2 _$ R4 S, Z9 G6 n0 e( y4 f7 i( t
  1227. ; http://php.net/oci8.max-persistent2 H7 [, G3 E8 U+ L( T1 F5 Z
  1228. ;oci8.max_persistent = -1
    ( _0 m% F, R8 Y
  1229. 9 ^4 o+ }; u& x- ^
  1230. ; Connection: The maximum number of seconds a process is allowed to9 z' y5 d% G2 H0 R
  1231. ; maintain an idle persistent connection. Using -1 means idle
    0 Q: u6 C# j9 K% x# [3 u
  1232. ; persistent connections will be maintained forever.
    , Z- B% M; n* W$ K5 \3 d8 a# w) m
  1233. ; http://php.net/oci8.persistent-timeout
    + O. F  l* W  o3 a. b2 W% v8 T
  1234. ;oci8.persistent_timeout = -1
    % w! e9 C4 T4 b" u3 p% F" L) r- u

  1235. 2 F( K+ u9 ~* h2 |* L! m3 M& y
  1236. ; Connection: The number of seconds that must pass before issuing a/ I2 I( d. K: F) T# a
  1237. ; ping during oci_pconnect() to check the connection validity. When+ u# f; r3 y4 L* Q8 J
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    + f. b0 w0 \5 D4 X# m+ L+ x$ d! \6 w
  1239. ; pings completely.
    & M/ x& b+ X! g% i
  1240. ; http://php.net/oci8.ping-interval( |3 F  Q: @& B
  1241. ;oci8.ping_interval = 60) V# v. r. T, ?7 l; G& Q( x

  1242.   w) n; o  l+ J. ^0 D1 H. J2 s
  1243. ; Connection: Set this to a user chosen connection class to be used
    ! S5 I; a6 S5 i2 W, }/ U
  1244. ; for all pooled server requests with Oracle 11g Database Resident  f, \$ H+ [: s
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to5 K) e2 A: e% O
  1246. ; the same string for all web servers running the same application,3 [* H$ o% f+ o( u5 C  C+ U  F% [
  1247. ; the database pool must be configured, and the connection string must
    . O. }/ Z' |# @- R: G$ ]. S* c
  1248. ; specify to use a pooled server.7 O- l/ D; T4 y5 i
  1249. ;oci8.connection_class =  w$ Z% \$ u& x& i! M0 q# f

  1250. 7 Q% D& b/ d9 A! I" N+ B
  1251. ; High Availability: Using On lets PHP receive Fast Application/ E5 v3 w: r# y
  1252. ; Notification (FAN) events generated when a database node fails. The
    & Y  T& Z. @4 u
  1253. ; database must also be configured to post FAN events.
    . p3 @- H" [' P* J: X
  1254. ;oci8.events = Off
    : D" N) j9 e% O4 s0 [

  1255. 4 O* T# u& f4 n( o
  1256. ; Tuning: This option enables statement caching, and specifies how
    . j3 z: \# q% ^8 E9 ], q* c
  1257. ; many statements to cache. Using 0 disables statement caching.
    : z& w7 ~4 K+ \  q- e
  1258. ; http://php.net/oci8.statement-cache-size
    % \5 ?  s3 R4 D; e3 l( L9 @$ O+ q
  1259. ;oci8.statement_cache_size = 202 p/ g  w7 k+ _* }
  1260. & K& b; s  T4 i+ U' F3 q7 X
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    % m! B  t1 R% s2 F4 D, |
  1262. ; rows that will be fetched automatically after statement execution.
    ' R, R. u# _( a. ^) p1 ~. j( }4 }8 c
  1263. ; http://php.net/oci8.default-prefetch
    6 Z! T9 v! D) i/ N' K9 b
  1264. ;oci8.default_prefetch = 100
    3 [: x& @. R% B6 w0 a+ {- ~/ K
  1265. 9 W2 L; |8 Y+ E/ I8 D
  1266. ; Compatibility. Using On means oci_close() will not close, T0 Q. M3 Y' V- z
  1267. ; oci_connect() and oci_new_connect() connections.; f9 s$ Q( z" @- d6 G
  1268. ; http://php.net/oci8.old-oci-close-semantics2 R; a, p6 N( Z2 [
  1269. ;oci8.old_oci_close_semantics = Off9 g$ S+ H+ n0 C4 Q

  1270. % o- b+ Z+ x/ I& b$ b) n$ s
  1271. [PostgreSQL]1 d$ J1 K  a+ @% x/ F9 R6 L+ ^' ]( {% c. K
  1272. ; Allow or prevent persistent links.
    & R% Q% v/ J* G) I
  1273. ; http://php.net/pgsql.allow-persistent8 d; T3 [& n4 V- B& L: _
  1274. pgsql.allow_persistent = On, H/ E9 D7 U: F! `
  1275. 3 Q! i& }* J# N; S; A! \2 `
  1276. ; Detect broken persistent links always with pg_pconnect().2 M& {% B+ _$ {- P4 C/ ~: W* }
  1277. ; Auto reset feature requires a little overheads.
    6 v3 \2 ^5 @' V: p: G
  1278. ; http://php.net/pgsql.auto-reset-persistent
    * ]% Z, p/ g4 u% i. _, E/ O  |
  1279. pgsql.auto_reset_persistent = Off( e! Y0 @% o5 ^3 Z. s2 O1 V

  1280. ; |8 A- A- t7 P! o5 v
  1281. ; Maximum number of persistent links.  -1 means no limit.+ u, M# |) F* B! p4 d
  1282. ; http://php.net/pgsql.max-persistent( `- b! l8 k; Z( v  a
  1283. pgsql.max_persistent = -1: ]: x2 ?7 `/ j* P

  1284. 1 y( q# c3 U% T4 Z1 ]4 X
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    " {0 C9 w5 W$ [3 n2 e* R
  1286. ; http://php.net/pgsql.max-links
    0 ~& Z6 F# f' u7 y6 |. c; e
  1287. pgsql.max_links = -1* q9 E) |4 S: U! i  z1 z( R
  1288. ' J( n/ g/ x$ h2 j
  1289. ; Ignore PostgreSQL backends Notice message or not.
    % ~. p" E% p8 l) X' D/ j/ [
  1290. ; Notice message logging require a little overheads.% }: r6 Z( }, e9 K, S! @
  1291. ; http://php.net/pgsql.ignore-notice
    2 h% \! S. t- c1 u6 Q) P/ _2 F  X
  1292. pgsql.ignore_notice = 08 S6 C/ h1 U6 k) V7 ]

  1293. 7 l$ {" \- p3 o. P2 S: ^7 r
  1294. ; Log PostgreSQL backends Notice message or not.) X/ m, w% @0 q! L: ?
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.  e) M/ `# P0 m* V& S5 t
  1296. ; http://php.net/pgsql.log-notice
    ; _1 A) T( p# Z8 e/ |5 Q: d5 `
  1297. pgsql.log_notice = 0
    . C9 Y8 o  X" U

  1298. $ E* e# |2 ~6 N$ Q8 z7 H8 O
  1299. [bcmath]
    6 S# e2 I! r" d( e. ^
  1300. ; Number of decimal digits for all bcmath functions./ U3 x( X2 Z) b( f/ y. N
  1301. ; http://php.net/bcmath.scale& z. H  T2 S+ g% D+ O/ Z
  1302. bcmath.scale = 0) \  P% j" n' a6 `" ?# C) X7 K

  1303. " M4 h0 `) B8 ]# ]' d. ~
  1304. [browscap]
    " `: s9 V; {6 L0 ?6 y( M. n8 S
  1305. ; http://php.net/browscap
    + P0 p, \* N" j9 z9 ?! R# _
  1306. ;browscap = extra/browscap.ini  l/ [6 P; o- r
  1307. ; A- x6 @! H$ z7 q3 \  }
  1308. [Session]: L" o3 ?- n6 ]5 ?
  1309. ; Handler used to store/retrieve data.# H0 c$ R$ e. U* ?
  1310. ; http://php.net/session.save-handler
    9 R( d6 V1 O  V, d, ?
  1311. session.save_handler = files- H1 J# X2 G( Q4 [) h/ M( I
  1312. ; i( p7 H  f$ F" F' t  Q% M2 v7 N0 o" {
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    0 m  l1 I3 r* O' d( J: T
  1314. ; where data files are stored. Note: Windows users have to change this' A0 |$ G' \  ]7 a9 r6 o0 F! w
  1315. ; variable in order to use PHP's session functions.
    # F7 v1 X* O, X& C2 n
  1316. ;
    % v7 ?9 V% w) t1 ~2 O- l
  1317. ; The path can be defined as:; P6 Z8 R$ m6 b. E5 x8 w7 @5 E6 [
  1318. ;, [/ |  d/ T4 x" L% Z8 `/ ^; |
  1319. ;     session.save_path = "N;/path"
    : X" D7 y4 J; R2 w% i
  1320. ;$ ?9 h7 p9 |7 G7 `- V" L* R, a
  1321. ; where N is an integer.  Instead of storing all the session files in
    $ e6 M6 E$ S/ [
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    0 W# t. g( v/ f$ p8 |% B
  1323. ; store the session data in those directories.  This is useful if! |. m1 N6 {7 g% c2 _
  1324. ; your OS has problems with many files in one directory, and is
    2 `5 r7 x! |  [# d
  1325. ; a more efficient layout for servers that handle many sessions.
    7 w/ f8 e& K: v+ ^  W/ v
  1326. ;6 w$ i+ e- S4 U; D& I1 z4 F: F
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    9 N) \* W5 C- F, b% Q* J
  1328. ;         You can use the script in the ext/session dir for that purpose.
    ! n4 H) @; _% F; t& q' Z, ^% M
  1329. ; NOTE 2: See the section on garbage collection below if you choose to# z8 O4 c1 m$ K$ t/ l7 v3 u
  1330. ;         use subdirectories for session storage
    . A' y7 m4 k( C4 M$ p$ i
  1331. ;2 L. X  j* Z5 _! Y& B4 i
  1332. ; The file storage module creates files using mode 600 by default.
    6 T& a* c' {# ?9 m) ^1 @! W
  1333. ; You can change that by using
      C- P2 m& c9 v+ l3 e
  1334. ;
    $ X# h% {* b; k: @$ R
  1335. ;     session.save_path = "N;MODE;/path"
    ' W' C! x7 ]7 p
  1336. ;
    2 g  M, E3 B1 N
  1337. ; where MODE is the octal representation of the mode. Note that this3 w+ h/ `! l0 c& |, k
  1338. ; does not overwrite the process's umask.5 l, h8 ~2 Z8 P
  1339. ; http://php.net/session.save-path- o, B( a' ]; P; J# H
  1340. ;session.save_path = "/tmp"& h3 F; T5 W- R3 E9 r
  1341. ) b! D7 D9 k, U/ a
  1342. ; Whether to use strict session mode.
      @& I* [6 p: i4 }8 S; m9 e
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    & U* @! p+ O; F* C
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    , J$ ~$ X% R) E8 b+ @" e6 x
  1345. ; applications from session fixation via session adoption vulnerability. It is
    % @6 R4 n/ D( Y* a
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.4 a: A3 a1 t( v
  1347. ; https://wiki.php.net/rfc/strict_sessions
    3 |- s, E$ y8 t6 ]/ \
  1348. session.use_strict_mode = 0
    4 D  ^( J% |3 b" c: e, K+ W

  1349. 6 K! h% k0 W# ?0 ]. {# @- H" A
  1350. ; Whether to use cookies.
    5 U  q) R5 A8 I/ L& ]) p) H: a
  1351. ; http://php.net/session.use-cookies
    : q. L$ q% t( v1 @5 J2 ~) Y
  1352. session.use_cookies = 1
    ; N$ l0 C( T$ Y2 ?, Z1 M

  1353. , \; ?; q8 |' \; l! H1 n1 v2 @& i+ z
  1354. ; http://php.net/session.cookie-secure9 Y0 _& y; ]  ?, ]1 D: d& v* k% P
  1355. ;session.cookie_secure =1 |3 y6 N% A" I6 N

  1356. 9 r& J$ m0 J; e7 j
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    ( {) p1 W2 C+ _% a* J  b  m) B' J
  1358. ; the session id. We encourage this operation as it's very helpful in combating4 q* {! h/ D+ {. W3 I5 K1 n* p
  1359. ; session hijacking when not specifying and managing your own session id. It is
    " L9 W" Q2 G1 ?' k' p
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    0 x: [* \7 T% ]& g
  1361. ; http://php.net/session.use-only-cookies
    5 ]3 R4 w, C8 u( R' s0 u1 D1 U
  1362. session.use_only_cookies = 17 l, U) o6 b) c8 z0 V3 \  F
  1363. $ J8 q2 v3 x' x  |, Y5 l) C3 }: }/ I
  1364. ; Name of the session (used as cookie name).6 f* d( u9 {/ o
  1365. ; http://php.net/session.name
    ! |, M4 x3 M! Z( N9 ^6 n
  1366. session.name = PHPSESSID
    , a- ?. ]7 Z! r2 ?7 i
  1367. $ M/ f& n0 }  X
  1368. ; Initialize session on request startup.
    ! }0 |  a7 S/ `. h5 B
  1369. ; http://php.net/session.auto-start
    ) h0 v! ]* f3 ~3 E
  1370. session.auto_start = 0. k- o7 Y" R+ @4 e9 X; ?4 f
  1371. 5 O; e1 W0 t1 B/ E5 J% _3 z
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.) L; C0 x3 u$ }, z' D5 c4 H
  1373. ; http://php.net/session.cookie-lifetime* c" {6 D# f( c7 i9 B9 g$ _2 w
  1374. session.cookie_lifetime = 0! V3 v9 v! T1 D$ {1 |

  1375. % `5 ^: s* N4 [  @
  1376. ; The path for which the cookie is valid.
    ( s- P7 D8 C* l& n# l
  1377. ; http://php.net/session.cookie-path+ \- y! D) m8 @. o
  1378. session.cookie_path = // t) P- y4 V- N
  1379. + c" k$ H1 H! u4 e+ |' S
  1380. ; The domain for which the cookie is valid.
      D& x  b; Y( l* o% F
  1381. ; http://php.net/session.cookie-domain
      a% H: W' x$ j2 {+ `5 r5 c% |; ~
  1382. session.cookie_domain =
    , f+ b7 @, [9 c8 c/ b

  1383. . r% F0 A6 h6 V0 a6 i
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript., c6 T4 d$ |0 B2 f& j4 H% V3 j7 g
  1385. ; http://php.net/session.cookie-httponly
    . j2 A0 Z4 _. t% \" A9 i# ~$ B
  1386. session.cookie_httponly =
    ; P$ X4 E, I: E$ i! D7 \' i
  1387. : d: L, d/ ]' u9 e6 {, i
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.! `/ O; M. h, ~# p  g
  1389. ; http://php.net/session.serialize-handler( m) h  o9 o; X$ Z0 Y
  1390. session.serialize_handler = php. o7 y& a# Q3 G

  1391. 0 |1 ]0 l" ]5 N" I. Q! c; v+ k+ z
  1392. ; Defines the probability that the 'garbage collection' process is started
    " r. ~9 \3 g/ x" N
  1393. ; on every session initialization. The probability is calculated by using
    ' k  i% X6 N1 O7 s- c+ ]$ v3 H
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    ' ]( ~0 z& E% k- q# P
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1& N) v# Q# n* h, H
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    9 d* C% a% U# `8 X
  1397. ; the gc will run on any give request.
    - Z% Y+ e' h. L. `% {
  1398. ; Default Value: 14 @! l' }; g6 y: F" n6 D4 }9 s: d$ [
  1399. ; Development Value: 1
    9 h/ x& w3 y0 V4 K6 o0 w0 X  X
  1400. ; Production Value: 1: j8 \- ~0 Z* V% T; [
  1401. ; http://php.net/session.gc-probability" x/ q3 @7 I  z' _+ `& ?  o7 {$ v! h
  1402. session.gc_probability = 1
    - V' `* Y4 y! @; r

  1403. : ^* Y$ A6 M3 m# O
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    $ f9 e; m6 ?! H$ O1 r
  1405. ; session initialization. The probability is calculated by using the following equation:
    ' _, b, ]5 O7 p8 F! q
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    ' W3 a0 p7 {( w& }
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 17 I$ b* l# Y5 P# _5 ?
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    5 u5 _2 b% i# w5 k; w; b
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you8 F' |" Y# a- ]) t5 I
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,; J5 I8 c+ a$ m# W
  1411. ; this is a more efficient approach.4 {  z0 Y+ G5 Y  t' K
  1412. ; Default Value: 1001 I8 j0 j9 s0 }* O
  1413. ; Development Value: 1000: Y% ~6 F% a0 J, {2 R% r* k6 j
  1414. ; Production Value: 1000
    9 }  b# X- t; v* e/ |
  1415. ; http://php.net/session.gc-divisor
    # Z4 N* ~2 S4 Y2 D
  1416. session.gc_divisor = 1000
      i9 A3 b8 u( R& J, o! ~! V& R

  1417. $ ^& E, `& |, `# w& H! X7 p
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and. O0 L  @3 {: k! }' `
  1419. ; cleaned up by the garbage collection process.- X  K: Q8 D0 ?# K, @& }
  1420. ; http://php.net/session.gc-maxlifetime
    ( ~1 f  s. B9 y0 `" o% f
  1421. session.gc_maxlifetime = 1440" O3 x# L8 `  r% k; t
  1422. & ^( Z3 v, B. K& }% h2 j
  1423. ; NOTE: If you are using the subdirectory option for storing session files8 ^0 S, U/ C' M$ _  y: u+ [* q6 {
  1424. ;       (see session.save_path above), then garbage collection does *not*
    & m6 ?5 U) a1 R0 ]3 C/ A; L
  1425. ;       happen automatically.  You will need to do your own garbage# b/ V: T' W7 ^) H
  1426. ;       collection through a shell script, cron entry, or some other method.& K& b! O0 B; Y5 t4 t' m' g
  1427. ;       For example, the following script would is the equivalent of7 J( j2 u. o, d0 J8 i
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    % B4 W% n  l3 m, y8 j. |3 Z
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm5 f& J6 I; F" i
  1430. : a% k& r6 |7 C: [$ }# A  q6 P+ C
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.4 H" q& Z) G5 H( Q
  1432. ; HTTP_REFERER has to contain this substring for the session to be/ i/ ]/ K: H" j9 Q% x* v
  1433. ; considered as valid.
    & ]' [$ s2 s! P& u. M7 @
  1434. ; http://php.net/session.referer-check
    , S  ^3 M0 u2 a, e0 I; Z) k5 s
  1435. session.referer_check =$ n7 [& u8 a" @: X1 Z  E$ C
  1436. / k0 |4 u- \4 X2 ]# ?5 o
  1437. ; How many bytes to read from the file.
    ( z% B9 W; K7 G: |1 [: ~$ S5 Z
  1438. ; http://php.net/session.entropy-length
    . H) j6 N9 e; Y, A) p' V" T
  1439. ;session.entropy_length = 32
    3 z  j( a, k% @  }' j1 K4 s. ?4 R

  1440. - ~" k  \* D& [; d3 e. m
  1441. ; Specified here to create the session id.3 E) S" V+ l" D
  1442. ; http://php.net/session.entropy-file. W; W+ r  a% s- e# _% [# b- v4 y" j
  1443. ; Defaults to /dev/urandom) F! k4 X+ e! ?; [' J
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    : ~) q9 y0 P" |: c
  1445. ; If neither are found at compile time, the default is no entropy file.9 e5 s; R. x+ D8 V7 W7 m1 t
  1446. ; On windows, setting the entropy_length setting will activate the
    - c& c5 v- T5 a
  1447. ; Windows random source (using the CryptoAPI)) h) b- P; l* Z, h3 _4 A# Z" Z
  1448. ;session.entropy_file = /dev/urandom
    : G' M/ `6 F. r
  1449. 5 y7 e& v9 Z0 [! G4 Z: ^/ G, c
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    2 ]  u7 R& b# q' ?) o, y. o& z- \
  1451. ; or leave this empty to avoid sending anti-caching headers.( A7 s: ~6 Z+ G- U8 v, b7 d$ {1 p
  1452. ; http://php.net/session.cache-limiter: |3 z6 H4 T& j& K
  1453. session.cache_limiter = nocache, s) q- L% n8 @) L( P% c4 {2 _" |

  1454. + K" M& U3 Z8 }* [
  1455. ; Document expires after n minutes.
    ; e) C% L: R  ]$ w# T) m( j+ E% y/ c
  1456. ; http://php.net/session.cache-expire! [' k( @. @# n8 P
  1457. session.cache_expire = 180
      k' s# A3 z' y5 F% J  h9 k3 e
  1458. / p, F, Q  ?$ |) n6 |3 W
  1459. ; trans sid support is disabled by default.
    , ^9 i7 H" C8 H) \
  1460. ; Use of trans sid may risk your users' security.; k8 l/ I0 K* i5 W
  1461. ; Use this option with caution.
    ! w/ @) G/ E/ i
  1462. ; - User may send URL contains active session ID
    $ c7 L! ?0 v" G9 |
  1463. ;   to other person via. email/irc/etc.8 W* g' Z; Y! r. R. B2 D: X' L
  1464. ; - URL that contains active session ID may be stored
    ( @# q" m6 @5 \; j
  1465. ;   in publicly accessible computer.
    ! K6 J9 v5 F8 L
  1466. ; - User may access your site with the same session ID
    , p( g* I/ r: U; K8 Z
  1467. ;   always using URL stored in browser's history or bookmarks.
    / [; }" C& X2 U/ C1 i/ q/ r6 s' H
  1468. ; http://php.net/session.use-trans-sid
    0 E. n1 t* d9 D, i" u7 Y
  1469. session.use_trans_sid = 0
    5 ^) Y& ]" M+ Q9 r5 G9 Y

  1470. 2 i: {: T( \' e/ F
  1471. ; Select a hash function for use in generating session ids.
    " D0 t6 w5 s* }) d
  1472. ; Possible Values
    , e# p- I7 |1 P5 }7 m6 ?
  1473. ;   0  (MD5 128 bits)/ F1 o. J! G6 x6 ]5 k& O* f5 _
  1474. ;   1  (SHA-1 160 bits)
    & D* D* F( Z$ ^" ^6 Y
  1475. ; This option may also be set to the name of any hash function supported by6 R8 ?0 C3 {, Z" F; c- j
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()8 g' b" F* D; T( x5 }
  1477. ; function.) Q. V: x* U8 G# E
  1478. ; http://php.net/session.hash-function: Z0 _5 D+ _. t9 x5 `
  1479. session.hash_function = 0
    * g6 t6 i7 }0 ?# u# Q- j2 \, w
  1480. 1 z4 Y5 m, n) |. K5 K
  1481. ; Define how many bits are stored in each character when converting
    + O+ _6 ?% H1 z2 b: a) i
  1482. ; the binary hash data to something readable.
    ' @+ T6 R1 ?+ x* l9 Q1 _  u
  1483. ; Possible values:3 e- X& T( [) H2 B5 Z+ }: P. E" p) \
  1484. ;   4  (4 bits: 0-9, a-f)
    + ?+ I- h0 e! A! x
  1485. ;   5  (5 bits: 0-9, a-v)
    % u2 w& Z# V/ `  ~: U" V" t4 ~
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    % ^( ]. ?0 V. a8 u
  1487. ; Default Value: 4
    5 g: Q- F2 ?! m
  1488. ; Development Value: 52 I+ Y( I1 S0 W  `5 t
  1489. ; Production Value: 5
    3 \- C# L! ^7 c' C7 R* z/ v
  1490. ; http://php.net/session.hash-bits-per-character
    + m0 y1 ~( P( }& S
  1491. session.hash_bits_per_character = 5
    ( Q) {  z- _/ E) b7 G0 s

  1492. " A- I7 x& S7 P8 B- ~0 w
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags., j7 ?: z/ r6 l; q6 C0 n  |
  1494. ; form/fieldset are special; if you include them here, the rewriter will1 `; A' }* r# r* V
  1495. ; add a hidden <input> field with the info which is otherwise appended" l9 v" b1 ]: S4 h
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.) E- V+ x' c# H: I
  1497. ; Note that all valid entries require a "=", even if no value follows.
    8 N5 J# Z8 h7 O  r  ~6 P* @
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    / [# N+ D5 l- \# S4 z
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    & ~" S0 F' b. c: R, N6 u
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"& ?6 t2 p) A+ q6 P. b
  1501. ; http://php.net/url-rewriter.tags" \5 \2 S  K) N$ E0 J) l
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"( k( H3 c' o. e2 o0 U
  1503. 6 c7 @$ @7 J' n9 r
  1504. ; Enable upload progress tracking in $_SESSION. ^. N+ i& r- m9 L( _/ e7 V! I7 y9 \" o
  1505. ; Default Value: On% E/ r- S9 l$ z4 O
  1506. ; Development Value: On
    4 F! d1 c6 L) Y
  1507. ; Production Value: On6 r. R8 \( D! h% O) p/ J/ a. m* H
  1508. ; http://php.net/session.upload-progress.enabled2 G- P9 c6 p9 d
  1509. ;session.upload_progress.enabled = On+ c* c4 w# ?$ v1 q. \
  1510. 8 [5 F$ `9 k5 ?
  1511. ; Cleanup the progress information as soon as all POST data has been read/ h, h% [. O' c& \; d% v
  1512. ; (i.e. upload completed).4 H4 o( q% O" F" c
  1513. ; Default Value: On
    3 H2 ?" q5 [( y) d- M
  1514. ; Development Value: On# z0 C6 @6 i1 T
  1515. ; Production Value: On/ U; k* D3 t+ B9 d3 o3 P  T
  1516. ; http://php.net/session.upload-progress.cleanup* z5 n7 k7 ?1 C" s. Q4 e2 b; k4 W
  1517. ;session.upload_progress.cleanup = On
    . [: A& O. C0 J' }/ ^

  1518. 0 f: V6 t. ]* g3 z  G4 Z' c
  1519. ; A prefix used for the upload progress key in $_SESSION
    : u# z! C5 d# H' x
  1520. ; Default Value: "upload_progress_"( b* ^# W2 N6 _- R% W8 |' W, V
  1521. ; Development Value: "upload_progress_"1 G$ ]; x2 w; W
  1522. ; Production Value: "upload_progress_"
    % d7 K2 w: a% J
  1523. ; http://php.net/session.upload-progress.prefix- ]! u+ u1 ^% Y
  1524. ;session.upload_progress.prefix = "upload_progress_"
    ' l; @6 E! v2 v8 {

  1525. % @- X7 q/ ?; n% j
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    # z! Q' M( {4 O# b& n9 }- V; X
  1527. ; containing the upload progress information5 K5 f) S9 q% T" X
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    " g( G& D0 m0 t4 [
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    5 a& w' {' a# e3 e. {. i
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    . j0 ^7 [9 ?0 V! b/ t$ N
  1531. ; http://php.net/session.upload-progress.name+ T* b2 Z5 p  f4 ^. i+ A- r
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"& h) t. @! A7 p- t7 F2 ]! U% C

  1533. 9 E! O- C7 ^4 l4 Q/ y( h% E! G
  1534. ; How frequently the upload progress should be updated.+ S& N& }' g) b) X
  1535. ; Given either in percentages (per-file), or in bytes) z. C$ f# z, k, \4 e$ t
  1536. ; Default Value: "1%"4 y9 ?" i1 `1 A5 t# A
  1537. ; Development Value: "1%": F( b7 I0 E& o! L) x: W
  1538. ; Production Value: "1%"
    , u; }% \8 j7 ]# s( l2 L/ ?6 z- B
  1539. ; http://php.net/session.upload-progress.freq
    9 t* y9 Y, W5 Q
  1540. ;session.upload_progress.freq =  "1%". }( b5 S, m; Q% u3 N. Z

  1541. - ]4 Y" w' l  x
  1542. ; The minimum delay between updates, in seconds' }" {3 I' q) N2 s' j
  1543. ; Default Value: 1
    - u7 f2 g0 Y) G- Z/ U: ^& K* ^1 O
  1544. ; Development Value: 1
    4 o$ X6 w0 Y: ~9 H
  1545. ; Production Value: 1
    8 q0 t& a' {. a- }7 {+ ~' y6 A3 a
  1546. ; http://php.net/session.upload-progress.min-freq
    ( l, _$ I0 m+ a! K. [0 Y7 u0 T
  1547. ;session.upload_progress.min_freq = "1"' t& w: J- o4 n* t! ]2 [

  1548. ) v+ ~; W- }% O: f. a  K: l3 `
  1549. ; Only write session data when session data is changed. Enabled by default.$ d8 U# E, ~3 ?5 p- ^8 l; F
  1550. ; http://php.net/session.lazy-write. w5 g1 J# A" d, Q
  1551. ;session.lazy_write = On0 m3 j( q1 l+ R/ a) F3 U4 r7 j

  1552.   r& \% b( t; D. _! \3 Z
  1553. [Assertion]
    ! d' Z5 m* ?9 G0 E
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)+ \8 [" \8 n- s; {( h
  1555. ; -1: Do not compile at all
    , `! [" |' o! ^+ r/ ?# M" C
  1556. ;  0: Jump over assertion at run-time) K) n  _  t6 q% p
  1557. ;  1: Execute assertions' }5 z, B& ]# K
  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)
    & D" S6 S( _% Y2 L  s9 J
  1559. ; Default Value: 1
    0 X8 L" f0 N% a( F" g+ `* ]/ F" y
  1560. ; Development Value: 1- ~. w% }: t, y! `" z3 V! }
  1561. ; Production Value: -1
    * o  v( a1 A9 g% D
  1562. ; http://php.net/zend.assertions
    " m# G2 p+ h- R/ g% \* a
  1563. zend.assertions = -1
    + C2 F7 V  b. i/ t  O* v
  1564. 3 q7 p- p9 N. q) e0 D4 _: \; R
  1565. ; Assert(expr); active by default.
    ) D: U2 h- C0 w1 }3 G
  1566. ; http://php.net/assert.active
    9 d' e, C: H- I3 O
  1567. ;assert.active = On
    4 t' i, o! ~- C/ Y. h6 R
  1568. ; Z/ s1 _5 f- }( J$ n
  1569. ; Throw an AssertationException on failed assertions5 q8 y' B5 l, M. {
  1570. ; http://php.net/assert.exception
    9 Q* d0 r% |6 a: W# L
  1571. ;assert.exception = On
    , Q& a( b1 b; g
  1572. 3 v0 ]; y5 L4 F/ ^( {
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)( R' w# W, ?# ?5 t8 ?
  1574. ; http://php.net/assert.warning7 z, @7 k9 c5 A
  1575. ;assert.warning = On
    ' ~/ ?% k3 m0 H2 B; U

  1576.   R" t8 x: s+ r: S( W$ e4 G! X
  1577. ; Don't bail out by default.9 H# x8 f% c) T& _7 X
  1578. ; http://php.net/assert.bail/ Y# U) D2 c! N) X
  1579. ;assert.bail = Off9 I/ B% o  T* k7 N0 e+ p9 A7 D  d
  1580. $ F9 T2 b+ \# z$ G+ r, @
  1581. ; User-function to be called if an assertion fails.
    2 a8 p7 j' W' b0 {
  1582. ; http://php.net/assert.callback
    ! u* p! _1 W- v. E6 R, Q7 f; ~
  1583. ;assert.callback = 06 J5 B' K. w* @- Q
  1584. $ k# N1 }" m7 r  m
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    ! ?( ?- F! v3 \& W% b0 b
  1586. ; error_reporting(0) around the eval().9 T7 m5 t4 C' G3 Z% [4 ~! W
  1587. ; http://php.net/assert.quiet-eval
    - Q* l9 M% w  |4 O' B+ I% d- x
  1588. ;assert.quiet_eval = 04 v  P% m) x; }/ u# w
  1589. + W+ H6 {' I5 l
  1590. [COM], |4 T2 W+ R; b2 c! i- N! L1 n7 `
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    0 q1 g% P3 f3 ^& d- }2 E& [
  1592. ; http://php.net/com.typelib-file
    ( Z% n9 y6 k) N. _& g5 _
  1593. ;com.typelib_file =6 ?# E% Y5 F1 k" Z3 L
  1594. ! n. `! U0 H8 S% O1 B0 u
  1595. ; allow Distributed-COM calls
    $ Z7 k6 n1 v+ x# U) s9 z( ]
  1596. ; http://php.net/com.allow-dcom
    6 R7 }5 G4 T# t  s. g3 m
  1597. ;com.allow_dcom = true
    ! u7 P  B3 N, Q& i; b" U# \
  1598. 6 k; x: \! u( R8 G2 L" r3 N( p# ~2 s/ n
  1599. ; autoregister constants of a components typlib on com_load(). p$ r& F' [) s& t
  1600. ; http://php.net/com.autoregister-typelib1 o8 t8 A! E9 E1 V# F: T/ J
  1601. ;com.autoregister_typelib = true
    8 i8 O; a; P% y- Z, T

  1602. ( \- u( _/ D/ ]
  1603. ; register constants casesensitive
    5 A( Z9 O8 L0 d* Z
  1604. ; http://php.net/com.autoregister-casesensitive
    8 r# F0 x  S0 Q- i) J
  1605. ;com.autoregister_casesensitive = false$ h. i2 }( w) U+ s& E( q
  1606. & b. R# J, d, K% S+ ~$ V
  1607. ; show warnings on duplicate constant registrations
    4 R" X$ `' d+ F* A0 ^( h% q
  1608. ; http://php.net/com.autoregister-verbose
      p: M( k# W6 Z! n
  1609. ;com.autoregister_verbose = true5 p) \2 k6 g. \. A5 i) p1 W" R& h; n

  1610. - n/ r  y* G1 s1 d: y3 j7 Q: e
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    * c" ~& S9 a/ j( T$ L; U
  1612. ; Default: system ANSI code page
      {# i. h$ e9 X  w
  1613. ;com.code_page=3 o, ~) T. B+ j' K3 C
  1614. , v4 u: G; ]# s0 f1 g, g
  1615. [mbstring]
    8 g5 Z. H+ y& D: z: P" \' e# C
  1616. ; language for internal character representation.& @% z) m- k# |# j
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    : ]5 ~/ }# Y1 J  k- V
  1618. ; http://php.net/mbstring.language- |7 V0 V+ V& `) |+ f7 |( v# j
  1619. ;mbstring.language = Japanese& k: i- j6 W% [9 \" f- q) S

  1620. . s; G* `' j% S9 d3 H! H) F6 A
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.6 [0 f" I- L$ |4 p
  1622. ; internal/script encoding.
    + P8 H5 q3 z$ E9 K0 k; `
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    - _& k4 Z: y: w  A1 U3 U
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    / X/ t# `* [4 A
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding" c1 t6 o0 w9 e" R7 T
  1626. ;mbstring.internal_encoding =
    ! P. H* \2 l  @  n
  1627. ! {" B& j2 P+ l! w, |5 C/ M+ T
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    0 ^" V2 k$ V( g" C
  1629. ; http input encoding.
    + }$ Z: W, k) m2 R
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.' T. ?1 t7 F2 M5 i
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    * F8 C, ~$ r! V$ R/ H, \
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    $ U& q( n2 @! O) p. v8 X
  1633. ; http://php.net/mbstring.http-input
    9 E/ }, C: \$ t2 ^& W
  1634. ;mbstring.http_input =$ z" E6 e; l1 s$ j( S2 G1 T+ R- t0 P6 e
  1635. ) E+ k% W; p: {; L" K* z. B  @! z
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.; P( }$ V  i. t: z# @: x
  1637. ; http output encoding.8 r/ s, E- u0 `* g& m
  1638. ; mb_output_handler must be registered as output buffer to function.0 w7 p5 k4 C" i* Q
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    ! {! R2 [3 y) ]
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output. m. e2 d: E: d2 |; G- i$ E
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    ( I  x' V6 ^# ^* j+ o5 d
  1642. ; otherwise output encoding conversion cannot be performed.
    ) ]0 d8 M& v/ R" H; U9 B
  1643. ; http://php.net/mbstring.http-output* }8 h8 A- T6 X% b7 E2 z, q
  1644. ;mbstring.http_output =
    & v5 s( Z( J* r2 F& l
  1645. % l( |, p/ R$ j5 z8 Q
  1646. ; enable automatic encoding translation according to
    + ~) X! L, H: l; H
  1647. ; mbstring.internal_encoding setting. Input chars are& V8 G  H, {& E& X$ y$ Q
  1648. ; converted to internal encoding by setting this to On.
    2 U7 ^; N$ i+ Y) H+ j
  1649. ; Note: Do _not_ use automatic encoding translation for
    ' z! ^" ?' e" m& ]* s9 P2 p6 c
  1650. ;       portable libs/applications.
    / x; A; `( W' A% L
  1651. ; http://php.net/mbstring.encoding-translation
      S" {# R. |' o' O8 C2 ~
  1652. ;mbstring.encoding_translation = Off4 n- |1 w* G$ @! C3 K9 U- n3 e) X8 W

  1653. * L/ l, V8 {& N4 L1 {2 f/ B
  1654. ; automatic encoding detection order.
    * x5 |* q2 e6 m0 S
  1655. ; "auto" detect order is changed according to mbstring.language' }$ k: q! A7 ]2 @. ~8 L. r, e" ~
  1656. ; http://php.net/mbstring.detect-order. Y5 z7 K; V) s
  1657. ;mbstring.detect_order = auto
    $ j8 h; q' B; T" j+ G$ P6 @
  1658. + r: s$ |0 L+ T4 I* `# ~! r* z
  1659. ; substitute_character used when character cannot be converted1 H$ A/ F7 {- l5 s# G
  1660. ; one from another0 g6 ^; P( ^1 K* B( [3 [1 h0 R/ h
  1661. ; http://php.net/mbstring.substitute-character" v4 p  k3 }7 Y% _) i/ E
  1662. ;mbstring.substitute_character = none
    . Z7 b: P; G! R2 k6 h' R

  1663. / s4 I5 F7 [+ Y9 ^+ k
  1664. ; overload(replace) single byte functions by mbstring functions.
    0 d% `8 U# v, M: o; H
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),* P$ ~- s  F7 D! ~  s3 U
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.; ]$ B8 ^  m8 I' W. F* K/ B# {
  1667. ; For example, 7 for overload everything.
    2 ^+ Y4 P. H! L" A& d: R6 ?
  1668. ; 0: No overload: P% Q5 u' T' J1 I
  1669. ; 1: Overload mail() function
    6 [+ A6 r/ s5 J( i2 A
  1670. ; 2: Overload str*() functions
    2 `1 S, ~# A3 r8 ]. E/ o% \
  1671. ; 4: Overload ereg*() functions% s% I) y3 ]  o8 f9 u) z6 }, O
  1672. ; http://php.net/mbstring.func-overload8 ~( R& E" z4 ]$ R0 |( i
  1673. ;mbstring.func_overload = 0
    7 p3 u3 Q  b- i2 @8 M

  1674.   i! ?2 V( o  J2 b; Z" R
  1675. ; enable strict encoding detection.
    . |. n# g; @: N- e' C2 \' X
  1676. ; Default: Off; D- [' W6 _# D2 [+ K1 \- d
  1677. ;mbstring.strict_detection = On0 q. w6 u, J7 o0 [, {( T
  1678. 5 E+ C6 V" l. K- f/ U
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
      }' n% q* [2 v2 i8 R, ~" E
  1680. ; is activated.8 I; A% L9 K' y1 R9 i
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    9 ~6 M- X% o5 p' b6 I$ R
  1682. ;mbstring.http_output_conv_mimetype=
    / t) ?2 k# `7 E2 I. b
  1683. ( |* ^9 Q$ ~- h0 t( r( F- O
  1684. [gd]
    , g) g. T7 E$ ~3 g3 k7 @
  1685. ; Tell the jpeg decode to ignore warnings and try to create7 I8 h6 b9 K% u8 J8 f3 I  r
  1686. ; a gd image. The warning will then be displayed as notices
    4 J3 o7 H/ M- z% d3 g1 m
  1687. ; disabled by default( A+ x. ~$ Y6 c. E5 ^+ c3 A: A
  1688. ; http://php.net/gd.jpeg-ignore-warning
    6 i$ S( E: ^. o  _$ a5 F2 C3 e
  1689. ;gd.jpeg_ignore_warning = 0
    0 J' l# a- ]% p$ e5 u% `2 Q

  1690. ! I. q- {2 I% R4 B; L, \- U- X
  1691. [exif]
    8 O/ S6 z: W) _) q' ^6 ~) s6 s: M
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.5 J5 J  y* r& Z: K4 i
  1693. ; With mbstring support this will automatically be converted into the encoding
    + g) W0 T3 f" X. {0 A8 C6 O. R
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    + ^5 o  s/ j+ q$ ?0 o
  1695. ; is used. For the decode settings you can distinguish between motorola and
    ; B+ m  u. v( d! i. b
  1696. ; intel byte order. A decode setting cannot be empty.9 V# @8 X! `! r8 T
  1697. ; http://php.net/exif.encode-unicode
    , l  s: A9 O( @2 ~1 q# X
  1698. ;exif.encode_unicode = ISO-8859-15) I  j* N( \9 H/ p/ Z4 ~( z

  1699. ) U1 r2 h* O6 L% f) p
  1700. ; http://php.net/exif.decode-unicode-motorola
    - p! w' Q  n$ ^3 Z
  1701. ;exif.decode_unicode_motorola = UCS-2BE- l) S8 B+ Y4 A. A! H' m  W

  1702. . [6 _/ b8 Q! B) c6 u1 q' d* i7 ^$ T
  1703. ; http://php.net/exif.decode-unicode-intel
    4 V: R0 v/ e2 A- H
  1704. ;exif.decode_unicode_intel    = UCS-2LE0 b. N1 q: R" ~' X2 k/ b

  1705. 4 M9 e0 M# @, X5 Z4 m" R4 n
  1706. ; http://php.net/exif.encode-jis
    1 I: g8 m% P( j4 C% f' ~' R
  1707. ;exif.encode_jis =
    5 ^/ ]8 l; Q# g' s- y8 i# Z/ F4 Z0 L

  1708. 7 Q- `' R# F) a2 y2 a
  1709. ; http://php.net/exif.decode-jis-motorola& S! X& M! T# q+ l- D
  1710. ;exif.decode_jis_motorola = JIS# ^( I& L7 H* N! _" g

  1711. ; l( C. [/ J7 p1 [# `
  1712. ; http://php.net/exif.decode-jis-intel' e( f: _; m% d% f
  1713. ;exif.decode_jis_intel    = JIS
    : g, ~+ K$ }5 h- W, Q

  1714. 3 {# F" R% Z5 c* D
  1715. [Tidy]. l' c2 c8 V! T( i: o$ w
  1716. ; The path to a default tidy configuration file to use when using tidy% ^0 j, V! f* o! Z4 c9 u
  1717. ; http://php.net/tidy.default-config
    & u% H( S1 Z' g5 R( q3 E. n
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg, ?4 Z7 r7 g5 j/ ?+ j+ v; p
  1719. 4 O0 D  ]3 ~# A& w( X; G
  1720. ; Should tidy clean and repair output automatically?
    ( o9 V2 l+ H: t
  1721. ; WARNING: Do not use this option if you are generating non-html content  Y% m. ]5 s0 ?: Q6 I) C' R5 J2 t& ^
  1722. ; such as dynamic images8 @1 `# J2 _7 f4 J  B* I) }
  1723. ; http://php.net/tidy.clean-output8 J' B: Y# l7 m0 @
  1724. tidy.clean_output = Off
    & V) }0 z4 r+ o/ k( J. Z8 ^
  1725. ' ~7 Z* [1 ]/ B$ n! w7 n+ @, F
  1726. [soap]
    + ^& P( h; T) x
  1727. ; Enables or disables WSDL caching feature.
    , q3 }2 u; o0 y9 R* K2 P- b
  1728. ; http://php.net/soap.wsdl-cache-enabled
    1 a# l, ~/ {+ E9 z: t
  1729. soap.wsdl_cache_enabled=1
    ! l# B: \1 [6 y- {) }/ |

  1730. & t  \( C, n7 G: m+ D
  1731. ; Sets the directory name where SOAP extension will put cache files.) f8 R. v% e8 e% n. W$ N
  1732. ; http://php.net/soap.wsdl-cache-dir4 B/ A2 k7 Z3 b5 h, I, ~6 F
  1733. soap.wsdl_cache_dir="/tmp"
    & H% p/ Z8 L' C5 o7 [
  1734. 2 O- }. C. [5 M$ _# ]
  1735. ; (time to live) Sets the number of second while cached file will be used
    9 `& q6 _1 z9 b$ n- `6 n% o1 S; ?
  1736. ; instead of original one.
    # I( i( ~; J' p$ h) T
  1737. ; http://php.net/soap.wsdl-cache-ttl6 \* F" |4 _' b$ F) ~
  1738. soap.wsdl_cache_ttl=86400- f: u+ y$ `! b

  1739. ( i8 H( m2 w4 W( x
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    + E) g5 [: }" P: e' M) @$ k2 {
  1741. soap.wsdl_cache_limit = 5
    : `8 t% y/ `! X' z3 a: o# u

  1742. ! `" K& w2 p8 B" s9 Z
  1743. [sysvshm]
    , M4 g2 ]: @5 X- U: I- S
  1744. ; A default size of the shared memory segment9 x! \, s( F/ A' F
  1745. ;sysvshm.init_mem = 10000
    6 j0 G7 j' ~6 V* e6 M8 @( h
  1746. 5 k+ V* X' O8 p* Y! l  O! v
  1747. [ldap]
    0 }& ^. r$ e9 r1 P
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    6 N* x- t; ~* n7 r2 ?( ]2 K0 P
  1749. ldap.max_links = -1
    5 S& V1 b; s  _
  1750. ( O! o3 m$ D" Q- k0 O: p' e7 a3 V% c
  1751. [mcrypt]) d* u* I2 L! u- ]
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    5 W9 I4 Z0 n2 `) ?! b) n" I! L% x* g

  1753. 7 z8 [( w5 o2 w1 G
  1754. ; Directory where to load mcrypt algorithms
    . Y" D- R$ @) q. v8 t. ]8 X
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)8 I) m! z0 R" x2 y" q( N
  1756. ;mcrypt.algorithms_dir=1 w! J* q$ p1 {0 Q9 C+ i+ n$ y
  1757. ' s4 r, x7 \4 U8 [0 |
  1758. ; Directory where to load mcrypt modes
    ) o+ ]9 m, ~& C
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    0 `% x+ H5 H5 t% Y# X5 @; Y
  1760. ;mcrypt.modes_dir=
    ' K0 B4 [* k% K- @
  1761. ; h" S3 N, c* z$ z
  1762. [dba]' H# P1 {/ g! c
  1763. ;dba.default_handler=0 J  K- E) p# T6 e) y* [+ S+ W2 D
  1764. 5 u: V+ [* f( N9 I$ \9 `4 l
  1765. [opcache]: |& v/ f1 y5 P8 ^# ^
  1766. ; Determines if Zend OPCache is enabled; d5 j& N; H# c" L% G: |9 T
  1767. ;opcache.enable=0
    ( e8 z) i5 v) s$ P4 i9 p: ?8 v) ]

  1768. 0 W- B* m3 a. f2 X
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    / O8 v1 F' o9 H$ j6 n  W6 o; }/ d
  1770. ;opcache.enable_cli=0
    . Y3 A/ Z5 F+ s8 E
  1771. . P( T  r/ u' b: e( \
  1772. ; The OPcache shared memory storage size.' Q  }% Q9 {6 F
  1773. ;opcache.memory_consumption=646 s$ e. E! G( g! ]! M

  1774. + j4 J! n. u$ N+ _6 A
  1775. ; The amount of memory for interned strings in Mbytes.7 j7 U( l6 x# A3 e' B2 x
  1776. ;opcache.interned_strings_buffer=4
    ( a0 B: X4 G# t0 d% J/ n* [

  1777. 7 p1 E- A# R" s/ j; T& O& P8 |
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.% ?* j5 ?* h: }" e
  1779. ; Only numbers between 200 and 1000000 are allowed.
    ( z. @/ S& y" C( J
  1780. ;opcache.max_accelerated_files=2000
    $ `1 ?9 V2 H0 j# C

  1781. 7 y5 M+ E3 h8 I! c6 j- R/ O
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.1 Y$ ~5 t# p1 \+ f
  1783. ;opcache.max_wasted_percentage=5
    % A" e4 K) h2 n( k* Z2 S
  1784. 1 J9 f/ u5 k, ~7 l9 |6 M; r
  1785. ; When this directive is enabled, the OPcache appends the current working/ ?6 U5 k/ o5 k) b
  1786. ; directory to the script key, thus eliminating possible collisions between; ^7 y8 V1 M9 X( |
  1787. ; files with the same name (basename). Disabling the directive improves
    ; D* O  H3 X0 C. S2 L2 @2 ^5 O/ |
  1788. ; performance, but may break existing applications.
    - A. l, y$ D, |* _$ _
  1789. ;opcache.use_cwd=19 |2 G8 ]% q1 _& C& U
  1790. . d3 H7 _; O8 t& g9 m$ X6 i4 o" Z
  1791. ; When disabled, you must reset the OPcache manually or restart the) C( l" G& Y6 `# D8 j; t7 \/ n
  1792. ; webserver for changes to the filesystem to take effect./ p- k5 V& v- s9 i7 _7 _- ?
  1793. ;opcache.validate_timestamps=1
    & N6 A% x/ _7 m4 M" U& z

  1794. / B" p# l$ q. L9 [5 G' Q: ]
  1795. ; How often (in seconds) to check file timestamps for changes to the shared# ]; V8 X* ?* Y
  1796. ; memory storage allocation. ("1" means validate once per second, but only/ r! }- b" B; A3 ^9 E
  1797. ; once per request. "0" means always validate)
    $ m( P$ Z, @. M2 T
  1798. ;opcache.revalidate_freq=2
    7 I4 i3 C* Q* r& X8 T% F! X
  1799. 6 L" F/ w6 t, q- J- j
  1800. ; Enables or disables file search in include_path optimization
      k0 R' r' u  n4 M0 [8 X4 J
  1801. ;opcache.revalidate_path=0) [- |! c) d* n. p9 B5 g3 \7 B
  1802. 6 ^; |) j$ s0 S! ^
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the# n+ Z- e! g6 k& o: Z  F
  1804. ; size of the optimized code.
    ) M) V. K4 H( d+ N! n0 [0 ?1 E
  1805. ;opcache.save_comments=1* H: Y: g" H- S( a

  1806. ; X% n$ G& V% h, ~1 A9 i
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code, Z$ s2 `9 i- f* o
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.  F8 q+ U( d+ x$ w" m
  1809. ;opcache.fast_shutdown=01 Y$ O: W, ^+ F" p
  1810. : ^, Z' ~9 c, _  q
  1811. ; Allow file existence override (file_exists, etc.) performance feature.6 v" w& ?# T; {( j8 q
  1812. ;opcache.enable_file_override=0
    / f# Y! A7 }( P/ E
  1813. & D9 l2 }5 H! V8 x$ p; l1 k4 ~
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache+ d% o# z7 x" R) R, d! L0 W$ z
  1815. ; passes
    ; _7 s8 A( |% l* w/ L8 h% q$ a
  1816. ;opcache.optimization_level=0xffffffff3 j+ {' P$ b) G5 y3 v$ m

  1817. 7 z4 q' U5 v6 l8 P
  1818. ;opcache.inherited_hack=1; S' U4 e/ B$ }2 G
  1819. ;opcache.dups_fix=0
    : K3 k' W* M0 N

  1820. 8 j) y* G+ {; h- l" V7 P
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    5 X. q, B+ v/ z# n# e/ m
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    0 S, u+ J% W0 c4 u- L  Q' ^
  1823. ; that should not be accelerated. The file format is to add each filename& b3 A. [0 U8 e* m( w0 w
  1824. ; to a new line. The filename may be a full path or just a file prefix
    * I$ c% U3 N" p0 j. I' Q3 T# Z
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    + L0 o) E! j. `. R3 r) I: _
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    : n& I% ^( @+ ?5 j! d, ?
  1827. ;opcache.blacklist_filename=
    ' A: X- F) A% r# H. L

  1828. " x, A- z6 d2 q, X' p$ @' f2 ]3 E8 B
  1829. ; Allows exclusion of large files from being cached. By default all files
    2 }0 L: R8 q! e$ D# k% {$ `/ I
  1830. ; are cached.
    3 L8 P  @. w  U% w( X  O) [' D; c! E: V
  1831. ;opcache.max_file_size=0
      n' N9 l* [/ F1 n" R. u( n( L, X
  1832. $ b# W2 @3 G  @* O8 g
  1833. ; Check the cache checksum each N requests.  {8 ]8 ]) h$ `3 Z
  1834. ; The default value of "0" means that the checks are disabled.' l( ]- {; F& l+ p! K5 c9 A
  1835. ;opcache.consistency_checks=0
    % o  I9 t0 j* E4 N

  1836. 2 e) ~/ w$ f: y0 i' J& L
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    ' J: @8 B; ^4 z8 X
  1838. ; is not being accessed.! \" l1 x) F" X5 J, H
  1839. ;opcache.force_restart_timeout=1804 M; Z6 L1 W/ S5 u' ?

  1840. . s6 K5 j0 ^- p/ m8 p! e0 U
  1841. ; OPcache error_log file name. Empty string assumes "stderr".2 x8 F9 w' j5 ~, v
  1842. ;opcache.error_log=0 y5 I. O4 V$ c7 F1 E

  1843. 1 I7 m0 t  G" x
  1844. ; All OPcache errors go to the Web server log.  |. G  Q" M% Y8 g" M9 R6 o
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    # D) i  ]) ~+ |9 l) H3 J8 q$ _
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    * W! q2 r1 L' ?/ G
  1847. ; debug messages (level 4).. o+ ^# p. o5 b- ~( @' ^
  1848. ;opcache.log_verbosity_level=1
    $ }, z5 n# P6 ^7 b5 D( s& @8 B) l5 p
  1849. ; h( }2 M  y- ^8 _5 r
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    # `; ~5 B+ A; @: B7 `+ X5 b
  1851. ;opcache.preferred_memory_model=
    1 }0 Z& X/ r; Y2 J0 D7 S# |; V5 J
  1852. 9 s' b0 H; `2 v
  1853. ; Protect the shared memory from unexpected writing during script execution.& T0 H# I- F$ g" W$ j9 ~7 J' i
  1854. ; Useful for internal debugging only.
    . s; B8 _4 c$ [3 `8 ?2 u4 u8 k
  1855. ;opcache.protect_memory=0
    ) B6 c' [" A3 N

  1856. ; z3 U1 D5 }% L$ I$ ?$ N
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    ; D* r" P: c0 C6 ^6 V
  1858. ; started from specified string. The default "" means no restriction/ r, J, t% K( ]7 G$ N; o
  1859. ;opcache.restrict_api=
    / H, ^2 m: ^; h3 ?6 h4 z

  1860. 1 G  [* v+ {$ n& Z1 d4 F
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    8 v# C0 a; U: q# @: D
  1862. ; processes have to map shared memory into the same address space. This7 D* W) k& x/ F) f9 p$ }
  1863. ; directive allows to manually fix the "Unable to reattach to base address"- l! s% d, T9 s
  1864. ; errors.% e! J5 u, e4 f
  1865. ;opcache.mmap_base=
    6 I: t1 W! Q7 |4 z

  1866. 2 l& Q* T& ?' _$ V- N( j! w) V
  1867. ; Enables and sets the second level cache directory.
    5 [3 p1 m1 ]) S7 q
  1868. ; It should improve performance when SHM memory is full, at server restart or
    ; L1 r9 I3 T" W  h4 v: I7 W
  1869. ; SHM reset. The default "" disables file based caching.* Q1 B2 J. Z6 w# u+ a
  1870. ;opcache.file_cache=7 d" }1 k! x0 _

  1871. $ N2 \9 o0 O8 \
  1872. ; Enables or disables opcode caching in shared memory.
    ) Q! ~# ^8 v0 G/ [
  1873. ;opcache.file_cache_only=0
    + d& e$ I% Y& k! |; k3 h
  1874. 1 O+ Q+ X+ w4 ]6 [
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    0 L2 ^0 f, Z7 r/ q* _# ^8 R
  1876. ;opcache.file_cache_consistency_checks=1
    / E) [: A0 \7 F3 c

  1877. 3 U! ?' w9 h( U# ~
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    - t7 A4 _9 u' \* G
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file5 n: z7 O  w$ E: U  t. L
  1880. ; cache is required.# C; u. `- g& k, C% t/ h& r
  1881. ;opcache.file_cache_fallback=1
    1 v4 B) J' d1 S& M; X

  1882. ' T$ A( w$ F* q8 y5 h$ K
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    1 Z+ `9 P: f3 u! P% }3 J/ A$ J# K
  1884. ; This should improve performance, but requires appropriate OS configuration.
    % C  A6 ]/ q! c0 |8 I
  1885. ;opcache.huge_code_pages=14 M  c9 j$ H0 C# s

  1886. 8 X5 n/ ~' n4 n& {; U
  1887. ; Validate cached file permissions.
    / l- b6 W/ b8 s# D$ `
  1888. ; opcache.validate_permission=0( e$ O$ c- d. _/ L5 @8 s9 ~: T

  1889. ! }: |& P) R) L5 `8 @. H' g
  1890. ; Prevent name collisions in chroot'ed environment.
    $ q+ J8 A5 Q9 R. U, e2 A
  1891. ; opcache.validate_root=0/ A# ]# z8 l1 M1 B
  1892. 1 [/ O/ K( @. C, [: \
  1893. [curl]8 a8 ^/ f8 j' J
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    ) l6 T2 y1 s! A8 ?0 B# X# \
  1895. ; absolute path.
    $ L6 e! W( N  B+ y) N; [
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    % g6 [' p3 @% E
  1897. & a$ w  q, n  _7 [( Z$ G
  1898. [openssl]& O  _+ G, W2 ^/ l0 `$ m1 U, @. x
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem+ Q2 F3 B" K8 c3 ~, Z; h% Y
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should- x3 L9 i& c# J! `
  1901. ; not specify a value for this directive as PHP will attempt to use the
    2 q& g& A. I* f6 [: O
  1902. ; OS-managed cert stores in its absence. If specified, this value may still/ U8 b8 z. U) B% a* S
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    3 ^0 ^% T  [: T! d8 P4 L
  1904. ; option.
    ! |, j+ \" ^' G8 O( q, R
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    8 t. v4 y  p( w% u

  1906. % q$ I, m6 t9 G5 E" E6 e
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the; u2 k5 x2 C% B: w! }# g1 x, x' f
  1908. ; directory pointed to by openssl.capath is searched for a suitable' \7 C/ `$ s  M* C
  1909. ; certificate. This value must be a correctly hashed certificate directory.: l+ R9 g9 H- f/ f  I
  1910. ; Most users should not specify a value for this directive as PHP will  C0 Z8 B3 i5 q& N2 H: Y) E
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,+ h$ A4 T" F1 y$ d* i$ K
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    / T) y4 h" b# v# x- ~1 p  a0 x% V7 @
  1913. ; SSL stream context option.( a1 R% M2 {; |4 D" G' x
  1914. ;openssl.capath=9 h! ~* t$ M$ m) B: d

  1915. ) A2 X- D7 g! c5 z
  1916. ; Local Variables:0 f6 U# Y+ Q3 Y8 h8 f" m
  1917. ; tab-width: 48 K- }5 R' G2 m; h8 L* V. Q
  1918. ; End:
    , M: J/ P; o. B" q/ a
  1919. 4 x* j+ J) ?& D" n6 X
  1920. ;eaccelerator
    , `2 e: Q8 j/ Q, S( D& `6 \7 B6 Z
  1921. 5 @6 g( v, [# h+ E& d
  1922. ;ionCube
    7 a$ o' v% S# C: ]# N9 b
  1923. ; x% F. @8 M% [; ~) ?
  1924. ;opcache9 y# l( Q3 C2 c& w/ ?$ t

  1925. " s: ?/ m& p. Z8 m9 V" u1 ~* E: X1 V
  1926. [Zend ZendGuard Loader]
    ; I" [! `; x8 P* c1 X) _! K
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    8 _+ X3 T! |( M" H/ A3 S
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so, x9 K5 M' j& z* a1 G6 A
  1929. ;zend_loader.enable=1
    6 n9 u( y" l6 Y4 q1 I. P3 F
  1930. ;zend_loader.disable_licensing=0& Z3 _( Z# W: G
  1931. ;zend_loader.obfuscation_level_support=3
    % I* t3 r% c# j4 d# A% w: s
  1932. ;zend_loader.license_path=. g+ ?6 T9 N1 m3 j/ i
  1933. & q2 G4 {6 m" |% Y% X; Z& J, }* {& F
  1934. ;xcache/ G$ i, o0 b3 {- _2 g$ O6 j3 X6 c

  1935. % B% E( H8 J; \% y3 G2 x
复制代码

* n. H- _0 ]$ n& |, Q5 Y0 a( V) }* f. }
- h3 J$ b4 @$ ^& `2 D
; u! P  ?0 l4 R) ?1 r7 m
  Q0 _$ y  \8 Z/ H0 \" X

2 O9 p/ r0 n- n8 s* _  ~2 b4 o9 w3 t( C$ A' `( u( F" o$ x
PHP5.6版本原始设置! B& C! z' @" A
7 g1 Z6 }1 S6 F$ `: W# |0 P. z- U0 u
  1. [PHP]# f3 ?& g) E: F, v9 a' [0 X6 c6 v
  2. - ^2 G* Q" [% K# \" v) r
  3. ;;;;;;;;;;;;;;;;;;;
    , U/ w  X% j% y
  4. ; About php.ini   ;
    : H4 p, d. h3 @  O5 U
  5. ;;;;;;;;;;;;;;;;;;;' C& ]: |$ m8 Y' z0 G$ a
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    % b# @, f, ^( }/ X1 Z3 @
  7. ; configuring many of the aspects of PHP's behavior.; u: ~3 y* m4 \

  8. / r6 }9 ^7 U( {9 Q  {. K0 ]
  9. ; PHP attempts to find and load this configuration from a number of locations.; l! I$ h' S6 k5 T
  10. ; The following is a summary of its search order:
    # r. D. V6 S7 I: J4 e
  11. ; 1. SAPI module specific location.5 M% f' y% O3 J7 I
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    2 F5 N$ z  x' |  P
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)" g6 U, T% y) i
  14. ; 4. Current working directory (except CLI)
    ( l' K5 S8 U6 E! J" m  h$ G7 D- ~
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP, O( Y" P$ l7 |8 I9 I, R" \
  16. ; (otherwise in Windows)/ I5 Y0 ^8 c" A7 Z
  17. ; 6. The directory from the --with-config-file-path compile time option, or the3 y1 p7 F' o9 n) B$ e
  18. ; Windows directory (C:\windows or C:\winnt)
    # E: D, }- i% o  U
  19. ; See the PHP docs for more specific information.
    9 Y( [% q3 S( }( J" p* T; Y
  20. ; http://php.net/configuration.file. G8 q" v! r$ o7 K2 ?: Z

  21. ) _0 X, t; U# y7 U- z& w  B+ m* U+ p
  22. ; The syntax of the file is extremely simple.  Whitespace and lines! b- c3 ~4 Z' t. y* X7 B
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).) [% z0 Z1 e  @
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    8 T$ _+ X) T2 ]% Y' h
  25. ; they might mean something in the future.
    # t. `' D9 O+ U1 O  s$ }/ O1 |

  26. ( P( s+ w2 B& b' u- V& `0 p) k
  27. ; Directives following the section heading [PATH=/www/mysite] only  `7 D5 k6 }/ x) p$ ?$ _* m) ?: k
  28. ; apply to PHP files in the /www/mysite directory.  Directives; r  N! T! x. V
  29. ; following the section heading [HOST=www.example.com] only apply to8 A& L3 V% i, s8 J2 x$ X" s0 {
  30. ; PHP files served from www.example.com.  Directives set in these* B& f7 h1 b3 j1 k. a; G8 R4 m
  31. ; special sections cannot be overridden by user-defined INI files or9 {3 D- V9 W" {  B4 l0 P
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under; C! ?; [! m, k7 y4 ]& a; V
  33. ; CGI/FastCGI./ E! i  x# W) F7 S% ~# B. @6 B
  34. ; http://php.net/ini.sections0 {- `7 \* g( v/ A# J

  35. 9 O4 `+ v7 `3 A' e7 g" g+ k& {
  36. ; Directives are specified using the following syntax:
    , o- C8 r/ _. X6 ]4 t5 i$ u
  37. ; directive = value& K' f% e1 q% w: y9 w6 C
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.1 n% r8 T  m; @) S! D: j
  39. ; Directives are variables used to configure PHP or PHP extensions.9 [/ s& I' m9 j! d+ \' T& f! a
  40. ; There is no name validation.  If PHP can't find an expected) Y9 D( a7 g, t! [0 |
  41. ; directive because it is not set or is mistyped, a default value will be used.
    & t8 q3 u2 f5 {) k, ^* I, t) W

  42. 0 r2 [5 D5 a6 v$ r; \9 ~
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    * ~1 R, X1 e# I( {7 M* W8 g* j
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    ; B6 a. P( O4 k; O2 _- M
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
      ~. t1 _; Y7 v. n! ]. S
  46. ; previously set variable or directive (e.g. ${foo})
    2 Q2 j( u# W  g6 x$ M6 ~
  47. ( B3 S0 E- I! x4 L/ H0 \6 k
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:( c  m: u+ Q5 N( _
  49. ; |  bitwise OR
      h$ i( R8 O+ d$ r
  50. ; ^  bitwise XOR
      X) p$ l/ g  l, x
  51. ; &  bitwise AND8 k' a; n4 R7 L* ^* r2 V
  52. ; ~  bitwise NOT  l! Y( {& l% @5 L. J9 e
  53. ; !  boolean NOT
    ) O) F; t' t) ~- ^, y5 y: }- |" q
  54. , L  V4 N  @- y# H* x" B
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.2 Z% y* J6 ?7 J$ r$ W5 C* {
  56. ; They can be turned off using the values 0, Off, False or No.
    4 G8 c7 O, t" D! I5 E& P0 \2 B7 C/ A

  57. + l! e& i" R/ j# n% k
  58. ; An empty string can be denoted by simply not writing anything after the equal
    1 Z: s+ u8 n" r' n; U4 c" f
  59. ; sign, or by using the None keyword:) }! B8 N) q* X) X1 \7 i

  60. 3 X2 V+ o% H+ n7 S. @
  61. ;  foo =         ; sets foo to an empty string
    ' ]% v% b1 s) X* d9 q7 P
  62. ;  foo = None    ; sets foo to an empty string
    / r* B6 ?6 u$ a% }
  63. ;  foo = "None"  ; sets foo to the string 'None'
    + y2 y8 I6 h' M. T+ Y) G
  64. , G% H+ I; t) F. i- L
  65. ; If you use constants in your value, and these constants belong to a. n/ l$ U! Y+ v- {% O) z, G: K
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    2 E5 n& V# T" t" C7 H
  67. ; you may only use these constants *after* the line that loads the extension.8 i, S  q3 E7 O
  68. ( K. g& s( |. \6 r6 k4 ]% s  m  c
  69. ;;;;;;;;;;;;;;;;;;;# N$ d# a1 X# m/ a
  70. ; About this file ;7 `4 e9 s- I4 m$ V0 o) K9 _( N' o
  71. ;;;;;;;;;;;;;;;;;;;
    % v$ B& L! v6 N: X: R  a# D& a, |# F/ m
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    / \5 d& i& F6 J8 j
  73. ; in production environments and one that is recommended to be used in5 t  G+ x' [  e/ ]
  74. ; development environments.
    # d" w) N/ q( X1 S. p8 q
  75. % m4 X0 j8 b5 b& F: u8 {* g0 R5 p: A
  76. ; php.ini-production contains settings which hold security, performance and, k  `" z. z9 r2 B9 F8 F
  77. ; best practices at its core. But please be aware, these settings may break, b0 F8 p" W- k- g/ z
  78. ; compatibility with older or less security conscience applications. We
    ! n+ e3 q6 V3 _0 I
  79. ; recommending using the production ini in production and testing environments.
    + V- b4 _4 n3 R2 o

  80. " ~" X3 F0 P" f  n: W8 s6 F1 z
  81. ; php.ini-development is very similar to its production variant, except it is
    & K$ y) [4 ~* l- |/ U7 k0 e& e
  82. ; much more verbose when it comes to errors. We recommend using the+ ^7 X/ [, `9 H3 \; J( b
  83. ; development version only in development environments, as errors shown to
      k+ x& l( t, @0 ^9 V4 ~3 U
  84. ; application users can inadvertently leak otherwise secure information.' f' c4 h- o  G* i$ U) {& u

  85. 1 C1 K* W/ B7 x. M; [
  86. ; This is php.ini-production INI file.
    , U- s4 }# ~8 T- o# \
  87. ' X* }% M: [2 N) N
  88. ;;;;;;;;;;;;;;;;;;;
    3 s% i. p2 O* s! s
  89. ; Quick Reference ;2 ^% x% N1 C' Z8 e( y
  90. ;;;;;;;;;;;;;;;;;;;) J, X* C! J0 B6 ]" `+ i& B
  91. ; The following are all the settings which are different in either the production, q6 n2 ?, a1 E  W: }. e+ Q
  92. ; or development versions of the INIs with respect to PHP's default behavior." T" t! S) P: o  b1 q9 c  D5 I* A% [
  93. ; Please see the actual settings later in the document for more details as to why6 \/ j  U7 _- ?9 p) Z
  94. ; we recommend these changes in PHP's behavior.: b, L3 ?/ m* N8 f
  95. 9 ~. D2 K& G. |  v* ~- v
  96. ; display_errors
    + ^! c' g+ x& s# n3 Y- d/ K
  97. ;   Default Value: On
    ' w4 w8 U1 Z0 J, R$ M0 z0 Q( t  z  X
  98. ;   Development Value: On
    2 f1 W7 G" k7 u" E
  99. ;   Production Value: Off
    ! u3 f! v) s1 p- x
  100. # h+ Z% Q, U! {
  101. ; display_startup_errors
    8 Q3 T: E8 T1 ?0 `! D# Z
  102. ;   Default Value: Off
    6 m0 S$ V% k. ], S- o
  103. ;   Development Value: On
    % h7 D! X& w& u# L
  104. ;   Production Value: Off
    8 R( e) z' s8 q# n$ C. J. [
  105. ; a. R. C- U+ ~3 ^( A5 s, {9 y
  106. ; error_reporting
    ! Z! z# X0 d3 g
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    . e4 K8 Q! V- W2 z+ B
  108. ;   Development Value: E_ALL
    0 v) J, h: i. d  K, Y7 M
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    ; [; x9 x  s% H! Q
  110. $ @; C& z  t* N) M( O# U
  111. ; html_errors- X  N+ U5 }) t7 L
  112. ;   Default Value: On
    ) {; q6 Z8 v- I) j  r! e* r( y
  113. ;   Development Value: On
    6 x4 o% V: K, \, ]
  114. ;   Production value: On5 _- e# F0 P* g* b$ ^; z: i

  115. % I, {0 C8 a' J2 K2 O- n
  116. ; log_errors/ m" E0 F- b$ ?
  117. ;   Default Value: Off
    - o/ c: q) i5 d! z8 x2 R7 n
  118. ;   Development Value: On
    0 S& C2 X# r+ `7 l
  119. ;   Production Value: On
    3 l2 H  s, O) g8 `+ Z0 g
  120. 9 D/ }; c$ F  b- R5 Y( ?
  121. ; max_input_time
    3 {' V& J! \# X& W/ `' @
  122. ;   Default Value: -1 (Unlimited)
    ) E- L4 o' \  A) E! E% l
  123. ;   Development Value: 60 (60 seconds)
    # P7 F' C' {: H1 D1 V0 q  Z, p- S. i7 ^
  124. ;   Production Value: 60 (60 seconds)
    . }( T2 X' i& S
  125. ; |) L* p3 z, [. W1 E
  126. ; output_buffering- d9 r" ]4 L7 n# s# T+ \% }
  127. ;   Default Value: Off
    5 D% ^5 W8 l) }2 [5 t0 B9 K6 A
  128. ;   Development Value: 40961 t. m9 J5 ^) D, s8 l! l
  129. ;   Production Value: 4096
    9 z1 {7 v. m6 X
  130. # Q  L% r, ^$ W8 u8 l
  131. ; register_argc_argv
    4 m$ R5 s0 Y: H, _4 Z: w0 \
  132. ;   Default Value: On* t) h5 W/ z. ~6 P, ^& {7 y
  133. ;   Development Value: Off
    0 o8 N# P+ v# N" Z+ o8 _
  134. ;   Production Value: Off
    : z1 H! J3 Y8 A, L4 h
  135. - n+ Y! M/ F4 f- |- {* p
  136. ; request_order
    7 o0 \) H: s6 B7 W  b+ S" f
  137. ;   Default Value: None
    % u* \: t! D1 }1 u
  138. ;   Development Value: "GP"! V  \& U' S8 r6 n0 N/ g7 F
  139. ;   Production Value: "GP"
    * [' ~3 }. a  \& m( ^1 u

  140.   v! m: J2 H* l6 I0 U2 }6 W# e
  141. ; session.gc_divisor; p) E4 v  h' X
  142. ;   Default Value: 100
    ; D) O4 z6 s5 F. p2 c
  143. ;   Development Value: 1000
    1 x! D2 @1 _/ T' n
  144. ;   Production Value: 1000
    5 G) r# x: l) H
  145. . W/ g4 x5 g& k- u( W
  146. ; session.hash_bits_per_character. L# J5 Q* s. W/ P" K; A0 B
  147. ;   Default Value: 4
    / F/ b' I0 }5 r, F( Z0 L
  148. ;   Development Value: 5
    ! F2 Y5 u1 X! @2 V+ L( B; u& r, ~
  149. ;   Production Value: 5
    ) B7 h% `- l( h
  150. , j6 Q: y1 i" k6 N* `8 Z6 x
  151. ; short_open_tag# Z7 x! i& F5 _( [
  152. ;   Default Value: On# n; T( X8 m& _3 x5 A
  153. ;   Development Value: Off6 ~; q0 i* F( _9 Z
  154. ;   Production Value: Off$ }4 R# r3 K' V
  155. % m$ w+ K, b0 m
  156. ; track_errors
    & R+ M$ ~  @3 w& E) P. D
  157. ;   Default Value: Off
    0 k: u- Z- c2 C
  158. ;   Development Value: On
    . V8 e8 e) m0 `! f4 Y; b8 ]1 o( N; [
  159. ;   Production Value: Off% k2 w) \# C$ D/ B5 d
  160. 2 m- |- N! M3 M; e
  161. ; url_rewriter.tags' f/ o+ A+ R3 ^9 G7 M/ i% H0 O1 L
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset=": E* I' F' M% J4 @) @! ?* _0 }/ a
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    4 {9 V4 c+ L- b! o
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"' E" A) s  @$ _0 p

  165. ! e3 B+ e5 C4 s, t8 G& K# L) Q+ p) `- ?
  166. ; variables_order
    # f4 b! v3 x3 o7 b
  167. ;   Default Value: "EGPCS": i' b' n7 \$ _- s# L% D6 _1 Y
  168. ;   Development Value: "GPCS"1 r) s* M# N7 b( s  L0 k
  169. ;   Production Value: "GPCS"
    4 T" v& y& J; _! b4 c4 @8 h: q

  170. - [6 z( I8 o1 ~1 c& L
  171. ;;;;;;;;;;;;;;;;;;;;
    - V6 x; e) @% n7 |5 J
  172. ; php.ini Options  ;! h1 _) {  H9 y( ~7 V/ G& V
  173. ;;;;;;;;;;;;;;;;;;;;
      |1 f! P; x* p+ _: S" g% r
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"/ X3 W" H' ]# c9 Q4 E# H3 W* E( ~' ?
  175. ;user_ini.filename = ".user.ini"4 i* x/ J$ V% X6 u' V7 \! Q& O
  176. 8 g: e5 d: b8 \/ b3 c4 \. s
  177. ; To disable this feature set this option to empty value
    + \* P1 P' x1 m! ^
  178. ;user_ini.filename =
    - ~& p: |' S8 |0 t3 g/ K; I3 Y

  179. + f2 n3 Y+ c% \; d. E
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)! ~! r$ z6 j7 w/ Q; S
  181. ;user_ini.cache_ttl = 3008 R7 p* Y0 k( a. ]# I" J. N

  182. 4 @. t' Q: L! R0 M2 I) \" B
  183. ;;;;;;;;;;;;;;;;;;;;
    0 V$ ~% V; Z$ L5 `9 }
  184. ; Language Options ;
    5 c# S+ A5 B1 R8 q) o+ `( _% u
  185. ;;;;;;;;;;;;;;;;;;;;
      E8 l: N) Q! z; d9 b" T+ |

  186. $ `' B; j! R  L  Y1 Q) D" j
  187. ; Enable the PHP scripting language engine under Apache.
    9 M, p1 c6 p8 j5 p
  188. ; http://php.net/engine
    8 S# K# [1 V+ N; T
  189. engine = On) x4 B8 d7 ^$ Z

  190. ( P* M/ U" ^6 ^" n0 G7 \9 J5 f
  191. ; This directive determines whether or not PHP will recognize code between
    8 \. d2 f: @! Z3 L
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    . a0 |- L2 J" G3 J% Z+ i
  193. ; generally recommended that <?php and ?> should be used and that this feature2 U4 d1 A1 b7 R1 }: C
  194. ; should be disabled, as enabling it may result in issues when generating XML. H! R2 s0 ^6 ~' z* B
  195. ; documents, however this remains supported for backward compatibility reasons.
    ) C2 _) t7 r7 m
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    1 f' M/ K; |  Q4 N! l. A3 H9 H
  197. ; used regardless of this directive.
    0 |/ X8 P: m5 [+ u; A1 w6 b
  198. ; Default Value: On' F8 w6 ]' V2 e$ f8 H
  199. ; Development Value: Off
    " M; B) J( M; h7 P3 R# v/ I
  200. ; Production Value: Off1 c" u* a# Z; ?6 Q  \
  201. ; http://php.net/short-open-tag
    & k- [% }  B7 X4 b# }0 t9 }% {2 h
  202. short_open_tag = On
    " I) q8 |3 K4 D+ Q& _
  203. $ I; L- _9 G& L2 W' M
  204. ; Allow ASP-style <% %> tags.
    + `6 L) @5 O, e- f% ~
  205. ; http://php.net/asp-tags5 O( `7 P- f4 Y8 ^: O0 O) |  S6 M
  206. asp_tags = Off
    2 R3 T1 a/ [7 N" F
  207. * a" f/ V, y: [+ i
  208. ; The number of significant digits displayed in floating point numbers.
    1 ]  b; Y1 k% u1 _9 r
  209. ; http://php.net/precision
    ) @+ U# h2 O* b& e
  210. precision = 14
    3 {9 \* \5 Q" b) j

  211. 3 @% a& A+ q! v0 c; u
  212. ; Output buffering is a mechanism for controlling how much output data
    2 @) e2 v5 R& b8 j7 T
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that3 w# _5 c+ V7 u1 ^
  214. ; data to the client. If your application's output exceeds this setting, PHP
    # N$ t, w4 V: V7 e" v9 F. I8 e, g
  215. ; will send that data in chunks of roughly the size you specify.: ?+ {$ z/ c% v: ~! ~
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    , v4 g. j' a& ]' r* E# C
  217. ; interesting side-effects depending on your application and web server.5 L% R  o8 p% m4 i( ~0 I% ?
  218. ; You may be able to send headers and cookies after you've already sent output8 n* L7 C3 U5 s1 q- Z
  219. ; through print or echo. You also may see performance benefits if your server is0 [3 @1 ?, k' x5 Y9 d! b; O/ ^
  220. ; emitting less packets due to buffered output versus PHP streaming the output5 k- f5 c0 D- d) \3 n
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    2 ?' M$ M1 d5 e; ^; W  A5 z% i
  222. ; reasons.6 P7 J& w" s' o  t5 @
  223. ; Note: Output buffering can also be controlled via Output Buffering Control  {5 {; ]2 ~  k/ r# e$ Y! b
  224. ;   functions.
    + @: i  b8 Z6 }* X) h
  225. ; Possible Values:
    2 t5 ?& Z  }% u
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)4 B: i$ d7 V) t* I
  227. ;   Off = Disabled, O& A; E6 c6 d" C; A9 F6 C2 [) z
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    - q$ ^& t! n8 H
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    7 |; N1 S" A6 K. h! r, r
  230. ; Default Value: Off+ K0 K: F" u  m# h' X
  231. ; Development Value: 4096  w* w$ ~* I. J6 I! I7 D# Z
  232. ; Production Value: 4096  D# C5 Q8 W* e, `# _
  233. ; http://php.net/output-buffering) x8 U; ?9 Q' V* b: |. Z
  234. output_buffering = 4096
    ' |; g  b8 D1 A* I5 b7 P
  235. * |7 a- |6 T; o5 x6 I
  236. ; You can redirect all of the output of your scripts to a function.  For
    - H( @  b  R9 d3 S
  237. ; example, if you set output_handler to "mb_output_handler", character% ?# E6 L3 y- ^# p) k# L' s# y
  238. ; encoding will be transparently converted to the specified encoding.
    6 e  L1 ?* s/ Y6 ]8 p. w$ `0 c* {
  239. ; Setting any output handler automatically turns on output buffering.
    , w! h; g0 J6 u3 A8 E, _% j& G
  240. ; Note: People who wrote portable scripts should not depend on this ini
    4 U+ P1 J, D4 [( B* e$ J) V
  241. ;   directive. Instead, explicitly set the output handler using ob_start().0 ]( ]% ?6 u3 R  Z, Z
  242. ;   Using this ini directive may cause problems unless you know what script
    6 A$ k* V$ |, q
  243. ;   is doing.
    / q+ L" L, C1 z) `
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    # \6 y  G9 Y- \( K6 s
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".+ M+ u6 r+ w/ i$ S+ l
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    ! d) m* L% I7 n* {# [! x9 D
  247. ;   Instead you must use zlib.output_handler.
    : J5 S! e" f, s6 I& h+ U) m/ Q
  248. ; http://php.net/output-handler; O8 y( w$ O8 L7 o# q' l, M
  249. ;output_handler =
    ! @( X$ K7 C- N, n) J( Q

  250. 5 H$ D7 Q! J% K1 v. F; d
  251. ; Transparent output compression using the zlib library
    ( w& ]* T& Q! j) I, E+ a2 X
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size' H/ ~0 g" d  ]+ o
  253. ; to be used for compression (default is 4KB)$ p' K8 S* Q' x7 P9 B
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP# Z2 {4 S# n* u! X" h$ L8 E
  255. ;   outputs chunks that are few hundreds bytes each as a result of$ P! D7 a; E; X7 J% ?0 ~3 d
  256. ;   compression. If you prefer a larger chunk size for better' f& {& p- A& N, F) Y
  257. ;   performance, enable output_buffering in addition.
    1 Y2 y* F0 p: [$ ]. k+ i# Y
  258. ; Note: You need to use zlib.output_handler instead of the standard
      s0 S" Q9 r3 _& v* K
  259. ;   output_handler, or otherwise the output will be corrupted.- u& x/ I' r9 {
  260. ; http://php.net/zlib.output-compression( F+ p8 E) L) o6 F3 r8 H0 D
  261. zlib.output_compression = Off- Y$ ?% e) U2 y/ F
  262. 7 z. Y8 p* a& [" k) p" j& G6 D
  263. ; http://php.net/zlib.output-compression-level& X* A8 `( s* R& W2 j2 R
  264. ;zlib.output_compression_level = -1$ h5 v5 Q" c. U+ t, N
  265. : ]9 g7 I  [$ P
  266. ; You cannot specify additional output handlers if zlib.output_compression1 E3 \5 l1 ?' ~, i! n$ o
  267. ; is activated here. This setting does the same as output_handler but in* @6 P( A: e! w& f& a# x0 U
  268. ; a different order.* d0 k3 z# l# w" m# C3 U9 A
  269. ; http://php.net/zlib.output-handler
    1 K5 x! |2 K( t
  270. ;zlib.output_handler =
    ' c- A* b# [/ a% s0 k4 s6 v

  271. + ~/ r- r; H( s6 t
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    % }, }1 ?+ j: A- p; Y5 n: O
  273. ; automatically after every output block.  This is equivalent to calling the
    6 U' A& S  f7 A. U
  274. ; PHP function flush() after each and every call to print() or echo() and each
    7 Q1 F+ A) j; j+ z, ^
  275. ; and every HTML block.  Turning this option on has serious performance# v  a1 O" {# T) E1 S; ?5 k0 {
  276. ; implications and is generally recommended for debugging purposes only.6 p7 \6 x5 g5 L4 g5 D+ u
  277. ; http://php.net/implicit-flush. D3 O3 {$ z% t5 F: f
  278. ; Note: This directive is hardcoded to On for the CLI SAPI% r# h# U0 d$ g6 M% o3 |5 ?5 V+ ^
  279. implicit_flush = Off8 r/ l- k) i3 Q# p
  280. + y, R' D3 p- D5 L
  281. ; The unserialize callback function will be called (with the undefined class'
    1 S( I5 ?% q+ X! f6 S& J: V, B. z, \
  282. ; name as parameter), if the unserializer finds an undefined class5 h3 j6 m6 j6 D+ ^4 z
  283. ; which should be instantiated. A warning appears if the specified function is3 V) f1 h1 t$ B5 y3 a
  284. ; not defined, or if the function doesn't include/implement the missing class.
    . u, _$ k! D# f' O; f% x
  285. ; So only set this entry, if you really want to implement such a
    1 p% d6 J9 V$ k
  286. ; callback-function.8 ?6 J# O. T3 ^" i3 ?: q9 |7 F$ X
  287. unserialize_callback_func =3 O3 G/ f  l0 b
  288. 2 a) L- x% P, V* {1 I
  289. ; When floats & doubles are serialized store serialize_precision significant
      J* W; _0 y) }; G9 T- k! r
  290. ; digits after the floating point. The default value ensures that when floats. Z( K) ~) h) X
  291. ; are decoded with unserialize, the data will remain the same.
    9 q6 u8 s" `; ~2 p2 m2 e
  292. serialize_precision = 17' b. c, T3 n9 v

  293. 7 C( P( L( l, e+ g
  294. ; open_basedir, if set, limits all file operations to the defined directory6 L( f. B1 _4 f' a6 o1 P2 K
  295. ; and below.  This directive makes most sense if used in a per-directory5 D& k% k' n! T+ M; e5 [8 i
  296. ; or per-virtualhost web server configuration file.) z& Z" ~. J1 ]
  297. ; http://php.net/open-basedir4 h# p( t( v6 G6 [
  298. ;open_basedir =! }0 B! `6 s8 E5 `& `

  299. 4 k  i9 Q( p+ M+ P- L' X& L1 w# x
  300. ; This directive allows you to disable certain functions for security reasons.6 f# A  g" K7 {) c; j9 u. F
  301. ; It receives a comma-delimited list of function names.
    ( z2 M( Y& Y0 q- H: F6 t
  302. ; http://php.net/disable-functions+ b( ^) ]: }# Y2 P+ m6 o  P% F
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru, W9 K/ c1 y5 z8 N" _0 |) ^
  304. 1 d9 }. c  W- \: {- y  p. ~. ]* Q
  305. ; This directive allows you to disable certain classes for security reasons.
    7 D/ }0 c. `; E+ e: s' x2 h% z7 E
  306. ; It receives a comma-delimited list of class names.
    + P! X' Q, Y7 q3 E1 f
  307. ; http://php.net/disable-classes5 ]# T8 P0 ?3 ]4 i: t" |
  308. disable_classes =8 s# R' k' W5 t5 k  A) M% ~* E/ ^

  309. 9 ^+ f1 w9 S; L0 v, f
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in+ C  j& J: c3 q* m
  311. ; <span style="color: ???????"> would work.
    $ k( k% H+ T' t! T" g9 e# {( y1 B
  312. ; http://php.net/syntax-highlighting
    " @$ J, ^  e- L3 |( l6 g/ r. X
  313. ;highlight.string  = #DD0000# \; V+ _' E8 U( |
  314. ;highlight.comment = #FF9900
    - L0 v) R5 V' \# q5 h; @: l$ [
  315. ;highlight.keyword = #007700
    # o' q' D; v* O7 T: P9 T( S* L
  316. ;highlight.default = #0000BB$ K2 ^$ W# o% A, K( T1 @  |# h
  317. ;highlight.html    = #0000005 U# a0 w5 ~1 H; C
  318. $ _! I/ T% S* \7 H% J* d
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    + C8 }& j/ E8 B; k/ ]5 v9 U" A
  320. ; the request. Consider enabling it if executing long requests, which may end up/ m  ]4 c8 R" T) M7 f
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    1 F1 Y& g6 M3 O' y, O
  322. ; is to disable this feature.4 ]9 l! o8 W* U, s
  323. ; http://php.net/ignore-user-abort
    0 a; \  R9 }: P
  324. ;ignore_user_abort = On
    * v* v# [  ~8 y" Z" t1 s- _

  325. $ H+ `, Q1 b8 r$ f2 i
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    # t8 Q" l* `9 W/ l
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
      P: S! d: G+ M; ^
  328. ; the file operations performed.2 _) `/ z3 v* S; C3 N3 A" |/ z
  329. ; http://php.net/realpath-cache-size
    : S- g) ]" C0 _" g( @2 R, [
  330. ;realpath_cache_size = 16k- i6 o1 M3 s! Y" q/ o; O3 C6 Y+ u
  331. % [( j. e' p# }: Y" W
  332. ; Duration of time, in seconds for which to cache realpath information for a given: \) g2 F/ j; z6 D- l
  333. ; file or directory. For systems with rarely changing files, consider increasing this& a3 e# z  Y* {# g" a
  334. ; value.) l; U5 L' C+ K8 t& f" K% |6 \
  335. ; http://php.net/realpath-cache-ttl8 R) {# u6 y; q9 f  \
  336. ;realpath_cache_ttl = 120/ t2 I2 l# L+ Y

  337. ; L9 Q! H4 I# }; P& Q6 s6 ]
  338. ; Enables or disables the circular reference collector.
    : a# M/ s+ Y: o
  339. ; http://php.net/zend.enable-gc
    7 |0 P; [6 [& o( p
  340. zend.enable_gc = On
    2 t, i8 w' Y, U
  341. & l& F2 T9 m1 \  X" N# }6 B0 \% b
  342. ; If enabled, scripts may be written in encodings that are incompatible with
      E; k; X  a0 j; u
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    ' _4 p$ X1 F; H- r, j3 Q* V) v
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    # U" U4 [" C) M  q2 M3 q6 h
  345. ; Default: Off& e# S4 @; ?/ @5 w1 l
  346. ;zend.multibyte = Off" ]! L8 L9 I& W! }8 M1 _$ I
  347. $ t+ H2 c8 R1 V6 c0 O
  348. ; Allows to set the default encoding for the scripts.  This value will be used2 R6 r/ ^4 v5 O5 ]. ?- e
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.) L, l: g* O. H/ N; {3 d
  350. ; Only affects if zend.multibyte is set.0 W! y' L  g6 Y; @/ C0 O
  351. ; Default: ""
    ' R' g5 n5 c: l" i/ O
  352. ;zend.script_encoding =( Q/ o" U3 x, Y5 C$ {# j. s3 ?# n
  353. - t/ k, i& ?: D* _% z3 v. \
  354. ;;;;;;;;;;;;;;;;;  [! D1 `; m; y( B8 X; ]% h; p! U
  355. ; Miscellaneous ;4 T# s, v! v- T' y- ]/ h% F
  356. ;;;;;;;;;;;;;;;;;
    ' o+ C4 \( c4 Q
  357. 7 t& A- @7 I% v4 k
  358. ; Decides whether PHP may expose the fact that it is installed on the server1 q9 k9 z9 I. [" {" R! e
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    / j8 F3 H2 W' \; S
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    8 \: L: d. [; [5 X0 f$ k1 M7 C
  361. ; on your server or not.
    # }. i! w; }; H9 Q- x
  362. ; http://php.net/expose-php1 Q/ ^6 s$ L# i2 }
  363. expose_php = On8 p# v) j/ L. H- h( n# C! ^
  364. ; s" [: g! `3 z2 j4 G; s" K0 \
  365. ;;;;;;;;;;;;;;;;;;;3 R& f, i) P; ]+ o9 s" v+ [6 r8 P6 G
  366. ; Resource Limits ;
    8 w8 H6 r% a) r8 B9 T6 O' l; F
  367. ;;;;;;;;;;;;;;;;;;;  e) V4 q5 J6 M9 c4 B1 O! m

  368. * T6 A3 p% x/ Q9 `9 A
  369. ; Maximum execution time of each script, in seconds/ S5 w. J/ Q" I# c" c6 `; _2 _, q, `
  370. ; http://php.net/max-execution-time; n$ ?4 d( U* d
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    8 S' Y( f' j( E' W. _: u, D& O
  372. max_execution_time = 3009 ?+ Q. K  N+ e2 q
  373. $ O2 e: y+ Y& T  `* ~0 Y
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    $ n! u  e. T3 L  R3 }
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    , i, m0 V0 J* a- y6 M
  376. ; long running scripts.* O: g8 q3 u" U) v: X8 t4 Q
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI3 Y( e# t7 v8 T' |: m; E
  378. ; Default Value: -1 (Unlimited)  ?! I+ B1 N; K
  379. ; Development Value: 60 (60 seconds)8 ?% ?) W( Q2 J
  380. ; Production Value: 60 (60 seconds)& z5 t5 r/ j4 u* n9 G
  381. ; http://php.net/max-input-time  J) S# v" Y. L, d1 W
  382. max_input_time = 60
    & V+ g: ~8 ^$ U+ S0 Z2 v8 A5 y

  383. + t! B& L- ~) K. w  E
  384. ; Maximum input variable nesting level+ m* I6 z, A0 X. n% M: w3 C1 y
  385. ; http://php.net/max-input-nesting-level
    , d. T: E) J0 m' M  E$ X+ t8 `
  386. ;max_input_nesting_level = 64/ p, b4 I6 ^0 F$ g
  387. 4 Q& D. i( s6 e+ H  b
  388. ; How many GET/POST/COOKIE input variables may be accepted/ a% J2 ^7 s# S1 H
  389. ; max_input_vars = 1000
    - a  @" p) \. ?7 t& r3 z4 s
  390. . Z2 f# u& h! z/ d2 R
  391. ; Maximum amount of memory a script may consume (128MB)
    7 L) m$ J7 s2 w: p5 `) R
  392. ; http://php.net/memory-limit, g) e; T4 N" }* S6 x5 g+ I2 [
  393. memory_limit = 128M
    ; S3 [% t: a( E0 v

  394. : ]5 }% j& E) `7 c5 ~
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    3 ]; ?& R7 l8 ~6 h# [9 R7 O* V
  396. ; Error handling and logging ;
    5 O. L" B$ i/ w; y2 h- J. c, t
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    0 y* h7 V3 p* J# \) z& |2 r8 ], x

  398. 5 P( t& q! a; b/ t/ n1 `( D: z0 {
  399. ; This directive informs PHP of which errors, warnings and notices you would like- D* L3 Z+ ^1 N) m3 N
  400. ; it to take action for. The recommended way of setting values for this
    8 _7 q' Z6 [6 w& P0 R4 y
  401. ; directive is through the use of the error level constants and bitwise7 X, P) b" B$ ?, I8 b: \3 N- _, |
  402. ; operators. The error level constants are below here for convenience as well as% c0 D. [1 D; d. A) z
  403. ; some common settings and their meanings.
    % t/ j- |8 |; z$ [
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT! i* a2 Q, _' f  Q' ^  s
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and& V: M, W, L" {& [7 {+ Y
  406. ; recommended coding standards in PHP. For performance reasons, this is the( N- r1 [2 ]( H  S! Z
  407. ; recommend error reporting setting. Your production server shouldn't be wasting: C' E. A2 Q! _& E0 h2 o
  408. ; resources complaining about best practices and coding standards. That's what
    $ r4 \* S6 k/ U9 a/ s& {
  409. ; development servers and development settings are for.
    ) O# z; |  t) u3 r5 n$ y+ Z4 ~
  410. ; Note: The php.ini-development file has this setting as E_ALL. This/ L9 [, z. G$ U& \9 y* E
  411. ; means it pretty much reports everything which is exactly what you want during
    4 Q8 N$ k' P! h. ?
  412. ; development and early testing.% X$ U: u8 e8 ^! F5 W4 P& v
  413. ;
    1 X3 `% i9 w: f. U
  414. ; Error Level Constants:& G+ }! R( e1 x4 I1 @- V
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    " W- P7 i% Y+ s7 w* J: `
  416. ; E_ERROR           - fatal run-time errors
    0 ?' c9 X9 i" m
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    * m# [3 Q' O# c+ c. Z# r9 N/ `
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    5 `/ o8 v+ S7 w: C5 C* n! b
  419. ; E_PARSE           - compile-time parse errors
    2 X0 Z4 ?4 p8 F6 h8 d2 ]& n
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    6 e6 N' r8 Y- t8 k7 u7 L
  421. ;                     from a bug in your code, but it's possible that it was3 E. X4 ?8 s, Y, K
  422. ;                     intentional (e.g., using an uninitialized variable and
    & \/ H- Q: d( D1 |
  423. ;                     relying on the fact it is automatically initialized to an
    ! @4 t; C4 y% N+ v
  424. ;                     empty string)
    4 U. q! F$ M. ~6 H) P: w8 L9 K
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes' z; v5 A' n# j' X
  426. ;                     to your code which will ensure the best interoperability2 C7 j$ D5 `5 E2 {/ ^  U5 u  h  `% U
  427. ;                     and forward compatibility of your code. F/ i  f! w$ c: z
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    . V' g$ X" l3 f$ Q5 K
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    $ L& J! R: `1 \9 R& {( b
  430. ;                     initial startup
    ' i; \# O2 _* p6 `4 r! k8 ]* h3 z: L
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    8 N2 N! Z* J. \# A8 f! k9 F+ \3 M
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    " F. G9 M; n1 k/ ^9 R* l6 F
  433. ; E_USER_ERROR      - user-generated error message
    & J. L" }% y7 t9 U  s- n4 i2 w' A/ r
  434. ; E_USER_WARNING    - user-generated warning message; e! b9 {) o5 {# h! H
  435. ; E_USER_NOTICE     - user-generated notice message
    4 \3 X0 [, H( F) L# N( G% O$ \
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    1 C! p' Q7 `8 V: q8 T. z4 A- f9 \
  437. ;                     of PHP
    4 A. \+ q  N6 W2 l+ q
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings! x% h9 A; `+ u* ?
  439. ;" ]8 r0 l& S* H. B
  440. ; Common Values:) k# z6 T8 o/ `' Z
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    " P9 L. U3 L) T
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)4 L0 |. s" U8 W6 m, q/ H
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.), _% F, O( a+ W* I, h: a; @
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)0 c9 J6 U( @9 `8 W$ d
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED0 o: N+ D9 ?1 b( [2 S
  446. ; Development Value: E_ALL
    4 ~8 }! w# Q. S  g
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT& q, A) P5 o, d$ ^6 n  L2 o% W
  448. ; http://php.net/error-reporting
    ( G) k  a+ j1 P- Q+ h' T6 f9 z( R6 b
  449. error_reporting = E_ALL & ~E_NOTICE
    3 H( m& [- D- B7 M1 ?4 Q

  450. ' m; ~5 d) t. u: p* j* b8 E
  451. ; This directive controls whether or not and where PHP will output errors,1 u! g- q9 n; G4 X) }7 ]$ B9 b) i/ H
  452. ; notices and warnings too. Error output is very useful during development, but
    ! x- ?' v1 I5 B$ M8 `; W5 V1 [6 v
  453. ; it could be very dangerous in production environments. Depending on the code
    2 E0 k' r( m7 ^1 P
  454. ; which is triggering the error, sensitive information could potentially leak' k! E" |4 ?) V" M( h1 O8 C
  455. ; out of your application such as database usernames and passwords or worse.8 L$ q5 X  o: |2 d
  456. ; For production environments, we recommend logging errors rather than; ?/ Z9 h& e: }" B6 Q" e, d
  457. ; sending them to STDOUT.! f$ q2 E  O+ {( x* I& \* k
  458. ; Possible Values:6 I" P. ]" T* q2 N$ z7 D
  459. ;   Off = Do not display any errors
    , J; U( W* k" r1 K
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)7 h6 `, P4 l5 ]* T* s, Z3 a
  461. ;   On or stdout = Display errors to STDOUT
    2 M. Z$ t$ T& J2 L. b! ^
  462. ; Default Value: On
    , i  S; t5 K! V2 v
  463. ; Development Value: On9 y+ @: _, F( B  Z. k% I: k! h" K
  464. ; Production Value: Off
      F, W" _8 M0 i9 W1 c
  465. ; http://php.net/display-errors
    : I( Y! q5 ]6 n5 i
  466. display_errors = On: H7 j- T1 }5 T6 q/ j

  467. & x4 L' }% n. L. w, _
  468. ; The display of errors which occur during PHP's startup sequence are handled8 L1 g2 J: B0 q1 a6 `
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    ( G0 u9 L2 D& j9 Z
  470. ; errors from clients. Turning the display of startup errors on can be useful in" \) `2 w7 H2 i: ?; N
  471. ; debugging configuration problems. We strongly recommend you
    9 J0 E! r2 }4 C) f% l
  472. ; set this to 'off' for production servers.& ^. |" `3 r7 w: B. z: T5 b) ~+ a/ w9 a
  473. ; Default Value: Off
    ; i6 B& {+ a* N3 w1 ]4 `, Z+ F
  474. ; Development Value: On
    2 _7 |' v* A+ T8 x- g3 O4 Y9 e
  475. ; Production Value: Off
    ) i2 P' {: i9 A
  476. ; http://php.net/display-startup-errors
    ; l% _* \: f$ U8 B; K/ M% d
  477. display_startup_errors = Off
    , K* x' ?# j! b' M) b3 [: s9 d

  478. 1 Y1 {& i1 k+ a* N6 }/ X; J
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    # m& Y! C5 |- I0 z  t  y) H
  480. ; server-specific log, STDERR, or a location specified by the error_log" y: L9 g6 n0 g7 C/ R
  481. ; directive found below. While errors should not be displayed on productions
    7 i  c/ t# [, n7 |" Z5 ?' o9 C/ ]
  482. ; servers they should still be monitored and logging is a great way to do that.* q) n& \+ L  S7 m
  483. ; Default Value: Off% @3 Q, u: p, @* x
  484. ; Development Value: On- D9 f( m$ ~9 [1 ^& A+ [$ K
  485. ; Production Value: On+ i% {# K) ^1 J
  486. ; http://php.net/log-errors
    5 t8 ~. k3 Y" s- b* B; ?3 c9 t
  487. log_errors = On
    8 e( k9 b3 p- s0 u

  488. $ R, ], T/ N- Z; l% @9 t6 b2 z
  489. ; Set maximum length of log_errors. In error_log information about the source is
    * G8 O$ q( P& q" q* I
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    , h; i% U* f, V% G
  491. ; http://php.net/log-errors-max-len
    2 \% d3 O0 t& h
  492. log_errors_max_len = 1024
    ( w4 Q: C4 X) n4 R9 c; {; m; u* c: P

  493. ( B) ]+ c. ?0 D% Y
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same, y+ w' N. T. f: e/ k' R# e
  495. ; line unless ignore_repeated_source is set true.
    1 g, L# n- `9 A0 Z
  496. ; http://php.net/ignore-repeated-errors
    7 t' W, M* {* t9 u. S% U# t
  497. ignore_repeated_errors = Off9 c, R/ S4 o8 d) H
  498. ! v3 V8 u2 M9 Y9 r+ i7 `/ H
  499. ; Ignore source of message when ignoring repeated messages. When this setting* e$ Z- W: H- C  u# @" F
  500. ; is On you will not log errors with repeated messages from different files or
    + C) z- a+ f. a+ w% `; s
  501. ; source lines.5 U6 S* f1 e& F  C: F# k
  502. ; http://php.net/ignore-repeated-source
    ' A! _1 G9 x' H1 @% M
  503. ignore_repeated_source = Off" c* l/ d& d4 P) X4 b+ n! m

  504. : J& O; F0 o/ ~3 j6 z
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    / G$ W$ _: \* V6 z! S
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    3 U( g& s1 A5 ^4 i* N5 P
  507. ; error reporting includes E_WARNING in the allowed list# X2 S5 f' \2 I2 Z$ S, l4 g$ |. v
  508. ; http://php.net/report-memleaks  M; o4 e8 f# ~! e6 v+ k
  509. report_memleaks = On
    ( V4 W4 Q, X( S, I8 {2 H7 i
  510. 2 A, t5 x% _3 b' ^# {. S1 O, w
  511. ; This setting is on by default.
    . Z7 ~# {, V1 A* W& l+ z: u  l
  512. ;report_zend_debug = 0! Y) \. d6 B8 _3 g, j9 @
  513. & T- H7 V; E2 a
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value0 p* l$ |4 I" ~: D* R
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    2 [6 \: F( [& m# w
  516. ; however be disabled on production servers.0 {/ _4 c6 C2 p: {! s4 M1 C
  517. ; Default Value: Off
    ! J2 l8 M( R. j$ K
  518. ; Development Value: On
    . X8 U0 ]- w4 c* o) t2 n
  519. ; Production Value: Off) H  \+ O2 {( `, R0 C
  520. ; http://php.net/track-errors& _9 Q  |# a$ H# h1 ^& `
  521. track_errors = Off$ h/ z- f2 ]: j2 c6 X# D9 @( g
  522. * R- d7 W% p! R
  523. ; Turn off normal error reporting and emit XML-RPC error XML
      Y( H* C/ M! Y0 [$ G% X& g
  524. ; http://php.net/xmlrpc-errors
    1 d6 H6 F6 M# k. j# d  n
  525. ;xmlrpc_errors = 0
    8 p  B) N, ]1 g. b5 }  r

  526. 9 Y9 G0 V0 M( B7 m
  527. ; An XML-RPC faultCode
    4 I* ^: {4 @7 Y9 u' O1 w& e
  528. ;xmlrpc_error_number = 0; }6 |& Y* @% R8 }2 r. l
  529. % t; v, J3 x; M( z- V
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    1 x, y$ Q; V  d( O
  531. ; error message as HTML for easier reading. This directive controls whether0 c$ K+ B, N4 P' I
  532. ; the error message is formatted as HTML or not.( @; r5 p9 g. C) S; u( _6 n
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI6 W- w: J$ k. _, T: l, Y  l
  534. ; Default Value: On3 h1 p% o4 k  F6 w
  535. ; Development Value: On; H) I& J" f" E. t$ E( t8 |
  536. ; Production value: On+ O+ S3 X: o" d1 ?0 r$ Y" X
  537. ; http://php.net/html-errors. X( n$ q1 z4 u6 F
  538. html_errors = On  z/ O# F+ P9 w- U, X

  539. ; m8 b. E" _/ T) y( ^. d! r: J8 _6 Q
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP" \3 U$ p5 x& H- `
  541. ; produces clickable error messages that direct to a page describing the error
    / ?: g# v& t# S0 X: J
  542. ; or function causing the error in detail.
    5 J! v6 o5 M$ E
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    5 p4 P. W- p  {- i' o9 g) h  n
  544. ; and change docref_root to the base URL of your local copy including the& ~0 o. R; w' [4 s- j* M
  545. ; leading '/'. You must also specify the file extension being used including
    % ^& @! j: Q+ {
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which! t' f) h) T# c
  547. ; case no links to documentation are generated.
    ' N. O! J/ m' ^
  548. ; Note: Never use this feature for production boxes.
    . n, @1 L: k! i3 v
  549. ; http://php.net/docref-root
    & b) i# \! y- p4 _9 w
  550. ; Examples. ]+ V; `" S% i/ ~- k
  551. ;docref_root = "/phpmanual/"
      x/ Z2 R  X+ @' V+ h# }# z

  552. 5 D7 O! e  R1 x6 @' Y
  553. ; http://php.net/docref-ext( V" g0 k! ^, S' V5 i' Q: c
  554. ;docref_ext = .html
    . I- b7 z! T: q/ E: A. f9 s7 i' J

  555. % R/ p: h$ k) g% D# u1 V" V
  556. ; String to output before an error message. PHP's default behavior is to leave  Q8 `& V( F9 U
  557. ; this setting blank.
    * C0 U0 W$ k+ f0 e( x. X% P8 w
  558. ; http://php.net/error-prepend-string
    7 C8 G7 Q4 F0 _8 {* Q4 j
  559. ; Example:
    8 u: ^. x$ L, X- g6 g
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    $ K6 E: x  ~3 |

  561. 8 ], V/ j) B# ^9 q
  562. ; String to output after an error message. PHP's default behavior is to leave3 m) Q$ ]" u0 n. P& S$ q
  563. ; this setting blank.# K4 y# i, g! ]  S3 q5 ~2 l% b
  564. ; http://php.net/error-append-string2 }4 ]: B1 f2 \" }- Y
  565. ; Example:
    1 `5 g* r% W- T( Z, o+ _% {
  566. ;error_append_string = "</span>"1 r8 b, ~5 k1 D& |4 S7 V. C
  567. + U/ x6 N# j7 a/ j/ W
  568. ; Log errors to specified file. PHP's default behavior is to leave this value0 H, q( g$ \/ L8 E3 ~; O+ S  }4 {
  569. ; empty.
    " c3 B/ M! c7 n; m. U& F
  570. ; http://php.net/error-log
    - s: o4 N1 E6 S* V! u6 l
  571. ; Example:4 [. b3 s# W& Z* \6 T
  572. ;error_log = php_errors.log
    . ^0 q2 h$ a1 C; J3 _
  573. ; Log errors to syslog (Event Log on Windows).' X1 P4 C  J' a) x2 s, f
  574. ;error_log = syslog  m5 L; S9 G( [5 ]5 r  t
  575. + U* n& }, t; T9 e& o$ l) M/ g, {
  576. ;windows.show_crt_warning5 J3 g7 U) u. u8 Z1 h. o
  577. ; Default value: 0* ~* \, y/ o7 _" S/ a
  578. ; Development value: 0
    5 b; t5 m7 M3 Q0 {& H: V
  579. ; Production value: 0" o  h! I3 A8 i3 S+ |3 N
  580. 4 M% ?. p* d# m( O3 @
  581. ;;;;;;;;;;;;;;;;;. z% {/ L2 f* P+ {4 A1 j
  582. ; Data Handling ;; ]' n  G9 `4 T7 g5 |: Q: o
  583. ;;;;;;;;;;;;;;;;;
    8 p' V9 ~7 S3 h3 }

  584. 1 [0 d% d. [, ?& ?
  585. ; The separator used in PHP generated URLs to separate arguments.
    " z$ r0 r1 F! l' H
  586. ; PHP's default setting is "&".' U0 ]  Q$ p. f- p4 ^9 B1 B- K
  587. ; http://php.net/arg-separator.output
    ) ]# }8 @& @4 V* ~2 f) x& C
  588. ; Example:
    7 X/ Z: z5 r2 h) n2 d
  589. ;arg_separator.output = "&amp;"
    / b2 K1 Y2 l; i8 U

  590.   n/ V' @" i" N. e: H0 d
  591. ; List of separator(s) used by PHP to parse input URLs into variables.8 Y* v6 `) L/ {% r3 _
  592. ; PHP's default setting is "&".
    ' t2 U' H5 g7 `
  593. ; NOTE: Every character in this directive is considered as separator!
    ! i3 _3 w" p/ E3 u# ]1 m+ E
  594. ; http://php.net/arg-separator.input
    ( a! J6 W/ k4 Y7 W
  595. ; Example:1 J4 Z- T0 `" @8 t+ w7 g
  596. ;arg_separator.input = ";&"& s+ N) i" y5 K

  597. 1 m9 H' Y4 Y! V0 K% [  f- B4 z
  598. ; This directive determines which super global arrays are registered when PHP
    " w7 Z% Q# O+ ~! ]2 k4 j
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super% I, t! r0 n4 V+ j/ z: s
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    . e6 |, B4 M3 W0 T- d& w
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    # I% k) Y6 N9 j
  602. ; used as the others, ENV is not recommended on productions servers. You
    : l+ P0 `* x9 M0 A8 J
  603. ; can still get access to the environment variables through getenv() should you, A7 r& a3 @4 X0 X
  604. ; need to.! x- N( R( @  E: h9 P
  605. ; Default Value: "EGPCS"6 L8 @: Q/ G2 O* ^6 W6 y
  606. ; Development Value: "GPCS"+ w8 g: W: A& H! ?2 o6 J
  607. ; Production Value: "GPCS";& m8 {. B! u- v& j+ u; l" E% w
  608. ; http://php.net/variables-order+ l1 a+ Y& l# q3 c: V9 p4 v0 T6 C
  609. variables_order = "GPCS"
      O( ~. X, y2 a" U+ U( D* z% g# v

  610. ( `8 m% a" i% ?6 }$ W
  611. ; This directive determines which super global data (G,P & C) should be
    - N1 @! t5 n' M: B
  612. ; registered into the super global array REQUEST. If so, it also determines# ?0 {' a' m/ X
  613. ; the order in which that data is registered. The values for this directive
    ; a; t% N4 |" T3 t
  614. ; are specified in the same manner as the variables_order directive,
    ! _- x+ P+ k$ t' [" A$ F: c& h
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    . U: x* L7 A6 o* t6 e/ u* q2 i0 w
  616. ; in the variables_order directive. It does not mean it will leave the super; c! P+ w1 M) Q- E
  617. ; globals array REQUEST empty.
    4 D1 o3 T9 Z. |: `6 y
  618. ; Default Value: None9 d5 @4 Z9 o/ N. W8 m- g
  619. ; Development Value: "GP"
    / b7 }( c- u3 ~8 ~
  620. ; Production Value: "GP"6 R; E- G# t0 Z& }! T+ W
  621. ; http://php.net/request-order
    3 h! @2 E( ?9 x/ o
  622. request_order = "GP"' @; R: L/ }& W* t/ {7 m

  623. ( g  a3 y1 T, ^+ x
  624. ; This directive determines whether PHP registers $argv & $argc each time it( M# v0 `; ~* B0 f/ v
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    ; x) V5 A+ e" o' k. R5 ?% _* J
  626. ; is invoked. $argc contains an integer representing the number of arguments5 C* P2 m' @3 U/ T) P
  627. ; that were passed when the script was invoked. These arrays are extremely
    / g% e8 p' B0 E8 m5 p1 E0 [$ ^
  628. ; useful when running scripts from the command line. When this directive is0 ]# b/ n# C+ d: C  I( U( ~
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    ( Z, j5 G  D- P2 i- H7 _, [( o
  630. ; a script is executed. For performance reasons, this feature should be disabled/ T1 j: y- w: w# `! _: |- _
  631. ; on production servers.
    # G$ T+ ?3 Y6 L# S1 j; q. C( P) J; F
  632. ; Note: This directive is hardcoded to On for the CLI SAPI% ^7 S' f6 T2 T# H* {8 M# Y
  633. ; Default Value: On
    2 W- W% x) `% y, G* h+ f1 J& r
  634. ; Development Value: Off
    ( r9 k. n" A& V1 q
  635. ; Production Value: Off- n3 m7 T# O/ m) O6 y3 h$ ?
  636. ; http://php.net/register-argc-argv
    6 ]0 q4 s6 ]; J# i9 F& S$ K
  637. register_argc_argv = Off
    3 B) K/ c; m  R# e% p
  638. ; g8 v2 i) b. [* o
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're$ n: [( N" j5 q2 g& J$ H
  640. ; first used (Just In Time) instead of when the script starts. If these. S; u0 g* n& J# v- V+ ?
  641. ; variables are not used within a script, having this directive on will result
    : h& q4 U( U) }1 W, h8 d7 _1 V! c
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled6 {3 b8 F- h4 ?6 h( D% s4 k0 p
  643. ; for this directive to have any affect.
    8 K5 Z5 {3 u% p2 s" ^( M
  644. ; http://php.net/auto-globals-jit. D5 T4 s, l1 R6 n
  645. auto_globals_jit = On4 z" i5 g! U& p- h; p- [2 c# N
  646. ) E* X  ~# K% H- v, q/ V+ s' K/ L
  647. ; Whether PHP will read the POST data.0 E+ R+ q3 ]+ h4 d
  648. ; This option is enabled by default.5 U; i. k# b$ ]+ k
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST" v; z0 j  [/ @
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    : C% Y( [9 @8 n, p
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    ) ?2 ?; t/ C: J, Q/ i* \# t4 T
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.- j/ U+ Q" ~8 G, ^* Y
  653. ; http://php.net/enable-post-data-reading
    * ~" S6 L% N, D& A0 ^
  654. ;enable_post_data_reading = Off
    ; U9 j4 ^3 f" N  v1 \# b) f! k9 w

  655. 5 b' }/ ]* B" @, B9 J
  656. ; Maximum size of POST data that PHP will accept.
    : h* f4 F+ R6 C# [0 H1 [
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading( V0 L- L4 c0 n: U, R
  658. ; is disabled through enable_post_data_reading., S0 H1 _) M& l& V
  659. ; http://php.net/post-max-size0 i( m2 z- {3 k7 o+ i
  660. post_max_size = 50M3 q8 U5 @# y* M# N8 l
  661. ' ~& u7 f$ W$ W4 Z9 y: R
  662. ; Automatically add files before PHP document.0 S: O1 h- s6 ^) b% e
  663. ; http://php.net/auto-prepend-file
    / s/ T! ^6 _- O, j
  664. auto_prepend_file =  f# W9 s8 G5 u1 _

  665. & D$ u. `1 l( j( M  a8 r
  666. ; Automatically add files after PHP document.
    7 i, l! K3 s3 g' F) c- q6 j
  667. ; http://php.net/auto-append-file8 I/ o" Q' W& ^6 w* J: ?$ X
  668. auto_append_file =
    1 V4 B6 A2 g4 e6 f2 U8 B5 w$ M

  669. : J7 q! G! H6 r3 I, f& t
  670. ; By default, PHP will output a media type using the Content-Type header. To6 ~( n/ b6 q, V
  671. ; disable this, simply set it to be empty.
    - Q! h! W+ B/ u* j
  672. ;/ U, f3 a2 _% G$ D
  673. ; PHP's built-in default media type is set to text/html.
    3 q! W2 l+ e: F3 R* n
  674. ; http://php.net/default-mimetype
    1 @8 Z3 d" A4 }- C; F1 p1 c
  675. default_mimetype = "text/html"8 H8 v0 R3 D) Z3 C4 E- n0 k
  676. 2 N- @( m4 B) [- H7 J( i8 U
  677. ; PHP's default character set is set to UTF-8.8 N5 s% n5 r0 I& v2 @
  678. ; http://php.net/default-charset' _& ?2 E* M2 K8 s3 r  e
  679. default_charset = "UTF-8"
    ) T& m+ n( m- m& U- x( U: V

  680. 2 @" }# b5 \6 ]( O
  681. ; PHP internal character encoding is set to empty.. p+ e# T3 [4 l: L
  682. ; If empty, default_charset is used.
    8 |3 ~3 ]) ?6 v" Q: C1 a2 G
  683. ; http://php.net/internal-encoding
    0 C* C& `3 K2 i( j
  684. ;internal_encoding =9 b2 {# X  h+ d  k, E' ]. k! l

  685.   H% P/ J6 L  Z% G$ i
  686. ; PHP input character encoding is set to empty.
    % Q, s$ ~1 L* T1 R( H- e6 L6 W
  687. ; If empty, default_charset is used.! C+ w; ~% P4 G
  688. ; http://php.net/input-encoding
    ! d3 k# c* h1 G6 L
  689. ;input_encoding =% A$ S$ V/ N( K, L+ C/ k, d
  690. ! a* w& V0 t' Q% F9 F* Z
  691. ; PHP output character encoding is set to empty.
    % v" c. L2 N+ U% g0 H: }
  692. ; If empty, default_charset is used.
    4 F  D$ T/ V. \" g% i
  693. ; See also output_buffer.
    & X6 `1 b# Q% ?: A
  694. ; http://php.net/output-encoding
    5 Q1 d- X, k  @2 k+ z" G/ {
  695. ;output_encoding =3 `( I" g9 k# Z" q, @# O

  696. 1 x# C% v  H, z) h- z9 m/ z  k
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is% u) ~  i( E8 s  l8 j+ e
  698. ; to disable this feature and it will be removed in a future version.
    * k: D8 n9 B9 f1 J9 g- t& |
  699. ; If post reading is disabled through enable_post_data_reading,
    2 o6 x/ h! o7 \# |" y- U
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
      T7 G* P- n5 k
  701. ; http://php.net/always-populate-raw-post-data; M' \; a% t: m4 M2 v! j
  702. ;always_populate_raw_post_data = -1
    * Y' u0 e3 e; G4 ?

  703. ; g! F5 w6 q6 _2 M
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    2 ?: e& N$ X9 D9 T2 G: B* r  N. P
  705. ; Paths and Directories ;
    ( U# t2 s1 N) Q- t: ^+ {1 Y2 \
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;4 c+ M& v3 g4 d: R2 ^

  707. 6 P! v# I+ C( ~' z! v) c% J( x; v
  708. ; UNIX: "/path1:/path2"
    3 @3 N4 @6 l6 Q5 n  D: ?" Z
  709. ;include_path = ".:/php/includes"
    ! N2 q8 N0 G0 T2 a
  710. ;( g0 J) j  s' X% B- y, ?
  711. ; Windows: "\path1;\path2"
    ! q4 z7 \- a8 i+ _, I
  712. ;include_path = ".;c:\php\includes"
    - f, V5 E: X' d2 K$ y+ x: V
  713. ;' N+ t- R, u/ w; B2 v
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"! J/ `% }- ^/ G# v. B( l2 k
  715. ; http://php.net/include-path6 B' x# S+ O# i9 }; L
  716. 4 T9 a/ i! `' z9 F/ N
  717. ; The root of the PHP pages, used only if nonempty.
    2 Z2 F  [5 f) o" j9 J
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    & p: R% t! }& u& M# n2 ^# ?  y
  719. ; if you are running php as a CGI under any web server (other than IIS)
    / |$ ^; q2 \, N8 P& U, E+ w
  720. ; see documentation for security issues.  The alternate is to use the5 L/ r4 ^" N5 Z
  721. ; cgi.force_redirect configuration below
    * U, d9 v" }9 R( O
  722. ; http://php.net/doc-root
    8 J  M# n; c5 o1 U0 t/ o" v, J( V
  723. doc_root =
    ; p( a# h+ m+ l

  724. , c) L) w4 y( ]# j
  725. ; The directory under which PHP opens the script using /~username used only# P' D; }6 w) F: g4 \* S
  726. ; if nonempty.
    7 }+ j& y5 O. |5 H- N
  727. ; http://php.net/user-dir
    - x& w) t3 \; D9 x1 ]8 \+ @, J* N: [
  728. user_dir =2 C: m7 |" z1 B7 K( W: N$ d
  729. # M- U6 a& V7 B; n/ I
  730. ; Directory in which the loadable extensions (modules) reside.
    4 h/ B+ _) ^1 A. n. z% o
  731. ; http://php.net/extension-dir
    0 n, G9 I! X* r7 `
  732. ; extension_dir = "./"
    # T. E- t2 t' s8 ^- g1 V; n
  733. ; On windows:; x' B1 `7 G7 G6 o
  734. ; extension_dir = "ext") B# O7 I8 g0 C# L" M8 P8 f  P

  735.   u$ @  v; S3 \8 I
  736. ; Directory where the temporary files should be placed.5 C0 x9 I  w  |- j( _  U) w4 n% V  D  K
  737. ; Defaults to the system default (see sys_get_temp_dir)
    3 O5 C2 m$ b+ e/ i8 I; O8 e
  738. ; sys_temp_dir = "/tmp"
    5 l$ q) M8 j% h5 J: W

  739. 5 B) M" @6 ?' \3 p: E, G* S' B
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work# q7 @3 D- S  a% Z" A. n/ B3 A# u9 M
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically& ?" }% |4 d% T; [9 S0 f2 M
  742. ; disabled on them.8 k' s, X' S( E4 D  Z
  743. ; http://php.net/enable-dl5 r6 x5 `: u% X( C( o$ \% M
  744. enable_dl = Off
    , ~+ H5 C/ U- w+ g& D

  745. ; @0 [7 r4 k. r/ _8 x* B  c% F
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    6 g" {2 E# D8 J; }
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can- D& D' G3 z6 _& ~
  748. ; turn it off here AT YOUR OWN RISK
    9 L" {4 _. |# \$ ^% c. X
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**  F9 e+ y2 \9 J  D1 q1 x
  750. ; http://php.net/cgi.force-redirect# I  |- j0 n1 ~. C8 ]8 G
  751. ;cgi.force_redirect = 1" k8 Q# x1 Z# q( y$ x/ g# d$ w. g& L5 t
  752. 8 j7 o- G1 B, b  M: J5 z$ i
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with; w% `0 E. F; b& D
  754. ; every request. PHP's default behavior is to disable this feature.
    ; C8 o! w8 P) ?, C3 F6 D: C
  755. ;cgi.nph = 1
    ! a/ J( ?7 }: X+ H4 K
  756. 5 J( i2 U. b) e; y9 T
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    ) `9 V6 h9 s& W8 y8 o
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP) _# i4 N. |& V  U3 v" Q& j( o: t
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY8 m: d. K: d; X# Q( r$ c
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    7 X$ `1 B) n  e1 B
  761. ; http://php.net/cgi.redirect-status-env
    3 X) k: T& U# j' ~' G% q( L
  762. ;cgi.redirect_status_env =
    0 |8 K: r6 ^) ^' L- f  a3 |
  763. 1 y" L3 ]$ x1 i
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's" l0 ]+ B( `% u* q! R8 ]7 X' b
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok* e5 ]% J7 g8 X6 f8 Q! s5 ~7 _( o& o% C
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting6 R! T/ j" Z+ ^; i+ h
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    4 l7 j4 c# M0 |' e0 E. V9 h. c: H% C
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts4 a; B+ x# k7 t$ h* Q
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    & d- K" O. _: G1 p
  770. ; http://php.net/cgi.fix-pathinfo
    9 M. w* X0 G# Y& ~3 Q8 R
  771. cgi.fix_pathinfo=1+ ]$ H# \5 ~8 G8 }
  772. , i& y2 `  o6 W& h6 O
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    & x# ~3 D3 U9 T" w$ n: N3 L
  774. ; of the web tree and people will not be able to circumvent .htaccess security.3 r& d$ b, T$ l* [6 P
  775. ; http://php.net/cgi.dicard-path; T) Q( h5 K0 \! M' D) q8 M/ X* ]4 n
  776. ;cgi.discard_path=1" F- a3 i8 ^9 F; w# D  a* A& k' K

  777.   n0 }  V" d7 a; z
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate( P' P2 v% ?8 T. A, J
  779. ; security tokens of the calling client.  This allows IIS to define the- e) M% P9 s8 }) w
  780. ; security context that the request runs under.  mod_fastcgi under Apache' {& Y( j+ L. `( L
  781. ; does not currently support this feature (03/17/2002)
    ' j' ]6 {- d/ t6 m7 y0 G% X
  782. ; Set to 1 if running under IIS.  Default is zero.
    ! }8 ^, H% g2 }- ?9 A$ r
  783. ; http://php.net/fastcgi.impersonate
    6 l7 @/ q9 F( R. r7 s
  784. ;fastcgi.impersonate = 1
    ; @* ^+ [9 D2 G( s
  785. 2 j7 |+ ]/ c# n4 E
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    , g1 |. y9 U* n  g- N! b
  787. ; this feature.8 U+ y4 q" S9 c" @2 @5 N
  788. ;fastcgi.logging = 0
    8 ]( Q2 J% `8 G4 ~5 C# c4 v3 l8 R

  789. 6 i; z' E: A/ a# J: e0 w* u- {
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to; O3 A5 m. a- I2 U" U
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that/ K, d6 g: B& v* q
  792. ; is supported by Apache. When this option is set to 1, PHP will send% w. M  [: v) B; Y
  793. ; RFC2616 compliant header.2 {: e2 i) x$ S% V
  794. ; Default is zero.
    ) @8 }: q; Z+ u8 w  Y
  795. ; http://php.net/cgi.rfc2616-headers
    3 h7 j' a3 F9 P+ x; A& M
  796. ;cgi.rfc2616_headers = 0
    6 q# M- c( G! b, U
  797. # V1 E# X& P. v$ b+ G0 {; u. N
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    . x2 x% I) G* N. F
  799. ; (shebang) at the top of the running script. This line might be needed if the+ V) O4 ^8 \" \/ e) C
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    5 v! f, E; j6 b. h% X9 x! @6 B
  801. ; mode skips this line and ignores its content if this directive is turned on.* x0 Q1 w& v: F, c2 j1 O2 ?
  802. ; http://php.net/cgi.check-shebang-line' N8 s2 T) q$ a3 u- M+ q& d
  803. ;cgi.check_shebang_line=1+ h, d( }4 l1 t& M4 A4 X& y
  804. 9 \/ D$ l1 ?& t
  805. ;;;;;;;;;;;;;;;;5 r& U! u6 a" H2 G6 d0 g% G
  806. ; File Uploads ;3 ^" T8 u5 H% E8 w+ e8 }" F8 A+ E
  807. ;;;;;;;;;;;;;;;;
    3 I$ T7 L' a: K: ^  @
  808. 4 {6 E, F% U" ^: j4 I
  809. ; Whether to allow HTTP file uploads.  R. e. _6 o6 ]- s. n) u
  810. ; http://php.net/file-uploads$ t: S6 u+ o4 X+ h# \) Y  l
  811. file_uploads = On
    , W& c6 O0 x- P8 r, d) E

  812. 3 b1 V! U* w% f0 ^' d
  813. ; Temporary directory for HTTP uploaded files (will use system default if not  b3 }2 j2 o9 K* F
  814. ; specified).$ K5 c  \  ~$ l$ h: }) F
  815. ; http://php.net/upload-tmp-dir
    8 M' C3 Z% s; f! w" a
  816. ;upload_tmp_dir =
    $ N5 I# B; R1 q( ]( y) D) I) j0 \% R

  817. ; A* w$ X+ C5 t$ \4 D
  818. ; Maximum allowed size for uploaded files.
    2 i8 k% ^5 N/ Q* f8 x  v1 D
  819. ; http://php.net/upload-max-filesize" a: q4 n8 P" @0 t7 ~  |! n, d  z, @
  820. upload_max_filesize = 50M
    0 E9 U7 y+ @; C5 I1 r4 r
  821. ) o) T& Z) d2 z
  822. ; Maximum number of files that can be uploaded via a single request
      t8 z" u4 d! \; l, B  A/ K
  823. max_file_uploads = 20
    ( T; P( Q5 h9 r' I: S8 }5 u1 ]

  824. 0 _+ {. c* S- ]* z1 H. H  \
  825. ;;;;;;;;;;;;;;;;;;
    ! F# ~5 ]6 u/ X1 e2 f, e/ q
  826. ; Fopen wrappers ;0 B5 y1 c7 C0 w
  827. ;;;;;;;;;;;;;;;;;;$ {' V# q7 A1 s, O

  828. 7 ^% P$ t$ s: h5 w3 C/ P( F
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    9 b9 R3 O) `+ ~% @1 v, R
  830. ; http://php.net/allow-url-fopen; M9 d1 x. \. U3 G
  831. allow_url_fopen = On
    , x, C- M7 G- A* V

  832. " }" Z7 l4 j0 e6 v" D7 [
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    8 o4 r8 w1 Z/ u$ N
  834. ; http://php.net/allow-url-include
    ( H6 z. f5 X4 n' h! o0 x
  835. allow_url_include = Off" o5 @$ D: F" u/ F

  836. 3 C' \2 x7 D/ y# c5 M& U& C& t( o1 U
  837. ; Define the anonymous ftp password (your email address). PHP's default setting8 C7 o8 V$ v, q( W" y
  838. ; for this is empty.
    + _3 Q- i  ~5 C: [+ T4 H* x1 s
  839. ; http://php.net/from
    3 w  e4 s# t5 [* p! U
  840. ;from="john@doe.com"% i2 v% W9 r" t. X

  841. 7 z# J( @/ w# F4 @9 J5 O+ N
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    ( G$ y* w1 Z: _
  843. ; http://php.net/user-agent
    # h& H6 x, x8 q- |  v- _
  844. ;user_agent="PHP"
    3 p) O; K, |% x7 L( U
  845.   a/ F2 J! K4 m
  846. ; Default timeout for socket based streams (seconds)$ v6 l- k" m& h
  847. ; http://php.net/default-socket-timeout% `+ C# l4 `# i' Y* H
  848. default_socket_timeout = 60
    0 ]. m( o. B6 i7 g6 a7 G

  849. 1 b6 R* ?9 p5 P; h8 X& a% q4 r% L
  850. ; If your scripts have to deal with files from Macintosh systems,, k0 `3 W: m" _: b
  851. ; or you are running on a Mac and need to deal with files from
    4 t+ G5 T) Y1 u  }! E9 P
  852. ; unix or win32 systems, setting this flag will cause PHP to
    ) A" M+ L/ S; E6 e/ s+ B' O- X
  853. ; automatically detect the EOL character in those files so that0 L/ u7 y. y8 i4 N, o. y& C
  854. ; fgets() and file() will work regardless of the source of the file.( U$ z; L" b8 c* s# X0 N; p
  855. ; http://php.net/auto-detect-line-endings
    " Z+ U7 N3 {9 ~
  856. ;auto_detect_line_endings = Off
    0 _: L$ x& _5 t7 y! P3 L* q
  857.   b2 M+ m& {8 M; T1 X
  858. ;;;;;;;;;;;;;;;;;;;;;;) _/ t: w% S* y1 S" P5 l
  859. ; Dynamic Extensions ;" S4 q4 r+ h5 `9 C( N
  860. ;;;;;;;;;;;;;;;;;;;;;;3 {* p+ b8 c: m, s8 N

  861. / Z5 U" N2 W: N1 a8 n5 l
  862. ; If you wish to have an extension loaded automatically, use the following
    # H. G$ P" e" e$ o5 {
  863. ; syntax:8 L8 u: g% p! a
  864. ;- m5 y# Q' Q& q3 I. D
  865. ;   extension=modulename.extension
      `# D3 E- z/ G# R: `" V, H
  866. ;
    * i6 X% N* l  _
  867. ; For example, on Windows:7 u2 h: J1 r, _% @% c9 G
  868. ;9 c7 s8 x, @8 c: B
  869. ;   extension=msql.dll6 I: K" I. `( j" ^# ~9 [
  870. ;9 @5 b/ L4 E. y* Y% R
  871. ; ... or under UNIX:
    1 ]5 y' e. f9 p" s
  872. ;
    + [( e0 L2 y, D3 u7 x; M: |
  873. ;   extension=msql.so
    6 U+ D( [2 j0 N9 e+ b6 m
  874. ;+ M/ f; h# A2 S7 J/ R
  875. ; ... or with a path:
    : j* Z  f: D5 `" a0 E
  876. ;: V4 F6 L7 F& M; U0 M, e
  877. ;   extension=/path/to/extension/msql.so8 A+ \5 f. r( x
  878. ;8 |, v4 ?$ r+ e" x" ?
  879. ; If you only provide the name of the extension, PHP will look for it in its  }7 X, h4 z+ I$ U
  880. ; default extension directory.6 N( Q8 h8 c; u8 i
  881. ;2 C( c2 P! O0 W4 v6 x- [3 r, @
  882. ; Windows Extensions
    " C( Z0 c- ~0 r) K" R
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    ( L, U0 `, W* C
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5): [+ ^7 _) y& d
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).6 q/ @4 R8 ^8 z. }1 p- A  a
  886. ; Be sure to appropriately set the extension_dir directive.
    - ?8 S9 I4 n! i6 O( M- I1 q
  887. ;* x% I9 u- R8 W, g
  888. ;extension=php_bz2.dll: J1 W: \- x' d7 p+ a, l4 V
  889. ;extension=php_curl.dll) R6 j2 J! I# {& b
  890. ;extension=php_fileinfo.dll
    # n0 T) j+ t( |4 N- H- S7 K
  891. ;extension=php_gd2.dll
    - r8 A! e4 a$ p* f! X
  892. ;extension=php_gettext.dll4 L+ p% R+ Q/ \- r$ Z
  893. ;extension=php_gmp.dll* O; E! _, k' z- ^8 W. u
  894. ;extension=php_intl.dll" R! s9 g6 W# D+ h3 n! e
  895. ;extension=php_imap.dll
    ' T. k( D% q! {
  896. ;extension=php_interbase.dll" W9 d2 ]7 _# Z; }
  897. ;extension=php_ldap.dll3 e* n9 N3 L7 x( r" s
  898. ;extension=php_mbstring.dll4 v  D$ {, i1 S
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it, c# Z  d8 A2 N( y! S8 W
  900. ;extension=php_mysql.dll
    8 z+ _8 N  E$ ?- a
  901. ;extension=php_mysqli.dll/ f! K" K& h8 l) b$ W. L
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    " c+ ^  Q; ?  E
  903. ;extension=php_openssl.dll' c  R3 }/ c' h: r" N1 w4 g, q
  904. ;extension=php_pdo_firebird.dll
    ! o" l1 X# A4 g- A2 g7 i5 U. m
  905. ;extension=php_pdo_mysql.dll/ l, A# o0 l2 K2 V. ]* _
  906. ;extension=php_pdo_oci.dll
    . ~0 ~( T1 r" ?& @, k
  907. ;extension=php_pdo_odbc.dll; t- f7 A9 a2 D5 p# n1 e- S
  908. ;extension=php_pdo_pgsql.dll
    , g$ c; x" M0 o- j% Z( ^
  909. ;extension=php_pdo_sqlite.dll$ l! n0 V$ ^3 q4 G; D1 k
  910. ;extension=php_pgsql.dll
    3 k9 J/ v' d  U/ T, j
  911. ;extension=php_shmop.dll  M3 C" `; Z1 X$ Q8 X
  912. ( O7 k/ r+ P# w. \# H2 U+ w
  913. ; The MIBS data available in the PHP distribution must be installed. 9 }% f6 R! h, u1 b
  914. ; See http://www.php.net/manual/en/snmp.installation.php 8 I( n5 I  ~4 Y! _5 N2 f
  915. ;extension=php_snmp.dll
    & P2 ~/ x$ C& ~
  916. 0 _5 u' }5 W; g' s' F
  917. ;extension=php_soap.dll4 n/ M: ^" a" @6 }1 a
  918. ;extension=php_sockets.dll8 @& Z% `) L# t: {0 J
  919. ;extension=php_sqlite3.dll1 i: d6 A; o5 k
  920. ;extension=php_sybase_ct.dll
    # w$ s2 }- j) P8 @( y, h
  921. ;extension=php_tidy.dll
    : ]' v% Z* V+ L9 r" ~- l
  922. ;extension=php_xmlrpc.dll2 }' B. {. Y4 v& X/ t
  923. ;extension=php_xsl.dll
    , L! k/ e3 s1 M; U8 f* F

  924. 4 |/ {, f4 M6 D" m4 L: w8 R; x: A1 l5 @
  925. ;;;;;;;;;;;;;;;;;;;
    2 G! N' o3 H- d
  926. ; Module Settings ;; Z! E. K& }! O- T1 h
  927. ;;;;;;;;;;;;;;;;;;;' x* d" w8 e" n, G4 j% W4 k

  928. / |' O  G0 c7 Q. X8 N
  929. [CLI Server]
    5 w" D% e- Z5 |5 m) P! k5 p9 {' s
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    ( O" q7 L. s" q( O8 a; b
  931. cli_server.color = On/ z; R( G4 u# H
  932. 7 L( b, z+ K2 E0 D: U1 @/ T) e$ N  S
  933. [Date]
    ) q# h. O: j$ {) s& C1 x9 [
  934. ; Defines the default timezone used by the date functions2 D) g( M: s! o2 l' m' o; k
  935. ; http://php.net/date.timezone
    ) b  r: E& }" h% l" l2 r" ?
  936. date.timezone = PRC
    ) R7 q* y) i% i) K' H

  937. ( j- [9 k! {" B4 F
  938. ; http://php.net/date.default-latitude
    , F; a8 M& w# n1 G0 V2 a( n
  939. ;date.default_latitude = 31.7667
    " L* W+ x" p; X
  940. % b! v+ e9 U- l- A+ A2 ^1 F( ^" j$ F
  941. ; http://php.net/date.default-longitude8 t; w$ L' [7 ?7 C: L( H+ E+ Z
  942. ;date.default_longitude = 35.2333; z) Y' z5 b3 _$ @0 a

  943. % N5 t* G* L, ^6 h' g6 F
  944. ; http://php.net/date.sunrise-zenith
      t2 M! A$ s4 C$ Q( I! N' S  W
  945. ;date.sunrise_zenith = 90.5833336 v# p6 M/ [* V
  946.   y$ [: f4 d6 ~2 ~/ N
  947. ; http://php.net/date.sunset-zenith
    & x  |9 f3 A% G" F7 K( c/ l6 z# J! R
  948. ;date.sunset_zenith = 90.583333$ }5 J% {: T0 z! N0 q

  949. * p7 h. q- l4 P
  950. [filter]
    " N! [$ D7 R& h" |% Q9 }7 y
  951. ; http://php.net/filter.default
    5 D. }; C. i0 Y" _2 _7 e; z
  952. ;filter.default = unsafe_raw8 E) W# f/ b) o# c# X6 H

  953. 2 ]0 H* w6 i# V3 [) b
  954. ; http://php.net/filter.default-flags) D" B3 \$ f6 b. ~% I1 _
  955. ;filter.default_flags =
    + ]% m. I5 E* C2 z! o4 y! ]
  956.   j8 p7 E" i. p+ t2 h
  957. [iconv]
    , r6 F9 S( D7 r: ^( H" w
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.; K* f# @: }  Y
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.2 E/ _* g* y+ ?. e
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding: R: V/ u, b2 C7 \% w8 L
  961. ;iconv.input_encoding =7 F/ m2 b' i. c+ {/ Q* e; M

  962. 7 e( A9 F* `& M" ^2 y$ E8 j
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.: I' l: H1 f8 e! q7 x* d+ h
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.3 B# A' J$ j# U; q$ T) O# e
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    % b3 s- v! D) M) f) U
  966. ;iconv.internal_encoding =1 P, j+ ~; l& O# k" ^9 t

  967. 4 ~1 z) l: X* P  ~
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.1 Z. C% Z) e; f7 [+ m
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    9 v: F' y0 q: Z9 `
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding. y$ G% d2 E. u  N. y; [5 i
  971. ; To use an output encoding conversion, iconv's output handler must be set7 i$ q! R# q0 h* e9 b
  972. ; otherwise output encoding conversion cannot be performed.9 t( M  z4 H. i% Y
  973. ;iconv.output_encoding =2 R- v0 K; R+ ]; e2 ?; b

  974. . O- W! s$ U$ G$ J% g
  975. [intl]! m8 U& n+ X, d4 T  M
  976. ;intl.default_locale =; w# o5 a+ f6 s! S" t  q3 \0 y+ p
  977. ; This directive allows you to produce PHP errors when some error, M0 r. p3 S. c* E. D/ O  {+ }
  978. ; happens within intl functions. The value is the level of the error produced.
    3 W& x- B' J6 Y6 d6 ]
  979. ; Default is 0, which does not produce any errors.
    * j  M4 V# o  b9 j7 N3 X) a9 D1 e
  980. ;intl.error_level = E_WARNING9 X; G: d8 Y& `* d
  981. ;intl.use_exceptions = 0# G+ a9 o- \2 v* v3 M2 D

  982.   s- m8 y0 w) i' ?1 o6 E6 `8 t5 L& U
  983. [sqlite3]2 a% {+ R9 P/ E2 e: J( `# g
  984. ;sqlite3.extension_dir =/ |" i" g( z9 {) j

  985. * V' g. J# A* j- Z
  986. [Pcre]
    : \9 T" M( M$ t3 U1 W
  987. ;PCRE library backtracking limit.
    4 \0 N5 Z- D$ q# d
  988. ; http://php.net/pcre.backtrack-limit  K* t/ `4 `4 Z: S
  989. ;pcre.backtrack_limit=100000: M7 T0 L* y6 D% m/ |3 U

  990. 8 d1 }2 c- r* _# W7 `5 Q0 o
  991. ;PCRE library recursion limit.; y( Q; s$ V, u: n
  992. ;Please note that if you set this value to a high number you may consume all
    6 n( r. I. o1 Z
  993. ;the available process stack and eventually crash PHP (due to reaching the
    1 \) ^1 }, i. B! V; S/ h) w1 r
  994. ;stack size limit imposed by the Operating System).. L& I( z3 _6 i3 p) J; ?  h
  995. ; http://php.net/pcre.recursion-limit: ]" \; L2 r* J, h
  996. ;pcre.recursion_limit=100000- }) R" U% x4 Y- D( a
  997. % X; h% G' L+ F! e% B+ x
  998. [Pdo]
    ' U4 t9 K8 Y' z' }7 O7 B; [  }
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"+ o& E/ `6 d0 o9 [
  1000. ; http://php.net/pdo-odbc.connection-pooling4 K# J7 a0 @5 i0 z
  1001. ;pdo_odbc.connection_pooling=strict
    * Y+ O7 }) ^& }

  1002. ( Q+ I! P& a. t) X7 r
  1003. ;pdo_odbc.db2_instance_name
    ' o4 L& N! Z) \7 k; K; L" D0 h/ }

  1004. + Z. w) `* A) |
  1005. [Pdo_mysql], L/ r& M* r- [" W; a7 J5 D! p: n
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    9 {; o3 v1 g4 c+ R. d* E
  1007. ; http://php.net/pdo_mysql.cache_size
    , s0 {0 M- {  W1 p6 f
  1008. pdo_mysql.cache_size = 2000( x6 h6 e/ C( L; T" A2 i( t2 q

  1009. " g/ ]$ s% y& B/ v
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in7 V; E- a0 d& L- H
  1011. ; MySQL defaults.* g5 [: S9 L( y! Y
  1012. ; http://php.net/pdo_mysql.default-socket
      \, N' b3 ^- J
  1013. pdo_mysql.default_socket=
    % I: o& t* \1 G! F. _
  1014. ; F/ ~$ q4 K6 P7 V
  1015. [Phar]3 K' t! a7 d! [  P: E
  1016. ; http://php.net/phar.readonly
    , J* X" l: N5 H# `- u) R; `
  1017. ;phar.readonly = On
    , \5 e5 Y7 {. p; j$ u/ [/ i* M

  1018. 2 {6 h1 Z: ^9 Q' Q4 U% m( f5 g
  1019. ; http://php.net/phar.require-hash0 I8 u9 r1 g. i  f4 I3 I  h
  1020. ;phar.require_hash = On3 `, r3 y6 \5 {8 ]
  1021. # x/ Z/ C1 n  R8 o/ ]* O
  1022. ;phar.cache_list =' x% G9 n  _8 _4 ]: U* ?
  1023. % u2 @; k0 `' R6 p% f
  1024. [mail function]/ H8 j% m" ^, Z  D' {5 \
  1025. ; For Win32 only.
    + j  U/ J1 L/ ?) F4 ^
  1026. ; http://php.net/smtp
    % H4 \- R* Z# H% V
  1027. SMTP = localhost
    ( Q6 `, j1 c; V& }
  1028. ; http://php.net/smtp-port
    ; e" g6 k' p' x1 C! D+ c( X
  1029. smtp_port = 25
    7 ], y' @0 z$ C

  1030. 2 W, H2 h" P9 T
  1031. ; For Win32 only.
    & L  o" L7 X+ W9 G' Q
  1032. ; http://php.net/sendmail-from
      f* x, v6 g6 C! v7 e
  1033. ;sendmail_from = me@example.com2 F2 i0 g# U& l2 z8 b+ B
  1034. . _: F( s$ l5 w3 r! u0 x! h7 o
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").% ?, Q1 g/ k5 o5 c! F  _
  1036. ; http://php.net/sendmail-path
    1 e) p! |% o1 f& `
  1037. sendmail_path = /usr/sbin/sendmail -t -i$ g' q+ U! i& e6 i0 j
  1038. $ Q( g8 N. g: \( V0 K% F6 H
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    4 L9 a" [' D2 k1 E' F1 A0 x$ G4 U
  1040. ; to the sendmail binary. These parameters will always replace the value of1 h2 G0 |! v- r, ^
  1041. ; the 5th parameter to mail().# j4 k# e% m0 y9 t8 c8 G6 Y' d. Q
  1042. ;mail.force_extra_parameters =/ H8 s% o. @5 g& C+ s  z
  1043. 1 }( \, F3 C- N9 o% f9 Q
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    3 p8 a* |8 j+ Y+ i- Z: }* R
  1045. mail.add_x_header = On( a# @% Z5 W: O
  1046. * z6 b1 v! u9 S3 K
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    ! F4 O0 R( r. i4 ]0 Z; l. R, N( V  B
  1048. ; the full path of the script, line number, To address and headers.# L; w5 R8 Y$ I8 Y
  1049. ;mail.log =
    3 I4 j" D0 U( ^4 }& F3 {# ^
  1050. ; Log mail to syslog (Event Log on Windows).- W) S- |) f2 F# v3 G7 T
  1051. ;mail.log = syslog
    ) I) A2 \+ T* o& y2 h: x; h

  1052. 5 B+ M# a7 \* d- D, U
  1053. [SQL]) c9 b; ?+ R4 U/ L' ^
  1054. ; http://php.net/sql.safe-mode
    / E# j* U6 x+ `- k1 C3 q+ a
  1055. sql.safe_mode = Off* v4 X# b' I, F4 |  g

  1056. " b3 P9 |7 p! P
  1057. [ODBC]
    1 a5 }/ D9 H$ w6 Q# V
  1058. ; http://php.net/odbc.default-db! ~* w( R/ z- C4 m: p& b, X
  1059. ;odbc.default_db    =  Not yet implemented2 z% N2 c. U" M5 k

  1060. , X  [) t# s' N# G4 L2 A; u8 O; i
  1061. ; http://php.net/odbc.default-user
    6 u6 s) o  `; s
  1062. ;odbc.default_user  =  Not yet implemented/ u9 N4 z0 g1 `8 W- ^' z
  1063. 2 B% n! h: L0 m' S' j* B$ o( b. g
  1064. ; http://php.net/odbc.default-pw" o5 B3 M" {* f' i3 i
  1065. ;odbc.default_pw    =  Not yet implemented$ d1 t/ D+ J( z' D

  1066. 1 i* n3 w4 A+ E' F( T" Z
  1067. ; Controls the ODBC cursor model.  ]6 x2 N& Y5 ^$ q3 G" m
  1068. ; Default: SQL_CURSOR_STATIC (default).
    . L! r% }/ t: v# o+ R/ r
  1069. ;odbc.default_cursortype4 t; Q" y  ^3 M% m& l& ?1 q
  1070. 2 m% s( C! j* S, j
  1071. ; Allow or prevent persistent links.. p4 y' H+ l* N) G7 Z
  1072. ; http://php.net/odbc.allow-persistent/ Q3 C7 D  m: K3 U9 Y, h
  1073. odbc.allow_persistent = On
    5 X' A( L& q, g2 B7 A% v

  1074. : g8 B' |6 `& A; b: ~, }4 f) {
  1075. ; Check that a connection is still valid before reuse.% {* x5 p. A1 W
  1076. ; http://php.net/odbc.check-persistent
    . a- p/ ^% T6 U% l# e
  1077. odbc.check_persistent = On. H" K% B6 e  u, |7 ^0 Z" i
  1078. / [; C( }8 Y' V6 B. I
  1079. ; Maximum number of persistent links.  -1 means no limit.
    $ b0 E6 ?& W4 E
  1080. ; http://php.net/odbc.max-persistent! j8 h+ B0 n. r9 T. z
  1081. odbc.max_persistent = -1) F* Q4 i" h: c: t

  1082. % p* ?; b& [+ E
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.9 w4 t; p+ E- u) C+ G+ l5 A
  1084. ; http://php.net/odbc.max-links" X4 q# t- ]7 K) X6 I2 k" d
  1085. odbc.max_links = -1
    1 D  I0 k0 u: d+ ]
  1086. / Y1 h+ N( d, O4 J
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    : |& Y7 Y+ K2 e3 E% }) w- h# v# K
  1088. ; passthru.: V  _! e* ^- i. j1 k( O* C: j
  1089. ; http://php.net/odbc.defaultlrl8 ]7 r* ~% B$ x- K
  1090. odbc.defaultlrl = 40965 I# q0 E& ~0 u- @9 O/ G
  1091. 9 a! {1 R6 m/ p
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.7 |. X3 f+ }' ?1 @' ^+ g
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation: |, T: J+ f! p0 M( |" Z9 T
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode  i& v- z7 n3 i7 s0 v1 e: J
  1095. ; http://php.net/odbc.defaultbinmode
    8 _% i- t' j2 o: b
  1096. odbc.defaultbinmode = 15 I& {" l3 J" s- Z' k' [/ |

  1097. 1 A5 f7 T1 N2 R* R
  1098. ;birdstep.max_links = -1
    5 ]% h# S7 [3 ~4 L8 X

  1099. " z2 f$ h% H: Z9 h8 N8 L. w
  1100. [Interbase]3 n! C/ e5 i% n" B0 M
  1101. ; Allow or prevent persistent links.9 z( x9 I& E! L( X9 v) ~2 g4 M$ C, i" K
  1102. ibase.allow_persistent = 1
    2 ]& `! P8 Z& r) m
  1103. 2 n. f& a4 f: C
  1104. ; Maximum number of persistent links.  -1 means no limit.5 r, n' \2 I, l: x
  1105. ibase.max_persistent = -1' g* N& I5 d% s  P: P! v
  1106. : n# I* L1 t% e0 d  o
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ' ?% J  [% d! L  Q
  1108. ibase.max_links = -1
    8 e) K4 B! L( l+ K5 e" Y0 e6 U
  1109. 0 w: X7 D" |5 q# c/ Y; r
  1110. ; Default database name for ibase_connect().: Z) @6 d' t: ^. f% w+ a4 t( B
  1111. ;ibase.default_db =$ j1 ~" Q& k' l2 t5 \* z' z% l9 W

  1112. ( T! ]; d! B9 M) h3 Z1 O
  1113. ; Default username for ibase_connect().
    7 Y7 d8 ]7 O0 m  D( t5 T
  1114. ;ibase.default_user =+ w6 P" F) U! Y

  1115. 5 G, e8 e7 }( @
  1116. ; Default password for ibase_connect().
    * P8 A$ I5 P; o
  1117. ;ibase.default_password =
    6 D/ Z, P) q3 C+ m* W9 B

  1118. * K! k5 m; h0 F" F. g! N/ y
  1119. ; Default charset for ibase_connect().$ z5 X+ f7 o! h( M0 q  S
  1120. ;ibase.default_charset =
    4 [  K" t: V" m. L

  1121. + h6 P9 n& a6 d: v
  1122. ; Default timestamp format.
    , \' H! X/ D% k& t
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    8 G( ?1 S# ~  @3 J8 p% a

  1124. 0 w4 b/ @% A2 ~4 `
  1125. ; Default date format.& o( }+ ?. E$ [1 U* G
  1126. ibase.dateformat = "%Y-%m-%d"
    / K+ g. c, `2 X3 |3 A
  1127. * O( ]! b4 [! p
  1128. ; Default time format.& Z1 Y7 `8 P. ~# y# J2 s
  1129. ibase.timeformat = "%H:%M:%S"
    & ]" X& m* f' m* P% ~4 W

  1130. ' N$ P" J9 U/ a# Y& W! d6 k
  1131. [MySQL]
      N2 I" H! a! p  @. }$ y* Y
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    : T8 h9 X! P$ j
  1133. ; http://php.net/mysql.allow_local_infile) y' G' E& ]5 X/ D/ ?6 Z/ C7 A3 c" S
  1134. mysql.allow_local_infile = On
      k$ r) T" x- {- E8 v8 M- r# l

  1135. / J8 D7 b& \( Y1 ~& B
  1136. ; Allow or prevent persistent links." @- C& {5 m8 P. }/ O: E
  1137. ; http://php.net/mysql.allow-persistent4 x9 C1 K1 O0 [1 f: t: Y1 Q
  1138. mysql.allow_persistent = On
      ^: G9 J  A' h% \5 H, M

  1139. # s; ]0 b) ?; C
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache( `0 e6 J* V- M% y) \: }) X2 }& d
  1141. ; http://php.net/mysql.cache_size. r: Q$ n2 X  N, t* a& T$ R# E
  1142. mysql.cache_size = 2000! x$ w' H. }% H; T# k
  1143. * t2 N) R% A& P( w; W! f
  1144. ; Maximum number of persistent links.  -1 means no limit.$ r1 |: N9 E, O
  1145. ; http://php.net/mysql.max-persistent
    , n1 V, m( f2 {7 b
  1146. mysql.max_persistent = -1' ]+ {; L3 c* K3 @" ?; \: h

  1147. , y. a4 N2 m: W4 N7 o
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    6 ?6 N( I3 d' C, I+ h
  1149. ; http://php.net/mysql.max-links
    ) w  h* q1 Y/ I( |- i! y4 Q
  1150. mysql.max_links = -1% f5 P0 d3 @8 n% c$ q  a- [" ~* B
  1151. 1 Q6 ^) o$ C5 D% b# A) `. p$ p6 E
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    $ P  g* h2 S- g* e" U7 {5 {
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the  G# X0 T! r2 q# Z( M6 K
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look3 v! O. H# u! h2 X( f. W. e/ ?
  1155. ; at MYSQL_PORT." a0 t  g3 |) f1 I* h( g( \& z
  1156. ; http://php.net/mysql.default-port
    % |$ y6 B& ^+ h& f8 C
  1157. mysql.default_port =5 w. i* p; m" ^. w2 E/ ^. l

  1158. ' E9 _9 y* S6 }! _& L- [$ z
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in- d9 q0 k8 h& {5 v$ A
  1160. ; MySQL defaults.8 @3 V/ o( K' l5 W9 X7 c
  1161. ; http://php.net/mysql.default-socket5 \1 K8 d3 t3 m
  1162. mysql.default_socket =
    / P2 A2 w4 S. E5 u( a8 a; `
  1163. & Y' P$ n0 ~9 |! s
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).% J  _+ ]! p  T, R- r& K6 M
  1165. ; http://php.net/mysql.default-host
    ) x  a/ b' @, b- [6 V, t- G4 L
  1166. mysql.default_host =
    - v5 V# l* M5 O& U- ~

  1167. " X$ @4 [7 u, i+ [& `, D) ?% z) k
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).# f2 D7 J# z7 D* t, O0 c3 n
  1169. ; http://php.net/mysql.default-user2 G& N. D. g4 o
  1170. mysql.default_user =* T$ T0 V; Y$ X& d3 i+ d2 z5 _$ X
  1171. ! ]/ c( t9 r- V& V( S
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    ! C; T& I, F8 B) c
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    * t4 Y% `& @4 X9 p) `) l: T
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")6 w& J5 U$ z# [$ {
  1175. ; and reveal this password!  And of course, any users with read access to this
    * m# r6 w1 d5 u7 s1 i% G, g  l
  1176. ; file will be able to reveal the password as well.
    : l  o4 |7 {1 t1 Z
  1177. ; http://php.net/mysql.default-password# I# h1 [5 v5 D& R3 k% Y& h
  1178. mysql.default_password =! |  S9 \" [% F$ J
  1179. 6 d  C$ M7 h3 q# w/ L3 L
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    / k  j8 c& z9 x  S
  1181. ; http://php.net/mysql.connect-timeout* r6 u2 d( y) r$ y! ?
  1182. mysql.connect_timeout = 60
    2 S! l7 X+ i0 T$ \
  1183. 6 p. l1 _6 {+ n* y
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and$ m% T% {: J. I% U: d& W
  1185. ; SQL-Errors will be displayed.
    8 i* p  l. c' u- x
  1186. ; http://php.net/mysql.trace-mode
    ; }% T, F. s% _8 h
  1187. mysql.trace_mode = Off; J+ ~2 H  V" ^1 l" [! d6 M+ Q
  1188. * i! C  l2 M5 m% r6 h
  1189. [MySQLi]- \" C8 i# z! X- x1 y
  1190. 8 \2 \1 @+ c& Z
  1191. ; Maximum number of persistent links.  -1 means no limit.
    8 O, ?6 w6 E) `3 X3 U
  1192. ; http://php.net/mysqli.max-persistent8 c3 v  r3 F% }- K1 i3 i! `1 }+ w
  1193. mysqli.max_persistent = -1
    # L1 `, Y  D. }3 e2 W8 T7 Z
  1194. 7 s% }+ k( [6 i% Z2 E. M* E
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    3 {+ H2 J# Y( Z3 {$ Q
  1196. ; http://php.net/mysqli.allow_local_infile' p& r  p" O  b
  1197. ;mysqli.allow_local_infile = On
    2 g9 O# Y  p8 @0 {
  1198. % _, h8 D( n6 [$ N) c5 \; c
  1199. ; Allow or prevent persistent links.
    / q0 U8 r7 K% R# @- ^
  1200. ; http://php.net/mysqli.allow-persistent
    # ~* ^. ~" F7 k7 k2 V. l
  1201. mysqli.allow_persistent = On" K4 T) {/ E5 _

  1202. 0 W* D5 y0 T0 e; z; V. {) h, b' w0 Y
  1203. ; Maximum number of links.  -1 means no limit.
    , S# p7 p, C9 J3 L( r
  1204. ; http://php.net/mysqli.max-links; o- i* V7 A9 z  D3 k2 b( ]/ h
  1205. mysqli.max_links = -1
    # G. w; z/ ?$ `+ k

  1206. - T& z! c$ q" e; z# E
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache# s6 W3 N3 e+ w/ t9 e( k
  1208. ; http://php.net/mysqli.cache_size& y" u0 ~& K* x# v; k4 A
  1209. mysqli.cache_size = 2000
    " g9 P* c" t1 v! p5 ~" {

  1210. ) g5 t4 ~& ?3 L1 ^2 X& L% \
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    8 R1 A- |8 z) a3 F6 T. ?
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the. F9 c! f( m2 Q# ]* x
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    ; D, V9 I' K# ]/ ]+ U5 b' H, l
  1214. ; at MYSQL_PORT.
    & |$ R2 M9 M& Y9 C- G, f
  1215. ; http://php.net/mysqli.default-port0 d* A3 z  D3 w3 L! [, I
  1216. mysqli.default_port = 3306! R0 E4 i% F) [& R0 e. h

  1217. 4 O' l. ^3 t2 H  P- M5 d
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in# [! H9 l# ~+ y5 W( ?6 |
  1219. ; MySQL defaults.
    7 j9 a! \( P8 W8 d) T- V$ Z& ^
  1220. ; http://php.net/mysqli.default-socket" V$ Y7 q; W, \( Q
  1221. mysqli.default_socket =0 f$ O; a% `% g
  1222. 8 F7 d3 x4 Z" O+ y) q
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    % m8 F+ R- N2 j1 _+ \
  1224. ; http://php.net/mysqli.default-host
    - i  q, \5 S( |9 g; X9 o$ S1 S
  1225. mysqli.default_host =
    8 Y% K& T$ J5 t& r3 Q

  1226. : g% N" a9 p8 [2 D+ t4 d
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    1 Z9 M3 r( n3 r5 k+ _" x% R3 R) f
  1228. ; http://php.net/mysqli.default-user% j2 Q, ^3 W3 h! k; i
  1229. mysqli.default_user =
    4 J8 r6 a: i6 q

  1230. 8 F8 d) S" }5 ~2 |/ Y
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).) [: A! \8 K; i+ L; i& Z, l$ {. e6 j
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    1 T" f# K5 j5 e# k7 r- L) S
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    7 x2 g. f  `. `, L' O2 W7 U* H
  1234. ; and reveal this password!  And of course, any users with read access to this
    : |0 e/ O# s4 j' m
  1235. ; file will be able to reveal the password as well.8 I( {7 }$ S5 o# V6 _! _
  1236. ; http://php.net/mysqli.default-pw' d- e. a& ~; ]7 @2 i
  1237. mysqli.default_pw =
    4 O& W) S' ~, C+ o

  1238. ; `" o5 f  U  c' L
  1239. ; Allow or prevent reconnect0 i" o) A$ Y8 w
  1240. mysqli.reconnect = Off/ l  g  t" ?5 x" a
  1241. 2 }0 {; X; z: h8 ~/ o
  1242. [mysqlnd]2 r1 I5 N" O- c8 W" q  {) w
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    6 M' |( W; u& t# n6 P6 p
  1244. ; used to tune and monitor MySQL operations.5 \  i8 X" w9 Y) d9 Z5 l
  1245. ; http://php.net/mysqlnd.collect_statistics
    % ~% F8 b/ y( D8 g1 O8 p
  1246. mysqlnd.collect_statistics = On
    9 Z$ {! a2 L0 o. X' J: ~
  1247. " \* R5 o! ^! F5 v5 @6 p
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    ) h" j: A# M3 i8 i) d# }
  1249. ; used to tune and monitor MySQL operations.
    + q$ h! A- q+ F$ n& U4 z0 y
  1250. ; http://php.net/mysqlnd.collect_memory_statistics+ `/ s1 C6 m0 p4 W; |/ a- m
  1251. mysqlnd.collect_memory_statistics = Off! E$ K( r$ t+ X- _* q4 C( g+ D, r

  1252. ! E% s/ T; i7 ]+ ]( ]/ n
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    3 P) Z! T! u5 {- V* D
  1254. ; file., |* a9 T' @! _2 U* e* D9 w! x
  1255. ; http://php.net/mysqlnd.debug
    4 K# J1 w% q" q4 Q! g( u: ~$ \
  1256. ;mysqlnd.debug =+ Y5 W" m; I; x% R8 O2 s6 n

  1257. * {. X9 [( l: b/ N
  1258. ; Defines which queries will be logged.6 q9 w4 d9 _" j$ F3 P* z
  1259. ; http://php.net/mysqlnd.log_mask
    : U3 |; u) y' ~( w: x0 ^
  1260. ;mysqlnd.log_mask = 0/ L! b' Y0 z$ z. V4 E2 @
  1261. 3 w; T: j; S6 q* X8 i% y, Q/ n
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    ; \$ |, j6 M( q1 c0 `9 {
  1263. ; http://php.net/mysqlnd.mempool_default_size  f) y% C, k0 a7 X6 J" a. T5 @' e- e$ t2 ~
  1264. ;mysqlnd.mempool_default_size = 16000( o1 x0 A# e% a# E9 G2 b1 U
  1265. , h2 |' k" X+ S% |- p9 a9 \. C6 }
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.: x. ~9 L& e# j
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size9 D( b, ~& o+ N/ ^( {5 f
  1268. ;mysqlnd.net_cmd_buffer_size = 20485 ]5 ~( v( N8 J3 S0 C4 K! r+ a) Y

  1269. . n6 S3 F0 }  R% X1 Z" |
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    " G- o" v1 s9 ^: D
  1271. ; bytes." v$ M" g; J9 t8 m. l
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    8 c6 f9 b, k6 z6 L# c" J2 o
  1273. ;mysqlnd.net_read_buffer_size = 32768
    2 a1 l; s! q6 n" K2 H# E% }

  1274. 8 h# G5 ?$ y# ~9 y& ?! u
  1275. ; Timeout for network requests in seconds.
    ) q/ W' \1 n+ \
  1276. ; http://php.net/mysqlnd.net_read_timeout0 z" C+ W5 C8 q" ~! h; ?) c1 y
  1277. ;mysqlnd.net_read_timeout = 31536000
    5 J* @) |' l% v4 g( W4 b1 _
  1278. . d5 R; Z; \2 b
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    " b2 L/ x# z! f/ P
  1280. ; key.% C4 I. x8 q2 `  p! m
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    0 ~# Q+ [* L0 M2 @* P, K
  1282. ;mysqlnd.sha256_server_public_key =* Z) p3 l3 D% s! w

  1283.   j' [3 o0 k2 l) N
  1284. [OCI8]; S/ p0 A, p' v( s; z# b
  1285. 1 x; [0 U4 O  T* t# L: C; {$ q
  1286. ; Connection: Enables privileged connections using external+ `1 s. U' d8 p/ o
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)& `0 U3 P$ _1 H
  1288. ; http://php.net/oci8.privileged-connect2 z; i. _7 P% @* R
  1289. ;oci8.privileged_connect = Off
    1 R. a0 v( C* l; r! Q8 u
  1290. ; i7 z( C, m; ]: ~' q  t
  1291. ; Connection: The maximum number of persistent OCI8 connections per6 i. d9 P. J7 Q8 \: m% |3 T
  1292. ; process. Using -1 means no limit.6 ^: d9 E/ K1 m& O* }
  1293. ; http://php.net/oci8.max-persistent3 W( l  l$ J4 w  P$ b: j. E( ]5 n
  1294. ;oci8.max_persistent = -1
    0 a7 C8 {, S9 y, c+ B1 ^
  1295. + e0 b3 m  e3 b. |/ P. }& o
  1296. ; Connection: The maximum number of seconds a process is allowed to
    7 V7 f7 y2 ]$ J
  1297. ; maintain an idle persistent connection. Using -1 means idle
    0 E% W/ }( r) k, D/ e
  1298. ; persistent connections will be maintained forever.5 j' g9 K$ u0 U1 h) g# Z* U4 M
  1299. ; http://php.net/oci8.persistent-timeout
    8 g" D$ R- t( Q+ A
  1300. ;oci8.persistent_timeout = -1
    " j  x. i! s) g+ \
  1301. ' s! X4 u6 m6 O4 j6 n/ d
  1302. ; Connection: The number of seconds that must pass before issuing a
    ) T: \# \) j8 f7 w3 m7 f2 y* E
  1303. ; ping during oci_pconnect() to check the connection validity. When8 I2 h# ~( |; _, U
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    # L  _; }6 O2 ~+ I4 s2 P0 K( g
  1305. ; pings completely.6 Y9 r& V9 t7 B- J7 x9 G6 U
  1306. ; http://php.net/oci8.ping-interval7 V, s3 }( K( t' [7 j0 Q, @
  1307. ;oci8.ping_interval = 60
    % L5 y- R/ U' G

  1308. $ R1 \  H$ ~2 p8 q- o6 o( d+ W4 Q/ j
  1309. ; Connection: Set this to a user chosen connection class to be used
    : h( I; f# V2 @& J
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    ) L* r- |9 h/ l6 f1 Y& u3 _
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    , ?& u7 w/ v, ^1 ~& p, Z1 P
  1312. ; the same string for all web servers running the same application,9 ?9 N" ^- R+ @; P
  1313. ; the database pool must be configured, and the connection string must
    $ t4 Q) S0 s1 B7 @# f0 F- T
  1314. ; specify to use a pooled server.  I7 ^, B. M$ ~0 F
  1315. ;oci8.connection_class =' k+ L; W/ Z, }5 s

  1316. + P: o! Y; g2 Q$ S% H2 Z. }+ X
  1317. ; High Availability: Using On lets PHP receive Fast Application/ K: P, o- V, R( S4 I8 }8 L! N) \
  1318. ; Notification (FAN) events generated when a database node fails. The9 P+ {. @0 Y4 L+ y
  1319. ; database must also be configured to post FAN events.) |  ~8 t! `  j- w) l
  1320. ;oci8.events = Off
    7 X, m+ s! }4 }* d4 P' |( w

  1321. * {( S7 ~: ]$ f0 b- q. s
  1322. ; Tuning: This option enables statement caching, and specifies how; @/ s6 a! I5 V. d* U0 L
  1323. ; many statements to cache. Using 0 disables statement caching.
    # F# v  b# m5 E2 r" z2 ?1 {
  1324. ; http://php.net/oci8.statement-cache-size, g& ^( [, V& Y9 c: B% m
  1325. ;oci8.statement_cache_size = 20
    ( {2 t: v5 Y+ E( U: [3 r2 z* m9 Z1 T
  1326. 8 k" s2 X3 B% e6 Y7 G
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    # z% i( n7 k6 `* D* B
  1328. ; rows that will be fetched automatically after statement execution.
    - E% V+ L# w4 Z( r
  1329. ; http://php.net/oci8.default-prefetch4 W# ]% P( n% O+ X  T3 N
  1330. ;oci8.default_prefetch = 100
    ) }6 s4 |6 P/ H$ y5 o' c
  1331. " G* q* H+ ^1 ]* v) l
  1332. ; Compatibility. Using On means oci_close() will not close) }: S% I) N0 ~4 k# L4 {. n3 ~1 e
  1333. ; oci_connect() and oci_new_connect() connections.) c3 n$ c+ h: l1 Q6 L% w/ @
  1334. ; http://php.net/oci8.old-oci-close-semantics
    0 r1 P. q6 U  `; u/ V4 C4 [
  1335. ;oci8.old_oci_close_semantics = Off
    ( m$ U" P; J: v

  1336.   D4 b) v) q* {/ u
  1337. [PostgreSQL], x. z0 T+ g2 H/ D" o
  1338. ; Allow or prevent persistent links.
    $ a. j0 [) Y4 d3 f" a( h! k# R
  1339. ; http://php.net/pgsql.allow-persistent5 @$ g5 g4 R2 D1 @, }9 ~
  1340. pgsql.allow_persistent = On2 Y& u7 M6 R: s' M/ S) L3 c
  1341. : t# U, }5 u" e' `
  1342. ; Detect broken persistent links always with pg_pconnect().1 ~* @9 J* {: Z! d1 F% y$ ?
  1343. ; Auto reset feature requires a little overheads.- Y) E" b2 N4 f5 K5 j! _9 g
  1344. ; http://php.net/pgsql.auto-reset-persistent6 T, R6 q1 ^; r" T
  1345. pgsql.auto_reset_persistent = Off2 {+ {8 m. g8 z* d% Y4 s, o

  1346. ) r: Y% ?! W6 Q/ {
  1347. ; Maximum number of persistent links.  -1 means no limit.
      h5 X1 m- I$ L
  1348. ; http://php.net/pgsql.max-persistent6 V/ I' o* @, d3 V  H9 l
  1349. pgsql.max_persistent = -1
    1 z8 S) R& e# m) U; ]
  1350. 3 t& J# ?, O% R1 }+ d
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    6 F  Y! T' `# F  B+ c) [6 P; T
  1352. ; http://php.net/pgsql.max-links' W3 H- k" F# S: ]% f) p
  1353. pgsql.max_links = -1: Q' C% k# M/ p9 k: A/ P" a5 y5 [

  1354. 1 l/ Q0 F  G8 t1 `
  1355. ; Ignore PostgreSQL backends Notice message or not.* c% V8 ^# f9 b$ H7 N
  1356. ; Notice message logging require a little overheads.
    " X  {. `  j' q* x% U: a
  1357. ; http://php.net/pgsql.ignore-notice
    1 ?3 L! ^4 F: O8 n0 ?
  1358. pgsql.ignore_notice = 0
    # n! ]5 B# u# `4 C' z

  1359. : f3 j- V" a' \( t; B
  1360. ; Log PostgreSQL backends Notice message or not.- p/ d% ?3 ?; P
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.& p* A% x5 j) Y: ?/ B; z: v/ W' N
  1362. ; http://php.net/pgsql.log-notice' G9 }  W, i% Q4 }. }
  1363. pgsql.log_notice = 0# x) Z+ S' Z" z8 p2 v

  1364. 3 ?; Z! h7 F1 w$ L1 N/ K% F, I
  1365. [Sybase-CT]( w) u- v. B5 ^
  1366. ; Allow or prevent persistent links.6 @7 |6 ~+ V& z$ A
  1367. ; http://php.net/sybct.allow-persistent# o, _+ x% L3 w1 S$ o, L
  1368. sybct.allow_persistent = On5 D3 n: P% U; _! r3 l& K  T9 q
  1369. / v) W6 a9 W- ~9 t5 e4 S2 F+ i9 {
  1370. ; Maximum number of persistent links.  -1 means no limit.
    , I& X7 {8 h+ u4 \. J8 y
  1371. ; http://php.net/sybct.max-persistent8 `' o% o  ]% V- y; M5 H3 y
  1372. sybct.max_persistent = -1
    . A' M# @8 f; k
  1373. # ~5 I. V9 o) i- P
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit." i7 Q' O; Q- D5 V2 J
  1375. ; http://php.net/sybct.max-links
    # [) O) o3 v8 [4 h4 `
  1376. sybct.max_links = -1
    2 f1 w. c) \+ H$ n6 K

  1377. 4 C3 M( Q6 z% v
  1378. ; Minimum server message severity to display.- |+ h# k: h- h0 S0 }
  1379. ; http://php.net/sybct.min-server-severity
    ! k: U5 c7 `' o) W6 l
  1380. sybct.min_server_severity = 10
    , i, e8 I# K1 v# ^6 C% z
  1381. + G3 ^1 o% R+ d$ v0 {" @# n; a
  1382. ; Minimum client message severity to display.
    ; w" D# s1 ^& ^/ r
  1383. ; http://php.net/sybct.min-client-severity; q9 w/ q. g; i+ q' f
  1384. sybct.min_client_severity = 10! m+ c/ P; i4 C) V0 k

  1385. ! R+ @' X7 A9 p! e5 M
  1386. ; Set per-context timeout
    1 g; Y" }8 A) T. l$ \
  1387. ; http://php.net/sybct.timeout' a& k5 L9 p: ]/ C5 Y
  1388. ;sybct.timeout=
    & N( v9 ^2 M5 p. C9 L( h0 j

  1389. ( e% ]( w0 R5 S6 _
  1390. ;sybct.packet_size
    2 ^! s2 f0 W3 G! z9 \. T: A: R
  1391. 6 M: T: w" t3 `* \9 I% D; e, u( v
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure., @. S3 K1 Q, B: ]& j1 L# C
  1393. ; Default: one minute; K. k, y0 R6 L4 y/ Y1 L0 b
  1394. ;sybct.login_timeout=) W: W6 m( k3 t: ?7 b( q
  1395. # {5 B5 i: K+ m# X. S
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    : y7 t; K4 L9 ?' r% ?
  1397. ; Default: none$ U5 a/ z. N  T: f+ X$ _
  1398. ;sybct.hostname=8 [5 ~$ A/ Y% J0 r1 T. n% X: |
  1399. $ T4 _$ x/ n  R4 i  `2 ~1 g
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".$ i, D) I0 Y/ U) l1 @  v% h
  1401. ; Default: 0
    * z. [+ Q5 a; J% x9 v
  1402. ;sybct.deadlock_retry_count=
    6 Y4 v8 ]9 h$ B% U/ `7 o! {- C

  1403. 7 R% ~3 k% r" a9 C. |3 ?  U
  1404. [bcmath]
    0 J. x) M9 p9 _0 j: H
  1405. ; Number of decimal digits for all bcmath functions.
    $ O$ y3 K7 e* K  V$ O1 J
  1406. ; http://php.net/bcmath.scale
    ( l- q+ g0 t6 J2 t& Z/ y
  1407. bcmath.scale = 0# d8 s7 r4 _3 H/ h) \6 {5 N: ]3 R. F

  1408. # O% P* A" @' F  T
  1409. [browscap]( e' J2 m/ O  M, Y
  1410. ; http://php.net/browscap: F8 J# }8 d& i
  1411. ;browscap = extra/browscap.ini
    " @6 e7 f) z) T6 h9 z

  1412. 5 b: b* I5 d+ T; |0 R" H; y
  1413. [Session]3 N( W) Z/ V$ ]$ p( }
  1414. ; Handler used to store/retrieve data.
    + R! t7 l# D& g; X6 y- v
  1415. ; http://php.net/session.save-handler3 Z: Y- S: k  W7 |1 w2 ^+ D
  1416. session.save_handler = files
    9 i4 D2 w, Y6 Q( `- U

  1417. ' \6 W; |8 i) C) e% `
  1418. ; Argument passed to save_handler.  In the case of files, this is the path7 Q# x* K) Q& r" p' I
  1419. ; where data files are stored. Note: Windows users have to change this: H6 p; O2 d; y$ O1 L! \, U
  1420. ; variable in order to use PHP's session functions.
    , w2 ]3 {% z% t- X# s
  1421. ;9 P$ y8 \, d) M2 B
  1422. ; The path can be defined as:& Y+ R3 ~* M* ]0 v. N
  1423. ;
    7 c$ X7 \2 w; R$ V2 z4 ]7 P" {
  1424. ;     session.save_path = "N;/path") U! y: }( d, q, k
  1425. ;4 T$ `( m8 Z$ |' g1 Z- c
  1426. ; where N is an integer.  Instead of storing all the session files in
    , g$ U% h2 B1 z! O$ z
  1427. ; /path, what this will do is use subdirectories N-levels deep, and: W; O( c! v" w* n" {& A
  1428. ; store the session data in those directories.  This is useful if
    3 F' m4 ?! e/ T+ Z& \$ l$ ]
  1429. ; your OS has problems with many files in one directory, and is# V* h; ]" r. p" G7 T/ ^" T
  1430. ; a more efficient layout for servers that handle many sessions.
    . a8 ~' A. {! x5 o0 p
  1431. ;
    ! H0 h3 Q; H7 e+ l3 F0 I5 b4 e
  1432. ; NOTE 1: PHP will not create this directory structure automatically./ M6 x% g: l, Y2 U
  1433. ;         You can use the script in the ext/session dir for that purpose.: ^! t; U! m+ {3 n
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    ' E$ t+ @! @" s' |( X5 T% W
  1435. ;         use subdirectories for session storage
    + ]7 z4 w" {2 j5 u5 O' u7 A8 h, h$ w* x
  1436. ;+ s) j$ i0 E, z
  1437. ; The file storage module creates files using mode 600 by default.
    ' j$ u. r, a0 {1 i0 E
  1438. ; You can change that by using
    2 Y9 x, Y- n4 i# X; B; C
  1439. ;
    , a) ^/ E2 k+ F
  1440. ;     session.save_path = "N;MODE;/path"0 G! n! d% X7 L- S
  1441. ;2 r3 ~+ C( X( a7 h5 O
  1442. ; where MODE is the octal representation of the mode. Note that this
    3 ~, c! E, F; Q
  1443. ; does not overwrite the process's umask.0 {7 A+ y& r) i5 t* u( `
  1444. ; http://php.net/session.save-path0 q8 ]+ }6 \, P4 P7 l' S. A
  1445. ;session.save_path = "/tmp"& t, H% F( `4 H

  1446. 0 |$ L4 F* I5 ]; R# Q/ ^1 G) ?  E
  1447. ; Whether to use strict session mode.1 c# n4 W& j+ f- P) ]
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate# ~( U8 I: S# L' r6 j
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects; `2 D5 `# K4 w5 k
  1450. ; applications from session fixation via session adoption vulnerability. It is* W1 j! @- i8 F) p2 U" ^
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    0 C8 u+ x. x0 \& x! S4 x
  1452. ; https://wiki.php.net/rfc/strict_sessions
      C6 @' D7 o. l; e) a5 e
  1453. session.use_strict_mode = 0
    . ~/ h4 i. ?8 w( H. _

  1454. - l' X0 @6 p, ^7 o/ f+ X
  1455. ; Whether to use cookies.+ \9 c* A- k/ H# l& O! P1 o* \
  1456. ; http://php.net/session.use-cookies
    " N; l) n" c0 e4 }9 v' E' o
  1457. session.use_cookies = 15 q! N0 M/ ]9 ^7 C) P6 E

  1458. ( A0 S& Y# L& A
  1459. ; http://php.net/session.cookie-secure) z6 m" N) i" M& W9 o
  1460. ;session.cookie_secure =
    ! @+ P, w( |7 h  g  P

  1461. - \3 q/ o6 d8 q: v; l7 R
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    : h: t% a# Y/ g. }9 _! H9 Q6 e
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    0 d" @% I+ e" r( t  q; ~- G
  1464. ; session hijacking when not specifying and managing your own session id. It is
    ( B$ H0 u" ]8 f6 {! s
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    - j6 F: z) K! V9 e: G
  1466. ; http://php.net/session.use-only-cookies) b7 p' F8 }  t; @: f. \
  1467. session.use_only_cookies = 1
    " V9 Q  `. B0 u( m! g9 d) l

  1468. # o4 Q7 u7 j: R# k  ^
  1469. ; Name of the session (used as cookie name).9 e# F9 u- i2 }2 G& F' k
  1470. ; http://php.net/session.name
    " l6 ]& f1 B/ L) a; X4 x; i6 P
  1471. session.name = PHPSESSID& g+ h* L, m# y! k" [( l
  1472. 1 V4 c3 i  Q: I% y" ^
  1473. ; Initialize session on request startup.( \) W! N+ I7 o% |1 X) L
  1474. ; http://php.net/session.auto-start; Z* d3 V  |+ |: {" x2 @
  1475. session.auto_start = 0. `7 T* f4 }0 c: n& y: X4 Y- K

  1476. ; @- `; S- ?! f; i9 L2 J: n
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    6 r8 M1 R$ h' b" [# Q! T, r0 |
  1478. ; http://php.net/session.cookie-lifetime
    , m3 X+ L2 \  h7 j
  1479. session.cookie_lifetime = 0
    1 e. Z# h# }; {9 @. A& A

  1480. % j9 J8 a+ U& N8 [
  1481. ; The path for which the cookie is valid.
    1 e% Z. ~+ U" n5 t$ U
  1482. ; http://php.net/session.cookie-path
    # Y/ s! c+ N$ B% z8 l2 O, |
  1483. session.cookie_path = /9 s; J# v' `. V6 E# {# n

  1484. 3 G: X4 T5 Z7 E4 C9 r" a9 V8 w
  1485. ; The domain for which the cookie is valid.
    ! e: F/ b2 n. x3 v% c
  1486. ; http://php.net/session.cookie-domain3 g/ j5 S  k, C5 }. k( b
  1487. session.cookie_domain =" T) @" F" Y0 ?+ J9 Y9 Q+ l
  1488. 9 D: J. a1 s; n! g, F) j
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    * A5 i" L8 }5 j) s- q4 {$ y
  1490. ; http://php.net/session.cookie-httponly+ \" e& X+ K6 k
  1491. session.cookie_httponly =
    % c# M( F! t# w; t

  1492. ' a0 T3 p9 T" f5 G) l2 J: d
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    / P( A9 G$ I) @6 R/ K' d
  1494. ; http://php.net/session.serialize-handler# z" F& Q$ c, F, d
  1495. session.serialize_handler = php
    # C- S  ~2 \7 V' W& T* ~

  1496. * x1 H5 I" [, l4 r2 |
  1497. ; Defines the probability that the 'garbage collection' process is started
    6 t7 s3 c7 @9 ]- }0 l  r
  1498. ; on every session initialization. The probability is calculated by using
    $ N! \- D* E0 c1 d7 p
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    / w: F5 w( M6 O- _8 E$ r# y
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    ; I+ Z6 S0 P( o8 C" o0 {
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance* d0 G3 g; U; E5 G$ h
  1502. ; the gc will run on any give request.- i# u3 R4 A9 Q
  1503. ; Default Value: 1( d9 o) H% |+ f8 k% K! X6 T0 ^
  1504. ; Development Value: 12 G1 o) E& K) ?" g& j1 Y6 K
  1505. ; Production Value: 1, V! b. V0 @( w( ?4 X& Y; x+ A
  1506. ; http://php.net/session.gc-probability
    4 o9 Z4 \, J  C3 F' U) R
  1507. session.gc_probability = 1
    ' X( j- f. I# g) a* A% X4 J

  1508. , Y" Y& z  F, p
  1509. ; Defines the probability that the 'garbage collection' process is started on every* t. D9 Z$ Q3 S# C* [8 W8 I$ J
  1510. ; session initialization. The probability is calculated by using the following equation:
    1 F( R- z# k, J
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    4 Y2 [' ~1 s3 ?5 X% O
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    2 w( Z6 o! t" l% U, A9 }/ F
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance6 ~6 f) f2 s6 H2 ~
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    ( s' Z# `% y7 b" S" t
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    . C$ r- l6 h; {5 B* b; w
  1516. ; this is a more efficient approach.9 Y5 y+ L' V' k  V# H9 k. ?& H
  1517. ; Default Value: 100
    . m9 O# x; ~$ W3 n( I4 G6 {
  1518. ; Development Value: 1000/ u. r& t5 u( O6 n2 k. L6 {
  1519. ; Production Value: 1000  q6 y2 H" Z  y& N
  1520. ; http://php.net/session.gc-divisor
    * H5 W0 G9 P  w2 F3 D
  1521. session.gc_divisor = 1000$ y) b4 y5 U- x& q" J: }
  1522. 6 C$ B; x' _* f3 g7 i$ _
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and/ K" Q3 L$ u9 D, J. g/ b6 U' G
  1524. ; cleaned up by the garbage collection process.& C' K! w) T/ a8 w. [
  1525. ; http://php.net/session.gc-maxlifetime
    , U% x. m7 v5 f
  1526. session.gc_maxlifetime = 1440
    8 G& X' v! [2 _* S

  1527. 1 S% m4 I7 I! w! i! G
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    6 @6 G% |1 D1 v; K
  1529. ;       (see session.save_path above), then garbage collection does *not*4 [) s8 e. v# k. d4 g
  1530. ;       happen automatically.  You will need to do your own garbage
    ) A2 ]& U- d2 G) u2 ~
  1531. ;       collection through a shell script, cron entry, or some other method.
    ( ^4 _0 @0 u9 l+ G6 j( _- t
  1532. ;       For example, the following script would is the equivalent of
    2 \! _" Q9 t7 [9 d) E9 m$ a' v$ H* m
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):, F4 D0 F, `  c8 U* R$ a
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm( |8 @0 M3 t1 _- j7 Y

  1535. & C  r1 `  H+ C5 _; r" I0 L
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids., F& E9 V6 _: |7 j" w
  1537. ; HTTP_REFERER has to contain this substring for the session to be( U$ n6 |* C. ]2 N0 W
  1538. ; considered as valid.
    * u% }! @; U' v: c7 R2 @
  1539. ; http://php.net/session.referer-check
    $ G- ~+ C& Z! v+ L6 @- S
  1540. session.referer_check =
    ) l' q. S! l/ v' ]) S" f

  1541. 2 T4 r; f1 y. x( R
  1542. ; How many bytes to read from the file.+ d, O$ ?3 y* j2 w
  1543. ; http://php.net/session.entropy-length
      Y& w& k# M3 V* C6 d7 x* @/ r
  1544. ;session.entropy_length = 32& I$ z  W7 c4 Q

  1545. $ `9 k7 w- u- Z) V5 e% A7 o& ?
  1546. ; Specified here to create the session id.9 {! \# l4 R. u7 c3 J
  1547. ; http://php.net/session.entropy-file
    / w: B( X8 r0 ]
  1548. ; Defaults to /dev/urandom0 d4 A4 z* v: S* C, f6 f9 F
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    ! g! U* l" ]. `/ ^5 d
  1550. ; If neither are found at compile time, the default is no entropy file.2 @" r; Q  K: i: N/ P
  1551. ; On windows, setting the entropy_length setting will activate the
    ; @! {; R( y( b7 {0 k! c
  1552. ; Windows random source (using the CryptoAPI)
    8 o4 j& `% O. e
  1553. ;session.entropy_file = /dev/urandom1 b) H0 T! o' w$ _& B( ^

  1554. : j# I7 P4 ~# q# C9 @% n
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects2 x! j! c/ c; l
  1556. ; or leave this empty to avoid sending anti-caching headers.
    % D( F' j2 k5 a) E4 Q4 g5 V
  1557. ; http://php.net/session.cache-limiter
    * I$ d& ^* X% i6 e; d) ~
  1558. session.cache_limiter = nocache
    7 @$ W% ~4 Y% `
  1559. 2 I; Z, v' [/ S2 b" t
  1560. ; Document expires after n minutes.
    ' @! E' U0 [6 V: S8 P- }4 D
  1561. ; http://php.net/session.cache-expire. ]4 i( p& Z9 s! P
  1562. session.cache_expire = 1808 }, A' b9 q/ X8 H3 R

  1563. 7 c2 e& x* K2 I
  1564. ; trans sid support is disabled by default.% w( i" e- r1 V
  1565. ; Use of trans sid may risk your users' security.
    9 T% ^  C# w& V4 M
  1566. ; Use this option with caution.
    1 P3 m2 R# v( j/ U* Q0 `" w' p
  1567. ; - User may send URL contains active session ID$ v# Z+ g& C3 @' o! ]
  1568. ;   to other person via. email/irc/etc.8 g2 I1 i& I# p+ |1 E& U8 V- U
  1569. ; - URL that contains active session ID may be stored
    0 E. _9 F. G9 g8 W6 d# G
  1570. ;   in publicly accessible computer.: l/ w% W5 ^4 b
  1571. ; - User may access your site with the same session ID
      M4 b  v& R/ h! _9 z% Z% T
  1572. ;   always using URL stored in browser's history or bookmarks.
    1 j# t. x3 s  x$ }
  1573. ; http://php.net/session.use-trans-sid
    ' L0 r) N. I: o* m
  1574. session.use_trans_sid = 0
    7 _4 G0 Y1 l! |9 Z: K- Z
  1575. - Q* z- s. w8 }# N) C' L4 r
  1576. ; Select a hash function for use in generating session ids." ~  n# e2 ^1 w  n
  1577. ; Possible Values$ T8 C( b  u1 w0 P; L$ s- p/ g7 [
  1578. ;   0  (MD5 128 bits)( d3 A; g  a3 U' P* h
  1579. ;   1  (SHA-1 160 bits)
    0 _0 L0 U' v8 P! F- Z
  1580. ; This option may also be set to the name of any hash function supported by/ y8 T0 x- {8 b  V
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    * x2 r# [2 B. A1 O/ n
  1582. ; function.
    - ?: O' C% @) D- m6 T
  1583. ; http://php.net/session.hash-function
    7 f$ B4 E( t% ?# m4 |
  1584. session.hash_function = 0
    / d- u! ]4 Q+ n3 G, x4 P8 l) Q+ q4 V: f

  1585. : e5 i7 \. R8 W# o7 C/ j
  1586. ; Define how many bits are stored in each character when converting' a) b# h. ?  k: `- V1 d( w. h. k2 w2 k  H
  1587. ; the binary hash data to something readable.% D% Y* O1 G: {: e( ]' q
  1588. ; Possible values:. V; ]# U9 j  j4 q. X8 ~% N
  1589. ;   4  (4 bits: 0-9, a-f)4 |; T, n' h3 V* j# [2 s0 V5 }
  1590. ;   5  (5 bits: 0-9, a-v)) ?& N& N  Y  N# U
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    ( A! n) {/ Q) Y9 _7 _6 J
  1592. ; Default Value: 4
    6 p0 o2 {9 x" c# C1 z& @; V
  1593. ; Development Value: 5
    2 L# {; X) r! n. y* S
  1594. ; Production Value: 5
    ! L# B6 _( D3 p/ \* E8 I) ]% L2 v
  1595. ; http://php.net/session.hash-bits-per-character+ N0 g0 p: C. H7 ^5 s4 K& i+ F& P0 }
  1596. session.hash_bits_per_character = 56 S0 t6 F% f$ E  i) ?  e' G8 _5 \0 ?

  1597.   e! {% {- `: `5 i
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    / w7 U) [# V$ h4 O9 s% D% }" n
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    # |7 A4 N* x. `( \9 Z# p
  1600. ; add a hidden <input> field with the info which is otherwise appended, Y4 l( |1 d  }& n1 ?
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    + z" v/ z6 E8 S. f( C) H
  1602. ; Note that all valid entries require a "=", even if no value follows.
    2 z' X. B8 N2 h& m7 v: Q1 u8 @
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    " a7 i+ T) d. V. v2 `
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"9 T# B0 w, k% S* ^. ?2 ~' o
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"# X) x6 u2 c" B% D3 M/ Q0 ]7 Z- C
  1606. ; http://php.net/url-rewriter.tags- o6 @) ]) M4 i
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    1 X& ^* S$ ?* i

  1608. % d, Q  q$ }# G& {8 m% F
  1609. ; Enable upload progress tracking in $_SESSION8 n+ ?* t3 m6 a( k4 v' D3 x
  1610. ; Default Value: On
    $ [9 q( P5 ]) u+ ~! t) H0 v
  1611. ; Development Value: On
    8 n, f9 v. \7 R6 Z* X1 i/ g- d
  1612. ; Production Value: On
    ! o" ~. W$ `# d& z5 t0 N2 Q% g
  1613. ; http://php.net/session.upload-progress.enabled( J( q( C; {% N4 k' T' ]$ N- Q
  1614. ;session.upload_progress.enabled = On5 R9 G! c# K2 ?) a1 A+ ]
  1615. 9 o2 S: }0 j- \
  1616. ; Cleanup the progress information as soon as all POST data has been read& G2 K. M. G1 J( p7 I* v8 x
  1617. ; (i.e. upload completed).1 _2 R; A  W; C
  1618. ; Default Value: On
    $ j1 }, n) L+ z& y4 O2 L& T
  1619. ; Development Value: On
    ) K3 O( A: f& t1 }9 M" r7 U
  1620. ; Production Value: On; X: ^! `, {% ~2 O0 t$ _# j
  1621. ; http://php.net/session.upload-progress.cleanup; I* w& k8 d7 L% W7 D9 A2 e
  1622. ;session.upload_progress.cleanup = On
    ! p4 d# J6 X1 k! ~& a+ o. N

  1623. : U3 t- A6 Y2 p6 r7 Z0 |
  1624. ; A prefix used for the upload progress key in $_SESSION2 g! F& s$ n& b5 W* C
  1625. ; Default Value: "upload_progress_"
    0 r( n) u8 h5 N2 M. r- ]
  1626. ; Development Value: "upload_progress_"* y, z5 H7 N, Q7 |( D+ z6 ^
  1627. ; Production Value: "upload_progress_"
    % t. |( r/ A' t2 h: R$ Y
  1628. ; http://php.net/session.upload-progress.prefix  ?2 l. K; d$ Y
  1629. ;session.upload_progress.prefix = "upload_progress_"
    & [+ q3 g5 u& \9 w* y/ O8 R6 f
  1630. 8 H- A4 U  M% v( b
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    6 V) a' z0 L: P2 [$ c; S7 a' n
  1632. ; containing the upload progress information3 v4 P5 ~1 `9 y* C4 Q% M& }' b
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    9 J7 f# }6 @7 E* Q. Z8 m' `
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ' \' H- i* K) D2 V( ]- c
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"+ Q( [( s" }7 m( d( g
  1636. ; http://php.net/session.upload-progress.name
    " L6 O* L; _) t0 [1 y. y; y
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"; d0 }2 I1 c3 R9 Q% y: _( I

  1638. 7 f# q8 ~  B8 t, r2 l
  1639. ; How frequently the upload progress should be updated.3 S7 V& F( k8 l, r! m, {1 `1 L5 {0 Z2 c
  1640. ; Given either in percentages (per-file), or in bytes
    % V' r- l; _8 ^2 F1 U$ F
  1641. ; Default Value: "1%"
    7 b+ O' Q9 S6 v# a5 z
  1642. ; Development Value: "1%") z$ t0 ~! ]. n' D7 Q
  1643. ; Production Value: "1%"3 `: h. G2 M# b
  1644. ; http://php.net/session.upload-progress.freq
    - [" z% X6 a' |( t
  1645. ;session.upload_progress.freq =  "1%", k0 Z) P' [- i$ y6 j6 ]4 o) u7 p
  1646. . V8 C6 @: }' A- K$ D3 q* b
  1647. ; The minimum delay between updates, in seconds
    5 d$ _0 y7 x- }3 w3 w
  1648. ; Default Value: 1) ]" a. m% A2 r& R% y6 v
  1649. ; Development Value: 14 D6 ?" Q+ b! [. T9 R' x0 b3 y
  1650. ; Production Value: 18 r, U) Z$ B0 o  \5 a, m
  1651. ; http://php.net/session.upload-progress.min-freq
    : Z! n. k* k6 B9 T
  1652. ;session.upload_progress.min_freq = "1"
    1 x& R8 g! c% E& q+ w: C& e% m
  1653. ( e/ t  s/ P9 L. m5 M( |8 P+ [
  1654. [MSSQL]1 `# i1 L# {/ K4 T5 X, A
  1655. ; Allow or prevent persistent links.
    ! e6 o' r! U- I0 ]
  1656. mssql.allow_persistent = On6 _7 r# E2 o' J9 U3 g
  1657. ; j3 M& ~  [  L) C
  1658. ; Maximum number of persistent links.  -1 means no limit.4 G, W4 t- s! }8 j) n. N7 O! U. k8 p
  1659. mssql.max_persistent = -1
    3 l" |8 Z/ \) C  K* @7 Y
  1660. * Z8 U, l1 j  G- q4 q5 w* Y6 v
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.; O' R/ t" }0 {* p+ F9 M
  1662. mssql.max_links = -1; }! ~, b  L5 E6 A/ b4 ]* D' R" m

  1663. ! e0 N* ]& {, j$ `) {
  1664. ; Minimum error severity to display.
    + z/ r* R* |/ \- o1 b
  1665. mssql.min_error_severity = 10
    * ]$ @6 \3 s" T' q" j! M3 v# ?
  1666. 6 B  |3 v8 t2 R5 f) v* T5 a
  1667. ; Minimum message severity to display.
    ' R+ @7 j6 b4 c
  1668. mssql.min_message_severity = 106 j6 }# q+ l/ h" L! r

  1669. , \& i) T& b) L5 a0 x% H( D3 J' k
  1670. ; Compatibility mode with old versions of PHP 3.0.3 u# p7 H+ [+ \2 ]+ l$ n: g
  1671. mssql.compatibility_mode = Off/ m" A% e( z5 l& W  d
  1672. / {  {$ e: A# l3 s5 o
  1673. ; Connect timeout
    : W1 d% A' D8 f- X* m. n9 @
  1674. ;mssql.connect_timeout = 5
    ! ?7 [9 e0 ^$ p. ~3 M% `7 R

  1675. " K% ^/ D# N1 T* l
  1676. ; Query timeout
    ) W4 A1 P* B# ~( D
  1677. ;mssql.timeout = 60/ A( x( r7 y# U2 P' W
  1678. 6 d2 ~8 ?$ B& U% S$ P& Z
  1679. ; Valid range 0 - 2147483647.  Default = 4096.$ \  C' ?; @% q/ J# I. f
  1680. ;mssql.textlimit = 4096) ?( H; |# b* r, g

  1681.   |  _" `: E6 R8 z: [
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    , F! q. j$ k* k
  1683. ;mssql.textsize = 4096
    0 R( F5 a$ c2 q) }4 O

  1684. ( ~7 L& u; ^/ [( n! b
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
      F. |5 {% @  }1 V  @) l
  1686. ;mssql.batchsize = 0- {; L, _/ M3 f* d! b$ z( a
  1687.   R5 q2 i5 M. m& E
  1688. ; Specify how datetime and datetim4 columns are returned
    4 z1 v- w6 X& A4 O
  1689. ; On => Returns data converted to SQL server settings% d3 j' E6 v3 c
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss) O" v3 L  v9 \  G! S
  1691. ;mssql.datetimeconvert = On
    * s+ h9 w' C* ]9 M! C+ r- F" ?

  1692. ; T0 o2 W; E+ a+ ]  x3 @1 q
  1693. ; Use NT authentication when connecting to the server
    9 n2 E$ z# a5 R
  1694. mssql.secure_connection = Off; @5 d4 t9 P$ |" P6 S% y
  1695. + ~- S" M. N2 {. C) H/ D+ G
  1696. ; Specify max number of processes. -1 = library default% q4 b4 H1 ]6 {/ n1 i
  1697. ; msdlib defaults to 25
    ! E$ x4 i  a1 Y  V
  1698. ; FreeTDS defaults to 4096
    $ p4 g! c; S% i' T& {6 g/ m
  1699. ;mssql.max_procs = -1
    6 T- s) U$ X( G. G# T
  1700. 9 \0 ^' w' E  p2 q0 L0 j
  1701. ; Specify client character set.
    8 I  E* D3 q5 e
  1702. ; If empty or not set the client charset from freetds.conf is used# m* A7 N5 v: \/ m! G! ^
  1703. ; This is only used when compiled with FreeTDS
    ) p  w  E/ f) Q* p9 V5 _
  1704. ;mssql.charset = "ISO-8859-1"8 N9 Y2 L. I1 O5 ^* S5 c

  1705. 6 i9 D$ M- ]$ W" ^
  1706. [Assertion]
    7 u& K  P7 O( E1 A
  1707. ; Assert(expr); active by default.$ c, i/ a/ |% n- N# z
  1708. ; http://php.net/assert.active0 i: W* q) A% Y3 {
  1709. ;assert.active = On* M) J5 X  i4 Y0 ]

  1710. $ ]1 n6 n' x$ z' Q; d
  1711. ; Issue a PHP warning for each failed assertion." v1 l3 M1 z! j9 I! ?0 Y7 t
  1712. ; http://php.net/assert.warning- o* O$ P+ {# g0 [
  1713. ;assert.warning = On9 p: x+ ^. S* x- d

  1714. 0 q" U2 h) f! _0 L
  1715. ; Don't bail out by default.3 [9 [6 l% @) C2 w$ ?" ^
  1716. ; http://php.net/assert.bail
    9 l7 T/ s1 d6 K) q4 J4 R9 C
  1717. ;assert.bail = Off" V/ T8 H. x. A1 [5 J3 \7 }

  1718.   u" j1 x. [6 e! h
  1719. ; User-function to be called if an assertion fails.
    - z; @8 S8 L( \# g
  1720. ; http://php.net/assert.callback$ ~- Y7 s3 Y2 Y  y/ y  l# d
  1721. ;assert.callback = 0
    ' k4 ]; P* S+ |* F9 s: c, Q2 S: W
  1722. 6 M5 |+ r  D6 B
  1723. ; Eval the expression with current error_reporting().  Set to true if you want& b& `" R6 p* ?+ e2 [1 {8 R
  1724. ; error_reporting(0) around the eval().
    7 H' Q4 v- J8 K
  1725. ; http://php.net/assert.quiet-eval
    * W% o( e- x* z, n) h
  1726. ;assert.quiet_eval = 0* W  o; h8 f) @+ A4 |9 b" y
  1727. 5 s9 `) \, ^. M4 N+ b, w$ T
  1728. [COM], N: ~8 s0 V- e* P' M. Z
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    ( K/ }' D! V6 [5 ]9 [: @; _9 s; H
  1730. ; http://php.net/com.typelib-file6 Z: k' z8 F: d* |) f; o7 Q& x
  1731. ;com.typelib_file =
    ' s0 t  O! X" e' I1 j8 g, s6 {4 i
  1732. : e1 w; E3 R( W1 Z; o
  1733. ; allow Distributed-COM calls& E  y3 {4 k/ ]# e6 V- s; L" G' j
  1734. ; http://php.net/com.allow-dcom
    & f! f& D' H9 _0 C" _2 y% o
  1735. ;com.allow_dcom = true$ ^  U) h( `( O4 G- @9 ?

  1736. + f' a& o7 _; t/ l9 B& f
  1737. ; autoregister constants of a components typlib on com_load()
    ; `- h( Q- n" C+ J0 h5 O  d
  1738. ; http://php.net/com.autoregister-typelib
      p/ q9 {, S, S+ C* b6 [
  1739. ;com.autoregister_typelib = true, V& g* T1 r" o

  1740. ; Q: g; a& g. @$ \) w! e' u+ U1 Y
  1741. ; register constants casesensitive+ j! ], x" H. y% z3 ^( h9 r$ L; v
  1742. ; http://php.net/com.autoregister-casesensitive
    5 q$ ^7 C/ T( _' I  w
  1743. ;com.autoregister_casesensitive = false
    . F% A5 h" ^/ A

  1744. . [/ @( {0 ?* |, o5 Z9 [
  1745. ; show warnings on duplicate constant registrations
    * N1 E8 N3 i( o% B6 B2 U
  1746. ; http://php.net/com.autoregister-verbose
    # j% p) L$ u& w- w! A1 e; E- B- Q
  1747. ;com.autoregister_verbose = true& Z# g9 A0 E/ {; B2 B5 F
  1748. $ e' f8 }( \6 w- m/ R9 t: W9 N" {
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    4 V" r* c  I/ c
  1750. ; Default: system ANSI code page' W. N" ^9 U7 s; c5 N+ B
  1751. ;com.code_page=+ ?3 W- y0 W& c8 X3 k

  1752. 0 F. U+ O' }/ S2 {) i$ {0 y
  1753. [mbstring]* M  m& ~7 J  P1 {( h. }
  1754. ; language for internal character representation.
    7 L3 {: ^5 s' s
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    - X; n$ E1 U* d5 B) V& G% U
  1756. ; http://php.net/mbstring.language. e7 {8 ]) j7 t) V! H" l: m- T
  1757. ;mbstring.language = Japanese0 H" \1 G. E  N. J

  1758. * @  Y; Q1 k0 R5 r3 d
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.( H7 _2 n  Q; v' e; @
  1760. ; internal/script encoding.
    & [. C9 q  d( L2 N* A0 \( W1 B  R
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    " |5 j* @" g% v. l3 B
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.* S  q6 l; ?+ X7 V# ^0 y
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding7 `$ \% d  T4 d: D& w
  1764. ;mbstring.internal_encoding =
    , z! O4 s; D  J  M" B5 a, \

  1765. - ^/ E7 _; R8 f6 ^! ^: `6 R: t
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    % [$ E5 ~* W" z3 r! J
  1767. ; http input encoding.+ _# N! H1 B/ h4 P; W- K8 s& t
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.6 x4 m  K  W3 q0 s- ?4 v; N
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    ! s* n! }8 A$ }7 H
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
      F. a3 g' e  _
  1771. ; http://php.net/mbstring.http-input
    # |) L4 P6 G$ K3 j4 f
  1772. ;mbstring.http_input =1 p3 D+ I; D. W1 \

  1773.   v6 r# k$ g' M! M' \# a( J
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.1 ]' `4 j9 f3 b
  1775. ; http output encoding.
    7 }& m" G! j0 I3 F0 ~
  1776. ; mb_output_handler must be registered as output buffer to function.3 J  h& r% O! `1 L+ j
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.6 h) X# `9 A" F) [& b# M6 }
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    $ X$ K6 g  z& |3 n- h& Z: g/ P* P
  1779. ; To use an output encoding conversion, mbstring's output handler must be set3 u3 z/ U6 P  ^* P! R5 j
  1780. ; otherwise output encoding conversion cannot be performed.8 |8 V9 U6 d+ u8 _' f! Z! Z' e
  1781. ; http://php.net/mbstring.http-output: i- V$ K* l2 Z: Z7 e5 F
  1782. ;mbstring.http_output =( L( l6 B6 @( V) V! o0 f) F' g
  1783. / r. h) S3 c( [8 h- k; E
  1784. ; enable automatic encoding translation according to
    ! p+ U/ R+ ~0 G4 @
  1785. ; mbstring.internal_encoding setting. Input chars are
    $ p9 W7 m9 T3 `  x
  1786. ; converted to internal encoding by setting this to On.
    ' i) H/ n& f9 E, p
  1787. ; Note: Do _not_ use automatic encoding translation for, I' ^& }  ]5 B5 J- j, n
  1788. ;       portable libs/applications.
    0 p6 y( \- i0 C0 r0 ^+ z4 l# G
  1789. ; http://php.net/mbstring.encoding-translation
    % G* H, k" m3 j# l+ m
  1790. ;mbstring.encoding_translation = Off
    ( n( [1 g2 _- J8 o3 c( V  j
  1791.   S0 o( f9 K! ~; b" F3 {3 r: D
  1792. ; automatic encoding detection order.
    $ E1 K) F9 {* \" M* z& \5 E' j
  1793. ; "auto" detect order is changed according to mbstring.language0 I& B6 X0 w  y4 {) S
  1794. ; http://php.net/mbstring.detect-order6 Y+ v, h) K4 @1 M1 r) s) m
  1795. ;mbstring.detect_order = auto5 ~  l' G# Q9 @
  1796. 4 e" p5 U& E5 j8 K( `1 q; G
  1797. ; substitute_character used when character cannot be converted% l% `2 P: B. }" W: @5 B3 C* j5 I
  1798. ; one from another
    $ V/ y$ H7 b6 q! G: m
  1799. ; http://php.net/mbstring.substitute-character& J( r4 L" f0 \; k2 {/ T
  1800. ;mbstring.substitute_character = none( c( v$ v2 I9 ^2 }

  1801. - j) p# u/ ?* z5 [8 E6 S0 A
  1802. ; overload(replace) single byte functions by mbstring functions.- S7 F. l. \: t6 W3 Y
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    ) q4 S& [2 I! A* m* f
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    6 J" j$ m2 U+ h9 P' c
  1805. ; For example, 7 for overload everything.
    ' N5 ^2 Q' K0 E$ A) y2 j
  1806. ; 0: No overload
    5 ]+ I2 P. ~8 F$ l1 e. |& K1 g$ d
  1807. ; 1: Overload mail() function
    & ]( K5 a3 p  j1 Z! t! a0 w
  1808. ; 2: Overload str*() functions
    7 ~9 X0 K) A) p* d: Z
  1809. ; 4: Overload ereg*() functions6 z' N. U% t! b+ k$ q: {$ {
  1810. ; http://php.net/mbstring.func-overload- j0 c0 O: {. H$ S& _0 p. t
  1811. ;mbstring.func_overload = 0
    3 K: p  ]! f# f1 X/ y2 O

  1812. 0 p: U/ _. ]0 m# S
  1813. ; enable strict encoding detection.
    : x2 }+ e, e# W  O
  1814. ; Default: Off$ R. T1 }* ^: W/ e5 T+ C* f
  1815. ;mbstring.strict_detection = On! R5 Y# n1 A7 S& m. R+ `+ h

  1816. * h3 x, v2 I' a/ b+ v4 {' i3 L2 v
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()$ ?$ j7 k) F+ R# E0 b4 {3 M
  1818. ; is activated.; v) Z' V7 _9 ^2 v& z. z
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)4 E0 V# o6 {1 r
  1820. ;mbstring.http_output_conv_mimetype=
    8 N& \- r( ?8 @7 l
  1821. 2 ~. M/ [% ]- b1 f& @' K
  1822. [gd]& A% T4 p0 l( `. u. b
  1823. ; Tell the jpeg decode to ignore warnings and try to create$ S- S4 g" E& ~) ?% h3 L1 e
  1824. ; a gd image. The warning will then be displayed as notices
    7 x. T# u- C7 |: n
  1825. ; disabled by default: H! ~/ y8 Y" `( z' }
  1826. ; http://php.net/gd.jpeg-ignore-warning0 ^1 T& U1 U4 R' e8 _6 N" S0 G
  1827. ;gd.jpeg_ignore_warning = 0" j) ^9 J. M2 o) A3 Y4 L" Y
  1828. 9 c' Z" J$ O. m* O4 [
  1829. [exif]- n8 L' X0 n( Q  E  f
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    6 y4 n: D: M. M- f$ I' ^
  1831. ; With mbstring support this will automatically be converted into the encoding
    5 i2 U7 w% a6 L! K7 @
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding5 Y7 e& S6 \# d' T1 x& b
  1833. ; is used. For the decode settings you can distinguish between motorola and, o5 V% h# ?( |) _; E2 @. ?
  1834. ; intel byte order. A decode setting cannot be empty.6 f0 P8 I, Q( l( A9 T
  1835. ; http://php.net/exif.encode-unicode0 \7 n, n/ R1 Q8 j
  1836. ;exif.encode_unicode = ISO-8859-15* z: ^" \% s9 M/ ]
  1837. 6 Q6 [: c8 W: ]; Y8 H6 a
  1838. ; http://php.net/exif.decode-unicode-motorola" e/ T" R1 W8 b1 G
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    + H6 i) y4 k: W

  1840. ( g. Z, r  W* i- C+ S
  1841. ; http://php.net/exif.decode-unicode-intel! e& y- R+ a2 J: j9 z
  1842. ;exif.decode_unicode_intel    = UCS-2LE5 s/ \" V; D6 I9 S, Y6 z- |

  1843. : b: D8 t. z/ X  s
  1844. ; http://php.net/exif.encode-jis/ \$ q2 ^( n1 I! R- R4 }  N/ c
  1845. ;exif.encode_jis =
    1 o" o- B8 @" X2 q9 T/ u/ a' h. a: d

  1846. 0 T" L' I! |0 J4 |% K
  1847. ; http://php.net/exif.decode-jis-motorola
    & u2 L8 n3 @. V  C- m
  1848. ;exif.decode_jis_motorola = JIS
    * H$ m$ z4 R4 W# P8 k

  1849. & f1 J/ J: y( \( N& ]
  1850. ; http://php.net/exif.decode-jis-intel
    0 n8 ?. P- w: X' L# a9 Y' Y, h- N
  1851. ;exif.decode_jis_intel    = JIS
    $ g/ a2 \) }/ l2 J; u- f
  1852. ' w/ B" E. \8 m  |$ j! w$ ]) [0 r
  1853. [Tidy]% H; V- F- [' l# T% W. H/ ~4 s* m' F
  1854. ; The path to a default tidy configuration file to use when using tidy6 X# Z; E" e0 \: i1 b7 |
  1855. ; http://php.net/tidy.default-config& [8 J3 O* `' @6 N8 a) {0 Q
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    # ^* S* U6 V6 @' l0 b% M
  1857. 7 u' g, N4 I; h- r) q$ C0 M' m% O
  1858. ; Should tidy clean and repair output automatically?
    - O0 i& U+ s+ a6 H, I( V
  1859. ; WARNING: Do not use this option if you are generating non-html content
    $ n8 N1 n" }' L& R& G
  1860. ; such as dynamic images7 P: J$ m9 x4 }% X" Y
  1861. ; http://php.net/tidy.clean-output
    1 {4 V3 `3 }8 Z: r
  1862. tidy.clean_output = Off- B  V6 |* }) ]4 K2 d7 p0 w( G

  1863. # `& c3 D$ d9 i- I' A& ^
  1864. [soap]) J3 Q0 ~+ L2 N* U* C& ]: r$ T
  1865. ; Enables or disables WSDL caching feature.: i8 j! S5 N1 q0 [( r
  1866. ; http://php.net/soap.wsdl-cache-enabled
    # U& |  z: l( _( A7 ^* ^
  1867. soap.wsdl_cache_enabled=1* Y) F3 ^/ Z' {+ D8 K

  1868. 1 o& e' b+ ^( L7 O
  1869. ; Sets the directory name where SOAP extension will put cache files.+ I; E; W0 u6 Y# L* r8 r  B# R1 C
  1870. ; http://php.net/soap.wsdl-cache-dir
    # j6 I9 G, ]/ o* h9 L
  1871. soap.wsdl_cache_dir="/tmp"
    & Q; r% T  F- b  ?$ L  Z! I  L
  1872. 3 P( d) U5 M& T' Z% Y9 T
  1873. ; (time to live) Sets the number of second while cached file will be used
    % P& `: s9 ~3 R: m+ r- }
  1874. ; instead of original one.
    $ o7 f/ u: \& o, {. c- x
  1875. ; http://php.net/soap.wsdl-cache-ttl2 ?, K, V5 L# o) S' y: d" y1 H+ C! f
  1876. soap.wsdl_cache_ttl=864003 m% y" s1 u0 L
  1877. & V) B5 B* k1 ?9 {( B* I
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)6 j4 g& t1 f, B# @# W$ I9 H
  1879. soap.wsdl_cache_limit = 5- k6 ]% n/ ~( _: I6 K2 ~$ s
  1880. 7 ?$ K& v# P! g9 D2 q1 K/ ?
  1881. [sysvshm]1 e1 T( ~. Z. {- n0 Q( E
  1882. ; A default size of the shared memory segment
    # a6 e, _8 h: Q! a; }3 |9 b- n7 Q3 C
  1883. ;sysvshm.init_mem = 10000* [2 h" K; q7 R5 H0 O
  1884. ) U7 Y! f) N" v' u9 |
  1885. [ldap]! V9 n* }0 l5 V+ d/ z$ ~+ e0 j
  1886. ; Sets the maximum number of open links or -1 for unlimited.9 w; E5 K/ A5 \( o: v2 j. }. R
  1887. ldap.max_links = -1
    ! a1 R$ Q# l' L! d; v- M) Z$ S
  1888. 2 E' Q& u4 @  e! T# `
  1889. [mcrypt]
    3 {" j' x: a, F( C7 D! `. b$ J/ S
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    % J9 D4 @* {3 ]" q8 w' f
  1891. 0 s0 y: W+ U9 d
  1892. ; Directory where to load mcrypt algorithms2 E+ U( }" l+ _  H2 D" B
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    % x! F; R* f! O1 }2 i6 e; g) a
  1894. ;mcrypt.algorithms_dir=
    4 z; H0 p; M' }5 |; Q7 e6 k
  1895. . @, }# x" ^) O3 n" X/ x
  1896. ; Directory where to load mcrypt modes+ V$ Q5 I$ z2 H: n, s
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt): ]4 v6 `4 K, }
  1898. ;mcrypt.modes_dir=" n& |& g; x# G; d% p3 _

  1899. # x' a- C# F' ~* f( n
  1900. [dba]
      Y4 f8 _) Z1 j0 ~: T' M
  1901. ;dba.default_handler=
    0 @; S8 t2 z4 H4 d5 I9 \

  1902. 9 n9 ~2 u' F+ t$ v# o
  1903. [opcache]
    1 e' U& @5 l2 s! ~
  1904. ; Determines if Zend OPCache is enabled' ?9 f0 I( y& C  P3 D
  1905. ;opcache.enable=07 e- \# y9 N% a9 j5 U/ T
  1906. ( u& N  g4 ^4 B8 C; L
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    ; G0 e2 ?, J2 ?& f! K& z
  1908. ;opcache.enable_cli=0( {0 ~" h& E: W' P; {, a

  1909. " P; s* Q/ x; Q- ]9 S# H
  1910. ; The OPcache shared memory storage size.
    6 p; p. A! G% F/ T* W
  1911. ;opcache.memory_consumption=64
    2 m0 R  h% W0 c8 n5 q2 Q/ f

  1912. ; M# N  n) ]8 `( p8 G% j1 W
  1913. ; The amount of memory for interned strings in Mbytes.+ [. O% r$ i/ X$ r+ u* Y
  1914. ;opcache.interned_strings_buffer=4* m4 i& {- |' |7 f( J2 N

  1915. , [6 F4 A) G* v! ^2 z. R
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.7 R; K& X4 @, k* Z3 o8 _) j- c5 I) a$ G
  1917. ; Only numbers between 200 and 100000 are allowed.
    5 ?$ ^8 J4 m  ]+ N9 X" C+ u
  1918. ;opcache.max_accelerated_files=2000  ?1 k7 X8 ?" F% ]2 P/ p

  1919. 4 k3 O% @& U7 s" n$ R
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.0 @% o. m1 \1 c8 L6 h; P
  1921. ;opcache.max_wasted_percentage=50 S) ]0 N+ k$ X( l* D: }
  1922. % ?( Z* ~$ I! S: x6 W' I
  1923. ; When this directive is enabled, the OPcache appends the current working: B( H4 a$ {2 E" d8 h
  1924. ; directory to the script key, thus eliminating possible collisions between4 c# V, T/ ^  C3 S
  1925. ; files with the same name (basename). Disabling the directive improves
    / m) y) ?5 C' x5 o6 y3 A
  1926. ; performance, but may break existing applications.* L/ i, N, i' O/ `5 p8 z/ r! m
  1927. ;opcache.use_cwd=1
    " U5 Q3 R/ G! Q1 e- {8 Y, q- R

  1928. # W& L* t5 q  S6 _4 }
  1929. ; When disabled, you must reset the OPcache manually or restart the
    " f8 k) T2 n0 [9 T8 x
  1930. ; webserver for changes to the filesystem to take effect.3 C/ S, W4 n# ?& x8 w
  1931. ;opcache.validate_timestamps=10 f8 K: Q) E, x# s8 I: ]- C: I. B
  1932. 6 _4 B/ n8 c) I* ?$ P
  1933. ; How often (in seconds) to check file timestamps for changes to the shared9 J  c8 u; o* ~) Q
  1934. ; memory storage allocation. ("1" means validate once per second, but only" v4 h" Q8 p- S- Y- n# x
  1935. ; once per request. "0" means always validate)0 T& u6 ^! j( G5 y- l
  1936. ;opcache.revalidate_freq=2
    % [& F  _' b8 \4 c; ?
  1937. 9 i6 R- R: ?7 H0 i$ u& D. B
  1938. ; Enables or disables file search in include_path optimization
    ( {" m- S3 \5 T& g+ M# [$ n
  1939. ;opcache.revalidate_path=0; N9 @8 j# |5 a: g) v" T
  1940. ! E: `, z) O# F
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the. [7 {7 {8 N1 O; f
  1942. ; size of the optimized code.. z, Q) I1 |+ v: ^: @
  1943. ;opcache.save_comments=1  |+ ~: ?( m/ E9 }( p  J

  1944. " e) ^. e, V. d" M3 r2 M3 x* W9 v- V
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"3 S# j# {2 K( ]! ]; B$ |
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    3 S! @! j( r! y) E
  1947. ; that don't need them anyway.) |- g! v# Y/ `+ Z$ ?, o) S7 w4 Q
  1948. ;opcache.load_comments=1
    " c1 K, _# D$ c
  1949. ' T. h# z6 d0 l! }
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    ! q0 p) W4 k$ u8 C0 h9 o) p
  1951. ;opcache.fast_shutdown=0
    , E. e( ~9 ]  t" ~/ E

  1952. 3 `3 c' P8 N. D$ u: {
  1953. ; Allow file existence override (file_exists, etc.) performance feature.! V* c% W3 @" j
  1954. ;opcache.enable_file_override=0
    & R8 m' F6 U& `) r4 B( a

  1955. / ^/ D  X" d/ [2 k( j3 j
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache/ B' K0 k8 K- ]! V, ^* I
  1957. ; passes  z$ j$ g' X4 F5 h
  1958. ;opcache.optimization_level=0xffffffff% Q. `' V& M0 ~/ M1 T

  1959.   f  q: Z- ^  c8 V$ z
  1960. ;opcache.inherited_hack=1
    - E' {, ]  P. L" Y9 }% g
  1961. ;opcache.dups_fix=0
    * H5 g. I, M  _+ c3 z$ M% u
  1962. ) J# G) i3 w+ s
  1963. ; The location of the OPcache blacklist file (wildcards allowed).$ z/ }5 o7 y% I
  1964. ; Each OPcache blacklist file is a text file that holds the names of files# z8 m' o% M6 G- g5 N; W, d! x1 G
  1965. ; that should not be accelerated. The file format is to add each filename
    $ G7 a; S) O6 ~% R0 o" S* {* n
  1966. ; to a new line. The filename may be a full path or just a file prefix* p" L6 W! ]* V% o# ?' t; [3 m
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www/ t% G5 X3 u# C$ n! _
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    : E1 T; p2 q/ _1 y& U3 l* t
  1969. ;opcache.blacklist_filename=  E7 r; K" I  E  J: Y1 V
  1970. - b) M1 @! g! L6 c' H7 @* F, [
  1971. ; Allows exclusion of large files from being cached. By default all files5 g7 q& ^& T  m1 t
  1972. ; are cached.
    1 N  w& s( n  h2 ^. g$ J' E: O
  1973. ;opcache.max_file_size=0
    7 @3 d) p2 d. A: y

  1974. + M1 v7 _7 ^3 z
  1975. ; Check the cache checksum each N requests.% C7 r5 _. {: I/ Z7 ?; X) z# ~4 M
  1976. ; The default value of "0" means that the checks are disabled.! W0 M  H) S0 b1 K& R" V) u' ?
  1977. ;opcache.consistency_checks=0- D- f0 J/ z. G, S- _) g& I: t
  1978.   B0 W; s6 |; ]$ P( g
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache+ {* I2 w+ l# z/ I
  1980. ; is not being accessed.6 E' g( m1 N$ R4 a
  1981. ;opcache.force_restart_timeout=180: L1 K5 `. d% o7 l6 @7 e8 H

  1982. 6 M7 B$ t: k- Y
  1983. ; OPcache error_log file name. Empty string assumes "stderr"., y4 \4 _+ q, I0 ~
  1984. ;opcache.error_log=. C+ T, e. N) i: f

  1985. 5 ]! V# A$ B3 u
  1986. ; All OPcache errors go to the Web server log.
    # s9 a; x* a5 ?+ E+ |' O
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    1 E. z7 S, D# v! s9 U  M0 j
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    3 b3 N, [7 K# Q9 d
  1989. ; debug messages (level 4).
    + S1 ^/ G$ ?  l1 L% r
  1990. ;opcache.log_verbosity_level=16 y2 a& z2 A# ~( q1 n
  1991. ) R2 _( K' A7 [! g% B1 k
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    ' i+ S0 k" l7 o1 j4 J8 L
  1993. ;opcache.preferred_memory_model=
    $ c8 q0 t8 P8 R$ y6 b  B! W  m$ A
  1994. 7 C, |: m1 q/ a- I. S% L! T  K
  1995. ; Protect the shared memory from unexpected writing during script execution.
    5 R0 C, B$ X, O8 ~2 q
  1996. ; Useful for internal debugging only.
    ' R- n" Z, E  l! w$ p/ e8 O
  1997. ;opcache.protect_memory=0! |1 q& \1 w$ g( \1 V" X
  1998. ' F# C4 f/ |: b% `7 e1 Z. ^
  1999. ; Validate cached file permissions.& Y4 M, U$ d( R9 ?6 Y' I6 d
  2000. ; opcache.validate_permission=0
    : M7 s3 c7 V4 A

  2001. " t& w# w5 c- h9 f  C/ S4 [; @
  2002. ; Prevent name collisions in chroot'ed environment.: S& u  P4 s$ Y4 m5 {. e( c
  2003. ; opcache.validate_root=0
    ! ]  V! R* P" r) e

  2004. / ?) m# D. J% s" W& T
  2005. [curl]  {) I  G4 i' W. p
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an9 e+ N3 q' w) B+ K- Q
  2007. ; absolute path.
    & a. [  [( u: c: D
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt  f! j4 k. E& w8 Z0 h9 t

  2009. % w, `: p0 W  A* ?: @- E
  2010. [openssl]% V0 I; R* S3 T: p
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    # r8 s9 k' {3 s8 C" F  y
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    % a6 w9 ~5 b. [7 Q- g
  2013. ; not specify a value for this directive as PHP will attempt to use the
    - l) p# s% }8 M0 q9 M9 {
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    5 {4 R; f; P  Y. L
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    2 Q7 V  g/ l+ V* {1 n
  2016. ; option.
    ' ]* k0 ]% `, ^* H0 u, \
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    - S3 J+ f  i* v2 ^
  2018. 6 |, }# Z, i) S& x6 c; e. N
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    / h& n, x3 y  T2 C! H* X
  2020. ; directory pointed to by openssl.capath is searched for a suitable) r: h9 D- U. a& ^. p
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    ; p$ a9 N0 a2 D4 M9 B
  2022. ; Most users should not specify a value for this directive as PHP will6 z  f* ^" D6 |- p  }3 I' B/ r( n
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,3 N$ z1 l4 l& N( ]) s: h; l
  2024. ; this value may still be overridden on a per-stream basis via the "capath"" n$ x  \8 W; K
  2025. ; SSL stream context option.- W1 p% o1 ?2 ~7 m) D1 z
  2026. ;openssl.capath=7 Y! L3 j4 k$ }
  2027. 1 t; ^; B! k- z+ P( u% a) G+ Y  R) v
  2028. ; Local Variables:
    / i+ o4 o* q" a+ w$ m
  2029. ; tab-width: 4. q! H1 o" O2 @. W& J. x
  2030. ; End:
    : r4 D3 i/ W6 _
  2031. + V: Z& i$ z7 Z8 M9 U
  2032. ;eaccelerator
    9 z, B, M, L0 j* O* ~3 F& u7 i
  2033. 7 g9 g2 V) D5 X6 D
  2034. ;ionCube! i$ h: l, ^6 N2 _

  2035. # |" l9 ^0 q1 Y' Q+ n3 D# D& Y
  2036. ;opcache
    2 U. _: J, p3 J
  2037. ; R( b  L9 b: b$ Z
  2038. [Zend ZendGuard Loader]! K9 i) X0 \% v& i1 r' T) h* `
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    4 r$ I; p1 L( D% P8 O# g$ g
  2040. zend_loader.enable=1; s- |$ E; E: y' u" t: S2 a' T
  2041. zend_loader.disable_licensing=0
    : J9 h2 }, p- b+ i# O
  2042. zend_loader.obfuscation_level_support=39 e9 |" {- ^5 Y- J4 U4 X
  2043. zend_loader.license_path=
    9 `6 d! U$ M& N- V: ~$ {

  2044. # @5 S  C4 [: m* L" m0 p0 f
  2045. ;xcache0 _" ?+ a0 o( |% n# I( }
  2046. 0 @+ i( F: C. f/ y) X8 A1 r
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
' U. ~6 ?0 f: a# B
& I2 _8 p# X$ @0 [! ~# p  ~6 o
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
" F- o8 s/ N! r: B1 J3 _
7 o" w. A& w8 P& g% vDiscuz!程序版本选择:9 @+ ]2 {/ m: P& Q4 u8 ?
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
* S  l+ |, v8 [$ A+ U- I不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:, J8 y7 u7 ]8 d  o" i' f
Discuz!F1.0 是应用中心民审、作者爱好者合作基于 Discuz!官方Discuz!X3.2、Discuz!X3.3、Discuz! X3.4版本之上推出的基于PHP 7.1、mysql 5.8最新环境适配、精简的Discuz!论坛程序,目前对Discuz!F1.0 的支持应用DZ插件、DZ模板都相对较少,很多DZ插件、DZ模板对Discuz!F1.0 的支持性也较少,根据目前站长普遍的反馈而言,使用Discuz!F1.0 建站的站长遇到的问题往往比较繁琐,且目前民审、开发作者、爱好者出品的Discuz!F1.0 版本已经处于停摆之中,站长最终都选择了Discuz!F1.0 降级为 Discuz!X3.2、Discuz!X3.3、Discuz! X3.4。
9 d3 o9 v: F; {6 l( |: Z
: y+ t9 `/ j* t0 S# VDiscuz!插件模板版本选择:9 ^8 g0 {2 U+ u& V3 @
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,1 a2 ]! Z$ L$ U' u
针对这个问题做个统一的普及:! J1 e4 m( D2 |3 C8 Z
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。5 q" z5 p! A0 f2 M1 m6 m

, V, P# |) o: L+ L0 A所以
1 L: [! l5 m: _3 J0 y4 e9 v适合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的二级域名。
. Y3 [( c9 }( s" ]: f5 ~打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。" p5 b5 u& y; o5 D  d# a- J( P
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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