分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0( ^) `6 Z1 M4 b/ F- _3 x
4 W5 M9 I6 P% |
  1. [PHP]1 p6 O1 P* o; t# B5 I# Z: s! E6 Q
  2. $ m# h0 a. h9 u& b: T
  3. ;;;;;;;;;;;;;;;;;;;# o' j/ y: D9 a( l# _/ Q& i  I  z
  4. ; About php.ini   ;: ^4 u7 ]$ @4 f9 l
  5. ;;;;;;;;;;;;;;;;;;;
    . G  S7 ^3 b( U5 `
  6. ; PHP's initialization file, generally called php.ini, is responsible for" S" l$ ~, {" \! ?( Q
  7. ; configuring many of the aspects of PHP's behavior.& B( j- h1 q2 B* G' P2 z6 B: v9 H
  8. % D$ e$ @5 K' Q
  9. ; PHP attempts to find and load this configuration from a number of locations.
    5 B# a& m7 B1 f+ @& P2 `
  10. ; The following is a summary of its search order:# {4 I4 e  z  n7 T3 ]9 f
  11. ; 1. SAPI module specific location.
    * \- j9 {) S3 w
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)+ u9 Z+ b$ b/ u$ q$ a
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)- e/ T) L- A% x! B! a! x
  14. ; 4. Current working directory (except CLI)
    . W% I. d# }0 K: S0 ?) v3 z
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    & ~0 U/ a8 `/ R3 Q6 I9 M: X
  16. ; (otherwise in Windows)
    . ?% g5 R3 D4 T2 A9 `
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    & F2 c5 h; c; D* X! c
  18. ; Windows directory (C:\windows or C:\winnt)
    0 ^7 A% r0 u$ {0 v# D" Y, @+ H( u
  19. ; See the PHP docs for more specific information./ H; _+ i) c0 L$ X: E5 W* U
  20. ; http://php.net/configuration.file6 s6 ]/ H8 X  N. c- {: V5 y/ o
  21. 3 S5 q" b; s. d+ d* q' |
  22. ; The syntax of the file is extremely simple.  Whitespace and lines: Y1 v6 E; m( A% P
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).4 S- b, W( D+ Z3 t: D9 E# o+ Q
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though8 c0 r( q( q7 j3 S5 D+ r
  25. ; they might mean something in the future.
    % R" \) c# j: I; \, C

  26. ; Z7 q9 Q# g- ^' t/ o% T- o
  27. ; Directives following the section heading [PATH=/www/mysite] only
    0 b8 N1 U# c# x8 _- w$ C) d. t
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    / r' v/ n% y. c5 |; ]
  29. ; following the section heading [HOST=www.example.com] only apply to
    ) s4 N9 C- S' ?7 X8 c9 O
  30. ; PHP files served from www.example.com.  Directives set in these
    % a" ?! O7 k* m% h( Q3 C
  31. ; special sections cannot be overridden by user-defined INI files or+ t1 v* k2 U$ J) h# V4 d
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under# }# G, d1 m% e; e1 `3 m
  33. ; CGI/FastCGI.3 o( ]: Z) S2 L2 N8 g+ C
  34. ; http://php.net/ini.sections: ~' |; j( ~" N+ C3 T& H) t

  35. 5 y( `: S) S/ P7 M3 d
  36. ; Directives are specified using the following syntax:: V7 n1 W6 X9 }5 O$ p, f; w1 Y
  37. ; directive = value' @  R$ w* {5 K. I# A9 Q! d. |
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.! L! F$ j6 s" j: C; g0 L+ l9 y
  39. ; Directives are variables used to configure PHP or PHP extensions.+ H. H4 c, e/ I# D
  40. ; There is no name validation.  If PHP can't find an expected
    , C* I2 i" r8 c5 ]' Z* p
  41. ; directive because it is not set or is mistyped, a default value will be used.
    * d' O  G0 @- A& `

  42. , @0 ~& _$ B  B8 {
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    6 Z! [9 b! }, L: g8 I& ?, ^
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    4 P3 b0 `, C, Q& v( F# q
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a1 D& g  s) g' H2 {! S8 t' ~
  46. ; previously set variable or directive (e.g. ${foo})% D7 ~' c2 Z' t

  47. $ @* U/ U# x# F% P4 N
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:' }5 C1 U. r/ [
  49. ; |  bitwise OR
    1 [* h3 R: S1 Y7 x/ s* `( F
  50. ; ^  bitwise XOR* I" y$ D3 r1 b, |0 J* ]0 q
  51. ; &  bitwise AND
    ! Y- c# g8 g8 }% \" d
  52. ; ~  bitwise NOT
    7 B) T0 m) E! r0 D( x
  53. ; !  boolean NOT
    ( L7 \! ?, Q! g" Y6 Z

  54. * ^8 E2 `5 b6 H. N" F+ d6 P
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.' N9 a; M$ C0 b) b( v, c
  56. ; They can be turned off using the values 0, Off, False or No.
    ! @9 y# e; Y) F! a! z7 ^
  57. " x1 \, y* U1 R8 j1 ]' y
  58. ; An empty string can be denoted by simply not writing anything after the equal2 b" r/ w6 L. @
  59. ; sign, or by using the None keyword:
    + v! H+ l  y! D
  60.   D0 l8 y5 B& Z3 O8 V
  61. ;  foo =         ; sets foo to an empty string( E$ U) o* W. ]) n
  62. ;  foo = None    ; sets foo to an empty string
    7 H0 ?) W9 ?4 A
  63. ;  foo = "None"  ; sets foo to the string 'None'+ A- [8 _" o$ `9 i

  64. ) S% F+ M! C. t5 b6 D- R1 V4 a& a  ]
  65. ; If you use constants in your value, and these constants belong to a
    : z- A4 v" K3 {& v
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    ! N# R! n0 h# n$ h' ~1 m' P/ c- h  B
  67. ; you may only use these constants *after* the line that loads the extension.
    : o1 D/ w  J8 X! r* N. Q- a
  68. * |$ D  s/ H+ }/ O/ o+ ]
  69. ;;;;;;;;;;;;;;;;;;;6 C, b1 N5 B. x& q% a8 j8 J* W
  70. ; About this file ;
    4 ?' O5 G1 d3 f; d9 ~# r0 B7 E  G& W  {
  71. ;;;;;;;;;;;;;;;;;;;. n% e. Q' b. f7 S) C
  72. ; PHP comes packaged with two INI files. One that is recommended to be used- |, [/ i# w" `* ~: k7 q' c
  73. ; in production environments and one that is recommended to be used in; L  X4 L+ g  j
  74. ; development environments.
    # n) j! [: i2 T9 X5 L* g) E( y

  75.   o( M0 v' I# O* x; x) ?) s+ t
  76. ; php.ini-production contains settings which hold security, performance and( Z1 L3 {: A! J6 y
  77. ; best practices at its core. But please be aware, these settings may break
    : h7 b; I6 b' W2 K: _, s7 |
  78. ; compatibility with older or less security conscience applications. We
    - U9 c6 K: y- e% B; k6 p0 Z: J9 ~
  79. ; recommending using the production ini in production and testing environments.# _4 d( w2 y" {5 a2 `* m
  80. 5 o& m( N: e4 Q1 |" O" P4 u
  81. ; php.ini-development is very similar to its production variant, except it is
    7 k* o: V4 g' a& }0 K; @) q
  82. ; much more verbose when it comes to errors. We recommend using the
    ' `6 Y  f8 y; d0 D# ^% I& `. J
  83. ; development version only in development environments, as errors shown to: [( q9 g4 ~* e  a0 v0 _& @
  84. ; application users can inadvertently leak otherwise secure information.) X0 @9 n5 J* E% ?7 V4 s
  85. 8 B0 U2 K/ b3 _- \3 d3 y$ e. N" j  w
  86. ; This is php.ini-production INI file.* @! a- Z2 }5 \  b
  87. , M* G$ N/ ?3 S" Q& o
  88. ;;;;;;;;;;;;;;;;;;;! |+ a( R. W& E$ u
  89. ; Quick Reference ;3 ]5 o; ^' e( @# n0 }
  90. ;;;;;;;;;;;;;;;;;;;+ |* T+ j) \5 g1 C) u! H
  91. ; The following are all the settings which are different in either the production( p3 R& j/ ?+ ?- I5 R/ ~) q1 O
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    ; g6 \- \; r- c2 K
  93. ; Please see the actual settings later in the document for more details as to why
    3 Y  z9 F/ @) m3 b5 y
  94. ; we recommend these changes in PHP's behavior.
    # {' c# y3 R: `

  95. , E) b4 P4 X* _
  96. ; display_errors5 t6 e; V3 q  D: P# s7 T3 z
  97. ;   Default Value: On
    % h2 c% b! L6 X$ A/ H" X& Q) \
  98. ;   Development Value: On
    5 y0 V* f, B; \2 F4 `
  99. ;   Production Value: Off. b: C3 D# `7 S4 n$ {

  100.   u0 z( b5 N8 n4 j& `8 d
  101. ; display_startup_errors# ?/ Y3 q$ v" H' h& K) `
  102. ;   Default Value: Off
    7 O( Z* h$ |8 Q$ R4 q# t7 z
  103. ;   Development Value: On. m, |0 `) @& |! @4 _" \& n
  104. ;   Production Value: Off
    . b0 q9 R. n: m! {. R/ i% x6 l

  105. 2 q! M% D' _1 ]: m1 w' \0 [# a+ t
  106. ; error_reporting; I6 Z4 x2 y# H3 S" {* `% @
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ( B3 Q  d$ |# Q, \* H% L
  108. ;   Development Value: E_ALL
    4 f  V6 ^9 V* U
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    9 m* P( d  c7 ?# \2 q- I+ j5 Z
  110. ' K  Y+ Z+ a* b( J. g
  111. ; html_errors4 h% C$ H" I+ a# K7 \6 e/ j# `
  112. ;   Default Value: On
      r4 c+ o- v/ i. t+ g: m
  113. ;   Development Value: On
    , ]% C  h2 r$ r! E1 u* y2 I
  114. ;   Production value: On
    6 d( Z' L# y& p- q' ^
  115. ! V. f+ R/ M, M1 G/ v
  116. ; log_errors
    % d( A$ Q9 G' o5 c) Y6 D
  117. ;   Default Value: Off9 T  B8 T8 b( c/ _
  118. ;   Development Value: On
    & n6 N6 G/ n7 j, |
  119. ;   Production Value: On  \: q! @" I6 Q# a' n" ^! d; J

  120. " ]8 [' [1 D# s9 p& K5 M$ p$ J. e% s
  121. ; max_input_time
    ' j* @/ T2 T) u( a  R5 H! ^
  122. ;   Default Value: -1 (Unlimited)
    & x0 {$ W, ~  a
  123. ;   Development Value: 60 (60 seconds)5 `. Y) `( {0 U4 D+ L, v
  124. ;   Production Value: 60 (60 seconds)* p" q5 c. \2 j0 X% m

  125. & q) {# F, _9 [7 z( o
  126. ; output_buffering) h5 j7 t( Z$ ~7 r" G5 z
  127. ;   Default Value: Off
    4 v6 |% a! v% B* x# @
  128. ;   Development Value: 4096
    4 K. @- {8 T: U4 f: p1 Q; M. I0 l
  129. ;   Production Value: 4096
    * I# A# ^0 D( h8 {
  130. . A# G4 O3 t) e2 g3 C
  131. ; register_argc_argv
    1 B) t4 ]$ s3 v! t, m2 p4 K0 y, a' |
  132. ;   Default Value: On
    ; i0 t' y9 q: i% d  B; W
  133. ;   Development Value: Off
    % c  B: a" u! z$ ~# G" O
  134. ;   Production Value: Off
    - T! r9 e7 R; _$ z) p4 N  L
  135. - {. X/ J" l. W
  136. ; request_order
    ; @& D: z' y) s9 {
  137. ;   Default Value: None1 y; A( \1 z9 X( X1 w5 Z& \
  138. ;   Development Value: "GP"
    ! {8 v9 \; @: w- q/ {
  139. ;   Production Value: "GP"
    ; I8 M' {- b5 @; Z
  140. # g/ N# `% O9 _9 h; M8 C* r) g
  141. ; session.gc_divisor
    ( K- p8 J/ b+ J" o8 f: P/ m
  142. ;   Default Value: 100- H: ]/ Y5 ]+ t8 T3 h! i7 z8 v
  143. ;   Development Value: 1000& i+ f' `+ C, ^! `5 D
  144. ;   Production Value: 10009 q: C4 G5 e* z0 B5 z

  145. ' C# k- ?; }5 }/ F
  146. ; session.hash_bits_per_character8 d" F, z! t9 ^6 O1 ^) `
  147. ;   Default Value: 4% C4 N, f% c% V8 h: [( h
  148. ;   Development Value: 5! O# D3 `  Y1 y( S3 G& w
  149. ;   Production Value: 5
    2 G' C) W( W! y/ G0 u* g3 y- ]

  150. " \7 u% n7 ?1 u; k6 I. n0 s7 j
  151. ; short_open_tag' V: x! r4 f1 N% ~/ W5 h* i
  152. ;   Default Value: On( k9 C* v! y6 {7 H. {! ], R8 N
  153. ;   Development Value: Off
    7 V' w$ ~- D, W3 h( Y3 n5 j
  154. ;   Production Value: Off
    8 v( b7 G. e. L$ C/ R7 `
  155. 3 {# ^) z6 Y% N
  156. ; track_errors
    ! I6 h) V' H8 F9 N8 Z" c. ^; S
  157. ;   Default Value: Off) v' s. ^0 z+ E, b% M& j+ }
  158. ;   Development Value: On
    ! G% W6 y9 I7 E* a# D& d1 n
  159. ;   Production Value: Off
    4 l! Q8 o2 i, q/ f

  160. 2 V. _( f& e8 _4 @! ]
  161. ; url_rewriter.tags  w1 }% }! @2 H1 L( f4 D; `
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    : |' k* |( |7 [7 u. w
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"7 s# O0 x: \" z3 ^9 V) a' G# A" t, g
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    & e# x% E' F' W( N3 F8 D

  165. 1 J2 N0 e3 `1 `7 V
  166. ; variables_order
    : w! l" k4 L( u# Q" L8 v
  167. ;   Default Value: "EGPCS"
    3 U# R) S9 J3 @& ?# h, s/ l' l
  168. ;   Development Value: "GPCS"' {8 z& v+ V( t$ \+ o
  169. ;   Production Value: "GPCS"
    , ^; u5 t5 s7 C- m

  170. 5 |) i: ]1 t+ U- P. F6 q& N2 p1 I
  171. ;;;;;;;;;;;;;;;;;;;;
    1 O5 v' q& g+ m1 C8 `( V4 y
  172. ; php.ini Options  ;
    ' ^) X/ `9 t# S/ m7 C
  173. ;;;;;;;;;;;;;;;;;;;;
    : w& x: @. R8 v' l
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    , A6 s/ n4 l+ i$ W( l. e
  175. ;user_ini.filename = ".user.ini". f* }5 A0 q2 r' H
  176. 2 z$ D( V4 y. P
  177. ; To disable this feature set this option to empty value5 H/ Y( b& }" ]) H- P' @5 w
  178. ;user_ini.filename =# U! ?# I9 _% @% {: |5 q0 Z
  179. 4 s- ?; P1 @: A' n
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)+ }8 s, ?, `7 j9 w& p  v
  181. ;user_ini.cache_ttl = 300$ M  |; J0 e% @' O% W5 Z

  182. , i7 c* G6 G: D' a8 d0 I% H! Q
  183. ;;;;;;;;;;;;;;;;;;;;
    ; ?1 P5 S  h( t8 z( e- d
  184. ; Language Options ;6 k, E# S8 v" _, w/ v
  185. ;;;;;;;;;;;;;;;;;;;;
    ! U) G" L: }0 b8 C  d: q

  186. 7 R2 @: y: |* _7 ]
  187. ; Enable the PHP scripting language engine under Apache.
    : ?# y. R  g  {3 D, K% B! Z
  188. ; http://php.net/engine
    - _+ P4 X) Z8 v  b& L9 l
  189. engine = On7 G( m+ n' Q2 [# t  Y# ?  h

  190. ' l2 t$ o7 O$ L% {. s5 X; E
  191. ; This directive determines whether or not PHP will recognize code between
    3 h2 W. U& b6 t: J( V" j
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    5 w9 b4 ]. r" j5 |& H- @3 X
  193. ; generally recommended that <?php and ?> should be used and that this feature
    & |5 R( V. E. b  F/ [% K/ Q
  194. ; should be disabled, as enabling it may result in issues when generating XML$ h- c, |: _# [
  195. ; documents, however this remains supported for backward compatibility reasons.  {& i/ m8 T8 y
  196. ; Note that this directive does not control the <?= shorthand tag, which can be0 [& `; {5 M3 l4 @  D& _
  197. ; used regardless of this directive.
    : l2 B# u2 c  _& j9 L, E
  198. ; Default Value: On
    $ S" X/ S" R( A  }$ W
  199. ; Development Value: Off
    # `+ C  z0 \9 q
  200. ; Production Value: Off% E6 ]# I' Y& v& Y. J5 p1 y
  201. ; http://php.net/short-open-tag+ K( e2 J3 O% w2 \: m% F' e" _
  202. short_open_tag = On
    : _2 \! N# o) y1 m  _' b
  203. / T- O! X5 e3 d3 ^5 G
  204. ; The number of significant digits displayed in floating point numbers.; U9 X: s, a: `
  205. ; http://php.net/precision' k, k. C, o) K
  206. precision = 14( p- X$ \% k, O& D( s4 f- N

  207. * H' n4 k" r2 o
  208. ; Output buffering is a mechanism for controlling how much output data
    ) [* L( ]/ h2 V4 J( p
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    - o3 H3 O8 k8 }
  210. ; data to the client. If your application's output exceeds this setting, PHP" o0 P; a) v2 v7 S  w& Z
  211. ; will send that data in chunks of roughly the size you specify.$ Y, {( C' D" Z( J6 |( s
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    . Y$ l) V/ M  [* [/ I/ ]4 D! i
  213. ; interesting side-effects depending on your application and web server.; z. j7 ?- B! n1 F, s
  214. ; You may be able to send headers and cookies after you've already sent output
    * Q* S- E3 T( b$ `& [9 x
  215. ; through print or echo. You also may see performance benefits if your server is
    & b& E  d% O9 ]1 [# ~& i
  216. ; emitting less packets due to buffered output versus PHP streaming the output; r% Q" G: S1 {  p) Q6 B2 G
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    7 G5 o) `# ^3 {
  218. ; reasons.% P7 E; n8 K. i
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    ( m3 s' V+ W8 J+ C' N
  220. ;   functions.
    3 u" h2 G2 ]! {; v4 j
  221. ; Possible Values:
    3 f% I. s  S1 m6 C% H6 m) p
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)9 W  V8 q" _9 l
  223. ;   Off = Disabled( U' d, a2 B- R$ T* t" R- v
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    " k: E/ _* n/ S) z8 ?1 U
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI5 t/ ^/ z! M4 ?" o9 i
  226. ; Default Value: Off
    " c5 g& g/ n! d9 p. U3 C
  227. ; Development Value: 4096/ n( i8 ^. }* P8 ]0 K1 @
  228. ; Production Value: 4096$ u6 z; T2 |3 C" K
  229. ; http://php.net/output-buffering2 z4 E, A. ^) \5 ?
  230. output_buffering = 4096- G( p: g, o1 `4 j5 m4 }9 l

  231. - ~" k9 `) P9 {- f, a
  232. ; You can redirect all of the output of your scripts to a function.  For
      O6 F& X0 Y- g
  233. ; example, if you set output_handler to "mb_output_handler", character
    " r0 k% o9 C, ^6 h; O0 |
  234. ; encoding will be transparently converted to the specified encoding.8 S5 b- O; \' {/ v' R' z
  235. ; Setting any output handler automatically turns on output buffering.0 z+ G3 N/ T' D& q
  236. ; Note: People who wrote portable scripts should not depend on this ini7 P$ D/ z3 e- `  _, U  m
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    3 K$ a# m  r. _) {
  238. ;   Using this ini directive may cause problems unless you know what script: K" G! H  j7 ?
  239. ;   is doing., R# n- g' g/ y% U) ]
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    3 q, i$ j2 F; Z; X
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".! N! {  A- C) O. O
  242. ; Note: output_handler must be empty if this is set 'On' !!!!. j: q( ]6 F9 ~: m
  243. ;   Instead you must use zlib.output_handler.
    8 k/ I  i2 v  s$ t
  244. ; http://php.net/output-handler9 z: n; `9 c9 q4 Z5 A6 V
  245. ;output_handler =
    ; a8 I! V+ X8 Q% n# r0 @9 i

  246.   e: o* D5 D. u6 K; T5 v& j
  247. ; Transparent output compression using the zlib library
    / d3 x, a+ y" X) \0 i2 |, L/ k
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    ( o% A% R$ U1 Z, S0 f
  249. ; to be used for compression (default is 4KB)& |( E. S; I' W- a
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP* W/ C% |# m4 g2 p4 v
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    9 O5 w1 b6 S2 j5 j. H
  252. ;   compression. If you prefer a larger chunk size for better: U8 t9 D9 o9 ]" ~" a6 `5 j
  253. ;   performance, enable output_buffering in addition.
    " o  |; `3 N; N1 X
  254. ; Note: You need to use zlib.output_handler instead of the standard
    6 [2 j/ W0 {" W* i
  255. ;   output_handler, or otherwise the output will be corrupted.
    7 I) K* ~; z7 C6 l
  256. ; http://php.net/zlib.output-compression, m  U: V+ b0 I5 K3 K& C
  257. zlib.output_compression = Off$ G, q% R8 \- D; C' \
  258. 6 a% ], `$ B1 {
  259. ; http://php.net/zlib.output-compression-level
    7 O# s! G! Y9 {$ _
  260. ;zlib.output_compression_level = -1. v& H2 P! Q' x; {' N' }
  261.   V/ F! V5 `; ^+ s+ A
  262. ; You cannot specify additional output handlers if zlib.output_compression
    7 L  Y* K; \0 r1 p: c$ m* z
  263. ; is activated here. This setting does the same as output_handler but in
    4 c3 q. z8 i/ t( y$ V# P$ D
  264. ; a different order.% @" n* P4 j( d; |- l+ g& Y
  265. ; http://php.net/zlib.output-handler
    3 p$ z$ Y7 I( T" `1 G
  266. ;zlib.output_handler =
    5 C2 M& |; Z- n. Y" ]
  267. & U# g) c) `- w8 W
  268. ; Implicit flush tells PHP to tell the output layer to flush itself, v/ }$ P2 ]( y0 N
  269. ; automatically after every output block.  This is equivalent to calling the% T/ `9 U# l6 B0 f' [8 q* a
  270. ; PHP function flush() after each and every call to print() or echo() and each6 m% w$ [# t( A/ o  R1 K
  271. ; and every HTML block.  Turning this option on has serious performance
    , c2 L' A6 E" ]: a, U+ U9 }6 N$ c8 @
  272. ; implications and is generally recommended for debugging purposes only.* S5 f3 _, q+ z& ~7 P
  273. ; http://php.net/implicit-flush
    7 E; t* r. Q, J2 |# w. q7 N) u# G
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    0 b$ o8 X! j% E" F6 \; I
  275. implicit_flush = Off
      ]. V" E4 s% b4 v

  276. ; ?; t# C( H9 s2 N
  277. ; The unserialize callback function will be called (with the undefined class') X" }$ R& `& |/ A  f- e
  278. ; name as parameter), if the unserializer finds an undefined class9 f' V! ^7 A0 `5 L7 c3 l
  279. ; which should be instantiated. A warning appears if the specified function is
    " @  F' _1 e, b: e1 |* `
  280. ; not defined, or if the function doesn't include/implement the missing class.. B2 W5 K0 o" ?1 _- C( |; |2 {
  281. ; So only set this entry, if you really want to implement such a
    ; `/ A1 m  j8 s/ D! M1 Q) w
  282. ; callback-function.( u* L6 s6 }4 v  P9 k
  283. unserialize_callback_func =
    # ?3 K6 q5 ^; Q
  284. 1 P; K' S" w4 n" D  p( q6 g5 r* R
  285. ; When floats & doubles are serialized store serialize_precision significant* ^( h' C  k6 |& C7 t
  286. ; digits after the floating point. The default value ensures that when floats. {! n  j/ x2 v( y* g% C. m, A
  287. ; are decoded with unserialize, the data will remain the same./ d6 c7 f+ O1 B
  288. serialize_precision = 172 A! `2 E0 e6 k& W9 Q
  289. * j0 F" g+ @, A, ^( R" E
  290. ; open_basedir, if set, limits all file operations to the defined directory
    : ]" E- Y( I  M% L1 E
  291. ; and below.  This directive makes most sense if used in a per-directory# C: N# _. D, q( [' _
  292. ; or per-virtualhost web server configuration file.( T9 Z5 s4 ^: E
  293. ; http://php.net/open-basedir( @  U* u& |) k
  294. ;open_basedir =
    4 x0 G, j4 D* A
  295. 8 ~5 @% I+ S. c/ w7 z# ?9 b
  296. ; This directive allows you to disable certain functions for security reasons.0 _7 {  T" s3 G! a' M$ W
  297. ; It receives a comma-delimited list of function names.1 @/ Y% U$ {0 s  @+ J9 b
  298. ; http://php.net/disable-functions' l6 U' |' M% d4 g, O
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    # o9 w7 g! @2 \. C* z$ f
  300. " _' s& A' Y6 y. F- S" e
  301. ; This directive allows you to disable certain classes for security reasons.
    2 M$ m& [* l/ w. V7 N, z" G8 }
  302. ; It receives a comma-delimited list of class names.+ l+ U2 h: }* E& p# T1 ?
  303. ; http://php.net/disable-classes
    : d, P' x4 a( e( P7 r9 g
  304. disable_classes =
    ; _8 k9 j6 a( L3 k
  305. . _5 Q# ]3 Z6 K( Q* j$ d
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    5 O. d1 G! b. x1 r4 G' Z. ~" r4 |
  307. ; <span style="color: ???????"> would work./ e0 H+ G& Y8 ?! d, \
  308. ; http://php.net/syntax-highlighting1 p! [" I  B; N3 \0 S% w* J
  309. ;highlight.string  = #DD0000
    4 m# J3 ^4 p, O
  310. ;highlight.comment = #FF9900
    / J6 g$ }7 P# `
  311. ;highlight.keyword = #007700
    8 Y. I( @* D# J3 R' m  b+ w
  312. ;highlight.default = #0000BB' `2 T, [6 o8 x; ?% l9 R/ ^
  313. ;highlight.html    = #000000$ x( [9 |9 `6 Y6 H6 h
  314. ( U: s( ]" |& z
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    0 F1 L/ u; |2 i2 A- W
  316. ; the request. Consider enabling it if executing long requests, which may end up$ R! _7 C) b  f
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    2 Q3 C" H1 q$ H" g( \; u3 v
  318. ; is to disable this feature.
    9 }( N( `4 i) `) J
  319. ; http://php.net/ignore-user-abort3 c% s2 F1 F6 Y. r/ X) p
  320. ;ignore_user_abort = On
    ( C/ e- x1 p4 g8 l! P

  321. ' L0 j  Z2 D3 ~  R8 W
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    2 y( k" M" G9 G
  323. ; be increased on systems where PHP opens many files to reflect the quantity of0 q3 y9 F' b* U2 F2 A
  324. ; the file operations performed.  P, E7 Z- j( `6 @* x$ @3 e" [2 c0 {
  325. ; http://php.net/realpath-cache-size( U" i" ?5 ~* t/ E7 w) r* [
  326. ;realpath_cache_size = 4096k1 b2 [- e# N* w  Y1 S5 q1 K

  327. + A! H& U6 W' v, B
  328. ; Duration of time, in seconds for which to cache realpath information for a given6 \1 j: l! e  }: S& I2 O0 _8 Z
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    1 u* u/ c5 b$ R: `, J% `
  330. ; value.' Y, T* v7 M. e5 P  |5 i" h( U
  331. ; http://php.net/realpath-cache-ttl8 T! e0 x3 A& {, {1 t0 S9 ~+ U9 X
  332. ;realpath_cache_ttl = 120
    / q( c9 o( m) F! n8 N& R0 o$ U6 m+ U5 I
  333. 8 ^* _- `+ J/ o2 _2 k5 X
  334. ; Enables or disables the circular reference collector.- M, p5 r' c1 ]+ b9 X( P
  335. ; http://php.net/zend.enable-gc( D6 e$ ^6 x, i5 W
  336. zend.enable_gc = On
    ! u) M% Z' Y% M# Y. ^& s, G1 _) g3 V3 b

  337. * _3 I7 G5 |& ~) R0 t; M2 G7 [
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    - j9 h) H! k! Z+ f$ a) D
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such1 K; H% q( l5 X" M, C
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    + f, K9 I, Q: p2 z
  341. ; Default: Off' b3 d$ |( p: V2 p: Q8 V7 z. z) f  s
  342. ;zend.multibyte = Off
    4 }) Y" i0 J- r; z3 c7 q

  343. % ^+ w5 w7 |8 O9 U% }* |$ K" E# H
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    6 ~* B; r, h( l8 A6 N
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    / Y' Z' S: X- \& M, q- N7 [
  346. ; Only affects if zend.multibyte is set.2 p% h; s) r+ X# k
  347. ; Default: ""
    + u* Z6 \+ H% y
  348. ;zend.script_encoding =& O5 i; G- {& w1 }! u, z. G4 t

  349. - L0 K7 @) t/ B9 [
  350. ;;;;;;;;;;;;;;;;;' B7 N( C9 }* T& Z: ]  P
  351. ; Miscellaneous ;
    4 e, D. v& W, W8 ^) Z. H; v
  352. ;;;;;;;;;;;;;;;;;
    1 T1 f6 Q% F& U6 n

  353. . t9 L) p9 b* p- ~/ @5 _
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    + a6 H( T; e) B: h& a
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    4 @  R( E' ]3 p8 k
  356. ; threat in any way, but it makes it possible to determine whether you use PHP/ ]  f+ {  Q3 ^' a# q5 D' h
  357. ; on your server or not.' Q  E& m: V/ J
  358. ; http://php.net/expose-php
    # q" C, z* e% l/ F. c+ Y( b( m; f
  359. expose_php = On0 S0 x- a: e* B/ @% s6 k% l. [
  360. ) p; K7 j/ y2 `7 y5 @
  361. ;;;;;;;;;;;;;;;;;;;1 N) T6 j  E( c; l( j& C
  362. ; Resource Limits ;: T% k6 Z( ^0 H2 N
  363. ;;;;;;;;;;;;;;;;;;;
    2 C7 X- c% e' _) a/ r2 \

  364. ! k0 G) ~" H' l% M4 W' y
  365. ; Maximum execution time of each script, in seconds
    0 ^1 B- M  _6 K
  366. ; http://php.net/max-execution-time
    : m: V& Q+ `% A- w5 M. D1 y
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    - f5 f7 x9 y% D) i3 W
  368. max_execution_time = 3006 x4 ^% Q! Q& \% ?6 D9 _
  369. 3 g: C( o# w: J* E4 m) a7 J- X3 j
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    % L6 ^1 f: t1 Q4 B5 Y/ Y
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    8 [  c8 ~) Q4 P6 m
  372. ; long running scripts.
    ' W  t* N% u& p# R
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI1 K$ V9 N  I7 r& O' u+ y
  374. ; Default Value: -1 (Unlimited)) a, I( Q7 _, @8 l. p
  375. ; Development Value: 60 (60 seconds)& }5 c7 ~$ N5 d
  376. ; Production Value: 60 (60 seconds)
    0 V+ m9 m3 U. x1 Y) |
  377. ; http://php.net/max-input-time* M7 X/ e% `; A# E( w/ F! b  x
  378. max_input_time = 60
    ! h( [0 V3 H# r9 D1 |- v8 |
  379. 2 J$ }6 z( Y" k/ I* C
  380. ; Maximum input variable nesting level" ^4 |8 g( V! h( J$ ~; i
  381. ; http://php.net/max-input-nesting-level1 p, `! y2 T5 B& Z4 z7 _
  382. ;max_input_nesting_level = 64: t; B3 z0 t: m
  383. 9 j! E/ u  J% G
  384. ; How many GET/POST/COOKIE input variables may be accepted
    * z" K4 S) c# ]
  385. ; max_input_vars = 1000
    ( R. X) M" L( B0 {& p, k# V& R
  386. : J/ Z& g  t) n
  387. ; Maximum amount of memory a script may consume (128MB)
    ' s0 x$ f  R8 l5 A' r  I$ a
  388. ; http://php.net/memory-limit
    ! G6 W' x$ h/ `, q# @1 K
  389. memory_limit = 128M: [* Z3 `0 k4 q! u0 K+ L
  390. + l5 P1 j0 I/ ~. V7 x$ M0 d
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    * ~0 J0 }; ~5 B; [6 V
  392. ; Error handling and logging ;. h* {2 R: \# M% a
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;) `9 Y' [$ ~; Q$ l5 j
  394. 5 y8 z  D) x, l3 Z9 n0 I5 [
  395. ; This directive informs PHP of which errors, warnings and notices you would like3 {5 p* e, B8 v- ~7 N5 k4 R
  396. ; it to take action for. The recommended way of setting values for this
    ) S9 u, O& f6 k
  397. ; directive is through the use of the error level constants and bitwise
    5 p) h! n& d' w: I# z4 _
  398. ; operators. The error level constants are below here for convenience as well as7 t4 c/ `! a# _# v( Z' `) j
  399. ; some common settings and their meanings./ M3 R4 r- `6 r2 N7 V. W+ S$ A
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT2 F& F8 \4 G5 i+ p! c1 X
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and9 @. N+ s* ?* l( R, C9 u
  402. ; recommended coding standards in PHP. For performance reasons, this is the8 `8 O6 Y- v$ d) [
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    ) y- H: r4 C: {) [2 k
  404. ; resources complaining about best practices and coding standards. That's what9 `  S8 R7 g" Y& A: i4 _* A- E$ g
  405. ; development servers and development settings are for.
    & c. a6 L7 i8 G6 V; p. h% U1 T3 r
  406. ; Note: The php.ini-development file has this setting as E_ALL. This% R0 K( D3 V3 u
  407. ; means it pretty much reports everything which is exactly what you want during
    8 h6 Y( P  e6 \4 U# W, h) p
  408. ; development and early testing.4 G0 ]! Y9 F( E+ l( t
  409. ;! R! t8 @, Q1 i1 D) Q
  410. ; Error Level Constants:
    ( y9 W5 i% A2 y' I; m4 k: U4 k
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)3 Q) K$ d6 G4 D: \6 N5 c
  412. ; E_ERROR           - fatal run-time errors) x3 T) ?, [6 Z
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors0 H3 G1 j3 y: x# M
  414. ; E_WARNING         - run-time warnings (non-fatal errors)( \, W9 u% x) [$ k
  415. ; E_PARSE           - compile-time parse errors& D7 A1 z$ ^( _) ~% Y
  416. ; E_NOTICE          - run-time notices (these are warnings which often result/ z/ t, v; e2 h1 y) x+ Y
  417. ;                     from a bug in your code, but it's possible that it was
    # C8 u% i7 T: F
  418. ;                     intentional (e.g., using an uninitialized variable and
    1 z; N/ H- `' e# i; R5 j
  419. ;                     relying on the fact it is automatically initialized to an4 K! ^7 V% u$ V( q! r. r# D
  420. ;                     empty string)( l7 A, ]% m/ ^( o/ b! `+ f
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes1 B+ L. ~; j% y! _/ M4 D
  422. ;                     to your code which will ensure the best interoperability
    8 ~5 B& q* X" O
  423. ;                     and forward compatibility of your code! ]# J: R/ c' k$ q' y
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    8 m8 a& G" {: v  }  \4 A- o
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's% L1 s3 z3 n/ N8 D( C8 N, H4 T
  426. ;                     initial startup7 Z" U: B; `% t" E5 o: `
  427. ; E_COMPILE_ERROR   - fatal compile-time errors; T* ?- h2 T- u# A
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    $ u$ v4 ]- ~* e7 a) H% k) N" w
  429. ; E_USER_ERROR      - user-generated error message( ^8 D: I! |4 z3 A# }
  430. ; E_USER_WARNING    - user-generated warning message
    4 s, {) w# P4 i  R, y
  431. ; E_USER_NOTICE     - user-generated notice message) _$ H4 b6 q  D: {& F
  432. ; E_DEPRECATED      - warn about code that will not work in future versions- F# ^0 s" _" Q1 @
  433. ;                     of PHP
    1 i4 w+ R; m: W: m- {
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    , s) `# e; J4 R5 H5 a
  435. ;
    + f0 c9 _& A7 v! O8 _
  436. ; Common Values:
    ) ^2 Q. X9 L( ~& t. m; ?& `: ?. }
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    ' ?( g$ m2 A' B8 c/ [" d  ^2 j
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices): t: r0 W5 u5 r) D" `- e) b+ e
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)) J& i2 h: K- }$ F
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)9 q. D, o# b  Y8 s( |2 [
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    + t7 \6 R+ W) Z6 p! m$ i
  442. ; Development Value: E_ALL, P) g( u! X$ @4 W$ J' X' a
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    6 R9 p7 U# D% W/ H9 l; ~) q
  444. ; http://php.net/error-reporting# M( w  N% |- x7 F) t2 P6 w5 D' l
  445. error_reporting = E_ALL & ~E_NOTICE
    $ U: ]& x- i: T% s; ]( G2 d
  446. 8 u# j& w( _; L4 P! p7 Y+ P
  447. ; This directive controls whether or not and where PHP will output errors,3 H& x+ O& D7 \/ K6 g3 b3 H% e6 G$ x) g
  448. ; notices and warnings too. Error output is very useful during development, but
    # q4 q6 o! k" Z/ _  Y, B3 H/ `9 ?* |
  449. ; it could be very dangerous in production environments. Depending on the code3 R3 ?# m+ a" h1 C7 H0 U
  450. ; which is triggering the error, sensitive information could potentially leak6 K! v5 g. l2 [( a8 r+ M6 H
  451. ; out of your application such as database usernames and passwords or worse.
    , k9 D# F& \+ K2 p
  452. ; For production environments, we recommend logging errors rather than/ n* P, X0 V1 x8 r
  453. ; sending them to STDOUT.5 v9 j' ?3 K- B8 j
  454. ; Possible Values:6 ]* }5 r* i+ P1 t" c1 Q& E* T4 N
  455. ;   Off = Do not display any errors7 x$ X9 z8 d5 l, o/ \
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    + C; ^, b4 L7 {6 [9 \. m0 `
  457. ;   On or stdout = Display errors to STDOUT1 d, }5 ~& M& g! X
  458. ; Default Value: On
    - B( J" @# X2 \8 |
  459. ; Development Value: On/ Z" A6 F4 H6 _6 W1 S4 M
  460. ; Production Value: Off2 z  T3 j% B0 k$ J0 H  y
  461. ; http://php.net/display-errors+ G7 `! u+ ~! K. s
  462. display_errors = On$ W9 |. y7 F9 x0 l

  463. 5 E2 C1 l3 y) {
  464. ; The display of errors which occur during PHP's startup sequence are handled
    2 D3 D7 g' L2 N# H2 ]. _* T7 T
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    3 J( \3 b' ]9 _, W1 n# a! f- C
  466. ; errors from clients. Turning the display of startup errors on can be useful in/ i- w. ^1 n( ~& p( z
  467. ; debugging configuration problems. We strongly recommend you
    & m) N, r, l& o
  468. ; set this to 'off' for production servers.
    - d. r1 r& t& S' G7 E
  469. ; Default Value: Off" I, P7 I- J2 {& z- r
  470. ; Development Value: On' O; B" c  R5 S, \( A* `1 ?# s
  471. ; Production Value: Off
    7 \  w1 J( i% D  Q
  472. ; http://php.net/display-startup-errors
    7 ^* r% P3 l" M4 X/ W! u: r$ A
  473. display_startup_errors = Off. A( ^7 N( I1 ]9 M
  474. 6 o" K  M1 P/ r- n; z
  475. ; Besides displaying errors, PHP can also log errors to locations such as a: w' P! t0 Z2 P9 N2 v. I
  476. ; server-specific log, STDERR, or a location specified by the error_log1 g& W: d4 V+ K
  477. ; directive found below. While errors should not be displayed on productions
    8 s6 {4 @$ P  s) X7 E! Y% Q# q, F
  478. ; servers they should still be monitored and logging is a great way to do that.
    9 H  K5 ^; G$ M7 c4 j
  479. ; Default Value: Off6 g+ U& X% m7 t4 @" |! v
  480. ; Development Value: On& E: W/ W" o+ J4 ^
  481. ; Production Value: On
    $ r- B3 Y& A# n& N7 e
  482. ; http://php.net/log-errors
    & F% a5 ~# [3 i
  483. log_errors = On
    ( U; T5 K/ O& g, n& q2 e

  484. 3 X6 {- W, e3 `: K' z' c
  485. ; Set maximum length of log_errors. In error_log information about the source is/ H7 f1 t6 m/ N' j
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.8 T2 J0 f4 G: J  w$ R7 A0 X
  487. ; http://php.net/log-errors-max-len  n; e# d6 q% e& q+ V; F8 E
  488. log_errors_max_len = 1024
    8 I4 i8 u$ P4 y( R" }

  489. 2 y8 k( P2 y( i- u( R8 I, A# `
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same& {* ]$ \2 u2 v6 [# ^  i" q
  491. ; line unless ignore_repeated_source is set true.
    8 W, o" I1 s$ f/ p7 f; G- h5 H/ T
  492. ; http://php.net/ignore-repeated-errors& x( b3 I2 T# B- M$ |- ?
  493. ignore_repeated_errors = Off1 V4 R, @# \- S  E+ o
  494. 5 A* @. u/ Q" C: h7 z- Q
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    $ R) ]$ k% G8 s7 x% ^% v2 T
  496. ; is On you will not log errors with repeated messages from different files or
    4 F7 p- K/ w# q1 b' n% ]
  497. ; source lines.; i+ `5 h4 g8 }" v
  498. ; http://php.net/ignore-repeated-source' j+ K4 _0 z/ u) ]8 b" t
  499. ignore_repeated_source = Off8 t8 j5 G/ V/ b6 N5 N. g

  500. $ a8 z8 D0 ^8 j8 v
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on5 f4 C# D9 l% _9 }8 S6 s2 S$ M7 ]
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    , m5 x5 d. f# L  k* X0 l
  503. ; error reporting includes E_WARNING in the allowed list
    6 N! c3 @/ K6 c# l% i( C. a
  504. ; http://php.net/report-memleaks
    ! j7 T% w5 O7 V
  505. report_memleaks = On
    . t* A2 O- |, g0 z3 |* |& ~

  506. 5 C" }. D2 P+ e% m. d+ k
  507. ; This setting is on by default.1 y& V7 J( z/ E: Q5 B3 M
  508. ;report_zend_debug = 0' c- P/ K: f$ }/ w- D! J' c/ c5 d

  509.   J3 I; ^3 r9 |' n% J) h( M, M
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    ' Z  r1 R$ N% h- P3 [3 W" E
  511. ; to On can assist in debugging and is appropriate for development servers. It should& [+ V" u. s0 r
  512. ; however be disabled on production servers.9 N6 a/ {' D: {1 m/ w6 L
  513. ; Default Value: Off
    0 i- f4 F+ t/ ]. Q4 c) ?: x
  514. ; Development Value: On
    5 R1 k4 M* x: C
  515. ; Production Value: Off
    , G+ Z) C2 Z0 f1 q0 T
  516. ; http://php.net/track-errors
    # I2 @( ?! G+ D4 `8 ~) i
  517. track_errors = Off
    9 L7 n4 l! z1 C0 E5 D
  518. 7 s3 ^  [- a3 s! A1 h* Q
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    ' _% O/ E1 S3 `* y$ T
  520. ; http://php.net/xmlrpc-errors" P2 a7 ]4 H8 W/ S! b3 K( I
  521. ;xmlrpc_errors = 02 \' N' g& z5 a+ f
  522. 5 B7 `7 Q3 D0 {2 L$ i
  523. ; An XML-RPC faultCode8 Q7 p5 h: [& g/ I/ U
  524. ;xmlrpc_error_number = 08 M2 n& i- [( A" w9 O/ B" }9 V

  525. # S- C: f1 x. w
  526. ; When PHP displays or logs an error, it has the capability of formatting the+ {( `: K' d6 L) c" F' E& x
  527. ; error message as HTML for easier reading. This directive controls whether5 h' H. ~1 Q1 C, ?; p
  528. ; the error message is formatted as HTML or not.
    : o! T" z5 x  [1 H# k
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ( c' Z0 C8 ~  |3 V
  530. ; Default Value: On/ }# E# h  B% o' G3 e4 y
  531. ; Development Value: On
    . {9 V  t+ N( `
  532. ; Production value: On. A& X) H- @$ g) V4 r3 G
  533. ; http://php.net/html-errors. F& j! M( w! w/ B5 q! i- t) l
  534. html_errors = On
    , k5 A8 N% u6 T6 v5 V! o8 D

  535. # H! |/ V: Y/ A0 f, O5 Y
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP+ M2 ]/ S6 p( f$ ^
  537. ; produces clickable error messages that direct to a page describing the error
    % O6 R% m# P4 r$ ~
  538. ; or function causing the error in detail.
    $ ?! [+ \3 J* S. a# O
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    . N. h1 Y4 I- W. _* V8 H+ j- D) A5 }
  540. ; and change docref_root to the base URL of your local copy including the$ G: p, v* J$ q
  541. ; leading '/'. You must also specify the file extension being used including3 n9 n$ |! m+ F$ ~+ |
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    - S+ S! x2 n  L5 Z, _
  543. ; case no links to documentation are generated.  Z% d5 q9 C: C" Z  r! A
  544. ; Note: Never use this feature for production boxes.
    8 x& ]. b0 l* e# Y" \4 V+ d
  545. ; http://php.net/docref-root5 v1 n; t/ J# j; `; }/ o8 w; x7 _/ F
  546. ; Examples
    0 E# x; a0 }: n& J( x6 B* U  Q* a
  547. ;docref_root = "/phpmanual/"- V+ m+ c) D7 ^" ?( V- {! y
  548. % Z& `5 |* ?# K. M5 [4 n. d
  549. ; http://php.net/docref-ext) P! z8 A# D# K0 c5 Z! o$ j
  550. ;docref_ext = .html
    8 X6 {: P& D3 g" q1 J# b6 L1 x! z; j

  551. 5 X* d6 g$ D9 e
  552. ; String to output before an error message. PHP's default behavior is to leave
    5 Z' }0 y& h, W6 n" j/ h' r
  553. ; this setting blank./ s/ U$ q& r& T8 d5 d
  554. ; http://php.net/error-prepend-string1 T8 j' h% n- N
  555. ; Example:& f% x0 ^4 y' B5 l& P) E+ m
  556. ;error_prepend_string = "<span style='color: #ff0000'>"2 k) ?: z6 e% b% s$ C0 q

  557. # e; N/ U% n) z# d: k5 v
  558. ; String to output after an error message. PHP's default behavior is to leave
    / q. h8 \8 ^3 Y! k
  559. ; this setting blank.8 y3 A( t& k* ~* a% Y
  560. ; http://php.net/error-append-string
    # H4 {' l) H9 X  r4 X2 ^
  561. ; Example:9 @* F& A( v! i
  562. ;error_append_string = "</span>": L& o1 w' h; A# S9 W. V! V

  563. # ^) G0 \. }' E5 a
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    . w9 G) o9 s! u) w! S# S
  565. ; empty.- N6 ?" e: V# e7 Z
  566. ; http://php.net/error-log/ z" l$ h: }4 E2 V- G  E" o3 l
  567. ; Example:4 w: L8 b* j. W* Z/ E% P  u$ b1 Q
  568. ;error_log = php_errors.log5 B$ ~4 b' v  {! K; ^% X' F
  569. ; Log errors to syslog (Event Log on Windows).
    ; R0 L, [! j4 e4 c# c4 C
  570. ;error_log = syslog) d) i& u' a/ q8 S# h6 [; [% L
  571. 6 f' T/ Y1 l4 }) B; ^! d* Z3 e3 X& O
  572. ;windows.show_crt_warning
    : [2 `* m8 F5 g% j) A# w
  573. ; Default value: 0
    , p1 v$ ~; c7 F- t2 k
  574. ; Development value: 04 `( E) \* ?# M
  575. ; Production value: 0% i4 N/ u0 I* |8 {% ]3 }; `
  576. $ v8 f6 f% `2 x' V1 c  V9 i
  577. ;;;;;;;;;;;;;;;;;
    8 ]9 x' N4 U4 S& k+ m( g6 |' O
  578. ; Data Handling ;( z( g4 S, q' x9 g' \" f
  579. ;;;;;;;;;;;;;;;;;4 U; k) x- H; u5 V

  580. : Z- n' N& c4 [5 _* F  K
  581. ; The separator used in PHP generated URLs to separate arguments.+ x0 h/ f& D' r2 f% ]
  582. ; PHP's default setting is "&".
    ( x( y4 d: [* G: e" m4 S
  583. ; http://php.net/arg-separator.output
    ( w% v8 l. h  U9 g# K: ^
  584. ; Example:  r& F0 d: g- P- r- L8 r
  585. ;arg_separator.output = "&"0 Z# L8 ~# {& f( _8 I

  586. " ~  e$ P8 W: a
  587. ; List of separator(s) used by PHP to parse input URLs into variables.4 e( v5 [2 l: T- R  N+ i
  588. ; PHP's default setting is "&".
    1 d7 A$ P" G* q) D
  589. ; NOTE: Every character in this directive is considered as separator!
    , m2 x- A% w0 L" @( o( M
  590. ; http://php.net/arg-separator.input9 ^+ H2 D4 n, N$ ^4 N( B) Y
  591. ; Example:
    , N; T: Q; E1 m# A+ F
  592. ;arg_separator.input = ";&"+ _* ^7 @' s$ N8 ?

  593. 9 A: r9 I- }  G
  594. ; This directive determines which super global arrays are registered when PHP
    2 {; e1 u* b. z: |3 K
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super! K: ]/ Y! j4 r6 X3 W' S& c" A8 |
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty3 J- }( ]- Y5 Z+ Z
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    ! ]; }8 X/ h5 `* G- o+ U
  598. ; used as the others, ENV is not recommended on productions servers. You, ?1 @0 ?7 L2 D& G/ a4 ?
  599. ; can still get access to the environment variables through getenv() should you. s4 e2 e0 k+ c
  600. ; need to." p: l% l$ H" H9 ]/ O/ {
  601. ; Default Value: "EGPCS"- X; `5 J3 X/ k1 G/ e
  602. ; Development Value: "GPCS"
    0 i/ n2 l6 o1 G& ]" A; B3 [8 l( Z
  603. ; Production Value: "GPCS";8 |2 I+ u% Y9 |$ ~
  604. ; http://php.net/variables-order/ y2 E  q% S' E' f
  605. variables_order = "GPCS"
    2 i" N, @8 _) {

  606. 7 D: s8 [5 R0 z8 g% x
  607. ; This directive determines which super global data (G,P & C) should be
    9 r. a7 s# F5 g" M
  608. ; registered into the super global array REQUEST. If so, it also determines
    1 |. ]. I+ {% W4 q# {* l
  609. ; the order in which that data is registered. The values for this directive/ f7 Z/ ?" ]' J  A) O2 f9 M
  610. ; are specified in the same manner as the variables_order directive,
    ! P5 S1 u5 a# p& C: c
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    + n2 A* U8 X( G& Y/ i
  612. ; in the variables_order directive. It does not mean it will leave the super
    - V. \3 v; A' K8 l
  613. ; globals array REQUEST empty.( \) @# q8 ?1 w" x
  614. ; Default Value: None
    8 R- L, D1 a% w6 Q3 e
  615. ; Development Value: "GP"3 a# R% T; f6 L& o# j  ]7 r/ E  K" b
  616. ; Production Value: "GP"" m; P# z6 M, y8 @7 y3 [
  617. ; http://php.net/request-order
    ) S( w' V, j: \/ R  u
  618. request_order = "GP"' Y' _. s& r) Q& e9 n6 s

  619. 2 K7 ~2 f) I) @9 h
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    . S- l# G: H! j% `" A! i
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script9 c1 M* K9 L1 |, \( ^' ^
  622. ; is invoked. $argc contains an integer representing the number of arguments) D" y9 P2 `0 W% U7 [( P% A, i5 F
  623. ; that were passed when the script was invoked. These arrays are extremely
    / i) x8 ~+ L3 u$ |4 z
  624. ; useful when running scripts from the command line. When this directive is2 z, K, v1 o" s* g' ^. F( k
  625. ; enabled, registering these variables consumes CPU cycles and memory each time9 T1 W& I2 o+ y* j8 B' x
  626. ; a script is executed. For performance reasons, this feature should be disabled- h% @% z+ l" j+ S/ {5 L
  627. ; on production servers.. o' B9 I. j8 e% F
  628. ; Note: This directive is hardcoded to On for the CLI SAPI0 ?' n$ ]4 C2 Q( U8 f% a
  629. ; Default Value: On' f$ k2 e( p4 ~/ _! b
  630. ; Development Value: Off" J' p2 q3 K& t" B& D
  631. ; Production Value: Off: m6 P4 ]7 t/ L* {
  632. ; http://php.net/register-argc-argv& P2 y- ~  r! j" l( F4 Q
  633. register_argc_argv = Off
    " V- |4 e6 S/ @$ G

  634. . M. y9 g  F$ t
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    . T+ s7 ?. L3 F
  636. ; first used (Just In Time) instead of when the script starts. If these) N0 J" n6 q) [" ^2 {3 k
  637. ; variables are not used within a script, having this directive on will result
    0 q6 P" D9 y, X# h8 g; g4 _
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    . N! J1 T6 W; H# y( z& m
  639. ; for this directive to have any affect.
    $ w! `) j' `: H4 M7 F3 \
  640. ; http://php.net/auto-globals-jit
    1 [+ ?/ H) q7 n1 \3 I
  641. auto_globals_jit = On
    2 }7 s) z( ^1 u# Q( W. |
  642.   m- x: C3 i9 a9 O
  643. ; Whether PHP will read the POST data.
    $ J5 G, B2 h( h( ~
  644. ; This option is enabled by default.
    : c7 i% z2 k6 U. t
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    + q% L3 B: _/ ]0 r2 R" y$ Y
  646. ; and $_FILES to always be empty; the only way you will be able to read the2 `. Z$ N0 p- p8 l, G! q
  647. ; POST data will be through the php://input stream wrapper. This can be useful3 Z( c3 B) I0 j9 V$ n: I/ p
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    : E4 P/ }7 ]: c/ o) [7 `7 d  Q
  649. ; http://php.net/enable-post-data-reading
    ! H% H/ d& ^" R0 W5 U
  650. ;enable_post_data_reading = Off1 G% k( s0 O% _
  651.   D$ {8 X6 \8 r& U% r4 o7 |; x: j
  652. ; Maximum size of POST data that PHP will accept.
    2 T/ v8 f  ]# h2 ^% j, d
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    & D# ]% k0 }8 _' k
  654. ; is disabled through enable_post_data_reading.
    ( n. q# }4 H) `; m; J
  655. ; http://php.net/post-max-size$ p1 t" s2 f, B. ^; ^0 s
  656. post_max_size = 50M
    7 o" y, j% b7 F7 L( K# l1 ?/ U

  657. ; P# [' v+ J* X: o
  658. ; Automatically add files before PHP document.3 ~7 H5 K8 S5 B' g" ]$ V
  659. ; http://php.net/auto-prepend-file) r3 H7 w) j1 K" O9 h1 O
  660. auto_prepend_file =* G( r) B' u  r

  661. % Z6 M4 j" x2 D0 s6 ^3 {
  662. ; Automatically add files after PHP document.
    4 H1 e- o: Z% I; ]
  663. ; http://php.net/auto-append-file; I. k8 t# h3 S# e3 b% B; O) g
  664. auto_append_file =1 N6 a% m( b7 g* J; E- V
  665. # w7 ]) x8 J" D
  666. ; By default, PHP will output a media type using the Content-Type header. To0 G, M; v, k+ x# k
  667. ; disable this, simply set it to be empty./ c9 w. A& h6 n- O) \# H
  668. ;; w' }! t% j. M+ A9 ?9 {
  669. ; PHP's built-in default media type is set to text/html.
    " r+ s4 j& N6 O' m) h  F6 e
  670. ; http://php.net/default-mimetype
      _' O8 M! W7 q9 m$ S4 O5 |9 o, O
  671. default_mimetype = "text/html"0 k; j& }2 w, e( P8 V# ~

  672. . G1 B: v  y& k1 P, T
  673. ; PHP's default character set is set to UTF-8.
    $ \+ l, y% \  f& N2 S
  674. ; http://php.net/default-charset* T9 D3 u# B7 ~( o+ [) Q0 G7 r. J
  675. default_charset = "UTF-8"
    2 F; j8 F& M% `. K* W, K5 K
  676. + R4 }" h. e$ @( {1 \: L
  677. ; PHP internal character encoding is set to empty.
    * t) n1 x, H9 C* b- w8 e5 W
  678. ; If empty, default_charset is used./ {& Z: W8 @& b/ S4 a2 S
  679. ; http://php.net/internal-encoding
    : _9 I4 S% n- c. ~7 U& P# W
  680. ;internal_encoding =
    3 u' b( _3 Q9 Q  ~1 u  X3 o1 w
  681. 8 c" F5 h' t' S9 t! L4 w9 n# m( T
  682. ; PHP input character encoding is set to empty.1 S7 j# a& p% l9 |2 N8 A  p( G
  683. ; If empty, default_charset is used.
    ! y% i% W' u' J
  684. ; http://php.net/input-encoding" f$ A" }1 E6 ^
  685. ;input_encoding =
    1 `, X0 Z, I! A0 X1 Y

  686. . Y6 X' V2 h, Q7 I" a& M0 U2 g6 v
  687. ; PHP output character encoding is set to empty.
    6 j; D5 a# D: w* B/ c; m
  688. ; If empty, default_charset is used.
    1 A4 h! Y! T5 i9 Z$ ^! Z+ R
  689. ; See also output_buffer.7 H7 T: _' I7 m- V
  690. ; http://php.net/output-encoding/ f1 c, q: D4 H! ?, u
  691. ;output_encoding =
    ) w3 m# {/ x* R+ |+ m& w' H4 X3 x) u1 ?

  692. * t! Y9 n) q$ r
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;2 x# o1 H+ {0 F7 u7 t0 U6 f! q
  694. ; Paths and Directories ;0 B. t, S! K% p. k0 n, x& g0 ^1 B
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    ; e" y9 T" g- u

  696.   u- P& [1 Q# `8 C( y( t) A
  697. ; UNIX: "/path1:/path2"
    0 k( p1 p+ W9 c9 K6 P$ W1 L3 V
  698. ;include_path = ".:/php/includes"2 Q' \# r: g% s" v0 D
  699. ;
    . L8 b; J4 `! R% J
  700. ; Windows: "\path1;\path2"
    $ G. w2 r, ~! a, v
  701. ;include_path = ".;c:\php\includes"9 _7 |: v+ g, V3 l3 |
  702. ;' }" I9 \3 d) d: U
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear". n" E) X$ o2 \- P- p5 w
  704. ; http://php.net/include-path
    . Y) f- a# K1 r$ ?* v0 s+ T5 j
  705. 3 x) ~1 V; L: n6 H! P
  706. ; The root of the PHP pages, used only if nonempty." I$ c! I  z6 m8 P
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    ) w  D% O' q0 H5 B5 E* v
  708. ; if you are running php as a CGI under any web server (other than IIS)
    1 ^( K0 t- C1 a% K
  709. ; see documentation for security issues.  The alternate is to use the
    . k% n5 i* N+ f$ Q% l3 F5 z
  710. ; cgi.force_redirect configuration below" r: u& h) w: b7 K8 T
  711. ; http://php.net/doc-root
    ) A2 \/ A+ Z- T3 l5 X
  712. doc_root =
    , |' k& A/ \3 P6 R

  713. : M( h$ P, P# d
  714. ; The directory under which PHP opens the script using /~username used only
    " \1 A9 x- \5 m, N2 @/ Q
  715. ; if nonempty.
    3 W% v4 ~+ {7 s# f% h
  716. ; http://php.net/user-dir" U3 t  ]1 ^+ K/ ~5 K/ V% @) C
  717. user_dir =) C, |0 M* i# e5 z& g1 d
  718. ) Q2 Z# G& d9 C7 N
  719. ; Directory in which the loadable extensions (modules) reside.
    0 i' X# m* r; y( u/ X
  720. ; http://php.net/extension-dir" ]7 S) d- r0 E) x1 i. T4 t% o. S  H
  721. ; extension_dir = "./"6 x' U$ q2 n2 ]4 F5 Y, z
  722. ; On windows:6 C0 I, ~6 B# J$ b4 e
  723. ; extension_dir = "ext"% _& L% R+ d# \: V. O8 y: `* H
  724. $ d8 }: z: D' n/ y# P
  725. ; Directory where the temporary files should be placed." v, N, Z. K4 B! ]7 F# e
  726. ; Defaults to the system default (see sys_get_temp_dir)
    # k) K, k9 H) Q5 T, ~3 p
  727. ; sys_temp_dir = "/tmp"& v; {1 x! F( E4 z* C

  728. * i+ e$ A' Q) P
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work8 m1 K  N2 h% T9 H( G
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically+ g- z; D& S$ K2 a6 M3 H% y
  731. ; disabled on them.* w: f6 t! u1 I! W! i/ r! U
  732. ; http://php.net/enable-dl
    $ e1 w- ?6 ]3 W3 `
  733. enable_dl = Off
    1 Y8 Z4 C3 N$ [/ l

  734. & U" L5 n  M  W0 n6 W" V0 j6 O, @
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    9 T. c8 Q' }" |7 {
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    6 Z6 ]% S- O! V3 A& `
  737. ; turn it off here AT YOUR OWN RISK
    8 v4 c1 f  ?- c  f
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    . k7 i% c5 i$ I5 }
  739. ; http://php.net/cgi.force-redirect
    4 T7 \8 M# F# M+ z) r8 m
  740. ;cgi.force_redirect = 1% ?- A! {! }4 h1 \1 V0 ?2 G, ]/ {* e

  741. 5 K3 p# Z& l. r3 ~- r: q
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with0 @4 C2 |. S- l" M
  743. ; every request. PHP's default behavior is to disable this feature.! V) J" p% \1 i  O  H4 \4 b% r/ f. h
  744. ;cgi.nph = 1
    : U* F9 }8 _' Z7 `
  745. 9 d- u+ j$ \% F" s
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape6 {: Q5 A1 C" M! x2 K( e
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP* ^* u+ f9 A5 E1 i
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY. u8 a9 U- ^' A% E3 e/ ~0 f0 R) O& k
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    . |) C, E6 y  R
  750. ; http://php.net/cgi.redirect-status-env
    / t9 |4 c8 i  T/ a8 t+ g1 m
  751. ;cgi.redirect_status_env =
    5 d, R/ W; H+ _+ b) N

  752. % K: ?% a6 [2 v( z- A" t! q5 l$ f
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    0 }' }' W& E5 Q; h" x; |+ U
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok. K. B" u8 ?! w3 m5 l' m0 e
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting! v' {/ r, i: J5 K) _9 ]
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    ' C& Z% j7 N8 p2 A! e, e
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    1 v$ w) S. U% x0 l1 B8 u, T% S  }
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.9 d$ g* V6 N  l# }* q
  759. ; http://php.net/cgi.fix-pathinfo
    9 L* s9 ^: g3 k
  760. cgi.fix_pathinfo=1
    + }- k9 h/ O; F2 H2 `( p

  761. 4 @( I: m5 c: D
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside5 c. X; K2 S  U9 O+ {
  763. ; of the web tree and people will not be able to circumvent .htaccess security.; d- ]% Y0 m. t7 c* J
  764. ; http://php.net/cgi.dicard-path" K8 a9 M' [- A- ]+ F* x
  765. ;cgi.discard_path=1
    # T$ ?, B+ e0 z: Q

  766. 3 h3 u; R9 B3 X6 o$ U3 ~
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate3 U. U; [1 D0 N; {
  768. ; security tokens of the calling client.  This allows IIS to define the2 }! O: v+ A$ _5 a9 i! y$ u$ n4 g7 c
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    ) g4 Q  b2 \2 J& `* M
  770. ; does not currently support this feature (03/17/2002)
    " G/ f% W8 S3 P' w! \3 R! M
  771. ; Set to 1 if running under IIS.  Default is zero.
    ; V5 i( @9 l, r  R( V
  772. ; http://php.net/fastcgi.impersonate: p3 t0 b& r& _% [) I+ B+ m
  773. ;fastcgi.impersonate = 1' N8 c; {# G/ P" h0 J$ o

  774. " o# Y% f  x8 ]: u
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    ' V7 u' H! B, X7 r; g
  776. ; this feature.
    4 `% r" C% X& ?, q4 b
  777. ;fastcgi.logging = 0* X; q7 `  M: j/ M9 u

  778. 9 g# \* ?. P! k8 p- R$ C
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    6 b' o# d' H; U0 _6 J
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that5 d) L9 X7 P4 f7 K. [" w
  781. ; is supported by Apache. When this option is set to 1, PHP will send" E( c# p: T$ h* |  q
  782. ; RFC2616 compliant header.
    6 K3 C. T) K, {! C% I  Z
  783. ; Default is zero.' p7 J1 D* _/ a/ e7 @
  784. ; http://php.net/cgi.rfc2616-headers
    . Z/ |8 g% k) j# O: w
  785. ;cgi.rfc2616_headers = 0
    ; G* t7 p; \* J+ q9 ]1 _  |' ?

  786. % U# k& A8 G% w- L0 h: \4 a/ o
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    5 y+ p7 t1 b' B) ?/ z
  788. ; (shebang) at the top of the running script. This line might be needed if the
    . N1 `4 l. \$ T/ {. O
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI( \5 c  i4 m1 @
  790. ; mode skips this line and ignores its content if this directive is turned on.
    3 u% g7 A& O' t$ b
  791. ; http://php.net/cgi.check-shebang-line/ n! t$ F! T: k4 `7 ^
  792. ;cgi.check_shebang_line=14 E+ O1 Z9 ^3 x) {# M
  793. % _! }: x4 A  W
  794. ;;;;;;;;;;;;;;;;5 z" T  O: q) n
  795. ; File Uploads ;
    & b% z9 q/ t$ w* }$ S8 I- b
  796. ;;;;;;;;;;;;;;;;! }  D% R( ^2 D3 l, F
  797. 9 W! b! E0 l3 |! ]+ J) [
  798. ; Whether to allow HTTP file uploads.$ W8 L. W, G8 J1 O+ z
  799. ; http://php.net/file-uploads
    2 I7 W. E4 C1 j% b) t- }" J
  800. file_uploads = On. b  E, i5 J) M: F, k

  801. 1 C1 N6 _- |! q% P6 S% H* `
  802. ; Temporary directory for HTTP uploaded files (will use system default if not7 u; ^, k7 r, Q5 I* \
  803. ; specified).% G: P! T6 j6 l7 ~7 U
  804. ; http://php.net/upload-tmp-dir9 c5 @) f$ k' \, P0 k
  805. ;upload_tmp_dir =
    . B& h$ i- a- E2 n0 \( F! e

  806. ( z) ^1 f& |: C! d- j" a+ `' ~$ Z: B
  807. ; Maximum allowed size for uploaded files.6 {  u, R: v4 ~" j, \# h
  808. ; http://php.net/upload-max-filesize
    7 d# L$ v' }3 x; y/ d
  809. upload_max_filesize = 50M
    & i" S8 m, F/ X) W7 s- P1 u, F
  810. ( z3 W: v2 A7 A3 C
  811. ; Maximum number of files that can be uploaded via a single request
    . B5 O. ?8 v+ l
  812. max_file_uploads = 20
    ( j3 k5 y7 v  m5 y' ^" h* p8 v
  813.   a6 H# ~' A2 u: x5 G3 v
  814. ;;;;;;;;;;;;;;;;;;
    / t* n* P8 l# p3 ?
  815. ; Fopen wrappers ;5 l/ A' C: {% g6 C% Y4 d
  816. ;;;;;;;;;;;;;;;;;;* Y" b: H# l; [; `) h6 \
  817. * L  `  x3 v; @9 \
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.: Z3 Z+ g3 L. B; y9 j% _) P; ^
  819. ; http://php.net/allow-url-fopen
    3 Z9 j! D6 L0 V; v1 `+ V% ]
  820. allow_url_fopen = On
    - W  g3 u- F" x9 `

  821. ; S7 p, P3 m, d7 h( x
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.1 p0 c# H' i5 u" F5 N/ S/ z
  823. ; http://php.net/allow-url-include% Q; E# C: c5 w. C  _" P* H
  824. allow_url_include = Off
    6 a) j* v& b. y
  825. 7 O8 J1 G1 q4 j8 I& [+ P
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    # V0 d# f( V  F5 Z1 ]
  827. ; for this is empty.
    $ @+ `0 v: M& B" q; q
  828. ; http://php.net/from
    0 S8 z" c7 i; A& h
  829. ;from="john@doe.com": x# T* C+ y3 ]6 y9 V0 i3 q
  830. , }7 U4 m! |7 l' k
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    & ^& ^1 N/ U( B0 D
  832. ; http://php.net/user-agent
    : e1 `- j* j- U( |$ r$ s- k
  833. ;user_agent="PHP", j: f8 s6 }( P: G) {

  834. - l# k/ t' _& ~& A
  835. ; Default timeout for socket based streams (seconds)3 c) l" ~, V8 _$ o: _- ]3 B
  836. ; http://php.net/default-socket-timeout
    ) b8 I; k" n* C) E' B, i, z  D
  837. default_socket_timeout = 60
    9 J# s% A; x; l! L5 a4 K

  838. 0 A" u4 m6 B8 D  r. l% y8 n7 D- T
  839. ; If your scripts have to deal with files from Macintosh systems,
    2 Y( U2 ?# q7 G  e+ u* F# [
  840. ; or you are running on a Mac and need to deal with files from% T4 e* h' ?* A1 u, }3 B
  841. ; unix or win32 systems, setting this flag will cause PHP to3 j+ S- Q+ k9 R; M' w
  842. ; automatically detect the EOL character in those files so that3 M& `& X4 `0 O- A7 R" l) N
  843. ; fgets() and file() will work regardless of the source of the file.
    ( T( R; k. o: i8 I" j2 ]- p2 D
  844. ; http://php.net/auto-detect-line-endings
    ' O, Q( y( u, s* b  C& |% v1 g2 _
  845. ;auto_detect_line_endings = Off4 u) B- Q- [: _3 v0 q% f9 f

  846. 6 S) a1 E4 r2 t1 ~
  847. ;;;;;;;;;;;;;;;;;;;;;;8 Q9 \- P) i0 ]* G  @, t
  848. ; Dynamic Extensions ;
    1 V$ k# c+ B* _$ D" y
  849. ;;;;;;;;;;;;;;;;;;;;;;
    8 V" {& z4 M4 z8 H) S

  850. # p3 s: b- j6 i6 c" F
  851. ; If you wish to have an extension loaded automatically, use the following
    ( Y% S6 w, x9 N6 R
  852. ; syntax:
    3 m) [  O9 R1 Q9 j* G
  853. ;3 f$ _! ?* m$ Q' p; e1 _5 k
  854. ;   extension=modulename.extension7 q6 S* q; r! h- w3 `4 V
  855. ;
    : R) T7 ?$ a" ]" T% _" w
  856. ; For example, on Windows:
    & X) K; A7 ~8 e) z& x4 h
  857. ;( C4 p+ T% N, B' N4 F) I( l# n
  858. ;   extension=msql.dll+ J( {& |: C& e% T
  859. ;7 S0 z5 h5 y+ x
  860. ; ... or under UNIX:
    / ~, {9 q3 C' J3 Z) H; M, O
  861. ;' d  ~4 p! ]' P* w$ O
  862. ;   extension=msql.so
    9 }0 n* T2 s1 @
  863. ;' D+ `+ X! K8 ?: v+ n8 G4 i2 g  X
  864. ; ... or with a path:
    ( p8 \  S8 r: u* J$ N. V+ ~# N
  865. ;" U8 f# R9 T; Y7 M
  866. ;   extension=/path/to/extension/msql.so
    5 \* E, t, i' i% s* W# {7 R  E) C
  867. ;
    : }$ h  A) b# W
  868. ; If you only provide the name of the extension, PHP will look for it in its
    . C0 |! A. j7 V" k
  869. ; default extension directory.
    1 l+ H5 X2 C4 }. W
  870. ;6 b" X( P6 F( \+ j  Z
  871. ; Windows Extensions
    0 s6 s2 o' N' W! _2 F9 S
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    3 S& P1 P/ I, E
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    . F" m& a6 I2 x/ `0 Z
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    & F2 ^7 }! U. c- L7 S: c# Q$ U) ]
  875. ; Be sure to appropriately set the extension_dir directive.+ g9 G/ d( P: J3 ?3 }
  876. ;* Q% J' K  v- ~" ^* X
  877. ;extension=php_bz2.dll6 g+ z+ p4 a$ {, ~. O* O, o8 [
  878. ;extension=php_curl.dll
    4 `6 {. ~1 ~  ]$ ]* [) }+ _( p$ T1 c
  879. ;extension=php_fileinfo.dll1 Q& j) e/ R4 i4 w4 i& T
  880. ;extension=php_ftp.dll. {, M6 o3 B$ f) V
  881. ;extension=php_gd2.dll
    . S( |5 [. x% y( x
  882. ;extension=php_gettext.dll7 F, F. ]% r5 b' l" S, Z. z
  883. ;extension=php_gmp.dll% u* z+ D) ^: S) r
  884. ;extension=php_intl.dll1 P- H+ S7 V) o* {! c3 K5 ~
  885. ;extension=php_imap.dll
    9 H7 A- l8 ?( {5 p( s8 @
  886. ;extension=php_interbase.dll
    1 R; j8 q. {6 b7 U4 t" E0 X- s
  887. ;extension=php_ldap.dll
    - a3 L& b) m& b2 L1 O$ T
  888. ;extension=php_mbstring.dll
    ( Z& B! I: U; J0 g7 h4 R
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    ' O) G" g0 p- E' {1 O
  890. ;extension=php_mysqli.dll$ w" L0 N2 X. z: I% o+ a
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    2 d/ k+ q5 k/ U
  892. ;extension=php_openssl.dll
    5 Y0 A& B; ?, Q5 l
  893. ;extension=php_pdo_firebird.dll. \7 j# n3 |, V8 _( B/ H
  894. ;extension=php_pdo_mysql.dll7 t0 C2 g9 E8 [( A* a
  895. ;extension=php_pdo_oci.dll
    : `( l' K3 g1 z0 m- B
  896. ;extension=php_pdo_odbc.dll
    8 n. F; e) h0 q! P
  897. ;extension=php_pdo_pgsql.dll- S) j6 i8 s, g) Y  k
  898. ;extension=php_pdo_sqlite.dll
    2 r7 q9 p* K2 b/ f. O6 V6 z6 }. k
  899. ;extension=php_pgsql.dll, v/ Q3 i! b) _: t8 c3 _
  900. ;extension=php_shmop.dll. @1 k$ U- j' [
  901. ( J# |$ O0 m+ ]& w' V: H
  902. ; The MIBS data available in the PHP distribution must be installed.
    6 y. u# J9 c( t9 s
  903. ; See http://www.php.net/manual/en/snmp.installation.php2 o" {3 W  ^5 `. Z. {- e" F
  904. ;extension=php_snmp.dll
    * W* X+ t2 ]6 z- V5 ]

  905. ! H/ f4 K; v& H. u3 g8 A) Z
  906. ;extension=php_soap.dll
    - @# L% h' g1 {% C% @
  907. ;extension=php_sockets.dll/ V: R. I3 c+ {6 J8 \+ L
  908. ;extension=php_sqlite3.dll  U8 k% t1 r& U: z6 o' c3 H
  909. ;extension=php_tidy.dll
    $ Q4 ~) J# x' O$ G0 k
  910. ;extension=php_xmlrpc.dll5 f" ~/ m! N: t  C
  911. ;extension=php_xsl.dll
    " f% E" K5 d2 j! g
  912. - w7 |3 C% |3 ~' X* ?. t+ e
  913. ;;;;;;;;;;;;;;;;;;;
    . C5 q( j4 b( ~3 M  p$ z( F" B2 U
  914. ; Module Settings ;
    1 [, d9 i; Y7 i& q2 W& j! w
  915. ;;;;;;;;;;;;;;;;;;;# e2 D& ~6 u! u

  916. : ]+ `0 G: X6 K, I; B2 B5 c
  917. [CLI Server]& o2 N" h0 T7 ]8 W/ k. \
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.4 \% U( x% A, Y( Z! I& l% _, f
  919. cli_server.color = On
    5 i7 B9 y3 o$ d

  920. 5 n3 d7 P6 o  E7 k3 y) q% }, U
  921. [Date]
    , ]* a4 ?7 z/ J+ O' v, B% [
  922. ; Defines the default timezone used by the date functions
    " K  t' q4 s& {  `
  923. ; http://php.net/date.timezone9 h. {3 H: Y9 _8 F. a
  924. date.timezone = PRC: h; N$ j9 v, I  t9 A  }
  925. 3 Z4 w- N+ G& u6 r, J
  926. ; http://php.net/date.default-latitude7 P  u3 h8 m+ \1 @0 Q0 _; A
  927. ;date.default_latitude = 31.76673 n$ |, D5 \  ]

  928.   L) n, p# Z# c
  929. ; http://php.net/date.default-longitude2 v7 B4 j, y4 _, Z) ^3 X
  930. ;date.default_longitude = 35.2333" n8 }0 q/ f" D* O) v7 j

  931. $ y4 j. e6 u4 N$ U
  932. ; http://php.net/date.sunrise-zenith) W4 h+ o0 Q0 Y& L8 z# o
  933. ;date.sunrise_zenith = 90.583333' D* B/ B' d& T4 y9 {

  934. + r5 \7 v4 z/ ]3 p* B. a' t; h
  935. ; http://php.net/date.sunset-zenith
    4 j/ h* v- l! z4 `! D( Z! W
  936. ;date.sunset_zenith = 90.583333
    6 H, V! }( @( G. B3 b5 A& f
  937. 2 z8 j" i% I; Q
  938. [filter]+ ^% E2 z. }7 h5 l
  939. ; http://php.net/filter.default
    2 ~. ^* X/ h2 R) d6 }
  940. ;filter.default = unsafe_raw
    6 V- y3 r) ^, O2 _$ }$ s* u" G+ Z. v

  941. - u+ w2 x" t% j0 D
  942. ; http://php.net/filter.default-flags( j" c6 z) J& S6 m
  943. ;filter.default_flags =: n. P" Y0 j) X# W& q4 T+ I% _/ J

  944. 7 \( G9 [- ?. D6 D( i
  945. [iconv]
    ; Q, k* v' X4 @, S! d7 E* V
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    9 r0 q. N. t/ P
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    1 ]3 l& A, h1 U7 \
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding9 Z& c; H3 |4 s6 E* X. C
  949. ;iconv.input_encoding =1 S3 B3 P# [# p7 C  W

  950. 6 p/ ], Y, h; Y+ c
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.* a6 Q2 z/ O' p( H1 x
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.* O% F% b  v; e3 V0 u
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    ( A4 `% |3 m* G3 z( q9 U
  954. ;iconv.internal_encoding =
    $ n1 I# t. `) T8 O7 B7 u
  955. & @- `+ n* _7 G1 R; @0 P% J
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    4 I. W1 p3 g9 j6 y+ _' U" u
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.3 |4 A+ }6 P2 S$ d" |8 x( ~4 V
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    0 V3 S( x, C% U, J* Z9 ?
  959. ; To use an output encoding conversion, iconv's output handler must be set. X* }) X6 k: ?
  960. ; otherwise output encoding conversion cannot be performed.4 `# x- l  d, {" Y' ~
  961. ;iconv.output_encoding =
    ( A6 G4 r& S: T/ L6 C1 Z4 \. @, j

  962. - ?. e# N- d1 X9 ^( j5 g
  963. [intl]
    1 l6 v0 k, E; s/ D4 O
  964. ;intl.default_locale =  {, \, L8 L* v$ ?$ l
  965. ; This directive allows you to produce PHP errors when some error* b3 a3 [) P1 r& z' L. L1 I; t: x
  966. ; happens within intl functions. The value is the level of the error produced.8 e! q' e& k$ G! S, ?" \
  967. ; Default is 0, which does not produce any errors.
    1 u6 J: |; Y! ~/ o6 x
  968. ;intl.error_level = E_WARNING
    % U. j' t- K3 t% F
  969. ;intl.use_exceptions = 0, r5 C1 L* X) G' o/ Z6 t

  970. 0 P8 L4 G' R% `8 W: P
  971. [sqlite3]
    6 ^/ X; v9 q& R6 g
  972. ;sqlite3.extension_dir =( Q4 V2 P5 V2 [% _0 n; q2 k
  973. 4 s( f3 ~, X1 N: s) h; _
  974. [Pcre]
    ; r5 s$ m/ z& c' p
  975. ;PCRE library backtracking limit.
    * u* [6 T" m) r  v2 P0 d+ S
  976. ; http://php.net/pcre.backtrack-limit4 i. u$ _- Y! o( x& J8 J/ N
  977. ;pcre.backtrack_limit=100000( N9 o1 n3 }# O+ U  N
  978. $ R5 X  x9 [" q. Z: y, F
  979. ;PCRE library recursion limit.
    $ o. c! r* S' @, ?  n8 u
  980. ;Please note that if you set this value to a high number you may consume all
    : F0 [/ ]  v  j0 g
  981. ;the available process stack and eventually crash PHP (due to reaching the0 V% G. T4 R$ Z' M" Y. e6 b
  982. ;stack size limit imposed by the Operating System).
    % M  m; z9 F1 ]& ?$ L3 N; A
  983. ; http://php.net/pcre.recursion-limit
    $ y0 N: r! B" l$ {
  984. ;pcre.recursion_limit=100000
    + F0 d7 O/ ~  u2 X0 k+ M
  985. ) ~: s  Y9 a: l  P; @$ n, Y0 v- m: k
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    3 Z1 a/ A- P0 ?" _% ]& Y
  987. ;library to be compiled with JIT support.
    ( z3 M7 ?7 r0 z$ P% a
  988. ;pcre.jit=17 B# q8 o& O, A5 b6 T  `
  989. ; M7 p% ^0 u) D: ?6 m
  990. [Pdo]5 x3 j+ ?2 Z$ t( p- y8 R
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    . o$ V6 z$ i- U# O2 b- \
  992. ; http://php.net/pdo-odbc.connection-pooling4 b) P3 Z" W0 u  }# ?
  993. ;pdo_odbc.connection_pooling=strict
    + I1 _) d, b, h1 r4 g# f

  994. # I# e. y6 z. D$ \  K
  995. ;pdo_odbc.db2_instance_name. J4 K- j3 j# F" s4 Q: H

  996. ; N7 P( e* X. F) V9 z. ^9 a9 }
  997. [Pdo_mysql]
    8 K0 e6 k4 g) d4 Y
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    7 Z7 Y9 u- n( ^- j& s- P
  999. ; http://php.net/pdo_mysql.cache_size
    , o2 E8 N# M' C& H& K& K5 q8 y
  1000. pdo_mysql.cache_size = 2000
    0 s" s. a- V9 J8 ~8 v. z( S7 _- m; U
  1001. 3 r6 {' M* m9 O' P+ o4 v  f) O
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
      s7 Y( r/ I% f$ L
  1003. ; MySQL defaults.: J6 [. R0 t; @6 H
  1004. ; http://php.net/pdo_mysql.default-socket
    5 X6 p! ~) e! `- P
  1005. pdo_mysql.default_socket=
    - ^0 J- @% L2 z$ v: z! |
  1006. # n% P  A8 `% @! M: l, F
  1007. [Phar]
    : f2 o$ e1 w$ l9 y5 Y; j
  1008. ; http://php.net/phar.readonly
    9 V) }+ x. O0 \% F6 N9 o
  1009. ;phar.readonly = On
    : m! ~( }4 Q9 p& P
  1010. - f* d! r0 D6 k  T. x
  1011. ; http://php.net/phar.require-hash
    ) Y7 S, {, ]* h' `( l; m4 H
  1012. ;phar.require_hash = On
    4 l% W( b  q8 X7 _

  1013. 9 B6 e( h( L& }# [
  1014. ;phar.cache_list =
    2 C6 B" C: N- _" ?" p& X, o
  1015. - f- k: i" l! B8 _7 }. n
  1016. [mail function]( A" U$ P6 Y' `2 `9 a/ Y2 i* b3 ^
  1017. ; For Win32 only.
    ; x5 Y3 W2 \3 y+ G
  1018. ; http://php.net/smtp4 e" G6 I( d0 ?4 h& G$ i
  1019. SMTP = localhost
    " G* w! a0 W& k
  1020. ; http://php.net/smtp-port
    * H, W6 P0 Z/ Z- r5 @
  1021. smtp_port = 256 t/ P, d; _7 s7 R9 T! g# H3 n

  1022. ' F! r( @9 \3 g* ~9 m/ K6 l
  1023. ; For Win32 only.
    # @, K" ^& y4 |
  1024. ; http://php.net/sendmail-from8 v/ }2 L/ L1 |5 r1 e
  1025. ;sendmail_from = me@example.com. G5 }, Z! ~3 {7 r2 B
  1026. 7 X, X% e5 k' \1 s3 m* U
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").5 D3 v, U3 }4 z* [) X/ J$ m" D
  1028. ; http://php.net/sendmail-path# M" ?$ E8 r- P( Q% J9 M$ I
  1029. sendmail_path = /usr/sbin/sendmail -t -i9 j7 O* J3 F: p, p' ^
  1030. * j( e* q3 f5 s
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    ! e( H; T: u( `( h' o
  1032. ; to the sendmail binary. These parameters will always replace the value of
    ( a+ c! _1 Q3 P4 |8 Y: {7 n
  1033. ; the 5th parameter to mail().
    4 Y3 A0 W  ~# J; y
  1034. ;mail.force_extra_parameters =
    3 U9 [) R' i, c, A& x" o8 C
  1035. . I! O2 U3 _) o* K- N, Q, s
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename1 c( D, c+ T5 l7 u" X$ V
  1037. mail.add_x_header = On
    - B: _2 [" V) n

  1038. 4 F; ?! Z* A* }" |1 Y: s
  1039. ; The path to a log file that will log all mail() calls. Log entries include; ]' A: B: b1 A
  1040. ; the full path of the script, line number, To address and headers.
    9 f3 Q0 [( n/ \' y
  1041. ;mail.log =
    " p. n1 P$ A% v! ~2 H# ]. x
  1042. ; Log mail to syslog (Event Log on Windows).. D: r  B  |* z. u. Z$ {: B
  1043. ;mail.log = syslog
    3 m8 u# m2 l$ _, U. R  h8 z1 Z
  1044. 6 G/ t6 u* B2 j# {4 L
  1045. [SQL]. f& `1 q. w; a. v( b
  1046. ; http://php.net/sql.safe-mode7 a1 H# W3 p8 h' e# k
  1047. sql.safe_mode = Off7 j/ m- e* ?+ N& v7 y2 K

  1048. 9 B+ Q* V" x# a6 H- P$ ^
  1049. [ODBC]1 P4 o! ~1 a; _2 E% }& p
  1050. ; http://php.net/odbc.default-db
    ! v  N3 H& ~1 ~. o
  1051. ;odbc.default_db    =  Not yet implemented
    9 |9 B: Y$ ^7 u
  1052. & L* w9 h" w: ]7 J$ _0 }" ^
  1053. ; http://php.net/odbc.default-user
    " R4 d9 O% G9 e9 s+ C6 v1 C
  1054. ;odbc.default_user  =  Not yet implemented
      p2 C4 H: t0 P+ ?# X  N
  1055. 6 T* W" |$ Y6 E8 c: V- V4 j  S1 e
  1056. ; http://php.net/odbc.default-pw, ?% m9 i3 N4 }$ ?
  1057. ;odbc.default_pw    =  Not yet implemented
    6 a4 P9 }- q/ g0 s- T# f
  1058. - {% l) x7 l6 a4 B* u' S: o! w& j
  1059. ; Controls the ODBC cursor model.
    & b; b: d' y1 Q9 \4 M
  1060. ; Default: SQL_CURSOR_STATIC (default).
    * ]2 j( f: a+ {; g% {' E, H' m
  1061. ;odbc.default_cursortype
    4 G8 d6 w% r2 L; U: x' G/ ?

  1062. : W+ B7 y! Q# E. m) I+ g- n( c
  1063. ; Allow or prevent persistent links.( j# c0 Z1 s5 J
  1064. ; http://php.net/odbc.allow-persistent; a% Z$ B+ Q0 y$ A- c
  1065. odbc.allow_persistent = On/ Y( e6 j) o9 [* C, a! d
  1066. 3 M) t" r4 F$ B( f. w
  1067. ; Check that a connection is still valid before reuse.
    % m+ k9 z! r! s
  1068. ; http://php.net/odbc.check-persistent
    - F$ {/ P4 M1 T
  1069. odbc.check_persistent = On
    + f# |) L6 O- |+ ]' m# u& A( @; G

  1070. $ t9 Z9 l* F0 o& i
  1071. ; Maximum number of persistent links.  -1 means no limit.; H8 @, _( T0 [. E0 S$ u; _
  1072. ; http://php.net/odbc.max-persistent
    3 @; I6 A# z# Y5 G" Y
  1073. odbc.max_persistent = -17 M' _3 {/ M1 [4 U# y! \& H# Z' e0 }+ ^

  1074. 9 V( L& S6 W. D
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    1 B) J# S" ^& |" z! G
  1076. ; http://php.net/odbc.max-links/ f$ i- a, w! S1 w
  1077. odbc.max_links = -1
    7 {* Z5 I6 g- s6 q8 X; d# f

  1078. 0 n4 N8 C; j% E$ Q9 R& i
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means2 k3 ?, L# ]8 H  x
  1080. ; passthru.
    4 \( x# C  B& R
  1081. ; http://php.net/odbc.defaultlrl
    ! p) E7 D% h1 \* x: Z
  1082. odbc.defaultlrl = 4096: a1 c4 a+ [4 I+ ^2 B3 W1 |

  1083. 0 X. R& k9 ^6 U3 s
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    0 T9 A  }& I; t; P* J' U0 h; O* H
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation! M8 t2 S9 w1 b  b
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode- t0 U1 x! k9 Q+ K
  1087. ; http://php.net/odbc.defaultbinmode4 [: y( g; }/ n) z9 b
  1088. odbc.defaultbinmode = 1
    1 O  \* n$ o  {1 v6 [& M( R; T. \

  1089. 2 Z& B) N, B8 E: I" ^1 K% H
  1090. ;birdstep.max_links = -1
    2 u( |; F  ]7 Y- m
  1091. ' ^; S/ I  o2 |7 Q6 R
  1092. [Interbase]4 Q& k5 u$ a( x; E" @- q
  1093. ; Allow or prevent persistent links.: W9 o$ }4 a5 a& L
  1094. ibase.allow_persistent = 1
    & e4 O- ?" S0 B
  1095. ) h" ~8 E+ y0 a1 d' f3 H' ]
  1096. ; Maximum number of persistent links.  -1 means no limit.: k( m. w# [$ ?, A" ?
  1097. ibase.max_persistent = -1. ^& n% \. c+ C  W+ P) O

  1098. ) t& ^) \: n9 H& ?
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.( P) Y2 o% @% D0 N+ [
  1100. ibase.max_links = -1
    5 o% H6 k. v: `& r9 ]6 j
  1101. ) i8 u, M' W2 L& u6 l; q8 h& ?$ ^
  1102. ; Default database name for ibase_connect().- k0 W& G1 f! i5 T4 j6 t
  1103. ;ibase.default_db =$ E% O/ }; E5 b- h2 Q
  1104. ( a& n% d  c; @. H
  1105. ; Default username for ibase_connect().
    , \1 f3 H* [2 S  u8 x3 G
  1106. ;ibase.default_user =
    ! [9 d9 c7 e8 \4 j& `9 E
  1107. 1 R5 A' m! D% M) ^
  1108. ; Default password for ibase_connect().
    9 K% D! H- @: h% i4 N7 U  a$ f& o
  1109. ;ibase.default_password =
    " [. y: J0 B$ g: _! g) r
  1110. / R4 u4 c& G  o. V- L& Q) O
  1111. ; Default charset for ibase_connect().# e' ?8 e: J/ b( t0 c) s% B% ]/ R& x
  1112. ;ibase.default_charset =! {5 s& I/ v: P. K! c1 w
  1113. + u" J5 P) l1 E3 U. _2 \
  1114. ; Default timestamp format.! ]" |/ H5 W1 `0 u0 u1 F" r
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"+ x7 ?6 b: K5 o; g& d

  1116. : I/ h0 E- x  K/ ]& c1 k
  1117. ; Default date format./ k. z4 ~, i* g/ w) J( D
  1118. ibase.dateformat = "%Y-%m-%d"
    9 C* U2 J8 E& p3 z3 m, E
  1119. : Y3 q2 G* [6 Q4 M5 L5 T' u
  1120. ; Default time format.2 D: n! }( k) x, e2 ^
  1121. ibase.timeformat = "%H:%M:%S"% ]/ f0 `9 _% o7 P1 L# {# ~

  1122. - _3 Q) J, ^: B# D' e+ m$ T+ L9 y0 |
  1123. [MySQLi]
    ; c- f1 [$ L# ], m; B

  1124. 4 P$ F, X0 X$ d
  1125. ; Maximum number of persistent links.  -1 means no limit.9 D8 S8 F: s+ F
  1126. ; http://php.net/mysqli.max-persistent. B0 e0 _* S/ `6 O. K8 r# m7 B; ~4 p
  1127. mysqli.max_persistent = -10 _4 [  K9 E* R( `7 B: f8 n/ ?

  1128. + L7 V# y3 e! M# B+ u
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements* l* }, g) e, z; C  W$ H5 A8 ?+ K
  1130. ; http://php.net/mysqli.allow_local_infile
    0 i# [: Z% Y- {3 _% Q1 r# [
  1131. ;mysqli.allow_local_infile = On
    1 g. c! W  }! {; V' }

  1132. $ _: V! ?4 S$ @3 Z7 i5 s
  1133. ; Allow or prevent persistent links.% h# q2 E  [8 I% S
  1134. ; http://php.net/mysqli.allow-persistent
    ; U* a; C3 {: z1 E" j
  1135. mysqli.allow_persistent = On2 U4 ?. _0 ?% P2 k

  1136. 6 _* g! r- }2 T2 w
  1137. ; Maximum number of links.  -1 means no limit.
    / e% X% C5 C3 ^) {* ~1 B' }7 N7 V) t
  1138. ; http://php.net/mysqli.max-links0 H2 i6 W; A* j8 L- X) w" s# j
  1139. mysqli.max_links = -14 C& j6 o* _0 i

  1140.   J7 W( e; v. ^2 i
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache& e5 N5 Z# A" _: G; W9 r( f
  1142. ; http://php.net/mysqli.cache_size6 J8 g: Z! `+ N; R6 {3 K5 I1 e
  1143. mysqli.cache_size = 2000, V( W- z) P( u' d
  1144. 0 A" ~8 P, s& q! M; I
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    8 x) G  Y5 ^. p0 a: V$ E
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the! v% ]) Z# W3 K. W' p& f
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look: t& N- i  r6 z
  1148. ; at MYSQL_PORT.
    6 I7 A8 N& O* N. K
  1149. ; http://php.net/mysqli.default-port
    ( S4 l6 X( B' R, P' t
  1150. mysqli.default_port = 33061 B' w& N2 V9 X" K, [# g- {- |3 T" x
  1151.   V( Y5 |1 F9 m/ J
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in0 m3 ?, \4 z1 W) k, l8 C% t5 R: W
  1153. ; MySQL defaults." X% Q9 }7 b& w8 A$ L! y0 e
  1154. ; http://php.net/mysqli.default-socket
    " c8 x% i8 b3 t& _1 Q' [
  1155. mysqli.default_socket =+ a4 J4 @8 o$ @* g$ V( q
  1156. 1 k4 t7 V) g4 [/ }! \' ]
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).% H" ~: _/ d; u
  1158. ; http://php.net/mysqli.default-host
    2 K( s8 j2 T+ P4 p( Y
  1159. mysqli.default_host =; U5 W! T* w8 |  P) _. g! K; Z3 s

  1160. & W* W: x7 I- j
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    * ]; R, @1 T: {0 @
  1162. ; http://php.net/mysqli.default-user
    + y9 T- d% H! t+ f$ X, H
  1163. mysqli.default_user =; m4 n( f5 E. H/ ~: s
  1164. 5 _! J1 ~3 B- v, K- g4 q# ?
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).1 k5 w$ o% L  ]7 O& J1 t" u
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    # X$ N! `; B- J
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    & w5 i# G$ A2 x) J! X
  1168. ; and reveal this password!  And of course, any users with read access to this
    0 A4 J3 f+ W2 r7 ?! ]6 e
  1169. ; file will be able to reveal the password as well.! }9 L0 o! Q3 E3 M. m
  1170. ; http://php.net/mysqli.default-pw* h# S4 L& _( e" u
  1171. mysqli.default_pw =6 d1 z1 k1 @# m0 a
  1172. 6 [  b  I2 h3 |/ ?
  1173. ; Allow or prevent reconnect
    ! T3 Q8 Z. b/ I( Q" U& ]
  1174. mysqli.reconnect = Off1 F" a3 e) p7 f+ o* Z

  1175. & \9 J: P) l* [/ e2 X6 e
  1176. [mysqlnd]7 v: B: e# W! s* u$ N& w9 Y- \/ ?
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be8 K' O/ F7 n/ A2 O. \
  1178. ; used to tune and monitor MySQL operations." i$ S, _# T1 D* Y) B
  1179. ; http://php.net/mysqlnd.collect_statistics6 y2 t( ~0 r5 M4 l  _5 j
  1180. mysqlnd.collect_statistics = On
    4 X$ W  l/ f1 X5 \3 |( M4 @* q

  1181. , \( f! r+ t# T" X7 R; B$ \9 o
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    6 J* H- O, H9 d1 V
  1183. ; used to tune and monitor MySQL operations.
    4 @. O" a: E2 f8 ^% g" Y4 t
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    7 {. R2 b, s; r0 X& c& m
  1185. mysqlnd.collect_memory_statistics = Off+ u* Q' c( C+ R5 A4 ?
  1186. 6 I% O# \" `8 u
  1187. ; Records communication from all extensions using mysqlnd to the specified log& r* g, P6 }" m' T. E4 |
  1188. ; file.
    . F6 {* q# M# ]9 W" m! l) D
  1189. ; http://php.net/mysqlnd.debug2 L! Y) Q! d* c
  1190. ;mysqlnd.debug =
    ) [$ i6 O. Z$ I. x1 |
  1191. , v  i, n5 E4 M2 W4 H0 A) Y
  1192. ; Defines which queries will be logged.
    ( ?, f) o. P+ ^3 ^, s/ r8 Z, v% b
  1193. ; http://php.net/mysqlnd.log_mask
    7 F5 J+ x9 @9 V6 t1 a; S5 G! F
  1194. ;mysqlnd.log_mask = 0: P3 x, v: ?+ e9 |* {2 K; q
  1195. 9 Q% W. T- R% O; u  L
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    7 B- z/ D- L, f" O* `
  1197. ; http://php.net/mysqlnd.mempool_default_size
    0 x, a3 O, ~1 K) a  M& I5 z
  1198. ;mysqlnd.mempool_default_size = 16000
    6 t/ B$ m$ E3 l) N3 T( B

  1199. * R- \' n* s; j$ n3 g7 W
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    ) ^: v0 r* N  A% }/ u3 @
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size/ G* w5 I3 U' x1 x1 ?2 x" x
  1202. ;mysqlnd.net_cmd_buffer_size = 2048$ j2 \2 M. _) Z3 B

  1203. " [2 K3 S( c: W. u3 [) _5 h# T6 w
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    7 q  _6 H" P2 w5 J; y! @) p) G
  1205. ; bytes.
    2 M2 n3 I9 D5 R5 J3 k. c* X6 ^5 G' I
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    : {/ t# b# C1 T: X6 _6 z5 f
  1207. ;mysqlnd.net_read_buffer_size = 32768
    , @7 _  H$ `4 J
  1208. ( F9 b( J0 n+ u' g- w" R  t
  1209. ; Timeout for network requests in seconds.
    2 K+ o+ q' P+ m! f, i
  1210. ; http://php.net/mysqlnd.net_read_timeout) m& o% C# N% A0 B' g/ d1 }
  1211. ;mysqlnd.net_read_timeout = 31536000; o8 |; M0 w9 t" `. G$ `

  1212. + Z( p/ H8 u& `/ E, d; Z4 u
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA: o) Y! M0 u5 @- Y3 N, Y
  1214. ; key.
    ( m# h" Y) z  P0 d. r- v: v( }# z
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    3 H4 r& e" h1 c0 |' b* _  t4 `
  1216. ;mysqlnd.sha256_server_public_key =- T+ E- ~( }% h! z+ T7 ~% r
  1217.   r# h$ k& f" J( |) J
  1218. [OCI8]
    7 w  [% }4 i1 @2 ]- z1 b
  1219. 0 c. R1 e2 P" e: [3 W3 H% R; e
  1220. ; Connection: Enables privileged connections using external" |$ V, |1 ]4 T* g# w
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    & p( M2 m6 B5 o! h6 z( w
  1222. ; http://php.net/oci8.privileged-connect
    4 L3 n: ?! j+ B1 b( \
  1223. ;oci8.privileged_connect = Off2 Z. V- U* I; _- I

  1224. 4 M8 V" ]" l5 _$ S
  1225. ; Connection: The maximum number of persistent OCI8 connections per! S" B& T# @8 |2 v. [$ [
  1226. ; process. Using -1 means no limit.
    ( U- h1 s8 [6 e! I
  1227. ; http://php.net/oci8.max-persistent
    4 S# ?! ]8 j! V4 H7 w
  1228. ;oci8.max_persistent = -1  X( S- F0 ^& ~$ S  B% H

  1229. ! q# v. ]  b' k6 Z% b  ]- a
  1230. ; Connection: The maximum number of seconds a process is allowed to6 O5 L, r# V' T" \+ Z! h3 r% C
  1231. ; maintain an idle persistent connection. Using -1 means idle
    , i6 t* V" N) I& E) N
  1232. ; persistent connections will be maintained forever.3 B% w- n0 B0 u( P9 v
  1233. ; http://php.net/oci8.persistent-timeout3 b5 X3 l* G' |
  1234. ;oci8.persistent_timeout = -1
    ) l3 |) ]. g' U7 C0 {) `9 G
  1235. ; ^+ A1 w9 u* Y  S: e2 u
  1236. ; Connection: The number of seconds that must pass before issuing a
    7 F& p, k1 {9 @* B; \* r# B% [& i
  1237. ; ping during oci_pconnect() to check the connection validity. When
    # x+ |) v# L$ w$ z& _
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    ! f& z. v$ \& K4 U% n* Y
  1239. ; pings completely.
    : M, I+ ?  O; r* M$ d. I" \/ L
  1240. ; http://php.net/oci8.ping-interval1 s6 R0 t% G  Y) d8 a- T
  1241. ;oci8.ping_interval = 60
    $ `+ y$ w) w, w! Y4 C$ a9 p0 O
  1242. # A) _* V6 J: \; Y6 }6 E7 @
  1243. ; Connection: Set this to a user chosen connection class to be used6 L2 }' l! P0 B0 Z# |) f# n
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    7 c/ g  O0 y4 l- c4 n* p6 C3 `4 w
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to" F8 z" A! P- B( c; z* s
  1246. ; the same string for all web servers running the same application,1 R: ]: h( P! ^1 ~9 s. Q6 q
  1247. ; the database pool must be configured, and the connection string must
    0 ?/ \  f# i+ ?% f. x/ A
  1248. ; specify to use a pooled server.
    , U2 l, o! T1 z8 `
  1249. ;oci8.connection_class =% v5 k/ ]9 w6 k( P
  1250. 3 i) h* ]" E! ]
  1251. ; High Availability: Using On lets PHP receive Fast Application8 D6 `# l# O9 z6 X
  1252. ; Notification (FAN) events generated when a database node fails. The! }1 ]( }2 ?1 G# w8 m5 b
  1253. ; database must also be configured to post FAN events.
    . I4 M% K+ I5 u, q
  1254. ;oci8.events = Off  c7 z8 ~! p: `8 \

  1255. * ]" z! J* C8 P& U6 a4 y# ?4 }
  1256. ; Tuning: This option enables statement caching, and specifies how
    3 J5 y6 c8 G: L
  1257. ; many statements to cache. Using 0 disables statement caching.
    + J9 E% ~: @2 Q  b: Y
  1258. ; http://php.net/oci8.statement-cache-size
    $ z2 s, a5 O" D6 U
  1259. ;oci8.statement_cache_size = 20
    + h9 \, |4 i; ^  g* i6 G

  1260. / n% t3 x" E6 o; j' Q
  1261. ; Tuning: Enables statement prefetching and sets the default number of; u0 n* j6 O$ J* D
  1262. ; rows that will be fetched automatically after statement execution.
    1 J$ w/ Y( Y9 j* ]
  1263. ; http://php.net/oci8.default-prefetch, }9 W% u/ j) M9 ?
  1264. ;oci8.default_prefetch = 100
    2 |) z8 Z$ z, `) _9 H
  1265. ; e, @2 r* c" Q6 b2 Q
  1266. ; Compatibility. Using On means oci_close() will not close! |- U6 T  C9 p9 b, M
  1267. ; oci_connect() and oci_new_connect() connections.5 o3 @; e5 r6 Z
  1268. ; http://php.net/oci8.old-oci-close-semantics  ]# }2 i9 B% p" i
  1269. ;oci8.old_oci_close_semantics = Off
    ' p) o' Q' V9 k4 ^: |* y

  1270. / ?- `: `5 f! L) w- l5 G
  1271. [PostgreSQL]5 L/ ?# q& s. Y, A5 n. Z
  1272. ; Allow or prevent persistent links.7 D0 ~) U6 i1 K: J4 ^# n
  1273. ; http://php.net/pgsql.allow-persistent
    . v7 N# Q) U5 w9 d. J9 {
  1274. pgsql.allow_persistent = On
    ' b( _, }1 k: M( A; E$ o$ B, _2 S+ k
  1275. , a) @4 J1 t. J' J8 D
  1276. ; Detect broken persistent links always with pg_pconnect().8 L' X/ m, F3 E0 t3 M+ ~
  1277. ; Auto reset feature requires a little overheads.' u) N- P4 E) |+ c6 a" f
  1278. ; http://php.net/pgsql.auto-reset-persistent
    1 V$ N% _  S  I& C
  1279. pgsql.auto_reset_persistent = Off
    : G. |- a9 U/ G' E
  1280. ; W3 ~4 ]1 s8 `
  1281. ; Maximum number of persistent links.  -1 means no limit.$ S. g* N) k$ @' O
  1282. ; http://php.net/pgsql.max-persistent
    ' D- T. s5 h( ^& W; P* q
  1283. pgsql.max_persistent = -1
    " K- x9 s% F+ q" G4 e+ P

  1284. 3 ^1 q, V4 u: S" l
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    ) v! \) I  g. b( B! H9 {, W! k
  1286. ; http://php.net/pgsql.max-links
    8 @0 Z6 d! l! M$ @$ `+ s
  1287. pgsql.max_links = -1
    , X; ?% T9 Y: t
  1288. 8 e; H! Z2 \5 I; `) r# c# z. P
  1289. ; Ignore PostgreSQL backends Notice message or not.3 U& I# H# ^+ w9 @1 g
  1290. ; Notice message logging require a little overheads.7 t; x6 D; }9 ^/ w8 Q
  1291. ; http://php.net/pgsql.ignore-notice
    ! d1 @2 j( ~" R( s) Q1 `
  1292. pgsql.ignore_notice = 06 {1 w0 c2 D/ f$ i0 w
  1293. - A$ p, Q/ L. }  o
  1294. ; Log PostgreSQL backends Notice message or not.3 {) J7 t! [+ q2 X$ C: h4 V
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    % e0 d0 J# y5 V1 ?' p$ D
  1296. ; http://php.net/pgsql.log-notice
    1 y  d6 e5 A# H$ T4 K
  1297. pgsql.log_notice = 0
    1 Q( `8 b( K. w: T' v6 d  n

  1298. 1 o7 I- U' a. L7 j  S  ^
  1299. [bcmath]
    ; V6 M$ `3 E7 D0 }! s8 }+ S
  1300. ; Number of decimal digits for all bcmath functions.
    1 Q3 o9 [) x) P! P8 [' E
  1301. ; http://php.net/bcmath.scale
    - l+ e& S4 X$ c9 A5 c
  1302. bcmath.scale = 0
    - H) |  U3 Q6 b. |- o* `
  1303. ' l. S' v: p6 l1 _2 Q2 ?
  1304. [browscap]
    ! {. J" V! o" Y" `; j2 l+ x. @0 x
  1305. ; http://php.net/browscap& P1 L: U& ?" z% ?
  1306. ;browscap = extra/browscap.ini; b# ^  M" \1 U
  1307. " X' F4 X# L  @1 S! L
  1308. [Session]6 T- G! R, c+ Z; g
  1309. ; Handler used to store/retrieve data./ ?8 O! H; ^8 b9 [$ k
  1310. ; http://php.net/session.save-handler
    4 t: _- E7 F% g3 I$ k* v$ r2 f# g( b. t" J
  1311. session.save_handler = files
    0 D+ }, Z) ]) {1 m' q
  1312.   K4 h1 c( ~( |: A6 [; z
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    ; E* _: p: T5 n8 v7 K
  1314. ; where data files are stored. Note: Windows users have to change this  T/ N1 S$ l% I* F7 L; k5 L; M, _
  1315. ; variable in order to use PHP's session functions.1 K- o6 A5 k" t& ~7 I5 I: J  N! J" N
  1316. ;
    $ ?9 r% }" x2 V
  1317. ; The path can be defined as:
    ( V5 t$ k" d: E, z& g" R+ u
  1318. ;) L' `3 n& b8 h. F  |$ {% j8 k
  1319. ;     session.save_path = "N;/path"$ h9 ~& P  r: B% E
  1320. ;
    - k9 A6 [2 R, O3 p' X
  1321. ; where N is an integer.  Instead of storing all the session files in3 r6 a1 V8 f% v& z8 l& f% s+ p
  1322. ; /path, what this will do is use subdirectories N-levels deep, and9 t  [* c( @' _( Y5 m: |
  1323. ; store the session data in those directories.  This is useful if
    , \4 h, l/ S+ g% A9 M
  1324. ; your OS has problems with many files in one directory, and is: q) P6 ^- ~* o% k1 W8 P6 k9 E! j
  1325. ; a more efficient layout for servers that handle many sessions.: [2 Z% G. |1 Y' e
  1326. ;
    ( `; |  b3 }4 m# k
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    1 p8 J' @% ^# k  j2 @- u
  1328. ;         You can use the script in the ext/session dir for that purpose.
    8 W3 @8 V1 w% [% G
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    4 Z% h( F7 y, n0 C/ n
  1330. ;         use subdirectories for session storage
    . _4 y& C: J5 t, z
  1331. ;5 c- g& m5 S/ W% E9 Y
  1332. ; The file storage module creates files using mode 600 by default.
    . G8 y; R7 b, Q" a. c  P
  1333. ; You can change that by using
    , j: o% X% h( w
  1334. ;
    " z* M6 i1 j( I
  1335. ;     session.save_path = "N;MODE;/path"
    + N7 u+ B5 L$ K: ^
  1336. ;% R0 m, }& J- U* i/ n3 t" I
  1337. ; where MODE is the octal representation of the mode. Note that this' l% z6 s" `* j% w+ l
  1338. ; does not overwrite the process's umask.3 p7 I1 X6 l) x  Q  F  z/ f
  1339. ; http://php.net/session.save-path
    4 R3 d7 |( M5 G; u" n2 f) ]% w
  1340. ;session.save_path = "/tmp"
    ! M" `1 I4 \% V4 a0 L8 C
  1341. : W3 c& ?8 i$ h  K$ y
  1342. ; Whether to use strict session mode.
    ) N9 R3 B8 M. J
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate" h8 D# H# r' u8 o# V" o" ]3 W
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    & F# o: o( Q, _: D
  1345. ; applications from session fixation via session adoption vulnerability. It is6 {. M! Y" f7 P; P- i1 L
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.3 x, s# U, z$ o, V$ M* U0 M2 I
  1347. ; https://wiki.php.net/rfc/strict_sessions
    $ h* `, X9 Z3 P& K/ v, `1 q
  1348. session.use_strict_mode = 0
    4 ~9 U: C9 ~! k2 B
  1349. ! X# r+ [% z: b* r4 j# n8 F! x0 O- G
  1350. ; Whether to use cookies.8 W- N+ J9 y1 K& O
  1351. ; http://php.net/session.use-cookies6 _7 F$ ?+ p% d+ J5 }) F4 ]6 p
  1352. session.use_cookies = 1* O; u& H! k# J% N0 s, T0 m
  1353. 0 Y0 g' X2 `6 S- e1 |, x
  1354. ; http://php.net/session.cookie-secure
    * ~) `: }) D1 ]! G& T7 C" Q  o; J
  1355. ;session.cookie_secure =  j* m: [# x/ a0 s1 W/ V# b
  1356. 1 v0 }' l+ |/ S
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining" Q7 f& G; g$ j* }8 u7 ?
  1358. ; the session id. We encourage this operation as it's very helpful in combating1 g9 h4 \. O9 N- b* ^$ B3 @& j
  1359. ; session hijacking when not specifying and managing your own session id. It is4 c- R& Y+ R7 I' a$ ?9 B, G
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    + Z, Q- Z' d1 C/ T. j
  1361. ; http://php.net/session.use-only-cookies2 V6 X7 B( k" z+ V6 P) J1 k
  1362. session.use_only_cookies = 1
    2 I+ u, t4 s, a3 w% _6 @0 O

  1363. 9 c) o2 E& J2 A* \" {
  1364. ; Name of the session (used as cookie name).8 }( M% l: ]: Z, F7 k8 M
  1365. ; http://php.net/session.name( {4 c) @, b4 ?- P
  1366. session.name = PHPSESSID5 |/ f' l- W( R: W1 _* m4 k! K
  1367. 3 x0 ]9 \$ f6 q! }2 s
  1368. ; Initialize session on request startup.; x# Z% G3 J6 s
  1369. ; http://php.net/session.auto-start' k" b( @2 B2 [8 Q8 f
  1370. session.auto_start = 0
    6 G3 w2 L" y6 Q3 H
  1371. + b% ?. z1 r1 L/ w9 P# s$ ^
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    & E- F) s4 h# P% m: b0 W* A
  1373. ; http://php.net/session.cookie-lifetime
    : v" W. j! j1 T0 |3 T0 g# D. G! i
  1374. session.cookie_lifetime = 01 r( n3 g& O5 K4 n0 Z

  1375. & [' m/ Z  p! I1 M3 r
  1376. ; The path for which the cookie is valid.. _* f+ V$ w- I! r
  1377. ; http://php.net/session.cookie-path6 g7 f+ c5 ]$ b2 S3 i- ]. _
  1378. session.cookie_path = /
    0 d0 J0 p1 @- r3 X9 R  l6 E7 P
  1379. 9 X8 E* c$ n$ }+ p2 X* i
  1380. ; The domain for which the cookie is valid.
    4 a/ {" m! Z" v. a+ F: `
  1381. ; http://php.net/session.cookie-domain
    ' |! `* x8 ^0 K1 s
  1382. session.cookie_domain =
    ' s- A4 l. ^+ I

  1383. + J% D2 H( k& j6 a+ M# C
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    & f3 a9 d  g: D! q
  1385. ; http://php.net/session.cookie-httponly1 ~: o5 |2 v% z6 \3 v
  1386. session.cookie_httponly =
      o* X( \4 k$ K% x4 S
  1387. ' k3 u+ [. p! Q" U8 m
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
      V4 v6 L/ q) n( O. o$ c  o
  1389. ; http://php.net/session.serialize-handler7 P( P+ r3 G7 ]  G2 |0 y$ B7 A/ F
  1390. session.serialize_handler = php6 ~% X! j5 U1 Z6 w+ s# r' H. v

  1391. 4 p1 \2 O2 E* p) N
  1392. ; Defines the probability that the 'garbage collection' process is started9 D, d4 t; g$ b+ K) z
  1393. ; on every session initialization. The probability is calculated by using
    0 G* s* q2 O& V8 a" t6 D5 f& G
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    2 s, M+ `' I/ C& r
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 16 U3 D7 k6 x% Z" [: `/ P* A
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance8 x4 |8 E/ g& E' ]
  1397. ; the gc will run on any give request.
    . E- `0 u! j% I) T0 T) R
  1398. ; Default Value: 1& E0 t' z2 G9 e: Q! `& c- ^5 i2 k- I3 }" T
  1399. ; Development Value: 12 t( j0 n% m# z# p3 e& k
  1400. ; Production Value: 1
    * f% v5 f! h7 r8 x$ p' c
  1401. ; http://php.net/session.gc-probability; c8 w. ]& x( l. e  y
  1402. session.gc_probability = 14 D# y* M& n" ^  S9 ?
  1403. 2 r" f6 Q. u2 n* T7 S% i- y& C
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    5 m3 u" b( r! w. A- o5 U* K
  1405. ; session initialization. The probability is calculated by using the following equation:' e$ M8 _5 r" ]7 f/ \
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and6 T& \/ V; }# R" l# T
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 19 b9 @4 @4 N" B) ]# A- ?8 [! `- @2 ]" K
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    , g8 B! {3 ?3 A& a) P' @+ w( [
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    4 C" L6 F3 {4 _0 @3 Y4 C( H
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers," {8 v6 `% D1 n8 p4 ^0 O" j% K  k
  1411. ; this is a more efficient approach.
    7 e3 Y6 j5 r" f9 V3 @- s( o
  1412. ; Default Value: 100
    ! T  n' [5 ~4 p7 a- ~# i5 [9 ?
  1413. ; Development Value: 1000; e# ?7 v% ~+ y. N5 ^7 U
  1414. ; Production Value: 1000
    ( n3 m) i2 R3 |- a/ \) k4 P# q- c
  1415. ; http://php.net/session.gc-divisor" F* D# _3 }- R: Z" ]
  1416. session.gc_divisor = 10002 o* R- A* d* B9 F
  1417. 6 D( V* b* A/ v6 V, g
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and2 c6 C: I2 U# h
  1419. ; cleaned up by the garbage collection process.
      L1 A: V6 B8 y# `1 [0 r2 e
  1420. ; http://php.net/session.gc-maxlifetime
    0 C2 s4 k- p7 d6 ]
  1421. session.gc_maxlifetime = 1440
    / b' C3 \) K' O: H  ^* {: U5 z
  1422. " H/ Y$ j0 U' C/ `
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    6 Z& L! I- p% [7 j2 L" K
  1424. ;       (see session.save_path above), then garbage collection does *not*
    5 N+ N! k6 [3 ~  A- h- @2 E
  1425. ;       happen automatically.  You will need to do your own garbage/ k/ @6 a1 i& r$ e
  1426. ;       collection through a shell script, cron entry, or some other method.
    + Q  E8 h  d* `1 c3 N/ ]
  1427. ;       For example, the following script would is the equivalent of5 m" R8 v4 I* I- W! u5 L  y
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    6 y7 \0 p- L9 w' h
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    4 G. A9 J3 d7 B6 C7 f
  1430. * c  p& p6 q  \5 p  c7 w2 X
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    $ n2 ~) D6 B& G; q5 P
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    ( V; b* i) G9 B, }9 \
  1433. ; considered as valid.
    ' }5 P  |" A! w& }$ H0 w
  1434. ; http://php.net/session.referer-check
    / F& T* s, D2 s
  1435. session.referer_check =
    ) M7 \( S# W5 K' [3 A4 |) H

  1436. & d& [! Z$ X1 h: ]  K
  1437. ; How many bytes to read from the file.* B( Z# i2 ?1 }+ X7 U7 {% G
  1438. ; http://php.net/session.entropy-length
    , |' G5 l3 B! m6 U& o, `
  1439. ;session.entropy_length = 32
    . d. {# |, C5 W% ]+ m! |( p0 {) m

  1440. ; y( \) B! H- M6 j  t+ y
  1441. ; Specified here to create the session id.
    3 d$ R: s. X) M# `- U) i
  1442. ; http://php.net/session.entropy-file1 v" ^# E, c2 J4 C4 H
  1443. ; Defaults to /dev/urandom
    & ?  [# c7 ?9 @6 D  w" A7 a, S% A
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    8 h, u1 K; ?9 u) r
  1445. ; If neither are found at compile time, the default is no entropy file.
    1 Q" A% W" e3 Q
  1446. ; On windows, setting the entropy_length setting will activate the# P. M* s6 W! ^$ O. q) |' t
  1447. ; Windows random source (using the CryptoAPI)
    6 s4 F* ?" W. I# B
  1448. ;session.entropy_file = /dev/urandom/ b0 V7 w* H4 W& a

  1449. 2 t- K+ x- a9 s- P
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    7 z5 X& v$ j$ o) j' M
  1451. ; or leave this empty to avoid sending anti-caching headers.  L- j4 ?* Q, z7 A
  1452. ; http://php.net/session.cache-limiter5 T) A$ B' A* Y! g. R0 f/ R
  1453. session.cache_limiter = nocache+ K* T' F& x: C% [

  1454. + j/ }- |6 ^5 X8 z1 ^/ C' P# d
  1455. ; Document expires after n minutes.; u. B# y. @& f
  1456. ; http://php.net/session.cache-expire. o+ ?  A+ y4 v: j) }
  1457. session.cache_expire = 180
    - [; N/ c- p" g

  1458. " Y2 U% u0 }  i0 \
  1459. ; trans sid support is disabled by default.
    0 H3 f5 p  [5 }7 v7 i' B
  1460. ; Use of trans sid may risk your users' security.; V) d2 P) E/ Y  s3 o) Q! w
  1461. ; Use this option with caution.
    / W  w% R8 M* \  _7 t1 q5 C
  1462. ; - User may send URL contains active session ID- h0 E- a* e; x1 F
  1463. ;   to other person via. email/irc/etc.
    . k6 p' V2 q- U' J8 |
  1464. ; - URL that contains active session ID may be stored4 n+ S! q! `+ c8 m( H; n' d
  1465. ;   in publicly accessible computer.# f$ A. G# t7 F+ v& K
  1466. ; - User may access your site with the same session ID
    5 p, j: }2 [# z+ |
  1467. ;   always using URL stored in browser's history or bookmarks.
    $ \' O" `6 y* u  ]: n& v' q
  1468. ; http://php.net/session.use-trans-sid
    & l9 D" M. Q5 _& V( h# X$ t
  1469. session.use_trans_sid = 00 ~7 k1 w) E8 \7 x5 P0 J8 z5 A
  1470. 1 U  g  d0 h, h$ O/ |7 t" O# {
  1471. ; Select a hash function for use in generating session ids.
    : a$ f, N) u# i
  1472. ; Possible Values" g' E7 k" F4 Z( W/ U9 N
  1473. ;   0  (MD5 128 bits)3 F9 f  ^7 k3 S2 {" E/ O# k
  1474. ;   1  (SHA-1 160 bits)3 _% E! @1 ~* d- s; N& v' h
  1475. ; This option may also be set to the name of any hash function supported by
    9 F" r. H2 B' L8 r
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()9 N4 ~! R! J: n, _" t3 Q
  1477. ; function.
    3 @  h& R$ U% o7 s
  1478. ; http://php.net/session.hash-function: j( {; c! q: j3 C: w
  1479. session.hash_function = 0
    1 E! S- b  V* W& _9 h+ Y
  1480. 9 b# w' l1 s' y/ s& J" `  h
  1481. ; Define how many bits are stored in each character when converting
    ; F! x" n) P1 c4 o
  1482. ; the binary hash data to something readable.
    1 w8 ?- v7 k( U$ w1 Y; M  E0 n  z; {
  1483. ; Possible values:; K. G  J) C# w5 H
  1484. ;   4  (4 bits: 0-9, a-f)
    3 B. D) n* G& A6 u1 x
  1485. ;   5  (5 bits: 0-9, a-v)
    8 x) r: c8 L3 d; t5 J% L( a8 l
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")& p! M, p' x% X
  1487. ; Default Value: 4
    1 F6 [& U2 D! d4 p" r
  1488. ; Development Value: 51 d$ l4 M9 y$ a; O$ D  L
  1489. ; Production Value: 55 N3 F0 p+ |* j7 g7 i$ R0 C
  1490. ; http://php.net/session.hash-bits-per-character9 Z" k4 `) R: c1 G! M1 F* f
  1491. session.hash_bits_per_character = 5; n# o; i0 `! _% h. A
  1492. " |! r3 s1 n+ g# j  L
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    , q, s7 K" l( A
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    3 i$ t8 H$ t, H& ~8 R
  1495. ; add a hidden <input> field with the info which is otherwise appended8 N  a0 [4 |5 e1 u7 z+ y
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    ; |" K1 r" L. y8 K& E
  1497. ; Note that all valid entries require a "=", even if no value follows.3 A1 f  K2 m& \) U4 C6 |2 s$ |/ I
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="# |, ^$ B8 x5 W. `( ]1 Z
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    / U$ b# C" n+ ?" e! w9 m1 A
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    * {0 l" ]6 n3 C# B7 `$ c4 A
  1501. ; http://php.net/url-rewriter.tags0 I7 q" s0 q! H* \
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"' j4 q1 d9 j7 i, r6 y5 E
  1503. & Y/ R6 n' G3 C0 ?: j" @
  1504. ; Enable upload progress tracking in $_SESSION
    . {: e. G/ u( f; y. |
  1505. ; Default Value: On; t. P# ~' b% {/ z3 M/ g
  1506. ; Development Value: On
    ; ^+ p! R, ]$ g7 A& E0 D
  1507. ; Production Value: On' L/ o% v2 p/ Q! `' m  G
  1508. ; http://php.net/session.upload-progress.enabled
    # {! a6 U  A7 J$ M/ z+ }+ x' t( {
  1509. ;session.upload_progress.enabled = On
    ' M2 c1 F. J$ c

  1510. . @/ R' ~  c, T2 C' ^
  1511. ; Cleanup the progress information as soon as all POST data has been read
    . N7 a2 L7 n0 D: y, ~
  1512. ; (i.e. upload completed).
    & p$ A/ x* ~" |6 M( \% _+ E8 ?  Z; }
  1513. ; Default Value: On
    " u4 R" t' T  S8 ]6 I
  1514. ; Development Value: On
    + V/ j/ v4 {: ~1 k$ ]4 X$ e# \; {
  1515. ; Production Value: On# k+ s, x( x& t% I5 M$ x9 j: b, g$ t  |, u
  1516. ; http://php.net/session.upload-progress.cleanup2 J& Y! `4 f5 B1 Q+ J# {/ X
  1517. ;session.upload_progress.cleanup = On
    " R; |5 }8 q3 _% m2 u$ W  }
  1518. , x( t# k8 p8 T" q
  1519. ; A prefix used for the upload progress key in $_SESSION
    4 L5 }6 b* e3 l- V) s. w8 x; d
  1520. ; Default Value: "upload_progress_"0 X& o* o- h" u% f) ~# ?
  1521. ; Development Value: "upload_progress_"
    3 Y2 S& z  C* O+ S
  1522. ; Production Value: "upload_progress_"- p- k1 `8 z; L2 B
  1523. ; http://php.net/session.upload-progress.prefix- X- M# i% b0 T. w. C
  1524. ;session.upload_progress.prefix = "upload_progress_"
    % @) D4 ]! P! E& p! w- U0 P

  1525. 8 z  t/ K7 j- R" h. y. f' p& y
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    0 V9 k& |9 D2 Z" i
  1527. ; containing the upload progress information
    ! g! R& `/ w  b2 d3 i/ w" G3 [  E
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    / ?; }% V) U' p$ x3 r) g5 v
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS", O* D; Z" J6 i/ b* }) v0 N
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS", E# O; g$ y+ M+ Z, I- _/ r
  1531. ; http://php.net/session.upload-progress.name7 s% C  z! l+ g+ D. M
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    $ H; P; b* W- D/ d

  1533. , u9 ^4 s4 \  D0 j$ Z5 A- v
  1534. ; How frequently the upload progress should be updated.$ v6 n1 J, q7 B( _
  1535. ; Given either in percentages (per-file), or in bytes
    7 V% @3 d+ G* w6 w7 K
  1536. ; Default Value: "1%"
    - `4 o" w/ M  r* _& }4 v" E
  1537. ; Development Value: "1%"# y1 @: a! R. @$ Q) |
  1538. ; Production Value: "1%"
    % _8 n0 y. t* V% d
  1539. ; http://php.net/session.upload-progress.freq0 b; z: g* \( V8 A- B  p
  1540. ;session.upload_progress.freq =  "1%"6 z2 S4 X# U" U

  1541. 3 I' _0 O5 ^9 w, q. D! P2 m* y
  1542. ; The minimum delay between updates, in seconds- N! M, ~- r; k% J
  1543. ; Default Value: 1
    + k$ g: U8 r$ ]  u/ D* R7 q
  1544. ; Development Value: 1& o/ _$ q& }- K% ^  a! ?( l
  1545. ; Production Value: 1
    & J5 v# M: i- I/ `; V' n
  1546. ; http://php.net/session.upload-progress.min-freq3 g0 v+ j  J1 T  y
  1547. ;session.upload_progress.min_freq = "1"
    8 ]. H4 y0 m3 D3 u% j
  1548. % [6 l  q3 B) V6 j7 w: n
  1549. ; Only write session data when session data is changed. Enabled by default.+ ~. l4 |6 T0 A- x
  1550. ; http://php.net/session.lazy-write5 ^& e. M, }+ u1 s( I" `, V4 @' j
  1551. ;session.lazy_write = On4 b9 Q- Y& P, R# p& r' x
  1552. 0 p* g6 y- x4 e0 K6 X; k& I# n
  1553. [Assertion]
      P( F4 ?' Y- d* }, I# ~0 U
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)/ Z4 x5 H4 d) c% c7 c
  1555. ; -1: Do not compile at all
    8 r# L( ^, I9 P. |' P
  1556. ;  0: Jump over assertion at run-time
    5 N1 y: @, d+ O' q4 i: @9 }: e# f
  1557. ;  1: Execute assertions* Q% X- E& C  r. o$ `) o* N
  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)
    ! P& X7 d9 h/ n
  1559. ; Default Value: 11 B/ Z' e* P' F5 Y
  1560. ; Development Value: 1
    ; O$ q2 [. w4 D
  1561. ; Production Value: -18 O2 d' \' \* H# ]7 O9 w: @3 B/ U
  1562. ; http://php.net/zend.assertions. S# Z" {' @, k
  1563. zend.assertions = -1. G+ K2 x, g! F- O, z
  1564. 2 }3 T' S$ i7 U8 O3 h' A) A2 _
  1565. ; Assert(expr); active by default.8 K+ C. }0 \. U: D4 M, r; Q
  1566. ; http://php.net/assert.active8 y1 y5 n8 o: j: x5 `
  1567. ;assert.active = On1 Q2 G3 ^5 j* L; g4 y

  1568. 5 x1 r! ]1 X3 l4 P$ g" ~$ \
  1569. ; Throw an AssertationException on failed assertions
    * s' G2 k  F  n/ W; h4 M- V# L
  1570. ; http://php.net/assert.exception
    ' H6 z9 w5 D6 ~/ v" T0 P
  1571. ;assert.exception = On
    . A, ~  L1 \* s2 e2 `
  1572. % C" V7 t, W6 ^0 K6 e
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)9 R% s9 x3 Q3 X# r: G; W; p  S
  1574. ; http://php.net/assert.warning7 I" q4 S1 g2 V8 Z" Z$ A5 p: K& M
  1575. ;assert.warning = On2 E# b+ f( L8 R; b
  1576. # j2 R% V% ~6 B* t. A+ @8 \: q, T
  1577. ; Don't bail out by default.
    7 j% g# p# j1 ^! T
  1578. ; http://php.net/assert.bail
    / Q* F$ B* s& M- ?
  1579. ;assert.bail = Off& a' I% a: J5 Z$ r% E+ b& E$ z) T1 k
  1580. , v+ H( a" y9 j
  1581. ; User-function to be called if an assertion fails.; J: H6 G$ W: R( I9 k! d, B( n
  1582. ; http://php.net/assert.callback) g# j6 t$ ~/ C2 v8 `( I
  1583. ;assert.callback = 0
      w: o% l/ f/ ^! G7 m

  1584. " K1 d) i! n; a  M" U+ E( `5 e
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    ' `  x1 M& m0 p
  1586. ; error_reporting(0) around the eval()./ k% ?# T& c2 e( ~
  1587. ; http://php.net/assert.quiet-eval
    ) l# r# K: w! Q
  1588. ;assert.quiet_eval = 0
    ( ?  Y  G- L$ i0 q

  1589. ; v% Y$ i/ s9 @* ~1 t9 R# x+ a+ D
  1590. [COM]$ @& Y8 L* ]: R7 }; R
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs: K* }( G- y; d7 i8 Y% R' u- f) O
  1592. ; http://php.net/com.typelib-file
    , a) y" v' L# o) R
  1593. ;com.typelib_file =" ^7 b( G: Q: N  [9 L& P& `: t: F

  1594. ' [0 O4 S' _5 t6 G* q- Y9 S
  1595. ; allow Distributed-COM calls
    5 U* T$ y7 M: |" C0 ]% ~* i2 q& w
  1596. ; http://php.net/com.allow-dcom
    : M+ Q* W! H. v) D
  1597. ;com.allow_dcom = true1 G/ W7 l7 s$ ?

  1598. 9 b* ~3 P4 e8 D  m7 ^
  1599. ; autoregister constants of a components typlib on com_load()
    2 f7 C. u8 ~0 ~2 C& T# @
  1600. ; http://php.net/com.autoregister-typelib$ A8 @% `* l0 b0 {, [
  1601. ;com.autoregister_typelib = true
    " T7 D3 `% E+ c, L, e
  1602. . Y; I5 ]2 `' t0 V7 |. H( u' @$ ?
  1603. ; register constants casesensitive
    2 J$ v( p* F9 V
  1604. ; http://php.net/com.autoregister-casesensitive
    4 M6 J" c6 u  T- D  `
  1605. ;com.autoregister_casesensitive = false, d/ }$ L7 g7 I

  1606. ) v, ]3 d6 e2 A  B
  1607. ; show warnings on duplicate constant registrations" {9 M& A( b7 D. J) D- x
  1608. ; http://php.net/com.autoregister-verbose3 E/ }8 f0 L9 h' U- p
  1609. ;com.autoregister_verbose = true
    5 ~% t" B1 z$ h

  1610.   y- g' |0 k( `* B4 F2 L6 b
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    - u; J* K' F; D) Z- h2 O6 O
  1612. ; Default: system ANSI code page
    - h* e$ d' [. c3 N
  1613. ;com.code_page=
    2 d% e0 r/ Q6 c" p
  1614. 3 h' B8 l3 {5 u; V& v: Q) L3 \
  1615. [mbstring]1 L5 S) a" D" e3 N- B9 x! X
  1616. ; language for internal character representation.
    * o( A+ s$ g, X2 I( k! N6 a) V
  1617. ; This affects mb_send_mail() and mbstring.detect_order.6 P7 U( c& [- c
  1618. ; http://php.net/mbstring.language
    7 t; ~! |3 l. R" s( P7 T1 x
  1619. ;mbstring.language = Japanese/ D4 V( j, A+ q, X( E# W1 N5 z* b

  1620. ; |/ Q; k8 S$ a% l, s/ ^* H8 r
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.8 L" B4 o& p& B/ \
  1622. ; internal/script encoding.! E' p  G, ~& }: J5 c
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)1 y5 G5 J+ Q' l# v
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.1 I/ e% w( v, ^( o5 i2 N5 @! W7 C
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    $ P0 o, `& ?3 P
  1626. ;mbstring.internal_encoding =
    3 a% G+ o4 F9 |1 j3 t  q" b

  1627. & M& K( X( }6 T: ?( \; d+ M, c
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.! Q( ~' V# G9 c2 ^' r2 r
  1629. ; http input encoding.
    % l+ w9 ?# a; i
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    * p5 F$ Z; X( ]# o2 a0 g; y* k- Z
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    ' s) a) K' j0 ^1 @- e7 f( D
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    * r) Q' E* o5 Z5 U' Q
  1633. ; http://php.net/mbstring.http-input
    * Z- ?/ B9 |2 x% J
  1634. ;mbstring.http_input =
    ; z1 S, Y4 X6 i4 u5 Y: ?- G5 D

  1635. / B& A$ F/ o, H& _6 l# i9 A
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.( k5 @, W. m9 v1 ~" q9 R
  1637. ; http output encoding.! L: j+ P" u2 M0 N
  1638. ; mb_output_handler must be registered as output buffer to function.$ M& c- _- o) K+ c; X
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    5 g7 i2 I8 }, a: X$ t
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    4 ^! y" W! A9 ^' j& C1 d
  1641. ; To use an output encoding conversion, mbstring's output handler must be set0 `+ K$ u2 ]. @
  1642. ; otherwise output encoding conversion cannot be performed.
    2 V2 W5 S1 i5 q
  1643. ; http://php.net/mbstring.http-output
    : H. q% e% V# q1 E( B/ p' S0 Q
  1644. ;mbstring.http_output =3 {4 L; ^' S8 ^6 k

  1645. - h( n. K$ s( t
  1646. ; enable automatic encoding translation according to
    ) g* N: ?1 A& z& h; v% P
  1647. ; mbstring.internal_encoding setting. Input chars are
    ) h6 ^3 n/ ?* n* G) `" a1 g+ i4 ]
  1648. ; converted to internal encoding by setting this to On.2 _1 ]. ^/ R2 O8 s  W' H
  1649. ; Note: Do _not_ use automatic encoding translation for) a9 v, B3 E/ P2 g2 D1 O
  1650. ;       portable libs/applications.; k1 B1 _6 i% Y+ Q/ I, r/ J
  1651. ; http://php.net/mbstring.encoding-translation3 @6 \/ C! w2 @$ R
  1652. ;mbstring.encoding_translation = Off. y8 t3 C+ Y) @
  1653. / s3 f& l' B! M$ E
  1654. ; automatic encoding detection order.- W: m. V* g: ~7 {1 C
  1655. ; "auto" detect order is changed according to mbstring.language
    - ^  k  ~" j. b8 j8 x& B( F
  1656. ; http://php.net/mbstring.detect-order6 J5 L, {5 L: W5 ^1 a% }/ V# b
  1657. ;mbstring.detect_order = auto
    : A3 g  Q  k' G7 J: o

  1658. ) H0 j$ Q* I4 z
  1659. ; substitute_character used when character cannot be converted) ]) x* K: H0 N+ k, Y" U% W
  1660. ; one from another
    ( C3 a$ s* k4 \2 }4 }/ k
  1661. ; http://php.net/mbstring.substitute-character
    , y) V6 N" d- `+ d) h
  1662. ;mbstring.substitute_character = none
    % q$ f1 o8 z+ c/ i  d( S+ ?& x' T5 L
  1663. & n! ]% t% T. w. \0 h
  1664. ; overload(replace) single byte functions by mbstring functions.( m3 i9 g- Q' P! V  \
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),7 @5 G, \9 j, z, p) i. ?$ \- c6 {
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    % O0 ?, r- f7 K* p0 ~% Q0 {
  1667. ; For example, 7 for overload everything.
    ) T9 k0 }- i9 ^: i( I. C" D& e
  1668. ; 0: No overload8 |2 S; K0 R" ]
  1669. ; 1: Overload mail() function
    5 U+ C8 \3 \, _% O+ y0 L) s
  1670. ; 2: Overload str*() functions
    7 R4 E  c9 X6 E$ E
  1671. ; 4: Overload ereg*() functions
    . }1 {9 @, Z) [/ S% c$ i( g
  1672. ; http://php.net/mbstring.func-overload) I  Z. w, G* Y9 p( L" B! `1 C, t
  1673. ;mbstring.func_overload = 0
    ! z  {1 W# l/ s" T& J: ]; \

  1674. $ J$ ~: _3 Q! v4 l) X; g2 O
  1675. ; enable strict encoding detection.( m& C4 S( O; p2 O9 t
  1676. ; Default: Off5 o- X3 J  g" d
  1677. ;mbstring.strict_detection = On- M6 {7 ^/ G, m" m9 k
  1678. 4 c$ _  s) K: K' J2 }
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()+ C; }8 O4 S1 v& y$ @! f9 g
  1680. ; is activated.! u8 @3 O1 P" o4 k
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)0 B: K8 u/ L0 @; \0 s! D# u
  1682. ;mbstring.http_output_conv_mimetype=0 Y( Y; w4 B3 n3 l) p- y
  1683. ! R5 v/ ]! u- G* O( Q
  1684. [gd]
    3 M' z' r; V% O' m0 y3 j# ?5 o
  1685. ; Tell the jpeg decode to ignore warnings and try to create$ j7 k8 T( [6 F% W) ?
  1686. ; a gd image. The warning will then be displayed as notices
    9 ^: h) s. s, v
  1687. ; disabled by default
    * s# a3 r; \% l+ i# E2 o
  1688. ; http://php.net/gd.jpeg-ignore-warning
    - a, _% f. g- [: G4 B- c4 ]
  1689. ;gd.jpeg_ignore_warning = 0
    6 R$ B* L% n+ _, ?$ I. n
  1690. * ^+ g* L: ?2 s/ {
  1691. [exif]
    , [2 v/ P, x# o
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    ' u8 a6 `6 P' |* ~5 p/ z" N; Z" S
  1693. ; With mbstring support this will automatically be converted into the encoding
      A  X" n, X) h, K
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding6 r' b" \- P# B' Z
  1695. ; is used. For the decode settings you can distinguish between motorola and$ ]! t( m- ~" i7 ~" e3 X
  1696. ; intel byte order. A decode setting cannot be empty.7 r6 Z' x0 }. T, q( }
  1697. ; http://php.net/exif.encode-unicode0 a% r( g4 }! g$ S5 R
  1698. ;exif.encode_unicode = ISO-8859-15* @$ {" R, ]  H' V; j
  1699. ! v' n  @8 e. l$ G6 E
  1700. ; http://php.net/exif.decode-unicode-motorola# [( t' \; e- f# P+ h" q- x
  1701. ;exif.decode_unicode_motorola = UCS-2BE$ N4 L& h4 |1 i& R

  1702. 2 @6 Q9 |( N, V  j: S) f
  1703. ; http://php.net/exif.decode-unicode-intel
    ! ~; J, f7 ?/ i1 ^+ V
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    / n; P. k) X* n' u3 y7 Q' J

  1705. " F& d( ?1 A8 L6 k) B
  1706. ; http://php.net/exif.encode-jis' C; H/ h$ Z+ w# |) C; R
  1707. ;exif.encode_jis =& p2 Z8 ?6 ~8 O
  1708. 6 c5 Y* I+ Z& f- C' T$ {
  1709. ; http://php.net/exif.decode-jis-motorola
    4 x0 E) x, W- m* E% T
  1710. ;exif.decode_jis_motorola = JIS
    - `6 X" R" t% K2 f. v8 k

  1711. 4 o! ?9 f5 E. B3 D( @
  1712. ; http://php.net/exif.decode-jis-intel5 H, Q! p; ~9 f6 y( J1 c) c
  1713. ;exif.decode_jis_intel    = JIS
    ' R. ?) x3 S, G- u& ^2 E& m' D# N
  1714. % D1 q5 h+ h, W1 f) J6 u
  1715. [Tidy]
    - W4 q/ \: z; U. w8 l& t
  1716. ; The path to a default tidy configuration file to use when using tidy" D- }0 B% Y9 c8 f# G( H! V
  1717. ; http://php.net/tidy.default-config
    4 i' E9 j& I9 L
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg' q5 A% I/ }7 u# g5 z

  1719. : e2 W1 Y/ @7 T
  1720. ; Should tidy clean and repair output automatically?. e8 \: Q2 p! H! `9 ^7 ^* |
  1721. ; WARNING: Do not use this option if you are generating non-html content& V1 d$ ~3 _4 |4 `
  1722. ; such as dynamic images
    * W8 U7 Q: e* g5 x4 ^* D
  1723. ; http://php.net/tidy.clean-output
    3 ?* q6 R* e) j- y) T
  1724. tidy.clean_output = Off( h0 v% e! l1 M5 F+ `

  1725. $ q- L4 L, h! x. i% }6 Z: D; u# d
  1726. [soap]
    . {; s* t3 Y0 y* D
  1727. ; Enables or disables WSDL caching feature.
    6 @" D3 j" h! r6 t. v( V# G7 P4 m
  1728. ; http://php.net/soap.wsdl-cache-enabled
    * {/ X2 P" X; N: o7 c! h
  1729. soap.wsdl_cache_enabled=1
    1 [' \6 N" I+ t5 J/ U

  1730. " j; v+ k* y& v' O7 B
  1731. ; Sets the directory name where SOAP extension will put cache files.1 S4 ?' |/ x4 G; A3 _) l2 |( \8 {
  1732. ; http://php.net/soap.wsdl-cache-dir
    5 R% Z2 Y+ }8 o( \& @
  1733. soap.wsdl_cache_dir="/tmp"& _# l  q; n2 s3 |/ g' b, `
  1734. : i# g" h7 z* Q$ f- L1 L
  1735. ; (time to live) Sets the number of second while cached file will be used5 a& C5 a" G% h) I! D  C0 _) N# [
  1736. ; instead of original one.
    : g1 c9 ^& g/ A% ^, x
  1737. ; http://php.net/soap.wsdl-cache-ttl: D1 S% u* L- @! X% j
  1738. soap.wsdl_cache_ttl=86400
    5 }- A- a; @" z. [$ |2 C9 h+ c
  1739. & |5 b8 ?- i& N, t; N# N8 y& z: L" q8 r
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
      T) J$ c: _0 x& A9 m  L
  1741. soap.wsdl_cache_limit = 5
    & {$ }# ], o$ O! q0 L! Q1 F9 i: S

  1742. - q  D* X  R, u. w# L
  1743. [sysvshm]: R( b6 Q7 [, o8 u
  1744. ; A default size of the shared memory segment
    & B3 Y  b8 ?$ `2 _1 S$ a" D
  1745. ;sysvshm.init_mem = 10000
    , ]. x/ T- U$ K3 a  M

  1746. 6 x5 [' D/ i: L0 h
  1747. [ldap]. g& y/ p, ~$ I
  1748. ; Sets the maximum number of open links or -1 for unlimited.4 ]2 e2 i- s, a3 F3 E
  1749. ldap.max_links = -1
    8 M' g6 K& j, L, s5 P( h/ t# I$ z

  1750. 7 s8 U( x0 A  N6 ~" S+ S( M
  1751. [mcrypt]% e4 E% J6 ^  L  o& G  F
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    ( j! X5 f& L+ R0 x  ~) T+ b

  1753. + w+ K- b5 q% n( ~) _
  1754. ; Directory where to load mcrypt algorithms* v7 n! H! {8 _5 S9 F+ X
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)8 H+ _& `3 k6 ~
  1756. ;mcrypt.algorithms_dir=2 `9 }+ A0 s7 t6 u
  1757. 9 ~- D/ C" }2 B. Q+ M
  1758. ; Directory where to load mcrypt modes
    3 v- i: s' a, v$ y8 x1 s
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ! v, Q( ?7 e  H7 s
  1760. ;mcrypt.modes_dir=  Q8 X% t# ]( O' |4 W$ q
  1761. + x9 s9 {; ^( D4 G5 `# ~/ d% C+ y
  1762. [dba]
    . ~9 `- [: R3 O+ d+ _
  1763. ;dba.default_handler=
    9 R- @; g  }0 v

  1764. + H! t- k: v( X* y4 g5 r- Q1 t$ z
  1765. [opcache]
      A3 _2 ~$ A1 z  ?" \3 o
  1766. ; Determines if Zend OPCache is enabled
    + V0 |9 h6 c' `* s1 V7 s4 [
  1767. ;opcache.enable=0
    7 z9 i  O& x7 U+ J- G
  1768.   c6 U5 T  X( p
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    ! @3 ?% h% b- f; E
  1770. ;opcache.enable_cli=0
    ! z: U' \. |% A* O
  1771. 1 H0 V( H6 z. W9 O) l/ g5 p2 x3 g
  1772. ; The OPcache shared memory storage size.- R3 q1 K$ h8 W3 H4 i3 w; }8 J
  1773. ;opcache.memory_consumption=64
    ; D5 y6 X( |' X& @; U

  1774. 8 J3 f% K( I  ^* B! O4 h( `: \$ C. m
  1775. ; The amount of memory for interned strings in Mbytes.
    / G, P1 N& A# ]$ S' N7 q, d
  1776. ;opcache.interned_strings_buffer=4
    , U6 v  V; C1 r1 W! I: l4 o
  1777. 6 s, S; R% B/ u. J% ~% ]2 [& K* [4 r
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    7 {2 D6 H7 j( N2 U
  1779. ; Only numbers between 200 and 1000000 are allowed.3 o3 P( R5 I$ T8 h& w) G
  1780. ;opcache.max_accelerated_files=20007 y( d: \' i1 z7 d8 {% t

  1781. ( c& E$ F7 s( C* {
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.2 P7 u% e( E9 w" G% R8 n' m$ _  E
  1783. ;opcache.max_wasted_percentage=5$ B" \9 l) q3 x$ o/ H; g  L
  1784. ) e' f( F$ G0 w! f
  1785. ; When this directive is enabled, the OPcache appends the current working0 ^& F$ b# C$ n7 Z
  1786. ; directory to the script key, thus eliminating possible collisions between
    9 U  u7 Q$ y) N5 i/ F2 ]9 N, R
  1787. ; files with the same name (basename). Disabling the directive improves
    " h: u8 F% s) @' c% D
  1788. ; performance, but may break existing applications.
    2 \* L& ]4 X/ f6 P. p
  1789. ;opcache.use_cwd=1
    2 k% x3 ^4 E2 T9 C: @* S; r* E

  1790. 6 D" `% t) l# `7 a4 q7 C& [
  1791. ; When disabled, you must reset the OPcache manually or restart the
    5 N; K, H. \1 J& U
  1792. ; webserver for changes to the filesystem to take effect.
    ) p" V9 Q7 h. T0 Z* J: H
  1793. ;opcache.validate_timestamps=1
    / e, ~/ i; U) K, R4 w. Z$ W, h

  1794. 2 ?- @$ }; w% y+ Q& x1 V, k  @. y! H
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    3 x& {0 I/ E/ u9 w4 m
  1796. ; memory storage allocation. ("1" means validate once per second, but only/ V! ^* I0 R* o& z
  1797. ; once per request. "0" means always validate)
    6 U2 k6 A1 x! d
  1798. ;opcache.revalidate_freq=2
    4 l+ A3 M2 E4 \& y% Q2 W  s6 V+ J
  1799. - o; U& Q9 v; e6 u/ B
  1800. ; Enables or disables file search in include_path optimization
    + ~; l7 Z; J+ Q
  1801. ;opcache.revalidate_path=0
    6 F9 ^$ e; C4 K9 \8 s+ Y" J

  1802. , h" _) J' \2 r& O, l% X& ?
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    ( s+ Y6 X) a# `  r* j% E, H3 R
  1804. ; size of the optimized code.
    8 t# p: _' T$ V# _# [! Q0 M
  1805. ;opcache.save_comments=1
    7 g$ y3 z8 B0 V

  1806. , [- ?  j: d& ]6 f
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code- k4 ~+ U$ b) `& S9 T5 T5 _% t
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    2 J% h$ }: Z( A3 E7 k- [
  1809. ;opcache.fast_shutdown=0
    ( C% r" \: [! Z9 r# C& y

  1810. 4 C+ y% O7 d8 O; y8 u; F& _2 n3 D
  1811. ; Allow file existence override (file_exists, etc.) performance feature.3 p5 H8 E2 V; [7 d  ?
  1812. ;opcache.enable_file_override=0* |1 ?' O. A  y6 B3 h+ `, C, A
  1813. " ^( o9 _$ L/ ~8 h
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache9 O7 K7 {8 F! [7 i* P; d
  1815. ; passes* u  U/ \( T# r" o+ n# l
  1816. ;opcache.optimization_level=0xffffffff
    2 u  a& B1 g2 F* e6 e

  1817. . _/ ?8 o" f. q1 p& |; c
  1818. ;opcache.inherited_hack=1, P( J/ d. P7 Z% r/ R$ ?
  1819. ;opcache.dups_fix=0, T" b5 `/ ~4 c1 D# j& S. ^

  1820. 3 B. ^2 W5 K4 Y+ P# l5 ]
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    2 a" a* M5 B" v+ u3 K7 ^/ B, d6 b
  1822. ; Each OPcache blacklist file is a text file that holds the names of files* q$ g& c/ l9 q2 |0 t2 x
  1823. ; that should not be accelerated. The file format is to add each filename
    ' b2 K1 O) N- a2 Y8 J1 c5 }* Y
  1824. ; to a new line. The filename may be a full path or just a file prefix
    7 u9 I8 h6 W2 [2 q
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    , A0 z3 `5 [, S' u: x) ~
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).2 S2 R# Z0 J" }& B
  1827. ;opcache.blacklist_filename=! {# N5 L: R# _  F3 g
  1828. , x% x5 x- @& N
  1829. ; Allows exclusion of large files from being cached. By default all files& P9 J2 x$ |. u$ U5 X6 h- e: m) @. b
  1830. ; are cached.
    + {% b0 I1 Y' {" i' J
  1831. ;opcache.max_file_size=0: c* a. {1 @! ], V

  1832. ( B, s2 j' M( H" u& S1 a2 w, B
  1833. ; Check the cache checksum each N requests.
    2 V! Y/ {# j% s% Y# Z# a
  1834. ; The default value of "0" means that the checks are disabled.
    : X, v; S- w) I0 R: d6 r
  1835. ;opcache.consistency_checks=09 z5 O! b3 F! z* L% Z9 X
  1836. ) R% C1 V( {, Y' L; ]
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache+ J; \# w4 X7 H: l' q* q" `
  1838. ; is not being accessed.! f, Q3 g& f" C/ R. o* c
  1839. ;opcache.force_restart_timeout=180
    ! y" g5 U0 G" [. ]  U
  1840. ) b+ D9 c* [7 q, V8 D( X# A
  1841. ; OPcache error_log file name. Empty string assumes "stderr".9 j: v/ j$ }! m  A
  1842. ;opcache.error_log=- v/ {2 A, D6 `

  1843. 0 z, @  |# {# K& A
  1844. ; All OPcache errors go to the Web server log.8 X, A: e$ G) @9 K! ]! V: ?
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.) O0 l3 L: ~1 c4 g; X' ]8 L
  1846. ; You can also enable warnings (level 2), info messages (level 3) or8 ~: Z5 h4 u' u. d8 j- ]1 C4 O
  1847. ; debug messages (level 4).
    ' }! _( k( y, u& G8 x
  1848. ;opcache.log_verbosity_level=1
    % p2 t+ w/ p6 K$ v3 o- i
  1849. 6 Z. H5 W: S2 {( Y' Y9 s% D, _
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    ) H/ Q6 u* P$ a* D
  1851. ;opcache.preferred_memory_model=
    4 y+ b' ], [; |; `; |

  1852. : ]! U$ I+ V% ]% K- W  G+ {+ ^
  1853. ; Protect the shared memory from unexpected writing during script execution.& ?* V: o8 T. b  H
  1854. ; Useful for internal debugging only.
    6 q7 V/ J5 h8 `# X, U8 q
  1855. ;opcache.protect_memory=06 [4 v3 t& b- o9 D5 Q! o, i2 B; U

  1856. + b) d) L% l3 K; g3 Q# V" l9 J
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    . C2 y' L- `- ?8 Q+ _
  1858. ; started from specified string. The default "" means no restriction
    & F( Q( G9 n. S3 `9 q
  1859. ;opcache.restrict_api=- x8 f; L" f+ y& A- c% g
  1860. $ ^/ c3 n& U: {" z) i, @& }! I
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP$ L4 f4 h# D; _  Y
  1862. ; processes have to map shared memory into the same address space. This3 N4 X, c. V9 E: L, _
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    + M( D, M/ U) `
  1864. ; errors.
    6 ~  y0 g5 \# V& U" A3 C& d2 t* x% \, s
  1865. ;opcache.mmap_base=
    ; c0 n$ ], s$ E2 F

  1866. ' ?6 ^# U$ o2 ~3 m9 m
  1867. ; Enables and sets the second level cache directory.
    $ `) e' v! Z/ u
  1868. ; It should improve performance when SHM memory is full, at server restart or& L! K9 f. i6 [5 N( Y/ J% C7 \
  1869. ; SHM reset. The default "" disables file based caching.
    ; r- d1 e, h! L* m1 E; [
  1870. ;opcache.file_cache=( m4 e! {/ }. ^% r3 q# B

  1871. - ~' F" k) k8 U" o' ]
  1872. ; Enables or disables opcode caching in shared memory.( D; Q5 t5 T9 c& {
  1873. ;opcache.file_cache_only=0
    5 g* Q" z/ Y* t+ \" }8 R
  1874. " I2 P3 e$ @! s5 G  Z/ u8 F+ g4 x* C
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    ' _% E* O/ A' ]1 B# A6 Z2 u
  1876. ;opcache.file_cache_consistency_checks=11 L! C  }) H! d; [& j

  1877. 3 N) J( G. \$ @: N5 \: M1 m" t
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to1 j+ r# t$ _& b) W
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file. m0 I6 Q! a- g$ o! C) y% `7 a; B
  1880. ; cache is required.6 }6 V: B3 M2 K0 @  m2 X
  1881. ;opcache.file_cache_fallback=1
    3 A' v5 D. ^" M* i& T: R7 V# {

  1882. : H  X9 U- j+ N1 t7 U
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.4 u; E6 q/ J; x# S
  1884. ; This should improve performance, but requires appropriate OS configuration.: F: d. O' y1 k0 T% I  W
  1885. ;opcache.huge_code_pages=1
    & A! v  O+ [  c* U+ \6 `% e
  1886. & Z  \4 C' l0 X# _9 X9 f5 `
  1887. ; Validate cached file permissions.2 F+ g/ }3 W: \, L
  1888. ; opcache.validate_permission=0
    " W' R' I! g+ {9 A$ P
  1889. , y! M$ C) r( Q
  1890. ; Prevent name collisions in chroot'ed environment.' P  h' i$ d& _. E. ~+ a  s! i
  1891. ; opcache.validate_root=01 \$ A$ E4 Z6 S2 q' S
  1892. * r* o& z6 F- t/ }" J3 U) l& K
  1893. [curl]
    ' L  w  R- l) V+ S% n8 u+ h
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an/ T7 f9 I; A# T$ z
  1895. ; absolute path.
    6 o2 e8 e5 v- n, r. ]
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt1 }" O! T% Y  M- [" L; C; B

  1897. 3 M- q" J; @, p1 o
  1898. [openssl], ]9 E+ N& x0 N8 w* f
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
      q3 ~9 h) k6 P8 V9 o( g6 c$ x
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    / _5 n) h1 l# y7 J1 h
  1901. ; not specify a value for this directive as PHP will attempt to use the
    ! M$ _9 V1 R" w$ \( X! }9 ?
  1902. ; OS-managed cert stores in its absence. If specified, this value may still) Z7 ^+ U, b0 |  p
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context; u+ p$ Q' M, K
  1904. ; option.
    6 l- H+ |& d' G, a
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt9 Z" x9 C) T* H

  1906. ; D0 \9 J7 C0 H' ]( U
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the% e- Q. l# w# Q; e( s& T* L
  1908. ; directory pointed to by openssl.capath is searched for a suitable$ e7 G2 L0 j7 S) Q" o  J
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    0 m) G3 I2 c. m7 b6 Y, V9 ?
  1910. ; Most users should not specify a value for this directive as PHP will7 I7 ~' y1 e, \* }1 O
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,' }0 R$ r. f7 Q* a" J3 w. r8 u
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    9 F7 h: ^. c" y$ a+ H* K/ ~
  1913. ; SSL stream context option.
    / u1 Y. e! U- R" {0 q( f2 F3 d
  1914. ;openssl.capath=% `; d* U) z( I3 D- H
  1915.   m5 j/ f8 k+ v: _
  1916. ; Local Variables:
    % a) [1 y/ `4 j9 n2 ?0 l
  1917. ; tab-width: 4
    # [* G! ]4 v7 F+ K4 a
  1918. ; End:! J: R3 j! N6 z4 i) ~

  1919. 3 \4 E; C; |6 {6 W1 z
  1920. ;eaccelerator
    9 {  d0 Z) }# k- g, ?8 V" C

  1921.   ~0 C3 r: }! X1 T: I) h! F
  1922. ;ionCube  Y+ e# I7 m$ j% N8 c

  1923. " z  q8 N3 J/ q; `2 y
  1924. ;opcache
    8 G( f( {% x9 O0 m# p% V1 D/ y

  1925. 4 p/ t8 ?, k) r
  1926. [Zend ZendGuard Loader]3 I% [& a4 ?0 j' A2 p9 F
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.* P8 ]: }4 B+ J7 |8 k, d/ ?
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so  S  O/ D- g6 a4 y/ Z, Y
  1929. ;zend_loader.enable=1$ A5 e: k! d1 J6 d, \
  1930. ;zend_loader.disable_licensing=0
    $ X, w3 o2 I! {; z) M) l
  1931. ;zend_loader.obfuscation_level_support=3
    7 ?* C. |' q; P' o
  1932. ;zend_loader.license_path=" B1 j$ n7 B5 H/ a3 T
  1933. 2 ~( ^! N3 ~( P9 Z7 x
  1934. ;xcache2 s6 n( Z9 i( \$ n' T5 k

  1935. 6 X. h" t  P+ T( t3 _
复制代码

8 h$ u& i$ R- z/ ?& a$ e+ {9 ~1 l7 A0 e, g+ w5 N; o  l

0 ]) c& M- R/ w+ n6 J% m5 r$ u: Y' r: |8 \3 X8 h+ j5 `. f$ V
2 I% B! d3 E, T4 ]+ l

( y" [1 p$ O- K2 Z6 b. U
% E7 i$ L' L. I4 w) u$ }+ BPHP5.6版本原始设置
0 \3 e( K* c; B3 y9 u, L* [
3 s" @( `: h2 [" }* }
  1. [PHP]+ f1 i9 ]% P  A4 Y

  2. 9 v+ C. o/ h5 S! t
  3. ;;;;;;;;;;;;;;;;;;;
    ( o, B  I$ e/ m7 U3 S$ Y/ ^
  4. ; About php.ini   ;$ r! y# {7 J% u$ M
  5. ;;;;;;;;;;;;;;;;;;;/ i4 c' G2 v* y% o8 _9 e, l
  6. ; PHP's initialization file, generally called php.ini, is responsible for# a; n1 ?( Q6 _0 j5 R+ a
  7. ; configuring many of the aspects of PHP's behavior.: H* t- t; e  J) K/ b1 Z
  8. , ]4 ^/ Z9 D  G7 }
  9. ; PHP attempts to find and load this configuration from a number of locations.
    8 w4 A3 Q; ]- ~7 c. n/ v
  10. ; The following is a summary of its search order:* K. r: s, s/ [' u# k2 e* \( g" k
  11. ; 1. SAPI module specific location.
    ! N/ n: {5 J0 x# _+ \( O
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    ' X, M' x' \9 ~+ h( |- o' m4 S3 R
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)2 @/ G6 D4 ]4 I8 G) H- o7 J9 H
  14. ; 4. Current working directory (except CLI): P3 d9 u" F" v
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP% \2 A0 _0 g2 t. {. Y9 r
  16. ; (otherwise in Windows)  J! l0 w) i  j* Q
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    ' W9 M2 }5 E$ _8 ^7 F, g! {
  18. ; Windows directory (C:\windows or C:\winnt)
    * J$ N+ {/ a# b; a) c
  19. ; See the PHP docs for more specific information.
    & Z9 P- P  v( L0 J
  20. ; http://php.net/configuration.file3 ?) G# g0 V% E
  21. 9 Y; @( T+ n$ I# o8 m
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    ( U+ Z6 S# i4 ~1 X
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    " B- J' R+ \0 W- ^
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    9 Y, @* z. ~/ Q4 l" b/ I
  25. ; they might mean something in the future." b9 g. N# s2 k; F

  26. # z+ r4 r7 Q' [5 y2 k+ [( v0 x# d
  27. ; Directives following the section heading [PATH=/www/mysite] only
    / t7 ~( v+ c, W1 {4 h$ U) X
  28. ; apply to PHP files in the /www/mysite directory.  Directives! B/ n5 o9 |8 r: N0 Z
  29. ; following the section heading [HOST=www.example.com] only apply to
    $ P) K$ N4 v( q& y& a8 S$ T
  30. ; PHP files served from www.example.com.  Directives set in these0 N' F8 f$ h9 \  r4 X
  31. ; special sections cannot be overridden by user-defined INI files or
    - q9 d5 |' \) b9 u
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under, ]  r' d2 q. p5 S5 Y
  33. ; CGI/FastCGI./ m& G- w, C9 r
  34. ; http://php.net/ini.sections
    % v; Z2 A% S6 n# e0 A. }6 u, b' N

  35. ; o: Z' i) P* U7 J
  36. ; Directives are specified using the following syntax:
    4 y, M! a1 w+ d8 V) f* k3 K
  37. ; directive = value
    3 ?3 ?' L8 [% A; X6 W$ B% Z
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.$ V2 {# n" X8 M2 K3 v2 C0 e& z6 `" Y
  39. ; Directives are variables used to configure PHP or PHP extensions.& l: d/ p0 |# x, ?& Y  }1 ~
  40. ; There is no name validation.  If PHP can't find an expected
    * f  \9 b1 G8 X/ k: o
  41. ; directive because it is not set or is mistyped, a default value will be used.9 d: Q- c5 }( _

  42. ; ]  }1 c) S, @; z9 Z/ ^
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one. c' v# q6 _; H; x" i  F
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression8 @7 p  G7 G/ t: j# p) v7 i
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a2 }5 L! ^8 k" `" h' ]3 h9 k
  46. ; previously set variable or directive (e.g. ${foo})
    " |) A' R9 ^; C
  47.   E( ^3 V3 u* S( Z% W0 w8 r
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:: J, E+ q7 l, N/ e7 w, s" P) R
  49. ; |  bitwise OR3 P% S0 g3 j) m- h2 F! h
  50. ; ^  bitwise XOR
    - l* P3 T4 ]: L7 L
  51. ; &  bitwise AND
    1 G5 F2 o! j* z# I/ v
  52. ; ~  bitwise NOT
    : T, S( j3 X/ l- p8 u+ o
  53. ; !  boolean NOT: D: D, A' v5 H5 i2 z  E

  54. ' M: o% |+ K; u  s' _
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    ( Z2 I2 t! {5 o7 O, @5 N4 N# U
  56. ; They can be turned off using the values 0, Off, False or No.
    ' T+ H9 p% S; ~* k7 D

  57. 8 C% \' Z+ C7 k1 [$ ?$ s
  58. ; An empty string can be denoted by simply not writing anything after the equal) @' ~5 C! R4 M4 a. n
  59. ; sign, or by using the None keyword:' X6 ]0 c) H1 m: ^  u. C
  60. . B% [* ]. ^( F$ U4 q4 \: V
  61. ;  foo =         ; sets foo to an empty string
    8 _+ K4 B4 R' M6 e) O
  62. ;  foo = None    ; sets foo to an empty string
    , z/ S( n" h9 E5 w
  63. ;  foo = "None"  ; sets foo to the string 'None'( c/ ]) T1 S7 L5 D$ W
  64. $ ?1 J: w- u; j
  65. ; If you use constants in your value, and these constants belong to a- }7 w% |8 ^, ^* u$ e, o6 u0 V
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    % o) ?9 G( N$ @, q, w3 t
  67. ; you may only use these constants *after* the line that loads the extension.' K; I4 J0 H6 D% Q

  68. 4 L, R+ y" [! {* v
  69. ;;;;;;;;;;;;;;;;;;;& F: \+ x! H# G  d& n5 e
  70. ; About this file ;' z, C8 Q/ Z" j; K# Z
  71. ;;;;;;;;;;;;;;;;;;;; n: ?, O4 Q; Q  B& K+ i1 Z2 J
  72. ; PHP comes packaged with two INI files. One that is recommended to be used; m1 H9 ?. p/ A6 N' R
  73. ; in production environments and one that is recommended to be used in
    5 m4 w# o  c, q* f9 r) q
  74. ; development environments.7 o: n. S/ ]- A2 ]3 Z# X, `. Z& {
  75. 7 r$ W/ g" c& _
  76. ; php.ini-production contains settings which hold security, performance and  M/ {# y+ a1 J/ Y4 L9 O
  77. ; best practices at its core. But please be aware, these settings may break
    $ N% L; q# m* s; K9 {
  78. ; compatibility with older or less security conscience applications. We
    % b6 }3 |) {3 G: G) F
  79. ; recommending using the production ini in production and testing environments.
    + K3 ?4 O3 ~# R7 U4 x. T

  80. 7 d$ \$ Z5 r6 O( p' H' N6 Z
  81. ; php.ini-development is very similar to its production variant, except it is
    4 g% l6 d$ P* S/ F7 L
  82. ; much more verbose when it comes to errors. We recommend using the- z, b  ^" F# P# b. \0 d
  83. ; development version only in development environments, as errors shown to, h) ?; f$ \" d0 E
  84. ; application users can inadvertently leak otherwise secure information.
    ! n# Z8 t! `6 p) C
  85. & F* c8 p$ p9 e$ k- t  V
  86. ; This is php.ini-production INI file.: c& U; {, j7 {# E3 Y3 b
  87. & I0 M6 i6 }, N$ |' n: i
  88. ;;;;;;;;;;;;;;;;;;;
    5 n6 ^6 Q* E3 j& j1 o5 U
  89. ; Quick Reference ;
    8 Q) \* I* H0 N
  90. ;;;;;;;;;;;;;;;;;;;6 ^$ ]4 {" S4 Z/ u. m/ r) i
  91. ; The following are all the settings which are different in either the production) p  ?/ d% r+ l  d8 c0 c6 f
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    : b1 f$ a3 C" C6 x3 G) d
  93. ; Please see the actual settings later in the document for more details as to why
    7 d1 |  i3 k6 a/ Y
  94. ; we recommend these changes in PHP's behavior.5 |  Z2 v& W4 X, r' f9 J5 D4 [
  95. 0 s; \  E0 \: P) |- Y% a" S8 G$ m, ]
  96. ; display_errors1 M- O' z' |) d5 B  R
  97. ;   Default Value: On
    * Q+ a+ l. A: @" |# r' y
  98. ;   Development Value: On" f2 z! o8 n( p+ K: T( e
  99. ;   Production Value: Off9 W; T6 O3 @" j( ?

  100. + V# e1 |5 ~. L; W6 F# Q
  101. ; display_startup_errors
    1 D* M* P' F6 h% |
  102. ;   Default Value: Off6 N6 b  l2 s  j" `* E5 A
  103. ;   Development Value: On
    7 f- [0 X: E7 u) l8 z" c/ D
  104. ;   Production Value: Off8 `  M( f6 l3 A  O
  105.   b- U' t6 X0 _0 ~/ t4 J
  106. ; error_reporting
    * u( U3 e  R0 f2 W- o
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ( i5 H% E0 e6 ^7 V2 D+ V
  108. ;   Development Value: E_ALL" d6 K6 N+ i: D( |" r3 @6 S8 o
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT; F/ x# q$ e$ k! f8 @5 i! Q
  110. $ b; E0 h1 k, t; Q2 `; h
  111. ; html_errors
    ' E' p9 l; J( u. s) K' ^$ Q
  112. ;   Default Value: On
    / @. L# z, E( A
  113. ;   Development Value: On
    ' z& e$ S' H- m5 R( D
  114. ;   Production value: On
    . S7 `/ O+ e" T6 B
  115.   f. H& ?- o9 ?
  116. ; log_errors4 _: E$ [5 b9 K  |# j' M# i" T
  117. ;   Default Value: Off6 v" ^! n, L  J& R3 R
  118. ;   Development Value: On
    ) u& Q# J2 W2 ~9 O: P  z5 a
  119. ;   Production Value: On
    1 v, c- @. s  E2 g

  120. : t! K6 @" Q/ [" n
  121. ; max_input_time
    ' i4 M, V9 R5 v; E8 H& J
  122. ;   Default Value: -1 (Unlimited), a3 ]2 P; {' y* e' l
  123. ;   Development Value: 60 (60 seconds)# }  j- [, w5 v0 o' F9 `! P
  124. ;   Production Value: 60 (60 seconds). }% I$ d5 }- {5 ~* D9 d4 o) R

  125. 2 e) {1 x# F! Q) T( o. n5 W- Y+ d
  126. ; output_buffering
    1 E8 v7 e. \4 t3 O' q* `
  127. ;   Default Value: Off
    & H* U- q4 w  ~9 T: F" @9 i
  128. ;   Development Value: 4096
    . n; P: M0 u( t6 U; X6 W
  129. ;   Production Value: 4096
    9 F. c; N0 z+ F# g, r8 _
  130. / ~; C, T- A1 \" H  o" j( o
  131. ; register_argc_argv! O$ t# {6 I* D2 p& U
  132. ;   Default Value: On$ s0 T. W+ ?- x8 F. M6 v
  133. ;   Development Value: Off. o# B, U$ P2 z7 T0 M5 f
  134. ;   Production Value: Off
    ! d7 G& E! k8 {
  135. + W) E+ d4 p& n; P. Y
  136. ; request_order+ _/ T1 L- Y! h( N
  137. ;   Default Value: None
    9 \; j2 [/ F' H9 ^# ?) l' q
  138. ;   Development Value: "GP"
      l4 j& o' s6 G& c
  139. ;   Production Value: "GP"9 u3 ^) g! B7 V' L9 y

  140. ' [* o; T' Z6 O% o- b* V9 W8 s( G
  141. ; session.gc_divisor
    ( j4 E& A/ |# E: E0 M: I$ s
  142. ;   Default Value: 1002 B9 J% W1 I# t3 K, |; r
  143. ;   Development Value: 1000$ U4 N- o( B5 j5 @0 z/ U# G* \
  144. ;   Production Value: 1000% ^% i7 t6 f: {& P* ~
  145. + K1 E( T4 r$ L! [' G% O
  146. ; session.hash_bits_per_character7 u5 u7 h, T+ H, u' ?, N4 `" H
  147. ;   Default Value: 4, m0 o$ q7 }) n
  148. ;   Development Value: 5
    1 V$ g! g' y/ T1 s9 Z3 n
  149. ;   Production Value: 5; {+ f7 K( G- k: C% `2 r6 S4 h
  150. 2 D( z! [& \2 E: ?
  151. ; short_open_tag6 F, i) f3 W: D  S- r' y' f* {8 F: l" i
  152. ;   Default Value: On" y, |4 h$ Q1 }" W+ g4 e
  153. ;   Development Value: Off
    0 v* N/ V( ~4 B8 t
  154. ;   Production Value: Off$ T% y( `3 U  [

  155. 2 k8 E8 o( P4 [, L4 X
  156. ; track_errors4 o. P% j+ Q1 u( W0 V, D, I
  157. ;   Default Value: Off5 q) o5 H) i* Q
  158. ;   Development Value: On. ~" \7 @# F) B8 `; T8 \
  159. ;   Production Value: Off
    9 Q' `; d# Z/ b  v: r. z( i

  160. 3 v! o5 f, L- P
  161. ; url_rewriter.tags  ~) h. y7 a. V, @
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="- p* H" e8 C% p# k+ }2 J
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry") J, C9 K( r; V' W6 w
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"$ g* `0 P; C! ~4 M6 y- d( z0 |
  165. ( z: j9 F5 N2 l+ E8 A
  166. ; variables_order" X1 M  u- Q' Q0 U( o1 }5 `
  167. ;   Default Value: "EGPCS"3 a) Q5 I) o2 g1 U3 T
  168. ;   Development Value: "GPCS"% b1 J; M* |# F% I' m  a
  169. ;   Production Value: "GPCS"! P) ], e5 F: |# y# h& k) P

  170. 2 |. ]( u8 g0 i$ w) l
  171. ;;;;;;;;;;;;;;;;;;;;0 e8 j- t) g5 {& Y% a5 I' Z( ^: C
  172. ; php.ini Options  ;
    / ]1 y9 z! Q1 ?/ m
  173. ;;;;;;;;;;;;;;;;;;;;
    7 J5 k: P0 N( w, N( ]
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"; {, e8 M; Q. z0 r
  175. ;user_ini.filename = ".user.ini"
    3 b* @6 g$ b$ u* q$ e- R3 K

  176. 5 _, i  y6 n/ n. t
  177. ; To disable this feature set this option to empty value3 a. A  B% J' L. l& t+ V: u5 D  v
  178. ;user_ini.filename =7 v, Y6 N' p' s7 Z# l9 \* @
  179. + U( u; W$ h! j% y
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    7 l% C  `5 l' ?( ]
  181. ;user_ini.cache_ttl = 300- u- \$ z' p; |5 }( H4 Z

  182. 5 d1 X) ~1 S0 r* l/ e
  183. ;;;;;;;;;;;;;;;;;;;;
    . [, z8 O# {* a" W% e* w
  184. ; Language Options ;
    3 z! `# i; A" ^0 u  u8 P
  185. ;;;;;;;;;;;;;;;;;;;;
    4 l, g% }+ B* ~/ y* J8 n2 |

  186. ! P9 g8 q$ r( O! j$ J
  187. ; Enable the PHP scripting language engine under Apache.# ~/ R. X3 ~& u$ R% _
  188. ; http://php.net/engine
    ) J' `$ l* H0 C- K# h% q6 D9 f
  189. engine = On
    % }+ G0 Z0 g7 V" T; ]
  190. 5 x! Z' r8 I3 O6 k3 w, v5 {
  191. ; This directive determines whether or not PHP will recognize code between" O% ~$ Q' J, s
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    6 q. p. }2 e% u; F
  193. ; generally recommended that <?php and ?> should be used and that this feature
    3 _3 m. t, l1 h! B& P
  194. ; should be disabled, as enabling it may result in issues when generating XML; Z: z3 ]2 ~4 i1 K' }- f
  195. ; documents, however this remains supported for backward compatibility reasons.
    3 _) a, U- t+ k" {
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    1 C& n6 z* c  Q, k+ }
  197. ; used regardless of this directive.3 F/ s9 j9 Z! T) ]" y
  198. ; Default Value: On
    ( V4 d8 ^; G9 h8 b: }6 [  n# F
  199. ; Development Value: Off
    , g3 E$ l5 Z- u$ Y
  200. ; Production Value: Off3 V4 l7 j! i6 X) }4 g: y& V
  201. ; http://php.net/short-open-tag
    * L$ m3 A. B- l1 h9 W6 i
  202. short_open_tag = On" ]0 }" A$ `3 }3 q7 L# Q
  203. + t6 F$ X8 Q$ Z6 R' ?
  204. ; Allow ASP-style <% %> tags.
    4 M7 U3 f+ g2 _
  205. ; http://php.net/asp-tags) N1 n( ~9 Y! t/ W* X8 q! ~" D( w
  206. asp_tags = Off
    6 z  |& y* l5 B9 K( {  U' M9 M0 h
  207. ; m3 J& V3 _) i
  208. ; The number of significant digits displayed in floating point numbers.( c' T) `' [5 E; ?7 w$ G
  209. ; http://php.net/precision! a! c) ^8 m9 G: G
  210. precision = 14- P- B* P' L  G' c! U+ g+ i

  211. & t- U9 M& H# x2 {0 U5 E5 l
  212. ; Output buffering is a mechanism for controlling how much output data! _: G) Q: G. b' g* C4 F( b
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that, e* e1 k5 L' Q1 W1 g7 l- j, j0 T7 O
  214. ; data to the client. If your application's output exceeds this setting, PHP
    5 s! Q- _& U) x
  215. ; will send that data in chunks of roughly the size you specify.7 ]* |8 x( C( g' r4 b& ?
  216. ; Turning on this setting and managing its maximum buffer size can yield some3 I/ O9 b8 }/ _; [
  217. ; interesting side-effects depending on your application and web server.
    0 P0 `+ G& R) ^, `% N$ N
  218. ; You may be able to send headers and cookies after you've already sent output" A6 Z* `" H9 U& K, b! F/ ^
  219. ; through print or echo. You also may see performance benefits if your server is/ m; H/ o6 ~/ x- Y$ \
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    5 \# C7 b$ @3 c4 d9 _, \5 y: N6 e8 [/ g
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance  f" T" X9 m8 m8 G: \7 a' Y
  222. ; reasons.
    0 E# g' }5 R- R
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    ; y# Z* z8 d. \6 Y5 _- D( a
  224. ;   functions." o* ~3 ]" y; `" @/ @
  225. ; Possible Values:, B6 E" H3 Q3 U2 r& \
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)5 u6 T: X% ^3 ]' U; f$ m1 S
  227. ;   Off = Disabled
    2 c2 [4 E8 o4 [2 R4 q# ~: }
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.; v. w/ n- I# L" H5 O
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    % T+ I6 j+ w6 y2 w& N0 a
  230. ; Default Value: Off+ V6 {% J* f# m, a
  231. ; Development Value: 4096
    * `4 z9 `& X7 f! P0 {; t
  232. ; Production Value: 4096& |! b4 n2 q8 z5 [2 @! C  s. W$ y
  233. ; http://php.net/output-buffering
    2 n2 ^+ Y/ s- p$ ^! C
  234. output_buffering = 40960 o) S% @5 B( t. i# z& r
  235. : r5 O3 L; Z/ X. x9 {' r" ?
  236. ; You can redirect all of the output of your scripts to a function.  For
    + T# Z4 c6 _# @% R
  237. ; example, if you set output_handler to "mb_output_handler", character
    ; Z- a5 Y) k' ^( \
  238. ; encoding will be transparently converted to the specified encoding." G: I5 ~. E& |% V$ g
  239. ; Setting any output handler automatically turns on output buffering.
    ' _# N, o3 Q$ V, v
  240. ; Note: People who wrote portable scripts should not depend on this ini5 W" E. w4 |: f, i$ L
  241. ;   directive. Instead, explicitly set the output handler using ob_start().1 ?( m1 f6 l7 z! H
  242. ;   Using this ini directive may cause problems unless you know what script+ l8 ]! F+ R2 ]) n6 {" r* k4 [
  243. ;   is doing.
    + V4 x& _0 V6 Q) \
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"- S& ^5 V( ^7 R5 h
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    & d/ ~* Q% a- c: @" k$ i/ X
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    ( t+ l0 L" C4 K/ y
  247. ;   Instead you must use zlib.output_handler.
    0 `6 X$ B4 D  q, R; D
  248. ; http://php.net/output-handler2 ^9 n- u3 \& R& R' n+ s. W
  249. ;output_handler =
    - k7 x6 _( }0 E7 q- M
  250. - B4 p  m5 p5 @& m$ v- w
  251. ; Transparent output compression using the zlib library
    5 r, \1 P0 \. F( o
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size, X2 l6 C* s% h5 b7 I# G8 h4 J
  253. ; to be used for compression (default is 4KB)
    $ d9 ]' x# ], i2 c4 O$ c
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP1 l3 Z1 P7 e+ R$ V
  255. ;   outputs chunks that are few hundreds bytes each as a result of, I: A* o! @! x! q- R
  256. ;   compression. If you prefer a larger chunk size for better/ B8 U; ]$ a4 r
  257. ;   performance, enable output_buffering in addition.
    ! x1 W; e9 V, q9 `  s" U9 ]
  258. ; Note: You need to use zlib.output_handler instead of the standard
    ' |" Z9 a- @* a  x& [$ e8 M* J
  259. ;   output_handler, or otherwise the output will be corrupted.- z2 t/ d4 y- r; Q3 C
  260. ; http://php.net/zlib.output-compression
    : V1 O, m- p/ \3 `
  261. zlib.output_compression = Off- S& l; j6 P+ @8 _! q0 d* e

  262. 1 j* B. D$ S) n3 [" M  K
  263. ; http://php.net/zlib.output-compression-level
    ( f  o: c1 I: l# x
  264. ;zlib.output_compression_level = -1
    8 d; y0 F  u+ u9 d2 D
  265. 0 A+ f, P# `. V5 v& ^  K
  266. ; You cannot specify additional output handlers if zlib.output_compression
    ' U: H2 u$ ?; }6 U
  267. ; is activated here. This setting does the same as output_handler but in4 R; K1 w, V; Y; n3 U
  268. ; a different order.
    : P/ _5 Y4 ]% x( Y* E" [# _% D: N
  269. ; http://php.net/zlib.output-handler
    - K9 }- k) @, m2 e% ?) g* E0 s6 m8 W
  270. ;zlib.output_handler =
    0 ]7 E' f% r+ M
  271. # E; I5 g. ?, B
  272. ; Implicit flush tells PHP to tell the output layer to flush itself' p) e/ D5 ]+ I. [  X  X, ^6 A
  273. ; automatically after every output block.  This is equivalent to calling the' y" c3 ~$ L8 G" f" R9 s
  274. ; PHP function flush() after each and every call to print() or echo() and each
    $ _6 R5 Z/ B8 D' j% ?  e
  275. ; and every HTML block.  Turning this option on has serious performance1 L6 {9 _3 `7 n6 s
  276. ; implications and is generally recommended for debugging purposes only.. r5 ?2 i- u  V9 t5 K' M. X+ W1 S
  277. ; http://php.net/implicit-flush- S; q6 n4 y) O: X: q3 n/ u
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
    , A# _" }5 C; j/ K* q
  279. implicit_flush = Off5 r0 E# [9 z( M# {7 m2 C. q

  280. " x! R: X5 J* r: P! L
  281. ; The unserialize callback function will be called (with the undefined class'
    / `% c! S% C) }0 _* E. `9 J5 h" D1 G
  282. ; name as parameter), if the unserializer finds an undefined class
    " E9 Y6 `4 Y& y$ s$ B3 W) T; l
  283. ; which should be instantiated. A warning appears if the specified function is
    $ j1 d( i/ s6 E' K3 O  C
  284. ; not defined, or if the function doesn't include/implement the missing class.- g* ]& R7 [3 H. _& P
  285. ; So only set this entry, if you really want to implement such a$ t1 l3 K3 Z$ B& G7 [- Y! _9 z
  286. ; callback-function.
      K- o  r9 U6 X& K, o
  287. unserialize_callback_func =; s* w% \/ l, Z9 e8 b

  288. ) S+ o* y& H7 M
  289. ; When floats & doubles are serialized store serialize_precision significant0 \! m! ^9 B# O$ }$ R8 J/ k
  290. ; digits after the floating point. The default value ensures that when floats
    % n$ R; r# C& k* y; a% `
  291. ; are decoded with unserialize, the data will remain the same.
    6 t* k( O9 G5 \6 R6 s# {, F) x
  292. serialize_precision = 174 C% P( j. Y# E. h9 ~! {
  293. / J8 w  ]/ L+ g( G  v6 f  Y
  294. ; open_basedir, if set, limits all file operations to the defined directory
    9 F( N  z; Q5 l
  295. ; and below.  This directive makes most sense if used in a per-directory
    ) u1 X- k; J' R5 D0 [
  296. ; or per-virtualhost web server configuration file.
    ( O2 P0 j2 n4 B6 l$ I5 j' s
  297. ; http://php.net/open-basedir
    ' u9 P/ B' G. b! [2 a7 m
  298. ;open_basedir =
    5 x" b3 f7 X# p1 g' d0 v% T, ^
  299. " ?/ X1 ?- J4 C* R0 D
  300. ; This directive allows you to disable certain functions for security reasons.5 ]) \6 r4 F/ c
  301. ; It receives a comma-delimited list of function names." \% _- X# J6 o9 w* h& w9 I; d
  302. ; http://php.net/disable-functions
    4 X0 w9 Q8 w) {3 L8 t: }3 m
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    . N7 Y0 e  [  S% @
  304. ! L3 j! U# t, g+ ~6 A7 |
  305. ; This directive allows you to disable certain classes for security reasons.6 Q7 @& \1 z# B6 j, a8 H* S: H, e: ^
  306. ; It receives a comma-delimited list of class names.
    / \4 h6 C+ S  e
  307. ; http://php.net/disable-classes- N/ F( t7 U* p
  308. disable_classes =2 [+ u- Z+ ?. C8 y4 v8 s8 r% Q0 k

  309. 7 h8 N8 K5 v- \+ ?
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in1 w2 h) x( c9 v+ H
  311. ; <span style="color: ???????"> would work.
    . p& F6 J' d  ^+ I
  312. ; http://php.net/syntax-highlighting4 U2 E8 f8 m/ q& F: T
  313. ;highlight.string  = #DD0000$ x1 _6 Z7 y* ~: b8 D/ @9 j4 v
  314. ;highlight.comment = #FF9900
    " S. X% y4 R$ ?3 A; i! J
  315. ;highlight.keyword = #007700
    1 [2 f  U1 B: R
  316. ;highlight.default = #0000BB
    * O' T$ W4 M% _7 v
  317. ;highlight.html    = #000000) B8 L( M0 {+ ^1 _
  318. ' g- _& Q; B7 R  X  Q& L$ a7 V0 M
  319. ; If enabled, the request will be allowed to complete even if the user aborts* K) n3 L! t3 `+ L0 f7 f8 u
  320. ; the request. Consider enabling it if executing long requests, which may end up
    6 W6 L+ F' l, \2 b, D
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    8 C  g" X( K( e" F( Z- o
  322. ; is to disable this feature.- O# y8 V( K' @" }
  323. ; http://php.net/ignore-user-abort2 ]; m# ~1 C7 X0 }
  324. ;ignore_user_abort = On
    5 f3 v$ f: g) ?  R9 y

  325. 8 G1 A! n% \% q; v7 X, [
  326. ; Determines the size of the realpath cache to be used by PHP. This value should+ c, H! o4 j! t- K! c% C7 ^
  327. ; be increased on systems where PHP opens many files to reflect the quantity of9 q6 z2 V7 W! B% d* o, X+ g
  328. ; the file operations performed.
    ! S& l. Q7 I) N2 F
  329. ; http://php.net/realpath-cache-size
    6 U! q9 b1 P1 @7 ^8 N
  330. ;realpath_cache_size = 16k; H8 g& T; ^& k4 y" |
  331. 4 O5 r5 Q8 t$ O% ?* U0 i$ V; S/ J
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    ' W: I6 M1 U# m' H  X9 t
  333. ; file or directory. For systems with rarely changing files, consider increasing this0 T6 B; c8 ?8 w# P& D+ S6 }- v- |& p
  334. ; value.
    ( n* P/ _! i$ a, k2 j
  335. ; http://php.net/realpath-cache-ttl: H+ M. j. L" t! d
  336. ;realpath_cache_ttl = 120
    ) A  g+ t: b+ o
  337. - ~9 {! ]% x/ c2 L( p6 h! c
  338. ; Enables or disables the circular reference collector.
    " h% @- [4 \' r/ z" a. o5 y, M, A9 l
  339. ; http://php.net/zend.enable-gc
    ! }# Z7 ^/ t5 f
  340. zend.enable_gc = On
    5 k0 C$ \9 k* Q( Z

  341. ; x0 v* |; I/ X. C
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    ; a1 b! q2 x, j1 J+ m, c
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such: d( V1 R  Q- D2 c+ u. D2 C
  344. ; encodings.  To use this feature, mbstring extension must be enabled.: J" y% B* _$ A% {
  345. ; Default: Off
    : e# m3 N5 w5 i& U3 ]
  346. ;zend.multibyte = Off5 P3 ~2 p" {$ q4 Y4 u
  347. 3 Y2 r( p" H* {
  348. ; Allows to set the default encoding for the scripts.  This value will be used0 _: w' w. `5 q
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    7 n  g+ S3 X$ @  ?5 J4 S4 T1 v
  350. ; Only affects if zend.multibyte is set.6 W0 x3 Y- K- [$ o* V  N
  351. ; Default: ""
    , t9 h4 E5 C" ?) ?, o8 D
  352. ;zend.script_encoding =
    0 b9 {9 {. @+ j2 j  v8 \+ n

  353. 0 A7 t/ R* l$ {' C4 F! v* Z
  354. ;;;;;;;;;;;;;;;;;- `7 U+ L1 n+ x5 [4 L
  355. ; Miscellaneous ;
    9 n0 {/ y8 @3 M" c6 F, R. I+ ]
  356. ;;;;;;;;;;;;;;;;;
    4 t/ F5 M8 w+ I+ ^4 ~# R

  357. 9 C2 x: m. s3 v+ _- r3 k$ C7 ]( d6 C
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    # \0 M% i! s- z
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    9 b, l( L7 w1 A* x( J" f( E) h* v
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    - ], f( m% @' S: b- }* k6 b  u
  361. ; on your server or not.5 e8 K3 [: r9 x7 T3 ^
  362. ; http://php.net/expose-php# x* B. B$ U# a
  363. expose_php = On/ [7 w, q: `  ]6 @. S

  364. 5 S! [3 m8 x# |7 x3 k' O* }$ ^
  365. ;;;;;;;;;;;;;;;;;;;
    % H* X1 q( ~: Z6 S' c
  366. ; Resource Limits ;
    ; Y1 N- U) y6 u/ N* Q, R5 n
  367. ;;;;;;;;;;;;;;;;;;;
    1 P; W& ?) k; m0 B8 x4 o6 j

  368. : Z5 S2 u! ?3 X( A, w( |  G1 F& \
  369. ; Maximum execution time of each script, in seconds2 K. l) [" x! n8 H
  370. ; http://php.net/max-execution-time
    % n* I& N) n) T. @2 O9 @+ n
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    + X  k8 [. G. J  A4 I# {  R
  372. max_execution_time = 300$ w2 V) R. I& @; h  {5 H
  373. $ m: Z1 |2 h: j
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    ) l: o; R' y! _# E
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    8 ]1 m- P0 ]5 p3 u6 T0 t
  376. ; long running scripts.
    $ N% y! u! @- s' ^  R
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    ) `% u" f+ t  ^1 H* z
  378. ; Default Value: -1 (Unlimited)5 @! [; K% _7 Y7 J2 _' C
  379. ; Development Value: 60 (60 seconds)+ G  n6 Z" {3 ]* s. u( A8 A
  380. ; Production Value: 60 (60 seconds)
    + h3 Y6 }# q! Q2 w, w0 k
  381. ; http://php.net/max-input-time
    0 M! y7 B- o' A
  382. max_input_time = 60
    4 h* e7 b/ i0 J1 |. N# ^

  383. ; u. ]; R, ?0 @! {
  384. ; Maximum input variable nesting level9 d- v* c) R6 }; k$ V- P
  385. ; http://php.net/max-input-nesting-level7 G/ o+ h3 d# _; L
  386. ;max_input_nesting_level = 649 N( u& i7 c8 F) f8 y

  387. " y4 l7 ~* N* ^2 s
  388. ; How many GET/POST/COOKIE input variables may be accepted; J1 q; t  |# g$ k. s! Z% L
  389. ; max_input_vars = 1000. n7 w5 W6 e1 ]" p6 A' S6 b

  390. 0 S: m2 d9 S9 P/ ?, k5 R- G5 l
  391. ; Maximum amount of memory a script may consume (128MB)
    : [+ `# M7 d2 L: x
  392. ; http://php.net/memory-limit3 v, w; {7 t6 p" x, U' F0 v
  393. memory_limit = 128M: p) p2 \- s) H

  394. / n8 K' H5 a8 I# [/ d! U9 g' I& S# t: M
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5 W* H& _; _5 n3 E6 n0 G" Z
  396. ; Error handling and logging ;
      {& h) t4 H& d' d
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    8 s8 }, q3 [, o1 `/ @# B

  398. $ O! r+ I7 u5 i
  399. ; This directive informs PHP of which errors, warnings and notices you would like0 X1 D! k, ^  L* i
  400. ; it to take action for. The recommended way of setting values for this
    - e. K: R  T- h/ s
  401. ; directive is through the use of the error level constants and bitwise9 d% _' j, O% \4 y. S, }: E1 `( J
  402. ; operators. The error level constants are below here for convenience as well as. A0 f1 O7 O! x
  403. ; some common settings and their meanings.
    7 i- G2 l- `- ^" u; z
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT" T2 I( E$ ~# F" e
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    / ~0 P' ~- {2 f/ D. [- B4 h
  406. ; recommended coding standards in PHP. For performance reasons, this is the, |7 H# G5 P; h9 J$ v- `
  407. ; recommend error reporting setting. Your production server shouldn't be wasting6 l% I( P$ |# n* E, d2 \
  408. ; resources complaining about best practices and coding standards. That's what) u, q# @/ p: B+ b; d/ ?8 U" @
  409. ; development servers and development settings are for.! I6 I5 |) l' \; x8 ^
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    ; U" P- O  F- ]1 C# l, j
  411. ; means it pretty much reports everything which is exactly what you want during
    3 @2 D0 Q# A. Z+ @6 v1 q
  412. ; development and early testing.
    0 o0 ^, k4 g( J3 I% q8 G1 u
  413. ;
    ; {! M) ?0 J8 w% S( B$ D
  414. ; Error Level Constants:
    " {' n! ]! O' V- N5 F4 V
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    3 t* t0 M  e& e2 A& }
  416. ; E_ERROR           - fatal run-time errors
    ) i9 w+ O$ W5 S# H1 G! F6 ?
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    8 X" H$ t+ x6 T2 n( [% p! X. p$ M
  418. ; E_WARNING         - run-time warnings (non-fatal errors)* _4 _  r  L" n& f
  419. ; E_PARSE           - compile-time parse errors% ?  l8 b) m! V6 }
  420. ; E_NOTICE          - run-time notices (these are warnings which often result( G) ]4 P4 p2 V0 \1 A; @* c
  421. ;                     from a bug in your code, but it's possible that it was
    6 j6 E" [9 L- N
  422. ;                     intentional (e.g., using an uninitialized variable and
    ( X4 S/ L/ e9 h2 X- ?9 v
  423. ;                     relying on the fact it is automatically initialized to an7 h( ]% Y, H7 P* C0 M; P5 J
  424. ;                     empty string): G& _! u6 L/ i; J% Z
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes  V$ {% f. G0 f/ g; P
  426. ;                     to your code which will ensure the best interoperability
    5 C1 U# R0 p# ~- x( Z/ @0 J
  427. ;                     and forward compatibility of your code6 A- J4 A: p1 R6 u1 J6 e1 N
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup1 u/ S8 {. `$ a0 l
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's, Z1 X8 W) k; \( Y, ^2 {
  430. ;                     initial startup: \, @9 y0 b  g3 Y( A& _! ^
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    ( Q0 M$ D; L+ `( [. A
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors); e& ~* ]1 n3 F3 Q
  433. ; E_USER_ERROR      - user-generated error message, Z$ k) ?- w2 s8 f; h' b( m
  434. ; E_USER_WARNING    - user-generated warning message
    5 z5 C4 ~" a( t" H( F0 ?
  435. ; E_USER_NOTICE     - user-generated notice message# W3 \% q) M( G1 l
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    8 I& e8 A( }1 n0 q) B5 l  s
  437. ;                     of PHP
    / ~4 ^3 W7 {0 t1 m% H
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings$ ^( c- J2 l9 o
  439. ;
    7 w5 d+ u- F" a* ?" C3 i4 s: L
  440. ; Common Values:
    $ s6 v  y0 ?5 y* z! F4 n
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    : Q7 l, f4 z! U# u8 N
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices): U$ q/ ~  h( ]* o
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    8 p8 e' B9 |6 u/ }( G
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    . c% g7 B2 ?7 {8 x8 q
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    % T/ F. P4 q, _
  446. ; Development Value: E_ALL
    . B0 P7 `) m8 r) p; c
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    0 c- J6 A: h4 m5 A( Z, T9 k5 Z
  448. ; http://php.net/error-reporting
    $ h7 z+ W0 h# S1 Z8 ]* L
  449. error_reporting = E_ALL & ~E_NOTICE
    + Z5 o1 e5 p- u# }5 ]4 q0 v. P" q
  450. % N( {# \3 A+ G  A
  451. ; This directive controls whether or not and where PHP will output errors,( Q8 Q6 [9 s% r0 ]; P% d2 a; V
  452. ; notices and warnings too. Error output is very useful during development, but; n5 L! I0 e+ ]3 M% a! Q! \' }
  453. ; it could be very dangerous in production environments. Depending on the code# U4 @, }' {7 G$ Q9 g! l' ~
  454. ; which is triggering the error, sensitive information could potentially leak$ c& ]$ g" p  S" K" S% C  Q' x
  455. ; out of your application such as database usernames and passwords or worse.
    , d3 m; c8 K( a) H, v3 F
  456. ; For production environments, we recommend logging errors rather than
    . u3 F' V. r; t
  457. ; sending them to STDOUT.
    & e3 J) l% P& u6 a3 |2 f2 V
  458. ; Possible Values:
    " H7 `3 }3 g* {; b3 i4 Z% r
  459. ;   Off = Do not display any errors
    % M, D- W* [8 |# |) F  E
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)" d' J5 I7 \9 v& d0 H
  461. ;   On or stdout = Display errors to STDOUT. \& e6 K* K6 h% C6 j
  462. ; Default Value: On- V/ J! r2 O7 N2 G, W, O
  463. ; Development Value: On
    7 j1 u5 e1 X5 W. G
  464. ; Production Value: Off  }* w: W1 i. R6 ~" k
  465. ; http://php.net/display-errors
    , v7 c* V0 L% Z" c; P* g& l
  466. display_errors = On" A6 }& y' x1 O2 \( p3 ^, L

  467. 0 }9 O8 [1 I) q. {
  468. ; The display of errors which occur during PHP's startup sequence are handled
    ) {9 S/ T4 ]: V1 n
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    3 K  a4 g' o+ X# Q
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    8 a2 c! w! A7 z. F0 U/ G
  471. ; debugging configuration problems. We strongly recommend you% Y8 P  ^' w, L+ N+ y+ i3 ]0 q( c
  472. ; set this to 'off' for production servers.
    ) p7 }+ i! v6 |* d( k
  473. ; Default Value: Off
    0 z& |2 `7 d- F& r5 G9 s! V3 M' P
  474. ; Development Value: On% ]2 y6 Y- c* G% C
  475. ; Production Value: Off
    7 \2 V6 @9 ~- B/ [
  476. ; http://php.net/display-startup-errors* ^/ h5 I7 C  w+ k, N  y
  477. display_startup_errors = Off
    0 {% l3 c: \+ X: B' A

  478. , L8 D; j6 l6 z& a$ r) U+ _
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    & O* N7 T1 j  t/ Z
  480. ; server-specific log, STDERR, or a location specified by the error_log0 @- o; b6 y& K; O' W- W: }! d
  481. ; directive found below. While errors should not be displayed on productions! V5 O! V* b# ]8 ]) H
  482. ; servers they should still be monitored and logging is a great way to do that.
    9 k) E8 ?  i  T( {. a: o5 h8 C
  483. ; Default Value: Off! i9 a5 `3 I" Y; k; }/ M
  484. ; Development Value: On& A% o) t3 o! j0 x2 f' U
  485. ; Production Value: On" E  [9 @& R. Z- [
  486. ; http://php.net/log-errors" l$ g" H% A7 W
  487. log_errors = On
    8 r/ L% l1 g+ e+ o- |* E
  488. 7 {6 M  [7 r9 `8 H- S% B0 i) N
  489. ; Set maximum length of log_errors. In error_log information about the source is6 ?5 A* H  W# F3 X
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.4 y3 j$ o2 y! S2 |
  491. ; http://php.net/log-errors-max-len
      U4 `/ p4 R/ _& U( G
  492. log_errors_max_len = 1024
    & k1 S+ W* Z$ N2 `* U
  493. ' h; r" ?$ F' c1 F
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same, A  s6 s, q; W( ?" H. N
  495. ; line unless ignore_repeated_source is set true., C% ?9 n7 T! W6 w* n
  496. ; http://php.net/ignore-repeated-errors; ~6 m; W3 L1 M8 f: Y% u
  497. ignore_repeated_errors = Off% p7 [8 P" `) L- Z
  498. 4 A) p6 r* Q9 @: e" q2 k3 r
  499. ; Ignore source of message when ignoring repeated messages. When this setting( Z  k' d4 W, {4 q3 _0 q* r
  500. ; is On you will not log errors with repeated messages from different files or
    3 v3 O5 l8 N- C/ g2 m% Q$ m& F
  501. ; source lines./ {1 \/ q: j. H  O
  502. ; http://php.net/ignore-repeated-source
    2 I+ Y& P! j! y. r. ?& R
  503. ignore_repeated_source = Off8 V% {, {) y+ F; z- C) e' p9 S

  504. 4 e: l& }! |, p  {+ |
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on: s% c1 _8 d% M! j
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    8 N* P6 }" ^5 n1 P
  507. ; error reporting includes E_WARNING in the allowed list
    7 w6 a. n7 V3 P  q, ]8 T
  508. ; http://php.net/report-memleaks
    " ~7 w6 @- W; }
  509. report_memleaks = On' c5 |' V# Q4 i0 U5 D

  510. 1 n" I5 }- S# N. }
  511. ; This setting is on by default.- a% T4 r* [' _1 ^
  512. ;report_zend_debug = 0
    1 m8 S' \$ M6 m  F8 I8 e

  513. ' E; u7 w! W5 l) f! y, N
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    6 F7 z9 m/ ^9 @7 t9 Q  [3 M7 S6 j
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    + b$ x* t" e9 B+ V. {
  516. ; however be disabled on production servers.( ^: |* \$ p8 Q: ]& m; F, ^
  517. ; Default Value: Off! V" W0 o* O' V1 e# Y; x/ E
  518. ; Development Value: On
    : P) {0 r5 m2 u+ J, R6 d' P
  519. ; Production Value: Off
    ( K' O% D& ^/ o% J4 ^! y
  520. ; http://php.net/track-errors
    5 \$ [+ K9 n- S3 {! S
  521. track_errors = Off
    0 C0 [3 f3 h) W! T- ~, }& Q! Z
  522. 6 W; P! v2 i+ U4 `' l3 ]. f
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    . R" z8 k/ c3 e$ c1 _2 ~# ]
  524. ; http://php.net/xmlrpc-errors% B/ x6 I7 r  U# {7 [4 f$ T
  525. ;xmlrpc_errors = 0$ n* p8 N5 b1 g5 M
  526. 3 b0 h% t$ b: e" s; I: g+ }/ Z: ^$ ?
  527. ; An XML-RPC faultCode- ^- i, h! U! H& ^) o/ ^
  528. ;xmlrpc_error_number = 0. R; J, E" e8 m
  529. + x  h5 q" Z% Y" ^/ ^  d
  530. ; When PHP displays or logs an error, it has the capability of formatting the# \% K7 R# X  G0 e* C
  531. ; error message as HTML for easier reading. This directive controls whether
    : j4 V; P2 D% {& `
  532. ; the error message is formatted as HTML or not.) f! _/ l, @% q: L4 C) x7 {
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI% b  I$ R  a: H8 m* }$ F
  534. ; Default Value: On( ]  U; d- D5 k3 H9 _
  535. ; Development Value: On9 _& `. i5 s3 K) v/ f
  536. ; Production value: On
    ! j# S# F1 ^9 n) s
  537. ; http://php.net/html-errors
    ; j( R8 N' X, y
  538. html_errors = On: N0 I3 F: D9 M3 h' s

  539. 9 m, [8 E9 O3 Y3 [5 ]% n
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP* Z8 |1 y# u3 A1 Y, I) s9 |
  541. ; produces clickable error messages that direct to a page describing the error3 o8 z8 U) \# Y3 D
  542. ; or function causing the error in detail.
    $ j$ o) W2 V1 c! J) w
  543. ; You can download a copy of the PHP manual from http://php.net/docs- N- I1 A5 `/ s! A/ u
  544. ; and change docref_root to the base URL of your local copy including the
    ' k8 \. Q- l  o
  545. ; leading '/'. You must also specify the file extension being used including
    + v5 c' O+ j* O1 l" g5 T7 U
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    6 i, V6 `  h9 B
  547. ; case no links to documentation are generated.
    ) H5 ~" w$ o  N- t1 B6 r
  548. ; Note: Never use this feature for production boxes.
    : h* [, U- R/ k, s4 p  x  [
  549. ; http://php.net/docref-root
    9 e- T( `" H* [# F. O
  550. ; Examples
    4 R; F4 q& a& H! X5 Q. E0 t" `
  551. ;docref_root = "/phpmanual/"7 ~2 o! I' L% |: P( O

  552. - R3 w0 r) V) ~3 }$ I; l3 u
  553. ; http://php.net/docref-ext
    $ t! j- y3 a$ L4 g
  554. ;docref_ext = .html
    7 l) @/ k! @/ w7 O* D) s% z' ~& v, [4 u

  555. 6 l0 e0 {/ A, d  x' u+ \- Z7 M) E
  556. ; String to output before an error message. PHP's default behavior is to leave
    / A! I2 c0 v; N6 I& f6 k" U0 p9 W- r, g
  557. ; this setting blank.; B3 P( J. p, p# W! o
  558. ; http://php.net/error-prepend-string
    # H; v7 }8 u  R% L" n, A
  559. ; Example:
    6 e: w/ D3 G! o" l
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    2 a" [9 }, Z. I) R' f7 E6 x0 W

  561. * A; v3 h9 d2 [
  562. ; String to output after an error message. PHP's default behavior is to leave
    # t. @# k7 T, G$ M! e& r5 M
  563. ; this setting blank.
    $ G" b; b! ]# w" }
  564. ; http://php.net/error-append-string
    4 X- ~! }  o1 y! b
  565. ; Example:
    # H9 y6 w1 R8 Q# n8 F; [
  566. ;error_append_string = "</span>"
    3 f6 i' j5 w5 I; b* K

  567. ( L* w5 c$ W9 k7 c
  568. ; Log errors to specified file. PHP's default behavior is to leave this value" |  Z2 U! N; J# S: ^+ Y
  569. ; empty.
    " m6 x& f; [& }, J! d, }, l
  570. ; http://php.net/error-log! x- ?  g# ^6 A! _  ^$ n: ~
  571. ; Example:  I: H4 h" W! e1 T/ k! _- O
  572. ;error_log = php_errors.log$ l+ H/ N' o' I2 j9 n. j- p' \5 J/ X
  573. ; Log errors to syslog (Event Log on Windows).7 u( H4 S. W$ L* H5 t- ?1 t
  574. ;error_log = syslog+ h* n, |+ E) s" X

  575. # u8 z0 i7 o5 L& ]7 e0 |
  576. ;windows.show_crt_warning
    8 g: y. L: X  x- s/ C/ g
  577. ; Default value: 0
    ' r  k9 V2 q! I. X4 u0 I
  578. ; Development value: 0
    : T3 m+ S2 `! r8 ?
  579. ; Production value: 0
    $ Q, j& d* z$ c, L( n7 R" ~* K

  580. / \" L* @2 l( }
  581. ;;;;;;;;;;;;;;;;;% h) l( I1 e* x* @1 A, ~! N
  582. ; Data Handling ;* p! z/ i4 b) i7 _6 L1 Y
  583. ;;;;;;;;;;;;;;;;;
    $ h5 H. s2 P6 a/ M& h* h7 k3 \5 y

  584. ; A) C1 d% j$ V: k
  585. ; The separator used in PHP generated URLs to separate arguments.
    , g" u1 q) R  c6 {! \
  586. ; PHP's default setting is "&".9 s% P. N5 d: T* N
  587. ; http://php.net/arg-separator.output- j5 g# W4 C" {3 q
  588. ; Example:, ?# D7 [/ k$ {3 a5 p
  589. ;arg_separator.output = "&amp;"
    & n( e, C8 v" p# X" f

  590. : ]  ]5 H( @  X: g
  591. ; List of separator(s) used by PHP to parse input URLs into variables.$ ]8 x  H  X0 m5 h4 Q; F
  592. ; PHP's default setting is "&"./ u5 D+ R, A1 w' B+ h5 L1 T
  593. ; NOTE: Every character in this directive is considered as separator!
    5 k6 Q0 N( \2 Y( K  s2 `( b
  594. ; http://php.net/arg-separator.input
    ) ^% \: `1 u& v  X: ]! b. }- ?- j
  595. ; Example:6 }8 H, u2 |0 v7 k& a9 C: }
  596. ;arg_separator.input = ";&"
    9 I) {) G8 \) }& i

  597. 9 @; g* m; a* w* A
  598. ; This directive determines which super global arrays are registered when PHP0 ~" j( Q! h# W: T/ \8 p( ?# K
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super! g2 q( c: p" O; r) r
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    / m7 U, ]& N8 Q
  601. ; paid for the registration of these arrays and because ENV is not as commonly1 c- M, Z& J$ S9 q4 @# G4 t
  602. ; used as the others, ENV is not recommended on productions servers. You# i8 u$ V4 T& P. I0 p3 H: d
  603. ; can still get access to the environment variables through getenv() should you
    ; V# g1 t6 ?8 E1 y
  604. ; need to.9 T% p2 w/ Z2 |+ @/ A* d
  605. ; Default Value: "EGPCS": m" ]  D: P$ h; r0 E& D1 d
  606. ; Development Value: "GPCS"6 ^1 d% c. G* `; |, C0 M* {) A
  607. ; Production Value: "GPCS";
    ; P' S% c% H" x
  608. ; http://php.net/variables-order
    2 [- w+ c! n9 ]- y* E4 Z3 b  u& _- r
  609. variables_order = "GPCS"
    + k. ]( v# a, X$ e+ V, o* u, l

  610. 3 L0 a" J. d; u1 `
  611. ; This directive determines which super global data (G,P & C) should be
    2 z8 w$ T; b; n
  612. ; registered into the super global array REQUEST. If so, it also determines
    ) M  q& a6 D1 I! [& e( L
  613. ; the order in which that data is registered. The values for this directive
    ( W& C. s& z, n, W) D. c  c
  614. ; are specified in the same manner as the variables_order directive,
    $ Y' O: I) ?/ @
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    7 ]/ w& Y/ L6 i: M
  616. ; in the variables_order directive. It does not mean it will leave the super
    & a; s1 \3 X# }4 k! _) ~# W
  617. ; globals array REQUEST empty.& p! E/ X: ^+ C7 B1 z
  618. ; Default Value: None
    ! l2 M4 ]* Z" w
  619. ; Development Value: "GP"
      M6 S% P6 f* B1 K- c5 R3 g
  620. ; Production Value: "GP"
    1 b& r- |! U& i2 B4 l6 t. O
  621. ; http://php.net/request-order
    ' l% M* d' @1 g, Z& Y* }
  622. request_order = "GP"
    0 h' K# p0 L& f1 }: W; |# I
  623. 1 H. a0 O5 H2 O0 Z
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    0 Y- _9 h' S! C3 q& f& C" n! D
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script7 a- ]3 m; t% J+ ^- M
  626. ; is invoked. $argc contains an integer representing the number of arguments
    6 l& `7 }- w9 W) U7 s9 n, P& S# L/ ]
  627. ; that were passed when the script was invoked. These arrays are extremely
    4 j3 k+ D0 K6 V  s  ]( T1 e
  628. ; useful when running scripts from the command line. When this directive is. m* w, S& [0 R; H! `$ H$ s
  629. ; enabled, registering these variables consumes CPU cycles and memory each time1 C, g& M9 k* S( A
  630. ; a script is executed. For performance reasons, this feature should be disabled
    2 q, g& D5 a: B
  631. ; on production servers.
    % @3 P& }9 ]* W4 g$ @# H1 M
  632. ; Note: This directive is hardcoded to On for the CLI SAPI6 h+ @4 M4 R: j
  633. ; Default Value: On
    / s% y; E1 i2 O  t2 c/ j
  634. ; Development Value: Off
    4 d# Z7 u7 z: y" ^+ ]; k1 F
  635. ; Production Value: Off) ^! t0 ~! v8 u; R
  636. ; http://php.net/register-argc-argv
    $ a2 m' s7 S) p2 q
  637. register_argc_argv = Off
    / o. `2 L7 K/ h* [
  638. ! [% k  x* h7 K6 [4 t
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're  N! P: ]+ u- S7 b& b8 i
  640. ; first used (Just In Time) instead of when the script starts. If these$ R6 B; B0 p1 f* Y( R
  641. ; variables are not used within a script, having this directive on will result
    6 Z% c) P" T6 J0 ~+ W
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    1 m, v7 i  w8 g  L
  643. ; for this directive to have any affect.5 s8 G% H5 X& ?; N8 \' i
  644. ; http://php.net/auto-globals-jit) u, I9 \5 U+ N. Z% Z; ]
  645. auto_globals_jit = On2 u* S2 T5 g; P$ Y1 B5 h
  646. 1 N  p6 B5 l$ i( u6 Q2 k
  647. ; Whether PHP will read the POST data.
    ! k7 F/ x. V. }
  648. ; This option is enabled by default., }( k6 K# A% ]* T0 A1 X
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    $ r, n* w- Z: @
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    3 \9 X) f2 {) A8 U1 g, ]. v0 A8 o4 d
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    ' a3 @( ^/ c) i1 ]1 Z( r. B. @, M
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    1 D: @2 p& z- B) J/ z! Q: `# p
  653. ; http://php.net/enable-post-data-reading- `! E. f' i+ S* I6 R
  654. ;enable_post_data_reading = Off6 |2 m( a: {4 p; d

  655. 5 Q! `* i! A' H2 H, I: G6 Y* \
  656. ; Maximum size of POST data that PHP will accept.
    7 i! }9 z  R0 i' K6 w
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading( j6 m1 A$ c# K9 I6 |
  658. ; is disabled through enable_post_data_reading.
      E# Q7 F( n; j4 \" d
  659. ; http://php.net/post-max-size2 i' ^8 O" _0 r+ w
  660. post_max_size = 50M
    2 S/ k( J9 S4 u) m6 M5 h
  661. : U! a' e* E9 ~6 m) X
  662. ; Automatically add files before PHP document.
    , |) l$ I: Y: I
  663. ; http://php.net/auto-prepend-file
    # ~) Q1 ?$ t1 {- J- K: R( D8 C$ s
  664. auto_prepend_file =
    4 U5 j/ R7 j. n+ ^2 n

  665. & c% [- u' f8 P; {- g! O
  666. ; Automatically add files after PHP document.; k2 n2 A+ |( e/ R& k/ S# K
  667. ; http://php.net/auto-append-file
    # E% j6 U4 {! @2 Q; w
  668. auto_append_file =) Q! a% V, D' K0 v  G9 B
  669. : e( d* T0 G5 i$ ?' a! K1 Z- C
  670. ; By default, PHP will output a media type using the Content-Type header. To
    9 p# H% d, M) J3 Y9 f
  671. ; disable this, simply set it to be empty.
    6 U2 B% ?6 _7 L: W' U. Y/ d" F9 G
  672. ;
    3 |) B$ L9 R+ ^- p0 b
  673. ; PHP's built-in default media type is set to text/html.
    4 K  w( b& f! E
  674. ; http://php.net/default-mimetype
    , Z6 z+ }0 y4 x/ K+ W
  675. default_mimetype = "text/html"
      K6 \5 s9 K! u& m1 @( F8 z
  676. * l7 v- g% g' e$ e4 M2 E
  677. ; PHP's default character set is set to UTF-8.
      u: T- G# L/ E- F4 _8 ^
  678. ; http://php.net/default-charset; Y7 M0 D2 D7 o8 P
  679. default_charset = "UTF-8", h5 l- n2 O1 o  h/ Y) x. z% x

  680. 5 `" s- z/ u; Z  ~) ^$ i
  681. ; PHP internal character encoding is set to empty.
    ( M- l- t) h2 J9 x: H
  682. ; If empty, default_charset is used.9 m7 P! O1 s' s! E+ l! h
  683. ; http://php.net/internal-encoding: b( ~. b6 t6 d
  684. ;internal_encoding =) M7 F! F) {; W: Z' R
  685. , W; W+ p! Q8 e( N5 i6 U
  686. ; PHP input character encoding is set to empty.
    0 J. e& b6 Q: ]: O/ T- N
  687. ; If empty, default_charset is used.% r/ ~7 d2 T+ K. w
  688. ; http://php.net/input-encoding! u+ G5 z' _& E' h$ N- @
  689. ;input_encoding =
    ( H. q- H4 k) d: P# ?
  690. 1 F5 }) L- K) w! U* O: g
  691. ; PHP output character encoding is set to empty.& X+ M) {4 i. z* ?' k
  692. ; If empty, default_charset is used.
    , h/ q" [1 j5 N
  693. ; See also output_buffer.
    * C$ L/ D6 Y8 ]$ T  }- h
  694. ; http://php.net/output-encoding+ K5 P/ |' [$ c. r2 ?% x0 j4 [
  695. ;output_encoding =
    # A4 g; |! U* o9 K
  696. ! x' a" J0 L5 j0 D$ X7 a. d
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is+ Z7 C( C1 I, R; h
  698. ; to disable this feature and it will be removed in a future version.
    , v" ~. k4 v7 E
  699. ; If post reading is disabled through enable_post_data_reading,
    6 a  S/ d$ f4 A
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.! [5 }" |: p0 ?$ N; _6 L
  701. ; http://php.net/always-populate-raw-post-data4 g1 r1 P6 ]9 a# }
  702. ;always_populate_raw_post_data = -1* C# A0 h. t5 a" g; ]# ~

  703. 3 o8 u1 g( d4 w( \2 G
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    , Y8 X0 W# ^+ P% P0 z
  705. ; Paths and Directories ;: T' F0 g# u# I4 A7 ]
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;" B( [  e' g2 N( h5 j9 H

  707. : ?2 ~8 }0 W- m% `4 U+ W
  708. ; UNIX: "/path1:/path2"
    % B6 C" R7 E5 C0 E6 ]
  709. ;include_path = ".:/php/includes"
    0 Y# T) z7 V! E1 q" z
  710. ;. W' j0 f& w5 B' d8 m5 W8 x
  711. ; Windows: "\path1;\path2"
    ) a! ?$ O+ ?$ a; O0 L
  712. ;include_path = ".;c:\php\includes"4 e1 z/ P8 a+ S# ?2 u7 C; V5 y  I2 n3 ?
  713. ;) ^7 m- L' Y$ e. j# X. `
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"* C4 I( C& Y% T2 l
  715. ; http://php.net/include-path
    1 Q0 g5 T1 z) F
  716. ( W2 }7 q; S/ p  ?" \2 i
  717. ; The root of the PHP pages, used only if nonempty.
    % Q8 T* S7 e6 d* V8 `9 t6 L, I4 D
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root, Q; w( g& _# F
  719. ; if you are running php as a CGI under any web server (other than IIS)2 K; c  i7 E' i, d+ G
  720. ; see documentation for security issues.  The alternate is to use the
    - z: ~  P2 [% }, [3 Q
  721. ; cgi.force_redirect configuration below
    4 Q/ g+ q& {1 S0 k5 f' e& c  D1 }
  722. ; http://php.net/doc-root3 }/ r1 b0 h+ a; c: Z
  723. doc_root =
    3 L" b1 F5 L# @- c
  724. - ^+ n0 r2 H0 n! _4 q1 v' n8 i
  725. ; The directory under which PHP opens the script using /~username used only
    3 B  O, [# L+ B* W5 I# X( g
  726. ; if nonempty.
    7 ]* F6 V' t$ b1 `. X1 W  ~. w
  727. ; http://php.net/user-dir6 o" L% p' |6 R/ v6 c: T
  728. user_dir =/ J" Z# r2 s0 C
  729. 5 W( x! R. f9 f# t# ]  G, j. J
  730. ; Directory in which the loadable extensions (modules) reside.
    - F% C9 m6 P# x2 G6 R  [7 g' S
  731. ; http://php.net/extension-dir& f- J6 o9 N# ]0 R8 q0 C3 E
  732. ; extension_dir = "./"9 Q4 \4 c% g( P0 K9 m) E
  733. ; On windows:8 e- Q$ |6 [, J: ^6 n) o
  734. ; extension_dir = "ext"8 |: X- W7 d0 o; V

  735. 0 v3 n0 ]5 T* D, ?
  736. ; Directory where the temporary files should be placed.
    * E) ]0 `7 @+ y/ m' a0 f
  737. ; Defaults to the system default (see sys_get_temp_dir)
    + M8 B/ b, W/ T" |* h2 n2 l
  738. ; sys_temp_dir = "/tmp"0 I! n6 p3 x7 L5 e0 x4 c! x
  739. $ }* b* z! q1 Y  ^8 M. H
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work% c9 ~! b+ J$ s) r/ {. Z
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically0 V! t0 i0 U+ ^/ `6 Y' y. g1 W
  742. ; disabled on them.
    ) H# _& ~! ]! \
  743. ; http://php.net/enable-dl
    $ c, U& l. I% a+ I% ?9 a% C9 K
  744. enable_dl = Off
    ' P3 F2 c: W2 R

  745. * x& S" ~. b) |8 q
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under- j5 x1 O1 Q1 f9 c/ W
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    ( O7 }4 z* C& j8 b' {
  748. ; turn it off here AT YOUR OWN RISK. l+ q$ N2 R# N/ C( J- o2 P9 ?+ y
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**- r1 ?2 v( w3 l, i$ F
  750. ; http://php.net/cgi.force-redirect" r  |6 W8 G) o" t5 k
  751. ;cgi.force_redirect = 1" h" h: ^4 \1 [; Y5 C
  752. " a) \4 }6 H# [+ b8 {8 l. N
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    # p  L+ ?+ h* s( U
  754. ; every request. PHP's default behavior is to disable this feature.
    ; A- [+ c9 _. E4 C
  755. ;cgi.nph = 1
    , W) j- t8 T4 S6 b1 s) V
  756. ! _3 q3 A3 r/ c9 }" q- l7 ]5 Z
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape& n: |& ]$ w8 H1 P1 L2 w' Q
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    ) v% v; ]& P/ A, ?, W
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    - x4 P* N5 H$ F
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.3 y1 u2 ^4 D9 |* g, l: x# M
  761. ; http://php.net/cgi.redirect-status-env
    $ d4 B, |' A; I) o  [8 l8 O  b
  762. ;cgi.redirect_status_env =
    ) c5 W. |) D- N
  763. ! @, f; o6 |% {0 I. d4 e
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    6 t4 J5 S# a" M6 o! E
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok5 X3 \% f1 A* {+ ?: v, C- B* @
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    5 E) H3 X: S1 f  i! \9 C
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    0 Q! m$ m; \3 L
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts% X0 }/ a) [- V  z5 ?7 P' Y
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    - T2 N. v- h0 N5 Y$ p
  770. ; http://php.net/cgi.fix-pathinfo3 }. E! n, n2 {) o0 @  {' ]! u* ]
  771. cgi.fix_pathinfo=1
    ) V; ^7 R3 X3 m. z6 N

  772. 5 ~# c* S( p! y/ @
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    : L3 Z/ N0 V# f& D. d
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    ; k- b8 j" V- R" d
  775. ; http://php.net/cgi.dicard-path/ D& o: Z5 _( `1 q% x3 ^# A: S
  776. ;cgi.discard_path=1
    5 x3 ?2 B' s' P* C5 B9 {
  777. 8 w) U7 O9 W/ ~2 }
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate- [! n# }" @7 n; ^
  779. ; security tokens of the calling client.  This allows IIS to define the, [  O& r/ Y; Z
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    ! y0 \' P8 ?' @+ X1 i6 g
  781. ; does not currently support this feature (03/17/2002)
    8 V# N5 i( ]% l+ U
  782. ; Set to 1 if running under IIS.  Default is zero.6 n- a' |0 {/ q
  783. ; http://php.net/fastcgi.impersonate
    ! Z& W$ I5 h; X6 Q/ X# g" z. ?
  784. ;fastcgi.impersonate = 1
    ' Z9 [: ]- U% @8 h

  785. ; `- B* @: ^( e( ?% Q% x
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    . t+ ]3 c/ O% N8 p- P' p1 R+ z! V# T
  787. ; this feature.3 B% ]7 b) s2 v% @% x) X
  788. ;fastcgi.logging = 03 c2 G/ k6 v& x. h0 e
  789. 4 F+ ~0 ^# H+ P0 s/ U% Q
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    7 ^; \! P5 S7 Y/ I2 m/ r0 X
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    & N) w( e! u+ f9 q/ a! s
  792. ; is supported by Apache. When this option is set to 1, PHP will send% B( D1 n4 e6 C) }& C/ \: {" F
  793. ; RFC2616 compliant header.
    / J/ q; @6 z0 p0 X6 o
  794. ; Default is zero.
    3 c' |5 W5 \1 S4 {% J" u* e+ q
  795. ; http://php.net/cgi.rfc2616-headers; N& W, W% v$ E2 Z2 h
  796. ;cgi.rfc2616_headers = 0
    3 z* d6 b& s1 K9 z! f

  797. ; k, f1 h( {9 M5 f2 N4 b& I
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    9 k9 {3 v$ A- y0 |7 o
  799. ; (shebang) at the top of the running script. This line might be needed if the2 x+ l. F' Z4 Q% j6 k1 f, U& e
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI" g- e% m/ [+ Z! x) R9 U
  801. ; mode skips this line and ignores its content if this directive is turned on.3 J. d( |' i  t! _  L3 C3 a6 J6 ~9 c9 q8 @
  802. ; http://php.net/cgi.check-shebang-line4 J2 g) j) L2 S! ~
  803. ;cgi.check_shebang_line=1' K( E- q0 s) D, E* o! O& Q
  804. ) A) K6 V* Z, m) p4 O( b, M
  805. ;;;;;;;;;;;;;;;;# m. A$ }5 l3 f
  806. ; File Uploads ;
    # O2 D, J) l" \+ f& M, @
  807. ;;;;;;;;;;;;;;;;
    ' ]9 Y" c! ~$ g# [) e+ z1 {) t
  808. ! u0 S3 |5 d5 m" S" G
  809. ; Whether to allow HTTP file uploads.
    . i# x& G5 b- X. Y. ?' {% W& b' e# d
  810. ; http://php.net/file-uploads
    : a) I" E6 V$ E, `  F
  811. file_uploads = On
    - k  i: N' X+ J# f1 y- M' T; k9 F
  812. / ^, _7 @9 @. |; d, ?5 ?$ O9 W
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    6 Z. e% r5 v/ ]( j0 E
  814. ; specified).
    ( }8 K1 s- \! z' R5 H  R# U( H+ m% R
  815. ; http://php.net/upload-tmp-dir+ o. ^# N( u" r' ]: H$ G
  816. ;upload_tmp_dir =
    % l- @: h3 P' @
  817. 9 B1 b7 B, v6 N8 j- |
  818. ; Maximum allowed size for uploaded files.1 P% Z" ^2 t4 o7 s
  819. ; http://php.net/upload-max-filesize5 ^: i$ E; m) i' D0 ^8 _
  820. upload_max_filesize = 50M
    9 W4 A0 M5 K) v4 g0 \4 I
  821. 6 L# b) I  l1 O. t+ w. r- h% l7 Z  [
  822. ; Maximum number of files that can be uploaded via a single request9 ^  H" O) `7 t( C
  823. max_file_uploads = 20
    - _8 ]( D6 |$ M( J) W. G  ^

  824. " S; k* R9 I2 \! h
  825. ;;;;;;;;;;;;;;;;;;- g) |( L2 Z$ |
  826. ; Fopen wrappers ;
    4 `& x+ s% v  F1 Y/ M  D8 Z3 ^$ M
  827. ;;;;;;;;;;;;;;;;;;7 o1 [: v( f; m6 z' `3 \7 C4 D
  828. : V0 F# V" E2 F& Z; }" h
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    5 F2 s' {* j* B, a
  830. ; http://php.net/allow-url-fopen( }3 v* p5 B- N8 {
  831. allow_url_fopen = On1 D- U% M. G+ O9 n# `$ i

  832. + j" Z" k7 f* D5 w' e9 T
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    , |. ?6 }* I, R
  834. ; http://php.net/allow-url-include
      G5 o6 e3 F# [! C( e0 I
  835. allow_url_include = Off
    + K( [# ~5 V, `" i( b
  836. 2 N7 n) [8 I2 Y& Z4 ^/ G- w$ v9 j! z' H
  837. ; Define the anonymous ftp password (your email address). PHP's default setting& t' b# l4 O- j9 {2 D- W
  838. ; for this is empty.: Y+ ~) Z! p. i
  839. ; http://php.net/from
    8 K6 d6 M! J, i" I9 F
  840. ;from="john@doe.com"5 d( O" X( k- u! T1 @
  841. : U7 D8 e7 }+ c0 s! e) J" N
  842. ; Define the User-Agent string. PHP's default setting for this is empty.: f  P( n" C4 S" }
  843. ; http://php.net/user-agent
    ) l. X7 u3 O* f, k/ w0 f& Q% J, \( U
  844. ;user_agent="PHP"
    1 n8 J* ?) o: \% Y% y. _
  845. 4 b. T: H$ r6 I5 d3 B: i1 f& m# A# E
  846. ; Default timeout for socket based streams (seconds)5 l; F5 O' Q: _. V2 T0 N( ], Z! h
  847. ; http://php.net/default-socket-timeout9 M  y3 c" ^  C! C$ V7 ?
  848. default_socket_timeout = 608 Y4 p: i; z& }# ?! B3 Q$ A
  849. - t- f0 C( q9 G4 ?/ L0 R4 ]
  850. ; If your scripts have to deal with files from Macintosh systems,; x2 f& ]$ J2 p( I' V5 c' `# S# Z
  851. ; or you are running on a Mac and need to deal with files from
    ' ~5 b, z" b% ?. |2 F+ w
  852. ; unix or win32 systems, setting this flag will cause PHP to2 y1 ~3 N/ |* k
  853. ; automatically detect the EOL character in those files so that
      l! {8 K# F" S+ w3 D: v7 b: s- Z
  854. ; fgets() and file() will work regardless of the source of the file.
    : B' }/ ~" }' f! B! p" x+ h
  855. ; http://php.net/auto-detect-line-endings
    4 {7 q; y6 v( Z) Z+ [' @( n
  856. ;auto_detect_line_endings = Off" Q* X$ K7 k0 B: @7 i
  857. ( p# ^. y! O, c1 @" V
  858. ;;;;;;;;;;;;;;;;;;;;;;, Y7 K2 G* K1 P
  859. ; Dynamic Extensions ;& }1 x; w3 i% S# I
  860. ;;;;;;;;;;;;;;;;;;;;;;7 W% b" p9 i% {4 X
  861. 5 [  b+ N- ?2 P+ \( x# R/ L) V4 R
  862. ; If you wish to have an extension loaded automatically, use the following
    8 |! u; f( D; X9 [5 N; b* ?# z
  863. ; syntax:- z8 j' B: _, `9 C
  864. ;4 ~3 d( E/ K/ e4 Q/ E
  865. ;   extension=modulename.extension# }2 t. \, F8 f! z: J) N4 H1 _# U
  866. ;4 [) P. z* \2 K: v, u
  867. ; For example, on Windows:. u' D7 M/ a0 i, T9 i  N
  868. ;
    ( K! I+ Q) Y# X5 h  [6 M8 K. s. t
  869. ;   extension=msql.dll' n* V7 k  {# k! x+ Q- n
  870. ;* P+ w9 H3 ?! x0 B' X
  871. ; ... or under UNIX:$ W' P1 {/ N% ]& o* ^( \6 K
  872. ;
    1 m' r% b; |; m
  873. ;   extension=msql.so
    9 ^2 E/ ?/ ]( g6 Y- r  u
  874. ;
    # h% e- Z) ^# v6 H5 k, I* e
  875. ; ... or with a path:' Q5 x2 d  G- @! r0 d
  876. ;$ z7 T% t+ N! F& y; e
  877. ;   extension=/path/to/extension/msql.so) Z& _* I, i- h
  878. ;
    8 W3 O, T+ E4 Y5 T; N
  879. ; If you only provide the name of the extension, PHP will look for it in its
    8 L+ g4 P- v2 e+ H# H* G
  880. ; default extension directory.
    6 t4 ?0 _# x/ \6 f, D* k; R+ v
  881. ;9 S, M) e" [  j
  882. ; Windows Extensions: o; h. i5 x5 r" F
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    3 s/ `3 B8 U$ A' Y
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    , w: s8 n( R7 q& z( M' Y- ?% R
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).( y/ a' l5 m2 \1 S
  886. ; Be sure to appropriately set the extension_dir directive.
    ( Q; h6 ?1 `2 t6 _8 {
  887. ;
    ( M' S$ _$ [6 w. D0 N
  888. ;extension=php_bz2.dll
    . C7 Q2 P" X$ E2 f' ~, ]: a
  889. ;extension=php_curl.dll# C$ x& _9 g/ ]: ?1 X
  890. ;extension=php_fileinfo.dll/ ~" Q/ g* i9 \2 A2 J1 E
  891. ;extension=php_gd2.dll
    . @7 {* {: T; M1 L( K
  892. ;extension=php_gettext.dll# `- t, j+ _2 N: @* ?( s
  893. ;extension=php_gmp.dll
    " n3 O4 _% m' {+ O2 N! ]/ S
  894. ;extension=php_intl.dll
    ; T1 e/ A. T3 A* P  b- m
  895. ;extension=php_imap.dll
    ' M* k) K4 p5 w$ k, x
  896. ;extension=php_interbase.dll. I0 G. {! a5 g& C  A
  897. ;extension=php_ldap.dll
    ! F% V: ^  J1 r. W
  898. ;extension=php_mbstring.dll
    ( t% _$ O! {; M& C$ v) F4 }7 k6 y  i
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    & g  n* J6 u2 n8 Q! N" a, X  @$ p% q$ r
  900. ;extension=php_mysql.dll% ?: I/ f0 K2 ^- s; ^( ~
  901. ;extension=php_mysqli.dll
    : O3 ]3 ~, @2 k- o7 i3 i: d$ h
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client  x. K: z  R# W# b- I( j% S8 U  V
  903. ;extension=php_openssl.dll: _4 V; k+ `; W* Z
  904. ;extension=php_pdo_firebird.dll8 W9 N6 C& I6 I5 ?
  905. ;extension=php_pdo_mysql.dll
    # R2 H/ }% C: d6 c3 ?
  906. ;extension=php_pdo_oci.dll; D, X/ [1 D! J7 E" q0 ]0 E
  907. ;extension=php_pdo_odbc.dll
    ) i, _* |4 n6 z5 O  ]: Q
  908. ;extension=php_pdo_pgsql.dll5 d/ M% H5 y  E/ f
  909. ;extension=php_pdo_sqlite.dll9 S2 S$ F1 |; ?% W* z7 M
  910. ;extension=php_pgsql.dll
    * z7 R- B) j& G6 W6 Q
  911. ;extension=php_shmop.dll; s' G* k7 `9 ~$ {$ q: o  s

  912. / D5 D# o) T% G) h2 c( ?4 }
  913. ; The MIBS data available in the PHP distribution must be installed. 2 |3 F6 X6 v! d, |5 m, }( ?) ?7 i
  914. ; See http://www.php.net/manual/en/snmp.installation.php ' {9 y( e" g9 Y# l4 R4 x
  915. ;extension=php_snmp.dll
    & E* |3 \* R1 g; [. ]* F' G

  916. ; M( Q+ R% D8 e
  917. ;extension=php_soap.dll
    - o, k8 t7 c% j9 G( `# |. ]+ U2 g
  918. ;extension=php_sockets.dll. ^3 }6 ]1 x) j3 r) Q
  919. ;extension=php_sqlite3.dll7 d; ?5 n4 B: \& o$ P+ j4 J3 X
  920. ;extension=php_sybase_ct.dll5 y# n3 m% |, {! x$ A) L8 _$ c& K% i
  921. ;extension=php_tidy.dll7 R- R; K' P7 b; C
  922. ;extension=php_xmlrpc.dll, G: f. P' J; ^# V" x
  923. ;extension=php_xsl.dll
      g" t9 C# L2 v5 j7 ^
  924.   T5 j: G- j$ M; Y
  925. ;;;;;;;;;;;;;;;;;;;
    5 k% {, W1 b. ^. ?: {5 j
  926. ; Module Settings ;0 t$ S# P; @% `
  927. ;;;;;;;;;;;;;;;;;;;
    ' t) a, i7 R( H. @

  928. - f/ J5 b+ T& _) W
  929. [CLI Server]
    4 K. p7 K# N& V- H3 b2 I+ O
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.' ]' M8 D7 ^. k3 b, E
  931. cli_server.color = On0 T" B0 C+ c* j2 Q

  932. # [" V) m' z/ W2 l" _1 ~
  933. [Date]- {, c8 ]" g+ e! f% P& `  y+ |
  934. ; Defines the default timezone used by the date functions
      f0 M& H' e, [% }
  935. ; http://php.net/date.timezone
    : P6 f, k" o0 T+ o
  936. date.timezone = PRC0 U# e# ]  p  ?: G* Q! c; W& c
  937. & {' m+ ]9 [5 a
  938. ; http://php.net/date.default-latitude
    & {4 o. Q$ k2 W1 F8 @0 t: Q! [
  939. ;date.default_latitude = 31.7667
    9 v* X3 s) N, J7 b8 c

  940. / M9 N. c: r2 E+ U! O) I
  941. ; http://php.net/date.default-longitude
    - U" }& j: ~5 z$ ^; o3 I
  942. ;date.default_longitude = 35.2333
    . T& _  Q% |. R" Z# R$ i
  943. # x7 d9 p+ V% ?( t& P+ c
  944. ; http://php.net/date.sunrise-zenith* C/ B8 V3 o3 I" B2 m# Z- |- \
  945. ;date.sunrise_zenith = 90.583333
    6 z; {9 K( \. t" m2 O+ c$ F
  946. - t% c' F3 H0 F' M& F2 \; Q+ R
  947. ; http://php.net/date.sunset-zenith
    7 K3 B3 Y& p6 o! ]( m( ~
  948. ;date.sunset_zenith = 90.583333
    % T, T8 W* b1 |/ M' k) b" ~

  949. 8 d+ V! X$ i! M1 P5 a* v, {
  950. [filter]
    ; B& t% k; J9 d3 }
  951. ; http://php.net/filter.default& j) N: m# A* `
  952. ;filter.default = unsafe_raw8 s( ~6 v6 ^" ?7 p# B

  953. 8 {; W1 e! B& O& u8 U4 O
  954. ; http://php.net/filter.default-flags
    + W$ Y9 l: P' j7 g3 _9 G
  955. ;filter.default_flags =
    2 f+ `9 `. [( O- a" Q: `" X

  956. ) ~$ g" Q, B+ F" C% g' {
  957. [iconv]
    : R$ f6 a* n6 _
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    ; Q! t: ]/ H* y& j* e9 T/ Z  @8 l
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.* B) E9 l8 H6 x% ]4 M9 j' d0 W& W
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    9 @6 D5 V" V7 {& N
  961. ;iconv.input_encoding =
    & v% O! \9 ~- m! G
  962. 3 d$ W. K* R* N  C3 V
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.( ~/ ]# ?+ U4 p
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    + ]! P/ d: p  t$ H- o
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    * U. Q- Q# ^0 b* H, `* s9 |6 w
  966. ;iconv.internal_encoding =
    - H. Z" u# Z, A1 D  R& [
  967. : m# Y6 `, I7 V5 j. [. c
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.; p( F& B( G/ @. B* U5 R
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    , ~2 b& {2 J3 E: X  d
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    7 L! z/ e  h; |  l! _. U- h$ q
  971. ; To use an output encoding conversion, iconv's output handler must be set
    3 A* G: M5 |5 J% w; z) B! @; s
  972. ; otherwise output encoding conversion cannot be performed.
    + \+ r9 U! i  e9 r, V; T
  973. ;iconv.output_encoding =
    , Y- D" E( U2 c. M
  974. # U  c: ]& b3 N6 B% t, A% d! U
  975. [intl]0 g. E' M: {0 Z# n/ T5 u" ^* v
  976. ;intl.default_locale =8 d! V  {- q& P$ c- L. y! z
  977. ; This directive allows you to produce PHP errors when some error
    ; s+ s  m7 b8 S
  978. ; happens within intl functions. The value is the level of the error produced.
    , C( q1 N/ C) D' `
  979. ; Default is 0, which does not produce any errors.
    ' |+ ?# L; x+ I( G( i) S
  980. ;intl.error_level = E_WARNING9 q9 o7 I& t( I
  981. ;intl.use_exceptions = 0" n' G, |' p+ p+ a
  982. . L+ j. ]! K  B
  983. [sqlite3]" t2 O# l7 v8 ?
  984. ;sqlite3.extension_dir =; _, V, F  u, }3 b8 I
  985. ( v* Q8 J* Y* ^3 s7 \1 t
  986. [Pcre]
    ) r; z% Q) ~3 C
  987. ;PCRE library backtracking limit.& L, }9 W* f  A( |0 B5 |4 _
  988. ; http://php.net/pcre.backtrack-limit
    . j. `! i, h% k/ k+ d1 {' M2 p$ y7 b
  989. ;pcre.backtrack_limit=100000
    - C" |* Q  \+ M# X3 `: K+ I
  990. - \# j' ^: p% j8 v
  991. ;PCRE library recursion limit." N  U9 w2 ?& D9 @
  992. ;Please note that if you set this value to a high number you may consume all
    8 J) K( R8 [3 h% ^, _% _
  993. ;the available process stack and eventually crash PHP (due to reaching the0 G9 I( Y% }  G" z, a
  994. ;stack size limit imposed by the Operating System).! c5 B9 M. e: ?. w) B3 }0 m( @8 a
  995. ; http://php.net/pcre.recursion-limit3 Z9 m" o0 X2 x3 u, Q  k( Q* ?, ^# G2 y
  996. ;pcre.recursion_limit=100000
    2 V+ A9 x" U% p! c
  997. + p' Q( L. A7 a. |, a/ E  x
  998. [Pdo]2 \$ y& y" y6 F& b" ^
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    ! M# a+ w  M1 \
  1000. ; http://php.net/pdo-odbc.connection-pooling
    3 A  o) E8 a. N9 H
  1001. ;pdo_odbc.connection_pooling=strict
    2 n! ^* V1 J, Z3 b, M! i
  1002. # C: Q; A* L5 h) F/ n1 r
  1003. ;pdo_odbc.db2_instance_name# ?6 o& E& G; @3 i6 \

  1004. 0 N# n9 X; h* E' \* b* ?3 c: R9 A6 R
  1005. [Pdo_mysql]( V1 h$ ?9 ?  h8 O4 C
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    3 W! f  c: ]9 W7 ?* \- _
  1007. ; http://php.net/pdo_mysql.cache_size
    ( z3 G! x8 ?3 B7 s
  1008. pdo_mysql.cache_size = 20007 r( v6 X6 J+ D) a

  1009. 2 l; v7 W) ~- ?$ Y" ~2 f3 T
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in1 R1 Q) E9 D, S, K( _2 m2 r
  1011. ; MySQL defaults.5 \# S" k$ l4 f( S& I  B& [% v
  1012. ; http://php.net/pdo_mysql.default-socket, K( n9 W# Q) a1 E
  1013. pdo_mysql.default_socket=/ C) t4 b% `+ r# q5 c) J+ w* u
  1014. 4 j4 `; U6 b0 o3 Y2 S7 j( E2 d
  1015. [Phar]
    ( d/ L. i2 N& Y" y0 j
  1016. ; http://php.net/phar.readonly  F6 w8 N3 f, U+ v: I. Z1 Q6 o
  1017. ;phar.readonly = On' e+ P- [  p, j* @
  1018. 3 s- w* ~- x% L8 Y5 V6 }
  1019. ; http://php.net/phar.require-hash
    - w% z# D% e# u! d9 Y' C& o
  1020. ;phar.require_hash = On
    , v; n8 y* S, q: c% U1 `5 t$ T

  1021. - |8 [+ J- }7 ~' k8 h6 x4 w  |
  1022. ;phar.cache_list =
    5 q8 n( [+ e& {% C0 S- U- Y( I

  1023. 0 x; x+ B- ^7 x+ ^8 A- v
  1024. [mail function]6 Z; Y9 Q0 }5 S$ _2 ~: x
  1025. ; For Win32 only.3 Y7 t( \+ X* _% ?" ?8 C
  1026. ; http://php.net/smtp
    4 M: U; v( c* w9 T  b) W7 h4 \
  1027. SMTP = localhost
    8 h6 [/ ?3 [% _' V) \$ U
  1028. ; http://php.net/smtp-port# Y. Z" {9 S/ R  u
  1029. smtp_port = 257 I6 \* |* B  i8 Q8 c
  1030. 9 p' b% o& m, ?: I
  1031. ; For Win32 only.7 A) q8 i2 }) Y
  1032. ; http://php.net/sendmail-from) |; q: `; b% o3 o) O
  1033. ;sendmail_from = me@example.com* S( Z4 f& y; M0 Z! L) e

  1034. # ?* z* e. U1 l' {! C; D
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").3 y* K1 Q7 Q+ M2 u; C( J* g
  1036. ; http://php.net/sendmail-path
    1 z$ R3 C3 y" I! b. k' [
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    , b. B/ T9 a4 Y5 o

  1038. 7 s: m% A' C: T0 M( o: p* Q- m
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    4 \6 F0 [( W. `  E
  1040. ; to the sendmail binary. These parameters will always replace the value of# }. ~4 Z2 Q7 u+ I' e
  1041. ; the 5th parameter to mail().: n3 P; `3 U$ e" q. a" o
  1042. ;mail.force_extra_parameters =* q4 D% q6 B  e' p. X  N4 n0 x% C5 r$ Y" k
  1043. - b4 S6 n9 ]$ G
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    3 m' ^+ Z! n+ y$ Y* C7 N
  1045. mail.add_x_header = On
    # }; A# z# \% O0 p0 i9 N5 {6 r# B  s
  1046. ' G" R( f& d" l, u: a7 H2 w' B
  1047. ; The path to a log file that will log all mail() calls. Log entries include
      Q, T4 g$ f" a: m$ o
  1048. ; the full path of the script, line number, To address and headers.
    9 U" O. ?9 |( x. j. i" C
  1049. ;mail.log =
    * n5 }# ~  y: U* _- N9 x
  1050. ; Log mail to syslog (Event Log on Windows).
    5 q# U) ?2 X( p+ @
  1051. ;mail.log = syslog: X7 S2 p6 p$ j) r/ b7 o: W! y- e
  1052. ( w/ A/ B. \7 h9 ~6 {: X
  1053. [SQL]0 v  [  T) j0 ?% u; r$ K7 l
  1054. ; http://php.net/sql.safe-mode3 T0 [; k, i5 |, r; [! s
  1055. sql.safe_mode = Off
    1 c, J; ?1 P& U: e& C* W) _- O

  1056. # _5 n- u/ Y2 I% l8 |, k
  1057. [ODBC]* g& y4 O8 Z5 a: E
  1058. ; http://php.net/odbc.default-db" T. P- O' O* }
  1059. ;odbc.default_db    =  Not yet implemented
    ) o6 j8 t8 K3 h- c' X+ c

  1060. # K" ~( e  ^1 H  |* ]
  1061. ; http://php.net/odbc.default-user0 h( U- t. A1 x. y9 k* p) Y6 M/ t
  1062. ;odbc.default_user  =  Not yet implemented
    4 e# {3 K( ^- x3 e
  1063. + }! f* `* {3 @# @; {  b$ V5 ~
  1064. ; http://php.net/odbc.default-pw7 o9 |: ^3 W1 u+ T3 H9 z
  1065. ;odbc.default_pw    =  Not yet implemented( V9 s4 g% k& p- e  \

  1066.   d# X3 M* l4 b6 g; [. O- k$ l# R. A
  1067. ; Controls the ODBC cursor model.
    2 G* @- m" e3 Q+ y+ v
  1068. ; Default: SQL_CURSOR_STATIC (default).
    * P6 ]: d% W* `  s) D0 t" h6 {
  1069. ;odbc.default_cursortype  O6 Y0 {/ S; B7 \
  1070. ' U; ]5 y: _/ K2 ^7 ~
  1071. ; Allow or prevent persistent links.
    ; W8 W  _' S: H+ q- P
  1072. ; http://php.net/odbc.allow-persistent
    9 U2 A/ M$ z, |; Q: P; {
  1073. odbc.allow_persistent = On
    6 {) T0 R- V2 b

  1074. % Q/ D' F$ w( V/ l/ Q7 \+ R$ q
  1075. ; Check that a connection is still valid before reuse.) k1 T4 ]4 f6 x, b5 G* V
  1076. ; http://php.net/odbc.check-persistent
    0 U! F/ T$ M' ?. {4 r% z  Q
  1077. odbc.check_persistent = On& r7 c$ M* N, `( s- D( ]
  1078. 8 p' w3 q, C8 Z: o7 _
  1079. ; Maximum number of persistent links.  -1 means no limit./ V: B4 L8 m' A( {
  1080. ; http://php.net/odbc.max-persistent
    5 ]4 w; T8 r% g1 ~6 S
  1081. odbc.max_persistent = -1/ e( i0 s& e% C' l) w+ _+ |' b
  1082. # r, [; R' z; ^, b4 ?
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ( x5 y/ L; ]6 O
  1084. ; http://php.net/odbc.max-links* K. }5 q) z( V8 U* O* E! A& V5 V
  1085. odbc.max_links = -1
    7 S) ]3 r( c; m6 M: A, V

  1086. 9 X: V/ Y3 K  t: ]. A
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means% h# ^5 f% C% X, T7 G
  1088. ; passthru.  Z) {/ J& T: r" ^0 i# Y
  1089. ; http://php.net/odbc.defaultlrl
    / Y% f+ g5 u- e# w( L
  1090. odbc.defaultlrl = 4096. s8 `9 B' G  d
  1091. % J, q. H3 @; ?1 j  ~
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    . h5 v5 w" D1 F- k6 [9 e  E6 H
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation' d2 T- Q8 @0 |/ m' z% l, ]) R
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    5 d9 H! I( |8 ]# o9 }& n( m
  1095. ; http://php.net/odbc.defaultbinmode
    3 w7 t. J0 Z8 ]- a$ w
  1096. odbc.defaultbinmode = 16 u. _: z! ]$ ^/ A  G# h0 H
  1097. / p( J8 p+ R0 z4 h" ]/ w& `
  1098. ;birdstep.max_links = -17 w4 `1 a* V; V, u$ M4 d
  1099. 5 \- U+ h# n" Z  p) r7 Z; S, N
  1100. [Interbase]
    7 g3 q9 K/ \. ?2 r% O
  1101. ; Allow or prevent persistent links.+ D# [' q, q. L% b, y; V* x
  1102. ibase.allow_persistent = 1
    # v4 G! m) S& J4 C
  1103. 9 B6 J  v. w4 z( n5 x; V
  1104. ; Maximum number of persistent links.  -1 means no limit.* ?* Z! {  |) g; P7 E
  1105. ibase.max_persistent = -1, v% D% x1 o7 B# {) O9 H* }4 p  G

  1106. + Z! J* X1 d) R" E, @
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ( [+ Z1 S1 q0 d, p' u
  1108. ibase.max_links = -1
    $ K- d* p: m) h. r" \! D4 b' K' i0 M; N

  1109. ; a6 P: X' D' |* G
  1110. ; Default database name for ibase_connect().
    : \# `3 U. ]9 ^( H1 e: X
  1111. ;ibase.default_db =4 B( s4 Q' t, R, A0 I/ K9 G: D

  1112. * _; I1 F& l6 L( Q  l) q3 z
  1113. ; Default username for ibase_connect().6 e, `! D3 ]7 J( u% ?% U
  1114. ;ibase.default_user =& _1 P& }4 Z5 L/ L

  1115. + \* _. ?5 m3 r: M4 v% H
  1116. ; Default password for ibase_connect().
    : V$ H! |, f* d. S' v" _' |! W
  1117. ;ibase.default_password =
    & Q) ~3 ~3 t, l9 a4 n6 U
  1118. # r9 P) g5 M" w7 b6 j, I# r% m
  1119. ; Default charset for ibase_connect().& `- u5 v% C* T7 F. {: v1 B
  1120. ;ibase.default_charset =
      v7 s+ l0 ^# D, a9 r6 o6 V

  1121. " Y- K- Y$ b' w. q
  1122. ; Default timestamp format.
    9 n4 ]2 r1 P6 c: a, H% l
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
      R0 P( P. q* j' X% ~

  1124. 9 S+ M4 ]& N7 j: p& M# p6 e6 v
  1125. ; Default date format.
    / l% c& Q8 n( O9 S
  1126. ibase.dateformat = "%Y-%m-%d"
    " A! x2 r* j& Z- k
  1127. : `, Z: J: b& T. C3 X
  1128. ; Default time format.
    ' h2 A+ o, e' f2 l
  1129. ibase.timeformat = "%H:%M:%S"8 n2 z# Q9 R; M; k( x, i: k* H

  1130. 4 \2 ?" k, c$ R. N' l( ?
  1131. [MySQL]
    2 U8 c8 U* P/ _0 m1 o$ S
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    . b; R4 i) q$ e& a0 q! N% q4 j
  1133. ; http://php.net/mysql.allow_local_infile% R" @- p- A1 ]. E
  1134. mysql.allow_local_infile = On, F1 |. C% `8 ~6 h! j4 A5 w
  1135. % g2 ^6 c7 k( |3 c
  1136. ; Allow or prevent persistent links.
    4 e4 d3 _0 N9 l
  1137. ; http://php.net/mysql.allow-persistent1 c8 N% _+ X2 [4 b( V
  1138. mysql.allow_persistent = On
    : j, E- {: E' e5 I1 ?( z

  1139. 6 \5 S+ T; B! d
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    $ [5 o* j* t2 W% G4 W& [  I
  1141. ; http://php.net/mysql.cache_size  ]/ r, U) g- }2 `8 T
  1142. mysql.cache_size = 2000: h( R: ^" t: k  f6 d6 o  P

  1143.   F6 A5 R* B. V, V
  1144. ; Maximum number of persistent links.  -1 means no limit.
    9 h+ N' f- B1 r; {+ B0 E
  1145. ; http://php.net/mysql.max-persistent& @0 g: V8 e8 G, f: W" d
  1146. mysql.max_persistent = -1
    / f. n4 v/ _( i9 m
  1147. : E$ D1 I, n. a* H
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    . p  g# @7 ?/ K) I6 [3 ]
  1149. ; http://php.net/mysql.max-links
    ! j+ I0 g" i7 A0 x
  1150. mysql.max_links = -1, V' T9 M' d" h/ k5 C; F6 C$ n+ t
  1151. $ }% B& E2 d: _
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use: i) q3 d- K, M/ u% g! a! Q+ y
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    9 Q) A) H  G$ A5 m8 E7 k
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look( C; g: c- @, W" @
  1155. ; at MYSQL_PORT.
    / t3 d# _/ v! j2 m
  1156. ; http://php.net/mysql.default-port2 A, }7 Q% M- t, U) p( W4 X& ~
  1157. mysql.default_port =8 e, Q" b6 a+ e% R- [6 ?

  1158. 8 b) ?/ r; V: S% s) `
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in: D6 G+ f! `6 j: j
  1160. ; MySQL defaults.
    3 o) ~/ J  @* d/ d$ V
  1161. ; http://php.net/mysql.default-socket) P# H1 t* D( S
  1162. mysql.default_socket =* f' @8 V2 V; W( A7 I

  1163. * X2 z9 u, ~9 F( x. V. ^+ H
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    : w6 @; H$ H; Z: y
  1165. ; http://php.net/mysql.default-host5 }4 w& g  L  N; i" A0 @
  1166. mysql.default_host =
    " H& _* |8 i" M5 }+ p

  1167. 8 I* O( P  w* ?5 r- r& c* ]1 j
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).; x1 n4 }9 @7 W/ p7 r- l3 m7 w
  1169. ; http://php.net/mysql.default-user- l- [2 U- C0 H: Q  q8 x' S. C( B% A
  1170. mysql.default_user =  Q6 \- w4 B9 I; M6 T
  1171. 5 P9 Z- f+ r# s3 _6 @, \
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    0 Y9 q+ p+ F, p  X6 d) E! J" ~& M
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    6 `  U1 O: L* e  M# U$ K
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    ( C; T' i. U1 X$ W( m7 f6 u
  1175. ; and reveal this password!  And of course, any users with read access to this9 O3 d% D" X- Y% K1 G- s& h
  1176. ; file will be able to reveal the password as well.9 r' b- [. P. g+ Q
  1177. ; http://php.net/mysql.default-password; W. }' J* i+ f6 \
  1178. mysql.default_password =* q1 _2 b; ?  f

  1179. $ {3 J! n! b7 L% _* h9 i
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit/ i* l% y* _+ L8 m  O
  1181. ; http://php.net/mysql.connect-timeout6 q8 g4 n8 g) J3 A, N5 b$ \* `! I6 F
  1182. mysql.connect_timeout = 60
      C: B, p% Y2 ]. W1 o# N. t  M
  1183. . _* x/ N8 ?3 m2 u) w
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and$ f9 b& @) h$ R6 m! [8 S, U* c$ Z
  1185. ; SQL-Errors will be displayed.
    * N, y6 @9 b' z+ |  m
  1186. ; http://php.net/mysql.trace-mode
    4 B7 T5 Q$ l- ?1 o* F" E
  1187. mysql.trace_mode = Off4 A* K% l% f* m
  1188. 8 [  k% {$ G; o  _7 q
  1189. [MySQLi]/ i5 s! E" N* h0 i7 W. |( O3 K

  1190. 3 w+ k- \3 E0 O6 b+ d) h
  1191. ; Maximum number of persistent links.  -1 means no limit.& L4 V* m/ F( p/ W$ ?3 e7 A8 [
  1192. ; http://php.net/mysqli.max-persistent
    8 v) y8 t- s( n- \9 q% B4 @! v
  1193. mysqli.max_persistent = -1" R! E# D0 [2 X, f, @3 s2 L% s5 x, y
  1194. ; {7 m# I6 k) y' ^' ^( s  ?
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements; @" f. I& {# j
  1196. ; http://php.net/mysqli.allow_local_infile
    # I. V8 u2 M9 n9 n( h( E/ z- I
  1197. ;mysqli.allow_local_infile = On; P( V  f+ x: L6 k/ W8 a$ H" v

  1198. 6 P! W5 B5 J9 b$ Q9 }) s' y5 ]
  1199. ; Allow or prevent persistent links.
    3 `# {4 I/ a2 o3 m) v
  1200. ; http://php.net/mysqli.allow-persistent2 J2 ]( ^, L  ]3 i9 S+ u; N
  1201. mysqli.allow_persistent = On
    6 B3 y+ Q- S. B$ U* `1 n! R! z

  1202. 9 X2 ~) p* H$ {/ p8 l9 u
  1203. ; Maximum number of links.  -1 means no limit./ S7 C* `$ z) b/ r8 \
  1204. ; http://php.net/mysqli.max-links
    2 T# w* h% \8 ?8 \7 E
  1205. mysqli.max_links = -1/ g4 Y' W9 U. P0 x1 h2 ]

  1206. ) `* k( @& Z% t6 c+ V
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache: O- E- M% ~+ Z% h; N6 U
  1208. ; http://php.net/mysqli.cache_size; r5 C5 }7 ?. n. h
  1209. mysqli.cache_size = 2000
    / t" z+ n: W0 R& F6 L

  1210. 9 ]2 `0 r0 C& N0 D
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
      Y) v( o& C8 F: B% Q
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the/ s" P% e- m2 O3 w0 ]
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    4 ?% n; i! A9 {. B# X: ^
  1214. ; at MYSQL_PORT.
    , p9 A1 A; M' G
  1215. ; http://php.net/mysqli.default-port% {+ M) b1 U$ h; v
  1216. mysqli.default_port = 3306
    6 t$ ^" y4 b! X2 K; r

  1217. ! a" q$ d0 r1 K. H: k" k
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    2 F8 t/ x  w+ Z1 Q5 Q
  1219. ; MySQL defaults.* c9 E( @5 w3 }1 K
  1220. ; http://php.net/mysqli.default-socket
    ' H/ B" z! z  P3 O, A7 x& y6 g
  1221. mysqli.default_socket =
    4 `0 ?* Q7 ~; K3 g

  1222. # |! R+ \* T0 Y6 J0 F: [, D" x( [% q
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).- v  H1 [* F/ ~
  1224. ; http://php.net/mysqli.default-host
      ~  C" d9 d7 i2 b% e9 H4 B4 _
  1225. mysqli.default_host =3 ?, P- d" h' r# M; A% I$ j- j4 }
  1226. . c( s( ^, h1 }9 i
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).8 E, Z/ V. I5 s
  1228. ; http://php.net/mysqli.default-user
    # O% K6 q: \* X$ o! t0 j7 @9 d5 k
  1229. mysqli.default_user =9 w: M- w4 ]( U* V4 y
  1230. 6 A3 U( r' K7 A
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    - D* R& z9 B5 I# e, ~, L5 E* G
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.( E1 _1 t1 s0 J2 s4 @5 b
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    0 n+ U/ g, j! T0 {3 c. y8 `
  1234. ; and reveal this password!  And of course, any users with read access to this
    ' z8 B$ e: c/ d8 G: e& \
  1235. ; file will be able to reveal the password as well.6 r  X9 n! d7 ^+ C
  1236. ; http://php.net/mysqli.default-pw
    $ k4 n; Q7 }+ w/ K
  1237. mysqli.default_pw =
    * [/ L. M5 R: E; x% P% ]
  1238. 2 W' S% J: [4 Y4 y$ n- N
  1239. ; Allow or prevent reconnect' \+ t  D1 n  d2 m. j: n4 I
  1240. mysqli.reconnect = Off
    - O3 D5 M" S7 V  l8 a% Z3 B2 f
  1241. : m) B+ Q8 t( ^" N; e$ i/ `
  1242. [mysqlnd]/ J0 [3 E5 x% z; i
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be5 m- D' e& R: w* N: x
  1244. ; used to tune and monitor MySQL operations." n! i+ F1 T" [8 P& M
  1245. ; http://php.net/mysqlnd.collect_statistics/ p$ d: ]2 s  d$ [
  1246. mysqlnd.collect_statistics = On; X: e8 i5 w5 a- U& g% X

  1247. 9 l8 q0 l" f9 ?. O
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be3 a* x8 M4 X  t
  1249. ; used to tune and monitor MySQL operations.
    . O* I; b* M$ `
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    4 \# A5 O; d& B
  1251. mysqlnd.collect_memory_statistics = Off
    $ P4 j1 W8 z9 B
  1252. 6 N7 `) N' A) G4 p# J
  1253. ; Records communication from all extensions using mysqlnd to the specified log$ q" q. C! Q/ B$ w" v
  1254. ; file.0 f4 Y. q7 ?( r& R) Z6 [' ?( W
  1255. ; http://php.net/mysqlnd.debug
    ) U& p5 ^1 K1 r
  1256. ;mysqlnd.debug =
    1 O2 N# x3 X( d- `+ R, S

  1257. # }' u3 Q- m" B. z/ S# c
  1258. ; Defines which queries will be logged.0 {* _; _3 m& r' F; u, Q$ u8 o% a
  1259. ; http://php.net/mysqlnd.log_mask/ a3 J! u' q# f7 d8 r# s
  1260. ;mysqlnd.log_mask = 04 `. C$ g/ x" S  A
  1261. $ J& n+ [# P" J) L+ ]" v
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    4 u2 P$ `0 L+ |) b3 `
  1263. ; http://php.net/mysqlnd.mempool_default_size; k+ \4 M' k& y1 T& r0 M% D
  1264. ;mysqlnd.mempool_default_size = 16000
    % ~5 @, V6 d: G) |# i$ f5 s

  1265. $ F; {: K! o! E3 N; ]
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes./ M& f# F5 Y$ N9 i9 C+ ~1 Q" S$ R
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size' {# z/ L% L0 C0 R6 @
  1268. ;mysqlnd.net_cmd_buffer_size = 2048, P1 M" Q) ]" c/ \: K0 N

  1269. 8 T# K2 d& M. d) |
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in( m" d& T$ G8 k6 a0 j
  1271. ; bytes.
    : T, Y; C7 M: j5 n" E" u% z; z1 Y
  1272. ; http://php.net/mysqlnd.net_read_buffer_size5 {: S. l2 ^3 q$ W7 r
  1273. ;mysqlnd.net_read_buffer_size = 32768# }6 `6 ]6 v5 t: V2 Z6 q
  1274. 0 d4 ~2 H5 q* k
  1275. ; Timeout for network requests in seconds.
    % U( L+ `" ?3 G, u# C) y
  1276. ; http://php.net/mysqlnd.net_read_timeout
      `5 Z3 C% s3 \6 ~
  1277. ;mysqlnd.net_read_timeout = 31536000
    2 M* q0 e4 ^0 k, l# y

  1278. 1 w1 }6 Z. ^$ L! S) v, ~
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA2 j2 j4 v' E1 D
  1280. ; key.
    7 q$ V) }- {4 u7 p; ?" g1 G
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    " ^- Q% r! I8 y2 S
  1282. ;mysqlnd.sha256_server_public_key =/ W; W; U2 W, t' G! T7 w- n

  1283. ) M! V0 f9 \$ ]4 ?' |
  1284. [OCI8]
    * C6 E- I, w% r4 P( G% F

  1285. 8 S+ U. j/ ]6 e$ M
  1286. ; Connection: Enables privileged connections using external
    $ o2 M9 W+ x+ v/ P; J
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    1 k6 _5 @( s9 n/ X% P
  1288. ; http://php.net/oci8.privileged-connect
    - Y- @4 a* ^1 s
  1289. ;oci8.privileged_connect = Off
    5 y" T0 w. N0 h+ G* Z1 f0 {

  1290. ! H/ M) @) A+ ?$ `5 @0 O
  1291. ; Connection: The maximum number of persistent OCI8 connections per  i! b8 U% o1 o5 k& o. y, I
  1292. ; process. Using -1 means no limit.; @* P$ o& d2 ~4 l3 R) \
  1293. ; http://php.net/oci8.max-persistent0 R+ w* G7 y# k
  1294. ;oci8.max_persistent = -1
    7 F5 g3 P5 G3 o# M: y/ ~
  1295. . \9 X8 E3 e4 w6 Y3 b3 e& `" ~
  1296. ; Connection: The maximum number of seconds a process is allowed to9 `4 |1 m5 t8 Y% m) b
  1297. ; maintain an idle persistent connection. Using -1 means idle$ ?+ N- O- d2 ~+ U* r
  1298. ; persistent connections will be maintained forever.1 ]6 r6 E) t6 X( K# ?
  1299. ; http://php.net/oci8.persistent-timeout1 q8 Z8 G  f* x% q4 c
  1300. ;oci8.persistent_timeout = -1
    / [( o, c7 r* K1 O8 L9 z

  1301. 5 @* }5 [8 ]0 q  D+ D' v" F4 B+ ^  c1 w
  1302. ; Connection: The number of seconds that must pass before issuing a- d/ C6 w7 W5 ]; m  d: h9 h0 D
  1303. ; ping during oci_pconnect() to check the connection validity. When6 n+ O# y2 p1 d
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables( P/ x+ H' Q& D( p* u8 e) ^  F1 Y
  1305. ; pings completely.
    4 @) A! T/ \* Q9 u7 n8 m
  1306. ; http://php.net/oci8.ping-interval9 V- |( y2 a7 R  ?! ?1 e' U
  1307. ;oci8.ping_interval = 60
    ) d( I0 Q# D2 G
  1308. 6 \9 y1 e0 c, P' c. }
  1309. ; Connection: Set this to a user chosen connection class to be used
    $ x6 m7 x- w) K2 A% J$ h% {$ v
  1310. ; for all pooled server requests with Oracle 11g Database Resident
      \( g0 b) {! k% e6 s4 E6 v) I
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to9 F' Q( T) Y8 E7 a  |
  1312. ; the same string for all web servers running the same application," d8 M7 b+ q6 I- ]2 ?& V( x% d0 c2 I3 O
  1313. ; the database pool must be configured, and the connection string must
    0 w* \8 W: }5 D9 M$ X
  1314. ; specify to use a pooled server.* `) t3 p2 j8 Y5 S; j8 S) G* W
  1315. ;oci8.connection_class =$ k9 i6 ]- x, H+ @4 l& R

  1316. ) H1 X/ J8 u6 K0 U- \: X
  1317. ; High Availability: Using On lets PHP receive Fast Application4 s7 q( J( I  I. |2 K
  1318. ; Notification (FAN) events generated when a database node fails. The( [" _2 L+ A3 y. b3 y. ]( x/ I- ^
  1319. ; database must also be configured to post FAN events.2 r- f4 y, H; r
  1320. ;oci8.events = Off' t6 Q. E) U9 o

  1321. / B) P' x* ?% g" h$ j
  1322. ; Tuning: This option enables statement caching, and specifies how
    6 z$ d. a: b4 w3 ^% N* ?& R
  1323. ; many statements to cache. Using 0 disables statement caching.' J) r& I" X/ r
  1324. ; http://php.net/oci8.statement-cache-size; ^) h5 g( }, E- I' |
  1325. ;oci8.statement_cache_size = 20
    5 A1 H: O  m) L9 }, s" ]( S2 U

  1326. 6 j- S3 I" S9 _! v, Y- l
  1327. ; Tuning: Enables statement prefetching and sets the default number of% h  p& G( {' Q: \
  1328. ; rows that will be fetched automatically after statement execution.
    5 u# \2 p$ V6 v7 k
  1329. ; http://php.net/oci8.default-prefetch
    0 c+ d' ^7 X/ m2 V* z& |! A; \$ T
  1330. ;oci8.default_prefetch = 100& W: Z& H. A+ N5 C% P2 q6 ?9 Y' T" _

  1331. ! e6 P: y! `9 S% l6 ^2 D
  1332. ; Compatibility. Using On means oci_close() will not close5 e4 A" q: h& n. s& b- Z1 }
  1333. ; oci_connect() and oci_new_connect() connections./ _# i, P+ w$ \$ V0 _% V5 G# L
  1334. ; http://php.net/oci8.old-oci-close-semantics
    3 I" O6 ?0 w- h9 E% w7 o
  1335. ;oci8.old_oci_close_semantics = Off
    " s) ^1 `2 I* @
  1336. : ?6 M2 U4 f8 [  o5 A, M
  1337. [PostgreSQL]  E- Y" L& s* n: S1 J7 @
  1338. ; Allow or prevent persistent links.0 W/ d0 g- R( i4 ?5 F+ r! ~% p% u
  1339. ; http://php.net/pgsql.allow-persistent
    9 `2 V0 J  ~' n- e1 D
  1340. pgsql.allow_persistent = On
    3 D" o1 e, \# R+ V' y( h2 f; ?. b0 H2 l
  1341. % h5 O* _0 q/ X' W# a4 K
  1342. ; Detect broken persistent links always with pg_pconnect().
    8 D& R: N. d6 O7 C6 y& l5 [
  1343. ; Auto reset feature requires a little overheads.* A& k2 i( x" k- f# h! p" i2 m
  1344. ; http://php.net/pgsql.auto-reset-persistent
    # U6 S1 M7 D) J6 a
  1345. pgsql.auto_reset_persistent = Off
    1 y% v( p+ M7 @/ T& n* T' k$ ?

  1346. 8 \5 S6 f+ g6 `; h; K6 x
  1347. ; Maximum number of persistent links.  -1 means no limit.% S1 D4 k/ o3 M7 F! z$ V  }
  1348. ; http://php.net/pgsql.max-persistent# u& ]# b, C) k; Q/ ~* F
  1349. pgsql.max_persistent = -1& J& h7 M' ]0 ^) i; a

  1350. , I0 N. s! r$ E4 B
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.+ C' [* F& |: V* \- d' g
  1352. ; http://php.net/pgsql.max-links
    + K4 M! H. `+ o/ p6 Y
  1353. pgsql.max_links = -1
    - F" B6 P/ z8 Z

  1354. & H2 A- Q: O7 a1 X
  1355. ; Ignore PostgreSQL backends Notice message or not.9 f/ L/ s: ?1 h3 f& T
  1356. ; Notice message logging require a little overheads.
    / D* l/ e2 V' p2 i! w" |
  1357. ; http://php.net/pgsql.ignore-notice
    ) r" Z2 i. P% y' w
  1358. pgsql.ignore_notice = 0
    : P# N! W( v/ ~" d. k; ~2 k

  1359. 9 X* m0 F1 Y- K/ D
  1360. ; Log PostgreSQL backends Notice message or not.0 [9 V# O) s0 F+ U: S
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.4 O9 o5 b- @( d' E, @* b/ k
  1362. ; http://php.net/pgsql.log-notice
    ) W7 `0 x: ~. b& @
  1363. pgsql.log_notice = 0
    * \/ q1 Q- N3 }7 m- T4 g8 M
  1364. ' |( g0 m! O- G4 A4 O' ?1 v5 }
  1365. [Sybase-CT]0 O; m6 m( A' W  O2 l
  1366. ; Allow or prevent persistent links.  A+ ?8 W7 h6 R! y) }4 C7 `
  1367. ; http://php.net/sybct.allow-persistent9 C- I1 H  y+ y7 I" u5 b! d1 h
  1368. sybct.allow_persistent = On
    : h4 s( o3 S  t' l# Q) C

  1369. ) l! w' U6 U+ g
  1370. ; Maximum number of persistent links.  -1 means no limit.4 M; s6 u# v0 ?3 Q4 Z
  1371. ; http://php.net/sybct.max-persistent+ O8 ]5 Y$ X* i* D% m; {- z
  1372. sybct.max_persistent = -1
    3 T7 G2 A2 r/ S9 U, U/ y: E- Y

  1373. $ K( M' r2 s! \4 `
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    2 g( P6 v1 A0 R1 q1 s/ E* S
  1375. ; http://php.net/sybct.max-links
    4 T8 I+ G" U! V# Y- o) Y0 E) q/ Y
  1376. sybct.max_links = -15 y  H% e" S0 R3 P$ H$ P

  1377. $ k6 Z8 T3 K+ Q" Z+ G
  1378. ; Minimum server message severity to display.# p$ }; q8 ]1 I3 E# C3 L
  1379. ; http://php.net/sybct.min-server-severity
    * W3 p7 A6 B, k4 t7 L: D7 ^
  1380. sybct.min_server_severity = 10+ _$ a3 s7 g1 F4 P* I; ^. a
  1381. # `- M0 f6 a5 X5 W7 @3 s
  1382. ; Minimum client message severity to display.. Q1 ?" d& q3 L9 B6 m$ E2 y
  1383. ; http://php.net/sybct.min-client-severity9 ~3 D$ q$ E( j; x
  1384. sybct.min_client_severity = 10. V" h+ U) F% N

  1385. ! W- T6 e7 o  z/ W8 M! ~* ?
  1386. ; Set per-context timeout( B. x3 N( b8 X, T! Y8 d( x8 ]
  1387. ; http://php.net/sybct.timeout3 [/ Z. U0 R5 ~2 R1 f4 m
  1388. ;sybct.timeout=
    ( V8 O# f8 ?: v+ N

  1389. , D: Y) p( q5 M# i/ G) y
  1390. ;sybct.packet_size5 y8 O: r8 y2 }. v$ D$ I

  1391. ( L9 J& d: f. }2 k; |! j9 }
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.+ m* O, a- V/ ~" l# q" i/ ]
  1393. ; Default: one minute% v! y1 c# g: j  ~: i, o0 N
  1394. ;sybct.login_timeout=
    ( O$ `& u' l: T8 s
  1395. + c; g+ @' \6 ~$ h( N* x$ f
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.1 b" _( ~9 a3 H# V& m; s8 ?( R9 Y
  1397. ; Default: none
    1 u$ R) ]6 u1 d* m6 ]
  1398. ;sybct.hostname=+ M+ u% E  [; ^+ D9 X. }7 ]& s

  1399. : c5 z. Z3 m* |# t( E' P! f
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    ' V) X" A* c% ?- E+ y
  1401. ; Default: 0; X# e/ R4 ^2 B
  1402. ;sybct.deadlock_retry_count=
    * r- |* C5 s( ?. s
  1403. # o* n7 }/ E: Z: u6 `8 _
  1404. [bcmath]) n9 Q" Z5 V7 K  Q7 x" {/ b
  1405. ; Number of decimal digits for all bcmath functions.
    ; A  j; g( F) Q0 T& i" B4 Z4 K
  1406. ; http://php.net/bcmath.scale) h$ O  C( T+ }9 _' S' v
  1407. bcmath.scale = 0
    + _( L0 h7 U: q. {, _' x" b

  1408. 8 Y8 T$ l; R/ I
  1409. [browscap]
    6 `8 Q$ o8 l- m' ~
  1410. ; http://php.net/browscap
    ! l0 `' z  X1 p2 i2 O6 s
  1411. ;browscap = extra/browscap.ini4 ~) Q  \3 }+ ]0 c) x

  1412. + h5 t3 q4 h1 L3 _4 ~
  1413. [Session]$ \- k7 b0 ?7 z  B
  1414. ; Handler used to store/retrieve data.) q, _- s, o8 v; z2 v* w( Q
  1415. ; http://php.net/session.save-handler* O: z7 X' i& O4 @. c
  1416. session.save_handler = files% ~* A6 z2 T# ]( x, G; ~: E9 v

  1417. $ G1 ]! \; X) t/ C' i- p
  1418. ; Argument passed to save_handler.  In the case of files, this is the path1 P+ g, {' E5 Z% [* ?& o
  1419. ; where data files are stored. Note: Windows users have to change this
    0 Y, B& C& g; f5 c. q7 O+ l
  1420. ; variable in order to use PHP's session functions.
    : w0 {! O/ x* E3 h% v# g
  1421. ;' K  g' `2 T) n. P, t0 V( e1 X
  1422. ; The path can be defined as:
    ; {& U2 F: \% c
  1423. ;0 w8 p6 M# h9 ~) W7 X
  1424. ;     session.save_path = "N;/path"/ _3 D/ g5 N: L' `# ]
  1425. ;
    1 S' f# x, F/ O+ F! [
  1426. ; where N is an integer.  Instead of storing all the session files in, V  j) Q; O. L: J
  1427. ; /path, what this will do is use subdirectories N-levels deep, and) ^0 a; c( K) ^: @: L- ~! q- z
  1428. ; store the session data in those directories.  This is useful if
    3 t+ L$ E9 X, o
  1429. ; your OS has problems with many files in one directory, and is
    2 U- q1 t" v4 L4 P# u$ Q6 Y
  1430. ; a more efficient layout for servers that handle many sessions.
    # W6 v3 ~, Q3 I
  1431. ;* W5 `) ^% A7 G+ F/ S" L
  1432. ; NOTE 1: PHP will not create this directory structure automatically." a5 _0 X  {, m7 a
  1433. ;         You can use the script in the ext/session dir for that purpose.
    ; B5 l; P( ]( N! i6 A. g3 j
  1434. ; NOTE 2: See the section on garbage collection below if you choose to" f+ J1 f; W+ q% {6 G" w+ J
  1435. ;         use subdirectories for session storage
    " {" z3 _1 S# y
  1436. ;
    7 R% X  e# ?8 T6 f
  1437. ; The file storage module creates files using mode 600 by default.( L! ]2 ?3 X; M  z# b0 o
  1438. ; You can change that by using; v# ~, b, ?0 Y9 f
  1439. ;  H9 }& r- A. t2 c4 @
  1440. ;     session.save_path = "N;MODE;/path"; m# H5 ~& V5 ?0 I3 S: {
  1441. ;
    # w9 o! T1 A/ b
  1442. ; where MODE is the octal representation of the mode. Note that this
      s+ j+ Y2 f% |  J2 |& A; }
  1443. ; does not overwrite the process's umask.; ~9 a7 y# {3 A( y3 r
  1444. ; http://php.net/session.save-path
    ' l1 `- H% a: k4 A1 B
  1445. ;session.save_path = "/tmp"
    ! \& V% Z% T4 G# F$ l+ }

  1446. 2 D1 B+ v/ b, S& r  x* g, I
  1447. ; Whether to use strict session mode.# q2 T7 q% x5 B! q/ q" \
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    " U- F* D; |6 S2 G: ]
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects# `. D. o0 P; f! J. h' ?
  1450. ; applications from session fixation via session adoption vulnerability. It is
    8 H1 j; ?( }" U5 |, S+ J
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.( W) [- ~/ E0 P( M+ E! ~
  1452. ; https://wiki.php.net/rfc/strict_sessions: z' D; s5 S/ P, p6 w; i% z; N
  1453. session.use_strict_mode = 0
    9 c) {9 t/ F) S9 L7 z9 d" ^
  1454. 7 s" V+ m9 k, s% C; }8 _3 f( A0 Q6 X
  1455. ; Whether to use cookies.# l# [4 E4 g& I# r4 h) y7 N. |
  1456. ; http://php.net/session.use-cookies# D" y0 N. q, s+ ?
  1457. session.use_cookies = 13 Q& ]# i# `6 F+ w- K8 l# T& w
  1458. - D  e; N. O: m1 H7 C
  1459. ; http://php.net/session.cookie-secure. ^+ l- r* Z3 A
  1460. ;session.cookie_secure =
    & J7 T% e8 C/ m! g: @: Q4 R0 S
  1461. 1 Y; g1 C6 ~. u+ A
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    2 ~+ U' Z, D- O0 s# {
  1463. ; the session id. We encourage this operation as it's very helpful in combating  C6 G; D) u  q# d1 E- l
  1464. ; session hijacking when not specifying and managing your own session id. It is. U  {3 ^# r: T- R  k$ x
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start." @( Z" |( v' I- A) y# u  ~
  1466. ; http://php.net/session.use-only-cookies6 \4 D) \6 w, v. y) `
  1467. session.use_only_cookies = 1' K1 e% o% M0 U- N
  1468. ' y7 u' c1 Q1 D4 f# t
  1469. ; Name of the session (used as cookie name).
    3 M2 V( x1 q5 }8 F8 `# l, N
  1470. ; http://php.net/session.name9 V+ [% @2 K# g8 M3 z' I1 o
  1471. session.name = PHPSESSID& U1 h( [4 j6 ]4 T

  1472. ! S! u$ \, O. U1 O
  1473. ; Initialize session on request startup.
    & c; y! U& C! l4 c% E
  1474. ; http://php.net/session.auto-start2 |, \, V/ v/ [& Z
  1475. session.auto_start = 0& H: l% P3 J, ]' r* E9 j

  1476. ; B, ?7 N+ `: i/ Q" l$ J& j# }# D! @
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.9 G- F/ y- L1 g
  1478. ; http://php.net/session.cookie-lifetime
    4 @; ~0 I3 F, C& L
  1479. session.cookie_lifetime = 0
    5 P  m' x) D4 H  {+ B. n

  1480. 9 h* S; H6 z. _) r) |2 G% M0 R( M3 q
  1481. ; The path for which the cookie is valid.
    & r3 a5 v, X: r6 n, m
  1482. ; http://php.net/session.cookie-path
    ( ?) h3 u* o. i0 P
  1483. session.cookie_path = /0 O# M8 ^' I; x  M! L

  1484. / `, `& C- p; b2 q
  1485. ; The domain for which the cookie is valid.
    + L& T5 d& u4 ^/ Y2 E
  1486. ; http://php.net/session.cookie-domain
    5 k* l! W7 y- [+ H
  1487. session.cookie_domain =  M* j2 Y& ]6 c/ H# v

  1488. * W5 a2 ]9 {4 T+ O
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.) V; J/ ~! t5 h7 ~: a. E0 b
  1490. ; http://php.net/session.cookie-httponly0 Y0 n/ r  s& _) m. E
  1491. session.cookie_httponly =
    & |# E& x" S" b

  1492. , Y: S+ ]- n, p& b8 w6 o! D
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    . _6 L9 n$ a, E$ P+ X
  1494. ; http://php.net/session.serialize-handler
    ; ~/ q4 ?: k9 K. |7 L! r5 p
  1495. session.serialize_handler = php
    6 p: O& Y# k1 }. T

  1496. 1 e. A; N1 c6 \2 f0 e
  1497. ; Defines the probability that the 'garbage collection' process is started7 A' _7 s+ ^7 p+ C2 E
  1498. ; on every session initialization. The probability is calculated by using) e  u% _% O6 F" x! P
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    # Q5 W% H" S; a, _/ |# L& j
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    / t4 e  E1 s8 Y/ h* s
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance6 G: s" U) v' Y2 G3 k' k! ~) e* A
  1502. ; the gc will run on any give request.7 f. [! W3 _% d2 B+ N: {
  1503. ; Default Value: 12 o% L3 B: \9 _  @' ~  g
  1504. ; Development Value: 1. T6 N2 w9 w4 u0 I9 d
  1505. ; Production Value: 1
    7 n; p; t+ c" k6 }4 C* L# s
  1506. ; http://php.net/session.gc-probability( R  z! G, [& R9 S
  1507. session.gc_probability = 1
    7 M; k+ l' b/ ]" C0 h2 u& h
  1508. % |* p$ y; O- a; C' X. U. H
  1509. ; Defines the probability that the 'garbage collection' process is started on every7 \/ ]  |  l2 F/ n8 w; m) }4 G
  1510. ; session initialization. The probability is calculated by using the following equation:
    ' o3 m0 S4 s4 m# ^( J
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and  y/ X  D% ~# O# }% K; A
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
      |& u2 {3 K0 m  T4 W( e
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    0 Z- Q; w. n  i& L' L! B
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    ' I, L2 u: B3 R+ d1 y+ Z2 a: t
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,9 I1 f$ G8 h9 q9 `; \
  1516. ; this is a more efficient approach.
    ( W5 o# h% |( K; t! ^, f
  1517. ; Default Value: 100
    ) s" g6 x  C$ O6 O/ x$ T. e, c5 B/ A; ?
  1518. ; Development Value: 1000& H7 a' B1 n* F" Z
  1519. ; Production Value: 1000
    6 g( g0 C* m/ C/ d
  1520. ; http://php.net/session.gc-divisor
    ( q+ U+ F$ |( Z% P5 x+ s* L
  1521. session.gc_divisor = 10002 M5 S* C/ e$ s* \# R
  1522. : w8 n- S: L+ A1 K( m( V
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    % X- i, Q$ H! L% B+ r
  1524. ; cleaned up by the garbage collection process.. k6 Q3 H+ ~$ l/ G
  1525. ; http://php.net/session.gc-maxlifetime
    7 D3 H* Y# d( y0 B3 p+ Q# q
  1526. session.gc_maxlifetime = 1440
    ) Q, C& |( V2 ^: S4 o" R2 Z8 \. |

  1527. 5 j4 V" a$ m4 r" D% m
  1528. ; NOTE: If you are using the subdirectory option for storing session files' R/ I/ y. K% D# B1 Y
  1529. ;       (see session.save_path above), then garbage collection does *not*, G. v. s7 d% l. B) `! ^, {5 B
  1530. ;       happen automatically.  You will need to do your own garbage3 S1 [5 g; d+ a8 j
  1531. ;       collection through a shell script, cron entry, or some other method.
    . ]0 g1 y) w4 X% @5 t
  1532. ;       For example, the following script would is the equivalent of
    4 ^2 {, I1 S0 z
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    2 k$ X4 X/ `% R+ ^4 y
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm8 T/ b' o5 ~) K" \% a9 I  u  ?# }

  1535. . P- g1 Z+ E) f4 a4 w8 ~: E
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.  h) \: G( p# v; |, ^8 l6 X5 [  @: c+ v
  1537. ; HTTP_REFERER has to contain this substring for the session to be$ @$ Y: `& E$ L9 H
  1538. ; considered as valid.
    : T9 p1 l7 k: e$ K& q' _8 c! B" D8 [
  1539. ; http://php.net/session.referer-check3 [3 l/ Q5 n+ D) }. P6 j& g* Q
  1540. session.referer_check =
    7 p) J& |" b, x' J% N9 m) R% ~2 ~
  1541. / g6 K; n/ R6 t9 S$ I8 c: ^
  1542. ; How many bytes to read from the file.
    9 Z7 V. ?8 A: G, l* }
  1543. ; http://php.net/session.entropy-length. {/ D8 u8 _% r& d4 X& ?+ p
  1544. ;session.entropy_length = 32) ]5 u9 P7 z, ~8 x: w3 k9 U

  1545. ! x' i* ~# x) x8 r# `4 l" |
  1546. ; Specified here to create the session id.! V% q# {! n5 p" l5 _
  1547. ; http://php.net/session.entropy-file
    ' G* t/ c* q: p& w
  1548. ; Defaults to /dev/urandom9 |& Z  Q+ f# q: f; \% {/ o! K* U
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    - t( G+ o+ O2 N) ?; j
  1550. ; If neither are found at compile time, the default is no entropy file.
    ; A: q2 e) A* y
  1551. ; On windows, setting the entropy_length setting will activate the8 t. Q. z8 h* N  E4 s. k/ G
  1552. ; Windows random source (using the CryptoAPI), @+ U5 |, u" B! d2 y
  1553. ;session.entropy_file = /dev/urandom
    3 T% {1 A4 M5 S" j
  1554. ' N% k- E1 p0 E
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects* `& b+ M2 S' E0 K: S% X) W6 q% C
  1556. ; or leave this empty to avoid sending anti-caching headers.' X& a# c6 H3 }5 x: @: {; g/ n+ R' j/ Q
  1557. ; http://php.net/session.cache-limiter
    , d# f. q- z6 S4 A6 G- M2 @  L. B# s
  1558. session.cache_limiter = nocache
    * _, z, D, e. V! G6 Q

  1559. 5 d8 }, y, ?- P/ Y+ |" E
  1560. ; Document expires after n minutes.9 A* O, C9 i& b! p* [: X% @
  1561. ; http://php.net/session.cache-expire" @& ?  c- b/ e, e
  1562. session.cache_expire = 1809 i0 t1 G# [: o* Y) E. |6 f" o

  1563. ( t* g, \3 y" l. Z' k1 }1 L
  1564. ; trans sid support is disabled by default.# N2 A( J" W- Z: K/ ~8 w# H
  1565. ; Use of trans sid may risk your users' security.
      b- X( ^9 l: W
  1566. ; Use this option with caution.7 u5 s$ |1 V$ c/ y) F
  1567. ; - User may send URL contains active session ID
    , p3 T5 w' k! f5 }
  1568. ;   to other person via. email/irc/etc.
    ' S5 B1 }- w/ I/ I$ o, X; V
  1569. ; - URL that contains active session ID may be stored
    7 U0 f3 j+ \- f% P
  1570. ;   in publicly accessible computer.
    # a( c! x0 p; C7 G9 Y* t
  1571. ; - User may access your site with the same session ID- ]' K7 f9 X; f+ i
  1572. ;   always using URL stored in browser's history or bookmarks., p  B5 {1 N* f* G( P! W
  1573. ; http://php.net/session.use-trans-sid2 O8 n: O' S+ P: i4 I  h) E" @
  1574. session.use_trans_sid = 0
    ; o" A# n& E- W$ f( {) e' R6 B, f- D0 w

  1575. 5 r3 R( U% D, T1 {8 w* ^4 {  u
  1576. ; Select a hash function for use in generating session ids./ ?8 f+ }7 Y4 R# @" r# a
  1577. ; Possible Values$ F$ F+ e% E# c6 _
  1578. ;   0  (MD5 128 bits)
    3 L$ Z$ u) w- u4 n' `3 y
  1579. ;   1  (SHA-1 160 bits)$ r- d3 j, J8 C
  1580. ; This option may also be set to the name of any hash function supported by- W& O6 u2 D$ a) Y! d7 i
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()1 s; B3 m, \$ Q: N$ p' h" w5 M
  1582. ; function.3 j. V" j6 g) m/ Q, ?5 ^$ _
  1583. ; http://php.net/session.hash-function5 O  Y$ D* y4 C- z; D5 P7 `( K* q
  1584. session.hash_function = 0
    # w$ `% T$ T- S& y" A  Z2 J, d) B+ J
  1585. 4 H# i! S, ^' R4 ^' I: M* ?5 k
  1586. ; Define how many bits are stored in each character when converting
    " R* K7 ]7 ?/ D) ]5 w
  1587. ; the binary hash data to something readable.* I" I, t0 t, q4 D4 B  A
  1588. ; Possible values:7 u1 N. K' g1 d  H9 T: U
  1589. ;   4  (4 bits: 0-9, a-f)
    1 x% u8 C  |5 P& P% }/ x
  1590. ;   5  (5 bits: 0-9, a-v)
    , g& w: q7 s: o# ]$ k7 q/ `2 `
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")3 \2 G/ `% |+ R* |6 k
  1592. ; Default Value: 4
    0 L/ X. a+ J8 }1 R9 z# ^  o
  1593. ; Development Value: 5& K; ]- t0 y/ O. S8 b
  1594. ; Production Value: 5
    # r' g7 N: |; b! K$ N
  1595. ; http://php.net/session.hash-bits-per-character5 H1 s* T1 k) t( B) q; W4 j) |' |4 P
  1596. session.hash_bits_per_character = 52 z* ^6 x4 m% h5 q4 z! c

  1597. 5 w! n& N( e: R, s# j5 q9 {
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.' A4 M) \6 r& e. {! ]
  1599. ; form/fieldset are special; if you include them here, the rewriter will' _+ z8 q, @) B7 _: H4 }- `
  1600. ; add a hidden <input> field with the info which is otherwise appended- G5 `. f$ b& y. p8 T4 v$ o
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.+ {" f5 w5 x' Q$ A- N
  1602. ; Note that all valid entries require a "=", even if no value follows.2 h; K2 N: v5 @5 ~% _! j/ Z
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    $ [9 E# R& M  j
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"1 w, J: @6 n4 o# j3 y
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    & ?- R9 ?$ a' _- i
  1606. ; http://php.net/url-rewriter.tags
    , X4 s' A/ P1 D) P& Z
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry", D$ \. _! y- b# }; ~. a" m  Z
  1608. ) e% s5 \$ l" P  I
  1609. ; Enable upload progress tracking in $_SESSION
    % t5 ^, I/ Y" q* B. m/ a. Q, T8 M
  1610. ; Default Value: On
    * O3 {/ \* O+ O3 L" R7 l
  1611. ; Development Value: On
    * Y9 K+ E+ b1 u1 j
  1612. ; Production Value: On& i9 t7 |, q/ l( ^* {
  1613. ; http://php.net/session.upload-progress.enabled7 F- |7 l9 {- Q8 i1 P% O; ]
  1614. ;session.upload_progress.enabled = On
    9 R3 X9 ]/ g& m" I9 K/ a9 n

  1615. + Y1 U! W. J$ R3 s8 N; Y
  1616. ; Cleanup the progress information as soon as all POST data has been read
    3 y5 V, |% c& A7 j
  1617. ; (i.e. upload completed).
    7 {( t: S# \: g) h. ?+ U% @7 U" _
  1618. ; Default Value: On
    + b5 U- a* Q* ^
  1619. ; Development Value: On
    8 N9 b' i6 X2 p+ @1 {3 g3 ]
  1620. ; Production Value: On6 d# I0 K1 L, Q' \* \5 j
  1621. ; http://php.net/session.upload-progress.cleanup
    + R5 `/ D2 h4 S- E5 s. o
  1622. ;session.upload_progress.cleanup = On' f! e$ D0 v7 C9 J8 ^* _

  1623. 3 _7 x' Y$ S4 k! }0 O" A/ S$ ^
  1624. ; A prefix used for the upload progress key in $_SESSION$ f& L, ^6 e2 M
  1625. ; Default Value: "upload_progress_"/ \# n% e6 ?- L, _8 f+ X9 S
  1626. ; Development Value: "upload_progress_"
    ; }+ o2 v  n+ k- M6 P
  1627. ; Production Value: "upload_progress_"; f% n: J+ r) T9 j7 R& O
  1628. ; http://php.net/session.upload-progress.prefix
    ) T  J) u- {3 N1 Y
  1629. ;session.upload_progress.prefix = "upload_progress_"
    3 ?0 E! o6 S1 V$ O; N

  1630. 4 k/ e7 _$ v# ~. x' {8 Z9 |0 T
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    + |; l/ I; P- _* E% H+ \! y) J
  1632. ; containing the upload progress information/ [& P$ n7 p# ?; b8 P
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    + W2 _1 b+ x8 F5 }; I) I  v" D
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    - _5 I4 Y- i# Z3 {% U0 [
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
      l# N3 G. ^3 \
  1636. ; http://php.net/session.upload-progress.name7 ?& x7 x4 ]# x$ `
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"3 t/ ~; I/ l1 |/ a+ r

  1638. " ~5 L7 ]& K3 Q
  1639. ; How frequently the upload progress should be updated.# }1 w# b% v; I; o% e
  1640. ; Given either in percentages (per-file), or in bytes; M9 h! B0 e1 ]# `( ~0 `8 f
  1641. ; Default Value: "1%"
    - u% }" r) k# Z& `# F
  1642. ; Development Value: "1%"
    / ]$ Q, j3 k/ Z4 l4 }
  1643. ; Production Value: "1%"
    ( U, F. H2 U/ v, m4 o. T8 o+ [
  1644. ; http://php.net/session.upload-progress.freq2 U; l0 E" {2 Y5 b  g1 K+ f
  1645. ;session.upload_progress.freq =  "1%"
    , p, W! g4 z5 _" s
  1646. $ Q* b+ y) W  V
  1647. ; The minimum delay between updates, in seconds3 {, G; M# P, A% w0 k. @; E
  1648. ; Default Value: 1
    * `! K1 S9 ]8 I$ B% L
  1649. ; Development Value: 1
    , O4 o9 A# P" R; X- ^9 I7 J
  1650. ; Production Value: 1, K% ^' p9 A: Y! Q
  1651. ; http://php.net/session.upload-progress.min-freq3 K" `; z7 x7 z9 I" T( o) c
  1652. ;session.upload_progress.min_freq = "1"
    6 X) b) g0 [6 W6 b: Y

  1653.   ~- Z: v6 L3 G" [
  1654. [MSSQL]
    % e. ~8 o1 Y. Y3 E! W: I
  1655. ; Allow or prevent persistent links.# _4 N( W- @$ q3 l; q; ?5 |
  1656. mssql.allow_persistent = On
    # ^5 J3 e) [7 o1 x  |

  1657. ; A; N$ T& U+ B# k  |- c* w9 q
  1658. ; Maximum number of persistent links.  -1 means no limit.
    " q* o1 J2 t0 V+ y% U
  1659. mssql.max_persistent = -1
    ' u8 p: E9 h/ D% J8 S
  1660. ( g+ s4 M7 @7 Y1 k
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    7 r4 k9 Q4 s% O$ r2 q
  1662. mssql.max_links = -1" d2 a& P0 P* c- \
  1663. ) x; R: O" v9 ~1 U  [7 Q
  1664. ; Minimum error severity to display.7 S3 o/ I' Q7 p# U- g& }. u* E
  1665. mssql.min_error_severity = 10
    & H' g# [* S) I# n* x

  1666. 3 g/ t4 n* ^! S8 s6 _4 E! [& W: V% O
  1667. ; Minimum message severity to display.
    5 c" U4 B4 A. P' S* h: Q" B" f
  1668. mssql.min_message_severity = 107 E- f- X) [. o- o

  1669. # K3 Q9 }' v) H" z. N/ f
  1670. ; Compatibility mode with old versions of PHP 3.0.6 U) f+ I0 X/ N' b, X
  1671. mssql.compatibility_mode = Off
    % e4 `0 Z# ]3 h; ]" r
  1672. 0 ^9 _/ s" K/ [( h) @6 ]* j' x
  1673. ; Connect timeout
    / p. n* m: C9 t0 a/ _7 q8 d
  1674. ;mssql.connect_timeout = 5
      v, ?: S7 Y7 ]/ ]4 K1 a

  1675. 4 r- n6 A  s4 u; k- _
  1676. ; Query timeout
    & I6 z' n5 X( b; j8 X) ]4 q) y! b6 {
  1677. ;mssql.timeout = 60
    3 @, e5 M2 d1 u- R+ F  Q5 M
  1678. % T3 g  l  B5 a& f/ E$ W/ |& N
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    $ l- d  \. I# F5 Q' ]: G4 X
  1680. ;mssql.textlimit = 4096# T( }# I! I- r
  1681. ' S7 N6 q5 R8 Z7 \" q- o6 w. Z
  1682. ; Valid range 0 - 2147483647.  Default = 4096.( Y3 m. f. U5 z
  1683. ;mssql.textsize = 4096, c- E' f9 m5 i) r9 i, i

  1684. , n- p$ @- H* ~  `3 q
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    6 @# N9 E0 ?2 v7 T& e1 O0 J
  1686. ;mssql.batchsize = 0
    ' z* e* \- G2 m2 @$ y' ~
  1687. 7 n; W4 D9 O/ G# p1 w# s/ Q! V( k
  1688. ; Specify how datetime and datetim4 columns are returned
    0 \- E2 f0 B" Y& f# R. c+ K  @
  1689. ; On => Returns data converted to SQL server settings$ H# J5 T. M6 B8 A& [8 U# [9 P
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    4 s% ?! J# r+ l) R' }
  1691. ;mssql.datetimeconvert = On
    & z! I3 p3 w' V) R& s! v" V2 e
  1692. 1 h- B; @" N7 t' S
  1693. ; Use NT authentication when connecting to the server
    2 y, v! q- [% t! f' q$ N8 }
  1694. mssql.secure_connection = Off4 [; u5 @0 }, U/ a4 }( i

  1695. & T' c$ e  s$ k! T" u  B
  1696. ; Specify max number of processes. -1 = library default
    & S$ }8 C5 H6 Y4 |
  1697. ; msdlib defaults to 25" P* \- b3 M  G# {) M
  1698. ; FreeTDS defaults to 4096
    . A9 m5 T& U/ \: w1 h& l# K% j! e
  1699. ;mssql.max_procs = -1
    % t6 s: E( f' n# i. _

  1700. * e" W  ?. N% B3 w% C& Z; i2 k( l
  1701. ; Specify client character set.
    ) e7 G, S6 a1 r, N1 @; Z6 Z' D
  1702. ; If empty or not set the client charset from freetds.conf is used7 U" [6 a7 h/ n) |5 V/ C
  1703. ; This is only used when compiled with FreeTDS: E% N8 n) ^7 _/ y
  1704. ;mssql.charset = "ISO-8859-1"
    3 P  d' Z: W2 Y  k) s" b9 h* t

  1705. 9 K  o4 T# ^, |$ e/ Q' E
  1706. [Assertion]& I+ `( g$ P: ?: q+ Y/ ^) G
  1707. ; Assert(expr); active by default.. j  m: g5 {0 h; V) o+ w
  1708. ; http://php.net/assert.active4 y: X! _( [) O; n  V# o2 S! Q
  1709. ;assert.active = On8 L/ G6 z% X0 r! D
  1710. 7 [# d  q! G, G
  1711. ; Issue a PHP warning for each failed assertion." k" _  o3 G2 v
  1712. ; http://php.net/assert.warning
    ! z; P* I: C% w  i0 g( x# h5 E
  1713. ;assert.warning = On7 t4 x+ Q1 X+ j5 j  c
  1714.   M9 r/ t+ t# c# P, Z. |0 s4 R3 _
  1715. ; Don't bail out by default.
    3 Q+ y; r. e9 V' m7 L* M
  1716. ; http://php.net/assert.bail8 v0 X& B5 X( `6 D2 F1 X
  1717. ;assert.bail = Off* M) L+ E, v6 t* U9 S$ ^$ d
  1718. . M" B6 {( E) Q/ `. Q) E
  1719. ; User-function to be called if an assertion fails.% |4 I) u% E5 G' M8 [' l/ ^1 V
  1720. ; http://php.net/assert.callback8 i1 L3 n# [, e6 A! a. B3 d
  1721. ;assert.callback = 0  f5 A. S8 u3 t, f2 @
  1722. 5 ~; |6 B+ ?8 i( a
  1723. ; Eval the expression with current error_reporting().  Set to true if you want. V- w- j0 [, r* a& ]- g
  1724. ; error_reporting(0) around the eval()." ~. d* z4 L6 c/ H$ j: U
  1725. ; http://php.net/assert.quiet-eval
    : P; c# _$ U/ @$ W7 u
  1726. ;assert.quiet_eval = 0# Q3 x( }% E9 J

  1727. " i7 F% M- m8 V
  1728. [COM]- A$ h" X$ F9 N8 J5 G) f) }
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    % {/ H4 n4 R) u5 S0 M
  1730. ; http://php.net/com.typelib-file- s4 s( G& h7 b  \; d7 B% ?
  1731. ;com.typelib_file =4 r1 a- e: `" Y% S. d

  1732. ) w0 D( E2 K1 V+ \5 n1 ^
  1733. ; allow Distributed-COM calls
    5 v. W8 B! g& ^0 l
  1734. ; http://php.net/com.allow-dcom8 H* T9 J- N' o, C
  1735. ;com.allow_dcom = true
    0 R) i4 }2 o* @& x" y7 U! C( K
  1736. 1 \( t+ r2 K9 k! K
  1737. ; autoregister constants of a components typlib on com_load()
    $ r7 F' l7 ]! |1 [, |  A
  1738. ; http://php.net/com.autoregister-typelib
    5 ^; n7 E; y4 Q' m5 [  b1 e
  1739. ;com.autoregister_typelib = true1 z% [& s: X6 |1 ]
  1740. 5 x& R" x; B0 h5 S% o6 g+ I2 J" X
  1741. ; register constants casesensitive$ j. }& R3 R+ u- X. {
  1742. ; http://php.net/com.autoregister-casesensitive
    * {6 ~7 f7 V5 {1 q7 {" ]. {
  1743. ;com.autoregister_casesensitive = false
    7 H7 g7 x, \5 b% s6 ~* i

  1744. " N; v$ W* D( m
  1745. ; show warnings on duplicate constant registrations' j4 g8 t9 H, p$ Z' B
  1746. ; http://php.net/com.autoregister-verbose% x( z2 b2 W. P5 c7 K9 r
  1747. ;com.autoregister_verbose = true
    : S/ V2 O& a% ]( i" }! @: T

  1748. 0 B; d! y4 y  _+ o* I& {+ p: V
  1749. ; The default character set code-page to use when passing strings to and from COM objects.5 T2 S0 Y  I) X* Y
  1750. ; Default: system ANSI code page8 y. C; K0 ]2 d8 [. p
  1751. ;com.code_page=. Z3 ~) {( @8 P# q

  1752. ( @! V# r, @7 U  ^8 C5 i1 m
  1753. [mbstring]0 Z) U; z* F9 _9 g; }. h
  1754. ; language for internal character representation.! n6 o( v% {+ ]& w+ w$ C' H
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
      K* h0 \, {8 \
  1756. ; http://php.net/mbstring.language
    3 n) T- r4 a7 a* }0 r- L
  1757. ;mbstring.language = Japanese
    7 j" m7 c9 F+ t! l! c
  1758. / I  ?5 @% a$ M! V" M+ h
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.' [# {, I1 B8 w4 b( d2 M
  1760. ; internal/script encoding.. _, Q) z: \6 C/ ?
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*); N2 A" K  Z: y% ?
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used., b! |4 s6 L/ [; K$ r  V5 ]( v- l
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding" g$ ]8 j/ s. y  F6 Q1 i1 |) V, w
  1764. ;mbstring.internal_encoding =
    / d2 i+ f: g# F3 s1 r  u# r7 v. w
  1765. ; m% d( v, g5 N" ]3 t+ x2 v! W! K
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    1 b, k  a/ `! ?8 L6 w. k- |
  1767. ; http input encoding." Z( Z- L. k. P1 g! \
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    3 l' e  v9 ]: F* z& @! _' U9 D" x
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.1 Q6 l: R; i9 K) u' P- z
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    3 {8 \4 Z$ l9 t1 E
  1771. ; http://php.net/mbstring.http-input# l, k% Z' R9 l! B4 r% x) @# L
  1772. ;mbstring.http_input =/ ~) b+ c& M3 M, m" D
  1773. - Q' U# S3 n7 |. V" C: T% r
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    $ k3 ^' g$ e4 N6 N1 i2 {" Y
  1775. ; http output encoding.
    ! q/ ?5 |* C5 m' R. v& e
  1776. ; mb_output_handler must be registered as output buffer to function.
    6 t" \7 J0 y6 r
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.2 K. E+ i  M  o- |
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    0 N; E- P' x$ m$ P/ ^
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    : t0 _4 A6 F8 d* m4 c% ~
  1780. ; otherwise output encoding conversion cannot be performed.3 t) q5 D- a+ z
  1781. ; http://php.net/mbstring.http-output1 _. q; t' T6 \" B
  1782. ;mbstring.http_output =
    7 f9 H. ~1 E/ d" J

  1783. 6 ]4 w; b6 w: m  c: |+ K7 V. |
  1784. ; enable automatic encoding translation according to
    # M0 ^2 I5 b: m/ E& x, x+ t5 c
  1785. ; mbstring.internal_encoding setting. Input chars are
    ! z3 ]+ k2 f" K3 J& u6 M& m
  1786. ; converted to internal encoding by setting this to On.
    ) X/ |; e+ a+ q. }2 ]3 o# w
  1787. ; Note: Do _not_ use automatic encoding translation for
    & _, p) z0 ?* G3 @: V- w
  1788. ;       portable libs/applications.
    ! c1 s5 W: ~  v& f
  1789. ; http://php.net/mbstring.encoding-translation
    ! i3 A7 e4 p  x2 A
  1790. ;mbstring.encoding_translation = Off
    % M6 @2 b7 V0 F; h: h' P

  1791. , J# H- h% ]4 ^6 x& G
  1792. ; automatic encoding detection order.
    " R0 Q: {: b) f7 N4 f( {- S9 \
  1793. ; "auto" detect order is changed according to mbstring.language
    0 s! C, Z8 `+ b
  1794. ; http://php.net/mbstring.detect-order1 p4 O1 R3 S& F! N% m
  1795. ;mbstring.detect_order = auto) k) [" W  Z! R: i, [& j

  1796. 9 T' d7 i* F  r" H* E" t, R
  1797. ; substitute_character used when character cannot be converted
    + m, c" T7 Q( J" F8 Q; }: R" u
  1798. ; one from another7 W" u9 Q! O5 V
  1799. ; http://php.net/mbstring.substitute-character
    ' i: L6 G4 x( P9 a+ l
  1800. ;mbstring.substitute_character = none7 j! v9 }4 Y+ k: c+ X
  1801. 0 }- s  l, I& b
  1802. ; overload(replace) single byte functions by mbstring functions.
    - n8 J7 O" z) X& f
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),- b7 E/ c: o( \" g2 [9 n2 `
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    % H1 N% f8 u" S" Z3 H( N- W6 Q
  1805. ; For example, 7 for overload everything.
    9 ?* h8 w9 H3 v
  1806. ; 0: No overload2 Y2 M/ c" T9 z$ ^6 P
  1807. ; 1: Overload mail() function# S5 A  P  X  U4 D; N* |
  1808. ; 2: Overload str*() functions4 F8 X9 W& j  q
  1809. ; 4: Overload ereg*() functions2 h; B: ]4 K5 h" ~/ u$ [% |- `) h
  1810. ; http://php.net/mbstring.func-overload
    6 r/ D& Z8 s/ i- ~' i3 G$ @1 a
  1811. ;mbstring.func_overload = 0
    ! J# R0 [4 f7 k8 g, H: X/ l

  1812. + _8 @7 F, G& b9 O! W
  1813. ; enable strict encoding detection.+ w- k* o7 y0 J0 n/ b
  1814. ; Default: Off! l7 r5 T8 m4 p
  1815. ;mbstring.strict_detection = On
    " ]; a/ P: b4 n- D8 r4 D, _: X% _
  1816. : Y% r5 p$ X" E1 B2 c% H3 K8 p0 u$ Y: e
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    : L: h; D2 \5 \  J, v
  1818. ; is activated.
    : G: F7 ^+ h) T
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    + z) a3 v$ U* }% y- U3 F- f& p
  1820. ;mbstring.http_output_conv_mimetype=
    7 ~- W$ U" `9 Q3 L$ d6 g
  1821. 5 j9 b. t5 [  l/ L0 n
  1822. [gd]
    2 j3 c3 d& t3 W0 O4 `
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    6 _- y4 T- S: d4 T; D6 R; A
  1824. ; a gd image. The warning will then be displayed as notices
    3 n+ V) A! S- [; ]& ^  F; t
  1825. ; disabled by default
    # W3 }# ?9 ?% V) E5 k6 C
  1826. ; http://php.net/gd.jpeg-ignore-warning; e8 @# A0 Z2 \- v& u2 o5 V$ J% J
  1827. ;gd.jpeg_ignore_warning = 06 t+ ^3 F6 t5 I+ h. \5 t
  1828. ' V- t% m. K3 z. r" z& W4 l* i  R
  1829. [exif]
    - O" p/ ^" u. c8 R* y9 r0 d0 y
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    0 b3 l4 s% A" s4 e  E  t+ _
  1831. ; With mbstring support this will automatically be converted into the encoding
    3 S8 q# B. _1 d% {* J  K
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    . C. ~9 X( o+ v" U7 T3 P
  1833. ; is used. For the decode settings you can distinguish between motorola and
    # z5 i# V, x4 _+ x5 v2 s
  1834. ; intel byte order. A decode setting cannot be empty.
    5 u0 i- O& s4 f
  1835. ; http://php.net/exif.encode-unicode
    , w- e" @8 D5 u1 w6 ~
  1836. ;exif.encode_unicode = ISO-8859-15
    ; k/ G" Q2 ?/ s. u8 Z; ]4 J+ C. d) W
  1837. & `* ~* K, r5 W: S7 {) b
  1838. ; http://php.net/exif.decode-unicode-motorola
    ! {; H# W6 N/ x
  1839. ;exif.decode_unicode_motorola = UCS-2BE
      K/ J; R6 ?% {8 P  K/ _4 q5 t( G# t
  1840. 6 t& @# v6 }5 p5 }, ^) K
  1841. ; http://php.net/exif.decode-unicode-intel
    3 h/ Z! e- j5 {4 L" v% ]& F/ J4 P
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    1 L- E  ^5 j( B3 j6 T5 A6 u! A
  1843. ' r; Z7 X- T. E# {; I
  1844. ; http://php.net/exif.encode-jis  s; u; V5 a0 D6 y
  1845. ;exif.encode_jis =
    $ ~& r+ E5 y& H5 \

  1846. 9 f9 C: T4 F- C6 `' g! Y$ @
  1847. ; http://php.net/exif.decode-jis-motorola
    2 o5 F0 O* a/ p
  1848. ;exif.decode_jis_motorola = JIS
    : G$ E: w# q4 Y. F

  1849. 5 |1 d# Y' N$ M1 L$ A+ W
  1850. ; http://php.net/exif.decode-jis-intel& Z! X/ c$ P! d# b) }+ V4 e
  1851. ;exif.decode_jis_intel    = JIS
    . O* y' U4 }7 j) O2 u

  1852. : c- q, Z. F6 P% J6 q
  1853. [Tidy]8 n; y3 y( [$ n3 w% Z5 [+ G* N# u& e
  1854. ; The path to a default tidy configuration file to use when using tidy
    4 g. T- d8 m2 g# }( {7 t. E& F" J
  1855. ; http://php.net/tidy.default-config
    - O- ~7 A: g* z% i0 y- `7 Y- M
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    2 G0 i1 H# e. ], q4 ]9 J+ _
  1857. & N! {( ~3 M" b  |7 T( E7 U  A
  1858. ; Should tidy clean and repair output automatically?& t2 k" l" x) N9 G2 @
  1859. ; WARNING: Do not use this option if you are generating non-html content7 D" W. n9 [, ^- k! g  [2 O3 J
  1860. ; such as dynamic images
    # ^8 c4 \% a4 K6 O, Q
  1861. ; http://php.net/tidy.clean-output
    # E8 u( R. C0 f0 l
  1862. tidy.clean_output = Off' M4 m% m4 S" O1 ?9 w
  1863. ! x* N$ {0 K$ K5 E! i
  1864. [soap]
    ; J2 t% A  u7 c0 E
  1865. ; Enables or disables WSDL caching feature.! d6 M& F, o: t" l) g- J1 O8 R* i
  1866. ; http://php.net/soap.wsdl-cache-enabled
    0 m  F) `' T% d8 L6 [0 t
  1867. soap.wsdl_cache_enabled=1
    9 K* E& v1 c* j" ]* n* x7 o
  1868. : M2 E( w5 q- r+ e! v7 ~; b
  1869. ; Sets the directory name where SOAP extension will put cache files.
    0 F' ~% o- R  u* {8 O
  1870. ; http://php.net/soap.wsdl-cache-dir
    3 D/ \4 A$ t. `- r2 z; G$ `
  1871. soap.wsdl_cache_dir="/tmp". v4 E. V8 M$ A1 S

  1872. 1 I4 M& P  D* a! u0 C: U5 o$ n
  1873. ; (time to live) Sets the number of second while cached file will be used% N& l) G$ ^" j, X9 i
  1874. ; instead of original one." K; A$ {& F- L6 z. Z8 O& J4 s
  1875. ; http://php.net/soap.wsdl-cache-ttl( a+ D1 H! f$ @9 a. u
  1876. soap.wsdl_cache_ttl=86400/ e5 \  a# n' U- X( q: [

  1877. % G) J4 c% k3 P% y: q4 _" ]8 f
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    2 G0 t% `# E" t8 w% b6 L
  1879. soap.wsdl_cache_limit = 59 ?2 y3 }3 P. S0 S( ?, ~; w

  1880. 7 H& i  U6 O/ K5 R6 h' v
  1881. [sysvshm]
    / [9 x% Y6 s! D- _6 D
  1882. ; A default size of the shared memory segment
    " j+ _+ ^* L- }4 s3 R. n. B
  1883. ;sysvshm.init_mem = 10000' V  v) I2 o& _( x0 m

  1884. % u" ]) K/ I: C/ F
  1885. [ldap]- A' ?( i% ]: z1 y" \5 t6 F* H
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    " D; O5 g* S2 S/ m
  1887. ldap.max_links = -1
    : U/ X+ M6 d- _  a& g

  1888. 5 s  D* G8 ^/ k: i* w+ ?
  1889. [mcrypt]4 ^$ L" W, {. B6 e
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open2 n* _+ f4 @, T8 _

  1891. 7 i( \( V" e  B) o
  1892. ; Directory where to load mcrypt algorithms
    - \6 e9 X! K4 {) e
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)9 W5 c1 S, h1 b1 A
  1894. ;mcrypt.algorithms_dir=
    ; v7 ~3 e( V+ q' Y/ f7 y9 o

  1895. * Y! D( c) c% k
  1896. ; Directory where to load mcrypt modes
    ' t5 F: O0 ^# `( G. t3 l8 i
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)3 L* }. H! x* R+ l3 D3 |0 n
  1898. ;mcrypt.modes_dir=
    9 x; y+ S& ~: j. ~

  1899. / o+ Q: ]# ?$ c
  1900. [dba]; F& [3 i2 s% f
  1901. ;dba.default_handler=
    ' i0 \" Z5 F! j" P" C9 Y# C! G* ?

  1902. 6 m4 D/ t* N9 Z% _
  1903. [opcache]9 x0 X2 D: ~. h7 z7 C' w
  1904. ; Determines if Zend OPCache is enabled9 H5 s  L( b" F* {& \2 `
  1905. ;opcache.enable=0
    # j$ V. \( Q9 @! N: C% B3 H

  1906. 3 x( h$ i$ S5 c/ \  B5 Q
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    3 D) b$ b9 D$ h& w8 ~( X
  1908. ;opcache.enable_cli=06 ?; Z6 }/ [; U  _. n6 T
  1909. : C" l/ c1 B1 w' [2 d( O
  1910. ; The OPcache shared memory storage size.
    # p% L- {& f8 v( ^
  1911. ;opcache.memory_consumption=64  B( x2 b: }( k) d$ C

  1912. ' q- a, K& O( h3 L& I* }8 |& B
  1913. ; The amount of memory for interned strings in Mbytes.
    0 o; Z* h; l4 h3 f4 ?3 o
  1914. ;opcache.interned_strings_buffer=4
    . ~) n# c+ Q' y3 {7 C
  1915. 4 K1 Y- U: M, V; v9 y
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.' y, O7 X4 B' C4 x( U9 i: d- |  F
  1917. ; Only numbers between 200 and 100000 are allowed.
    , a2 b7 U7 F' d
  1918. ;opcache.max_accelerated_files=2000: y8 i2 Z" d9 W' M# I( ?) Y
  1919. ; p0 q; C1 B4 e; y* \+ e, m
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    , }& a% J0 V0 D6 L
  1921. ;opcache.max_wasted_percentage=5
    ; v$ \$ r# s6 E: |
  1922. / l/ s+ J3 K. p, n. P# m& T
  1923. ; When this directive is enabled, the OPcache appends the current working
    $ U/ Y3 q9 w- }! i% l  \4 |
  1924. ; directory to the script key, thus eliminating possible collisions between
    9 I% o: t7 Z8 p6 X. @) v* r
  1925. ; files with the same name (basename). Disabling the directive improves
    : q+ r' b( i5 \1 R2 }" ^
  1926. ; performance, but may break existing applications./ u( Z  B8 W  y0 o) h- r: D# @
  1927. ;opcache.use_cwd=1/ c, Y' B* F% W, u1 J2 l5 B

  1928. $ k4 z4 _1 h' `
  1929. ; When disabled, you must reset the OPcache manually or restart the2 [9 @5 B  C5 B' |6 t8 U6 h
  1930. ; webserver for changes to the filesystem to take effect.
    $ L. Y+ q4 \' R+ i
  1931. ;opcache.validate_timestamps=1" s7 d2 f7 G- J4 u
  1932. 5 n8 s: W5 V, ]( P
  1933. ; How often (in seconds) to check file timestamps for changes to the shared9 E$ a9 Z2 M. Z, `
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    # M! w. y1 W: e6 n% ]! x
  1935. ; once per request. "0" means always validate)- B6 n6 w: R" K4 X9 r
  1936. ;opcache.revalidate_freq=2
    . l8 }- f0 G  h, L+ [' n& P

  1937. 1 D  {$ Z2 [# \* L  s" ]
  1938. ; Enables or disables file search in include_path optimization" x0 N0 h5 H% f  i6 T
  1939. ;opcache.revalidate_path=0: h; w( ]% S6 @, z1 a. f2 s0 _, k

  1940. + ~# o4 t/ s) d. Z+ Y
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    " y( w5 s" ^4 X) R- o0 K
  1942. ; size of the optimized code.
    ! u, j: u  G+ a; c; F% T
  1943. ;opcache.save_comments=1: E( V% H  E8 t+ Z

  1944.   t) K+ j: q' ~% n/ p
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    " y( X$ w) \) K) d' T
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    0 u1 B  k6 n4 ~2 L# l
  1947. ; that don't need them anyway.
    + V% m0 p  k! Z6 }6 {5 l9 Y7 w  d2 u
  1948. ;opcache.load_comments=1
    4 V) o8 M/ Y0 e2 ]

  1949. 1 h4 \+ `3 B$ V& k7 I
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code# v: m6 @+ |  e7 D  _, q
  1951. ;opcache.fast_shutdown=09 F# k  t% b/ a5 a, p0 u
  1952. . E5 n* v$ L2 D. f& Q7 @
  1953. ; Allow file existence override (file_exists, etc.) performance feature.6 v+ R- _6 ^$ ?* B& S* r- A7 \* h: t
  1954. ;opcache.enable_file_override=0# }2 J4 K. s7 x$ ?' Z
  1955. ) ~# }) f, H0 {5 Q; s. ^' O% M
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache% T! Y- B' j7 u
  1957. ; passes
    7 i$ [8 g1 c! p; \) @
  1958. ;opcache.optimization_level=0xffffffff& b5 v  x$ F4 O
  1959. " K5 j) r$ R+ _+ j3 b3 c2 t
  1960. ;opcache.inherited_hack=1
      M( L  D0 w# P9 ~
  1961. ;opcache.dups_fix=0
    # `1 m) Y9 r( Q9 t0 Z

  1962. & L7 m" M: d! t1 v: }) `8 y
  1963. ; The location of the OPcache blacklist file (wildcards allowed).8 t" C, u5 v' G8 O1 z3 c- S& m
  1964. ; Each OPcache blacklist file is a text file that holds the names of files. y( {" g2 \  W4 ?% y: @
  1965. ; that should not be accelerated. The file format is to add each filename
    * k5 w# ]& j9 q3 O/ P2 C* O3 Q0 }
  1966. ; to a new line. The filename may be a full path or just a file prefix- v9 _$ w9 _2 M) u
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    % w3 s- Z  ~* s2 n0 o2 M4 P
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    ! ~! H' c' W! f/ G# N8 L
  1969. ;opcache.blacklist_filename=  [1 Z& v0 t# b: J& v3 H
  1970. ) G4 `, @9 k2 t* C
  1971. ; Allows exclusion of large files from being cached. By default all files
    + Q( W( |" D( F1 U# L! {
  1972. ; are cached.2 J' m" |" h7 W: Y
  1973. ;opcache.max_file_size=07 H5 {. e* ]5 s$ i4 H8 s

  1974. ( E* O9 \' z% @& c( y8 V
  1975. ; Check the cache checksum each N requests.
    8 B1 f7 {/ W0 y0 v1 ~. x3 O: D
  1976. ; The default value of "0" means that the checks are disabled.* ~7 ]/ W' w8 [' F
  1977. ;opcache.consistency_checks=0, }# [6 s- b2 @! ?# S

  1978. 6 d' y6 [: a# X# v9 ?* D( e2 O
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    ) @( ?# f; A& ^  d; D0 T
  1980. ; is not being accessed.
    & Z* p, u( L, [. j: g9 B! Z
  1981. ;opcache.force_restart_timeout=180
    % l& C/ j, N2 e# u0 @, k7 R- j& l
  1982. / g; |  U& i; R. d/ z) ^
  1983. ; OPcache error_log file name. Empty string assumes "stderr".: j3 x" b1 Q# Q) @  L& i- x
  1984. ;opcache.error_log=
    4 ~0 I, A) _! x5 `% O; {( z! w1 K

  1985. / v: ^5 q. ?$ N( C
  1986. ; All OPcache errors go to the Web server log.8 r% R6 D; Q6 ?6 O- P# z/ X8 h! r
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.( O9 L& l% n; d. X; s
  1988. ; You can also enable warnings (level 2), info messages (level 3) or4 a8 ^+ g' X& ~' s
  1989. ; debug messages (level 4)./ G8 x3 ?7 F0 ]7 @  A
  1990. ;opcache.log_verbosity_level=13 J; e7 x3 i4 g% B0 U" y

  1991. $ j' V" N) N/ L( I$ r5 g
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.- ~8 N8 W6 T6 @. K- i
  1993. ;opcache.preferred_memory_model=
    3 g! c: }) b/ L: ]. z

  1994.   e; Y$ V9 e) H7 u" A* ]
  1995. ; Protect the shared memory from unexpected writing during script execution.
    4 I0 y3 C, [9 q' o
  1996. ; Useful for internal debugging only." e$ Z4 H* M& f. v" l6 @7 ]
  1997. ;opcache.protect_memory=0
    $ g; u/ s& R0 \

  1998.   R: ?) }1 A% y9 }* |. g
  1999. ; Validate cached file permissions." Y3 c! M( b$ k  t6 r2 w3 F0 F% V
  2000. ; opcache.validate_permission=0
    7 V0 u% T8 m+ [7 M
  2001. * G$ N6 L6 ~6 Q( h
  2002. ; Prevent name collisions in chroot'ed environment.' l( d) i% r! G9 p. C7 r- P3 V
  2003. ; opcache.validate_root=0
    + E7 x! J7 {& y  f% W0 }' v
  2004. ! J4 U) D" f' s3 k6 H
  2005. [curl]
    # z1 V$ a$ I. o2 ^5 G( H4 A
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    / O+ ^1 c& f& ]' W2 Y
  2007. ; absolute path.& S3 I" J3 d) G
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    * D2 c: D0 X4 w
  2009. % x: f# ?  ]% D2 N0 i
  2010. [openssl]
    " e' U! p. L4 ]  t/ w, x
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem  ~8 V7 N/ {4 A# |
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    ; `& B: ?  e" D7 |) L, L2 X5 N
  2013. ; not specify a value for this directive as PHP will attempt to use the0 t5 n- Y  M* v8 A
  2014. ; OS-managed cert stores in its absence. If specified, this value may still* t6 S; }. R' a
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context- S2 F( X8 Y/ S4 |% _
  2016. ; option.+ M+ p8 e$ O/ }% y( v
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt* k4 A: k+ a  \' O+ H

  2018. ) t/ s! G- l9 E; C5 u0 x
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the/ l- Y" ~# ~1 {0 [8 R
  2020. ; directory pointed to by openssl.capath is searched for a suitable5 _: P; K5 ~8 z. Y% x2 f0 w) W/ p' F
  2021. ; certificate. This value must be a correctly hashed certificate directory.8 ]$ H3 a8 Z7 J
  2022. ; Most users should not specify a value for this directive as PHP will
    ( Z7 @: k, E' R
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    & Y5 v' F/ D+ g; Y0 j6 n. b  X
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    - P  S+ F, ]; R# c! I. U. a' w
  2025. ; SSL stream context option.
    ) s+ L/ G5 T2 F; K- G1 W' Q) V
  2026. ;openssl.capath=  J( D( b. i3 b  \( [

  2027. ! `4 L9 ]3 j% N3 G. B7 A& T
  2028. ; Local Variables:
    & t) ~# T# O- s3 m- T2 m. A
  2029. ; tab-width: 4# g: Z! t  l0 C1 G
  2030. ; End:
    ( ]( G$ E4 U; p; |: Q. S7 G: D
  2031. ) c- _% A* j2 l% t' [
  2032. ;eaccelerator. u' a) O' w0 D: v0 K3 [/ g

  2033. 8 X3 F' v5 U# }+ d4 \, s& g  D! S
  2034. ;ionCube
    7 q8 z: h2 G* Q
  2035. 4 }7 _# Y" @* w$ p
  2036. ;opcache
    : L* J0 L. f/ u( e

  2037. 3 D7 ?$ K& m+ q4 d$ M1 N" M
  2038. [Zend ZendGuard Loader]: s, y1 d  Y7 T0 \: p
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so# s( @9 K' a8 E" d! n
  2040. zend_loader.enable=1
    " G) ], z& x0 h
  2041. zend_loader.disable_licensing=0" \- Y/ l9 ]# Y7 ?+ ?* Y4 d: {8 P
  2042. zend_loader.obfuscation_level_support=3
    ( A! B9 S  {; N; }) C
  2043. zend_loader.license_path=
    * J; P( {6 V* Y
  2044. & [& i. B5 U& y+ ?) `7 v7 g8 H' x: _7 Q
  2045. ;xcache
    ; Q* Y% g/ x- L6 z4 j

  2046. 0 S- m; X9 r2 P3 p$ T# m3 _; n
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
( [1 k9 [# s$ D4 W) M% t1 l7 N2 w5 r9 Y; P/ w3 l: L, F. w, s
( ?, G8 v( R, h# A$ O' ^
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
6 J) u; p4 t+ x8 R5 c8 O
6 a% e. Y, t; ~: k. g/ h2 u7 tDiscuz!程序版本选择:# w7 j) |3 Y$ E, O3 O4 C5 o
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
( \% a) E6 J0 Y" u( Y  K不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:( l1 ~7 \) B5 b3 c
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。
" {* i  w1 ~) B$ M; Y+ s0 p# v; W5 J6 V8 |! n, s* X4 P
Discuz!插件模板版本选择:
( J8 G1 ~# B9 q3 V; x9 ]( ~很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
' ~/ j8 a- _6 [& e) r- R针对这个问题做个统一的普及:# S" R  D6 r& P" I3 ?
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
6 n6 N( A6 l( Y+ ^0 H3 f( H; S7 c! G7 R) q  Q' v
所以
  T6 b9 |$ C2 K适合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的二级域名。
+ `& [6 N% W& w) h7 M/ K1 U! L打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。, @! B$ r. J- V, d* a8 z
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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