分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0+ }6 d9 s9 d% X0 `8 N( l; A

4 k; v1 z9 d0 j# [
  1. [PHP]  @; f7 B4 m  I9 }( e
  2. 5 e' {$ T- ~4 T% z$ l8 V2 r7 ?
  3. ;;;;;;;;;;;;;;;;;;;: \* R3 p) r' X1 a) ]
  4. ; About php.ini   ;5 C9 m7 B+ U5 Y, ~
  5. ;;;;;;;;;;;;;;;;;;;7 o3 K5 X1 |- N
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    3 s# s  u' C# ?" ~5 d. H
  7. ; configuring many of the aspects of PHP's behavior.
    9 b' t4 E# d! q8 a% H& n
  8. ' a" K' n6 t0 p' N, k0 b+ I  a
  9. ; PHP attempts to find and load this configuration from a number of locations.  i' w5 P+ z- ^5 y% f! D  `& a
  10. ; The following is a summary of its search order:3 `* i! P- u5 k; _* n
  11. ; 1. SAPI module specific location.
    8 {4 C% ^! D) F. {: d- V7 m' |
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0), i6 P/ J8 O  h$ L5 u6 g# J
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)2 G9 o. r% P. F" K% c) c) l
  14. ; 4. Current working directory (except CLI)- e! ^2 k, H9 q: O4 J9 T$ v
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    . s& a3 D8 B0 v1 N) c0 ]6 }& |
  16. ; (otherwise in Windows)
    ; i  Z0 R6 _; B4 x5 n5 Y
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    2 V. B$ h2 {% M, `
  18. ; Windows directory (C:\windows or C:\winnt)
    7 a9 @7 s! e8 R4 K
  19. ; See the PHP docs for more specific information.
    - e+ j; u1 q# ~8 \( @
  20. ; http://php.net/configuration.file
    : s( s7 p' c+ `' Y

  21. 0 g! I, h- i5 N* R1 l2 H
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    0 O7 ~' A' \2 Z0 f" e) k
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    ! W) r) e4 ?( a( {" p% `6 A3 ?
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    * X# Q. v/ C: d) [+ s7 h
  25. ; they might mean something in the future.
    7 n! \2 R( c( `5 G5 q9 d* D" V
  26. : H2 b; K0 p/ v# T! ?: q7 T- E
  27. ; Directives following the section heading [PATH=/www/mysite] only' P/ {" g; u0 z: U) h( E
  28. ; apply to PHP files in the /www/mysite directory.  Directives" i4 f: U6 D* h; Y9 s' c- p
  29. ; following the section heading [HOST=www.example.com] only apply to
    ( f+ U% [6 X$ n, @
  30. ; PHP files served from www.example.com.  Directives set in these( S$ ~2 `% Y# O7 {/ P
  31. ; special sections cannot be overridden by user-defined INI files or  U- {% e4 R7 G+ w% i2 G
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    2 \, H# s4 m' \( s. c
  33. ; CGI/FastCGI.2 v6 c4 F( i8 a/ ~
  34. ; http://php.net/ini.sections" P$ ]6 t9 W" `9 p
  35. / y6 Y0 I2 H7 P
  36. ; Directives are specified using the following syntax:$ D- k/ W, A- q% y, j' V- D# v
  37. ; directive = value6 \: a) s* x- l7 g& I; D
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.+ b/ S% p- H) _; m! b. E2 ]
  39. ; Directives are variables used to configure PHP or PHP extensions.
      k2 x; }; Q2 H, \' Y
  40. ; There is no name validation.  If PHP can't find an expected( g, p- h6 H2 _( A
  41. ; directive because it is not set or is mistyped, a default value will be used.
    $ {& W0 M; B9 f5 b& F/ }

  42. $ V! B% j3 t1 T, z
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    0 j" N& X& B& i! I1 f8 G
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    & f* m6 o( a9 j. `. ~; M, m: J
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a. K6 g( T0 k- Y$ H" w+ J7 w. K
  46. ; previously set variable or directive (e.g. ${foo}). Q1 i% t! ?) H
  47. 3 V$ I' R) C0 n, ~
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:: I7 L; `& ?. `& n6 \
  49. ; |  bitwise OR2 M  l# n- I. {' Q6 p+ P( y! P
  50. ; ^  bitwise XOR& ]" ^9 \2 B/ n
  51. ; &  bitwise AND
      K1 v# O9 \  l' ~6 V$ U+ D' c
  52. ; ~  bitwise NOT
    . I" A; K5 S4 `- b5 z9 e
  53. ; !  boolean NOT
    : a# t" F7 m- G  Z+ E
  54. 1 ?' B" C4 u+ h5 l
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.$ d4 B+ ^- n  |$ I
  56. ; They can be turned off using the values 0, Off, False or No.
    + J( M; v$ N: U7 n+ }
  57. ) W! r: Z# A4 J5 X9 x' L  r
  58. ; An empty string can be denoted by simply not writing anything after the equal
    " w5 M" a+ M, O) C6 T# ]
  59. ; sign, or by using the None keyword:
    ; }$ w7 I9 A7 D6 N! f! q

  60. ( ?7 u+ P" Z( g. }, O
  61. ;  foo =         ; sets foo to an empty string; E4 Y' C# O1 J) J# i% u) n
  62. ;  foo = None    ; sets foo to an empty string
    % p% b& d8 @" m, h2 Y9 j; I& X
  63. ;  foo = "None"  ; sets foo to the string 'None'
    2 A' w6 w9 j3 p% q7 h8 C
  64. 3 O- R0 O. F: t( h
  65. ; If you use constants in your value, and these constants belong to a( \( t" ^8 x3 O5 J) |1 c8 y
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),% j, c, k: {+ G' z/ U0 Q) ]
  67. ; you may only use these constants *after* the line that loads the extension.7 e! \) u# a) s6 X  e: k" f8 U+ Y- r
  68. ) R* F; b+ N2 |# R& r
  69. ;;;;;;;;;;;;;;;;;;;
    ! T& ~6 `+ h$ P! F" ?' p
  70. ; About this file ;9 u  K* V0 W, C& d/ z2 i
  71. ;;;;;;;;;;;;;;;;;;;
    % |" w2 w, {( B% Y6 }9 M9 d" ]
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    4 ]; P8 W0 \) Q5 r7 ?' V
  73. ; in production environments and one that is recommended to be used in
    5 \7 {% b6 W7 W$ a4 `& L! r
  74. ; development environments.
    & S3 S4 G" |. d8 i" w1 f1 \' W

  75. 3 M! W% R4 P" A% _( q% |1 D, X
  76. ; php.ini-production contains settings which hold security, performance and
    1 S7 i: ^3 ?5 F% I3 c! q* e4 o
  77. ; best practices at its core. But please be aware, these settings may break  G& H3 o: r, _7 J+ Q; d
  78. ; compatibility with older or less security conscience applications. We
    ) m% R- h4 |% Q1 Y! ?0 ~
  79. ; recommending using the production ini in production and testing environments.9 L/ g) R$ g6 N' R& Z
  80. ( ], }/ e3 ]2 @" G$ v
  81. ; php.ini-development is very similar to its production variant, except it is! g& d) I$ B, u8 q
  82. ; much more verbose when it comes to errors. We recommend using the
    9 w- d" B, e' B# g
  83. ; development version only in development environments, as errors shown to0 G4 P1 z5 g) H4 `1 ]' |! F6 u
  84. ; application users can inadvertently leak otherwise secure information.' j* O1 c  W6 E+ J
  85. " C: h) G; L- p. ^" @
  86. ; This is php.ini-production INI file.
      ?/ V: g0 B/ K. |7 y  A! q/ ]* h
  87. " i8 C4 ]5 a3 o1 m1 W) ?% r
  88. ;;;;;;;;;;;;;;;;;;;
    7 c1 c( A: q  P: h! a
  89. ; Quick Reference ;
    $ t" Y% t" \7 k! n
  90. ;;;;;;;;;;;;;;;;;;;6 D+ _- @( _* A4 Y% \. e' a
  91. ; The following are all the settings which are different in either the production
    * |. U, ~5 J2 T, [3 D
  92. ; or development versions of the INIs with respect to PHP's default behavior.' j2 b/ g# v' O' K0 b# ~
  93. ; Please see the actual settings later in the document for more details as to why
    # W6 {8 |/ J$ G9 ]2 T8 U
  94. ; we recommend these changes in PHP's behavior.
    / i5 m+ C6 \$ z$ G! p
  95. + H3 D# I! ^7 `2 q  t* l
  96. ; display_errors
    2 e0 j" y4 u+ N2 M5 y0 n/ _
  97. ;   Default Value: On
    - T0 W, v1 R' @" t/ N0 x
  98. ;   Development Value: On' Y, b2 O# i" j0 @  r7 ~
  99. ;   Production Value: Off+ ]; Z5 z5 F/ P6 U" C  F

  100. 7 q3 C6 q1 s% e( ?; E: \
  101. ; display_startup_errors. O7 D. e! j8 ~* C! A. _
  102. ;   Default Value: Off( f8 e3 q6 ^8 \( z7 F
  103. ;   Development Value: On
    + M8 M: f  W6 C2 K  q
  104. ;   Production Value: Off
    6 \. S! A2 m+ R7 V

  105. * h0 l0 O5 x+ e
  106. ; error_reporting9 I# J) t, g. f
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    , |5 N, J# n, r3 ^8 r
  108. ;   Development Value: E_ALL
    - c# `7 i5 R* g% \
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT! r6 S; O' `2 H6 y

  110. , t) s& S( J; l
  111. ; html_errors9 B3 @5 B( t1 F' l) l- x) ~7 V. |
  112. ;   Default Value: On
    ! A$ W1 O0 R0 e/ v, T: r
  113. ;   Development Value: On
    - u) Z) k  |) `( N, v4 }4 R0 N
  114. ;   Production value: On
    6 B, D: y8 [* n0 _, F0 L1 R
  115. 4 L) E( q' W  V  E( ^" e- Z% y
  116. ; log_errors
    $ `& P1 V4 ]% `' X; E6 b8 F
  117. ;   Default Value: Off
    $ W$ V2 N2 \# K/ X+ Q4 `4 u
  118. ;   Development Value: On1 ]% p% o! [: v2 l- O2 v8 u
  119. ;   Production Value: On1 q) t2 e! b7 {: V. U4 W
  120. 3 x. i( i( S1 {& y' D
  121. ; max_input_time, N0 b) Y' o+ x* A% ?* @
  122. ;   Default Value: -1 (Unlimited)
    # D8 H0 X) m: _: e* @
  123. ;   Development Value: 60 (60 seconds)
    # {& `$ a5 M; i8 T; m1 |
  124. ;   Production Value: 60 (60 seconds); g. a3 K3 [0 h, W7 z
  125. ( n7 Y7 \) o5 w4 B" N4 P8 d
  126. ; output_buffering' ~9 ]1 a. J' }; t( [7 x# E& \, G3 `
  127. ;   Default Value: Off
    $ {2 d2 V# T9 z; V6 l
  128. ;   Development Value: 4096* ?7 V$ M: l% X  X+ A% b
  129. ;   Production Value: 4096
      `  y! f' _) U1 E5 K: m

  130. 3 X, c% B- d* m: \" p0 ]
  131. ; register_argc_argv! ]; ~, Q1 S; C' _5 r: A) I
  132. ;   Default Value: On. S, L9 u7 D  B& n4 s6 _5 o
  133. ;   Development Value: Off
    / R  h# O* U% \
  134. ;   Production Value: Off
    ( K* K- V* V) K* E3 I& _

  135. ) ~! Q) O" ?& U! _$ {# c
  136. ; request_order
    $ r7 ?! c8 Y: N' F
  137. ;   Default Value: None
    - I+ [1 U6 r; `2 h. p
  138. ;   Development Value: "GP"
    5 s9 f: B4 k/ r
  139. ;   Production Value: "GP"
    . K" L8 v% `9 s1 v8 }
  140. 3 T; _( F, q/ M. {
  141. ; session.gc_divisor$ o4 N6 K$ v0 U* Y
  142. ;   Default Value: 100
    & U! p# `% A; @
  143. ;   Development Value: 1000
    - a5 w% v; X3 t) C2 o6 s
  144. ;   Production Value: 1000& g1 w0 n9 _* q7 u1 F. u

  145. ! A0 A1 d2 {$ `, E
  146. ; session.hash_bits_per_character& `, w8 q0 n" L' j
  147. ;   Default Value: 4- U6 C" {% ~1 L. _9 K4 H/ R- v- p6 b
  148. ;   Development Value: 5
      i, g% S9 c  m3 b5 t1 w3 P
  149. ;   Production Value: 5
    . D2 ?$ ^$ K1 e- S. f
  150. / I7 D% B" h; h0 T' X8 B0 A
  151. ; short_open_tag0 P( ~6 F& t, e  Q7 Q1 _5 I8 L2 H
  152. ;   Default Value: On
    8 ]8 U- i& A9 n# B* j, k
  153. ;   Development Value: Off* R8 k$ e8 i- f! u7 U5 m  P
  154. ;   Production Value: Off
    $ N; m; D/ u0 D$ s

  155. 2 _$ A0 c' D8 S3 W& J: I* m6 T0 _
  156. ; track_errors
    8 x: }7 t8 U$ E
  157. ;   Default Value: Off2 u% E. |, b+ T* Z2 I9 _
  158. ;   Development Value: On
    + |8 K( Y8 |, ^6 A! r; P% @; m
  159. ;   Production Value: Off
    + z, e+ ^: N7 J5 d
  160. " S" b% b0 a! r! ^/ ?" f3 B
  161. ; url_rewriter.tags
    4 o$ S. U/ F  j0 }* o- q  V8 R
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="0 H9 }/ _# I. b( T
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ) a) q( a$ I0 a& `, R  r
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
      ^. ~7 H* ~, s: J3 D) H
  165. # Z# a% K1 i0 X& P, A6 l
  166. ; variables_order7 W, X1 D/ \' ?+ J+ n
  167. ;   Default Value: "EGPCS") C1 }5 x9 z9 e* x: X
  168. ;   Development Value: "GPCS"
    3 s( C: i, B: _: S
  169. ;   Production Value: "GPCS"
    8 q" R4 R- \; b- Q8 s

  170. + _. l; U1 O' C) G1 \) x
  171. ;;;;;;;;;;;;;;;;;;;;
    ( W, t, ^& \7 U" O
  172. ; php.ini Options  ;3 `+ b! |4 s4 Q- j: D+ J
  173. ;;;;;;;;;;;;;;;;;;;;
    ; q* X! ]1 v" M) i$ I) A
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"* T7 _" Z$ h  a
  175. ;user_ini.filename = ".user.ini"
    4 y/ X7 f: Z3 Z' }5 F

  176. % l1 K3 O% H: x+ T1 \# v
  177. ; To disable this feature set this option to empty value+ u7 B. h! A% i1 d/ D5 S% i
  178. ;user_ini.filename =& j4 r5 R4 Q; J6 G/ y# P# [

  179. 3 N8 A* X" s. a
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)9 \9 E# F5 U* _7 x6 J$ d% E- Q) a
  181. ;user_ini.cache_ttl = 300( u. Y! [" j4 e6 ]$ c2 a4 i+ s

  182. 5 C9 V: _% e% P% J
  183. ;;;;;;;;;;;;;;;;;;;;& L6 c4 R* J6 f. V5 h& t- A+ {
  184. ; Language Options ;$ H" i+ @" \8 @( p9 Q3 c
  185. ;;;;;;;;;;;;;;;;;;;;+ `3 |& z( T0 j5 ~

  186. ( R5 c, y) w+ V/ V7 m7 J* b* Y
  187. ; Enable the PHP scripting language engine under Apache.. r! o6 X, M" m
  188. ; http://php.net/engine
    4 s/ }4 B4 K4 P- F! f
  189. engine = On
    - i6 M" K' E4 X& e" {  |
  190. % v0 h0 _. [0 s+ n. [3 z; ~% u
  191. ; This directive determines whether or not PHP will recognize code between
    6 d. E$ t5 m6 E" Y
  192. ; <? and ?> tags as PHP source which should be processed as such. It is0 y7 I8 P3 k8 c2 v1 o% P) [8 a/ d
  193. ; generally recommended that <?php and ?> should be used and that this feature
    * i! y1 k3 }; X* \) F
  194. ; should be disabled, as enabling it may result in issues when generating XML7 r& V- ~, A/ v$ t6 a8 R
  195. ; documents, however this remains supported for backward compatibility reasons.2 W% L; e* f* x  B
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    ! H  M% ^: h1 P
  197. ; used regardless of this directive.
    / C$ L) x# ?3 Y. O2 o  r: i
  198. ; Default Value: On
    % i$ m3 l9 U. b  m4 F" x, P5 |' I
  199. ; Development Value: Off6 V  }9 N- J9 P3 c+ i* l' O( N
  200. ; Production Value: Off
    - Y- W5 b2 x- M5 }+ F
  201. ; http://php.net/short-open-tag2 g2 @0 R2 L- L4 ^! T* R
  202. short_open_tag = On& `+ }9 W* R: q7 b

  203. $ H; ]; i, j' v% N+ k
  204. ; The number of significant digits displayed in floating point numbers.
    6 j( c& E  J5 v8 J# v5 e3 m
  205. ; http://php.net/precision1 v- `3 H' U" @: q- D+ W% t
  206. precision = 14& Y; x) |8 E8 v
  207. $ x% }3 W% N! o$ K& f9 F
  208. ; Output buffering is a mechanism for controlling how much output data
    . V  p9 J+ w& `. a8 V6 t
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    ' W9 w7 w, w! L* y# v
  210. ; data to the client. If your application's output exceeds this setting, PHP
    3 B* o# d! o3 D1 }+ @
  211. ; will send that data in chunks of roughly the size you specify.
    * a( s3 F) w, s$ o; s- u/ m$ c# m+ l
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    / i, \' L8 O+ U+ q2 U
  213. ; interesting side-effects depending on your application and web server.* J3 ?: \* K  }) I* N7 F
  214. ; You may be able to send headers and cookies after you've already sent output  k: b; W* R7 R+ W
  215. ; through print or echo. You also may see performance benefits if your server is6 d% X8 e% i1 l5 U3 t
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    5 H( f* n5 Y3 Y* k0 G- S
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    6 _4 h; `# ?+ r' x- q& L
  218. ; reasons.
    4 C4 X$ b  D- F- V
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    ( O" w# t+ A6 M6 Q) Q8 m( ^% d
  220. ;   functions.! H* J" j1 N/ _/ F! ^# O+ M7 J, m
  221. ; Possible Values:8 ~6 t- \+ L. `. g0 l" ~
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    ; A( ?3 G& H! p
  223. ;   Off = Disabled. y2 d8 m4 w! X
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.5 ?: x9 Q. m; \9 p* s2 r
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    7 }" j' `2 ^$ }2 P; W; k. k
  226. ; Default Value: Off
    , o/ I% }1 S/ f7 }2 ^
  227. ; Development Value: 40965 u! d  y% U/ T, T$ ?
  228. ; Production Value: 4096( H% x9 a  ?. ~- G3 W  w5 h
  229. ; http://php.net/output-buffering8 E% W- X2 D8 V5 g5 V
  230. output_buffering = 4096
    3 Q6 R$ h0 U& u; |$ t
  231. ( R& t8 i$ g! l* P, |/ q% G8 F
  232. ; You can redirect all of the output of your scripts to a function.  For4 }1 j. d8 C& |& v
  233. ; example, if you set output_handler to "mb_output_handler", character+ D) M. E3 w- u$ N5 s  X
  234. ; encoding will be transparently converted to the specified encoding.
    ; h9 g& {& L- ?" n
  235. ; Setting any output handler automatically turns on output buffering.3 Y2 q+ z, X" f5 D7 S! V/ ?
  236. ; Note: People who wrote portable scripts should not depend on this ini5 w* r( K2 C, T: ^5 }; K% I
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    * e# b8 Y5 \+ g6 L5 k( A
  238. ;   Using this ini directive may cause problems unless you know what script0 a: T5 s; w( ^9 f
  239. ;   is doing.) R8 x2 y1 E2 M+ }
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"+ _, ^* M; X( E$ @$ o8 c- e* U' Q
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".$ i1 Z9 C2 e9 {8 b, Q6 T
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    6 a: P7 N% }1 L% l5 m  U- v  Z$ f" O
  243. ;   Instead you must use zlib.output_handler.
    6 r7 l5 Z4 D& S0 v
  244. ; http://php.net/output-handler# [5 K) G, ?+ u3 @& L
  245. ;output_handler =- O  E5 ?! V: S6 W( a
  246. # g1 ~$ q, `! K0 w( {% l' I& q$ _
  247. ; Transparent output compression using the zlib library3 C0 p* @" w& ?2 @/ o2 K
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size& C2 w/ {- J. J& l# R* R, a
  249. ; to be used for compression (default is 4KB)
    / Y# W  ]/ I4 D6 C0 h/ T2 @% h
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP1 X% a4 L8 t4 t2 v
  251. ;   outputs chunks that are few hundreds bytes each as a result of, U: x+ l0 m  G* s' P0 Q7 C
  252. ;   compression. If you prefer a larger chunk size for better, l5 X. _" i9 j1 l) J. r* H; `1 L+ |
  253. ;   performance, enable output_buffering in addition.. `* [; _& T0 w" t* @& I
  254. ; Note: You need to use zlib.output_handler instead of the standard* a2 h* \+ ?5 t2 ^# [1 G' K
  255. ;   output_handler, or otherwise the output will be corrupted.
    2 `  n3 r. q5 n5 |) \! q2 x
  256. ; http://php.net/zlib.output-compression' o; N  V( `" O  j, ^8 q- e
  257. zlib.output_compression = Off
    : I5 A% p- X" B$ F: v

  258. 2 E3 L5 p/ C3 m
  259. ; http://php.net/zlib.output-compression-level7 `7 I4 [: a. [) T  |# C; S; _
  260. ;zlib.output_compression_level = -1
    5 L% d( P: F2 H

  261. $ G8 x- G7 w6 |9 g5 T8 s7 L
  262. ; You cannot specify additional output handlers if zlib.output_compression8 M$ [; _0 G* k1 Q* d
  263. ; is activated here. This setting does the same as output_handler but in7 F' I+ W6 Y% L0 E8 J4 u
  264. ; a different order.
      l7 s* [! t  Y
  265. ; http://php.net/zlib.output-handler
    - m2 i# h# M+ x$ s' _! i$ T) M
  266. ;zlib.output_handler =( f' ]( X, n: U7 V

  267. ( t6 q6 [3 h5 }/ Y
  268. ; Implicit flush tells PHP to tell the output layer to flush itself$ t  L- @: R& k9 V
  269. ; automatically after every output block.  This is equivalent to calling the
    2 S5 R/ c& `* D! A5 b, p, Z* C) U6 U1 T
  270. ; PHP function flush() after each and every call to print() or echo() and each
    - D  F/ b, B+ b* i: I5 W/ h
  271. ; and every HTML block.  Turning this option on has serious performance- Y8 |8 [* U6 l: A  q+ J2 {
  272. ; implications and is generally recommended for debugging purposes only.
      m% n7 N4 }! ]8 e. \
  273. ; http://php.net/implicit-flush: D; W$ @% }& c9 `, S
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    " z' p! @5 j6 I$ d, b
  275. implicit_flush = Off7 D6 f0 ^2 m8 V

  276. / {: G$ M, }- M0 J# H
  277. ; The unserialize callback function will be called (with the undefined class'
    ( P. E# U0 q% c+ l5 z
  278. ; name as parameter), if the unserializer finds an undefined class
      t" y& P: k% K. U# k4 @- J
  279. ; which should be instantiated. A warning appears if the specified function is
    % d- k( M" M: u5 _* \1 w
  280. ; not defined, or if the function doesn't include/implement the missing class.
    5 {# ^% z  @, ^; M7 B( G
  281. ; So only set this entry, if you really want to implement such a; X8 w5 A  ]3 G$ t; }6 }
  282. ; callback-function.% H$ [9 H+ H4 l
  283. unserialize_callback_func =
    , o: O* }! b# J! L

  284. - L4 Z, ?% c2 o; G% S
  285. ; When floats & doubles are serialized store serialize_precision significant2 x. h' M2 f, k% G* U
  286. ; digits after the floating point. The default value ensures that when floats' ]  e( G, i8 N% @
  287. ; are decoded with unserialize, the data will remain the same.$ p: ?2 Q% M2 X
  288. serialize_precision = 17
    ! r$ Q  ?3 S( _! X* K! w
  289. " p- Q6 Y9 G4 n" M% |* t% @" J* N
  290. ; open_basedir, if set, limits all file operations to the defined directory5 u9 [$ ]/ Y  J8 s  k) K/ e
  291. ; and below.  This directive makes most sense if used in a per-directory7 M; H) S8 n2 U) U$ Y. ?
  292. ; or per-virtualhost web server configuration file.2 Z" z+ o1 I: H' Q+ ~# W! d2 y: d" s
  293. ; http://php.net/open-basedir& c# H9 J% v4 [$ H2 g7 B4 E' R
  294. ;open_basedir =
    & u! B- Q; Q0 V/ z

  295. ) F7 ]! `7 C* l# w+ d) j
  296. ; This directive allows you to disable certain functions for security reasons.. \% V$ m/ `1 q/ m! j2 V+ G1 E0 _& [
  297. ; It receives a comma-delimited list of function names.
    & G! h7 N% H& E; g
  298. ; http://php.net/disable-functions6 r* }8 E. H# i# R# d
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru& ^8 b1 p7 q. h) k& o2 |
  300. 4 l4 D  l6 I, }* O3 B2 E7 h2 c2 O
  301. ; This directive allows you to disable certain classes for security reasons.8 L+ X+ e, N) T9 i+ c0 Y
  302. ; It receives a comma-delimited list of class names.
    . Q0 [' V' N1 u8 o
  303. ; http://php.net/disable-classes
    + V# Y5 C9 d/ z  l  K! p7 `
  304. disable_classes =6 j6 j- y- U& b1 R4 g4 U. K

  305. $ I$ D$ \% X: R$ A+ c
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in; x$ ]5 i" Y- H! h$ q: n1 [2 y0 v
  307. ; <span style="color: ???????"> would work.
    4 T, E% d8 N8 X! T- Q* ]
  308. ; http://php.net/syntax-highlighting
    " {2 x# y2 y6 |* e0 P. l
  309. ;highlight.string  = #DD0000
    ' S% `/ Z! F* V' C7 X# J6 _
  310. ;highlight.comment = #FF9900
    5 K: J! v6 ~9 u
  311. ;highlight.keyword = #0077000 n9 P0 Z9 {- y7 y6 u, J: X
  312. ;highlight.default = #0000BB2 k  f, Y  z3 z- d& Y7 W' n, f/ W
  313. ;highlight.html    = #000000
    4 M' C( h* r5 f( Q: c

  314. 4 X/ X8 [6 H. t6 g/ t+ s8 g  q1 l; f
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    ) j$ ~1 s# {. F/ y
  316. ; the request. Consider enabling it if executing long requests, which may end up
    6 \4 D' n. o: ]9 p; h. w* q
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior! A$ X% D* ?2 ~9 K# F
  318. ; is to disable this feature.# n& ?3 S5 l! X* P3 R" [! i7 R8 l1 ]
  319. ; http://php.net/ignore-user-abort
    $ W: j1 Q7 X+ h' B$ W5 q3 X
  320. ;ignore_user_abort = On+ m1 h$ G+ {( t7 V  B
  321. 7 w2 Z% Z; ~  {4 I. Z9 {
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    # O1 p5 I! [# s# X- f# H
  323. ; be increased on systems where PHP opens many files to reflect the quantity of0 J$ W8 _; A, d
  324. ; the file operations performed.
    ' v1 h; h' ]/ b+ s, c3 D9 I
  325. ; http://php.net/realpath-cache-size
    5 F$ H0 ^$ c4 e
  326. ;realpath_cache_size = 4096k+ g0 K9 t* T+ i8 q6 R8 O

  327. : f5 W3 I! C* ]3 T
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    - D' o) @' {! l7 n) _" Q! {, n
  329. ; file or directory. For systems with rarely changing files, consider increasing this$ p* w9 Q  G! h( p0 _) I. S% g
  330. ; value.0 o1 l. s8 ]1 w4 q' w
  331. ; http://php.net/realpath-cache-ttl
    3 [0 F& B2 [; m
  332. ;realpath_cache_ttl = 120
    0 I4 V* I, N2 C7 ~# W- B' l! s

  333. ) n1 {& x0 o  ^: Y5 ^3 J# j, j/ T
  334. ; Enables or disables the circular reference collector.
    " t# B' \" z$ U) W. V2 C5 U$ @
  335. ; http://php.net/zend.enable-gc
    " x" U6 A6 o& K! M: `. |
  336. zend.enable_gc = On' a- D# F3 Q% L( H6 Z! X2 |' H# x% {
  337. 1 w. d. R  n) R' X) }. T
  338. ; If enabled, scripts may be written in encodings that are incompatible with" U- X& K( S+ G8 T6 b5 T, J" K; @; N
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    ! L- D! I( v0 ^
  340. ; encodings.  To use this feature, mbstring extension must be enabled.) I' Q2 F) R: S$ O2 B
  341. ; Default: Off! ?; g* x* Z+ K% ~- L
  342. ;zend.multibyte = Off5 B4 i) c' U' |0 J

  343. % o! R7 M% l; r  m' _! M
  344. ; Allows to set the default encoding for the scripts.  This value will be used. c0 d/ ]7 m% ?: a
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    " }# A0 L0 s: b4 J" x8 `7 \
  346. ; Only affects if zend.multibyte is set.
    # K  P$ U0 M( A/ R. \9 p7 l9 O
  347. ; Default: ""
    ; E# s4 ?( S- `% _
  348. ;zend.script_encoding =& ~4 _' L3 E% u4 U
  349. 6 n& B/ q- {) z2 _
  350. ;;;;;;;;;;;;;;;;;. E. V- L- F; b! ^% l
  351. ; Miscellaneous ;
    1 j# q+ T3 `9 [2 x) D/ P* J+ d
  352. ;;;;;;;;;;;;;;;;;
    ; f% ?* r' ~% w" w$ m# k9 `5 g
  353. & W4 j  W/ m$ V; s8 B5 z
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    # W. r* o4 y0 ~# g$ ?
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    ! M. T* v" p0 {( q$ w0 l( z
  356. ; threat in any way, but it makes it possible to determine whether you use PHP; v) M9 z; y; }$ Y
  357. ; on your server or not.9 @  k% S; D2 b
  358. ; http://php.net/expose-php
    6 }5 L/ D2 [/ h" u3 _. V
  359. expose_php = On
    % L6 W' n0 C$ Z* C. l& L

  360. 2 X1 |, b% a/ Z" Q1 \! @
  361. ;;;;;;;;;;;;;;;;;;;
    # V! l! z4 t* X/ N. o, k
  362. ; Resource Limits ;
    8 ?, X, @  E% u) P  V0 Q, W. G
  363. ;;;;;;;;;;;;;;;;;;;
    " }- F) ]2 A# O0 J4 {

  364. " i1 P$ I* d  |
  365. ; Maximum execution time of each script, in seconds
    6 `4 T. i, }: i1 A
  366. ; http://php.net/max-execution-time, ?  G1 }$ t% m; i" u  N6 K/ p
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI% s& A/ K# b" v9 \; F! R0 m
  368. max_execution_time = 300
    + c% j! s/ y& B0 V% z3 K; ?" T0 @
  369. # F9 A/ J" S+ Y. h8 G7 x3 @
  370. ; Maximum amount of time each script may spend parsing request data. It's a good- t1 O  d; U/ o7 m0 ^2 \
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly1 \& d& I4 ^: w
  372. ; long running scripts.0 L) P, v; ?, ]8 A/ {
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI, d* g/ A8 P* ^' O
  374. ; Default Value: -1 (Unlimited)" a- {; N, z9 A9 P/ i- @
  375. ; Development Value: 60 (60 seconds)) a7 M7 h; Y' {* S  e' Y
  376. ; Production Value: 60 (60 seconds)! A  N' ]8 \' ^1 Q; V# U/ M
  377. ; http://php.net/max-input-time
    9 C7 \2 z- Q2 v' C0 H" L' X8 P1 _
  378. max_input_time = 60
    % b0 l4 c- {% O- T2 ^4 a  T: q9 k
  379. 4 g0 k, S2 s" ?) _) G
  380. ; Maximum input variable nesting level
    : t) e7 B  _% N( X' z
  381. ; http://php.net/max-input-nesting-level
    / O! N5 z6 F5 {* t1 B: @
  382. ;max_input_nesting_level = 646 D/ b9 f, z. T- R$ E: i
  383. % |: ]! {9 m8 T( l9 H6 C/ d$ N
  384. ; How many GET/POST/COOKIE input variables may be accepted# v" V6 _8 [" H9 r3 s
  385. ; max_input_vars = 10007 I/ G  _( y0 A
  386. 1 |' c* F9 e" \0 W$ u
  387. ; Maximum amount of memory a script may consume (128MB)) g* P5 W! L# O0 P8 U
  388. ; http://php.net/memory-limit
    . Z$ b  R# a6 S9 p5 C6 D/ Q
  389. memory_limit = 128M( F* P* U8 l' V. A  `: G

  390. 6 J: M; F1 \; n; v- y
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    0 P4 g& g" m, h8 ?! z( T
  392. ; Error handling and logging ;: M$ h2 h0 D! G! }5 b' _/ x
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;, I+ ~. a" i4 \" t! m: O# y/ C  h) d! s

  394. " s2 T, M! X& C$ }
  395. ; This directive informs PHP of which errors, warnings and notices you would like7 R! p$ E% c. ?( j* M& H/ U
  396. ; it to take action for. The recommended way of setting values for this6 h. N) k* |5 N; S* x
  397. ; directive is through the use of the error level constants and bitwise
    % G5 A% ?' B: C5 B# M3 I
  398. ; operators. The error level constants are below here for convenience as well as+ {0 j1 L6 f9 R; G
  399. ; some common settings and their meanings.8 m' ]/ M- z$ G3 m7 s
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT; i8 r* T8 n( _) W6 a' J! e
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and+ I( ?9 p' T& @7 J. P
  402. ; recommended coding standards in PHP. For performance reasons, this is the" l$ s, d. N1 Q/ p- {; i/ ^
  403. ; recommend error reporting setting. Your production server shouldn't be wasting6 j8 \- D) c8 t; o- y
  404. ; resources complaining about best practices and coding standards. That's what
    4 v0 {( n; h: y4 J# r' _
  405. ; development servers and development settings are for.
    6 M! P5 n$ e$ N; Z% y" E8 j
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    " h* G. n8 ?# L6 ]
  407. ; means it pretty much reports everything which is exactly what you want during' S% X' J: I& b3 B; J7 G% B
  408. ; development and early testing.
    + r: p7 D- {$ W9 e2 r* x0 E1 W
  409. ;
    # e/ A2 @$ l! _! l6 v1 G1 m
  410. ; Error Level Constants:
      L$ ~+ O& I9 ~! O- _  X' m
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    + X* l- x3 E' T% u0 v
  412. ; E_ERROR           - fatal run-time errors& T' I4 K* n0 u: O8 j
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
      f* }: a9 l5 g, e
  414. ; E_WARNING         - run-time warnings (non-fatal errors)3 O1 t$ S$ m7 K1 p5 ^, j0 l* b3 x7 Q5 }
  415. ; E_PARSE           - compile-time parse errors
    : w1 u8 m: N7 |6 c9 j
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    0 d4 c: e8 S6 g. {
  417. ;                     from a bug in your code, but it's possible that it was+ k- ^/ u, I8 k& X* g8 H! g
  418. ;                     intentional (e.g., using an uninitialized variable and
    % U* ?* `$ r/ y4 b
  419. ;                     relying on the fact it is automatically initialized to an( b/ H* g- Z7 P# S; r% o/ A9 U: ^  D
  420. ;                     empty string)
    . a, a+ X0 M5 r/ ?6 M
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    / S5 u3 C, a9 K, L. S  j+ w5 [
  422. ;                     to your code which will ensure the best interoperability
    ; W4 T+ D, E6 d$ i' S
  423. ;                     and forward compatibility of your code
    5 h: O9 m) R% i  a
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    ' C' u% h2 S5 n* \1 z5 J) O
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    % ]8 P" S) A! Q+ i8 K1 z% c
  426. ;                     initial startup0 t( H, V3 P' D9 t; c& G
  427. ; E_COMPILE_ERROR   - fatal compile-time errors4 v/ ~# C# ?) ~2 h$ T
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)3 x6 m, L$ z& Y6 f
  429. ; E_USER_ERROR      - user-generated error message4 l& O) ^# x$ G0 ~' W% e
  430. ; E_USER_WARNING    - user-generated warning message$ q+ Z9 T0 Q5 O3 ^, h$ U2 W
  431. ; E_USER_NOTICE     - user-generated notice message
    6 _7 M- {1 G0 `# m* L) w0 W
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    8 K7 Y; J( a9 F8 K# p! P
  433. ;                     of PHP/ F8 W7 }7 e: w+ R6 x
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings. \0 r1 g* K5 h- c& I% V
  435. ;- C1 M  J7 o! w3 [( |8 [* K! i
  436. ; Common Values:2 q) T. N8 N1 G& Q6 Z
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)4 j% _  ]* R& l3 H# l
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)8 `( W& a$ R: v* _! U
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)9 d4 [9 O' h1 ]7 }) @4 G. m
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    5 p; ~* W0 s3 W& v  x# R
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED  f7 }! j; g- h$ f' P0 g
  442. ; Development Value: E_ALL
    , \. v! d& o5 f
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    2 f2 f; X1 K* j( r* j- C7 u6 K$ C
  444. ; http://php.net/error-reporting
    3 }3 y( P' R$ F+ w
  445. error_reporting = E_ALL & ~E_NOTICE0 N: K9 `- A) m- w; w6 W' d/ y
  446. 1 T; P7 w6 j  I# D- H! H9 V  L8 r
  447. ; This directive controls whether or not and where PHP will output errors,
    + a! z; _8 M, @
  448. ; notices and warnings too. Error output is very useful during development, but
    # I* |2 M; T/ ~9 @, s0 q( i* k1 p
  449. ; it could be very dangerous in production environments. Depending on the code
    1 W8 D# n* z# a  M, \# C4 E
  450. ; which is triggering the error, sensitive information could potentially leak
    ( \) {' a+ _2 K; P% ~, o* H
  451. ; out of your application such as database usernames and passwords or worse.
    9 N, V- B! o& L" N
  452. ; For production environments, we recommend logging errors rather than+ b& A, _- \$ R* M' b: n9 g
  453. ; sending them to STDOUT.
    . K* o* O! r# t$ R, e& U5 Z8 C- k% v
  454. ; Possible Values:7 z! a7 D9 v* M# Z
  455. ;   Off = Do not display any errors' C& }! R$ ^$ q8 ^0 ~; i% n
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    ) q+ l& \$ Y+ m
  457. ;   On or stdout = Display errors to STDOUT
    . B0 b6 C$ w- G& y1 X4 K
  458. ; Default Value: On
    / e4 f7 U: c  n" G
  459. ; Development Value: On
    9 |$ J: l$ k( |% K% U5 e
  460. ; Production Value: Off& Z$ o" d6 v, T
  461. ; http://php.net/display-errors
    1 I: Y7 L" x3 x
  462. display_errors = On
    9 M; |8 [' q) y7 b" S
  463. 1 b- J5 o) o8 y0 o8 K  }
  464. ; The display of errors which occur during PHP's startup sequence are handled/ T' n& u0 H/ N5 w, M- S
  465. ; separately from display_errors. PHP's default behavior is to suppress those" H; F4 w# x1 i! j! w! R! W" _
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    * ?7 D; O/ j/ ^
  467. ; debugging configuration problems. We strongly recommend you
    ' o# \: E% V5 s/ u. C, o
  468. ; set this to 'off' for production servers.5 e' s/ r: D& S% ~( l
  469. ; Default Value: Off
    . Q/ v+ e  N- {; t& X/ D; b6 }8 s
  470. ; Development Value: On$ ?0 e$ b4 Z8 R5 a( \
  471. ; Production Value: Off) g/ r- w! t6 |
  472. ; http://php.net/display-startup-errors- f+ b" k: t& {. d" G
  473. display_startup_errors = Off# v. {, F" _" b" ?$ H

  474. 6 B. j% c0 \5 Q/ g( A: S1 l
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    0 }" D2 I6 J5 J+ e
  476. ; server-specific log, STDERR, or a location specified by the error_log
    ; m3 c0 e! F' u5 Y4 H
  477. ; directive found below. While errors should not be displayed on productions+ k& b1 {0 Y/ v; R8 j
  478. ; servers they should still be monitored and logging is a great way to do that.' V1 r  U6 t, j9 b* F  L: \8 }( s+ Z
  479. ; Default Value: Off, B! V6 |: x4 `* H* P
  480. ; Development Value: On
    6 \# S: B7 t1 w' n+ K: P  |
  481. ; Production Value: On
    # _' Q' ]* `7 \5 ^, s
  482. ; http://php.net/log-errors
    ) l9 m& _$ A/ y4 S
  483. log_errors = On
    & G, f9 ]* G# i" m/ d2 O+ \- T8 u

  484. , @, Y! O8 v- i  L7 p/ I2 u
  485. ; Set maximum length of log_errors. In error_log information about the source is
    ! P8 e& H( {" R
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.: g. m3 f" m# d
  487. ; http://php.net/log-errors-max-len) H5 Z8 _; I8 x* U3 \# R9 U
  488. log_errors_max_len = 1024& _! I( r0 V5 w3 v0 x
  489. 5 f0 p3 d7 k+ h+ d
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    % ?% w0 o8 T) V4 L
  491. ; line unless ignore_repeated_source is set true.
    . V6 c- S! m. _. v( L1 X$ f6 m" R
  492. ; http://php.net/ignore-repeated-errors
    ; w, G. Q$ R. ^. k
  493. ignore_repeated_errors = Off
    $ s! U  ?& @5 f5 y

  494. * O7 w& s& T4 t, E4 O
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    8 a. E' G  c: U1 u$ D
  496. ; is On you will not log errors with repeated messages from different files or
    # G/ Q. p9 x/ o" T- `
  497. ; source lines.
    2 g8 F) A+ h# u* {2 d
  498. ; http://php.net/ignore-repeated-source
    . |+ _3 b9 F# e1 j1 o
  499. ignore_repeated_source = Off
    ! S2 U) `! f9 ]* s
  500. - O9 n6 P) K2 D: O
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    8 a8 A# y7 I. T, M8 x5 J$ m) v
  502. ; stdout or in the log). This has only effect in a debug compile, and if( _$ q  |, M, o( L$ |; g7 c
  503. ; error reporting includes E_WARNING in the allowed list
    ( a* p$ p% N6 B  h7 j/ T, U, m
  504. ; http://php.net/report-memleaks7 n6 [  X' K% x1 k8 N2 q$ X
  505. report_memleaks = On! _. E, C2 n7 L1 Q9 t4 w! ^3 s
  506. 8 S+ _+ T7 Z: ?( f' [, X9 n
  507. ; This setting is on by default.
    ; h' Z! m$ j! u0 J, O' s; K* l6 P
  508. ;report_zend_debug = 0
    4 B8 w5 o. P9 X7 a! ^/ y

  509. 9 W/ ?7 q  a5 H+ B' S4 n
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value4 X2 P7 L+ S" n1 P3 E, s& w' Q0 Y
  511. ; to On can assist in debugging and is appropriate for development servers. It should! ?$ T; a7 z0 c- {$ K# j
  512. ; however be disabled on production servers.  _: J4 ~; J# s+ W1 ~! q. E, k
  513. ; Default Value: Off
    1 H4 l* T; s) z3 \) N9 \
  514. ; Development Value: On9 q9 z$ ^6 O: U! y0 d
  515. ; Production Value: Off" g, V- t; c2 @' F5 L3 X: G
  516. ; http://php.net/track-errors
    0 x( h6 p4 o/ y: E7 j/ N9 O1 b% B
  517. track_errors = Off, Q2 h! {4 @* U" O

  518. + A- b% C# c5 Y( G3 ?  B3 a2 X
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    6 P/ e9 @7 P: w1 H; B
  520. ; http://php.net/xmlrpc-errors' N$ I$ U2 B* W2 u3 x
  521. ;xmlrpc_errors = 0. s2 i* s& }- m6 r6 f3 X( i; u

  522. 8 V0 A8 _# {) Z3 m0 E
  523. ; An XML-RPC faultCode) u3 c( q( |' `6 k4 M5 ^
  524. ;xmlrpc_error_number = 0
    2 [3 m6 z  B+ G3 l4 l

  525. + U- c1 r+ \9 B, c& ]# C; ]: X
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    2 L( L0 ~! g1 \# k
  527. ; error message as HTML for easier reading. This directive controls whether
    $ U. Q/ I5 S( I9 M% |3 l1 A& W
  528. ; the error message is formatted as HTML or not.1 r5 p' }9 w% i% x
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    7 q9 t6 b) M8 c5 Q( L- W" W& n
  530. ; Default Value: On
    9 }2 R/ ?' H6 F  z  b
  531. ; Development Value: On( q: n7 [( _1 J+ V( k1 n
  532. ; Production value: On2 w& w& d0 [8 F: R
  533. ; http://php.net/html-errors
    * c* b5 m3 Z! u7 ?6 s1 C
  534. html_errors = On
    4 {$ g! a) ]7 L% f* E

  535. . @+ x( h; h3 w. u" R$ {6 b
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    , [" u7 P) g. q8 O
  537. ; produces clickable error messages that direct to a page describing the error8 O7 T* ^  d$ G0 _
  538. ; or function causing the error in detail.
    ) ^8 b/ e$ M% N# h7 S6 P4 E
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    ' a7 p" H8 G0 t1 G* Z
  540. ; and change docref_root to the base URL of your local copy including the8 f& x1 L; B- j
  541. ; leading '/'. You must also specify the file extension being used including7 n  o$ A' o$ a& Y# a
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which1 C! B. v3 X' a$ z3 U& e
  543. ; case no links to documentation are generated.4 z$ l( J: q; s+ S
  544. ; Note: Never use this feature for production boxes.
    ) A+ q/ c8 W1 D: H1 l0 a( E* J
  545. ; http://php.net/docref-root+ z1 l& z$ L6 r: M4 f6 o5 n
  546. ; Examples7 I0 i+ ~* a6 O8 }0 y8 k8 X
  547. ;docref_root = "/phpmanual/"
    ' c; M: ~, Q9 O
  548. " U" ]6 v2 u5 |/ Q7 n. c
  549. ; http://php.net/docref-ext
      G) E1 r, o/ g6 I: ?: S
  550. ;docref_ext = .html1 T- {. K% W3 Z* g  o1 \
  551. 5 K, c- |0 d/ l# \2 I% I, H
  552. ; String to output before an error message. PHP's default behavior is to leave
    ) @' E! `  r* M0 Y6 a
  553. ; this setting blank.
    , d. T) t; N, u  q
  554. ; http://php.net/error-prepend-string
    & I3 n. R' [: T4 _( P
  555. ; Example:
    8 O. A2 f/ G. O6 |: _8 i% z, L
  556. ;error_prepend_string = "<span style='color: #ff0000'>"( G9 B6 P2 g( G, Y
  557. ( {! l  ]( N' h; ^. O& I1 m
  558. ; String to output after an error message. PHP's default behavior is to leave
    4 o! r2 p; V) F  n
  559. ; this setting blank.  l5 n5 a; p9 L' O
  560. ; http://php.net/error-append-string
    - r8 [) i9 o% x4 M
  561. ; Example:8 F0 b) P( K% e1 p
  562. ;error_append_string = "</span>"
    $ o& {- Q1 Y6 V/ x2 j1 w
  563. . p  R1 M4 R4 Q" n* k( y0 F
  564. ; Log errors to specified file. PHP's default behavior is to leave this value2 W' D: E4 h& p0 w7 }  ]4 l
  565. ; empty.: a- O  [8 Q9 D) T
  566. ; http://php.net/error-log
    ( `+ L! I$ W8 B1 c6 P% }  E8 O* I
  567. ; Example:* o- D4 Q! U7 a( }1 K
  568. ;error_log = php_errors.log5 P/ U# x' E3 P% f0 x* w1 x
  569. ; Log errors to syslog (Event Log on Windows).3 @% Y. W4 p  p
  570. ;error_log = syslog
    ( s" B$ f0 a- t: _8 y+ U

  571. ; v( Q+ R4 F8 R8 U4 X1 e) Y* Z
  572. ;windows.show_crt_warning
    / \1 U$ B2 z6 J8 v
  573. ; Default value: 0
    3 i2 P/ |- \  T2 Y
  574. ; Development value: 07 Z: ^* f. ^4 F! ]
  575. ; Production value: 0
    / q% J- m9 c) K( e

  576. 6 s% M0 R' }- \3 N9 l9 h: M$ F/ |
  577. ;;;;;;;;;;;;;;;;;
    1 d/ f! n, U8 O6 i) Y! i
  578. ; Data Handling ;
    ( E( S9 U9 A; h
  579. ;;;;;;;;;;;;;;;;;
    1 G2 v4 W& \1 M3 k" l  @

  580. 2 A3 x* |1 ^  n) `% Z) ^1 b0 c
  581. ; The separator used in PHP generated URLs to separate arguments." x' @& Q5 _2 q
  582. ; PHP's default setting is "&".3 ]3 r- t. _- @
  583. ; http://php.net/arg-separator.output
    - N7 O: N9 j6 `# N1 F" Y7 H
  584. ; Example:, F- W0 ]* V4 q/ j3 K$ a. q( C
  585. ;arg_separator.output = "&"9 d/ s7 j2 c* b: @5 s6 o3 l

  586. + D6 D& H7 _6 E) X0 ]6 f2 o
  587. ; List of separator(s) used by PHP to parse input URLs into variables./ @. L9 U  x! p$ T- T
  588. ; PHP's default setting is "&".4 l7 B1 L  w6 l& x  }
  589. ; NOTE: Every character in this directive is considered as separator!
    3 n5 A) Y9 _& ~+ j" h
  590. ; http://php.net/arg-separator.input6 Z# P. f6 h' q
  591. ; Example:% ]( n, w# v5 K6 W
  592. ;arg_separator.input = ";&"# g; Q, Z& O& \0 Y- ]- C" M

  593. 0 J. t9 p9 H" h  T: M
  594. ; This directive determines which super global arrays are registered when PHP: g: D1 E' K; ~* G6 d5 Q
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super. i6 t5 l9 Y! I8 ?, b
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty9 F& o! t8 G3 W. G% y
  597. ; paid for the registration of these arrays and because ENV is not as commonly# b. n0 Y1 h" k# p# C
  598. ; used as the others, ENV is not recommended on productions servers. You8 I3 ^0 K- h- a6 z5 t5 P3 b+ H7 S
  599. ; can still get access to the environment variables through getenv() should you6 u& G$ M1 D: I; p- D
  600. ; need to.
    / I8 b' A' U" e  e
  601. ; Default Value: "EGPCS"; V& A  y9 D" p+ B$ T  l4 E7 u0 u& _
  602. ; Development Value: "GPCS". j1 Q2 N! ?7 d" k* k" [& |) @
  603. ; Production Value: "GPCS";
    9 j4 j8 O, r, d: ~# j$ d
  604. ; http://php.net/variables-order
    6 E+ ^# P' W% x6 }% @  r/ B
  605. variables_order = "GPCS"0 @% ]0 }. z  T: g8 N1 \# V
  606. 5 c  `1 \  Q0 B: s1 P! c, N+ Z
  607. ; This directive determines which super global data (G,P & C) should be* H, m# L- m2 q1 g3 D6 W. J/ F
  608. ; registered into the super global array REQUEST. If so, it also determines
      \* b" x( z0 l4 y4 t0 ^, s
  609. ; the order in which that data is registered. The values for this directive
    ( T, {: h5 H  q; z# B
  610. ; are specified in the same manner as the variables_order directive,% x+ O$ C% w  [/ B5 J
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    " ~% q$ l5 ^. |3 X, y, F/ J7 W# ]
  612. ; in the variables_order directive. It does not mean it will leave the super
    , x% [! |* k* r6 r9 }, S" }- }
  613. ; globals array REQUEST empty.
    0 P( ^. T8 C/ [* v9 ~! v- P
  614. ; Default Value: None
    + i" b0 @+ J0 U2 j/ x2 U
  615. ; Development Value: "GP"
    & i. G, u9 d  t3 b/ H
  616. ; Production Value: "GP"
    1 w. n* L. G& W1 Z
  617. ; http://php.net/request-order
    ) J! C( _( c; j% A' \8 S/ X- F
  618. request_order = "GP"
    - V7 m# ?# Z( [/ o  N+ V; i2 [5 V
  619. 7 V" h& G6 }) k4 ?% t
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    8 l- |- r; ?( B: J/ c* c9 m
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script7 C7 w1 W7 I% p5 n3 `5 \' |
  622. ; is invoked. $argc contains an integer representing the number of arguments
    " g, T$ L. y7 p& O2 d6 c& @
  623. ; that were passed when the script was invoked. These arrays are extremely0 N6 ^- a" G% Z! X8 c- k1 T
  624. ; useful when running scripts from the command line. When this directive is
    3 K1 V3 @; J0 h  z8 M1 ?
  625. ; enabled, registering these variables consumes CPU cycles and memory each time5 b  [3 Q. h* }% U: r. D- H
  626. ; a script is executed. For performance reasons, this feature should be disabled  d8 r5 F: |* y  z7 b. c
  627. ; on production servers.# [7 S: n! \' d! h+ H: L
  628. ; Note: This directive is hardcoded to On for the CLI SAPI4 S& `. V# |3 T
  629. ; Default Value: On( ]6 U5 a( @, j5 c0 W
  630. ; Development Value: Off% M9 ~8 H% T& ?5 m: y
  631. ; Production Value: Off
    ( {# S+ j4 I' R; D0 T( r: _: N
  632. ; http://php.net/register-argc-argv
    " |+ q" o+ M; {) _7 p. F* W
  633. register_argc_argv = Off3 A* u  b, @9 j% U" e! V0 L
  634. 7 w/ x1 f* i% s2 W( s5 C# v
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're4 d7 C3 u, C) L4 B* r# |2 l/ G* w; H' P
  636. ; first used (Just In Time) instead of when the script starts. If these
    " a. T7 |) p7 f7 O
  637. ; variables are not used within a script, having this directive on will result' D# M0 m9 f% c, I6 Z$ ]' v
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled. E4 U+ f, @7 i2 F# M# e+ A4 _0 z( u
  639. ; for this directive to have any affect.
    / h' W! F, S' B
  640. ; http://php.net/auto-globals-jit
    6 b3 F6 g  i4 x' g9 {2 n6 k  i
  641. auto_globals_jit = On) k; K0 i8 e0 h& k

  642. 6 p: r7 h  E# q2 c
  643. ; Whether PHP will read the POST data.8 D4 j3 C6 V* D! E1 K( @
  644. ; This option is enabled by default.! n6 n0 A' q! j' T& r  \
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    5 M0 J) c& C4 E5 ^7 C' i6 E
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    ' @! \9 Y' I$ U/ y9 z% f6 U
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    , y: Y& v. k1 \, R
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    , Q! {$ X- Q. ]- ]
  649. ; http://php.net/enable-post-data-reading
    - D1 L" }5 b7 s5 x
  650. ;enable_post_data_reading = Off+ D& M1 J+ X# ~, B8 v# y

  651. " g# b% r) c0 h. W- }& A+ T
  652. ; Maximum size of POST data that PHP will accept.
    " G7 F9 v- w& r' D
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading3 ~% S6 ]; Y; y" d4 y
  654. ; is disabled through enable_post_data_reading.# R$ g( c9 ^6 J7 a5 c
  655. ; http://php.net/post-max-size
    7 S: R% N4 n7 I- }  r
  656. post_max_size = 50M) y! p" y4 {' j6 {: }! H4 P

  657. ' ]) r$ [, W' A
  658. ; Automatically add files before PHP document.% Y+ i. W) ~; @3 A) i
  659. ; http://php.net/auto-prepend-file
    : J3 o4 _6 b1 F! w- v, F0 ]% h
  660. auto_prepend_file =
    2 `, u; E( `, L' M# Q

  661. 6 I8 r" B7 F2 O1 H  v; B7 n3 H
  662. ; Automatically add files after PHP document.
    ) n; {9 w; k! z; d+ N5 ?. U
  663. ; http://php.net/auto-append-file
    ! `2 N+ H- H0 F
  664. auto_append_file =6 U2 a; F& a! g8 h. m
  665. ! P& B3 a5 ?# p0 _- Y: D
  666. ; By default, PHP will output a media type using the Content-Type header. To- M# K2 S5 V3 j# N/ n! w
  667. ; disable this, simply set it to be empty.$ g4 A! R( A% @( o# V6 M& q, t
  668. ;3 T9 m  W2 `7 ^5 j$ S& [
  669. ; PHP's built-in default media type is set to text/html.
    - \- I) C" P& e1 @5 |
  670. ; http://php.net/default-mimetype
    7 {2 r3 E2 j, H
  671. default_mimetype = "text/html"7 o+ o& D; R, J% ~* x# k# y

  672. , q! O2 Q: K( E- q( \
  673. ; PHP's default character set is set to UTF-8." e" b  }, d( a# A' W- S6 K4 k
  674. ; http://php.net/default-charset5 N; T$ b! U0 `6 q# W8 K8 O
  675. default_charset = "UTF-8"
    2 x% {2 C7 q7 Z: J3 Z. ~1 P

  676. 3 d- l$ a$ r5 X1 c% M8 p1 f4 l
  677. ; PHP internal character encoding is set to empty.
    & |) r/ W; _/ f0 Q/ L
  678. ; If empty, default_charset is used.
    $ m* P( A, O+ h
  679. ; http://php.net/internal-encoding/ `) s2 m) S& L
  680. ;internal_encoding =
    6 l, w5 l) I: f% v6 F/ J' N+ ]$ x
  681. ; R' N! k1 w' \/ a2 Z# d
  682. ; PHP input character encoding is set to empty.
    ( r# s! O5 z! I  C
  683. ; If empty, default_charset is used.
    5 m, w- y5 J/ O$ s6 q% S
  684. ; http://php.net/input-encoding$ K6 Q& T, K  u' g2 e: W: P- f
  685. ;input_encoding =7 {$ Z8 [) \# r

  686. 3 K5 l9 ^6 r' r, V9 y- }2 S1 f
  687. ; PHP output character encoding is set to empty.6 X8 D9 x1 Z3 q+ a+ g
  688. ; If empty, default_charset is used.5 q/ ]  O9 J8 t5 _$ o
  689. ; See also output_buffer.
    + F5 ^# L* N" ^
  690. ; http://php.net/output-encoding3 Q8 p8 [& O" ~( o6 z) S# |8 I; C
  691. ;output_encoding =
    % c3 ]0 r% s# A$ K( |5 O

  692. . U8 K. F0 d$ ]* Q+ @6 F$ ?' E
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    ! x9 V; ~& S. C0 ]4 ^$ p3 @5 d
  694. ; Paths and Directories ;0 c  Z, b) S% E  W
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    % a! R( N" N) R/ w- E

  696. + m7 I4 e5 U9 `1 j  ]- @: z+ _: y
  697. ; UNIX: "/path1:/path2"+ |: G# ~, {; z0 N+ l$ e, n
  698. ;include_path = ".:/php/includes"
    ! r1 G, F* b5 Z" l
  699. ;' M( o6 Y/ l9 R
  700. ; Windows: "\path1;\path2"  Y( b7 x0 `; v# b- S
  701. ;include_path = ".;c:\php\includes"
    % e4 K; S" b5 i& Q
  702. ;
    8 w( S9 }: ^# h1 p
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"5 M' w2 S# i( A0 k# L$ C: w0 q
  704. ; http://php.net/include-path/ |3 E) v: X( f. C8 V* b3 I

  705. # r6 b; J4 i+ x0 P. Q
  706. ; The root of the PHP pages, used only if nonempty.
    7 |% E1 {! g" L' [6 ], ]
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    9 Z; q% A" U) f/ l
  708. ; if you are running php as a CGI under any web server (other than IIS)
    / k9 [. y1 n/ p6 O' b% r% e$ Z
  709. ; see documentation for security issues.  The alternate is to use the1 a( O: E) O, B# Q& q. Q9 ?( B
  710. ; cgi.force_redirect configuration below
    / {+ @! T0 R; S& C# A, g
  711. ; http://php.net/doc-root
    8 H9 P2 K: p! V9 v
  712. doc_root =
    # }- H' t' s* D  f3 c" [2 \

  713. 7 e' k8 w2 F2 s/ M/ r( T
  714. ; The directory under which PHP opens the script using /~username used only- Q2 X; X# K# F" H; Y! b6 e
  715. ; if nonempty.
    7 @( ^" ]1 a3 ~7 u
  716. ; http://php.net/user-dir( e- c3 V; n/ g0 b+ B$ n5 F0 [
  717. user_dir =! W. o- R$ G) M; F
  718. 5 C. }1 q; K- n7 v% Q0 S: \
  719. ; Directory in which the loadable extensions (modules) reside.
    & L4 F7 t$ D+ e" R0 E
  720. ; http://php.net/extension-dir2 s1 E5 p7 s5 k( g* Y1 Z+ k
  721. ; extension_dir = "./"
    + I0 V9 T  J* A; U* t& q, i
  722. ; On windows:
    ' f2 O& }- D5 V* {( F& K& I
  723. ; extension_dir = "ext") [7 P9 I7 S6 b) _
  724. * g1 _. c8 l7 \+ t6 b; K* h
  725. ; Directory where the temporary files should be placed./ ?' x; C& q* Z' t/ M& \! U$ {7 J/ |
  726. ; Defaults to the system default (see sys_get_temp_dir)
    ; P" ]0 k4 t( i# p7 O! N
  727. ; sys_temp_dir = "/tmp"
    # v2 L, b$ y/ {% c% E
  728. . k$ m; u- j* K, \
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    4 B* f1 b/ W- h8 g, X
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    ; Z- F* U! }$ b8 [. L
  731. ; disabled on them.3 C9 c/ y# x1 k+ x
  732. ; http://php.net/enable-dl
    0 a8 q' J9 G# x; x0 a3 e
  733. enable_dl = Off1 R6 t4 _4 a  A7 y: [

  734. ! b$ D" o$ [; {
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under' U$ N( r) t/ {) Z  `. y
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can! x9 v5 x# g" d: ]7 ?
  737. ; turn it off here AT YOUR OWN RISK1 a) r& O& S& T$ n' q
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**% i: T7 T4 L9 p0 I1 J3 ?+ E' j# i
  739. ; http://php.net/cgi.force-redirect1 f7 B1 u+ s$ C- B2 D
  740. ;cgi.force_redirect = 1: S* v6 {6 b0 ?2 E- W6 T/ _
  741. 6 [$ Q7 Y( b: }: o2 a
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with5 H# t! _4 n! A1 i
  743. ; every request. PHP's default behavior is to disable this feature.8 ^9 X# W8 ]! P6 t# ^. T( h
  744. ;cgi.nph = 1
    : h/ ^! U; L. Y0 P
  745. - p/ [5 }0 ?8 B4 ~9 v
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape& _  f8 O: J/ [6 I; `7 D4 S
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP, W# H* r3 N- A6 ^; Q* a9 m- Y
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY7 C! i8 {- w3 e: G
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    $ q1 w$ j4 d0 ?2 A, w# K
  750. ; http://php.net/cgi.redirect-status-env
    : S+ o! m9 V; p
  751. ;cgi.redirect_status_env =1 U$ q$ R% Z& W
  752. . k9 @! ~+ H2 U* C/ m/ \
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
      x" O! P+ `" o! D! y1 p
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    & e' e. t* r* z. o2 y3 w
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting5 Y2 L% d1 h5 ^( u
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting2 h& x) I" K: I( w' I
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    ' a( e. h* h3 @, j0 B# [$ q& ~
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED./ \- M, {" A. b, ?
  759. ; http://php.net/cgi.fix-pathinfo, l2 ~+ ]2 l5 f; d9 Z) E5 f
  760. cgi.fix_pathinfo=1* Q7 N5 x* J5 \6 A. V4 }
  761. % {! ~- G5 @% z3 Q! N
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside3 `+ x* t3 V3 c* @2 }
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    ' {# Z6 r, a3 Z* ]; O9 s/ D
  764. ; http://php.net/cgi.dicard-path
    , f$ D' e5 S8 d/ T. v) }) o
  765. ;cgi.discard_path=1: f' x2 s# K; U) t1 ]
  766. 8 l, J# y# t4 ^3 e
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    . [: J' r$ {) S
  768. ; security tokens of the calling client.  This allows IIS to define the( |& \! f: k! g6 B) }
  769. ; security context that the request runs under.  mod_fastcgi under Apache. f: X2 O& S" ]/ E6 ]& E2 _
  770. ; does not currently support this feature (03/17/2002)' A  G. {. E( A% a/ G
  771. ; Set to 1 if running under IIS.  Default is zero.7 o6 p2 M) l/ m
  772. ; http://php.net/fastcgi.impersonate
    , u0 P$ I; t& V6 ]" T% ^( l9 O( X
  773. ;fastcgi.impersonate = 1
    * w* n( ]2 D4 D8 f' D) [! O

  774. ' L" V/ ?  L. z+ Y8 @# J
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable4 e$ ~. ?5 L: J7 @9 Q* j
  776. ; this feature.4 Z- i7 f. p  E; \/ ^  J: `/ J( j
  777. ;fastcgi.logging = 0
    8 V& [$ D1 c8 r- Y* f  R. [

  778. ! i, ]) n; h" J1 t9 p
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to! a8 E3 H+ V. s" i
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that  l) I) g5 j' l$ D* ]
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    * s4 p1 X/ {0 `
  782. ; RFC2616 compliant header.: ]5 t# w$ F4 L! \5 H
  783. ; Default is zero.% ^& v0 |& v% D" @
  784. ; http://php.net/cgi.rfc2616-headers3 ~  h! n3 l$ x" [" U, W
  785. ;cgi.rfc2616_headers = 0
    6 c. h6 D; S3 W, f" r* w

  786. + z: u1 N' w. |1 f8 J/ @
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    $ r7 f. B. c( N5 L# I( ^" u
  788. ; (shebang) at the top of the running script. This line might be needed if the
    7 V& l( K5 T. L: O8 y
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    , d7 p  E& |2 l! N! m
  790. ; mode skips this line and ignores its content if this directive is turned on.
    2 j1 ~. W$ X$ P. P/ Q, f% u6 l
  791. ; http://php.net/cgi.check-shebang-line
    4 u. Z7 m  l) d# D' h
  792. ;cgi.check_shebang_line=13 r! z% e1 r+ p& ]7 g
  793. 0 Z. J8 U; ^9 A
  794. ;;;;;;;;;;;;;;;;
    ' n* q) k6 ~3 A
  795. ; File Uploads ;
    5 r9 C# n( b5 F
  796. ;;;;;;;;;;;;;;;;
    % r8 E2 f' K4 y3 S) e5 P4 T$ T0 ?6 o' q8 `

  797.   c& D( V& d% S& D, g
  798. ; Whether to allow HTTP file uploads.
    " F# w$ {5 ^. K3 Y5 B: ~: w
  799. ; http://php.net/file-uploads, p+ F) H$ q2 h4 \
  800. file_uploads = On! D7 }' q( `! P" w2 ~- _  t' _
  801. 8 d# B3 g" ^4 G
  802. ; Temporary directory for HTTP uploaded files (will use system default if not- |$ C4 L- w0 _  t* T" T1 c
  803. ; specified).
    ) B+ u( p9 w! x$ D: w
  804. ; http://php.net/upload-tmp-dir& o) y" g5 g6 U8 _4 _' _1 m; ?
  805. ;upload_tmp_dir =
    ( w( J9 W# G* B/ S7 v8 R

  806. + }8 V1 T5 m* O& q* b% ?( w
  807. ; Maximum allowed size for uploaded files., [! e# K+ {1 u$ f
  808. ; http://php.net/upload-max-filesize
    " l- a8 x  [1 }' P( [% z2 a. F  B7 ^/ v
  809. upload_max_filesize = 50M
    1 v( A0 [0 ~. ]8 P7 E1 d
  810. 6 `; i, s1 s! f& {
  811. ; Maximum number of files that can be uploaded via a single request
    , l: X7 Q' X% M; Q5 b
  812. max_file_uploads = 20: l( w; H; G% j6 a, D* I6 k/ o
  813. , ?4 o+ Y9 P. O8 K' B2 m
  814. ;;;;;;;;;;;;;;;;;;9 h1 R! O- U. v& X6 S
  815. ; Fopen wrappers ;6 f# L) N' g& b" I( K
  816. ;;;;;;;;;;;;;;;;;;0 N" a8 u1 q$ E; T( |' a) R. @) G) b

  817. 9 v- M, E" S* ?( n/ _5 L8 ?* x
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.: U- ?: R& k+ |1 L
  819. ; http://php.net/allow-url-fopen, \! i; Z  k. F5 K; [8 W! i- t
  820. allow_url_fopen = On9 L; v' r; h0 R! \

  821. % V2 v+ B( D2 [7 w+ z' K* b" X; K
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files." ?9 i0 B! U* f, ?
  823. ; http://php.net/allow-url-include9 z+ o, ^9 |3 m- v
  824. allow_url_include = Off' E7 m. h( _" i

  825. 6 ~2 P& Z3 D. h. F- a
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
      j; P( m+ j) u4 R/ d
  827. ; for this is empty.
    ' k- z; q1 F6 n3 L5 E( c/ A* C/ j
  828. ; http://php.net/from; `) X: h5 t3 N, s- v0 _' T0 h
  829. ;from="john@doe.com"' h6 L3 T  S$ X  V6 _7 _

  830. ( F2 P3 ^. o5 p" E6 {3 k
  831. ; Define the User-Agent string. PHP's default setting for this is empty.6 [$ j+ J/ F$ t% t& M$ ]2 T
  832. ; http://php.net/user-agent
    + N  m& x# Q1 x. }0 Z( B+ P
  833. ;user_agent="PHP"2 k' L- t# Y7 A# Z/ d
  834. 2 I* }/ f4 A( }. `( x) U
  835. ; Default timeout for socket based streams (seconds)" E0 o3 r( k' d0 @$ ~
  836. ; http://php.net/default-socket-timeout+ `; q% x, B8 N9 `, \- h, b
  837. default_socket_timeout = 60' I. N( i. r$ n: _7 ?' U( C) D! u) N

  838. ) T) |* t- b, _
  839. ; If your scripts have to deal with files from Macintosh systems,: M0 `* I& J' |2 e5 E
  840. ; or you are running on a Mac and need to deal with files from
    $ ^+ A* }% \6 {$ H& h
  841. ; unix or win32 systems, setting this flag will cause PHP to! o: l. o% Z6 n; z& W- v$ n1 ^5 N$ H
  842. ; automatically detect the EOL character in those files so that
    0 K* w; o* q* W4 G. s- M
  843. ; fgets() and file() will work regardless of the source of the file.
    * P% Q( a; c; B" ^! b) \2 a( B
  844. ; http://php.net/auto-detect-line-endings
    9 ^! Y/ \- w6 H* i: ?' u" c3 U
  845. ;auto_detect_line_endings = Off1 W+ s: N* m1 k$ n( K
  846. : n( B/ s3 K. ~( X: b; y: W
  847. ;;;;;;;;;;;;;;;;;;;;;;$ ], h8 k6 v. C( s$ _
  848. ; Dynamic Extensions ;, a1 l  a- A, q
  849. ;;;;;;;;;;;;;;;;;;;;;;! s, ~7 X' ^4 X, `2 W7 y

  850. 6 L5 {9 Y8 q& x$ l9 b5 C
  851. ; If you wish to have an extension loaded automatically, use the following/ D$ |/ L7 `! A4 I& W/ m
  852. ; syntax:9 w. ~! c8 f7 U8 b! j% }
  853. ;
    ! f5 I# @; }( ~8 a. T
  854. ;   extension=modulename.extension+ Z: w* R3 C- Q; x! A0 A
  855. ;6 v- a4 e, U9 }  y& Q! l5 m4 H6 L9 I
  856. ; For example, on Windows:7 A0 @( R& q5 d! F, b; k! C
  857. ;9 Y3 I  ^& M8 n$ [" v3 ]6 K& P
  858. ;   extension=msql.dll
    4 i! `1 v- ^" H' v8 y
  859. ;  b2 p! J9 ?3 {5 p) t
  860. ; ... or under UNIX:, T; l& o/ w; t( N$ m
  861. ;0 f' v2 ]3 E: S1 q2 `# k2 J5 L9 F
  862. ;   extension=msql.so$ C5 j' ^. T1 C7 X0 c
  863. ;% k$ Q3 e) f; D* j* a* [
  864. ; ... or with a path:3 x# @* {" t' V, c% s8 I0 ~
  865. ;
    + H! r+ b& V8 y1 v+ d* Q+ Q
  866. ;   extension=/path/to/extension/msql.so
    4 Z' t  o- d  S# ^& Y
  867. ;
    + g( ]1 w) [! r! ~
  868. ; If you only provide the name of the extension, PHP will look for it in its
    ; y/ K( y  x: B, i) l8 ]
  869. ; default extension directory.5 ], C1 q+ k# k; T+ Z- C. W8 E& Y
  870. ;
      s$ {8 d% n. k: P4 ]0 }
  871. ; Windows Extensions
    0 [( T: j. W9 R& F$ v  l- b6 ]
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    " A5 o1 b8 ], i* d/ P
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    2 v; k6 E+ ~. H. T
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).6 x( E/ P, [$ V: y! l' a& R; B
  875. ; Be sure to appropriately set the extension_dir directive.
    / ]4 ?$ ]6 f4 ~4 M. y3 s
  876. ;) C, I; U8 L7 F  w3 \* m' X7 Q
  877. ;extension=php_bz2.dll
    ! Q0 u% v' ^) M( d- T( B
  878. ;extension=php_curl.dll1 u7 j! x- X3 P# b1 Y) w3 {
  879. ;extension=php_fileinfo.dll7 Y4 s' w+ C- x
  880. ;extension=php_ftp.dll
    1 N9 |" q9 Z9 g4 m3 ]
  881. ;extension=php_gd2.dll- d- h$ U, O  l+ b, N; r8 [
  882. ;extension=php_gettext.dll
    ' D" A5 |& \. s" c" h% ^
  883. ;extension=php_gmp.dll# O4 W7 n: o# V5 R- \) B% c5 B0 L
  884. ;extension=php_intl.dll
    ' D/ g7 p, |) G1 Y% Q( j9 O5 Q, H9 ]
  885. ;extension=php_imap.dll* P7 e1 c- }+ w( N  q
  886. ;extension=php_interbase.dll, D8 d! y8 _- K8 H" I+ l  a6 f5 h
  887. ;extension=php_ldap.dll8 f; k2 D) i$ H  Y  [
  888. ;extension=php_mbstring.dll
    - Z: g' t8 \* p% k) q
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it2 {! Z7 g" P( E- j- {
  890. ;extension=php_mysqli.dll
    1 ?: n" U$ ?6 [
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    1 L3 H  a& B3 [; L
  892. ;extension=php_openssl.dll  k+ b1 X# p# @; P2 Y/ l: z
  893. ;extension=php_pdo_firebird.dll* N4 c8 Q0 c1 d
  894. ;extension=php_pdo_mysql.dll) l' `& i* C: ]& W' g. }1 H+ T
  895. ;extension=php_pdo_oci.dll0 k0 v+ ~5 w1 o. s" E/ U5 @
  896. ;extension=php_pdo_odbc.dll( p; j( u) G8 U& p0 W
  897. ;extension=php_pdo_pgsql.dll
    ' @) z7 x# Y9 l
  898. ;extension=php_pdo_sqlite.dll
    3 |3 e$ w8 {) u% @5 N5 i) ]
  899. ;extension=php_pgsql.dll
    ; Q, y* q- U* A. p& h
  900. ;extension=php_shmop.dll
      r  I6 s) k& g9 m; L( ^

  901. . V) A; v( P0 c4 t; U
  902. ; The MIBS data available in the PHP distribution must be installed.+ a* m8 P9 S! _6 w
  903. ; See http://www.php.net/manual/en/snmp.installation.php) d& F+ `& r& K
  904. ;extension=php_snmp.dll
    " K" Z# Q* s  g; M0 e9 x
  905. $ I! k) ?1 N% B$ f9 j2 Q: D
  906. ;extension=php_soap.dll
    0 n9 q0 \4 h, z1 W/ l) \
  907. ;extension=php_sockets.dll7 s# Q* V  Z7 E' c5 \- t& W
  908. ;extension=php_sqlite3.dll
    ; N1 y0 e! o$ s" x3 J; ]
  909. ;extension=php_tidy.dll+ ]5 u1 u. r  ?
  910. ;extension=php_xmlrpc.dll, \$ A+ U8 A0 i7 R
  911. ;extension=php_xsl.dll
    5 ~- g: q/ X* N; h% ^3 e( C

  912. 3 c1 ?2 |# ^5 J% D
  913. ;;;;;;;;;;;;;;;;;;;
    8 |; v: A7 b2 T: R
  914. ; Module Settings ;5 V+ t, Y# f8 P4 R7 z
  915. ;;;;;;;;;;;;;;;;;;;
    0 _8 |% M( ?. O, }0 Y2 ^

  916. : f0 q& y* P% h2 B
  917. [CLI Server]
    & \  `, q% r  o6 r4 C& g
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    ( V2 {3 G  @# c' N, Q$ M; f' ]
  919. cli_server.color = On
    ( o  t/ d  W% O4 |5 T( N
  920. 6 A/ q7 l0 b0 A; A" O3 b  D
  921. [Date]: x7 Z% i5 N0 C; _% e6 q, d" G
  922. ; Defines the default timezone used by the date functions
    * C2 L9 l% Q- }4 ~) s
  923. ; http://php.net/date.timezone
    1 N: S1 T* Y3 g% e1 r
  924. date.timezone = PRC9 J1 ~0 Q% [# h+ V' K
  925. + X. \6 q8 n5 m: i4 `
  926. ; http://php.net/date.default-latitude3 C" H2 k0 D" S. O: h  U
  927. ;date.default_latitude = 31.7667$ g6 V2 o& H# q2 K' J; i

  928. 6 k+ g% r$ g: \% U3 `) G; Q
  929. ; http://php.net/date.default-longitude3 Y5 J. n, F4 B! C1 c  i. O
  930. ;date.default_longitude = 35.2333
    & |8 k( l" m* \: Q0 g" D

  931. ! ]) v8 E0 Q0 `3 v* d" _% z
  932. ; http://php.net/date.sunrise-zenith
    : S. \: W1 y# [8 J1 H5 R
  933. ;date.sunrise_zenith = 90.583333
    8 C7 u- c; A2 C

  934. 8 ]0 t: A. Q5 P: _! t0 @
  935. ; http://php.net/date.sunset-zenith
    4 t# K- A. c7 x$ C' E, |, Y
  936. ;date.sunset_zenith = 90.583333
    9 n0 x/ [  @3 S/ g# \0 ^6 A+ {0 s( C
  937. + y0 @8 o! E  y- R9 `6 |- p; b
  938. [filter]* m6 N" a2 z2 z& C- y$ s
  939. ; http://php.net/filter.default
    9 T$ Z- U6 @- {* F( g3 d
  940. ;filter.default = unsafe_raw; ~7 Y1 q: n/ {& U. H

  941. ) m* C4 W* X. g* z5 y1 Q) H$ o) N
  942. ; http://php.net/filter.default-flags
    , q6 F% c- e# y7 y6 p
  943. ;filter.default_flags =
    % E' k- J6 @* {+ e1 t; p
  944. 4 y$ x. f) j+ q# {! Y3 k7 \
  945. [iconv]
    + E2 W$ X" x0 E  t( h( [
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.. Z( k$ b1 B! o4 e5 @- {9 j
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.0 j) U: Z& P3 J( I
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding( c1 b& r3 k, Q+ f6 p, I& h
  949. ;iconv.input_encoding =
    ; z" |) z1 g' D, V( p

  950. 7 X8 v. X9 n8 r/ V  K: K
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    9 P* \: u" c$ O# K
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    - E1 {& u+ R. j
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding9 H! v. r* F( `, U" k6 ^+ \: t7 k
  954. ;iconv.internal_encoding =. @& D" Z" f6 [* Q+ e5 i. Z6 Y
  955. 9 f- ^' M: I! O, u0 ~; [
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.: T; h- H6 S# i" D& \/ c; ^
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    - ]! h% f& m. F# H( l1 K1 Z: J- D
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
      u3 Q1 v3 _1 d+ Y! i
  959. ; To use an output encoding conversion, iconv's output handler must be set
    # M8 l8 f7 b0 T4 Y- y% O$ V. @6 k
  960. ; otherwise output encoding conversion cannot be performed.
    ( {# D0 y4 F0 v* s, A) ?
  961. ;iconv.output_encoding =5 R! Y( b1 D+ `( }# y) k6 S
  962. % O( ^) g0 c9 @' w
  963. [intl]
    8 b1 T0 u' s! m% `/ x
  964. ;intl.default_locale =
    9 i( n5 q/ n& Y
  965. ; This directive allows you to produce PHP errors when some error+ p& X" o6 `; ~( S% o
  966. ; happens within intl functions. The value is the level of the error produced.
    ( K/ `5 e' h& I) Z; |; s- \
  967. ; Default is 0, which does not produce any errors.
    $ X. O  t% u* B1 W
  968. ;intl.error_level = E_WARNING
    ; K; M; N. [+ T2 p
  969. ;intl.use_exceptions = 0
    ; A, w" Q0 w9 z3 p1 b, A
  970. 9 Q9 V' R  Z  w4 M8 m: d  ], Q
  971. [sqlite3]$ t! H) }; Z7 \0 G
  972. ;sqlite3.extension_dir =( ^& X( \- E7 K% a/ I' Z

  973. $ g* e# p) a( n+ ]+ Z
  974. [Pcre]
    7 z2 \0 B( z, g$ q7 E: x
  975. ;PCRE library backtracking limit.
    1 a3 R# |. Y# _% N" y3 O
  976. ; http://php.net/pcre.backtrack-limit) O% n2 Y9 {2 x# F% U! f
  977. ;pcre.backtrack_limit=100000
    ' S# V; o* N3 [! g) D9 ~2 Z

  978. . @- N' S; q8 N: d6 V; M0 J, w* L3 q) Q
  979. ;PCRE library recursion limit.$ W2 G* p& ~9 a$ t! Y; D- }; \
  980. ;Please note that if you set this value to a high number you may consume all% M; ^+ _! i3 N6 p
  981. ;the available process stack and eventually crash PHP (due to reaching the8 d3 |  N9 R# `9 }: b7 K
  982. ;stack size limit imposed by the Operating System).) @# u% S  ]( P+ V) ?# p" A1 p1 M
  983. ; http://php.net/pcre.recursion-limit4 G5 W" Y6 U8 S# n) L  Z
  984. ;pcre.recursion_limit=100000# I/ ?" \# ^+ J) \: x' @

  985. 1 t  a7 J% X' h6 N
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE; t: k% F4 @" r
  987. ;library to be compiled with JIT support.
    ; f2 G* g# i9 H" @: t
  988. ;pcre.jit=1, q- S. j# h9 ~3 f
  989. 2 m: S+ w0 B! M1 u. Y. M3 ^
  990. [Pdo]" P  J+ D9 Q0 [( |* V7 M! j
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    6 {9 d! @9 o0 d  ?/ h
  992. ; http://php.net/pdo-odbc.connection-pooling% q: n6 ^) K/ f7 S  K' k
  993. ;pdo_odbc.connection_pooling=strict
    ; ^) l7 v: O3 |( h/ h0 S8 _: S

  994. $ {8 n/ O8 W1 o1 [+ t+ i
  995. ;pdo_odbc.db2_instance_name$ S- o. U7 L! @

  996. 6 E, ~; E# Q2 D% U2 x/ }7 M
  997. [Pdo_mysql]
    2 |5 p: o1 ?# v9 G
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ) E7 [3 k* u; Q6 M- ~
  999. ; http://php.net/pdo_mysql.cache_size
    . m( e% ~5 p' ~' _! R' u7 C
  1000. pdo_mysql.cache_size = 2000
    ) B( O0 {! Q0 w" G; {% T8 h

  1001. . F+ \4 x5 ~  m. n
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in: R1 t8 Z# w% O$ B
  1003. ; MySQL defaults.& F( B/ b% r& z/ S$ F- _8 N9 B
  1004. ; http://php.net/pdo_mysql.default-socket
    " Y, ^. i: ^7 E$ v/ a* `7 e1 O
  1005. pdo_mysql.default_socket=
    ' W$ K3 e  {. p. N* b, a

  1006. 8 |- B4 z2 ^, p* x
  1007. [Phar]
    5 J7 w2 C  z9 d/ Y' H0 f2 \6 m
  1008. ; http://php.net/phar.readonly5 x7 [6 K" Z& S- S
  1009. ;phar.readonly = On
    . |& }5 L3 b3 A6 m) B
  1010. & C# o' q) U) z
  1011. ; http://php.net/phar.require-hash( x) ~& y% L) P' f
  1012. ;phar.require_hash = On
    9 \( @1 a0 ~8 n7 L
  1013. 9 c' E" \- F8 I# @+ P: f
  1014. ;phar.cache_list =
    2 l( m, V, |7 {5 G# ]# y  r

  1015. ' @8 O3 }4 c: B$ g: e3 K
  1016. [mail function]; x' o; R; `# I4 H
  1017. ; For Win32 only./ S6 P; l" t6 W2 p( \5 e3 s
  1018. ; http://php.net/smtp$ N8 B* x1 L0 E, K
  1019. SMTP = localhost; ~2 H4 N) n6 C  O# V8 B. `
  1020. ; http://php.net/smtp-port; _5 B9 v! ?+ G: j" j. g# _
  1021. smtp_port = 25
    9 X  o- E9 e- r. B" A3 O( r
  1022. : |" N9 P, j8 U* r8 w
  1023. ; For Win32 only.
    6 n5 c4 `3 w& q) I5 f* [) q
  1024. ; http://php.net/sendmail-from
    % S, o2 c4 Y. q
  1025. ;sendmail_from = me@example.com
    & d$ T1 }% A6 q& X7 d

  1026. % o) X9 }. b/ ?+ [, y
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").$ d1 k( A7 w8 c, `
  1028. ; http://php.net/sendmail-path; G) h# D( o& e9 a$ t1 V) B: V
  1029. sendmail_path = /usr/sbin/sendmail -t -i: x8 ?# S! }. [- {4 @
  1030. 4 y2 s, G: d$ u! m+ U
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    , @4 o5 \& W9 w) O! g' w
  1032. ; to the sendmail binary. These parameters will always replace the value of" W/ u! M; g7 ~; ]" W# Z
  1033. ; the 5th parameter to mail().4 v) H; [3 D% o4 Q; F9 F4 `# f% H
  1034. ;mail.force_extra_parameters =
    ( Q% b8 G! u  L8 j: C8 a! q; P8 K& O0 t
  1035. ! V2 b3 P# W6 m" f
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    - a% P- `2 E5 M$ W; \# v9 m
  1037. mail.add_x_header = On6 M0 c1 i& {; P' q

  1038. / l* {( C+ N( `" ^3 p, H; m
  1039. ; The path to a log file that will log all mail() calls. Log entries include& D0 h8 m- k# R& Q4 A$ O
  1040. ; the full path of the script, line number, To address and headers.4 Q" n' g0 s7 o; }
  1041. ;mail.log =
    5 C) `1 m2 S# e
  1042. ; Log mail to syslog (Event Log on Windows).
    % U; a+ C% I  s3 P
  1043. ;mail.log = syslog: B& b5 w8 |( D- R/ p3 U3 ?
  1044. * S3 _* ~% E' X- z: k4 M& h
  1045. [SQL]. ?; ^; f  R9 P4 J1 m3 }
  1046. ; http://php.net/sql.safe-mode
    , n! D: u/ a! c9 q$ H8 p- u
  1047. sql.safe_mode = Off# P5 @9 Y( Z- ?$ |

  1048. ! B$ x5 J9 K9 Y" i
  1049. [ODBC]
    , e8 \, Z; ]* U5 s- {
  1050. ; http://php.net/odbc.default-db
    ! g  q3 X  s1 T. O2 C: t* {) c2 u$ F
  1051. ;odbc.default_db    =  Not yet implemented% F! ^# e! q8 j3 |, r/ L% ^
  1052. 8 E4 T3 i, c3 w. _5 f
  1053. ; http://php.net/odbc.default-user* [  Q7 ?4 e. @/ L
  1054. ;odbc.default_user  =  Not yet implemented7 q. v/ ~* E. p) d: ]( T0 u6 m

  1055. , E6 K' i0 k; B) a$ h/ R5 z! p
  1056. ; http://php.net/odbc.default-pw
    4 C- w3 R! n$ I# B2 P: i
  1057. ;odbc.default_pw    =  Not yet implemented! @/ P0 Q; S  R6 z6 l3 ^. C
  1058.   l( H- m" h, ~$ O
  1059. ; Controls the ODBC cursor model.
      r: P# T* E% |1 y# J( O! A; R% y" u
  1060. ; Default: SQL_CURSOR_STATIC (default).
    , p: N, B& N: \1 R' ^
  1061. ;odbc.default_cursortype
    7 c1 |1 [( {. ]4 P

  1062. , R' D$ Y" G, o( {' D
  1063. ; Allow or prevent persistent links.2 T$ R' _6 g3 R9 }& f+ ]; c
  1064. ; http://php.net/odbc.allow-persistent- b" }3 Q2 T! e, E5 ?9 N3 _
  1065. odbc.allow_persistent = On7 n5 e$ i" x/ ]
  1066. 1 s' J6 W: Q$ J. r" Q7 a
  1067. ; Check that a connection is still valid before reuse.
    * c/ l8 X1 ~$ a
  1068. ; http://php.net/odbc.check-persistent+ X* F( d9 Y5 v- K: u0 m
  1069. odbc.check_persistent = On
    : s9 V% O% J8 o9 A
  1070. # T# P6 E! Y' [0 O  o
  1071. ; Maximum number of persistent links.  -1 means no limit.) U7 [1 z) ]3 A1 r% |; F
  1072. ; http://php.net/odbc.max-persistent
    3 K; J4 \2 ]/ m% q0 I
  1073. odbc.max_persistent = -1: w# J0 x7 V+ d. l% F) T6 Q! ]: b

  1074. 4 e! ?- N/ \/ M6 i4 [4 p( R
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.( X) G2 W8 T9 D. c5 a' @" d+ b
  1076. ; http://php.net/odbc.max-links
    ; @$ x5 g% @& F$ l
  1077. odbc.max_links = -1" Z. e1 C1 J6 L" q
  1078. : {# }) ?6 N; U0 v9 C/ K% Z: b) F# F
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    + _/ |% q1 ~2 j& B3 n' _
  1080. ; passthru.
    4 O" l, E; R- f
  1081. ; http://php.net/odbc.defaultlrl
    / a$ t0 y* y" |
  1082. odbc.defaultlrl = 4096" u  y5 w$ F* h7 x$ J2 B7 ?5 S

  1083. 5 y/ F& I* p2 q) P6 @( }
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    * {6 k# v$ a4 Q" c% J" l
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    1 J8 |! o& B: t! g
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    7 b0 |8 x% r2 ^5 N9 {6 j
  1087. ; http://php.net/odbc.defaultbinmode" b9 j3 ?- R! F- o) J; ^9 {$ U
  1088. odbc.defaultbinmode = 1: X. I" ?, y1 W$ Y

  1089. % l# \% j( E* ^( O; T; }/ e! @7 A+ B+ j8 J
  1090. ;birdstep.max_links = -1  P! G' I% Z: ?: e  }
  1091. ' H0 l& W0 b6 N. x
  1092. [Interbase]7 s4 l4 E6 k9 H7 j
  1093. ; Allow or prevent persistent links.
    * J3 w8 v- Q* t% H$ y- N+ F
  1094. ibase.allow_persistent = 13 G% X" U/ O6 r5 Q# U
  1095. 4 v3 ^- L; ?* `2 B
  1096. ; Maximum number of persistent links.  -1 means no limit.
    + i& `' k7 K/ b2 M. X
  1097. ibase.max_persistent = -11 e) s1 O$ R1 K* b8 J# |+ \; s
  1098. % R/ B! P+ d8 i/ M
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    , o' ~2 V) `( |, f
  1100. ibase.max_links = -1
    ' X( e+ d3 y% a5 m, B! I

  1101. " H/ l) n; a' T( v
  1102. ; Default database name for ibase_connect().8 h, K1 {. n" }! K0 G& `" s
  1103. ;ibase.default_db =, k- g& `) Y7 W

  1104. . u* ^2 I4 M+ L, l, m, S
  1105. ; Default username for ibase_connect().4 i; ^( x  O5 k& g/ P. G. y' m
  1106. ;ibase.default_user =
    0 a9 N  N- h. r# k/ A7 g

  1107. # x/ i4 j7 A, E  {0 i
  1108. ; Default password for ibase_connect().4 O& x/ b1 R( w' U( u) n2 o
  1109. ;ibase.default_password =% g& c% [: Z+ |( z$ e" t
  1110. & P; B& X; H1 L% c& e
  1111. ; Default charset for ibase_connect().
    * J4 A7 {& g0 T0 j1 Y% t* [1 l
  1112. ;ibase.default_charset =
    ! W+ ]4 D  B9 z0 e5 |& t
  1113. & A% ]- c4 ^* e4 s  y& f( W
  1114. ; Default timestamp format.  Q% ^7 B& Y# P: E2 P+ ]9 g1 U) d
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    % B9 H; ^, @+ J( g9 K/ a

  1116. ! N/ d. h- N8 N& J
  1117. ; Default date format.
    # b8 K% B7 f' S9 J; A0 Q
  1118. ibase.dateformat = "%Y-%m-%d"" I" n$ U/ n3 M/ K# R' `
  1119. 1 F$ ~/ |& y# ~
  1120. ; Default time format.
    5 O! V, Z' C  m  l6 O( }# k& i
  1121. ibase.timeformat = "%H:%M:%S"
    ' E& ?) U# l: r) J+ t! R3 ^

  1122. 7 v( F" ]4 v: q! X, S  }. B4 N
  1123. [MySQLi]9 G" Y5 H6 i& M& m7 h
  1124. $ J) q4 ~0 {4 V3 \+ U' _
  1125. ; Maximum number of persistent links.  -1 means no limit.
    + l0 x1 K2 z  ?# T. I
  1126. ; http://php.net/mysqli.max-persistent" Y2 }- X, t5 r8 ]% P. q
  1127. mysqli.max_persistent = -11 W- f; U/ B( ?

  1128. 0 X5 |0 M4 t& c( g
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements. `/ z6 E" w8 |3 y* j7 s3 A
  1130. ; http://php.net/mysqli.allow_local_infile
    ; y* ]5 c( c8 y% w" R
  1131. ;mysqli.allow_local_infile = On
      Z- y/ i* V* \; j7 }! P, h* l
  1132. 9 `1 a; s. a( e# D- W/ Y+ D" s
  1133. ; Allow or prevent persistent links.0 I$ ?; B( E6 |- |' T; c
  1134. ; http://php.net/mysqli.allow-persistent6 M' Z; ~: C& A8 H; T2 E
  1135. mysqli.allow_persistent = On
    ; [; u4 |0 `6 Q# {
  1136. / r  A  G5 n3 s9 M* ]
  1137. ; Maximum number of links.  -1 means no limit." O  N, D0 f: a6 s: f" D6 h7 x
  1138. ; http://php.net/mysqli.max-links
    3 D/ x6 l. k# s. q9 f, E( s
  1139. mysqli.max_links = -1- W: C' w. A, A

  1140. ' |0 W# ~% s: z; y
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    6 O* _  `! O. f( t$ z
  1142. ; http://php.net/mysqli.cache_size
    1 p  h+ a  @; R, i0 M  S
  1143. mysqli.cache_size = 2000
    - Z; F) u8 }* x& V  n- D, b/ K  w8 c' I

  1144. / {: V7 o4 o3 B- [
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    ; ^% o8 z' b0 S5 s# K' z/ L
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the' }+ z1 x9 z$ _& ^7 @
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    ( u9 p$ [' u, a
  1148. ; at MYSQL_PORT.
    7 V# ^: [: J$ K* C
  1149. ; http://php.net/mysqli.default-port' {4 O" G: Z8 q
  1150. mysqli.default_port = 3306! z3 S) q, p7 c

  1151. ( j" A5 J9 y( @/ @+ {5 Y
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in" x/ B/ H6 p: ~( j/ S
  1153. ; MySQL defaults.* D9 r* |' o. d. b1 g
  1154. ; http://php.net/mysqli.default-socket
    $ |: q  E  A8 n" e( f
  1155. mysqli.default_socket =
    / k) X$ t1 s! I( P# O

  1156. ' f9 A( F: f& v1 `
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).% r4 }2 w7 F" T! S9 k$ k5 I/ S
  1158. ; http://php.net/mysqli.default-host) W5 ~$ Q8 |. M
  1159. mysqli.default_host =
    $ c# z' N: F1 \/ c
  1160. 9 V& P+ b- i( S* {2 `9 O
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).6 z: F# M* T% w6 L! j
  1162. ; http://php.net/mysqli.default-user
    ( r% Z$ `. v% \6 x
  1163. mysqli.default_user =% i; D2 t: x( @" K& t+ s

  1164. : X) r  H/ N1 x6 ]7 [# O* n
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).$ X6 g/ ^& r  Q5 c8 A
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.  i* E4 ?: W6 Z
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw"), ^' @7 W; [% P" D
  1168. ; and reveal this password!  And of course, any users with read access to this
    9 ?+ C5 r3 R  ?$ `6 l3 X8 E% u' j: v
  1169. ; file will be able to reveal the password as well.
    # u$ B4 M* y* E( m
  1170. ; http://php.net/mysqli.default-pw
    / j& B# Q2 w/ L6 _$ O  I2 G! ?) I
  1171. mysqli.default_pw =
    $ C$ ]# `( {7 e! d/ g

  1172.   B# o) Y% U/ q( i) J& z
  1173. ; Allow or prevent reconnect
    4 T1 H; W7 k9 [' [- {
  1174. mysqli.reconnect = Off# ]# Z  s6 X5 j4 Z1 E- G

  1175. ! h. `& L' L) b5 M6 y9 i
  1176. [mysqlnd]
    4 R/ s# l( q; k' G; p$ `! u$ w
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    3 y$ V+ h1 _- c: ]6 u' c
  1178. ; used to tune and monitor MySQL operations.! U9 G9 u  s; T( G1 \7 z
  1179. ; http://php.net/mysqlnd.collect_statistics2 T: D9 K& i# B4 Z) Y+ j7 P
  1180. mysqlnd.collect_statistics = On2 _( z% D9 o0 Q. i
  1181. 8 H3 J" P0 u8 v4 \0 k  P
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be5 G- p' A. a6 m) k5 t. Y( L4 ?0 |
  1183. ; used to tune and monitor MySQL operations.
    # v, j5 A& J- o( L( O% i
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    0 N/ m( {! y$ k, M0 f
  1185. mysqlnd.collect_memory_statistics = Off: v3 [& s6 @+ J2 ~

  1186. / }" m! }3 J8 \1 V9 P
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    1 A3 t) L& M9 i( ~
  1188. ; file.
    1 a% y- Y9 y5 p4 c9 G; F3 Z2 G' d
  1189. ; http://php.net/mysqlnd.debug- Y* a: e) ]' ^) O8 Y# ?
  1190. ;mysqlnd.debug =
    : \7 @8 ^2 ^5 H; \/ Q* U3 S
  1191. 8 z. Y* D- E; U% k* S$ B
  1192. ; Defines which queries will be logged.2 E, o' @" O8 ^6 x0 j' D) s8 ~
  1193. ; http://php.net/mysqlnd.log_mask! Q6 F1 [5 o% e& o+ \$ I/ S6 u
  1194. ;mysqlnd.log_mask = 0# X  ]& u( h- Z  K
  1195. , [: N, ]. j- s# O. X
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    ' ]9 x5 H6 G0 o4 A* B
  1197. ; http://php.net/mysqlnd.mempool_default_size) S) Z( c7 h& r
  1198. ;mysqlnd.mempool_default_size = 16000
    # T/ x" s# l5 r2 N4 L
  1199. / G( _9 f( |1 U  a" h) D% K7 |7 b
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.& C& r4 i7 `7 Y, G9 [0 n1 c2 [# F: y' J
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    : i) e  `8 z" m0 |* T  _) V
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    ; k# j: A/ D# @1 C

  1203. ; B5 n- S$ N, A0 K
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in9 h7 @  l; E1 k5 N1 W
  1205. ; bytes.
    + F0 \# z  v/ E( ^' s5 Z) u) ]
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    ; B5 @7 H9 W' G$ K: \! n
  1207. ;mysqlnd.net_read_buffer_size = 32768
    . V, r9 w' d# y3 D
  1208. * W/ O( ]2 I# S0 V
  1209. ; Timeout for network requests in seconds.
      F7 R& S! ?+ Q5 R
  1210. ; http://php.net/mysqlnd.net_read_timeout; E! ?5 h1 _" L: r$ l' a/ \
  1211. ;mysqlnd.net_read_timeout = 31536000
    6 H1 Q8 E' _# ]7 W1 X
  1212. ; x" U+ o; B- u
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    ' I5 E+ d. k! Y8 e# d! f
  1214. ; key.  H1 Y6 t- s$ l5 Y4 b" ~% x, \
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    % Z  {* ]0 d& m4 j
  1216. ;mysqlnd.sha256_server_public_key =1 t" U: W, _  W0 S% T3 C

  1217. ; b+ B$ |7 [/ q' }
  1218. [OCI8]6 s+ |7 p7 l/ T! }

  1219. 0 Z, c, R$ F: O
  1220. ; Connection: Enables privileged connections using external% r0 n0 e! l* N. Q
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    7 _+ l+ R8 ]8 M" r9 s
  1222. ; http://php.net/oci8.privileged-connect
    " ]% \- u7 N9 j4 \8 z7 H
  1223. ;oci8.privileged_connect = Off) q3 {* x; B5 D5 |2 e4 R( D

  1224. 3 q% S" c# {: n+ h. {0 P
  1225. ; Connection: The maximum number of persistent OCI8 connections per: A0 g2 M" S: w# j2 G) N  Z% q
  1226. ; process. Using -1 means no limit.
    , |& _- ~/ ?0 Z/ }8 C$ u7 Y
  1227. ; http://php.net/oci8.max-persistent
    4 }8 _6 ~& G4 |
  1228. ;oci8.max_persistent = -11 w$ n3 R- E, R# w4 W

  1229. 4 \( g& R# C5 l8 s9 Y
  1230. ; Connection: The maximum number of seconds a process is allowed to: R( i( {6 ~1 ~# h- N1 g8 f: T
  1231. ; maintain an idle persistent connection. Using -1 means idle& k! _$ B, k, a/ {7 H- f
  1232. ; persistent connections will be maintained forever.$ p1 M0 ~4 z" O3 }& S% U
  1233. ; http://php.net/oci8.persistent-timeout* f' }: B$ [" e+ Q8 h5 @8 w  r; B/ c
  1234. ;oci8.persistent_timeout = -1( M. \# }  R# u) I

  1235. 9 `$ k& ]) n1 d; U9 n8 ~, y
  1236. ; Connection: The number of seconds that must pass before issuing a: ]9 |2 L2 D# j) I4 H
  1237. ; ping during oci_pconnect() to check the connection validity. When
    : F2 P) |- j$ o3 |* i4 f/ L0 G( k
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    $ P* ]* E& X" O2 s8 A
  1239. ; pings completely.
    0 g5 c7 K& H- h# f: \! \% @8 I
  1240. ; http://php.net/oci8.ping-interval
    # f( n" l$ U& c6 B& @; k: O8 Y
  1241. ;oci8.ping_interval = 608 @# c1 |. O! J/ [  K2 ^

  1242. : O5 D% O# ^+ Y- l
  1243. ; Connection: Set this to a user chosen connection class to be used. y3 Q6 o6 o4 t# @0 X
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    ! j9 q* n8 I$ I# j  W/ I$ t
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    ) \, H/ @8 N1 G
  1246. ; the same string for all web servers running the same application,' |3 C2 E1 c4 m6 p5 M
  1247. ; the database pool must be configured, and the connection string must+ w: J' n: ~" v* r, L
  1248. ; specify to use a pooled server.! N  d7 E/ q4 D( X; H1 L( T8 D2 L
  1249. ;oci8.connection_class =- @8 y* |& E5 u+ b# [' K
  1250. . x! A/ N- J& w6 Z. b! x
  1251. ; High Availability: Using On lets PHP receive Fast Application" d7 y/ {) I, y# B0 q( _: }% y
  1252. ; Notification (FAN) events generated when a database node fails. The5 Y/ u( W2 P, ~6 D
  1253. ; database must also be configured to post FAN events.
    7 n1 }) V  N6 e( |/ h; L6 @
  1254. ;oci8.events = Off7 V9 c+ F7 ?! S1 d! u0 _( x! w2 v1 ~0 L

  1255.   f+ C4 w3 w+ x  ^
  1256. ; Tuning: This option enables statement caching, and specifies how
    $ {/ R2 [: F# i6 b7 z
  1257. ; many statements to cache. Using 0 disables statement caching.
    4 }2 n$ N4 D' G, @" J
  1258. ; http://php.net/oci8.statement-cache-size! b7 Y( z& t8 }# O) r7 @1 o
  1259. ;oci8.statement_cache_size = 202 }& D7 n2 B7 B1 q7 z9 H% o' ]
  1260. . S- J5 ?: E7 G' r
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    . w$ R4 `! V. w1 q" \- y. e
  1262. ; rows that will be fetched automatically after statement execution.
    # M" p7 k4 ?+ J* P
  1263. ; http://php.net/oci8.default-prefetch
    5 T+ t9 t: }3 v; D" ?/ P, }
  1264. ;oci8.default_prefetch = 100; O: f: Y* g+ ]9 p% f

  1265. : l0 W4 s* ~+ P" T: h# K5 P' u
  1266. ; Compatibility. Using On means oci_close() will not close
    9 L6 x0 T- d" \. T
  1267. ; oci_connect() and oci_new_connect() connections.1 i5 ]% |; C, z. J
  1268. ; http://php.net/oci8.old-oci-close-semantics1 Z  \) P  K+ h) V/ p9 ?
  1269. ;oci8.old_oci_close_semantics = Off
    5 K9 V/ t: P5 u6 M! A3 u! g

  1270. 5 D& c, w( Q. N) R; d- U8 c# O8 ?2 y
  1271. [PostgreSQL]
    ! b9 O2 d7 W  U. h7 Q, J! A5 y7 T0 C* p
  1272. ; Allow or prevent persistent links.0 z& x, a, E* n% g
  1273. ; http://php.net/pgsql.allow-persistent( e9 c. r9 u% o1 {
  1274. pgsql.allow_persistent = On6 \- z& W* h9 a+ M  q8 D/ }

  1275. ! O( {. m- P$ ~. s. f4 B
  1276. ; Detect broken persistent links always with pg_pconnect().
    * m/ J' n& q/ t# m
  1277. ; Auto reset feature requires a little overheads.
    2 ^. p7 ?) a! T& Y- k6 H
  1278. ; http://php.net/pgsql.auto-reset-persistent
    " {9 v2 k) D) C( ]! `2 c5 C
  1279. pgsql.auto_reset_persistent = Off
    # F$ }1 ^8 V  i9 l

  1280. 6 e# Z" S8 G- C& ?
  1281. ; Maximum number of persistent links.  -1 means no limit.
    " s# T# b1 K! A
  1282. ; http://php.net/pgsql.max-persistent
    # ~) c1 @8 o2 q5 F3 |1 c0 O) f9 Y6 W
  1283. pgsql.max_persistent = -1
    % o5 G8 a. Q  Z: `: ?7 u
  1284. 5 V' p" u! x9 p  ?- j8 b
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.+ @# c3 d8 W+ C: J6 l& [: r; ^7 `
  1286. ; http://php.net/pgsql.max-links+ b- u4 H' V* N* S
  1287. pgsql.max_links = -19 r* V5 i" I( r2 n0 o7 M) v
  1288. 9 N% l" A. m* S) `; U* M
  1289. ; Ignore PostgreSQL backends Notice message or not.
    " T  S) N" m% ]4 Y
  1290. ; Notice message logging require a little overheads.1 C/ B) {" f3 w& @0 G1 T7 ?
  1291. ; http://php.net/pgsql.ignore-notice, Q8 E/ s4 u( v; o, U3 C) C
  1292. pgsql.ignore_notice = 0- A1 L1 U" k( h, f  w9 L- Y/ v! T
  1293. + d1 T8 J) L; f( k9 ~3 U
  1294. ; Log PostgreSQL backends Notice message or not.3 M- E$ m3 C' N3 v8 x
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.4 ~7 I- E$ k" ~' J
  1296. ; http://php.net/pgsql.log-notice, [  W4 k+ z& x- E$ A5 M. |
  1297. pgsql.log_notice = 0
    ' T% W* B# q2 q) s0 F' R% z
  1298. / D( {) F& T5 F$ F
  1299. [bcmath]/ }2 M3 Z: ]# B" \! V/ \- w" A+ v
  1300. ; Number of decimal digits for all bcmath functions.
    ' ~9 b' R* l& X2 T, z6 @9 i
  1301. ; http://php.net/bcmath.scale
    / C# }/ F6 D8 O. S* Y& D  b' U
  1302. bcmath.scale = 0
    & a  q) l/ o- i  D3 ?: g# j, k
  1303. ! f. B& `/ {5 C1 e( g) V& a! v( D
  1304. [browscap]
    ) `% X3 @3 A, J$ q
  1305. ; http://php.net/browscap" M0 F: f9 B- ]# W, U0 Y
  1306. ;browscap = extra/browscap.ini4 @2 x! ?; L9 b
  1307. 5 N' Y& p4 r8 M. G
  1308. [Session]6 R- A5 B1 G6 J8 R4 V3 [
  1309. ; Handler used to store/retrieve data.5 H: A% Q& H( L2 k! @9 `' h' ?
  1310. ; http://php.net/session.save-handler
    5 q% J5 Y8 S& L9 m' v. b
  1311. session.save_handler = files' |5 ]: n# N: w* p# R! i. z

  1312. 2 j4 T8 U6 C* k) x3 H9 Y9 j& J1 A0 M
  1313. ; Argument passed to save_handler.  In the case of files, this is the path. s* ?# C% t* W) W; _
  1314. ; where data files are stored. Note: Windows users have to change this* V' Y1 S2 W% m) P
  1315. ; variable in order to use PHP's session functions.
    7 T, e- r: p8 h& L# _% Z
  1316. ;
    ( @& B! F7 Y: J) v( _, a/ ?$ R
  1317. ; The path can be defined as:. u* U) ^  k/ Z# G
  1318. ;
    " u1 ]; A' g) X, `, F6 G
  1319. ;     session.save_path = "N;/path"
    & x. ~8 m; Y* {+ H# L
  1320. ;
    - I: e$ N- q/ y7 f
  1321. ; where N is an integer.  Instead of storing all the session files in1 \! _# V, W" t, g/ E. p# j
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
      r* \0 M4 S1 x" W$ C1 R
  1323. ; store the session data in those directories.  This is useful if& d9 x' R6 S' D8 k. E0 G; b
  1324. ; your OS has problems with many files in one directory, and is
    " R/ N4 r6 m9 i/ M5 h9 w+ `
  1325. ; a more efficient layout for servers that handle many sessions.- K8 t) m  D4 r8 [+ e7 M0 ^! U
  1326. ;
    % w. |+ `0 w/ L% V
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
      R4 y# f1 m6 H$ ?! L8 ^. W
  1328. ;         You can use the script in the ext/session dir for that purpose.
    " ?" h. s% N8 f- y+ ~+ X
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    7 X7 @# Q# K( c+ C0 Z5 g
  1330. ;         use subdirectories for session storage
    ( C- E7 C- d* F1 p" V# x! Q( }
  1331. ;2 f: p0 b! j! J3 Q
  1332. ; The file storage module creates files using mode 600 by default.
    - J% b7 V  F4 K6 M" B6 |
  1333. ; You can change that by using
    ! r3 i" i) G/ J, Y. i" j8 h
  1334. ;
    1 Z0 T& _; U6 |, c5 F3 s
  1335. ;     session.save_path = "N;MODE;/path"
    7 F" W$ N: Q0 q4 j7 v% n- ?. @
  1336. ;1 h% K9 ], a+ V3 j: M& F  h9 R& k6 d
  1337. ; where MODE is the octal representation of the mode. Note that this! C8 ~: M4 J: c2 `% p: n* i; i3 F
  1338. ; does not overwrite the process's umask.' n- Q; U9 H' ~# o0 a
  1339. ; http://php.net/session.save-path0 U$ g+ H9 N& P) l( w# |
  1340. ;session.save_path = "/tmp"
    + c: R! }' d2 W0 H, j  m

  1341. ( ~4 I3 g5 A1 }  R0 x
  1342. ; Whether to use strict session mode.! ^* u/ s# u/ i9 n# z$ L( o5 ]
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate) T* K+ d8 V( I4 `- s8 a2 P8 D
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects9 @0 h% ~2 W1 ]' Z
  1345. ; applications from session fixation via session adoption vulnerability. It is$ Q9 h( f3 q' W  N1 z4 a
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    % z: H% g' C4 j( Y' l
  1347. ; https://wiki.php.net/rfc/strict_sessions
    6 o  M9 s5 m; x$ t  |. P
  1348. session.use_strict_mode = 0
    ) g- b1 H/ B/ Z' |
  1349. % [) @& F" Z; d/ L9 ?5 t% ^
  1350. ; Whether to use cookies.! }4 ?: k* e1 p9 Q( i' h1 q
  1351. ; http://php.net/session.use-cookies& N! S5 N$ g& T* Z% J( m6 m4 k
  1352. session.use_cookies = 19 ?2 j+ b. c% M% L) R
  1353. 9 `: N1 F, ^: E1 v4 V1 s
  1354. ; http://php.net/session.cookie-secure% c, Y; t% {& o9 F0 h# \; H9 ?# i/ U
  1355. ;session.cookie_secure =# H/ t; _- `0 c

  1356. 3 m* ~5 K$ i& r
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining1 b/ Q$ {7 P3 e9 q
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    ' `/ K( ~) Y# x: F4 a- j
  1359. ; session hijacking when not specifying and managing your own session id. It is
    0 H4 }& e  X5 c/ \7 U
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    & H/ u' y' e7 v) x( }
  1361. ; http://php.net/session.use-only-cookies$ m/ {+ n7 d6 Q% l6 {
  1362. session.use_only_cookies = 1
    ( q+ h& u* l6 w7 e) P  X; M

  1363. 3 N& a" X9 e$ H1 |. r, m* i2 I' E
  1364. ; Name of the session (used as cookie name).2 l- f9 x/ j  v7 _! L- T
  1365. ; http://php.net/session.name* k+ s- d, V  T) c
  1366. session.name = PHPSESSID
    ! e" ]% v: J1 W; ]1 g8 K& P6 T

  1367. 2 {; R9 M) t( B, y  N: f7 |) G
  1368. ; Initialize session on request startup.% G  S. K% P; D9 O4 Z! c+ g
  1369. ; http://php.net/session.auto-start
    : w0 k! R/ |; U* J
  1370. session.auto_start = 00 d/ Q. G% R- Z: L* c) Y% v
  1371. ) w0 [9 V, I8 O1 b. G
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.- S. F/ J% l* B: k  T% j8 F; d
  1373. ; http://php.net/session.cookie-lifetime
    ( D1 v2 l, S  e! {
  1374. session.cookie_lifetime = 07 n6 L& M( n3 m; x9 b
  1375. + E( [2 T, X6 ]
  1376. ; The path for which the cookie is valid.% \, m$ B+ O. f. L8 Z- e
  1377. ; http://php.net/session.cookie-path
    ; x" d) I- p+ _: W
  1378. session.cookie_path = /
    ! a$ l  p9 a( v2 s8 D% V3 b

  1379. 4 k0 Y% e5 s% E" J! y
  1380. ; The domain for which the cookie is valid.
    9 Z  t0 F. t8 N
  1381. ; http://php.net/session.cookie-domain) m. W/ t; F: f, T9 Y0 R
  1382. session.cookie_domain =/ F- o& O6 M$ v" w4 q

  1383. 4 \8 Q" `$ s5 Q  Y( ?1 c
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.3 m, `, N9 \( E1 c; W5 D6 m) i
  1385. ; http://php.net/session.cookie-httponly
    $ m+ y0 C$ K( |) O
  1386. session.cookie_httponly =5 C3 ^7 u9 q( v/ `* L
  1387. $ d1 i5 F. w7 [' \
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.7 g/ G! X& V# K# X7 B5 d3 H
  1389. ; http://php.net/session.serialize-handler' p5 }" f) t8 J) C: K' M
  1390. session.serialize_handler = php# f' g' H8 Z2 c( ^, f& e9 o; e3 w
  1391. - q! h' s( m! h6 D) e# K# {
  1392. ; Defines the probability that the 'garbage collection' process is started! y& B( z- I* |. ?- ]
  1393. ; on every session initialization. The probability is calculated by using0 s  p+ ?: j' h" X5 t( s
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    : \$ W# s) W' f& {
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    0 ]( M) G/ G9 A0 o, |/ `( B- Z
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance; F: W! o: Q, ?, O. G: z5 z
  1397. ; the gc will run on any give request.
    " g# V/ f, h, h% T% i
  1398. ; Default Value: 11 ]6 d7 [8 F: ], Y& c! `  R
  1399. ; Development Value: 1/ i2 Z" @6 {$ ^! O1 I/ `
  1400. ; Production Value: 1
    5 f; u- l4 P) Y" K5 B- {4 ^
  1401. ; http://php.net/session.gc-probability
    4 J6 c5 D2 D; ~- C+ J1 V
  1402. session.gc_probability = 1) m1 t% h7 L2 `5 F
  1403. ; M: R# n9 w5 k! F
  1404. ; Defines the probability that the 'garbage collection' process is started on every5 }5 X# o' g% D2 g
  1405. ; session initialization. The probability is calculated by using the following equation:; k* E+ D/ E$ p0 t) G1 i* b
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    & S# j, h! Q* p4 X4 r1 ]. H
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    - I0 O. b3 H, h6 P' f. w
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance3 B+ n+ R# e8 ?( d: f! s
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you# M, p1 m4 G+ X( l$ Q
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    - l  L# R: o/ F( i' S2 c
  1411. ; this is a more efficient approach.
    . y2 Q7 `; M9 j7 J" ^
  1412. ; Default Value: 100( r8 E" {0 v$ \& i
  1413. ; Development Value: 1000
    , P: m1 U5 Q. l% }0 u
  1414. ; Production Value: 1000
    2 c  U, @, ~8 [7 Z( c5 F- @% R2 U4 i
  1415. ; http://php.net/session.gc-divisor
    6 {6 x, M8 s9 t* K2 x1 I' }  x4 c! H
  1416. session.gc_divisor = 1000
    . \' v( g5 K0 o5 `
  1417. 3 K, R9 i9 w7 m" j" ^+ f+ U
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and9 `- G, v* Y+ B9 `1 q! b, Y
  1419. ; cleaned up by the garbage collection process.
    . j4 D& }& o' ^! i  z: o) f5 w; }# o
  1420. ; http://php.net/session.gc-maxlifetime
    # K4 c: R) c1 X3 L3 x' J7 R
  1421. session.gc_maxlifetime = 1440
    , D. R: [$ T* n1 @7 k' l( {

  1422. # n7 l8 B' R% q6 q6 [' k& I
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    $ t; w, p. I1 `$ H, k6 A
  1424. ;       (see session.save_path above), then garbage collection does *not*
    # A; v4 E) e6 W/ v6 w/ P, w
  1425. ;       happen automatically.  You will need to do your own garbage
    ) y- {3 a" q* z8 ^
  1426. ;       collection through a shell script, cron entry, or some other method.4 C9 X7 G7 a. T0 p" r! r
  1427. ;       For example, the following script would is the equivalent of, G. Z) F% K9 r' w1 a) {7 Z
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    ; Q9 ?% F( {! ]* ?! x
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm# X2 y4 L) b; V" p/ E
  1430. 6 H2 I% s& k; w* t0 V
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    9 x3 J1 W) h' B
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    4 P' u/ D( W4 d4 J) Y
  1433. ; considered as valid.& N0 V  y4 ~$ m( U  j' S4 O
  1434. ; http://php.net/session.referer-check
    7 e* I7 ~( S" L5 _
  1435. session.referer_check =. h7 `+ m* \% }% }$ k! n$ E

  1436. 4 b/ {  H4 o1 R2 a
  1437. ; How many bytes to read from the file.
    ; i2 @9 X/ y: R" Y8 U
  1438. ; http://php.net/session.entropy-length: f% x3 E+ |' p- \) _
  1439. ;session.entropy_length = 326 w# y1 ?$ F" L( f/ }+ D
  1440. . e4 R* F/ @0 k: B7 c2 P
  1441. ; Specified here to create the session id.
    # C& \1 I0 c8 U! r& M( a+ o
  1442. ; http://php.net/session.entropy-file
    3 J& v7 |" [, p' x% o, e
  1443. ; Defaults to /dev/urandom
    ) u/ I# F" E1 |3 f! S& w
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom% e7 K% z2 y0 m* Y
  1445. ; If neither are found at compile time, the default is no entropy file.
    ! F. @2 S$ P+ T, [; }! Z
  1446. ; On windows, setting the entropy_length setting will activate the
    6 W) F% @4 k( l7 o. w/ d
  1447. ; Windows random source (using the CryptoAPI)
    9 @0 V/ u, e# ^" E0 p( t, _
  1448. ;session.entropy_file = /dev/urandom; V8 o( F% J+ j+ @0 Y# M* l
  1449. $ g  W$ D. `+ {: O9 a0 K
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects5 y# n+ D6 L; o3 [! |( f
  1451. ; or leave this empty to avoid sending anti-caching headers.
    ( o/ U7 ~. U8 Q3 R8 B$ w
  1452. ; http://php.net/session.cache-limiter
    8 ~8 z$ I; @( y- ~
  1453. session.cache_limiter = nocache+ z. W: p1 _) s8 F

  1454. % ]5 l4 ^( c$ s$ L, `
  1455. ; Document expires after n minutes.
    1 G$ [0 w' f7 b; j
  1456. ; http://php.net/session.cache-expire
    + z! a% t5 b" K
  1457. session.cache_expire = 180
      F% \2 b) N3 K0 ^

  1458. ) b$ v7 h# ~! \& K7 M" H6 o
  1459. ; trans sid support is disabled by default.! c$ o  s3 G8 v1 f" h# w9 Y1 ?3 x, ?, Z
  1460. ; Use of trans sid may risk your users' security.2 Y( {- T; M4 l( A
  1461. ; Use this option with caution.
    0 b% T1 z2 G% O
  1462. ; - User may send URL contains active session ID
    & L1 K& d& T; K3 o0 x/ H7 y4 w; V
  1463. ;   to other person via. email/irc/etc.
    2 s) j. x* s# H" w! j: |- G! ?9 E9 C
  1464. ; - URL that contains active session ID may be stored
    & B: D+ o: d* c4 b* n
  1465. ;   in publicly accessible computer.
    / Z) B' D9 F: L* f  I# M
  1466. ; - User may access your site with the same session ID% e' D1 _3 ?2 V
  1467. ;   always using URL stored in browser's history or bookmarks.
    ! m5 c- ]2 I( k
  1468. ; http://php.net/session.use-trans-sid
    * e9 `6 C# Q( J( l' X: z( v
  1469. session.use_trans_sid = 0$ \, e, A9 R3 `  v' B
  1470. 3 d( D1 Z# X: v& K9 v
  1471. ; Select a hash function for use in generating session ids.- b. b0 K1 c+ |
  1472. ; Possible Values& o6 }& @% e" L7 r7 V+ {6 d" z
  1473. ;   0  (MD5 128 bits)* _: i5 u. q- Z" ?+ r4 n1 A# m; R
  1474. ;   1  (SHA-1 160 bits)) ]8 C  i( f5 w+ I9 s
  1475. ; This option may also be set to the name of any hash function supported by, g1 c9 @2 N5 L" y$ R1 b9 `8 W4 W
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    - J! [2 ~1 R) C( ^
  1477. ; function.& Y6 \; }8 A& U( e/ Q' l- `
  1478. ; http://php.net/session.hash-function& g. T; A# M4 y5 r0 l
  1479. session.hash_function = 0$ t# J* y7 `( k3 u

  1480. - R) o8 v3 q) x& X' Z$ A
  1481. ; Define how many bits are stored in each character when converting
    ! y0 _; ~' X6 z2 n; a
  1482. ; the binary hash data to something readable.
    # B' F: k9 D; H: K0 F5 z3 z
  1483. ; Possible values:4 @5 X9 z* E4 J  C
  1484. ;   4  (4 bits: 0-9, a-f)/ l  n( n3 T7 r. e+ |
  1485. ;   5  (5 bits: 0-9, a-v)
    3 J8 D. _* i' ?: A% N
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")3 \4 W5 z* J4 z! C: ^2 F/ p
  1487. ; Default Value: 4+ L- t' Q9 G; k9 ]  N- s/ M9 F+ I
  1488. ; Development Value: 5
    ) M" `# M( c9 d% C9 ^( ~' s" C( a
  1489. ; Production Value: 5
      H$ ?& a. v; ]( K% j; z; _
  1490. ; http://php.net/session.hash-bits-per-character7 J% m3 X) Z+ B& @/ R3 b
  1491. session.hash_bits_per_character = 5! C( N4 N$ E# Q& I: H

  1492. - I6 `) y& T: i1 I* Y9 H
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.$ U" A6 ^. d' R9 e+ t( `
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    6 f: l, G& {. d. e  n% l7 f
  1495. ; add a hidden <input> field with the info which is otherwise appended
    % E* K9 O% n+ p" V3 b4 G1 W+ J
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry./ |( l& d1 s+ A! n0 {* y' _% f' E
  1497. ; Note that all valid entries require a "=", even if no value follows.
    7 `2 }8 i9 N/ S
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset=": @& D7 g/ _4 g* {2 r; Y1 W2 Q/ K5 Q
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    9 N' Z- L( P3 M5 L; {6 F2 p: p
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ' Z: s. [- @' s# U+ I* E
  1501. ; http://php.net/url-rewriter.tags
    9 N1 |( m" l6 X! W7 j
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"; O0 h3 H& o% l$ V3 u/ Z( K% |
  1503. # H2 T: W; Y! p2 B8 P
  1504. ; Enable upload progress tracking in $_SESSION: L, p5 b$ }; c* J2 e$ l
  1505. ; Default Value: On
    5 s& T- w* O# k( c3 t8 k
  1506. ; Development Value: On
    ; m8 G9 ?' v+ E8 d7 b+ a
  1507. ; Production Value: On
    3 U& I7 A% f! }3 Z  j  Z" z
  1508. ; http://php.net/session.upload-progress.enabled; _: Q& n8 B/ x9 g# l/ r; y& p* Q
  1509. ;session.upload_progress.enabled = On
    ' i0 K/ O" U7 ]
  1510. / p1 [  M# j* N4 Y" B( S
  1511. ; Cleanup the progress information as soon as all POST data has been read
    , [* C2 e: R' n9 x7 Q3 ]
  1512. ; (i.e. upload completed).
    ; M* {; l5 H, i! C
  1513. ; Default Value: On
    + W! L1 b2 N# x$ a( n
  1514. ; Development Value: On
    + }7 R  W. S. ^' F& U0 A/ G$ N% F
  1515. ; Production Value: On
    4 ^  E5 ~2 q! j- r& A6 U6 n
  1516. ; http://php.net/session.upload-progress.cleanup$ a6 f! i' s8 v4 F1 h& g9 x6 B
  1517. ;session.upload_progress.cleanup = On
    1 t( X4 t. j( w

  1518. 5 z8 Y8 N! i& {" U  z
  1519. ; A prefix used for the upload progress key in $_SESSION
    6 m" ~5 t9 v: E) d
  1520. ; Default Value: "upload_progress_"1 _1 s) s) q# I* `5 S, F& W) v# R
  1521. ; Development Value: "upload_progress_"
    . b+ x5 Z8 T2 U( M" M
  1522. ; Production Value: "upload_progress_"2 A' r$ f# g! T  y
  1523. ; http://php.net/session.upload-progress.prefix
    - e7 x$ Z% K8 y/ S
  1524. ;session.upload_progress.prefix = "upload_progress_"
      q  ]9 f. x6 [6 h( G9 Z
  1525. 9 j& ]$ |5 y% j3 f' ^5 J' |5 }7 d
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    % @+ `# v2 |+ Z& i8 X
  1527. ; containing the upload progress information" J/ e/ X; J* G2 h
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"5 p9 k1 g9 ^4 m; s% }1 C# S
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"% `, ~4 h$ Q0 K) G/ m  }8 g
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    9 g, X3 L0 o  M& c0 U4 ]  T
  1531. ; http://php.net/session.upload-progress.name/ J+ \! R( @2 J, v5 e3 ]7 Z" O
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"+ x" t4 A6 _. H4 B2 T$ P+ I) i

  1533. 1 m) {- L$ d6 a/ T% a# a. W1 @; u* M
  1534. ; How frequently the upload progress should be updated.0 z5 T. A5 n: t# z9 c5 |
  1535. ; Given either in percentages (per-file), or in bytes
    0 M7 t; f' h8 ~, G, _1 S* [
  1536. ; Default Value: "1%"5 M  y- B" k/ \% Y7 z* ]  m0 k& j
  1537. ; Development Value: "1%"
    . |% t& ?+ P8 d; F
  1538. ; Production Value: "1%"
    9 [  _! u) L2 j
  1539. ; http://php.net/session.upload-progress.freq. _' ^# J; J; T0 w
  1540. ;session.upload_progress.freq =  "1%"8 H6 \: T7 O: @$ i+ J

  1541. " d, W" k0 F6 H+ m  X
  1542. ; The minimum delay between updates, in seconds
    8 W$ }/ `+ n& r' |
  1543. ; Default Value: 19 g) J: _: {5 `. V/ z1 f, ?
  1544. ; Development Value: 1% {+ M. i' t9 u) V
  1545. ; Production Value: 10 f6 z' V+ X1 t: J, v5 F* F
  1546. ; http://php.net/session.upload-progress.min-freq3 V3 X$ r  g- N7 r) z
  1547. ;session.upload_progress.min_freq = "1"( j8 Q) Q, r$ A% N
  1548.   y6 x( T8 w+ W. n0 r- {
  1549. ; Only write session data when session data is changed. Enabled by default., z4 W1 B( p2 K1 h  X
  1550. ; http://php.net/session.lazy-write4 B% v* u; d! ^- c. V$ \
  1551. ;session.lazy_write = On+ o( Z$ Z; O" E1 A5 {3 m9 J
  1552. ' I! g" e$ C9 z( V7 U" Q+ F
  1553. [Assertion]
    , ^  Y; r* f& h- I5 x# d$ [
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)$ }+ J( ^# g; d! m: I* D4 T  C7 O
  1555. ; -1: Do not compile at all
    * L/ [$ }. L% {+ [3 D8 F
  1556. ;  0: Jump over assertion at run-time: E: u1 g  c- d- b5 R
  1557. ;  1: Execute assertions" c* X! q& a, \2 V8 R! ?
  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)
    8 {4 O1 X" f9 f( U1 N2 {: J- _. ]
  1559. ; Default Value: 1
    9 \- W: [# H: M: e  A! }8 L! t# O+ Q
  1560. ; Development Value: 1
    8 h8 `- R  D$ d* L# L( D
  1561. ; Production Value: -1
    ) D0 p+ V; B0 g6 }! d/ u
  1562. ; http://php.net/zend.assertions  j$ }2 Y% N  B; I6 O4 |" U+ l
  1563. zend.assertions = -1
    % m$ i6 o# Q& }- `
  1564. / D% ^: {. ]/ ]9 H* W  J' D
  1565. ; Assert(expr); active by default." U; `2 c) \) G# r0 I
  1566. ; http://php.net/assert.active( W6 v6 n  |: B9 j
  1567. ;assert.active = On! ?6 o' A) M4 ?) k  X5 w4 m. B) S  l

  1568. # A2 z" `# h5 J7 N
  1569. ; Throw an AssertationException on failed assertions
    . l* D% j( b5 ?
  1570. ; http://php.net/assert.exception9 `3 m$ V, v6 X  @1 t1 ^. X
  1571. ;assert.exception = On
    # Z4 o# Q; U* L2 Z0 A8 S/ `

  1572. 5 _9 H- c! m* D2 J
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    / s7 q' a; g) @9 ]* V* \
  1574. ; http://php.net/assert.warning0 U; q. Y, F/ F* a) v4 c
  1575. ;assert.warning = On
      G- [, N5 l/ ^  k/ L

  1576. ; L% K4 l' \* ~/ Z1 ]5 [$ S) y4 ]
  1577. ; Don't bail out by default.
    * \6 @- i9 e% h2 |) a
  1578. ; http://php.net/assert.bail
    - m+ G0 t7 ]% ~, s) P; i
  1579. ;assert.bail = Off
    - |9 k2 z5 q$ b; y9 a

  1580. 0 l- T& T6 |: J2 h- g9 b9 I$ h. U. J6 A
  1581. ; User-function to be called if an assertion fails.
    7 |# _6 d: j& e; X
  1582. ; http://php.net/assert.callback
    $ h6 Y, U3 V' r
  1583. ;assert.callback = 0
    ' y/ S/ s; L' L, Z' C# R

  1584. 6 n1 K8 _3 A( [* k* z+ a* {$ t) p
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    / ?. J# }/ L% [
  1586. ; error_reporting(0) around the eval()./ T) w+ l8 l5 I0 h: ^, n
  1587. ; http://php.net/assert.quiet-eval
    4 v# y+ c2 N4 }! `2 ?6 v
  1588. ;assert.quiet_eval = 09 w- [- l* U* H+ {

  1589. ) l9 V- `' N4 y- c0 n# Z8 h- h* h
  1590. [COM]
    ) {% i- _+ w! \  |
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs* M; B. X0 _8 z7 |- t4 P( l: n
  1592. ; http://php.net/com.typelib-file3 V% y; V; g# O+ Y, e
  1593. ;com.typelib_file =
    , ]( h4 \; Z" I" s- M
  1594. % L  Z% K0 k7 S, E' u2 S
  1595. ; allow Distributed-COM calls
    - J  I: E' ^9 v
  1596. ; http://php.net/com.allow-dcom1 x1 X% B$ {. w. `  l
  1597. ;com.allow_dcom = true
    ( Y1 ]5 l& J% c- m

  1598. " B) {0 t% n8 a' D! F8 L% V2 I
  1599. ; autoregister constants of a components typlib on com_load()
    $ U7 w3 X' J- D  c
  1600. ; http://php.net/com.autoregister-typelib( o2 [' R* M; N& R
  1601. ;com.autoregister_typelib = true8 E% h4 ?: X2 T0 r% ]' U* b0 Z" e" K

  1602. 2 L# D4 d2 B6 i0 A; \
  1603. ; register constants casesensitive- P2 V. I* _2 y. l; X) e, I
  1604. ; http://php.net/com.autoregister-casesensitive8 s. A8 j' N3 P( F
  1605. ;com.autoregister_casesensitive = false
    0 ?( P, s7 D. @; g$ h

  1606. # q3 [6 j# k+ }% I3 k
  1607. ; show warnings on duplicate constant registrations- A# Z4 y/ ]) p4 C2 [  [
  1608. ; http://php.net/com.autoregister-verbose/ U* T; B: R7 N; L* o8 @/ M% O
  1609. ;com.autoregister_verbose = true6 K1 I: N+ [9 x8 n0 O) j

  1610. * U3 @+ B0 ^  P# A; T& \. y& k
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    0 e7 j  ?* Z2 j5 w
  1612. ; Default: system ANSI code page3 Y9 Q- Y4 F7 |. \
  1613. ;com.code_page=
    $ j- V* b/ d2 M# v5 q( B
  1614. ' F2 g7 Q% H9 B% g/ ~! t8 B# F
  1615. [mbstring]0 Z! y' r! j% T1 f) }4 L, A
  1616. ; language for internal character representation.# v, N7 I& \" L0 w' Y
  1617. ; This affects mb_send_mail() and mbstring.detect_order.* P0 U+ R! j3 J9 S
  1618. ; http://php.net/mbstring.language
    3 m) q( T# L% ~5 T* p+ I$ u
  1619. ;mbstring.language = Japanese
    , u' {' B6 F( o

  1620. / ]4 f/ c7 z: M  j  ~
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.0 x, X, s$ r* ~
  1622. ; internal/script encoding.9 L7 r  w/ B- {5 Z  L& H# I5 Y
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    : ~3 a  s0 K, ?3 I% \/ k8 ]6 T
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    8 |, s9 |! A( r* r( u! k& A# G
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    9 ~5 g2 g( ^2 B7 ^( K/ j2 Q4 X& b
  1626. ;mbstring.internal_encoding =
    # X2 `; W5 j0 g) h) y
  1627. ( i2 z8 ~0 J0 y0 v$ a4 J  q% R
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.0 w5 w- W+ g) u* M) v
  1629. ; http input encoding.% F# ^& N+ N8 a: D
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    " ^4 x7 \( ], z3 p
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    9 o8 }* N% q8 K/ d0 M9 Y' g
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input" n- Q9 K, ]  W
  1633. ; http://php.net/mbstring.http-input
    6 O& w3 Q7 g3 A' i5 X: g4 o
  1634. ;mbstring.http_input =* T0 {/ x# z( T

  1635. * C, p5 y2 f0 z1 i( |- O
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead./ P8 Y$ N1 ^4 u) ?( M) f
  1637. ; http output encoding.% p5 z7 W5 A. x3 Q2 ^$ g% p9 w
  1638. ; mb_output_handler must be registered as output buffer to function.
    5 E3 q5 g# h; c6 g, S& v
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    8 b( J' U* A( R$ I/ v
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output9 Z' p% S# ^( W9 b
  1641. ; To use an output encoding conversion, mbstring's output handler must be set# k. Z9 M& }! V3 c/ Y' Z9 W
  1642. ; otherwise output encoding conversion cannot be performed.
    % }: m8 H( T: b, U. \
  1643. ; http://php.net/mbstring.http-output& S( y4 t% N$ }) Z7 H7 w
  1644. ;mbstring.http_output =
    0 B1 w* X% [3 a1 M
  1645. . b( P! K4 W' Q1 I0 N3 l
  1646. ; enable automatic encoding translation according to* O2 [* Z8 a' S) v, f  K6 L5 K. W0 D4 v
  1647. ; mbstring.internal_encoding setting. Input chars are
    % O! d+ n& P% V* A9 K
  1648. ; converted to internal encoding by setting this to On.1 t% h* K% t0 r; r/ X  M4 r
  1649. ; Note: Do _not_ use automatic encoding translation for
    : O9 A" \( M: C- W9 y% h4 j
  1650. ;       portable libs/applications.
    6 `$ W5 p/ O0 x$ o
  1651. ; http://php.net/mbstring.encoding-translation% z# S- {  ~& `3 Q2 ^3 X8 {
  1652. ;mbstring.encoding_translation = Off
    4 b7 K. }# P, R+ w! S6 g$ S
  1653. 4 f! U( w% [; P* d$ E1 z4 I  E) ]
  1654. ; automatic encoding detection order.7 z& l- p! i  R" g2 i( M) b
  1655. ; "auto" detect order is changed according to mbstring.language
    9 H( L" [+ r+ e/ {% \4 I
  1656. ; http://php.net/mbstring.detect-order
    7 s/ B* l8 v" Z: S: S
  1657. ;mbstring.detect_order = auto
    ! F4 J4 ~! X  s% D3 k

  1658. 9 b4 C: e& y. w0 L$ k
  1659. ; substitute_character used when character cannot be converted
    9 F; ]  t5 G, Q3 Z
  1660. ; one from another
    . b: l; Z5 T* L9 t7 p
  1661. ; http://php.net/mbstring.substitute-character, {! X9 Q3 u/ I
  1662. ;mbstring.substitute_character = none
    9 c- S& e$ v- i

  1663. ! k. T4 U- Z! f' b. J
  1664. ; overload(replace) single byte functions by mbstring functions.+ G' F8 `, p) L. M
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),! B4 n$ C' Z3 U2 i2 m( z- ^/ l
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
      U& U4 f4 F$ c, n/ N) P' r* C& c
  1667. ; For example, 7 for overload everything.
    % g6 ?, U, R6 X2 _
  1668. ; 0: No overload
    ; d( N! F3 W. X5 }0 l( ^
  1669. ; 1: Overload mail() function
    ( R9 H+ L& l$ Z, F3 V: T0 R
  1670. ; 2: Overload str*() functions) o% X$ o6 C+ q2 _# F& \% b/ ]
  1671. ; 4: Overload ereg*() functions, n( {, x. r" i8 X0 F+ t4 ^
  1672. ; http://php.net/mbstring.func-overload
    2 _" ~4 d/ u) K5 G: W+ R% H; M
  1673. ;mbstring.func_overload = 0
    + Y2 ?# @8 ]. u( c

  1674. 1 I" I6 _" Y# O" H
  1675. ; enable strict encoding detection.
    , `; a& E! z1 `3 F: l( J# S# V+ w
  1676. ; Default: Off% A9 S# d- N! u( \
  1677. ;mbstring.strict_detection = On0 t' h2 a3 I9 [9 y

  1678. # f" ]* {0 k& {5 ~" B' g6 |
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    0 g* E6 D' G  F# K" E7 f8 J- Z) m6 |; [
  1680. ; is activated.
    + C, d; M4 C4 [
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml); a3 e4 _- @: W" r4 H5 Y% Y
  1682. ;mbstring.http_output_conv_mimetype=
    * }1 I" a; \+ L0 U8 O; k9 I- U
  1683. & X% [- }* W4 |2 ]$ n
  1684. [gd]6 `9 \  R% s! L0 x9 S
  1685. ; Tell the jpeg decode to ignore warnings and try to create! k$ z9 H. d$ z
  1686. ; a gd image. The warning will then be displayed as notices; i5 e4 g# p2 }" V5 c* M* B
  1687. ; disabled by default
    ) ]4 Z3 q( Y8 I4 f
  1688. ; http://php.net/gd.jpeg-ignore-warning6 \& u' o  C+ }: }" K# t
  1689. ;gd.jpeg_ignore_warning = 0
    4 L4 G2 P- R+ L9 f7 e9 O1 j
  1690. 6 K; I$ x: V$ [7 k; k
  1691. [exif]
    0 M- S! z( A1 f2 d
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    3 Y: E- ^- k- }. X% l
  1693. ; With mbstring support this will automatically be converted into the encoding7 s# V$ |! R- _% O; i# ~& H/ F
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding6 k& A4 f, y* w$ x6 q! T. M  t
  1695. ; is used. For the decode settings you can distinguish between motorola and
    . c' w: c1 w7 [# Q, ]1 B3 c
  1696. ; intel byte order. A decode setting cannot be empty.
    4 T- u% H* t' r% l
  1697. ; http://php.net/exif.encode-unicode
    ( S' g' H! b$ s  [3 o4 g$ H
  1698. ;exif.encode_unicode = ISO-8859-15# g+ ^: m$ ]3 b; M2 R

  1699. ' O( i1 j- o2 Q7 L$ C# C2 E  k
  1700. ; http://php.net/exif.decode-unicode-motorola* o8 m2 M/ N7 C& \9 {; a
  1701. ;exif.decode_unicode_motorola = UCS-2BE2 ?( Z; s6 g  O0 h: Y+ B7 l1 V" m. I* b
  1702. 4 M5 g3 m1 u# r- J% L: ~# X1 O
  1703. ; http://php.net/exif.decode-unicode-intel
    1 i. T1 }: ^# Q# K% w
  1704. ;exif.decode_unicode_intel    = UCS-2LE: N1 r+ v( c( n/ S# ]' m- I
  1705. 1 t* \" }- B' j( X
  1706. ; http://php.net/exif.encode-jis
    8 v- F9 @! X  t, X! D2 C; F
  1707. ;exif.encode_jis =( ?. m% ^" ?. P5 m' o

  1708. & J5 O2 v$ f: t, T
  1709. ; http://php.net/exif.decode-jis-motorola
    3 \( W4 o0 c9 c
  1710. ;exif.decode_jis_motorola = JIS
    4 x7 |4 v. x; F* H8 @
  1711. 7 Z; F; k5 w% m0 h0 F
  1712. ; http://php.net/exif.decode-jis-intel
      J0 {8 p* Y- P3 A7 a8 M6 m* w; n
  1713. ;exif.decode_jis_intel    = JIS. [' P# J5 x7 a

  1714. ( _5 n8 X$ ^3 u9 U
  1715. [Tidy]6 G1 ?4 f+ ]$ K
  1716. ; The path to a default tidy configuration file to use when using tidy) ^3 u+ J3 p" Q  _4 i; t2 ?9 C' t
  1717. ; http://php.net/tidy.default-config  `- }$ l( Q6 T, h7 r+ `7 A
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    3 W3 l0 @3 K+ M/ _

  1719. : Z* c3 U* }* ~5 k" ^) c
  1720. ; Should tidy clean and repair output automatically?
    ) V# J  R8 c  E3 \& w0 G6 ^
  1721. ; WARNING: Do not use this option if you are generating non-html content/ I/ f% v! B! H6 Z' J7 ~
  1722. ; such as dynamic images
    6 M) {/ K& V+ G/ ~- ^
  1723. ; http://php.net/tidy.clean-output
    ; j2 W! G- `- j2 v  ~
  1724. tidy.clean_output = Off0 f8 u0 v9 b2 l
  1725. 7 K3 A" B: N) g
  1726. [soap]
    & ^* K& w# Z$ D# }
  1727. ; Enables or disables WSDL caching feature.
    1 ?9 U4 x7 a* {1 _* A
  1728. ; http://php.net/soap.wsdl-cache-enabled# t, @5 l% T8 K$ `- d; H& m0 i
  1729. soap.wsdl_cache_enabled=1  ]/ E. g& {& a! s( q

  1730. 4 C2 ?% H2 t5 Z, u' L5 L
  1731. ; Sets the directory name where SOAP extension will put cache files.& V' _  I  \4 l& p# H
  1732. ; http://php.net/soap.wsdl-cache-dir8 d7 ^0 P- O7 o$ |
  1733. soap.wsdl_cache_dir="/tmp"
    * B* x2 `3 r5 t- R* `& [. `4 R
  1734. ' x, u& X5 c) R8 z& h
  1735. ; (time to live) Sets the number of second while cached file will be used+ R% w6 ^7 O1 V; F, d" Y) i: ]
  1736. ; instead of original one.3 t* Y3 h9 b2 s+ q, ~, v
  1737. ; http://php.net/soap.wsdl-cache-ttl
    / ^+ a$ I( Y0 Z: X& C3 M( i
  1738. soap.wsdl_cache_ttl=86400
    7 Y" H# ~; h8 y8 b# b0 X. Z7 A& ?

  1739. % y+ n& N4 I7 ~1 i: E
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    ) S2 N, \9 \: A7 @
  1741. soap.wsdl_cache_limit = 5
    4 \8 k( O% }9 H$ O! G+ l
  1742.   ^6 d+ o' F. ^; U. j
  1743. [sysvshm]
    * r7 q0 D: S% L) T' ?" K+ \
  1744. ; A default size of the shared memory segment2 V5 {7 j& N! w& {5 m/ i
  1745. ;sysvshm.init_mem = 100006 `# H- n. |' h* T4 V

  1746. 0 \$ c+ Z7 Y2 D% q( K6 S
  1747. [ldap]
    ) I) T/ c3 Q" r( f. d
  1748. ; Sets the maximum number of open links or -1 for unlimited.1 r6 {) F# j0 A* h
  1749. ldap.max_links = -1  L3 G; ^+ `& B5 F  k& L8 I8 S

  1750. & R  @$ A. g+ i: j* R8 q
  1751. [mcrypt]
    " [4 u, t0 _- K: W$ t2 g
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open% L! C  R/ J) N6 ~7 @& l3 O

  1753. $ a* p; r' a9 s% G; Z
  1754. ; Directory where to load mcrypt algorithms
    : R* J: N$ w+ T+ G
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    + a* ^# B2 w% z2 q! Y0 U
  1756. ;mcrypt.algorithms_dir=
    4 W% C# F/ B3 u% k1 o
  1757. / b) D# ^; @0 B: p/ Y' Z  {
  1758. ; Directory where to load mcrypt modes: n& [; J0 h5 f, M$ v
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    & n9 A9 i, A# |: |7 |9 t( \  `
  1760. ;mcrypt.modes_dir=
    . Y! {1 c+ P2 h& @; U: Q$ J
  1761. * y; @& V. }- s* x
  1762. [dba]
    ; @0 v; w/ }% Y7 \. ~% z/ I3 q
  1763. ;dba.default_handler=
    & n; m# H4 @' K: [! d7 m
  1764. 1 G0 u& @! A1 y7 t, P/ a
  1765. [opcache]
    2 V; F  g2 D; G6 I( O8 u
  1766. ; Determines if Zend OPCache is enabled; U1 a/ u  ]6 h) D# b2 {
  1767. ;opcache.enable=0
    ; n/ L' v/ X9 p0 x

  1768. / i5 d" q7 U* g  K6 G3 j& v4 y, e
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP. N" e) _8 L* `) [1 J2 W' N
  1770. ;opcache.enable_cli=0
    " E. l2 m) g0 ]# C% R3 m! v
  1771. ( P9 q* Z% `1 v3 `5 ]
  1772. ; The OPcache shared memory storage size.7 y0 x& `! ?8 e4 V" m( E
  1773. ;opcache.memory_consumption=64
    9 f6 o4 g+ R& E

  1774. 9 A3 X, _& b/ Q0 T
  1775. ; The amount of memory for interned strings in Mbytes.
    2 Q7 {! O8 r/ Q, C* q
  1776. ;opcache.interned_strings_buffer=4+ G6 _; V- H2 y/ g' o- r2 @9 C

  1777.   s- T- E# O3 H/ F$ @, w/ n
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    0 v, r* ]& g( a. t% J
  1779. ; Only numbers between 200 and 1000000 are allowed.' j/ c. Y% Y7 V# J$ T6 N
  1780. ;opcache.max_accelerated_files=2000
    , n& \' z2 [4 G, X1 _5 f

  1781. , a/ x- L3 `9 K0 a) s
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    1 t3 s1 I: g. K- L
  1783. ;opcache.max_wasted_percentage=5' e9 P3 T) ]$ `& h4 y6 A* D

  1784. ( I9 n/ R) F, f
  1785. ; When this directive is enabled, the OPcache appends the current working. c" Y; ?5 L. S
  1786. ; directory to the script key, thus eliminating possible collisions between# i: W$ b. ]  f, P
  1787. ; files with the same name (basename). Disabling the directive improves. ], c  j: T2 Q
  1788. ; performance, but may break existing applications.
    1 I$ b  a6 g2 _" |- d2 F
  1789. ;opcache.use_cwd=1, ?" M4 G: \/ Z( I, c) v/ @

  1790. # C- _9 m2 a$ _8 U& |0 h
  1791. ; When disabled, you must reset the OPcache manually or restart the! i' J  V; W9 F' e2 g, A
  1792. ; webserver for changes to the filesystem to take effect.
    / f: d. G' m/ X) ?
  1793. ;opcache.validate_timestamps=1; }5 b! v+ w$ `, b; E+ ]0 I' m1 ]) d. z

  1794. ( @) Y0 J" y+ k( R+ \* z) T1 m
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    1 E; i- Y) h; x* h
  1796. ; memory storage allocation. ("1" means validate once per second, but only! O+ h6 \5 d; [
  1797. ; once per request. "0" means always validate)# f& A6 `; _* N, M$ D
  1798. ;opcache.revalidate_freq=2% f$ E6 ~  o5 X) {7 ^% V! b% O

  1799. + A( O* O! h2 j
  1800. ; Enables or disables file search in include_path optimization
    0 Q$ R. }8 x$ m; b+ n8 i% ^% X; [
  1801. ;opcache.revalidate_path=0
      z8 F* T& P2 R. A- J0 `* g
  1802. # e- R: [- G9 W1 J' Z
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    & v) [. A! ^" x; ~2 b
  1804. ; size of the optimized code.
    ; X# O) E" I& ~3 Y# s: }7 [( r
  1805. ;opcache.save_comments=14 |" D8 N4 I6 U& A- [3 `
  1806. . Z4 O! t; ]( l* H. |9 X
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    % ~2 Z2 m; x" ]  U5 Z5 [
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.0 G2 Q' J  T+ C6 o9 ]
  1809. ;opcache.fast_shutdown=0( c1 n/ X7 a. @2 Y* t" }

  1810. ' m$ X4 u( b. S# s% a/ Z7 P
  1811. ; Allow file existence override (file_exists, etc.) performance feature.$ ]+ i$ _+ |, P4 c# \1 y
  1812. ;opcache.enable_file_override=0! d$ ~0 e, s3 F  j; S6 [

  1813. . i2 M% u/ p' p0 A) Y) i3 ]1 r
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    9 B" W& @; H- w; Y$ y% K. J
  1815. ; passes
    $ c. _- U' M. u6 w# {7 _) ?
  1816. ;opcache.optimization_level=0xffffffff/ v1 q  N7 `2 F9 ?, J" _: {) p$ ^, H

  1817. ( ~) D3 }# \6 `5 R7 j& L0 O! y
  1818. ;opcache.inherited_hack=16 y* N% s+ T; W1 X
  1819. ;opcache.dups_fix=0
    6 I3 D4 @" u- P, P+ s# n

  1820. 4 u' _0 H% j. l, a
  1821. ; The location of the OPcache blacklist file (wildcards allowed)." u6 O* P# }, M- L
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    : J$ [9 F: z# g" o+ o! U
  1823. ; that should not be accelerated. The file format is to add each filename
    8 t/ k- U, k/ D) h0 c" U3 v
  1824. ; to a new line. The filename may be a full path or just a file prefix$ c  f. O6 Q/ s$ S5 |% c
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www! q+ M/ g) k7 [0 I) y
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    8 A$ |  q) \+ V5 t: H" Z
  1827. ;opcache.blacklist_filename=
    9 V  a: c( C# R3 p* p: O

  1828. : ?3 O) t5 Z, |8 P8 {1 A
  1829. ; Allows exclusion of large files from being cached. By default all files
    ( r7 r4 L! G" \/ j
  1830. ; are cached.8 C4 Q& R/ {# c# i0 Q+ H
  1831. ;opcache.max_file_size=05 K/ ]5 t1 M2 P$ e+ Z* ?9 f

  1832. 2 S8 e3 g7 J2 V$ [
  1833. ; Check the cache checksum each N requests.6 F2 _$ h$ t  E
  1834. ; The default value of "0" means that the checks are disabled.5 o& H$ G4 H8 A6 k$ V  |: V1 Q
  1835. ;opcache.consistency_checks=0+ s& p; K; Z( @3 f5 I

  1836. 0 N) k2 S1 ?. v* Z/ F+ ~7 I
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    ; c7 U* s5 J5 c" z5 @: `+ i, i
  1838. ; is not being accessed.
    7 u$ E4 z$ F  g6 l
  1839. ;opcache.force_restart_timeout=180
    . w) i/ h6 b- x0 z: r

  1840. + ]9 E( ]6 h1 D+ ?2 Z
  1841. ; OPcache error_log file name. Empty string assumes "stderr".: P; C* G6 _8 v6 q0 E/ x7 N
  1842. ;opcache.error_log=& E' e+ \' J: f7 O+ k
  1843. # B. l1 y) Z( y! g" W& j
  1844. ; All OPcache errors go to the Web server log.
    - \, r  I! [2 S/ ]$ d# g. g0 T
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.& @6 W" u- |6 G1 n7 y, A1 n1 w. i
  1846. ; You can also enable warnings (level 2), info messages (level 3) or/ ]4 E4 R  \  L% S$ O0 P+ q
  1847. ; debug messages (level 4).' |. l$ U* O" b
  1848. ;opcache.log_verbosity_level=1
    0 g2 \2 `2 A2 a: U
  1849. 1 A- E- G  P7 V. T' D; `9 E
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    ' t- n! K) H4 S
  1851. ;opcache.preferred_memory_model=" g9 n# g/ T) K5 Y9 C
  1852. 8 R5 j! G4 j# ~# j& ~3 n
  1853. ; Protect the shared memory from unexpected writing during script execution.
    - m* w; u; i0 s6 C1 c
  1854. ; Useful for internal debugging only.
      {. o; L' A2 N
  1855. ;opcache.protect_memory=0
    # M3 N3 u( ]4 c' O
  1856. - C0 V$ }4 c% m
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is/ ^; |- J. [: F3 X, r$ `
  1858. ; started from specified string. The default "" means no restriction, c5 b% _) T/ I9 _$ w
  1859. ;opcache.restrict_api=' n, W7 w3 h7 S( N5 ]6 k( J1 b6 Y1 q
  1860. 6 Y& |& s9 l* Z7 _
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP( a1 u* M! I7 T7 z5 f3 t: N
  1862. ; processes have to map shared memory into the same address space. This/ @) u, J) ]3 f1 G7 L7 r
  1863. ; directive allows to manually fix the "Unable to reattach to base address"  E9 p  K9 S  X6 a# w0 X3 `
  1864. ; errors.. F) e: P+ }& ~
  1865. ;opcache.mmap_base=
    9 h: S6 h4 t- U7 k$ t1 Z+ I
  1866. & y  n3 {0 h4 `; g
  1867. ; Enables and sets the second level cache directory.- z( U, C+ o! w9 v+ Q) q9 P3 W
  1868. ; It should improve performance when SHM memory is full, at server restart or1 L; U6 }+ d& z1 g; i4 X
  1869. ; SHM reset. The default "" disables file based caching.7 a2 Y3 Z9 w- X% [
  1870. ;opcache.file_cache=! z& c+ q7 ^. B1 i8 D+ M1 d

  1871. ) A) o* ^- S) |. p, ~
  1872. ; Enables or disables opcode caching in shared memory.
    ; v3 W& z! r/ c2 [7 ^* M- X# |
  1873. ;opcache.file_cache_only=0
    ) p8 V  ~& T& z' @, W
  1874. $ U* w# e7 \7 A* e% h/ v$ H% M
  1875. ; Enables or disables checksum validation when script loaded from file cache.
      j2 g3 p+ p' J5 O; A
  1876. ;opcache.file_cache_consistency_checks=1& {, I2 J! S3 l4 C

  1877. , K& `7 L7 U* A/ l" l. G7 r- ~. n& [
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    , i8 S) \  ~8 r: R+ y% L. H
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    4 a5 J& e  O- q! X
  1880. ; cache is required.5 k3 s( `: x, y/ ^! r
  1881. ;opcache.file_cache_fallback=1# r6 Q3 ?' W6 S0 k( K( @

  1882. ! U& n5 p1 S. O8 N& G/ r' Z
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES." v/ u1 {9 S7 X' l
  1884. ; This should improve performance, but requires appropriate OS configuration.
    7 M6 d0 [3 k/ x, D  v
  1885. ;opcache.huge_code_pages=16 D$ u4 A5 Z- l) }/ L$ [$ p

  1886. 2 o) z: p8 K  }# y
  1887. ; Validate cached file permissions.% B2 z2 X3 H" q' L: [+ a( y8 o0 O
  1888. ; opcache.validate_permission=0: h5 c' v; K- B: {8 m

  1889. 3 F, ~5 J& {0 K
  1890. ; Prevent name collisions in chroot'ed environment.9 _. S  r4 E( m, s
  1891. ; opcache.validate_root=0
    ! j' M: z" s% w7 k
  1892. , B0 \2 }2 u; r- s# B
  1893. [curl]# ?* n* u  o9 L4 V2 N( f
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    ; _% J: V" M  u/ v* T- ]
  1895. ; absolute path./ h. f8 {) M$ j- `3 n
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    ( g1 V8 e# b4 r  H# h) Z( T

  1897. 2 y0 P- E- c. [! q
  1898. [openssl]: n/ @! h2 t5 ]- U( [. @
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem" P, Y5 O9 G" S6 R
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should9 i; a( C7 W* ?  {7 k' g- S1 _
  1901. ; not specify a value for this directive as PHP will attempt to use the5 D% @# d; K8 a* T- k9 M
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    5 Q( a. V" v$ [% K# Y5 e
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context/ k, T) \8 a% H. M3 y) v3 m# f
  1904. ; option.( q- F9 h9 y2 t' C+ w* A3 m' w
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt/ C6 |  m9 t6 F
  1906. / W4 k# f- `6 I( v# t# D* C
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    . i" E: _+ E9 d/ t
  1908. ; directory pointed to by openssl.capath is searched for a suitable6 i0 q% B1 b& b" o7 ^# O& i5 G  j
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    + F. T7 a6 V" T
  1910. ; Most users should not specify a value for this directive as PHP will+ ~0 w2 E, U# `; x% w" N, @
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    0 C" u# f/ ?0 x3 {0 D' n
  1912. ; this value may still be overridden on a per-stream basis via the "capath"0 w4 A0 ?4 V) ^1 }2 \& R
  1913. ; SSL stream context option.! c# Q) N3 m. [$ A
  1914. ;openssl.capath=) F" o2 u, U9 F5 I3 h- ~7 R9 ~
  1915.   d8 P! d+ u6 V* m& @# M
  1916. ; Local Variables:/ ?% o  j7 d( r7 g3 q: {
  1917. ; tab-width: 41 u/ x1 k; T5 _1 k5 M) c
  1918. ; End:' M" Q) N9 T4 I0 g7 Q- j, v
  1919. 9 _8 X6 n( D  t
  1920. ;eaccelerator
    : e& W  c, O3 d3 s% w
  1921. 9 P1 K- c/ a: H" r
  1922. ;ionCube
    8 G" G5 A9 y" T! O; j$ n* `

  1923. 8 A4 H0 }" e& C3 V: Z; ~
  1924. ;opcache
    6 @1 S1 M: b( q7 ]7 ]$ c

  1925. 1 J7 G/ r( t) h3 l% X# d
  1926. [Zend ZendGuard Loader]6 g" A1 K+ t( j7 E0 U9 b3 S
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.3 t* ]' A" B% l( N5 {
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so, w8 i, R/ u+ e3 R6 W( Y/ F
  1929. ;zend_loader.enable=17 `% e( \; s5 l7 P
  1930. ;zend_loader.disable_licensing=0
    / M. J2 s- l3 \  F% S
  1931. ;zend_loader.obfuscation_level_support=3! h0 t) F8 z" p8 B/ a1 j& l# X
  1932. ;zend_loader.license_path=
    / Y* K5 v3 U; e$ P; q# w+ u

  1933. : d1 U8 c0 r) q2 s  E* ?
  1934. ;xcache% x: [' l6 l) B! D9 f; W7 Q& D0 d" b
  1935. 9 |/ E4 t/ c) X6 o4 Z' E! T1 t
复制代码
; }+ t- j3 S7 B# F+ S$ K

( h5 b. h0 R. y( Q3 b0 ?( o/ P& N6 n8 E8 W! V" t5 w

; N; o5 I$ G6 g6 M8 f' G# @* f: D' V9 w9 ?  i6 [9 H# N- C

) V7 i5 X/ |$ A2 c2 G. U7 X
8 O7 Q) E" x% j  i$ x; U  O1 mPHP5.6版本原始设置
6 x% l% a, |; k4 z
  [: \. _# \: _1 a* Y
  1. [PHP]
    * k% a% v- z6 Y4 J/ K

  2. 1 z& ?, r( @+ E4 \" z6 k9 t7 Z
  3. ;;;;;;;;;;;;;;;;;;;
    1 f, g$ C( S* s+ c: n8 {
  4. ; About php.ini   ;
    ' y/ r$ _& i* h
  5. ;;;;;;;;;;;;;;;;;;;
    / F. Y9 P4 t! Z2 |! G
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    $ Z4 l( |4 X7 X. h
  7. ; configuring many of the aspects of PHP's behavior.
    " v) S+ c+ Z6 f" ~8 N, Q

  8. 0 Z' H, Y0 ~* q# ~, h
  9. ; PHP attempts to find and load this configuration from a number of locations.
    , d8 E5 o& U3 s& I
  10. ; The following is a summary of its search order:: Y& D/ e1 a: m6 Y; \) C
  11. ; 1. SAPI module specific location.
    ' x5 O+ \, U  O5 q+ L
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)& K+ l" Q; E% ]$ i' m3 [
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    5 u0 C% u/ W' m7 `( `) J, M; l
  14. ; 4. Current working directory (except CLI)5 e' U2 h. q# p8 e/ I' f8 |1 w8 A0 u: f  Z
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    * S9 |9 N* i0 i
  16. ; (otherwise in Windows)8 R: `+ K; z) f: _3 a
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    7 J! g* b$ o( u; R2 Y/ ~: ~
  18. ; Windows directory (C:\windows or C:\winnt)
    - Q  }+ _3 j- F. m/ j, n5 Z. d
  19. ; See the PHP docs for more specific information.
    . G; v, W# k$ @
  20. ; http://php.net/configuration.file9 H' U  `% l, E) ?- R& F

  21.   e+ J1 G9 P' a1 R
  22. ; The syntax of the file is extremely simple.  Whitespace and lines  P' D) z  p- C
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).& _9 H6 \, t# B! N  ~9 y* l
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though& |) I) H" R2 O' j2 E
  25. ; they might mean something in the future.
    ( W0 M0 T8 h. ~& X* o
  26. # ?( D2 R/ M6 ^/ r3 j. |" D
  27. ; Directives following the section heading [PATH=/www/mysite] only1 m1 O- t% Q: `- Y8 M6 [$ O) b6 R
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    - I# n2 ^  F6 z- a4 \/ W
  29. ; following the section heading [HOST=www.example.com] only apply to" Y3 w4 w) W1 ~( R
  30. ; PHP files served from www.example.com.  Directives set in these* e, B  d# `+ ~. [& L
  31. ; special sections cannot be overridden by user-defined INI files or) Y; L- ]) H  C' l3 a
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    " K# M* [. ~6 x/ {0 V! M& f
  33. ; CGI/FastCGI.
    1 j; b9 l# P' _- D" R5 E2 N
  34. ; http://php.net/ini.sections4 V/ \4 z8 s' [0 X9 h6 ~

  35. # T* S* R, d$ S" `! r3 Q3 A
  36. ; Directives are specified using the following syntax:
    - R3 L- ]) F' v( a: H
  37. ; directive = value3 i+ B) W* c2 z
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.0 u0 O- M* o  z+ o$ V  f
  39. ; Directives are variables used to configure PHP or PHP extensions.4 W* Z; S1 j( S7 L
  40. ; There is no name validation.  If PHP can't find an expected! K3 B4 _7 x- w; p% ~
  41. ; directive because it is not set or is mistyped, a default value will be used.5 t4 y8 p6 s8 o
  42. * ^  f# F8 V+ N4 R* r
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    % g0 D: Z0 s' h2 O, \! s, ~
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    ( A" _; |3 J! ~( d8 R4 v. l! _
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    6 L; ~  ?7 Q9 c9 D
  46. ; previously set variable or directive (e.g. ${foo})
    # d' t. U8 w  H2 I2 {- o% c7 W' ^

  47. $ M' u5 Z% l' y: }/ Z
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:! z9 ~9 q. \! t* ]2 B' U8 h" @
  49. ; |  bitwise OR: P4 `$ n/ T0 W0 {- P3 o4 z1 Q
  50. ; ^  bitwise XOR
    / h5 d! t. D- p$ p; C
  51. ; &  bitwise AND
    , c  h- a6 V8 }# N
  52. ; ~  bitwise NOT. Q) M9 O+ x. P1 T2 i" N
  53. ; !  boolean NOT
    4 o$ ~0 F( n4 d. k
  54. 7 I5 q8 ]; S# W5 n  J" [8 b6 l
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.# i+ I* w# f2 B
  56. ; They can be turned off using the values 0, Off, False or No.
    & f% D: ?, \  G2 |

  57. 9 V' N) E8 S, p( m0 l6 ?
  58. ; An empty string can be denoted by simply not writing anything after the equal' V; {0 W/ s) M! I; q6 `
  59. ; sign, or by using the None keyword:5 d4 r  t* c* g( ~
  60. : w1 y. [$ v1 o# C
  61. ;  foo =         ; sets foo to an empty string4 }3 y$ a* W' F8 H; r* X  ~9 S
  62. ;  foo = None    ; sets foo to an empty string
    7 T1 {( S0 V. d# C
  63. ;  foo = "None"  ; sets foo to the string 'None'' [: I$ j7 g  A7 k: Z$ L
  64. 4 \  P- V3 d: k$ M* P
  65. ; If you use constants in your value, and these constants belong to a- n7 @$ n3 M, Y$ ?% `& A3 ^
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    , N2 N" K: n' T0 X2 r; V
  67. ; you may only use these constants *after* the line that loads the extension.2 {/ v) O$ m# R0 ~* k  I: M1 m

  68. : q4 b# f  N! I1 ~+ t) s1 _1 [
  69. ;;;;;;;;;;;;;;;;;;;
    # n) n  b5 j( j1 A6 ]: P
  70. ; About this file ;
    3 B9 f& Q) `2 N( R/ l
  71. ;;;;;;;;;;;;;;;;;;;" P5 }. Q* U; G" [. m9 k
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    8 T" m/ c3 u2 \! ]4 b8 n
  73. ; in production environments and one that is recommended to be used in
    % ]( u1 Y1 x7 U5 L& V! U
  74. ; development environments.& a! m$ H/ v" _. H' m/ p2 |

  75. # g# p$ e/ j5 Y4 Q0 [. l8 h5 [
  76. ; php.ini-production contains settings which hold security, performance and& ?! p9 C( o! X" Z' d
  77. ; best practices at its core. But please be aware, these settings may break
      O+ q. \, ^4 ^& D* b, T! l' ^
  78. ; compatibility with older or less security conscience applications. We0 j/ Y) Z  ]" P
  79. ; recommending using the production ini in production and testing environments.4 H/ m$ t( ~1 F) R# K" i
  80. " d; v# _" [5 {5 P
  81. ; php.ini-development is very similar to its production variant, except it is
    / \( o* M3 r9 F
  82. ; much more verbose when it comes to errors. We recommend using the; f- l4 D+ L8 m4 \6 n
  83. ; development version only in development environments, as errors shown to; n- \6 [/ D( |1 _9 D! \! K1 E* ^) E5 H
  84. ; application users can inadvertently leak otherwise secure information.! l0 C: Z! V1 R, s5 x

  85. + @3 h& K$ ^8 L0 r$ B* u
  86. ; This is php.ini-production INI file.+ c6 B$ M( A$ c  n

  87. ' u( z& N% a; V" x$ Z( G8 h9 z
  88. ;;;;;;;;;;;;;;;;;;;6 L8 i$ V5 f  N6 C4 b& w* H
  89. ; Quick Reference ;5 k  r5 n* M/ z7 u9 Y
  90. ;;;;;;;;;;;;;;;;;;;6 V$ ^5 ^( d, Y+ U9 K2 E. r
  91. ; The following are all the settings which are different in either the production
    * B& Q  ~# ^, b# p; z
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    . z7 `# n+ d3 W: W; w* S' N& i
  93. ; Please see the actual settings later in the document for more details as to why
    . _: |* v# U' P- [9 ]
  94. ; we recommend these changes in PHP's behavior.
    % q$ C1 m# K1 ]; s
  95. : x* v: \8 K+ G) C9 k8 P0 T
  96. ; display_errors5 f8 [: l9 N4 b( e/ R2 m$ N9 f
  97. ;   Default Value: On% e, {/ l0 D: u+ v, x8 U0 P/ V
  98. ;   Development Value: On
    2 e/ V; K4 J* f5 x4 y
  99. ;   Production Value: Off
    / W- t4 N6 [& J# I3 ~0 K7 j6 p- M

  100. 6 M' M' w2 {) o
  101. ; display_startup_errors7 Z7 f- r# \5 u. a/ n
  102. ;   Default Value: Off% r" Q2 v9 B# A2 X2 r, {1 f
  103. ;   Development Value: On( l/ P8 n# g- @$ V" T$ L
  104. ;   Production Value: Off
    2 R' A, A1 o9 y  u9 L

  105. 8 G7 J$ [7 p- K9 y1 d2 `! L7 y, b: P* E
  106. ; error_reporting& x2 A. M. b6 Z5 j: r
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    7 @! {( j6 ?& u0 ]
  108. ;   Development Value: E_ALL5 ?$ U6 H) s( a& E" K/ z- x+ f' m
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    . @0 S* @3 @" L: o! {
  110. ; l* {; p  I; f! Q, \
  111. ; html_errors; \* P7 z8 B5 H8 [( q
  112. ;   Default Value: On
    " u* P0 v! A9 ?% ^
  113. ;   Development Value: On
    " J( ^: I* Q: |# I; F
  114. ;   Production value: On
    ! {+ V, |& O+ D  n6 I+ y

  115. * H/ P" [6 N6 ?6 v6 p9 w
  116. ; log_errors; G& E$ ^& x2 ~  w8 S
  117. ;   Default Value: Off
    # r! ~: N8 {: O" r; L. y: A
  118. ;   Development Value: On
    % V) ]4 I) E. g1 t$ Q* n
  119. ;   Production Value: On
      ~0 ]1 H! |7 I9 q2 ^+ W+ M8 i
  120. 4 ]0 P/ a1 \7 }1 z7 d) N% l! X
  121. ; max_input_time
    ) S( ]; X/ ^2 c7 g! C7 [& m! `3 z. h
  122. ;   Default Value: -1 (Unlimited)
    ! u; a& V- M9 Z1 }1 o. g8 S! t
  123. ;   Development Value: 60 (60 seconds)1 m$ ^& O- f% a$ M
  124. ;   Production Value: 60 (60 seconds)
    7 H" {( ~* ?, {6 j

  125. $ R  r# ]8 Y: V" o6 V
  126. ; output_buffering/ G- V6 U0 ]5 l3 U% v* D
  127. ;   Default Value: Off6 x7 W% S) S* V
  128. ;   Development Value: 4096
    % `! P( i) e( M0 A$ H, d7 V- y$ w
  129. ;   Production Value: 4096/ q1 p0 j! d& w

  130. ' g5 ?. [# W$ ?
  131. ; register_argc_argv  g: X' f5 v6 N3 z$ s' A+ o0 \! p/ ?3 Q
  132. ;   Default Value: On
    * j; h$ m+ q5 Z. s+ V2 x1 ]$ A; n
  133. ;   Development Value: Off
    9 a$ s# q6 V. I5 a6 S/ s" }
  134. ;   Production Value: Off
    : k) s7 w  a) y* G$ j! q
  135. 6 n0 s& t& Z6 [6 W9 L
  136. ; request_order9 P$ Z) n; H& S! e; A
  137. ;   Default Value: None6 L9 v8 n8 |, A  i5 E) z9 X
  138. ;   Development Value: "GP"
    3 D! R; f' t% r# C  N4 W7 N' n
  139. ;   Production Value: "GP"
    7 ?" |9 W2 i, [; V0 \

  140. 2 @6 I, \  s2 a$ P. i" O) P
  141. ; session.gc_divisor# i4 t  D8 x- q; G2 s
  142. ;   Default Value: 100
    % z% b- @2 o& L; I% f
  143. ;   Development Value: 1000
    : l) O1 v% y9 B( K
  144. ;   Production Value: 1000' U8 s& M' F# S/ ]7 Q

  145. 0 D# C& c$ k% M4 z4 F7 D% j
  146. ; session.hash_bits_per_character
    8 j1 R/ y, Z( M1 A; z
  147. ;   Default Value: 4
    . o- t  [8 ]- v, Y; A8 L
  148. ;   Development Value: 5) m$ y9 s1 A; T' @# j- A
  149. ;   Production Value: 5
    # O3 X( y% U1 M) X- m% L7 _
  150. ' }. |0 g8 K5 L; n& x
  151. ; short_open_tag  i& Z# m8 Z" U, E- O/ B7 {0 I
  152. ;   Default Value: On
    , \) G/ I: b+ q% Y+ y
  153. ;   Development Value: Off% V. ^9 x% m: Y( m1 ^7 s+ o- E
  154. ;   Production Value: Off; t1 Y$ g# {6 L3 k7 j) ]

  155. 7 o5 W( N# m0 o: b
  156. ; track_errors
    # [; C+ V9 {+ r6 [2 k4 x
  157. ;   Default Value: Off; Q' g. \- M; E
  158. ;   Development Value: On$ Z3 R; g6 `3 Y) l/ [
  159. ;   Production Value: Off
    ! {% ^% i: O% K

  160. : F- @' B' l4 n5 P2 b
  161. ; url_rewriter.tags1 s- H$ c8 Y" m; K3 U& R
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="0 L3 B0 R  }. U# o/ G) r4 t
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"( P9 A: E: e5 M3 C7 C" v, z
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    9 [; ~+ m2 [% L! O& D2 q5 f
  165. 8 U* C% y; z6 A
  166. ; variables_order( X: k, O$ S- N% t% |- i
  167. ;   Default Value: "EGPCS"# }3 \2 l& \; C! B1 m$ Q9 ~# q
  168. ;   Development Value: "GPCS"
    9 J4 a% M$ s" |7 N$ E- \
  169. ;   Production Value: "GPCS"
    6 f- R" {9 Q) _) P+ M2 `4 o
  170. + T5 ]) G5 p7 I  H5 S
  171. ;;;;;;;;;;;;;;;;;;;;( \) @( A3 r# _& T( j& Z- b
  172. ; php.ini Options  ;8 I% Z5 O2 S& g) l
  173. ;;;;;;;;;;;;;;;;;;;;: K; a5 ]" r- z& G
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"$ M/ O& H2 X$ F8 G
  175. ;user_ini.filename = ".user.ini"" s0 o3 |$ P& r) ~8 b3 u, i2 n% R# i
  176. : i/ m& F' T5 ]0 S2 W
  177. ; To disable this feature set this option to empty value/ a1 A1 d! D1 z5 e) `: t. ]
  178. ;user_ini.filename =# P9 [: q$ v* f+ L! A3 n" i& G
  179. ! _. P5 o8 u( K( I) e8 E
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    . j. W- o7 X& b/ m5 U' U
  181. ;user_ini.cache_ttl = 300' j1 s' \: F3 A. M2 a9 J0 t
  182. & V3 b4 T' H; B' m3 S- ]: h/ c
  183. ;;;;;;;;;;;;;;;;;;;;- c4 ?; }. R5 o- [6 @. B0 K
  184. ; Language Options ;( K' X; p% v4 T. d' A, r9 ^
  185. ;;;;;;;;;;;;;;;;;;;;% t  B8 Q" ~1 J5 {7 q
  186. 2 r2 A+ R/ F6 d% f* G: S6 `
  187. ; Enable the PHP scripting language engine under Apache.5 q. c1 o* A# C2 [! }. P
  188. ; http://php.net/engine1 S# j6 n6 g7 o  o6 h  H
  189. engine = On% G2 I* j9 E+ p! u" x% a

  190.   G; ?, ~) |) k* j& ?
  191. ; This directive determines whether or not PHP will recognize code between& i$ q; O2 h. g8 j1 t0 ]
  192. ; <? and ?> tags as PHP source which should be processed as such. It is0 W! d+ _9 ?' _; F/ w7 m. d' a6 r
  193. ; generally recommended that <?php and ?> should be used and that this feature6 i8 n! [" e& J( ?. j
  194. ; should be disabled, as enabling it may result in issues when generating XML# s2 B0 j& t* m* @0 D6 z* @. |
  195. ; documents, however this remains supported for backward compatibility reasons.
    ! @+ B2 c2 X. j0 N# |
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    + ]& K  _/ e2 a2 H2 f3 O! V
  197. ; used regardless of this directive.2 \7 l0 C) [1 |
  198. ; Default Value: On) G! U" ^; T. g. q2 e6 W
  199. ; Development Value: Off% E; c7 j1 J. z( \" w5 p, {( L3 J" d
  200. ; Production Value: Off
    ! m( |: V# h& O6 [
  201. ; http://php.net/short-open-tag& M. |' U1 N4 f& R
  202. short_open_tag = On; ~5 E- |, L$ l8 i: J2 s- u
  203. . }) ^0 n7 |7 D( G$ q/ z0 E  ]. e
  204. ; Allow ASP-style <% %> tags.
    4 i0 {; I2 V3 l+ c7 }
  205. ; http://php.net/asp-tags
    7 g; c$ b  L1 L: `- L5 |* }
  206. asp_tags = Off1 F! R& Z3 D) `# H4 j9 |; H

  207. 1 R9 X7 _5 p4 ^& f1 M. |- e
  208. ; The number of significant digits displayed in floating point numbers.
    * q/ t& D. U( q$ l7 C6 g- v7 i
  209. ; http://php.net/precision, g" j; l/ ^( L) p& F  Q- d
  210. precision = 14) f5 X7 g  M! y
  211. % `2 ^; W) a, c2 F
  212. ; Output buffering is a mechanism for controlling how much output data
    " C5 N! X( K, L
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    + x! N: y( o- i+ b
  214. ; data to the client. If your application's output exceeds this setting, PHP
    ! X# k! @: c9 n, X2 a4 p
  215. ; will send that data in chunks of roughly the size you specify.
    ; B1 p' I# c3 l" o
  216. ; Turning on this setting and managing its maximum buffer size can yield some. _; u/ _) F8 T/ H: L
  217. ; interesting side-effects depending on your application and web server.  w. o" o. ~: \  G
  218. ; You may be able to send headers and cookies after you've already sent output$ z( x/ Q4 S" g  U# f8 d- E
  219. ; through print or echo. You also may see performance benefits if your server is+ B& d$ v  k0 E
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    7 B* p6 [, K, R
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    % S. ]0 u% @* Y# a" a4 K
  222. ; reasons., e- m4 @( n$ Z' I
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    . x9 j1 x' Z, X0 g/ v6 ]# D
  224. ;   functions.8 S$ v( a: y- q; X, l
  225. ; Possible Values:
    + d( \0 }* L# E: I+ [- C: |
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    6 b7 M3 Y4 o# X! t
  227. ;   Off = Disabled4 |$ {9 C$ R0 u' h) i
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.9 ~6 s- F& \5 b
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI2 E( ?- l& m. p- A6 }6 `
  230. ; Default Value: Off
    ; q* Q# {6 g( Q2 b
  231. ; Development Value: 40967 T2 ?1 l2 c+ O
  232. ; Production Value: 4096/ I; A) l/ e5 y+ z
  233. ; http://php.net/output-buffering4 ]8 D. Q4 L6 Q7 Q  F
  234. output_buffering = 4096% ~) r" V0 S/ w( |+ {4 y/ W9 `

  235. 4 z% h& i. ^+ u
  236. ; You can redirect all of the output of your scripts to a function.  For
    - t) P3 X( e. E; ], |
  237. ; example, if you set output_handler to "mb_output_handler", character$ G- L% r( o1 _8 ^8 D
  238. ; encoding will be transparently converted to the specified encoding.
    ( t0 u9 U3 [3 n/ i) A1 {
  239. ; Setting any output handler automatically turns on output buffering.! w% s8 }+ w( h
  240. ; Note: People who wrote portable scripts should not depend on this ini. [7 a. w6 c3 w7 d+ g2 ^
  241. ;   directive. Instead, explicitly set the output handler using ob_start().) [# ^6 N, W. K) h! \4 q
  242. ;   Using this ini directive may cause problems unless you know what script) H' N* n* E" f1 h, J# L
  243. ;   is doing.
    " F8 y! l3 C& V
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"3 G6 s# H& p3 M. d, ^
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    + u# V! R4 g6 C4 N8 U: I( r/ {
  246. ; Note: output_handler must be empty if this is set 'On' !!!!6 Y( `8 J% e4 \% u) c" z; K
  247. ;   Instead you must use zlib.output_handler.: Z. f& K  \- p3 ]* n( u
  248. ; http://php.net/output-handler
    ' O  U. l/ T# Y- Y
  249. ;output_handler =7 \4 c- M2 G/ X9 I

  250. # x( \5 J5 b/ U% x* F3 H& b# k% o+ M1 ~
  251. ; Transparent output compression using the zlib library
    6 s+ C3 W8 u  M+ q/ @
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    5 P# o7 ^' n+ p/ c0 m8 ^  @/ N
  253. ; to be used for compression (default is 4KB)* q3 b" ]! P) m2 B
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP1 o  u7 s# |+ O1 j4 A
  255. ;   outputs chunks that are few hundreds bytes each as a result of" M/ M1 B' P7 n) I
  256. ;   compression. If you prefer a larger chunk size for better
    - n/ {: \$ K! }8 n5 r: l0 u( f7 L
  257. ;   performance, enable output_buffering in addition.0 w4 R! X2 q5 A' ?: i9 y1 i0 T' Y# b  F
  258. ; Note: You need to use zlib.output_handler instead of the standard
    ( ~& T6 Z+ G, ^$ p( n, K& L" Q. G7 g$ f
  259. ;   output_handler, or otherwise the output will be corrupted., k, g3 U9 r2 R& k
  260. ; http://php.net/zlib.output-compression) z" }( \/ g6 d9 C
  261. zlib.output_compression = Off
    3 L& k/ V4 l' x7 f) e- W2 T
  262. ; G, {- _# S2 _# _3 _! s' d# J8 V
  263. ; http://php.net/zlib.output-compression-level
    ( i+ o8 D) k; M6 G. S' Z; V" S
  264. ;zlib.output_compression_level = -11 s( C4 {" v; L
  265. ; ?) @' Q: |& _8 M& s
  266. ; You cannot specify additional output handlers if zlib.output_compression
    % [& ?5 W" D1 |6 |2 [: q
  267. ; is activated here. This setting does the same as output_handler but in3 F; E1 n) {6 Y# x- }( n
  268. ; a different order.
    & ?1 ]# w8 J8 g) L
  269. ; http://php.net/zlib.output-handler5 a6 Z$ h, L4 G
  270. ;zlib.output_handler =
    * E4 S7 x1 L" D
  271. , Q8 u- d- D' `( L; E8 Q
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    ; M* F7 `* ~) D0 Y" o: v$ K, H
  273. ; automatically after every output block.  This is equivalent to calling the1 ^9 V1 m$ W& `2 e
  274. ; PHP function flush() after each and every call to print() or echo() and each! f. w  Q- v' j$ K% l- K4 i1 T
  275. ; and every HTML block.  Turning this option on has serious performance
    * L* S8 v- Q( z0 t$ M1 h
  276. ; implications and is generally recommended for debugging purposes only.
    # }$ u8 V4 V1 O; ]- O& _
  277. ; http://php.net/implicit-flush
    ; L5 x7 e  z# X# m
  278. ; Note: This directive is hardcoded to On for the CLI SAPI' h- g; y* W% j) A; m3 e) y# e
  279. implicit_flush = Off
    ! E2 L3 H; r) W
  280. 1 ?. X  K7 I1 q! c
  281. ; The unserialize callback function will be called (with the undefined class'
    5 l  \0 R; ~6 k3 k! Q
  282. ; name as parameter), if the unserializer finds an undefined class
    6 B" n- z( n3 G. W1 D0 i/ R
  283. ; which should be instantiated. A warning appears if the specified function is
    " z$ X- ]' f4 y" W! `2 P
  284. ; not defined, or if the function doesn't include/implement the missing class.
    0 i7 Q% G! t" S+ ?  f
  285. ; So only set this entry, if you really want to implement such a
    , {3 @: j: H6 p6 t& Q2 B
  286. ; callback-function.% d1 E  r- V5 Y# r
  287. unserialize_callback_func =
    ( M  C" B3 w0 p

  288. , r! Y3 v' G; f" i: B
  289. ; When floats & doubles are serialized store serialize_precision significant
    ; W2 o* D0 R+ X+ @# ~, u
  290. ; digits after the floating point. The default value ensures that when floats: h. l9 v- X: Z- C4 l. O0 y& a# I  s
  291. ; are decoded with unserialize, the data will remain the same.
    2 K4 H& p8 W' o8 k( }' `  h
  292. serialize_precision = 17
    : [* w4 @& c2 l  n7 ~  C2 e

  293. 6 M( f4 m! [* o. I
  294. ; open_basedir, if set, limits all file operations to the defined directory
    # i: V( L. G0 W; E7 M" _
  295. ; and below.  This directive makes most sense if used in a per-directory
    2 m* `1 Q' x/ a7 a; a3 |6 R# p
  296. ; or per-virtualhost web server configuration file.* a, G0 u% D3 [. m
  297. ; http://php.net/open-basedir
      d$ N! ]7 L3 [! N* N+ ~1 ~- v2 H/ Q
  298. ;open_basedir =
    ) N% o! I: {" S) v9 N

  299. 6 s9 e! b# O) t* T4 r
  300. ; This directive allows you to disable certain functions for security reasons.) v' _/ ]1 m/ @$ f8 W' l3 X
  301. ; It receives a comma-delimited list of function names.
    7 N. y+ a0 \8 w6 s; q# S
  302. ; http://php.net/disable-functions+ q$ ~" J1 M# e5 V0 J2 F. y, X8 R0 `
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru" p. l3 f  V2 X' m: @; ^+ M, x

  304. ( R9 w* Y8 n2 M4 J& ~3 J* Y
  305. ; This directive allows you to disable certain classes for security reasons.
    2 N2 n# A7 {# l/ s; w
  306. ; It receives a comma-delimited list of class names.% d5 X  ~, f5 Q
  307. ; http://php.net/disable-classes
    0 Y% U3 b2 ]8 w- L1 o4 I, E( V
  308. disable_classes =% k9 g/ m# h$ b' t' G- C: u+ s

  309. ) K8 T2 }. B. e, g5 I; @
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in, Z. L" l. M3 X% V0 r+ C
  311. ; <span style="color: ???????"> would work.2 Y& j$ p9 g3 |
  312. ; http://php.net/syntax-highlighting9 l" Y. P$ D5 u; j0 M
  313. ;highlight.string  = #DD00004 {0 C: ?* @  S; A& E% i
  314. ;highlight.comment = #FF9900
    % G* W: N  K7 u3 h
  315. ;highlight.keyword = #0077000 t7 P* \8 p1 r5 t
  316. ;highlight.default = #0000BB: c5 S" e/ Q' v) P
  317. ;highlight.html    = #000000
    . u6 S% p* n5 }, ^: W. [, p
  318. + `4 a) O. D. }& V4 @2 P7 `& I7 p
  319. ; If enabled, the request will be allowed to complete even if the user aborts% C  C- b( b8 s' d7 N
  320. ; the request. Consider enabling it if executing long requests, which may end up
    ! N: l- @* p) v2 P
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior+ F: c! K2 i6 N4 A; N, ]+ S; L
  322. ; is to disable this feature.# Y. I2 I' M7 h  E' [% {5 D
  323. ; http://php.net/ignore-user-abort& b. F% L& T& @! Q! L! i$ d
  324. ;ignore_user_abort = On: @  U5 ]" y2 @
  325. : V, m% R. `6 P/ |0 z4 m9 e. n, b! j
  326. ; Determines the size of the realpath cache to be used by PHP. This value should# C. v; I# E% T5 p
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    6 g" J. \, A8 S' E1 N0 ^4 m1 C
  328. ; the file operations performed.
      v! u. H" V) p
  329. ; http://php.net/realpath-cache-size! L& }0 m9 o+ t6 {, S
  330. ;realpath_cache_size = 16k
    0 |# r$ O% s" I+ F# U2 `

  331. , C1 ^2 p1 A" f- b3 s# I+ W% U
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    ! C9 f7 o2 ?5 w4 a# Z" P+ z
  333. ; file or directory. For systems with rarely changing files, consider increasing this6 M$ G5 T+ b8 j  F
  334. ; value.
    3 [  E0 {/ o, t9 {3 X$ [5 S
  335. ; http://php.net/realpath-cache-ttl& W' C+ b3 \+ s
  336. ;realpath_cache_ttl = 120
    / U$ e5 R9 y* D4 v* v4 m
  337. # F" y: h4 `2 o1 T% h2 j* }
  338. ; Enables or disables the circular reference collector.* e/ o. b' Y3 @+ m
  339. ; http://php.net/zend.enable-gc
    % y, [; l, [! l+ S4 k6 b0 O' A" ?& D  A
  340. zend.enable_gc = On
    ' X. P; \2 a7 x' i. m
  341. : r  a" B7 c9 @4 h: {
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    % L9 h1 [0 D; C1 O! d) x
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    * X9 a3 D6 h$ f6 v) L+ v; l
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    7 _' ?) B8 @4 j9 J7 X' E3 H8 C" C) M
  345. ; Default: Off$ F9 x2 o% l) q4 t1 M6 A  ^+ E6 w
  346. ;zend.multibyte = Off1 W+ O$ `" n, X

  347. , ~( ^4 f, v" o4 m5 h: b4 ~) Q
  348. ; Allows to set the default encoding for the scripts.  This value will be used; n( P# j; \* C, j  K; n3 w* N6 Z2 c
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    $ Z* Z' r7 I  m$ N
  350. ; Only affects if zend.multibyte is set.
    4 W  O* G6 w% N9 C' n
  351. ; Default: ""% d! z: U* g& }* Y8 ^4 X( t# M( @3 E
  352. ;zend.script_encoding =
    5 R- ^8 z. I* v$ x: _  D7 X: G9 R9 G% n
  353. 7 T7 P0 i) M$ t: d4 l+ G
  354. ;;;;;;;;;;;;;;;;;% s8 x- p3 J& N( g
  355. ; Miscellaneous ;4 Q! S# m' w' I5 z& B* }
  356. ;;;;;;;;;;;;;;;;;
    1 t2 Y6 e$ ^6 s9 @' [7 V) B  \
  357. & n; _5 {8 p& |' P- V- ~$ \/ P
  358. ; Decides whether PHP may expose the fact that it is installed on the server" g5 t% B- _9 T& M1 @8 A4 \+ d, P
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    - S" Z. D3 b: l4 Q9 e5 X
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    3 T/ V' ]& H" r! N8 ^. h& f
  361. ; on your server or not.
    - g3 _; V, \& u, e2 ^; q
  362. ; http://php.net/expose-php
    5 N, |" y% y% h4 j
  363. expose_php = On9 O1 q% M5 {3 u. ?
  364. . W2 @! ?) g% ]- O" m1 d7 f
  365. ;;;;;;;;;;;;;;;;;;;8 r9 O' N: p% w$ B* a( |
  366. ; Resource Limits ;
    ; ]* r1 Z0 E: H; N2 h; p' L; L4 q
  367. ;;;;;;;;;;;;;;;;;;;
    ( h' E# ~" \9 f8 ?" X' F9 S

  368. & @' I( g2 p7 Z! q
  369. ; Maximum execution time of each script, in seconds
    / L1 x( X' ~! C
  370. ; http://php.net/max-execution-time
      ^9 N1 a/ c3 ?+ E: X
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI- T9 d! u. Z! A0 T) N# Q9 ?3 h
  372. max_execution_time = 300% |6 U. ]4 p; K6 J* `5 X+ o

  373. $ e; K% n- F5 a1 f. x& m
  374. ; Maximum amount of time each script may spend parsing request data. It's a good5 O% l, Z* b5 m$ R: [+ Z" Y% a4 X( c
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    4 J" Y, M% [0 f0 l2 f/ L: H1 V
  376. ; long running scripts.$ f6 O  H+ a) U( R( K$ t
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI' w( M: u4 m$ ~5 m7 P/ C
  378. ; Default Value: -1 (Unlimited)
    ( \& O$ `' x: b2 N6 d# }  b( e
  379. ; Development Value: 60 (60 seconds)7 A3 I* t. ]  b9 M0 }
  380. ; Production Value: 60 (60 seconds)+ Y$ r$ G: O, ?* e( c% M
  381. ; http://php.net/max-input-time
    - I+ V& U% F/ D( J
  382. max_input_time = 60
    ' {% w! w# U6 U! b) q; @
  383. 8 _& j  ]" \; m; k8 H& [$ _
  384. ; Maximum input variable nesting level
    - _% E" j/ j6 E8 N" ?
  385. ; http://php.net/max-input-nesting-level- _3 ^- \! I( M8 C
  386. ;max_input_nesting_level = 646 p3 @8 z. r) g8 \

  387. . e( U. v% [/ l! n  g" ~
  388. ; How many GET/POST/COOKIE input variables may be accepted. i5 i: i; Q0 x+ l
  389. ; max_input_vars = 10009 i* z- |  k) ~' D2 y4 N& _: m
  390. 3 B3 E, C! p. ]$ C% n( J
  391. ; Maximum amount of memory a script may consume (128MB)$ k! g% `: M& a1 K3 F
  392. ; http://php.net/memory-limit
    / |) r0 \- Q! J& ]4 O; N7 J6 P5 j1 h
  393. memory_limit = 128M
    # h( K1 s  G/ n; I, a

  394. 7 h( `7 Y! N6 {; |$ J% u% |; B
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    9 M/ U0 Q& D2 Z# T2 n0 r
  396. ; Error handling and logging ;6 R) r" k$ R9 d% _7 _( F9 \/ Q
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
      U" p$ x" ^; |' |

  398. , f3 F; l4 ^- z8 p: c
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    ! E2 i$ H2 E: T  \. V. I
  400. ; it to take action for. The recommended way of setting values for this; H3 |5 b2 \! f; O- B
  401. ; directive is through the use of the error level constants and bitwise! n" k+ M9 I* b3 ~
  402. ; operators. The error level constants are below here for convenience as well as' o2 x5 _& x+ @% b. b; U
  403. ; some common settings and their meanings.) `8 C0 E/ o* I; ~. Y8 G) O
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT+ |* H! @& a' ^
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and2 L& t% B3 X4 z! B0 ^7 }5 ]
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    - C' S2 D2 X- N( b" {, R
  407. ; recommend error reporting setting. Your production server shouldn't be wasting4 L' H4 C) a0 k- J2 P& f5 N
  408. ; resources complaining about best practices and coding standards. That's what6 D/ c* \$ C) k
  409. ; development servers and development settings are for.
    ! n0 A( _/ u4 o: X7 ^' Q4 v
  410. ; Note: The php.ini-development file has this setting as E_ALL. This% K4 X: }: X% @1 ]. h
  411. ; means it pretty much reports everything which is exactly what you want during
    + Q; e5 u; h/ i' s! |. S  c
  412. ; development and early testing.  K6 f$ J. R' N6 \4 T! m! ]$ Z/ ]. i
  413. ;
    2 f; }+ l* W/ T
  414. ; Error Level Constants:' A9 z/ c3 p% T9 J, ?  R
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)- O' ]2 _  w& d$ V# v8 S
  416. ; E_ERROR           - fatal run-time errors
    0 o/ ^* f5 `7 L1 @) T/ v
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors2 U! ^1 F6 q4 _, {
  418. ; E_WARNING         - run-time warnings (non-fatal errors); f) d1 e% A+ K/ O
  419. ; E_PARSE           - compile-time parse errors8 D7 t5 ~5 j. ^" v5 D
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    + {/ M6 B/ E* W9 \3 A3 Y
  421. ;                     from a bug in your code, but it's possible that it was
    ( N: {- ~; ^: ]& C
  422. ;                     intentional (e.g., using an uninitialized variable and8 |+ n8 X5 C" R8 e
  423. ;                     relying on the fact it is automatically initialized to an
    4 {9 i( [* i! f
  424. ;                     empty string)
    ; D( L- W: d* J: }
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    2 M  _# n) {( Q- L3 D* L% s; B
  426. ;                     to your code which will ensure the best interoperability
    , z, E& ~$ v( U( q$ \" e
  427. ;                     and forward compatibility of your code* ^  B  [$ \( S# z0 [8 j: e
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    ; b* l8 r. N) i
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's- l- }; S+ p: h3 q' R# `% v9 I' l- Q
  430. ;                     initial startup3 n! @3 g( U! x" K9 ], Y) g2 H
  431. ; E_COMPILE_ERROR   - fatal compile-time errors+ {- t4 Q4 T2 K6 ]* q
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    $ X. K6 G( h9 C% Q- {& d
  433. ; E_USER_ERROR      - user-generated error message7 i3 L9 t# S  O$ D2 a
  434. ; E_USER_WARNING    - user-generated warning message; }! a# ?5 |5 H& e. |8 [" H
  435. ; E_USER_NOTICE     - user-generated notice message: _1 W+ g1 m0 u/ w& `- s/ ^
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    6 g- K$ j  K7 I5 A' F
  437. ;                     of PHP
    - Z! u1 r: |5 I' d  ?7 W  w
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings- _* y: O  ?( K1 O: I/ i& E
  439. ;9 p; k, a6 w, s( v- M: n3 T+ Y
  440. ; Common Values:) |7 s2 G& Z9 u% D# c: b( l4 V
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)" X; h* o3 B3 E8 Z
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)' V& g8 F& x: _: X: m
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)$ e$ O, t: q  H8 X
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors): n! y' ?' r+ U
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    8 k, ], g! m8 ]. A3 |9 Y
  446. ; Development Value: E_ALL8 N" W  s6 l- V* }
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    7 e0 U* }9 A. N9 _/ Y, G. n$ `
  448. ; http://php.net/error-reporting
    6 T: _) O( [& L
  449. error_reporting = E_ALL & ~E_NOTICE
    + L% a0 K* f4 ^) s  i* I7 ]6 I

  450.   a; u: b' h0 \" ~
  451. ; This directive controls whether or not and where PHP will output errors,* ]) V: B( ]1 x4 |+ S' \
  452. ; notices and warnings too. Error output is very useful during development, but
    2 c  u! `& J/ N& j6 p  L
  453. ; it could be very dangerous in production environments. Depending on the code- ?& _( E4 g6 |% C8 ?0 R
  454. ; which is triggering the error, sensitive information could potentially leak
    7 L4 X( ~2 C4 R* }  J5 p& q' M
  455. ; out of your application such as database usernames and passwords or worse./ }9 Q$ y* M! b8 N* ~
  456. ; For production environments, we recommend logging errors rather than
    ; `; C6 O; p' z% {& j: M# N' X
  457. ; sending them to STDOUT.
    4 W$ X6 \0 O7 p
  458. ; Possible Values:
    1 C8 B' w; V4 L7 m$ y
  459. ;   Off = Do not display any errors0 A8 ?# i, ]: G
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)7 F: o) r, u& s* D2 @" _
  461. ;   On or stdout = Display errors to STDOUT
      b& H" G9 ^, y6 n# ~
  462. ; Default Value: On" c  z: M  l2 }" m" Z5 K' k
  463. ; Development Value: On: D" I% f+ w7 n* b0 M4 i' M1 M7 L% k
  464. ; Production Value: Off
    : O, U6 E& c7 m7 h
  465. ; http://php.net/display-errors3 c/ c1 p$ ^3 L5 m
  466. display_errors = On2 Z1 w+ m$ x/ X0 \2 J

  467. 6 v8 i7 i  ~' T5 l
  468. ; The display of errors which occur during PHP's startup sequence are handled
    " r* R" J( s; x& G3 S) j# g5 p
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    ) Y, e9 D/ y3 L+ l( I' o
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    - l$ t7 n/ i, s4 Y/ {9 q
  471. ; debugging configuration problems. We strongly recommend you
    / [4 w+ V2 G+ ?) u! r$ B
  472. ; set this to 'off' for production servers.
    : F+ r4 N' Q9 A4 K+ |) t
  473. ; Default Value: Off
    5 i" R: t6 E$ n% s: h
  474. ; Development Value: On
    * w9 i+ E& c8 _1 v7 |3 V0 D
  475. ; Production Value: Off
    8 l- T9 F' t$ T5 v2 x' e
  476. ; http://php.net/display-startup-errors
    5 ]2 e( P0 c/ p) R
  477. display_startup_errors = Off8 D0 R2 u% f2 C( b5 E
  478. 3 y/ u- [3 O2 w3 }  T, ^/ R+ B
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    - k* ?# |; g# j4 p( y
  480. ; server-specific log, STDERR, or a location specified by the error_log
    & ?+ `+ r4 C$ M$ o, k
  481. ; directive found below. While errors should not be displayed on productions: d% q! x2 O5 r0 d: D
  482. ; servers they should still be monitored and logging is a great way to do that.) I  z" A4 ~/ M% n- W
  483. ; Default Value: Off
    : i0 X6 n( R4 {+ @; P" U4 s
  484. ; Development Value: On' b, M' E: b( [7 R( ^4 ~
  485. ; Production Value: On9 r; E' ~5 F9 N. U7 X) t
  486. ; http://php.net/log-errors- h! R) j, v1 d! _
  487. log_errors = On
    4 J" F! P( ?0 Q1 g4 D2 a
  488. 3 E. n4 O9 }1 U" k$ ^9 w! u6 @3 S
  489. ; Set maximum length of log_errors. In error_log information about the source is5 h, P! a( r1 |; C6 o' M
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.# l2 U% J' R3 h7 _& C
  491. ; http://php.net/log-errors-max-len; W  G4 V0 H$ |0 @* ^0 W
  492. log_errors_max_len = 1024
      e$ t' C; b1 h* r8 R) L% S- Q

  493. 2 K- D% ^# r: M2 M
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same8 r- b% F; w3 _
  495. ; line unless ignore_repeated_source is set true.
    2 t. f# p7 v. s" M7 P# o8 }  N
  496. ; http://php.net/ignore-repeated-errors/ X2 a$ v9 T- p( ~- {) w  t
  497. ignore_repeated_errors = Off
    : C; s: n% q0 m# Q
  498. # J* M" X4 [; a, K
  499. ; Ignore source of message when ignoring repeated messages. When this setting3 a2 j0 o, j! c
  500. ; is On you will not log errors with repeated messages from different files or
    , i7 {+ k- I$ E% i2 V" z: a% I! V2 F
  501. ; source lines.
    8 w# u4 a' C: a3 B1 e, N
  502. ; http://php.net/ignore-repeated-source& h1 k; h2 a/ \3 \' k/ }
  503. ignore_repeated_source = Off* }1 M+ }, ~" \( {% G& T3 t
  504. ; w; M( {- b! O# f
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on9 [3 Z3 r  f" v) U0 d; W* I
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    ' z1 R5 P4 ?3 ?5 k9 d
  507. ; error reporting includes E_WARNING in the allowed list' n8 I  m0 ?% U4 T/ o
  508. ; http://php.net/report-memleaks
    + a" w* `7 r, O7 e2 A  A" q
  509. report_memleaks = On% V" i  K4 O8 b) E
  510. 7 W# V" P" a( {# ]/ Q
  511. ; This setting is on by default.
    9 K& |- M$ ]8 W8 ~5 ]
  512. ;report_zend_debug = 0
    1 `! x& Z1 e: j. ^
  513. 9 ?( W  F- t9 S, [& |! d
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value! ^: ]0 b. F: H" S
  515. ; to On can assist in debugging and is appropriate for development servers. It should
      r) E' m+ P: G& P
  516. ; however be disabled on production servers.
    : u; ]$ j6 x- [: D3 E, S! U% E7 B
  517. ; Default Value: Off
    ) e1 a$ u' G; N, ?8 ?. C. e
  518. ; Development Value: On8 W  L& i+ X9 _. B% u
  519. ; Production Value: Off
    0 @/ e9 [8 X+ I
  520. ; http://php.net/track-errors* P. d0 I1 G4 U. N7 i0 `5 Y
  521. track_errors = Off
    $ J: A1 z3 `2 f$ C1 q: |* Z) u
  522. , n- C9 y) g2 i& m6 H( Y, a0 }
  523. ; Turn off normal error reporting and emit XML-RPC error XML1 `: ^) [- x  ?3 ]& l4 Q6 p& g
  524. ; http://php.net/xmlrpc-errors
    ' M! B" ?' E& m/ R/ P' k% z
  525. ;xmlrpc_errors = 0
    " A# L* z# p2 S9 B

  526. " n7 e. P0 N  c9 I  m2 k
  527. ; An XML-RPC faultCode
    . @& c: B& _& q* ?  K
  528. ;xmlrpc_error_number = 0
    8 f! f+ I9 d  @
  529. 8 `2 n" F6 c' X2 d0 D  D& _
  530. ; When PHP displays or logs an error, it has the capability of formatting the" q6 I$ ^* G/ t* k- f/ b0 o
  531. ; error message as HTML for easier reading. This directive controls whether/ W3 E/ C% {+ v0 @
  532. ; the error message is formatted as HTML or not.- r$ ]3 ]) K& f4 U! K& R$ m2 C
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI% E% M: x# w* h3 i3 F: \* L. q
  534. ; Default Value: On4 C6 g9 X9 ?# |
  535. ; Development Value: On
    / b+ i7 u) z; O
  536. ; Production value: On: e7 w; H9 `* N: \
  537. ; http://php.net/html-errors* |# ~; K/ A+ [2 z# j( f
  538. html_errors = On1 z6 u  `& }* j/ I" i% k$ U
  539.   U! N' _, R+ F4 _5 O+ @
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP/ v8 j, N! M* f3 {0 @. a; }+ U
  541. ; produces clickable error messages that direct to a page describing the error
    8 \: `+ h& t0 }+ y8 I4 \1 G
  542. ; or function causing the error in detail.7 }: x& ^) X6 G) l, ^# l" [4 o
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    . C- p) u+ S: V9 W  d2 @3 |
  544. ; and change docref_root to the base URL of your local copy including the
    / Y. c. z, y5 r3 R. ~, J
  545. ; leading '/'. You must also specify the file extension being used including9 t+ e+ i2 M- \2 u
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which+ E* Q; i4 d. }/ M7 w! t) C/ w
  547. ; case no links to documentation are generated.8 c7 I6 O7 B2 _4 M6 f! J) ^
  548. ; Note: Never use this feature for production boxes.. r9 P; {+ F; A7 q5 P3 ~* S$ v& \% T  n
  549. ; http://php.net/docref-root& l, Q! q: U# y) ?4 U' i
  550. ; Examples7 `4 l; w* e; J3 p+ D5 k0 n% K& ^
  551. ;docref_root = "/phpmanual/"9 T8 h* D, j8 h5 u" K5 G6 R

  552. / d5 S* b. J% Q& p
  553. ; http://php.net/docref-ext  b6 p. D( M, P! r2 A
  554. ;docref_ext = .html- [* O5 Q; `* O0 j/ ^" `6 v

  555. 7 z& Z3 w4 C. o9 p1 c( p% C  q6 ?0 z
  556. ; String to output before an error message. PHP's default behavior is to leave
    4 n) e8 q$ ?9 r- _) Q- p6 ~5 w
  557. ; this setting blank.1 @$ m2 B* @* t4 {2 I) x2 o, D
  558. ; http://php.net/error-prepend-string
    ' p5 f5 T0 }0 O! y1 c
  559. ; Example:
    5 d$ p4 l; ^6 J" o6 y+ x
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    4 U1 T) k" h( T' c/ \6 E; X/ ?
  561. 5 q2 u9 e; G( w# {6 d
  562. ; String to output after an error message. PHP's default behavior is to leave
    % A+ V5 y3 o4 k1 z# a- t
  563. ; this setting blank.' G- l( Y+ u( ?- r
  564. ; http://php.net/error-append-string  b. U& ~9 a2 a% g% t/ q" {
  565. ; Example:! E3 t/ C' `8 N% j
  566. ;error_append_string = "</span>"! }% u" Z$ ]. q: M* j
  567. 3 x7 {4 t" }3 ~7 ~& b! J6 y! }
  568. ; Log errors to specified file. PHP's default behavior is to leave this value2 J- d  o/ J. c0 j  d+ @+ [# o- f
  569. ; empty.
    - C4 v' i+ h1 K0 S% X4 M
  570. ; http://php.net/error-log6 ~0 Z8 {  v" ]- v
  571. ; Example:6 }9 e5 k3 o' ^  H# V+ g; w* ~8 M
  572. ;error_log = php_errors.log
    ! d$ c/ ]# b5 }! h  W- F
  573. ; Log errors to syslog (Event Log on Windows).
    7 G) n' m% y+ z7 i# m6 w# Y
  574. ;error_log = syslog- e9 b2 c' @* n& m/ g
  575. % A) ?2 [. B, `6 {3 h$ o
  576. ;windows.show_crt_warning2 o- a) X) Q4 q  j' t
  577. ; Default value: 0
    6 U& U+ x- R7 t0 W. ]
  578. ; Development value: 09 B, ?7 Z) w0 {7 [2 P% _
  579. ; Production value: 0
    4 ^: d+ W8 [+ z7 w
  580. ' u- y) P$ h' a5 p6 d% g
  581. ;;;;;;;;;;;;;;;;;/ s/ ^/ ^8 m: v& Z
  582. ; Data Handling ;
    ( u/ e2 k4 r) l0 @3 Q* q8 L
  583. ;;;;;;;;;;;;;;;;;$ _5 H. ^1 _! L
  584. 0 e( E9 E. G+ P: _3 X
  585. ; The separator used in PHP generated URLs to separate arguments.
    - @8 z3 ], o6 s
  586. ; PHP's default setting is "&".6 |4 U. {3 s2 ~0 u( M, H* }& X: G
  587. ; http://php.net/arg-separator.output1 L- m) J; Q( B) j# a. `; U
  588. ; Example:
    ! _( D. \2 T6 G, e! O% N
  589. ;arg_separator.output = "&amp;"0 i% m& O6 @6 r+ @; g

  590. 3 `* ~- }4 ^1 G) E! L7 ?* W5 N+ D
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    . P& A6 _# G0 j8 g7 W
  592. ; PHP's default setting is "&".
    5 T1 t9 {- ^. G9 n( P( Z  ^8 ^
  593. ; NOTE: Every character in this directive is considered as separator!: g% o. f7 B6 K5 w0 F
  594. ; http://php.net/arg-separator.input& Y7 M! s; D* h* r( f5 _1 g
  595. ; Example:, v# s( r: H+ ~( ~; W' f% S
  596. ;arg_separator.input = ";&"
    * b- j6 C# {, x

  597. ( x9 R3 p2 t1 d  b4 x
  598. ; This directive determines which super global arrays are registered when PHP' U' K, {5 L0 ?- U: x
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super8 M( t8 X2 o4 r$ \. @
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    : V  U7 I+ b  E$ R7 T
  601. ; paid for the registration of these arrays and because ENV is not as commonly: d+ k2 |3 b. w' S" X7 d$ `4 p
  602. ; used as the others, ENV is not recommended on productions servers. You' E$ V; R. w7 U0 O$ L( D! s) P5 U8 g
  603. ; can still get access to the environment variables through getenv() should you
    8 {" u% e- X/ F  ~
  604. ; need to.
    ( S# D* q6 h6 a+ ?* c3 @) b
  605. ; Default Value: "EGPCS"% I2 C% I; c8 D# o$ X5 Z* W/ I
  606. ; Development Value: "GPCS"* ~* S, T; F3 a  `, f
  607. ; Production Value: "GPCS";8 n( z$ W& o/ d, i
  608. ; http://php.net/variables-order
    3 I& v; U0 E7 l$ s1 X1 O& T
  609. variables_order = "GPCS"& F, L8 t9 J- _+ ]8 S! R: x

  610. , G) Y6 L1 s' |5 h/ }) c, f
  611. ; This directive determines which super global data (G,P & C) should be  E" s  E3 ^; V9 ?
  612. ; registered into the super global array REQUEST. If so, it also determines# x' B; Z1 u. k" T9 F" c
  613. ; the order in which that data is registered. The values for this directive. l. m5 H3 t4 U: G2 W
  614. ; are specified in the same manner as the variables_order directive,
    6 t7 O0 J! b  A. Q+ ~
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set( \9 T# g: O3 H+ A4 r7 X
  616. ; in the variables_order directive. It does not mean it will leave the super
      X, K) v  v; w# J
  617. ; globals array REQUEST empty.5 z) {0 f! a6 I' R8 V9 \: Q- B
  618. ; Default Value: None
    , @4 E* c& S; E! q7 }, R: R7 ~: g% r
  619. ; Development Value: "GP"( E0 z% X9 c% i7 L) _8 f9 v
  620. ; Production Value: "GP"# r6 d$ p/ {4 R& t; e7 Q/ R0 T# \0 ?
  621. ; http://php.net/request-order/ F& G. C, ~5 i  q6 W/ S  T/ ^
  622. request_order = "GP"/ c8 r/ a) z# V: G

  623. % \, T* n5 f/ k, o8 O& i- Y
  624. ; This directive determines whether PHP registers $argv & $argc each time it) u4 `- i3 P( @# ]" O+ x" h% d
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    " v9 k3 D: G/ V7 O! a7 e  h" D2 `
  626. ; is invoked. $argc contains an integer representing the number of arguments
    % }9 ]% W4 P! _! F1 R& D# z3 x
  627. ; that were passed when the script was invoked. These arrays are extremely
    5 _+ }1 w4 S& w: T: o
  628. ; useful when running scripts from the command line. When this directive is
    5 t) M% O& j" a
  629. ; enabled, registering these variables consumes CPU cycles and memory each time; \/ ^1 @# @9 I$ B% e
  630. ; a script is executed. For performance reasons, this feature should be disabled
    3 `8 [6 d6 {9 m( J! A% a" Z
  631. ; on production servers.$ V% Q/ W; d, e* b% V7 B6 p4 _
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    ' d0 w6 ]1 @) V/ f  U! E, v
  633. ; Default Value: On3 b" X; D1 L4 |2 }; h
  634. ; Development Value: Off! }; n- K  i# {
  635. ; Production Value: Off
      E* D/ t# |1 A% T# K
  636. ; http://php.net/register-argc-argv
    . Z3 [* C- F! O% ]
  637. register_argc_argv = Off# a( W! z4 T" y) x2 J2 Y
  638. 2 M6 w3 Q! t! x5 G: i# K8 G
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're- ^: F: H4 k: Y( Y( N! I
  640. ; first used (Just In Time) instead of when the script starts. If these& @9 f  }, F7 o+ ]
  641. ; variables are not used within a script, having this directive on will result: P  {" a: ~; j3 K! }/ |9 s) y
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled- h- ]7 M/ ~! {; Q! D" o3 `
  643. ; for this directive to have any affect.
    : p! t3 c$ y: D+ V
  644. ; http://php.net/auto-globals-jit
    6 C8 M$ l/ B* C7 h2 H, Z1 |, k$ N
  645. auto_globals_jit = On
    7 @$ H& m: f9 ?. T

  646. # t7 }+ x5 v5 p- v
  647. ; Whether PHP will read the POST data.0 x2 O( x4 B8 \
  648. ; This option is enabled by default.
    ' ?" x# r( n* @& \. T# u% T
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST( t& P/ h+ x/ `% C1 ]
  650. ; and $_FILES to always be empty; the only way you will be able to read the- f4 C6 Q  q0 m+ P; {0 E' M! r
  651. ; POST data will be through the php://input stream wrapper. This can be useful. v/ G  @- }! c
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    ( ^$ s) p; t7 Y9 |, {3 V8 X) P
  653. ; http://php.net/enable-post-data-reading
    - \  E' n5 v$ m( l: y
  654. ;enable_post_data_reading = Off! n- j. ]4 g5 q# L! z. t4 f/ \

  655. ' D& W8 s# ?3 d5 Q& Q
  656. ; Maximum size of POST data that PHP will accept.
    1 L0 G1 y% s3 }% e# o! H
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    3 O$ t9 s$ G( @, ~4 @/ J5 P. L
  658. ; is disabled through enable_post_data_reading.8 e! W3 c! e) c. ]$ W
  659. ; http://php.net/post-max-size
    3 F: k' v  A+ q& _
  660. post_max_size = 50M. ~* S( R( A* [1 j  k$ ^  {
  661. " o# K# y4 R/ {! L7 Q: w) \
  662. ; Automatically add files before PHP document., g+ q3 @$ y* _6 D; R
  663. ; http://php.net/auto-prepend-file8 B/ }+ @$ h2 f8 a
  664. auto_prepend_file =* X5 x2 F. y$ c8 L
  665. & z+ ^4 _9 c2 v3 \
  666. ; Automatically add files after PHP document.& |" w$ `& Q4 j/ a8 l
  667. ; http://php.net/auto-append-file8 A. X4 \, Y: c! u3 I
  668. auto_append_file =
    + [0 W- f, f1 ?- b& ~7 u/ r

  669. + q/ ]: s' x' A/ w
  670. ; By default, PHP will output a media type using the Content-Type header. To8 y4 K4 z- v. y- H4 @1 _! X0 X' J
  671. ; disable this, simply set it to be empty.
    0 v$ H5 O# x, c- V5 o* e) O
  672. ;
    ! T' R% r( F) P% {6 a
  673. ; PHP's built-in default media type is set to text/html.  ~' N! X5 c5 t; [
  674. ; http://php.net/default-mimetype3 e; c/ y% u" J4 u4 r
  675. default_mimetype = "text/html"+ a- p% m" w4 x1 @. ]9 t$ {

  676. ! @" h/ j6 P8 j4 p- A
  677. ; PHP's default character set is set to UTF-8.5 J! r; X* J: G
  678. ; http://php.net/default-charset
    0 V( P5 R3 s- e' e) r: F, }
  679. default_charset = "UTF-8"  l( p5 T* u, ~
  680. 2 B5 k- _7 b( U4 Q
  681. ; PHP internal character encoding is set to empty.8 H# ~) z' j! a7 C
  682. ; If empty, default_charset is used.
    7 [) Q& Y4 c0 O5 s: A' ?
  683. ; http://php.net/internal-encoding
    ) F5 e6 N0 ^7 A  C8 r& b* g
  684. ;internal_encoding =
    6 S" N- r; e/ c

  685. " C+ d" B! ~/ R8 j/ S/ r9 a! Q
  686. ; PHP input character encoding is set to empty.
    + x" t$ U5 U( L/ [" ]1 x# z  ?
  687. ; If empty, default_charset is used.  Z+ |% R3 h$ F  i
  688. ; http://php.net/input-encoding: t% p0 ~# k0 g' d4 @+ Q
  689. ;input_encoding =$ w6 p( C. H8 m; p$ a/ M
  690. 4 X) {6 }3 d! S+ C3 q, }' |2 j4 V
  691. ; PHP output character encoding is set to empty." X6 T6 H! a) E; A2 F6 Y2 z5 k  F
  692. ; If empty, default_charset is used.
    ' X/ e9 g+ h! i
  693. ; See also output_buffer.: ]5 p2 a1 X) b+ Q; K/ [
  694. ; http://php.net/output-encoding. z9 E% X! C5 P) m% }
  695. ;output_encoding =' V& [/ x! V7 l* t$ [0 U& A
  696. ) v: ?, s' g4 T* T. U7 B4 ?5 E: M" F
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    6 D7 v* p; f7 b# i5 P0 Y* ~4 L
  698. ; to disable this feature and it will be removed in a future version.
    . t- z8 ]7 P* K4 D/ F
  699. ; If post reading is disabled through enable_post_data_reading,
    + C9 _* L& a0 t+ Z: t- h, j
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    , U8 _1 N7 h: G% p4 n9 {. w0 T6 `
  701. ; http://php.net/always-populate-raw-post-data; i; }1 U1 g' R( k% O% V1 P# L
  702. ;always_populate_raw_post_data = -1
      |/ T5 c4 l# y
  703. 4 p" t, y2 L7 j) A
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    + ?7 s- `& {9 \; \) S5 D
  705. ; Paths and Directories ;8 ~' `  X- Z6 i* f) }% O3 w5 ^- @
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    + T8 k- l9 ^. [

  707. 4 ?* J% L* U: d. @1 Z
  708. ; UNIX: "/path1:/path2"
      |: \  U) \2 Q) T( S9 E; s- C
  709. ;include_path = ".:/php/includes"
    0 D' {5 n8 n, d7 \. ]
  710. ;3 H3 q9 y/ `; Y$ k0 |9 U
  711. ; Windows: "\path1;\path2"
    8 ]& F+ q. Q6 N1 e2 `  f) K. U
  712. ;include_path = ".;c:\php\includes"3 z7 l& c3 E" f7 s& P
  713. ;0 A( j6 O. X" o* z* }0 V) O
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    ) e1 ^0 ^2 Y9 ^9 K
  715. ; http://php.net/include-path
    8 |; Z, P3 q! Y: `7 x! M5 a6 T/ ?6 z  v
  716. ( ^& @& U5 Y  R4 w' E1 \; G
  717. ; The root of the PHP pages, used only if nonempty.7 J+ T5 y- M  `! k- r+ _
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    & T9 p9 W, e0 p1 Q6 I
  719. ; if you are running php as a CGI under any web server (other than IIS)2 j. a, h% G3 e8 |4 `2 L3 X: N
  720. ; see documentation for security issues.  The alternate is to use the2 I: i8 z. R! {6 \
  721. ; cgi.force_redirect configuration below
    ) w+ ^, G  L* j4 Q$ C! j2 M) D3 s
  722. ; http://php.net/doc-root
    $ D1 ~# E  E1 C. [! K6 J1 B# T
  723. doc_root =2 h, {6 g  x+ H' u  l! V

  724. 8 b% ^2 E" `+ v* d3 f5 }
  725. ; The directory under which PHP opens the script using /~username used only
    & R) z4 H( ?% }4 r# H
  726. ; if nonempty.
    , H/ f8 R% j) g+ v4 q' z
  727. ; http://php.net/user-dir
    1 y; ~  R2 g' b, _( b
  728. user_dir =3 o- Q! J9 F3 a! J, m; k4 i

  729. . Z" W% @  ?3 ]0 _. e- k
  730. ; Directory in which the loadable extensions (modules) reside.
    $ D6 C, Q! [/ w' Q- \! a! _: q3 y
  731. ; http://php.net/extension-dir
    4 k! _; M# {5 K2 t0 w" V
  732. ; extension_dir = "./"
    3 C( @+ k, K7 I
  733. ; On windows:
      K6 K8 m1 ]4 i& m
  734. ; extension_dir = "ext"
    4 \5 }/ I/ y4 s
  735. ' G$ T% {- F2 h# |0 E4 |
  736. ; Directory where the temporary files should be placed.
    $ [: w4 S- T, _0 p6 L  c2 j8 r
  737. ; Defaults to the system default (see sys_get_temp_dir)
    4 j* H  _/ q" a, D1 N$ s
  738. ; sys_temp_dir = "/tmp"
    ! |/ G" A0 F' t! Q

  739. % g8 i+ y9 P2 q6 c7 p, U) K" O
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    - D& n* E; s4 _* F/ l1 I! I
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    2 ^) e/ q! `3 G& A& G5 ?/ U3 b. e% W
  742. ; disabled on them.. R7 {7 W* Y. C. X
  743. ; http://php.net/enable-dl! t: P2 U- c# E
  744. enable_dl = Off
    " ?: r0 Q1 s$ X+ |% [7 j
  745. 3 c% Y* u6 k+ J% K. V- p: d8 [
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under& e; d* u$ u1 e+ z- Z) E& O0 o
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    * N3 _8 ]0 b+ t6 w
  748. ; turn it off here AT YOUR OWN RISK
    7 E4 d6 X+ k  o. m$ Z& q; K2 o
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**: a+ D5 h5 v. k1 D
  750. ; http://php.net/cgi.force-redirect! v( s9 e) b2 Z2 {+ a& d& H
  751. ;cgi.force_redirect = 19 h  q- v7 R7 u* ~) b
  752. 3 Z6 F8 _" w# V
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with8 b* o! L: _) X$ B% Q' q
  754. ; every request. PHP's default behavior is to disable this feature.
    ; B0 f* R& ?7 h4 N& E" ]
  755. ;cgi.nph = 1, M8 ]# Y9 O9 D! h7 }

  756. " B3 ~( c# j2 \7 V1 a
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape' A: J  W1 W- v' ]$ K
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP, _4 @6 e6 `* c8 I
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    - k/ H8 H" t- `; D$ b; q
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    ( A4 m$ i6 e4 ]/ Y" b% |
  761. ; http://php.net/cgi.redirect-status-env
    ; ]( f% x$ i& C6 C, p+ C
  762. ;cgi.redirect_status_env =
    % M6 N/ o( p7 L) `0 K1 s+ Q! ]

  763. / j/ [/ o/ q8 t4 x+ z
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's8 i# f* I. a3 f& l1 n# _
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok) N. |- ?3 k# K8 p+ G# S3 }
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting. n$ r+ S. ^! |: ?/ [
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
      w7 C' z# [% \: _3 W/ z% `
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    - G/ g" A. }3 K
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.; b6 O' H+ ]: i' y( }
  770. ; http://php.net/cgi.fix-pathinfo
    : g: ?; y, m% T  F& B
  771. cgi.fix_pathinfo=1
    : A; V; Z9 u* y) G0 B
  772. + i/ y5 P* ^  n) m* E1 }( b
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
      C8 g0 e8 B' t" r3 V( I9 \
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    / n; H$ I- W4 G3 i' f5 {1 K( t" `% u
  775. ; http://php.net/cgi.dicard-path' x" w% F" [$ U( z% Q0 [( u# p
  776. ;cgi.discard_path=1
    - O' d$ u( g% V; f2 c  _. i$ T4 Z

  777. " m/ D' T' o5 `6 c2 H$ l3 j
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    - n, z& S, V9 ]# M
  779. ; security tokens of the calling client.  This allows IIS to define the: E9 r7 Z. ~( I$ b7 l* X" B/ L
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    0 k3 T0 {6 z! v3 V2 G( E& a
  781. ; does not currently support this feature (03/17/2002)$ D; r+ D4 m* A) x6 C0 S
  782. ; Set to 1 if running under IIS.  Default is zero.
    , u0 \* f( G0 x, }) Y
  783. ; http://php.net/fastcgi.impersonate( l7 k& g" a# ?- J* K  \
  784. ;fastcgi.impersonate = 1
    , Q% ?+ }; n: N! y: o! n; I9 Y

  785. 6 ~( O( C2 A% }# @% b; P) c
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable: i8 }) B$ d" b& n7 H# p3 K. W# J
  787. ; this feature.
    & v0 a+ a; ^' q3 D0 o% l
  788. ;fastcgi.logging = 0
    - [1 q" i3 e6 d2 u) S7 ?; E. L
  789. 9 e4 Z  D7 J/ g% H+ o4 T& U
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to, K# S: t% B( I  {9 F/ I6 \
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    ; E* p) l4 q/ ^; a2 H- u0 r, b
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    1 E# A) p+ N, Y- y! L
  793. ; RFC2616 compliant header.
    ) J4 F+ a( o! m& t  e- A9 W
  794. ; Default is zero.
    8 p0 X2 J: b& D' d; s+ u, M
  795. ; http://php.net/cgi.rfc2616-headers) G% O8 n% |- D1 n9 e* ]
  796. ;cgi.rfc2616_headers = 0
    1 @, Q- B' ^7 O! K- j
  797. ! h% j9 k8 b' k* X/ c7 L& S, G
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!4 C; l& m- @0 S. S0 ]
  799. ; (shebang) at the top of the running script. This line might be needed if the, \3 p2 `- V$ y) `6 a
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI- L# ]* S3 A4 A) \$ {* R
  801. ; mode skips this line and ignores its content if this directive is turned on.5 t& V5 M" F; C
  802. ; http://php.net/cgi.check-shebang-line
    - y! u+ C: u3 N; Y! W( k) |0 P
  803. ;cgi.check_shebang_line=1
    1 F$ N( d1 ]9 Z' D" N8 E3 R% \2 F$ i
  804. 3 t! E" k5 s' m1 b
  805. ;;;;;;;;;;;;;;;;& S8 Q. W  a% v6 E4 `! w2 d" a9 m) s2 m
  806. ; File Uploads ;" f3 `9 c5 ]. L( n3 U1 c" ]+ K
  807. ;;;;;;;;;;;;;;;;
    8 C. H$ S$ R: J& Y5 I. S

  808. " G- O# Z7 Z* L( o7 I' c; q
  809. ; Whether to allow HTTP file uploads.1 Q! A) }; z/ S4 C9 i, F. J: w8 g
  810. ; http://php.net/file-uploads
    / l# R1 L# k4 Y8 W# e* S; K% X5 O
  811. file_uploads = On
    " j8 x# `( P5 }: g4 g; M! r

  812. , ^5 c; f5 \/ L4 s
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    + T& W, l5 F4 d% ?
  814. ; specified).4 a$ `  ~: \$ ]$ B) L
  815. ; http://php.net/upload-tmp-dir
    1 a3 C) F( o5 Y) A% Q) o
  816. ;upload_tmp_dir =
    * d' {( ?. z& w% Q' E8 y

  817. * F7 Z7 j* ^: G: ?
  818. ; Maximum allowed size for uploaded files.+ I; Y# j$ ?8 N* Y, Q, H
  819. ; http://php.net/upload-max-filesize
    6 j8 z$ r+ e8 z0 l! k8 D
  820. upload_max_filesize = 50M, `- E% s9 |) j3 k
  821. . P+ K: q: W5 `, x( I
  822. ; Maximum number of files that can be uploaded via a single request8 _8 ^1 f7 q2 ]# p) K0 ]
  823. max_file_uploads = 20
    6 p! G  Z& T& u  X: E! i

  824.   p/ H  {& z" x/ {. W
  825. ;;;;;;;;;;;;;;;;;;
    + }  ^5 w7 U, z& Y! d0 l! N) X- M7 s
  826. ; Fopen wrappers ;/ J1 q2 r5 N% n" g
  827. ;;;;;;;;;;;;;;;;;;; _, ]7 ^! \) j* Z+ @
  828. & w) K+ D6 U1 W# z3 g! n
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files., g4 d$ P" F: A3 V, [9 }2 ^, Q# {% |
  830. ; http://php.net/allow-url-fopen* }) t' Z% B2 `
  831. allow_url_fopen = On% W# }$ {$ M; K$ K
  832. * F+ D, e. H5 M, @( v+ L- ~) q4 K
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    # F$ O. O$ m: R# x& x# s: T& u! |
  834. ; http://php.net/allow-url-include: B+ B1 Q" A4 H6 A
  835. allow_url_include = Off6 L) E; D& ]# ^

  836. 0 G0 \, Z4 m4 {, z$ U
  837. ; Define the anonymous ftp password (your email address). PHP's default setting6 T0 V4 y6 q1 Z5 f
  838. ; for this is empty.. U% Q8 T0 j$ N% J) p" t7 w
  839. ; http://php.net/from
    + G8 n* x( G3 \: a" ?1 `; j
  840. ;from="john@doe.com"$ z: m) b. B7 V8 q

  841. 7 P& f: T: }6 N5 ?' u+ H+ W* ^
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    1 `1 s7 o) q" c- Q( K5 R5 I
  843. ; http://php.net/user-agent
    2 R# i: u. o/ i: ]' g$ o
  844. ;user_agent="PHP"# }) `4 x( ]: F, ]# L
  845. ( Y) e0 N; r' \! w
  846. ; Default timeout for socket based streams (seconds)
    & ]; c7 b& i, x, M, B$ P
  847. ; http://php.net/default-socket-timeout
    0 f9 D* }  _* Q( l8 M4 s! D3 ~
  848. default_socket_timeout = 60
    5 L* m8 d3 P3 B" m6 o8 X& \' ?

  849. 8 Q+ h) v) N/ |- F: x9 l
  850. ; If your scripts have to deal with files from Macintosh systems,+ e) b$ r& }; K% r5 [2 F0 @
  851. ; or you are running on a Mac and need to deal with files from" y3 {* Y* s8 r/ {$ y) {0 R
  852. ; unix or win32 systems, setting this flag will cause PHP to
    & a- W# H6 h3 F4 m+ k  V
  853. ; automatically detect the EOL character in those files so that
    % w8 T( D/ ^# ^  S+ f7 k
  854. ; fgets() and file() will work regardless of the source of the file.; |/ J  X' d$ e( f- {% `
  855. ; http://php.net/auto-detect-line-endings
    . o5 t2 H) F( C
  856. ;auto_detect_line_endings = Off) e0 \6 y- a$ _& F
  857. / M3 e/ p+ T- h  \/ c- U
  858. ;;;;;;;;;;;;;;;;;;;;;;" n0 P% w! _/ z5 f: q% f! b
  859. ; Dynamic Extensions ;
    : R2 {* `6 F! |
  860. ;;;;;;;;;;;;;;;;;;;;;;" l' j/ ]( |. |3 X0 Q: z

  861. * N( B& U! c: N) c
  862. ; If you wish to have an extension loaded automatically, use the following; o9 u# v0 Y! ~' M9 b( M8 f" C( U
  863. ; syntax:/ j$ q  K% a2 N7 [
  864. ;' F" a1 {$ Z6 h% A4 o/ @5 g8 M
  865. ;   extension=modulename.extension
    1 M; m! G( r# m$ m* t) J( X/ y
  866. ;5 v' G9 l; v" O- w
  867. ; For example, on Windows:
    - F4 O2 o0 _3 h' }/ k0 ]$ b$ h  f
  868. ;
    9 n8 N  w- q9 Q& }: a" X
  869. ;   extension=msql.dll
    5 R% j7 t! }0 [0 j  p7 u3 p6 L
  870. ;9 r0 P. z# O7 U. O7 x2 U
  871. ; ... or under UNIX:: ]" M5 a5 t3 L9 n" T+ j
  872. ;
    - j6 m7 @; n- g+ r1 P
  873. ;   extension=msql.so
    9 \* Z8 l) |7 z1 y- Z) S
  874. ;
      d2 z5 R" s, }3 m7 r
  875. ; ... or with a path:
    * [. _' A+ E9 i) t; d$ W. m  R
  876. ;% f$ z/ N7 |" y
  877. ;   extension=/path/to/extension/msql.so
    7 I# l% {! r6 C! R, d
  878. ;% e6 m' L) l0 D/ s) E
  879. ; If you only provide the name of the extension, PHP will look for it in its
    ; u+ N3 D1 R; F7 x( C3 r
  880. ; default extension directory.
    ; [8 t8 t: J1 ?+ C) l2 ~: C  A+ [8 a
  881. ;
    . ]6 L; T0 r& ^; m+ l! q
  882. ; Windows Extensions
    + W& V! M$ W% T  G6 U$ Q
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    ( W: H3 l) y- F" S8 S5 o
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5): ~+ d- }: |6 l, S6 z  [9 }% f
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    5 Q; I3 ], D: {7 y
  886. ; Be sure to appropriately set the extension_dir directive.# m: T( H5 W) J7 i8 |, r' V1 S
  887. ;
    ) u- b8 [: [. u1 k1 W+ Z
  888. ;extension=php_bz2.dll; _: x$ Q# J" X4 S7 f
  889. ;extension=php_curl.dll1 \+ q: j) O* D. I1 e& N
  890. ;extension=php_fileinfo.dll0 k$ z4 I! D+ t2 E
  891. ;extension=php_gd2.dll
    6 U, G6 j. g4 r% s2 m" p
  892. ;extension=php_gettext.dll5 e. _6 o  D8 B$ @/ z
  893. ;extension=php_gmp.dll6 ^& @, a" l1 @8 l1 x5 ^
  894. ;extension=php_intl.dll4 d; [; g* V- ~$ ^8 P
  895. ;extension=php_imap.dll
    3 L& d/ ]+ I( K" C
  896. ;extension=php_interbase.dll# B6 ^& d  p" {. o+ g
  897. ;extension=php_ldap.dll
    8 z- w* J% `& \
  898. ;extension=php_mbstring.dll
    , s$ o+ s5 ^  N( @% I
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it  A5 n' z5 m! s
  900. ;extension=php_mysql.dll
    ' S' V6 m- O7 Z+ }3 }4 R3 C
  901. ;extension=php_mysqli.dll
    5 j4 M8 ?, D. d& u* r- A" g$ o
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client$ Q4 e9 {: T0 h
  903. ;extension=php_openssl.dll* y- s- }4 i% Y9 H7 @% o2 x
  904. ;extension=php_pdo_firebird.dll) d) u# d; o3 J% ^
  905. ;extension=php_pdo_mysql.dll
    5 D) B2 G. x3 D
  906. ;extension=php_pdo_oci.dll
    % S! `8 H7 v! M1 G# @( A$ Y) I! c
  907. ;extension=php_pdo_odbc.dll+ y" v; d" |8 j, L2 b- @9 y) y' `
  908. ;extension=php_pdo_pgsql.dll$ W$ q& k7 o7 t, J2 ~7 N0 T2 C% G
  909. ;extension=php_pdo_sqlite.dll( w% o, E( Z1 O1 }
  910. ;extension=php_pgsql.dll" p( ?2 k9 h8 V; R/ N1 i* G
  911. ;extension=php_shmop.dll5 ^! O7 T% ]- }

  912. 0 f* D- }1 z- R% b; m
  913. ; The MIBS data available in the PHP distribution must be installed.
    ; v' r% y) S; c( b7 w, k
  914. ; See http://www.php.net/manual/en/snmp.installation.php 7 \  T2 \3 d1 k7 d& m8 R
  915. ;extension=php_snmp.dll/ }# j$ t) a6 E/ y6 R0 D0 K4 O
  916. 2 e/ ?6 K/ N( D: D( T# I! k
  917. ;extension=php_soap.dll- E% L1 M& {% K+ [5 V1 h% e% F
  918. ;extension=php_sockets.dll: X* D% ]. r! L& C( r/ E( u
  919. ;extension=php_sqlite3.dll# f* n# \& m7 P; G6 b' f0 b
  920. ;extension=php_sybase_ct.dll& ~) k) j" o- a% H
  921. ;extension=php_tidy.dll' o2 q) o3 M% r" C  w: H7 D% w- B
  922. ;extension=php_xmlrpc.dll( ^: b+ [9 j' B; S' s- A  n4 K
  923. ;extension=php_xsl.dll
    3 N  P' G6 O1 J# I, T

  924. + `9 n+ s  B/ L5 ]& R3 \: B" {8 Y0 ^
  925. ;;;;;;;;;;;;;;;;;;;
    2 N7 z5 T6 f: J( I
  926. ; Module Settings ;  L9 [: D6 P& t$ ^
  927. ;;;;;;;;;;;;;;;;;;;( Z$ ^& ?9 G# ]
  928. 7 @6 Z& l% z. _' V# ^
  929. [CLI Server]7 z) t- E6 l) j! V4 v7 R
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.- J4 A2 _0 j) t5 J8 L
  931. cli_server.color = On% E$ I/ D" a: m) i" S

  932. 2 x  ?7 m" e: H7 V: d2 \
  933. [Date]* Q0 O9 N& o# W# S! f/ f
  934. ; Defines the default timezone used by the date functions
    2 N' b3 W  C& W
  935. ; http://php.net/date.timezone
    7 Q' d& O$ V$ P
  936. date.timezone = PRC
    8 ]! }6 I- \% q
  937. : ~2 e) W: t4 n" c: p
  938. ; http://php.net/date.default-latitude
    7 ?+ c# [% O: l/ k2 ]/ [0 u+ D4 S
  939. ;date.default_latitude = 31.7667
      i3 ?! p0 G& b
  940. . L% o0 C9 n9 b1 ?+ F) n
  941. ; http://php.net/date.default-longitude
    + N$ s# I8 A9 P5 b: L2 A  M
  942. ;date.default_longitude = 35.2333
    5 ?* `- s: C: {* u: @! S" z1 b
  943. ( i  }! r; ]) \/ P
  944. ; http://php.net/date.sunrise-zenith1 ~8 s% U1 x1 X  x6 g2 e+ L: B
  945. ;date.sunrise_zenith = 90.583333# f1 X! H* x, ?! L3 a9 @& c. z5 X5 i

  946. : ^, Q: B0 p7 F9 X/ y
  947. ; http://php.net/date.sunset-zenith# P/ x: p+ h2 K9 {( ?+ ]) q1 a
  948. ;date.sunset_zenith = 90.583333# _: Y2 |6 k  l' M3 Q  w3 M. H

  949. 9 [6 o: E3 U: h4 k/ W! o0 |
  950. [filter]! g+ @' P9 b+ p6 H! [- r) t, W# g
  951. ; http://php.net/filter.default8 A" Y" @3 e0 s$ p3 v
  952. ;filter.default = unsafe_raw
    8 s: d6 l1 x9 [" `
  953. " T8 e5 ?8 N- F7 j/ q) v
  954. ; http://php.net/filter.default-flags# w9 i5 A* P. ]! x
  955. ;filter.default_flags =; V. |5 ?# {  e% d
  956. - v/ E% D% F& g' P& y$ U8 F+ w
  957. [iconv]3 W" ?% h& s6 a4 W- u6 F
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    - q" x8 V! E" K/ y: `
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.7 x. t$ ^" G, [) c0 e7 m, v
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding% ?$ y8 E9 |6 D  h  H$ `
  961. ;iconv.input_encoding =3 N- D: B: Z9 [3 f
  962. . j- h$ K/ u% U$ A" K3 \* Q
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.* @/ z% \& p6 f- D
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.1 `; ?* j# T" C& N" v# ~
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding6 O1 i5 h1 b6 w' @, x
  966. ;iconv.internal_encoding =* W4 k- M. W$ r' U8 e" ]* g
  967. 0 z# a8 f+ ?1 ?( h/ Z
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    % o) x5 L% t! \* h' g  n0 I
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used., F+ x; f0 m( P
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding& s+ O3 B9 X! l& I& U
  971. ; To use an output encoding conversion, iconv's output handler must be set
    , r3 R% y- Q: B3 f: O
  972. ; otherwise output encoding conversion cannot be performed.
    5 p: I* B7 u' a9 k
  973. ;iconv.output_encoding =
    - C" s) b, j7 Q# A0 m: y

  974. & p$ @* @' T( o2 Z& _0 T. d
  975. [intl]
    " [8 H" d6 j1 n1 C. u" i
  976. ;intl.default_locale =
    9 P# @, a# e: ]1 u$ e1 ]
  977. ; This directive allows you to produce PHP errors when some error
    6 O; d/ Z1 M, Q$ P. a  N# K
  978. ; happens within intl functions. The value is the level of the error produced.7 s9 {2 j1 {$ f% Z- A
  979. ; Default is 0, which does not produce any errors.
    ( f' T) j' P9 f6 R  x; M  F
  980. ;intl.error_level = E_WARNING
    - _( j; m. H4 C2 z' C2 N, {
  981. ;intl.use_exceptions = 0
    / U. L. Q9 H' i& B* k
  982. . N' J9 S! f3 C5 z' h1 Q1 u, K
  983. [sqlite3]
    : a( r& E& h9 m4 Z
  984. ;sqlite3.extension_dir =
    ' p4 N9 C9 g% N8 C
  985. : h! z( M9 W! |, K4 r4 _
  986. [Pcre]! I/ t$ `% J! [3 A2 _2 G
  987. ;PCRE library backtracking limit.( E% N8 z1 i1 S1 G+ ^5 A( T
  988. ; http://php.net/pcre.backtrack-limit0 z4 w/ S7 ]( t# ?
  989. ;pcre.backtrack_limit=1000008 F* `. ?% @$ j; f" C# ^; b

  990. " \, T2 N! _: q; V- d
  991. ;PCRE library recursion limit.
    2 x" g( {- o; X, O9 j' S6 R" K1 E
  992. ;Please note that if you set this value to a high number you may consume all
    ; G- j% X# K* t& A( x
  993. ;the available process stack and eventually crash PHP (due to reaching the
    0 x& I$ s4 H* e: b
  994. ;stack size limit imposed by the Operating System).
    % P, O: ?$ W( L/ Q) E3 |8 P* Q
  995. ; http://php.net/pcre.recursion-limit
    8 u5 T# I2 w0 h3 D- @; }+ d
  996. ;pcre.recursion_limit=100000. w% G4 ]9 ]2 C/ m0 e- w
  997. & [: M, B% `; f3 O/ m$ L1 g
  998. [Pdo]
    6 `" _# q! |9 z8 b
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    ( `' e' y6 Q6 d0 n
  1000. ; http://php.net/pdo-odbc.connection-pooling8 i% f3 r# L# l6 \( @6 y: h
  1001. ;pdo_odbc.connection_pooling=strict
    + u/ U% M* Z3 K0 P+ A

  1002. , N8 N! j& t6 O% c* l! M( G# k5 r
  1003. ;pdo_odbc.db2_instance_name8 L" p* \2 t8 E/ g4 g* {
  1004. & G. m' B! e5 f; ~
  1005. [Pdo_mysql]
    ) m0 E8 L" S* z9 w  I; u
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    " }& g* \, W- {5 o
  1007. ; http://php.net/pdo_mysql.cache_size
    - D8 p6 ~- ~; B' Q6 y$ V
  1008. pdo_mysql.cache_size = 2000
    ) a6 D  V: c. C6 [4 x9 o
  1009. " i" x) D" p* h2 H% L0 X) `  o0 t
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    + E0 j% X2 D+ d5 G2 \& J
  1011. ; MySQL defaults.8 m+ G. Z( V) {! D# M
  1012. ; http://php.net/pdo_mysql.default-socket
    : c. Q- y' A4 g7 w9 z1 R
  1013. pdo_mysql.default_socket=
    5 y0 H* Y6 {! r# r4 k" H

  1014. 6 s7 }1 b; K# ^- p) a* l
  1015. [Phar]5 ?6 O9 u: h; i6 p/ Y# v
  1016. ; http://php.net/phar.readonly" d7 q) h8 m' o- v- o3 K
  1017. ;phar.readonly = On
    ( d# s; d3 c1 S! T$ C4 W
  1018. * c$ H; q2 Q4 o5 J+ w
  1019. ; http://php.net/phar.require-hash
    ( n: N/ j3 K# V& d
  1020. ;phar.require_hash = On
    9 d) Z7 p& q  I* ^

  1021. ( K* ~/ P1 X/ `" ?+ |; V* o4 D5 l& Y
  1022. ;phar.cache_list =+ j0 u5 T3 |( S2 W6 m

  1023.   f. b8 }; J2 w3 S9 b
  1024. [mail function]2 s  o; s, N, Z" q4 y4 R
  1025. ; For Win32 only.
    : }6 ~* A) i2 @* N9 o5 r
  1026. ; http://php.net/smtp  v1 D. f1 [, v$ ^9 Z
  1027. SMTP = localhost
    % q2 V6 _& f3 s% h+ Q7 Z8 |
  1028. ; http://php.net/smtp-port1 e  s0 h  s  F; X* t! |! J$ s2 U
  1029. smtp_port = 25
    - i, Z1 W9 {8 f" ^
  1030. 3 G2 P0 N9 _/ J8 _0 k; y
  1031. ; For Win32 only.; W* R% |) U, j# f
  1032. ; http://php.net/sendmail-from
    1 e" {0 D. k3 n6 D4 K! f1 k7 k- v  m' ?
  1033. ;sendmail_from = me@example.com% F' O$ e) p* y6 J- M1 v. l, s7 E

  1034. 5 |" C7 n0 }: C& {- R
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").2 i) A) [) ^% ~3 z
  1036. ; http://php.net/sendmail-path7 t4 S: r' T2 _, T+ F+ o
  1037. sendmail_path = /usr/sbin/sendmail -t -i0 P7 R) K' Z% n$ e
  1038. % S6 I; g9 g# k, f
  1039. ; Force the addition of the specified parameters to be passed as extra parameters& g: J( ^' }* J" m: F& U1 n1 C0 }4 Q
  1040. ; to the sendmail binary. These parameters will always replace the value of  U& r8 l( f$ r+ B$ H
  1041. ; the 5th parameter to mail().6 y, k& W. _6 w9 x. y
  1042. ;mail.force_extra_parameters =. `6 V* j  [0 S# h! q. f' x" D

  1043. ! h  B' A9 I; H. \, M* H) L, T
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename* Z" O. B) m. \( P, r# j9 u
  1045. mail.add_x_header = On8 N8 d1 N* D! I4 V

  1046. 6 ?; H# {; t% m9 n' H2 Q
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    . g1 K: Y* b; R4 \5 c. {
  1048. ; the full path of the script, line number, To address and headers.
    : y2 ~+ a9 A! b! M
  1049. ;mail.log =
    7 H' i. h/ O8 E! W
  1050. ; Log mail to syslog (Event Log on Windows).- x) o7 P* ^( H/ M1 `
  1051. ;mail.log = syslog
    . a& ~/ X6 u/ ?* J0 j
  1052. 2 ]9 W0 v3 o& @) v# c. N! n) [
  1053. [SQL]
      {6 T1 d6 o# U
  1054. ; http://php.net/sql.safe-mode' e4 C4 X, ]. B7 o
  1055. sql.safe_mode = Off
    9 @9 f3 N0 q# f+ w

  1056. 3 {* F1 I+ p! m" r6 z' r
  1057. [ODBC]
    5 [- ~8 l# r3 l
  1058. ; http://php.net/odbc.default-db+ v4 r% x* E! l1 [& T& p
  1059. ;odbc.default_db    =  Not yet implemented
    2 K' _1 x+ _" Y

  1060. 2 b6 U/ b5 |1 _# ^3 T. W- K% ]
  1061. ; http://php.net/odbc.default-user
      ]. y2 ?+ F; {* m5 m. u/ J6 Z& p5 m
  1062. ;odbc.default_user  =  Not yet implemented3 c0 ?4 U* ~0 ]0 h; l7 W+ P" C
  1063. $ o* y* }9 [" P) n! n
  1064. ; http://php.net/odbc.default-pw
    & w. K0 Y0 _6 f/ t5 ~- {$ c
  1065. ;odbc.default_pw    =  Not yet implemented$ G6 o! Y& c. ?1 ]/ j% m" }+ k

  1066. + g0 c  b1 R, u. n& {1 ?6 T1 s, j
  1067. ; Controls the ODBC cursor model.% y) p3 [7 Q+ V# Y: f# `$ F% K
  1068. ; Default: SQL_CURSOR_STATIC (default).
    0 S  A0 a: v7 e  p( R# e4 C
  1069. ;odbc.default_cursortype
    4 ]6 ~4 f  Z1 [9 F

  1070. 9 b0 l, i7 b' X  V$ w' P
  1071. ; Allow or prevent persistent links.* W+ f/ s- h$ S4 m
  1072. ; http://php.net/odbc.allow-persistent$ Q3 M5 J4 @# p- _1 L5 l+ }: X
  1073. odbc.allow_persistent = On, q4 O9 e# r! W5 L( P
  1074. 2 U+ w: H- m& E/ K, r5 Y: V
  1075. ; Check that a connection is still valid before reuse.
    0 d5 d: P" h- h" |0 z" m
  1076. ; http://php.net/odbc.check-persistent
    + p+ B( e5 V+ V  X5 w3 R
  1077. odbc.check_persistent = On
    9 G* v' k) H7 T7 m

  1078. 2 K; I( i/ W, O" y! v% Q* R2 |
  1079. ; Maximum number of persistent links.  -1 means no limit.
    $ n/ g. u! K2 Z) n" M7 w
  1080. ; http://php.net/odbc.max-persistent# b1 l8 L$ k2 q2 g4 m# F  ?+ n3 X
  1081. odbc.max_persistent = -16 v( B4 D7 U' s* r6 N/ o
  1082. 9 x; ~! r0 e/ N6 m
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    8 a6 s  k! [( ?" B: a" a
  1084. ; http://php.net/odbc.max-links
    + W8 i0 q+ c, O" H/ K4 `
  1085. odbc.max_links = -1
    9 Q: ^5 }: i$ l; O9 T& p
  1086. 5 X7 G& K2 C# ^  v
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means- x2 G: G2 e" W0 x1 W  V; O, `8 d
  1088. ; passthru.
    * m  |" _, l0 V' r' b
  1089. ; http://php.net/odbc.defaultlrl
    5 u* `4 S8 |1 f) f; c; r4 d1 `+ }1 j
  1090. odbc.defaultlrl = 40967 B' r9 s; Z1 C( U8 G
  1091. + ~- h, G- M- s$ K
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    9 I4 u6 F; S& z* U. L2 [) t2 {
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation! u! o& _, m, j
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode5 C' ~: Y( q2 W) z7 d7 G& ]+ Y) _
  1095. ; http://php.net/odbc.defaultbinmode3 _$ d# E' l" P' [9 y- l/ q. ~: {
  1096. odbc.defaultbinmode = 1
    8 l. D# @6 g8 w  o% H7 c

  1097. $ l/ j3 N# `! k: q
  1098. ;birdstep.max_links = -1
    . N! P% K# [3 w- E! J% Q
  1099. # b) p  H6 M: r% ], r/ _
  1100. [Interbase]
    * S4 Z3 `1 j; T4 ^# w2 h
  1101. ; Allow or prevent persistent links.; k9 u5 u* E# |0 l% |
  1102. ibase.allow_persistent = 1
    ) `. _) e' @- z) ^9 \5 Z
  1103. * u( k+ Y. n3 v
  1104. ; Maximum number of persistent links.  -1 means no limit.# j; s  M2 t! `) ]. _
  1105. ibase.max_persistent = -1, n, ~- q5 V9 Q- J

  1106. 0 b! I0 l, T5 Q* k
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.) T) `, e2 s2 r2 F7 R! U3 y
  1108. ibase.max_links = -1
    2 j+ m4 K( H1 d; E: e3 W

  1109. $ E8 a1 d' z4 k* ^8 t$ u( D1 D
  1110. ; Default database name for ibase_connect().
    . z4 t9 m, z$ U* w" t
  1111. ;ibase.default_db =7 Z% K6 D$ o1 b1 ?

  1112. + [! S0 e7 |: X1 V
  1113. ; Default username for ibase_connect().* w* A! }" w: i0 X0 g2 [
  1114. ;ibase.default_user =' k( l3 l) w+ C* b# k
  1115. . L1 Z! L' ?  C6 }
  1116. ; Default password for ibase_connect().
    5 X) e: Y$ w& z- P8 v
  1117. ;ibase.default_password =: r1 m) U/ O3 t! t1 c
  1118. 6 \8 G, B' t- l( L2 [! U
  1119. ; Default charset for ibase_connect().
    $ I( g7 x2 `4 T0 T. [" I
  1120. ;ibase.default_charset =
    0 c4 ~) N7 s! O6 C$ @$ a4 j" ^

  1121. 1 [! V6 |+ S. y( d8 s) u& O
  1122. ; Default timestamp format.
    , F1 V' J) F! ]5 H8 i
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"! q1 T" ~' d- S6 n5 H$ I+ B& B

  1124. & e5 r/ H1 A( O* U, P
  1125. ; Default date format.
    7 K: R4 ]+ u* u5 R
  1126. ibase.dateformat = "%Y-%m-%d"
    ) c) d6 e7 r' C

  1127. 1 y% m, }# c6 v" }7 B' H1 [
  1128. ; Default time format.! @' d) m+ r- j
  1129. ibase.timeformat = "%H:%M:%S"
    - J8 u, _  {( z$ `
  1130. ) ^* e! k8 f% y# J; o7 Y- p3 S
  1131. [MySQL]0 H+ N5 K& M" @9 Q
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    + t, _. G  O3 u& i! i* F8 B  c+ W' U  A
  1133. ; http://php.net/mysql.allow_local_infile
    " `4 H/ u. T7 N6 E" a  J
  1134. mysql.allow_local_infile = On$ ~( O# x. K  @/ t
  1135. - `- p; L& `  H0 A* Q3 i" d
  1136. ; Allow or prevent persistent links.
    ' W! E& e; V; P* J4 ~* h, i8 H
  1137. ; http://php.net/mysql.allow-persistent8 l! D- A3 K( {6 O7 L
  1138. mysql.allow_persistent = On  [" V2 A' u+ Y: J+ b& A

  1139. / y. e& X. n; @) z3 a
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    " e  `$ y% ~0 Z3 Q0 p) j# B
  1141. ; http://php.net/mysql.cache_size
    & b$ ?2 E( g) u
  1142. mysql.cache_size = 20001 l1 \4 ~* T* ]6 O. o

  1143. 0 t# F- }- `% c/ ]0 a2 M
  1144. ; Maximum number of persistent links.  -1 means no limit.* Y! Z) |  m# k; E- R9 H9 _9 e
  1145. ; http://php.net/mysql.max-persistent
    % @2 C- C( G) p4 }) S+ M
  1146. mysql.max_persistent = -1
    7 W4 W  @: c: K) {& J

  1147. - H  f6 U7 [% _7 |; U; N* N9 {  M
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ( ]* ?3 Y7 r* ]) }" [: j
  1149. ; http://php.net/mysql.max-links
    4 q# q) P2 q% U
  1150. mysql.max_links = -1
    9 b5 t9 E, r8 C

  1151. ! h- _4 Y, f/ J) s
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use) ~% k5 y5 ~* z8 T& S
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    . l- E: m3 n% Q2 F+ V3 i  ^& h5 G
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look0 B' k1 S- c" ]* {4 m
  1155. ; at MYSQL_PORT.
    ' R: ~; J" p6 T7 Q2 _+ U8 p
  1156. ; http://php.net/mysql.default-port/ Z) W) E' z0 }) x
  1157. mysql.default_port =
    2 t4 \  O6 }# @7 m6 i( |8 Z, S

  1158. ' |5 u1 z& o. P, G& @5 g
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in4 _. ?, M1 P$ [4 ^5 H- l
  1160. ; MySQL defaults.
    4 }; s) V2 [1 i4 N9 X& e5 z  q
  1161. ; http://php.net/mysql.default-socket
    * I4 h5 F  g& ?
  1162. mysql.default_socket =
    * l0 ~3 W$ x, t3 F2 y. r

  1163. $ W$ k" Q3 D% r6 e- [
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    6 D* f' s0 m( U
  1165. ; http://php.net/mysql.default-host
    + D& r4 J1 v+ m, T1 W8 `# ~
  1166. mysql.default_host =
    4 O, V/ a' i- Q
  1167. 7 ]( e) [, l2 I/ o4 `5 b# q- j
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode)./ s  J* L% P2 p: z' W
  1169. ; http://php.net/mysql.default-user& K3 U. V5 \4 _# {- E5 p
  1170. mysql.default_user =
    . M" l7 ~$ t5 D2 D% t" Z
  1171. 9 Q$ ^4 s- a& p- ^1 P4 Y# k! r+ a
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).! D  j. I$ I: U% g4 n7 i: ^7 [2 f4 T
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.6 ~1 t! U  h/ _" {; O- @  p
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    & g4 b( m1 g  B# ?  y+ U
  1175. ; and reveal this password!  And of course, any users with read access to this
    9 v" Y$ G: l+ w# I
  1176. ; file will be able to reveal the password as well.! y7 h6 H( K# ]6 f3 a
  1177. ; http://php.net/mysql.default-password' q! m7 k9 l7 L" v1 k6 S3 S
  1178. mysql.default_password =( \$ v. a7 `* k  q

  1179. 1 G/ @& O" [  D. j
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit& Q8 o' y9 U! r5 ?; S: ~1 p
  1181. ; http://php.net/mysql.connect-timeout
    3 b  }6 i+ g# V# M' ?
  1182. mysql.connect_timeout = 60
    - c; \" q! e' t+ t: [
  1183. 7 T2 R) e0 z& ]! i" @
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    0 i, B$ x( Z9 i2 R
  1185. ; SQL-Errors will be displayed.- [+ ]. M" ^  V
  1186. ; http://php.net/mysql.trace-mode
    3 Q7 a3 ]; C, E0 C
  1187. mysql.trace_mode = Off
    8 j* Z2 \! f: S. B# K; i

  1188. 6 _+ _! L$ A. q$ ?
  1189. [MySQLi]
    ; N+ q) B8 e+ P4 `8 C0 H

  1190. : G8 C5 f8 C+ l& W: M% d
  1191. ; Maximum number of persistent links.  -1 means no limit.# |. M( l2 ?  Q; U9 [' y
  1192. ; http://php.net/mysqli.max-persistent# u5 T& E  w( x& c* y
  1193. mysqli.max_persistent = -1, z+ Q, v# E9 S% h
  1194. 3 I# C  r: z* p$ h# r- D
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    " _4 Y  J, v% |
  1196. ; http://php.net/mysqli.allow_local_infile
    + _3 ?2 M$ U5 N. V; S9 m& X
  1197. ;mysqli.allow_local_infile = On9 Y& l7 M, P# \3 ?
  1198. % }0 ^' B8 w" q" n% U
  1199. ; Allow or prevent persistent links.) K: y& v( j% K& u* Y) f
  1200. ; http://php.net/mysqli.allow-persistent
    ' S( ^, Z  F& Z
  1201. mysqli.allow_persistent = On2 w  [0 w9 F/ u9 C, r. q

  1202. 2 A. G, w/ _5 }$ B2 b' Z8 i4 o) Y4 U" ^
  1203. ; Maximum number of links.  -1 means no limit.
    7 ^! X( [1 m& \, m" s% ]2 ~
  1204. ; http://php.net/mysqli.max-links- H! ^, Y' j5 k) H+ t% u( D. f
  1205. mysqli.max_links = -1
    9 b$ S' N  O' i+ J7 e
  1206. 8 b! h+ H" ?! s4 I
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ! ~' J5 b( z8 x! i: X- \
  1208. ; http://php.net/mysqli.cache_size
    9 Z% h3 p$ X- Y3 A) p. I
  1209. mysqli.cache_size = 2000" ~# {1 j, z! Y# R* a

  1210. : s  G' _5 _9 y8 p
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use8 O/ N" b, W1 v% _
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    6 }3 {: m, Z- X# U+ X
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    8 {( J* L3 Q& M' p, r
  1214. ; at MYSQL_PORT.0 \$ W! e; l4 f4 R) c
  1215. ; http://php.net/mysqli.default-port# F7 H5 P( p% }
  1216. mysqli.default_port = 3306
    : E5 i# g! J( ~! j; j

  1217. $ `. j) Y1 b1 o/ ?  y4 K: [+ E
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    / \7 v; y7 V. y1 l7 h# ~2 l8 {
  1219. ; MySQL defaults.
    + q- a' \) v/ f. @
  1220. ; http://php.net/mysqli.default-socket; D. H0 D5 J% P7 v8 K. L, r+ y' ]
  1221. mysqli.default_socket =
    . z; `- p7 g" X* M, V3 S
  1222. , y, P1 b  b3 {% n! P
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).# g0 [) S8 `% `: O# s& _: t
  1224. ; http://php.net/mysqli.default-host
    ( T; g/ L) I4 M
  1225. mysqli.default_host =
    ( g3 O1 w  S6 M+ j
  1226. # `; ^) c" m4 Z; c6 s
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).* k! {! m5 P. q5 X- |0 w9 W/ a
  1228. ; http://php.net/mysqli.default-user
    6 K6 G% N4 F. ]: g, Q6 b7 R) @
  1229. mysqli.default_user =
    3 m# f8 _- B3 p& B5 ~. Y% K

  1230. ( U* D' B9 t7 p4 N6 a7 W
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    5 Z8 \- e! @/ h/ Y* H9 e
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.9 W) F9 g. o  n, v
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    * X3 H8 j6 Y* c& n' c
  1234. ; and reveal this password!  And of course, any users with read access to this
    6 F0 V" A) |9 }. M, G, `: E
  1235. ; file will be able to reveal the password as well.( F# U8 e$ S+ P6 v% Q* X; |/ m" A
  1236. ; http://php.net/mysqli.default-pw& _& O; s: `6 b5 _* v( ^) Q
  1237. mysqli.default_pw =
    7 a' {! I: F! y7 F5 F$ b- R
  1238. 3 ^8 B- t; }' D. b: f) F
  1239. ; Allow or prevent reconnect" h8 a( }+ s' R  d7 x/ e# Q6 y
  1240. mysqli.reconnect = Off' {# o, x3 s) x* C3 p' y. f$ H
  1241. . ^% z1 r$ s7 c' q) Q: i' u- o
  1242. [mysqlnd]) `& b7 ?& N) D: E( d' v% C8 J
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    1 Z: F# Q2 W7 A* [
  1244. ; used to tune and monitor MySQL operations.! b) k7 F. U$ K3 [/ R" F! p
  1245. ; http://php.net/mysqlnd.collect_statistics' N7 f0 N( L, C$ h9 G
  1246. mysqlnd.collect_statistics = On
    , o0 l  h+ F+ N# {% n

  1247. 6 `3 z1 d! y0 s0 G5 P
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be0 \4 e/ Y2 r* L* n% {
  1249. ; used to tune and monitor MySQL operations.* y  \1 r' d; C, T+ _
  1250. ; http://php.net/mysqlnd.collect_memory_statistics8 W  h- U) w0 `( \, _0 k* S
  1251. mysqlnd.collect_memory_statistics = Off; @7 U( D. Z: c' Z+ y7 A
  1252. $ f% `0 A' `! U1 _. D5 N
  1253. ; Records communication from all extensions using mysqlnd to the specified log* k& K% r$ I+ g& W. S- t
  1254. ; file.
    # u! j' m0 ~4 a2 z
  1255. ; http://php.net/mysqlnd.debug5 r0 A, P& Z  O2 B1 c2 L
  1256. ;mysqlnd.debug =
    3 x- l* t% T+ V' E; u) |+ R& y- U; A% t. @
  1257. 1 o5 s' b/ a5 B5 @
  1258. ; Defines which queries will be logged.
    ! @; N' {+ U; _7 G! B
  1259. ; http://php.net/mysqlnd.log_mask
    4 g7 ?, q. r$ V+ |" l/ T
  1260. ;mysqlnd.log_mask = 0" m0 ~; R0 G% Y) j* m, G
  1261. / O9 @( i/ x& e* s
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.$ N* Z% B' I4 \
  1263. ; http://php.net/mysqlnd.mempool_default_size1 h8 x3 k$ h: @/ A1 z7 N
  1264. ;mysqlnd.mempool_default_size = 16000
    # k5 T# i1 w" {! c8 ?7 C' o

  1265. 6 ?- i6 O  L% u3 `" X3 X
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
      L. M) u' Q- g) o9 ?6 l5 Y9 i
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size& S1 h8 }3 R/ |; _% @
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    5 m: L4 J- |1 i, f- [1 O& V' @
  1269. # r5 j! }: x2 Q6 v& K4 ?$ Q
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in+ h$ c. \5 I7 j
  1271. ; bytes.2 c( J( |$ U6 y; _1 P! @# t' `
  1272. ; http://php.net/mysqlnd.net_read_buffer_size5 c& B/ ?8 G. V- H+ {
  1273. ;mysqlnd.net_read_buffer_size = 32768
    3 `. E# B& f- o4 b# }' j5 q

  1274. ; Z$ U) @- D/ Y1 K- Q, @
  1275. ; Timeout for network requests in seconds.
    5 }4 g, r+ P. I" R7 z
  1276. ; http://php.net/mysqlnd.net_read_timeout/ x( {# r! Q0 F* [/ j. P
  1277. ;mysqlnd.net_read_timeout = 315360003 m% S% f$ Q7 I1 k- y/ T

  1278. ( |. [9 t$ q( l; {& L; t4 H5 B
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA1 u& R; y' u$ p% l% c- Y
  1280. ; key.
    , ]+ N  ^5 E9 g6 M/ ~1 i
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    - F+ p! }8 y/ g5 ~: ]
  1282. ;mysqlnd.sha256_server_public_key =
    + J: }! d. Z! t$ ]$ k6 O  h

  1283. , S  v7 t  s: K# L1 E3 U* d
  1284. [OCI8]( K1 b! P# ?& ~, l( w2 I

  1285. # [$ S2 y" H5 I( E5 Y7 F; e0 e* c
  1286. ; Connection: Enables privileged connections using external! o2 h0 p$ I; `  U
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)( O6 L; ]) q0 R8 c
  1288. ; http://php.net/oci8.privileged-connect
    * |4 A9 c* O4 m3 ?  X$ l. Q
  1289. ;oci8.privileged_connect = Off
    9 C: G  ~! @5 e5 Z& s* H

  1290. + s0 t+ U, n$ ^; z0 Q) A4 I* n
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    ) A0 G2 x$ U) ~; a9 a) v
  1292. ; process. Using -1 means no limit.
    & X9 i; p7 ?" R, y/ ]- u8 c+ W
  1293. ; http://php.net/oci8.max-persistent
    + z, X) E0 _  T; x+ Y' U0 m1 N
  1294. ;oci8.max_persistent = -1. S# T& _! X2 m- [) W7 u) r5 @# a# y
  1295. , J0 [: L  @4 q. Y$ C
  1296. ; Connection: The maximum number of seconds a process is allowed to
    % c% b2 m$ E0 |3 V+ r- H
  1297. ; maintain an idle persistent connection. Using -1 means idle) m0 Z8 \1 {9 o3 m& c; c5 z
  1298. ; persistent connections will be maintained forever.
    ) G2 H2 l6 N9 m& }2 H
  1299. ; http://php.net/oci8.persistent-timeout' ?7 G3 X, @7 w3 U$ }6 Z
  1300. ;oci8.persistent_timeout = -1  K( w* P! g6 a# e, R+ ?, Q" t- X

  1301. ! q" p+ R  y3 k
  1302. ; Connection: The number of seconds that must pass before issuing a
    7 ~8 r2 |, Y. T
  1303. ; ping during oci_pconnect() to check the connection validity. When
    ) v: Q  Y. p1 Z! b
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables# N% o) W' \  \% U# I8 E  {
  1305. ; pings completely.
    & d9 w+ w  E4 J1 a  M7 a
  1306. ; http://php.net/oci8.ping-interval$ `+ p$ B" v+ I8 W$ F# z
  1307. ;oci8.ping_interval = 60
    # S( D2 w/ E, F- S

  1308. ; D1 Z3 P/ B9 A  F0 F- s
  1309. ; Connection: Set this to a user chosen connection class to be used
    & a2 w& j. L3 ~
  1310. ; for all pooled server requests with Oracle 11g Database Resident* t0 Y4 n9 L% ~7 B, y* u7 Z- X8 i& I
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to3 ^, N0 R) X2 o$ \1 I
  1312. ; the same string for all web servers running the same application,) D6 n) ?& _6 J$ y
  1313. ; the database pool must be configured, and the connection string must5 _) B, A) x; i& F0 M5 X7 J4 f
  1314. ; specify to use a pooled server.5 Q! \& |1 F6 W& D; z) U% B" f
  1315. ;oci8.connection_class =
    + [6 e8 g% p- j/ |3 X/ M$ s* [5 `4 L

  1316. $ \" w6 P9 H; ^5 T( e2 v7 a
  1317. ; High Availability: Using On lets PHP receive Fast Application/ `. C$ g! s# X$ Q* j+ M
  1318. ; Notification (FAN) events generated when a database node fails. The
    2 `( G% f, k0 Z* }2 ?1 m- V
  1319. ; database must also be configured to post FAN events.
    0 [9 `# \6 ]3 q+ B6 G
  1320. ;oci8.events = Off9 T7 A: c) _" W; {, o$ W: K

  1321. ' k6 j  F# r7 W+ n1 b
  1322. ; Tuning: This option enables statement caching, and specifies how
    . ^  C9 _7 ]. t$ h
  1323. ; many statements to cache. Using 0 disables statement caching.
    5 M3 @0 }7 k! D* {
  1324. ; http://php.net/oci8.statement-cache-size
    / E* I- k& l2 }1 d3 t& {# j
  1325. ;oci8.statement_cache_size = 20) C. B. Y6 C) ?  p( E* l

  1326. : c$ K5 Q  S0 S0 s
  1327. ; Tuning: Enables statement prefetching and sets the default number of7 i" e$ ^$ g9 L* D+ M
  1328. ; rows that will be fetched automatically after statement execution.
    8 m/ F$ h! Q/ _# L" Q1 u; c& q  ^
  1329. ; http://php.net/oci8.default-prefetch
    6 P) \: @5 _! A+ ~+ w
  1330. ;oci8.default_prefetch = 100
    / }4 j+ w9 I' {( u

  1331. 9 C7 E/ w6 z! e4 N6 G# r! H. B% W5 _
  1332. ; Compatibility. Using On means oci_close() will not close
    . z, ]8 f3 j4 [2 C( }( b
  1333. ; oci_connect() and oci_new_connect() connections.: S& X2 `5 Z8 f( m5 ]9 x0 E
  1334. ; http://php.net/oci8.old-oci-close-semantics0 w5 L0 K5 x5 L) N% ?  [8 ]3 F5 G
  1335. ;oci8.old_oci_close_semantics = Off5 a! K/ w; K. T. U- J
  1336. + ?6 }2 ?% ^/ E% |' T# C% I
  1337. [PostgreSQL]
    / y- P! \  g1 E, w: q; V
  1338. ; Allow or prevent persistent links.8 Q" s. M, P+ n- X1 Z  l; i
  1339. ; http://php.net/pgsql.allow-persistent
    % L- Y& V( N3 Q2 N+ ?' G0 L) U
  1340. pgsql.allow_persistent = On+ s: q& K8 j9 z: Q' T( v! O. Z8 ?/ y! ^  j

  1341. " w& K' ?+ I+ M# I* b: `9 I" H
  1342. ; Detect broken persistent links always with pg_pconnect().
    - I+ V- Z; o. n/ z1 @  N6 @% [. S
  1343. ; Auto reset feature requires a little overheads.
    3 i$ k, P- v" {
  1344. ; http://php.net/pgsql.auto-reset-persistent
    4 A3 P5 F  F% \4 b
  1345. pgsql.auto_reset_persistent = Off
      d% b! J3 i& k- b. J
  1346. + E6 w$ I6 j0 R0 }* ~/ B
  1347. ; Maximum number of persistent links.  -1 means no limit.1 n: N) x4 {. u& R
  1348. ; http://php.net/pgsql.max-persistent
    ' h" ]  u& S4 d) X; X
  1349. pgsql.max_persistent = -1
    - r2 ^+ f; F$ O" N
  1350. * i4 l- m( J% W, m# u
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.3 u& X3 G# m2 a/ N
  1352. ; http://php.net/pgsql.max-links) ^8 r3 ^( |/ e5 r% D2 G( K3 ]8 D4 w
  1353. pgsql.max_links = -1. ^9 U( X) T6 l: Y2 S9 s5 R

  1354. 9 D3 {/ g( H+ j
  1355. ; Ignore PostgreSQL backends Notice message or not.( L' e+ Q. Q2 s
  1356. ; Notice message logging require a little overheads.* ?6 y! e4 S0 L0 r5 E3 O) d9 {) E; S
  1357. ; http://php.net/pgsql.ignore-notice' ~! L0 V9 P2 Q$ P6 L" A
  1358. pgsql.ignore_notice = 0* s8 Q% {4 k; H7 b, u) I, ^8 g
  1359. ; X8 K" {) R# F, Z
  1360. ; Log PostgreSQL backends Notice message or not.- u" s, S4 t1 Q
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.7 A" D" A! H! m
  1362. ; http://php.net/pgsql.log-notice
    + w. T5 R5 B. L5 G
  1363. pgsql.log_notice = 03 j% G  Q' ~; N4 m

  1364. ( U( B" p3 e! G) d  I
  1365. [Sybase-CT]  ]+ g% D% S1 r6 `
  1366. ; Allow or prevent persistent links.% R* D6 J/ U* C0 `6 l; A: g
  1367. ; http://php.net/sybct.allow-persistent
    7 Q! ^7 Y2 l6 @& q) `; I4 ?
  1368. sybct.allow_persistent = On
    ! [& L4 r  O$ ^( U. E$ E/ A0 j6 J

  1369. 3 x1 k% ?, F) z- a# T! x8 W7 X# N& z
  1370. ; Maximum number of persistent links.  -1 means no limit.
    0 g9 I) g+ B$ u
  1371. ; http://php.net/sybct.max-persistent  g% ^8 @8 t, j
  1372. sybct.max_persistent = -1
    * N; n$ `# K" j2 G
  1373. % ~  K. ~0 b5 u5 V0 G* C
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.* V& |- I7 |$ h( [2 k8 ~
  1375. ; http://php.net/sybct.max-links
    0 C8 ?, o6 G5 _( Y
  1376. sybct.max_links = -11 Y; N' [% y9 u0 ]( I* n+ n
  1377. ) F% N; O. e1 }
  1378. ; Minimum server message severity to display.
    2 z% U) W# I! H; d
  1379. ; http://php.net/sybct.min-server-severity
    $ y0 {' g6 q# y! B
  1380. sybct.min_server_severity = 10& @2 ]& a+ V+ }! w# \

  1381. ' t$ ^8 J) c3 d( J
  1382. ; Minimum client message severity to display.
    " Y) K( y4 u+ s9 V0 f& K% G
  1383. ; http://php.net/sybct.min-client-severity' Z% v, j3 }. d0 Y
  1384. sybct.min_client_severity = 10
    0 C6 T3 m4 g% f
  1385. . w. E# e, O$ n- W! y! r; g0 p* M
  1386. ; Set per-context timeout
    4 P- `3 H( C+ C1 J/ k( A0 `
  1387. ; http://php.net/sybct.timeout
    ' V. n  j- k0 k( N0 N, ^
  1388. ;sybct.timeout=; I8 p3 p1 v) f9 ^- F, p6 d

  1389. $ l- p$ t# ^9 n/ G. U, L
  1390. ;sybct.packet_size# V3 r$ j# M. T2 Z/ J
  1391. ( R( e3 l" e' e
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.+ l. t- T8 G0 @9 D6 C& j
  1393. ; Default: one minute
    4 ?" y# q8 C4 a1 l
  1394. ;sybct.login_timeout=' k" T0 C* i8 H' b6 D6 ], o* K& I

  1395. + D+ z  r4 T' I" K
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    . F- K* Z! v5 k( _6 d
  1397. ; Default: none
    $ l: t0 T! s# Z: z7 T9 s
  1398. ;sybct.hostname=! D# L8 N2 c" K

  1399. : @6 ^0 y1 O5 F& C
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    ) D. g) }* |2 E; R: T6 ]
  1401. ; Default: 04 w- V. ~2 t" P4 W# k
  1402. ;sybct.deadlock_retry_count=
    " w  ]5 K, ?  _9 {
  1403. 8 i/ Y, G% A! }/ w/ T
  1404. [bcmath]
    % T3 \5 T  p8 y; E2 q5 h
  1405. ; Number of decimal digits for all bcmath functions.
    ( N. I# \! r: l6 D
  1406. ; http://php.net/bcmath.scale
    9 R- d0 ^0 i: t1 n4 n8 c0 ?
  1407. bcmath.scale = 0/ ?6 ~* A% C6 P

  1408. ! V  k5 T% y$ o8 n
  1409. [browscap]
    - B- }) ]* ?7 _2 o4 G; u
  1410. ; http://php.net/browscap% o' G# ]: p$ B) D1 U- `
  1411. ;browscap = extra/browscap.ini+ ]4 Q" l* o% S% M3 \$ t0 f% e

  1412.   r- Y1 z+ }# c* ^+ N5 v" W
  1413. [Session]
    $ w, q3 D0 }' `  N2 y
  1414. ; Handler used to store/retrieve data.1 U% C8 C1 z  R! f0 {: o
  1415. ; http://php.net/session.save-handler
    9 a6 k6 F1 c4 B- S% T' O4 x
  1416. session.save_handler = files7 `# z9 }, ?5 A( I: ?& r
  1417. 9 r! D! _0 o) O
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    , [5 _0 u, Z: o& L' Q0 [
  1419. ; where data files are stored. Note: Windows users have to change this
    . g, Y* T8 J& f& {! v
  1420. ; variable in order to use PHP's session functions.: e" i9 P8 n2 [& e# y
  1421. ;4 x; ]$ [- D+ D) U# Q, [" f
  1422. ; The path can be defined as:) I! t' P+ X0 P7 q
  1423. ;4 j4 B$ v6 |3 Y# D9 X
  1424. ;     session.save_path = "N;/path"2 A7 a. Z+ X1 h8 Y
  1425. ;; d+ \' o7 u% m/ h. U: V% c
  1426. ; where N is an integer.  Instead of storing all the session files in7 @# \, ?2 b* O& b* r+ \' d
  1427. ; /path, what this will do is use subdirectories N-levels deep, and- S  x. @6 P9 e; J4 r- ^0 V1 {5 L
  1428. ; store the session data in those directories.  This is useful if
    - q9 u" F  t' U( O; _, m& e
  1429. ; your OS has problems with many files in one directory, and is
    5 |9 s6 {  m& Q  R
  1430. ; a more efficient layout for servers that handle many sessions.5 x1 x' `. o& Q. F
  1431. ;
    3 }1 W* }+ \' `: c7 B
  1432. ; NOTE 1: PHP will not create this directory structure automatically.5 Y$ W8 e# X6 `
  1433. ;         You can use the script in the ext/session dir for that purpose.* a( c: y1 V; [) b& k) p
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    # j3 `3 a1 ]2 B. T: H" j: C( T' l. h
  1435. ;         use subdirectories for session storage
    - J+ B8 t* o" v& a! Z1 ^
  1436. ;
    # t- v! T; X  u8 s& C
  1437. ; The file storage module creates files using mode 600 by default., l, d6 @! m3 B0 H( L
  1438. ; You can change that by using
    2 x. B; {, ]/ S* p
  1439. ;
    + }+ d$ C- L" R2 m4 z; p
  1440. ;     session.save_path = "N;MODE;/path"3 `# n! v  O9 h( Y
  1441. ;7 L8 L8 i( t6 j* }( y$ C7 k
  1442. ; where MODE is the octal representation of the mode. Note that this
    0 W, n! f0 m6 A/ H' _  z+ f
  1443. ; does not overwrite the process's umask.
    7 }, G6 S3 j" L9 L; I2 q, l
  1444. ; http://php.net/session.save-path
    ) }1 |* \+ k% _- Z- ~
  1445. ;session.save_path = "/tmp"
    $ Y' T. `! E$ Z7 c% J3 g

  1446. : `4 K' }: a6 a. Z
  1447. ; Whether to use strict session mode.+ v9 z/ [1 ?1 }8 j, [
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate' y- H/ x$ B/ M
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects$ g! K8 V' f/ `8 x
  1450. ; applications from session fixation via session adoption vulnerability. It is* b; K/ `" z" U# c1 _) l$ g
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.2 p* p, o" ]% }# `
  1452. ; https://wiki.php.net/rfc/strict_sessions( \! F7 A8 u0 C. ]: r0 O
  1453. session.use_strict_mode = 0
    : D, ^" ?+ b5 ^6 v4 ?7 m

  1454. 1 \! b. x# j' i) K) q" P
  1455. ; Whether to use cookies.# d' O/ `1 e1 X* G
  1456. ; http://php.net/session.use-cookies% {+ z* T2 E  ]) C2 s+ z
  1457. session.use_cookies = 1
    5 B( _( h# T+ _! ]8 z

  1458. " S; C4 s) ^& e* Q- E9 @! M+ U. k
  1459. ; http://php.net/session.cookie-secure9 j" k# ?" s! A/ {( X5 z  D7 o
  1460. ;session.cookie_secure =" J9 F3 V; a! _. d/ Y! q5 x

  1461. 2 R' ]9 b( f% n# P7 \' L
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining4 w/ {2 y( s$ u) d' g" U6 F
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    / i1 C1 j1 T2 P3 S
  1464. ; session hijacking when not specifying and managing your own session id. It is
    + e& u. f" Q4 J& k
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.! n' ~4 h/ u9 w; L! S
  1466. ; http://php.net/session.use-only-cookies
    3 U6 l( E# T- l9 `5 d- [9 \3 v; Z
  1467. session.use_only_cookies = 1
    # Z5 d4 J- R$ g3 s( u

  1468. 2 _8 }8 m$ J& R. ?, D/ }
  1469. ; Name of the session (used as cookie name).
    % f% ~  v' {& K' T/ S: {
  1470. ; http://php.net/session.name4 Y% o9 x; ?; p! b0 H$ n
  1471. session.name = PHPSESSID
    * U) [) V; l$ i+ B$ e9 V; |

  1472. ) ]/ C/ Q* C% m
  1473. ; Initialize session on request startup.% \; n9 z& ]. V& t# K
  1474. ; http://php.net/session.auto-start2 g( x7 k  ~) }8 L. \5 v( s) F: ^8 d
  1475. session.auto_start = 0
    , G# n6 K0 [- h/ d" f, G
  1476. - T( ?* {) t9 w$ q7 u5 R
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.. h8 W$ n2 C2 X- J% ^
  1478. ; http://php.net/session.cookie-lifetime5 `1 @4 u2 }5 \+ i3 `8 j
  1479. session.cookie_lifetime = 0/ v9 A& S7 g2 q: X/ W+ v

  1480. ; r' v. |: e, `5 v5 L  ~
  1481. ; The path for which the cookie is valid." P& R) k% z8 N: p; T6 }5 k! ~: W
  1482. ; http://php.net/session.cookie-path
    8 }6 O/ q0 i, j0 [1 ~5 ?
  1483. session.cookie_path = /
    : o% r! [! P. f5 N$ t7 V# x9 s, t+ U

  1484. 5 |& F- F- x0 W. A& C
  1485. ; The domain for which the cookie is valid.
    9 Z( r0 a4 b1 {- Q
  1486. ; http://php.net/session.cookie-domain' @( u+ s" A; Y/ v5 [
  1487. session.cookie_domain =0 @8 Q5 U& f/ X+ Q2 I0 e

  1488. ! ?' d2 \5 s# ~5 H# l3 }+ q$ G
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    " S% V1 M+ w( u
  1490. ; http://php.net/session.cookie-httponly3 O9 ^7 H& A5 m3 @
  1491. session.cookie_httponly =
    : _* Q* Y% p- `" f( w# f( P

  1492. & H& _& k1 b3 P! j+ r5 W& @2 x
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP./ S4 l+ C2 U# J( m  s* r
  1494. ; http://php.net/session.serialize-handler% k7 |! o# x7 g0 @, e, Z! g: \2 i
  1495. session.serialize_handler = php
    ' a" ^" x6 q! ]: \7 B; v% E

  1496. * m) x0 p! y1 v$ R$ J
  1497. ; Defines the probability that the 'garbage collection' process is started- J9 S7 ?' z) B7 v3 F7 m$ s7 q# W
  1498. ; on every session initialization. The probability is calculated by using! m& z1 p; Y5 v9 \
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    # K% V5 {; e- a$ h$ n7 J
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    & |/ W% n7 B  c, W1 O' ^
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    6 ^0 }' u6 @3 _
  1502. ; the gc will run on any give request.. ~4 s7 B. V" i5 K; I3 l
  1503. ; Default Value: 1( g7 y6 [! f/ Z3 A. p
  1504. ; Development Value: 1
    : j2 Z; l4 q# \) e# ^
  1505. ; Production Value: 1) i( c1 ~! \2 [% _' f& D+ ]
  1506. ; http://php.net/session.gc-probability
    ( k: ~& k+ p' F+ {3 _# z" }4 }
  1507. session.gc_probability = 1& J. H1 {; R# a) q! W8 u

  1508. 4 W( E% ]' `. J) _3 b
  1509. ; Defines the probability that the 'garbage collection' process is started on every- ^$ C$ |1 B  t  T
  1510. ; session initialization. The probability is calculated by using the following equation:
    3 x7 F* [; g) x' h! e' E
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and, i* H+ y7 i2 i" N% l0 k* n
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1* [' y6 E4 B( C0 s2 }# |
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    ) J# O% x6 n& l% k8 x4 F
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you- e5 K$ ]+ m, B8 P* u9 \. f
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    ( ]$ P# p* R" O6 @
  1516. ; this is a more efficient approach.# J: L. S6 J# }" ?+ h( S: \- U. R2 n
  1517. ; Default Value: 100
    $ J* |3 B  {5 Q2 c, d
  1518. ; Development Value: 10003 S7 ]* Y" V( J1 W
  1519. ; Production Value: 1000% N) `4 w* E" S* b
  1520. ; http://php.net/session.gc-divisor
    $ M* Y# ?6 Z* A, h4 v7 i
  1521. session.gc_divisor = 1000! ?7 u. K- D' r  L4 d5 }
  1522. , x' o$ F, i( i& D9 Z, P" R! p
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    9 s' a3 J% a4 ~  C! ?
  1524. ; cleaned up by the garbage collection process.
    ( v. b, F4 h% R1 o
  1525. ; http://php.net/session.gc-maxlifetime; V8 x9 k9 I' G
  1526. session.gc_maxlifetime = 14407 x4 e* H4 t2 k# S) Q

  1527. 0 [3 L7 d! F! U
  1528. ; NOTE: If you are using the subdirectory option for storing session files) w! y. I8 d* F( v) c. @
  1529. ;       (see session.save_path above), then garbage collection does *not*% d. j/ l* s7 F0 o
  1530. ;       happen automatically.  You will need to do your own garbage
    : n/ ]* N2 M& E# x3 ]2 L
  1531. ;       collection through a shell script, cron entry, or some other method.
    9 v# |+ M) E% I3 e# I  q" Y
  1532. ;       For example, the following script would is the equivalent of8 ~. e7 n/ P; g; O0 E
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):! I. \% b2 N! B1 {! l7 Z: ]
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm5 M, d5 J( N" i$ N$ x% r
  1535. 4 c, n2 }+ t/ o" W
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    # t4 @/ w8 Q4 j  r" v
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    . ?2 g3 C/ I/ D  X/ d+ a% L- G
  1538. ; considered as valid.
    6 r$ G& ^. A/ e  q
  1539. ; http://php.net/session.referer-check
    - `* A  O8 W9 {# \/ U/ S3 C
  1540. session.referer_check =
    7 h, R: W! U; F- |1 y; ^

  1541. 9 U; O" R/ Q1 u( k0 [1 S
  1542. ; How many bytes to read from the file.
      w- Y6 x' J  K  Q
  1543. ; http://php.net/session.entropy-length! P/ M2 ?: N4 E: Q+ Q* k
  1544. ;session.entropy_length = 32+ [8 p7 B; b2 K1 }) X. F
  1545. 7 ]6 w$ M) m8 {6 U
  1546. ; Specified here to create the session id.
      _8 }- C; X1 r+ P: H/ b5 l/ Q5 A! U
  1547. ; http://php.net/session.entropy-file
      m, x- s, x% U! y6 x; C- ~
  1548. ; Defaults to /dev/urandom1 J/ j- |0 p7 e& t8 H3 o
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    0 p* ?! m% `8 N/ P& @5 X
  1550. ; If neither are found at compile time, the default is no entropy file.
      {) X5 L6 |$ @( W8 |% \% C5 D1 z" |
  1551. ; On windows, setting the entropy_length setting will activate the- q9 u; i$ ^7 B" e# {
  1552. ; Windows random source (using the CryptoAPI)
    7 @8 F3 h' n; ~. B- D
  1553. ;session.entropy_file = /dev/urandom; n  Z1 Y3 P/ N* a; |; M- m* ^  ?
  1554. $ q7 Z8 C% o+ Q
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    8 g7 I7 b2 Q2 U3 w+ I& u
  1556. ; or leave this empty to avoid sending anti-caching headers.
    ) X& |3 \7 U) w- E
  1557. ; http://php.net/session.cache-limiter
    5 w" m3 a( [+ a- q. ?. w& E' g
  1558. session.cache_limiter = nocache
    $ z9 k* V& n! d/ e- A/ l- z
  1559. 5 B3 _3 T$ e) P
  1560. ; Document expires after n minutes.8 a& s, h) M6 J8 h
  1561. ; http://php.net/session.cache-expire) o1 d2 u: k7 p2 m2 J4 `
  1562. session.cache_expire = 1807 Z- j4 _3 d2 {7 Z
  1563. ) r' {, d" J' `7 b0 ?: j& q
  1564. ; trans sid support is disabled by default.
    5 e, q7 y9 }9 c
  1565. ; Use of trans sid may risk your users' security.0 _6 h+ E% b& f4 [2 X
  1566. ; Use this option with caution.) K9 P+ P+ {$ e* o9 z
  1567. ; - User may send URL contains active session ID
    0 C" Z( B2 O2 u( I* u) F
  1568. ;   to other person via. email/irc/etc.) z( k0 [+ H& t, [4 L$ y( O
  1569. ; - URL that contains active session ID may be stored
    0 D8 v9 O) _5 j3 E- d1 m) J/ |
  1570. ;   in publicly accessible computer.
    * {4 ]) _! C) @( X( |* N
  1571. ; - User may access your site with the same session ID# g! V# G2 {2 g' q7 d0 {6 h4 Y3 F
  1572. ;   always using URL stored in browser's history or bookmarks.( d# R+ a8 g4 G
  1573. ; http://php.net/session.use-trans-sid
    $ ^$ u2 h( Z9 W
  1574. session.use_trans_sid = 0( f* `2 h' _9 a2 S6 b# a

  1575. . @  @( I+ Y0 u3 |
  1576. ; Select a hash function for use in generating session ids.
    , M9 b: H/ |  x/ I. N+ n0 Q; S8 |
  1577. ; Possible Values
    ' X* F$ A; G2 D  U2 p! }2 I2 _
  1578. ;   0  (MD5 128 bits)" z8 z9 {7 ?$ S/ w( W3 ~
  1579. ;   1  (SHA-1 160 bits)
    / i) \- P, M: f, o+ Y9 ^
  1580. ; This option may also be set to the name of any hash function supported by1 G& {2 c( C8 y: y8 n
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()# _' Z2 w$ V8 P! I1 l$ y
  1582. ; function.
    ( q8 U. H! v" O, I* s1 w; g: _( _
  1583. ; http://php.net/session.hash-function
    % m: m/ h& l( h8 H" k
  1584. session.hash_function = 0
    7 w7 R8 i& ]3 `2 z
  1585. 3 G7 a) O. e9 ~( _3 Z0 A
  1586. ; Define how many bits are stored in each character when converting, x& |( `: ?% \: H/ l
  1587. ; the binary hash data to something readable.) Q1 {: q7 ?, [! x- h3 A9 \
  1588. ; Possible values:5 I0 x' L, E/ j0 }
  1589. ;   4  (4 bits: 0-9, a-f)
    5 M+ v0 u1 I; \$ l
  1590. ;   5  (5 bits: 0-9, a-v)" `# V, D; R; J) t3 h
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")4 m: B4 y' p; i4 T8 x( K) I4 O9 n
  1592. ; Default Value: 4+ P$ j/ P# p& Y# S. M) u* [
  1593. ; Development Value: 5
    / o: Y/ c0 l  q$ \1 E2 g1 k, ?" ~
  1594. ; Production Value: 5" g; V/ Y, t3 m! a9 O' T
  1595. ; http://php.net/session.hash-bits-per-character
    2 ]8 A1 L( i: r, O3 k; b8 G
  1596. session.hash_bits_per_character = 5
    6 G3 X6 H! o& B
  1597. : X. ]3 E2 E( v7 m
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.5 a8 `7 `- L) Q$ P! X9 U, j/ g; g1 H! x
  1599. ; form/fieldset are special; if you include them here, the rewriter will& w; Z+ J- ]7 J% O6 H
  1600. ; add a hidden <input> field with the info which is otherwise appended
    : D9 g7 S* M4 s* P" U4 N- B) V" I
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    - R7 ^# L. {$ x) M- f( K% e
  1602. ; Note that all valid entries require a "=", even if no value follows.
    2 u+ g1 M2 R% _9 Y8 s7 D6 l
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ' Z' u, U# V  t# |/ ]+ m6 Q
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
      J: S+ ?/ W8 b. Y- S" n) n
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"$ q( L) G: s" F& v1 d
  1606. ; http://php.net/url-rewriter.tags* y" m  K1 ?0 M) r' I' n9 H9 A
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    3 S' t( q* {" |

  1608. 3 Y2 r/ |8 B4 o: `' a7 z
  1609. ; Enable upload progress tracking in $_SESSION
    " c, n# L" X0 |- p; |
  1610. ; Default Value: On3 T& `  Z. r8 u3 B# ^
  1611. ; Development Value: On
    : E: @6 v6 N" K$ |. j2 _) R
  1612. ; Production Value: On
    : E6 r  S9 t/ h2 a5 g
  1613. ; http://php.net/session.upload-progress.enabled
    - H& j# v" b  l9 d- _% {$ L8 N& t
  1614. ;session.upload_progress.enabled = On
    6 }1 p  V6 v5 @0 @

  1615. 0 b4 H* p% D: ]6 T" `: q
  1616. ; Cleanup the progress information as soon as all POST data has been read. L& I- W+ q+ ]3 @
  1617. ; (i.e. upload completed).* j; ~, s$ Y* `) j( L. f
  1618. ; Default Value: On
    8 D5 x4 l% k3 E, O
  1619. ; Development Value: On" F0 K/ |. z) h2 i% Z7 d5 r  g
  1620. ; Production Value: On, c2 e1 _- A9 c
  1621. ; http://php.net/session.upload-progress.cleanup  O; \1 \6 H+ B3 b: q8 F
  1622. ;session.upload_progress.cleanup = On
    : k! C6 F  k6 S5 o) z
  1623. ) L/ T: a% l' G; o
  1624. ; A prefix used for the upload progress key in $_SESSION
    * E. Y& Y/ V" v) j
  1625. ; Default Value: "upload_progress_") z2 S( F  {. h: i, f
  1626. ; Development Value: "upload_progress_"
    * u) h5 x1 u; S. w: j
  1627. ; Production Value: "upload_progress_"3 ]/ a8 Y' `) p' w$ y/ A
  1628. ; http://php.net/session.upload-progress.prefix+ g0 F; g6 X, }4 d
  1629. ;session.upload_progress.prefix = "upload_progress_"6 s+ s! f; W/ G5 g5 j' P3 w" {! F
  1630. - |( R5 Q6 l+ R1 o7 x
  1631. ; The index name (concatenated with the prefix) in $_SESSION& {5 ^8 A+ m/ K2 f) ?; `& H( f0 l4 S
  1632. ; containing the upload progress information
    8 ^- i2 P0 `- i6 P/ N. m9 p
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    . @% X- Y+ X9 f9 r. a9 {7 ^
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    2 j' E8 m9 b1 U$ ~) a: E6 V
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    7 _/ m$ w" M1 p* Q* z5 `( G" @
  1636. ; http://php.net/session.upload-progress.name1 f: e3 D# h0 W- o, d: g
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"2 l, k, A* [% ]+ v' Z: |- r
  1638. 4 I* d: V8 t, U* {
  1639. ; How frequently the upload progress should be updated.
    . k0 _8 E7 h( `3 v
  1640. ; Given either in percentages (per-file), or in bytes; \4 q( f9 B2 n; B, K' A
  1641. ; Default Value: "1%"
    " t: w' u# m6 R8 o* S1 Z
  1642. ; Development Value: "1%") W! l9 Z6 w5 j! E
  1643. ; Production Value: "1%"
    3 U, P. I4 r* ^3 ~$ ?' `# B
  1644. ; http://php.net/session.upload-progress.freq
    4 ^' Z) n, h. @+ C0 X/ d* ?/ d
  1645. ;session.upload_progress.freq =  "1%"1 o* E+ ^. P0 q" q6 R) r

  1646. / P, a% t; c* ?3 b
  1647. ; The minimum delay between updates, in seconds
    " W# I% b: B  r
  1648. ; Default Value: 13 h  ~7 x2 a. P; Z+ o; ]
  1649. ; Development Value: 1
    5 J, p3 F& a# Q. i) R
  1650. ; Production Value: 1
    , Y3 v& W/ W4 p/ W  u+ ?
  1651. ; http://php.net/session.upload-progress.min-freq5 j+ j8 o5 J, Z4 Q8 X
  1652. ;session.upload_progress.min_freq = "1"
    3 P: ]  s+ h; d' M& i, o+ h

  1653. 4 R5 h3 ]! R6 I, s" ^) `0 ?1 `; R: m
  1654. [MSSQL]
    / H9 x8 R; ^: ]! ]9 r' o
  1655. ; Allow or prevent persistent links." S! g7 w$ V0 W4 K6 ^1 o4 G$ K
  1656. mssql.allow_persistent = On
    7 h; O" G. R+ ~, y3 [5 Y
  1657. * l0 \9 M  u5 ~  a+ j
  1658. ; Maximum number of persistent links.  -1 means no limit.
    : V$ {1 ]* z: {( h  W! a
  1659. mssql.max_persistent = -1
      m7 B( e8 M9 {$ Y2 r4 @
  1660. / P" v  u/ o- o: C
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.$ U- Z' K! w8 @
  1662. mssql.max_links = -1) y, ]% F0 t9 i0 x! U' S3 l% d

  1663. - v% ~/ {3 h; Y* E! c3 n
  1664. ; Minimum error severity to display.( u  F( ]$ |! G
  1665. mssql.min_error_severity = 10
    " M: c1 P% w# R" {4 {, c2 f- }+ g

  1666. ' e9 q: l- Z; h: Q; @8 e) d
  1667. ; Minimum message severity to display.
    ' k( c+ W* C- I7 I- I
  1668. mssql.min_message_severity = 10
    , F1 B  ~# w8 y# @; _  ?" j. D
  1669. 8 D# D/ P7 ]1 S
  1670. ; Compatibility mode with old versions of PHP 3.0.7 h) T; |) i$ z
  1671. mssql.compatibility_mode = Off/ P  n  T3 P5 c9 V& \; B7 `
  1672. " K2 a4 u' L" i  t
  1673. ; Connect timeout$ b1 Z# O' u% Z. E; f9 V; e0 R
  1674. ;mssql.connect_timeout = 51 m. `$ y7 U, x, r4 {1 `
  1675. 3 `; n7 a9 N8 F! d! M
  1676. ; Query timeout. s' W7 Z5 m3 n/ }& O
  1677. ;mssql.timeout = 60
    : C3 @2 Q4 u/ V  J: o" u9 _7 u

  1678. ' X& a: p, ]& C! _/ _: T
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    / \: G1 G5 w  x( O+ Z
  1680. ;mssql.textlimit = 40962 E. v/ Z( s9 r- M; R$ }
  1681. - q4 t9 k: S, Y: d) a0 V
  1682. ; Valid range 0 - 2147483647.  Default = 4096.9 L2 o4 C9 T' V6 `
  1683. ;mssql.textsize = 40962 ~7 [2 g4 ^' v+ s" }

  1684. ( C3 }6 T+ Z. M
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.1 K( o4 X3 c6 o' U: N, r
  1686. ;mssql.batchsize = 0
    2 Y, t1 g4 T% J& Y8 b

  1687. $ L" o# q9 X" W
  1688. ; Specify how datetime and datetim4 columns are returned! y5 s1 s) k6 `$ ^1 ^! @. q, u
  1689. ; On => Returns data converted to SQL server settings1 V: x  }7 _( U5 {: M, g6 F* k
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    ; n+ V0 C* M8 c& z* p, J
  1691. ;mssql.datetimeconvert = On8 B* A/ r/ I5 N% T$ ]' V$ a- F
  1692. 3 G7 X% w2 Q, T( k! c" i
  1693. ; Use NT authentication when connecting to the server9 N. v0 _8 d& [+ t5 f' h& [8 F
  1694. mssql.secure_connection = Off! }  o& j; y: J5 E

  1695. $ g3 f* t, K( r1 F) C
  1696. ; Specify max number of processes. -1 = library default/ n3 c: w$ ?7 ^$ b3 S
  1697. ; msdlib defaults to 25
    . G3 d6 F: J. z6 I2 r' k. S+ U
  1698. ; FreeTDS defaults to 4096
    $ M  ~/ i  [4 J/ x9 x% @# f
  1699. ;mssql.max_procs = -1
    , o3 j" ]/ |( I

  1700. - Z! l0 y* D0 I0 N% d+ \
  1701. ; Specify client character set.' B+ i/ O3 }6 _
  1702. ; If empty or not set the client charset from freetds.conf is used
    ' t' R5 c. {! z! b
  1703. ; This is only used when compiled with FreeTDS
    7 N! s& k, I/ @4 l' A' t* _
  1704. ;mssql.charset = "ISO-8859-1"
    8 p. u: j" e# c, D/ S

  1705. ! s7 s- P  }1 E' n+ N& }
  1706. [Assertion]4 ?0 e' x/ }# U- l1 A: |6 u
  1707. ; Assert(expr); active by default.
    # z3 z! J5 _% h/ X5 Z: O1 K+ _
  1708. ; http://php.net/assert.active
    $ M$ Z( }' j3 W, b3 N
  1709. ;assert.active = On- k3 o8 s' ]+ J  z  @! Q

  1710. " b: A' D) D- h) q6 s# h. G
  1711. ; Issue a PHP warning for each failed assertion.. t# l( Q5 ^8 P
  1712. ; http://php.net/assert.warning' k8 s; a3 N% g8 i
  1713. ;assert.warning = On
    # t2 v5 W2 V# R- D6 I: ]

  1714. - N& P, E  Z" P" j# ?: f1 A0 g. h
  1715. ; Don't bail out by default.
    ! {0 O5 H/ ~$ ^2 Q+ O" d5 ]
  1716. ; http://php.net/assert.bail' j" n9 ^0 Q" E1 E) D8 A1 u9 Y
  1717. ;assert.bail = Off( X5 e, m6 Q* C  Z/ D
  1718. 2 D+ c' a* i: a5 U
  1719. ; User-function to be called if an assertion fails.
    * M& p2 A) O; u8 r; |  {- k, {
  1720. ; http://php.net/assert.callback, q+ v( X& _  R4 v( _
  1721. ;assert.callback = 0
    / o8 r& g9 i: d2 o  c

  1722. - L5 r0 c: x' v, }& Y% F
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    * ~$ s6 S8 E( ?
  1724. ; error_reporting(0) around the eval().% Y% s$ }4 P. H3 h
  1725. ; http://php.net/assert.quiet-eval
    $ [: R3 |* n" Y! y
  1726. ;assert.quiet_eval = 0& s/ b. M8 R3 T: c6 f& B- I1 b
  1727. # O" w5 Z! w2 e' k
  1728. [COM]/ J1 y6 z# V+ s1 |' A" a
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    ' v, E2 c. n% ?8 z5 \' m
  1730. ; http://php.net/com.typelib-file% h$ v- v# `  p7 K
  1731. ;com.typelib_file =
    1 W8 F/ A" ?% B3 S) d' o

  1732. 3 L' G6 ?4 @8 y7 ], L. N7 ?
  1733. ; allow Distributed-COM calls
    ( _. \! {" r6 O+ x
  1734. ; http://php.net/com.allow-dcom
    ! f4 b; g. b) H/ p' Q
  1735. ;com.allow_dcom = true. T& m6 @/ L  ^4 ~$ j" K
  1736. 1 t- ^4 k2 W+ c- P
  1737. ; autoregister constants of a components typlib on com_load()/ n# u; S% T$ @' V/ \! o
  1738. ; http://php.net/com.autoregister-typelib
    6 U2 o0 V% I, \1 x
  1739. ;com.autoregister_typelib = true2 m$ l/ O, z& L
  1740. % ?; D0 b# U* \( D5 {1 k# d
  1741. ; register constants casesensitive
    5 J7 X/ Z( \5 h4 S
  1742. ; http://php.net/com.autoregister-casesensitive4 I8 S2 h+ r* i# W1 N
  1743. ;com.autoregister_casesensitive = false5 B& x( q/ e" T1 _/ d' V0 e

  1744. ! |% ]* p# X6 G3 h- u
  1745. ; show warnings on duplicate constant registrations
    ; J! i+ J6 ?/ p$ R
  1746. ; http://php.net/com.autoregister-verbose
    : o# _( j1 ?* C# g* A
  1747. ;com.autoregister_verbose = true
    - ?/ |0 j* _9 Q% n9 G; g+ }
  1748. ' \, _, W+ j& T. A
  1749. ; The default character set code-page to use when passing strings to and from COM objects." ^8 H) }# ~7 N! L& Z! Y
  1750. ; Default: system ANSI code page% P! Q8 c+ i1 K9 I( X
  1751. ;com.code_page=; O5 f2 H5 l' A: T3 E& N
  1752. + k, l; Q1 o4 {( I- d/ c
  1753. [mbstring]2 Z5 y. j7 D0 _$ q0 U% b& F
  1754. ; language for internal character representation.
    ) q! I. v/ n: N8 u: Z
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    3 N( Z6 T! ]  f7 `) e
  1756. ; http://php.net/mbstring.language+ G( K  I& X: a# l/ X9 p
  1757. ;mbstring.language = Japanese
    - {+ h$ a) v& s
  1758. & Q8 s; s5 D- C% W/ ~, Y  h6 U  R
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.) X1 ?$ c: x4 S$ V) Q: D9 ?3 ^$ F
  1760. ; internal/script encoding.
    8 X! O6 L/ u. \/ X( B9 w6 V
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)( s' V0 w: S/ U
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.; o: F2 Y( b2 H2 h/ H1 m# b6 }6 Z
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
      [# p2 j! S0 u' o" Q. V
  1764. ;mbstring.internal_encoding =
    + t3 C: m. e5 M8 I, d4 U2 k

  1765. & _; e* K2 [  o1 F: ^' k/ _# J
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.# `; ?' m4 P+ q) A0 ]- q* p3 E
  1767. ; http input encoding.* ?4 g& e3 c7 y4 ?& K
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    # L/ [& B& U% ~1 m. n
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    + k; U' h/ @5 `6 E
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    0 e0 G7 G' B9 P- a5 l/ [( e1 O
  1771. ; http://php.net/mbstring.http-input; s5 }8 o6 _3 f) s3 R
  1772. ;mbstring.http_input =
    0 k0 K( r( c: i$ _9 w0 Z
  1773. " H. z& [5 |4 ]7 `9 B6 h0 `
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.& B3 u+ V0 S$ Q, A9 ~' e
  1775. ; http output encoding.
    & {% I4 t& |+ y, ^
  1776. ; mb_output_handler must be registered as output buffer to function.( S7 ]/ p  Y# Y8 m$ a. B# `! {
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    1 q3 D0 K: I* a
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
      H. I$ |* \) [  p$ }. k0 e
  1779. ; To use an output encoding conversion, mbstring's output handler must be set$ |/ U& R7 o+ r; c' j1 y) y, t5 K
  1780. ; otherwise output encoding conversion cannot be performed.
    7 C9 Z, m% l4 I, p3 g# l7 W4 M
  1781. ; http://php.net/mbstring.http-output
    0 |: W# Q* W5 ?7 }3 H2 ^" _
  1782. ;mbstring.http_output =
    % r& p1 m& P" e; U/ ^( Z

  1783. 0 F7 |4 g( D1 X8 @+ Q9 u
  1784. ; enable automatic encoding translation according to+ Z5 K2 u3 P: f" a
  1785. ; mbstring.internal_encoding setting. Input chars are
    : A' y4 R; N- c# E$ p
  1786. ; converted to internal encoding by setting this to On.
    ' V/ Y$ ^, n2 a
  1787. ; Note: Do _not_ use automatic encoding translation for. V1 V' D9 Q  v  w/ G
  1788. ;       portable libs/applications.6 t. s- U4 M9 Y7 m
  1789. ; http://php.net/mbstring.encoding-translation# e$ Y% F3 @' k/ ?5 p
  1790. ;mbstring.encoding_translation = Off
    7 h9 m; U- t% b0 j' z! \
  1791.   v" V9 ^5 }6 a
  1792. ; automatic encoding detection order.
    ( l4 V1 z' A/ o0 }
  1793. ; "auto" detect order is changed according to mbstring.language8 o. s1 {' h) q9 d
  1794. ; http://php.net/mbstring.detect-order5 y4 i) k) e" i: G
  1795. ;mbstring.detect_order = auto' R7 p& U/ W! Q1 ]! W) K( x" ~

  1796. * N7 G) }& Z% ], F5 l# K& C. M7 ], Z
  1797. ; substitute_character used when character cannot be converted) M. |- r" o0 w" S- v; Z
  1798. ; one from another0 |' `% ?- c' G
  1799. ; http://php.net/mbstring.substitute-character
    3 N$ {) q2 \- T/ h, C
  1800. ;mbstring.substitute_character = none
    3 n1 D8 L+ N0 f0 R6 R- x
  1801. 6 f  o! `3 H1 j  C3 n0 j' R/ K
  1802. ; overload(replace) single byte functions by mbstring functions.* r2 G' c9 S, M$ Y8 R' v
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),0 ^' D. @0 g& s8 d" _9 O
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    & y+ K7 A+ V1 O2 `# n0 A
  1805. ; For example, 7 for overload everything.
    1 Y" u1 [& ~% e# x1 Z8 V
  1806. ; 0: No overload; Q+ F" K, j$ R4 ^" z3 r( K
  1807. ; 1: Overload mail() function
    " S% D; c( k) _
  1808. ; 2: Overload str*() functions6 a" v( s6 |$ L4 d
  1809. ; 4: Overload ereg*() functions* H) p3 K. L% B& L: V
  1810. ; http://php.net/mbstring.func-overload
    - ?8 V2 E4 p: g4 M! Y' v
  1811. ;mbstring.func_overload = 0. ^4 M; `. E, I

  1812. / H# M8 }# x5 V4 q' S
  1813. ; enable strict encoding detection.8 g0 M) J! V- w! b
  1814. ; Default: Off
    % A6 U- u( I6 ^
  1815. ;mbstring.strict_detection = On
    ; y2 S7 f& y1 s2 j6 @4 x5 Z

  1816. * p  a! e4 m4 ~- h- ^# J
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()' A) f  `- X0 a/ X8 H/ I
  1818. ; is activated.
      k: }: x& {# _. O" U
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    ; U# q% V, y0 R/ f: c
  1820. ;mbstring.http_output_conv_mimetype=2 _4 Z% |* z3 C: n' M

  1821. ( c( T& A* c$ ?6 r' X$ K
  1822. [gd]  ]( D1 n* X- @$ L, z
  1823. ; Tell the jpeg decode to ignore warnings and try to create7 T1 N4 h$ y; H' Q! \/ a3 T
  1824. ; a gd image. The warning will then be displayed as notices
    6 n" B. C) v0 c0 k4 \
  1825. ; disabled by default+ X9 W8 {4 j& c( H6 C
  1826. ; http://php.net/gd.jpeg-ignore-warning- _" L3 w* @4 ?5 |, J. R
  1827. ;gd.jpeg_ignore_warning = 0
    3 [, l  l$ l6 ~* C8 j* b
  1828. , H6 p0 c- S' y
  1829. [exif]
    , b; I! S+ [" {/ A4 w
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.# |( D( R  S, S9 J- v4 Y6 S1 H, h- D
  1831. ; With mbstring support this will automatically be converted into the encoding
    7 N. f4 B/ @9 j2 `6 g$ L
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding' V( J  y1 d( x. Q
  1833. ; is used. For the decode settings you can distinguish between motorola and# f) Y% X$ u; I
  1834. ; intel byte order. A decode setting cannot be empty./ c% c# C% E( O
  1835. ; http://php.net/exif.encode-unicode
    0 Q: ^: A" \( b8 ^- p7 O" G2 t
  1836. ;exif.encode_unicode = ISO-8859-15" N+ R" D, z  R) H; G$ \/ b% q& Q

  1837. / f; v8 x2 _  b$ [6 M
  1838. ; http://php.net/exif.decode-unicode-motorola
    + g6 Z& s+ A* ^; Q9 i, r  d+ E# R
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    - e+ t9 R; G" p8 y
  1840. 9 l( z9 E4 I% f( P/ k4 X' S
  1841. ; http://php.net/exif.decode-unicode-intel& Z9 Q1 V- u- ~6 i5 a
  1842. ;exif.decode_unicode_intel    = UCS-2LE" ^" g2 I+ [9 k1 w, _" |' ~

  1843. . @8 m: O  Q+ l) K* _
  1844. ; http://php.net/exif.encode-jis; R# S8 i$ \7 O' g: \2 ?+ s
  1845. ;exif.encode_jis =
    3 d( M8 {" a( D: F3 k- }2 y
  1846. . x# b. `# F; U
  1847. ; http://php.net/exif.decode-jis-motorola- _' u- x5 W+ T: J/ [; |5 a
  1848. ;exif.decode_jis_motorola = JIS  C2 D; ]' n, ~

  1849. ; i0 z1 N0 k  |4 t* k
  1850. ; http://php.net/exif.decode-jis-intel
    ( s+ ?  |" G5 s7 h% L$ S
  1851. ;exif.decode_jis_intel    = JIS8 [  p, c/ V* T1 |
  1852. ) r% z. Q' S2 P/ I+ h& k( D) O! s
  1853. [Tidy]5 [0 k% M' E' q  F# `$ d
  1854. ; The path to a default tidy configuration file to use when using tidy
    1 b; T" d( q1 Y, ~; |# f, b
  1855. ; http://php.net/tidy.default-config9 B! [' U5 q5 P; G' s
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg7 Q7 A) o" G# [" t: W- u) |2 G5 A
  1857. ( C/ ^1 ^: y/ B" R
  1858. ; Should tidy clean and repair output automatically?
    ! W4 q1 T4 ^+ y8 O7 e" d4 x1 d8 [( j* h
  1859. ; WARNING: Do not use this option if you are generating non-html content) l, A2 c8 W0 o
  1860. ; such as dynamic images
    8 I& E2 h7 G8 o6 M7 j
  1861. ; http://php.net/tidy.clean-output
    % F4 x9 L* J1 Y" _* X
  1862. tidy.clean_output = Off8 n7 c, {/ ^3 G. q4 J

  1863. ; M/ e- K3 I, D7 c2 h3 G
  1864. [soap]
    " Y6 l; t' B) {9 E- s
  1865. ; Enables or disables WSDL caching feature.
    ( l$ b' E" j7 g0 j
  1866. ; http://php.net/soap.wsdl-cache-enabled
    ; W/ e, F0 q3 b+ j
  1867. soap.wsdl_cache_enabled=1
    7 \7 M% d. u: [: V0 S5 X7 t

  1868. " Q+ ~% j7 y# y3 V; P0 {4 [, g
  1869. ; Sets the directory name where SOAP extension will put cache files.7 a( b2 c; l8 |. C
  1870. ; http://php.net/soap.wsdl-cache-dir
    0 u. c  \, r0 f# {, [3 ~
  1871. soap.wsdl_cache_dir="/tmp"
      V* G9 ?% h# @2 @. o/ w0 n- q

  1872. & c3 j4 Q4 k% B
  1873. ; (time to live) Sets the number of second while cached file will be used7 t' @8 T% T. i$ b3 W  z1 @2 G
  1874. ; instead of original one.0 i1 _2 ?! p6 r8 W5 c
  1875. ; http://php.net/soap.wsdl-cache-ttl
    ; B( y# U! B4 |/ g; H5 O5 U
  1876. soap.wsdl_cache_ttl=86400
    , `3 T/ j4 d. G- c% L% X
  1877. 9 @; w/ j- Z9 x9 u( v
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache), U3 t8 t  s9 T& |6 @; q0 b3 v
  1879. soap.wsdl_cache_limit = 59 D2 y5 d8 c+ i
  1880. 9 }( Z: r) j2 o8 P+ s  @
  1881. [sysvshm]" {: \# O$ b! C; K& w* E$ J( k
  1882. ; A default size of the shared memory segment
    9 y" K2 m1 l/ @3 @0 O, x
  1883. ;sysvshm.init_mem = 10000. ~) O+ w) d5 Y. Q

  1884. 4 {" o3 [7 g9 i
  1885. [ldap]
    6 s# b( H) p4 p- h# `' F
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    - ~: V6 Q- q" ?  {
  1887. ldap.max_links = -1$ [; t+ Y1 Y  l  c: z# m
  1888. / a6 k0 F* L4 k% z
  1889. [mcrypt]1 u* K% t& A) m- F
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    / F5 x# @5 A3 G/ M- G8 I9 k
  1891. , f6 @0 B) j8 Z/ r# }- {
  1892. ; Directory where to load mcrypt algorithms
    6 _# Q, K1 }$ Y; X  P1 |! U* _/ s
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ; _/ y" o" E9 k) n
  1894. ;mcrypt.algorithms_dir=/ ?, i& L: q0 B8 g. h

  1895. + Y( y- g. u( |0 f# u, K
  1896. ; Directory where to load mcrypt modes: i% Z  r0 X7 n  u0 e
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)% B0 I) b: d: Y- K
  1898. ;mcrypt.modes_dir=- H  I. Y; D& ~3 b& i# Q

  1899. - ?- @; {7 @3 j  ~. D* H
  1900. [dba]: {; D$ c' m$ t3 P
  1901. ;dba.default_handler=
    * |8 s3 q: _6 r. {3 U. N2 x0 r

  1902. ' G5 [7 R- T' e: X  `+ i; O' F
  1903. [opcache]
    ; {5 p0 M: R, ?  \0 x, t$ }+ E
  1904. ; Determines if Zend OPCache is enabled8 `7 J! i6 u. D( A
  1905. ;opcache.enable=0
    - [2 e9 C3 T3 I5 }+ L
  1906. + Q/ X  Q( w/ E
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP0 r/ Y4 E" `! G! ^/ C, D" n
  1908. ;opcache.enable_cli=0
    ' C' F) ?: o; l6 A, X' U4 \

  1909. , @5 C7 i" e# _+ n# r
  1910. ; The OPcache shared memory storage size.. Q+ Y: V) _7 c3 e# i
  1911. ;opcache.memory_consumption=64
    3 H& E7 Q/ G' o4 z
  1912. ! Y2 j6 L" T. h7 ?' J* j
  1913. ; The amount of memory for interned strings in Mbytes.1 J& ~: i% V/ h8 Y5 n
  1914. ;opcache.interned_strings_buffer=4
    # {! W! M( w# K. n# V2 ^3 T% P
  1915. 3 f% |$ h6 u% h
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.2 H  _9 ~+ _1 H$ L4 J
  1917. ; Only numbers between 200 and 100000 are allowed.
    6 a3 a# }( ^# J1 h6 Q6 K7 _
  1918. ;opcache.max_accelerated_files=20002 |7 B) |, r. G% M+ j% `- A
  1919. 7 F9 q% o3 o# D, N) x0 J
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled." p; S1 D. g# |* e. A1 u" w+ b) y
  1921. ;opcache.max_wasted_percentage=51 z) Z3 }9 B6 ~8 Q9 s. u
  1922. % f( I& g; P  x9 a
  1923. ; When this directive is enabled, the OPcache appends the current working. \: M! \0 H4 o; _, l
  1924. ; directory to the script key, thus eliminating possible collisions between
    1 H  C) J# I! w$ l6 v& r% P% T
  1925. ; files with the same name (basename). Disabling the directive improves' `- }, r, l, b0 p" x
  1926. ; performance, but may break existing applications.: A2 X+ @9 L- X6 H* G& V% Y% T
  1927. ;opcache.use_cwd=1
    ' B3 ~6 ~, z- X$ z5 M; s  H' h8 f9 l
  1928. ; L8 U0 L. U- Q; M: ~* w6 Z+ f
  1929. ; When disabled, you must reset the OPcache manually or restart the; Y* I, J8 h9 s2 t5 Q' u
  1930. ; webserver for changes to the filesystem to take effect.1 i5 `& [6 ]' v% D2 S* m8 B( ~+ K) l  P
  1931. ;opcache.validate_timestamps=1
    ' S0 m. o3 h8 u4 ]7 E; k8 Y
  1932. 1 @) j6 E( l7 X
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    8 j  L1 M6 B2 S! a
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    ; e# ?! a/ V- y% C( o5 h- `
  1935. ; once per request. "0" means always validate)6 N( i  f" z: p
  1936. ;opcache.revalidate_freq=2
    " h' E! ~, h3 ^6 w) J6 M) G: L
  1937. ! C0 T; s; D+ y' U" U
  1938. ; Enables or disables file search in include_path optimization
    / e) |1 k! j, y3 }0 N8 Z! |* p9 ~2 T
  1939. ;opcache.revalidate_path=09 W0 p1 M1 I1 J
  1940. & t; W. [. X/ a5 j2 O
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    . B. Q8 C% H" Y; A$ K
  1942. ; size of the optimized code., N5 i& X- q2 C7 s0 K0 q3 K
  1943. ;opcache.save_comments=1
    , X2 Y: `0 z% K) I5 h- L

  1944. ! O- X% ]9 ~( f( t
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"4 v2 j% C4 z: u
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    . O+ v2 z8 h2 c# K* l4 C3 h
  1947. ; that don't need them anyway.& R8 G$ e# c+ N6 }
  1948. ;opcache.load_comments=11 Z& |% i: f* y6 ~# a; J# v$ e
  1949. . d- x9 \5 g2 T$ k, K3 {) @. F9 j1 e
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    . M$ l: q  Z; {  H. l
  1951. ;opcache.fast_shutdown=0
    % g0 {" K) g/ Q+ w

  1952. ( [) L  s- d! ~' U) `, `
  1953. ; Allow file existence override (file_exists, etc.) performance feature.$ u  m+ b% d7 X) C' g
  1954. ;opcache.enable_file_override=0
    ! ?, J# f) Z4 E" @4 c% Z
  1955. ' ?9 n% W$ N5 C9 d4 c
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache( d0 N( W# D. ?  J% v. G7 {
  1957. ; passes" b% X" a' D7 T) t9 ^  r  g; f3 t
  1958. ;opcache.optimization_level=0xffffffff
    2 x* u7 i6 o  D
  1959. + Y8 w+ g! ?! D) }4 X* U
  1960. ;opcache.inherited_hack=17 N4 }. a  c. B; j" J' G  }+ v
  1961. ;opcache.dups_fix=0
    2 O& Y- S1 y: M7 A
  1962. 2 Z5 G$ N% l" H" x2 R9 D
  1963. ; The location of the OPcache blacklist file (wildcards allowed).* i* r+ @% [8 |# K0 V  r/ z: _: g/ Q
  1964. ; Each OPcache blacklist file is a text file that holds the names of files# J5 y/ p3 _2 o4 B
  1965. ; that should not be accelerated. The file format is to add each filename
    , g  K. R1 s* d! v& R, f
  1966. ; to a new line. The filename may be a full path or just a file prefix
    1 H. t9 i! q3 {# v4 d( X; i
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www* q$ P( G" Y& K+ u
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    * [: g' a4 ?; U. c% E" E
  1969. ;opcache.blacklist_filename=1 `0 Q4 _5 O% ?, r8 h
  1970. 3 T6 P( [$ H0 i9 v& F7 h
  1971. ; Allows exclusion of large files from being cached. By default all files2 V1 Z' n' c7 ^( m
  1972. ; are cached.
    1 k4 [1 d7 {4 i+ H6 I5 f
  1973. ;opcache.max_file_size=0
    1 H, A- J3 |& C3 q
  1974. ! |' [5 ~7 |. P. S7 w$ X4 T
  1975. ; Check the cache checksum each N requests.% Y9 t+ n; h5 F8 B% K- K
  1976. ; The default value of "0" means that the checks are disabled.
    ) w* W4 J8 p; {) y9 |% J
  1977. ;opcache.consistency_checks=0/ V, ]) A- e, {+ \* D, h
  1978. 4 E# v% j* @) L' N2 f2 b8 ~
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache& h* K& R$ b8 z! z
  1980. ; is not being accessed.
    2 F/ A! B# Q7 X' K
  1981. ;opcache.force_restart_timeout=180
    # {3 X6 E6 s  k5 `) n
  1982. 7 [% I, |$ i+ w* q* f
  1983. ; OPcache error_log file name. Empty string assumes "stderr".6 u/ a+ ?' c' T) m* o
  1984. ;opcache.error_log=
    : n; @5 s$ `2 E0 d, w5 ~' c9 s
  1985. 4 d" O6 D8 u& \, n0 C
  1986. ; All OPcache errors go to the Web server log.1 V: s; |/ d6 b1 ~3 a8 A
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.2 L# c8 c  {3 G7 T$ E) H: z
  1988. ; You can also enable warnings (level 2), info messages (level 3) or6 \' A: [  c6 \4 S9 S/ y+ D
  1989. ; debug messages (level 4).# \) W1 [( `1 d
  1990. ;opcache.log_verbosity_level=11 o3 |$ _  p! K7 x9 G

  1991. 0 h% ?  t1 `9 V3 g5 g! n
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.0 |% d% R  e5 O' h3 H' U9 [" j. w
  1993. ;opcache.preferred_memory_model=4 H1 W+ _  P* f# G" ?

  1994. ; x, u2 g2 ?' W8 Y7 m  |
  1995. ; Protect the shared memory from unexpected writing during script execution.3 C' y+ Y5 ?$ \; v$ B$ ]4 V) _
  1996. ; Useful for internal debugging only.
    ; `- v; O; x' L' H  L; e
  1997. ;opcache.protect_memory=0
    : A8 T4 U7 @. I
  1998. 5 v) n+ g/ j+ s4 {' J: @
  1999. ; Validate cached file permissions.
    + T1 K: Q+ K5 E( U' w3 X. H' e% F
  2000. ; opcache.validate_permission=0
    # w0 s1 J. }, f

  2001. ) q# r. d; B7 V1 J, S& Y5 o# L
  2002. ; Prevent name collisions in chroot'ed environment.
    , m% q& ]6 A  s
  2003. ; opcache.validate_root=0
    $ \! c! X4 a" x% ]; |

  2004. 2 D3 l& l7 G: j( n1 S
  2005. [curl]
    ; ~) s0 |* Z: ~, i& s1 T. |0 ]- ]  P
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an' @) u8 d" L1 s: R, @
  2007. ; absolute path.6 x( R# u3 t% u6 W; Q$ E; e
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt) M+ z5 {" I6 J2 X1 s! @' C8 l
  2009. : V5 G3 R% P0 ?6 b
  2010. [openssl]
    4 ?% U6 G6 Y" {) M- m
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem, ^/ k8 K* `2 Y8 J4 }5 r7 c
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    ) x; m* Y1 i! P
  2013. ; not specify a value for this directive as PHP will attempt to use the9 D" }/ F6 s, d
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    " J1 k3 C5 o$ r' M5 s9 D! }( a
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    % F0 Q3 J) g1 p4 b1 H8 S
  2016. ; option.
    " c8 e( G# k# q/ Y+ E
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    ' `! f! |2 g) ~8 \- @
  2018. 0 o4 _5 `- A& }( B
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    & _- z' U  B, t5 t! ?/ T- \/ P- E
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    4 c  Q+ _2 f! y% w, Y- O2 R
  2021. ; certificate. This value must be a correctly hashed certificate directory.& d* I+ O+ _" {2 C* X+ I+ N' _
  2022. ; Most users should not specify a value for this directive as PHP will* ]. M3 ?0 _6 B" k8 [
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,' W" _/ e( t0 p/ z
  2024. ; this value may still be overridden on a per-stream basis via the "capath") H! n3 r- Q2 K6 N* T
  2025. ; SSL stream context option.
    + ]& F7 c' [: h/ C
  2026. ;openssl.capath=
    * r! ]0 D0 r, g$ g& g7 R/ D

  2027. & ~2 y) u- ?" Y3 J7 h- E7 Z4 \
  2028. ; Local Variables:5 d; O' a9 x1 R! [5 M
  2029. ; tab-width: 4
    ! x- U( k. c2 ]; z: D; {8 N
  2030. ; End:
    # r/ |- g4 V9 ~( c" h* q* s$ h

  2031. ' D1 u& t- @2 O# i$ f
  2032. ;eaccelerator2 w. F! ^' {$ k
  2033. ) x' J; F1 \  ]; A
  2034. ;ionCube
    . N. Y% s& f" z2 U/ ?. s% ]
  2035. $ c, F/ k% ]$ d5 m( Y
  2036. ;opcache
    # K  U- c/ I! n  s9 j3 }8 O# q

  2037. 0 Q0 ^, T" a8 v- @& X+ G
  2038. [Zend ZendGuard Loader]
    & x* s; U* s3 p2 g, f, e
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so( [: q1 i$ I3 ^# S8 t5 {/ O
  2040. zend_loader.enable=1/ A/ X$ t3 E2 Q- V; R
  2041. zend_loader.disable_licensing=0
    - h0 ^& Z2 [4 Y5 j3 p. B8 M5 C
  2042. zend_loader.obfuscation_level_support=30 g! c" B/ @$ Y) k/ }4 o
  2043. zend_loader.license_path=
    4 [5 z! Q- ?) i; z: E, R1 B

  2044. : h+ K3 j6 N. \: p3 |. H: p& M
  2045. ;xcache& c, Y( Z1 T( o, K# X0 n5 Q

  2046. ' E% W) K8 ]9 i
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
0 o8 v) ?% o8 m6 {+ z
: [$ a0 P: X' Q8 G' l
  i7 m% W8 Q. W% uDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,% ?' ^, @  h2 R3 H( ], J' a

. w* E; E( g( C/ n# w' M* g, g( QDiscuz!程序版本选择:/ T+ f3 o' w; n# W9 Z4 {# p6 {
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
) C* e3 Z5 g) t& x2 R! S不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
+ o# U4 E1 S7 V- n: yDiscuz!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。; r) K& T' C3 C# E+ F/ f" c
7 O5 y5 R7 s* m" h  v
Discuz!插件模板版本选择:8 x3 {2 Y& Q9 [7 R% ?' l
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,4 j$ _/ p% C, \+ A+ _, A7 e( C( }
针对这个问题做个统一的普及:$ \' j4 E* T; U  l4 J9 v7 {) `; _- T
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。9 E# S! o, T/ K" i1 j
0 g: A: [3 [3 o
所以
. }! S" [( M0 i1 h( ^/ j4 X3 a适合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的二级域名。
2 ]# F3 Y6 ?0 o. ]( A2 K. \$ ^3 j打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
6 Y6 T5 T3 o. X; s! l% w- T1 a注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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