分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.09 Z% ~8 N4 J$ r( A) p

1 d! T# \& e, u
  1. [PHP]" C, b/ v6 C% [1 N& H6 \, t
  2. * c0 N9 ]# ?- J  @9 o
  3. ;;;;;;;;;;;;;;;;;;;( K: |1 F: h2 {4 s; [
  4. ; About php.ini   ;1 K8 j. E! ?, s" j
  5. ;;;;;;;;;;;;;;;;;;;5 @6 z6 k! S& |
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    ; X2 v* n" H7 B  a. Y/ K) d0 h
  7. ; configuring many of the aspects of PHP's behavior.
    6 U* G0 @: c( B& }

  8. 9 i/ ^, L( H6 \! B5 T+ R1 \: n
  9. ; PHP attempts to find and load this configuration from a number of locations.
    $ {) J& g  z% o
  10. ; The following is a summary of its search order:
    # W$ M5 q& W# Q1 p- \. S% k
  11. ; 1. SAPI module specific location.8 T, n5 n  n3 p
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)* q5 a& @9 o; E! S- |" y1 f- p
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)' M, P8 Q' `6 I: e/ u
  14. ; 4. Current working directory (except CLI)
    8 \! i& I  Z3 ^% ]' {
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP( Z7 f( w" q5 q
  16. ; (otherwise in Windows)
    1 h1 F( N8 h2 C. Q# T# x  h- ~
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
      ]% P1 b# }0 N! v0 G4 [
  18. ; Windows directory (C:\windows or C:\winnt)( Z  S5 z& ?) L3 v+ A) q3 A
  19. ; See the PHP docs for more specific information.! F$ y# v' S. z, m& Y$ o8 _
  20. ; http://php.net/configuration.file
    $ `9 e2 L6 e1 }$ O0 ]
  21. " i# Z  F1 h' n
  22. ; The syntax of the file is extremely simple.  Whitespace and lines: j* N3 ?# y: R
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).# k6 E- x4 E2 {# X% B2 W& c# z
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    # A5 A* y; B# f& K3 C' E' V; N/ j
  25. ; they might mean something in the future.
    ( |0 b' s4 ^/ T9 ]& W9 t9 ]

  26. 2 a$ G, O! S8 U
  27. ; Directives following the section heading [PATH=/www/mysite] only
    ! Y" V  S* D$ w! E- o- A" [
  28. ; apply to PHP files in the /www/mysite directory.  Directives) V. Q/ p9 c" a; L, u: I
  29. ; following the section heading [HOST=www.example.com] only apply to
    ( o! G5 S+ `3 P/ A9 r& s: R
  30. ; PHP files served from www.example.com.  Directives set in these5 q0 a& o  v1 s7 x
  31. ; special sections cannot be overridden by user-defined INI files or
    : w+ T/ c4 F, l- N6 d, b* }
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under, V4 O  {9 ]  d) b5 Y3 w
  33. ; CGI/FastCGI., j) ?! x" K. @
  34. ; http://php.net/ini.sections
    4 [( d  K9 x! u& S  A' E

  35. 8 i- ~6 [# K" M
  36. ; Directives are specified using the following syntax:5 W- N5 t& }4 R+ o2 n; p9 Q! G
  37. ; directive = value( d0 m+ y. z" B
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    % L2 ^5 g7 [7 a7 K
  39. ; Directives are variables used to configure PHP or PHP extensions.
    & `8 \. k8 [" V( P/ z% p
  40. ; There is no name validation.  If PHP can't find an expected8 Q! c. C# s1 i# v" ]7 u6 a
  41. ; directive because it is not set or is mistyped, a default value will be used." [, T0 q) h& `2 L; T# n
  42. ! y0 G! F% d2 E9 I/ ~4 w. Z. l
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    . A- I" l6 e9 k6 o' v* e
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    3 l1 H( e0 ~8 b! \% e+ e, q$ S
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a' z0 ~3 v4 i. z5 d: I" a$ S
  46. ; previously set variable or directive (e.g. ${foo})
    , g$ L4 }/ t0 P- Z; {6 d& G

  47.   z. p% E3 n& j, h5 l) t- b1 t) x7 q
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:  R1 h- s" [: j5 D* x8 X& l7 h
  49. ; |  bitwise OR
    ( D; T. R# u% b: D. O
  50. ; ^  bitwise XOR* a! P) g8 K+ D: f1 P
  51. ; &  bitwise AND" Q/ g: L8 s% H, j5 k+ U
  52. ; ~  bitwise NOT
    0 {/ E8 l- d* M5 S% U0 h
  53. ; !  boolean NOT
    . U3 D5 A# E; h2 I- D# G
  54. ! c. s9 p9 Y7 a8 ^, J6 ^# A+ x* h
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.) Y  F$ ]8 R& M& ?6 [
  56. ; They can be turned off using the values 0, Off, False or No.
    $ K* H2 T- |; o. |/ m) x

  57. # _9 r0 d# q: ^8 Z7 D
  58. ; An empty string can be denoted by simply not writing anything after the equal, m+ V$ p, [. y
  59. ; sign, or by using the None keyword:
    ) c2 w9 ^$ G  L
  60. - {$ t" O+ z* D& y' S  e- y7 s
  61. ;  foo =         ; sets foo to an empty string
    * K% V  y$ f0 |
  62. ;  foo = None    ; sets foo to an empty string
    : ~0 ]0 e+ r' }& }- H
  63. ;  foo = "None"  ; sets foo to the string 'None': V' k& O9 O" K$ F0 i
  64. 6 f" T2 Y3 L: }- C4 h& O
  65. ; If you use constants in your value, and these constants belong to a4 d0 k& e! f% t- T. g8 h/ H
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),% @' z) H, y2 g" }/ v: t
  67. ; you may only use these constants *after* the line that loads the extension.
      [. O$ ?! B2 O% {: b

  68. . l- P7 f/ h  ^  ]7 Q( f3 {* p
  69. ;;;;;;;;;;;;;;;;;;;
      G* S9 i9 |( L) C4 D
  70. ; About this file ;4 e. l; o$ Q: z% N+ S2 {1 z
  71. ;;;;;;;;;;;;;;;;;;;9 O9 H6 g5 F: H9 ?0 S. N
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    ) w# z8 `& v& d* e
  73. ; in production environments and one that is recommended to be used in
    8 q$ u1 h  Q- q% Y% s7 A, Q) [, G
  74. ; development environments.) L$ }! B7 S! A* @, T' `( d

  75. 6 ^+ X7 D3 x! ^5 ]. C) B, l
  76. ; php.ini-production contains settings which hold security, performance and
    ) B$ [% {& n4 z/ M
  77. ; best practices at its core. But please be aware, these settings may break; l- A- F' o+ H! r% P$ s, ~; n
  78. ; compatibility with older or less security conscience applications. We
    5 x) @% l3 v2 |( m
  79. ; recommending using the production ini in production and testing environments.0 b' z/ f1 I8 D( a% a& ?7 J5 ?

  80. 6 g1 o! p& f$ M  s
  81. ; php.ini-development is very similar to its production variant, except it is
    3 Q+ L, a. |" C  d6 A$ \# X
  82. ; much more verbose when it comes to errors. We recommend using the8 u5 v- W) y5 {, `  P
  83. ; development version only in development environments, as errors shown to
    ' k6 u/ P1 u9 e$ }- x$ T
  84. ; application users can inadvertently leak otherwise secure information.
    : Y2 f+ n" e! p. `4 L

  85. 8 p+ ?) d3 m/ [
  86. ; This is php.ini-production INI file.( C9 o& ^7 s/ b& [
  87. 4 C% j4 N  r5 t5 `
  88. ;;;;;;;;;;;;;;;;;;;
    - `/ N+ X/ u; F/ u8 U2 q- h
  89. ; Quick Reference ;
    5 m$ M% f% ~1 H  |" @9 r0 [9 |
  90. ;;;;;;;;;;;;;;;;;;;
    ' n  u" z! N8 O( f. w% h( b
  91. ; The following are all the settings which are different in either the production
    # s+ Y. K- I4 i& K
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    ! h; K6 U. B' R& V5 ?, j
  93. ; Please see the actual settings later in the document for more details as to why
    5 S# ^8 `; A! V) ?$ z! b1 v
  94. ; we recommend these changes in PHP's behavior.
    4 l7 A6 o0 b, p$ O6 B& R

  95. ' b/ p% z9 W; {; _0 s8 f  ^0 z
  96. ; display_errors* p( M1 v+ ~/ E# h0 [2 Q
  97. ;   Default Value: On
    ( E& {' ]5 d' W5 S0 Z% G2 u
  98. ;   Development Value: On4 O& P1 H9 b* \: N
  99. ;   Production Value: Off2 v& A) r9 \$ U' N" p

  100. 0 y% M& S8 e- D! e0 O8 d7 p/ I. n2 Q
  101. ; display_startup_errors* @) ^% S; C2 f( E9 }+ u
  102. ;   Default Value: Off9 F' Y! k  m7 q, R4 I. O8 n* H
  103. ;   Development Value: On- b# v% K9 U5 N! c* k$ a, J
  104. ;   Production Value: Off, b1 I7 [$ D3 e6 \" e$ n+ g/ }: Y, \- j
  105. . j7 t% r, f' b5 }* r' m4 h7 q7 b  h+ `
  106. ; error_reporting
    6 V8 I$ F# G! U8 l
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    # ]) D$ z5 ~2 _: W* L
  108. ;   Development Value: E_ALL; L8 Z) G( C/ O
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    / P5 q* c3 T; x6 f& H

  110. + Y; K0 X- H  c" I' V
  111. ; html_errors
    ( g) b1 p+ j- W  q2 h% U0 {: Y' {
  112. ;   Default Value: On
    0 a( [# a7 M/ e
  113. ;   Development Value: On: |$ Z; E6 |" E. D
  114. ;   Production value: On
    2 a8 }& X% |# A8 x

  115. ) s' `" ~) S' A1 @6 w
  116. ; log_errors, p3 P+ B* n) V) ?" V3 o
  117. ;   Default Value: Off
    7 o+ x& j6 c& o/ d# _$ ^
  118. ;   Development Value: On
    - x2 r/ T9 ^* _* n0 A$ d3 O
  119. ;   Production Value: On
    5 z9 Y5 f4 e5 u2 s, C
  120. & Z4 ^, q6 w$ o/ q* n, K8 l
  121. ; max_input_time
    0 }/ l/ u& D0 I0 Z% k0 O  z
  122. ;   Default Value: -1 (Unlimited)( }) W6 u, e& j$ g5 a
  123. ;   Development Value: 60 (60 seconds)
    ) b; u* q; T7 `6 n- v$ [7 Q
  124. ;   Production Value: 60 (60 seconds)0 }9 X* w# c8 T! T8 M, v4 y
  125. + a# h2 A4 r! f; Y
  126. ; output_buffering
    ) U  {; R' [) G* S! E" ~/ R
  127. ;   Default Value: Off
    : W1 c$ h: E6 c4 a: Q
  128. ;   Development Value: 4096
    % z0 ]" R5 ~  d3 j. J5 m' s
  129. ;   Production Value: 4096
    % P0 Q: i% d% @& w

  130. 7 A2 D2 v( N" X! Y, _, ^3 K
  131. ; register_argc_argv
    ) ^* Y1 ?* ]3 Z$ Z2 L, q
  132. ;   Default Value: On
    + l; `, v8 U, D
  133. ;   Development Value: Off: V( P/ j. b3 X& J
  134. ;   Production Value: Off
    ; Q3 G0 A% j* j

  135. ! Y7 k( j  u3 y* o
  136. ; request_order
    9 G) }- q; b% l& U, x: o
  137. ;   Default Value: None
    ) t6 ^2 H) I* H0 g$ }
  138. ;   Development Value: "GP"" X, V8 v% z0 e5 J$ V' P7 W0 a
  139. ;   Production Value: "GP"8 `) }) W6 b$ ?3 F

  140. , k; N* u0 d5 O- G: x: X2 N$ O
  141. ; session.gc_divisor
    - a  y. }. ^* [: B& l0 @. C
  142. ;   Default Value: 100! f5 {% `: \4 D# }, ?7 ?  o
  143. ;   Development Value: 1000
    5 F5 C; X) R/ C  B4 b% n* |+ R1 K/ ]
  144. ;   Production Value: 1000, J- M3 ^( M& D- u  j# W' J
  145. 4 p% Z5 f1 a' f
  146. ; session.hash_bits_per_character
    1 x4 {+ V0 O) @
  147. ;   Default Value: 4
      g$ o2 p1 [& j' t6 w6 F
  148. ;   Development Value: 5/ H+ S- s' b  G+ [; W
  149. ;   Production Value: 5( h3 ?) Z1 O0 v$ L) @3 s8 w  u

  150. 5 ]$ o/ c, F: K, T2 o
  151. ; short_open_tag
    , M+ J$ w" G; l( W
  152. ;   Default Value: On% `! u9 ~$ f. ]: ?% V
  153. ;   Development Value: Off
    ) W6 W5 [( Z1 t; E& U+ ^. d
  154. ;   Production Value: Off
    7 N) l' [8 q* E, ?

  155. $ {/ `0 U' {. g4 t3 G) o1 k1 A
  156. ; track_errors
    * H3 _$ N  ^! J  A  E! a0 X
  157. ;   Default Value: Off: {  C& B$ h1 K9 }, c2 C
  158. ;   Development Value: On
    3 G8 \, F/ s* L6 d5 g
  159. ;   Production Value: Off
    3 S8 f1 o" c" z* a
  160. 5 O) `* D$ u& B4 W0 J- ]1 B- v: S
  161. ; url_rewriter.tags
    : f' X0 h+ x7 K2 r. M  K7 I
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    2 _) m6 }. l3 O# [) R% O
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"9 X& ^9 @; W1 O: v& U, z' B
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"; J, b) u1 y' Z

  165. " [% G9 n4 I7 g6 K' V/ v) l3 S1 m
  166. ; variables_order
    2 I% T* |- M- ]7 ^4 K! i( Z' x, D" J
  167. ;   Default Value: "EGPCS"
    1 Q2 K. ]( g$ Z, K
  168. ;   Development Value: "GPCS"! E9 n8 J4 u. O4 y+ Y' g' ^  p$ L
  169. ;   Production Value: "GPCS"
    4 \- A% ?1 ?7 C; [
  170. 0 }7 v8 K0 @. _6 i! d0 H0 Y% W
  171. ;;;;;;;;;;;;;;;;;;;;. v# Q. m1 v6 r; s, y9 C
  172. ; php.ini Options  ;
    # n, T1 _9 q  U" W) v7 a
  173. ;;;;;;;;;;;;;;;;;;;;
      G8 F" _6 K- H
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"' o  g8 h8 D8 p: X. `
  175. ;user_ini.filename = ".user.ini"
    / `. K% v, c& f+ s( m% g# O
  176.   {3 M- s' l) ^
  177. ; To disable this feature set this option to empty value
    ( d2 E  {) r$ I: c5 P4 W5 B
  178. ;user_ini.filename =5 s- |& u8 e& K

  179. # s* w4 l- S/ a  n
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    0 N2 D0 L8 Y6 ?7 Q* b( h
  181. ;user_ini.cache_ttl = 300
    ! J) Z" ]- V# o5 [

  182. # c3 M" U/ @/ v, v' S$ @
  183. ;;;;;;;;;;;;;;;;;;;;' N- g/ f$ ?" O  e9 K# B/ \
  184. ; Language Options ;
      Q  D  I7 q  @% p
  185. ;;;;;;;;;;;;;;;;;;;;
    ! }9 P) y4 m* u9 f9 U
  186. & \  E- p+ [% }2 T2 Z
  187. ; Enable the PHP scripting language engine under Apache.& G# u5 u# s0 |7 _
  188. ; http://php.net/engine
    6 l. _( i( h; e$ ^9 t. {2 l
  189. engine = On8 n0 ?% C# p5 J8 v* i
  190. 2 Q0 `; I3 V7 ]1 ^5 I0 B2 R
  191. ; This directive determines whether or not PHP will recognize code between6 f) u. u2 V" d$ [  q
  192. ; <? and ?> tags as PHP source which should be processed as such. It is4 J3 Q5 }( f! L/ u$ Y3 }
  193. ; generally recommended that <?php and ?> should be used and that this feature" l- f) ~/ l1 ^* X) y
  194. ; should be disabled, as enabling it may result in issues when generating XML
    ) d' C8 S5 f, Y8 \. j# j) k
  195. ; documents, however this remains supported for backward compatibility reasons.
    : P; U. U% C0 v1 F6 A; B
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    " G) O) X+ [+ k" l2 k
  197. ; used regardless of this directive.2 T9 J, B+ W. P- l. E4 D
  198. ; Default Value: On
    " f9 k$ q) Y% t5 @* a
  199. ; Development Value: Off; u- C8 [3 a. s5 |& Z
  200. ; Production Value: Off% S  S7 G; S* g
  201. ; http://php.net/short-open-tag& w& ?( |1 Q% V- ~1 \. E6 x
  202. short_open_tag = On
    $ k; ]+ A7 J* X8 z& ~

  203. * u( U- h( d. g  ]! B& ^- V/ o6 G
  204. ; The number of significant digits displayed in floating point numbers.
    " _% ]/ N: l- j, g
  205. ; http://php.net/precision: }6 H1 P* p2 m
  206. precision = 14
    2 P6 I+ ?! N2 {6 C& b# c

  207. , v# H# m/ _; C( G; C3 d
  208. ; Output buffering is a mechanism for controlling how much output data$ {8 C/ t1 m, W) U. b
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    7 r3 c) |/ o0 F" C) m9 {: c0 S1 d
  210. ; data to the client. If your application's output exceeds this setting, PHP
    4 {) e6 S+ J" m: {
  211. ; will send that data in chunks of roughly the size you specify.
    ! K- j6 |, p7 N' q% d
  212. ; Turning on this setting and managing its maximum buffer size can yield some# n' }' Z4 ?& w1 s4 W8 O* O3 n
  213. ; interesting side-effects depending on your application and web server.
    7 C! z+ _* s5 A( W* `
  214. ; You may be able to send headers and cookies after you've already sent output
    % z4 E( w0 l% ^7 f$ J
  215. ; through print or echo. You also may see performance benefits if your server is
    1 ~+ f' G. z+ v. L" g
  216. ; emitting less packets due to buffered output versus PHP streaming the output) e2 V/ ]+ V* e: V2 Q
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    # y6 Z+ m7 e+ A* h2 V2 _. V
  218. ; reasons.
      W, T7 F) o1 t$ B: X/ p* t9 ]/ \
  219. ; Note: Output buffering can also be controlled via Output Buffering Control( O0 ~2 ~( \% W2 I) Z$ L, |
  220. ;   functions.
    1 _& Y3 ?' X) l& E. m: @- i; G
  221. ; Possible Values:0 G* r+ M3 W4 ^" x! V6 A) b
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)) G$ h; X) v' o
  223. ;   Off = Disabled: M, T7 [* D" ~+ F' y2 \2 J$ H
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    " u$ ]5 `7 t  ~# K
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    + V9 ~! @) N% {" v" \( t
  226. ; Default Value: Off& @) B2 E0 [, F. i& }" K3 J$ C+ |
  227. ; Development Value: 40965 ]! J: t4 o5 G4 v4 W- q$ Y  `
  228. ; Production Value: 40965 r2 m( ^/ \" R# h3 U
  229. ; http://php.net/output-buffering
    * p" C! r1 }- n' Q: Y, ]$ l
  230. output_buffering = 4096# ]$ T! R4 `$ k# X+ t; s5 J6 \  [

  231. # K) v& d1 k$ T* l# e! G# W
  232. ; You can redirect all of the output of your scripts to a function.  For# R  A' N2 p2 i4 B- r
  233. ; example, if you set output_handler to "mb_output_handler", character9 U8 W: T+ a" c- _$ v& I
  234. ; encoding will be transparently converted to the specified encoding.
    2 W. m& M2 n9 R* [0 b5 i
  235. ; Setting any output handler automatically turns on output buffering.2 k( C) G- }( L- T2 j0 V7 ^
  236. ; Note: People who wrote portable scripts should not depend on this ini
    % h) m+ e, a, p( M
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    1 e7 \$ I. l  X, S, U3 `* b. H
  238. ;   Using this ini directive may cause problems unless you know what script' F% b( M9 n) r6 u4 a1 \
  239. ;   is doing.# m5 D9 e8 g4 ~- E+ S2 e& z
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"0 e! V$ d6 a3 _$ m5 ]: j, b
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    * @* U4 D; D, A, Q
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    . I' |( |/ c/ p' ^. X
  243. ;   Instead you must use zlib.output_handler.
    ; [. |7 _/ U# R" S/ t0 p
  244. ; http://php.net/output-handler
    0 y3 x0 J6 ^! n
  245. ;output_handler =
    * U+ v9 O, J% ^

  246. ) O% l8 f* _8 [. X7 K  r, @
  247. ; Transparent output compression using the zlib library
    1 j3 L; p% a. H* R9 l  [  Y% y
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    4 L2 U2 D9 v# W4 h! T
  249. ; to be used for compression (default is 4KB)2 @& g# N4 [0 }; S1 p+ q- d
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP! P% ]* n4 R* |* ^  y/ W3 d
  251. ;   outputs chunks that are few hundreds bytes each as a result of9 U/ D6 P0 A* o. ~
  252. ;   compression. If you prefer a larger chunk size for better
    9 ~* l' S7 _0 Q0 H0 Q, x, Y
  253. ;   performance, enable output_buffering in addition.1 A1 c1 w5 I: k! P. k
  254. ; Note: You need to use zlib.output_handler instead of the standard! d0 I# h" q! u* R5 Q# O+ b
  255. ;   output_handler, or otherwise the output will be corrupted.
    ! j5 i" I. s* b0 o) v
  256. ; http://php.net/zlib.output-compression- O# z4 `$ h0 V( Q' x- {; r' Y
  257. zlib.output_compression = Off, p0 |$ R4 P5 I- S$ J

  258. 5 Z6 l+ A4 v1 j
  259. ; http://php.net/zlib.output-compression-level% C* ?2 b, A& f/ D) b
  260. ;zlib.output_compression_level = -1. h8 O# l  X3 v9 g! C3 X

  261. 0 ^0 O) a' }% z! d' m5 n: F
  262. ; You cannot specify additional output handlers if zlib.output_compression0 ?5 g4 v* E6 ?# D! Y) T0 |
  263. ; is activated here. This setting does the same as output_handler but in0 E8 M) L5 N  Q" c4 S6 z
  264. ; a different order.& J1 e7 V! k0 D! J1 K/ r+ v' z
  265. ; http://php.net/zlib.output-handler
    5 W7 l8 r9 j6 {% j' D
  266. ;zlib.output_handler =: e5 ]7 `0 |5 d3 @, l
  267. 0 `- x) O9 s1 w' |9 ^" s) J
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    + ?# G! b0 G! \3 G$ |
  269. ; automatically after every output block.  This is equivalent to calling the
    / b/ K# Y! o$ l) I
  270. ; PHP function flush() after each and every call to print() or echo() and each
    & n# O8 a7 k+ d- h
  271. ; and every HTML block.  Turning this option on has serious performance, K4 L9 ^% K5 G9 W& U1 ]4 B
  272. ; implications and is generally recommended for debugging purposes only.6 g8 ~7 @! N6 q& ~
  273. ; http://php.net/implicit-flush
      u# X7 v! r" F; ]
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    4 A! b9 h3 \2 z1 ]3 t
  275. implicit_flush = Off
    9 I# X& ^9 g! @' E9 I- q
  276. 7 O/ u: o1 p. K+ Z1 O/ ]
  277. ; The unserialize callback function will be called (with the undefined class'
    + O1 i8 J2 ]( b! A6 @( m
  278. ; name as parameter), if the unserializer finds an undefined class
    3 H: e" M) o+ E& `
  279. ; which should be instantiated. A warning appears if the specified function is/ I! ^/ Y# M# m. U4 t6 A
  280. ; not defined, or if the function doesn't include/implement the missing class.# X1 F. @" J0 j1 ?& N
  281. ; So only set this entry, if you really want to implement such a: z/ ?7 {& V# @" H% r
  282. ; callback-function.
    7 v" t, k. M. m0 t( i- @
  283. unserialize_callback_func =0 Q  q/ c# C0 ~' I
  284. ) o! J% m# V+ D
  285. ; When floats & doubles are serialized store serialize_precision significant1 ]5 H7 `, Y$ j$ p0 M( y$ c
  286. ; digits after the floating point. The default value ensures that when floats4 B& d% }4 x: }) Z
  287. ; are decoded with unserialize, the data will remain the same.% i2 A8 s# x8 F
  288. serialize_precision = 17! b7 F& i* g) b2 A+ Y  A

  289.   P; N) I+ s' E5 n
  290. ; open_basedir, if set, limits all file operations to the defined directory
    2 j1 Y' ~; }" ~: P4 T" [
  291. ; and below.  This directive makes most sense if used in a per-directory
    , Y5 L  z8 c2 r* d3 R
  292. ; or per-virtualhost web server configuration file.
    6 H" X0 J5 J; F9 e; r5 L  W
  293. ; http://php.net/open-basedir
    + @7 ?6 J- B0 i" Y8 T& [& k
  294. ;open_basedir =
    6 W+ j1 d' P; U0 N" w
  295. 5 G2 U3 j+ F( q& x9 O
  296. ; This directive allows you to disable certain functions for security reasons.
    7 u" D; A4 v" c
  297. ; It receives a comma-delimited list of function names.
    9 U! I2 q3 M& Y7 P: j
  298. ; http://php.net/disable-functions" ^: q: y8 i0 S1 {, e0 Y3 \
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru, I0 Y9 u  c$ A4 n- W1 A

  300. 0 g* u+ m5 n/ R9 I* ^3 X0 ]
  301. ; This directive allows you to disable certain classes for security reasons.
    , G& X5 Q6 N; ]- k; k( ?
  302. ; It receives a comma-delimited list of class names.
    ' d- ^- g' O6 M  r% ~7 o* \2 q
  303. ; http://php.net/disable-classes& l6 j) _# i+ ^
  304. disable_classes =
    + E0 q! H. `% W& k

  305. 9 G$ J& z: r$ E% m" q8 g1 [$ ^
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in3 b2 X" @4 W! _
  307. ; <span style="color: ???????"> would work.# L% }* v' S" t: {! B4 c
  308. ; http://php.net/syntax-highlighting
    - w! f& Z# o5 w
  309. ;highlight.string  = #DD0000
    6 }5 g+ [- g; Q( J9 ]& M( K$ B% e# L1 L
  310. ;highlight.comment = #FF99000 w+ Z2 X: z3 n7 R; b
  311. ;highlight.keyword = #007700
    # J* ^- c  U/ y( w
  312. ;highlight.default = #0000BB
    9 o, R1 N; c" i4 C
  313. ;highlight.html    = #000000
    * X( ^* {$ a& ^7 f8 a, u* x. f* W
  314. + D# P9 X7 A7 {" W* J, O: y
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    / @" y: u1 ~$ {# |6 f- _' I4 S6 c- Z
  316. ; the request. Consider enabling it if executing long requests, which may end up
    3 a2 }8 N5 @4 w/ a3 ]/ L6 Y
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    - ?1 N% c2 A# X7 e! u# K, E/ a) l
  318. ; is to disable this feature.9 o; o6 }1 o- T$ X0 ^
  319. ; http://php.net/ignore-user-abort
    2 t' t# j3 ?9 @, F
  320. ;ignore_user_abort = On: K9 s8 `) I* l& b, P' ~

  321. ; l; B7 T8 r) D8 O. R
  322. ; Determines the size of the realpath cache to be used by PHP. This value should4 _7 ^9 v, z8 B, n: U$ {
  323. ; be increased on systems where PHP opens many files to reflect the quantity of" a3 [! E# _2 m  T7 S. A; D+ l
  324. ; the file operations performed.
    ! x  q2 }0 I. ?& o; m
  325. ; http://php.net/realpath-cache-size: A6 C$ S6 L5 G  A( d7 p/ ]
  326. ;realpath_cache_size = 4096k
    # l! x( ~8 E: }

  327. ) {% w5 i6 I+ w$ h% ?' \
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    # a  n: e- y, T/ L: j. ]5 q, E
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    ( P) G: }+ `0 [$ }' ?( ]+ ^0 s
  330. ; value.4 d4 P8 x" z% y+ o
  331. ; http://php.net/realpath-cache-ttl
      s5 r' t, J, S; h) v
  332. ;realpath_cache_ttl = 120: `( A  I( ]9 F8 h5 c. `
  333. - n2 e, Q9 {; I+ \
  334. ; Enables or disables the circular reference collector.
    # Y4 i0 ^# i8 T9 z) g7 ^& i" i* G
  335. ; http://php.net/zend.enable-gc; h( W/ W! x' ~
  336. zend.enable_gc = On
      _( Y' ?5 y& s3 r; F
  337. ( _) A/ T# `0 h0 B5 O
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    - e* R4 T8 g6 J, g! `* t
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    / ?5 s, k6 \+ V3 x
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    4 e( x) g. h& q2 M2 M
  341. ; Default: Off# f5 F) r( H# t* k$ N5 m8 A
  342. ;zend.multibyte = Off
    + ?( X+ @7 [$ E% D/ ?6 A

  343. . X" N. H1 e' c6 _
  344. ; Allows to set the default encoding for the scripts.  This value will be used3 ~8 U1 a) G1 Q7 ]
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.( O% l  w2 Q7 B9 r0 n
  346. ; Only affects if zend.multibyte is set.
    $ A' l3 F0 V7 D" V
  347. ; Default: ""
    " _4 J2 X8 C0 ^; S9 W
  348. ;zend.script_encoding =
    - |, a* t! M* C- P

  349. 2 l. ?' |9 \9 T( p" T. I
  350. ;;;;;;;;;;;;;;;;;. q3 E1 v# K$ y! \" Z
  351. ; Miscellaneous ;
    . p( @+ s( J4 g7 m+ l, Z
  352. ;;;;;;;;;;;;;;;;;' r% q8 ]0 `' F2 N# A  E

  353. + I2 w: i% a% W
  354. ; Decides whether PHP may expose the fact that it is installed on the server/ e/ \0 O$ o  _- H
  355. ; (e.g. by adding its signature to the Web server header).  It is no security! b- l4 S9 I1 N* R2 g1 \7 k
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    , A1 R% e$ T6 h
  357. ; on your server or not.+ X) I3 j9 e, }$ z: x) `
  358. ; http://php.net/expose-php
    , a% \) M! E" Y* Z! z, J
  359. expose_php = On
    , ~1 ~/ v+ ]  f& M
  360. 2 G& O7 q5 |3 N7 ]
  361. ;;;;;;;;;;;;;;;;;;;( g5 n( i) K- L! Z4 u
  362. ; Resource Limits ;
    & @  \' V1 X  }' n' w
  363. ;;;;;;;;;;;;;;;;;;;
    8 y3 O2 c5 }( H" a' z# Y- Y* v" s
  364. ' m. s5 y1 L7 M0 h8 e
  365. ; Maximum execution time of each script, in seconds
    ( J3 q8 Z. B6 t) F7 |
  366. ; http://php.net/max-execution-time8 s$ X) e  w! U2 b  B. E# l0 |
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI/ u$ h( m6 ^/ E5 ?0 I
  368. max_execution_time = 300) m) R: o5 m9 m! ]1 p$ g7 ]+ W3 o
  369. - {9 [/ w0 o" g: `
  370. ; Maximum amount of time each script may spend parsing request data. It's a good- \/ }1 }: H3 S& h: b. F( }7 L
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    0 L$ |. @& T2 y8 c: e4 z
  372. ; long running scripts.
    + {4 d: [- j- J; f
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    - Z3 |8 I- j0 a) ?3 A9 f4 D- h
  374. ; Default Value: -1 (Unlimited)
    , A2 p  }+ [: ~; J$ ?7 h4 K
  375. ; Development Value: 60 (60 seconds)& o/ d- K9 f! `6 ~: F
  376. ; Production Value: 60 (60 seconds)
    8 T( y/ _6 w7 w: P  v" x, z
  377. ; http://php.net/max-input-time
    & h9 i: }1 n/ h( o$ B
  378. max_input_time = 60
    * K* A2 g" [' D+ N) s  f8 g, ?. G
  379. ' x; {: X0 x" v. q% J) D& o6 b
  380. ; Maximum input variable nesting level; k8 _; _4 S1 Z1 l5 u$ l- {+ d  i
  381. ; http://php.net/max-input-nesting-level
    9 Y6 Z3 E4 l( ^& P& F
  382. ;max_input_nesting_level = 64  M8 S2 ?1 V: K9 R3 R" H9 D9 f3 G

  383. 9 v6 y& X+ l5 |
  384. ; How many GET/POST/COOKIE input variables may be accepted2 Q& C2 N* d) o% u' g9 ~0 ^- _
  385. ; max_input_vars = 1000
    ! ?  O! ]/ S: a6 E
  386. 9 V$ k$ I% _& H4 J- n
  387. ; Maximum amount of memory a script may consume (128MB)* M! z0 y) I) E5 ^$ g
  388. ; http://php.net/memory-limit& E/ I5 W7 ~3 G1 Q
  389. memory_limit = 128M) t% K' J. v$ `  L' P
  390. ! u! G7 k* C2 ]; ^; |* P! h
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    # S6 U: K0 @! n* b' x& Y7 V
  392. ; Error handling and logging ;
    , B# a. n& m. ]( {# H8 @1 |
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    0 _! Z/ V; i9 U3 D

  394. 3 A- Q2 N6 F) l3 n. y. C* |
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    : r+ b# @; H5 l: @- Q
  396. ; it to take action for. The recommended way of setting values for this. l( x  j! C/ m: ]1 g, b3 P) t
  397. ; directive is through the use of the error level constants and bitwise8 x& N. e9 c6 k& H# o: b9 W2 G8 O& v
  398. ; operators. The error level constants are below here for convenience as well as
    0 n) x2 t+ Q% `# Y4 Y
  399. ; some common settings and their meanings.
    1 k9 u& U5 M. p! ~1 c& W% ^1 I
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT- ^4 d6 _4 S0 l4 c1 q8 G& j
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and! O: F( x- p4 }2 o* v( S4 c8 L
  402. ; recommended coding standards in PHP. For performance reasons, this is the# G: e6 x' ?- u
  403. ; recommend error reporting setting. Your production server shouldn't be wasting1 G- w9 Y% {2 W, g
  404. ; resources complaining about best practices and coding standards. That's what! Y6 ]4 D$ [% {* k0 a5 L( m
  405. ; development servers and development settings are for.
    & ^. Z& |( m3 [
  406. ; Note: The php.ini-development file has this setting as E_ALL. This% r, E" i6 e1 E, S+ u
  407. ; means it pretty much reports everything which is exactly what you want during: I  C: p' y! s6 R
  408. ; development and early testing.( @  @$ Y% q, G; \
  409. ;
    . P/ x0 t3 m. n. X' H0 V
  410. ; Error Level Constants:8 ?/ F7 @# u3 R- v6 F" Q  q
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    # x$ M( m' X9 U$ j) J9 F3 ^! T* T' d
  412. ; E_ERROR           - fatal run-time errors# F5 U9 {- z/ i8 J/ `
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors" `2 O7 w: }. j
  414. ; E_WARNING         - run-time warnings (non-fatal errors)& z/ G) ~5 S' v) X, |
  415. ; E_PARSE           - compile-time parse errors
    * S: g# l0 c2 n5 ^* y% o7 G, ^/ n
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    / V) o- n6 {4 o) O
  417. ;                     from a bug in your code, but it's possible that it was
    # ]* _4 U0 {7 D
  418. ;                     intentional (e.g., using an uninitialized variable and, V! N' h+ D$ E4 \
  419. ;                     relying on the fact it is automatically initialized to an
    ( J" P" l6 y' q, v7 L
  420. ;                     empty string)* s" ]. h, P+ B0 r4 p
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes: E' N$ G+ J! ^, S
  422. ;                     to your code which will ensure the best interoperability
    , ?  n+ v  f' u9 C
  423. ;                     and forward compatibility of your code* }1 c0 _/ a) d% q( o$ K
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup( J2 G1 X9 M; g& M9 \) _! {
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    + l6 E+ A' `7 \2 K
  426. ;                     initial startup
    1 I. }" M: K5 u+ k7 S# r
  427. ; E_COMPILE_ERROR   - fatal compile-time errors; f5 U- K: s5 D
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)5 I/ B! |" V. t0 f1 [$ d
  429. ; E_USER_ERROR      - user-generated error message
    . C" H/ S% p5 Z, r1 A2 I0 b! i
  430. ; E_USER_WARNING    - user-generated warning message- q& s: ^' o3 K# f7 f7 k6 s% B
  431. ; E_USER_NOTICE     - user-generated notice message) @- g4 V# R/ t3 P" O% l
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    ; k& o% h$ X7 Z' [
  433. ;                     of PHP) [$ U6 ?& r$ ^5 z
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    ) d0 A, b. x6 S5 U% h* l- C" ~
  435. ;
    ) _) H/ g5 ]( C0 |  D5 T
  436. ; Common Values:
    2 W' [+ \9 P; y9 e( c- t
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    1 }7 G+ v  p( C# w1 E
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)  g: t8 ~! ]" _" k" Q) a
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)4 ?: C# N( O3 n1 V6 g
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    ! o: Q) k; l! v! S5 P
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED- i- i9 U; m& t6 j* f& G/ @4 W$ q7 M
  442. ; Development Value: E_ALL
    # P. x3 N5 R1 w  |
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    - E" c- t. P- C# g  U7 e, z9 ~5 ~$ Z
  444. ; http://php.net/error-reporting6 T; }0 i4 T6 m% B% z& r
  445. error_reporting = E_ALL & ~E_NOTICE
    " h( @' T- P8 E  t6 u% t9 W
  446. 7 `9 U7 s7 E9 e; i4 z3 }
  447. ; This directive controls whether or not and where PHP will output errors,  N* y& a( t; b" H9 p( m1 K
  448. ; notices and warnings too. Error output is very useful during development, but
    " E+ y3 }7 n4 l7 x7 ^1 n
  449. ; it could be very dangerous in production environments. Depending on the code
    6 y( O- C! k( e6 b9 P
  450. ; which is triggering the error, sensitive information could potentially leak3 h2 o2 ?8 y; S% Z6 `
  451. ; out of your application such as database usernames and passwords or worse.
    ( _' {# D; r# O/ i
  452. ; For production environments, we recommend logging errors rather than) {! ?) ?0 A/ x# S) U: z
  453. ; sending them to STDOUT.
    ' i' F0 O. x+ Y  ]  g( h( _+ I
  454. ; Possible Values:' x0 q. U2 z% P3 f6 U, l
  455. ;   Off = Do not display any errors
    " ^. A0 F# s" E4 I
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)5 q" R+ `& R, I0 `% `6 w
  457. ;   On or stdout = Display errors to STDOUT
    7 Z# e* Z# _3 n) R- b5 v& c
  458. ; Default Value: On! U5 q: k7 c. l( `1 q
  459. ; Development Value: On
    0 a0 ~. c  x- y: w
  460. ; Production Value: Off6 ^( K) e: C2 o0 C+ M' h" @9 D
  461. ; http://php.net/display-errors9 d1 @  K5 {% e; W+ f4 O
  462. display_errors = On
    1 Y0 P8 E/ v  P) p- m
  463. . h+ y; ~) _" b. n1 P& B
  464. ; The display of errors which occur during PHP's startup sequence are handled
    " }4 _5 ~; a1 t& @: [# G) Y! a
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    * b- F1 J5 _1 D2 ^( _, B& |9 ~
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    ( ?/ s" Q7 n- l, N9 [$ j, G
  467. ; debugging configuration problems. We strongly recommend you
    7 z5 B8 h. A( m  Y
  468. ; set this to 'off' for production servers.
    . E( O, t; K2 f! u+ F) g0 e6 H
  469. ; Default Value: Off
    7 ]1 E" _; c& g+ |( B2 W2 Y
  470. ; Development Value: On
    3 V# J- W; _- m, d5 c: r+ `
  471. ; Production Value: Off
    & T7 @4 {: }: z* N8 C5 c
  472. ; http://php.net/display-startup-errors3 v4 @7 x5 d, {/ K( ]* W. z
  473. display_startup_errors = Off4 m# m$ ?% \" m2 _) G
  474. 7 }, z" G3 u5 g8 x3 c2 S& }* t
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    $ Z2 A" ]# e3 x: O# g4 u
  476. ; server-specific log, STDERR, or a location specified by the error_log
    1 w3 X* [" d& ~8 k3 ^# V
  477. ; directive found below. While errors should not be displayed on productions& n, H* J7 L% a  d; u5 c
  478. ; servers they should still be monitored and logging is a great way to do that.
    + f/ f/ e7 _* Y1 L4 m
  479. ; Default Value: Off: _7 C: y9 E$ ?. i) R/ t+ K5 y9 q
  480. ; Development Value: On+ Z! E/ p' ?8 \9 f
  481. ; Production Value: On
    ! P% O- g8 h* X7 c! k$ o
  482. ; http://php.net/log-errors# i- p; ]8 b* Q
  483. log_errors = On1 a+ C) N' _  _' J. ^! W
  484. 9 P1 A  N: D9 E' U) M: {7 X1 a
  485. ; Set maximum length of log_errors. In error_log information about the source is
    ' {7 x0 K. {% N
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.$ N* j# K# ?1 m( o. _; g5 u
  487. ; http://php.net/log-errors-max-len) _- {3 h1 B' a9 q( _9 I6 N
  488. log_errors_max_len = 1024
    4 F+ a3 |: X( k8 A0 w( o
  489. ; n* J" Q4 c  f, M) }' y
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same% a" @% j; b/ M4 K# D2 b
  491. ; line unless ignore_repeated_source is set true.: ?0 v5 D0 _0 L5 Y, f' Y5 ]9 c& F' b* b" A
  492. ; http://php.net/ignore-repeated-errors
    ' G+ }- Q; V9 X1 g4 o
  493. ignore_repeated_errors = Off* M( w1 ?5 f! d7 Y
  494. 3 }- q4 `' d, b; s
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    ) \% t, g$ x- s6 r( l8 `" d5 b& D
  496. ; is On you will not log errors with repeated messages from different files or
    + p" Z* E: {9 U2 h+ F
  497. ; source lines.
    8 g5 [- R3 R- o
  498. ; http://php.net/ignore-repeated-source
      `& S5 f# h2 Z3 {, e
  499. ignore_repeated_source = Off
    % G: S: d/ i% T9 a9 n0 x" R

  500.   s, O0 v0 ~& \# o* a' _, \
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    . G8 q8 j/ s4 `+ g
  502. ; stdout or in the log). This has only effect in a debug compile, and if! S8 b5 d+ d1 Y; ?
  503. ; error reporting includes E_WARNING in the allowed list
      ^5 ]1 j/ K2 ^6 R* c
  504. ; http://php.net/report-memleaks
    4 J  _* }! j' X
  505. report_memleaks = On
    7 J- `& _+ ]3 B  B+ |4 V5 d
  506. 2 N4 v$ o- K) U! f4 q4 }* J, \
  507. ; This setting is on by default.0 p0 C) r$ x. ~
  508. ;report_zend_debug = 0
    - O5 ~: v  i& f7 k# D

  509. ( j* V9 G3 \3 ~3 d- l. B) G
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    5 V/ n6 m3 X: J% a4 w& `3 E
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    . L8 ]- ?# V; T* W; q$ e+ W# [& E
  512. ; however be disabled on production servers.4 O. r6 H( S4 J& n
  513. ; Default Value: Off! H6 M, Z* |4 t7 X) \& }3 B8 R
  514. ; Development Value: On: ^! R4 r% o7 p
  515. ; Production Value: Off" u$ j0 H1 ?6 d
  516. ; http://php.net/track-errors" _7 V& l: G  C
  517. track_errors = Off
    . |. b, ]- a7 o- ^- q
  518. " C& [' k9 p/ y* E+ B' W3 ?
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    # \. j2 l( y) P1 K! X9 a
  520. ; http://php.net/xmlrpc-errors
    7 I* Y( O, v6 N5 ~
  521. ;xmlrpc_errors = 0
    3 r/ _# j7 N. m' t  z

  522. + M" _* Z- L% q6 u( j* e( n: Z
  523. ; An XML-RPC faultCode% T2 \5 K  H) P5 C' _" o
  524. ;xmlrpc_error_number = 0
    4 h5 `3 {& b* f: M

  525. ' m8 h& V% B* n3 x
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    $ o8 ]+ F$ D! _8 p6 e3 N  Z
  527. ; error message as HTML for easier reading. This directive controls whether
    2 c5 b% [: I, v4 E3 n  @0 s7 g7 `
  528. ; the error message is formatted as HTML or not.
    , w+ G9 O: T4 w0 p/ T
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI9 F- L: K9 D& {' q- Q, S' }6 c2 |
  530. ; Default Value: On) l% c6 x1 M% @  i) N
  531. ; Development Value: On8 q7 M- H3 O7 ?: C1 T! [$ c$ s
  532. ; Production value: On" f: l- t* [) `. f
  533. ; http://php.net/html-errors% {; _8 X- M4 C7 A4 T7 e+ r$ A
  534. html_errors = On
    * |9 |# j2 D3 s0 q# f% n  U* D

  535. ( y* S# _  O1 v3 z
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP. r) B9 M( {, R6 o2 M
  537. ; produces clickable error messages that direct to a page describing the error$ i, i" U. s2 s, u2 t+ J
  538. ; or function causing the error in detail.
    2 c0 P  y; N  r
  539. ; You can download a copy of the PHP manual from http://php.net/docs) h0 `7 ?4 z1 p# Z2 c" a9 y
  540. ; and change docref_root to the base URL of your local copy including the
    + H6 |- ^8 X7 D) }) R' \2 ?# K
  541. ; leading '/'. You must also specify the file extension being used including2 b7 c+ a+ r' d2 I! n/ Y; t" ~
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which: Z  e6 q) ]% _
  543. ; case no links to documentation are generated.  ]" I1 |( R8 b  z0 Q, o# C
  544. ; Note: Never use this feature for production boxes.6 E9 Y1 H: ~& H% G3 f2 \
  545. ; http://php.net/docref-root
    , h% G" h6 G8 y
  546. ; Examples( m' _4 `7 z; z$ X6 ]
  547. ;docref_root = "/phpmanual/"
    . z& ^0 @) p' m. {) D1 ]7 z9 K, a1 B
  548. ! R+ F4 U2 _5 A9 J4 d1 n3 X6 [
  549. ; http://php.net/docref-ext7 t! y  x% ]" g- R* l' i
  550. ;docref_ext = .html
    4 Q1 Q' U2 m# b8 A* W0 q0 [6 L# f& \% f

  551. % ^, n9 O6 a( f. Z
  552. ; String to output before an error message. PHP's default behavior is to leave
    ( |# \1 t, C3 A; j" _/ d1 B
  553. ; this setting blank.
    & C4 m8 p6 M7 S( {9 b
  554. ; http://php.net/error-prepend-string
    . R/ D3 _# V% L: }- A
  555. ; Example:
    1 b0 I& s  w+ w3 l# O$ {. g# h! p
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    * \0 E* ?. j1 P7 }
  557. 9 A2 m. w. f* ?/ d) k, j
  558. ; String to output after an error message. PHP's default behavior is to leave
    7 v# l' ?6 E* h; P; l) J
  559. ; this setting blank.
    ! h; l/ r) N! i+ \2 S& ~
  560. ; http://php.net/error-append-string
    6 r6 Q, R; T; U. y  p- m1 q
  561. ; Example:
    : L% N! [" I0 ]  U
  562. ;error_append_string = "</span>"
    ( b0 e; F+ f7 T) g* E
  563. ) ?9 G: x& V9 a- L+ t& s. X: _
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    9 H4 E: y) Q8 K* }9 M8 W2 ?" \  L
  565. ; empty.; y8 r/ E$ A4 h9 ?) o( D
  566. ; http://php.net/error-log
    ) F% I  ]1 l2 q- O& K6 [
  567. ; Example:" B# p0 o; r) @% X& \
  568. ;error_log = php_errors.log; O! n( [0 @" Y
  569. ; Log errors to syslog (Event Log on Windows).
    8 i2 ]4 W4 N4 r
  570. ;error_log = syslog
    1 [8 i0 {0 A% T7 f3 x4 f
  571. # S) U. ?# ]+ J; k
  572. ;windows.show_crt_warning( n6 k( r) w! a$ K- N
  573. ; Default value: 0
    4 s' `0 m% L6 c/ G
  574. ; Development value: 0
    ( q! W& {, y3 K& S
  575. ; Production value: 02 G0 b+ P- y& O6 [) X
  576. 9 M3 f2 `: ]1 _* A' L
  577. ;;;;;;;;;;;;;;;;;/ f# O" N* V% }, r* M% C' w: B) `) r' ^! [
  578. ; Data Handling ;
    3 Z% ~) ^$ I2 N% o: c
  579. ;;;;;;;;;;;;;;;;;
    0 n: b2 }, @% v
  580. , ?! t9 g# B5 ~* s+ f+ \
  581. ; The separator used in PHP generated URLs to separate arguments.
    : n; }+ f( m  j9 Q1 S$ B+ E
  582. ; PHP's default setting is "&".# K, H, r# s# e" W
  583. ; http://php.net/arg-separator.output# ~# E, ~: Q; L0 K, n
  584. ; Example:
    * d) N4 o9 \- E- O7 T3 I9 X
  585. ;arg_separator.output = "&"
    & z, h5 u/ r8 L! t

  586. % Z- W- M5 o: i) R& E* {/ o3 ~! o
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    ' N- Y" D, x) Z
  588. ; PHP's default setting is "&".
    0 U) n; x" _. L9 N
  589. ; NOTE: Every character in this directive is considered as separator!/ r8 @8 g& U5 R
  590. ; http://php.net/arg-separator.input9 q  u/ W; R# a3 m# y6 |; R
  591. ; Example:
    ; U. W* U1 W' {5 N& P
  592. ;arg_separator.input = ";&"
    5 w" z/ T4 G' a' L

  593. . B3 n3 ?* m, m
  594. ; This directive determines which super global arrays are registered when PHP
    2 i. ?7 [) w% H2 `1 p! j
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super" x& P5 `) s& J( p& @: X
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty$ J: J9 P+ l, q5 A& p; i0 ~% l
  597. ; paid for the registration of these arrays and because ENV is not as commonly. k4 w) Y0 O, U. o; v8 V8 F
  598. ; used as the others, ENV is not recommended on productions servers. You5 Q; h3 p& V6 [
  599. ; can still get access to the environment variables through getenv() should you
    ' y, {$ s* H3 E
  600. ; need to.
    ! j( q. \0 D6 Q. p
  601. ; Default Value: "EGPCS"
    / r; }( m7 @7 e% `
  602. ; Development Value: "GPCS"
    + B; v5 y2 V& _' J& ~1 u
  603. ; Production Value: "GPCS";  J9 y& V/ {: ]6 U+ b7 r. e/ q6 R
  604. ; http://php.net/variables-order
    4 K" @* u7 {3 v- v1 }, C& i
  605. variables_order = "GPCS"
    $ L7 q5 b* ?# g
  606. 8 n3 j  \; b% e$ h. q6 e, N
  607. ; This directive determines which super global data (G,P & C) should be
    ) L' a/ p! ?- Q  l1 a1 L1 s' _
  608. ; registered into the super global array REQUEST. If so, it also determines7 o; j8 Y: K, Z" g/ m
  609. ; the order in which that data is registered. The values for this directive" p1 n! p9 B6 n0 j7 j
  610. ; are specified in the same manner as the variables_order directive,2 f/ W0 K2 h1 m) ]; E# x
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    8 \9 V+ O) ~% U7 {, V8 E
  612. ; in the variables_order directive. It does not mean it will leave the super
    3 p, W/ l+ ]8 j# l9 j
  613. ; globals array REQUEST empty.2 O( _  v1 g9 Q* A% V, \1 g! \
  614. ; Default Value: None7 @7 I3 |! _4 v& U6 k
  615. ; Development Value: "GP", y7 z* T) b* K2 U  T. k8 |& J+ d
  616. ; Production Value: "GP") c2 a: A7 u' r
  617. ; http://php.net/request-order1 P  z0 V6 A5 G& h/ c( U! R- H6 }8 R
  618. request_order = "GP"8 ^* t4 J% i6 g, z

  619. % U) z2 ^( V6 t4 _4 H" m* C+ q( S! ^
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    + Q+ \4 G9 q/ F4 }/ v: s- E
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    5 c% z. g( x: V3 k( g
  622. ; is invoked. $argc contains an integer representing the number of arguments. _: E5 [4 e3 _% i% _9 W
  623. ; that were passed when the script was invoked. These arrays are extremely. Z" t1 Y; ]- k' J4 H! t( O+ ~
  624. ; useful when running scripts from the command line. When this directive is
    5 O: |+ W, S4 ^8 _
  625. ; enabled, registering these variables consumes CPU cycles and memory each time9 N" w- @( @1 s& y
  626. ; a script is executed. For performance reasons, this feature should be disabled5 ]- J, e7 S! D0 m0 U7 h% E9 ?# `
  627. ; on production servers.8 x  q8 k8 O# Q; Z
  628. ; Note: This directive is hardcoded to On for the CLI SAPI# o: S3 X$ _9 D2 _( n4 l! Y
  629. ; Default Value: On
    - i- G/ l" Q) w. @5 n6 j) V5 B2 _* U
  630. ; Development Value: Off4 C% p; `9 k+ G, x
  631. ; Production Value: Off2 b. s8 J' A  p
  632. ; http://php.net/register-argc-argv; S1 e! B# I. {1 P% M7 e' e# c
  633. register_argc_argv = Off0 `/ f% T% d) X! ~* }$ g0 W
  634. ! b$ a# p! V7 @6 H& \- Q0 o  p' I
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
      g  s! l( K/ S/ [' G
  636. ; first used (Just In Time) instead of when the script starts. If these1 ^; w. h1 C: ?& P9 {  Z6 a+ U
  637. ; variables are not used within a script, having this directive on will result* C, p2 ^  z: i  i$ q; W
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    + Q" K2 ^7 ^% q$ a
  639. ; for this directive to have any affect.
    / d1 V; ]8 X9 @4 l8 ?' \
  640. ; http://php.net/auto-globals-jit- G# K  Z' P/ c; \
  641. auto_globals_jit = On
    8 E7 g$ Y& ]# {, U

  642. 7 B7 u3 @9 j4 t, I, N+ j! O
  643. ; Whether PHP will read the POST data.
    ) j3 l$ W' x/ f5 y
  644. ; This option is enabled by default.2 Z! V) s2 B3 ]) ?9 v* n
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
      p/ X7 k" [& v1 d7 \3 m2 |1 l
  646. ; and $_FILES to always be empty; the only way you will be able to read the$ f* K4 m4 m" i, n
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    ' Q4 |* B" V* V: n4 u4 X
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    1 W& ^+ O7 R' i9 F
  649. ; http://php.net/enable-post-data-reading
    , }/ s/ R$ V' V' `3 |
  650. ;enable_post_data_reading = Off
    * E/ D& X- E+ W: B6 O

  651. ) R. L; N( v1 `1 i9 `, J7 c2 Z% x
  652. ; Maximum size of POST data that PHP will accept.0 p( x: P/ @  a/ m8 K! L
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading# p, _# I, I* z' M  n9 x
  654. ; is disabled through enable_post_data_reading.
    , Z3 m, Z) ~9 I. ~# Q4 b2 m* n
  655. ; http://php.net/post-max-size
    + y5 ]  z6 Y% K
  656. post_max_size = 50M9 }8 d4 ~' a( G4 |; }# H
  657. , O& q; V- D: e: ^
  658. ; Automatically add files before PHP document.
    2 s0 i  E- b" g
  659. ; http://php.net/auto-prepend-file; q8 a, z: P1 h! m8 t% v* `7 l
  660. auto_prepend_file =' S! s/ @% R$ }1 z0 C
  661. 6 m, H3 b/ D) S8 h, Q, q- I
  662. ; Automatically add files after PHP document.8 H, I6 K0 s) v8 B* b+ K! J
  663. ; http://php.net/auto-append-file- H7 F) i# H# y1 y
  664. auto_append_file =, u' _5 ?/ t3 @- I

  665. " a3 w  \7 W6 Q8 j
  666. ; By default, PHP will output a media type using the Content-Type header. To
    7 X! b8 ^! G+ A1 k: p6 \7 ?
  667. ; disable this, simply set it to be empty." P' }' X+ n: F8 M' M$ @6 _# I! b
  668. ;: O( b! ^# ]' Q: f- v
  669. ; PHP's built-in default media type is set to text/html./ |$ f6 r) l" O$ B) D& Z' z. [
  670. ; http://php.net/default-mimetype& i. v. |( c8 M6 a) r# w, h
  671. default_mimetype = "text/html"3 t* J/ e) W2 @1 ~" z( F: i
  672. & _4 U) V5 h# ?" i
  673. ; PHP's default character set is set to UTF-8.
    $ A$ R* @3 J9 }7 s8 s3 g
  674. ; http://php.net/default-charset
    ' }' g" P5 t2 x9 T) p, _
  675. default_charset = "UTF-8": F- V! _, L& G2 n

  676. . G) }3 @/ s' m& I" U( ]+ U
  677. ; PHP internal character encoding is set to empty.: @3 }+ c1 L0 f8 v1 s1 s
  678. ; If empty, default_charset is used.
    . H# p" e- U. h) k
  679. ; http://php.net/internal-encoding
    / P$ Y: _6 O' u, A
  680. ;internal_encoding =
    , S; b9 ~$ D# W. j6 v$ w

  681. , w  I* ^7 D! Y# G
  682. ; PHP input character encoding is set to empty.4 S+ e4 o) `5 ^6 }8 V2 i! ~' V
  683. ; If empty, default_charset is used.
    % J& [) a2 R& G" H/ p
  684. ; http://php.net/input-encoding
    7 S$ R: k+ t* M1 R4 ?  {; ?
  685. ;input_encoding =! z# F% @1 _0 I" M
  686. + `$ i1 V0 t6 w$ z/ j
  687. ; PHP output character encoding is set to empty.
    : p, q" L2 U. f" B  d1 O* r6 L
  688. ; If empty, default_charset is used.
    : K" B8 I+ l- l& h& [- R0 ?
  689. ; See also output_buffer.
      M5 t3 ]$ U, c/ P% z. \& x
  690. ; http://php.net/output-encoding
    ( h' d6 F1 ~" R8 h4 ^0 D
  691. ;output_encoding =( q& p* V& H: B  X6 o  y) z
  692. 0 F2 _' ]; B$ k8 |% L5 p5 m, Y% E
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    4 B! I& s1 _* J  q  J* I
  694. ; Paths and Directories ;
    $ l2 o- g, U* F  ?6 G* U
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;; E% ?8 b1 q, T- s* P

  696. / A4 A3 @/ u1 F6 y! R
  697. ; UNIX: "/path1:/path2"
    ( [! p: X) i# |) F$ K; |9 C4 e* u
  698. ;include_path = ".:/php/includes"7 b5 I) R7 I; t* R& d
  699. ;
    0 ]5 x- m: {0 m! p1 u
  700. ; Windows: "\path1;\path2"* F4 g% q- i* y/ J
  701. ;include_path = ".;c:\php\includes"
    & w" D. H5 ~$ o$ I6 }4 I
  702. ;" W% V5 J7 Y$ ^  p# D
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    : f# i0 r5 n3 _# G' q
  704. ; http://php.net/include-path* E/ Q* T6 \0 l; j6 e
  705. ) i$ l% E7 Q/ i! i! V& b3 q- T' k5 C
  706. ; The root of the PHP pages, used only if nonempty.- D- I$ w9 q; r1 G) \2 D
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    ; O' H0 v7 U8 J4 R$ t' d7 e
  708. ; if you are running php as a CGI under any web server (other than IIS)1 }, \. J0 y4 c3 a. h0 O  d) R5 C, J- ]
  709. ; see documentation for security issues.  The alternate is to use the. ~; s4 j7 L& T# i- m/ A& U$ ]
  710. ; cgi.force_redirect configuration below
    ' H. r; y) B. j9 ^! L* R+ F) m
  711. ; http://php.net/doc-root
    - u" {( l. b/ L4 @. u
  712. doc_root =
    : j8 j, \0 o5 J

  713. " q/ N5 i( B) E* U' I9 N! K: P& K
  714. ; The directory under which PHP opens the script using /~username used only
    ) C8 v" P1 A% ]9 [9 ~* `
  715. ; if nonempty.
    % Y7 r- H  `; c: A* F4 b' z4 z8 _2 B
  716. ; http://php.net/user-dir
    & I! \) s  O! o) {3 [" X
  717. user_dir =  y4 \9 D, Q1 p: l
  718. ! x# r9 Z. Y' m: \( \4 X' C, ^
  719. ; Directory in which the loadable extensions (modules) reside.
    / h+ e$ ^! g* W1 ?+ c; u) R$ G! R
  720. ; http://php.net/extension-dir3 k7 N/ R6 M& C3 ]/ X8 h4 q/ {
  721. ; extension_dir = "./"
    , h7 S  m& B) `/ G& {+ f
  722. ; On windows:9 M  W' E: |; }1 G. F- Q8 `
  723. ; extension_dir = "ext"" `8 s5 e; `/ q9 z9 t2 B  x

  724. 9 \' m1 ?1 D" Z" p7 S* H1 c+ |$ n% d
  725. ; Directory where the temporary files should be placed.
    ! ?& c/ l; ^$ G, w/ K) p9 P
  726. ; Defaults to the system default (see sys_get_temp_dir)" H* B, L6 F4 h( H" B
  727. ; sys_temp_dir = "/tmp"
    . t0 I8 f6 e/ _; s4 ^0 D

  728. ) [$ f3 p- U! U" U& n: e
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work% B) x; g6 O( V& E0 C8 V5 w2 h# u
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically# g  U* w+ r0 S- Z2 u8 Q0 z
  731. ; disabled on them.
    . N2 y7 W# K7 T; C
  732. ; http://php.net/enable-dl
    1 {# Q! ^6 L, q  o
  733. enable_dl = Off
    8 a* _6 [8 x5 C3 u3 ^

  734. 1 j+ l; {) y$ C; v
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    9 ?1 c7 Y& `+ u7 ~* D& k
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    ! m8 v! M+ k& S7 t2 L5 N
  737. ; turn it off here AT YOUR OWN RISK
    # V- L5 Y  H% V! W5 e7 g
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    3 a8 I& ?8 a. k; R
  739. ; http://php.net/cgi.force-redirect
    & n% Y+ b9 p# i5 s
  740. ;cgi.force_redirect = 13 C( x3 T* A! q7 b, c7 y: Q
  741. 4 w" Y) W0 O  X& v+ q. g$ b5 k
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with; v  t: |4 `7 z$ O4 R
  743. ; every request. PHP's default behavior is to disable this feature./ W$ b4 |" l( A1 M& y; b0 U# e
  744. ;cgi.nph = 17 z# U& M! k7 Y% U. e+ G
  745. * l) u( u8 i6 S
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape0 W/ d  _4 x/ C2 g' B3 b
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP- m. I; ~% P: T( R/ Q6 E6 Y
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    2 K! k" o, i$ j) h' b
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.) s! k+ U9 C& @2 ?8 t
  750. ; http://php.net/cgi.redirect-status-env- c% O' d1 u( ?6 w6 I! s
  751. ;cgi.redirect_status_env =
    6 w0 h9 k! i+ \2 W" X. W6 z8 @
  752. " W* Y8 ~8 D$ ^7 q$ R- [5 W
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    + E3 `) y7 y! H& x# U
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok& b' w) h3 S3 i" A
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    3 k0 B) c+ V4 W! k
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting9 x. y4 P( ^6 c( ~' ?
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts5 E: I' B$ N3 u, w9 a( B# `) z
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.1 d( R1 S5 A  W% J9 A7 r6 a
  759. ; http://php.net/cgi.fix-pathinfo
    ! W" X- N; g3 R0 f9 Z9 }
  760. cgi.fix_pathinfo=1; e- d" H% B, m* o! Z

  761. # e4 d' ]/ u( I9 I
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    % `6 H  e! \0 M5 @$ M- n& R
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    $ q1 s. k2 x6 D  e: ?) N) \
  764. ; http://php.net/cgi.dicard-path
    ( l+ @: @0 ^! H8 B2 ?  V/ s
  765. ;cgi.discard_path=15 T" E- m8 G9 }: a0 k
  766.   a$ ~  G. E4 s
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    3 d8 c  K# C* }; N* I3 Y
  768. ; security tokens of the calling client.  This allows IIS to define the* y! q+ ~. l: R% ~
  769. ; security context that the request runs under.  mod_fastcgi under Apache2 x9 i& w# {/ U. D
  770. ; does not currently support this feature (03/17/2002)8 i, J' z) V" B: S- A
  771. ; Set to 1 if running under IIS.  Default is zero.
    5 N. W8 a, }0 {" Y0 K
  772. ; http://php.net/fastcgi.impersonate- ?( k' w; F' M: A# v+ B$ o3 c
  773. ;fastcgi.impersonate = 1  L7 W- t9 B( r" e2 x, }

  774. : Z5 K$ X1 ]4 Z9 Q  a" @
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable" e8 C6 P5 \8 D5 T2 x, f! h) V+ _
  776. ; this feature.
    ! I( Z1 A6 N" [
  777. ;fastcgi.logging = 00 u4 ^! V. `) Q6 F" A# t- N6 E. K

  778. ) H% s% M9 L6 ]) T
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to. A( c& V- i& g2 }" E+ g
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that* j* Q% {; S: L
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    $ }+ T+ N9 d, Q( o2 B* z3 H
  782. ; RFC2616 compliant header.( Z" P9 o( w/ \8 z
  783. ; Default is zero.: c& Z# v( ?  a. l! X- g. W
  784. ; http://php.net/cgi.rfc2616-headers6 v% [, x& C5 a7 v9 s
  785. ;cgi.rfc2616_headers = 07 L, g: A) l& d6 A; {) d" S

  786. + E% N* M( L4 U; H) y1 j7 W7 t" G# F
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!0 i* \0 q( N' R' w6 @
  788. ; (shebang) at the top of the running script. This line might be needed if the0 a$ e# B. L* n
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI/ h6 |( L9 i: B7 Z7 L
  790. ; mode skips this line and ignores its content if this directive is turned on.+ `/ B6 _2 `6 U6 w4 K
  791. ; http://php.net/cgi.check-shebang-line' V5 u/ {0 W* Z% J3 \/ e
  792. ;cgi.check_shebang_line=1# S$ ^* t0 {5 L" z

  793. ' X9 F5 D' r5 C/ @9 u/ W" K) n* J/ P
  794. ;;;;;;;;;;;;;;;;
    2 [# B+ g4 r9 D% ]( T5 h
  795. ; File Uploads ;
    9 W7 \! _4 P  _1 Y' B3 G9 I- x6 f
  796. ;;;;;;;;;;;;;;;;5 y, i: C" E  F

  797. % J& Y2 C4 U, n( o
  798. ; Whether to allow HTTP file uploads.! h% o- G3 y. Q# p, W: I- @1 l
  799. ; http://php.net/file-uploads
    " u" @5 i1 z1 N0 x0 }# D
  800. file_uploads = On
    * s8 x* a5 }. f4 ?2 ~! z, D
  801. ) ^, Q9 l; @" @. I) \
  802. ; Temporary directory for HTTP uploaded files (will use system default if not8 ]( ~1 m5 W# k# k4 w7 k
  803. ; specified).
    2 R7 |& b1 I; I/ E2 E' z; \
  804. ; http://php.net/upload-tmp-dir/ S) G* Q, e2 K3 B: S* \9 g
  805. ;upload_tmp_dir =
    . G. B) N$ }- [# v7 ?- ]

  806. 5 g, ?9 F5 S6 w  [/ w% V
  807. ; Maximum allowed size for uploaded files.1 z) B/ C6 K/ ]4 K( y; {+ G  R
  808. ; http://php.net/upload-max-filesize. v: C" C6 f+ s7 \1 ?
  809. upload_max_filesize = 50M4 M1 A8 X' _5 p$ E, ?" a" ?! f
  810. ) T8 A* k0 k* M( M' {, j+ C' a! ]5 m
  811. ; Maximum number of files that can be uploaded via a single request
    # \/ H( X6 l. F: v! O1 e2 A; b
  812. max_file_uploads = 20- [8 n9 s0 W+ X8 D1 ^
  813. 5 L/ Z2 Z7 V0 F: k6 i
  814. ;;;;;;;;;;;;;;;;;;; e- }, Y5 z; M6 u  r# c
  815. ; Fopen wrappers ;
    ; j+ k9 o' r$ A0 c2 ^5 j0 h
  816. ;;;;;;;;;;;;;;;;;;) n+ ?2 T5 M, l( [( f% z

  817. : m# e! [0 w' p: U% w4 c; f5 u* l6 i
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    + ]* S! u8 a" L9 F. _
  819. ; http://php.net/allow-url-fopen
    ! L4 R. E* n) X: b$ ~
  820. allow_url_fopen = On
      t* B" d6 o* Y( v+ |* A

  821. # [  Q: S1 `4 @% F$ S+ t" d+ q: u
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.1 {( m" T& J' T, d$ K9 C; g
  823. ; http://php.net/allow-url-include) w5 J- P6 G/ b* V, s
  824. allow_url_include = Off8 o% p% W3 r. n

  825. 0 R3 O7 o+ ^8 B  d; T$ }
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    9 x! `0 t) t1 A1 w6 [
  827. ; for this is empty.
    3 n$ l. R& k' j
  828. ; http://php.net/from
    3 g7 I) b9 d0 W
  829. ;from="john@doe.com"
    2 }3 }* t/ [# B2 ]! Y

  830. ( g% f/ \2 _$ ^* {- S
  831. ; Define the User-Agent string. PHP's default setting for this is empty.1 h2 w. p. N) v$ n. h! ~& k
  832. ; http://php.net/user-agent8 b" L! h: t; U6 Z5 Y
  833. ;user_agent="PHP"* H* v/ @' s9 I

  834. ( Q- l: y% D8 J8 x9 ~' y
  835. ; Default timeout for socket based streams (seconds)* @. n6 G  f: |0 {( ^: z" }- \) K
  836. ; http://php.net/default-socket-timeout
    ) x& H) f3 A2 o* j6 o: Z
  837. default_socket_timeout = 602 U# }* I! r- r3 f* H" ~
  838. , J0 [1 P$ h7 i- t! c1 ^9 K
  839. ; If your scripts have to deal with files from Macintosh systems,* d  p# U7 E! N" O9 g6 U
  840. ; or you are running on a Mac and need to deal with files from: K( t0 d/ S; C, r( q7 ~
  841. ; unix or win32 systems, setting this flag will cause PHP to' {" B$ ~7 _  R1 Z$ B/ c8 V& y+ D
  842. ; automatically detect the EOL character in those files so that
      p0 {- \, U4 S: K4 T# Q: P
  843. ; fgets() and file() will work regardless of the source of the file.8 s& c0 [4 g& \! N" V4 R# M+ S
  844. ; http://php.net/auto-detect-line-endings9 P6 C- U" R6 _9 `. L/ Z
  845. ;auto_detect_line_endings = Off
    1 N: A  ~8 P! ]' `; B* n3 w; U8 i
  846. . [) i& F9 t" V/ k
  847. ;;;;;;;;;;;;;;;;;;;;;;
    8 J6 E" u0 ^0 M3 x: t7 Y! k
  848. ; Dynamic Extensions ;
    ; k, m, G/ C. y/ b
  849. ;;;;;;;;;;;;;;;;;;;;;;
    ) O# |* `; N* I7 K
  850. - b  S; W0 k# @! v% w1 s; S* ~
  851. ; If you wish to have an extension loaded automatically, use the following
      C& ]$ b9 M0 v1 P5 z% A
  852. ; syntax:3 F1 X* ^% Q2 }4 L; `
  853. ;5 [- x3 D$ X# G& f5 K! m
  854. ;   extension=modulename.extension
    0 y% m' L$ t' O  ]% `* A% ~1 t, o
  855. ;
    ' c$ I6 `0 ~/ `4 w7 [8 C
  856. ; For example, on Windows:1 x! R. g) [( V) z3 A+ ]
  857. ;5 `- m  o5 X3 ^3 C9 K" Q* K
  858. ;   extension=msql.dll
    * k9 t  Z/ W5 A9 i" {; o8 c
  859. ;
    & d9 b" f+ X1 `. T3 r- _
  860. ; ... or under UNIX:
    ; ]% o9 K; w& T5 _; q; s
  861. ;
    8 b3 b; I+ n+ C: x1 @2 z) a
  862. ;   extension=msql.so8 z+ N' f  F1 j% k& i1 j$ c
  863. ;' B% [( R) A! E
  864. ; ... or with a path:6 `4 j, f! Z: `5 p8 n! O$ x# f
  865. ;1 {' Q$ M& v1 a& D, W3 c
  866. ;   extension=/path/to/extension/msql.so# |" v. L+ g3 ]) {
  867. ;
    * {  _4 U* j- m
  868. ; If you only provide the name of the extension, PHP will look for it in its
    : D5 i# ]: C9 O! a% q& W- _  F2 y
  869. ; default extension directory.
    ; j/ T9 r+ Y+ r( l- w( \
  870. ;
    % y) d+ s$ J% v1 R; j
  871. ; Windows Extensions" {# H. [6 u" W! a
  872. ; Note that ODBC support is built in, so no dll is needed for it.2 K( h& U. K! F* _" h: p
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    1 i  C$ r$ N, _5 `
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    ! w7 r" e  b) l( ^# v/ d
  875. ; Be sure to appropriately set the extension_dir directive.) [4 t2 D8 K, E/ u$ M" c
  876. ;$ W5 D; d0 g4 P, Y7 D" ^) p6 C" b
  877. ;extension=php_bz2.dll
    : Y) p7 h3 `; p* F9 c2 y2 R
  878. ;extension=php_curl.dll
    , J  v# V! ]$ Z: W* U- v
  879. ;extension=php_fileinfo.dll" H' e- d( `8 o& J' X# X
  880. ;extension=php_ftp.dll  L" l; Y) h& N4 P+ F
  881. ;extension=php_gd2.dll0 y$ k% y' f; I7 M) \* a( ]" I
  882. ;extension=php_gettext.dll
    3 b8 I% i! g/ o% M7 c
  883. ;extension=php_gmp.dll0 L* m- {+ v* N+ D6 {: B$ A
  884. ;extension=php_intl.dll
    8 N' K5 o$ W2 A1 Z; L' h- E
  885. ;extension=php_imap.dll
    6 e2 r' T% ^% v8 s( W" x$ r
  886. ;extension=php_interbase.dll, h$ b/ ^  f6 L5 ^7 ?, q5 d# X
  887. ;extension=php_ldap.dll( `' P6 m) R. e5 R+ S
  888. ;extension=php_mbstring.dll% S) M7 `. K# X" X) V) X
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it: x8 ?0 h% K9 M: N& b% \: h
  890. ;extension=php_mysqli.dll
    * F4 C! r+ R, a/ m
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client& s( O+ d; H6 V& q' ?
  892. ;extension=php_openssl.dll
    1 w$ c) r, e: b+ u
  893. ;extension=php_pdo_firebird.dll
    / s$ T" D$ V) F8 F( S
  894. ;extension=php_pdo_mysql.dll  r/ e6 t5 x% ?, X  v, o9 M
  895. ;extension=php_pdo_oci.dll& Q8 h" z7 f3 u  J
  896. ;extension=php_pdo_odbc.dll
    % E' U7 ~  U: Y9 }1 g
  897. ;extension=php_pdo_pgsql.dll
    3 G9 f2 `+ A: e; d
  898. ;extension=php_pdo_sqlite.dll! X  Z: w4 s# [5 R
  899. ;extension=php_pgsql.dll1 I- h; ~, _5 y# t0 K4 c- a# @  D
  900. ;extension=php_shmop.dll
      M. O2 e6 M8 h( Z: l

  901. & f6 j: v- `, J
  902. ; The MIBS data available in the PHP distribution must be installed.
    8 D* G% _7 y. i4 w0 \
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    $ k  @8 p7 R7 B& ]# b
  904. ;extension=php_snmp.dll9 z; i6 }! V! n; M

  905. + g" C; T5 e& c* z
  906. ;extension=php_soap.dll
    1 t; a' t0 M, `2 }4 |
  907. ;extension=php_sockets.dll
    ! m; B$ @1 M/ q
  908. ;extension=php_sqlite3.dll
    6 Y0 a" b1 [1 \! N9 B( X
  909. ;extension=php_tidy.dll0 l0 C, I# t& h' p( s3 G
  910. ;extension=php_xmlrpc.dll' x, x7 q( J' Y4 q1 j' e! T
  911. ;extension=php_xsl.dll
      T$ G% h# K1 R+ J% v9 Q' q, |6 k. U
  912. , T6 }1 Q" t" X0 t
  913. ;;;;;;;;;;;;;;;;;;;
    4 f: \% V( a' u9 K
  914. ; Module Settings ;  L4 a% n8 Y5 @3 h8 O3 P+ a
  915. ;;;;;;;;;;;;;;;;;;;: R/ B7 o% |, |% Z
  916. # j: K# W2 e9 C6 S( }: O
  917. [CLI Server]9 U! d4 d; G  N: Z
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    3 ~! o1 S9 C6 x& o5 w) l" r9 t5 @1 I
  919. cli_server.color = On
    ; m6 t# h# d' ~2 G7 k- b

  920. 9 d9 V, r6 [: _; V: K
  921. [Date]  [9 J/ h' ?7 ^! L
  922. ; Defines the default timezone used by the date functions- J) q  c$ ]9 [/ ~
  923. ; http://php.net/date.timezone
    8 E4 h' i' y9 j! [+ v: m% `: _- ^! \
  924. date.timezone = PRC
    % A. `+ x) Z; P

  925. $ i( x( \- a1 Y* c3 W; O
  926. ; http://php.net/date.default-latitude
    6 x* ]( c6 Z/ y5 [9 A' m
  927. ;date.default_latitude = 31.7667  z2 ^5 w8 l& R" ~1 x' A
  928. 0 T* }3 e0 Q6 t6 g
  929. ; http://php.net/date.default-longitude$ g- @/ d3 ^& Q6 F
  930. ;date.default_longitude = 35.2333
    , y7 F$ \2 F) o% ^/ i# z
  931. $ f+ a1 J- j6 K/ J; N
  932. ; http://php.net/date.sunrise-zenith7 Y: v6 }, T+ T3 u( [
  933. ;date.sunrise_zenith = 90.583333
    6 r3 X; y/ L+ E5 X' P' L  I
  934. ( }' x$ Q) s( r9 L2 [7 T% \% x* s
  935. ; http://php.net/date.sunset-zenith; k" ]7 G- q; C, e( }2 F$ p4 l
  936. ;date.sunset_zenith = 90.583333
    - N2 @) v# x4 G* j. z
  937. 8 z  W+ M' S  y3 @3 f! A& O6 }. O. e
  938. [filter]2 W8 D+ C4 l# o# i
  939. ; http://php.net/filter.default
    ; G4 \. G* `7 @8 j, c
  940. ;filter.default = unsafe_raw
      Q3 t4 _: y. z' z

  941. 7 w9 Z1 j* n% q/ _
  942. ; http://php.net/filter.default-flags
    8 C& \' g, c3 H3 s
  943. ;filter.default_flags =
    & C1 Z3 a7 s7 E

  944. # P6 w! b: k# t4 L% D( B* B
  945. [iconv]1 R9 w9 w1 I. r8 [! C' ]
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.6 B9 H7 p+ [* m2 Y  E
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    , X) L$ u* m& j5 @9 ^, ?( T
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding! s( z: j9 ^4 {$ e" X+ `
  949. ;iconv.input_encoding =
    0 s# Z2 \. g  j
  950. 4 @# D1 X2 G9 u& ^" b0 R
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.% D( ~+ A- ~. K* w( F% K, m
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    * ~5 @2 d. c2 C# _3 n' q2 g3 ^
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding: l& i( n) q& r0 L- K" _% Z5 Z
  954. ;iconv.internal_encoding =# U1 p, c" P- k# H  D

  955. ; e8 @8 I# N$ J& c
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    2 f; L2 c1 F8 J6 `/ R1 v
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.& _1 Q$ b- k! v$ j- H* r3 k
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding' o2 `4 n+ c: V" ?
  959. ; To use an output encoding conversion, iconv's output handler must be set! }) @- ^6 V) ~% }
  960. ; otherwise output encoding conversion cannot be performed.- A8 K. _7 ]" z- U, t, ?+ L0 |
  961. ;iconv.output_encoding =; E. b: Q2 u3 g
  962. & O, e" r* ^2 G
  963. [intl]
    + U% e& u- N) |& o: f+ M
  964. ;intl.default_locale =
    - Q( v: {! f( ?8 P% j4 |
  965. ; This directive allows you to produce PHP errors when some error
    4 p) B4 h+ \( \' c" V
  966. ; happens within intl functions. The value is the level of the error produced.
    2 [/ q' a. q$ @; [' F# ]! N
  967. ; Default is 0, which does not produce any errors.6 k2 f# a+ \4 ?: T
  968. ;intl.error_level = E_WARNING
    % y2 D1 v$ ?- L! p: d9 A% P
  969. ;intl.use_exceptions = 0
    & B- ~. L2 Q0 q

  970. - D" h1 N1 C3 W# v4 r4 w9 E, X
  971. [sqlite3]
    ) u* [. m4 v5 I3 \+ {5 h& R
  972. ;sqlite3.extension_dir =- v  _+ P, s! x( ?& l/ O+ m: z

  973. : ~3 Y" i) I: K) v
  974. [Pcre]( L! g8 t& Y9 D. |) ]9 E; M
  975. ;PCRE library backtracking limit.8 Y  v  [% ~  A4 Y5 c  s( X
  976. ; http://php.net/pcre.backtrack-limit; w9 u( G& b" K$ [, ?* ?
  977. ;pcre.backtrack_limit=100000& a5 x: T$ i% U& J/ Y
  978. 6 L  d% O+ J- [# t" z
  979. ;PCRE library recursion limit.
    ! N* G: z9 `; ~* \- @# ~
  980. ;Please note that if you set this value to a high number you may consume all
    8 @9 a4 I* w5 T8 R% N$ y
  981. ;the available process stack and eventually crash PHP (due to reaching the1 P6 f/ o6 T- x
  982. ;stack size limit imposed by the Operating System).2 Q1 s9 \( E8 P+ p
  983. ; http://php.net/pcre.recursion-limit
    % k1 s$ ^8 I  a7 F; y8 N# ]2 L' R2 [: Z* i
  984. ;pcre.recursion_limit=1000009 |! i- y" Q% R% g( `8 J
  985. % g' o; V5 z: l; _
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE# j8 O1 y$ J9 c" @& \2 G3 H) b8 _
  987. ;library to be compiled with JIT support.7 C4 Z1 q3 Z( u  G3 j# J
  988. ;pcre.jit=1
    + r) s5 ?; v1 ~$ J- |* V

  989. ' M' y7 d; u' F) b! ~/ y6 }, F
  990. [Pdo]3 }* \& W4 s! K
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"9 T" t5 W, r" O
  992. ; http://php.net/pdo-odbc.connection-pooling
    $ w) p/ P  R- j) E
  993. ;pdo_odbc.connection_pooling=strict* I5 }( J3 z" J- `) V% ^8 t; z

  994. ; h5 Q: r: q( U$ {
  995. ;pdo_odbc.db2_instance_name
    ! ^6 J5 }3 Q$ o; s. C! E2 _
  996.   L& j: I1 ^% v. x& L2 ~
  997. [Pdo_mysql]. X% c$ J& S9 O1 W7 N% T
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache" q) r6 o* r; @/ J
  999. ; http://php.net/pdo_mysql.cache_size* m& ~: y4 G6 d# h6 R2 g  y; d1 @
  1000. pdo_mysql.cache_size = 2000
    ( C( u# G3 z6 S& Q; @: S# b

  1001. ! U$ ~" t8 g/ j, A; i+ b1 F' f
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    7 B$ n( ]8 S( m! e! I6 D. U
  1003. ; MySQL defaults.
    " R8 M1 W* l+ ?" v) p6 q
  1004. ; http://php.net/pdo_mysql.default-socket
    6 l# ?* x. Z; F( n  Z$ ?
  1005. pdo_mysql.default_socket=6 x' |3 y3 [- Q' O( Y- h; \

  1006. ) g; {1 F9 C# R+ ]
  1007. [Phar]5 l  @6 t% ~2 R( b0 j) U; F% \! I
  1008. ; http://php.net/phar.readonly
    1 }. @* P6 Y: ?! y* Q0 b
  1009. ;phar.readonly = On
    , U1 Z- C% ]5 q( |
  1010. . t" H4 _# K+ B# x$ {) D2 I2 T
  1011. ; http://php.net/phar.require-hash$ b) x5 r8 O4 ^, M4 m
  1012. ;phar.require_hash = On
    * O! C. M4 K5 B, H1 w6 O* s

  1013. 0 Z& t! E$ o/ t/ j2 K
  1014. ;phar.cache_list =
    , j8 V( K$ X! |( M  [% e; Z) ?9 m4 c1 r
  1015. $ n1 |$ Y8 [4 k/ r2 S) U4 v2 o: \
  1016. [mail function]) [. ~& W7 B& u/ W
  1017. ; For Win32 only." s  N5 ^" i  n$ U. y6 N
  1018. ; http://php.net/smtp+ v5 \" B! O% w5 U6 L2 v
  1019. SMTP = localhost4 B1 U" c$ ?* j& T9 d
  1020. ; http://php.net/smtp-port
    # [! Q6 Z; p* }4 T. r. }
  1021. smtp_port = 25/ q* t7 o6 _! }( Z& c
  1022. 8 K4 `! u0 A. Q* x* g- x; b$ v# x8 l
  1023. ; For Win32 only.- T: S; s- _3 q" {' C
  1024. ; http://php.net/sendmail-from
      r  y+ q$ t: ?% v4 x
  1025. ;sendmail_from = me@example.com
    2 ?" H) k  i, U% f

  1026. $ O' a4 X$ ~1 ^- B/ o% n2 R0 G
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    ( O2 c' i6 q! W
  1028. ; http://php.net/sendmail-path
    2 T2 |" w# T% P5 }8 s5 n
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    ) w+ i' S5 M" G3 n' @
  1030. . L9 {8 C, N+ y( i, H
  1031. ; Force the addition of the specified parameters to be passed as extra parameters! z8 R9 N; i% }- n
  1032. ; to the sendmail binary. These parameters will always replace the value of; F9 k9 a  g. y' u; b( ^
  1033. ; the 5th parameter to mail().0 ]. w8 |+ i' \% u! l
  1034. ;mail.force_extra_parameters =  x- N# |& }  T/ c% b. V8 W, b

  1035. # Q2 t2 J/ o1 e
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    8 F. z6 l( [" _8 X' `
  1037. mail.add_x_header = On3 O5 }& l/ P& X4 T- T
  1038. 6 A! B& a' q/ A
  1039. ; The path to a log file that will log all mail() calls. Log entries include* _) V0 L  T, _7 h
  1040. ; the full path of the script, line number, To address and headers.
    # [  W* J& U' f: W  C& p
  1041. ;mail.log =) U- V0 I1 V& ^" [0 z* f- Z4 N
  1042. ; Log mail to syslog (Event Log on Windows).( A$ E3 M: z, P* x: I& h7 d
  1043. ;mail.log = syslog
    8 u6 Z  B" ~# g& H- c9 o6 Q) u
  1044. ) ~# ^7 e9 v  d1 b9 e- Y; {
  1045. [SQL]
    " U. J7 P; o+ F9 d; L
  1046. ; http://php.net/sql.safe-mode$ L/ r4 H0 i" r2 G1 D) ?* r
  1047. sql.safe_mode = Off( U2 m3 O+ P. M8 B/ z. I2 Y

  1048. ' Z& s( {2 `% y; p3 _& o; C
  1049. [ODBC]5 l7 u0 A# @: u, t! z
  1050. ; http://php.net/odbc.default-db
      m. j8 i  F7 z; K: d7 X5 g* g
  1051. ;odbc.default_db    =  Not yet implemented
    % \6 E3 I/ N' E5 j' A

  1052. ) J( Y/ s* W1 V: y8 ]
  1053. ; http://php.net/odbc.default-user
    - e2 R( S/ u0 L+ ]. u
  1054. ;odbc.default_user  =  Not yet implemented9 I- i" c5 l0 m( [/ [

  1055. ' J+ s' C$ X3 n
  1056. ; http://php.net/odbc.default-pw
    : y9 ^! b% F# `2 N
  1057. ;odbc.default_pw    =  Not yet implemented
    / H% L' F$ F. q8 I; }9 ]

  1058. + l: H6 A6 d# ^/ J
  1059. ; Controls the ODBC cursor model.# s( _7 t/ I1 `+ M; K/ n9 |# B
  1060. ; Default: SQL_CURSOR_STATIC (default).
    8 ~. K9 S1 j$ G7 @1 m# ~* k+ _
  1061. ;odbc.default_cursortype" p( h1 u) L$ Y# E* L  q9 l
  1062. & z0 {! G1 H5 S, A$ _
  1063. ; Allow or prevent persistent links.& S& U' p. \& i0 M4 P4 ]1 ~  j, z- h
  1064. ; http://php.net/odbc.allow-persistent3 N4 M  `% A9 u# W1 E) l2 |
  1065. odbc.allow_persistent = On
    . a+ q1 D  m2 m# k- |* o& B
  1066. + h& ~/ d$ F# n
  1067. ; Check that a connection is still valid before reuse./ A3 Q, _/ M: v2 K, R5 [/ _* ?$ U; d9 Q
  1068. ; http://php.net/odbc.check-persistent; o) W3 P: D, B# d
  1069. odbc.check_persistent = On1 k" o# _5 f5 N, g8 c
  1070. 5 |9 f3 Z3 V; e3 y# [0 N
  1071. ; Maximum number of persistent links.  -1 means no limit.5 [1 o) a$ y' @5 P$ N+ Q
  1072. ; http://php.net/odbc.max-persistent
    ( Z& W+ O& k/ Z( W4 p2 d
  1073. odbc.max_persistent = -1
    & V6 n8 `" M) a/ z8 w/ X
  1074. " L  T- L5 t+ f" d6 X
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    " S! \& o" f: w% d5 G8 L: Z0 w
  1076. ; http://php.net/odbc.max-links
    # |/ y/ P" n- o% K0 E
  1077. odbc.max_links = -1
    1 o& e3 E8 m4 c$ ?1 ]
  1078. ! k. x# @. R3 z3 \0 \. K' J+ B
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    8 U: }' x8 R7 Q3 x3 e) w5 f
  1080. ; passthru.
    ! U/ C1 K; A7 {! X- c
  1081. ; http://php.net/odbc.defaultlrl
    + ]/ `# L3 @1 }
  1082. odbc.defaultlrl = 4096
    " Y0 b: }" Y' m- t& R1 S
  1083. 4 {" p. ~+ ?9 a0 H. t  O+ c9 x& z7 O
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.  ?4 x  L( p! [
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    ( P& A1 ~' w- B# W
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    5 R' i* L+ Y  N/ x
  1087. ; http://php.net/odbc.defaultbinmode# o) `, l& ~) E
  1088. odbc.defaultbinmode = 1
    ! @$ K' b' F$ \1 I' C
  1089. # s  Z5 U) o- N* x
  1090. ;birdstep.max_links = -1
    , d* G6 z# w/ i9 t( S7 K; [3 N

  1091. $ Q7 i) @* [1 G8 F0 x+ a( }$ t
  1092. [Interbase]- M* O/ f/ |2 f
  1093. ; Allow or prevent persistent links.  r% V; W, }" W2 \( @5 t, i" y
  1094. ibase.allow_persistent = 1
    4 s3 A( ?( _) r5 V
  1095. 5 ]( ~; g! |/ n- G* A
  1096. ; Maximum number of persistent links.  -1 means no limit.
    1 S* O! Z! g7 q, f7 p6 w
  1097. ibase.max_persistent = -10 A( _: g9 Z. A, O
  1098. 7 C& F& P: K4 P7 D8 s
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.* B  Y, R& i$ O- d# Z
  1100. ibase.max_links = -12 X: V# e8 g; E+ `) |
  1101. - h0 v8 `; N/ w
  1102. ; Default database name for ibase_connect().5 S: f% m  S3 C5 w" ]
  1103. ;ibase.default_db =* _% C! G$ [( b9 G
  1104. * w( a8 b; g0 {$ T4 `
  1105. ; Default username for ibase_connect().' h# Q# F4 k6 i; L& c8 u
  1106. ;ibase.default_user =
    $ u: d1 P0 ?! I. ?2 ~' j8 W
  1107. / O$ S+ `, i4 B( i; M% ]
  1108. ; Default password for ibase_connect().( R3 p7 J% F5 D
  1109. ;ibase.default_password =
    ( V: D, j9 |- t. F

  1110. : _; C+ z0 s7 z8 O
  1111. ; Default charset for ibase_connect().% }4 O( A* g* G, G$ w* z
  1112. ;ibase.default_charset =
    / o# g! ~0 N9 I" T
  1113. & H# d* e, N9 F4 r9 {! K: p  l) `
  1114. ; Default timestamp format.
    9 P9 a! F: n0 v, V1 n7 Q2 u) i) n
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    % _4 o, n3 x  J  D" s

  1116. % T3 [& H4 A7 c0 l( D/ }( V& c$ E: A
  1117. ; Default date format.
    2 U1 ^/ x, N  ]. a
  1118. ibase.dateformat = "%Y-%m-%d", `4 K3 |9 I: V' |5 a; @2 x2 \

  1119. 9 Z6 X  }( D$ w, i- Q5 C2 r
  1120. ; Default time format.7 x8 `' T4 v: E
  1121. ibase.timeformat = "%H:%M:%S"7 Z. B- ]3 p. i$ t8 R
  1122.   j- }9 Y" b9 ^  H. W7 |/ @
  1123. [MySQLi]
    # v+ _# J. T9 v! e. k+ B- p

  1124. 3 r9 T' X! P. W( \9 T
  1125. ; Maximum number of persistent links.  -1 means no limit.7 K+ e# W! ]3 @$ F1 F/ d
  1126. ; http://php.net/mysqli.max-persistent
    / O. u4 }& B$ z" q( ^
  1127. mysqli.max_persistent = -1
    " v# @! E+ U- s$ [5 Z6 ~
  1128. $ q1 X+ s' p) V' F+ t, Z2 E
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    5 I6 `8 T( ?* r$ c7 r3 g
  1130. ; http://php.net/mysqli.allow_local_infile4 h' f1 E% {4 c
  1131. ;mysqli.allow_local_infile = On
    ) L" y( t/ T1 N+ B* c- o
  1132. ) S! p- J+ w) k; @1 f
  1133. ; Allow or prevent persistent links.9 A% T8 i7 S4 d$ ]5 _8 W
  1134. ; http://php.net/mysqli.allow-persistent
      d5 ?8 P$ b/ o/ a' P
  1135. mysqli.allow_persistent = On
    , E: |# k/ s: u: Q
  1136. # x3 l! o) g" J
  1137. ; Maximum number of links.  -1 means no limit.6 d* M  u0 K6 a7 `0 T
  1138. ; http://php.net/mysqli.max-links
    % V0 l  c0 ]3 q5 E  u' Q) b
  1139. mysqli.max_links = -1* a/ p: ^0 c2 q0 d
  1140. ! k" g* x0 t+ C1 B& K2 G2 H
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    + c5 Y+ g( ], ]( }, p4 V; l
  1142. ; http://php.net/mysqli.cache_size
    " W0 h' \' U6 H4 \9 c, b) o7 t
  1143. mysqli.cache_size = 2000  @) I5 z! H# P; p; e) S: H% U0 y

  1144. ! U7 K6 b* V2 L. v$ J1 u! |- j
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    9 R( Z7 x9 W8 K* t( v; N
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    + c$ ], t% W6 F; W4 O) m- i( H( m
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    ( j2 o+ q2 L2 J% M" e& R6 B( k# y
  1148. ; at MYSQL_PORT.( x/ |' s; _5 V
  1149. ; http://php.net/mysqli.default-port
    7 D5 }$ ^3 Q: g" V8 e* Q
  1150. mysqli.default_port = 3306" V9 G& V* [* T, H% s
  1151. 9 s5 W9 d# v7 I4 H4 e6 I6 K
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    . i' u/ ^$ I; q9 m
  1153. ; MySQL defaults.% N& C8 I! b8 F0 c( m) x* ~
  1154. ; http://php.net/mysqli.default-socket
    " m" s2 S, O3 |
  1155. mysqli.default_socket =7 o8 @: }. m2 C7 {6 R

  1156. 7 `& {  r" M' s1 |, j6 c( I& f
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).) P' m9 e% h. [; \* ^
  1158. ; http://php.net/mysqli.default-host
    ; v) ~$ v& q5 T! I( P4 G8 x
  1159. mysqli.default_host =3 z6 Y* r3 U% w) a- H. [3 S

  1160. 9 G0 @- a, o( U4 [1 a5 a
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    * k+ K7 w! Z: U3 d& D: \! F/ F+ N/ {
  1162. ; http://php.net/mysqli.default-user
    * d! N  x. p& J$ {+ U3 p/ j3 L1 a
  1163. mysqli.default_user =
    % J  N6 H6 h2 r8 B7 n4 Z! p- U& d' z
  1164. ! [* U( J+ p% g: ~/ ^' l
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).& {$ A8 v! A! v7 o! z
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.$ }9 P" R+ ~5 Z1 M' x
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    0 }! z4 \# D' s" n& X) N, U
  1168. ; and reveal this password!  And of course, any users with read access to this6 n8 x+ o6 B8 q& ]# J
  1169. ; file will be able to reveal the password as well.
    5 |& I: z, z& ]' C* b1 N5 Y7 A! X
  1170. ; http://php.net/mysqli.default-pw0 F. l  }/ f; Y6 k! h# O4 G, h
  1171. mysqli.default_pw =
    2 O" A2 i; F/ ~* z( n1 {- F
  1172. 1 {( h6 v! v  W& ~: y
  1173. ; Allow or prevent reconnect& l" T: h) r7 u, c# a1 ?0 e( Q; f
  1174. mysqli.reconnect = Off+ k; I. n, u8 D! y5 A; P
  1175. 7 V2 {+ _" k! v/ V9 G6 `
  1176. [mysqlnd]
    - m. k" ?7 a5 D& O0 E/ t
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be, E& t# f. Z, I2 a
  1178. ; used to tune and monitor MySQL operations.
    ; W% W" l: M0 g; G
  1179. ; http://php.net/mysqlnd.collect_statistics
    - \$ ?; Y( x; p: b$ a# P
  1180. mysqlnd.collect_statistics = On
    ! _$ ~$ ]0 v, V. j/ ]

  1181. ( ?$ G9 {( X/ u' B8 B
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    " S8 q8 t; n! y
  1183. ; used to tune and monitor MySQL operations.
    ; h# m0 r0 x% l- g& |  P8 Y& t8 i
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    8 t7 o, ~/ n) o$ J. X% U
  1185. mysqlnd.collect_memory_statistics = Off
    7 e3 ?2 C: A' f) e  o  C9 v; O& m4 a
  1186. 9 j+ i' M2 r0 ]8 B
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    ) m9 p: g% ^* a- A3 r2 Q( ^4 K
  1188. ; file.& F# N, g9 Y/ T$ D
  1189. ; http://php.net/mysqlnd.debug
    5 x+ M6 W5 o4 f* L6 B0 b$ I
  1190. ;mysqlnd.debug =* k9 t, D+ A0 L) a
  1191. 8 c3 N. o. @; P6 M5 {0 _
  1192. ; Defines which queries will be logged.% A$ E, C' ~% u! C9 R
  1193. ; http://php.net/mysqlnd.log_mask
    % D( [. _# m: R4 C% O
  1194. ;mysqlnd.log_mask = 04 k; d8 g9 _; n% o5 @$ ~4 i& r

  1195. 8 X% d" P+ {/ }- `$ k- I4 z
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.+ Y  L( R( h) u+ a4 p5 ^
  1197. ; http://php.net/mysqlnd.mempool_default_size
    * t1 e+ |6 D! ~: F- N1 H
  1198. ;mysqlnd.mempool_default_size = 16000- u. [  r4 E$ x* A

  1199. : W  I% k5 D9 a4 z# J/ q
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    + [+ p+ ?' N  h, C$ G+ y+ z2 Q
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size% J' h9 s4 F: V
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    ( u" L4 M5 u# |/ A8 z

  1203. # R& {+ A* p( Q- @9 i
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    ' A) H5 J+ d# r. P: Q& y
  1205. ; bytes.
    . ~3 e8 r1 f# Z+ a
  1206. ; http://php.net/mysqlnd.net_read_buffer_size; H$ F! l; T# X' ]) f- H
  1207. ;mysqlnd.net_read_buffer_size = 32768
    ; A% [0 V2 F; J7 v$ ^
  1208. & N+ r! l0 X5 p
  1209. ; Timeout for network requests in seconds., p# N* R+ }7 o, D
  1210. ; http://php.net/mysqlnd.net_read_timeout) j) R6 Y. ]2 h: g9 i
  1211. ;mysqlnd.net_read_timeout = 31536000) W0 A& ~) H  {- `7 {# p, G* u

  1212. 8 b" F: K  ^3 x6 d: E  U
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA& S* J2 U& k, @9 d: o
  1214. ; key.$ O, b; N8 Q3 V7 T
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    ( m  x; n+ S, j! ]9 z/ d
  1216. ;mysqlnd.sha256_server_public_key =
    ( y1 F/ n. Y' e4 M2 p5 k

  1217. ! p) i3 u+ r2 t; }! G/ X% t
  1218. [OCI8]
    % [6 e: y$ e9 u4 v; |% T. @

  1219. % o2 Z6 i, ?; K6 e$ X( E
  1220. ; Connection: Enables privileged connections using external
    8 P) f9 R$ ]+ p
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    0 i) O& U7 h# X+ ]0 X2 B5 n
  1222. ; http://php.net/oci8.privileged-connect
    . n; C' I2 Y; v3 t) n8 Q7 G
  1223. ;oci8.privileged_connect = Off
    + d3 O0 x; R2 O5 Q2 W/ A

  1224. 3 Y) D( V; w3 ^  l4 k- i
  1225. ; Connection: The maximum number of persistent OCI8 connections per+ E* L; U  l5 t8 J& y8 W! o* f4 C
  1226. ; process. Using -1 means no limit." o+ s0 q) G& B2 |- Y% [; ^/ Q, U
  1227. ; http://php.net/oci8.max-persistent7 ~2 L" z3 p4 q
  1228. ;oci8.max_persistent = -1
    3 |) W4 C: R# ~8 ~9 O

  1229. 1 c- K$ l4 Z$ @1 x7 C7 R
  1230. ; Connection: The maximum number of seconds a process is allowed to
    * W# m* _* u) t/ z+ q# h, w
  1231. ; maintain an idle persistent connection. Using -1 means idle
    " y$ b8 h& w! f1 g  g; c
  1232. ; persistent connections will be maintained forever.
    ( d7 V( A! ?- R% I
  1233. ; http://php.net/oci8.persistent-timeout- B. M! l2 Q/ @
  1234. ;oci8.persistent_timeout = -1! @' t2 H. C( v0 \, T- F

  1235. 9 A1 Q# y5 ~8 \5 z% o2 I$ {
  1236. ; Connection: The number of seconds that must pass before issuing a6 X5 w2 ?+ ?3 u$ X- W" n/ s6 s
  1237. ; ping during oci_pconnect() to check the connection validity. When
      A3 _  N3 D: D5 r- s! d, j
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    ( P0 }1 {6 T" {( o. Z
  1239. ; pings completely.* e$ W! m; |$ S7 t# e* V, G
  1240. ; http://php.net/oci8.ping-interval
    : d5 _/ O5 F6 Z) F
  1241. ;oci8.ping_interval = 60' y7 w( p# C. \$ w$ X
  1242. 6 ?2 r1 @+ S* K7 R5 L; T4 K& i( A
  1243. ; Connection: Set this to a user chosen connection class to be used
    ( Z  Z. a; a6 F7 v2 t: Y* h
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    * x: m& R" r, D
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    : e) C, K$ f* e# j& j. y3 K+ j0 c
  1246. ; the same string for all web servers running the same application,& J0 v+ E+ Z) l7 N* u3 y
  1247. ; the database pool must be configured, and the connection string must
    9 K9 R0 i% h  q2 a% ~4 d% U: V7 t' r& M
  1248. ; specify to use a pooled server.
    # j7 |! p! M" d: s# i
  1249. ;oci8.connection_class =
    3 _2 G) j$ k* l- }: _: t% l& Z

  1250. . L/ Z  ~4 m2 Y5 B
  1251. ; High Availability: Using On lets PHP receive Fast Application5 y# o) n$ p" `1 C0 L3 S
  1252. ; Notification (FAN) events generated when a database node fails. The, A8 h5 i" E- p/ e3 q" y" N- K
  1253. ; database must also be configured to post FAN events.
    , q) r, S- D3 g, z( P8 }# i
  1254. ;oci8.events = Off# C) z* x: n$ ]

  1255. 8 {3 {4 p+ L) r8 G) \
  1256. ; Tuning: This option enables statement caching, and specifies how" k7 X8 }! r" R5 L; w5 Q7 U
  1257. ; many statements to cache. Using 0 disables statement caching./ ^7 H, z! J& W) Y7 t
  1258. ; http://php.net/oci8.statement-cache-size
    + Y! r1 X" C" D5 H/ Z
  1259. ;oci8.statement_cache_size = 20) |) S; F/ Y& T2 F% A0 b( F3 L0 V7 a

  1260. * j* {9 i0 z4 k7 H4 ^+ K" B, W2 U
  1261. ; Tuning: Enables statement prefetching and sets the default number of% o0 @+ Y' t% Q; ~( b8 g- O
  1262. ; rows that will be fetched automatically after statement execution.
    9 U8 ^  D( d; A& C. X8 \2 F3 e: s
  1263. ; http://php.net/oci8.default-prefetch+ o, N, q/ V3 w+ _
  1264. ;oci8.default_prefetch = 100
    - b5 c" a2 O( |0 }

  1265. + H& D6 Z5 r9 j' w, `3 M
  1266. ; Compatibility. Using On means oci_close() will not close1 {# e3 I. l9 [4 O8 g$ c9 K
  1267. ; oci_connect() and oci_new_connect() connections.
    : z8 }1 O7 u' q( ]/ j8 }
  1268. ; http://php.net/oci8.old-oci-close-semantics
    $ F! c3 x% R) a
  1269. ;oci8.old_oci_close_semantics = Off; k0 k9 b# [2 z1 W- J
  1270. ; z# m4 w4 W! ?% H, `
  1271. [PostgreSQL]
    9 ?9 r- O/ A4 F
  1272. ; Allow or prevent persistent links.) x  Z) \& n8 [7 [. }
  1273. ; http://php.net/pgsql.allow-persistent
    : O  t9 t$ r. D, n# f# f7 S
  1274. pgsql.allow_persistent = On3 p1 ?8 U- l2 I/ F* B6 c
  1275. 4 Y) a% E" t7 @
  1276. ; Detect broken persistent links always with pg_pconnect()./ X6 b, X5 T! _: t- i: |
  1277. ; Auto reset feature requires a little overheads.! }7 t/ h' s. v' ^$ _9 I
  1278. ; http://php.net/pgsql.auto-reset-persistent0 C# E4 v7 v3 o9 E2 u
  1279. pgsql.auto_reset_persistent = Off- h9 B8 E% c1 a5 n! N

  1280. 6 b1 ^; ]# Y" M
  1281. ; Maximum number of persistent links.  -1 means no limit.) s- L: g6 K0 i+ W, }# N
  1282. ; http://php.net/pgsql.max-persistent: F6 Y  T' _* d& d( _. C
  1283. pgsql.max_persistent = -1
    8 L* R) j$ B7 D; E( a

  1284. 5 \9 v( H* r9 ^' j# R" s5 Y: ]7 u
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.$ Q3 Y4 |9 {# o
  1286. ; http://php.net/pgsql.max-links
    6 I) T0 U/ k6 M. G9 b: M6 g0 g
  1287. pgsql.max_links = -1. m3 D' ?+ N; B# D/ I1 R2 d

  1288. 1 C" g* |% k% d! e* ~9 {- w
  1289. ; Ignore PostgreSQL backends Notice message or not.% D- y/ l% ^- M1 O# h
  1290. ; Notice message logging require a little overheads.2 w" P: h- ^/ Z" U$ n
  1291. ; http://php.net/pgsql.ignore-notice
    ' W7 X5 m: P% @0 ~
  1292. pgsql.ignore_notice = 07 N) S2 Q3 W2 N7 s, M; w+ a/ W
  1293. / N: N  T! _$ \
  1294. ; Log PostgreSQL backends Notice message or not.
    7 J8 c- w1 w- M& Z% |1 ^. r
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.' r6 y7 F# ]+ L- l
  1296. ; http://php.net/pgsql.log-notice
    3 `5 W& e  T, V: C/ t+ P
  1297. pgsql.log_notice = 0
    8 F. v8 G( V- a

  1298. ; T' ]( n5 v" |( X: A6 S
  1299. [bcmath]
    # l  F& U5 A1 l8 z
  1300. ; Number of decimal digits for all bcmath functions.% }0 y) L/ }  s9 ]! ?# ^
  1301. ; http://php.net/bcmath.scale
    & v' O1 _( ~; F9 A  P% h
  1302. bcmath.scale = 0
    1 p6 A' ]8 f4 r+ o! H& L8 D$ z

  1303. 8 ^. L) c1 a3 R$ d& n
  1304. [browscap]
    ' P/ s; n) U9 U+ {
  1305. ; http://php.net/browscap
    3 r8 d% Q3 Z6 i! g- F# Y
  1306. ;browscap = extra/browscap.ini/ V3 h* B+ ?$ v: x) m4 i

  1307. ( U0 ~, C' q5 R8 d' ~# j' J+ ^
  1308. [Session]
    # N5 |. j6 m( [7 d1 X+ k
  1309. ; Handler used to store/retrieve data.
    ) v  W; Z( a/ p' }" [, D5 D  k2 E
  1310. ; http://php.net/session.save-handler1 ?* N# p( c; r: K# Q4 S
  1311. session.save_handler = files, M6 t" V+ b* W7 g9 j

  1312. + i# L5 l7 l2 s5 D5 L0 \5 p
  1313. ; Argument passed to save_handler.  In the case of files, this is the path; b8 z% \3 ]: K
  1314. ; where data files are stored. Note: Windows users have to change this
    3 F2 T5 u* @8 |1 w
  1315. ; variable in order to use PHP's session functions.
    - y9 L8 F* m! r" R: k
  1316. ;9 ^" e' A9 F/ z" U: t: \6 x
  1317. ; The path can be defined as:3 b# g2 c1 U" B/ ]4 C! s+ F
  1318. ;; g$ Q1 {+ G  Y+ k- b
  1319. ;     session.save_path = "N;/path"  P' N( _# o. d* }( J
  1320. ;
    8 k0 _9 _- |' j- `# }
  1321. ; where N is an integer.  Instead of storing all the session files in2 A! m2 y* M5 n0 o
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    . J0 S+ c7 M; K* k5 F! G
  1323. ; store the session data in those directories.  This is useful if
    1 L5 J% q8 N9 S$ W
  1324. ; your OS has problems with many files in one directory, and is
    1 o- L8 V' c5 h. x
  1325. ; a more efficient layout for servers that handle many sessions." F- L% {# S4 g, [& o( V
  1326. ;9 Z8 R: {' b7 y/ G! m2 o- s# M- _( ]4 a
  1327. ; NOTE 1: PHP will not create this directory structure automatically.: x. e3 V: i0 Q; {" f
  1328. ;         You can use the script in the ext/session dir for that purpose.% ~3 S4 s" m, I& W9 T$ i
  1329. ; NOTE 2: See the section on garbage collection below if you choose to% L, D7 p) M; {# Y% h# n3 ^; d5 |. B, b
  1330. ;         use subdirectories for session storage
    - m; A4 D! e9 G4 f6 C
  1331. ;6 W- l) z( b( A" ?
  1332. ; The file storage module creates files using mode 600 by default." g# g) E2 k1 Z8 I. ]
  1333. ; You can change that by using- U* b1 A/ [9 A
  1334. ;
    9 r- {: u* z( Q& J& T7 h. e% S
  1335. ;     session.save_path = "N;MODE;/path"
    ( `+ @) G* O$ Z2 G7 U1 c
  1336. ;
    5 t$ M/ |. C1 e$ t
  1337. ; where MODE is the octal representation of the mode. Note that this! y7 v! z& k2 x) d
  1338. ; does not overwrite the process's umask.+ Z( y: u0 h2 o3 R. X/ \! }7 t. v
  1339. ; http://php.net/session.save-path: V" }4 F# G  D6 d3 p# F
  1340. ;session.save_path = "/tmp"! D6 i" ?/ y2 D
  1341. & l. ]; f# p$ _! k' a6 [) l
  1342. ; Whether to use strict session mode.
    8 }) Q. M, _" w( h
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate7 x8 O. {) h- w$ a4 k% V
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    5 @. Q2 k6 x7 b9 ]
  1345. ; applications from session fixation via session adoption vulnerability. It is( G2 S7 F! B; \$ H- m) H
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    5 h5 h6 W3 W  [5 V9 ^: }0 Q( c# V5 J
  1347. ; https://wiki.php.net/rfc/strict_sessions
    # G: ?; P9 u+ E
  1348. session.use_strict_mode = 0" |4 W6 c# C6 k5 v$ C! b

  1349. 8 U8 }! _  ^* ^6 e( v
  1350. ; Whether to use cookies.+ k: ]& c3 c. j6 }8 T. ~
  1351. ; http://php.net/session.use-cookies
    2 T) e0 G( g) \9 h( d3 m- Y# k( j; F6 f
  1352. session.use_cookies = 1
    : B" {. E4 S( H  N6 P6 P
  1353. 5 [  s  y0 U; S
  1354. ; http://php.net/session.cookie-secure; y$ v/ q9 E1 h( F( w
  1355. ;session.cookie_secure =
    6 s% S$ E: k" I; S6 {; m! P

  1356. 2 o! m! s6 l3 V3 u" l  D: R! o
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining' Y# ?/ ?  L" C2 q5 Y
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    " \1 S+ [; f' |; \$ {1 ~+ V$ X
  1359. ; session hijacking when not specifying and managing your own session id. It is8 z3 @' A1 E# m( K+ E
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    3 P4 M& Z9 ^8 v" D' w( T' s/ {1 i
  1361. ; http://php.net/session.use-only-cookies& j$ H$ I8 J/ X; Z: |. a$ }$ Q
  1362. session.use_only_cookies = 12 a1 O8 B8 c; P3 r' F4 H

  1363. - k3 r+ g: M# I/ D
  1364. ; Name of the session (used as cookie name).0 z; T) B/ V. t2 l. \- j) u
  1365. ; http://php.net/session.name, j- a) e$ H: b) |* j, B* @
  1366. session.name = PHPSESSID
    1 P( |/ v' J: b

  1367. 8 X- R" v. h3 t
  1368. ; Initialize session on request startup.  x' d2 v  q4 o
  1369. ; http://php.net/session.auto-start& V6 D" x; U8 [2 K' U/ K; v- W% V4 J
  1370. session.auto_start = 0% _8 J6 |4 E  u% B1 f1 p
  1371. : J' D2 V* \3 y3 O0 }* J! C
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.0 B6 B, C( n" P! z* c
  1373. ; http://php.net/session.cookie-lifetime
    ; L# n/ a+ b. v) ]% G
  1374. session.cookie_lifetime = 0, ?& }2 N! ]" @6 Z
  1375. . u# Q& N' k% J+ {) ~! v3 H$ y
  1376. ; The path for which the cookie is valid.
    3 n4 l0 k. X3 N- P3 `' Q4 N
  1377. ; http://php.net/session.cookie-path/ Q) _# H) t! U% P
  1378. session.cookie_path = /& S+ b2 s1 B% x- J+ u8 N
  1379. 0 X9 O) X1 P7 @, H# x4 k6 ]; R+ P
  1380. ; The domain for which the cookie is valid.; T3 d8 {, k- t5 j# V( R
  1381. ; http://php.net/session.cookie-domain
    & h+ q5 K. ?3 o: ?* q; r$ \
  1382. session.cookie_domain =. A2 H# q6 |) t! H
  1383. ( {( Z0 k' E+ y$ ]- C8 m$ K
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    + R1 y* \( p. V3 V( |* K
  1385. ; http://php.net/session.cookie-httponly
    , u  F7 l" C* }" C3 j2 D9 x1 }" s
  1386. session.cookie_httponly =7 Y2 B( d  K- e- {, J6 Y. A8 {

  1387. : P# D, t- ]5 U
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    + ?8 a3 c/ `/ P! L- ^1 m
  1389. ; http://php.net/session.serialize-handler
    6 D! p" C% w/ |2 M5 h, B) ~2 W0 U0 I2 I
  1390. session.serialize_handler = php9 C& |) ^& \) u
  1391. 9 Q0 R$ t- l9 v8 \5 r2 l
  1392. ; Defines the probability that the 'garbage collection' process is started
    * x5 }. O/ n) ]
  1393. ; on every session initialization. The probability is calculated by using( e: Q+ F% n9 B6 i
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator9 m  q# r: R! G2 ~+ G+ j; R
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    + _  E* ^1 t( j: u& u
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance1 H8 I9 Q. O- w. s
  1397. ; the gc will run on any give request.
    - N1 x3 g$ p+ }" h  j
  1398. ; Default Value: 1
    # Z$ ]/ K& P5 F& {  S
  1399. ; Development Value: 1; n5 b. S6 l6 R! x
  1400. ; Production Value: 1
    / `5 \% O% T! s. @1 w
  1401. ; http://php.net/session.gc-probability) S; q; r, M" Q0 x  a3 B
  1402. session.gc_probability = 1$ U+ [# R; H* t# D9 e5 k7 B, Z/ f
  1403. 4 K: x$ I# A% a: d% V
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    $ p0 ]& y3 k# p! f" w: m0 ?
  1405. ; session initialization. The probability is calculated by using the following equation:
    & S/ y, C5 s& y/ }: I, M! k% N6 ^2 j
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    6 }0 |; |$ N$ q& o
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    ) f- z! |, u# N# b$ V
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance6 p) I: B( U) `5 J6 m3 b
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    $ t# W$ y* g6 M
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    * i' a% y2 D1 ~6 M. a1 f
  1411. ; this is a more efficient approach.# G, ^. t/ j) ~7 u' j; X
  1412. ; Default Value: 100$ x" t! p0 R% I& r& ?
  1413. ; Development Value: 10008 J& [9 L; J8 @" L8 \) J$ a
  1414. ; Production Value: 1000
    ' J/ |' ?# ~+ ?; C3 u# B
  1415. ; http://php.net/session.gc-divisor
    0 G4 M6 K1 g/ _2 Q, ?
  1416. session.gc_divisor = 1000( p9 L9 c  y' H! O  l9 ~
  1417. ( A0 y; g( x+ r7 r
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and) k' n5 U. c0 V2 T
  1419. ; cleaned up by the garbage collection process.; L2 s; \" H, [$ ^/ ^- ^9 E9 S( V3 Y
  1420. ; http://php.net/session.gc-maxlifetime* }! o+ K& v. j0 ?7 r. }
  1421. session.gc_maxlifetime = 14406 _- H8 D1 Y8 b: \9 \. v, p! R
  1422. 3 R# P0 b$ r6 M8 l  A, W
  1423. ; NOTE: If you are using the subdirectory option for storing session files/ }. [% s2 o7 ^; ~) f5 T
  1424. ;       (see session.save_path above), then garbage collection does *not*
    5 U. }# n1 h; M
  1425. ;       happen automatically.  You will need to do your own garbage
    - x4 }( X: Y+ y. ]0 I5 j, |
  1426. ;       collection through a shell script, cron entry, or some other method.
    ' i4 C# q& z& H* v
  1427. ;       For example, the following script would is the equivalent of
    . m; o  s2 \. M3 V6 e# Z
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):2 O; Z8 o& [) K$ u2 {
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    0 E. ]7 ^+ v) ]9 ~

  1430. - k6 m% q) T) t6 m: T
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.0 Y6 @9 G* Y$ c' z
  1432. ; HTTP_REFERER has to contain this substring for the session to be* ]" r/ u$ X7 n/ \$ D
  1433. ; considered as valid.4 _1 a4 v; @& @7 S
  1434. ; http://php.net/session.referer-check
    ) @5 E& Z1 u2 S9 {$ f. R6 k" V
  1435. session.referer_check =
    5 G6 x1 `  G" E6 v
  1436. ; B! i, Y, T4 K# O# [+ S
  1437. ; How many bytes to read from the file.3 {8 }. ?, M3 `! g6 D5 ^
  1438. ; http://php.net/session.entropy-length0 E9 _3 W2 J5 N# \3 [  x
  1439. ;session.entropy_length = 32
    # J$ t$ N* N% \, P( Q
  1440.   D; O3 m) `: f% |; ?
  1441. ; Specified here to create the session id.9 V" w, D- v  k
  1442. ; http://php.net/session.entropy-file
    7 F) Y1 U% J, S" R
  1443. ; Defaults to /dev/urandom
    2 f5 o  v' [1 }( }" `4 Z# E
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom$ z- i# b& h7 a3 s* s, G
  1445. ; If neither are found at compile time, the default is no entropy file.0 u' v; R8 @$ a5 X2 F
  1446. ; On windows, setting the entropy_length setting will activate the1 b3 B& Y( |  }( ]( C0 V
  1447. ; Windows random source (using the CryptoAPI)
    0 n8 c) u, C, C/ a0 H
  1448. ;session.entropy_file = /dev/urandom
    ( h. F" U+ V. P; Y, ?

  1449. 8 G+ y$ H- i5 x6 }; Z
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    3 O8 {0 t4 d" J6 L( ~2 A
  1451. ; or leave this empty to avoid sending anti-caching headers.! _* Q: R% x# H: F. ^3 w; H, N
  1452. ; http://php.net/session.cache-limiter! x. K: G6 J6 Z2 C
  1453. session.cache_limiter = nocache
    % \) l. Y' R+ V# }0 h
  1454. / ~# W3 A# E% M) M: V3 f: L
  1455. ; Document expires after n minutes.
    , o* A" \4 ?  f1 M: y1 S5 ^( [8 W
  1456. ; http://php.net/session.cache-expire5 m+ _6 J3 r! e' P, M
  1457. session.cache_expire = 1800 V/ [, T- a2 G* Y: ]& o

  1458. 3 y; V) {- V. g
  1459. ; trans sid support is disabled by default.
    3 K6 B: l+ N6 R( {) w
  1460. ; Use of trans sid may risk your users' security.$ x; q7 [1 b( X
  1461. ; Use this option with caution.
    0 A5 f. a0 u2 A& ^$ s
  1462. ; - User may send URL contains active session ID' v4 G: J) f' X/ S  o
  1463. ;   to other person via. email/irc/etc.0 n4 g8 Q7 U8 D
  1464. ; - URL that contains active session ID may be stored
    1 A3 g- a7 n+ I; g; g8 M7 N2 B
  1465. ;   in publicly accessible computer.' d  d3 L! O( _7 b) M- A* ^
  1466. ; - User may access your site with the same session ID; x: ]( {( B4 x+ ]
  1467. ;   always using URL stored in browser's history or bookmarks.$ K6 _  j8 i8 k6 c0 m' S: ?
  1468. ; http://php.net/session.use-trans-sid" z' J% j0 A% ]5 h  r1 }5 Z3 l
  1469. session.use_trans_sid = 0
    # q( q4 D& c* \5 O- k

  1470. 6 q" Z$ W( q, Y/ l! e
  1471. ; Select a hash function for use in generating session ids., c. W* z( ?3 J  o' A9 X& l/ H
  1472. ; Possible Values  j+ U( F0 B; t
  1473. ;   0  (MD5 128 bits)
    ' _/ q3 H$ w( H2 G0 }7 _/ D/ R7 Q
  1474. ;   1  (SHA-1 160 bits)
    , S% v" ]# ?8 J+ e5 b( a+ I
  1475. ; This option may also be set to the name of any hash function supported by$ y0 v4 f/ }+ U& ~% L
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    3 [4 c6 C4 r* G# g' m. p8 e
  1477. ; function.% ]: p/ B+ V8 k# s; d
  1478. ; http://php.net/session.hash-function, l; b# y  d6 t' @
  1479. session.hash_function = 00 Q6 p( _. M/ H6 R- f! b: c! k; e/ z

  1480. / ~, F5 t: a! I/ d$ ~& e
  1481. ; Define how many bits are stored in each character when converting
    # G1 o2 p8 q, x) p- ~2 ^
  1482. ; the binary hash data to something readable.
    . ?# o, u% T. p. b! }: a4 L
  1483. ; Possible values:
    6 O; [" ?2 ^/ Q9 O8 [3 N
  1484. ;   4  (4 bits: 0-9, a-f)! i" e) G9 |, ^* H3 e3 ?
  1485. ;   5  (5 bits: 0-9, a-v)
    2 R6 y% Y4 e$ E1 U& u9 v
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    ' W8 o, C! [5 @& C
  1487. ; Default Value: 4
    4 [0 T5 p8 p$ t0 V+ n9 K- ]
  1488. ; Development Value: 59 P$ U( v9 \) {* |: o' P# Z
  1489. ; Production Value: 5
    : Y1 k. I5 w. a, D- S
  1490. ; http://php.net/session.hash-bits-per-character1 w1 s  _: ?) o* f0 ]
  1491. session.hash_bits_per_character = 5
    & f: [: N0 \6 g8 @( x

  1492. , ~* g5 D7 k  ?& I
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    6 x) c/ P$ d& U, m
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    % t4 ^0 ~& l* _
  1495. ; add a hidden <input> field with the info which is otherwise appended  P' }. R5 ?# ?
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    7 ^+ Y$ c# ^& _& _% L* {7 E  |
  1497. ; Note that all valid entries require a "=", even if no value follows.
    . D' ?0 p! m; O0 J: @
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    2 x  M' v4 T: ?# L5 L
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry") t. J8 G- X3 h! c8 \! ]2 o
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    - j0 C$ e" ^& z8 o. q* z1 b
  1501. ; http://php.net/url-rewriter.tags
    6 o: N+ q; j' v5 l2 d
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    ( q! q7 ~( l7 |7 O" U: d% p8 E
  1503. 9 p% T4 T: `0 A; M' ?
  1504. ; Enable upload progress tracking in $_SESSION
    . S. x( D' p* S7 F) H
  1505. ; Default Value: On6 q: @: }& Z3 B) M7 T: T. Z, F4 C3 i
  1506. ; Development Value: On
    1 I4 g7 Q9 r' ^& P# V6 r$ t
  1507. ; Production Value: On
    8 P% V! F# e) `: n
  1508. ; http://php.net/session.upload-progress.enabled: L, n  z8 B% U7 o  N
  1509. ;session.upload_progress.enabled = On- n( m9 c$ @7 N3 O7 [' |$ B0 P; O

  1510. % }1 v! l" I5 \
  1511. ; Cleanup the progress information as soon as all POST data has been read( r( m9 T/ N6 o3 {/ Y
  1512. ; (i.e. upload completed).
    - F3 [/ x$ s3 p; I4 a; n. k3 p
  1513. ; Default Value: On
    # |, W, `8 H5 e3 w- |
  1514. ; Development Value: On- O. V/ L$ B& v; z6 _& o
  1515. ; Production Value: On% ?: q' t0 u. b% n4 J# A5 n
  1516. ; http://php.net/session.upload-progress.cleanup
    3 L% D/ x3 @' i. ~1 J* X
  1517. ;session.upload_progress.cleanup = On5 N7 \7 m& u$ k( g: D; m8 _; j

  1518. % D$ {7 d- j0 Q  x1 x
  1519. ; A prefix used for the upload progress key in $_SESSION
    * k+ q. G& R6 A5 F
  1520. ; Default Value: "upload_progress_"
    2 Z* a. T+ a; D& I- k4 [
  1521. ; Development Value: "upload_progress_"0 U' M# m$ C2 v5 o0 k) P
  1522. ; Production Value: "upload_progress_"
    4 {3 f1 F% s& R( A! S; {
  1523. ; http://php.net/session.upload-progress.prefix3 m9 F) ?. J% e" ~
  1524. ;session.upload_progress.prefix = "upload_progress_"0 E' _8 \3 `3 j, C
  1525. 1 u0 a$ a& e0 Z' O$ U: u8 T
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    1 Z; t2 U* B- i0 j/ {
  1527. ; containing the upload progress information0 O+ @% E4 x0 O/ s
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    - N6 d7 Z* p! c/ d- p* v/ ^
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"% o2 w9 [: U! f" w
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    0 G# ^* W9 J5 y  _5 q. e3 X+ I
  1531. ; http://php.net/session.upload-progress.name3 t' ^! h) j; S
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
      @' ?9 @+ P0 Z% M3 U) C* b
  1533. ' a' u9 ]1 E8 }2 d3 r
  1534. ; How frequently the upload progress should be updated.- J! j; ]2 }& U8 T: u5 D6 O% X
  1535. ; Given either in percentages (per-file), or in bytes- r1 F7 |, n$ n! d; Z& _" _
  1536. ; Default Value: "1%"
    ! l' i: f8 S9 V# _: n2 D2 U
  1537. ; Development Value: "1%"
    9 {9 C  \8 t7 `( e  |" b
  1538. ; Production Value: "1%"
    4 Y0 m8 f+ H3 k7 g; B7 K
  1539. ; http://php.net/session.upload-progress.freq, Q1 c5 G0 G  n: Z. S3 t9 A$ |
  1540. ;session.upload_progress.freq =  "1%"- o2 M, Y: W& v" {

  1541. + m2 P7 j+ o- P3 r; E. u; b4 p
  1542. ; The minimum delay between updates, in seconds# q/ c/ C3 e0 @4 R9 |" N% W4 K
  1543. ; Default Value: 15 e" Q$ u) I2 L8 K  E
  1544. ; Development Value: 17 e0 C' V. G7 V9 {3 x+ B
  1545. ; Production Value: 1
    ' z( |1 O, ]$ M6 F0 E: [3 N
  1546. ; http://php.net/session.upload-progress.min-freq
    ' F. u+ T  k& |" O( q6 B
  1547. ;session.upload_progress.min_freq = "1"
    4 h* w% |' j5 V. b- ?! k! n* ~
  1548. 2 Z: I: W0 R$ m
  1549. ; Only write session data when session data is changed. Enabled by default.
    4 \3 ]1 }* s; }% L
  1550. ; http://php.net/session.lazy-write
    8 h7 j0 i: c# P) G; D! v
  1551. ;session.lazy_write = On$ {1 Q4 O) d" w( [

  1552. % K4 V5 ^, A6 J
  1553. [Assertion]: G1 w) \7 f7 r, w% h
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time), C* ?( c5 E3 V" [/ V! g+ O9 X
  1555. ; -1: Do not compile at all
    ) ], s& s% T3 N4 b' \5 t  t6 t
  1556. ;  0: Jump over assertion at run-time
    8 w4 W6 C) O+ Q7 W2 z: }8 y  x
  1557. ;  1: Execute assertions
    8 M5 f4 G+ |8 {  F! O. T3 Y1 h
  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)0 n5 ~  M# O* b+ }9 ~# V+ h  p
  1559. ; Default Value: 1' ~1 o2 V! ?0 R8 \, R5 V
  1560. ; Development Value: 13 z! @* S: P7 O
  1561. ; Production Value: -1
    - x3 L! z. r2 x( T. q' G4 d
  1562. ; http://php.net/zend.assertions& D# n9 e7 {  d- U/ I; b
  1563. zend.assertions = -1! E; J) L2 m7 H7 Z/ |

  1564.   k* V7 q  H* v( B3 ~& G
  1565. ; Assert(expr); active by default.
    0 [' y7 j# @/ B7 p
  1566. ; http://php.net/assert.active
    7 }$ J# o% P+ ]6 |) F
  1567. ;assert.active = On  H" Y1 }% F! x7 z3 J4 v

  1568. % H; W+ q7 V) K9 @2 P! T
  1569. ; Throw an AssertationException on failed assertions# _- k0 r. c% J( y
  1570. ; http://php.net/assert.exception+ O, W" V6 B- l7 {1 d. \( R
  1571. ;assert.exception = On
    3 Q, S" d# J. u; e

  1572. + r% f. Y: I  `) \4 m
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    $ G2 O1 u5 Z/ ?
  1574. ; http://php.net/assert.warning
    2 _" a+ N+ f" |7 r8 _; N7 g/ ^
  1575. ;assert.warning = On
    ) M! C1 f, P' _7 c

  1576. % D" n6 @4 L9 r5 D; V
  1577. ; Don't bail out by default.
    . M) @5 D/ m! D* w
  1578. ; http://php.net/assert.bail" y( L- C& G0 O- m; F
  1579. ;assert.bail = Off
    * S3 g3 C" p4 m9 f# @
  1580. * P; f3 `+ x% {3 u+ {& |9 U; W
  1581. ; User-function to be called if an assertion fails.
    1 s  \  R" e6 L& U+ i; S
  1582. ; http://php.net/assert.callback
    , z+ a8 _3 R4 f: ~0 F
  1583. ;assert.callback = 02 k. o8 b) e, H  u/ o, H% N

  1584. $ N2 F9 B$ ]. H4 ]* C1 _9 ]- Q
  1585. ; Eval the expression with current error_reporting().  Set to true if you want- \) U6 e1 }6 }$ I2 z5 c3 Q
  1586. ; error_reporting(0) around the eval().
    8 j: e0 _  P4 s9 [' `
  1587. ; http://php.net/assert.quiet-eval
    + y: f. X& P0 R0 E0 ~' f
  1588. ;assert.quiet_eval = 0
    ) e! K0 Q6 b% i. U4 |
  1589. $ }" Y# a8 a( i; V1 l& \) L
  1590. [COM]
    3 o: d0 n8 j! f7 T( k6 @: z
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs9 g; l, Z% A& I
  1592. ; http://php.net/com.typelib-file
    ! w! G( B8 |8 i( X& M8 B
  1593. ;com.typelib_file =
    5 W/ R% U- D6 T0 ]- x+ N3 ]

  1594. ! \; k# B& M6 [- N7 D( c4 i
  1595. ; allow Distributed-COM calls' U; U7 u3 N+ w# l: X3 j
  1596. ; http://php.net/com.allow-dcom
    ( P' X. K8 s& @7 A. G: A( a0 v
  1597. ;com.allow_dcom = true
    ( V' W" K( L9 n9 t; ~
  1598. 7 L2 c; Z* B2 O$ {4 M" ^2 |
  1599. ; autoregister constants of a components typlib on com_load()- ~) z5 z: O' d6 M, N
  1600. ; http://php.net/com.autoregister-typelib
    : E% q3 ]6 Q$ H, I
  1601. ;com.autoregister_typelib = true
    9 Q# x; I: j" U4 F. Q

  1602. ) S1 D- K4 ~" G
  1603. ; register constants casesensitive6 V# Q  w+ l% Q3 o
  1604. ; http://php.net/com.autoregister-casesensitive
    4 g. Q& V% I/ v( b3 B
  1605. ;com.autoregister_casesensitive = false: z2 X$ [3 g5 O4 Z4 f9 C; ]
  1606. ( |; x) q: o2 W& ~8 k8 u$ q
  1607. ; show warnings on duplicate constant registrations
    ) F& T0 }: t' b8 z
  1608. ; http://php.net/com.autoregister-verbose2 p7 v: V* H. X% C8 R  D: P, W" Q
  1609. ;com.autoregister_verbose = true8 Y8 R/ f* \7 l0 r. J
  1610.   u; Z3 L& g# D3 t( A
  1611. ; The default character set code-page to use when passing strings to and from COM objects.. @2 }# H3 m- d7 u
  1612. ; Default: system ANSI code page1 |" K/ t3 g; ]0 u" ]+ c
  1613. ;com.code_page=! C, g! p" J/ B. B& [- E; c) C+ u: [

  1614. % |/ _3 Z( k: H$ |& p) I
  1615. [mbstring]% ?, _# U; D/ Q4 o; A# a: ~
  1616. ; language for internal character representation.
    6 _: q* @: p; s% b4 Q+ r' |1 o3 U
  1617. ; This affects mb_send_mail() and mbstring.detect_order.* _% g# l; d0 l. b
  1618. ; http://php.net/mbstring.language
      g1 f# W! [1 s1 v/ ~
  1619. ;mbstring.language = Japanese: I( ^; ~  X% U
  1620. ; \1 Y+ j/ g/ N9 K* P( H
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.1 D+ _. R/ B4 r. {' o
  1622. ; internal/script encoding.
    : x# g3 u' Q+ `6 r3 I/ y/ g$ J
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    : e# i+ {( Y: N9 ~
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.9 V0 p+ P( e* Q% [- d
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding% |% y( V4 O+ {0 `- T, ~) w8 |
  1626. ;mbstring.internal_encoding =
    ) d& e/ [$ B# x+ l
  1627. 0 p! T% l; V8 R# U# M
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.! \* d  |2 @% @/ P8 [% H
  1629. ; http input encoding.. q! C$ {. x8 R  c. w% d
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    ' r' _* v- T8 \( h5 U
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    , l" ?4 j' @- M
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input5 Y' G; \3 s0 r( S
  1633. ; http://php.net/mbstring.http-input4 i- ^& U. P5 \3 _6 K! u
  1634. ;mbstring.http_input =& m1 N1 ?' [: i7 }( y
  1635. . s: P0 I) k4 ~: Z8 f$ G( Z9 d
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.( u. f- n4 y5 j1 J6 X& _4 g8 K
  1637. ; http output encoding.- v. B; z4 F$ d" n5 d
  1638. ; mb_output_handler must be registered as output buffer to function.
    ' ^* |- D/ F& D, }3 B( Q
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    : ?0 B' M& E& e/ a  A3 l
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    7 s+ H2 n  U% {5 n  k3 I) _' J
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    7 x3 N+ }; v, d: C
  1642. ; otherwise output encoding conversion cannot be performed.4 Z$ z4 _# h. ]! G; w# i  k6 c
  1643. ; http://php.net/mbstring.http-output3 S; O' S3 X& g  D
  1644. ;mbstring.http_output =
    6 k7 o6 S% z0 S& A

  1645. $ B+ k5 Y- q5 p
  1646. ; enable automatic encoding translation according to2 }, }) a: z4 e3 Z3 D- L
  1647. ; mbstring.internal_encoding setting. Input chars are) K1 v4 }! s" \5 ]
  1648. ; converted to internal encoding by setting this to On.
    0 b7 q3 e$ }! P9 }4 O9 L
  1649. ; Note: Do _not_ use automatic encoding translation for
      B; ]/ l/ N7 _) W4 q' ]
  1650. ;       portable libs/applications.( D+ `7 p0 o+ t, f5 Z! a4 g0 ~
  1651. ; http://php.net/mbstring.encoding-translation0 K* M+ ?9 O3 I/ @  T( B, F
  1652. ;mbstring.encoding_translation = Off
    , J; n  v) e2 O
  1653. $ I! C9 x0 e3 ?: D: b; Y
  1654. ; automatic encoding detection order.
    7 G  ~3 n5 |5 R2 y
  1655. ; "auto" detect order is changed according to mbstring.language
    # x$ }3 M8 e; l7 K* `) V" y! x4 U
  1656. ; http://php.net/mbstring.detect-order
      X' `- i/ x9 X. Z# [7 a
  1657. ;mbstring.detect_order = auto; _1 q( H! t% K9 A9 a( k

  1658. 7 g6 h( v: D2 x9 T. w
  1659. ; substitute_character used when character cannot be converted
    + K/ B. U; q% Y* b  I$ B
  1660. ; one from another( E' q; Y6 o$ A
  1661. ; http://php.net/mbstring.substitute-character$ }, C. F8 x* u/ E) O) j
  1662. ;mbstring.substitute_character = none
    $ N, R) `. O1 D! S: A
  1663. " O) x* b3 w' ?  \% ^0 i7 s
  1664. ; overload(replace) single byte functions by mbstring functions.' l) J4 M) h3 e6 w, u
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    ; \- Z- t+ U2 y, z
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    7 k- J7 w* Z: |  o
  1667. ; For example, 7 for overload everything.
    - q! P* x. v( B, ]% M
  1668. ; 0: No overload
    8 m4 @6 l9 a( r# b( ^" D" [1 \  J
  1669. ; 1: Overload mail() function5 H% p1 F0 b& I% ]3 G2 S% F; E! s
  1670. ; 2: Overload str*() functions0 r) I) V4 I$ p' R3 F* ^9 B
  1671. ; 4: Overload ereg*() functions/ Y+ \' c# V4 b* O
  1672. ; http://php.net/mbstring.func-overload9 P; D' e1 b5 K
  1673. ;mbstring.func_overload = 0
    : i" k/ D" X) e0 L
  1674. & B4 k: H1 S! K
  1675. ; enable strict encoding detection.
    1 S: g$ Y) a6 j1 }0 Y
  1676. ; Default: Off
    0 n( ]# b( P" w- ^6 e
  1677. ;mbstring.strict_detection = On
    4 C* |: J; o7 S* r/ |3 L0 e5 J
  1678. / ?  H) i$ a4 {5 Z! {
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()  C' v7 e4 W0 h4 Z
  1680. ; is activated.
    6 ^+ e1 u% C: ^( E- e
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    " i& ^! I. ^2 k9 y) G' d% c0 T
  1682. ;mbstring.http_output_conv_mimetype=9 P- s8 R4 Z; o

  1683. " S" {* t$ ?" M2 O. V' Z
  1684. [gd]/ W% j4 \: T7 X$ R
  1685. ; Tell the jpeg decode to ignore warnings and try to create6 ^5 A; D0 L! b+ m  U' \
  1686. ; a gd image. The warning will then be displayed as notices
    ' L+ h8 O. l. Y) ]% Z8 _. ]
  1687. ; disabled by default( N* s6 u$ `7 s" q6 l8 T
  1688. ; http://php.net/gd.jpeg-ignore-warning8 U0 J- Q* p5 z- K- j5 `
  1689. ;gd.jpeg_ignore_warning = 06 w- I. ^& [# K3 J* A- s7 b5 B. {" n, z
  1690. 9 c9 Q% e  |9 U. U7 E
  1691. [exif]/ h5 C3 z3 Y- `# m" u
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    1 z! e' u% T1 I9 \
  1693. ; With mbstring support this will automatically be converted into the encoding# g$ M! h( t% g* \* A8 X& j
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    8 i+ j; u4 ]8 x0 q- d
  1695. ; is used. For the decode settings you can distinguish between motorola and
    % r1 O% z! K0 T
  1696. ; intel byte order. A decode setting cannot be empty.
    . }& P3 ?% C' T0 H, a0 G, w7 ~
  1697. ; http://php.net/exif.encode-unicode
    ' f, y1 ~7 D( E$ B0 S) V
  1698. ;exif.encode_unicode = ISO-8859-15
      Q- [1 h0 s. Y

  1699. 0 K) J/ z& B8 D
  1700. ; http://php.net/exif.decode-unicode-motorola
    ; n* w7 m+ I2 d% P# E
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    - G6 n/ |- R4 j7 C( j! l* S8 E
  1702. * c, j  u& A0 w9 }5 [. H
  1703. ; http://php.net/exif.decode-unicode-intel! j$ d7 _* O' v. u5 r
  1704. ;exif.decode_unicode_intel    = UCS-2LE: C+ W% T& \2 G% u9 o: `
  1705. & S" ]9 k1 @5 K, s/ w
  1706. ; http://php.net/exif.encode-jis
    : K1 M! E0 l0 t& i: M! J& o
  1707. ;exif.encode_jis =
      [+ {3 b5 F" N4 p5 n$ D

  1708. 0 u3 F9 {6 G' _+ {$ @& \
  1709. ; http://php.net/exif.decode-jis-motorola* c" t( {4 n$ u& b% p8 K  R' W
  1710. ;exif.decode_jis_motorola = JIS
    2 d  D1 n* F/ Q
  1711. 3 y! n. a9 G4 x
  1712. ; http://php.net/exif.decode-jis-intel; Q) d, T4 \* q3 x  h9 F- @" T
  1713. ;exif.decode_jis_intel    = JIS
    * D. ~$ H- [3 E% U- C+ Y' ]# ?

  1714. / d8 i2 c' A% N% R7 Y+ ]
  1715. [Tidy]
    . |) L( o- F3 B8 ]3 `% y( E" ?
  1716. ; The path to a default tidy configuration file to use when using tidy
    + Y9 T) F8 H* A4 i' q
  1717. ; http://php.net/tidy.default-config- z: ]8 p$ L1 _# H
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    7 b' h+ g5 _  t; Y  X& {5 M' f

  1719. ; M0 m+ J7 x% n& O  y
  1720. ; Should tidy clean and repair output automatically?
    ) p* O8 r  ^7 M
  1721. ; WARNING: Do not use this option if you are generating non-html content
    3 R7 f; n# j4 L( N9 F$ X6 V
  1722. ; such as dynamic images2 M, Q7 `- [" G& I7 H. d
  1723. ; http://php.net/tidy.clean-output
    2 K. H$ O8 T8 C' G$ @" R
  1724. tidy.clean_output = Off
    7 h9 c  e1 A& _- x

  1725. $ m% T  @# a* v3 [) C9 x% F6 \
  1726. [soap]
      G5 _  c" z' O5 q
  1727. ; Enables or disables WSDL caching feature.
    5 Q! l  f& X2 d2 G& P0 b, s
  1728. ; http://php.net/soap.wsdl-cache-enabled; U, Z1 D* _: J- i
  1729. soap.wsdl_cache_enabled=1
    % A/ s: X( v3 n* s9 I% h! ?
  1730. & _6 W! L( o2 s  e# g
  1731. ; Sets the directory name where SOAP extension will put cache files.7 p5 R- A$ A9 s- `. r5 T9 w, O, l
  1732. ; http://php.net/soap.wsdl-cache-dir
    , y4 {4 |; ^" }3 d- N+ g" Y1 z
  1733. soap.wsdl_cache_dir="/tmp"
    , s' l4 M8 r, u: L% J) t

  1734. 9 N& b# C3 i7 \5 w& e
  1735. ; (time to live) Sets the number of second while cached file will be used9 s- W( l: {; a2 u2 T
  1736. ; instead of original one.
    : F& S+ o; }  K! H' ?: `, w, \
  1737. ; http://php.net/soap.wsdl-cache-ttl
    2 M& s* s& M! b4 W# v
  1738. soap.wsdl_cache_ttl=864002 O+ I4 R8 K! ^7 t/ i  p

  1739. * z! ~" @/ l3 Z! e8 r
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)+ C+ z1 S9 V0 M% n' y/ n; X- V
  1741. soap.wsdl_cache_limit = 5. k% p1 C/ E7 y  i+ W& z
  1742. & @. x. p! L4 {" Y0 T
  1743. [sysvshm]% r, G( o2 G: _6 I, R" r
  1744. ; A default size of the shared memory segment2 h& ]: H# }+ x
  1745. ;sysvshm.init_mem = 10000
    , [% _9 R$ s! ^& ]% u. B$ a

  1746. 8 c5 {7 }3 i0 ^3 o8 P+ w
  1747. [ldap], A& q2 U: z" p  I" Q
  1748. ; Sets the maximum number of open links or -1 for unlimited.
      I' T8 T( H; V; S6 E
  1749. ldap.max_links = -18 @; _0 e; t3 y5 L1 e* H
  1750. & O( {, p! t$ r- [6 W" [9 ^# s
  1751. [mcrypt]5 M( c6 n/ C- @9 V. c) }
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    ! {7 G5 y% S! Z1 X2 ]5 d  n
  1753. ; U0 p6 u0 l. S5 m: n0 ^! A
  1754. ; Directory where to load mcrypt algorithms
    & ^; }$ ]: |# |' S
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)! |8 b& n/ _, u
  1756. ;mcrypt.algorithms_dir=* g; d1 @0 |. \! a+ r" }$ ]
  1757. 8 {6 i: w6 j0 m
  1758. ; Directory where to load mcrypt modes
    + j& B$ X! s6 m6 J, ?! c3 E( b
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)& R6 J) B5 e, [5 m, a
  1760. ;mcrypt.modes_dir=% q) @) i$ P6 d. f

  1761. / `7 j7 [2 M% m+ U" |* h  I: I
  1762. [dba]7 c& |- g6 |* y  y
  1763. ;dba.default_handler=+ I) ^4 Z8 a9 X5 o4 U& c

  1764. . e& _, \+ {  j& E
  1765. [opcache]4 t0 W0 H" T3 n: [7 R0 v
  1766. ; Determines if Zend OPCache is enabled
    & T. q; B% ], ^2 B' @( i
  1767. ;opcache.enable=0$ b( n  T" Z' ?. S$ F% F

  1768. ) Y) n' C1 C4 Z
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    & T5 J9 F! @7 r* U
  1770. ;opcache.enable_cli=02 j' H" m9 {4 a' N2 l

  1771. ; S! a  a6 N6 |+ W/ I. f
  1772. ; The OPcache shared memory storage size.$ o) z% A, F* W
  1773. ;opcache.memory_consumption=64! [, l# c9 P, h, j9 W2 N3 a

  1774. / o5 n/ ~# l5 v# c
  1775. ; The amount of memory for interned strings in Mbytes.# s$ V+ i0 p# |  T' T: e
  1776. ;opcache.interned_strings_buffer=4
    * D) A$ X5 z/ A& G5 j

  1777. 0 I' v% T5 }" m, X- d3 N
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.+ S9 q% P, l2 e
  1779. ; Only numbers between 200 and 1000000 are allowed.! O3 |1 _. e1 ]
  1780. ;opcache.max_accelerated_files=2000% d! ?$ @( y% ]* R/ A

  1781. $ w9 N/ Z4 Q2 {1 Q8 V) u
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.4 Y( q5 X" t9 Q+ G
  1783. ;opcache.max_wasted_percentage=5
    # T2 k9 U7 H0 g# S" R

  1784. 9 c, j* S: U! k( w( r! G5 v+ p
  1785. ; When this directive is enabled, the OPcache appends the current working
    / z  F9 ]; j. c) R- q
  1786. ; directory to the script key, thus eliminating possible collisions between
    * \# u: U% b4 t, q; J
  1787. ; files with the same name (basename). Disabling the directive improves2 }8 g% i% g! X& ]' c
  1788. ; performance, but may break existing applications.
    $ V3 n2 v8 @# }, A) C* |& {
  1789. ;opcache.use_cwd=12 j, a0 |% z8 S* g8 f/ }6 X

  1790. 2 w8 N. [2 y( w+ t) z) @
  1791. ; When disabled, you must reset the OPcache manually or restart the! S$ e# H7 L4 ^! M$ H) S/ C
  1792. ; webserver for changes to the filesystem to take effect.
    : k2 _5 z- b1 w/ B# C
  1793. ;opcache.validate_timestamps=1. \1 H: C. j: [1 n! E
  1794. * I& S5 x& p. ~* k/ P- d6 u% [
  1795. ; How often (in seconds) to check file timestamps for changes to the shared2 b) t* `9 p, U3 W. ~" G
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    " M% M/ M8 `1 c! `" [7 }) c
  1797. ; once per request. "0" means always validate), S! `1 U& M' i* z! [+ y. f$ n
  1798. ;opcache.revalidate_freq=2& `: }# G6 Y6 }" f+ L

  1799. ) J; N3 [0 e5 h; w, R) y. b
  1800. ; Enables or disables file search in include_path optimization( q* X$ u* P3 h0 E
  1801. ;opcache.revalidate_path=06 v; x1 g9 T9 z! D, \3 i2 }  `( G

  1802. 7 p4 m# J: r- I; y+ U
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the9 c, O: }( c, y2 ]+ P
  1804. ; size of the optimized code.
    : q) ?9 @, {8 u$ ]: n' f
  1805. ;opcache.save_comments=1" _% @+ W. n4 @% z! t+ A& S8 V/ z& q& `/ X

  1806.   R. n+ P* q- W0 S
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code; b7 `6 `0 e) Z5 h, s; m- w
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.% E: ~4 ~3 P% J1 Y& [- F
  1809. ;opcache.fast_shutdown=0$ `! c- j6 o4 n( s
  1810. , b% ?% u( Y  a" z( V
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    9 e& R5 N& m+ u3 |3 `! t; I
  1812. ;opcache.enable_file_override=0
    * }, k& ^) z: s) I9 s9 J3 v2 i
  1813. ) B* N% R  E1 t4 i% U/ u* k
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    # o" v0 k+ o% S: P  A) |
  1815. ; passes
    & |' [3 i: b* O6 ~! A
  1816. ;opcache.optimization_level=0xffffffff9 C* a% d, [6 k) ?" k# Q

  1817. 9 ~& F2 Q9 \9 v' E% H  u. q, ]
  1818. ;opcache.inherited_hack=14 o+ X: s8 a- E# F( ~, t0 D( x
  1819. ;opcache.dups_fix=0
    / G+ `8 z" s$ r/ S5 e$ A
  1820. + x" H- g; D, l# X8 D
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    # u) H! [7 E) e
  1822. ; Each OPcache blacklist file is a text file that holds the names of files$ K' s; `9 ^8 [" ^: A
  1823. ; that should not be accelerated. The file format is to add each filename. i! b  ~) H5 z& I* v  q* q# N
  1824. ; to a new line. The filename may be a full path or just a file prefix
    / B1 e. t0 e9 @& ?+ ^8 M
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    8 v1 t5 j6 r' M8 ]$ @
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    ; S& q) A- w' l# M; v  H/ C
  1827. ;opcache.blacklist_filename=1 `  z  X5 _9 f/ J. @

  1828. $ X1 G. g0 H% _# c* V9 U# x. f9 ~: i1 r% `
  1829. ; Allows exclusion of large files from being cached. By default all files
    2 m/ |5 d9 U1 q
  1830. ; are cached./ u* A; u5 j) I1 f/ N
  1831. ;opcache.max_file_size=0- J' \( u) q) I) ]
  1832. * z  m* ^8 C: e4 u
  1833. ; Check the cache checksum each N requests.' c. V1 b: Q2 Q, F: @- _
  1834. ; The default value of "0" means that the checks are disabled.7 E6 P" H$ T: b) ~
  1835. ;opcache.consistency_checks=0$ Z1 w* E: o& C+ K  p
  1836. 1 X9 {, ?+ g% \. i7 B+ w. O8 p
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    $ w. V. {* Q8 J7 \9 V& l8 h  f* v
  1838. ; is not being accessed.  ]$ s# F) ?0 Z- h, {6 y$ Q! a: b
  1839. ;opcache.force_restart_timeout=180; h7 S" [1 b2 y% @) V
  1840. ! }7 N! }- {# A  i5 t
  1841. ; OPcache error_log file name. Empty string assumes "stderr".6 a2 o1 S2 n5 a7 w5 \
  1842. ;opcache.error_log=1 L4 Z* K9 V6 g  D. s
  1843. + ?, d5 M9 d9 d! c7 A3 S
  1844. ; All OPcache errors go to the Web server log.1 ^+ l: ^5 g, b
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged." @# ~2 `8 E4 m
  1846. ; You can also enable warnings (level 2), info messages (level 3) or+ w$ y3 f: k, y9 |6 m
  1847. ; debug messages (level 4).& ]1 c5 h* g& m0 v3 |, x7 J$ G
  1848. ;opcache.log_verbosity_level=1
    - h- E4 g: c- ^8 v4 K
  1849. / u' I4 a. ^& y
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.) s5 Q* |) _. J( s4 x
  1851. ;opcache.preferred_memory_model=
    ( \1 C0 b' i0 w5 s0 U/ I

  1852. % V/ J+ {, Z" ]* M7 Q
  1853. ; Protect the shared memory from unexpected writing during script execution.
    . p$ `' K/ o' r! x" V* o' B
  1854. ; Useful for internal debugging only.# a* m8 T9 R. ?* {
  1855. ;opcache.protect_memory=0
    1 o9 s( a( i5 Y& K, _8 I0 o

  1856. * E0 n/ x, }- H8 ?! p& A6 _
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is6 x1 g* m" l/ R, C, Y& T
  1858. ; started from specified string. The default "" means no restriction
    5 N6 p7 y/ u; G; @) ]
  1859. ;opcache.restrict_api=
    . [$ N- J* _7 g$ _) G# L- J

  1860. ) W+ g8 w4 r( c2 U2 E
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP' X# c9 \! [; M  F1 g1 D
  1862. ; processes have to map shared memory into the same address space. This7 ^3 }1 t/ s6 A3 Q0 S" f
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    $ d5 B+ ^8 S2 ^8 k
  1864. ; errors.
    1 s, x/ K; I. u! p3 U% E( ]
  1865. ;opcache.mmap_base=
    : g0 ]' W8 d  j1 N0 E6 A5 k# q

  1866. , u" _* b3 k1 i
  1867. ; Enables and sets the second level cache directory.
    " a0 `. C+ X6 m9 z) X
  1868. ; It should improve performance when SHM memory is full, at server restart or$ V  N  R2 H$ c; Y$ _0 T4 y" r
  1869. ; SHM reset. The default "" disables file based caching.
    & \" `( J, U8 L4 Z& o) O- v8 {3 [
  1870. ;opcache.file_cache=" P0 P+ A* K! F8 D$ n# ~. M, V! u

  1871. " g- ?) G! y" @2 l
  1872. ; Enables or disables opcode caching in shared memory.
    0 Z* \% {! }  Z# r1 k
  1873. ;opcache.file_cache_only=0; g% e1 @$ j. I6 i0 S9 ]# d* r
  1874.   P" L3 t: U7 U! Q! S
  1875. ; Enables or disables checksum validation when script loaded from file cache.  z4 P8 q# ~" f3 b7 d
  1876. ;opcache.file_cache_consistency_checks=1& \: y9 J7 s/ u% j( P
  1877. 3 p* j3 J3 M' B) E- ~+ R
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    / S) `, d/ V: O9 T
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    ( s8 Q9 Y4 Y. k
  1880. ; cache is required.- y  t& A, d0 g0 b. Y' |( C: g) N8 P
  1881. ;opcache.file_cache_fallback=1
    / q7 d0 D9 d0 ^1 ]& x/ p

  1882. 1 c0 F% O/ r7 x5 h6 a2 o
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    7 b( }6 I* {* l: K8 Y( o
  1884. ; This should improve performance, but requires appropriate OS configuration.- i! {: t3 P: Z. @5 q0 c  z
  1885. ;opcache.huge_code_pages=1
    3 s8 P# w( J& B
  1886. " A6 _& j5 r( v: B
  1887. ; Validate cached file permissions.
    9 e/ l4 v( P; N1 a0 n( X# f! b  K
  1888. ; opcache.validate_permission=0
    , Z3 n8 G+ O2 E1 R6 D* a# Y

  1889. $ E+ m  C, f  J% R5 t& |, B3 @' Q
  1890. ; Prevent name collisions in chroot'ed environment." s/ r- ]3 O* x* d" b0 o6 I
  1891. ; opcache.validate_root=0% r# [& v6 L1 R$ U% b9 t
  1892. 5 B. e  j. F2 p+ P8 C4 H" [# F8 I" A& i
  1893. [curl]3 K! T* c! K" H% E
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    8 s# Z' I3 z' r3 [9 \; {  @
  1895. ; absolute path.
    " R; O. A+ m2 t
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt& i, @6 M. m7 r: k' K; n& Q8 ]9 d& V

  1897. ; j2 W( \; K" q8 f$ D5 f1 O
  1898. [openssl]: h& }+ C& _. P6 _- i
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    ( b$ f- _7 }3 Q# o, ?8 S9 K4 V
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should/ b- i# T5 Z9 O; z, O/ G" X
  1901. ; not specify a value for this directive as PHP will attempt to use the
    6 K1 R- Q- V$ S9 S$ p6 {( }( `' N
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    - S" D* H; X* r" Q/ t) A0 D
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    2 P8 }1 K- I2 [0 ]' A6 r& p
  1904. ; option.3 _/ o0 D. h4 d2 I
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt) T: i4 ]9 g* R+ s% p6 o% E
  1906. 7 ^/ C3 p7 x# \# l" s) K
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    9 y8 S  u( z3 _1 q3 C% r
  1908. ; directory pointed to by openssl.capath is searched for a suitable$ L. u8 }/ p0 |7 D. `7 [1 Q
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    + l' M/ v% H& K; _" Z3 I% ~% f
  1910. ; Most users should not specify a value for this directive as PHP will0 D$ M; W5 M$ q- U# v3 F7 R! K. R
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,0 L  P- k6 j" l% ?; T7 n) R1 a: R
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    * K& X5 e3 M5 ]# I3 P5 t
  1913. ; SSL stream context option.2 d& w8 _! {& J
  1914. ;openssl.capath=0 |! K9 v6 [5 p# ]2 V+ X

  1915. * z2 T; I  H/ Y2 a
  1916. ; Local Variables:  m0 T: r" ^2 V! a# O
  1917. ; tab-width: 4
      @: B7 i$ f- m5 ~( S4 X$ r
  1918. ; End:
    ( D, m+ _, ]1 k$ B5 g

  1919. # j% D/ t3 W. [9 y0 H
  1920. ;eaccelerator
    ' l! ]7 Q. Z( x- x# u2 f: X

  1921. " b7 A) L7 {- j+ r0 J; N- J
  1922. ;ionCube
    / c! E( F, I/ W4 u+ I+ E
  1923. 2 g; w4 M7 @- \3 K/ l+ ~
  1924. ;opcache/ O4 \3 L( ?! W4 y/ |7 o
  1925. ' s% B( ?' M- N2 w5 F
  1926. [Zend ZendGuard Loader]9 y1 F$ H5 F* R1 d# W  j% H
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    9 @, A, n+ @! }; g% h/ U( }
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so$ A% \$ l; _. t/ u9 v
  1929. ;zend_loader.enable=1
    ) [) s; D) s( `+ p. Z
  1930. ;zend_loader.disable_licensing=06 r6 I$ M- T; D* t# Y4 i' h' K9 U
  1931. ;zend_loader.obfuscation_level_support=35 |' |* i( g* t/ H0 x1 R
  1932. ;zend_loader.license_path=
    2 W6 E- Q9 B+ p3 o2 Y( K$ r
  1933. 9 [( p( U8 ]6 m" X$ b- k: r2 B
  1934. ;xcache
    1 \( K* w; a6 t9 L* M0 C% T  S1 `
  1935. & {& F: w& B4 e7 [$ b9 y5 ?
复制代码

. |9 y6 a4 n& w8 K& k, A- n4 N6 |  p. Y, F/ v1 a- P- w
0 f# f7 X, u9 P7 q3 U8 j% M% D
: l( {6 j0 u- b6 P. K3 j( _) m! _
& U& Q4 q+ U$ }
) G5 F& O1 q4 J
# l! e9 t" D, P9 s' M
PHP5.6版本原始设置
& m4 i( g9 p# y9 B7 L3 f5 |0 S9 I, C, E9 E1 _5 E* f: Z
  1. [PHP]
    . G/ Q2 v% N; X9 B' d4 H3 f; `
  2. 8 B, e7 x$ W7 O0 ?0 L) s- w+ x& h
  3. ;;;;;;;;;;;;;;;;;;;
    0 d- X. y- L8 l) e8 b6 |( u
  4. ; About php.ini   ;
    % |* j: d$ v' L9 k: v
  5. ;;;;;;;;;;;;;;;;;;;
    8 K5 O* `1 F8 f
  6. ; PHP's initialization file, generally called php.ini, is responsible for4 u5 _- F: b7 v" u# U5 ^7 k5 j0 t
  7. ; configuring many of the aspects of PHP's behavior.
    # x6 K2 o0 z0 H" l
  8. / O/ r2 m  W) [
  9. ; PHP attempts to find and load this configuration from a number of locations.0 |4 \  E* G# P
  10. ; The following is a summary of its search order:
    % w/ b1 w' `9 ^0 [
  11. ; 1. SAPI module specific location.- x4 E2 k7 J) o; h; J2 x# I8 l) T+ \
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    ! T: B" D  U  D! h+ D4 A, o3 w. g
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)8 ?; t3 j$ r6 R# o6 f& H  @% s! m% T
  14. ; 4. Current working directory (except CLI)
    9 O& B2 d/ D% h) {2 Z! f- q1 B6 ?
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    : g! P: s6 G% I5 T, ^  z; E4 j
  16. ; (otherwise in Windows)+ E: I+ d$ N5 U4 l1 O; G
  17. ; 6. The directory from the --with-config-file-path compile time option, or the- G& A. Q9 O6 s# [: U
  18. ; Windows directory (C:\windows or C:\winnt)
    7 s2 T  o/ C4 w2 F
  19. ; See the PHP docs for more specific information.
    - j  Z8 j" S( T2 B2 j( t
  20. ; http://php.net/configuration.file' h  P1 k! s  _9 q: ^/ w
  21. / v* V4 C% b2 ^$ Y' w$ ]
  22. ; The syntax of the file is extremely simple.  Whitespace and lines" k, L2 J6 f+ T8 @5 W7 F4 C* I- O" \
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).* g9 y$ h) {% B* Y( y" G
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    % d- }3 r$ X- t  U; l& f
  25. ; they might mean something in the future.
    8 U' w6 d& N3 C, C' `0 j

  26. ' m! `4 e$ B8 _% W& _1 x
  27. ; Directives following the section heading [PATH=/www/mysite] only
    2 h# W* W1 Y% c$ g$ V3 w
  28. ; apply to PHP files in the /www/mysite directory.  Directives. p. b+ G" {' T- ]$ |! M6 m$ c0 M
  29. ; following the section heading [HOST=www.example.com] only apply to% ]9 E  V# k, N, F/ W; [7 x7 e! d( u
  30. ; PHP files served from www.example.com.  Directives set in these
    3 e$ f7 j$ u* w5 r: w. o" @
  31. ; special sections cannot be overridden by user-defined INI files or5 p) ^  A7 d" M* I( R5 l
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under( z( e8 f8 ~9 \) e
  33. ; CGI/FastCGI.
    ) g2 r9 N# h3 b' E: D
  34. ; http://php.net/ini.sections
    7 V% w- I% i/ w

  35. ! Z  U- T1 u8 o5 q( \, A+ N
  36. ; Directives are specified using the following syntax:% G9 u, o+ Y# q
  37. ; directive = value
    9 E5 K5 K5 ]: G$ ?5 x; D2 f3 a. h  W
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.. }) w: M' P- W! f& Y  ?
  39. ; Directives are variables used to configure PHP or PHP extensions.
    * h. ]6 }. [" e1 f, I
  40. ; There is no name validation.  If PHP can't find an expected9 H9 i0 ?2 }$ s" [: z' m7 V
  41. ; directive because it is not set or is mistyped, a default value will be used.& T; a+ e' d" y* Q! @

  42. , I9 }$ h4 u" ^+ d% }
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one8 ^$ P) D/ m9 b( W
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    ; v) b+ Q4 c$ Q& o
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a; [% g) ]! K- ^
  46. ; previously set variable or directive (e.g. ${foo})" P! O+ m- G/ T
  47. / X1 c5 Q0 V, d1 z) d) Y: D7 M
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:  p" ?" H0 m$ P! `0 n; ?+ c$ Y
  49. ; |  bitwise OR3 B" I+ r8 @! Z
  50. ; ^  bitwise XOR  F. `' q4 I& x9 s% L0 r% H
  51. ; &  bitwise AND2 d/ ~7 q: w& K: c& B: l
  52. ; ~  bitwise NOT
    4 N- S9 y6 J& R9 F
  53. ; !  boolean NOT" ~! o- A5 t' S- ^8 E
  54. : b+ t& y# T. t3 f
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.' |% O! K! _2 |6 n
  56. ; They can be turned off using the values 0, Off, False or No.
    6 F; h9 ]3 h$ G0 T  `
  57. 4 _% D( W8 o' ?- g
  58. ; An empty string can be denoted by simply not writing anything after the equal. F# o# v% D( p* A
  59. ; sign, or by using the None keyword:
    " [' U* {2 V0 Y: F0 X& K/ ^

  60. 8 ]! n/ I& x* u1 j: O! v+ y6 q7 T  F
  61. ;  foo =         ; sets foo to an empty string
    2 e1 s% |$ |7 A6 k* C
  62. ;  foo = None    ; sets foo to an empty string
    ( o2 e& `6 Y& c: v3 m2 W
  63. ;  foo = "None"  ; sets foo to the string 'None'+ [, j* k  V" `3 t1 ^
  64. ( A) X" C+ i5 [1 k- n0 @
  65. ; If you use constants in your value, and these constants belong to a6 ]; s$ h3 s+ s) D' M$ W7 V7 G
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),5 _. g) B% \4 V7 |  N3 Y) S
  67. ; you may only use these constants *after* the line that loads the extension.( Y" c- Q2 ^  Q* `9 e- E
  68. 0 c1 E' [9 c% l' }
  69. ;;;;;;;;;;;;;;;;;;;
    , ?0 q8 |4 M( f' w: n
  70. ; About this file ;
    + }1 }. y, y# X. Y( a9 {% D6 m
  71. ;;;;;;;;;;;;;;;;;;;" O( b& \8 _, o9 F! w$ L
  72. ; PHP comes packaged with two INI files. One that is recommended to be used( @& N+ R, X1 z
  73. ; in production environments and one that is recommended to be used in
    0 b" L2 g- W% Q6 y
  74. ; development environments.0 _. l+ w- W5 W4 S6 `# x
  75. ( ^2 T: ^7 V. ?0 u$ Q+ O
  76. ; php.ini-production contains settings which hold security, performance and
    8 M9 U* m( u+ n  {' k
  77. ; best practices at its core. But please be aware, these settings may break% w1 O; B- L2 G. k
  78. ; compatibility with older or less security conscience applications. We2 K; R# L8 m, a, ]
  79. ; recommending using the production ini in production and testing environments.
      h6 G2 ]# C  l, t9 i8 j9 _( N
  80. / \. K7 `8 K% s; R& M
  81. ; php.ini-development is very similar to its production variant, except it is8 p0 Y" {! r1 D
  82. ; much more verbose when it comes to errors. We recommend using the
      {0 P5 R0 F  m. T3 M
  83. ; development version only in development environments, as errors shown to
    ) G5 ?4 _# j( f  Y8 M% G% d4 w
  84. ; application users can inadvertently leak otherwise secure information.
    3 M1 ]7 I" r- W  Y$ [. [
  85. ; K0 K9 I! I. W$ g
  86. ; This is php.ini-production INI file.& b& W. u, P" o' e# j% n. v" E

  87. " n; \- @  a# P7 T2 _( f
  88. ;;;;;;;;;;;;;;;;;;;, |7 y# q! `* n- J/ Z1 U! ?+ s
  89. ; Quick Reference ;
    2 ^5 r8 ^. i& |5 `7 a
  90. ;;;;;;;;;;;;;;;;;;;4 v" ?( j9 L; Q7 l, A2 |! z, U
  91. ; The following are all the settings which are different in either the production% c& J3 O6 U1 M0 G
  92. ; or development versions of the INIs with respect to PHP's default behavior.5 R, f5 u8 R% H" R, v/ M6 r6 p4 w
  93. ; Please see the actual settings later in the document for more details as to why' z- T, S7 K1 q! ]
  94. ; we recommend these changes in PHP's behavior.0 \" y; p4 z  }+ l, A# P! M8 s

  95. 4 Z+ _7 i9 ]% k, j: @: E8 V
  96. ; display_errors
    8 B; |, G0 m4 P" N
  97. ;   Default Value: On
    * a  v1 q1 Y2 }: k2 X
  98. ;   Development Value: On
    4 m; x9 Q' H; ?$ F* H
  99. ;   Production Value: Off
    3 r' _' E  J/ Y4 U' ~
  100. , B4 n  O* ~% Z9 h
  101. ; display_startup_errors  }3 y* i  o$ `) U6 I& s, G+ V5 v
  102. ;   Default Value: Off
    8 G* S) Z' y) l/ M/ L1 A2 `
  103. ;   Development Value: On
    6 x) r" x6 d; ?
  104. ;   Production Value: Off1 j" J' ~4 v1 B% ^# X9 ], G6 x
  105. * D9 \/ N4 n, q" F0 L: i
  106. ; error_reporting
    1 d) q1 v) D5 g' X
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    5 n! M8 r, p  p6 w
  108. ;   Development Value: E_ALL
      r% u0 X6 i" P
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT4 a" ~: s9 C9 f0 A) U: M: l

  110. 0 Q/ M7 e, d) N$ c! c8 c# F- p: y
  111. ; html_errors
    + b* {4 r/ ]5 \3 p6 |9 Q1 K
  112. ;   Default Value: On
    6 F9 D! v% j4 |' \" m
  113. ;   Development Value: On
    ! G% t7 ~, }0 [( C: y( ~# H2 F' @) O
  114. ;   Production value: On# E) T7 ^7 ~- Q  B1 S

  115. " g9 k  g( h' l" a- R
  116. ; log_errors
    . C8 W* L9 A: I% k
  117. ;   Default Value: Off- G6 F# x3 Q6 _
  118. ;   Development Value: On
    ' K3 a% G* P$ m1 s
  119. ;   Production Value: On; \" X- O2 j  Z  l/ M( X6 d
  120. ( r2 r" x; {% o$ N9 `
  121. ; max_input_time% X- X2 {% F  U0 E% w3 w5 v1 _
  122. ;   Default Value: -1 (Unlimited)) c, R; m" \- ~7 U- v+ K  }9 p
  123. ;   Development Value: 60 (60 seconds)
    + L7 n0 u& g: x5 O4 i, k+ z6 B- D
  124. ;   Production Value: 60 (60 seconds)
    , K$ T! X8 o+ ^+ W3 J5 V  a

  125. $ v& S. }0 p/ U8 p" P
  126. ; output_buffering* x' Z' x# N2 K! P3 s5 s1 Q9 e4 B
  127. ;   Default Value: Off
    - h1 @5 N' q& J
  128. ;   Development Value: 4096
    ( X6 |1 d6 X2 B- G6 v! i* ?2 c8 B
  129. ;   Production Value: 4096
    . N% N0 j- I/ Q. k' q/ T. D9 k; e
  130. 9 a6 f. B+ n9 H+ s
  131. ; register_argc_argv( X& t8 y) R& p) v2 m9 y9 |
  132. ;   Default Value: On
    6 ~0 C2 H0 D$ T& l
  133. ;   Development Value: Off$ c9 b( K7 i' z5 k9 v% ?( }
  134. ;   Production Value: Off
    3 s8 B5 a3 R/ f

  135. 6 [2 e0 g+ b9 u* q1 |
  136. ; request_order, f; |, D7 g7 s/ k4 x
  137. ;   Default Value: None
    8 d: \4 H& h; H0 M$ E; f
  138. ;   Development Value: "GP"
    % G2 m( t) y9 ^7 z; j+ E, z9 j
  139. ;   Production Value: "GP"" G8 Z( Q( Q2 Q$ D9 U7 d% p( w
  140. ( r: h7 U% \6 {+ X
  141. ; session.gc_divisor' \4 K1 I; p! H5 G& g
  142. ;   Default Value: 100
    / ?0 q% I) h& M) U. s
  143. ;   Development Value: 1000
    ( V" _1 @7 p7 x' o6 I/ q
  144. ;   Production Value: 1000
    " h1 Q4 @, `7 I! m& g
  145. 0 y' |: |5 U* @  ~& w  r) S
  146. ; session.hash_bits_per_character
    + B* ]+ T. u6 O; J+ j
  147. ;   Default Value: 4
    $ X6 ]# J* T$ B+ L* A. N
  148. ;   Development Value: 5
      t% ^( o; L* e' h" @( }
  149. ;   Production Value: 5; f# f# S. s4 }" X
  150. 8 P9 c+ \" K& f. L. }
  151. ; short_open_tag
    7 H# e- z  [' ]+ Y! [! T
  152. ;   Default Value: On
    : f4 S% R$ F: E# }8 g  o
  153. ;   Development Value: Off# m; ^% [) p  [8 \; u
  154. ;   Production Value: Off
    * I1 }3 P# W: a3 J3 V2 a6 l7 e8 v* K1 ^
  155. 1 ^8 m7 w. D/ \( i
  156. ; track_errors# k+ M! h- t4 w
  157. ;   Default Value: Off
    8 H% x4 d. T- [7 F
  158. ;   Development Value: On% v7 f) g5 j/ }4 c9 q
  159. ;   Production Value: Off
    6 k+ V  c7 w% D) R: H, P* b  k
  160. - v; C" M$ ?! M. l5 G/ ~
  161. ; url_rewriter.tags
    / v' s& R/ P. W: y) Z! k
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    4 N# B6 a( J/ `& g/ u
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"0 K) Q0 }/ T3 W% z2 i! x% Z
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"0 B! |: J( F( S

  165. 1 o/ L1 c+ _) N. z; _' f1 \
  166. ; variables_order8 V- N7 o( h2 n- L- V" K
  167. ;   Default Value: "EGPCS"
    0 r2 h0 N( H% I# C; q/ h
  168. ;   Development Value: "GPCS"
    8 q4 N9 m% Y: J' s5 T7 J: Z
  169. ;   Production Value: "GPCS"
    8 o7 }; z1 E1 l+ u1 e
  170. ' {% b/ Z1 r+ ^/ T) b( m
  171. ;;;;;;;;;;;;;;;;;;;;
    ; y- |5 b2 }9 H" A" m" U, ], Q: c% Y
  172. ; php.ini Options  ;
    . ^6 R( {- n. Z2 z+ b1 x
  173. ;;;;;;;;;;;;;;;;;;;;
    , ~4 g. _( ~" K$ E
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini", V" ^/ k# O; V& y) R
  175. ;user_ini.filename = ".user.ini"* u2 F) j9 S" K1 X9 T" g$ w

  176. . o" w3 a$ R5 v2 v7 g) h; E
  177. ; To disable this feature set this option to empty value! c" V9 y& u  p/ O5 v0 {! [
  178. ;user_ini.filename =3 @: d9 s( j. W/ G- R

  179. - X( A9 L& }* Y( C5 Y0 P
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)8 Q2 g" ]2 o; y3 N: v
  181. ;user_ini.cache_ttl = 300  Z& x- h! h) |
  182. . W- v, g: Q  E! Z5 u; ^; c
  183. ;;;;;;;;;;;;;;;;;;;;4 q1 }' d2 S# Y* G" s& d/ u( f" T
  184. ; Language Options ;
    8 ^' p: l0 P1 a& d( Q
  185. ;;;;;;;;;;;;;;;;;;;;) M- @9 @/ C1 S' s  c" h
  186. 0 {6 Z& |: e' W3 c/ c
  187. ; Enable the PHP scripting language engine under Apache.
    & o1 J2 U, ^% o  X
  188. ; http://php.net/engine
    ; v: `/ f! V' Z% }
  189. engine = On
    ) Z/ B! \2 v6 W3 M
  190. # l9 P/ A- q1 `# b; H% F
  191. ; This directive determines whether or not PHP will recognize code between
    ' y; N! U4 a* R8 W2 g
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    1 G/ {) `9 n7 x! s9 ^3 h9 H$ t
  193. ; generally recommended that <?php and ?> should be used and that this feature7 C8 n/ a& b; g( s. ?( e$ i
  194. ; should be disabled, as enabling it may result in issues when generating XML
    % q( {8 v5 B/ `2 x1 Y8 e
  195. ; documents, however this remains supported for backward compatibility reasons.
    5 i4 G: p# F) `, x7 u9 Q) H
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    " F9 d3 X% e* l7 B2 [' S
  197. ; used regardless of this directive.4 i% S( W: G* N; s4 w
  198. ; Default Value: On0 a, s! u' l' `1 c, X* s: [
  199. ; Development Value: Off
    0 r+ m: n$ {9 c
  200. ; Production Value: Off
    * b! f) w7 E: M2 q5 t5 I) z2 ^
  201. ; http://php.net/short-open-tag
    , e2 [4 k2 K( _2 S& S$ I: H
  202. short_open_tag = On
    ( D+ \) L3 y5 k& V7 n( S
  203. ' S2 _% R2 ?3 M" L
  204. ; Allow ASP-style <% %> tags.
    4 q1 K5 C! d0 k0 s6 r4 {" h
  205. ; http://php.net/asp-tags7 r2 G9 {/ T; l
  206. asp_tags = Off$ |$ M! R. S( Y" O" }3 O* L9 C3 }
  207. 8 F5 |4 b7 Y- V  q
  208. ; The number of significant digits displayed in floating point numbers.3 O1 @5 d2 t/ v- A) T* z! W8 F( A0 V
  209. ; http://php.net/precision
    , a' u. U) q" C" f( h5 |9 m& a
  210. precision = 14( l7 s, b$ U! ^: M
  211. 3 r/ a- x( p& z6 r
  212. ; Output buffering is a mechanism for controlling how much output data
    / N% O5 ]' A, K/ |$ K
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    , Q5 N8 C+ t8 f' O' P7 }
  214. ; data to the client. If your application's output exceeds this setting, PHP
    2 O: M; q' T5 V% k
  215. ; will send that data in chunks of roughly the size you specify.4 B, D! ~+ y( g1 w
  216. ; Turning on this setting and managing its maximum buffer size can yield some) R/ I4 g3 @5 `4 d7 j
  217. ; interesting side-effects depending on your application and web server.
    / `2 F1 h0 q7 A  c0 V, q; p' B" }
  218. ; You may be able to send headers and cookies after you've already sent output$ k6 Q8 L9 {; K! Y
  219. ; through print or echo. You also may see performance benefits if your server is
    - z: y! _4 S% Y' I
  220. ; emitting less packets due to buffered output versus PHP streaming the output6 t: h* d' f8 z+ X' L1 a
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
      J, b* r7 B: E) f' ^! u4 e
  222. ; reasons.
    3 Z1 e3 M: i% i1 Y( O$ N
  223. ; Note: Output buffering can also be controlled via Output Buffering Control- p' r; ^5 U* t# X
  224. ;   functions./ _5 h8 F5 j7 D3 Z+ l6 S) ]8 ]
  225. ; Possible Values:
    1 E- G) H. x9 }) c
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    : U. O8 A2 N' p: g- Z6 m
  227. ;   Off = Disabled
    ' \, {4 G; q# E1 O$ E$ n
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    % k1 I4 ~& `4 S7 t% Y) |, N6 l) [
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
      \! S) [* O1 I3 L6 W; R
  230. ; Default Value: Off& B4 {& c: t1 F& @" \3 x; \
  231. ; Development Value: 4096
    2 f. X8 H5 Y) o& u& H! {
  232. ; Production Value: 40964 x3 |2 k0 a) L; T$ T9 F
  233. ; http://php.net/output-buffering
    ! G/ I$ T6 w% U# ]7 \
  234. output_buffering = 4096
      D0 ?  Z. }' ~8 M- }
  235. 4 ]5 m4 V. l1 X0 e1 F( l6 j! z: i: |
  236. ; You can redirect all of the output of your scripts to a function.  For) H  s; S7 {( G9 D& q
  237. ; example, if you set output_handler to "mb_output_handler", character
    - C1 O8 F  [& ]7 y  g! \
  238. ; encoding will be transparently converted to the specified encoding.
    " g" t( S1 S6 F( f
  239. ; Setting any output handler automatically turns on output buffering., F3 Q. v  u& N, r0 J- J& o0 t. p9 ^$ ~
  240. ; Note: People who wrote portable scripts should not depend on this ini
    % c( \% }) f8 B$ d) n6 h& Q
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    * h7 j: J( _8 j2 t: r
  242. ;   Using this ini directive may cause problems unless you know what script2 a& _! q2 ~! _( d- p) _
  243. ;   is doing.- R4 p" V6 E! r* A& e
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    - e/ a: Z! d3 G. Z% E; F0 T5 l
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".# D1 U! a0 b6 w/ j- a! s" M6 l
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    / u+ c$ y/ ~( l' U2 o
  247. ;   Instead you must use zlib.output_handler.' H# k* G/ L* H# X% e5 @4 D
  248. ; http://php.net/output-handler
    . j9 V. D# L! @& b' q
  249. ;output_handler =& V" @, d1 |: J$ y2 L. b

  250. ) k- u* G1 ]% {9 w) b5 t! A1 {
  251. ; Transparent output compression using the zlib library6 h6 k: w5 t  N
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size9 i$ M& i  O8 k4 {
  253. ; to be used for compression (default is 4KB)
    " k4 R- c, \- z* t8 {1 f
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
      Z# E. N3 m/ S; \/ O
  255. ;   outputs chunks that are few hundreds bytes each as a result of5 `  T7 _9 \8 M$ l
  256. ;   compression. If you prefer a larger chunk size for better/ D2 ?7 d" o2 ^9 l
  257. ;   performance, enable output_buffering in addition.3 d1 x# a5 f! N4 Q% h
  258. ; Note: You need to use zlib.output_handler instead of the standard
    0 C3 k8 [# @* l7 E3 D- O4 q
  259. ;   output_handler, or otherwise the output will be corrupted.5 A8 {4 w- D; c  s7 F( s
  260. ; http://php.net/zlib.output-compression
    % I- I" P$ i5 S0 w
  261. zlib.output_compression = Off( a% ~- k) I0 t) s0 q2 t1 M; W' ]
  262. ; ?+ r, f' z+ }- Z* |
  263. ; http://php.net/zlib.output-compression-level
    . L/ d! U3 k- U) P+ Z4 k% w7 x$ t
  264. ;zlib.output_compression_level = -11 B# b8 \) f4 T% b

  265. + t5 A0 G2 ]: |, H" }4 n# v. J3 F
  266. ; You cannot specify additional output handlers if zlib.output_compression
    ! p) P  l5 r9 i
  267. ; is activated here. This setting does the same as output_handler but in! z: g0 z( O3 S2 _, M2 b1 c6 n
  268. ; a different order.
    , i9 j* s8 ^, [; K' e
  269. ; http://php.net/zlib.output-handler
    ( q- I2 Q8 H- x4 ~9 U4 z
  270. ;zlib.output_handler =
    3 c% V+ F4 ?! b6 |7 U6 j

  271. ( J  _4 R! p  c9 N4 G
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    1 `* g( s$ G/ N
  273. ; automatically after every output block.  This is equivalent to calling the
    ; o3 ?5 J2 x7 t8 q( ^6 C. n
  274. ; PHP function flush() after each and every call to print() or echo() and each
    : k& }; D3 z/ H5 e) a' s
  275. ; and every HTML block.  Turning this option on has serious performance/ i# P/ C* a; ?( o2 q
  276. ; implications and is generally recommended for debugging purposes only.
    8 U! L7 P: c6 F8 U
  277. ; http://php.net/implicit-flush; g' W& E) a1 u2 X
  278. ; Note: This directive is hardcoded to On for the CLI SAPI& R- L5 y* J( q. |. x  g
  279. implicit_flush = Off- O: D6 Y: q9 F

  280. ( T# D& r0 O; k; }/ b4 d: Z1 h& M
  281. ; The unserialize callback function will be called (with the undefined class'6 ~' b4 S1 O6 _9 }6 [
  282. ; name as parameter), if the unserializer finds an undefined class! _$ n8 g" X5 {; L
  283. ; which should be instantiated. A warning appears if the specified function is7 o: m8 E+ ]5 P6 l
  284. ; not defined, or if the function doesn't include/implement the missing class.
    ( k; t* ?6 u$ ^8 B) n3 E* ~
  285. ; So only set this entry, if you really want to implement such a% B; v% n: D0 Q3 P  I* W! O( j
  286. ; callback-function.5 @2 a! d; g& `& a1 w- `/ `; T( |
  287. unserialize_callback_func =
    9 U1 s4 {3 p+ w( @

  288. % q: ]; K4 o- D, K& A+ o6 c% f6 z
  289. ; When floats & doubles are serialized store serialize_precision significant
    ' a# l+ x" X# v# @4 Z
  290. ; digits after the floating point. The default value ensures that when floats
    " I1 C4 U' A5 J+ X7 l0 p2 x! O6 c
  291. ; are decoded with unserialize, the data will remain the same.
    1 p; ~+ i9 r2 ]  l4 k6 K! ?6 R
  292. serialize_precision = 17
    9 c, r' S9 Q$ U, c
  293. " Q# N0 p6 o, z8 M* z
  294. ; open_basedir, if set, limits all file operations to the defined directory5 P" i1 @) d) ^! f/ i
  295. ; and below.  This directive makes most sense if used in a per-directory' h1 f) O& q+ d- W6 u3 V+ k" `
  296. ; or per-virtualhost web server configuration file.
    ' u, E& e" N% }+ J7 F
  297. ; http://php.net/open-basedir
    $ r! O, r; J! t; w; z9 x
  298. ;open_basedir =
    , ]0 }+ C0 N2 x6 y
  299. $ z, H. l1 h5 {/ d$ H# ?
  300. ; This directive allows you to disable certain functions for security reasons.
    3 Z0 b3 a6 f: [. E
  301. ; It receives a comma-delimited list of function names.- z! `1 X: J: r3 ^7 i! s' r
  302. ; http://php.net/disable-functions3 r' u7 ?5 q( U# S' ]3 n
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru+ W( n# m: x* L, S9 N6 A$ c
  304. ) N: c; f( L- @* j9 \
  305. ; This directive allows you to disable certain classes for security reasons.- p; ^+ A9 d8 w
  306. ; It receives a comma-delimited list of class names.( E- r; s' Y+ `" i/ y
  307. ; http://php.net/disable-classes
    4 }1 r' C$ }0 M8 N* y9 a/ o  @; \
  308. disable_classes =2 S  _6 v! Q  F# W8 o$ p5 h
  309. ( x# L% s7 l- Z% s8 ?" s+ ^
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    % `+ P4 @# U- }
  311. ; <span style="color: ???????"> would work.8 A* N3 a# Q: h0 s3 o
  312. ; http://php.net/syntax-highlighting" ?3 W( O3 R5 J2 g- K, q( v
  313. ;highlight.string  = #DD0000# S: I  w3 w* g: |! f
  314. ;highlight.comment = #FF9900# i+ L1 V2 _3 c
  315. ;highlight.keyword = #0077001 D' ~4 X# g, W- O6 R+ K) d
  316. ;highlight.default = #0000BB) J2 `6 [' z! P* M! Z: B
  317. ;highlight.html    = #0000009 s3 X' d% `4 A8 }
  318. ( c- L3 v! W! l  x( t, O
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    ' ~' E" e' k4 m# {
  320. ; the request. Consider enabling it if executing long requests, which may end up
    9 L) @* s+ z) p6 O  I0 A
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior+ {  `  k8 }  n# _$ b- ]8 u
  322. ; is to disable this feature.
    - r% }  j# ?: G
  323. ; http://php.net/ignore-user-abort
    3 t9 |" a8 C, \3 D9 Y/ ], \/ I7 e7 Z
  324. ;ignore_user_abort = On4 L' m+ X0 Y. U' ^& v

  325. * c7 V0 W; o! O7 T2 @
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    " l8 W: O! Y% D' F( M) H8 N
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    5 ~% d/ S% x. D, U' T0 t; [, P
  328. ; the file operations performed.
    5 h) L7 \: c+ Y7 V6 x+ Z( E
  329. ; http://php.net/realpath-cache-size+ C9 [1 c+ d" e- @2 I" E. h
  330. ;realpath_cache_size = 16k5 r- t$ [, O  d- Q5 w( K/ D. j5 v: p
  331. 8 j& M; V% g2 e9 G6 i/ }
  332. ; Duration of time, in seconds for which to cache realpath information for a given
      e% d, Y6 X, U9 e
  333. ; file or directory. For systems with rarely changing files, consider increasing this1 w! @3 d" J: Z: f1 g
  334. ; value.
    6 V% `. M, ~: @1 k3 i, K* F! ]8 X
  335. ; http://php.net/realpath-cache-ttl
    8 p# `  r/ {. U% ?" S
  336. ;realpath_cache_ttl = 120# o9 m% [( y0 r6 p4 G6 g
  337. 9 f( Z4 q8 N% i# `4 |  p2 H4 [. s
  338. ; Enables or disables the circular reference collector.
    . C" q3 Q8 a' C2 t- `* I  A8 i$ l
  339. ; http://php.net/zend.enable-gc8 C8 ~5 C) @4 Y' U; G- H# n4 j
  340. zend.enable_gc = On' H/ l8 G5 p1 |/ N/ {6 V* b1 A
  341. : H$ J/ s' p: [3 {
  342. ; If enabled, scripts may be written in encodings that are incompatible with) w/ U+ A1 `3 T# t3 R" ]
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such1 ?4 Q/ P. `9 U" g6 ^
  344. ; encodings.  To use this feature, mbstring extension must be enabled.! p8 L8 W# V# v5 V3 {& `
  345. ; Default: Off* F+ I, l% z$ ?7 G6 T
  346. ;zend.multibyte = Off
    6 b+ ]% V+ X1 h6 w
  347. : Z+ q9 I4 P0 g; j8 A
  348. ; Allows to set the default encoding for the scripts.  This value will be used7 }5 O! }. d0 w1 }
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    ) G& P: _5 ]# [, d/ d
  350. ; Only affects if zend.multibyte is set.
    2 o& u7 F. V  Q, l3 f
  351. ; Default: ""  q- W; F4 l3 h1 l
  352. ;zend.script_encoding =9 s8 Z( h" K, i: [  W

  353. & h$ s! u2 N2 }8 o5 O6 [$ @
  354. ;;;;;;;;;;;;;;;;;( k9 h2 z8 b) p; G/ V
  355. ; Miscellaneous ;* ]% B* m9 m5 k7 w  U% ?
  356. ;;;;;;;;;;;;;;;;;9 i1 V! r# |5 B: O) f  a$ f, N/ M& V

  357. 4 R% l4 N  D3 O# d' _
  358. ; Decides whether PHP may expose the fact that it is installed on the server0 q+ ]4 R; J: `. `
  359. ; (e.g. by adding its signature to the Web server header).  It is no security, }- J( S1 `4 p0 v- d1 b8 d
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    9 |, p% c/ C/ J, }
  361. ; on your server or not.
    / Z! A0 W* R  Z/ L( A
  362. ; http://php.net/expose-php
    : z2 D' {* Y* A9 Y3 X7 B( F/ ?8 [7 {
  363. expose_php = On/ R* r$ i8 y1 x  ~9 f

  364. + k, t( @+ u% r4 m
  365. ;;;;;;;;;;;;;;;;;;;
    + D6 y, V, L7 J* S
  366. ; Resource Limits ;
    + c+ n6 E( P% s
  367. ;;;;;;;;;;;;;;;;;;;9 g5 B0 E2 R) K

  368. ( }0 h3 ]4 B) a  I" |4 _
  369. ; Maximum execution time of each script, in seconds
    3 F# h/ l2 X/ F! T6 u8 j
  370. ; http://php.net/max-execution-time' s! \; q0 u) d4 G
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI4 g/ A  K7 c% X. j! Y; `+ {
  372. max_execution_time = 300
    % D3 R8 i& z# I7 d- A
  373. & K1 i4 y) l7 C% {, C5 c. s! Z
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    9 J3 R- |9 ?. ?5 x- I' C
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    + }1 R' C6 g7 M. \
  376. ; long running scripts.1 t8 o- z+ r) v% z8 D
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    , u5 `/ ^1 z6 G. N) e: S
  378. ; Default Value: -1 (Unlimited)4 H( x/ }9 J! l& @
  379. ; Development Value: 60 (60 seconds)
    8 W3 V: |/ N+ [0 }: C
  380. ; Production Value: 60 (60 seconds)
    * P) ~% t+ P4 R
  381. ; http://php.net/max-input-time
    9 x( Q2 c6 \/ m7 {
  382. max_input_time = 60% T0 c3 d6 V& o# v( z$ W
  383. ( x0 G) A0 s& a. {8 i
  384. ; Maximum input variable nesting level0 R* ]8 P, W# v
  385. ; http://php.net/max-input-nesting-level
    # V* S# n; L1 O' V1 [
  386. ;max_input_nesting_level = 64
    ) G' P+ {5 u  _) i
  387. ; ^! V) R- ?' K
  388. ; How many GET/POST/COOKIE input variables may be accepted
    2 \! t4 ]& T& k1 a: z) Y
  389. ; max_input_vars = 1000
    9 ^0 a) {; @( W2 G
  390. ! _( M* C; G/ o3 g
  391. ; Maximum amount of memory a script may consume (128MB)4 ]/ S. X3 _8 O8 \# v: Z4 n
  392. ; http://php.net/memory-limit
    3 N* T# g. b9 C5 Y5 D! T6 }
  393. memory_limit = 128M3 d# G5 R/ c4 \8 _5 {& [
  394. 8 D1 J/ X3 D1 Z# b5 N5 \7 \
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6 f& G8 n% v% p9 g9 O/ D# k
  396. ; Error handling and logging ;4 @  j; F9 F1 K
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    - U0 D- {* D( I
  398. . T( k! w% U% I4 E% s
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    4 b' s4 I8 ]7 e  N5 Y4 c/ c% f2 o# @
  400. ; it to take action for. The recommended way of setting values for this
    5 [/ W. P0 v9 S
  401. ; directive is through the use of the error level constants and bitwise
    ; m( p$ Q8 i  z0 g8 S' i
  402. ; operators. The error level constants are below here for convenience as well as2 |* e, P' e6 n+ M% C7 v1 I7 L% f1 y
  403. ; some common settings and their meanings.7 g; ?- M! r+ E0 d: O3 H
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT+ H2 S- D' s/ ^
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    3 _7 }: q3 x/ Z/ s  G/ Q) ?% i% ]
  406. ; recommended coding standards in PHP. For performance reasons, this is the0 @* V3 }% }8 a- D3 J- i
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    3 d( K0 r+ d; H  k) c7 v
  408. ; resources complaining about best practices and coding standards. That's what4 Y8 A4 J4 m  P/ Z. l6 K* k8 J
  409. ; development servers and development settings are for.0 k, X& S' i$ t3 g" V4 k
  410. ; Note: The php.ini-development file has this setting as E_ALL. This# w/ L0 x- N1 c$ w% G3 }
  411. ; means it pretty much reports everything which is exactly what you want during+ J8 z- F5 B. X/ x0 j$ m! A2 c
  412. ; development and early testing.
    5 z! m5 s4 v9 v8 s9 o4 c
  413. ;% S" o' F) d5 m6 Y5 m0 h5 C
  414. ; Error Level Constants:- @1 B+ O) i2 A0 H- W0 k
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    - Q1 k( x8 Q6 W0 R, c
  416. ; E_ERROR           - fatal run-time errors/ y2 {+ O+ m) q/ Y+ a5 n
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors  f$ Q) Z/ t5 y" C- f3 f
  418. ; E_WARNING         - run-time warnings (non-fatal errors)* Z. U- o% G: x. X5 @" u
  419. ; E_PARSE           - compile-time parse errors
    . Z- i- _) z) Z
  420. ; E_NOTICE          - run-time notices (these are warnings which often result# m) s* L- Z! |6 W( a
  421. ;                     from a bug in your code, but it's possible that it was) g# K! M+ B6 r8 g, B; s- e& X( P
  422. ;                     intentional (e.g., using an uninitialized variable and* z% z5 }. D( R8 t: o5 k
  423. ;                     relying on the fact it is automatically initialized to an
    5 r' ]& G3 N4 i
  424. ;                     empty string)$ D0 c' C# ^2 m& h: G# d
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    : n0 @+ S2 A6 I0 s- J, J- S
  426. ;                     to your code which will ensure the best interoperability
    * X. X5 A: Q/ G# y% A4 w
  427. ;                     and forward compatibility of your code& _* @/ n- A- i" @
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup. T+ q) s2 |- a! c; Y
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's' l9 W" C5 u1 i8 b8 b
  430. ;                     initial startup; H2 A$ V: a. F0 @& v% h4 w
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    " J2 y3 I0 P: r+ m9 l, C0 y! l( x. x
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    : @  X0 \" J+ T2 R, X+ ^
  433. ; E_USER_ERROR      - user-generated error message9 A* x2 L% D3 `* R2 [" m
  434. ; E_USER_WARNING    - user-generated warning message6 N* j! J$ J# \1 G! p$ i9 u/ E+ a1 o
  435. ; E_USER_NOTICE     - user-generated notice message0 f# \1 L$ |, G5 Q0 B- W  x# K
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    , p! {: _/ d& u0 Y9 _  y
  437. ;                     of PHP
    7 u) _& N! M4 i- ^% c/ B
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings/ ?) J6 \4 i1 t
  439. ;) g+ \" A- [" j( m/ Y( O# ?3 s
  440. ; Common Values:! a0 T8 v( c5 O; Z
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)9 q: l$ @2 L* R/ E' ?  y
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)6 Q0 E# _/ G- m5 r! C
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    / ]5 I4 D7 L$ T3 ?
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    7 ~' G( c# E3 ^* O1 }
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED1 e, @' G, i6 H5 w: n
  446. ; Development Value: E_ALL+ V3 o' G8 l0 q, c- ~# ]: e
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    " U  a; x; y6 |: ?5 e
  448. ; http://php.net/error-reporting
    2 k0 S; `# ]# ]+ E% T
  449. error_reporting = E_ALL & ~E_NOTICE
    ' y( v6 s% d* q% W0 u
  450. 0 u1 a* T6 ?7 C
  451. ; This directive controls whether or not and where PHP will output errors,
    0 f( P. L+ }% v7 ^
  452. ; notices and warnings too. Error output is very useful during development, but) q1 j" Z' o3 h! W) o
  453. ; it could be very dangerous in production environments. Depending on the code
      |( q, _: Q: ^' n6 P3 t
  454. ; which is triggering the error, sensitive information could potentially leak4 A+ s" l% K6 a% ^0 l
  455. ; out of your application such as database usernames and passwords or worse.1 E7 H/ n' F! Z! C/ A8 I$ J
  456. ; For production environments, we recommend logging errors rather than
    5 y! m' [7 _( h( a  m+ g1 T
  457. ; sending them to STDOUT.4 J0 _  v0 N1 `: R2 @
  458. ; Possible Values:3 ]9 m& O, U0 j/ t0 d
  459. ;   Off = Do not display any errors
    5 C. ^/ U9 e& k! X/ ]) e* y
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    , a1 y0 u: T- a( p' j6 r
  461. ;   On or stdout = Display errors to STDOUT
    1 o$ s/ }. o! ]3 A# [$ @
  462. ; Default Value: On3 w4 P0 K# ^6 y% ]$ G0 R
  463. ; Development Value: On
    ; ^' _2 U$ p. H) N9 c4 o' D* R& Z
  464. ; Production Value: Off
    & i$ J6 j: w/ e  t6 `; ?& E, u
  465. ; http://php.net/display-errors
    , o* \+ M% E1 b3 P9 d, i6 X+ S! B0 U
  466. display_errors = On
    7 B! a2 \+ e; Y, P* q, `2 ?$ v) j
  467. 8 ^4 b* a, Q+ S* c" W! z. `& d
  468. ; The display of errors which occur during PHP's startup sequence are handled! r( C  i1 i# e& Z
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    4 G+ w( x1 V, L8 M. r- l
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    & Z/ A4 f6 }" ?) _& J
  471. ; debugging configuration problems. We strongly recommend you4 l6 c# g) O. }; s
  472. ; set this to 'off' for production servers.& \; E- [; F+ U# P
  473. ; Default Value: Off
    7 z" ^; Z1 y! _' Z
  474. ; Development Value: On  y# ?8 ~' I7 q$ T: e3 |
  475. ; Production Value: Off
    $ ], {) j7 v/ S" T
  476. ; http://php.net/display-startup-errors
    9 y& ?7 h- [) j( a8 \3 U: ^
  477. display_startup_errors = Off& |9 [: k& Z# x* J& d: o6 L. C3 z5 n
  478. 6 X0 K( S( U4 m$ z3 F  k1 }
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    . e) c+ Q* K2 T" l2 q; t; U# n
  480. ; server-specific log, STDERR, or a location specified by the error_log
    / r1 u/ u3 E+ N  e/ f5 f
  481. ; directive found below. While errors should not be displayed on productions
    ! L+ r0 u5 N% h6 i
  482. ; servers they should still be monitored and logging is a great way to do that.
    1 V0 `& i; O8 q
  483. ; Default Value: Off4 f- O$ u) F" a5 B
  484. ; Development Value: On
    / W2 E2 m8 I+ R4 o7 {3 e- p0 K# z
  485. ; Production Value: On) o; V/ r8 D1 J0 D5 n
  486. ; http://php.net/log-errors
    2 ^& C% @  Y1 F  l; h
  487. log_errors = On
    5 U9 z. g( v- i$ P0 d2 t4 m' C1 }! C

  488. / h" C3 X! U0 Y" ]7 E
  489. ; Set maximum length of log_errors. In error_log information about the source is# u( X. T! w; C* I( q  @. K
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.# d& Z/ e7 q. @/ r
  491. ; http://php.net/log-errors-max-len
    + _  v2 B8 o" N: k1 z+ i8 p1 r
  492. log_errors_max_len = 10242 s4 e" C3 b" x0 E' v

  493. 9 O, V8 e! E/ s. C' S/ O: x
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same8 W/ _' M: R! d% Q% {/ I6 u
  495. ; line unless ignore_repeated_source is set true.
    / G( S2 u+ }2 i% V) x
  496. ; http://php.net/ignore-repeated-errors8 J" u# k: k9 X; |7 g4 r
  497. ignore_repeated_errors = Off
    : x( F% r8 P; J
  498. 0 P; h3 T1 k7 ?/ u8 r$ V: a% b
  499. ; Ignore source of message when ignoring repeated messages. When this setting- v3 Y2 v+ j% X) n# \% o2 P
  500. ; is On you will not log errors with repeated messages from different files or
    : H" h0 f6 Y5 Z  U' y+ ?0 c3 ?
  501. ; source lines.6 C% F1 |- p, K1 b3 _6 v
  502. ; http://php.net/ignore-repeated-source
    ( a% E+ t% m0 O  S* f7 d
  503. ignore_repeated_source = Off
    ' Y( U  r" {! ~& J8 {1 h

  504. $ M# k  a( L( v. ]
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on' e% Q; m9 U7 A$ R! m. h
  506. ; stdout or in the log). This has only effect in a debug compile, and if6 ?4 _$ o% ]" I4 @" O; S$ c8 y4 p
  507. ; error reporting includes E_WARNING in the allowed list
    & R2 F0 X1 ~0 s  A" q4 A! r+ W4 Z
  508. ; http://php.net/report-memleaks3 y& I. f& v* |
  509. report_memleaks = On& \# K/ b& d4 v" T) r
  510. 4 u. X7 i/ Z* V5 A
  511. ; This setting is on by default." r5 Y- `, _5 v' c; W- `' r" J
  512. ;report_zend_debug = 0% w( i, V( _6 @8 C
  513. * U( b7 _& @  U; h! M5 ~
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value4 H* W1 n3 [6 b2 F. F4 c
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    3 Q9 N- i, H+ ~+ q6 N* r& B  Y+ i
  516. ; however be disabled on production servers.
    & F1 O9 T7 R2 v+ z0 I' N
  517. ; Default Value: Off
    ; N* g  a% t' z' f9 S9 n% R
  518. ; Development Value: On) C6 W; p, }7 l! P8 m8 z- ]0 e7 \
  519. ; Production Value: Off$ v6 n! Y2 j# L5 R
  520. ; http://php.net/track-errors
    ) K" j. ?; e! ~0 U4 J+ R0 R- N
  521. track_errors = Off* ?9 U0 b3 s3 J, P

  522. . N. K1 D& g7 Z6 p7 Z
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    ) D7 v1 ~" A( H0 ~2 |" p4 _; Q
  524. ; http://php.net/xmlrpc-errors/ Q' f2 B* v+ F) W/ S9 y4 Q
  525. ;xmlrpc_errors = 0
    + I  r  @2 x; ~  Y1 t+ G

  526. # O! u% M* A& I3 R5 ~
  527. ; An XML-RPC faultCode
    ; h) x  q! I2 G8 p
  528. ;xmlrpc_error_number = 0
    ! z$ M! B4 b: O

  529. 5 ~/ F% _7 `( s* {$ |
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    # t" t% Y1 h0 }! Q! \1 L. y
  531. ; error message as HTML for easier reading. This directive controls whether- s( v& D/ q! B) y- w! Y6 e
  532. ; the error message is formatted as HTML or not.# e' Q& Z3 d7 m7 @
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI0 C8 @+ o' `9 h4 g
  534. ; Default Value: On
    , }; P3 V/ w; ]" c+ y' p7 R8 M
  535. ; Development Value: On
    2 |* y' k, c2 F8 ]9 c+ ?% ^- V
  536. ; Production value: On
    $ f) m0 L. s' j- \5 X* X/ I% R
  537. ; http://php.net/html-errors- Y/ I3 ?6 T6 l, \2 s: P+ |9 |
  538. html_errors = On
    , |7 S4 w. ?6 E
  539. 4 M& u4 N7 I. e0 {# `5 w
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    ( r- C* P! \" \( T/ l% H
  541. ; produces clickable error messages that direct to a page describing the error. h- i2 Z) c: \/ H
  542. ; or function causing the error in detail.$ V  |6 {% {- _. u
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    , u, S$ M# b2 Q5 E! a/ h
  544. ; and change docref_root to the base URL of your local copy including the
    # k+ ~1 Y9 C. [/ Y4 [9 X: Q
  545. ; leading '/'. You must also specify the file extension being used including2 o# L& {/ u+ D- {
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which, x$ D9 B  N, q2 B4 g. _7 v  h
  547. ; case no links to documentation are generated.
    & S' I% _; l* w/ T6 L" {, I& f
  548. ; Note: Never use this feature for production boxes.% c+ w) @4 u+ n% e7 l: F8 k
  549. ; http://php.net/docref-root
      I7 F- j8 p/ y" j1 @1 o/ ?% {
  550. ; Examples; Q0 e8 k# z8 M/ G5 _
  551. ;docref_root = "/phpmanual/"; ~; q) a. ]$ U
  552. % K$ ?1 ?& h& Z: X( Y! S0 r# l  m
  553. ; http://php.net/docref-ext
    8 F  Q  j( z3 ^6 p0 Y1 u
  554. ;docref_ext = .html- z& t9 R# v7 T
  555. - y; ^: n: F# D9 x5 C
  556. ; String to output before an error message. PHP's default behavior is to leave  S% k: g. y9 s" V, ^
  557. ; this setting blank.7 X2 [3 x+ Z; R1 F, ]4 o9 g
  558. ; http://php.net/error-prepend-string
    / s1 c, \3 f! q+ Y
  559. ; Example:
    7 D: A8 \6 U, i# c* g) p
  560. ;error_prepend_string = "<span style='color: #ff0000'>". n" x5 C' l9 n' [0 J5 E5 Y
  561. ! \! V% Q. o) `3 [2 R0 k1 D: Q$ |
  562. ; String to output after an error message. PHP's default behavior is to leave
      x" }% k% h- G' ]- @
  563. ; this setting blank.7 |2 ~% `2 ^2 E: v* Z9 S
  564. ; http://php.net/error-append-string& o. H  B- e! y) @1 K3 j
  565. ; Example:
    / Z% G7 o, M( \1 S2 G, ?, s! p
  566. ;error_append_string = "</span>"
    # M1 x2 g* l2 P$ Y# d1 S  W+ ?/ L0 m4 t

  567. : j, v3 X7 q7 i1 p$ D, g
  568. ; Log errors to specified file. PHP's default behavior is to leave this value5 `* A* m  O1 |
  569. ; empty.8 I( |3 M# f& t2 p' T+ J
  570. ; http://php.net/error-log5 `, Y4 }. M+ S; v# B6 L
  571. ; Example:
    " e! S+ A5 z+ H# {7 h
  572. ;error_log = php_errors.log
    + P; x- ~: u5 X$ c
  573. ; Log errors to syslog (Event Log on Windows).
    $ B8 D, O1 Q: Y7 Q6 o; g7 C' ^. J. {
  574. ;error_log = syslog
    ) F* z! h$ S0 w

  575. 4 n& ]: H# ?# T: E0 o! f
  576. ;windows.show_crt_warning; G7 |& _3 W8 W
  577. ; Default value: 0
    % X* T: I; I9 O
  578. ; Development value: 0
    $ C/ ~. J' b: G, g
  579. ; Production value: 0
    4 x: W% t% w) ~& S# o( d" A
  580. 7 V5 @2 y$ \  `4 ^4 F. H7 U7 \
  581. ;;;;;;;;;;;;;;;;;& r% }( P- t3 s% s( w* Q' |
  582. ; Data Handling ;; c- B9 ~: @6 e% y
  583. ;;;;;;;;;;;;;;;;;
    " ]2 O! }; Q- O) {
  584. : S# A- @6 {- [" y# Z! i
  585. ; The separator used in PHP generated URLs to separate arguments.
    - z: n. A9 q9 L6 D* l( @
  586. ; PHP's default setting is "&".
    + v  q. u0 Y9 j9 T
  587. ; http://php.net/arg-separator.output, ~/ \' {" k8 _; ~
  588. ; Example:
      l/ a* ]1 p+ w$ d) p* r5 `
  589. ;arg_separator.output = "&amp;"
    + Y5 r& o- s9 W

  590. & g% I  g# _/ I  J" G8 O  `
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    6 l& [2 @# b) u$ E
  592. ; PHP's default setting is "&"." o( l" e' ?0 ?% i
  593. ; NOTE: Every character in this directive is considered as separator!
    $ D( N4 P; X% N* T$ O& B- |
  594. ; http://php.net/arg-separator.input+ e: S" j- S% r! n  l% w" S0 r1 T
  595. ; Example:
    6 Q" N) J9 h+ }6 T6 f
  596. ;arg_separator.input = ";&"1 ^" _0 l+ H; U

  597. # X7 a" ~( d+ o$ z& d
  598. ; This directive determines which super global arrays are registered when PHP1 G5 L4 k2 B2 a, ?+ \: n1 ?
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    : ^3 Q* n. _1 G6 z& Q
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    " H2 q) [. o" e: S3 g
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    8 d; }8 f7 T0 o
  602. ; used as the others, ENV is not recommended on productions servers. You( j2 V8 }- ^2 o7 m0 ^. z& K8 a. `
  603. ; can still get access to the environment variables through getenv() should you
    : C7 j& k; q/ m) D5 X' l
  604. ; need to.4 D/ ^( F6 k7 {. L
  605. ; Default Value: "EGPCS"9 U: y3 x$ d  V! s2 h4 L
  606. ; Development Value: "GPCS"
    0 y3 O: |7 B$ Y- c
  607. ; Production Value: "GPCS";( s+ N  b, u  ]+ l
  608. ; http://php.net/variables-order
    ; I& A: {3 M! D2 A5 d5 O# [
  609. variables_order = "GPCS"$ k( t9 v( L  A- T1 B+ d: N; {# h
  610. ( K; D; d+ N3 K
  611. ; This directive determines which super global data (G,P & C) should be4 A; T+ j, m; U$ ~- V
  612. ; registered into the super global array REQUEST. If so, it also determines
    7 I! _) y9 g: }/ \
  613. ; the order in which that data is registered. The values for this directive+ ]. `& ?; c. X2 m7 ^  Z; a* r
  614. ; are specified in the same manner as the variables_order directive,
    3 ]1 V+ J% k# G
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set) Y1 h, ^! }2 I- v
  616. ; in the variables_order directive. It does not mean it will leave the super
    ) u5 Y: Y' n. x1 ^- H! x( X
  617. ; globals array REQUEST empty.; q; W1 J9 Y' [- i* Y0 {
  618. ; Default Value: None. M/ a/ W* w2 Y; E
  619. ; Development Value: "GP"2 H: c; V% a1 S% m+ b
  620. ; Production Value: "GP"7 \7 x6 h* E6 I* v! j% l( l1 P
  621. ; http://php.net/request-order' l! b3 L% O, }8 o- x0 r
  622. request_order = "GP"
    % c' h6 `1 x- E: g; f* l6 H7 L

  623. 4 i6 f) m0 ^- {7 a& X
  624. ; This directive determines whether PHP registers $argv & $argc each time it) B% Y; C$ @& G3 a
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    4 p+ O& g5 G- _! \5 R
  626. ; is invoked. $argc contains an integer representing the number of arguments
    3 ^4 @* l4 g8 u, A1 S
  627. ; that were passed when the script was invoked. These arrays are extremely
    + `3 N2 _# y) w3 \( f3 F+ X
  628. ; useful when running scripts from the command line. When this directive is" g  f1 W9 M" V0 x+ z
  629. ; enabled, registering these variables consumes CPU cycles and memory each time! T5 V$ c/ w8 p
  630. ; a script is executed. For performance reasons, this feature should be disabled
    7 t; M8 U6 \+ t; ~  Z- |: T
  631. ; on production servers.. [5 N7 g8 i' H
  632. ; Note: This directive is hardcoded to On for the CLI SAPI. @5 \! l- Z7 v# b. q! A. m- N
  633. ; Default Value: On
    3 z" R1 Y- Z( E, ^7 N2 w8 {' \' ?7 z
  634. ; Development Value: Off- a- a. x, h5 A
  635. ; Production Value: Off
    ( A; t  f) s) N9 s
  636. ; http://php.net/register-argc-argv
    / P/ e0 s9 Y5 q
  637. register_argc_argv = Off
    / b5 l9 \' v. r3 K3 h% E& y1 R

  638.   o( D  \0 b- ^6 F8 a+ t+ J
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're+ V* `7 M+ D1 O9 [
  640. ; first used (Just In Time) instead of when the script starts. If these
    0 k8 j( N9 I7 O3 q
  641. ; variables are not used within a script, having this directive on will result
    8 _9 A# i: L* ?
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled5 q9 y* I2 q3 M
  643. ; for this directive to have any affect./ t! q# ]9 G4 \) p
  644. ; http://php.net/auto-globals-jit
    % f2 L+ H$ b/ v8 k+ i
  645. auto_globals_jit = On: ^' K+ g5 Q+ C* p% q9 l
  646. ! @. T3 l) I3 N  p% d( w$ k
  647. ; Whether PHP will read the POST data.( Q2 {  S$ v, H4 n
  648. ; This option is enabled by default.( K; K& s2 r/ U: v' \" I
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST( |) }& |$ o8 j& P7 z
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    # r. x. G) C5 D5 B  Q  o
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    % s$ t/ {. |" s. N+ X
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    + O6 M/ `( H* w& g: Y
  653. ; http://php.net/enable-post-data-reading- H7 M7 ^4 Z+ ^; K: K
  654. ;enable_post_data_reading = Off5 f+ F7 X: y# j- f- K

  655. : v5 j' X" |1 @' C) m+ I& O
  656. ; Maximum size of POST data that PHP will accept.+ _, B2 S3 k) v$ R
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading( U% O1 \# m: g8 {) X4 w) z3 {: f% R
  658. ; is disabled through enable_post_data_reading.* v( g8 _' R6 T, s
  659. ; http://php.net/post-max-size
    5 j( h$ `& z- s+ X) s! t. H2 H5 X
  660. post_max_size = 50M
    - ~4 E/ b5 p3 y4 [

  661. 8 Q& A* }, i) _5 f
  662. ; Automatically add files before PHP document.
    1 S% S; l5 t2 [* l
  663. ; http://php.net/auto-prepend-file
    + e/ G% a  P7 t& F
  664. auto_prepend_file =
    9 B, i; m9 x: _  l; {
  665. ) B- K0 Z/ d) v6 C4 U- O& K7 h2 L6 j
  666. ; Automatically add files after PHP document.
    , g/ O6 W4 Z: D) q7 i: @3 _$ ^
  667. ; http://php.net/auto-append-file
    # W' r+ B  N7 g( V# ?4 M
  668. auto_append_file =
    ( ?" V3 q( c" y! M2 X
  669. - G3 w( _% X& d* i7 ?
  670. ; By default, PHP will output a media type using the Content-Type header. To
    , v+ G: c# K5 y& k) t, Y- c) z
  671. ; disable this, simply set it to be empty.
    " [8 [: n' ?. G. G1 {. B
  672. ;+ x; T5 T# d7 n
  673. ; PHP's built-in default media type is set to text/html.
    + p6 s: m$ j7 A" ~
  674. ; http://php.net/default-mimetype5 n/ I' z: s# D* V: P
  675. default_mimetype = "text/html"
    4 r/ v- ^/ p( j. M% c5 c, ]

  676.   \2 q4 ^. j2 D' l
  677. ; PHP's default character set is set to UTF-8.
    ! @3 h' [& P! U
  678. ; http://php.net/default-charset$ _+ O4 I- W( G: M; d
  679. default_charset = "UTF-8"
      v% I- \4 Z. z$ i

  680. & I6 W  B4 [% Y+ x, P2 ]7 k, d! U
  681. ; PHP internal character encoding is set to empty.: T: p% \3 O) `* o# |6 l2 K# |
  682. ; If empty, default_charset is used.; [2 b; l& b9 W2 ?
  683. ; http://php.net/internal-encoding
    # [+ I  _; p: f6 Q3 K% \& H
  684. ;internal_encoding =
    ; U& e) T/ T; M' p

  685.   X5 ~( c# _) r; m
  686. ; PHP input character encoding is set to empty.
    $ c$ {3 ^4 O, U( V2 ]+ |
  687. ; If empty, default_charset is used.
    # P  P$ _/ U+ ^+ e/ t
  688. ; http://php.net/input-encoding
    / M0 b1 P# Q9 k! O% ?5 S
  689. ;input_encoding =
    ! m1 z4 [* p! U9 P2 b

  690.   a- W, P  f% r6 o9 V+ _
  691. ; PHP output character encoding is set to empty.
    " X  j9 V- v/ r: K+ S6 t: z
  692. ; If empty, default_charset is used.% `( J* k! U) |. P2 U
  693. ; See also output_buffer.
    % ~2 C- V3 z. {" k' w8 f
  694. ; http://php.net/output-encoding# ?' _9 L$ n5 \1 P0 Z' }
  695. ;output_encoding =
    % h7 ?+ {- n+ p7 s1 \8 E1 G

  696. 9 P) c( c+ K+ B, R2 r4 J: C
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is3 s  {, y3 h- j9 V
  698. ; to disable this feature and it will be removed in a future version.& c  x' x( R" R. m8 V! J6 R
  699. ; If post reading is disabled through enable_post_data_reading,
    2 t+ U2 E4 V  m7 n9 C1 r
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    + y$ C, t* ?% R' O2 d8 w3 ^
  701. ; http://php.net/always-populate-raw-post-data
    0 s) I& A, q0 c( }8 q( c
  702. ;always_populate_raw_post_data = -1
    , T7 V* B2 O: R& i* `1 S3 U

  703. 2 Y7 @. y9 x' ]9 ~
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    - P, P* W" [& ?0 `* a7 K6 y
  705. ; Paths and Directories ;2 u2 }, [1 d! o# Y: i
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;. }9 ~2 w, g0 @  {( x( S; n
  707. ! C% ], @4 w- f9 F- \: q
  708. ; UNIX: "/path1:/path2"% X* j( o1 g% O. Y. ]9 \
  709. ;include_path = ".:/php/includes": c! V" _# R' F: Z
  710. ;
    $ I! e: i: P! S" n2 C
  711. ; Windows: "\path1;\path2"
    , h1 z9 d! n0 T0 G) d& y+ A
  712. ;include_path = ".;c:\php\includes"
    + f& p' Q0 u  c# S& Z
  713. ;- E# @( u& D9 |& \
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    ! A4 U, m/ Y! \+ l5 j
  715. ; http://php.net/include-path
    0 I" s. o+ {. h6 H; G
  716. * r0 O! b5 `/ `. F/ w4 T. t, d% ~% G2 I
  717. ; The root of the PHP pages, used only if nonempty.
    2 X6 Z" p, R% e. p+ h3 s. b
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root: r* S* s' b# o) |. G
  719. ; if you are running php as a CGI under any web server (other than IIS)
    0 R3 Z6 ~: s3 P/ U
  720. ; see documentation for security issues.  The alternate is to use the5 c0 V+ S2 j9 T1 [) X  @" L* t- g
  721. ; cgi.force_redirect configuration below
    * n4 L5 ~$ e' ?; u4 @/ y
  722. ; http://php.net/doc-root
    4 D* _* ?9 l' ^) ]
  723. doc_root =
    2 b8 W: W5 C2 f

  724. ' t7 M; ~! ~! L! v
  725. ; The directory under which PHP opens the script using /~username used only% j  H$ X1 w# r* ^
  726. ; if nonempty.
    6 k: D2 S& G) L0 r0 c  m! e) C
  727. ; http://php.net/user-dir
    . j# Z7 B$ r; }8 U4 N. R
  728. user_dir =
    : \% d2 V9 `% \+ X
  729. - g/ M5 f- u! ~1 \% Y( Q/ G
  730. ; Directory in which the loadable extensions (modules) reside.
    $ ^# f$ K" @' t) ~
  731. ; http://php.net/extension-dir, P- @- @+ w( R  C9 L
  732. ; extension_dir = "./"
    * x/ m& k/ {4 _$ W% f2 ?
  733. ; On windows:5 H( ?3 m0 ]: \( v: p$ P; {
  734. ; extension_dir = "ext"
    # r! S. Z  E3 f, J3 H
  735. ' A  k' |6 ?' j$ L& l1 T1 r- Q4 b7 {
  736. ; Directory where the temporary files should be placed.7 X* d5 x  T9 Z! h: @+ h
  737. ; Defaults to the system default (see sys_get_temp_dir)
    ( D' P4 p3 g  s6 J2 L1 z. n7 q# I
  738. ; sys_temp_dir = "/tmp"' L9 k5 m/ E: v/ D$ [6 H

  739. + ^4 ]* G" x6 X( D- C& w
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work8 u0 f7 a- }2 [& c- m# ^
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically  [' g2 V' ^% `1 g- c* Z
  742. ; disabled on them.
    ! ^0 ^( O) m" F7 n9 k
  743. ; http://php.net/enable-dl
    8 E' d9 n. a* v
  744. enable_dl = Off1 |! p4 Q- L/ X7 l
  745.   P' P% s3 Q( R  k
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under3 _7 x7 T2 j5 g; U, x
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    7 f  e+ H' T! F) Y; k" C+ O
  748. ; turn it off here AT YOUR OWN RISK) d) q. b! r; M: P. r
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    . U) C: d, s' K0 H
  750. ; http://php.net/cgi.force-redirect# b5 U" x0 c  A# O% q9 @" K
  751. ;cgi.force_redirect = 1
    + f5 ]2 O1 \: u* H# Q# c7 M

  752. # k. v$ {( f& o0 t% |6 [9 v
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with: {- c; x% r$ {4 x  |
  754. ; every request. PHP's default behavior is to disable this feature.
    3 M/ H% S# r. u( w9 p. [; @
  755. ;cgi.nph = 13 r5 v5 U5 _$ X9 H8 r! t
  756. 6 I! h" `0 }2 e! [+ S. o8 E
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    " _" l  Q; H/ F! F; u
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP, `0 w" }1 v: q( O+ {
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    % S5 v) T1 p  j/ v# I1 c0 ?* h
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    . V! G- M; n! y/ d5 z5 @/ G
  761. ; http://php.net/cgi.redirect-status-env9 m' D  w9 l( \4 K
  762. ;cgi.redirect_status_env =7 v6 k  H( {6 k5 y9 F

  763. & B# h6 X+ z3 r! l+ G" V) G- E
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's+ ]- m: U8 L3 v- ]3 u2 a# j
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok1 W5 r( D, a0 `- O6 u1 D
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    ) X* I8 `) t7 O7 H" n
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    8 ~6 ]; m% P' o, F
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts/ h3 E; r$ B2 I+ e
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.8 |$ M: s% Q; P- g6 [( s2 M. c
  770. ; http://php.net/cgi.fix-pathinfo- G3 q% }1 [7 J3 T; \
  771. cgi.fix_pathinfo=1
    . N5 f7 ^- j" e/ |: j* o# a1 a" v

  772. & R. U6 f1 `' E: W. g! K! d, H
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside1 \& f0 C( ]6 Y- ~. L& I6 X: \
  774. ; of the web tree and people will not be able to circumvent .htaccess security.) Q4 j* r: A8 Z3 D, r& z
  775. ; http://php.net/cgi.dicard-path
    * T6 i9 `) i8 `! \- B- O
  776. ;cgi.discard_path=1
    ) n. m1 y/ @4 F/ H
  777. + X# r. E0 G3 D" F
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate2 [+ D7 |$ X" K8 R8 z1 ^
  779. ; security tokens of the calling client.  This allows IIS to define the; s( y6 s& p# |. \! {) m; K
  780. ; security context that the request runs under.  mod_fastcgi under Apache0 h# T7 {( z% r+ _+ F
  781. ; does not currently support this feature (03/17/2002)  d3 J  C1 ~+ B0 X1 B; j* `- v' ~* w
  782. ; Set to 1 if running under IIS.  Default is zero.' S7 r" n% L/ N; i
  783. ; http://php.net/fastcgi.impersonate2 w6 r3 Q2 x6 ]6 s! D8 a$ ?: Z
  784. ;fastcgi.impersonate = 1
    0 B) d& n$ m9 s( W
  785. # C' y0 |2 g9 A+ L7 i
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable" V5 O/ Y( d4 A& p6 y: ]9 b
  787. ; this feature.
    ' N* l. J: e* S+ A! O- o' b6 h
  788. ;fastcgi.logging = 0+ N7 H5 w3 H/ L) h2 U4 i
  789. % [8 C; f1 Z% t; K0 I# g
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to! ?( M8 T" k/ B) @* A0 }; \0 J/ s7 A
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that6 \1 i( A; Y5 K4 S
  792. ; is supported by Apache. When this option is set to 1, PHP will send
      \9 V' K# T/ m! C# J* s
  793. ; RFC2616 compliant header.
    2 e+ O1 f  U9 }( b# j' X. |, `
  794. ; Default is zero.
    7 Z5 H! ~8 A- y4 I9 X* }& g
  795. ; http://php.net/cgi.rfc2616-headers
    ' D  I7 y* X; O7 @. Y
  796. ;cgi.rfc2616_headers = 0
    1 ~( y1 Z9 z9 V$ D4 V/ `
  797. 9 t  v* F& T! W0 ?6 B' N. e
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    & M. y, Q2 A7 j, v% o8 t* m! m5 X
  799. ; (shebang) at the top of the running script. This line might be needed if the
    " c5 I+ y; ~1 [- S9 [: I
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI3 Z- w  J4 p% F$ i% p" G
  801. ; mode skips this line and ignores its content if this directive is turned on.0 W& W; r9 |, ?' x
  802. ; http://php.net/cgi.check-shebang-line
    3 v; q0 x5 b( X/ F$ c
  803. ;cgi.check_shebang_line=18 m& X- n  C3 x$ |8 q# U2 I3 x5 u
  804. + Q0 K8 q5 M% B0 T% j5 W
  805. ;;;;;;;;;;;;;;;;
    6 B( M9 L3 b4 A  h: A
  806. ; File Uploads ;: s7 |9 `0 F0 Z$ }5 p( M/ f" u
  807. ;;;;;;;;;;;;;;;;9 w5 d( H7 M7 o3 k: X: m3 O

  808. ' `. [. s9 o" Q
  809. ; Whether to allow HTTP file uploads." _: b, W" j7 E: R! Q! u
  810. ; http://php.net/file-uploads6 `4 p/ H& O  P) V  I
  811. file_uploads = On
    + h, w$ L' \' ?5 o3 Q

  812. $ K3 g" V+ a; z( J& o
  813. ; Temporary directory for HTTP uploaded files (will use system default if not" A* u. g/ |# c. @6 n9 J! a
  814. ; specified).; |5 c* L8 s6 d& U" k
  815. ; http://php.net/upload-tmp-dir- Z, \0 A$ U5 J/ v5 D
  816. ;upload_tmp_dir =
    . E! W0 V* P7 K9 @2 U5 C

  817. 1 t. ]( Z9 X$ `* {
  818. ; Maximum allowed size for uploaded files.8 W2 p( Z$ l# n; f4 j" q
  819. ; http://php.net/upload-max-filesize
    3 p3 Q4 A/ I3 _
  820. upload_max_filesize = 50M4 I+ \; }0 `8 d' G) X
  821. : l0 A, }3 q% m# h
  822. ; Maximum number of files that can be uploaded via a single request
    $ j7 K' w+ |$ g# m: W( [
  823. max_file_uploads = 20
    0 M" z' D' _( U) S9 L% i; k" o! z
  824. 5 Y; ^6 l# h( P! n& b" s# m: v
  825. ;;;;;;;;;;;;;;;;;;
    $ h" X: y6 |9 t5 n6 I6 t' `3 i
  826. ; Fopen wrappers ;
    3 w' b3 e' A) F( w) u( j) p
  827. ;;;;;;;;;;;;;;;;;;
    ) D; W/ ]/ R$ u

  828. 0 E8 @; V# o+ [- e* l7 f# o
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.( {% e# T" Y4 N; x
  830. ; http://php.net/allow-url-fopen
    - m' \" D* W6 Y* e  J6 R. w% u
  831. allow_url_fopen = On
    - Z% `* P9 s# l% @+ o4 A0 R

  832. , H' s- K- B  G! N
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    ' C- i: V1 U0 ]  f* T; B
  834. ; http://php.net/allow-url-include& M- z9 j3 T$ L+ w/ h: F
  835. allow_url_include = Off8 a, l6 m% t; w2 a' o, `

  836. 1 X; c4 M. h! O" s( P7 {. W& m
  837. ; Define the anonymous ftp password (your email address). PHP's default setting: \0 t$ S: H' h# p: n/ s. A) g
  838. ; for this is empty.* E, Z9 Y$ e! c* A% T4 p2 B
  839. ; http://php.net/from8 n: Z. c, ~2 N( I# Q9 p; g" K  s1 J
  840. ;from="john@doe.com"
    ; U+ |. U  A; W2 r9 b4 U/ G* U
  841. " O& o1 R  _3 J
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    8 @* @, l3 h' n  a. {9 l$ ?6 u
  843. ; http://php.net/user-agent1 r3 }$ n+ q& }5 u. W
  844. ;user_agent="PHP"
    + o# l8 Y. v7 f& \4 x/ e# R
  845. . a2 b2 q, s$ u6 A4 g
  846. ; Default timeout for socket based streams (seconds)7 @+ B/ R' L  j* m2 N. N$ u
  847. ; http://php.net/default-socket-timeout7 o4 ]9 |) ^  |% y
  848. default_socket_timeout = 606 ]- i3 ]0 m8 e* P% P$ ?+ E! |+ g

  849. 8 {. j: y9 u" K5 V
  850. ; If your scripts have to deal with files from Macintosh systems,3 L5 `. K; k3 E' C) z
  851. ; or you are running on a Mac and need to deal with files from& E6 ?4 Q4 f$ d5 I* \0 Y3 I5 t/ P
  852. ; unix or win32 systems, setting this flag will cause PHP to
    1 E% u& U/ u) ?5 l: a' H
  853. ; automatically detect the EOL character in those files so that
    3 t5 o' X  F7 H. p; }
  854. ; fgets() and file() will work regardless of the source of the file.
    + B8 h  e2 x% |0 F: U1 h) o
  855. ; http://php.net/auto-detect-line-endings/ y+ F" K" P7 o/ I
  856. ;auto_detect_line_endings = Off
    & o4 ?$ ]4 ^" X
  857. ' t% T- D  K5 T3 G
  858. ;;;;;;;;;;;;;;;;;;;;;;
    ; e2 e% v& a$ t* y0 x: \4 g! O
  859. ; Dynamic Extensions ;3 c1 o7 U  K, i' b
  860. ;;;;;;;;;;;;;;;;;;;;;;
    ; t# w, o8 X! ]6 Y

  861. 6 Q( e2 d0 I0 y' E4 F, u
  862. ; If you wish to have an extension loaded automatically, use the following
    7 G0 [6 C! s5 P& u
  863. ; syntax:8 n& @- P/ B0 s) V, j* X$ L6 o. `3 m
  864. ;" H( u. v6 C8 @: v2 s2 u2 }9 z
  865. ;   extension=modulename.extension$ j& |! w) E# s
  866. ;* N. N8 J+ W) I1 a
  867. ; For example, on Windows:) _0 H2 b9 [. T: \# ^% O
  868. ;
    $ B; F9 m: ]5 L
  869. ;   extension=msql.dll% a8 L( ?5 T: p1 J' r# X" c$ _
  870. ;, h* }$ }0 G  @% U4 e: Y& B4 r
  871. ; ... or under UNIX:
    - p7 R! H6 J9 U, U3 K
  872. ;
    - Y! H# }2 t7 `0 k! ]
  873. ;   extension=msql.so
    5 W( Q0 G) M" N6 \% h; U! A  c
  874. ;
    7 L3 t9 ]) t1 |0 Z' Y6 @! K9 X) S( K
  875. ; ... or with a path:
    - l# ~. I+ b, Z4 P9 i* j1 O
  876. ;& T3 ^) U! R: |
  877. ;   extension=/path/to/extension/msql.so
    * H; t+ k8 P8 R
  878. ;' ]" f) f$ u! a# f- t: Q2 p+ ~
  879. ; If you only provide the name of the extension, PHP will look for it in its
    : ?/ U) ^9 [2 o9 [
  880. ; default extension directory.2 U6 U% f" O" N
  881. ;& S+ ^4 N7 r3 s
  882. ; Windows Extensions' h% O; \" _3 Z# z$ P
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    3 S9 f# D# X3 f7 u2 m
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5). ]2 ]: z% j9 U/ I! B
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).2 m. n" P7 Y5 I& G8 t
  886. ; Be sure to appropriately set the extension_dir directive.* B* F9 U, C! Q0 Q, b4 d
  887. ;
    6 `# ~) I7 Y% s3 d
  888. ;extension=php_bz2.dll# Y& B* t& k2 W. Z2 ^$ U
  889. ;extension=php_curl.dll5 `) f! L; i" }
  890. ;extension=php_fileinfo.dll8 m. f, l1 R% H5 E& O7 K
  891. ;extension=php_gd2.dll, `2 f" d% P. a$ e: s" Q" f3 ^
  892. ;extension=php_gettext.dll; |$ C. Z: |6 Y7 n! F! o
  893. ;extension=php_gmp.dll5 z6 q* T. b3 P8 [3 \1 g
  894. ;extension=php_intl.dll+ b1 C8 h0 F, I$ N/ Q+ I
  895. ;extension=php_imap.dll
    / P: t7 Y5 u4 q
  896. ;extension=php_interbase.dll
      ~9 r5 k, l; Q; s: |
  897. ;extension=php_ldap.dll6 D! C+ c! C3 Q6 l/ K5 h: b
  898. ;extension=php_mbstring.dll, n+ r4 b4 @5 E2 I9 l
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it2 a# n* p2 s% C$ I+ g5 F
  900. ;extension=php_mysql.dll: I# @( |8 J0 _2 X7 c- h
  901. ;extension=php_mysqli.dll
    % v: q- R- c4 c; q1 ~  C
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    2 h; k  C8 A0 s1 ?) g4 b. J
  903. ;extension=php_openssl.dll
    " H) m: s1 i) Z( @+ R% h5 x
  904. ;extension=php_pdo_firebird.dll( P: ^# n7 h) [& U) X$ Z
  905. ;extension=php_pdo_mysql.dll
    + u& e  @& ]1 t/ b+ V6 f% o3 ?$ ?7 X
  906. ;extension=php_pdo_oci.dll
    9 Q1 Y. \& S$ k) C. v
  907. ;extension=php_pdo_odbc.dll+ y$ p! l0 s$ L  f& V
  908. ;extension=php_pdo_pgsql.dll
    1 L( y  m; l( n8 k8 |
  909. ;extension=php_pdo_sqlite.dll7 ^. [4 ~2 C& [# a
  910. ;extension=php_pgsql.dll
    8 z. @5 X0 N- z: z- N% l
  911. ;extension=php_shmop.dll
    ) L$ u& ]' I& }9 H8 ~- t* R2 Y7 V

  912. 4 U* M/ m& \8 i2 X
  913. ; The MIBS data available in the PHP distribution must be installed. 5 `  U* v2 }$ ?3 T
  914. ; See http://www.php.net/manual/en/snmp.installation.php , U& H5 K" E( _9 k& B
  915. ;extension=php_snmp.dll
    , r2 a9 d+ L- {" |+ f# f
  916. * j* e% f* i/ A- @6 n) w: M
  917. ;extension=php_soap.dll5 b7 m+ y2 M! Z- p; A% i4 O# x: r
  918. ;extension=php_sockets.dll
    ; Q3 z' y2 K; ]0 s7 W- L
  919. ;extension=php_sqlite3.dll
    % k- S3 o7 T/ c1 ?% ]' u8 f; z
  920. ;extension=php_sybase_ct.dll" n) J: {, p4 m, V9 T( L0 O: Y
  921. ;extension=php_tidy.dll
    , [& }$ m% R6 F% A! e% A# J% c/ }
  922. ;extension=php_xmlrpc.dll
    . R3 P$ n1 G6 ~, V; C. R& Y
  923. ;extension=php_xsl.dll
    + \  e5 E5 c8 j& F: |& n5 \

  924. 2 |6 F& ?+ h# I+ }
  925. ;;;;;;;;;;;;;;;;;;;2 Q8 b. C7 V) p7 {
  926. ; Module Settings ;$ T8 T5 k0 h) }6 k( q
  927. ;;;;;;;;;;;;;;;;;;;3 z2 p, C& {1 ^" y
  928. 0 o9 t- k+ L2 v( Z/ d2 k
  929. [CLI Server]0 }3 C  {$ ?" h+ s- P" |! W
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.- g6 H5 {: [# {& J$ ?# M* b+ ]" b
  931. cli_server.color = On
    . w3 p% V6 O3 c
  932. 0 k# f5 D9 E9 q4 @4 x3 V0 ~
  933. [Date]$ W) n6 T2 |- O4 O$ P
  934. ; Defines the default timezone used by the date functions
    1 d0 c; j: H  v  q3 }" E' P2 P
  935. ; http://php.net/date.timezone8 A5 X0 E3 v" `) n1 I
  936. date.timezone = PRC
    , I, M& l/ H3 j4 N
  937. 8 @* P7 m2 U  s* _) w9 c9 o( ^
  938. ; http://php.net/date.default-latitude
    , U; O; d6 m  u
  939. ;date.default_latitude = 31.7667
    / c8 h$ g2 V. L

  940. , l" G. B7 ^- `& }
  941. ; http://php.net/date.default-longitude9 E9 D: c: @: X  f# I9 q
  942. ;date.default_longitude = 35.23338 ~( u; S/ q# W
  943. ! J. O3 L2 `& c; }. @) o; K* l
  944. ; http://php.net/date.sunrise-zenith7 g5 z' l& q- I" r. W
  945. ;date.sunrise_zenith = 90.583333
    4 S) L: w0 t6 a9 Z( i# [( o

  946. , \6 Z& M& }2 d1 R% Q6 C4 [
  947. ; http://php.net/date.sunset-zenith$ R, j# u$ ~/ f$ g; N! Q3 k
  948. ;date.sunset_zenith = 90.5833331 i/ \) s- V. [3 c$ [1 a' `5 j6 i

  949. " {' Y4 y& X% C/ c  n
  950. [filter]
    - a! X: R# g8 Y) s
  951. ; http://php.net/filter.default
    & O+ T( d+ a: @2 Z
  952. ;filter.default = unsafe_raw
    & a6 h+ T6 {/ l* x. t- i) t

  953. . {1 q+ a1 `+ l* W
  954. ; http://php.net/filter.default-flags' o. |# O6 C" E4 ?' F
  955. ;filter.default_flags =
    6 f* ^9 f6 j- w2 _2 a8 D# ]$ [

  956. ! X6 w/ ]" q5 M" [7 D) E
  957. [iconv]$ b0 K- m5 b+ C1 ]. r7 c+ i
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    - U6 Z. ]# [0 c! _  Q# I
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    5 C! s$ V  m7 w
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    2 A. O# e" k. O
  961. ;iconv.input_encoding =
    , m$ d2 [! V$ b- L0 Z) }. L

  962. . f' N/ A2 E2 q# c1 Q
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    ' s4 y- A! i6 c, W
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.  A. O% f# z, n% |
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding' m$ R+ `) {. P8 }! N" `
  966. ;iconv.internal_encoding =
    , d8 K2 ?" _8 }9 H8 N$ W+ ~3 l
  967.   K& j0 ^9 ?5 y2 I0 s5 c8 U
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.+ Z) d* r4 z/ Q
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.7 C9 }, M/ p# c2 B1 F- L
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding1 A4 U) P) J" O+ K; z; @* u6 t( Z
  971. ; To use an output encoding conversion, iconv's output handler must be set* I* d  R, k; j! a
  972. ; otherwise output encoding conversion cannot be performed.
    4 V2 u) Y1 K: g2 V6 U' Y, i
  973. ;iconv.output_encoding =
    2 D9 t' ?& a! I# F0 {

  974.   N6 G$ Y& T4 v6 J. `
  975. [intl]
    6 ^' [* L  c$ \9 i' k
  976. ;intl.default_locale =0 z3 e% s/ T' |% {$ L4 H* C
  977. ; This directive allows you to produce PHP errors when some error
    / J6 i! Q8 i  b% R; @& O0 R9 w; \
  978. ; happens within intl functions. The value is the level of the error produced.! J2 s4 F3 J  N7 i0 J
  979. ; Default is 0, which does not produce any errors.
    7 R3 P1 [/ u. T+ P3 ]9 c& y
  980. ;intl.error_level = E_WARNING7 E+ L# }( |5 S; F* ^/ l% g. g5 Y
  981. ;intl.use_exceptions = 0
    1 l% V% g7 _; F1 o2 {: ?" G; L& M
  982. 3 a" T+ {2 ~  J+ H
  983. [sqlite3]
    9 H0 I* m4 [4 t# D
  984. ;sqlite3.extension_dir =
    - E) K8 \0 s+ C1 Y0 m

  985. ; G: c+ j3 Y$ D9 s6 i6 M1 E
  986. [Pcre]
    % ?( W7 n% U, Z! P
  987. ;PCRE library backtracking limit.- U* a6 X) D- _" o
  988. ; http://php.net/pcre.backtrack-limit
    # z" }1 J$ O3 U$ @9 I* |' B4 L, x4 m
  989. ;pcre.backtrack_limit=100000
    8 _; ~' t) |) A& b. \8 `, f: Y& N
  990. ' k! a9 T/ u9 c+ u
  991. ;PCRE library recursion limit.1 g* t+ k3 _, H6 z7 A
  992. ;Please note that if you set this value to a high number you may consume all$ d# c) e0 ^0 ?! F# K
  993. ;the available process stack and eventually crash PHP (due to reaching the4 \  C! ]0 u( r# g4 @8 s' ~" e* s, Z+ Q
  994. ;stack size limit imposed by the Operating System).
    - S# D" b' N$ V5 g8 @
  995. ; http://php.net/pcre.recursion-limit
    ( Z8 M$ ?  z5 y* W$ o
  996. ;pcre.recursion_limit=100000. M% I# G  _9 L8 Y

  997. 6 B: Q' A7 c( j1 l9 k6 x$ Y
  998. [Pdo]
      u2 Y" C7 {3 }0 n! G+ W
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    * q/ [6 B& u  M$ \* M
  1000. ; http://php.net/pdo-odbc.connection-pooling% v* i+ k( U$ L$ P' ~
  1001. ;pdo_odbc.connection_pooling=strict; I" T  }/ U5 ^0 }

  1002. 9 k! D/ }" [! w( r8 H
  1003. ;pdo_odbc.db2_instance_name# k# Z( |: L! e$ J+ T
  1004. ( F: Y  c6 y0 _
  1005. [Pdo_mysql]* G5 W4 J, Q, w- x5 T
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    % Z6 m. R2 z" M4 ~5 f! D
  1007. ; http://php.net/pdo_mysql.cache_size. h$ R3 t" N. v1 g7 F8 F* e0 }
  1008. pdo_mysql.cache_size = 2000
    & s2 ^. e/ ~1 ^

  1009. & i  W7 H) \" c: d7 f9 H& w
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in. L: m  |9 `! P! L8 O
  1011. ; MySQL defaults.
    + f: c0 w9 X% [& f& F! m* f
  1012. ; http://php.net/pdo_mysql.default-socket
    8 M, S' V* E9 q. \& w7 b) R- D/ r, l7 \
  1013. pdo_mysql.default_socket=
    % B$ k, Z& D* `$ w+ x5 x/ w

  1014. + c' [! g* [' a7 f" B
  1015. [Phar]
    % N6 m* O1 B; ~
  1016. ; http://php.net/phar.readonly0 }. q8 T1 i' W) d
  1017. ;phar.readonly = On
    % L8 j9 Y, c# V: C/ B- s, x
  1018. ) y' X# ]% s; e8 j
  1019. ; http://php.net/phar.require-hash
    - U- Y* H5 C5 @0 k
  1020. ;phar.require_hash = On# d2 _, ], y  T% m8 t0 F. F% l

  1021. # [" U2 E/ s6 _% P. C1 o& J# E
  1022. ;phar.cache_list =$ G  ]8 K$ d9 t, _* [" F0 F0 r; k
  1023. " m" R; O5 W+ Q) O& O
  1024. [mail function]9 n6 Y- X# D6 d6 ^
  1025. ; For Win32 only.
    ) G, V5 a/ k; L) n7 C4 m
  1026. ; http://php.net/smtp8 C* C6 I* W+ s
  1027. SMTP = localhost# P( P$ ^# k" N# V% i9 B- O
  1028. ; http://php.net/smtp-port
    4 n9 ]* z' `1 G& p4 g
  1029. smtp_port = 25
    3 y! Q: d; y$ E0 W
  1030. % z% z- ], c% L' R" L; @
  1031. ; For Win32 only.
    8 k# ~/ M# j3 V3 j' K2 @
  1032. ; http://php.net/sendmail-from# V2 S7 k$ h& U) J8 w
  1033. ;sendmail_from = me@example.com
    : \7 M" x9 ], l: o0 \- Z
  1034. % }1 y0 u8 J: V& {
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i")./ S7 [+ r  T% `2 i" d
  1036. ; http://php.net/sendmail-path9 C/ E# k) ?1 n$ |( D! w4 ?+ _
  1037. sendmail_path = /usr/sbin/sendmail -t -i9 [6 i7 A$ z* F' P# k+ w; S  C' N

  1038. 2 Q3 M- s# R, L) |* h2 W; b" X
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    5 D+ P3 L4 x$ j, B, w" z
  1040. ; to the sendmail binary. These parameters will always replace the value of
    6 R) D$ R: ~/ c- }
  1041. ; the 5th parameter to mail().
    , b/ T3 w+ x4 I0 H+ d# T
  1042. ;mail.force_extra_parameters =
    5 B' f0 A6 k/ g* i% e5 E
  1043. 5 e. w+ |  F& }6 A! h6 p9 X, r
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename' _6 L. t) Z) F; w' P' {- B
  1045. mail.add_x_header = On
    ; |* x3 k; b$ R$ C0 I/ E2 t

  1046. 2 q1 s( Y. R' [/ w
  1047. ; The path to a log file that will log all mail() calls. Log entries include  B2 a: U/ S! i8 F3 r* O5 ?
  1048. ; the full path of the script, line number, To address and headers.% e, x( R2 Q9 T2 O, n
  1049. ;mail.log =
    - N8 ~" T/ q! E' J0 R& b0 W6 @
  1050. ; Log mail to syslog (Event Log on Windows).
    ( s: M+ A, F0 K5 D  k5 E
  1051. ;mail.log = syslog% v9 F; K, r* O; c
  1052.   t  O' ?# u4 M& R( ~, `! {. B
  1053. [SQL]+ K# `% C/ f4 r' f4 i$ @0 @7 |
  1054. ; http://php.net/sql.safe-mode
    7 k" s, ~1 D6 o( ?: b; N& R' j4 }9 v
  1055. sql.safe_mode = Off6 B$ ]/ e( q2 x. _/ D
  1056. ( L9 r/ K. T& m( o9 }
  1057. [ODBC]
    + u) ^" N8 E# C4 i1 p& n# r7 e
  1058. ; http://php.net/odbc.default-db
    : d4 K% ?" x0 R3 M
  1059. ;odbc.default_db    =  Not yet implemented
    3 l) q) U7 {7 F4 H
  1060. 2 o) i, t( C6 [3 z* z
  1061. ; http://php.net/odbc.default-user. ~5 ~9 X. ^+ D, f3 r
  1062. ;odbc.default_user  =  Not yet implemented
    8 n- J+ m4 T; q1 R' W/ b
  1063. 8 @$ u+ l2 R" b& Z
  1064. ; http://php.net/odbc.default-pw- N, }  K' g5 h3 o. |# B4 @# i
  1065. ;odbc.default_pw    =  Not yet implemented
    ; H3 v: b( h- z, i$ |- z+ d$ o$ k. w4 N
  1066. ) a$ p/ _/ w( I  r' }( }. O
  1067. ; Controls the ODBC cursor model.- [: A3 A# z5 Z& a
  1068. ; Default: SQL_CURSOR_STATIC (default).
    % p, o" T4 V9 r9 T, n0 i. S4 K
  1069. ;odbc.default_cursortype  d* j' b. Y) s

  1070. , J0 y  R  W. ~6 J% k5 m* i
  1071. ; Allow or prevent persistent links.
    0 U9 w" g, i1 Q( |. m' C7 C
  1072. ; http://php.net/odbc.allow-persistent7 |- s+ N" B  \4 u" I( `/ G3 a  z
  1073. odbc.allow_persistent = On
    / @( q8 b+ L# \/ Q
  1074. - {- j- f" A0 T( M- n1 ?* U) `+ s8 d, o
  1075. ; Check that a connection is still valid before reuse.
    7 ~& M% x2 b, U5 X7 f
  1076. ; http://php.net/odbc.check-persistent
    6 V4 y  O, _& \% l1 f
  1077. odbc.check_persistent = On
    ! h1 Q& w: \/ M

  1078. # Z, c- f/ \# g" `/ [
  1079. ; Maximum number of persistent links.  -1 means no limit.
    % x, S7 }* A2 ?2 |
  1080. ; http://php.net/odbc.max-persistent
    $ E& E) }$ M! [$ m7 j
  1081. odbc.max_persistent = -1, X/ g! o. g6 m6 Y6 G% Q! e! [

  1082. + J; r. r. ^/ ~5 c! F* c, [
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.; U8 i6 H( d5 z3 i1 ]
  1084. ; http://php.net/odbc.max-links- @+ Z; k8 ?/ A: s
  1085. odbc.max_links = -1
    + W* v+ v& G# t& ?, ?/ I
  1086. ) q. i7 Q" w8 _& K9 s4 t) V" ~
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means3 N/ Y- l+ E+ z4 P' X$ r
  1088. ; passthru.9 p" _+ G2 ?! D
  1089. ; http://php.net/odbc.defaultlrl2 }  {& K" m, D; ]$ a& E
  1090. odbc.defaultlrl = 4096
    " ]0 [* h7 i# p7 P* d1 i
  1091. , l9 V9 j2 r! d1 D  N  D
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    9 }* M& M+ M8 _# k. ~" a' B$ w$ T6 Q
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    1 G6 d3 y: c/ Y% M' u2 M
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode2 i+ x! t! {' v1 I6 P- o1 _
  1095. ; http://php.net/odbc.defaultbinmode" W0 W6 W3 q# D# T2 f! h+ N
  1096. odbc.defaultbinmode = 18 v# R) G" G9 A/ U/ Q0 T5 X
  1097. ; l% }) H( P7 I# j! Y3 M6 i
  1098. ;birdstep.max_links = -1
    . H, `5 `8 H3 h+ |9 g4 u* U1 B% ?

  1099. ! \: n5 `# v, {: i
  1100. [Interbase]1 z3 N0 [8 D; U6 {
  1101. ; Allow or prevent persistent links.. _  v( G6 t9 L- ]  \6 \0 O& n
  1102. ibase.allow_persistent = 1
    + |1 u& x( g% I8 m9 W! n3 f

  1103. 8 d3 I0 w: |6 B/ W2 {9 l6 P
  1104. ; Maximum number of persistent links.  -1 means no limit.* O1 p* G! t0 H7 S- z2 Z8 `: ?
  1105. ibase.max_persistent = -12 G9 d4 U" f8 ?- n) w
  1106. ) e/ p" L" e3 O$ P
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit." ]( d3 @* ^( C; h2 C
  1108. ibase.max_links = -1% X/ ^' |/ Z4 j4 ]! b
  1109. & F. y8 s8 ^  Q1 O9 r9 T( I' N  e
  1110. ; Default database name for ibase_connect().
    ' ?6 y: ^0 F1 P. x6 `5 n- Z  d
  1111. ;ibase.default_db =
    $ E8 u9 J: k+ q1 l6 G$ x6 M
  1112. - |2 c& \4 x2 L$ J* h
  1113. ; Default username for ibase_connect().$ @+ F6 q$ f: Q1 }' C5 c" X
  1114. ;ibase.default_user =
    4 }2 K+ s  F% ^5 D$ \# ]
  1115. ' x: H& U) J. O6 _, T9 \
  1116. ; Default password for ibase_connect().1 ^8 L: w1 H+ y- C8 r
  1117. ;ibase.default_password =
    $ `) K* I0 c5 J2 Q6 v1 D% R
  1118. ' c! d6 _* A+ j' w# @
  1119. ; Default charset for ibase_connect().
    4 s6 i) ]- H/ r0 S; `" i
  1120. ;ibase.default_charset =& }. r" W4 L' X3 ~: c- p
  1121. " x! {3 F9 d. i8 l; N
  1122. ; Default timestamp format.
    " @2 J8 A8 X5 M7 K3 j5 ~2 B* W6 }
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"* v: M) Y9 L6 ~0 g4 A

  1124. ; y- x  J, X( L6 v1 C
  1125. ; Default date format.9 F: K- G( ~0 a& h' O! N7 p( x
  1126. ibase.dateformat = "%Y-%m-%d"* e: y) v, a' k" U, R+ t, d# z

  1127. , \# S. _; @7 g
  1128. ; Default time format.
    ! \4 {, P) t, X/ N2 i
  1129. ibase.timeformat = "%H:%M:%S"
    2 B* r- _% ~( f7 ~
  1130. / g4 o& D% V" B
  1131. [MySQL]8 I# d6 A. l  N
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements" i8 d. T. k" j! @* Q
  1133. ; http://php.net/mysql.allow_local_infile( J7 V$ l9 G  X: e4 Z, f
  1134. mysql.allow_local_infile = On4 O) c' Q) e! B. Q" \2 L6 ?

  1135. 1 f# w6 @! w( |0 |6 V$ Q& T, d
  1136. ; Allow or prevent persistent links.: x; I: ~9 ^9 A
  1137. ; http://php.net/mysql.allow-persistent' `3 J5 w+ z' G3 k
  1138. mysql.allow_persistent = On
    ! J- s- O/ U; k9 z$ E

  1139. 7 G5 j3 k$ u# P0 `  f
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ' c; z3 u. l6 N% h  m
  1141. ; http://php.net/mysql.cache_size
    . u4 ^) l; P/ i
  1142. mysql.cache_size = 2000
    , O  k4 j  l1 ?! g: E3 b" a- `' B6 l

  1143. : [6 F0 P" K+ v9 v' u3 k* @( E! d
  1144. ; Maximum number of persistent links.  -1 means no limit.
    0 t: i9 s0 u+ P, @. ~0 Z
  1145. ; http://php.net/mysql.max-persistent4 H7 m/ g- n7 Y( o. f! a
  1146. mysql.max_persistent = -1: O& T; z: W) b

  1147. ( D7 V# g. f5 k! R
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    * ]" }( x1 m# ~0 N; s; _" J
  1149. ; http://php.net/mysql.max-links
    2 A- B) n2 a6 W  |+ T) `, L# F
  1150. mysql.max_links = -1
    5 \/ y) w% x5 g5 N' `) F

  1151. : ?+ K7 K" j. @) [$ u
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    1 {5 w, q3 B1 c; b. F
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the! Q6 H' ]2 _) h* h* p* q
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
      D* B; \. z, X3 t7 j
  1155. ; at MYSQL_PORT.# m8 ~: ~& S% I) m! L
  1156. ; http://php.net/mysql.default-port
    0 D" z  p& g3 d3 |& S( e5 \4 K
  1157. mysql.default_port =
    3 m0 X3 N+ z% h& H" d2 a
  1158. 6 z+ Q% r3 l' Z/ k
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in2 z2 k8 a2 l0 M& A3 f8 P
  1160. ; MySQL defaults.; z& F6 _' S2 k) G# f
  1161. ; http://php.net/mysql.default-socket
    ' }' Z* g5 ~: x8 L
  1162. mysql.default_socket =0 }* B! @5 ]7 L, A/ l+ f

  1163. - w9 Y# S" D7 M4 h6 ^9 D% Z
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    ' U2 P' }- `: N
  1165. ; http://php.net/mysql.default-host
    9 X* b% |9 |4 p" @
  1166. mysql.default_host =4 Z* U; H. F4 J
  1167. % ^3 Q; M( s# s0 f: F& Q
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).! E/ [0 E) M* \- U& I9 q5 e3 B) b$ L
  1169. ; http://php.net/mysql.default-user
    ! [: z' x, g: M6 u
  1170. mysql.default_user =5 d+ ^5 c; ?+ {6 r" V4 `

  1171. " P- n+ y$ F( @$ G6 @. K9 r/ y
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).* e  A0 H# z$ d/ Z! c
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    ' n4 d* g  V" B4 e
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")) a! _3 L1 D6 y5 H- v5 U$ C
  1175. ; and reveal this password!  And of course, any users with read access to this& ]$ z7 S- H6 N3 e! |0 W% d9 C
  1176. ; file will be able to reveal the password as well.. V3 c! M* o$ R1 ^+ _! c
  1177. ; http://php.net/mysql.default-password
    2 Y5 O/ f1 K/ _
  1178. mysql.default_password =
    / P# F- H: P# s

  1179. # Y" q8 A8 `# z. [
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    ; E! X0 i( K+ q- c' Q% w
  1181. ; http://php.net/mysql.connect-timeout, M: |7 o+ Y+ ?8 u1 h, q
  1182. mysql.connect_timeout = 60
    , C  d7 P3 v1 }/ a* U- d

  1183. 2 p( Z3 H' {  [* B
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    & l+ u; y: j& a; b# E
  1185. ; SQL-Errors will be displayed.
    % [+ P# T3 D0 ^2 s, Q- |% F
  1186. ; http://php.net/mysql.trace-mode& y$ t+ N" G9 f0 U! t+ g+ @, L
  1187. mysql.trace_mode = Off
    " ^! j& }% h$ s, e
  1188. : H( s) n5 [/ k1 R
  1189. [MySQLi]) M$ t5 m: m( Y. B
  1190. 9 T  w' ^6 L( E' T+ ]0 f% [" m
  1191. ; Maximum number of persistent links.  -1 means no limit.
    ; X  h5 x! N, x9 @
  1192. ; http://php.net/mysqli.max-persistent' g; U/ `6 S* n- D
  1193. mysqli.max_persistent = -1
    $ z1 G* V, c! o* {% i
  1194. 2 }1 `9 k; f- C. L+ j+ J
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    , t9 ]+ }) P! _" t
  1196. ; http://php.net/mysqli.allow_local_infile, R" i) h" _9 r- P3 `% [  O* w
  1197. ;mysqli.allow_local_infile = On- D: Q) @5 c6 H% F) g1 L) Z- V

  1198. 4 J, {5 T( a) T+ o; q
  1199. ; Allow or prevent persistent links.
    # |; H. S9 j( t+ I
  1200. ; http://php.net/mysqli.allow-persistent
    9 J4 I& V* P" i/ r1 }7 m3 D
  1201. mysqli.allow_persistent = On
    & o6 [$ W& O% w, I0 f" ]; z
  1202. : ^! U& ~" W4 j2 f$ ~5 z
  1203. ; Maximum number of links.  -1 means no limit.7 d! G# @- {# @9 A
  1204. ; http://php.net/mysqli.max-links
    & S: B! k& M: T3 J/ l# r8 A
  1205. mysqli.max_links = -19 l. Y5 [% W3 F

  1206. 6 g+ i- c7 y) T% K. _& `& U
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache" O' B/ \! F5 I
  1208. ; http://php.net/mysqli.cache_size
    ( V" @! i$ [1 J9 G' ^7 A; t# q
  1209. mysqli.cache_size = 2000
    " V4 _* `& t- p2 h2 q
  1210. ( l1 Q4 O3 ^& I
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use. j5 O& N7 j5 ~/ g6 n: ~
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the, r$ q' s& m1 X" l$ a: U' P
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look' B2 }& W9 Y! |0 p
  1214. ; at MYSQL_PORT.( q/ I! K6 n$ W3 [7 V
  1215. ; http://php.net/mysqli.default-port
    ( ^& p- \- B/ F5 H6 ]8 s
  1216. mysqli.default_port = 3306
    ' n! W- D5 C4 m  _
  1217. & E* z3 D5 l, [) h
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in% z! p* Z9 G. L
  1219. ; MySQL defaults.+ D" b3 ~! b' q/ I: U
  1220. ; http://php.net/mysqli.default-socket5 U1 ~0 V) j2 p7 \
  1221. mysqli.default_socket =
    5 x" o( v' F0 V4 e4 \1 h4 I
  1222. / [2 r/ c) }  X
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    $ L& N4 a2 w- u; {4 R1 _8 X
  1224. ; http://php.net/mysqli.default-host9 e; ^* N: D0 \: D
  1225. mysqli.default_host =
    2 q  p) i4 ~* _& f

  1226. 5 ]0 J% G" u2 K
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode)., J4 x$ S, j, c* P; t: o
  1228. ; http://php.net/mysqli.default-user
    . C7 j3 [2 `/ L2 ~
  1229. mysqli.default_user =
    ' _' J& b; ^2 U# N* @2 R7 a
  1230. 1 e% J) v" V7 a3 E- B, U
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).3 Q7 C3 a. s3 Y, n/ C4 l5 `
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    " |3 n# F8 H4 v
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
      C0 F2 P5 K; N6 N
  1234. ; and reveal this password!  And of course, any users with read access to this
    - @' N( t/ S/ \4 `- T
  1235. ; file will be able to reveal the password as well.  X& d6 |! g+ H8 v0 V
  1236. ; http://php.net/mysqli.default-pw. \* J  a* m+ O, H
  1237. mysqli.default_pw =, C, t9 I( |/ j# X9 X

  1238. 5 {- q7 s5 b$ ^7 p  B+ X9 k! K: u
  1239. ; Allow or prevent reconnect1 t, D% X1 Q5 D5 X7 P9 `, }
  1240. mysqli.reconnect = Off
    0 E: f# ^* O# O+ O0 l1 w- D
  1241. 7 \9 b; S3 L1 _8 S6 X
  1242. [mysqlnd]( h2 m0 h5 }4 J- _0 ?+ w4 }
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be# B- ^1 n9 j6 Z8 E  C/ R' `
  1244. ; used to tune and monitor MySQL operations.
    / i8 r" w$ r# P% A; T; [
  1245. ; http://php.net/mysqlnd.collect_statistics
    5 A/ u# i. Z* }  N# D1 V
  1246. mysqlnd.collect_statistics = On  o; E+ W8 w3 i- B. p) G
  1247. . s. Y, R& \, p& v: `; I
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    " K2 o- K" `6 m& a) [4 r
  1249. ; used to tune and monitor MySQL operations.
    2 y9 o; X& ?2 N* i* w4 T6 _
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    1 ?4 C( E8 x0 n3 }/ i% o  G  `
  1251. mysqlnd.collect_memory_statistics = Off
    ) k# t( D4 t1 M% q. X" V1 q* P( \

  1252. 0 ]# @2 X! z, e
  1253. ; Records communication from all extensions using mysqlnd to the specified log& Y! W3 F3 ^5 P7 V, L
  1254. ; file.
    ; V& V: \8 x* q8 }5 D
  1255. ; http://php.net/mysqlnd.debug
    ! T  G2 g* e$ H$ t0 k
  1256. ;mysqlnd.debug =9 K( t3 Q/ f0 j3 c" a2 Y
  1257. " u* g  t% E) j# |- Q
  1258. ; Defines which queries will be logged.5 D6 L$ m2 b" U2 o+ k) q: [
  1259. ; http://php.net/mysqlnd.log_mask4 M% W/ M% o+ `* s
  1260. ;mysqlnd.log_mask = 0  R: Q( p" }7 p+ h! b5 y/ P' L4 Z$ x
  1261. : p) D) G+ Q* q/ a- F- r6 I! U
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.8 }+ [5 T* g5 M: v; e
  1263. ; http://php.net/mysqlnd.mempool_default_size4 R: D+ Y: Z3 k' Q+ ?
  1264. ;mysqlnd.mempool_default_size = 16000
    3 Q8 e- {  K2 y8 p

  1265. / a( X2 }: s9 d4 b
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.: K, t4 }9 `- l% Z: I2 [3 N
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size" L- w+ h1 t& x, J
  1268. ;mysqlnd.net_cmd_buffer_size = 20480 ?3 G# o. r, ]( t4 _* Q0 s/ t; z
  1269. , `5 v9 r- o2 |& I' N8 B
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in5 d9 K" t5 f2 U/ U1 K% B& n
  1271. ; bytes.2 P3 s* S; T# l- h( R+ G
  1272. ; http://php.net/mysqlnd.net_read_buffer_size" j$ X. y- }. J1 C" T6 T( `6 L: Z7 E
  1273. ;mysqlnd.net_read_buffer_size = 32768
    , m2 \  D$ m2 p3 I, B$ j9 H4 k. ?" v, y. v3 e

  1274. . D$ _4 |3 A1 \5 F9 `" B
  1275. ; Timeout for network requests in seconds.
    " j' A" k) h& L! X  I& q# S9 Q
  1276. ; http://php.net/mysqlnd.net_read_timeout: [5 @  P/ W7 s* `# y+ d" s7 R
  1277. ;mysqlnd.net_read_timeout = 31536000
    7 Z0 N& X" |0 i; W
  1278. 2 \1 n5 r9 B/ [
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA; Z- J# z$ p0 P: Z& N" m: R
  1280. ; key., Z8 U* Y$ y: R
  1281. ; http://php.net/mysqlnd.sha256_server_public_key" q. `# ]- H+ Q- K/ A
  1282. ;mysqlnd.sha256_server_public_key =
      t" }, _- f6 m$ H8 l* w

  1283. # \+ v( O* O' H( D/ ~9 \) o
  1284. [OCI8]
    ) q7 J" k* r: @
  1285. ; z: f9 V! ^3 {  V8 [2 Y
  1286. ; Connection: Enables privileged connections using external
    5 _8 s' g5 G" N
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)5 x4 {/ M, H. V( \# t
  1288. ; http://php.net/oci8.privileged-connect3 z+ R4 f. R0 g% F& t9 z! g
  1289. ;oci8.privileged_connect = Off1 d: i7 d% H4 a, `( T: C. Q" y
  1290. * s4 c6 q; W, y4 b
  1291. ; Connection: The maximum number of persistent OCI8 connections per/ S3 j2 n0 F# t4 N
  1292. ; process. Using -1 means no limit.5 z1 q& H; @3 r) b
  1293. ; http://php.net/oci8.max-persistent4 d% [/ M6 ?1 A
  1294. ;oci8.max_persistent = -1
    8 D3 d4 m4 z1 m3 A7 F* \

  1295. ! ^% i$ A# L6 M3 f. Y
  1296. ; Connection: The maximum number of seconds a process is allowed to
      r: Q5 C) q  p- O7 d* @- Z0 I
  1297. ; maintain an idle persistent connection. Using -1 means idle
    ) u4 L% J) O4 y: O$ f8 W
  1298. ; persistent connections will be maintained forever.0 @, t8 e% T6 ?' G' q. h
  1299. ; http://php.net/oci8.persistent-timeout5 R* _! Y, d% U! H- b" b& V
  1300. ;oci8.persistent_timeout = -1
    6 q, ?9 N2 U/ V6 @/ |2 ^& v$ |5 c

  1301. 4 {/ g, ^8 l0 \' B. E
  1302. ; Connection: The number of seconds that must pass before issuing a
    ' n* |& a3 Y; J" a
  1303. ; ping during oci_pconnect() to check the connection validity. When4 M6 A3 M5 }# p* H1 m, I( m
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    * f, V, g* {& p& Q( o% b+ z
  1305. ; pings completely." d* a- [- Z9 y# C& x
  1306. ; http://php.net/oci8.ping-interval2 g2 ^# c. s% i
  1307. ;oci8.ping_interval = 60; U* B+ j. Z6 m0 r+ n
  1308. - ~- k5 m* F7 E; Y" r. N9 V
  1309. ; Connection: Set this to a user chosen connection class to be used' Z8 L" P4 k8 v7 l1 K
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    # J# Z8 m- h8 B7 V, c, H9 Z
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to5 B8 G$ {, |% i* `
  1312. ; the same string for all web servers running the same application,; s2 i5 m4 g) [- p8 Q% K; o/ F5 K
  1313. ; the database pool must be configured, and the connection string must3 M5 t, D0 a( ^1 b7 w
  1314. ; specify to use a pooled server.. ?* c6 m% \3 k9 y
  1315. ;oci8.connection_class =
    + R: V4 o# }2 H: {4 k
  1316. ) C5 k$ C# C0 U1 T
  1317. ; High Availability: Using On lets PHP receive Fast Application6 O% V4 ?, x+ Y
  1318. ; Notification (FAN) events generated when a database node fails. The
    0 b2 _) V/ P( }$ X: G5 g% |
  1319. ; database must also be configured to post FAN events.
    & Z- Q- G2 O# J5 a! f
  1320. ;oci8.events = Off9 p+ V5 B3 m2 j1 B/ I+ k0 r
  1321. + k* F; ~4 t' W5 |7 ~
  1322. ; Tuning: This option enables statement caching, and specifies how
    8 E+ \! s+ y0 Y' z
  1323. ; many statements to cache. Using 0 disables statement caching.
    1 R6 [, I  X2 z% G* n2 f! G) w
  1324. ; http://php.net/oci8.statement-cache-size
    8 s$ L/ c0 u- }
  1325. ;oci8.statement_cache_size = 205 c* o" G0 q; b/ o

  1326. " a$ ?9 H# W( W: C) G8 x
  1327. ; Tuning: Enables statement prefetching and sets the default number of: @" {$ v+ V$ H
  1328. ; rows that will be fetched automatically after statement execution.. c3 z  l1 n4 l1 Z# ^- i
  1329. ; http://php.net/oci8.default-prefetch9 K' H' \# n4 E- i+ O: c! f
  1330. ;oci8.default_prefetch = 100
    : A7 d( a2 O; x$ j2 a# w

  1331. 2 j: z% a7 s  g  C
  1332. ; Compatibility. Using On means oci_close() will not close
    5 {# m& L* C5 }6 Q: b
  1333. ; oci_connect() and oci_new_connect() connections.& f5 y2 c- v/ k5 p* h, S4 T
  1334. ; http://php.net/oci8.old-oci-close-semantics- R+ q  a5 e5 H1 u
  1335. ;oci8.old_oci_close_semantics = Off/ t3 t5 P, q4 [4 d0 f

  1336. 3 p) C  Z! _' X4 I, ?; |
  1337. [PostgreSQL]
    * e! E' r* r% Z- p% E) x/ r) |
  1338. ; Allow or prevent persistent links.
    + F2 O( ^& f& i7 [
  1339. ; http://php.net/pgsql.allow-persistent
    ! ~2 }+ y8 P' G; a/ f" X
  1340. pgsql.allow_persistent = On/ Z( x: a& m& T7 C

  1341. 6 H4 U7 o1 z. D" D! t
  1342. ; Detect broken persistent links always with pg_pconnect().8 d5 b: q" O% r# _7 _* q
  1343. ; Auto reset feature requires a little overheads.
    # u; j; E/ i, h# B
  1344. ; http://php.net/pgsql.auto-reset-persistent
    ) ?7 S: X. N: N1 h
  1345. pgsql.auto_reset_persistent = Off- }  v( ]( b1 K, C

  1346. . A. J/ ^! v8 h1 p, X
  1347. ; Maximum number of persistent links.  -1 means no limit., B! a. ?  M8 r) O
  1348. ; http://php.net/pgsql.max-persistent/ b, `4 G: g( ^. a) U+ d
  1349. pgsql.max_persistent = -1
    7 m* M7 ^$ Y$ i7 a

  1350.   f  ]! o2 S, p$ R3 j$ @
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.9 M( u* {3 d: n, M! K
  1352. ; http://php.net/pgsql.max-links1 o& x/ d4 m! u) D: Z* ~; t
  1353. pgsql.max_links = -19 A9 F8 J# C* V' E* v. V/ Y) s3 p9 u
  1354. $ @+ O* Y( u5 Y$ D0 F2 m  n
  1355. ; Ignore PostgreSQL backends Notice message or not.
    7 ^, b* `$ J" T6 h7 P2 q
  1356. ; Notice message logging require a little overheads.6 }  J; Y4 M, ]5 x3 k
  1357. ; http://php.net/pgsql.ignore-notice& i6 N% i) \0 h( P9 c% p
  1358. pgsql.ignore_notice = 0' h( v0 c" e9 p
  1359. # t$ \. r3 K+ o/ m* E; L
  1360. ; Log PostgreSQL backends Notice message or not.$ }% G: e! B$ Z! P- P, D0 d5 u0 q
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    % D0 _: Q3 r6 z& M! |; _+ P2 p
  1362. ; http://php.net/pgsql.log-notice
    ' p# K. d- s" p
  1363. pgsql.log_notice = 0" Q$ b4 T, D* N- @" J% r. ?* j' r1 E

  1364. . {# Z$ U# m! V! D& M
  1365. [Sybase-CT]
    : ~& [3 T- t5 v8 y
  1366. ; Allow or prevent persistent links.
    4 n: R7 D1 q3 _4 \
  1367. ; http://php.net/sybct.allow-persistent
    / @% S6 f2 z" Y2 X4 G2 A* ^( x  S
  1368. sybct.allow_persistent = On
    1 q" e  j6 M% R1 X) b5 i5 O
  1369. : i% ]$ Q) T7 o; X! ?/ q
  1370. ; Maximum number of persistent links.  -1 means no limit.1 P) B- V4 N) g7 F  G0 u! S5 F' v
  1371. ; http://php.net/sybct.max-persistent7 w8 z0 u' w, i/ F% Q
  1372. sybct.max_persistent = -19 `1 a( {$ |8 G5 R% y) t3 ~+ _  n

  1373. 1 j7 L% U/ Q! }/ f- X6 p; C. u* A
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    . `7 k% C  s8 `+ ~2 k; n  G
  1375. ; http://php.net/sybct.max-links
    ' R4 k. r  c/ S7 X8 _! Z! u- d
  1376. sybct.max_links = -1
    9 Z/ ]0 X/ @* z
  1377. 2 U; h1 p3 j( e6 y- l
  1378. ; Minimum server message severity to display.; u; G3 |9 `3 X  j6 d* N5 ]
  1379. ; http://php.net/sybct.min-server-severity
    : J' K, L3 r  A
  1380. sybct.min_server_severity = 10
    # J9 X) @3 m3 s" i  q/ P
  1381. 0 m$ O( M  [2 L& k
  1382. ; Minimum client message severity to display.9 U9 h- R7 j5 U  S. {& P
  1383. ; http://php.net/sybct.min-client-severity
    5 g4 C  I3 }/ o# Y% s
  1384. sybct.min_client_severity = 10
    * Q: u1 Y, G  S# T
  1385. ( c/ c, C3 P& H1 x
  1386. ; Set per-context timeout
    9 ^/ E; @9 R0 W: e, e8 u: q
  1387. ; http://php.net/sybct.timeout5 j+ E7 `7 f  A* V4 l" W' ]
  1388. ;sybct.timeout=
    + S* k% X5 }5 C9 d6 X0 ]# J
  1389. 9 u' [9 }$ B; |! n& @) Q
  1390. ;sybct.packet_size# e1 ^+ f- p4 }% ~6 |
  1391. $ ~! Z5 ]% f% Q- ~! I+ b
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    1 F: f4 V' f, n- d3 i& s8 Z
  1393. ; Default: one minute
    & x- }0 v+ _' U) a2 Z2 }1 x
  1394. ;sybct.login_timeout=
    4 f3 g& T4 h6 K6 W6 b0 G2 R

  1395. 5 v# u' h& N% P1 |4 _" o, U
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.! _7 i5 ]; `$ R+ d
  1397. ; Default: none
    ; ]* n+ n6 O. b6 P% {, C- T, ~
  1398. ;sybct.hostname=
    1 U. Y7 M9 T& O9 N- j- `! C5 d

  1399. 6 q4 f) A" x. t9 e5 y8 ^
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".- R/ J4 c8 S) z# `% B
  1401. ; Default: 03 c3 [+ O$ [8 P, u- K
  1402. ;sybct.deadlock_retry_count=2 x5 k  @) Q! f; X5 \
  1403. 0 f' J! x. R0 x, ~2 M9 K) i% |0 {! e( J
  1404. [bcmath]
    ; h' Y+ g4 T0 ?* u6 k# u
  1405. ; Number of decimal digits for all bcmath functions.
    + `) @* ^! T' M! Q! z4 e) A
  1406. ; http://php.net/bcmath.scale
    + y0 L- t# z4 \# a
  1407. bcmath.scale = 0
    9 E/ _) G0 i* Z; D; @
  1408. " h; Z+ h$ _' y
  1409. [browscap]
    & n+ t! D5 i4 T  |$ f$ ]2 w( I
  1410. ; http://php.net/browscap7 `) G& [& x8 Z9 _+ B/ `6 Y
  1411. ;browscap = extra/browscap.ini
    , P' {% c# E" P1 w1 x
  1412. 7 s. U3 m) q& L( q% b7 `
  1413. [Session]- @( L- E# m* w3 T( n
  1414. ; Handler used to store/retrieve data.; e% h! s/ U7 ?6 b
  1415. ; http://php.net/session.save-handler
    5 D( z1 [4 d- [5 b$ ~1 [
  1416. session.save_handler = files
    + F3 e$ C/ [) Y5 |( J/ Y

  1417. % p# Q* b3 e$ h, q/ T
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    . L4 \4 C1 E  H4 E
  1419. ; where data files are stored. Note: Windows users have to change this
    - A$ d' {% L0 I$ G# W
  1420. ; variable in order to use PHP's session functions., {/ I6 l* g6 R# x" [( z/ ~; V
  1421. ;7 }% j* U" m) d' j1 E' O$ j
  1422. ; The path can be defined as:( N' @2 N4 }* t2 V/ q  Y2 u
  1423. ;
    ( d+ X- ]+ j3 b: w  u* Y
  1424. ;     session.save_path = "N;/path"6 \5 l# j+ x9 o6 `; R$ n
  1425. ;9 ~, M; H. m5 o
  1426. ; where N is an integer.  Instead of storing all the session files in
    " [$ Y8 v- Y& x" Z# J3 n
  1427. ; /path, what this will do is use subdirectories N-levels deep, and$ c0 M# J, x1 C
  1428. ; store the session data in those directories.  This is useful if/ c! y3 f% _3 v
  1429. ; your OS has problems with many files in one directory, and is; R, ?7 d$ W# S- ]3 w1 p, @1 Q
  1430. ; a more efficient layout for servers that handle many sessions.
    3 a5 ?$ b* h3 I! H. l1 E
  1431. ;
    5 F) p0 n- f+ b- a  w
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    : U5 i' e$ s& U# ?
  1433. ;         You can use the script in the ext/session dir for that purpose.
    6 P- j, Q' t; Q( W" o& d
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    # z; R8 j0 n( r1 Z0 n) a( V2 g7 Y
  1435. ;         use subdirectories for session storage5 I; ^& H8 y. H8 h0 \: q7 G6 ]
  1436. ;+ C: H: d1 k2 K" Y0 r6 A3 X3 @
  1437. ; The file storage module creates files using mode 600 by default.% R! V# u8 F  P4 _5 h3 [$ c) F& V
  1438. ; You can change that by using/ l* ]  R8 W7 [
  1439. ;
      K7 a3 D/ n9 l# f1 v2 j
  1440. ;     session.save_path = "N;MODE;/path"( e. Y2 t! K# d& H( w. L, z2 U2 x
  1441. ;
    : A/ Y; F3 ?8 a$ p
  1442. ; where MODE is the octal representation of the mode. Note that this
    - N5 O- ^# Z# I' A0 F2 [6 U
  1443. ; does not overwrite the process's umask.4 S7 D( T& t3 X% {$ S* B
  1444. ; http://php.net/session.save-path
    ; _/ l' x8 e% `7 W" _
  1445. ;session.save_path = "/tmp"& e1 L2 o: b# ^1 }' q. }& f5 H+ p
  1446. , U. V' s4 e2 K* p" l; {; P
  1447. ; Whether to use strict session mode.
    + t& b' h( I2 d$ r: K! ?9 Z2 _
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    ) h. N  F+ y5 V5 Q# E+ h
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects8 t  ]1 y( S; c/ ^. k
  1450. ; applications from session fixation via session adoption vulnerability. It is' H* Z! v$ z( B+ i9 k5 n
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.8 v+ s0 q( h, q
  1452. ; https://wiki.php.net/rfc/strict_sessions
    " O& [: B* N8 Z( ^% `2 f+ r  T
  1453. session.use_strict_mode = 0% @8 L4 I5 [, d; [2 h+ z3 Y
  1454. ' q* F/ J1 `) y9 D8 |" A! a9 ]
  1455. ; Whether to use cookies.5 D) K# K$ Z4 Z$ o) P1 c
  1456. ; http://php.net/session.use-cookies, V! F( o7 ^* V* E$ a
  1457. session.use_cookies = 1
    ! t9 x- O, p( n8 B

  1458. 3 a5 e5 I0 J: C
  1459. ; http://php.net/session.cookie-secure: a+ U$ E, ^* M* W: T0 W: w
  1460. ;session.cookie_secure =
    0 ~2 L& X2 u; D' A+ [

  1461. & v9 m8 Y2 J9 s. n" B  Z
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    ! J2 n6 x0 T  r4 K5 m
  1463. ; the session id. We encourage this operation as it's very helpful in combating( U2 y) ^5 r5 m* h7 W
  1464. ; session hijacking when not specifying and managing your own session id. It is
    3 w+ j' E3 ?+ X$ B* `
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.. h& u- l: J  Q" P& V! x
  1466. ; http://php.net/session.use-only-cookies
    8 w. c, h5 P1 H& C# S
  1467. session.use_only_cookies = 1$ D6 X, j- ~3 |: `  E

  1468. - w" `: K. k+ K0 N& U. }; d& q# d% U! r4 F
  1469. ; Name of the session (used as cookie name).
    & g5 L  e2 n7 T+ F) M
  1470. ; http://php.net/session.name% p! P( C6 O6 c( k1 ~0 I+ y& n2 E% U
  1471. session.name = PHPSESSID
    ' v8 s+ h8 k- S1 E6 j' }

  1472. ( P  x. l7 x- h
  1473. ; Initialize session on request startup.
    ( F6 G/ N( R5 Y+ F; T0 x9 A7 A6 _
  1474. ; http://php.net/session.auto-start( d. i8 \' X1 t6 k; t
  1475. session.auto_start = 0! p3 j1 x" z7 w& Z( x
  1476. : C) Z& t& v5 R7 p' N; A
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    ( D' c$ Z" M: F& a2 D! h. J' U
  1478. ; http://php.net/session.cookie-lifetime
    & X" N! u; z( T6 K9 Y# S5 s8 z
  1479. session.cookie_lifetime = 03 D; d% U) p( i+ P! ^5 c: r- p, i
  1480. ' O2 B, F$ d; \  j4 H
  1481. ; The path for which the cookie is valid.
    ' O6 L% z$ P- j6 I3 ]4 o; D, q: |
  1482. ; http://php.net/session.cookie-path
    ) ]/ Q8 c9 j2 g
  1483. session.cookie_path = /
    # ?, U1 Z' d# y" A& G% |4 Q

  1484. 8 H# u/ m+ p" T4 o0 o9 m/ |1 X9 ^
  1485. ; The domain for which the cookie is valid.
    / W9 K, h) o$ N. z! @
  1486. ; http://php.net/session.cookie-domain1 M3 s/ e- i: R5 C8 S: y$ D
  1487. session.cookie_domain =
    / ~3 X" N3 v& {* o) s' H2 N1 ~
  1488. , k6 U* q$ [* H7 ^7 K
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    9 b! P/ ]7 S  F8 \0 v
  1490. ; http://php.net/session.cookie-httponly
    / N. n; R; T! ]
  1491. session.cookie_httponly =" j4 e4 ^7 \. K7 e! F8 e0 Z

  1492. : q% u% m* u2 R& N
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.3 j* L9 v# j. t/ m
  1494. ; http://php.net/session.serialize-handler4 A  l* Y2 S9 f8 x% p: H
  1495. session.serialize_handler = php# ^2 L! Z* G; [; p0 ^4 h- R

  1496. ' i; o' a0 \& {8 u/ \
  1497. ; Defines the probability that the 'garbage collection' process is started4 W/ }. z; F. t: ~& t+ S
  1498. ; on every session initialization. The probability is calculated by using: N/ s) b% r! n. L$ u% ]
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator( c- |9 s. Y9 b7 J, x
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    ; H" Y( N/ h3 _* V5 k$ {4 H2 _; P
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance  @6 ?9 ~6 L7 V; _3 A0 t6 M) @
  1502. ; the gc will run on any give request.( O' G' W4 {3 l3 l% g0 c6 X+ k7 c
  1503. ; Default Value: 1
    * k- a4 E1 M) f
  1504. ; Development Value: 1
    / A$ [/ m* V$ u7 w3 v" }5 L
  1505. ; Production Value: 1
    * J- b/ B" i; l) V5 ]/ X, v" m
  1506. ; http://php.net/session.gc-probability
    % q" E6 \( W. R/ P7 v
  1507. session.gc_probability = 1  e" e8 i+ Y+ l# j
  1508. 8 L, B% K- g- k
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    6 l) S( q5 _3 g0 F$ G
  1510. ; session initialization. The probability is calculated by using the following equation:: f0 K: A1 }, |; j) i
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and% N6 L0 V/ L( k/ v$ R& Z/ |
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    & k" A: k' e1 ^3 p3 E
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance' p2 H" A1 K! I$ }% c8 \8 S+ \6 k" a, m
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    - G3 F/ F( \8 G
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,1 R; f& b6 L2 D, c& {9 [0 M! P& P
  1516. ; this is a more efficient approach.& l9 }: }- p6 t* z3 q
  1517. ; Default Value: 100
    ( C; l( N8 {: [$ A5 o
  1518. ; Development Value: 1000& i3 v7 n: U- X' S0 h/ ^7 D
  1519. ; Production Value: 1000! u: \; J2 R: V9 }
  1520. ; http://php.net/session.gc-divisor
    3 v- m6 W: L+ `  ]( I- A' u- j% O
  1521. session.gc_divisor = 10008 E+ [& T2 C6 Q8 D3 @( Z- V: A
  1522. 2 |7 A& k* B* y: \
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and7 ?+ r/ j3 o9 o5 ?1 j
  1524. ; cleaned up by the garbage collection process.
    . c" M7 m0 @$ s8 j: {6 Q+ X% f% a
  1525. ; http://php.net/session.gc-maxlifetime8 ^& W8 D( ]3 _! C9 m
  1526. session.gc_maxlifetime = 1440
    + q/ f- ~' N9 C; m5 I

  1527. 5 y3 T3 l# G9 x0 W# p
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    " v: L3 y  z9 k) r; k: T7 p
  1529. ;       (see session.save_path above), then garbage collection does *not*
      W: l- h& ~* C; J* l# s" F9 d+ \, f1 g
  1530. ;       happen automatically.  You will need to do your own garbage# }* J/ O; O3 X, C. b
  1531. ;       collection through a shell script, cron entry, or some other method.6 S. @: ]7 A: r, A6 v( J% d; k
  1532. ;       For example, the following script would is the equivalent of
    $ v3 B' K4 J- p- p
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    1 i) f/ O& o5 ?8 H" P) G
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm' L. a/ y' Y- B2 i# S
  1535. : r: S8 b1 W6 R9 P5 i
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids./ B! }8 Y& b3 e
  1537. ; HTTP_REFERER has to contain this substring for the session to be, ]" E0 X; O5 x% b: d1 C- ?
  1538. ; considered as valid.$ g, A8 Y/ @" `( X& p8 `/ k
  1539. ; http://php.net/session.referer-check' j) g& L- L5 Q6 g
  1540. session.referer_check =+ {! ^8 H6 X2 D( n6 c. v0 t
  1541. ) w& g3 G8 l5 G3 d
  1542. ; How many bytes to read from the file.% d: D! V1 i3 f3 P# \% h
  1543. ; http://php.net/session.entropy-length/ T8 S' w( [7 a" u
  1544. ;session.entropy_length = 32
    : P( j1 i7 u! Z" \) c" j0 S+ V

  1545. 6 ?8 P! Z/ P& X; q" v1 s
  1546. ; Specified here to create the session id.
    : n2 c2 V; j6 g- J$ r- C) p1 W7 J
  1547. ; http://php.net/session.entropy-file
    8 t( w' {$ g( B4 _( \  F; g% [8 n9 W
  1548. ; Defaults to /dev/urandom; _& Y- m6 ~; j  W. T3 r1 ]# E
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom  ^7 t4 Y) k+ O4 I5 V
  1550. ; If neither are found at compile time, the default is no entropy file.
    $ J& m+ K+ a: L7 d# Z3 z3 g: }, H1 C
  1551. ; On windows, setting the entropy_length setting will activate the
    3 A6 B+ m# H, T. p- [- z5 n
  1552. ; Windows random source (using the CryptoAPI)
    0 E# W" Z9 x* M* o. R3 J% o
  1553. ;session.entropy_file = /dev/urandom+ r! Y6 c* G+ r* s& b4 Z9 D

  1554. - Q0 P! U/ X) }! _$ m
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    - D2 o% e0 l' G- L5 O
  1556. ; or leave this empty to avoid sending anti-caching headers.) u% ^; e! G9 O* _; I3 q
  1557. ; http://php.net/session.cache-limiter5 N8 a& {) @& |
  1558. session.cache_limiter = nocache9 O( s3 X* ^( G! R8 ]' Y& [
  1559. ' m! t7 c8 l* ]) i3 X$ ^! f4 M1 w
  1560. ; Document expires after n minutes.. }, _: [9 \' P$ h
  1561. ; http://php.net/session.cache-expire
    ; x5 \8 P. m7 t4 L; C
  1562. session.cache_expire = 180
    3 U- v8 M) \- q7 y5 s

  1563. # M9 q2 K: A/ m: W4 _6 T1 v
  1564. ; trans sid support is disabled by default.
    ; J( P4 r( K; n. b. z1 Y
  1565. ; Use of trans sid may risk your users' security.
    & a# u5 h2 ]9 s/ X, n' l0 A1 t5 f
  1566. ; Use this option with caution.
    5 R  Y: K! X8 t2 A" x- \
  1567. ; - User may send URL contains active session ID
    % M' A9 b5 c* R- K4 W$ s( d
  1568. ;   to other person via. email/irc/etc." G, A  |3 L1 ]- w( T- }
  1569. ; - URL that contains active session ID may be stored: w% k& d) L- F+ Z- f8 h$ D- M3 h
  1570. ;   in publicly accessible computer.
      c9 h9 q2 k4 P; V
  1571. ; - User may access your site with the same session ID
    5 |/ K* [. j' e
  1572. ;   always using URL stored in browser's history or bookmarks.. z( ~# y7 d) e# X
  1573. ; http://php.net/session.use-trans-sid
    1 H% O6 E" E, O! ~4 R( D' X/ L
  1574. session.use_trans_sid = 0
    $ c# _+ X3 p# A+ A% J
  1575. * h4 I$ x. Q8 S8 r, t. c
  1576. ; Select a hash function for use in generating session ids.
    ; J, x7 H8 s( v" x# L+ u7 R
  1577. ; Possible Values
    0 B. O7 U$ }( }6 z4 d6 h
  1578. ;   0  (MD5 128 bits)9 K5 c; V; p& G3 z; ~4 b/ {
  1579. ;   1  (SHA-1 160 bits)! _* I- q: q% V6 H  u3 m2 }
  1580. ; This option may also be set to the name of any hash function supported by
    - _9 q! y  z; K' Z# A, f
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()* \, L) N3 b# J! }  j5 W
  1582. ; function., e# j% w  d% c5 k
  1583. ; http://php.net/session.hash-function
    ( \5 b3 i* M1 `5 J& N1 }  B0 [
  1584. session.hash_function = 07 ]5 I/ @) t, B+ h9 D0 w6 ~; d
  1585. . u" l  J4 v4 Q' M5 r  }! b$ M$ H
  1586. ; Define how many bits are stored in each character when converting+ T$ |$ ]' Z/ T# d7 m7 G
  1587. ; the binary hash data to something readable.
    $ L7 o% C# x) g* t
  1588. ; Possible values:
    / p' U' p- m' u# u' d
  1589. ;   4  (4 bits: 0-9, a-f)# E, ?4 v1 g- q) V
  1590. ;   5  (5 bits: 0-9, a-v)  }4 v5 ]4 A1 m7 G" b
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")2 R* m4 u) Z  u3 z+ O' O
  1592. ; Default Value: 4
    3 N" y% H" l- r! W, B2 ]7 x
  1593. ; Development Value: 57 i8 |& @- ^5 e- j- F
  1594. ; Production Value: 5) E2 c$ f) d) A4 b
  1595. ; http://php.net/session.hash-bits-per-character
    8 v9 S* D8 _* m
  1596. session.hash_bits_per_character = 5
    / _' M9 t2 ~0 F- J6 f+ T( b- }

  1597.   ]1 V2 y; D2 l  l
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    6 v1 b2 M' S* j+ j5 ]% r
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    2 l: J; @3 n' h( {' }6 v- s* X
  1600. ; add a hidden <input> field with the info which is otherwise appended% w8 Q& W! J% n5 d2 G
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.: o" l( x3 l- ^, a; F
  1602. ; Note that all valid entries require a "=", even if no value follows.
    + T2 q# J: u* w0 \) \1 q5 q
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    4 a: f( j) O1 Q9 c& t' ^
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    / h- H  ?* K  g% L; Y0 [
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ! U3 Y  v& J9 Q* y+ c
  1606. ; http://php.net/url-rewriter.tags$ D" v0 @# Q6 u" T0 z- T
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"1 ]8 a: ~  h: Y$ A1 E

  1608. - I- l  [5 v/ a7 s) m8 n& j, O6 ]$ k
  1609. ; Enable upload progress tracking in $_SESSION1 X* B* b% O( _7 A* M$ o1 j
  1610. ; Default Value: On  C+ D/ n6 s* y8 Y! e+ N" U/ d& Q$ t$ ^
  1611. ; Development Value: On
    $ _4 J- J. e- Z5 D% s
  1612. ; Production Value: On' ~/ Q( c' E6 x: D3 t& a
  1613. ; http://php.net/session.upload-progress.enabled3 n' a4 d/ F; Z- P4 y' [, ^
  1614. ;session.upload_progress.enabled = On
    ; d& O5 X/ ?: p* O" N! y2 q  B2 C
  1615. ' a( e. W' d: B3 ~
  1616. ; Cleanup the progress information as soon as all POST data has been read; u$ E9 J4 O7 L5 U) y4 K
  1617. ; (i.e. upload completed).
    0 P# C# C" J5 _' `: }8 ]1 V$ H
  1618. ; Default Value: On5 O  n" j. Q: u- A- o
  1619. ; Development Value: On. R7 B" z2 A( p1 C+ d8 T+ A6 m
  1620. ; Production Value: On
    9 @) O+ Q# G" m& H, K
  1621. ; http://php.net/session.upload-progress.cleanup
    ) H4 Z+ D9 P- x
  1622. ;session.upload_progress.cleanup = On
    + x6 k$ @8 o; K. `7 H* F6 m' S) Y

  1623. $ V8 W, V- E( G% V3 I3 Q$ h' {
  1624. ; A prefix used for the upload progress key in $_SESSION
    / |6 O2 C( d" n( a0 w: A, N6 Q0 v$ [& ]2 S
  1625. ; Default Value: "upload_progress_"6 f6 y8 f$ _4 I  [
  1626. ; Development Value: "upload_progress_"! K% p0 E! D2 q1 b
  1627. ; Production Value: "upload_progress_"
    1 x& o! L3 D% q# s  a2 k2 R- I5 e* j
  1628. ; http://php.net/session.upload-progress.prefix
    $ t/ O5 ?6 \$ J) s- u
  1629. ;session.upload_progress.prefix = "upload_progress_"
    9 K' M! |* a$ p5 R# B
  1630. 6 e* a7 I+ u3 a; h* }
  1631. ; The index name (concatenated with the prefix) in $_SESSION, q7 n- N+ c; L) k0 L
  1632. ; containing the upload progress information1 c; b6 V0 S( ~
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"# R5 k% k; Z2 K$ @' }1 ~
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"4 _& D3 q; X) M7 p  T4 r
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    / L1 ]( ^* M6 M+ L- d
  1636. ; http://php.net/session.upload-progress.name( v4 M7 m1 h" ^+ b$ g9 c
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"3 l1 o: b% q, g; l) J
  1638.   A9 S' s' Z/ x7 ]( i# N: y4 q
  1639. ; How frequently the upload progress should be updated.
    % U% c# O3 D) y4 S
  1640. ; Given either in percentages (per-file), or in bytes
    " R$ Q7 m$ q& \6 ?2 [3 x- j
  1641. ; Default Value: "1%"
    % X1 e5 }, p% p" |6 C5 z0 d
  1642. ; Development Value: "1%"
    ! @  o0 }6 P/ Y: I1 J
  1643. ; Production Value: "1%") B- k$ h8 ^1 _1 X2 J% J& a$ p
  1644. ; http://php.net/session.upload-progress.freq6 t) {; G* G" S
  1645. ;session.upload_progress.freq =  "1%"9 l2 x8 ?9 |8 W, t* w1 x

  1646. 8 D* T* }  O* ?: S8 h
  1647. ; The minimum delay between updates, in seconds
    - h4 e& F' ^# h# [& i) j
  1648. ; Default Value: 1" _7 E. O" A& k( U5 n/ Z
  1649. ; Development Value: 1. l: A* m2 u, |+ t$ w  u1 L
  1650. ; Production Value: 17 m* X! L0 J" q) a% D# E
  1651. ; http://php.net/session.upload-progress.min-freq3 R1 f4 J- g  w6 B) N7 M
  1652. ;session.upload_progress.min_freq = "1"' K# ]2 ]. t5 l: _, ?

  1653. ( f/ e! ?' q1 u  g
  1654. [MSSQL]
      X: M9 U4 x1 `* M
  1655. ; Allow or prevent persistent links.
    $ w1 c' e) H4 X" o* `3 j
  1656. mssql.allow_persistent = On7 }4 u9 D% b/ p+ b

  1657. & c% T' X4 H, E
  1658. ; Maximum number of persistent links.  -1 means no limit.
    8 `% j- H) {7 L; Y
  1659. mssql.max_persistent = -1
    5 s! y9 y) {) P1 ]# _8 D8 D
  1660. 4 f3 \& P; u/ s2 {) D
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    0 g3 @" s6 n5 ^+ o" Q/ \
  1662. mssql.max_links = -1
    , l8 X1 L2 Z) J

  1663. ! ]' ^7 G; e6 E& u- p7 M8 t
  1664. ; Minimum error severity to display.
    * A6 e+ R" B- M! G9 w% D2 f# n: w
  1665. mssql.min_error_severity = 10
    ( [' B" a( f3 |. e. Z/ {3 ~6 g
  1666. ; D8 G+ M, m8 t1 s5 Y
  1667. ; Minimum message severity to display.3 }, P' ^8 [  m2 \5 s
  1668. mssql.min_message_severity = 10; p  X/ n3 L- `, Q
  1669. + G! S; T& r( w& \, \
  1670. ; Compatibility mode with old versions of PHP 3.0.1 W" C) @4 I5 Z! r9 F! D
  1671. mssql.compatibility_mode = Off5 k5 t$ H1 n' E5 Q5 b
  1672. . |  G2 a. `; U* k$ U, c
  1673. ; Connect timeout
    3 z+ q( x* D) ?2 P  b# b0 w, D- W; }
  1674. ;mssql.connect_timeout = 5
    $ i6 d  Q% a0 D0 v' e

  1675. " Z4 T# X# T( \3 s
  1676. ; Query timeout
    + E2 u, [" Z9 ~: F1 b) A+ d
  1677. ;mssql.timeout = 60' ~9 i- S! S$ y" E3 {0 t9 O2 u

  1678. + t$ r$ t& f' W6 i* v
  1679. ; Valid range 0 - 2147483647.  Default = 4096.0 v5 b" K/ X# e; U, ?9 r
  1680. ;mssql.textlimit = 4096$ }( x% D9 O) D2 b6 }" t" V
  1681. . k# j# ^8 \1 X( R4 F
  1682. ; Valid range 0 - 2147483647.  Default = 4096.* H! N, J  A; Z( y9 f/ x
  1683. ;mssql.textsize = 40967 t! ?6 l3 d& h/ e# v2 e

  1684. # Z3 K5 n1 @* {# Y7 D
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    8 ]5 |1 c" C9 N7 K
  1686. ;mssql.batchsize = 0
    + |' P1 R% e2 b- ~

  1687. ! G% c3 \; y+ `$ y
  1688. ; Specify how datetime and datetim4 columns are returned9 C+ b0 l. L5 N9 k
  1689. ; On => Returns data converted to SQL server settings9 _& m2 Z% e! e  K2 \# e; n
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    , M+ j) |) j# f4 j1 H: d4 e
  1691. ;mssql.datetimeconvert = On
    7 H! F3 z5 v' }/ s/ {
  1692. . B( O1 V$ w  e; r5 W3 A
  1693. ; Use NT authentication when connecting to the server3 L+ g' p3 J% O, n9 s1 D' [  R
  1694. mssql.secure_connection = Off
    - v5 @% _8 Z* t
  1695. 9 B9 c* G4 h. \  g8 M
  1696. ; Specify max number of processes. -1 = library default
    ) G6 N! w& G. s
  1697. ; msdlib defaults to 25  J$ D/ n2 W5 I: R# B1 x
  1698. ; FreeTDS defaults to 4096
    6 ?+ u7 O& \, L
  1699. ;mssql.max_procs = -1/ ^' ?. y$ Y4 [

  1700. 4 O" v# O' _1 u
  1701. ; Specify client character set.' p1 P. f; S8 O3 F* Z9 F+ p" Q1 U
  1702. ; If empty or not set the client charset from freetds.conf is used" q) C9 u. G1 p$ l* Y6 g3 y
  1703. ; This is only used when compiled with FreeTDS
    3 S/ X0 }( {  q0 [6 `
  1704. ;mssql.charset = "ISO-8859-1"
    / q2 e7 p. e$ |1 w
  1705. 7 d( [/ L5 l0 o3 I1 [
  1706. [Assertion]8 P6 z. R% c! }- i( Z5 T0 a% L
  1707. ; Assert(expr); active by default.
    3 w( o: n4 g8 W7 v
  1708. ; http://php.net/assert.active5 y, f7 o7 J& _1 g
  1709. ;assert.active = On
    ' @  C2 L- i9 y) T
  1710. * V4 V: U; l7 n0 M# u  W
  1711. ; Issue a PHP warning for each failed assertion.# S: W2 K+ X0 I4 [+ Z. v  N
  1712. ; http://php.net/assert.warning1 q9 z# @: T3 r6 b3 a
  1713. ;assert.warning = On
    : Q& ]7 T+ ^; B! m" G8 y
  1714. 3 X7 m! V) w' g' Y; R; c( N' k
  1715. ; Don't bail out by default.
    ; ^! I/ _' O' x4 A! w( K
  1716. ; http://php.net/assert.bail
    : L7 ^2 V, s) ^
  1717. ;assert.bail = Off% r/ \' H2 x; c. V+ Q4 u

  1718. # `; P3 C: A$ P5 h5 U
  1719. ; User-function to be called if an assertion fails.) d8 h( j6 a! @2 m
  1720. ; http://php.net/assert.callback
    ) I! r$ f$ `1 u7 i' H2 a2 \% O
  1721. ;assert.callback = 0
    - j# a5 `6 o- }, {( a) M4 C5 x
  1722. % R4 e/ v* R* J+ b0 u8 ^
  1723. ; Eval the expression with current error_reporting().  Set to true if you want2 u' L7 y, W3 p+ x$ a6 |
  1724. ; error_reporting(0) around the eval().+ L2 k: q0 H/ D$ K/ W2 K# Y
  1725. ; http://php.net/assert.quiet-eval) U% h3 f% M. D
  1726. ;assert.quiet_eval = 0( T/ k: ^; M9 c. F

  1727. ; F5 c5 ~. B% W& J9 x
  1728. [COM]1 d0 }; `" c% `& `+ |  }
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    & v+ J3 Q# W0 }' Q6 J3 ^" y
  1730. ; http://php.net/com.typelib-file9 T/ F" R$ g: o8 U
  1731. ;com.typelib_file =
    # b  F6 ^6 b: N6 B, K; h9 I, F
  1732. ' Y2 n% Q2 f# V
  1733. ; allow Distributed-COM calls
    0 Z( S) {9 B: C* |4 D
  1734. ; http://php.net/com.allow-dcom: ]6 |8 o4 d% S
  1735. ;com.allow_dcom = true
    1 W1 c0 @* B& G, y: u- z

  1736. 7 g, X2 o/ I. {& r
  1737. ; autoregister constants of a components typlib on com_load()
    - X; N; D8 m# G4 J' A& K
  1738. ; http://php.net/com.autoregister-typelib
    1 G0 P& W/ A3 ]3 Y% z! f
  1739. ;com.autoregister_typelib = true
    8 M4 R2 \& v7 v4 X0 u

  1740. " N% i* d( @8 k7 I/ U; s: W6 \# v
  1741. ; register constants casesensitive
    7 n2 m( K) I' N; X% Q5 C
  1742. ; http://php.net/com.autoregister-casesensitive; t$ S. X8 p1 o5 C! F$ s) U% I8 `
  1743. ;com.autoregister_casesensitive = false. `7 e6 ^) Z8 |7 x/ ~- X

  1744. * z% ^+ P1 r) }' u2 {
  1745. ; show warnings on duplicate constant registrations1 E$ ^" [+ c2 N; [
  1746. ; http://php.net/com.autoregister-verbose8 z% _  a3 v% N
  1747. ;com.autoregister_verbose = true, @9 e8 \5 S9 q9 M+ m& i
  1748. - p( J& A* ~9 T
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    : |& w! ~  H3 `# ^
  1750. ; Default: system ANSI code page) \" Q- \7 b9 ^5 g, t6 u, N
  1751. ;com.code_page=
    2 b2 s  g9 u$ W6 @+ ^1 G
  1752. 2 B& ~- H9 ~1 M* I3 k$ x
  1753. [mbstring]
    6 V* d6 a* H, g  X
  1754. ; language for internal character representation.& U& c6 {+ i9 ?- n/ C* A
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    2 M9 q5 Y0 q$ B, H- o( T
  1756. ; http://php.net/mbstring.language+ p7 d% d; G  l
  1757. ;mbstring.language = Japanese
      P( O, x7 w3 ~
  1758. . i$ A1 W& y" R, q
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.9 x/ S) e* a2 P2 ]+ h0 j( r
  1760. ; internal/script encoding.* B. C/ U6 p5 a8 z
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    * I8 Q5 [) Q5 Y
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.( W5 z' O' f0 q( C
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding. @. M$ T4 F2 ]+ C4 ?
  1764. ;mbstring.internal_encoding =
    ) X* J* R% n2 @/ h! R

  1765. 2 a1 b2 F9 I6 l+ }! c  k
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    4 |4 s2 ]  ~. E# l. {
  1767. ; http input encoding.  \8 x$ e, G- S5 R3 s
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    6 ?4 @* k7 H2 K8 h
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    4 |) m1 A5 y' j
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input3 q  ~. @+ }& ]$ T2 l* S
  1771. ; http://php.net/mbstring.http-input+ }7 R( I% L: `( z, x# [
  1772. ;mbstring.http_input =+ E7 ]1 g$ {, ^+ b
  1773. 0 O& b, }5 C0 P- q# {
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    4 u2 g, K5 s* s& ]% [/ A8 a8 \) n* l/ e
  1775. ; http output encoding.$ K& x" [. @! ^, j! }; @
  1776. ; mb_output_handler must be registered as output buffer to function.: }' D$ C' y- \0 Y
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.+ P3 v' h/ |1 z( ~& c- O
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    . |7 B. m5 U( U6 d. r
  1779. ; To use an output encoding conversion, mbstring's output handler must be set, l, a. k9 F+ ]- w( j
  1780. ; otherwise output encoding conversion cannot be performed.
    0 ?. S8 C. m( u# x
  1781. ; http://php.net/mbstring.http-output
    2 V8 U7 I# ~) t" X/ f1 T+ P& D% ?
  1782. ;mbstring.http_output =
      _5 U& n8 |; d" u7 N, ?$ x
  1783. 0 L4 ]; u* d: c+ ~) g- ^3 |! p9 u. V
  1784. ; enable automatic encoding translation according to9 |0 i, V0 _& U. r) _3 I
  1785. ; mbstring.internal_encoding setting. Input chars are
    / x$ @: a* R( P
  1786. ; converted to internal encoding by setting this to On.
    5 p, R4 T' L% H2 L7 U0 ?
  1787. ; Note: Do _not_ use automatic encoding translation for
    " D' N9 r1 {1 v* g) {- f+ S2 s
  1788. ;       portable libs/applications.5 s% v+ R, z' c: \" @
  1789. ; http://php.net/mbstring.encoding-translation
    , b$ h! ~9 _/ s; d, D: F5 n
  1790. ;mbstring.encoding_translation = Off
    / ^* p! u( Y( [4 b/ u

  1791. 5 w$ r5 Y# Y# m* C
  1792. ; automatic encoding detection order.7 m$ Z5 a$ f2 g% m$ O/ r
  1793. ; "auto" detect order is changed according to mbstring.language
    4 r& P3 u( N; [; B9 r2 B1 f
  1794. ; http://php.net/mbstring.detect-order
    1 h( C: {7 Z' d  r
  1795. ;mbstring.detect_order = auto& t5 d: Z5 ^! I. ~' f% P
  1796. # X1 n  N: z9 i7 q
  1797. ; substitute_character used when character cannot be converted
    # C5 |! n7 L$ P6 |7 e' K; n
  1798. ; one from another
    7 X  \* a$ ]* M
  1799. ; http://php.net/mbstring.substitute-character
    ) |  w9 ?* T8 _
  1800. ;mbstring.substitute_character = none2 U" ?, Y( ^3 Z; v

  1801. " B$ o( D1 j8 g
  1802. ; overload(replace) single byte functions by mbstring functions.' M: _  t0 @& r
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    + O+ Y$ i, @2 R2 h2 v3 Z! M
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    ( o1 r' b  }, f8 \. @
  1805. ; For example, 7 for overload everything.
    8 z9 a% s( [# [$ c# q6 [
  1806. ; 0: No overload
    3 h3 k- o) y: B% x* {- _
  1807. ; 1: Overload mail() function3 O5 E9 I# u: |% Y3 M" [4 }0 x
  1808. ; 2: Overload str*() functions( h" l% {- M; t( R' U0 o
  1809. ; 4: Overload ereg*() functions
    / x& u) f% T1 M9 g" j7 [+ X
  1810. ; http://php.net/mbstring.func-overload
    . c$ g$ I+ Y. I4 \7 C' [4 h4 J1 u
  1811. ;mbstring.func_overload = 0% ~* `3 f5 e0 M1 g/ n
  1812. : k) Q! }' F" V$ r7 A  x
  1813. ; enable strict encoding detection.
    ( d2 _. u, v: `+ W- L4 y
  1814. ; Default: Off
    : B* ^% Y' B+ y) F+ J
  1815. ;mbstring.strict_detection = On3 t0 f* J$ M2 R( b5 w1 E. j" X6 O

  1816. 5 u+ [9 L9 X1 s& h5 v( W+ r
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    , Z. o" U4 }8 s; P/ E9 Y
  1818. ; is activated.
    4 R. R2 M1 m4 }; s3 k2 Y
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    . H4 c* \/ T. N) K
  1820. ;mbstring.http_output_conv_mimetype=' }4 ^8 [; ?9 X1 Q9 {

  1821. # W7 o$ \1 b% J2 f- _
  1822. [gd]# j: ^5 v$ v$ ~2 f+ v
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    ) a; l) F  J  E& W- m
  1824. ; a gd image. The warning will then be displayed as notices
    % n6 p( D: V/ U8 `6 C' y8 o
  1825. ; disabled by default
    ( F: p# w8 p; B, E0 E
  1826. ; http://php.net/gd.jpeg-ignore-warning" r9 I9 W" ]. G' l; K" J
  1827. ;gd.jpeg_ignore_warning = 0
    9 ~' ?2 I' g' H. g
  1828. , J/ D9 r' U: M" Z# u# l
  1829. [exif]4 S, Z8 ~. z  T, Y
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    / w: S* j9 E/ }0 O- Y! l3 n
  1831. ; With mbstring support this will automatically be converted into the encoding
    ) l+ g& V5 n3 W
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    / L7 _, u: D0 T9 p0 y
  1833. ; is used. For the decode settings you can distinguish between motorola and
    ) X. c9 s5 g6 G5 ]* q7 R: ~
  1834. ; intel byte order. A decode setting cannot be empty.& W; O( b' T' P4 J+ ^) |) m
  1835. ; http://php.net/exif.encode-unicode) Z, W$ G* O5 Z5 i
  1836. ;exif.encode_unicode = ISO-8859-150 B: H+ l. \- F8 K* o" i) Q
  1837. ) H+ Q/ C7 q% p2 `- o  M  I
  1838. ; http://php.net/exif.decode-unicode-motorola
    ( g1 {; `  p) ^7 a7 x
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    & P/ }: x: ?, n" F3 y( o2 i
  1840. % h' O6 F9 B' A& s7 t& R3 j
  1841. ; http://php.net/exif.decode-unicode-intel8 S+ S6 s# X, p
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    : D( ?: |, D2 O
  1843.   e$ E2 J$ ]1 K7 S9 r
  1844. ; http://php.net/exif.encode-jis
    1 Y" R4 m! B* w9 Q3 v; N% C
  1845. ;exif.encode_jis =5 b' o+ K3 y& y0 T: ]3 l: F

  1846. $ w3 u$ f9 z+ T1 H* c- H  J$ N: ]
  1847. ; http://php.net/exif.decode-jis-motorola
    6 t% C3 d# e9 K+ J  j
  1848. ;exif.decode_jis_motorola = JIS6 u0 _6 _" q8 b9 Y& x: o

  1849. 9 p( F$ X$ p2 n9 P+ _# V
  1850. ; http://php.net/exif.decode-jis-intel) |% `, h# T2 ^  Y" \
  1851. ;exif.decode_jis_intel    = JIS
    # f- M/ H4 S1 t. f. ^  c; S7 D  Z" x
  1852. ; U/ B. j. y3 a
  1853. [Tidy]' Z1 \+ m3 R! i0 a
  1854. ; The path to a default tidy configuration file to use when using tidy/ H! ]" O6 _: q3 g5 [3 F
  1855. ; http://php.net/tidy.default-config
    4 e- b/ {, e" c6 n3 Q* i8 @+ z" }( H5 O
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    1 c( m; v! f0 a+ Y: I1 I- N1 _* `8 c

  1857. 7 Y" p" i6 M: S$ \& [+ T5 W
  1858. ; Should tidy clean and repair output automatically?
    ( S# M' N2 A, a, x: }  ?6 {# F" b
  1859. ; WARNING: Do not use this option if you are generating non-html content
    ! H* J6 l5 y$ Y( @3 A
  1860. ; such as dynamic images& G# c0 u! R+ {+ U. L2 |& {) J
  1861. ; http://php.net/tidy.clean-output7 s- i" Q( Q& H2 b
  1862. tidy.clean_output = Off
    0 ?  u" j6 j5 B) P
  1863. & H- b% d. M. K0 r. _% u$ C
  1864. [soap]
    ) f. R( v  W2 G6 x
  1865. ; Enables or disables WSDL caching feature.
    * d$ G; N9 `0 H* E( O4 I! t
  1866. ; http://php.net/soap.wsdl-cache-enabled5 ^( Y( x+ J0 \3 \% f
  1867. soap.wsdl_cache_enabled=1
    6 j1 k$ F! o, j+ k
  1868. - F* E! f6 Q, Y! B# \
  1869. ; Sets the directory name where SOAP extension will put cache files.
    ( }4 u0 |# g# Y. N- m
  1870. ; http://php.net/soap.wsdl-cache-dir
      D% c5 T" Z# z# Z% q
  1871. soap.wsdl_cache_dir="/tmp"
    3 u7 S1 l$ M4 X, ?+ `+ U* d% h
  1872. " }- Y3 [$ [8 ]$ z- X
  1873. ; (time to live) Sets the number of second while cached file will be used
    ' L4 f$ d/ }. m) L7 f: N) E
  1874. ; instead of original one.
    % a8 D1 _" G  C% S# t* x. y+ U
  1875. ; http://php.net/soap.wsdl-cache-ttl$ f' F3 V& J/ o: A+ W8 E2 v* w5 ^
  1876. soap.wsdl_cache_ttl=864003 E8 u" l' U9 ~
  1877. 5 |% N5 Q' r3 T- |& R# y
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    ' U7 k4 z! ^7 Y7 Y3 ~, C! O" n0 X
  1879. soap.wsdl_cache_limit = 5
      h, C$ h: G5 q* j
  1880. 8 `* d0 `. I7 M4 n! Z6 i
  1881. [sysvshm]
    7 o% q7 H# O6 e6 V/ J8 M' s2 {
  1882. ; A default size of the shared memory segment
    . E5 _: I3 v( F' T4 L
  1883. ;sysvshm.init_mem = 100002 H, B* m; C& t% q2 d
  1884. 3 [; G- _) D, j
  1885. [ldap]# W1 w1 _, L3 a1 M
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    & u+ @# j* ?" S: l9 g
  1887. ldap.max_links = -1" H. j7 {$ X9 B( u; n. u. |# v: o

  1888. 9 @9 O3 U9 q  u! W4 T9 Y' s  ?
  1889. [mcrypt]
      N& ]5 m9 \" T" V/ t7 \
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open. O# V& I& k5 x; d# ?; \+ R& ^
  1891. # U9 y4 h. p; z4 z
  1892. ; Directory where to load mcrypt algorithms/ ?9 o9 E  Z2 U8 y0 A3 T# M
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)# i6 k% V9 w$ F8 e  F0 f$ H
  1894. ;mcrypt.algorithms_dir=# L% g# @1 ?! z( z8 c5 W
  1895. 7 a' |! u5 S8 T+ k
  1896. ; Directory where to load mcrypt modes2 g# p! k( @  s9 N
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt); Y/ E+ o( G+ M2 X9 L
  1898. ;mcrypt.modes_dir=
    ; r' }. {. U) p8 p4 v

  1899. * O) P8 {4 a4 }+ s1 b
  1900. [dba]
    , i# G' T$ w* K2 H5 I  D9 A' s6 E. ?2 B
  1901. ;dba.default_handler=
    . {1 i( @. N, O* m5 ~
  1902. 0 e; @! U: Z9 g% e
  1903. [opcache]
    * E4 C$ }8 t3 [: F1 A+ p
  1904. ; Determines if Zend OPCache is enabled7 W; O6 ?/ m8 P+ Z5 [  g9 {6 R
  1905. ;opcache.enable=0& V- S- f+ W+ y

  1906. ( J1 w6 }& f0 v. u
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    * m1 a" |: T# {+ b
  1908. ;opcache.enable_cli=00 y) u8 t' d& p6 n

  1909. ( R8 ]: r4 s6 K
  1910. ; The OPcache shared memory storage size., G% ?2 ^7 X" C2 v& M2 O" u& D
  1911. ;opcache.memory_consumption=64" L2 l# l3 I# G- l8 w

  1912. ; Z" O4 d- ]2 B/ {
  1913. ; The amount of memory for interned strings in Mbytes.0 x5 }- n* x' r! g, d
  1914. ;opcache.interned_strings_buffer=4* `, m* j) I8 ~4 y; A& i+ J8 D  P

  1915. * i: a5 |$ C6 b. ]" U3 _/ ~: G
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    , |1 R( r4 m0 H8 X% L. v
  1917. ; Only numbers between 200 and 100000 are allowed.) @( I7 G- ?" }! R, \; w
  1918. ;opcache.max_accelerated_files=2000
    2 {! @9 i- [9 G9 `9 j

  1919. / I3 e5 r; m" e1 {8 K
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    0 V' |; _- ]* D7 n
  1921. ;opcache.max_wasted_percentage=5; g; N) O0 m8 M5 ^; A' @
  1922. - V. H9 M& Q8 K5 ]
  1923. ; When this directive is enabled, the OPcache appends the current working
    2 l% N3 Y* s- P5 f) T& O: S/ o
  1924. ; directory to the script key, thus eliminating possible collisions between' C( J) N1 [/ O
  1925. ; files with the same name (basename). Disabling the directive improves
    & ]* U' T" V" _' Y+ U# y- H2 b/ q. o7 v
  1926. ; performance, but may break existing applications.3 f7 @8 o/ ~; l; |
  1927. ;opcache.use_cwd=1
    ! l- Z6 E/ s  O6 Q! _

  1928. % H; a: j8 s$ U
  1929. ; When disabled, you must reset the OPcache manually or restart the5 y6 f3 T4 ]& h+ j1 W$ h! N4 d& q
  1930. ; webserver for changes to the filesystem to take effect.# `5 o2 v6 V2 b' }& M; O4 m
  1931. ;opcache.validate_timestamps=1
    + v/ `+ D$ {/ f& E. o8 s; `0 f6 k* m7 S3 Z
  1932.   Y, A2 n$ H1 K+ Z$ b+ _
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    % d' s' m2 n; J. j0 u+ k7 s, O1 d
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    ; V2 L: b0 v& K3 g5 l& S$ U6 |
  1935. ; once per request. "0" means always validate)- U. p( f- h* d: V! c0 ]
  1936. ;opcache.revalidate_freq=2( R4 }' c& L' e' k1 I6 Q
  1937. , p6 C9 T: b# p9 B* q2 U5 H8 J
  1938. ; Enables or disables file search in include_path optimization
      Y9 D1 ?# D$ h2 |# E
  1939. ;opcache.revalidate_path=0
    / Z3 j$ o* c, L/ P

  1940. . v+ s- B* o% A' o: ]. H7 X7 U
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the4 Q* ?- f- |4 k. A. f8 u& @( O, v
  1942. ; size of the optimized code.
    $ e  M/ R( s; O5 D5 G  \
  1943. ;opcache.save_comments=1
    # Y4 A0 O& n7 o4 L% x! L

  1944. ! M8 O! i1 i' p: _
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"0 i, P9 z1 [2 e# ?3 B
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    3 Y, p( m: [" z5 y& r
  1947. ; that don't need them anyway.
    ' {1 }0 Q4 `+ D& s% X6 u
  1948. ;opcache.load_comments=1
    % b6 _! [' Q/ B0 [& t( U* G/ h# a

  1949. ) j* D' l0 Q8 H3 M" F  g1 {
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code) h9 U8 y4 W: ^! {" d* n& B. e
  1951. ;opcache.fast_shutdown=0
    / t  U, B% c! D6 o

  1952. # m! m9 A' B* B% w8 w7 d3 L) Q: h
  1953. ; Allow file existence override (file_exists, etc.) performance feature.% u& {2 g( [0 I! O1 Q0 a# ?
  1954. ;opcache.enable_file_override=0! {  M! B8 _6 w; {  {

  1955. / I# o7 K( b: T/ k+ [) p
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    - r, ?/ `! E9 |2 A2 b& Z
  1957. ; passes
    # V" {" h; }2 X2 D
  1958. ;opcache.optimization_level=0xffffffff
    6 G9 [3 `  r8 x% S! w, y4 n! _/ m
  1959. 4 E; q' r* D8 H. i4 z
  1960. ;opcache.inherited_hack=14 n# h4 Y, L; |- x
  1961. ;opcache.dups_fix=0
    ; e( I( E6 p, s" J; `3 v. Y$ u6 g

  1962. ( w- [# m; |' U( b! g. X7 P; A1 g
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    1 O# u& |6 o( l9 Q
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    0 N7 ]. h1 A! A2 c4 [
  1965. ; that should not be accelerated. The file format is to add each filename* ^  G" X$ p! Y+ m
  1966. ; to a new line. The filename may be a full path or just a file prefix1 R! q, R( E0 r# A
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    , v* P& {/ `* d6 t. z+ I) m: a: P! a
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).! M  D' g; e0 u  Q! n) j
  1969. ;opcache.blacklist_filename=
    & F2 i4 \9 o, h

  1970. ' o8 |/ Q! M2 `1 G+ M; m
  1971. ; Allows exclusion of large files from being cached. By default all files
    4 [- }$ H  X4 Z; k, b. n
  1972. ; are cached.
    ! _; b  t- F; N( s* E+ r8 K4 s
  1973. ;opcache.max_file_size=0
    ! r4 t( v7 C* @% L$ w

  1974. . j! H* N' l4 I- K
  1975. ; Check the cache checksum each N requests.
    . x  H' I% O. S  W. a6 r, i8 T
  1976. ; The default value of "0" means that the checks are disabled.
      k  o9 ~$ i) z- S) C7 \
  1977. ;opcache.consistency_checks=0' O" K' R5 |2 a5 I
  1978. 2 z- q  L) p% b1 m7 d
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    . o4 z: t, T, X; O) q4 e( x
  1980. ; is not being accessed.+ ?: E- u! ~, @& j$ i7 R
  1981. ;opcache.force_restart_timeout=180
    / `0 y) I* v3 O* [- d  r2 C

  1982. ! V/ m+ v3 K6 l8 Q/ m
  1983. ; OPcache error_log file name. Empty string assumes "stderr".0 N0 @) I5 Z* z0 r0 x  V5 U
  1984. ;opcache.error_log=9 Z. \5 N7 B/ W9 F, s1 c! I
  1985. ( @% _' Q8 n9 x7 M" o
  1986. ; All OPcache errors go to the Web server log.
    " t  o8 u' D: d$ [
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.6 F: K: |' @4 M4 Q: m( w- B# U; u  r
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    $ t' l8 |- P% X; w5 ~9 c$ _
  1989. ; debug messages (level 4).
    % D& P9 W3 Y, z2 l+ D! X7 M
  1990. ;opcache.log_verbosity_level=16 ?7 \# S4 Q, @" }
  1991. ! ?" v) p) U' n9 {: q) K
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide." r- D$ _* ]7 h9 J4 X" G
  1993. ;opcache.preferred_memory_model=  G! r0 A6 K6 |5 Y  Q& U, ?7 L# p4 e
  1994. # R. r% k2 [1 Z! D1 g. f
  1995. ; Protect the shared memory from unexpected writing during script execution.- ^4 G" q- b. o* M; ~
  1996. ; Useful for internal debugging only.
    : j; Z1 k* d* r7 P4 F3 P
  1997. ;opcache.protect_memory=0, P( w$ B5 t, W) A8 m

  1998. " t* R- m" A' }, G" Y
  1999. ; Validate cached file permissions.
    # q( V/ }( r6 _9 s, d
  2000. ; opcache.validate_permission=0! H  J. d* Q5 j7 `) r/ p

  2001. 8 ?& C( }: H! X) ^
  2002. ; Prevent name collisions in chroot'ed environment.. u* x9 ]& x# l. t
  2003. ; opcache.validate_root=0; b# V, F9 ?( v' |1 r# B

  2004. - N, g& [  g# v
  2005. [curl]
    , M0 |5 z% a; D# l+ i' c- N+ [
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    # a+ R0 N' G, p" M+ m
  2007. ; absolute path." ~/ a9 S2 u, X7 B4 q% H
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    ! R" F* G% q7 G$ _8 Q# Z

  2009.   V" V" D7 _$ X  h9 `  A$ Y
  2010. [openssl]4 d% A8 n" c7 H1 n% ~) ^9 X
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem9 j% k+ F3 j; A9 b! G4 t1 T% y
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    : @+ r1 x7 y# h6 U. T8 T- @
  2013. ; not specify a value for this directive as PHP will attempt to use the
    ) ^6 d1 m6 z, ?( v0 w/ l
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    5 T: `* U7 |5 @: |$ w
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    6 Q4 v3 j) h4 R& A  ?6 {$ D
  2016. ; option.! z* a' T) E+ c8 |  |$ {" o3 ^7 b
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt$ j+ X6 P: B) [, N, U

  2018. : x" ~7 f, h& g! L
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    0 j5 U1 j" ~% V% b5 n4 R. [
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    0 g' a* ?' s3 X9 y" k2 u3 v3 O6 ~
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    * h: B( B: C) V" `
  2022. ; Most users should not specify a value for this directive as PHP will
    " M; V2 _1 r+ T
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    . M, E; Y5 o2 x& J- D
  2024. ; this value may still be overridden on a per-stream basis via the "capath"9 W. `! L* v/ n( N3 d4 ?
  2025. ; SSL stream context option.
    0 b! H) v  w0 Z, s, J
  2026. ;openssl.capath=3 D! n: c5 T+ ]9 F1 z! r8 c0 f6 F. C

  2027. ' u  \, K9 n' \! i2 g
  2028. ; Local Variables:
    2 l# x+ s) X6 U" F# V
  2029. ; tab-width: 4
    : K6 a( a" o  t3 j* c
  2030. ; End:  T. c' A& H/ t1 R

  2031. + y* y$ ~; ]; T) d
  2032. ;eaccelerator- k7 q$ J- R" V+ X
  2033. , |1 [. H0 a) a6 A& |
  2034. ;ionCube
    ! T. `8 _" t% H# t) S0 O
  2035. # Z8 B2 u8 _4 g2 M4 I
  2036. ;opcache: }2 J2 h6 u2 u: v1 g, L

  2037. # u# [- @" d" J7 j& B3 V' c
  2038. [Zend ZendGuard Loader]
    * O; R( Z: w3 B* r4 ]" e$ I
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so! w/ p6 R' E3 L1 `& S6 W1 B9 d
  2040. zend_loader.enable=1; d0 M/ i4 m  x( C( e5 c
  2041. zend_loader.disable_licensing=0
    $ M- r: \- [; k( H/ a6 G
  2042. zend_loader.obfuscation_level_support=3
    # N0 V2 U: T& J, v; N5 [; O( D
  2043. zend_loader.license_path=/ A' s5 G( A* H" Y; l  t
  2044. / b9 d. r2 i4 u" k& W
  2045. ;xcache
    . Q: a6 }# N1 z6 E2 h
  2046. 2 d: ~+ O+ A# Q! |# ^
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/818146929 |5 `) u. N; v' y8 |

" |' b# N6 ^8 S* `- T8 G
7 i  K5 O, D; g0 I: nDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,8 H. [: I) t+ e3 z. u1 ?
; Z; M! D8 j1 i) V" M3 {
Discuz!程序版本选择:# O7 e# C* N+ D: V+ b
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,' q! A" Y4 V: I$ B) ~2 b  U
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
7 o% o! \  a3 f2 Q' eDiscuz!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。
  Y' n& C5 e0 O
6 G7 B8 B2 g6 L3 A$ c. GDiscuz!插件模板版本选择:# m  F8 Y* R& A
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,3 r! i9 a4 B( v
针对这个问题做个统一的普及:
0 Q$ |5 j' K, E/ V/ h; EX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
2 Y) _$ z9 Y3 B3 A6 n
1 @6 U; I5 k8 E# e8 c9 r; S' g所以3 r  V  s. ]* `6 y" ^$ n
适合Discuz!X3、X3.1版本的DZ插件、DZ模板是适合并兼容 Discuz!X3.2站点使用的,请站长放心安装使用。但适用于X3.2版本的应用90%以上是不兼容Discuz! X3.4和php 7.x的,请格外注意!!!
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-12-2 01:25:25 | 显示全部楼层
添加网站的时候一定要添加两个站点,一个是主域名,一个是www的二级域名。
' Y3 [, q4 y) Q# H打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。5 o  \* ]5 n% v! O& _" T& y
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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