分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0/ ^& {& C" X8 J' J, l) T* H/ Y

% Q+ M/ ?; e7 ]2 T# ^% ?( X
  1. [PHP]
    # w2 V% }7 n8 Y4 @) _- s8 ~
  2. ) \! e) n6 O$ g) v7 U# F' D) |
  3. ;;;;;;;;;;;;;;;;;;;
    ' K" ~: L+ X* m5 {: m
  4. ; About php.ini   ;$ g' u4 u: n3 f* N# Q
  5. ;;;;;;;;;;;;;;;;;;;) K* P0 G& _4 ~4 W
  6. ; PHP's initialization file, generally called php.ini, is responsible for/ o! b. `. c* @% S
  7. ; configuring many of the aspects of PHP's behavior.
    , g  X+ P1 ]* w  Y0 r

  8. 3 j7 e4 Y* N, K0 ?7 ~! r: |* {
  9. ; PHP attempts to find and load this configuration from a number of locations.
    1 i+ Z0 Y9 C' y3 e3 B
  10. ; The following is a summary of its search order:! u9 O& n$ c/ B6 q! t- ~
  11. ; 1. SAPI module specific location.
    9 @1 d$ _0 C+ E. C" o6 N
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    7 {- I" b( w" t( g" S) Q2 H
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    & Z8 T% i0 Q+ l' a- f  X* u
  14. ; 4. Current working directory (except CLI)+ D* Z6 t3 p, E" X/ c# x- `
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    * D- F) e' y) T1 D% n2 _6 C
  16. ; (otherwise in Windows)
    - G  n- F1 n: H
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    # P: R; F; c$ ~/ y2 R) Q
  18. ; Windows directory (C:\windows or C:\winnt)
    ! u, U" ?( Y5 Y4 X. S9 i+ b
  19. ; See the PHP docs for more specific information.7 V6 K4 H- B3 d) ^9 g
  20. ; http://php.net/configuration.file, J, T, j: U6 T
  21. 9 {$ ~3 S0 {7 O' b/ _. ~2 K" |: z0 l- c
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    & d* f5 t) o. {$ [7 }. U
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).& i+ q" }5 l+ n8 C: Z3 J6 L3 l
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though) h% p6 w$ g! H3 y( s8 R7 t( ?
  25. ; they might mean something in the future.6 ~+ s% w0 W7 z3 Z5 T3 T8 Z

  26. 5 z( y8 e2 i" x5 t7 T7 p- r8 a0 Y
  27. ; Directives following the section heading [PATH=/www/mysite] only
    * m- x3 ]2 |/ Z; V; V4 L
  28. ; apply to PHP files in the /www/mysite directory.  Directives8 g1 G4 W6 Q0 c5 i7 n1 l" J7 i
  29. ; following the section heading [HOST=www.example.com] only apply to4 t6 ~8 k$ ~7 {- A, s: p0 A# _) m
  30. ; PHP files served from www.example.com.  Directives set in these) k" v9 o: \1 s$ x3 V
  31. ; special sections cannot be overridden by user-defined INI files or
    0 o* G/ U7 o$ w; N$ F$ v9 n
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under2 ~3 Q$ m( j- r5 _: c" i$ l4 H
  33. ; CGI/FastCGI.
    + s; F! H* x& W+ z
  34. ; http://php.net/ini.sections, |5 `1 i) c: K8 a0 T5 q# R

  35. % V; F4 P/ o/ r5 c9 W+ j% m! w
  36. ; Directives are specified using the following syntax:
    * r- s% P" O( k2 o1 B
  37. ; directive = value+ R0 h3 ~$ X. ]6 ^  Q
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.7 g: X% B) G9 c0 _
  39. ; Directives are variables used to configure PHP or PHP extensions.
    # b8 }1 y+ m5 ~
  40. ; There is no name validation.  If PHP can't find an expected
      A$ T. w/ e6 }; `0 u/ G( P1 t
  41. ; directive because it is not set or is mistyped, a default value will be used.
    # r1 p) }5 Y0 L8 F8 \) ?& ~: M

  42. $ |9 z* m# K" e7 [  [: C: S# s
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one3 Q- L* Y$ ]4 O) z
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    2 T  k0 a9 Z/ F* n0 g
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a2 L7 ]+ D. [1 X5 [  M
  46. ; previously set variable or directive (e.g. ${foo}): }( v$ E; L4 ~" o: E; K" `9 L  R5 ]
  47. $ g& Z; `3 g0 x" g, j3 x  k
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:7 P) ]6 ?2 i3 R$ T2 c
  49. ; |  bitwise OR. [* O* j) t( ^' Y
  50. ; ^  bitwise XOR
    & P* O3 w( E) D0 J# E; z3 v
  51. ; &  bitwise AND
    * i/ e! X: |/ X) t  I# i- Y
  52. ; ~  bitwise NOT
    4 W$ f5 ?/ b- R1 w" ]- ?, H2 {
  53. ; !  boolean NOT
    / p6 d! g& b8 X1 y

  54. 2 R4 E1 C1 u" D- `/ @  T& b# @
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.& V+ S2 Z1 y& Z) ?0 ^
  56. ; They can be turned off using the values 0, Off, False or No.
    8 t+ R# m  x( s
  57. 4 q4 H8 q  B, \  y
  58. ; An empty string can be denoted by simply not writing anything after the equal
    0 L$ h. Q$ `( {, c
  59. ; sign, or by using the None keyword:
    0 r1 F" d/ F$ I/ Z
  60. ' N: ^' q! J* k: i$ A
  61. ;  foo =         ; sets foo to an empty string% G" a7 K" G( F! |! b* u  z: ]
  62. ;  foo = None    ; sets foo to an empty string
    ' n% W9 R0 d4 b5 x& [
  63. ;  foo = "None"  ; sets foo to the string 'None'% M7 H- [& n8 I2 S; K- l

  64. ! L; Q$ x4 j3 x  _" k
  65. ; If you use constants in your value, and these constants belong to a; Y* C" J2 \( |0 ?2 V3 X+ U9 a3 i: d2 y
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),& B0 H/ e" H8 B# O3 k0 E; K
  67. ; you may only use these constants *after* the line that loads the extension.
    - I; ^1 c# u/ K, d6 p4 \# x

  68. ) K( I: |0 x" d0 j
  69. ;;;;;;;;;;;;;;;;;;;
    : [1 u+ T, J3 D1 t  j7 ?
  70. ; About this file ;+ X- y$ s/ l3 z( A' j
  71. ;;;;;;;;;;;;;;;;;;;
    2 B: e' `9 i9 ~! P: E
  72. ; PHP comes packaged with two INI files. One that is recommended to be used4 d8 k: ]6 m* M/ B- o
  73. ; in production environments and one that is recommended to be used in
      X6 e. c7 f; w& K7 U7 d- v
  74. ; development environments.( s# R; X2 e7 b5 U+ t
  75.   B" X4 m9 G5 E  I, }4 R
  76. ; php.ini-production contains settings which hold security, performance and7 L( @) ?& D8 w! ~
  77. ; best practices at its core. But please be aware, these settings may break
    & l* D: E6 A, J" B8 l8 C+ N
  78. ; compatibility with older or less security conscience applications. We
    ; G7 V6 c, {8 i" H3 @) T' O1 z
  79. ; recommending using the production ini in production and testing environments.% }" U( ^' Q6 c

  80. - w1 K. h! d. v0 m7 p/ q) X% l" V
  81. ; php.ini-development is very similar to its production variant, except it is: i. H: h/ N; ^! J) a, j) y4 Z
  82. ; much more verbose when it comes to errors. We recommend using the
    " E. r: b' o1 Q5 e2 w
  83. ; development version only in development environments, as errors shown to
    - ~& P* i2 J9 w: h( U
  84. ; application users can inadvertently leak otherwise secure information.5 P- |2 ?+ x5 r% E' D: m0 s& g

  85. . v2 P5 `0 G6 O; o$ A
  86. ; This is php.ini-production INI file.% k) K6 \+ w0 \! f5 Y& B) R
  87. 9 w& j* I3 |& e. T
  88. ;;;;;;;;;;;;;;;;;;;
    ; N- t$ I8 u- A; \3 [+ }
  89. ; Quick Reference ;
    - ]0 E# n+ a) P% u
  90. ;;;;;;;;;;;;;;;;;;;5 m9 }7 I3 @$ e6 ~1 h8 U3 h6 d
  91. ; The following are all the settings which are different in either the production
    ( u9 ^6 I- ?. |
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    2 P0 B$ }+ T: G3 z; L
  93. ; Please see the actual settings later in the document for more details as to why
    * E8 U! U5 [3 ^/ Y* i
  94. ; we recommend these changes in PHP's behavior.
    ) }/ A  k: M% N/ Q) E4 g" C
  95. $ A% N0 v5 h* z2 j0 e( U
  96. ; display_errors
    # R$ Z* W- M# s4 n! L- u* T& Y4 d
  97. ;   Default Value: On2 t  i( Y% q! ~* C% E0 j9 ^1 D" K4 v
  98. ;   Development Value: On
    ( u( j, u) Z  L2 u& v$ A. \5 G- v$ r% k
  99. ;   Production Value: Off
    3 W8 t( J. N6 N% \- b  j3 M, k- d
  100. 4 H$ @# I$ |2 V" x2 R1 M% O" t
  101. ; display_startup_errors
      m* F# R5 x+ @: W  d- p
  102. ;   Default Value: Off
    1 U: E" d5 k7 o
  103. ;   Development Value: On
    ! j# [7 `: j% d' E
  104. ;   Production Value: Off9 u  I9 J: K* z( J% c' l) t& z- ^0 N
  105. 1 u! M/ r/ r6 A0 ?! M. a2 w
  106. ; error_reporting
    / _: D/ W; ?1 ~( R
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    * o* Q' q# R5 X
  108. ;   Development Value: E_ALL" \: E, M- ^. k' Q: n
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    1 |7 u$ M( Q: e- @! d
  110. : K$ ]* b% f  Z  ~+ c
  111. ; html_errors! L4 u" Q9 Y9 t" y6 b# i+ M* J% H9 i
  112. ;   Default Value: On
    1 n3 }# u7 E! S: ~
  113. ;   Development Value: On
    " q8 E/ J6 h9 }. b8 L$ _
  114. ;   Production value: On
    : z. Q' V1 E- n0 O% d
  115. 0 I8 P+ @9 \# R
  116. ; log_errors6 J; A! y! E6 A
  117. ;   Default Value: Off- |" v9 C9 |% e4 @& G
  118. ;   Development Value: On
    ) {) o9 i, O( Y6 B7 f, \
  119. ;   Production Value: On
    2 h: v) u+ s2 X- J, `

  120. 4 q2 c: u3 V* U/ c; ]# q7 ~; K
  121. ; max_input_time
    ( j* z- n/ T0 C/ S( T2 D9 E+ W% E; p6 k
  122. ;   Default Value: -1 (Unlimited)
    - v' p7 T* W# M' l! h5 R" b* d' r
  123. ;   Development Value: 60 (60 seconds)
      a  ~7 R$ I4 S1 W/ L
  124. ;   Production Value: 60 (60 seconds)6 I( a3 X* \( B7 g( b

  125. 0 U. [: g- D: f, T: ~5 c  J% Z
  126. ; output_buffering! W) ^# x+ ^. e" x1 x
  127. ;   Default Value: Off: Q: A7 y& g2 J( ]
  128. ;   Development Value: 4096' q5 q3 \% @! b2 y4 }. o4 t
  129. ;   Production Value: 4096
    4 O5 T, A" u/ q% L
  130. " K* K$ b' M5 X7 }( S: x) e
  131. ; register_argc_argv9 K* q, l3 \; J6 W
  132. ;   Default Value: On9 B& P& v8 h4 N$ k
  133. ;   Development Value: Off5 n( M& Q& N( y$ ?- E! Y7 ^# ^6 j2 y& q
  134. ;   Production Value: Off0 B: z, w1 h; w. O3 n' g! ?

  135. 4 s, V3 J. ^# w: |
  136. ; request_order4 u% W/ [# R& ~2 U( S
  137. ;   Default Value: None9 H% b/ g0 g& l4 f0 K7 O
  138. ;   Development Value: "GP"6 Z& t) f" g3 N9 z  a
  139. ;   Production Value: "GP"' B2 v& Y# `1 ~8 t
  140.   O% y1 p; b* E/ _! `: G- z
  141. ; session.gc_divisor
    : K$ H9 S2 N0 ^
  142. ;   Default Value: 100
    0 l* C! r1 u4 v1 K' M
  143. ;   Development Value: 10008 |; D2 |( C6 V* v( Z! o9 @8 |
  144. ;   Production Value: 10007 H" `) E9 M( e% s

  145. - t9 ^3 d( F" V9 [
  146. ; session.hash_bits_per_character( F+ X7 ^% e5 o, w: Q6 S
  147. ;   Default Value: 43 ]" w. t8 K+ m8 T3 i, T
  148. ;   Development Value: 5, p* x% l( i8 }) P
  149. ;   Production Value: 55 _% v3 p$ @' O! i+ m- g2 w

  150. , x6 y- k! e* w) [' c" a/ P4 r
  151. ; short_open_tag* O# @& O4 o! A7 v
  152. ;   Default Value: On7 K- Q# Y. l" c9 n0 V7 ]
  153. ;   Development Value: Off
    & H1 E9 }3 {. y( j1 b
  154. ;   Production Value: Off2 v' _7 Z! ~, b1 \/ p- g

  155. ) v& h6 G  T5 E9 L# u% ~4 g* g. {) \4 R* H
  156. ; track_errors% ?5 {2 b3 Q; D$ B
  157. ;   Default Value: Off- z( d: l2 f. E
  158. ;   Development Value: On
    1 h! M' F$ Z+ j3 p0 F7 c6 _
  159. ;   Production Value: Off
    5 U9 Z4 e$ c" N8 r+ e

  160. , p( |! r, g& V, X# ~, V3 L
  161. ; url_rewriter.tags
    8 V) ~/ j& [7 }( N2 m3 l
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    1 [3 x) q6 H) `- m4 l
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ) B9 ]/ l* L/ L  _
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
      y2 f: ~' s% \; Q5 n& N6 D

  165. 7 x. g8 O7 a4 n' R- t
  166. ; variables_order
    ( y+ h% P7 \" a* m
  167. ;   Default Value: "EGPCS"+ b6 Y: V) `, k& ?9 k
  168. ;   Development Value: "GPCS"8 t3 a  G+ f0 p6 ]
  169. ;   Production Value: "GPCS"; q% V! e% q# a' T
  170. 2 ^; t- \! g$ H: y: [; v0 J! L5 q
  171. ;;;;;;;;;;;;;;;;;;;;
    # T; o% o" N% C  T' N
  172. ; php.ini Options  ;1 U4 T" \" ?8 |$ ?/ N: b
  173. ;;;;;;;;;;;;;;;;;;;;6 B: ]. ?( M  [4 `( {0 S
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    6 X( p$ S; x* w5 Q
  175. ;user_ini.filename = ".user.ini"
    # Q+ j: X% n' ~; m/ o% D' R7 D% G
  176. ; N0 r+ C6 F' x# n5 \% f8 {6 z
  177. ; To disable this feature set this option to empty value4 X! T! f( n/ j. W. o0 j) _
  178. ;user_ini.filename =$ _% Z% @8 y* H3 i7 n: I
  179. , p3 j. \$ y; F3 p
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    - L8 P( v  S: j; q+ W! [' Q; h. n
  181. ;user_ini.cache_ttl = 300: u( h0 Y" s( ^  |, h: W7 O, B

  182. $ `% K+ B8 s/ h/ w4 [9 T( p  f
  183. ;;;;;;;;;;;;;;;;;;;;
    # ]; S: Y  n' u  f1 B+ Z, f4 q# @
  184. ; Language Options ;+ M, @9 j, v! r* l1 _! t8 {
  185. ;;;;;;;;;;;;;;;;;;;;
    ( M6 b/ X% M/ y5 w8 p
  186. . o! ^0 B+ ^- y- a) \
  187. ; Enable the PHP scripting language engine under Apache.
    $ Q0 ~# k! |* K5 ?0 d0 P
  188. ; http://php.net/engine
    % I" O5 Y6 y) `1 A) b9 F7 ~0 z" Z
  189. engine = On
    ! d" f3 b  O  e9 y) |/ }: v

  190. / V1 x  n  Q: \* J# @
  191. ; This directive determines whether or not PHP will recognize code between  u8 c4 u/ }% F( G7 ^8 J: r
  192. ; <? and ?> tags as PHP source which should be processed as such. It is* j0 `1 C5 t" Z8 X( A
  193. ; generally recommended that <?php and ?> should be used and that this feature5 z3 q8 c1 a& f9 L" M
  194. ; should be disabled, as enabling it may result in issues when generating XML
    5 t9 \) J# A( o9 Y
  195. ; documents, however this remains supported for backward compatibility reasons.
    4 J5 y! L6 F3 K4 x' e/ |
  196. ; Note that this directive does not control the <?= shorthand tag, which can be8 n  C8 F6 a1 @+ L. h9 k# A
  197. ; used regardless of this directive.
    $ P; I/ k9 o; B( d. f. I. s$ v1 J
  198. ; Default Value: On
    3 u% L. V. t0 c% @- h* p
  199. ; Development Value: Off& O) G% ~) O4 O' D- S/ ]
  200. ; Production Value: Off% z4 \! i2 I1 q; }( G
  201. ; http://php.net/short-open-tag) x; t2 u# E& Q. i# G9 D7 a
  202. short_open_tag = On
    ; `  d$ v  c5 B
  203. 8 ?  I# q" Z! ^3 n: f. w  L
  204. ; The number of significant digits displayed in floating point numbers.
    % Q" t. F: ~$ f% T1 s. t/ W7 k
  205. ; http://php.net/precision
    1 i$ b( u! j) m& x
  206. precision = 149 u( W7 I$ W. P2 @
  207. 2 j5 E" Y/ c3 Q0 x; F1 d
  208. ; Output buffering is a mechanism for controlling how much output data- O& r) e2 y' e& i) [. F8 [
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that8 l) F) \3 \' ?; T5 {; c
  210. ; data to the client. If your application's output exceeds this setting, PHP
      U+ |  S9 _; w5 g3 d
  211. ; will send that data in chunks of roughly the size you specify.
    * ~2 ^( |& \  {& O4 s7 P$ I
  212. ; Turning on this setting and managing its maximum buffer size can yield some; |& e4 i0 p  f, F+ F: s5 x
  213. ; interesting side-effects depending on your application and web server.
    6 S* B0 `  X( U, i7 i
  214. ; You may be able to send headers and cookies after you've already sent output
    & x6 I' Z. o9 `7 V
  215. ; through print or echo. You also may see performance benefits if your server is% b# l% K2 V# e0 }! k/ `  ?  k. n
  216. ; emitting less packets due to buffered output versus PHP streaming the output2 L5 L" i5 |) U' d7 F( G
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    6 C6 }% f7 R  a7 ~2 e
  218. ; reasons.8 \1 h4 o- G7 b' M  Q* C8 V
  219. ; Note: Output buffering can also be controlled via Output Buffering Control' r4 p# V; `8 w
  220. ;   functions.
    # D2 _/ {" u+ s/ G( `
  221. ; Possible Values:
    5 M/ V0 i! r; @5 H1 r
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    + p* o* e% K6 m0 e
  223. ;   Off = Disabled- ]3 N( x4 n+ o' K
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    # L- ]. N/ o+ Z. g' X% v
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI$ d) V* K9 I3 o5 T% l6 H' @
  226. ; Default Value: Off' g, i& \; r' m5 Z
  227. ; Development Value: 40968 o( S% E' @1 @, T$ C" ]
  228. ; Production Value: 4096, z2 z. S# |# [4 |
  229. ; http://php.net/output-buffering( |8 p: W3 ]; N4 G3 [# h/ k+ W; [$ [9 ^
  230. output_buffering = 4096
    " U+ \  [- v7 l% @% \

  231. 9 P( A9 w4 [4 j8 k0 D
  232. ; You can redirect all of the output of your scripts to a function.  For# G3 E% P( }; t1 t% E* P; N
  233. ; example, if you set output_handler to "mb_output_handler", character
    0 m. c) ?- D' s6 r0 Y
  234. ; encoding will be transparently converted to the specified encoding.
    2 S% {% g3 S( b4 T5 g6 T' J
  235. ; Setting any output handler automatically turns on output buffering.
    ' B6 h# o! E7 G
  236. ; Note: People who wrote portable scripts should not depend on this ini, `* f- n  ]" L( M& w
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    ) V6 N* D2 Y% v" X! _
  238. ;   Using this ini directive may cause problems unless you know what script
    - ~9 q" u$ P' u: F# v4 \8 r+ J
  239. ;   is doing.
    ; R, M6 y8 `9 {* U& Y4 T* f- b
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"! r% X( G' O1 D' {
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".! l& W' ?! @/ {- T* ^
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    3 W( P; n3 C6 x- P1 v
  243. ;   Instead you must use zlib.output_handler.2 M& `" `/ z/ K2 l% O
  244. ; http://php.net/output-handler3 {! H5 d6 N1 Z7 [% ?
  245. ;output_handler =( i3 A4 d# `, P1 P! I3 h* [
  246. ( N& e& x. }! K! E" _
  247. ; Transparent output compression using the zlib library* h; y8 w5 V1 Y" q- J/ D0 K5 U' i
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size1 Q7 s/ D! K9 B3 J
  249. ; to be used for compression (default is 4KB)5 d3 r* ^8 Y/ \+ r
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    5 r; V0 U  n* `! B! w, ]6 t( a. w
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    ' `, s9 z) V4 g6 x$ \
  252. ;   compression. If you prefer a larger chunk size for better
    1 d# w, L4 F6 `& \% K" S; ~6 b
  253. ;   performance, enable output_buffering in addition.
    % D4 l- L- E3 e  m5 \( \
  254. ; Note: You need to use zlib.output_handler instead of the standard& l6 k$ g9 ]4 K1 x% g4 o4 s$ a# G
  255. ;   output_handler, or otherwise the output will be corrupted.6 N, u/ Q- j0 v5 c
  256. ; http://php.net/zlib.output-compression  r3 O: ~& O) E( ?& m1 T/ R3 ^4 T
  257. zlib.output_compression = Off- A1 m3 o% Y, ^4 z/ t4 ^

  258. / }% V' F0 b4 X6 W
  259. ; http://php.net/zlib.output-compression-level. J- |+ F9 x* e2 c8 H0 M2 Y
  260. ;zlib.output_compression_level = -1/ {. ^* R" b% g$ ]) D3 F) T( r5 {8 t
  261. 0 G1 D3 E- x1 r! e8 t
  262. ; You cannot specify additional output handlers if zlib.output_compression4 W* T, P& y8 Z, O/ q. v; ?
  263. ; is activated here. This setting does the same as output_handler but in
    0 H5 ~2 I$ m7 B! g! ~6 B1 n
  264. ; a different order.5 Z2 A5 A; D) G6 ~$ d; U9 w9 B
  265. ; http://php.net/zlib.output-handler- c& o, J# E) \% u; m. m
  266. ;zlib.output_handler =
    # ~( x; V* Q* t- d) q  E0 G+ Z

  267. . @. E5 N) T; A9 b1 Z
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    $ S, v) M6 f* T4 F7 q0 _% I( V
  269. ; automatically after every output block.  This is equivalent to calling the
    ' }  w* S0 }7 c* j  r% L
  270. ; PHP function flush() after each and every call to print() or echo() and each# t) V) b: L3 V  Y! y+ q  }# v, i
  271. ; and every HTML block.  Turning this option on has serious performance
      n) t. O5 B. P* T& G
  272. ; implications and is generally recommended for debugging purposes only.  n7 ^0 F" i8 w. V* v9 O
  273. ; http://php.net/implicit-flush
    " W" ^! F$ F7 O- x) F9 D
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    4 x. C+ \+ S8 t/ x0 ], e
  275. implicit_flush = Off- x% D. n6 x, ?4 ]# o

  276. / x% Y" s) q1 r( j6 p2 e6 F
  277. ; The unserialize callback function will be called (with the undefined class'
    ; l1 Q4 V. R: E  V1 G# X7 |
  278. ; name as parameter), if the unserializer finds an undefined class
    3 }+ i7 e9 Q+ ~/ ?, S
  279. ; which should be instantiated. A warning appears if the specified function is
      P6 q. z. r# R) a. b$ ]4 M  _# F+ L
  280. ; not defined, or if the function doesn't include/implement the missing class.
    * o6 o$ x, L( L, Z3 z( w: {
  281. ; So only set this entry, if you really want to implement such a; j6 b) o: t+ s0 X6 S; U
  282. ; callback-function.4 O" k) [  h# Z# ]
  283. unserialize_callback_func =
    & }& _1 s3 e$ v' s2 G/ u, D8 F
  284. 0 b5 |4 J1 _+ u* h. Q6 S. W- M/ ^
  285. ; When floats & doubles are serialized store serialize_precision significant
    . t5 _) D- X% F2 @# q2 v. p1 J
  286. ; digits after the floating point. The default value ensures that when floats8 o" R7 q" P2 `* g+ Y% f
  287. ; are decoded with unserialize, the data will remain the same.
    ) W% m7 A% R6 D# Y) O. X4 b0 f* I/ a
  288. serialize_precision = 17
    " @$ p. C4 ]1 w) \$ M) h

  289. * Q; P/ r- |: g1 S/ @9 b
  290. ; open_basedir, if set, limits all file operations to the defined directory
    8 H5 K9 |1 D$ v; Q& ^4 ~  R& B; t
  291. ; and below.  This directive makes most sense if used in a per-directory$ V$ B" A; y  u
  292. ; or per-virtualhost web server configuration file.1 O  O4 p2 k3 S! ]! N# n' ]! W( O
  293. ; http://php.net/open-basedir. W5 K$ u4 o1 V; r
  294. ;open_basedir =
    7 S2 G5 s& l8 G! A) ]: @
  295. ; i" h4 Z- A$ w/ u/ W; {' _( w! P
  296. ; This directive allows you to disable certain functions for security reasons.! n: }( K! w( \/ q2 e
  297. ; It receives a comma-delimited list of function names.
    + I, b! a& B4 U0 P0 G
  298. ; http://php.net/disable-functions
    1 C: V: a/ V& f! N
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru) ?4 Z$ s6 u0 @' J: F: K
  300. 9 `3 Y2 h( L7 k- s9 q' G$ {( ~" t
  301. ; This directive allows you to disable certain classes for security reasons.* i4 ~( g) g: T; `7 H/ P% y, x" h
  302. ; It receives a comma-delimited list of class names.0 n& E1 G* }, J  h
  303. ; http://php.net/disable-classes
    4 G+ L0 |' \7 |% q6 Z/ `
  304. disable_classes =' k1 ^$ O& U: |. k" u) x1 C6 ]

  305. ) x7 B+ b+ V/ k7 o  _8 p
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in2 s2 _' }% r6 S+ J
  307. ; <span style="color: ???????"> would work.
    9 V% X; W( K2 l  f1 ^6 H
  308. ; http://php.net/syntax-highlighting
    ; h4 i4 A  f* \  G5 c, W% E
  309. ;highlight.string  = #DD0000
    - p* |) K6 E, g# K( t( W' k7 j
  310. ;highlight.comment = #FF9900& z: I( R4 ?4 _" j2 ]; H+ k/ f) ^
  311. ;highlight.keyword = #007700
    ! J4 I8 R* I' U1 R4 L
  312. ;highlight.default = #0000BB# F9 o% H9 q6 P+ C& f8 s3 G; r1 E2 \
  313. ;highlight.html    = #0000006 D9 \: Z7 v( ]% C' ^) p0 {
  314. " O1 C3 W5 i  l3 ~6 L% L
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    7 ^) P" M: h& o2 _( `) R$ x
  316. ; the request. Consider enabling it if executing long requests, which may end up
    8 |: w8 X: p6 g' l# e* N
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    3 u- O. k. s& f* }4 [6 f
  318. ; is to disable this feature.
    6 {( |) c& f8 G3 ]# L9 L
  319. ; http://php.net/ignore-user-abort
    ' v& V6 m) p+ [! @# x; b
  320. ;ignore_user_abort = On
    . x+ T; a9 h+ |' E+ X

  321. $ R& V0 |# n2 k; _* _
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    " o' L' p6 ~/ r0 T
  323. ; be increased on systems where PHP opens many files to reflect the quantity of- q6 g$ E5 ^- u% t  I/ \+ T
  324. ; the file operations performed./ z$ r2 O9 d4 O; t; Q) `
  325. ; http://php.net/realpath-cache-size6 T5 i- _+ a1 ^* x  F
  326. ;realpath_cache_size = 4096k% ^+ _+ ]4 t3 c6 T) O( R
  327. & b" h. i: v' G5 g1 S4 r
  328. ; Duration of time, in seconds for which to cache realpath information for a given  d# }" s0 S; t- \- x# L
  329. ; file or directory. For systems with rarely changing files, consider increasing this! `7 f/ \7 S3 c# R5 i
  330. ; value.
    & t5 O% C3 K: a; c8 \1 s  d3 [
  331. ; http://php.net/realpath-cache-ttl
    6 F, X' j. s9 G/ t5 K7 F6 S3 Z  N
  332. ;realpath_cache_ttl = 120
    0 M5 y0 D5 W2 s* N# }# o/ g
  333. 7 m  A. O; P% F7 y; I/ i/ ~; t3 G
  334. ; Enables or disables the circular reference collector.( f4 N' L% b- @* {( ^& x1 C
  335. ; http://php.net/zend.enable-gc# {9 o' r& o0 ?  m% b
  336. zend.enable_gc = On+ H  Q1 K4 G  p+ Z3 h& M% x" r; Y

  337. / l% i4 [" ?. W1 d% Z
  338. ; If enabled, scripts may be written in encodings that are incompatible with1 Y% v0 Y8 Y5 B; j
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such0 C/ Z: {% U$ D6 L1 v3 ?
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
      I/ ?$ ~. Q( S+ E# r9 t# j
  341. ; Default: Off3 |9 _- A$ G8 o7 D3 _3 n2 k% }
  342. ;zend.multibyte = Off
    ' M# A3 X% u4 c, E8 q& e
  343. # _5 y" _" ?+ G; @8 r/ |, [
  344. ; Allows to set the default encoding for the scripts.  This value will be used7 W: F$ ?8 `1 e: G) f/ ^
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.$ ^6 e+ k5 f7 E$ i3 i! [6 b) l
  346. ; Only affects if zend.multibyte is set./ \: `' |& }' O: v) d
  347. ; Default: ""
    2 q3 @1 W6 R8 R5 J" @. b6 D
  348. ;zend.script_encoding =4 a, F: \# ~, S4 W6 w$ t
  349. / Q0 Z& ^7 [% v3 E3 v8 s
  350. ;;;;;;;;;;;;;;;;;
    , g# L0 {9 ?) L1 D1 W+ f1 f0 q
  351. ; Miscellaneous ;7 H0 p& }3 ]( O9 y& f) W2 P2 k& C7 ~
  352. ;;;;;;;;;;;;;;;;;
      q* ^( W) c8 Q/ b
  353. ( c6 @& O/ h0 \  H
  354. ; Decides whether PHP may expose the fact that it is installed on the server9 A% R) P7 }  A5 _# w- A2 |
  355. ; (e.g. by adding its signature to the Web server header).  It is no security1 c9 H/ S$ d" t4 N
  356. ; threat in any way, but it makes it possible to determine whether you use PHP5 x4 y: s- k/ q& T2 P) p2 i' l
  357. ; on your server or not.
    ( R4 M# {5 p5 q9 F* k
  358. ; http://php.net/expose-php- @8 v6 O( ^, x8 @! G* i
  359. expose_php = On  I0 D8 e, j+ P0 \+ u0 ^+ R! s

  360. 7 k$ l  N0 X6 \( i
  361. ;;;;;;;;;;;;;;;;;;;" |6 j- y. i( ^. C; r
  362. ; Resource Limits ;6 X. L  J2 G8 V. C. U" j$ q5 W
  363. ;;;;;;;;;;;;;;;;;;;! J3 @8 G5 {# t

  364. 5 z; h( ?' A, J! }- W( _
  365. ; Maximum execution time of each script, in seconds1 Z* F2 _. o  L; d8 a+ j7 l" a3 U
  366. ; http://php.net/max-execution-time2 h+ _0 n; C1 v' p2 o5 s* _
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    ; C8 k5 ~' h0 Q9 c
  368. max_execution_time = 3007 U, u2 U) N  ]# P2 d) ]7 Z4 t
  369. 5 o( [. \* c) n1 O& l# F
  370. ; Maximum amount of time each script may spend parsing request data. It's a good5 e* a: q2 F8 ]! x* J( _$ D
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly* n9 D, t: U6 E. _5 m/ T# }: c
  372. ; long running scripts.
    ) \6 j- C7 S2 d9 K& w8 j' O: _
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI) X8 ?& c0 e4 G
  374. ; Default Value: -1 (Unlimited)" X1 ~  [: l) w
  375. ; Development Value: 60 (60 seconds)1 ?% S: e# Q" b7 L$ Q( u+ H1 }
  376. ; Production Value: 60 (60 seconds)
    - c: g' B/ X9 R$ J* ^  t
  377. ; http://php.net/max-input-time
    5 e' ~: H9 x  \2 d
  378. max_input_time = 604 U4 S8 o% c. X( b* _/ S7 {7 g9 k/ o

  379. 8 s' \% w8 D1 u$ y
  380. ; Maximum input variable nesting level
    8 x+ q( a6 I4 i
  381. ; http://php.net/max-input-nesting-level% z) X4 M9 i9 M7 U
  382. ;max_input_nesting_level = 64
    ( P1 m; n9 s, w* J3 ~  N

  383. % R8 r- c; W% [! o+ F
  384. ; How many GET/POST/COOKIE input variables may be accepted
    1 E& P: S* i  m
  385. ; max_input_vars = 1000
    # d( u* h) ?4 U* r3 e- ^+ g" ]

  386. ' j8 R5 M6 L: z7 Y) b
  387. ; Maximum amount of memory a script may consume (128MB)
    6 V* M9 n% E/ q+ V+ g, }, W7 {
  388. ; http://php.net/memory-limit* U$ M( n/ m  M* v" O0 x: o
  389. memory_limit = 128M
    0 j' d$ L! [: _' v: O# G( v( ~2 C

  390. . v& Z( W3 m; l# j6 q) _* [, ~: x0 [
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;# M4 E2 R  _, a& h
  392. ; Error handling and logging ;# R$ |7 j  x  R* e9 Y4 T# [$ ?, b
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;, Q4 j& r7 A+ s* _6 H% c

  394. ) m4 x2 W- D: |* f
  395. ; This directive informs PHP of which errors, warnings and notices you would like6 Z/ R: G- Z$ ?7 i. c5 V3 `
  396. ; it to take action for. The recommended way of setting values for this
    8 y& y/ d: y, g) G
  397. ; directive is through the use of the error level constants and bitwise
    ) C4 |4 p0 u- r" C6 i4 V( T! V. n
  398. ; operators. The error level constants are below here for convenience as well as: a1 Q0 S3 V4 Y; k& n4 b
  399. ; some common settings and their meanings.7 o  `" x4 M$ n/ v! r! k
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT! \$ M+ m% c+ w2 m0 Z
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and3 e( o/ v& Q. W' m* l
  402. ; recommended coding standards in PHP. For performance reasons, this is the2 ~. b! L( {* `: R
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    + s* M# m$ H9 {$ D$ q
  404. ; resources complaining about best practices and coding standards. That's what1 H8 u' X& p$ O2 n1 J/ s
  405. ; development servers and development settings are for.; v# }( a+ z  Q; Q) ]
  406. ; Note: The php.ini-development file has this setting as E_ALL. This% a5 z5 i; b4 d1 k. Z0 B4 M
  407. ; means it pretty much reports everything which is exactly what you want during
    * Y2 c7 i% Q0 G% b( i! A
  408. ; development and early testing.7 V( e! W2 v, e0 t
  409. ;" a1 ^! Z) C/ \5 h# |
  410. ; Error Level Constants:+ E" b. I' R+ v
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    ' P6 r" Q6 x7 a" G6 ?7 ^
  412. ; E_ERROR           - fatal run-time errors
    ' x% B; l) [5 Y- E+ c2 M
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    6 i! C! h( t, n
  414. ; E_WARNING         - run-time warnings (non-fatal errors)3 d6 \/ F. x- u, Y) p  C
  415. ; E_PARSE           - compile-time parse errors# m1 o( d/ b; u6 T& [" S* ]
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    . P2 n" o! F6 U5 S
  417. ;                     from a bug in your code, but it's possible that it was: a, I" O% ~0 d6 K9 a. H
  418. ;                     intentional (e.g., using an uninitialized variable and
    $ \' k$ o' s0 i# f# V  B
  419. ;                     relying on the fact it is automatically initialized to an
    5 {1 k) R% f8 O- ~% P* O/ N
  420. ;                     empty string)
    ' V- ~+ E, F+ U; a9 w: a
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes1 k% Z- }% S8 z
  422. ;                     to your code which will ensure the best interoperability: i! `: g# r# d! i7 X
  423. ;                     and forward compatibility of your code
    # Z2 x, F+ A8 A2 P. z( E
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    5 U$ o" s2 Z9 {4 \
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's) H; ~$ c5 E8 T' M" p7 p1 b
  426. ;                     initial startup
    $ T% P# T" T7 b  v
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    & E  C% M) I7 E1 H& d3 x  l
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)# `0 B  e# o8 ?8 ^% {2 B: X
  429. ; E_USER_ERROR      - user-generated error message- \/ g7 |: N8 |3 x7 k" U
  430. ; E_USER_WARNING    - user-generated warning message
    7 n% k" F$ Z/ k8 p
  431. ; E_USER_NOTICE     - user-generated notice message
    : L1 Z$ y4 O, S% Z9 W! n
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    ) J, f+ ^2 U5 v6 q
  433. ;                     of PHP, F, ^) G" c% A5 ^& f
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings( y# }1 y- w+ t8 O* E/ T" ^. m
  435. ;$ b4 K. E( W" l, I. ^+ {, Q2 o2 @
  436. ; Common Values:# `4 q- V( q; J2 F9 q
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)0 ?9 N& x3 k; A3 C8 H* `
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    + q* |3 P- s( M/ \6 ]4 t- F  a
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.), T- D. G# x4 g% Q4 n0 A, ^
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    9 v& M! n1 G* A; l/ V( b- K/ l9 @
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    1 E8 p  U! t5 T- i- n, u) w
  442. ; Development Value: E_ALL
    1 E1 v/ F, `' V5 |7 J; M
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    % g4 e& L2 d/ Z) L
  444. ; http://php.net/error-reporting! l$ Q$ l: m4 w$ B0 k7 o
  445. error_reporting = E_ALL & ~E_NOTICE; _2 W/ V' X3 A+ `& Y
  446. 3 L/ \$ ]0 e! c: i2 |& |" u$ b1 w
  447. ; This directive controls whether or not and where PHP will output errors,
      ]- E/ [# N+ v  Q* H( q
  448. ; notices and warnings too. Error output is very useful during development, but
    9 G0 D% J4 y$ }& g4 _
  449. ; it could be very dangerous in production environments. Depending on the code9 T( a; t& I3 V
  450. ; which is triggering the error, sensitive information could potentially leak
    0 Z2 ?: P: k) L  w! ?, _
  451. ; out of your application such as database usernames and passwords or worse.1 O; Z3 r0 a9 I( ~
  452. ; For production environments, we recommend logging errors rather than' r7 y+ T6 m1 V5 L
  453. ; sending them to STDOUT.. j9 {- j$ U% E5 q0 ]
  454. ; Possible Values:0 u- s8 P( r; a3 `" c+ l! B. ?
  455. ;   Off = Do not display any errors
    4 W' f" N- {1 C0 e& p  W
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)& x% Z7 L' X( n' @. Q. u
  457. ;   On or stdout = Display errors to STDOUT
    - T9 {& t1 F* c0 G; f+ G
  458. ; Default Value: On
    8 x( o5 Z- b2 W1 O
  459. ; Development Value: On0 H$ i! z* T& w. u
  460. ; Production Value: Off: o) B9 }, u3 O2 T# ?7 ~
  461. ; http://php.net/display-errors
    . Y/ Q) d. N/ A3 D$ e& B
  462. display_errors = On
    " m9 l# a2 e( {3 C2 j: o
  463. 6 m) u0 E7 k/ y, y8 `+ s) E' L
  464. ; The display of errors which occur during PHP's startup sequence are handled
    3 w0 B+ N8 W- ?1 R$ T
  465. ; separately from display_errors. PHP's default behavior is to suppress those2 e; ~" V8 X" G; S
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    & U  D2 g5 s+ F$ A' f+ p! @, y: F/ c
  467. ; debugging configuration problems. We strongly recommend you
    . V2 Y! o7 _4 [) h0 E
  468. ; set this to 'off' for production servers., |' a3 I4 \- \6 Y; B9 W* x: J) b' v
  469. ; Default Value: Off
    5 o0 V( [* a) m  f4 y) K; k  ^
  470. ; Development Value: On
    9 m7 ?1 i1 |" B
  471. ; Production Value: Off1 t2 \" P% b  m& r2 y& D' ?/ {
  472. ; http://php.net/display-startup-errors& Y0 K, ]  L. C( E5 ~# p* ^
  473. display_startup_errors = Off
    ; [/ z! Q/ B7 N+ N
  474. " h0 u$ V8 ^2 Q# j* q
  475. ; Besides displaying errors, PHP can also log errors to locations such as a. f& c% x2 b) e
  476. ; server-specific log, STDERR, or a location specified by the error_log
    & o; G; V0 {! z
  477. ; directive found below. While errors should not be displayed on productions$ `, q; \' e7 \& o0 E5 R- S
  478. ; servers they should still be monitored and logging is a great way to do that.
    " p% [+ ?. h2 f) [% U" z# r
  479. ; Default Value: Off
    " ^/ p1 \" V+ G2 l7 n$ B1 i
  480. ; Development Value: On
    7 D* O+ \- e0 g7 A% I& }0 Z
  481. ; Production Value: On7 x# u; i7 L' L
  482. ; http://php.net/log-errors4 \1 v* L3 E1 D" m4 g
  483. log_errors = On$ c5 N5 ?/ z+ M  G% j
  484. 6 @& ]/ M/ d/ {' Z( i# t7 w* J0 s4 f
  485. ; Set maximum length of log_errors. In error_log information about the source is, A- U4 n( o! Y8 ^% l; V
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    2 F4 z7 N$ j) z+ }2 s# m5 L
  487. ; http://php.net/log-errors-max-len
    0 s/ w; v8 e1 b; c8 ^
  488. log_errors_max_len = 10241 Y; Y& \/ U' Z7 G$ I
  489. , W6 d" |8 ]5 @1 p" R( w
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same. {2 M, J9 ]1 Q* d, W) t8 T
  491. ; line unless ignore_repeated_source is set true.
    % U5 ^8 a0 \" b
  492. ; http://php.net/ignore-repeated-errors: ]: D" w3 t  S4 D" b4 x
  493. ignore_repeated_errors = Off  k( `( S( P$ n

  494. 8 b* }  @+ R+ v' w' q* h/ J
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    7 U$ b- m/ o, @- I+ j- |
  496. ; is On you will not log errors with repeated messages from different files or
    ! z% B% t; k; O! h+ {
  497. ; source lines.
    8 g5 E8 R3 ?- `+ Z) I- h1 I) E7 `5 k
  498. ; http://php.net/ignore-repeated-source
    5 M) \9 X  L8 O6 {
  499. ignore_repeated_source = Off. |" q5 i/ g/ o5 G; g6 l& n

  500. ( H! `( D$ e: F8 h# g9 v2 x, H. H
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    $ y5 A8 \1 |& v% {( W  X
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    % S! q+ o! f( t5 @. `, _
  503. ; error reporting includes E_WARNING in the allowed list
    2 b+ [  K6 L7 _0 x+ b: y' o% I7 L
  504. ; http://php.net/report-memleaks
    , n; _7 t# s; k$ A- p2 [& ~
  505. report_memleaks = On+ }8 n/ Y2 g7 l" h0 o1 Q

  506. ' S0 w$ C0 m2 Z
  507. ; This setting is on by default.8 K4 |! O+ W* G. _" S1 X4 ], o
  508. ;report_zend_debug = 0
    8 z% G) E& t  i+ K3 [4 X9 u4 _
  509. , a0 ^% p& C! _: e$ u
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    $ R1 y& \( F4 K7 }9 E- D6 I
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    & y5 u- u, E0 A3 W
  512. ; however be disabled on production servers.; H7 L/ ]& s$ B* s
  513. ; Default Value: Off3 Z# d* P: J/ ~( z; r! D
  514. ; Development Value: On
    ) g: _' ^7 e5 M& t- P) w
  515. ; Production Value: Off
    : {" y2 Q) h9 w, T
  516. ; http://php.net/track-errors
    & z. B. k1 b" f* n# L
  517. track_errors = Off) X$ W6 D7 b7 y' J9 W

  518. * Z- A- C& g6 r1 Y6 T. e
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    , V8 d# h8 l+ `! P
  520. ; http://php.net/xmlrpc-errors. V: l$ B5 H3 f, g
  521. ;xmlrpc_errors = 0. [) {/ F8 }" f

  522. , L/ Z$ O  n4 h; E8 X9 \8 |  w# Z
  523. ; An XML-RPC faultCode- N0 m  d5 X9 M7 X* F* E  u$ @
  524. ;xmlrpc_error_number = 0* p1 y7 k" o) l' x$ J) }
  525. * V6 Z6 n2 G, D: A3 [( X
  526. ; When PHP displays or logs an error, it has the capability of formatting the; n2 P% R" {0 v, i/ w0 C) e
  527. ; error message as HTML for easier reading. This directive controls whether/ W  }8 {& i2 ~/ _. N# u2 |
  528. ; the error message is formatted as HTML or not.0 j  W) f. A+ ]5 f' q* m
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    . o5 z4 |3 \% U3 W: @+ m0 m, F3 j
  530. ; Default Value: On
    1 g4 n0 I# I* T- G. D
  531. ; Development Value: On4 \4 r' o% _0 q
  532. ; Production value: On
    * Y* O7 v3 ^( [# B
  533. ; http://php.net/html-errors3 a& N" b& `* ]& X+ Q2 [; T
  534. html_errors = On
    3 S: d! B9 K# k; A; }9 x$ y+ L

  535. # N/ T' ?4 e; q9 t& N/ ]
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP, d7 L% T% s4 x% Z( {- D
  537. ; produces clickable error messages that direct to a page describing the error
    , A; d" K3 W3 B% b  p2 W% J
  538. ; or function causing the error in detail.
      V5 ]! }- n# q4 L3 N% B& J( ?
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    5 e; H( t$ Z- N
  540. ; and change docref_root to the base URL of your local copy including the8 Y: J2 L- Y! X& s( O" y4 d" e
  541. ; leading '/'. You must also specify the file extension being used including  w5 D8 ~( c1 \6 N4 c( |7 U% b, e
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which+ ?& c: {- [/ K* d# m( O# b9 W
  543. ; case no links to documentation are generated.; H% _' \# q; y8 R4 ^
  544. ; Note: Never use this feature for production boxes.) }: ^6 j" ]/ O( V, a  q  @
  545. ; http://php.net/docref-root0 s0 Z8 r& a0 C3 [4 P% S4 c; k& }& @
  546. ; Examples
    6 M8 k& q& T  h  G7 m
  547. ;docref_root = "/phpmanual/"0 E1 g8 V, f9 }( I3 U1 p

  548. # u+ ~4 Z9 u! P0 Y6 R% P3 e
  549. ; http://php.net/docref-ext
    % m1 J( J( w! i
  550. ;docref_ext = .html. e4 r# q7 l5 B8 G+ ]0 d- f

  551. 6 o) u) P5 @2 k) \
  552. ; String to output before an error message. PHP's default behavior is to leave( j" Y. k4 p5 |, P$ P0 Y# K) T
  553. ; this setting blank.
    . W) u( r- g, w
  554. ; http://php.net/error-prepend-string/ l3 e: `7 N. @: H1 X+ F
  555. ; Example:  Z, I' @$ M& Z2 s2 r
  556. ;error_prepend_string = "<span style='color: #ff0000'>". [- L9 q1 s6 }- a
  557. . M) j3 K% y0 [( h$ d* O
  558. ; String to output after an error message. PHP's default behavior is to leave
    3 n& k9 W; z7 J9 U& ]; k
  559. ; this setting blank.
    . x) s1 @7 l. m- R% f9 F3 ?
  560. ; http://php.net/error-append-string
    , m0 a2 f# F; D# w  H) a
  561. ; Example:
    # n9 S% `$ M! Z: P; [- x
  562. ;error_append_string = "</span>"( l. H  b5 O3 O6 R0 U: K

  563. , |1 a9 O( v7 Q( R# s5 [
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    & J: Y' u  r7 `1 a* R( x
  565. ; empty.
    " X2 a1 [/ `1 J5 n! i. ^
  566. ; http://php.net/error-log
    2 p0 ~1 [. c  c& ]5 I0 f
  567. ; Example:3 Y- q7 N; G* S$ C6 q. W+ O
  568. ;error_log = php_errors.log
    , o% G5 K# `2 ?' C) D" i0 M
  569. ; Log errors to syslog (Event Log on Windows).8 q$ O1 ~* C2 o- d( W5 G/ F
  570. ;error_log = syslog
    3 b& h) ]' d1 g9 `2 I* F% S( S  k$ ?: k

  571. ) h. }6 Y/ A0 U/ z" z' F
  572. ;windows.show_crt_warning% t/ o7 c$ S- `' N# u
  573. ; Default value: 08 |5 m- \$ L4 F/ I# A3 R
  574. ; Development value: 0# a3 X) N% V6 L
  575. ; Production value: 0
    + E+ J: q' J9 L) F

  576. ; m3 ~2 [  v' U% D
  577. ;;;;;;;;;;;;;;;;;4 R% [5 a' x/ t' [
  578. ; Data Handling ;1 }# e1 c  n: t& i- _
  579. ;;;;;;;;;;;;;;;;;( N4 t. e& k; W: K
  580. - o  Q- f3 h5 A5 g
  581. ; The separator used in PHP generated URLs to separate arguments.
    ! ]2 V  _2 ?  S( X
  582. ; PHP's default setting is "&".$ j- t+ i, z6 x
  583. ; http://php.net/arg-separator.output% }0 U' z4 [# v
  584. ; Example:
    + I" T" K; S4 ?  E. K# ?" a
  585. ;arg_separator.output = "&"- Q% m, _# ^; @

  586. $ B% a1 V- l* K9 V
  587. ; List of separator(s) used by PHP to parse input URLs into variables.6 A; O' Z% V; r
  588. ; PHP's default setting is "&".
    ( q: x  F4 N* R0 w! p1 V
  589. ; NOTE: Every character in this directive is considered as separator!
    ; p+ T  I  ]% {7 I
  590. ; http://php.net/arg-separator.input
    # J5 R) a( `4 g4 q) \
  591. ; Example:
    % A! ?0 o; s% t; p# L
  592. ;arg_separator.input = ";&"5 J; C; z. {( r
  593. 3 X& g$ F/ D% P5 {
  594. ; This directive determines which super global arrays are registered when PHP
    4 b8 m7 ~3 o  Y( R: V
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super  @* u. A( w5 _* _, M+ H2 I5 i
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    & }. ?8 V$ t4 z  }1 r( j6 B, w
  597. ; paid for the registration of these arrays and because ENV is not as commonly& r, A, o. g6 Y* }& Y' O: P
  598. ; used as the others, ENV is not recommended on productions servers. You
    ' D' ^) ]' F% E9 i
  599. ; can still get access to the environment variables through getenv() should you
      x6 O9 T0 {, r2 m1 n
  600. ; need to.
    # }) u5 i* k" y" v+ Q
  601. ; Default Value: "EGPCS"7 u6 @" C( N0 i3 q, }( @: C
  602. ; Development Value: "GPCS"8 r- f# U7 C6 {
  603. ; Production Value: "GPCS";0 B0 m7 [2 Q3 t  ~
  604. ; http://php.net/variables-order# p1 a6 T& j% n; _5 B, l# l
  605. variables_order = "GPCS"" ^+ @) Z5 U9 y

  606. ) Y- L& w& n, u; z8 k' C& k  L
  607. ; This directive determines which super global data (G,P & C) should be
    - X# t, i: L" t2 d! G5 f5 K
  608. ; registered into the super global array REQUEST. If so, it also determines
    , H; Q5 ^$ c8 d4 u+ l  F1 I/ ~
  609. ; the order in which that data is registered. The values for this directive
    $ v8 ?: t0 \, m+ T. }# y- k
  610. ; are specified in the same manner as the variables_order directive,6 F  m8 ~* {5 n8 Q- \. p! N/ H& J  e
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set4 }+ U1 G' p7 B$ y! H3 m( M/ n
  612. ; in the variables_order directive. It does not mean it will leave the super: ^( Z8 X3 W) B$ L( [5 u
  613. ; globals array REQUEST empty./ A) h( a/ b* g' J6 a/ g
  614. ; Default Value: None
    - {: `6 V* O- {
  615. ; Development Value: "GP"
    0 S8 p9 u/ \% D) A) k, w% j
  616. ; Production Value: "GP"
    ! B  }" o2 y, x& D. T
  617. ; http://php.net/request-order0 G; t2 r# l; ~" |% B: _
  618. request_order = "GP"
    # q# x! C2 Q* I& C& Q1 ?
  619. ; O! X- T& H# q
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    5 K/ f" v' j2 G8 n% C
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script( T5 r  a3 o6 c, ^2 A" J
  622. ; is invoked. $argc contains an integer representing the number of arguments8 C# b+ C% S$ [' `
  623. ; that were passed when the script was invoked. These arrays are extremely$ ]0 ?1 A3 W  d. H
  624. ; useful when running scripts from the command line. When this directive is: Q3 y/ n' Z! O& \& {5 K4 C
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    , ^- b- B5 _% Z( s
  626. ; a script is executed. For performance reasons, this feature should be disabled0 z) J, w  ]3 _3 e7 \5 O) q
  627. ; on production servers.
    ( R, G$ x, l8 d( U0 q8 N, ]/ F
  628. ; Note: This directive is hardcoded to On for the CLI SAPI' p& b  p9 I- D% F
  629. ; Default Value: On$ M! M8 x, M; Y/ K7 p" J
  630. ; Development Value: Off5 @$ W* `9 g( ]
  631. ; Production Value: Off
    4 j* V  g% @: q% Q/ {% z
  632. ; http://php.net/register-argc-argv
    ! ]8 q2 g& a( O  @+ N, I2 |
  633. register_argc_argv = Off/ l5 u: \* A) t& h! }8 G3 ?+ F. K
  634. * {  h% S, r: a: }+ f3 b% j
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    ) X# a2 K1 ]! Z" e1 i
  636. ; first used (Just In Time) instead of when the script starts. If these1 V" j' T1 p6 t: {) f+ v
  637. ; variables are not used within a script, having this directive on will result
    # k" q# G1 ^3 Z9 O4 I2 Q/ ~, {1 F
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled  f7 L, Q! f7 G% A' K
  639. ; for this directive to have any affect.8 R- E$ {4 r# M' p+ u4 Z
  640. ; http://php.net/auto-globals-jit- j5 k! z! j- d8 ?0 U+ t4 O5 {/ a& X
  641. auto_globals_jit = On: W* [& m0 u/ A4 l
  642. 7 k' ?' k0 C7 c
  643. ; Whether PHP will read the POST data.
    1 p; F7 t! [1 G( N9 Q9 y1 M
  644. ; This option is enabled by default.
    6 h- q3 ^/ w4 {# o* U9 U
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST; P  d7 p" Z9 o8 y- |, v- e' p" {
  646. ; and $_FILES to always be empty; the only way you will be able to read the7 a4 }* r5 D- u/ h: i0 c
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    - i9 u( b- D4 k5 `' U8 ~5 ]/ |
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.6 ~) l% }; |/ D, c7 a7 q
  649. ; http://php.net/enable-post-data-reading: R! f* m/ I' l% l
  650. ;enable_post_data_reading = Off
    5 J1 E# ~2 R3 Y$ S) q2 l; b4 j" {
  651. 0 V$ O& {2 |  h/ @; N
  652. ; Maximum size of POST data that PHP will accept.4 O% |$ ~' p, Q5 B2 ^
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading$ B: A  ~" ~- S5 B7 u8 Y
  654. ; is disabled through enable_post_data_reading.4 X- o' T9 Z  V- w$ z5 P
  655. ; http://php.net/post-max-size
    2 s! X$ p9 o7 I% D
  656. post_max_size = 50M5 u- A4 K" N; t7 d. ]/ |

  657. 3 R5 ^5 J8 B' |" F* a1 I
  658. ; Automatically add files before PHP document.
    2 @5 K4 K' y; m# K" X
  659. ; http://php.net/auto-prepend-file0 }( R' f! L0 C6 a
  660. auto_prepend_file =, Q; V! J) b8 G1 Z+ F
  661. ( i$ d: N0 i6 L- L
  662. ; Automatically add files after PHP document.0 j" K9 Y( `5 g! v3 e) O: i
  663. ; http://php.net/auto-append-file
    0 o; K0 R* V1 U
  664. auto_append_file =
    2 y2 i. j# ?. b0 D9 l' j

  665. 6 j4 w* F" h9 i: A$ n7 \
  666. ; By default, PHP will output a media type using the Content-Type header. To) q( q; B" t# w' K2 a
  667. ; disable this, simply set it to be empty.
    . u  p: f8 R; V) e: j; y
  668. ;& g0 Y6 {/ k/ v# O
  669. ; PHP's built-in default media type is set to text/html.1 c' Z1 C" U1 O1 S0 i( B. ?: j4 u
  670. ; http://php.net/default-mimetype* s9 P7 g( b4 m6 B5 B9 X! h! _5 k' y
  671. default_mimetype = "text/html"
    2 N  r, m) P( o$ D2 h9 K8 e

  672. . A2 y+ G& }5 r/ X  X6 h
  673. ; PHP's default character set is set to UTF-8.
    ) H6 i: m4 R. J  H6 H
  674. ; http://php.net/default-charset
    ( G/ K1 k- a# H: f1 L9 k- |
  675. default_charset = "UTF-8"' z& I4 y6 L! B: @, `
  676. $ x3 R# I; ^  A) s6 P
  677. ; PHP internal character encoding is set to empty.; h4 R* N3 Z! l) L9 E
  678. ; If empty, default_charset is used.
    & a1 h+ `+ J5 h, Y2 Y3 [
  679. ; http://php.net/internal-encoding
    # o* U9 C9 Q7 m% F0 I4 I( G
  680. ;internal_encoding =
    . A2 y. V8 X! }$ M
  681. * V6 c+ C& k* N0 [' O$ G
  682. ; PHP input character encoding is set to empty.# r/ o1 r3 r$ U' ?! i- {
  683. ; If empty, default_charset is used.
    * [, b% Q0 V3 B5 k% l; Z& `
  684. ; http://php.net/input-encoding
    / n" C( J, a  f% o! F
  685. ;input_encoding =0 x# c1 h# k: F, q2 E. o7 q

  686. ; i, ?, F% x" _6 [* e5 U( A
  687. ; PHP output character encoding is set to empty.; ~5 ]- y: Q+ p- R& s1 U4 X
  688. ; If empty, default_charset is used.% h' h$ A- Y4 M6 R) a& G* B$ n
  689. ; See also output_buffer.9 ?. M7 s" P. e5 i
  690. ; http://php.net/output-encoding' X  [8 X3 y) K) q. k* Q$ A
  691. ;output_encoding =
    4 O8 N# K0 m7 [% I; E, m& w. E4 B

  692. ! i3 z2 u0 B- h
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    5 J6 B6 M" K) ~) s2 C9 L
  694. ; Paths and Directories ;0 G6 y5 G: C7 U- x& O& M
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;" Y8 Q$ u3 Z' a
  696. 9 R( Y- _3 Q* e$ X6 j- {
  697. ; UNIX: "/path1:/path2", c, s: h! C5 \2 Y  P: t
  698. ;include_path = ".:/php/includes"
    , X1 t  H. G/ f
  699. ;* e5 {1 F8 I% r/ C) P6 a
  700. ; Windows: "\path1;\path2"
    " A# L$ ]* Y* d
  701. ;include_path = ".;c:\php\includes"+ {# X" \5 M, j& ^( J1 O; B
  702. ;
    5 W' l8 Y9 U+ S
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"" z8 s% G! a) J, r9 Q
  704. ; http://php.net/include-path
    # C/ _/ f5 ~) K' j

  705. $ s4 ?4 N& z/ z: J' X/ q+ F+ f
  706. ; The root of the PHP pages, used only if nonempty., o7 E& c' q& _. s( V3 O
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root% f! q2 _" q2 g: i6 k
  708. ; if you are running php as a CGI under any web server (other than IIS): g$ p) h9 f2 k# b" u0 D; @* z8 d6 H
  709. ; see documentation for security issues.  The alternate is to use the
      L1 Y5 o; J2 G  c
  710. ; cgi.force_redirect configuration below
    / I/ M, g% |( h
  711. ; http://php.net/doc-root1 T3 z) A: K5 o2 n
  712. doc_root =- ~. [6 s1 s# I8 i' W: o

  713. ; ~$ O) k3 o9 b6 W
  714. ; The directory under which PHP opens the script using /~username used only' t) l- q; ?/ v
  715. ; if nonempty." L# b  M! }$ x* J& K$ Y) M
  716. ; http://php.net/user-dir
    ) |- |$ ~( Z0 J% w3 M  c
  717. user_dir =
    ; a* J% z) L, h2 A' P

  718. ) [6 p; K  `! T8 p! v( T2 Q8 s1 }7 N
  719. ; Directory in which the loadable extensions (modules) reside.
    8 G! N5 K6 e$ L) \; w: k* K9 B
  720. ; http://php.net/extension-dir' c' y" F: k' q- z& i
  721. ; extension_dir = "./"
    , L( y- S' v: y2 }. g! D* r
  722. ; On windows:' y3 \1 Y/ h' F; a
  723. ; extension_dir = "ext"% G0 P7 |- {2 p- D# T, L. I

  724. - A/ m: ]2 @4 P
  725. ; Directory where the temporary files should be placed.
    % c; U" b% L5 }: p! G# V
  726. ; Defaults to the system default (see sys_get_temp_dir)1 {" a, o$ V, @9 l5 O" U
  727. ; sys_temp_dir = "/tmp"
    ) ?; T* p: g. C) D$ G$ h

  728. 5 y1 A2 A  Y7 X! ~  X6 {
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work( V% C3 z8 F% I" S& h; \) ~7 B
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically* l% ?; }8 f' S7 b+ \7 v! U
  731. ; disabled on them.5 v& E3 x  R4 @1 o, Q; a; M
  732. ; http://php.net/enable-dl6 }, |" T1 f) _( u& w( I
  733. enable_dl = Off
    6 H; U0 [! A8 i& E1 ^2 _( ~

  734. 0 h# U- f' X9 K' l9 E% a4 e# |
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under1 o5 U' v+ W7 r9 w$ \8 M
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can& V8 y. @* b% ?
  737. ; turn it off here AT YOUR OWN RISK
    2 t& v9 V0 X( G( ?, F4 i+ q% a
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    8 _% [! B* |7 D2 s8 c2 F
  739. ; http://php.net/cgi.force-redirect9 e6 {6 ?8 ?1 W, H- g+ H; @
  740. ;cgi.force_redirect = 11 V6 F) U2 g1 ?$ G- |; v' \

  741. , k* ?2 S, n/ G1 \6 s
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with! b! P/ n% z" N9 o7 K
  743. ; every request. PHP's default behavior is to disable this feature.
    7 K9 v4 f) d- p  w. Q
  744. ;cgi.nph = 1
    ; E1 @" A, x# i3 r4 X, V. `6 w

  745. 7 L5 j$ c  P1 ^8 d- R
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape4 M7 N9 s" q5 J' \. Y
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    ( J8 x8 \7 {# I8 m0 F
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    . I) Y" q7 w2 V9 [1 l
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    8 m( e% I% K( x: y/ j. a1 z1 a  V
  750. ; http://php.net/cgi.redirect-status-env
    8 l' I8 r; d3 Z+ H/ T
  751. ;cgi.redirect_status_env =4 l' g* @% h# X$ |) L% d

  752. 8 P! x. a8 Q# j8 b! r; G
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's3 {) [* G4 p, y5 I
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok% x3 r% {" m2 h" ^* V
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting5 |4 k) b+ e( p
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    , Y5 C; K1 a. R. S% ~, f
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    1 s7 k: |+ g* |8 e
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    ( M5 m# S6 n  K2 T; d3 R0 W
  759. ; http://php.net/cgi.fix-pathinfo
    # N- g/ ~7 b6 o. g8 j+ z: E
  760. cgi.fix_pathinfo=1( D8 \1 C% X: t$ K; {$ ^
  761. - m& }( P% u# I# I
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside6 y2 m+ D" {$ I8 v, s) r
  763. ; of the web tree and people will not be able to circumvent .htaccess security.1 @; u/ p* n/ \6 Y; Y: h
  764. ; http://php.net/cgi.dicard-path/ J8 P5 H! h( Y8 w$ u' V
  765. ;cgi.discard_path=1
    ( c9 V; h: w" m3 P7 p. x: @+ C

  766. % o$ W  s/ e0 o+ p% |2 _
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    6 Q6 L6 A+ f: x. h
  768. ; security tokens of the calling client.  This allows IIS to define the
    & x! f' z* Z3 m
  769. ; security context that the request runs under.  mod_fastcgi under Apache# M( ?" E# X4 k! x2 W, I
  770. ; does not currently support this feature (03/17/2002)
    " w( U% x' [/ p6 a* b
  771. ; Set to 1 if running under IIS.  Default is zero.) d' @1 ^3 ]4 Y4 Y8 W7 e( _& n
  772. ; http://php.net/fastcgi.impersonate
    1 [1 s# M# V1 V/ Z" L5 b1 d
  773. ;fastcgi.impersonate = 1& r4 ]9 g$ R7 R% f8 h( O! a

  774. % z" E% G1 [! `+ S: g
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable7 C1 M0 d* K; V
  776. ; this feature.
    ! p( o4 y2 {- N& Q" n7 ]- X
  777. ;fastcgi.logging = 0
    8 c& p# l# W# W

  778. % j2 M. R! e4 E0 q4 V6 W/ \3 ~
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    1 r3 C; ^0 o) q
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that8 \- C5 o( i* o# r; k5 {! [
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    # |( d0 |  P' v  U) s0 z( y3 v# `
  782. ; RFC2616 compliant header.
    7 }. t! j& y4 o. q
  783. ; Default is zero.8 {  l# [5 o6 e* J) X) L
  784. ; http://php.net/cgi.rfc2616-headers
    / @2 M6 |( M5 E" p
  785. ;cgi.rfc2616_headers = 0. N' m6 q' o; j
  786. 3 Z' o' m2 ~% J9 E  x( F/ G
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!, Q; f4 v  Y8 R  G
  788. ; (shebang) at the top of the running script. This line might be needed if the
    6 h8 n' ~1 w. W3 g4 c- I
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI/ B0 x& k1 s; j0 r" G! L. _& t
  790. ; mode skips this line and ignores its content if this directive is turned on.* e3 t9 {8 E4 E( R& b
  791. ; http://php.net/cgi.check-shebang-line# m& p' \  b9 @  r0 T% ]+ ~
  792. ;cgi.check_shebang_line=18 C% F- @0 U, T+ f, c2 p2 W

  793. . G8 J0 @% h4 q* c0 j. S
  794. ;;;;;;;;;;;;;;;;$ h! T1 X  C& F1 J9 \+ p
  795. ; File Uploads ;6 [( u1 c2 I5 N1 W
  796. ;;;;;;;;;;;;;;;;4 n6 r. p8 e! {6 [3 N7 d

  797. ' j1 X# W" m  \3 \6 f# _
  798. ; Whether to allow HTTP file uploads.
    1 \; e+ {! r% d- u0 @" H
  799. ; http://php.net/file-uploads
      L4 l8 L% w4 i* k
  800. file_uploads = On
    9 K2 M% ~& r) x. R# ?/ x

  801. - D' V0 v* j2 m; ^  C7 y
  802. ; Temporary directory for HTTP uploaded files (will use system default if not! O- |0 C/ _9 E& S; y, i: }" u' C
  803. ; specified).  f' c! b% x( J1 p& V
  804. ; http://php.net/upload-tmp-dir5 a- m" z" I7 G! p+ u
  805. ;upload_tmp_dir =
    / W% [+ T4 G& [6 D! w2 U1 h$ }: K

  806. ' [) G# ~  [8 j: v
  807. ; Maximum allowed size for uploaded files.; \" ?1 `* m/ D+ `
  808. ; http://php.net/upload-max-filesize3 e! O; n2 b+ G: A( \
  809. upload_max_filesize = 50M+ F- ?9 r; n  |) Y

  810. ) n5 A  z: i( Z% F0 p
  811. ; Maximum number of files that can be uploaded via a single request8 n5 P. f1 ^) y- A
  812. max_file_uploads = 20
    0 V+ ?5 F5 ?& ^* F# D& l8 q
  813. 2 j3 d; Y! o8 x8 T! G6 a% E; k$ A
  814. ;;;;;;;;;;;;;;;;;;+ `* Z, S1 G% |& [. N7 ^  F- v3 S2 f
  815. ; Fopen wrappers ;8 P, B5 W9 [2 m- P1 s5 e) H1 O
  816. ;;;;;;;;;;;;;;;;;;
    4 }! C5 w) ]5 q5 X! y  G$ J6 s7 X
  817. 0 B# K& X6 j" d2 B/ ]) @" B7 L8 r
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    " d/ r, Y3 n4 M
  819. ; http://php.net/allow-url-fopen
      ~+ H# I' _5 Y# s0 g" Q$ m
  820. allow_url_fopen = On" `) n$ \" P( V& j! V4 g3 H
  821. ; \* S, }7 ?3 W
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.% \2 V/ ]  {9 r8 j; V
  823. ; http://php.net/allow-url-include
    ( n* U; d8 j7 d# \
  824. allow_url_include = Off
    % [$ f' H& ]# o! E. b
  825. 3 N" f6 M. O+ a
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    7 ]& R! t  M! V. m4 y' n
  827. ; for this is empty.7 D5 V: \6 X6 Z7 P/ `
  828. ; http://php.net/from
    / r* u3 H# T( T5 r
  829. ;from="john@doe.com"
    # f% ~* R; F, _' O& u
  830. ! S* I, a6 ~# t  j% n
  831. ; Define the User-Agent string. PHP's default setting for this is empty.! D7 j  B. D- ?) x* d1 r
  832. ; http://php.net/user-agent! u% K1 b, U$ b3 u/ }' h; Y
  833. ;user_agent="PHP"0 [! g0 D% i1 w# w
  834. ! h8 o/ o; b$ H% H0 A
  835. ; Default timeout for socket based streams (seconds)& P: c# y7 H+ N, H
  836. ; http://php.net/default-socket-timeout
    ' ?. T7 Z" A* s8 ]( _( e7 M
  837. default_socket_timeout = 60; u8 E# ~% }* L7 f

  838. 3 Z! T2 m" p; f- h
  839. ; If your scripts have to deal with files from Macintosh systems,# b# f3 X( y4 a" K
  840. ; or you are running on a Mac and need to deal with files from
    : X% z3 i' S2 I3 o# w4 w7 f
  841. ; unix or win32 systems, setting this flag will cause PHP to
    8 `+ ?. x# }8 H
  842. ; automatically detect the EOL character in those files so that
    : Q  ]. Y8 Q. a4 C
  843. ; fgets() and file() will work regardless of the source of the file.
    - z! Z5 a  \3 T. ?% w. |. Z% V
  844. ; http://php.net/auto-detect-line-endings1 G/ i, d% c5 `4 i( t
  845. ;auto_detect_line_endings = Off* I9 N- P* {/ U% U7 t% ]+ S. [
  846. - F+ Z  F3 g. P9 V# {: P8 F
  847. ;;;;;;;;;;;;;;;;;;;;;;2 l( N! o- V" J5 R; b$ x: O8 i, j/ H
  848. ; Dynamic Extensions ;
    ' S. g7 z/ s# b2 h& W- n
  849. ;;;;;;;;;;;;;;;;;;;;;;
    8 |4 W6 ]3 ]' }
  850. ; B! |9 [/ u; J4 x4 b) v$ I# H: f4 F4 E
  851. ; If you wish to have an extension loaded automatically, use the following; R+ R7 z9 g1 j7 O0 k2 G* k
  852. ; syntax:2 Y$ R  J8 U3 C3 G% X5 p6 V& A/ a& G
  853. ;
    7 c. ?  F2 i8 h) j1 }3 j- F; X
  854. ;   extension=modulename.extension; [4 F3 ]/ L% b
  855. ;
    % c: q! u( G: N& X0 Y+ l4 `
  856. ; For example, on Windows:& }- @  H0 ^) e% D* c
  857. ;- F3 x+ i4 v7 D- ]" i* r
  858. ;   extension=msql.dll
    % A  m' j! W5 [& r
  859. ;
    1 f" r6 |, K5 O& }4 U
  860. ; ... or under UNIX:8 ?- T" u: g2 d+ q6 W& U
  861. ;2 }& s4 L3 v! r% l8 m
  862. ;   extension=msql.so
    / H- S1 t1 O( {- `& f  [$ Y
  863. ;
    $ ?) h% f- K/ R1 _! ]
  864. ; ... or with a path:9 i% ]7 b5 {! a
  865. ;
    - o; q+ k& @" x7 a9 w
  866. ;   extension=/path/to/extension/msql.so
    3 I' K) W" i! Q, n. _! C% P
  867. ;
    - j' E$ l' w5 l/ x, y4 K
  868. ; If you only provide the name of the extension, PHP will look for it in its- Q/ A2 H& C- `( O, E7 z: j
  869. ; default extension directory.
    ! T0 z% W( y0 d% z$ s* I
  870. ;  _5 X% E' @: Y7 C* E0 @, |8 j
  871. ; Windows Extensions
    ; N  P9 B' y4 Y. a/ v2 f
  872. ; Note that ODBC support is built in, so no dll is needed for it.7 f0 S% u+ M, l9 w8 W. ^! Y
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    0 ?, z1 U) H" }
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).* j3 H4 p, K7 I, Z- t# E# K
  875. ; Be sure to appropriately set the extension_dir directive.
    7 g; t. C' f6 ]: U
  876. ;7 q- K! R7 T) P! W! n8 y" _
  877. ;extension=php_bz2.dll- l  Q( p- t4 a, _( b& `4 x+ |
  878. ;extension=php_curl.dll
      q. a: O8 G1 E2 n3 C, Z  y
  879. ;extension=php_fileinfo.dll1 `5 o# B. H# Y* T! v
  880. ;extension=php_ftp.dll
    0 I: y* u& u' G+ O* n: }' _
  881. ;extension=php_gd2.dll  B+ B! o0 |& E& l% ^
  882. ;extension=php_gettext.dll
    ( K; Y9 u9 @2 j3 _$ _
  883. ;extension=php_gmp.dll0 @: P: N% B9 ?5 X1 U
  884. ;extension=php_intl.dll) G& }! o$ [3 I7 D' c
  885. ;extension=php_imap.dll
    + C. {  d, n+ Q7 |) w+ ]6 J
  886. ;extension=php_interbase.dll
    ' Y: y+ g# ?. C7 L9 Y/ h% ~
  887. ;extension=php_ldap.dll$ p4 m; K+ O' s1 ]3 N! g: l
  888. ;extension=php_mbstring.dll
    " j/ M' W' n# x8 T! q- [  I  e" W, j
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it: \" X3 A# W) {% J
  890. ;extension=php_mysqli.dll
    - f, j; D: }! x
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client& p# A  A% V$ X% |" ]
  892. ;extension=php_openssl.dll- p0 ]+ r& B% W. H! H
  893. ;extension=php_pdo_firebird.dll0 o- y  [) j  R% \9 X0 B! f$ ~
  894. ;extension=php_pdo_mysql.dll
    + ?9 X( m5 E: A+ `" h' \2 a5 J
  895. ;extension=php_pdo_oci.dll
    + [( X; M" \3 u/ D1 d
  896. ;extension=php_pdo_odbc.dll  h7 y8 D& S( e, o/ w- B  g
  897. ;extension=php_pdo_pgsql.dll
    ) X! B, @8 r" w' B( S
  898. ;extension=php_pdo_sqlite.dll
    3 p& W2 k/ F. q
  899. ;extension=php_pgsql.dll1 j4 i. U) \3 g: N: c3 A
  900. ;extension=php_shmop.dll
    7 T+ H8 u' {. ~- E4 L: Q

  901. 1 y) [( t0 s8 k4 f$ [
  902. ; The MIBS data available in the PHP distribution must be installed.
    $ p8 Z7 R* m, C: p7 I* n
  903. ; See http://www.php.net/manual/en/snmp.installation.php/ L9 G1 i, t! \8 y1 w! a" Z
  904. ;extension=php_snmp.dll* i6 f/ S) f3 j3 L4 B
  905. , r. J' m  R4 |- w" k* T
  906. ;extension=php_soap.dll
    ! r8 Q" `0 f' d2 }4 J4 `
  907. ;extension=php_sockets.dll
    5 |, e! j4 f9 k+ [
  908. ;extension=php_sqlite3.dll
    ) T0 U* O: r# j# b( \, e
  909. ;extension=php_tidy.dll
    $ K4 D1 ^( S* k# D
  910. ;extension=php_xmlrpc.dll
    - g, c8 k0 z# S, q
  911. ;extension=php_xsl.dll+ U# R& J+ O2 l- ^. {) `0 }/ X

  912. 8 b8 z9 y" o# l! s/ W  S
  913. ;;;;;;;;;;;;;;;;;;;
    3 c. [9 @! `9 `2 v4 N* e- {/ x
  914. ; Module Settings ;
    . J* ~0 Q% u8 i" [- d) c
  915. ;;;;;;;;;;;;;;;;;;;
    1 a0 J3 p8 x5 N% x: T7 P
  916. 7 f: A; k) G8 e" I- I
  917. [CLI Server]
    2 b+ E& {' _+ b8 u+ ^
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    ; b  M! W3 _6 P+ M5 C& n0 t/ P) |. Z- C
  919. cli_server.color = On; k' r/ y- q! u/ V! _( r4 y
  920. - j4 L0 j& f# x9 D$ d3 y2 q& G
  921. [Date]. w) G( _+ b" k/ z, e) F
  922. ; Defines the default timezone used by the date functions
      \; ?5 c! K7 I8 r0 I" f' \
  923. ; http://php.net/date.timezone. x# [- s# n: K
  924. date.timezone = PRC8 e6 b7 F* l& q" c4 v$ C$ ^  L, U

  925. ( U6 U' G3 a! [4 L+ A( U7 Q
  926. ; http://php.net/date.default-latitude
    / N7 g1 T& L" @$ k- o4 A6 K
  927. ;date.default_latitude = 31.7667
    $ D2 D! g8 v& G  J$ c  l/ {

  928. & T% a0 e+ g! G( U0 f
  929. ; http://php.net/date.default-longitude# G4 h; l; B$ o# l& d
  930. ;date.default_longitude = 35.2333# L/ i0 U3 x( Y# R; a: Y3 a

  931. 2 r9 {( F' {/ k- W6 o  I
  932. ; http://php.net/date.sunrise-zenith9 n6 Z5 \/ V3 o6 O6 e0 U
  933. ;date.sunrise_zenith = 90.583333- d7 J& e1 F" @, z- ~; }

  934. - e1 P% N7 u% u3 F9 C; n
  935. ; http://php.net/date.sunset-zenith% y' E: m2 _& _/ \
  936. ;date.sunset_zenith = 90.583333) a1 F/ W( O0 C9 n( \& z
  937. % |- a, u( S3 r- E
  938. [filter]
    0 ]% h0 x0 {* j9 [2 c
  939. ; http://php.net/filter.default$ b8 @8 ?  m( d" L# O9 v
  940. ;filter.default = unsafe_raw
    4 L7 }: l- J( W( A, e* m$ k8 \
  941. . K+ j) v$ E  M- }" e; ^3 k& n: ]% N
  942. ; http://php.net/filter.default-flags
    7 P) O3 o- m: w, b% _% F% e) _
  943. ;filter.default_flags =) m) o: }1 X# w9 b, v
  944. - L7 u8 G  {6 O" f
  945. [iconv]
    2 V  q0 }4 _" s! |1 _+ h0 w4 t. |
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    7 z1 ^4 k$ n; T/ w6 ~, y
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.: z& w9 {/ a! Z
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding1 R& o$ X% \- B8 V
  949. ;iconv.input_encoding =- W4 d; h' J8 W" G; c, k
  950. + {+ H% I( i/ z" d* G
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.! d- ]2 M4 ^" o3 H1 f2 [
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.0 g) ^7 A' K+ _: q6 h! k
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    % r1 y) `! G& `9 b9 i. @  g; Y
  954. ;iconv.internal_encoding =
    : K* I9 R* C0 R: }
  955. 6 D9 B" w/ g, G4 t$ ]% F- t7 y' z
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.2 Q, s( L! S! y
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.$ m) @' V' X# S
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    - y7 x: ?1 [8 |* V' m
  959. ; To use an output encoding conversion, iconv's output handler must be set" L& [$ {( i3 g& H9 f. S7 G
  960. ; otherwise output encoding conversion cannot be performed.
    4 m0 w1 @9 l& [
  961. ;iconv.output_encoding =: n5 ]4 c4 z+ l0 o! u9 \

  962. 2 y" M! w4 M$ o4 h' V" G# o
  963. [intl], a# z7 V: S9 O+ c  M* F5 l) f" z
  964. ;intl.default_locale =
    ' U9 ]* E6 [+ P) {% i/ x: z0 {  u  T
  965. ; This directive allows you to produce PHP errors when some error
    5 ~" f( R' {" d: P& x1 R
  966. ; happens within intl functions. The value is the level of the error produced.  D, {" V7 d" e% N( n4 Z4 |5 ~) f
  967. ; Default is 0, which does not produce any errors.: H6 \# x' S2 D
  968. ;intl.error_level = E_WARNING
      ?: D" v+ _+ O7 p
  969. ;intl.use_exceptions = 0
    * }) N/ w* m  G( E( t

  970. 3 q% f+ w  |5 O" C% M" a5 U4 J3 Q
  971. [sqlite3]8 Q+ n0 s  i, p! \7 e# o
  972. ;sqlite3.extension_dir =; g; r" Z0 u' F! a( x2 ]5 X

  973. - f& N- c3 `! ~
  974. [Pcre]$ ~; G" S+ y# s0 S
  975. ;PCRE library backtracking limit.
    7 x! J/ f- C; B' Q# ?
  976. ; http://php.net/pcre.backtrack-limit4 i6 e/ o5 @8 [! `7 v3 h& w: w
  977. ;pcre.backtrack_limit=100000
    # U! j% R' \9 a5 v# Q% J/ Z- v3 G
  978. 2 D& y4 J* [3 ]- z, {7 _- ?+ X
  979. ;PCRE library recursion limit.
    8 O4 Q9 ^, P1 }' H8 d6 N) ~
  980. ;Please note that if you set this value to a high number you may consume all  u! ]- ?7 m0 {: M8 B
  981. ;the available process stack and eventually crash PHP (due to reaching the! F2 ~! |# Z8 O+ l# p
  982. ;stack size limit imposed by the Operating System).& l9 f& E! E3 B# R3 _, Q/ d& S$ Z3 R
  983. ; http://php.net/pcre.recursion-limit% `& E' C/ Q/ ]9 J
  984. ;pcre.recursion_limit=100000
    0 E0 @: S# O& ~$ a) @* R* a
  985. . m% L7 b8 D: N0 p1 P1 E
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    3 n/ b. f4 w8 `1 n  R3 G# ~
  987. ;library to be compiled with JIT support.
    5 a: g; O' D) U* {
  988. ;pcre.jit=19 M  X( U  a% `$ g

  989. & i* h' P: J4 T& u# z
  990. [Pdo]6 M$ F7 p; [# e" t$ `8 n
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    / f% F. `3 r% `: d# [
  992. ; http://php.net/pdo-odbc.connection-pooling
    7 {, y3 @9 C2 N1 ^6 I
  993. ;pdo_odbc.connection_pooling=strict* J8 q* X! }+ N; \
  994. & \. ~( j' ^: Y) F: R! D
  995. ;pdo_odbc.db2_instance_name9 H  U. T& B4 p& y+ h: \; ~; ]

  996. ) K+ q+ O& W) H. R+ x; d
  997. [Pdo_mysql]
    ) n: E- G! v! [9 M1 I/ D% h2 Y
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ( V6 n8 L0 l. Z) k
  999. ; http://php.net/pdo_mysql.cache_size1 z+ O/ B7 W1 g
  1000. pdo_mysql.cache_size = 20004 S& Y, P0 }3 J9 _( g$ z! z
  1001. & g1 s& E% o- Z' b
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    8 v3 Q" y% q. p+ _5 E! `
  1003. ; MySQL defaults.
    ; V' o) G" S/ M& }0 R3 ?! ^$ [4 k
  1004. ; http://php.net/pdo_mysql.default-socket6 r( q: [& L) W) g
  1005. pdo_mysql.default_socket=
    3 L6 ^2 c' ^6 F) ?7 m' Z
  1006. 2 c7 k- E( @; |" v5 m0 M- M& H
  1007. [Phar]
    0 G" i$ J7 `4 U. q/ w
  1008. ; http://php.net/phar.readonly/ p+ |  {6 ~- Q5 R1 ~% c
  1009. ;phar.readonly = On
    2 C) h' Y8 J4 l

  1010. # E0 L! w3 L3 V- ~) @& O
  1011. ; http://php.net/phar.require-hash
    - G# p- S- }. @+ N+ s- }& E; s
  1012. ;phar.require_hash = On
    ; x% M2 o0 O: h1 n) V

  1013. 8 I  N' n" O: V" t4 A2 P! w# Y
  1014. ;phar.cache_list =
    $ F, h" k# h+ [; }
  1015. 8 c0 z* R# w+ j9 V$ G# }0 f0 K
  1016. [mail function]
    * ]( a+ w4 m! v6 F) q# K
  1017. ; For Win32 only.- c! M8 Z9 X" v- y5 |7 X
  1018. ; http://php.net/smtp
    - V4 a6 H& y  E, @* Y$ F
  1019. SMTP = localhost
    4 p. e# l: V, _  @
  1020. ; http://php.net/smtp-port
    ( t) B5 ~% Z" \$ m
  1021. smtp_port = 25
    ' X9 O; v; o. D

  1022. 8 k! d' t, k. v" G2 f
  1023. ; For Win32 only.
    3 Y9 n9 {6 X% l4 |3 b1 m) x
  1024. ; http://php.net/sendmail-from
    3 `# j& `( T5 H
  1025. ;sendmail_from = me@example.com
    ! P+ |0 _& o: |" S' {( W

  1026. & X  x# \) X3 S6 j$ Z
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").2 u$ L$ Z8 H/ R; ~
  1028. ; http://php.net/sendmail-path1 J0 t8 E' @- O- u8 @
  1029. sendmail_path = /usr/sbin/sendmail -t -i1 W7 L- l" `- d

  1030. 6 i3 n  D  o5 t" z" U, \
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    1 K; j% C/ D$ f4 r0 V
  1032. ; to the sendmail binary. These parameters will always replace the value of
    - ^9 w7 O8 T* D0 }
  1033. ; the 5th parameter to mail().
    " h1 _$ t5 w  t8 O
  1034. ;mail.force_extra_parameters =
    # _8 s7 ~+ u, r, Q6 L
  1035. 3 Y5 m2 z3 X  K, c
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename& D1 k) P* P3 i3 Q
  1037. mail.add_x_header = On
    , G. a& {$ D+ u3 w1 h
  1038. 1 s$ E: _* i3 l  U/ ]( L# ]/ @
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    ; \+ I$ [2 J! b8 |2 r" I
  1040. ; the full path of the script, line number, To address and headers.
    7 e  {" y4 C  t& u' y& q9 r! \" N% D
  1041. ;mail.log =
    * G1 B3 y% ~; t3 ~4 N
  1042. ; Log mail to syslog (Event Log on Windows).
    ; U" ~8 W% H& Z
  1043. ;mail.log = syslog% B' b: |4 J: W1 h
  1044. / Q) Y! e* c# b: ~% b
  1045. [SQL]
    % U' T( p% [" C0 I! j# e" Z5 d
  1046. ; http://php.net/sql.safe-mode) O  l; B/ Y$ M
  1047. sql.safe_mode = Off
    * ~/ g2 n  a9 S5 @8 `: n
  1048. 9 {+ Z2 K7 f) e/ z8 \
  1049. [ODBC]$ S& U( F; M2 X0 g' g, S: s
  1050. ; http://php.net/odbc.default-db
    6 ^" {2 `9 ]. L1 i: _$ R
  1051. ;odbc.default_db    =  Not yet implemented, g. G" q9 T' r5 Y" S' M" x. }3 c0 y
  1052. 8 d- |. g$ p$ E* O& J' O* C
  1053. ; http://php.net/odbc.default-user1 t( G) W, r% ]7 ~7 o6 E
  1054. ;odbc.default_user  =  Not yet implemented0 h6 L: e9 W! [" M/ j

  1055. 8 j( k! d1 `7 H# F5 E6 H3 F9 n
  1056. ; http://php.net/odbc.default-pw
    5 d3 d; N4 T) p9 d2 Z+ ^
  1057. ;odbc.default_pw    =  Not yet implemented
    . L+ H' `9 e- h9 E( [' {+ e1 \$ L
  1058. , t4 c6 ^& u7 a& t
  1059. ; Controls the ODBC cursor model.2 h4 R2 C  v- e
  1060. ; Default: SQL_CURSOR_STATIC (default).9 J6 D) W! r1 U! \
  1061. ;odbc.default_cursortype
    - F& V& ]  p% o+ f$ H

  1062. ; R$ o3 f8 F5 W8 e/ u7 f
  1063. ; Allow or prevent persistent links./ N( h2 C8 A7 b+ Y- C) `
  1064. ; http://php.net/odbc.allow-persistent3 }  q6 G' I$ t
  1065. odbc.allow_persistent = On
      _0 K+ F6 X+ ~% L- o. X! a

  1066. # [. Z; X+ W9 r7 J  r# B$ d
  1067. ; Check that a connection is still valid before reuse.
    6 d, _1 ?$ `- |6 z% M( j- f
  1068. ; http://php.net/odbc.check-persistent
    4 H3 Z0 q6 ?3 E2 g
  1069. odbc.check_persistent = On
    # q/ @5 a: S: r. G( q

  1070. 9 [5 ]0 i- ?8 g* F' W
  1071. ; Maximum number of persistent links.  -1 means no limit.0 V$ i2 n2 T! P, S9 r9 Z( V
  1072. ; http://php.net/odbc.max-persistent% o5 B8 }. K' p& `7 L
  1073. odbc.max_persistent = -16 g, B9 D4 G3 Y* k8 W1 p" `
  1074. ( k8 L* b- b5 D- K! h0 p, h
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    4 N- c9 c- C2 Q" \: ~: g
  1076. ; http://php.net/odbc.max-links
    ( v( a' B; a' i" _
  1077. odbc.max_links = -1
    , U" z2 X* `- v- y' k7 y# v$ c
  1078. 7 F8 f( A$ W- u# ]* S
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means: ]: J5 Z2 I! G
  1080. ; passthru.8 p9 g1 t3 Z9 t8 X. R
  1081. ; http://php.net/odbc.defaultlrl8 i; t* c* w1 ^; d
  1082. odbc.defaultlrl = 40965 S% w( [/ e6 E7 h: @, z5 [- N

  1083. % a( Y6 A& I9 ]+ L, O" c
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.2 i  O6 h# Z3 o, o
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    % |! ^2 ]- f$ W* q6 q/ F: n: m
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode" Y$ v5 C: ]4 o) P- \( M0 u/ d
  1087. ; http://php.net/odbc.defaultbinmode" ^5 C" `0 C3 X* O( `
  1088. odbc.defaultbinmode = 1
    . _* O$ b: F: f4 A" m2 Q" V& L1 `

  1089. ; I7 ?7 z2 o! J% Z0 }
  1090. ;birdstep.max_links = -1
    ; f% L) `% J8 L! Z8 m& A. N1 m

  1091. 4 T( j. t5 h+ y# `
  1092. [Interbase]: y; a  t. z* J, N2 w0 T
  1093. ; Allow or prevent persistent links.
    , A) A4 \  m# [
  1094. ibase.allow_persistent = 1
    6 H% m& ]: d9 ], O! q1 @

  1095. 5 {! \4 H5 H8 K9 i
  1096. ; Maximum number of persistent links.  -1 means no limit.
    # `( G* O4 ^( f8 {. B; y5 k1 v
  1097. ibase.max_persistent = -17 A6 y9 E" K$ V

  1098. : P& y$ d8 r) ?1 A9 C& O0 m9 U2 k
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    0 S3 ~7 f+ Z$ Z' g# g+ W& D$ F
  1100. ibase.max_links = -1! r' c4 [6 ^0 }" U! Q: M1 a

  1101. ) x: a! D* ]  ~
  1102. ; Default database name for ibase_connect().
    * L! B' i1 Z; `$ s
  1103. ;ibase.default_db =
    " R9 d" b4 _; [# P" \2 h. ]- X

  1104. 9 x* O5 G& T! h3 N
  1105. ; Default username for ibase_connect().
    6 \! R( V- i: `$ |. r6 R$ E
  1106. ;ibase.default_user =
    ( q9 h4 H/ V! d+ x3 A6 Z
  1107. * V! X7 ^- ?( A! ^; Y8 k" s3 C" i
  1108. ; Default password for ibase_connect().
    # Z% d9 o. c( I; S5 A" c4 @
  1109. ;ibase.default_password =% n/ s* q& }+ D; N
  1110. ) N8 ?0 {6 h; }6 `
  1111. ; Default charset for ibase_connect().
    ' D: }: F/ i" p, e+ |6 w1 g9 M4 N
  1112. ;ibase.default_charset =8 c) h- S! q0 G0 F& ^8 s

  1113. 3 _" U# z  U: o
  1114. ; Default timestamp format.5 ~! f+ I2 M6 t/ C, W" V, ~. T
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    1 D1 @: Z% b* e* X$ Y

  1116. + u; c1 N# o+ r6 Z/ b/ C, N: B  C
  1117. ; Default date format.6 l( B: b! {0 g3 L" h6 D
  1118. ibase.dateformat = "%Y-%m-%d": w; H# D$ @4 Y: ^- W

  1119. * J+ w7 Q- G0 T. k
  1120. ; Default time format.2 K! B7 i  `% W  i+ h# j+ r! \
  1121. ibase.timeformat = "%H:%M:%S"
    ! c' X3 G; G: v6 o( b3 V

  1122.   ?( d7 K! \/ z- }
  1123. [MySQLi]4 E' {, i  b5 f0 s& Z1 ^
  1124. ( Y  v' X- D& v9 i7 ?
  1125. ; Maximum number of persistent links.  -1 means no limit.
    ) L. @  a) h; u" _8 ^* o
  1126. ; http://php.net/mysqli.max-persistent
    ' M% ]" R& c" B1 z9 u( M3 q" R- }
  1127. mysqli.max_persistent = -1
    , C9 A+ w* I9 {2 o0 D

  1128. 9 s% ?8 @$ t) p7 f6 N% g
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements3 }0 d, W8 ?$ j' x7 r
  1130. ; http://php.net/mysqli.allow_local_infile
    ( ]3 q, u/ U$ T- U3 |7 j5 M7 p% R
  1131. ;mysqli.allow_local_infile = On
    - h9 I/ m& d, k, {

  1132. * W# |( N' v) D" B6 x
  1133. ; Allow or prevent persistent links.; f! D1 j( H$ q! @
  1134. ; http://php.net/mysqli.allow-persistent
    ( @6 B# K' N) L7 `2 |; s- o3 e9 c4 `
  1135. mysqli.allow_persistent = On
      l' v, h8 P' U6 U

  1136. $ Z3 j1 y  n( \
  1137. ; Maximum number of links.  -1 means no limit.; e$ a+ B" \- e& Z# t
  1138. ; http://php.net/mysqli.max-links+ \9 y0 p' X. g$ S5 b/ g
  1139. mysqli.max_links = -1* n" E# I! D6 Y% m2 Q5 m

  1140. + j8 B2 \) h5 l* g
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    , O" |/ G7 n% |% @
  1142. ; http://php.net/mysqli.cache_size7 j3 a* _1 D% A- |  p
  1143. mysqli.cache_size = 2000
    ( D# z) M: Q' ^+ p
  1144. 1 S* Q' j/ E' P
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    ( {$ w  K: q- J$ U, @! d& f: S
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the" w3 |; Z8 t1 l& |
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    4 _8 O/ {: U5 p% l
  1148. ; at MYSQL_PORT.4 l& L# d7 n. G) y
  1149. ; http://php.net/mysqli.default-port; c/ [+ c& _. R
  1150. mysqli.default_port = 3306
    $ K- v/ _) V2 e* ?- P8 E

  1151. 6 E7 J9 N) Q. z, [3 d$ }- D8 G* _
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    & z; A) \) m7 W% S$ n
  1153. ; MySQL defaults.$ r  U& c4 M$ \) m
  1154. ; http://php.net/mysqli.default-socket0 e# V; g4 b" T/ s
  1155. mysqli.default_socket =, K& H1 m5 a) t& Z) R4 @# l0 X8 B
  1156. 5 o, _, K' h; F/ n: k$ }
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).$ ]% ]& a+ Q3 R
  1158. ; http://php.net/mysqli.default-host
      X* M. Q- h: {
  1159. mysqli.default_host =
    7 Q6 i' y! O6 i. f. m

  1160. # \3 b. N; p0 ]! y  Q1 i
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).( ?# p$ d& _$ X3 B5 w
  1162. ; http://php.net/mysqli.default-user
    7 g0 ]( D9 w. k$ s1 G: _/ g2 x) e+ U
  1163. mysqli.default_user =
    6 n! e3 e# d1 U' h5 g  }2 O
  1164. 8 P7 a5 K8 `5 {+ I0 \+ w2 n4 n
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).# v/ O7 n% @- I
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.. W7 |; g, V  e8 s1 f0 z! u
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")* G, r+ z  y* U' O3 J& V( S
  1168. ; and reveal this password!  And of course, any users with read access to this
    9 M. x5 V' u% c8 Z- |& h6 [
  1169. ; file will be able to reveal the password as well.6 Y/ {5 d+ j8 M
  1170. ; http://php.net/mysqli.default-pw: v! S/ w! V5 M8 w3 E/ N1 w* T3 e+ o8 T
  1171. mysqli.default_pw =1 ~! [9 B# E3 H" s5 m
  1172. ; q4 ^! f5 m" [* `
  1173. ; Allow or prevent reconnect% i9 C; Z: G9 U. y* D1 J
  1174. mysqli.reconnect = Off
    2 i$ H- b  O4 Q1 j1 c

  1175. % b# o3 F/ M. w/ X/ i7 a/ f
  1176. [mysqlnd]$ Q  i$ N* }( c/ A! l. O* b- Z8 F' ~5 @
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be( ?* J# `0 l0 u1 e1 \
  1178. ; used to tune and monitor MySQL operations.
    / e9 E9 k1 O1 D+ v! b3 o1 P
  1179. ; http://php.net/mysqlnd.collect_statistics( r- I" T9 z, w; g- D. [
  1180. mysqlnd.collect_statistics = On% ~7 U% O* U. n0 G
  1181. ) O$ d8 h& n5 i; A# U1 Z
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be3 R+ A; S# k4 g- B& B( g3 ?
  1183. ; used to tune and monitor MySQL operations.
    # S( m. R7 G; s- \1 E! S
  1184. ; http://php.net/mysqlnd.collect_memory_statistics8 b. p5 @5 ]/ H0 ~7 x# P0 v
  1185. mysqlnd.collect_memory_statistics = Off
    & f( w1 \$ x! ^" Q- t
  1186. + s% o. R6 B+ K: g
  1187. ; Records communication from all extensions using mysqlnd to the specified log/ I- q. u; `# E6 l. s2 U" \
  1188. ; file.
    7 `. ?. W% C) [0 M* }" [& O5 r/ Y8 |
  1189. ; http://php.net/mysqlnd.debug/ g: A5 B! {- Q$ H& H$ X
  1190. ;mysqlnd.debug =
    0 `/ K2 Q1 n# ?
  1191. . b% o  F  e* q4 W! P
  1192. ; Defines which queries will be logged.
    # x7 A; O; X/ H, W
  1193. ; http://php.net/mysqlnd.log_mask
    : F  ?: r2 ?' V) F
  1194. ;mysqlnd.log_mask = 0
    0 b$ k4 S8 P8 f8 Z1 R; h
  1195. ! {( u/ @9 C7 _2 j4 I7 n2 z8 _. ?
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.% B- u1 P) G( Z+ y+ W5 j
  1197. ; http://php.net/mysqlnd.mempool_default_size
    + U4 v; F( }; O. m- \
  1198. ;mysqlnd.mempool_default_size = 16000
    ( B2 p4 n- H7 z- K

  1199. , s. D# F0 y$ ]0 z& G& I6 s8 E
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    , |; o. K1 U0 J" S1 W" Z
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size% F. Q6 M" J5 H) Z, W* g
  1202. ;mysqlnd.net_cmd_buffer_size = 2048$ E/ U" |- L5 T- T7 F

  1203. ' o; ?, f$ H* P2 B2 I
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    / k) L; N" n% w: y* v
  1205. ; bytes.( T2 X+ ]/ H+ y0 K. M7 U2 g
  1206. ; http://php.net/mysqlnd.net_read_buffer_size! t& X: P0 S# q" [( V8 n( M9 b8 [+ G
  1207. ;mysqlnd.net_read_buffer_size = 327688 d( B8 h1 z3 a# @7 h- g2 K

  1208. * a+ A$ c: W, n* ~
  1209. ; Timeout for network requests in seconds.
    ) s! k- \7 X2 H+ E2 y0 d) v6 ^
  1210. ; http://php.net/mysqlnd.net_read_timeout- k+ H. f5 t8 g% N9 C2 r
  1211. ;mysqlnd.net_read_timeout = 31536000
    - q9 b. l+ ^# X. A! R$ `+ A

  1212. 2 Q/ y- Q  W1 ?4 Z5 |  m
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    2 \4 L2 ]" H9 M# C& A5 }# Q
  1214. ; key." C- X( v4 {0 |; U
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    6 }* i4 ~9 N- \6 J' O& _
  1216. ;mysqlnd.sha256_server_public_key =7 {, ^" `' N% g+ ]8 G+ Y

  1217. 4 }* k) U8 Y/ V, P* Y
  1218. [OCI8]7 `% R; h& G. S) z$ \4 r9 c

  1219. % a4 y- ]% G1 i& R* a* i' C
  1220. ; Connection: Enables privileged connections using external; y/ i! K' }: F6 y  _
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)2 `: U1 ~+ F. h7 h' ]- ?& j
  1222. ; http://php.net/oci8.privileged-connect
    7 H, H8 j2 r$ }3 E: s: e$ v% N
  1223. ;oci8.privileged_connect = Off( U% O0 J( m/ H' ]: o1 V
  1224. 4 @. L1 r* Y6 n" B& |2 C& B
  1225. ; Connection: The maximum number of persistent OCI8 connections per7 |, K( {3 I' B  d" F
  1226. ; process. Using -1 means no limit.
    4 u  a( X, Y1 I$ h  K3 d
  1227. ; http://php.net/oci8.max-persistent4 J- S6 F- k' i6 d" t$ Z
  1228. ;oci8.max_persistent = -1
    6 q  u9 a9 r& \) a/ s

  1229. 0 ]! c1 Q6 ^% `
  1230. ; Connection: The maximum number of seconds a process is allowed to* y: r. b( U7 |  m0 h
  1231. ; maintain an idle persistent connection. Using -1 means idle& ^1 H" C: p& h
  1232. ; persistent connections will be maintained forever.
    8 K: M+ m7 G! W7 S4 w2 S
  1233. ; http://php.net/oci8.persistent-timeout
    3 m. E9 f% V4 ?7 T
  1234. ;oci8.persistent_timeout = -1& q: g- R+ ^" N; r
  1235. + G5 t  c  |1 u& j
  1236. ; Connection: The number of seconds that must pass before issuing a* R- Y' a/ C. h
  1237. ; ping during oci_pconnect() to check the connection validity. When
    * t9 x. E& |! I
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    $ S9 v- N: N) L7 q* ?6 ^0 n
  1239. ; pings completely.
    7 _- J, k" n, R7 g5 h5 S/ W* |
  1240. ; http://php.net/oci8.ping-interval% X- ^8 U) B- O$ R( M
  1241. ;oci8.ping_interval = 60% u1 n) r5 x+ v( ^* v; U

  1242. 0 k' C$ p( ~: Q7 N& n; Q
  1243. ; Connection: Set this to a user chosen connection class to be used& \: x+ R" V  C: M( t+ a+ g* D0 T) ]
  1244. ; for all pooled server requests with Oracle 11g Database Resident
      x. W1 ~0 l% j
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to& A$ M4 s7 r# [
  1246. ; the same string for all web servers running the same application,0 t) h, Z! s$ b9 p& f8 z$ T8 Z4 z
  1247. ; the database pool must be configured, and the connection string must7 \) `) ]/ H' N8 ~% \7 t. [
  1248. ; specify to use a pooled server.  x" N2 t# m2 J: N
  1249. ;oci8.connection_class =
    5 ]* S1 k7 N. o, P* A

  1250. 1 e; J  y% p  N2 I0 Q+ B. F
  1251. ; High Availability: Using On lets PHP receive Fast Application  c& R- p8 f# R4 h
  1252. ; Notification (FAN) events generated when a database node fails. The
    / i6 H7 b" _6 H' C6 v" A
  1253. ; database must also be configured to post FAN events.
    ' }8 F) v! F6 o* p3 H) g9 u  `
  1254. ;oci8.events = Off6 Q1 D: a) J2 t. C9 \

  1255. 7 N$ L, D. o& t/ w+ ?
  1256. ; Tuning: This option enables statement caching, and specifies how& r  H' `* g" Z+ \
  1257. ; many statements to cache. Using 0 disables statement caching.
    5 }: `& L. k& Y5 ]6 W' E
  1258. ; http://php.net/oci8.statement-cache-size
    4 e( m8 `/ ~8 b8 q' `& i/ }
  1259. ;oci8.statement_cache_size = 20  [3 _( F9 }! \' j, i1 V& T8 w
  1260. ! A. f0 `+ M7 D1 c5 y
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    1 q2 [6 l; Z: g4 y- [3 y
  1262. ; rows that will be fetched automatically after statement execution.4 m$ ~# [4 N% g/ @  K
  1263. ; http://php.net/oci8.default-prefetch0 G4 `- w: _( n, D: t, |8 R) C0 _
  1264. ;oci8.default_prefetch = 100% l3 T5 H' Q7 d- v; g

  1265. 6 b# Z  e! m4 `  H
  1266. ; Compatibility. Using On means oci_close() will not close
    # k$ |8 A( b8 D1 w8 P' @$ Q- `
  1267. ; oci_connect() and oci_new_connect() connections.
    ! J! O( P, p' A4 w
  1268. ; http://php.net/oci8.old-oci-close-semantics
    5 K" w7 H- J8 n% v
  1269. ;oci8.old_oci_close_semantics = Off# U7 \- i4 v! O" m- v! p0 Q

  1270. 7 H, @. l+ c/ D5 a9 m
  1271. [PostgreSQL]
    % l/ i7 L3 M& u1 L
  1272. ; Allow or prevent persistent links., N, ^$ R- y# m5 y' }2 n
  1273. ; http://php.net/pgsql.allow-persistent
    ) m; v( b2 f6 ?9 L: a
  1274. pgsql.allow_persistent = On/ ~% n+ \1 P& G1 e0 c  {
  1275. 6 |8 ~( a  O  Y( l6 x8 K5 H
  1276. ; Detect broken persistent links always with pg_pconnect().
    / G$ @7 A* ~$ ]3 Z* W& H& I, D
  1277. ; Auto reset feature requires a little overheads.
    ' b, u5 U9 Y4 l& H. [0 f% G4 Z
  1278. ; http://php.net/pgsql.auto-reset-persistent
    ) F1 r$ I& [4 l; g; c
  1279. pgsql.auto_reset_persistent = Off
    9 L) Y% L1 M3 n

  1280. + n# s! K8 g9 r2 F6 m
  1281. ; Maximum number of persistent links.  -1 means no limit.1 h/ F! Q7 {  Y& k; {
  1282. ; http://php.net/pgsql.max-persistent4 j5 u* ^7 V9 ]5 b
  1283. pgsql.max_persistent = -1
    $ C' Z; d+ a2 l. e; ^- F
  1284. & \( p/ F: [% b1 g2 J1 N
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    , n/ o2 [& G$ Y" k/ l& S, B
  1286. ; http://php.net/pgsql.max-links
    ) H/ f; R. \% I' Z
  1287. pgsql.max_links = -1
    ! j% r' ^/ J( f% J

  1288. + c" u9 x  t! u
  1289. ; Ignore PostgreSQL backends Notice message or not.+ x, [4 A& R$ c# j) E
  1290. ; Notice message logging require a little overheads.
    7 j+ T( f3 V: R* B7 _# x  @! L1 Q) u2 x
  1291. ; http://php.net/pgsql.ignore-notice
    0 {# D1 b! C1 x- c
  1292. pgsql.ignore_notice = 0) @5 z% D6 U; h  M' d
  1293.   e4 i! j- e. U6 [( A
  1294. ; Log PostgreSQL backends Notice message or not.% [3 H0 y) b1 A9 \6 G3 c
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    6 C# f: T: l# t: j& v: I$ u/ W( G
  1296. ; http://php.net/pgsql.log-notice0 |0 T+ L0 f) S8 F. j& q
  1297. pgsql.log_notice = 0  k) ~- f( W& v+ D

  1298. ' F% y9 |) Q( V4 \+ ~  `
  1299. [bcmath]! S8 L/ d8 |% w8 |& B- L. d
  1300. ; Number of decimal digits for all bcmath functions.1 q3 R2 W. M8 ?$ d! |
  1301. ; http://php.net/bcmath.scale
    $ D9 H0 R- I( f% V
  1302. bcmath.scale = 0- }1 S; U( ~0 R3 |( L# E
  1303. 7 B, s( }  _, q2 r6 [1 Z9 A
  1304. [browscap]: M9 }+ h, P! r, `7 k2 D
  1305. ; http://php.net/browscap
    2 R* `, `% ?, Z
  1306. ;browscap = extra/browscap.ini
    ' w' h, Q0 j  ]* w+ U1 g

  1307. ( C1 L+ u- m* i; ^* U
  1308. [Session]) I5 s9 d) W* R1 m, d7 f, V( g
  1309. ; Handler used to store/retrieve data.6 s, s! A2 K, u
  1310. ; http://php.net/session.save-handler* z6 c. G/ k6 U0 D+ U4 r8 q
  1311. session.save_handler = files
      W: g5 l/ i4 q7 ?; ?

  1312. - X; n. I% h* v9 O, P$ q
  1313. ; Argument passed to save_handler.  In the case of files, this is the path: t* n# C; u6 x& O" u
  1314. ; where data files are stored. Note: Windows users have to change this
    " F( \' }; k" }8 W0 i+ m2 L
  1315. ; variable in order to use PHP's session functions.8 ~) t7 q6 i, g
  1316. ;* ]  k6 I- l+ F3 n/ C) z
  1317. ; The path can be defined as:- A7 W9 K0 r3 {- P8 K: X7 A6 j$ _8 c6 ]
  1318. ;: D0 n! V$ b6 w0 {$ }/ n
  1319. ;     session.save_path = "N;/path"
    . l) w  Z* p7 {- H0 M
  1320. ;
      x, _, Y  G; l' h3 A& h: v
  1321. ; where N is an integer.  Instead of storing all the session files in8 Z: y) [7 X7 }  W- ^: p
  1322. ; /path, what this will do is use subdirectories N-levels deep, and+ E" }# I8 q( X4 q4 Q5 ]+ |  \* A
  1323. ; store the session data in those directories.  This is useful if
    " y9 @: [6 q' R; l; h3 C9 B
  1324. ; your OS has problems with many files in one directory, and is/ ]" r* u* Z8 T5 ?4 x
  1325. ; a more efficient layout for servers that handle many sessions.+ s% s: f0 D+ }3 I: Z' f
  1326. ;8 c/ |- b% Y& Z" K+ x% {
  1327. ; NOTE 1: PHP will not create this directory structure automatically., b* c% D" F! p9 k) C
  1328. ;         You can use the script in the ext/session dir for that purpose.
    ! I6 z5 t! z, p
  1329. ; NOTE 2: See the section on garbage collection below if you choose to1 X' h( Y8 y4 m" R& k( w8 i
  1330. ;         use subdirectories for session storage9 w  H" u# _: X: @2 a
  1331. ;
    ) X: [8 ?* p: V9 A
  1332. ; The file storage module creates files using mode 600 by default.
    + W' h3 j# X9 [6 K) S
  1333. ; You can change that by using& W# M8 P' b, `1 ^5 [
  1334. ;8 Y( ^) O1 W! P2 _
  1335. ;     session.save_path = "N;MODE;/path"
    4 ~8 y4 a& P  E+ C
  1336. ;
    $ _4 A1 n; G* }- c5 i
  1337. ; where MODE is the octal representation of the mode. Note that this: P! e( `' k2 e
  1338. ; does not overwrite the process's umask.7 F9 x" w2 F$ ^  O0 R$ s$ c
  1339. ; http://php.net/session.save-path
    " M: O. l! I  p& z8 S$ i, B
  1340. ;session.save_path = "/tmp"
    0 ]( d- k9 D- t; R- X3 T8 ]
  1341. % J9 x7 F4 f5 x: x
  1342. ; Whether to use strict session mode.5 N" S) `3 U" K% u
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    ' D. S* A% t$ C; U, |: G- Q" f
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects5 W; j( I: q6 x% V# k( M- ]- {
  1345. ; applications from session fixation via session adoption vulnerability. It is
    . w1 s. f% C  F3 f6 l% w
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    . p, ^+ d( y; I3 g  _
  1347. ; https://wiki.php.net/rfc/strict_sessions
    / u' W# m; D: \. m6 Z
  1348. session.use_strict_mode = 0
    7 }) R6 y1 l0 z9 W8 \
  1349. 0 H$ J) |- O4 v% \4 Y
  1350. ; Whether to use cookies.# {7 w% ?) W- T0 J6 G1 `
  1351. ; http://php.net/session.use-cookies! t; j' m, J& C
  1352. session.use_cookies = 1
    2 n; E% _$ a$ a; a  A
  1353. % k3 B$ r1 ^* k! O% a  ~# U9 ?
  1354. ; http://php.net/session.cookie-secure2 @; n" M8 g" [, Z- p) l
  1355. ;session.cookie_secure =
    0 n( t: B: H; ~+ t8 b% }  F

  1356. / ^$ i, U3 n# b$ F+ S# E: t. Z# s% `. V
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining4 P& I9 _# B8 m+ s0 }. K* i
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    : b. K6 H. E9 e  D1 |
  1359. ; session hijacking when not specifying and managing your own session id. It is+ I& @0 h& \* P: z2 |
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.6 U# R# C$ Q+ U' d
  1361. ; http://php.net/session.use-only-cookies5 g+ b1 l9 y% J2 p
  1362. session.use_only_cookies = 1
    3 |& w5 a# ]- _3 a3 B2 E4 t" ]

  1363. : E% e: ?, C& d* p8 e
  1364. ; Name of the session (used as cookie name).9 }3 b; i" F* S% P
  1365. ; http://php.net/session.name% C" z0 ~, V- m  s" B' Z* o: _1 f) D
  1366. session.name = PHPSESSID2 y+ ]* C3 V( J! Y

  1367. & M- J" {, n' b- x( G5 e
  1368. ; Initialize session on request startup.0 `; f& v% T& y8 t
  1369. ; http://php.net/session.auto-start
    2 H  V( N8 A- k6 Y/ h9 j  h0 ?/ r
  1370. session.auto_start = 02 N0 l; q! {  M) z% B8 J
  1371. ; @: V% p% f$ P) E/ G  F
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.1 h5 I. e8 e; @' {5 i: d5 s
  1373. ; http://php.net/session.cookie-lifetime
    * U% U) s" K# x8 o' C( b
  1374. session.cookie_lifetime = 0
    ! i0 e, O2 H! U7 h

  1375.   g9 u- M- V. B3 H4 d5 `
  1376. ; The path for which the cookie is valid.1 K4 f1 V0 P! }: |3 h
  1377. ; http://php.net/session.cookie-path
    : m8 D4 ?( x0 e; Z& H' C
  1378. session.cookie_path = /! t1 c( Z, V- I% J7 }5 |( q

  1379. 2 \! `+ `# T# p6 _/ R0 m
  1380. ; The domain for which the cookie is valid.
    % t/ k) C& I8 Z' @. ~* U' X
  1381. ; http://php.net/session.cookie-domain, [: v  P0 M9 F6 [+ ^4 d1 i! ]% i
  1382. session.cookie_domain =: X, J" M2 g+ Y: I0 r1 X$ A

  1383. ' ]* _* `8 x9 R$ \2 ^8 s
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.7 C6 o) p$ D( U, H4 @# S! u9 ?
  1385. ; http://php.net/session.cookie-httponly
    , L2 B  K' R" b" U0 G& y
  1386. session.cookie_httponly =0 n5 @  Y$ X$ k5 X9 l. G

  1387. 8 a7 J! L9 W3 W4 B" K
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP./ M/ p/ Q  e: n! N9 Y6 G
  1389. ; http://php.net/session.serialize-handler4 X" {/ ]. f* v( W- J% {' S
  1390. session.serialize_handler = php1 t4 d% m) l$ T
  1391. % }9 a+ u" q/ O8 x% Q3 w3 T$ T
  1392. ; Defines the probability that the 'garbage collection' process is started
    ! @+ c0 y: b; B( A6 y/ |
  1393. ; on every session initialization. The probability is calculated by using
    $ I8 Z3 s) x0 s, Q( v8 m  p; l# `6 F
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    8 `9 N+ l; W* y
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    5 {3 G9 t% q  z1 n- a/ ~. U$ f
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance* h3 b* v5 v' E2 }/ q: B5 z" b
  1397. ; the gc will run on any give request.
    9 ?8 K4 C- T% {
  1398. ; Default Value: 1
    % ]5 W6 y6 \- T/ B9 |! x3 n7 |
  1399. ; Development Value: 1) y# F7 ^) D% t4 @$ G
  1400. ; Production Value: 11 A$ t: F! G8 y& {& A& j
  1401. ; http://php.net/session.gc-probability( X3 Y2 Z. \: v3 b! N
  1402. session.gc_probability = 1
    6 q; d! Z: T) F; d& n$ H

  1403. ! x+ h; W+ q3 h$ C
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    ( _8 s7 j( i. Q9 S5 v
  1405. ; session initialization. The probability is calculated by using the following equation:
    * ~5 c; g0 ]0 m) H& x
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and- F6 e' q, T, ]" [0 j( w, E3 P
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    % @% A' Y4 h4 ]6 ~9 L( z& v6 Q; O
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    ( C( y7 g+ W7 D4 ~0 g* Y# e  s
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    $ q+ R$ E2 Y6 U( @
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,4 r4 p7 A' O. k" w( ^
  1411. ; this is a more efficient approach.
    0 e! J8 h( n" G
  1412. ; Default Value: 1000 A+ `( I, {! ?5 T: o# j
  1413. ; Development Value: 1000
    + |# B: i1 ~* ?# g2 Z
  1414. ; Production Value: 1000
    , p: @$ t0 n3 t' ?% X3 Q2 d  w
  1415. ; http://php.net/session.gc-divisor
      R$ f6 b! p' H  A* g
  1416. session.gc_divisor = 1000; a; |* l, H3 ^. x) E. b

  1417. 4 l3 I# ]0 x3 ^+ d) b
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and5 c  W) @/ q' S; Z8 }& x0 k# c
  1419. ; cleaned up by the garbage collection process.+ R$ n' f8 k& o8 B5 ?
  1420. ; http://php.net/session.gc-maxlifetime
    . b4 ~0 V9 t$ z) N' a9 F
  1421. session.gc_maxlifetime = 14407 e. a9 {8 L5 N, Y- w2 T
  1422. 3 a: b- H! }/ a
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    9 z: z7 G. u" ~: B3 F
  1424. ;       (see session.save_path above), then garbage collection does *not*
    2 @! f; }5 N1 a% F" l
  1425. ;       happen automatically.  You will need to do your own garbage
    & B" L# |3 k& k4 b5 {; Q' o6 _
  1426. ;       collection through a shell script, cron entry, or some other method.8 h+ ~( x$ {4 K1 Z: X9 a9 c. |
  1427. ;       For example, the following script would is the equivalent of5 @) `/ ]2 E& O* z9 B- p8 s
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    : i5 e( E2 d0 ^3 `! n
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    5 e* l2 l/ ]6 F+ h- j) k" c% o$ _( e/ d

  1430. ! j- T6 W! G, y; K7 ~
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    1 l5 @' h  R% I4 q
  1432. ; HTTP_REFERER has to contain this substring for the session to be; z0 `* T0 U6 K
  1433. ; considered as valid.
    4 b  \& p+ K3 T' R* x
  1434. ; http://php.net/session.referer-check
    - W8 a6 H4 S5 ]/ W, y1 a
  1435. session.referer_check =
    6 G9 y( j- U2 c+ M) x0 M; L( Z! _
  1436. $ p( Q0 {1 K/ }
  1437. ; How many bytes to read from the file.
    ; G$ t/ r! z& h  F# L2 \1 w& h
  1438. ; http://php.net/session.entropy-length
    0 |( ]  b/ g6 A1 d( m
  1439. ;session.entropy_length = 32* s1 t& J& i( I) N; T

  1440. 9 W: v- m& Q& {: L4 R- Z0 P1 v
  1441. ; Specified here to create the session id.
    8 {8 N% ?2 B# R
  1442. ; http://php.net/session.entropy-file' T  |& w; }- G/ c3 u
  1443. ; Defaults to /dev/urandom
    5 u: z  B$ s2 t) y. F
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom& E3 ^  `9 c$ p' t  j
  1445. ; If neither are found at compile time, the default is no entropy file.2 G  i- V/ g! W( ^% u6 G+ {" I7 {' }  u
  1446. ; On windows, setting the entropy_length setting will activate the1 F% y  ]8 z) ]0 y% P8 s: {8 I' s
  1447. ; Windows random source (using the CryptoAPI)
    , U$ R/ B, ^, X: d0 N* r1 C+ G) b
  1448. ;session.entropy_file = /dev/urandom, O8 z( p/ U6 S6 O$ v8 @1 t

  1449. ) S1 _3 {1 p: H0 v$ P
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    . q* z* f- C* z
  1451. ; or leave this empty to avoid sending anti-caching headers.8 Z$ J" {7 q: {
  1452. ; http://php.net/session.cache-limiter
    7 G& q: @- b6 x; V6 ~# U1 R3 n( b
  1453. session.cache_limiter = nocache& R0 O$ O7 Z" ^: P8 Q$ ^  W

  1454. # ]/ K( ?# p: l
  1455. ; Document expires after n minutes.5 I# W1 a) w7 A$ m5 G- l
  1456. ; http://php.net/session.cache-expire" ?# ^0 R( G0 ?2 y( B7 d  x
  1457. session.cache_expire = 180
    $ ~+ O) l: D  k, ?7 Y; u
  1458. 2 L0 Z& R0 }3 [
  1459. ; trans sid support is disabled by default.7 `4 c- v. u. d: T/ ^
  1460. ; Use of trans sid may risk your users' security.1 F* u- ?# |3 b- X. n7 [  c
  1461. ; Use this option with caution.. ~, w& ?: b: d4 L6 y8 ]1 |+ a
  1462. ; - User may send URL contains active session ID
    , Y' j& u, j8 ^4 z
  1463. ;   to other person via. email/irc/etc.
    & Y7 }( o' b; n
  1464. ; - URL that contains active session ID may be stored( o5 i- U$ B4 f  w' _' C- J
  1465. ;   in publicly accessible computer.
    ' a) }7 Y' e8 d- y  ~# D
  1466. ; - User may access your site with the same session ID
    . e% q. g  q' s, F6 p0 Y' A
  1467. ;   always using URL stored in browser's history or bookmarks.
    - v  O' H0 G. X! P4 \
  1468. ; http://php.net/session.use-trans-sid5 j& Y0 H/ K! Y3 L0 Z
  1469. session.use_trans_sid = 0
    + ~) U0 d% |$ }. c

  1470.   l- W! [9 b! x1 v# M! U
  1471. ; Select a hash function for use in generating session ids.
    5 G6 r* Z& R! d8 x& r" c/ S
  1472. ; Possible Values4 q5 }- o' G) }3 x0 O1 A' K9 d
  1473. ;   0  (MD5 128 bits)- |% C$ t: y; b3 e
  1474. ;   1  (SHA-1 160 bits), l% P& o. G. Q2 V8 r0 V
  1475. ; This option may also be set to the name of any hash function supported by. r+ [2 g9 p5 h1 p+ Q; I
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()& r* s0 h! M9 I  F" `" M* g0 q
  1477. ; function.7 C7 d, G: b0 }4 }9 v' U! S5 ?# u& R" W
  1478. ; http://php.net/session.hash-function- M. v6 |3 V0 Z; A7 x
  1479. session.hash_function = 0  _4 [$ Q  m$ y6 a9 p2 p
  1480. % K7 g7 B1 t" Q; t) |  P4 [" \
  1481. ; Define how many bits are stored in each character when converting8 ~  `% i3 T+ M# |% F
  1482. ; the binary hash data to something readable.( F; v* e  S: b$ q/ h
  1483. ; Possible values:1 \2 k5 g0 k& w8 V) K7 d
  1484. ;   4  (4 bits: 0-9, a-f)
    7 m  \& Q( p, D# l0 h
  1485. ;   5  (5 bits: 0-9, a-v)
    5 y' n: Q# m: ^* U' B
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    & C$ j3 h: Q: b4 k; G, r% n
  1487. ; Default Value: 4
    . L$ Z0 t3 ~# B) {) T- J
  1488. ; Development Value: 5) B) N) e6 ^5 e0 D: G  w
  1489. ; Production Value: 5
    4 b; E/ W$ y8 M- v5 ~& ^
  1490. ; http://php.net/session.hash-bits-per-character) }) x& y8 z' u
  1491. session.hash_bits_per_character = 5+ n& f4 c  q" ^8 B% X

  1492. 8 y% `) u$ ~) y
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    / K+ T0 _$ G2 S" P" i$ \8 I. N
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    1 h4 w; t  |( |% J8 p1 @5 x2 Y
  1495. ; add a hidden <input> field with the info which is otherwise appended3 m; k% |: s  ^% U
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    6 ]2 |  E6 D: n' I5 _0 `% G
  1497. ; Note that all valid entries require a "=", even if no value follows.
    5 e. k% a1 f: d$ N
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="$ F  u) ~( l" b! E5 t: U: d: h" T
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    5 ?" @, O4 E+ j1 R" j. e* i% d
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    , b& h8 ]/ o; x, C( a! A
  1501. ; http://php.net/url-rewriter.tags
    7 _  Z, @2 V; B& y0 c3 k% \- F
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    4 r/ R. q. C9 H! N3 Z

  1503. ! g- O4 ]! `4 Z2 g4 o' m
  1504. ; Enable upload progress tracking in $_SESSION$ M! ?$ e9 j; a; v
  1505. ; Default Value: On
    - J8 l2 U5 s6 T2 J/ w5 K
  1506. ; Development Value: On" q5 m9 c7 x2 k, X( a
  1507. ; Production Value: On
    + Z$ h5 I6 f) Z* X: @
  1508. ; http://php.net/session.upload-progress.enabled
    9 L+ N" e+ f: T7 _1 S" f, i
  1509. ;session.upload_progress.enabled = On
    / Q" g) y$ d; v0 Q! j/ [
  1510. 4 m& G! W2 T. m+ k  _- K
  1511. ; Cleanup the progress information as soon as all POST data has been read3 G* v! |8 Q% r9 j2 A
  1512. ; (i.e. upload completed).$ ]) I1 K3 q1 ~$ n- \
  1513. ; Default Value: On6 X5 p7 q" }7 B* @
  1514. ; Development Value: On) m1 s' f! R4 x# e" a1 F0 [: ?9 B$ Z7 |
  1515. ; Production Value: On  f+ F. {0 `0 x, m- d: X
  1516. ; http://php.net/session.upload-progress.cleanup( }; u  A( G- C* H  m3 L
  1517. ;session.upload_progress.cleanup = On
    " y/ G4 C! X! p

  1518. 0 `! D/ v( A5 T" n6 j
  1519. ; A prefix used for the upload progress key in $_SESSION
      S- ?# h+ k5 \, T% P4 G
  1520. ; Default Value: "upload_progress_"
    ! \6 \- Z  D  y( l
  1521. ; Development Value: "upload_progress_"
    3 T8 D! H5 j, Y- c8 J2 t& K
  1522. ; Production Value: "upload_progress_": Y0 u  G, z! }& J% c
  1523. ; http://php.net/session.upload-progress.prefix
    " b  F6 {, S% n  U! F' F
  1524. ;session.upload_progress.prefix = "upload_progress_". L+ H) j0 }  ]  W
  1525. + e; p* K! |3 V- G
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    8 M% U5 K0 X  R+ }. ~& }
  1527. ; containing the upload progress information  I7 e: o) v/ S, P5 Z
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    6 ^  Y: T6 F7 x" W# B% L
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"1 o: I8 X' X$ `! u& r  {
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"' i! N$ ]) c% n
  1531. ; http://php.net/session.upload-progress.name
    2 {$ |& g" W- J) C8 Q9 x
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    , V& X- c; ^" ~! @2 N
  1533. & t; O  u9 _' a2 L( K9 G/ B2 L
  1534. ; How frequently the upload progress should be updated.% @' D8 T% Y# s9 `* D
  1535. ; Given either in percentages (per-file), or in bytes) O( L, ~+ H; t. g) z2 h
  1536. ; Default Value: "1%"
    8 C8 ]8 F% o& V, ~8 Q) C( T
  1537. ; Development Value: "1%"
    ; ?, N+ C* p1 _5 ^
  1538. ; Production Value: "1%"
    . e# \, G* i4 m& V0 z
  1539. ; http://php.net/session.upload-progress.freq
    6 G0 u, L, z1 N  c# P; W# a) C8 @
  1540. ;session.upload_progress.freq =  "1%"' {  ?3 b4 J2 A( }: z% ?

  1541. 3 y. u4 p$ n5 J9 X# x
  1542. ; The minimum delay between updates, in seconds. O5 l/ {' c  }4 e" N' u
  1543. ; Default Value: 11 u3 `) c( i' S' l- I
  1544. ; Development Value: 1
    & d: }+ k+ K) s
  1545. ; Production Value: 1- t( o- i( V& m. N. J  z& x
  1546. ; http://php.net/session.upload-progress.min-freq
    5 ^7 _" o7 V/ G' P* q
  1547. ;session.upload_progress.min_freq = "1"
    2 m4 L7 Q4 ]. G

  1548. . {2 r5 ~+ V  |$ T; M" O
  1549. ; Only write session data when session data is changed. Enabled by default.
    ( j3 f7 ~- x# A5 a$ D: X
  1550. ; http://php.net/session.lazy-write5 m3 P: q8 [3 u' V
  1551. ;session.lazy_write = On
    1 E6 Y9 s9 R& Q# X8 \
  1552. 2 W* s3 W6 ]4 ]9 g3 n2 y
  1553. [Assertion]1 A: j! \$ k6 q3 m3 c0 q' r
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    8 \" W  S% i4 ]% C: G" g
  1555. ; -1: Do not compile at all0 L6 m0 O7 M2 {, Y2 P2 G
  1556. ;  0: Jump over assertion at run-time
    , {! G9 G1 ^% W6 m/ {7 z
  1557. ;  1: Execute assertions
    9 U" B% `4 q' ]8 ?
  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): E/ W! B7 m; c# V& z" A; R
  1559. ; Default Value: 1+ g8 n$ ]2 S% ]' [+ e" \3 k
  1560. ; Development Value: 1
    7 X# _) k1 ~0 @
  1561. ; Production Value: -1. V8 M0 {6 N* x. U( f
  1562. ; http://php.net/zend.assertions
    8 a: `- h/ q  S. W* ]6 m5 }0 Q
  1563. zend.assertions = -1
    7 z2 ?! Y' m' h" m# R# \# v

  1564. + K. o) C) F# r* S  o3 b+ P
  1565. ; Assert(expr); active by default.- N& x- }! N# h4 }# ?  U9 f4 e! o
  1566. ; http://php.net/assert.active
    " ^( A7 C' w" b$ ], F1 ^
  1567. ;assert.active = On* Y/ t# \( B3 N4 O5 S2 J

  1568. 3 u  I3 I! q) [0 v" U2 y- [+ g% \
  1569. ; Throw an AssertationException on failed assertions
    - p6 s% ^2 O. J  D2 y4 Z! }$ [
  1570. ; http://php.net/assert.exception/ q$ l8 v. [2 u* T
  1571. ;assert.exception = On
    ; Y  `3 S, ?: j

  1572. , Z' ?: ~: t+ R; k5 |$ W" [
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    $ Q& }8 i8 }0 z# p5 A5 J" ]( [
  1574. ; http://php.net/assert.warning
    " U6 e* T3 J2 v7 t( J  w
  1575. ;assert.warning = On6 s, P" M$ u9 O% g( _
  1576. . t9 R3 D4 @+ R
  1577. ; Don't bail out by default.* @# L, F, f+ {7 b- C7 r
  1578. ; http://php.net/assert.bail
    2 A6 ?4 L1 ^, F8 z
  1579. ;assert.bail = Off
    & ^; o* P" |/ W2 u& r+ T8 G

  1580. : C) A1 p7 H, g0 Y+ Z) T$ Q
  1581. ; User-function to be called if an assertion fails.
    0 @: Y9 H2 d& W- d* f0 q3 @/ T' v
  1582. ; http://php.net/assert.callback1 q) {) V$ X  O4 d5 P/ J
  1583. ;assert.callback = 0: ^% W3 n( h' n; }

  1584. ' p7 b4 ~# d4 j: w, K
  1585. ; Eval the expression with current error_reporting().  Set to true if you want+ b& l4 W/ w  ?! S0 [5 x" P/ A- _
  1586. ; error_reporting(0) around the eval().
    9 S$ b2 s! _0 j3 H
  1587. ; http://php.net/assert.quiet-eval5 q; k2 q& b$ h; m) i
  1588. ;assert.quiet_eval = 0- Z2 E) g+ h' Z+ h' W1 y$ d  O" |

  1589. 8 z* h! o6 {9 T6 U4 G, a; G3 e
  1590. [COM]
    3 V1 g% X* \2 I1 r& s  \
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs, g% b" w/ p2 _6 _! e5 |/ ~
  1592. ; http://php.net/com.typelib-file# S" u. Z' m/ a0 T! b' Y$ k" ~
  1593. ;com.typelib_file =
    ! g. R" c% ]6 F
  1594. ; L9 y+ I! ^3 g  M2 B9 T
  1595. ; allow Distributed-COM calls
    2 C0 ?" C- }9 x4 L
  1596. ; http://php.net/com.allow-dcom! a- C/ Y7 A% m. I+ @4 x
  1597. ;com.allow_dcom = true- M1 i. k8 V& O. H( i% H- ~4 q
  1598. ; p1 Z4 r% l4 u
  1599. ; autoregister constants of a components typlib on com_load()1 Z) o9 m& l9 j% Q2 F
  1600. ; http://php.net/com.autoregister-typelib5 U3 L, Y$ f6 h$ G
  1601. ;com.autoregister_typelib = true
    5 u* \. G' w3 N+ [& R! K6 E
  1602. 5 S& x. S/ r% S
  1603. ; register constants casesensitive8 e2 h9 ~1 R: m. Y4 Y' y
  1604. ; http://php.net/com.autoregister-casesensitive
    + H* F+ R' E# F  {
  1605. ;com.autoregister_casesensitive = false
    9 }/ \) U2 L: W5 R
  1606. # R8 d! N- v5 J7 h
  1607. ; show warnings on duplicate constant registrations4 U. N( n, Q7 @  T$ C# e
  1608. ; http://php.net/com.autoregister-verbose- L3 m: i: u7 c& S, N
  1609. ;com.autoregister_verbose = true
    6 y  ^( t4 x/ o: z
  1610. + J. b2 F  d; b/ D" B* \
  1611. ; The default character set code-page to use when passing strings to and from COM objects.; s5 ?  j2 j3 c8 H- m  ^& A; [$ ?7 g
  1612. ; Default: system ANSI code page4 a) ?# n  ]+ ~* P6 Z
  1613. ;com.code_page=. A. C: Y( ?! k* ?9 ~- G" n
  1614. . K3 p9 F  M$ o7 i9 A6 N4 T7 j. r
  1615. [mbstring]6 h& e4 w. w/ g$ b4 x9 @( K
  1616. ; language for internal character representation.0 q, W- Q; t* b& T
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    ( U/ D2 U, N8 K2 y& s
  1618. ; http://php.net/mbstring.language
    ; \' E# I! S( A1 M. V" l
  1619. ;mbstring.language = Japanese
    $ u! A6 ^! T# Q, s3 E, _

  1620.   n- q7 g9 x3 [3 [
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.  d& m: z1 O, f6 ^& L
  1622. ; internal/script encoding.
    $ w+ m5 s" \6 O4 g* ?: v# Y
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)/ M  G2 L3 Z; U0 n( W4 P7 f
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ! @# V$ p* j2 B; |% ?. T7 g
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding; C* V" @- l" e) w
  1626. ;mbstring.internal_encoding =+ M) _/ s+ W& l" R, F

  1627. 3 S9 f9 ?; M' U* ~0 t
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.3 u$ V2 ?3 w% c* i
  1629. ; http input encoding./ y6 k" d. V8 ], |  }" M" {
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    + J" M& Y2 N- ^
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.) P  l$ V) ^* ^9 b
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
      y4 \* d: ^/ b; K7 p5 a$ r# W. F
  1633. ; http://php.net/mbstring.http-input- L9 Y* `& M3 O, E9 A3 p
  1634. ;mbstring.http_input =
    + u. ^6 ]6 z3 E0 N

  1635. 4 z0 f1 p  a4 V- P7 s3 k
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    5 ], B. n. L+ L' ]
  1637. ; http output encoding.
    * o% ?/ t. ~( Y/ t) ^; N( a
  1638. ; mb_output_handler must be registered as output buffer to function.
    % P' E) K" `; y1 W4 j  ^
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.7 ^7 k+ {7 }. G9 l) s: A) R' p
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output0 i* c1 q- N; a2 ?( z) {$ o
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    ! H, Y; Z/ Y# u
  1642. ; otherwise output encoding conversion cannot be performed.* V3 M2 @) d5 |% j: S: f! X
  1643. ; http://php.net/mbstring.http-output' X! o3 `- b6 r/ l: P
  1644. ;mbstring.http_output =
    / r$ Q# i+ z% S- ], P8 n
  1645. , J$ S  b& v- S, c3 t
  1646. ; enable automatic encoding translation according to
    3 n/ ?: P. l: H! V, U. G8 o4 E
  1647. ; mbstring.internal_encoding setting. Input chars are
      z. {' v& A) T' c$ E
  1648. ; converted to internal encoding by setting this to On.
    9 e, n( h, q6 W& w8 S0 {
  1649. ; Note: Do _not_ use automatic encoding translation for
    3 H! R; \) L) }& L4 H' Y
  1650. ;       portable libs/applications.
    / ?# B2 M) p% r1 M
  1651. ; http://php.net/mbstring.encoding-translation  C/ a0 a. l8 C2 l. S3 y, n/ l
  1652. ;mbstring.encoding_translation = Off
    5 W) ?& f* n- E
  1653. : u3 n: J3 N  N: w9 ]  m
  1654. ; automatic encoding detection order.
      {& d( C& `$ q7 C% i3 c$ Z
  1655. ; "auto" detect order is changed according to mbstring.language& p( t) W; y% _: p$ g! B* I  c+ D
  1656. ; http://php.net/mbstring.detect-order
    1 b8 A: c% k: [
  1657. ;mbstring.detect_order = auto
    6 Z" Q2 O$ x( n* T- w; w

  1658. 4 l: C; L% t* Z. o+ K3 v
  1659. ; substitute_character used when character cannot be converted  S( d7 G8 U1 E, t1 ]/ u, B3 Q
  1660. ; one from another
    ) o7 b; C" \. G8 `% E
  1661. ; http://php.net/mbstring.substitute-character
    . G& w8 Z/ N7 [7 V
  1662. ;mbstring.substitute_character = none! j$ D7 J7 g: v6 o

  1663. & I3 F! I$ q7 l7 h; a# f" X
  1664. ; overload(replace) single byte functions by mbstring functions.% c) o0 g! W0 b0 p% s
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    0 i; f& C- ^6 x. c& L7 Q  o% G. z
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    4 [  b# j0 f! b  Y# y
  1667. ; For example, 7 for overload everything.
    ( d- K$ l1 ^( p& O
  1668. ; 0: No overload$ r$ {5 V- C  v3 m5 @
  1669. ; 1: Overload mail() function
    % L* x# `$ {  e4 H" G
  1670. ; 2: Overload str*() functions3 ]; ^" e. q, w) h) V' {- p
  1671. ; 4: Overload ereg*() functions9 @% i# ?7 e  n0 i9 C* i
  1672. ; http://php.net/mbstring.func-overload$ O" O" ?9 L3 N! k' s" p
  1673. ;mbstring.func_overload = 0
    + t; f8 k' P* a7 b" [

  1674. ; [- O1 _6 }3 t
  1675. ; enable strict encoding detection.1 A9 v6 C& x6 `. B4 n& R' S
  1676. ; Default: Off
    7 }6 H' c7 `3 }. k/ B
  1677. ;mbstring.strict_detection = On6 F( t; @) u% N2 R' S" ~  i
  1678. # a: V# l2 [  O, |3 k( f" o
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    4 M; v" o" E/ [7 O, V* t, L
  1680. ; is activated.
    . Z- ]* {3 N3 q+ p& q
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)+ w' h5 p$ W% I" X! B* }/ S6 C
  1682. ;mbstring.http_output_conv_mimetype=- W  Y- e1 t5 r" ~& g( B9 o
  1683. 8 k) O& J# Y: Q! a  N5 F+ b! e# w
  1684. [gd]. Z. G1 r5 U; a- v2 ?, @' M$ N
  1685. ; Tell the jpeg decode to ignore warnings and try to create' w5 c4 [( B" r' b
  1686. ; a gd image. The warning will then be displayed as notices
    : O( K' K0 a7 P  w2 k5 @; t
  1687. ; disabled by default
    - Q4 E9 ]+ x" \' H6 ^3 H
  1688. ; http://php.net/gd.jpeg-ignore-warning
    . f) b0 @+ n" b; a
  1689. ;gd.jpeg_ignore_warning = 0% q1 @9 f; J$ ^) v. n

  1690. # B3 H* s  O7 M- |& ^+ u  p
  1691. [exif]1 J( A, z. P1 n4 d1 F- f
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.! }2 R, a' I; a5 T( c! G7 h
  1693. ; With mbstring support this will automatically be converted into the encoding
    9 N& H  A& M% Y1 u. k' O7 z
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    : s# O# O1 j* R2 n# {
  1695. ; is used. For the decode settings you can distinguish between motorola and- l, }: G2 l' ?" F3 N- f1 V
  1696. ; intel byte order. A decode setting cannot be empty.3 h/ B/ T! u5 k8 ~6 f* q4 S* J
  1697. ; http://php.net/exif.encode-unicode
      @( D: C! y# R: j0 J  Y
  1698. ;exif.encode_unicode = ISO-8859-15: |  R; M1 T8 J% V4 @1 i" q
  1699. 6 U' U' C* l3 P: x2 w
  1700. ; http://php.net/exif.decode-unicode-motorola
    . u& g$ K8 R& D- ]! o
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    0 Z- H3 t" R2 ~, v
  1702. : H; M9 S  T7 A: S' w8 ?1 F
  1703. ; http://php.net/exif.decode-unicode-intel- q9 j3 u% @9 P. A" I
  1704. ;exif.decode_unicode_intel    = UCS-2LE& [: ]- R7 I1 D
  1705. + P* p8 f% \) I0 Z
  1706. ; http://php.net/exif.encode-jis+ J" H; M9 q+ Y- A
  1707. ;exif.encode_jis =
    9 [% e6 k  O; r, _+ W/ c) I% o

  1708. ! i' q: R' J1 h2 F2 X' W5 }
  1709. ; http://php.net/exif.decode-jis-motorola
    6 a6 c) B  g) d
  1710. ;exif.decode_jis_motorola = JIS' y6 ?+ U8 G7 e1 g, e1 T
  1711. " e9 {( V6 O1 t+ C  b
  1712. ; http://php.net/exif.decode-jis-intel
    : M9 `. s& \! O6 ?9 M+ v
  1713. ;exif.decode_jis_intel    = JIS3 l, R% I2 i* L
  1714. ' Z% X, H# q# J3 a. c2 Y
  1715. [Tidy]
    # ]) X9 k8 r( F0 ^; c
  1716. ; The path to a default tidy configuration file to use when using tidy$ b# w7 T/ H  x; Y) P0 J7 ?
  1717. ; http://php.net/tidy.default-config
    . m% b2 ]( @- ^
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    / e, }9 @' e) }/ q2 q9 G, W
  1719. 0 Z8 G; Q! P& U. k; e( a$ h
  1720. ; Should tidy clean and repair output automatically?1 ~6 ]) Z* _4 i  Y; X  q
  1721. ; WARNING: Do not use this option if you are generating non-html content. a! k  u, R" ]' Z8 m) L
  1722. ; such as dynamic images
    ( d; p* b' ~4 _7 ~0 ~( j% i: j
  1723. ; http://php.net/tidy.clean-output
    4 X$ m5 W7 Z0 \4 F' y
  1724. tidy.clean_output = Off* o1 ^3 \  }( S: ~4 J
  1725. % n* w' a4 ]' i' L
  1726. [soap], e& W# _  r% W, G0 H3 a. L" F# W
  1727. ; Enables or disables WSDL caching feature.0 V! N# I7 |: E7 e0 [# S
  1728. ; http://php.net/soap.wsdl-cache-enabled
    9 O2 {4 A! A, |" V
  1729. soap.wsdl_cache_enabled=1  U6 X1 d+ |) I* a, w+ Q0 f
  1730. * v5 S* {) d9 J
  1731. ; Sets the directory name where SOAP extension will put cache files.
    5 s" C# [# e% i  T3 f* u% P
  1732. ; http://php.net/soap.wsdl-cache-dir
    8 O7 T7 a6 D$ s7 `6 W# n: z0 r1 a
  1733. soap.wsdl_cache_dir="/tmp"# o  |2 t6 _- E
  1734. & q" j( b  f+ U3 G
  1735. ; (time to live) Sets the number of second while cached file will be used+ k+ A* @2 f: {4 U, ]
  1736. ; instead of original one.* o8 o# A: D6 b
  1737. ; http://php.net/soap.wsdl-cache-ttl6 ^" z9 N& O5 e& w, H0 B
  1738. soap.wsdl_cache_ttl=86400# U( z1 y. ~3 [' ^1 k

  1739. % E5 S0 T2 n8 L' D- |; F
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)3 T6 i" `% A: D0 `" @  m* F# M$ c
  1741. soap.wsdl_cache_limit = 5
    ) p. Z( f" o' D1 ^
  1742. 9 k2 s( c( J" o' t1 l
  1743. [sysvshm]
    / E" \, }$ T; u+ k
  1744. ; A default size of the shared memory segment6 J  p# Z7 [% k+ e5 P, q8 X
  1745. ;sysvshm.init_mem = 10000
    3 G, v; m+ g4 c  Q' I/ ]0 X" w

  1746. ( E: F! |0 ^) c) A5 O, F( o
  1747. [ldap]
    , |4 }6 j7 Y, J1 P8 C
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    - b6 S+ ^6 m0 \4 [/ T
  1749. ldap.max_links = -1. l% w3 q( y$ p) x7 u; o- m

  1750. 7 \% W$ D. J$ J& I6 g, @2 r
  1751. [mcrypt]
    - ~, p! d# u+ ?# x
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open( Z( C( m; Z, z+ x

  1753. 2 L3 o3 `2 ^" l, n$ d
  1754. ; Directory where to load mcrypt algorithms
    : Y4 \* [. R+ i* H  E: g
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    0 F7 [! M2 M! N3 W
  1756. ;mcrypt.algorithms_dir=+ t- E6 z7 z) z1 l

  1757. 8 G+ I* {' w+ b* a# ^
  1758. ; Directory where to load mcrypt modes
    : _5 d$ p  M# g: X0 A
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    5 ^) R$ Y. c5 M) Q3 B; p
  1760. ;mcrypt.modes_dir=* B8 s2 b3 H4 ]0 t- |+ g. \
  1761. & S/ W9 l$ o" h! g) d, i0 G( ]
  1762. [dba]
    9 j" n' P& e/ ^; i6 O3 m$ |
  1763. ;dba.default_handler=
    * }" @: n7 f  [1 B7 t' M2 q

  1764.   I  {2 }- L1 g' p' t" V; v
  1765. [opcache]
    $ X( U% S  V4 q
  1766. ; Determines if Zend OPCache is enabled
    ) U: h" [. f( ^  U3 P8 R
  1767. ;opcache.enable=0
    6 R# h' m, J# X1 |  |5 O0 T
  1768. # g. l9 S) P9 Z9 i+ @7 P; L
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    . O- H2 ~; Q1 {0 h
  1770. ;opcache.enable_cli=0) |3 z8 `5 d7 y% i! W2 a. B

  1771. + [5 O! X- Y% U, Q0 S( S
  1772. ; The OPcache shared memory storage size./ g4 ?* `' N' ~# p- K
  1773. ;opcache.memory_consumption=64# f0 O8 `4 a1 G, C+ M3 d
  1774. 2 v5 Z4 z% |% q6 Y! C
  1775. ; The amount of memory for interned strings in Mbytes.7 N7 s: z3 P; k  K* F( b/ W( l" s
  1776. ;opcache.interned_strings_buffer=40 [( {) s1 `; o) g: r- e9 X4 Y+ I: r
  1777. " k: C0 P# Q" @0 ^$ [( Q9 k" \" p
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.1 K* ^1 z2 k& n. _3 Y+ A% R
  1779. ; Only numbers between 200 and 1000000 are allowed.
    $ O4 f. m; B8 m$ C2 d
  1780. ;opcache.max_accelerated_files=2000
    . ]' w, t5 P8 o# w2 l. M
  1781.   ^9 d5 a! O6 F
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    , h4 M- F; e% ]: N- k& X& y
  1783. ;opcache.max_wasted_percentage=5
    5 G  R7 v6 q3 p3 R
  1784. 8 z- m$ I4 V" B# Y7 i
  1785. ; When this directive is enabled, the OPcache appends the current working& u9 p/ J3 A. r
  1786. ; directory to the script key, thus eliminating possible collisions between
    2 K7 }0 m2 `8 C6 e" Y
  1787. ; files with the same name (basename). Disabling the directive improves
    & p. K% c5 ]2 c( F) c
  1788. ; performance, but may break existing applications.
    7 Q" r! C  j# ]8 X
  1789. ;opcache.use_cwd=16 o4 ^+ }  U- y
  1790. ) B1 K7 v/ W' i, g3 J! W5 \
  1791. ; When disabled, you must reset the OPcache manually or restart the5 h: B3 D( x" A, o1 p
  1792. ; webserver for changes to the filesystem to take effect.: L) X# L0 |+ T9 N$ T7 E/ j  \
  1793. ;opcache.validate_timestamps=11 T; w1 n1 i8 @, T6 W4 X, i9 L$ Y

  1794. 1 X+ }' V+ c# t, l
  1795. ; How often (in seconds) to check file timestamps for changes to the shared  ?! J8 ^5 F4 _8 W
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    2 n' z# c$ D. }7 w! I# ?
  1797. ; once per request. "0" means always validate)
    0 l! P0 f; C; K" U
  1798. ;opcache.revalidate_freq=2. D* K6 a: u% O3 R# X( R! Y5 _
  1799. + y, ~7 y$ A$ J
  1800. ; Enables or disables file search in include_path optimization- H3 w* t7 k4 K: u9 L1 j# z
  1801. ;opcache.revalidate_path=0
    ) d* J3 U  ~0 k7 I, N  f; x% H) R
  1802. . I- o8 c7 J! F+ g
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the" Z! I/ T% Q! p8 F9 o3 U' j
  1804. ; size of the optimized code.. j) m0 n* X7 D- F3 v8 ~
  1805. ;opcache.save_comments=1: n  X+ a- i2 M, g" a& X

  1806. ) }$ C" u* A- E+ m4 Y; Q4 s$ o
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    " w7 [- Q) k! V# B- `# T
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.9 |% y4 U4 h% k$ c
  1809. ;opcache.fast_shutdown=0" a; Q* l2 C* v% o1 L
  1810. 0 R4 ]" ?% z7 d# ?3 W" K1 W9 K! o
  1811. ; Allow file existence override (file_exists, etc.) performance feature.0 d- h1 S8 i* q" w! ?" a2 I
  1812. ;opcache.enable_file_override=0
    8 k3 y+ ?% T  k* f

  1813. 2 e+ h7 S2 N& R2 Z/ t
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache$ A1 e8 h' v* P! w  ?# u) }+ y
  1815. ; passes+ Y- A' j# u: v9 v7 P
  1816. ;opcache.optimization_level=0xffffffff: `( X, P( ?9 m5 M, {
  1817.   Z9 y0 R$ f- l; O/ v4 E
  1818. ;opcache.inherited_hack=11 n% \; X( x  b; ]5 X5 f+ i
  1819. ;opcache.dups_fix=0
    : N9 \9 U  x; r3 j& N

  1820. ! s1 w3 h# S' Y' A$ n
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    ' T! W. z2 g: R% W! ]. z
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    + W$ V' Q5 W* P5 W7 n, T$ w" j2 B
  1823. ; that should not be accelerated. The file format is to add each filename' L- R1 Y8 }7 ~5 C8 F4 A
  1824. ; to a new line. The filename may be a full path or just a file prefix$ ~6 k) _! `& `0 l( A
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    3 G5 S; ~  _0 G
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    # ^3 A2 H* a9 ~. o
  1827. ;opcache.blacklist_filename=
    1 O( {- r+ P* \+ U6 h
  1828. : w! g" x* H- }6 V  E" k, [9 h0 P
  1829. ; Allows exclusion of large files from being cached. By default all files. e3 ~2 T3 O; n  J0 r& O9 n2 p
  1830. ; are cached.
    4 Y8 E$ Z" z* b" M' b, F0 g
  1831. ;opcache.max_file_size=02 T0 P3 A; m/ m9 h- G

  1832. ; R1 ]; g0 z2 U# ]% s- a4 p
  1833. ; Check the cache checksum each N requests.9 [+ N3 [2 U. @2 k4 `* z
  1834. ; The default value of "0" means that the checks are disabled.% x: |$ p3 S% `
  1835. ;opcache.consistency_checks=0: m9 b# j) s. F

  1836. ; f( h* D$ Y1 w/ O6 \/ C
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache3 [$ L8 `3 z: L3 }* _- b
  1838. ; is not being accessed.' i& E: s2 m$ r
  1839. ;opcache.force_restart_timeout=180, `+ Z. b6 d4 {3 g# o; N0 C3 R
  1840. ) |( n7 ~$ t; c& [
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    , e, q1 x) d8 e- q2 H9 p$ f; _
  1842. ;opcache.error_log=
    5 }4 p1 m# b* E/ G! U! o1 V

  1843. 6 Q, G( Y# R  e9 x
  1844. ; All OPcache errors go to the Web server log.
    7 r+ A1 d, \; r3 e2 R; _' t
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    0 d" f# ~8 \5 z( _
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    7 g3 O6 [0 g( a
  1847. ; debug messages (level 4).
    ' @1 Q& m1 m* s2 |8 {3 E, }
  1848. ;opcache.log_verbosity_level=1# C4 U- @2 y& J7 ^7 t" U

  1849. * L' s" @$ v' R5 b
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    - u- b, m; L+ B: p# I
  1851. ;opcache.preferred_memory_model=
    / w  ?3 g/ j3 P
  1852. * q! Y. d$ y( W9 O+ \
  1853. ; Protect the shared memory from unexpected writing during script execution.4 _* @' N+ @3 u; G& E' m
  1854. ; Useful for internal debugging only.& X1 M* P3 c: P* e/ Z
  1855. ;opcache.protect_memory=0/ @; \2 F6 P2 {* [

  1856. ( Q, E$ U$ n0 r! l. s! _2 U( |
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    ; j3 r2 h5 e! H5 _, w
  1858. ; started from specified string. The default "" means no restriction  A+ n& J1 Q% D5 U- f
  1859. ;opcache.restrict_api=: @9 C) d- I* [6 f. k2 u
  1860. 0 P6 `* S' {  \, [" @* V
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP8 l, P4 c3 r9 ]& c
  1862. ; processes have to map shared memory into the same address space. This3 K  s8 S, ^! p4 g5 A
  1863. ; directive allows to manually fix the "Unable to reattach to base address"* [' h" u* Z2 o* p; w/ d
  1864. ; errors." {* f$ X; B4 k* n- J
  1865. ;opcache.mmap_base=; a* D4 w# @! c) K% k- i% R
  1866. 9 ?8 \6 U8 D- k+ A7 X
  1867. ; Enables and sets the second level cache directory.
    4 ^. q: |& a2 s$ s2 O
  1868. ; It should improve performance when SHM memory is full, at server restart or6 v1 u- Y8 {6 K- H: n1 R+ q$ X8 f
  1869. ; SHM reset. The default "" disables file based caching.2 Z: p8 ^  C  o' l
  1870. ;opcache.file_cache=, D8 b! @, I6 h/ H/ R

  1871.   ?1 E  x5 H  s* D8 s( i' G
  1872. ; Enables or disables opcode caching in shared memory.
    / k, M1 f* R* ]: m0 Q6 y4 e
  1873. ;opcache.file_cache_only=0
    ' ~# q; b2 d# e& o6 _
  1874. 6 V& Z1 m5 a3 w! I# O3 W& v
  1875. ; Enables or disables checksum validation when script loaded from file cache.
      b% n- D' z3 q
  1876. ;opcache.file_cache_consistency_checks=1, S# m9 D" M+ o% u6 J% i

  1877. 3 Q; A2 P4 Z& k& E
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    - q, M* n5 ~, h* E
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    / C- `* B9 \: R8 V- K
  1880. ; cache is required.! C4 x, x: W* d1 w# K* F
  1881. ;opcache.file_cache_fallback=1  s5 x/ y% j8 x1 T* ^

  1882. # g/ F' t+ C2 b! e
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    + B0 u: k, A  x! r
  1884. ; This should improve performance, but requires appropriate OS configuration./ N9 S2 |/ [' ^( T. \9 @% z
  1885. ;opcache.huge_code_pages=1
    $ l4 w4 s3 b$ ]" G2 f9 E
  1886. & L& G' X& t: e
  1887. ; Validate cached file permissions.
    * P" G/ J- J$ ~& |6 r& t
  1888. ; opcache.validate_permission=0+ l& }# h! j- Q( A6 x

  1889. 4 F8 u8 p2 j& H% d& p1 Y# r
  1890. ; Prevent name collisions in chroot'ed environment.
    & o' E9 B5 {* ~" `/ D- P/ w
  1891. ; opcache.validate_root=02 d! N9 X4 W6 d" f9 o
  1892. & o7 n) u# ?. Q) [
  1893. [curl]
    4 x  \& }: s! ]: a( J( e
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an, h/ X& G+ B6 Q% D- F' y
  1895. ; absolute path.
    2 l  I2 z* U2 \) H( h* a
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    6 F8 ?( L) H2 a, l' M  b

  1897. & I2 U- q' u+ r0 o+ u, v5 ?
  1898. [openssl]
    " d/ T  q& A' R8 x
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    . W: m0 Q6 c0 e% L: U) m' [
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    + ^# u: b; A  `7 J
  1901. ; not specify a value for this directive as PHP will attempt to use the
    / Y. x6 m3 b6 S: D* H2 j% ]7 u
  1902. ; OS-managed cert stores in its absence. If specified, this value may still* u; I2 S: @9 s: `6 z/ s
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    9 Z, p. q' P8 l4 `7 b, o2 S
  1904. ; option.( Q2 E& x- `4 F5 [+ x+ J# r
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt6 z4 h' K% ]# Z

  1906. / Q* O; `, b$ \+ o4 k2 z8 C
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the, P' m9 J9 R" R) V! c. f2 q
  1908. ; directory pointed to by openssl.capath is searched for a suitable% ]5 O- r% [" e+ _
  1909. ; certificate. This value must be a correctly hashed certificate directory.% D7 P6 J, V* n8 d, i9 L
  1910. ; Most users should not specify a value for this directive as PHP will
    ) |' ~5 o+ D3 D2 L: k
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,- D! [5 Y/ }, J- ~: g
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    & u! P9 h* W( }5 ~
  1913. ; SSL stream context option.
    1 h) H) B+ M/ i! W& l$ f
  1914. ;openssl.capath=
    # S4 ^) k2 x3 K, R

  1915. & a1 A. x: o* {
  1916. ; Local Variables:" G, }; f7 w+ O! y9 d' f
  1917. ; tab-width: 4
    : a8 X3 s7 ?9 m5 h4 y
  1918. ; End:
    5 y, y. u- M7 x7 D7 ~0 X, @

  1919. & b0 |* \* Q5 Y
  1920. ;eaccelerator
    . S' {2 ]2 B: r( c& N9 a

  1921. 7 B1 N9 M1 s" D% i
  1922. ;ionCube
    # }' c% ~/ }, ]5 B) v7 E1 u
  1923. ) d3 ]( \: _% N. t, n  Z$ _7 Q( F
  1924. ;opcache& P7 _  B: e) o

  1925. - e, i7 Z% r, \* E1 O
  1926. [Zend ZendGuard Loader]; ^0 |) T5 q, e' T& w7 q% R" t
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.2 _9 [* ]/ Q$ Z! W' J
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so7 R9 O7 T( s4 K. A7 d8 \
  1929. ;zend_loader.enable=1# T6 K5 X& E& R0 l3 e& g, H5 `
  1930. ;zend_loader.disable_licensing=0* G4 `! P0 Z8 J' q" H. u6 \
  1931. ;zend_loader.obfuscation_level_support=3$ U  y6 M* A# |% O  }. v+ @
  1932. ;zend_loader.license_path=
    8 h8 {& t7 \! }8 e% ~9 Y

  1933. + }2 n$ m, \7 g0 u0 b: p% ]2 ?
  1934. ;xcache* K1 S9 f9 t, C2 k
  1935. 3 q$ J- C4 i' _: d
复制代码
$ F' h* ~, z4 `+ \, U( f) K: o

- h3 z4 a4 n8 |+ H( R- a: G6 U- t3 r- v6 t: s
; g* E8 t0 D5 }/ s5 Y1 V

4 f6 v' t& L. o( D' |- b$ b# h
8 h' p& a" E6 p& l: L6 g2 \2 d9 I1 Z8 O1 n
PHP5.6版本原始设置
$ q3 D2 l! e% r7 ~3 ^' I+ @. ~" H* c8 g6 T6 `* V! [  o
  1. [PHP]
    + {2 e6 ^( p: l6 c

  2. ' a; V! i* {' D  h, O
  3. ;;;;;;;;;;;;;;;;;;;
    ' d2 }6 F' w- R, W: s
  4. ; About php.ini   ;% x: P2 N& n4 [" R, J
  5. ;;;;;;;;;;;;;;;;;;;. K" [1 r0 s! ?4 K: a' Z' S2 M# E8 g
  6. ; PHP's initialization file, generally called php.ini, is responsible for1 R) A; T) }. i! p* X* r
  7. ; configuring many of the aspects of PHP's behavior.) w' l( H  \1 x# m0 X
  8. / H) m+ G( m7 k. x  i  C9 Q
  9. ; PHP attempts to find and load this configuration from a number of locations.
    0 h. N; J6 H$ x$ G8 }: K
  10. ; The following is a summary of its search order:
    ; \3 {" r$ N; F* i& F/ x
  11. ; 1. SAPI module specific location.  n% s4 [" [: R3 E
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0): Z; b* S# l# o% D, V
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)- B& b, m8 v2 i8 r* Q! H( {
  14. ; 4. Current working directory (except CLI)9 u. e; [6 W9 S2 |* o% H, ]
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    8 Y) t3 T7 p' y1 n2 i/ W
  16. ; (otherwise in Windows)8 a* g# `- u5 s4 j' m2 T
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    9 c. S; e! r% J
  18. ; Windows directory (C:\windows or C:\winnt)  \. B( ], @9 E9 J1 `# q
  19. ; See the PHP docs for more specific information.  _, r& Q2 q( E5 h- L
  20. ; http://php.net/configuration.file
    - K8 r6 b& p0 ~3 m' p# u" s# Y

  21.   c" L' r6 _  `6 e" E6 M7 N
  22. ; The syntax of the file is extremely simple.  Whitespace and lines( a6 j5 a5 ^& \9 U& V2 m* n
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).4 P; E% [7 u  i% G
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though$ C- [) N. z% ~% ?
  25. ; they might mean something in the future.
    ; C" l8 H  W' d9 B- \$ v6 D
  26. ; {1 Y  Q* I- a+ w
  27. ; Directives following the section heading [PATH=/www/mysite] only/ T3 K. H3 t0 W2 I4 O+ E
  28. ; apply to PHP files in the /www/mysite directory.  Directives7 e4 w9 J7 U/ E; a
  29. ; following the section heading [HOST=www.example.com] only apply to* c5 `: y+ O7 E# C
  30. ; PHP files served from www.example.com.  Directives set in these
    1 d2 H3 ?5 H% [' F
  31. ; special sections cannot be overridden by user-defined INI files or  V/ s% q( {. O7 p; K: Y
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    : d0 `. m! E, g
  33. ; CGI/FastCGI.
      R' w3 u7 \6 J: n
  34. ; http://php.net/ini.sections% B( I6 i4 x) l1 ?! X* V

  35. " }! v7 [, b+ r  D
  36. ; Directives are specified using the following syntax:
    ' E) F, ^* X: }0 F# T, n
  37. ; directive = value$ S1 c, z6 N+ Q# R5 Y
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar., W6 ]+ \: H9 I( b+ ^# A; L" X3 l
  39. ; Directives are variables used to configure PHP or PHP extensions.: X8 S4 c' M- K$ \8 k  s- U( n
  40. ; There is no name validation.  If PHP can't find an expected
    5 R7 G- k% F* J  r
  41. ; directive because it is not set or is mistyped, a default value will be used.  j( V2 Q; I$ [# [! ~
  42. ' m+ z/ H4 Y2 h" v9 F2 P8 M
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    / |) ~0 l/ @2 z  w* x7 k: @" W: C7 y8 S
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    2 L9 z' s% G) q9 c3 q0 H
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    ; X4 I7 p4 P# T% O
  46. ; previously set variable or directive (e.g. ${foo})
    * A; E$ `, Y* e1 ]
  47. & J3 O: i$ v. W6 c* \* ]% K! J# p
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    9 X: W3 p& V- F$ o3 O6 ?
  49. ; |  bitwise OR
    1 T$ e- s4 g1 ^3 c% `% _8 l
  50. ; ^  bitwise XOR" i7 Q; c! g) Z5 |
  51. ; &  bitwise AND* y" n2 I" F0 y
  52. ; ~  bitwise NOT& K9 |7 C# q6 k! z8 ]
  53. ; !  boolean NOT( s* `/ a5 c/ B* j

  54. 2 n1 m! J2 ^! V# z
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.+ D3 V  R2 p% q$ j# x3 P
  56. ; They can be turned off using the values 0, Off, False or No.
    4 D+ I1 X3 J% Y% |1 A0 C

  57. / y. v6 z- R( Z' v- p0 D
  58. ; An empty string can be denoted by simply not writing anything after the equal7 P& X- ~3 u9 \( k, ^7 O5 r$ |
  59. ; sign, or by using the None keyword:; d9 `" v. @, N3 b, W
  60. 7 H, G# {" G$ V/ w) Z; [: w
  61. ;  foo =         ; sets foo to an empty string
    8 |' Z5 y; P0 `+ O1 F  r( j
  62. ;  foo = None    ; sets foo to an empty string# V& _8 A6 L; d) ~3 s
  63. ;  foo = "None"  ; sets foo to the string 'None'
    2 R% X  J8 X1 }* c

  64. 7 V. X! f6 v) D
  65. ; If you use constants in your value, and these constants belong to a. m. [, G8 _, V. c' _# P
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),1 b1 ]* C+ O; b
  67. ; you may only use these constants *after* the line that loads the extension.! U' Y8 p' a4 [3 q

  68. 1 Y3 u5 O# ~! u- ^
  69. ;;;;;;;;;;;;;;;;;;;. Y  z. \( _4 i. o( {
  70. ; About this file ;' B$ r5 q% V( m( I# o
  71. ;;;;;;;;;;;;;;;;;;;
    6 ~3 b, }' z2 D, {% j3 t+ \
  72. ; PHP comes packaged with two INI files. One that is recommended to be used$ }' Y4 S; z, i
  73. ; in production environments and one that is recommended to be used in% C6 ]( ]( B5 i. O6 k( W
  74. ; development environments.+ }. _+ d! H$ |3 _) s

  75. 2 Z# B& R0 g+ u2 O, K
  76. ; php.ini-production contains settings which hold security, performance and
    : m; e+ F4 ~3 A, d
  77. ; best practices at its core. But please be aware, these settings may break8 T6 C: L* Z# K' j9 M3 e. N
  78. ; compatibility with older or less security conscience applications. We) f) S: ]: A- I+ ^8 }2 W" h
  79. ; recommending using the production ini in production and testing environments.0 Q: X9 M3 G% a, d6 Z% \& l$ e% d

  80. - ?5 G& n7 B# b% Y2 t: L0 g( O
  81. ; php.ini-development is very similar to its production variant, except it is
    8 O2 L% q3 L7 p0 u; a
  82. ; much more verbose when it comes to errors. We recommend using the- H) b: A$ x: D( F9 ^5 t
  83. ; development version only in development environments, as errors shown to7 x% s/ [0 K4 K
  84. ; application users can inadvertently leak otherwise secure information.
    3 D0 w! R- T% |1 ^& l) h/ O
  85. 6 d6 J# o- ^6 Y6 r
  86. ; This is php.ini-production INI file.  Z2 e8 J, o; j' u# m$ [
  87. ; n( h: [/ x& u* J8 ~8 |
  88. ;;;;;;;;;;;;;;;;;;;
    0 g7 {! c$ V1 Z/ Q' n& Y
  89. ; Quick Reference ;- y6 ]# c5 E8 @" F" l. w0 l* d, L
  90. ;;;;;;;;;;;;;;;;;;;
    6 F# m7 c* b" Y3 @- o
  91. ; The following are all the settings which are different in either the production7 q# T4 A6 V. g& X! F, Y
  92. ; or development versions of the INIs with respect to PHP's default behavior.9 x$ ?) |. H+ u) Y; {: E
  93. ; Please see the actual settings later in the document for more details as to why$ D( m& C2 a% O3 Y% Y
  94. ; we recommend these changes in PHP's behavior.
    % {+ p, N7 k2 T" j5 ]2 z! q
  95. * V' o3 d6 z* j2 p
  96. ; display_errors/ `+ }5 {( k) R9 x3 A
  97. ;   Default Value: On% R6 I- U" q: t! v' |
  98. ;   Development Value: On
    * D2 ?7 [! F) b
  99. ;   Production Value: Off( L. d  J0 p; N
  100. 4 C; D1 T! p6 L( b
  101. ; display_startup_errors( D* w% N) |! d- D7 f
  102. ;   Default Value: Off' l- J+ z" u$ T6 a# }' t; F6 Q
  103. ;   Development Value: On
    - e( K- U2 M7 p" S
  104. ;   Production Value: Off% _! n7 ?$ g$ z9 U0 ~" {! G) C

  105. 9 B2 C9 z: D3 W% b9 }8 R% l+ c0 D
  106. ; error_reporting) M" H0 N; ?2 }7 v
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED4 a/ n, u  d$ W& V2 {
  108. ;   Development Value: E_ALL
    / s9 a0 Q" K5 s5 D2 d7 U& e
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT# f2 p8 Z2 B  P) k2 n* v7 w0 @, a

  110.   t/ E( V8 W! A' R+ m
  111. ; html_errors
    # w! `% e+ c# |! z3 b, b5 v; v
  112. ;   Default Value: On4 U9 c$ z* h% X8 x& v  d
  113. ;   Development Value: On! M9 d0 E8 l. j% O1 _
  114. ;   Production value: On5 C. A9 ]- {1 u4 h. K, ]1 `  C
  115. ! O0 |9 a, F, [4 p. M2 v
  116. ; log_errors
    + @  W( V' b* ^# [7 \
  117. ;   Default Value: Off
    4 \$ e6 k3 f1 G' N/ e/ Z; d1 N
  118. ;   Development Value: On
    3 B5 l- ?$ @7 Z( D
  119. ;   Production Value: On( Y7 i- ?5 ]. J' w% E% v. g" c8 D
  120. , y* k# b% l" {0 N
  121. ; max_input_time1 i5 ?* O3 F" f
  122. ;   Default Value: -1 (Unlimited)
    " x2 G3 f' b7 c
  123. ;   Development Value: 60 (60 seconds); O, ]# o4 F. m# ^( V( h
  124. ;   Production Value: 60 (60 seconds)
    & Z# t. ?$ c' R+ i/ `( W
  125. ' M( v1 N7 _- Z, o4 |
  126. ; output_buffering( _* y  l" z9 \% t. ~
  127. ;   Default Value: Off
    / u. S& z' `7 `) ]+ F
  128. ;   Development Value: 4096
    % F3 R; g) Z0 ~: y5 r2 p. x
  129. ;   Production Value: 4096; [- K% K# W, B* A% H
  130. , [5 W8 Z5 D9 W( ?/ u$ W
  131. ; register_argc_argv
    ( g- k. F1 s. N& X
  132. ;   Default Value: On
    - V% }% d% m$ Y+ V+ c. a$ }
  133. ;   Development Value: Off( F( e8 g! s2 f  j) Q
  134. ;   Production Value: Off* z3 u# \! i# g1 G4 N# b3 m* J

  135. : a1 s+ W. @) ]* j
  136. ; request_order
    * }) h0 F) a, f
  137. ;   Default Value: None
    8 L) P/ k0 z! j1 |) l0 w* x/ m
  138. ;   Development Value: "GP"
    " B% i3 q; s* G) [- Q7 Z
  139. ;   Production Value: "GP"% ~3 l, u" S4 J% u- `$ {/ ]
  140. 5 r6 y! J5 b5 H4 a
  141. ; session.gc_divisor
    ' o& y9 c$ ~) C0 x' v
  142. ;   Default Value: 100
    6 Z% _: Z, v1 u- y/ U
  143. ;   Development Value: 1000! x1 n1 f3 b: p9 ]
  144. ;   Production Value: 1000
    & M- i' O3 P( _) g

  145. & p7 T" P6 ?' I/ x+ s7 J# z
  146. ; session.hash_bits_per_character
    : v' _0 {3 x; g* ]: X/ Z" E2 @
  147. ;   Default Value: 4
    ( j0 \: J0 |& o7 o" y7 v
  148. ;   Development Value: 5
    : r& \  r# Y$ I0 h
  149. ;   Production Value: 5( J: r' ]) J. t: N' Q; q
  150. - \7 T- x1 O. @' V0 d0 h
  151. ; short_open_tag: {+ e9 S4 e9 }
  152. ;   Default Value: On: w9 m7 A* J1 ]% _" a5 U- J* G$ r
  153. ;   Development Value: Off9 e% N) H/ u7 H2 q6 o! g# O) D' U
  154. ;   Production Value: Off3 k6 o% j3 I% E6 d9 E5 g7 K

  155. 4 z7 Z% {+ _- \7 N2 o; K
  156. ; track_errors3 ~. l* z  A4 m
  157. ;   Default Value: Off8 E) M: v- b" ]; p$ u+ s# W+ V
  158. ;   Development Value: On( ~7 R* }4 U, }7 ]; v
  159. ;   Production Value: Off
    % q1 T' x  H; I# T
  160. - J' t, J7 J! v1 Q
  161. ; url_rewriter.tags
    ! [8 a$ S1 R) m3 `9 ^4 ~" C0 n
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    / R5 T3 G7 a+ [# I" X
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    * H3 Q. }3 w0 [4 i' Q' e
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    8 }% f  ~) O; l" ^7 }  ?

  165. 8 j$ V3 _2 M; ^: M* s6 `& Z- b" D
  166. ; variables_order
    6 ~. x0 e8 G) P* T8 S9 k" L
  167. ;   Default Value: "EGPCS"+ L3 Z0 h- j0 g" t& [4 O2 b- d
  168. ;   Development Value: "GPCS"1 ?+ V5 S+ h& @- Y- ?
  169. ;   Production Value: "GPCS"( F! L1 v+ ?1 l8 Y/ Y+ g) ~: V
  170. 5 p; }7 W" [$ R6 }
  171. ;;;;;;;;;;;;;;;;;;;;
    / W3 B9 }4 q7 Y( g$ x0 W$ O1 T% c4 Y
  172. ; php.ini Options  ;
    7 g3 o/ Q0 p5 u! t% X
  173. ;;;;;;;;;;;;;;;;;;;;$ c& G6 q) L5 }( J* x
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"! ]9 U3 O& `# @7 ^/ J
  175. ;user_ini.filename = ".user.ini"
    2 s  w; a+ w5 M
  176. . X3 O  K; G2 E0 S  U5 S8 L
  177. ; To disable this feature set this option to empty value$ H9 f5 x! h* w  L9 M0 r! b
  178. ;user_ini.filename =5 ]% T3 i/ M5 Z0 T
  179.   ]( z# S7 {8 O, G0 ^& Y9 c
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)! k: A1 H8 l0 M2 z8 b" L% K" H
  181. ;user_ini.cache_ttl = 300/ l: Y* p' W3 q) [, W. Z
  182. / S; [- \# j& c( w
  183. ;;;;;;;;;;;;;;;;;;;;6 x5 k' A- [  \& m
  184. ; Language Options ;
    4 h3 V# R' i7 C
  185. ;;;;;;;;;;;;;;;;;;;;
    , \: Y! J% x! {1 Y% K! k

  186. / X8 U# u, b" c$ o" t
  187. ; Enable the PHP scripting language engine under Apache.5 l/ K3 }$ O5 R6 Q' c. S
  188. ; http://php.net/engine
    / x3 e0 V7 T  y* d' t) {5 S* ~
  189. engine = On5 v! i3 Z( G$ R' T

  190. + o& J/ b' }4 h# f+ Y8 k* O
  191. ; This directive determines whether or not PHP will recognize code between7 }6 R# h4 }$ w3 O+ t! V
  192. ; <? and ?> tags as PHP source which should be processed as such. It is5 y3 v' h# k0 n; l
  193. ; generally recommended that <?php and ?> should be used and that this feature8 G0 _- E+ C9 Z
  194. ; should be disabled, as enabling it may result in issues when generating XML( T( B, r8 t! U
  195. ; documents, however this remains supported for backward compatibility reasons.
    / ]$ o- F: i. d" E5 |5 A# T
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    - q* F& c9 n$ l0 A8 t- ~: f  Q
  197. ; used regardless of this directive., D  U. _  j6 k5 q" `% e# b, w
  198. ; Default Value: On5 }$ T3 x' R& ~9 p8 E
  199. ; Development Value: Off
    5 I  {9 r7 |1 T. ~9 |6 t
  200. ; Production Value: Off
    5 v9 j2 O- J0 }. e1 |
  201. ; http://php.net/short-open-tag+ _. g. T3 d) C+ [! r5 c
  202. short_open_tag = On
    * Q$ u* g* F( |; R$ B

  203. 9 c; }+ ~) B" p# d9 U8 G: f
  204. ; Allow ASP-style <% %> tags.
    4 C# S! {$ d0 P. ?3 e8 |( d
  205. ; http://php.net/asp-tags
    # z7 x2 O3 W( M& q# `3 S
  206. asp_tags = Off  W4 b% _7 M1 B& v. Q6 }0 w
  207. 1 g) R0 w, R# g' Q
  208. ; The number of significant digits displayed in floating point numbers.
    7 x. y; e+ \  k: _4 f
  209. ; http://php.net/precision
    * L6 Y  B8 A% H1 b) G8 R! C
  210. precision = 140 q$ V4 }' _5 Q) B! R8 _8 p

  211. + U# a& {- Q; g* g. g# u8 l' w
  212. ; Output buffering is a mechanism for controlling how much output data( @7 M  f6 k4 [
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    ' L  v/ \1 N* x7 j& i! M5 A
  214. ; data to the client. If your application's output exceeds this setting, PHP6 m: V+ c6 d5 A. W" I4 B
  215. ; will send that data in chunks of roughly the size you specify.1 p1 F. [: Y, P( o7 q
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    7 u$ M  j  h; K0 N+ q
  217. ; interesting side-effects depending on your application and web server.
    : {1 Z: {, {; `% z; b( p* I
  218. ; You may be able to send headers and cookies after you've already sent output
    ) w# ?8 h! I3 i3 r! N  T
  219. ; through print or echo. You also may see performance benefits if your server is
    * x# c5 [7 k4 T- v/ w' F
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    3 m8 P1 H$ a9 P( B
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    / V: x* j7 a2 R& E  q  W; b
  222. ; reasons.
    2 t- S% o6 O! E/ ?! g9 a+ q0 Q/ ~0 p
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    8 h" J0 ~9 [# {$ w' N% d
  224. ;   functions.5 O5 E0 s7 P: C, d; S2 T
  225. ; Possible Values:% y2 D! o5 w$ e7 h& \+ z1 ?! o0 f5 T
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    . t* O: H" q$ N4 l2 i0 M
  227. ;   Off = Disabled& K' `' a# ^. ^! A
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.% N# l; b: C4 H' ]& x
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    9 J  U) T: ~/ M
  230. ; Default Value: Off
    8 g9 I+ [7 a, h+ p; h) e" D
  231. ; Development Value: 4096
    / ?- W/ G3 Z7 P" ]4 ^9 J
  232. ; Production Value: 4096
    1 X* K% A8 i5 G' r. }% L
  233. ; http://php.net/output-buffering0 I% r- y0 E1 G( |% e! E) `
  234. output_buffering = 40969 u! I% R3 L" Z7 w% p. ]( O
  235. . K! G- u1 |: f7 u  B: i+ e
  236. ; You can redirect all of the output of your scripts to a function.  For+ Y; w% ^7 D- R3 N1 r" ]: `
  237. ; example, if you set output_handler to "mb_output_handler", character( G' h0 e, w- i9 V0 o. U
  238. ; encoding will be transparently converted to the specified encoding.& ^6 t1 F; `  ?  ~
  239. ; Setting any output handler automatically turns on output buffering.
    . B* u0 n  ?8 o) d4 M
  240. ; Note: People who wrote portable scripts should not depend on this ini
    , x  D. s0 i! n
  241. ;   directive. Instead, explicitly set the output handler using ob_start().* {1 v) `: y: E5 _5 x) R
  242. ;   Using this ini directive may cause problems unless you know what script
    ! X' S. s) y8 U* o- V* i9 o: y
  243. ;   is doing.
    * |0 N! P  X: ~1 z; U
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    ; Z5 Z. M% x% s. j
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    4 O9 g8 t2 m$ |3 t1 |3 i
  246. ; Note: output_handler must be empty if this is set 'On' !!!!3 H) n! @# d- v, j
  247. ;   Instead you must use zlib.output_handler." W/ r1 k) E( f5 q
  248. ; http://php.net/output-handler
    " I( P7 O. P9 i. n& }4 t
  249. ;output_handler =
    $ a/ d# d: W' v* L  ^: {

  250. , _, N  X3 l5 b  A1 v1 t$ u. t: ?: z
  251. ; Transparent output compression using the zlib library
    . X& _1 E1 t7 _6 c) F- E, v
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size" ?9 v9 J# ]; h8 K& }
  253. ; to be used for compression (default is 4KB)
    9 a9 h6 |: o; b9 z
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP5 F- C& ~0 s6 n6 q+ P' s. u
  255. ;   outputs chunks that are few hundreds bytes each as a result of
      B$ t$ B7 C' x
  256. ;   compression. If you prefer a larger chunk size for better
    & N! Y5 K) X) ]
  257. ;   performance, enable output_buffering in addition.5 }, K+ J& O( ?1 P5 |; _
  258. ; Note: You need to use zlib.output_handler instead of the standard
    * e( S- F& L3 r& t7 Q
  259. ;   output_handler, or otherwise the output will be corrupted.9 X  U, e; Z+ v) Q( ~3 ~; h) h3 @
  260. ; http://php.net/zlib.output-compression
    0 L4 K5 c& F7 V0 c5 r. |
  261. zlib.output_compression = Off
    8 m) o6 d4 M! V2 G( D8 i9 T6 V: D

  262. 7 }) Z8 u! a" w: o# e% }9 ^" q0 r/ H
  263. ; http://php.net/zlib.output-compression-level: z+ t# J+ D8 R) O3 B0 [3 u, `9 v
  264. ;zlib.output_compression_level = -1( o* f4 u, r' E7 W1 }
  265. - v6 e7 w2 \2 @! v1 [5 g9 S: }) _
  266. ; You cannot specify additional output handlers if zlib.output_compression% ?1 P- f; r/ u7 _- }* J! w
  267. ; is activated here. This setting does the same as output_handler but in
    ! X) Z$ V# U1 u- i0 ?" B
  268. ; a different order.
    3 S. v% @' w5 E" X9 [
  269. ; http://php.net/zlib.output-handler
    2 l7 g2 w+ U, h" w: g. j
  270. ;zlib.output_handler =
    ) t: ~. a" T# b1 X
  271. & c5 V! E7 c' C! s$ U
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    # i, ?+ b  M, [' x8 v
  273. ; automatically after every output block.  This is equivalent to calling the$ H) _: `, r1 H
  274. ; PHP function flush() after each and every call to print() or echo() and each
    0 p* k' X  G# S- Q  w% l
  275. ; and every HTML block.  Turning this option on has serious performance: P, `/ ]- q6 U' M5 r8 y7 X
  276. ; implications and is generally recommended for debugging purposes only.5 n# S4 x+ j, X
  277. ; http://php.net/implicit-flush
    0 c/ c( I! H) F$ ^; }4 w
  278. ; Note: This directive is hardcoded to On for the CLI SAPI' o. M9 Q- K! E, h4 m- _& v% u0 Y
  279. implicit_flush = Off; q$ k+ }8 }+ m  Q( Y6 Z. B" W

  280. 5 I8 y9 b+ M6 D& a0 f& \
  281. ; The unserialize callback function will be called (with the undefined class') y* a4 p( R+ q- I2 y
  282. ; name as parameter), if the unserializer finds an undefined class
    # E. I5 e. g2 |) a
  283. ; which should be instantiated. A warning appears if the specified function is. ?& q' w5 Q9 T. z3 z) s# F5 {
  284. ; not defined, or if the function doesn't include/implement the missing class.( W3 H- p" H9 @( ^1 m# C8 d. M2 b
  285. ; So only set this entry, if you really want to implement such a
    5 d- k; X& b8 ^- z. X  J4 Z
  286. ; callback-function.
    6 @; D# d$ A" _6 ]/ B; H" C6 U9 \
  287. unserialize_callback_func =6 l+ F$ A+ h" H" I! @
  288. 4 H# @4 T* b8 `0 q. j: b% x7 J
  289. ; When floats & doubles are serialized store serialize_precision significant
    ) `' i- }4 N" {3 u
  290. ; digits after the floating point. The default value ensures that when floats
    . m; @6 J6 |3 y0 T& @$ K; N
  291. ; are decoded with unserialize, the data will remain the same.8 A! h! W: x1 R: ?
  292. serialize_precision = 17
    ' u0 C  J3 n- t0 p% g

  293. ; |3 b& z! N1 M" I+ u7 G: ]/ z
  294. ; open_basedir, if set, limits all file operations to the defined directory, R4 ?- g8 L9 n! l
  295. ; and below.  This directive makes most sense if used in a per-directory
    0 y& p; r4 _& B+ `, W. i
  296. ; or per-virtualhost web server configuration file.; Q, G! o! d/ A; {+ h
  297. ; http://php.net/open-basedir
    ( M5 p  I4 a4 O
  298. ;open_basedir =
    . h( c+ ]. Q3 @% t+ d
  299. . f! F- G% j+ w. [' c
  300. ; This directive allows you to disable certain functions for security reasons.
    5 _- ]5 I: b- _
  301. ; It receives a comma-delimited list of function names.4 E5 c. F9 ]9 t! p
  302. ; http://php.net/disable-functions
    ( ]5 U$ e6 S# u2 d
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru  i, G" H7 A7 O' @" G2 M& @' d; Q' M
  304. 2 s+ H& D* d# d7 t' p. b* f
  305. ; This directive allows you to disable certain classes for security reasons.
    ; P# Z$ A" l6 P$ f  W
  306. ; It receives a comma-delimited list of class names.
    # P# [) i6 v# f& |
  307. ; http://php.net/disable-classes
    " w) M( e# V: `+ c
  308. disable_classes =
    ' G' K) o3 f/ @; x' O0 a
  309. + s6 o* [" @* e( W  l& P& P) Y
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    3 X* I0 M/ V( {5 S+ b
  311. ; <span style="color: ???????"> would work.
    + r$ q# {+ s. ~: l9 [' G  K
  312. ; http://php.net/syntax-highlighting
    + g! V7 v4 b# X' t9 f! @* c
  313. ;highlight.string  = #DD0000
    7 ]* g2 }- c! ~8 A. D9 U2 J6 w
  314. ;highlight.comment = #FF9900
    5 P$ J% A& F, C2 @
  315. ;highlight.keyword = #007700
    9 z( e. C' _+ L8 K
  316. ;highlight.default = #0000BB& E5 q, t0 _. c& G/ `
  317. ;highlight.html    = #000000
    . P" s' V$ y) D) ~! ^' u/ @" C8 P$ i

  318. / B+ }& B* @, w) w3 S0 \
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    3 ?$ n' m. u8 @) i2 G
  320. ; the request. Consider enabling it if executing long requests, which may end up9 r: h& F  G) Y, w5 f2 ~6 \* h  @
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior' P5 N0 U  [! j, a# [
  322. ; is to disable this feature.- D( A; g4 B( T; ?8 [; T# x' p
  323. ; http://php.net/ignore-user-abort
    0 F7 X9 Q* {" }; n% b2 z
  324. ;ignore_user_abort = On, \" l; g% P9 g

  325. 6 ~3 R8 v3 S5 s! Z5 |# W
  326. ; Determines the size of the realpath cache to be used by PHP. This value should. \. E$ o( f2 R5 P& Y* K- W
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    6 D8 n; d. z9 f, Z: f
  328. ; the file operations performed.' N: M: i8 C( K4 p" \
  329. ; http://php.net/realpath-cache-size* v$ J. [: F1 @6 q, h# ]7 E& z) V8 h, Q
  330. ;realpath_cache_size = 16k
    % j7 [4 _, R! R

  331. 4 K) P. E4 S( W7 V
  332. ; Duration of time, in seconds for which to cache realpath information for a given7 x  v" _, l' f
  333. ; file or directory. For systems with rarely changing files, consider increasing this, Z- X+ A2 k: v, l4 P" w
  334. ; value.
    ' |) i* [: O- s+ h  g3 _4 H- {
  335. ; http://php.net/realpath-cache-ttl
    9 h- s# i" w8 p
  336. ;realpath_cache_ttl = 120
    9 M/ R4 F- A# p* d8 K' B0 Y
  337. * o9 W% ?" _! c5 r$ t  \, Z
  338. ; Enables or disables the circular reference collector.
    / P  s; I# y- d8 v( G2 P4 t
  339. ; http://php.net/zend.enable-gc; e: p- s; L5 L! R; C
  340. zend.enable_gc = On9 ^3 T% T" K9 s& U
  341. # Z+ [; Y/ c3 M
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    8 @: |! r1 B' q7 k% z8 @! a3 R
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    % b* m5 i9 S. K
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    9 L$ F! F8 O* N  {( r. J
  345. ; Default: Off
    # D2 `% k, ]9 Y( K7 S, F% g
  346. ;zend.multibyte = Off! P- ^: p- f* k: _! u  {- C3 U

  347. ' Y( W& h1 r4 |8 f1 s  y
  348. ; Allows to set the default encoding for the scripts.  This value will be used* `& y. _. k% I1 m& I
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.) ]# `. m, O$ I4 h5 y
  350. ; Only affects if zend.multibyte is set.
    5 m7 T1 T" J5 T! T+ L7 y
  351. ; Default: ""
    + K1 q* {5 D% |6 k
  352. ;zend.script_encoding =
    - V$ E$ r4 B+ u' n9 P  n
  353. 3 |3 a6 G+ {( }6 t! m8 ?
  354. ;;;;;;;;;;;;;;;;;
    2 a* ~3 [% e0 v! T+ r; |1 H
  355. ; Miscellaneous ;
    : g" A+ G4 X- m( U* `& _% c6 q$ Q' V
  356. ;;;;;;;;;;;;;;;;;8 {0 b. a5 }! X7 {1 A6 F4 e
  357. 8 T! Z, i0 n) f* f
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    # Q$ g/ q) R, }- R+ r
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    - W+ A1 v5 z" w) m
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    / k, T9 h% D2 r) l# S( Y
  361. ; on your server or not.
    8 o1 {3 Z5 p" I0 M
  362. ; http://php.net/expose-php
    & w' A7 u: O6 E7 E7 D4 r1 n" ~* X
  363. expose_php = On
    - I" J5 s0 B. d9 `" G. F

  364. 6 D6 p! y  z: P7 |& L
  365. ;;;;;;;;;;;;;;;;;;;7 A# \; T* U8 d; }  h- U! e, x
  366. ; Resource Limits ;
    : s/ S  `, i1 `+ v
  367. ;;;;;;;;;;;;;;;;;;;
    , o- A' ?. e& c
  368. ; @- h9 Q9 x- P2 t2 S
  369. ; Maximum execution time of each script, in seconds
    : F0 r6 c# c* W1 h
  370. ; http://php.net/max-execution-time  K) ~: V* A/ a; Z
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    1 W. ~2 j/ |# x0 K
  372. max_execution_time = 300# L9 Q2 B, S( C- x; E) z; }2 @
  373. 2 [. i6 I1 N$ o' b1 g& ~# b" {
  374. ; Maximum amount of time each script may spend parsing request data. It's a good. C: F9 m, H6 n2 b! e3 M8 ?9 ?
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly) c, _! S1 K8 r' _( G/ x7 ^- D  V; L
  376. ; long running scripts./ z6 V3 {/ v' V0 e# O; y% I) d. P
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    ! d% ~' z( X6 d' E7 s2 c9 i! _: p
  378. ; Default Value: -1 (Unlimited)2 I) u1 N$ D- L! O# M
  379. ; Development Value: 60 (60 seconds)
    ! w( A$ m) x9 S1 A8 _/ E
  380. ; Production Value: 60 (60 seconds)
    ( I) M, H8 h5 u! l+ @" v* V
  381. ; http://php.net/max-input-time" k+ A& Y( n$ J6 i# h+ L0 ]
  382. max_input_time = 606 K; {( c% d% t! B! p# S

  383. - j3 u5 c5 M9 ?# c6 v& U
  384. ; Maximum input variable nesting level
    7 c, O, [: E. h  y+ X7 b" z6 F3 S5 k
  385. ; http://php.net/max-input-nesting-level
    # J( n5 F$ _- D1 J/ l
  386. ;max_input_nesting_level = 64: B/ k" a8 h5 g: G8 G1 j' b2 G( F

  387. 9 {+ ?. e2 ?- P4 t: c& W9 X
  388. ; How many GET/POST/COOKIE input variables may be accepted
    4 c, S1 Y2 r% L
  389. ; max_input_vars = 10006 M( m% {: ]. N: H
  390. & s* m# v# B7 M+ }1 \8 q" k
  391. ; Maximum amount of memory a script may consume (128MB)5 x6 y- p, H/ e- \$ c  l& O0 E5 l2 z
  392. ; http://php.net/memory-limit8 Z: {2 ]0 Y9 u) l' z3 I* c9 |
  393. memory_limit = 128M
    ( F! F% H3 @) n; P/ }# b+ p
  394. * F: S5 z% ]: A
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    7 b! K+ V, v3 M& V# @  z! B8 S
  396. ; Error handling and logging ;* a; r9 p% @* m. t# @* ?. v
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+ Q) t2 R& G# u7 U
  398. - `6 B% U1 O" f9 V1 Z2 z! J7 [* x# ~
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    - g/ z- c0 h. R3 [% i1 T) I
  400. ; it to take action for. The recommended way of setting values for this
    4 z, X% e  R! z* B
  401. ; directive is through the use of the error level constants and bitwise2 |2 K" n' X( A% k! E
  402. ; operators. The error level constants are below here for convenience as well as
    $ m0 E/ _# R1 S* Y0 u
  403. ; some common settings and their meanings.
    9 W! Z" A  }- g( O
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
      U" A% i0 ^* `0 f# |/ |- i2 o
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    # f( u  b9 y4 |, D2 u# E
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    3 p9 \: m! l" s! e( _0 {
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    ) {1 J: A0 H& n
  408. ; resources complaining about best practices and coding standards. That's what
    - i! @3 S/ B3 }$ |/ u9 x/ e9 `. l$ y
  409. ; development servers and development settings are for.; s# z! q% \2 \6 }/ P9 n" N
  410. ; Note: The php.ini-development file has this setting as E_ALL. This8 K( f3 |1 r! ~3 M' V- b% o. f
  411. ; means it pretty much reports everything which is exactly what you want during/ L; o9 I0 s) ]
  412. ; development and early testing.
    1 `7 a8 L- A- H
  413. ;$ r/ C4 K! K, T! }) {
  414. ; Error Level Constants:
    & _4 B9 r6 k! }# m7 Q
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0). B6 `) t) G9 Z; a
  416. ; E_ERROR           - fatal run-time errors
    8 k) X- g. J# L9 E# J8 L5 B
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors& ~2 h# Q) d+ c5 e
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    4 `, X3 ~0 q5 W; t3 m: T# i  E
  419. ; E_PARSE           - compile-time parse errors6 N4 h8 J# `3 V2 E3 }
  420. ; E_NOTICE          - run-time notices (these are warnings which often result+ J6 Q  G- |$ a$ f( k
  421. ;                     from a bug in your code, but it's possible that it was
    " Y! y$ r8 e2 k( Y" D8 I, C
  422. ;                     intentional (e.g., using an uninitialized variable and" F. _: v) V$ d2 [
  423. ;                     relying on the fact it is automatically initialized to an1 c& |# c1 q# ~
  424. ;                     empty string)) \% V8 \& c* l' E0 Q6 i
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes4 T4 d% ^( Q# q* e7 M
  426. ;                     to your code which will ensure the best interoperability3 f7 ~- j- ~/ ~/ V6 V8 s
  427. ;                     and forward compatibility of your code2 o+ X1 Z0 h( H: e0 ]0 r
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup* D  O( R" b' m) z
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's) [" U3 t" N  q5 L- u9 P
  430. ;                     initial startup, Y/ v* J: T& @& |$ W
  431. ; E_COMPILE_ERROR   - fatal compile-time errors: T1 J" u: Q7 \# {+ r# x2 w
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)' q. Y* R# ?( _9 n0 }& S
  433. ; E_USER_ERROR      - user-generated error message8 ?+ V& J  X# ?1 G$ ^! S3 d) B3 H
  434. ; E_USER_WARNING    - user-generated warning message
    0 h$ b8 V  e/ ]; v
  435. ; E_USER_NOTICE     - user-generated notice message
    * T% K3 C. s3 ?  {+ u- ]! q& a
  436. ; E_DEPRECATED      - warn about code that will not work in future versions- Y$ q( N, N& I; ?3 E& T/ Z  v% a
  437. ;                     of PHP
    5 x$ K; y! S, N0 u) o
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    ! H7 s" H9 h- E: f
  439. ;9 u  C# I  l7 ~' u  |# M5 W# M
  440. ; Common Values:
    * n9 m+ P, O2 |9 F6 J/ F  z; c$ L
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    5 L* u* u5 m; e
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)! d5 R6 Y- H1 D8 K! z: v' }# \
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)7 I* b* w0 \+ B  ^" z
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)1 x  }/ d; \* v2 C) R0 ]' C
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    * O+ I' W# j# F; |: {
  446. ; Development Value: E_ALL
    ) {( J. r# j( `. U
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    : ~8 r: t( Y. d( `
  448. ; http://php.net/error-reporting
    # @" q+ \- N+ ^( q, r4 x4 x
  449. error_reporting = E_ALL & ~E_NOTICE0 D- Z. m: N7 k& S% D: R/ O, D

  450. 1 w# l8 t$ G3 W) }, Z: ^1 g3 g
  451. ; This directive controls whether or not and where PHP will output errors,, T3 c+ E* O( o' d
  452. ; notices and warnings too. Error output is very useful during development, but
    . Y. m. _2 S8 b! h1 v" L% v
  453. ; it could be very dangerous in production environments. Depending on the code4 ]% M+ P9 s; Q& ~$ t
  454. ; which is triggering the error, sensitive information could potentially leak! `* F! k0 e  `1 P8 b3 H
  455. ; out of your application such as database usernames and passwords or worse.
    ; c: I, [- k2 o6 y4 h4 o0 o' ~
  456. ; For production environments, we recommend logging errors rather than; O2 ~! x2 |3 a) g& o
  457. ; sending them to STDOUT.1 }1 ~! C3 E" ^* v8 Z' F% b
  458. ; Possible Values:- I3 ~. `$ Z( |% L+ y' q1 Y
  459. ;   Off = Do not display any errors
    2 j6 J8 _5 f4 ~
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    3 Z) G. V9 J) k& n) {  |
  461. ;   On or stdout = Display errors to STDOUT, H- }' J4 J, i" b
  462. ; Default Value: On
    & S3 y  L- V6 a. j% U% L5 l- r- o
  463. ; Development Value: On
    # A1 y/ O& j. |& `
  464. ; Production Value: Off  t/ I- V! }, n! |
  465. ; http://php.net/display-errors. e3 R4 |# y% R7 b/ n! S
  466. display_errors = On: y6 z0 D# u' ~% t% D' o; a
  467. : ^9 L6 w0 H% ^2 s: {, d/ O1 \9 F
  468. ; The display of errors which occur during PHP's startup sequence are handled
    7 P) V5 M) g8 F2 ^+ u
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    % R2 y. `# e9 I3 Q
  470. ; errors from clients. Turning the display of startup errors on can be useful in) I( D4 _' r- O, i% ]
  471. ; debugging configuration problems. We strongly recommend you
    " W: T  b7 N+ N
  472. ; set this to 'off' for production servers.+ N7 W4 T& ~" K8 j: O
  473. ; Default Value: Off
    - D3 F( N* Z! v* T% `" k0 Y
  474. ; Development Value: On
    1 ~8 G% g7 v+ |# y, d5 ^
  475. ; Production Value: Off
    " Z7 w3 d/ l' K6 ]  E
  476. ; http://php.net/display-startup-errors
    ) x3 G/ F  u0 o9 t" C
  477. display_startup_errors = Off6 ?. L& f$ C- A! g  C
  478. # h, }% H8 ]* D" b2 {
  479. ; Besides displaying errors, PHP can also log errors to locations such as a0 b2 }: D" R3 ]9 y
  480. ; server-specific log, STDERR, or a location specified by the error_log
    ; x, r7 T: \. K
  481. ; directive found below. While errors should not be displayed on productions
    ! j  z5 O+ ], L
  482. ; servers they should still be monitored and logging is a great way to do that.. ?) m" K) f* r; I
  483. ; Default Value: Off* ~3 l+ ~8 z' g
  484. ; Development Value: On5 ]# o. [2 s" b# z  c
  485. ; Production Value: On+ j3 o. q+ L! e9 R3 k8 _
  486. ; http://php.net/log-errors3 {- o" R# |; ~, e2 Q
  487. log_errors = On
    8 w( _. I" [$ Y; E
  488. 3 X( u# H: V1 i3 J6 E6 ^
  489. ; Set maximum length of log_errors. In error_log information about the source is- a; B9 r0 T" x) J
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    8 A/ l* B3 A& ^: M% _/ B( ?
  491. ; http://php.net/log-errors-max-len9 |* I* a+ y# u
  492. log_errors_max_len = 1024
    8 g2 f3 o1 X, J: A
  493.   a) G" p1 L  Z
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    , E; m! X9 k4 l' h
  495. ; line unless ignore_repeated_source is set true.
    9 K& a! [: @/ z8 P
  496. ; http://php.net/ignore-repeated-errors8 _8 r: V* |, O) n. ~
  497. ignore_repeated_errors = Off! U0 z6 C9 u. E" V% p* r
  498. 2 F* A: e, l  L9 X, ?2 X6 T! G/ ]! t
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    4 T' v/ C4 k2 o$ _5 L2 p
  500. ; is On you will not log errors with repeated messages from different files or
    3 s; c- N% ?9 H; V% l1 m, D
  501. ; source lines.
    5 C0 V  R( E3 \4 h
  502. ; http://php.net/ignore-repeated-source2 |% |2 Y1 V( {- D2 w
  503. ignore_repeated_source = Off
    # g; @% S, }+ c: z8 y) k8 \
  504. & R4 ^$ v+ I. j5 `) s. r
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    6 Z' p% V$ j; o" F
  506. ; stdout or in the log). This has only effect in a debug compile, and if- H8 q- q! W1 R- B
  507. ; error reporting includes E_WARNING in the allowed list
    " g5 R7 v/ b: G$ d+ G1 p
  508. ; http://php.net/report-memleaks1 l8 U- }; i& u! w
  509. report_memleaks = On
      G5 h& T; k1 n. t" D* ]
  510. : m: s; b! c- B1 H* P
  511. ; This setting is on by default.! A; D* C5 g6 @/ C
  512. ;report_zend_debug = 0/ ]( b% w* k/ k2 K) }# O. W- @
  513. ! i9 V. ~) q, p
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value! B6 N4 R, W0 H/ W* U
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    3 M6 U: V8 i) ~- ^$ E) l
  516. ; however be disabled on production servers.4 q- O7 `- @* m: [5 \
  517. ; Default Value: Off1 \& z. Z: k4 v# e7 H; ~
  518. ; Development Value: On
    ' z5 s0 l: J! S! p
  519. ; Production Value: Off4 N5 v/ x* i9 o' H/ t5 `% G, S* `$ N
  520. ; http://php.net/track-errors
    : U, j2 k- q2 K/ @7 [- X
  521. track_errors = Off
    + j* D$ }0 j8 ]( I, W& Y& I0 ~9 h. i
  522. 1 r  y1 @$ s3 q2 E
  523. ; Turn off normal error reporting and emit XML-RPC error XML% @9 _- k- V5 X1 E
  524. ; http://php.net/xmlrpc-errors
    3 r' f/ }9 ~1 e3 F8 q% @1 R
  525. ;xmlrpc_errors = 0  B. l9 N, |4 v) p" Q/ g3 N
  526. 0 f, ]- j1 Z) A8 K0 G. A
  527. ; An XML-RPC faultCode3 X+ n  E) G5 u( ~* }) v
  528. ;xmlrpc_error_number = 0
    ' b" m( o& F. N/ ?
  529. : `" `. g! Y1 O' a- m4 _- \
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    9 ?1 m8 I6 K& ~5 P: T0 R
  531. ; error message as HTML for easier reading. This directive controls whether% O/ [, n# n3 P+ H. U  F' K+ I+ v
  532. ; the error message is formatted as HTML or not.
    : K. r, g0 ?2 n/ v9 I- Z, Q+ ?
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    8 B4 f! u0 G  y3 M1 Y# f
  534. ; Default Value: On* C$ i0 ]/ |, i7 H& M& u
  535. ; Development Value: On
    ( q, N" B$ k$ L) b  L* D! e
  536. ; Production value: On9 ?+ ^2 |' W" {* _) c
  537. ; http://php.net/html-errors& k- L& w+ o# V5 a( F% Q# O  Q; T- d
  538. html_errors = On
    " W) t; I! y( s7 s

  539. # }0 C8 H6 u! i3 l
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP1 v- W2 ?" w9 X3 L6 J9 w' Z" l
  541. ; produces clickable error messages that direct to a page describing the error: J; \5 ]1 l8 f# D- Y& z3 g
  542. ; or function causing the error in detail.% N+ @" ?3 H: l1 ]  A
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    : M! Z( q3 V6 a7 s: V
  544. ; and change docref_root to the base URL of your local copy including the
    # e' q% e; @$ g. t! z2 K! o
  545. ; leading '/'. You must also specify the file extension being used including
    - W( h: s$ `2 @
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    - w+ Z. A" t. y" B2 j
  547. ; case no links to documentation are generated.
    2 T; M' w- J4 A* g3 t, p
  548. ; Note: Never use this feature for production boxes.
    / |: ^  G) P' {9 ~0 R5 m& ?
  549. ; http://php.net/docref-root$ f! p, v4 ~6 }7 M( P, }. A
  550. ; Examples
    , B+ f" g. y/ ?% G$ J+ J
  551. ;docref_root = "/phpmanual/"" y# @! R  R2 ?1 k+ j

  552. 2 \6 r) O1 d7 T+ M! C) e' _% g5 d
  553. ; http://php.net/docref-ext5 ^7 I, [; m$ N' \8 h8 m
  554. ;docref_ext = .html5 D3 P. j  G+ g7 Y

  555. ) C- k7 G8 n) ]3 E, u9 N1 L9 h8 e% R, @
  556. ; String to output before an error message. PHP's default behavior is to leave
    6 \6 ]  y' R2 x: R0 @. O1 C5 [" e
  557. ; this setting blank.
    9 q! i/ {0 b; S+ u; b$ F) j
  558. ; http://php.net/error-prepend-string
    ! t% f9 x/ c+ ?( x' o6 ~( Y
  559. ; Example:
    : x) x# d$ _2 e: ?" g
  560. ;error_prepend_string = "<span style='color: #ff0000'>"! {1 X- v* E4 N9 m" U
  561. ; B: b* S, V* ]- I! ^9 a
  562. ; String to output after an error message. PHP's default behavior is to leave5 b% o  u/ k2 q8 C: a2 K( `2 D; o
  563. ; this setting blank.
    * i7 a( @$ B) b( ]
  564. ; http://php.net/error-append-string
    : h. f; s4 }2 S+ Q/ L) i3 \
  565. ; Example:# q6 A# b1 D$ |/ E5 {9 e8 K
  566. ;error_append_string = "</span>"
    # Y1 y8 m3 Z6 {, R. g7 T
  567.   r5 r0 z$ ]( ~$ o* h
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    " n5 M+ b( A9 `' D' ]/ E& Q7 o( q
  569. ; empty.9 A) L, D0 r, X% H- h
  570. ; http://php.net/error-log
    ! L% w8 a; O6 ]4 j
  571. ; Example:& D, n. w: `% ]9 }" k; N. g* W
  572. ;error_log = php_errors.log
    ( u+ ?& h. N6 }' \: h: c, C0 o
  573. ; Log errors to syslog (Event Log on Windows).
    4 w& v3 x% A" Z. S0 C" g% d2 ^, B
  574. ;error_log = syslog
    % ^9 p8 ?0 k. U+ i2 Y3 l
  575. : n$ C! p2 _- D  s& V" V0 k" I& `
  576. ;windows.show_crt_warning7 C& e) e+ l! r4 n! Q* s
  577. ; Default value: 0) k2 C! {. {1 b, e' l, |% h7 E; M
  578. ; Development value: 0
    / S- |8 ~! c0 ^; k% K; i; ]
  579. ; Production value: 0
    " w' F/ [  J+ b3 M

  580. ; ?# N" _7 i) j5 D
  581. ;;;;;;;;;;;;;;;;;
    ) B9 x  c) t, S( z2 Z! E* r" L
  582. ; Data Handling ;
    2 J  s0 W5 N; V! q0 B. T4 o. p  o, l
  583. ;;;;;;;;;;;;;;;;;+ d1 W- H9 Q6 T1 H5 @5 S: Z/ P

  584. , l% A0 f: K# U- f5 P9 x: Z; i
  585. ; The separator used in PHP generated URLs to separate arguments.$ q, {1 C3 N. ]
  586. ; PHP's default setting is "&".' B8 n( _7 M( ^1 E! z/ L
  587. ; http://php.net/arg-separator.output* Z0 P. w" w' n0 s
  588. ; Example:
    & ^$ b" v: q) v' \7 @8 d' b" \( N% D- |
  589. ;arg_separator.output = "&amp;"9 |3 Y8 o" S2 L

  590. " \$ _. a3 ?& x- n5 }7 [9 r
  591. ; List of separator(s) used by PHP to parse input URLs into variables.# T9 U0 \1 V1 j
  592. ; PHP's default setting is "&".
    , f2 ?  ]% _* J6 a& E: R
  593. ; NOTE: Every character in this directive is considered as separator!
    ) X% {2 D, r" b+ w' X2 C7 u" H
  594. ; http://php.net/arg-separator.input  X0 }4 x  Q3 E0 X
  595. ; Example:: L' n, M5 r; N% @: x& ^1 @
  596. ;arg_separator.input = ";&"5 p4 Q- V: |7 `; C# k$ S; p8 K& \

  597. % ~2 a- h5 y/ g; G  {4 X
  598. ; This directive determines which super global arrays are registered when PHP% U0 X' k8 H1 w
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    ( m' O. a( Q0 E
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty" P" u8 t9 }+ r+ R
  601. ; paid for the registration of these arrays and because ENV is not as commonly2 _. p3 M3 d: Z+ _; }5 X
  602. ; used as the others, ENV is not recommended on productions servers. You& s* p: O- P; F# K( A
  603. ; can still get access to the environment variables through getenv() should you3 Z3 l1 \$ P5 i: J# X6 ?( x
  604. ; need to.- g% o$ E- m7 \. |
  605. ; Default Value: "EGPCS"
    & q! @! r9 H' q, d3 U
  606. ; Development Value: "GPCS"
    & X# o3 d) ^, K
  607. ; Production Value: "GPCS";9 i4 J, L) j7 @8 c
  608. ; http://php.net/variables-order
    - n" _& d- F$ j- j! N# m+ W  q
  609. variables_order = "GPCS"
    5 B/ Z4 i* o) i* u
  610. & @( g/ \4 I7 l  r$ ~, u7 Q
  611. ; This directive determines which super global data (G,P & C) should be) }# e# }2 X1 O* R$ Z2 U( ^
  612. ; registered into the super global array REQUEST. If so, it also determines5 C: ~/ c9 ~  ^
  613. ; the order in which that data is registered. The values for this directive4 ]1 T8 ^* s! [( `
  614. ; are specified in the same manner as the variables_order directive,! j2 R' C* [" z* @6 K6 O
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    6 u, y- V; j) u
  616. ; in the variables_order directive. It does not mean it will leave the super
    , S  @4 [8 B5 L
  617. ; globals array REQUEST empty.9 l; H0 U- z; g7 C$ b2 ^
  618. ; Default Value: None  w8 }+ d4 ]8 v" i
  619. ; Development Value: "GP"
    : _2 B: I% J# I/ ^; h$ K; U+ w4 Y
  620. ; Production Value: "GP"8 J! v7 M% p2 E$ o& e- g) C( J9 P
  621. ; http://php.net/request-order
    8 X% v! g2 P0 U' U* G4 ]1 T: w; S
  622. request_order = "GP"/ v5 _8 o# z2 P2 F, j3 B8 ?9 e  @$ ~

  623. ) W4 m' ^& t: {. j
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    $ b: v6 n4 \. A% O3 Y$ H# p
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    & n$ V0 F) Q3 b! A9 w
  626. ; is invoked. $argc contains an integer representing the number of arguments( `$ |! E0 w6 b9 k/ X9 p' h
  627. ; that were passed when the script was invoked. These arrays are extremely
    ! c" ]# v; u  \6 c# j# E. U
  628. ; useful when running scripts from the command line. When this directive is
    ( F1 Z+ C! |# f$ O$ X8 [% b
  629. ; enabled, registering these variables consumes CPU cycles and memory each time# [" k) s& g: q/ }7 l$ u
  630. ; a script is executed. For performance reasons, this feature should be disabled
    & m7 b- {/ @8 _
  631. ; on production servers.
    ' |4 q$ Y, s0 @6 c
  632. ; Note: This directive is hardcoded to On for the CLI SAPI; C+ O; \' j8 l) q/ h  K
  633. ; Default Value: On9 }- S& J0 ]# s3 f/ a- V* [6 m
  634. ; Development Value: Off. V! q5 S, \9 c* ^4 U  O
  635. ; Production Value: Off* |; I8 x' |( m  |+ w
  636. ; http://php.net/register-argc-argv% H9 J- E  A4 @
  637. register_argc_argv = Off% T- Y7 x9 n! I
  638. # v1 c( A. r  e1 G, c* O( F
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're+ p2 s3 B& x+ J3 ]) P; w9 l
  640. ; first used (Just In Time) instead of when the script starts. If these
    8 s$ q! k2 \/ n1 ]" I* ]& O
  641. ; variables are not used within a script, having this directive on will result
    4 X9 D0 W1 R$ O. ~+ l" E" X4 D
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    . D( J; v9 z( Q( V! Z( Z! f/ u3 n+ D
  643. ; for this directive to have any affect.
    4 Q; K1 m8 J* }4 A; D3 D5 ?* [, U
  644. ; http://php.net/auto-globals-jit; [# I3 K4 L. G/ Z0 F6 a, |
  645. auto_globals_jit = On6 k6 M3 S3 |' H& H" s

  646. ) J- Q- U+ p" }' w- D. ^
  647. ; Whether PHP will read the POST data.
    5 Z4 K' C  _7 p. R' M
  648. ; This option is enabled by default.' F& |7 I% l1 J9 a$ j3 |
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST% k( v3 @& X# Y+ X9 f0 B2 |
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    0 K6 J7 a! A% M% u; U( I1 E
  651. ; POST data will be through the php://input stream wrapper. This can be useful$ E8 G- t* J. ^2 H! K
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    5 G! z8 L0 U1 v3 ?3 c0 t
  653. ; http://php.net/enable-post-data-reading& I8 z7 ^8 }' }
  654. ;enable_post_data_reading = Off
      ?! U: ?/ G% b  g3 `4 K9 P

  655. : K4 f' X( n' z7 W" L" \, o& b
  656. ; Maximum size of POST data that PHP will accept.) m2 K' s; ^5 P3 G- Y
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    $ A  \  h8 C3 t$ s, `
  658. ; is disabled through enable_post_data_reading.
    / a- N" \0 e+ j6 g9 _
  659. ; http://php.net/post-max-size: y# a, \( S8 e5 c+ e! v
  660. post_max_size = 50M
    2 a. L  ?" w, K: A

  661. 4 ]- R# b1 {" D' E( j9 B! M
  662. ; Automatically add files before PHP document.5 f. T/ h# E& m  Z
  663. ; http://php.net/auto-prepend-file7 ~# K! G: s$ `/ \
  664. auto_prepend_file =
    ( @3 @& A  q, J
  665. , q6 G3 |7 l7 N' C! {
  666. ; Automatically add files after PHP document.5 p9 J8 v& q: R/ _0 m0 S
  667. ; http://php.net/auto-append-file
    " |+ ~1 p' ^" _% ]9 v6 w
  668. auto_append_file =
    + V+ Y: I! I# s+ {& X* \8 d* ]3 F

  669. 6 z$ N/ D! \- B/ `, z
  670. ; By default, PHP will output a media type using the Content-Type header. To( P  u1 A3 z- t7 q  D. `& I
  671. ; disable this, simply set it to be empty.
      L* B, D1 A$ |. \% u
  672. ;
    3 G* I# p+ l( F" e, ~
  673. ; PHP's built-in default media type is set to text/html.
    * Z9 i6 u; y: f  F* k5 v+ c7 e
  674. ; http://php.net/default-mimetype: l+ G3 ]& Q! N
  675. default_mimetype = "text/html"( w, ?% G3 Y3 D% {3 U. `
  676. , d% j  z! c6 }5 o3 g" n2 W
  677. ; PHP's default character set is set to UTF-8.
    , F9 ~) p4 I$ b
  678. ; http://php.net/default-charset
    ; V+ S- x5 ?- [' g
  679. default_charset = "UTF-8"* W" d" y; N' n. D7 `0 o
  680. ; ^$ Z* d7 l6 K
  681. ; PHP internal character encoding is set to empty.8 X& }$ P2 k3 u; R
  682. ; If empty, default_charset is used.; F" l5 o" `0 [: ^! n- ?1 A
  683. ; http://php.net/internal-encoding5 r  {! B! J% e) N4 L
  684. ;internal_encoding =$ M" U; y0 m# T6 u5 e1 P

  685. : S, F8 t! S5 C, t! t- v' p
  686. ; PHP input character encoding is set to empty.
    $ D7 ?4 a' \- e3 X
  687. ; If empty, default_charset is used.0 |8 Z  }* j. H' i  `. O
  688. ; http://php.net/input-encoding
    8 i) J+ \, D, D* Y; S( H( N' u
  689. ;input_encoding =
    1 }; c( N" r8 J

  690. % D, k$ T" p4 A- r; _
  691. ; PHP output character encoding is set to empty.0 E( |0 C: U& K3 T! T
  692. ; If empty, default_charset is used.
    : J  i. A2 l0 a
  693. ; See also output_buffer., y$ k* W2 N0 J8 ]: M1 e& S
  694. ; http://php.net/output-encoding
    . C2 t8 A( ]& z5 ]% e
  695. ;output_encoding =1 r4 S3 B; l: @' D, _
  696. 5 S+ r# H1 w5 M" r" G1 p" y4 [+ f
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is# a- w6 q4 ?$ b$ q, W, {) S" Q
  698. ; to disable this feature and it will be removed in a future version.
    6 M- d0 U. _  C/ P6 x! F
  699. ; If post reading is disabled through enable_post_data_reading,3 ?; B8 N: I1 e
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    9 B  A% a+ W) H5 ~
  701. ; http://php.net/always-populate-raw-post-data0 \; H0 |1 }2 S$ A
  702. ;always_populate_raw_post_data = -13 x( m3 i0 q. q; n2 r8 H6 q! j
  703. : P: P2 a+ G5 ]1 u. u  L/ n2 H* Z2 i
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    9 P, f* F$ n4 Y: N% {
  705. ; Paths and Directories ;; h3 h5 J: U' }
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    * d+ Q- F: X( A$ r7 Y2 m( M, n

  707. # O: ~: m4 z& |1 U4 j, ], ?6 l
  708. ; UNIX: "/path1:/path2"- u6 l  |+ i3 ?6 v& W( Y
  709. ;include_path = ".:/php/includes"
    - f$ |0 h- j: H  S! |
  710. ;) ?: P" O8 I: F7 E5 a9 u1 F, Z
  711. ; Windows: "\path1;\path2"9 A) Q* B$ f' _; i
  712. ;include_path = ".;c:\php\includes"
    / x) q# I1 C! z, G
  713. ;: S# t" \. C3 m3 x5 [2 [6 C6 ^) k: G0 M
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    8 \+ C, G, g. d; M' h; o: f
  715. ; http://php.net/include-path
    # U. }9 e: I3 g9 E
  716. + ~' a& @4 k2 {$ M: p5 u- f8 P
  717. ; The root of the PHP pages, used only if nonempty.9 a) I/ U7 a6 I: E
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    + Q  J$ B7 p( }  ?* r% h
  719. ; if you are running php as a CGI under any web server (other than IIS)
    ! U! M8 J- K  B7 W
  720. ; see documentation for security issues.  The alternate is to use the3 C" W$ |) g8 O$ O
  721. ; cgi.force_redirect configuration below0 K' E! ^) ~, m4 R0 e0 u
  722. ; http://php.net/doc-root
    : g5 h* b" j) a$ P6 A, ~" J
  723. doc_root =) I# ?( e3 p, f( a0 J

  724. 9 h- y# }7 @" H4 C" \! J; V
  725. ; The directory under which PHP opens the script using /~username used only" M0 N, L: v# a2 d
  726. ; if nonempty.
    , [( t/ [0 ]2 l7 Z* X$ h6 }
  727. ; http://php.net/user-dir; _" g" r) @0 A0 }5 h9 Q
  728. user_dir =
    : W: B& x/ h  p( q: s

  729. - }$ e6 B! |- [
  730. ; Directory in which the loadable extensions (modules) reside.
      S; ~9 D# t0 ]& Q& y7 q5 }
  731. ; http://php.net/extension-dir
    * {# x9 n3 t2 C! N
  732. ; extension_dir = "./"* r8 g6 {: ?4 V2 M! p, B
  733. ; On windows:% t# s+ |/ t8 _
  734. ; extension_dir = "ext"
    2 y. q' x- o+ }. @# V+ F( z
  735. 1 I) x1 G+ D& n5 ~( K* T
  736. ; Directory where the temporary files should be placed.5 ?2 u1 m2 @. R
  737. ; Defaults to the system default (see sys_get_temp_dir)
    . k, {- r6 f- ^; n: v3 \8 W% |
  738. ; sys_temp_dir = "/tmp"
    ! a6 e5 U3 D8 v5 ?
  739. & @" V* s0 \: B% o; l: B2 v
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    * o/ Y$ F: ]" b0 v# e
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically1 s$ U; U) @* E% ?; Z6 o2 j
  742. ; disabled on them.
    9 O/ a# W/ c" H% o' Y
  743. ; http://php.net/enable-dl2 V5 p; z7 D( `
  744. enable_dl = Off
    + ]) k% l2 d1 U2 C- ^- a) C" `; [

  745. 8 l- v7 O4 N: L6 q' ~! K4 u
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    / D: \2 g! K- M% h$ T, v
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can, `  K* L( J5 g1 Q
  748. ; turn it off here AT YOUR OWN RISK9 t# ]4 y  S, }# l2 c: q1 o( P0 F* t
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**9 _+ Z( j4 s$ F
  750. ; http://php.net/cgi.force-redirect/ ]5 t& M) [8 n* I; a" x
  751. ;cgi.force_redirect = 1
    % I* E" _0 g$ e: h
  752. ) I; o' d* O: P# @9 ]8 a8 [
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    # c- Q  N9 j  E, q/ g
  754. ; every request. PHP's default behavior is to disable this feature.
    3 _+ x' g" @, a1 A  U
  755. ;cgi.nph = 12 Z' K% J0 N' A/ `; j

  756. $ H' A- C2 L& z* C
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    + }* i) E, z! @/ g5 o
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    ' ^7 t2 a+ |- r# T# F
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY3 V- U+ N% `7 s8 A
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    : C3 p% ~% s4 ~5 t7 V
  761. ; http://php.net/cgi.redirect-status-env
    ; Y0 f8 E; n* L( b9 `  u& [& g& a
  762. ;cgi.redirect_status_env =
    0 `* `4 L1 u3 z3 X, c5 v! x, W
  763. 1 B; x5 l" m( Q) }
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    - ^1 i1 K3 Z+ g- h  F% H5 L" t
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok; K" \- S6 n& r  z6 @
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting( d, A8 j$ Q. M, K# j! @$ p6 u
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    ! Y0 P* e/ k4 K4 K% i" o
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    4 Z7 [% w2 u1 m3 q
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    3 I; _& h: n. ]9 `( ?( ^
  770. ; http://php.net/cgi.fix-pathinfo  y& `# K% T! u9 E0 ]
  771. cgi.fix_pathinfo=1
    + p+ U* M( y5 _$ P
  772. 7 c' z( k3 q% S+ C, V8 U
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside3 J  j% S1 u  b% b5 A" x7 J5 F
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    & |% r3 ~! n7 P+ L
  775. ; http://php.net/cgi.dicard-path
    : O9 W" K& @9 V; @
  776. ;cgi.discard_path=14 o- p! N( K* C

  777. # m2 S0 t+ M4 ?8 T4 l( @4 H
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate' T: |! Z8 E) P! e+ K" X- N, L/ S
  779. ; security tokens of the calling client.  This allows IIS to define the
    2 n, X' d9 U4 d  S% o; @
  780. ; security context that the request runs under.  mod_fastcgi under Apache% k0 n  g0 K% A2 i5 H5 ~% t
  781. ; does not currently support this feature (03/17/2002), J, D) I  H, M% D4 ^
  782. ; Set to 1 if running under IIS.  Default is zero.( T) h7 b# i- i" Q
  783. ; http://php.net/fastcgi.impersonate
    $ C& |1 s9 z8 M3 P
  784. ;fastcgi.impersonate = 1, ^0 d. j: U+ e5 a1 D6 k* B% Z

  785. + f; z9 ^9 g3 J# o& b" z
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    9 [/ _# U5 h* G# U$ `* I
  787. ; this feature./ B4 f! y6 S; J5 e
  788. ;fastcgi.logging = 0
    7 L) t4 h  C2 ^- C; v
  789. 4 ?; Q. f3 }2 j7 B  E9 O2 p
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    8 w6 n! a7 B# I9 A# v7 [
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that) [3 c1 {9 [0 H5 B0 N
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    ) D. S1 `) ~+ e; Q& l$ O$ O3 m) f
  793. ; RFC2616 compliant header.% j9 u( e0 Y% m
  794. ; Default is zero.
    * N& Q5 D  @) m* K" i
  795. ; http://php.net/cgi.rfc2616-headers8 E: q1 T! T! k. C" G
  796. ;cgi.rfc2616_headers = 0+ k- M; c/ m3 o% S2 z

  797. 1 |1 ?" c: R. Q
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!: p# [  m8 {* W1 X
  799. ; (shebang) at the top of the running script. This line might be needed if the& l0 K9 x1 e( e0 b/ n7 W! ]
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    ( E( e# X  h1 `9 q) ^0 A
  801. ; mode skips this line and ignores its content if this directive is turned on.
    . T5 A  @' b0 y7 C. p
  802. ; http://php.net/cgi.check-shebang-line9 @2 U% g0 c8 c/ U) c% v
  803. ;cgi.check_shebang_line=1) x  _- v4 v: i0 ^0 P
  804. 5 W) B2 _! {: a
  805. ;;;;;;;;;;;;;;;;% L5 N9 B1 z. L- t( }
  806. ; File Uploads ;
    1 I; M3 |. j# r  r
  807. ;;;;;;;;;;;;;;;;
    1 X" z& p3 p6 }! P+ q& r
  808. $ O" V5 E7 [0 j7 ~
  809. ; Whether to allow HTTP file uploads.
    6 m; @# _$ B6 T9 A  F
  810. ; http://php.net/file-uploads' j7 _, L! X$ k& B
  811. file_uploads = On
    3 S4 @* I: d% I/ A2 S9 s" v$ Q- a: `
  812. 5 r, y/ U! L' m
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    . v' P0 y8 ^4 e/ v" K# \
  814. ; specified).
    % C' Z. C( y# U: n
  815. ; http://php.net/upload-tmp-dir
    5 m' ]* s& }% b* g2 J
  816. ;upload_tmp_dir =: M4 W5 F4 ~! [& Y/ P% T0 N; d

  817. ; p+ J( U4 |; d) r6 V' T
  818. ; Maximum allowed size for uploaded files.
    0 M7 B/ w/ t( v& n
  819. ; http://php.net/upload-max-filesize( T/ }! b: Z: S& G! v$ T
  820. upload_max_filesize = 50M1 L1 D, I+ T: c3 [4 F

  821. * v: T% f" h) h$ }6 x8 T6 z
  822. ; Maximum number of files that can be uploaded via a single request
    0 O$ M5 N% A7 e( K. _) M, B
  823. max_file_uploads = 20# `, U; f& d, @3 H
  824. : f: e8 p) t5 F
  825. ;;;;;;;;;;;;;;;;;;
    " Z: V8 L" {, _$ Z: }
  826. ; Fopen wrappers ;
    3 a: s2 J' V' c5 s
  827. ;;;;;;;;;;;;;;;;;;# ~2 `, l# B4 ]5 V7 ^+ ^  ^
  828. 8 a9 m- z3 v6 ]: L' F. P% j
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files." d7 s7 z3 ~8 |9 w. V8 x& U6 L
  830. ; http://php.net/allow-url-fopen
    : V$ \  a2 ]. O5 o5 ~1 a
  831. allow_url_fopen = On" l) ^4 K( ^9 f* j3 A. h# D* C

  832. 2 V  ~7 k7 L6 s
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.+ f$ X9 e1 v. w6 h, S. u
  834. ; http://php.net/allow-url-include- K4 A6 L9 A' ]  n
  835. allow_url_include = Off% H6 o5 [, n, q! g, U/ z! b6 j

  836. 1 [' T' s) L; A$ R" O) Y# w
  837. ; Define the anonymous ftp password (your email address). PHP's default setting4 v: j& b5 N' }" H& O1 a! C" R
  838. ; for this is empty.; x7 t) |& `" K0 i+ R1 h- s) I- E
  839. ; http://php.net/from
    $ f; V. q& y1 T* S; I" R
  840. ;from="john@doe.com"
    " B* D% p! S- Y

  841. ' Y; B3 S1 g' I
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    6 l1 [0 P7 n4 y; c9 N
  843. ; http://php.net/user-agent
    3 U  n4 i! \8 j9 @5 M7 F
  844. ;user_agent="PHP"2 B( Z8 X3 {+ |5 }- G  z

  845. 6 l" h( l' _. c
  846. ; Default timeout for socket based streams (seconds)
    , ^9 }2 \) K8 a5 \
  847. ; http://php.net/default-socket-timeout
    " G* ?% p/ S7 Z. E0 k" p" s
  848. default_socket_timeout = 60: J1 E+ n/ T) r

  849. % ?' C7 a5 Y1 t' A5 ?. I
  850. ; If your scripts have to deal with files from Macintosh systems,7 P- `2 W; w' N( h# C
  851. ; or you are running on a Mac and need to deal with files from
    & c. ]7 h. m: Z1 K( _; o
  852. ; unix or win32 systems, setting this flag will cause PHP to
    / ~% R" J% ^; W  \6 Z4 R( w+ ^$ [
  853. ; automatically detect the EOL character in those files so that
    - [2 b5 S3 d$ _4 y" A! E
  854. ; fgets() and file() will work regardless of the source of the file.
    : Q+ M9 F! M% ]" R
  855. ; http://php.net/auto-detect-line-endings$ I6 J/ z, j" [0 O* R. N
  856. ;auto_detect_line_endings = Off
    " o; @7 d$ O+ ]: @' T% v
  857. ; C& f6 X" w# r9 T; ]
  858. ;;;;;;;;;;;;;;;;;;;;;;
    2 @4 U+ p! r( O: U! n) g
  859. ; Dynamic Extensions ;0 O  A+ C  t: d9 r
  860. ;;;;;;;;;;;;;;;;;;;;;;( ~, ~( {6 Q+ N& [8 V+ [: b9 X

  861. / F2 ~8 }- P; s+ j+ P6 P3 W- O( L
  862. ; If you wish to have an extension loaded automatically, use the following. h7 J$ ~5 i/ N/ C
  863. ; syntax:$ ]) T. c5 m5 w" Q, I3 `" r
  864. ;
    1 C, E1 `3 |3 X
  865. ;   extension=modulename.extension
    2 E: i8 o2 W0 q3 f
  866. ;
    : W$ f5 j/ \+ ~* [% n
  867. ; For example, on Windows:5 y, \2 r2 f$ Y* p
  868. ;% E: O) h* o0 {/ G5 v, [
  869. ;   extension=msql.dll4 E7 W; Q$ m+ y) f* R+ y: t
  870. ;' i" G! T" S  a3 C; J* G
  871. ; ... or under UNIX:% D( Z* Z2 m3 g$ F4 u
  872. ;
    , v1 i1 h1 c9 x$ t0 t0 z' J
  873. ;   extension=msql.so  u) c0 `& |6 @/ J5 `1 n( J
  874. ;0 K5 z9 n: ]/ [# j0 j9 {% `
  875. ; ... or with a path:
    , C! R# n8 m; ~( ]/ V0 x
  876. ;4 c2 v- o9 R6 s$ t
  877. ;   extension=/path/to/extension/msql.so5 k) d) P# D7 p2 K9 [
  878. ;- {4 I3 ^: K" X; f" V6 W7 K( a
  879. ; If you only provide the name of the extension, PHP will look for it in its
    + g9 }/ H  i: k7 P5 h+ h( f
  880. ; default extension directory.! O$ {8 ?1 Q; `* W
  881. ;' b# x" E4 G7 b9 v0 P
  882. ; Windows Extensions( q3 [4 g+ d, A# u) ?$ o- D
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    0 J+ p1 {8 p/ k$ u  C9 H' G4 ^* y
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)+ \+ l( O8 k! l
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).0 q; x% H5 b$ p. d+ f
  886. ; Be sure to appropriately set the extension_dir directive.
    ( j# ?/ p1 u9 r+ C; J) D7 ?7 ~1 o2 q2 Z
  887. ;
    1 J+ r4 i' p3 ?) d9 r; l
  888. ;extension=php_bz2.dll, W6 h% Z, w: F) B* J
  889. ;extension=php_curl.dll4 I+ `. A& x5 ?1 M) }) p
  890. ;extension=php_fileinfo.dll
    2 m1 `% L6 `+ N- |, r# z" a
  891. ;extension=php_gd2.dll
    5 X  D; |8 |  y
  892. ;extension=php_gettext.dll
    ) Q8 V) h; Z; y+ I
  893. ;extension=php_gmp.dll' O% g9 Z' x/ x; r8 e  J
  894. ;extension=php_intl.dll: `6 R# C4 H' {' c2 D5 g- u, a! b' w
  895. ;extension=php_imap.dll* a. u6 x3 P" Q# V8 H% W; R  h
  896. ;extension=php_interbase.dll" i; T  y' G1 S% z( M1 m
  897. ;extension=php_ldap.dll3 e/ u/ ~+ V3 j0 r( M
  898. ;extension=php_mbstring.dll
    6 g1 K" Q; L4 ~* l2 H% l
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it8 B' j5 Q& m! ^" T+ v
  900. ;extension=php_mysql.dll
    . R# y8 J" s0 A2 Z; N+ a1 ^
  901. ;extension=php_mysqli.dll* d, ]* X% o7 F, t
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client, t0 n4 U% s( s$ B3 _
  903. ;extension=php_openssl.dll! b4 C* X1 L- x; A. ~: ]
  904. ;extension=php_pdo_firebird.dll0 R6 X2 p# M( ?* F4 J+ j- \
  905. ;extension=php_pdo_mysql.dll
    7 H9 ~7 G! k# H( J; K0 H: e& s
  906. ;extension=php_pdo_oci.dll6 U1 B0 M% I5 s/ j
  907. ;extension=php_pdo_odbc.dll  d9 W9 O* }8 l' p( y( y9 B. \4 ~
  908. ;extension=php_pdo_pgsql.dll
    . v0 ]- I6 U5 }% R, _6 z
  909. ;extension=php_pdo_sqlite.dll
      p& k! c) I  l2 R
  910. ;extension=php_pgsql.dll
    ( B/ D6 A8 j, |0 y) }7 C0 X
  911. ;extension=php_shmop.dll
    6 P; F) {1 t5 ~+ A
  912. ' w7 w3 g) A+ X! ^3 p% K) k
  913. ; The MIBS data available in the PHP distribution must be installed. ! G# `7 v' l' D
  914. ; See http://www.php.net/manual/en/snmp.installation.php 1 j* |  o( O$ ~  }/ E! ?- X
  915. ;extension=php_snmp.dll6 I' i! K- }. f& P4 O+ e  l& ~2 H

  916. , x3 B0 W1 q7 T$ W5 p
  917. ;extension=php_soap.dll
    ! G/ s7 K: p/ S% z9 f0 W+ s$ n
  918. ;extension=php_sockets.dll
    / s2 q* ^8 ]7 j
  919. ;extension=php_sqlite3.dll
    9 C3 [& v7 t7 a% e
  920. ;extension=php_sybase_ct.dll5 ~# A% _( E' g+ m3 S7 Z. J5 V
  921. ;extension=php_tidy.dll
    ! [- T& m7 F& f/ A9 s
  922. ;extension=php_xmlrpc.dll
    ( d* s6 d! w4 U) z' A) e
  923. ;extension=php_xsl.dll7 t( E& i5 W) N! J/ {
  924. - b# h/ U: V  f2 m
  925. ;;;;;;;;;;;;;;;;;;;
    ' A2 b# p& c6 l3 V% p
  926. ; Module Settings ;7 }- _' t/ ?$ x- \
  927. ;;;;;;;;;;;;;;;;;;;
    : Q1 e! ~- [2 J, H8 V

  928. , K  I# Y- B, D" M) n7 B% W, l
  929. [CLI Server]6 e+ z5 F% }( u' z
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    7 y/ n- @$ e) ]
  931. cli_server.color = On# X" I3 T9 n" Z$ l
  932. $ J; ~) }' g: ~$ t6 X
  933. [Date]
    3 x3 W" ]; b9 |* Y! ^
  934. ; Defines the default timezone used by the date functions
    3 p7 H# `" [8 d) ]- B( g  I/ s) R
  935. ; http://php.net/date.timezone. p9 C* c# \! s% h6 R
  936. date.timezone = PRC
    6 J  p  o6 T% U) H7 \
  937. ) {  s: g' o8 \0 D
  938. ; http://php.net/date.default-latitude
    ' N0 _/ V4 i& E/ q4 d9 L' ~8 B
  939. ;date.default_latitude = 31.7667
    + L" j+ {' P' z

  940. * q* z! h5 n6 Z# O# }& [7 _/ X
  941. ; http://php.net/date.default-longitude
    ; m6 O9 {8 m: U7 x6 H' L, l
  942. ;date.default_longitude = 35.2333
    3 b. E  G: n$ R$ q4 B

  943. ! D7 ?9 ?( t9 I/ g, v
  944. ; http://php.net/date.sunrise-zenith
    8 A" k: E) U$ Q* f
  945. ;date.sunrise_zenith = 90.583333
    $ V4 [# D" a2 R) K7 A% q4 G7 F6 s
  946. + O1 C/ _! X6 I, {: n  H
  947. ; http://php.net/date.sunset-zenith4 m; V0 ]) s' u& a  @4 X2 x8 W' r
  948. ;date.sunset_zenith = 90.5833331 L3 m7 X  q8 E; g1 k

  949. 2 j9 z% g; p! s, x
  950. [filter]
    ( }" X* H5 t: ]& }& [
  951. ; http://php.net/filter.default8 m/ e, {! r" @3 ^
  952. ;filter.default = unsafe_raw
    7 h3 Y$ r5 [- ~+ U
  953. / _( b! T2 i& S8 p5 i) G
  954. ; http://php.net/filter.default-flags
    # p+ w! e$ `' u
  955. ;filter.default_flags =
    4 N! h8 \  M! \2 @; s/ s6 P) w
  956. , p1 b8 q7 M: l6 f5 c
  957. [iconv]* E$ n6 q$ y- Q0 e
  958. ; Use of this INI entry is deprecated, use global input_encoding instead./ z" B' S( N" O
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.. p# ?1 b- H1 v" n% z1 T" R. _0 ^6 f) |
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding( c2 t2 E+ O; x5 ^* D3 F
  961. ;iconv.input_encoding =) _+ L, m" M: u, C
  962. 1 [) d3 w) T/ }, A
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.$ E0 v0 C+ W. E# Q8 R; B0 M
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.5 h  p0 r! ?* V% Z  w0 x3 `* S
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding% ~& i- N. C# X' U
  966. ;iconv.internal_encoding =
    & ~* L' G( d6 J; h

  967. 3 @* }0 J* {. a! `+ K4 |! X$ S# C
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    + t; r, l) [7 Z* ~; F! `0 V% \; N
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.+ U/ S, x2 l  g* S  u
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    5 j. ]- n% N* i6 h. p9 F1 ~
  971. ; To use an output encoding conversion, iconv's output handler must be set" m# a/ I; Z, u: Q# i
  972. ; otherwise output encoding conversion cannot be performed.( V. @; J8 `( I! I: ^
  973. ;iconv.output_encoding =
    9 |1 G2 ~7 I5 ~* S5 r2 F8 D
  974. : }/ |( K' r3 m3 k+ S- E
  975. [intl]# ]" y, c9 `# \( ^
  976. ;intl.default_locale =2 N( ~5 w+ h+ _" [
  977. ; This directive allows you to produce PHP errors when some error+ D% F* T( j; t* S# }( x- [. s% J
  978. ; happens within intl functions. The value is the level of the error produced.8 b# f2 ~0 W% }: H% L
  979. ; Default is 0, which does not produce any errors.* u9 [6 ]# f% z( E  n
  980. ;intl.error_level = E_WARNING. z/ t# W2 C; c% x4 E" y
  981. ;intl.use_exceptions = 0
    & O. A- ~2 ]; F+ X  g7 t5 T2 g

  982. 0 r' G! t' W  K8 K- f# z2 Z
  983. [sqlite3]
    $ x/ Q- M9 Q/ G9 J# i' e
  984. ;sqlite3.extension_dir =
      v! o* n0 {+ a& `" ?9 Z: P8 U3 z- g

  985. 1 m) F0 ]( u0 _- Z! Y  b
  986. [Pcre]
    * w  S% C; D! F' }
  987. ;PCRE library backtracking limit.
    - c# g0 u2 }( {0 J' K' P* e4 A/ x
  988. ; http://php.net/pcre.backtrack-limit
    / i: P  H) g  t# ^! l( h3 H
  989. ;pcre.backtrack_limit=100000, E% W* u  @5 }- ?0 K

  990. 9 z% T) A+ c6 u7 O$ v% c
  991. ;PCRE library recursion limit.+ E3 k2 ~' V8 }3 X9 |2 X  A
  992. ;Please note that if you set this value to a high number you may consume all
    4 v7 O5 u0 H% h) N( f
  993. ;the available process stack and eventually crash PHP (due to reaching the
    ) D  Y6 A" R& a1 M, Q' I+ r6 J5 V
  994. ;stack size limit imposed by the Operating System).% \0 o1 W: e) T+ g  M9 P
  995. ; http://php.net/pcre.recursion-limit% G3 j% {4 }3 l! a+ F
  996. ;pcre.recursion_limit=100000
    ( b: f3 `4 }, p& m6 N9 p! S. a* s

  997. * ^% M% }- y2 k/ d3 H
  998. [Pdo]
    5 J7 g1 U: V! u
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    3 t7 V7 q& ]8 I
  1000. ; http://php.net/pdo-odbc.connection-pooling1 S% e4 t0 m+ g6 M" N
  1001. ;pdo_odbc.connection_pooling=strict
    1 i/ P5 D/ j. m/ `5 I7 ^
  1002. 4 z  M. l* @. N# C
  1003. ;pdo_odbc.db2_instance_name
    0 N3 o' {/ C7 G: H% x1 j; j& [( }
  1004. + H7 f- @, |5 z: u  S
  1005. [Pdo_mysql]
    ; b7 I6 @' \% Y) f
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache% N& p# T- w; ~
  1007. ; http://php.net/pdo_mysql.cache_size
    9 X' w- F$ W9 V+ y4 m# l7 B2 d' N
  1008. pdo_mysql.cache_size = 2000
    # z, `- d8 P( x  Y2 g5 d9 j' `

  1009. 6 d+ o& a$ t+ j8 I5 z: ~1 B0 @
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in2 l7 r9 s  b+ j4 b) g
  1011. ; MySQL defaults.
    % B* U4 j9 W2 a9 ^2 K6 X
  1012. ; http://php.net/pdo_mysql.default-socket& R4 M! W1 ^" ?) o! Z5 a7 n1 V
  1013. pdo_mysql.default_socket=  ?1 [; [( z+ z

  1014. 4 ^/ R3 ^5 c! W4 ?; Z' R
  1015. [Phar]& z0 w9 L5 q: O1 h% Z
  1016. ; http://php.net/phar.readonly
    1 |: u( h2 Y- R
  1017. ;phar.readonly = On( \( E6 g) F1 y! `0 x

  1018. ' J; C8 N$ B, J; ?. Y7 D
  1019. ; http://php.net/phar.require-hash
    + i: o( X% ^7 M; b1 s
  1020. ;phar.require_hash = On
    8 q# n' U& V5 w( l8 b9 O/ K: x

  1021. ; V; `/ K) B% o, d9 \  q
  1022. ;phar.cache_list =
    9 C6 m& a/ q8 X

  1023. / V" g0 V5 P6 ^8 i% Q% k
  1024. [mail function]
    1 x- S+ X6 F4 N2 ]0 N  ]
  1025. ; For Win32 only.' J4 h; V" i: l* u" c, @% h
  1026. ; http://php.net/smtp
    ( F7 a$ ~* B6 w% n* Y) _
  1027. SMTP = localhost- Y5 y2 q' l, z
  1028. ; http://php.net/smtp-port2 o& O" ~% {9 n
  1029. smtp_port = 25: F# O6 q/ L7 R& v' V, Z0 `

  1030. $ D1 U: n/ v; g0 x. i7 s3 f
  1031. ; For Win32 only.5 g8 X9 M/ g% q4 P# L. L3 N6 ?
  1032. ; http://php.net/sendmail-from
    9 P# w) l: r! ^! d2 H3 f; j( L
  1033. ;sendmail_from = me@example.com& R: _6 Q, I+ ~2 |) v) f8 I- |! [
  1034. / i/ ~7 d: ?* P
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").; K# F' Y1 z) r: J3 o, w
  1036. ; http://php.net/sendmail-path
      k  g6 x: L. K
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    ) X* z0 H) t- n# I& `& C

  1038. ) O* o6 O& s# \# A
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    - ~) n% D/ Z) u) T
  1040. ; to the sendmail binary. These parameters will always replace the value of
    ; ]% ^# `. f$ ]1 j
  1041. ; the 5th parameter to mail()./ G3 t. S4 D% ]1 T: Q0 n. c' O. o
  1042. ;mail.force_extra_parameters =
    2 U6 X4 N$ ^& E/ l
  1043. ( ^- D- q. ^: Y8 ]/ W# ?0 B
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    9 n  _7 s+ W- [9 |9 d4 q+ E, v6 b
  1045. mail.add_x_header = On
    & i2 r1 E3 o# i5 K

  1046. # E) \7 G2 {" [- a& u2 Q! t
  1047. ; The path to a log file that will log all mail() calls. Log entries include/ z# i1 h( N4 V. i  e/ x/ G7 V
  1048. ; the full path of the script, line number, To address and headers., M$ w' N% n8 o5 x- r4 k
  1049. ;mail.log =
    , @3 @5 J8 f9 P2 b3 p) e+ O. A3 j
  1050. ; Log mail to syslog (Event Log on Windows).0 ]0 b$ R. @+ c2 V3 p
  1051. ;mail.log = syslog
    3 d( F8 h! w/ l/ d/ a6 n' ~  Z

  1052. ( t8 p; n3 `$ A- r; H
  1053. [SQL]
    : x- w2 k8 C( E* y
  1054. ; http://php.net/sql.safe-mode
    ( Q# U, I0 V3 F# F% V
  1055. sql.safe_mode = Off
    9 R0 G! V) H3 e8 [% G

  1056. 5 Y5 T; Y4 V) c% O, }& Z/ R
  1057. [ODBC]; x5 D; Q4 k" V) n( E2 `2 o5 V
  1058. ; http://php.net/odbc.default-db
    0 r5 z$ j) q# P$ m
  1059. ;odbc.default_db    =  Not yet implemented6 X5 b2 c8 _' a0 a

  1060. ) @+ D! N/ [) m' L+ Q- _( y0 d8 ^9 i
  1061. ; http://php.net/odbc.default-user2 J1 @$ Y1 u8 o7 D
  1062. ;odbc.default_user  =  Not yet implemented
    2 O& N5 z0 ^. o/ f' u

  1063. 6 q8 k% W" \& u! t# }4 O5 `
  1064. ; http://php.net/odbc.default-pw
    / o3 `% c. c5 n2 A
  1065. ;odbc.default_pw    =  Not yet implemented
    0 H) T$ }: @( [7 X% c# c
  1066. ; `- C/ ?8 a1 B4 O0 j) s
  1067. ; Controls the ODBC cursor model.
    : w% h5 \9 M8 U' K2 l& |
  1068. ; Default: SQL_CURSOR_STATIC (default).8 B8 G# x  S: F4 F. v* r
  1069. ;odbc.default_cursortype3 d1 `3 g. U- |. z: c

  1070. / i; o7 E) w( S7 B, |( R
  1071. ; Allow or prevent persistent links.9 _, `$ O" P& N8 }
  1072. ; http://php.net/odbc.allow-persistent
    # g, R: B7 B+ P6 u$ z. n2 d' r
  1073. odbc.allow_persistent = On
      Q, E& |+ y0 |# T" v* n) ?! b
  1074. # p* v" I9 w% W  M* t  t
  1075. ; Check that a connection is still valid before reuse.
    ( H4 W+ m; q3 Z1 g) p
  1076. ; http://php.net/odbc.check-persistent0 r" I8 g5 c2 u3 c
  1077. odbc.check_persistent = On% Q. C: g! X6 [0 ^
  1078. 1 L! X: }3 U6 ]3 N$ A& f! U+ F0 d
  1079. ; Maximum number of persistent links.  -1 means no limit.. U! `4 d" C) q5 ~5 q( M
  1080. ; http://php.net/odbc.max-persistent& f, X9 C5 E& R& j
  1081. odbc.max_persistent = -1
    7 d& k, O2 N1 s( w2 ~9 r

  1082. 1 q+ f# k7 N* u* O  \
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    & r9 K2 O. C+ }4 {/ A# a
  1084. ; http://php.net/odbc.max-links
    7 a: e4 p" j( ^9 N
  1085. odbc.max_links = -1& i5 J! ]" ~' d1 L8 R: Q$ d9 G

  1086. + E( ^3 ^  _. F  C; h; s# Y8 G1 O
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means+ Q0 I  r6 z* G' X+ }/ \* `
  1088. ; passthru.
    " l4 X- J  A7 X6 N: C4 T
  1089. ; http://php.net/odbc.defaultlrl
    % D  B4 q5 j7 X, B/ d6 ]
  1090. odbc.defaultlrl = 4096
    , l7 F2 w  \$ i$ B4 y6 m  z! N1 F
  1091. - g. `* U& |& t& ^
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    " r9 R% D* d/ W+ i  T0 h7 G( L
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    3 L9 z9 C$ c- V; [- |7 n; [
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode2 j0 t1 R8 X* _
  1095. ; http://php.net/odbc.defaultbinmode
    1 P& F; Z! s2 N) P% s8 m1 Q% n3 Y
  1096. odbc.defaultbinmode = 16 g$ {6 Y1 [7 Q' ^+ Y) _, |" W

  1097. 3 l4 j5 C3 J6 v- ~/ [2 E
  1098. ;birdstep.max_links = -1
    ) v, S! ]! S. ]
  1099. 5 W. ]. {  F2 h9 T" _
  1100. [Interbase]! z! Q4 I( @8 d$ I, X9 F
  1101. ; Allow or prevent persistent links.
    ( c0 N* _3 C7 _0 F
  1102. ibase.allow_persistent = 1
    - u$ I. B9 M; j' v2 E8 R- ?$ j
  1103. 0 U: j0 J8 l5 @# C% H; K
  1104. ; Maximum number of persistent links.  -1 means no limit.
    / u$ H9 v" Z' |1 c
  1105. ibase.max_persistent = -1
    , e6 y* ^. S6 D' h1 M
  1106. 9 L& x4 T2 ]0 [
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    % F/ u- K$ ^( Y9 f
  1108. ibase.max_links = -1
    9 j! t3 z- R+ _0 L: b9 j) |
  1109. 5 r0 F3 g/ J0 _+ C8 s: m
  1110. ; Default database name for ibase_connect().% S, s7 `  t; }; O
  1111. ;ibase.default_db =
    8 @* a# R, X" R& D' @# R. F/ G
  1112. 4 x6 N! T. n6 ~0 X3 r6 t
  1113. ; Default username for ibase_connect().3 S0 K- t% s( |4 P
  1114. ;ibase.default_user =
    / N0 a, S/ y9 G, j+ ?' a
  1115. ' I' J  V! L4 d0 i
  1116. ; Default password for ibase_connect().
    0 P/ P+ A* @8 ]
  1117. ;ibase.default_password =
    - ?* Q( v! l! y3 ^
  1118. & T1 e! h# E/ u! F
  1119. ; Default charset for ibase_connect().. {! d7 u; @, _% r1 m4 ?- f5 |
  1120. ;ibase.default_charset =- K2 W4 O, m$ y" d1 ]9 }
  1121. 7 [) \3 U/ z, g& k+ I  f2 J) X) H
  1122. ; Default timestamp format.
    3 |. Q8 c, K) Y$ e2 u7 W
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    : v6 S4 Z- o4 k; \

  1124. # a1 h+ q  x' m
  1125. ; Default date format.8 j: F9 H2 Q7 ]" j2 z7 I
  1126. ibase.dateformat = "%Y-%m-%d"
    0 s/ N( Q% V2 z( C

  1127. / f' y4 G; X2 \/ L: K3 J2 L, K# f
  1128. ; Default time format.# a0 Y4 M: j5 O+ h+ M
  1129. ibase.timeformat = "%H:%M:%S". f/ O2 a% R4 w2 T! _# M
  1130. & r& \5 W  ?" f3 ^. S
  1131. [MySQL]* t: H( `# I6 d& s+ H
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements9 m& w3 {) U+ O( q* O) w8 v, v2 D) r
  1133. ; http://php.net/mysql.allow_local_infile0 n  @9 p! B' `7 w1 d6 w. v  ~
  1134. mysql.allow_local_infile = On
    2 [! v4 n2 Z9 Q! l/ a% g$ u. o- f
  1135. 6 i1 t( S( @9 s+ z
  1136. ; Allow or prevent persistent links.) V( i) y. h% y. y+ }5 ~  J  I
  1137. ; http://php.net/mysql.allow-persistent, S0 G, K. h) A' n3 B
  1138. mysql.allow_persistent = On9 F8 ^$ @/ z0 O
  1139. , ~# K* Y. Z4 Y' ~
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache, o7 ^* @4 }; c2 k
  1141. ; http://php.net/mysql.cache_size, a& D6 t( ]* L& o
  1142. mysql.cache_size = 2000
      [+ k9 d! W, |( |2 e+ P) {; C, w

  1143. % A/ w0 \! R+ Z* [# l) d- _
  1144. ; Maximum number of persistent links.  -1 means no limit.
    ( H% h) w2 m; b0 k
  1145. ; http://php.net/mysql.max-persistent" T3 h$ V3 W( f- U- [& r
  1146. mysql.max_persistent = -1
    6 r" f- B& ]( p+ m9 n
  1147.   x8 N/ i& b7 v& I( U
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ; n  Z" n$ w- c( b1 _+ z8 |( D
  1149. ; http://php.net/mysql.max-links
    6 ^7 p' S# P+ [/ m
  1150. mysql.max_links = -1  P" x8 ?! p- w9 d# K  F

  1151. , o8 s# ~/ k% l( k
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use3 N) ?0 U6 g) F
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the. q2 j" q$ E/ }( A+ l
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look9 I2 b: T) w4 f
  1155. ; at MYSQL_PORT.
    3 T* j! T- [5 S; Z
  1156. ; http://php.net/mysql.default-port  _- u& k0 \+ x3 D" q* S  J
  1157. mysql.default_port =
    + |8 h* P0 c7 H6 }

  1158. - t" ?, |8 w/ [3 B/ l' `
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    : x6 R; y2 A: F- ?, A% [
  1160. ; MySQL defaults.  m) t) g' ~% C
  1161. ; http://php.net/mysql.default-socket9 V3 r5 S+ g& b. h: g) N- S
  1162. mysql.default_socket =1 l  H" m, |& Q9 ^. q  {# u3 m
  1163. + j8 d* z! X) M
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    ! T) a) W4 Y' R) O% O, {: V
  1165. ; http://php.net/mysql.default-host
    9 G5 p* a# {! }" {) W7 L
  1166. mysql.default_host =
    8 X0 _& |& D6 D3 a# n) ?1 j

  1167. 8 s8 m* S! i- C
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    9 o- ^& [. M0 `8 S+ b) ^
  1169. ; http://php.net/mysql.default-user
    ; J! D1 T6 W+ s, @$ u* M; Q
  1170. mysql.default_user =  D6 o. r8 V, S- d9 I
  1171. % k: y7 O- a+ D- r# k( {2 h
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).5 r; y+ P, H) D/ e! a  h
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    ; o4 @4 G$ {  p) v2 y& p) S  [
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")6 [4 a9 m6 j' F: c" c
  1175. ; and reveal this password!  And of course, any users with read access to this) N; M. ]! c: j% C6 f7 P% d
  1176. ; file will be able to reveal the password as well.
    . f. N' w8 t' G6 d  l
  1177. ; http://php.net/mysql.default-password6 v' q: i+ K  r+ g
  1178. mysql.default_password =/ T: Z8 J- X* a$ R* {
  1179. & e: i# {9 n9 W- t# i
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit: ~% i2 Q" ?* b
  1181. ; http://php.net/mysql.connect-timeout8 S- \4 O/ l& _1 c9 J, P4 t, [5 S% j
  1182. mysql.connect_timeout = 60
    ; v9 g% e5 N2 p( f1 D9 r# l

  1183. 0 n* u2 U+ o" E; Q$ b9 J8 ?; k
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and8 f* X# O* ?% y9 A; U
  1185. ; SQL-Errors will be displayed.8 ^2 K' Q' P$ l$ @! V
  1186. ; http://php.net/mysql.trace-mode
    9 I+ f5 R0 L* J0 |7 q: |
  1187. mysql.trace_mode = Off: D6 Z6 F! @0 {
  1188. ( |& `, D" L+ M' @; L: z
  1189. [MySQLi]/ j# P( o- U4 ~
  1190. 9 q  F1 I" E+ O3 c. T% u" |3 B
  1191. ; Maximum number of persistent links.  -1 means no limit.) z5 K; x" K9 |" Z
  1192. ; http://php.net/mysqli.max-persistent. z& C9 Q! N. `- e
  1193. mysqli.max_persistent = -18 ^3 C  L3 c- r6 r3 n
  1194. : P( z5 m( h: `! u7 N
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements, I. W8 j- g  X
  1196. ; http://php.net/mysqli.allow_local_infile
      m0 ~  f- a* \1 x
  1197. ;mysqli.allow_local_infile = On/ [  r5 w# z+ _

  1198. ! r  ]# \# z: ~& `9 h- c* b- d+ E3 ]
  1199. ; Allow or prevent persistent links.6 S4 L  R6 K6 q1 m9 N* H
  1200. ; http://php.net/mysqli.allow-persistent' n9 g3 F5 K5 j  l+ g$ F5 f4 V
  1201. mysqli.allow_persistent = On: \2 ^4 G+ G0 [7 v7 P- ]- m

  1202. 8 h$ R! n" E3 E/ U% n% q; L
  1203. ; Maximum number of links.  -1 means no limit.
    6 A1 K1 i% R0 j2 q" s: F
  1204. ; http://php.net/mysqli.max-links6 _* h) ^; w6 ~/ U& d8 y
  1205. mysqli.max_links = -1( v2 C# I8 Y! x) t+ r
  1206. 2 M: q+ T' ^  m$ k
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache" r+ m8 F2 I: ~: G& G) m
  1208. ; http://php.net/mysqli.cache_size& L) @0 v9 T# Z
  1209. mysqli.cache_size = 2000, S$ c  l4 ]# Q. C. p5 l+ z0 z

  1210. * [& M, ^( l5 L8 c5 h
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use  Q5 [. y1 `3 D1 i3 ^
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    & B  _2 l, b8 m' w- ^
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    3 n& Y' }  A6 @: j! |
  1214. ; at MYSQL_PORT.
    " {, M/ P( ~7 [& i1 {* }: o
  1215. ; http://php.net/mysqli.default-port! C# g2 |( g$ ^% X+ R4 D5 D
  1216. mysqli.default_port = 3306
    * z6 |5 ^( P4 q) }
  1217. % }6 U" ~% W) B' z3 k/ u! [' c
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in- c1 [7 H& t( Z+ T1 S8 ?1 D" j; D
  1219. ; MySQL defaults.( J3 f' [0 |: t7 F. E& B( [  Z3 @9 ]! w
  1220. ; http://php.net/mysqli.default-socket
    ; ]0 W- q* S/ ?% E+ r1 \& \. Q
  1221. mysqli.default_socket =
    - H4 J: z- |; Z& H: ^! ~3 D- F
  1222. ! f# `$ d0 f" m# H5 {
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    $ j" g5 ^2 a( W
  1224. ; http://php.net/mysqli.default-host
    2 G3 `% ~. d1 E
  1225. mysqli.default_host =
    1 @: L- e1 Z+ V

  1226. : x  U* u# P' s0 T
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).' f, l+ d. t# q6 M% k1 x1 W- `2 Y
  1228. ; http://php.net/mysqli.default-user
    # _- f  I9 g1 V0 j
  1229. mysqli.default_user =
    9 _% L- L  t+ J4 V) [! S  n
  1230. - b' A' r5 h8 O+ s3 q
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).- X& y7 ~# b9 n# r8 F% P$ [
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    ! @1 g; F2 M7 M" j
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")5 O. o" e3 p% v" z
  1234. ; and reveal this password!  And of course, any users with read access to this
    ) W% ^) C4 K9 n1 T
  1235. ; file will be able to reveal the password as well.2 _& Q' Z. B: j
  1236. ; http://php.net/mysqli.default-pw
    ; F0 X, H. n, h: D9 h
  1237. mysqli.default_pw =
    ) G! ?+ x5 Q7 m1 |5 v& D# ?9 e1 [$ I

  1238. 3 U6 P9 x- o1 X4 W* u
  1239. ; Allow or prevent reconnect/ J  x; ~* F; |! J: |4 [' i1 o
  1240. mysqli.reconnect = Off
    - K1 ]- y3 m! P& Y

  1241. ( k! Q# [9 `0 o- S0 h+ x5 w
  1242. [mysqlnd]; J! ~8 C. P" i7 Q6 @6 q9 `
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be( c6 q8 R$ P# p# V
  1244. ; used to tune and monitor MySQL operations.5 d. W" L# j& W: X# ]( O; @
  1245. ; http://php.net/mysqlnd.collect_statistics
    . Q( a( ?0 \# t! [; G6 ?5 |
  1246. mysqlnd.collect_statistics = On
    : c5 n2 @: ^# E6 m( H

  1247. ) F4 U% Z/ D8 I1 W% K
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    7 A) x* I6 m) m
  1249. ; used to tune and monitor MySQL operations.
    , _: Q3 |. ]  x9 q7 {6 [
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    " o$ Y' N& P+ u: L
  1251. mysqlnd.collect_memory_statistics = Off
    7 m+ d4 M0 \* z
  1252. 9 B6 [% X# }/ k3 E# T
  1253. ; Records communication from all extensions using mysqlnd to the specified log' I, D( I" c2 p' [$ n
  1254. ; file.
    : T1 L" R4 p* {7 q. b" r% ]; Z
  1255. ; http://php.net/mysqlnd.debug- _2 V$ \+ i: b
  1256. ;mysqlnd.debug =/ D5 O: c& G! k0 ^) ~

  1257. : n1 {# m# C/ Q' ]
  1258. ; Defines which queries will be logged.
    3 X+ n6 B+ O  I( j
  1259. ; http://php.net/mysqlnd.log_mask+ j7 _' p/ E6 p" \, k+ Z& I" n3 p5 A
  1260. ;mysqlnd.log_mask = 03 Y4 M- l' ~+ C! a

  1261. 7 d9 P1 p5 Q  M/ f
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    ; x: m7 g$ S+ ^  n% ^8 u! X5 ?
  1263. ; http://php.net/mysqlnd.mempool_default_size5 Y% ^4 ~4 V+ _  m
  1264. ;mysqlnd.mempool_default_size = 16000
    . e  }- ?8 k8 p2 a

  1265. 9 P4 V/ q# ?# Z1 ~5 v
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    5 w+ `& ~4 F9 o# [
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    ! U1 z' O% ~1 s" K+ a2 q6 r
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
      `" G, g( T1 q5 {9 C
  1269. 3 O* T+ z# ^9 }' Q9 \* E4 W
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    $ A# R6 p7 d1 M6 O* i3 p0 U
  1271. ; bytes./ a; E& l% X: p( v' g' T8 G0 t& A! }
  1272. ; http://php.net/mysqlnd.net_read_buffer_size( |* Z1 [) l6 Z5 A. Q+ B5 p4 X9 [
  1273. ;mysqlnd.net_read_buffer_size = 32768
    3 w3 m3 `) f2 v

  1274. 3 \+ n. q) C3 D5 Z; @6 x
  1275. ; Timeout for network requests in seconds.# d0 b, ^* \, P4 j8 N! Q* l
  1276. ; http://php.net/mysqlnd.net_read_timeout/ o4 `  X% f+ i0 r
  1277. ;mysqlnd.net_read_timeout = 31536000
    ; j2 U( U  {" u7 @' X
  1278. : d. B7 s# O& J: N% w
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA. t' h2 w' W% v9 D
  1280. ; key.
    ' z8 o' l. o3 b9 V6 s" K3 r; P4 K
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    / U  ?* a3 q' F0 |& [
  1282. ;mysqlnd.sha256_server_public_key =& M" l. I) T' a, [4 g' u
  1283. 2 V; J( w: Q* V
  1284. [OCI8]$ E& N/ I4 b1 d% ^  M6 }

  1285. ; r5 F) T1 U6 ^2 O- c
  1286. ; Connection: Enables privileged connections using external
    / _! Q0 }5 O- B$ f- x5 [/ a
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)- ]0 Z2 R6 F( ?2 ~. A5 u5 s% o
  1288. ; http://php.net/oci8.privileged-connect: `2 p5 _# |" k) R
  1289. ;oci8.privileged_connect = Off
    ! p  Y; |$ b: \$ V0 |/ R$ U
  1290. 0 ~4 c; Z. t- v
  1291. ; Connection: The maximum number of persistent OCI8 connections per' y: i6 v# f- a4 [5 r, D
  1292. ; process. Using -1 means no limit.
    ' [9 E4 S+ k$ r( P  [; w
  1293. ; http://php.net/oci8.max-persistent
    ' ^) G# @$ X! M: H$ \3 Q
  1294. ;oci8.max_persistent = -1
    ( Z1 \2 I; J7 L. o* a& r- `

  1295. 6 m5 c+ O! }! E
  1296. ; Connection: The maximum number of seconds a process is allowed to
    - c2 w' ], f9 F" `5 `- c3 Y) z
  1297. ; maintain an idle persistent connection. Using -1 means idle
    * m" I* |' n+ Z
  1298. ; persistent connections will be maintained forever.
    " t$ r( T+ M5 Z$ ]+ W# F9 O* E
  1299. ; http://php.net/oci8.persistent-timeout
    0 z& I( A' s, O. A% ]
  1300. ;oci8.persistent_timeout = -1
    , J5 E& X: U6 @
  1301. 7 I. t1 G, I% d/ I/ N
  1302. ; Connection: The number of seconds that must pass before issuing a) N+ d0 C% O' K  O0 p9 D. [
  1303. ; ping during oci_pconnect() to check the connection validity. When4 Z7 |% }' O- w% Q
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    ; _' C& q! W* [+ B' k
  1305. ; pings completely.  T1 V3 E" L. H; _# U9 b' x
  1306. ; http://php.net/oci8.ping-interval
    3 ^# u7 I7 ~# [2 K
  1307. ;oci8.ping_interval = 608 _/ c" n1 s) t8 x! `& U2 H. E

  1308. ; X6 U( p: O! e% c$ M. U( N
  1309. ; Connection: Set this to a user chosen connection class to be used3 `+ S* W" y" M- W
  1310. ; for all pooled server requests with Oracle 11g Database Resident! O( t( u1 I: x, y: e, w
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to$ [8 w! y2 r( E7 |3 [
  1312. ; the same string for all web servers running the same application,
    # e8 M6 E% m' D" M1 b- x
  1313. ; the database pool must be configured, and the connection string must; [( n% X7 C8 s+ I
  1314. ; specify to use a pooled server.2 a) |  Z+ Z2 g. Y
  1315. ;oci8.connection_class =6 F% R0 u/ H* `- Z0 w3 \: ~' y
  1316. / E! f. J9 x& b, V9 H
  1317. ; High Availability: Using On lets PHP receive Fast Application
      ?" ?3 W; `2 E2 f' e, t
  1318. ; Notification (FAN) events generated when a database node fails. The0 [, ]- S/ Q+ a, L. d7 \
  1319. ; database must also be configured to post FAN events.$ D! {: K  T5 @
  1320. ;oci8.events = Off( U" n; B4 y1 B  p/ V0 x* R
  1321. 8 h+ O. N6 T& k; z
  1322. ; Tuning: This option enables statement caching, and specifies how
    6 B! h. k4 Y, \# s6 k
  1323. ; many statements to cache. Using 0 disables statement caching.
    7 m  [* i! N( c% a9 |; Q9 A5 a
  1324. ; http://php.net/oci8.statement-cache-size
    ) ^+ a; @  n3 a
  1325. ;oci8.statement_cache_size = 202 V3 z2 r5 y; N+ P4 {' T' ]

  1326. ! q% G7 D/ L0 `2 r1 r
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    # ^+ E8 |' @) Z  ?8 i- D  ?
  1328. ; rows that will be fetched automatically after statement execution.( i' B' V" M/ I$ Z+ k
  1329. ; http://php.net/oci8.default-prefetch4 N( j- n* \! y6 i: U
  1330. ;oci8.default_prefetch = 100
    * S7 ~; d# ?2 w! [

  1331. / e  k' P1 F- \
  1332. ; Compatibility. Using On means oci_close() will not close
    ; ^* F2 S9 ^1 W. Y* E! N8 v$ q/ i! K
  1333. ; oci_connect() and oci_new_connect() connections.3 M  a7 A: \# a7 {
  1334. ; http://php.net/oci8.old-oci-close-semantics8 j( d3 v, J8 n) C
  1335. ;oci8.old_oci_close_semantics = Off+ `4 P8 d+ b6 w, R

  1336. , m/ z% H" ~2 `/ a5 g
  1337. [PostgreSQL]
    - }; l4 Q# a8 @& ~! ~9 V
  1338. ; Allow or prevent persistent links.
    6 \; N7 ]4 D0 R5 Q* W0 j$ N+ W3 Q
  1339. ; http://php.net/pgsql.allow-persistent
    8 k/ a' J( p# H$ J  O1 Z. p
  1340. pgsql.allow_persistent = On: U) w7 y- ~2 g5 M8 ~; r# e

  1341. ; j0 G3 I9 O- r/ M
  1342. ; Detect broken persistent links always with pg_pconnect().6 _9 O) |7 [2 Z# D+ h; ]
  1343. ; Auto reset feature requires a little overheads." S  y! ?7 A& m3 P* ^6 S3 f4 m
  1344. ; http://php.net/pgsql.auto-reset-persistent
    $ ~& J! I; K9 i* a
  1345. pgsql.auto_reset_persistent = Off2 |! n3 n. d" B  v' [# K, M/ M3 o
  1346. ) _3 W( g7 U4 B) l  a/ Z
  1347. ; Maximum number of persistent links.  -1 means no limit.: e  H8 V8 A1 ]9 T- I+ Z8 j- F
  1348. ; http://php.net/pgsql.max-persistent
    ( c. e8 x9 o7 S
  1349. pgsql.max_persistent = -1
    - j0 t8 h4 g1 A* j5 O
  1350. : c% w1 M5 ^8 W; n
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.! O& [. C* E1 |' c( G: I+ A
  1352. ; http://php.net/pgsql.max-links
    + x8 _" n9 z5 c: A# g
  1353. pgsql.max_links = -1( M6 g( }) w9 I0 G
  1354. 9 C# @% U% J1 Y5 z: S) i' \# M  Z
  1355. ; Ignore PostgreSQL backends Notice message or not.& N# F% o' v6 D7 W2 I+ `
  1356. ; Notice message logging require a little overheads.
    ' B; ]/ N5 E3 [( P# |; m1 ?
  1357. ; http://php.net/pgsql.ignore-notice
    . M/ v$ v. n$ `2 Y. Z
  1358. pgsql.ignore_notice = 0
    ) V) D9 i8 C; z0 q6 N* o0 z

  1359. 0 G1 n5 E  ]9 d* s* v
  1360. ; Log PostgreSQL backends Notice message or not.; \. c& t" e$ Q+ `0 L4 I& u: n/ o
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    , C  }8 m9 }# ^5 ~2 d- b: E
  1362. ; http://php.net/pgsql.log-notice+ U3 x7 Y$ S: @3 Y
  1363. pgsql.log_notice = 0% h6 _! O+ W1 C' a, I: Q) k

  1364. 4 D; X, |! k* Q7 H# g
  1365. [Sybase-CT], }3 y3 h' Q$ i& s- B& y/ m& P
  1366. ; Allow or prevent persistent links.
    1 G; ?  a$ F9 Z. @, x, Z. {3 J
  1367. ; http://php.net/sybct.allow-persistent4 ?) |& a# T, ~" ]3 B1 Z
  1368. sybct.allow_persistent = On) C& v% e1 C% i+ \' {+ G9 y# X

  1369.   m7 [8 i+ g, T
  1370. ; Maximum number of persistent links.  -1 means no limit.
    * [" V) A( H1 @( o8 ~& g/ i* A: Q7 c
  1371. ; http://php.net/sybct.max-persistent
    8 }% z& h; ~) ~
  1372. sybct.max_persistent = -1
    + S& a2 O" j# w
  1373. " ]2 q( d* z5 |1 C5 U- a! H
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.  ^# H$ M+ I& u" K9 z! n2 u
  1375. ; http://php.net/sybct.max-links3 Z# a2 n$ p9 E) g
  1376. sybct.max_links = -1
    9 a; g1 t3 A* X$ Q* E2 C$ C6 [

  1377. 9 ?$ f- k0 L4 C) j; P6 i5 J0 `
  1378. ; Minimum server message severity to display.' ]" m/ s+ c9 x8 p7 x
  1379. ; http://php.net/sybct.min-server-severity
    ) j" X5 \7 `, Q/ T" N6 o. c/ n0 Q
  1380. sybct.min_server_severity = 10& z1 Z. ?/ Z- s; D! H
  1381. / [0 w: n( U; o! H
  1382. ; Minimum client message severity to display.9 f6 z$ Z3 l- W# a7 [+ k# s" \( s% `* t9 ~
  1383. ; http://php.net/sybct.min-client-severity
      D$ X' z) a! Z0 z  S5 \% I; X
  1384. sybct.min_client_severity = 10( I* Y3 a( W6 ~3 H

  1385. $ i* T) ]" T* M1 s( ]% C& [
  1386. ; Set per-context timeout) B1 \+ ?# |4 t
  1387. ; http://php.net/sybct.timeout
    : o1 Z) p' x, D1 t# J3 J" [
  1388. ;sybct.timeout=
    ; y5 K2 h: U9 R1 V* |

  1389. " c3 F) V. R% ^
  1390. ;sybct.packet_size& ~( U5 k3 U( u- [: E6 t% A) W9 u

  1391. ( t4 q# r6 d. f: }
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    ' o7 i9 b$ X9 h9 Z* r# m& G
  1393. ; Default: one minute
      {# X9 o0 x: S( p/ l
  1394. ;sybct.login_timeout=* c3 G5 h4 a! a% q+ p( C  A

  1395. . F( ]# v: l, g) j) U' ^
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    ! h6 P6 Z0 i" u% ]2 i! L+ b" q
  1397. ; Default: none
    ! V  r8 e. A* e+ E! U
  1398. ;sybct.hostname=, i. B/ A# D4 `! T1 O/ V6 _

  1399. . S; R3 p/ H$ R& x% M
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    4 m2 u/ d- A) V$ D, p
  1401. ; Default: 0
    9 \3 X$ f$ \- p, H& @
  1402. ;sybct.deadlock_retry_count=% a  B3 K5 D  s; k3 A

  1403. 1 |3 c0 |8 t5 v2 Z
  1404. [bcmath]) j( g" M( }3 k% D$ R2 O
  1405. ; Number of decimal digits for all bcmath functions.
    7 k  `4 n9 t7 x7 }, a
  1406. ; http://php.net/bcmath.scale
    * i  f( d$ I- M, B7 ?) G
  1407. bcmath.scale = 0" ]2 D/ f" H8 T! W' n$ }: I& e; q

  1408. # z: [! p3 C9 q: s# k  K7 L& C
  1409. [browscap], a$ H9 ?. J7 x  M# C# M
  1410. ; http://php.net/browscap5 |- I6 c) y1 \: @: ?8 G# w/ B
  1411. ;browscap = extra/browscap.ini" k# k& S2 V. V
  1412. / d$ e- L# K6 b
  1413. [Session]4 H) J2 ?7 X1 s* g. @% v
  1414. ; Handler used to store/retrieve data.
    6 n( P5 o$ ~8 Y  V! a
  1415. ; http://php.net/session.save-handler
    , }  D5 D( F9 b& {
  1416. session.save_handler = files% a1 c) p7 l. q
  1417. & \7 C/ `/ R7 H+ \' ?1 X, i
  1418. ; Argument passed to save_handler.  In the case of files, this is the path) m3 x3 }5 j! R1 `2 r6 p; P
  1419. ; where data files are stored. Note: Windows users have to change this
    $ S% W7 e$ H3 n
  1420. ; variable in order to use PHP's session functions.* b3 ]0 E) Y) L3 W5 F
  1421. ;7 q3 |4 g2 t; C* m' h2 l
  1422. ; The path can be defined as:
    4 j1 P. V" M' V) k* v4 `' s
  1423. ;  P$ y" r% \# n5 ?, C) P8 ]
  1424. ;     session.save_path = "N;/path"
    3 `9 w1 {; w+ ?/ P6 R- k
  1425. ;9 }" u5 l* r0 {. d* y/ N
  1426. ; where N is an integer.  Instead of storing all the session files in7 L, [6 m' o) V& T" |
  1427. ; /path, what this will do is use subdirectories N-levels deep, and7 O5 n5 w& @0 S0 z6 H: y1 A0 K' v
  1428. ; store the session data in those directories.  This is useful if* P$ O+ `# `( H2 f& s, I. D  b5 s
  1429. ; your OS has problems with many files in one directory, and is
    ) G0 k6 z3 P1 l* y6 `
  1430. ; a more efficient layout for servers that handle many sessions.* X3 @( ~- k5 j% x
  1431. ;9 Y& P% w5 @% L- B  X( Q, o
  1432. ; NOTE 1: PHP will not create this directory structure automatically.: b( `2 ]* G/ x8 C8 E) N! }( G
  1433. ;         You can use the script in the ext/session dir for that purpose.
    2 f2 p, r2 S$ @7 `
  1434. ; NOTE 2: See the section on garbage collection below if you choose to1 w: g3 n- _0 o. Q/ H) j
  1435. ;         use subdirectories for session storage
    7 ]8 v# V. t- s$ H. @9 x! v
  1436. ;
    / ]# B  h- G9 o1 u, E7 }2 L* _
  1437. ; The file storage module creates files using mode 600 by default.
    # p+ L) E4 o1 `5 e
  1438. ; You can change that by using) p: L+ g0 R5 f4 g6 P; S
  1439. ;1 P+ z5 ^: v0 q# F6 o; v
  1440. ;     session.save_path = "N;MODE;/path"6 _/ `- f4 x0 S2 x. U
  1441. ;
    5 g( ^, M, j! ?, J* u4 \
  1442. ; where MODE is the octal representation of the mode. Note that this' G4 }. j% v0 ^* Y9 }, t
  1443. ; does not overwrite the process's umask.
    4 |+ {1 x4 k) }
  1444. ; http://php.net/session.save-path. A5 O, D0 M' R
  1445. ;session.save_path = "/tmp"6 X6 P  V) o* E$ [  i: w$ f

  1446. 9 p* F. ~) l$ f' k& h9 u1 q$ U
  1447. ; Whether to use strict session mode.1 U/ u& C! q7 _. H# C
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    4 h! I( C2 O4 q. r# S
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    * h& B1 n* u0 R* g8 }1 k
  1450. ; applications from session fixation via session adoption vulnerability. It is
    6 v& [8 s; G2 x0 |3 l- O
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    6 r2 ^! r$ Q  E& j7 G' A  X5 L
  1452. ; https://wiki.php.net/rfc/strict_sessions
    % l' w! N% i; W7 s$ k8 U+ q
  1453. session.use_strict_mode = 0. d9 |& t, r. Y2 }- d! \
  1454. $ w4 ]9 ?0 p# E5 V8 t/ f7 }
  1455. ; Whether to use cookies.4 b3 W6 ^7 B6 D5 u: w3 Z
  1456. ; http://php.net/session.use-cookies
    & t" Q) C! X$ V0 y
  1457. session.use_cookies = 1
    / U! I' B# \# y$ A) G0 v5 x1 G

  1458. 8 J4 o2 F$ W; y: g/ B. D: E
  1459. ; http://php.net/session.cookie-secure
    5 V# J1 ^0 P+ l0 m' L
  1460. ;session.cookie_secure =
    % G. A: A2 q0 j- `2 b# j. d6 _( e

  1461. . y' K' y2 M$ [; z2 w0 @7 [$ ?# d
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining  c; ?: H! R$ _6 P
  1463. ; the session id. We encourage this operation as it's very helpful in combating  s6 d) O/ C% D, S' u  x
  1464. ; session hijacking when not specifying and managing your own session id. It is
    # [2 Z& x, |/ k, W7 v
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.8 Q; K7 b# R  {4 A
  1466. ; http://php.net/session.use-only-cookies* ]$ S9 U) s/ s5 q. G4 D
  1467. session.use_only_cookies = 1
    5 b3 O6 r' Y. G7 i4 k% |% j

  1468. , k$ I" ]* Z8 A
  1469. ; Name of the session (used as cookie name).. E$ N9 b6 p# y5 s( `6 n
  1470. ; http://php.net/session.name
    - F. k/ ~) n$ U& K) q
  1471. session.name = PHPSESSID. [2 ?) {* @8 R1 n# j. I

  1472. ; p! Q- C4 X' \$ o0 T, \3 n
  1473. ; Initialize session on request startup.( ]! b: k! b2 f9 I+ r4 {
  1474. ; http://php.net/session.auto-start% e% L: _0 h* x
  1475. session.auto_start = 0& G9 c# ?  l- w

  1476. 2 `. i0 f$ P- r
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.4 p& U3 j9 x& c; t1 `
  1478. ; http://php.net/session.cookie-lifetime
    # N9 `- P' \% O; G: k
  1479. session.cookie_lifetime = 0
    ) V5 N2 }: o8 k' e

  1480. ( l, m8 M$ ]! R, n
  1481. ; The path for which the cookie is valid.
    # h/ K+ T6 A- \- j8 Q; ^" v0 S2 B
  1482. ; http://php.net/session.cookie-path
    5 V5 Q: K0 n  \+ R; Q. q
  1483. session.cookie_path = /
    9 P+ ?5 U' S3 p
  1484. . a$ w# M; F6 Y5 [* m
  1485. ; The domain for which the cookie is valid.. \$ w9 S# L& U7 k& H+ v
  1486. ; http://php.net/session.cookie-domain! T# f7 m9 D8 i/ b2 e
  1487. session.cookie_domain =
    ' `* b6 V9 z3 ^& a/ j# ~

  1488. 2 }) k$ |: J, J+ S) z' a( p
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    3 G1 B4 R& G/ g$ J- t$ L
  1490. ; http://php.net/session.cookie-httponly
      y3 r; w/ b1 H- i1 Y2 Z# g; n5 y# i
  1491. session.cookie_httponly =5 z5 u: {  {) a3 k
  1492. 4 H2 N5 p7 k6 R% v3 J8 d6 R
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    & _& ~- C3 B9 T' Q: C
  1494. ; http://php.net/session.serialize-handler
    0 ]1 n! `9 E; K; U2 V# R$ T% d
  1495. session.serialize_handler = php
    7 c9 U0 ^# ^/ T. X  J
  1496. " v5 a6 u5 B2 w
  1497. ; Defines the probability that the 'garbage collection' process is started8 p/ x9 Z4 t7 u
  1498. ; on every session initialization. The probability is calculated by using
    4 P! ?$ Y- n! r. c& d# Q5 P
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    + \5 x% c2 E) C1 H; p
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 17 A* d; [" t- Q& Z
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    2 X) }; u7 O% D
  1502. ; the gc will run on any give request.
    / b+ O0 b9 v. K1 I
  1503. ; Default Value: 1( d8 m% n0 `2 ^+ o2 e, N8 s
  1504. ; Development Value: 1
    # c  x1 ?4 ~5 [+ L! [5 Z# C# j
  1505. ; Production Value: 1
    : w, y3 m2 P/ k5 q( N
  1506. ; http://php.net/session.gc-probability
    5 N* Y; R0 T8 {" u9 Y& T9 e
  1507. session.gc_probability = 1
    / H! ^' W  t) W+ @

  1508. + ]7 e  w/ h4 j2 j; p
  1509. ; Defines the probability that the 'garbage collection' process is started on every& ]0 |/ ~3 d  b1 \5 W% ^8 b( W
  1510. ; session initialization. The probability is calculated by using the following equation:8 x+ p9 k7 x" p- m
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    7 _$ c% A( i$ [( Z
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    8 K; \* {8 S7 E! A
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance" H6 H9 I6 l( G- f3 ^
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
      R  F1 u# [0 B: c( p
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    & |/ k9 u2 g3 k2 Y1 d! m3 w
  1516. ; this is a more efficient approach.* L* z; c: ^! A$ p3 w
  1517. ; Default Value: 1001 _5 @+ i3 a( d4 Q) b
  1518. ; Development Value: 10009 }8 U2 I# _7 L5 B8 x4 `
  1519. ; Production Value: 1000
    / D* T) \9 J/ c$ v
  1520. ; http://php.net/session.gc-divisor) v7 \, V; T5 K2 o3 y
  1521. session.gc_divisor = 10008 y3 o' M. p# u2 C7 e8 s( T

  1522. * h& s/ O  Y5 f; j7 c
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and5 \7 }( [, p2 p5 d: F/ ~& L, o
  1524. ; cleaned up by the garbage collection process.
    3 H9 l6 V6 B3 s9 _) t
  1525. ; http://php.net/session.gc-maxlifetime, r: x0 f3 I! e7 c. h
  1526. session.gc_maxlifetime = 1440
    ' C; Z' y2 A% M  C' B. q: d
  1527. ; H$ m% y" h0 |& G; }
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    $ c; K, J9 r9 F' {% U( ^
  1529. ;       (see session.save_path above), then garbage collection does *not*
    , _. [3 S# W- F8 D9 Q& \: j- p5 C
  1530. ;       happen automatically.  You will need to do your own garbage
    5 ?0 L; q1 a9 c' R
  1531. ;       collection through a shell script, cron entry, or some other method.
    , o- v7 k# Q3 N( F1 \/ ~  k
  1532. ;       For example, the following script would is the equivalent of7 Y8 N. V6 p% x  Q" }
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    ; D2 G9 D: u5 i: N1 B: @1 l
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm% u% ~$ u/ D" W" L3 G6 e5 W' G/ a
  1535. " U* o0 L$ l, e9 x# K2 o
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.1 r% U$ \: V) O; Z
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    - ^; W6 q) }: _
  1538. ; considered as valid.0 j. D6 u( Z7 b$ Y4 [( f
  1539. ; http://php.net/session.referer-check
    / T! g2 Z" o: P& g; e1 ^) l/ i9 D
  1540. session.referer_check =
    ; \$ F# x5 b5 X' f; i% _2 t

  1541. # Y: F' D+ N3 \5 }) \4 N
  1542. ; How many bytes to read from the file.
    . Y+ t: y6 a( }+ x2 _$ @5 E
  1543. ; http://php.net/session.entropy-length
    + {- \5 H" H! }- |$ D
  1544. ;session.entropy_length = 32
    ; E3 O6 _1 d: h/ W( v& a  F
  1545. - I, s1 W  ~6 n! }. z5 L5 L
  1546. ; Specified here to create the session id.
    ' n! q& @5 s$ E9 B# ^; O
  1547. ; http://php.net/session.entropy-file
    " q" l" k' j6 K6 S" E
  1548. ; Defaults to /dev/urandom) c# A+ W0 r% p1 }3 t
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom+ G8 P% `5 F" N
  1550. ; If neither are found at compile time, the default is no entropy file.; {3 y( ?" P1 _" h/ w( ^) `
  1551. ; On windows, setting the entropy_length setting will activate the
    6 p) T4 r7 E/ V' o0 L8 C
  1552. ; Windows random source (using the CryptoAPI); D3 W% Q5 g% E" ^9 `
  1553. ;session.entropy_file = /dev/urandom
    4 {/ S" W2 K% [+ t1 o8 w

  1554. : n! q4 @3 m: e3 B1 T- v* k5 l' Y
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects+ G1 q# g2 ^' u% A' t9 F" s
  1556. ; or leave this empty to avoid sending anti-caching headers." _8 U7 j4 @# n8 ~* n+ J
  1557. ; http://php.net/session.cache-limiter
    / \$ N% \8 q- V% ]" N' y
  1558. session.cache_limiter = nocache
    & l: U3 E1 i0 T9 u5 p& A5 d9 h

  1559. + a% S& K0 C' t0 ^4 E
  1560. ; Document expires after n minutes.
    4 a; ~7 ?" Q. `: p4 Z) P
  1561. ; http://php.net/session.cache-expire
    ( }  k1 I+ U0 ?
  1562. session.cache_expire = 180: N2 I' j  T+ ^3 n

  1563.   {% c/ Q8 i. Z4 X0 c- S" R
  1564. ; trans sid support is disabled by default.# g$ H' P8 h, |' `1 {
  1565. ; Use of trans sid may risk your users' security.
    % d0 |/ y$ R  t1 a! y
  1566. ; Use this option with caution.' v/ q, G9 h& s% S* N5 F; [/ \. j
  1567. ; - User may send URL contains active session ID
    7 x' F" w" a/ Q5 ?
  1568. ;   to other person via. email/irc/etc.$ U6 H! D$ P. {& J7 `( d# _1 c; I
  1569. ; - URL that contains active session ID may be stored
    * J) [5 @( b; V% U
  1570. ;   in publicly accessible computer.$ l6 R! z2 Z1 N+ i
  1571. ; - User may access your site with the same session ID& t$ }& f  l' t+ F
  1572. ;   always using URL stored in browser's history or bookmarks.
    / i& s& J# `5 b, K2 y
  1573. ; http://php.net/session.use-trans-sid
    2 a2 g5 F2 W4 s# G0 N, N9 x
  1574. session.use_trans_sid = 0" W7 A; n0 f1 b( c

  1575. & w1 R4 @# p; U1 @% c1 G7 D
  1576. ; Select a hash function for use in generating session ids.
    4 P. w; N0 v- i& L
  1577. ; Possible Values
    * D% ^: j. F4 V( Y1 [: M, l
  1578. ;   0  (MD5 128 bits)) Q6 @" ~3 O. K$ l) k0 m* E5 _0 ?' ]) [
  1579. ;   1  (SHA-1 160 bits)
    ( R7 j2 y; K4 M- U% @* F
  1580. ; This option may also be set to the name of any hash function supported by- ^! a) @8 G3 Q1 E$ ^
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()$ @5 {3 V! k2 X9 {9 V9 G0 d( w
  1582. ; function.: B8 |6 \  |$ @" l
  1583. ; http://php.net/session.hash-function
    3 C+ }5 ~1 j9 ^2 f$ [
  1584. session.hash_function = 00 @' \. N1 T' i- s
  1585. . b3 ^: R* ]: F6 ?% z
  1586. ; Define how many bits are stored in each character when converting
    ! `/ W, }1 f) W* {( ^9 P
  1587. ; the binary hash data to something readable./ ]: B: L0 U4 P  |  g: i
  1588. ; Possible values:
    3 D  O; m, C4 h* q- x8 _, {5 e
  1589. ;   4  (4 bits: 0-9, a-f)7 M' U. F$ K4 a- n' D* `1 j
  1590. ;   5  (5 bits: 0-9, a-v)! P9 C4 Z1 s; U8 z  J+ y: N
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")# C6 j5 t+ h' n5 s0 t
  1592. ; Default Value: 4( ~7 @$ i2 U; G# X, z  L: ~
  1593. ; Development Value: 5# _4 M3 o4 i" M$ m. \! R  l
  1594. ; Production Value: 5
    : ~3 e) Q7 y5 F7 `% f" ]5 m
  1595. ; http://php.net/session.hash-bits-per-character5 M% g' D& G7 l) W, l4 C( `: Q
  1596. session.hash_bits_per_character = 5$ d% |5 d$ K3 X1 B, n
  1597. 9 a# K) Q3 C% b- E8 P
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    8 o. f) ^# W  T" w% z9 ^. b$ d
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    ' r+ S+ @8 |1 X) f* z# u9 U# A9 D
  1600. ; add a hidden <input> field with the info which is otherwise appended
    5 K" [. C* x. W' \3 x
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    3 @( T0 K$ R& ^3 z
  1602. ; Note that all valid entries require a "=", even if no value follows.' S1 d) i& S2 _3 U
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="9 ]( W1 o0 a7 ?
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"! L5 M5 v( p9 E: h
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    4 I! k; }  c1 o7 H: f5 p' O/ f; g
  1606. ; http://php.net/url-rewriter.tags( K3 @# W2 T" b% G) Y. ^) s
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"! a& F9 f( t" {7 n4 f

  1608. ) Q9 f0 W3 h1 R: J9 j% f/ G
  1609. ; Enable upload progress tracking in $_SESSION
    + j; q5 H" k6 c& [4 o
  1610. ; Default Value: On( a$ Z* F' K9 c3 i% s$ ~# v, z
  1611. ; Development Value: On; E; B! R9 T( F8 T/ d
  1612. ; Production Value: On
    4 `2 L  u& D# k
  1613. ; http://php.net/session.upload-progress.enabled1 [9 D. O+ L0 A# k0 m
  1614. ;session.upload_progress.enabled = On
    # C- M3 f" r# }
  1615. 9 q8 q6 W# W1 U, H/ p6 P& Q5 M
  1616. ; Cleanup the progress information as soon as all POST data has been read2 n2 ^- X' q! b+ v7 W2 U
  1617. ; (i.e. upload completed).2 c: M! N( e5 `& k% Y
  1618. ; Default Value: On; n, h0 X. h. J6 B8 n9 ]
  1619. ; Development Value: On! a( q, {. W9 J/ N+ K2 {
  1620. ; Production Value: On  ]0 k. M. e+ \! w
  1621. ; http://php.net/session.upload-progress.cleanup* d; y1 @2 y0 j5 t
  1622. ;session.upload_progress.cleanup = On- I% Q' Y& X! M
  1623. " h3 H5 p4 s5 P4 I4 f
  1624. ; A prefix used for the upload progress key in $_SESSION
    & D0 ]6 W' s( X% L9 C( R
  1625. ; Default Value: "upload_progress_"3 C5 W& q: I0 ^0 c
  1626. ; Development Value: "upload_progress_"
    % J/ n# m& ]0 c, R; A" l' r
  1627. ; Production Value: "upload_progress_": G3 u9 d! b) s8 l0 @) O
  1628. ; http://php.net/session.upload-progress.prefix
    % t0 _; O2 W9 u$ T; D
  1629. ;session.upload_progress.prefix = "upload_progress_"
    1 c6 A) k7 u/ G

  1630. - p# E( `' d" G- C1 a
  1631. ; The index name (concatenated with the prefix) in $_SESSION# K) `8 c/ k# S( v/ D& l9 X
  1632. ; containing the upload progress information
    - `+ Z( G# p4 X" g7 i- ?
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    # _9 m& _6 @( U3 r0 \+ }2 }
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"5 U$ {+ v) c8 L
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ) ^; y5 O+ O! X$ P) e' }; V- v
  1636. ; http://php.net/session.upload-progress.name( E, N% t; R- X/ ]  h
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"5 G; |) P0 \/ L# C3 K5 T. r( i

  1638. : B' R# m8 M3 t  y3 z0 C+ g2 ^( ^
  1639. ; How frequently the upload progress should be updated.
    6 B, i+ t, `3 r" L
  1640. ; Given either in percentages (per-file), or in bytes
    . O+ J- Q4 Y4 a# p" z: l! z7 B
  1641. ; Default Value: "1%"
    " x6 _! K+ X0 b1 h2 q% ]
  1642. ; Development Value: "1%"- C1 v/ E2 {* ?# _6 m6 v
  1643. ; Production Value: "1%"
    ; A* V) w" g( s, X
  1644. ; http://php.net/session.upload-progress.freq8 t5 s. |2 W9 ?$ Z; m' L$ X
  1645. ;session.upload_progress.freq =  "1%"
    ! X$ a$ d2 v/ |) x* R
  1646.   b. Q# Q- M' n3 N) E
  1647. ; The minimum delay between updates, in seconds
      K8 b9 |4 N) B- t: y9 a# s
  1648. ; Default Value: 17 B" ~7 }) K* m* H! a$ B1 d9 N: |
  1649. ; Development Value: 1
    0 F' g7 N0 v: ]
  1650. ; Production Value: 1. i4 z  e! I9 ^' t
  1651. ; http://php.net/session.upload-progress.min-freq; g9 E& G9 o  i. C% }6 h! z' U
  1652. ;session.upload_progress.min_freq = "1"
    ) c1 a# f0 P- Q

  1653. , M3 n$ d$ {- V! k# f$ K
  1654. [MSSQL]
    2 W4 N3 d6 T' _: u# i  W# u
  1655. ; Allow or prevent persistent links.7 ^! v( @4 J7 {+ v
  1656. mssql.allow_persistent = On
    - y. P% J; w8 x! w
  1657. 9 {( _& }6 ~: b& J) P- {; u
  1658. ; Maximum number of persistent links.  -1 means no limit.% k  \% p  ?) B/ S, a
  1659. mssql.max_persistent = -1" a4 \- y) i8 s1 D  N6 J

  1660. " A& w" r4 s# v7 J0 G9 h; r
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
      u; ]4 N; T$ h; ^
  1662. mssql.max_links = -1
    # c$ h/ b0 v& a: l

  1663. 6 r9 O4 y) L6 W& F$ f  B+ n
  1664. ; Minimum error severity to display.+ ^4 |: Y% r( ^
  1665. mssql.min_error_severity = 10
    % S9 x3 B0 F8 V7 ^* j
  1666. , @6 v- N) t$ l9 A) K" u% S
  1667. ; Minimum message severity to display.
      A( d+ s6 a$ l' a1 C4 g9 I, g
  1668. mssql.min_message_severity = 10
    7 U! [$ I3 L' I. Y) J
  1669. 6 P! s2 Z0 T* v4 z7 U3 Z
  1670. ; Compatibility mode with old versions of PHP 3.0.
    : P; ^. u6 y* u) `; u
  1671. mssql.compatibility_mode = Off, t, G8 ]5 H( U( {

  1672. 4 m2 N  b5 a. c% k4 L8 Q
  1673. ; Connect timeout
    7 _( F: F' D) }# H3 }8 P
  1674. ;mssql.connect_timeout = 5+ R6 h  L9 X, r5 b) [

  1675. / }1 F7 W- |+ x: S8 s
  1676. ; Query timeout3 W+ ~+ Y0 Q+ [& j$ `2 I  O
  1677. ;mssql.timeout = 60
    2 w9 m) R) f. E: W

  1678. & |' p1 C5 m5 ?+ c% h6 C4 J' b
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    8 i6 S3 R: q+ h
  1680. ;mssql.textlimit = 4096. y* ?1 p. w2 t: h, B, z! G" m9 Q

  1681. ; I4 Q" ]% O$ z
  1682. ; Valid range 0 - 2147483647.  Default = 4096.4 j8 I5 l8 J+ i  l1 [
  1683. ;mssql.textsize = 4096
    * `+ S8 @7 P5 X8 J; b# Q

  1684. 2 d9 O( K2 ^. ~
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.8 \( _+ q1 s; b- Z2 g; b- S
  1686. ;mssql.batchsize = 0& m! ^9 n( H6 ]  e( s0 j- e5 w

  1687. , j% N9 N; l/ X
  1688. ; Specify how datetime and datetim4 columns are returned
    2 ]! G" ^0 O# B6 u9 U3 r' S& m! @- E7 F
  1689. ; On => Returns data converted to SQL server settings
    % C7 X8 O# [4 X8 L, R
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss5 r0 D( z1 [3 y- E4 Q
  1691. ;mssql.datetimeconvert = On4 Q1 [; B' \+ l
  1692. ' o2 P+ O0 ~6 O1 x; j8 P! F) J
  1693. ; Use NT authentication when connecting to the server
    ; E  T9 e* ]6 E6 E& ?% Y0 `- w, g
  1694. mssql.secure_connection = Off. M3 O( S3 l* V2 {: ~( X  @+ k

  1695. : \* ^" b# x; a( v. a' [6 I# _
  1696. ; Specify max number of processes. -1 = library default
    6 a, V  v3 j  i7 j  s9 ?
  1697. ; msdlib defaults to 25$ W+ Y# B# c* D1 G
  1698. ; FreeTDS defaults to 4096
    * j* N; F8 W2 z, [3 M
  1699. ;mssql.max_procs = -1" T; d5 V; E5 ~# f: S

  1700. , D* w/ v7 j  Z' E3 U& {: e6 V7 P
  1701. ; Specify client character set.
    3 c: L  q. n$ [1 o" ]8 a9 z/ t
  1702. ; If empty or not set the client charset from freetds.conf is used, P. d* p1 ~2 b3 S' _
  1703. ; This is only used when compiled with FreeTDS
    4 z7 p) G! ?# ~5 g
  1704. ;mssql.charset = "ISO-8859-1"% _4 c1 k/ b4 x; [8 q: c

  1705. " x) X/ z' |: h! s
  1706. [Assertion]
    6 b3 r- \9 {* S9 ]
  1707. ; Assert(expr); active by default.- w% Y+ q  m, H" L, q/ o& U; g
  1708. ; http://php.net/assert.active; T" U5 r  n0 p: ~
  1709. ;assert.active = On6 r) j' F' j1 F! n! {
  1710.   d' q1 a5 `9 E# O9 n8 Y/ Y7 n
  1711. ; Issue a PHP warning for each failed assertion.
    # j! I+ A1 Z) _* S+ Y
  1712. ; http://php.net/assert.warning
    0 F, f' S. s9 l6 P+ O, Q
  1713. ;assert.warning = On7 Y( P; c* W3 ]9 G; V. M; B

  1714.   f3 |8 o3 Q: v( H7 t+ q
  1715. ; Don't bail out by default./ ?% G- a1 N& k7 h" c# y' m4 b
  1716. ; http://php.net/assert.bail+ g6 F, m$ Z; r' U8 E/ W" G& j+ G
  1717. ;assert.bail = Off7 `1 e1 l& E# T& c" v* N- K1 E
  1718.   U& ]" L. n. }( a4 l
  1719. ; User-function to be called if an assertion fails.' E% s1 q2 f' B. y
  1720. ; http://php.net/assert.callback
    8 ?8 p8 T6 }2 x$ @
  1721. ;assert.callback = 0- H4 X/ d& K& r! z9 r2 a
  1722. / ]6 y# a2 C" t
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    ( F1 `2 D: Z' [2 k! Z2 s9 v
  1724. ; error_reporting(0) around the eval().) P' t+ h1 j9 d  @) t1 V+ v$ A# W
  1725. ; http://php.net/assert.quiet-eval! W) [' ?& }  ]
  1726. ;assert.quiet_eval = 0
    . C' \2 E# Z/ H

  1727. # X, C; t/ X1 f) G4 l3 \! k- ~
  1728. [COM]
      `+ O  K6 \" K' \- b# n9 L
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs( v# O8 N  T% H9 E
  1730. ; http://php.net/com.typelib-file9 T8 R( `  _1 i5 q
  1731. ;com.typelib_file =
    4 Y# o4 e4 y  D0 ^) p$ }+ N
  1732. 6 ]; p8 }0 E2 b5 o3 h
  1733. ; allow Distributed-COM calls- \! |3 m. R5 n& o6 F
  1734. ; http://php.net/com.allow-dcom- [5 N, W: |- J
  1735. ;com.allow_dcom = true
    $ ^% [8 y3 E- o; N

  1736. / U$ @: l2 U2 j+ S1 e8 g
  1737. ; autoregister constants of a components typlib on com_load()
    8 ~+ q( j; b( E" u1 Q
  1738. ; http://php.net/com.autoregister-typelib
    6 F2 R2 A" a( x& t. A5 g" L* y  |/ x
  1739. ;com.autoregister_typelib = true
    2 Y  E" t) F- \3 m! L9 \

  1740. 2 z. l  w; n) ]" i; P
  1741. ; register constants casesensitive4 R6 e- j. Y5 u. V+ ?: t
  1742. ; http://php.net/com.autoregister-casesensitive
    7 B& }3 q. \2 l; }2 W4 M& |$ J: t3 Z
  1743. ;com.autoregister_casesensitive = false( v/ ?7 ~0 d- i- Q$ w5 \7 ]
  1744. , U  j" x: H/ \6 V! g7 ^
  1745. ; show warnings on duplicate constant registrations
    6 S( }: K. L/ j6 I4 A
  1746. ; http://php.net/com.autoregister-verbose) t- t. f: _9 _
  1747. ;com.autoregister_verbose = true
    . |1 C- B4 Z, f! E; G' ]  @; a

  1748. 6 {0 q" q3 i3 W7 W: o
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
      V6 J" Q4 K, _4 s& i. z
  1750. ; Default: system ANSI code page
    * o0 c9 |: {! a1 Z
  1751. ;com.code_page=
    1 d' U7 d7 F* A- }6 {
  1752. ! P# X4 y- Z( H2 y) a1 M3 J( ^
  1753. [mbstring]
    6 p" R. j( r4 }. t$ W
  1754. ; language for internal character representation.
    * p% O1 J% S/ H9 h. Z( ^
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    2 F, d" b, x( f2 H
  1756. ; http://php.net/mbstring.language
    9 d) T( \# u8 k) B9 J
  1757. ;mbstring.language = Japanese0 I5 j1 N% Y4 c$ F& W
  1758. 1 t6 }1 G7 x8 b, I+ R
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.' k' y* k/ |5 p6 K0 J1 \2 c' E& k- Z
  1760. ; internal/script encoding.
    2 Q: Y; K. h3 v2 ~+ U' Y" C7 @3 B
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    " |( W4 i. q$ _* q
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    , M& j0 g4 Q1 v
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    5 Y3 w# K! k  l7 `5 @3 e
  1764. ;mbstring.internal_encoding =
    7 `: a4 k9 Q& W2 I
  1765. 5 s* B0 h$ r  z  K
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.8 |1 @% p& E- @% Z! J/ w6 v
  1767. ; http input encoding.
    ) N8 j  y$ _  P- |6 P3 f. c& g) r
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.1 t1 C: l' p. j) R5 b
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.- U! A, O( e# A  U) [0 f' l1 H
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input1 d$ u) O2 `0 r& m* @. }. F$ E# [% i
  1771. ; http://php.net/mbstring.http-input
    9 G9 |$ N! q& j% p
  1772. ;mbstring.http_input =8 d3 D" |' M$ i+ D5 l2 o( @9 _' u& P

  1773. % e( m$ g6 S( g3 m9 k* y  ]+ V
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.9 e0 y0 R) O# p. \" w" Y
  1775. ; http output encoding.- {, F1 \0 f2 J1 h) ^, Z! J/ g
  1776. ; mb_output_handler must be registered as output buffer to function.+ C3 o& U0 f# L3 u+ ~9 Y, @; t
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    # ?9 @' e$ d2 b9 R
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output" M4 K& K6 y  }6 O( S* H) n% B2 P$ b
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    " ~. P6 W5 `8 K2 g
  1780. ; otherwise output encoding conversion cannot be performed.2 a% w: N* `6 R; ]1 X- x1 [, `7 g$ F/ {, h
  1781. ; http://php.net/mbstring.http-output
    : J: f% }* P4 _8 F  I
  1782. ;mbstring.http_output =& O# N$ N( T2 b8 w  R- q. @
  1783. ! I5 K# Q' ~5 j: H/ ^
  1784. ; enable automatic encoding translation according to6 t0 z7 ?7 a* s( c
  1785. ; mbstring.internal_encoding setting. Input chars are
    4 e( k$ D7 a5 D) U$ z; z- ?
  1786. ; converted to internal encoding by setting this to On.# U5 T7 W$ j7 D3 V. B# z
  1787. ; Note: Do _not_ use automatic encoding translation for: B) A# S$ A2 k4 U7 [2 R
  1788. ;       portable libs/applications.' W- \5 Z' \! F* p4 y; x
  1789. ; http://php.net/mbstring.encoding-translation
      ]/ a6 s5 V6 H3 v8 m% W! h1 n
  1790. ;mbstring.encoding_translation = Off9 T7 ~& z6 [6 m7 e

  1791. ' t. N% p% Q4 z3 q. ?
  1792. ; automatic encoding detection order.; ^) Y& ?, i) q! ^& V
  1793. ; "auto" detect order is changed according to mbstring.language
    ; i0 p2 D; [! @
  1794. ; http://php.net/mbstring.detect-order* R; B  [  b# }
  1795. ;mbstring.detect_order = auto8 |  ~, N* O4 e! ~
  1796. 1 H& I9 v4 \  F1 F. O& _* C
  1797. ; substitute_character used when character cannot be converted) q1 f( f: B9 \* d
  1798. ; one from another
    5 Z- h/ k8 y* \& U/ O
  1799. ; http://php.net/mbstring.substitute-character" _% Q+ ^" `7 C' M1 O
  1800. ;mbstring.substitute_character = none
    0 H6 ]* U6 K' C  c; p% [- b

  1801.   |# V; z' x/ P/ |% _4 g9 [
  1802. ; overload(replace) single byte functions by mbstring functions.3 J1 ~5 c6 Y$ Q7 n- Z
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    ) ]. I+ b2 D$ X$ T! s* w+ B
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.% d% g6 ]6 r" z* y- T0 s% g# ?
  1805. ; For example, 7 for overload everything.. f% o) X/ S6 c; g
  1806. ; 0: No overload
    8 m8 X. ~" f! Y! I5 N
  1807. ; 1: Overload mail() function
    8 T/ ~2 g5 w9 q
  1808. ; 2: Overload str*() functions
    4 q6 B. h3 y: B' s" b: R
  1809. ; 4: Overload ereg*() functions
    , A  L0 g; H1 K+ y, [9 F, T
  1810. ; http://php.net/mbstring.func-overload
    ! ?% s: u! _1 R9 \
  1811. ;mbstring.func_overload = 0
    ! b; u6 B1 J8 n' p1 E
  1812. 5 x) r6 i8 n4 ~( h
  1813. ; enable strict encoding detection.
    . [5 F/ Y! u$ ^$ z3 M' ?+ ^3 B
  1814. ; Default: Off( m1 i! E6 X) B8 I
  1815. ;mbstring.strict_detection = On- J; }+ L3 j  N0 `' C& W3 p

  1816. 5 T, I* C7 O) H& V( ]0 q
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    0 D7 |4 S' M2 u' n. R+ G( G! O
  1818. ; is activated.' \7 R. h+ Z6 L" I3 e+ u
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    $ Y8 E4 J+ M; z. b( |7 M
  1820. ;mbstring.http_output_conv_mimetype=3 P! ]3 ^7 N* H2 m' h

  1821. . M2 u' g' k$ b6 e# I' p1 M
  1822. [gd]
    ; ]  x( E2 ?0 `7 b
  1823. ; Tell the jpeg decode to ignore warnings and try to create- C2 V3 A8 z, [5 A
  1824. ; a gd image. The warning will then be displayed as notices1 J0 g2 ]% V, c* L7 W. w
  1825. ; disabled by default
    9 f2 R/ K; t2 j# m7 r& `/ T
  1826. ; http://php.net/gd.jpeg-ignore-warning
    / u$ [" E7 J" ]( o8 w7 c
  1827. ;gd.jpeg_ignore_warning = 0- P5 E( B8 X0 o! J; q3 n* t

  1828.   _0 |! V3 d0 y2 z2 m8 v2 F+ D* L9 t
  1829. [exif]0 r6 x! L. @8 Y$ d
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS." C6 v* Y; b5 Q/ ~5 L
  1831. ; With mbstring support this will automatically be converted into the encoding
    / j# H4 A% S# o' f
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding7 }4 V# T* i9 x0 E2 H8 @" N
  1833. ; is used. For the decode settings you can distinguish between motorola and
    $ [5 b5 g7 F. X' Y: N% P
  1834. ; intel byte order. A decode setting cannot be empty.2 X& Z- r$ [& i8 |( z4 ]7 r& c- b
  1835. ; http://php.net/exif.encode-unicode4 h1 s/ y0 b0 B$ g
  1836. ;exif.encode_unicode = ISO-8859-15
    ' t: P4 }+ l2 P/ G  e
  1837. . n7 C/ M5 m+ H2 q7 a3 {
  1838. ; http://php.net/exif.decode-unicode-motorola
    % ^9 Z. `3 i+ `1 p' t* ?3 l
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    ! S* W' T( G1 @* J; ^# q
  1840. 5 Z* H/ Q) |- r/ p! w' x
  1841. ; http://php.net/exif.decode-unicode-intel
    3 b, f7 `. h; T
  1842. ;exif.decode_unicode_intel    = UCS-2LE7 G/ W3 p8 a4 A1 |# U+ W
  1843. : K: y9 ^! l4 X( {; p" I
  1844. ; http://php.net/exif.encode-jis
    4 ~: V! C$ S  @) P
  1845. ;exif.encode_jis =
    + g& i+ `! q: k

  1846. 0 }& H' L* R  C9 b; _
  1847. ; http://php.net/exif.decode-jis-motorola! k7 l4 f/ ^6 J( }  X) w% w" Q+ i# i0 O
  1848. ;exif.decode_jis_motorola = JIS
    ' k$ D! s1 M) ?+ Z

  1849. 3 K( r/ b4 G+ R5 t: H
  1850. ; http://php.net/exif.decode-jis-intel
    6 l, o: N9 Y1 r% K( @* K+ h
  1851. ;exif.decode_jis_intel    = JIS
    ! Z/ S- n8 E$ ^5 W3 J  v) v- k) ]
  1852. - ~' @7 c9 b# [+ s2 {
  1853. [Tidy]& O0 D: j: D2 |9 y/ C/ t
  1854. ; The path to a default tidy configuration file to use when using tidy
    * P6 ~5 k0 \: M1 o8 c* t
  1855. ; http://php.net/tidy.default-config9 J& P& d* F; N& D
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    3 N  e3 ~+ i. G3 _# c
  1857. * c# f& ]) c: ?" h- T* z
  1858. ; Should tidy clean and repair output automatically?
    0 p. F' }: s& r) e. q4 j0 m
  1859. ; WARNING: Do not use this option if you are generating non-html content2 q0 `" ?8 D3 p; F
  1860. ; such as dynamic images" H& M  E! m0 [9 d, E8 O
  1861. ; http://php.net/tidy.clean-output
    ; _) O* X" t6 w4 [3 e- y0 G
  1862. tidy.clean_output = Off
    * M' o( u4 W) s- j7 E2 ^! H
  1863. * ?% p. T# Z  b4 {- Z+ ?
  1864. [soap]
    1 _( K$ K2 \* d1 P& ~9 z4 {+ ^6 k
  1865. ; Enables or disables WSDL caching feature.
      h2 c6 ^; C) L, X7 W) L+ F
  1866. ; http://php.net/soap.wsdl-cache-enabled
    ) y! q- K' O4 }& O  M: |! y! E7 i
  1867. soap.wsdl_cache_enabled=1
    , W8 j5 c0 [0 s# Q$ ^

  1868. ( T* _4 c* B5 T7 u' y2 L' q
  1869. ; Sets the directory name where SOAP extension will put cache files.  r( v/ g3 ?$ K, Y2 L
  1870. ; http://php.net/soap.wsdl-cache-dir
    + f5 y$ r# I0 [- E
  1871. soap.wsdl_cache_dir="/tmp"- Z+ X7 Q  }4 K" Y% x' w5 \

  1872. 5 p& X& p: w* u
  1873. ; (time to live) Sets the number of second while cached file will be used
    5 H" d& w! n, V+ i. K0 q# j
  1874. ; instead of original one.
    : ~. F" K, i- q' Y  u& ?& @  c
  1875. ; http://php.net/soap.wsdl-cache-ttl; W, J! a$ M. }+ M+ Q
  1876. soap.wsdl_cache_ttl=86400/ }! Y. A& k) V  }2 r5 a+ E# C/ y

  1877. 7 j4 O5 q- j1 s
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    # z) K6 S/ M) A3 u) x& \& f, a  P- X
  1879. soap.wsdl_cache_limit = 58 v4 }! V! A% w$ k. D# r# |

  1880. 0 r% p2 p! f5 a' M& E" m2 I
  1881. [sysvshm]! m& X& |$ T3 {; F& Y' v
  1882. ; A default size of the shared memory segment/ U; w0 p% q: m# S: f8 }
  1883. ;sysvshm.init_mem = 100001 c. v9 u) K9 ^# l' B
  1884. , s7 W. ~/ m5 R
  1885. [ldap]$ H$ W# V2 L# |9 Y/ s" k7 w8 K
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    ) u5 M- u$ Z* _" l1 [  ^
  1887. ldap.max_links = -1
    " L8 n- t0 ]( s& t  c, |

  1888. ' x, l+ H) l2 L  n/ L2 S/ x
  1889. [mcrypt]& E8 A  H0 Z) Y
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    3 V) U3 ^) l* ^1 X2 h9 g. q* G# f
  1891. / M5 c  X* Y- u  B5 f3 K7 X
  1892. ; Directory where to load mcrypt algorithms
    ) r4 Q6 q! h- ^, t. n9 W% T
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)0 ]* f4 D4 F! y
  1894. ;mcrypt.algorithms_dir=
    2 ^% _7 A" g& f; a. ]
  1895. ( W# t/ Q* L2 G2 }
  1896. ; Directory where to load mcrypt modes# |4 E) f9 z, Z- |6 F. m
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)& C5 i2 |3 u0 |* D4 ^
  1898. ;mcrypt.modes_dir=
    + u( D0 q+ D2 J6 q9 v) i

  1899.   t. ^' c2 B) r- T# |6 ^
  1900. [dba]2 q0 c( v% R' d
  1901. ;dba.default_handler=3 L' m; r$ h/ W; v

  1902. $ j: u- l1 E) w% w
  1903. [opcache]# q6 }1 h$ z/ l, c5 y# C5 V  H
  1904. ; Determines if Zend OPCache is enabled& ]& J' X$ p! V) V9 S" M$ U8 S, ^
  1905. ;opcache.enable=0  D) K- _( m. @* {+ k" L
  1906. " F* `* f- W8 t
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    : k( H5 n2 j+ e) V/ N* ], Z
  1908. ;opcache.enable_cli=0+ \/ P) V: T, R. A) T/ m9 p

  1909. ! H$ o" L8 e! U; _5 \4 Z
  1910. ; The OPcache shared memory storage size.
    / J# ?9 \% ?% W' c' f
  1911. ;opcache.memory_consumption=64; y' Y' Q, L( J
  1912. 2 `. A2 g' b# r8 c1 k) E& A
  1913. ; The amount of memory for interned strings in Mbytes.3 @4 F& v+ C; k9 I4 |7 B! C
  1914. ;opcache.interned_strings_buffer=4
    5 ]3 J! }" ~% Q4 r( ]

  1915. . U5 M+ D  t& B$ A& Q2 F! e
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    . W" D+ Q+ f8 |: U. r% ~
  1917. ; Only numbers between 200 and 100000 are allowed." a0 E# v7 u! |+ U* P4 q
  1918. ;opcache.max_accelerated_files=2000
    - y$ j; E8 v- K! L  y

  1919. ( o) B. r5 |0 I1 |" P4 O# X. K' [
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.& }) ?  x8 b' k  k" ?
  1921. ;opcache.max_wasted_percentage=52 i2 k6 F! ]1 f

  1922. " n6 O! o' @1 ^2 a# U/ e
  1923. ; When this directive is enabled, the OPcache appends the current working- Y+ e, o2 r0 M: b) b, k
  1924. ; directory to the script key, thus eliminating possible collisions between9 ]& W1 L6 }, F
  1925. ; files with the same name (basename). Disabling the directive improves8 S( S# h1 O5 Z) x) }4 C- V  Y
  1926. ; performance, but may break existing applications.
    , W, _) N2 ?) R* B& W
  1927. ;opcache.use_cwd=1
    $ M1 {; d6 ?$ y. L
  1928. + y. \1 s4 ?' p) {( s9 y
  1929. ; When disabled, you must reset the OPcache manually or restart the
    ' Q  y4 f% B# o1 F
  1930. ; webserver for changes to the filesystem to take effect.
    ! F- N! h8 _& A) |$ w: d$ X7 b
  1931. ;opcache.validate_timestamps=1
    / a% M2 N) z; i& Q) f( B( [
  1932. ; g6 O# ]( r! E+ J, k
  1933. ; How often (in seconds) to check file timestamps for changes to the shared* v7 ]  t% w  ~8 e* H  z
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    5 @. h4 f# D, b# L
  1935. ; once per request. "0" means always validate)
    2 W* @: j0 Q7 @9 v7 P5 `* y
  1936. ;opcache.revalidate_freq=2
    ' _) ]5 X/ j" J) H7 o
  1937. # S9 p+ ^* P3 d: I
  1938. ; Enables or disables file search in include_path optimization
    / E' y3 F/ j1 F2 q* H
  1939. ;opcache.revalidate_path=0
    ! I4 ~; M8 h$ V. c( \: b& S
  1940. 4 I. j) R! l, o, S' r9 {. p4 Z$ t
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the" b% U0 @# \: w% s2 `/ ~
  1942. ; size of the optimized code.7 T7 U* x  o% H# O" ?7 K
  1943. ;opcache.save_comments=10 b! u0 {& s$ T* r" S* q3 k

  1944. / y$ h/ r6 g7 `6 O
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"& {6 k1 s) D" U7 I
  1946. ; may be always stored (save_comments=1), but not loaded by applications4 a% N2 b# B) u4 E# J/ v
  1947. ; that don't need them anyway.
    ( C: k3 W, n1 {. t
  1948. ;opcache.load_comments=1
    8 R& h; _/ k0 P& G" R4 F! @. B
  1949. - \2 F- T2 G1 i; L" Q
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code* P6 m7 i- B+ }( p0 L( {4 s7 O
  1951. ;opcache.fast_shutdown=0, ~# l( @0 N- W+ m

  1952. 6 F# T. L& U3 {5 q% h2 z
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    ; t$ F$ w) Z( y  l: L
  1954. ;opcache.enable_file_override=0! Z6 z7 `4 i9 F% W$ {; c

  1955. 0 Z9 E, Q7 n* l$ r3 B) m, g! r3 b
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache% P% z+ l' R1 I
  1957. ; passes) y4 U2 W) y  y
  1958. ;opcache.optimization_level=0xffffffff
    ; w1 b' F2 h, v

  1959. : o* K) D" D  q9 X' n# P
  1960. ;opcache.inherited_hack=1( e& D( Z! a( m3 S  v/ V
  1961. ;opcache.dups_fix=0
    4 K1 o3 z  G  `/ H2 s  g1 i

  1962. ; L/ d! \+ i" T# Q$ B: [; E
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    6 y9 |" }; s" D8 r. E
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    0 Q/ e" k% x$ e1 I9 r
  1965. ; that should not be accelerated. The file format is to add each filename4 a4 J; u2 j, b& y0 I) m4 [) X; i
  1966. ; to a new line. The filename may be a full path or just a file prefix6 Y/ t9 L4 {( o& n  `
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www+ U1 D; K* p0 `1 O9 M9 c: \
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).! H# R3 m/ m! @3 P7 y+ X  M
  1969. ;opcache.blacklist_filename=9 [7 y0 F& s/ \/ k

  1970. ) d5 C# e2 j7 h! X% A3 J0 R
  1971. ; Allows exclusion of large files from being cached. By default all files* H6 b; j& }& N# c' f# w. C
  1972. ; are cached.: [* [" B0 [( H# j
  1973. ;opcache.max_file_size=0  d- @" G( }7 j) Z, X1 d+ |
  1974. 8 r; c7 g0 Z1 e2 k  f  w9 F
  1975. ; Check the cache checksum each N requests.+ h4 f! @9 t/ Z$ x8 l
  1976. ; The default value of "0" means that the checks are disabled.1 q  j: U  w8 S: a% @) N+ I
  1977. ;opcache.consistency_checks=0# Z7 ]6 H. J5 Y" s" L; ?! x4 `

  1978. 1 z7 y0 R3 K! u" e+ n- o9 @
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    9 F, d- b- P' x/ s
  1980. ; is not being accessed.4 N) c  b3 O" F0 ~+ G
  1981. ;opcache.force_restart_timeout=180. O! X$ Q8 l! N, R  k

  1982. - V* m% O( b* R+ p
  1983. ; OPcache error_log file name. Empty string assumes "stderr".+ {7 m5 c1 w2 `' J& z
  1984. ;opcache.error_log=4 x) `) |, O) R  W

  1985. 3 l) N  U0 W7 o0 H# @( y* S) s
  1986. ; All OPcache errors go to the Web server log.
    8 n/ Q; r6 A" }' L' P% Z0 g
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.. v2 |! h' X+ a
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    1 a3 _. ^4 d+ m7 g0 H
  1989. ; debug messages (level 4).' R4 r9 Q& k7 K; f1 d2 }; T
  1990. ;opcache.log_verbosity_level=1
    0 ^$ u0 w5 e4 l: k

  1991. 0 X9 |9 M; Q. c4 ~$ X
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    8 y5 R; W% {# k- d6 v, A
  1993. ;opcache.preferred_memory_model=
    9 k! |( v; `0 ^# `8 B
  1994. / @4 s2 k7 ^! Q
  1995. ; Protect the shared memory from unexpected writing during script execution.
    2 g' f1 D' v$ r
  1996. ; Useful for internal debugging only.
    + v7 f  u- r8 S+ M
  1997. ;opcache.protect_memory=0
    + c* e- o2 F* x% ~+ i1 V! u0 n7 v: D% q
  1998.   [& i* q7 W4 ~! W" s& s' y
  1999. ; Validate cached file permissions.
    ; C. m' T; X) |& B7 G6 b
  2000. ; opcache.validate_permission=0* b9 I5 W5 d+ r* T

  2001. % l8 ]4 N1 D/ Q1 y7 N& U+ ?! |
  2002. ; Prevent name collisions in chroot'ed environment.
    7 A; {7 N0 U/ ^
  2003. ; opcache.validate_root=0" _4 ?$ Y4 r. a) R3 k# I
  2004.   Y/ g' J7 b; Q, U
  2005. [curl]
    . g) T& t/ o1 U8 }
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an% P9 k( D& l) R$ R
  2007. ; absolute path.) M! \) s+ a% c8 l5 h
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    . P. q* y9 |9 n
  2009.   V5 m2 I5 U9 ~8 s$ P9 R& R
  2010. [openssl]
    ' A1 U9 P, a+ m8 i- J
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem0 g4 N1 h2 N( |/ K+ E
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    ( B% z5 k. }+ d+ v3 Q/ A8 U7 k. Q
  2013. ; not specify a value for this directive as PHP will attempt to use the# [, L; l$ j  ], R+ r4 |) W, e
  2014. ; OS-managed cert stores in its absence. If specified, this value may still9 l5 H+ P1 ^* R" p3 w: p$ N2 w
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    5 S1 a/ V0 [2 [) |& t9 j' c% I
  2016. ; option.3 c7 U; w# m' _
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    ' s& G: h, G) z

  2018. & o4 d1 M% I$ X1 ]  x
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    # g: f/ M7 p8 ?" I' X. l
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    ! {  A+ `0 M: j$ ?
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    ' h2 H$ @! b2 D3 M' m
  2022. ; Most users should not specify a value for this directive as PHP will" r. Z% N1 ~2 s$ d
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
      Z8 w% r* L; p/ c
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    % F; _2 [/ m  B
  2025. ; SSL stream context option.
    , D! l. t3 o+ j7 F8 [- k
  2026. ;openssl.capath=, x5 a) v. D/ \) l, V
  2027. # `, [8 Q: F2 c3 q& I& |) ~& O
  2028. ; Local Variables:
    6 O0 k4 m7 `, K! y$ T
  2029. ; tab-width: 4
    ) D% S2 ^# q& K- m& f- U7 }
  2030. ; End:
    2 P; p2 v) T$ A4 H4 _8 v$ ?0 u# I

  2031. 7 o( `+ s! t: [: s& L4 O
  2032. ;eaccelerator  ^( l4 L& V8 E. p8 U
  2033. 7 o7 S4 f0 U2 C0 P6 E
  2034. ;ionCube5 |  z+ n; l" L6 g+ N

  2035. . i* v0 R4 s# K* U+ ?( C
  2036. ;opcache
    1 N: ^: \$ e4 I+ ^' f: C
  2037. - f0 _+ B8 S" o8 c3 Y$ p& ~8 a
  2038. [Zend ZendGuard Loader]
    6 G6 J' u% K8 {7 R5 L" Y1 F
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    ; R& ~: z1 r* Q/ g/ t
  2040. zend_loader.enable=14 _' [$ {: _' c$ p" i* c/ u- c6 s
  2041. zend_loader.disable_licensing=0$ i, i3 v0 ?( `5 Q6 _. b
  2042. zend_loader.obfuscation_level_support=3
    , M) ?9 |3 k' z1 e% |
  2043. zend_loader.license_path=- S/ C% I. u, k
  2044. ' ~5 v& C  ?& `
  2045. ;xcache/ F1 I. j  g' u

  2046. , j* K+ f+ `5 r, u# l
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/818146929 `" g9 c% k" G9 ?% t" J

# |, N# a0 c+ X, S% |2 J7 l! V
; O6 g0 Z& n) x' K& X3 u% EDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来," D$ g6 }- {+ Z1 \8 [8 q: q! q
9 J$ f$ C# o0 [6 W% u
Discuz!程序版本选择:
6 X* e% G' ^- L8 U2 U9 N站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,- g2 O4 a' ]; I' F
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
! V5 D1 x$ o  y3 ?Discuz!F1.0 是应用中心民审、作者爱好者合作基于 Discuz!官方Discuz!X3.2、Discuz!X3.3、Discuz! X3.4版本之上推出的基于PHP 7.1、mysql 5.8最新环境适配、精简的Discuz!论坛程序,目前对Discuz!F1.0 的支持应用DZ插件、DZ模板都相对较少,很多DZ插件、DZ模板对Discuz!F1.0 的支持性也较少,根据目前站长普遍的反馈而言,使用Discuz!F1.0 建站的站长遇到的问题往往比较繁琐,且目前民审、开发作者、爱好者出品的Discuz!F1.0 版本已经处于停摆之中,站长最终都选择了Discuz!F1.0 降级为 Discuz!X3.2、Discuz!X3.3、Discuz! X3.4。
8 {1 n$ R# x4 D* v( ^" o" l. q7 ?0 w& l$ O2 L4 N0 I# ]
Discuz!插件模板版本选择:7 b3 k# W3 [4 y; }- C, \) H3 o
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
& K" S# h+ i' K/ d/ e: p6 H针对这个问题做个统一的普及:8 j: y9 y3 L; U& }" ?+ p) u) ~& }
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。* j- v1 }! i. ~" L) v) R- w
  U: A8 @3 ~& d; i. g; U4 Q
所以
& E! E- k: P1 [/ C9 m适合Discuz!X3、X3.1版本的DZ插件、DZ模板是适合并兼容 Discuz!X3.2站点使用的,请站长放心安装使用。但适用于X3.2版本的应用90%以上是不兼容Discuz! X3.4和php 7.x的,请格外注意!!!
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-12-2 01:25:25 | 显示全部楼层
添加网站的时候一定要添加两个站点,一个是主域名,一个是www的二级域名。# l- q3 m* s1 J6 L3 Q
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
' i6 a( p% f4 s( j) g; w注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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