分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
. n% ^9 o' @) @- P6 C% x# f0 [+ t$ I
. N# P( s  G: r: |# B3 [
  1. [PHP]
      P& H: l' B# b4 u! l- |

  2. ' L  D5 C; T# `6 L
  3. ;;;;;;;;;;;;;;;;;;;
    5 o4 m* o2 N+ o3 W
  4. ; About php.ini   ;  x/ f+ Z# p' v, p
  5. ;;;;;;;;;;;;;;;;;;;
    . ?8 b2 ^# p+ H9 `! U; O$ q9 }! \5 @
  6. ; PHP's initialization file, generally called php.ini, is responsible for, i4 y$ {4 J6 |- D
  7. ; configuring many of the aspects of PHP's behavior.8 s2 \' i6 @; s2 B5 Z5 a( ?
  8. + ^6 c, c! }& U4 V$ ?
  9. ; PHP attempts to find and load this configuration from a number of locations.2 p/ \7 E# i2 ~0 v1 G/ x
  10. ; The following is a summary of its search order:
    * J- v2 ^2 [2 I9 k# V6 P
  11. ; 1. SAPI module specific location.
    2 q! @+ R" y" b/ ^3 ?
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)' P2 S5 Z& _* P. _  I
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    2 t$ s9 k" \1 a; x. e
  14. ; 4. Current working directory (except CLI)
    + P3 [6 I! N2 L' F; P1 v$ F7 `1 O
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP4 J9 L: L# b7 L
  16. ; (otherwise in Windows)1 k/ ]8 I& y1 s  l! }) ]
  17. ; 6. The directory from the --with-config-file-path compile time option, or the1 a, D) O: l& |6 Y- m
  18. ; Windows directory (C:\windows or C:\winnt)
    : x- l% S& N1 e$ I0 Z
  19. ; See the PHP docs for more specific information.) _' r1 c( G# {! Z
  20. ; http://php.net/configuration.file& A  _- Q: J3 a: e6 C
  21. 2 ~% P$ b. n0 ?4 T: _
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    - `9 i+ q: |; R3 h* F+ U' ]
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).: V0 c& _+ Z" H5 U! Z3 x7 B
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    4 N# x/ x7 d! J/ I) n6 U
  25. ; they might mean something in the future.5 W; F9 j( q; z3 c) J
  26. % Q+ B' ?% w' m8 ]. F) [
  27. ; Directives following the section heading [PATH=/www/mysite] only- [' _  Z5 w! I2 c7 @; C
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    , n( V' Y* i' l! q+ U2 y! }
  29. ; following the section heading [HOST=www.example.com] only apply to, g9 c  w4 W. c" e. X, `
  30. ; PHP files served from www.example.com.  Directives set in these) C! T. i, o! i1 v5 t
  31. ; special sections cannot be overridden by user-defined INI files or0 e4 G: E0 D, J4 S; @8 Z9 x
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    " w& z0 ^$ H% b& s
  33. ; CGI/FastCGI.7 F& u6 F3 N4 x4 l# Y0 j
  34. ; http://php.net/ini.sections" r& z  X+ C2 I" {8 Q; J! }

  35. 7 j% l9 t, ^' |" T
  36. ; Directives are specified using the following syntax:: t- y( Y5 n9 i! X' y3 V
  37. ; directive = value
    & h& u9 o" |% ^* W
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.) q* U5 e) M& Z, P$ u0 O5 @/ n
  39. ; Directives are variables used to configure PHP or PHP extensions.
    / m  M* f5 O! v4 T) d
  40. ; There is no name validation.  If PHP can't find an expected  }) Q/ z' v: s/ N" H  A
  41. ; directive because it is not set or is mistyped, a default value will be used.6 H# d4 c* h! ?* {
  42. $ f) H; Z0 A% _7 V. E3 a- ^
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one, S( r/ n3 D1 _4 f- I
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
      D, S# H! W) p0 {) W3 ~
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a$ G1 O0 M' R2 ^4 d0 h
  46. ; previously set variable or directive (e.g. ${foo})
    7 s) u: J9 x  U8 C% K; l7 e

  47. : U5 G$ p8 o# f( i
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    3 s8 S5 @2 |5 T( r
  49. ; |  bitwise OR4 ~' X$ Q$ M( F* X$ a; I
  50. ; ^  bitwise XOR
      d' e- t6 x8 O) E* ~
  51. ; &  bitwise AND
    6 a3 c1 ?+ I1 I
  52. ; ~  bitwise NOT- p) ~! H* c& g. ^
  53. ; !  boolean NOT% c! {- l* d) U# t' h9 S
  54. 4 U) _$ r4 }8 Y! V) }" @
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.; o5 W0 X% U4 d' N. q/ j
  56. ; They can be turned off using the values 0, Off, False or No.$ v5 }4 f( L% [) A$ v

  57. % M3 u1 s' O6 u; S# R( |. c: N: ]# d
  58. ; An empty string can be denoted by simply not writing anything after the equal( z/ L- F+ M+ z) l) r! d4 f
  59. ; sign, or by using the None keyword:2 \3 G6 o' w9 l$ [5 ^4 Z

  60. . N9 k! n# d% S% j
  61. ;  foo =         ; sets foo to an empty string+ R2 L) L7 E3 t
  62. ;  foo = None    ; sets foo to an empty string
    : |% J0 i& ~+ I/ v; g
  63. ;  foo = "None"  ; sets foo to the string 'None'
    - s" b- I# d. m) j- v4 N

  64. 3 d* N8 c5 ?0 t5 x9 X# B  t
  65. ; If you use constants in your value, and these constants belong to a/ c9 R; v: R* w3 o, ~8 z3 f
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    & a. c5 t5 }8 t
  67. ; you may only use these constants *after* the line that loads the extension.1 R0 i. Y. r9 z# v% Q

  68. 4 ]" Z) ~. ?: N
  69. ;;;;;;;;;;;;;;;;;;;; T3 L6 B5 P' j4 J9 v. R5 ?
  70. ; About this file ;
    $ Q. U' J0 W$ S& j
  71. ;;;;;;;;;;;;;;;;;;;
    * W; X1 p1 j1 T0 J
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    . u4 S8 ~% p! m/ b4 a
  73. ; in production environments and one that is recommended to be used in% |4 |  ?6 q; R2 e0 l
  74. ; development environments.' F$ m4 {, E4 i. n
  75. , X6 p" P8 ~6 n. U& b; v
  76. ; php.ini-production contains settings which hold security, performance and8 {9 r3 D. x0 Z! O8 ]
  77. ; best practices at its core. But please be aware, these settings may break$ e: q% h0 d2 o/ m
  78. ; compatibility with older or less security conscience applications. We: U7 X! z$ Q, ^  Z+ u( F
  79. ; recommending using the production ini in production and testing environments.
    & b+ c- G8 f5 K9 C$ M

  80. 4 a0 Q. E+ }) q* N) H
  81. ; php.ini-development is very similar to its production variant, except it is* n6 j+ T4 `2 j1 K  P7 Q
  82. ; much more verbose when it comes to errors. We recommend using the
    9 `2 p3 R8 n" C6 N1 V0 k2 r5 J
  83. ; development version only in development environments, as errors shown to
    9 c9 ]- x# s  x6 H
  84. ; application users can inadvertently leak otherwise secure information.
    . S2 O) e7 H/ [' F4 ]

  85. 2 K) h, b: Q' }. ^
  86. ; This is php.ini-production INI file.
    1 i6 J5 N8 V6 G1 y7 K9 w, N
  87. 2 j: I, {5 G+ u# y' M' e
  88. ;;;;;;;;;;;;;;;;;;;
    " i7 b5 G9 m; Q) S! i5 C0 g% d
  89. ; Quick Reference ;+ d) ?, i( U* X, X8 q) C2 c" Y1 _! z
  90. ;;;;;;;;;;;;;;;;;;;% x- _4 t5 p+ [* p, a
  91. ; The following are all the settings which are different in either the production+ g7 F4 V" F, C
  92. ; or development versions of the INIs with respect to PHP's default behavior.7 H$ G: ?# z- A! H! e) X# B
  93. ; Please see the actual settings later in the document for more details as to why
      n9 M; v& S' g' W
  94. ; we recommend these changes in PHP's behavior.2 G! ^! K% N% b- `6 E, h2 Q

  95. ; U& V4 v  v! S. P: }
  96. ; display_errors
    , s+ s4 ^) J5 ]" G
  97. ;   Default Value: On4 z5 \- P* `* [; `8 k( v( S# i7 w' g5 W
  98. ;   Development Value: On$ r* z( A0 Z0 n# D7 j# g7 a6 \0 ~
  99. ;   Production Value: Off
    7 E' B' q: l) R" K) p2 d
  100. 2 B/ }4 h. i( o, \5 @. U
  101. ; display_startup_errors
    7 h) J& K, I/ S
  102. ;   Default Value: Off* H' Y$ i2 i, ]9 o6 f0 ]
  103. ;   Development Value: On
      M, p% Y3 P' m( x. p
  104. ;   Production Value: Off
    2 T- R% @- _4 J7 V" L

  105. 1 u$ C9 w, Q# R1 X* F5 b
  106. ; error_reporting* U6 u0 J4 Q) I$ ~8 y. d
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED0 t& ^* A4 g$ j) S
  108. ;   Development Value: E_ALL
    6 N' q7 E2 y9 y4 o
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    ) V: R3 @; f6 T' @

  110. % r, L. \7 }; K& k* K$ t# y6 T/ A7 [
  111. ; html_errors+ W. s/ x. N) z' ~1 I
  112. ;   Default Value: On# P$ @5 D' c/ M" m
  113. ;   Development Value: On( V( g5 y1 l. }5 w- q6 [+ e* ^
  114. ;   Production value: On
    + |2 t, |9 ]1 S3 t  H
  115. ) ]: W# M' `9 u& [. ?* o* [* @
  116. ; log_errors
    / l1 x- ]( l1 J1 x9 |6 ?
  117. ;   Default Value: Off4 x& e' V+ J: o3 ~; ^  `
  118. ;   Development Value: On
    8 ~3 S; ]5 ^0 w: H+ C5 W
  119. ;   Production Value: On
    * g2 L+ ~1 }# {6 U5 h
  120. 9 O# q# n  g$ Y0 K$ K
  121. ; max_input_time- W- W" k. p, M
  122. ;   Default Value: -1 (Unlimited)
    , i; T8 d- o; h
  123. ;   Development Value: 60 (60 seconds)0 }( v9 ?, N0 g% A# z
  124. ;   Production Value: 60 (60 seconds)
    $ [+ p1 v$ {# Y0 z2 J/ }+ i+ ^

  125. * K8 a( e2 P1 M% T, v# B+ ?
  126. ; output_buffering
    5 d* O5 Y, T* ~. ~: k2 }1 K: c8 h
  127. ;   Default Value: Off' s: |9 D" O. a) C
  128. ;   Development Value: 4096# }+ b) s; d" k! x3 H2 A% b4 m
  129. ;   Production Value: 4096: C+ \7 Z0 [  T: I7 s5 F( _

  130. ! }5 O. W, S+ A3 x
  131. ; register_argc_argv) X5 A% Y2 ^/ j% T# b) D6 ^( L& P
  132. ;   Default Value: On- h3 b8 G; v# t# K8 v
  133. ;   Development Value: Off
    3 ~& S$ m: T; Q. j# i/ D6 q: ^
  134. ;   Production Value: Off
    4 I9 J2 E" }# \% q) j

  135. $ m# t3 z3 R; ^. p  D
  136. ; request_order( Z  [% t1 J8 v* H+ x# b
  137. ;   Default Value: None
    2 M2 t- R  w2 L) t
  138. ;   Development Value: "GP"
    ; j. u' G$ w1 q! V; \) Y' y! x
  139. ;   Production Value: "GP"5 y$ h+ D+ k- ?( x% ?1 o, A  m

  140. ' q8 q( M1 W; n$ u! P( S. W. k) K* h
  141. ; session.gc_divisor* z5 b* h0 A+ B/ U: W3 c2 m
  142. ;   Default Value: 100) z1 G' s% b# k, {; O
  143. ;   Development Value: 1000
    9 v$ e/ y6 i% r% E0 N
  144. ;   Production Value: 1000. j: J# m6 T/ \) Y) T( t# I5 X
  145. 0 k/ v, G* _6 a2 r# e) ~0 `
  146. ; session.hash_bits_per_character
    : T! \! M9 Z& K& ?
  147. ;   Default Value: 4
    7 z: Y0 T, `3 L5 U% {2 k
  148. ;   Development Value: 5
    ( ^1 Q- O; x2 ?! \# Q
  149. ;   Production Value: 5: ?( u: s1 u8 \& s& z
  150. 5 V+ ?5 D9 ~" J( }
  151. ; short_open_tag
    5 O5 n. W% P8 z7 J4 a3 p; J/ R
  152. ;   Default Value: On
    5 `5 H9 X$ H8 [/ A# t) U! q
  153. ;   Development Value: Off$ @; D' L* Z" I$ [$ L5 o. ^" g
  154. ;   Production Value: Off
    / ^: E* o# B  d" z8 A/ t" ]

  155. - L. [7 @6 q6 H
  156. ; track_errors4 r& Q& ^# A3 B. z% {. K
  157. ;   Default Value: Off& {2 o7 m/ v4 E6 O3 W: `- B- c
  158. ;   Development Value: On
    " D2 k, |. }, @9 |  S
  159. ;   Production Value: Off8 ]7 X- Q( I* N' D5 }& ]. K& N
  160. - b9 X! ]& k4 q8 l8 K
  161. ; url_rewriter.tags
    3 x& ~& g* v8 e8 u
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ! _- C" c7 s. G2 N
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    5 ]' q1 j! g6 a
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    0 |0 M/ F+ }# J  o5 O, A$ ~

  165. " p5 B0 W7 {; k. @
  166. ; variables_order
    ' I9 j7 G* J% \( u
  167. ;   Default Value: "EGPCS"' T; M) n! Y9 }" g8 M) [9 u" a# r
  168. ;   Development Value: "GPCS"
    : Y% z. @& B0 \" m
  169. ;   Production Value: "GPCS"
    + L, [3 d8 O* ~: R7 f

  170. 5 T) P* ^8 u1 n8 H: _3 s
  171. ;;;;;;;;;;;;;;;;;;;;
    4 _: h2 u4 D9 _( r9 ?. V
  172. ; php.ini Options  ;/ Q# Z& ]% J5 K; U: n8 D
  173. ;;;;;;;;;;;;;;;;;;;;
    ! j  {! h) u; G/ Z' R% ]) s
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"/ b8 M6 X" M+ x
  175. ;user_ini.filename = ".user.ini"
    2 j8 D$ ~5 C# m; v4 g

  176. / B( f( k7 \& |! @# N( g' R
  177. ; To disable this feature set this option to empty value" Q7 l+ k/ i; Q7 |
  178. ;user_ini.filename =" k* M1 V$ F4 j6 n# V8 d

  179. + e' v. d4 t6 F
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    ' j/ M( P% M- C! A
  181. ;user_ini.cache_ttl = 300
    5 \5 A' n8 j2 g* H+ l8 x* E' M$ Q
  182. & H% j" ]" j0 _/ z% u& f# u. S; S
  183. ;;;;;;;;;;;;;;;;;;;;/ P% V* [3 n7 ^: m$ p
  184. ; Language Options ;
    & a# y- q% x: z6 Z4 ~
  185. ;;;;;;;;;;;;;;;;;;;;
    6 w( A! p( ]  I4 u
  186. ! @6 z. Q* q- z2 b' k
  187. ; Enable the PHP scripting language engine under Apache.
    $ \+ ^. b9 ^0 M$ s. r. {
  188. ; http://php.net/engine
    . |& _) m# u0 C& b
  189. engine = On: y7 [! H0 B4 j5 F% {/ {- V

  190. ) }1 K  g4 s1 y; ~! n# W
  191. ; This directive determines whether or not PHP will recognize code between
    - U. H( M* I. g) ?
  192. ; <? and ?> tags as PHP source which should be processed as such. It is/ e& d' g, c& @/ _* k  m2 R
  193. ; generally recommended that <?php and ?> should be used and that this feature0 N, }8 `# j! X
  194. ; should be disabled, as enabling it may result in issues when generating XML- z; _" s9 G9 {, O' F
  195. ; documents, however this remains supported for backward compatibility reasons.
    # }6 c* ]) {, L0 q' T4 P( B
  196. ; Note that this directive does not control the <?= shorthand tag, which can be& w& V2 Q" L, Q; Z
  197. ; used regardless of this directive.# T) N7 ~% u' ~# ~7 A0 K
  198. ; Default Value: On3 N! w; p6 R: E3 e% Z5 [+ T# I
  199. ; Development Value: Off
    , [6 E6 |7 J7 `: \( O: K( F3 @) n1 i
  200. ; Production Value: Off& H# s1 A& {! q! P
  201. ; http://php.net/short-open-tag4 j2 g0 L0 e* ^  K) m4 \
  202. short_open_tag = On+ M7 q" O0 P7 ^' A5 L

  203. ) F2 y* d/ D$ {  K
  204. ; The number of significant digits displayed in floating point numbers.
    6 `2 O' S. C5 _; T" [7 V( V
  205. ; http://php.net/precision
    " m8 z" z6 R) t1 j' r) Z# k
  206. precision = 14
    3 m, n* W0 P+ d4 c

  207. 5 m/ Y% g% c  {  \9 q# Z& y' G6 ]
  208. ; Output buffering is a mechanism for controlling how much output data2 j+ A: I( K3 D# }
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that" Z: g% A7 J) @5 ^: u3 E/ x
  210. ; data to the client. If your application's output exceeds this setting, PHP
    4 P) K8 O3 N2 {8 k% O% y4 k: p' X
  211. ; will send that data in chunks of roughly the size you specify.
    % g& R' `; R4 [4 Q2 Q2 s
  212. ; Turning on this setting and managing its maximum buffer size can yield some8 H/ }; D6 e. J; N' P
  213. ; interesting side-effects depending on your application and web server.3 B% Y* k* V8 }) ~( C6 Q6 n; i4 C
  214. ; You may be able to send headers and cookies after you've already sent output& H, p; p( a1 u: F4 P. ?) L: Y
  215. ; through print or echo. You also may see performance benefits if your server is
    1 h( q1 j! w6 [, A' V
  216. ; emitting less packets due to buffered output versus PHP streaming the output5 {6 Z* z0 W; N: _$ z
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance9 n! w7 N& H0 i8 n- V6 R
  218. ; reasons.
    ' d, ~1 z7 h0 W5 m) `
  219. ; Note: Output buffering can also be controlled via Output Buffering Control3 v' G& M) k7 Y
  220. ;   functions.
    : m% U. B8 h7 V$ c2 T
  221. ; Possible Values:; v1 B% e  ]. L
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)% r! M& a2 t* {' x4 t7 [  F
  223. ;   Off = Disabled
    ) Z6 V& h2 _  E- _% J" R4 w8 B
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.* c7 T6 ]3 e* f( z% i* a
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    # Z- E4 D/ S# q+ Y3 e" ]. F
  226. ; Default Value: Off
    . d: ?! F- E" A! W$ r7 F( M8 g
  227. ; Development Value: 4096
    : Z/ i) `1 h; I: k) Z) ~& @
  228. ; Production Value: 4096* E: W$ R: t# J# f! D
  229. ; http://php.net/output-buffering
    3 O, \/ u5 x# A: T' m: E* x
  230. output_buffering = 40963 l5 L7 g3 {% _8 g1 h' o8 |" K
  231. 2 a0 w: ~# T+ r
  232. ; You can redirect all of the output of your scripts to a function.  For
    * L  K! u7 o7 z1 f7 v
  233. ; example, if you set output_handler to "mb_output_handler", character( N, v8 g1 A- w# ]
  234. ; encoding will be transparently converted to the specified encoding.
    & Q7 Z2 q3 d% @; k
  235. ; Setting any output handler automatically turns on output buffering.
    : v- r1 S' V7 |
  236. ; Note: People who wrote portable scripts should not depend on this ini: l$ B. K) v. \2 s& h
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    2 ^2 y5 M* ?8 k. `+ v
  238. ;   Using this ini directive may cause problems unless you know what script
    0 q- O$ _1 V# Y# a2 L- O% u
  239. ;   is doing.! l) \# O; T- S; w9 w
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    & ]3 L% O  D, V1 {8 Q  \
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    ! u, K! f8 L. K. h! f4 I
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    9 W$ W! K! G5 A# v
  243. ;   Instead you must use zlib.output_handler.
    5 M+ q) u/ d9 e9 ]% z7 t8 n2 t
  244. ; http://php.net/output-handler0 f0 ?1 S) u$ R& x
  245. ;output_handler =# @" Y  n3 y+ q
  246. * J  ]3 e  V! z0 m
  247. ; Transparent output compression using the zlib library4 R- M4 c* g- W* H) j/ y
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    + L, O$ }/ V  l: w4 R
  249. ; to be used for compression (default is 4KB)
    % o3 E$ f. W  ^6 [
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    : C" B! W, X; s" G! k; Z
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    9 b9 u' [* M" x& }, P
  252. ;   compression. If you prefer a larger chunk size for better
    ( d- M. \8 J6 J# t- U% H
  253. ;   performance, enable output_buffering in addition.. i: \: p; w+ D. j
  254. ; Note: You need to use zlib.output_handler instead of the standard2 Y7 c+ s0 J+ P
  255. ;   output_handler, or otherwise the output will be corrupted.
    % t/ v$ L, ~# a: `" m" j( o# t
  256. ; http://php.net/zlib.output-compression
    " n3 i) ^- W) B6 O
  257. zlib.output_compression = Off
    1 \4 \; Y: y7 l' C; c' P' l

  258. & f- W' v0 Q, L) K0 M
  259. ; http://php.net/zlib.output-compression-level
    ( @, Z- H/ \& c" m% B. F
  260. ;zlib.output_compression_level = -1& _# k- i' B9 b( R1 Y& n+ l/ O( \# [
  261. , v& E. P' m. Q* |; x
  262. ; You cannot specify additional output handlers if zlib.output_compression  w8 j! m( E) K& }5 L
  263. ; is activated here. This setting does the same as output_handler but in( m  a: U! v4 U! K8 f- o" ^
  264. ; a different order.
    2 ]3 b5 S/ E" X3 q/ ]# y
  265. ; http://php.net/zlib.output-handler, ~5 D( a1 ?5 P: V; p% T
  266. ;zlib.output_handler =
    0 r3 z; M" N1 E( R1 J) H
  267. 9 x6 V4 ~9 @1 l6 C
  268. ; Implicit flush tells PHP to tell the output layer to flush itself! J: ]# f" |6 u% H
  269. ; automatically after every output block.  This is equivalent to calling the
    ; ?& y2 ?( I" ~; P) j9 U& }
  270. ; PHP function flush() after each and every call to print() or echo() and each9 c. L  Q, q! x/ h$ d, F8 H
  271. ; and every HTML block.  Turning this option on has serious performance
    ' p, m. B% a8 ]' K+ z
  272. ; implications and is generally recommended for debugging purposes only.
    , q- Z" T7 e8 J3 C
  273. ; http://php.net/implicit-flush" j# q) S0 W  k' `! c+ B
  274. ; Note: This directive is hardcoded to On for the CLI SAPI+ u3 Z6 H( ?9 t3 b" f# k5 @5 O
  275. implicit_flush = Off
    ! Q9 c* ]8 E4 y( J
  276. % I' S) C5 e+ C: g3 m: e
  277. ; The unserialize callback function will be called (with the undefined class'& a9 p. [5 G; c& ?3 [6 F
  278. ; name as parameter), if the unserializer finds an undefined class2 n  U6 A/ [* b/ O; {  R
  279. ; which should be instantiated. A warning appears if the specified function is) n& Z1 l* x: {- R$ H
  280. ; not defined, or if the function doesn't include/implement the missing class.! ~( n' ~) Y8 @* S" v
  281. ; So only set this entry, if you really want to implement such a
    8 O' i6 Q8 d5 O
  282. ; callback-function.+ Z8 N3 k# @$ @( C
  283. unserialize_callback_func =
    0 ^4 S3 w! P6 u
  284. $ |' \/ C; {; ~
  285. ; When floats & doubles are serialized store serialize_precision significant; ~9 [( p$ b( B& O0 i
  286. ; digits after the floating point. The default value ensures that when floats1 e0 P+ H, y( C  [0 E  Z" S
  287. ; are decoded with unserialize, the data will remain the same.0 K  B! x+ e  H& O9 ~3 G6 w: H
  288. serialize_precision = 17
    ' D0 |3 d5 o( i) Z
  289. 3 ^$ E2 X0 `7 e2 l% p1 R
  290. ; open_basedir, if set, limits all file operations to the defined directory
    3 i& D0 O% U( [9 G: {1 u
  291. ; and below.  This directive makes most sense if used in a per-directory7 s; h! Q5 n! D; e* |
  292. ; or per-virtualhost web server configuration file.
    ! z$ P+ a/ k; m7 _& ?% n
  293. ; http://php.net/open-basedir
    2 B' q1 _. x, q1 [, S6 a: X2 @
  294. ;open_basedir =. p  \+ ^) S& y7 B+ T
  295. - z- A/ x: w$ {3 c
  296. ; This directive allows you to disable certain functions for security reasons.
    ) X8 s0 z; y; u3 {  c7 w  b
  297. ; It receives a comma-delimited list of function names.9 l, F% B0 d) F' K
  298. ; http://php.net/disable-functions
    8 l6 F+ `. |6 ]3 N' @0 E! o
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru* o+ V" v8 c1 a
  300. # }5 C) Y/ n/ l7 D4 n' @- N% x
  301. ; This directive allows you to disable certain classes for security reasons.
    : M; e, ^8 K% y! e" l8 t3 j5 f
  302. ; It receives a comma-delimited list of class names.* i" S7 v4 u' n- j8 b+ j/ {
  303. ; http://php.net/disable-classes5 j# B2 A* X3 D- ]
  304. disable_classes =7 s/ r% \+ n; q6 {  e7 V- W
  305. - @8 J# a+ C: R9 ]0 u
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    # }) |, E# n& G
  307. ; <span style="color: ???????"> would work.  T+ [( `- g6 X* H
  308. ; http://php.net/syntax-highlighting, o; `8 x0 m( R  f
  309. ;highlight.string  = #DD0000
    2 @) V1 P8 q6 Z+ v3 [- _* U7 Q- h
  310. ;highlight.comment = #FF9900
    6 L5 _- W! x: Y! q( @" e& g9 h+ r
  311. ;highlight.keyword = #007700
    * [4 u: m! a4 d6 t* l/ A% a
  312. ;highlight.default = #0000BB3 U6 ?; z4 L7 r6 b
  313. ;highlight.html    = #000000
    3 o" m' X( T! g

  314. 4 m  ]8 O! g9 I7 Y0 u$ h
  315. ; If enabled, the request will be allowed to complete even if the user aborts) g8 y4 s; Y4 i1 `& ~+ C8 J. e
  316. ; the request. Consider enabling it if executing long requests, which may end up
    8 b/ D! |: P+ T+ J% b4 t7 J0 L
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    ; w% h& |$ ?9 ?7 g! {3 `% u
  318. ; is to disable this feature.
    6 {9 @: Z7 C$ ]
  319. ; http://php.net/ignore-user-abort
    # F8 ^; Y5 X7 E5 V* v2 _: Q$ H
  320. ;ignore_user_abort = On
    ) G. U3 V2 |" ], c

  321. 2 `& D2 s# ~' |3 G8 z. R' U
  322. ; Determines the size of the realpath cache to be used by PHP. This value should2 d8 y& r6 x) d
  323. ; be increased on systems where PHP opens many files to reflect the quantity of! ^# ^9 z/ u; H# j" H6 ^
  324. ; the file operations performed.
    8 U: {& H1 B- M' q4 D* B
  325. ; http://php.net/realpath-cache-size
    3 Q* L* D+ V, n1 |
  326. ;realpath_cache_size = 4096k
    , M1 K2 K" a5 i3 a% F5 I% ~

  327. - J8 C! h! r( n9 `
  328. ; Duration of time, in seconds for which to cache realpath information for a given% a& |) E, s5 ^0 }8 \1 Z
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    9 `- W* S9 l9 o/ ^) n8 |' F7 |
  330. ; value.0 I( h' A) ~  t9 M! Q+ \
  331. ; http://php.net/realpath-cache-ttl4 z7 \& z" J5 f5 p" i) p' L4 S
  332. ;realpath_cache_ttl = 120
    $ h- |& [7 f: Q! `. _

  333. + c$ }9 u- Y# r7 U
  334. ; Enables or disables the circular reference collector.5 H" `+ k2 A6 S& v5 h
  335. ; http://php.net/zend.enable-gc
    ) s4 w# Z/ Z% U7 U" ?- @
  336. zend.enable_gc = On* [9 ]: n( B7 ?* T9 F
  337. 3 r% Y/ w& r- R" y
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    / L$ T; H7 K4 N# u: q# j
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such# ]  U! M% P9 w0 b! B( X5 q
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    + \! g$ Z$ U( z6 ~. ]
  341. ; Default: Off3 o2 C9 R& i- d0 T9 i& b
  342. ;zend.multibyte = Off
    ( |# O, c9 d: Q( B) k( ^& t" O% Q
  343. , b) Z4 `$ l# S1 I9 s2 A& Z
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    ' _: V) `' `8 @
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    1 V, }6 U0 i1 X+ C- C( ]4 [5 R
  346. ; Only affects if zend.multibyte is set.2 }+ J5 Q1 z! F. g
  347. ; Default: ""
    ( F/ d  X9 n) _* C" F' o4 Q' S7 y& ~
  348. ;zend.script_encoding =( y  I. e/ n5 P  z& y: y7 m9 t, \

  349. 2 t6 S8 e( _- L$ _# @1 Y# U% J" u
  350. ;;;;;;;;;;;;;;;;;, f/ g; X; O/ M% m; v7 Z4 P1 e3 C
  351. ; Miscellaneous ;
    9 W. P8 y- M* T& d$ N
  352. ;;;;;;;;;;;;;;;;;; k1 s! c2 W' Q* H: @
  353. 8 ^" A1 p, `5 `' s$ p- u
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    & X9 D( v$ x; |! R
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    ' G% ?- B; ^. r
  356. ; threat in any way, but it makes it possible to determine whether you use PHP1 {' k: W6 C1 d" X1 b- Z) X9 V- g0 R
  357. ; on your server or not.
    7 \+ P; O6 x; R6 Y. r% d
  358. ; http://php.net/expose-php
    4 R6 m8 z3 |: M0 `& ~* Q
  359. expose_php = On
    4 W( Y  D( e5 B3 o, k5 L% _1 m
  360. # R% n5 y2 I) N( L. g8 S
  361. ;;;;;;;;;;;;;;;;;;;
      Z7 O  B8 ^/ g$ s7 l# y9 y4 Y
  362. ; Resource Limits ;" G+ t0 A0 b. N, l: F# J
  363. ;;;;;;;;;;;;;;;;;;;
    4 O% C" P. F1 ^' d' p+ x! A, L

  364. + {% V$ f( b( ]! V
  365. ; Maximum execution time of each script, in seconds  w, X( W1 |$ g& E& D+ S; }3 G5 K
  366. ; http://php.net/max-execution-time! n( ^" e# N7 u7 x  y* c9 ?: O
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI/ |2 A+ M) h1 X8 a5 H2 h8 ?
  368. max_execution_time = 300+ ?" S+ h0 H/ G+ K; v

  369. % _3 Q" Z8 L) ]2 r6 w' P+ ?2 m& @8 z$ X
  370. ; Maximum amount of time each script may spend parsing request data. It's a good0 }# |7 Z4 e6 }( V$ V6 c
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    3 d5 r( f2 P. q  n  c
  372. ; long running scripts.
    ' u* m, w, v0 _' _
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI: o0 A3 G0 G- v7 x6 K- N
  374. ; Default Value: -1 (Unlimited)
    ; b2 @4 X& j; M5 g3 t  t  j
  375. ; Development Value: 60 (60 seconds)! y2 b7 H$ m+ i
  376. ; Production Value: 60 (60 seconds)
    ) F8 R4 ~% Q5 M
  377. ; http://php.net/max-input-time
    % k% e3 }; X2 }' G1 b$ H
  378. max_input_time = 60. x5 f( s% |, l% f1 b) v, r% ~. ?# C
  379. 8 z/ k3 V( J1 K" p
  380. ; Maximum input variable nesting level
    / f* u; k6 `; I; L
  381. ; http://php.net/max-input-nesting-level
    1 g) @! R3 [. {% ?2 Z$ |. K
  382. ;max_input_nesting_level = 64/ j' C* k, L' ^

  383. & {; n6 M$ F- n1 Y: a- H
  384. ; How many GET/POST/COOKIE input variables may be accepted
    0 A) \0 y' `6 h0 [0 p$ J; N: D
  385. ; max_input_vars = 1000
    ' A0 \7 {2 Z2 I2 H7 K; k: R7 A8 ^
  386. 2 z' v& j6 [. y. @* o
  387. ; Maximum amount of memory a script may consume (128MB)
    1 x& d* r5 F1 J- d3 R
  388. ; http://php.net/memory-limit
    ! e, q+ t- j' A, h) o& V
  389. memory_limit = 128M
    2 q7 h: z  b) u6 V& m  n; {2 {' f
  390. " ?1 r$ v; D! a# q, S; I$ g
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7 R; A4 |0 }: @4 q# w
  392. ; Error handling and logging ;
    ! @3 o5 m* B( t  |$ ^5 D8 m
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    2 z. e" `; v5 I& E
  394. 4 ~" B5 V: c" p/ U1 d
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    % V1 W0 h) a; X. E- E
  396. ; it to take action for. The recommended way of setting values for this6 L" ~6 D0 J9 h( x- ^5 ^$ y
  397. ; directive is through the use of the error level constants and bitwise
    7 g1 s9 `8 R4 x( q' a
  398. ; operators. The error level constants are below here for convenience as well as* `( T7 y) C$ Y7 o4 o
  399. ; some common settings and their meanings.
    ) z( D+ C" N2 O
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT% W) r  g8 u' b9 ]9 b0 v2 Y' P  B
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and" @2 Z) @' ~: B1 I( }1 q* _
  402. ; recommended coding standards in PHP. For performance reasons, this is the( \  Y( i3 x  a( _" Q1 ]: b
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
      _. o4 b" w2 ?3 {9 D  I+ `
  404. ; resources complaining about best practices and coding standards. That's what$ c( N! t0 `& m  Y; S) s& b2 z$ N6 X
  405. ; development servers and development settings are for.
    9 d1 Q3 ~6 H& v# f  b
  406. ; Note: The php.ini-development file has this setting as E_ALL. This) r1 Y. D: h4 }$ l# j- R* i
  407. ; means it pretty much reports everything which is exactly what you want during
    0 B, B( |$ B, B  u
  408. ; development and early testing.6 y, n4 F! X9 _9 I
  409. ;
    ( g" P3 G/ N2 }  K
  410. ; Error Level Constants:
    0 J: f! l) [3 r' u' v0 c7 a$ s
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    : o* d5 q* K* H2 n$ n3 v0 E# o
  412. ; E_ERROR           - fatal run-time errors
    ; o& S' g( _  _* @
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    . R6 X) }. P0 h- J  x9 C% s
  414. ; E_WARNING         - run-time warnings (non-fatal errors)2 a1 |3 S! T  o; U. Q+ Y
  415. ; E_PARSE           - compile-time parse errors6 p' q( r+ J1 g
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    5 @7 q9 J! D: l) [3 R# D/ F
  417. ;                     from a bug in your code, but it's possible that it was' M' A+ X" W; P$ {* x2 i1 C
  418. ;                     intentional (e.g., using an uninitialized variable and
    $ n: s) X4 n  o* ]: B5 Z  H
  419. ;                     relying on the fact it is automatically initialized to an
      X" J" B% g/ R
  420. ;                     empty string)5 c. B) W6 z4 G! n7 a
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    : ]* w/ g& k" ~" n8 `
  422. ;                     to your code which will ensure the best interoperability
    ( V* h) }/ }* s5 e% ?! N7 g1 l4 z
  423. ;                     and forward compatibility of your code
    + c$ n- O, I5 Y( {
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    2 [3 K. B/ r8 b- P
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    # ]8 d. @& d9 @# u" n4 F
  426. ;                     initial startup, P7 Y4 r- i0 X0 p. m. J
  427. ; E_COMPILE_ERROR   - fatal compile-time errors$ q( r0 r3 O4 ]; d5 G
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    ) u& [7 Q6 @' V! [/ m
  429. ; E_USER_ERROR      - user-generated error message. g: U& a# P7 {
  430. ; E_USER_WARNING    - user-generated warning message% E+ F* C2 t' U8 }- I
  431. ; E_USER_NOTICE     - user-generated notice message+ g8 d" h# y) i! y
  432. ; E_DEPRECATED      - warn about code that will not work in future versions; d- X3 o* v4 u) [
  433. ;                     of PHP
    " Z2 ~0 y! k: x) H
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    3 {8 J0 _1 t0 @- Y
  435. ;
    + X+ v; e' L  m, G
  436. ; Common Values:& z; _: m& v/ w. _
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.), p. V5 D; M, I- P* L) G( h
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)- Q2 q9 d% m! U2 V+ A* Y
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.). F3 p( N/ I* ~! i5 e$ J
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    + G$ V  W* X' k  o4 b/ K
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED; c' T: @9 E- K# i
  442. ; Development Value: E_ALL7 z0 b8 l2 S9 t8 h2 q9 t
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    4 ]; }- E3 H* M* i  s1 L( z
  444. ; http://php.net/error-reporting
    6 w$ D# n. G. F- [9 a
  445. error_reporting = E_ALL & ~E_NOTICE
    4 Q2 I$ a/ _  m4 N- A2 x5 `

  446. " P2 C/ R8 s7 K, F8 q6 C
  447. ; This directive controls whether or not and where PHP will output errors,2 K4 ]( |, B9 M' F
  448. ; notices and warnings too. Error output is very useful during development, but* N7 ~& S" Q+ {6 R. Y6 W: S4 @' D; ~
  449. ; it could be very dangerous in production environments. Depending on the code
    ) z* t# E) r+ Z8 v# [% ^7 S
  450. ; which is triggering the error, sensitive information could potentially leak3 t( B) ~; p. l% E: Z3 G
  451. ; out of your application such as database usernames and passwords or worse.
    + C' @3 V% `  k9 q+ h+ D
  452. ; For production environments, we recommend logging errors rather than
    7 C, n! B1 T% A' m! n3 h
  453. ; sending them to STDOUT.
    + v& P) R; k4 o" E& m6 V+ b
  454. ; Possible Values:
    + Y1 \$ i9 Q9 \  F- D
  455. ;   Off = Do not display any errors* n6 I, e3 }9 q9 Q4 ~9 r# B
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)8 a  f  I$ S" y9 |
  457. ;   On or stdout = Display errors to STDOUT
    % u6 \- _+ ^, X) _% _6 _' b, W6 F, E' n
  458. ; Default Value: On
    8 \/ {+ r( d3 r8 }% p9 b: T6 n
  459. ; Development Value: On. [3 R6 q7 Z" k) U& }% u
  460. ; Production Value: Off& G  O* `" [" s; |
  461. ; http://php.net/display-errors' G( Y6 e. S" v% W) P0 X
  462. display_errors = On- L5 z1 E# n4 q3 x3 y; l* D

  463. ( U- G8 M5 F& r8 `; f
  464. ; The display of errors which occur during PHP's startup sequence are handled
    0 E. b6 E& ]$ W) B' n
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    1 g- M7 \; z4 {. D9 `
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    - c, x- R1 D; V, j, r: Y5 w
  467. ; debugging configuration problems. We strongly recommend you, S+ ]- l  s: X$ \9 ]6 s
  468. ; set this to 'off' for production servers." ]1 q- v" W9 _2 y  q+ Z* d
  469. ; Default Value: Off# y: H  ^7 @, K1 D: i8 p( D5 {
  470. ; Development Value: On- @& i* `& @/ q( S/ O/ K8 b
  471. ; Production Value: Off
    * [1 \% P, j: i3 T8 e' U
  472. ; http://php.net/display-startup-errors) d, V$ m; Q. D; q3 q$ \2 ^, S
  473. display_startup_errors = Off
    / v* x, {- [6 s8 `

  474. ' S4 Z6 j; _1 q
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    : {0 v$ B! y& }1 Y3 [9 l; s
  476. ; server-specific log, STDERR, or a location specified by the error_log
    $ J+ x' {  b, k# b& {. W
  477. ; directive found below. While errors should not be displayed on productions. U7 Z7 F. Z( s3 J8 \; @
  478. ; servers they should still be monitored and logging is a great way to do that.9 S- }( p0 |0 n4 h2 t2 H
  479. ; Default Value: Off
    2 a  M: C1 |: C2 q" [5 l
  480. ; Development Value: On5 k/ n( |7 {7 U8 x
  481. ; Production Value: On$ h7 @1 C: [1 M" J* i
  482. ; http://php.net/log-errors
    " u. c  v  D7 ?6 E! |+ Y
  483. log_errors = On
    . @1 }+ G+ z, A3 U6 G- [1 v
  484. ; X4 C, ^) z& z) H
  485. ; Set maximum length of log_errors. In error_log information about the source is1 \  t! \# f) _$ O/ ]2 a' v' i: O
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.3 k  t4 @0 S  n' o
  487. ; http://php.net/log-errors-max-len
    + @6 U' j/ h6 V5 Q; w
  488. log_errors_max_len = 1024
    ( {& Q) e, N# o( i: K

  489. & P4 n# n* h/ ~! Z  L
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same: T2 d4 L# z  y' l% C) T
  491. ; line unless ignore_repeated_source is set true.
    " p$ K. a( J0 f
  492. ; http://php.net/ignore-repeated-errors
    ( {2 k( w$ `$ Z) U9 i
  493. ignore_repeated_errors = Off$ w* M) t4 K1 v& ~! \( Q8 l

  494. - \- n) U7 c2 x" h* n% J8 f
  495. ; Ignore source of message when ignoring repeated messages. When this setting6 `2 A4 \6 A* I
  496. ; is On you will not log errors with repeated messages from different files or+ h- y2 M& T5 B4 [/ p
  497. ; source lines.
    3 N% Y3 D& P" e2 W; a
  498. ; http://php.net/ignore-repeated-source0 J% l5 W( p( D# Q) g* P
  499. ignore_repeated_source = Off
    1 w1 `! }1 A9 H8 A6 L6 m& Y* G, j

  500. 9 _- j1 {) h& j% z) X) y) k* m# r
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on0 t: a: e% Q; X  s4 x( D
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    $ J. \. C7 u9 C) q* A* R9 b5 X$ ?, Y
  503. ; error reporting includes E_WARNING in the allowed list6 f  b: y$ X" p0 r- n
  504. ; http://php.net/report-memleaks0 E# o+ d! m8 B  p, s7 f
  505. report_memleaks = On
    # L; X1 A/ }+ M" r

  506. + B& p  V7 M) \6 D
  507. ; This setting is on by default., T) s5 M- }: g
  508. ;report_zend_debug = 0  l' c6 E' U( e# q

  509. 5 T6 }( a6 b# B' V/ z3 R
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    3 G  W5 k" B7 j7 m: E
  511. ; to On can assist in debugging and is appropriate for development servers. It should7 W* Q! d6 G5 O0 ^8 P
  512. ; however be disabled on production servers.8 ^0 p- K3 a: a3 y: n2 l+ i
  513. ; Default Value: Off2 A$ Q1 ?9 d& f
  514. ; Development Value: On
    / H( m( o2 f* W5 O
  515. ; Production Value: Off
    8 z* B: t3 L! P
  516. ; http://php.net/track-errors/ w6 C9 G$ Q3 C( a) `# C" ?
  517. track_errors = Off5 G7 N, \! A: W& }7 A  D8 L2 F

  518. : s4 z4 [. R+ o" X: t" X
  519. ; Turn off normal error reporting and emit XML-RPC error XML5 D6 R/ R: a  H
  520. ; http://php.net/xmlrpc-errors
    . w% q$ F* J- p4 b2 S
  521. ;xmlrpc_errors = 0
    ' W" K" J0 z2 A1 i4 M
  522. , C, G) @2 ~3 G# K9 Q  t- }' S
  523. ; An XML-RPC faultCode
    1 I* u! d# \/ M
  524. ;xmlrpc_error_number = 0. z. Y# u. v+ H0 |. [8 L
  525. ' v/ g9 O0 b2 K* e, T9 s& D
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    ) {# l/ G( ~8 G9 c7 V. P3 p+ }6 f7 U
  527. ; error message as HTML for easier reading. This directive controls whether* K! P5 n0 s% Y2 X
  528. ; the error message is formatted as HTML or not.  j1 |, R: Y: U! }, n5 d
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    , P* N9 i. \) {2 t% }1 F- J3 ^
  530. ; Default Value: On8 L/ Y, E- l9 |. F
  531. ; Development Value: On
    , F' u& h/ v) P3 M8 n# K1 b4 s
  532. ; Production value: On$ ?2 \& K' i. L- S, k
  533. ; http://php.net/html-errors, |, r/ W; j6 u" n2 @
  534. html_errors = On
    + o" @6 ?' Q+ T* V+ X- d; I/ v

  535. " N+ a. a  c% j* v7 e+ A- r6 U+ M5 |$ c
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    2 @" g9 h  h! C' X4 q4 V1 a
  537. ; produces clickable error messages that direct to a page describing the error
    4 P( _; ?. _3 C; S$ S
  538. ; or function causing the error in detail.( C) \3 b2 n; [
  539. ; You can download a copy of the PHP manual from http://php.net/docs) C: U' X6 y1 U# [  ]4 T* X
  540. ; and change docref_root to the base URL of your local copy including the
    2 L7 D- i, m6 _- y) s0 u* ]  e
  541. ; leading '/'. You must also specify the file extension being used including# f8 ~& h4 m5 `% A
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which8 f& T% B, d1 p7 m
  543. ; case no links to documentation are generated.
    % Y9 q) e3 f8 d6 w
  544. ; Note: Never use this feature for production boxes.
    ! o% Z- C2 s+ J, v! e: i
  545. ; http://php.net/docref-root4 o9 \8 Y& M1 p+ z2 {1 J
  546. ; Examples
    4 a. b: [, _+ O9 v
  547. ;docref_root = "/phpmanual/"0 A, G) r" [3 R8 Y

  548.   ]" p) \+ W% @' E
  549. ; http://php.net/docref-ext
    ' ^/ v* _# h9 E5 @1 s* J. Z7 D+ T
  550. ;docref_ext = .html0 e# z0 V  a: T1 S2 {- ^
  551. : f8 Z" }, b1 ]* R. p) l% n2 |
  552. ; String to output before an error message. PHP's default behavior is to leave
    ( ~4 s# B3 I) [3 S& D2 |' _
  553. ; this setting blank.
    8 r; j% F* n! ]% ~8 O: [
  554. ; http://php.net/error-prepend-string, e1 n! k& `5 g- E) a  E$ q: n
  555. ; Example:" L+ G& b7 C; l
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    # [9 i- {; j) C

  557. + {( ]: B; r2 I# q7 _# {3 }7 E
  558. ; String to output after an error message. PHP's default behavior is to leave# v3 q% `) z7 H9 [  O) y
  559. ; this setting blank.
    ( L0 P3 a- f( m7 ^$ a0 u
  560. ; http://php.net/error-append-string: r! A2 {6 m/ Z/ _6 ?, I
  561. ; Example:+ h8 Q2 k) x* K' U
  562. ;error_append_string = "</span>"  |1 X3 F# U9 c4 W, a6 [5 F

  563. 0 O$ g. Z9 u  P- s5 g+ v
  564. ; Log errors to specified file. PHP's default behavior is to leave this value/ x/ T/ h# u# f$ r0 e
  565. ; empty.
    + Z1 r3 F9 x% S. c5 z4 U* U* Q
  566. ; http://php.net/error-log
    0 n( R! X" g& R+ W+ d" N6 O0 h
  567. ; Example:$ \/ q* p2 V# q5 E) U; E
  568. ;error_log = php_errors.log- P7 X" }) Y& z6 S7 j% E: U2 m
  569. ; Log errors to syslog (Event Log on Windows).0 h; K' c7 ]) m, u  X( Q  W5 q
  570. ;error_log = syslog
    $ A& c3 U4 V0 f  F( ~3 {0 W: S4 Z  v

  571. 6 u/ O2 b3 R( v% b5 A
  572. ;windows.show_crt_warning$ J  M8 x, M  O' h
  573. ; Default value: 0
    4 {1 S) q) l" G$ h( n
  574. ; Development value: 0" o+ `' }* @' \
  575. ; Production value: 0
    ( g3 B1 U6 q4 @

  576. - B# t8 i& o, _" T4 |
  577. ;;;;;;;;;;;;;;;;;) g+ {7 j) m: X+ E' }
  578. ; Data Handling ;
    2 E! i5 U. e+ c: w, Z3 t, Q6 ]
  579. ;;;;;;;;;;;;;;;;;- X' ~, \% B. k# p  Y$ D* k
  580. & z, U: x) a- _* `, h
  581. ; The separator used in PHP generated URLs to separate arguments.7 `9 {8 x8 E6 I: o5 e7 r( W) }( m
  582. ; PHP's default setting is "&".
    9 I9 r* z. A- b. i
  583. ; http://php.net/arg-separator.output
    0 n5 X. b7 M) U- m% L
  584. ; Example:
    1 ]! M: J  z8 o: X% B/ J6 `
  585. ;arg_separator.output = "&"8 m8 j$ [5 b, z! t! ~0 E# }

  586.   [5 a8 L7 N( ~5 f
  587. ; List of separator(s) used by PHP to parse input URLs into variables.% I/ S+ `( v- _
  588. ; PHP's default setting is "&".$ \1 U. r3 B; e6 i3 b& [1 Q6 g( Y
  589. ; NOTE: Every character in this directive is considered as separator!% M6 t  r2 h, z8 \* L
  590. ; http://php.net/arg-separator.input
    2 q4 v- O, _4 s, C( b1 }
  591. ; Example:
    $ u# c- o& O- v  _: `2 @
  592. ;arg_separator.input = ";&"
    2 L9 f* g9 e0 W% K' G

  593. . u3 e! Q# k' t0 h  h/ A6 L
  594. ; This directive determines which super global arrays are registered when PHP
    2 [. {0 K  @# Y2 g0 g
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    ) g" `: w$ z# w, N" C
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    / S: B7 x" Z% C% T" Q! ?
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    ; ]6 h8 b( Y* u9 g4 I3 m( W2 Z
  598. ; used as the others, ENV is not recommended on productions servers. You$ u; h) Z* n9 P/ ~
  599. ; can still get access to the environment variables through getenv() should you* T$ R+ t. ~. Y& ?
  600. ; need to.
    * c' B5 H1 q  X$ V7 w# p# [
  601. ; Default Value: "EGPCS"- |' M; ~, T) m% k
  602. ; Development Value: "GPCS"
    4 p/ i3 E: H" |
  603. ; Production Value: "GPCS";
    2 z' D% O% n5 O9 L3 n
  604. ; http://php.net/variables-order
    / @7 N$ D8 N/ u# n) n( v% |
  605. variables_order = "GPCS"( J0 Z. f/ O6 A2 W( f

  606. 0 a1 B2 _. C9 k
  607. ; This directive determines which super global data (G,P & C) should be  R( v1 n5 c% D0 s* q
  608. ; registered into the super global array REQUEST. If so, it also determines& u# n' v. e1 [1 s( Y
  609. ; the order in which that data is registered. The values for this directive
    1 q* K5 h. D# w
  610. ; are specified in the same manner as the variables_order directive,
    2 J$ A  o: z$ c" X: I
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set8 @+ P  l- m; Q/ y& M
  612. ; in the variables_order directive. It does not mean it will leave the super& ^; g; M% G7 s% y4 ~9 r
  613. ; globals array REQUEST empty.
    + D  m: @' a$ N2 U8 i1 k
  614. ; Default Value: None
    3 [3 ~3 \$ E' x0 ~7 z4 o% o
  615. ; Development Value: "GP"' w7 Z, j0 N) i3 r6 u
  616. ; Production Value: "GP"
    + K- Y4 B5 n& b2 G5 Y3 }
  617. ; http://php.net/request-order
    8 _/ E# U- S2 p% Q) `) x
  618. request_order = "GP"
    / x- n: q3 {& f) c$ P% V2 k& g- Q

  619. 0 s6 o, [+ b; \- v
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    , w0 _: h3 t: o) D$ o0 p
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    , m( ~; i$ z( j, I' Z
  622. ; is invoked. $argc contains an integer representing the number of arguments2 t! T  J5 T  f
  623. ; that were passed when the script was invoked. These arrays are extremely
    4 _  {$ O* E& P' M( e' t$ Y. m
  624. ; useful when running scripts from the command line. When this directive is
    % T2 u% X' h  f8 S
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    4 s, X+ r: g1 `
  626. ; a script is executed. For performance reasons, this feature should be disabled2 M9 K1 q7 K0 k0 t- c
  627. ; on production servers.$ W5 g  D1 [0 T
  628. ; Note: This directive is hardcoded to On for the CLI SAPI, P, x$ |8 E6 h7 b; x/ G, X) m
  629. ; Default Value: On' y& r: L/ \$ C+ M9 x5 T9 T
  630. ; Development Value: Off, O0 v$ q: t' \/ L: V
  631. ; Production Value: Off
    5 Q" f$ f) l9 p6 x- U' a2 R
  632. ; http://php.net/register-argc-argv# J5 k! n5 B9 a9 e7 H# l
  633. register_argc_argv = Off
      m7 }9 r) J1 m' Y( a5 Q+ T
  634. 8 q3 Q5 ~( I1 p" E2 l
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're+ r/ S$ I4 A$ f+ ]' A
  636. ; first used (Just In Time) instead of when the script starts. If these
    3 I9 s' _9 y! W& C9 V0 m( ?  E
  637. ; variables are not used within a script, having this directive on will result8 t% j1 c( U' M! c/ h
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled" ]8 n% K7 I) q' z( Y
  639. ; for this directive to have any affect., L6 y! S8 f( H9 v
  640. ; http://php.net/auto-globals-jit
    " }* I8 @- Q; ^: F, C  O
  641. auto_globals_jit = On
    8 p3 F0 F* e; m+ V

  642. % q! Q0 I( y# L- p6 n9 X$ H
  643. ; Whether PHP will read the POST data.
    2 B; e8 [  ]) e' p' }  N$ Z" V/ g
  644. ; This option is enabled by default.
    $ w4 a$ L0 D5 i7 U
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST% ~1 u' P/ Y' b$ C9 Y% |, y7 d
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    4 u' c9 I* Q% s' Q. V
  647. ; POST data will be through the php://input stream wrapper. This can be useful+ z+ M' p% q' v& i* H. D& V
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    # L) X2 z3 x1 k( x; v
  649. ; http://php.net/enable-post-data-reading2 O' F$ e: \, B3 B
  650. ;enable_post_data_reading = Off8 a' C% i- a# N& h5 ~9 c2 R
  651. 4 X. i% B: a, z, K" s+ i8 i
  652. ; Maximum size of POST data that PHP will accept.% z! s; l* @; F4 h/ q
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading. n+ d' J6 C  T- d+ D$ H$ i6 _
  654. ; is disabled through enable_post_data_reading.
    ) @" r. q, P. p# n( T4 j
  655. ; http://php.net/post-max-size3 B. ]/ {' b8 V/ t
  656. post_max_size = 50M% b+ `' R, u5 y

  657. 0 l$ y4 w; e; L3 m+ w
  658. ; Automatically add files before PHP document.
    : c% ^0 X; r& T4 s. r" z, ], d
  659. ; http://php.net/auto-prepend-file& l8 @/ I' t' C/ ?
  660. auto_prepend_file =
    ) ]4 Q% n$ H$ w% a- m
  661. : [. ~7 B# t+ A
  662. ; Automatically add files after PHP document.
    2 {9 Y' ~/ x8 a+ T, H" W' L7 c
  663. ; http://php.net/auto-append-file
    8 _. D( o0 @' ~  l$ V6 f
  664. auto_append_file =
    ) \: M: l1 L% V3 s7 p$ ~
  665. " n1 M8 L9 U0 O! `) U0 t* y7 U# b& N
  666. ; By default, PHP will output a media type using the Content-Type header. To
    $ m' R, K  ?0 Z, q1 N9 i
  667. ; disable this, simply set it to be empty.1 s7 [$ Z3 H1 d+ G* n
  668. ;
    / s4 }+ ]  B6 j
  669. ; PHP's built-in default media type is set to text/html.
    ) l0 h1 u% W$ }8 i! o2 V& p+ x
  670. ; http://php.net/default-mimetype9 @' V/ L5 w( b2 H  C
  671. default_mimetype = "text/html"4 i+ C: b/ B+ Q
  672. " J% {/ B/ I' r2 M
  673. ; PHP's default character set is set to UTF-8." m, F/ V  O5 }& f; V
  674. ; http://php.net/default-charset& q2 ^0 G4 T% U. r
  675. default_charset = "UTF-8"; {! p3 A- L" A0 O1 N/ I
  676. 4 F: J  n( u2 \0 t5 X
  677. ; PHP internal character encoding is set to empty.
    ) |4 q6 J# l0 c, F, P8 V) o
  678. ; If empty, default_charset is used.
    ' u: @; Z3 H' Y2 I8 r5 r
  679. ; http://php.net/internal-encoding: U: q* k' W! T: Y! u2 M1 [6 I
  680. ;internal_encoding =
    - D4 P# a. m- H3 j* D) l! j

  681. ) z3 s+ K8 \' T3 W$ x
  682. ; PHP input character encoding is set to empty." V: J2 ]# i4 W  K
  683. ; If empty, default_charset is used.: S2 l1 A7 B( x# C' G
  684. ; http://php.net/input-encoding! a3 b& K+ I8 j. T5 ?
  685. ;input_encoding =
    % v7 q( y0 @/ [2 y* P, {/ J. }8 v' }
  686. 3 O2 ?. x2 X; @4 j0 J; c
  687. ; PHP output character encoding is set to empty.
    : B! ^* Z$ x- s
  688. ; If empty, default_charset is used.
    + _% `7 J/ g8 b2 Z) v
  689. ; See also output_buffer.
    . _8 f; H8 V, z$ f# t( z
  690. ; http://php.net/output-encoding, e0 R! A  T8 ?4 W) x5 W$ `
  691. ;output_encoding =
    $ _3 L, d. H/ @6 G1 M8 X# S" v

  692. 9 a2 ?& w3 ]/ e
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;6 u. X3 U, C0 k9 ~
  694. ; Paths and Directories ;2 w3 E$ r! S4 Y) {
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;4 @: r9 x8 }$ I0 A8 V# v  Y5 R; q
  696. 3 Y& _3 I/ S+ a; _* B
  697. ; UNIX: "/path1:/path2"$ f  E$ X. x/ n% `
  698. ;include_path = ".:/php/includes"
    6 d* V  }  N' w" w7 X/ [0 d1 I
  699. ;# ~, ?) R8 y* d+ {2 i. Y
  700. ; Windows: "\path1;\path2"
    1 E9 P2 h8 E7 }# Z
  701. ;include_path = ".;c:\php\includes"" r; B( `7 P6 r; W5 H
  702. ;5 x4 v. i4 x' @* Y) ?6 D! Y
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    0 F$ L. z7 s" I; e
  704. ; http://php.net/include-path
    & ]2 @) s7 |/ R# E
  705. 7 R( r$ k2 M' t0 T: t
  706. ; The root of the PHP pages, used only if nonempty.
    . o+ Q0 C; z3 R4 S
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    ; ]/ i- Z# Q2 Q' _; ^
  708. ; if you are running php as a CGI under any web server (other than IIS)  r" R( `6 }! {
  709. ; see documentation for security issues.  The alternate is to use the
    / }( o, w6 S3 W5 o6 W
  710. ; cgi.force_redirect configuration below
    ( H  N, G$ z; s3 u" \/ A: ~
  711. ; http://php.net/doc-root2 k( T# g5 k- }+ e& {
  712. doc_root =
    . W2 V$ g" _& R; q# P  e
  713. : ]/ c9 N2 ?! c" q6 a: j
  714. ; The directory under which PHP opens the script using /~username used only
    ; Z( u. u6 m/ N7 r' t- L; V8 c3 C
  715. ; if nonempty.; V4 N5 Z, ~  n
  716. ; http://php.net/user-dir5 i. O1 a/ ~% z3 e: i
  717. user_dir =( V+ T9 n2 @  C4 S. B& H

  718. " U- M3 @9 V& Q! C! {
  719. ; Directory in which the loadable extensions (modules) reside.
    / W+ d: Z3 p' i
  720. ; http://php.net/extension-dir
    " W4 A" U3 ^7 _$ j" S1 {
  721. ; extension_dir = "./"
    9 K* w! t" Z  b7 u9 k$ O3 s: O1 l
  722. ; On windows:
    7 B. V$ |* A0 a. ~9 Y, j, j
  723. ; extension_dir = "ext"
    3 L% j4 u+ Q, D$ j9 I

  724. 1 m* L" H6 T% u( k+ g. v
  725. ; Directory where the temporary files should be placed.; O( e) ^# v# s% D
  726. ; Defaults to the system default (see sys_get_temp_dir)) p  m8 n7 n( w0 {6 M$ D$ i1 |7 e7 u
  727. ; sys_temp_dir = "/tmp"
    # B, i' }0 I: m2 C
  728. 7 i1 o% s: h3 o) x5 `' G4 i
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    7 C' X, U9 R6 t  [( q
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    8 x# s( v$ V, z# d
  731. ; disabled on them.* Z8 m( ?* G* q9 x- j" ]6 h/ X
  732. ; http://php.net/enable-dl
    " }* c7 M$ ^7 R/ j7 f; h! \2 C
  733. enable_dl = Off
    8 l$ Z2 ?/ ]& f( V, \2 P7 T9 a

  734. ( ?9 B2 g) }/ p! g% T
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under7 J* W( D  @0 A) l2 L' b5 h
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can' w  j5 q/ E7 M$ u% u! o
  737. ; turn it off here AT YOUR OWN RISK
    4 A7 a8 k& d7 ?
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    - J  P# V/ R) n
  739. ; http://php.net/cgi.force-redirect2 u: X: m" j. a1 n; v
  740. ;cgi.force_redirect = 1. f! Q0 O* [( M# ]4 G- d! A1 ^
  741. ; i, d2 L. a4 ?% H6 M
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    ) O0 I0 X/ Y. L! j3 h8 n% t* u- T
  743. ; every request. PHP's default behavior is to disable this feature.
    3 U$ a! h0 _9 U- w& n1 T( V
  744. ;cgi.nph = 1
    % N" }/ D8 g4 }( w
  745. ( r, `3 _% C  B2 g8 M  ]- W4 F
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    5 X0 `' a1 b* x0 V+ n
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP6 B* o6 i3 q0 X; Q5 S  ~) ?# n: F# y- r
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    ' v% Q  q9 e' _+ o3 l  l
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST./ z/ v) ^/ U5 l* y
  750. ; http://php.net/cgi.redirect-status-env
    3 E5 R' I* W9 K2 m
  751. ;cgi.redirect_status_env =# O* G, m4 C/ |8 B  Z8 ~- b

  752. ) T) l: e+ Z3 m2 _% I( X
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's* R2 I% ~- D9 U9 [2 I
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    4 M9 G8 d6 q' N7 s# _/ M+ G% r
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    ! W# y2 ]# A/ S
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting# ^/ }4 m8 h7 i  F
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts: Q8 S# z5 M+ W* _: W
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.  D3 a9 U- g4 V
  759. ; http://php.net/cgi.fix-pathinfo
    3 f( ~. k( C2 n
  760. cgi.fix_pathinfo=1
    - ?; P. `4 q% ~; F8 E
  761. 0 Y- Z  M1 ?6 D" M( f6 x; d* ^
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    9 j7 @) D' r; h! H, e8 j: o( G' Z
  763. ; of the web tree and people will not be able to circumvent .htaccess security.  F. h! j$ l% e/ \+ Q+ E
  764. ; http://php.net/cgi.dicard-path
    % `% U' i5 B+ a1 I
  765. ;cgi.discard_path=1
    . n5 _6 j) X6 ?8 M0 {

  766. 9 U7 v1 c5 u4 S# r6 C
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate- U+ W  ?  b5 r  t( q3 l9 S. H: \
  768. ; security tokens of the calling client.  This allows IIS to define the- b6 r$ V5 i' [" I. l
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    + }9 M/ @7 Z' D
  770. ; does not currently support this feature (03/17/2002)
    / [/ t/ u. g5 u9 o% K
  771. ; Set to 1 if running under IIS.  Default is zero.
      p1 Q( t/ |. p3 Z% y
  772. ; http://php.net/fastcgi.impersonate
    ) Y* f+ _3 J) l- W0 y2 j
  773. ;fastcgi.impersonate = 1
    & @6 m% u$ ?" O( n% J

  774. & X( R4 H* t3 r+ m% f6 W( m
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable+ S+ {2 Y! v0 D6 `% }. P
  776. ; this feature.
    1 S- l% ?6 @1 U
  777. ;fastcgi.logging = 0( n$ [. y& }# E* s2 k7 m/ U3 b
  778. ( v8 \' o. R/ F$ P$ S8 f, Q
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to) P( n7 }8 Y+ e; A/ o' L* V
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that) `/ o2 \) O) O" I$ D4 P
  781. ; is supported by Apache. When this option is set to 1, PHP will send/ v2 B$ o" V" \0 _( o; d% |
  782. ; RFC2616 compliant header.3 V" `) K) L3 z" N) F" |
  783. ; Default is zero.1 y& ?% U0 _- q* F/ g
  784. ; http://php.net/cgi.rfc2616-headers
    + }- m- ]' y9 g9 ?9 \# F  N
  785. ;cgi.rfc2616_headers = 01 w9 ]* |- s/ v& o( U/ {
  786. : H3 G1 T! D+ d# @; F& \3 }! C$ M( [
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    7 I' e  ?' i" E' p; j
  788. ; (shebang) at the top of the running script. This line might be needed if the
    $ a7 u0 K2 F2 `$ h! K
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    2 B2 V% q' J: Q5 j0 G, N
  790. ; mode skips this line and ignores its content if this directive is turned on., B1 Q& j% y2 B6 C+ C' _
  791. ; http://php.net/cgi.check-shebang-line8 s; ~5 ?, E3 N3 n/ h( Z  B8 S
  792. ;cgi.check_shebang_line=1
    7 O, e; p7 E" A" @* }. F& E

  793. 1 N& z) ~, n5 F) O
  794. ;;;;;;;;;;;;;;;;
    ; Q+ [/ h+ R3 Z# D
  795. ; File Uploads ;4 h' b+ x, \& h4 O& C
  796. ;;;;;;;;;;;;;;;;% ?5 b) l7 F- q5 C0 P% `/ c
  797. ( Q, z1 I' g6 s- F7 E$ R
  798. ; Whether to allow HTTP file uploads.
    ) P4 ~4 i9 C' Q" d
  799. ; http://php.net/file-uploads
    % y& z: M1 l6 p
  800. file_uploads = On
    8 h/ o2 V  ?  e# c; R7 g6 f

  801. ) r- e8 S# R, x2 i. m: n3 _2 u
  802. ; Temporary directory for HTTP uploaded files (will use system default if not3 C1 Z/ B  D7 ?2 `4 G5 b! a
  803. ; specified).
    0 c; |6 p  D# Q; B  j
  804. ; http://php.net/upload-tmp-dir8 C) W: V8 `  v+ f, y
  805. ;upload_tmp_dir =5 B$ `0 u5 S! X2 `6 D; r+ {

  806. 4 N5 E; t# k) @$ Q7 \" Q
  807. ; Maximum allowed size for uploaded files.
    ; }8 N* t& g2 E3 P" d7 S6 |7 S9 r: }
  808. ; http://php.net/upload-max-filesize0 A5 z! V3 @& \4 s4 Y, I
  809. upload_max_filesize = 50M( G! D0 k' |3 q. O5 N2 |, {
  810. 2 D- J! q. |$ g! ^# L
  811. ; Maximum number of files that can be uploaded via a single request# A+ S) Q' t! i$ M
  812. max_file_uploads = 20
    ; l* U9 w, X7 z. a
  813. * H: i* ?- O! g* q% M
  814. ;;;;;;;;;;;;;;;;;;
    " a& W* ~9 T7 W8 h
  815. ; Fopen wrappers ;
    7 X' R) i4 i4 M3 j
  816. ;;;;;;;;;;;;;;;;;;' B4 R: t+ O+ j
  817. 5 l. g' E7 Q6 b
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.4 N0 e9 M: `% S; m
  819. ; http://php.net/allow-url-fopen5 r0 h4 q8 y" J- H
  820. allow_url_fopen = On
    : h3 n5 j) V# h1 \7 K8 t% N; H
  821. : j* z4 Z4 ^# l- e! I" E3 U) J
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    - w8 @. {1 {1 k% a4 I2 D" H+ }
  823. ; http://php.net/allow-url-include& g0 @6 L- D7 F' N2 S1 q! E
  824. allow_url_include = Off- w2 V: Y, w( r# A3 f% x

  825. " {( A7 |- o! e, G8 f
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    7 P9 Z& ~0 Y6 g2 m3 Y- L
  827. ; for this is empty.; c9 y: @1 `# R) W( h
  828. ; http://php.net/from
    5 [. J/ H5 S+ g0 r# g1 ^
  829. ;from="john@doe.com"
    8 s* k3 K" F+ p! F
  830. 6 f2 @8 A, i+ G' \2 y- v; x/ |* p
  831. ; Define the User-Agent string. PHP's default setting for this is empty.9 h6 T3 s% w! @$ B, [+ Q% s
  832. ; http://php.net/user-agent& b" P4 Q0 |4 K* N* K$ |. [
  833. ;user_agent="PHP"
    , B8 |2 k$ v, M& R$ ]: y
  834. ) }# v. q5 p+ J. j
  835. ; Default timeout for socket based streams (seconds)9 C0 ?) G9 G1 V0 y
  836. ; http://php.net/default-socket-timeout2 S( d9 |0 o9 ]" }
  837. default_socket_timeout = 60
    7 Y: d# H7 o8 Q$ y
  838. 3 b# C+ Q, R+ [, Y0 f8 c! |' ]
  839. ; If your scripts have to deal with files from Macintosh systems,
    : |3 }3 _# N# v2 Y
  840. ; or you are running on a Mac and need to deal with files from
    : @- U7 K0 u' ^. _* {; K) F2 q
  841. ; unix or win32 systems, setting this flag will cause PHP to* C/ X0 _$ e7 c7 S$ b
  842. ; automatically detect the EOL character in those files so that
    7 [* k9 s- h; y& s" f4 N8 g
  843. ; fgets() and file() will work regardless of the source of the file.. A) [* K: N3 H+ N1 N0 Q6 P  N
  844. ; http://php.net/auto-detect-line-endings, L4 d" z) C% G  }+ E, c
  845. ;auto_detect_line_endings = Off9 k& x/ Y" Z8 j4 ^$ v# ]

  846. * \$ M( G! C. Z9 t
  847. ;;;;;;;;;;;;;;;;;;;;;;
    ! ?0 y- m+ Y0 g
  848. ; Dynamic Extensions ;( g2 d) o* E6 ?$ \
  849. ;;;;;;;;;;;;;;;;;;;;;;/ k6 O* A6 ?  Y! K; ^  \" Z$ ]
  850. 0 B- x4 o/ C8 s3 Y& G
  851. ; If you wish to have an extension loaded automatically, use the following
    ' o# P3 C& j2 M6 q
  852. ; syntax:
    * w! w' \3 _, o6 z9 T
  853. ;# C* S/ H7 U0 k6 O3 }# `3 }2 E# O$ K
  854. ;   extension=modulename.extension: {6 U: r+ L, n" q$ n. K
  855. ;
    ) j, e9 E4 N, t) i4 k/ ]2 |
  856. ; For example, on Windows:
    ; S' X8 D" T% ]; N
  857. ;, U  s: _- J( F" u) u1 A
  858. ;   extension=msql.dll  n) Z! W* c* C3 @
  859. ;: }! B" U1 f- I
  860. ; ... or under UNIX:
    ' D8 y* X' Y! }" R; M
  861. ;, A8 \9 \9 N- I, ~) G
  862. ;   extension=msql.so
    3 m! d  f' w: ?3 @! k
  863. ;
    + R; H% V: O0 q2 [
  864. ; ... or with a path:
    ; `1 N4 }4 K) W5 g$ n3 E% k
  865. ;
    0 J; L8 U) M0 g
  866. ;   extension=/path/to/extension/msql.so
    1 y$ a, u. c$ A% h$ J
  867. ;
    2 m( E! p  D; j! U2 C+ c9 l( F+ L
  868. ; If you only provide the name of the extension, PHP will look for it in its+ T. V1 t7 u* l7 G8 @! A' d
  869. ; default extension directory.
    8 Z( g3 O* y5 i0 N! C
  870. ;, ?( }* U; P' o/ P
  871. ; Windows Extensions1 A1 i' {2 ^" @6 E$ W" t# U
  872. ; Note that ODBC support is built in, so no dll is needed for it.! ~: R( T$ [" ]3 g! M/ v$ z6 y
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    & y3 @0 ~7 K1 N3 f+ j6 \
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).8 L/ j4 D0 \, A* `
  875. ; Be sure to appropriately set the extension_dir directive.
    1 E9 a+ o4 h; Q2 Q
  876. ;
    ! F0 N3 f) b1 B& a- f% T3 t, J
  877. ;extension=php_bz2.dll
    . Y1 I, L3 C+ C, u, |3 z2 m
  878. ;extension=php_curl.dll
    , S% E) t1 i1 Y3 R
  879. ;extension=php_fileinfo.dll
    2 ^- B8 A/ z0 J+ t  z; L2 g
  880. ;extension=php_ftp.dll* v1 B5 s$ E: N# \1 I- H
  881. ;extension=php_gd2.dll
    . V  J0 j" ?4 T  f: _5 P/ F
  882. ;extension=php_gettext.dll3 X. M8 ]/ O9 b8 C0 Q  r1 x( ]4 U% \
  883. ;extension=php_gmp.dll$ G  V7 }8 }% v
  884. ;extension=php_intl.dll
    * i" x9 M. t% M$ u5 `" I4 `% A
  885. ;extension=php_imap.dll4 h" Q( o# e2 H/ M. x0 \
  886. ;extension=php_interbase.dll# k; _3 U. ?! D, ~
  887. ;extension=php_ldap.dll
    7 X# j, Z! |1 v8 c  t3 q
  888. ;extension=php_mbstring.dll+ t( C9 l) b  j. C- r& v  n/ d. R
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it6 U. H8 e9 I$ l
  890. ;extension=php_mysqli.dll
    6 z9 p; T! O4 f" n  E
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    - h2 n. N+ }8 M1 B( U, I
  892. ;extension=php_openssl.dll
    $ {4 B8 V6 M5 C7 d, Y5 ]+ A
  893. ;extension=php_pdo_firebird.dll$ \9 M( G# K# K+ ~. ]" o
  894. ;extension=php_pdo_mysql.dll
    , G- O3 A7 X2 ^0 a# ^7 Y& T- K
  895. ;extension=php_pdo_oci.dll; B. u: K4 b2 t% @" z, [/ @
  896. ;extension=php_pdo_odbc.dll
    3 l2 ?  w7 w0 x# ?
  897. ;extension=php_pdo_pgsql.dll. @  u- w8 x4 F' ?5 P7 D. A, {
  898. ;extension=php_pdo_sqlite.dll
    ( v! A% ]2 R! R# W
  899. ;extension=php_pgsql.dll; _/ {6 f0 `) Y% U! Q  f, D" b
  900. ;extension=php_shmop.dll
    + j; @0 M& U2 H

  901.   }) P% N$ Q5 d) W9 o
  902. ; The MIBS data available in the PHP distribution must be installed.
    # j/ d: r: Q* e5 ]- V; b
  903. ; See http://www.php.net/manual/en/snmp.installation.php& j9 S  _  E; s# T$ M+ R( ~
  904. ;extension=php_snmp.dll5 d9 o+ @2 t: z: G; g
  905. % ?! D1 U$ B* Z3 H1 O
  906. ;extension=php_soap.dll
    & W: G' K& J  P1 ~! S
  907. ;extension=php_sockets.dll: Z6 P+ v+ |" t, Y4 f$ v/ V8 E  q
  908. ;extension=php_sqlite3.dll. L7 w3 c/ M# R! A$ c7 g; \
  909. ;extension=php_tidy.dll
    - `/ h; G  s1 X6 @7 S' I& I/ O
  910. ;extension=php_xmlrpc.dll- K5 S, G9 z7 k% x
  911. ;extension=php_xsl.dll8 G; n% |) S2 Z/ W+ @
  912. 1 T0 ^5 p4 a3 `' W' A6 D1 A( ]* M/ O
  913. ;;;;;;;;;;;;;;;;;;;
    / R8 X5 J0 Z. ~5 _6 P5 ~( o
  914. ; Module Settings ;
    - `& R! y6 {' \2 y  [6 e9 F
  915. ;;;;;;;;;;;;;;;;;;;& x! m. j" a: F, |

  916. 7 l: q: d) ~6 w
  917. [CLI Server]# W4 Z6 |3 _  Z; m% O) |- W
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output./ X$ i% F5 p2 H- ^% z1 L
  919. cli_server.color = On  F# A9 t; H5 K- q0 j7 C5 W
  920. $ \4 n8 z" |- O) c* ^1 _
  921. [Date]9 @# E' `% ~% u% \" \, [
  922. ; Defines the default timezone used by the date functions+ e0 P$ z( U* P0 m" ^/ ^
  923. ; http://php.net/date.timezone) {- @/ j& J, O  Y# w: @
  924. date.timezone = PRC
    3 w) F: w( x5 d- H: P0 t- E' A

  925. 2 h+ [/ M, ~7 ^3 q4 i
  926. ; http://php.net/date.default-latitude* P0 f$ u: L9 @$ V- I9 ^
  927. ;date.default_latitude = 31.7667' |8 G& j& T3 p/ P; i- N% |- [
  928. / q2 I5 w% n  E$ w. O1 {; V& l+ T
  929. ; http://php.net/date.default-longitude
    $ w: i0 R. k: N$ n3 ^# q" l
  930. ;date.default_longitude = 35.2333
    ( T: b: X' K+ ^& i3 S
  931. 6 D8 ^: a0 n2 `, _
  932. ; http://php.net/date.sunrise-zenith" W: t, V7 ]5 m; b- p
  933. ;date.sunrise_zenith = 90.583333
    9 f) a4 Z: b/ _6 F0 f

  934. 4 n8 C: x5 j' q( s! w  v
  935. ; http://php.net/date.sunset-zenith
    * T. V, `6 R& c
  936. ;date.sunset_zenith = 90.583333
    9 a/ f+ w: w1 p8 _4 `7 E; L+ \8 s
  937. * g* A( P- r3 e# J" m' P+ u
  938. [filter]
    0 U- B! F4 e0 o- |/ b" L
  939. ; http://php.net/filter.default
    & b2 Z% R3 W6 m, |
  940. ;filter.default = unsafe_raw
      _! D! q  \5 N+ D' s$ o
  941. , j# I4 ]6 [  f* @% r) x! u6 T$ V* \
  942. ; http://php.net/filter.default-flags: h* k) `2 n+ T6 Z$ `
  943. ;filter.default_flags =" n9 ]: W$ ]) N5 t
  944. 9 L5 ^/ a0 B) U) c9 K6 W6 ~
  945. [iconv]0 _$ }* z# m, L7 {% K
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.7 v+ J& W+ D3 M0 A" n
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.# u( X7 ~0 q3 D2 N! p1 o
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    : I; ]  `' }: w% P( h3 C  a8 B0 U/ L/ C
  949. ;iconv.input_encoding =
    6 p/ A) G# L' W  q( Y

  950. : e& o8 Z9 I' k" V5 P$ c! i: W5 t
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.' x: F6 l4 j' r* i' }, w
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    * }8 N9 y" C) B% t
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    . A& Z$ {' X1 d0 }* @$ i. ^
  954. ;iconv.internal_encoding =. n- M$ I; ?+ ~0 X# G& K- B/ R

  955. " S* d0 }* a4 L  J
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.: g5 Y- Q1 z0 t
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.$ |6 q  g3 I" k- A# O
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    8 N4 |& w# U4 M9 P1 k9 k
  959. ; To use an output encoding conversion, iconv's output handler must be set
    & c4 c- e+ D2 i/ h) `  e4 v' z
  960. ; otherwise output encoding conversion cannot be performed.
    5 o( `" m# ^7 o! I; Q
  961. ;iconv.output_encoding =
    # K. K$ R& \& b: w0 ~6 \, R) _

  962. ( J( k! u4 X- b' V
  963. [intl]
    $ [) q% _. C. K) J; A* m
  964. ;intl.default_locale =! f" u* j/ a; \" D
  965. ; This directive allows you to produce PHP errors when some error% c* N/ Z7 r: [3 Y7 T8 E9 }
  966. ; happens within intl functions. The value is the level of the error produced./ {- Y/ U: B, f+ [3 R- [  x
  967. ; Default is 0, which does not produce any errors.
    $ a9 J( u3 W+ P5 K/ x9 u! p# K+ q
  968. ;intl.error_level = E_WARNING! T7 V- G# _8 V9 T" y; i7 |% a- Q+ _
  969. ;intl.use_exceptions = 0
    - {5 a# Y9 P$ e
  970. " J6 t, }  K2 H+ r% |) c' Y' A
  971. [sqlite3]
    & J$ s: O/ T2 e' D1 }$ F
  972. ;sqlite3.extension_dir =! D% a' h; o; x9 z/ h& X3 U
  973. 1 @: D2 x5 I  }! Z5 f
  974. [Pcre]7 |. D: p1 i' @% ~9 f7 D  y$ P
  975. ;PCRE library backtracking limit.# v6 O( g5 E8 {0 c/ a7 q" A
  976. ; http://php.net/pcre.backtrack-limit
    2 `) @. I" E$ c4 H. v# c# r, D
  977. ;pcre.backtrack_limit=100000
    3 b! n1 d. `- s6 e5 M
  978. 4 m: q  l6 `3 q, A' R& @3 m8 P- {7 q
  979. ;PCRE library recursion limit.
    - _. I6 X7 h2 o4 O2 i! h1 W
  980. ;Please note that if you set this value to a high number you may consume all9 r" y4 ~- Q- r8 a+ r/ M) N  K
  981. ;the available process stack and eventually crash PHP (due to reaching the$ Y+ E( H3 w8 D& D8 K
  982. ;stack size limit imposed by the Operating System).
    % C8 y) p. S: N& {4 B( A" E/ E
  983. ; http://php.net/pcre.recursion-limit; g" D9 u* n7 W
  984. ;pcre.recursion_limit=100000
    / N8 j# k6 Z% x' _6 O  D" Q
  985. & _2 P+ k# c+ R1 ^' ~* r
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE3 D4 v8 W0 n% h/ q. [, x
  987. ;library to be compiled with JIT support.
    * J( {! X5 ]( p
  988. ;pcre.jit=1  A; u% M4 Y$ z; J5 j2 P$ i

  989. / c  M8 z" w. x% O# h8 e
  990. [Pdo]4 D4 z5 v4 O$ ~5 X$ ^: r# m& d
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    1 w* W2 Z+ u( q0 c1 {4 F& i
  992. ; http://php.net/pdo-odbc.connection-pooling
    4 j6 I4 s: C( {1 @
  993. ;pdo_odbc.connection_pooling=strict
    ! j6 S3 _) u3 t' y% J3 a; ]) t+ r( ~

  994. 8 o9 k6 `) d4 m
  995. ;pdo_odbc.db2_instance_name
    , d! p6 ?" Y0 ?: Q4 s  y# I

  996. - s! j9 o  I8 c- }% K3 I
  997. [Pdo_mysql]4 ^( Q, ^1 i5 y$ a( _8 {. ^
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache$ ^# a- H: l+ \: p7 n8 _. e
  999. ; http://php.net/pdo_mysql.cache_size
    ! R6 \4 Z3 `2 o) Y; A
  1000. pdo_mysql.cache_size = 2000/ {$ ~- T$ Y/ T! B1 c: l

  1001. 2 |6 `. z2 j! X' i/ t* _  V) @
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    : Q( i( U+ U: p0 r* l1 Z6 T$ \
  1003. ; MySQL defaults.8 L/ ~" v! C! W7 s# _; ]5 i# R$ a( J
  1004. ; http://php.net/pdo_mysql.default-socket
    / L( \$ O7 C. n, c
  1005. pdo_mysql.default_socket=, Q$ Q* }8 O, s% S" u9 g

  1006. * b3 E3 q% o2 |5 T, D
  1007. [Phar]
    * o. K7 H0 i; U' }  y3 X
  1008. ; http://php.net/phar.readonly
    " T2 q7 D; V: ]6 w6 Z" ^
  1009. ;phar.readonly = On, q) P- ~" W( `& a$ Q: X
  1010. # O5 s) Z" T7 @& ?
  1011. ; http://php.net/phar.require-hash
    ) \+ d! ^- p9 c: Q0 Z6 o
  1012. ;phar.require_hash = On2 Z4 V* [# t$ u7 x# M7 Q$ z

  1013. 4 Q8 t3 e7 t) Z/ R* K% R. {
  1014. ;phar.cache_list =
    - b& v; O9 v/ r, g7 `
  1015. - S$ l6 N) x9 W; |5 g% {
  1016. [mail function]
    0 r9 h% G' t/ S; @; i
  1017. ; For Win32 only.
    3 }! q3 l6 f; l4 Z9 o
  1018. ; http://php.net/smtp
    5 g' x5 R# b1 ], a+ l
  1019. SMTP = localhost/ g: j( x. m6 f+ ~4 I& F% c
  1020. ; http://php.net/smtp-port
    ; U* e3 i9 G) b: G9 W  l4 q% x9 E
  1021. smtp_port = 25
    ; O7 b! ?7 h& |% U) m+ p6 _: I1 W

  1022. 3 w, j# e/ y0 W4 ]
  1023. ; For Win32 only.
    , k7 M: g+ v5 L) v+ \  o
  1024. ; http://php.net/sendmail-from
    " q, [5 ]7 u, u9 o
  1025. ;sendmail_from = me@example.com% D6 g9 u8 e) u- e$ n! r" s
  1026. ( E, w8 _! s/ H2 n
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    7 u) ^, e  F) D6 U4 M
  1028. ; http://php.net/sendmail-path6 {# k* i# [* P" t, u7 g: d0 `
  1029. sendmail_path = /usr/sbin/sendmail -t -i* {$ D0 Y- e, l, C% v
  1030. " T9 L1 Q' J/ y' g5 j$ `
  1031. ; Force the addition of the specified parameters to be passed as extra parameters! A6 h! `9 }" V) R7 Q
  1032. ; to the sendmail binary. These parameters will always replace the value of1 ?8 }' _- V- X+ ~- v4 b. K
  1033. ; the 5th parameter to mail().4 S% x. {* S+ ?8 m. P& E
  1034. ;mail.force_extra_parameters =
    $ Y; M' z+ c3 t3 b3 h
  1035. % ~8 k' Y* q8 ?0 @* X! Q8 Y
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename( O4 F6 L# x9 L
  1037. mail.add_x_header = On
    8 d! A* l+ c& b* A6 E  \: `# E+ Y

  1038. 3 _/ B) I; X; D3 e
  1039. ; The path to a log file that will log all mail() calls. Log entries include8 @; s7 D, ]1 V: U! L3 ~! G/ I/ J- l
  1040. ; the full path of the script, line number, To address and headers.
    : I9 B, w3 a7 Y5 A' E+ O6 a
  1041. ;mail.log =
    9 D$ z8 V# J' h  d
  1042. ; Log mail to syslog (Event Log on Windows).
    $ Z9 K  ~4 H3 E1 ~" P
  1043. ;mail.log = syslog
      x" R* I* W/ C$ P* o+ t; P$ O
  1044. # L# z; h* b  m; I5 Q  f# _9 ~% a
  1045. [SQL]! G$ [- \7 E+ S# H% I
  1046. ; http://php.net/sql.safe-mode% c' V! s; }" D- o# O2 z
  1047. sql.safe_mode = Off
    . c3 s# `# M0 ^* ^8 s  x" m
  1048. 7 X& |% _. S9 `' F
  1049. [ODBC]
    5 ^/ q1 f' L) D' I0 V* t4 M
  1050. ; http://php.net/odbc.default-db
    % X/ m! t% k2 c2 O- l/ a
  1051. ;odbc.default_db    =  Not yet implemented4 s' g/ |8 v9 N3 z1 @
  1052. . n+ A* u& j. U/ P' \2 o3 n* h4 w% X
  1053. ; http://php.net/odbc.default-user
    6 V/ [  o( G- p0 O0 v
  1054. ;odbc.default_user  =  Not yet implemented
    ) R+ H! W6 O1 |0 U

  1055. # T/ b6 i% h6 _) U: K9 Y
  1056. ; http://php.net/odbc.default-pw
    1 o1 f& A- Z9 j8 x( T/ {5 y; g
  1057. ;odbc.default_pw    =  Not yet implemented
    , h- U; T2 n8 E0 A( ?
  1058. 1 A2 }( n: ?7 f$ S, j6 \
  1059. ; Controls the ODBC cursor model.
    9 j1 ~; ?9 P/ K/ O) v  J. i
  1060. ; Default: SQL_CURSOR_STATIC (default).  }0 J$ V& n% g$ p/ d7 C
  1061. ;odbc.default_cursortype
    4 A$ V, F3 h) b6 i+ b# X* K

  1062. 7 H- z/ e0 W  A8 J: D7 X
  1063. ; Allow or prevent persistent links.
    1 B9 g* C- O/ X0 u6 V- m  s6 I
  1064. ; http://php.net/odbc.allow-persistent1 w; ], u) m  `
  1065. odbc.allow_persistent = On) p" k7 h+ ~5 V: [2 ~- f: V0 M8 m( J
  1066.   A' P  _" j) f0 v& t& l
  1067. ; Check that a connection is still valid before reuse.$ k) z; t' @& k6 H$ u" T" Z; X
  1068. ; http://php.net/odbc.check-persistent
    0 G$ u2 ^( Y+ `: W+ z2 {' Q+ i
  1069. odbc.check_persistent = On
    3 x  w4 c9 A3 h  c
  1070. 1 x- U2 [( {7 m& v  D* S; U
  1071. ; Maximum number of persistent links.  -1 means no limit.& y5 R2 F) n0 m7 m# V& H# ~1 E
  1072. ; http://php.net/odbc.max-persistent
    : j2 R. ~; x, J0 t$ k$ X* x
  1073. odbc.max_persistent = -1
    . {6 T6 F/ p0 b4 Y. `& H

  1074. / a+ l; B# x5 s& v4 a$ V; K; H2 G1 k
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.! Y) X) S0 y4 \+ R
  1076. ; http://php.net/odbc.max-links
    , @, F) e  j- m1 \
  1077. odbc.max_links = -1# _2 ^4 a! Q" B5 B, w' N

  1078. 0 ^. e( A, f  f" ^6 H; t1 U/ x4 J
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    . n9 Z; |" A5 j
  1080. ; passthru./ K, X' x/ D3 O5 `
  1081. ; http://php.net/odbc.defaultlrl" L) q& y; ]2 H9 _7 Y. y
  1082. odbc.defaultlrl = 4096
    7 Q) j) `, T' L& i  r1 n
  1083. 1 B% d( N- ?6 W6 \
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.. P5 G; m; g0 n8 ?
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    ' p  g* ?( G, S+ C% {8 P0 t
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode1 s" H* j: y/ ?* z  s( C+ w5 W
  1087. ; http://php.net/odbc.defaultbinmode( a( F' {' d& g' O
  1088. odbc.defaultbinmode = 12 h' p! w( K8 P! [* N

  1089. + m2 D5 V8 i5 l' M* B1 m
  1090. ;birdstep.max_links = -1
    3 E( }- K9 t$ n! ~% X0 R9 y

  1091. 9 b" U3 B1 R7 m5 T2 b% n$ T
  1092. [Interbase]2 d/ v" l! C4 L8 \- T. M
  1093. ; Allow or prevent persistent links.- w2 R( v/ A6 S8 [
  1094. ibase.allow_persistent = 19 z! L' ^0 \/ G& B
  1095. 0 w: n- l% l1 V' w" {7 g
  1096. ; Maximum number of persistent links.  -1 means no limit.* z/ w2 E4 ]) M' B! }
  1097. ibase.max_persistent = -1% y, E! `. G( m8 ~2 [
  1098. 7 I" j& ?5 F" n$ k8 h: ^; J* n
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.- I. y$ X1 ?6 ?4 p5 B6 `( T) T! G
  1100. ibase.max_links = -1
    * [' s/ S% B) b/ G5 F6 f# t

  1101. 1 Z, v# v0 ^/ A* }: x) |! x7 p- _! u" P5 |
  1102. ; Default database name for ibase_connect().
    3 n. n- U5 U( Y( N1 G2 O) ^
  1103. ;ibase.default_db =- X, X9 J$ f2 _6 h6 e
  1104. . _: I# k5 A( O  ~) q/ o
  1105. ; Default username for ibase_connect().- u5 E* K  @$ i) s: V- p$ G  B
  1106. ;ibase.default_user =
    $ z0 k7 N, a* w& f9 D
  1107. & i5 g" s5 P- I# R! v& o+ Q
  1108. ; Default password for ibase_connect().+ v8 L  Q8 O" l% x
  1109. ;ibase.default_password =) U# z: p: n) P- T1 Y

  1110. 3 P1 g2 b$ z+ i8 `2 o9 |5 c1 ^1 F6 ^
  1111. ; Default charset for ibase_connect()." e5 s; t! h5 C; X) l8 I" u$ g
  1112. ;ibase.default_charset =
    2 K0 C4 E! D; M/ P! U/ v1 n

  1113. 0 j' F) Z! x/ z
  1114. ; Default timestamp format.2 @# L& _4 R' u8 H0 U) k
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    # L7 t8 ^4 {' X# g' K" ]: y

  1116. 3 D5 @+ i- I$ a2 i; k  m% ^( w
  1117. ; Default date format.
    ( Z4 g: p# v4 b' p7 Q7 s+ W
  1118. ibase.dateformat = "%Y-%m-%d"
    # m7 y) q2 M0 `  v( F* \
  1119. " k7 `0 `( c3 P5 _* p& Q6 c: t0 L
  1120. ; Default time format.. H4 i4 r$ q  s8 }4 I# Y
  1121. ibase.timeformat = "%H:%M:%S"
    1 K6 z0 q6 r. B) R1 h3 R' [
  1122.   A8 h0 g# h* Q" ?- H( }7 D, L3 h" j
  1123. [MySQLi]
    7 ~- e" ?$ n- W  a4 M$ f: v" k, w
  1124. 8 ^) \; F/ m$ [2 p+ K" r# w2 c
  1125. ; Maximum number of persistent links.  -1 means no limit.
    / s' w. c9 `" H( S2 G; ^
  1126. ; http://php.net/mysqli.max-persistent
    / x6 t* e% V6 }" f
  1127. mysqli.max_persistent = -1/ E* K- c  z" h

  1128. , L' T# g5 s9 J! K. P( a& f8 |: l
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    6 }7 E5 o7 m  O) J; I8 U: I
  1130. ; http://php.net/mysqli.allow_local_infile
    , b3 u5 E0 C# {7 }+ M0 {
  1131. ;mysqli.allow_local_infile = On
    2 M0 r5 A' R) r  F

  1132. ) H) i( m5 V' U9 m; u. u
  1133. ; Allow or prevent persistent links.$ Q+ Z3 j4 y# ~% T0 c1 r5 U
  1134. ; http://php.net/mysqli.allow-persistent* T4 S7 d) i0 ]" T  Q' p1 {: T# i
  1135. mysqli.allow_persistent = On. F) G! \" E2 `1 ?4 h

  1136. 3 S7 L: o& G$ R8 Q' o  D
  1137. ; Maximum number of links.  -1 means no limit.  J# C3 p$ v& Y
  1138. ; http://php.net/mysqli.max-links
    ( R) ]( W4 E* b) y( v4 I8 d* B
  1139. mysqli.max_links = -1/ t$ H8 m2 o/ _! g( \" r+ q$ U* N, e

  1140. 2 A0 A9 W1 W3 T7 v$ K* E
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache- I# C" R- ?4 ~
  1142. ; http://php.net/mysqli.cache_size' `: W5 C; q  U. c9 I5 ]$ `
  1143. mysqli.cache_size = 20004 K2 O5 n; @  y7 B+ z$ }4 F( v
  1144. 4 [! Q# u, v% E& L2 _9 o+ M7 |
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    ) K5 d1 l; p$ R6 }+ J9 Y
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    9 x8 e- F/ ~7 g
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    $ u2 b. A  r# }2 k; R6 n  i+ f, N
  1148. ; at MYSQL_PORT.9 V2 u0 Y- P# Z$ ~- m* {
  1149. ; http://php.net/mysqli.default-port
    4 M* @; @4 x6 ^" W( L: ^" ~2 t
  1150. mysqli.default_port = 3306
    ' H/ c$ Q; H: p% e
  1151. % ^" s2 i# ^6 C. ^; O
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    $ K! Y( e' x) }/ P' L( w
  1153. ; MySQL defaults.
    % d! q9 d* A% g6 K
  1154. ; http://php.net/mysqli.default-socket/ e; r/ W4 V) f" f7 Z
  1155. mysqli.default_socket =
    . y1 G- f6 L/ i$ n8 O5 R7 h
  1156. $ L3 E7 ^. x! u9 K
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    , ^: C0 A- ]8 D  G; s
  1158. ; http://php.net/mysqli.default-host) [* a! K- h+ Y4 B) C7 h
  1159. mysqli.default_host =
    % b  o: N5 n1 |0 b. j3 w$ F

  1160. + J9 I  t0 w! m( ?* \/ x
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).8 |: M8 q" u3 M  n) m2 T* P1 p2 q
  1162. ; http://php.net/mysqli.default-user8 q- _7 c) z# {( X1 M4 y
  1163. mysqli.default_user =
    ; F/ a8 c1 H' y  K

  1164. ( P# X% ]$ L1 G; I4 F4 o+ B4 K% r
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).1 X) }6 z* V8 Q' e* z
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    : f* m' J) S7 }
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")- @: j" S. e6 ^! D; w
  1168. ; and reveal this password!  And of course, any users with read access to this
    & c" Z. i! ?3 U( F) x
  1169. ; file will be able to reveal the password as well.
    ( V# n& `5 U* j5 k; e& c& Z+ q
  1170. ; http://php.net/mysqli.default-pw
    % ~, F) }; f0 O/ I
  1171. mysqli.default_pw =
    2 j$ z- |1 ?. B' J3 d& t

  1172. 7 L8 ?, p- {1 U* B/ {" `3 G! a2 G
  1173. ; Allow or prevent reconnect
    3 O8 q4 k6 x; a8 D, X8 q3 t
  1174. mysqli.reconnect = Off
    ! B0 m5 n" N1 P3 T
  1175. ! }$ O# p5 {; z3 Y: j7 S& d) T
  1176. [mysqlnd]/ _2 Z6 k- A  @- a: g- Z" G' }
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be; Z8 p4 t9 x5 K. r7 v
  1178. ; used to tune and monitor MySQL operations.
    % w' t& Q/ M* g1 I' b, r; n
  1179. ; http://php.net/mysqlnd.collect_statistics! b# w7 H* e9 X/ e! y* a( _
  1180. mysqlnd.collect_statistics = On
    % B5 b* u: F3 J$ B9 H- Z
  1181. , \; [" d( e  w( d7 N
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be( `+ E8 m& t  }& q
  1183. ; used to tune and monitor MySQL operations.
    8 a+ U4 c& b2 G- ^$ h- a
  1184. ; http://php.net/mysqlnd.collect_memory_statistics7 t' B0 G/ G6 j( a
  1185. mysqlnd.collect_memory_statistics = Off
    0 T3 k; i) ?, D( D, ]) C! ?( U
  1186. 1 C7 v& ?! t0 P5 A: {
  1187. ; Records communication from all extensions using mysqlnd to the specified log# B4 ~7 Z4 e- @( H
  1188. ; file.
    5 D8 U9 M; v; T! ]
  1189. ; http://php.net/mysqlnd.debug
    ( K' o/ f' ]1 |( x2 u/ y( J
  1190. ;mysqlnd.debug =
    & i- P$ e* g$ ]" b0 t: X& b

  1191. ; R3 l) A# `# V3 f, l' o; V# L" Y
  1192. ; Defines which queries will be logged.
    , A6 Q# g1 i: S) \& i3 a3 `9 ]# G
  1193. ; http://php.net/mysqlnd.log_mask3 w$ H! |0 n7 T$ v: q8 `
  1194. ;mysqlnd.log_mask = 0
    9 F( t) L  b$ H$ J8 l( g- @% @
  1195. ' ~8 [: `* s4 f% x0 L+ i* q
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    ' `1 _7 ^- Y3 \& S& v9 K
  1197. ; http://php.net/mysqlnd.mempool_default_size" k. R9 j6 Z- P' p
  1198. ;mysqlnd.mempool_default_size = 16000
    + X1 g0 r3 F9 c: r6 i/ t
  1199. 2 t7 M& V) s, H- d3 e
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.& ]6 A# I& `% U# X! L/ |9 h! S
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size4 @3 G" Q! U! s# Z! |- E8 q( R
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    4 h0 a+ X" N8 b# F. S! L/ w, r
  1203. ! ~7 H$ M8 z' C
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    . C. k; Y3 j- L# M2 O& G
  1205. ; bytes.9 l" i5 T6 ~8 ]: T. L( l$ [( p  z' S# D
  1206. ; http://php.net/mysqlnd.net_read_buffer_size( d( }7 n4 a) \* q! L
  1207. ;mysqlnd.net_read_buffer_size = 32768
    7 n- N" @+ x; m! @8 Y" o
  1208. 4 w- e) L5 I0 x. B8 d. e" V
  1209. ; Timeout for network requests in seconds.5 S' v  E* i4 r/ T. u. a
  1210. ; http://php.net/mysqlnd.net_read_timeout& k+ }9 W# \* \8 k; Q
  1211. ;mysqlnd.net_read_timeout = 31536000
    % Q9 l6 g  @+ b' R6 a' q5 D" l- s
  1212. 3 G. ]' X( g, N1 K3 i
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA) B, V: a( V! M( i# J, I' S8 \6 a% v
  1214. ; key.
    , F* e" j. a( x5 ?. X4 A
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    # e7 w- d' O; g4 U) h
  1216. ;mysqlnd.sha256_server_public_key =9 H3 n9 S9 [- c5 e6 g
  1217. 2 c; w5 W: N3 N) C! I
  1218. [OCI8]
    1 |" v+ e+ J3 I  o" V( \8 Y% l

  1219. ( J" t. X/ X7 p  U* w& Y( l$ t6 i
  1220. ; Connection: Enables privileged connections using external
    ; n+ {# a) h% v' M: J
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    7 d5 |  d! t3 W- c4 d" j, z! F" Q
  1222. ; http://php.net/oci8.privileged-connect
      ~5 B: D7 @5 Q1 P
  1223. ;oci8.privileged_connect = Off/ ~' N4 H' h, Z2 F

  1224. ) A) H$ d8 Q3 o4 V# ~/ S# Z* m7 e6 T
  1225. ; Connection: The maximum number of persistent OCI8 connections per) y/ W8 _% c6 v+ o1 g( F& j, C) D
  1226. ; process. Using -1 means no limit.0 K" w- X; a2 K8 u; P
  1227. ; http://php.net/oci8.max-persistent3 h5 L" I3 t7 r
  1228. ;oci8.max_persistent = -1
    / ?$ y' q7 b) G2 A

  1229. ; X/ X9 J8 r5 \( `; {
  1230. ; Connection: The maximum number of seconds a process is allowed to
    - a+ B, u9 ?4 h* r: v# n- j
  1231. ; maintain an idle persistent connection. Using -1 means idle
    ! u8 R8 C! o/ _: k" [; v; ]$ c
  1232. ; persistent connections will be maintained forever.
    % B5 t; S% ]+ b4 P& F" |' Z
  1233. ; http://php.net/oci8.persistent-timeout! _8 H/ g4 g& W: O5 S! ?  @" S
  1234. ;oci8.persistent_timeout = -1
    . Z/ g$ P' i: b5 R( r
  1235. $ g( L' {+ j" J  ^9 A7 h7 k* {
  1236. ; Connection: The number of seconds that must pass before issuing a/ r4 ?1 ~5 F7 d8 j+ N
  1237. ; ping during oci_pconnect() to check the connection validity. When
    5 J/ J* Y! o( ]! O& s
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables/ K7 K& `: I& o
  1239. ; pings completely., W' Z2 l* t+ f
  1240. ; http://php.net/oci8.ping-interval
    ) o- n! C- k/ ?  g
  1241. ;oci8.ping_interval = 609 T* Y: @7 [' L1 J  u% ~7 m
  1242. ) g, L' u! f. ]! J4 {4 X
  1243. ; Connection: Set this to a user chosen connection class to be used- h9 C$ ~  D) `4 ]$ q6 v" T
  1244. ; for all pooled server requests with Oracle 11g Database Resident) {: U8 i) V+ b) R* D
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to6 A1 p9 k- ?( ~4 c; z" r; q
  1246. ; the same string for all web servers running the same application,4 ?& a9 j$ H9 a. ]* M
  1247. ; the database pool must be configured, and the connection string must
    # j, _# v% D! z% J& d% q
  1248. ; specify to use a pooled server.
    : m- l8 \% v- O* x, s
  1249. ;oci8.connection_class =
    $ i3 w5 [4 H9 m' G
  1250. ) q! O0 V. s# t3 [
  1251. ; High Availability: Using On lets PHP receive Fast Application) M. I4 E, x3 D- d
  1252. ; Notification (FAN) events generated when a database node fails. The# T3 ?1 k8 v' {& X4 F, \* u
  1253. ; database must also be configured to post FAN events.# ~' w% ~6 p' P) p$ N
  1254. ;oci8.events = Off
    ( e: ]* C* }7 ~0 e) n0 m! \

  1255. 9 X2 K8 H, T# R4 ^8 T" {4 `
  1256. ; Tuning: This option enables statement caching, and specifies how, L! m5 S  @0 K: |) g6 r% ~
  1257. ; many statements to cache. Using 0 disables statement caching.5 `! W$ @; r  |( i" {8 Q) w
  1258. ; http://php.net/oci8.statement-cache-size
    ; k9 x5 `$ m% g8 `/ c5 K, ?
  1259. ;oci8.statement_cache_size = 20" J2 W/ e/ m, S6 M, ~

  1260. & [/ I4 X1 V; i0 Q  Z0 \: M  _
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    2 h1 |" |: r: Q! d% n6 j" [* @
  1262. ; rows that will be fetched automatically after statement execution." C' v% P' |! Q, N* Y0 F
  1263. ; http://php.net/oci8.default-prefetch
    * Q  T8 c2 t/ D+ s) l% P& f
  1264. ;oci8.default_prefetch = 100. o) H# X( C5 W! {
  1265. # E0 Q3 O% {/ i0 i8 f
  1266. ; Compatibility. Using On means oci_close() will not close
    7 J( ?4 \) D. D' D4 i) a
  1267. ; oci_connect() and oci_new_connect() connections.
    ; g% n) E/ J, K3 `2 I
  1268. ; http://php.net/oci8.old-oci-close-semantics
    + ^) i5 ~  v" p5 B$ l7 S/ v# x
  1269. ;oci8.old_oci_close_semantics = Off
      Z9 |# T# z: H" r8 @2 D

  1270. 0 t: O- _1 I8 u. J
  1271. [PostgreSQL]) H6 M0 r* Q' e7 d8 f7 `3 k( B
  1272. ; Allow or prevent persistent links.
    , S) j9 s- b$ _4 f/ m
  1273. ; http://php.net/pgsql.allow-persistent; F6 g/ c4 S  V" @. I9 ^+ g
  1274. pgsql.allow_persistent = On
      {) m. h1 L. D7 q' e! y* h( d

  1275.   _' r! v3 j7 q! {
  1276. ; Detect broken persistent links always with pg_pconnect().
    + S; ~5 ^7 S0 s3 X
  1277. ; Auto reset feature requires a little overheads.$ |' G4 i% I9 w) C
  1278. ; http://php.net/pgsql.auto-reset-persistent
    ( ?. ^+ x2 L; O, C6 D
  1279. pgsql.auto_reset_persistent = Off2 d4 T1 G0 m& d  z. y; F6 g. M
  1280. * `8 ^* J3 I3 P2 ]
  1281. ; Maximum number of persistent links.  -1 means no limit." O+ I( w- u2 \! W  n% o) @3 T
  1282. ; http://php.net/pgsql.max-persistent
    2 M( `4 q7 t) T+ R; J7 x
  1283. pgsql.max_persistent = -1
    * z6 Q, C: |0 n0 e* ~5 W
  1284. " Q& N- }" n  H# m
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    2 E1 ^0 p4 _; D. T+ t! s1 N7 Y
  1286. ; http://php.net/pgsql.max-links
    ' U! e, ]3 b" t+ E/ r
  1287. pgsql.max_links = -1* N  j1 Y. g% _9 x
  1288. 7 z! {7 s" }# r. D; y( a
  1289. ; Ignore PostgreSQL backends Notice message or not.
    & P; a/ b5 U7 h  N# R& G
  1290. ; Notice message logging require a little overheads.
    " N% R& ^* ?7 P
  1291. ; http://php.net/pgsql.ignore-notice! u+ A( o$ @1 w! u- L# ~
  1292. pgsql.ignore_notice = 0
    ( U2 J3 s9 M6 r- A

  1293. ; a/ z* u, I  d: f
  1294. ; Log PostgreSQL backends Notice message or not.
    2 P' c9 X- M% c) z$ _, W4 Z4 h7 K
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.- l  `# K3 ?8 `4 I( j% ]8 n
  1296. ; http://php.net/pgsql.log-notice
    % j) b9 y1 f8 v
  1297. pgsql.log_notice = 0
    " W3 {  F  N( t! Z7 S

  1298. ) ?2 v6 R6 _1 a  s9 K% h
  1299. [bcmath]
    ; Q4 _& ~$ h, a! a! _8 z% G
  1300. ; Number of decimal digits for all bcmath functions.
    " t6 [0 c. l1 s% ^4 {
  1301. ; http://php.net/bcmath.scale+ u! u1 K! i& z. e8 g3 i$ j: C5 o/ K5 ^
  1302. bcmath.scale = 08 A# ^% a4 y  p2 Z

  1303. 8 F3 o9 F% s7 Z  i
  1304. [browscap]
    & @( p7 V, O# {, m+ {6 b# l) P) e
  1305. ; http://php.net/browscap& x, g) d5 P& I( Q7 ^7 s
  1306. ;browscap = extra/browscap.ini% j$ g% ?% V2 q0 h: j
  1307. 4 k* L$ [9 s2 h. l3 f/ k; u
  1308. [Session]
    2 Y2 Q1 s8 P, @" k$ }7 k2 \
  1309. ; Handler used to store/retrieve data.
    1 P4 h8 I3 N7 t
  1310. ; http://php.net/session.save-handler3 H* ~$ Y5 D0 Y% M
  1311. session.save_handler = files) D% T' f  ?4 w; g; E$ c( E

  1312. & i- o, h8 ^! B; Q
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    % t* Q/ _7 G, ~
  1314. ; where data files are stored. Note: Windows users have to change this
    3 d& f  H  M7 B4 E- I: U
  1315. ; variable in order to use PHP's session functions.
    1 a; x  F7 b9 f/ L. U; A: k
  1316. ;
    1 a* n" J% C" Z( t" Z
  1317. ; The path can be defined as:
    6 C" W: W% A- ^) Z
  1318. ;
    ; i7 {7 F8 @9 s% |% {7 V/ s+ r5 k
  1319. ;     session.save_path = "N;/path"
    , @$ @! _1 b% h+ Q' l. H. S
  1320. ;
    ' G$ E) @9 Q  J& D3 n9 c
  1321. ; where N is an integer.  Instead of storing all the session files in
    8 B* Y7 ^) r. t# x4 B( Q8 j0 `
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    ; T0 ^( |* Q1 j4 Y7 t' C, B9 z
  1323. ; store the session data in those directories.  This is useful if0 S( ^+ n2 S" n& F/ e& e
  1324. ; your OS has problems with many files in one directory, and is! H5 s2 z+ H; v( p: T
  1325. ; a more efficient layout for servers that handle many sessions.
    $ r2 _+ t" p7 L7 H# \
  1326. ;8 f" R5 ]' e( f4 d) E  l
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    / f2 m# o8 m9 q9 p( J3 I7 U
  1328. ;         You can use the script in the ext/session dir for that purpose.
    * H' P, y" C0 D; |( y% m
  1329. ; NOTE 2: See the section on garbage collection below if you choose to% ^# S* t9 |& @3 o- |
  1330. ;         use subdirectories for session storage* Z" f+ _- S6 U; M8 K6 [$ e
  1331. ;
    4 \: H  S7 t. D) S- k( \
  1332. ; The file storage module creates files using mode 600 by default." \( [6 {! l" z5 |: G; `
  1333. ; You can change that by using/ ~0 M2 _4 f; f- O8 m2 j% x5 A
  1334. ;
    0 a# R5 h8 @& D
  1335. ;     session.save_path = "N;MODE;/path"
    1 i2 h$ R/ T. w0 h3 t4 W/ y
  1336. ;! y1 t5 Z% S" Z  k
  1337. ; where MODE is the octal representation of the mode. Note that this
    8 x: P2 V2 B0 E
  1338. ; does not overwrite the process's umask.
    # _0 n6 g  g0 W8 `" D
  1339. ; http://php.net/session.save-path: J" x) `/ K9 {: t0 r( J2 C: f; R
  1340. ;session.save_path = "/tmp"
    7 S+ R5 A1 a4 A1 b) a; x

  1341. / {1 A- m3 t9 l7 @5 H% p& F
  1342. ; Whether to use strict session mode.# O# T% J; L: |* t: p: m2 u  L
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate6 J5 q4 D$ Q) z4 B3 o
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    ! w( [! g& L5 k/ P
  1345. ; applications from session fixation via session adoption vulnerability. It is
    3 w* H) D/ w* O5 @9 w5 r; u
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.6 l9 A1 p* `( ~, ?: I; e6 W; @6 `
  1347. ; https://wiki.php.net/rfc/strict_sessions
    ) K. g" s. z! W/ w3 v, D$ L. W
  1348. session.use_strict_mode = 0. p1 Q& g6 G. s4 L
  1349.   b2 t2 K% T5 ~
  1350. ; Whether to use cookies.
    6 C; T) ^) f, ]2 t8 M
  1351. ; http://php.net/session.use-cookies: \1 B" ~* z" z% ]
  1352. session.use_cookies = 1
    ) H7 Z9 c4 |) `* D( @
  1353. 9 p2 n6 R$ d! I/ [7 P- j
  1354. ; http://php.net/session.cookie-secure
    ' Q5 e/ B2 A+ H. |  F
  1355. ;session.cookie_secure =
    & O; F1 o& _' B- T( W) X5 i

  1356. 4 l3 i3 s4 [9 g+ ?& D
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    / `, J, h/ _* @
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    $ u/ H$ u/ a. E% R9 L  F9 Q
  1359. ; session hijacking when not specifying and managing your own session id. It is
    - f( r" D% X. Q) s$ v( d7 K' X, [
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    " N* y! n# C) y, \
  1361. ; http://php.net/session.use-only-cookies, N7 q% D: a( w& G/ E
  1362. session.use_only_cookies = 14 b4 t* q$ a. j  o
  1363. - R: Q! g' `# A* u
  1364. ; Name of the session (used as cookie name).
    , l* O& B1 Y% T7 R) G: @
  1365. ; http://php.net/session.name6 p: Q" x) X$ d% ?9 V& s5 g  L9 g
  1366. session.name = PHPSESSID! ]: C- b% `% w& ]3 {" F
  1367. 6 `9 t+ {2 p8 n$ X/ Y! [* B1 f; F) H
  1368. ; Initialize session on request startup.
    ; F6 {% n- w* O0 L2 S
  1369. ; http://php.net/session.auto-start
      h1 j9 @' O5 g+ g
  1370. session.auto_start = 08 x3 X9 h! K+ ]$ y9 ]5 w( g

  1371. * G4 g* K4 ~9 M; Z. }
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    8 Y8 h% _0 U0 S' C2 q7 K" g4 S+ p
  1373. ; http://php.net/session.cookie-lifetime3 m6 b5 t' U+ s# W# I3 P6 M( w3 }
  1374. session.cookie_lifetime = 0
    0 ^- `. V  v$ l
  1375. 8 \" R' I$ k3 R! ^. E8 g
  1376. ; The path for which the cookie is valid.0 N' f: A: X5 k% Y/ S- h2 Y
  1377. ; http://php.net/session.cookie-path* i& D' ~9 f  ?& W+ \  Y  `/ b
  1378. session.cookie_path = /
    , X* L* m6 a1 F8 G  Y; R
  1379. ' [% J/ A' U- |+ [
  1380. ; The domain for which the cookie is valid.
    4 L; s5 C8 D4 |7 M. X, x  G9 F4 Y
  1381. ; http://php.net/session.cookie-domain4 Z! ?: n2 f' F) F; d- F, J
  1382. session.cookie_domain =
    5 \9 t& s0 A  p7 Z% C
  1383. ' |- \$ N0 g# T& G  b7 j5 s' Q
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.7 V: n% t4 g7 K3 @- V
  1385. ; http://php.net/session.cookie-httponly
    # O* B( E" \( `& G
  1386. session.cookie_httponly =
    # R! I! Z& U3 K( U+ I

  1387. * l) ~' Y4 `! D
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    7 g+ \+ M; Q1 Y! h
  1389. ; http://php.net/session.serialize-handler
    , h/ f7 h' N$ e- A4 |' D' l4 j
  1390. session.serialize_handler = php
    - @' B* Z! {) t3 L+ t  x4 z. J8 k# V
  1391. , B1 g: ?7 E2 c3 o3 ], F- J+ p
  1392. ; Defines the probability that the 'garbage collection' process is started9 [6 s3 r6 E) {
  1393. ; on every session initialization. The probability is calculated by using1 i6 Q* Z" @4 e8 V2 L# T
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    : h  m: ?1 p6 U
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1! X% i. x! x8 I
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance2 x* @4 A' Z3 g! z2 y; p9 j; s
  1397. ; the gc will run on any give request.
    ; c4 @- L. k, y8 v( f
  1398. ; Default Value: 1
    8 Z) _* z/ ^: J# t. i+ L8 i. U
  1399. ; Development Value: 19 r' B/ z0 e( G
  1400. ; Production Value: 1
    ) E- J: o- z3 j7 l7 ?# H$ G, R4 D
  1401. ; http://php.net/session.gc-probability* X1 H* U7 r7 x0 v: H
  1402. session.gc_probability = 1% Q+ v7 ~5 _( I( j
  1403. ! C9 ~. V0 }1 i" I7 `
  1404. ; Defines the probability that the 'garbage collection' process is started on every0 d( T" F' s+ `  A  I7 m
  1405. ; session initialization. The probability is calculated by using the following equation:
    + S0 R% V6 x5 v! K$ y( J
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and, C$ l0 }/ O4 h( d
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    & }2 F$ g% P% B# S  A
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance  M% W: z/ L( \- |, v  f
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    ' O( j+ X7 {6 G' V6 J/ e4 n1 j/ h
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    % N2 W! @+ J5 {( V. M4 Q/ O
  1411. ; this is a more efficient approach.% h9 e2 q: G2 C8 ~+ f
  1412. ; Default Value: 1005 A3 f: R  _4 |2 @  R: S9 w
  1413. ; Development Value: 1000+ q/ P2 {) l' R) i! ]1 R3 ]
  1414. ; Production Value: 10004 b2 S6 f( J! X- q7 b6 I, B. D# V3 C8 Z9 J
  1415. ; http://php.net/session.gc-divisor1 `0 X+ d+ q/ j, _  p) ~
  1416. session.gc_divisor = 1000% X9 B- C+ Q* W4 U9 I2 y5 m" R

  1417. $ {: W$ I/ ^; s: k
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and* i, e& }, N) y! }4 d
  1419. ; cleaned up by the garbage collection process.& H- w/ U1 f  f% L4 \: W5 I6 S
  1420. ; http://php.net/session.gc-maxlifetime  o2 U+ g$ B" U/ \
  1421. session.gc_maxlifetime = 1440# I$ @( c+ m: L! }: A
  1422. & i! k' _4 b! T5 w% o7 i: O; e
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    7 I1 f8 z2 z+ `
  1424. ;       (see session.save_path above), then garbage collection does *not*
    . o. U4 \. \$ a0 [
  1425. ;       happen automatically.  You will need to do your own garbage( w, n3 y1 R! w) `* ]0 k0 F
  1426. ;       collection through a shell script, cron entry, or some other method.* |2 ^4 b+ ~& S' u6 R  `
  1427. ;       For example, the following script would is the equivalent of
    2 D6 V7 N" ]# V# i1 }4 {
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    " J- B7 s' }% T1 z- M
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    & F/ g% G+ N2 c) E" s
  1430. 5 C" d6 Y9 q0 X! I  c
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.1 T6 _* g! N7 \/ T: l, [4 D
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    9 [4 p# V# g2 V+ N9 q* j
  1433. ; considered as valid.( s% X! o% H) p7 N4 r* }& b2 r
  1434. ; http://php.net/session.referer-check1 J3 j+ x4 }$ N2 C
  1435. session.referer_check =
    8 x6 w' s! H9 `+ x9 d6 Z
  1436. ! B" m, |, A# R2 D8 G
  1437. ; How many bytes to read from the file.
      Q8 ^4 _! `# c' Q4 t
  1438. ; http://php.net/session.entropy-length- I3 d5 \; K* u
  1439. ;session.entropy_length = 32
    ' ]2 B9 k- Y- a3 _5 e$ J

  1440. 7 n) r4 N" R, `9 k% d: K# u
  1441. ; Specified here to create the session id.! f" H0 A/ `4 r2 h( o. J" Y, l
  1442. ; http://php.net/session.entropy-file
    . p9 P1 j+ J  b
  1443. ; Defaults to /dev/urandom
    - o4 u2 H! f% `6 E3 v6 j
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    # i0 W2 D- Y, x  O  @( @
  1445. ; If neither are found at compile time, the default is no entropy file." N) S: v4 a  {' |' Z: B, Z' g1 |- [
  1446. ; On windows, setting the entropy_length setting will activate the$ b: y. _- g# \1 ?' N9 K, M
  1447. ; Windows random source (using the CryptoAPI); T/ F9 G0 w; n3 }6 m
  1448. ;session.entropy_file = /dev/urandom
    2 E+ T: x" z- s! t4 K! n0 Q
  1449. 8 I' k0 h/ l- ?. P- v* `
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects$ r8 D1 O7 n7 M% \3 O
  1451. ; or leave this empty to avoid sending anti-caching headers.+ W6 C! N; b, f, C' X0 t  h! X' a" w
  1452. ; http://php.net/session.cache-limiter7 @  |0 |+ t' B" R# N7 b# J# z
  1453. session.cache_limiter = nocache* T# n9 B1 Y2 O, J

  1454. ! i* h' o$ S7 R' F, k
  1455. ; Document expires after n minutes.
    ) O) [- @8 L, j1 ]" M6 A/ F  h) {
  1456. ; http://php.net/session.cache-expire# j3 b4 d: x: }: X$ i. O( G
  1457. session.cache_expire = 180
    # U$ k3 z/ ^/ c2 x

  1458. % p, \( L$ s2 u
  1459. ; trans sid support is disabled by default.
    & d+ \  ~5 ]1 t! ]9 E, @' x
  1460. ; Use of trans sid may risk your users' security.
      N) t- }) m+ Q
  1461. ; Use this option with caution.
    - x! E9 `) J  q6 `0 V' `; V' s. C
  1462. ; - User may send URL contains active session ID
    + J5 D: Z4 g0 O) v
  1463. ;   to other person via. email/irc/etc.
    & h4 Z- N  g' z* F  C' J* z
  1464. ; - URL that contains active session ID may be stored* }  g/ Q: C, Y- f
  1465. ;   in publicly accessible computer.
    : t, t+ x& b4 Y, ~" L' Y
  1466. ; - User may access your site with the same session ID
    * w4 z8 p1 {% Q( i' }" i! R5 p
  1467. ;   always using URL stored in browser's history or bookmarks.3 z7 L; D4 |5 d# B" y) n" G3 l
  1468. ; http://php.net/session.use-trans-sid
    5 m8 n2 _/ [! n4 U; g) [* A
  1469. session.use_trans_sid = 0
    7 ?2 e9 ^7 V; `' g# g
  1470. 7 T* `2 N" R/ T& s" R
  1471. ; Select a hash function for use in generating session ids.
    ; p' O, T4 T3 t- q' F# [
  1472. ; Possible Values
    ' i. w% K/ Y/ [/ j1 k- u
  1473. ;   0  (MD5 128 bits)
    : F2 `- f# @0 c! s4 b9 r! p
  1474. ;   1  (SHA-1 160 bits)* U& N5 X9 R1 h# i- g
  1475. ; This option may also be set to the name of any hash function supported by
    ' C9 b4 F0 g* V$ y$ k6 R0 [" e5 q$ f
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    8 \" i( \! N/ R( K" R8 P
  1477. ; function.
    * r; o3 W0 v" g$ u
  1478. ; http://php.net/session.hash-function
    5 T+ d4 s* u" J. o, n5 a/ H
  1479. session.hash_function = 0  i0 U! i  o( K6 c7 q8 X

  1480. + E- U2 P0 {& V1 L
  1481. ; Define how many bits are stored in each character when converting" h$ }- C" |% g7 c
  1482. ; the binary hash data to something readable.
    5 J, f! T* B% ~0 ?% C. g! J
  1483. ; Possible values:
    ' X! x9 i  z2 L/ K" G9 W/ ]
  1484. ;   4  (4 bits: 0-9, a-f)1 N, Y6 s* G2 f( V: B4 g
  1485. ;   5  (5 bits: 0-9, a-v)
    ' J9 G( S9 s3 h- I2 @
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")6 M( m% Z9 e; i. [0 ?! K$ p$ I
  1487. ; Default Value: 40 w1 _) z1 j; F' p" q7 ?9 F* Y
  1488. ; Development Value: 5) ?' Y/ n9 B: s/ N. A- W
  1489. ; Production Value: 5
    . ?8 w# Y/ P4 n9 }; G
  1490. ; http://php.net/session.hash-bits-per-character( y" X6 S6 ^: J! E( X8 O
  1491. session.hash_bits_per_character = 5
    ' I  t; i% `4 A' S
  1492. & `( r. a$ B! c% [
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    ( d! ~# L  w, y$ X7 E& H8 k
  1494. ; form/fieldset are special; if you include them here, the rewriter will( T( ~5 W& ?+ T1 g$ |: P
  1495. ; add a hidden <input> field with the info which is otherwise appended; c7 L1 i+ [5 i6 G
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    ) q4 C$ ~' M2 B  h/ M, q7 Z
  1497. ; Note that all valid entries require a "=", even if no value follows.
    7 J& A8 A& f; [4 @
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="7 L0 l( A8 J% \. B. V9 o4 O
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"& h' t5 X0 W4 T0 e% q
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"- _0 a% o: t  T% ?
  1501. ; http://php.net/url-rewriter.tags
    $ p5 B9 M* ]5 W$ V8 t! y1 R
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"7 `4 i* v1 y2 U  O

  1503. 6 D% r* o, m: w! B0 f! E
  1504. ; Enable upload progress tracking in $_SESSION
    8 ~1 P1 z3 k* l* @- E6 C- ^  K
  1505. ; Default Value: On
    7 V* I9 M5 y/ g! J$ e( V
  1506. ; Development Value: On& T; }) f& ^$ A9 S, d
  1507. ; Production Value: On6 A8 c# U0 ?( a" ?* R
  1508. ; http://php.net/session.upload-progress.enabled
    : K- p" }& w, ?6 s: ^" e3 e  R
  1509. ;session.upload_progress.enabled = On/ V3 N5 Q0 R) J5 Z5 {) E0 [

  1510. , e- @8 V) I2 c9 ~+ t$ f& L  ^- U
  1511. ; Cleanup the progress information as soon as all POST data has been read
    + h7 p; e9 }" {+ r& r
  1512. ; (i.e. upload completed).: M$ x0 w9 x0 ?  k5 l8 I
  1513. ; Default Value: On
    9 b: ]! n* K- a1 f9 e% Y
  1514. ; Development Value: On2 J/ T! e3 @+ W$ ^0 F0 O! f
  1515. ; Production Value: On
    & m2 Z: K7 C: p) _1 j$ o# T; R( G
  1516. ; http://php.net/session.upload-progress.cleanup
    , i7 K$ \/ V) P+ I
  1517. ;session.upload_progress.cleanup = On
    7 t& F3 q8 I" V! C
  1518. ; {- |4 {3 I* I5 ]0 h0 K$ a
  1519. ; A prefix used for the upload progress key in $_SESSION" Y2 |; a" ^. D; F6 r! Y
  1520. ; Default Value: "upload_progress_"
    & l' m$ A; u( b( M1 ^% S8 g
  1521. ; Development Value: "upload_progress_"- H; [- x0 A" C
  1522. ; Production Value: "upload_progress_"8 O, x5 k6 Q8 H$ g1 ]9 r
  1523. ; http://php.net/session.upload-progress.prefix
    * P0 ]3 {' ^" z% z
  1524. ;session.upload_progress.prefix = "upload_progress_"
    9 F% W: N# p6 F$ Y1 s8 c
  1525. . E# T' h1 T$ T2 n
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    8 r7 M' S$ H7 m2 h% \: i$ H; H
  1527. ; containing the upload progress information
    6 }+ @) T6 v( T1 Y
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    / f) B; |0 b5 s3 L5 N- |! r
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"  O/ h: Z$ l- v* S3 V
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"4 h! v7 c2 o. I% I" \
  1531. ; http://php.net/session.upload-progress.name
    ) B$ b4 U! n0 V3 i
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    8 ^* u- Q: Z, n) K5 Z6 `0 y+ u

  1533. 8 j1 t  r: T+ p% A3 C
  1534. ; How frequently the upload progress should be updated.
    * [# ~( F5 Q* R2 ]4 L7 ^& g# N
  1535. ; Given either in percentages (per-file), or in bytes* U4 B7 j9 @9 \
  1536. ; Default Value: "1%"
    # b/ a& ^- E: {+ u6 \$ V( u
  1537. ; Development Value: "1%"
    ( {$ b% G; c( ?' ]
  1538. ; Production Value: "1%"% k0 @6 a' d2 F  Q- D7 ?
  1539. ; http://php.net/session.upload-progress.freq$ L. z0 q. h  U5 I- h
  1540. ;session.upload_progress.freq =  "1%"2 {4 J' W8 o( C
  1541. # v% Z& n5 o; P
  1542. ; The minimum delay between updates, in seconds  D) j' J, |9 {. W
  1543. ; Default Value: 19 s) S5 x  g' f! K1 O
  1544. ; Development Value: 1
    1 F# E" C+ }7 V% h  s
  1545. ; Production Value: 1; N0 e6 @8 I2 Z' d% s
  1546. ; http://php.net/session.upload-progress.min-freq
    , o  c& G4 q$ }) ^" }
  1547. ;session.upload_progress.min_freq = "1"
    8 @: c% G, ^2 f" O

  1548. . m$ o/ i( J# Z  h- Y2 `7 ]/ h
  1549. ; Only write session data when session data is changed. Enabled by default.) W  r3 j8 i+ `+ y2 z8 o) d8 c# h
  1550. ; http://php.net/session.lazy-write% d( o" O8 N( }' H
  1551. ;session.lazy_write = On  }9 s: a( w! N8 {
  1552. - u. N& z" i; h6 N' `. B
  1553. [Assertion]
    $ l5 l2 g  o4 k( v7 K) u
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    6 |: D7 e8 ?! \% j- T) p
  1555. ; -1: Do not compile at all& A9 {  j0 I* _# H1 l5 i1 B' z/ F
  1556. ;  0: Jump over assertion at run-time1 c5 _$ m" U% {* Q6 `" a. F
  1557. ;  1: Execute assertions
    - i9 S/ E3 ?1 d
  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)
    . B1 R( A8 p! B; J. B$ `* \
  1559. ; Default Value: 1' d% D8 ]4 A9 ~9 |2 b; P0 t2 z2 E4 r* k
  1560. ; Development Value: 1
    * }- Y. @! N! d
  1561. ; Production Value: -1
    ) F, o# v8 i  S6 V! }4 A2 P
  1562. ; http://php.net/zend.assertions/ x/ s. w( g0 L. ]8 W8 `
  1563. zend.assertions = -1
    , v# i2 G- H9 b0 t
  1564. 5 N9 F5 l: S  s$ `
  1565. ; Assert(expr); active by default.
    5 S3 c; v+ V/ d' {8 Y$ Z& l$ w
  1566. ; http://php.net/assert.active
    - c2 M  E& w9 s
  1567. ;assert.active = On
    : a6 x1 w: y0 Z! d2 f& C! c
  1568. " ]8 c2 C' t1 P" D# b
  1569. ; Throw an AssertationException on failed assertions2 g3 @8 B% l, F( L
  1570. ; http://php.net/assert.exception* \& t/ @' l: l) X! G. ?
  1571. ;assert.exception = On3 N- x' f: s6 z0 S+ ?5 z6 R! _. _0 ?& ~

  1572. " d1 D2 T: h; K/ Y+ B7 B6 Q5 E1 D- h! L
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    1 S5 L  l5 r) q7 q
  1574. ; http://php.net/assert.warning# h9 W8 |, X7 I: ]
  1575. ;assert.warning = On: @& ?' h7 h: v3 L! r9 w0 ?

  1576.   C3 M7 y2 z2 G3 ^2 d0 y& u
  1577. ; Don't bail out by default.
      \+ m7 j1 ^" `
  1578. ; http://php.net/assert.bail: ^! R: g3 M; z: P( H* o
  1579. ;assert.bail = Off* l1 c! o" _" a) ?' y* Q$ w

  1580. ! u$ w5 m# U4 r3 H' L  U
  1581. ; User-function to be called if an assertion fails.  e2 ]( p; m7 V8 K/ E( o
  1582. ; http://php.net/assert.callback) L) B  b6 B% l2 U
  1583. ;assert.callback = 04 I% F0 n7 U& s, E) S- Y# R% k0 A0 S
  1584.   d( O! |5 `7 o) y
  1585. ; Eval the expression with current error_reporting().  Set to true if you want+ R  U# ^+ r9 P8 `+ g
  1586. ; error_reporting(0) around the eval().% v4 g! ^5 P; a0 _
  1587. ; http://php.net/assert.quiet-eval  H% n$ R- C. M) m
  1588. ;assert.quiet_eval = 0
    # H9 ]# F. ]# a! \

  1589. & f0 t" H1 @; ^. p/ o& ]
  1590. [COM]
    ) F5 S7 F2 @6 F
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    9 y. D' u9 }/ |) L; E
  1592. ; http://php.net/com.typelib-file( t, \: L! e9 C5 o
  1593. ;com.typelib_file =: e+ ]- Y, D; `) ?. L- ]

  1594. 3 E" ]# o" i: {9 `' c# M7 N- K
  1595. ; allow Distributed-COM calls4 T. j2 p# e! _" g
  1596. ; http://php.net/com.allow-dcom1 r6 |( ~" b5 T- {+ X9 _7 B
  1597. ;com.allow_dcom = true
    8 x3 h2 M2 o2 e( j' n" f0 L: Y
  1598. 3 G/ [3 d2 S; D, a
  1599. ; autoregister constants of a components typlib on com_load()
    $ o+ a& x, ?" g
  1600. ; http://php.net/com.autoregister-typelib9 V, g; r9 `0 M% N
  1601. ;com.autoregister_typelib = true
      V" s2 D! |' ^3 k$ ^

  1602. , E3 V! j4 E, h4 a6 [
  1603. ; register constants casesensitive
    5 J2 C( ?& `6 E2 N7 F. b+ i' f9 p
  1604. ; http://php.net/com.autoregister-casesensitive
    * u" ?( N6 K9 {
  1605. ;com.autoregister_casesensitive = false% U9 D8 [$ ]+ q

  1606. * x+ d  {! X; I! ]
  1607. ; show warnings on duplicate constant registrations6 |9 G7 J9 h' U1 I3 v# z+ U
  1608. ; http://php.net/com.autoregister-verbose3 g# g' D9 \4 k4 ~/ }1 C- T+ h- s" v
  1609. ;com.autoregister_verbose = true) w% |% g4 B! `, v* D) n

  1610. : N# d$ q1 L( I' k2 P9 J
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    # r5 V, H0 y& k5 ~+ F
  1612. ; Default: system ANSI code page
    5 L  W3 o/ N# M9 ]9 g" v# c
  1613. ;com.code_page=
    & w& m# N8 i/ B) G& x& i

  1614. / N7 E0 g7 W2 V8 ^* D; z3 j- q# c
  1615. [mbstring]
    ; u5 b: c4 @" F2 j
  1616. ; language for internal character representation.' _0 d+ i! c+ `: A% @! |) Y
  1617. ; This affects mb_send_mail() and mbstring.detect_order.  o, C! e: @  A
  1618. ; http://php.net/mbstring.language
    7 p/ Y3 ?% o: Q4 U
  1619. ;mbstring.language = Japanese
    # E5 s7 @/ Z5 B; ?
  1620. - i7 a6 W1 O- u
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.) k; G! U3 E& [2 P0 I4 j2 b
  1622. ; internal/script encoding.
    * Q1 x% [( y' K) A
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)& Z4 W+ L2 l) N$ N" p! V
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.) |! E! f$ O7 T& u: e. K0 ^
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding1 C6 L5 Y  l# a4 {* m
  1626. ;mbstring.internal_encoding =
    - T* s( N9 {9 w4 y4 q, l

  1627. 8 I2 N# t+ g) j& \0 J0 M. \
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    9 p: z0 K: L1 ~6 C/ V
  1629. ; http input encoding.
    ) m+ e) Z2 r; t/ [- `  N
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.( E& L+ W! {# B; i
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.: J/ k( M* g$ H
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    ) w# X7 T+ V) _' u7 b- i( I1 b
  1633. ; http://php.net/mbstring.http-input
    # X( \+ y7 ~8 v2 N# Z2 f7 ^
  1634. ;mbstring.http_input =) M. O9 r7 O4 A, Z+ l: c; d

  1635. 1 `" c7 z2 G4 x: R9 Z; L3 K
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.0 J" J1 ?$ O2 H6 z; A6 w& A; ~6 M  m
  1637. ; http output encoding.
    ! u  F$ m7 a" z, S
  1638. ; mb_output_handler must be registered as output buffer to function.. Y# J/ ^# u* j8 f8 h
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    , w5 t! B" y+ a  v" r" M2 W
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output  P5 r4 x- w( H& V3 ^
  1641. ; To use an output encoding conversion, mbstring's output handler must be set9 X# E( Q2 O- s7 i0 e
  1642. ; otherwise output encoding conversion cannot be performed.9 w; A4 c! o# t$ F( C1 r
  1643. ; http://php.net/mbstring.http-output
    ; w) o* K6 i& a& M( A
  1644. ;mbstring.http_output =! P+ l' ^/ d$ j" l$ R$ i

  1645. $ v3 ~3 n& R$ K0 f' q
  1646. ; enable automatic encoding translation according to* m' o2 w0 ]( {0 J* n! P
  1647. ; mbstring.internal_encoding setting. Input chars are
    - Z  Q$ H* C5 i
  1648. ; converted to internal encoding by setting this to On.! s% c! v  Y1 r+ {8 _/ M9 W
  1649. ; Note: Do _not_ use automatic encoding translation for7 K8 K( l6 i$ n, N& P  B/ f
  1650. ;       portable libs/applications.. Y/ c- @; `+ q  H8 R+ p2 y
  1651. ; http://php.net/mbstring.encoding-translation
    ! M6 W2 y: W% O, }
  1652. ;mbstring.encoding_translation = Off, P9 p2 s! c* B! F
  1653. 6 @" I2 h9 S- }
  1654. ; automatic encoding detection order.
    3 P/ h3 X, E) S7 F: L$ _
  1655. ; "auto" detect order is changed according to mbstring.language5 O* M! v2 {6 e4 L
  1656. ; http://php.net/mbstring.detect-order  c' ]5 `  D7 |! ^# A% d
  1657. ;mbstring.detect_order = auto
    , A% p4 j& J/ @2 V
  1658. : k  p2 e$ E9 Q1 P/ i1 ^6 d  I
  1659. ; substitute_character used when character cannot be converted
    ( P0 F5 d( i- {& Y0 u
  1660. ; one from another
    # `- `+ w& n  p# X3 J! s
  1661. ; http://php.net/mbstring.substitute-character
    - a" d4 k3 _4 Y
  1662. ;mbstring.substitute_character = none
    % ]  j/ i. e% z) ]4 t! W7 h' c
  1663. * n# t+ a# t0 u5 Y- }
  1664. ; overload(replace) single byte functions by mbstring functions.
    7 P* w6 {8 v; x! q/ f( D
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),8 p; T% b7 q- V- z$ G# O
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    % a, ]3 f, A+ I8 e+ d
  1667. ; For example, 7 for overload everything.
    0 [1 \8 N$ a8 B$ H! l6 I4 O
  1668. ; 0: No overload; j8 K' c- R5 `* L, e! g
  1669. ; 1: Overload mail() function4 O; L* R6 D9 |6 w6 U, R- p' J
  1670. ; 2: Overload str*() functions* @0 s7 ?8 l( d
  1671. ; 4: Overload ereg*() functions
    4 D  F5 j1 E+ N, d0 t" b5 P# s* E
  1672. ; http://php.net/mbstring.func-overload
    % g  L+ i9 M( l; w5 Z/ |- {
  1673. ;mbstring.func_overload = 0
    ) j3 a% s8 o7 m; o  j
  1674. ) D) t( h$ X4 l" M/ E3 t
  1675. ; enable strict encoding detection.
    6 H8 E2 L* q9 Q9 M
  1676. ; Default: Off
    , `! ^9 @( l  Z2 Q" }
  1677. ;mbstring.strict_detection = On1 b( W, C4 |" B# q4 |; _% u

  1678. " R' V- Q& ~' L) W
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()/ o& P( t& s. ?  h1 P
  1680. ; is activated.. G3 b, Z3 P  ?6 v
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)2 C# R) o* D" k
  1682. ;mbstring.http_output_conv_mimetype=5 |" E) o/ E0 ^2 U* ^2 b- Q! ~
  1683. ) P9 T- N  F; f3 {
  1684. [gd]
    # c# O! {* W- y2 f; A. V) _/ e
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    0 f- `8 A* i% H# H
  1686. ; a gd image. The warning will then be displayed as notices9 |- r& Y" A; b
  1687. ; disabled by default
    * D' }1 r/ q4 c  R- N
  1688. ; http://php.net/gd.jpeg-ignore-warning
    8 c, f" a, E' A2 x$ p; }+ a$ D
  1689. ;gd.jpeg_ignore_warning = 0; w- E3 i* i* |8 H  w. h
  1690.   Q% [$ R  a! }2 t. G, u
  1691. [exif]1 _, z8 y5 |5 J4 D; [& b
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    & P, l% g5 {- c
  1693. ; With mbstring support this will automatically be converted into the encoding
    4 V- c9 R( v7 m. j
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding; O4 I2 i" H# z7 }( S: |
  1695. ; is used. For the decode settings you can distinguish between motorola and( |2 s+ s2 F5 ?! D8 ^; }
  1696. ; intel byte order. A decode setting cannot be empty.
    4 T8 F7 s0 _5 u! O" w; y) D
  1697. ; http://php.net/exif.encode-unicode
    7 ~/ A/ ?3 F: ]4 z3 j( A
  1698. ;exif.encode_unicode = ISO-8859-157 S( l. T/ i4 Y) S6 q

  1699. : Z; C# G+ E- @! k- W
  1700. ; http://php.net/exif.decode-unicode-motorola3 y# P8 f% S; n# z
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    5 r, L$ r+ i7 A& u* M  \

  1702. 1 m0 O7 _; {5 h: w
  1703. ; http://php.net/exif.decode-unicode-intel
    ' X" Y  f9 q& V1 q& H( m! l  o
  1704. ;exif.decode_unicode_intel    = UCS-2LE, ~- P  n1 n9 I& k, J* V* f

  1705. : S9 c2 c8 Z, f3 q" z, ]* D
  1706. ; http://php.net/exif.encode-jis& H$ s7 S& N; G8 k& A2 B# I
  1707. ;exif.encode_jis =
    7 ?8 f. e# J/ R

  1708. 1 V2 d; F3 m9 g
  1709. ; http://php.net/exif.decode-jis-motorola
    & W! y: \: W) I1 f
  1710. ;exif.decode_jis_motorola = JIS' }4 {  Z6 G4 H' g7 o

  1711. . p: f$ j2 R1 E# W$ F/ j
  1712. ; http://php.net/exif.decode-jis-intel
    7 O# e+ h3 Y9 X
  1713. ;exif.decode_jis_intel    = JIS& W* `. T& C/ ^; e" M
  1714. * w% `9 c3 v9 K) P! C' V- s1 E
  1715. [Tidy]! L8 h3 {' l- Q5 {
  1716. ; The path to a default tidy configuration file to use when using tidy
    ) Y8 B" z: J) z% X0 Y
  1717. ; http://php.net/tidy.default-config
    $ s# t" ]3 E* ?( {  c. z* p, v
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg+ P) t5 b2 L3 d: [" M

  1719. / U8 t& c6 S! g) t& [
  1720. ; Should tidy clean and repair output automatically?" f# s8 [/ u8 Q- n4 t
  1721. ; WARNING: Do not use this option if you are generating non-html content. f: j# K( @$ U. |7 P
  1722. ; such as dynamic images% ?9 h  L. n. A; H. R0 W
  1723. ; http://php.net/tidy.clean-output
    4 `' H" T: t  B
  1724. tidy.clean_output = Off( R  g* C; x) E- T) |  `

  1725. : A# W0 `. o5 w
  1726. [soap]4 k: ?& k0 J3 z
  1727. ; Enables or disables WSDL caching feature.
    ( b- p1 {0 T; W" m2 e. J! u) D1 m
  1728. ; http://php.net/soap.wsdl-cache-enabled
    + k5 h3 B, D5 [
  1729. soap.wsdl_cache_enabled=12 p& H7 J) J( O; B# j
  1730. 5 L; d; J3 g) q% F. f4 Y, n: J
  1731. ; Sets the directory name where SOAP extension will put cache files.8 k7 k+ M9 G; z" M
  1732. ; http://php.net/soap.wsdl-cache-dir" e1 ?9 M1 w; l( X8 r8 _; L
  1733. soap.wsdl_cache_dir="/tmp"/ C( g# [; W) O. w
  1734. 0 s5 G, [3 ]. s5 h9 q, m  L7 ]# C
  1735. ; (time to live) Sets the number of second while cached file will be used
    ) w$ K# r3 z+ o  X! |4 S3 V3 g3 t* z" K
  1736. ; instead of original one., ]! h! a' |/ G9 }7 A
  1737. ; http://php.net/soap.wsdl-cache-ttl5 }3 [9 w: o3 G
  1738. soap.wsdl_cache_ttl=86400% h* j  [- y* J: Z& s6 n! \2 d
  1739. 7 S, D  a0 \. z' F# V: M: c3 o
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache). q) _7 \+ Y5 U
  1741. soap.wsdl_cache_limit = 5' Z! s7 V& u1 V6 a
  1742. . v- d* g" z6 ?& C
  1743. [sysvshm]6 A. [. Y; r, f9 N2 z* K4 y
  1744. ; A default size of the shared memory segment
    5 u0 n+ W9 j% T- T6 G2 x" J
  1745. ;sysvshm.init_mem = 10000
    3 F) o9 o$ J; V) I+ t

  1746. ! T8 ?/ I+ ~7 m/ Z
  1747. [ldap]
    3 f! m: T* V; ]
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    $ T" Z6 z0 ^: o/ ]# p
  1749. ldap.max_links = -1
    6 L- y6 k( j! l! P# Z

  1750. . t7 H, E5 h) ~4 r$ N" m
  1751. [mcrypt]
    ! d$ O, B# d4 v; R9 B! ]8 P
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
      m  ~7 B* |4 y+ f+ X+ W

  1753. 9 ~6 U! x) D& _7 F
  1754. ; Directory where to load mcrypt algorithms& w* n8 c$ ]( U2 e- q% d# M
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)3 @) {' z. R6 z( d$ F4 R
  1756. ;mcrypt.algorithms_dir=
    ( y# E* ~* K$ v* R
  1757. 0 F3 @* I. `6 |: g* ^
  1758. ; Directory where to load mcrypt modes! s" `6 ]9 y4 s
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt), A' H6 o' z0 p, d" O' ^- z
  1760. ;mcrypt.modes_dir=. G, P9 k- \! Q  Y3 z" s/ p6 R
  1761. # w8 A- p; q* }& A( F
  1762. [dba]9 K1 K% x) g, S9 q$ X! N. @4 U
  1763. ;dba.default_handler=. z7 o* y( F5 Y6 X/ H. X7 P. b2 g

  1764. ' s2 V) v1 M; K8 X) }' g
  1765. [opcache]9 ]7 y* }% Z  L" {# ^- P1 b
  1766. ; Determines if Zend OPCache is enabled$ J' T  ^; z" e8 k) L# Q6 W
  1767. ;opcache.enable=0
    " C6 f" o$ t0 G8 P

  1768. 3 h4 ?! a4 X$ U/ b7 A. O1 R! {
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP2 S# Y; P, h  l  c. }7 |
  1770. ;opcache.enable_cli=0
    ' n& K" z3 J/ x0 e

  1771. ( h0 C+ \$ a) ~1 a7 h3 w
  1772. ; The OPcache shared memory storage size.
    ' P  _9 F% q0 N9 a) F
  1773. ;opcache.memory_consumption=64
    % Q" p, i' i9 W$ z! ^  {3 I2 P3 {

  1774. ' t) b0 Y# i3 v$ g3 |
  1775. ; The amount of memory for interned strings in Mbytes.
    - u2 A& S4 Y: k
  1776. ;opcache.interned_strings_buffer=41 V# t) K3 Y1 @% q8 K& {5 \
  1777. - u. Z6 v- \; Q8 |/ P7 Y
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    " i1 y+ V3 D% ?/ J
  1779. ; Only numbers between 200 and 1000000 are allowed.
    - t: ]5 r  k9 V
  1780. ;opcache.max_accelerated_files=20001 ~: u+ p3 N' C  L$ a3 I2 B6 C' Q

  1781. / B" {; _( r/ z0 x' c
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.5 X* D* \% W" ]& S
  1783. ;opcache.max_wasted_percentage=5
    ; A7 _3 b+ E+ X3 i
  1784. + }2 O* W/ U5 i) `" d
  1785. ; When this directive is enabled, the OPcache appends the current working; h+ A3 p( y9 I3 b! j4 y4 r
  1786. ; directory to the script key, thus eliminating possible collisions between7 Z, H4 g2 }4 ?2 ~! a" X9 O' [
  1787. ; files with the same name (basename). Disabling the directive improves
    7 T: W5 {+ k/ U" S& K& ]
  1788. ; performance, but may break existing applications.
    + d- v7 ]1 ~# R# C* }
  1789. ;opcache.use_cwd=1
    5 T! O! K- M( _
  1790. , D" c# k" n: a- E: \* B! `$ e
  1791. ; When disabled, you must reset the OPcache manually or restart the  ^  k/ O1 s0 k0 x
  1792. ; webserver for changes to the filesystem to take effect.
    8 k5 r8 k- B/ i- V
  1793. ;opcache.validate_timestamps=1
    " y% {1 X2 N+ A3 w& Y& J

  1794. ! {1 T4 x! k. D: D7 r
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    $ e; {- n- p0 d# f  y. y, X  k
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    & R' b9 O/ C* Y% f- U4 K
  1797. ; once per request. "0" means always validate)/ |; i4 [# f' V0 f) T# Q  `
  1798. ;opcache.revalidate_freq=29 b& v  k) [8 c, X5 ~

  1799. & r, x+ x( H0 o- B# J
  1800. ; Enables or disables file search in include_path optimization
    0 o, k0 A7 ~+ u0 @1 Y7 T2 e0 E
  1801. ;opcache.revalidate_path=0+ }9 v" ]4 x  }. i: \$ I# L

  1802. , E, t5 s. V1 n8 m
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the6 D+ r% K" ?" g/ S
  1804. ; size of the optimized code.
    4 J, y/ R# |, B5 R7 t
  1805. ;opcache.save_comments=1) D  g8 _2 F# L) W9 y4 h# c

  1806. 5 W( k3 u0 a( f
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    ! k, m, _+ M, T
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    & [8 ^3 c' h2 D' D0 J* u/ g3 a" |7 y0 w
  1809. ;opcache.fast_shutdown=0% a  L* r+ n3 x$ x. J8 r6 r: {

  1810. 3 u" ]9 B: _* k& P9 T! H4 Q6 i$ P
  1811. ; Allow file existence override (file_exists, etc.) performance feature." \' u9 r/ N  O; J+ i( W
  1812. ;opcache.enable_file_override=0
    % I5 H6 y( [9 }4 s( u

  1813. 9 l- F' ~: S- }: i- h+ N
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    ( ?! Y4 |6 f9 n
  1815. ; passes( r) a% y# ^, F/ ~8 W$ H4 q
  1816. ;opcache.optimization_level=0xffffffff( Y4 u0 k  O2 W- @
  1817. & D. W9 u: B5 s1 t& F
  1818. ;opcache.inherited_hack=1
    " e( v6 m9 o3 e. `7 H, i
  1819. ;opcache.dups_fix=0
    9 z, y% K* u5 T! i- V  @! `/ t

  1820. # g& O& N6 K$ h
  1821. ; The location of the OPcache blacklist file (wildcards allowed)./ n% X4 [. W% o1 Z  Y7 O* ^
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    # V& C- R4 l$ a. x( _$ e) K, O
  1823. ; that should not be accelerated. The file format is to add each filename
    ; x  n  J' c0 N4 j4 A) P  R
  1824. ; to a new line. The filename may be a full path or just a file prefix
    * t7 B; Y) I* d( @$ {' E+ a6 Z5 w$ A7 R
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    & X5 S+ i3 G6 |
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).5 ]8 W6 k5 a3 L
  1827. ;opcache.blacklist_filename=
    $ B8 l- {! L2 \
  1828. + b) z4 X% [# x
  1829. ; Allows exclusion of large files from being cached. By default all files. ^( }5 Z4 L5 @5 T1 S+ u# ^
  1830. ; are cached.
    1 E8 T4 r; g6 L( M6 Z* a8 t- ?
  1831. ;opcache.max_file_size=00 t( E: Q/ R$ ?

  1832. / e3 v% Y" c, F4 S7 S( E* O# n" R& [
  1833. ; Check the cache checksum each N requests.9 B7 {) z5 }8 Y; j" y' \; I) a2 a& v
  1834. ; The default value of "0" means that the checks are disabled.' y' j* x3 D- j2 k) O
  1835. ;opcache.consistency_checks=00 k/ Z6 J7 o/ M7 |7 I
  1836. % k6 P/ Y8 ], u, L% p  l2 @% n) L
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    + ~9 ~# u, S) d. ~% I
  1838. ; is not being accessed.; u/ x; A- l' ^
  1839. ;opcache.force_restart_timeout=180& y5 {' m* I1 d$ v) L
  1840. . [" p: @/ ~$ @- d0 A0 W# Q4 g
  1841. ; OPcache error_log file name. Empty string assumes "stderr".  v$ U; |. |/ r; t- c6 v+ B
  1842. ;opcache.error_log=: ]5 b% V7 |( K  C
  1843. 6 s0 }5 D; r# f6 l. L' [; c
  1844. ; All OPcache errors go to the Web server log.
    6 h  L- f) T& H3 T, J  ~' C0 ?5 m
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.) L& g: s! C  k: L. J8 e# B
  1846. ; You can also enable warnings (level 2), info messages (level 3) or6 X$ G( i3 A  t9 \
  1847. ; debug messages (level 4).
    ; [' T7 e+ _+ z+ H- o5 E
  1848. ;opcache.log_verbosity_level=1
    # L) l( |- A& d: K4 T" ]9 S

  1849. 7 }7 _$ x1 X; [* O
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    / K- V# K" f7 S3 A2 l" p0 @
  1851. ;opcache.preferred_memory_model=3 P/ S7 m5 J! l. L4 O0 }8 ^# T' [
  1852. 3 {0 i6 {. S* D* |( _- _
  1853. ; Protect the shared memory from unexpected writing during script execution.
    2 p9 G6 J6 W% p* s
  1854. ; Useful for internal debugging only.5 C7 q' O8 z$ U0 q9 W% t0 d
  1855. ;opcache.protect_memory=0
    0 g' D3 ^' }0 [6 x( o
  1856. / I+ n; Y% f/ l! [
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is* D0 k) z* s' r8 ]5 V: j/ a
  1858. ; started from specified string. The default "" means no restriction- U+ k7 [; q, m7 `. V
  1859. ;opcache.restrict_api=% X4 }, O1 B4 H2 J+ b% p

  1860. " V* Z3 R% I+ J- h
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    ) k" m( Y0 g/ b  W9 D
  1862. ; processes have to map shared memory into the same address space. This$ }9 f: B7 d  K2 Z& K% z# S( Q
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    / r) F" C  {' R5 t4 M: d
  1864. ; errors.
    - I& s3 P1 R* Z3 h6 e9 _
  1865. ;opcache.mmap_base=
    7 O& \% s3 P; Y6 ?" C) E& Y5 ^: r
  1866. ' ~0 y: j; C: v1 g' e" }( c
  1867. ; Enables and sets the second level cache directory.
    * b/ j7 M& f6 E- O' |
  1868. ; It should improve performance when SHM memory is full, at server restart or1 a9 O1 M3 K/ o% q  x5 I
  1869. ; SHM reset. The default "" disables file based caching.- i4 i* H4 J& X( S, S
  1870. ;opcache.file_cache=
    & }" k  B) ~& B) [+ z  D
  1871. % G8 ]' {$ q$ n) t0 V0 L7 V5 Z1 z- i
  1872. ; Enables or disables opcode caching in shared memory.
    ) Y8 G2 a. k5 [4 ?5 O4 e; ]1 ~
  1873. ;opcache.file_cache_only=05 b/ d; }* S* _: {

  1874. 8 S, o8 c% l3 g: \+ S
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    + Z+ g3 g  A7 Q& s
  1876. ;opcache.file_cache_consistency_checks=15 N- P% A0 r1 B
  1877. " x9 _2 `7 N* A' l, j
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to, \& L8 R& {% T3 ~" v: y4 C
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    7 v5 f2 y$ L" r3 d* X
  1880. ; cache is required.! \$ u: H- w4 _% t5 u1 c0 \
  1881. ;opcache.file_cache_fallback=11 D6 R1 N5 m7 p5 A- t
  1882. - f( D# g8 C1 {5 C
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.4 ^' d! p2 m8 ?# k( C1 V0 e! {
  1884. ; This should improve performance, but requires appropriate OS configuration.
    ( c+ V- t$ v5 F/ D
  1885. ;opcache.huge_code_pages=1
    / v2 k2 A& \4 w& y0 ?( O+ |
  1886. 1 C# @( A( ~+ j" _
  1887. ; Validate cached file permissions.
    6 H- o+ u- F" k! c
  1888. ; opcache.validate_permission=02 R; Y% f$ T" h" L
  1889. ; b/ K  R4 Z) i) G3 s
  1890. ; Prevent name collisions in chroot'ed environment.
    ! n" K9 ^: U( n9 M8 z
  1891. ; opcache.validate_root=0& s( C; F/ D7 v- O

  1892. , \4 m# ^. A* w/ I! A! A
  1893. [curl]7 t: t: b, c' v! p: S
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    % h& Z# C% ^7 V) e7 ^
  1895. ; absolute path.
    $ m2 q; `2 u2 K6 N7 Y
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
      f# C1 a4 a. Z8 T8 l6 W* l8 A6 S

  1897. 4 V- {6 _7 Y6 ^! G2 v
  1898. [openssl]* n) }% O5 [5 ?) d4 G& f- t
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    9 r: `4 i8 c/ E+ y$ {* \3 o
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should+ O8 {* ]% w. v, ]! ]5 [& K' q
  1901. ; not specify a value for this directive as PHP will attempt to use the
    . w+ G4 j1 I! |2 _7 c5 ?
  1902. ; OS-managed cert stores in its absence. If specified, this value may still, ^) i" m6 J4 ^2 M. ?/ y1 p9 ]7 r
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    ) a, _' T4 A7 u0 o! i5 H
  1904. ; option.
    8 P7 H$ H" s: m- A
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt% c0 I, B- M, c" L1 o

  1906. 7 e+ u- `! m: E7 {3 n/ ]0 _  j
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    1 }. s- t+ h0 M! V
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    8 A$ F7 O$ o; b
  1909. ; certificate. This value must be a correctly hashed certificate directory.5 S3 f0 n- c$ S, ?
  1910. ; Most users should not specify a value for this directive as PHP will
    * q1 s$ }0 b8 w  X
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    ) @* u! p5 {; H1 f6 \
  1912. ; this value may still be overridden on a per-stream basis via the "capath"* T( j& B/ T! a/ J( T
  1913. ; SSL stream context option.! V" ^9 Z3 q( g. O
  1914. ;openssl.capath=+ G* n3 m: c6 l/ a# D8 F5 L

  1915. ( C4 t& y* c9 i! B
  1916. ; Local Variables:0 N- @1 u& z9 T2 Q# q
  1917. ; tab-width: 43 w4 u* I5 P4 J. ]( ^4 N
  1918. ; End:
    - m- r1 @# F2 D* V# W

  1919. ) Q) o( ~1 J; ^- [  N
  1920. ;eaccelerator
    " I% F, U5 m( ?4 F- a6 \
  1921. 6 t+ u0 F- f' `4 ?9 g9 z
  1922. ;ionCube, k& P9 ~6 O9 y1 y2 Z

  1923. 1 V' E2 R$ P; |& o/ g4 H/ p
  1924. ;opcache
    1 r; q# E$ y2 t; V8 A& P# ^3 K9 Y, G

  1925. 9 {3 h/ z5 f/ o0 h) Y) ?
  1926. [Zend ZendGuard Loader]
    ' M& U, M( a- S7 |
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    & U" Z2 L: G2 O. V
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    : E+ M+ z0 O* U: {$ V
  1929. ;zend_loader.enable=14 F* v+ m# c" Y: i" J
  1930. ;zend_loader.disable_licensing=0* U9 l6 ?% D& g/ b& e% i
  1931. ;zend_loader.obfuscation_level_support=3( L6 k7 y  T& Z. e7 \6 r& o+ F- f
  1932. ;zend_loader.license_path=
    7 W- u) ^+ t7 a  i; P- ]

  1933. # N( s2 _) G( T: k& E- |9 _
  1934. ;xcache$ s/ R& \" _6 s* G' _- G& d
  1935. 5 V  w- p) k/ v! M4 F1 n- d
复制代码

) C* Z: s+ U8 C- r: b$ q  C' B# `" l# p( P0 e. }

) D" O6 }6 l- M9 e6 Q, k! Z' ^) I! U& M
( @9 L; s% N. |! j* b6 q* e
  V1 F: v, ]7 W3 U6 D1 i% G' e  _: V! F7 }% J: B+ `
' d1 \6 c. Z4 l# t' _" ~8 ~8 p
PHP5.6版本原始设置
% [# h8 A: J1 ]! _) l8 ?0 F1 I& F  y/ q" l+ ?3 F
  1. [PHP]
    / s8 I! d( w0 f; _7 T6 T

  2. & m5 k- i7 T5 a4 I
  3. ;;;;;;;;;;;;;;;;;;;
    $ _5 D* p/ c* Y( t
  4. ; About php.ini   ;
    % r& f6 Z6 B+ u3 m
  5. ;;;;;;;;;;;;;;;;;;;
    : M7 W: q' A! r( s
  6. ; PHP's initialization file, generally called php.ini, is responsible for4 t/ g3 _. S" e
  7. ; configuring many of the aspects of PHP's behavior.
    8 p; m2 A8 m  S% G: q3 p
  8. - N/ v$ p. e  W2 F- k; v$ q
  9. ; PHP attempts to find and load this configuration from a number of locations.$ ], N8 q: J, K* \. F! @# U9 l
  10. ; The following is a summary of its search order:
    & P- \2 @1 n" z1 L% [, V5 M* b
  11. ; 1. SAPI module specific location.
    ; n. X8 i$ G& Z& G! f4 l, B( b6 I" R
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    . P: ]8 v. ]* m9 k: I
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    8 d6 A8 B* Z( P+ [' m" R
  14. ; 4. Current working directory (except CLI)' H5 S' y  K3 j8 ^. I
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
      a7 s) b. r7 S% W# [$ b% {3 O
  16. ; (otherwise in Windows): J& [. G; y( _
  17. ; 6. The directory from the --with-config-file-path compile time option, or the1 P+ P6 v" h/ U+ ~: V" B
  18. ; Windows directory (C:\windows or C:\winnt)4 A2 F7 |* Q1 q+ c
  19. ; See the PHP docs for more specific information.! I, \7 T9 Q6 d: m7 w# }3 x* U) ^
  20. ; http://php.net/configuration.file5 @, z& D1 ]; m, p! ~4 M: p

  21. 2 f$ @2 T, r) _
  22. ; The syntax of the file is extremely simple.  Whitespace and lines( b& Q1 w/ O; Y, u* ]" g" I* w
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    3 B' n- n) ^1 x, W
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though0 ?9 y9 f% A0 v: o; _
  25. ; they might mean something in the future.
    * u  t. U+ h! w

  26. + m# N: N! z" F! t4 n+ R
  27. ; Directives following the section heading [PATH=/www/mysite] only2 u" `) C& d; S
  28. ; apply to PHP files in the /www/mysite directory.  Directives
      g% r' ]* i+ Z6 A8 d0 f/ I# c. m
  29. ; following the section heading [HOST=www.example.com] only apply to
    ( a2 [) V; @% Z+ D! t0 ^6 ~
  30. ; PHP files served from www.example.com.  Directives set in these
    3 o5 q4 O. g' ]- ?7 t, q4 l
  31. ; special sections cannot be overridden by user-defined INI files or
    - ?& R6 J2 T, N, M& D
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    8 V; l5 b1 F5 F
  33. ; CGI/FastCGI.
    8 N: {; `2 W% {0 c1 G
  34. ; http://php.net/ini.sections1 L- u! D2 z, e$ m% y: M
  35. : Y7 V4 U; ~# P+ i, G4 t+ H$ E  K
  36. ; Directives are specified using the following syntax:7 h4 i) M  T- Y0 |0 S; l7 U6 k
  37. ; directive = value
    * f' D4 C( }$ @) U
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    4 \7 F' q3 }* G0 r4 e/ G
  39. ; Directives are variables used to configure PHP or PHP extensions.
    2 g' V9 D* ?6 R
  40. ; There is no name validation.  If PHP can't find an expected/ }" H8 [4 M& K: ?3 j- o% k
  41. ; directive because it is not set or is mistyped, a default value will be used.7 J, |9 [6 }- W: x- c+ B- R
  42. ; F, M3 J# a+ J! _8 l/ R
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    ; ~& k' X* r! Y9 a4 C
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression1 h& v$ X1 {. {1 @# R5 ~  I
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a% Q7 K8 n) J7 p- l0 E( x
  46. ; previously set variable or directive (e.g. ${foo})3 I! x9 x$ x" z& r) W% l: J  y8 o
  47. ' [( `* X7 L. ^% l
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    6 A- e5 V7 H8 J; {6 ^0 p
  49. ; |  bitwise OR
    - H9 J2 c( t& k' ^) G2 u9 l
  50. ; ^  bitwise XOR
    9 Z1 Z; {  C) g
  51. ; &  bitwise AND" S: e6 s( F9 s6 k) a
  52. ; ~  bitwise NOT. L. c; P& I: Z0 O( e* M; E" j& }5 z
  53. ; !  boolean NOT; o* e% H, s- f

  54. ; u- r% C% U/ c6 y0 F1 t8 r
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
      z: F( K6 K1 ~" x4 i7 g1 X
  56. ; They can be turned off using the values 0, Off, False or No.) k4 H2 Z8 _4 M+ y$ O" Q5 I
  57. 4 E' Q# b9 B$ z! R
  58. ; An empty string can be denoted by simply not writing anything after the equal) j' p  M; p# W2 g1 ^1 Y% J! }
  59. ; sign, or by using the None keyword:
    6 @% p- X% ^3 N
  60. 2 s' o& o' m* @( }& M
  61. ;  foo =         ; sets foo to an empty string
    5 t1 R* X( V* T$ K6 t- m8 [6 B8 s* ~
  62. ;  foo = None    ; sets foo to an empty string
      z4 Z- T( T" s% H: o8 {9 N8 t
  63. ;  foo = "None"  ; sets foo to the string 'None'5 ], [$ P  ~2 N/ Q4 V# a

  64. 4 V0 h, B& _1 P" ^7 v$ L
  65. ; If you use constants in your value, and these constants belong to a
    4 r1 n& J) E3 h# l& y+ F) d! E& i
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    $ S8 q1 |8 a6 D5 e) a
  67. ; you may only use these constants *after* the line that loads the extension.
    ' [1 y0 j5 b4 \) W

  68. ' o" i. T; b+ x" A, D3 L) J9 F
  69. ;;;;;;;;;;;;;;;;;;;
    : S; R  f7 Y2 p! i
  70. ; About this file ;7 j! ?0 h2 g) C1 @
  71. ;;;;;;;;;;;;;;;;;;;1 J0 s$ _% i: L, O/ k" F/ S
  72. ; PHP comes packaged with two INI files. One that is recommended to be used. A" G1 P! e" \, S% V1 E
  73. ; in production environments and one that is recommended to be used in
    5 w/ ~! r' p2 h7 o. F0 f4 |7 J
  74. ; development environments.
    9 V0 ~* I' ]6 `" Q8 R- S- Y0 i
  75. 3 T4 n- E7 `% q; N/ A6 Y1 [
  76. ; php.ini-production contains settings which hold security, performance and2 e( L1 ~/ X9 e9 ?: \+ r* f& I
  77. ; best practices at its core. But please be aware, these settings may break
    - |8 {/ `+ \' Z1 q
  78. ; compatibility with older or less security conscience applications. We8 h" k1 G" t/ x& d; R- w$ W( S, r
  79. ; recommending using the production ini in production and testing environments.
    3 U$ m/ {( Z1 H

  80. 2 m. u, J: _4 U8 q2 G1 u
  81. ; php.ini-development is very similar to its production variant, except it is2 s! X' b. E( e5 r, g
  82. ; much more verbose when it comes to errors. We recommend using the
    / ]% B3 s# E: l; z7 v: [1 `( u
  83. ; development version only in development environments, as errors shown to/ E8 L8 f, T& I5 V( O, n
  84. ; application users can inadvertently leak otherwise secure information./ a) t6 m: H* j1 v  |
  85.   N$ x, H) D: O% Z4 g% T# R
  86. ; This is php.ini-production INI file.
    2 x: J& O2 w3 u3 S$ v  D7 m$ @

  87. 0 Q% m+ G5 V5 n) n6 ]1 I6 {
  88. ;;;;;;;;;;;;;;;;;;;' R0 `% T4 ^% X* @8 }& S( _) j& f
  89. ; Quick Reference ;: R' N7 `2 N6 T! V) X$ A
  90. ;;;;;;;;;;;;;;;;;;;5 [' M5 k/ W# m4 y
  91. ; The following are all the settings which are different in either the production
    + Q) R' y. C/ P
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    & x3 A! |) I& r
  93. ; Please see the actual settings later in the document for more details as to why0 R* b& G4 {5 S. h9 R
  94. ; we recommend these changes in PHP's behavior.  D+ m) W1 j/ J6 c
  95. # L4 N% d2 y& _4 |8 n
  96. ; display_errors
    $ N* S* {' M0 ]0 d
  97. ;   Default Value: On) t- k' F7 }# {4 m! e* U
  98. ;   Development Value: On
    * N& v! Q/ ?7 L9 W: W
  99. ;   Production Value: Off
    , i' z9 N, x; O! F' `
  100. 2 d# i( v% U, s
  101. ; display_startup_errors
    : j  |; u" w5 h
  102. ;   Default Value: Off  n  C, w/ C( Y
  103. ;   Development Value: On
    $ C" m9 s  P9 p6 M" [0 g% l
  104. ;   Production Value: Off
    " `+ P/ K& y& ]/ d6 h; _

  105. 0 \% ~( d7 F) l( t4 f+ @
  106. ; error_reporting7 }3 z7 K/ V3 X( N, H) C2 s
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    / H$ b. H/ I6 q- E' A1 P' j
  108. ;   Development Value: E_ALL7 D4 G/ r- f" w" W2 c5 N; x
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT9 D& T5 S* s4 q" ~

  110. : [- N$ o3 [5 i# z; Q6 U' Z! H
  111. ; html_errors
    : B. ^, y& D: C) P6 b, x
  112. ;   Default Value: On6 X" `* X. j# W
  113. ;   Development Value: On
    $ m+ n( U" U1 |# F. s2 U5 k
  114. ;   Production value: On
    + b: _4 S( Y, L' G
  115. , Z0 _/ ^6 c- @! q
  116. ; log_errors6 ?/ T$ K7 A$ h+ j5 k* I% c2 q
  117. ;   Default Value: Off7 \2 y& p1 `1 W( k. I8 f8 s" x' {
  118. ;   Development Value: On
    + l8 Z0 x) X# a' u5 H. b5 N0 l
  119. ;   Production Value: On
    & S+ Q7 p6 ~! Q* X- ~
  120. 7 E3 L8 j& N1 M2 n# u
  121. ; max_input_time
      T. e' \/ m, `3 V5 m+ E3 w% Q
  122. ;   Default Value: -1 (Unlimited)& q% D" S1 _7 K. [5 `
  123. ;   Development Value: 60 (60 seconds)2 s6 y5 i9 A: e+ H/ h5 R
  124. ;   Production Value: 60 (60 seconds)# [0 S0 v; L  N( a) l/ y2 b( O
  125. # P+ l- P$ `5 h+ v0 i* A
  126. ; output_buffering" M7 X$ }& _1 [9 \! e/ v- `/ g
  127. ;   Default Value: Off
    5 a( K4 |+ c5 A5 S
  128. ;   Development Value: 4096) l) ^% c' _6 f9 l7 Z6 M
  129. ;   Production Value: 40966 D5 O+ h( @9 \/ B7 o3 U$ }
  130. * Q4 ^' y4 N6 _* n/ Q, e+ g
  131. ; register_argc_argv  |( j" x( O" i( K. V* `7 M
  132. ;   Default Value: On
    / B+ M3 P# Z/ C
  133. ;   Development Value: Off
    / j. e3 g0 q* j& r5 K6 a+ n
  134. ;   Production Value: Off- |1 l' U1 P. J* q& F
  135. 6 [0 w$ I6 @. y3 i& A* s1 P
  136. ; request_order0 i! T, b, H8 R: [0 n4 E; N
  137. ;   Default Value: None
    - R" m. J& V% }& |! H
  138. ;   Development Value: "GP"
    5 f  M6 E8 t8 r8 N% B( _
  139. ;   Production Value: "GP"
    * l9 S2 G2 b5 j/ F+ ^
  140. / t0 g9 J: T9 u9 |. x- |7 c$ |
  141. ; session.gc_divisor- E. e! u& M& M# {& r/ t
  142. ;   Default Value: 100
    $ }8 v' S3 K- ?. k/ \
  143. ;   Development Value: 1000. R) F, z8 y5 u0 X/ Y
  144. ;   Production Value: 1000
    : @2 ]% k3 G" H" P/ j* z: [* q

  145. * t/ v1 N$ r6 ^/ V) ?
  146. ; session.hash_bits_per_character1 h$ M8 t/ N0 t, h$ [2 W
  147. ;   Default Value: 4
    4 A( }$ ~6 @, P9 e: o0 ]5 x( }" s' [
  148. ;   Development Value: 5; {4 d% |% Y) i
  149. ;   Production Value: 5
    : }* n$ L1 v0 C( ^3 _, P& |: \

  150. & m0 O2 z7 R! a2 `! y  g
  151. ; short_open_tag
    ; J- ~, d4 B) U3 d
  152. ;   Default Value: On" Q5 `) w, m! b& u
  153. ;   Development Value: Off
    " M; }+ e1 }) i. k6 F2 _# B$ k  [
  154. ;   Production Value: Off) _% @, I; O% o" A7 }. H# y
  155. / y; ^3 p: v0 X3 W  v% ~' {
  156. ; track_errors
    " J) N" I" l5 {
  157. ;   Default Value: Off( S" x4 T' p* o) f8 O
  158. ;   Development Value: On) s" F$ w5 A) B/ M) d0 f
  159. ;   Production Value: Off
    , J8 N: Y# }+ M) c+ B

  160. ; I2 c! ?4 y+ c
  161. ; url_rewriter.tags! |9 a+ w. J: }4 x' F, D
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="6 }0 C- m: y8 Y) s
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    " E1 O! f$ w" ]8 `) G3 O
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"! d+ n" S8 R; t2 Y3 e
  165. 1 y( n4 `$ P" c+ h5 a
  166. ; variables_order
    6 ^. \% S& ]7 y, B0 K
  167. ;   Default Value: "EGPCS"9 x0 L0 B4 [6 }$ I, |; f- o
  168. ;   Development Value: "GPCS"
    ) K" N# u3 f# h1 q: v1 e
  169. ;   Production Value: "GPCS"' l6 G: {+ `) v2 t, D" C
  170. * ?6 O- ]7 D1 ?7 X: Z* p- e
  171. ;;;;;;;;;;;;;;;;;;;;
    4 Y3 }/ ^( g3 t4 A' v
  172. ; php.ini Options  ;8 `; \1 C9 p4 o
  173. ;;;;;;;;;;;;;;;;;;;;
    * z$ T" d  x2 i# w& D
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    7 |! e' G  H+ J  n* A+ W
  175. ;user_ini.filename = ".user.ini"5 ?( r! j$ }& `' g

  176. ' S% ?, [& }+ c1 @5 O
  177. ; To disable this feature set this option to empty value3 h' `+ Q$ ^4 X
  178. ;user_ini.filename =
    2 y; p/ R& S; D3 g

  179. 5 r. J7 P+ t1 J7 r9 v6 D
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    + q$ r9 o  D3 U2 L# C
  181. ;user_ini.cache_ttl = 300
    8 {( h- R% w+ s. z7 _; {

  182. . Q* \! t6 R; ~& ^
  183. ;;;;;;;;;;;;;;;;;;;;+ n6 ]2 I( h( O
  184. ; Language Options ;: Y& |0 p8 ]  K4 k$ m
  185. ;;;;;;;;;;;;;;;;;;;;+ h: X2 C* G; l* O" h' q+ Y6 [0 d  k

  186. : G* r& e/ F0 A/ T! t0 {
  187. ; Enable the PHP scripting language engine under Apache.7 W/ O+ H$ K  k8 ]  U% m
  188. ; http://php.net/engine
    # `3 `% [4 ]6 V9 q7 a% G
  189. engine = On
    0 H7 g9 }; ^: B0 v4 D( R
  190. 8 n! e; G: W. P/ c& v4 X
  191. ; This directive determines whether or not PHP will recognize code between
    ( f# i* H8 v% ^/ M% I
  192. ; <? and ?> tags as PHP source which should be processed as such. It is- F- Y0 K+ d3 I! r; J5 \) h5 n* |
  193. ; generally recommended that <?php and ?> should be used and that this feature
    2 a3 q! }! O- ]- \9 v0 H
  194. ; should be disabled, as enabling it may result in issues when generating XML
    ; U& |' _3 y2 c
  195. ; documents, however this remains supported for backward compatibility reasons.2 e! b/ D9 A/ `* o
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    / N$ g8 I5 B, @  D/ T4 ]& R: E, y
  197. ; used regardless of this directive.1 v1 G2 c6 E8 F: @5 H" G# E
  198. ; Default Value: On! E+ \/ g4 q" W$ z
  199. ; Development Value: Off+ F0 F% ^9 C6 [  h& a8 |- Y
  200. ; Production Value: Off0 U) k- B7 t% C$ H/ N! G: s
  201. ; http://php.net/short-open-tag
    * f$ M: o6 s6 C& _
  202. short_open_tag = On) m9 ?: X. x: Y" I- z- }
  203. ' d# i% @) @: j( J( }# N% b7 |
  204. ; Allow ASP-style <% %> tags.
    ; {, c: V; F7 l1 j9 Y7 K
  205. ; http://php.net/asp-tags2 D( D6 Q1 d4 Q* Y
  206. asp_tags = Off# E) ^! Y# S" L; s7 W
  207. $ f: n* Z& z( j1 y. `  d
  208. ; The number of significant digits displayed in floating point numbers.  E+ P0 R+ B4 _* ]" P
  209. ; http://php.net/precision
    ' V; u4 a- W: J, h2 F. `
  210. precision = 14
    3 l- J# ]3 z# @$ U3 ^

  211.   t7 O& D5 F! m) j
  212. ; Output buffering is a mechanism for controlling how much output data. \8 V" ?$ f3 M/ B
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    / ~9 a: I, p* Q2 @: Q  E" j+ f
  214. ; data to the client. If your application's output exceeds this setting, PHP/ H! [/ {/ W& q. ?6 o, y( Q
  215. ; will send that data in chunks of roughly the size you specify.
    & Q7 C+ D- A* R9 m
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    # l( A$ j' C: s$ n8 b% P+ q% K
  217. ; interesting side-effects depending on your application and web server.
    % i  b% q! W/ A# c7 W
  218. ; You may be able to send headers and cookies after you've already sent output$ d  Z2 a1 u2 W8 }: |8 m- ~
  219. ; through print or echo. You also may see performance benefits if your server is
    ! R# u6 m: \0 _7 ~- E
  220. ; emitting less packets due to buffered output versus PHP streaming the output6 Y$ h4 W  \' M; C# O/ {: K) L5 b8 m
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance. [3 G, p# F- m% q8 D
  222. ; reasons.
    " t! P4 q, Y& b* r) _
  223. ; Note: Output buffering can also be controlled via Output Buffering Control/ q/ i: E5 v) `- c
  224. ;   functions.
    6 J5 j/ v4 `. l; s' R8 a. _7 q* T
  225. ; Possible Values:
    4 C! X; B* m/ E& t) D+ ~' Z0 U
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)4 m2 |7 C0 ~# F/ K, v. `0 ^
  227. ;   Off = Disabled5 Z$ V4 i6 X/ z4 i# ~* Q
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.( l3 J. g" v+ o. h* N( Z( R
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI( R+ N  {+ Q, ]" v: y
  230. ; Default Value: Off, L6 d- `( O$ h  b3 Q; x$ p! e
  231. ; Development Value: 4096
    % p6 O$ R# `" ]# C- v
  232. ; Production Value: 4096: Q2 E- h7 _8 F% [, s
  233. ; http://php.net/output-buffering0 P7 ~# f; Q, B. @
  234. output_buffering = 4096* p2 R# N$ |9 V$ G' D
  235.   ]  y4 S+ N% T7 X9 F" a# t% m9 x
  236. ; You can redirect all of the output of your scripts to a function.  For* G/ a5 w1 ?9 S* m% A) g
  237. ; example, if you set output_handler to "mb_output_handler", character
    % x5 P8 ?+ W& ~0 X# |5 E# l' a
  238. ; encoding will be transparently converted to the specified encoding./ v+ _6 O. ]) F. j7 \
  239. ; Setting any output handler automatically turns on output buffering." b+ }" }; S. }& H1 C7 L2 p
  240. ; Note: People who wrote portable scripts should not depend on this ini
    9 n! W- L* @: u: }2 b$ L, o
  241. ;   directive. Instead, explicitly set the output handler using ob_start().3 O7 Q- N, y. h, j
  242. ;   Using this ini directive may cause problems unless you know what script( u) }$ H8 q" }4 s" i3 _7 _
  243. ;   is doing.
    1 ]) ^! o3 j" X- g" `
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    9 U8 E$ B$ F2 \: p  T- K
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".  V' T1 H+ l; W' [' o( i9 C/ r6 x
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    2 W2 K4 r# J9 \  {5 y" ^
  247. ;   Instead you must use zlib.output_handler./ ]+ Y/ \8 {% u2 f8 ~. D
  248. ; http://php.net/output-handler! H! D6 L/ ~" H
  249. ;output_handler =
    6 [4 x3 H' g  q* n) f6 y

  250. 0 r% D/ v  I; e. A7 {
  251. ; Transparent output compression using the zlib library
    $ G3 R0 I  r9 c( ^
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    . B; p9 U8 E# ~; G! o
  253. ; to be used for compression (default is 4KB)/ b4 a! g) q5 S
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    7 N& X& n8 n; w6 Z
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    5 R; W: t4 p! T/ ~# ^8 B. @! B& v
  256. ;   compression. If you prefer a larger chunk size for better; H# y1 W0 a& f( t. q6 r
  257. ;   performance, enable output_buffering in addition.9 d0 d9 F6 `  r! x4 j5 n
  258. ; Note: You need to use zlib.output_handler instead of the standard7 `" h) |+ U' O* Y7 Y$ c% c9 K  S
  259. ;   output_handler, or otherwise the output will be corrupted.8 U3 O3 N1 {: d6 |* P% s
  260. ; http://php.net/zlib.output-compression2 u6 F* u8 u" L' w" C/ M2 S
  261. zlib.output_compression = Off5 G# W/ ?, e  {1 e1 }3 Y
  262. " h$ v" |! a5 Z, B$ t% B5 G
  263. ; http://php.net/zlib.output-compression-level, z- b  y  G, K
  264. ;zlib.output_compression_level = -1
    . e& Z. @/ `+ l) ]/ D! _* G: K
  265. 6 X. s  i" z$ `0 E" U+ ]
  266. ; You cannot specify additional output handlers if zlib.output_compression! w) K" F  m: z
  267. ; is activated here. This setting does the same as output_handler but in1 O' I5 A! G0 H3 f
  268. ; a different order.  g& t/ B. m7 W/ r: i
  269. ; http://php.net/zlib.output-handler/ \: X' M4 N) v* x& _2 U
  270. ;zlib.output_handler =
    & @. L9 }6 d, k" c; g. D; B

  271. $ O9 V0 X% C4 [) Z$ v
  272. ; Implicit flush tells PHP to tell the output layer to flush itself& {; _4 W; J2 S0 R0 {3 y: y( c6 }% \6 s
  273. ; automatically after every output block.  This is equivalent to calling the
    5 b8 o% U/ X0 }$ u7 v
  274. ; PHP function flush() after each and every call to print() or echo() and each* ?) ?( w1 e5 j* ]
  275. ; and every HTML block.  Turning this option on has serious performance! D; R2 ~5 J; N* r/ `9 ]
  276. ; implications and is generally recommended for debugging purposes only.- \9 r( l; G, g
  277. ; http://php.net/implicit-flush
    ) M) p8 c; s6 _2 L3 K/ k& n  x( o
  278. ; Note: This directive is hardcoded to On for the CLI SAPI8 K8 a( z' I- B  c) z. W
  279. implicit_flush = Off' j' X8 D: I& `2 C
  280. + R- [' c3 @; j* _7 X
  281. ; The unserialize callback function will be called (with the undefined class'
      u' ~( P( w3 A; M# x, z
  282. ; name as parameter), if the unserializer finds an undefined class
    0 F4 c0 D' F2 i& f
  283. ; which should be instantiated. A warning appears if the specified function is
      ?' L* F7 r$ H, p
  284. ; not defined, or if the function doesn't include/implement the missing class./ E! }. \6 k6 ^' B
  285. ; So only set this entry, if you really want to implement such a
    ' `7 _9 B1 d, L5 k4 g
  286. ; callback-function.# k3 g" q2 k* _, c
  287. unserialize_callback_func =$ ^+ I7 l5 {5 ~6 @* j! V) L
  288. ) \' A9 Z9 p% L' b5 I5 ^
  289. ; When floats & doubles are serialized store serialize_precision significant
    $ p; B5 c0 N5 [8 w8 m7 _* U3 n9 |
  290. ; digits after the floating point. The default value ensures that when floats4 G% X) o4 p5 C$ @
  291. ; are decoded with unserialize, the data will remain the same.; E8 G" q/ @8 H, G$ J/ p  ]6 ?/ F5 m
  292. serialize_precision = 174 `! I+ K% s) I

  293. - G9 Y+ c0 h; t% I6 b8 S. i; \
  294. ; open_basedir, if set, limits all file operations to the defined directory/ g" Q8 |; b; Z! e. A- p2 x: v: N
  295. ; and below.  This directive makes most sense if used in a per-directory8 {. `7 [- u, T
  296. ; or per-virtualhost web server configuration file.9 m  x. }7 h. f0 r" s1 c
  297. ; http://php.net/open-basedir
      k) p$ ^2 A7 H& u  a' ]; W0 A
  298. ;open_basedir =
    % Z( Y  q2 z' [  R
  299. ! u  e/ V; S. M( o) ]# z9 u
  300. ; This directive allows you to disable certain functions for security reasons.
    2 v0 ]2 X4 q" {) v$ s' \5 L% {3 a
  301. ; It receives a comma-delimited list of function names.: p% w, |% \3 u+ T' O1 N. [2 S; D; [
  302. ; http://php.net/disable-functions
    7 ~: o2 }3 A" o1 T) n* L
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    ) w) ~8 p. \- Z- a. _
  304. ) B3 B/ g) I! N" r0 \( b( s' r
  305. ; This directive allows you to disable certain classes for security reasons.) A" _1 r* {6 Z& |5 W
  306. ; It receives a comma-delimited list of class names.
    / Q" K# I' _1 ]) N! k, G+ M
  307. ; http://php.net/disable-classes
    2 h! a+ d' x4 f9 T, }
  308. disable_classes =( F  \) R  W( u6 x
  309. / V5 b- p. _* ~3 `$ l$ ~
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    ; L1 J' i6 U) F/ i0 z: z- k
  311. ; <span style="color: ???????"> would work.
    6 R5 {+ W; Z. w: Z2 X# }
  312. ; http://php.net/syntax-highlighting
    % m/ }5 d% j7 Y* O0 ?+ c2 \
  313. ;highlight.string  = #DD0000
    # b. c6 d4 ?" H+ m4 s4 A; f1 b5 U0 N
  314. ;highlight.comment = #FF9900
    ; P; l* B% F0 n- e; D0 H+ p
  315. ;highlight.keyword = #007700
    ' a( l" [- b8 Y
  316. ;highlight.default = #0000BB
    3 N$ Z4 ~3 D! }  k& e' Q& i
  317. ;highlight.html    = #000000
    ! r3 F$ p' z" L+ `% y; ]- x

  318. : o4 p5 I$ F; ^$ F7 R
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    9 @3 h6 I  u  o
  320. ; the request. Consider enabling it if executing long requests, which may end up5 J* q, @/ T7 }9 I: i6 P& K( q
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    " b7 C8 L- _! n' _6 r# b
  322. ; is to disable this feature.6 d8 ^+ h4 P' D: ?' d
  323. ; http://php.net/ignore-user-abort
    % u; I2 A8 v$ _. m
  324. ;ignore_user_abort = On
    - E. W4 V  ?- E. |. o% a
  325. * ?; I. r5 I0 I! u
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    ( k1 s, ?3 S  }
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    0 g# C" [2 W( B4 d6 @
  328. ; the file operations performed.) x4 N( p; k! l/ S: a
  329. ; http://php.net/realpath-cache-size
    ' l+ z5 b% W8 J! r; r
  330. ;realpath_cache_size = 16k
    & J* ~) `3 r# `4 x" w+ g  h, W
  331. * {* r( A5 E( J1 X2 c; m  g! K
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    / `8 T, `& n, J5 a
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    2 K2 W3 ]$ w- l) |: x
  334. ; value.
    5 g, c+ s. e: R# F# g% f
  335. ; http://php.net/realpath-cache-ttl* c  i1 }5 I0 J& e4 r6 w# d
  336. ;realpath_cache_ttl = 120+ J% P0 C& ^! E' z# }7 R& E

  337. : s/ t" _) g  J0 \. U3 T
  338. ; Enables or disables the circular reference collector., p1 q0 g9 A: F4 ?7 \) _
  339. ; http://php.net/zend.enable-gc
    " u/ i; f( Z' {% ~& C8 q
  340. zend.enable_gc = On
    0 Q$ h( o5 R* }0 A; r9 C
  341. 8 n# F% ]" X  r
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    5 x! M3 m9 y- H8 n+ J
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    9 f6 h5 z  t, k; X
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    : y( I7 c$ B  W# ~4 t& T+ k
  345. ; Default: Off% ~- {0 a; E. u
  346. ;zend.multibyte = Off
    ( [7 ^& o3 Z7 u( r: n: U: d. K" Y
  347. ' F7 q# Q3 v- Z  {4 c4 T
  348. ; Allows to set the default encoding for the scripts.  This value will be used$ _/ E3 Y% R& u5 G6 ^
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.# Z7 r6 k6 _5 Q3 ]( V7 }
  350. ; Only affects if zend.multibyte is set.6 D2 T) E4 k8 R; ]0 w4 {' e6 Z
  351. ; Default: ""
    ( a; |2 |( c+ ~5 O
  352. ;zend.script_encoding =) f: U: }5 n. O, w, U8 p/ W5 m

  353. . [4 _" C# h' h3 `* D3 @
  354. ;;;;;;;;;;;;;;;;;
    * k1 `6 b8 @& F+ I
  355. ; Miscellaneous ;
    8 p; W1 C2 C: V) S6 M0 V" K
  356. ;;;;;;;;;;;;;;;;;
    % r; {! A6 Y3 D3 S; l

  357. 8 G; q" Q6 T; ?. f% v0 _
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    & J/ }" u9 f" P! M/ @" y6 l
  359. ; (e.g. by adding its signature to the Web server header).  It is no security) f( r) @, o  u* L) T
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    ! T3 O( A8 j& J2 T, @7 ^
  361. ; on your server or not.( e; W( Y6 t- P" L3 p( Z
  362. ; http://php.net/expose-php
    6 P( O' E/ Z0 g4 k6 U# r7 i
  363. expose_php = On
    9 R$ U- e) z- x7 \$ {' N2 S

  364. . z" j7 l6 `8 J! q
  365. ;;;;;;;;;;;;;;;;;;;: T5 v$ Y) g' n2 |7 f0 ~  |' P
  366. ; Resource Limits ;
    / e8 f4 p: \# F2 Z9 A
  367. ;;;;;;;;;;;;;;;;;;;
    1 {# v  i1 [& N* w6 H0 U+ f0 r7 S

  368. $ c; l  M/ [( m8 E$ f5 o) L- R
  369. ; Maximum execution time of each script, in seconds; `. L+ ~" G$ x3 Y
  370. ; http://php.net/max-execution-time
    7 O0 y8 x" |/ o: n' C% k
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    / j3 d) A. i  R8 G$ m2 x  J
  372. max_execution_time = 300
    - Z0 ~# m& n7 }; v- [2 G+ @
  373. 5 H( ?5 e8 ]7 ?' f- _/ q! E
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    * J) ?# Q. U) v0 g
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly6 Y  I9 D# s, z2 h7 W+ K
  376. ; long running scripts.
    3 S; h- {2 |8 l1 x! D( Y# U
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    % ^5 [! U2 s  B  U* Z1 J8 |0 P8 O
  378. ; Default Value: -1 (Unlimited)
    ' a) ]+ _" Q8 l, z# {
  379. ; Development Value: 60 (60 seconds)0 w  d. X. T8 g) E( r2 D
  380. ; Production Value: 60 (60 seconds)' l) u+ S+ f( ?  Z) Y. K% t
  381. ; http://php.net/max-input-time
    ' ?; v* I; `0 n
  382. max_input_time = 60
    " ]$ H. |* f8 [, Y! Y. N# p5 v
  383. - ?3 f% P; @$ w) R+ X
  384. ; Maximum input variable nesting level
    ! B! T9 Q: O  ~8 v+ o
  385. ; http://php.net/max-input-nesting-level2 g1 A: ?% \* u5 D
  386. ;max_input_nesting_level = 64
    2 D" a0 @, `- o9 Y* Z

  387. , l! L5 ]) c$ N8 p4 Y% o
  388. ; How many GET/POST/COOKIE input variables may be accepted6 A$ G; R5 w% f2 L
  389. ; max_input_vars = 1000
    6 T3 l' {( R; y+ M$ i7 A  Z

  390. 1 ?$ \4 o! V& L- U1 K
  391. ; Maximum amount of memory a script may consume (128MB)
    0 b# u, h7 W" |
  392. ; http://php.net/memory-limit
    ) r0 K% c: R& p( E6 u, ?
  393. memory_limit = 128M
    ; Q+ W) T' n) n  d7 S
  394. 8 y3 p3 B0 u% I( a3 b
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;  A/ U* ]' h" u& d- V
  396. ; Error handling and logging ;: J& T- `, r* V8 \! v# q
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    5 ]6 b  e/ k5 o2 ^# y3 k! j

  398. 6 @5 E) X$ Z7 O- n3 `' W
  399. ; This directive informs PHP of which errors, warnings and notices you would like8 W2 v2 W* }+ Z2 c! {6 h% i( h" v' K
  400. ; it to take action for. The recommended way of setting values for this
    2 t1 [5 ]( V! a% h: m& w8 r) K
  401. ; directive is through the use of the error level constants and bitwise; _  E$ }) q( S- \5 |0 q
  402. ; operators. The error level constants are below here for convenience as well as
    . K- |6 B+ W8 j  |$ p9 y1 ^
  403. ; some common settings and their meanings.2 f5 m. E$ q! U+ |9 e0 }
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT4 j" N& H! a9 |
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and6 x( h& R* j! g/ w
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    ( Q8 w* O% S; h7 \5 w: c- W
  407. ; recommend error reporting setting. Your production server shouldn't be wasting, ^- K2 L& B) M6 G' s) H- y9 v
  408. ; resources complaining about best practices and coding standards. That's what! X( ?: ~7 L7 G3 [, W5 I( G2 h; ?
  409. ; development servers and development settings are for.- {. y( P8 \5 A$ G5 s  N) h
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    3 W, g! g4 |+ g9 U$ p
  411. ; means it pretty much reports everything which is exactly what you want during" k4 H  r& J0 q* P8 H6 y/ r* j
  412. ; development and early testing.
    / B' y1 R/ Z0 r) ]$ r1 X8 x
  413. ;) E6 d/ |7 I! ~6 \. N, o
  414. ; Error Level Constants:+ y2 E! e" D3 ^5 E2 y
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)( E' {. Z1 T4 H' t
  416. ; E_ERROR           - fatal run-time errors
    9 N+ j' l, C" Z" w" d  I9 w
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    " Z1 D& Z; L( D9 n( p
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    $ N: {0 i* z# o. [
  419. ; E_PARSE           - compile-time parse errors# k9 y+ Z4 v# z5 T- A. c3 Y4 ?
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    ) x6 O2 A5 u2 H/ _! h
  421. ;                     from a bug in your code, but it's possible that it was
    ! p# w) c: U, D  [. B* w( f
  422. ;                     intentional (e.g., using an uninitialized variable and
    7 ^3 Y, [9 F1 W# x# a1 a
  423. ;                     relying on the fact it is automatically initialized to an2 o( n+ |8 c; G
  424. ;                     empty string)+ }6 M! }7 [( F5 Z" K" }: u
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    ( A2 E- B! v( J) w
  426. ;                     to your code which will ensure the best interoperability2 t" }3 E2 u# O; }7 S+ J
  427. ;                     and forward compatibility of your code
    + W! h2 P" l; S' x' q4 ?
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    ) y, |7 C  u6 c$ D! Z5 ^
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's3 j0 {3 s' F. i2 f7 ~0 j( n
  430. ;                     initial startup& {$ B; T$ e9 L! {  z& h
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    6 r  r, ?2 V/ Y
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)9 o1 |: c! e! j. c
  433. ; E_USER_ERROR      - user-generated error message( D* |3 D8 C8 {# u' T7 v6 z
  434. ; E_USER_WARNING    - user-generated warning message$ X$ e# N# e0 N- B
  435. ; E_USER_NOTICE     - user-generated notice message% C2 W: l, y  m2 d7 m* n
  436. ; E_DEPRECATED      - warn about code that will not work in future versions4 t# O% }8 @) a
  437. ;                     of PHP' N* ]) D# _  a' w- E6 J/ ?+ @
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings8 @$ {) O. W6 j
  439. ;( g% r/ G& {! I2 H
  440. ; Common Values:
    3 y7 @4 M3 H( q( B7 E; p
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    + M- V) f1 a6 v$ k
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)! {* x( `7 n3 i4 ^
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)5 z! K. }& o0 O) Q
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    8 ?  p9 f+ k7 j; J' b& N, {
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    " [3 f* J! Q! R3 ]: O, r% B5 Q
  446. ; Development Value: E_ALL
    3 A, @" Q* }& A
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    ! L' D) i' q; c5 X( \$ M
  448. ; http://php.net/error-reporting$ @' d2 B+ v8 [# L8 c* F2 ~
  449. error_reporting = E_ALL & ~E_NOTICE; S! J1 E& {+ L3 B5 c, A1 f

  450. 6 T( D! r' E7 `
  451. ; This directive controls whether or not and where PHP will output errors,! B6 |/ v, O* s! t& Y/ ?3 v
  452. ; notices and warnings too. Error output is very useful during development, but
    * C9 ~) g7 k: b  I9 T; E2 h
  453. ; it could be very dangerous in production environments. Depending on the code
    % T) i- `0 s1 d; s  w
  454. ; which is triggering the error, sensitive information could potentially leak: B' Z% l* T( z8 R- Z6 q  l
  455. ; out of your application such as database usernames and passwords or worse.
    + J* U* R$ c3 u4 O4 B+ a
  456. ; For production environments, we recommend logging errors rather than
    $ s" K, `/ w& g  K0 E& A
  457. ; sending them to STDOUT.9 z& _5 W* y& y* h( U* c+ U, q
  458. ; Possible Values:  |' F/ D) Y9 N& S8 J+ F
  459. ;   Off = Do not display any errors4 W" T; n$ T/ i; T8 F
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)5 q5 [3 A9 [  ^% |+ I, D( c4 _
  461. ;   On or stdout = Display errors to STDOUT
    / d8 @8 A& K9 C$ c& U& V2 y) G
  462. ; Default Value: On
    * g3 M, f+ d! H$ k2 X
  463. ; Development Value: On
    + T: o4 P1 w, U: e+ J, `" M8 A3 p! g
  464. ; Production Value: Off
    - O2 |2 \+ N0 W6 B" L. D+ t2 P
  465. ; http://php.net/display-errors
    ( j2 L/ u$ c, p$ o: ]
  466. display_errors = On" b  c+ t6 R3 X5 B( Q

  467. # o! T( S; n* E/ m% J: Z
  468. ; The display of errors which occur during PHP's startup sequence are handled$ z' g' p0 w8 l# L+ j. w
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    . A4 ?+ F; @( b
  470. ; errors from clients. Turning the display of startup errors on can be useful in- @# w; n& ]1 N. H; _: N2 C
  471. ; debugging configuration problems. We strongly recommend you
    / Y6 g0 w5 V! v; U* A
  472. ; set this to 'off' for production servers.% \# V6 o& W' A2 j
  473. ; Default Value: Off
    * l9 `- U4 `3 S/ r- l( w+ A
  474. ; Development Value: On
    7 Y" s# @# k5 n7 V( B" l$ ^
  475. ; Production Value: Off$ b5 q4 l, Y  E2 I) A" H
  476. ; http://php.net/display-startup-errors6 B2 A& P0 V! x7 F9 F6 {7 i$ ^
  477. display_startup_errors = Off5 X3 i9 d  }5 X8 \

  478. & N1 Z/ ^, o1 L- l1 j# e& E1 T
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    . G+ S0 g; A0 k8 f2 a* ^5 K
  480. ; server-specific log, STDERR, or a location specified by the error_log+ `4 a' e+ z* |( |1 e
  481. ; directive found below. While errors should not be displayed on productions
    5 m- N$ |$ p4 |1 E: o9 D; E5 c7 \* ^; T
  482. ; servers they should still be monitored and logging is a great way to do that.! b8 p; Q8 l. W
  483. ; Default Value: Off: r' x+ w) M% S
  484. ; Development Value: On
    $ N) J# W3 M# V( _
  485. ; Production Value: On
    ( L# p+ a3 W2 B# H% C0 i6 ~
  486. ; http://php.net/log-errors( }% D/ \9 ?* |- M% c, |) o
  487. log_errors = On2 w( ?" w, u  Y& e, ?+ w! Q
  488. + {) J1 F" G4 D+ e( z: O0 W
  489. ; Set maximum length of log_errors. In error_log information about the source is
    . s( A' p! o  t/ O$ x3 W
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    , k* X6 e3 o4 {7 d
  491. ; http://php.net/log-errors-max-len
    8 d: f4 g* `+ ]: z! s
  492. log_errors_max_len = 1024
    & \& x2 w1 f, t( k* n

  493. & q% Z4 n' r+ G* g6 {" W
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same9 Y% H1 I' H  J2 E. Y5 m- J8 d
  495. ; line unless ignore_repeated_source is set true.  O! |& U( c- Q$ D. P
  496. ; http://php.net/ignore-repeated-errors
    0 ~- R" @$ o1 E- S
  497. ignore_repeated_errors = Off% B6 m1 R; U5 T! s, h. l- A3 q

  498. 9 ?) l+ j( A' S
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    7 q+ R! X0 k" f+ Q+ K, _9 F
  500. ; is On you will not log errors with repeated messages from different files or7 O6 x/ |# o; W( o' F# l
  501. ; source lines./ w( ]+ e5 m8 F  S$ l2 p/ v& O
  502. ; http://php.net/ignore-repeated-source
    8 o/ p: A/ p* Y1 A. v0 j
  503. ignore_repeated_source = Off
    6 ~; d( M3 V+ Y& S) P

  504. 3 l+ Z" u7 ^! I/ C: D& p* y2 h$ T$ h
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on0 r3 V9 _6 @8 Y5 ]4 c
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    ; ]' U* u: D% @* n
  507. ; error reporting includes E_WARNING in the allowed list
    , j3 }  z0 m; D- O; X
  508. ; http://php.net/report-memleaks
    # A: p. |/ A0 h1 o- V
  509. report_memleaks = On% G0 |- V4 Z7 e7 B+ V/ m

  510. ) k/ ]8 @6 o7 h% j
  511. ; This setting is on by default.
    - ]2 S* [  x6 T9 s" H- x
  512. ;report_zend_debug = 0
    / S% {) Q  T; U( |# J# T" K0 O8 Z- {

  513. ) X) L$ p* V  u) H  F7 ?' v6 M
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    ( g# O2 b( m  x7 r2 x5 Z3 {' B
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    ' R' u+ V/ c% J' B: j4 e& G
  516. ; however be disabled on production servers.- q1 a0 X" v. l7 p. T
  517. ; Default Value: Off
    % D. X) {% w$ ?9 \" o# i
  518. ; Development Value: On2 F, f5 i, _, F' i1 Q
  519. ; Production Value: Off
    : {! D0 m' b# B+ s1 o% L
  520. ; http://php.net/track-errors/ a. e: R2 f& f8 }  a1 @
  521. track_errors = Off
    ! p9 b+ ]4 @+ |/ w2 Z8 Y" u4 ^- n6 k

  522. 5 D# W! d  v4 D7 u/ Q2 C+ ^
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    ' L' S. M- E2 {% E0 N$ P
  524. ; http://php.net/xmlrpc-errors
    3 w0 Q* e8 ~, [. g( r" o( B% a6 c( f
  525. ;xmlrpc_errors = 0
    ) x, x( O: j$ n$ A; A9 {
  526. % N' a  L" d; m- A' F5 b( W4 W! y
  527. ; An XML-RPC faultCode) F7 W- ?, Q  Z6 f
  528. ;xmlrpc_error_number = 0
    ) c' t- p! _. f( [$ _1 w6 w! Y
  529. ) t, [# d# i$ R# f
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    3 D# T* Z& j# |: W5 k1 j+ w
  531. ; error message as HTML for easier reading. This directive controls whether/ e8 t. A! k( Y$ ?6 l/ Z
  532. ; the error message is formatted as HTML or not.5 V8 v0 P/ v( z: \2 J( m- Q0 {$ A
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI. k; w9 V) Q5 U7 j8 Q! D* a
  534. ; Default Value: On4 ~4 \: B+ Y6 d* G
  535. ; Development Value: On0 k4 O- _1 G. ~
  536. ; Production value: On! _- z8 h3 _8 d! j7 j/ |
  537. ; http://php.net/html-errors
    * _& w) W  Q# p
  538. html_errors = On
    6 U/ o2 i$ A" n* J

  539. . g9 a7 [( t- r7 g& l
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP; U+ ~) K. k3 f$ w# j4 P
  541. ; produces clickable error messages that direct to a page describing the error
    / t3 \& A$ [' m* x
  542. ; or function causing the error in detail.
    5 P# D( T2 h( o) k% `. D- n
  543. ; You can download a copy of the PHP manual from http://php.net/docs- |0 A; g) x9 n# e" Y
  544. ; and change docref_root to the base URL of your local copy including the
    . f% n/ L1 q+ t4 R" d
  545. ; leading '/'. You must also specify the file extension being used including
    7 i# m* o  y, A; z/ V
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    0 @# K$ {# M, M1 Q3 B
  547. ; case no links to documentation are generated.
    3 m7 P! o4 K/ Y3 }1 `& |
  548. ; Note: Never use this feature for production boxes.
    / ]' t* b1 O/ v$ M6 L1 `" {
  549. ; http://php.net/docref-root
    3 U6 u8 I' E! _' |8 w
  550. ; Examples) {& }) o' J5 u% J' W1 T% X" H0 q
  551. ;docref_root = "/phpmanual/"
    ' j5 X# d: k& F+ j" h0 N  d
  552. $ @! w  K% n4 i0 X( N
  553. ; http://php.net/docref-ext
    1 g4 j8 h) U9 l; {( \
  554. ;docref_ext = .html! F- x" C6 @8 o4 v1 ?. y# A$ d
  555. 1 H- e: z& r( Y6 s9 y! U
  556. ; String to output before an error message. PHP's default behavior is to leave6 I6 l/ P2 p$ A
  557. ; this setting blank.
    - }5 B# {* E5 j0 ]7 C( \2 i1 r
  558. ; http://php.net/error-prepend-string# u* w( L7 D5 K6 h
  559. ; Example:
    % F9 U5 _: u3 X4 f* ^) c
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    : s" j# {; ?$ B+ A* f! x

  561. & e  }6 d4 }9 [; @3 _
  562. ; String to output after an error message. PHP's default behavior is to leave
    ! j* d% b; a! \. m7 u9 K( ^
  563. ; this setting blank.2 N7 y6 ?9 E' C1 D0 g9 W* C3 n
  564. ; http://php.net/error-append-string1 y2 J/ d$ ]  J: `% m  \
  565. ; Example:
    9 y! X* o# L: ^
  566. ;error_append_string = "</span>"" ]! u: z( l* }" u1 n
  567.   w# R8 M' ]# o
  568. ; Log errors to specified file. PHP's default behavior is to leave this value% M0 M- ]" f4 z1 f  S' y* W; A) k
  569. ; empty.
    6 l& i& W4 K, w' `
  570. ; http://php.net/error-log' E. G! p! O. Z
  571. ; Example:. J1 k8 H7 T0 Y9 D2 o1 q: N
  572. ;error_log = php_errors.log
    8 Q5 U0 t7 L. i4 \2 o- O
  573. ; Log errors to syslog (Event Log on Windows).
    : X$ [" l  a0 a8 b
  574. ;error_log = syslog
    $ u) P; _  Q0 }: X1 m! G9 P

  575. ' }2 B5 `, O# q, N$ c# W% |
  576. ;windows.show_crt_warning
    ! h# x, x+ C8 Q4 }
  577. ; Default value: 0
    5 E+ H8 p. C6 W
  578. ; Development value: 0
    ! F3 _  [, t8 l% O7 d6 w- M
  579. ; Production value: 07 y# b2 U% C; j
  580. , i" Y. r3 n# o* D* P% \
  581. ;;;;;;;;;;;;;;;;;3 F1 G+ l+ P9 Z0 O. r$ v) ]! l
  582. ; Data Handling ;
    + O* {7 S: @' ]9 B
  583. ;;;;;;;;;;;;;;;;;
    ( @  a7 w( s( u! i
  584. ) r: {9 h3 P" n4 [) h0 y% E+ a$ @9 x
  585. ; The separator used in PHP generated URLs to separate arguments.6 G5 n. S4 p* l  F
  586. ; PHP's default setting is "&".
    % P3 N" e( F0 I/ J# o
  587. ; http://php.net/arg-separator.output
    $ K6 l! t! l% z) O8 e
  588. ; Example:
    % p+ o) o; d+ F4 |2 j2 a: ~5 C
  589. ;arg_separator.output = "&amp;"
    * b' x8 h$ b! k5 K' d
  590. ; d; s, u" K  q2 P
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    " {. n4 x% f7 t! ^2 p3 B# [
  592. ; PHP's default setting is "&".9 o3 J/ f3 H( z5 s6 n, z0 u
  593. ; NOTE: Every character in this directive is considered as separator!
    , H! U3 V3 a5 d7 m, z/ z+ m6 d
  594. ; http://php.net/arg-separator.input7 Z$ s0 `6 a$ |9 L  X0 M" M3 Y$ c
  595. ; Example:8 @! A9 C; L) b6 d, G
  596. ;arg_separator.input = ";&"; V5 O* A2 K% @% T  D1 h& R6 T
  597. ) A( x0 j# A+ R2 F0 P* u$ p  a7 c* a
  598. ; This directive determines which super global arrays are registered when PHP
    3 F0 B+ y: ~, T) {) m7 @9 e7 q3 |
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super9 D" H) K: E. e7 N
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    ! x5 h1 y2 F- ^( }
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    0 A8 I1 ?4 q8 ^! h0 o. Y
  602. ; used as the others, ENV is not recommended on productions servers. You
    8 f8 U8 m8 Y$ [5 E$ w
  603. ; can still get access to the environment variables through getenv() should you6 e. S$ _' ?4 t8 o
  604. ; need to.
    - Q/ N4 k. ?# }0 _' v8 C
  605. ; Default Value: "EGPCS", |9 g& R9 H& W2 w4 W, Y
  606. ; Development Value: "GPCS"7 `2 Q5 e; a9 X3 \& N( {9 w
  607. ; Production Value: "GPCS";) \) M5 o1 }. Z- r% z" P; w2 o6 C- v
  608. ; http://php.net/variables-order
    % b2 I( S5 C9 q4 I* S1 f9 C
  609. variables_order = "GPCS": E: i, G  J3 U3 F
  610. ! R: S$ K( o8 P0 o6 y5 m8 m
  611. ; This directive determines which super global data (G,P & C) should be
    , Q4 b3 U1 U/ U8 {$ a/ i. [
  612. ; registered into the super global array REQUEST. If so, it also determines
    - ?, P0 f- n2 j3 X0 `/ @4 a
  613. ; the order in which that data is registered. The values for this directive
    ; e# K0 r  B" v" @! v8 k! \
  614. ; are specified in the same manner as the variables_order directive,
    1 Y% Q0 B4 s- ^! p, N
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set' C; o7 w2 P; h$ ~) w
  616. ; in the variables_order directive. It does not mean it will leave the super, Y: @, h/ v" L
  617. ; globals array REQUEST empty.$ A: u3 j: L& L$ {! G' w$ h
  618. ; Default Value: None
    ) ^" r' S. ?, a7 C+ @4 A# b9 Q
  619. ; Development Value: "GP") ~* A8 v, T: |
  620. ; Production Value: "GP"
    2 U; ?# Y2 N* v5 o' T/ r5 j3 N
  621. ; http://php.net/request-order+ r! S! I* N$ T# u' B
  622. request_order = "GP"0 m8 N, b/ m; X. l0 [7 r- H: A

  623. 4 O2 K7 o& @# Q6 T0 G2 l
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    6 r1 s# l( X; V/ A  q) K
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    & o. A. E" q1 S9 |8 ]$ b% v
  626. ; is invoked. $argc contains an integer representing the number of arguments% t9 p( r% {% k& }  ~  d  d
  627. ; that were passed when the script was invoked. These arrays are extremely
    1 ^+ }) _8 {' r3 }; L" V# i
  628. ; useful when running scripts from the command line. When this directive is; d  K- u3 `8 X$ ~
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    % B; _6 P5 a$ D" Z4 z
  630. ; a script is executed. For performance reasons, this feature should be disabled, }5 Y2 ~3 \8 R0 M/ i& Y
  631. ; on production servers.
    $ Q: ^5 a& i0 k  {' B3 C
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    0 C! a* s3 c2 ^: P  A8 `, W5 p% t4 P8 R
  633. ; Default Value: On) D6 ]$ q2 I2 |8 d) Q$ Y' e5 W9 ?
  634. ; Development Value: Off: Q) y' `  ?# D$ Z
  635. ; Production Value: Off1 i* e% Z) j7 \1 c3 f
  636. ; http://php.net/register-argc-argv
    * A9 l/ D0 k$ b8 H) J) ~
  637. register_argc_argv = Off
    8 q, T  v! Q+ `$ r4 U7 F$ e& T

  638. : f/ {' R' y% O
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're! r3 {. N( N! O# h. H
  640. ; first used (Just In Time) instead of when the script starts. If these/ ?9 J, H5 D1 }, S( ?. J& {! B. Y
  641. ; variables are not used within a script, having this directive on will result' `  r/ t1 ^6 `' a# h+ _
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled7 I5 ^, V: N! G. ]+ C
  643. ; for this directive to have any affect.
    9 y* O  L! H, q8 u5 N9 e% k
  644. ; http://php.net/auto-globals-jit- E# N! A+ m( e+ B6 I# t
  645. auto_globals_jit = On
    2 N$ ?/ F( r2 M  }
  646. 3 b: l( ?! u7 p4 s) x! _  g! L
  647. ; Whether PHP will read the POST data.7 x. {# r3 ~3 O4 k8 K- K0 u
  648. ; This option is enabled by default.
    + o8 V1 K/ J8 e/ g: ^
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    * [- U; c7 n( ~: U5 U4 G- n  C" F
  650. ; and $_FILES to always be empty; the only way you will be able to read the" Y+ J) a$ e# [& M- T; e2 q# U- Z
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    3 Q- t9 R6 I- j9 o2 P
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.7 V; h" O5 M& Y$ h* A
  653. ; http://php.net/enable-post-data-reading) \* S4 V! y  w$ a. u# a2 U. |
  654. ;enable_post_data_reading = Off) l' ]1 K. A6 x' G4 B9 q0 s

  655. 2 y. S! d# r: s& e7 S
  656. ; Maximum size of POST data that PHP will accept.
    7 S% _9 w) N5 `  C7 j1 e3 _
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading: k* b8 e% X5 \2 F4 w& k3 [
  658. ; is disabled through enable_post_data_reading.$ A4 Y8 P$ M- B* `0 B# x$ ^$ q$ I: ^
  659. ; http://php.net/post-max-size
    2 d0 {8 x; H$ r
  660. post_max_size = 50M
    & Z* e; o  C& o2 q5 ?# m& z, L

  661. # D3 f' S2 c2 j& W; P8 ]* v& q
  662. ; Automatically add files before PHP document.
    8 W) ~. u7 H6 b3 |# Y' x
  663. ; http://php.net/auto-prepend-file7 i# X4 k5 S# G: D
  664. auto_prepend_file =* h. {$ `. W8 q  ]: a0 m/ f6 C
  665. 2 `4 e" [! o; d; v
  666. ; Automatically add files after PHP document.
    6 j! z/ o; v4 X; H0 g
  667. ; http://php.net/auto-append-file
    9 ^; W& }$ c! C5 `" U' B; p
  668. auto_append_file =
    " G" ^5 t3 f2 V, k& f
  669. 7 O. k$ ?7 r8 R6 A* o( q$ _
  670. ; By default, PHP will output a media type using the Content-Type header. To& ~0 b# [) u* p% W
  671. ; disable this, simply set it to be empty., P5 U$ o3 y$ j5 v6 H1 b
  672. ;# W( w1 `7 s1 R' c. W$ y9 k; E) t( Y
  673. ; PHP's built-in default media type is set to text/html.
    : e& ^& \, S# W
  674. ; http://php.net/default-mimetype. b- O9 ]+ b& f; u  M$ p2 t
  675. default_mimetype = "text/html"
    6 J% K+ X. A/ ?- g7 d6 `

  676. $ R% M% o) t! \) \
  677. ; PHP's default character set is set to UTF-8.
    # O; A& _1 N' y$ k- f! k' I9 V8 K
  678. ; http://php.net/default-charset3 o3 p6 Y: Q+ i( M6 d
  679. default_charset = "UTF-8". }0 D; F4 i8 Q
  680. * ^) x. S; v/ D) Z4 S& Z
  681. ; PHP internal character encoding is set to empty.
    6 ^, J# {, T- E0 ]  a& c
  682. ; If empty, default_charset is used.
    . A6 w1 G/ G0 \- Z' k. Z) m: r  Z9 {
  683. ; http://php.net/internal-encoding
    / e9 ?# o( B: ^9 ?3 h
  684. ;internal_encoding =  o  U6 y+ h# U2 Q/ d% D; L
  685. ! u3 I3 x# d5 s! Q, N7 F" x
  686. ; PHP input character encoding is set to empty.% J" y) s! O7 n4 b& o7 f
  687. ; If empty, default_charset is used.6 C, K: G. Y& G: k% l( P, O
  688. ; http://php.net/input-encoding
    " h9 g5 O; N( f6 O0 y# v9 D. S5 `  Q
  689. ;input_encoding =4 {( H% U8 D+ m9 |

  690. # n3 P4 G$ O0 V! f$ B8 Z" D
  691. ; PHP output character encoding is set to empty.& u8 r3 m! q7 E; u" K( M0 s
  692. ; If empty, default_charset is used." {2 y6 p% _  w" J
  693. ; See also output_buffer.
    7 g, E( v) ?* m( K7 V9 e
  694. ; http://php.net/output-encoding
    8 V/ O. p$ j4 m1 s
  695. ;output_encoding =
    : g8 a  ]% j4 Q/ j; w; ]5 Y/ Y
  696. ! L  l9 t* R9 d8 ^( {8 {3 V" w$ ]
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    ' ~5 e9 A( w: H4 {  U9 ^' a* `* j
  698. ; to disable this feature and it will be removed in a future version.
    , L) j$ Z, @+ M! L6 V9 m" b1 y* ]
  699. ; If post reading is disabled through enable_post_data_reading,, _/ W& l1 Z' z; D# o2 d) p* I
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    * j4 l; |1 v: V3 c7 Y0 N
  701. ; http://php.net/always-populate-raw-post-data1 Z! i: S9 Q& |" w2 F
  702. ;always_populate_raw_post_data = -1, S( @$ ?9 P) P4 s1 {6 S

  703. % p( O* w( t1 G0 [
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    - N/ z0 F6 e$ M% _) P7 q2 V" a
  705. ; Paths and Directories ;
    ! _% V% y& k, S- ?1 Z
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    6 g$ f3 t9 B, L* Q

  707. % h$ w, p: r. W0 E7 v. x
  708. ; UNIX: "/path1:/path2"
    ' ]9 S1 m4 M( e" q, o
  709. ;include_path = ".:/php/includes"6 d2 s  I  R+ K) e% h) M" p, o  _
  710. ;( R! q. @% o8 M2 L! k6 H8 a& Q+ O
  711. ; Windows: "\path1;\path2"0 H1 {' Q4 r6 q$ V5 @
  712. ;include_path = ".;c:\php\includes"6 c) F, n) l6 U! s5 V  V
  713. ;. X* Y# }: W2 @* d
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"# W% o7 I7 t# r4 ^
  715. ; http://php.net/include-path* a$ a; ?% m$ T* G& x* Z% S) p5 ^
  716. 3 o6 S' G5 I2 ^. R
  717. ; The root of the PHP pages, used only if nonempty.
    5 @7 W9 k, ?# f4 e, q6 Q
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root% X- H# }( P9 g& J  t
  719. ; if you are running php as a CGI under any web server (other than IIS)
    - L) S6 y( }8 w  P2 B
  720. ; see documentation for security issues.  The alternate is to use the( }, L% |8 A' G+ o
  721. ; cgi.force_redirect configuration below+ F% l7 m: e) F# Y
  722. ; http://php.net/doc-root# Q6 r' \' Z& @( D" W
  723. doc_root =
    , s: Q3 w' a( O: ^  S
  724. / a4 x7 ~8 m" S2 D( e7 r
  725. ; The directory under which PHP opens the script using /~username used only0 Q" O* W1 F# y: o8 l+ E. ]
  726. ; if nonempty.) W; k- X# V7 m9 a
  727. ; http://php.net/user-dir
    $ b7 G: H& V; l( n
  728. user_dir =1 O# M+ B4 w* d0 z& ?& e0 `3 D3 q* \

  729. 3 z3 E( B! n, h! g% h) r8 h
  730. ; Directory in which the loadable extensions (modules) reside.. P- H8 M  i8 a/ ]
  731. ; http://php.net/extension-dir
    8 V" C, T( f: T2 ]3 \: w# N
  732. ; extension_dir = "./"
    + N' m8 u: |% H* L
  733. ; On windows:
    ( ]- _/ x* v, p' u% n. b9 q
  734. ; extension_dir = "ext"6 O1 K2 m( r. b& k0 [: X4 E( ~
  735. ; m) R1 A6 C) r
  736. ; Directory where the temporary files should be placed.- v. L- ~" |6 C$ d: |
  737. ; Defaults to the system default (see sys_get_temp_dir)
    % @/ B, l  W( f( I
  738. ; sys_temp_dir = "/tmp". m+ S% _; [3 u- G( y

  739. % j" n0 r  ^6 H: I( S2 S2 c
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    # F  j* D" g/ V7 l6 _. B- u: S
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically$ \% J, C' U5 x& K7 ~) {* y0 t
  742. ; disabled on them.
      C4 N, k9 o  x% w1 u7 }- Q& g
  743. ; http://php.net/enable-dl
    4 v5 K$ C, v* Z8 E& u+ o- ^
  744. enable_dl = Off9 y$ g2 U7 L% D/ l+ [

  745. 2 F# r) ?8 V/ G, d. L: w, m  H) x
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    7 ?- R. W+ ^, c# m. D# F" l3 k
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can( D6 {& l3 G0 d: w, {. V2 E+ T' ~8 J
  748. ; turn it off here AT YOUR OWN RISK
    8 A6 f# c: U/ O# k" _- M
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    % X0 ^3 ]( U& U5 o7 J
  750. ; http://php.net/cgi.force-redirect+ X$ f$ Q. ~& g9 Q  ]
  751. ;cgi.force_redirect = 18 D! e6 K7 p" C2 d0 V4 L& o
  752. 5 S( R1 S/ [- P. y
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    ( Z* r1 |; T% J4 X: |
  754. ; every request. PHP's default behavior is to disable this feature.
    0 g* u) h9 l$ {( f/ ~2 I
  755. ;cgi.nph = 1
    ; L& l# h# Z. R2 U! B
  756.   U8 H( R8 n5 l& u
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape9 g' r- e/ v( I+ a2 P' ?( N. {5 m
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    9 q' x( i8 _9 T& m( m8 C* T
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY! z: p5 N3 O8 K' b
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.( g& m3 [, G* e# M
  761. ; http://php.net/cgi.redirect-status-env
    6 _/ }/ u( w. i( Y' G
  762. ;cgi.redirect_status_env =
    3 K- n: c$ l$ v

  763. / s9 K4 E# m' t( ^6 p8 A
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    , |2 [* Z! i% R9 o
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    ( U0 L! ^6 N; a: f( v+ N& P% G9 ~% R
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    . M3 m* j, x' h* ~
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    $ l5 N: ]4 O* i& H$ k& {2 H
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    " |% A* }2 Z& H3 y! M" ]
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    ' u) i) @( O, A" _) [; u
  770. ; http://php.net/cgi.fix-pathinfo
    8 a" L3 N# Q( y0 H
  771. cgi.fix_pathinfo=1
    6 @, ^9 p) x2 L  m& q& m

  772. 6 V& U: j8 z) m8 t+ }
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    $ ~- ~* t1 Y/ a* F$ X& G0 U
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    . {6 R5 i4 ], R8 A4 t
  775. ; http://php.net/cgi.dicard-path
    / }% z8 W6 ~! p) r
  776. ;cgi.discard_path=1
    ! g8 y7 _$ ^  O4 D1 P8 y

  777. ' K' Z. F: w: P9 _( F, U0 y
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate0 X# W4 P  H9 {2 j9 V
  779. ; security tokens of the calling client.  This allows IIS to define the2 {+ b$ d5 I# o. o+ N. Z% b
  780. ; security context that the request runs under.  mod_fastcgi under Apache, ], [) Z1 r6 j" y# g6 ^
  781. ; does not currently support this feature (03/17/2002)( O' F5 D  m3 }
  782. ; Set to 1 if running under IIS.  Default is zero.
    9 Z8 e, [9 f( B1 E; M" Y
  783. ; http://php.net/fastcgi.impersonate
    / I3 c, }, A; Y
  784. ;fastcgi.impersonate = 1
    2 g: J+ e( I. @& u4 E

  785. 8 m! N5 ]: m% t) U0 h/ e+ v
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    6 w  e. C4 x$ h
  787. ; this feature.
    9 F: b2 d7 l/ ^7 [
  788. ;fastcgi.logging = 02 w/ m& m+ ^1 I% {# p
  789. ( {) C; I; b: U2 i
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to2 u) r+ p5 ~% X. `# Z3 z& E! [
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    ; x4 f$ _, P' X  x5 E& K2 c$ M& b
  792. ; is supported by Apache. When this option is set to 1, PHP will send( e! ^, Z2 j- A" s# O- @5 ^1 x
  793. ; RFC2616 compliant header.
    ' q+ g5 U& h, @* N" D1 n
  794. ; Default is zero.$ x) v1 g8 \9 d& `/ t4 }" V$ ]
  795. ; http://php.net/cgi.rfc2616-headers
    ' n4 b( \/ n7 W; _7 D9 a
  796. ;cgi.rfc2616_headers = 0
    - D1 ^0 E! Y- ?! a; W; M

  797. 0 X+ a8 d, U! \- h
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!6 {8 u* ]6 R0 @! L3 G' P
  799. ; (shebang) at the top of the running script. This line might be needed if the& x+ J8 m) |& e
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    ; K7 [' X% q8 r- |
  801. ; mode skips this line and ignores its content if this directive is turned on." O0 P" [1 u- i7 L$ H
  802. ; http://php.net/cgi.check-shebang-line+ ], p# x- V1 i# s
  803. ;cgi.check_shebang_line=1- [3 s2 @3 S! H$ x% F# v
  804. ; z) X* n# g$ F3 F5 ?. Z# c+ z# K2 U
  805. ;;;;;;;;;;;;;;;;
    # D) ~- z- D, |& l
  806. ; File Uploads ;
    : }9 V& U4 I7 O% f2 ]9 Y
  807. ;;;;;;;;;;;;;;;;
    ( m4 S* e4 _" V' ~" n5 B1 ]7 x

  808. 7 B  x( K8 m9 v4 K: ?) I
  809. ; Whether to allow HTTP file uploads.
    8 |* f; N* G5 m' k( U( N2 H) u" l) k
  810. ; http://php.net/file-uploads
    2 `; w' R, Y# C: e6 E6 M
  811. file_uploads = On4 ^. q9 f) X) O, n" D: i" S( s
  812. & P, N( r3 n( x8 U
  813. ; Temporary directory for HTTP uploaded files (will use system default if not/ o# b+ ?! j! R$ F' |; |% j, N
  814. ; specified).- O7 k* f& B8 G: M, N
  815. ; http://php.net/upload-tmp-dir# h0 u3 D- G3 r& Q! O4 r& O2 _
  816. ;upload_tmp_dir =
    $ Y3 z2 B, o) T+ z) E+ l1 f. s
  817. , w4 G8 c; o& m8 z
  818. ; Maximum allowed size for uploaded files.5 e+ H0 _4 f% `; Q' n( j! j, D
  819. ; http://php.net/upload-max-filesize
    - E9 J6 \! y& e1 [" X9 M4 H  A2 l
  820. upload_max_filesize = 50M! r0 [8 c; b/ |  `* |
  821. / D3 h4 \5 Z) X: H8 q
  822. ; Maximum number of files that can be uploaded via a single request
    2 ~7 B6 R' n3 G; Y: x
  823. max_file_uploads = 20
    ' g& l' u) `4 Y

  824. 2 I" _$ _% s  V" J$ u- \7 |
  825. ;;;;;;;;;;;;;;;;;;
    ' E% \8 m) P5 D0 P8 G
  826. ; Fopen wrappers ;' q9 f# r- }% t1 k& n0 r
  827. ;;;;;;;;;;;;;;;;;;
    ) V; r2 t# g, a  v" {2 I

  828. * _; ~! Y, V* B
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    ) p! Q% @* o/ P& S' K1 H
  830. ; http://php.net/allow-url-fopen6 A$ K" W9 t" `. w- u* U# T
  831. allow_url_fopen = On4 S$ |) E$ k# N1 J5 D* {2 }( O
  832. ) t" B9 c5 w- \+ l: z9 Q: z
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files." S0 _- q! ^9 m& C
  834. ; http://php.net/allow-url-include
    3 J; s0 E, h1 t( r$ D! |2 e0 H( B
  835. allow_url_include = Off7 [0 e" b8 W8 `0 ?/ a5 X9 P
  836. 6 N9 s* J  L, z5 W; ^/ o# k& e
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    3 u/ z0 r, N2 d
  838. ; for this is empty.) T- ], W' s, Q. e0 L) l1 B
  839. ; http://php.net/from
    5 }. r+ x& W" u" [1 M6 G2 ?
  840. ;from="john@doe.com". {$ V0 O1 S* J4 D( \! i
  841. 2 z: \/ n1 B( t/ e
  842. ; Define the User-Agent string. PHP's default setting for this is empty./ q1 r; N) V) T! O) Z" J
  843. ; http://php.net/user-agent
    " k6 G( D6 ?6 i' e$ _4 ^. u" v
  844. ;user_agent="PHP"0 V! w2 t6 u* l! |: f
  845. 5 w, f, K& o% a# }3 t
  846. ; Default timeout for socket based streams (seconds)
    $ M; D/ b4 N5 t1 n
  847. ; http://php.net/default-socket-timeout/ K7 J3 h. r" Z* k
  848. default_socket_timeout = 60
      Y2 `% `# O5 t
  849. * i+ t: c  `/ _- o
  850. ; If your scripts have to deal with files from Macintosh systems,
    5 N( h$ S, F/ D( s9 _
  851. ; or you are running on a Mac and need to deal with files from9 Y, i* h, f% Z0 H
  852. ; unix or win32 systems, setting this flag will cause PHP to$ d" T5 c' U+ J6 G  C/ V1 g
  853. ; automatically detect the EOL character in those files so that% Z/ _" P! c1 g3 `" Y6 ?
  854. ; fgets() and file() will work regardless of the source of the file.
    1 c! F0 g- c) [$ m  {7 d5 K
  855. ; http://php.net/auto-detect-line-endings
    ' I, U8 w4 }6 J1 h' o& z
  856. ;auto_detect_line_endings = Off
    # K: I" ?6 Y, @& h! b; A3 M! c
  857. ! k/ T1 e" J( P) `
  858. ;;;;;;;;;;;;;;;;;;;;;;0 y4 R: K" ^/ M; }9 C
  859. ; Dynamic Extensions ;
    : t/ t7 i4 ?; c2 z: C
  860. ;;;;;;;;;;;;;;;;;;;;;;
    - B, ~" w+ c, s+ |" P5 b9 P# A

  861. 1 p: p! x( a# ]% x6 o1 o: L
  862. ; If you wish to have an extension loaded automatically, use the following
    ' y* e) q7 Z# D% \
  863. ; syntax:
    4 i9 B& i( f" ?+ ~
  864. ;
    ; o( [, w5 ?* P9 O+ q+ [
  865. ;   extension=modulename.extension+ L/ r- F8 `$ @, N" B: C! Y
  866. ;
    0 c8 e  c- s5 @. B& S$ \/ Q
  867. ; For example, on Windows:
    . i: B4 v4 ^. N$ x( k
  868. ;
    0 z2 t8 `9 F6 ]( u/ e" V
  869. ;   extension=msql.dll9 D+ f& B6 ^* P) |( R" e+ u* l# y& N( e
  870. ;  f! D  E+ Y5 o* u7 i; s
  871. ; ... or under UNIX:
      H6 |1 W0 h' T$ f/ d8 Z
  872. ;
    8 d5 b6 y) y4 }: R
  873. ;   extension=msql.so& g, o, j* y7 ]* }. l/ _
  874. ;
    7 P" v7 N+ m5 o% @. M) u
  875. ; ... or with a path:
    $ g4 @& U* Y  a: n) L
  876. ;
    6 Y1 J6 v  r( l4 P& V
  877. ;   extension=/path/to/extension/msql.so
    4 O& ^# H  N5 O; C9 k' ~/ T3 ?
  878. ;/ Y! a$ p- D1 J! b1 ]0 M
  879. ; If you only provide the name of the extension, PHP will look for it in its' i7 v- C/ r/ q
  880. ; default extension directory.
    : f% a' I8 f1 Y# `
  881. ;/ M1 Z4 w$ C: w  T, D
  882. ; Windows Extensions
    % D7 c- q0 [/ a# r! s8 D4 S% u  R. H
  883. ; Note that ODBC support is built in, so no dll is needed for it.* v$ `+ m' ~7 o2 W6 g- n4 v
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    3 u+ |% z4 B& J; Y9 g3 c
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    , y! M$ z8 x! b/ ^! B
  886. ; Be sure to appropriately set the extension_dir directive.
    . d* m" o+ v5 `7 B: e1 S7 Y; R
  887. ;2 p9 L6 \: e" k3 n
  888. ;extension=php_bz2.dll4 F! Y3 ^) Z4 K/ J1 }4 m
  889. ;extension=php_curl.dll7 k. A! V0 o* b9 U6 R
  890. ;extension=php_fileinfo.dll' v: n0 L7 G* r. N; t
  891. ;extension=php_gd2.dll
    + Y# ^, D3 Z* y
  892. ;extension=php_gettext.dll
    % Y2 l: t! D5 B  e1 P: y
  893. ;extension=php_gmp.dll% d) [! w- r* f6 _9 g2 b
  894. ;extension=php_intl.dll
    5 ]% T) g1 W+ K7 U2 W: a" m& j
  895. ;extension=php_imap.dll% _2 q, y: |0 j. Y/ r6 G
  896. ;extension=php_interbase.dll& K9 d7 }. O4 y
  897. ;extension=php_ldap.dll
    1 y# u9 d+ [  K; v# y8 e& A
  898. ;extension=php_mbstring.dll
    # [% i7 w; Q# D! n& G
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it$ Z. c5 v! B8 T) c6 k
  900. ;extension=php_mysql.dll; e  j, s4 e8 o& W# E
  901. ;extension=php_mysqli.dll
    $ ]' N* w  @+ @8 l! x& [2 t
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    : b) }+ n/ @! C+ ?
  903. ;extension=php_openssl.dll
    ; W# G) `' X2 S) R  C
  904. ;extension=php_pdo_firebird.dll
    4 ~8 ~1 U& k0 ~; t
  905. ;extension=php_pdo_mysql.dll
    9 n+ H" J4 ]7 }' b0 H% c
  906. ;extension=php_pdo_oci.dll1 a8 l! I# w: _- P# r
  907. ;extension=php_pdo_odbc.dll
    ) S6 x3 H+ O) g% \/ g
  908. ;extension=php_pdo_pgsql.dll  {/ D' _* ?0 @4 O* A: P, s7 `7 W
  909. ;extension=php_pdo_sqlite.dll
    2 ~( H2 A% d% E! b: Y! ]( V6 P
  910. ;extension=php_pgsql.dll
    , |+ y9 ^% }8 P! W
  911. ;extension=php_shmop.dll% ^* A2 z# o9 h* v( y3 }

  912. ( C2 E0 X% ?' r0 y0 ~0 X6 c
  913. ; The MIBS data available in the PHP distribution must be installed. ; @+ E  x: w' P) d/ o7 \+ Y
  914. ; See http://www.php.net/manual/en/snmp.installation.php + N" C- b/ z" o. g, j) ^
  915. ;extension=php_snmp.dll
    ' p' D/ W* Q4 O6 X+ \; C  R

  916. 1 b2 E( e" h6 a, s4 A4 n& }
  917. ;extension=php_soap.dll
    2 ^' ~* h7 J! D- y& x
  918. ;extension=php_sockets.dll
    . @( c- q! A# P/ `' q# T
  919. ;extension=php_sqlite3.dll. y4 v, ^3 S- W4 Z( ~
  920. ;extension=php_sybase_ct.dll
      O# k% J" R. V3 }7 {& a, @) o
  921. ;extension=php_tidy.dll* F  v3 b1 g8 l- F9 v
  922. ;extension=php_xmlrpc.dll# ?# z5 A0 ?7 _2 K9 ~
  923. ;extension=php_xsl.dll
    0 I# n: Q# r: v/ I% v3 e

  924. - {5 E0 j* u( t5 M* O
  925. ;;;;;;;;;;;;;;;;;;;5 h% _7 E' `9 y
  926. ; Module Settings ;
    4 X  \; o) |5 x. u# X/ Q+ H
  927. ;;;;;;;;;;;;;;;;;;;
    # O/ y( |- w. L8 Z" V
  928. + j( F' p1 c2 f$ }0 T( A
  929. [CLI Server]. J5 H! W% L& e4 A9 K# b+ ~% g
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.% K$ c* [! ^1 A) c4 j6 _
  931. cli_server.color = On  P$ j5 H! P: F! Z2 S& z
  932. . n6 f4 Y7 F( d  P4 V, v
  933. [Date]+ t2 L/ E, z: s# ?
  934. ; Defines the default timezone used by the date functions
    ) f$ ]9 A# K+ _0 |4 q1 ^4 |6 `
  935. ; http://php.net/date.timezone
    4 h' J4 |9 O0 t0 g: x+ R# g
  936. date.timezone = PRC2 p* ^; d1 \; ^2 m
  937. , a" L& t& H9 j
  938. ; http://php.net/date.default-latitude3 a% a* c6 a% j, ]* ]# P
  939. ;date.default_latitude = 31.7667
    " T/ |' z1 U. _8 V6 ?9 b" F

  940. % X  y+ g6 `0 x6 b
  941. ; http://php.net/date.default-longitude" r& L5 T' D( \% S* @: E
  942. ;date.default_longitude = 35.2333
    & a+ S4 \, t6 [$ A

  943. 3 e6 e" ^; l3 q/ }2 ?; }4 R7 i: A
  944. ; http://php.net/date.sunrise-zenith3 l- T' z* U  B: t  K, D
  945. ;date.sunrise_zenith = 90.583333* M3 I6 a, O# o6 o# t3 [& L

  946. - U. \  ]" T  V" F+ B" v* _+ K5 A$ f! Z
  947. ; http://php.net/date.sunset-zenith; y: W9 n* h1 C8 d
  948. ;date.sunset_zenith = 90.583333
    ) D/ V8 ]6 R3 z

  949. ( {& G, @  ]8 R# S( j
  950. [filter]$ n, h1 {1 o- y
  951. ; http://php.net/filter.default4 x0 X, f, n* X+ a6 y& i; {
  952. ;filter.default = unsafe_raw: O- O+ y" T+ O8 |
  953. / M( \0 R6 u$ r3 a. |5 p9 I
  954. ; http://php.net/filter.default-flags! ]+ a# X, F8 x/ t$ P
  955. ;filter.default_flags =, y; A7 E0 G) K
  956. 1 g( h7 _2 |  P) g
  957. [iconv]
    ) u4 g0 ?1 b9 R# _9 \' c
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    , q# ^: p2 m( [7 r4 b+ H
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.. w9 C3 _% _& R) g* @& F
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    ! S7 v9 p7 I: F4 Y+ o
  961. ;iconv.input_encoding =
    9 s" S. E8 Y0 V+ O" \0 R
  962. ! h) T/ y; S# V2 z
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    1 D; W% ]) H: w% }8 u$ W. s
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    # [+ L0 f6 ~# f, E% l* `
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding" n( T6 b! V* X
  966. ;iconv.internal_encoding =# ]2 _4 ]; j6 ~+ H' q' p

  967. 1 k, t0 T1 k, ^, ]) N- X& q
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    ( Z1 O5 ]: W* ^
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    + i8 P" @1 [# \0 Y2 D/ R5 E8 Z
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    , E6 x% [" M1 b" z1 \# g# b4 a
  971. ; To use an output encoding conversion, iconv's output handler must be set3 p9 N  L# g! T/ m- P0 C
  972. ; otherwise output encoding conversion cannot be performed.
    # H) ]7 K/ Z" {1 `
  973. ;iconv.output_encoding =  S, P+ q3 j, c& A) Q, Q+ U& {! z

  974. , d' A* p" r6 r2 ^. s9 r
  975. [intl]+ m1 h+ |! j" `. {& I/ b9 i
  976. ;intl.default_locale =' V  m2 `; f7 i6 {: T5 T; G
  977. ; This directive allows you to produce PHP errors when some error
    8 [$ k7 k& c* }5 w, T* s$ f5 _
  978. ; happens within intl functions. The value is the level of the error produced.
    - w3 K' ?4 [* \+ K8 L$ ^3 v2 l
  979. ; Default is 0, which does not produce any errors.
    1 H/ y  I  t' s: P5 \# O% B
  980. ;intl.error_level = E_WARNING
    ; T) R1 J3 ~2 v0 w6 R
  981. ;intl.use_exceptions = 0, ], i6 f! b% e; B  L

  982. # @4 E) h6 X) q1 R1 H. a
  983. [sqlite3]' l: P! n  l% R9 K
  984. ;sqlite3.extension_dir =- r; k, L$ ?- G

  985. % H2 v! ?6 V( E
  986. [Pcre]
    . T) p& K6 U# R) O4 p$ \
  987. ;PCRE library backtracking limit.; s, A* f& g2 a0 c$ {
  988. ; http://php.net/pcre.backtrack-limit: s- p8 `6 B; E! w
  989. ;pcre.backtrack_limit=100000
    ! M' \. D2 b! r

  990. - Z" x+ L- T+ \
  991. ;PCRE library recursion limit.. J/ H$ a9 |, o8 R3 @$ a2 x
  992. ;Please note that if you set this value to a high number you may consume all8 K$ D3 ]; P, P8 C2 b
  993. ;the available process stack and eventually crash PHP (due to reaching the
    / `+ Q2 f1 a& X. s' R9 P! y5 s! o1 Q
  994. ;stack size limit imposed by the Operating System).0 C  U4 f) t' s
  995. ; http://php.net/pcre.recursion-limit) k$ Q  ]9 K& c, `' L
  996. ;pcre.recursion_limit=1000009 b  J0 i4 j! J0 N- i5 ^) l
  997. : ^( W" H) ~8 K- z. F5 A
  998. [Pdo]
    1 ~1 Z! L1 P! |6 q8 _
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    & n; p* M- Y: @1 C7 X7 A
  1000. ; http://php.net/pdo-odbc.connection-pooling
    , E% M" E: g- E) `$ C/ ?
  1001. ;pdo_odbc.connection_pooling=strict5 N9 M* |/ a3 K2 i. U/ P

  1002. 7 P( ~: S8 t' E* G. n" B
  1003. ;pdo_odbc.db2_instance_name5 ~& t0 {. k/ U. ^: \8 Y1 [
  1004. 7 Y( _3 y# \! n. g; g: s1 W
  1005. [Pdo_mysql]4 G7 P. X$ G  O; x
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ) L8 s: Q1 Z- @4 M: Y8 i
  1007. ; http://php.net/pdo_mysql.cache_size
    3 \4 H! b9 Z6 ]5 }$ E7 m: z
  1008. pdo_mysql.cache_size = 2000
    - t6 i1 z9 _( C) m" T
  1009. ' o$ u& U; }4 b' _3 c5 i. W
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in4 ]$ k$ R: e6 p6 V  O
  1011. ; MySQL defaults.
    1 P0 Y+ v1 t% ^8 F" W; m
  1012. ; http://php.net/pdo_mysql.default-socket
    ; _0 ~7 _2 H+ p# o
  1013. pdo_mysql.default_socket=
    2 g- f2 T0 h: F
  1014. 3 {6 h5 X+ _( t
  1015. [Phar]
    0 D/ }, V% R; @# ]/ z& |  O5 \! K1 j& H
  1016. ; http://php.net/phar.readonly
      \7 \, ?' s# I3 A- ?
  1017. ;phar.readonly = On+ K2 \' ~' A  g0 s, |% W

  1018. 1 O% R5 B: D5 m# S& h
  1019. ; http://php.net/phar.require-hash
    1 A& I% ?7 F. V/ E% `
  1020. ;phar.require_hash = On0 x$ i& `1 V4 w$ G$ R
  1021. ; m4 w+ D' j& W" I* ~
  1022. ;phar.cache_list =/ k, |  ?( R: Q  ]1 O4 r0 V6 X4 M

  1023. ) q0 `' x. j( V3 n/ Q$ _
  1024. [mail function]5 t# l: B9 k+ x. j
  1025. ; For Win32 only.- I/ p: z0 L4 @* F
  1026. ; http://php.net/smtp9 V, h& }- I8 J: H
  1027. SMTP = localhost
    0 R  E! l$ e  K; Y9 z" r
  1028. ; http://php.net/smtp-port. N# o. b- r4 o' e6 K2 X
  1029. smtp_port = 25
    - u/ F9 f$ T) @/ Q- X+ @# G$ G

  1030. 2 J2 i( ~  `$ P
  1031. ; For Win32 only.
    4 o" ~. j2 L2 G. \
  1032. ; http://php.net/sendmail-from) R0 s5 I0 x# ^
  1033. ;sendmail_from = me@example.com
    / f+ G- L  p5 X

  1034. . z, q, t! t6 B. ], q
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    - @1 D7 }9 H0 z1 P) D7 H) K
  1036. ; http://php.net/sendmail-path0 L- d0 a. r, u. j0 V
  1037. sendmail_path = /usr/sbin/sendmail -t -i1 [$ x3 U; d: m. _
  1038. + E  Y$ q7 |: E9 ~6 }4 k+ {
  1039. ; Force the addition of the specified parameters to be passed as extra parameters( P8 b, p8 g8 o5 t
  1040. ; to the sendmail binary. These parameters will always replace the value of5 W. j% F2 W/ I
  1041. ; the 5th parameter to mail().4 K) b" g4 J& P  @# ^8 t
  1042. ;mail.force_extra_parameters =
    ' W) v- Z3 L" e9 [1 v# i

  1043.   T2 X% V; J3 F: z4 k
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename; [; F+ [, B' l) q8 T& @7 x
  1045. mail.add_x_header = On6 [" e4 V/ c& [! U# I  M
  1046. 7 w7 M$ `( j! c8 V" i9 n8 `, P; ]; k
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    - O4 |6 p; b) P" b
  1048. ; the full path of the script, line number, To address and headers.
    % c* j! I3 c, ]: p  z# N' L
  1049. ;mail.log =+ _( ~; u/ b6 g& r! u
  1050. ; Log mail to syslog (Event Log on Windows).
    : d( N1 K  S$ K
  1051. ;mail.log = syslog7 @  V, c" m" K6 u( S
  1052. : Y" c1 f9 `" T+ O6 V1 e" w
  1053. [SQL]/ l+ C4 G# {4 S4 f9 H( Y& r) ^' f
  1054. ; http://php.net/sql.safe-mode7 q5 @8 v8 P5 A* {+ r8 m9 t7 c
  1055. sql.safe_mode = Off
    * W2 V8 W$ B, Y0 o& c

  1056. 5 A$ Y# g/ t7 Z8 E
  1057. [ODBC]
    0 g9 f# Q; R5 K2 w/ j& ]- a' Z
  1058. ; http://php.net/odbc.default-db$ x5 @3 V/ m, g& ~7 u
  1059. ;odbc.default_db    =  Not yet implemented; r" @" R$ y7 A1 n9 Y; N* a
  1060. 0 p, @! R9 @: U4 Y1 f2 o
  1061. ; http://php.net/odbc.default-user+ @2 h( Y# j& ~9 z
  1062. ;odbc.default_user  =  Not yet implemented
    , A* m( @  D( h( u; h

  1063. - F# V/ f2 [3 ?
  1064. ; http://php.net/odbc.default-pw
    8 Y* Y* N# r5 w1 V$ c" P
  1065. ;odbc.default_pw    =  Not yet implemented
    , v$ c& O' H$ |6 g' q. n  W; B5 ?9 |
  1066. ; {  u) |$ y4 g0 J5 `
  1067. ; Controls the ODBC cursor model.
    : R4 e- V% X: j* t5 R- R
  1068. ; Default: SQL_CURSOR_STATIC (default).
    ) g+ X% N+ w/ U( n2 v- i4 ]  O
  1069. ;odbc.default_cursortype4 d) y" E5 H! q
  1070. ; g  I( e# o# P( q% Z, N7 }" K. w
  1071. ; Allow or prevent persistent links.( [2 R0 W2 }+ h. |7 x
  1072. ; http://php.net/odbc.allow-persistent; C- x/ q; K: E( d, f
  1073. odbc.allow_persistent = On
    % F% G' s0 c; P: g% [

  1074. 2 `. q4 j* p* Z+ U
  1075. ; Check that a connection is still valid before reuse.+ t" A3 u' Z: Z5 a) X7 I
  1076. ; http://php.net/odbc.check-persistent2 |, U/ ~% A8 p
  1077. odbc.check_persistent = On
    & r* A4 y  s% N' X5 p& U; j$ D

  1078. ) e2 ?9 Y3 \/ |) H9 {( X! O% C
  1079. ; Maximum number of persistent links.  -1 means no limit.
    - m% S$ G+ Z4 [/ K
  1080. ; http://php.net/odbc.max-persistent. ?8 P6 i5 I) Z! Y
  1081. odbc.max_persistent = -1
    : O9 W7 ^+ N: y

  1082. 0 }+ K+ w& o: e# X! R; N! q
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.: z  _6 Z2 J) l# K3 R
  1084. ; http://php.net/odbc.max-links6 I" _3 l1 d% b: s& ?% v. U& A
  1085. odbc.max_links = -1" z/ b1 \3 F, ?  x
  1086. 1 [) }  z1 R; S  s, i0 u
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    * r% T& V2 x7 E) ^
  1088. ; passthru.
    $ H4 K1 z6 x! w/ H$ a
  1089. ; http://php.net/odbc.defaultlrl
    & V4 Z0 J  F0 O0 a: c1 x0 T  m
  1090. odbc.defaultlrl = 4096
    5 j9 v) S9 i- |: l* ?
  1091. / `( a+ g/ v7 B0 C
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    . d/ q) R6 m' s+ T; r/ R' J
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation  j7 n+ g1 k: L) G6 g! i; V- _) v
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    ( f% I. {. ]1 I7 o/ x9 ~
  1095. ; http://php.net/odbc.defaultbinmode
    * e4 {1 v1 H4 g
  1096. odbc.defaultbinmode = 1# l0 O9 y  e1 ]* k

  1097. ' C/ }5 z( _" x  l- Z8 Q
  1098. ;birdstep.max_links = -1* [' w' i0 `$ `2 D* g; l
  1099. 2 c$ v  r& t% g% m+ G1 d
  1100. [Interbase]( {9 f' k) ^  l5 ?4 N
  1101. ; Allow or prevent persistent links.- {2 Z, S, J2 n! x- h% p% X, d  n
  1102. ibase.allow_persistent = 1
    ( R# G% y+ ^. X6 `, n+ n+ ]
  1103. 8 N, U1 _" U1 _( j  B! d" R' s
  1104. ; Maximum number of persistent links.  -1 means no limit.
    $ H* W  h& a2 G: r
  1105. ibase.max_persistent = -1' O# j/ F' Y' e- T: |2 E" |4 c

  1106. ! D2 d0 d; W- r1 S: h! c7 A1 H
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.2 B) H. f9 O' S6 ~6 _5 D2 s% N
  1108. ibase.max_links = -1: m4 N6 w9 v* v) ^! k& r* p) K
  1109. ) L. O7 r0 s! f8 F) x
  1110. ; Default database name for ibase_connect().
    ! k) V' |# q& j- Z
  1111. ;ibase.default_db =" D4 n% E' @3 \8 j4 p$ C
  1112. , L0 A4 r2 x: i! m6 `$ m4 |) h9 ]
  1113. ; Default username for ibase_connect().
    ' Q- p/ y6 H% f+ h( [
  1114. ;ibase.default_user =
    " b, r( H+ y: }9 q, w2 S+ \0 \. J

  1115. # @7 [5 H* m% H; t: r( I/ i
  1116. ; Default password for ibase_connect().% K! q/ A4 g9 F* F0 Z% M6 e
  1117. ;ibase.default_password =/ B5 F8 P/ q, W* d/ w

  1118. " T' P# e* [+ y) [1 U* E
  1119. ; Default charset for ibase_connect().
    - r- X) o+ M; z7 S& j* b1 I
  1120. ;ibase.default_charset =
    3 @9 W- g5 K4 W- R

  1121. . p$ r. N+ H# ^8 T
  1122. ; Default timestamp format.6 I0 Y4 j4 d: [" R5 e* Q6 K
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"" T5 D5 R+ Q. R/ _

  1124. 8 Q1 X# s0 G" K5 P
  1125. ; Default date format.
    ( o* y3 Y( T( n" b+ D/ V
  1126. ibase.dateformat = "%Y-%m-%d"4 I' J' E$ c* D- I3 c! t/ x' s

  1127. $ O' _+ y0 K7 b$ p9 z1 C4 a
  1128. ; Default time format.
    + [3 L" n; O. c* u0 @  T" Y9 q
  1129. ibase.timeformat = "%H:%M:%S"
    , x- d! _4 k6 r8 {+ T( i
  1130. : I, H" e' ^6 n$ |8 O% ]; s8 S/ [
  1131. [MySQL]: A( O$ F( j" e+ J4 p
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    / k7 x, R3 ^" O% P9 `  q
  1133. ; http://php.net/mysql.allow_local_infile
    . i5 ^, \+ n6 H& f+ b! {1 D. M% [$ O
  1134. mysql.allow_local_infile = On( x5 Y4 m. a( u4 `7 X# n/ q  |
  1135. ( @: W) L+ o+ J0 h) d
  1136. ; Allow or prevent persistent links.$ l( A1 B; |0 C: ?% O$ Q
  1137. ; http://php.net/mysql.allow-persistent# Y, }) r9 G  U+ c
  1138. mysql.allow_persistent = On
    + {, J/ Z9 a! Q0 k5 [. m5 ^
  1139. ) i# h$ K5 G. x. h5 l+ _
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ( g8 \( e$ c0 y% L  z
  1141. ; http://php.net/mysql.cache_size
    5 u6 M8 N- V- V8 z2 E
  1142. mysql.cache_size = 2000
    8 F* G- M7 \% S$ R$ D' N0 W

  1143. 3 J/ n7 A) C5 D# O3 S$ [
  1144. ; Maximum number of persistent links.  -1 means no limit.
    ; W3 V7 C, b  T
  1145. ; http://php.net/mysql.max-persistent
    & [# v- @6 A# V. w
  1146. mysql.max_persistent = -1
    ; A; P7 k7 t* U* z/ u
  1147. " \( m( J8 b4 }
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    & u5 o  W4 L0 G/ T' q' [
  1149. ; http://php.net/mysql.max-links3 T: H: W8 ?, M
  1150. mysql.max_links = -1  Y( J4 o& Y% l6 d8 @
  1151. & S! @, b, T& W6 ]2 a9 h
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    . b- {8 _; B' S  n1 v8 K0 _
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    2 H/ Z/ k9 t. B  r! y
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look  t5 U$ @( T' Q4 Z! ]: w
  1155. ; at MYSQL_PORT.( U' z  M' L7 G+ e) D6 r+ Q
  1156. ; http://php.net/mysql.default-port& L& k9 m& J: g' V8 o
  1157. mysql.default_port =( r  n3 G3 Z; z) @: W+ s7 M1 m

  1158. / N* k" m7 ^5 |( _. P
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    7 ^- [4 C# W; v% h
  1160. ; MySQL defaults.* O, l  R0 s; b; @: z6 y! O) _5 C
  1161. ; http://php.net/mysql.default-socket6 Y1 d# \" d' D
  1162. mysql.default_socket =
    - e& M9 s$ [# a& r; p. p$ S

  1163. , C+ |: }4 ], M# W
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).% n0 J8 V- i9 `8 T7 [' O' W" a4 q
  1165. ; http://php.net/mysql.default-host
    ( T9 W; Z( Y" I' I$ k
  1166. mysql.default_host =* j: {: `* [3 Y5 x
  1167. 5 h4 B; F) N( f3 z: ?
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).; ?/ F+ @* b7 Y8 ~' O# o- U; b
  1169. ; http://php.net/mysql.default-user6 q! n+ Z" y8 w/ \/ _: S
  1170. mysql.default_user =, z4 t: R8 u$ a8 v8 i3 G
  1171.   S' J/ p1 Y" E# l' f
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    ; r0 F3 {2 u/ H9 \
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    , i+ b, K- ^/ V: [8 D( i8 P' J
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    5 v$ p9 ?/ @& h- x3 c9 ^
  1175. ; and reveal this password!  And of course, any users with read access to this! E+ r' f' N9 B
  1176. ; file will be able to reveal the password as well.
    ' @# z: K7 h# O/ T& b
  1177. ; http://php.net/mysql.default-password
    ; p  d' y( H) B$ [
  1178. mysql.default_password =* v8 \  V0 q( m

  1179. 6 M3 j) J1 Z! ~! a
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit$ u* h. F# |) x# y9 G
  1181. ; http://php.net/mysql.connect-timeout# s5 `: j$ r: b
  1182. mysql.connect_timeout = 60
    8 h' S6 Y5 a5 N. m" p, U% ^$ y

  1183. . X2 l" w0 t+ ~) {2 O( |4 s, T
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    1 N7 B0 f* u3 [" G9 Y
  1185. ; SQL-Errors will be displayed.5 y. u( E6 g* Z' X
  1186. ; http://php.net/mysql.trace-mode
    ; o8 M9 A% |: o2 K$ t
  1187. mysql.trace_mode = Off
    , e1 r! {$ q6 K

  1188. / X9 |- Y/ S6 K/ S. G2 i! g
  1189. [MySQLi]: ~* q' L& u& z2 a6 {) a
  1190. 0 ?1 X+ }7 R" b& c: n  `
  1191. ; Maximum number of persistent links.  -1 means no limit.
    * G/ b% q- c7 x9 K: @. p
  1192. ; http://php.net/mysqli.max-persistent* o" C2 A  Q3 K/ `
  1193. mysqli.max_persistent = -1
    # r2 @2 ?/ A" F3 D: s3 R3 l

  1194.   Y- S: X1 ~! B  ~# f; _
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    $ }+ `; ^+ Y0 |
  1196. ; http://php.net/mysqli.allow_local_infile
    + p9 s* k- d; V/ w. W; c; q
  1197. ;mysqli.allow_local_infile = On
    1 A$ ~6 ?' r, ^

  1198. : ?+ B: N8 {6 _1 N; @8 K+ r
  1199. ; Allow or prevent persistent links.
    1 d" D3 w/ E% ?# m
  1200. ; http://php.net/mysqli.allow-persistent, H* {5 t0 X# |
  1201. mysqli.allow_persistent = On- ]6 v) K" Q; U
  1202. ' a. F" C4 \0 n4 |, H& B( a/ @' {; I
  1203. ; Maximum number of links.  -1 means no limit.5 M3 W  K- x% t5 b% j5 B. K$ m) a
  1204. ; http://php.net/mysqli.max-links' {/ Q2 [0 Z* v# C
  1205. mysqli.max_links = -1
    5 O6 i7 Y& `/ D8 Z/ {# u  m

  1206.   L* |$ i0 g5 l! X
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache/ c! n3 o' ]& D9 {, |" M9 S
  1208. ; http://php.net/mysqli.cache_size
    . v. ^% k& Y2 i$ i# H1 H4 O
  1209. mysqli.cache_size = 2000
    7 N7 F9 c) @3 c; |. v4 W: [: [
  1210.   r# H9 v, W' z; f$ g
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    8 N: A  t8 j+ l5 ?6 K- g: Y. F) j
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    $ ^* U) E$ v, D7 o) U
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look6 [3 A9 M4 V1 T
  1214. ; at MYSQL_PORT.0 D% n$ i* U* C
  1215. ; http://php.net/mysqli.default-port' I" Y# G% W3 [- K; Y$ s
  1216. mysqli.default_port = 3306% l  }& N6 Y7 x/ n) y# j  G

  1217. 3 `2 z0 L5 W3 }( q. h. n
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    : w6 M7 N: ^6 h) f  `1 \
  1219. ; MySQL defaults.
    + Z* W: n4 t. G1 O& p' ?9 Y
  1220. ; http://php.net/mysqli.default-socket
    % G, ]6 T8 |' e- a* T! v3 j
  1221. mysqli.default_socket =, P# L+ P0 |! }( d

  1222. , x+ B# t9 A" H/ g6 _5 i# ?
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    / ^8 H7 a4 \4 D" x2 ?* F2 ?
  1224. ; http://php.net/mysqli.default-host& l/ d) }4 H" [! ^5 G
  1225. mysqli.default_host =6 |# x7 k- g' Z# U( r

  1226. 3 \$ h4 s& L; f, w4 O) R; P
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    # y- C( S  P+ v" ~& w; w) B
  1228. ; http://php.net/mysqli.default-user
    : u0 U  y+ T' H0 p/ j9 u
  1229. mysqli.default_user =. g& r$ a/ S# }# C, o; e9 N
  1230. $ q0 U( f! p9 k3 N" i- V" f
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    * y* |& D* H3 F6 n4 Z* o
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    5 J3 |% O, ?+ M& S$ y2 i" Q
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    " Q; \# S2 x( Q- n& Q9 m( w( H
  1234. ; and reveal this password!  And of course, any users with read access to this
    . ?2 ~: {/ q* m- h1 n4 {
  1235. ; file will be able to reveal the password as well.' x, E1 [& w! d/ j# K( W
  1236. ; http://php.net/mysqli.default-pw
    2 L* L* B) @6 j$ a
  1237. mysqli.default_pw =0 Q3 h0 c& O* g  R% A1 F( y, k

  1238. 0 ~  p/ L& z6 t9 C& ~  `) r& q
  1239. ; Allow or prevent reconnect& x+ N. H9 ~2 K! V( t
  1240. mysqli.reconnect = Off; s4 G2 c) C. j9 \
  1241. - I- _  `+ i; g, p( r9 x
  1242. [mysqlnd]* w9 m  \& q$ o# S* c
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    7 |* F4 `6 Y, {! m* o5 V5 B) a
  1244. ; used to tune and monitor MySQL operations.
    - C. N+ T& ~- |$ ?/ B
  1245. ; http://php.net/mysqlnd.collect_statistics
    8 C" u' ]7 A5 w% u) A
  1246. mysqlnd.collect_statistics = On
    " O, t0 L5 N1 u: Q
  1247. $ U6 I* e7 f3 D3 `% J
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be+ u0 x7 n6 E7 O# A$ z: f' x
  1249. ; used to tune and monitor MySQL operations.; o8 h$ m8 z: E" e6 K; H) [
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    7 C# W, Q; g4 m: G+ y( m! R& _! _
  1251. mysqlnd.collect_memory_statistics = Off, z; w9 b/ b: x) G" S
  1252. 2 O; {2 E! [% K2 x8 r
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    6 S. d  ?* p$ D# _: y
  1254. ; file.
    : Z9 o: M5 ~5 h$ ?( W* i
  1255. ; http://php.net/mysqlnd.debug/ T3 _" v3 w: d2 u3 |, t3 E$ w
  1256. ;mysqlnd.debug =! H9 d% T" k! I6 \/ k5 a/ [

  1257. ! ]2 b  I1 g# a" k
  1258. ; Defines which queries will be logged.- C7 T! n# h5 r9 B- Q& Z0 v% ]: F
  1259. ; http://php.net/mysqlnd.log_mask
    ) M$ D- ~; o7 s* n( J) N# z/ d
  1260. ;mysqlnd.log_mask = 0
    3 i( {3 E$ @7 d! v2 f! k, l7 B+ N% ^
  1261. , ]- q" K' `$ v3 F$ C* K
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.# ^6 A& M- `1 U  L4 F3 ~) x* i
  1263. ; http://php.net/mysqlnd.mempool_default_size4 q. }( x5 D; X/ n& L7 _
  1264. ;mysqlnd.mempool_default_size = 16000
    # k% F% X% D* {; H4 N

  1265. 8 N  ]( t4 I4 d  i8 ]! Y7 I
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.3 [/ n1 r9 @- y+ s+ z
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    ) f# R. h! F% m* V
  1268. ;mysqlnd.net_cmd_buffer_size = 2048- O) y, X0 W. G" h: F
  1269. - o/ ]" `8 P* r. c' Y/ ?" K
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    & }) B1 v" r4 V9 k2 Y4 s  A
  1271. ; bytes.% t9 S' F8 j* j& x% W
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    & D) C. `4 d8 G7 t: P# ~
  1273. ;mysqlnd.net_read_buffer_size = 327680 O9 {" x$ H, O/ E, W, J6 Q5 ^
  1274. 6 M+ n: {0 J0 M4 D
  1275. ; Timeout for network requests in seconds.; r$ _( w: t5 O; R; ]0 Y
  1276. ; http://php.net/mysqlnd.net_read_timeout. x" e/ F& K: s: N' Z3 x1 G/ ?: g1 z
  1277. ;mysqlnd.net_read_timeout = 31536000
    3 x+ }$ c1 m- s+ r, ~& h

  1278. * m/ w3 e8 O0 I- x4 g
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    ) {3 U% c+ `5 u5 `( g1 \# n. R
  1280. ; key.  M+ P' ]' i. o% N. C3 l+ J7 T
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    ) N+ Q. d! p" z& F0 o$ s
  1282. ;mysqlnd.sha256_server_public_key =1 ]) E: w: F$ p- k1 b

  1283. 3 [0 A! G$ P% H- r  S
  1284. [OCI8], J) m2 U) e: V( F, V
  1285. # q) l- \% S4 W( Y  b7 ]; V5 l
  1286. ; Connection: Enables privileged connections using external- g, h$ p9 w/ B
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    8 G: K  F- O$ J# i- Z4 G% P
  1288. ; http://php.net/oci8.privileged-connect
    8 }" M0 ]% Z" h  I6 W
  1289. ;oci8.privileged_connect = Off
    6 E/ y8 U8 Q  M+ F" `

  1290.   j. S: k1 K; a: [0 f
  1291. ; Connection: The maximum number of persistent OCI8 connections per8 A4 h2 f# N, t; R# O, S, @3 j5 r  C
  1292. ; process. Using -1 means no limit./ d  S9 B/ W! Z: @
  1293. ; http://php.net/oci8.max-persistent
    0 M* ^  v& @- X0 N7 s2 o, X
  1294. ;oci8.max_persistent = -1
    6 M+ }1 k$ x. j1 P8 K* v! X! x

  1295. ( s" c6 z# I0 B
  1296. ; Connection: The maximum number of seconds a process is allowed to- u) e* T) b0 w( {* J+ X2 @
  1297. ; maintain an idle persistent connection. Using -1 means idle% Q2 F3 C: |) H
  1298. ; persistent connections will be maintained forever.
    # ^2 S% O: \& Y' D
  1299. ; http://php.net/oci8.persistent-timeout4 X, [7 [# |0 p3 f& ^. N( O* n
  1300. ;oci8.persistent_timeout = -1+ W2 s3 d% W( ?
  1301. ) h; J' i3 a0 ?# l1 c
  1302. ; Connection: The number of seconds that must pass before issuing a8 V3 c& S+ G9 u# @$ t, ?5 r
  1303. ; ping during oci_pconnect() to check the connection validity. When
    . U- D  m# P7 k) s2 c2 I/ H
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables8 ]! J7 A1 [- }0 \
  1305. ; pings completely.' h$ ~6 Y7 k& n$ O4 @/ ], p& J' L
  1306. ; http://php.net/oci8.ping-interval
    + D+ n) `5 V  w1 Y/ m; ~. R  Z
  1307. ;oci8.ping_interval = 60: C' j* i+ t  u( x
  1308. ( u. p$ N1 U( Y* j& q
  1309. ; Connection: Set this to a user chosen connection class to be used
      o  u& @" y) {6 n5 H+ H
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    6 v  G8 s) g  S$ N* L
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to  j& f" Y* }, n% U( ]6 ~
  1312. ; the same string for all web servers running the same application,- ]- q! n6 k' M3 M. d
  1313. ; the database pool must be configured, and the connection string must1 M  F9 k/ O4 F2 m
  1314. ; specify to use a pooled server.
    & Z& T$ j. R# h/ M5 G+ Z% u# _
  1315. ;oci8.connection_class =. Y4 y4 I* x1 G. V

  1316. ) S/ w" Z0 j( |$ l1 V0 Z* H
  1317. ; High Availability: Using On lets PHP receive Fast Application* E) e" U, E% z1 V, n7 _1 q
  1318. ; Notification (FAN) events generated when a database node fails. The
    3 n7 d0 y3 c9 B1 M7 c3 \+ P/ Q, {6 W
  1319. ; database must also be configured to post FAN events.
    ( }6 \7 d0 A" v+ N/ y2 I
  1320. ;oci8.events = Off6 k; H6 b. c. A. a

  1321. 4 A% x2 g* L' f- w$ }
  1322. ; Tuning: This option enables statement caching, and specifies how
    ) _) R- b( Y# {3 u4 |& f) K# I
  1323. ; many statements to cache. Using 0 disables statement caching.
    / Z! |0 Q! P2 {% u2 |
  1324. ; http://php.net/oci8.statement-cache-size
    8 Z3 K2 g, v( T" |
  1325. ;oci8.statement_cache_size = 20- ?! ]3 U- h& W* {

  1326. ( B  [; Y5 \2 u- s
  1327. ; Tuning: Enables statement prefetching and sets the default number of4 S% J! R9 u) O- J: b7 S
  1328. ; rows that will be fetched automatically after statement execution.7 l/ l7 _" d# \
  1329. ; http://php.net/oci8.default-prefetch
      z6 M7 h0 C& v0 c
  1330. ;oci8.default_prefetch = 100
    $ U0 `$ c0 q. h$ X* y
  1331. ; ~* W. l6 V4 u$ Q  U+ s
  1332. ; Compatibility. Using On means oci_close() will not close7 s: x$ e( u. n. E- l' F  t4 c* h
  1333. ; oci_connect() and oci_new_connect() connections.
    3 |5 h0 ]0 T/ f9 z
  1334. ; http://php.net/oci8.old-oci-close-semantics
    ) R, I7 t: x& T) o4 O# @. ^
  1335. ;oci8.old_oci_close_semantics = Off
    & z- s) N+ o# [& e
  1336. $ Z8 p) K( |3 w0 |% I- |, d1 o
  1337. [PostgreSQL]
    7 A1 y3 Y1 [% W# H9 m- ]( Y
  1338. ; Allow or prevent persistent links.
    + P4 n4 a: a  N: l5 @& D9 v; X7 O
  1339. ; http://php.net/pgsql.allow-persistent" Y  @: _3 r/ ^8 m5 {7 J5 A
  1340. pgsql.allow_persistent = On
    4 I1 \" c. {  Z, ^* f% I: m
  1341. ( o: P3 a7 ]; W; D1 `
  1342. ; Detect broken persistent links always with pg_pconnect().
    ! h  c1 j( ]7 D8 Z* K- c) K$ f% T& O
  1343. ; Auto reset feature requires a little overheads.& W/ b' i* f4 s9 P% n+ l( m; P; k
  1344. ; http://php.net/pgsql.auto-reset-persistent
    . ?- Q# ?6 p9 q% z" n
  1345. pgsql.auto_reset_persistent = Off- a; c$ o' e% e# D9 O
  1346. . T3 D3 m/ g& X7 o# [
  1347. ; Maximum number of persistent links.  -1 means no limit.
    : g. @6 g0 ~" w. Q9 U* I
  1348. ; http://php.net/pgsql.max-persistent
    7 L3 X+ B2 O3 @; U; C% M# [
  1349. pgsql.max_persistent = -1
    " O2 b. m. }1 Q) e* A' U

  1350. + z8 ]% V/ A! L/ l
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.* H- o2 Q$ i- p
  1352. ; http://php.net/pgsql.max-links5 ?* Z; a! S7 P5 k0 c2 U, s7 H" |
  1353. pgsql.max_links = -1
    7 Z  w3 W9 ~+ V8 c

  1354. & V8 q# C6 N8 z7 p- p
  1355. ; Ignore PostgreSQL backends Notice message or not.# z# W5 ^8 a) J4 }+ O" S7 p3 R
  1356. ; Notice message logging require a little overheads.: T7 e6 h, e  B. ]$ q3 ]
  1357. ; http://php.net/pgsql.ignore-notice9 F& V7 ~6 a" r7 Q, x
  1358. pgsql.ignore_notice = 0
    9 h* A5 }/ p4 t+ w7 X$ i: Y' D

  1359. 0 a4 W8 ^/ i4 }9 k
  1360. ; Log PostgreSQL backends Notice message or not.0 `: |4 H+ O% T; q: X3 X; C
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.$ W: ]* b2 W) J) B0 f' {, C
  1362. ; http://php.net/pgsql.log-notice
    3 h8 Q' D7 f3 d+ n# q. |" }  ^# F
  1363. pgsql.log_notice = 0
    , G' U0 X: G* ]; G* T& X: _1 c
  1364. ! J+ d. W7 n1 u6 A' p1 X
  1365. [Sybase-CT]
    ! k' S- E8 b- [5 k9 v
  1366. ; Allow or prevent persistent links.
    ( N$ [* [, y5 v, \6 Z! \* U
  1367. ; http://php.net/sybct.allow-persistent
    % E5 A/ S+ P0 ?/ o8 H2 ~: i! o1 N
  1368. sybct.allow_persistent = On2 c+ q# b: W& ^, w' N) Z

  1369. + ~, q& A% g6 D; h. |. L3 O$ x# _
  1370. ; Maximum number of persistent links.  -1 means no limit.
    1 ~$ ?4 Y4 r, z+ L: |$ e1 W
  1371. ; http://php.net/sybct.max-persistent' ~  M( [) i1 l3 M( u
  1372. sybct.max_persistent = -12 ~6 W2 l2 {8 ^( x6 ?
  1373. 1 R" p+ u* B+ ^+ j0 c
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    8 C9 x+ ]8 v5 c8 \3 A+ A
  1375. ; http://php.net/sybct.max-links( l- B7 l6 f9 _7 H
  1376. sybct.max_links = -1) o. P6 u- @* F  j% n: A9 {5 f. x
  1377. , S( W- [, g% T. O
  1378. ; Minimum server message severity to display.. @+ }/ X' j3 D2 g' c
  1379. ; http://php.net/sybct.min-server-severity4 K( i' Z; W6 T& j6 j% L! K
  1380. sybct.min_server_severity = 10. ~# R& E* S# Y9 j# l8 _

  1381. . M2 ~* T: [, `9 C& T
  1382. ; Minimum client message severity to display.
      x7 d- [3 ?# D0 t5 P( P1 J
  1383. ; http://php.net/sybct.min-client-severity
    0 G4 @+ g0 E6 }5 i6 J  r' K3 ^
  1384. sybct.min_client_severity = 10
    & k. q2 j! g4 O; s5 T; h' ~
  1385. 5 g7 c$ B5 s  j% S! h
  1386. ; Set per-context timeout+ Q7 Z/ x7 O- D3 {
  1387. ; http://php.net/sybct.timeout
    ; H; N/ X$ Z2 N! M* T
  1388. ;sybct.timeout=! K" V* _5 ]  I% \& ]
  1389. ' ^8 b$ ], x  p! M- D! b
  1390. ;sybct.packet_size
    % ?7 n7 Z  j/ e. }$ X" L

  1391. 1 e# z7 D4 O' S' b  M) q  k
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.; u) o$ R" i/ e4 G( T
  1393. ; Default: one minute5 p" I3 O/ V5 I( G( m
  1394. ;sybct.login_timeout=
    ; @5 T8 n/ T- f7 A; w8 }
  1395. " u! D. Q" u. C  _( ]
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    . ^: v" E2 j3 H" G
  1397. ; Default: none) x# [+ `6 n$ G6 A- K
  1398. ;sybct.hostname=
    3 E4 _) G+ J( D/ C, @
  1399. , }  g) v5 p5 Y. z5 K
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever"." [3 P/ O, U+ }8 n8 t0 n
  1401. ; Default: 0; p1 f2 d5 ?! \; [, z$ d
  1402. ;sybct.deadlock_retry_count=
    # \! Y$ g8 k0 Y* ^
  1403. 6 _1 z0 s) s) z  k
  1404. [bcmath]# R. Z- {+ R. `6 ?
  1405. ; Number of decimal digits for all bcmath functions.
    2 _+ X0 L7 a# l6 `7 L3 g2 t. Z9 y
  1406. ; http://php.net/bcmath.scale
    $ g; \1 r$ H+ s7 {3 B' @
  1407. bcmath.scale = 0
    / j6 z2 _( M! k; I& J% ^

  1408. - ]' `9 l) ^5 R6 y3 N5 k5 Z
  1409. [browscap]! k7 E: R' b, Z# J) i: m
  1410. ; http://php.net/browscap
    : V* }$ s9 t3 O3 E6 k& ^% n
  1411. ;browscap = extra/browscap.ini
      t4 I. ^: |8 V4 K

  1412. ) ?$ {/ S( z- }( u0 D* N" X) n
  1413. [Session]
    $ x" U8 G/ \" ?, R% B
  1414. ; Handler used to store/retrieve data.- Z/ w9 Z$ M7 |* Z$ b2 p6 e
  1415. ; http://php.net/session.save-handler
    0 n  ^) P6 t. m) R
  1416. session.save_handler = files0 T: [; V: e$ ]( b

  1417. * `* {& b7 U, G8 h+ Q/ j9 M  X
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    " d: U; `; E$ d3 D. C6 J- V
  1419. ; where data files are stored. Note: Windows users have to change this! W2 @' j$ P! B" f& Q0 A, Y
  1420. ; variable in order to use PHP's session functions.
    , C! ?4 c2 ?2 k7 g0 x% I3 I3 }! K
  1421. ;
    ' n% Z- r1 i2 y
  1422. ; The path can be defined as:/ j+ A* @$ t! D
  1423. ;
    6 |2 _+ y$ [  b& I9 `* @
  1424. ;     session.save_path = "N;/path"4 J' x$ ~# s( X: R$ |
  1425. ;: j' F# X) ?$ B
  1426. ; where N is an integer.  Instead of storing all the session files in  p1 Z5 C3 d/ L) w6 q8 l
  1427. ; /path, what this will do is use subdirectories N-levels deep, and* s: R2 w+ j: O; L0 f/ H2 [/ r
  1428. ; store the session data in those directories.  This is useful if2 y" Z4 ^/ W& N! ~! g
  1429. ; your OS has problems with many files in one directory, and is
    . ?) Y( X; ~4 Y
  1430. ; a more efficient layout for servers that handle many sessions.
    ! M1 ^+ j& r' D& V8 q# g; `8 g' B
  1431. ;4 ^6 m. v) \% |% O' b, D, d
  1432. ; NOTE 1: PHP will not create this directory structure automatically.+ K0 \: k( i$ A3 Z, C9 H6 w, m
  1433. ;         You can use the script in the ext/session dir for that purpose., e7 x0 F3 I3 X) F. U
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    # S! b+ E; V' \  `; ~( R
  1435. ;         use subdirectories for session storage7 _& Q5 E! ~/ }/ [& Y7 F' Y$ I4 @
  1436. ;+ i# ^2 r; ^% J, X. y  R
  1437. ; The file storage module creates files using mode 600 by default.5 J* }" Y% X1 i8 Y/ x/ g9 M
  1438. ; You can change that by using3 D2 m- N/ Q0 m: S" l1 L9 ?
  1439. ;
    ) j( N8 h5 q; W. G, n# n
  1440. ;     session.save_path = "N;MODE;/path"
    2 ~' n8 u4 c* h- V3 N
  1441. ;
    7 F! @; D" I7 o/ b
  1442. ; where MODE is the octal representation of the mode. Note that this3 `  V1 X! V* s1 A$ }0 @
  1443. ; does not overwrite the process's umask.
    7 V5 L1 @, _* l: T  k. }
  1444. ; http://php.net/session.save-path( Z! h" v0 r) p* \) U
  1445. ;session.save_path = "/tmp"
    8 i% r& O: v) f7 M
  1446. # E/ h0 B) h( T
  1447. ; Whether to use strict session mode.9 T$ e1 ?0 e, L- X
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate3 R1 j! ?. e: M) u9 D2 }
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects  d- Q% M% X. I8 A
  1450. ; applications from session fixation via session adoption vulnerability. It is
      C% G& t8 `/ V& @1 T
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    " u  a$ R1 \4 w; ?0 X$ m, t
  1452. ; https://wiki.php.net/rfc/strict_sessions/ a" W0 i) [3 {$ Q( q3 |1 t
  1453. session.use_strict_mode = 01 i9 {5 K" S1 ?7 T" u$ n

  1454. : C7 p: e) }+ p) [2 C9 ]2 l
  1455. ; Whether to use cookies.& H( b- f) l4 ~8 m3 h0 h0 M2 P4 Z( W
  1456. ; http://php.net/session.use-cookies' k5 g1 R2 O  w+ m3 r; |/ G1 @5 ~
  1457. session.use_cookies = 1
    " e( j0 ^) h1 S/ |

  1458. 8 K( A! s2 G8 n. v6 z
  1459. ; http://php.net/session.cookie-secure4 x: Z* F" Y1 C% x- B
  1460. ;session.cookie_secure =" F# C: i0 {. j
  1461. 6 `2 H/ K" k& n/ v, K% w
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining; m9 n; |6 C4 C' g& i
  1463. ; the session id. We encourage this operation as it's very helpful in combating2 d0 E( T2 S+ p1 x( w: V
  1464. ; session hijacking when not specifying and managing your own session id. It is2 }1 c# R7 _% n* y( \
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.2 M" B" b' b) p# ]+ |7 ~
  1466. ; http://php.net/session.use-only-cookies
    ) w. ~4 R5 u' A1 w, i
  1467. session.use_only_cookies = 15 E; ~# f# z! [; G+ V% u  E1 J
  1468. 5 N8 z; B$ l" `, j2 R
  1469. ; Name of the session (used as cookie name).
    5 {; C7 U7 q, ], ^6 r
  1470. ; http://php.net/session.name
    + D9 }  X0 N& b0 u& J& Y$ V
  1471. session.name = PHPSESSID7 d2 `( F7 f+ I% u1 L

  1472. ! u: Z  {; a" v/ N
  1473. ; Initialize session on request startup.1 L* W3 z, q) O4 E
  1474. ; http://php.net/session.auto-start! Z* y! e' @  H7 A" C  |$ r
  1475. session.auto_start = 0
    6 q, B/ u+ v5 l% y' i9 _' d

  1476. ; j* }; }5 }& k9 Y+ a$ \
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.8 C- B  _4 G9 z+ ]" t
  1478. ; http://php.net/session.cookie-lifetime9 @+ ]$ Q" x  c0 _/ O8 a1 {3 |/ m
  1479. session.cookie_lifetime = 0
    ) w% H( h0 N) r9 g& p2 g
  1480. : l/ J4 u$ p4 ^
  1481. ; The path for which the cookie is valid.
    , k7 S" q, Z9 ?. Q$ W' {$ Y5 o
  1482. ; http://php.net/session.cookie-path
    3 ~& p2 C) {0 n" b
  1483. session.cookie_path = /) S: N0 J6 t; i4 ]

  1484. 7 `; Y' N; }* _9 o
  1485. ; The domain for which the cookie is valid.' s, I$ T! Z( r0 B
  1486. ; http://php.net/session.cookie-domain5 z% `8 U8 N4 }+ A/ d
  1487. session.cookie_domain =3 x5 K1 z. O  B: p' m

  1488. 0 u  d9 I' j) C) I
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.* F4 L: V( a' [# p# N
  1490. ; http://php.net/session.cookie-httponly
    , Q4 q3 W# \' K' v
  1491. session.cookie_httponly =
    6 g7 x* Y6 u0 _: P/ b/ V7 z
  1492. # S; l) j5 }  Z8 ?
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    8 U/ b4 I1 O" G  F  ?: J5 M
  1494. ; http://php.net/session.serialize-handler. x* ]9 D2 K( I, ^# X9 M" c" F
  1495. session.serialize_handler = php
    / u0 N4 x/ K' ~5 ~
  1496. ! A+ ^8 Y) \6 g+ j
  1497. ; Defines the probability that the 'garbage collection' process is started
    0 x8 k, Y' ~" j+ W, F2 O* S
  1498. ; on every session initialization. The probability is calculated by using
    , ?  \' f( z4 X9 v8 ^
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator+ `3 w7 q" u6 Q- [
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1( p  d9 T8 ^1 D, }; B
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance8 _0 ?  b+ `4 T. z
  1502. ; the gc will run on any give request.5 u0 H. |5 \' M' J7 x! Z
  1503. ; Default Value: 1: X, S3 ~( Z  Z) m: a/ P# o
  1504. ; Development Value: 1
    9 H+ w' R# {2 ]( f& F* y
  1505. ; Production Value: 1! I" S/ S3 v, x0 F7 e3 H% ~
  1506. ; http://php.net/session.gc-probability
      H% g  v/ @  j& o) _. u% \
  1507. session.gc_probability = 1
    6 K: c3 P3 r  Z

  1508. $ v& N5 D2 \$ G& J* a
  1509. ; Defines the probability that the 'garbage collection' process is started on every+ V" }7 E0 z9 r# N7 l6 \4 V+ q0 F
  1510. ; session initialization. The probability is calculated by using the following equation:
    - D$ r* _! s, m" V
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    - z! n# Q1 j" m+ j2 x
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1! y; D- R- I. Q' |2 Q
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    , G- G# z9 }0 V& c" `3 n& G
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    6 G$ }* I! c% a8 h9 Q/ z
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    7 }) |' \( p- g2 g' j8 q' o* `$ k- x
  1516. ; this is a more efficient approach.# t9 n4 N3 h2 ?4 t
  1517. ; Default Value: 100
    0 z5 j7 A6 X6 W+ ~. G' D
  1518. ; Development Value: 1000, ^! c7 X  n. b0 @$ n. X
  1519. ; Production Value: 1000% @+ a: A3 z, w
  1520. ; http://php.net/session.gc-divisor
    " h) e2 C' y  f' ^1 J2 W; Q
  1521. session.gc_divisor = 1000
    + {4 ~4 |) Q9 O5 K" z
  1522. 0 A! u5 j0 x' t- E
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and  Z* a  h1 [) O8 G
  1524. ; cleaned up by the garbage collection process.* x3 R$ O* {/ B7 c1 c7 ~
  1525. ; http://php.net/session.gc-maxlifetime) H4 i! Q8 x0 L! k2 m
  1526. session.gc_maxlifetime = 1440
    % @& \5 ?4 ]! ]. p! \3 {8 T

  1527. . `+ [; e4 f8 w  A, z/ C
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    + Y% ^# |/ h. t4 d4 V# k
  1529. ;       (see session.save_path above), then garbage collection does *not*
    & \6 R/ q2 x2 u
  1530. ;       happen automatically.  You will need to do your own garbage; t) ?* p8 G2 o  Z
  1531. ;       collection through a shell script, cron entry, or some other method.( r# B" z$ G3 {( l8 d( m* F: G" p
  1532. ;       For example, the following script would is the equivalent of
    6 H7 B* W1 U9 d6 @# E( H0 R
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    7 l0 b0 B# V) n( {& n
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm' F/ S# I  y2 z9 }4 K! t

  1535. 0 w9 z+ p* `. O& X( l
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    * [* n  p/ R4 C* w4 K
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    4 o+ T0 I- V/ L7 t: H
  1538. ; considered as valid.! l: P* A7 a8 A& U2 g- A
  1539. ; http://php.net/session.referer-check
      R6 l# |+ A$ U
  1540. session.referer_check =$ f( U5 _- c2 H, T% k

  1541. - h1 [2 @+ [$ C" a
  1542. ; How many bytes to read from the file.. r/ U. s0 j0 C
  1543. ; http://php.net/session.entropy-length+ S: T' e/ J' x' F: T
  1544. ;session.entropy_length = 32
    2 q  S. I% L) a, Y6 i7 u$ ^' b

  1545.   C) F' t+ V9 j* N0 K* R. c/ r
  1546. ; Specified here to create the session id.
    ; `) c- E/ m: s
  1547. ; http://php.net/session.entropy-file8 m& a) q9 d+ q% M3 F
  1548. ; Defaults to /dev/urandom
    7 E/ K  O$ l5 X9 Y" O7 a) v, b8 k
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom! T2 O: f7 d. U1 e4 o2 i8 @  v
  1550. ; If neither are found at compile time, the default is no entropy file.* k2 l0 d, P& d
  1551. ; On windows, setting the entropy_length setting will activate the
    0 ^5 k& z! ?4 O4 n  V$ s- K
  1552. ; Windows random source (using the CryptoAPI)0 {* ^! J. F1 y6 K, r0 a
  1553. ;session.entropy_file = /dev/urandom
    & A0 O& i0 e. W  ]1 g: M8 d+ p
  1554. # I( `5 s  x- e$ ^% U" ~* f
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    . y3 Y: p: v, E; ?3 S/ @
  1556. ; or leave this empty to avoid sending anti-caching headers.
    2 l, `+ U- K" T$ }( k
  1557. ; http://php.net/session.cache-limiter
    7 x) i6 J" L$ G9 v7 ]
  1558. session.cache_limiter = nocache7 M  A* \5 ^* C+ M0 v

  1559. ( |5 [, |% i- _" Z: q
  1560. ; Document expires after n minutes.6 Y7 n+ E; u) d
  1561. ; http://php.net/session.cache-expire
    5 X+ `' L0 v8 H) p8 K1 ^( k
  1562. session.cache_expire = 180
    ( V2 |  T$ |  Q
  1563.   c7 @0 M: ?. t$ B  D8 k
  1564. ; trans sid support is disabled by default.
    9 W2 [- J- T3 c0 f3 `' {8 s9 U
  1565. ; Use of trans sid may risk your users' security.
    9 R, Q+ s! M* y4 Z. ]8 C% \( a  n
  1566. ; Use this option with caution.
    $ a5 i# l+ j7 g/ P& U
  1567. ; - User may send URL contains active session ID$ U2 B. ?, u7 ~+ c6 v  A, }& f
  1568. ;   to other person via. email/irc/etc.( N* Y. p  A8 Z* f
  1569. ; - URL that contains active session ID may be stored
    ( i" r# U) Y- H" M  l$ [2 b7 k( H
  1570. ;   in publicly accessible computer.1 }( k1 p# ^  r  q+ y6 q
  1571. ; - User may access your site with the same session ID2 T3 H4 ^) U+ h) d# s8 a$ i
  1572. ;   always using URL stored in browser's history or bookmarks.
    2 M4 \, z& M* t" y, l! U
  1573. ; http://php.net/session.use-trans-sid. g- W. K7 [8 [' b! X
  1574. session.use_trans_sid = 0, b" ], c) Q( K# x7 N( F0 F
  1575. : t* q& H5 N7 d/ x1 S0 B3 F& Q3 ~
  1576. ; Select a hash function for use in generating session ids." f6 ^* L( c% O  s* C( f4 L
  1577. ; Possible Values& X# ^5 L& A5 X
  1578. ;   0  (MD5 128 bits)9 S* J% o& ^/ c5 g) r/ b4 M% U
  1579. ;   1  (SHA-1 160 bits)' D) Y0 d0 N; D  L9 K  {
  1580. ; This option may also be set to the name of any hash function supported by0 X1 y) [- i! k
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    " w% }8 N  g  G+ s
  1582. ; function.6 [, J4 z7 \6 @7 H5 ?
  1583. ; http://php.net/session.hash-function
    ) q/ [5 t% N6 n' T6 Y3 y6 ?7 ]/ z0 o' d
  1584. session.hash_function = 07 u" s4 w+ B, e5 M2 z/ L% G; y# Z  \

  1585. 7 x8 O+ V; K  V  H5 }
  1586. ; Define how many bits are stored in each character when converting- ~! N( T: m( m% {- B8 |
  1587. ; the binary hash data to something readable.- O% J+ ^* b9 j8 `9 x) o
  1588. ; Possible values:
    # }2 Q) f2 `% \  `& B5 d0 N
  1589. ;   4  (4 bits: 0-9, a-f)+ D6 p' a! [6 c( l: `
  1590. ;   5  (5 bits: 0-9, a-v)1 b! ]5 G' p  D% ~8 `6 g7 A
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    2 b- T, I/ M  q3 n
  1592. ; Default Value: 4
    0 D: C' a/ P+ a. h; P2 c. A
  1593. ; Development Value: 5
    + f/ n8 s6 c) N$ P  G
  1594. ; Production Value: 5& H- A; O# m8 }) q# }1 @% A
  1595. ; http://php.net/session.hash-bits-per-character
    . ~. \" w: M& E/ \* E8 p. G
  1596. session.hash_bits_per_character = 5
    1 q" x  E* q& v. A$ \* W

  1597. ( \+ k. t6 `2 l, h4 D
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    6 v7 }( r9 s5 K2 ^# o- m! M. J
  1599. ; form/fieldset are special; if you include them here, the rewriter will3 j0 u: T9 i8 P8 R6 ^* V6 }8 a3 ^, S
  1600. ; add a hidden <input> field with the info which is otherwise appended& t& i$ d% x% a9 [+ R2 z  _
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    + m. g  k1 T$ w
  1602. ; Note that all valid entries require a "=", even if no value follows.% F# v: {+ O& N3 b  O* H. b# Q1 G' X( C
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="# g$ r( v, o* c
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    * ]3 M4 j- V0 U) t+ U
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"4 [0 l7 `2 T/ I3 ?! ]1 u
  1606. ; http://php.net/url-rewriter.tags! V" y$ R! s$ s
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry") Y/ y4 N& ^4 k4 u" e' h

  1608. % |- Y( l# e) J5 J6 r2 j" H9 C
  1609. ; Enable upload progress tracking in $_SESSION* q- k+ q3 ?- k2 t6 w, j1 O
  1610. ; Default Value: On
    7 P6 I$ U6 T5 D1 p
  1611. ; Development Value: On
    ; C, E/ [  @& b
  1612. ; Production Value: On2 p) d% S2 Y+ z* j
  1613. ; http://php.net/session.upload-progress.enabled
    - y" D% K/ S$ s/ T2 W3 X  `
  1614. ;session.upload_progress.enabled = On
    - ?2 e- Y( d2 n! ]2 [; N2 o

  1615. $ C* |5 _' \" \. o& g( Q
  1616. ; Cleanup the progress information as soon as all POST data has been read
    3 x+ [5 I, R2 n+ h4 ^) h
  1617. ; (i.e. upload completed)." i* C, P0 A% T+ h
  1618. ; Default Value: On
    ) K3 Y6 w! f( b+ m4 o
  1619. ; Development Value: On& U# K' Q7 O1 Y8 k6 g) q
  1620. ; Production Value: On
    & {9 n* W8 v7 o7 s* O, x
  1621. ; http://php.net/session.upload-progress.cleanup
    , X/ \& x( j  ]( A8 c
  1622. ;session.upload_progress.cleanup = On$ f& k8 @6 X3 B- g1 i
  1623. # W5 \2 g8 O' U3 m" M/ G. Q0 V
  1624. ; A prefix used for the upload progress key in $_SESSION+ r. L2 Y/ b; P# D
  1625. ; Default Value: "upload_progress_"5 W8 E* t! b, P, v/ E
  1626. ; Development Value: "upload_progress_"% z- }+ c, m0 ~: E
  1627. ; Production Value: "upload_progress_"
    ( ?. T0 Y% P$ H! [' ~  E  |$ ~+ [
  1628. ; http://php.net/session.upload-progress.prefix4 _" f0 s2 u5 t' C7 Z: H# r/ N
  1629. ;session.upload_progress.prefix = "upload_progress_"
    6 I) Q2 h7 I: t  M

  1630. 1 `( S0 V4 K+ o) b9 H! h4 G1 }
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    % M9 G9 Y; I2 j  j2 ?5 p; \
  1632. ; containing the upload progress information0 b5 t, O9 s% d0 j+ V
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    1 S& [# a' E+ @6 i% G
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    3 M" n6 V& W. u  [
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"- G/ u- i$ {$ e- p
  1636. ; http://php.net/session.upload-progress.name
    - q6 J8 q# H$ n; C; N
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"* t) w% @# `' g( ^6 c
  1638. ; ^/ c. j9 s6 |  @4 Z
  1639. ; How frequently the upload progress should be updated.5 `! [6 I$ k- z  w8 X' n
  1640. ; Given either in percentages (per-file), or in bytes
    - B" r4 N* C7 r7 c  j6 N
  1641. ; Default Value: "1%"
    * V6 i. [/ m4 T. H3 k8 L+ F$ s
  1642. ; Development Value: "1%"& N- t' ?8 M- v2 @6 ?3 }
  1643. ; Production Value: "1%"6 f) }! H9 |# w. A; w/ f  P) q
  1644. ; http://php.net/session.upload-progress.freq! k8 `* W9 _3 K) N- x7 b# z
  1645. ;session.upload_progress.freq =  "1%"% F9 H; T0 Q+ Q  C7 c

  1646. / {5 R6 Y4 i7 L: V8 j
  1647. ; The minimum delay between updates, in seconds
    2 q: y6 B' N" w3 g8 g" n
  1648. ; Default Value: 1
    7 K: c5 O' s! E- N; o1 g6 {
  1649. ; Development Value: 1
    4 i% B$ y, j4 p7 P2 L
  1650. ; Production Value: 1
    7 t5 O1 p2 Q5 S. D" T- l& {
  1651. ; http://php.net/session.upload-progress.min-freq
    $ J& B# z. b! b: i* H/ \/ `$ a1 C8 O, z! D
  1652. ;session.upload_progress.min_freq = "1"
    ! K7 I/ s, G9 f) h' ~; T
  1653. / j; t# A- Z9 Z) P( o
  1654. [MSSQL]- A4 c1 C  b. _% Q+ j: W3 G* ]8 L
  1655. ; Allow or prevent persistent links.( i3 @% E8 x' F
  1656. mssql.allow_persistent = On
    : g% C& `0 c9 w$ Z! T& ^2 q
  1657. ( O( L0 |$ `6 l, }' H: x% Q, q- H
  1658. ; Maximum number of persistent links.  -1 means no limit.
    / q& i* w2 @( a2 V
  1659. mssql.max_persistent = -1, L$ r4 B4 q; @' S0 d
  1660. 3 d: G' x# f! W3 q5 f  L
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    * |  M# w* N. @, d5 s6 ?$ h1 Z# j
  1662. mssql.max_links = -12 O5 i# ^9 t' h

  1663. 2 x9 t: U- g4 k$ {, P
  1664. ; Minimum error severity to display.
    2 `, r7 }/ z2 S4 G, |0 O" y
  1665. mssql.min_error_severity = 10: s4 n, G: {. c* ^% K

  1666.   L$ m) ~5 r) s" N* a3 Y
  1667. ; Minimum message severity to display.
    2 ]- m, T: u2 g% g# m  [
  1668. mssql.min_message_severity = 10. o7 v' l$ A+ e0 ]9 L0 k  }& N9 Z

  1669. # R$ y8 ~1 l# b5 [7 H9 z5 f
  1670. ; Compatibility mode with old versions of PHP 3.0.
    0 X  R5 ~, E: S* }3 M
  1671. mssql.compatibility_mode = Off
    * g: p8 v. B( g* k& T: x8 P) F
  1672. . O) k3 V8 S- c: {. I( o+ E
  1673. ; Connect timeout" B: Z8 D* q+ x9 O- h
  1674. ;mssql.connect_timeout = 5
    : `6 b  i) ~9 |% n$ X; w* y

  1675. 9 U7 H7 U: P2 O4 T4 y" ?, U
  1676. ; Query timeout
    " w7 ~" G# s0 I7 Q' f* [( e7 C
  1677. ;mssql.timeout = 60, w& M! p9 T' [2 c

  1678. " M9 k) A9 q0 s* r
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    ; A2 u' X/ e+ k  t6 Z) V) {1 K
  1680. ;mssql.textlimit = 4096# s& G8 C4 o' n$ ]( a8 b5 P& j
  1681. . L. U. C1 ]  A# }* U, X
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    / [7 k; n7 o% q3 \: C
  1683. ;mssql.textsize = 4096
    2 V) Q2 j9 v) I% k2 d
  1684.   X! F1 F' m  L" n8 n  ?
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    7 G4 v, |( n0 i! A/ k2 b
  1686. ;mssql.batchsize = 0: t1 {$ ^# E" e

  1687. ; {. V, |+ A. E7 }3 U4 p5 f
  1688. ; Specify how datetime and datetim4 columns are returned
    * i; q9 M8 B2 r1 W" T
  1689. ; On => Returns data converted to SQL server settings
    / }  z6 Y6 M6 O; u& x$ V4 K) g
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    9 J! x5 [* Z( a; R* o7 Q
  1691. ;mssql.datetimeconvert = On
    ( ]8 X( [% Y0 P4 I

  1692. 5 _  v% r+ C7 i2 [! v1 t
  1693. ; Use NT authentication when connecting to the server
    / P/ R7 h0 x; k+ M
  1694. mssql.secure_connection = Off% l- n0 P2 \" j& M$ c
  1695. 9 X7 r! m( a7 z9 K2 K
  1696. ; Specify max number of processes. -1 = library default, s1 N) m7 I; i  H# n0 z
  1697. ; msdlib defaults to 25, K; {( n4 ?; ?
  1698. ; FreeTDS defaults to 40960 Y, T8 t0 U: e; v* R# g4 ^3 u) l
  1699. ;mssql.max_procs = -1
    4 d& ?1 ^# u7 b# O
  1700. - O' N/ e* F/ G# z( [1 a  w
  1701. ; Specify client character set.
    6 h" K, J+ s( U; T/ a
  1702. ; If empty or not set the client charset from freetds.conf is used- ^9 w2 c, a( }
  1703. ; This is only used when compiled with FreeTDS3 m/ v' s5 w) Y+ L3 y7 I
  1704. ;mssql.charset = "ISO-8859-1"
    , M# Y9 G6 A) O: h2 g

  1705. - S; b8 M4 A3 E+ m+ Z" n9 t! ~9 C: C
  1706. [Assertion]
    ' T) Y1 A3 G) b% x  E+ y
  1707. ; Assert(expr); active by default.* s1 y5 J) |( W9 ]0 d
  1708. ; http://php.net/assert.active: C0 K4 w" M3 C- x- X. i. l1 w
  1709. ;assert.active = On( E1 N% I  B; m( M$ S

  1710. 8 o) V  f. w6 V2 e- c
  1711. ; Issue a PHP warning for each failed assertion.9 c3 C2 a: u2 o7 y
  1712. ; http://php.net/assert.warning
    3 b7 u: r/ @  Z3 U+ y  e/ C/ f7 `3 q
  1713. ;assert.warning = On. X  R3 [3 M2 j

  1714. 5 l% Z" K4 `, u" O$ X
  1715. ; Don't bail out by default.! T8 x: K6 M8 ]  j2 V
  1716. ; http://php.net/assert.bail3 p/ o" Q, a& _' }0 _3 Q& c8 [; g
  1717. ;assert.bail = Off
    ; E6 w( e& D7 |' ]# M$ N6 [+ ]4 ?
  1718. . i! {9 x; Z! W0 l+ @
  1719. ; User-function to be called if an assertion fails.
    6 D+ H/ o7 Q. @8 a0 S2 R/ Y
  1720. ; http://php.net/assert.callback
    0 U1 D8 j5 S6 c( T8 O% _; q# S: Z
  1721. ;assert.callback = 0* ?4 F$ [5 V- W7 b3 `
  1722. , A$ `* x3 n0 x
  1723. ; Eval the expression with current error_reporting().  Set to true if you want" }5 |% S! l* j% `
  1724. ; error_reporting(0) around the eval().
      Z( A6 ?! g( w3 I. k
  1725. ; http://php.net/assert.quiet-eval
    2 F. b& I/ C; y  A" w* ?! P3 L2 G
  1726. ;assert.quiet_eval = 0
    % ^9 @2 G  K% ~! b5 S

  1727. 2 D" W# e2 d% S6 ]/ D# u4 C; ?
  1728. [COM]
    % A' w* y6 s8 \
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs! F) A5 m( K$ r3 n0 R/ c1 H
  1730. ; http://php.net/com.typelib-file$ ~0 e  ^- R+ q$ \
  1731. ;com.typelib_file =7 s6 n0 X: b# k

  1732. ; U5 ^1 K7 K$ s: `2 p( ?. s
  1733. ; allow Distributed-COM calls
    0 H6 f, l! o" I1 ^# E
  1734. ; http://php.net/com.allow-dcom- u* d% t! I' t" m0 M2 S, Z
  1735. ;com.allow_dcom = true
    ! [- j! b, q# U8 V  y" N

  1736. 9 {2 E  d5 {3 u& a: ^* }
  1737. ; autoregister constants of a components typlib on com_load()# V+ }/ m0 ?% e2 a
  1738. ; http://php.net/com.autoregister-typelib- ~3 C6 y& [" |5 j- F( S
  1739. ;com.autoregister_typelib = true
    0 [3 m7 [, B, J' L
  1740. % J1 E3 X" N+ L9 _: k, |! I
  1741. ; register constants casesensitive
    " ?  u) n: }+ r4 R
  1742. ; http://php.net/com.autoregister-casesensitive( a, h8 P' E; o8 F$ ^
  1743. ;com.autoregister_casesensitive = false+ D; K" c" o9 e! J9 `+ [/ e

  1744. 2 ]) {5 n% L* f- L
  1745. ; show warnings on duplicate constant registrations6 ]6 q$ K- [" k' o7 i; q- h
  1746. ; http://php.net/com.autoregister-verbose. g& q0 ^( Z0 _; c- O; X  O5 W8 b# h8 K
  1747. ;com.autoregister_verbose = true  c  u: r) j; F' g0 p
  1748. ! _$ C1 u+ k9 a" c( q* c
  1749. ; The default character set code-page to use when passing strings to and from COM objects.8 b0 t/ {5 w4 b# ^5 I4 {1 {
  1750. ; Default: system ANSI code page
    : T9 I/ ^/ O; v- o/ Z& P9 x
  1751. ;com.code_page=7 P, m, d- ?# G' S1 P9 X+ f
  1752. $ I. ~* h" _) ?, v
  1753. [mbstring]' P5 X( E" y' s5 D
  1754. ; language for internal character representation.' g1 |; B9 W+ E
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    4 g7 Q8 q; c2 \! _' b# U
  1756. ; http://php.net/mbstring.language
    $ b9 Q( X6 r, ^8 }
  1757. ;mbstring.language = Japanese+ s; o- @! v7 S: S

  1758. $ E1 [0 h$ K# \) ]7 E" c1 u* r" @. D
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    * L% j. D7 m& u. w) I
  1760. ; internal/script encoding.
    + v4 `5 r  H. m! f2 w( J
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    * m; @5 W) g# `# z) J2 T
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.9 m$ H6 a; K1 K( P- {1 ?" N# J' x
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding/ v+ {* e( ^' ^3 o* A5 W
  1764. ;mbstring.internal_encoding =
    : U6 t2 k  U( j$ [. l
  1765. * p3 [) m7 ^  {. _$ l) ^
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.3 R- {2 h1 p; _# q% J
  1767. ; http input encoding.* E5 k! X% Q3 b2 h) F1 w
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    , n; B1 |0 b6 R$ N+ A  }
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.  v+ g& A7 G: }6 k
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    $ }) G$ ]+ \( \1 g8 i, E
  1771. ; http://php.net/mbstring.http-input( `. h2 ?& T( O) ], ~
  1772. ;mbstring.http_input =1 B2 A, v: y: T

  1773. # a8 U  D7 V% V! P( S# l: ~/ K6 `& s
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    6 k: m) [* i- y+ Z
  1775. ; http output encoding.
    " u- q4 W' G2 `
  1776. ; mb_output_handler must be registered as output buffer to function.
    & h( K0 j- X, M! i/ ?
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    ) F. \4 s2 k# T# f- ]3 @  W2 v! r
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output4 }9 y+ F- z0 v7 J" W
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    6 k9 Q, x, O1 X; M
  1780. ; otherwise output encoding conversion cannot be performed.
    " f+ H2 O: V- H5 r6 V( m
  1781. ; http://php.net/mbstring.http-output* O$ e' `5 ?/ |6 z5 W, p
  1782. ;mbstring.http_output =1 I* E- L0 e) K2 G3 H

  1783. 6 e- V' _2 I, Z/ ~
  1784. ; enable automatic encoding translation according to
    " x' d  V* e% |
  1785. ; mbstring.internal_encoding setting. Input chars are
    7 w  S! o# y) Z
  1786. ; converted to internal encoding by setting this to On.
    5 ^" O5 s* z1 |: y9 f* [" u; }
  1787. ; Note: Do _not_ use automatic encoding translation for5 ^  G2 ?& H# ^
  1788. ;       portable libs/applications.0 I9 ?4 P( F, k7 L
  1789. ; http://php.net/mbstring.encoding-translation( f( K% z. H& S0 u3 W: |
  1790. ;mbstring.encoding_translation = Off
    ; d$ Z' Y0 T) ~' c& x9 |

  1791. 8 {5 `8 i! h0 ^. O
  1792. ; automatic encoding detection order.4 M' G) c4 M9 m4 ?
  1793. ; "auto" detect order is changed according to mbstring.language
    5 F$ J- E2 v- e
  1794. ; http://php.net/mbstring.detect-order" d: x4 f: ^2 C
  1795. ;mbstring.detect_order = auto
    : Q) f+ C  X( b0 u( V

  1796. 1 e* D6 s: U; y# w3 c
  1797. ; substitute_character used when character cannot be converted- x. L0 w0 T! q6 a
  1798. ; one from another& A5 A3 \5 i4 H/ s' d. j0 o% n
  1799. ; http://php.net/mbstring.substitute-character
    * M' Z9 F8 s! J' B( @% y
  1800. ;mbstring.substitute_character = none
    1 c7 v. {& m# P

  1801. / f6 ~0 h( P( W4 I; _
  1802. ; overload(replace) single byte functions by mbstring functions.
    ' @( y; k/ i0 v
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),4 r! K0 m- \; ^+ p8 x8 ~! f  S- e
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    , r; u/ W% V2 }
  1805. ; For example, 7 for overload everything.
    5 w. `4 k+ m  f& z% M
  1806. ; 0: No overload
    3 C& i# E# t; t8 p. _" ?) G
  1807. ; 1: Overload mail() function7 P" f1 r0 Z6 h2 A  p4 n1 m9 u
  1808. ; 2: Overload str*() functions
    * M/ E5 P6 D8 V
  1809. ; 4: Overload ereg*() functions/ E5 s- p8 E; P) z: x% b9 J
  1810. ; http://php.net/mbstring.func-overload
    ' ?7 I" K* w2 E9 ?# _" G% l* Z
  1811. ;mbstring.func_overload = 0: Z$ |) s& k0 `
  1812. # B8 t2 J) M+ K" B; g
  1813. ; enable strict encoding detection.
    : i( j0 H1 h, y3 I$ Y0 h! A1 c( ~/ q
  1814. ; Default: Off
    : J' A$ Q. L7 |# Q1 X2 W4 M
  1815. ;mbstring.strict_detection = On& E( i+ y( h) ^/ ~8 K

  1816. # Y% ?* ]  r5 M3 a- }
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()+ y9 v! I8 J+ j# X; t8 k0 N
  1818. ; is activated.
    ; W+ ]7 @. o# m* ]. h6 e. Q8 s
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    8 @! Q) y* r/ S: r9 m
  1820. ;mbstring.http_output_conv_mimetype=
    4 m+ f: k  y9 ]9 @) |1 ^7 G2 v

  1821. ! _6 i8 h$ n7 O! F
  1822. [gd]
    $ q( U6 `% N9 A, M( K
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    " E2 P# a7 |9 q5 A
  1824. ; a gd image. The warning will then be displayed as notices
    4 D) c9 S  Z$ t. a
  1825. ; disabled by default
    / G% ~9 I) W+ B( K2 l/ u
  1826. ; http://php.net/gd.jpeg-ignore-warning6 a( w5 u. D+ W; |
  1827. ;gd.jpeg_ignore_warning = 0& ]. |* K3 h- ]  @7 r
  1828. # U# Y& }6 R$ B. d/ r& v# q' `
  1829. [exif]2 X2 ^2 Q' \2 M  d
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    ) S* F6 j+ K! P3 h
  1831. ; With mbstring support this will automatically be converted into the encoding+ L; Y4 O1 v0 a, L
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    ( M) ?: C8 r9 M$ r0 G0 y) s/ V
  1833. ; is used. For the decode settings you can distinguish between motorola and  w, M! _0 c/ q5 Z! y
  1834. ; intel byte order. A decode setting cannot be empty.# h. y% }' O3 s& f/ V$ y
  1835. ; http://php.net/exif.encode-unicode
    * t$ G5 R; i$ i9 {
  1836. ;exif.encode_unicode = ISO-8859-151 ~# {2 L) z/ q) l/ x% X* v

  1837. 0 b* J' ^7 p6 y- y$ [
  1838. ; http://php.net/exif.decode-unicode-motorola$ d: [# C6 N! |
  1839. ;exif.decode_unicode_motorola = UCS-2BE7 J4 G9 c5 T6 W& R5 I+ m
  1840. & ^/ q( O$ i4 k+ V/ ^. R6 i. P
  1841. ; http://php.net/exif.decode-unicode-intel
    2 H9 g' |0 N: P* {" X
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    ) ?$ b: d. h, m1 S# q4 J( }

  1843. 8 h9 p3 h8 b7 o  q
  1844. ; http://php.net/exif.encode-jis
    8 o- X/ V8 n  ~$ Y' P! V# S
  1845. ;exif.encode_jis =, |, N2 a/ j" ?1 I3 I& D3 \+ I

  1846. , p1 A& T4 o' P  D, R
  1847. ; http://php.net/exif.decode-jis-motorola' y1 P2 @8 N+ S/ i' B- E
  1848. ;exif.decode_jis_motorola = JIS) k. H- l$ z8 E" J" s% L6 t3 ?

  1849. 6 s8 B1 ?" m3 K: x  U5 q
  1850. ; http://php.net/exif.decode-jis-intel
    ' c& h: P! J9 @, \" p& j
  1851. ;exif.decode_jis_intel    = JIS8 ]8 l4 Y& |' C; }
  1852. - ~  l4 H" X+ g: w
  1853. [Tidy]
    ( @. T5 ^8 {3 Z' j5 r
  1854. ; The path to a default tidy configuration file to use when using tidy
    % }* j# \# g3 L( I7 n6 s, _' v
  1855. ; http://php.net/tidy.default-config
    # e8 O7 L5 M1 K0 D
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    2 q! k% m- _# B% x( B! h9 L4 v4 B

  1857. - q& W+ E3 g& N) `8 d! j  D
  1858. ; Should tidy clean and repair output automatically?! C& I) c; q# z+ |9 ?  Q; e
  1859. ; WARNING: Do not use this option if you are generating non-html content
    7 [- Z1 M5 I+ K+ D. L1 [! q
  1860. ; such as dynamic images
    0 Z: C0 K+ K8 Q! r# M0 c2 N1 ~* B
  1861. ; http://php.net/tidy.clean-output( ]1 B6 A- K' g: m" d' X& Y$ k
  1862. tidy.clean_output = Off
    : ^/ i8 R/ x4 g

  1863. , S& L* g, {6 p
  1864. [soap]
    & f% q* `0 C' d% {
  1865. ; Enables or disables WSDL caching feature.2 I! @9 A4 t5 P# @+ V1 x
  1866. ; http://php.net/soap.wsdl-cache-enabled
    ; F8 H4 a6 |: O  h
  1867. soap.wsdl_cache_enabled=1
    7 w6 \  Q  S5 X6 M

  1868. 7 v7 ]8 Z) m7 Y; A
  1869. ; Sets the directory name where SOAP extension will put cache files.7 h$ i/ ]1 F0 Z; `+ B
  1870. ; http://php.net/soap.wsdl-cache-dir
    : \" x8 w3 U0 K- ]1 v) H5 n, ?+ F
  1871. soap.wsdl_cache_dir="/tmp"
    7 M* e( t" I- G

  1872. ( Z& P+ C! b; M, @3 X
  1873. ; (time to live) Sets the number of second while cached file will be used1 z' j3 u6 s$ L6 k' Y4 }- {: z
  1874. ; instead of original one.! K  g# `5 g! d! V: D% Y! @* c. Y
  1875. ; http://php.net/soap.wsdl-cache-ttl
    1 U1 z: h* x* n+ I6 q3 c
  1876. soap.wsdl_cache_ttl=86400- r: l: Q" }3 l& v' {
  1877. 2 H% r) C; A. L! h& Z
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)/ Q( B9 g4 Y7 F! R& H* E
  1879. soap.wsdl_cache_limit = 5
    " Y/ E) F) S4 W" j# o6 S

  1880. ' q- I% n0 @$ {8 o1 w- e9 H
  1881. [sysvshm]
    - J0 }5 _  r# B* D4 c; H3 e; o
  1882. ; A default size of the shared memory segment2 L& Z( `# ~) I% }4 v4 R
  1883. ;sysvshm.init_mem = 10000
    ( R. R. t& c( c
  1884. + T% r# @8 k: c4 ]
  1885. [ldap]
    4 `7 V/ X* x$ S: x9 `7 B' c
  1886. ; Sets the maximum number of open links or -1 for unlimited.5 x" M8 z, a% s! Q: O
  1887. ldap.max_links = -1* A. \* p( q1 P7 f" l) Y
  1888. 8 V/ `5 U. V+ j# j4 y
  1889. [mcrypt]1 J0 a4 y9 A0 |# O, i5 Q
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open6 E) r* B$ l6 t1 H* h2 Z

  1891. * t* \+ Y7 J8 Q2 k
  1892. ; Directory where to load mcrypt algorithms1 H; Z; D7 R- A/ ?0 l
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    3 I, O; k/ F1 P
  1894. ;mcrypt.algorithms_dir=9 Y& q. M' A! k% r, f
  1895. : s- K1 b0 N  \) y( N
  1896. ; Directory where to load mcrypt modes2 t& {! }( O3 c" E9 ]- f) t' Q
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)1 o" ?& g- z- Y1 q% d
  1898. ;mcrypt.modes_dir=- Z8 c  E% j6 c( X
  1899. + u* G5 x$ A1 J2 r
  1900. [dba]
    / q& i. z* M( M% z& G
  1901. ;dba.default_handler=$ t; i! K0 ~& `. G* w: Y) w6 y9 @
  1902. - V# s: k4 [& b3 X, H' P$ s( V
  1903. [opcache]% I' v8 N) e7 M* d1 P
  1904. ; Determines if Zend OPCache is enabled( c! @; j" Y- y6 X4 F4 }, h
  1905. ;opcache.enable=0
    ' l) j$ g4 Q, ~$ h, G
  1906. & B9 c8 a7 j4 F7 h" j
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    * q; \1 ^$ G/ s8 A& w
  1908. ;opcache.enable_cli=0
    ' S6 m! R; ?0 W5 S) O8 [

  1909. 9 J8 ]: C! S/ L8 O
  1910. ; The OPcache shared memory storage size.
    ' o* v4 O. n# q8 i+ ]1 }
  1911. ;opcache.memory_consumption=64
    6 L2 }% g/ h. q# v& f

  1912.   ]' t# L" u5 j/ n. }5 V
  1913. ; The amount of memory for interned strings in Mbytes.
    ! Z3 b. [! s7 H) {
  1914. ;opcache.interned_strings_buffer=4' R8 R* i" G8 a% x2 M9 o) Q6 Q9 F
  1915. / f$ e2 y( t( {
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    + n) r; X, V0 Y% w# R  i+ C. q7 ?
  1917. ; Only numbers between 200 and 100000 are allowed.  i7 v7 r# O8 q7 N; o
  1918. ;opcache.max_accelerated_files=20005 |" j; P2 B5 i( U

  1919. 6 S8 M" n, M( W" m
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.2 A$ j- G& O7 q8 j
  1921. ;opcache.max_wasted_percentage=5
    - ~! U  T; T6 [
  1922. # f$ V: d, i0 B! B( s2 R4 q
  1923. ; When this directive is enabled, the OPcache appends the current working' j0 ?5 i. J' l8 P/ B- w
  1924. ; directory to the script key, thus eliminating possible collisions between. \7 d% P& {+ `/ x: |
  1925. ; files with the same name (basename). Disabling the directive improves
    8 T8 I9 x2 q' v! G4 m
  1926. ; performance, but may break existing applications.
    , v' w$ u' Y7 p
  1927. ;opcache.use_cwd=1
    ; [3 k' G1 p# v0 ]- [
  1928. + O. _. a$ w! a8 P& {
  1929. ; When disabled, you must reset the OPcache manually or restart the/ X) O7 r2 E% T% m% u* M3 u3 @
  1930. ; webserver for changes to the filesystem to take effect.1 ~( q( @/ v; B5 S$ r3 I! ^
  1931. ;opcache.validate_timestamps=1
    % Z0 l6 p6 v9 v5 k

  1932. : @. A: D: l" D, K3 T
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    - x5 f& O! N8 Y$ Q/ i
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    6 k: T# F4 m7 B( G/ O8 |0 k5 D
  1935. ; once per request. "0" means always validate)
    % B; F/ W9 a/ `/ n3 B
  1936. ;opcache.revalidate_freq=2
    ! U. e3 g; S# G$ y2 I) F5 ~
  1937. ; w/ G: p- o; x; B
  1938. ; Enables or disables file search in include_path optimization
    8 U1 N" `/ ]7 F; k& E& v
  1939. ;opcache.revalidate_path=04 p4 O4 L8 I$ n* ]
  1940. : y, M# c" E1 T$ I) x; b) O, W
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    # n6 r, M; E/ R" {% c
  1942. ; size of the optimized code.
    4 X' O; w) h: e$ L/ A
  1943. ;opcache.save_comments=1
    ( c  x. R4 C' A- L# ]6 Z

  1944. & s+ |* |+ t+ k3 \% X
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    ; Q, |- ]! z- b; K+ l! z% h
  1946. ; may be always stored (save_comments=1), but not loaded by applications, Y" Q5 H* |1 m% N; S5 ?
  1947. ; that don't need them anyway.: g5 ^% C4 _: Q& d, s6 d3 j
  1948. ;opcache.load_comments=19 g+ v+ G7 M, C/ E& i, z

  1949. 5 U0 y8 |3 e4 ]1 j+ `
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    4 k8 C3 R/ [9 w- c! |6 `; u
  1951. ;opcache.fast_shutdown=0
    . N9 O. O7 A$ g( I
  1952. 2 T# [8 s) h6 \9 Y' _6 P' q
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    2 z" {8 o4 K$ [: a- Z, H0 i$ d! ]
  1954. ;opcache.enable_file_override=0
    " b- h3 m: f7 [; o* g  Z1 ^( v% I9 A

  1955. ! b9 o% O( I8 s) `
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache* T/ ^2 Q) I# E% y' k/ i
  1957. ; passes
    ( c5 S3 m3 c2 ?/ N4 Y# E2 @
  1958. ;opcache.optimization_level=0xffffffff6 ?, ]* L1 g. k% ~. Y* U

  1959. ! j2 ]3 w! [7 {3 }& Z- l6 N: X0 |2 F/ S
  1960. ;opcache.inherited_hack=1
    : a0 G4 M5 ^7 g" ?7 T
  1961. ;opcache.dups_fix=0
    . J/ \3 N% z8 W( B
  1962. : B+ @, a. S7 |4 {9 |
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    ' ]) j  l! I: t
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    * P# {# t' x( u/ J  }/ y4 J3 G* T
  1965. ; that should not be accelerated. The file format is to add each filename/ d5 ~" U6 r; D. e" y2 G
  1966. ; to a new line. The filename may be a full path or just a file prefix3 s7 a% [6 @/ s1 L* H( J7 h5 Z4 v
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www( o* v3 A0 |, y& E; l$ n( L2 f% U
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    6 |! G; p0 u  C$ ^) t* n
  1969. ;opcache.blacklist_filename=
    9 B/ q9 y, M  e5 E4 z' h7 u
  1970. : N6 Y. W4 |$ m5 Z
  1971. ; Allows exclusion of large files from being cached. By default all files( o+ b5 d) u* k$ ~1 r5 O
  1972. ; are cached.
    * ]+ q! s8 z& z: Z; P4 `, C
  1973. ;opcache.max_file_size=0- T/ s' g8 ~! n) y. J  ~: \

  1974. 8 L; `& `4 D/ b# M( f& o, U
  1975. ; Check the cache checksum each N requests.
    ' u1 j& U7 M, V8 n3 m' D' H: _: A
  1976. ; The default value of "0" means that the checks are disabled.
    ' p7 q7 a7 j  }& B( g1 C
  1977. ;opcache.consistency_checks=09 ?5 n1 P' P0 Q6 O( p
  1978. : `* ]/ X' ?, N1 H' e
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    - V/ ?+ Q% l  v  X9 ~
  1980. ; is not being accessed.
    % c) [. M9 Z. O- v7 ]" a" L* z
  1981. ;opcache.force_restart_timeout=180* n0 H# ]0 d: I; n: r

  1982. 2 C5 g6 K) R8 e( k! A. }
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    ( q* O' H* L( a
  1984. ;opcache.error_log=0 G" a! j9 M9 V! ~, a0 A* i

  1985. * R1 H9 i' {3 y2 S# U0 d) d1 j
  1986. ; All OPcache errors go to the Web server log.) i- O- c4 c+ ?/ z2 S) L) n
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    ' A8 J& H: {% q! N% E5 Y5 t* u$ M
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
      I4 Y4 z3 ^# _) b' t) f- p- ?
  1989. ; debug messages (level 4).
    ( N8 d& o+ [$ w9 s/ ~7 \
  1990. ;opcache.log_verbosity_level=1* C0 L$ ^9 I+ `/ n, B  v2 A7 M
  1991. 9 x! q: ?9 M- X. H$ ^  Q8 j- b4 J
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.3 W! U/ K( e1 H
  1993. ;opcache.preferred_memory_model=
    9 n$ W1 U$ @' l$ _( a

  1994. 2 |2 ~6 W1 F8 `* y6 j1 [) M( g
  1995. ; Protect the shared memory from unexpected writing during script execution.3 q5 H3 ^* K$ o3 x* v' v9 h; {
  1996. ; Useful for internal debugging only.
    % \6 R" ]5 r4 P- S
  1997. ;opcache.protect_memory=0. D9 t* U  b9 C+ P/ ?( ~
  1998. ' f. l5 L) ^  Q: r* M3 H
  1999. ; Validate cached file permissions.
    3 D+ y9 W1 k0 b" j% W& _
  2000. ; opcache.validate_permission=0
    # f3 I6 x5 R1 v1 G$ P" L6 v

  2001. " R& q6 G& y; \1 @
  2002. ; Prevent name collisions in chroot'ed environment.. c" d; h' i% w8 C, O
  2003. ; opcache.validate_root=0) t3 Y6 w3 v) l6 {( h" L) b0 i. j
  2004. , |2 V# B% r8 i4 U5 S
  2005. [curl]
    - k; d; s, V5 T8 n
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    / i6 r0 z3 Z8 s
  2007. ; absolute path.
    * G% z* J7 a) R- o6 k0 t. X
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt1 e. T0 ~6 a# J: _' ?2 Z
  2009. ) C7 Y' W5 Z: {( X% B4 J1 x
  2010. [openssl]
    ' [- ?# P8 @2 m" ]  ~; r
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem! c' n: l  X8 `: Z4 g3 b
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    2 Z- t! V2 i5 K' S: |/ `1 H
  2013. ; not specify a value for this directive as PHP will attempt to use the7 \6 u1 w# B3 T
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    : w/ K2 x; B5 Z/ M1 _3 b; S
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    ) F  ~/ o9 A# S: @) G. f1 d2 o, B6 S
  2016. ; option.
    6 M2 _: t3 @1 @' I) [- j
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt' ~, i% H! D( x, d& g( k6 N' `

  2018. : ?! ~2 d' |1 a
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the4 v) k! o! A0 a) i0 R
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    ' F2 t/ p+ A' Y5 h
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    9 f  r- Q+ ^$ g& P4 t
  2022. ; Most users should not specify a value for this directive as PHP will
    6 k) R* a# O3 ]* O- G8 ^# f
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    & j/ `; O5 t- c5 X9 F9 ?
  2024. ; this value may still be overridden on a per-stream basis via the "capath"' R# R0 }2 w! `' H" N1 V
  2025. ; SSL stream context option.
    ( y8 B6 w. [! R/ M4 Z% e
  2026. ;openssl.capath=
    % D# S2 i- z8 {$ y
  2027. 8 Q) x, M- A! }7 C! ~& ?' \
  2028. ; Local Variables:0 T  J* P6 j7 w- n
  2029. ; tab-width: 4' S' G. Y, i7 @, R
  2030. ; End:
    # F& N( J3 T8 p$ _2 ~

  2031. ' A8 z' H1 O1 `
  2032. ;eaccelerator
    8 y4 @% p/ J% s9 }5 }
  2033. ( J! t+ [9 S5 Y3 a3 @" l+ }
  2034. ;ionCube5 G/ q4 O4 P. m- y4 W

  2035. * E+ l2 R2 U" ^
  2036. ;opcache6 X" x( Z# T7 Q+ q( @* u  D

  2037. 1 B: q7 A. {7 k( z8 }) n
  2038. [Zend ZendGuard Loader]: i$ b$ e# y4 J' V$ @. P
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    : H* f9 o0 B) \& v0 Q: S- V
  2040. zend_loader.enable=1
    ; Y+ q( \; V" I+ p! \* ?- B
  2041. zend_loader.disable_licensing=03 y6 ]8 i+ J. @8 o7 z5 |3 N
  2042. zend_loader.obfuscation_level_support=3
      V7 g1 X1 ^" T7 t
  2043. zend_loader.license_path=0 }4 V- _% E/ `
  2044. 3 e+ i( x1 d2 @
  2045. ;xcache
    % C% a5 S8 w8 |$ i

  2046. 6 Y" J4 P% F5 ~: Y: E5 W' E
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/818146922 W- S. b& [8 f9 q7 S
! T! R# D" c9 m& g  g: c9 X: C

6 o5 i, }; N# ~/ E3 F9 i& v! qDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,9 j& L$ a7 s; K% `2 F/ k# N

5 q! D" H" l% e* Q4 U( ^% c% h+ C( ODiscuz!程序版本选择:
! t" X6 [: C  S% D站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,. Q6 h& V7 m3 B1 o. Q
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:1 m9 z. b# ?1 g# l  g/ C2 l
Discuz!F1.0 是应用中心民审、作者爱好者合作基于 Discuz!官方Discuz!X3.2、Discuz!X3.3、Discuz! X3.4版本之上推出的基于PHP 7.1、mysql 5.8最新环境适配、精简的Discuz!论坛程序,目前对Discuz!F1.0 的支持应用DZ插件、DZ模板都相对较少,很多DZ插件、DZ模板对Discuz!F1.0 的支持性也较少,根据目前站长普遍的反馈而言,使用Discuz!F1.0 建站的站长遇到的问题往往比较繁琐,且目前民审、开发作者、爱好者出品的Discuz!F1.0 版本已经处于停摆之中,站长最终都选择了Discuz!F1.0 降级为 Discuz!X3.2、Discuz!X3.3、Discuz! X3.4。% ]9 R8 Q' X+ A# R4 C

- {4 X! k* x( aDiscuz!插件模板版本选择:% [2 R+ K( \  p* i) a& g
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
1 M0 I) X$ U+ K5 |1 P针对这个问题做个统一的普及:
3 p8 Q3 [! Z3 JX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
: f  I* t  H. ?
& m5 K9 f$ w) U4 _1 \: M5 T' f所以
  G) a+ X. G: y适合Discuz!X3、X3.1版本的DZ插件、DZ模板是适合并兼容 Discuz!X3.2站点使用的,请站长放心安装使用。但适用于X3.2版本的应用90%以上是不兼容Discuz! X3.4和php 7.x的,请格外注意!!!
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-12-2 01:25:25 | 显示全部楼层
添加网站的时候一定要添加两个站点,一个是主域名,一个是www的二级域名。
6 y1 u* \# U* n/ G) }% {) v8 F打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
0 y* P; B6 a0 R# s( \; S注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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