分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
8 _0 ?4 l" k& J0 y, {
0 p+ a! p3 w! y" N+ ~( u6 m
  1. [PHP]
    # w& u/ n+ m& c" v$ o" o2 ?

  2. 0 J0 B  E0 s1 m  M) m
  3. ;;;;;;;;;;;;;;;;;;;
    6 I1 ?2 l( q+ s5 n0 j; e, p
  4. ; About php.ini   ;' Q4 K3 @8 K6 ^( Z
  5. ;;;;;;;;;;;;;;;;;;;
    # M- V* o9 Y/ G* V/ b- T' P
  6. ; PHP's initialization file, generally called php.ini, is responsible for; g/ b5 O2 Q; B! x9 r( m
  7. ; configuring many of the aspects of PHP's behavior.  Z4 V, U$ p: ]4 T3 {

  8. 1 j) s; X; V! B, L2 Z
  9. ; PHP attempts to find and load this configuration from a number of locations.1 P6 b  w% x& ^2 g8 a2 B- P
  10. ; The following is a summary of its search order:* @9 k7 b5 r: w) I$ ?
  11. ; 1. SAPI module specific location.
    1 a4 n* U- f" \- t' ~3 D( I
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    - _# w4 l& h9 F$ `+ G0 z6 L+ k
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    / `1 K! g% S5 X; q' d8 o! U
  14. ; 4. Current working directory (except CLI)
    ) u; ]7 G: {& m, S& y3 K5 |. `& ^
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP  u( u+ \; v1 L# v+ O
  16. ; (otherwise in Windows)
    3 {& [6 A. G% w$ D6 i
  17. ; 6. The directory from the --with-config-file-path compile time option, or the; c. o' i/ }3 G$ A7 ^, O
  18. ; Windows directory (C:\windows or C:\winnt)5 I+ h+ K2 D0 n: V  h0 d: C
  19. ; See the PHP docs for more specific information.8 f7 G4 i& K/ {0 A% a
  20. ; http://php.net/configuration.file/ N$ w/ s2 U" j) @+ E& l% j
  21. 0 d' }' h" s8 e
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    $ [  g: i# z( q6 Z$ P0 N' Z$ g" G' z, W
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).+ X3 }; U+ p! m0 U, Y; O1 F
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    1 Z+ E: o* W- |' \' e9 b% k) O# z% b
  25. ; they might mean something in the future.
    5 ^% ]2 d" ~' T3 t' |" D7 ?' w
  26. * k' y8 M. D2 V: _4 C0 f+ {
  27. ; Directives following the section heading [PATH=/www/mysite] only
    ) g7 o8 O: F4 q/ y
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    6 @- T& r% W# `/ ]: D" i- U/ p
  29. ; following the section heading [HOST=www.example.com] only apply to" B* T. \+ D4 N& w
  30. ; PHP files served from www.example.com.  Directives set in these9 L. o6 _3 P8 i
  31. ; special sections cannot be overridden by user-defined INI files or* n/ A2 B( P9 f- x- R8 Y# j
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    ' k/ Q) e8 _" _1 x4 i) e9 W
  33. ; CGI/FastCGI.8 [, f7 F; V* a  d$ @. F
  34. ; http://php.net/ini.sections
    9 F8 h+ y0 T$ t) B6 }1 @# v. f+ ^( M: }

  35. ; K  t( k/ w6 }  `5 ~. A
  36. ; Directives are specified using the following syntax:) j# D) J5 {% |8 m. V) I* I: V
  37. ; directive = value
    6 a5 V6 r7 M- w' R* B# o( w( U
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    9 A2 P  p3 t' o
  39. ; Directives are variables used to configure PHP or PHP extensions.
    " E7 I9 V: h  O) S  P, B5 U
  40. ; There is no name validation.  If PHP can't find an expected
    / E4 F3 k  u6 ?  H" p3 D
  41. ; directive because it is not set or is mistyped, a default value will be used.* D- o  Q' V9 s+ |
  42. + h2 C- M' m, W2 ]2 v
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    / g7 K' K# V. M" k( p
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression# q0 W  R6 Q3 i
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a1 `5 F5 m( G& T
  46. ; previously set variable or directive (e.g. ${foo})/ [( s& j' U2 q/ t# r* Y
  47. 9 `% z1 v+ h5 e: D( E  _
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:$ u3 ]& T+ W  z- c) G
  49. ; |  bitwise OR
    1 m- o6 q* O$ z5 A* u
  50. ; ^  bitwise XOR: Q+ N5 W2 j3 e# w' X
  51. ; &  bitwise AND5 z9 X9 E4 z/ L+ y/ J
  52. ; ~  bitwise NOT, a: x5 x) R0 L: k) C% z7 }6 {
  53. ; !  boolean NOT/ e# _( V# n" c6 m# f+ F9 L* T
  54. ' I, y" t/ x9 C/ A+ v$ b( M
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    ) K, U0 H' a+ h" k$ y
  56. ; They can be turned off using the values 0, Off, False or No.
    : a* @7 _$ w) {. Z

  57. 3 H7 N1 B9 B* ~, ^6 n0 g
  58. ; An empty string can be denoted by simply not writing anything after the equal9 _# p- ~% |5 v" G' a8 e: ?
  59. ; sign, or by using the None keyword:: q. _, `8 Y4 C

  60. / T3 f3 ?+ p/ L7 w
  61. ;  foo =         ; sets foo to an empty string& ?# h6 U. w3 m$ j+ u1 \% \; X8 ?
  62. ;  foo = None    ; sets foo to an empty string6 J: T) \% S7 Z1 C. j( l% j
  63. ;  foo = "None"  ; sets foo to the string 'None'1 n) |" u3 X( X& m* H
  64. . S) O7 w* _' y7 B6 X1 j4 _
  65. ; If you use constants in your value, and these constants belong to a* p; ^9 q7 \6 [8 u
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    & o8 y0 l+ z2 D4 N" n- ?! H
  67. ; you may only use these constants *after* the line that loads the extension.
      K5 O9 E* a  f# f  `' J
  68. ; `: e( F/ P# a+ B" g5 \. ?
  69. ;;;;;;;;;;;;;;;;;;;
    ! `" W& I6 [+ z: ]- p- h! f
  70. ; About this file ;+ S) \' w. ?3 t+ u8 O; B
  71. ;;;;;;;;;;;;;;;;;;;. K* S! e* ~9 G1 ]* h8 B
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    3 h5 H( u  L$ b/ E
  73. ; in production environments and one that is recommended to be used in! T& Y8 W) v# V$ p6 d
  74. ; development environments.2 m# ~% h6 J: W5 k

  75. 7 f) F, Z! ^! b
  76. ; php.ini-production contains settings which hold security, performance and* o! y7 Z5 k& r# a
  77. ; best practices at its core. But please be aware, these settings may break# g: N6 j' v. _% Y% e2 K! A0 F7 U
  78. ; compatibility with older or less security conscience applications. We5 V) Y/ b# b3 @
  79. ; recommending using the production ini in production and testing environments.8 Q, H3 X( f& G) K0 h6 G/ p
  80. , k3 w- W4 N. U8 X* [6 k
  81. ; php.ini-development is very similar to its production variant, except it is
    " P7 ^2 f5 o1 I% Z
  82. ; much more verbose when it comes to errors. We recommend using the
    ' `( x$ V; ?1 {( }/ f0 D
  83. ; development version only in development environments, as errors shown to
    ( K% d. c; I- |+ ]6 z
  84. ; application users can inadvertently leak otherwise secure information.
    3 \. L3 i7 D! i! z9 c9 {( H* B

  85. 9 m# @# W! c$ W& f
  86. ; This is php.ini-production INI file.
    ( ^% H5 Q: C) B; ~3 s

  87. 7 v$ @8 g3 w* I: N
  88. ;;;;;;;;;;;;;;;;;;;
    ) _- k' L8 h2 o; w
  89. ; Quick Reference ;
    2 H; Z" f% ]6 K2 z  Q. R
  90. ;;;;;;;;;;;;;;;;;;;
      Y/ s  q( Z4 v! r+ \
  91. ; The following are all the settings which are different in either the production* C" T' j1 V8 W$ z) l- A2 |& r
  92. ; or development versions of the INIs with respect to PHP's default behavior." W5 p; J0 B$ w! e) S/ u
  93. ; Please see the actual settings later in the document for more details as to why1 ]5 H0 ?) t. S, W% w* f
  94. ; we recommend these changes in PHP's behavior.7 Q2 b  g+ v+ p) `

  95. " x+ L* p' x. P# G2 L! L" d( H5 W
  96. ; display_errors
    ( T: v# l7 c( j3 W1 K# K7 e
  97. ;   Default Value: On$ e9 w- I% c: u2 }  J
  98. ;   Development Value: On# z4 x) t" z% ^4 n6 @. Z$ A( y2 O2 ~
  99. ;   Production Value: Off! v; p+ e7 N  ~6 A  z9 _, R
  100. 6 }7 N6 E# }% V- n/ [8 ~3 b8 ]
  101. ; display_startup_errors4 N  t$ d) @5 ^
  102. ;   Default Value: Off
    4 B* j) X4 ^# P
  103. ;   Development Value: On
    $ ^) H5 _5 j/ m4 _
  104. ;   Production Value: Off
    . K: U/ L  _' w; g" K& n1 m
  105. / Z) P5 V7 R8 F- X0 X+ D6 T
  106. ; error_reporting
    2 t( l" p2 I$ Y* [9 c" E3 ]+ f* P
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED5 T% A, S  r! a; u- [1 l
  108. ;   Development Value: E_ALL* l# F; ]% q# d8 E/ ?8 G
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT9 a! q- E2 u) e) F9 f1 @9 ]6 B
  110. ) Y  y* h3 \% O$ G7 D  n2 c
  111. ; html_errors
      N8 S, `* ?' _/ ^: U" m% _
  112. ;   Default Value: On
    ' @2 u8 s8 t! z- Z
  113. ;   Development Value: On
    7 {! q" A/ c' u' b
  114. ;   Production value: On) X" e' ~" W; F3 }0 f5 g  `
  115.   [5 s9 ?9 o5 l- p! v* q
  116. ; log_errors# u4 F9 f' C0 v2 E# F
  117. ;   Default Value: Off
    ' z" E1 z' ?( ]$ ]4 ]0 @3 Q) Q: p
  118. ;   Development Value: On6 f* j7 @! a7 Y& z( A
  119. ;   Production Value: On
    $ M/ V0 _8 u4 ?: C4 a

  120. * f2 h7 H( |5 P
  121. ; max_input_time
    3 j  b. {$ w9 [. `9 t% f9 ?, I7 A2 O
  122. ;   Default Value: -1 (Unlimited): `/ h% L+ Y4 U2 c7 v# y9 O
  123. ;   Development Value: 60 (60 seconds)6 g8 x; r' \, K
  124. ;   Production Value: 60 (60 seconds)
    / r- O3 R+ k* j% I/ I, u! _/ B
  125. 7 E3 [# m" Y, n, d3 H" `5 Y5 {) O
  126. ; output_buffering9 |6 {; H5 |/ l5 o1 V6 ^
  127. ;   Default Value: Off
    # Z, k" U" |$ u2 {
  128. ;   Development Value: 40965 @. D7 N5 r9 B7 H% B( q
  129. ;   Production Value: 4096
      z2 [6 v1 P" ]: \1 n
  130. ) }& J. |+ K5 G+ |( \/ C
  131. ; register_argc_argv
    ) b+ n* l: f4 _" a! f
  132. ;   Default Value: On4 X1 Q/ y: w+ y
  133. ;   Development Value: Off# ]; X. L7 n/ i, _, b9 M
  134. ;   Production Value: Off
    8 {+ P) K" S2 [% l
  135. 7 B5 N) P5 g5 o3 N+ e
  136. ; request_order% [, C; F  O# Y/ K
  137. ;   Default Value: None5 y' X" u# F1 {' d
  138. ;   Development Value: "GP"7 [+ B4 B! f% z  s2 c+ p
  139. ;   Production Value: "GP"
    # F8 ?  A. c3 u6 f
  140. * g/ d6 a4 \. Q! M- T6 H
  141. ; session.gc_divisor% A( m) j- P- c5 h9 P8 }$ L0 _5 B
  142. ;   Default Value: 100
    * c% K( ~1 Y: D) F3 r
  143. ;   Development Value: 1000
    6 o9 d1 [+ L1 E; e5 e& P
  144. ;   Production Value: 1000/ s6 n. P6 x3 |7 P( @1 M

  145. 3 A) j; {* }- v, f1 x& s$ U
  146. ; session.hash_bits_per_character! m+ k4 z, r& k# I
  147. ;   Default Value: 45 @" V6 U- I" ~0 U. r2 E: c# D
  148. ;   Development Value: 5
    # r2 ]! z. w3 E% }. `
  149. ;   Production Value: 5
    + u* |" e! ], x! P; P6 R, A
  150. : Q' o0 \* G( n: S, c
  151. ; short_open_tag( a" C  E/ u% C# ~0 p
  152. ;   Default Value: On; z- u  G1 |# e* Z$ a  x7 p" F
  153. ;   Development Value: Off( |# K2 M4 l0 y- a# ^2 A$ i
  154. ;   Production Value: Off
    ' O$ A& c3 \: \; d! m, H
  155. ) ]8 F! H2 ^% H6 H
  156. ; track_errors
    1 Z: z, ^2 A, L% i
  157. ;   Default Value: Off
    " v6 @' P0 m% m
  158. ;   Development Value: On4 t& K, ~- a7 @7 Q; o
  159. ;   Production Value: Off5 H( c/ {+ ?) k" b3 a

  160. / b7 a) `+ j, a3 {( N
  161. ; url_rewriter.tags/ J1 ^" }( ^  e4 T# f) _
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    * e  R- G  l4 H: _
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"3 h  M7 m2 W' _6 O/ o
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    - i9 b8 A) k8 g' E5 k

  165. & R4 o3 _5 n0 Q4 `, j$ D7 p! E& W
  166. ; variables_order
    3 I1 m8 e4 K, @) c3 I
  167. ;   Default Value: "EGPCS"$ F% f, G4 _/ W! u
  168. ;   Development Value: "GPCS"9 x/ f4 d4 F+ v0 z1 {" @
  169. ;   Production Value: "GPCS"+ a) k" y, A7 ?$ ?  c
  170. % Z0 e! [" q" p$ C+ X
  171. ;;;;;;;;;;;;;;;;;;;;
    . A4 M. D" Y# F$ ^. Z# Z
  172. ; php.ini Options  ;
    0 y4 J& H  F8 F- V( t5 l
  173. ;;;;;;;;;;;;;;;;;;;;
    4 C" {% g; `6 [& o5 `$ a
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    - \- I& ^& x7 `) j  t; t+ N
  175. ;user_ini.filename = ".user.ini"
    / @9 X0 Z+ D% ~1 C0 [. z
  176. 4 `1 v  i: Z4 L4 ]( B  J
  177. ; To disable this feature set this option to empty value
    # k3 E( x3 T& B/ D( k9 H
  178. ;user_ini.filename =% X) r  Q+ U5 M) L
  179. , H( o2 A% m) O8 }4 `9 t5 j9 t
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    ' a5 T9 A  s$ w& ~( C4 u) u
  181. ;user_ini.cache_ttl = 300
    8 s6 |/ ^) @% j

  182. 7 r0 o; M% ^/ Y! q
  183. ;;;;;;;;;;;;;;;;;;;;) }- f' `/ b3 H; [8 ]
  184. ; Language Options ;
    7 ?- z; f$ A' U- u
  185. ;;;;;;;;;;;;;;;;;;;;/ H) A2 X: r7 d( b+ k% H

  186. # I  V% g0 z6 P. B
  187. ; Enable the PHP scripting language engine under Apache.
    ; t4 }1 p) i  w  p+ u; _' T4 c
  188. ; http://php.net/engine
    5 Z& T$ l7 A# w" m# ]
  189. engine = On+ V5 M2 R1 R" P9 v/ D
  190. 4 G  w7 K+ p1 N, W9 W
  191. ; This directive determines whether or not PHP will recognize code between
    " r0 j# f1 H; G3 Q$ I# ?1 K  n
  192. ; <? and ?> tags as PHP source which should be processed as such. It is4 t/ D* a/ v. X4 }9 h
  193. ; generally recommended that <?php and ?> should be used and that this feature
    & _: S5 y3 ^. E8 U" k' }
  194. ; should be disabled, as enabling it may result in issues when generating XML
    ' \% x/ M: @& U4 l1 t
  195. ; documents, however this remains supported for backward compatibility reasons.5 A9 Y- J# l# F# l1 d
  196. ; Note that this directive does not control the <?= shorthand tag, which can be! \" a! `" a2 ?6 c3 H) a0 Q) h
  197. ; used regardless of this directive.: T. M- n4 D6 K, K
  198. ; Default Value: On
    ) Q4 T8 D: |! c3 z0 q* U; ]" B
  199. ; Development Value: Off; v. Q% g; _! @' d
  200. ; Production Value: Off
    2 p0 b2 T  D3 Q: |7 m
  201. ; http://php.net/short-open-tag
    0 y/ h) h5 Q2 [  b% T
  202. short_open_tag = On9 }4 q5 N! G0 F  J( p( ?# s

  203. ) p% o& k+ h3 R5 @2 o3 L9 Q
  204. ; The number of significant digits displayed in floating point numbers.
      \' |; X0 A2 F" s8 c
  205. ; http://php.net/precision
    1 p0 J3 g6 C+ @7 v
  206. precision = 14
    " O9 b/ `3 Y7 x! R1 R7 g

  207. 3 w1 |$ [- N5 n
  208. ; Output buffering is a mechanism for controlling how much output data
    1 M  o9 e; F  C6 ]
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    : f7 p4 u; r0 X, V
  210. ; data to the client. If your application's output exceeds this setting, PHP
    ; D0 t. z6 h1 t/ E8 n0 D
  211. ; will send that data in chunks of roughly the size you specify.; \; i; b: g) U* ~. l
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    5 q) t" b, V6 ?: E; J
  213. ; interesting side-effects depending on your application and web server.* S8 ~7 G0 m$ |" a7 l
  214. ; You may be able to send headers and cookies after you've already sent output7 [' n6 D4 k  H! t
  215. ; through print or echo. You also may see performance benefits if your server is
    + B) X% y; v" S" }3 S& I
  216. ; emitting less packets due to buffered output versus PHP streaming the output! q2 @0 M" s" j; I5 R" t
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    ) v# p3 Q/ Q* [. _
  218. ; reasons.3 ?; G, V. \$ f  g
  219. ; Note: Output buffering can also be controlled via Output Buffering Control& B5 Z0 }- W) V) p" i& o
  220. ;   functions.
    & A/ v4 \, y& [0 r1 S; i5 Z2 n
  221. ; Possible Values:* q8 q4 ^5 G4 P+ [; C- M
  222. ;   On = Enabled and buffer is unlimited. (Use with caution), @4 ~1 D  e; M) Q. A( g5 k
  223. ;   Off = Disabled
    1 h& j3 V6 n: x, E- F7 O1 Z
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.( N  e; y: q' [9 G. e) J
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI4 a4 U! `8 v! ^7 {2 q8 U
  226. ; Default Value: Off
    ' N1 e. y  b6 W. _
  227. ; Development Value: 4096
    7 C8 m4 j8 ?; ]0 x& q3 Z
  228. ; Production Value: 4096. H: X& ~7 R" ?. @, @
  229. ; http://php.net/output-buffering
    1 n$ k4 K' Z: U( J" I% [/ O
  230. output_buffering = 40960 W% J- i# P& ^7 Q2 ]

  231. 1 z' r4 M4 E0 H: J8 ?
  232. ; You can redirect all of the output of your scripts to a function.  For
    ( a' G3 \5 J6 o/ Y% T
  233. ; example, if you set output_handler to "mb_output_handler", character' o, ?$ V% N, v1 T: s# I" W# Z
  234. ; encoding will be transparently converted to the specified encoding.
    1 e0 c# y+ K: A) s
  235. ; Setting any output handler automatically turns on output buffering.0 t( f, T. k$ q2 C' S- [
  236. ; Note: People who wrote portable scripts should not depend on this ini
    9 w$ B1 B* [9 Z4 D6 T
  237. ;   directive. Instead, explicitly set the output handler using ob_start().) l2 P6 p! N: L" b: \
  238. ;   Using this ini directive may cause problems unless you know what script: `* d7 ~0 \) f7 ?; Q8 t
  239. ;   is doing.
    1 `1 \$ U  i1 @% G: o+ W5 B
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"$ m- `- x1 V6 s( |
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
      I$ j$ g; G7 R% n" q
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    * H) w% m5 U- p9 F1 ^5 [( {7 b
  243. ;   Instead you must use zlib.output_handler.: l, ~. y, V& [1 J
  244. ; http://php.net/output-handler
    5 j) U0 U) `  `' ]; [; s
  245. ;output_handler =% }5 G$ k, a  b2 L' o7 ^* `) \
  246. 5 s0 \0 @8 J) f" m9 a: ~
  247. ; Transparent output compression using the zlib library, F, L- h' `$ D/ _; o4 U
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size  u" I" J2 J3 d$ f$ S
  249. ; to be used for compression (default is 4KB). o& M1 b4 g' M/ t3 d; v& X
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP' y9 A$ F1 i4 m# g$ q" Z* g- H
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    . o! ?% X  X* H& M8 P0 s1 W
  252. ;   compression. If you prefer a larger chunk size for better1 G4 h9 u1 K$ b4 L
  253. ;   performance, enable output_buffering in addition.
    9 O# F2 v7 B! g% |1 w) Q
  254. ; Note: You need to use zlib.output_handler instead of the standard
    6 y- [5 u: w! G- r& |) b
  255. ;   output_handler, or otherwise the output will be corrupted.0 f3 b. X( b. p# {0 u
  256. ; http://php.net/zlib.output-compression9 R+ ]: U" V- h! \
  257. zlib.output_compression = Off
    2 [$ D0 D& ?4 m7 l, i
  258. 0 b) n* C# c. G- q& V" M
  259. ; http://php.net/zlib.output-compression-level
    9 W" Z+ x8 C- a" K: F' p; N
  260. ;zlib.output_compression_level = -1
    1 Y& F0 k! P; ]* Q' v! T. m
  261. " x$ ~. b$ W- z' s
  262. ; You cannot specify additional output handlers if zlib.output_compression* P1 u$ j' E) p( N% u6 M
  263. ; is activated here. This setting does the same as output_handler but in/ P  a8 s0 k& k2 u+ }0 o. R. S4 O* e
  264. ; a different order.0 E7 s- f6 U; n% w* g
  265. ; http://php.net/zlib.output-handler: |* Z" a0 q% E7 P% X- V0 q
  266. ;zlib.output_handler =2 p7 z6 U$ h. m2 R

  267. 2 X- o6 p9 [8 Q. n0 |  q5 r( o% q
  268. ; Implicit flush tells PHP to tell the output layer to flush itself$ ?, r+ ~9 D( d! ]( ^
  269. ; automatically after every output block.  This is equivalent to calling the
    ' l* ?. J: m" v. u5 ^  u# Z
  270. ; PHP function flush() after each and every call to print() or echo() and each
    ' {3 ]# n. S  R
  271. ; and every HTML block.  Turning this option on has serious performance$ u' f4 J8 u" ?, V
  272. ; implications and is generally recommended for debugging purposes only.
    ( ?& o: L! g0 }% a$ I8 g" D
  273. ; http://php.net/implicit-flush% J* D8 q! s# b4 d7 \
  274. ; Note: This directive is hardcoded to On for the CLI SAPI9 |' j: F0 ]% V7 U  ^1 k* [# b4 i4 [: x
  275. implicit_flush = Off
    4 S: q) v$ G# v) n

  276. 3 j' T" K+ D; }2 h  ?# z% c
  277. ; The unserialize callback function will be called (with the undefined class'
    ( K/ ]* Y7 F# S
  278. ; name as parameter), if the unserializer finds an undefined class9 w3 }, Q" I1 G- d& J
  279. ; which should be instantiated. A warning appears if the specified function is' N4 J7 m7 f% M3 ?. S8 S
  280. ; not defined, or if the function doesn't include/implement the missing class.
    ' A, G1 w) P7 I0 y# d) ?
  281. ; So only set this entry, if you really want to implement such a
    & o& U/ [) O2 K+ r. c0 B
  282. ; callback-function.2 Y" C' i$ {! F( |6 o& N
  283. unserialize_callback_func =
    * o# X: ?+ d8 C/ k; b: Q# l
  284. " X2 t! o! |* A) A: I6 b2 p
  285. ; When floats & doubles are serialized store serialize_precision significant
    6 p; h+ U2 y6 \2 j
  286. ; digits after the floating point. The default value ensures that when floats( |# [0 H! W1 B
  287. ; are decoded with unserialize, the data will remain the same." P- [4 B8 @5 P% {# E  Q1 C3 X' r% Q
  288. serialize_precision = 17+ y! U* L# c5 ]* }

  289. 4 ^0 ?* ?7 A5 u; L# U5 j0 X
  290. ; open_basedir, if set, limits all file operations to the defined directory
    1 {( n) G. B9 a; b; W* v
  291. ; and below.  This directive makes most sense if used in a per-directory
    9 Y" p& l) H' C
  292. ; or per-virtualhost web server configuration file.
    9 a3 Z* |+ A2 ]! S* l
  293. ; http://php.net/open-basedir
    1 M) W& u1 G7 W; g, H- \0 l. ^
  294. ;open_basedir =
    7 h$ g0 p$ W( K

  295. . i: F  P( x$ K- D5 K5 N
  296. ; This directive allows you to disable certain functions for security reasons.! j: g, x. Y- s. l
  297. ; It receives a comma-delimited list of function names.
    5 V, Q% B7 R8 a0 t
  298. ; http://php.net/disable-functions
    4 f* w' T! I% r. y* c! Y; L
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru) V: I6 ^& Y2 a: {3 L2 D+ J

  300. . R4 |- q5 c5 i) ?
  301. ; This directive allows you to disable certain classes for security reasons.1 I% Q) z- x* j# W; Q8 h# I$ y6 C
  302. ; It receives a comma-delimited list of class names.
    9 F4 {' g2 D4 V6 x
  303. ; http://php.net/disable-classes% w; g! b  n4 Z
  304. disable_classes =$ _5 p- t8 }4 U# A# [
  305. 6 l- l; w1 m) X7 r
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in. Q7 \+ c1 r6 {: K; X
  307. ; <span style="color: ???????"> would work.+ K( M+ B" V6 @+ `7 U
  308. ; http://php.net/syntax-highlighting
    # \- m2 x  H5 s0 y+ D! |3 f3 P
  309. ;highlight.string  = #DD0000
    7 Y3 {9 C& O" o+ R
  310. ;highlight.comment = #FF9900
    1 f% [+ \, S8 {1 p4 Q# y0 A
  311. ;highlight.keyword = #007700+ j- @1 H' u2 T' a
  312. ;highlight.default = #0000BB
    5 p; Q: [+ F; ^8 x4 |* w/ I
  313. ;highlight.html    = #000000) ]. L: p- W7 i; t( o  @

  314. ; J: i2 `' F/ r; I7 d% \3 z
  315. ; If enabled, the request will be allowed to complete even if the user aborts' Z( L1 m& r: n" v1 A% \2 H
  316. ; the request. Consider enabling it if executing long requests, which may end up" E; J0 R  o& g0 n( @, s0 y8 k
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior% L% f5 s7 q9 ]/ I& D) t% |6 ]
  318. ; is to disable this feature.
    5 W* ~! D' S0 o$ \& P% X( i
  319. ; http://php.net/ignore-user-abort
      C/ @! t0 l. P2 q7 G4 t1 m
  320. ;ignore_user_abort = On) W7 S0 I2 K- Y6 q9 @
  321. " F! ?. ~  d; d' L
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    " I4 F4 A8 Z: ]
  323. ; be increased on systems where PHP opens many files to reflect the quantity of6 {/ }* K; r. }0 C  u0 J% c# O0 C
  324. ; the file operations performed.
    - l8 {% F  k4 Z
  325. ; http://php.net/realpath-cache-size
    ( X8 ~4 h% [7 _) Y9 ~' D$ ~
  326. ;realpath_cache_size = 4096k3 D0 [" m, W- U6 p5 |

  327. ! d- T/ Y; x  n6 ^2 P8 g2 t
  328. ; Duration of time, in seconds for which to cache realpath information for a given* ^+ W4 H, K! O5 ?
  329. ; file or directory. For systems with rarely changing files, consider increasing this  x$ A# B3 k6 L/ v
  330. ; value.& c- ?4 E8 n  k" n- ?
  331. ; http://php.net/realpath-cache-ttl
    $ }" p9 j: I4 @6 b; v1 w% }! }  {
  332. ;realpath_cache_ttl = 120) Y" [' X9 P  @9 o3 ?; e$ r2 w
  333. ! r- b0 l; d4 V4 f
  334. ; Enables or disables the circular reference collector.( |% a: k# J$ _; W) h
  335. ; http://php.net/zend.enable-gc; e* g$ B. Z4 r# E
  336. zend.enable_gc = On
    2 u! e' F: {1 C* P

  337. : Q7 a4 Z2 M: b3 J  ?$ A0 i
  338. ; If enabled, scripts may be written in encodings that are incompatible with; C$ G" x6 s5 Z2 {# p
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    6 O' i3 e6 e* V* B  {
  340. ; encodings.  To use this feature, mbstring extension must be enabled.% B1 G/ B* ~3 G
  341. ; Default: Off
    , V; Z# r/ K7 c0 r% q4 d! Z
  342. ;zend.multibyte = Off$ Z. n0 I: a2 O( U. M
  343. & D! d: L$ [4 e) ^
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    1 r/ m% M8 d# g9 ~8 n/ }1 @
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    ( o$ j4 Z! D: g" S: H
  346. ; Only affects if zend.multibyte is set.
    " `% a) C1 y2 f% X1 G
  347. ; Default: ""
    ) K9 z8 w( g2 D/ P) m, t) o
  348. ;zend.script_encoding =
    1 Y( f1 ^# \' {- C
  349. 2 H4 U  T5 r, ~, [
  350. ;;;;;;;;;;;;;;;;;
    9 K/ x) D3 l. P. f
  351. ; Miscellaneous ;
    6 h0 X9 x4 R6 j- |/ U
  352. ;;;;;;;;;;;;;;;;;' h6 K: c8 P/ A6 L
  353. . E" i/ N! }% |' n% f& e
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    , |+ r% |1 Z8 Z  l9 m9 ?6 }
  355. ; (e.g. by adding its signature to the Web server header).  It is no security" C" |4 a1 P+ Z
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    $ f) P* F$ |) d9 C5 S8 {+ L- n
  357. ; on your server or not.& K! v. m4 n- t- w1 v9 J
  358. ; http://php.net/expose-php
    % d6 Y! a1 X) o, f) y3 ?0 }
  359. expose_php = On
    1 E- I- O: W  f3 q1 v& I. H- g: Z
  360. 3 s: g$ I- V, P8 @5 {1 }' g& X0 v
  361. ;;;;;;;;;;;;;;;;;;;( |. G4 H3 O0 S
  362. ; Resource Limits ;8 \: O0 y6 x; }2 ?3 c$ v/ d
  363. ;;;;;;;;;;;;;;;;;;;; \! z( g9 W1 T3 e
  364. / }% b3 ?- x9 O1 I6 J# S" j0 [
  365. ; Maximum execution time of each script, in seconds" H4 D0 @; O( B! c! l  K4 ^
  366. ; http://php.net/max-execution-time' T. B" Q0 w( W% T
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    $ a" c7 V2 G: J$ V" N/ q
  368. max_execution_time = 3004 ?  c) O  J" O+ x7 {
  369. ( d( `2 |$ B) v5 `' n  b( k) Y
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    7 u9 L/ e7 F3 @$ z* `
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly, A- O/ E' a1 R
  372. ; long running scripts.# g) E0 N" C2 B1 p- I
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI6 r- \, J; N7 N# G0 P
  374. ; Default Value: -1 (Unlimited)$ w$ c9 x/ K; z0 N' R# V7 {5 |
  375. ; Development Value: 60 (60 seconds)
    . i3 f# P; v+ I1 k# O
  376. ; Production Value: 60 (60 seconds)
    5 g) l- O0 g9 d6 `% d
  377. ; http://php.net/max-input-time
    9 R4 D7 E# C8 z/ `: ]8 \1 r
  378. max_input_time = 604 s7 w. W# N" ^/ z+ N# B, `

  379. : _8 G6 }" g( D* }& ]
  380. ; Maximum input variable nesting level
    8 L6 \  e  m* c" e( g  i, X
  381. ; http://php.net/max-input-nesting-level8 o* _4 s( T/ F; W  [
  382. ;max_input_nesting_level = 64
    . G$ X. q2 g- E, E+ v; q. q
  383. : Z+ G- r% n8 S. z
  384. ; How many GET/POST/COOKIE input variables may be accepted
    & }& W& |" q3 }! F0 X0 L
  385. ; max_input_vars = 1000; l* W& B  J' Q" ~$ ?) D4 U' Q

  386. * `+ c7 N: J; G0 E
  387. ; Maximum amount of memory a script may consume (128MB)
    . B7 Q8 V8 y1 T! @- D5 O0 s6 t
  388. ; http://php.net/memory-limit& M) r' @' [0 [+ p1 s5 z
  389. memory_limit = 128M! {% a3 H. \, O: \

  390. " M$ R1 F, P3 @( }. I
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;0 J8 G! }/ |" o+ ~6 J
  392. ; Error handling and logging ;: S% S0 T* R* X6 v/ P4 z" J
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;, o$ T& p) {/ \9 V

  394. 0 s2 M7 c/ q4 m6 t
  395. ; This directive informs PHP of which errors, warnings and notices you would like& B4 l$ C* v" O: ?  y2 f# S4 B6 Z
  396. ; it to take action for. The recommended way of setting values for this6 V3 A4 _3 E9 |% {9 E+ P) S
  397. ; directive is through the use of the error level constants and bitwise
    , K- K) Y8 p( u  f- y* ^
  398. ; operators. The error level constants are below here for convenience as well as
    6 u  u! z+ Q6 C
  399. ; some common settings and their meanings., H5 ~9 V5 B- G, ^3 t
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT8 Y+ M( X# A' ~2 \
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and( o8 M& g" a3 C
  402. ; recommended coding standards in PHP. For performance reasons, this is the  q9 _0 m: Q1 l
  403. ; recommend error reporting setting. Your production server shouldn't be wasting7 X1 `# C7 c: J) s. i! L# o0 ]
  404. ; resources complaining about best practices and coding standards. That's what0 P) W% a( }4 H& s1 Y* G; M9 ~
  405. ; development servers and development settings are for." N* b- L9 Q0 E
  406. ; Note: The php.ini-development file has this setting as E_ALL. This- Z" e# D" z1 ]/ o
  407. ; means it pretty much reports everything which is exactly what you want during4 A; e/ A8 G. L
  408. ; development and early testing.
    7 X. Q8 y  {- |
  409. ;* Z; p8 p9 `8 s9 C' _
  410. ; Error Level Constants:4 j2 `1 ?3 @+ x/ O
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)6 h! I. L) B! ?+ E/ w: c7 f: ~
  412. ; E_ERROR           - fatal run-time errors
    ( [, |& f8 p: o; d8 K
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors2 f% l) e) @( l3 O" {2 `$ G
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    # u1 v0 u( Z" W
  415. ; E_PARSE           - compile-time parse errors
    4 A! y9 j, k+ G  p* U1 j  ]
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    2 |3 f* d" s% S. i- M  [4 Z5 T
  417. ;                     from a bug in your code, but it's possible that it was- e3 D5 E! T8 `& E2 ^
  418. ;                     intentional (e.g., using an uninitialized variable and
    ) T5 a  C& I1 A( L* A8 R8 @- W3 c
  419. ;                     relying on the fact it is automatically initialized to an
    0 B' d7 z$ E8 z
  420. ;                     empty string)+ u* C& p' D) H% d4 w
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes; W. u5 F/ Y& ~8 M; l
  422. ;                     to your code which will ensure the best interoperability9 J  N' N/ T" v) v6 f
  423. ;                     and forward compatibility of your code8 ~3 D! J- ], F, P1 A
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup9 ^( W. W! ]8 h* H0 N; J6 C
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's' ]: j( y$ R) a) e: h6 Q( M  }
  426. ;                     initial startup1 {, E! a6 a1 H, y) [0 k
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    9 b- e( G- b" f3 g6 b; y; O. P  L* m
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    ( }3 \1 b. P7 C9 @$ I
  429. ; E_USER_ERROR      - user-generated error message  j$ Y" ~4 @. G1 }7 h' Z
  430. ; E_USER_WARNING    - user-generated warning message! X& \8 ^# d, Q/ I1 J4 q7 Z7 H
  431. ; E_USER_NOTICE     - user-generated notice message
    7 C% ?6 H+ H4 Z/ m7 o
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    ) h. R  J3 Z) K8 W/ F
  433. ;                     of PHP. e3 S# X* e! |- y# o% {
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings3 L% ~# d& D. A5 d" k
  435. ;
    8 u9 \. {' k" ^' B1 h/ g/ ]8 H2 M% |
  436. ; Common Values:
    : v$ v" z# @2 ^! m. u- b
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    % F! d3 H9 p3 _% c; D4 |- n- u
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)# G" |) }. @, I7 Z2 ?7 M
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    ( x3 N  }3 Q1 G. @1 m( K3 o
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    ! |8 [3 J4 c4 k; R
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED. `9 I- G. M2 m6 G
  442. ; Development Value: E_ALL
    $ W' h5 \# ^" Y/ \; u* i
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    7 |5 Y. M2 ]/ L1 S8 O0 ^
  444. ; http://php.net/error-reporting6 C0 c: O- r0 u8 A0 |
  445. error_reporting = E_ALL & ~E_NOTICE
    9 O1 S: D- i9 U& b# u! |% j5 I* n
  446. * n3 }! w! e, V2 q4 |
  447. ; This directive controls whether or not and where PHP will output errors,
    3 z! U7 L: ]" o/ @  e& H5 B
  448. ; notices and warnings too. Error output is very useful during development, but
    5 h1 r" H( F3 F/ C# o% K
  449. ; it could be very dangerous in production environments. Depending on the code
    9 E: G* c; P+ f( B' D7 j- [+ J
  450. ; which is triggering the error, sensitive information could potentially leak$ A, G2 d) V% p  f# \! J
  451. ; out of your application such as database usernames and passwords or worse.* u, U1 t+ `& V6 Y$ G
  452. ; For production environments, we recommend logging errors rather than- [0 i1 X" R* z
  453. ; sending them to STDOUT./ m8 W) c) K  b! H1 ?1 s
  454. ; Possible Values:
    3 w- Y- L$ T2 N6 k% `5 z3 a  G
  455. ;   Off = Do not display any errors# H. F* V" X8 i* y0 q5 K- ^
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    ( _) t& s5 K: g. l8 s) o  K! v
  457. ;   On or stdout = Display errors to STDOUT
    ; u# x( f3 q# t8 S2 H& _- |- R
  458. ; Default Value: On
    ) a2 ~: `. e% H1 q5 F4 r! Y) h
  459. ; Development Value: On
    % O! x+ h; T! s- m1 E( f; N
  460. ; Production Value: Off7 e0 f1 _% p; w
  461. ; http://php.net/display-errors- {9 x3 n# P9 m5 M1 M) s) E
  462. display_errors = On% t  g* L. X, i/ e4 s2 P
  463. $ h! Z' G" W% b- Q
  464. ; The display of errors which occur during PHP's startup sequence are handled
    1 @4 ^' s3 G; R! z$ c
  465. ; separately from display_errors. PHP's default behavior is to suppress those1 d: f9 {" \3 a: i
  466. ; errors from clients. Turning the display of startup errors on can be useful in6 W  I2 X. D0 ]' P% k5 b* B
  467. ; debugging configuration problems. We strongly recommend you
    , c% A/ e: M4 H/ m, s1 X' {2 [1 X
  468. ; set this to 'off' for production servers.
    ! v4 L% }0 d" _  B
  469. ; Default Value: Off
    1 ~& J* w) t& k; _
  470. ; Development Value: On5 P9 A$ P3 t. }4 y
  471. ; Production Value: Off
    $ J, s4 g! {7 [. H7 p) a
  472. ; http://php.net/display-startup-errors
    % N+ a; l2 w8 Q5 i( ]! d" F
  473. display_startup_errors = Off
    2 B. [; n; b& T; T2 m4 |
  474. 7 H1 D1 G$ S" s4 m, G
  475. ; Besides displaying errors, PHP can also log errors to locations such as a# z2 \/ z( D% M9 }
  476. ; server-specific log, STDERR, or a location specified by the error_log( K! i" p6 D+ P/ D6 \( L2 F& O
  477. ; directive found below. While errors should not be displayed on productions. q' R+ z% k. ?! f# o. y
  478. ; servers they should still be monitored and logging is a great way to do that.
    * e9 J6 a/ c5 R
  479. ; Default Value: Off
    ' l6 O5 k. Q( f/ g
  480. ; Development Value: On' k; P2 L! h$ C" C7 I
  481. ; Production Value: On
    7 e/ ^1 O' d4 _/ r0 N3 L* C! C, i' y
  482. ; http://php.net/log-errors, x. I& ~0 S# E/ |  I1 l& `
  483. log_errors = On
    ) `3 x1 f" l) L" g

  484. 3 x* t' n' i5 w- O; m4 B2 q
  485. ; Set maximum length of log_errors. In error_log information about the source is- i: u% @: N% f2 H) N& _3 ~
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all." S4 [- [, K; t  C7 E+ F* p
  487. ; http://php.net/log-errors-max-len5 K! T. Y0 J& t: Q" A9 E* L
  488. log_errors_max_len = 10245 o( @+ J7 Q6 M( Q4 K
  489. ' p6 j* S& r% L% X5 L: A" w
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same+ l# ]: p+ d5 `& i+ y
  491. ; line unless ignore_repeated_source is set true.0 t% T# U* m9 V8 `2 l0 }
  492. ; http://php.net/ignore-repeated-errors
    7 l! U0 ^- M8 L( M( E5 p+ G
  493. ignore_repeated_errors = Off' }: S$ |- X& H& O3 C

  494. 7 [5 u0 D- j6 _7 }
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    3 J  v, Y9 C9 m4 w! T, L  O7 S2 A
  496. ; is On you will not log errors with repeated messages from different files or
    7 j9 o: f! K3 j$ C' N* ^
  497. ; source lines.
    , I7 K( i+ J1 F, D; j* ]% I% G7 W& R: w
  498. ; http://php.net/ignore-repeated-source' A7 k( h7 P2 o" f3 ^+ Q
  499. ignore_repeated_source = Off
    & B: ]3 `2 M) @: ?

  500. # F/ c  d. }) D( J
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on# o, ?; q3 R  r0 i2 p6 Y
  502. ; stdout or in the log). This has only effect in a debug compile, and if  b0 C: r! n; ~0 i4 f6 L; f4 u
  503. ; error reporting includes E_WARNING in the allowed list" ^6 C8 n7 K( ?1 d# h; L
  504. ; http://php.net/report-memleaks0 h1 Q: s( M+ q, x) h9 Q
  505. report_memleaks = On1 {3 A8 ?7 D& K
  506. 3 T) _1 O! Y, p4 C
  507. ; This setting is on by default.
    ) u% p, @' c5 z# ~
  508. ;report_zend_debug = 0( U2 ~( Z" f7 T  N+ h
  509. ! L* z; _2 I! a! a6 W
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value0 A# g* Z( H0 f: N( c, F, k) m
  511. ; to On can assist in debugging and is appropriate for development servers. It should$ z% f) ]- g' d" j
  512. ; however be disabled on production servers.
    + l2 X5 x. d6 n* q4 I
  513. ; Default Value: Off% e7 ^" @1 P/ _0 L
  514. ; Development Value: On
    1 ?8 ~) d# ?/ L4 B- N) ]
  515. ; Production Value: Off$ I* N1 O: p9 P& [9 E8 {, P3 q
  516. ; http://php.net/track-errors
    6 S- m! C  V( E" P* y6 b8 E" Y
  517. track_errors = Off, R3 V' o7 W5 u; y" D

  518. * {0 {5 I0 [/ |0 W! Y$ g8 x
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    + @& j2 g, \# @$ e8 E
  520. ; http://php.net/xmlrpc-errors
    6 E% |, _# t* h; M+ ]) {2 g# _. ]: E
  521. ;xmlrpc_errors = 0' K4 H) |) g4 J5 C$ O# T2 \$ |

  522. & R) P2 c3 H, F
  523. ; An XML-RPC faultCode( H3 _+ d% Z1 t+ o! S, D6 G
  524. ;xmlrpc_error_number = 04 V9 p  T- h) W  n

  525. 0 o, ~" ?3 [% e# |
  526. ; When PHP displays or logs an error, it has the capability of formatting the# h+ A/ m: R% ]- y$ t  T
  527. ; error message as HTML for easier reading. This directive controls whether
    2 Q2 ]0 ~) b6 c4 O& A
  528. ; the error message is formatted as HTML or not.
    6 P, x% e2 f1 U% Q
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI0 {, `' k5 Q( D" E4 N  D0 }/ Z9 `
  530. ; Default Value: On
    . r8 \  n  M- F& [! u8 X: O& {7 ^
  531. ; Development Value: On* \! l* O) k/ M! C* R2 c
  532. ; Production value: On
    ' m2 v  V$ Z' \( \
  533. ; http://php.net/html-errors
    3 T% ~: y+ K9 B, U' _
  534. html_errors = On
    * S5 Z& H, L( [. f6 c5 R6 B0 W6 c

  535. $ }% H3 s7 n# y4 B* H
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    + w* P+ \4 B& ?1 J6 g2 p1 ^
  537. ; produces clickable error messages that direct to a page describing the error
    , ]+ Q8 a+ U, ^4 }
  538. ; or function causing the error in detail.
    ) f8 m+ j9 Y( d" R
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    , k" q% }, |: ]+ M
  540. ; and change docref_root to the base URL of your local copy including the
    : T, e7 m. s$ [9 {4 b
  541. ; leading '/'. You must also specify the file extension being used including
    ( o! d$ t2 l7 S5 W" G0 K
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    8 }) H; O# h/ x0 b4 ~' T4 j/ o
  543. ; case no links to documentation are generated.' T% b. f! C, A' q- d
  544. ; Note: Never use this feature for production boxes.7 ?0 t& Z. K4 k& |2 ^
  545. ; http://php.net/docref-root/ P' Z* O( P% p7 U* `7 b
  546. ; Examples
    , q: W, \; ?" d, v
  547. ;docref_root = "/phpmanual/"
    ; E! [/ r" M% H, K8 o) ^8 p

  548. % J; R+ f  N9 X$ F3 ]. L* o8 y- e) K; [
  549. ; http://php.net/docref-ext
    # J# \/ C8 O  F3 Q  d! Q
  550. ;docref_ext = .html
    + m+ f/ }* H% l" A2 \4 c, w( h4 _
  551. 9 Z# R; B" u0 ]9 D! L
  552. ; String to output before an error message. PHP's default behavior is to leave' x6 E& B! h$ ^; i, h5 }' M
  553. ; this setting blank.3 c1 T5 c5 W% V( }- a: B
  554. ; http://php.net/error-prepend-string
    ; r" ]- g. Z% Y: ]2 m4 `9 e
  555. ; Example:
    " I9 C0 w6 J# H4 h6 v& F. }
  556. ;error_prepend_string = "<span style='color: #ff0000'>") I! y4 j# U! D$ T& M
  557. 3 ~9 B6 s1 [( S' r$ y
  558. ; String to output after an error message. PHP's default behavior is to leave
      ^2 S' Q: s2 Z6 @8 ]
  559. ; this setting blank.
    ; ?7 P! d  r: t' S% M$ [
  560. ; http://php.net/error-append-string9 X( G# l  v% Z1 n8 j6 Z
  561. ; Example:
    3 P* s4 ^8 b+ {8 {
  562. ;error_append_string = "</span>"+ n9 P( ?: @, d# R

  563.   Y" G( L6 Z% y
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    & i8 x3 c1 K) n) e" G5 O8 S8 p" ~
  565. ; empty.! B2 l! a9 M! E( I3 h' _
  566. ; http://php.net/error-log
    ' }8 z5 z  N- z6 z
  567. ; Example:. e' j( h8 b  Y3 d' _7 Q
  568. ;error_log = php_errors.log% q  i, Q# O" C) y
  569. ; Log errors to syslog (Event Log on Windows).
    + T" w8 W6 P" `
  570. ;error_log = syslog
    3 ], f9 O/ i2 H% ^$ ^: q5 |
  571. - j/ U- s. S1 c
  572. ;windows.show_crt_warning* t! z7 b. ~" P+ u4 t
  573. ; Default value: 0- d; Y. E: h! [+ G- u
  574. ; Development value: 0
    ( V" t1 x# j2 F4 A) h4 g
  575. ; Production value: 0
    9 _. G: E6 E) K1 a" {$ }
  576. ( {% ]4 h/ ^) Z0 V
  577. ;;;;;;;;;;;;;;;;;
      L8 m' X& a- m' _0 u
  578. ; Data Handling ;: k6 N3 v. K8 {  p7 ?
  579. ;;;;;;;;;;;;;;;;;! x: }$ }9 P: |- p8 a
  580. 3 b- p  D: w- V) F# M* u. O% M
  581. ; The separator used in PHP generated URLs to separate arguments.- N+ t( I- ?' U: J( [/ _3 m0 G
  582. ; PHP's default setting is "&".( W, }" ~! Z/ d, B! x8 Y
  583. ; http://php.net/arg-separator.output
    / i$ k) u- }5 h9 \
  584. ; Example:. _( E8 y' v4 T4 Q$ y; c
  585. ;arg_separator.output = "&") [) i3 t- N, {3 X
  586. % h  V) z" ~) a) s
  587. ; List of separator(s) used by PHP to parse input URLs into variables.! \) [) t* v' b3 j
  588. ; PHP's default setting is "&".5 t; m# q' z( A  l
  589. ; NOTE: Every character in this directive is considered as separator!
    2 L( U  {! y: d9 C% q' P& a) \
  590. ; http://php.net/arg-separator.input
    3 O0 ^/ [& l# d9 y  L1 x0 U
  591. ; Example:
    4 b9 \  H- H7 g0 |# Y7 [
  592. ;arg_separator.input = ";&"  C& L" g7 C' [# {- t& @2 N
  593. ' K2 O# ^, O# W+ p# E) H1 Z: F- U
  594. ; This directive determines which super global arrays are registered when PHP, {3 l7 y  B$ E3 N! p
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    ' O% u- h2 h  s9 K; Q
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    ! {: x+ T  Z  j) _1 x) \- G
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    " p4 D" E8 P, P8 C& T# N+ o
  598. ; used as the others, ENV is not recommended on productions servers. You  d! K3 ]" g# ^
  599. ; can still get access to the environment variables through getenv() should you+ j" `( L% ~0 |% h8 O: n
  600. ; need to.
    : R- @6 D0 {/ A+ Z1 K
  601. ; Default Value: "EGPCS"# V% b6 L3 @6 t! |9 ?2 p( v' j# N
  602. ; Development Value: "GPCS"
    1 k  S$ b( ]: L) m8 \
  603. ; Production Value: "GPCS";
    # e* |  e2 ^# }/ a) v
  604. ; http://php.net/variables-order
      q' p1 n/ e) F8 Z3 b- ?
  605. variables_order = "GPCS"9 q: j% E( X% }/ @1 x: g8 y7 Y6 Y# i
  606. # x; C- P+ v  O
  607. ; This directive determines which super global data (G,P & C) should be7 W: y9 y7 ?! n; y% S! c5 [5 I
  608. ; registered into the super global array REQUEST. If so, it also determines, E  a! p: C4 i6 [* u" a$ x( j6 J
  609. ; the order in which that data is registered. The values for this directive
    8 O* H! I: g$ D# y! X9 I; Q
  610. ; are specified in the same manner as the variables_order directive,9 O5 O- `, I% |$ |7 @) q0 z
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set& M+ q4 E  H' P0 m  Z
  612. ; in the variables_order directive. It does not mean it will leave the super
    1 y; m/ x1 k+ x& ]* ~+ `
  613. ; globals array REQUEST empty.2 U7 V: J# G. Z; W7 g
  614. ; Default Value: None
    0 I& x9 E- }6 d/ k
  615. ; Development Value: "GP"1 s- N% e) i6 }5 y/ a
  616. ; Production Value: "GP"
    ' l7 Y& p: X& G  w  l
  617. ; http://php.net/request-order
    / i; |$ {* W3 a2 U) q
  618. request_order = "GP"
    . Q+ ^% U7 f* R4 H  @
  619. - s& [. d( Q* n. Z5 g" I2 v
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    8 b; \6 I( ~/ a
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script" ^1 u4 l3 N, `* u$ n" ]9 V0 _
  622. ; is invoked. $argc contains an integer representing the number of arguments* Q/ x& V2 f) ?% c
  623. ; that were passed when the script was invoked. These arrays are extremely0 O0 G, H4 Y7 q
  624. ; useful when running scripts from the command line. When this directive is6 ~4 Y& K0 `& t
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    ) d3 U4 D6 Z0 z) T/ Z3 V
  626. ; a script is executed. For performance reasons, this feature should be disabled
    1 O% r1 q( q9 t+ @9 C2 T
  627. ; on production servers., i1 C, b) ^# X/ n6 W6 N. l. D
  628. ; Note: This directive is hardcoded to On for the CLI SAPI+ W, S0 _. j( n" o3 E+ _  t
  629. ; Default Value: On
    , f: }# |+ `' a* l
  630. ; Development Value: Off
    4 s4 V1 i& @( ^' w$ S
  631. ; Production Value: Off
    ! D) u( B7 r+ b4 f( x
  632. ; http://php.net/register-argc-argv7 M8 z/ t8 s4 w1 i4 g- H& P
  633. register_argc_argv = Off
    # \# w  d  T$ u3 y0 X$ q, @+ y

  634. ; O' o% O7 u7 ^; l% w4 w
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're, ?4 V7 c/ i4 I9 \! ^  @* U* g
  636. ; first used (Just In Time) instead of when the script starts. If these: i* [2 _+ \9 Z
  637. ; variables are not used within a script, having this directive on will result: i/ I: T* _+ s6 N. d; N
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    " S7 K) ~$ n+ j$ r8 J0 Q
  639. ; for this directive to have any affect.
    ( m$ f& S; F1 ~2 Y& s6 T
  640. ; http://php.net/auto-globals-jit
    : s" ?) m% I* X- u0 ?
  641. auto_globals_jit = On
    / j2 d! i& b$ r1 ^: @" h! l

  642.   b  r# x! g1 U- l# |" x1 }2 _. Z
  643. ; Whether PHP will read the POST data.7 w  ~# Z- ?& b9 K$ y
  644. ; This option is enabled by default.
    ' w+ K$ o' f8 a. t! ?
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST2 [( l( d7 I7 x5 `. ~
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    3 f9 ]* A( v; d/ U4 _
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    5 f/ m& z0 T4 y( u7 ?& ~( C3 }7 i2 s/ `
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    ( W" v" l. G3 y' Z4 T2 m
  649. ; http://php.net/enable-post-data-reading4 J1 M: j# x9 r* s! c
  650. ;enable_post_data_reading = Off6 @$ L9 n3 D' ]: }9 f* Y: N# {

  651. 9 N  H) O9 V* D  g& T0 Z
  652. ; Maximum size of POST data that PHP will accept.
    2 G3 P4 w0 O* H
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading# d* T" u) n8 @1 ~3 Z# m$ N! g9 n
  654. ; is disabled through enable_post_data_reading.! G, q8 d- b: L$ |
  655. ; http://php.net/post-max-size5 \- Y* y. J% J3 k
  656. post_max_size = 50M
    $ _* I7 F' E% v3 A2 J; O7 _. T, Y; q
  657. ; n' g8 ~3 `6 w9 c4 D, t- F' T
  658. ; Automatically add files before PHP document./ B; C; J) [4 r
  659. ; http://php.net/auto-prepend-file2 N! \$ s" J  X6 {0 x* h
  660. auto_prepend_file =
    & F# C5 `2 g( ?& g2 ^
  661. : V0 Y- `$ F; t' G# B5 i* v4 k1 j8 X- [
  662. ; Automatically add files after PHP document.# _( ]& ~2 Q2 }! [: |: h9 |
  663. ; http://php.net/auto-append-file' w0 K2 O: I& Z" g9 L+ W* l8 p
  664. auto_append_file =
    . K  D/ U6 q7 {

  665. : T4 f; y( y% L
  666. ; By default, PHP will output a media type using the Content-Type header. To8 ]1 H% W4 W* [
  667. ; disable this, simply set it to be empty.& g/ R+ d( T; T0 j( p" e- x$ i* a
  668. ;
    # {4 r$ m0 z" o" A* d# C7 Z
  669. ; PHP's built-in default media type is set to text/html.' l- y0 R- c' }$ G: M9 E
  670. ; http://php.net/default-mimetype5 M$ b% R, S8 \9 [! d
  671. default_mimetype = "text/html"$ K) I7 x) H  e) A% ?

  672. ( @: u" N. X- g, k( B! K
  673. ; PHP's default character set is set to UTF-8.4 T& }4 k4 |. ~
  674. ; http://php.net/default-charset2 a, B/ X& ?5 q" Z1 k% G$ ]
  675. default_charset = "UTF-8"- {( u. d1 G; g
  676. ; n9 b1 O' _' h: \" H; d
  677. ; PHP internal character encoding is set to empty." D3 S: P5 @! [7 I
  678. ; If empty, default_charset is used.
    & P) i# M) h/ c5 F: }* q4 n
  679. ; http://php.net/internal-encoding* z/ D( d1 e$ {: x' L: [+ N0 p
  680. ;internal_encoding =0 b7 W0 L7 ]6 a" ^- E1 k

  681. # D, ], h0 O3 {. }
  682. ; PHP input character encoding is set to empty.0 `- I+ r& j0 L. e! g6 q( M
  683. ; If empty, default_charset is used.& M, A. s% y4 z- j. D' C( A
  684. ; http://php.net/input-encoding  d1 t- |  R) S" D9 ~! b1 P; `
  685. ;input_encoding =
    4 V9 d, y$ ~4 R$ E
  686. - {" }% m- O* [% j% Q
  687. ; PHP output character encoding is set to empty.. P0 k3 }1 ~  a
  688. ; If empty, default_charset is used.
    : r$ E1 O6 m; v1 B6 i0 J( u
  689. ; See also output_buffer.& @& W6 q: P; C: `# ~6 i, p: @  y
  690. ; http://php.net/output-encoding
    . x/ @* z' C. v
  691. ;output_encoding =( o8 B9 a* |2 p
  692. 4 G* w& u5 u+ r7 _6 k7 W9 ^* f- ?2 ]
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    9 U0 C, ^" r1 h6 z5 k
  694. ; Paths and Directories ;
    - X6 ^4 @( G- F
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    ! W4 N' B- `) U
  696. 1 @4 x% T* a/ r& [+ ~2 q5 v0 e2 U6 u
  697. ; UNIX: "/path1:/path2"
    9 v3 Y( D! B0 w1 T( \7 ~
  698. ;include_path = ".:/php/includes"
    # B5 J; R% R7 g. h' p1 H1 Q2 T# i
  699. ;
    + [5 b; `" w& B" R! w
  700. ; Windows: "\path1;\path2"9 d; V) k: g% Y7 k4 `
  701. ;include_path = ".;c:\php\includes"
    * I2 H2 j4 k1 J  B& i; [' t2 ]
  702. ;* L' }- `( g' w9 [
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    9 |' T9 b8 E; X' `; E) N# j- s
  704. ; http://php.net/include-path8 }& m+ R0 y: L' {5 b$ D9 l

  705. : h( U5 R6 Y! `; b4 M; p+ j. Z
  706. ; The root of the PHP pages, used only if nonempty.5 J3 z9 \& G9 K) Y
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    ) u9 s' W; U( E, E0 n& O- E
  708. ; if you are running php as a CGI under any web server (other than IIS)7 m. U$ }) _+ e$ C. p) k
  709. ; see documentation for security issues.  The alternate is to use the
    ; }4 [; w+ O& ^2 \- R" D! e
  710. ; cgi.force_redirect configuration below
    % ^  [, |! W4 Q& g0 N2 V" @! p; G
  711. ; http://php.net/doc-root
    " ~" A( V% h& X) \$ Z7 k
  712. doc_root =
    ' f6 t, |" z. D$ B; }6 N

  713. 5 N7 m* i6 f3 U3 b
  714. ; The directory under which PHP opens the script using /~username used only# w2 L3 R  [- `# a9 c2 }+ J
  715. ; if nonempty.
    3 |! ?1 C$ P2 g* q
  716. ; http://php.net/user-dir
    " l) T7 A  W3 c9 ?2 l
  717. user_dir =6 g& I7 R! i9 [7 V% D
  718. # V4 T+ G4 E) x3 ^5 Q5 S
  719. ; Directory in which the loadable extensions (modules) reside.( V6 K! D# W2 Y: v5 I
  720. ; http://php.net/extension-dir
    ! b; ?' I7 ?' J, D
  721. ; extension_dir = "./"
    + a) c6 P/ G9 E0 k
  722. ; On windows:' b0 Q  m0 Z: ?0 L! [
  723. ; extension_dir = "ext"
    & x! P  Q3 _% i! _" y1 Y
  724. 6 y* h4 d* y& H; |  p+ ?
  725. ; Directory where the temporary files should be placed.
      G  }2 B/ w& t4 u/ X% N
  726. ; Defaults to the system default (see sys_get_temp_dir)  e3 U$ q! @" I" \& p
  727. ; sys_temp_dir = "/tmp"
    7 o3 y0 y2 G* S; X7 q
  728. 6 _8 f  h& `8 x- c) V  f
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    1 p7 X2 v. y- Y( T; j
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically% u3 A# ~& s; G
  731. ; disabled on them.% I; o9 w' t7 a1 ~
  732. ; http://php.net/enable-dl) \5 A/ m5 u' v; A" h. ]3 g
  733. enable_dl = Off
      H" d- s2 l9 X: V% ?) S6 g
  734. ( H# `  G: I; m& b- Y* y
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    ) Y' |! a: G/ ^% |) Z
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    9 C9 _8 Y  g5 Y- ^  J& Z& |, g
  737. ; turn it off here AT YOUR OWN RISK
    . t4 V# C: {4 t8 @0 Y, j: d1 _6 N
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    ! R+ q3 K6 C4 ~8 r! o5 g2 U
  739. ; http://php.net/cgi.force-redirect
    ! \# ^8 P3 L( D# `
  740. ;cgi.force_redirect = 1
    * O$ t  d) r4 }

  741. . D$ t) K. I( y: L$ N
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    % w' j* ~9 x6 I9 Q
  743. ; every request. PHP's default behavior is to disable this feature.: ^& I: Z: T0 S9 N
  744. ;cgi.nph = 1  ?! X5 u) B! K2 d

  745. , E& U1 h' ^3 t
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape- O2 ?' p. d; p. ^: I+ T
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    ! P) L& @+ j& J, ^3 M
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
      W- G$ b' L7 x: ~' X
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    8 ^, P; o/ y1 L' t/ t, T
  750. ; http://php.net/cgi.redirect-status-env1 x/ X' R( o8 l( ^" F6 {
  751. ;cgi.redirect_status_env =  x8 Y2 v3 Z! I, X. C

  752. # L7 m" x* G# n! P6 g7 U$ j8 x
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's) H. L, i, C5 x/ n+ C
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok* j% q! |* x& w: e! l
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    0 `0 @) Q4 j& k3 D% U
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    ! v: n, Y1 T6 a, L, p. D+ z4 y  X
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts# ]. W- q5 `2 r  z+ ?4 i
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    5 f/ {- j  I6 V6 c; s
  759. ; http://php.net/cgi.fix-pathinfo
    + Q$ L2 }( j* L0 O$ z
  760. cgi.fix_pathinfo=19 X* W' M- C* w  g- m6 B

  761. 4 c9 J- \) }) g6 M* ^, ~
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    $ s5 X5 |& N! i
  763. ; of the web tree and people will not be able to circumvent .htaccess security./ E6 K% B! P, O- J# ]0 y' P
  764. ; http://php.net/cgi.dicard-path- W5 U) R% G4 m5 C, T9 |4 x' y3 J: W
  765. ;cgi.discard_path=1
    2 |: r2 H& K  B0 e. [! {# }

  766. % d* C8 V- @. z, ^' J% L
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    , Z8 i9 w# s" g3 E
  768. ; security tokens of the calling client.  This allows IIS to define the
    # E0 n8 B+ F% u1 _8 t
  769. ; security context that the request runs under.  mod_fastcgi under Apache6 u* z# i9 b  U5 K1 S
  770. ; does not currently support this feature (03/17/2002)
    ( w6 Q) i3 B  I1 _6 y! D# ~5 j
  771. ; Set to 1 if running under IIS.  Default is zero.$ l3 D  E" j0 Q* B" v
  772. ; http://php.net/fastcgi.impersonate+ b- Y/ d& `4 N
  773. ;fastcgi.impersonate = 11 e/ F7 a" X4 P( c1 Z' G6 L

  774. ; U0 D# c: ~& h+ x$ n* k
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    2 f* c1 y  g$ v( @% T. i7 \
  776. ; this feature.. R3 Z( L1 o# B7 v
  777. ;fastcgi.logging = 0
    5 K+ G( C2 R( [* r5 z
  778. % A4 w/ ~' p: M# Q. K# S
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to) Q" i  a: c$ [0 l6 Y* `; d+ H
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    ) \8 g' b) l6 p9 P& |0 |
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    / i  |$ h+ b' N, ~2 {
  782. ; RFC2616 compliant header.
    & R7 n( \5 s. K$ _: Z) u
  783. ; Default is zero.4 {0 B4 n1 M% g0 d8 K+ y
  784. ; http://php.net/cgi.rfc2616-headers
    * A5 C% L! G3 F8 s  _9 j
  785. ;cgi.rfc2616_headers = 0
    , b0 m9 L/ U' @$ Z" A# E% _

  786. / D  q3 Y1 h  a  ]
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    # J5 y+ H: ~. L6 e
  788. ; (shebang) at the top of the running script. This line might be needed if the/ P  m6 m$ t" E1 s8 e  p8 e
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI. e# G1 ]/ V. [$ z, L! h, H! Z& U6 ~' T
  790. ; mode skips this line and ignores its content if this directive is turned on.
    " t! X7 o# C0 e. A* C# H
  791. ; http://php.net/cgi.check-shebang-line
    " _9 ^7 A6 T& l
  792. ;cgi.check_shebang_line=1
    ( T" @( v& R0 \% t
  793. 9 `* J2 N8 f; ^/ g# q: j6 C
  794. ;;;;;;;;;;;;;;;;; E# }9 \2 o" U! D' ^
  795. ; File Uploads ;
    " k- D5 U" }, ^! o
  796. ;;;;;;;;;;;;;;;;% J' B% i7 R9 Z& Q; n. b# y

  797. 6 \) N  ]5 C( r1 j0 O8 k4 n
  798. ; Whether to allow HTTP file uploads.1 f: A+ L! Y. k3 x$ J$ K
  799. ; http://php.net/file-uploads
    ; S, e  [7 H, y2 v( G
  800. file_uploads = On
    9 u6 F4 i6 P! Z

  801. . t" Z$ m/ u* u; P1 y8 q1 ?
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    + |6 `# Q* v& x* g5 K, p
  803. ; specified).
    + F, `6 E% a# P, I' H# X
  804. ; http://php.net/upload-tmp-dir
    + ^8 E  w( A7 z; m4 u4 J" t
  805. ;upload_tmp_dir =( Z2 P8 V/ \# T+ W
  806. 3 ?- I2 h  R, L" `
  807. ; Maximum allowed size for uploaded files.
    3 O; W5 W# N% Z
  808. ; http://php.net/upload-max-filesize1 z3 E3 ~4 ]6 K5 U; @7 x
  809. upload_max_filesize = 50M
    0 l( |$ W; q8 ?% [0 o% ~5 x

  810. # J/ X0 ?4 ?  e9 \1 ~
  811. ; Maximum number of files that can be uploaded via a single request
    1 V1 i" F* L- k
  812. max_file_uploads = 20
    ) L9 Q% A# E2 H0 J$ h
  813. 0 O) J  z# `  M. B. [* o& Q5 ^
  814. ;;;;;;;;;;;;;;;;;;
    5 B7 E6 r" b: ?+ b) k+ K
  815. ; Fopen wrappers ;
    ( G) d! ]8 J6 v+ M8 j4 P0 a
  816. ;;;;;;;;;;;;;;;;;;3 C" u! ~2 \# [* ?3 m/ q
  817. , B4 Q% P8 M8 R4 r
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    + I6 S% C) @2 A& ^! W+ b; D
  819. ; http://php.net/allow-url-fopen0 H2 q. {+ i( s+ l0 v$ h. W% s
  820. allow_url_fopen = On
    1 N0 m0 k! c" m) o: t1 _
  821. ) x/ Z& c2 C5 `/ `& f) Y
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    / u: y% v( U# C+ m$ e
  823. ; http://php.net/allow-url-include
    " L% p) ?$ h: B! z" b( _
  824. allow_url_include = Off
    ( S1 |  ~" O8 A% q
  825. + T$ K2 [/ i9 Y( i
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    4 `8 D# s& m# s2 t8 E  N! y$ Q/ ?
  827. ; for this is empty.6 ~- ^8 v5 n/ O' W! A* _
  828. ; http://php.net/from% _& p: L8 j& t4 X
  829. ;from="john@doe.com"
    + e$ [2 d8 {/ t& Q% i

  830. $ L6 z% z2 L9 B
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    - A! h3 v6 [. B+ n$ `
  832. ; http://php.net/user-agent7 q# n: y3 \2 ^
  833. ;user_agent="PHP"
    + x  s- E2 Y2 g( L0 I! G% g
  834. 2 E) I, w4 Y: V" e) z6 m1 p9 J' D
  835. ; Default timeout for socket based streams (seconds)5 ]6 S' u* J6 ?3 f! k
  836. ; http://php.net/default-socket-timeout  r, Q+ Y$ ~. N# c
  837. default_socket_timeout = 60+ X- h* ?; E) A% ^' y! v; q* m
  838. : j/ @1 V& U5 p; s! o  m* I6 @! v. q
  839. ; If your scripts have to deal with files from Macintosh systems,
      A5 `' Z& Q6 g2 g
  840. ; or you are running on a Mac and need to deal with files from
      T/ L+ q1 D1 U8 S) N6 V! P8 a
  841. ; unix or win32 systems, setting this flag will cause PHP to
    4 |* ]2 K4 [5 c: a9 c( i
  842. ; automatically detect the EOL character in those files so that
    ( m: ~- t# v( O# C3 Z, o; F
  843. ; fgets() and file() will work regardless of the source of the file.
    - m1 Q1 Q' L* K5 s& k. q1 \' o
  844. ; http://php.net/auto-detect-line-endings
    5 P) P' F' A' q9 N
  845. ;auto_detect_line_endings = Off
    % x) j; J* `3 M% u8 h( O- Z6 P

  846. 2 [3 i3 |5 w! \! }$ S
  847. ;;;;;;;;;;;;;;;;;;;;;;
    0 X1 u$ a! ^" z0 _; @
  848. ; Dynamic Extensions ;7 d* K1 T$ d1 b' {/ F
  849. ;;;;;;;;;;;;;;;;;;;;;;3 S' @' N7 E% q9 n

  850. " ^3 Z" }. [5 |, k% {* p
  851. ; If you wish to have an extension loaded automatically, use the following
      V0 Q- [6 v3 Z/ ~, X& H
  852. ; syntax:
    * _4 }+ s- s; t2 B6 P1 ]
  853. ;- i9 `% h- ]3 A. H
  854. ;   extension=modulename.extension
    8 I5 ]' h6 N3 g) r; {
  855. ;. l. @; u5 n8 }6 c; n0 @
  856. ; For example, on Windows:
    4 q# P% b  R1 U4 E$ M) x  A( W
  857. ;3 ^5 ]5 r. n. s( R$ _
  858. ;   extension=msql.dll
    + N7 ]8 ^! _- |# F6 ?
  859. ;
    6 E, E, c! j( ]9 g
  860. ; ... or under UNIX:
    & P) R# Z; q- S' v( }/ W1 N
  861. ;2 y/ I) W8 k* d' ]' m- I; t
  862. ;   extension=msql.so
    # E# m' K, t4 \" }; {
  863. ;
    - g2 y; C5 p3 \+ E
  864. ; ... or with a path:
    & e. w. ^2 k2 y+ y9 R- V/ I
  865. ;+ g$ v& F2 h. {. F6 N
  866. ;   extension=/path/to/extension/msql.so: L, J. S+ x# C
  867. ;/ r/ t9 M2 b1 N) A
  868. ; If you only provide the name of the extension, PHP will look for it in its
    ; Y) W+ V4 ~# ?  n
  869. ; default extension directory.) V/ I4 k) |% S
  870. ;
      d$ J7 D. D5 ]; i/ H# ?. I+ e
  871. ; Windows Extensions
      z- d6 q, p  D7 F
  872. ; Note that ODBC support is built in, so no dll is needed for it.! ?) ~  Y$ ]4 v' y
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)- i; r# A" l& _1 i
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).3 d, v6 [- ~% I, v$ n" Y7 }2 Y- Y
  875. ; Be sure to appropriately set the extension_dir directive.: A! c( i' \1 }. [
  876. ;/ Q5 A* h- e: y- N& G5 q  Z; N5 y
  877. ;extension=php_bz2.dll
    3 u6 ?5 M6 L- Q' M
  878. ;extension=php_curl.dll3 m0 x# B; o7 c3 }1 W
  879. ;extension=php_fileinfo.dll
    2 d+ I& f  G4 U" Z% H+ H
  880. ;extension=php_ftp.dll
    : ]% I7 }: ^: Z& B, @: w$ t* [/ o1 b
  881. ;extension=php_gd2.dll) p1 ~5 v% w# c( f9 Y2 E
  882. ;extension=php_gettext.dll
    , L# t3 C2 e9 {0 N0 Z  `4 F
  883. ;extension=php_gmp.dll3 ]& C& h) v3 R7 E; [! H
  884. ;extension=php_intl.dll0 u& p, Z6 w7 x' A( M! n5 |7 ?
  885. ;extension=php_imap.dll7 e5 S/ j4 M$ M  {( B( \6 H1 F
  886. ;extension=php_interbase.dll' g& `$ ^; w( v9 \5 O9 R
  887. ;extension=php_ldap.dll: W5 l  @$ [% {
  888. ;extension=php_mbstring.dll
    1 E4 C: @) b0 N# W" G
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it* ?! q( k  s0 |# Y2 g) [  S" `
  890. ;extension=php_mysqli.dll9 g, H: y$ O( b- v6 k
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client6 v3 u' @# a/ b
  892. ;extension=php_openssl.dll
    7 U/ }2 `3 d6 N- e" l
  893. ;extension=php_pdo_firebird.dll$ J8 E$ y7 S6 G9 T$ U) I9 t
  894. ;extension=php_pdo_mysql.dll
    : V3 F9 h6 U! Y( R) {
  895. ;extension=php_pdo_oci.dll
    0 h# C  @9 O! t0 ~+ F! J! I
  896. ;extension=php_pdo_odbc.dll$ S+ t9 y, d5 H4 o1 E# s/ e
  897. ;extension=php_pdo_pgsql.dll
    6 m; i1 R" A; }
  898. ;extension=php_pdo_sqlite.dll
    9 j) D6 e# l, I  G
  899. ;extension=php_pgsql.dll. F& ^* q: ~) u8 N
  900. ;extension=php_shmop.dll+ |' S9 G! ]! x% @* r: }
  901. ! D$ x3 i/ c: `# M5 P& M0 O7 w
  902. ; The MIBS data available in the PHP distribution must be installed.; \- [) Q+ A" }5 U4 ?9 T7 K! c4 p
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    * K  _( n3 J( y+ T$ k- G
  904. ;extension=php_snmp.dll
    ) ^: o" S' q: {6 {; B
  905. : A1 C# v# q% E. j# _. i2 P+ z. z
  906. ;extension=php_soap.dll- h% ~( K9 Y, ^. O" d1 s" f
  907. ;extension=php_sockets.dll5 ^& H# T/ t7 g# u, D. _
  908. ;extension=php_sqlite3.dll+ i" d+ ~7 G! ]7 t$ e- B
  909. ;extension=php_tidy.dll+ T3 I) F9 }7 d7 f4 R; @/ ~
  910. ;extension=php_xmlrpc.dll3 |" G6 M" V+ d- q3 k+ I
  911. ;extension=php_xsl.dll, \  N( b( V' Z* C8 D) m* B' C

  912. 6 v" Y1 z' z! q/ C) ?9 q" O
  913. ;;;;;;;;;;;;;;;;;;;$ {+ p. M1 I7 R! f# T# W4 T
  914. ; Module Settings ;1 o& ^' R4 H' ?: a+ U+ `* O
  915. ;;;;;;;;;;;;;;;;;;;
    , W, |; S7 K$ Q& Z, Q' R/ F4 L
  916. ) ~  _% B) ~% k3 B5 h
  917. [CLI Server]
    5 _! {9 c3 }& u% k& O; u6 c! F! @, I. U
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    5 s9 d2 [5 H3 ?; c  L; W" a
  919. cli_server.color = On6 Z4 e, l8 ]. K' f9 D

  920. 3 d, q  V, R% F9 z3 Z
  921. [Date]
    0 ^" y) z2 M' \; A2 `
  922. ; Defines the default timezone used by the date functions
    * ^4 O" i" |+ }- F( s7 @
  923. ; http://php.net/date.timezone
    ' ]* o: k, s: N! z( T( s0 R
  924. date.timezone = PRC
    / H: p" l; g/ u4 v
  925. ! |) A: \: j, y! x0 B
  926. ; http://php.net/date.default-latitude
    ; u  m# j1 [( K% h# b2 R/ O+ E2 T
  927. ;date.default_latitude = 31.7667
    ) g' C, R! K$ G0 L9 w- H9 f3 G
  928.   E, q9 F, E* ]# k* s
  929. ; http://php.net/date.default-longitude
    & c  ~# v4 h9 |$ c$ V) {
  930. ;date.default_longitude = 35.2333: n0 a$ R! H/ ]1 N' H
  931. ! ]$ y7 i& Q2 B! |  T# o
  932. ; http://php.net/date.sunrise-zenith
      A: {3 n9 Z/ g. w) M$ l
  933. ;date.sunrise_zenith = 90.583333* m8 M+ }  Y0 f: F: C- M, G
  934. + L2 L9 S; S# F' t8 O; ?* P
  935. ; http://php.net/date.sunset-zenith
    ; b4 w# |0 {+ b* D) U" P  I
  936. ;date.sunset_zenith = 90.5833335 w8 {+ Z1 L5 J/ |# \3 ~$ P
  937. 2 I  O( V. h6 t  D' T
  938. [filter]
    0 u5 s: c- K3 L/ I
  939. ; http://php.net/filter.default' K! N( b. u, f, @. P
  940. ;filter.default = unsafe_raw
    - K5 p: u% \1 g9 D/ x
  941. / y$ g2 M" }6 F0 t7 h& o5 {7 D
  942. ; http://php.net/filter.default-flags
    ( Q6 J! [0 n1 u3 k) f
  943. ;filter.default_flags =% K9 z/ z- l3 ]+ c" J) v

  944. " M/ Z2 e  \+ K
  945. [iconv]
    - Z4 t0 D: R) `
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.' F& c9 S5 s! A# @2 w
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    - a: {1 B* l9 m. B2 K; \
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding, }% g1 n0 }% h8 l6 y- }
  949. ;iconv.input_encoding =
    " A$ P7 j; U( }' P% Y3 X, Y
  950. 6 a3 T2 s2 c1 b8 \3 }; l7 Y
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    : H$ q( N0 ^, B# S0 z6 Y9 F5 `! t
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    - C# i0 W. v1 l+ i0 A7 B* Y6 j
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    : z/ {, T0 S9 j' T
  954. ;iconv.internal_encoding =# R9 j7 h0 e2 }# _2 W: l
  955. 0 q+ q) A8 O' s% G/ j/ ]( V0 Q6 Y
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.# T: C' ?/ ~- o  E
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.# Z* T: S' y+ n' b2 b
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    % C- M7 E2 K! h
  959. ; To use an output encoding conversion, iconv's output handler must be set
    3 d1 t$ L, U+ R% `3 f
  960. ; otherwise output encoding conversion cannot be performed.
    * a4 d( {2 ^# A3 J, v$ x" A
  961. ;iconv.output_encoding =9 T. S* t. S0 j) _4 h, E
  962. # N& k# K1 z! W
  963. [intl]: V3 U2 ~! P" J" {% V! R
  964. ;intl.default_locale =6 {- W; D2 e  X
  965. ; This directive allows you to produce PHP errors when some error
    * D+ r. s6 K. w5 J8 _3 n
  966. ; happens within intl functions. The value is the level of the error produced.6 N, Y3 j' l' Z) y  K
  967. ; Default is 0, which does not produce any errors." E& s4 T0 t; }5 f: l) S+ q0 b
  968. ;intl.error_level = E_WARNING
    , U% x- A: a  Z# N5 C0 r
  969. ;intl.use_exceptions = 0. y. Y# L6 h) C  V
  970. - H4 P. z. V8 C- j9 y
  971. [sqlite3]
    & {2 b' r9 {: k$ n0 }+ M, o9 z. l2 R
  972. ;sqlite3.extension_dir =
    # Z5 F4 F+ o9 b$ L

  973. 8 U9 B% K( u2 X& L1 d
  974. [Pcre]
    ; Z+ w( K( U4 T3 v& V$ l4 f9 n8 T- g; _
  975. ;PCRE library backtracking limit.
    , c! C% B3 w& s* ~. l1 r# P
  976. ; http://php.net/pcre.backtrack-limit: i" B, ~% \1 o& f' L6 `
  977. ;pcre.backtrack_limit=100000( a' k- F. s3 f, r
  978. 8 l+ V3 A5 D# k6 F3 d$ A' X
  979. ;PCRE library recursion limit.) J4 M/ y$ W8 m; V( ^; y
  980. ;Please note that if you set this value to a high number you may consume all$ f4 A6 z, C, y4 t
  981. ;the available process stack and eventually crash PHP (due to reaching the
    7 n. o0 ?0 A9 _5 h' |+ y) P
  982. ;stack size limit imposed by the Operating System).7 X8 v7 b( z/ X: L: z# q* c
  983. ; http://php.net/pcre.recursion-limit
    6 S2 l1 P9 V7 ^8 D6 X, K
  984. ;pcre.recursion_limit=100000
    7 M. @, N  \  g; t6 C

  985. $ h1 k5 `% G, k5 X
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    " w5 g5 \! g2 q0 N" n+ z
  987. ;library to be compiled with JIT support.7 _7 G8 T7 m) Y  c
  988. ;pcre.jit=1% Y" v+ S8 f! t5 b3 B0 K

  989.   g; @/ @. Q; U& d( _* h
  990. [Pdo]
    5 q/ Q5 b2 ~- y7 G. c) J+ a4 J/ d
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off", t7 \7 T* R" P1 R; F" P9 c/ B& s
  992. ; http://php.net/pdo-odbc.connection-pooling* C1 E2 {6 I4 P( S
  993. ;pdo_odbc.connection_pooling=strict
    ; Y5 z! c8 ~. d9 w
  994. $ e* ~$ |$ Z8 W0 Y
  995. ;pdo_odbc.db2_instance_name1 R& y3 O( R1 X. [+ a  h( q
  996. 8 P7 V) h6 ?4 L5 \! v
  997. [Pdo_mysql]4 {! q/ m2 o' H, R
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache/ y1 T% ^+ Q4 L* x0 o
  999. ; http://php.net/pdo_mysql.cache_size' J, g: \$ E, I% S5 m3 T) x
  1000. pdo_mysql.cache_size = 2000
    # \- s* r+ z! ]

  1001.   Y3 w1 Y* M5 `  i. v0 i
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    0 k+ K5 D7 a# h/ n9 a( j# X6 t
  1003. ; MySQL defaults.
    , A& ~% j0 ~; W7 H: j% e8 E
  1004. ; http://php.net/pdo_mysql.default-socket# i4 B6 H5 l8 h7 P: [) S* w4 x
  1005. pdo_mysql.default_socket=$ Y# w# M- L( r7 ^6 o/ U

  1006. 2 a, e6 f. d% ~
  1007. [Phar]& s2 I6 p4 @4 x+ E9 `
  1008. ; http://php.net/phar.readonly% S9 E2 Y; h8 C; q( O
  1009. ;phar.readonly = On
    7 s3 m; o5 p% w' \1 E: [; j* z

  1010. , R' c) T" [; ?, p/ P, J$ X
  1011. ; http://php.net/phar.require-hash9 u7 W, ~/ @3 s
  1012. ;phar.require_hash = On
    ' v" V! |6 Z! h0 v
  1013. 5 B' i0 q- R; x5 i3 k
  1014. ;phar.cache_list =
    / X: e1 b3 G$ q" \
  1015. ! J7 M3 h' P- D
  1016. [mail function]
    : Q: i8 ]2 h% G. J& w* H
  1017. ; For Win32 only.
    ) Q) k% h; g$ d; h7 M
  1018. ; http://php.net/smtp
    6 ^4 D( x7 o1 B8 g
  1019. SMTP = localhost
    - H- [8 J0 T' b: U( w- @! w
  1020. ; http://php.net/smtp-port
    / H7 L6 r. E% }
  1021. smtp_port = 25% ]9 T9 Y. A" Y3 M; s1 d

  1022. - u( _; \9 {  u1 G4 v$ X4 \  c
  1023. ; For Win32 only.
    . j2 x$ l. v6 m/ W
  1024. ; http://php.net/sendmail-from( y8 O1 V# e4 q% k% {$ c' _
  1025. ;sendmail_from = me@example.com
    8 X/ R0 ?: Y# k* s/ r2 b
  1026. - [9 p* [8 Z, w/ J% V( }! f
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").3 ^% _) X! d* `& d" ~+ k) F
  1028. ; http://php.net/sendmail-path
    . h1 X8 Z8 Z+ E" B) j' q6 k. F) w
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    , W  B" W$ j6 I4 P
  1030. 0 q5 N+ ]0 o  K, U
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    ! D, ^7 q% Z: p  }& e
  1032. ; to the sendmail binary. These parameters will always replace the value of  R4 B. G5 F5 S* G4 j
  1033. ; the 5th parameter to mail().  P2 N0 ~. y  A$ [8 T$ X, {
  1034. ;mail.force_extra_parameters =' J; ~8 R: P4 T8 n$ S
  1035. 1 r0 s4 m. E8 [0 g5 r" H9 J
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    - A4 i$ E$ g. H8 ?0 L
  1037. mail.add_x_header = On8 z0 i( i1 C( T8 V! h+ p# [( g

  1038. 9 q% _6 W7 e5 c2 H! s9 ^
  1039. ; The path to a log file that will log all mail() calls. Log entries include; i  p2 q, o5 N, d7 l  n) N& {
  1040. ; the full path of the script, line number, To address and headers.5 @! m# t5 {: @8 H
  1041. ;mail.log =
    6 v7 b1 E' r; e4 i) Q! D
  1042. ; Log mail to syslog (Event Log on Windows).2 y  o0 ?# [* [6 a
  1043. ;mail.log = syslog
    3 L( X4 K! q+ Q  s; ?% z
  1044. 2 o) a# e7 e: I
  1045. [SQL]
    , b" Q: ^/ }* n
  1046. ; http://php.net/sql.safe-mode
    ' [$ \# S( Z% }! {; R
  1047. sql.safe_mode = Off
    1 ^1 T' W5 d# m" b. c

  1048. ! t0 r; d* [% H% p
  1049. [ODBC]
    8 v5 H- ~* e6 a  N/ n$ m: |# s
  1050. ; http://php.net/odbc.default-db1 h- H' t+ s1 p' y
  1051. ;odbc.default_db    =  Not yet implemented
    ! b5 w' j2 p( A$ C& R- a; c# B: K
  1052. 0 B$ ]7 I" {8 R% Z" _" B
  1053. ; http://php.net/odbc.default-user
    8 V9 h: `: c, ?1 s! X" ~1 P  [( d
  1054. ;odbc.default_user  =  Not yet implemented
    9 r+ h. y: U+ I0 {
  1055. + H# `. W1 |2 V; U& P( P/ K
  1056. ; http://php.net/odbc.default-pw6 I8 E3 l4 m  ^; F4 K" o1 Z1 b4 t
  1057. ;odbc.default_pw    =  Not yet implemented
    : t7 F' h! \& Y: ]/ ]' m
  1058. 2 s9 Z9 H  z0 R. }. O* l
  1059. ; Controls the ODBC cursor model.
    5 Y$ e, H0 l) F1 A0 c7 k% M
  1060. ; Default: SQL_CURSOR_STATIC (default).
    ' M. t% J4 L4 \: y% N* a
  1061. ;odbc.default_cursortype
      l+ F2 w% @+ i1 R$ j

  1062. 1 Y* R6 p% D3 F! c) O
  1063. ; Allow or prevent persistent links.
    1 G1 U' T. Y, O
  1064. ; http://php.net/odbc.allow-persistent+ l5 `" W1 d: B& p
  1065. odbc.allow_persistent = On; c$ Q4 n# T5 S+ z1 U
  1066. ) s( c$ W* [* o+ I' r
  1067. ; Check that a connection is still valid before reuse.0 j" o. f' L( ~6 b1 b$ V
  1068. ; http://php.net/odbc.check-persistent
    : M! v* i8 L! {/ \
  1069. odbc.check_persistent = On( \3 ?, X5 m1 j  _; U4 f# F

  1070. 3 E  T  }# A" e  D3 N% j, ~# M
  1071. ; Maximum number of persistent links.  -1 means no limit.) ^) o7 [) ?. c
  1072. ; http://php.net/odbc.max-persistent# `& I4 N- r( T
  1073. odbc.max_persistent = -1
    . N+ X0 n8 V1 B
  1074. 7 y% Z' ^7 N4 \3 i
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    $ e( h; ~5 c! o  E5 z) ]
  1076. ; http://php.net/odbc.max-links
    3 k0 B; ?; s+ V! D+ o+ p" q
  1077. odbc.max_links = -1& ?( e0 n( d+ h
  1078. # M! D: g) ]5 j8 h# `
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means) B0 |# g  e7 P& A5 X5 @
  1080. ; passthru.: ~5 @# j9 I" f
  1081. ; http://php.net/odbc.defaultlrl6 v4 [! x; `+ w* b& I$ K
  1082. odbc.defaultlrl = 4096; n% Q, ]; P5 b7 ^9 i5 o: j

  1083. # X7 A, m. c3 T1 F
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.3 `/ J  m, e! Z7 w
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation/ s5 _' z1 T) [) {7 I; O5 ]( J  h
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode" {$ m" \  O( k5 H  ~
  1087. ; http://php.net/odbc.defaultbinmode; D( X) k' b1 Q! _$ H9 p7 U
  1088. odbc.defaultbinmode = 1
    $ m  Z  X1 I0 E& Z; L% |* X

  1089. 5 U# b: C! R4 r+ D, Q. a
  1090. ;birdstep.max_links = -1! d/ B' e% }$ W9 L7 y# i

  1091. $ _* r5 u/ a$ K( d
  1092. [Interbase]' k/ @) g3 Q: h; V7 N
  1093. ; Allow or prevent persistent links.8 R0 x/ s% S; b
  1094. ibase.allow_persistent = 1
    ' ~1 R# F4 A9 s

  1095. 9 i; g& S+ r9 ~. h
  1096. ; Maximum number of persistent links.  -1 means no limit.
    * L) Y3 t& P; t$ L) K1 b7 {4 k8 ?
  1097. ibase.max_persistent = -1
    # \3 H, T) ]* }

  1098. 4 }! F/ J" |5 U
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    4 \) r5 F; B! D; F
  1100. ibase.max_links = -1  h1 _# }' c! c' k( K9 u  y

  1101. 8 C! r/ J0 X' ~6 F+ v1 B( J; H
  1102. ; Default database name for ibase_connect()., l/ B1 E( y9 @4 w$ @5 x
  1103. ;ibase.default_db =- E* ?8 Q! X. p. `- X

  1104. ' B$ g! a4 M, B5 R% Z1 g
  1105. ; Default username for ibase_connect().
    ! w; \' a  g. ~0 {
  1106. ;ibase.default_user =- g1 L8 [  k# O7 J% H4 {- j0 H2 g
  1107. & K9 n" u" J7 B4 m4 O
  1108. ; Default password for ibase_connect().% y& b& v: _/ R+ w; r0 V$ v
  1109. ;ibase.default_password =
    8 r% N# e1 Q" [+ T0 H
  1110. 5 R3 U1 r& c+ c# J
  1111. ; Default charset for ibase_connect().
    6 m/ j0 |3 p! j1 o6 c* R
  1112. ;ibase.default_charset =
    & [$ p, Q- d: p0 ^( c: }( `$ K
  1113. 8 H* P$ O0 e- f9 k, R& Q
  1114. ; Default timestamp format.1 r/ O6 K- m( R3 t
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    ; i9 o  @4 T3 B$ ]$ Y
  1116. ) l( @2 M/ N; i2 ~% W) p, L3 |
  1117. ; Default date format.
    2 w. A  G3 Q$ Y# g* K% V3 z
  1118. ibase.dateformat = "%Y-%m-%d"& H: ~2 z2 l2 A+ a& k& p$ o5 {

  1119. 3 }' a, h: k$ r+ F( u
  1120. ; Default time format.
    8 a0 V# N8 E, E. v6 K, U& g
  1121. ibase.timeformat = "%H:%M:%S"
    * h- Y5 c5 _& A2 p
  1122. ) X; {( H- u2 I6 i" \. W( X. O9 [
  1123. [MySQLi]
    # F& r3 v) W  Z' f
  1124. 5 c. c9 |8 U- Y! B+ l8 ~1 c" L4 A* u
  1125. ; Maximum number of persistent links.  -1 means no limit.
    ( K, g% u' @4 }3 ?- ~7 D
  1126. ; http://php.net/mysqli.max-persistent
    , ^. ?6 p0 w. s  s! a
  1127. mysqli.max_persistent = -1) q) X- a& w; u, G5 O, }

  1128. 3 q) Z0 B' }6 Y& {/ c8 g, _
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements# B" I* D( z* w( s/ z
  1130. ; http://php.net/mysqli.allow_local_infile
    , J2 a2 j4 |! x$ T0 m+ d8 E0 Y8 T5 }
  1131. ;mysqli.allow_local_infile = On
    $ o. B- q7 |: U# |8 F4 [5 u
  1132. % Q- h) X4 m) G5 f0 m
  1133. ; Allow or prevent persistent links.
    1 ^0 s+ f1 Y: |' w+ z' X  z
  1134. ; http://php.net/mysqli.allow-persistent
    9 V& ?6 I0 ~/ `6 ?& P9 _, b( {
  1135. mysqli.allow_persistent = On: H: N6 ?5 E3 ~" m% f: ]9 a+ `3 B- S2 b
  1136. & p$ o( {: {; }/ {% \- W5 H% C
  1137. ; Maximum number of links.  -1 means no limit.
    ' E  X+ V  e5 e5 y5 |# s  N3 |
  1138. ; http://php.net/mysqli.max-links
    ' n2 D0 b$ K3 _4 Q4 @! [2 A, J
  1139. mysqli.max_links = -13 j+ d! _4 Z* R0 R* S

  1140. + F( b, a* B% |, X$ {) R# w( g
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    " p- ~; A- A/ x, [( y. {" M- ?
  1142. ; http://php.net/mysqli.cache_size- v3 ?  G: g  R3 e9 c: _  v, @
  1143. mysqli.cache_size = 2000
    / a$ A6 y+ U$ I2 c. j

  1144. % I! c! N3 T; o1 E& d5 I6 H
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use+ p4 N( y/ N0 ]8 S2 b) i
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the, L) n7 T! B  [' _+ X" }
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look. V! E! x$ k: b. P" k  U; x
  1148. ; at MYSQL_PORT.  z3 s: k: @+ E4 Y* W4 |5 b
  1149. ; http://php.net/mysqli.default-port0 [; h% ^/ o& h8 w9 @9 f
  1150. mysqli.default_port = 3306) ^  x; w( ~/ T$ n/ Z

  1151. 5 s2 X3 \4 E. \
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in  h  G* h& |: T5 S; \5 |9 J; ]
  1153. ; MySQL defaults.
    ( g/ |1 K9 }* \  ^- Y: H; [7 }/ o
  1154. ; http://php.net/mysqli.default-socket/ @+ F" ~6 g) [2 t7 {+ `
  1155. mysqli.default_socket =& j2 y' j- }6 a
  1156. ( T; S2 G6 y* o  G5 h$ h1 Q
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    8 C3 H" [6 q' X" ~' [% Y
  1158. ; http://php.net/mysqli.default-host
    5 G+ Y) E( k7 C/ M6 G5 e  B
  1159. mysqli.default_host =
    ( q' t6 q7 k# a+ f# d7 P
  1160. & f5 C3 r  ?. D) D, E* K
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    ' n) o% O7 H! @
  1162. ; http://php.net/mysqli.default-user$ n0 r! D+ U. |  p
  1163. mysqli.default_user =6 l( p9 A8 k. A3 L5 Y
  1164. % {! m+ y+ Z  k: t4 D
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).# s# N5 R2 E  U6 u
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.; I0 ^/ v, r# f7 ~$ g( F
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
      e4 I. V" W0 U
  1168. ; and reveal this password!  And of course, any users with read access to this
    ' R0 D# ?+ Z% f% n$ r. ]$ w
  1169. ; file will be able to reveal the password as well.
    3 J5 {( K, M1 p* _# E' o
  1170. ; http://php.net/mysqli.default-pw: l4 o# t5 _6 u7 f
  1171. mysqli.default_pw =
    " e5 x1 v) E! O9 i& R8 w+ r' Q
  1172.   P( f$ I4 {: z+ y
  1173. ; Allow or prevent reconnect
    1 W& M- \0 E8 j7 G
  1174. mysqli.reconnect = Off
    / v8 o' W0 i" r) R2 z9 E6 Q" S! ]5 c
  1175. ( @9 p4 ]2 j1 y+ p/ k# p& ?' p
  1176. [mysqlnd]
    ' o5 c) O; v* @
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    8 X4 u! Z9 x' W4 w* s4 q
  1178. ; used to tune and monitor MySQL operations.
    ) f. S1 L& M# {7 ]
  1179. ; http://php.net/mysqlnd.collect_statistics
    # n0 q7 n4 W* Y. ~/ t. a& B3 w
  1180. mysqlnd.collect_statistics = On1 n* b( K5 f  p, H1 d6 f1 R

  1181. $ T( @! T$ e3 H) B& A
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be5 g0 D/ o4 @1 }& B
  1183. ; used to tune and monitor MySQL operations.
    5 D  s& @1 t4 v( S
  1184. ; http://php.net/mysqlnd.collect_memory_statistics2 u- G; a. ~) r: L7 i. x
  1185. mysqlnd.collect_memory_statistics = Off. V; ?+ T4 t+ b) I* t$ I( P

  1186. " z% Q; q, w! W8 i
  1187. ; Records communication from all extensions using mysqlnd to the specified log9 ]7 s4 o8 d" h
  1188. ; file.
    ( I4 Q8 M+ i3 ^, X
  1189. ; http://php.net/mysqlnd.debug* \" l. r8 J$ U+ [  }! e! c
  1190. ;mysqlnd.debug =/ y. F& O1 [& S4 `# R) B: g9 Q, D7 q

  1191. : K7 e. C& m0 E5 x
  1192. ; Defines which queries will be logged.! D3 N- @8 G3 o) u, `* n1 v& P
  1193. ; http://php.net/mysqlnd.log_mask
    % _& g6 b+ l, c" n' n6 o' P+ R5 Z/ Q  d
  1194. ;mysqlnd.log_mask = 0
    7 i7 @" n- m0 M9 |" W! _6 x) C

  1195. 7 R2 F0 {+ I9 k  y$ q
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
      d7 ^- N. h) J  @( R3 X! E9 O* i
  1197. ; http://php.net/mysqlnd.mempool_default_size
    $ Z6 J0 G  S1 q; E, e- g. _
  1198. ;mysqlnd.mempool_default_size = 16000
    3 ?2 O  f3 {; ?( t) C6 f

  1199. - R  r& c% o' H* R0 l" A
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    - n0 T7 ^/ X, s% v3 C: W& d
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    $ U! k4 k  p7 N6 N8 b1 G
  1202. ;mysqlnd.net_cmd_buffer_size = 2048) G3 E) a7 X1 ^: a! S( w' o
  1203. 1 X2 U+ G' H0 z0 t! P
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in# {, U- S8 Z1 _$ L( q
  1205. ; bytes.+ @$ w: k* [+ G
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    9 Y. w! N" Y$ p) c5 v) j
  1207. ;mysqlnd.net_read_buffer_size = 327682 [0 k  t- m4 D( _
  1208. ' K0 C1 E8 V0 d" _
  1209. ; Timeout for network requests in seconds.! M8 J4 g- g; j% g! M) Q
  1210. ; http://php.net/mysqlnd.net_read_timeout
    $ L0 x# _  V4 W  L- r/ i) H
  1211. ;mysqlnd.net_read_timeout = 31536000- d9 A( M0 e+ i- q3 W

  1212. % N! o8 y. y9 H, y
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA: L( ?/ Y  k3 @# m% c# M6 W" y
  1214. ; key.% n' I4 X  g: |% P% m/ n
  1215. ; http://php.net/mysqlnd.sha256_server_public_key! S8 y7 v0 r* z+ L! Z7 Z' _3 ~
  1216. ;mysqlnd.sha256_server_public_key =: S6 N8 n5 e, j$ t
  1217. 6 a  t% I- b: H0 R3 X* E4 F
  1218. [OCI8]4 {8 c7 L. W; Z4 [
  1219. ! g# }; H. Z* \  w, \* c* r% M
  1220. ; Connection: Enables privileged connections using external0 O) \! |4 {8 ^! J2 f
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)/ Z% D9 d: ~) n0 q- B( _# g9 R9 I, ^
  1222. ; http://php.net/oci8.privileged-connect
    * d% v* |# Z. W; @) Y  e+ c+ u; P2 Z1 C
  1223. ;oci8.privileged_connect = Off8 r5 R/ {; B2 K! F& j
  1224. , B. K3 o' p& I% L3 C
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    7 v9 R4 t% g6 Y- n5 b5 g
  1226. ; process. Using -1 means no limit.0 p7 M* s9 a1 E- ]3 S; J; a# x
  1227. ; http://php.net/oci8.max-persistent* B/ N* c" K+ L3 X* [
  1228. ;oci8.max_persistent = -1! \7 U5 f1 U1 R. p( ?6 v

  1229. 7 y8 @0 s5 X9 g# [
  1230. ; Connection: The maximum number of seconds a process is allowed to
    1 }2 I- i4 A+ M( p2 q
  1231. ; maintain an idle persistent connection. Using -1 means idle8 ?4 ^0 ?+ {: A
  1232. ; persistent connections will be maintained forever.
      w2 k! Y# A( g- Z4 x7 a
  1233. ; http://php.net/oci8.persistent-timeout  F9 i" z$ ~4 X5 l& z+ W8 f
  1234. ;oci8.persistent_timeout = -1: z3 L' b# k/ S0 @# I" D# Y+ L
  1235. / u2 l4 W' \' _, _' e  n% |
  1236. ; Connection: The number of seconds that must pass before issuing a
    0 u4 K6 Y+ Y& G' O
  1237. ; ping during oci_pconnect() to check the connection validity. When
    ' v# l( [5 p2 W9 P
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables! t* S5 B* f7 K) Q9 a- X4 I8 j
  1239. ; pings completely.
    8 y; f, S4 R: g
  1240. ; http://php.net/oci8.ping-interval
    ; l( ~' |% I% ^) S$ }5 U+ v$ C/ u) S
  1241. ;oci8.ping_interval = 60
    ; o5 L. c0 @2 Z4 @( l+ \

  1242. 9 h' R/ I2 U$ o# Z" f& B- E* F
  1243. ; Connection: Set this to a user chosen connection class to be used
    ; o& k1 O( g5 W9 m. ~
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    5 m- ?/ E" G/ B) C' H' ]
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to$ L' {4 e( ^4 R3 J' {8 W, Z+ S  d5 J
  1246. ; the same string for all web servers running the same application,
    ! z. i( T1 a. w- T  [
  1247. ; the database pool must be configured, and the connection string must
    ) @9 B: a7 ~: K1 _! h) d& }
  1248. ; specify to use a pooled server.
    3 ~" [9 D# a% L+ w: G
  1249. ;oci8.connection_class =
    * s1 K0 [9 K( ~$ n8 p

  1250. ! \+ x  c+ f' Z  T, M
  1251. ; High Availability: Using On lets PHP receive Fast Application
    : Z3 D! J4 A8 }; L4 t8 }' K! U
  1252. ; Notification (FAN) events generated when a database node fails. The
    1 G$ q6 P6 C  {. K
  1253. ; database must also be configured to post FAN events.
    % c- [/ _2 j9 n! x6 d: d
  1254. ;oci8.events = Off( y) G0 r( h2 Q' |* T9 O' A

  1255. 9 |% f2 O' N& C3 r0 {
  1256. ; Tuning: This option enables statement caching, and specifies how
    5 y6 ~* B) K1 ], z+ T/ n; J
  1257. ; many statements to cache. Using 0 disables statement caching.
    2 B( ?$ t% y& v
  1258. ; http://php.net/oci8.statement-cache-size/ L" j7 }0 I& B1 F' s" J
  1259. ;oci8.statement_cache_size = 207 v$ v. {- G0 _5 A1 P' Q6 f4 K. i
  1260. 4 S' J, k7 x9 h- z
  1261. ; Tuning: Enables statement prefetching and sets the default number of* [8 c, w1 `# {
  1262. ; rows that will be fetched automatically after statement execution.+ V) o4 s/ a: D! K. p
  1263. ; http://php.net/oci8.default-prefetch7 T9 {( d. w1 a5 v( p7 F  U" O
  1264. ;oci8.default_prefetch = 100
    ( D" _' k5 s5 ^- q$ Q  e& o
  1265. % ?  U9 [+ h2 ^* r# i; g! f
  1266. ; Compatibility. Using On means oci_close() will not close4 Y$ K; C' A* E' A( N) |
  1267. ; oci_connect() and oci_new_connect() connections.
    " t1 M; T3 t& t- o% k
  1268. ; http://php.net/oci8.old-oci-close-semantics
    / N8 `* W" W+ F2 H/ b+ U
  1269. ;oci8.old_oci_close_semantics = Off& u5 X7 d/ }6 f% h9 |

  1270. + T8 z5 s  ~" }  h  x2 O
  1271. [PostgreSQL]# f) A9 U( K& T9 O0 L5 u) c
  1272. ; Allow or prevent persistent links.
    ( O- x: ^/ f% G! _3 w
  1273. ; http://php.net/pgsql.allow-persistent
    ; ]9 N6 M+ l) ]% L  n1 b
  1274. pgsql.allow_persistent = On3 D* W% p" J3 E& A9 w- o

  1275. + ?5 H2 B- z  ~& C  w
  1276. ; Detect broken persistent links always with pg_pconnect().
    " y) c8 q* B0 e) W/ H$ Z; b1 x
  1277. ; Auto reset feature requires a little overheads.& |7 k" y* o1 x, r9 _
  1278. ; http://php.net/pgsql.auto-reset-persistent
    * v  X: @" ~/ u- v8 B
  1279. pgsql.auto_reset_persistent = Off. W" N# |3 P* j& u' r

  1280. 8 E4 ^3 F4 I, S+ c7 `+ ]& {& Y
  1281. ; Maximum number of persistent links.  -1 means no limit.) @( y! B" H1 i; [
  1282. ; http://php.net/pgsql.max-persistent6 ~7 Z/ t  O8 V2 o: m
  1283. pgsql.max_persistent = -1
    0 l$ P, t7 j. N: w* [6 w  x- {
  1284. 2 E- p# W! u; t2 E; u1 @4 N
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.. O5 [- t5 q  u+ q/ g) F
  1286. ; http://php.net/pgsql.max-links
    $ K( B, w# a* {: K9 ^$ D# y% J! I
  1287. pgsql.max_links = -1
    ' b+ T0 e- K1 a( e( N

  1288. ; }. u. u4 {  s5 Q0 o( p8 ]
  1289. ; Ignore PostgreSQL backends Notice message or not.$ o4 [# u# y. q) o' h: w6 n* W
  1290. ; Notice message logging require a little overheads." s# M3 I' ?2 G3 n, w6 ?9 u. C
  1291. ; http://php.net/pgsql.ignore-notice
    + h+ J5 y: L; t7 D- l9 n
  1292. pgsql.ignore_notice = 0
    " N+ X6 X1 _$ P$ P  \3 Y

  1293. ; T; G  n" ]8 x
  1294. ; Log PostgreSQL backends Notice message or not.. h1 x/ }- \. I! \- b. u
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.* {, b- O6 O; c
  1296. ; http://php.net/pgsql.log-notice4 r6 e! }! S" v& V; r, g! p
  1297. pgsql.log_notice = 03 K9 [. X' q/ J0 p2 T0 U( n

  1298. % M6 k& c& I6 R
  1299. [bcmath]
    4 E- p8 H4 O: K# Z8 G
  1300. ; Number of decimal digits for all bcmath functions.
    # v; J* k/ ?8 T. m
  1301. ; http://php.net/bcmath.scale
    1 l0 n6 |% p" T
  1302. bcmath.scale = 0: N$ U$ S  R$ A1 o4 \: L! L+ E2 X

  1303. 0 M$ W3 G0 _( R  U5 S0 v) A+ h
  1304. [browscap]
    ! P" K* K$ Y( `  V
  1305. ; http://php.net/browscap: |: O# s! p7 K, k* s
  1306. ;browscap = extra/browscap.ini1 F- j, [# t, u0 Q: l$ ~

  1307. 4 _- o' c! A; y1 t7 m# a/ f
  1308. [Session]: @2 P/ _5 ?3 T' u2 E
  1309. ; Handler used to store/retrieve data.
    ) l6 [" X6 a9 i2 M
  1310. ; http://php.net/session.save-handler
    0 R4 c/ {6 f/ l. A8 H6 e
  1311. session.save_handler = files* A; |' @2 i0 s8 I3 F8 \

  1312. 8 ^5 a* A. p% a# c  k. Y3 q
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    6 B8 s4 a  Y' |* n% o- W! |
  1314. ; where data files are stored. Note: Windows users have to change this
    8 X5 x- q8 Y: {! ~0 I) l
  1315. ; variable in order to use PHP's session functions.
    5 i2 \' s0 b, w+ \" d" H
  1316. ;
    2 H) ?) F& J. \$ r: _: Q
  1317. ; The path can be defined as:
    ) p, S/ k" X; ?  o% s$ \- s4 Q
  1318. ;+ W  N9 }1 u/ Y6 ?% h( G& e
  1319. ;     session.save_path = "N;/path"! o! G, }2 v: `
  1320. ;
    1 }/ W# c5 L& ~+ D
  1321. ; where N is an integer.  Instead of storing all the session files in
    3 g) w4 u! v' l# p. r$ o2 {
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    * I2 T% U9 x+ T6 q
  1323. ; store the session data in those directories.  This is useful if
    7 f( j" h; H0 g% ~  S
  1324. ; your OS has problems with many files in one directory, and is$ [. C# `; W0 T% U. y' J. U
  1325. ; a more efficient layout for servers that handle many sessions.
    7 ?4 l" X4 `3 G7 h0 m( Y
  1326. ;! ~4 T" Q% H; a" f9 M0 j) o
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    % z) }9 X4 W0 c' j
  1328. ;         You can use the script in the ext/session dir for that purpose.$ j6 D2 H- B0 c* `4 {( p" g
  1329. ; NOTE 2: See the section on garbage collection below if you choose to4 e- p4 r: J0 Y1 L$ L/ Z/ |
  1330. ;         use subdirectories for session storage  g: G- _8 Y: S+ S
  1331. ;7 K2 g: ?$ E8 h7 f
  1332. ; The file storage module creates files using mode 600 by default.2 w% j, R+ C! f" G0 ^
  1333. ; You can change that by using
    3 f3 c+ a4 u9 \1 g: @" r
  1334. ;
    0 b: W  E$ C3 V3 W  p
  1335. ;     session.save_path = "N;MODE;/path"1 u* ]$ O: r  v/ A9 A7 f; I
  1336. ;3 s* B( A& }  C# j0 Z1 ~! t2 j
  1337. ; where MODE is the octal representation of the mode. Note that this
    4 J3 |0 F# \% V
  1338. ; does not overwrite the process's umask.
    ; {. f' \; Z: R0 ]6 I5 y4 P. [
  1339. ; http://php.net/session.save-path: C" T  w7 y" a4 d5 F
  1340. ;session.save_path = "/tmp"/ }: v6 g$ U! t6 r

  1341. * H' u/ o8 W  z2 l: I
  1342. ; Whether to use strict session mode.
    - P, C- G. c8 j8 U- K5 Q
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    & d! u- R$ t8 C: n: o6 o
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects  ^' o/ u' o: [5 Q
  1345. ; applications from session fixation via session adoption vulnerability. It is" m2 j* I: H! B& B* J) [3 v  y' g
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.: Y9 ]6 J) P% h3 ^# C+ }
  1347. ; https://wiki.php.net/rfc/strict_sessions5 F( [5 [- }+ ]* X, P+ c
  1348. session.use_strict_mode = 0; U0 Q$ _# P% z" a3 i
  1349. ( c  c8 N" e5 }' ], S6 A
  1350. ; Whether to use cookies.
    & K) h& k+ i- ?4 h4 j( Z
  1351. ; http://php.net/session.use-cookies" ^6 b$ b+ J3 e, d2 l6 Q
  1352. session.use_cookies = 1
    ( t% d. x8 J- s6 r4 A

  1353. " T9 U5 x0 m( a* j
  1354. ; http://php.net/session.cookie-secure' N5 S* b" P; E) A3 W* E
  1355. ;session.cookie_secure =7 V1 Z( I& [  e  y' }

  1356. " E/ t4 K- m: R& f+ W; A0 A" d' o
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    " _+ ^1 {/ }! L6 D$ l
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    3 W. f' _4 U0 `6 e1 z# z
  1359. ; session hijacking when not specifying and managing your own session id. It is' _3 G8 J1 c2 n# J
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.' U, A6 r/ B$ W, k. u9 n
  1361. ; http://php.net/session.use-only-cookies% K. l' v0 `( T- d3 G0 L
  1362. session.use_only_cookies = 1
    1 m, M3 k; ?1 _4 H+ c5 K

  1363. 4 T2 k% |3 v9 ]5 o; Y" G1 I/ R! n
  1364. ; Name of the session (used as cookie name).( \* ~* I$ A+ U1 L5 `
  1365. ; http://php.net/session.name/ A/ `& M6 {& {0 D" u5 T
  1366. session.name = PHPSESSID/ x3 S% D+ U, V3 E9 D+ V" p$ `
  1367. # p5 D. b& A$ G
  1368. ; Initialize session on request startup.0 z3 A/ T( H# l
  1369. ; http://php.net/session.auto-start; z: O: l: f  ]0 b2 I# e  U0 Y2 O
  1370. session.auto_start = 06 B! K% E- Z9 @  r' N8 M* \
  1371. ( `, J3 M# }/ h$ h. i7 E# r) m
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    ( D$ K( U1 N  r* f3 D+ |
  1373. ; http://php.net/session.cookie-lifetime
    - j3 @5 F; {/ u
  1374. session.cookie_lifetime = 0
    4 o( [' S, D/ `- _8 D

  1375. 7 s$ i. b- c2 X' h% A: W/ q' K0 t
  1376. ; The path for which the cookie is valid.
    3 H* _- H1 [" H: s5 `
  1377. ; http://php.net/session.cookie-path
    * q. z( w2 L5 E  m$ n% V. i
  1378. session.cookie_path = /
    7 J9 m+ P( @- [" a$ D8 D1 ^$ S$ g

  1379. 9 X+ p/ w3 m1 N0 c' i2 C7 O  q
  1380. ; The domain for which the cookie is valid.1 O. q: D, m0 `! g5 X9 W
  1381. ; http://php.net/session.cookie-domain
    ( X! ^/ R  Z+ s
  1382. session.cookie_domain =
    % M) Z5 }1 U6 W6 ?& f

  1383. ) P* a3 m* h3 l* a& H
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    % g* ~4 w" i6 {/ n, ^  v. a$ M
  1385. ; http://php.net/session.cookie-httponly0 K* v* ^" V$ p! _4 p# T4 L9 f1 p
  1386. session.cookie_httponly =
    / v" X: G( g2 F: s1 z3 s/ r7 l
  1387. " D  c: P9 R2 `
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    , L) y0 Z. U2 I
  1389. ; http://php.net/session.serialize-handler
    4 d( f" l' T8 p" f: V- q+ h
  1390. session.serialize_handler = php* `8 f7 w# G( z  H' ~& j' q

  1391. + N6 |% T8 G8 b, J; ?& a
  1392. ; Defines the probability that the 'garbage collection' process is started! [1 p1 J4 a, O+ m, `
  1393. ; on every session initialization. The probability is calculated by using
    % M& S, |- s* \
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator& |! ]% a) P+ E& o' b2 a
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1( K/ v6 R" h, M" ^1 o$ \( b
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    $ e. Y. ^$ G) u
  1397. ; the gc will run on any give request.
    " m$ L2 x& a0 P6 O; d/ b
  1398. ; Default Value: 11 [: P, n) ^+ ~7 y. `
  1399. ; Development Value: 1
    * i9 X; t$ Z! `3 ^3 \2 g& R
  1400. ; Production Value: 1
    ; u2 L- f  i( h! j! _+ V
  1401. ; http://php.net/session.gc-probability! \9 m( X; R0 V' C* Q2 K  J# c+ l, i
  1402. session.gc_probability = 1
    $ v( p/ A" w, A3 C2 }9 t
  1403. $ T( L) A. q/ }4 ~
  1404. ; Defines the probability that the 'garbage collection' process is started on every" x9 G" C: a7 g; c7 ?  o! m6 J
  1405. ; session initialization. The probability is calculated by using the following equation:1 L1 O) K% V# m6 }) X9 \! l8 W4 t: X
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and; v3 x( E& x4 R  [% E) p  M
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    7 d- |; ~1 A% F, o# P
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance* X2 x6 F* R7 s2 R* [
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you! e& M7 j0 n. a4 }4 ]1 L
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    6 f; e; K! r  V+ G! P' x
  1411. ; this is a more efficient approach.
    ) X  k& y8 a6 C; N; F
  1412. ; Default Value: 100
    - k! l5 l' F6 ^& K1 Q
  1413. ; Development Value: 1000% I9 Z+ a+ S$ ?6 S: Z& o( D
  1414. ; Production Value: 1000
    % z2 y5 ^* C  r, v
  1415. ; http://php.net/session.gc-divisor2 `' J9 e. g$ j& p: x1 e" H: _, s. b
  1416. session.gc_divisor = 1000
      L9 |6 |5 t4 Y# [5 b/ {' |

  1417. - h4 p' |7 k$ b! J! ~3 c$ {& R  E1 U
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    ; ?! I$ {& d1 k4 ~9 V0 C" l4 c
  1419. ; cleaned up by the garbage collection process.
    $ y1 L: Z; p7 Y" S5 _
  1420. ; http://php.net/session.gc-maxlifetime; g2 r! L) e8 K" S
  1421. session.gc_maxlifetime = 1440& Z- M6 ?' ]: |, w. K7 b+ w, ]
  1422. ) @( S% |6 H$ @) w4 @
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    3 C' O- ~( M- `+ B
  1424. ;       (see session.save_path above), then garbage collection does *not*$ P6 a+ j! B( L# R; K5 n6 }  ~; U
  1425. ;       happen automatically.  You will need to do your own garbage# i& u2 s5 v9 K5 Y
  1426. ;       collection through a shell script, cron entry, or some other method.3 `$ k1 R; n8 O$ E8 N" ?
  1427. ;       For example, the following script would is the equivalent of
    5 _% Y3 J  c$ o2 A! D
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    / g$ D& k, o) L* e5 Q0 O
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm3 ]2 R% }- d+ l" V6 o! q: k

  1430. ) _. h1 z6 }: L5 A2 X3 D8 l
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    & m$ F0 g$ J7 a. Z, n6 ?
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    . q9 Z5 R& X2 b! s# a" ~7 B- A/ w$ u
  1433. ; considered as valid.4 Q( B8 k( a3 D1 T
  1434. ; http://php.net/session.referer-check9 K1 Q; P& W8 V( q/ `5 u
  1435. session.referer_check =, t9 T( x. c7 z2 y

  1436. 7 {/ G  W. H: r8 H; A- I
  1437. ; How many bytes to read from the file.0 q5 L- L; i% q
  1438. ; http://php.net/session.entropy-length
    ; ^3 O/ \: s- {! \2 I
  1439. ;session.entropy_length = 32$ S7 e9 b$ c& K( f6 o
  1440. + e0 q3 L3 W1 H
  1441. ; Specified here to create the session id.
    2 U' f! i* `9 M9 l% U
  1442. ; http://php.net/session.entropy-file: M; T' U& t# e6 b8 U# a' y" Z
  1443. ; Defaults to /dev/urandom0 h% U3 g' R; M; y2 x' |
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    9 x/ Z! `- g# @$ r: ]$ n; R; B
  1445. ; If neither are found at compile time, the default is no entropy file.
    0 h# {  {# R9 P
  1446. ; On windows, setting the entropy_length setting will activate the' v& G$ k6 |* u, Q
  1447. ; Windows random source (using the CryptoAPI)6 r8 B, A0 V+ n# A# j* a) q1 f# |
  1448. ;session.entropy_file = /dev/urandom
    ! F& k# O1 Y# t  d

  1449. " |3 Y" ]) A* t4 k* q3 n
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects+ V0 w/ Q7 G1 j. v7 q
  1451. ; or leave this empty to avoid sending anti-caching headers.5 I5 @8 B2 y! d- V& T8 e7 q0 h. y
  1452. ; http://php.net/session.cache-limiter' E: u! J5 R! y1 J1 M8 F2 M
  1453. session.cache_limiter = nocache9 u* `/ I* m+ O* I8 D0 k) N3 T- T

  1454. 5 d+ ~& L( @. U/ R( o
  1455. ; Document expires after n minutes.3 H( T' l7 T- r$ ^+ v6 n
  1456. ; http://php.net/session.cache-expire
    ' @) R( s$ W4 x- `
  1457. session.cache_expire = 180- E. _$ l% @, K, O: o
  1458. 1 o% ~- n9 [+ @$ W  C" f
  1459. ; trans sid support is disabled by default.3 e/ {4 m& x1 \, p0 C1 L! d
  1460. ; Use of trans sid may risk your users' security.
    0 C3 T6 W# o, O8 c( k! N
  1461. ; Use this option with caution.5 _, v# z- c' Y) y
  1462. ; - User may send URL contains active session ID. }5 t& K0 r4 R8 K, i0 {* x
  1463. ;   to other person via. email/irc/etc.
    7 u) [2 F& R7 v( e
  1464. ; - URL that contains active session ID may be stored
    ( h9 t  f) I9 v; O
  1465. ;   in publicly accessible computer.8 T( c5 A, N' v
  1466. ; - User may access your site with the same session ID2 o' ^0 w  z4 d# r8 B
  1467. ;   always using URL stored in browser's history or bookmarks.
    / N+ n+ d$ ~' Z" M  F& `9 d
  1468. ; http://php.net/session.use-trans-sid
    % t# _# g0 \5 k
  1469. session.use_trans_sid = 08 M& z9 U- `7 Y& r* \
  1470. ) c) c0 G' n5 D% |% n; o" L/ _
  1471. ; Select a hash function for use in generating session ids.( J9 o$ B/ |+ u( H' T0 I1 l3 |7 {9 v
  1472. ; Possible Values) K0 Q( ?: d( [5 S& T" p" X
  1473. ;   0  (MD5 128 bits)
    % \) |: x- X- G9 ?$ k. o
  1474. ;   1  (SHA-1 160 bits)6 S8 h0 X9 e# `- e
  1475. ; This option may also be set to the name of any hash function supported by! b5 a4 e. _5 R* ^  }& J+ T
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    8 Q$ ]% Y6 |; E
  1477. ; function.% _+ a$ V, a; C; C# X/ w
  1478. ; http://php.net/session.hash-function" u* a/ z! z8 {7 q6 }$ r
  1479. session.hash_function = 0
    % V. {# z% L5 _* q) y& U4 q' S
  1480. 9 ?) ^# b, d; P9 Q
  1481. ; Define how many bits are stored in each character when converting) I( s7 z# ~- D2 e) k& j
  1482. ; the binary hash data to something readable.
    + r% C$ B; N( q1 r
  1483. ; Possible values:6 J. Q9 ^- k# c% N5 w, _0 u
  1484. ;   4  (4 bits: 0-9, a-f)1 |0 y7 L/ q( I0 x: f9 R
  1485. ;   5  (5 bits: 0-9, a-v)* [0 b* Y8 y, b5 j+ u. D/ O* \! v
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    ' j$ b( {9 P4 y: v1 `6 B1 _
  1487. ; Default Value: 4! y( p/ t6 z- ]/ u
  1488. ; Development Value: 5
    6 p3 E% T/ a% O+ Y; L9 {) ~
  1489. ; Production Value: 57 U( V, [, n! e' b) |7 Z9 B
  1490. ; http://php.net/session.hash-bits-per-character
    5 J. z" ~5 \3 `7 N
  1491. session.hash_bits_per_character = 5& b2 M, Z" I. ~
  1492. 1 d, b6 {% }3 T# g$ N$ g
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.2 ~; V6 E, O# s
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    ! f/ {5 ?9 u( S" ]4 T
  1495. ; add a hidden <input> field with the info which is otherwise appended
    * N  u" y$ w0 I; p! r
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.4 f: H8 ?1 F6 U- n1 M; V
  1497. ; Note that all valid entries require a "=", even if no value follows.6 y2 Z5 @: r+ `. l
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    5 h/ A* s# w' m1 U
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"$ k4 e/ v5 R+ f) F  z  c
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ; r+ U& N: g, c7 V* B. \7 G
  1501. ; http://php.net/url-rewriter.tags
    ' {8 {8 b5 p0 ^5 ~' O( ^
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    + |4 V( w" F3 A# N; m' G
  1503. 8 N8 C9 d/ o2 A+ h+ Q: B8 n
  1504. ; Enable upload progress tracking in $_SESSION
    " j- n, I! D, w/ e8 A
  1505. ; Default Value: On
    9 A- G0 m7 b* Q7 [' G; R% }! T
  1506. ; Development Value: On8 c. d5 q5 [8 I7 {2 [$ C$ U
  1507. ; Production Value: On8 a9 ?! u! H& K7 ^& w8 Q* V; D
  1508. ; http://php.net/session.upload-progress.enabled
    0 d9 w* _6 H  C  @7 M6 ^
  1509. ;session.upload_progress.enabled = On
    * Y: E- U- G. {/ J2 r  a& h- i

  1510. 5 Y# l" w3 Y0 V* l1 f4 Y- w; X
  1511. ; Cleanup the progress information as soon as all POST data has been read
    , _: i: `: ^1 L4 F" D
  1512. ; (i.e. upload completed).
    & T# W3 k( u  u$ W* U" L1 K
  1513. ; Default Value: On" w  N) P! r; Q0 L
  1514. ; Development Value: On
    $ z; O6 J: T) P( P
  1515. ; Production Value: On. M3 M: K1 I% l2 x/ f% I0 h
  1516. ; http://php.net/session.upload-progress.cleanup
    / X+ M) D) L8 a- l2 t, {4 z
  1517. ;session.upload_progress.cleanup = On2 }" F! Q$ s  P+ M; M$ X* g* {
  1518. 5 }  n7 u+ W7 o+ j* C
  1519. ; A prefix used for the upload progress key in $_SESSION
    & }6 q. S5 {0 G8 \, [/ ?; l
  1520. ; Default Value: "upload_progress_"
    3 e; l/ i# D/ V  [
  1521. ; Development Value: "upload_progress_"
    3 W* q$ c1 W& m: D3 {0 t! D: g
  1522. ; Production Value: "upload_progress_"8 L4 X' O' B0 ^% Y( i0 K
  1523. ; http://php.net/session.upload-progress.prefix  z, J6 p0 ]& L& R9 i6 L% A
  1524. ;session.upload_progress.prefix = "upload_progress_"" i& @4 \8 r6 C3 J0 W

  1525. ; f1 |: C( C1 t. H) t
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    $ q5 P+ b8 V# d8 a) j* F3 M
  1527. ; containing the upload progress information
    ' \" t, A& _/ |& ~! t* D+ Q$ S) k1 s
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    " Y9 J. [7 B3 d: A
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ; p6 J  O- J0 \/ X( ~( A) n2 |
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    % @$ f! @" G' Y) H9 K( p
  1531. ; http://php.net/session.upload-progress.name2 x- n; w) b. L7 E) ?2 S
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    % z# f3 `+ L" _6 \

  1533. 7 p" r; n$ `2 D3 i+ y% K2 I$ \, U
  1534. ; How frequently the upload progress should be updated.2 X; T+ p' [3 `" J8 T2 Z1 E
  1535. ; Given either in percentages (per-file), or in bytes* ~# k  v; o) G( n' G8 x
  1536. ; Default Value: "1%"
    5 l& W8 `) N9 z9 b7 u
  1537. ; Development Value: "1%"3 S: e( s' p6 T$ J7 T
  1538. ; Production Value: "1%"& @  U0 p# S2 o! E  K2 ?! L: k
  1539. ; http://php.net/session.upload-progress.freq1 H: O' R8 P, D: ], m) g
  1540. ;session.upload_progress.freq =  "1%"
    5 J& H* w- a$ z( T3 O6 Y

  1541. # O: Q5 v( j1 |7 Y4 d. ~' I
  1542. ; The minimum delay between updates, in seconds
    ) s: Z8 Q* F" f7 H/ ?
  1543. ; Default Value: 11 _  v- h  G  l, }6 d
  1544. ; Development Value: 1
    * ~6 K5 `8 a3 L
  1545. ; Production Value: 1
    0 L  z: K; d$ z5 Y$ z& c
  1546. ; http://php.net/session.upload-progress.min-freq
    % N2 h0 ?- h: I; b
  1547. ;session.upload_progress.min_freq = "1"8 b5 Q# A/ I$ M" G. t8 Z5 R6 @: b

  1548. # E* W! K1 @6 [" F
  1549. ; Only write session data when session data is changed. Enabled by default.
    " ?$ Q6 G' d9 B+ D2 \, w( t! j
  1550. ; http://php.net/session.lazy-write' F! C, Z$ ]2 ^+ S1 b
  1551. ;session.lazy_write = On/ l/ x- ?: _5 W2 {
  1552.   u* V4 F4 I" i5 ^6 A) c4 [
  1553. [Assertion]& c0 V) b( `! U2 C
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)" N" L+ V# L4 A+ q, H
  1555. ; -1: Do not compile at all% ?0 F1 p9 J. i
  1556. ;  0: Jump over assertion at run-time7 O& d0 ]* S& P0 g0 o
  1557. ;  1: Execute assertions
    ' o; r) V7 |' J; 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)
    + Y  J3 }: g, E4 O
  1559. ; Default Value: 1
    - `! H3 ~! }( {% T. ?+ ]
  1560. ; Development Value: 1
    $ a- j8 K, c( g
  1561. ; Production Value: -1+ e: K$ `8 G4 U/ D
  1562. ; http://php.net/zend.assertions
    7 y* f, r5 Q4 K8 L- E, w
  1563. zend.assertions = -1+ W* I3 J' c( W7 N  r

  1564. ( L2 D& \" D9 T; C% d, v0 {7 E; p
  1565. ; Assert(expr); active by default.
    6 j! |$ f9 O( |
  1566. ; http://php.net/assert.active
    & g. G# W+ E& E& m5 ^8 `
  1567. ;assert.active = On
    " l* m' E, \' E( N7 F

  1568. ) P) B4 I: o' Q' e' P+ t& q
  1569. ; Throw an AssertationException on failed assertions0 u. |5 ~+ r) K2 g. {$ P* l% n
  1570. ; http://php.net/assert.exception0 E% h' E5 K& f* U6 H7 V. q6 @
  1571. ;assert.exception = On1 Z' W8 L2 `: R2 Z
  1572. " i3 w+ s- z" X' f8 w# d' M" V
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    ! u! ?; w+ z" H% A
  1574. ; http://php.net/assert.warning5 {. A7 A; a; ~; X6 }# C
  1575. ;assert.warning = On! o+ I, {+ G  n1 T/ ~

  1576. + n! L' D9 p# X/ k
  1577. ; Don't bail out by default.
    * u9 t# V* _  O% R
  1578. ; http://php.net/assert.bail
      j5 \3 V1 h' w
  1579. ;assert.bail = Off
    0 j: p% k7 g( o; C0 Z* J
  1580. - p! J- e& w0 t' o" n9 w
  1581. ; User-function to be called if an assertion fails.$ T4 c) \$ Z' W3 B
  1582. ; http://php.net/assert.callback( b( m5 {: U: B$ S
  1583. ;assert.callback = 0
    " F4 o9 {6 E/ x; Z3 \! T  b# N

  1584. ! p  _! y( V3 z
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    % v  a2 x8 ]  Q1 M$ J4 R; o
  1586. ; error_reporting(0) around the eval().
    - s8 `/ |; d7 Z: f# i
  1587. ; http://php.net/assert.quiet-eval  O0 K1 H- D. F8 r8 p
  1588. ;assert.quiet_eval = 0
    $ A, g0 a( P4 d2 ^- m

  1589. # p" ~4 R, o5 @" _7 L" ~0 J7 ^$ u& O
  1590. [COM]
    * u1 L6 L4 y' X6 q9 M. o
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    % n2 q% s  u5 D5 d
  1592. ; http://php.net/com.typelib-file' l8 q8 _5 R% B
  1593. ;com.typelib_file =
    : p' Y% _* s4 n

  1594. * x+ G* o; e. H
  1595. ; allow Distributed-COM calls
    1 H  D" A. t$ R5 U7 Q
  1596. ; http://php.net/com.allow-dcom' T6 F( {( }7 V1 _% g
  1597. ;com.allow_dcom = true
    % S- U: }7 R- E1 U0 U

  1598. 0 A( V$ {  T/ W, ]8 e' B
  1599. ; autoregister constants of a components typlib on com_load()
    " A8 r! `$ f& B3 E
  1600. ; http://php.net/com.autoregister-typelib
    3 j& c4 b; R- }( Y4 i6 S3 m
  1601. ;com.autoregister_typelib = true' `  `8 N1 G5 m. X+ r* h
  1602. 7 D' p4 c. @. F7 h0 M1 C
  1603. ; register constants casesensitive
    , \4 o- ~, z0 m" i9 b2 b; b) X
  1604. ; http://php.net/com.autoregister-casesensitive1 Q6 O1 G1 r5 ~" o
  1605. ;com.autoregister_casesensitive = false
    + }8 b5 h2 s& L* B' \) @% H

  1606. + [0 d5 f: n- L) s/ d
  1607. ; show warnings on duplicate constant registrations
    7 y3 W6 S' T' i4 k
  1608. ; http://php.net/com.autoregister-verbose
    ( A. O+ r! F& T' s& }# |
  1609. ;com.autoregister_verbose = true
    6 t& L  v0 i" W% I
  1610. 2 i: }" J& X/ s, y8 T' k
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    2 a- k+ Z: F+ v  W; ~" _
  1612. ; Default: system ANSI code page
      R$ A% S5 K$ U! U
  1613. ;com.code_page=
    & m' I2 d2 V: Y" X+ b3 K0 ?
  1614. " s! G4 X( z4 [8 U% B
  1615. [mbstring]2 y0 b) h' M1 J+ i
  1616. ; language for internal character representation.
    - _! k6 B! M' U
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    % _2 ^% [# H" o, o8 D
  1618. ; http://php.net/mbstring.language6 A+ J# S0 T4 u) Y, I7 g4 ^
  1619. ;mbstring.language = Japanese
    / i" _" c( @# _4 ^3 e! i

  1620. 2 |: w0 ]) V" [1 g, y$ l
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.& Z0 R) \2 I% S  y
  1622. ; internal/script encoding.$ I( H1 W. S; H6 H' \' U
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)  |" F9 V6 p# I7 b; x; m8 u4 P
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    - K( L& {7 }. W  I" V3 Z
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding" v3 a+ Y8 X  l7 p/ h  M& c
  1626. ;mbstring.internal_encoding =& U) y8 Y0 V% o5 u; ^
  1627. : v/ _. h/ B) l( k" H
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.  @/ [8 k: Q% D6 r5 V
  1629. ; http input encoding.# h  q- ~7 @$ P5 H' y
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    4 F( R7 L2 a- H# e$ E# n; k* Y
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    + ~8 A+ w9 s! w( t- i1 Q! c
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input. R) E* D  G" \+ R" ~+ D/ H# U
  1633. ; http://php.net/mbstring.http-input/ C/ U% `/ c! _/ }6 G% F$ m
  1634. ;mbstring.http_input =
    . g. R7 n9 K$ W/ H% P4 K$ H
  1635. ) N) ]6 ]$ \) m2 r! c3 }; m2 t
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.0 N+ l3 }/ f/ ?; u$ J5 [8 M% K' w' z' w
  1637. ; http output encoding.' @9 ]8 _( S2 y/ o, `$ n
  1638. ; mb_output_handler must be registered as output buffer to function.8 r& V$ Q0 n" n$ [% s& L# R
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    $ v, c' d; c1 L, g0 W& Z0 Z7 X. [9 w
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output$ o; _. R, B7 K7 C* |
  1641. ; To use an output encoding conversion, mbstring's output handler must be set8 z5 `* ~; q8 g* D
  1642. ; otherwise output encoding conversion cannot be performed.* |- _& E7 T# B6 O: S
  1643. ; http://php.net/mbstring.http-output
    ! R4 I& i) c# K1 o2 P% c: L" o
  1644. ;mbstring.http_output =; B7 M/ e9 l% s& l9 J
  1645. + C* j. P. V6 ^/ g0 s5 i; u- ~5 z
  1646. ; enable automatic encoding translation according to
    + _" _; B' v* y' G+ k" `& S! P5 z
  1647. ; mbstring.internal_encoding setting. Input chars are
    $ G& k' K6 N0 x, m
  1648. ; converted to internal encoding by setting this to On.1 W3 L4 `  g9 @1 e. o% W' ?
  1649. ; Note: Do _not_ use automatic encoding translation for
    & d% j6 _8 B& g$ t' S% f
  1650. ;       portable libs/applications.
    ; z$ |- @% U: n$ j' G: f1 q
  1651. ; http://php.net/mbstring.encoding-translation
    # W& b! ?$ @; g: Q8 l" L
  1652. ;mbstring.encoding_translation = Off9 J* N( U. s4 k  q: F
  1653. " ~# r9 ?2 b3 J: |/ r0 S
  1654. ; automatic encoding detection order.
    + S4 U6 U. a' B
  1655. ; "auto" detect order is changed according to mbstring.language! @; B6 ^5 `+ _. O% T$ n
  1656. ; http://php.net/mbstring.detect-order% H* T4 f) ?0 \) B- E) y2 A0 d
  1657. ;mbstring.detect_order = auto
    * X; Z# r; K, Q( N' h
  1658. - \" a% r8 ^6 T$ H: J$ h
  1659. ; substitute_character used when character cannot be converted
    + j: h* ]1 q1 T, j* s' V! V0 P" c  M. u
  1660. ; one from another
    5 l- P! ]) D0 E8 t* e
  1661. ; http://php.net/mbstring.substitute-character
    5 l6 N3 ~& j+ A
  1662. ;mbstring.substitute_character = none9 A1 |1 h9 I& k$ U* j8 z
  1663. % d+ ]% N' R2 p& f9 d
  1664. ; overload(replace) single byte functions by mbstring functions.  z6 G) U- X: o! H
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    - A) ~& X+ c8 H' y  c7 Y9 p
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    ) w- Z6 v1 t( v: b- h2 K2 ^
  1667. ; For example, 7 for overload everything.
    # ^: H7 V6 C! Q5 y
  1668. ; 0: No overload: F7 t! u. ], ^7 o
  1669. ; 1: Overload mail() function7 d  Q  e* k/ K$ o2 G
  1670. ; 2: Overload str*() functions
    $ N/ ?" H0 W( }2 j, k
  1671. ; 4: Overload ereg*() functions/ Z! K1 A+ y! |" @4 j
  1672. ; http://php.net/mbstring.func-overload& m0 t2 I1 E% l2 @
  1673. ;mbstring.func_overload = 0
    & E( Y9 _* `; i* }. x

  1674. ' Z8 g: v: Y& I9 I
  1675. ; enable strict encoding detection.+ ^8 ]3 w* T  M8 m& k# b- E9 P
  1676. ; Default: Off
    ' F: O8 r* _# o' c3 f% [" B* w
  1677. ;mbstring.strict_detection = On
    1 I9 `1 i: W- F% b( Q/ s
  1678. ' k' g0 L. e! G/ X6 P1 ]: H, P
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()- d& u' p6 a! E% V0 P2 `& C
  1680. ; is activated.1 O* P$ G- D; M' r8 F( a8 o: h6 d5 V* c
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    ! F2 [/ z3 L2 f/ z
  1682. ;mbstring.http_output_conv_mimetype=5 M- d. i6 \6 V8 O

  1683.   N  F+ u& }" m' D3 v
  1684. [gd]
    7 i& _( C6 v, L0 R
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    & D  |; S6 S! O8 @) G
  1686. ; a gd image. The warning will then be displayed as notices
    # b3 K0 a: w# ^3 ^* L
  1687. ; disabled by default1 M/ C( g& A9 U- s5 g5 I
  1688. ; http://php.net/gd.jpeg-ignore-warning  \% w+ J% l- d$ A2 m: E+ k' f
  1689. ;gd.jpeg_ignore_warning = 0
    # i7 F. n( `3 @' e8 H, \6 K6 l

  1690. 2 _3 l* Q( r5 l
  1691. [exif]
    1 _  G3 p4 r/ u+ g7 d
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    * n0 |+ Z, N& @* ?: L$ s1 g1 i
  1693. ; With mbstring support this will automatically be converted into the encoding
    - S/ D" M( D4 V
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding' X& U' W2 N9 ]& [% Z& @
  1695. ; is used. For the decode settings you can distinguish between motorola and. d, e% }+ y4 Z9 ]4 q. x# f/ Y
  1696. ; intel byte order. A decode setting cannot be empty.3 J+ F+ F$ }) ]/ Q: V% e9 n+ X
  1697. ; http://php.net/exif.encode-unicode- w( _: v3 V' S* k
  1698. ;exif.encode_unicode = ISO-8859-15
    : W- e5 H6 M" m, J

  1699. + ^; a: h$ T' j5 g8 t
  1700. ; http://php.net/exif.decode-unicode-motorola2 O, p$ j" s. w* m: l
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    % z5 ]  |# L( w8 R4 a% h

  1702. $ d; x3 K" D4 Y& G  S
  1703. ; http://php.net/exif.decode-unicode-intel
    ; r5 }# w7 R2 `( P) r  U5 @
  1704. ;exif.decode_unicode_intel    = UCS-2LE+ D5 R3 k8 s1 x. f; B1 R. d0 f
  1705. $ ?& L. U5 F* a% _7 f2 H
  1706. ; http://php.net/exif.encode-jis
    4 Z2 F* z0 U: h* H0 R
  1707. ;exif.encode_jis =
    ) x  _1 q; x9 U% Y! r
  1708. , q! ]/ h' x4 a3 [
  1709. ; http://php.net/exif.decode-jis-motorola
    0 d# l% S; W, [
  1710. ;exif.decode_jis_motorola = JIS
    ( n* ]; U* _5 j7 y' o
  1711. , A7 C3 A: A  B. F3 C  s
  1712. ; http://php.net/exif.decode-jis-intel
    8 g4 x* H9 w$ Z2 Z
  1713. ;exif.decode_jis_intel    = JIS% ~+ i7 J- v( ~9 C

  1714. ( u7 O9 ?+ A6 J
  1715. [Tidy]
    ! d0 F( d3 ^2 T0 `9 |; g
  1716. ; The path to a default tidy configuration file to use when using tidy
    1 t1 {& W# f. G- `/ D" B8 ?8 k" b
  1717. ; http://php.net/tidy.default-config
    8 {/ o2 B/ _9 _# u* i8 E
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg3 ]6 U0 a3 x% L5 d" d$ S
  1719. 6 V& D3 O+ P/ Q9 i% a0 f
  1720. ; Should tidy clean and repair output automatically?
    2 b/ p8 ]! Y# I( [
  1721. ; WARNING: Do not use this option if you are generating non-html content% Q$ K6 W5 ?: Z3 _2 j8 l6 y
  1722. ; such as dynamic images* {# W1 K% |9 I
  1723. ; http://php.net/tidy.clean-output
    0 Z; ?( l2 @; l- `8 }  }! b/ q' L
  1724. tidy.clean_output = Off/ \9 x0 x/ V! W
  1725.   ?- A$ [) z* n6 g0 v, R3 ~
  1726. [soap]7 U7 G; U" A* w4 K3 B
  1727. ; Enables or disables WSDL caching feature.! m8 i8 n& B/ t8 N5 r$ F& X
  1728. ; http://php.net/soap.wsdl-cache-enabled
    % q5 Y! O0 _& R) u4 q! \3 \
  1729. soap.wsdl_cache_enabled=1: j: o+ |& {' L
  1730. 7 Y' c" y0 o% r" E5 b/ a- p
  1731. ; Sets the directory name where SOAP extension will put cache files.
    5 P  W/ Z( Z' I/ b# [
  1732. ; http://php.net/soap.wsdl-cache-dir
    + x: M& a2 s; r) d  d' W9 C
  1733. soap.wsdl_cache_dir="/tmp"( M1 b7 H/ q8 P: V6 Z; k
  1734. ; V- \/ M" ~! O8 A
  1735. ; (time to live) Sets the number of second while cached file will be used. ]$ ~; z9 d& i, v1 }: {
  1736. ; instead of original one.6 I) Y2 [$ U* ~/ l  b
  1737. ; http://php.net/soap.wsdl-cache-ttl
    5 A, ]0 W# h# b2 d2 \) F4 P( d' `% g
  1738. soap.wsdl_cache_ttl=86400
    ) B) `" m: J: J2 A2 D
  1739. ; j+ i' J4 Y1 G
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)! M9 T& y! F1 {. ^/ k" R; ]' K
  1741. soap.wsdl_cache_limit = 5) \9 |. {% D1 I7 a, \
  1742. ) r) H# f* U& y# z) r
  1743. [sysvshm]
    3 n7 l, z# [" ~7 P2 o7 Y4 I$ L. e
  1744. ; A default size of the shared memory segment
    * Q) r4 C$ e5 E: D; H  S
  1745. ;sysvshm.init_mem = 10000
    " Y$ K# v1 ]' g% f9 B0 w

  1746. ' I0 w6 I( S: J3 W. w6 Y# }
  1747. [ldap]
    . \! x) i% E' i6 u! S( s
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    & G0 y. i7 z1 Z
  1749. ldap.max_links = -18 ?6 q7 U1 y2 G2 R  |# B5 @  F

  1750. " G# A: `/ J/ B' \: E% _
  1751. [mcrypt]
    5 H/ Y8 G6 p5 K: _; [, k& Q
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
      y5 \6 h: `. r/ Q' h

  1753. 1 A7 O9 T; {5 G! |) E! q- B7 s
  1754. ; Directory where to load mcrypt algorithms
    ' q* R& E9 m8 X
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    2 W% O4 i/ W+ J2 [" A" K+ ~2 A. d7 y
  1756. ;mcrypt.algorithms_dir=# p2 [+ h0 w1 g1 G

  1757. $ Q. u6 x# H  Z9 E
  1758. ; Directory where to load mcrypt modes
    7 }% H# l) J, g
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ; k9 p0 T( H  S3 ^' e& i2 [  V  i  W
  1760. ;mcrypt.modes_dir=
    : g4 r; ?6 \5 S9 n( k
  1761. ) s1 t# t1 M7 ]  }& i
  1762. [dba]$ i4 T2 C: ?- m% G
  1763. ;dba.default_handler=: U- b  l0 l! {# W  C

  1764. 3 X/ Y/ L0 F' U# w8 o2 C
  1765. [opcache]
    4 G: v6 E5 j/ ^/ k) ]9 U  i
  1766. ; Determines if Zend OPCache is enabled' X% n1 K- Z8 {' p# y
  1767. ;opcache.enable=0
    / U4 L, W5 P$ j& `9 V/ Y4 H, f

  1768. 1 r$ S# f+ V- `3 T6 H
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP, j" U+ ^2 a/ v' V5 {; [+ |
  1770. ;opcache.enable_cli=0& `9 {1 `* m* \7 p& z# ^& K/ ^
  1771. 2 L4 P3 {, e: W8 [
  1772. ; The OPcache shared memory storage size.
    + Y% d' L$ G1 B+ p. O# |! x$ H
  1773. ;opcache.memory_consumption=64; u8 a8 g6 Z% P

  1774. & \) o3 {9 H. k; T& u
  1775. ; The amount of memory for interned strings in Mbytes.
    $ }% H" T9 c  m8 I  |) _. r' e
  1776. ;opcache.interned_strings_buffer=4
    + o; p5 L  s% |* o* K
  1777. ) b* N( `" R/ B/ O; Z1 Y& h
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.. x, E7 s1 z9 `# f! @# L
  1779. ; Only numbers between 200 and 1000000 are allowed.3 N$ _, t) k# A: }/ P
  1780. ;opcache.max_accelerated_files=2000
    9 p* D5 a; `5 z' y& {

  1781. : E$ }8 R: G( M$ `$ d
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
      U7 t) `1 K; ~( ?' }' w, Y' c
  1783. ;opcache.max_wasted_percentage=5- n# P% ?) w* T# O& M4 v
  1784. ( M* J: v' j. n, l
  1785. ; When this directive is enabled, the OPcache appends the current working
    " @1 v: `0 |, {& e
  1786. ; directory to the script key, thus eliminating possible collisions between
    , ]6 Z0 G6 H$ ^8 [5 j
  1787. ; files with the same name (basename). Disabling the directive improves! o( _' e% }3 Y: x
  1788. ; performance, but may break existing applications.
    ! s& C6 P8 E7 A7 ~
  1789. ;opcache.use_cwd=13 x- i/ A# B3 n( B( x

  1790. . I9 o% t; G+ P/ v
  1791. ; When disabled, you must reset the OPcache manually or restart the
    . S; P( L' z9 m, U  c
  1792. ; webserver for changes to the filesystem to take effect., P& ]! Y8 L5 L2 j& h0 [8 @
  1793. ;opcache.validate_timestamps=13 i# Q' M, k8 X+ g5 p  Z

  1794.   p0 l* ?& n$ B
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    " d6 T+ g! R- G3 k5 G$ e7 `
  1796. ; memory storage allocation. ("1" means validate once per second, but only. {. g' F# x  |' o/ `: j
  1797. ; once per request. "0" means always validate): [, w- d0 L. @# m/ B6 A
  1798. ;opcache.revalidate_freq=20 d; {& V+ k) Z: p9 I7 f$ r

  1799. + w' E3 |" U0 \6 i
  1800. ; Enables or disables file search in include_path optimization& A# F5 X1 x6 J% M; |
  1801. ;opcache.revalidate_path=01 ?. v$ K5 d1 x( V- Z: X

  1802. 7 c/ a8 v5 w' @7 V
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    / z  i8 i) M+ ~- W8 L7 V  u+ L3 Q- |; a& \
  1804. ; size of the optimized code.
    # {0 l, c3 a" H  @
  1805. ;opcache.save_comments=1: v9 J3 F0 G8 S' z

  1806. * G. ?& q9 g( J9 }$ m" _( Z6 d8 G
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code, C" R3 S/ o5 @, s) J
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.2 q  f7 m) S; |% ~  T* g
  1809. ;opcache.fast_shutdown=0
    3 Z, E. W) B' U8 \8 f  n

  1810. & T- F  j. U( O( ]: ^
  1811. ; Allow file existence override (file_exists, etc.) performance feature.6 J8 B1 Y$ N1 t% s' c; H/ E: i) N
  1812. ;opcache.enable_file_override=0$ P# Y$ O) A7 Q+ v. D3 ^

  1813. ( w7 M/ S) t; m/ H1 [
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache* ^$ G/ d% q2 `5 i4 g" V
  1815. ; passes
    * N5 d- e' y" q6 ^1 ?8 b% b$ P
  1816. ;opcache.optimization_level=0xffffffff
    * ?7 ^) O/ P8 @2 g' L
  1817. , R4 ^! T- y% i: S9 E! E/ ?
  1818. ;opcache.inherited_hack=18 L) d, e* z4 s# @; a
  1819. ;opcache.dups_fix=0# T4 _# B1 K8 ]/ |2 b* U/ ?
  1820. 9 ^! I5 E8 E/ T* D
  1821. ; The location of the OPcache blacklist file (wildcards allowed).  B3 ~8 u6 M: [7 _% Z
  1822. ; Each OPcache blacklist file is a text file that holds the names of files8 r  p7 h4 a4 o  s8 Y
  1823. ; that should not be accelerated. The file format is to add each filename9 u" Q  c" V8 o6 _) i
  1824. ; to a new line. The filename may be a full path or just a file prefix
    7 y& R3 p) r* R& j/ w. f
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    8 K' d) O" |+ ~; Z2 s; s
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).+ ?0 \8 |2 Y( S' G1 d- N# C
  1827. ;opcache.blacklist_filename=
    / C/ P7 a* \$ g) X3 Q

  1828. 2 t9 b, B# f' m6 Q; b/ U
  1829. ; Allows exclusion of large files from being cached. By default all files! v& I  D# t; o. r! u- O  L! z
  1830. ; are cached.
    * p, [" W/ O- a3 i
  1831. ;opcache.max_file_size=0
    ; u) Y2 }& k# k( p" B" e" ^- I' c
  1832. ( S( o: p; Z8 U9 k2 i0 t0 `
  1833. ; Check the cache checksum each N requests.! \( A4 g2 }6 B: w# A/ P
  1834. ; The default value of "0" means that the checks are disabled.
    ! W# b1 f* ^' h% r/ E8 ^
  1835. ;opcache.consistency_checks=0: Z5 _# G% v) H& ~
  1836. 2 G, t: |& T4 x
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache, s8 p  V* Z3 w5 \4 f" N; _
  1838. ; is not being accessed.
    - Z) [8 Y8 Y4 i. X8 S
  1839. ;opcache.force_restart_timeout=180: G* _  X2 g5 i
  1840. ; q0 z, v8 z' f+ n
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    4 }. P& d! b1 a* h$ m* A
  1842. ;opcache.error_log=
    8 v' K+ Z4 X0 Z' w  H$ Y9 j

  1843. . v4 U& J2 G# z* z
  1844. ; All OPcache errors go to the Web server log.# e, @; L! L! j. B
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.! a7 K3 _: ?5 D2 z
  1846. ; You can also enable warnings (level 2), info messages (level 3) or: `* A$ H9 E1 p. P7 ~2 ~
  1847. ; debug messages (level 4).9 u) O7 i& h2 C) h* p
  1848. ;opcache.log_verbosity_level=1, k/ V8 y1 }% N% v1 l

  1849. & j  j' {/ }. A
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.: I4 W5 v+ V" c5 u7 S; e/ a9 p5 w2 d
  1851. ;opcache.preferred_memory_model=+ E' p2 i! H( v! y7 ^5 A
  1852. 9 A( V* q4 }& \4 c/ }3 e& q
  1853. ; Protect the shared memory from unexpected writing during script execution.
    6 W' i0 P5 @# `5 _- D0 Z- v
  1854. ; Useful for internal debugging only.
    2 [, \0 p& m5 w/ \; \* q' W6 p) y
  1855. ;opcache.protect_memory=0
    1 n8 X: J0 D% H7 q; D4 K5 L2 M" Z
  1856. ) N+ l9 z- h9 U% K& \6 f) a9 R
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is# Y9 K, v8 g7 |0 g9 `* S6 _* X; m
  1858. ; started from specified string. The default "" means no restriction
    : A) ^2 Q; @" b8 S, W. D
  1859. ;opcache.restrict_api=
    1 ~' Y" p! N) \! k; C5 N4 I2 b
  1860. 2 c3 q/ M6 k! ^/ @! q
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP9 W& N2 \# y  T1 v0 S% t
  1862. ; processes have to map shared memory into the same address space. This! C2 z+ c. ^  B% k3 q: Z3 M: z' O  t
  1863. ; directive allows to manually fix the "Unable to reattach to base address"' x4 C. V; ^- d0 D7 V, }" M5 [
  1864. ; errors.
    ' y3 x  H- D# X+ u
  1865. ;opcache.mmap_base=
    * u- @/ ]& L$ C7 N

  1866. 6 [* _6 s6 Q  `: E
  1867. ; Enables and sets the second level cache directory.
    1 d. {7 `: x+ [
  1868. ; It should improve performance when SHM memory is full, at server restart or
    " b- E; ?; v  u* x
  1869. ; SHM reset. The default "" disables file based caching.- O+ U0 O( ?! ~( S
  1870. ;opcache.file_cache=
    6 `6 v6 J+ s8 Y+ P

  1871. 0 G9 |# Z5 N$ G
  1872. ; Enables or disables opcode caching in shared memory.
    ( T$ N1 x! e! k
  1873. ;opcache.file_cache_only=0
    8 [- j1 N( w9 M% @1 X

  1874. 6 A/ R" i2 K+ |: V
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    * w2 j- Y; F7 P( }, A6 B, q0 `
  1876. ;opcache.file_cache_consistency_checks=16 _: b" k( P3 y* n: c
  1877. 9 l6 p; b& f' ~- V4 p8 K
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to& f- ]0 c* W# [2 t/ D, b3 w# ~! r
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file3 V8 ^1 q7 Y& i, `) g- n" |3 i
  1880. ; cache is required.
    1 g3 @* K2 a: q
  1881. ;opcache.file_cache_fallback=1! `1 J/ T' P  G. o- N  ~$ P8 w: S

  1882. , u0 Y# X# X: A/ e6 T
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
      ?0 m+ y3 U% W9 a0 Y
  1884. ; This should improve performance, but requires appropriate OS configuration.
    $ r% O3 J, D& q9 K6 \! v
  1885. ;opcache.huge_code_pages=1( ?0 [& g9 J  R- B' G: W+ U

  1886. - j2 {, v3 {0 j0 }
  1887. ; Validate cached file permissions." h1 x- ~& D/ @# S' h% k6 E/ f
  1888. ; opcache.validate_permission=0
    6 ]3 {1 g6 [7 F0 G& \% v6 m8 p. ~$ t
  1889. 0 u- W1 {, `4 V3 M$ s6 a% f7 i
  1890. ; Prevent name collisions in chroot'ed environment.$ U3 }: u( e9 t/ _+ I; U
  1891. ; opcache.validate_root=00 n% E' ]$ E- ]5 L/ {( U

  1892. # }  t+ W& @% F6 P% W5 `( Q7 l2 H
  1893. [curl]5 o* R$ Z, w3 {, P3 K; d0 k2 A
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an, Z' U- v9 f1 {$ I; j* c
  1895. ; absolute path.
    8 B0 Y! d& R& h* K- l* B
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    % y; o7 W9 `' s1 V$ ~

  1897. # [  K( ~+ A; S) T
  1898. [openssl]
    " k* D5 U$ v7 D
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem: ~+ n  A( A5 j' U
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should0 F0 E7 a& v- j- a
  1901. ; not specify a value for this directive as PHP will attempt to use the" g* i2 u& L( |
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    1 Y% s' @" d4 V3 J, |, J
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    1 T' L9 j2 \$ G+ t! v3 \
  1904. ; option.
    5 T" z/ \/ K  @, D  i, x3 }
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt* ]  F+ T- a5 P+ H5 M3 |1 v9 G. I
  1906. , y  c0 v/ y7 t& {6 |1 j8 B8 S
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the. T$ }. F4 C2 F
  1908. ; directory pointed to by openssl.capath is searched for a suitable( D7 J) q) [! F1 q( a# {
  1909. ; certificate. This value must be a correctly hashed certificate directory.( j; F0 r0 R# |+ g% Z
  1910. ; Most users should not specify a value for this directive as PHP will
    % `* p' Q% _# W/ f0 p+ F& V
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    : p, H& p! d7 Z2 i
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    2 w/ S5 n7 }9 w/ ~! E* b$ x& b
  1913. ; SSL stream context option.
    7 E" V/ t  C/ l. `6 Y5 \
  1914. ;openssl.capath=
    $ Y* O; w# k7 M3 c5 b' p
  1915. % e3 L( l: Z0 L0 Z  U$ T# J! x
  1916. ; Local Variables:
    - C7 T& P. ?. V+ ?# v' R9 W
  1917. ; tab-width: 4; ~* Q* w% E. A
  1918. ; End:3 d  N1 k4 _6 e* L
  1919. / i* ^+ }2 k9 s
  1920. ;eaccelerator' H( |' J7 p, ?# z& R6 k

  1921. 3 m9 k: k) k  i! i
  1922. ;ionCube' s/ B/ F5 @& G! p
  1923. ( ?+ B" E& c; H) A8 B. C/ \
  1924. ;opcache
    * [) ]* v5 `8 N' ^. o
  1925. 7 m. o  V% D8 Y, X5 I
  1926. [Zend ZendGuard Loader]5 i, `/ v6 X3 }; U
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.& M7 B8 y% i4 F* \% G, i% J
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    - d2 Y) q8 y' [: _  z0 I( e" e; e) p
  1929. ;zend_loader.enable=19 ~- E4 [' \( `% w# X
  1930. ;zend_loader.disable_licensing=00 c5 \+ L1 E8 N* d' J8 Q
  1931. ;zend_loader.obfuscation_level_support=3, `. I% L4 g, |# `' e$ t$ f
  1932. ;zend_loader.license_path=
    0 B+ Q, l+ |8 w3 L. ~! {
  1933. 8 U$ C3 D! J5 \' `: r1 {3 i( K
  1934. ;xcache
    $ E" \$ ?% S4 x7 N( L% k/ p

  1935. / ^: v( q- R& M: i
复制代码

/ r  J2 @( Z' R% z3 D$ p: u6 V( U; [5 M4 ]& M" p5 U3 n0 m
, y6 J8 n1 \" M$ M- E- A

  _5 Z5 A4 d% [4 J/ x& w) c
0 Q; ^: [& w" I  p
! w; S1 Z6 ^* P2 }: c7 \* A% ?* Y2 y7 P
PHP5.6版本原始设置0 V5 T6 v/ O. P" _% I" @
) e; T5 y, X3 Z( l- }
  1. [PHP]% q: X5 Y: _: \/ \. m) b4 O" C
  2. 8 e9 k, F5 H8 y& p' G6 u
  3. ;;;;;;;;;;;;;;;;;;;
    ! ~; F  p6 o6 e
  4. ; About php.ini   ;
    : h1 t: e, t/ o" p  c6 d7 l6 R6 r- ?; G
  5. ;;;;;;;;;;;;;;;;;;;7 |; E9 \! e' ~+ _5 Z
  6. ; PHP's initialization file, generally called php.ini, is responsible for" H* D+ w( U; F8 e
  7. ; configuring many of the aspects of PHP's behavior.
    1 a) k+ X1 f/ ]6 D
  8. . P. L) _( S$ }  B& V( R+ L4 h
  9. ; PHP attempts to find and load this configuration from a number of locations.7 i4 _( o" o4 ^; p( [
  10. ; The following is a summary of its search order:( I2 y" N, ]8 @
  11. ; 1. SAPI module specific location.3 W7 ^: `$ M0 j  m# r
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)9 D. R. D6 a# A4 P- [! R
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    2 [- x6 m1 I/ ~. O  ?2 B
  14. ; 4. Current working directory (except CLI)
    + X0 J6 _4 N( O1 e; Q) d: ?# @
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP3 h+ \, ^# i  g; n- d- f5 {
  16. ; (otherwise in Windows)
    ( U# l  ]' D6 A0 A' W
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    9 W% P, M: ]- C1 \
  18. ; Windows directory (C:\windows or C:\winnt)# R* _( B: x- r/ [! k6 Z1 t4 V- M2 G
  19. ; See the PHP docs for more specific information.
    9 V" w1 w# [4 I0 D) P4 I* ^4 @
  20. ; http://php.net/configuration.file! R2 E( n+ S8 f0 L
  21. 2 _. ~( Z! t8 e* r) @& u( X
  22. ; The syntax of the file is extremely simple.  Whitespace and lines$ E( ~, n* d% A$ n* F& P3 O
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).; I9 m3 l* [5 y
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though- x, X" N+ a( P5 _9 a8 k0 Y: {
  25. ; they might mean something in the future.! l8 R' L3 g  H$ p! a/ `$ G' c6 I
  26. " _3 I/ [9 ]3 I3 P- H8 r1 A
  27. ; Directives following the section heading [PATH=/www/mysite] only
    " I( b8 L% M1 v# r' r6 U: W  z
  28. ; apply to PHP files in the /www/mysite directory.  Directives- h: F! N& ^% N% _  }
  29. ; following the section heading [HOST=www.example.com] only apply to
      d7 I- P- [0 L, _' @- J
  30. ; PHP files served from www.example.com.  Directives set in these# S7 S* ^; P' {( `
  31. ; special sections cannot be overridden by user-defined INI files or; A! X) T/ `/ X1 w' \1 e
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under0 }) M7 @, Y( [
  33. ; CGI/FastCGI.8 T2 U$ M: t7 Y! b( e& F& I
  34. ; http://php.net/ini.sections. w# |. P* O' J& K' K

  35. 0 B( \: X2 x& g! H- Y' u# N' D* d5 ^
  36. ; Directives are specified using the following syntax:
    9 ~) _) c3 f* D# G/ m0 Q
  37. ; directive = value
    - k* s' d* X$ r4 X8 d
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.% ?. ?/ R9 l' Y% Q! v
  39. ; Directives are variables used to configure PHP or PHP extensions.+ V. H, q6 o9 E1 I  a$ t3 h" S5 Q
  40. ; There is no name validation.  If PHP can't find an expected
    / {4 U) A$ y6 H$ Y; p3 {# ~
  41. ; directive because it is not set or is mistyped, a default value will be used.
    * o/ N+ v# T3 F, N( r0 r5 F8 P) x4 n
  42. 7 t& Y$ C( ?2 e# ], P  y
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one2 F3 u7 E2 j3 S$ K/ U1 X
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    ; a" ~9 q9 f3 x
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a. e$ U5 L5 o, L/ W3 M+ Z; [0 Z  o1 h
  46. ; previously set variable or directive (e.g. ${foo})  r; j& }! D8 {9 f# S5 E1 U
  47. + Q$ e" X5 o2 O  s
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:5 d. [# u- |4 |2 x
  49. ; |  bitwise OR, N6 M8 I- J& |( Z
  50. ; ^  bitwise XOR
    : F& J# A* q! S7 D8 b1 i
  51. ; &  bitwise AND7 t) n/ i, T8 V" Y, }8 e
  52. ; ~  bitwise NOT4 A. J5 q! ~9 z
  53. ; !  boolean NOT5 r1 y5 j0 \; j3 I& i2 P5 T
  54. ) o9 X- p! N9 E/ P  T
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.& V' [1 T' n1 l3 x1 d
  56. ; They can be turned off using the values 0, Off, False or No.  [  o, c9 W- s- N) I
  57. 0 ]- Y8 `- Z* z7 K3 L
  58. ; An empty string can be denoted by simply not writing anything after the equal5 I7 n1 o8 m8 m) i- g1 z+ j
  59. ; sign, or by using the None keyword:
    9 p( \7 s8 r, `- A& J6 T* _- ?- j

  60. ! @" O- d4 s( @6 V% l; C
  61. ;  foo =         ; sets foo to an empty string
    & q" w( W, Q3 ^( ^! K( v$ ^
  62. ;  foo = None    ; sets foo to an empty string
    ( e- o4 o- w/ O0 g- A- w: K
  63. ;  foo = "None"  ; sets foo to the string 'None') ~. n& ?2 I: H6 L; u4 D" N$ V# f
  64. 5 ~- A1 e( U4 G; ~0 [4 i3 v% X
  65. ; If you use constants in your value, and these constants belong to a
    . Q* Y0 U! E* H$ A6 w3 A
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),, V3 ~4 i# j- Y6 R
  67. ; you may only use these constants *after* the line that loads the extension.
    5 J2 j, A8 B2 D! W% ~9 f
  68. , s; R: d" c3 G, z
  69. ;;;;;;;;;;;;;;;;;;;
    1 l1 s9 a/ |% ^1 g; M$ \5 s; _5 ^$ b# H, @% t
  70. ; About this file ;" B. K! M% E, Y' C. l
  71. ;;;;;;;;;;;;;;;;;;;8 \" y; F8 f% j8 }
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    1 e& I) s: e; j$ A/ R
  73. ; in production environments and one that is recommended to be used in& v1 D0 x5 A% M  Q
  74. ; development environments.
    1 S3 X; I: G( Q# C7 v) R9 z. G
  75. 2 S3 Q$ [2 ?( O8 }
  76. ; php.ini-production contains settings which hold security, performance and' n5 C; F+ C- S* l# a
  77. ; best practices at its core. But please be aware, these settings may break
    8 |, y3 U: E* p! ~
  78. ; compatibility with older or less security conscience applications. We
    ) S9 G/ z( y+ i4 O7 _
  79. ; recommending using the production ini in production and testing environments.
    5 N7 \$ X# e5 {$ S" r' V
  80. # [: t, H, c( ]& F7 m
  81. ; php.ini-development is very similar to its production variant, except it is% d, S  A, o1 L/ }+ N; W
  82. ; much more verbose when it comes to errors. We recommend using the; u6 W; q9 B6 S4 X5 x
  83. ; development version only in development environments, as errors shown to
    + m; ]& b3 {: ~2 Z% H
  84. ; application users can inadvertently leak otherwise secure information.
    - z" o4 ?! p" }5 Q  X* K3 n
  85. 1 P# {( ?" Z! e3 L0 v1 m+ S2 q
  86. ; This is php.ini-production INI file.
    9 w2 _4 h& Z: v/ `) ~' i

  87. 0 h  S3 c8 F# Z3 \2 T1 M
  88. ;;;;;;;;;;;;;;;;;;;! R: M9 e7 Q3 `1 ~4 D
  89. ; Quick Reference ;
    ( K9 x& n& z' A7 Y! t, T1 Q( I4 ^
  90. ;;;;;;;;;;;;;;;;;;;4 M% b# w+ H+ b, h1 d" s
  91. ; The following are all the settings which are different in either the production& n% p$ g$ V1 v& L
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    7 [. G0 ^' r8 X
  93. ; Please see the actual settings later in the document for more details as to why
    . s6 _9 W  e/ ^7 ?
  94. ; we recommend these changes in PHP's behavior.
    8 T$ N7 ~5 W% g; ~

  95. " x: [$ p4 c# k: D
  96. ; display_errors$ X# \& ?& s. H! N
  97. ;   Default Value: On
    ( t& ]  ]2 p) n
  98. ;   Development Value: On! T2 y8 ?3 G, X9 D4 s" G2 Q* ~5 g
  99. ;   Production Value: Off
    " m; s% t9 Z) r# o+ s8 [; d

  100. 9 q' L  w+ R% F& @1 J* ]
  101. ; display_startup_errors7 ~8 ]; z& Q0 D
  102. ;   Default Value: Off
    + H" s0 H5 O5 C1 k  b
  103. ;   Development Value: On( ]: f4 m8 k. i7 n
  104. ;   Production Value: Off( |+ d9 e) x/ I2 a; V5 s( Q5 v
  105. , n5 u! {! p7 v' b1 v
  106. ; error_reporting
    / b! a$ e( H4 H8 S& E! A  I
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    1 t6 n5 d! `' z3 j+ G
  108. ;   Development Value: E_ALL1 F  m6 ~0 a! f2 T
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT: ]2 z; i3 P; U$ v
  110. / n+ _4 E) s7 e+ ]- Q1 Y# J
  111. ; html_errors
    7 c7 E* d' j/ D$ Q8 y
  112. ;   Default Value: On3 i% x2 p8 Z  a
  113. ;   Development Value: On
    ' v1 E1 b6 k% n: m9 C
  114. ;   Production value: On
    2 i+ T* f3 r' f8 \5 `( z& ^

  115. 3 |* q) \: \- x/ L( j& ~. z
  116. ; log_errors
    9 ~! Y* _0 M; _" h
  117. ;   Default Value: Off7 k7 f0 P2 _3 ?2 y5 u% {
  118. ;   Development Value: On
    6 z9 x' J4 C& G9 Z
  119. ;   Production Value: On
    + \+ W- X* O' @+ [: r0 V) k
  120. $ t. j" s8 I# w+ f  I
  121. ; max_input_time
    , D+ D) {0 Y- o& v
  122. ;   Default Value: -1 (Unlimited)
    4 F& M: _, h$ U; I
  123. ;   Development Value: 60 (60 seconds)
    ' R! C3 m2 j( ]  N3 w
  124. ;   Production Value: 60 (60 seconds)  |. ]. ?' t/ R+ t: l4 H
  125. $ B, |4 K, u) |7 C2 v8 L! S  x
  126. ; output_buffering' r: }& R: N1 m" M1 U2 C4 s- d. r
  127. ;   Default Value: Off/ \$ r" }3 h: v! u0 L7 ?
  128. ;   Development Value: 4096
    ) N1 N% h: u* x- P5 Y
  129. ;   Production Value: 40966 h# y4 f+ e% j0 O1 d: t9 g5 A
  130. $ D- t! U4 a* G7 w
  131. ; register_argc_argv
      F% j" l+ S2 @( j( ]6 ?: n8 ]& @0 l
  132. ;   Default Value: On
    1 T) H( x& Y- S7 d
  133. ;   Development Value: Off) f% p* G; f6 \( m2 `/ H
  134. ;   Production Value: Off0 H9 X- d' ^8 {4 ^
  135. 3 }  o/ C% R  s# f; Y% ^
  136. ; request_order
    0 z! w; `, F. ]
  137. ;   Default Value: None8 M# ~, v0 H" N
  138. ;   Development Value: "GP"
    0 E7 b4 w. p; W4 ]: B1 e
  139. ;   Production Value: "GP"
    0 _# F+ }; @- L5 i7 ]/ |
  140. & H. P* I! U$ K7 G" ]/ G
  141. ; session.gc_divisor
    # B! C) m7 l1 }1 Z- Y" r
  142. ;   Default Value: 100
    4 [! A& H5 }& r. _! @& H; l; ^
  143. ;   Development Value: 1000
    0 b3 k6 X! l9 ~0 E
  144. ;   Production Value: 1000
      k- V) |# ~" F. x- f# t" m, v
  145. , o) c8 [' ~7 [4 n& I
  146. ; session.hash_bits_per_character& X1 z2 P: }+ ^8 y" d
  147. ;   Default Value: 49 C# t" S# r0 B4 B7 y
  148. ;   Development Value: 5/ z. o! `2 U& B0 l! w0 d
  149. ;   Production Value: 5+ `8 W. u; o/ @* P- \9 m
  150. . v& p5 f+ v5 Z& X4 s% l. B
  151. ; short_open_tag& w, D/ m4 J6 ?" o* h
  152. ;   Default Value: On
    % y: d- V1 H. w: _+ k; c
  153. ;   Development Value: Off
    6 f# [- z" Z, C
  154. ;   Production Value: Off8 \$ R/ i% i9 C- v9 Y
  155. 1 t; C$ }3 _6 ]
  156. ; track_errors1 D" E4 S" q9 h# C% m: d! q! z
  157. ;   Default Value: Off- D5 M/ h& D6 t
  158. ;   Development Value: On
      b$ P! c# c- R; J; ^6 X
  159. ;   Production Value: Off5 N. x  Y. z) `3 N0 u" J7 Y* {

  160.   f' F/ q$ r+ O1 F
  161. ; url_rewriter.tags( t( u) }9 v! e( w7 I& |7 h
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="+ ^8 N7 g( Y; Y0 H
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    8 r+ L3 p, }4 }8 o9 S/ B, F1 N
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    5 ?( L$ I, f8 w: R% b1 V. `* d" N/ Y

  165. - Q8 ?1 O: ~3 ]+ C% p
  166. ; variables_order
    9 ~# M$ Z4 V8 W
  167. ;   Default Value: "EGPCS"
    + Z& {2 A0 Q) H7 [/ [
  168. ;   Development Value: "GPCS"
    ( m$ w9 U/ @, F2 u
  169. ;   Production Value: "GPCS"
    " w' L) _7 `6 s9 O" K9 P5 Z
  170. 4 Y7 k9 h& v# X
  171. ;;;;;;;;;;;;;;;;;;;;
    / {% Z. E- X0 S+ v3 e
  172. ; php.ini Options  ;! M& T* y5 C& c: k' q; N0 f$ F
  173. ;;;;;;;;;;;;;;;;;;;;
    & k* r  e0 ^3 \- ], I3 i  Z
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"- Q$ V/ `4 [8 X/ s% N4 j8 L3 |! l* Z
  175. ;user_ini.filename = ".user.ini"; b4 T* Z0 V6 d1 W8 O/ _& O

  176. ( u: p. e  z, M. ?9 d! j
  177. ; To disable this feature set this option to empty value
    " {0 H% {' k$ g! C) r/ `
  178. ;user_ini.filename =
    : y/ R$ j# _, V- J- s5 g) C
  179. . ]6 ?) ^7 R3 m( ^* T9 o+ i
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    # a- E9 T8 r3 P0 P/ B9 J! T* S  p
  181. ;user_ini.cache_ttl = 300
    , ^4 p) @3 k+ w1 P9 Y4 O# A# \% p% P
  182. * }9 U* G. x, r: t
  183. ;;;;;;;;;;;;;;;;;;;;
    + S! m0 R% t( r. h% D
  184. ; Language Options ;* q' K% \! W% y, l/ I" k! D
  185. ;;;;;;;;;;;;;;;;;;;;; N4 M# U. Z7 |' D/ U

  186. $ ?; ]) J+ D% g- C2 _5 m
  187. ; Enable the PHP scripting language engine under Apache.
    : O' x& E$ L+ V2 I
  188. ; http://php.net/engine# ?: J3 Q$ W: y) z8 E. Z9 c) X
  189. engine = On1 O9 ^! R- K# L% L- s

  190. ! X) s; |! u  r+ ~6 B# Y% s
  191. ; This directive determines whether or not PHP will recognize code between
    8 X" G% S8 b; y: r# E3 n& c
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    2 M. O6 ^0 e* ^7 V/ k& A
  193. ; generally recommended that <?php and ?> should be used and that this feature% B5 `4 |1 k; N0 q
  194. ; should be disabled, as enabling it may result in issues when generating XML
    1 ^% {- ~3 ?, D4 s1 U& v
  195. ; documents, however this remains supported for backward compatibility reasons.8 ?6 v% |7 f! `3 i( W
  196. ; Note that this directive does not control the <?= shorthand tag, which can be* N( f; g7 @8 [( A1 r7 C9 ^' h
  197. ; used regardless of this directive.
    ; T8 ?$ O) s! S- z3 c! ^
  198. ; Default Value: On
    - J! W8 A. D& j& x, B4 T5 _
  199. ; Development Value: Off
    ! O7 b8 }( M' @5 u7 m: F# y
  200. ; Production Value: Off
    0 L  h' Y8 n, q3 F1 B: B7 n
  201. ; http://php.net/short-open-tag
    3 O: H  ^7 K9 K# ~# h
  202. short_open_tag = On5 t7 v6 N* K$ [% A( S" @9 Y3 H7 n
  203. 9 f0 b/ b. Z) L4 M5 Y: Z1 z
  204. ; Allow ASP-style <% %> tags.
    1 u* \5 {: |2 j
  205. ; http://php.net/asp-tags
    ) ?" u* H* [/ N2 S$ A, v! ]" X
  206. asp_tags = Off
    : e% M9 @" ]2 s/ T( {0 P0 U. l8 _
  207. / q6 K" a3 Z2 U. Z
  208. ; The number of significant digits displayed in floating point numbers.
    # t; ~( I, f! P6 ~
  209. ; http://php.net/precision0 [2 Z* K6 L' F1 a  f* g& |+ Z
  210. precision = 141 L6 [( V* g& ]5 ~) i# V- V$ ]1 ]

  211. + N8 Y4 ]1 I' Q: \0 |# Z
  212. ; Output buffering is a mechanism for controlling how much output data  d. L8 k2 A+ {
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that0 h; z# I6 X4 _- v7 A# D& b
  214. ; data to the client. If your application's output exceeds this setting, PHP
    - |9 Y, u# G: c$ _% @
  215. ; will send that data in chunks of roughly the size you specify.
    & _1 x, T+ l! J) p5 \) V7 L( @, _
  216. ; Turning on this setting and managing its maximum buffer size can yield some) o( ]) b4 B1 z: h, z# ?% i1 T6 T
  217. ; interesting side-effects depending on your application and web server.
    % ^5 P: `) `. [- C) X3 [5 P
  218. ; You may be able to send headers and cookies after you've already sent output
    6 J+ P" }& c4 J+ \5 c2 w4 h* f' B8 p: b
  219. ; through print or echo. You also may see performance benefits if your server is6 ~" f' [! F1 M& D
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    : x0 x7 W9 z* `8 @- a3 O
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    ( ?  Y  g" h# H, i. i  h
  222. ; reasons.4 k* n- P7 H6 \3 F# }  W7 Y& ]# L
  223. ; Note: Output buffering can also be controlled via Output Buffering Control! R% W5 r! F3 g$ Q8 Z
  224. ;   functions.
    - H6 S' j9 P: k; _
  225. ; Possible Values:" W( P9 _* W3 y& P( A
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)% ^0 N8 F+ F+ I% ^) J( P
  227. ;   Off = Disabled$ q9 o: o5 M9 i8 R* G' J9 h1 t
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    ( ^9 m4 ?# \+ U; {- S( F8 ]
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI7 A/ R  c* t& k6 \9 Q) ~+ i
  230. ; Default Value: Off! Y7 j7 I& h, q% i
  231. ; Development Value: 4096& g, D+ V2 p' R/ B
  232. ; Production Value: 4096- S( N5 X  l3 f$ n" ~
  233. ; http://php.net/output-buffering; f4 Q  Z* h6 E( [
  234. output_buffering = 4096* \/ w1 m# S( S. d2 }
  235. # _* F7 e: V# \. h
  236. ; You can redirect all of the output of your scripts to a function.  For
    4 {5 M. _% k9 R. l7 j- {
  237. ; example, if you set output_handler to "mb_output_handler", character
    4 I- F6 o4 A( z5 P
  238. ; encoding will be transparently converted to the specified encoding.: r8 n$ R0 w& m" D5 m; S
  239. ; Setting any output handler automatically turns on output buffering., b7 S6 z- ^+ T! k" x
  240. ; Note: People who wrote portable scripts should not depend on this ini
    % |! W% n1 c' K7 ~5 M/ ^& G, [
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    9 C; G+ |4 w1 g5 z, i$ \
  242. ;   Using this ini directive may cause problems unless you know what script
    ( e& j+ _; e0 T3 `8 [: _8 e
  243. ;   is doing.
    * }* T+ l' o  Q/ B) p8 N/ \, T3 @4 X& h
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler". u# f( s# i; K8 g
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    ! a" C7 D6 i- O: Z1 i; @
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    ( u! H; W: j3 X9 L# T
  247. ;   Instead you must use zlib.output_handler.
    , R+ r' X$ V3 t. i2 E
  248. ; http://php.net/output-handler3 p$ _0 w' h/ ~6 v; x: b
  249. ;output_handler =
    % x  T7 M) G$ C0 c& |" \* D5 N, K

  250. ) P3 N8 ?8 \0 _9 f
  251. ; Transparent output compression using the zlib library! j, g$ }% w$ U$ K$ q
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    ( |+ w8 c, Q4 C7 v% C3 j
  253. ; to be used for compression (default is 4KB)
    ! |6 d0 M& h$ R) e  `  W5 T
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP9 t5 j8 O) u* }" S8 j; I
  255. ;   outputs chunks that are few hundreds bytes each as a result of; q% f$ ]9 s7 r9 p) i7 f: |
  256. ;   compression. If you prefer a larger chunk size for better" W; T+ T( q* u6 G
  257. ;   performance, enable output_buffering in addition.
    5 n/ \7 d" Q* T5 W4 E3 O- d2 E
  258. ; Note: You need to use zlib.output_handler instead of the standard
    1 M! l' @9 i* D7 [4 j( S+ ^
  259. ;   output_handler, or otherwise the output will be corrupted.& }7 m' j6 M! d( ]: b
  260. ; http://php.net/zlib.output-compression$ T7 \( n& W. s+ ^
  261. zlib.output_compression = Off
    7 b- z/ }: S9 h- h& D7 Q

  262. 0 k8 f" G( q: Z' ~- H
  263. ; http://php.net/zlib.output-compression-level
    : J/ E' O4 Z5 s
  264. ;zlib.output_compression_level = -19 ^! d( @: Z( K" v
  265.   J" k2 Z! N8 J8 u/ [3 @
  266. ; You cannot specify additional output handlers if zlib.output_compression- O- w$ G6 m4 ]8 H1 U. o
  267. ; is activated here. This setting does the same as output_handler but in
    4 E; T, E: t5 I$ F' S; Z
  268. ; a different order.
    1 k7 c& P1 t* W) M2 w/ A
  269. ; http://php.net/zlib.output-handler$ z7 W: ?6 n  l( b4 P: `" y
  270. ;zlib.output_handler =
    + L0 V0 f- a% p) j* ~

  271. . Z9 u( N+ t8 e: g& q7 h
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    $ h9 }& A7 O8 w5 _3 r) W: b* ~* w, L
  273. ; automatically after every output block.  This is equivalent to calling the( q( y  q" @, k" y. l0 j
  274. ; PHP function flush() after each and every call to print() or echo() and each
    - ]( w) ]5 X+ h) n5 {
  275. ; and every HTML block.  Turning this option on has serious performance2 r7 [1 ?# L. _6 B7 Z2 N8 R
  276. ; implications and is generally recommended for debugging purposes only.5 @" g+ g0 \* |: A. y. G6 _# S8 T
  277. ; http://php.net/implicit-flush/ {3 S) b' d7 d' \) y0 J( `
  278. ; Note: This directive is hardcoded to On for the CLI SAPI8 J6 M- A( l. ~' B1 f- e
  279. implicit_flush = Off
    , d) p9 C2 x  \3 N. O
  280. & t1 Z/ h4 n/ ?* |0 @9 Y" P  z
  281. ; The unserialize callback function will be called (with the undefined class'
    9 @5 N; I: `& L  m! |8 R
  282. ; name as parameter), if the unserializer finds an undefined class
    , E2 r2 K' b% T5 C  v  }1 y
  283. ; which should be instantiated. A warning appears if the specified function is  J5 g. R  S) U3 i
  284. ; not defined, or if the function doesn't include/implement the missing class.2 W8 B: K+ O9 K8 T
  285. ; So only set this entry, if you really want to implement such a$ }+ c+ L9 B8 P' P6 P3 |: B% E) C
  286. ; callback-function.
    , S9 D- L' L* y% F; [; i- `9 }9 G
  287. unserialize_callback_func =
    ; i! \$ T( \2 D( S  Y& t# p
  288. 3 M! f% \" o+ e$ Z  g5 E
  289. ; When floats & doubles are serialized store serialize_precision significant
    . m& M( W. Y- u* n- m6 a3 w
  290. ; digits after the floating point. The default value ensures that when floats
    ) w" K+ N% g5 K, v8 }4 L
  291. ; are decoded with unserialize, the data will remain the same.
    - Y8 H: ]# n7 L% W7 i0 [
  292. serialize_precision = 17
    ; \+ o$ a, z0 y8 R9 B9 t0 T

  293. 9 }, |5 |2 q( p+ i
  294. ; open_basedir, if set, limits all file operations to the defined directory2 `; g6 Q0 A" p$ ]
  295. ; and below.  This directive makes most sense if used in a per-directory
    9 _4 }! e  U5 W/ U
  296. ; or per-virtualhost web server configuration file.) N% A. n' V8 R9 o+ e6 A. f3 C
  297. ; http://php.net/open-basedir
    2 Y, m4 A0 F: w6 v6 O0 [
  298. ;open_basedir =
    4 i7 M0 m# l% l) C. s

  299. 9 O" p  _1 ^& D! _4 D& Q
  300. ; This directive allows you to disable certain functions for security reasons.9 l3 o9 v5 b, _. g$ w/ v
  301. ; It receives a comma-delimited list of function names.' M' ~- H" v5 a" M
  302. ; http://php.net/disable-functions
    ; I" C" ?4 M) }! d1 F1 h1 e7 f
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru7 e! X9 R; O  j1 b

  304. 8 K4 d( |# z& {
  305. ; This directive allows you to disable certain classes for security reasons.9 [% g+ q4 s+ u
  306. ; It receives a comma-delimited list of class names.4 J4 J$ x2 x4 \# y# t* R
  307. ; http://php.net/disable-classes
    # X! @8 u5 h: D  a- v
  308. disable_classes =% [0 c% f) b' v0 t9 y5 |

  309. 5 F3 E' L$ V, w/ U
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    6 m8 P7 ]) W1 x1 X4 b* ?1 T
  311. ; <span style="color: ???????"> would work.
    9 @: q8 H% H* Z- X4 T/ Z
  312. ; http://php.net/syntax-highlighting8 w3 @$ K+ X. K$ b  ~7 I- j( m
  313. ;highlight.string  = #DD0000
    3 J2 U, ^8 v$ T) f: z) W: s- h
  314. ;highlight.comment = #FF9900
    7 q: i1 {/ j  Q4 y7 v2 Q8 l, ^
  315. ;highlight.keyword = #007700# k& K7 g: B0 d4 T- u/ f
  316. ;highlight.default = #0000BB2 Q3 z0 |; v5 Y& @; k
  317. ;highlight.html    = #000000
    0 d" M3 N" L: }  M; j
  318. ) O' S) o; ^. m; u
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    # i4 v) @6 ?3 X2 H) b5 H
  320. ; the request. Consider enabling it if executing long requests, which may end up
    ! i6 X2 V1 F8 P+ l) r2 S
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    3 W) m; D+ |! w+ G2 \  C
  322. ; is to disable this feature.
    ! g) Y/ Z% g+ L6 C+ S/ @9 b
  323. ; http://php.net/ignore-user-abort  X; @7 ^9 K) z# G3 ]
  324. ;ignore_user_abort = On* j  W! ^. j, M* Y0 l
  325. ; e7 T1 K6 M* P
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    1 B0 V' r3 r% [
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    1 W; B! {3 J; L2 _) I( N$ `0 y6 D9 U
  328. ; the file operations performed.
    + O2 H& R. F9 Q9 l- T
  329. ; http://php.net/realpath-cache-size
    % W4 }) _$ m( W: E) a2 ?- S
  330. ;realpath_cache_size = 16k
    $ W/ X" K1 Q1 m' O

  331.   b: l+ ]* O1 M9 _/ [, T
  332. ; Duration of time, in seconds for which to cache realpath information for a given! e5 t# e5 ?/ F" D
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    ) w2 F+ `9 O1 g3 D9 Q% t
  334. ; value., l# f* S1 B- W5 [! B: O
  335. ; http://php.net/realpath-cache-ttl
    9 g5 ]# p6 E1 M" N' E5 ~5 q
  336. ;realpath_cache_ttl = 120+ E- b- b4 i! n  h  Q' l$ s

  337. ! ]+ T2 E; }, p9 U
  338. ; Enables or disables the circular reference collector.
    # R$ {9 |0 T! [) O, [
  339. ; http://php.net/zend.enable-gc: X' D6 P1 T5 A+ s
  340. zend.enable_gc = On; U4 E' }; z/ P

  341. . h- I1 M- z7 D: W& R9 \' V# L) j$ `
  342. ; If enabled, scripts may be written in encodings that are incompatible with8 C& T: p7 ]# ?6 E" h2 r
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    5 j6 X$ g; j8 }/ g
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    * b: h7 Q  B: c9 t* H4 U8 a8 d; Z
  345. ; Default: Off
    5 q; g& y3 e* t/ y' U
  346. ;zend.multibyte = Off3 ~; y0 h8 j* F8 L, S, Y) y$ O
  347. % @+ y# \: L' a9 f- m
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    1 g( E5 v' S! p
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.8 x* u  ~, z% ^5 p2 J& s6 X' N: ^
  350. ; Only affects if zend.multibyte is set.
      [' i* J. \3 ~6 K" g# H
  351. ; Default: ""! Z0 q. W& k7 k1 O9 P
  352. ;zend.script_encoding =( q1 L2 r. Y# k9 L! v0 E

  353. ; S' ^$ w5 H# s
  354. ;;;;;;;;;;;;;;;;;+ d& n+ O8 ^$ y1 D" Q2 S$ w
  355. ; Miscellaneous ;$ W& V" ^# e4 g2 @( Y2 {& x8 _
  356. ;;;;;;;;;;;;;;;;;  _5 @% F6 ^9 [6 n4 y3 Z8 B

  357. : f) V. M. W* c- z* @
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    % L& d' @% I( \" x2 {
  359. ; (e.g. by adding its signature to the Web server header).  It is no security  Z( e8 I2 u! I8 z
  360. ; threat in any way, but it makes it possible to determine whether you use PHP) w+ B' ?, @6 ^2 r) t, t5 b
  361. ; on your server or not.
    8 g, N1 \! A- M" \
  362. ; http://php.net/expose-php
    7 o' k5 p, L$ v$ O) }
  363. expose_php = On
    ! U* u, r# U1 y( N& j% \4 n# E
  364. 7 k! V/ v, W& C6 U. d+ @
  365. ;;;;;;;;;;;;;;;;;;;) a, W7 f5 [+ o! d/ f, R9 j6 n! S
  366. ; Resource Limits ;
    ( y" k# Y8 _' Y
  367. ;;;;;;;;;;;;;;;;;;;
    # H' O: x6 N  d2 z+ r* X
  368. + I3 Q* H# D$ D
  369. ; Maximum execution time of each script, in seconds
    & R' @! |; `+ e# p9 o1 t
  370. ; http://php.net/max-execution-time
    7 x9 d2 W- _+ P% G! a8 ^7 s4 v
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    , e( N4 `; b7 m7 p8 G  A
  372. max_execution_time = 300
    & _9 m. B7 Y* S3 J

  373. * Y0 W% z+ L/ z- d5 {
  374. ; Maximum amount of time each script may spend parsing request data. It's a good7 j. C. p- K" p" K6 r  x# d9 |. J
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly1 T2 K# l% t# T' C8 j( n5 w, M
  376. ; long running scripts.4 E( ^3 p$ u9 A2 N* C8 c, K
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI# T# `5 K- a) \- Z2 Z5 r" J# D
  378. ; Default Value: -1 (Unlimited)
    8 @" ~4 Q' B- f$ Y
  379. ; Development Value: 60 (60 seconds)
    0 W& ~6 I  ^+ R
  380. ; Production Value: 60 (60 seconds)
    5 d2 j/ }7 k* Z6 r
  381. ; http://php.net/max-input-time
    2 F; K8 n5 h; a: I* p0 U' Q( o' g- \
  382. max_input_time = 60
    : u, u0 K3 e5 A1 |1 `4 x5 S
  383. , Z! ~' y( r3 h8 T/ S& b  t  Y* H, c
  384. ; Maximum input variable nesting level
    6 N6 q6 |: A9 l" b$ ^; j  w" {6 P
  385. ; http://php.net/max-input-nesting-level' G) H; t# N, u2 N; W0 a$ A
  386. ;max_input_nesting_level = 64
    ( I# L$ F/ C: t4 S' ], @
  387. 5 W2 ^, C# c1 i7 ]6 q- V
  388. ; How many GET/POST/COOKIE input variables may be accepted* ?5 {2 c0 }  X
  389. ; max_input_vars = 1000  K& O( v, _8 X# x5 \
  390. , b! T% ?) w' c8 }( P' ^% q
  391. ; Maximum amount of memory a script may consume (128MB)
    . g% B) @8 l/ I5 z. J
  392. ; http://php.net/memory-limit0 ^7 m! r1 O. A! h! q
  393. memory_limit = 128M7 G" h; O! |: e# ]4 @; G8 @/ L

  394. , }: v4 k+ N2 U
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    # V' ~2 T+ H9 a/ K4 P% V6 _
  396. ; Error handling and logging ;
    ( ~- V6 \  a( y3 q2 c: ?2 t
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;( ?$ Q, P- [) }5 F% Y
  398. 0 E, S* }( [# f" I% b  L- I; i
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    4 r4 u, W/ s* b2 V  z' B" S
  400. ; it to take action for. The recommended way of setting values for this& A' S2 Y# N- X, E' R
  401. ; directive is through the use of the error level constants and bitwise
    ' v2 T2 B& [: L) T0 `  P2 r
  402. ; operators. The error level constants are below here for convenience as well as- Q7 X+ H0 ?+ _$ ~
  403. ; some common settings and their meanings.% D* ]8 S5 k- s/ t, R' M) y  P
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    5 e4 f* d$ X& v5 x% J% x5 t! V4 m8 d
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    ' C1 n1 f) M- ^2 R6 \0 a
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    ' b, V9 n7 N. n. U* I5 N
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    % P8 ?) }) |$ ?. {1 {4 _
  408. ; resources complaining about best practices and coding standards. That's what
    7 J; l# m* O1 S6 s/ w) g
  409. ; development servers and development settings are for.* y' u1 R, s. T; R
  410. ; Note: The php.ini-development file has this setting as E_ALL. This% ?2 n' }3 Q) l. T1 C! D2 W5 y, E
  411. ; means it pretty much reports everything which is exactly what you want during
    5 `1 o/ {* b+ u: z9 N
  412. ; development and early testing.
    & C$ o; ]' @' G  }: s& {8 T5 p0 P
  413. ;* a2 f! G3 P6 ]0 W8 Y1 b
  414. ; Error Level Constants:. [- M1 A5 I; m# J
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    1 l  r8 g' j) h! D9 d! P
  416. ; E_ERROR           - fatal run-time errors2 q( `3 l  }7 K- Y1 }. o- K2 l
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    2 h. ^3 S2 ^; @5 K, u) B
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    1 N' C! T! y' Z9 m+ J+ Z, y
  419. ; E_PARSE           - compile-time parse errors- O$ a* R. h3 S) [% b
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    " b& ^# G; H9 @1 t6 y
  421. ;                     from a bug in your code, but it's possible that it was
    4 v) Z2 O. S# P
  422. ;                     intentional (e.g., using an uninitialized variable and
    " b& W' g% }0 c" Q2 ^% x3 P
  423. ;                     relying on the fact it is automatically initialized to an7 l  D( ~8 M4 Z' P2 ]( f
  424. ;                     empty string)" Z; Z4 b/ r0 n  S+ o; K
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes$ ^" u1 h( P: j) M
  426. ;                     to your code which will ensure the best interoperability9 U8 |' e9 n: @9 ~
  427. ;                     and forward compatibility of your code- p7 E& h3 X# G; [7 W# O! U5 h
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    ! g/ P7 I- _! `2 w
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    + [& G+ [! g! Y
  430. ;                     initial startup; r; @% k$ T/ u0 B9 Z% i* d# u
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    1 j1 u; p% s* w- U6 P, f7 F+ ]* j
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    4 P' |# K8 O  v0 e3 b6 H
  433. ; E_USER_ERROR      - user-generated error message8 F6 d0 v3 @4 q% L# z9 w
  434. ; E_USER_WARNING    - user-generated warning message5 f$ o* R9 l3 V8 e
  435. ; E_USER_NOTICE     - user-generated notice message
    ) |  i9 F# i% r  f$ D+ I+ ~
  436. ; E_DEPRECATED      - warn about code that will not work in future versions- _4 `% H# ~# P8 v# v/ d
  437. ;                     of PHP
    & u8 w3 g/ B. K3 P
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    " B+ G) v$ F, O  f* J0 h7 r8 E
  439. ;
    / I6 E+ }* {* _, e* ]
  440. ; Common Values:1 }$ ]: d  d8 v( h% q
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    4 ?) Q1 p% W6 q
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    $ |. E* z% d9 ^. m6 G" @. f1 U
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    & `8 B/ g: Z% ]  j8 [; v& b# p
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    # @0 C; q* y2 o9 I" ^8 ], _
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    + K5 n; b( y  R/ G  F
  446. ; Development Value: E_ALL* I" C# s" {% x
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    3 m  E# e# m& q" m2 X+ B1 f
  448. ; http://php.net/error-reporting/ Y! w7 _5 T: X* i
  449. error_reporting = E_ALL & ~E_NOTICE* S; e- u9 P3 B' X, W/ W

  450. 3 e0 i8 S0 m. j
  451. ; This directive controls whether or not and where PHP will output errors,
    % T% Y" T1 ~% a+ |9 C, A- a
  452. ; notices and warnings too. Error output is very useful during development, but
    / [( D3 ]5 }+ h2 ~! w% m3 W$ w' v% s
  453. ; it could be very dangerous in production environments. Depending on the code
    ) a' s7 |* f. D. n5 ?
  454. ; which is triggering the error, sensitive information could potentially leak7 J0 r- L- A. r& b7 F
  455. ; out of your application such as database usernames and passwords or worse.
    3 Z' ?/ i) N( U
  456. ; For production environments, we recommend logging errors rather than$ [, ^! C; c3 T
  457. ; sending them to STDOUT.
    3 z( x" F# Y$ f
  458. ; Possible Values:
    ; u$ R% Y+ B) W8 n* p
  459. ;   Off = Do not display any errors
    , [! N% X! D  b' ^# `
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)7 Q: w3 ~5 |$ x) b$ `
  461. ;   On or stdout = Display errors to STDOUT
    . i0 G* c8 I: E% }+ ?6 W1 y% I' i
  462. ; Default Value: On
    6 f! \  F8 Q9 @8 M1 J8 `
  463. ; Development Value: On
    1 c3 g) g% O6 F# ?" b: f- N
  464. ; Production Value: Off
    ' C1 P) j7 Q# d* ?
  465. ; http://php.net/display-errors: Q+ H7 d& ~# i' m+ J
  466. display_errors = On5 G% _+ S( |) d: M, R

  467. + }! t) R' f! R4 a! a7 q
  468. ; The display of errors which occur during PHP's startup sequence are handled
    2 I$ E& X$ {- |; S, E' D$ m
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    . W; c0 \/ x9 ~4 G5 x. p* M1 j
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    * b  n# n# i" V5 G; M. j
  471. ; debugging configuration problems. We strongly recommend you- \7 p* e7 o( Z) y- ]5 a
  472. ; set this to 'off' for production servers.
    4 t! c% }* a$ }; U( I. `' C
  473. ; Default Value: Off" O3 f3 B, ]  ]* u, {. {
  474. ; Development Value: On
    0 G8 z2 N* p) y0 D! s: z( S
  475. ; Production Value: Off0 ?- d* Y( a- A
  476. ; http://php.net/display-startup-errors
    2 C% `3 i# ?. Y6 b3 l
  477. display_startup_errors = Off
    * h+ I' S! C: O# ^! K/ U

  478. # P/ D* s7 `# w9 j6 }5 H' }  ?
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    ( e6 h) ?2 _0 p% S$ M  N
  480. ; server-specific log, STDERR, or a location specified by the error_log
    + v5 k' P4 ?' }7 G1 M2 _
  481. ; directive found below. While errors should not be displayed on productions
    2 V8 ~) o% b# y' y; ]
  482. ; servers they should still be monitored and logging is a great way to do that.
    : l9 i) H5 O. t- y; t2 Q
  483. ; Default Value: Off
    ( v# R: R6 I# K( @: t, j9 i
  484. ; Development Value: On
    8 d- u! M1 I$ j0 E& `2 |! ]
  485. ; Production Value: On) c$ [! Z, \: {
  486. ; http://php.net/log-errors
    $ w% a- F) y0 |9 h6 x2 O( ]
  487. log_errors = On
    1 W: N0 G8 {! Z- Q

  488. % [& ~% m$ E6 G7 h" ^8 J2 \
  489. ; Set maximum length of log_errors. In error_log information about the source is
    1 i) T( Q! l9 F9 j$ M/ Z* y
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
      R& Z2 i0 \3 u$ s( ]$ V: \
  491. ; http://php.net/log-errors-max-len* `  U7 f3 p( w' E. a: u: B7 f7 r
  492. log_errors_max_len = 1024! [# B1 \: U% b5 f4 c
  493. 7 N% o+ ?* g3 \* q4 u
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    - A7 R" \5 z4 r: l
  495. ; line unless ignore_repeated_source is set true.
    , {4 f$ ?% Y9 F( j4 \6 j: @
  496. ; http://php.net/ignore-repeated-errors
      X$ u; ]5 B" [% e4 x% S
  497. ignore_repeated_errors = Off5 Z( _# q, F& X& K2 t5 c2 g# @7 i# \
  498. . J0 _  r$ K1 F# {+ m
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    * I& ^2 Z1 S: {
  500. ; is On you will not log errors with repeated messages from different files or
    ' t6 O$ b6 V! O; C' y! [+ w
  501. ; source lines.5 J1 v. O1 p8 T0 I
  502. ; http://php.net/ignore-repeated-source
    ; N8 ?6 X1 M, n/ E6 @6 n) x$ H
  503. ignore_repeated_source = Off! K. A+ D# P8 F( I. D* ~

  504. 3 d$ ]  U3 s+ w
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
      E. f0 W9 H, {" M+ U2 g! |3 o
  506. ; stdout or in the log). This has only effect in a debug compile, and if+ I: r- M! B' v2 q! P
  507. ; error reporting includes E_WARNING in the allowed list
    % Y( g) F. @+ j
  508. ; http://php.net/report-memleaks1 s1 q6 A* E& q1 |+ [+ W
  509. report_memleaks = On
    * l! E2 G( A6 g8 ~' R$ n
  510. 3 n  \+ J# ?" Z1 ~/ P- y$ N. x! h
  511. ; This setting is on by default.% B5 h& \% x. u9 Q- S0 L2 w
  512. ;report_zend_debug = 0, A2 X3 i" @  p  `

  513. / ~6 T, B( t5 m
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    9 L+ f9 q* t3 Y5 L) p  m
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    0 ~' I7 I. y0 m; g- d
  516. ; however be disabled on production servers.+ `/ U9 e& j2 M+ h: l
  517. ; Default Value: Off
    3 I$ B) j% W- K  p5 U2 s9 T
  518. ; Development Value: On
    / l4 {3 X) n7 J. C
  519. ; Production Value: Off- U6 @# J3 L8 W" Q0 v
  520. ; http://php.net/track-errors
    8 h- Z& p# {+ }5 I4 }
  521. track_errors = Off2 s8 ^# i, a2 N" a$ t+ P4 e/ @
  522. & D5 O- m4 n1 u0 G8 f/ n6 ^( u
  523. ; Turn off normal error reporting and emit XML-RPC error XML- K8 f# a$ ^, R* b1 g) l6 S3 O! g+ G
  524. ; http://php.net/xmlrpc-errors$ E3 ?$ k/ m2 n  D* X
  525. ;xmlrpc_errors = 01 V, Y0 N, s; N1 v* ^/ |

  526. 0 r3 u: l2 K' M1 Q' S6 w. E! l
  527. ; An XML-RPC faultCode. {. ~) O" R( c5 l; b( c  B
  528. ;xmlrpc_error_number = 0
    9 l# ?& d# x8 M# c& k8 @6 x: {0 I

  529. 8 V* b0 R# y8 L, s% o4 k
  530. ; When PHP displays or logs an error, it has the capability of formatting the5 l2 w% }2 c, X
  531. ; error message as HTML for easier reading. This directive controls whether
      U7 m* q6 m; v. D- m" s0 V( P
  532. ; the error message is formatted as HTML or not.8 o$ ^  F1 N- B! j! H" o* S
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    - q8 ]- |+ D: h6 d
  534. ; Default Value: On
    + k+ V: r! T6 a3 u, B
  535. ; Development Value: On
    ! p9 H' R# _. u  ~5 j( ?
  536. ; Production value: On
      g) Q: D; R, y
  537. ; http://php.net/html-errors
    9 u/ t6 g- A7 e
  538. html_errors = On4 W& y+ X' W/ N# T" k; x, m9 t

  539. 8 W9 r3 P+ U& u; ?: F: T8 m/ S/ Y) i7 B$ {
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    8 f# z* V! s- \( G" _
  541. ; produces clickable error messages that direct to a page describing the error
    ! h; M4 y8 n, G: I9 P
  542. ; or function causing the error in detail.
    # U# e8 X) a  {% C; ?5 c+ ~5 O% E
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    8 ^* m8 y$ G( }# R8 `
  544. ; and change docref_root to the base URL of your local copy including the
    + w0 c, c, B% O
  545. ; leading '/'. You must also specify the file extension being used including
    7 w* ]) Z" `; L
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    1 [% U6 p: _9 [+ H- ?& e* r* d
  547. ; case no links to documentation are generated.
    + N1 }2 U+ z* L& p* j
  548. ; Note: Never use this feature for production boxes.  u# S/ Q6 Y& N* f) g0 X& G
  549. ; http://php.net/docref-root
    7 |/ U) V0 \1 i' e3 E1 J
  550. ; Examples" s! M/ Q0 n& s/ c) M( s# i
  551. ;docref_root = "/phpmanual/"
    " |) v& |! w" Z  ^. x2 b- Z  T' l

  552. + ^) c! l9 C. P- ~4 v! f
  553. ; http://php.net/docref-ext
    5 ]+ s8 Q: {: a0 c7 U  m+ H
  554. ;docref_ext = .html* h1 ~6 M/ R7 M7 C
  555. & q1 W; M& I% t$ j
  556. ; String to output before an error message. PHP's default behavior is to leave  e& H! n2 y% N- f" G- y
  557. ; this setting blank.# N9 J( J. A+ M
  558. ; http://php.net/error-prepend-string$ R8 L3 N8 k2 s: {( Q
  559. ; Example:8 |  y0 l+ U' M( n. a) t4 u2 N
  560. ;error_prepend_string = "<span style='color: #ff0000'>"* y5 I3 A" V( G
  561. ; B" q. _) U; [1 Z$ Q! d* P& D
  562. ; String to output after an error message. PHP's default behavior is to leave
    " L" T. _+ |# D$ a+ g# Q/ {" `5 c
  563. ; this setting blank.: \1 J0 |: k3 h. l
  564. ; http://php.net/error-append-string
    ! ]1 ~3 z9 o* f7 h8 n
  565. ; Example:
    . ]5 @( c& w/ x' _4 [
  566. ;error_append_string = "</span>"
    " m2 A* |8 \( l- r. u- {' p" ~. u

  567. & {6 |3 _% a) k. ?( [  Y5 O
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    3 l* F' N7 H: ~$ Z3 g* [# y9 r
  569. ; empty.2 C' r7 a+ ~  `& N) s  `
  570. ; http://php.net/error-log
    % r5 w, Z9 ?, A/ M
  571. ; Example:( I8 i, |' i" {6 j! ^- t1 i
  572. ;error_log = php_errors.log
    - s( S5 w! i; j4 k8 l
  573. ; Log errors to syslog (Event Log on Windows).2 ^# u9 e. t+ D# `) I" R
  574. ;error_log = syslog+ l/ X( M* @9 V8 g: s& S
  575. 9 T8 B! \  f( W9 k& m" v8 l1 e
  576. ;windows.show_crt_warning
    7 P8 E' E2 K- s# A$ c
  577. ; Default value: 0
    ( m  v+ x" X# r: m$ P. E  i8 F  }" A! Z
  578. ; Development value: 0
    ; y0 x) V" S2 h3 {' J* B
  579. ; Production value: 0& `3 M9 n' o7 a/ G" X5 V
  580. 0 b% Z; x, ^# l) R! I/ f
  581. ;;;;;;;;;;;;;;;;;; ~$ j, V# ]5 p. Y
  582. ; Data Handling ;
    $ w7 L9 x  W( i. V9 C" Q
  583. ;;;;;;;;;;;;;;;;;5 ^+ O2 M5 ^6 d* @
  584. ( Q2 \( Y; R0 W8 Y; S$ i) O
  585. ; The separator used in PHP generated URLs to separate arguments.
    % x" s- y% |& a! c
  586. ; PHP's default setting is "&".
    , p2 Y9 B" r; ~! i1 V! _$ M
  587. ; http://php.net/arg-separator.output
    4 k5 q' D" G2 ~" i6 }1 i# n
  588. ; Example:5 p  g# a: ^- p" x- A" j& x
  589. ;arg_separator.output = "&amp;"% [, f- V( C1 r; J, U' B- R# ~- J1 Q7 W

  590. : E/ P2 t* j( ?/ f4 j; D( q" d6 z4 z9 z
  591. ; List of separator(s) used by PHP to parse input URLs into variables.  K' D4 k. j. \' C$ a. z8 E
  592. ; PHP's default setting is "&".
    # y" g- U" z; ?* x" K6 y1 _  Y( {" ?# \
  593. ; NOTE: Every character in this directive is considered as separator!% Q. k) H/ }1 t" y  T
  594. ; http://php.net/arg-separator.input
      d: `" @  U2 P
  595. ; Example:. E2 D( U$ L; @: j5 @2 H
  596. ;arg_separator.input = ";&"
    * j: K* `: U0 e  O8 z) v3 q

  597.   A* V2 H" X  Z$ e* e$ H
  598. ; This directive determines which super global arrays are registered when PHP
    4 _& f( d- O- R0 h3 t( k% \
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    ' L5 n0 k4 t5 u' S; N2 k  |/ |) J
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    8 O; |! {8 ]4 Y% W* n
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    ) a" T8 A9 S! M) l1 k
  602. ; used as the others, ENV is not recommended on productions servers. You; i$ `0 [0 t& z
  603. ; can still get access to the environment variables through getenv() should you( p% E( @1 S( a2 _, m  D( f7 ^* R
  604. ; need to.( M: J6 n# `2 L  a) N2 J9 M
  605. ; Default Value: "EGPCS"( h) M  m/ \, j# V/ C6 L4 _
  606. ; Development Value: "GPCS"
    4 J$ }7 j& g6 W  N) j
  607. ; Production Value: "GPCS";
    6 a$ `! s, _' r5 \) u4 g
  608. ; http://php.net/variables-order
    $ @$ {/ u6 K  D6 \1 P  F! b
  609. variables_order = "GPCS"
    2 s$ K2 E, `, T3 ^( M/ b
  610. 2 |$ K1 \- ?/ i9 T+ n, y5 d+ H
  611. ; This directive determines which super global data (G,P & C) should be
    ) e% D- D* R& U8 z9 _+ i! _
  612. ; registered into the super global array REQUEST. If so, it also determines( b9 e  G9 J  @( i# i
  613. ; the order in which that data is registered. The values for this directive
    $ K9 W9 |, m1 D( a8 v
  614. ; are specified in the same manner as the variables_order directive,
    - z2 e- H& F; K5 b
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    : B3 a8 h8 Z. I
  616. ; in the variables_order directive. It does not mean it will leave the super
    # ~4 ~+ a" a  _- ?
  617. ; globals array REQUEST empty.
    " c9 q) B4 I2 j/ n" S) y5 P
  618. ; Default Value: None
    + E, ~! c& @/ K
  619. ; Development Value: "GP") h* B* K% B9 }+ B$ R7 A/ d2 l- F
  620. ; Production Value: "GP"
    4 d7 I/ ]$ x  E  J
  621. ; http://php.net/request-order! G9 \, `% b7 w- m1 ~
  622. request_order = "GP"
    3 a! z( D2 u% m7 u

  623. ' v, m8 R, E. i$ |* W7 Q4 r8 e7 f7 w
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    ' \6 Y3 E1 Y  F
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    * H7 O, e3 A/ [) J" ~& g/ f
  626. ; is invoked. $argc contains an integer representing the number of arguments8 ]3 V$ }: m4 b( K/ |2 x
  627. ; that were passed when the script was invoked. These arrays are extremely' Z7 V- e/ J8 n' D
  628. ; useful when running scripts from the command line. When this directive is
    & N' g. ]) W0 ]! I8 t
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    ; R; B  s! l% K- q, J
  630. ; a script is executed. For performance reasons, this feature should be disabled
    : u. I, ]) T' j5 Y
  631. ; on production servers.
    ; r5 r* u# a3 X2 f( I, ^
  632. ; Note: This directive is hardcoded to On for the CLI SAPI6 P% q0 t3 H% H8 d
  633. ; Default Value: On  q2 {! F+ m# B9 {' l
  634. ; Development Value: Off
    " O8 m7 @% j7 V
  635. ; Production Value: Off' \2 p( F8 e0 N# O5 e' L2 D  P
  636. ; http://php.net/register-argc-argv8 X: ?) }; [7 G8 n$ W0 F
  637. register_argc_argv = Off
    - F9 }0 [% b4 Q; c
  638. . U! E; }; }% `0 w8 U5 q. n
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    6 x5 X# F& C, F+ R) S+ K4 X! e
  640. ; first used (Just In Time) instead of when the script starts. If these' [. G% \( l2 A. r8 M$ B" L4 ?
  641. ; variables are not used within a script, having this directive on will result; y  k6 E0 L3 J
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    7 O" g" k, W3 r2 ?2 e
  643. ; for this directive to have any affect.. }7 X& ]8 w! D/ D
  644. ; http://php.net/auto-globals-jit
    % a4 ?4 a" L" S( ?
  645. auto_globals_jit = On
    # j' U; Y: j0 i2 O& |" B, k$ G' t

  646. - v9 u: S# H$ _% \7 V; n
  647. ; Whether PHP will read the POST data.
    6 ^" ?. V3 |' ~. {
  648. ; This option is enabled by default.
    3 ?3 \! @/ R$ h% w! Z3 i
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST6 U* @0 x: F: E+ f( p
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    - K( A- h' V+ [% s5 d& B/ G
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    8 k1 W/ z$ ?5 C' M
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    % f7 o. o0 a7 P( p. n
  653. ; http://php.net/enable-post-data-reading: o! z9 N; ?1 ?. n+ k
  654. ;enable_post_data_reading = Off- T9 k. T/ O! v( j  D' _2 Z9 _0 J

  655. " c( L- ~' x1 E
  656. ; Maximum size of POST data that PHP will accept.
    5 g* v, x  N5 k2 _+ a
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading8 e6 H! G* s% _$ A8 K7 P+ _
  658. ; is disabled through enable_post_data_reading.
    & H3 i/ z1 h! R" N9 |# G  i
  659. ; http://php.net/post-max-size1 A( X9 t" x- |
  660. post_max_size = 50M
    + g2 P* C. `; }4 M4 R1 S9 z

  661. - N; w. O6 U) Z; x% Y9 ?2 k
  662. ; Automatically add files before PHP document.
    - Y+ v5 ]9 Q# I( G1 ?: i
  663. ; http://php.net/auto-prepend-file2 r  W: [# B6 h) |6 q4 J( M
  664. auto_prepend_file =
    ! E0 T2 s$ G  A& v! D( M
  665. , c: @3 B; X8 e5 D5 q
  666. ; Automatically add files after PHP document.
    2 _6 {( L( o- M: b
  667. ; http://php.net/auto-append-file
    - Y  E9 u; O4 R$ U* _, Y) x: r
  668. auto_append_file =  {" ]  h0 u; Y  Y+ h4 l0 i
  669. & r& T& ?/ w$ L; k% u
  670. ; By default, PHP will output a media type using the Content-Type header. To
    # c. I: [4 O! S) n8 w  @) z
  671. ; disable this, simply set it to be empty.8 K% u% K# P" O3 a( m
  672. ;3 {" i% J  h  i# C" `
  673. ; PHP's built-in default media type is set to text/html.+ u4 [) D7 @7 a; o
  674. ; http://php.net/default-mimetype3 M  c, ]4 h( |6 \8 \/ l! h$ X, J7 W
  675. default_mimetype = "text/html"  v( X6 e% ]. x
  676. # }8 T& d8 M  n1 g
  677. ; PHP's default character set is set to UTF-8.
    ( g4 v% e7 b: T( b: S2 m4 ~- U
  678. ; http://php.net/default-charset
    & g6 J! V5 z2 f) u$ R  F
  679. default_charset = "UTF-8"
    4 q! ?( z7 l8 p! o' b% S) [
  680. 1 l9 I+ j4 ?6 n! K# m. _
  681. ; PHP internal character encoding is set to empty.
    5 q% G' ^4 Z! B6 U8 P3 c
  682. ; If empty, default_charset is used.+ \8 q+ ~# m- i) v- ^5 J  s" N
  683. ; http://php.net/internal-encoding2 S2 R2 o) t+ K, ~) n. y2 J  O
  684. ;internal_encoding =
    # [* }) ^2 q+ I$ @2 S
  685. 8 R' m' V3 ]) Q( n8 K
  686. ; PHP input character encoding is set to empty.7 G" b7 f$ g. m# F+ M/ E
  687. ; If empty, default_charset is used.7 u/ u; K/ ?5 o, c& S( h' q
  688. ; http://php.net/input-encoding
    * O% k% f! k7 }( ]
  689. ;input_encoding =8 ^* ^) M; _( L* |# w8 v' Z  `0 `+ y

  690. ; O" W! c  C" K% r3 o/ [1 E" r
  691. ; PHP output character encoding is set to empty.% o  u4 g0 o( V7 o5 I( m9 N, u; H
  692. ; If empty, default_charset is used.& \" V. {( }5 O' N) f4 [
  693. ; See also output_buffer.1 y/ B) A7 `3 q- N7 k: n" s
  694. ; http://php.net/output-encoding
    ! C; J9 M( t% ]& y& G
  695. ;output_encoding =
    1 C0 e) \. ]: L, ^+ m  r/ V
  696. / f! u2 v) M1 A. V- j/ }
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is) q  X# I# n* f9 M8 f
  698. ; to disable this feature and it will be removed in a future version.
    % e& U/ f5 t. P) X3 @: V
  699. ; If post reading is disabled through enable_post_data_reading,& V; n3 |# `4 q2 o3 S# ]" ~7 t
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    ; T: Y7 \( G2 s( Y1 v7 }
  701. ; http://php.net/always-populate-raw-post-data
    ; c/ A( h* E* K" y
  702. ;always_populate_raw_post_data = -1
    8 x5 P! ^1 ?* s' |: E( M+ e6 m

  703. ' j+ l" `% r1 j6 Z
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    + {' e/ D8 X5 I7 s- Z* f
  705. ; Paths and Directories ;
    2 j6 v6 Y. a- C, j3 }
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    % R& X" Y: Z$ N* e% a; h4 V5 y

  707. 3 B% i0 W+ K/ G
  708. ; UNIX: "/path1:/path2"% E* J0 `3 N# k+ V, x' R$ l/ t
  709. ;include_path = ".:/php/includes". \& Z! U5 Y/ j1 S9 y7 j
  710. ;
    : r9 i5 U+ ]$ ?
  711. ; Windows: "\path1;\path2": L" n$ s4 m# F: d
  712. ;include_path = ".;c:\php\includes"8 V5 L% X1 R: o* J& y( l
  713. ;; h9 T! n+ _$ W  u: A# N
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    , J0 l- }; H1 G. l  S2 [$ i  K7 V
  715. ; http://php.net/include-path! Q) M, @) \7 p; V8 E: ^6 z% |/ e
  716. ' X( ~% w1 J/ V, m( C! w$ ]% C
  717. ; The root of the PHP pages, used only if nonempty.
    # }2 M+ V$ G" N0 ^, t% r) f3 \1 [
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root: n. q4 ?( T. n5 L  N; ?7 N
  719. ; if you are running php as a CGI under any web server (other than IIS)# o( H( ~: z7 f4 |
  720. ; see documentation for security issues.  The alternate is to use the
    9 L* \. X9 {: H( s) o# c
  721. ; cgi.force_redirect configuration below
    3 A  G, ?  w6 ]3 ]
  722. ; http://php.net/doc-root
    8 c: U1 j9 `; {, X# c
  723. doc_root =4 {; y! D+ G" w9 b# s

  724. / g/ k5 v) j* `' v# m/ m  z" D' U
  725. ; The directory under which PHP opens the script using /~username used only; o) ?+ W, y( w% p, ~8 N0 e
  726. ; if nonempty.
    : k# p- s) Y3 I! e' e* w! D4 x
  727. ; http://php.net/user-dir
    / F# }' u' D) e# G' c/ {
  728. user_dir =( ^( B, c+ j( x# |
  729. 6 f! W! h& _( K3 r1 S: i: c$ y
  730. ; Directory in which the loadable extensions (modules) reside.
    9 P8 H# s  R6 i' U
  731. ; http://php.net/extension-dir) R/ L; k* _, h* J2 X$ Y
  732. ; extension_dir = "./"
    1 i4 u- ]7 X  v: }' C
  733. ; On windows:6 a" p% i- Z, P1 C$ i2 I9 y% _5 T
  734. ; extension_dir = "ext"" T7 G& J; g  i9 g# q  M! k
  735. 1 v& q# |- |; ?- N+ u  D3 x
  736. ; Directory where the temporary files should be placed.6 U0 Y% Z. U% L1 j- ]$ \" g
  737. ; Defaults to the system default (see sys_get_temp_dir)) o2 }7 t1 D, b' g  i7 E& G
  738. ; sys_temp_dir = "/tmp"
    9 O8 }" z. w9 w8 O) u

  739. 0 }- y0 L/ S/ g5 w# _. @! Y$ z
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work4 K! X% y7 }; Z: m6 k
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    + ~9 A  z4 L2 R- f5 f6 X; S- Y, b& b) a
  742. ; disabled on them.
    6 r  O# m# A4 }. U
  743. ; http://php.net/enable-dl3 G; L# E: g! e/ a& h8 i
  744. enable_dl = Off; `% z! I' G' g/ ^+ c# N7 c

  745. ' H( T! e# |% l) B* p6 B$ D
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under! }5 A* ~" c7 F& D# S4 s
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can) t$ }0 M6 w% Q, ]
  748. ; turn it off here AT YOUR OWN RISK
    8 k2 _2 ~# p7 ?. s/ B
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    , P) h: i6 N0 i. a* r
  750. ; http://php.net/cgi.force-redirect- D  {2 A$ ^& }7 F  j8 s
  751. ;cgi.force_redirect = 1/ t6 T" \  X9 I4 Q6 B

  752. ; p6 C( _8 G! w/ S
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with  y! I3 M; J, a2 F
  754. ; every request. PHP's default behavior is to disable this feature.
    " s$ x2 `; s0 }" k
  755. ;cgi.nph = 1
    / I: I2 p8 m+ S+ l) V

  756. 1 ~6 y8 T  r1 h9 C
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape* H8 R9 n1 Q& r6 z. a7 x: _0 N8 i
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    - H& C7 {1 B6 z* M- T3 T5 _% |/ i
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY# G* x) C3 k: V5 t6 y; D
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.( G1 B9 C$ ~$ g0 x3 h4 F
  761. ; http://php.net/cgi.redirect-status-env
    1 V3 ?% K8 ~0 {  ], p; y& Q( K3 f
  762. ;cgi.redirect_status_env =
    + _5 ^$ E8 Q0 [9 V* j: S( A6 ]" u

  763. & F" b. y! G9 Q- F) I9 v
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's4 @' z, g6 Q9 {+ x
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    + N% ~3 H. {9 |* |/ z2 u+ @& K. a/ q
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    & M9 f8 _6 c) k1 J# D
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting4 p7 ^3 u1 z7 k. N  d5 ^6 m8 x' j2 J1 u) n
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts  \7 B4 R5 [5 M/ Z; ~7 d0 ^' x
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    8 c9 z7 M; s3 _& H! B5 l
  770. ; http://php.net/cgi.fix-pathinfo! E% H/ c" C% M% y/ N
  771. cgi.fix_pathinfo=1
    7 X5 K# M" e! k+ {

  772. + P  A; j% p0 ?2 u$ B/ s
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside: b  d9 u# Z1 y/ r+ z
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    , m. U. V# v" u7 z7 \; ~" G
  775. ; http://php.net/cgi.dicard-path" z4 D4 @" A, u2 k; J+ T
  776. ;cgi.discard_path=1
    ! }1 X% X% g* s& K9 D# r$ X

  777. 6 x  X! c7 f+ ?4 s6 [
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    ) y+ ~1 W2 r1 z8 F
  779. ; security tokens of the calling client.  This allows IIS to define the
    . ~$ h" }/ ^# i% h1 x* J1 S, G
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    * C$ k) y, M8 d  q5 Q- C8 \
  781. ; does not currently support this feature (03/17/2002)
    - j, T# P( O7 ?( Z+ h' C$ `
  782. ; Set to 1 if running under IIS.  Default is zero.
    3 r- z6 G8 h5 K5 N! ]* A
  783. ; http://php.net/fastcgi.impersonate
    % Z& F( M, R1 C9 r7 w9 B2 K
  784. ;fastcgi.impersonate = 1
      g1 h, s5 N: ?" ~2 A
  785. * d1 V9 V5 Q* e6 C' m
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    " [& P  G% t4 c  E
  787. ; this feature.
    ; N' y$ A' D# U1 ~9 c6 y0 D2 R8 P
  788. ;fastcgi.logging = 07 f$ a( [& d! r, i" a6 @

  789. ( w0 K! j" f$ v! o5 n8 ]
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to$ M3 `; v8 R7 ^' x7 }2 d, `
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that# n4 _- ?+ N! A; N* k
  792. ; is supported by Apache. When this option is set to 1, PHP will send% J; c, g/ A# t: `% Q. X
  793. ; RFC2616 compliant header.: ^! i# |- P3 U
  794. ; Default is zero.. a$ q* G# B$ {; V/ o
  795. ; http://php.net/cgi.rfc2616-headers# S% ]$ A; Z3 z0 @" a! Y8 q
  796. ;cgi.rfc2616_headers = 0
    . E3 `7 y8 P; ]2 V6 S8 a. X
  797. $ \: V# b% C. ~9 {
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    + P/ U' x  J. H$ H
  799. ; (shebang) at the top of the running script. This line might be needed if the
    " L  T* b$ e5 P, \! u
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI1 d* t1 s: T, p& @: r' x' Y
  801. ; mode skips this line and ignores its content if this directive is turned on.5 E7 A1 a. K- X6 x' o, n
  802. ; http://php.net/cgi.check-shebang-line
    5 k$ _9 v0 d; I; z
  803. ;cgi.check_shebang_line=1
    - w3 k  Z6 r: N

  804. / T8 P7 T" J! n; R2 `# u7 x1 u9 A2 f
  805. ;;;;;;;;;;;;;;;;- O: V, D) J% j" L8 x, m. O
  806. ; File Uploads ;
    1 {0 `# v5 u" i" E* X3 P5 p
  807. ;;;;;;;;;;;;;;;;8 H# r: r1 G4 s1 Y3 X

  808. ' D0 k' _* R% j% A8 x
  809. ; Whether to allow HTTP file uploads.4 v1 A" e. \6 X4 z0 F. E7 `
  810. ; http://php.net/file-uploads
    ( V. b3 E9 g; b# u) t
  811. file_uploads = On
    6 \% }& b) ~- }6 }
  812. : l3 p  j! t# F! f
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    . O0 G$ ~- g  g  v/ D
  814. ; specified).* p. `/ l) A; x2 l
  815. ; http://php.net/upload-tmp-dir; R2 T6 H. w' n* i7 N. D9 `
  816. ;upload_tmp_dir =
    + F& m. H, y( D. g% N, V& _' n7 N
  817. % g) T$ z2 l; X( e6 n/ O
  818. ; Maximum allowed size for uploaded files.
    2 B5 w% e; V( e* X; O3 h! z, U
  819. ; http://php.net/upload-max-filesize# R8 W- U6 ^  m8 g. C
  820. upload_max_filesize = 50M" `& J9 p" ]6 R% v4 X/ W0 _0 S

  821. ! J7 g. ]' `: p
  822. ; Maximum number of files that can be uploaded via a single request  r% f& x8 e! D% e& N8 r
  823. max_file_uploads = 20& e& }7 N( c0 K* w; P! f

  824. 6 D+ ?8 X" E1 |0 e( o% Z
  825. ;;;;;;;;;;;;;;;;;;
    + o' y2 Y. }) r3 F& n5 @
  826. ; Fopen wrappers ;
    ' k1 G/ z8 i* L; B; C3 C( l
  827. ;;;;;;;;;;;;;;;;;;" X7 O) p! ?% C7 D  F; i* e5 o8 k
  828. . J" Z) S( s+ u( N: d- ?* T
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files., U% b8 x2 x+ N; N5 S# j0 `
  830. ; http://php.net/allow-url-fopen. A* a. K! Y0 Z# O' N+ q
  831. allow_url_fopen = On" ]: v% R4 r% Y
  832. * k' M  a8 L/ W3 O
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    . u  o6 A6 C, J6 \
  834. ; http://php.net/allow-url-include
    - J1 M% ?# ]* S
  835. allow_url_include = Off8 E) D0 o: c8 o8 y% B/ y! ~

  836. ! o/ x; ~! O! [! `& \( t7 Q( E( F
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    2 S; h* V$ D( w
  838. ; for this is empty.
    5 s0 w% y! \; S( u# O
  839. ; http://php.net/from8 @2 A3 S3 g/ h: t) _; M* b
  840. ;from="john@doe.com"
    4 Q3 [4 j# r/ l0 G! k, z) e! J

  841. 6 B$ U; J5 L4 C' j
  842. ; Define the User-Agent string. PHP's default setting for this is empty.3 f4 d  y$ V2 m9 [
  843. ; http://php.net/user-agent
    6 w4 a; B3 |+ P, H- y" j
  844. ;user_agent="PHP"
    . g* _/ E, N4 T) f" i3 C9 {

  845. ! g- T3 @7 H' b' v& O6 H5 R7 K
  846. ; Default timeout for socket based streams (seconds)8 H3 H5 [. h& `3 {8 z* [# W
  847. ; http://php.net/default-socket-timeout
    3 t7 n: _, Q5 K$ P9 R* w! A2 C
  848. default_socket_timeout = 60
    8 |, a8 b" P7 i' ?7 }/ H
  849. 5 o8 i) g8 t, H+ B) L
  850. ; If your scripts have to deal with files from Macintosh systems,0 w4 Y8 J9 X* p" c9 x
  851. ; or you are running on a Mac and need to deal with files from6 }3 M' y: q& B( }
  852. ; unix or win32 systems, setting this flag will cause PHP to
    2 ~8 F1 ^. w' z! t. Z
  853. ; automatically detect the EOL character in those files so that
    8 o: ?' H3 `9 S$ d0 k
  854. ; fgets() and file() will work regardless of the source of the file.& {; D% `* u0 U
  855. ; http://php.net/auto-detect-line-endings( X# d/ D# R9 [" G
  856. ;auto_detect_line_endings = Off
    * U# ]( T( I/ l- F) v6 z
  857. 0 [6 o4 L3 K) S* \( D+ o2 M
  858. ;;;;;;;;;;;;;;;;;;;;;;- ]5 _" b  U* Z
  859. ; Dynamic Extensions ;$ o- A; t( F+ P) i) U2 n
  860. ;;;;;;;;;;;;;;;;;;;;;;( F' \% e  O# ?
  861. 8 P( J* c& m/ j) x; V. b
  862. ; If you wish to have an extension loaded automatically, use the following
    * f0 J# h, C! D; i! O1 {7 T
  863. ; syntax:
    ' A- x) o. }: ]! }
  864. ;- H2 k- f2 `" v/ u8 u
  865. ;   extension=modulename.extension
    # W3 u2 j# N2 ^, S% S% G- x( h% U4 [
  866. ;
    3 @5 j8 A4 X7 P7 C/ Y
  867. ; For example, on Windows:
    % r1 b" B8 P6 V- l3 ?9 {) K
  868. ;3 {8 Q# n* W. G* \4 {  i0 n
  869. ;   extension=msql.dll- `9 {( e# ^$ W0 ]9 r3 f' v- E* |, w
  870. ;2 Z9 I% Q1 z% n( M
  871. ; ... or under UNIX:
    : t. ?1 D% J; I! [! @. A9 |, ]' R
  872. ;
    1 k+ F7 |/ V* [! N- W1 i: w
  873. ;   extension=msql.so/ B+ P  K' @  ~- {9 O5 E  ?
  874. ;$ t! U  t! Z+ t: t$ m8 r
  875. ; ... or with a path:+ f) J7 _' m7 T9 v1 [
  876. ;
    4 N4 `/ Y7 A# {7 P
  877. ;   extension=/path/to/extension/msql.so. s% v& _, v2 ]% l4 W: u% Q
  878. ;
    ( ?( ]3 p' C* E3 l* p# c9 i
  879. ; If you only provide the name of the extension, PHP will look for it in its
    " D! X, a5 Q- ]  l: _- Q! [4 Y5 x
  880. ; default extension directory.: O) H9 o" g) J5 P
  881. ;
    ) W, i  A4 ?" m2 V! _$ k
  882. ; Windows Extensions/ z% J% r' I& ^2 ]; T* @
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    4 D! l1 ]& m' F4 B
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)6 G+ \, U, \. g2 `1 D2 j& E
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    3 M" L! i* S0 N! {  Q) g
  886. ; Be sure to appropriately set the extension_dir directive.3 [- M6 K: o. W
  887. ;
    3 u( A# k' @6 x* Z$ n: z& |1 C
  888. ;extension=php_bz2.dll8 N, c9 r# R3 X3 [- l0 }# ^
  889. ;extension=php_curl.dll# @9 m1 m) P6 z6 t! I( l
  890. ;extension=php_fileinfo.dll
    # [; A+ }1 a' ^0 ~
  891. ;extension=php_gd2.dll
    7 v  @( W- Q7 T2 b
  892. ;extension=php_gettext.dll1 x: A7 j4 }3 L$ ~
  893. ;extension=php_gmp.dll& h' i1 N9 W0 ^, Y: K
  894. ;extension=php_intl.dll# S5 i" G) H0 s& E4 G
  895. ;extension=php_imap.dll
    / `- h8 w4 r9 h3 b" [
  896. ;extension=php_interbase.dll- V- x6 o) a1 N/ B" [8 N7 `9 h/ {" k, N
  897. ;extension=php_ldap.dll
    6 U" C+ |$ o9 H3 D
  898. ;extension=php_mbstring.dll
    * B, `2 P7 T! z# w
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it' [0 c$ @  u1 {$ w7 y
  900. ;extension=php_mysql.dll
    : x4 I! ^! X: }( ~+ G
  901. ;extension=php_mysqli.dll
    ( o+ k/ @# h, L& e; n$ A7 s/ k
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client" U% G9 a+ R+ [# Y! J
  903. ;extension=php_openssl.dll
    0 a" b" k6 E& U' x  _1 b1 @8 W
  904. ;extension=php_pdo_firebird.dll4 b  p8 s+ x3 U" @6 |( q" a8 r8 _
  905. ;extension=php_pdo_mysql.dll
    ; o# {! [' c- c$ }& X6 S3 R  z8 A
  906. ;extension=php_pdo_oci.dll
    " \' _7 ^5 Z% J; D
  907. ;extension=php_pdo_odbc.dll2 _, b; w$ u7 ?9 O# V  c
  908. ;extension=php_pdo_pgsql.dll% p2 s# h" e1 e/ Q$ o2 U% c
  909. ;extension=php_pdo_sqlite.dll! s8 v; M6 C) q. l, v3 q9 p
  910. ;extension=php_pgsql.dll
    & F6 D5 U/ X2 ^1 N
  911. ;extension=php_shmop.dll; D$ z' x7 G( b$ M

  912. * Y, w- k; M- @# t) g5 h- Q
  913. ; The MIBS data available in the PHP distribution must be installed. 9 {: e; @4 U3 }! p
  914. ; See http://www.php.net/manual/en/snmp.installation.php 7 k. Q, Y1 v, T: [  D
  915. ;extension=php_snmp.dll
    2 {/ [) @, P8 v. T) D

  916. - `, f2 b, U4 J1 B- ~4 R' J8 ~
  917. ;extension=php_soap.dll. g+ j) J6 `: A( k+ {# J. |
  918. ;extension=php_sockets.dll' Q* d5 R' Z- v
  919. ;extension=php_sqlite3.dll
    , f4 ]5 F: S+ |) }: x4 `! T3 L
  920. ;extension=php_sybase_ct.dll0 {$ r& h1 ~, P4 j7 ?) U+ y
  921. ;extension=php_tidy.dll( ]) k1 m9 y2 j1 H0 I4 Y  I
  922. ;extension=php_xmlrpc.dll7 Z/ B, i: Y7 e, {/ e9 b
  923. ;extension=php_xsl.dll4 y& {$ v; Y6 M

  924. ( p; F% r' c3 l, a7 |$ U1 n) Y
  925. ;;;;;;;;;;;;;;;;;;;
    1 Z/ i( h# S. j2 f8 X8 U( ]2 R
  926. ; Module Settings ;# Y- [6 Z# u) K7 x
  927. ;;;;;;;;;;;;;;;;;;;; c) X" E3 \* _2 @1 c: f
  928. : O7 A4 \8 i& |
  929. [CLI Server]" ]9 M; F" i) \, O+ R' w' o
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    ' N' b" I! J# x! e$ l: t6 E
  931. cli_server.color = On
    $ s$ |! h& n4 N; X* G+ o& s, ?
  932. ' Y( N6 z3 d9 r
  933. [Date]
    6 A; H5 L4 l7 U. t5 ~* U
  934. ; Defines the default timezone used by the date functions  ^) j# k4 ~# V( g; T
  935. ; http://php.net/date.timezone) v, I2 [1 `, ]3 E/ G' N9 G+ l
  936. date.timezone = PRC7 Q% y/ }8 [% c; f2 p- p, k

  937. 8 l  E% G- P4 I- J
  938. ; http://php.net/date.default-latitude4 m$ ], j6 ^# m  t  v! C3 @+ c+ D
  939. ;date.default_latitude = 31.7667
    2 f4 U$ d( X* _6 k

  940. " E  p$ j- ]: p- v0 G
  941. ; http://php.net/date.default-longitude
    8 d+ O) ^! I  Y7 S% F( J4 |
  942. ;date.default_longitude = 35.2333
    9 K+ X, ?+ s6 N% X0 V1 I

  943. : J' T/ v5 _: J) }9 t( _
  944. ; http://php.net/date.sunrise-zenith6 F$ N1 A$ N% f. r
  945. ;date.sunrise_zenith = 90.583333
    * a9 Z, D8 O; |" ]0 ~

  946. ) R4 ~4 _- b; p; b3 w% n' `
  947. ; http://php.net/date.sunset-zenith
    + g& f0 ?. F* ?
  948. ;date.sunset_zenith = 90.583333, w. S$ k9 V9 o' {

  949. # e" E$ O8 b9 E
  950. [filter]
    6 F" k) y* d% U2 R( z
  951. ; http://php.net/filter.default% ~/ m6 X* N+ m- [" M9 s3 B9 O. ~
  952. ;filter.default = unsafe_raw
    ! R- B  j) u. \7 X0 G2 g

  953. # p3 v) c7 ~! V6 Q! Z- c; q' o& {
  954. ; http://php.net/filter.default-flags
    9 q+ J, M3 h$ t2 L* ?/ ~1 F
  955. ;filter.default_flags =1 s; m* j& a' s5 |% m4 Z
  956. 6 W  r8 L# q1 Y2 |$ v3 K) M3 j( c
  957. [iconv]( U3 f9 n) D% R  Z
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    * l6 S' w$ Z% q5 r' F
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    & p; {- e" s# x( U
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    7 K! j7 R$ I7 T! a* {: m7 o: G
  961. ;iconv.input_encoding =
    ; ~& n, [* A2 V

  962. 3 L4 ]5 X' G" w, D+ H
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    ! y  t- Q% o- _; j# {- ~1 I( l
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.3 k3 u& H0 E6 ^0 f0 i# n
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
      L1 X( I9 y2 o
  966. ;iconv.internal_encoding =
    5 b: w8 V7 V+ u8 O) W# d$ v1 K9 m
  967. ) T, [3 `6 m$ R$ ?. X
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.8 Z. K* [9 x8 v4 @5 ~. `- C
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    & c" P  ?4 M2 E; _' l' S1 g8 B" Z* M
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    9 m" A7 ?. l' j( E
  971. ; To use an output encoding conversion, iconv's output handler must be set) g1 G& E- H7 p& c5 \/ `
  972. ; otherwise output encoding conversion cannot be performed.
    $ z/ ~" E4 G  M. G8 Q+ x
  973. ;iconv.output_encoding =
    % P; J* @5 I) E
  974. ) c) F4 N/ g# @, Y
  975. [intl]0 A3 Q/ m5 L9 p% R
  976. ;intl.default_locale =! X5 j" Y8 b* P7 T5 d* G9 e
  977. ; This directive allows you to produce PHP errors when some error! F. p/ L0 Z0 p* B
  978. ; happens within intl functions. The value is the level of the error produced.
    8 E3 V% E  c" ~- P+ ^
  979. ; Default is 0, which does not produce any errors.
    ) v' O4 _! Z* N0 d4 B) L& J
  980. ;intl.error_level = E_WARNING
    # t8 _  \- H0 D* X6 G! \3 u
  981. ;intl.use_exceptions = 0$ s: V4 i* i2 y0 k9 v9 j( `
  982. 6 B7 Q* F( w& Y) o/ W$ q+ T4 {) l# }
  983. [sqlite3]
    . t$ v0 f1 O: p* J% a2 e
  984. ;sqlite3.extension_dir =; y3 K" s( _1 P) s! e
  985. 9 n) d) S& G8 e
  986. [Pcre]
    / _) u  n# v0 C$ x4 d
  987. ;PCRE library backtracking limit.
    $ d) c. U* Z& Y5 v8 @, M
  988. ; http://php.net/pcre.backtrack-limit) C5 z& `8 I" F+ n: W4 G
  989. ;pcre.backtrack_limit=100000
    ; R! i. W& w  y3 y& S" T
  990. # Z1 D$ L' G; K
  991. ;PCRE library recursion limit.
    " G3 D/ h. E% x7 K) X/ J
  992. ;Please note that if you set this value to a high number you may consume all" c4 D9 z* |; a; x0 @
  993. ;the available process stack and eventually crash PHP (due to reaching the  P6 O: b9 s1 P4 I
  994. ;stack size limit imposed by the Operating System).
    ! t. M, C2 L0 [- P+ _
  995. ; http://php.net/pcre.recursion-limit' {5 M7 a0 B3 U+ w" I  \7 S
  996. ;pcre.recursion_limit=1000004 e- [6 V8 @" r) u
  997. 7 Z6 F7 T9 d6 R( P: j* ?: b9 }( [( {
  998. [Pdo]  Q) S$ a0 Y- V7 r: R
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    6 I& t6 v" ?" B+ G
  1000. ; http://php.net/pdo-odbc.connection-pooling
    2 J/ u$ j4 U4 T* D- ~. d
  1001. ;pdo_odbc.connection_pooling=strict
    ' o$ {* m( o* U- ]9 I# |
  1002. ) f2 Y( [" W% W$ M" |; N  P( w
  1003. ;pdo_odbc.db2_instance_name0 @. @# q: a; b8 g2 Y$ C
  1004. % j* |1 k1 h4 w& }: }0 w3 F
  1005. [Pdo_mysql]& E: q/ K% p5 e, U9 Q  s$ w
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache+ k% i. B/ ]* M. i! N! v9 z+ `
  1007. ; http://php.net/pdo_mysql.cache_size
    4 k* j. b$ V6 o% k9 C/ {; U3 J! N0 B
  1008. pdo_mysql.cache_size = 2000
    ' b1 g8 I9 k, t  K5 Z& O' g- Q3 y+ H

  1009. - [8 Q: X0 Q* G: P# z( g3 F# Y
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    1 w) U) k* K  W
  1011. ; MySQL defaults.* {" v" Z% f3 _# g" i" F
  1012. ; http://php.net/pdo_mysql.default-socket
    8 o& v5 s- o+ M: I+ `* e. [8 M
  1013. pdo_mysql.default_socket=
    $ \  c9 \9 R, {& C$ {
  1014. 9 \4 p9 q2 S6 H$ X
  1015. [Phar]6 i# Z8 |- `7 ~9 i6 D$ N! x6 H8 @
  1016. ; http://php.net/phar.readonly$ F) k7 H" K( |
  1017. ;phar.readonly = On2 I/ H! B2 Q+ V& Q  ?* D* k0 l
  1018. * _: N+ D: m7 d. n+ T
  1019. ; http://php.net/phar.require-hash7 N; f$ ~6 [0 O7 }0 G0 ]# _
  1020. ;phar.require_hash = On
    ) Z. W% J7 u: d' t# ~! c# a. x
  1021. 6 b2 i& a7 E; e
  1022. ;phar.cache_list =) q& ~6 C% y, k7 u+ D# [# }* f8 `
  1023. 1 i/ Y& a/ z! _' [6 O1 U
  1024. [mail function]
    0 e0 f( U+ H) {% H. o2 ^! }" S
  1025. ; For Win32 only.
    ; h# P, P% {- A
  1026. ; http://php.net/smtp
    ) h$ l+ u. E  ~3 s( `
  1027. SMTP = localhost$ E5 @- A" h4 u( {
  1028. ; http://php.net/smtp-port
    ; O& S4 k; ]# x
  1029. smtp_port = 25
      a: ]: t. e& c9 T
  1030. 6 P2 V* l0 I/ X( a  ^6 d- a. Z' h- _
  1031. ; For Win32 only.
    $ J# r0 x7 _# A0 K
  1032. ; http://php.net/sendmail-from
    9 r8 h3 y6 @% \+ w& z
  1033. ;sendmail_from = me@example.com8 e: Z/ k; u" f7 C: A; Y% J
  1034. 4 ~. N0 }/ P. S+ ~4 H) {
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").0 G  Q( @. q; _) S0 N0 z
  1036. ; http://php.net/sendmail-path! o3 W. n6 E: v
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    ; A( j7 v! {/ Z; v/ f/ B4 ^0 H7 z# v

  1038. 7 t3 L, L; _  h& [  \
  1039. ; Force the addition of the specified parameters to be passed as extra parameters1 j5 M6 W( x; T$ T
  1040. ; to the sendmail binary. These parameters will always replace the value of
    ) }( N- n3 P7 t- N
  1041. ; the 5th parameter to mail().
    ! g  A. W' W* ^" C. r
  1042. ;mail.force_extra_parameters =5 r5 W! Y5 C1 M% |2 Z3 G- ]$ I6 q6 w! |

  1043. / m" _5 x1 F- U* X
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    # ], n6 Z. R- b# t8 S# S0 i
  1045. mail.add_x_header = On' J9 }8 g3 z2 @+ B" r6 D
  1046. / k0 W% J. w  N8 n6 c
  1047. ; The path to a log file that will log all mail() calls. Log entries include, G- H3 I8 q: c5 T7 m4 I+ i! w$ V
  1048. ; the full path of the script, line number, To address and headers.+ l* }  b; G/ V2 J: l/ g
  1049. ;mail.log =
    ! b; y- k" M: ?, o
  1050. ; Log mail to syslog (Event Log on Windows).' i* ^. `/ Y2 ^: B- n
  1051. ;mail.log = syslog
    . T  M$ F6 D. X% m6 R5 T" O
  1052. 0 U) x% z/ b0 H1 l8 e
  1053. [SQL]6 s. y" W3 c) ~1 k
  1054. ; http://php.net/sql.safe-mode
    0 f, F# G# P0 s" G' o& m
  1055. sql.safe_mode = Off
    9 d( o+ \+ n3 S+ I0 \& G

  1056. . M2 `8 @6 M: O3 G/ e4 |
  1057. [ODBC]
    5 `- _/ z) W8 |9 B* j; Q9 d3 B
  1058. ; http://php.net/odbc.default-db# f- n/ Q# f9 u2 S* r: ^( d
  1059. ;odbc.default_db    =  Not yet implemented' X/ J. D+ c- I1 t' ]

  1060. . @% P+ m- w0 i  ?) K1 V
  1061. ; http://php.net/odbc.default-user
    7 s9 j0 x' e+ l, Q& e2 u
  1062. ;odbc.default_user  =  Not yet implemented
    & z# G! P! q2 O: f* P9 H5 S
  1063. 5 W  C' [: E8 ]: q8 Z* F" }
  1064. ; http://php.net/odbc.default-pw
    . |' F. L, b8 X5 x
  1065. ;odbc.default_pw    =  Not yet implemented
    2 U3 \, D8 E8 P  K8 n

  1066. 6 {4 j1 M( W1 a
  1067. ; Controls the ODBC cursor model.% g+ E  f. S# g4 f% O  r
  1068. ; Default: SQL_CURSOR_STATIC (default).
    ! R" }- Q+ C/ s* f
  1069. ;odbc.default_cursortype
    . L6 Q$ u, T6 G: O4 x5 m

  1070. 7 m( G& r2 O* U3 J% p- R% O
  1071. ; Allow or prevent persistent links.) G! V1 s$ i& O  [' f$ X
  1072. ; http://php.net/odbc.allow-persistent0 S0 ]# w+ z" c' ]
  1073. odbc.allow_persistent = On+ c3 F6 F7 M. ^6 @9 f& u" \

  1074. ( O3 \8 _" P" z, t
  1075. ; Check that a connection is still valid before reuse.( f' J5 K, u' h  B' W1 j
  1076. ; http://php.net/odbc.check-persistent
    ! _9 ^, Y  W: F9 J+ z
  1077. odbc.check_persistent = On/ s% h( s9 D$ B# V- o! R  }

  1078. - S% |: t% M  `! g" F3 m
  1079. ; Maximum number of persistent links.  -1 means no limit.
    . X9 p; z5 T! S
  1080. ; http://php.net/odbc.max-persistent
    ' r# U  n/ J/ l
  1081. odbc.max_persistent = -17 \" b, h( Y) e) U4 L8 W: \0 `" x
  1082. 2 H' v( a. r; Y& U( n' N
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    - r+ {3 B% W, W% L& P
  1084. ; http://php.net/odbc.max-links
    ' x/ j& M* m4 u+ S
  1085. odbc.max_links = -1
    ) o0 x! z; k1 r$ U2 [5 }5 z" t
  1086. / f( E# Z0 Z+ x6 L- S* R% \
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    : w! u* x" _. g. A6 r) V! r
  1088. ; passthru." k0 Q' N8 [' t9 O
  1089. ; http://php.net/odbc.defaultlrl7 i% ~1 ?: X8 S$ x
  1090. odbc.defaultlrl = 4096% \8 w4 a6 P& Y) T; e
  1091. $ ]: P+ V4 Y, `, C
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    . I* n* R6 R, n8 {+ l
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    1 h1 Q% }$ P" F0 ]5 j
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode* X! X! ~$ l8 b- {
  1095. ; http://php.net/odbc.defaultbinmode
    * h3 f5 v" S# o2 _4 e
  1096. odbc.defaultbinmode = 1
    * L. a4 P; F0 a+ u9 l2 `- C

  1097. 8 P; q0 J9 Z2 D- i, P  l
  1098. ;birdstep.max_links = -19 t2 U# i' w& v1 H/ v
  1099. & W$ }! c) C* ?5 l5 v. `
  1100. [Interbase]
    / w: b$ E4 d4 ^+ F8 N$ p9 R
  1101. ; Allow or prevent persistent links.6 b4 S3 a, D7 t0 Q
  1102. ibase.allow_persistent = 1
    2 l+ T* a7 F3 j2 ?! Y
  1103. , i/ t: `# R, \$ @5 v5 @" H
  1104. ; Maximum number of persistent links.  -1 means no limit.
    # r. |( N& v. w5 O" g0 u
  1105. ibase.max_persistent = -1" B/ X; F+ @% J, e' C7 {5 u0 t
  1106. ; s$ ^2 s' Y/ H& O. h: |4 M/ y% e
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    $ Z% j. l4 e. ?! U. Y
  1108. ibase.max_links = -11 p& a; p1 i( G( N+ H' w5 H
  1109. & k- ?# `& e" \5 ^
  1110. ; Default database name for ibase_connect().# m2 |8 e% \/ B, G  ~" m0 Y
  1111. ;ibase.default_db =5 Z5 A- x) F! Z" s4 g* k. k

  1112.   T; N* a( \4 T. v4 v3 P
  1113. ; Default username for ibase_connect().
    1 Z1 {& l  B( U3 u
  1114. ;ibase.default_user =; b0 s, X) j1 p6 i* W. {) p

  1115. , }: N7 U0 i% f0 f7 m+ h/ d
  1116. ; Default password for ibase_connect().4 b" q4 j( a$ A" x/ f
  1117. ;ibase.default_password =6 E- f7 d# A' c" W9 ?

  1118. 7 P6 v. j/ b4 \! x1 {0 E
  1119. ; Default charset for ibase_connect().5 X0 O5 S1 Q- p
  1120. ;ibase.default_charset =
    8 `$ j1 l+ e; O% E

  1121. ' v5 w% X. C6 W2 D4 p* X
  1122. ; Default timestamp format.
    * a. m6 D9 l, k4 k. R( t
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"2 j# P; H) |; }6 d& t0 d9 }
  1124. 9 K) t( E# B; D8 N1 i: E
  1125. ; Default date format.
    ! e, u1 c& A3 ~1 E* c' E
  1126. ibase.dateformat = "%Y-%m-%d"
    ' z& G0 U( y4 f) j$ W; d# o
  1127. & i( ]2 A6 P2 o, d5 x+ A
  1128. ; Default time format.! Y% m: S: o  I& r
  1129. ibase.timeformat = "%H:%M:%S"
    : u6 }8 z$ m) }- l; O- i: z7 _
  1130. / |+ }% H% ?2 @. v' A  H% w
  1131. [MySQL]
    # z  B. `5 `, H6 @4 F9 r& V; D) V
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements0 b/ n' K1 X$ t+ e! f  w3 ~
  1133. ; http://php.net/mysql.allow_local_infile! Y; L8 a4 T7 z2 b
  1134. mysql.allow_local_infile = On
    ' E* M2 ?! h- o
  1135. . x9 P+ m2 X9 X7 S  k
  1136. ; Allow or prevent persistent links.
    , \% G- A0 D  R3 u4 c0 i
  1137. ; http://php.net/mysql.allow-persistent
    ! i' N3 T3 {- M6 O/ q! |
  1138. mysql.allow_persistent = On
    # i5 }( b1 T$ w9 ^, V
  1139. # G7 F7 ]- ~5 `7 b! ^
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache; v( P7 ~, x$ N, r6 p
  1141. ; http://php.net/mysql.cache_size
    9 O, x. j, e3 ~
  1142. mysql.cache_size = 2000
    4 p' V! m) g+ D. l: W' n

  1143. / @/ r$ T  a  n6 R
  1144. ; Maximum number of persistent links.  -1 means no limit.
    ) u$ g( z1 p( q8 o' A9 K0 |+ L% \
  1145. ; http://php.net/mysql.max-persistent
    7 T: h- n4 b% A% [3 K( N
  1146. mysql.max_persistent = -1$ j" _0 C3 i1 W# D+ g1 z

  1147. . F. _# [3 K3 t% L( ^
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    , I9 k+ g, `- t2 w
  1149. ; http://php.net/mysql.max-links& J  @, z. I/ \) |: K" S* p) Y  @
  1150. mysql.max_links = -1
      z! R# Q* W' H6 r- h; e

  1151. ) g# |2 v7 l+ ]9 |+ ?
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use: p; S9 T9 ^' @- l2 _
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    5 Y$ g% w2 @9 e8 W4 z" \4 o) r
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look' y0 x, v% j( O. S+ K- ^" `* ]
  1155. ; at MYSQL_PORT.
    , @2 ?& i' ]6 G  I2 B" v# b
  1156. ; http://php.net/mysql.default-port- w# W+ D; }! E5 c3 n
  1157. mysql.default_port =1 ?% [6 z& j  v
  1158. : L8 m/ H6 y1 v/ t  ]1 c9 S
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in0 R; X% N3 f# x  C% T& R
  1160. ; MySQL defaults.
    & G, R  s# D2 ^! E" L0 G& t& }
  1161. ; http://php.net/mysql.default-socket
    & N: c$ K7 e+ [# _$ A
  1162. mysql.default_socket =
    * L8 ]/ L2 K! b3 m+ K
  1163. 7 C$ c9 {' l/ C- K# l% v$ M1 _+ E
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    7 S" K* k$ ^2 n3 q2 p) W
  1165. ; http://php.net/mysql.default-host6 ], [0 N* s9 W2 I6 B
  1166. mysql.default_host =
    - M8 _4 v, V/ J, l* B3 C
  1167. * w6 o. ?' n0 k6 F7 l( \
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).( ^9 H$ Q& I& v
  1169. ; http://php.net/mysql.default-user
    5 g6 U3 d: R3 Y& q
  1170. mysql.default_user =
    ) w2 t& v+ B! s/ a( R
  1171. 3 v: t" T( I8 Z* w8 P' o' ]
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    8 K3 S: X3 O. {
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.' \# F3 l8 G, {9 ?0 H9 C+ w$ a
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")% r5 B) `; w5 X0 Y' j% N" w& ?
  1175. ; and reveal this password!  And of course, any users with read access to this
    2 f7 T' o7 y7 V" V9 {
  1176. ; file will be able to reveal the password as well.
    # w* n6 X5 a! j
  1177. ; http://php.net/mysql.default-password
    $ z1 s( t( C6 N* G7 b; P
  1178. mysql.default_password =
    : d( {/ J9 m0 b( X% q# I

  1179. 9 c# ~% g1 r3 [+ j; h
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit# G- E( q$ j4 r
  1181. ; http://php.net/mysql.connect-timeout% Y9 c! |9 V) U; `: c
  1182. mysql.connect_timeout = 60
      a( p5 C* Q* U! v* m) ^

  1183. 5 L- s( x$ d6 ?% ?4 ?8 b8 e
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and5 u  ?+ e4 w" A( |3 H- |1 I
  1185. ; SQL-Errors will be displayed.
    % Y- Y# h& H/ q: h
  1186. ; http://php.net/mysql.trace-mode
    + c( I: v7 U2 i: o$ F
  1187. mysql.trace_mode = Off
    4 ^, S4 a0 c  |; a+ Y
  1188. 2 l% _* `7 v3 u4 Z
  1189. [MySQLi]7 u$ @; Z3 i+ z# R

  1190. # T) z+ j: {; ?) m
  1191. ; Maximum number of persistent links.  -1 means no limit.) _* k+ h, x8 W5 k# `
  1192. ; http://php.net/mysqli.max-persistent
    6 e. i7 o# T1 M: S3 {, E
  1193. mysqli.max_persistent = -1/ e7 P) P" i- U3 v( |! ^

  1194.   p- ^# [# V, q( l0 p9 u) x6 |! @6 h  l
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    6 o/ H: Q! b% S/ E# S$ m5 }
  1196. ; http://php.net/mysqli.allow_local_infile
    " M$ ^; y9 M# h2 t
  1197. ;mysqli.allow_local_infile = On) }7 K& V6 z3 g. p/ C2 i8 _* \
  1198. 2 B4 h8 l9 m6 @" b) p
  1199. ; Allow or prevent persistent links.: [# S; f( U+ K% I8 b, Z5 U, c) f
  1200. ; http://php.net/mysqli.allow-persistent
    ; m- t) V! d; `
  1201. mysqli.allow_persistent = On# P: y& e; I( w. w

  1202. & J& N: H+ f( t6 d3 F
  1203. ; Maximum number of links.  -1 means no limit.' [  ^0 b' t/ U( c/ V
  1204. ; http://php.net/mysqli.max-links$ i4 E# f' X1 K% f* U) K  M
  1205. mysqli.max_links = -1
    ( \5 D9 O6 x% I4 w' \
  1206. ( V9 m  |' `9 {' F+ U: t
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    9 Z: G1 u) |- p! D
  1208. ; http://php.net/mysqli.cache_size) l: E5 J" c: Y. z1 {; ]
  1209. mysqli.cache_size = 2000
    9 h) U/ G, E+ }: Q' x0 v3 d
  1210. # ?( G# M/ c( b( X& ^, z7 @
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use' _: k4 U. E5 C1 \5 p- p+ J* {
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the1 P/ B6 T5 u; C2 m; i$ e
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look" X  Y" p% u! [4 \5 n* q
  1214. ; at MYSQL_PORT.
      E; C) e% ?6 I0 J  Z3 g
  1215. ; http://php.net/mysqli.default-port
    ( H$ B  a% F/ {' Z9 s7 B
  1216. mysqli.default_port = 33060 [, Q$ S: O& K" |8 l1 \) x. j* h+ `- h

  1217. * }! o) y7 U0 I' O+ k& w6 s
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    1 l" b1 x8 r7 h$ Q& M
  1219. ; MySQL defaults.
    , }: V! ~6 x; I" N9 n: _( i0 B( z
  1220. ; http://php.net/mysqli.default-socket2 R1 C6 v9 [3 A& v/ u- `
  1221. mysqli.default_socket =
    0 z9 u8 M/ I, h9 C0 _
  1222. * A/ D; J1 X! e% g9 `8 F4 ]
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    - o' a9 L1 r9 ~6 y8 S) `
  1224. ; http://php.net/mysqli.default-host
    # A' E7 e5 c- m6 }7 |* X, w
  1225. mysqli.default_host =
    ! q* z' Y$ G' g6 `6 }% V7 P
  1226. ! J$ Q) M- E% q' A' h% J" M0 U" X
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    6 ?9 f! U; m. E3 c# K7 S$ V
  1228. ; http://php.net/mysqli.default-user! n$ y- |( g3 C! i0 j: k$ `6 ]. S
  1229. mysqli.default_user =6 C' G; J0 B* ~: a% v

  1230. 5 C5 R/ h5 C* }& q4 e) D3 {4 h
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    1 v6 O, f+ ?( O- p# W7 n  ~
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.+ p' a' m/ b0 Z' d1 D# T1 m3 k
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")+ A  V0 }% I+ @
  1234. ; and reveal this password!  And of course, any users with read access to this! m& t/ Q6 `( p8 h. `
  1235. ; file will be able to reveal the password as well.
    3 b4 D; Y! D* a/ ]( y# [% `  \
  1236. ; http://php.net/mysqli.default-pw) ^; v# ~) P& k7 i
  1237. mysqli.default_pw =4 R# j  k8 K. a( N5 |
  1238. , }; x  A. `  k' ]
  1239. ; Allow or prevent reconnect
    . `, q2 O+ Y2 y3 ^( w& j+ Y
  1240. mysqli.reconnect = Off& W' m+ X) ^* l" P

  1241. 6 Y" i! \* R" N; ^. c+ B
  1242. [mysqlnd]
    , N& W- B8 W" o! m% o' b
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    " x  }8 c/ J; L
  1244. ; used to tune and monitor MySQL operations.9 C3 H, d$ C5 j: l# S9 W% d, p8 `
  1245. ; http://php.net/mysqlnd.collect_statistics
    ! c! q  s/ @5 V8 M/ a% Y& B
  1246. mysqlnd.collect_statistics = On! H4 q5 E) M/ L  L" n- _# M' K# d! C
  1247. / J( Y+ D* v- m
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    5 Z' h/ \7 L8 W
  1249. ; used to tune and monitor MySQL operations.
    1 \/ F6 u) P% u5 J/ t2 c  z" B* P
  1250. ; http://php.net/mysqlnd.collect_memory_statistics: {4 P. b( o  K, h. n7 a( k/ B: D
  1251. mysqlnd.collect_memory_statistics = Off- ?  C: P  k1 o9 ^9 r- K+ i

  1252. " M/ ~  g/ Z# T, K7 I( l1 {
  1253. ; Records communication from all extensions using mysqlnd to the specified log3 f  V+ q2 t, o- J4 B5 C% ~0 n
  1254. ; file.# Y9 O5 I. x0 B( w6 P' z& p
  1255. ; http://php.net/mysqlnd.debug
    8 X0 i8 R8 K) s4 L5 i+ L! p
  1256. ;mysqlnd.debug =! ?  Q. S! O3 h+ R0 ]# H6 h

  1257. , T3 |1 x, q, H9 b+ G2 ?
  1258. ; Defines which queries will be logged.
    0 F2 h2 N9 L5 v9 q& E) e
  1259. ; http://php.net/mysqlnd.log_mask9 G4 ?* p5 Z5 _- E; P* O: Y
  1260. ;mysqlnd.log_mask = 0
    ; `/ w$ ^# X6 c! ?

  1261. . V3 j* ~6 c0 U' q8 e7 ?
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    ( m" I/ b1 ^* D' z' @6 f
  1263. ; http://php.net/mysqlnd.mempool_default_size
    + U' ]5 p; Q  M$ Y
  1264. ;mysqlnd.mempool_default_size = 16000; e/ T" G0 g0 t% p: r6 ^* f

  1265. - `% Y! q$ H2 s* @
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.. b- a1 y. h1 f9 i/ N1 ~( Y
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size; {, c# `  s1 G$ y& A
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    ' _5 F  D6 S9 V. v" Z
  1269. - J* Z& R- _, ]
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in: t4 W8 a& I6 w5 s/ h( c/ F
  1271. ; bytes.
    6 s4 ?+ O( [7 l4 p) Z
  1272. ; http://php.net/mysqlnd.net_read_buffer_size5 I1 ]* u5 }$ E6 E2 ^: f! c
  1273. ;mysqlnd.net_read_buffer_size = 32768
    3 R, B9 |3 X# q6 C

  1274. . q/ K& Y+ q+ I  P
  1275. ; Timeout for network requests in seconds.7 H2 i; B- A, W8 I
  1276. ; http://php.net/mysqlnd.net_read_timeout' W7 X' Y3 s8 \0 |5 r7 R: F  T
  1277. ;mysqlnd.net_read_timeout = 31536000
    4 j! Z1 \) i9 L
  1278. ) S: G: u, S, ~* [
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA  ^1 S& J' c0 W- R# L
  1280. ; key.5 O$ {" y1 Q+ d* r* v8 r  c
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    ; }. d  \1 g) G9 [
  1282. ;mysqlnd.sha256_server_public_key =
    4 E( Z$ q8 T: j
  1283. + G! D. t" F: m( g) E; L  _
  1284. [OCI8]1 a2 V5 ^/ L! P% L3 e7 `
  1285. 4 t2 b6 p- O9 c
  1286. ; Connection: Enables privileged connections using external
    ; H! G5 k, _% ~: R2 c
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)+ _% k$ ?# l. T" w
  1288. ; http://php.net/oci8.privileged-connect$ X* e7 D8 o6 c& A. n2 X# }
  1289. ;oci8.privileged_connect = Off4 [; A$ q5 c+ F" |3 d2 A6 J
  1290. + V: `4 m& \  ?
  1291. ; Connection: The maximum number of persistent OCI8 connections per% i' s3 W3 Q/ G  [) e# u0 [
  1292. ; process. Using -1 means no limit." R1 P$ {7 z! X4 |
  1293. ; http://php.net/oci8.max-persistent
    ( Z6 J2 L8 ~# ?
  1294. ;oci8.max_persistent = -1
    ' u+ E! ?. r9 T6 u; V& ?, S

  1295. 5 }6 B3 G3 k4 G' a0 }
  1296. ; Connection: The maximum number of seconds a process is allowed to
    7 ^  n' r( `5 p8 t
  1297. ; maintain an idle persistent connection. Using -1 means idle3 i, q. S1 i- |  Z$ O" q' B) I
  1298. ; persistent connections will be maintained forever.
    & X  y( j6 Q. Y$ F
  1299. ; http://php.net/oci8.persistent-timeout& A$ h( _# \, p4 S" e5 y9 e% Y
  1300. ;oci8.persistent_timeout = -1
    * @4 k# v& N$ R0 ]
  1301. / k1 E7 ~1 V3 v. f; }, F: w
  1302. ; Connection: The number of seconds that must pass before issuing a
    9 a) U! L; M% C9 k. r  b) ^8 \
  1303. ; ping during oci_pconnect() to check the connection validity. When
    2 S5 [4 |6 @- `8 }. A  p& L
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    $ P' j( k, y) s6 s1 |: I
  1305. ; pings completely.
      h9 q5 W9 X! h& C
  1306. ; http://php.net/oci8.ping-interval
    7 Y8 m. d& u: G( U
  1307. ;oci8.ping_interval = 60% a! ~% V1 Y- u0 F) J$ h3 i1 s
  1308. / l: M7 S8 i0 E( L/ t3 _9 {. T
  1309. ; Connection: Set this to a user chosen connection class to be used8 w  l- i6 c/ a0 Q
  1310. ; for all pooled server requests with Oracle 11g Database Resident) H7 n) X) i  ~3 h& j. s3 s  w' m
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to6 C6 h; ]2 p3 ?
  1312. ; the same string for all web servers running the same application,1 F3 f. f" ?* e' [) l- p7 M
  1313. ; the database pool must be configured, and the connection string must
    ! O9 `( {% a* C" t
  1314. ; specify to use a pooled server.# T$ u1 w  }& f; O* v- ~# X0 B
  1315. ;oci8.connection_class =
    0 l/ V5 o2 ~1 m7 k& L& x% |# b
  1316. ! [3 K8 r9 ?" ?8 ^. @# Z. V8 ~% r# r
  1317. ; High Availability: Using On lets PHP receive Fast Application
    / L) x- l+ n9 k5 X
  1318. ; Notification (FAN) events generated when a database node fails. The
    $ N1 }9 ^3 V( P+ m/ b2 `
  1319. ; database must also be configured to post FAN events.6 }; j' Z- b: s5 q8 H' [; O5 }' Q6 v
  1320. ;oci8.events = Off% Y; M+ ^" A* u( c0 N

  1321. & D7 g2 [/ R8 b( v
  1322. ; Tuning: This option enables statement caching, and specifies how( Z# j3 Y$ C8 ~5 t% U* k
  1323. ; many statements to cache. Using 0 disables statement caching.! F- R3 c4 ?. t8 h
  1324. ; http://php.net/oci8.statement-cache-size' s/ S( R9 B% E* W& }
  1325. ;oci8.statement_cache_size = 20
    0 u. B) e$ F* U
  1326. 2 m" N+ [% M3 ~" p
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    ; ?0 o2 q% Y- Z4 ~. W7 x& f# o% o
  1328. ; rows that will be fetched automatically after statement execution.- l6 i( |0 M5 X/ H' U2 S4 F
  1329. ; http://php.net/oci8.default-prefetch! v) n+ N0 ^! S! b3 A
  1330. ;oci8.default_prefetch = 100
    4 a+ A! x1 R, q+ r  q! x/ x
  1331. ( ?+ |! ^9 c% e/ P  P2 Z
  1332. ; Compatibility. Using On means oci_close() will not close
    3 n" |" i, h9 ~) j% {
  1333. ; oci_connect() and oci_new_connect() connections.6 [2 ^! P+ y+ E: p
  1334. ; http://php.net/oci8.old-oci-close-semantics
    % s7 w! R. [  Y* C. W; C, n2 B
  1335. ;oci8.old_oci_close_semantics = Off
    5 O, D  O* r2 ?" W2 Z' g! R7 Z/ a8 r
  1336. 1 A* v0 s! n" \/ d5 k- f
  1337. [PostgreSQL]
    - i4 Y  H3 \$ A1 W' E  A0 r) j% P4 N
  1338. ; Allow or prevent persistent links.# t7 k& c& B. B$ G' T  i+ \
  1339. ; http://php.net/pgsql.allow-persistent
    9 V; I8 F/ \: I8 s6 J9 N
  1340. pgsql.allow_persistent = On8 ]/ J7 [# J  s0 a% }8 B

  1341. - m7 b# A8 \* f$ b0 w8 d* d$ a
  1342. ; Detect broken persistent links always with pg_pconnect().2 p- z9 Q) N/ J# x% t
  1343. ; Auto reset feature requires a little overheads.
    * f' T# `& d7 y! |8 {) U* ]
  1344. ; http://php.net/pgsql.auto-reset-persistent# R6 w- S# g. J5 J* m. A8 l
  1345. pgsql.auto_reset_persistent = Off
    4 l/ ^( I% i( }& Y* H
  1346. 2 \4 r- }5 k. D) t4 \7 U/ ?
  1347. ; Maximum number of persistent links.  -1 means no limit.
    7 w8 B# H+ M2 u, J
  1348. ; http://php.net/pgsql.max-persistent
    0 `9 x. O' q3 A: t, w# {/ y
  1349. pgsql.max_persistent = -14 |& V; h* X8 c( z. P

  1350. 9 n; a: z# }8 @/ T- o- D, ?
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    : K3 s+ w6 r: C+ i) _$ O7 h; v) z
  1352. ; http://php.net/pgsql.max-links2 R; q! m7 Z  F6 A; Z8 g9 {, @5 K
  1353. pgsql.max_links = -1
    6 m% B2 M* F  }( R6 `9 r/ q
  1354. 9 \8 ^$ b9 O. m/ P' V- m( C, Z! |
  1355. ; Ignore PostgreSQL backends Notice message or not.
    3 A, t5 w& U; c# `
  1356. ; Notice message logging require a little overheads.- d/ T% D8 n- b
  1357. ; http://php.net/pgsql.ignore-notice% V; S9 [/ _8 L/ P# b
  1358. pgsql.ignore_notice = 0
    - I1 K3 _2 Y( F2 U( ^2 k

  1359. * L' q, F3 H  T. D5 e0 z3 R
  1360. ; Log PostgreSQL backends Notice message or not.+ E9 l4 m" u# L- \$ v" X5 J
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.+ i- x% c) u; ?+ w
  1362. ; http://php.net/pgsql.log-notice8 J! j0 i' K1 d
  1363. pgsql.log_notice = 0
    , }9 i/ T  ^7 e' t/ b/ a& Z

  1364. 9 M5 ~* v' G* w/ l
  1365. [Sybase-CT]
    " D/ I9 L: L8 K8 O. M) t4 u4 ]
  1366. ; Allow or prevent persistent links.( B6 ~6 G% r: H
  1367. ; http://php.net/sybct.allow-persistent$ i  t$ j) z4 o6 [  ~- o
  1368. sybct.allow_persistent = On/ Z# Q" `0 L, ~8 J9 w

  1369. / D) o- D$ D* ^
  1370. ; Maximum number of persistent links.  -1 means no limit.
    " J' q% h( F' `4 o' L  a% E
  1371. ; http://php.net/sybct.max-persistent
    ' T$ n& C5 t, h: H
  1372. sybct.max_persistent = -1
    2 I  ^% U# x1 ~0 k

  1373. ' I$ s" S0 Y2 W. I& i5 w
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.9 F, e2 C- q. P
  1375. ; http://php.net/sybct.max-links
    4 ^& j( k& ^/ |( s
  1376. sybct.max_links = -1+ A& ~+ G; O6 {. w0 G2 A, e

  1377. " L+ N. p1 b+ ^% D4 C2 W# B
  1378. ; Minimum server message severity to display.) ^9 R0 L9 e6 D
  1379. ; http://php.net/sybct.min-server-severity8 L6 N: ]+ E3 g; i# V
  1380. sybct.min_server_severity = 10
      o8 ]& \: O$ N0 w/ f
  1381. & x# o# U9 V/ s! T  _! D
  1382. ; Minimum client message severity to display.
    % f/ p6 w9 i" Q* l7 R# D9 p
  1383. ; http://php.net/sybct.min-client-severity2 z& T, p4 ~& d8 l9 |! o
  1384. sybct.min_client_severity = 10
    ( Z4 l1 E4 \6 ]. \0 H5 t
  1385. ) U2 E. ~& ~1 l) L- c
  1386. ; Set per-context timeout
    - c1 C% A  B8 X8 F# G% B. E6 A
  1387. ; http://php.net/sybct.timeout3 R" H0 R" J1 @" o. e# h8 O
  1388. ;sybct.timeout=2 z5 S0 B! X( R/ x- ?

  1389. , O! Q& D6 j% `+ S, c3 _
  1390. ;sybct.packet_size
    # w* z8 L/ c7 e2 q! M; N
  1391. % ~. S1 G, P' k* `5 z1 s+ }+ p, j: H0 k
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.( W: E7 h! _8 O
  1393. ; Default: one minute
    1 i1 p- T4 G% C( H  i* t; \
  1394. ;sybct.login_timeout=
    ' |% f3 M+ \0 ]* q/ z: d
  1395. - r3 _9 e. C- P6 M) Q
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    ) X  a) b* h7 _0 y4 u" U6 q' w
  1397. ; Default: none
      v, F9 H1 O& @; d
  1398. ;sybct.hostname=* f+ T, a; s; B- L/ {# y
  1399. + O) e5 Z3 R/ P1 q
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    # c" ]& R: Q; T7 D( |) o
  1401. ; Default: 0
    # x1 j, o( M/ Z& Q% h( A' s
  1402. ;sybct.deadlock_retry_count=$ J7 \1 J) Z5 U* N+ C! R
  1403. ) q) A; a- G" o/ X6 Q
  1404. [bcmath]
    . N1 z0 F+ |0 T9 o2 |. a- b
  1405. ; Number of decimal digits for all bcmath functions.8 {1 m+ p9 I: |  P
  1406. ; http://php.net/bcmath.scale9 B, F/ n  a( e- Q8 P% j+ ^
  1407. bcmath.scale = 0  X! g" I, X# E

  1408. 6 N6 |' {" `! B. W
  1409. [browscap]) T9 }: v/ E' S# J' L. ^! y
  1410. ; http://php.net/browscap# Q6 l( W+ _% \8 f8 n9 _
  1411. ;browscap = extra/browscap.ini
    " n' B8 }% J5 T; P- x  Q

  1412. ' _* b1 e/ E- d* k* [' ]/ B
  1413. [Session]
    1 }4 I8 u% g8 s
  1414. ; Handler used to store/retrieve data.+ B$ e' d5 z1 M% m9 [! s9 K
  1415. ; http://php.net/session.save-handler* }8 |3 U" y! n+ L$ M2 ^
  1416. session.save_handler = files; m: z: h; u) }6 I

  1417. - }8 O2 V2 u- s' [/ H" m
  1418. ; Argument passed to save_handler.  In the case of files, this is the path3 r& D6 f( c4 a' j- B
  1419. ; where data files are stored. Note: Windows users have to change this" c- p4 {; Y. _. S
  1420. ; variable in order to use PHP's session functions." }& E& z( R% y! D$ p
  1421. ;2 ~6 X# D7 r& F. D; y
  1422. ; The path can be defined as:
    ; H9 a6 l; r+ P5 C& ~& l2 ^
  1423. ;* _0 }& {, y5 ^4 ?
  1424. ;     session.save_path = "N;/path"8 E$ L4 O, D2 g, |! [
  1425. ;
    : @5 |+ M; z. Q- g# q$ S" G
  1426. ; where N is an integer.  Instead of storing all the session files in8 `/ T; S- o4 ^; H5 w( F
  1427. ; /path, what this will do is use subdirectories N-levels deep, and* }$ C- P6 F) y7 ?+ `0 h# X
  1428. ; store the session data in those directories.  This is useful if6 a8 q: `6 w; K2 S' h% t8 J
  1429. ; your OS has problems with many files in one directory, and is
    9 d- D" s1 [" V$ {- k( r
  1430. ; a more efficient layout for servers that handle many sessions./ p$ x# \/ B+ \2 O4 @7 m/ Q
  1431. ;& _- \* F! w: j  d+ p" u3 Z
  1432. ; NOTE 1: PHP will not create this directory structure automatically.2 R  t% W& ~0 v5 e$ o$ q
  1433. ;         You can use the script in the ext/session dir for that purpose.; v2 `9 W! H+ ^, \: @+ @$ u% G
  1434. ; NOTE 2: See the section on garbage collection below if you choose to9 m* e) X( d% I" }9 W" @; G
  1435. ;         use subdirectories for session storage
    " \& F. y# m5 G, y; r% Y3 [
  1436. ;
    . A  T3 n! r% ]6 e8 b
  1437. ; The file storage module creates files using mode 600 by default.- J" T7 t3 H" S/ Z' ^
  1438. ; You can change that by using
    9 U- b$ L, Y3 t
  1439. ;
    9 R) @; p" B% n
  1440. ;     session.save_path = "N;MODE;/path"2 x6 k, j$ @- S* {( @% I0 ~8 w4 R9 w6 }# R
  1441. ;) \( W& p# Z: c8 @8 q2 `
  1442. ; where MODE is the octal representation of the mode. Note that this6 \( A. j8 `2 c
  1443. ; does not overwrite the process's umask.: @4 E$ Q. g3 m$ o. i
  1444. ; http://php.net/session.save-path, L& v; C" K; u; L
  1445. ;session.save_path = "/tmp"
    / ^* D% S- H7 O1 Z# w

  1446.   ?# {1 U& @8 }0 e
  1447. ; Whether to use strict session mode.6 c: m" F/ Y+ Y, K
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    8 l7 r4 ]0 F% K+ ]
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects8 ?* u, x; L4 F, i' B
  1450. ; applications from session fixation via session adoption vulnerability. It is
    $ L! t! @1 R1 c: E# H+ X
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.4 F; r! v4 c2 z2 @7 h
  1452. ; https://wiki.php.net/rfc/strict_sessions
    7 s5 L' _) U. [# ?) T- D
  1453. session.use_strict_mode = 0
    + ^( |+ }7 w1 j
  1454. . k5 g# x) h7 Z- t- O  _
  1455. ; Whether to use cookies.- J& }% U; m7 p% u1 S
  1456. ; http://php.net/session.use-cookies* B) c) h- S$ y
  1457. session.use_cookies = 1/ A  @# t/ I+ ?" J

  1458. % h0 Z6 |* o, ]8 J
  1459. ; http://php.net/session.cookie-secure6 w  j# L9 ]9 P2 e; W! `. A
  1460. ;session.cookie_secure =
    1 G8 }' N; U  m$ r& V9 l
  1461. + G" Z# t* j8 f' ]' E1 u, b! Z' w2 \
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    ) B6 Q, a( }/ M
  1463. ; the session id. We encourage this operation as it's very helpful in combating7 T! y5 o' S' t0 E2 ]. \
  1464. ; session hijacking when not specifying and managing your own session id. It is
    4 ?' u' r* V+ E; c4 i, G, X
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    3 E  K; }$ B  j/ r
  1466. ; http://php.net/session.use-only-cookies
    3 S# S$ K5 l' A, \7 U4 i5 _
  1467. session.use_only_cookies = 1
    ; l* Z4 [7 w4 x+ |$ H$ c! F

  1468. 6 W# d  {4 G6 g! i& g9 u
  1469. ; Name of the session (used as cookie name)./ i$ L$ d4 C0 O0 ?
  1470. ; http://php.net/session.name
    3 z3 D% a, _0 f( M2 l) @
  1471. session.name = PHPSESSID- \- y/ D  C4 t
  1472. 8 V$ k0 b. l6 ~( [7 h
  1473. ; Initialize session on request startup.
    : G) @7 U- T+ t/ v  |$ L+ t
  1474. ; http://php.net/session.auto-start: w! j3 T2 x5 F% z8 p( X; B
  1475. session.auto_start = 0
    # Z# x0 M3 T* \- Q) U' w  w
  1476. ; O9 v! t3 K' C( Q
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    ( n& y3 c6 {8 x/ L" C8 K, u
  1478. ; http://php.net/session.cookie-lifetime
    & ^5 M  F8 d$ w. R5 T
  1479. session.cookie_lifetime = 0
    + i2 N6 [$ F* q# _

  1480. 9 q1 x: r$ n/ ?9 e# j& B; t# W
  1481. ; The path for which the cookie is valid.
    . R. l* o" o1 Q1 y5 f
  1482. ; http://php.net/session.cookie-path3 G# I! P% [- a+ R6 m
  1483. session.cookie_path = /# W8 q& v, ~0 J2 p

  1484. + v1 @- C# t/ v3 r. s
  1485. ; The domain for which the cookie is valid.0 Q- ?/ K/ z7 }/ E; S* J
  1486. ; http://php.net/session.cookie-domain
    ; Q4 q" l3 P5 W8 W8 U" O
  1487. session.cookie_domain =4 ^. c; _! O8 b1 d3 r

  1488. ; h; t' ^* _+ h& d9 N6 B/ B4 V# c
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    3 u; i. G# c+ b- c+ K5 _" o
  1490. ; http://php.net/session.cookie-httponly. @4 V: X6 x  \
  1491. session.cookie_httponly =
    . G6 H+ d: v( C+ F+ j. w' i/ Z
  1492. % x  w6 J' Q/ }
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP." v3 M( Z3 m' V. r
  1494. ; http://php.net/session.serialize-handler
    8 E% N. A4 |0 a' d. _
  1495. session.serialize_handler = php
    $ D0 [- d+ d+ Y2 f$ ?1 h# ^- |  A
  1496. ( {+ x- B; n& g7 \& r
  1497. ; Defines the probability that the 'garbage collection' process is started
    ' G9 x+ X4 N2 e  }
  1498. ; on every session initialization. The probability is calculated by using/ W! @5 c: a" g+ R8 Z1 k
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    ) H7 I0 d! ?: s5 Q- j
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    ( ^: g, q+ F/ Y# w
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    6 O, H) T! N- W& M$ K% n6 Q) ^* Y
  1502. ; the gc will run on any give request.
    ; {( P, @  }: l% y  O+ d- y: r
  1503. ; Default Value: 1$ }- R8 L/ ?) Y1 C
  1504. ; Development Value: 1: b$ i; J" C5 _& C
  1505. ; Production Value: 1& r4 y. ?' E- k& q
  1506. ; http://php.net/session.gc-probability! T6 n; }  g$ P
  1507. session.gc_probability = 1
    # O7 _7 _8 ?1 T& D  m
  1508. / p& X0 @4 s2 H! z: r
  1509. ; Defines the probability that the 'garbage collection' process is started on every# q( }& t3 X& v5 l! v% e, ]
  1510. ; session initialization. The probability is calculated by using the following equation:
    " A. h7 m0 P& n& O' `' j2 K
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and7 k7 F' v; a0 Q0 u. M
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    7 p  F- }9 e. Z4 ~. d4 P7 j% ~3 r
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance/ @4 g7 p3 i+ }. q2 p
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    * s: z9 c% R+ T9 H4 ^1 P5 j9 _
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    ( f! u. `/ i4 |3 `5 d8 K
  1516. ; this is a more efficient approach.
    0 P6 a$ Z" H/ w# P" J8 |* W1 E
  1517. ; Default Value: 1005 ]0 Q8 G1 \1 k
  1518. ; Development Value: 1000! I8 Q* F7 r. e
  1519. ; Production Value: 10009 @7 E1 e' y7 [
  1520. ; http://php.net/session.gc-divisor) U5 ^1 _! D: ]" ~4 E! D1 p9 x  j
  1521. session.gc_divisor = 1000# ~: T+ H! G4 D3 i8 t, F" G4 ]3 F+ H& r8 C
  1522. , \4 b0 G3 g9 t$ V' |
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and9 ~  `# P; P9 d0 s- ]+ p
  1524. ; cleaned up by the garbage collection process.
    / s5 g) X5 D  U! ~: o
  1525. ; http://php.net/session.gc-maxlifetime
    5 Q/ ~" H, D: ?) h. r+ E
  1526. session.gc_maxlifetime = 1440
    ! E$ G) T3 s0 Q; c+ ]9 g0 X) |
  1527. & T( i, U  Z/ z! Y
  1528. ; NOTE: If you are using the subdirectory option for storing session files& D9 y* l# F4 I# \! r
  1529. ;       (see session.save_path above), then garbage collection does *not*( f, C! k5 \- Y% ?% U$ y
  1530. ;       happen automatically.  You will need to do your own garbage5 k# E1 f/ w$ Y  V9 N/ b) ?
  1531. ;       collection through a shell script, cron entry, or some other method.
    7 D$ F- x4 r6 m6 u# d! b2 D
  1532. ;       For example, the following script would is the equivalent of
    " _3 g: G- K. v4 h4 ^
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):/ ]1 C5 O0 _2 v5 b' v9 p
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm, D4 N9 o  B$ x* T
  1535. 8 g9 A/ ~6 z9 y; ?  B+ t
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    , s2 G! I& e+ p' y
  1537. ; HTTP_REFERER has to contain this substring for the session to be" ~0 S3 V9 T: F% u9 f  x
  1538. ; considered as valid.
    + p9 e! g/ }6 E: L3 {9 A
  1539. ; http://php.net/session.referer-check4 G2 H& L6 h' e; x7 e# G7 P* _% @
  1540. session.referer_check =
    7 H: M1 H2 s% D( N7 i

  1541. + L3 G7 y( ~8 {: Y1 E- I0 U
  1542. ; How many bytes to read from the file.
    5 y4 h8 X& l9 U  V% Z
  1543. ; http://php.net/session.entropy-length
    5 G/ `7 O) }8 b/ t& A" i( e
  1544. ;session.entropy_length = 32# y& q+ w* y/ U) }4 Y

  1545. ) A5 S+ g/ G$ s$ {% h
  1546. ; Specified here to create the session id.. W  N7 P# j4 J+ O- j
  1547. ; http://php.net/session.entropy-file( q* M/ H5 E6 I. H5 [4 k
  1548. ; Defaults to /dev/urandom
    7 ?' S& l! U/ G8 J
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    / F, U) v1 k8 |; [
  1550. ; If neither are found at compile time, the default is no entropy file.  L& E; x6 R, y5 b9 s
  1551. ; On windows, setting the entropy_length setting will activate the3 D# T. V1 q) s5 A" r
  1552. ; Windows random source (using the CryptoAPI)$ h8 n4 O; H" ^1 k  h: M
  1553. ;session.entropy_file = /dev/urandom3 ?5 W4 i- k# l! k) b: f1 y3 O" M, y
  1554. # n4 N5 G7 c' n2 [; o: E! O# W2 E
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    2 Z7 v/ X7 h0 K" }! n! C, T3 e
  1556. ; or leave this empty to avoid sending anti-caching headers.
    / q+ a. U6 w6 t4 d* P6 T( j. ?
  1557. ; http://php.net/session.cache-limiter
    4 t9 t- d7 @, ^% D; W
  1558. session.cache_limiter = nocache
    0 O: ~# n7 ^- X3 {1 b* I
  1559. " ]+ T/ j! D) P4 N) K+ }* U
  1560. ; Document expires after n minutes.
    + |3 S1 o& G1 r9 w9 l0 r
  1561. ; http://php.net/session.cache-expire0 \$ s7 S, |% ]- l
  1562. session.cache_expire = 180& Z" p. W; A4 p, s# Z

  1563. 9 p2 r2 Z3 q' t! N, k+ @  o, P8 L
  1564. ; trans sid support is disabled by default.
    ! J8 M9 C) N% _+ T* \
  1565. ; Use of trans sid may risk your users' security.& A1 [; G- Q0 [3 a& s! G
  1566. ; Use this option with caution.! d* `6 B* H- z8 z; _. J- g; a
  1567. ; - User may send URL contains active session ID
    6 J+ {" n/ t1 k( i9 S& r! }# j
  1568. ;   to other person via. email/irc/etc.2 l! ]/ ?8 N/ T1 P
  1569. ; - URL that contains active session ID may be stored
    8 S7 J" S# U  N
  1570. ;   in publicly accessible computer.
    + r5 z: @4 O: W0 M
  1571. ; - User may access your site with the same session ID
    5 z) q* f8 w$ I& Q  c1 d6 `9 }
  1572. ;   always using URL stored in browser's history or bookmarks.
    1 s0 b7 ]: g# n  e
  1573. ; http://php.net/session.use-trans-sid/ {! x' r" m5 R1 Y, G& T
  1574. session.use_trans_sid = 09 k6 A$ C/ ^# g! {7 c$ E4 n
  1575. , _, e4 ]3 q# l" j; l) V
  1576. ; Select a hash function for use in generating session ids.: Y3 x$ v0 ?' l: I
  1577. ; Possible Values
    2 K. H( B; U$ A  B% H; X
  1578. ;   0  (MD5 128 bits)
    ( r* g# l6 \; P# A2 A/ u) J2 ]! L
  1579. ;   1  (SHA-1 160 bits)
    # P: @( P' x" |
  1580. ; This option may also be set to the name of any hash function supported by4 u% B) @& k# K8 ?% v
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()2 [* _; d* R- {
  1582. ; function.% F6 L7 z' _4 D3 x( C+ A% c
  1583. ; http://php.net/session.hash-function% h) k( |& h) C6 R3 @; Z
  1584. session.hash_function = 0
    % Q' _* _+ L7 X" c
  1585. $ F; v1 @2 ^% C# t& [% D+ @
  1586. ; Define how many bits are stored in each character when converting2 ~& A9 q, }6 y8 p' N$ @
  1587. ; the binary hash data to something readable.
    . X7 r  |+ j7 Z& C
  1588. ; Possible values:
    2 G1 g8 K7 Y& ]" D) E8 {
  1589. ;   4  (4 bits: 0-9, a-f)
      C" L2 d! A4 a: S
  1590. ;   5  (5 bits: 0-9, a-v)
    ; I8 Z) n" D5 W6 a; A* U
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    * N# ]) ]6 k# k: v. E# v. b( t6 w
  1592. ; Default Value: 4
    8 S5 t# u. F/ D
  1593. ; Development Value: 57 Z, Q5 w2 F: T- p: R3 s
  1594. ; Production Value: 5
    / X  K4 t4 S3 b: w9 g3 u6 |
  1595. ; http://php.net/session.hash-bits-per-character  }/ f+ m' i; B$ w
  1596. session.hash_bits_per_character = 5( E% v5 |6 D  b( i, A3 c- d  _

  1597. 9 ]) x" W$ B+ r( X& d
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    0 T- [- U5 P9 G5 G
  1599. ; form/fieldset are special; if you include them here, the rewriter will6 C% h# h. [4 C  i
  1600. ; add a hidden <input> field with the info which is otherwise appended* @+ C- y, t1 O( h$ P3 Z
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    + h0 l7 O2 N8 S9 Z
  1602. ; Note that all valid entries require a "=", even if no value follows.; l# \; K1 j4 t2 l3 Q0 Z
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    1 b5 R8 R$ f/ A& }% N, M
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    5 k' {  ]( r! a* L
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"1 u# i4 I0 W& m: }2 a% a" O/ e3 [
  1606. ; http://php.net/url-rewriter.tags
    9 P  a' W4 q  o7 t& z. N2 z' G6 K6 v7 b
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"1 i+ ?0 G* E8 t# H, r7 l$ I0 |
  1608. # `# B7 _3 }- z! ]. c/ h2 e
  1609. ; Enable upload progress tracking in $_SESSION
    2 {" |+ A1 d. y2 Y  c
  1610. ; Default Value: On( v% L2 R7 x2 `: t! d- [, I2 |
  1611. ; Development Value: On
      n5 b8 g& ?: ^  a
  1612. ; Production Value: On- }1 y- W" ]; K! G9 B! m$ X
  1613. ; http://php.net/session.upload-progress.enabled
    : l/ T" A  ]0 ^3 c. [: L' K1 s6 e
  1614. ;session.upload_progress.enabled = On
    + H5 W  J! n4 X/ A5 B
  1615. # y* q; f( ]' W* I! H
  1616. ; Cleanup the progress information as soon as all POST data has been read5 O3 _) N/ N* e0 f" z, Q
  1617. ; (i.e. upload completed).9 y1 \8 B( j# s( Z3 n. x3 D
  1618. ; Default Value: On; I6 E7 f, Z  Z) h, z) C
  1619. ; Development Value: On% M2 \/ e# P' G1 ]
  1620. ; Production Value: On
    ( Y' p' O5 `; Y
  1621. ; http://php.net/session.upload-progress.cleanup/ K' M0 Z8 p6 m" Y
  1622. ;session.upload_progress.cleanup = On
    9 J* B0 A+ @( @2 o0 m) U& b
  1623. ! T8 q( r5 ~; h
  1624. ; A prefix used for the upload progress key in $_SESSION6 g/ c) {( C8 h; |
  1625. ; Default Value: "upload_progress_"( I% m% B% B& }1 A" y4 A8 e7 S
  1626. ; Development Value: "upload_progress_"
    2 b6 v9 v. K3 k: L
  1627. ; Production Value: "upload_progress_"0 C' |* ?& R8 J# F! V
  1628. ; http://php.net/session.upload-progress.prefix; `1 d; m+ I3 S, i8 K5 O
  1629. ;session.upload_progress.prefix = "upload_progress_"; x4 J% a3 l  J5 a

  1630. 5 V2 ]" ^9 K0 A' S
  1631. ; The index name (concatenated with the prefix) in $_SESSION& u- x) n+ K6 X
  1632. ; containing the upload progress information2 v1 Y/ a4 t8 [
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"0 }  y6 p3 y3 r3 V6 t+ v
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    7 f+ A- g0 a9 R+ e
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"( ^# V% [0 u0 M+ o2 Y5 k
  1636. ; http://php.net/session.upload-progress.name
    ) y4 ^3 p# e! B: S" N
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    1 Z6 q& R" q4 O( J1 N
  1638. ' J2 }: h* U( a$ B9 j" ]5 v
  1639. ; How frequently the upload progress should be updated., Z* M! W$ o; Z. I7 w
  1640. ; Given either in percentages (per-file), or in bytes
    ! W8 S0 P8 w" d1 q
  1641. ; Default Value: "1%"& ]: }. t2 y+ e2 ]
  1642. ; Development Value: "1%", y  Q! B- {4 ], z
  1643. ; Production Value: "1%"2 a! o3 K+ v. E' @- m7 V  q/ x
  1644. ; http://php.net/session.upload-progress.freq
    1 R/ S4 i6 b( ~% R- W# Y+ P; E* R
  1645. ;session.upload_progress.freq =  "1%"
    0 M5 @6 i1 P* R; m, D0 b2 |9 G1 u' z
  1646. 6 e- O# E. w& i# J5 V
  1647. ; The minimum delay between updates, in seconds
    # ^/ s, a/ i9 j2 B7 `% _+ D
  1648. ; Default Value: 1
    6 f0 d, u9 w: \0 k9 y9 {% F7 m
  1649. ; Development Value: 16 p+ X6 R4 @* D8 B9 S6 F
  1650. ; Production Value: 1
    5 j. N9 c* P: ]( x+ L
  1651. ; http://php.net/session.upload-progress.min-freq
    ( |. a, r2 ]# Z& F, B4 t1 Q9 G
  1652. ;session.upload_progress.min_freq = "1"
    0 {" p' `0 l8 _* F: {8 o# p
  1653. 7 V. ^& Z% R' j2 y( F
  1654. [MSSQL]5 f, V/ L% O/ H1 v) |
  1655. ; Allow or prevent persistent links.) A7 q8 i+ j! x9 r; [2 Y1 ^
  1656. mssql.allow_persistent = On0 `! N2 V5 f% `+ \+ I! q& }3 s
  1657. + V7 L" |+ \9 ^6 N/ c
  1658. ; Maximum number of persistent links.  -1 means no limit.9 r8 c9 }& k- j3 a- v4 }
  1659. mssql.max_persistent = -16 Z, m* a; R' u
  1660. + Z4 |) r% s# W- l- t- T6 y7 `
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.3 M3 y4 o* C$ [: Q9 t5 |) [7 X' M" r
  1662. mssql.max_links = -1& M+ q- G( r0 }, \4 {
  1663. # _. f0 ^8 s) O- D7 A
  1664. ; Minimum error severity to display.. H5 z! t% s' Z& t- r5 v
  1665. mssql.min_error_severity = 10
    . Q1 i7 W/ R2 I

  1666. 7 v' i  Z. O! T: R
  1667. ; Minimum message severity to display.# i% n9 ?1 n+ K
  1668. mssql.min_message_severity = 10
    . U# R  a7 w$ w- e2 E

  1669. , H: z8 W& D( [3 E* Z
  1670. ; Compatibility mode with old versions of PHP 3.0.9 `2 W/ y  }$ j6 w5 X4 W7 Q
  1671. mssql.compatibility_mode = Off5 I5 J) t1 J+ {
  1672. 5 C. J& Z  E, f" n) @4 t0 q
  1673. ; Connect timeout$ ~; u) |3 b8 t6 l
  1674. ;mssql.connect_timeout = 5! c& Y1 w3 L! ~. H8 u
  1675. . \  d# W. D: i7 R+ L6 s
  1676. ; Query timeout
    + e( O; o# H; H" N: j
  1677. ;mssql.timeout = 606 e# v3 i9 C  M. Q3 {6 K+ I3 X6 _

  1678. ; U) l( ~% O. u, M
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    - ?4 m- [: P$ w6 @) @
  1680. ;mssql.textlimit = 40965 H9 [9 ?! {" |$ i) a" g; V- ]

  1681. 8 G9 X0 ?, X: q2 h
  1682. ; Valid range 0 - 2147483647.  Default = 4096.2 B' Z* ^& a) n: b( N
  1683. ;mssql.textsize = 4096
    1 I1 W5 F3 q% w& V( _! X: t

  1684. 0 L, d( O. _! b1 ~9 r- p9 |' ^
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    ' v8 ~  g2 n0 w$ E
  1686. ;mssql.batchsize = 0
    9 C# c# m" J+ \, S  c* N: t
  1687. ! [$ k+ K- b; C- T! E" u
  1688. ; Specify how datetime and datetim4 columns are returned( C) P! Z$ y7 |' t. K
  1689. ; On => Returns data converted to SQL server settings
    / ~0 W* H0 P  d' c- @
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss7 ?( n+ g' |% Y: L3 Y6 t
  1691. ;mssql.datetimeconvert = On
    - @7 m/ L! g# n- P  [4 F$ P
  1692. 6 T5 L. Q$ b, d7 K6 e
  1693. ; Use NT authentication when connecting to the server
    * G% V& M9 e9 k( \+ K
  1694. mssql.secure_connection = Off
    5 i3 U( z5 n! Z( k2 Z; J; \
  1695. ( u: {- z: i1 t
  1696. ; Specify max number of processes. -1 = library default
    # ?, N' N+ b6 H
  1697. ; msdlib defaults to 25
    " i0 u% B  x, t  D  b
  1698. ; FreeTDS defaults to 4096
    % e( W: `% j  o8 x
  1699. ;mssql.max_procs = -11 B6 q3 o2 L/ i" [: j

  1700. + u! i5 N. \' q% u5 w# a2 E" v
  1701. ; Specify client character set.
    1 R& z9 _$ o- ~# s& G3 v1 G9 i
  1702. ; If empty or not set the client charset from freetds.conf is used1 ?) v4 A6 Y/ i  d
  1703. ; This is only used when compiled with FreeTDS# R. `# U" i* {6 S/ W- [
  1704. ;mssql.charset = "ISO-8859-1"
    ! R' c2 \2 ]/ D

  1705. ( z$ W$ A( k  B5 v& D
  1706. [Assertion]% J3 k0 Z" v( P* u" a6 V, g
  1707. ; Assert(expr); active by default.
    1 w9 F4 t4 X4 E" Z) T! o; n
  1708. ; http://php.net/assert.active
    ) T3 }, n. |) |) o$ b
  1709. ;assert.active = On, o7 e* Y$ C$ |' j5 S$ L! |# s
  1710. $ ?7 H5 i4 C1 {, x% S4 a! J5 B
  1711. ; Issue a PHP warning for each failed assertion.
    - `" l% m* K6 F1 D2 q
  1712. ; http://php.net/assert.warning: w. u, w  I0 Q
  1713. ;assert.warning = On
    2 p6 ~1 [1 E8 P; {

  1714. 8 C, f  o/ E# s& A& b* L( j8 f
  1715. ; Don't bail out by default.
    0 ~1 [0 h" U: d  z! r0 i6 b, F
  1716. ; http://php.net/assert.bail
    ! Y7 P9 `9 S( _
  1717. ;assert.bail = Off
    , E1 w" @1 c. H, e  I+ [6 N5 D
  1718. 9 a: d( O1 O9 X3 m
  1719. ; User-function to be called if an assertion fails.
    * I/ S) l4 g% u; p% q7 I4 h7 n, I
  1720. ; http://php.net/assert.callback
    5 S! H; i: @$ T
  1721. ;assert.callback = 0
    ; M* z9 N! B6 n

  1722. " S. Y6 A2 B4 F- q% C  f
  1723. ; Eval the expression with current error_reporting().  Set to true if you want3 W0 T* Z& {' j3 v, t  d
  1724. ; error_reporting(0) around the eval().& H( H/ `7 }3 O3 ]3 |$ t/ _
  1725. ; http://php.net/assert.quiet-eval. U+ @' K, D& ]0 J3 {! h# ?3 ~. k
  1726. ;assert.quiet_eval = 0
    3 ~8 N' N9 }9 s$ v/ x1 r0 C
  1727. ) [* ~" V8 R8 P/ n! r' e& G: \
  1728. [COM]
    / e8 I) k, Z  v: |/ s% e6 D6 K
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs0 y! t6 N- f; _
  1730. ; http://php.net/com.typelib-file( S! o1 q- [6 A- a  i8 V
  1731. ;com.typelib_file =
    ' u/ n* H! P7 @) I, U
  1732. 2 z  i2 L4 q, l4 t9 v! m
  1733. ; allow Distributed-COM calls
    + M8 P9 O( D& R0 A$ V
  1734. ; http://php.net/com.allow-dcom
    / ^  W' j3 m/ ?8 _) @0 x
  1735. ;com.allow_dcom = true, i/ m  Y4 I" D0 d2 Z
  1736. ! g7 |% Y6 N' S. V+ l  g
  1737. ; autoregister constants of a components typlib on com_load()5 h; ~8 ]5 u* `5 L
  1738. ; http://php.net/com.autoregister-typelib! z7 o4 Y" v, }  V1 J6 O- c4 K
  1739. ;com.autoregister_typelib = true- u* ?/ ~* T5 _
  1740. ' H3 O7 p: k# C# l  r* z! W
  1741. ; register constants casesensitive
      _) v, {( [, o8 a3 ^% f' E9 z
  1742. ; http://php.net/com.autoregister-casesensitive' R* _. u1 m  [2 p' R
  1743. ;com.autoregister_casesensitive = false
    8 [+ t4 Y; T' B- s! v1 {

  1744. 3 ~5 ]  ]; |. `
  1745. ; show warnings on duplicate constant registrations
    5 @2 E6 w1 M* O; X+ P
  1746. ; http://php.net/com.autoregister-verbose
    4 ^/ o+ P6 l/ z3 D' r/ Z" G
  1747. ;com.autoregister_verbose = true# |5 u' }5 V& n$ u
  1748. % O  K! ?9 S: W
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    ) [% Z' q+ S- E% H
  1750. ; Default: system ANSI code page
    5 ]: u+ ?6 K  R! e. U+ _: d% r
  1751. ;com.code_page=0 q+ x7 C& I/ X. [0 T$ ^
  1752. 0 T1 O6 A5 H9 A7 u: \' a! U
  1753. [mbstring]
    7 Y( ~9 _2 i$ X) Z
  1754. ; language for internal character representation.9 J8 S& [3 w% M1 \) j" C1 Y% ^
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.' J+ Y1 ?5 O9 \
  1756. ; http://php.net/mbstring.language
    ; k- }9 t( |2 x1 A2 p4 j( E7 t
  1757. ;mbstring.language = Japanese
    , R, `+ E4 e7 Z, ^( S  z

  1758. ! }; l4 c% L' d3 c4 g2 X, b/ M
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    # E$ B$ o) T( J
  1760. ; internal/script encoding.
    1 A4 ]1 ?1 V7 A7 P
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    # D! ?3 r0 t, \, X( }
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ; U6 x3 |7 @5 d6 `- \* [  S- X
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    ( }: L8 N) H2 s/ O' r- `
  1764. ;mbstring.internal_encoding =( c3 h8 ]' Y! A6 b* a; o; v
  1765. ( Y% O/ U# H! F3 c: Z
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.! D; s* _: G2 W- K
  1767. ; http input encoding.: i$ [  I! H* _. I
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    % N" v6 q! Q1 J: ]2 m( B8 L1 g! R
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    / ?- k1 x! N) g9 {  g
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    3 e5 j: J0 w4 V; {
  1771. ; http://php.net/mbstring.http-input; {, |: p) A, t5 X
  1772. ;mbstring.http_input =# r5 {: i! y; M0 Q1 C$ f+ S" |
  1773. 3 }7 s4 d% z2 E, F5 V0 i/ r
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.9 `- A/ S2 i. A" y6 a' e
  1775. ; http output encoding.8 H# b$ L+ h5 m/ n
  1776. ; mb_output_handler must be registered as output buffer to function.
    & m" u5 g/ N% b; u: z+ b+ @
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    , g/ y, x. t' c' R8 E8 s' H
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output: e$ w% n3 `0 a5 s+ O
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    ) \4 j; U; X5 k/ K! v+ A' X' J1 K! V" W3 G
  1780. ; otherwise output encoding conversion cannot be performed.
    6 O" B- u0 s" L* n& d' ?  o+ t
  1781. ; http://php.net/mbstring.http-output) ?5 p: x5 x& T( p" E
  1782. ;mbstring.http_output =
    . e% c- }8 Z8 a+ L; P

  1783. # b0 d1 a; y/ L& U
  1784. ; enable automatic encoding translation according to
    ' U, X8 _8 B( J; F6 M6 d
  1785. ; mbstring.internal_encoding setting. Input chars are( h! p: ?/ t$ c! j+ c: B
  1786. ; converted to internal encoding by setting this to On.
    & E7 m% T0 K  H; M7 S1 B! W
  1787. ; Note: Do _not_ use automatic encoding translation for; D3 K' W0 |' L  X( ?: m- B
  1788. ;       portable libs/applications." T$ B. p% y  b
  1789. ; http://php.net/mbstring.encoding-translation$ M1 }, x4 d) E' [4 }" \" t9 l
  1790. ;mbstring.encoding_translation = Off0 a3 C+ T1 _! h& U

  1791. ; n; _* _  h/ U$ `) z5 n
  1792. ; automatic encoding detection order.
    : c) }" r1 o0 ~$ r0 I, t: f& |) c
  1793. ; "auto" detect order is changed according to mbstring.language
    7 d" i& `' b5 i3 |. K9 D( i
  1794. ; http://php.net/mbstring.detect-order
    * b5 g( q5 |4 v3 [) F
  1795. ;mbstring.detect_order = auto( Q' d0 h, k+ t
  1796. 3 n& {- R/ |, r
  1797. ; substitute_character used when character cannot be converted9 c% V( I5 t7 r. |6 o1 m- S
  1798. ; one from another- H1 d  S% t/ {
  1799. ; http://php.net/mbstring.substitute-character- j! [2 m  Z- b
  1800. ;mbstring.substitute_character = none+ ~# n& v, X* n

  1801. $ w5 S% N1 e' t) f1 O6 h5 _
  1802. ; overload(replace) single byte functions by mbstring functions.
    % O) `/ `/ M2 x& K; O" I$ V
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),. R5 D! E9 D, P( t9 d
  1804. ; etc. Possible values are 0,1,2,4 or combination of them./ `8 T' _- f+ Z" J8 d! F
  1805. ; For example, 7 for overload everything.# L+ V5 U( c2 B- a' a6 ?
  1806. ; 0: No overload
    7 K; D! E$ ^, X/ e$ o
  1807. ; 1: Overload mail() function) D$ O9 Z0 w! M( ?# d
  1808. ; 2: Overload str*() functions
    4 d- D/ `- U/ ^$ |+ N2 \; R. e* t
  1809. ; 4: Overload ereg*() functions3 T/ L" |1 q$ f4 u' ?9 s
  1810. ; http://php.net/mbstring.func-overload! I( R3 y0 X0 J# z3 ?; ?; I0 D, z
  1811. ;mbstring.func_overload = 0
    3 @$ \1 b8 E% @1 `( Y% a

  1812. 8 F8 R3 o$ k* ^8 s$ ]9 z* Q* ^+ x
  1813. ; enable strict encoding detection.4 }. t# C+ K3 A6 }! _
  1814. ; Default: Off
    ' r" e& R. C) x% O; i6 ]
  1815. ;mbstring.strict_detection = On
    5 b! _" k( Y) E) X9 D

  1816. 5 }) R# Z1 s$ w" Y
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler(), G! r7 n( i8 n" w$ A* t% U' f0 `
  1818. ; is activated.) |* @! y! h$ t" T/ @
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    1 [4 ?. K) n' N4 z
  1820. ;mbstring.http_output_conv_mimetype=3 m8 \4 S2 m8 J% |& X1 l$ h" ^9 C
  1821. 1 \' d5 V1 D" ?& f7 e  W
  1822. [gd]
    ' q9 n: w* H5 ?
  1823. ; Tell the jpeg decode to ignore warnings and try to create* g1 N5 O8 {8 H3 D
  1824. ; a gd image. The warning will then be displayed as notices2 F8 ^9 \# @0 x$ v
  1825. ; disabled by default- i( W- x# U6 ]; C. x# I
  1826. ; http://php.net/gd.jpeg-ignore-warning4 ~- R; d! b4 S6 R* a1 M
  1827. ;gd.jpeg_ignore_warning = 0/ M: m7 g# a. S2 I8 g1 a& U
  1828. . w6 r3 k" L7 }* Q! C
  1829. [exif]0 Q5 Q1 r; a; _4 D
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    ! D  s$ F# I( F
  1831. ; With mbstring support this will automatically be converted into the encoding! l& [6 a) H) X" Y1 a
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    ! a0 F: \* r8 Z( z
  1833. ; is used. For the decode settings you can distinguish between motorola and6 K) J; @/ c2 ?8 v
  1834. ; intel byte order. A decode setting cannot be empty.' X. d4 C+ {8 X0 N  n' z
  1835. ; http://php.net/exif.encode-unicode
    : \' D$ Y; B  X& J
  1836. ;exif.encode_unicode = ISO-8859-153 a+ `+ N: ^9 g8 n3 \

  1837. 9 ~8 ~- w/ B3 @2 `; |; H' R, ^9 ~
  1838. ; http://php.net/exif.decode-unicode-motorola
    ( P& ~; Z* e( [% ^  z% u
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    3 U  ~3 u* x4 Y0 [% S1 ]

  1840. , ^! F. s0 X5 y2 E
  1841. ; http://php.net/exif.decode-unicode-intel1 J+ x) H2 Y! X# p2 i2 F
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    1 K. e) A! W3 f! s4 @0 U

  1843. $ I' g: P) l6 [0 k* @! O
  1844. ; http://php.net/exif.encode-jis
    3 x3 Q! n9 Z: N! J2 [
  1845. ;exif.encode_jis =
    " X  w/ u6 L% K% x% h

  1846. ( K) [: f2 M2 R
  1847. ; http://php.net/exif.decode-jis-motorola
    - t1 C  ~2 N- c
  1848. ;exif.decode_jis_motorola = JIS
    0 W$ u! G8 h6 t! |8 `: V
  1849. 4 O) v2 i+ ?1 J) h. d  H
  1850. ; http://php.net/exif.decode-jis-intel9 ]8 N+ r$ _, P$ p
  1851. ;exif.decode_jis_intel    = JIS
    8 s& o0 w/ ^; f6 Z

  1852. 8 j6 Q( q1 W& v/ }
  1853. [Tidy]+ [# g+ {6 C! `- z0 j( R; k8 N
  1854. ; The path to a default tidy configuration file to use when using tidy9 t* A! y( q- L. B: T  j; Z5 d
  1855. ; http://php.net/tidy.default-config
    # M3 s6 c% e' E  X6 }
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg) x/ A# ^7 c$ @* H- V5 ]

  1857. , |; b  E" g5 B  v, h8 S8 O2 j( j
  1858. ; Should tidy clean and repair output automatically?  b& ~% N# k+ w2 j2 D" |
  1859. ; WARNING: Do not use this option if you are generating non-html content! Z& ?9 V6 `' @
  1860. ; such as dynamic images
    + Q5 L1 T& t% g* Q' t
  1861. ; http://php.net/tidy.clean-output
    9 j" b; b, v% R$ l& w
  1862. tidy.clean_output = Off
    , h4 h8 w9 m  R7 m1 q
  1863. - ~# F' }" t1 y$ K. g
  1864. [soap]$ y4 P# o  m! @: ~+ C" U' y
  1865. ; Enables or disables WSDL caching feature.  X+ P4 N5 X5 }* b- T; j& V% _
  1866. ; http://php.net/soap.wsdl-cache-enabled
      H! D5 d! s: x0 f
  1867. soap.wsdl_cache_enabled=19 Y1 Z2 v0 Q% x" Y, v( t
  1868. + R& a+ c! Q" r
  1869. ; Sets the directory name where SOAP extension will put cache files.
    9 O' [6 e, _  W( A
  1870. ; http://php.net/soap.wsdl-cache-dir, Y" @5 X9 N! a# \  L9 V
  1871. soap.wsdl_cache_dir="/tmp": e+ L0 O8 G* N: B& Z  k1 a
  1872. 6 j: m1 T+ Y0 d1 p3 S4 s5 _
  1873. ; (time to live) Sets the number of second while cached file will be used  ^4 T/ G# {* f6 M% P
  1874. ; instead of original one.
    - t' W; _8 p% ^+ @
  1875. ; http://php.net/soap.wsdl-cache-ttl
    ( h, U/ ], f; N5 D
  1876. soap.wsdl_cache_ttl=86400
    2 T/ ^0 y! A! x. \  f, u4 m4 S

  1877. 2 S2 \; ]* U3 x% T0 Q# o* E& E' ^
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)( G) S  J" t6 h8 r; X
  1879. soap.wsdl_cache_limit = 5
      N* R/ F+ _$ W

  1880. + J0 L+ ~; d/ }/ L* p
  1881. [sysvshm]
    5 [% z1 B$ N. U7 Q
  1882. ; A default size of the shared memory segment
    $ ~: F4 t5 ^8 w1 I7 x  H
  1883. ;sysvshm.init_mem = 100001 C0 Z4 A) d* ^5 d+ T
  1884. 2 y, w6 H! J  o: ?& F4 ~. F
  1885. [ldap]: V8 d2 v3 m4 X
  1886. ; Sets the maximum number of open links or -1 for unlimited.9 u! q; Z/ a( c+ T& p% _
  1887. ldap.max_links = -1
    4 V& D, ?3 F4 p* h, W5 z% Y3 @
  1888. & R$ x$ W. I) X4 y! V& r: u
  1889. [mcrypt]: z4 o9 ^% ]3 J6 z, w0 M
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    ( F: h% ]8 N" y7 k6 l
  1891. ) J9 m+ u9 F; Y5 f& |' J
  1892. ; Directory where to load mcrypt algorithms! J+ U7 |. \0 n& q6 n+ R5 j: \
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)- L5 S, C1 L  u/ m6 x5 G
  1894. ;mcrypt.algorithms_dir=
    : b1 [0 M7 B3 {0 h5 I
  1895. 8 V0 d/ @* `) q$ ?8 }/ y% n8 _
  1896. ; Directory where to load mcrypt modes
    # D5 ]' |7 R& [3 F
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)  ~: r( N5 L0 e
  1898. ;mcrypt.modes_dir=2 P0 ?) `7 K; \+ k

  1899. . H  y, \7 g6 n/ K
  1900. [dba]
    - W* q* H2 j0 d7 P2 `6 p7 k
  1901. ;dba.default_handler=5 Q+ J8 l! M: l" J; [7 D

  1902. " n6 S6 W, V+ k! g  s) Z
  1903. [opcache]: m* t$ ^! _9 A
  1904. ; Determines if Zend OPCache is enabled4 z( a7 M2 R8 R' k, [
  1905. ;opcache.enable=0# w- r% X4 G8 s1 h* @3 d5 A
  1906. $ u+ R3 E" W9 R' J
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
      u) M; b0 \3 O4 \0 g
  1908. ;opcache.enable_cli=0. u5 ]) t1 Z8 |4 t2 s, C: h

  1909. . j% ~4 e& o  s8 n  [0 q
  1910. ; The OPcache shared memory storage size.
    2 u+ l" x) f7 z
  1911. ;opcache.memory_consumption=64" d% `& R4 f) K; o3 @9 v2 `

  1912. ; |5 R4 W" D; A) i# v  P  _
  1913. ; The amount of memory for interned strings in Mbytes.
    : Y1 _: m4 b5 d3 Y- v! }
  1914. ;opcache.interned_strings_buffer=4
    ! S4 V8 T$ m8 |/ W& [

  1915.   |6 l3 E( g/ p. t  f5 k
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.3 g( j  m. ?5 C  f) b  q2 C
  1917. ; Only numbers between 200 and 100000 are allowed.+ P/ Y/ M+ ~. X; o" u
  1918. ;opcache.max_accelerated_files=20009 }) j% \- P3 I9 y7 ^

  1919. 3 g4 `* O: |' \
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    5 K$ ^. `& h2 a% F/ I- b
  1921. ;opcache.max_wasted_percentage=51 r" m. F/ M  k- s* X1 Q+ G
  1922. ) K% Z( `9 w/ [& |! B% r/ c2 G
  1923. ; When this directive is enabled, the OPcache appends the current working* U4 t! @$ O: O6 M+ `
  1924. ; directory to the script key, thus eliminating possible collisions between6 v0 m3 g& E$ G( Q7 \) t  \. H9 i
  1925. ; files with the same name (basename). Disabling the directive improves
    : ^( j. J9 |  Z
  1926. ; performance, but may break existing applications.
    ; y/ y# a- I# o6 O/ w' U
  1927. ;opcache.use_cwd=1; z* U4 e+ F  u* E7 t: k' P

  1928. ( A  r1 c8 S( P1 ]2 D! t
  1929. ; When disabled, you must reset the OPcache manually or restart the! b6 l% J/ o, n  L7 P/ ]7 T2 f
  1930. ; webserver for changes to the filesystem to take effect.5 R4 j! T' a. y$ [4 c1 ^
  1931. ;opcache.validate_timestamps=1
    6 ]- a$ z" q8 H, A7 D( U

  1932. ' g* P! G  K* e% m7 G' v
  1933. ; How often (in seconds) to check file timestamps for changes to the shared; T9 R" v; L& R/ V
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    ' c: f3 c9 ~) R, H3 w+ Z9 ?
  1935. ; once per request. "0" means always validate)
    - t& P( E. d) v! h' y
  1936. ;opcache.revalidate_freq=2& p# g. w& j7 k+ E

  1937. - }( ?; T; ^) H6 Y7 X
  1938. ; Enables or disables file search in include_path optimization) O+ V  }' U8 J$ m( L
  1939. ;opcache.revalidate_path=0
    ! C0 z* d5 g6 a, u

  1940. . o8 j) E) O0 U; w5 i6 d
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    0 b* ?+ }3 H- [1 o: u7 _& x% D
  1942. ; size of the optimized code.+ B. a, o9 z1 q* \1 W" t# f* m
  1943. ;opcache.save_comments=1! F1 l( B( s' R9 m! P+ s4 m

  1944. ) l+ q" O4 N/ x8 i
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    & u) \  a* m) M3 l5 ]9 ^
  1946. ; may be always stored (save_comments=1), but not loaded by applications: W: |, y9 R% i$ R9 y
  1947. ; that don't need them anyway.0 X8 p* W$ k+ d7 V* d1 R2 t
  1948. ;opcache.load_comments=1. u9 e. q' ~+ d2 g! V
  1949. ) d  \' V; ?! j' L
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    5 \" N- W/ q6 A* S; d
  1951. ;opcache.fast_shutdown=0
    % j) S3 [' g' U7 G
  1952. 4 [! r% }0 I" V( S# q7 y+ A& {
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    : A, a# F  ^- _: `6 W
  1954. ;opcache.enable_file_override=0
    7 K# ]' U6 ?6 |) F$ {9 d0 D

  1955. % h% K3 N  z2 x1 h6 D* t
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    ; o7 l# n/ G7 b3 ^
  1957. ; passes
    ' e' ]+ g' \% C: I, y) `
  1958. ;opcache.optimization_level=0xffffffff! J6 z' Y2 ^2 k: N
  1959. + C" j' p. k6 t1 l, `( V
  1960. ;opcache.inherited_hack=1
    : B) E/ D( v7 H
  1961. ;opcache.dups_fix=0
    5 _! t, \( Q  ~
  1962. ) z% z4 b6 X" L
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    % @1 c9 L+ i2 S. ?1 q, l
  1964. ; Each OPcache blacklist file is a text file that holds the names of files+ j( {8 W3 m  T, T, ^! J- L
  1965. ; that should not be accelerated. The file format is to add each filename
    6 C! l+ A: n6 ]- J5 _
  1966. ; to a new line. The filename may be a full path or just a file prefix+ Q- i/ U* y- f/ s# t1 ~! O! [
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    " W9 r) ]/ e( a/ O6 M' Y) m+ F- f) s" R
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    2 F% t  R7 {0 z8 {  h+ ^5 r, d9 l
  1969. ;opcache.blacklist_filename=) ]5 I8 c0 B7 Z
  1970. 9 r, q1 L- D5 }3 g7 i
  1971. ; Allows exclusion of large files from being cached. By default all files
    " U+ e% L' e/ u: P  O
  1972. ; are cached.8 \4 T7 G" ~( K# M+ Z
  1973. ;opcache.max_file_size=08 E9 U2 m  G8 ^$ l2 Z

  1974. 2 I$ n) O0 J8 |; N
  1975. ; Check the cache checksum each N requests.0 F) {- l+ c; a
  1976. ; The default value of "0" means that the checks are disabled.3 O8 C3 _  e# @) v3 V
  1977. ;opcache.consistency_checks=0) B. A4 u- I% o/ @8 L

  1978. + L2 n$ z9 ~/ w# ]
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache, ?3 D, a$ |5 C- X8 h3 B
  1980. ; is not being accessed.4 V- J7 d" ]$ P1 x2 ?4 O. R1 ^
  1981. ;opcache.force_restart_timeout=1806 J  j/ h" Y4 y" n$ V& N0 K) n, [/ m

  1982. " x" ?' u7 @5 c* I, j
  1983. ; OPcache error_log file name. Empty string assumes "stderr".5 `; b. _) n: K
  1984. ;opcache.error_log=
    1 U. A. `# H* M" ?) c' c  B) h

  1985. ; J' Y3 I1 N! l
  1986. ; All OPcache errors go to the Web server log.* ^5 i* ?& M, d
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    1 @' D* w3 [6 [' x9 K8 G
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    ; u& k* x4 L9 U
  1989. ; debug messages (level 4)., J. N6 C7 B8 h- u3 Z9 b
  1990. ;opcache.log_verbosity_level=1
    ) H  B: o8 f; n" q3 |+ H0 z) I# B

  1991. ( @( C: V+ m% A. e- ]; T* A: f( r6 ]% S% y
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.* j  |% N7 ^. D. S# s
  1993. ;opcache.preferred_memory_model=
    6 @2 l7 U' U& s0 H: |

  1994.   {; A, ^4 y/ C1 Q
  1995. ; Protect the shared memory from unexpected writing during script execution.! S: A0 F4 J6 S
  1996. ; Useful for internal debugging only.
    # m- `' L0 g/ L
  1997. ;opcache.protect_memory=0( C/ _! x# ]/ T. m
  1998. 7 x8 J. i9 W2 h
  1999. ; Validate cached file permissions.! Q* @4 Z! P$ V( ^* ^  Q+ R, p
  2000. ; opcache.validate_permission=0
    $ X7 T( s* Z+ t( O5 E
  2001. ' @; d0 _7 _1 s6 o# n2 j% }
  2002. ; Prevent name collisions in chroot'ed environment.2 X. p5 N$ a3 N
  2003. ; opcache.validate_root=07 D4 h. v* `  v/ B- H. E

  2004. ) ]3 [0 P# u0 B, C# w: q
  2005. [curl]6 ]" j+ M3 C! w0 f
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    / w; W0 w- I' Z
  2007. ; absolute path.
    - H7 O) e/ Q0 o/ x
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt# J  Z$ \  P, H' r3 O
  2009. 5 w% G# Z5 T1 B! F1 [) J9 m1 m
  2010. [openssl]7 Q8 s. F5 _: x' M6 k
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    8 r9 Q; Y( C: E1 F" y* z' l$ n1 z8 R
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should6 A; y7 a: ~9 r3 p
  2013. ; not specify a value for this directive as PHP will attempt to use the7 P1 l' E3 Z% d: v, ]- d
  2014. ; OS-managed cert stores in its absence. If specified, this value may still+ d5 a1 J. Z; ?$ l
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    6 Q6 P/ [/ d% w# M# a  B! b# \( d5 F
  2016. ; option.! |; U0 R; U/ s6 }
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    8 N% w% \& |) Q3 t* a& |
  2018. # @: M, a' G' {) z' L
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the1 f9 R3 K  u+ M0 V; l
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    : A3 C# v" H# @; i5 y  M( V2 F
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    $ O& W- S/ E, w) t2 k
  2022. ; Most users should not specify a value for this directive as PHP will
    4 Q( B: B& Z, [9 f1 W' b7 U; K8 {6 v
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    5 F3 {) v" @: W4 N3 r/ H% p
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    ( S$ V( w5 B  [- m( g- u2 }) m6 W& b
  2025. ; SSL stream context option.
    % Q% P% f) P* I8 p: p% o; I8 U+ F8 X0 y
  2026. ;openssl.capath=
    7 y0 u" }9 E4 `
  2027. 6 y& Y/ w0 K0 y) m. H3 p
  2028. ; Local Variables:
      h+ q: r4 n' C" u; b0 V: l4 b
  2029. ; tab-width: 42 e: f  V* z# R9 o: c% a+ t
  2030. ; End:
    0 l2 J' s: z9 p/ |. A9 C/ ]
  2031. . ?4 @4 I6 g& ]1 }! R
  2032. ;eaccelerator% O  ]# O; i, E  Y3 T& B5 P

  2033. 2 h" \2 I; X( B/ _1 p+ \
  2034. ;ionCube
    ' i  c# a8 j) Y+ `- k
  2035. / p9 m& h3 S6 [5 d% X' M4 C
  2036. ;opcache8 Y8 r& ^4 a  }* s$ c9 i! S
  2037. 3 g* n) K: i! u! L# Y' F
  2038. [Zend ZendGuard Loader]7 e7 h8 m& G9 ]2 x; x
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so& O/ A* S# n4 ^( o& }
  2040. zend_loader.enable=18 N! B2 G2 V7 Y8 @+ C6 @) E5 |
  2041. zend_loader.disable_licensing=0
    $ q- I# `. K: g  W7 i% \, }
  2042. zend_loader.obfuscation_level_support=3; H. _' L  E* `5 S  w# ~
  2043. zend_loader.license_path=! |6 X! l- s# h0 K. P3 _! s
  2044. " w- c4 Q0 r8 \5 F6 I) I
  2045. ;xcache' K) m, E% @$ e& V( R. a/ c5 ^
  2046. " L% X, @! q, w7 [
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
* q3 ^# L1 _  j: e6 D  K( u/ N0 H
1 K, y/ [5 {+ L- x* O- E  S3 N+ ?
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
2 |+ h& w; @( D& M
1 ^4 [5 _; F& l  nDiscuz!程序版本选择:9 M! n! e% E% }5 M, W9 q4 q
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
6 j; d  }) ]! a# M# _不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:% N! `# w8 r* q# c$ b1 R# Z
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。% ]; q( D% A. S) @+ ]
9 A) F8 `7 I; B. h9 H( f" e/ G
Discuz!插件模板版本选择:
$ S! r/ A1 q( m% G! J/ z  k很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,$ A: t  M1 l, X  d7 V
针对这个问题做个统一的普及:/ ?+ B7 w6 r6 v0 X- B
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。' {7 o5 o* C1 g$ u' V5 \

  ?0 e  t. I1 F, k8 u, b所以# s* W0 \, ^2 R% y$ u
适合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的二级域名。, L; U0 n1 F0 L. ?
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
( J5 n" B0 B$ k" E' l8 `注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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