分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0! H* \1 r9 \9 p
; H# y5 k/ ~6 O  Q
  1. [PHP]: h. z* |+ V! ^2 g' q6 S
  2. 9 t9 w. A& K) e+ B( |
  3. ;;;;;;;;;;;;;;;;;;;- ~8 h/ R9 l, v$ k" H! N& l3 C) I  [
  4. ; About php.ini   ;
    % y% O/ U1 M6 @
  5. ;;;;;;;;;;;;;;;;;;;  L* C/ P/ B' {9 i0 j
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    ) L$ @$ H. l6 L3 O; X: y
  7. ; configuring many of the aspects of PHP's behavior.
    % Z* d; n3 U0 A0 P

  8. ( w3 q# _, b. J7 d. {8 q5 V
  9. ; PHP attempts to find and load this configuration from a number of locations.
    $ {: W. `: Q' ^. X1 E4 Q* q) r
  10. ; The following is a summary of its search order:
    ' e3 y! _* [" y- X% ~; H9 c, m
  11. ; 1. SAPI module specific location.
      Q7 A( R& m- s& U# V
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)- o5 _/ @) V# X5 R
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)" b8 n; ]- q5 ?4 x1 J" r* u
  14. ; 4. Current working directory (except CLI)" L2 D( U. v# d1 {
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    / w- N  f" b1 O
  16. ; (otherwise in Windows)
    7 a2 o; ]9 g, T+ A+ d7 z
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    - x  X- ^4 q4 a5 b6 j) C
  18. ; Windows directory (C:\windows or C:\winnt)' Q3 f/ q$ t" _6 q; N9 H# d4 z* c% l' h- }
  19. ; See the PHP docs for more specific information.4 U0 e' ~- e) A& l* X
  20. ; http://php.net/configuration.file9 e" U3 C8 }  B0 P. Q
  21. 0 R/ w5 l: a3 k( t6 u4 O# L
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    0 ^% Z1 h- |5 V/ C# q
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).2 ?: z/ d3 \4 D4 k# B
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though/ p. J1 E; F8 |
  25. ; they might mean something in the future.8 K/ N" l: n5 ^$ x" w
  26. 6 M4 x7 a- j6 \1 \! R. j; W
  27. ; Directives following the section heading [PATH=/www/mysite] only
    6 \1 d, |' ^$ t7 h. ^2 `1 r
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    ; Y2 Z7 L4 z, _' _: _9 p
  29. ; following the section heading [HOST=www.example.com] only apply to
    / `4 r! `/ I& H5 k: a0 Q! y
  30. ; PHP files served from www.example.com.  Directives set in these
    4 l) S  {& z, q( A6 R; n& x' B
  31. ; special sections cannot be overridden by user-defined INI files or
    % ^+ K& o, J. a$ g6 C
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under( E, f: o3 o, Q: v/ ^9 d9 h
  33. ; CGI/FastCGI.
    9 Z! W  K# f! `8 m2 v
  34. ; http://php.net/ini.sections* R+ P, c: m3 ^8 c* x
  35. " |( }3 r- t. o) q$ P' p: \7 v6 C
  36. ; Directives are specified using the following syntax:! `* r. {4 }" }* y% H: j5 B
  37. ; directive = value
      D2 C: |1 f$ [: U1 n
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.) \' @/ r- m$ I: S
  39. ; Directives are variables used to configure PHP or PHP extensions.
    & x. ?5 ]% N( f& G
  40. ; There is no name validation.  If PHP can't find an expected
    ( M1 G7 Z: k5 {8 q
  41. ; directive because it is not set or is mistyped, a default value will be used.
    9 K; y. C* _- J' J
  42. $ F' T- \3 v) s' P
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    ; M: a4 Q6 A4 Z+ n+ F/ [
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    ( R4 @) ~) h: g7 o7 r# b9 b
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a7 Y5 I5 ^/ Z8 B& X
  46. ; previously set variable or directive (e.g. ${foo})
    5 w- Y8 q, Q7 O
  47. 3 z3 o8 w) f% Y7 V1 b! C; j
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    # U+ U# `' \5 |4 R3 X
  49. ; |  bitwise OR6 T& V2 u0 r6 Z5 |
  50. ; ^  bitwise XOR
    + _+ r0 h3 E: A5 S# b
  51. ; &  bitwise AND7 g% f4 k: H+ o# b% s1 O) D( w$ P1 X
  52. ; ~  bitwise NOT6 f" |  K  ]# q+ m
  53. ; !  boolean NOT
    ( C3 I6 l, |, c6 C# g& X* Q
  54. 5 M. |, C( y0 I* W, p+ B
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.# {. O% d6 g$ `( j2 _0 F/ ]1 ^
  56. ; They can be turned off using the values 0, Off, False or No.
    ; i3 j, q" U, A" {; Z' y
  57. / h# R6 V, x% r- y
  58. ; An empty string can be denoted by simply not writing anything after the equal$ T1 X% e  R0 [! M- [* X! _0 s( W
  59. ; sign, or by using the None keyword:& r7 G; G5 l5 R8 N
  60. . m; U0 s' W8 n' m& I5 c
  61. ;  foo =         ; sets foo to an empty string" W+ N6 B8 Q. g! b; \* ]& o
  62. ;  foo = None    ; sets foo to an empty string
    0 E# O+ E1 K0 {. r# M/ R& R- }
  63. ;  foo = "None"  ; sets foo to the string 'None'
    ! _& a1 O1 r  ?3 P% r) W) ~
  64. : F) ^* s! }6 B' y
  65. ; If you use constants in your value, and these constants belong to a
    9 o( D5 f% d% {% l& ^- d2 D
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),: h1 H* P6 c2 v* F/ \; g
  67. ; you may only use these constants *after* the line that loads the extension.
    3 u# u9 r* u/ a. P( C; u& X" [: H
  68. ; V8 ]$ V$ U. }" S! K% Y* Y
  69. ;;;;;;;;;;;;;;;;;;;# J3 T& N0 j; x( X
  70. ; About this file ;
    # X, K( _! U% f8 D! o* g; E
  71. ;;;;;;;;;;;;;;;;;;;) M$ n/ H! l4 w; Y/ a( F8 E
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    ) W/ g: M( E% X+ U. W. ]. X
  73. ; in production environments and one that is recommended to be used in
    1 y# |+ @- S* p: [0 R
  74. ; development environments.
    / L2 J! S, V. j( r
  75.   h$ Q6 k( S# e8 s$ [  l1 U: w
  76. ; php.ini-production contains settings which hold security, performance and+ X% R( N3 F9 |7 D% {
  77. ; best practices at its core. But please be aware, these settings may break7 O$ t& s7 s9 Q5 d
  78. ; compatibility with older or less security conscience applications. We
    " b0 }2 w$ H+ i' M5 O5 M: n
  79. ; recommending using the production ini in production and testing environments.$ X! R9 U: |" Y4 i# x- G, h$ k8 A

  80. : }& v+ D2 {& G2 B' ?0 j( N
  81. ; php.ini-development is very similar to its production variant, except it is) _3 x; i+ W) }  `8 N7 B
  82. ; much more verbose when it comes to errors. We recommend using the: _1 o4 d6 A4 k
  83. ; development version only in development environments, as errors shown to4 H5 }& j/ |) ~4 t( o0 U+ @
  84. ; application users can inadvertently leak otherwise secure information.
    0 Q( J7 C$ x5 f; D$ K7 m

  85. 6 g. L* Q' m. E  P0 v! B9 z# X: Z8 G
  86. ; This is php.ini-production INI file.. T8 `5 Y4 b  A9 c

  87. 9 Z4 Q, T* z4 a7 u6 ?8 }
  88. ;;;;;;;;;;;;;;;;;;;
    ( {% t/ r% e# \! I, s! Z' }
  89. ; Quick Reference ;% T: u; k  |) n: ?4 F
  90. ;;;;;;;;;;;;;;;;;;;
    + B- }: D' x: [9 Q: O# L
  91. ; The following are all the settings which are different in either the production( C; @8 q3 Y# y
  92. ; or development versions of the INIs with respect to PHP's default behavior.& Q; F( N. u2 V9 c$ J6 @8 `
  93. ; Please see the actual settings later in the document for more details as to why
    4 H6 j" l4 n, L. z* [
  94. ; we recommend these changes in PHP's behavior.
    . T2 C, W8 B( `- [, C5 S. T
  95. $ e$ ^0 e7 A! p$ Z. H
  96. ; display_errors$ |. h& g& J! t
  97. ;   Default Value: On
    9 h- w% ~8 P5 |' U5 S5 x
  98. ;   Development Value: On
      D* L- L# _, `8 q. d
  99. ;   Production Value: Off0 ~* E  M3 Y: L, S5 |/ @) ~; Z5 A
  100. + f" R( |3 h6 r
  101. ; display_startup_errors
    . l; i" @! b* x0 N
  102. ;   Default Value: Off) n! `' N1 y$ m9 ], l0 |; ~
  103. ;   Development Value: On
    / n7 u& y+ {6 n! i( A
  104. ;   Production Value: Off1 f, w% Y* m9 O/ R2 L* s+ m
  105. 2 [+ @3 p$ S# P+ D, u; E
  106. ; error_reporting1 _1 c& [3 d: U1 z, B, c) t7 S6 X
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED: P! S: K% z% }' }
  108. ;   Development Value: E_ALL
    ! X( D2 u  G/ T: ]' _
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    8 ?( _4 N9 G# I, R

  110. ! m, m' f( [) w# V' {* m+ }
  111. ; html_errors
    / X6 R9 ~& L1 ]5 {2 t; e; b6 R
  112. ;   Default Value: On
    ' m' T, s: F0 R6 k7 t
  113. ;   Development Value: On! M! I  Z4 Z0 Y8 u3 c
  114. ;   Production value: On
    $ w* _  f* w7 U. ~, C' t3 L: @
  115. 5 _5 K5 ~8 [+ z5 F0 m- k1 Z
  116. ; log_errors
      l( R5 z, w' {9 {6 |0 @# h8 b
  117. ;   Default Value: Off( a6 }5 m- n1 R# C" q1 m
  118. ;   Development Value: On# b0 t' ^) X8 C" c% n4 w% C
  119. ;   Production Value: On0 Q/ S6 z9 }2 K2 d7 g7 a& o

  120. # c- g1 P4 Z% G' B. L3 c  ^3 Z
  121. ; max_input_time. j7 m. s6 A) {/ T$ d1 G
  122. ;   Default Value: -1 (Unlimited)- }0 q4 A% s3 c
  123. ;   Development Value: 60 (60 seconds)
    & |7 |7 g: \" j4 x' n9 Y7 _
  124. ;   Production Value: 60 (60 seconds); s' }% t  D; \2 V8 ~

  125. 6 @1 M, z% M  C' z: o
  126. ; output_buffering
    ' V3 n5 G3 U9 a) ]: X: [  J! `7 K
  127. ;   Default Value: Off
    0 I; A& Z/ }, h& p& W
  128. ;   Development Value: 4096. O. l+ U8 U* A; i
  129. ;   Production Value: 40967 t8 n% N$ ^4 @0 X2 k
  130. ) d. ^/ [/ C3 j( t( w
  131. ; register_argc_argv: O  D% j' Q) e! y# ]2 R% x
  132. ;   Default Value: On7 W  e' `7 H3 u: G$ O' ?9 s
  133. ;   Development Value: Off* ~+ R! X8 a# M! b9 e
  134. ;   Production Value: Off
    % x1 Y/ _0 F! A; [# n$ e" i1 P

  135. 1 k- c  F/ U) ^0 W( o3 Y3 m' p% U
  136. ; request_order
    ( J1 i( A% A3 y" u% D3 A- `" \. v
  137. ;   Default Value: None
    ! ^2 q( Z# s5 ?7 P) @9 h, X, `6 a
  138. ;   Development Value: "GP"
    1 S- C+ F9 P1 O* t3 v/ c
  139. ;   Production Value: "GP"
    - I$ H" X" E3 X7 l
  140. 5 Z  |4 w: d% j: d0 ?9 O
  141. ; session.gc_divisor( k7 z9 E% N4 g& {
  142. ;   Default Value: 100
    + }$ j% J) l1 E. j+ d: P, {
  143. ;   Development Value: 1000
    & W8 R$ r3 g- N; |6 q; c3 D8 `
  144. ;   Production Value: 1000
      f) A  I1 {; F4 ]
  145. & x3 M8 e! b* S/ Q+ b' `0 X6 ?* @
  146. ; session.hash_bits_per_character
    ' a5 @( E0 A* O/ S5 ~
  147. ;   Default Value: 4
    8 P' N' M& A5 i7 e$ X! S
  148. ;   Development Value: 5
    . Z, U# {' P. J" S
  149. ;   Production Value: 51 U& @4 V# j0 K/ n" Z4 c3 @
  150. " p& O, X8 _  J
  151. ; short_open_tag
    ) t$ C, u+ g* G" w
  152. ;   Default Value: On; H6 o7 R% W. l/ P: \% f. r4 |
  153. ;   Development Value: Off
    ( |( a. P+ A* [0 v
  154. ;   Production Value: Off, v3 |) Y" v  X6 ~5 |" m& e
  155. ) B- ]9 j/ w4 Y# y1 T3 u5 m
  156. ; track_errors6 E# B2 `3 V5 p1 y
  157. ;   Default Value: Off% M+ `5 y8 Q5 s: h
  158. ;   Development Value: On8 D( {: l, P1 @- |
  159. ;   Production Value: Off8 g; u# Z( v: B/ p! J
  160. ) |: S! {& n: W7 s( |
  161. ; url_rewriter.tags
    2 V+ B1 d7 S0 |2 n5 T7 q* ]- ?
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ' K; f4 ^0 ~' H
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"' S) `5 k2 o* \& }: [
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry". g( ]1 x0 h/ o7 @2 s
  165. 4 k" d; l) j! H% Z
  166. ; variables_order4 F+ n* \' i3 p1 }, x
  167. ;   Default Value: "EGPCS"
    - ^" |3 I3 P7 q2 P6 K. r
  168. ;   Development Value: "GPCS"7 c) C9 o1 w+ H$ h% m# e
  169. ;   Production Value: "GPCS"# b4 J: k6 r0 r  \

  170. ( i3 o& ~, H% a  I1 T' T
  171. ;;;;;;;;;;;;;;;;;;;;
    2 u! F: E5 ~8 e9 S
  172. ; php.ini Options  ;
    6 n2 B+ B" `/ C7 d, v
  173. ;;;;;;;;;;;;;;;;;;;;
    % p% D- D9 y3 e, E) e2 |
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    / u5 ]; \- s, h) g
  175. ;user_ini.filename = ".user.ini"; P" \4 I! `+ `, z  A5 G8 b( I6 N
  176. / N" b  }2 Z5 G4 }
  177. ; To disable this feature set this option to empty value
    * y: d/ E2 f; X8 ?
  178. ;user_ini.filename =0 }) E5 o( a2 u$ b8 Z
  179. / r0 B  T3 s7 a0 C, j, m
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    3 r6 u* W4 W4 S; M5 B
  181. ;user_ini.cache_ttl = 300
    5 l2 u/ b' \9 D2 i1 a: B& c
  182. 2 ~  P0 q: [. y
  183. ;;;;;;;;;;;;;;;;;;;;6 D7 ^$ Z: W( d
  184. ; Language Options ;
    - U1 I2 O3 R: p5 r/ `
  185. ;;;;;;;;;;;;;;;;;;;;  M/ q3 D2 Y3 r: U

  186. ) s, U: y0 v" x1 m7 f
  187. ; Enable the PHP scripting language engine under Apache.
    : K+ P2 S1 V! S% ^' j4 |3 g
  188. ; http://php.net/engine3 a$ w; s- @1 R
  189. engine = On: [; Q3 @( M" h

  190. + e; ?/ f; F# R0 b0 y
  191. ; This directive determines whether or not PHP will recognize code between  ]- T* _0 a& z+ T& N4 p) [
  192. ; <? and ?> tags as PHP source which should be processed as such. It is2 Z# N" o) N4 _# N
  193. ; generally recommended that <?php and ?> should be used and that this feature/ U& B9 ~! u4 y% k, T! R" [4 B
  194. ; should be disabled, as enabling it may result in issues when generating XML
    6 A! n5 X( }+ X
  195. ; documents, however this remains supported for backward compatibility reasons.2 L2 c+ o# F" ?$ `
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    8 v! F& Q, f' X0 G
  197. ; used regardless of this directive.
    " c8 u6 t6 p2 v' ]! C3 A5 O
  198. ; Default Value: On6 u& J+ o: O9 q5 I9 X8 B& H
  199. ; Development Value: Off4 r. d7 `$ C1 y: e" U
  200. ; Production Value: Off( u4 @- t6 d/ A+ @- F
  201. ; http://php.net/short-open-tag
    # ]' O$ Z# H7 Z& y. {% L0 ^/ p
  202. short_open_tag = On" y) k6 C$ b, D$ u' F. c  z! t

  203. + f( Z7 A, u5 ^. ^+ v
  204. ; The number of significant digits displayed in floating point numbers.
    - _7 O' o( r: j8 W7 p! N5 R
  205. ; http://php.net/precision- {& f+ A/ d$ e( ~0 C5 w
  206. precision = 14  R) w: x- H% u* m

  207. & t2 U' z) a4 O9 y" `( ^( w' a: s. n! Z
  208. ; Output buffering is a mechanism for controlling how much output data/ h* `6 q1 V: N" h
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    4 \+ d7 L8 c0 E9 C- K; M
  210. ; data to the client. If your application's output exceeds this setting, PHP. y, Y9 [: t8 p6 s7 e/ d1 t  N
  211. ; will send that data in chunks of roughly the size you specify.
    ( ]9 c: B# {! I4 X
  212. ; Turning on this setting and managing its maximum buffer size can yield some8 d+ N9 H0 X3 }7 D7 s2 ^
  213. ; interesting side-effects depending on your application and web server.
    " r5 {& B$ H( J; i" j7 d5 {; d0 w
  214. ; You may be able to send headers and cookies after you've already sent output
    # Q6 ]6 b. ^7 `. H, B* y8 H
  215. ; through print or echo. You also may see performance benefits if your server is5 v' Z) z" ~  r9 |$ i, F( k+ }
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    # h/ P: L+ G+ ]
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    5 z+ Z9 ~2 `  ^7 {$ S$ S, L  s
  218. ; reasons.
      H: r3 K% |) Z3 c  Z) F8 h
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    " }" M+ W- Q  z
  220. ;   functions.
    ; @' r% J! K+ {8 I7 o4 U$ M# p
  221. ; Possible Values:
    1 o/ [: Q9 }8 t, f6 h
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
      x% y3 v3 a2 O9 Z/ n
  223. ;   Off = Disabled
    ; c1 \. t0 C# G* y1 U* F0 c
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.. J3 W& x6 S- N& \, N: S3 I9 t& @
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI! {( I9 ]  U9 W* L' c( L
  226. ; Default Value: Off
    ! |! b+ w% y& x
  227. ; Development Value: 4096
    & Y3 N  d; j- P3 T/ F
  228. ; Production Value: 4096( [, b- N' b3 r5 a* s, Q) l' X
  229. ; http://php.net/output-buffering
    0 G: o2 @- i* ?& T7 V4 P4 \
  230. output_buffering = 4096- R' U6 i# b. O) }! `. T
  231. ) `0 T/ Q: `  o- k7 f' D
  232. ; You can redirect all of the output of your scripts to a function.  For" `* ^: v! l8 r
  233. ; example, if you set output_handler to "mb_output_handler", character
    ( k7 h1 t; ], d7 i7 Y- P
  234. ; encoding will be transparently converted to the specified encoding.
    2 [, @2 {# Q9 b6 L/ p0 _
  235. ; Setting any output handler automatically turns on output buffering.# ?4 ]  b, ^/ E9 F1 x% O
  236. ; Note: People who wrote portable scripts should not depend on this ini
    + m6 n/ H6 n: n6 B
  237. ;   directive. Instead, explicitly set the output handler using ob_start().8 U; o6 q  u' @4 o/ a9 g! u
  238. ;   Using this ini directive may cause problems unless you know what script
    : @. c/ t, \; }4 M& o/ w  ]) T8 x
  239. ;   is doing.
    ; P+ f+ _2 |0 [! B% y% c
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    " a' s' A# q/ \+ V& R  B
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    # v8 b( ?' ]) j6 m. T/ Q( y
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    8 G$ Z) \" y. \" {2 J
  243. ;   Instead you must use zlib.output_handler.
    ' z, R$ d' K# l/ N% I
  244. ; http://php.net/output-handler
    2 W- s$ i$ _3 f8 p* v  B5 E
  245. ;output_handler =. q* o* l' R$ c( R8 `
  246. 4 V4 W! w/ P. |, {# D( m1 z
  247. ; Transparent output compression using the zlib library9 J( b2 P% H* K0 d* r8 W* Y
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    + W, |  u. E/ I
  249. ; to be used for compression (default is 4KB)  V! z4 f" z9 C0 h. n
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    $ c* w& a1 k; ]( {( S& n: X
  251. ;   outputs chunks that are few hundreds bytes each as a result of( \* B- k7 m1 c( i0 A: v9 v
  252. ;   compression. If you prefer a larger chunk size for better
    $ X# S* I: D5 R# K& J7 e: Z. I* A
  253. ;   performance, enable output_buffering in addition.# Z) o5 G4 l& ?& [7 W) s
  254. ; Note: You need to use zlib.output_handler instead of the standard
    : t2 U3 I2 |2 t: \& W
  255. ;   output_handler, or otherwise the output will be corrupted.
    0 D8 k2 n3 V5 W
  256. ; http://php.net/zlib.output-compression; r1 p2 r: k' v! o2 F$ t
  257. zlib.output_compression = Off
    % g& V+ A! \9 ?3 o
  258. 3 o( k" T; O) r0 J. S
  259. ; http://php.net/zlib.output-compression-level
    . T6 |4 G( N6 Z
  260. ;zlib.output_compression_level = -11 ]0 P! `1 r8 j+ i& g6 ^& R% S

  261. 5 S9 H/ W- {. W7 r5 s* K
  262. ; You cannot specify additional output handlers if zlib.output_compression
    9 S( g) n5 E: G7 s- O/ q
  263. ; is activated here. This setting does the same as output_handler but in5 R5 m9 L) y' c% W& X3 S& o
  264. ; a different order.# G- M9 J; S5 V
  265. ; http://php.net/zlib.output-handler
    $ d/ K- U) A! y* s
  266. ;zlib.output_handler =
    ; d& Z' R% L/ f, l
  267. 5 u; n* q+ f! Z1 N% w# o3 M
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    ' y% }: j- L5 r( n" E. [7 t. H/ E
  269. ; automatically after every output block.  This is equivalent to calling the
    0 Z9 X+ `" C, c0 }. g
  270. ; PHP function flush() after each and every call to print() or echo() and each# G/ k7 @3 [& h* S% ]
  271. ; and every HTML block.  Turning this option on has serious performance9 e! Z: U5 b5 b  M9 ?3 ^
  272. ; implications and is generally recommended for debugging purposes only.
    % j  e* k, V5 w5 f! c2 _
  273. ; http://php.net/implicit-flush- o" x7 s) r" r0 u
  274. ; Note: This directive is hardcoded to On for the CLI SAPI% l+ y( {: ?# S3 z; p; \% m
  275. implicit_flush = Off# Q$ A) ?: o" ~( I$ d1 K2 ~+ i

  276. . i( t; z5 _& u/ d$ B
  277. ; The unserialize callback function will be called (with the undefined class'
    + L# S# U/ g! K9 Q+ O; u
  278. ; name as parameter), if the unserializer finds an undefined class  l" L& B: C4 v
  279. ; which should be instantiated. A warning appears if the specified function is
    & ~' f) G1 T5 }# `8 G$ a4 R
  280. ; not defined, or if the function doesn't include/implement the missing class.
    . q4 l' _0 |3 b7 p/ i
  281. ; So only set this entry, if you really want to implement such a2 t/ T6 T9 {; n, X5 L2 F' v0 @
  282. ; callback-function.) F4 G  M1 B  g( c* }
  283. unserialize_callback_func =1 V( m* v9 ?! E' ]* a* q+ h$ K# x
  284. ! B# R* N3 t9 y# ~
  285. ; When floats & doubles are serialized store serialize_precision significant
    & [% d# ^  ?; t0 U5 {0 K/ s& a
  286. ; digits after the floating point. The default value ensures that when floats# m, _! r9 m2 c& l
  287. ; are decoded with unserialize, the data will remain the same.- D9 p. G/ a1 p% c2 j
  288. serialize_precision = 17" O* W2 |: q; D/ G6 G8 W& n
  289. : R. E& n. |' L# `8 k7 Z
  290. ; open_basedir, if set, limits all file operations to the defined directory
    " {% ?0 t0 a: j+ n0 O9 T0 S
  291. ; and below.  This directive makes most sense if used in a per-directory
    ( R4 D  y" n& ~8 \- m" |0 s$ y
  292. ; or per-virtualhost web server configuration file.
    , ~+ `( m  M; T
  293. ; http://php.net/open-basedir
    + ~/ Q* a5 ]1 P: ~7 i7 X3 i6 X; R
  294. ;open_basedir =
    ' e8 E# w5 i0 h. l  Y" N+ S

  295. ; ^$ C) c  d* B2 b4 m
  296. ; This directive allows you to disable certain functions for security reasons.
    2 R0 h& x; z  o* b3 M. H% z
  297. ; It receives a comma-delimited list of function names.
    , y0 W- @) a) Y1 ?1 W- d
  298. ; http://php.net/disable-functions1 U' y% Y! |4 X8 M0 B4 v
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru* r1 _# G" Q: U, ^8 i) W( y
  300. % Q7 @3 L  F  n: l$ Y
  301. ; This directive allows you to disable certain classes for security reasons.' k5 z4 O# ^6 c7 g
  302. ; It receives a comma-delimited list of class names./ q* q+ x( `5 C* S8 p' k* U
  303. ; http://php.net/disable-classes
    ) U1 Z2 ^- m! S( C
  304. disable_classes =
    5 U  N6 Q0 E+ Z/ C
  305. 7 u; m0 U  q6 Z- F4 Z
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    9 J% p# N  D6 |: s$ u8 e
  307. ; <span style="color: ???????"> would work.( N3 c9 \4 \" Y( P/ h# F
  308. ; http://php.net/syntax-highlighting
    9 y( R% l$ M9 g
  309. ;highlight.string  = #DD0000
    - x4 @$ [$ F, `' a6 I% z$ N
  310. ;highlight.comment = #FF9900
    9 x. J, v+ E- @3 q( x
  311. ;highlight.keyword = #007700- O: Q0 V! X# x
  312. ;highlight.default = #0000BB
    * e+ W6 M' [- S$ p7 P
  313. ;highlight.html    = #000000
    # p7 L" N& l5 L8 Z- X  G/ U" @

  314. ( v0 O7 m5 H( N! {% h' W
  315. ; If enabled, the request will be allowed to complete even if the user aborts
      x& c- Z! G! a7 d; ?+ \
  316. ; the request. Consider enabling it if executing long requests, which may end up
    * |  f  f1 k5 R, g
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior* H6 y7 y: m  v% L( P7 A
  318. ; is to disable this feature.
    & i' k0 x3 T9 y3 ]7 e0 m
  319. ; http://php.net/ignore-user-abort" Z; c1 M& H% Q' ~: O
  320. ;ignore_user_abort = On6 V1 Q; s' ~7 K: ]- r" l9 A* f
  321. 2 f" n( V+ B4 I! f9 Q: R
  322. ; Determines the size of the realpath cache to be used by PHP. This value should: F( a4 K) U% ]! t
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    ! t/ [1 i  x; Z
  324. ; the file operations performed.
    : Y  n3 H0 m3 \
  325. ; http://php.net/realpath-cache-size; Y4 P& ^! L# E
  326. ;realpath_cache_size = 4096k
    6 c" m- v( R8 d+ `

  327. - \( |+ m9 b$ m$ h
  328. ; Duration of time, in seconds for which to cache realpath information for a given4 I7 `8 g5 @. S8 X
  329. ; file or directory. For systems with rarely changing files, consider increasing this6 W, T# S- s3 X5 u
  330. ; value.
    ( Z. p7 D! m& M: V- Z# g: R
  331. ; http://php.net/realpath-cache-ttl
    ' {" O2 x1 E/ g- a
  332. ;realpath_cache_ttl = 1202 q% E1 D8 M: [! ~" N+ n! n9 \- D# t

  333.   `! Q3 n* K; A7 ]
  334. ; Enables or disables the circular reference collector.
    : f, @' ?3 m+ t9 Y" g
  335. ; http://php.net/zend.enable-gc
    ' Y* n0 `1 S2 s( @4 ]
  336. zend.enable_gc = On
    9 w! w+ R3 v6 \" g7 f$ H; a, u

  337. ' n5 [" n, L& _! Q
  338. ; If enabled, scripts may be written in encodings that are incompatible with+ P3 l' K$ {+ \3 N" H
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such/ Y8 n/ \( v( T8 c; \6 Q
  340. ; encodings.  To use this feature, mbstring extension must be enabled.0 z; R/ B. f  u
  341. ; Default: Off" k. B2 s; B) F' v  h9 ?
  342. ;zend.multibyte = Off
    ( u2 c8 g% I& A$ o

  343. : |- u8 S% T/ u
  344. ; Allows to set the default encoding for the scripts.  This value will be used7 f+ c* j% f5 \( t7 k5 o4 g
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.+ i4 D% q5 I+ d4 |4 i
  346. ; Only affects if zend.multibyte is set.
    2 g8 [% x8 E+ p+ `; [/ h$ A- F
  347. ; Default: ""
    3 n$ \: C! Z) |/ }% ~; |4 m
  348. ;zend.script_encoding =! r; U  W1 }. E( m- L4 ~

  349. 2 E1 J6 j( z% d
  350. ;;;;;;;;;;;;;;;;;9 h; T% @* h! g7 d
  351. ; Miscellaneous ;& M; p4 q5 x4 a/ `) X4 f, Z) ?" n
  352. ;;;;;;;;;;;;;;;;;' H  H! r* e5 h0 Y- I; q

  353.   ~# Z. n, R' E  h
  354. ; Decides whether PHP may expose the fact that it is installed on the server0 u( E0 V- \1 M# C( `$ r& z
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    8 P& B0 x; h' ~( e- |- `
  356. ; threat in any way, but it makes it possible to determine whether you use PHP8 m( m  ?4 H; I% J6 T' _. F% m
  357. ; on your server or not.1 h) x* {! r' N9 i! X
  358. ; http://php.net/expose-php
      g- ]- t  O5 \  X( A
  359. expose_php = On
    ' t+ U& F( e! Q6 u5 @7 n
  360. " h% ^1 b8 F- e; o( ?( B% G0 W
  361. ;;;;;;;;;;;;;;;;;;;
    3 q" d) z( n7 Y
  362. ; Resource Limits ;
    , a1 j; F  v8 q
  363. ;;;;;;;;;;;;;;;;;;;6 x8 @& p3 v+ a& F  q& s4 y  K
  364. 9 Q8 ~  T7 t# M
  365. ; Maximum execution time of each script, in seconds
    ) [5 V' ^6 L! c; E. \# @3 `
  366. ; http://php.net/max-execution-time9 h- f; Z3 D; I
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    ' B6 Q# m& Q8 j* p, F
  368. max_execution_time = 300: L, |4 W+ Q. e8 p8 P+ ~6 [5 F0 S

  369. / v4 |, c! N" n# }9 C5 q- p
  370. ; Maximum amount of time each script may spend parsing request data. It's a good- u! ^. h' z, C8 R2 X/ c6 j
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly7 y7 K: L4 Y0 q
  372. ; long running scripts.
    6 k1 H! r# a9 C5 w( ~
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI, r# {+ l+ L9 [# @4 H
  374. ; Default Value: -1 (Unlimited)" O% Z% B2 p* M) J2 l" z4 H
  375. ; Development Value: 60 (60 seconds)
    % K* Y8 X  v) G% K3 U
  376. ; Production Value: 60 (60 seconds)
    $ F% y* }& O; x6 T& ~: {# W8 ^! K# R
  377. ; http://php.net/max-input-time
    . m: e. Q/ E4 C+ {
  378. max_input_time = 60
    ; `! T8 p  v# q1 `+ z9 i
  379. # s# O+ n4 P5 a+ L5 |
  380. ; Maximum input variable nesting level+ M; s' _" ]* R0 m2 K. l
  381. ; http://php.net/max-input-nesting-level# J9 Y: q& @3 `: f% u
  382. ;max_input_nesting_level = 64
    " x5 d5 Z8 R" i( {

  383. 0 R7 P7 R4 _8 \9 Y& P
  384. ; How many GET/POST/COOKIE input variables may be accepted: d  A: E; n+ K2 Z4 e5 u' d6 P
  385. ; max_input_vars = 10006 N$ j- L+ B8 u- H3 d, \8 @- Z
  386. . `' k: a( ^/ ]; o
  387. ; Maximum amount of memory a script may consume (128MB)
    ! A3 X1 t7 M; F* j* f- X0 r
  388. ; http://php.net/memory-limit0 f! ?3 j9 W0 A8 m' U
  389. memory_limit = 128M! U, V9 V4 V! Y+ u2 w- R

  390. : N+ x& l0 v$ J) J$ {! Q' Q
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;( @: a8 y5 }' A1 x* \
  392. ; Error handling and logging ;- }9 _; l/ k1 ?) W# d9 O3 I- q
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;) P, h' S: H* h5 M0 Y0 N! G0 D2 u" y& }
  394. 6 r. U: {* z. G: k4 V5 C
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    : ]3 V: r$ f+ p! W
  396. ; it to take action for. The recommended way of setting values for this
    % r* b# H" W* v" H; E) I
  397. ; directive is through the use of the error level constants and bitwise0 h( y! X6 h" Z* _6 C
  398. ; operators. The error level constants are below here for convenience as well as
    6 `. W& N7 T6 F8 s2 I
  399. ; some common settings and their meanings.2 D. I% D$ P1 Y% J! f3 ]: `6 R+ I' I
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT( L7 j4 G! K" `5 k9 J
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and0 v  Q5 s2 z9 g7 z# f. |$ x
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    3 R4 S0 S8 [. p; M+ Y2 K
  403. ; recommend error reporting setting. Your production server shouldn't be wasting  e+ T. E  b4 r1 Q. G
  404. ; resources complaining about best practices and coding standards. That's what" d3 o- Y8 j% t2 C3 p# }! U2 J
  405. ; development servers and development settings are for.
    6 G: Q: z& B/ C
  406. ; Note: The php.ini-development file has this setting as E_ALL. This: p1 M' Q5 G' ^9 K  ^9 {- o# k
  407. ; means it pretty much reports everything which is exactly what you want during% p/ W9 T1 F$ R( \
  408. ; development and early testing.4 @6 I0 L" D8 W+ P
  409. ;
    : K7 S+ ^2 B% i# e" f/ n
  410. ; Error Level Constants:: k! l! ^' i. y" W' F) D4 x' t
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    * d4 h( ^$ N. D& r/ n
  412. ; E_ERROR           - fatal run-time errors
    7 ~; K( Y: G, v/ Q8 N+ O
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors( X% |' B- V. P- r
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    ! x% ?4 f( \- `: I  s
  415. ; E_PARSE           - compile-time parse errors
    . z8 J: w; t8 ~
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    ! n5 d, j6 L) @7 L. G- U
  417. ;                     from a bug in your code, but it's possible that it was
    ! ]2 A7 B6 a& b& M+ Q
  418. ;                     intentional (e.g., using an uninitialized variable and6 h1 g( [9 R8 E2 j* `" U
  419. ;                     relying on the fact it is automatically initialized to an5 @. }0 K# j# m$ p
  420. ;                     empty string)
    : A% [8 I0 `1 }4 F$ _- t
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    ' t' Q! |/ V4 Z' U
  422. ;                     to your code which will ensure the best interoperability
    + C0 u/ f7 w/ ^5 l4 R1 Y
  423. ;                     and forward compatibility of your code
    . y+ Y$ N+ K. Q, l0 Q
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    , s& f+ y8 K" V8 Q, B
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's; I5 ?/ V* Q6 `7 b4 m; I& C5 |8 O, `
  426. ;                     initial startup
    + |5 T' m# }8 L
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    % D% J3 D7 I3 z. e! T
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)& H! d3 `8 o; z
  429. ; E_USER_ERROR      - user-generated error message6 _+ K2 V3 Y  o' ]2 U& R
  430. ; E_USER_WARNING    - user-generated warning message! a: S) c' G( m. S6 H  m
  431. ; E_USER_NOTICE     - user-generated notice message, N0 Q3 ^' Q- W6 U
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    ) G. B2 I7 S& i  k# V9 X  c/ w
  433. ;                     of PHP
    9 u3 A# E' }& v  A
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings& f8 Q0 A+ |; v% L5 f9 o  @
  435. ;
    : Y5 R# ^/ B8 x, P
  436. ; Common Values:
    7 f; p/ W) n4 ^9 y( ?/ l- L+ E
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    $ E5 h' Q5 T# U- x/ S0 p. }
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    0 |5 B6 I# t! e# g0 X6 f
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)4 D5 q* k) m6 _' C% {, N$ c
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors): z) }. g( R  c  x, D
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    * A8 Y6 W5 a5 f% r- O% h/ @
  442. ; Development Value: E_ALL+ l( {; N( g# O5 a# r
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT9 r2 Z; g$ Y( H/ G" E! a4 t4 k$ q
  444. ; http://php.net/error-reporting9 L6 q6 r. c9 b2 y+ Z8 z2 a# r) a
  445. error_reporting = E_ALL & ~E_NOTICE  P- ~# {* Y. e4 ]2 n4 c, E& X7 `

  446. 1 v* S2 e" A2 v* ?- l
  447. ; This directive controls whether or not and where PHP will output errors,/ N* O' h' B: `' K, q2 b9 k
  448. ; notices and warnings too. Error output is very useful during development, but/ Y3 H9 s4 k8 ?0 Q, [) G: o# p
  449. ; it could be very dangerous in production environments. Depending on the code
    / P5 ^' X) X" w
  450. ; which is triggering the error, sensitive information could potentially leak
    , c/ j4 ~# t( d& U2 t+ F
  451. ; out of your application such as database usernames and passwords or worse.+ N+ w' _: O* h8 S
  452. ; For production environments, we recommend logging errors rather than
    & @; }) k7 J. p! R1 ], a! V
  453. ; sending them to STDOUT.  V# n- Y' k3 i! U% }5 z% Y
  454. ; Possible Values:3 S; L7 B+ ?+ s! I0 c! G7 Z
  455. ;   Off = Do not display any errors* o0 L) Y. i' z' \' F
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)% Y, x1 z, O* ^" F! ~2 k/ B) h
  457. ;   On or stdout = Display errors to STDOUT
      x7 k+ }4 H9 w
  458. ; Default Value: On
    $ _3 c! J2 z6 o
  459. ; Development Value: On
    7 c9 @/ W8 y. g3 ?9 M
  460. ; Production Value: Off+ `% |' z# e4 }- i
  461. ; http://php.net/display-errors/ \7 K4 N" R0 k+ [' ~
  462. display_errors = On
    - d$ Q! q4 @: u' ^  c9 A( l# @) x

  463.   ]( S, N( |* Q4 n) a5 |9 O
  464. ; The display of errors which occur during PHP's startup sequence are handled, n7 s& `' O+ Y) d9 o) `
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    * O+ V# d1 V' r4 |$ @) g+ L
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    ' D" \) ], H. ?6 m, m
  467. ; debugging configuration problems. We strongly recommend you
    6 a% @& p" x! s# U* U8 u: I; m
  468. ; set this to 'off' for production servers.
    " G+ a, V- X' j: K
  469. ; Default Value: Off6 F+ G, }: ~4 C; U0 }: D
  470. ; Development Value: On
    - w! f% f9 [  s- G  C
  471. ; Production Value: Off
    ; S% V% H  R5 w, J5 y' a" C' W
  472. ; http://php.net/display-startup-errors
    . ~* l* J# q- B/ h( o& J
  473. display_startup_errors = Off
    8 s6 @* Q9 g: P
  474. . k' V. ?6 D, L- W' @+ j& m3 {$ E
  475. ; Besides displaying errors, PHP can also log errors to locations such as a4 k, o: A& f( f, g8 w9 U
  476. ; server-specific log, STDERR, or a location specified by the error_log
    ' t3 S0 O* G2 u' A
  477. ; directive found below. While errors should not be displayed on productions, p) M+ {9 z+ F" K* T
  478. ; servers they should still be monitored and logging is a great way to do that.! x" ^% m# q9 U2 [( i9 a4 H
  479. ; Default Value: Off) m2 x, S* {0 {0 T8 j' @; U
  480. ; Development Value: On
    / ?& K% l+ c4 M5 F* q8 \! a, N
  481. ; Production Value: On0 ?! e' ]2 s; v; k. X
  482. ; http://php.net/log-errors2 W$ |/ G- X; t# o! Z
  483. log_errors = On5 J/ T7 D% o* N- s5 d

  484. 2 U# v& t4 G1 q( ?9 l/ ], X8 l2 d
  485. ; Set maximum length of log_errors. In error_log information about the source is
    0 \* d" E$ N* F8 b0 J1 j, ~" H
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    $ P9 O$ @2 x# p4 d+ m
  487. ; http://php.net/log-errors-max-len. o! L+ [& ^" m9 Z$ r2 i" h" B# \
  488. log_errors_max_len = 1024
    1 {7 F. X# E" U' K

  489. - Z" ^+ o1 P/ o" ]5 V* K  K0 X% k  C) E2 ~
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    % P# g7 x6 U% p$ d: Y5 B
  491. ; line unless ignore_repeated_source is set true.. l8 X1 X/ g$ D) f. q; c
  492. ; http://php.net/ignore-repeated-errors
    / O1 r( G5 `6 y3 N) m- g
  493. ignore_repeated_errors = Off: H: V! A$ D  B% @8 k7 v0 [
  494. & x$ h  D" v3 Y  S0 S% \" b
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    / F1 Z6 a( R+ T' Q4 |; `% q
  496. ; is On you will not log errors with repeated messages from different files or: Q. M5 l( }% w' K( {+ p
  497. ; source lines.
    1 o9 ?; A6 h  R# ?
  498. ; http://php.net/ignore-repeated-source! `- s& F9 h! P5 v$ s
  499. ignore_repeated_source = Off
    ) w4 k$ U# H  H0 {7 s# ]" c2 l1 Q! I
  500. $ N0 D* s: N9 m, [  c
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    & _7 i1 x' l! M: ?3 }
  502. ; stdout or in the log). This has only effect in a debug compile, and if1 W$ p. g4 K5 T
  503. ; error reporting includes E_WARNING in the allowed list
    ( o" J' V8 K& _. g: m
  504. ; http://php.net/report-memleaks
      y( P1 D1 P. E8 L9 y! r
  505. report_memleaks = On
    7 Z: ]" }# a" f1 z1 ]

  506. ; g- Z' u" w. u# }! U4 Y
  507. ; This setting is on by default.
    . s% j- l0 D" Q
  508. ;report_zend_debug = 0
    / C2 D1 S, A1 C) {% e! j% K/ J. [
  509. ' S% g" H+ A8 Z# q+ m
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    7 }1 [- y; Z. n$ [7 t
  511. ; to On can assist in debugging and is appropriate for development servers. It should
      ]9 G, W- ?% m! U) K! Z( _! n
  512. ; however be disabled on production servers.% d) d8 m7 v6 F. z" R
  513. ; Default Value: Off
    : j& Q$ P/ S$ B! t% Z
  514. ; Development Value: On! N& O6 S# Z7 |- W, k
  515. ; Production Value: Off2 H$ [0 f( _7 w! K: Q! J& E+ h
  516. ; http://php.net/track-errors
    $ d6 F9 A+ T3 G% r* d; t! f6 o2 N- B4 l
  517. track_errors = Off# c+ f' M6 Y  ~+ k; d

  518. " ^3 O3 q4 \& r8 y, U6 @7 g# l' {) r
  519. ; Turn off normal error reporting and emit XML-RPC error XML& \" P0 P8 _1 E0 N
  520. ; http://php.net/xmlrpc-errors
    ' |6 R  n, w2 X0 B
  521. ;xmlrpc_errors = 0
    : U) [: e, X- J+ {

  522. # m4 C0 w5 ~& U% |) [# x
  523. ; An XML-RPC faultCode) M4 F* S: J0 j6 n3 H! b
  524. ;xmlrpc_error_number = 0. \8 B3 n1 D" g* z0 x: K9 w

  525. / ?2 b' `, P/ S/ F. U  l
  526. ; When PHP displays or logs an error, it has the capability of formatting the3 g4 R8 k* W2 k7 {$ j( a: Q
  527. ; error message as HTML for easier reading. This directive controls whether" H. O" W7 Y; Z& G& C3 q
  528. ; the error message is formatted as HTML or not.
    / [; Y2 x- N: N* B/ ~  W% ?
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    % L* d/ @( t, N7 H7 K
  530. ; Default Value: On& x, k6 @3 h5 x' X7 V
  531. ; Development Value: On+ ~* \6 c3 H5 v8 w
  532. ; Production value: On
    , ~: x# L3 U, p( s3 _0 u  C* I  Q
  533. ; http://php.net/html-errors
    7 {* y" f* D, R7 s5 \- e
  534. html_errors = On
    3 s3 `0 I9 C  D$ C

  535. 9 H$ _3 u+ C7 X+ O
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP* m$ m& y. \% ~8 O
  537. ; produces clickable error messages that direct to a page describing the error
    - y$ F2 A- o& u" |& e, t  w. Z1 T
  538. ; or function causing the error in detail.
    * k. U* Z* h; a# I+ s& ]
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    . K' q: }  Q8 y8 m
  540. ; and change docref_root to the base URL of your local copy including the$ ]! q' X: x$ d& v. j
  541. ; leading '/'. You must also specify the file extension being used including; Z5 b6 P% E0 F1 ]: `
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which( P# `& s: S7 B$ w' f
  543. ; case no links to documentation are generated.  j  y* w6 T# M, r. C" k1 l  Q
  544. ; Note: Never use this feature for production boxes.
    . N1 w0 s0 E8 x6 n9 z
  545. ; http://php.net/docref-root
    / w, P. F% U7 W& d5 i
  546. ; Examples
    : v, }8 p) t4 p/ H( x) e/ O
  547. ;docref_root = "/phpmanual/"
    7 G3 m- J: g+ h; C

  548. 1 u( V7 a2 m4 T: I8 J
  549. ; http://php.net/docref-ext
    * M" S  ?0 E( f! v$ H
  550. ;docref_ext = .html2 s- j0 O" ]$ p1 d
  551. 9 T% e: S  e! p$ a9 J9 q2 i) e- c
  552. ; String to output before an error message. PHP's default behavior is to leave
    ; `: \& E. e! m$ c* W
  553. ; this setting blank.
    ( P" s0 T. ~. B1 h, D
  554. ; http://php.net/error-prepend-string% b( E3 ^5 a# b8 W( z
  555. ; Example:, R3 ]; C8 \$ i* J
  556. ;error_prepend_string = "<span style='color: #ff0000'>"( l6 Z0 V& i9 P8 F) E2 h% J
  557. ' D1 j: F1 F: t8 @
  558. ; String to output after an error message. PHP's default behavior is to leave4 n; \5 t) s1 e) r
  559. ; this setting blank.
    $ p; ?$ s8 V. X" `. B
  560. ; http://php.net/error-append-string/ l( W4 C$ E1 U  d/ b4 d0 u: L; q2 U
  561. ; Example:
    8 S! N% Y. q9 P* ^5 o% i
  562. ;error_append_string = "</span>"
    # Z0 S8 O4 w8 I) I6 k' T! R- L8 {

  563. % \$ t* Q: {# i6 K8 ~: }* E
  564. ; Log errors to specified file. PHP's default behavior is to leave this value6 n6 b( Q0 R0 @& j
  565. ; empty." g1 c8 `* n8 {0 O
  566. ; http://php.net/error-log
    ( A3 h- O2 p- H0 D8 E2 c
  567. ; Example:
    ! X- s8 n8 Y4 s8 a2 |( ]
  568. ;error_log = php_errors.log
    - E- B2 a. ~* E: K2 O  N; B, n
  569. ; Log errors to syslog (Event Log on Windows).
    # ^4 u% D! _/ U" a' n: s# G
  570. ;error_log = syslog. D2 b  }( F' d/ o

  571. 1 z" m8 }" i3 z& s
  572. ;windows.show_crt_warning: F% G* d/ H6 X* F% s
  573. ; Default value: 0/ [- E; e& `0 q' ]3 k; m6 u
  574. ; Development value: 04 A7 x9 g* {, a! P( P/ {6 M2 n
  575. ; Production value: 0
    4 d0 H; o& q) G8 o6 M4 C; p( o
  576. 9 U. ]! t  `1 ]( E% X+ K1 e
  577. ;;;;;;;;;;;;;;;;;
    7 W& \+ C# {$ U* H' o
  578. ; Data Handling ;8 Q- k9 T$ K2 l' u' h, S6 r: }3 R
  579. ;;;;;;;;;;;;;;;;;
    1 l, W5 ^8 L5 q2 K. r- v
  580. 5 M2 F. T3 [1 j9 h% m
  581. ; The separator used in PHP generated URLs to separate arguments.
    - W  N, V. v( F4 _9 [' @
  582. ; PHP's default setting is "&".3 F- C$ x) b6 {0 R
  583. ; http://php.net/arg-separator.output
    ; V9 ], L4 k8 F- ]
  584. ; Example:" e# y' ]4 d  c$ `4 |, |) S: G3 d
  585. ;arg_separator.output = "&"
    ( a! F7 h  y" y: I) X

  586. ! S% U- @; t% z' C3 C: N
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    ! s& k$ N+ G7 K
  588. ; PHP's default setting is "&".
    0 n" g& j% F8 T1 i# i- j7 P
  589. ; NOTE: Every character in this directive is considered as separator!
    2 r, z% U- y7 E, I0 a. M) T
  590. ; http://php.net/arg-separator.input+ c4 K& i0 g" P& r' `  x1 ]
  591. ; Example:
    3 Y# l0 J; T$ L( ~. e6 n% q; t
  592. ;arg_separator.input = ";&"
    4 s8 p9 B# y" E: Z

  593. 8 P, X9 T+ ?0 U* T' j
  594. ; This directive determines which super global arrays are registered when PHP+ x, R& V5 I& _0 h, D
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    $ W& `2 M% J9 }
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    - K3 O6 W$ ]# O3 J
  597. ; paid for the registration of these arrays and because ENV is not as commonly$ T1 f0 D' a7 H5 n( B
  598. ; used as the others, ENV is not recommended on productions servers. You
    ! D+ _. Q2 ~7 b0 S9 b9 J
  599. ; can still get access to the environment variables through getenv() should you
    & J9 b. O$ K. C# d3 S3 {+ M
  600. ; need to.
    ! ^! U% G% Z4 e' Z6 J4 p
  601. ; Default Value: "EGPCS"
    # a: [6 s. t, ]  h# j6 h
  602. ; Development Value: "GPCS"
    * d) ], X3 b/ t6 i( i3 A* |- v( O
  603. ; Production Value: "GPCS";
    8 J8 Z( O# r7 M4 M. x8 a7 B0 w3 d6 [6 G3 ~
  604. ; http://php.net/variables-order8 u; }) D3 }: P9 l$ Q* s# E
  605. variables_order = "GPCS"
    * Z5 c* Y. I$ m% U; Z

  606. " U* f3 c3 u# o5 v6 v/ i9 U
  607. ; This directive determines which super global data (G,P & C) should be
    % T% n0 f% H6 d% K: g" t
  608. ; registered into the super global array REQUEST. If so, it also determines1 k, h# P% s5 ?( U3 j/ U! m
  609. ; the order in which that data is registered. The values for this directive
    9 p& e1 }9 m! M. b& B, Q
  610. ; are specified in the same manner as the variables_order directive,
    % P4 p+ D" f# q) _
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set) ]' O5 y: ]! l
  612. ; in the variables_order directive. It does not mean it will leave the super8 D7 S) U. |0 ~3 u- Y2 [
  613. ; globals array REQUEST empty.
      d! ^% {; d$ l7 y+ I$ b# o; V
  614. ; Default Value: None
    3 V! k3 B3 P% A6 o+ o: f& l7 G8 u
  615. ; Development Value: "GP"; ~3 l' X! N8 T$ e# H0 V  z
  616. ; Production Value: "GP"( r  R/ P8 b1 g8 Q3 J: m0 e
  617. ; http://php.net/request-order4 M* `7 J# _/ R2 |1 n5 |
  618. request_order = "GP"' N# _# P% z3 G' |
  619. 6 c  @, S6 r- F! K7 o5 x
  620. ; This directive determines whether PHP registers $argv & $argc each time it1 D& N1 F% @  f( h. U3 U
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script8 G' l" T/ L; k# L6 b8 O- Q6 [
  622. ; is invoked. $argc contains an integer representing the number of arguments
    7 k# D- `# o9 c" U
  623. ; that were passed when the script was invoked. These arrays are extremely  _$ c5 N# z- h5 A5 _3 s
  624. ; useful when running scripts from the command line. When this directive is" x) ~2 [: Z( x. W* _& n; c
  625. ; enabled, registering these variables consumes CPU cycles and memory each time8 V) Z) d8 V$ c# t2 z% _4 n+ i
  626. ; a script is executed. For performance reasons, this feature should be disabled
    / b$ R3 l. T% P. h9 B, d
  627. ; on production servers.. \& x! p6 D0 E" E' J+ p
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    3 }8 T/ T9 K7 B9 q
  629. ; Default Value: On
    7 f: P7 A/ T" d
  630. ; Development Value: Off
    % z, p0 k- q" x5 F; ?* C. ]
  631. ; Production Value: Off
    $ f0 K# j' U$ `" ^) }# g# C( M( r
  632. ; http://php.net/register-argc-argv6 p  T5 w# T# P+ q
  633. register_argc_argv = Off
    ) {4 z  r" e6 }8 Z* T& x. U

  634. 4 r! O1 f# x1 Q+ T
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    * J* a' P# x" H. \
  636. ; first used (Just In Time) instead of when the script starts. If these9 b( V3 }3 M5 T9 M9 K: D
  637. ; variables are not used within a script, having this directive on will result
    ( k# d" S8 i8 s5 B2 v
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    3 X" a( ?% |4 n+ |3 V5 O& ^. Q
  639. ; for this directive to have any affect.9 o, Z7 P" T6 i( {
  640. ; http://php.net/auto-globals-jit
    ( j5 _0 i; T' ?: Q5 v/ |
  641. auto_globals_jit = On- w8 _& T7 m) v; F' q# s

  642. . ]5 ?, Z, K+ c- g: u
  643. ; Whether PHP will read the POST data.
    ; W0 O  a  G- h* m4 ]; z5 s
  644. ; This option is enabled by default.1 K; ]7 o4 W  e$ W5 K
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST4 G  p# k2 C. D
  646. ; and $_FILES to always be empty; the only way you will be able to read the- ~' I, C* z; p. T; k
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    # E2 O' d% B  l2 s6 v
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.6 }3 M* M: v7 u) l& `
  649. ; http://php.net/enable-post-data-reading/ W# ^+ J3 U, q9 \' Y4 o  v: r
  650. ;enable_post_data_reading = Off7 `4 g4 A8 [& N& H7 h- L
  651. 1 n2 D4 E: |& b
  652. ; Maximum size of POST data that PHP will accept.0 G  `) l( p6 ^' x
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    : {( ~, o( l! J* a! J' a; C8 K2 a
  654. ; is disabled through enable_post_data_reading.
    ( P/ V2 [% F3 M2 W2 [; E
  655. ; http://php.net/post-max-size
    2 s3 X( s& r/ G3 @$ S
  656. post_max_size = 50M% ^- O7 M% n9 Y

  657.   B* K# ?6 Q1 c* P7 R
  658. ; Automatically add files before PHP document.
    * Z/ l. W5 @" d2 w9 Q
  659. ; http://php.net/auto-prepend-file
    : g8 w9 W9 H" Q+ J) W7 j
  660. auto_prepend_file =* a6 z7 X! z/ z% ?5 Z7 }

  661.   k2 Z& h' F9 S( c
  662. ; Automatically add files after PHP document.. f: b8 b8 m0 C6 }+ J
  663. ; http://php.net/auto-append-file. Y& ~# H. \! o( O! S) z
  664. auto_append_file =/ m1 \/ S6 \0 O  t' K4 d

  665. 1 A* [, M9 A5 p; ~7 b0 f6 m
  666. ; By default, PHP will output a media type using the Content-Type header. To; h+ O% q' Q' B% k% g
  667. ; disable this, simply set it to be empty.& t# [3 |: c6 v; v  T; D: E
  668. ;) Y# c& C3 P3 K+ w
  669. ; PHP's built-in default media type is set to text/html.
    % Y( `/ q' S0 \/ O" x/ w& h
  670. ; http://php.net/default-mimetype, u9 g2 Q2 G( p" @9 p+ v0 {! e( `
  671. default_mimetype = "text/html"  V& f# m4 o5 W/ r$ Y
  672. 9 V; m/ S3 v, a; c, s- d3 t
  673. ; PHP's default character set is set to UTF-8./ {8 a% _) z" i7 x7 b. S1 {6 B
  674. ; http://php.net/default-charset# k; r, P0 j6 _+ U* L! N7 ^: {9 u' Y
  675. default_charset = "UTF-8"
    1 J/ Y" N  Q7 A9 i% a3 D
  676. ' e5 {' n/ H: R4 t
  677. ; PHP internal character encoding is set to empty.
    ' L4 G! B/ t; D& P, X  O
  678. ; If empty, default_charset is used.
    . L. O/ ]5 |3 t' Y, Q7 o
  679. ; http://php.net/internal-encoding7 m2 A: @5 t  v2 P& Z! D1 n
  680. ;internal_encoding =; Q0 J4 d1 @+ G7 e# f$ D/ ?: s
  681. - B. S- `& N6 ]" n
  682. ; PHP input character encoding is set to empty.5 e$ x3 g2 w6 T- x/ T
  683. ; If empty, default_charset is used.4 o) }9 Q, ?6 z, ?# j
  684. ; http://php.net/input-encoding
    / Z* Z1 H+ j' @2 U8 @" v0 @* U
  685. ;input_encoding =7 x, F$ @0 E. |( J0 D3 A+ F& z
  686. # x) b' U# Z5 ?6 O1 |4 \# I
  687. ; PHP output character encoding is set to empty.3 o) M& l* s; F$ Q
  688. ; If empty, default_charset is used.
    + Y' u- \, k' j8 o& Y/ T$ T, P3 b
  689. ; See also output_buffer.% N+ r% c! ]! }/ [7 q
  690. ; http://php.net/output-encoding+ e0 m& t3 Z" D( ]3 L' T' W' h( J
  691. ;output_encoding =0 e% D/ K  L* @8 r. l) Y+ V* i
  692. ; X6 ]3 n. F5 A9 w7 L
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;3 s% _6 y3 x  T: b' t% N
  694. ; Paths and Directories ;
    ! @7 D& f8 w! K$ D" E7 w; n
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;3 S5 j" \5 W; K2 Z6 v7 v
  696. & `9 M( ]6 G# H: W
  697. ; UNIX: "/path1:/path2"
    & B. q2 f5 `7 G. m# Q
  698. ;include_path = ".:/php/includes"# b1 R  f* ]$ k6 c8 m3 p: v
  699. ;6 n: [9 q# E: r+ {
  700. ; Windows: "\path1;\path2"
    / O/ y3 E/ g$ e6 \
  701. ;include_path = ".;c:\php\includes"( U# N7 ~: u4 |
  702. ;
    - X0 W: g) F' C3 f0 V8 w3 r( T
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    0 E9 @8 {* g; m: ]* C* U' y6 q% Y: I
  704. ; http://php.net/include-path
    , j1 y% s' G9 l8 }# v
  705. 2 A3 M  c- ^5 k/ p. ^
  706. ; The root of the PHP pages, used only if nonempty.
    " a5 q2 f/ ]+ d
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    * B+ Z8 ~+ k$ E3 F$ E! l& {
  708. ; if you are running php as a CGI under any web server (other than IIS)/ M/ R; O! t. q+ a
  709. ; see documentation for security issues.  The alternate is to use the$ E- j! q+ s& C' q/ _  C
  710. ; cgi.force_redirect configuration below
    1 y* N6 z! _# h7 x- `; ?  x- A( e
  711. ; http://php.net/doc-root3 L; f- ^% W6 V, [2 ?
  712. doc_root =
      S! X, Z, F  O% ?5 o5 f7 k4 a1 G" O$ r

  713. 4 a" c. q0 j3 X  Y4 I
  714. ; The directory under which PHP opens the script using /~username used only9 X- J5 X5 S$ M$ f9 b
  715. ; if nonempty.
    / r! e$ z4 p* s& B! p2 ~9 q5 f
  716. ; http://php.net/user-dir  S4 U* |  X2 \4 _0 j
  717. user_dir =
    6 t/ f& _' t8 s4 ^7 `9 n! E) z

  718.   `, i# {& t' Q8 J- Z
  719. ; Directory in which the loadable extensions (modules) reside.
    9 {6 Q. e; V: ?
  720. ; http://php.net/extension-dir; l# U0 @  r" [0 o7 e" X  u  x
  721. ; extension_dir = "./"  g* x) Y  K: \, E
  722. ; On windows:, V, C3 X. x  P/ A
  723. ; extension_dir = "ext"( @6 d* X% N; V4 ^

  724. / m+ Q4 F  T( j4 h) _3 i% O
  725. ; Directory where the temporary files should be placed.  O4 g! o& W3 |2 j5 w
  726. ; Defaults to the system default (see sys_get_temp_dir)+ f+ e$ j( j9 F/ R) P
  727. ; sys_temp_dir = "/tmp", f2 C, j/ Y- b" l! \
  728. 8 [  m0 o' q: |1 Z+ \& w0 v6 F
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    * r% i+ }, ]8 [7 \
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    3 Q' K2 t* O3 U6 b" R+ U
  731. ; disabled on them.
    ( d' _$ M# W5 t% L& p; q+ _
  732. ; http://php.net/enable-dl
    3 G) D* A- ]+ A
  733. enable_dl = Off8 H; d6 ~$ k( q' j2 I& }$ s7 ~
  734. & l: p5 A, Y9 E7 D- V. y: q( r
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    ( ?$ u  w( S# D/ ?
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    7 j% x2 A6 j0 _) R2 W* M! ^. _" v, u; F
  737. ; turn it off here AT YOUR OWN RISK
    $ d" y2 ?& i/ `5 c* H
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    8 h9 K( K7 |' R3 D# ~; k9 X9 }
  739. ; http://php.net/cgi.force-redirect
    7 t$ o9 w4 A3 o2 a5 ~6 C& e( T' t
  740. ;cgi.force_redirect = 1
    4 F0 F1 H6 \: E! v4 J/ `! O, `

  741. : i0 r5 ]9 d: G9 x8 U' n
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    3 E4 m4 `3 w( W
  743. ; every request. PHP's default behavior is to disable this feature.
    7 k, ?5 @' b0 {# C7 O# k3 q
  744. ;cgi.nph = 1* m% X- H" G$ p- Z% @" C

  745. ) ?9 e) o1 ~$ O, }
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    4 m. I) p, h0 k. U2 M$ q/ o. p
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP/ ~0 O3 s8 L1 n' Z" p7 r& @
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY. h/ O# E# s7 ?! R) e
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.8 t5 A& i# N9 B' L( N2 v
  750. ; http://php.net/cgi.redirect-status-env: t7 ^3 D/ \1 R1 F" T* h) r
  751. ;cgi.redirect_status_env =
    / A) Q* i, L# Q2 c
  752. * m& {4 ^: }  ~# |$ |; I% i
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's& p" b  o/ \4 d3 _# e0 u7 [- R
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    ) N% g$ @9 D3 w3 I0 b. A8 u
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting" v! M3 G3 I- W2 U
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting8 S, Z$ ]; E- c; j
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts! N7 r% m4 z1 T$ d4 J' U+ A
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.3 c( k% S6 x" v* a3 r5 `
  759. ; http://php.net/cgi.fix-pathinfo9 K$ @- q. K+ F0 k
  760. cgi.fix_pathinfo=16 {3 v, \6 S' y: Z; q4 A2 U3 |
  761. 3 D% c$ _1 i3 u, ]6 c
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    + X+ [( O4 h' T& }6 M" z5 ]
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    ) J* L& J: D% f5 g
  764. ; http://php.net/cgi.dicard-path
    6 P# u0 c2 a# j: z
  765. ;cgi.discard_path=1
    4 I; R: U7 ?! n: U  h' W
  766. ' u! b2 v, c  d
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    " A- m! ]: S$ J
  768. ; security tokens of the calling client.  This allows IIS to define the+ E) S) W# }( |. w+ T5 z
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    8 L, h2 _3 Y& v9 n
  770. ; does not currently support this feature (03/17/2002)
    ) s2 b% n" l$ P( \! S% u8 v
  771. ; Set to 1 if running under IIS.  Default is zero.; j! R1 c" D- m2 r' R' m+ O. q
  772. ; http://php.net/fastcgi.impersonate) I( H7 v! V; l$ H" M$ k& @6 X% h
  773. ;fastcgi.impersonate = 1
    " k& v6 Z: P# i* l4 t  N
  774. ) q/ a' k( T+ @3 m
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable: a8 F$ S5 n5 l2 @( F
  776. ; this feature.7 m  f( S4 H5 A$ B
  777. ;fastcgi.logging = 0* U5 }. ^/ F  I' E4 G& |
  778. ) \3 X- Y- _' W5 Z5 x1 @
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to$ B# ^0 \& y. B. `  n
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that+ F5 E- I/ f! h
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    ! j0 H- S! U) @$ J. T9 a
  782. ; RFC2616 compliant header.1 b( @, h( s8 c3 a$ L
  783. ; Default is zero.. p5 E& J. n! ?6 m/ M* T
  784. ; http://php.net/cgi.rfc2616-headers& M$ x( y: b" ^) {# m9 G7 a
  785. ;cgi.rfc2616_headers = 0
    4 F. d6 Z( P2 F- T; ^: M& [1 {# N3 D  i
  786. # \9 J! r/ S( {3 u5 Z$ `% w6 a
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    ; ]! e8 r3 o* g/ e$ M" Q, v
  788. ; (shebang) at the top of the running script. This line might be needed if the+ X2 h6 y; l/ k: M% o. O
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    7 l' G1 d6 g2 {4 ?8 F
  790. ; mode skips this line and ignores its content if this directive is turned on.
    ; ?7 A* w1 U( ?0 x" W- O
  791. ; http://php.net/cgi.check-shebang-line$ D& ?- o( u( B4 c
  792. ;cgi.check_shebang_line=1
    & g! g: n' q5 ~( c2 {- X: x- q/ i

  793. # Q8 n* R& `! t3 A% z$ ?
  794. ;;;;;;;;;;;;;;;;
    + ?# [( }0 v  `5 D) i
  795. ; File Uploads ;
    1 R) J- y9 ^1 S
  796. ;;;;;;;;;;;;;;;;! r! A6 I+ d  L& L+ I. M5 u
  797. # a$ g" b+ G. Q9 A6 I
  798. ; Whether to allow HTTP file uploads." _, V. o: ^, w. ]
  799. ; http://php.net/file-uploads9 L8 ?% b' H  l) {7 `
  800. file_uploads = On
    8 u4 T7 {% s; d2 ?8 h$ z; t

  801. - L+ r0 s7 B8 p2 @4 W! t4 |+ l
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    - g9 h  k8 N( q  i" A
  803. ; specified)." }& N5 A5 H0 ~4 ?
  804. ; http://php.net/upload-tmp-dir' T9 ~! O/ D/ l- N6 Q7 u6 u
  805. ;upload_tmp_dir =
    0 h4 U9 S& z& U5 I& g/ f
  806. $ n3 u5 E7 G/ `; x3 L6 e6 p* D
  807. ; Maximum allowed size for uploaded files.; o( U) i2 U$ W! z/ ^. F
  808. ; http://php.net/upload-max-filesize
    3 K% I+ P2 P' E8 L
  809. upload_max_filesize = 50M0 J* |  v# L. x% L5 w; p& I

  810. + s6 k2 x$ y- ?2 m$ I
  811. ; Maximum number of files that can be uploaded via a single request) Y' i: X- z" u; \$ U
  812. max_file_uploads = 20
      I; d7 E# m' y2 n
  813. - |: S6 R: ?& v! a
  814. ;;;;;;;;;;;;;;;;;;
    8 i; z7 N; r8 T
  815. ; Fopen wrappers ;2 @( P4 Z3 s* q/ Y9 s- z+ M& O$ x5 d
  816. ;;;;;;;;;;;;;;;;;;
    5 p3 X% F) g, g/ ^- K# `/ `

  817. + [' a4 b# J$ [  T7 M9 B
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.) o' z+ u. r/ U2 u/ i9 B
  819. ; http://php.net/allow-url-fopen
    7 H- H1 m3 J' Q" F3 x
  820. allow_url_fopen = On/ Z; x2 T9 U1 _7 T' g$ }9 [
  821. ( a; F$ r7 q0 V- ]+ b
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    " w4 P8 w9 X9 J+ S+ Y2 W: I& O
  823. ; http://php.net/allow-url-include+ p  a" e1 h6 v+ j
  824. allow_url_include = Off- Y% O" e# M0 i& G

  825. 7 a& z# i0 x. @6 i6 ^/ N8 h6 e
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    $ A' Y; a" B' _$ V) w
  827. ; for this is empty.
    4 P3 w4 W" `  G$ s4 K5 R3 T$ P
  828. ; http://php.net/from
    ) a( V( N# W4 y& o5 f% R" U; |
  829. ;from="john@doe.com"
    " S/ M# W& {3 N. w

  830. / Y$ E7 x: ?" e2 g
  831. ; Define the User-Agent string. PHP's default setting for this is empty., d+ I3 D* y* ~+ s4 A! s' f  y0 }
  832. ; http://php.net/user-agent
    * D2 \. z9 l3 l0 E' _* d
  833. ;user_agent="PHP"
    . }+ K. r4 k& ~
  834. , F: i0 t4 J2 `- o
  835. ; Default timeout for socket based streams (seconds)
    & Z+ k- y( Z6 W* c& G/ {3 X
  836. ; http://php.net/default-socket-timeout
    & V& I2 l4 U4 Z+ X5 t
  837. default_socket_timeout = 60
    / X/ e4 O! o. ~& z+ P5 d

  838. 1 i7 x( ]$ h! I
  839. ; If your scripts have to deal with files from Macintosh systems,
    4 s9 s. t3 }! [; w$ A3 \( F2 U
  840. ; or you are running on a Mac and need to deal with files from
    0 a, G8 X2 Y' t' D4 L: d
  841. ; unix or win32 systems, setting this flag will cause PHP to+ T$ c6 T5 \% P0 y. m* i
  842. ; automatically detect the EOL character in those files so that
    4 H/ g- O7 m- ^
  843. ; fgets() and file() will work regardless of the source of the file.  X; T# U# U2 t: z
  844. ; http://php.net/auto-detect-line-endings
    $ p8 G7 q8 Q2 [& Q0 I
  845. ;auto_detect_line_endings = Off  l) q8 `: t) g' \8 ^1 _9 V
  846. 4 k  a! |3 z: R. S  ]) u2 F7 T2 R
  847. ;;;;;;;;;;;;;;;;;;;;;;
    5 f" u7 O1 z3 ^+ f
  848. ; Dynamic Extensions ;
    + L' e3 F* G9 `. u
  849. ;;;;;;;;;;;;;;;;;;;;;;
    8 K, d% b2 n1 c: H9 S9 [
  850. ' G9 ]. N8 c# g) B0 [2 w) M
  851. ; If you wish to have an extension loaded automatically, use the following% n& ]9 C' E  b
  852. ; syntax:: k/ N0 M9 w+ E
  853. ;
    ' v! a0 Q& u4 K/ E4 n( c4 w' M' r
  854. ;   extension=modulename.extension
    # m4 V  o$ t" U( d- H; F
  855. ;5 N* n9 v# d- F$ s
  856. ; For example, on Windows:$ \& Q) ?2 N. \" I7 w
  857. ;( Y7 H* N: m  |/ ~! C
  858. ;   extension=msql.dll! o  F6 ^+ R6 U( [" f4 R
  859. ;
    5 @% I# L0 [; y2 t' u6 j
  860. ; ... or under UNIX:
    ) ^: G0 e2 q9 ~% W0 B
  861. ;7 t6 s) t- r/ ~* k
  862. ;   extension=msql.so
    ! M  W* D& w% s: S4 R& R* N
  863. ;! m- ?; f- K+ D# H/ w
  864. ; ... or with a path:( `: B6 F7 p/ t( I) I# u; E
  865. ;
    5 o) z# C0 i% f6 v& {7 t: x: s& b
  866. ;   extension=/path/to/extension/msql.so
    + [/ o5 l& _: `$ P
  867. ;1 g7 @0 j5 J; r/ z  I
  868. ; If you only provide the name of the extension, PHP will look for it in its
    & P; f: F/ q; [5 z+ [( q) E
  869. ; default extension directory.
    7 J* u  \* b9 O
  870. ;7 Y6 M; f4 J5 C5 S1 }' A# {+ m. Y9 H
  871. ; Windows Extensions+ \! X7 z0 w! r( R5 D4 c! ]5 W8 H
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    5 c. A' a$ P* C; E: k
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    9 ^& }+ y# n$ W
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    # {3 o1 \7 s% }- t) d
  875. ; Be sure to appropriately set the extension_dir directive.$ }+ i) V2 B7 c  t& ^' }, ^
  876. ;. L+ y+ {6 V: K% \% }1 K+ J
  877. ;extension=php_bz2.dll0 K2 y+ G: i6 P+ L% s; p. w0 L6 o
  878. ;extension=php_curl.dll; J! k( Z# u+ q$ Z! J' _1 U! N( m* Q# O1 [
  879. ;extension=php_fileinfo.dll2 [" i& H0 x- t( m7 @9 l
  880. ;extension=php_ftp.dll
    ) a! w. A" K: O* T! `" w' p& r7 V9 [( k
  881. ;extension=php_gd2.dll
    # B* v- m. C6 Z9 a2 J
  882. ;extension=php_gettext.dll$ p6 G; d" B* _; g% q5 j) J) Y
  883. ;extension=php_gmp.dll
    * S+ N1 X, g/ x* A$ G: I1 R2 Y
  884. ;extension=php_intl.dll
    ' q* C5 r: p4 Y& X: a4 i
  885. ;extension=php_imap.dll6 c1 H! [4 s( E  C  ?. T& g, g4 n
  886. ;extension=php_interbase.dll
    6 N( y, V6 J9 ?3 q
  887. ;extension=php_ldap.dll+ U7 r0 T% v! `4 c
  888. ;extension=php_mbstring.dll
    ) l+ Z1 ]7 j8 c; t4 U
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it. o8 y$ K8 E1 Z/ a1 L2 u8 {& G5 N+ c; j. c
  890. ;extension=php_mysqli.dll( s" a6 o0 B9 J2 y" u- A7 ]
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    ) M# Y4 E3 U: e9 _6 M5 a2 O6 O$ V
  892. ;extension=php_openssl.dll
    , a$ O) v5 l1 f
  893. ;extension=php_pdo_firebird.dll# r% Q/ m2 g) h9 N2 k$ r
  894. ;extension=php_pdo_mysql.dll
    + f: h! u& C) t, L
  895. ;extension=php_pdo_oci.dll
    7 ?7 Q& z4 p6 y  O. H& f
  896. ;extension=php_pdo_odbc.dll
    2 D; b( A) I1 H. I6 f/ f& [3 F' m
  897. ;extension=php_pdo_pgsql.dll
    7 d9 s) i) [/ l  m
  898. ;extension=php_pdo_sqlite.dll
    ! c) {- J3 I4 @& _  x- T
  899. ;extension=php_pgsql.dll6 t1 e) |7 J$ s- |3 T
  900. ;extension=php_shmop.dll  ?$ ~1 f6 u1 ]- l# e4 p2 U
  901. 8 y$ a: K$ G' k0 y' u
  902. ; The MIBS data available in the PHP distribution must be installed.3 S8 w9 z9 G( M8 V5 m2 ?- s" R
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    $ h; o: k; w1 s( W& M- @0 Y2 @
  904. ;extension=php_snmp.dll2 w4 z5 u; }% M$ x- z8 l* u( e0 i

  905. , ]" a) B7 x+ ?, q9 k
  906. ;extension=php_soap.dll
    6 G- D' G" }2 t9 A  c, a  ]- g
  907. ;extension=php_sockets.dll, z8 m  c" w. O4 F: f2 R- M' w7 m% F
  908. ;extension=php_sqlite3.dll' Z' @1 O0 G) B' T
  909. ;extension=php_tidy.dll
    ; m3 W5 i' ^1 S4 d5 _
  910. ;extension=php_xmlrpc.dll
    / |8 b) X! Y: G  p% i# H
  911. ;extension=php_xsl.dll% {& _1 q' ?! C5 k! T* i9 q
  912. 5 G/ g# U4 R9 U. {
  913. ;;;;;;;;;;;;;;;;;;;
    - Q- v4 r" L$ T/ \. }4 T
  914. ; Module Settings ;
    : [7 e3 v5 _% H! Y! e
  915. ;;;;;;;;;;;;;;;;;;;# G7 U6 F* {4 g) v; D  t) g' R
  916. : t7 p) u8 z+ }: L
  917. [CLI Server]
    : M0 w5 V2 q) ]/ @7 ?1 ^
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    6 [; b1 U  I$ f. t! G
  919. cli_server.color = On
    8 V! P' B2 X* I7 p, o! e
  920. 2 m  G" |8 q/ w1 f+ b  o
  921. [Date]
    9 x" s/ Q( ^$ ?5 k- n5 ~2 L
  922. ; Defines the default timezone used by the date functions; G- A0 p2 c( ~' V5 S# U  u
  923. ; http://php.net/date.timezone
    & C* K- D6 t% w2 w8 M5 d% C, D  r
  924. date.timezone = PRC8 L. _: C& v, R( b$ J# J9 }1 a

  925.   u. a1 A9 k% s/ q8 @
  926. ; http://php.net/date.default-latitude/ W; O5 r! m9 e  l' K* C
  927. ;date.default_latitude = 31.7667
    8 j- W8 M* f7 i2 z3 o* \9 H

  928. 3 Y4 _/ \8 u# j- [  f
  929. ; http://php.net/date.default-longitude
    ' E4 U) o* G; t8 L/ j7 D: A
  930. ;date.default_longitude = 35.23335 w3 g' D2 Z( J
  931. ! G) Q( X$ ]$ i0 @
  932. ; http://php.net/date.sunrise-zenith
    9 Z4 X& y" ^4 o; |5 L6 z8 _
  933. ;date.sunrise_zenith = 90.5833330 Y8 U( o5 V6 i) C% ]

  934. . F6 I' C0 |/ R, k& h5 e' ?
  935. ; http://php.net/date.sunset-zenith9 w  o) V# s, i% I) ]# g
  936. ;date.sunset_zenith = 90.583333+ j" j1 Q" C' U! J$ T! d& A9 M
  937. , q) B5 O5 p& m/ N2 x
  938. [filter]' ?8 L( y; J7 t) O
  939. ; http://php.net/filter.default
    . w$ f. M$ f$ S4 Y' L3 C8 g0 R; e- j* M
  940. ;filter.default = unsafe_raw
    $ F# u! S$ _' Q& F. l9 k" ~6 |$ N6 O; k
  941. # {0 {, b+ U! t
  942. ; http://php.net/filter.default-flags% G* n. d6 F  x% k+ x- D" ?% `
  943. ;filter.default_flags =6 h, r& g: G$ ~! V

  944. 1 B: S- z  d  w" P
  945. [iconv]
    ) Z/ a) m0 p- }1 P% J
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.! G: i# ?! [( u0 M+ T2 t6 K& G
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.! f: C9 i) w3 s' M6 Y
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    ! N  ]/ y$ c6 f2 d5 u) X1 v/ S' c
  949. ;iconv.input_encoding =" Y& {5 o( w4 I; s" E1 ~- j7 O

  950. ' q" v, }; j6 R# t( O5 d" f
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.3 j4 m; c+ q$ Q& v  D
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    4 m( h$ V) p; l) Z, b" f% o: ^
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding3 P. F: B) A% X" \7 m; T' q2 r* `' A
  954. ;iconv.internal_encoding =& R: R+ w9 Q; m: S/ }
  955. 6 Q- s$ u% E% i- v* @6 O! r
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    3 O* E& Y7 S. r# v
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used." y: J3 U+ s* ^$ s. D* V+ d
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    2 C/ R3 A4 c, ]( M( A
  959. ; To use an output encoding conversion, iconv's output handler must be set- A2 V. B7 _3 m. G8 _# e
  960. ; otherwise output encoding conversion cannot be performed.
    8 F1 C6 M% q" P8 \
  961. ;iconv.output_encoding =2 K- ]3 R/ V  d3 p4 {$ r
  962. 2 V# S2 i; F3 a) X  B  e7 r& s
  963. [intl]* K, [3 }: l# x
  964. ;intl.default_locale =
    0 k: I0 n: H* J8 J. R; i8 \( f; ^
  965. ; This directive allows you to produce PHP errors when some error
    ! A" J6 ~" L9 x/ v
  966. ; happens within intl functions. The value is the level of the error produced.0 y5 M. N. z$ j1 X
  967. ; Default is 0, which does not produce any errors.
    * N' a7 U" S8 {6 `: J! C
  968. ;intl.error_level = E_WARNING
    " x, h9 k/ ^$ E* X5 N$ o
  969. ;intl.use_exceptions = 0
    % o8 b2 a. S( X. f2 U' h  W5 C& N
  970. 6 B# Y  t4 v1 y! j' |- U
  971. [sqlite3]
    1 F* m. S8 V3 J' i$ q) M3 X( _# M
  972. ;sqlite3.extension_dir =
    # ~8 y. f. O+ W- g3 c
  973. 3 S9 {1 N5 i! o$ l9 X+ B
  974. [Pcre]
    . y( m+ T+ C9 o8 K  G/ v
  975. ;PCRE library backtracking limit.
    , q  z9 p4 j9 X' B( B( m
  976. ; http://php.net/pcre.backtrack-limit
    ( ?. l$ L6 p! F
  977. ;pcre.backtrack_limit=100000
    2 O" Y9 k% [. ?

  978. 6 I* o9 w4 b5 X2 h
  979. ;PCRE library recursion limit.8 J0 m7 b/ ^( ^) ?% k3 d  M
  980. ;Please note that if you set this value to a high number you may consume all
    $ I& Z0 X9 V9 v" ^9 @' U" m4 ?
  981. ;the available process stack and eventually crash PHP (due to reaching the
    " \8 ~, N- M% h: I8 ~
  982. ;stack size limit imposed by the Operating System).* _' L, z5 ?" N* d
  983. ; http://php.net/pcre.recursion-limit
    - c  y2 J% T9 J# f( \
  984. ;pcre.recursion_limit=100000
    0 ^: W# j$ w: J" L- o% Q) c

  985. * J1 X8 V* x2 O: C5 l
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    / m4 s3 [! z+ A+ D. X" x' {' {
  987. ;library to be compiled with JIT support.# }4 U0 R3 P9 r" l
  988. ;pcre.jit=1; K) b/ H$ e3 d  s, w

  989. 6 E; q+ u' F3 q( E+ z
  990. [Pdo]% k, }' q* F4 U$ F/ g! S
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    ( M; L0 m, X+ F9 i
  992. ; http://php.net/pdo-odbc.connection-pooling
    4 Y- i7 X# E8 j5 @# B
  993. ;pdo_odbc.connection_pooling=strict1 v7 c2 C& g# V1 M5 A$ z

  994. * U0 M5 H  ^% p5 h. N/ s
  995. ;pdo_odbc.db2_instance_name
    ( c6 Q9 [" S6 v0 X& R  X

  996. ! B7 ~4 c& w6 \2 X. R
  997. [Pdo_mysql]. q- }7 k8 g3 C& a$ @2 ]" E
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ( i& M9 s3 o" u
  999. ; http://php.net/pdo_mysql.cache_size" l, v. s# U. [, y0 d' u& `
  1000. pdo_mysql.cache_size = 2000
    6 q8 [4 _" Q1 [* q& U- m) Y* [

  1001. 4 N9 h* _5 S* g& l
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in! v( F; P$ f9 S7 m% x0 p
  1003. ; MySQL defaults.% A5 w7 d8 {1 _5 B
  1004. ; http://php.net/pdo_mysql.default-socket
    ( m' i7 a8 ^7 [% I6 F: t$ Q/ K
  1005. pdo_mysql.default_socket=/ F/ W1 C# s, r2 u' H

  1006. 5 Y5 K* `0 [9 E- {3 C  Y
  1007. [Phar]
    ; o6 I$ _5 T  r! P+ `
  1008. ; http://php.net/phar.readonly. L0 z+ E' m% O
  1009. ;phar.readonly = On
    3 d# R; _; R1 @" H$ `8 e( d
  1010. $ J7 z/ k  G' @
  1011. ; http://php.net/phar.require-hash
    % y6 j3 X5 _  P9 d+ Y" C
  1012. ;phar.require_hash = On
    6 A+ V! G" l3 _9 X) G

  1013. & g: d) T- f, q- M% j) k# d7 \6 x
  1014. ;phar.cache_list =
    4 Q/ q6 o: U9 O9 @# D
  1015. 7 C6 A  r/ {" ]  R% u
  1016. [mail function]
    ' J6 G* P" C8 }1 j& v8 C
  1017. ; For Win32 only.4 C8 f& h4 T: X% Z
  1018. ; http://php.net/smtp0 N+ _* ?% z4 [
  1019. SMTP = localhost4 ?! i. \) r. R: i8 V" U
  1020. ; http://php.net/smtp-port
    : p5 v. G% f/ J, L$ x
  1021. smtp_port = 25
    2 s" j) Q  w, }9 P' ]

  1022. / ?8 y! ~3 _2 m! ?3 e4 X
  1023. ; For Win32 only.0 o2 L: j+ |  t: T5 h2 i
  1024. ; http://php.net/sendmail-from3 W% [# S$ K# n9 p
  1025. ;sendmail_from = me@example.com7 M( `' X6 f" o) v2 ~1 Z% F' ^

  1026. : K+ n! Z  J$ `7 Q; u* C& [
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").) S$ d# j9 v& ]- {, u
  1028. ; http://php.net/sendmail-path
    , s% `% p4 X& B# Q' S' d! ?5 G7 ]
  1029. sendmail_path = /usr/sbin/sendmail -t -i; V4 ]* _# m; [' |% t

  1030. % G! c3 |0 t# q) U. |5 f( P& F
  1031. ; Force the addition of the specified parameters to be passed as extra parameters. }: p+ d" f& A6 {) E' X
  1032. ; to the sendmail binary. These parameters will always replace the value of, s) K% }9 w( L2 {3 S5 ~8 i7 g
  1033. ; the 5th parameter to mail().
    , V8 N4 ^" F3 _
  1034. ;mail.force_extra_parameters =, Y/ I9 M+ d1 L, C

  1035. 3 Q. ~/ O  ]9 S0 H3 @
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    " A9 B* S9 O- ^& S  J
  1037. mail.add_x_header = On3 T; @  e9 t$ f5 A2 w

  1038. 3 p& {: [, P! w/ `3 h
  1039. ; The path to a log file that will log all mail() calls. Log entries include- P/ r) E% Y8 |" s$ }$ N* u. _" ~2 [
  1040. ; the full path of the script, line number, To address and headers.! }! f+ x9 a/ n/ W$ Y
  1041. ;mail.log =
    ) `/ E- y& {5 W+ |8 N! T' Z
  1042. ; Log mail to syslog (Event Log on Windows).
    , x$ G8 b9 l5 B0 a
  1043. ;mail.log = syslog
    / }, b) r6 R2 O

  1044. % u7 S5 S* U! R, |- h: P
  1045. [SQL]5 {  V7 F& J+ \' j
  1046. ; http://php.net/sql.safe-mode
    # [5 `9 s1 }2 C5 g% n" y1 S; X
  1047. sql.safe_mode = Off
    ) y, q1 w" b$ P0 V) k( q
  1048. 4 Z0 a* Z0 F, F+ K! l* v9 L
  1049. [ODBC]; O! ~  V5 _) Q- E! F
  1050. ; http://php.net/odbc.default-db/ r# A" L' E; n; N8 L3 b6 l
  1051. ;odbc.default_db    =  Not yet implemented
    0 a4 Z- s1 A6 @# C7 y
  1052. ! Q& E! b$ P( {# k# N/ S8 I
  1053. ; http://php.net/odbc.default-user' w% j" A) }! w7 i; U2 N
  1054. ;odbc.default_user  =  Not yet implemented
    : f# X# o% j0 |- J  S; n
  1055. 9 D' @- D; j1 {$ C7 p
  1056. ; http://php.net/odbc.default-pw
    : c0 K# I; G9 l7 U$ Q! K, P
  1057. ;odbc.default_pw    =  Not yet implemented
    : c; O% w% J, K) J& W) c) c: W. e5 x0 c

  1058. 2 d/ ~: N9 g3 v) p8 ~) h/ W3 I4 K
  1059. ; Controls the ODBC cursor model.
    6 y- C6 ?7 f, @& i
  1060. ; Default: SQL_CURSOR_STATIC (default).
    5 A$ h# Q# G/ A+ p* p2 I9 [
  1061. ;odbc.default_cursortype9 O3 D# v5 B7 f0 X/ P, J  H, G4 e2 N
  1062. , B. ~/ g6 y1 ^6 B
  1063. ; Allow or prevent persistent links., r+ y. d" x0 l
  1064. ; http://php.net/odbc.allow-persistent2 l2 v2 k& |. Y# T, U
  1065. odbc.allow_persistent = On, _1 p6 a3 w8 k- t# S
  1066. & k3 r, a) h/ N" S/ X$ T  L& \2 j& H
  1067. ; Check that a connection is still valid before reuse.
    5 l9 e4 M) m  r) C/ s
  1068. ; http://php.net/odbc.check-persistent$ M( x) ^* ~* c. ]: p( E, F& v5 {
  1069. odbc.check_persistent = On, `& ^* n$ y5 f$ c% B  v' U

  1070. : N# I' D+ [* v7 u/ |
  1071. ; Maximum number of persistent links.  -1 means no limit.
      i1 h" Z8 Y6 H4 E6 l' v
  1072. ; http://php.net/odbc.max-persistent
    * l* `* a! M/ E; e
  1073. odbc.max_persistent = -18 J" T) j+ s. C- @' V

  1074.   p* @; B% `0 q* z* T/ {7 _1 g
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    . c) }5 _# G$ q! ~3 N5 b3 d
  1076. ; http://php.net/odbc.max-links- l! e: Z% t( c9 Q" ]- ]; f3 \
  1077. odbc.max_links = -1: w% @" l& D1 d5 ]8 {: Z, u7 u

  1078. % w1 F, [  o" S& I
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    / h- O/ U' k% K: ~5 ~
  1080. ; passthru.+ X0 J, s$ C# J3 l
  1081. ; http://php.net/odbc.defaultlrl- M6 a& r/ l" p& _" \
  1082. odbc.defaultlrl = 4096
    ) {3 G. A0 K$ T- y5 C4 ]+ y4 Q  X( K

  1083. ' a+ S: d9 I: @' F  h. X! n. t. B
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    ' i; g6 V% M7 k# u2 V  R8 B9 m
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    + W# R" c6 t) N* W( l/ S! k
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    8 ~$ w1 @! ?1 `$ ^) {& `9 s) `9 s+ Q
  1087. ; http://php.net/odbc.defaultbinmode2 }) U) O" z' X0 m* F; u
  1088. odbc.defaultbinmode = 12 A8 R2 g* ~& C$ _% s  i2 `
  1089. # d6 B# S6 q3 K2 j+ _9 o' k) y- A; t
  1090. ;birdstep.max_links = -11 \2 F$ ^2 s+ R" C" D

  1091. " y8 E' ?" F! q" U8 O6 s1 j0 L
  1092. [Interbase]
    1 G' }, E& B' Z% D1 Z' p  i% Q
  1093. ; Allow or prevent persistent links.7 p) c0 V" {0 {  }( b4 J2 i
  1094. ibase.allow_persistent = 1
    ) i0 I1 ]" ^5 d" ~2 e7 w9 {. F
  1095. ; a1 i. n1 b  Z, l) Y4 i3 W
  1096. ; Maximum number of persistent links.  -1 means no limit.
    . x6 M2 {! F$ t* Q7 l9 g
  1097. ibase.max_persistent = -1
    / f$ ~+ Z+ K$ g9 s# Y" E. c

  1098. 0 E) S* W% e6 ^2 U, t
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    . c7 s( ^  d; Y# L# E/ G
  1100. ibase.max_links = -17 z0 N8 C% u* N! C. Z2 R0 g

  1101. 2 {! v, e/ d- X, i- N
  1102. ; Default database name for ibase_connect().4 P6 O: {6 @$ Q. f1 j2 Z3 C" c
  1103. ;ibase.default_db =
    , X! R2 [: k& [( _7 n* Q
  1104. ' Y" m0 T; ~1 k0 j( X
  1105. ; Default username for ibase_connect().
    7 c3 C9 @9 ?  y, a, w
  1106. ;ibase.default_user =
    * |3 N: ]+ P% a0 `* W! e+ U
  1107. 6 D% I+ f; ^/ u5 g  b
  1108. ; Default password for ibase_connect().9 b) C4 i+ k8 W
  1109. ;ibase.default_password =* v/ u0 X  L4 C# B% i$ |; ]

  1110. - _* W6 c1 Q2 N( W8 ?
  1111. ; Default charset for ibase_connect().; A5 R6 t7 }: O2 N: T+ {
  1112. ;ibase.default_charset =
    " n& X: @4 g8 W! `+ {

  1113. , m" e* J+ R- {+ ], c* z1 U! w) a
  1114. ; Default timestamp format.: G$ g" h' k: B0 W
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    % C3 ?- v7 A  m

  1116. : n/ }0 ~% ~3 p; z/ V
  1117. ; Default date format.* M) `: l6 o2 V7 L1 m
  1118. ibase.dateformat = "%Y-%m-%d"
    6 ~1 D# A; q1 B/ y

  1119. ) W0 N- S2 `2 U2 j0 ?( l
  1120. ; Default time format.* R  u% l" y$ f9 l4 K% X- z5 T& `. ~
  1121. ibase.timeformat = "%H:%M:%S"' u% C6 U6 t7 ~; H& Z7 p

  1122. & _+ l5 J& @) ^+ n8 O9 {
  1123. [MySQLi]
    9 t, c3 E+ s  i; w. J1 {

  1124. - S  S& u8 U1 u1 r7 ^. i- R
  1125. ; Maximum number of persistent links.  -1 means no limit.6 i3 a6 q. H' q1 p* l
  1126. ; http://php.net/mysqli.max-persistent, S* d' {$ o! a: Z) f1 d0 R
  1127. mysqli.max_persistent = -17 y, J: V3 Q' L; k) l0 d

  1128. & w- J6 z8 w4 ?$ P2 H' |; `
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    9 Z6 ]* {/ ]  ~( }) Y
  1130. ; http://php.net/mysqli.allow_local_infile! L" p$ D# P$ A1 p' S
  1131. ;mysqli.allow_local_infile = On
    4 J" Z) y: X3 t- p, C/ L# R

  1132. ; [, f5 x* E+ C5 J  u& y
  1133. ; Allow or prevent persistent links.& Q' m8 T, ?- Z
  1134. ; http://php.net/mysqli.allow-persistent' U6 s4 ^2 V2 C: g2 M
  1135. mysqli.allow_persistent = On( U8 [9 t. d7 Q

  1136. 8 s4 R" ~3 y+ C2 \
  1137. ; Maximum number of links.  -1 means no limit.
    1 @* q2 J/ T+ p7 h, f; X: i" b
  1138. ; http://php.net/mysqli.max-links
    % O2 n4 ?$ |; o3 K8 b  g" E
  1139. mysqli.max_links = -1$ H4 N. z5 @, n) L2 X+ F; Z1 e" A9 v

  1140. * _1 G8 u* E2 v# p7 Y
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache$ U. [4 O$ Y, u! t/ @1 Q
  1142. ; http://php.net/mysqli.cache_size
    / v) R7 `# D( t% I1 w0 R/ @
  1143. mysqli.cache_size = 2000* T. K- f, Z2 T- [. N% u; u
  1144.   n; P; [5 X1 |$ f
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    5 {6 e5 ]/ |2 S6 s& O! I1 F
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    6 ?( ?+ Q6 {9 _5 p
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    8 a  I; Q, z. k8 I
  1148. ; at MYSQL_PORT.
    $ o; X8 s) u5 ]. E* @
  1149. ; http://php.net/mysqli.default-port
    , ]5 h5 O' N3 h9 f
  1150. mysqli.default_port = 3306
    / L0 x) b+ U' V6 }8 P4 n6 l  k
  1151. , d- _2 w5 F9 H8 N7 v3 L6 i
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    3 X4 F, B) a0 i0 s6 e
  1153. ; MySQL defaults.! d4 T2 a7 v+ ~/ |
  1154. ; http://php.net/mysqli.default-socket% W) i( }, [6 J0 W$ }
  1155. mysqli.default_socket =
    6 _8 P0 W. |2 V! e& Z
  1156. ; m4 ~9 s2 e5 `9 D1 W+ }
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).' h& S, H0 z0 }* F$ Z6 V- o# K/ f
  1158. ; http://php.net/mysqli.default-host: E) `' l5 S# X3 t, Z2 C2 C, b
  1159. mysqli.default_host =9 ]& d5 M3 S+ f- F8 |9 O1 y1 g
  1160. 0 m; e) k7 X+ ^
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).2 S5 V8 s3 I3 t0 l# s) H1 P
  1162. ; http://php.net/mysqli.default-user$ A( I+ u2 Q7 ]3 Y& m, L' F# ?
  1163. mysqli.default_user =
    " t6 F: U/ [4 [- k
  1164. 8 e+ _9 y" g6 ]5 O# y( {
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode)." b( z$ o' u$ c
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    + Z. B4 S( i! H# v
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")& a, x1 `$ G# ]( ]" t- D# ~3 A
  1168. ; and reveal this password!  And of course, any users with read access to this7 h& P& J, g$ U. O: n- e
  1169. ; file will be able to reveal the password as well.
    5 W; y" D8 c8 y- \
  1170. ; http://php.net/mysqli.default-pw
    ) x) t) c/ ]5 P: G: o
  1171. mysqli.default_pw =
    0 |; F7 w: D2 U: U
  1172. + w1 K2 b& [- G1 c
  1173. ; Allow or prevent reconnect- Q0 \- q# z% m# q3 {
  1174. mysqli.reconnect = Off
    ; [% i3 a* B/ ~6 T

  1175. 1 s% c  z9 }* ?$ J* V
  1176. [mysqlnd]1 a' y% _3 Z6 D% G* B- p  n, [
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    / ?- H+ v% P' @% m, c
  1178. ; used to tune and monitor MySQL operations.
    ( C# Z& F' F+ f; ?4 l- i- G  y9 E
  1179. ; http://php.net/mysqlnd.collect_statistics
    5 k+ n3 }& d- q
  1180. mysqlnd.collect_statistics = On0 E. ~/ I9 P0 s1 ]. R. o
  1181. 8 d3 m1 V  R- p4 q' U! E
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    . X+ d& X' X! x& C" P+ L
  1183. ; used to tune and monitor MySQL operations.
    % n' ^$ }# B- L# F* y  [: N
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    : {- N* h& n3 j+ a7 f2 D3 F; k
  1185. mysqlnd.collect_memory_statistics = Off9 P3 y  I5 g  Z& H, O
  1186. " _  d6 n) p, [0 m$ X% E2 E8 k
  1187. ; Records communication from all extensions using mysqlnd to the specified log1 Z- P3 f# |+ s$ i& I
  1188. ; file.
    # U3 m1 k; o( |% L+ d
  1189. ; http://php.net/mysqlnd.debug
    ! N$ M0 D' i& d# e+ G5 V# d! f0 o
  1190. ;mysqlnd.debug =9 M) z- b7 J  w" x: U6 j% {

  1191. ! [( k6 b% u0 Y/ l- k( I
  1192. ; Defines which queries will be logged.0 c' O" x- @/ @4 ?; e
  1193. ; http://php.net/mysqlnd.log_mask
    2 [& `- \- R" q2 y+ e( g, J
  1194. ;mysqlnd.log_mask = 06 }. \, u  I$ E. t0 \" J) g
  1195. 5 H1 S& ?% J, C; {3 ^. L. s
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    6 {, J* X. k% b( H3 h
  1197. ; http://php.net/mysqlnd.mempool_default_size
    / Q% A8 N& {$ \) u/ B4 Z
  1198. ;mysqlnd.mempool_default_size = 16000
    3 p7 q& n- H3 _
  1199. # t+ ^5 |" S- |
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    9 s/ u1 F/ W: _: O, ^" \7 f7 t) n
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    6 n) y* v2 [4 I7 ?6 u
  1202. ;mysqlnd.net_cmd_buffer_size = 20485 i' j5 Q1 g' r7 q: j0 k8 u

  1203. ' O  \: j. y+ y; V) o
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in1 A# N+ D. R; x- |9 Z9 k0 I& a( H
  1205. ; bytes.
    6 W/ g5 n0 H: I, i0 _7 b. C- |; ~/ K
  1206. ; http://php.net/mysqlnd.net_read_buffer_size, w, x6 e9 _* {5 E! x
  1207. ;mysqlnd.net_read_buffer_size = 32768
    ! [9 J; z" I, M; ~( }

  1208. / c! {" ~, m' _5 L! ?
  1209. ; Timeout for network requests in seconds.
    + b( t4 [9 B! C% n* ^6 q
  1210. ; http://php.net/mysqlnd.net_read_timeout
    $ q0 x& t8 ^: s
  1211. ;mysqlnd.net_read_timeout = 31536000
    8 n% d# C7 c# u% K
  1212. & L3 l; X! p: }/ g) T) C
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
      M$ F2 x) k5 P- ]+ Q* v
  1214. ; key.
    : T8 Q8 d, K; w; c
  1215. ; http://php.net/mysqlnd.sha256_server_public_key. q) B. ~& q( D& D& q/ B+ ~( a3 X
  1216. ;mysqlnd.sha256_server_public_key =, I. i' S" c( J9 M8 |# b

  1217. . R) B6 f5 V3 ]" ^
  1218. [OCI8]
      o) y: v! d, ]& b  J) X& z# z
  1219. % x% R1 s8 N- \) C, T
  1220. ; Connection: Enables privileged connections using external, L  d; m" k9 U2 ]# P
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    ( h" f6 ^. X! b/ `, s  g! f
  1222. ; http://php.net/oci8.privileged-connect: K) E( c' j- Q  k
  1223. ;oci8.privileged_connect = Off0 Y7 ]- z7 `- _7 h
  1224. * D- L( r0 K% w# u: u
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    " j' @8 [, Q& p: w9 ~
  1226. ; process. Using -1 means no limit.
    4 U$ _* U. Q& d: x. `3 z( p' h
  1227. ; http://php.net/oci8.max-persistent$ ~& Q& j# C/ m, ]" f2 j
  1228. ;oci8.max_persistent = -1" n: g* [* h" g% P

  1229. ' }. d  A, I1 ^$ l
  1230. ; Connection: The maximum number of seconds a process is allowed to  x9 B5 K/ e6 w7 p; T) X$ @
  1231. ; maintain an idle persistent connection. Using -1 means idle
    4 ?7 N& L0 L3 {, b9 k  I
  1232. ; persistent connections will be maintained forever.9 V6 H  B3 S: }+ c
  1233. ; http://php.net/oci8.persistent-timeout2 g* d! M2 E8 ]8 V7 M& g) w" k
  1234. ;oci8.persistent_timeout = -12 U) W1 x8 B! ~

  1235. ) V' g* `! N. H# H! s2 B
  1236. ; Connection: The number of seconds that must pass before issuing a* u/ {# V5 `  [4 ]
  1237. ; ping during oci_pconnect() to check the connection validity. When3 A" E/ s( e8 ?$ ~( P. J2 \
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables6 {: T8 E* y/ N) D
  1239. ; pings completely.) G1 H7 M( C% r) V- K
  1240. ; http://php.net/oci8.ping-interval6 K% n4 f  V0 h- L8 F
  1241. ;oci8.ping_interval = 60
    - @! b9 V4 G/ N) d' H

  1242. * B1 D3 D2 {& \4 X! @' _
  1243. ; Connection: Set this to a user chosen connection class to be used5 C$ k4 C  Y5 p
  1244. ; for all pooled server requests with Oracle 11g Database Resident- T& \& T( `, X* a: i
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    + L# E3 T0 j! h$ s7 C4 A$ |
  1246. ; the same string for all web servers running the same application,. j2 @$ p  u( N5 l2 L# c
  1247. ; the database pool must be configured, and the connection string must4 x: T7 a( |# P- B; `
  1248. ; specify to use a pooled server.
    $ J; `0 z/ D6 z4 g
  1249. ;oci8.connection_class =
    6 ?/ S$ a& a, ~) b# E0 V
  1250. 9 `0 ]; @# U: A" P; f) F# c. w  y
  1251. ; High Availability: Using On lets PHP receive Fast Application
    9 g: B1 s* w& g
  1252. ; Notification (FAN) events generated when a database node fails. The
    % V4 ]3 G/ N9 E$ i
  1253. ; database must also be configured to post FAN events., @, \- K, c- y# |1 Y, C) a+ H
  1254. ;oci8.events = Off
    $ R* C2 ]! M" G& [# ?3 z8 d
  1255. 0 Z' ?5 m9 q/ c  P& c
  1256. ; Tuning: This option enables statement caching, and specifies how
    8 o" y2 H1 @5 Z, S0 B3 o; ~2 V
  1257. ; many statements to cache. Using 0 disables statement caching.
    5 I; e2 _+ ?7 K9 H- b$ U
  1258. ; http://php.net/oci8.statement-cache-size- V5 f1 }& J" c( q. _6 X/ Z/ }) {
  1259. ;oci8.statement_cache_size = 20
    2 s( \8 T; k5 A  s4 L% w' v. s
  1260. 2 v# v; w( \( a" X  j: V/ Y/ Q
  1261. ; Tuning: Enables statement prefetching and sets the default number of6 v6 A0 i9 K& l0 Y  b) }
  1262. ; rows that will be fetched automatically after statement execution.
    8 S9 q3 _) J" n% L- y4 A
  1263. ; http://php.net/oci8.default-prefetch
    2 x! T/ O8 K. ]$ w
  1264. ;oci8.default_prefetch = 100: ]5 O* n; |; [

  1265.   j! U0 W: U) _: J1 o
  1266. ; Compatibility. Using On means oci_close() will not close" R3 _6 o' @/ N; C; }: `
  1267. ; oci_connect() and oci_new_connect() connections.
    4 s3 w5 n: T! r- l/ w
  1268. ; http://php.net/oci8.old-oci-close-semantics7 Q8 E  Y( o6 Y4 K9 |8 K6 B
  1269. ;oci8.old_oci_close_semantics = Off
    . Z) `' H* F( f/ }
  1270. : T+ E6 [$ \- _# Q* a
  1271. [PostgreSQL]# K- e7 d6 o6 U! L6 S
  1272. ; Allow or prevent persistent links.
    ; y# W; z7 x9 ?# ?8 z) w1 Q$ O2 m
  1273. ; http://php.net/pgsql.allow-persistent9 G' h- n6 s6 O; Z
  1274. pgsql.allow_persistent = On- X* w0 N* Y- \5 Z4 A& h

  1275. , E( M2 o, Q. [1 k! J
  1276. ; Detect broken persistent links always with pg_pconnect().
    3 ~# }# h+ ^" T7 \8 X
  1277. ; Auto reset feature requires a little overheads.  u' e* J* }; r% s- D& _  p
  1278. ; http://php.net/pgsql.auto-reset-persistent
    9 d0 L7 [# v. N* v2 g9 Y( }0 l
  1279. pgsql.auto_reset_persistent = Off
    3 z0 U3 f# k& q. y) H2 o

  1280. # V* }: s7 ?+ g* T& v' \
  1281. ; Maximum number of persistent links.  -1 means no limit.
    ! `8 n" s% r+ }
  1282. ; http://php.net/pgsql.max-persistent
    & T" L3 i4 d; T% F/ @4 @1 Q3 P
  1283. pgsql.max_persistent = -1
    2 S( W6 g5 ?& `* M7 f
  1284. $ j# j' H8 S6 M1 |$ ~1 i  K% k+ o3 _
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.- \3 T, o* Y' q8 J. e
  1286. ; http://php.net/pgsql.max-links# C  ^8 F# _9 U, h( f
  1287. pgsql.max_links = -1
    + {; G2 w: T( X8 W  c- k6 ~* L3 i& o
  1288. 8 E+ v( _) A. u+ t; N2 c9 T
  1289. ; Ignore PostgreSQL backends Notice message or not.( f& h, Q& a& O! T8 Z# [" k
  1290. ; Notice message logging require a little overheads.
    3 m; _/ z9 B( N( {
  1291. ; http://php.net/pgsql.ignore-notice8 }2 p9 l' ?, x" p6 [1 I* }  n9 D
  1292. pgsql.ignore_notice = 0
    - {+ l9 j2 O1 i. K6 Y- E
  1293. # E8 K7 Z. O' n" k+ w
  1294. ; Log PostgreSQL backends Notice message or not., {5 Z: @  e4 E+ n* ]2 x
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    " e( D1 Y( q# s+ Q/ N0 y
  1296. ; http://php.net/pgsql.log-notice% |; [7 k/ ^+ W+ _8 J
  1297. pgsql.log_notice = 01 t! w: w; u* N9 @- ?& E% O+ `

  1298. 3 x& t/ y1 g; c+ B  }* P& W4 p
  1299. [bcmath]9 G. |' G% X0 |& q; o: d2 I+ I8 g
  1300. ; Number of decimal digits for all bcmath functions.
    ! [8 ]# l6 ^# v8 y2 B
  1301. ; http://php.net/bcmath.scale! i5 d, Q3 d+ E% A( S" |
  1302. bcmath.scale = 08 ^3 e$ Q( W: N/ ]: g. U2 J" {+ `8 k

  1303. ) x( i5 K8 {$ P1 G0 |: A* K! W
  1304. [browscap]- B" R: Z3 {8 k1 J
  1305. ; http://php.net/browscap9 G, l% H2 Z5 W. U5 }' @. \. |6 r7 p
  1306. ;browscap = extra/browscap.ini' Z* ^- t: d, l' j

  1307. 6 a) G. f# B0 q3 ~& |1 U
  1308. [Session]0 f; `: y  k0 h0 S  n6 ~
  1309. ; Handler used to store/retrieve data.9 Y6 Y  I, ~. v$ ]: u
  1310. ; http://php.net/session.save-handler& w& E. O3 x- X5 x& r+ j! N
  1311. session.save_handler = files
    / L* M( [" B, J6 t, M$ t
  1312.   ~& Z0 C1 S7 S$ \
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    % q5 |4 T; G! m$ ?
  1314. ; where data files are stored. Note: Windows users have to change this6 a/ j) d3 d# X2 F/ Z
  1315. ; variable in order to use PHP's session functions.
    2 b6 S2 k  x/ m4 b
  1316. ;
    1 F% R; L# j4 E7 j+ f2 u$ H: x
  1317. ; The path can be defined as:$ K) c0 h$ L5 s0 s, d
  1318. ;
    / ^: b4 V+ d8 U: E; C+ `8 [. G
  1319. ;     session.save_path = "N;/path"
    8 u4 q/ E  g, z' ?* B* x' R4 E) Q
  1320. ;
    ' r2 I9 [$ j' ?6 q, Q5 q* Z3 C
  1321. ; where N is an integer.  Instead of storing all the session files in
    " a4 u# v( x7 X7 d% G
  1322. ; /path, what this will do is use subdirectories N-levels deep, and4 I/ F3 C1 S: T; z2 s& ^0 F  E# \' _
  1323. ; store the session data in those directories.  This is useful if6 e  n) O# I  [$ x7 A, W
  1324. ; your OS has problems with many files in one directory, and is
    # `( A$ f3 p# ?
  1325. ; a more efficient layout for servers that handle many sessions.
    * u6 Z+ z. l$ |4 W
  1326. ;' z# G" M' X  o: w: ~
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    ; h9 ^" y- o- [. @1 W
  1328. ;         You can use the script in the ext/session dir for that purpose.
    9 {% z& o1 I9 M6 R- k% F
  1329. ; NOTE 2: See the section on garbage collection below if you choose to' x1 I2 U5 T8 {
  1330. ;         use subdirectories for session storage
    2 k; x: K- m, X  [4 Y7 H6 a! G
  1331. ;
    3 k7 Y; G5 Y# H7 S) i: z$ `
  1332. ; The file storage module creates files using mode 600 by default.# F5 J- u/ `; O" c8 x8 e7 I, X
  1333. ; You can change that by using  f- W4 _- U' q/ s9 @; |* [
  1334. ;
    " o% h# k5 i  V0 i8 @( @. ^& c3 _
  1335. ;     session.save_path = "N;MODE;/path"
    0 G* }0 D* P3 c+ j, h
  1336. ;
    $ p9 k3 ?$ J, g# r1 }
  1337. ; where MODE is the octal representation of the mode. Note that this7 Y( R! p& [3 ]: N0 r
  1338. ; does not overwrite the process's umask.+ _: v, }; C. L; a! @- S8 j
  1339. ; http://php.net/session.save-path& Z9 f' Q% P, b6 g( A
  1340. ;session.save_path = "/tmp", m  o& J/ z1 r$ ]+ a% d
  1341. : Y% H- y) c5 E5 y8 E
  1342. ; Whether to use strict session mode.
    / f" G- E. B  p; O9 F% F
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    " G$ o' M- x& U) e& ^* l6 b
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects. @  ^+ K7 G3 d& R) L1 }% l. A- n
  1345. ; applications from session fixation via session adoption vulnerability. It is6 C" F9 F  h+ e3 i3 h5 o5 @% P
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.( d( f% i8 L9 f3 H0 G- s
  1347. ; https://wiki.php.net/rfc/strict_sessions1 Q$ R: C; m2 J3 ]; D
  1348. session.use_strict_mode = 09 @  v9 Y2 d8 _( O5 F
  1349. 4 F' w0 }$ M; u: s& o& }3 \: H6 h& O
  1350. ; Whether to use cookies.
    & s# c  A' @& c, e& w
  1351. ; http://php.net/session.use-cookies/ U/ J0 G$ J7 }( {
  1352. session.use_cookies = 1" O7 Z3 h9 a; X5 d/ W
  1353. . O" g6 `! ^  `: E/ I6 j8 D5 v
  1354. ; http://php.net/session.cookie-secure
    / |5 R. u9 f$ s# J6 o
  1355. ;session.cookie_secure =5 `) d) ?! o, _& H. b

  1356. + K+ _4 D" `# b# Z$ N, H: [$ |8 A+ H4 P
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    2 q2 b1 k! _9 w" Z: K% i
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    , n* f) r, y% y  s6 {5 ]
  1359. ; session hijacking when not specifying and managing your own session id. It is0 z0 j' L! p! p4 [* m) m* X" _
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    / b6 s, y# A0 Z, f6 c8 B
  1361. ; http://php.net/session.use-only-cookies& o0 A6 o# J' B4 \; p- o$ t: y
  1362. session.use_only_cookies = 1% k' ^* N( v( m% |8 B' Q
  1363. 2 D$ L8 y2 O2 t9 h7 q3 S" [2 f
  1364. ; Name of the session (used as cookie name).5 i# d1 w0 z( `4 V4 v. ^
  1365. ; http://php.net/session.name
    - w! I( E/ M; l; v) N+ c4 ^+ @: `
  1366. session.name = PHPSESSID8 F% \/ [& W* f! H

  1367. % Z) V/ r. n; _8 ~% a! @: E0 _; A$ e
  1368. ; Initialize session on request startup.8 G# E! g' ]- M0 x
  1369. ; http://php.net/session.auto-start* S' u5 C$ ^* a8 u! g; |
  1370. session.auto_start = 0
    7 a+ L( X' i$ N, i

  1371. * c3 U% [( T9 P7 P+ L' b$ u  f
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted./ {  v1 {) d  c2 F$ O* _" c& c
  1373. ; http://php.net/session.cookie-lifetime
    5 a( L+ u, F& u
  1374. session.cookie_lifetime = 0; O) N0 ?# ^" h# k
  1375. 7 _. d* i2 J* i
  1376. ; The path for which the cookie is valid./ G9 W7 A# e: P! }  R9 q
  1377. ; http://php.net/session.cookie-path& H0 N, C' W4 M) O, w
  1378. session.cookie_path = /
    ' y: p1 R1 t4 k% t% y8 s
  1379. " u. _/ o( \  W0 `
  1380. ; The domain for which the cookie is valid.+ g, x: q, [. t
  1381. ; http://php.net/session.cookie-domain9 S- s2 y) ^4 t6 i3 x* \
  1382. session.cookie_domain =
    & h% x; A% t* h9 R3 r

  1383. 9 [! [  |2 R: P) W4 z& ?
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.# a0 f$ [3 ]! Z) ~8 i* j* _. o
  1385. ; http://php.net/session.cookie-httponly
    ' }7 Q( I- s  W: ^  |! p3 \: x
  1386. session.cookie_httponly =  _- T2 E) L, D- t6 `" w; X- X# C( x

  1387. 3 R) O1 i5 F2 Q" k- W
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    7 u! \- }+ c4 _' c; T
  1389. ; http://php.net/session.serialize-handler, f* `8 l. I2 a
  1390. session.serialize_handler = php
    8 p" ^6 L# d) K( N

  1391. / l6 j. \4 n0 m* ^* J7 L
  1392. ; Defines the probability that the 'garbage collection' process is started
    7 G& x# i$ v$ M& _
  1393. ; on every session initialization. The probability is calculated by using
    0 U/ T& K0 w1 Z
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    5 A" D5 Y- F" u) L/ T- e8 h
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1+ L/ I8 c9 K/ @1 g/ A6 e% n
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance6 b1 a; ]" B7 ]
  1397. ; the gc will run on any give request.% w, h7 G4 S# N7 P  E
  1398. ; Default Value: 1
    ; f( h, L9 [% t1 j/ q6 {
  1399. ; Development Value: 1. T8 Y9 T" R$ w$ D1 ]2 I: l7 G
  1400. ; Production Value: 19 V. j( z# x6 R6 T; ]. R# }
  1401. ; http://php.net/session.gc-probability- A: |" {1 ]  D* f. T  r( {- e
  1402. session.gc_probability = 1+ a) x5 c7 y4 i3 }8 ?' U

  1403. % s0 C+ J, D# N
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    ) N5 l$ R, Y  F! D  h) h! T
  1405. ; session initialization. The probability is calculated by using the following equation:) r; J( U7 y  u0 G5 H% O; D* O& k* @
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    % H+ S- Q3 O1 F
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    $ I6 \3 d! N0 |3 w6 n2 O
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    & c% `9 S' L1 A( @  h: b8 S
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    , j0 d& w/ l5 J" V
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,6 j+ `0 j* @4 y- \" d. u1 S" I! b
  1411. ; this is a more efficient approach.
    3 w7 g* U/ b: `2 }( k) F/ i6 o
  1412. ; Default Value: 100) d* T3 ?& \* H
  1413. ; Development Value: 1000
    # d5 @: ]+ w$ g: |# ~/ d8 e
  1414. ; Production Value: 1000
    - P9 t  D7 Q# H1 J, G- ~2 F
  1415. ; http://php.net/session.gc-divisor
    . g: {6 E5 x7 }3 |& E( a5 ~; b# p, ?; C
  1416. session.gc_divisor = 1000
    , ]2 ~& y! g- ~0 t9 C

  1417. 7 X# t) p  M* ^. [2 C0 G
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    0 J( a6 w5 ]: [4 Q1 p
  1419. ; cleaned up by the garbage collection process.& {7 o9 X8 g5 H7 B0 [1 G4 n
  1420. ; http://php.net/session.gc-maxlifetime$ F" I" a& g  `" e: k' X
  1421. session.gc_maxlifetime = 1440
    ! a% K! O2 n5 f3 d0 z! t

  1422. ! P# g! d4 K$ h0 o& o- {
  1423. ; NOTE: If you are using the subdirectory option for storing session files3 S- ]. `% J' g% P. K8 v" ?4 x
  1424. ;       (see session.save_path above), then garbage collection does *not*
    9 M$ J8 _5 B$ u( e- j
  1425. ;       happen automatically.  You will need to do your own garbage. N* [( `, V* u+ ?( l' E
  1426. ;       collection through a shell script, cron entry, or some other method.
    , U, S! h( S3 e5 ~1 q
  1427. ;       For example, the following script would is the equivalent of2 E1 r' e4 ~" j' Y, b/ o9 o
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):; M' x1 T# J2 W0 c" A( X
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    " G" W. U3 k* u1 i" k4 u
  1430. 8 r7 C+ r- E2 |  v. E
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    - {6 s+ z# B% z% \  ?$ _
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    - q! m; U# H! R; z/ E8 v
  1433. ; considered as valid.
    . b4 X4 u' |1 {' e. R
  1434. ; http://php.net/session.referer-check8 D7 w0 |. ~) ]5 n% |- M% m
  1435. session.referer_check =) q6 f2 V! Z9 o) O1 W. G/ y
  1436. 6 S! r1 Q4 V+ e: W( h. s, k7 {- `
  1437. ; How many bytes to read from the file.5 G; C, j+ I& I6 K. v+ \7 S
  1438. ; http://php.net/session.entropy-length
    5 G& [  b; o1 ~( N" ^+ F
  1439. ;session.entropy_length = 32
    ; U) V0 l* q1 ~

  1440. " D# v& N3 l5 f/ {0 m
  1441. ; Specified here to create the session id.' r3 [+ {5 g: @9 P
  1442. ; http://php.net/session.entropy-file
    + U) v& N( d. Y: B( A: J
  1443. ; Defaults to /dev/urandom
    0 G1 V, v& c& H( H: i  O4 c5 }0 G/ `( ^
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom3 B8 p! y- Z7 v) W4 M6 U
  1445. ; If neither are found at compile time, the default is no entropy file.5 a- B5 _9 T( q! ]% O: z' l
  1446. ; On windows, setting the entropy_length setting will activate the9 Z2 Q& s. [* Y3 ^$ _7 K
  1447. ; Windows random source (using the CryptoAPI)! f! e7 N. ~! Z5 H& E/ b
  1448. ;session.entropy_file = /dev/urandom
    + d0 Q# v4 H3 p, b4 @. Q; y

  1449. - }+ H' {3 l) Z/ \; c' Z
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects" [9 N5 H' H. i" ~: c
  1451. ; or leave this empty to avoid sending anti-caching headers.! d* ]. S3 R( A0 x+ C
  1452. ; http://php.net/session.cache-limiter3 h5 j9 R* l7 P% u. C+ [& G
  1453. session.cache_limiter = nocache
    2 b! M5 }6 l9 h
  1454. " g/ [9 t( {4 B+ E6 Q
  1455. ; Document expires after n minutes.2 j* {2 C9 h; M% U! R
  1456. ; http://php.net/session.cache-expire, Q% ^5 _' t/ v! P* b% ?& S
  1457. session.cache_expire = 180$ t' v8 [" F( S& D. b* q  O
  1458. ) ~9 q/ r: v& B2 V
  1459. ; trans sid support is disabled by default.
      r) S" z, o1 t6 M8 |
  1460. ; Use of trans sid may risk your users' security.
    7 a/ j5 T, \0 X' K2 d
  1461. ; Use this option with caution.
    # H: U+ S: T. u" b; |4 v
  1462. ; - User may send URL contains active session ID
    % _% l. L. p- }( f  q: X
  1463. ;   to other person via. email/irc/etc.
    3 c' T: ]+ v" H8 o. z9 y! ^  v
  1464. ; - URL that contains active session ID may be stored
    : S$ T/ e" g$ l
  1465. ;   in publicly accessible computer.
    4 R: b4 O" o8 j
  1466. ; - User may access your site with the same session ID
    $ T% e8 h: |. D) D) T, J
  1467. ;   always using URL stored in browser's history or bookmarks.
    & q7 A" @6 R. Q5 x6 Y+ e
  1468. ; http://php.net/session.use-trans-sid
    ( R& K& g6 s: P' q# {
  1469. session.use_trans_sid = 0
    " n0 J" g! p5 i$ ~% h! p( B" O. L

  1470. " N5 [$ i) A; L9 ~1 @3 `) M0 R
  1471. ; Select a hash function for use in generating session ids.
    ) W3 m3 ^4 B0 Q; B
  1472. ; Possible Values
      H% M/ m5 c5 ^* [/ q
  1473. ;   0  (MD5 128 bits)( q5 e2 m# H. J/ d6 T: p$ b
  1474. ;   1  (SHA-1 160 bits)
    ) X* ?+ U0 A8 v8 m& X% r  p1 c
  1475. ; This option may also be set to the name of any hash function supported by* H& d' ?. e- T# H* u- Z5 A
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    . U) f; i* G: Q4 \) l
  1477. ; function.7 K) i" K& {; @+ ~6 _" Q
  1478. ; http://php.net/session.hash-function5 W- a7 n$ k! l) V
  1479. session.hash_function = 0
    9 _# ?; t6 M# G1 p
  1480. 5 W; _$ C, N. W! S* L
  1481. ; Define how many bits are stored in each character when converting
    6 |  m* n1 P+ Y5 Z
  1482. ; the binary hash data to something readable.
    4 G5 V5 i  O4 o
  1483. ; Possible values:$ p/ [* e% H8 F+ Q5 G7 j
  1484. ;   4  (4 bits: 0-9, a-f)
    2 f  \/ }8 k4 k# Y) g/ W- J  V' y
  1485. ;   5  (5 bits: 0-9, a-v)
    $ H$ v* Z3 d% @) ^
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    * ~9 b$ Q2 r& |! n+ Z- n6 V% G
  1487. ; Default Value: 4
    / ^; \" r- {6 W) d
  1488. ; Development Value: 5
    / i7 Q- n: S+ y0 N" G( J1 c
  1489. ; Production Value: 58 v4 N7 J6 A. t* Z& M+ v0 p
  1490. ; http://php.net/session.hash-bits-per-character7 N7 q* R7 X' ^, a
  1491. session.hash_bits_per_character = 5! f  u; |. d% b+ }" N* \

  1492. ( v1 Z- A2 }+ n5 D  H8 ~. C
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.8 H  G2 i: E/ w" S
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    ; V9 p: d. O5 M7 ~
  1495. ; add a hidden <input> field with the info which is otherwise appended
    - I3 J1 a! s  H. o: d: @5 R2 p8 U7 B
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    ' Q+ M/ \$ [1 r1 m: \
  1497. ; Note that all valid entries require a "=", even if no value follows., m3 T* q9 B: H2 ?) H
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="% n; _  L6 o1 Q, k4 A/ P$ z
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"" r: K% E5 O" x
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry", I3 H! |8 a" I; V" F* h
  1501. ; http://php.net/url-rewriter.tags$ Y9 M" P1 ?9 f# R
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    * q- E: C% P) J4 v

  1503. 2 F! G! E' O# [- f4 H  R/ ~7 H
  1504. ; Enable upload progress tracking in $_SESSION6 q' l, J" j3 h' M
  1505. ; Default Value: On
    6 o% o/ M9 s' v4 m" |  ?
  1506. ; Development Value: On. o; I: G1 p, j; Z/ E, E
  1507. ; Production Value: On& D7 d  s1 _9 L1 a. ]0 s
  1508. ; http://php.net/session.upload-progress.enabled# W% V# y2 X4 l5 I6 W) |
  1509. ;session.upload_progress.enabled = On8 ]2 C8 X5 X. H3 q  [

  1510. & T/ z# S5 {2 Z+ b
  1511. ; Cleanup the progress information as soon as all POST data has been read
    ) M7 ]$ Z( ^" r9 @, m
  1512. ; (i.e. upload completed).- k- }; K; a( W3 ?
  1513. ; Default Value: On  ~) H& x0 T' y
  1514. ; Development Value: On
    . F; N' R$ s8 h3 a: }/ J, N
  1515. ; Production Value: On- V) [4 T3 }) K% Y1 ]& T1 B! B
  1516. ; http://php.net/session.upload-progress.cleanup
    7 F! B& t5 o5 Y- E! X. J
  1517. ;session.upload_progress.cleanup = On/ B3 D) I  J5 B1 ^
  1518. 8 ^* A3 W7 p# R+ q3 C7 l- S
  1519. ; A prefix used for the upload progress key in $_SESSION7 l! i  u7 e. P: c& |$ Q- C
  1520. ; Default Value: "upload_progress_"! k. e$ |7 Z, u' J9 Q' V1 d9 _; K4 B4 I
  1521. ; Development Value: "upload_progress_") n9 P/ Z% i' E) Z3 Y
  1522. ; Production Value: "upload_progress_"
    5 m/ Q9 A8 l9 j8 @3 z, p% ~! G: Q8 I3 N. z
  1523. ; http://php.net/session.upload-progress.prefix
    0 y1 E  Q: c/ x% n7 l
  1524. ;session.upload_progress.prefix = "upload_progress_"
    2 k5 A: n8 C* t% n* [' p" ]* s1 ?

  1525. ( g! k" Z, U% m9 `& l% s
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    " o/ H: y# Z/ [+ T' \
  1527. ; containing the upload progress information. B+ C' [& i0 G/ V. j( j1 `
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"7 T; d0 K% Q! f3 i0 J' l
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"# b+ F! Y& C" ~
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"3 G6 @1 P( g& o
  1531. ; http://php.net/session.upload-progress.name
    + Q8 b- B) M/ i0 C0 y3 @6 W1 h
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS": q3 A$ z( m4 O) f' @" R3 z$ [
  1533. 3 {" d& e8 O3 F! S
  1534. ; How frequently the upload progress should be updated.
    , n) t' g+ w7 q% z# g$ q
  1535. ; Given either in percentages (per-file), or in bytes2 j- ~7 d9 D! C3 ~& A" k7 X
  1536. ; Default Value: "1%"
    3 E1 V* c! t! T$ C
  1537. ; Development Value: "1%"$ _! f( D. y$ z
  1538. ; Production Value: "1%"# I; |$ t* K& }8 a
  1539. ; http://php.net/session.upload-progress.freq
    $ N5 A! ?2 a. A" {$ g) ?
  1540. ;session.upload_progress.freq =  "1%": g9 |. l% Z( x( a: `: z
  1541. 3 d& P" m: q/ W
  1542. ; The minimum delay between updates, in seconds
    - Y, v5 ^8 |" ~! F+ Y; r% t
  1543. ; Default Value: 1% ^4 Q4 O" u% O0 u1 V# u
  1544. ; Development Value: 1+ z2 I4 P  w2 C. ^8 G
  1545. ; Production Value: 1" ]: M9 p- {. P  a7 Y# d
  1546. ; http://php.net/session.upload-progress.min-freq
    8 @( z( S% t, q. r8 M* H2 r% b
  1547. ;session.upload_progress.min_freq = "1"
    ) N2 [. v9 o) N4 T+ U4 F

  1548. 7 I; e/ k5 S8 S! k- p
  1549. ; Only write session data when session data is changed. Enabled by default.
    7 }5 K: ~; r, A0 Y/ Q( e1 T
  1550. ; http://php.net/session.lazy-write# n) G# }3 [" T0 f' n5 {& n
  1551. ;session.lazy_write = On
    1 W! v$ D4 s. A; r) \. N, F
  1552. , t$ I% E8 z* B! }
  1553. [Assertion]( _; {* [& f# r' L. M" r
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)2 D5 C( s- c4 f/ d) X' _
  1555. ; -1: Do not compile at all/ |: k* Y% Z+ r! L% f, `
  1556. ;  0: Jump over assertion at run-time
    ' W' c( R7 Q: }, D
  1557. ;  1: Execute assertions* [5 w# h. b. ?+ P4 Y( f
  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)3 h9 O4 n6 ?# H4 t
  1559. ; Default Value: 1
    . [. y, w3 a2 g3 U6 c
  1560. ; Development Value: 1
    0 u* Z" G  ]6 ]' f9 @
  1561. ; Production Value: -1
    0 N6 C$ W: Z+ H5 g+ q
  1562. ; http://php.net/zend.assertions  n5 e0 c& @. v9 C7 T
  1563. zend.assertions = -12 T1 V9 h1 [2 J) T# ]; `
  1564. ' a$ i+ {( T3 S
  1565. ; Assert(expr); active by default.* r+ U0 ]6 W, {# [7 m
  1566. ; http://php.net/assert.active0 w9 x- ^# C- p& g
  1567. ;assert.active = On
    ) q; j) ]. J5 U# o$ Q
  1568. 2 t$ ^6 k% V/ T
  1569. ; Throw an AssertationException on failed assertions
    ( R5 F- }9 q9 O0 {. K4 i
  1570. ; http://php.net/assert.exception
    . y1 A4 o9 E7 e8 @7 i1 E3 i3 ]
  1571. ;assert.exception = On: `: W4 c- b: ~+ O" O

  1572. ( i/ \1 @' Z2 X/ Z# ~" a  I) N
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    & C# ?  k) G, L
  1574. ; http://php.net/assert.warning9 a' X# Q% S; q( A' F! j- ?4 ~/ H
  1575. ;assert.warning = On
    1 v; l# n' I  ^. |
  1576. 2 S9 G: [& i* A! m  x& o
  1577. ; Don't bail out by default.
    * n: h6 Y5 m* h( y% l2 g3 I! Z
  1578. ; http://php.net/assert.bail0 H/ C$ q$ [7 ^1 I
  1579. ;assert.bail = Off
    ! z. X( p* c2 z$ P/ Q  p. U

  1580. ! W7 k! Z  a$ w4 ?
  1581. ; User-function to be called if an assertion fails.& `$ J0 V, R1 z; f: U% E  D
  1582. ; http://php.net/assert.callback
    $ e; R8 t6 H. G& Z7 t8 e$ _
  1583. ;assert.callback = 0
    " v$ n- D1 Q: A$ g: L: l; O

  1584. , I/ d+ r% v4 n6 E) h9 {6 Z' |
  1585. ; Eval the expression with current error_reporting().  Set to true if you want6 a7 Z& S) _- J1 W
  1586. ; error_reporting(0) around the eval().
    3 ]5 [  T6 ^6 o- J2 t* l
  1587. ; http://php.net/assert.quiet-eval& T8 Y  R$ {+ e! s% Y% ^' o5 ]3 B
  1588. ;assert.quiet_eval = 0
    5 \0 ~5 J$ M  B  q9 t( L1 i' t

  1589. " u  U% _7 q7 \" E  Z
  1590. [COM]
    . n. y0 h% Y' z% a+ n& c
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs' m/ n0 f3 M- a& S+ E. X& R9 i
  1592. ; http://php.net/com.typelib-file
    ' ]) N8 A. i, E7 u
  1593. ;com.typelib_file =, A9 p7 D$ X; m# \# x

  1594. 6 s8 {4 L& i! U8 y
  1595. ; allow Distributed-COM calls
    ! ]& [) x1 p/ j0 y5 P" i! c: M) W, j
  1596. ; http://php.net/com.allow-dcom. `, G  K- {" u. D! {; w& r
  1597. ;com.allow_dcom = true- q: }; p+ E% B

  1598. 3 u$ Z6 w' A" Z5 W, y
  1599. ; autoregister constants of a components typlib on com_load(); }3 N0 C8 \  n1 a) X$ H
  1600. ; http://php.net/com.autoregister-typelib
    9 p$ E/ }4 r0 B5 J+ Z1 Q6 L, U
  1601. ;com.autoregister_typelib = true  n& _  v+ e/ T

  1602. - @3 n' C# K1 E
  1603. ; register constants casesensitive6 N4 I' `; k% F) m' E3 z
  1604. ; http://php.net/com.autoregister-casesensitive9 @# K& U2 T, v7 m- g
  1605. ;com.autoregister_casesensitive = false) t# v4 O7 s- n" N6 Q3 u5 s% C* i

  1606. 4 I  i# T5 b' ~/ |
  1607. ; show warnings on duplicate constant registrations3 R1 f4 U+ |4 ^' _8 X
  1608. ; http://php.net/com.autoregister-verbose0 B& }; g* T+ _; V- O1 C# p* P6 N
  1609. ;com.autoregister_verbose = true
    4 k- O' K* r5 n

  1610. ) p3 x- t5 q  Q0 A& S9 z$ w+ O, ]
  1611. ; The default character set code-page to use when passing strings to and from COM objects.$ L" _$ T  q0 l9 V9 m3 Z2 j( U
  1612. ; Default: system ANSI code page
    2 m$ Y4 j9 M* `  c( J" L9 i- W- C
  1613. ;com.code_page=% O9 S; h! o% m6 e* T5 r+ Z2 Q: B
  1614. " ]$ V- z0 H9 ?/ l
  1615. [mbstring]
    0 l7 I+ ?+ \3 O0 U, n
  1616. ; language for internal character representation.
      |5 p; h) n+ C; e2 }* [/ Z: ]4 t4 @
  1617. ; This affects mb_send_mail() and mbstring.detect_order./ g- A0 k; M6 Q( w" ]! {
  1618. ; http://php.net/mbstring.language
    . w6 E  G& X) U  z/ N
  1619. ;mbstring.language = Japanese
    - S2 N3 D& I( O  R0 b
  1620. 9 @6 }! }( M( ~/ p9 I( L" h$ b
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    8 v, x3 l: [& B0 d8 ^4 P; _3 ]
  1622. ; internal/script encoding.
    , c+ A5 [6 ^8 j/ s% q
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)2 H# {. m: H# T" Q
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.8 }+ S6 L, R3 A1 q
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    ! R) Y# b5 t2 n/ j- j4 u
  1626. ;mbstring.internal_encoding =3 @+ C  x  U9 l2 a3 B2 M
  1627. ) U  I! Q) t; O% R; \
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    + v: `) ]2 n2 z6 m0 R8 J
  1629. ; http input encoding.2 \# w6 s1 F! n/ {* V$ e
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.5 G3 P4 L  t9 \
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.* r9 M$ F- |3 l5 \3 }
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input$ h' I4 R$ Y/ ^
  1633. ; http://php.net/mbstring.http-input
    , k' v: z8 [# ^0 C) i7 M4 Z
  1634. ;mbstring.http_input =! z, A; }- _! y

  1635. / b3 F# f  [" z2 l
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    9 p. U! y/ l' A4 |* G5 e) H
  1637. ; http output encoding.. ]; y0 }7 j' r8 Z3 ]! \2 p
  1638. ; mb_output_handler must be registered as output buffer to function.: i# B6 P7 z; y& }+ q3 o
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    ; B# w4 N+ ]- Y2 }5 b9 G
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output" r- Y5 {0 {) ]7 x  O
  1641. ; To use an output encoding conversion, mbstring's output handler must be set8 z/ u, @, W+ P+ D: S3 \7 s( ~
  1642. ; otherwise output encoding conversion cannot be performed.
    ! S6 j# G8 }6 b. T+ q! b2 ^
  1643. ; http://php.net/mbstring.http-output' z6 a% l: ?1 o& p  n. q1 [
  1644. ;mbstring.http_output =# M6 J2 ]$ l5 q: Q- t& c. g
  1645. % X+ u+ b) S1 y5 n5 X0 V3 }
  1646. ; enable automatic encoding translation according to$ U; z, P, }7 Y" Z: k# |- |8 B
  1647. ; mbstring.internal_encoding setting. Input chars are
    3 s9 H. P; k# A0 v
  1648. ; converted to internal encoding by setting this to On.& e! v: Y  ~* _5 }' ?
  1649. ; Note: Do _not_ use automatic encoding translation for
    6 v; q% b/ J/ u* F# c
  1650. ;       portable libs/applications.
    : k8 R! R1 O  T7 q. [, O# W* d
  1651. ; http://php.net/mbstring.encoding-translation
    / V) ^1 C9 {! j; {( p2 S) M
  1652. ;mbstring.encoding_translation = Off
    . H6 P. j% p4 E1 B
  1653. $ p& {7 ]: G% G
  1654. ; automatic encoding detection order.
      N" n; y. e4 I( G2 g0 v: H' k
  1655. ; "auto" detect order is changed according to mbstring.language9 i4 K; H0 Z. a4 U5 x' m" {. }0 j
  1656. ; http://php.net/mbstring.detect-order- }( D( x2 A' J5 S; e: [$ ^
  1657. ;mbstring.detect_order = auto1 u( V; t$ a* S8 @) e/ o0 Y/ M
  1658. 8 t+ T& S# h' _" E
  1659. ; substitute_character used when character cannot be converted+ T/ D" t( g0 E# g
  1660. ; one from another1 k0 M% `5 N' l0 j$ ^
  1661. ; http://php.net/mbstring.substitute-character
      [3 J. o" d" M
  1662. ;mbstring.substitute_character = none. `4 S6 g% L4 ?
  1663. # ~" D1 A2 {. B3 |; V' b7 d& @
  1664. ; overload(replace) single byte functions by mbstring functions.  t5 I5 O- p& y& Z$ x% \( i1 x' b
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),! f7 u! _% G* b) [9 ~7 d
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.# Q* Z3 _$ m) N
  1667. ; For example, 7 for overload everything.
    ; ~8 I3 c+ {4 T2 ^' r
  1668. ; 0: No overload3 E6 p( Z' B! `* \& o7 }
  1669. ; 1: Overload mail() function9 i% H9 {$ A; X+ I7 x+ `! G
  1670. ; 2: Overload str*() functions
    ( f' h& G2 @; j8 G- N
  1671. ; 4: Overload ereg*() functions
    & Q3 i( U& a5 k# R: Z1 Y- O" C, i' n
  1672. ; http://php.net/mbstring.func-overload. `$ V; H9 ~7 `
  1673. ;mbstring.func_overload = 00 l7 P6 b9 m6 W3 D) z! k
  1674. , Y$ t" V& t& r8 w: U& U: Z+ e# y
  1675. ; enable strict encoding detection.+ P9 o- W; {) r3 p. f
  1676. ; Default: Off
    ' M6 ]' r2 Y1 t$ O
  1677. ;mbstring.strict_detection = On2 b  Y; _* r+ m1 e5 d

  1678. , ?/ Z' [. e( U5 |" f- C
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler(), j# l1 C9 v" F) ^0 s
  1680. ; is activated.
    + S" \( S* S  _$ B
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)) c- O" W: Q& |, P8 v, ~
  1682. ;mbstring.http_output_conv_mimetype=
    9 q: }$ \6 f3 ?: `. J! M

  1683. " Y! o* t3 e, c
  1684. [gd]
    * r  J, X9 s" o9 m: \
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    - p) n9 ^$ p& @& K1 \5 h" [- l
  1686. ; a gd image. The warning will then be displayed as notices) k7 W4 g2 E6 H! {6 t
  1687. ; disabled by default! ]* ]0 `, m2 I4 j
  1688. ; http://php.net/gd.jpeg-ignore-warning" E. F' I2 r% Z- k6 s( a% F! T
  1689. ;gd.jpeg_ignore_warning = 01 M/ y& t- `: J8 Y7 q
  1690. , S& X# L& S7 i. B5 d9 S4 n, |0 Q
  1691. [exif]" ?3 U5 [; A1 x5 J  ]/ S
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.% c/ j: F7 ~0 A9 u: q0 P
  1693. ; With mbstring support this will automatically be converted into the encoding: i7 ?4 o2 T  M* i
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding; s8 Y" K* `* h; H  f
  1695. ; is used. For the decode settings you can distinguish between motorola and
    / {( P$ V3 E+ T3 k
  1696. ; intel byte order. A decode setting cannot be empty." q  Y4 B7 i/ Q& H2 L) N& ]9 d& m
  1697. ; http://php.net/exif.encode-unicode
    # S3 {, c0 w. B3 L/ M
  1698. ;exif.encode_unicode = ISO-8859-15
    7 b7 D+ h* \7 c+ n

  1699. + ]. c0 j8 o7 z  J, O& t2 ?4 l) ?
  1700. ; http://php.net/exif.decode-unicode-motorola
    ; y- l, c* @0 g5 E& i# k* q
  1701. ;exif.decode_unicode_motorola = UCS-2BE6 X3 v* T$ r4 z

  1702. 7 G- q$ p; O" y' q
  1703. ; http://php.net/exif.decode-unicode-intel* C) ^, T' ]3 ~
  1704. ;exif.decode_unicode_intel    = UCS-2LE0 E( K. U+ m, r3 k/ K

  1705. 1 v/ L, Q( w+ A) k
  1706. ; http://php.net/exif.encode-jis/ j" O$ G& ~: j; R+ ?4 K
  1707. ;exif.encode_jis =
    * n) L' _1 _$ q  G: q+ {8 z9 p
  1708. 4 z( C* a3 F/ d+ V
  1709. ; http://php.net/exif.decode-jis-motorola/ [) f2 v8 H7 a" U" Q
  1710. ;exif.decode_jis_motorola = JIS: J$ u+ `- k1 k4 p8 G0 Z1 O

  1711. ! U( g( |9 z( X$ b  l
  1712. ; http://php.net/exif.decode-jis-intel
    3 p, S: v2 H- c- e6 ^
  1713. ;exif.decode_jis_intel    = JIS$ G  @7 R; H6 w, i4 c3 A( p- ?8 c$ y
  1714. # N8 C8 u! z; V1 a) \3 o$ V9 E
  1715. [Tidy]
    5 e0 s1 z  d6 t
  1716. ; The path to a default tidy configuration file to use when using tidy! u  C  {( K, L" [4 k
  1717. ; http://php.net/tidy.default-config) l# p+ }9 X# K1 }
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    1 t4 \( c# Y1 s

  1719.   V# t- l& |1 u- F6 w5 S, R8 M
  1720. ; Should tidy clean and repair output automatically?7 G7 I4 r6 L6 q
  1721. ; WARNING: Do not use this option if you are generating non-html content4 X9 O: l! _9 w
  1722. ; such as dynamic images
    , z# a9 }$ ]* |9 r6 @
  1723. ; http://php.net/tidy.clean-output4 H$ f4 n5 ^' m3 |! A* R
  1724. tidy.clean_output = Off4 |4 |( R  S& T' g
  1725. + P! T* ^( b# O0 n8 R% j
  1726. [soap]6 P5 @: ?1 t' @3 `% C
  1727. ; Enables or disables WSDL caching feature.- c! J. T* P# r& d
  1728. ; http://php.net/soap.wsdl-cache-enabled0 Y0 C) S0 {$ a* r3 d; i
  1729. soap.wsdl_cache_enabled=1
    $ U; W/ m3 e  [) A( B6 G) P5 h
  1730. ( N2 z$ ^9 V) W1 ?, |7 V# D
  1731. ; Sets the directory name where SOAP extension will put cache files.
    6 [) e" u- W( u* d' C
  1732. ; http://php.net/soap.wsdl-cache-dir
    : m: x* M9 R. o& I
  1733. soap.wsdl_cache_dir="/tmp"
    ; |1 O, q* n# a# Q
  1734. # i  U: q1 H4 k: G
  1735. ; (time to live) Sets the number of second while cached file will be used
    , w# U3 Q) C5 V7 C
  1736. ; instead of original one.( w; H% t% t; a" z5 N
  1737. ; http://php.net/soap.wsdl-cache-ttl) D4 j7 c( f$ V! M& ~: x
  1738. soap.wsdl_cache_ttl=86400
    + p* V  E3 g- j
  1739. 1 Z$ t" D. o4 t# X% @, {5 v
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)4 Q0 ~2 @4 X! l6 U% x8 _5 \5 [0 r
  1741. soap.wsdl_cache_limit = 5
    0 P6 _* w8 W4 [: h9 ~
  1742. : F: B1 L) L- ~' X
  1743. [sysvshm]
    ) y- ~6 e, l, A& G  J% l- X
  1744. ; A default size of the shared memory segment- n* }5 O2 J' Y) w/ J8 \. W
  1745. ;sysvshm.init_mem = 10000
    ! n$ \0 S4 _" K. f

  1746. : Y1 D& O6 z5 X( A) S
  1747. [ldap]" s6 W( g9 L+ S* j7 w* n# _% }+ ~
  1748. ; Sets the maximum number of open links or -1 for unlimited.4 o4 f" Y, G* o" i; N7 _
  1749. ldap.max_links = -1. t0 o1 B; Q; E

  1750. ! w* ?# \  n( N7 C& {5 n
  1751. [mcrypt]
    # _" }9 u, o& e, c3 X
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    # p' D' X. K6 R* ^7 o
  1753. % K9 _" s" r# j* A6 m) g
  1754. ; Directory where to load mcrypt algorithms+ m1 c# x) y7 Q& }! C' k
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ; H0 v3 [: g# Z
  1756. ;mcrypt.algorithms_dir=7 [2 Z6 V9 G2 x, f

  1757. 6 b9 M% |+ z" H5 E
  1758. ; Directory where to load mcrypt modes
    / f6 T+ L5 `2 p3 C- X
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    - X2 {, u& x( O8 U( I
  1760. ;mcrypt.modes_dir=0 S/ ]  h# i0 S4 \

  1761. % H  y- B6 H- z* E
  1762. [dba]. X0 u5 }/ T2 Z# `; l# e
  1763. ;dba.default_handler=7 y  l; Y+ S9 ^) L  {
  1764. 8 r5 B3 L4 a7 e  w; I! c" v- D# e# q
  1765. [opcache]
    6 z" D3 `0 `! K$ m2 O5 L! t6 S
  1766. ; Determines if Zend OPCache is enabled
    + I, e1 K" k% A8 X% Z+ L  m" s
  1767. ;opcache.enable=0% ^! Z) \* t7 N/ x/ o3 C8 C$ H) \

  1768.   [( M& Z( O7 {$ z; y; l$ g
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP; F. G, X2 G; @- E2 e( n& a
  1770. ;opcache.enable_cli=09 u7 i: m) l( m- l' s0 C0 f
  1771. 1 B. `$ C+ h9 U& X0 ~5 V  Q& p9 a" U
  1772. ; The OPcache shared memory storage size.
    * H/ S) Z7 C8 [. Y5 t
  1773. ;opcache.memory_consumption=649 }- u; G" y! q# `

  1774. ! g1 q/ d- C8 l2 U6 B. V  N: q
  1775. ; The amount of memory for interned strings in Mbytes.2 O- d! P+ q5 r
  1776. ;opcache.interned_strings_buffer=44 Z& D! z- y% O! f$ _4 y

  1777. ! e/ _) h# q6 Y; S, B& H, {
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.1 o9 y, I" ?. x
  1779. ; Only numbers between 200 and 1000000 are allowed.+ O, O) e0 c, x
  1780. ;opcache.max_accelerated_files=2000
    ; }7 _/ _9 A+ b. s0 p

  1781. + z" D7 o1 [+ P$ g8 n
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    1 |2 A) a! `8 r) Q& c# ]  m
  1783. ;opcache.max_wasted_percentage=5
    ; s3 i; a- B* S5 v7 z  L1 V
  1784. ( Y! F: V# z, n6 C3 ?
  1785. ; When this directive is enabled, the OPcache appends the current working2 t. {9 |2 g# Z
  1786. ; directory to the script key, thus eliminating possible collisions between% ^6 v: H: g- ?% F
  1787. ; files with the same name (basename). Disabling the directive improves
    - D8 x! ]1 e+ h! R
  1788. ; performance, but may break existing applications.- r) b1 t1 z* y0 E+ U) O
  1789. ;opcache.use_cwd=17 P5 Z( x, r+ ?
  1790. + P5 M& b: e9 M7 z
  1791. ; When disabled, you must reset the OPcache manually or restart the
    ! g3 y" _/ A3 ^# \, i, p
  1792. ; webserver for changes to the filesystem to take effect.
    / m, W- J* l9 d: n
  1793. ;opcache.validate_timestamps=1
    ) M, G9 U: V& D- G
  1794. 1 v4 {3 s0 G2 r1 F7 f, k% `
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    3 `3 ^7 ~4 k" k1 d7 _  N3 S, f0 m/ }( w
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    0 h7 f$ {  O8 {. k1 w
  1797. ; once per request. "0" means always validate)
    9 O2 `  j8 Q  O0 [- C' _
  1798. ;opcache.revalidate_freq=2; r! J# f4 u* A' J6 ?

  1799.   v) C8 Q" v4 S: R
  1800. ; Enables or disables file search in include_path optimization
    * x: j3 f6 f) W; u: d8 W; k6 g
  1801. ;opcache.revalidate_path=0
    ) i7 E& [+ Y! Z( A8 o; @
  1802.   s5 w% K$ d; n  x( w
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    # x# E. o( r9 q
  1804. ; size of the optimized code.
    ! q4 @/ Z4 P' o1 [/ s1 z, a. s
  1805. ;opcache.save_comments=1! x- q5 S! B8 K+ _3 y% y# Z& d$ K

  1806. 9 g+ Z2 F2 w, G9 F+ p' S$ c& T
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code& ^* N8 c: i5 n4 S0 R: X+ n
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.# W' u- `0 i! h5 ^
  1809. ;opcache.fast_shutdown=0
    8 C/ v3 ~. r, w: t, y
  1810. ' R0 ]% ?; i3 u* j0 h# c( D
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    , c* c% O8 c% L. n
  1812. ;opcache.enable_file_override=0
    - K% f$ E( z% a8 S  M2 j

  1813. , k/ B0 a* r: z
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    2 q2 W3 v6 t* t/ S; ?
  1815. ; passes8 y" E# H4 o9 C$ ^$ z; a& t: F
  1816. ;opcache.optimization_level=0xffffffff/ C3 A) J& V! ^# S" q
  1817. ( s, {$ V( y3 ^. E
  1818. ;opcache.inherited_hack=1
    9 f; \8 ~3 Z! H+ f0 y2 Y/ u
  1819. ;opcache.dups_fix=0
    8 X1 @. A- c( Q( I0 Z# M
  1820. / S1 G/ J; G. [, F
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    0 c( j$ @. {9 e* r5 s0 H
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    ; U, K5 ~- H2 g1 a3 i4 d# Q4 T( ?
  1823. ; that should not be accelerated. The file format is to add each filename4 e, D  g4 j$ F! `. T1 T% G* t
  1824. ; to a new line. The filename may be a full path or just a file prefix6 G- q2 f* w: o5 E
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    , ~8 Y& |, C6 w, N# O
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).# q& B# D) y3 }* i
  1827. ;opcache.blacklist_filename=
    ! u- \$ a; w' u9 e- c; c: e
  1828. * i1 L. {* K- |4 y6 Q
  1829. ; Allows exclusion of large files from being cached. By default all files
    6 D1 R& D& K1 a" I7 ~2 y
  1830. ; are cached.
    % D5 q# |" j' U" J9 g; }3 ~
  1831. ;opcache.max_file_size=0  ^4 K/ T2 ?# D  ^
  1832. / M# j5 F1 }7 l# L
  1833. ; Check the cache checksum each N requests.
    ! W6 d7 S( ]+ u3 Z; A1 V- `2 Z6 z
  1834. ; The default value of "0" means that the checks are disabled.
    / d& _2 V* f7 `' ]& f, e
  1835. ;opcache.consistency_checks=0! G0 C! L" _8 v5 C$ [3 N

  1836. % i- v" p9 o) P& D5 _
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache3 z! U5 n8 b$ Q
  1838. ; is not being accessed.
    ! `. v/ [2 n! n9 u
  1839. ;opcache.force_restart_timeout=180
    % Q7 \+ Q* E: l' K

  1840. ' \/ b6 q+ j" {* l
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    + }+ j& V& G& @2 E/ \% \
  1842. ;opcache.error_log=
    8 x+ Z7 W- Y0 Q, p9 O6 U* C; k
  1843. 7 e& D# h& Y/ @" ~& \) N+ \% ?# [
  1844. ; All OPcache errors go to the Web server log.
    3 z9 h5 \, r+ Y9 a
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.* s4 O8 W9 I+ ^1 R- T& h2 ?# {
  1846. ; You can also enable warnings (level 2), info messages (level 3) or9 t+ {2 n( F# q& [: e7 h% ~
  1847. ; debug messages (level 4).
    , D  {* @% r; `. ]; k
  1848. ;opcache.log_verbosity_level=13 _! z; P+ G. ]

  1849. 2 \- |3 p  j' I) E
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.2 b8 z  [7 ?/ H8 z( e+ E4 p
  1851. ;opcache.preferred_memory_model=4 A- A" a# Y1 `) V
  1852. 1 q/ Z0 N$ b, Z
  1853. ; Protect the shared memory from unexpected writing during script execution.$ d1 L4 k0 Y1 A5 F/ I  ?* j! H
  1854. ; Useful for internal debugging only.8 e* Y+ b" w7 l& K  |
  1855. ;opcache.protect_memory=0
    # m0 @8 H- `6 n1 M5 Q3 p3 W1 W

  1856. / N/ A2 ~# s" d  H7 Z
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is; z3 B, U- V8 y- v
  1858. ; started from specified string. The default "" means no restriction
      e3 v1 m% |  ^7 Q) j
  1859. ;opcache.restrict_api=
    6 O# _7 v5 u3 g5 T

  1860. 3 o: V7 H5 e) R7 M! z
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    5 y6 I, U: E& f4 p" \& w9 ?  |
  1862. ; processes have to map shared memory into the same address space. This
    ( N  Y+ r/ u/ L6 s' r" G+ B# v
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    ; m+ K2 e/ K: @7 d, `) N
  1864. ; errors.
    9 a) z" }$ _# |, ~
  1865. ;opcache.mmap_base=" s7 O, {+ w2 Z3 h
  1866. % x5 Q1 ^  k* \' H# Y
  1867. ; Enables and sets the second level cache directory.
    ! V% n$ l3 `, e9 K. D4 N
  1868. ; It should improve performance when SHM memory is full, at server restart or
    3 u2 _, ?- n4 v5 o) L& Y7 q
  1869. ; SHM reset. The default "" disables file based caching.) o0 l! A) R1 M
  1870. ;opcache.file_cache=& Z  f6 V% V1 K+ d+ i! ]

  1871. 4 A1 w. x; H7 g1 l$ |" o5 V$ v( r9 B; M
  1872. ; Enables or disables opcode caching in shared memory.# I) r. M8 q( d
  1873. ;opcache.file_cache_only=0
    , A$ ]4 q% S7 X0 ?" _* l3 c

  1874. 8 s6 j8 C, o) a2 k
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    - K/ u- y: T% ?- ^# \8 z+ r
  1876. ;opcache.file_cache_consistency_checks=1
    ! @* o# k/ s" j3 b5 t
  1877. ( Y! D5 u) M# e, Q1 V2 q
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to0 i/ m7 I' ^( O2 p# t% b/ U: {9 q
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
      w, p8 E* q4 X( S) s7 k: U/ _" ?
  1880. ; cache is required.
    5 V; I( n; p% Z! f& g6 \. ^
  1881. ;opcache.file_cache_fallback=17 X/ B5 \+ i. Q! i% X& n) K) W

  1882. ! e- o, m; X# V/ ?$ C, q& U: l
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    + }  U" Q% P3 c- z% V/ a% o
  1884. ; This should improve performance, but requires appropriate OS configuration.
      L% h; ?- X. f: f& p! @0 {
  1885. ;opcache.huge_code_pages=1
    - P! R) i) R; S$ a

  1886. ; a% K4 t6 @* h) g
  1887. ; Validate cached file permissions.
      U  |* @6 |, O* u1 n* `  ]
  1888. ; opcache.validate_permission=0
    , v7 n: l, H4 m/ B1 [4 J

  1889. 4 V3 N6 d7 x4 P0 g# t$ u
  1890. ; Prevent name collisions in chroot'ed environment.
    ! }! v' Q3 P. N$ R9 h0 [0 @) u
  1891. ; opcache.validate_root=02 l5 N7 |0 a6 r) S

  1892. % K! T7 D; E+ H$ v2 {9 X+ N; u
  1893. [curl]
    8 y7 K: F& w6 N# _3 w- u
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an- }8 v. Z9 s1 X* p
  1895. ; absolute path.
    ) F5 F7 d6 A9 C) n) e
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    : \8 o1 @& \$ p
  1897. & B  v. c' L4 |) A, L5 f& X
  1898. [openssl]' q/ r; D) M' h: N/ J2 ~
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem) K* s! X0 I" u/ t! K/ n$ \
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    ; u3 F# X; T& e: w/ `
  1901. ; not specify a value for this directive as PHP will attempt to use the( j0 {# T% s1 @7 O, W# i% t( e/ i
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    $ B0 S6 }5 {: d# u
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    0 K# [; q  ?* Q
  1904. ; option.  E7 Q/ O# U. T. n' F. ~1 g" k
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    * g0 u( b( z  v  d# l' p

  1906. - ~4 x1 t/ ^4 [# C% B
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    : k, i% S) _0 b) Z) p: r
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    ) \/ t' R: r: W" O- K3 y
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    3 F8 H1 ~% f0 |9 g; _
  1910. ; Most users should not specify a value for this directive as PHP will0 r9 w6 S' w! P7 O1 T* q
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,, y/ i" a7 O; H) @" [2 e4 l9 `
  1912. ; this value may still be overridden on a per-stream basis via the "capath"% j" M4 n. M( W8 Y' X
  1913. ; SSL stream context option.2 r8 r* A. w9 `0 h! V
  1914. ;openssl.capath=, o9 W/ ~; z5 X9 Y5 w: `3 i
  1915. ( W+ R0 f5 T+ r0 V# Y) _
  1916. ; Local Variables:0 y( ?3 h; b3 x, {" W- ?4 o
  1917. ; tab-width: 4' S0 B$ A: V( G8 {  i
  1918. ; End:  Z0 g0 ]. m( o5 o9 H% W8 q: C
  1919. ' {  S4 i$ Y; T" d  L
  1920. ;eaccelerator
    ) i7 F3 R7 W/ t9 t" T
  1921. $ k+ S# q* g, c  P, [8 ^
  1922. ;ionCube; b, z% z) L& ?  u- `

  1923. - v8 x& q. B/ D. G
  1924. ;opcache2 Q9 ^, A: @* y2 g, X: k

  1925. $ j: i" ^5 P2 S" z8 c- ?( W
  1926. [Zend ZendGuard Loader]
    $ Z! s4 H% b" j4 [' {" g
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    4 I0 C6 X* e& \% }0 ?: M+ ^- t
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    # L, U/ X2 Y+ l. o+ `1 n
  1929. ;zend_loader.enable=1
    4 p, v, `/ s, S( M( ]% }! M
  1930. ;zend_loader.disable_licensing=0
    1 ~' `# u# L2 ]' m) e
  1931. ;zend_loader.obfuscation_level_support=3
    2 f6 N4 m! m+ P7 W
  1932. ;zend_loader.license_path=5 o, J' ]! b$ ?+ D+ M

  1933. 6 z% X) P  x& |( t
  1934. ;xcache+ c! c: [6 H. j* F2 e- ~; E

  1935. 9 U( K, [! e+ p- ^
复制代码
4 r- V7 F+ s0 F- B; t1 W

; H- `; J: x" q: d1 R+ A
0 a: D( T" b/ Z, J( E/ W
7 s# |0 s7 j! {, I8 d: A
7 o* ]! H$ T2 Q
) y0 J( r$ {8 x% R1 L- J) _& G
PHP5.6版本原始设置) B' W7 b/ m( L+ V& s* B

7 Z" A: _8 g. b$ b$ g" d: T
  1. [PHP]8 h$ H/ s/ |" q" u8 k- U

  2. # `) }6 I" O+ A8 U! I) W
  3. ;;;;;;;;;;;;;;;;;;;! d' k- b. q8 i
  4. ; About php.ini   ;
    8 l& @& [3 a( ^2 w/ u
  5. ;;;;;;;;;;;;;;;;;;;5 ^, ?: G& ^" J0 j4 f
  6. ; PHP's initialization file, generally called php.ini, is responsible for7 n- C8 g7 G! N
  7. ; configuring many of the aspects of PHP's behavior.5 H8 O0 G7 {$ J" p! ~1 c! v

  8. : ]' z! n8 [8 A  y
  9. ; PHP attempts to find and load this configuration from a number of locations.
    ; H# c1 v$ J3 N
  10. ; The following is a summary of its search order:
    4 P$ D% Y. G5 e0 n" d( }- x
  11. ; 1. SAPI module specific location.' q" J9 c' |; D3 K4 C4 A
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)+ ]4 R0 a& s# _! w
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    ! C- e0 ]2 \! P: c8 H/ U
  14. ; 4. Current working directory (except CLI)
    & H+ _. z5 f% ~) v5 S! h
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    9 F4 S1 X: ^; m6 _9 d
  16. ; (otherwise in Windows)7 s6 w) n% v9 Z2 e
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    4 y8 V- \5 Z, |1 w
  18. ; Windows directory (C:\windows or C:\winnt)
    . i" w# J2 q8 Y" Z: k8 v: U
  19. ; See the PHP docs for more specific information., R* Q) \+ K1 a/ ?9 D
  20. ; http://php.net/configuration.file2 S& P9 e1 W4 d9 r/ i: r
  21. 3 P* Y, b/ E* i- F6 ~0 v0 _
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    " H7 o9 l, |/ O( A; A1 z
  23. ; beginning with a semicolon are silently ignored (as you probably guessed)." y& H: x& B8 k
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though6 G1 y8 Z; c3 d1 q: H3 F
  25. ; they might mean something in the future.
    ; K( b: g) I1 i: S. }, `
  26. 4 L5 j# z/ K$ n. {4 O+ O1 b% v
  27. ; Directives following the section heading [PATH=/www/mysite] only* }  r3 y. I4 J( F/ J4 _
  28. ; apply to PHP files in the /www/mysite directory.  Directives- Q, F) Q7 D$ {5 |
  29. ; following the section heading [HOST=www.example.com] only apply to( V) Y8 Q& r# }3 j, _% |
  30. ; PHP files served from www.example.com.  Directives set in these  C0 }# s+ L: F1 Y+ L; P( V
  31. ; special sections cannot be overridden by user-defined INI files or7 {- g! Z$ J, Q* B/ H( L
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under  U! S1 [' I! v  ~6 p' x. P
  33. ; CGI/FastCGI.
    5 }6 W0 v; f# J# R2 l
  34. ; http://php.net/ini.sections" U2 s/ l' l/ ]' X- u% u
  35. # C) ^& W) [6 S6 |
  36. ; Directives are specified using the following syntax:
    " a4 C9 d1 g' X/ J5 e
  37. ; directive = value, C3 m+ D4 T. I% s6 \6 p. n
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    ) T( r2 S+ ]  ~- ~
  39. ; Directives are variables used to configure PHP or PHP extensions.
    ! d& s! k5 X. `7 p3 y# l. W1 g
  40. ; There is no name validation.  If PHP can't find an expected
    ( I: c5 i$ ]; x0 x" w
  41. ; directive because it is not set or is mistyped, a default value will be used.
    ( k7 Z/ C4 L- |- ?! a
  42. * ]$ T: H: P9 B9 t; L
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    6 G, j4 }2 L( l# C) A5 q+ O
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression* J+ Q, ]/ O. V8 z+ Q6 I5 o, d
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a$ p- T* l7 ]' I0 U% ~% @0 c
  46. ; previously set variable or directive (e.g. ${foo})& u3 i% ?# B5 H# |+ C

  47. - i4 j4 q/ t( |" O5 b$ J
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:& s: T  a/ P6 E  J6 v8 x
  49. ; |  bitwise OR2 T/ w, f' T+ A% Y
  50. ; ^  bitwise XOR: S$ Q6 U% x! I2 a$ x, y6 _- P2 L( n6 ?
  51. ; &  bitwise AND" X3 G6 _( d% }* J! g
  52. ; ~  bitwise NOT" J4 P6 e2 d) K9 |. K
  53. ; !  boolean NOT
    4 ]* e8 M* m: M4 L# [6 X* j5 c0 N

  54. ) B: G! W& ^# ~
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    & E! Y" ]- s1 T0 l2 a; m1 }* K
  56. ; They can be turned off using the values 0, Off, False or No.
    " B: ~; e5 D. X7 l9 c

  57. . W# v; F, p7 o7 u
  58. ; An empty string can be denoted by simply not writing anything after the equal
    2 w% `3 e1 G, T  O: Z" Z
  59. ; sign, or by using the None keyword:- P) l6 N' F6 p4 T" M

  60. / Q! |5 O1 J, R. g# N. K! W
  61. ;  foo =         ; sets foo to an empty string0 ^' c$ s! _6 _+ R8 \& N; m
  62. ;  foo = None    ; sets foo to an empty string8 O" J- k, g, R8 h+ b! r
  63. ;  foo = "None"  ; sets foo to the string 'None'4 _. o4 j  O% o9 P% a5 x& C

  64. : R  g* }" S  r/ |* Z
  65. ; If you use constants in your value, and these constants belong to a
    ( P$ s9 W# K" y
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),. j: M# w4 y. i+ b
  67. ; you may only use these constants *after* the line that loads the extension.
    / Y2 \6 t# n* |

  68. # k' J& _$ ^$ K9 C
  69. ;;;;;;;;;;;;;;;;;;;
    2 Y4 b& S, q6 J& u, V9 I+ |
  70. ; About this file ;/ r6 G! P0 m5 S/ c7 }  e
  71. ;;;;;;;;;;;;;;;;;;;
    9 I' A" H: Z( X9 S
  72. ; PHP comes packaged with two INI files. One that is recommended to be used' M1 V* z9 A9 N$ m) e$ u
  73. ; in production environments and one that is recommended to be used in
    : ]$ p+ {6 D4 O' D* ]( J+ o+ y
  74. ; development environments.1 d% [4 m# Z6 _# n. U0 \
  75. 1 K* u# O& k$ Q! Q. _5 p) x4 X. K, F
  76. ; php.ini-production contains settings which hold security, performance and: c$ x1 ^  a# f# N' m
  77. ; best practices at its core. But please be aware, these settings may break
    + N- c. Y; @* K
  78. ; compatibility with older or less security conscience applications. We% O' F! ^4 D5 X# s& e: A
  79. ; recommending using the production ini in production and testing environments.
    $ ]: v7 J% g9 y9 M/ E5 [1 O' H
  80. / h) q; Y2 w/ c! `" j4 p
  81. ; php.ini-development is very similar to its production variant, except it is! w4 k. X/ t. `1 _7 Z/ A, k% H
  82. ; much more verbose when it comes to errors. We recommend using the
    : d# o% g/ n5 \3 b2 Z, S
  83. ; development version only in development environments, as errors shown to2 e1 f6 G% ]7 k; f+ e% Q
  84. ; application users can inadvertently leak otherwise secure information.: e; X$ o* o  j& ]' e* b+ x

  85. 8 M$ a; g9 k# e; H4 d$ D
  86. ; This is php.ini-production INI file.0 e) }2 j, {. R: G1 i3 n1 o) M

  87. $ u: m% F; U* i( T0 O0 }8 f
  88. ;;;;;;;;;;;;;;;;;;;  O3 b7 V6 }; ?
  89. ; Quick Reference ;
    ( r4 E9 i( ?+ d/ N
  90. ;;;;;;;;;;;;;;;;;;;7 h( ~* x' {: \2 A. T6 K' b6 d
  91. ; The following are all the settings which are different in either the production
    1 R2 u5 g; Q4 N# K4 E
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    - v8 E8 q: j' u- Z- h1 j
  93. ; Please see the actual settings later in the document for more details as to why
    # {* u0 g/ \" k* J, S
  94. ; we recommend these changes in PHP's behavior.  U: S+ O* p9 E; {+ m9 M, q

  95. ; s4 o( q7 c; W% h
  96. ; display_errors% O/ T6 H' t. C; D
  97. ;   Default Value: On) p8 ~* e! Y- ?" C0 r9 |# |
  98. ;   Development Value: On5 |4 J0 t! F5 e! s
  99. ;   Production Value: Off: }8 c4 m4 a8 S8 c; l
  100. 1 T" S7 c; `- T8 [7 f4 [
  101. ; display_startup_errors; ^# B: O9 P/ U# i1 a
  102. ;   Default Value: Off7 c1 F- Y. y4 d' V( U
  103. ;   Development Value: On; H' m6 W! C' d* T/ K& e
  104. ;   Production Value: Off
    8 i2 w5 [# S4 T, y

  105. + x2 D% b/ ~, H# }
  106. ; error_reporting, L! S6 p& k% Y% r. J3 p" X3 s
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    - w2 z& x2 [$ L! ]+ V
  108. ;   Development Value: E_ALL5 x: i4 S/ ]- o3 ]# s* p5 H9 x
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    * m% f8 H' C9 t4 H/ J! [

  110. 3 g  U6 |2 m) B  \; ~+ N
  111. ; html_errors
    1 X4 n& d  w' K: F7 d% l
  112. ;   Default Value: On" q5 W; z: I, U6 F
  113. ;   Development Value: On" n( e4 w5 Y- v8 a& y) s+ p: b
  114. ;   Production value: On
    7 C! C5 I. j/ m
  115. 1 o5 P/ A5 R7 O9 c& ?0 L6 q; B
  116. ; log_errors
    " N" B! l2 ?. y' H! N
  117. ;   Default Value: Off
    2 p8 ]; x( n8 U# j6 v/ L& c
  118. ;   Development Value: On. T- D) W% q7 m" h1 a# T( y
  119. ;   Production Value: On: \. T9 }4 n% l! f5 D0 r

  120. : X" E; V$ ]/ G0 k  H6 R
  121. ; max_input_time  |% t8 ?8 p5 t3 F) X
  122. ;   Default Value: -1 (Unlimited)- G3 t9 v4 d0 l
  123. ;   Development Value: 60 (60 seconds); k, J8 N, I8 |) U
  124. ;   Production Value: 60 (60 seconds)
    % O4 d& }' f( J0 \2 o8 F8 N
  125. % q$ F) B+ O. l* J$ @; C
  126. ; output_buffering7 @5 B2 }6 [4 ]: H
  127. ;   Default Value: Off% R* G# q3 D0 ^9 O; ^( e
  128. ;   Development Value: 4096
    8 i- F# D: d6 B! r2 G4 @2 R. l: N
  129. ;   Production Value: 4096; r& D, R' b- L' g& c" V3 Y

  130. 5 B0 J# Y4 L( F( |- o
  131. ; register_argc_argv) c% C9 {! w2 t# |
  132. ;   Default Value: On
    8 Q# }' B" C+ E
  133. ;   Development Value: Off# S" |% u: u9 f- U, }6 I
  134. ;   Production Value: Off) Y6 \, u5 I: [: u- t
  135. " V& h& |( \3 i- Q4 R1 f; P
  136. ; request_order( F. k! C2 d/ z+ i. p  t5 C) b
  137. ;   Default Value: None
    ! d' b' ]7 `9 a1 c5 w! y; H
  138. ;   Development Value: "GP"
    , B" e0 n( U5 V' D* ]
  139. ;   Production Value: "GP"0 ]$ M; \; e7 ]

  140. - B- O1 X7 ]( \. o+ P* P; Z
  141. ; session.gc_divisor9 B+ ~0 l" ]* X2 m. U
  142. ;   Default Value: 100
    3 ^1 H  ?% G7 }' A1 [
  143. ;   Development Value: 1000  q$ l- z. d' I& ]+ N& T3 S6 f
  144. ;   Production Value: 1000  \. H) v6 U$ M: q8 O' g3 n
  145. ! e+ q" f; A. E" R  l% r& `9 p
  146. ; session.hash_bits_per_character+ A5 R, N4 t) \) E: f
  147. ;   Default Value: 4& r8 h3 I: V' s/ o# B8 P7 K
  148. ;   Development Value: 55 q" u: R5 a* u/ S0 m+ ]& G
  149. ;   Production Value: 50 g; [& [8 V" S3 F* y, E0 p- p

  150. + [* v/ P; N" M. l3 b( p: w
  151. ; short_open_tag
    . N+ O' V9 Y6 }* E- g0 L9 H: e
  152. ;   Default Value: On+ G  T0 i9 ], ^9 L) x4 X
  153. ;   Development Value: Off+ N# p* [$ f' l# S
  154. ;   Production Value: Off' l4 P: Y4 N4 p
  155. 1 w  ?$ H7 k/ u9 f1 T. j1 m
  156. ; track_errors1 Z9 M" X1 y- H( m6 }
  157. ;   Default Value: Off
    4 P4 Z6 D: E' }: h+ k; N* X. o
  158. ;   Development Value: On, ]5 d' \+ |5 U
  159. ;   Production Value: Off1 C) h8 s' _. o1 f

  160. . ^! k2 z9 {( t# T% V  v$ }
  161. ; url_rewriter.tags
    ( q/ Q# l0 R- z; J: e; T
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    & Y. y* ~/ D6 j; X3 x  `  |. Y& d4 U
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ( R" h" ~" T% M# c+ H
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ; W1 N6 S0 \: P! }

  165. 0 Z& i% r2 Y3 t5 r
  166. ; variables_order; |: o- N! f! u6 J" u! K) q
  167. ;   Default Value: "EGPCS"+ R/ W* x5 P+ w% j, a1 X: d# y: x
  168. ;   Development Value: "GPCS"
    8 n/ o# D4 x2 n# y$ [+ ?, g
  169. ;   Production Value: "GPCS"
    # L" h: V; J' P6 H, N9 n8 y
  170. 7 O" ]2 e2 f* C9 J% J1 O6 j
  171. ;;;;;;;;;;;;;;;;;;;;
    , ?( x' P7 |& I2 }7 p  q" C' Y: l
  172. ; php.ini Options  ;
    : d" I+ R8 J- r7 o1 }
  173. ;;;;;;;;;;;;;;;;;;;;
    6 h" s% W' ?2 S5 F" R  m4 v
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"- Z& T! K' \3 e  y' w; l. f
  175. ;user_ini.filename = ".user.ini"  }- f  g  C" u) O( F1 x* A
  176. - C! Q" P% u. E5 O: n
  177. ; To disable this feature set this option to empty value* U, |( v$ W0 _) Q. P- I
  178. ;user_ini.filename =
    6 X  a; [7 `4 V2 S6 u2 Y

  179. , x  w/ @" O- u! \+ p
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    9 D# Z6 x3 @6 g# @
  181. ;user_ini.cache_ttl = 300
    5 }- X; [' |0 r3 r+ {8 X* B( h
  182.   J/ x2 q# y7 m% P
  183. ;;;;;;;;;;;;;;;;;;;;
    6 c7 C! Q  ~% r0 {* }
  184. ; Language Options ;7 s4 U9 N- A) @- R
  185. ;;;;;;;;;;;;;;;;;;;;1 d+ ]% R  h4 L, U: T" R$ n

  186. * b( N0 n6 X; |- X( U8 F2 x: g. _
  187. ; Enable the PHP scripting language engine under Apache.
    ; p3 F( c# H: V; Z  s( P8 A
  188. ; http://php.net/engine: x9 V& t/ m4 m7 _7 d
  189. engine = On
    ! h4 \3 L8 Z$ p8 V; c8 W
  190. 0 e$ M1 E2 ]! u+ T1 ^; u' b
  191. ; This directive determines whether or not PHP will recognize code between$ s$ _* y3 C* A* H. c1 u% h- r' z
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    ' y4 g) N' Q, j" ^
  193. ; generally recommended that <?php and ?> should be used and that this feature
    ) \% L1 U, g3 P+ N
  194. ; should be disabled, as enabling it may result in issues when generating XML, d1 j6 H5 @, k* `9 m( _& v; e/ J
  195. ; documents, however this remains supported for backward compatibility reasons.& E7 u' k# }) t) T3 `% ~
  196. ; Note that this directive does not control the <?= shorthand tag, which can be8 t3 ^* H7 F# s; d$ d  h! Q4 K
  197. ; used regardless of this directive.& @4 d! ~( o) e0 ]
  198. ; Default Value: On
    7 o" N( H) n' m$ t
  199. ; Development Value: Off/ u% [) j9 f6 ?  _- i  a. w2 ?
  200. ; Production Value: Off0 f5 e4 J* R3 B
  201. ; http://php.net/short-open-tag
    ! B  g8 ?# L# p- X8 q9 a; V: a
  202. short_open_tag = On' j  X/ h( V+ {5 q+ i

  203. 8 [; i. |# h! T/ O0 c/ H
  204. ; Allow ASP-style <% %> tags.
    , ?" b$ t( N  s, p% [$ c
  205. ; http://php.net/asp-tags
    0 X$ P- F2 w% ?
  206. asp_tags = Off9 G0 l8 H8 @. @/ i: L

  207. * U1 x' H; d* e/ K8 t  s- E3 `
  208. ; The number of significant digits displayed in floating point numbers.
    # `- W# H. X  [& ~! G
  209. ; http://php.net/precision
    * H/ q5 J! g" \% V5 n2 Y+ J
  210. precision = 14
    . m* D! V9 d8 m/ {' |" P

  211. ) ^0 E9 K9 k) B
  212. ; Output buffering is a mechanism for controlling how much output data" d( U$ l8 X0 p+ F8 E. r
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    % Q& P) Q6 O; d8 r2 ]. ^
  214. ; data to the client. If your application's output exceeds this setting, PHP# B# Q* x2 q0 K5 v. n% S2 D
  215. ; will send that data in chunks of roughly the size you specify.# j: A! ~! i/ t( q) S+ j1 n
  216. ; Turning on this setting and managing its maximum buffer size can yield some4 M; n& |% t9 \& z
  217. ; interesting side-effects depending on your application and web server.
    ' F1 e& @1 p" s2 r) r$ \0 Y
  218. ; You may be able to send headers and cookies after you've already sent output+ S, D" L- U- p  s
  219. ; through print or echo. You also may see performance benefits if your server is
    ( T! O2 q8 c3 j( ~3 g  `$ z+ s) a
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    ' z' C( k% V$ K3 q+ ~, E( i/ q
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance1 J+ i3 t: e* d7 b: X8 k" j
  222. ; reasons.( r9 I! B5 Q+ w- n& l, [6 ~
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    ! p# I/ u5 j/ b0 b0 e& j( u' Y
  224. ;   functions.6 H. r, I; H4 H+ `1 w
  225. ; Possible Values:
    ) a1 e$ a& Q3 s& N4 g# ]  ~
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    ! i: Z4 I5 `9 i) c0 R$ r, [6 h
  227. ;   Off = Disabled1 N' q$ z" ?+ e" y7 B- L9 C) L. a
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    * |8 R; Z0 R5 |2 I' J% X7 \
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    2 A0 e$ z( P; N1 G
  230. ; Default Value: Off" O6 N5 x2 Z7 \4 i+ z, K
  231. ; Development Value: 4096
    / u  d! `6 M' S2 z0 `$ w  j
  232. ; Production Value: 4096; w# L/ b& z, q
  233. ; http://php.net/output-buffering. n) M  l4 u- ~$ E  t+ p6 m- T
  234. output_buffering = 4096% z/ j2 B9 G) N- n8 L+ M7 s
  235. 8 g8 Z& H) w+ _; g8 W% l  [
  236. ; You can redirect all of the output of your scripts to a function.  For4 C/ Y3 T& W2 J. L! x; G! @
  237. ; example, if you set output_handler to "mb_output_handler", character
    ) `" p2 K& G, O7 s( [2 [
  238. ; encoding will be transparently converted to the specified encoding.! f3 `2 q) _' J$ m0 s6 k: {( L
  239. ; Setting any output handler automatically turns on output buffering.6 n/ L% u2 d: \
  240. ; Note: People who wrote portable scripts should not depend on this ini8 L0 n8 r/ F' X' g8 P- z) z2 g
  241. ;   directive. Instead, explicitly set the output handler using ob_start().; F$ k) w8 A  K; j5 T8 f4 [
  242. ;   Using this ini directive may cause problems unless you know what script* ^( U- N2 N, ?
  243. ;   is doing.
      ?$ A2 |3 F9 f
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"& t* g8 B6 M5 [7 E7 @$ N
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    % s* ?" h0 m: I6 p+ S
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    3 a. C  |1 I" f7 {, V  b
  247. ;   Instead you must use zlib.output_handler.
    ; B, Z$ |' o$ d
  248. ; http://php.net/output-handler, L0 D9 X2 |* ~3 F0 T. }
  249. ;output_handler =. O6 Y. ?3 L0 l8 w

  250. ! Z. p/ H# p! i  d
  251. ; Transparent output compression using the zlib library; x8 L$ H* U! l% Y: x* w: n3 k, N& @6 \0 v
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size. P2 G% F6 W+ V+ U# V
  253. ; to be used for compression (default is 4KB)
    & o, }/ d- P; r% t
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP/ n+ B( j4 X. f1 T! O
  255. ;   outputs chunks that are few hundreds bytes each as a result of2 f: M, N# |6 u; }- A
  256. ;   compression. If you prefer a larger chunk size for better: P" O; k% N8 k2 ^" p
  257. ;   performance, enable output_buffering in addition.
    7 N& s9 W: g% {( @" k
  258. ; Note: You need to use zlib.output_handler instead of the standard
    ! m, i2 G: S8 f, F' i- N8 J
  259. ;   output_handler, or otherwise the output will be corrupted.
    , O# K6 T* P: b) K
  260. ; http://php.net/zlib.output-compression
    1 @# T# q& {! y, B/ M5 e* j& B, ?% O
  261. zlib.output_compression = Off9 d, {$ J( o% c1 P$ v7 T. \5 d

  262. 2 L2 S  a! @1 |8 K- L' [
  263. ; http://php.net/zlib.output-compression-level( n5 Y5 _/ i4 Y( ?" c
  264. ;zlib.output_compression_level = -1
    7 P7 _0 W# V( R# g) s& `
  265. 7 A  d# N1 u) G- S* ]5 ?/ N) J
  266. ; You cannot specify additional output handlers if zlib.output_compression
    * C) F* v0 P" }- ]+ U2 s5 u$ p
  267. ; is activated here. This setting does the same as output_handler but in/ ]8 `( }7 J/ T5 S& l
  268. ; a different order.
    9 h+ U8 F) t  b6 L" D$ C9 `
  269. ; http://php.net/zlib.output-handler: ~% l9 Y5 R5 ^. P& m" j5 d
  270. ;zlib.output_handler =/ j% E2 i( b& k" y' O8 ^9 h% A

  271. $ w+ r& Z) v9 i- X% w% v
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    ( B4 ?' [2 ]7 T; Z, h
  273. ; automatically after every output block.  This is equivalent to calling the8 w5 G2 M0 S5 F$ y8 J
  274. ; PHP function flush() after each and every call to print() or echo() and each
    ' a6 }/ A# S. o- P- [
  275. ; and every HTML block.  Turning this option on has serious performance
    1 I/ P5 Y3 ]" l# \, y, {' ~
  276. ; implications and is generally recommended for debugging purposes only.
    & B2 T9 s# s0 v3 D- d: E1 `
  277. ; http://php.net/implicit-flush
    ' G6 D5 H, f% ~7 {. \
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
    0 m6 A- t1 J! x, P6 N+ S( ^* O. G
  279. implicit_flush = Off& }7 I  {- o+ E0 Y0 ~$ h! M' U

  280. # @2 u6 p; h7 a0 x" C, M  `; r
  281. ; The unserialize callback function will be called (with the undefined class'( I" V7 C7 q2 f' Q
  282. ; name as parameter), if the unserializer finds an undefined class
    # e6 r5 W/ ?  @/ Z) g- [
  283. ; which should be instantiated. A warning appears if the specified function is
    ! S, q- _2 R2 s0 [3 V9 _: ^, N& R4 f; R
  284. ; not defined, or if the function doesn't include/implement the missing class.
    4 W3 ^* [. I5 m+ F+ P- {+ x
  285. ; So only set this entry, if you really want to implement such a9 g% y' }- g3 ^0 A8 t0 N
  286. ; callback-function.
    + N7 s& ]0 F$ D  r% L4 h
  287. unserialize_callback_func =- n9 @, h4 A! L1 K6 t
  288. / s. G1 I6 D: T# w& d9 G! u" a1 x  D
  289. ; When floats & doubles are serialized store serialize_precision significant! o: m. _0 G# T  j" K& M) G
  290. ; digits after the floating point. The default value ensures that when floats
    ) P( Q) n) U; O  w* Y# W$ Y0 g6 e
  291. ; are decoded with unserialize, the data will remain the same.0 P/ G: j/ E9 n  ^1 N; M$ f
  292. serialize_precision = 17) j5 w- t% ?5 u; V
  293. 6 f* `8 R0 l) O1 D
  294. ; open_basedir, if set, limits all file operations to the defined directory9 t: o" Q. H7 P6 x8 ~
  295. ; and below.  This directive makes most sense if used in a per-directory
    : a$ f3 G2 Z3 r! J! `1 b. k/ y
  296. ; or per-virtualhost web server configuration file.5 Q: j5 l8 V$ w9 b: E' i
  297. ; http://php.net/open-basedir
    5 m0 Q) S& q1 C/ B
  298. ;open_basedir =
    / P/ O8 _( `# s2 A  e

  299. + M; M# W) T+ L+ i
  300. ; This directive allows you to disable certain functions for security reasons.
    8 [' Z9 `- C. z  @5 d5 q
  301. ; It receives a comma-delimited list of function names.
    + m+ H! T+ c+ R9 A
  302. ; http://php.net/disable-functions& n3 j# B2 o: U. J" L( C
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    ! d  s# Z' ^9 {+ v& P7 w: K

  304. . s9 x+ {) N8 ~& l& v" U" c
  305. ; This directive allows you to disable certain classes for security reasons.
    7 E3 i4 Z3 P( v! E& \+ M$ v: u
  306. ; It receives a comma-delimited list of class names.! K4 ~: m- T5 `7 N5 h9 m
  307. ; http://php.net/disable-classes% d6 a. Y0 e+ u4 e2 x# Z) W
  308. disable_classes =
    # k4 a+ u0 c" k+ C" y/ S( C/ b% B
  309. , x0 z/ C% C3 v% \
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in) v6 z7 z% A/ \5 k, J) {; ~% P
  311. ; <span style="color: ???????"> would work.7 F2 }" x  G- ^8 v- Z8 `
  312. ; http://php.net/syntax-highlighting( G- k/ d: {- }& \/ c$ `
  313. ;highlight.string  = #DD0000- @' q, L; o# K
  314. ;highlight.comment = #FF9900
    " ]! m1 H- ~3 y
  315. ;highlight.keyword = #007700
    0 c6 U, O* `1 X% ^( t" z! u7 B
  316. ;highlight.default = #0000BB
    5 q$ V7 u5 Y! ?5 m8 a" x
  317. ;highlight.html    = #0000009 T. ], q) W$ U& D& q6 _6 c
  318. / K+ y+ w: ?; N/ E# ^0 b
  319. ; If enabled, the request will be allowed to complete even if the user aborts+ F2 H8 z/ J; p
  320. ; the request. Consider enabling it if executing long requests, which may end up  V2 T7 S: k& J) i
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    / z! m7 J4 d' j. I6 N& \4 l
  322. ; is to disable this feature.9 L0 l( G& c0 v5 a
  323. ; http://php.net/ignore-user-abort
    0 l; [5 O# W  x  \4 A8 o
  324. ;ignore_user_abort = On
    1 P9 X9 ^0 J# Y/ c" d4 S1 A
  325. : K* e' \: ?3 F! n
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    2 q& i3 }+ y: i4 {- X1 S
  327. ; be increased on systems where PHP opens many files to reflect the quantity of. W" O7 C$ k% w5 F0 N4 p
  328. ; the file operations performed.; e$ D: B6 O$ g, M% Q' \
  329. ; http://php.net/realpath-cache-size
    ) s6 k  h0 D7 W2 a2 H# ^
  330. ;realpath_cache_size = 16k5 }3 E4 A4 A$ C. f
  331. - w7 \( h4 i+ H6 d6 m* E, `
  332. ; Duration of time, in seconds for which to cache realpath information for a given2 j! z) S7 \- S6 C4 b: N
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    0 [: }+ S" E. a4 u& l% c
  334. ; value.! X* l4 e# l! B7 T- T
  335. ; http://php.net/realpath-cache-ttl
      \8 E/ l  P& d( X
  336. ;realpath_cache_ttl = 120& \$ Q1 v. _3 w- `% f

  337. ) Y, |. X: ]* r( @( e/ r+ ^
  338. ; Enables or disables the circular reference collector.
    " A; m" C, t  B/ l# e7 k
  339. ; http://php.net/zend.enable-gc
    ! R+ ?) ?0 d' W6 t" Y3 K8 r+ S1 g$ ^
  340. zend.enable_gc = On
    * V- Q* p  f" Y! J

  341. ! f% k, B9 B& Z3 ]2 O; ?2 Y, O
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    . C8 U6 r+ k0 B- t2 y
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    8 n' Q" W. K; c. c+ K
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    / b, P+ V1 Q9 W5 Q4 X& ?) X
  345. ; Default: Off' s- m' n6 f  S$ f5 i& p
  346. ;zend.multibyte = Off
    * ]0 ?0 v3 [7 m$ D8 {2 _
  347.   i0 ?  V+ m' u7 X- T
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    ( x$ C+ m) M& O( l. |% n5 [4 E' |: A
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.$ o  P9 o7 e+ M- C( z. J9 V1 X" f
  350. ; Only affects if zend.multibyte is set.
    + @, Y" u/ Q) j: `
  351. ; Default: ""
    1 o1 b4 L  _4 ~! l  Q9 Q& K
  352. ;zend.script_encoding =" V- R! t) y& Z: T' {6 @
  353. & X+ U7 V2 N: w/ S
  354. ;;;;;;;;;;;;;;;;;% g) a7 B0 \/ {" g  ?7 l
  355. ; Miscellaneous ;. n" q, \  _+ m6 W1 L
  356. ;;;;;;;;;;;;;;;;;9 j! w  i3 X, j+ _, a1 r% |
  357. " l8 }5 B( h; N7 A( [  n
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    ' A  F! U! j8 a3 z
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    8 ^: I, A% z8 X' O0 c- R
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    . u$ g( O) `8 X& N/ z
  361. ; on your server or not.# e. {; D8 b$ e% J
  362. ; http://php.net/expose-php
    7 L$ x# ^; j5 z, x+ ]
  363. expose_php = On
    : t! f' F1 A0 J8 E$ y
  364. ; r2 z$ w  g  ?9 w4 @8 X
  365. ;;;;;;;;;;;;;;;;;;;
    ! S- F2 C- x7 }0 b# [% _
  366. ; Resource Limits ;
      B4 ]1 \2 j+ t7 ]2 j9 _
  367. ;;;;;;;;;;;;;;;;;;;
    , X, F+ G& x9 {8 O4 O

  368. , S( u( g- r: T* B/ Z! G2 R
  369. ; Maximum execution time of each script, in seconds
    ( J. h7 y+ G: Y; _; I' T( G
  370. ; http://php.net/max-execution-time
    ! a8 M* Q. ~8 }/ c7 B
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI$ b) w# }6 S4 n. n' J
  372. max_execution_time = 300
    9 m, D- A: ^6 Y; ?9 V
  373.   H8 g+ C( B( B6 y: k" B! l; T+ w0 ^
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    + L/ W/ R% z) W0 Q% s- V: |# G
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    ; W0 g+ G; k4 k' r# A4 y- f" T! q7 o
  376. ; long running scripts.
    . a. A% j; e, ^
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    ; c6 G8 R3 ~# ?0 ?; t
  378. ; Default Value: -1 (Unlimited)4 w' p* s  x1 r/ Z9 z" i
  379. ; Development Value: 60 (60 seconds)9 M- |% E7 q0 |  `* z
  380. ; Production Value: 60 (60 seconds)
    : @1 }$ ?' Q( _1 Y6 {
  381. ; http://php.net/max-input-time7 T: d8 Z' U, u" f: P) ?1 r' p9 t
  382. max_input_time = 60
    , F4 ~! T) h- ?9 W* u, i" E

  383. : O( j. R2 k; O+ i, |0 b
  384. ; Maximum input variable nesting level. a' L/ K) U5 ^0 A% B; h7 r
  385. ; http://php.net/max-input-nesting-level9 ?* e2 Z' t! i, {+ T% O
  386. ;max_input_nesting_level = 644 s5 L0 h/ O# Z8 j  [
  387. & F3 ?2 X/ Y( D& ?3 o- J0 @
  388. ; How many GET/POST/COOKIE input variables may be accepted
    3 Y1 |6 T) ~# T( n% x
  389. ; max_input_vars = 1000
    # u9 T7 M. R1 J( h# S9 s
  390. . h( d$ Y/ V) o9 Y6 Z4 ^" L
  391. ; Maximum amount of memory a script may consume (128MB)5 b- O& ?) [, N( q7 A' L
  392. ; http://php.net/memory-limit% N/ N' R. @2 ?
  393. memory_limit = 128M
    0 J3 Q; e; c+ y! h: k& H# v
  394. : g; M/ x: y/ E$ l* M& _7 _
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;. d9 N3 Z: }9 Y, w1 M: k) q
  396. ; Error handling and logging ;2 Y! Q  |1 V8 S' \8 H% ]
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;% I$ m# n2 ^) p3 J0 y3 l

  398. * w0 J! J7 C) k  d* F
  399. ; This directive informs PHP of which errors, warnings and notices you would like, T% R# e% p8 v* U, J7 u5 w
  400. ; it to take action for. The recommended way of setting values for this  I4 T+ i  L" u+ g5 w! G6 c
  401. ; directive is through the use of the error level constants and bitwise0 y) `' t8 E( K- z
  402. ; operators. The error level constants are below here for convenience as well as
    9 j/ Y( J5 p# f/ R5 s
  403. ; some common settings and their meanings.
    ' X5 I( [9 k# [  M" @2 m: _
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
      c$ [! S* ]; {4 t: I% l! E7 J
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    7 }$ k' a) \4 M4 k/ F( j
  406. ; recommended coding standards in PHP. For performance reasons, this is the5 x+ E5 \1 y, M$ a+ J% Y+ v! s
  407. ; recommend error reporting setting. Your production server shouldn't be wasting0 g- y* H* u3 k& O' H
  408. ; resources complaining about best practices and coding standards. That's what" a: I9 S2 q: x% G, X# T* W
  409. ; development servers and development settings are for.
    4 w; t) R  X" Y9 m9 R3 o2 o
  410. ; Note: The php.ini-development file has this setting as E_ALL. This  [7 h0 Q+ v1 d; ]
  411. ; means it pretty much reports everything which is exactly what you want during
      H/ G! e9 I0 E6 R5 @* ^0 `" k
  412. ; development and early testing.
    ) X. X5 T/ H. B: M% y; h* s# `) ?
  413. ;
    * |4 O7 i, \0 G# ?4 `
  414. ; Error Level Constants:- @8 E) F- b) {! l+ r# }
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0): W8 W2 S. e- H# n  s" a- w% ^
  416. ; E_ERROR           - fatal run-time errors
    2 [, p2 Z0 g9 m3 q
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    / E2 E8 I$ p3 y7 z; a" J% p; X
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    / g* H' m6 Y% W& G( H' @
  419. ; E_PARSE           - compile-time parse errors4 K: K6 [; N. e9 T
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    . x- J" g/ x9 K$ I0 e: E! S
  421. ;                     from a bug in your code, but it's possible that it was
    / H. u$ u: Q: y/ T
  422. ;                     intentional (e.g., using an uninitialized variable and1 W% Y, \! D( [2 j8 f
  423. ;                     relying on the fact it is automatically initialized to an
    1 k+ T/ }6 q) w* d. G8 k" G5 Y
  424. ;                     empty string)
    6 B9 \- n6 h# h1 `: {7 h. p
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes6 a* c9 `7 T% E# w
  426. ;                     to your code which will ensure the best interoperability1 T$ J( g! k6 x$ N
  427. ;                     and forward compatibility of your code
    - ~6 C* G, N" b3 R1 t: e; m# K
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup# k+ y0 [6 Y# p* n9 m  \
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's9 b( }* p  p, i/ ~/ R
  430. ;                     initial startup
    # L$ f7 l3 a6 N7 s
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    # U' [1 q! T9 h
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)7 z8 @' u7 k# ]
  433. ; E_USER_ERROR      - user-generated error message9 e) w! j/ I8 L! H
  434. ; E_USER_WARNING    - user-generated warning message* Y/ F3 R- p, ~7 \
  435. ; E_USER_NOTICE     - user-generated notice message2 a& r: y, x9 j( B  J# U& u! j( _8 G4 y
  436. ; E_DEPRECATED      - warn about code that will not work in future versions/ q* Y( X# p! Z
  437. ;                     of PHP/ `3 L! J  P' W
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings: X6 f5 L6 s2 \/ k% J! R
  439. ;: |4 \6 Q* S: [3 y) b: z' N" A
  440. ; Common Values:# O: b, l- s: c7 T+ e5 h3 s
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.): P* z  k7 p1 l$ I, m* [0 X. f! }
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)7 o0 D. {( ?5 W
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    + }+ [7 S) b3 t- x8 |5 A  J
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    3 m+ q  m+ U; {( A2 c  I  ?' _
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    $ W( L! }/ a9 q% Q4 r
  446. ; Development Value: E_ALL
    ) X6 M5 g$ L1 Q* f( K! C! d
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    & q  ^4 L3 X* {: d; S* e
  448. ; http://php.net/error-reporting0 E  R1 ~9 ~7 ~7 a8 b: g
  449. error_reporting = E_ALL & ~E_NOTICE
    / H  v4 \, ?; f" w# r
  450. : v  L! B& N" t. g9 U5 w& }9 r
  451. ; This directive controls whether or not and where PHP will output errors,
    2 I' k0 X3 f: }' C' R) d
  452. ; notices and warnings too. Error output is very useful during development, but
    ) B# H' a5 u0 d* O7 K% U
  453. ; it could be very dangerous in production environments. Depending on the code
    * I5 P2 ^! {7 O# O
  454. ; which is triggering the error, sensitive information could potentially leak1 ?$ K3 x- b* Y5 O4 N5 p
  455. ; out of your application such as database usernames and passwords or worse.! J5 Z$ I+ C6 t% L
  456. ; For production environments, we recommend logging errors rather than0 s/ s' n" O( S; O, o( o
  457. ; sending them to STDOUT.- l# I* Q! m( x& i, O
  458. ; Possible Values:
      `, G0 l. F6 D3 `4 \2 T$ q0 K
  459. ;   Off = Do not display any errors; |% E& j5 W* y! A& @
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    ) H% e4 l  x7 }  P
  461. ;   On or stdout = Display errors to STDOUT
    ' g4 @+ j3 D! Q+ f: {: A
  462. ; Default Value: On
    - A% w- f8 G  R9 {
  463. ; Development Value: On
    ; Q, d  o# j' Z' y! U$ S
  464. ; Production Value: Off4 S) P& C* |/ y# B4 Q
  465. ; http://php.net/display-errors+ P# E9 s' E- G
  466. display_errors = On
    0 w6 {3 V# ~5 @5 h  m: ^4 N8 t% w
  467. & q1 s( b3 [2 `- r3 M1 l* C
  468. ; The display of errors which occur during PHP's startup sequence are handled3 y1 K( f% t7 x$ s* b1 L: C8 G. r
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    % `4 J" a% w+ m, C$ k- n
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    ; N6 |& D% k# r  _+ D0 j
  471. ; debugging configuration problems. We strongly recommend you
    : {4 Q5 Z5 ]; w
  472. ; set this to 'off' for production servers.
    % R" p2 ~( j! b7 k7 O6 h' s1 }
  473. ; Default Value: Off
    2 [  N4 a# U3 v) l( _2 H6 [/ H
  474. ; Development Value: On/ f6 n  i# t8 Y- d
  475. ; Production Value: Off* s4 \( Y- X& T2 y4 j  D( \
  476. ; http://php.net/display-startup-errors
    ) s7 s* d/ z& X6 ^; V' W
  477. display_startup_errors = Off
    0 C3 q: @" I* E' Z/ H( |

  478. ' x% S2 y( S7 Y9 n" h
  479. ; Besides displaying errors, PHP can also log errors to locations such as a6 ~$ M! Z  ?! j' M7 `" a8 _
  480. ; server-specific log, STDERR, or a location specified by the error_log4 i4 c8 b: N; X- J' P9 A6 Z
  481. ; directive found below. While errors should not be displayed on productions, c2 ]. S+ ]2 g1 K0 h8 ?9 k  Y
  482. ; servers they should still be monitored and logging is a great way to do that.+ c! s4 B, O' ?1 V' W2 w
  483. ; Default Value: Off
    - [, N# L' I( i% p, i
  484. ; Development Value: On- Q  G* h! E+ S; `% Y8 O, `
  485. ; Production Value: On! g( I' R& U/ F* D, M* Y. W
  486. ; http://php.net/log-errors0 i* m' `. F, W$ G- ]
  487. log_errors = On
    ( Q7 B% w/ n, w5 b9 v. y  O5 n. @
  488. 9 f) X/ T8 t4 i$ |5 n$ }
  489. ; Set maximum length of log_errors. In error_log information about the source is$ m& `3 [- j$ z& \; d
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    ! _1 K$ f% i" x" N+ U( F/ q6 W( j
  491. ; http://php.net/log-errors-max-len8 W7 u5 A; x+ ]' t) D& N
  492. log_errors_max_len = 1024
    5 d/ Y& n' C$ o1 w2 T& q, [

  493. 7 o) A4 P* g9 w" u6 S
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    " H! Z; F8 Z5 n; e; X4 ~
  495. ; line unless ignore_repeated_source is set true.
    " h/ W( u6 ?( n6 s) v' @/ J
  496. ; http://php.net/ignore-repeated-errors
    ! k+ e0 d  i" \4 ^. I
  497. ignore_repeated_errors = Off% e6 ^$ {2 K& J$ h+ U

  498.   h; a8 x0 n5 s
  499. ; Ignore source of message when ignoring repeated messages. When this setting2 t& V. V1 Y: ?9 B
  500. ; is On you will not log errors with repeated messages from different files or
    ! G1 z, s' L  V+ N
  501. ; source lines.
    " h! U. y: N: j# m2 O7 b
  502. ; http://php.net/ignore-repeated-source$ T. P5 @8 ^3 s4 W
  503. ignore_repeated_source = Off, U2 e$ u6 V8 L9 m9 ?0 ~* P
  504. 7 u7 b9 s/ o9 V+ V
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on2 _3 F: ]; F7 j7 S* U" @
  506. ; stdout or in the log). This has only effect in a debug compile, and if7 }2 a' B1 t5 e7 }
  507. ; error reporting includes E_WARNING in the allowed list& e: v5 o8 d5 ~' X$ M+ ^% \; A
  508. ; http://php.net/report-memleaks: c, z6 k" i0 T7 k5 {
  509. report_memleaks = On
    $ |5 d% H/ O' j) O8 i+ U3 ?

  510. 7 r. h1 z; L$ u0 N; S) h6 G
  511. ; This setting is on by default.
    , s+ ]! _' ?/ }4 k+ X
  512. ;report_zend_debug = 0+ R+ z5 a4 V* Z: P) {& }# G

  513. % ]# Y5 S* H, u+ ]- V
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    6 X* n, I, \" \
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    ; D& d5 H% @+ ?# I4 E1 \' Q1 Z: a
  516. ; however be disabled on production servers.: J8 d+ W' L( ?1 o. }4 W
  517. ; Default Value: Off1 l7 y/ f3 ?; D9 d( q0 S
  518. ; Development Value: On/ F# E8 o# \9 a/ [/ b( {% R
  519. ; Production Value: Off1 ?0 g" h! Q2 l/ q1 V
  520. ; http://php.net/track-errors  I  j/ ~9 G- [- |3 u
  521. track_errors = Off& {( i7 y6 `( s/ q( W
  522. ) _3 K9 a! N1 t1 c( `( ^6 e
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    ! M0 g4 n* G! Q, G% }
  524. ; http://php.net/xmlrpc-errors$ X" ~1 I5 w5 C5 ^/ f* F8 O" r
  525. ;xmlrpc_errors = 03 W  U4 y. }+ J, r' y

  526. $ c& L0 G  ]# a0 F1 x/ O
  527. ; An XML-RPC faultCode
    4 N: j( r' u! p# H8 L2 M2 b
  528. ;xmlrpc_error_number = 0
    0 h7 |2 b# [3 H& {& M" b

  529. 5 T. K9 A$ S5 C4 c; Y
  530. ; When PHP displays or logs an error, it has the capability of formatting the( ^8 o; [: U5 y/ ?& s3 X
  531. ; error message as HTML for easier reading. This directive controls whether
    : g6 G, e: f4 D! s  U. G
  532. ; the error message is formatted as HTML or not.
    . w7 \& ~+ P+ `
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI' z% h" a2 y* u
  534. ; Default Value: On! D+ K/ W! z( |" |/ B& x  O
  535. ; Development Value: On
    $ l& A8 w' @! B0 h6 q/ p8 A+ G
  536. ; Production value: On
    4 W8 d3 X1 Q" t' ^+ `
  537. ; http://php.net/html-errors% ?9 u9 E  f2 L1 s; J6 F* }6 S3 m
  538. html_errors = On
    5 Y; o, C* n. X4 x, N/ J
  539. 2 V/ q  |9 y7 J3 P$ ^1 R6 F
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP9 R# Z. P  u3 R' {$ l% P, z! W
  541. ; produces clickable error messages that direct to a page describing the error/ V  X1 L" y* X0 s! c8 p* A$ {
  542. ; or function causing the error in detail.
    " ]. A8 v9 I4 V
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    . g  H4 Y0 S5 N1 ^3 l9 s, o3 l
  544. ; and change docref_root to the base URL of your local copy including the
    7 H9 W8 Y6 A& X- @
  545. ; leading '/'. You must also specify the file extension being used including) U+ s4 t0 {* m. ~9 P
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    , i. l9 W: b: j8 o$ \" N( c
  547. ; case no links to documentation are generated.
    . Y2 \: t6 i' U! B
  548. ; Note: Never use this feature for production boxes.9 G" e, I8 J6 u  E# Z
  549. ; http://php.net/docref-root% R: Q9 R( Y/ M9 ~, S
  550. ; Examples
    ; c4 `2 a* k* X2 b6 c7 ~) t
  551. ;docref_root = "/phpmanual/"- n8 f: F0 c* L- @3 ?  u  R

  552. $ P: @  y. k8 D* D' ]+ Q9 w% w
  553. ; http://php.net/docref-ext
    0 q! M& ~2 ~" r6 k$ i! j
  554. ;docref_ext = .html
    * ?9 D. @* A/ ^' u' K

  555.   e+ z* }6 L; i1 {* A
  556. ; String to output before an error message. PHP's default behavior is to leave+ s# Z# L) }, C' o: G- J, W
  557. ; this setting blank.
    ' q$ n/ ~( y$ g+ K$ d+ h- L) ~( o8 T8 x
  558. ; http://php.net/error-prepend-string- t; z2 N) Y1 r0 ^' u0 n& [
  559. ; Example:6 y; I- q6 R) I3 U& `( R) u
  560. ;error_prepend_string = "<span style='color: #ff0000'>", ]+ o/ K; l  u" C; k' m
  561. . U! s7 c, @0 `/ q4 R) r
  562. ; String to output after an error message. PHP's default behavior is to leave
    2 U& N9 V- v2 ~1 t9 ^7 g3 o
  563. ; this setting blank.
    2 n# Z5 f  O4 N4 T% ]
  564. ; http://php.net/error-append-string/ V% O: c9 \- Z, l5 \2 m- ^! a- k
  565. ; Example:. J: @, m5 W3 ^- J
  566. ;error_append_string = "</span>"+ u! v8 j: H; Z" w9 @- b

  567. 6 d! H! P( y' r1 I
  568. ; Log errors to specified file. PHP's default behavior is to leave this value1 N! H; B. E: F& Z
  569. ; empty.' a6 ]) Z# [) q6 P3 Q5 |5 ^  m
  570. ; http://php.net/error-log( u$ U& t" A2 U8 Z# \, j1 J
  571. ; Example:1 ?8 ^8 R2 s) a4 U4 }/ g" j
  572. ;error_log = php_errors.log  _" g  t8 u2 }  K
  573. ; Log errors to syslog (Event Log on Windows).
    + \! ]. P- c* v
  574. ;error_log = syslog( ?; v" B! f( I

  575. $ _; w; N' f- L0 Q; J4 n
  576. ;windows.show_crt_warning
    ! g3 w0 V$ Y0 m
  577. ; Default value: 0
    ( x4 X6 D% G; W/ a' k( _" B, U2 G4 K
  578. ; Development value: 0' e6 ?3 ]' R! H  A, X. j
  579. ; Production value: 01 n& y, }$ s! C

  580.   `& N  X& k% A! X( K0 }
  581. ;;;;;;;;;;;;;;;;;
      H  c0 o4 H1 |5 B5 S
  582. ; Data Handling ;
    & @6 C; C# W- _5 z" x, o
  583. ;;;;;;;;;;;;;;;;;! {8 d' \4 l6 q- E' x

  584. - u2 u  x& W2 W6 p
  585. ; The separator used in PHP generated URLs to separate arguments.
    , N2 e, L2 J( y; F5 l
  586. ; PHP's default setting is "&".
    1 _" N( e5 _) g, X& D1 H& n& S- s
  587. ; http://php.net/arg-separator.output
    ; j! k# J+ O! V. D1 c
  588. ; Example:
    3 G* t" ~8 {& y( w
  589. ;arg_separator.output = "&amp;"7 |* s4 |8 q+ b2 _

  590.   L. ?/ b+ y& t% m3 O! d9 Q3 E
  591. ; List of separator(s) used by PHP to parse input URLs into variables.. c2 e* \3 j' C) @) L* Y) v. Y
  592. ; PHP's default setting is "&".) C, t9 D% F# U- T9 |! L
  593. ; NOTE: Every character in this directive is considered as separator!$ z* L5 d; T/ `; o5 t. p& r
  594. ; http://php.net/arg-separator.input
    - n: z0 g( s6 U6 Y' {( p8 I
  595. ; Example:) t, |. f* R: e& w
  596. ;arg_separator.input = ";&"
    ( x! o1 L) ?4 D

  597. ) ]; p( J3 [3 I2 H9 X) [8 a
  598. ; This directive determines which super global arrays are registered when PHP
    + A% G+ o" y# a* _
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    ! B7 e/ s5 q2 b+ f+ M+ u$ v7 D
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
      a: [( ^2 t' [3 g( c
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    2 G( Q7 @1 w( B9 @, Q8 E( O4 a
  602. ; used as the others, ENV is not recommended on productions servers. You! p& q( b  U( p1 Y
  603. ; can still get access to the environment variables through getenv() should you
    ' _! V. \1 u' v1 n
  604. ; need to.7 k. M$ u6 U6 z+ V  `# @
  605. ; Default Value: "EGPCS"
    ' \" i5 O7 C1 I' Y+ e, F: K
  606. ; Development Value: "GPCS"
    0 I9 E  m. L  A- w; o1 _
  607. ; Production Value: "GPCS";& V0 V; g/ F* Q* p. q2 G
  608. ; http://php.net/variables-order- v) G7 O2 [& [7 {2 b% ]
  609. variables_order = "GPCS", [  ^5 J1 x0 n+ E; @- b" B3 t
  610. . {1 ]3 x; u9 S2 e. j1 j
  611. ; This directive determines which super global data (G,P & C) should be+ B8 ^  C  N9 ^$ H0 a% q. t
  612. ; registered into the super global array REQUEST. If so, it also determines
      M# O' U7 X) U) r+ Z" S5 M
  613. ; the order in which that data is registered. The values for this directive
    ; D* r1 Y  a& m( S
  614. ; are specified in the same manner as the variables_order directive,
    & c( f* ?0 s7 X* i2 E
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    2 g: C0 ^) H) o. m7 i& L1 m
  616. ; in the variables_order directive. It does not mean it will leave the super+ w2 n7 t+ t8 p# |* H% B; G3 {
  617. ; globals array REQUEST empty.8 ^: q) g' S, d  {7 E1 t! u- s
  618. ; Default Value: None
    8 k* i# ~& F& x0 @/ M, o
  619. ; Development Value: "GP"
    " E# C( o  g4 e, Z% F
  620. ; Production Value: "GP"% ~( s9 U8 X& {* j+ V
  621. ; http://php.net/request-order, m  |9 R8 X8 m: e9 \* r
  622. request_order = "GP"
    ! E" Q4 h3 e5 `4 W! [% [

  623. 0 Q, w& a7 @+ i/ g" R7 a6 v9 d
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    / b0 r" v- t) s' `' i  w6 H
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    , l( M6 S8 D* m+ U
  626. ; is invoked. $argc contains an integer representing the number of arguments( p- N0 w5 O+ g2 f1 ?
  627. ; that were passed when the script was invoked. These arrays are extremely
    ( Z! m6 G8 [2 E/ p! C/ r
  628. ; useful when running scripts from the command line. When this directive is% |5 P- X5 h5 m/ t2 h
  629. ; enabled, registering these variables consumes CPU cycles and memory each time: P7 A( V8 U  A- B8 O- I3 w
  630. ; a script is executed. For performance reasons, this feature should be disabled
    ! A. s# W7 v% w/ N* K( }9 \0 j, q
  631. ; on production servers.& t3 P* n6 s- i, i8 M
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    6 N$ c& i' b0 ?' n& r) c
  633. ; Default Value: On. z, w( n4 i7 ~" @, I# A; H
  634. ; Development Value: Off
    " S. y8 \! \6 a1 `0 A  d, ^% L5 [
  635. ; Production Value: Off1 t1 |& q( L0 t1 o
  636. ; http://php.net/register-argc-argv
    5 X) N+ l( b4 d. G6 e+ E# |
  637. register_argc_argv = Off. V" q% L7 [0 M- w  A1 ~1 O/ E
  638. " y# w0 W5 Y6 s) V9 I& A+ a: q
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're$ \# ^7 t$ W1 h
  640. ; first used (Just In Time) instead of when the script starts. If these
    2 S) W, _1 G3 i" l
  641. ; variables are not used within a script, having this directive on will result
    5 ~% a  c' j* A$ V( L* s; l
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled. M. |7 W% Q9 R& P) W. i/ C/ K; o
  643. ; for this directive to have any affect.
      Y; D$ g9 e6 e. S) J$ f7 [
  644. ; http://php.net/auto-globals-jit5 J& _" ~5 b% v! u% P
  645. auto_globals_jit = On: ~% [. P3 {- p  d
  646. 4 R5 K1 N0 ]* A! Q4 {' `" X, _
  647. ; Whether PHP will read the POST data.
    7 k' V' K3 T+ E# K4 _0 {
  648. ; This option is enabled by default.' x4 w# x* x" n$ c! m$ \" p' }
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    / J! n3 `# g0 [$ {
  650. ; and $_FILES to always be empty; the only way you will be able to read the7 Q$ @0 ~: r  m. ?8 F! Q
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    , F7 V5 n" ~! [2 m
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.! B. }" u: D5 V2 G$ M
  653. ; http://php.net/enable-post-data-reading# S" Z8 C( Y# j) J
  654. ;enable_post_data_reading = Off
    * ]3 }* {  h; J- y3 g- g1 }

  655. . r  \) A- t$ ?; ]+ S
  656. ; Maximum size of POST data that PHP will accept.
    + p5 F9 l: ?$ a& q
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading% S: J. h3 F+ p+ w) P8 k. Z
  658. ; is disabled through enable_post_data_reading.  U/ a5 {( O. P  Y4 q4 \) C, G
  659. ; http://php.net/post-max-size$ n1 U- v2 y1 {6 j6 n& m! u
  660. post_max_size = 50M' g: m7 Y# K* k) b/ Q) N) F' m! v

  661. , D' n4 }% [* W5 F( R
  662. ; Automatically add files before PHP document.  C9 P7 d. p; f/ Q8 ]* b
  663. ; http://php.net/auto-prepend-file
    2 t: L& [2 s1 Z& s
  664. auto_prepend_file =9 R6 s3 X# j5 j6 z) V; K
  665. 5 b+ J& H) I7 l* M0 m
  666. ; Automatically add files after PHP document.8 D- G: l9 ]* V3 X9 p$ B0 O$ l: _
  667. ; http://php.net/auto-append-file! k# Y8 |" ^% o" ?" }0 @/ D
  668. auto_append_file =
    ) k1 d8 Q- f. H1 {

  669. ! t2 _; ?! t. S  p& ^! R" s4 {0 {
  670. ; By default, PHP will output a media type using the Content-Type header. To
    $ _! I: U0 _* x' E
  671. ; disable this, simply set it to be empty.# z8 y, f; c" L9 i3 m  q7 T
  672. ;0 I7 v, a* z3 k7 |' ^# b
  673. ; PHP's built-in default media type is set to text/html.
    ) Z# h4 S( Y1 i* m& J9 L6 _
  674. ; http://php.net/default-mimetype
    ; _" J( V. g' w+ I- J# Q# K
  675. default_mimetype = "text/html"2 E% i& e( [: E2 ?- W/ s
  676. , G" }  M5 ]9 F9 Q4 i3 M
  677. ; PHP's default character set is set to UTF-8./ ?" q6 i' g' N! \5 ~/ W+ D* N) c1 t
  678. ; http://php.net/default-charset
    $ c) q1 I; S$ p! z8 A# Y
  679. default_charset = "UTF-8"8 S( R9 B: r9 T0 \2 I. {, _, f% u

  680. ) p5 x" h  _* p/ K. p, @
  681. ; PHP internal character encoding is set to empty.
    & p: I- l% P" i
  682. ; If empty, default_charset is used., E: _6 d: y) E# o' ?% ^# d
  683. ; http://php.net/internal-encoding  D9 G5 M3 L0 H4 N
  684. ;internal_encoding =# P0 ~0 C& l/ D' W% i
  685. 7 k8 ^/ ^+ d4 C8 [& R% Q. {
  686. ; PHP input character encoding is set to empty.
    , S2 X# a- p  `2 x: ^' V
  687. ; If empty, default_charset is used.! b  {7 ?& R" D( D, h5 C8 y
  688. ; http://php.net/input-encoding
    , m0 C2 n$ h% T* n) Z; Q
  689. ;input_encoding =
    3 ^- H! z' J- j. r7 A3 E1 j

  690. , R, Y& S. u" y! h! R/ E
  691. ; PHP output character encoding is set to empty.
    $ s& e/ x* \1 ]  A9 v
  692. ; If empty, default_charset is used.
    ) x6 Z% [& k8 z: Z5 m: m
  693. ; See also output_buffer.
    ! G! V6 t# h7 ?! D
  694. ; http://php.net/output-encoding
    % Y" H, ~4 \5 N! `) V
  695. ;output_encoding =2 ]/ N, r$ q. k5 h" m6 o# T6 ]& K
  696. $ c+ ^/ H# _$ k; g+ Y0 C
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is7 v7 ^* y! b: Z! `, Y- ]
  698. ; to disable this feature and it will be removed in a future version.+ V$ S8 ~6 m2 A' B  b0 P2 L
  699. ; If post reading is disabled through enable_post_data_reading,
    - t3 g" G; ?% S6 m
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    8 m1 _0 ^3 H6 E* v7 _! h
  701. ; http://php.net/always-populate-raw-post-data
    # [+ m  U# Q. K$ q
  702. ;always_populate_raw_post_data = -1
    ! W1 e$ F; \+ e9 n8 P  ~
  703. 9 V8 d& r# k5 q" q$ ]: e
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;0 j0 h* p6 E  w. r, a
  705. ; Paths and Directories ;
    : a; A0 e' u# [+ x& w# L) X
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;4 m( l7 R6 G7 R, h2 C

  707. 9 K2 N) U' n; @. i& ~* D! _& P' Z
  708. ; UNIX: "/path1:/path2"
    ; M$ w6 m% u+ I* P5 d& x) z
  709. ;include_path = ".:/php/includes", G- Z+ t. k0 w6 Y1 I1 e
  710. ;, u: k2 ^9 s4 k
  711. ; Windows: "\path1;\path2"$ c  I1 Z. Q8 c4 ]- c) ?- p7 n
  712. ;include_path = ".;c:\php\includes"
    * o" L- Q- D. a; h: r: G
  713. ;2 j" ?9 L! m2 q1 D" W" p
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear". J( v7 e/ l1 j' c+ o
  715. ; http://php.net/include-path
    5 i/ z6 Y6 C0 U, K% I* C; o, G8 }

  716. $ w( W1 e7 i' s4 C' X: a$ S# p
  717. ; The root of the PHP pages, used only if nonempty.- A# j* o( P9 E) |+ e
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    % w) p" g# g2 _& F' O# d
  719. ; if you are running php as a CGI under any web server (other than IIS)2 E  F- w! E; P$ O
  720. ; see documentation for security issues.  The alternate is to use the
    1 I# R. {3 N6 m" ^4 D& K( J
  721. ; cgi.force_redirect configuration below& b0 b3 \) t0 U
  722. ; http://php.net/doc-root
    + @3 \1 l% D( j6 p
  723. doc_root =* p: j7 C8 }, V, v; l' k% Y

  724. $ t; |( l( k6 f8 }( _$ e- k' x, _
  725. ; The directory under which PHP opens the script using /~username used only
    3 n- W. n( c  e4 ?9 z5 W: t- P
  726. ; if nonempty.
    % k2 V6 }9 t" J
  727. ; http://php.net/user-dir
    . O) ~+ r; B) d$ K$ K
  728. user_dir =
    . K* H5 T, q2 O3 h. @% @
  729. ; X( c* \  K& o
  730. ; Directory in which the loadable extensions (modules) reside., q! c5 [$ A  w
  731. ; http://php.net/extension-dir
    , ?. A5 R9 }! g3 h& Z0 k+ J) N2 j
  732. ; extension_dir = "./"
    ( K! c1 t# t% l! L0 P  I, T' k1 v& }
  733. ; On windows:
    . p: V% H* t3 G1 V& W% u# l
  734. ; extension_dir = "ext"/ h; _: O0 g7 k

  735. 4 R1 K( s9 ?9 W: l
  736. ; Directory where the temporary files should be placed.
    8 E1 k' Y- K. |0 T
  737. ; Defaults to the system default (see sys_get_temp_dir)
    , {! C: Y: U. N; k9 S, D
  738. ; sys_temp_dir = "/tmp"
    # s6 N2 V4 @% Z- n; @
  739. 9 O/ w( L0 U0 b. H' B
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work6 |# \9 ~9 I: a5 g' f2 c
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically+ }3 T% R. U( \* X9 D$ G
  742. ; disabled on them.
    + N7 b3 A+ o' n* f; k/ F# c4 _; W
  743. ; http://php.net/enable-dl+ z* V; b. d: l2 a& b: F
  744. enable_dl = Off
    ' }3 p3 D. B# k* s
  745. & C2 K) N& l0 c. e8 ^( j
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    & v2 j7 j/ l- x, ~5 [& ~/ ~  t
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can' A+ G2 C9 z( {; I5 E  c& e. h* R2 y
  748. ; turn it off here AT YOUR OWN RISK
    ( N1 L5 V4 n) B1 E! `4 T' i
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    : T3 F4 s$ G( l0 j: N
  750. ; http://php.net/cgi.force-redirect
    8 |1 e) J3 E5 m
  751. ;cgi.force_redirect = 1" q+ Y# e, b! ?5 G) y( U5 U9 [
  752. ! G1 h' f5 g) R" h2 u3 X" p0 \
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with4 g8 I6 L# a. W+ Z- F9 b5 V/ @# C
  754. ; every request. PHP's default behavior is to disable this feature.2 z7 E" x) x; x, _0 m, U
  755. ;cgi.nph = 10 @, n  a# _( b3 n" f/ [4 ^" Y! }

  756. , T8 F/ B% `2 n& c' B! m$ J, U
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape3 ]8 j3 r9 |/ ]: `: I7 D& P/ f3 D1 t
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP2 X6 K4 s% L! g- ^
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY6 C0 n' Q. J' ~% U0 n# x
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    6 w+ [: i! I" a* f8 a$ P
  761. ; http://php.net/cgi.redirect-status-env1 ?2 w8 j/ h9 K: J  m8 P# I
  762. ;cgi.redirect_status_env =
    0 }" n4 @8 f- G0 K9 }1 w+ [; `

  763. 6 J% L. n! o3 _% T7 T. L
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's9 V# x( ^1 E0 u9 z( Y
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok! J* D5 a  V( N; W
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting8 `7 u- `9 \4 ^3 I8 N* p
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting' r3 R% u# r/ Y1 P' a  t; V
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts' U1 p8 s1 `1 a% Z3 B  ~
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.) o8 v# Z6 ^, Q- Q& A, }6 R
  770. ; http://php.net/cgi.fix-pathinfo7 j* h$ l2 ~  z2 p& e- V
  771. cgi.fix_pathinfo=1
    4 i3 V! O8 K: g

  772. ) s% h4 p# {, o' U
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    & p8 n. B7 z& P9 k( F
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    " i4 y( ~4 Y2 n* p( R
  775. ; http://php.net/cgi.dicard-path+ ~( T8 _7 e& J( s, K6 c
  776. ;cgi.discard_path=1
      c1 l, a. t# q9 g8 F

  777. ! x- P3 U3 m' n' V
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate: Q& b. m" N3 _* t0 L
  779. ; security tokens of the calling client.  This allows IIS to define the
    $ c7 O1 _4 }) C2 g
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    - N& `" i. V+ [  b; t+ l8 H
  781. ; does not currently support this feature (03/17/2002)2 l9 ?  [4 D' _% Q$ o, G) h
  782. ; Set to 1 if running under IIS.  Default is zero.
    # q* Y" I; Q& Y2 P6 Z
  783. ; http://php.net/fastcgi.impersonate2 N0 }+ m% J# S9 }7 c. F
  784. ;fastcgi.impersonate = 1
    ; S- N/ b4 j  M" Q! x8 F

  785. 6 x  P( q* Z  q* V, t$ }
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable5 K2 O+ ?2 y# R6 _7 i( U
  787. ; this feature.5 T% W) R/ q8 ^% m! V+ Y
  788. ;fastcgi.logging = 0
    . u' E1 M1 E* Z/ T2 K/ A& I) T

  789. 6 g6 \. K) k% E
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to, g" z. {. f2 y+ W
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that+ E( [% O( z6 o/ q; E' \
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    ( u: t2 G9 V, b
  793. ; RFC2616 compliant header.
    ! x. w; F5 d, X& A& c
  794. ; Default is zero.
    + i4 e4 Q, j! h! w/ z- |
  795. ; http://php.net/cgi.rfc2616-headers
    $ P# U3 Z% u2 t7 k; c
  796. ;cgi.rfc2616_headers = 0* w+ ~3 k$ t4 j. o+ q

  797. # s: d4 p2 f; c
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    * ?# E* ^2 V9 b( \. i: ~
  799. ; (shebang) at the top of the running script. This line might be needed if the
    3 J8 c4 \6 p) ]+ M/ {% S3 G
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI3 h5 x8 ?8 z( ]1 P5 _6 }$ y
  801. ; mode skips this line and ignores its content if this directive is turned on.5 s& v' ?9 n- f- W! n& C6 J
  802. ; http://php.net/cgi.check-shebang-line, ]% @( F3 n: |; V' R" U1 H
  803. ;cgi.check_shebang_line=1( H0 N. K: z$ b8 j! n) f
  804. - g3 l1 S7 B4 u% G
  805. ;;;;;;;;;;;;;;;;
    * S) y5 [' t  k1 I( X0 _
  806. ; File Uploads ;
      W* @+ N! Q7 p2 B1 {" X8 E
  807. ;;;;;;;;;;;;;;;;& \* S- v$ F5 {* n9 h0 I7 X

  808. # N" s% M( X/ C8 _1 \
  809. ; Whether to allow HTTP file uploads.4 D" L, j5 I3 Q$ {
  810. ; http://php.net/file-uploads/ m: C* X* Q6 [3 _* P
  811. file_uploads = On
    ' a# D/ w+ V8 B' G% T  u
  812. % Q0 g8 J, L  z. r. ~) W
  813. ; Temporary directory for HTTP uploaded files (will use system default if not1 Q* W* I9 H3 K0 t+ U% G
  814. ; specified)., g2 s8 s9 C8 h
  815. ; http://php.net/upload-tmp-dir
    1 r) j3 A0 S4 @8 ^: ^% O' h! U
  816. ;upload_tmp_dir =' ]1 L$ G: J' U$ E0 \: {. \
  817. 5 J% p$ B% z. L0 }) B# H
  818. ; Maximum allowed size for uploaded files.# g/ M! w, j  j
  819. ; http://php.net/upload-max-filesize) f* c9 k6 G* S  J6 Q: [
  820. upload_max_filesize = 50M) m: ]8 A! L0 c7 h

  821. 7 e" |3 C8 y& H% o, [6 ?
  822. ; Maximum number of files that can be uploaded via a single request! y# K9 P$ P1 }: Q' d3 C
  823. max_file_uploads = 20
    8 t4 L2 Q: J% n- o1 _

  824. ) P2 S# u/ ^* G9 ?6 E# G
  825. ;;;;;;;;;;;;;;;;;;. Q9 L( v) }1 b/ v4 |* D8 }
  826. ; Fopen wrappers ;$ e$ Y: t2 P- j6 U+ @2 y8 r7 b
  827. ;;;;;;;;;;;;;;;;;;/ v' |, N) i/ Y$ Y8 a9 h$ ~
  828. 6 x7 O' r$ M! ?: Q5 G
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    " ^$ _' i# d0 F
  830. ; http://php.net/allow-url-fopen
    8 W! _' t2 w/ E
  831. allow_url_fopen = On, R( T7 O  [6 N
  832. , _5 D" j* h6 n# x6 S
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.) v2 u4 z# Q6 ?
  834. ; http://php.net/allow-url-include
    * k* C* s* O2 B; j+ G
  835. allow_url_include = Off! ], u. f) u- M
  836. / j: r6 U7 V5 U; b+ }% |! a
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    # D. a' J6 o/ q
  838. ; for this is empty.
    1 {$ M3 T; \+ ]) r
  839. ; http://php.net/from/ _. A  h, H8 O4 S, Q# n; P5 D
  840. ;from="john@doe.com"/ A  P9 l% D# a, r

  841. 2 D+ h* e- X/ [9 t* w# a9 R+ T7 T
  842. ; Define the User-Agent string. PHP's default setting for this is empty.+ z* H4 i! F& }4 T3 I
  843. ; http://php.net/user-agent
    0 I+ ^" ^9 n& }1 c! s
  844. ;user_agent="PHP"
    8 b2 B' a! q. [( N$ @
  845. $ e, G( P  \. \/ }. p* S  z! t
  846. ; Default timeout for socket based streams (seconds)+ u0 F/ Q  D( G5 T
  847. ; http://php.net/default-socket-timeout, Z& h7 L2 E/ U$ H6 Y7 U4 Z/ F
  848. default_socket_timeout = 60
    - W, y' C' p$ Q  m% B$ q
  849. + `. ]+ K+ Y# t- z
  850. ; If your scripts have to deal with files from Macintosh systems,
    5 \1 l% k( i5 c& p" q5 p# T
  851. ; or you are running on a Mac and need to deal with files from; w6 k$ ~, B& s) M4 x
  852. ; unix or win32 systems, setting this flag will cause PHP to' k* ]& M2 v0 ?( G
  853. ; automatically detect the EOL character in those files so that
    - V( U4 `, j* O4 r& o. S
  854. ; fgets() and file() will work regardless of the source of the file.
    * ?1 B/ H5 M9 H! T% I6 [
  855. ; http://php.net/auto-detect-line-endings
    $ V( K. a) X% l" ~  k
  856. ;auto_detect_line_endings = Off$ T: D/ \4 U( S; J+ C1 R
  857. , P+ s5 y3 @( a% m: u4 k
  858. ;;;;;;;;;;;;;;;;;;;;;;
    4 I- G/ W5 F2 [; |
  859. ; Dynamic Extensions ;/ G. J4 C8 M8 B3 Z4 E: C1 Q( E: M
  860. ;;;;;;;;;;;;;;;;;;;;;;' Q2 f% ~9 y& @  o7 D* b; y
  861. # i6 h  e. p8 @. Z, m7 D& p
  862. ; If you wish to have an extension loaded automatically, use the following
    : `8 p  Z) H5 \# K
  863. ; syntax:, P7 K' M0 L' p  J. D5 ]
  864. ;
    ' o/ ^: h2 T( v0 f; |- \+ {
  865. ;   extension=modulename.extension: Y% F3 }/ J5 x& ]  L# m
  866. ;
    . E% r0 ~/ S: w$ S7 E3 o9 p- Q
  867. ; For example, on Windows:
    : A' @1 P6 Y: [' O3 l9 X
  868. ;
    8 E) I8 D+ s4 E2 J
  869. ;   extension=msql.dll
    $ }; f7 |; b# k1 `% w  m
  870. ;
    ) [+ T6 f! w. f6 q+ M6 u  f+ `; D
  871. ; ... or under UNIX:' u1 a4 x- Z" F; c2 I- v
  872. ;$ [; O7 N9 u* V; u3 W
  873. ;   extension=msql.so6 Y# |; Y7 `: X9 r
  874. ;- L4 l/ p# f, x
  875. ; ... or with a path:8 ]/ M$ h( H, s  C1 [2 ]
  876. ;. Z$ G; u3 u- Y
  877. ;   extension=/path/to/extension/msql.so
    1 p8 \3 D4 o3 ^# }
  878. ;
    1 `4 f! w, L6 x, P) O) O
  879. ; If you only provide the name of the extension, PHP will look for it in its" T6 ]3 \1 n% @9 f" R( ?, w: V5 k; F- ?
  880. ; default extension directory.
    . k. m4 b0 r+ m3 e) M1 }
  881. ;) z% Q0 x- N/ q( t& v2 s
  882. ; Windows Extensions+ O4 @' E7 V6 g. B
  883. ; Note that ODBC support is built in, so no dll is needed for it.- ^* k; W, n0 ^' \9 R
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    0 f( ~$ Z8 ^- X+ w
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).% v) N* L' Z1 [/ i
  886. ; Be sure to appropriately set the extension_dir directive.. E" n! w3 l& K) H% J
  887. ;
    " ~' U" T) A7 {4 q
  888. ;extension=php_bz2.dll
    + J* f- k4 B) Q. V. R! x1 v, q
  889. ;extension=php_curl.dll
    $ Q' P9 t3 q3 G6 r+ }5 J; u
  890. ;extension=php_fileinfo.dll" t9 L3 B, u" l# f
  891. ;extension=php_gd2.dll
    4 p# |( K- u( s$ @9 s8 W, G
  892. ;extension=php_gettext.dll
    % q% S) D6 f+ H6 \2 j5 b4 p* l
  893. ;extension=php_gmp.dll0 U/ d% p7 J: y" B/ l. X
  894. ;extension=php_intl.dll
    9 l; @1 \' `7 X+ J1 N2 O
  895. ;extension=php_imap.dll6 v- r8 S8 o# w; `$ \. _
  896. ;extension=php_interbase.dll
    * G7 D" m/ I" b8 x8 H+ c
  897. ;extension=php_ldap.dll
    / n  }) i$ u& R+ y: I
  898. ;extension=php_mbstring.dll
    " e8 o4 h: |( B9 U$ v+ r2 N  \; }
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it! ]! _: |* \. @* {- ^, G
  900. ;extension=php_mysql.dll
    : D% ^0 ^" y, V: F; @* [# d
  901. ;extension=php_mysqli.dll2 i$ {1 f/ f0 N3 S+ T' l
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    & K7 a2 y8 \% V" q. l
  903. ;extension=php_openssl.dll: v% g" E* `4 M( S, A
  904. ;extension=php_pdo_firebird.dll
    % c$ E# d% s! R+ y. S( V) @, k/ L
  905. ;extension=php_pdo_mysql.dll, N+ d7 ?% b+ ^& L! I( x
  906. ;extension=php_pdo_oci.dll7 g2 U. N/ A8 ~4 |0 s+ [! V2 H0 @5 ?# X/ B
  907. ;extension=php_pdo_odbc.dll
    ( o5 O  `8 i: n# m' l
  908. ;extension=php_pdo_pgsql.dll
    & L: y4 F# }7 @% I3 M, }' ~5 N
  909. ;extension=php_pdo_sqlite.dll
    ; R8 r9 t( a0 a& R$ V! @
  910. ;extension=php_pgsql.dll
    ) t0 L  z+ ~! {# Z0 w
  911. ;extension=php_shmop.dll: v, a# M( z( ]+ B2 Y, n

  912. 7 M3 Z7 Y9 o4 a$ v# C  X. ?
  913. ; The MIBS data available in the PHP distribution must be installed.
    # i' v& f0 n# H* H
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    6 c+ S, q. q1 m- b6 K  W, G
  915. ;extension=php_snmp.dll% I( V& T( h2 v  x; f

  916. ! Y6 {3 L; h$ ~* n' a- s
  917. ;extension=php_soap.dll/ Q2 P# }) E. j" H
  918. ;extension=php_sockets.dll$ F. K) e0 W2 f" o
  919. ;extension=php_sqlite3.dll
    0 R; T( [/ J3 d7 ~3 M! A- Q0 D7 o
  920. ;extension=php_sybase_ct.dll4 Y4 ~- Q) w5 l8 d3 @' J- l
  921. ;extension=php_tidy.dll2 b- ~' r& ?% g% z
  922. ;extension=php_xmlrpc.dll, H  Q1 k$ j! X
  923. ;extension=php_xsl.dll
    ( [, Z: J* }6 D. D
  924. + f, x' T6 _; a& |" z' R+ d
  925. ;;;;;;;;;;;;;;;;;;;
    " h: I& X# N8 P3 o/ Y
  926. ; Module Settings ;
    , Q, D1 g% ]) P0 X
  927. ;;;;;;;;;;;;;;;;;;;
    & g# m( \$ y- J6 _: B# {

  928. 3 C5 L* W9 ~% l/ L5 w% U; _
  929. [CLI Server]* W* s9 p/ F7 L8 k( q5 C, S& I
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    ) F0 q. n+ |9 [8 M5 Q' ]8 K
  931. cli_server.color = On
    + i3 \/ M) H4 j

  932. , b7 W0 J6 c9 S7 S2 R
  933. [Date]8 K! ]; u3 R  P8 d) @' ?. J
  934. ; Defines the default timezone used by the date functions
    ) }0 ~0 w1 W+ J! t5 {
  935. ; http://php.net/date.timezone
    ( p; e' @. _7 @# Z
  936. date.timezone = PRC4 D1 P. l+ o3 C; M, L

  937. . D; R0 t! k" p5 e
  938. ; http://php.net/date.default-latitude( ]% ~# U2 p& s
  939. ;date.default_latitude = 31.76677 C$ h: [4 L+ {) F
  940. 7 H/ V0 j$ S6 _6 c+ q; I+ d
  941. ; http://php.net/date.default-longitude( c1 Q& _. `$ ~+ m$ f
  942. ;date.default_longitude = 35.2333
    ( c. l3 g& B8 c4 ^- W: D' q
  943. ( i" C2 z7 B0 ?* e! ^( Q
  944. ; http://php.net/date.sunrise-zenith
    3 o: F' c" _% {0 g1 a5 H8 v
  945. ;date.sunrise_zenith = 90.583333- f, E* h% C) l" v; ^+ h; ?' S% ^: i; j
  946. 8 F6 g# z, L5 c' g/ Z2 t, v
  947. ; http://php.net/date.sunset-zenith* v" v2 r# m3 G3 N2 \& j
  948. ;date.sunset_zenith = 90.583333
    , t; E3 s& g& W

  949. " ^) `: u# u  I! \+ d$ L) j" Y0 ^( P7 u
  950. [filter]0 t) F8 L+ G6 w3 L# Q8 T+ {
  951. ; http://php.net/filter.default; U5 _% Z% B0 n# Z# Q
  952. ;filter.default = unsafe_raw- I+ F: f2 M1 r3 f" }% ^3 M' \

  953. 4 b2 B, p7 K( |1 q
  954. ; http://php.net/filter.default-flags0 @5 R) P# U& q2 Q& f1 E. j- W
  955. ;filter.default_flags =
    0 ]6 I( C+ V# @- t+ L
  956. ! D( ?3 \+ a4 J
  957. [iconv]  f* T( V3 ~0 ^9 o  g
  958. ; Use of this INI entry is deprecated, use global input_encoding instead./ n+ n8 J7 M# X
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    : [2 p7 I% z. O" S. y- b' M( R
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    1 j2 d$ S+ d! z; S* W9 l6 Q2 V
  961. ;iconv.input_encoding =6 W  U( \9 Z; a. Y
  962. + h4 O; V' A* q+ f% n# G
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.4 b7 n. d% E) G4 I
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    6 p( s7 M  F- N. E- `# _
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding! j- ?1 o* q7 R2 f; k9 m
  966. ;iconv.internal_encoding =
    1 A5 `: a; @4 E

  967. 0 @! b" _+ a/ v# l6 M; S  ]. t4 [# T
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    4 ^. N4 U8 O, A2 @
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.) ~- w2 X6 ?$ b( A; R& s) P6 u" u
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    4 N$ W; e8 Z  v( [  x5 T' G
  971. ; To use an output encoding conversion, iconv's output handler must be set# D* m- |6 r* Y' M8 M' g: `! L, y+ R, i( j
  972. ; otherwise output encoding conversion cannot be performed.5 r* B3 D; z. u; c
  973. ;iconv.output_encoding =( R- Z# \/ O) _: O1 S. T) u

  974. : d- l9 C  F( \1 G: G
  975. [intl]
    / w$ S9 a5 q, A1 Z& ?& w  R
  976. ;intl.default_locale =( Y8 q( F8 C% g/ y1 ?1 w" N
  977. ; This directive allows you to produce PHP errors when some error5 \  D+ k8 ~* Y
  978. ; happens within intl functions. The value is the level of the error produced.. D" N' V0 [) C- P
  979. ; Default is 0, which does not produce any errors.
    : K  O) r; r# G: _% ^8 p
  980. ;intl.error_level = E_WARNING
    % p+ V4 w) m" S! u
  981. ;intl.use_exceptions = 0
    0 f& V4 r1 u! D8 G( ?1 h. ?3 C0 i. Q

  982. 5 |; b$ _% y) e* W7 X1 v( L
  983. [sqlite3]
    3 G- Q% O3 f9 Q0 T
  984. ;sqlite3.extension_dir =# v' y# s# ^0 l6 X/ K- S
  985. : c2 u/ d% k$ }, z: z: L( p' j- [
  986. [Pcre]
    9 R3 y5 w- z( Q1 @
  987. ;PCRE library backtracking limit.
    * H( _/ [- Z( q& _9 g5 H4 ?
  988. ; http://php.net/pcre.backtrack-limit. D1 Z- `3 T: S; f; K! p1 A
  989. ;pcre.backtrack_limit=100000
    $ \0 e: j( F5 k
  990. 9 A; _3 C. F3 U% l& z" Q  s
  991. ;PCRE library recursion limit.
    * n' a- x" I5 |+ Q6 U
  992. ;Please note that if you set this value to a high number you may consume all
    3 S% N, [! ^: G) L3 w4 ?
  993. ;the available process stack and eventually crash PHP (due to reaching the
    - G$ Y+ }. @' w+ ~, k! V4 C( [" b
  994. ;stack size limit imposed by the Operating System).
    " v9 g1 k2 `4 M4 x8 O# a/ b
  995. ; http://php.net/pcre.recursion-limit
    ! x! S6 F& ]3 P2 o# c  q0 C
  996. ;pcre.recursion_limit=100000) M5 g, L* Z8 o3 A, ?) A2 m
  997. 2 m% v6 k1 X0 J" c# {
  998. [Pdo]: N: y0 Z) L% p4 I- _! z
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"6 f% t! J% f% U
  1000. ; http://php.net/pdo-odbc.connection-pooling
    2 q) _7 p1 q% ^$ ^; U) `* D
  1001. ;pdo_odbc.connection_pooling=strict
    / P* }2 p. d9 x3 U, a% G, j
  1002. 3 i8 l4 Z* `5 {8 y
  1003. ;pdo_odbc.db2_instance_name9 r) [4 E3 L1 B( [( T
  1004. 6 L4 Z) m7 x' r* V2 G% T+ X
  1005. [Pdo_mysql]
    * \( I* {5 ^# R* L
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache5 a. i* g6 q0 @
  1007. ; http://php.net/pdo_mysql.cache_size  v8 t5 C8 U! n2 |4 k' {5 m+ C
  1008. pdo_mysql.cache_size = 2000
    - Z6 \; D) l2 t% q( S

  1009. " d6 s* s% s% T0 h/ C% i; s$ V: ?
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    7 w& N* A) r* W' U' c6 R1 t
  1011. ; MySQL defaults.
    : T. i5 ~& B& p7 ~8 T+ Z7 G
  1012. ; http://php.net/pdo_mysql.default-socket
    7 }: W1 |7 ~. g; `% A6 d
  1013. pdo_mysql.default_socket=$ L8 s% S. X2 I; B3 B1 c2 G

  1014. & J, k* Y" |: A- q$ @3 p7 I
  1015. [Phar]' p/ u/ d4 k- m, Y3 r, t1 b/ |
  1016. ; http://php.net/phar.readonly8 _5 r9 l4 g5 |% G  |; _
  1017. ;phar.readonly = On$ A7 R& `8 `5 ]( C

  1018. ) |3 q5 h- J0 f1 _: ?. Z' c, T6 p
  1019. ; http://php.net/phar.require-hash
    6 Q# T% n* u6 Y$ h( c
  1020. ;phar.require_hash = On1 s4 I( h% O4 \4 ^! p
  1021. , l" C( A7 J( {: s& |0 m2 H6 P' R: N! k
  1022. ;phar.cache_list =
    8 i, P- a9 r8 m7 F
  1023. ) H# W+ E2 g/ v! [2 Y. T+ j
  1024. [mail function]
    ) V( T7 c( V* m$ E/ y  U+ j
  1025. ; For Win32 only.+ ~! M3 g. z2 e: ^. }& U$ L
  1026. ; http://php.net/smtp
    " m  O; o# a: z) x$ a0 }/ C4 m% @% A
  1027. SMTP = localhost
    ' n6 v% @$ c/ M& c5 v
  1028. ; http://php.net/smtp-port7 Z! q  {5 P) b# q( o# M
  1029. smtp_port = 25
    + T5 Z- J: d# C* `6 s& h/ Q3 s

  1030. 8 H/ E4 V1 a  q  q! @
  1031. ; For Win32 only.1 j$ ^% j0 O$ x' Z
  1032. ; http://php.net/sendmail-from
    & d. }- }* r6 R( ?! A/ K; p
  1033. ;sendmail_from = me@example.com
    $ |% t; h! i( _7 [; U* V' ], z2 I

  1034. 1 A" O. o+ X, e& }
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").3 P  x7 K% i& Y; b# C9 Z( l
  1036. ; http://php.net/sendmail-path7 N6 J& W3 g, U, Q* c5 F8 f
  1037. sendmail_path = /usr/sbin/sendmail -t -i; D- M6 q. s) ^/ m4 j3 u
  1038. ) J: c7 n5 E( j" x
  1039. ; Force the addition of the specified parameters to be passed as extra parameters  `7 F3 ]# b/ ^7 i
  1040. ; to the sendmail binary. These parameters will always replace the value of/ R6 }8 i9 g4 b
  1041. ; the 5th parameter to mail().5 |* x) y* c$ k* o, q' n" M
  1042. ;mail.force_extra_parameters =
    6 R( w8 ]$ i, ]
  1043. 2 }* T, u" @  S4 {# f
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename' n7 J& e7 c* s) Y' R& l& T- v& S
  1045. mail.add_x_header = On& u( K/ Y7 c7 O8 i) v1 e

  1046.   U) D* `6 }( V
  1047. ; The path to a log file that will log all mail() calls. Log entries include9 z, {& D% P7 X( Q% x: m: y
  1048. ; the full path of the script, line number, To address and headers.
    + v6 ^. L* B) A
  1049. ;mail.log =5 C4 r2 T1 B9 K( b) P9 \: P
  1050. ; Log mail to syslog (Event Log on Windows)." q( Z1 Q. j  ]! s- N; F8 N. a$ A! ^
  1051. ;mail.log = syslog
    + i$ y8 q* C3 ?1 h3 C

  1052. 6 ^$ f- M7 y; }# i% q# g. `
  1053. [SQL]
    % h" i7 f& Z" T, q) D
  1054. ; http://php.net/sql.safe-mode8 y$ _, p4 H' S
  1055. sql.safe_mode = Off2 i- E* t- z4 B3 p  D/ W5 N
  1056. 1 x% h* c9 ?: x* L( D  S* a: H
  1057. [ODBC]1 F0 v3 u8 R- E0 I
  1058. ; http://php.net/odbc.default-db
    $ H6 l4 v; I) k$ [/ Y6 o
  1059. ;odbc.default_db    =  Not yet implemented
    3 G, i  X! @$ Q4 \* {

  1060. ) H# `1 J$ ~+ [% H
  1061. ; http://php.net/odbc.default-user1 c& O( f1 }2 \3 {, ~+ C
  1062. ;odbc.default_user  =  Not yet implemented! ~- D1 v5 \+ Y/ D0 A' ~

  1063. & Y# x0 d2 Z0 |3 @
  1064. ; http://php.net/odbc.default-pw8 N" G) U# h9 q, k& h5 k8 }
  1065. ;odbc.default_pw    =  Not yet implemented
    ; c' ]3 T# l4 X$ ]2 B

  1066. $ h+ ]. \4 u! \9 U4 _- i
  1067. ; Controls the ODBC cursor model.
    . w$ z' O$ b8 @5 a" |5 @: i" }
  1068. ; Default: SQL_CURSOR_STATIC (default).
      X6 o  D+ _- f; ]
  1069. ;odbc.default_cursortype$ N) i2 n% V" P
  1070. . N3 a8 g/ I  L- Y& A
  1071. ; Allow or prevent persistent links.0 V4 Z8 y9 p0 n3 ]: ]
  1072. ; http://php.net/odbc.allow-persistent1 Z* g- s# v! h) j$ h* q1 A4 R
  1073. odbc.allow_persistent = On
    5 v  M& a, @8 n( L

  1074. $ U' @7 E/ B" n3 |, K* J) x
  1075. ; Check that a connection is still valid before reuse.
    ) u; i* O: f' a; X. a
  1076. ; http://php.net/odbc.check-persistent/ ^7 O+ b- ~+ l2 R; D3 m9 Q
  1077. odbc.check_persistent = On' D5 ?1 o5 a( U) g/ v+ g- w, d, q
  1078. $ c8 E6 c( O4 S5 J$ k6 A# E5 E; u+ N
  1079. ; Maximum number of persistent links.  -1 means no limit.
    ' }. |+ r" H" r
  1080. ; http://php.net/odbc.max-persistent' @$ L  d* w( S3 h
  1081. odbc.max_persistent = -1+ \. }% ?- q) J

  1082. " v. D4 Z/ W; ?
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    & k& V% m5 }/ u* ~7 N& V. {
  1084. ; http://php.net/odbc.max-links
    / Y; P+ C( f) N9 ^" n% a6 S" b
  1085. odbc.max_links = -11 J6 ^" e% V% D4 y7 Y8 s2 V

  1086. 1 e4 ~: f% [! ~1 \* c& x4 H* v
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    - T+ i( x; j6 u) D4 s, B3 o' S
  1088. ; passthru.9 w* a5 j- |/ ?6 X3 }, f" H  F
  1089. ; http://php.net/odbc.defaultlrl4 S* H2 E: F& D
  1090. odbc.defaultlrl = 4096
    - F* V4 Q/ X* ]+ k( J' b% H
  1091. 7 f1 I1 R5 a% D( O
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.' k+ K* w- ^0 e7 K  O( @% d
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation) f7 d  R/ [: I5 M
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode  n2 c( e+ ]- W6 \8 t3 f
  1095. ; http://php.net/odbc.defaultbinmode
    2 L8 Z0 }. j1 H$ A
  1096. odbc.defaultbinmode = 1: K) `# E! Y% s, L

  1097. 7 i) U: P! J1 I. X& {0 h: ^
  1098. ;birdstep.max_links = -1/ z" o' n4 ^5 N* @/ o
  1099. & U4 v" E4 M1 L4 q$ `
  1100. [Interbase]+ g/ @" y5 x4 I& s+ \$ z
  1101. ; Allow or prevent persistent links.
    7 w6 r4 F+ \1 D4 k6 v
  1102. ibase.allow_persistent = 1; m# e5 m" t6 I% ]
  1103. + T) [! \0 k; ^: n+ }$ V. |' J' L. z
  1104. ; Maximum number of persistent links.  -1 means no limit.9 B$ |$ Y, u+ P  Q. m2 F
  1105. ibase.max_persistent = -1
    & I" j" O- {% d. h
  1106. * I3 s; Y& H. f: Q
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.5 g0 N- U  q& N3 u$ t. C
  1108. ibase.max_links = -1
    * L# @% Q/ `: M! T$ f! E  z# V

  1109. + ~0 ^8 ~' F- r7 c& P) |
  1110. ; Default database name for ibase_connect().  ~  c6 m1 `8 l2 G8 j0 m* q2 R
  1111. ;ibase.default_db =" }$ L9 v$ W/ V8 C8 ^, E2 c; K4 F

  1112. 5 Y; @7 G0 Y6 f' P
  1113. ; Default username for ibase_connect().
    0 m) }0 b# H& c! K
  1114. ;ibase.default_user =$ C$ c# z' d9 L/ T
  1115. / }5 [1 W" Y3 n1 q
  1116. ; Default password for ibase_connect().
    - z( b8 t# b& a, @
  1117. ;ibase.default_password =
    : J1 o  v+ O# R
  1118. " u$ ?7 ^; H$ _% m
  1119. ; Default charset for ibase_connect().
    2 `3 u: m' N% l, j, N$ X5 E
  1120. ;ibase.default_charset =$ X* y% g7 b7 ]& [7 ?4 J5 ?# Q! C, h

  1121. ; K7 U: ~6 g" W# A4 O" w
  1122. ; Default timestamp format.2 i/ g6 O1 h8 L: v: T
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"! H# V  e" Y6 \1 M# C& V

  1124. ( B$ ^9 I7 P( f- M+ p. p7 u' o& P5 u* t
  1125. ; Default date format.9 D3 W9 @' Q; b- T, Q4 H) C# o' H
  1126. ibase.dateformat = "%Y-%m-%d"" P& o. |3 y' ~' W

  1127. * n' k2 |' E3 k, a
  1128. ; Default time format.! c' N/ o7 H" G$ g+ I! u% a
  1129. ibase.timeformat = "%H:%M:%S". m1 u9 R* Y# _* G1 k
  1130. + z2 H- W# U0 Y, R& k: T& L4 Y0 h, f
  1131. [MySQL]% g- C- J: h6 L! X* x. q$ y* {# O
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    / R3 c2 E7 J6 Y) Q* F. s; W
  1133. ; http://php.net/mysql.allow_local_infile6 J8 G0 w+ F" b3 I
  1134. mysql.allow_local_infile = On8 f9 b) V- g5 d: }1 S/ a+ B

  1135. $ t% k: @3 y" O1 M/ x8 N& W
  1136. ; Allow or prevent persistent links.
    4 }0 `+ }6 W9 a- Y! h
  1137. ; http://php.net/mysql.allow-persistent" I6 c' {$ |; U
  1138. mysql.allow_persistent = On
    9 b1 n1 \& a- r  I& `* Q# @7 p$ X
  1139. , m, s' _3 G: h1 M7 W7 u
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    5 @3 S3 a8 g6 S; T
  1141. ; http://php.net/mysql.cache_size7 o- f7 T/ |4 H  A
  1142. mysql.cache_size = 2000  N2 t* h  K3 s  z/ O: a

  1143. , t) X9 A+ x: r) I* x
  1144. ; Maximum number of persistent links.  -1 means no limit.7 X5 l9 P1 j/ {9 U1 k) C5 e
  1145. ; http://php.net/mysql.max-persistent
    ) t! }$ r% M, h: D
  1146. mysql.max_persistent = -1
    " g+ Z/ W: r3 I  @
  1147. ; e0 ]; ?) D" t+ V
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ( M1 ^/ d0 C! i$ B( @! G& I
  1149. ; http://php.net/mysql.max-links
    & K/ \7 f7 s, y) {( N5 {
  1150. mysql.max_links = -1
    " y3 D& f6 V. w$ ~
  1151. , ^. ?. P# t9 A9 h1 w% @& S7 Y
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use" U* ^% V7 J4 R+ O8 Z
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    3 {: M3 C) }4 p4 I4 L
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    5 c2 _2 W0 U" x1 z0 Y8 O
  1155. ; at MYSQL_PORT.5 F+ b* U" J/ n2 x2 Y5 |
  1156. ; http://php.net/mysql.default-port
    ( T% f, `  m! o1 b$ s5 B% N
  1157. mysql.default_port =
    $ e3 F$ ]# J0 t! T  k

  1158. . [+ K" V' u) }2 E9 k  ]
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    " G) \8 j% A; h" v# ?& d( `9 P+ T. x9 x
  1160. ; MySQL defaults.
    2 i, T# x% m; Q! p0 @, O9 T
  1161. ; http://php.net/mysql.default-socket3 W0 H& Q0 x  |  w' c. s2 e
  1162. mysql.default_socket =+ C3 ^3 r9 _: i* G/ A

  1163. 5 f: w- r, Z  `1 C) s3 k2 I8 B
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).7 ?5 E# Z/ Q8 N! U9 q
  1165. ; http://php.net/mysql.default-host/ B: B1 q/ }7 _) u! X* ^
  1166. mysql.default_host =& R; s# N+ h- J4 H
  1167. ; U. W) G: i+ O: [! A; ~6 w, l
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    3 A1 G( L8 B: [  j7 C' }' H( z
  1169. ; http://php.net/mysql.default-user
    : r, o7 B- a  U  A; [
  1170. mysql.default_user =
    % r9 U. I! q. H
  1171. 4 o# ~; Q$ t7 F, i5 @) f
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    ! _+ m. l5 o# d, t
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    * @; r6 M9 E0 S6 q+ F1 g# {
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")/ Y) U' A+ ?1 x4 w( N& {3 m* Z
  1175. ; and reveal this password!  And of course, any users with read access to this
    : E* W) C; I( e7 ?
  1176. ; file will be able to reveal the password as well.
    * ~7 R) q4 E0 W! H
  1177. ; http://php.net/mysql.default-password
    + K- n! J- R. D+ I! L/ {6 c; F
  1178. mysql.default_password =
    - K2 g1 C* }9 R$ p* J1 k& e
  1179. 3 P- e& Q2 ?3 a! t4 l
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit2 m# Y8 d5 U! Z: G5 E9 ?: n
  1181. ; http://php.net/mysql.connect-timeout
    . s9 c+ ^" J4 _) y0 H& T' F8 h
  1182. mysql.connect_timeout = 60( [6 V8 N3 p+ X
  1183. ' F( _" g! @3 b6 T8 ]* d
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and. K$ |3 Q7 Y1 s' v
  1185. ; SQL-Errors will be displayed.
    % ?8 p' o3 C% D( e5 Y  ^
  1186. ; http://php.net/mysql.trace-mode
    / N! V  ?* o: @
  1187. mysql.trace_mode = Off
      O! ?; }5 x$ m8 [0 b( a# z

  1188. 4 X' \: i0 A, {
  1189. [MySQLi]
    6 w6 R: I6 u" Y, W! e
  1190. & d3 w# e/ l3 K8 o% I. q) c8 k/ p
  1191. ; Maximum number of persistent links.  -1 means no limit.$ D+ t& D9 R- S6 a9 T
  1192. ; http://php.net/mysqli.max-persistent
    ( r6 ~9 b& X4 e4 c
  1193. mysqli.max_persistent = -1
    4 |) X& o/ Y. z
  1194. . ~0 v( s! m! r) ^4 E
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements  t+ P( S* T7 V# L$ p
  1196. ; http://php.net/mysqli.allow_local_infile6 P  J' l" x% v$ O
  1197. ;mysqli.allow_local_infile = On
    + P" L, R4 w0 X" d0 x) ~. l4 A* g
  1198. ) D, \8 _) W; P* e( F& K3 I
  1199. ; Allow or prevent persistent links.+ M" n+ N" z/ q
  1200. ; http://php.net/mysqli.allow-persistent. u4 S4 j- Y/ ]: B
  1201. mysqli.allow_persistent = On
    ' S- V9 A7 a( a5 Y1 q, f
  1202. ) G& {( z* Z1 ~2 \# x* G
  1203. ; Maximum number of links.  -1 means no limit.
    5 J% ~; e( r4 `5 ~
  1204. ; http://php.net/mysqli.max-links
    ; Z& ?1 ]3 m# S  K- {
  1205. mysqli.max_links = -1
    & ~" h* b, K. `, s
  1206. + ^. ~. }$ b  r: J$ M
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache( D% @3 C, h4 S: S2 ~: r5 u. P
  1208. ; http://php.net/mysqli.cache_size
    % H4 d# ?) F3 t3 s
  1209. mysqli.cache_size = 20007 i, ]9 Z, C3 a4 W( }' P

  1210. ! D1 V; i3 p3 c
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    " M5 @! q4 N+ \& d5 z- G
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    * d5 o! s/ P8 Z
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look+ `+ R1 ~+ {$ A* W3 X
  1214. ; at MYSQL_PORT.
    ; P; O9 W  \( |- n. {- H
  1215. ; http://php.net/mysqli.default-port
    2 [+ L3 ?. W5 {( ]
  1216. mysqli.default_port = 3306
    7 O  }2 `& \+ \( l- @  f
  1217. ) l, J' [$ X- A. A9 j0 n( o3 V
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    6 u! l7 ^" _3 e$ k  \
  1219. ; MySQL defaults.
    + l# ~5 N0 z2 x0 c
  1220. ; http://php.net/mysqli.default-socket& a: g3 Z( G, F# D& j0 Z2 n8 K
  1221. mysqli.default_socket =- Q3 \4 X  t: e+ m1 `' b
  1222. # |3 i/ V+ J! I  {
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).& [" @; u- T' T, v0 a
  1224. ; http://php.net/mysqli.default-host+ A" f  }" j0 k5 E5 }
  1225. mysqli.default_host =
    * P' u* w5 `1 g, X: f

  1226. ) C0 u5 H, @0 k* T) c( H8 k
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    . o" [4 Z7 J) a# y7 M8 X# H) r
  1228. ; http://php.net/mysqli.default-user/ t! r5 ~. G6 T$ R/ C
  1229. mysqli.default_user =
    + P8 x% K( s  `

  1230. 2 {+ j& B/ [7 r
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).' x& s( k1 d  m7 G6 T2 ]/ s
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.2 l) _- K+ e9 d. w, ^$ [& g# _
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    & v- N  h+ |. j' K' I6 Q
  1234. ; and reveal this password!  And of course, any users with read access to this7 Z( g1 M# @+ f/ A- F2 z$ O
  1235. ; file will be able to reveal the password as well.
    9 B" l- V3 `& X& q( a: s8 c; |
  1236. ; http://php.net/mysqli.default-pw3 E+ X, D; p& J. `/ F- h
  1237. mysqli.default_pw =
    ; C* x0 ]  P. w( T& f% n& i/ y

  1238. 3 t3 c2 J( m+ o5 S1 K
  1239. ; Allow or prevent reconnect/ N" U/ u2 s& G4 j1 g& s
  1240. mysqli.reconnect = Off7 |9 _3 l: G% ~7 L, G% D+ a
  1241. ' S2 E! c8 y3 F% O
  1242. [mysqlnd]
    & n9 i# r* v' M! ~; W! v
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be" D2 x. U% U0 g: r4 F; @- R- e5 a
  1244. ; used to tune and monitor MySQL operations.5 d: f; |0 c# B7 {
  1245. ; http://php.net/mysqlnd.collect_statistics' [0 j1 q0 b# v. w! \/ q8 I7 i
  1246. mysqlnd.collect_statistics = On
    ( C% M1 V8 ~4 k" W+ o: ]
  1247. ( X! P" u4 Y% H% y0 y2 H& L# P2 n$ j- A: n
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    $ b5 o( N/ o) o$ W; A2 P
  1249. ; used to tune and monitor MySQL operations.) f, u2 {) b! v: E. f4 z
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    % `3 T3 `! u' g0 r4 o
  1251. mysqlnd.collect_memory_statistics = Off. T% G5 m5 e3 z; X+ R3 W& \- x
  1252. 1 }( a: Q3 z9 d' |9 u
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    2 y0 `# i/ Y9 ?  K' |
  1254. ; file.4 \6 F6 _: [9 T# u
  1255. ; http://php.net/mysqlnd.debug
    8 T" |! U" H0 T+ D7 e
  1256. ;mysqlnd.debug =) k1 v+ \  r6 F7 m  a6 b

  1257. 8 W% ~' k; ?/ H' |) n3 J
  1258. ; Defines which queries will be logged.  r4 q0 e! y* S: N. [
  1259. ; http://php.net/mysqlnd.log_mask% U! n' U& n, z9 w: [- f9 V" \) e
  1260. ;mysqlnd.log_mask = 0
    7 j7 [4 d6 l5 b- V
  1261. 5 G! S( U9 m$ {2 U3 D
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    " E7 [6 A) y. P
  1263. ; http://php.net/mysqlnd.mempool_default_size% q5 }- K1 T/ s9 Y+ e
  1264. ;mysqlnd.mempool_default_size = 16000
    9 T  m5 d; y5 v
  1265. & E) F8 |) Q& K0 V. A) m
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    5 h2 m" \# h. U$ v
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size2 z. O( t6 E+ l; x( Q9 \
  1268. ;mysqlnd.net_cmd_buffer_size = 2048  M# ^1 C, o0 z/ t3 O( [8 W

  1269. 4 S' ?" S: C, j- I: H* C
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in) m6 R5 [* z& x8 g$ [8 Z; E
  1271. ; bytes.
      k, U! a; |1 @3 K' b& h; G
  1272. ; http://php.net/mysqlnd.net_read_buffer_size. D' O+ B" E5 d( D# C! l
  1273. ;mysqlnd.net_read_buffer_size = 32768
    ; |! c0 ^& M! f2 I/ y, y

  1274. 2 H. {; G0 b2 P  J! H3 @
  1275. ; Timeout for network requests in seconds.
    2 Q, ]! ~  p! k6 v2 }
  1276. ; http://php.net/mysqlnd.net_read_timeout- |0 Y/ S' A; Q
  1277. ;mysqlnd.net_read_timeout = 31536000
    ) ]8 D& o; V; G! \% p' [) w5 h
  1278. - G0 W: V6 m2 }3 V5 K$ r
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA* }# ~- F7 y- Z& ~; e* B0 r
  1280. ; key.( W9 C( j% c$ g9 p: K
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    1 y$ F" G0 L& i' A5 o+ ~
  1282. ;mysqlnd.sha256_server_public_key =* M, I1 i6 y# M+ K& o% T

  1283. ' A" ]8 w6 S) Y+ t1 O& n
  1284. [OCI8]0 c: o. k( u" B/ A
  1285. 6 y/ y% ]" u2 I' C% V
  1286. ; Connection: Enables privileged connections using external
    2 b: X) v- g% Y. @! s) G0 M$ x
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)$ ^; @6 s5 B- |. T
  1288. ; http://php.net/oci8.privileged-connect
    8 Y, o/ M) ]8 L
  1289. ;oci8.privileged_connect = Off
    / }1 U) z; n0 c4 p+ r
  1290. : `. H& T) ^# e& k6 y5 G
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    / [. [) A5 r. j
  1292. ; process. Using -1 means no limit.; \- f, a2 p( N. U5 {6 \
  1293. ; http://php.net/oci8.max-persistent- c8 O+ ~- k" v; ~* W
  1294. ;oci8.max_persistent = -19 ?0 X. E' V- z+ V; h
  1295. ! N, i2 j& J# t! V8 I) L
  1296. ; Connection: The maximum number of seconds a process is allowed to' `: a" |) T* f
  1297. ; maintain an idle persistent connection. Using -1 means idle. o" f" M. b" q( r' e& W0 L  E
  1298. ; persistent connections will be maintained forever.3 {8 z0 U, ?( j
  1299. ; http://php.net/oci8.persistent-timeout0 @$ z' E) ?6 o7 y2 o/ `
  1300. ;oci8.persistent_timeout = -1
    - h7 V$ X6 [- E/ Y" e. X1 ~4 I

  1301. + r# a& Q9 t$ H) X
  1302. ; Connection: The number of seconds that must pass before issuing a$ ^6 ~) q4 B6 l; i# z
  1303. ; ping during oci_pconnect() to check the connection validity. When
    & g! |( o- u5 k8 V, |2 c
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    # {% o8 d3 J$ U
  1305. ; pings completely.
    ! x% A0 H; O! c: p/ e, T8 F- N  q
  1306. ; http://php.net/oci8.ping-interval, T# ~$ y$ W" V+ g
  1307. ;oci8.ping_interval = 60" b0 ?9 w2 @3 v6 A  s, J4 V( P7 i1 N
  1308. . I0 V6 i- _- J
  1309. ; Connection: Set this to a user chosen connection class to be used
    9 u3 Q& D3 `- g
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    6 Z' i3 P( d: T# F5 n8 Z' v
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to- |5 ]( n3 E6 w6 b3 j( _
  1312. ; the same string for all web servers running the same application,
    ) S: c* m7 K" n; z
  1313. ; the database pool must be configured, and the connection string must
    * J. @/ t' e1 b* f" B  s
  1314. ; specify to use a pooled server.' s. R1 J. [" J) M! a( P
  1315. ;oci8.connection_class =0 v. q4 D( _, d5 ~, {2 g2 V: |
  1316. ; Q: e% X4 M% K5 v; ?7 L$ z2 v
  1317. ; High Availability: Using On lets PHP receive Fast Application
    : v3 N! @+ P! F6 i. p+ c+ e
  1318. ; Notification (FAN) events generated when a database node fails. The/ N) K2 z% O2 _; `6 k' N
  1319. ; database must also be configured to post FAN events.6 X" q. T0 g: a
  1320. ;oci8.events = Off4 ^1 D' E3 r$ |# Z; K6 z( e/ n
  1321. ) d* A: s$ o( w* m0 A( {
  1322. ; Tuning: This option enables statement caching, and specifies how0 Q% ~3 U( i# v5 M: c4 a, {1 z
  1323. ; many statements to cache. Using 0 disables statement caching.
    5 d' x5 d! K: ^; u' _, m
  1324. ; http://php.net/oci8.statement-cache-size
    ' ^* H* r& x6 W5 S' d  i+ q
  1325. ;oci8.statement_cache_size = 20+ T& F7 R! I) W0 n/ `

  1326. # I2 Q8 V$ \' F: o. B
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    / R2 `0 E7 G9 U# v. s$ t  `; n0 x  a) M1 f
  1328. ; rows that will be fetched automatically after statement execution.8 j! W& c) x3 K1 Y, v
  1329. ; http://php.net/oci8.default-prefetch7 e' `1 h( D2 P5 r
  1330. ;oci8.default_prefetch = 100; T3 g/ \, j. q. B
  1331. : p8 d* p+ J. z
  1332. ; Compatibility. Using On means oci_close() will not close
    ) a3 w8 f* j. x8 n0 x  K3 i$ Y
  1333. ; oci_connect() and oci_new_connect() connections., ~7 `- ~) s* u$ A# A; p1 v
  1334. ; http://php.net/oci8.old-oci-close-semantics
    * k' ~6 g0 F2 C: ~# z& W7 w, d
  1335. ;oci8.old_oci_close_semantics = Off) \" l! h4 g. a9 w; A

  1336. 3 T3 Q9 P2 D* N" L! V
  1337. [PostgreSQL]
    9 B' D( o  k# x2 o
  1338. ; Allow or prevent persistent links.+ l/ B0 D% V6 \- U1 e9 r# h1 X
  1339. ; http://php.net/pgsql.allow-persistent
    ! D0 F3 J' g% I' D! ?' K' X
  1340. pgsql.allow_persistent = On4 |6 d. t7 Z. K$ T( w- C

  1341. / f5 V8 p% [  _
  1342. ; Detect broken persistent links always with pg_pconnect().; j1 d5 X2 |- q: K
  1343. ; Auto reset feature requires a little overheads.
    . V7 e) E  v0 H) a9 j/ C- ]
  1344. ; http://php.net/pgsql.auto-reset-persistent7 v. R+ ]1 b" ^/ E$ v
  1345. pgsql.auto_reset_persistent = Off
    ; m, H0 h, h& u+ z  X! ^
  1346. 9 \  ]' s8 A$ |3 _, U/ l
  1347. ; Maximum number of persistent links.  -1 means no limit.5 E: U9 b! `* ^& a
  1348. ; http://php.net/pgsql.max-persistent
    3 g  j+ G) l, `# r
  1349. pgsql.max_persistent = -1( N+ O4 s! ?0 H  c

  1350.   L% K" L; ~1 \% K! t% a; y
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.! @5 p& j2 G5 ?( ]6 M
  1352. ; http://php.net/pgsql.max-links
    , I" a9 G- n& ~/ Q
  1353. pgsql.max_links = -10 e9 l2 Z6 f7 @) j. G
  1354. ) C* F; s( g1 a% E
  1355. ; Ignore PostgreSQL backends Notice message or not.6 y/ m1 j8 z1 `$ B( w7 {
  1356. ; Notice message logging require a little overheads.
    9 W4 ^9 B0 F" s* D
  1357. ; http://php.net/pgsql.ignore-notice7 ~! R# a$ ^  e: G* O3 B; J
  1358. pgsql.ignore_notice = 0
    ( _! b$ H9 a) ?
  1359. 8 Y! D0 u/ ^: N. |, r
  1360. ; Log PostgreSQL backends Notice message or not.- l1 o3 p7 G, T; D
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    8 C0 b% l& K7 v1 f+ q' J
  1362. ; http://php.net/pgsql.log-notice5 _1 d1 m& D6 ?0 b* w
  1363. pgsql.log_notice = 0  r. |5 i+ g9 w6 E1 i

  1364. 8 F$ u. R: l" N9 y3 F3 W( X1 b2 L
  1365. [Sybase-CT]
    5 Y+ B( S  D; A3 J/ P( |0 a6 P( }) O
  1366. ; Allow or prevent persistent links.
    1 b: S' m0 \# o( v5 Q
  1367. ; http://php.net/sybct.allow-persistent* r* R) q) `6 A% e/ S! U
  1368. sybct.allow_persistent = On( B4 B* e! J4 I* r. w4 N  b* T
  1369. ; A* m* \' v( {" R
  1370. ; Maximum number of persistent links.  -1 means no limit.- x4 r; t  u2 y4 e$ n
  1371. ; http://php.net/sybct.max-persistent/ K3 P6 o/ p8 w8 @" `3 a& Z
  1372. sybct.max_persistent = -17 u) A7 V5 K, I4 u

  1373. : n  d" p& x4 H
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit., {% Q$ K0 J6 r4 A( ]8 }  R9 R
  1375. ; http://php.net/sybct.max-links. h3 \4 i% q1 b' Q/ G
  1376. sybct.max_links = -1
    8 R/ v$ M# T3 T9 @

  1377. 9 Q1 v# J  E. Z
  1378. ; Minimum server message severity to display.  }% F9 ^" h- i
  1379. ; http://php.net/sybct.min-server-severity) f1 O6 t) R0 @' C
  1380. sybct.min_server_severity = 10
    . m! H) D. w, o0 n

  1381. $ n/ J' |4 ~# o. `7 {! U( D5 W
  1382. ; Minimum client message severity to display.
      V* Q; B& a$ B8 J5 E5 C
  1383. ; http://php.net/sybct.min-client-severity
    ! W, G5 D$ [7 G& t
  1384. sybct.min_client_severity = 102 P6 Z# v  m" S7 r  e6 C
  1385. - ~. D5 N8 x7 F# d: \
  1386. ; Set per-context timeout
    ' C8 I9 k1 U5 w) w9 D  W( r/ m* c
  1387. ; http://php.net/sybct.timeout5 H# Z5 S  C+ R) G' C
  1388. ;sybct.timeout=
    3 h7 H! M) u7 D4 {3 x

  1389. 3 b2 B7 P8 C! \" m  k9 _; k
  1390. ;sybct.packet_size
    # V' G' H3 f% w# J" _8 U

  1391. - T/ K6 H. u. J( ]) j
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    0 J* \/ [4 r/ M: s/ p
  1393. ; Default: one minute$ ^! R$ K3 f) u% U/ a' D9 Y
  1394. ;sybct.login_timeout=$ ?* H3 P* Y* ~& l

  1395. 2 ]# D4 v. u! ~: Q, ]8 e1 F
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.4 W' d4 }8 z+ h1 }" h# Y
  1397. ; Default: none
    4 Z4 f& r# L2 X2 R+ H3 ^
  1398. ;sybct.hostname=
    8 b1 J7 _0 p. o0 j1 W  Q) C0 w; z

  1399. ) ]! H/ r' |- I' Y- ]6 x2 X2 R
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    7 m1 W& h3 W, _+ u' A1 Q  L
  1401. ; Default: 0" z& [3 ?8 A* C) A) z/ \
  1402. ;sybct.deadlock_retry_count=
    / f, t" C8 d; V+ v: i5 |
  1403. 5 r5 m+ T- L, m! t
  1404. [bcmath]
    ( @' I4 u+ Q4 z/ w
  1405. ; Number of decimal digits for all bcmath functions.
    " x) s  i. b! s0 Q3 q7 s: g
  1406. ; http://php.net/bcmath.scale
    3 a; U0 h* w' X7 b1 {
  1407. bcmath.scale = 0( H2 j/ N  o: ^
  1408. $ f" l& V" R6 M2 x
  1409. [browscap]
    9 c- q" ?/ c' B; o0 @
  1410. ; http://php.net/browscap
    & t9 p+ ^, d! ]2 R) j# V" p3 P
  1411. ;browscap = extra/browscap.ini: l! p* Z- D$ m2 w- i: r+ Y/ Y# H

  1412. ; B( x3 F9 l0 E0 i  y" z0 Q% c
  1413. [Session]
    ! U% o' k) N: b+ t! R" w
  1414. ; Handler used to store/retrieve data.8 e+ b6 P8 L( T, X5 }
  1415. ; http://php.net/session.save-handler
    3 S" m8 o: {6 j$ c
  1416. session.save_handler = files% t5 A, [( S: D5 u( s: {( I- z
  1417. " E3 P4 [# F. z
  1418. ; Argument passed to save_handler.  In the case of files, this is the path2 v6 r- I0 k- o4 w5 k0 j
  1419. ; where data files are stored. Note: Windows users have to change this+ }: j1 Z3 M4 Y# n0 r# y8 I
  1420. ; variable in order to use PHP's session functions.* @: [9 F5 D. v1 G  g; m
  1421. ;
    & J2 ?& G% V% r2 ]  [0 p
  1422. ; The path can be defined as:
    0 c0 t' W$ ?' Z0 ]! J" P
  1423. ;
    + p" a- Y% f2 t* h! K& W
  1424. ;     session.save_path = "N;/path"
    3 Q5 g; Y8 l( D1 N
  1425. ;8 u& l$ z' _  p% [0 r1 l; O
  1426. ; where N is an integer.  Instead of storing all the session files in
    & ?! l9 X) H1 l6 u. d, v* P% j
  1427. ; /path, what this will do is use subdirectories N-levels deep, and$ l! G% r0 T. q7 S  b
  1428. ; store the session data in those directories.  This is useful if2 E  z4 {- W- h; V% Y9 O( k
  1429. ; your OS has problems with many files in one directory, and is/ X) J: x% }- N: c8 Q- v# V
  1430. ; a more efficient layout for servers that handle many sessions.
    ! v8 F7 y/ y! _2 K3 ], ^
  1431. ;
    $ J- F" r3 `/ `) K  u6 i1 g/ F0 Y
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    8 I6 o; k0 U5 x* C* T
  1433. ;         You can use the script in the ext/session dir for that purpose.& V7 o* Y% T% I, q8 ]) e( y
  1434. ; NOTE 2: See the section on garbage collection below if you choose to* x0 z: k! r$ w- v, r! M
  1435. ;         use subdirectories for session storage. @! F3 u) A3 Z% c; u: o
  1436. ;
    . P3 `$ d& k; H( K
  1437. ; The file storage module creates files using mode 600 by default.
    3 W$ [) w6 I! l# Y. f
  1438. ; You can change that by using2 P' f* N" n) S& c0 ^, t7 d
  1439. ;. Y+ L% u- Z' @" H  f7 p
  1440. ;     session.save_path = "N;MODE;/path"
    3 S4 |: a* o9 B2 d9 j% W4 ?
  1441. ;5 ]$ ?# ^! e3 }
  1442. ; where MODE is the octal representation of the mode. Note that this
    ( L% N) x+ ^0 w0 N8 C: O! K
  1443. ; does not overwrite the process's umask.
    5 X* @3 D$ Q9 I: C2 v  s
  1444. ; http://php.net/session.save-path
    - P% y" Z7 E: }! M# V0 \
  1445. ;session.save_path = "/tmp"7 T1 V; _! @3 h. }4 D, \( M9 ~

  1446. 9 L) B5 _5 Y5 f, |; m7 j0 }
  1447. ; Whether to use strict session mode.
    " B! n9 y6 ?( c2 s4 B8 A
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate  P# n5 ?, S5 ?4 s, J/ Q8 M
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    $ {1 D  s/ o/ h3 d3 c$ c9 ^+ E
  1450. ; applications from session fixation via session adoption vulnerability. It is
    9 O# e% J: U+ H
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    # i% c+ l' Z. }% x( w0 S8 D* E" J: ~* z
  1452. ; https://wiki.php.net/rfc/strict_sessions6 b; ?1 y" R( _
  1453. session.use_strict_mode = 0
    ; P; N$ L( ^6 ~5 o6 _& e
  1454. ' Y7 s1 _# X  ]; J
  1455. ; Whether to use cookies.& V- w3 n, M' F. ~, o2 J2 r
  1456. ; http://php.net/session.use-cookies6 r0 m! @* ~* Z5 _% `4 [
  1457. session.use_cookies = 1
    % \" G& _1 H9 e0 Y" J

  1458. ) |3 q5 a, f2 Q& Q4 u) o+ `
  1459. ; http://php.net/session.cookie-secure7 q9 b: S4 j& @2 W/ @
  1460. ;session.cookie_secure =
    : o; t; `1 Q/ T5 i+ [! p, M( N# E
  1461. 4 a) t" o$ V* Q+ k  `3 H, o
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    4 K# d) ?, \5 `3 S1 I
  1463. ; the session id. We encourage this operation as it's very helpful in combating% G5 R, H" i3 h* f6 j
  1464. ; session hijacking when not specifying and managing your own session id. It is
    4 Y: x8 L' B) k! ^
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.$ h2 H! ], `1 R2 Q8 T: \
  1466. ; http://php.net/session.use-only-cookies, {/ A3 D$ N) D* |0 I7 S
  1467. session.use_only_cookies = 1. Z* n! Y. g- x+ g! F

  1468. $ X1 m: ~3 w( `4 U9 v) h7 s  v6 f
  1469. ; Name of the session (used as cookie name).
    7 I: x" r5 }' j- K2 H& X* l: k
  1470. ; http://php.net/session.name+ h- a. R6 y: x9 p' S' a
  1471. session.name = PHPSESSID& \3 x1 g- g, L4 R/ S, ~
  1472. ) s6 k+ x/ {5 @& ~: @
  1473. ; Initialize session on request startup.
    % k9 ^+ b1 `: h/ P
  1474. ; http://php.net/session.auto-start
    ) Q1 U' K9 y$ i7 H; `4 [
  1475. session.auto_start = 0
    8 Q0 k1 J/ |  E; G, O; [5 x; l
  1476. 7 J9 `9 f! A: O; M4 f! I& }, q
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    / a9 X9 z) ^9 }/ O1 \
  1478. ; http://php.net/session.cookie-lifetime
    & {- G, y: ~4 n; }- E+ z# V' k. G
  1479. session.cookie_lifetime = 07 C9 Q- F9 e8 c3 S
  1480. - P" C2 H- y1 {4 j0 `
  1481. ; The path for which the cookie is valid.  |$ e' w$ z6 J/ |7 `: ^
  1482. ; http://php.net/session.cookie-path
      t2 |$ k2 m; {  G
  1483. session.cookie_path = /  u, }/ h/ P; M+ U. [, i& n

  1484. - u5 U# }# _2 }5 ]( D2 l
  1485. ; The domain for which the cookie is valid.
    ! S: h& r$ X' g( b( o7 W9 M0 J1 L! y
  1486. ; http://php.net/session.cookie-domain
    % N6 d$ J. Z# i' x& m
  1487. session.cookie_domain =
    . y8 r# V5 \3 E7 R, H8 [
  1488. , G+ w  G4 w3 p2 `3 ]7 x
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    6 }0 g/ I. S' ]! l1 N
  1490. ; http://php.net/session.cookie-httponly; ?8 _" I0 R/ a) c3 _( _2 w
  1491. session.cookie_httponly =
    % @+ N% y6 t: n2 _' ^( z

  1492. ( x% ~/ m) E( F3 n, h# e) a
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    ) k+ `, c# ?4 K5 x" Z9 J
  1494. ; http://php.net/session.serialize-handler  Z; G+ I$ D+ @. S
  1495. session.serialize_handler = php
    ( n0 |) g! n" o

  1496. & A( A1 h( H3 r$ V) _* M& j
  1497. ; Defines the probability that the 'garbage collection' process is started+ m6 @) M8 c( i  t
  1498. ; on every session initialization. The probability is calculated by using
    & e9 V& ^( D5 e; V( V( o
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    - p0 u; Z! K! y1 x
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    ( V: s# \3 f' L1 C& j0 ~3 U
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance/ g0 c# y: A: H0 o8 j, I* n
  1502. ; the gc will run on any give request.
    8 z4 H+ T3 j# o- A
  1503. ; Default Value: 1. V2 Y0 B, n0 r7 t( W' D  _
  1504. ; Development Value: 1
    - @* a/ E& f& B+ C! ~# E
  1505. ; Production Value: 1
    + G0 x5 F+ U. x# d3 j4 {( V, O
  1506. ; http://php.net/session.gc-probability% P& z: V3 f! L: H( ^" U, x& h5 J
  1507. session.gc_probability = 1
    ( W; _5 {3 k8 J1 N9 z3 z

  1508. : J  H& i  x( e. b$ M9 m
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    $ ~2 S3 S' g" J* c* F% v0 L5 x
  1510. ; session initialization. The probability is calculated by using the following equation:: x6 `, A+ m- B# m7 e8 i# x2 ?
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and* Q; a$ ]3 P" y3 {8 L) o0 u! l
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 14 s/ r! b, b  ?' F" _5 {0 j* w1 j0 B# @
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance2 ]% r# W* b4 v' u1 ^5 q
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you- v6 J) L- p- m+ {0 \
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    - h/ ~3 O# _. [: I" r1 Y% X5 L% V7 ]7 H
  1516. ; this is a more efficient approach.
    : Z) |& r, [8 {) ^6 B: F  z
  1517. ; Default Value: 100
    0 q- C4 L* _9 R* ~& a: O
  1518. ; Development Value: 1000( v  G+ @9 C' p
  1519. ; Production Value: 1000
    % K, F9 F/ V2 K1 B* ?/ m7 v' ~
  1520. ; http://php.net/session.gc-divisor6 Z2 Z: j; ?/ k- j7 R
  1521. session.gc_divisor = 10000 X. u' a% E+ C" ?7 G* N* c
  1522. 6 r! E* Y; x! B6 u3 O  N* {7 Z7 m
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    & a8 Z+ U6 {5 V, O1 p1 q* [
  1524. ; cleaned up by the garbage collection process.
    6 z, E/ I/ m1 ]; `' [, F
  1525. ; http://php.net/session.gc-maxlifetime4 `$ W! [  k5 G) u, b
  1526. session.gc_maxlifetime = 1440: N6 {* c. n9 X8 d
  1527. & d0 F3 {  P7 @4 e# g5 T/ S
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    " ?# H% j1 w1 A4 b: J
  1529. ;       (see session.save_path above), then garbage collection does *not*% ?) F+ `7 n1 N, F' t
  1530. ;       happen automatically.  You will need to do your own garbage
    9 x, q! E* l4 `2 p5 U
  1531. ;       collection through a shell script, cron entry, or some other method.2 o# q# Q& ~" e8 D# L# q
  1532. ;       For example, the following script would is the equivalent of
    + K9 |& n) ^8 T1 O' @
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    9 z3 |7 T4 {4 S* b# G
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    ; s( ?, r* ~1 h! F- X; Y6 a, ?! W& @

  1535. + h  c% Q: S: y" e
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.8 W) {9 A/ ]0 F" k/ X
  1537. ; HTTP_REFERER has to contain this substring for the session to be! F# w0 d9 p& w: Q5 V1 m
  1538. ; considered as valid.
    + ^8 |! a" m% K( z$ L( l6 S
  1539. ; http://php.net/session.referer-check. s7 `  K# Y- u3 K/ X: H$ O
  1540. session.referer_check =
    " |& V: m  X* l3 r+ }6 T
  1541. , R( H1 Z4 M$ F0 W2 J1 h& z
  1542. ; How many bytes to read from the file.
    5 b& x; ]! K: W0 N' P+ P2 D- {
  1543. ; http://php.net/session.entropy-length
    * W2 y: E) g8 D
  1544. ;session.entropy_length = 32$ ]' }. w8 x" E: x% B8 P- d
  1545. % z1 w" w' m/ F9 Z* o+ u
  1546. ; Specified here to create the session id.- }/ J/ i, q9 R: d9 a! r/ e8 V. r  V
  1547. ; http://php.net/session.entropy-file
    , S% i; r$ H, M- r1 Z& X
  1548. ; Defaults to /dev/urandom
    2 N2 J9 Q1 {7 i5 J/ n) r
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom, i9 L1 o/ N0 e- k$ k8 \- e
  1550. ; If neither are found at compile time, the default is no entropy file.
    8 T, x6 x% o; U* A0 h% q- \
  1551. ; On windows, setting the entropy_length setting will activate the1 x$ n" _8 F3 N: ~' H) T9 Y6 k- r
  1552. ; Windows random source (using the CryptoAPI)1 o+ u) j: h! F: h  W. J4 p" I& [6 g5 k
  1553. ;session.entropy_file = /dev/urandom
    * f) f7 F1 z6 s

  1554. ! u6 j4 r8 q& U) E6 v
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects8 V: w: D0 p5 i( c. z$ {7 T# K
  1556. ; or leave this empty to avoid sending anti-caching headers.  ^2 E( T4 ~+ g3 N, e
  1557. ; http://php.net/session.cache-limiter7 |" @) _6 W9 U  M! b
  1558. session.cache_limiter = nocache
    - J9 Y5 ^: ~0 L+ c) @7 W3 m" B
  1559. ! V4 `5 `* ~2 P0 x2 U' t/ D
  1560. ; Document expires after n minutes., y" E" \3 A4 o. l1 f8 T" M% w
  1561. ; http://php.net/session.cache-expire
    $ ~+ I' B9 u( l/ |# U7 i8 E
  1562. session.cache_expire = 180" {: E$ h6 H- ?: F6 \* F+ h- Q7 e

  1563. / ], U. x! S1 J( X$ V6 P; @
  1564. ; trans sid support is disabled by default.! z1 D9 @2 |  A) u% n" h
  1565. ; Use of trans sid may risk your users' security.
    # a' G3 e' s8 u% E, n1 s
  1566. ; Use this option with caution.
      r0 r; q; ~/ k1 c9 u& `
  1567. ; - User may send URL contains active session ID
    ; e2 n+ j) k. c0 [  A) c8 K" K
  1568. ;   to other person via. email/irc/etc.
    6 T; X( ?1 A6 Z8 S) N
  1569. ; - URL that contains active session ID may be stored
    ) r, c0 p, f: Y% M
  1570. ;   in publicly accessible computer.) D. v- _4 Y( h0 d6 |
  1571. ; - User may access your site with the same session ID
    6 G( D/ h5 k7 f  u) b
  1572. ;   always using URL stored in browser's history or bookmarks.
    3 r& w1 M8 }) V- r( ^; E9 g# `" I
  1573. ; http://php.net/session.use-trans-sid, v  x  B& i3 ]' k5 y
  1574. session.use_trans_sid = 0
    $ a$ m8 g' S* ]/ @1 c8 O/ T

  1575. 8 A2 a1 v6 V/ {. F, P  U
  1576. ; Select a hash function for use in generating session ids.
      V2 I2 V; @6 |" }/ \
  1577. ; Possible Values6 w. j: z9 y, Y# i+ I* Z' I
  1578. ;   0  (MD5 128 bits)& @3 \4 _( u4 H" U) t4 X/ _6 z
  1579. ;   1  (SHA-1 160 bits)/ i/ f& D. g8 H+ i7 N. I  F6 _
  1580. ; This option may also be set to the name of any hash function supported by% i, ?* L# Y. d- p
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()5 w. c$ q! ^6 `# i% j* v) u
  1582. ; function.1 Q5 I  m! M# \1 n) G$ j$ x. f3 Y
  1583. ; http://php.net/session.hash-function
    5 g5 F8 b0 ~/ \. U- f
  1584. session.hash_function = 0; d$ q( A4 f3 g- G' ^
  1585. " B/ z$ ?+ m5 C  A
  1586. ; Define how many bits are stored in each character when converting
    / g2 h! G( j  t' t; H: I8 F
  1587. ; the binary hash data to something readable.& X( g# m8 x7 `7 I
  1588. ; Possible values:
      R& p$ ]4 A" G  Y& |
  1589. ;   4  (4 bits: 0-9, a-f)
    2 H8 v& i( s5 ]5 N
  1590. ;   5  (5 bits: 0-9, a-v)% O& _5 m: x2 V9 F
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    6 e+ V( ^2 @, C0 y4 J
  1592. ; Default Value: 4
    . K6 Z9 ~& d) ?  v$ W) N% p1 J
  1593. ; Development Value: 5
    5 l7 v/ ^. e  A1 Y! o4 V% W- I
  1594. ; Production Value: 5; L: P( E4 z- U5 Q9 G, G6 H
  1595. ; http://php.net/session.hash-bits-per-character
    8 F9 y  s8 L( ^
  1596. session.hash_bits_per_character = 5( J$ X1 Q3 Y: ~) y

  1597. 1 O: i3 K( M: |2 M7 r( j1 I
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags./ V+ N: Z, ?: W5 |; b; |# L& H( j
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    - W' l! M) o7 X  Z7 H0 W
  1600. ; add a hidden <input> field with the info which is otherwise appended- U& B9 u3 Q5 P) W, b' Y& H
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.8 z2 f3 J& m4 h* N) A
  1602. ; Note that all valid entries require a "=", even if no value follows.+ g* |9 H  u; I! d, C# H# j8 f
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="+ Q3 m$ T# Y+ c1 f, `  |$ X
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ; M/ R1 a( c; w) ]: M# B
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"8 d/ P6 P' I) B* S, X  y' o
  1606. ; http://php.net/url-rewriter.tags: W8 [0 K3 d. V" s9 _' n# _1 U5 F" B
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"( j% n- J0 d" L: W# m7 ^/ F
  1608. ; e3 l1 {! L- R! Y. I
  1609. ; Enable upload progress tracking in $_SESSION
    - r6 K8 X) p6 }2 j! j8 c
  1610. ; Default Value: On4 |+ t) a9 {& g7 L; A8 {
  1611. ; Development Value: On9 k. M# z) j/ t+ p% d" v
  1612. ; Production Value: On
    0 O! d* X" c6 @  C1 o1 a
  1613. ; http://php.net/session.upload-progress.enabled5 p- n( l' a5 Z6 y3 m7 \0 G
  1614. ;session.upload_progress.enabled = On3 [' G. r$ ]9 d1 ?* {- q0 x; h
  1615. " u- O/ l. o3 U: e% w8 M
  1616. ; Cleanup the progress information as soon as all POST data has been read
    . O. t  Q% v7 K9 m! v9 x3 D
  1617. ; (i.e. upload completed).0 V- c: z4 q# H% P7 ^  L
  1618. ; Default Value: On2 {8 x- `9 r) B9 U( ]* W# B1 j, ]0 p
  1619. ; Development Value: On6 Z7 A# B1 S( L4 U5 `3 Z
  1620. ; Production Value: On
    3 q; [+ r! S8 L/ Z. |$ S
  1621. ; http://php.net/session.upload-progress.cleanup5 }/ e3 G7 U. ?7 Q! c
  1622. ;session.upload_progress.cleanup = On1 N9 C5 [( [1 C6 B) p6 r$ G
  1623. " a, Y4 V8 |! s6 R2 |6 h
  1624. ; A prefix used for the upload progress key in $_SESSION
    $ K2 G& r) T& b1 J8 z; O9 Y) q$ D
  1625. ; Default Value: "upload_progress_"
    7 B+ r) N& R* v' m) x( f
  1626. ; Development Value: "upload_progress_"
    # i# Y* L  |0 y4 F, X8 {
  1627. ; Production Value: "upload_progress_"
    & B6 d; Y8 H( c$ F3 `  G! K
  1628. ; http://php.net/session.upload-progress.prefix! |9 I. E' b2 G. j3 Z7 x' n
  1629. ;session.upload_progress.prefix = "upload_progress_"7 d4 G# A4 L; d, a9 S

  1630. & i) Z0 n0 G0 p) z: }, d2 }5 m; f. ?
  1631. ; The index name (concatenated with the prefix) in $_SESSION7 x1 X9 v5 ^- e: T8 G1 `
  1632. ; containing the upload progress information' A  J. o, F% [7 N9 D
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ( g) q. v) ~0 G' U/ u: `  r- n( q% J
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    2 w; L+ m0 b/ \# L0 R
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ( m' U' g0 t6 N  X% Q& T! V) ]
  1636. ; http://php.net/session.upload-progress.name' R* D! z+ |  G( ?  Y. P
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"9 Q3 x3 T3 ]  n. g/ B) s
  1638. ; H. l- F6 k  k2 h3 P$ I
  1639. ; How frequently the upload progress should be updated.
    ' M$ G! C: \( @" e" K
  1640. ; Given either in percentages (per-file), or in bytes
    % M2 H  x! t" m  k+ e+ `
  1641. ; Default Value: "1%"3 p* [6 m0 t+ P* I: r; _
  1642. ; Development Value: "1%"2 ]0 T& [7 O, Y' Y6 W
  1643. ; Production Value: "1%"2 W$ e. u/ J9 V& S* e
  1644. ; http://php.net/session.upload-progress.freq
    1 [8 S5 T/ Z* t! K6 V: \
  1645. ;session.upload_progress.freq =  "1%"4 |; z" }3 O  k

  1646. 3 z9 E4 x: c" K! f
  1647. ; The minimum delay between updates, in seconds' C3 P' i& W; H* k2 H9 i
  1648. ; Default Value: 1
    & z7 k, j" n; r) ^' D! W( R. R
  1649. ; Development Value: 13 D% e1 R6 Z% m) d8 _  z
  1650. ; Production Value: 1* w0 X4 s- [: t6 x" [2 k8 C  [2 A7 v: o
  1651. ; http://php.net/session.upload-progress.min-freq* Z3 \4 [4 z( _9 E
  1652. ;session.upload_progress.min_freq = "1"8 x4 L% a" G* [: }& {3 w' t
  1653. # x; j1 E+ V  O. V
  1654. [MSSQL]2 a) S0 g4 Y+ N0 u. N' K2 D9 G! u% ~
  1655. ; Allow or prevent persistent links.
    , P4 o3 {/ Z$ F2 L! k# p' F9 g
  1656. mssql.allow_persistent = On
      |; T2 S. X9 m# l, t. K$ c* I

  1657. : u3 J* u2 m: v* E: g: q, P
  1658. ; Maximum number of persistent links.  -1 means no limit.* j. C, B8 ~5 r& d
  1659. mssql.max_persistent = -1
    6 g& X- K" z3 |2 u: ~6 A
  1660. ' d8 u  L' I4 y+ N
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    / R& n- v* p8 J3 h7 N# n, I
  1662. mssql.max_links = -1
    : K$ k1 b1 _4 z

  1663. ' O, l5 V* i3 ~$ Q$ ]
  1664. ; Minimum error severity to display.
    ( O) e; L, k, M. |# a$ z
  1665. mssql.min_error_severity = 10
    ! J5 P! S# D' H# R
  1666. " u6 Z/ B+ G# h, Z
  1667. ; Minimum message severity to display.
    6 s, A& I  T. J' S
  1668. mssql.min_message_severity = 103 `$ Z, _0 T) X4 B

  1669. . k5 m% V- i; Z- o
  1670. ; Compatibility mode with old versions of PHP 3.0.6 k% y* K; ?% c# O; Q; P+ X! r
  1671. mssql.compatibility_mode = Off
    / m8 W- k+ q6 c' P8 Z- o9 G

  1672. " [0 y+ ?5 q/ z" ?0 [; J# A; T
  1673. ; Connect timeout
    - I1 Y/ x. A8 [0 n' S5 {5 t
  1674. ;mssql.connect_timeout = 5$ f) V- D9 {& H! n5 p& v

  1675. ! y" \3 A5 u# S
  1676. ; Query timeout( U! ~. g! c) k# s1 `9 u3 z
  1677. ;mssql.timeout = 60
    ; [/ Y  \4 O5 o) ~5 J2 I1 t+ c

  1678. 5 J& s) x4 G  m
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    ) c8 q0 K+ J( X4 C
  1680. ;mssql.textlimit = 40969 S( a3 ]" V( k/ Z

  1681. 3 q4 F& z0 c9 u
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    / V: C% Z! n" F# _) }
  1683. ;mssql.textsize = 4096
    & S6 q/ a  U  {- T" v1 K
  1684.   K2 O) R0 T! Y3 v9 K
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    " X" `, Y7 j4 |2 o
  1686. ;mssql.batchsize = 0
      p* }+ K+ [+ T" i
  1687. ; ?2 I& I: b8 a3 m- a, Y1 g
  1688. ; Specify how datetime and datetim4 columns are returned
    ! {* N0 v0 s! \  _$ s! `8 h& l
  1689. ; On => Returns data converted to SQL server settings
    & {7 r' |3 j7 P2 S6 n
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss/ e3 ?4 h$ d, C+ L3 @- I
  1691. ;mssql.datetimeconvert = On& `- l8 h0 @  Z( d; f6 y
  1692. 4 x" `* l! A# M3 ^. _5 F: s6 |
  1693. ; Use NT authentication when connecting to the server  e1 o( n$ I8 U: Q9 G+ o
  1694. mssql.secure_connection = Off! L: O8 x4 j9 `- H0 k

  1695. 7 S# p1 v# B  b$ ~* Y
  1696. ; Specify max number of processes. -1 = library default7 L7 m& v' t$ S
  1697. ; msdlib defaults to 25
    # U; f' L: Q7 F4 n8 M; w
  1698. ; FreeTDS defaults to 4096/ z, z. H0 Y0 W) W
  1699. ;mssql.max_procs = -1+ E$ i  D9 K8 S; S& R
  1700. ( H( k& K$ Q7 A5 L2 ~0 u+ s
  1701. ; Specify client character set.$ w0 {1 ]$ ?( J4 D
  1702. ; If empty or not set the client charset from freetds.conf is used
    9 t" q5 o" [( l5 J
  1703. ; This is only used when compiled with FreeTDS
    1 W( M1 m& E4 _: Y* _
  1704. ;mssql.charset = "ISO-8859-1"7 L3 A' W3 B, q$ {

  1705. - x2 v' V8 n$ z- @4 f
  1706. [Assertion]
    , i2 u+ f1 @- e# o" @9 n) f
  1707. ; Assert(expr); active by default.  U4 k' m- T$ l- t9 Z# `& X! m/ D
  1708. ; http://php.net/assert.active
    ; x+ d8 p+ g( K7 V
  1709. ;assert.active = On
    3 V$ b9 x! l' C2 M5 g
  1710. 9 e. O0 C2 s* I! F( c" T
  1711. ; Issue a PHP warning for each failed assertion.
    3 P8 k' B9 }, Z" F0 I) T/ _/ a! S0 v
  1712. ; http://php.net/assert.warning% s1 w2 k% o  y) p! v: b' h
  1713. ;assert.warning = On& C% l+ V' \& a! k

  1714. 3 c% P8 L  U; n
  1715. ; Don't bail out by default.3 c' J# V) V$ `$ ?1 a
  1716. ; http://php.net/assert.bail" I" q+ X1 X$ o2 y# d. T9 Z* q
  1717. ;assert.bail = Off% X& D! j( j0 T: v' N

  1718. 4 f- q5 n4 G2 _, r
  1719. ; User-function to be called if an assertion fails.
    0 {5 X7 i- i6 r0 G* E+ X
  1720. ; http://php.net/assert.callback
    $ ~! R  \# P/ c) m( l3 \2 k# N
  1721. ;assert.callback = 08 |9 a5 t: q% ~5 t, B* R

  1722. $ f+ P9 C) t5 V
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    * q8 w. T, ^* l
  1724. ; error_reporting(0) around the eval().' I/ p# H3 ?& j' B3 v$ |- {
  1725. ; http://php.net/assert.quiet-eval% ^. T2 ~7 H  W; N, Z  B
  1726. ;assert.quiet_eval = 0; m6 o+ k" p* q( H. y

  1727.   ]2 X" k! n* q  H4 C$ z
  1728. [COM]
    8 X" j$ m$ n- i: c" c4 D& l! j! w$ `
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    * m( ?/ ^: _  `+ Q7 K% D& }: j
  1730. ; http://php.net/com.typelib-file  W; w' v/ a  O& T. v- U" N# `
  1731. ;com.typelib_file =1 Q5 w/ G% |+ `' N/ r7 j0 ?
  1732. + V6 D5 m1 }0 h
  1733. ; allow Distributed-COM calls
    ; Z0 ?$ q4 p/ k8 X/ _/ ?4 N
  1734. ; http://php.net/com.allow-dcom4 Y$ K9 ]# Z+ P9 H9 R4 i9 ^1 ~
  1735. ;com.allow_dcom = true& m: e/ @* ^: J

  1736. - p4 N- E$ L' r: [( u" l
  1737. ; autoregister constants of a components typlib on com_load()3 B- k( @+ j3 G0 q
  1738. ; http://php.net/com.autoregister-typelib* Y- h6 o0 |) Q+ M  a: Y# _
  1739. ;com.autoregister_typelib = true& e/ W8 D4 H. [, m0 g' G0 d

  1740. ( D! R0 h+ p+ ]& m: k/ `. y
  1741. ; register constants casesensitive
    7 f5 `3 q. V% m& Z) @
  1742. ; http://php.net/com.autoregister-casesensitive
    ( p0 U0 }1 b! ?4 ]# t7 h
  1743. ;com.autoregister_casesensitive = false7 p4 u* f, {9 h( |

  1744. 5 R4 Z. Y" L* e5 T, j
  1745. ; show warnings on duplicate constant registrations
    ; V) b9 ^7 c: _) x  J4 G
  1746. ; http://php.net/com.autoregister-verbose
      T, k! U$ q) b! P4 k
  1747. ;com.autoregister_verbose = true8 `1 h) V4 J, G3 H" }

  1748. ( m: h) a9 G  Z, N$ x2 P
  1749. ; The default character set code-page to use when passing strings to and from COM objects.8 I) a1 h8 U, g" D' \
  1750. ; Default: system ANSI code page' P8 [* e# Q% j5 ^0 M/ \* H, K
  1751. ;com.code_page=
    5 W7 M4 V5 U) E# T! _

  1752. " E# ^( P! @7 V
  1753. [mbstring]
    1 ^: t3 C. i) q7 y& `3 |9 [
  1754. ; language for internal character representation.
      }- C6 q! |* q! W  z- \
  1755. ; This affects mb_send_mail() and mbstrig.detect_order." b- p. v6 d# T- i& T; j+ t; ]
  1756. ; http://php.net/mbstring.language
    8 {- W7 p1 J/ @3 \/ a% U  h2 |
  1757. ;mbstring.language = Japanese
    + F( J- f5 G1 V$ I  a
  1758. " a2 l0 W6 U& |
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead." E! i" I- s: }% J: T: H# D) t
  1760. ; internal/script encoding.# K5 V6 d2 }2 C! k+ [" A+ ]8 y
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)+ M, s0 Y8 x6 F7 e
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    . q  D( ^) g9 r5 a7 c7 s
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding" \$ A2 t6 v& P, n  u( g$ q% z# }
  1764. ;mbstring.internal_encoding =' O9 v! {( D& Y
  1765. 9 p# Q& b& M7 K) e
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.) H( l" O0 N7 f
  1767. ; http input encoding.
    4 ]; p1 [. ?! J/ O$ U' a
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    , F5 ~* [: J, B* s  w3 w& M
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used." x4 W* b. w( Y' w: E; w% r/ y) e
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input2 ~) v: g  l3 L& u, Q
  1771. ; http://php.net/mbstring.http-input: \3 K- u+ j: ?% d- q/ u- T
  1772. ;mbstring.http_input =6 I- C1 z) s, v% c
  1773. - E0 ?1 k2 h$ k4 e1 Y# X
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.( n1 c' N( v% R1 b0 O* p
  1775. ; http output encoding.. j! x: B1 t" n, i5 i% w! R
  1776. ; mb_output_handler must be registered as output buffer to function.
    % E0 j% g! D# z1 Z. Z+ y9 M
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.- [# G' b; P  Z. ^5 H1 g$ S
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output7 ~# E* ]4 E$ K: s6 h+ o" L  ?
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    : S1 l7 h, J( y) w' z( V: o0 C. d- x
  1780. ; otherwise output encoding conversion cannot be performed.7 z/ G2 E" {. c/ e
  1781. ; http://php.net/mbstring.http-output
    9 ?4 T8 {5 @% a9 `
  1782. ;mbstring.http_output =
    ( B& D& `9 b( Q
  1783. / a& J0 n' }/ o
  1784. ; enable automatic encoding translation according to/ Q( |7 R+ ~0 p+ n+ N2 F7 A  W
  1785. ; mbstring.internal_encoding setting. Input chars are
    - S2 v% @" h7 _- K
  1786. ; converted to internal encoding by setting this to On.- _; `) i" C! j6 E0 R4 |8 |* k0 ]" x
  1787. ; Note: Do _not_ use automatic encoding translation for
    2 G2 c, q# [, u1 A
  1788. ;       portable libs/applications.) ]* K* l& v3 J# Y" y; X/ i
  1789. ; http://php.net/mbstring.encoding-translation$ H/ C! {5 [! K6 v! o2 {* r
  1790. ;mbstring.encoding_translation = Off
    & ^0 V( P9 \  }9 f

  1791. - B" h+ B; D# S* h
  1792. ; automatic encoding detection order.
      A2 T& [4 ?$ S$ a5 z; X
  1793. ; "auto" detect order is changed according to mbstring.language& |. g4 J5 E7 R; o' g  b
  1794. ; http://php.net/mbstring.detect-order
    : ?! x- p* x8 M" n1 u+ R) L
  1795. ;mbstring.detect_order = auto
    4 ?! w: |; Y. Z. C( R' C- q- t1 ]' M

  1796. ) A0 F1 D9 B) S; o+ O7 E
  1797. ; substitute_character used when character cannot be converted
    , N! K' X% w! o
  1798. ; one from another
    - M$ d6 C- a$ o# {2 i8 f) V& T. X
  1799. ; http://php.net/mbstring.substitute-character
    . |  U- ]- ^6 H  f  l
  1800. ;mbstring.substitute_character = none
    ) M( q4 P# t7 k5 o
  1801. . t# w6 c  D' t% K* e1 G
  1802. ; overload(replace) single byte functions by mbstring functions.8 H5 m( M2 ?/ U
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),8 U- E- m; i% l1 M5 G9 S
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.; L& Z" g6 b+ \- v
  1805. ; For example, 7 for overload everything.
    ( Q# D/ d' H( J- F
  1806. ; 0: No overload
    / n  [  |  \, c1 \5 d' x
  1807. ; 1: Overload mail() function* n; a! P4 R, a4 ~) m0 p
  1808. ; 2: Overload str*() functions
    , {$ d1 o2 `- R& c& P2 \" R2 h+ d& Z
  1809. ; 4: Overload ereg*() functions
      ~1 K/ w. X$ z' J* I/ s
  1810. ; http://php.net/mbstring.func-overload
    1 Z# g9 U$ M* W3 d7 z! D) F  x! [! Q. Q
  1811. ;mbstring.func_overload = 0
    $ D/ a! u: k& {* b
  1812. # h4 P& ]  T: e6 K( ?' D3 \
  1813. ; enable strict encoding detection.. @. \7 l# o, h% v" U# M' X$ U
  1814. ; Default: Off
    6 |9 G$ `, ^8 _. g6 V
  1815. ;mbstring.strict_detection = On2 _: p. h6 }& k1 |1 v1 Q. E6 {; w
  1816. " ?1 i. f' s1 j$ \( i8 C0 L, g
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()8 D6 V% \0 {6 D: u
  1818. ; is activated., W5 D9 k' o( }2 s; k  d. F
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)1 u% {& Z+ F  x1 y
  1820. ;mbstring.http_output_conv_mimetype=
    ! c* t% Z. u) }8 C; I% }
  1821. ; ]8 J3 e4 O# q5 |7 U
  1822. [gd]
    0 f' S# I2 U" G1 i7 ~  Z
  1823. ; Tell the jpeg decode to ignore warnings and try to create6 o3 e& w( W$ l' n1 G, t' s
  1824. ; a gd image. The warning will then be displayed as notices& \+ Q" I: Q* c* g) w% G' [
  1825. ; disabled by default( K5 q& X& U5 A
  1826. ; http://php.net/gd.jpeg-ignore-warning* t6 J' u. Q* ?" j4 s+ N
  1827. ;gd.jpeg_ignore_warning = 0) m) A" Z3 A! K/ g; R0 s  ~: ], T

  1828. 9 K  l$ D4 x* d) h+ ^
  1829. [exif]" D7 s3 i2 y, }. w% I0 w/ J
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    7 f! ~: Q1 ]0 |* U& [0 y
  1831. ; With mbstring support this will automatically be converted into the encoding
    $ C( P3 `3 R3 ^* f! O
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding4 z. I, |3 H- \
  1833. ; is used. For the decode settings you can distinguish between motorola and/ e1 p! u& G$ U) e" g2 W/ T
  1834. ; intel byte order. A decode setting cannot be empty.0 Z0 v5 [7 P" k
  1835. ; http://php.net/exif.encode-unicode
    ; z: `5 O. r1 y1 @
  1836. ;exif.encode_unicode = ISO-8859-15" j; A. v; W+ A0 h4 n3 U3 t
  1837. , k  E5 y. j3 p: x0 N
  1838. ; http://php.net/exif.decode-unicode-motorola
    * w1 {$ C# t( y$ `* G  W' A4 S( o
  1839. ;exif.decode_unicode_motorola = UCS-2BE) b1 r7 P) ^+ P4 Q- e6 j) S

  1840. 1 P% v8 T- ^! |# R2 i
  1841. ; http://php.net/exif.decode-unicode-intel. F7 B" T$ q- Y" d. B
  1842. ;exif.decode_unicode_intel    = UCS-2LE+ c; m& ^9 ~' j

  1843. / q# P: Y. p! L9 W. ^
  1844. ; http://php.net/exif.encode-jis, [. n6 p  I6 Z2 K# @, U  F  s7 M
  1845. ;exif.encode_jis =" v& P- o5 {3 D2 H) U: w

  1846. : i6 l; o. m) j1 p% N
  1847. ; http://php.net/exif.decode-jis-motorola
    2 g0 l, Z+ L$ y
  1848. ;exif.decode_jis_motorola = JIS: l6 S/ P1 j3 h/ H2 \. d

  1849. 8 R% Q& Q4 z9 A5 g# }% O
  1850. ; http://php.net/exif.decode-jis-intel4 o- y* t& i6 e/ X
  1851. ;exif.decode_jis_intel    = JIS4 I# {* f; o+ E8 l/ V1 V0 @( H
  1852. + H# t6 G: v4 {+ N+ B& @
  1853. [Tidy]
    " s) Q1 v. J9 n3 v
  1854. ; The path to a default tidy configuration file to use when using tidy
    2 h! G0 I/ @# ?( y
  1855. ; http://php.net/tidy.default-config
    . c; Y! x9 s9 F; e, Z
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg) o7 Z9 y9 e! D# L8 N  T: k8 y9 r
  1857. - h) ]+ u6 y9 S  C
  1858. ; Should tidy clean and repair output automatically?# x0 Q; A. e( S
  1859. ; WARNING: Do not use this option if you are generating non-html content
    9 ^4 s8 d% N+ l% u' u  Q" Q. x0 z
  1860. ; such as dynamic images. k- u- T9 I# `2 X5 w
  1861. ; http://php.net/tidy.clean-output
      V3 j8 q! m$ k* M
  1862. tidy.clean_output = Off
      x5 g0 m, D9 e! k4 F9 |0 t0 F+ [

  1863. $ y+ J( K; x' Y7 h6 ?6 m, v! F
  1864. [soap]. d$ l6 ?. t, H; U
  1865. ; Enables or disables WSDL caching feature.
    7 e/ l3 V; y" M5 H) T  \
  1866. ; http://php.net/soap.wsdl-cache-enabled
    % O" D- M+ Q3 s2 n
  1867. soap.wsdl_cache_enabled=1
    ! S  x: T; p' y9 K" u. K, R

  1868. ! S: p) c' u1 V6 _2 l
  1869. ; Sets the directory name where SOAP extension will put cache files.7 p& Z  Z! |1 v
  1870. ; http://php.net/soap.wsdl-cache-dir
    & q  R- [3 {" Q$ P3 n9 O
  1871. soap.wsdl_cache_dir="/tmp"# [$ r0 H" S  q* q# {9 V1 r& {! r
  1872. ( Z5 Y3 \9 d. k, [# v
  1873. ; (time to live) Sets the number of second while cached file will be used
    , J- j9 z7 g5 m* d" z4 e
  1874. ; instead of original one.
    0 o" |& z" N$ T2 _' r
  1875. ; http://php.net/soap.wsdl-cache-ttl
      a$ N( F! m7 R# l# n9 W% m; N2 e
  1876. soap.wsdl_cache_ttl=86400$ P( s* V; s' q# o" D  k- c# t0 s

  1877. & Z0 D5 Y% J2 U" W8 }/ B
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache). r# H" @. h* M  v+ V" i
  1879. soap.wsdl_cache_limit = 5
    6 W! T  K7 T! s7 l7 j; e

  1880. 6 m/ `7 H& C* v1 p
  1881. [sysvshm]$ P2 h; V. t0 f, c- D1 u$ h0 c
  1882. ; A default size of the shared memory segment
    0 j! |) J3 X, J3 ~2 b, L
  1883. ;sysvshm.init_mem = 10000/ r# ~  S. S0 k+ y: u1 d9 l# s

  1884. 3 Z/ i$ \# H7 l8 o, K; \; A1 W$ [( t
  1885. [ldap]# G, `1 ?* u: [! f' M+ b2 o' e) u2 D; [8 v
  1886. ; Sets the maximum number of open links or -1 for unlimited.$ z6 b6 h' I3 s0 [$ e' w
  1887. ldap.max_links = -1+ o% ?+ t: @* w, X) [% H

  1888. # W: ?$ L4 ?/ _3 h( ^, |) [+ g0 n
  1889. [mcrypt]
    , |8 h+ h& {( t+ l* ^3 Z" n! ?) ]
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
      X) n8 L7 |+ Q% g5 z- M( x
  1891. 3 C% w3 _. b$ a0 q7 }5 u
  1892. ; Directory where to load mcrypt algorithms
    * d. g3 {% m! K$ J5 S. z
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)$ w% E- I+ ]4 |; E- L/ H( ^; m" X& H
  1894. ;mcrypt.algorithms_dir=
    # n3 G- S- m8 e7 ^" @( Z

  1895. - \# P9 L& w4 H9 r+ _! q4 l
  1896. ; Directory where to load mcrypt modes
    ) T: Y+ g; k* q7 v+ L
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    , O$ R' Q# o" z
  1898. ;mcrypt.modes_dir=; B: y5 @$ B) a4 m! p4 \  k

  1899. 0 p+ x! u  J) B3 G' Z# g/ G6 w+ j* K
  1900. [dba]% n) o, s% [& `' R8 K: H' e3 J, I
  1901. ;dba.default_handler=9 ]: O$ S" \0 p5 o
  1902. : H; S% x5 Y  ~
  1903. [opcache]# R1 I0 d2 @. B& S2 B  W3 i/ H" O
  1904. ; Determines if Zend OPCache is enabled, K# }- t' d: n( C: `
  1905. ;opcache.enable=0
    $ y% v0 L1 g, v  ]. o+ }9 y
  1906. 1 z. I8 F" ^: j
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    8 F- t9 X4 H3 A6 J
  1908. ;opcache.enable_cli=0
    ) `' t9 B1 X. E0 J" o2 D6 X2 y

  1909. 7 l- [4 n/ H6 g, ]/ [. z  @( l" T) d
  1910. ; The OPcache shared memory storage size.2 S# [: W$ |/ O- {1 e: N3 L
  1911. ;opcache.memory_consumption=64' x" d3 c* I# b; w: B0 n5 J

  1912. 8 f# |! b" ]3 [% v1 A0 T$ u0 P
  1913. ; The amount of memory for interned strings in Mbytes.
    ' Q: e- ~) d% j) i! d& \9 ~
  1914. ;opcache.interned_strings_buffer=4
    1 T9 V$ h! o: T7 k8 |6 P1 w

  1915. 5 v5 Z% f! u; Q% h* [# _
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    8 Q1 i7 e9 L- n# @
  1917. ; Only numbers between 200 and 100000 are allowed.: F1 @0 _5 w' _& |( q: |$ W
  1918. ;opcache.max_accelerated_files=2000- z. B' X* \& @& d
  1919. + w, b3 S. h* ]; R; v6 E
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    $ L( C# i; z( @) g0 ^2 n
  1921. ;opcache.max_wasted_percentage=54 c) m* V. B1 n- J

  1922. % a3 |& P( `7 I1 S; A8 z$ M; M
  1923. ; When this directive is enabled, the OPcache appends the current working! Q0 u  _% |! f. _
  1924. ; directory to the script key, thus eliminating possible collisions between2 o- s  N9 y; `' [8 ~
  1925. ; files with the same name (basename). Disabling the directive improves# _( k: ^* v1 _5 z1 C9 o
  1926. ; performance, but may break existing applications." f% }' T2 F0 O
  1927. ;opcache.use_cwd=1, i* G9 F1 O1 l4 E5 B* u5 f5 D
  1928. 8 N  Z: g! a4 N" t5 y; N/ p* d
  1929. ; When disabled, you must reset the OPcache manually or restart the* J7 j8 k4 r, s1 s) n8 v
  1930. ; webserver for changes to the filesystem to take effect.
    ) |- _1 A$ O2 d# e: q. |
  1931. ;opcache.validate_timestamps=17 T' d& ?6 V' S: C: G& w

  1932. 8 o) Q! z% J+ s3 i
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    ; Z* E) R# W0 t% u( Y- c. q5 x% r
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    . `3 C, `$ U6 I8 S
  1935. ; once per request. "0" means always validate)
    1 ^& U7 E$ T- S- C
  1936. ;opcache.revalidate_freq=2/ @$ V& W- U* t5 h$ X, e
  1937. 4 }: X& e- R1 S4 {3 J
  1938. ; Enables or disables file search in include_path optimization
    + P) [- {) v5 D* W8 P* r; m3 Z$ Z
  1939. ;opcache.revalidate_path=0
    2 q& J# Q. N- a8 F
  1940. & l5 C7 v- h* {8 U* f* t6 o8 u
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the* B. U0 i2 {- o0 {+ ]
  1942. ; size of the optimized code.# w% \+ u. g  r% t7 u
  1943. ;opcache.save_comments=1
    # ]* W0 P+ ]. e+ q) i; {( }

  1944. # T+ B* Q0 O  ^3 `! V/ M
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"8 \' M% v% E, ^9 ?) Z( K: b# D
  1946. ; may be always stored (save_comments=1), but not loaded by applications" B  o& r2 g& ?1 C# y) ^6 Y
  1947. ; that don't need them anyway.
    3 o0 P) }% S8 `  I# V5 ^
  1948. ;opcache.load_comments=1
    3 A' n0 t$ i. r; {" Y( }+ A: K5 y3 o

  1949. 6 V; d) a0 q2 u5 V% V3 r0 E! S8 ^' C
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code4 _8 }9 K! Q9 D0 @  K/ h
  1951. ;opcache.fast_shutdown=0
    , k; r, O% D6 \! |

  1952. ' q, l* _: t% y6 S* a3 ~8 x3 C
  1953. ; Allow file existence override (file_exists, etc.) performance feature., S( r. U4 Z% b# ~
  1954. ;opcache.enable_file_override=05 A3 `! T5 K5 P" k3 U# U* d
  1955. 8 Y* N! Z- x" _' W9 K
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    9 K$ [( s/ B' l& \
  1957. ; passes
    1 Q0 c! F% e9 \/ p8 z1 K7 D6 N7 l0 s
  1958. ;opcache.optimization_level=0xffffffff
    6 A' j! N) W3 t) C7 m: [: Z2 T

  1959. 5 u& D" D% }3 B, y- [
  1960. ;opcache.inherited_hack=1
    ) N; s* j! H0 D5 C# b" X
  1961. ;opcache.dups_fix=0
    % z) E+ |* ^$ F- \; G$ P% P

  1962. & m6 k  p) R% q9 G7 B$ W
  1963. ; The location of the OPcache blacklist file (wildcards allowed)., O0 ^/ O1 v: ]5 c! h
  1964. ; Each OPcache blacklist file is a text file that holds the names of files- D- c( m: c( H( H6 B3 M4 r( [
  1965. ; that should not be accelerated. The file format is to add each filename) K) c) A; Q2 c
  1966. ; to a new line. The filename may be a full path or just a file prefix6 [* E4 f* v  i% y, z: w1 O
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    ! R1 A! C& ?# r3 T, S2 R. d/ i
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments)./ F" G) t, `3 J  t4 f( I& r
  1969. ;opcache.blacklist_filename=1 n$ x5 o. o/ l$ t

  1970. 7 w: t1 x& w3 M) j6 g  P
  1971. ; Allows exclusion of large files from being cached. By default all files4 x8 @: T* e9 J8 ^
  1972. ; are cached.0 S' }, o. I4 O, a
  1973. ;opcache.max_file_size=0; |/ c5 C) b0 k% a  V' t# |- |- G
  1974. 0 v" O7 _1 Y  k2 n1 C
  1975. ; Check the cache checksum each N requests.0 w4 n# W  a) }" i
  1976. ; The default value of "0" means that the checks are disabled.# m) L! ?  v' g* I5 a5 m
  1977. ;opcache.consistency_checks=0
    ) o+ h: x( c: k' e8 Y) \& d# ?9 T+ h+ y

  1978. 0 {& }( d( _- P) }/ v
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    5 N0 F) h& w9 J9 ?
  1980. ; is not being accessed.
    8 N( Z/ n# @/ D' M0 W# Z
  1981. ;opcache.force_restart_timeout=180
    2 B( C0 h  `  c2 R

  1982. ; f& [8 s# E$ N8 m$ e( W
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    7 ?7 ~" t/ {+ C
  1984. ;opcache.error_log=
    - Q) `4 B7 r" M; s

  1985. % g2 k! n1 x; }$ Y: s" L) s
  1986. ; All OPcache errors go to the Web server log./ _* ]' d) D" e9 ?8 g) Y6 k
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.4 b" |. N# V! Z7 s2 \  `
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    , s$ g0 n( Z" o  O' [, B! y. [0 M8 s
  1989. ; debug messages (level 4).8 W0 O  C1 ?: W7 T
  1990. ;opcache.log_verbosity_level=1: e2 h1 ^7 ?6 {

  1991. . P- t! `! r: ~; S
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    % `6 K5 q" r9 @' A
  1993. ;opcache.preferred_memory_model=
    " S( U% Z% d2 G* r- a% g9 e5 W& Q

  1994. 0 d. p" y% ?7 q$ `6 J/ Y
  1995. ; Protect the shared memory from unexpected writing during script execution.4 O8 o/ O9 x& |# v+ t
  1996. ; Useful for internal debugging only.
    / P3 w; ^( `/ a* e, _! X2 t) ?
  1997. ;opcache.protect_memory=0
    . Y  T0 J& ~7 \; ?% |6 R6 k: V% A6 P

  1998. 2 w* [/ T- v2 w( ^: b
  1999. ; Validate cached file permissions.
    1 X7 l* _- Q* H: F
  2000. ; opcache.validate_permission=0
    4 X- M$ ^+ L6 H  [; X' L

  2001. ) n+ O1 y* B& z0 E
  2002. ; Prevent name collisions in chroot'ed environment.
    + T$ N: n+ D9 |6 V
  2003. ; opcache.validate_root=08 f6 t7 U( v* K) ]* B+ O. x
  2004. , G' T* V8 F8 {$ [1 e' @
  2005. [curl]; v  m0 ?8 O$ ~5 g
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    2 q0 y2 V; A. u8 M1 S" @
  2007. ; absolute path.
    8 n$ Y" m5 O7 s- L, x9 M
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    + V: c+ I  s9 ~1 q. m# s! Q

  2009. $ D6 m+ e- f& }
  2010. [openssl]; M9 \5 E; o- }6 C2 c  d& `+ A
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem: ~) y2 `; ]2 w0 k
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should# i2 }+ h: Y9 }0 e+ F1 w3 m: t
  2013. ; not specify a value for this directive as PHP will attempt to use the; g) J+ r- n% @& m. P9 b
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    & X& }, l* b# N$ U! [! v% d
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    , l) |3 @1 S$ `" Z7 _' P
  2016. ; option.
    * k! D( B( }' b& H" h- o+ `: V" a
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    + G( F8 C5 p7 F. R  D& V+ m

  2018. 5 H( z: p3 W/ F0 ~$ f2 `
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    / S+ J) E3 [! q1 p- U1 `: |7 y+ |7 A7 U! O
  2020. ; directory pointed to by openssl.capath is searched for a suitable/ G0 }/ o6 z' ?, {3 v
  2021. ; certificate. This value must be a correctly hashed certificate directory.5 n) c" _( I3 _
  2022. ; Most users should not specify a value for this directive as PHP will1 z, J: P3 t* t" s' b+ U  |
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,6 Z9 K. Q( B* Z: I% @/ b% f1 d
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    8 s6 b3 f5 H$ M* i' c$ G
  2025. ; SSL stream context option.$ u* t6 D7 `- h
  2026. ;openssl.capath=
    9 G$ f4 C: }: F# a, D% _; b1 b
  2027. 3 [7 U! R1 H$ {* D2 j  d
  2028. ; Local Variables:
    3 [! j6 V( B  D7 R* H9 n$ x: q
  2029. ; tab-width: 41 h) Z% E" a* Q5 j( s. q2 {
  2030. ; End:
    ' b; X# D& p) e0 X- J5 w2 H

  2031. ' Y3 Z- V4 z2 V+ K
  2032. ;eaccelerator9 y( y! Y$ ?3 u. M- f; h

  2033. ( g' {1 m' F( \. O/ P* e) X
  2034. ;ionCube+ W* L; O1 d9 ~- _) l; j  r- O# R, ]
  2035. 7 F9 B' G) Z" e$ L9 f, l. G
  2036. ;opcache
    2 e' n; K/ j# P
  2037. & z* _4 f1 }. y/ ]6 H1 \
  2038. [Zend ZendGuard Loader]& v6 y% E" Y/ F, Q2 ^5 {; _: _# N6 C
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so# R, n0 ^2 ?$ r8 Z* b4 A3 j
  2040. zend_loader.enable=1$ T5 ?- |4 _2 v& m1 O: b3 d
  2041. zend_loader.disable_licensing=0) A# {1 ?& M$ r" ~% g
  2042. zend_loader.obfuscation_level_support=3
    3 l; j8 z' [+ u3 S/ d$ f6 H
  2043. zend_loader.license_path=, c; O& W. d+ ]8 k/ q
  2044. 9 b, \7 T6 @% {% Q
  2045. ;xcache
    2 K0 a  t1 H$ y; J0 R9 p' g0 _! \
  2046. ; _' ~5 w7 P6 r" {; y0 S1 N- {
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692, z( V/ {) s7 M0 Z7 Y

6 f- f- e% K% u/ U& n' v* f3 Y% c  E4 @9 l
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
7 B3 i2 i8 h: S; E& {8 I0 o7 u' j$ r
Discuz!程序版本选择:% a8 F, Y' @, J2 |
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,8 D' E3 g- F1 L% g1 T) o- x" B
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:& L3 w9 N- K% u0 M; }; F
Discuz!F1.0 是应用中心民审、作者爱好者合作基于 Discuz!官方Discuz!X3.2、Discuz!X3.3、Discuz! X3.4版本之上推出的基于PHP 7.1、mysql 5.8最新环境适配、精简的Discuz!论坛程序,目前对Discuz!F1.0 的支持应用DZ插件、DZ模板都相对较少,很多DZ插件、DZ模板对Discuz!F1.0 的支持性也较少,根据目前站长普遍的反馈而言,使用Discuz!F1.0 建站的站长遇到的问题往往比较繁琐,且目前民审、开发作者、爱好者出品的Discuz!F1.0 版本已经处于停摆之中,站长最终都选择了Discuz!F1.0 降级为 Discuz!X3.2、Discuz!X3.3、Discuz! X3.4。
( B% K1 |( u" N2 M& i$ c8 X6 e4 v% B# @
Discuz!插件模板版本选择:
, A' _9 M1 F0 e6 ?, {4 j很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,3 ~# O# j3 R7 s3 Z2 f/ O
针对这个问题做个统一的普及:
* F6 x% X  I4 m0 d7 H0 Q2 eX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。$ ^% M' K4 |% D" {" {

& L+ N4 D& J8 z! |& g3 j& G所以
! i- H6 t) J' {6 \* ~适合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的二级域名。" i8 Q1 }1 V' d% B, D$ E
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。8 i6 U% i' i- F) z
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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