分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0* N# f7 x3 Y: k  [$ `& i7 S

2 w3 {/ [2 S4 m. h8 r
  1. [PHP]3 s3 W1 [& D9 E& g& ~1 {
  2. 6 _* d7 B+ k' [! W8 j
  3. ;;;;;;;;;;;;;;;;;;;, p; f" ^" I) @% C
  4. ; About php.ini   ;
    & k+ N" P7 c; {
  5. ;;;;;;;;;;;;;;;;;;;$ @& N: ^5 Z3 |3 W- r! S
  6. ; PHP's initialization file, generally called php.ini, is responsible for1 C7 w5 }% v0 o4 I9 {7 {" G
  7. ; configuring many of the aspects of PHP's behavior.& U/ z6 P0 z; H5 ~3 |3 _
  8. $ e& x1 u2 w$ c
  9. ; PHP attempts to find and load this configuration from a number of locations.
    8 o; G! H- H, T
  10. ; The following is a summary of its search order:
    5 O2 j( \8 F2 s
  11. ; 1. SAPI module specific location., j! T" c7 o8 W
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    " D8 r: Y$ e8 K% N( g
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0). H8 m8 J5 c' g9 [/ z. A- r6 W7 e
  14. ; 4. Current working directory (except CLI)
    4 ~; g7 ]$ r' M/ v) ^3 j" s9 G
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    . E+ w8 F: z2 \$ e: d2 k( B8 P
  16. ; (otherwise in Windows)
    . t9 S! W% D! y  b* E. [6 j
  17. ; 6. The directory from the --with-config-file-path compile time option, or the' A2 v( ^, B( R$ m0 P% A4 `
  18. ; Windows directory (C:\windows or C:\winnt)* y. ?0 f7 X# \# Q; e
  19. ; See the PHP docs for more specific information.
    2 m! {  N. ~+ s  l- i! Q$ `  a
  20. ; http://php.net/configuration.file
    4 E' C% u- `% {8 r" G6 z+ A8 w7 b+ y
  21. 6 Q3 F4 Y$ u2 W3 ~+ _; w1 _; z
  22. ; The syntax of the file is extremely simple.  Whitespace and lines% j) e# `, g% a1 e1 C1 ~5 _* ^
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    ' `  N4 n' b; E2 O+ V+ T
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
      [/ a1 L! H/ e" w& G. T
  25. ; they might mean something in the future.4 H( Q' `; o2 z7 y( ^$ q
  26. + \$ |: `+ S' f5 _# ], M' j' y
  27. ; Directives following the section heading [PATH=/www/mysite] only* f! j: w1 z9 p8 {- h# L+ }
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    1 c1 k4 M5 r/ B1 K& H- [. S
  29. ; following the section heading [HOST=www.example.com] only apply to
    # s: ]+ M. \+ i) r
  30. ; PHP files served from www.example.com.  Directives set in these" m* g6 O/ L" M- ?- j
  31. ; special sections cannot be overridden by user-defined INI files or
    1 p9 p2 H3 M* U+ A( M# Y3 Q5 p
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under% ^9 D, u4 H! o9 [
  33. ; CGI/FastCGI.
    8 E7 c& S! d& F' ]; h0 C# A* j3 W- {
  34. ; http://php.net/ini.sections
    & L7 s% E( e8 Q! k- w" E8 r! d! |

  35. - a8 O- v/ b4 ~0 _
  36. ; Directives are specified using the following syntax:
    ' t" g+ [5 n; }4 B  y& c& o! t
  37. ; directive = value' u; a+ t0 Q1 J8 t! U/ A0 Y
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.5 m7 P9 n# p- H- D
  39. ; Directives are variables used to configure PHP or PHP extensions.; r. l8 d) i" v' v4 U, U, ^
  40. ; There is no name validation.  If PHP can't find an expected9 z/ Z$ R% V, w' v% w# V
  41. ; directive because it is not set or is mistyped, a default value will be used.
    , e+ C. e$ e5 p) ]/ Y
  42. ) q1 N) T! \2 p& \1 y
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    $ \3 C  O9 x+ F& m$ e
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression8 M5 H6 I9 ?! \) L+ f' ]) h% W
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a2 {; e8 ]# w, ?5 X5 q& ?, L7 C, g
  46. ; previously set variable or directive (e.g. ${foo})
    5 T; [  _. s5 v! X0 o8 _! M

  47. 3 w$ K+ V: b) V+ f2 n! N, _
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:$ O/ u! v2 }' ^
  49. ; |  bitwise OR" _" r' y" @/ d7 k
  50. ; ^  bitwise XOR+ d$ R4 K0 g) x4 O1 [4 Z& ?& e3 A
  51. ; &  bitwise AND% K1 E5 O6 n3 N6 t& e- ~
  52. ; ~  bitwise NOT
    9 L% ?# z, j$ E, v* P: S
  53. ; !  boolean NOT, x! v0 X6 q4 [0 ^6 j

  54. : R) K! k3 N6 I8 E) v5 T& N
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
      C2 V' Z" q9 {  d' k/ r7 x
  56. ; They can be turned off using the values 0, Off, False or No.$ P- n, `" e* {& l

  57.   V+ x- V& j5 q+ K3 @/ _% H" R% k
  58. ; An empty string can be denoted by simply not writing anything after the equal: W- P; h2 l1 K/ z2 `
  59. ; sign, or by using the None keyword:; M3 S) f( j: R( i; D
  60. 5 R) }/ s' ]% X: i' `- u
  61. ;  foo =         ; sets foo to an empty string
    , O5 ^+ h) X- h: A9 Y. x
  62. ;  foo = None    ; sets foo to an empty string
    1 H' E4 [2 X5 f6 K$ z9 m7 p
  63. ;  foo = "None"  ; sets foo to the string 'None'6 D7 n. X2 y- s) m$ [4 {& A2 I
  64. 5 `1 s) ]+ i+ q
  65. ; If you use constants in your value, and these constants belong to a! t  W  d) v) L7 B- p" B
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),7 P5 ~; b- W* v7 n7 l
  67. ; you may only use these constants *after* the line that loads the extension.
    0 W: ~5 L& O2 v; l1 N* \
  68. / r. d; ]. c. j8 H
  69. ;;;;;;;;;;;;;;;;;;;
    1 R; ?7 h) u# B) J: R% N
  70. ; About this file ;
    8 B3 G  O. F) q( t
  71. ;;;;;;;;;;;;;;;;;;;
    . X+ w0 t' H1 ~# ^. [+ H
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    . Q- \7 K& R% |- r
  73. ; in production environments and one that is recommended to be used in; V( o8 X# b2 l! F# b
  74. ; development environments.: N5 G* b2 S, U" o: B5 Y

  75. ) Z1 N1 w0 L& H' M* W
  76. ; php.ini-production contains settings which hold security, performance and
    ! Y' u8 S3 k9 V, U
  77. ; best practices at its core. But please be aware, these settings may break7 l. F4 e  S+ u/ ^( l1 I: l
  78. ; compatibility with older or less security conscience applications. We
    6 z- V9 s# A6 g# g0 U
  79. ; recommending using the production ini in production and testing environments.
    : n! s) }) z5 w
  80. 8 v/ ]9 ?) W& d* H
  81. ; php.ini-development is very similar to its production variant, except it is8 D6 x) t. Q% c( ]( h0 l8 P. e' }' t
  82. ; much more verbose when it comes to errors. We recommend using the
    ; I2 P1 b/ h! @" R
  83. ; development version only in development environments, as errors shown to* X, R+ E+ L& f5 s
  84. ; application users can inadvertently leak otherwise secure information.
    . v; v( p, G: G2 p8 k
  85. & C% d9 b( D$ W0 U- D" E
  86. ; This is php.ini-production INI file.
    ( t: r; w6 B  Q6 D, h6 b& ]1 k( g% Q

  87. " y! c5 y1 u# o7 Z2 D9 k% d
  88. ;;;;;;;;;;;;;;;;;;;6 v0 H- h5 @0 B" V, W6 ^
  89. ; Quick Reference ;+ U& V4 E+ x& m7 p, h7 C' r
  90. ;;;;;;;;;;;;;;;;;;;
    # E1 J9 U  M7 v
  91. ; The following are all the settings which are different in either the production
    ; }# C/ ~% @4 X: M7 l# T
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    6 |* f* Y) i1 {7 X' |. z/ y
  93. ; Please see the actual settings later in the document for more details as to why
    5 ~$ i$ F9 d* B- k
  94. ; we recommend these changes in PHP's behavior.4 c/ P2 V& {  i6 l+ S; m: `+ y; ^$ c
  95. 2 Z/ p: d/ G5 }' ?# _
  96. ; display_errors
    : }2 a& N, z& a! f; ?5 o
  97. ;   Default Value: On& L* E: r  F8 H* G
  98. ;   Development Value: On
    , {+ d" I& d- C# B- q
  99. ;   Production Value: Off
      d6 G$ Z. T6 e% R( `( y. `/ |

  100. . b# ^6 F+ V# }: e0 U! i, o
  101. ; display_startup_errors
    * e; ?1 H% u( J7 x9 `
  102. ;   Default Value: Off' _8 G: k0 m6 r7 B& G/ J- k
  103. ;   Development Value: On
    7 j7 P1 A( c: k% Q- F1 X0 C9 u  {
  104. ;   Production Value: Off5 K+ I& U5 x- A7 t3 V1 g( o" V, e

  105. , R. i7 B* m$ k( e
  106. ; error_reporting
    8 u6 U6 {' i; t. ?3 B
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED- Z: V! M0 m6 a! V" }  e( _
  108. ;   Development Value: E_ALL
    % |% L; n1 k1 |; B! b6 W/ M" y
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT$ d( w- I9 _% j/ V1 P4 @3 A

  110. 8 B; W; q+ m" {$ c% U  l
  111. ; html_errors
    ) D2 h6 q% ^3 u7 I
  112. ;   Default Value: On
    3 v9 {& P5 W6 x
  113. ;   Development Value: On9 [, t+ u& C5 t5 W# Y( D: ]" y1 X
  114. ;   Production value: On
    : B0 G! M6 Z/ k

  115. " H1 L1 ^& ~! {) Q
  116. ; log_errors, V0 Z8 b* e7 `, t+ |% R; U
  117. ;   Default Value: Off+ l& k! z& `! z( E+ l( M! |- b: E
  118. ;   Development Value: On3 V  ^! A' J2 }; E  [" Q
  119. ;   Production Value: On7 o% s. V7 ?" L$ l6 N: n

  120. + D7 q  w) ^6 F. t( M
  121. ; max_input_time# I# c0 _5 Y. s" w0 R$ t
  122. ;   Default Value: -1 (Unlimited)0 F5 q4 p, f* n8 u! i6 A* F# A
  123. ;   Development Value: 60 (60 seconds)
    # A2 T& I( P4 @: b: d' x$ i
  124. ;   Production Value: 60 (60 seconds)
    . S9 o! _. i7 v& U* Q
  125. , ^' p1 V6 ]- m$ F5 f) b
  126. ; output_buffering  z$ w5 `# c- V" f% J9 }& N" M
  127. ;   Default Value: Off
    7 i8 }1 W: F! V9 \, m, Y
  128. ;   Development Value: 4096
    # a5 h. z: ?0 D
  129. ;   Production Value: 40965 O: N! s6 p9 z2 w4 J: }
  130. . s, w% q& A0 B' w7 l9 h! S
  131. ; register_argc_argv
    5 i$ g$ R) p3 X0 I; \- e; ?
  132. ;   Default Value: On% Q- t# w( q% G  T* ^* K
  133. ;   Development Value: Off
    : Q8 i# A5 B6 Y) ^( b2 s; Z
  134. ;   Production Value: Off1 w; q& h* X+ \+ E( p& Q
  135.   _5 n( i! ]( w4 j  {4 ~
  136. ; request_order5 |8 `8 _. ~) q7 q; @8 @5 U, n
  137. ;   Default Value: None
    5 V/ w! I1 @& K: J! \# t0 [
  138. ;   Development Value: "GP"# I/ M$ O3 x1 |' }. ^
  139. ;   Production Value: "GP"1 n4 \1 a6 o2 w+ m( X6 g

  140. # s4 K. @( c# G# e' r- N
  141. ; session.gc_divisor
    6 q+ z8 |9 T& s! `# \
  142. ;   Default Value: 100
    9 j+ ^( s3 ]2 |
  143. ;   Development Value: 1000
    6 B6 ]( @; N( U! [
  144. ;   Production Value: 1000  Z1 \! Q& D" j1 C" `/ D2 T
  145. ! s9 G% `8 e: v# z! ]
  146. ; session.hash_bits_per_character
    . J* E( g* H5 G7 r% ?
  147. ;   Default Value: 4
    $ x3 n4 k" {- v
  148. ;   Development Value: 59 n6 V; i% c  P0 P
  149. ;   Production Value: 5
    ! k+ A0 J6 b0 Y& ?7 w$ i

  150. # d0 U3 }4 h6 ~% N8 t1 [. b
  151. ; short_open_tag
    ; |( r, i/ t8 t; P3 {8 ?
  152. ;   Default Value: On
    % X2 n: @; i3 a: k% I
  153. ;   Development Value: Off& f  P% w3 e# W# x8 I* Y! S
  154. ;   Production Value: Off' {9 w; r+ N4 U0 g+ [" A

  155. 9 `) G4 \: g: r* _
  156. ; track_errors8 l7 F+ r+ j4 y" _- k7 L
  157. ;   Default Value: Off
    . e/ o& S& }. X% i; g- e
  158. ;   Development Value: On0 K6 i( j5 s, f- X
  159. ;   Production Value: Off8 m2 U- o) I3 M0 T- W+ m

  160. ' A) }6 G- u1 t, X! ~; P) e; h
  161. ; url_rewriter.tags
    8 j. h, \$ G1 ?1 H
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset=": f: t0 w! q- B+ A) O( {
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ( c6 p9 e4 p3 Y8 R/ S" o1 ~/ q7 X
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"# f, O& i/ {! p) [

  165. % Y. h! S/ ?0 q
  166. ; variables_order
    6 c% U2 v  s$ ^' [3 ?5 \8 T
  167. ;   Default Value: "EGPCS"4 _5 e$ P2 K- i( S
  168. ;   Development Value: "GPCS"
    & N. @  g  q: N  w+ `9 I
  169. ;   Production Value: "GPCS"1 R% W( @& p' q% H

  170. 3 `4 j, M( i3 T" a* q. x  H& N/ w, m
  171. ;;;;;;;;;;;;;;;;;;;;2 E& e( E2 e. s7 J5 k3 p
  172. ; php.ini Options  ;
    8 O: n6 E- u% D  G/ B- O, c
  173. ;;;;;;;;;;;;;;;;;;;;
    : H+ a; K0 t2 {- ~# |
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    # i$ F. _4 X+ N9 ^5 U
  175. ;user_ini.filename = ".user.ini"2 Q7 U* [9 y- |; ~7 D8 L
  176. ' {8 a1 d5 Z" M% T- a$ Y- {
  177. ; To disable this feature set this option to empty value
    6 r% A6 g# C( T: b4 P
  178. ;user_ini.filename =
    ' y/ H' P7 z" G4 ^9 m

  179. & |4 @+ I; X  z2 e! d
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)" i( Q% w# o; d8 b8 M& Q
  181. ;user_ini.cache_ttl = 300+ K+ j. K9 ~& [' m  d

  182. : c1 H4 D  c* D9 q6 W
  183. ;;;;;;;;;;;;;;;;;;;;8 ?8 `( c/ D5 B  _9 R: m
  184. ; Language Options ;7 \8 L2 x- c9 V2 {/ @  d7 _% S
  185. ;;;;;;;;;;;;;;;;;;;;
    6 Z+ t% n1 g4 e) _, j1 C
  186. 5 @# U0 ]2 U" L* {, }+ V5 ~& o
  187. ; Enable the PHP scripting language engine under Apache.: o# U& x; C7 z) U0 f
  188. ; http://php.net/engine
    & p/ u4 e. Z) J, A' I
  189. engine = On% [: T: ~) u9 u7 j

  190. . X3 w: Z. @) W/ _& L7 Z8 r
  191. ; This directive determines whether or not PHP will recognize code between
    2 i9 S; A  E, }' t9 c
  192. ; <? and ?> tags as PHP source which should be processed as such. It is9 d2 @; N: ~8 C
  193. ; generally recommended that <?php and ?> should be used and that this feature
    , e8 ^5 R2 N7 D3 Y$ F; x
  194. ; should be disabled, as enabling it may result in issues when generating XML
    8 ]+ r. u! @: g- K) K; z! u
  195. ; documents, however this remains supported for backward compatibility reasons.: }8 v, a9 ~0 ~0 |- u  H
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    ; \( \. x3 W) ?. P
  197. ; used regardless of this directive.
    & `- o- p, }3 E5 [" t1 n
  198. ; Default Value: On
    / H/ B* N' I" H* D8 n
  199. ; Development Value: Off6 b  d1 u( u6 w4 U/ m
  200. ; Production Value: Off
      o9 f; J/ E( g
  201. ; http://php.net/short-open-tag
    / z. e5 |) V' y( C
  202. short_open_tag = On
    7 q/ w9 r' e1 V7 B! K
  203. 3 x* T3 S" r  _- j& s' F* K
  204. ; The number of significant digits displayed in floating point numbers.
    2 \% P' y2 C9 x4 {4 V; F3 r; R; [
  205. ; http://php.net/precision
    ( W+ h  u5 v0 V, k/ e) M6 t; }" N
  206. precision = 14
    : P1 v) ~" C* X* k3 k

  207. . v" s% t- j2 ^1 r2 t+ ^1 h
  208. ; Output buffering is a mechanism for controlling how much output data( j; I) Y5 @6 M; X' n- Y1 Z8 _! S$ K
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that8 T1 R4 p. l* X, r$ b! d6 F: g
  210. ; data to the client. If your application's output exceeds this setting, PHP& R# R# T+ ?$ H' F& r
  211. ; will send that data in chunks of roughly the size you specify.
    & L% R4 F; Z' i$ `# t% ]/ D7 H7 ~6 m
  212. ; Turning on this setting and managing its maximum buffer size can yield some# E9 p2 I5 ]6 u/ w" F( C/ B
  213. ; interesting side-effects depending on your application and web server.
      P( |' E$ B* t
  214. ; You may be able to send headers and cookies after you've already sent output) f. \$ U" z' L5 D( X
  215. ; through print or echo. You also may see performance benefits if your server is/ t+ Z% f5 }8 P( }
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    $ ]2 d* U8 {* ?& y( j) C
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance7 X" W2 U' L* g* C& z' `
  218. ; reasons.
    # D- F% l& O  x4 U, ~
  219. ; Note: Output buffering can also be controlled via Output Buffering Control# J4 ?6 I/ V) Y; h/ u" s! p7 X- l* o8 m
  220. ;   functions.
    1 O  j4 e' _7 J' N" v* _+ G
  221. ; Possible Values:: v3 t" y$ j" I
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)( `, Q, g9 T3 w( O3 C0 @
  223. ;   Off = Disabled
    2 l7 N; e/ r! v# L$ X. `
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    & K9 s- e" o& K4 D3 i4 h+ n
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI" C" {$ d5 I) o/ h2 Z' x( n
  226. ; Default Value: Off, \7 a% {' @" s6 |* F
  227. ; Development Value: 4096
    1 D1 W% W* k7 w) u- Z8 e) s: w
  228. ; Production Value: 4096
      I3 C4 S  l% \2 j) _8 y2 {( [: U
  229. ; http://php.net/output-buffering
    : B: b4 U8 J3 k1 M: K7 _
  230. output_buffering = 40967 R+ c  E$ Y: O2 q) f4 U% P: r

  231. 1 |1 i4 J) u" p/ @( i
  232. ; You can redirect all of the output of your scripts to a function.  For# z- n4 z. T+ {* o! j
  233. ; example, if you set output_handler to "mb_output_handler", character( Y  Q5 ?2 `9 k* O/ H
  234. ; encoding will be transparently converted to the specified encoding.
    1 ?7 V  c: P! i8 w' y
  235. ; Setting any output handler automatically turns on output buffering.
    9 n/ P! B1 y% D$ @/ i! p: G! z
  236. ; Note: People who wrote portable scripts should not depend on this ini2 v9 b8 a2 Y8 @9 Z
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    6 d) P& i: a5 ]
  238. ;   Using this ini directive may cause problems unless you know what script
    / I: j' v+ @5 Z3 m; b+ [- m- z& \
  239. ;   is doing.. r6 s( `: I  H$ O! _3 Q
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    . T9 S; f- H% @7 E
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    2 }9 C9 f: B  E6 |9 n, _
  242. ; Note: output_handler must be empty if this is set 'On' !!!!6 Y, A3 W) {3 l& R
  243. ;   Instead you must use zlib.output_handler.  g, B9 f( p9 p+ d8 r/ w0 q
  244. ; http://php.net/output-handler
    4 P. a/ o! T& {0 ]7 j$ _
  245. ;output_handler =
    ' ?! }5 A. i9 I& x
  246. : T0 B6 [2 \0 r2 S% s1 V
  247. ; Transparent output compression using the zlib library" t2 ?1 |: C5 c! [) N3 h0 K
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    1 g/ [- u0 C; N6 C% q0 I7 E
  249. ; to be used for compression (default is 4KB)9 l0 T1 M: S! A" \
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    . _8 q: r2 E% i2 o6 u
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    1 Z. X; n! h3 x" Y( c" n
  252. ;   compression. If you prefer a larger chunk size for better
    4 Q% ]+ v+ }$ a4 j
  253. ;   performance, enable output_buffering in addition.
    8 K% P8 u4 i& H& p7 v9 P9 f5 H
  254. ; Note: You need to use zlib.output_handler instead of the standard
    ; c" U! W$ L2 L4 I
  255. ;   output_handler, or otherwise the output will be corrupted.
    9 d; t! S, g; e; P5 k8 r
  256. ; http://php.net/zlib.output-compression
    # {3 H& z+ {3 U4 x  V
  257. zlib.output_compression = Off
    - o' H8 v' J$ a5 x! c5 W$ i
  258. : }- @+ m* M% g
  259. ; http://php.net/zlib.output-compression-level
      {& ^- C; c  M, I+ Z* f
  260. ;zlib.output_compression_level = -11 u- @0 i  P0 @' h2 k+ |* ~1 S
  261. 7 P& U. [& n1 U. [1 }% V
  262. ; You cannot specify additional output handlers if zlib.output_compression
    0 H. z+ n+ P4 t, o; m! h8 W
  263. ; is activated here. This setting does the same as output_handler but in$ \& A5 A6 D( w4 Z1 t
  264. ; a different order.& V: x6 \- {+ v; {5 f
  265. ; http://php.net/zlib.output-handler
    ; G% h/ a" r, W5 G; ?, P  {: e/ Q& C. h
  266. ;zlib.output_handler =" Q0 X; A$ d$ b: T# ^
  267. - i4 W8 v  g- Y, O7 q, _
  268. ; Implicit flush tells PHP to tell the output layer to flush itself6 \% U4 \  V- L# g# z. ?% J/ ~1 B
  269. ; automatically after every output block.  This is equivalent to calling the
    # @5 i" P1 ~8 F; N
  270. ; PHP function flush() after each and every call to print() or echo() and each
    ; e  a3 ~( _1 C
  271. ; and every HTML block.  Turning this option on has serious performance
    " A8 ~( w- L/ M- p9 h
  272. ; implications and is generally recommended for debugging purposes only.
    9 e' H/ C# _  V8 }4 |. P
  273. ; http://php.net/implicit-flush5 n$ s+ R# c" F3 r+ n
  274. ; Note: This directive is hardcoded to On for the CLI SAPI. ?/ x1 {1 B/ \' V7 M/ q1 [' g
  275. implicit_flush = Off! E2 F  e5 p" F" B( s
  276. , n! x3 _/ W9 T  K1 j: Q
  277. ; The unserialize callback function will be called (with the undefined class'
    9 `* T5 m, w- t; J' H6 z
  278. ; name as parameter), if the unserializer finds an undefined class/ o1 I: _* ~3 y! T' r
  279. ; which should be instantiated. A warning appears if the specified function is" n- P6 Z2 f1 G( z1 U( H
  280. ; not defined, or if the function doesn't include/implement the missing class.9 C4 @5 }4 \. o! V$ z7 P
  281. ; So only set this entry, if you really want to implement such a, L5 l7 S5 t) ^2 q% }. n4 c
  282. ; callback-function.4 V! R! @; C2 H
  283. unserialize_callback_func =
    2 [/ s& K9 A/ u- e3 d1 b
  284. # N  J& v. Z- D' Y% i, M
  285. ; When floats & doubles are serialized store serialize_precision significant
    ) u9 o0 G7 X4 T% b
  286. ; digits after the floating point. The default value ensures that when floats7 `' o2 l1 L; \4 }
  287. ; are decoded with unserialize, the data will remain the same.9 G$ w6 @' g. @
  288. serialize_precision = 174 T; v  P; b; q9 W2 r: H4 i

  289. . V' k4 d3 H+ Y6 T' v: T
  290. ; open_basedir, if set, limits all file operations to the defined directory
    / C* R. A8 d6 v  T; C3 C- d
  291. ; and below.  This directive makes most sense if used in a per-directory$ s* W% B3 \+ ?4 ?# s
  292. ; or per-virtualhost web server configuration file.
    ) @2 ^+ G  t5 E1 i' F) s
  293. ; http://php.net/open-basedir
    ) r6 j6 s0 q- p  M5 L9 o
  294. ;open_basedir =
    : J+ Y1 w- r8 T7 i  X4 s

  295. 6 n+ J1 [) g/ R; `" N( T
  296. ; This directive allows you to disable certain functions for security reasons.. ?- m; Q* ?# I# }/ p5 g# g
  297. ; It receives a comma-delimited list of function names.$ `/ `2 b* t2 Y" z: |4 C. G4 g
  298. ; http://php.net/disable-functions
    9 y4 j2 i% \/ A1 c" e
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    # E3 i& I+ v' |/ Y  D/ r+ b8 o3 z; |6 \% I
  300. 1 D4 {4 r( v5 }( M% {' \3 I$ y+ G' r
  301. ; This directive allows you to disable certain classes for security reasons.
    : T; U5 Y: }5 h! U( I
  302. ; It receives a comma-delimited list of class names.& x! h& n$ a: [* b
  303. ; http://php.net/disable-classes
    1 [$ y) w# ^: I" g( T
  304. disable_classes =5 Y: D' X7 B3 A" `* g4 ]5 j1 l

  305. ! h8 ~9 C+ x3 C% ~6 J; P
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in$ k) R) `: l' ^/ s0 D( r3 r# Z
  307. ; <span style="color: ???????"> would work.' K2 o. k0 O' y/ f! z3 L
  308. ; http://php.net/syntax-highlighting
    + U/ l5 \& H1 J" r2 p) z3 y5 S# m
  309. ;highlight.string  = #DD00003 i* Q1 c) `. G: b* X/ J# f
  310. ;highlight.comment = #FF99002 d2 _$ s0 U( z$ o9 J
  311. ;highlight.keyword = #007700
    0 p3 ~) A& |) S
  312. ;highlight.default = #0000BB+ h7 ^0 y! }9 R3 A- O+ s6 ?
  313. ;highlight.html    = #000000
    ; R* s2 S5 n3 g$ E% \! D- d5 h( x7 g
  314.   n5 s" ~3 s1 Y) ^( ~3 ?9 b
  315. ; If enabled, the request will be allowed to complete even if the user aborts, h4 `- l5 b5 ~& j
  316. ; the request. Consider enabling it if executing long requests, which may end up
    9 G0 M3 `# a4 X, U5 C; p  _' H( c
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    0 w. j& |" _: u# U+ p" ~
  318. ; is to disable this feature.
    2 e4 a9 {- b, C: e4 \* s2 k
  319. ; http://php.net/ignore-user-abort
    4 \* D; J# g3 l4 G' S
  320. ;ignore_user_abort = On
    - Q0 V$ [; B7 O( g6 @" B
  321. / g7 X/ ?$ |# m8 w( T  V8 X9 C: k
  322. ; Determines the size of the realpath cache to be used by PHP. This value should' A! E" _$ @4 {
  323. ; be increased on systems where PHP opens many files to reflect the quantity of2 ^; b$ A5 U! T2 ^8 ^- ?
  324. ; the file operations performed.$ ~3 Q7 H7 o- B/ R$ e
  325. ; http://php.net/realpath-cache-size1 M! B3 Q$ C: l1 S4 P! G: k
  326. ;realpath_cache_size = 4096k
    / O& u% O7 ~, ^1 P1 {
  327. % ]8 G' g3 f: Y) Z+ o. |
  328. ; Duration of time, in seconds for which to cache realpath information for a given  d8 R# G$ l& E/ w2 g/ _7 v
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    * V; v/ Q* `& G: q& f
  330. ; value.
    ' H$ ~4 I% N/ L' }& |; w
  331. ; http://php.net/realpath-cache-ttl
    - f9 x" l* b% I! ~1 \2 v% G  x! h, C
  332. ;realpath_cache_ttl = 120
    & Y& J, E! q; ?% W3 T- k

  333. - x% s& W8 u  f/ u8 ?/ {; O
  334. ; Enables or disables the circular reference collector.$ j* c9 V6 g4 o. z' Z
  335. ; http://php.net/zend.enable-gc
    9 h2 b1 W9 y: Z, i- S; N! |
  336. zend.enable_gc = On5 \$ Q. ^. I, _# [/ o! v: _
  337. " {2 k4 e6 q% O
  338. ; If enabled, scripts may be written in encodings that are incompatible with& h! M& C( c/ P/ B7 p
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such+ Q0 |) \  ^3 r- G5 f, A* b( j
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    . i# |; M4 y# L0 _" x4 |
  341. ; Default: Off2 E( Y9 E! S7 p& D* v( x' a
  342. ;zend.multibyte = Off2 g) V1 U" N/ Z, \2 Y0 X

  343. - I6 t, s  }$ B3 G
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    4 R! G% I* m$ f/ g$ s: V
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.% @! d. `; A! U' g  M
  346. ; Only affects if zend.multibyte is set.& ]! T0 b( {6 E( ~/ x4 k
  347. ; Default: ""+ L5 B, n/ l' `# b. ^
  348. ;zend.script_encoding =. Y2 N$ V8 T7 [, G0 h+ E
  349. $ ]- Q  _8 N8 Q. X% v
  350. ;;;;;;;;;;;;;;;;;
    ; c# T- S+ S4 u/ _% b$ L' Z, H* J
  351. ; Miscellaneous ;
    $ N- I) ~0 u0 Z+ \* R- D. _8 U
  352. ;;;;;;;;;;;;;;;;;
    # _# d/ d& x: m0 l* N
  353. - i# H& b: S+ L! D
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    & y8 r* j/ o$ u0 U1 L+ ~
  355. ; (e.g. by adding its signature to the Web server header).  It is no security- D" J% y: `  d8 ?$ R2 ~
  356. ; threat in any way, but it makes it possible to determine whether you use PHP+ I# Y' {5 U( _6 h0 _6 z7 M: q
  357. ; on your server or not.# @: f+ m' D. ]! a# T  x
  358. ; http://php.net/expose-php% @: y; i/ d* j) f9 G3 v8 }
  359. expose_php = On
    8 U+ p# b3 m- c0 P. \4 D0 a
  360. 6 r" H" q% I9 S- R
  361. ;;;;;;;;;;;;;;;;;;;" m' e# b2 O8 [( ?8 p$ a7 L: }8 B
  362. ; Resource Limits ;& l6 k1 M+ w1 C
  363. ;;;;;;;;;;;;;;;;;;;
    2 I6 X( e* H% E" e% d9 J

  364. # y# u5 e) ^: l0 e$ C
  365. ; Maximum execution time of each script, in seconds$ O  }0 Y% `; G2 n; @3 T0 C- D, U0 _
  366. ; http://php.net/max-execution-time; Y; U: H8 I: e: ^
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI1 c' ?& U- F$ M/ M
  368. max_execution_time = 300
    ( ?$ g) \- u( g# _; i4 G0 F( W

  369. 9 @) D! [+ J) B0 p3 U
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    3 Q2 r, s0 [' x
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly$ G( r% [: f6 g9 k; C% _2 o2 ^& D2 u
  372. ; long running scripts.
    9 {" Y4 }/ K) k% F# S
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    # j! L- \( o) A* @% \, P- _" S
  374. ; Default Value: -1 (Unlimited)
    6 p, q- z1 V+ q& Z, @- K. \9 g& [# \
  375. ; Development Value: 60 (60 seconds)8 i  T! `0 b$ k9 n; X% H  ?' D7 X- o
  376. ; Production Value: 60 (60 seconds)
    % _. V6 o$ t9 a& q
  377. ; http://php.net/max-input-time* q3 D7 K2 H2 o& n7 O: }$ h
  378. max_input_time = 60
    ! w0 w1 |+ @7 I: E! t' t% ^1 R

  379. # S  D+ i4 u0 N6 C
  380. ; Maximum input variable nesting level" O2 Q  _- U! V1 H. {" ~# I
  381. ; http://php.net/max-input-nesting-level
    ' |: Y) R+ F# a! M% Q
  382. ;max_input_nesting_level = 649 l  O% s( o6 B2 S( K: h1 |% E

  383. ! p/ v2 i$ N9 V, b
  384. ; How many GET/POST/COOKIE input variables may be accepted
    # r" V7 O7 z! P/ c& P) A
  385. ; max_input_vars = 1000
    2 w$ \. n4 e" Y4 x. J* ?+ \8 R+ n' ]
  386. & j  Y) p. D& }0 }; f
  387. ; Maximum amount of memory a script may consume (128MB)
    ( e: x0 m- h; R( \5 M
  388. ; http://php.net/memory-limit; T% F  g4 G3 C! t' f
  389. memory_limit = 128M6 B( F. X% g5 T, w9 s
  390. ' |( n$ }' g1 J9 M. C
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;- @$ P( b! K( {* V; u, t+ {, r
  392. ; Error handling and logging ;
    * A8 ^( B2 ?( n+ ]# c1 I5 \
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2 |7 m: m+ Z$ N6 |) g

  394. . J+ J7 @% ?  v1 W# I) c$ W
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    * {8 ?/ s4 k0 ~* N/ a7 n. B. H# h
  396. ; it to take action for. The recommended way of setting values for this6 E( s8 U  X0 a$ W9 M. r
  397. ; directive is through the use of the error level constants and bitwise
    . a* w( Z  r2 q$ v! Z% O' E2 Y
  398. ; operators. The error level constants are below here for convenience as well as% M$ \- q4 ^* K; R6 Z3 n3 E
  399. ; some common settings and their meanings.$ O% k' [# t1 \
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    + X9 [# p3 g# O+ V7 S6 x& E+ o
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    ! j# E- `$ K" A+ r
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    7 F5 ?4 ]* f5 j/ g
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    ( I  B/ y; L9 |7 _
  404. ; resources complaining about best practices and coding standards. That's what
    * O1 {* ~2 E( N3 x+ p) i' @
  405. ; development servers and development settings are for.
    + X& T8 ^- ^( }. m6 _8 h. b" L0 `
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    + W  X) ^' s" B9 N) b$ \* b* j" p' ~, B
  407. ; means it pretty much reports everything which is exactly what you want during
    - _! Z* }  ?2 V/ N$ p% Z# w/ ^
  408. ; development and early testing., _: h. ?( V  B8 f$ D. Z
  409. ;2 F( D. [* s, k- S4 v! b
  410. ; Error Level Constants:
    # s% W2 M  o4 u9 S3 H
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)) B6 f: y# Z, U$ B
  412. ; E_ERROR           - fatal run-time errors& N* k% G! c6 R) R9 L
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    * T- J1 J- Y' a0 f; `
  414. ; E_WARNING         - run-time warnings (non-fatal errors)9 u( C& t# W. p7 K- m  u
  415. ; E_PARSE           - compile-time parse errors1 h( h+ Y( j0 U. C4 P" {
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    2 |% p+ V# G- F; M/ A1 Z
  417. ;                     from a bug in your code, but it's possible that it was+ U2 v4 a% D* l& s: T! ]. f
  418. ;                     intentional (e.g., using an uninitialized variable and; K' d5 |. ~+ ?& ~
  419. ;                     relying on the fact it is automatically initialized to an
    ) A  Z6 U5 r3 [: {
  420. ;                     empty string)
    # ~4 V8 N3 n0 \- _4 F6 J  [
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    , v; T0 E$ \8 ^5 a' s' y' z6 t% J6 j
  422. ;                     to your code which will ensure the best interoperability: l$ B9 b1 S! M0 |' S
  423. ;                     and forward compatibility of your code8 m* e- P8 q# C$ P4 Z
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    ) P% k0 b  a* I
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's2 ^! F  ~5 U. f' N; ~
  426. ;                     initial startup
    : j6 F6 t# _6 X* _& L# P  I
  427. ; E_COMPILE_ERROR   - fatal compile-time errors. T" H# \, m1 P$ t% x+ o) C5 g* k9 f
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)2 a% q" b0 v( E7 q
  429. ; E_USER_ERROR      - user-generated error message
    / a7 B. z6 n  y5 v" j8 j3 ?
  430. ; E_USER_WARNING    - user-generated warning message! n+ d0 m0 M2 S* E* y  S$ _5 ]4 z+ a; j0 W
  431. ; E_USER_NOTICE     - user-generated notice message5 W) @( ~1 _$ [0 p/ t: b: [
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    / `! |, F( Z# ?  P% u" \/ @: k, L
  433. ;                     of PHP( H: g3 N# t; ^. G1 d
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    - q% a0 f  E  C7 a
  435. ;9 _. R! j; O8 y% I/ M4 p3 s9 b
  436. ; Common Values:" r" _  }* [* c9 g( T5 Y
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)& J! n9 |" y/ _- W( ~, G+ q
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)* E! f& h5 ?" b) G2 l
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    3 m/ b2 K( n6 v0 q1 b" D' |
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
      u0 ?( n7 n, k* @+ Z. q8 C
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED! `9 r0 z% F& Y! Z2 u- N
  442. ; Development Value: E_ALL0 _! p& r0 Y5 B  q/ k2 e
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT+ k; V( z! [+ O3 A
  444. ; http://php.net/error-reporting
    , q2 s& ^/ a" b) T) G& c5 ]4 }
  445. error_reporting = E_ALL & ~E_NOTICE
    ) X9 n8 m1 K3 R! I1 D

  446. # X8 Q& {  A. o6 w2 t
  447. ; This directive controls whether or not and where PHP will output errors,9 K, b- b: R/ L; M# F* H# a7 |2 C
  448. ; notices and warnings too. Error output is very useful during development, but* ^2 u; h, u4 G
  449. ; it could be very dangerous in production environments. Depending on the code' P: U7 w- h! p
  450. ; which is triggering the error, sensitive information could potentially leak% t+ i' [( d8 @& Z
  451. ; out of your application such as database usernames and passwords or worse.
    # V3 s0 z/ }; u+ |% _5 l5 \9 w
  452. ; For production environments, we recommend logging errors rather than
    2 t; F: O9 r1 ~2 S  P; U" j
  453. ; sending them to STDOUT.
    5 y, c) Q# v5 f$ X
  454. ; Possible Values:
    , o3 l' l5 w( c' k- W9 ?7 B
  455. ;   Off = Do not display any errors
    $ V# q, F2 B, D: o6 k
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    ! C  D; M0 l4 c) D7 R0 C
  457. ;   On or stdout = Display errors to STDOUT! V) _. M7 H6 j
  458. ; Default Value: On# k' T7 U/ m* z8 s
  459. ; Development Value: On  W, P0 o) Q# ~5 N
  460. ; Production Value: Off' ]' D. A! p1 Q
  461. ; http://php.net/display-errors
      J# A0 y; h" _. ^/ |9 x
  462. display_errors = On# \0 r7 ^& b6 a. z
  463. 5 B% v' @# P' {1 [- P
  464. ; The display of errors which occur during PHP's startup sequence are handled- @0 I8 \/ s# L% K4 I: b$ W+ K! e
  465. ; separately from display_errors. PHP's default behavior is to suppress those  t  W/ Q/ m: g
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    6 b* c5 f3 t! U. h. p( \, A
  467. ; debugging configuration problems. We strongly recommend you" b5 V4 p+ N5 M" I! P8 h
  468. ; set this to 'off' for production servers.7 ~7 L5 n3 r! b% F6 ^* H5 [6 O3 A
  469. ; Default Value: Off
    - f! E, B8 C; x3 _: |5 b
  470. ; Development Value: On& ]2 p% L% E2 L: D' Y: |
  471. ; Production Value: Off6 Z& C) U" i# ~7 e6 [
  472. ; http://php.net/display-startup-errors. d' s: F" p: S1 {1 x) @
  473. display_startup_errors = Off
    4 G& ]4 q2 ^2 Q+ c1 Z& M, J* t

  474. + _$ R4 |- i* U& A$ X
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    ) b5 N1 D5 t( I) A  F  j: L  Z
  476. ; server-specific log, STDERR, or a location specified by the error_log
    - p8 {4 u! S! i5 s
  477. ; directive found below. While errors should not be displayed on productions
    7 V" ?1 A5 x# ~) B# X+ v. }
  478. ; servers they should still be monitored and logging is a great way to do that.
    9 V9 S5 ]7 a1 [/ z  `- _
  479. ; Default Value: Off
    ! p0 \; c' J3 a& D7 J0 M
  480. ; Development Value: On
    / f7 l( T8 [# H3 U5 J' x3 l& ^
  481. ; Production Value: On  |' p- u0 h/ \9 }
  482. ; http://php.net/log-errors1 r! k( H; ]1 T. O: ?8 w% o
  483. log_errors = On
    . z" p. r; r7 |7 j+ K

  484. 5 W# H2 n( n* a" I; i8 M
  485. ; Set maximum length of log_errors. In error_log information about the source is% Y% [) l2 p4 f3 k6 p8 K
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.7 S/ Z1 b' C4 ^: @/ s
  487. ; http://php.net/log-errors-max-len/ W9 `/ ^1 R9 R* Q( C
  488. log_errors_max_len = 1024
    5 h; ^. E* L2 ]% X/ W

  489. 4 T( H7 g" `, D, }0 i
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same$ T1 J- @# E) F( X$ D6 X
  491. ; line unless ignore_repeated_source is set true.
    * a$ V. z# o# a9 ~* O
  492. ; http://php.net/ignore-repeated-errors  V2 v2 |' ^+ F+ w$ v
  493. ignore_repeated_errors = Off
    - |6 s. z* s" M

  494. ) Z9 K+ B! c* ~" Y5 ]  N
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    / X4 c. C$ w5 ^) u, D
  496. ; is On you will not log errors with repeated messages from different files or
    / O/ ^/ k7 F* o/ E( H( S+ A/ `1 a
  497. ; source lines." @8 M; w( x3 Q/ f% v
  498. ; http://php.net/ignore-repeated-source
      ^# `% V- _9 }/ h
  499. ignore_repeated_source = Off
    2 M8 b" m1 J: x3 y" y8 E
  500. % G* @1 M9 G; [5 ^
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on9 `  S' @, W1 z1 l/ v
  502. ; stdout or in the log). This has only effect in a debug compile, and if  b" w% X, H6 m+ \( P
  503. ; error reporting includes E_WARNING in the allowed list
    # P$ ?* [9 W- K$ j  [
  504. ; http://php.net/report-memleaks
    , r4 \: Y1 x1 [( Z, D. _5 u
  505. report_memleaks = On
    0 R% E* j$ h7 O4 X% K& J; p

  506. 9 p+ f5 t2 a2 g
  507. ; This setting is on by default.
    * T$ i+ Z1 }, P9 Q) Z% x; L! J  X
  508. ;report_zend_debug = 0  \& j% Y8 W# S: b4 {
  509. 7 C6 [( N) G5 D. D# F3 P
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value+ E& @8 P9 O4 X- U. t
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    ) k9 ?/ B  x) K3 ?
  512. ; however be disabled on production servers.
    0 y: U& V; v! x
  513. ; Default Value: Off* U. m( S$ B6 P5 O
  514. ; Development Value: On
    . s: F: U4 U8 ?- P( R
  515. ; Production Value: Off  D1 U$ V% s. R( t6 h9 Q) q% @
  516. ; http://php.net/track-errors
    $ T9 n2 Y  S! o6 S/ z
  517. track_errors = Off+ m. A. i' w' I4 B' w+ j7 @

  518. " p' F4 J6 O" Q* b) r
  519. ; Turn off normal error reporting and emit XML-RPC error XML0 N: p3 j% [0 e6 ?2 v, y3 y
  520. ; http://php.net/xmlrpc-errors& X7 O/ k5 w- h5 _7 h  y
  521. ;xmlrpc_errors = 0; ?# ?- i& e; A( U* R
  522. # h$ i/ l; W4 e# L6 o% ]
  523. ; An XML-RPC faultCode
    1 w  E3 L# H& ^/ F
  524. ;xmlrpc_error_number = 05 I6 P) ^% _/ H6 x- L. K* W: R- m

  525. ! ^  f: L. @4 _3 j$ I. V( e
  526. ; When PHP displays or logs an error, it has the capability of formatting the; Y# ?) h- R7 a% k2 A: w; G
  527. ; error message as HTML for easier reading. This directive controls whether! G& Q' u( T+ P) R' E' d. ?, y
  528. ; the error message is formatted as HTML or not.6 B" E6 B& v2 Y8 F3 k
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI  r: a( u5 i' V* D& y$ c5 t6 P
  530. ; Default Value: On/ [; Z* N+ J9 @7 k* p' E. s- N
  531. ; Development Value: On0 j5 _& ~% h( E6 U6 F
  532. ; Production value: On- T& @" a- V9 l) x) a, l- q, d" q
  533. ; http://php.net/html-errors) v2 Q$ `4 k: t" Y
  534. html_errors = On( M5 i! h/ T3 X& O) z: f* k

  535. 2 o) ^/ i+ Z+ r" H( a
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    ) {4 L- h. Y6 Z! M& F
  537. ; produces clickable error messages that direct to a page describing the error8 w% y! n2 C: r, b2 D
  538. ; or function causing the error in detail.) V1 K! b1 u  i/ q! T0 k% C/ n- o
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    , U% ~& L% m: ?6 D) F$ y
  540. ; and change docref_root to the base URL of your local copy including the
    0 h1 r* X9 [3 b# ^5 G
  541. ; leading '/'. You must also specify the file extension being used including
    . Z' D% {! @: G  q
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which' {2 P  C& }1 y9 {! n, B; J8 y
  543. ; case no links to documentation are generated.
    9 S! g# G' O8 h- d4 E0 L
  544. ; Note: Never use this feature for production boxes.
    - l4 c; H; K2 X  k+ B& L2 j
  545. ; http://php.net/docref-root
    4 t4 p5 i$ a7 {- F( D+ O" S
  546. ; Examples
    ' @. X8 c, G. d; K7 i
  547. ;docref_root = "/phpmanual/"
    % C3 {8 B# X" J
  548. 7 ]" j  X* F( o* s+ L6 y6 n
  549. ; http://php.net/docref-ext  k+ l/ I2 R5 h% k0 P2 |
  550. ;docref_ext = .html
    * d$ _; B1 I5 I" C  P
  551. % v( \6 V2 H+ J# p" r0 N% s
  552. ; String to output before an error message. PHP's default behavior is to leave
    0 H* g( |! U) k  u% `  R
  553. ; this setting blank.
    & Q; K$ B' x$ u- E0 e; e" N
  554. ; http://php.net/error-prepend-string
    ' D  V8 O7 m+ B  D9 K) c2 Q
  555. ; Example:% D4 H. I2 h- H. h9 u
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    + [+ X6 O  T3 P" e' ]" m
  557. 3 N8 G; h" \( ]: p* r
  558. ; String to output after an error message. PHP's default behavior is to leave
    " B. y6 `+ y3 \( ]; J+ J7 ?8 ^8 s2 ]: |
  559. ; this setting blank.) ]) C3 Z& p3 G
  560. ; http://php.net/error-append-string
    . H6 Y4 O! c0 T. p
  561. ; Example:; b& F5 z: y4 ?  Q8 w$ m- O
  562. ;error_append_string = "</span>"
    5 q( |) z2 k5 e8 V/ @

  563. ( q: [9 W, n; |& J3 j6 X2 W5 @
  564. ; Log errors to specified file. PHP's default behavior is to leave this value& v, I2 ]4 ~6 H" L
  565. ; empty.
    0 F- A  J% Z, \. t8 Y$ @
  566. ; http://php.net/error-log
    ! D1 S7 J" b: H) W+ e3 U9 C
  567. ; Example:
    , _9 ^/ R% U( \
  568. ;error_log = php_errors.log6 [  }8 m( k9 U  F5 G7 Q2 B
  569. ; Log errors to syslog (Event Log on Windows).
    ) n6 u' \! v' a3 ~- X  d( K
  570. ;error_log = syslog* w9 O/ Y: ~0 s' o9 i
  571. . |% k! j) V2 t& p& A, t
  572. ;windows.show_crt_warning
    2 J9 y0 d( k/ L" l" ?0 a
  573. ; Default value: 0
    5 ?7 K9 G, L; B5 {) u# G( k' \7 H
  574. ; Development value: 06 L& c3 Q+ ~9 k
  575. ; Production value: 0
    , Y, Q$ l" |) ]7 D

  576. ( ?5 y+ i( i5 R( {! u3 G
  577. ;;;;;;;;;;;;;;;;;. S* o9 U- X$ j0 l8 U2 C" y, m
  578. ; Data Handling ;! D( A" e1 [3 w2 W% f. t  x
  579. ;;;;;;;;;;;;;;;;;
    $ G. `% j& t7 @( U( T' X+ T* W
  580. ; D* ]  u! P- P  `( k0 \9 U5 u4 a+ {8 a$ Z
  581. ; The separator used in PHP generated URLs to separate arguments.
    3 ^( X8 u# {* b8 M
  582. ; PHP's default setting is "&".
    0 s% L: q5 X; ]" D! w
  583. ; http://php.net/arg-separator.output2 G. G- Q6 F& V% F7 u
  584. ; Example:# ?& k6 s7 k/ f3 w
  585. ;arg_separator.output = "&"3 l% r" k' ^3 C+ c

  586. * b$ c- [+ n4 F+ v" L) r4 G
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    6 d2 E& [  v" M& K1 J* y
  588. ; PHP's default setting is "&".
    5 j( C; J7 g3 a, N$ F  D
  589. ; NOTE: Every character in this directive is considered as separator!
    - l$ g/ x0 s$ d! D  g! e
  590. ; http://php.net/arg-separator.input/ U. e. i6 k! U9 ~
  591. ; Example:
    $ k# h, w* e5 q& `, d
  592. ;arg_separator.input = ";&"8 @, {1 l) U2 R
  593. 3 k+ `" G" ?! w" m& l2 [1 k! f
  594. ; This directive determines which super global arrays are registered when PHP
    * a. C% `2 g5 l9 r' p# P
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    2 g( C6 c- z& i2 K; t& X0 x6 C
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty* }+ z+ }6 t  V( k7 \
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    0 ^( ^+ T* L' q9 m. f+ H# @
  598. ; used as the others, ENV is not recommended on productions servers. You6 k" w, s4 N" ?0 P4 ~
  599. ; can still get access to the environment variables through getenv() should you; Q& ?# Q. a6 Q
  600. ; need to.
    . m; O' g/ C$ T
  601. ; Default Value: "EGPCS"7 }& ]% g9 V/ H5 D
  602. ; Development Value: "GPCS"
    + Z% i$ Y* h; q8 N5 c( Y
  603. ; Production Value: "GPCS";
    % s( P/ l3 ^/ J" v: v, g
  604. ; http://php.net/variables-order0 A! `( _; c& h4 S  E: Y0 w
  605. variables_order = "GPCS"
    + q" |0 X7 _( a/ l

  606. 7 {/ [% r2 H' j3 Y' h
  607. ; This directive determines which super global data (G,P & C) should be" l: z4 s9 q" Q1 `
  608. ; registered into the super global array REQUEST. If so, it also determines! D1 F/ {2 I( u2 I5 n7 `
  609. ; the order in which that data is registered. The values for this directive, }* U6 F& u$ Y3 K" M1 g; F) A8 x
  610. ; are specified in the same manner as the variables_order directive,3 ?9 T7 _( s" i( G6 O
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
      g0 D% y3 A- C1 n4 \
  612. ; in the variables_order directive. It does not mean it will leave the super" H( b; Q& A! ^% S+ d: v- H
  613. ; globals array REQUEST empty.
    ' _* x! q) Z6 U6 `; m" D: k3 f
  614. ; Default Value: None$ k2 w/ Q; L. i- H( G
  615. ; Development Value: "GP"; }, @! e( E3 i' k/ J0 T
  616. ; Production Value: "GP"  ~% @9 N1 j% Z! j! X
  617. ; http://php.net/request-order
    4 q2 g. F. J& |8 d7 G1 k6 J
  618. request_order = "GP"% @" A1 [  f7 s' p+ z5 r. |
  619. 2 u2 Q$ y! l- O! I  s
  620. ; This directive determines whether PHP registers $argv & $argc each time it$ I1 c! E: i! r5 L8 E' [
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script' o. a1 ]8 L0 P
  622. ; is invoked. $argc contains an integer representing the number of arguments
    . w1 B1 t! ]; A1 n& l# q- H
  623. ; that were passed when the script was invoked. These arrays are extremely
    3 ~# T; ?  V/ b/ a, L
  624. ; useful when running scripts from the command line. When this directive is
    4 H: a: I- ~+ h& \" ^' |
  625. ; enabled, registering these variables consumes CPU cycles and memory each time, |% \4 U6 W1 k% N8 H. I- ?; Y
  626. ; a script is executed. For performance reasons, this feature should be disabled2 x3 t0 b3 y" E0 |7 a. {
  627. ; on production servers.6 `8 C: \: a/ L; I
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    : K, y& J: ~( ^, X0 ]8 f
  629. ; Default Value: On, u8 }  r0 @$ r  M
  630. ; Development Value: Off1 M. P! u+ q9 v  h1 ^; S) F9 W( f
  631. ; Production Value: Off& z! n' Q* c9 O1 {& V  K
  632. ; http://php.net/register-argc-argv! _; m$ N& Z- n# |
  633. register_argc_argv = Off/ D% f( M  G$ k' \4 z0 Q
  634. - |4 R% D& z5 ]/ i$ Z
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're: G" y) v4 s8 U
  636. ; first used (Just In Time) instead of when the script starts. If these0 I, _, u: b/ w4 C4 A) g
  637. ; variables are not used within a script, having this directive on will result0 J- K+ W& R3 O8 M6 i( J* V2 B. X3 \
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    ; @; n' R+ h( K. l" Y
  639. ; for this directive to have any affect.
    % \! [3 y7 w, d- p, c6 _9 r- L
  640. ; http://php.net/auto-globals-jit7 |2 F  u/ k" `
  641. auto_globals_jit = On
    5 i8 `* Y6 }6 S3 k! ]1 s  O

  642. 6 A) Y$ [+ [+ \' @
  643. ; Whether PHP will read the POST data.
    , T- A- z/ `& g# f9 J; |7 P
  644. ; This option is enabled by default.% U6 x; C7 B7 G2 \8 P  A
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    1 v$ r, G8 K( B. W) u6 x
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    5 j. S3 U3 T* O" J
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    8 |! v  N5 T% @" Y6 Z
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.4 u+ s' T! u, v- f8 r. L
  649. ; http://php.net/enable-post-data-reading& s5 J) x" _( w6 o+ Q8 y. o
  650. ;enable_post_data_reading = Off
    ) V- ~( }$ E8 ~* h7 q+ O2 ?: ~

  651. 4 m1 a/ m. J: y+ r: F, l$ M/ z
  652. ; Maximum size of POST data that PHP will accept.
    8 ^$ C! o4 [, Y- F2 M9 P5 s; w
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading9 N: w% j" L$ N+ s" b4 q
  654. ; is disabled through enable_post_data_reading.
      w1 {" O% ]7 o6 {3 K
  655. ; http://php.net/post-max-size2 e9 \' ~) p+ N
  656. post_max_size = 50M4 |0 W+ h! P  P" ]

  657. " b5 n  F) q$ e2 k( B! w  w
  658. ; Automatically add files before PHP document.2 k0 j  `! S, T7 A* s% K
  659. ; http://php.net/auto-prepend-file
    6 h/ X8 k2 I- d3 T) P
  660. auto_prepend_file =
    8 H# C, s5 ?2 T6 d% j

  661. $ h' p- E7 G( M+ {* }0 l
  662. ; Automatically add files after PHP document./ E2 `; a8 [8 o- G5 T' x
  663. ; http://php.net/auto-append-file
    . m; F. W$ c6 w3 }
  664. auto_append_file =2 z$ ~; K! z2 \- I
  665. $ N. I: Y  Q% m7 _7 X, o0 g3 m
  666. ; By default, PHP will output a media type using the Content-Type header. To( v+ F8 D9 o9 `8 t3 t
  667. ; disable this, simply set it to be empty.
    & g3 L( D% D0 G7 t
  668. ;
    - K& l0 |- |& i5 p" h+ v
  669. ; PHP's built-in default media type is set to text/html.& W, |! g4 b6 E$ C7 a5 L; a4 z
  670. ; http://php.net/default-mimetype$ {  B* R. Y+ j
  671. default_mimetype = "text/html"
    . g" L9 n, m. G% p
  672. " y. @) C- k$ Q' S& Z
  673. ; PHP's default character set is set to UTF-8.
    / l( Y' J/ ~' A2 V/ K8 W
  674. ; http://php.net/default-charset
    : K7 F( ?5 I6 k/ m! i4 E
  675. default_charset = "UTF-8"
    # b; n  P3 ]) _) T7 j, m

  676. 4 T; w, W% p$ H
  677. ; PHP internal character encoding is set to empty.# s' g! Q0 a* `
  678. ; If empty, default_charset is used./ a# D$ h9 d5 j9 ~. J
  679. ; http://php.net/internal-encoding
    6 x% y8 p8 _: C4 G
  680. ;internal_encoding =
    ) g% e- f$ ]8 D" R
  681. / A) T/ A1 C' n
  682. ; PHP input character encoding is set to empty.) P. \  k+ F: G* S
  683. ; If empty, default_charset is used.
    7 Y+ C0 `' s& w8 y. [" h
  684. ; http://php.net/input-encoding
    * c! G0 B6 _+ M6 i& _2 R# u4 E: N% J
  685. ;input_encoding =: `& B; S. t( P

  686. % c: \# {, S) M1 j/ W2 @( z
  687. ; PHP output character encoding is set to empty.& H" a) ~( ~' y5 F
  688. ; If empty, default_charset is used.* N  h3 s! P0 G- k
  689. ; See also output_buffer.3 ?5 ^" W9 |8 w+ Q# i. |5 [2 U, N
  690. ; http://php.net/output-encoding  ?# w% `  T! \$ T* y* D3 h
  691. ;output_encoding =
    + {& y) J1 K" P2 f

  692. . s5 ~8 z" r; y9 ]) Z2 ?
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;8 M( {8 I- i5 Q. ^& h
  694. ; Paths and Directories ;
    : S4 Q3 I! L1 j% U
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    1 U- i  V$ a4 Q, k, M3 u
  696. 5 W& U' F* \: k* d2 L
  697. ; UNIX: "/path1:/path2"3 a4 ?$ a- L  y7 u; K* [' C/ Z
  698. ;include_path = ".:/php/includes"
    , `" y6 b0 \2 L; S2 S) S# v) A6 {
  699. ;
    6 W; }  a* y% ^5 Z& t+ l  o
  700. ; Windows: "\path1;\path2"
    & b2 X+ {4 L3 x- n) {
  701. ;include_path = ".;c:\php\includes") w6 w6 s  f7 G. m, E% Q( _, K- V
  702. ;) u4 `1 n6 B9 r! [9 d! ]
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    5 y6 l& u+ C  I* i! v
  704. ; http://php.net/include-path% I/ Z& u8 w& a, k2 z  U
  705. # f) `7 L/ g; p( |4 w
  706. ; The root of the PHP pages, used only if nonempty.% b/ a  U8 P- d" |
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root) V8 C, B' a0 [  x6 M1 Z
  708. ; if you are running php as a CGI under any web server (other than IIS)* m. v( b& o8 H) k9 s' R
  709. ; see documentation for security issues.  The alternate is to use the: Z- H; K% Q2 g* W
  710. ; cgi.force_redirect configuration below
    % e8 |( N3 _- y
  711. ; http://php.net/doc-root2 W! [; C! d/ t3 \& k; i0 S5 c
  712. doc_root =( y* T& Q! o; x% ]& j

  713. 4 Q! P2 D* W: `, a& r
  714. ; The directory under which PHP opens the script using /~username used only- A3 w5 {% \9 U2 N
  715. ; if nonempty.1 n9 x* M: l. I+ j
  716. ; http://php.net/user-dir
    0 E1 A, N' c3 j$ C* o) B6 _6 d
  717. user_dir =
    5 p% B, N" U# I) G3 I

  718. 3 z: k8 M" g( V
  719. ; Directory in which the loadable extensions (modules) reside.
    5 ?+ s' P0 D( y
  720. ; http://php.net/extension-dir2 U; X0 D% a  Y# a8 ]  V" ?/ K4 N, a
  721. ; extension_dir = "./"( T8 u" I3 Y2 c
  722. ; On windows:4 z  \- f+ [8 m& A
  723. ; extension_dir = "ext"
    9 e1 u4 J: y6 M6 ?6 [

  724. , c4 l2 `) I0 F( Q( b
  725. ; Directory where the temporary files should be placed., j/ i% F1 u( n  l) m- k5 M
  726. ; Defaults to the system default (see sys_get_temp_dir)% P% |; s+ k$ Q% l
  727. ; sys_temp_dir = "/tmp"
    . V. w& W5 i' G) e: ^! G
  728. ' g! o' E+ }/ i) s: h5 O
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    4 |& t; r7 e! _# u& Y, W. F4 i
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically' W( M% c1 g9 n
  731. ; disabled on them.% G* e3 g6 b& c9 ]4 g, a3 a
  732. ; http://php.net/enable-dl
    7 q+ s& A8 Y, v8 V
  733. enable_dl = Off7 j% L. |& M! O, D$ W5 ?  u
  734. . i* J) c6 v( e+ |
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under" g9 R+ h0 U' F$ }. `# T
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can3 \- u9 c) b( v) v/ M7 ^! I( W
  737. ; turn it off here AT YOUR OWN RISK
    - r" f' d. x7 ~# s: T$ n: h+ {
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**& T7 [8 Q0 z' v! T
  739. ; http://php.net/cgi.force-redirect/ W' X0 M  F6 M% k
  740. ;cgi.force_redirect = 14 ~; y; ]6 f) m' f4 M

  741. " [( ?- {$ \& K, g
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with; K+ J) F! G9 a4 ?- S
  743. ; every request. PHP's default behavior is to disable this feature.
    2 i6 H! U. \3 [
  744. ;cgi.nph = 1
    2 j: [+ v! }6 i9 q  h! J

  745. 0 ]# H7 b+ h5 ?
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    " k' L7 H; y$ U' {" E" f
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    , J- Z4 |* O8 r' k
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY/ w7 r0 m4 J, w# M
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.0 ?9 w8 e. a- |5 P& _% G& h% B
  750. ; http://php.net/cgi.redirect-status-env( ]1 J+ D8 d- o9 u
  751. ;cgi.redirect_status_env =
    ) B* u& s; a3 A  Y- l; `8 \8 `
  752. 9 K; u1 Z& O" F# N! _; J& z) A' {/ g
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    / S2 ?, D0 T! w) U, Z+ q( m) U- V
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok: w5 n6 s2 K6 o- G4 U# A
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    ' d- p0 c  E: i, A7 [$ s- R
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    2 W" I6 P* i3 K3 n# r2 L5 C( D. B
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    5 v2 A; a1 C) }4 n  M; ^$ F
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    1 y# C9 O. V. ]0 E8 @" |7 x/ S2 W
  759. ; http://php.net/cgi.fix-pathinfo7 b  y5 j: |0 ^1 L2 m
  760. cgi.fix_pathinfo=1! e" O! `0 J1 [1 u$ v# A

  761. * n& j" [6 z+ j9 m' Y
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside1 ]0 c  S, X! m# u: y
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    + q4 X: o! j4 v! f& j  ?8 S
  764. ; http://php.net/cgi.dicard-path3 i1 j- Y$ a) Q. D( O/ `
  765. ;cgi.discard_path=1" R' O% w/ L- U' D9 J

  766. 9 P8 o% |3 e+ [4 p% H. o3 g- \% Y
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    + b0 r3 ^, x9 G8 I7 D* `
  768. ; security tokens of the calling client.  This allows IIS to define the
    ' x1 r& ~- r/ T( V$ w
  769. ; security context that the request runs under.  mod_fastcgi under Apache1 t, ?1 k. p, r: Y! @7 i! c8 s
  770. ; does not currently support this feature (03/17/2002)
    , w; Y7 u; q: R1 {+ e
  771. ; Set to 1 if running under IIS.  Default is zero.
    $ p7 t) C$ p" B) w1 D: o8 K+ t
  772. ; http://php.net/fastcgi.impersonate  P1 ^2 S2 T/ p9 @
  773. ;fastcgi.impersonate = 1
    7 \) J, v4 ?. e& E) x( K
  774. # G2 G* x& \/ ], T6 N' V
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable4 e; z2 f  r; [( }) p  K, z
  776. ; this feature.2 s6 o* N  q( B) p. F
  777. ;fastcgi.logging = 0  L5 K: e; P: z8 \# _

  778. 4 D" Q  J1 a  X# q. E) b6 ]& n
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    % C- s, P' ^, W
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that6 C5 U- {& D* p# Z6 l- K( I, M- `
  781. ; is supported by Apache. When this option is set to 1, PHP will send- t9 u9 i+ h" ?
  782. ; RFC2616 compliant header.
    ' U( F- U0 Q6 x- Z8 {' `7 d% K5 \
  783. ; Default is zero.7 B' Y: _4 `0 U
  784. ; http://php.net/cgi.rfc2616-headers
    7 b: v- ~/ D& a+ [( s
  785. ;cgi.rfc2616_headers = 0% c& `  V& b. D: @4 Y% B
  786. . |4 C$ E1 d9 C( y0 }8 ~1 b
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!0 v/ Z; k% X- @2 U8 ?
  788. ; (shebang) at the top of the running script. This line might be needed if the
    8 c+ w) D& ^3 i
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    2 w( ?0 _) B! s+ q: U
  790. ; mode skips this line and ignores its content if this directive is turned on.
    ; T' U9 z  x2 q& J5 F! D2 [9 G  q
  791. ; http://php.net/cgi.check-shebang-line
    + S* l" @6 H. B4 m7 M
  792. ;cgi.check_shebang_line=1( ~9 |& m  u* u- n$ B

  793. , n( ^2 [  _6 i) h, i3 y) c
  794. ;;;;;;;;;;;;;;;;
    ' Q' q4 E. K4 q# d4 o1 b" [8 S
  795. ; File Uploads ;
    + ?- c: ~( C5 I. w) W
  796. ;;;;;;;;;;;;;;;;5 {; ]( x: B' N/ s/ u5 l
  797. 1 Y5 e0 X% {& k4 Q; i
  798. ; Whether to allow HTTP file uploads.$ Y" y5 _2 ~$ s  \% ]: [
  799. ; http://php.net/file-uploads
    ! }; q. U% V7 k$ X" v
  800. file_uploads = On
    0 s- O4 M) e+ F% n: u0 W( z5 B

  801. 0 C8 p9 I: q& l9 {4 U7 w
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    7 M5 W4 F8 T7 A8 a1 r  r6 s
  803. ; specified).
    ! o7 ~# Q$ V! v7 G* ~( s
  804. ; http://php.net/upload-tmp-dir) F, u6 z* g* T: }! z
  805. ;upload_tmp_dir =" J! \' X! r6 n& m& Y

  806. % q3 `) c; i: @1 W* E% @9 p: d. u
  807. ; Maximum allowed size for uploaded files.
    8 F+ {( U& \7 t. D1 L4 d
  808. ; http://php.net/upload-max-filesize
    8 k8 ?$ r3 D3 m6 V, ^
  809. upload_max_filesize = 50M
    5 V: x& `- e$ D$ L3 {

  810. / ~+ F9 b; t8 O, d
  811. ; Maximum number of files that can be uploaded via a single request" N2 M  \- j' @9 C
  812. max_file_uploads = 200 M( u5 Z5 N! |
  813. % ?+ _% h0 U5 o  h) Y
  814. ;;;;;;;;;;;;;;;;;;
    0 \6 l, b* \. Q* V, I; h
  815. ; Fopen wrappers ;
    % v( d' ~$ G0 ~* C- Z! x  E
  816. ;;;;;;;;;;;;;;;;;;: p+ n' W3 P3 d3 x$ Z

  817. # k5 {: K/ T; i! X9 S% n
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.) ?1 P9 g( L, b. R. A) B/ r# P9 E
  819. ; http://php.net/allow-url-fopen# c$ o1 l% G; v) F3 z6 U' l
  820. allow_url_fopen = On
    5 |: K/ |# d+ Y1 a9 s) R% z( E% c% z

  821. 9 H* W2 p/ M# W1 ^- {6 ~+ p
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    9 j9 K$ {0 U7 A( m
  823. ; http://php.net/allow-url-include
    3 g$ L, q& x( k9 q. F; c* I, J% v
  824. allow_url_include = Off& A9 i) o$ W5 i0 D/ H# w0 T$ v$ z

  825. 7 f9 m$ V3 d( M0 k7 a; F* {0 j
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    ' Q! K& D* O, H+ g1 t3 R+ x
  827. ; for this is empty.2 j+ _! m$ s  ]  j& L( d8 ?* D3 A
  828. ; http://php.net/from3 h+ H  v5 M1 |! R9 t
  829. ;from="john@doe.com"
    7 w) E3 P1 q6 Q: @) _

  830. / C, _* ?( {% N% }# C3 F+ V0 J
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    $ |2 G- t* w' N3 |
  832. ; http://php.net/user-agent
    9 Y9 ?. d6 ]( v+ `
  833. ;user_agent="PHP"
    4 d/ e, _$ h) ^' m& Y

  834. 1 H6 C0 s# f, I0 r, Z% N
  835. ; Default timeout for socket based streams (seconds)
    8 N/ w; X) s$ L7 U' V
  836. ; http://php.net/default-socket-timeout
    : }* o1 T( Q" P& o+ S
  837. default_socket_timeout = 601 H  X# g4 O5 F8 y' g

  838. " Y  l% l2 t# j- y8 F6 m
  839. ; If your scripts have to deal with files from Macintosh systems," s2 r3 ^% f. _( S, D9 E; G5 N, N
  840. ; or you are running on a Mac and need to deal with files from+ K9 }7 u! Z0 e" d; _5 P( r. h$ C; y
  841. ; unix or win32 systems, setting this flag will cause PHP to1 _4 I0 z5 \$ H! h
  842. ; automatically detect the EOL character in those files so that
    . `9 k( m( e* a3 D- n
  843. ; fgets() and file() will work regardless of the source of the file.: Y# r7 n+ Q- I9 V
  844. ; http://php.net/auto-detect-line-endings, I9 X  [- s: w, o
  845. ;auto_detect_line_endings = Off, _: A% \6 e# E" M$ q0 t: l5 N. \9 d
  846. * [$ H% L/ q  M0 z
  847. ;;;;;;;;;;;;;;;;;;;;;;
    6 v0 S, k( d. E
  848. ; Dynamic Extensions ;
    % ]4 S- q; L/ K- T+ M
  849. ;;;;;;;;;;;;;;;;;;;;;;
    , _! o& D; u1 N7 N3 }4 m

  850. 4 W. X' e8 f% ?6 P
  851. ; If you wish to have an extension loaded automatically, use the following
    ; c5 k1 i7 o% }' |, T0 s" D
  852. ; syntax:
    " }5 G( ^/ P! j! h' l+ |3 b
  853. ;9 C/ H+ N& J5 k  P% _  V
  854. ;   extension=modulename.extension4 h) b& `8 D8 j5 p$ p( e7 N% f
  855. ;1 W" v% h# _9 [% c6 P
  856. ; For example, on Windows:4 }0 A* M! c# ]3 k
  857. ;. W. ?0 N' ^5 J% V* L' y
  858. ;   extension=msql.dll
    8 R) s2 ^8 u2 @$ T" q, M* z) x: V
  859. ;2 v" m# }+ n+ @. l$ V; ~$ H& X2 N  O
  860. ; ... or under UNIX:
    5 H5 u1 H5 u- z; @7 F
  861. ;
    + Y: x8 w; h0 f6 |3 w$ G) x
  862. ;   extension=msql.so0 u! l/ ?, E. c; T  r$ i
  863. ;
    2 g) l0 I- d+ H0 u2 O
  864. ; ... or with a path:
    . B+ I" G1 @! u
  865. ;' n& {0 ^4 {0 q4 C4 U$ ~
  866. ;   extension=/path/to/extension/msql.so
    . O# N: H& c7 p  [6 x  g
  867. ;
    : Z. s3 q0 i, A+ {# r7 |, l! E
  868. ; If you only provide the name of the extension, PHP will look for it in its& L6 ?. B2 x. \9 m* t0 `2 C
  869. ; default extension directory.; N% b4 T" Z, ?! @" I3 F5 @) R
  870. ;
    * h- A7 L- F( p$ Q9 x3 Z( ]
  871. ; Windows Extensions" g  D: Z7 f( r
  872. ; Note that ODBC support is built in, so no dll is needed for it.
      j, H0 r3 R* x) l+ s/ ]. H. F
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)' b) g: Q8 n  f2 U" V0 K
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).* f8 R4 I# i$ s. w& {: j$ e9 ^
  875. ; Be sure to appropriately set the extension_dir directive.- b7 D+ k0 ?! M5 k
  876. ;
    , J; S3 s  O/ M( q* H
  877. ;extension=php_bz2.dll
    + S+ }7 A$ S+ l, W+ g
  878. ;extension=php_curl.dll
    8 C* Y/ K- q+ z7 H7 E4 H' R
  879. ;extension=php_fileinfo.dll: p9 c# x. ^, A' b
  880. ;extension=php_ftp.dll1 [5 ^& y9 ?4 z" ?. _4 ^3 H; _
  881. ;extension=php_gd2.dll" q' B5 [* s% Q/ g; C
  882. ;extension=php_gettext.dll6 b) z( }( z" B& }! a  p' O
  883. ;extension=php_gmp.dll
    2 e8 v  f: u0 k2 E
  884. ;extension=php_intl.dll
    6 ?* W6 p# j3 A! J  K
  885. ;extension=php_imap.dll, `) {5 r7 W* \. l5 _# N
  886. ;extension=php_interbase.dll( A. _, ~% t9 N1 u% a
  887. ;extension=php_ldap.dll" l: M' l/ e/ k5 ]& f
  888. ;extension=php_mbstring.dll- ^7 M, E( y2 y/ H4 ]7 y  j
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it+ [! v# h( w, }; l; b
  890. ;extension=php_mysqli.dll0 Y/ O# B" S8 Z: t! D' p/ Q
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client0 k9 @! G& B: y# h9 j
  892. ;extension=php_openssl.dll
    ' f8 R) E( v7 n, Q
  893. ;extension=php_pdo_firebird.dll* x- n: z# [) V. F- d, [
  894. ;extension=php_pdo_mysql.dll  z3 r& ]) ^3 A) e
  895. ;extension=php_pdo_oci.dll
    % _8 V8 |2 a! I5 J' b  A
  896. ;extension=php_pdo_odbc.dll" ^% W. F7 E/ e
  897. ;extension=php_pdo_pgsql.dll0 J6 W$ J) }; M
  898. ;extension=php_pdo_sqlite.dll! J. N% s. n) F7 d# d* ?$ H* {
  899. ;extension=php_pgsql.dll0 s- m  b6 P- J6 p" K. j
  900. ;extension=php_shmop.dll
    & `, ?0 h) C  q: _2 E6 V# d' m- ]

  901. ; p$ X3 w) N( t9 O
  902. ; The MIBS data available in the PHP distribution must be installed.) f' S( h2 B4 Z. J2 k/ U& E! M
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    & \' [# F, G% U; S! [/ t; x: k( {
  904. ;extension=php_snmp.dll1 |" r9 u( O8 L, s8 f

  905. 7 B0 \3 H+ B; b
  906. ;extension=php_soap.dll
    5 d+ q4 o5 k6 F3 H
  907. ;extension=php_sockets.dll+ P. M: s" V9 y: O
  908. ;extension=php_sqlite3.dll
    ' f* s; u+ Y) ]( {/ B5 T
  909. ;extension=php_tidy.dll
    " b# V. {7 K" D6 E  i3 F7 K
  910. ;extension=php_xmlrpc.dll/ V! R: A' ?3 g& {) C) A' a# }
  911. ;extension=php_xsl.dll. r% W+ [- l+ y, E& E

  912. ( o5 }9 B5 n+ P, O  L
  913. ;;;;;;;;;;;;;;;;;;;& R6 h& D2 _% E. R) z' j6 ^
  914. ; Module Settings ;
    5 a9 n  D) e# ]9 P2 m" t
  915. ;;;;;;;;;;;;;;;;;;;& ^, W3 H; U; N6 `! G- {. b% d- ]3 @; \
  916. 0 _* y2 D* W+ @7 j0 K
  917. [CLI Server]7 u4 u* {$ ~8 j3 ?( t9 E' M
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    8 U' i% A* u( w' |! ?- ]- }8 ^
  919. cli_server.color = On
    , v* \; A$ U2 d

  920. 8 u0 ?& @+ q; s
  921. [Date]
    3 k% M$ t. n' b/ l. y3 K, `6 p
  922. ; Defines the default timezone used by the date functions
    $ P# ^- s1 h6 I0 P, P
  923. ; http://php.net/date.timezone
    . H! i* i5 Q/ _6 _2 Z$ G
  924. date.timezone = PRC3 X: t- Z) x# g0 {7 a; m% m9 a
  925. * A5 z" @+ X: z9 d+ q* T, k$ o
  926. ; http://php.net/date.default-latitude
    9 p2 g1 r& K7 o9 l8 S; K
  927. ;date.default_latitude = 31.7667
    . i( \+ R& B; H* P( G( u
  928. 3 I- G" a# x. `- Z; @+ X/ \, u, j
  929. ; http://php.net/date.default-longitude$ }1 i& K' W# l7 y" X8 p/ K$ ?
  930. ;date.default_longitude = 35.2333/ I5 ?2 p: t3 O! y  @; e
  931. " ^6 L! G% C+ u1 A" Z, h* D! I
  932. ; http://php.net/date.sunrise-zenith
    2 G5 V. @6 l# b/ |# i3 }% G
  933. ;date.sunrise_zenith = 90.5833338 n" F8 g+ q; C

  934. 2 \; V6 P, I5 W6 v0 t; o- b
  935. ; http://php.net/date.sunset-zenith
    " r) \8 k! o6 r
  936. ;date.sunset_zenith = 90.583333( y' x# i! T% Z! v7 M6 ~/ K. d

  937. 7 b3 O% K' i4 t7 c/ [) }
  938. [filter]
    3 ?8 w0 F9 B  k
  939. ; http://php.net/filter.default
    $ S4 Q  Y9 V. I( Q
  940. ;filter.default = unsafe_raw3 w) m5 G  u5 c+ c  \0 ?

  941. ) ^' `6 Z; f/ Y! B
  942. ; http://php.net/filter.default-flags) Q/ U% _5 V; ]7 a
  943. ;filter.default_flags =" G3 N/ ?2 a, M, Z8 C0 M

  944. * V% C3 J% P5 L/ s$ c
  945. [iconv]
    / U4 c% u$ U; m5 [
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    4 m0 X* |0 [+ R2 K& V7 q7 z6 o& x( V
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    ( x. ~0 B, ~0 B
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    $ ?5 s8 D& i; {1 w( N
  949. ;iconv.input_encoding =' \/ {: G4 C: O) o- E/ X3 f

  950. 6 o  U. D) B. _" R8 p
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    ! P, J+ F) S) z$ t3 ~
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    8 A5 P5 X% W( u  x
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    1 R  m! ?# [  _$ [
  954. ;iconv.internal_encoding =
      V0 \( B* Q& ~( o, `! |

  955. + N" a+ U; H  R* I% J
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    ! y1 z# B6 ~, U2 J5 F" s
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    ' o6 s) o7 G# g: p( b
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding7 y, H1 L8 {: _, ?/ B. K3 W4 k
  959. ; To use an output encoding conversion, iconv's output handler must be set
    - U" T* m7 f* V8 @
  960. ; otherwise output encoding conversion cannot be performed.
      i" t) h3 }% ?! L" u
  961. ;iconv.output_encoding =
    & \  y2 t7 f5 a. Q' `3 v% U
  962. 4 g" W% f0 R7 p8 a
  963. [intl]
    * C! m6 L. z# V8 u! x
  964. ;intl.default_locale =
    ; J6 o% H3 z: \: Z& Y4 _
  965. ; This directive allows you to produce PHP errors when some error
    8 S3 J+ V3 Y  r5 k0 {# `( {
  966. ; happens within intl functions. The value is the level of the error produced.- P1 R0 S, ~  |9 A& [- T
  967. ; Default is 0, which does not produce any errors.- a2 V# l7 d7 }4 t
  968. ;intl.error_level = E_WARNING
    5 r: W2 R" w* {* f6 e. N8 X
  969. ;intl.use_exceptions = 0+ l% t8 g* L  o! t

  970. ( N, J0 h# n4 X( F3 @$ T
  971. [sqlite3]/ |+ u9 F4 t: d3 ~  S2 l
  972. ;sqlite3.extension_dir =
      V5 T" U2 p, i

  973. 2 d$ B  D3 k" b8 \
  974. [Pcre]( G8 b- ^0 V- i3 d
  975. ;PCRE library backtracking limit.; o8 D" H( V8 R% t
  976. ; http://php.net/pcre.backtrack-limit
    % }9 k+ R4 T+ S, a5 C
  977. ;pcre.backtrack_limit=100000
    7 v: J6 m7 `/ k2 d  S

  978.   k0 m5 `8 z  l; ]8 e6 ^
  979. ;PCRE library recursion limit.
    ) }0 T$ b/ g8 E/ Z
  980. ;Please note that if you set this value to a high number you may consume all
    8 @7 t: m! F5 ]! ]7 i: i
  981. ;the available process stack and eventually crash PHP (due to reaching the$ I( P' C/ x" H2 Z8 Z: O; ~) I
  982. ;stack size limit imposed by the Operating System).! o* P2 K- M5 p
  983. ; http://php.net/pcre.recursion-limit
    - n% A$ L# l; u. e! r' o
  984. ;pcre.recursion_limit=100000
    9 K  V$ o; g% `* H% r8 q
  985. * v: d4 c- r  }6 T2 a  l, m
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    : P2 f; m, s* d# x* g& v  A; B
  987. ;library to be compiled with JIT support.
    ) Q( t  h' h5 s7 f) Q0 h, k5 L
  988. ;pcre.jit=1
    3 N( S7 X' f) V2 U3 o; t2 Z
  989. 3 V" Z+ a! s6 T" T# C& t" s
  990. [Pdo]: f' X  Y0 H. \, Z" H
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"5 t2 I* l/ K! W2 h
  992. ; http://php.net/pdo-odbc.connection-pooling
    ( i6 U$ U# w  r7 i8 s  ~0 y* N
  993. ;pdo_odbc.connection_pooling=strict
    4 {  U: E8 Q( O
  994. $ i( S+ `6 Y5 l
  995. ;pdo_odbc.db2_instance_name9 O  }& t, |  s

  996. 8 e+ u6 v% _: i& j& h
  997. [Pdo_mysql]
    % Z8 v' m8 z. w. i, V
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    8 c: l' S) P* Q% h7 r
  999. ; http://php.net/pdo_mysql.cache_size
      g) w9 ]. U/ y0 B* v0 r
  1000. pdo_mysql.cache_size = 20001 M6 Z! Z- ]7 G2 e& ?8 P4 H/ d% {
  1001. 0 ~, ]3 H# S8 m& r4 l2 g9 J3 a# C0 o! a
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
      S. s1 f' f3 l+ e
  1003. ; MySQL defaults.
    6 a$ j( m% F% @2 S: t$ l+ r5 H
  1004. ; http://php.net/pdo_mysql.default-socket  `. V  H2 P2 ]& G9 g+ Q3 y* y1 A
  1005. pdo_mysql.default_socket=
    5 T+ `# \# `5 Q$ U  T

  1006. / a$ d3 x, p9 K% @  \9 N0 H( l
  1007. [Phar]
    ( v* j6 h' h# x
  1008. ; http://php.net/phar.readonly
    - `0 F+ A. A/ l) J6 J
  1009. ;phar.readonly = On9 x2 H) v+ z7 ]/ o

  1010. + ]" U: M1 S5 r* t
  1011. ; http://php.net/phar.require-hash7 q9 n) x( T- h- c% V
  1012. ;phar.require_hash = On3 u2 X: x8 F7 R# p" F- {

  1013. ( s- |0 F( O6 s& b" z/ f8 v
  1014. ;phar.cache_list =% m" |6 I1 a- x$ I: z1 O& J3 D

  1015. ; K4 S8 q, C. \
  1016. [mail function]
    ) G& h" v8 T# A, S
  1017. ; For Win32 only.3 g0 Y, ]3 {  E: w9 R, D
  1018. ; http://php.net/smtp
    2 ?- K, O. ~8 D: ?
  1019. SMTP = localhost0 z4 t$ L5 f1 d$ G
  1020. ; http://php.net/smtp-port
    5 ]) ]" p& E# k' g6 Q. {" t
  1021. smtp_port = 254 \) m" ~  ~* t, T  s+ d3 T
  1022. 4 a. f  O- B, b0 y( o5 ?
  1023. ; For Win32 only.! E% ]/ w7 ~/ U9 v' u, |2 ?
  1024. ; http://php.net/sendmail-from) t$ l$ p$ |% d3 v( e/ z6 c4 f
  1025. ;sendmail_from = me@example.com/ W* _/ V6 q+ S; f

  1026. ' O$ s6 U$ @* T
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").& k% p* F& f. _/ T7 q& ~9 ~
  1028. ; http://php.net/sendmail-path, N7 ?/ `# M% y, [
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    ; p! e3 X1 {* V/ }2 ~6 O

  1030. " a. c  [* C8 `% A
  1031. ; Force the addition of the specified parameters to be passed as extra parameters7 G5 k7 e6 R( ^
  1032. ; to the sendmail binary. These parameters will always replace the value of- W" C  h. A: _1 N/ `
  1033. ; the 5th parameter to mail()./ e) j( n$ A: X+ k
  1034. ;mail.force_extra_parameters =1 Z# d+ R0 W1 j" r& X- _: z6 Y8 Q

  1035. * \9 i1 O: ^$ Z' D
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename3 L8 x* P8 K- q% o# C
  1037. mail.add_x_header = On
    . f) s3 y+ m/ T5 t3 u. F) |
  1038. 9 E0 u7 V2 H# @! @
  1039. ; The path to a log file that will log all mail() calls. Log entries include5 t) b9 f. r8 p$ w4 z
  1040. ; the full path of the script, line number, To address and headers.  c1 ~3 U  F' [0 E, b
  1041. ;mail.log =3 V" d5 Z6 M4 B7 q4 R; s3 P
  1042. ; Log mail to syslog (Event Log on Windows).
    # ~$ A+ P( D2 {/ k
  1043. ;mail.log = syslog7 `: U1 |  a- |& e5 \) M6 M

  1044. + n% G+ P6 i6 k- L
  1045. [SQL]& w! \2 h9 j& {
  1046. ; http://php.net/sql.safe-mode7 r$ ~, U* p1 M  f: @) @  h
  1047. sql.safe_mode = Off
    ( c$ v2 v+ o' ]1 e

  1048. & f# Q+ M( A, {1 K
  1049. [ODBC]
    + S% S4 \! R3 X- U* i
  1050. ; http://php.net/odbc.default-db. `+ T  o/ k, X, }) {6 D. }
  1051. ;odbc.default_db    =  Not yet implemented
    8 z5 C* _. d- ~' }: t
  1052. , @2 f1 z$ D& h) s9 O: ?) v
  1053. ; http://php.net/odbc.default-user0 s. G% ?' W# ~
  1054. ;odbc.default_user  =  Not yet implemented
    " C; {: u, |4 z$ _

  1055. / U* N" s: Z1 o- q* m
  1056. ; http://php.net/odbc.default-pw4 Z2 l1 }$ T4 H% Q3 n" H
  1057. ;odbc.default_pw    =  Not yet implemented
    9 E" c, Q$ R% {0 |- N

  1058. 9 _/ {  O5 q0 @! d* A! C
  1059. ; Controls the ODBC cursor model.
    * L) I! S7 A, `* \. r' e0 H
  1060. ; Default: SQL_CURSOR_STATIC (default).
    ) e% M1 L  G/ ?' S/ p, {7 a4 G$ Z
  1061. ;odbc.default_cursortype) L( G8 m" t- H  G- K8 l

  1062. * o& W5 _5 M: S+ A, t
  1063. ; Allow or prevent persistent links.
    7 M$ t( B3 a+ P2 R: B9 a9 {
  1064. ; http://php.net/odbc.allow-persistent5 {) ^( o+ s# D
  1065. odbc.allow_persistent = On2 B5 e$ W* f" U1 f' r5 `
  1066. ( c2 x$ G5 V$ _
  1067. ; Check that a connection is still valid before reuse.1 H) @, q+ H9 Z
  1068. ; http://php.net/odbc.check-persistent
    5 H6 K% i. G. ?2 e, b
  1069. odbc.check_persistent = On
    2 c5 C/ C+ Y& Q
  1070. 8 h# N* h6 s1 G# t
  1071. ; Maximum number of persistent links.  -1 means no limit.
    + K. w1 G2 D* j
  1072. ; http://php.net/odbc.max-persistent
    * n/ I4 X+ X4 q7 A- ~! v0 n
  1073. odbc.max_persistent = -1/ c, ]6 W( l+ H4 E+ a

  1074. % N+ T8 a' }& c) D
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.9 z9 S# B: J* Y
  1076. ; http://php.net/odbc.max-links' q! b* F; N! M1 ]
  1077. odbc.max_links = -1$ ?9 ~/ C0 E  Y- X3 J2 V8 Z

  1078. + O, K0 k+ y2 T2 G
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means1 R( |; t; q/ [9 n
  1080. ; passthru.9 A& ~' g$ p6 w# D. h# y5 y* {
  1081. ; http://php.net/odbc.defaultlrl% D/ J& h, I, V4 \; {7 Y. x+ B9 R
  1082. odbc.defaultlrl = 4096
    - P! d# G9 }4 S8 P& f, s
  1083. % ^7 V% _9 S9 I4 y, o, k$ Q
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    : p9 _  S3 q6 `5 \( Q3 |& n
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation  [( a: S2 q% B) p$ \% \; D0 G
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode$ B* D. s( V1 Y6 V
  1087. ; http://php.net/odbc.defaultbinmode% N" ^4 Q1 h* C( U& q8 j
  1088. odbc.defaultbinmode = 14 l" a! q  e' t) ?  b( h

  1089. 2 U5 Z! r, X% s0 V/ w( ~
  1090. ;birdstep.max_links = -1
    # G  S9 _/ Z1 i; ]

  1091. 2 }3 y! i& t  R* o
  1092. [Interbase]. C7 B. C9 j- B5 L( w+ n
  1093. ; Allow or prevent persistent links.
    ! k  l; Y& n$ n2 H0 R
  1094. ibase.allow_persistent = 1% m7 D4 q9 ?" u. w( \
  1095. 2 l4 w- B4 ]1 X( D. e/ \' z) |
  1096. ; Maximum number of persistent links.  -1 means no limit.  L9 H2 b5 X$ t: v2 c9 v  x' s
  1097. ibase.max_persistent = -1  g4 x, ]. r0 ^6 C9 O( j7 l
  1098. & K' R* H4 N# @. h- p. X3 Z: f
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.4 n( q/ \6 G: Q, ~, W
  1100. ibase.max_links = -1
    2 k9 c9 c6 h0 D, j, q" {

  1101. " \/ r9 K7 K: y5 p! C" R' z
  1102. ; Default database name for ibase_connect().
    1 Z  O6 |. a* K  m& A) Z3 T. e' ]
  1103. ;ibase.default_db =
    , U' A9 e" B* R9 v. Z# K9 Q

  1104. 2 m% }+ Q: d% r: }' L
  1105. ; Default username for ibase_connect().2 H8 n$ f3 N1 f, B$ j
  1106. ;ibase.default_user =$ i5 O, J# n) H* _' b' c4 x" j
  1107. 5 L+ X5 q7 j5 S4 a* H
  1108. ; Default password for ibase_connect()., ^# a$ Q- W4 K0 A: m% Y
  1109. ;ibase.default_password =
    1 i1 i6 O* {7 O+ ~1 `: S' \( m! ^0 w& @
  1110. ! u& T; o: ~% r  f4 j$ F$ A
  1111. ; Default charset for ibase_connect().
    5 `; r) a- l8 p- W
  1112. ;ibase.default_charset =$ H6 c9 q1 v# M4 [2 D3 \. G: f

  1113. . W3 n* ?' s( A3 O
  1114. ; Default timestamp format.
    ) N! Z7 z, a0 N9 ?) O
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S", E( f$ V) r8 j  [  l1 t' [/ L" j) k
  1116. ! Q0 Y6 S7 V5 e  g1 V
  1117. ; Default date format.
    ; Y. o+ o, N+ I
  1118. ibase.dateformat = "%Y-%m-%d") r) _& S: c' k! y% }

  1119. ( s6 B. [9 Y9 W$ a; i0 f
  1120. ; Default time format.
    + ]' |- J+ E: w9 c6 c* C
  1121. ibase.timeformat = "%H:%M:%S"
    ' A3 x! x  @( r) g) C
  1122. 2 I+ F, ]. g3 V3 h; J
  1123. [MySQLi]6 Z" T. E! f+ y8 A$ l; T

  1124. + l6 C6 X, k8 p7 d
  1125. ; Maximum number of persistent links.  -1 means no limit.
    + I' ~1 q3 a5 X8 f) T* ~# R
  1126. ; http://php.net/mysqli.max-persistent
    : n# C5 c% V* e
  1127. mysqli.max_persistent = -1
    2 D8 i5 p# s; N( E' b7 Q( A2 `
  1128. ) r: V0 ^' a" [4 [+ C
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    , u! s: M- D2 k6 N! v. D
  1130. ; http://php.net/mysqli.allow_local_infile
    ) ?6 \% Y+ e+ G5 y
  1131. ;mysqli.allow_local_infile = On' O* i1 L4 `% M9 S, Y' K
  1132. ! Q/ x7 h: V3 _: v# w
  1133. ; Allow or prevent persistent links.5 u4 L9 P/ g: c7 e2 {
  1134. ; http://php.net/mysqli.allow-persistent
    $ `. G: n. r+ ]7 E% B6 W1 Y% d
  1135. mysqli.allow_persistent = On
    ( w% U: u. O& c( Z( f) t) O$ F4 x3 j
  1136. * w  s4 F/ O2 a4 }% q
  1137. ; Maximum number of links.  -1 means no limit.
    0 E2 g1 D: ~: Q: L9 l% ^# J
  1138. ; http://php.net/mysqli.max-links: p! u1 O% ]$ l. o: w( |: `
  1139. mysqli.max_links = -1
    . K9 q- Y, l. @1 m5 G' m/ m" D* t( U7 m
  1140. ! m1 E$ O% l' C" t% Y) @; I( {6 M
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ; [$ Q, ~# g. `' @
  1142. ; http://php.net/mysqli.cache_size4 u) D6 m  W9 U' P( w' F/ D+ o
  1143. mysqli.cache_size = 2000' c! I0 Z, a% V. {( Z
  1144. + v7 v* Z6 d" T" {$ `
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use- e6 s' H% R" f: E/ L9 Z- t% n
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the" F$ [# \8 c! J
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    + n  ]4 d2 W, B; l
  1148. ; at MYSQL_PORT.
    4 A! @% w8 n" U/ D1 W
  1149. ; http://php.net/mysqli.default-port8 k- s5 @; y, M
  1150. mysqli.default_port = 3306
    ' Z& e6 ?, n; U& m# E  k' A" a1 U
  1151. 9 j" V5 s; v; b- N
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in* S; w9 n* Z. |  t8 O1 `5 f
  1153. ; MySQL defaults.
    9 v& {8 _. l2 e4 f2 r
  1154. ; http://php.net/mysqli.default-socket7 s+ Q7 _9 I: q: {8 E
  1155. mysqli.default_socket =7 j! h9 V- R# P5 G5 ~3 O! b; [8 i& L% E
  1156. 2 ]+ \$ A" E5 U2 A1 ]
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    + D2 G+ {3 c! x- M
  1158. ; http://php.net/mysqli.default-host
    . t6 P8 o, o) ^& S: `1 Z$ q6 |
  1159. mysqli.default_host =3 D# W& t- |; w( z4 C" X6 V: z
  1160. # \7 L: i/ W( r* L( v
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    % q; C0 H3 B! `- W
  1162. ; http://php.net/mysqli.default-user
    & T. c! j. d$ }9 v2 r' X
  1163. mysqli.default_user =. A9 f: v& M' J% Q3 y& {

  1164. + I" [% f' P; O: ~
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    / x/ h/ M/ ^7 b
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.- P9 C2 F$ _+ p/ Y" C. O5 M+ Y
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    ( ?. F' B# y6 k. _  {- A: h1 Z
  1168. ; and reveal this password!  And of course, any users with read access to this- n2 Q; \$ P! Y( ~: L: z, `3 t
  1169. ; file will be able to reveal the password as well.
    * ?7 v6 [1 ^2 \! o3 U% z
  1170. ; http://php.net/mysqli.default-pw, A' k+ n8 ^; w+ m" H$ T. Z
  1171. mysqli.default_pw =
    # C& P8 ~- C7 L8 v2 s

  1172. # X+ M5 ~( P% E8 H5 o
  1173. ; Allow or prevent reconnect* r# f/ r# D1 ~; {1 o2 k
  1174. mysqli.reconnect = Off
    7 f0 l6 I: k& f: |6 l' A
  1175. ( b, _$ e  p7 z+ G: O
  1176. [mysqlnd]' ?  ?7 W8 E& J/ a! n8 q1 N* I6 j
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be  n/ O8 m- L6 Z, q' v; p  p
  1178. ; used to tune and monitor MySQL operations.7 K, F2 L8 h9 f% C% _
  1179. ; http://php.net/mysqlnd.collect_statistics- u5 B/ m) S, d9 E6 P6 Z/ q
  1180. mysqlnd.collect_statistics = On/ f) O- o) w6 i
  1181. 3 ~. S+ i* P, H2 {: q
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    % C2 f# T/ Y" `) N, N
  1183. ; used to tune and monitor MySQL operations.
    & U" P$ b, a5 V4 L1 c! u$ Y
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    ! i; R5 o! ?/ D7 g0 {- W+ M* i
  1185. mysqlnd.collect_memory_statistics = Off
      P  V% ~! L8 k" A

  1186. & P9 s6 ?% W# Y
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    2 L7 V  c- c1 K6 }* W9 S  ~' o
  1188. ; file.) g& @7 X. Y" z5 r
  1189. ; http://php.net/mysqlnd.debug, X5 R4 N7 I$ k  v7 ^( s7 ~
  1190. ;mysqlnd.debug =% E6 O( @- l5 j6 V2 [1 ?, Q
  1191. 7 b0 N; F' [. u1 R
  1192. ; Defines which queries will be logged.+ c/ b, f7 Z$ d" [' ^3 M
  1193. ; http://php.net/mysqlnd.log_mask
    2 M2 ^2 [& t9 ~
  1194. ;mysqlnd.log_mask = 0, R$ n4 w; _, _1 H4 ^

  1195. 0 r: I' U6 w; w5 m! ]5 n. A
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.; V9 ~5 Z0 D" M1 `
  1197. ; http://php.net/mysqlnd.mempool_default_size
    ; {! H- c: m4 U' V; V$ v& W* a2 R
  1198. ;mysqlnd.mempool_default_size = 16000( ]) P3 r. Z& i' o

  1199. ; C* t. j2 _& K) z; o
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    0 p: W3 N% ~" }
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    9 Q7 v) p, M2 u* k% b( Q8 \$ A
  1202. ;mysqlnd.net_cmd_buffer_size = 2048+ `2 v& d5 c3 d. _5 [( |

  1203. # u& z8 _8 C) ?+ [  ]% ]
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    ! z% a( d! d% U8 y' I: Z/ I' t
  1205. ; bytes.' e  J0 [$ I  r  U8 J
  1206. ; http://php.net/mysqlnd.net_read_buffer_size/ R" L4 `) I0 g4 L7 \
  1207. ;mysqlnd.net_read_buffer_size = 32768
    ' W5 x* B3 |& O% N; P( d) x

  1208. " f$ A5 I' X7 `5 _
  1209. ; Timeout for network requests in seconds.6 s- A3 c2 m$ o
  1210. ; http://php.net/mysqlnd.net_read_timeout
      q# m8 i7 Q& @: f* d) v
  1211. ;mysqlnd.net_read_timeout = 31536000! g" Z3 Z& S8 x4 P' f) m
  1212. ) v# O* G2 g0 M3 T+ [) k) W1 q/ j
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    * R' e% T% _8 R  F& D( j* l8 _
  1214. ; key.
    & p/ D0 o# I, c, W% ]# _0 i+ G3 o  d
  1215. ; http://php.net/mysqlnd.sha256_server_public_key' l8 J% l+ Z) x) s) E- s
  1216. ;mysqlnd.sha256_server_public_key =
    ) e% X8 a! a, J7 x3 g
  1217. " w5 n. F3 v: I- f; [3 [
  1218. [OCI8]
    , o; ?2 |7 R  N# X4 ~% ^
  1219. + q2 P# {$ N. y
  1220. ; Connection: Enables privileged connections using external
    # c, B" W* S  l6 K  `, w
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)8 H" c' ]2 S1 x- u6 R6 r
  1222. ; http://php.net/oci8.privileged-connect7 \7 [& \2 M# g& S3 d4 P! A/ R+ r
  1223. ;oci8.privileged_connect = Off
    7 f: z& Z) N' H! a' k4 h

  1224. 0 t' p! k- f& n" L$ W8 J! W
  1225. ; Connection: The maximum number of persistent OCI8 connections per) L4 U( C6 f( c# D
  1226. ; process. Using -1 means no limit.
    2 _- u0 r, Z5 ^" f  a' V
  1227. ; http://php.net/oci8.max-persistent" S$ p8 M& N, ^. u6 f, H0 R8 A
  1228. ;oci8.max_persistent = -1  i* i, c2 p6 d3 d
  1229. 5 E  ^, {% I- I+ c  B2 q7 w- t$ Z
  1230. ; Connection: The maximum number of seconds a process is allowed to9 R. ^' A! L3 b8 g0 `% n" V6 C" a
  1231. ; maintain an idle persistent connection. Using -1 means idle
    7 C/ E5 W0 a6 ]& J' N6 V
  1232. ; persistent connections will be maintained forever.& t! z% x4 H9 m. _' ~4 s2 m! r
  1233. ; http://php.net/oci8.persistent-timeout
    4 i+ H3 x) Q' B  p$ R
  1234. ;oci8.persistent_timeout = -1
    . v: v5 z% X' n9 {. l+ `
  1235. % g# j7 g# R; [% T8 P/ }
  1236. ; Connection: The number of seconds that must pass before issuing a
    % Q, Z7 Y1 m7 e( m
  1237. ; ping during oci_pconnect() to check the connection validity. When
    6 K9 x0 i2 b4 H" x  d* n' s
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables; d; @: h2 W. O  _: z0 e& ^
  1239. ; pings completely.7 `: Q6 Y5 s7 H  ]. ]# h/ t5 d
  1240. ; http://php.net/oci8.ping-interval) ~) v& ?( p' u
  1241. ;oci8.ping_interval = 605 z/ h5 }( ^) F- e

  1242. # H* Q' a) V$ c5 N
  1243. ; Connection: Set this to a user chosen connection class to be used. ?, M0 v$ l8 l( K) y
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    & Z: B; E( \$ x9 t9 F, V3 M/ U
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to2 k$ L; ]- Q$ h* U' Q1 F
  1246. ; the same string for all web servers running the same application,
    / X1 d) X( Q: }1 g5 R: b2 l/ J) y" j- p
  1247. ; the database pool must be configured, and the connection string must
    - P& Y9 l0 c8 V% w" D  ~3 m
  1248. ; specify to use a pooled server.
    + B& w: Z. O+ a
  1249. ;oci8.connection_class =7 v) i8 X, p3 E
  1250. & S+ F9 s8 Q% u* N+ z4 {
  1251. ; High Availability: Using On lets PHP receive Fast Application7 `- Q, y6 g7 g; w5 s& f2 r' u- A
  1252. ; Notification (FAN) events generated when a database node fails. The' c: G  `% b* R+ i0 r. s, B
  1253. ; database must also be configured to post FAN events.) f: i( B1 c6 Q6 g
  1254. ;oci8.events = Off2 v; N! B$ F9 E. _6 i* Y- l

  1255. / _9 J8 K6 m/ U4 W! v* }
  1256. ; Tuning: This option enables statement caching, and specifies how
    1 u/ g% Y$ [2 \3 `+ b- a4 Y8 f
  1257. ; many statements to cache. Using 0 disables statement caching.. M& W. |0 f7 o* C
  1258. ; http://php.net/oci8.statement-cache-size0 j4 {# U/ y& E- g$ V* _
  1259. ;oci8.statement_cache_size = 20& M, l6 W! a& t/ }& }

  1260. 2 k" E( a, R( `: W
  1261. ; Tuning: Enables statement prefetching and sets the default number of) H: ]) ?. m4 U% Y4 o
  1262. ; rows that will be fetched automatically after statement execution.2 Z4 Q7 y* L& z" n# i1 e* W
  1263. ; http://php.net/oci8.default-prefetch. l( a! k/ `  |$ ~+ E
  1264. ;oci8.default_prefetch = 1008 V4 H, j( ]6 c

  1265. 5 v% I7 C$ f' H; h$ [* A2 C* ]* ], E
  1266. ; Compatibility. Using On means oci_close() will not close
    4 F% p* E9 L  ^) |0 z" @
  1267. ; oci_connect() and oci_new_connect() connections.5 w0 ?* b( o5 {* {
  1268. ; http://php.net/oci8.old-oci-close-semantics6 K7 U/ q: ?0 P% [& ]! g
  1269. ;oci8.old_oci_close_semantics = Off
    ( M; ?4 ]# k! o# D3 d: K6 J
  1270. $ a- C0 T  m" K) Z4 T' B
  1271. [PostgreSQL]
    ) ?. e4 e/ ]4 J0 y3 y- D
  1272. ; Allow or prevent persistent links.
    & Q( m+ ~( z7 L+ d" V) q" p
  1273. ; http://php.net/pgsql.allow-persistent' r3 v0 r0 x3 F) Q& c' a6 ^* r9 v1 p
  1274. pgsql.allow_persistent = On  j# O- L3 Q- L6 g5 B. ?6 v  ?; |  k

  1275. $ b6 S- E7 P$ G) n- I- h
  1276. ; Detect broken persistent links always with pg_pconnect()., i8 p  u* w' i* Z4 N" R. y
  1277. ; Auto reset feature requires a little overheads.
    7 v# c2 a9 n/ p+ _7 e& F
  1278. ; http://php.net/pgsql.auto-reset-persistent9 G5 N! R) g; o+ ~9 q" k
  1279. pgsql.auto_reset_persistent = Off
    ' A8 E8 J+ P# g2 D/ c1 _- l
  1280. ' U4 y) ?$ s: \! B
  1281. ; Maximum number of persistent links.  -1 means no limit.+ S4 e# l5 F+ j0 \" X+ g: ~
  1282. ; http://php.net/pgsql.max-persistent9 j! i) w" ]; K
  1283. pgsql.max_persistent = -1
    ) `4 Q, W4 k; n" ^6 ^; u

  1284. & ~' f9 e) Q" h* |. S, }# P$ D* n
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    4 _" H4 `3 l# y) v! ~( e& N, T2 z/ F
  1286. ; http://php.net/pgsql.max-links
    # _3 i9 H. b# k1 x) w
  1287. pgsql.max_links = -1! P3 t) ?0 e; o4 P! Y  `+ V9 h
  1288. - x) E/ ?* S$ V1 ]9 g  X
  1289. ; Ignore PostgreSQL backends Notice message or not.
    * u# a8 q& m+ E- i1 }7 \% Z4 r
  1290. ; Notice message logging require a little overheads.0 P9 Y7 W) b1 d7 J, K) O* }, i: B
  1291. ; http://php.net/pgsql.ignore-notice: @/ I# K* j. `
  1292. pgsql.ignore_notice = 0* d1 N* W" r5 r# T( R2 B$ r! v

  1293. ' d5 E0 |1 D' @
  1294. ; Log PostgreSQL backends Notice message or not.4 ^* Z' q0 d3 Y# S& k& n7 U
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    * v5 j# d7 u; y( b, @, n( Z
  1296. ; http://php.net/pgsql.log-notice
    % V  \. b3 [2 c7 j$ Y9 L% E
  1297. pgsql.log_notice = 0
    . T0 w1 u' G6 Y: n+ m* K% K9 \
  1298. 6 o( n. B" P$ f1 k! u5 G
  1299. [bcmath]
    ) I) {% _2 Y, q( s" x' O  Y# i
  1300. ; Number of decimal digits for all bcmath functions.! V1 o3 u/ L7 P8 W) T" u' z* j
  1301. ; http://php.net/bcmath.scale0 ?4 e. E- B2 s. U! \# F& r
  1302. bcmath.scale = 0
    6 U& R% s: ]  c' V* d5 u

  1303. # h# J' H- O  ^
  1304. [browscap]- W. y, K) n( ~# s$ A' a  h* M
  1305. ; http://php.net/browscap
    . H& ?6 p% s( j) b) E
  1306. ;browscap = extra/browscap.ini
    # T$ [1 T7 c% S. T0 a* m7 c
  1307. : o  ?( G+ g# S9 w
  1308. [Session]
    - }3 e( j. h, F: g9 B/ V
  1309. ; Handler used to store/retrieve data.
    # G1 L7 {' t# @! r  v- L5 i. h
  1310. ; http://php.net/session.save-handler9 Y3 _; d" O; ?4 B7 D/ q" K
  1311. session.save_handler = files
    6 X/ A4 |& x. @4 E
  1312. 8 e) ]+ B/ [9 R  f# t, t0 z
  1313. ; Argument passed to save_handler.  In the case of files, this is the path3 t  ]2 {. P8 C8 P% c; S% ?
  1314. ; where data files are stored. Note: Windows users have to change this
    8 A5 A/ X2 p7 w- e' C8 G* D) s: m4 _
  1315. ; variable in order to use PHP's session functions.! w, U+ |+ F" X& q( [  @* R9 k
  1316. ;8 \1 Y) n8 Z1 k" L3 r
  1317. ; The path can be defined as:
    + W$ c- F9 {% ?2 z/ ]! A  h
  1318. ;
    4 X: k2 U$ p& s0 _5 W
  1319. ;     session.save_path = "N;/path". X; H4 S3 m2 k4 e
  1320. ;: w3 e1 X! ]* A$ Y! m
  1321. ; where N is an integer.  Instead of storing all the session files in8 K. ^6 |! Q2 M
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    , S8 w" X6 V- H( R1 S  R2 ]6 l
  1323. ; store the session data in those directories.  This is useful if9 _* j  i+ a3 g# F$ }
  1324. ; your OS has problems with many files in one directory, and is
    0 f0 S: F: d& B6 |
  1325. ; a more efficient layout for servers that handle many sessions.
    " w+ \/ o2 h8 Y' J6 w
  1326. ;
    ) O& q$ E) O9 N! V+ H6 W
  1327. ; NOTE 1: PHP will not create this directory structure automatically.' {/ G+ f+ I5 W: \; R* q2 E* K# _& v
  1328. ;         You can use the script in the ext/session dir for that purpose./ x) I& D1 H4 u
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    3 V  \4 U/ K  f' K" ?- ^5 B
  1330. ;         use subdirectories for session storage: i# V) N! ]. `) D! G# i
  1331. ;. A, d! b. r8 J0 @3 Z* C
  1332. ; The file storage module creates files using mode 600 by default.: ~" g& O9 [" P" R- q4 k
  1333. ; You can change that by using
    - M- ?1 V3 m+ a! ^% o
  1334. ;
    : S2 k6 V& K0 S$ Z7 _! a8 I+ d
  1335. ;     session.save_path = "N;MODE;/path"
    ! q- Q, w( D4 C0 s  P
  1336. ;6 z( g8 H7 _& T5 v
  1337. ; where MODE is the octal representation of the mode. Note that this
    3 R9 ^  E* k+ T
  1338. ; does not overwrite the process's umask.
    9 s8 T0 l1 {  Y( a- v
  1339. ; http://php.net/session.save-path0 u/ M9 E; }- c4 \
  1340. ;session.save_path = "/tmp"
    6 y/ q' R- W. J7 V3 g% L
  1341. " S4 }0 a1 Q& o& ?& c
  1342. ; Whether to use strict session mode.5 t; m  U! A! u0 X; c
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate% _0 ~( C/ C, v) q& f/ t4 D4 R
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects# x& }/ T. C0 T6 c0 f! \
  1345. ; applications from session fixation via session adoption vulnerability. It is
    9 H) W8 \, }$ R' w" x5 O
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.; V7 i  W; `: l
  1347. ; https://wiki.php.net/rfc/strict_sessions
    4 X* E1 M! [) v& `6 L1 J
  1348. session.use_strict_mode = 0' b4 s( O: E- v

  1349. 5 @' h: I- c7 |! m# T- p+ |5 ^. h9 u
  1350. ; Whether to use cookies.
      r! I2 p% _, R
  1351. ; http://php.net/session.use-cookies4 M( n) G+ c$ `$ J6 i# R6 M
  1352. session.use_cookies = 1& a- X/ v+ v  O# ~! W$ J

  1353. 7 z; h' L( ?, \# [6 a
  1354. ; http://php.net/session.cookie-secure, _0 G0 z5 Z3 c( y! m1 j8 f) }
  1355. ;session.cookie_secure =% V3 _# o) r' F* G, q0 M* P( x  U3 p0 _

  1356. / J. H- E# b& Y8 S2 N1 x+ R; J) V
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining4 M5 c% t5 N) h' x/ u! ^' P. h
  1358. ; the session id. We encourage this operation as it's very helpful in combating' @. n* \& b) N& p2 W
  1359. ; session hijacking when not specifying and managing your own session id. It is5 e+ l) [9 S; O! H; a& m+ V2 `
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.+ K' `- R: T3 J6 O* C3 c+ e: x4 \
  1361. ; http://php.net/session.use-only-cookies
    - p9 q' }& C& @3 ~! c/ o, F* e  f5 p
  1362. session.use_only_cookies = 1
    ' M1 u+ w# Q- ?) e1 X
  1363.   g* h9 B: H  m$ B; J( I8 c
  1364. ; Name of the session (used as cookie name)./ B8 F0 N3 s' ?; k: S5 v
  1365. ; http://php.net/session.name! E' f/ L  y! {% E+ ]
  1366. session.name = PHPSESSID
    . X7 X: o0 s% a( j" ?

  1367.   t5 d( k3 F7 y  p) D+ l0 B* p- z7 u
  1368. ; Initialize session on request startup.. e$ o9 ]/ D1 O1 v5 l! f% U
  1369. ; http://php.net/session.auto-start! t: m2 X, I$ K; s
  1370. session.auto_start = 0
    7 T: ^; B4 Y7 F, k* \5 S, p/ p% s
  1371. ' z0 G8 v5 j6 _' l# g
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.; {7 x6 ]5 i2 z
  1373. ; http://php.net/session.cookie-lifetime
    ! h" v" S6 @' {. B% ^
  1374. session.cookie_lifetime = 0
    % t) [* v; ^3 ^
  1375. ; R% w: Z% C$ J. F7 r: F
  1376. ; The path for which the cookie is valid.
    4 L2 T# W$ i, D. Q7 e
  1377. ; http://php.net/session.cookie-path
    $ G0 N2 I5 j, T5 o- c; z8 g: M
  1378. session.cookie_path = /; }# N& N" z. o  B  |: j5 w

  1379. 7 \0 }6 |* @, d  V
  1380. ; The domain for which the cookie is valid.5 \0 T; l( B: j# z) C+ \  t3 q! k  y
  1381. ; http://php.net/session.cookie-domain9 U, W6 U; L& b4 e8 T& A
  1382. session.cookie_domain =
    # p, ~- a# d% v7 O7 ~, Q
  1383. 8 a; t. F% H  @- b) X
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    9 i0 V9 v9 d/ s$ }5 b6 `! P
  1385. ; http://php.net/session.cookie-httponly  n; |' z: |3 _1 D8 c, n# z* r! Z
  1386. session.cookie_httponly =4 V2 H2 g3 @/ P' `  b1 }. N  O
  1387. ! Z' z( d) F0 U) u3 R
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    ! S0 ?; z9 G5 w' j8 n: L
  1389. ; http://php.net/session.serialize-handler/ h( V, E7 b  q: n) ^- z
  1390. session.serialize_handler = php
    , @4 o( q/ B: z. t" T8 t

  1391. 9 _9 u, W6 t  M2 M, c  |
  1392. ; Defines the probability that the 'garbage collection' process is started! D" l. k- s9 v! H1 {' ?5 w
  1393. ; on every session initialization. The probability is calculated by using# l8 m& P+ _- N% T5 p- t
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    4 K  Y+ v+ s  ^' E: @; y
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    0 ^# a1 m# P9 G0 G4 h
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    * r2 Y0 ]& g% b* x7 V2 k
  1397. ; the gc will run on any give request.
    4 f! r7 g* J$ a5 R6 T- B
  1398. ; Default Value: 1: k, T" x+ Q1 J1 U. V/ j2 N
  1399. ; Development Value: 10 I7 W/ ]2 D4 ~8 `: a
  1400. ; Production Value: 1' `8 f4 i3 }' l- ^
  1401. ; http://php.net/session.gc-probability4 P- n( p6 W3 L" d& y( d1 J) s* }
  1402. session.gc_probability = 1
    ( F2 l+ {9 ?$ H
  1403. # G: J, m7 J( [: Z' n/ Z4 U
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    / z- A1 ~5 y3 r3 t+ {& ?
  1405. ; session initialization. The probability is calculated by using the following equation:
    2 G$ @0 ^8 V5 {1 l5 U! t/ y( Q
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and; t* Y" n& ], Z5 E2 {0 D
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    9 C+ C( `: c% n: c
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance) |1 Q: W1 w& \2 V6 {
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    2 |/ Y2 M' ?7 _6 d% c$ [2 F
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    1 v: a/ I0 |/ N# N0 x( C; P+ u
  1411. ; this is a more efficient approach.: f3 t3 S1 e* W# b* R5 p
  1412. ; Default Value: 100; s* E0 n# a2 X. O9 B
  1413. ; Development Value: 1000
    9 M1 B6 v; W; Z/ F# Y0 M# j
  1414. ; Production Value: 1000/ M" n0 W, p. C1 Z  U+ z
  1415. ; http://php.net/session.gc-divisor) n, M$ o4 U$ ?) N
  1416. session.gc_divisor = 1000
    0 M' r' \: g# C$ r! b

  1417. / V. p2 e4 i. M1 z4 w
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    ! S* z5 {* p  d1 q& W% E; H
  1419. ; cleaned up by the garbage collection process.) g0 `) a$ O# o' s* Z, w# i4 F5 C: z
  1420. ; http://php.net/session.gc-maxlifetime& _; w; f( B; C; p# N! @4 t3 S
  1421. session.gc_maxlifetime = 1440
    + F9 S5 ?8 h- F  {
  1422. " C5 m% f, X( p) I0 N! M
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    - ~# Q; d  z! r9 Y) @
  1424. ;       (see session.save_path above), then garbage collection does *not*; @0 ~. a0 ]4 k9 ^0 @6 ~6 d3 Z
  1425. ;       happen automatically.  You will need to do your own garbage8 N/ O, i5 |5 F6 r6 t. i
  1426. ;       collection through a shell script, cron entry, or some other method." ]8 A( x  n; g2 I: N! Y9 t" N* G
  1427. ;       For example, the following script would is the equivalent of
    ' X% }$ k/ s$ k, c, B5 |
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):; S9 j: [/ }) `- R
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    6 i# i" J4 q( J

  1430. ( t! p# A4 Z7 v" |- r  [& R5 {
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.; P1 s# D& I2 ~& x# f( P) ]
  1432. ; HTTP_REFERER has to contain this substring for the session to be; x% H" W4 @. f
  1433. ; considered as valid.
    $ G  w$ a6 F- P/ ^4 X; J
  1434. ; http://php.net/session.referer-check
    : W4 n. q* F: p1 g1 M& ~1 f$ X- r; c
  1435. session.referer_check =# Z" s: X8 p2 {

  1436. & T4 L4 p, ~5 d, z5 A
  1437. ; How many bytes to read from the file.5 C+ w- D- d3 ]0 x% x* Y$ s
  1438. ; http://php.net/session.entropy-length
    , _2 \* A) w3 s
  1439. ;session.entropy_length = 32
    ; R/ k; L# y: n; R

  1440. 8 @, U3 r7 o; C
  1441. ; Specified here to create the session id.
    4 _) ^" Z( B9 w
  1442. ; http://php.net/session.entropy-file5 x& j: K1 o; f
  1443. ; Defaults to /dev/urandom
    0 Y: g2 n+ R5 H' E
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    5 ]& T$ w( `5 ~7 _3 L4 G
  1445. ; If neither are found at compile time, the default is no entropy file.
    : P* d; S8 }, K$ X+ m( o. s
  1446. ; On windows, setting the entropy_length setting will activate the# W: v  H/ q) A6 O8 L4 c
  1447. ; Windows random source (using the CryptoAPI)  L4 N& d  z# b+ U) B) m$ ]! h( X
  1448. ;session.entropy_file = /dev/urandom% P2 b: t1 p; v1 @) ?
  1449. # I8 \" w/ q4 {2 N. S. Z3 l( f1 P
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects- \0 R$ G& H( k3 M6 O; T+ Y. W0 K3 S
  1451. ; or leave this empty to avoid sending anti-caching headers.' G7 X# O9 ]5 B2 U1 x- ^( h6 |  ?
  1452. ; http://php.net/session.cache-limiter8 V: {, U- v, L- X
  1453. session.cache_limiter = nocache8 O9 @* T( F* ]8 P

  1454. 0 O; Q% A7 S1 A4 g
  1455. ; Document expires after n minutes.0 [& J7 }0 A& {* p/ Y- W
  1456. ; http://php.net/session.cache-expire1 M; b. q* @4 ~$ g* U4 R( V0 N
  1457. session.cache_expire = 180; c) d; d/ K2 ~# _

  1458. ( x/ ?* Z6 ]% K7 r3 z" S* ^% Y$ {
  1459. ; trans sid support is disabled by default.
    ' ^1 d4 I( d& F) ~
  1460. ; Use of trans sid may risk your users' security.  W( ^, Y- U* f) N: z2 B
  1461. ; Use this option with caution.
    , i! [4 |) i5 o8 z2 |7 y
  1462. ; - User may send URL contains active session ID: f# e" f! r! e/ f$ l# q5 s/ O0 s
  1463. ;   to other person via. email/irc/etc.
    5 h( i7 j( c& g  K% @
  1464. ; - URL that contains active session ID may be stored% `1 S& k8 \% y  K; W# t
  1465. ;   in publicly accessible computer.
      [* J4 @1 k! {  M
  1466. ; - User may access your site with the same session ID$ N8 s5 M6 x$ o% f( _; i
  1467. ;   always using URL stored in browser's history or bookmarks.
    7 m4 n5 ^2 K( [% B& Q: z! Z; p
  1468. ; http://php.net/session.use-trans-sid
    & x1 k- J# i& j$ v( _, j
  1469. session.use_trans_sid = 0
    5 p/ y( \2 Y' ]1 A
  1470. * t! r0 n8 Y# M- u( ?0 F' c5 r
  1471. ; Select a hash function for use in generating session ids.
    ( u7 y! |) T# X7 l$ B
  1472. ; Possible Values! Z0 v3 X' S- L# q) O: x
  1473. ;   0  (MD5 128 bits)
    ( e/ L- i# v  }, W( P: ~0 @
  1474. ;   1  (SHA-1 160 bits)7 \2 U6 \- N' j* j
  1475. ; This option may also be set to the name of any hash function supported by
    % g+ U$ D$ E0 H2 y. x2 l, k
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    6 q+ a: i) I' ]1 M
  1477. ; function.
    8 m! s( I9 t. }
  1478. ; http://php.net/session.hash-function
    ' F, s1 b8 C3 ~# [
  1479. session.hash_function = 0
    . U$ E4 b4 L1 ?

  1480. 5 W# f! k! ^# F' d, `6 m  m# ]
  1481. ; Define how many bits are stored in each character when converting
    " o; {% S& N% l; w+ V3 P& a
  1482. ; the binary hash data to something readable.! W1 Q; s' T% h! Z! `- T$ C
  1483. ; Possible values:
    ) |: i# e1 \  M) I
  1484. ;   4  (4 bits: 0-9, a-f)6 I1 |; O6 W3 U4 I
  1485. ;   5  (5 bits: 0-9, a-v)
      V, j# Y  M& L8 j0 Q
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    " q$ z; M% W4 a
  1487. ; Default Value: 4
    : k. h( C8 h! Q. C- B4 k
  1488. ; Development Value: 57 R4 ^+ Y- @, z$ n3 C3 y5 s
  1489. ; Production Value: 5
    " h/ b/ ~3 v' D2 z/ X& t( z7 K; D; X
  1490. ; http://php.net/session.hash-bits-per-character
    ! P" D% V$ Z3 l8 }5 A4 [
  1491. session.hash_bits_per_character = 52 e" M, v9 i8 s" }! _" [

  1492. 0 q3 P. X& o, u- q4 p* Y' q1 F
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.- ^; s" K& {# f5 G* i; J& I
  1494. ; form/fieldset are special; if you include them here, the rewriter will# `" \3 H% L) ~  r6 e4 H
  1495. ; add a hidden <input> field with the info which is otherwise appended
    8 v7 j0 U& G" H* f' s
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    : e4 g+ [/ J- {1 v" c  E& b4 ]
  1497. ; Note that all valid entries require a "=", even if no value follows.
    - C3 r4 b9 h2 k7 Q
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    " k0 ]* d3 l# L( n! \  T
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ' G  B$ t! v: H; B% m6 n4 k
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    1 R) O6 U9 F. Y- n  Y* W
  1501. ; http://php.net/url-rewriter.tags
    9 |0 z) }/ G) _% C$ j6 C; C# v
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"* Z- I: h. {% ~4 ~

  1503. 8 H; {4 G* t0 v; p
  1504. ; Enable upload progress tracking in $_SESSION
    - ]+ M, f! W- G; ~6 O6 I9 c; X3 s
  1505. ; Default Value: On
    , v  R7 x$ S1 L3 U; i
  1506. ; Development Value: On2 n5 |$ f. R/ b% B
  1507. ; Production Value: On
    , R( ~$ ]7 p0 F& ]9 `
  1508. ; http://php.net/session.upload-progress.enabled
    ! Y/ }7 c" D6 s. ?4 X
  1509. ;session.upload_progress.enabled = On6 b! X; T- V+ A) Y  P9 M1 o4 V
  1510. 3 r1 s% I. B. _+ W' z$ D) g1 {
  1511. ; Cleanup the progress information as soon as all POST data has been read
    & @& P$ m& u& f
  1512. ; (i.e. upload completed).
    / F0 j  ?/ A/ D1 p# x7 H& t, N
  1513. ; Default Value: On6 c; Y. v: I6 T0 X
  1514. ; Development Value: On* n2 N) U: S1 k: [
  1515. ; Production Value: On
    % N! n7 V) x* T- q. _
  1516. ; http://php.net/session.upload-progress.cleanup$ c8 T; Z( W9 H4 p% p6 t% [2 I* z
  1517. ;session.upload_progress.cleanup = On
    $ v& ?8 Q0 t1 M0 W* c
  1518. $ g  N$ m# N: C" |" J
  1519. ; A prefix used for the upload progress key in $_SESSION
    ( U: j2 j+ G$ l' I& `$ N" x
  1520. ; Default Value: "upload_progress_"
    # ?; j% Q% V+ p- U4 G+ J
  1521. ; Development Value: "upload_progress_": h; A  i3 x) B  f0 X- d) V2 I4 q# H
  1522. ; Production Value: "upload_progress_"+ f; x, M, t; i. A. L0 P
  1523. ; http://php.net/session.upload-progress.prefix
    # m% c4 U# @$ ]0 d) g0 A
  1524. ;session.upload_progress.prefix = "upload_progress_"
    / J' Q0 U6 E# u, c. @* q1 ]9 j
  1525. 9 H) l: W6 C9 B( F9 I8 s+ K- w
  1526. ; The index name (concatenated with the prefix) in $_SESSION& ?2 A2 A6 V8 r( `6 V% ?3 g+ C' t! y
  1527. ; containing the upload progress information7 R) G5 `( Z4 G! e$ L
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    2 H0 D$ Q5 V. i0 B+ E+ Y' V' H
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    6 P/ i' ?1 H9 P, K# r, L
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"/ |! D, A) p* Q7 W9 S
  1531. ; http://php.net/session.upload-progress.name
    " ~! F1 P# I5 n1 j* N* t
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"+ c' Z2 S0 R. [9 b% s
  1533.   e' g$ t9 j" S9 l: o0 \" ]
  1534. ; How frequently the upload progress should be updated.
    % T, Q; F  n" Z: i5 p2 H& g
  1535. ; Given either in percentages (per-file), or in bytes- M4 R  \3 x6 I: w' |- W7 x
  1536. ; Default Value: "1%"
    $ O* N  K& o- E1 L) O; {
  1537. ; Development Value: "1%"
    4 `& w2 c# A1 |" X, V* g! s
  1538. ; Production Value: "1%". Y& ^3 N: c: N8 b* A
  1539. ; http://php.net/session.upload-progress.freq  l5 [1 r- o% C1 m
  1540. ;session.upload_progress.freq =  "1%"
    ' t0 V8 S! N$ W: H. {9 o
  1541. / N' S+ V2 \, x  x/ m5 ^
  1542. ; The minimum delay between updates, in seconds
    # j& w2 }: L8 d+ @$ T
  1543. ; Default Value: 1! @" G# U. W9 z, A
  1544. ; Development Value: 1
    , F- Z1 b3 C7 n( r5 ]' l
  1545. ; Production Value: 1  M" D. J2 W( I, P) e6 P
  1546. ; http://php.net/session.upload-progress.min-freq
    3 _4 {8 v, d4 C# S' f
  1547. ;session.upload_progress.min_freq = "1"
    * L0 z) B- a& _
  1548. ) B$ @% L5 S, ~# @* V7 P1 k  S
  1549. ; Only write session data when session data is changed. Enabled by default.
    ) q! G' e! G7 q8 t2 t" C) O& N
  1550. ; http://php.net/session.lazy-write
    ' V" N' i7 L% p, ~+ ~2 v$ p
  1551. ;session.lazy_write = On
    $ }, O/ c$ C8 h3 h8 E% T6 Q- M/ n
  1552. / T& R. H! c3 ?4 _  w
  1553. [Assertion]+ B3 \: B" `! P3 [# T
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)9 M, C' X5 b5 {
  1555. ; -1: Do not compile at all2 w1 d# r- m7 t, [8 [
  1556. ;  0: Jump over assertion at run-time
    0 \' a$ ~" O4 y& U+ L
  1557. ;  1: Execute assertions
    $ O( P: h4 G5 L- U8 t5 E7 F
  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). j: z) _: I7 d, b! o
  1559. ; Default Value: 19 e5 x: p5 ^" P% W3 F- @
  1560. ; Development Value: 1- z. T4 \* S' M' k8 k5 f
  1561. ; Production Value: -1
    ' i& l6 d0 ~3 N8 h  o
  1562. ; http://php.net/zend.assertions. B" P  u. I5 r( I) j1 [( `
  1563. zend.assertions = -1
    $ ~+ y( U& i& I

  1564. 7 H: v# L; t9 ^: B( n" V
  1565. ; Assert(expr); active by default.
    * Z/ E' w  e& h' R; P: F, G
  1566. ; http://php.net/assert.active
    * q/ d! W6 }7 d1 W# \% g* z, U
  1567. ;assert.active = On, T1 c) M, l8 \% ^
  1568. # k. L" v. C9 }! |' t
  1569. ; Throw an AssertationException on failed assertions
    1 ~$ q/ a# D8 U+ `
  1570. ; http://php.net/assert.exception
    % b) o8 M- {  x/ l, P. g
  1571. ;assert.exception = On8 P( d0 v7 n. _
  1572. ) U* f8 {8 a# L/ N7 i+ [3 n
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)& y- h  ?2 Q% f: S
  1574. ; http://php.net/assert.warning7 u4 G# a& w* H7 z4 t+ `$ y5 E2 O
  1575. ;assert.warning = On
    4 l% C. a( Q+ d8 C
  1576. 7 o- d1 q  f* M5 M
  1577. ; Don't bail out by default.1 I9 N# h+ P1 c! m* z& r
  1578. ; http://php.net/assert.bail
    - U; o: r) w+ ~, _; i+ n
  1579. ;assert.bail = Off
    ; P( n/ w" R- f" |7 c

  1580. 6 \' @  j! i5 v- v+ h
  1581. ; User-function to be called if an assertion fails.
    2 g. c# ~* F1 }4 g' X
  1582. ; http://php.net/assert.callback
    0 W& h; q0 r6 a3 b( I6 V5 ^) C- O
  1583. ;assert.callback = 0( Q9 f, e+ U+ Y- T. g
  1584. ! ?3 i0 E4 Z( W" _/ m
  1585. ; Eval the expression with current error_reporting().  Set to true if you want! \- j9 s9 E1 k- d; k
  1586. ; error_reporting(0) around the eval().1 W6 \! Q+ v- L+ {5 A" ], {
  1587. ; http://php.net/assert.quiet-eval. i, I, Z5 b4 t4 H1 C7 F4 v/ L
  1588. ;assert.quiet_eval = 06 c$ A5 l0 d/ m* G! l; j5 ~; E* z0 d

  1589. # c! X2 f! ?2 Y* p$ ~; `7 Y
  1590. [COM]
    * n6 q, z$ w; L# U  ^* r
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
      g  F6 ^  d! @" u2 T
  1592. ; http://php.net/com.typelib-file" {# {: M/ {5 ^* W* f  i/ c
  1593. ;com.typelib_file =* S6 G$ s( p3 }2 a0 c4 w

  1594. 5 V6 t; U+ t$ W
  1595. ; allow Distributed-COM calls
    % n4 R; y  z) t; k8 i9 {
  1596. ; http://php.net/com.allow-dcom
    : X3 \! L6 B& v" ?2 L2 g
  1597. ;com.allow_dcom = true3 ]& h4 i/ C) `* B1 {
  1598. 5 S! a8 I4 I8 P" u1 B
  1599. ; autoregister constants of a components typlib on com_load()2 K' B9 \: J# T% W; Q
  1600. ; http://php.net/com.autoregister-typelib
    + M7 D: V% V$ W- _4 q! m) n
  1601. ;com.autoregister_typelib = true
    , O; {* \( B( r9 \' s+ \& ^/ D
  1602. % x* E# w: }* _7 @9 h7 i. Z& q
  1603. ; register constants casesensitive$ ]" T: `- a: e4 w/ b5 o) [
  1604. ; http://php.net/com.autoregister-casesensitive
    7 q* y6 u2 [* i+ C, M
  1605. ;com.autoregister_casesensitive = false- G4 _4 g) x) @$ C* _
  1606. ) ?$ j8 G2 ^* Y' U% b! z$ o
  1607. ; show warnings on duplicate constant registrations
    7 {7 T1 e6 {. l
  1608. ; http://php.net/com.autoregister-verbose
    5 L7 Z8 F  }3 B- ^* I( x
  1609. ;com.autoregister_verbose = true/ K3 j9 z: Q; i; B* u
  1610. , R+ Q1 E( w1 N9 M3 M# L9 l
  1611. ; The default character set code-page to use when passing strings to and from COM objects.' O2 N) T( M5 K6 g( {
  1612. ; Default: system ANSI code page: b/ p% ~9 g8 ]# `' S4 x
  1613. ;com.code_page=' }0 D, c4 R  @9 P% i
  1614. " M6 s$ q  P, e
  1615. [mbstring]
    ) H/ G. x+ H9 E$ ^) {7 J% m: i
  1616. ; language for internal character representation.
    6 Q& n' F  W! ^# N! s6 e
  1617. ; This affects mb_send_mail() and mbstring.detect_order., c- w$ ^$ ~- D; W7 z( ?7 P
  1618. ; http://php.net/mbstring.language
    5 L% E1 p8 m. Y/ c0 Y$ y$ c; @5 `
  1619. ;mbstring.language = Japanese
    & g' Q4 d0 G- \: d( F
  1620. 4 [# s( N  @5 F
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.# u$ M6 b1 S* Q3 C
  1622. ; internal/script encoding.
    . a; Z( S. E9 l- Y
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    3 b9 q5 \. o! z" v0 _
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    5 }( ^  r& K+ B7 e, L3 k
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    & b3 X5 o  m4 ]  ]
  1626. ;mbstring.internal_encoding =- E- v6 l) }2 l* \& A) \# i6 B; C
  1627. 7 ?2 B. u, P& ~, X
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.: T4 S9 T, h% d
  1629. ; http input encoding.
    3 ?( z# t& G9 ]0 \: l
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    - x# O' Z0 r5 |. _. R, k
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    9 c3 }9 m2 |/ f! B! M
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    # r8 t9 V" p2 t' A: d3 q  c8 Z* h
  1633. ; http://php.net/mbstring.http-input
    . T% t5 V8 c7 X8 e  W5 s
  1634. ;mbstring.http_input =2 E& k8 I/ R0 [

  1635. & L! i  Q2 q6 h" Z1 J- I% W
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.5 R3 E5 T3 v) X+ {/ P3 Y
  1637. ; http output encoding.3 ]) N  r9 [, |& C
  1638. ; mb_output_handler must be registered as output buffer to function.
    5 O( {8 `/ V% k1 t/ \1 j$ X7 {
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.4 F; _  `' u- f- m
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output+ F$ ]8 O+ V, o
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    # d6 n+ D2 W3 V; x0 b- I) [
  1642. ; otherwise output encoding conversion cannot be performed.; D" \0 A# x. d9 C
  1643. ; http://php.net/mbstring.http-output
    ( c/ S8 M1 m& I9 \4 }
  1644. ;mbstring.http_output =
    ! x6 _' X' f4 u
  1645. . v! x* x& d. z3 U: q; I
  1646. ; enable automatic encoding translation according to$ _( k+ q) ]5 t) a- E' k
  1647. ; mbstring.internal_encoding setting. Input chars are
    2 U( |5 j. V) Q+ ?- Q
  1648. ; converted to internal encoding by setting this to On.
    8 X- ]) I8 ~$ P1 r! h
  1649. ; Note: Do _not_ use automatic encoding translation for
    2 p2 p3 ^; _" }- B; ?
  1650. ;       portable libs/applications.
    % l2 ~* o& M$ @& M9 f
  1651. ; http://php.net/mbstring.encoding-translation% v( S( _- P- @1 a6 u3 d) W% Y) z
  1652. ;mbstring.encoding_translation = Off/ g) k, S' w' U

  1653. 3 i) @$ v9 x9 |; }" D2 X# |
  1654. ; automatic encoding detection order.
    1 g& S1 d/ g8 [- [3 X
  1655. ; "auto" detect order is changed according to mbstring.language
    # \# k+ |0 d! a7 l
  1656. ; http://php.net/mbstring.detect-order9 F* z: O) O4 I5 ^& K
  1657. ;mbstring.detect_order = auto5 Q- H! u  j( z" _5 |

  1658.   _- d" H( H; h& h
  1659. ; substitute_character used when character cannot be converted
    . P/ q7 t5 C6 e# D8 n
  1660. ; one from another1 l0 M( ?% L+ W/ L
  1661. ; http://php.net/mbstring.substitute-character
    $ p3 v9 |$ ], Q. i4 Z$ Q7 {
  1662. ;mbstring.substitute_character = none
    * J" W$ m/ f4 d" P

  1663. ( u5 i  P4 f, Y
  1664. ; overload(replace) single byte functions by mbstring functions.1 ]# X  B2 @* [" f
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    2 U# H; A  e3 \: _
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    # ?* z) e9 J+ ?+ n0 D
  1667. ; For example, 7 for overload everything.( a! c7 y9 h4 c1 Q( Z
  1668. ; 0: No overload
    % y: t* M! h- C8 ~6 A2 @
  1669. ; 1: Overload mail() function
    1 d) w! c; q9 n  K
  1670. ; 2: Overload str*() functions' C2 c* r5 X/ ~# l$ x7 p* n; B; [
  1671. ; 4: Overload ereg*() functions
    , U0 G  q0 J" ^8 ]5 J  i7 ?
  1672. ; http://php.net/mbstring.func-overload3 U: ~( [+ y) c" [! A* L+ j* G, ?
  1673. ;mbstring.func_overload = 0
    / X) D  Q/ j+ S8 l8 g& @+ z& T
  1674. : G# |* E/ U3 U: f9 q
  1675. ; enable strict encoding detection.
    . h7 Q' a2 {9 U8 [! I- B0 R
  1676. ; Default: Off; O. r1 g$ y6 z  E, A. t* H
  1677. ;mbstring.strict_detection = On
    " b" O8 Y% J, S

  1678. 2 K4 T, {- g9 m7 F
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()  r! G  i) ?1 D. u8 O
  1680. ; is activated.
    7 Y+ C5 P& v: \* j) G
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    ! }; K- Z+ M: h: E) M$ v# f% b" H( [
  1682. ;mbstring.http_output_conv_mimetype=# s% X7 a0 Z, j- b( X) R
  1683. 9 o2 {0 f7 f2 c
  1684. [gd]
    " o; n) O! [- u0 v7 J3 l0 v5 I
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    ( `; E1 c6 w& H* Z- q1 m; {7 H
  1686. ; a gd image. The warning will then be displayed as notices0 L! i8 \+ q! P1 t
  1687. ; disabled by default/ b, }* N1 k  F% E( n* @' @
  1688. ; http://php.net/gd.jpeg-ignore-warning
    : j! P' C7 j  U0 L: L. M
  1689. ;gd.jpeg_ignore_warning = 0. ^7 G6 A6 V! X7 ~5 b. H0 g
  1690. % n5 [( A4 j" i( x* e( \, R8 G
  1691. [exif]: t" X9 W- S6 K& M5 z
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.7 Z0 y! l$ f. u( v# K
  1693. ; With mbstring support this will automatically be converted into the encoding
    # B9 Z: M( s& b- g, ~8 y! _- t
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    : ?" e9 E$ d- x" J
  1695. ; is used. For the decode settings you can distinguish between motorola and) }% I3 t1 [$ z! f1 I! {/ _
  1696. ; intel byte order. A decode setting cannot be empty.$ K" T4 n! O4 e. e4 h
  1697. ; http://php.net/exif.encode-unicode9 b/ A: i$ N. y3 E
  1698. ;exif.encode_unicode = ISO-8859-15
    3 ~( s0 P/ K4 T' N! g6 S

  1699. : j5 G2 w9 \$ p7 {; v
  1700. ; http://php.net/exif.decode-unicode-motorola! _, u. Q4 b& M# X
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    0 o8 b* e! Z; U) l7 f# t* n

  1702. # `. \  s5 w; U/ _, Q. o. q
  1703. ; http://php.net/exif.decode-unicode-intel
    + K. ?8 I4 y) o3 K! e
  1704. ;exif.decode_unicode_intel    = UCS-2LE! }' D$ _8 j- t/ M1 b2 [
  1705. 4 v4 t1 b# h. n& c  J* \0 X9 s
  1706. ; http://php.net/exif.encode-jis$ [  j$ B. m5 \
  1707. ;exif.encode_jis =! Y* i& i3 F: s
  1708. 8 T8 ?% G! t. {# s
  1709. ; http://php.net/exif.decode-jis-motorola8 j  y' W8 x0 t" Z+ e# S
  1710. ;exif.decode_jis_motorola = JIS5 u# k9 z* ]$ e5 M

  1711. 7 c' ]' T8 l) Z
  1712. ; http://php.net/exif.decode-jis-intel
    ( G* G, k) I7 [3 g' {) H3 Y; U
  1713. ;exif.decode_jis_intel    = JIS) u; I5 T! x; m+ U
  1714. & q+ v) F, A! j1 V+ d( ~
  1715. [Tidy]+ E* u9 }$ s8 c0 Q' t# |9 o
  1716. ; The path to a default tidy configuration file to use when using tidy
    " t1 _, z, M; J5 ^: C
  1717. ; http://php.net/tidy.default-config
    4 M. }* |& |8 @5 o6 }% y
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    2 {# l4 m6 }# W. W" R& n+ W$ Y7 H
  1719. ( S# U9 h- |- @$ D, w* q
  1720. ; Should tidy clean and repair output automatically?
    & ?$ P+ U( c  E7 d% |0 U- p
  1721. ; WARNING: Do not use this option if you are generating non-html content2 F% p: A! S1 }- j5 w+ L
  1722. ; such as dynamic images
    3 D; X* u( X/ R4 x2 P
  1723. ; http://php.net/tidy.clean-output
    : J: O2 ]& N* ?) t! ~& H7 `
  1724. tidy.clean_output = Off6 L7 Z2 E5 ^. b  C0 k: V

  1725. 5 h/ p# v* Z3 }- [- P
  1726. [soap]
    ( ~% u9 Q1 @$ C+ M4 x; T
  1727. ; Enables or disables WSDL caching feature.
      U9 W8 F2 G3 w" R  m
  1728. ; http://php.net/soap.wsdl-cache-enabled
    , d: M, H! t: g( L* h' K6 J4 v- j
  1729. soap.wsdl_cache_enabled=1
    - p( e2 D0 D% E; v9 ~/ g6 n
  1730. 3 y- a6 {6 b. {% ]6 D" _5 R
  1731. ; Sets the directory name where SOAP extension will put cache files.6 o! Y2 d" U8 ^. Q7 U) H) m
  1732. ; http://php.net/soap.wsdl-cache-dir. A5 k) }% X* ?8 H& x0 j
  1733. soap.wsdl_cache_dir="/tmp"
    3 e% t3 I% B' x9 [6 e

  1734. 5 s) X+ k' |* C& l! R. o
  1735. ; (time to live) Sets the number of second while cached file will be used
    ! r" \7 B# h5 j# N8 n7 @/ q/ G
  1736. ; instead of original one.& N1 A/ J! m7 }" P
  1737. ; http://php.net/soap.wsdl-cache-ttl
    : r1 J( u! a* G$ B
  1738. soap.wsdl_cache_ttl=86400
    # v' {% J, S8 m

  1739. ) g9 i5 U9 Q) f9 x7 f) q
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)& c) |% d, a0 G6 [/ m
  1741. soap.wsdl_cache_limit = 5
    ' C) Q  g& D/ x8 m) m
  1742. ! k7 _. i+ S- K" I% m
  1743. [sysvshm], |8 h& P8 f5 f0 a% }1 Y& E
  1744. ; A default size of the shared memory segment+ Z  w/ S$ Z: [
  1745. ;sysvshm.init_mem = 10000- V9 A3 d# x* F/ n; G3 b6 x! u
  1746. ; {! Z) u5 e, x  ~( i
  1747. [ldap]
    1 I5 B- E4 e$ `3 s2 t
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    ; U) Q- ]" e1 K, \# P
  1749. ldap.max_links = -1# ]2 a. o* E) m4 q0 @. U8 ^

  1750. ) x4 u1 `4 _8 b+ T- Y& w
  1751. [mcrypt]
    3 c) O5 N+ \% g9 h
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open! Y. g' B, b9 u2 J# r! u- i
  1753. 2 [- Y& Q# m" x/ y* H6 V
  1754. ; Directory where to load mcrypt algorithms* |9 M6 _. B( W' J. T, ]. m- v# N
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ) `$ F& L& |  @/ v
  1756. ;mcrypt.algorithms_dir=  W# Y3 X4 z1 i& x/ ~6 n4 Y8 F" ?
  1757. , q6 f: `" x2 i2 Y; R& j
  1758. ; Directory where to load mcrypt modes
    8 c& p& F; e1 E1 s% [1 T6 Q
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    8 R( v% S7 O# E# \% y: }& P6 J. o
  1760. ;mcrypt.modes_dir=
    $ v3 s9 C. n; J6 K$ o) L
  1761. . _5 N2 c( e! N5 D( z2 x! [
  1762. [dba]% d. x% J$ p$ V$ s, C; G' ^- N
  1763. ;dba.default_handler=( z6 P: j5 J. i: F

  1764. 6 u* b6 a' s1 b3 c8 v1 C
  1765. [opcache]# i, N0 q$ v* m: J7 ^# w5 A/ g6 {
  1766. ; Determines if Zend OPCache is enabled) u: W' l; a* |' ^" k( f9 H
  1767. ;opcache.enable=0+ _* H7 ^4 {3 X
  1768. & t0 h  J; O9 k; R  K/ e
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP& @6 x  Z* U9 e6 Z0 g9 _
  1770. ;opcache.enable_cli=0
    8 d( g3 m' S8 I8 M3 \3 ^
  1771. 6 m8 R  r/ U/ j/ ^+ @7 H0 p
  1772. ; The OPcache shared memory storage size.5 p" B7 ~. U3 o7 T4 A
  1773. ;opcache.memory_consumption=646 C  t1 x1 a* h( p1 o
  1774. 0 f+ `' w( K3 ]$ i3 o4 U# T
  1775. ; The amount of memory for interned strings in Mbytes.2 ]" P, p7 t1 J
  1776. ;opcache.interned_strings_buffer=4& y$ I1 x0 C% y  K1 q( c6 V4 y

  1777. 7 d/ C& t6 u  I, f* b
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.7 k, p/ a/ r2 W8 g3 S, x: w
  1779. ; Only numbers between 200 and 1000000 are allowed.
    5 T1 A$ {* [. K( F
  1780. ;opcache.max_accelerated_files=2000
    ) t/ B8 r  j) `* c$ ?

  1781. 4 P- z$ u0 Y! U' C& I/ F1 a$ \
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    * R# B0 ~7 A/ A$ W( |
  1783. ;opcache.max_wasted_percentage=5
    6 D9 m; ~& v7 u$ h& x2 }' D

  1784. ; S$ S- W* W' R7 h
  1785. ; When this directive is enabled, the OPcache appends the current working3 _5 P9 Q2 W: E* s6 |+ L
  1786. ; directory to the script key, thus eliminating possible collisions between# r) U" J# I  q, p8 I* }
  1787. ; files with the same name (basename). Disabling the directive improves
    9 M3 s5 Z* Q) k  E
  1788. ; performance, but may break existing applications.7 e( A' K6 M, `- F* {( ^  @- W( T
  1789. ;opcache.use_cwd=1# p/ [/ B! e) t/ h8 @

  1790. + G2 G* M' [1 |
  1791. ; When disabled, you must reset the OPcache manually or restart the# G- f2 V* J+ G4 C5 z
  1792. ; webserver for changes to the filesystem to take effect.5 q# C; Z: N' j( T' w
  1793. ;opcache.validate_timestamps=1
    7 r+ s8 z6 a% |; J1 g4 t" e

  1794. 6 W# F5 d; g9 G% ]2 |# ?) H% a1 d
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    " k6 W0 p: t! ^* {6 e) P
  1796. ; memory storage allocation. ("1" means validate once per second, but only" q0 Z* ]) F1 ?" s% a% Q
  1797. ; once per request. "0" means always validate)
    3 Z7 c/ A# S) y5 \* d; f
  1798. ;opcache.revalidate_freq=2
    2 @- O& v! o# y4 v
  1799. # b5 T; [1 U& o7 a% [% l9 ~4 n  j
  1800. ; Enables or disables file search in include_path optimization
    3 f6 ~1 P* ?& I
  1801. ;opcache.revalidate_path=0
    8 Z6 A+ a1 k& ]# n

  1802. % `! O# _- d8 a; ]  {3 t( o
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the1 O0 t8 k- J; ^0 [9 y
  1804. ; size of the optimized code.
    ' ?% t; t6 v, p: Q% U
  1805. ;opcache.save_comments=1' P8 R( v# Q5 l. `1 j2 V
  1806. - e7 e; U, }. _3 W
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    , a. j" K/ W# }0 r" p5 U1 w
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    5 J4 ?3 c. e: Q) D2 Q! Y( ?) R' R7 t
  1809. ;opcache.fast_shutdown=0+ ]3 E5 ~) Q2 l$ m# _+ G

  1810. # k, A  ~$ x; ~2 ^+ K! w) q
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    3 j/ s9 h* J& q4 g4 X
  1812. ;opcache.enable_file_override=04 a7 |1 q1 j1 p! _4 e- o

  1813. 5 ~' ^5 M4 G; J5 _7 b
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    " }" h2 Q3 }. k9 _: S7 b
  1815. ; passes
    9 |% L4 s$ w" T4 _* O1 {- P: t2 u
  1816. ;opcache.optimization_level=0xffffffff. u; O& a2 T7 h* U! T
  1817.   g* i3 Q4 B" ~
  1818. ;opcache.inherited_hack=1- t& z3 _6 ]! P/ {1 }: s- G
  1819. ;opcache.dups_fix=0& }# Q5 G' i" f; E% |" A1 Q% i$ ?

  1820. % W- r5 d) L& g8 }. i1 k$ e3 K
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    & ^9 E$ m" Q) u8 J( _
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
      `1 e- s1 f& q2 ~/ e5 s5 }% y
  1823. ; that should not be accelerated. The file format is to add each filename7 M1 d( ]( Z: w1 Y- U$ w; a
  1824. ; to a new line. The filename may be a full path or just a file prefix
    ) R1 x  J7 Q% g; J
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www% G  @7 @) t4 t& J
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    % {8 F& h- x7 _8 ^/ y& i) `
  1827. ;opcache.blacklist_filename=( n/ G0 {4 |& h5 O. P2 C
  1828. ' n& e$ ~8 F9 v" J
  1829. ; Allows exclusion of large files from being cached. By default all files# m: P8 T9 u, B$ s5 Z
  1830. ; are cached.0 L# ^$ e4 c+ |5 U  O5 J
  1831. ;opcache.max_file_size=0
    , N) F# A) ^5 x, Y

  1832. . o$ |0 J; X4 B
  1833. ; Check the cache checksum each N requests.
    0 f9 W* w# j# B% B: k" E+ [* f
  1834. ; The default value of "0" means that the checks are disabled.  O  p' M) L2 g! d* S. ^' A
  1835. ;opcache.consistency_checks=0
    3 U8 z8 H6 \2 ~

  1836. 6 a. }+ m3 C" C
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache4 g9 }' l/ A* x5 S
  1838. ; is not being accessed.# R; V6 ~3 p+ d! D
  1839. ;opcache.force_restart_timeout=1804 P- i$ S9 {( s3 I

  1840. 2 K+ }5 g( g+ J+ O1 n
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    - v0 z" t! d, B" Q, D: w3 e+ a
  1842. ;opcache.error_log=7 L3 `3 g1 e$ k' ~7 N" B

  1843. 9 f2 u' d! N7 J% D( p1 M
  1844. ; All OPcache errors go to the Web server log.3 X9 T! w# ^5 m* @! c1 I' @) l
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    ' |" s/ I! b5 M' P- X
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    / W$ h4 S- t% f- F! i
  1847. ; debug messages (level 4).
    3 H( |: O8 n) x$ y
  1848. ;opcache.log_verbosity_level=16 y1 d- B: i4 P" M" W
  1849. 1 ]6 z- o4 K4 H; ]8 A4 |* }
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.4 n6 l) U4 Z1 a& y* s
  1851. ;opcache.preferred_memory_model=
    + E, P' K9 P# b! [) \6 N% l: Q  ?

  1852. / d  z: D  J0 Q  h8 Q. c% d( n
  1853. ; Protect the shared memory from unexpected writing during script execution.
    # K' V* |/ v8 n. V! r, k6 @( O
  1854. ; Useful for internal debugging only.0 {& V8 }0 i- d+ O
  1855. ;opcache.protect_memory=0: M4 k: J, B7 A
  1856. 1 ^. Z) e! D- e6 ]) j5 p2 {  r
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    . w" U6 o" [, a+ f( w
  1858. ; started from specified string. The default "" means no restriction  d( f7 _9 _: U; {
  1859. ;opcache.restrict_api=
    * h* {3 I/ E6 i! u- u4 s# ^
  1860. 9 J* j* Y3 z6 s% t2 n
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP& Y+ T* j: k9 H7 R6 c
  1862. ; processes have to map shared memory into the same address space. This
    $ R2 {$ F+ `5 V$ l* E0 N3 g3 a
  1863. ; directive allows to manually fix the "Unable to reattach to base address") i! C2 \; P: F$ x# W3 a# S1 z
  1864. ; errors.# D2 p/ W; `/ |9 A3 i7 ^6 _
  1865. ;opcache.mmap_base=( W2 p5 U- D) _% M
  1866. $ g5 N5 w0 ]+ A) y  d5 i6 w# Q
  1867. ; Enables and sets the second level cache directory.
    5 z- j- G( F1 H/ V! M0 H$ m
  1868. ; It should improve performance when SHM memory is full, at server restart or
    ; h. m* J5 r' N* K
  1869. ; SHM reset. The default "" disables file based caching.1 @, E6 Q5 ]% z1 i, U: ?7 y+ \* D
  1870. ;opcache.file_cache=
    ; i4 S* {8 r/ w

  1871. 7 Y! N% I- v( r) t! A+ E
  1872. ; Enables or disables opcode caching in shared memory.: j; J5 Z" b. y! a- q* Y
  1873. ;opcache.file_cache_only=0
    # s4 O: O5 ]& {* N2 x) z+ z' u% o" |, V

  1874. # l$ [- `$ Y0 I3 K" u  A
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    - E' D+ Z- ?9 [) x& _
  1876. ;opcache.file_cache_consistency_checks=1+ C% u( w7 Z( A" ~8 e

  1877. 4 \/ E1 {: h3 N3 L$ z% z% i
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    6 a1 Q! c. F7 o" c
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file4 W6 U# v. f! ]6 Q% I
  1880. ; cache is required.
    . z$ L+ E$ @, u& G* B/ {! S$ c
  1881. ;opcache.file_cache_fallback=1
    4 Q3 m7 w- S$ M3 q' L

  1882. : x# Y( r0 O5 {3 l3 C
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.) B. {" Z8 b7 ?
  1884. ; This should improve performance, but requires appropriate OS configuration.3 T# [; m1 x2 I5 p4 Y: H3 b! t
  1885. ;opcache.huge_code_pages=1
    : T3 x; R& |0 i. Z, F3 g3 B

  1886. . C$ N- M# ^# f: a% @  _
  1887. ; Validate cached file permissions.1 T2 u! C- l) F1 U6 r  E" ]5 _- F5 U
  1888. ; opcache.validate_permission=0" ], Z+ Q7 z8 [: j, {# g/ Q5 h" U

  1889. 3 ^: W, p% ^& ~% I* D% |" \
  1890. ; Prevent name collisions in chroot'ed environment.7 ~2 F% y' ?$ s$ j  j
  1891. ; opcache.validate_root=0
    : w7 w) \* I% c2 w
  1892. $ T: z! T. n# w
  1893. [curl]  V9 t7 ]) X5 \1 L
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    * H( X$ A9 k- q, k
  1895. ; absolute path.
    1 F* y. [  k: h. G, Z4 ?
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt7 q4 t4 `" t1 G, {1 S+ Z
  1897. 5 M; J. }, E; J6 t3 h/ P/ J1 s; G
  1898. [openssl]
    1 w, ]8 p, b$ [' F- {% i
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem3 X  \- T2 Y) h1 G- j+ X% f' K
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should3 }5 a1 \# C: \  F4 O2 [
  1901. ; not specify a value for this directive as PHP will attempt to use the
    0 G8 s( ?/ S  H% y  K
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    , q* C' j  t: @0 B5 x# b. e/ \* ?  ~) |5 D
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    & o) o) g6 }7 e; E/ q1 a! K& J
  1904. ; option.4 E  H( w9 z* D  l8 J7 x4 \2 y& b/ g
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt( F2 V; F1 t' T! B. m; E
  1906. # I/ g1 ^9 J4 N8 c( o* ~; z
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the, a+ I' B+ `& g! W2 k) K0 R
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    . P+ I* G' g, j
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    2 }, ^$ M% A; m( e% m' v
  1910. ; Most users should not specify a value for this directive as PHP will
    7 S5 S. f; q  P; {- ^7 C6 n) l
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,4 ]; p- a$ R$ c, y
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    1 |1 P. o/ P. l7 x: f9 n2 v& E4 w! s
  1913. ; SSL stream context option.
    7 }) Y& h1 H5 U
  1914. ;openssl.capath=6 o1 k! p( ^$ X0 v8 B7 N

  1915. ( g! a6 e7 K5 m" w7 e0 m
  1916. ; Local Variables:
    $ k' K) X4 w% N! n" A
  1917. ; tab-width: 47 R* E: [: Y1 S' T* U+ W
  1918. ; End:9 `& j+ Y  D  W2 |: Z

  1919. : s& A: _3 A  V" o9 n
  1920. ;eaccelerator- B" ~" ~  Q. h9 h
  1921. + I6 I+ G# I8 b
  1922. ;ionCube
    4 b, B$ M+ J' ^+ p" a9 e" x% \
  1923.   z& Q7 Y8 N& M" h6 H# H# j8 A
  1924. ;opcache
    # K( ~: S- q8 U6 f" o# X
  1925. + Y1 {' J/ d8 [2 c( f6 v4 W7 f
  1926. [Zend ZendGuard Loader]
    ; s( H% q3 X# m$ }9 [% D% s
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    3 S* L3 }' c3 q$ B5 k3 W* E+ d
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so/ d0 F/ W. l1 c
  1929. ;zend_loader.enable=1
    6 z9 i- C9 e$ H& Z" o5 [5 L
  1930. ;zend_loader.disable_licensing=07 x5 J) h4 l4 \) I/ d6 N1 x; [! o  |
  1931. ;zend_loader.obfuscation_level_support=34 ^1 s2 D: m- ~# ?% _# u0 ]
  1932. ;zend_loader.license_path=
    ) F( y+ y, @5 v8 R# _. V3 g
  1933. ) }0 F2 O% F3 D4 v2 C' F( F* k. H
  1934. ;xcache
    ; M; w4 \4 I9 D! B) v; H6 `5 Q1 C) ?

  1935. + w1 ^- G3 G( t: U; [  \- p
复制代码
0 d4 O, m: a5 z1 l  L

  H0 Z1 z9 E6 r5 C; i% U" ?
: h7 @( j9 n. Z
: b6 |" i$ h" @6 S2 o. `9 r+ H! i+ j7 O; h

9 s7 E/ P3 e# o
) I. T4 Z9 r( g7 oPHP5.6版本原始设置
( y# M2 h( F/ j+ |8 G" v6 a
* s6 I! D  \! Q  d7 K* w/ M
  1. [PHP]
    ! G, L' L9 x' U. a) C7 d% \

  2. / N$ a8 V" i* s- c
  3. ;;;;;;;;;;;;;;;;;;;
    + v: l: Y+ ?$ U0 v( I5 @
  4. ; About php.ini   ;
    7 J9 v9 Z4 }$ @+ c
  5. ;;;;;;;;;;;;;;;;;;;+ b7 q) Y0 P, D# s6 B7 P
  6. ; PHP's initialization file, generally called php.ini, is responsible for+ A# v& |! a- V& O) [# \
  7. ; configuring many of the aspects of PHP's behavior.
    - a6 S/ H4 }' b, U: K" t* G4 p3 x

  8. 3 R$ k" X+ V5 a, P! s2 G' x$ A
  9. ; PHP attempts to find and load this configuration from a number of locations.1 _2 M9 c" X, Y+ }% H  O6 J, q
  10. ; The following is a summary of its search order:8 e) [# v1 h8 X6 c) r4 g* \4 ?
  11. ; 1. SAPI module specific location.
    " W* Z. s  D2 A8 f+ K* I
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    ! ]* ~+ f; z' o- j% S
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)) A* H, q- V$ \$ Q
  14. ; 4. Current working directory (except CLI)3 e( O7 H  c- ^/ u/ f9 b
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP6 X6 L0 s; v% p1 `+ A
  16. ; (otherwise in Windows)  i* f; d, s7 I" U
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    8 p% V0 v+ X8 M2 y" B3 h- o4 N
  18. ; Windows directory (C:\windows or C:\winnt)
    6 _! i1 v% u( J* a
  19. ; See the PHP docs for more specific information.: ^7 Y# e$ D7 e# F; c
  20. ; http://php.net/configuration.file% w0 [" r, ]! E; {' }; V. n

  21. ! R3 y: b; B; Q/ Y5 b7 D
  22. ; The syntax of the file is extremely simple.  Whitespace and lines& ?( t2 D/ I! `$ X% v" S8 b( s( c
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).7 K9 z6 A1 l6 k( n$ N& g  A3 z
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though" ]+ E' c) R" q7 L
  25. ; they might mean something in the future.$ h3 m' J: T. t8 X# {' R* |

  26. # u- @4 ^# I( C4 b
  27. ; Directives following the section heading [PATH=/www/mysite] only" L0 ]; y) [, v& S5 {+ t+ S
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    2 Z' K' m' D, u. }& Q  ^% |8 w
  29. ; following the section heading [HOST=www.example.com] only apply to
    % i8 \3 ~" O9 v  w2 [
  30. ; PHP files served from www.example.com.  Directives set in these
      }: M( W; z* r# N
  31. ; special sections cannot be overridden by user-defined INI files or
    3 k# R8 s' w& Y6 g( b  i; y8 {
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    + c' A0 @6 |. C8 V( j+ p5 C8 ?# Y
  33. ; CGI/FastCGI.5 u; O: ~- t/ D" Y
  34. ; http://php.net/ini.sections
    % `5 O- f8 a4 Z" `# P& L5 C

  35. ) F; m, v8 M5 m7 k3 o8 b" g5 E
  36. ; Directives are specified using the following syntax:
    ' L% `' _: ~6 N2 l6 @: y3 ]7 G
  37. ; directive = value0 C( s" i4 h; h2 }" P
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.) G- z1 d2 ?; \$ T) Z+ u# j
  39. ; Directives are variables used to configure PHP or PHP extensions.
    " f/ _9 w8 U! P
  40. ; There is no name validation.  If PHP can't find an expected
    ) o% t5 D. \3 Q" {
  41. ; directive because it is not set or is mistyped, a default value will be used.
    3 j0 J  _5 R0 w! r! e4 }/ m" u

  42. 3 \9 ]" |. y2 {3 |( E
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    ) r$ e& N+ w' a5 F
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    " |9 H7 [( R% K- e( I
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a5 H* ]. ~1 x0 d
  46. ; previously set variable or directive (e.g. ${foo})
    4 k: G" J9 \$ m/ o- s$ y8 q) t! T

  47. / W* L2 B3 n- z2 S4 H% P- m  r
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    & R% J% e. S$ x3 G9 w5 P
  49. ; |  bitwise OR
    7 E( Z/ @6 s" N3 G
  50. ; ^  bitwise XOR
    1 t! S" C0 y! l2 q
  51. ; &  bitwise AND
    & W  ?( }6 k  q, H. j
  52. ; ~  bitwise NOT9 Z/ K! F8 Z+ F# O. a8 _( Y; l
  53. ; !  boolean NOT
    6 U  s& F% k2 m; ?. x/ f  a

  54. + o7 i2 F0 {4 \
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    4 Q2 Q" K2 @4 m( r0 t+ B* F5 h: `
  56. ; They can be turned off using the values 0, Off, False or No.
    * ~: e8 t1 X0 h! s0 f; Z6 C' z6 v

  57. 3 c. [7 f( E9 d! w: l
  58. ; An empty string can be denoted by simply not writing anything after the equal. ]6 A1 {# E$ r, D
  59. ; sign, or by using the None keyword:
    ' Z1 o. U+ z8 z! `, Q8 X
  60. ; y: p5 x8 K- c) o3 U
  61. ;  foo =         ; sets foo to an empty string
    0 d' w2 n# O, z+ I9 |* U& Y
  62. ;  foo = None    ; sets foo to an empty string8 I( [5 b1 t3 ~! J) ~
  63. ;  foo = "None"  ; sets foo to the string 'None'# R5 R1 _6 N9 Z% {0 @
  64. 5 U; w. o1 U8 @7 l# O1 x
  65. ; If you use constants in your value, and these constants belong to a
    $ {! u5 K( s7 W, q# b* [2 X" A! b$ ^
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),3 ?: x1 d1 l4 u! S
  67. ; you may only use these constants *after* the line that loads the extension.
    ; k! ~6 I. k% Z

  68.   L0 m9 S0 S! w( U  [$ i
  69. ;;;;;;;;;;;;;;;;;;;
    2 J# j% |4 w: C  S3 N1 a) i
  70. ; About this file ;
    * ^/ M) w' B: P2 y% J
  71. ;;;;;;;;;;;;;;;;;;;: y1 [, j5 j0 R( a& s/ O0 e
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    # g1 W, Q- e: C
  73. ; in production environments and one that is recommended to be used in
    * t. A$ M) v, Y4 n5 S- j3 C& X" U
  74. ; development environments.
    2 E7 q& ?% q# ]% r

  75. , t# k/ }9 ^/ g) `
  76. ; php.ini-production contains settings which hold security, performance and4 A1 d9 L- R; |+ Z7 w; k
  77. ; best practices at its core. But please be aware, these settings may break
    / @- u* q! g: y" g+ ]# v, j
  78. ; compatibility with older or less security conscience applications. We  |) U& E! V8 Y, i
  79. ; recommending using the production ini in production and testing environments.+ P) U, e- U( v# o

  80. & i' M9 x  U9 i( N8 P3 E
  81. ; php.ini-development is very similar to its production variant, except it is
    6 c: _# w# X; o0 w1 k' w& V
  82. ; much more verbose when it comes to errors. We recommend using the
    - l* M4 }. O& S% H8 m( H- s8 [8 y
  83. ; development version only in development environments, as errors shown to
    . p& Z2 I& m& O0 {, `0 P: K5 |
  84. ; application users can inadvertently leak otherwise secure information.1 h- F* {# a( O/ c

  85. * k8 q" f0 ?3 Z- E6 [. P
  86. ; This is php.ini-production INI file.: g; z2 a/ @2 x" m2 U( s( e. d

  87. ' U+ X/ D' r+ P: a
  88. ;;;;;;;;;;;;;;;;;;;# ^  W0 s. T' Q5 r% m0 h0 o
  89. ; Quick Reference ;
    * P5 C$ {% T( X& Y% ?- y
  90. ;;;;;;;;;;;;;;;;;;;
    - I$ d; H  @0 @" g# v& |5 J
  91. ; The following are all the settings which are different in either the production/ E& X# o% g8 C
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    - T! B' O" K* F8 z' U8 D. I; `
  93. ; Please see the actual settings later in the document for more details as to why
    3 l9 p  f' V0 ^4 |: H" E
  94. ; we recommend these changes in PHP's behavior.
    + ~' ^& }1 g' w) G: M0 c

  95. * E( _- m2 n$ V2 X) E+ E
  96. ; display_errors) M$ Q, f5 {9 C0 G. g7 b
  97. ;   Default Value: On$ @9 X% X' `" n/ m' N+ J3 w
  98. ;   Development Value: On3 q: S- S  o. Y" U3 [
  99. ;   Production Value: Off
    3 I5 A1 Q" k: W( T$ U
  100. 7 O1 y3 O9 ?+ R. S- M2 Y
  101. ; display_startup_errors- B) p6 O0 f0 ^" J: B3 y
  102. ;   Default Value: Off" r. k; N+ {4 _' n" o4 k0 H
  103. ;   Development Value: On
    7 s8 I: A1 e$ Q- @
  104. ;   Production Value: Off
    ! }' Z" {; d' F9 r6 T
  105. 5 C  B4 E1 w) H
  106. ; error_reporting
    5 k7 ~0 s) r9 |* e5 c
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    " e4 ^& z) }( V6 |8 K. I1 N
  108. ;   Development Value: E_ALL
    6 v% S7 Z: D% Z6 r
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    : j6 x: b! Q" y5 w, d6 c

  110. & O. X* ^5 @7 G5 n
  111. ; html_errors
    3 W. z, g0 N+ L% e  Q
  112. ;   Default Value: On
    : v8 O* R- O5 R" I' C* Q
  113. ;   Development Value: On' c( i7 J- ^% Y) H$ |! ~& i8 |
  114. ;   Production value: On5 [! t% ]( b8 _- B8 g) z
  115. / K; ^% [+ ^- y* Q5 S* o
  116. ; log_errors
    ' t% Z/ ]7 W' `/ {
  117. ;   Default Value: Off/ U8 F2 w& l7 `% ?# D: j
  118. ;   Development Value: On7 Y7 M4 A" v6 s
  119. ;   Production Value: On
    ( O% q% x4 O7 \6 j' J7 D
  120. % v- E( ]. I0 ~8 y0 y. \
  121. ; max_input_time0 w1 t. C! K& V# B% b+ M
  122. ;   Default Value: -1 (Unlimited)
    6 m6 V$ I/ ?4 S/ X2 G. O# c% \1 N
  123. ;   Development Value: 60 (60 seconds)4 p# P% n# k+ _& t9 w
  124. ;   Production Value: 60 (60 seconds)
    1 {  W  X6 c: n  Q% ?& c- A

  125. $ K9 r9 z% f  x. O3 v
  126. ; output_buffering
    & E; S2 x# e, K! G1 \! w
  127. ;   Default Value: Off5 T( f7 u( U2 \5 N0 ^& Y/ w/ e
  128. ;   Development Value: 4096" S0 |) d2 o; k7 Y
  129. ;   Production Value: 4096. [7 `* [, N6 _- R3 H5 B( |
  130. & L( q! O4 q2 i  Y. B
  131. ; register_argc_argv
    + A) M- z$ c/ w6 n3 E& m$ d0 j9 c$ c/ B
  132. ;   Default Value: On
    . B, u; Q& I+ Z; ]6 u; Q8 ?
  133. ;   Development Value: Off
    2 ^3 n) b6 s2 f  q" E
  134. ;   Production Value: Off8 ?3 }. r2 k$ I, j$ B% M4 \5 ^
  135. ' n/ l7 J4 T/ r5 a! j  X% u* h/ g: k
  136. ; request_order
    4 d+ F, V6 l8 e5 D6 X' F6 F3 ~
  137. ;   Default Value: None" s( ?  k! t$ K9 S' w
  138. ;   Development Value: "GP"
    & z' ~" }# Q- A6 ]' o. x5 n% `
  139. ;   Production Value: "GP"0 ^. T; G- F$ d
  140. 4 [( _  s8 s8 _4 I3 Z
  141. ; session.gc_divisor
    0 r- ~& i' l$ D+ I- ^% [
  142. ;   Default Value: 100
    - a, b, @( t# C! F
  143. ;   Development Value: 10009 X8 k& O5 L$ ^( u+ F; ?6 s
  144. ;   Production Value: 1000
    1 {: L/ n/ G. ]: C: z
  145. ( F! ?  x( L, F0 ]
  146. ; session.hash_bits_per_character6 q: u0 ~0 j$ ^2 G; q, `$ f8 d
  147. ;   Default Value: 4
    , h/ o7 O# D/ q( ?. K/ X, p" l
  148. ;   Development Value: 5, O. ?5 _: H- k. B! q7 B2 S
  149. ;   Production Value: 5, m& S4 F& E9 M$ i

  150. " z3 a) Z' V+ j
  151. ; short_open_tag
    2 @8 |% _/ `6 f! `  d  ~
  152. ;   Default Value: On) K8 }$ @- J0 D, E$ o' J
  153. ;   Development Value: Off4 r' L1 N8 E  U! L& D* D# C
  154. ;   Production Value: Off
    4 K5 Q; k$ P' k8 s& O

  155. . c  |7 g" s. s, {+ s
  156. ; track_errors
    & P7 v. g- H; z) C% o$ Z7 R
  157. ;   Default Value: Off- [: E0 D& E) j3 @4 {# J  T1 [
  158. ;   Development Value: On
    1 m! S% o. j: `0 l4 w, j1 d6 h
  159. ;   Production Value: Off
    ! r' V5 N- c% s4 x& S, N
  160. % Q( K& B1 Z+ B' |( g
  161. ; url_rewriter.tags% z. Z* t2 z& e5 p+ j& h7 s. p
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="/ V/ V2 n, s. A4 B" `
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"; |) x2 d* X/ D5 t* \7 G9 i
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    & T" x! [( x9 {* P& ^4 x
  165. ; _* m) }" \2 M" {
  166. ; variables_order
    & Q" _" f* O7 G
  167. ;   Default Value: "EGPCS"
    ; j- i. n  ~5 @0 s) O
  168. ;   Development Value: "GPCS"
    5 K4 N+ Y" N6 ?8 x' @7 X: [
  169. ;   Production Value: "GPCS"
    1 D! N$ B6 x, G

  170. : Y& b: w3 O- |3 P, M1 z9 V
  171. ;;;;;;;;;;;;;;;;;;;;5 o& m7 Q' ~& @- S- ?" |
  172. ; php.ini Options  ;; v+ |, p2 m3 j! b
  173. ;;;;;;;;;;;;;;;;;;;;
    ( K9 {+ b1 b8 I- j  a
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini") [6 U6 Z7 C# j0 S" b$ u  @3 s% n
  175. ;user_ini.filename = ".user.ini"
    + U5 @  [" @$ q$ j+ x
  176. . X3 p6 i2 Z! ~+ U
  177. ; To disable this feature set this option to empty value
    7 c9 q5 W+ U$ _; F; z' p4 h& K
  178. ;user_ini.filename =
    . I' x( ^2 |9 e: U/ w' F! ^" q

  179. 1 r5 `- Y- u& |  A2 q& o5 Q% b0 y
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes), v- J- O2 v# V+ \: r3 A( d
  181. ;user_ini.cache_ttl = 300
    " f* h. o( `9 R& i( r2 F
  182. + s  _) V7 z. c" P' N; J- E7 w
  183. ;;;;;;;;;;;;;;;;;;;;; r2 i5 l4 |3 ^4 P- ~
  184. ; Language Options ;
    $ R6 S* W  t( N- A/ j
  185. ;;;;;;;;;;;;;;;;;;;;! J: T$ a0 i0 z

  186. + g0 j# a2 q9 c: J! i0 m5 F. M
  187. ; Enable the PHP scripting language engine under Apache.
    & J$ D+ ~- L* a/ s1 P/ H9 ?6 U
  188. ; http://php.net/engine
    , l$ R  l, l- m# k) v
  189. engine = On0 e3 z% ~0 p3 O, _& a8 j
  190. . h9 y: k: r) z7 z( V
  191. ; This directive determines whether or not PHP will recognize code between
    4 Y2 a; C6 f1 B( w. K0 z( q. v7 J
  192. ; <? and ?> tags as PHP source which should be processed as such. It is' G& O4 H" b" L! K, o( w$ _! a0 c4 Y
  193. ; generally recommended that <?php and ?> should be used and that this feature
    - @( Y2 [9 G/ F( F9 D
  194. ; should be disabled, as enabling it may result in issues when generating XML
    ( i5 P1 r8 O: _0 n: w' y4 y
  195. ; documents, however this remains supported for backward compatibility reasons.% }* m  v5 b7 q$ s1 o
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    ! j" Z5 ?8 M2 _& N$ |
  197. ; used regardless of this directive.
    & x" @6 D1 h# ?% R& |$ z$ j3 x$ u
  198. ; Default Value: On* H4 H& b  J" _6 [' C/ O
  199. ; Development Value: Off  s. t/ y$ s" V) g" Z' ^0 n
  200. ; Production Value: Off
    ( a+ g7 ]' H% [8 C! i
  201. ; http://php.net/short-open-tag0 v. m+ m, x2 P% q# c
  202. short_open_tag = On
    , ~. F1 R# Q! P, x5 k, s

  203. 9 S3 S7 X/ u9 H
  204. ; Allow ASP-style <% %> tags.
    $ r8 g* X+ m# S1 v+ A7 `; g
  205. ; http://php.net/asp-tags
    ' U) P' B' s" n4 t9 {7 a
  206. asp_tags = Off! Y# Q3 ?7 S! I

  207. # q( W. E9 ?$ e& R5 a. C
  208. ; The number of significant digits displayed in floating point numbers.0 c: Z3 }& Z9 g- j% Y/ R6 o) D
  209. ; http://php.net/precision
    0 Z0 M0 {4 L# C& p- ^  c4 W
  210. precision = 14  [, w/ Q4 d3 d# d; k
  211. , B$ L& F, M8 F) i" E8 r
  212. ; Output buffering is a mechanism for controlling how much output data
    , @) L! n# v( o7 F7 I) h
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
      v1 b2 o* d* n7 U
  214. ; data to the client. If your application's output exceeds this setting, PHP
    " u$ ]  I1 z4 W- w
  215. ; will send that data in chunks of roughly the size you specify.
    * `4 g& X" N4 x1 U9 L/ |' X$ K
  216. ; Turning on this setting and managing its maximum buffer size can yield some
      [( x, ]/ [# f; y
  217. ; interesting side-effects depending on your application and web server.
    & o+ W% j; v/ e9 W; U" R
  218. ; You may be able to send headers and cookies after you've already sent output8 E. Z1 y( g& l% R3 S
  219. ; through print or echo. You also may see performance benefits if your server is# V3 l7 G4 d/ u/ {& Z
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    * _6 S, ?. y- X6 G
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    1 @1 E) e/ T" I
  222. ; reasons.
    # z0 z" R' D5 o7 x0 k7 _- l
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    * u- j  J: u3 R' g
  224. ;   functions.6 K2 Q  ~) k: A& [( s
  225. ; Possible Values:7 a* @1 Q8 c( p* G
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    2 s4 C8 T9 i! O. D% P
  227. ;   Off = Disabled5 q* w3 s+ k8 q
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    ' [# @( ^( L- a% r% z, L6 d
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI  R8 T  Q1 l" u$ ?2 |
  230. ; Default Value: Off* W: s( h- l* |# b4 P0 q9 H2 h
  231. ; Development Value: 4096
    $ X5 H! a( g( i' d" N! J5 ?6 R9 q
  232. ; Production Value: 4096
    ; c7 H) D. y8 T% T$ Y: ~
  233. ; http://php.net/output-buffering, W) G' w( Y6 l4 x. w8 R
  234. output_buffering = 4096: O/ n$ _( i4 u  c5 |+ `- G
  235. 4 m, f4 G. _! _, L$ `2 [
  236. ; You can redirect all of the output of your scripts to a function.  For/ K8 _# L3 o# U, N( S$ o2 K( R
  237. ; example, if you set output_handler to "mb_output_handler", character+ [/ w: A, j6 C) @% P
  238. ; encoding will be transparently converted to the specified encoding.
    ! w) A5 g! n" C- U" o
  239. ; Setting any output handler automatically turns on output buffering.
    6 H( K; _$ `+ n" z1 o9 v4 C- v
  240. ; Note: People who wrote portable scripts should not depend on this ini& D& S0 m# x4 h
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    * S0 {7 t8 ?) F% E* X) F( M4 n$ D) o
  242. ;   Using this ini directive may cause problems unless you know what script7 r) y: G0 T5 A3 l0 `! [" t
  243. ;   is doing.: [7 P+ U5 s  l1 L* i7 y4 `1 @
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    6 ^  m+ d5 y6 _
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    8 U& I  G. H* _! J' @
  246. ; Note: output_handler must be empty if this is set 'On' !!!!0 t( R8 p7 C* T* z# h
  247. ;   Instead you must use zlib.output_handler.
    + n+ t; l2 {7 D) D
  248. ; http://php.net/output-handler
    ( f/ N, S% H2 F+ Q$ @
  249. ;output_handler =4 }, R6 U9 G7 x

  250. % }( c  R8 ^( I+ v5 s' Z2 p
  251. ; Transparent output compression using the zlib library
    6 M" u4 s* v0 x8 J7 _" v
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size, }2 P6 a  k. y9 X  c
  253. ; to be used for compression (default is 4KB)
    . J8 m) g: ?* j+ [
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    6 V9 F  N7 S0 g& b3 H$ w
  255. ;   outputs chunks that are few hundreds bytes each as a result of1 V, }3 M1 ?& L6 V+ Z/ E
  256. ;   compression. If you prefer a larger chunk size for better% t' I& w' {; H7 D$ M9 a+ o
  257. ;   performance, enable output_buffering in addition.
    ; @5 h5 X1 d/ R' a
  258. ; Note: You need to use zlib.output_handler instead of the standard
    : G; n+ I8 }6 d, w
  259. ;   output_handler, or otherwise the output will be corrupted.1 G0 _) J3 ^, X- m$ w
  260. ; http://php.net/zlib.output-compression
    2 z  d" u4 d3 ?: Q% k
  261. zlib.output_compression = Off
    7 e) F- Y, L! m& a

  262. + j: a6 w; v! \3 C
  263. ; http://php.net/zlib.output-compression-level
    ) P1 t3 a1 A" B) f
  264. ;zlib.output_compression_level = -1
    % q/ b+ F& u) J7 A

  265. # o# \; y+ }% z: W% X  {4 H
  266. ; You cannot specify additional output handlers if zlib.output_compression
    & Q% B  Z' W0 A7 R. Z
  267. ; is activated here. This setting does the same as output_handler but in' `. Z8 i% e* d
  268. ; a different order.2 q9 r2 c( v! g% ~  r0 n' `
  269. ; http://php.net/zlib.output-handler1 u, i- @. c$ g3 A
  270. ;zlib.output_handler =
    ! o" F7 G, z+ N2 w9 a5 x
  271. 3 P( z% D% q1 K  F9 S' J7 C
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    ; z  B- t+ ?! A0 S' Y3 G8 s
  273. ; automatically after every output block.  This is equivalent to calling the
    ) P  L! x9 s! Y6 Y* L
  274. ; PHP function flush() after each and every call to print() or echo() and each
    % h5 I1 B. D- S# f3 @
  275. ; and every HTML block.  Turning this option on has serious performance
    . ?" R( O' ~) z0 p" O5 f
  276. ; implications and is generally recommended for debugging purposes only.
    ' s  Y, `- H( D
  277. ; http://php.net/implicit-flush0 L- o5 v4 A4 \* h7 ^6 N
  278. ; Note: This directive is hardcoded to On for the CLI SAPI" R" p% J# Q" A9 l1 U. o4 D
  279. implicit_flush = Off/ Z- k/ q7 j3 R  I/ c

  280. : e1 H+ ~+ G. P% S# K! H
  281. ; The unserialize callback function will be called (with the undefined class'. O' \/ R& S: r# C: n
  282. ; name as parameter), if the unserializer finds an undefined class
    5 I! Q, Z6 T6 [6 i+ Z' u9 I
  283. ; which should be instantiated. A warning appears if the specified function is2 M% ^2 Q: U# T9 u; W
  284. ; not defined, or if the function doesn't include/implement the missing class.
    8 H% |: S% G6 Q: P
  285. ; So only set this entry, if you really want to implement such a
    9 L. w6 M, v$ ?
  286. ; callback-function.
    + i0 n, B$ J$ }$ O. P: C6 D
  287. unserialize_callback_func =9 L. x; s: [0 A4 X& _. S& I0 f
  288. ' v5 `- F+ I; w. L( g; |$ g( q) x
  289. ; When floats & doubles are serialized store serialize_precision significant: J" U4 I' I8 w) X
  290. ; digits after the floating point. The default value ensures that when floats
    " B4 h' F& b9 ~7 C0 f
  291. ; are decoded with unserialize, the data will remain the same.  i; P' [( V' P! P' m9 F$ N
  292. serialize_precision = 17/ c& b' Y: l0 q( ^0 |

  293. ' M0 Z3 j; [9 i4 U
  294. ; open_basedir, if set, limits all file operations to the defined directory
    4 b/ i1 t1 ?& u0 O4 ]; ]/ Y& f
  295. ; and below.  This directive makes most sense if used in a per-directory
    # w; y7 n7 ^8 I$ O' Y* V
  296. ; or per-virtualhost web server configuration file.3 O4 y8 ]% w$ V8 ?) {0 ^
  297. ; http://php.net/open-basedir3 g+ ~; a" Y6 i0 R  B$ S1 K
  298. ;open_basedir =' G9 I8 y# [% J+ u4 l- ~

  299. * @9 _% }8 X# A$ }8 }
  300. ; This directive allows you to disable certain functions for security reasons.
    % N  p4 `1 u: h' a4 N
  301. ; It receives a comma-delimited list of function names.
    % H' r' h4 [8 f% [4 s4 r
  302. ; http://php.net/disable-functions; ~  K+ \' i" T6 z! }3 U6 s: c# t
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru( z: [1 _0 [8 B4 d1 e! I
  304. 3 `6 n  A% v5 z! X, U
  305. ; This directive allows you to disable certain classes for security reasons.. E# X* L3 e! T/ J; R# _  K
  306. ; It receives a comma-delimited list of class names.# z' a; P7 r! k+ C& t% M
  307. ; http://php.net/disable-classes
    3 t) ^' G$ g3 y! x  X
  308. disable_classes =4 w! k0 p) |2 B/ e* J6 }) H
  309. ! n3 `* G, ~+ b% g0 ^: I
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in; B2 K2 ~* d/ `  {& h
  311. ; <span style="color: ???????"> would work.
    / o  N6 R* ]% k: z( d, _2 u
  312. ; http://php.net/syntax-highlighting
    5 I8 i& c" K7 ]
  313. ;highlight.string  = #DD00006 E" \; V. N( f" w& c+ p
  314. ;highlight.comment = #FF9900; W" C+ R0 R+ x/ N" W8 Q
  315. ;highlight.keyword = #007700
    & d7 {1 s8 {5 E: q" k: \0 r' R" x
  316. ;highlight.default = #0000BB
    + q& I# l$ L7 e
  317. ;highlight.html    = #000000" Y6 t* h: }6 N. o- }9 l4 m

  318. 4 t( D1 v* n8 A( Y. K; [
  319. ; If enabled, the request will be allowed to complete even if the user aborts, ?/ u% y3 g' ^1 ~1 G
  320. ; the request. Consider enabling it if executing long requests, which may end up$ S$ Y" U0 U' F
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior8 L) W& s2 f7 F1 ^5 Y: t
  322. ; is to disable this feature.
    ; F$ u5 A5 n. t* L) d
  323. ; http://php.net/ignore-user-abort; T% o( k6 m, S  S
  324. ;ignore_user_abort = On
    0 P  T" y# q0 t  u0 u
  325. 7 g5 f. S7 \. A2 z  B9 P% Y
  326. ; Determines the size of the realpath cache to be used by PHP. This value should, W$ C, W$ N8 e; d/ s+ c! E3 J
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    ' M6 Q0 c3 S# d4 `4 Y! f: `( a: ^; C
  328. ; the file operations performed.$ K- m# f8 O" ]/ I5 c; p4 V+ g
  329. ; http://php.net/realpath-cache-size
    ( c, t( B2 o; t4 [! R/ T; Q
  330. ;realpath_cache_size = 16k
    7 T( z0 Y( L, q7 f5 D
  331. 5 d1 H$ [8 T9 E% B
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    9 i6 [# l; o/ `$ f# m; T
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    ( |$ |2 G, h) r( O( w6 K/ {
  334. ; value.
    . p0 X8 Q& T  G7 X' R% h
  335. ; http://php.net/realpath-cache-ttl
    " F3 [4 ~" f& ]% p' G1 T9 z7 |
  336. ;realpath_cache_ttl = 120
    0 J7 i/ t4 E1 L* w) [
  337. 1 m8 q6 d% {0 ]. o# v
  338. ; Enables or disables the circular reference collector.6 B0 I8 |2 L1 g1 ]* V# G; n
  339. ; http://php.net/zend.enable-gc' ]6 a1 w# r8 J- W1 S* n! U
  340. zend.enable_gc = On. \& B. ?6 A2 H& Y, S3 y
  341. 9 Q* l0 A0 [" |: @5 x# `1 T0 n
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    3 ]% c. r0 R- ?" N9 }
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    + N0 W% \8 s2 ^6 I9 n. `
  344. ; encodings.  To use this feature, mbstring extension must be enabled.& y  h7 h! A2 o) ]3 N7 [) e% V+ V% r- J
  345. ; Default: Off2 `# C; M  |: I: ?& i. x7 H
  346. ;zend.multibyte = Off/ }% j/ G/ E% j9 G% N8 U8 r, s

  347. 7 O1 n& o* r5 T5 c
  348. ; Allows to set the default encoding for the scripts.  This value will be used$ J/ S) E9 r% v* f( c7 \
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    + j5 ]# d3 X* L5 f5 f
  350. ; Only affects if zend.multibyte is set.
    4 ~2 p* U- R7 v$ M. i& s0 P
  351. ; Default: ""
    8 k7 A- j; c9 p8 k& _
  352. ;zend.script_encoding =
    8 o: p& g9 L% ^; r9 D$ b

  353. ! t; W. V( q' I1 A5 h
  354. ;;;;;;;;;;;;;;;;;
    " |3 |- e( u8 _6 I
  355. ; Miscellaneous ;7 A) g" r7 [6 w1 i$ I4 N# n
  356. ;;;;;;;;;;;;;;;;;+ m# F! l2 m1 W

  357. / ?) \# l9 r' g) D& x% S  K
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    4 P$ u  Q- T& q' _4 |3 b( ]- G
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    - o8 G( W. }) a! _3 z) ^5 c
  360. ; threat in any way, but it makes it possible to determine whether you use PHP; }' c6 M) B6 A7 D. U
  361. ; on your server or not.
    * B: V& E/ Y3 e5 q' x0 W
  362. ; http://php.net/expose-php
    - m7 \+ Y! `  w8 y( B+ L& ?! F- J* E
  363. expose_php = On
    0 F# X8 W1 C9 k1 S' D# ~
  364. . A) q5 Y* U! S
  365. ;;;;;;;;;;;;;;;;;;;
    1 T/ a- g+ @6 H* y: t8 ]6 W4 `& Z7 e
  366. ; Resource Limits ;& H! E6 H3 r# [) H
  367. ;;;;;;;;;;;;;;;;;;;5 v4 J( ^+ G- C8 K
  368. 4 N  s+ r% y& y  P2 |
  369. ; Maximum execution time of each script, in seconds# I: j, V) S, m) z. ^8 C
  370. ; http://php.net/max-execution-time
    9 G: r" V2 y( h
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    - a! L! k. P- h0 N
  372. max_execution_time = 300" T* `0 I1 {& J5 o1 R7 ?, @
  373. & t' O# \( s; j; Q6 T& D
  374. ; Maximum amount of time each script may spend parsing request data. It's a good9 E  y( U; E2 t7 s% d
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    4 Q: o$ M8 W! v3 H& T
  376. ; long running scripts.
    + w6 c* o% ~$ j5 v8 ?3 j
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    ) Z3 ]& g: _0 U& L' f( c8 W: Y" K7 h
  378. ; Default Value: -1 (Unlimited)0 g2 N+ B' Z: E) ~, @9 s
  379. ; Development Value: 60 (60 seconds)
    4 T  W( t  g2 m
  380. ; Production Value: 60 (60 seconds), {, ]+ c9 s2 i+ z9 w* W0 U' w
  381. ; http://php.net/max-input-time% s$ ~2 m2 e4 F' Z4 N9 {5 [/ F/ W
  382. max_input_time = 60
    ' P" ~9 G* d; g: V

  383. ; v- A" Q! W+ M( d4 a; z- C
  384. ; Maximum input variable nesting level
    4 U4 d. T6 p, J7 J$ u
  385. ; http://php.net/max-input-nesting-level
    + o0 [% K! v) z* [( i/ [
  386. ;max_input_nesting_level = 64
    ) G7 n1 P! s9 c! b
  387. ! n; K# C. z, ^( Y% ~- Y
  388. ; How many GET/POST/COOKIE input variables may be accepted
    & U0 N4 }- L% m' U( l& ]% e
  389. ; max_input_vars = 1000; W" ~  x2 K" `3 O/ b. b, V0 x
  390. 7 N) {  J+ n1 |5 H
  391. ; Maximum amount of memory a script may consume (128MB)
    ' o8 f3 H, C1 z5 Y1 Z! f. O
  392. ; http://php.net/memory-limit- j8 [# i) u7 ]9 Y8 N
  393. memory_limit = 128M: N% ?: \# u! C  ?& _' ~

  394. 2 P. Z7 R; L0 G4 Q5 X
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    4 q! `% H$ G1 |6 L- y& L. D
  396. ; Error handling and logging ;. @7 l6 N3 S; M# b  K
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    " P: w9 k2 c; w9 @! o2 y% m

  398. 2 c4 @" [' c4 \8 S
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    % r9 f1 ^1 }. Y3 O3 O8 w; h
  400. ; it to take action for. The recommended way of setting values for this
    # x. v1 @7 Z+ E4 [6 A
  401. ; directive is through the use of the error level constants and bitwise! ?# f( S2 R; K3 }2 E0 Y* c
  402. ; operators. The error level constants are below here for convenience as well as; F" [+ G0 |/ W2 Z/ P
  403. ; some common settings and their meanings.
    . s- V3 |8 N0 O3 B' x
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    $ A- v  R9 |" P" h# R1 A
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and6 ^! e/ r0 a' i' G
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    4 p& \9 a" F, `
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    $ _! V3 t* Z; ^% Z4 h6 S1 K9 L3 i
  408. ; resources complaining about best practices and coding standards. That's what
    9 P' f* ~, [8 b. m# B+ G
  409. ; development servers and development settings are for.' Y, p! @1 ?: j% c- i% \: S  u9 {9 Y3 q
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    % s2 I. g' x6 w* M
  411. ; means it pretty much reports everything which is exactly what you want during
    0 d( [! x1 x# M7 q% ~5 ^/ D6 B
  412. ; development and early testing." n; B8 z* A1 j* V
  413. ;5 }4 Z. k' [% }7 E% z2 s
  414. ; Error Level Constants:3 U4 U- j% z* A3 k
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    $ u. ^# C* O, Q/ g) ~. }- P3 ]
  416. ; E_ERROR           - fatal run-time errors
    / r: R- z2 x7 _) }
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors9 h3 R  h' b1 X( g  z7 |/ E
  418. ; E_WARNING         - run-time warnings (non-fatal errors). W, J7 q6 y& n' t
  419. ; E_PARSE           - compile-time parse errors& }5 _% `! C4 O1 l
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    5 U  `+ \% O- K7 g! W& a
  421. ;                     from a bug in your code, but it's possible that it was/ A" @) E: G% m+ ?! i, f
  422. ;                     intentional (e.g., using an uninitialized variable and
    ( E0 T# D; m) _; J5 `" U2 K5 d
  423. ;                     relying on the fact it is automatically initialized to an
    $ @) z& \: [" O3 O; E
  424. ;                     empty string)4 z6 N4 y7 B% M- O' E2 Q" ^
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    & R7 q: z1 N- C2 k4 L6 L! ^! L
  426. ;                     to your code which will ensure the best interoperability
    ( d  j  S& L6 f7 C8 ^) z* Y: \0 a
  427. ;                     and forward compatibility of your code) d: ^, o3 z5 q& i/ Y# _- }% A# L
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    0 `' H$ [7 s& _% ^+ Q1 I
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's- C, D% G- [8 r6 D
  430. ;                     initial startup  i% X& f  v/ ^4 Z" F6 n1 l$ Q
  431. ; E_COMPILE_ERROR   - fatal compile-time errors% Z, X7 L) t9 D) x
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    3 B$ p* d( ^2 N: l: D$ g
  433. ; E_USER_ERROR      - user-generated error message
    7 B3 c* h" g# A  n4 k9 M
  434. ; E_USER_WARNING    - user-generated warning message
    9 T' U1 t, v( m$ `# c
  435. ; E_USER_NOTICE     - user-generated notice message# s( `6 ?4 Z; A; C: y7 r. k4 Z$ c. |
  436. ; E_DEPRECATED      - warn about code that will not work in future versions( s& x# u; g' \! e6 W
  437. ;                     of PHP" _. m5 u: Q8 Z/ X. o* ~0 _
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    0 P; n7 v6 J& {( @
  439. ;! i# C' U# p/ g7 y6 M
  440. ; Common Values:
    5 M4 ^: }& H7 t7 D; Q8 k7 _
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    * v1 ~. Y% p* N; \( @- Q6 j
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    * s3 V9 x9 m" k/ r9 e; L8 G. C% `
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)9 e, d  M2 }) Y" I  G+ K2 _
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    : X0 }, g; y& l' u7 L( k5 Z  Z
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED+ D/ U+ T% o9 {% a8 m) e
  446. ; Development Value: E_ALL  c; P. I. U& N; t) H
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    & q- ~# G1 Y, ~
  448. ; http://php.net/error-reporting
    # q6 ~+ f$ w  I- p
  449. error_reporting = E_ALL & ~E_NOTICE6 V) B/ i* m: ~) A  n" X
  450. 3 D; u  S+ B3 l! ], G: b- z
  451. ; This directive controls whether or not and where PHP will output errors,5 n  n; d- n4 n4 t
  452. ; notices and warnings too. Error output is very useful during development, but
    # `; h! d  c" \1 S4 m6 D% Z  i6 d
  453. ; it could be very dangerous in production environments. Depending on the code
    $ i1 U- d! a' w9 o, m9 f
  454. ; which is triggering the error, sensitive information could potentially leak
    - l2 M! _- Q; f4 V2 e  L
  455. ; out of your application such as database usernames and passwords or worse.
    : {' V' r8 V5 g
  456. ; For production environments, we recommend logging errors rather than) q: W; A' l9 U
  457. ; sending them to STDOUT.. o( ^* o! A* J% J4 A# D/ s5 j
  458. ; Possible Values:- U4 X, I) _- h- a  |' Q6 j
  459. ;   Off = Do not display any errors: f  G8 O$ t8 F# J5 O& [/ F% l
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)3 {+ P. n9 Y# B; Y9 k. X$ L0 J
  461. ;   On or stdout = Display errors to STDOUT
    0 T% S% N1 l/ g
  462. ; Default Value: On
      h7 f5 c: f' W  g. v
  463. ; Development Value: On# r! I5 ^$ X5 @8 t) g
  464. ; Production Value: Off( D: Q0 O: j' j' I% p( d/ y
  465. ; http://php.net/display-errors
    ! ]+ V9 y2 }" b. `, d' `
  466. display_errors = On1 |) P$ t7 `$ L7 _2 G- J; x

  467. $ z4 X% e: G8 P- O
  468. ; The display of errors which occur during PHP's startup sequence are handled
    7 o  m2 l/ i4 C8 C; R# k7 O2 _2 T
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    ' |% p& `# w/ a2 s, k
  470. ; errors from clients. Turning the display of startup errors on can be useful in' z  t# S+ t" U5 T" R
  471. ; debugging configuration problems. We strongly recommend you
    + ~% f0 F" _# q) H. ]/ {1 o5 n
  472. ; set this to 'off' for production servers.4 J9 [' _# r1 f5 c% I
  473. ; Default Value: Off
    1 |3 t7 q# a, w& r
  474. ; Development Value: On
    ( X* e$ z9 v5 ^$ X' _1 d
  475. ; Production Value: Off
    9 K- S& N' @) ^) B9 T) w6 b
  476. ; http://php.net/display-startup-errors1 }' K" n( [. g* i
  477. display_startup_errors = Off
    " x4 f, ?: T0 m# g: U# O
  478. 1 L/ q0 N: X5 g: y9 N; ~: @2 e( W
  479. ; Besides displaying errors, PHP can also log errors to locations such as a( G& a! I3 E; b' q9 l2 F$ \& ~
  480. ; server-specific log, STDERR, or a location specified by the error_log
    / ~$ v! M$ G' O0 t
  481. ; directive found below. While errors should not be displayed on productions
    ' W+ J6 O: T. y. e) O! t  D7 m6 R
  482. ; servers they should still be monitored and logging is a great way to do that.9 b) a5 p. a5 }6 z0 T8 F7 v- Z
  483. ; Default Value: Off+ z0 b9 J  Q- A$ w$ l
  484. ; Development Value: On/ u  d/ d, b8 o3 h- p7 f
  485. ; Production Value: On
    4 A8 ~# g$ f: M
  486. ; http://php.net/log-errors, u( d( U" S1 L: u! U+ V8 m4 m
  487. log_errors = On2 d0 s% z# f2 H" \

  488. " n! k0 y! a% N8 x- ~) X
  489. ; Set maximum length of log_errors. In error_log information about the source is2 l! }6 e# B8 U( a8 n* g
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.* B( _3 E9 U5 x0 r* V0 [0 E/ j
  491. ; http://php.net/log-errors-max-len0 Z$ i. s# Y: C5 P
  492. log_errors_max_len = 1024
    5 t/ [3 {7 `3 T1 ]

  493. 1 M! K2 D1 v: g  t" Q4 L
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same6 B; ]& g# M; z
  495. ; line unless ignore_repeated_source is set true.
    ( y- c" |# ]/ a
  496. ; http://php.net/ignore-repeated-errors9 U* Y" L, Q5 F2 z" i7 I0 @
  497. ignore_repeated_errors = Off
    " H  G$ s, z) L, V

  498. . }+ X8 E2 X% `$ u% h
  499. ; Ignore source of message when ignoring repeated messages. When this setting" t: j* d+ f1 `5 P* j
  500. ; is On you will not log errors with repeated messages from different files or3 \8 e" ]5 v* V$ \/ e: x, J
  501. ; source lines.1 j/ F% O2 k) n8 O/ ?; X
  502. ; http://php.net/ignore-repeated-source
    3 B# E4 r& E  v
  503. ignore_repeated_source = Off& a2 w# {" Z, r6 L9 c3 V3 E
  504. 4 V, v- L: s) T; g
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on, G& }- \/ A: N( _5 g8 t+ _2 C. o" _
  506. ; stdout or in the log). This has only effect in a debug compile, and if5 V# H* T; H! e1 W- K
  507. ; error reporting includes E_WARNING in the allowed list$ g# {7 X9 _7 K1 h# C: ^! Q
  508. ; http://php.net/report-memleaks3 Y5 p6 M" H( D' q0 T# }$ M
  509. report_memleaks = On2 @& r2 G' E+ B1 a

  510. ; n' E" h5 O; V1 _% V6 |
  511. ; This setting is on by default.
    9 f8 H  n; a( E7 g) L: a, Q+ @; z
  512. ;report_zend_debug = 01 D' `6 `! p$ Q: [' H! I
  513. 3 [& z. c5 W0 a% `# `+ Q
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value4 S9 @, B5 V1 |+ U
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    $ P6 Y$ w( e1 |6 k% S
  516. ; however be disabled on production servers.! G1 k  ]8 F  H9 d0 U" k0 E
  517. ; Default Value: Off! t' w1 S) b0 C9 G
  518. ; Development Value: On
    & }3 n; V/ @# P  z! q% r
  519. ; Production Value: Off
    ( w" u4 w1 r7 C' ]( A6 `# K
  520. ; http://php.net/track-errors5 b) g5 _+ S: M" I
  521. track_errors = Off
    ( H0 N1 v$ y+ D

  522. ( c, Q8 ~3 I! I3 O( W4 ?
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    ; ~1 R" `% T* o6 N8 E
  524. ; http://php.net/xmlrpc-errors
    . |" J6 C$ m  R1 H6 u' N( X+ C
  525. ;xmlrpc_errors = 0
    4 C) A* q8 t6 n5 J7 P1 A2 T
  526. - ~: v" a1 m- V0 Q! [' G
  527. ; An XML-RPC faultCode+ ~0 x% |. k7 H8 T% D" I
  528. ;xmlrpc_error_number = 0$ t$ a* K# e3 f! ]
  529. 1 J9 F( g, ^4 T
  530. ; When PHP displays or logs an error, it has the capability of formatting the3 Q2 z  ~( Y+ s8 i+ q
  531. ; error message as HTML for easier reading. This directive controls whether
      R4 P- E$ k% f" T8 @& t
  532. ; the error message is formatted as HTML or not.
    0 Y  T8 y2 B% S* _) H. l" P- I8 w$ F* B
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI* H7 @4 m/ b. t0 W
  534. ; Default Value: On" P$ D5 L# B, F* {% A8 H! @
  535. ; Development Value: On
    , ^# l8 C+ ?' P7 p. a
  536. ; Production value: On
    2 T+ f2 C* V8 G# R' N
  537. ; http://php.net/html-errors! D3 O9 B0 o: S4 L9 o# n0 h& t2 o9 E! X
  538. html_errors = On
    3 a; A  Z$ P( H
  539. 7 N' a# {$ r. A7 ?  o, k8 {
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP' i- B, D& O5 O  A
  541. ; produces clickable error messages that direct to a page describing the error( U( W) l. |# e
  542. ; or function causing the error in detail.
    6 ~; B5 j5 s& I6 `+ g0 D
  543. ; You can download a copy of the PHP manual from http://php.net/docs+ ~5 ?: G9 F) c. `
  544. ; and change docref_root to the base URL of your local copy including the4 L. h+ R8 A. k2 J
  545. ; leading '/'. You must also specify the file extension being used including
    # ?* ^3 V: `9 Q. v$ B; O: o1 q1 r
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    - `# \# `, {5 q& U
  547. ; case no links to documentation are generated.4 S: i' W& T" O9 t# ^
  548. ; Note: Never use this feature for production boxes.& {9 h1 I% ?$ y1 w# }$ J4 i$ d4 e
  549. ; http://php.net/docref-root& o# |1 b" U6 w* s: k4 h
  550. ; Examples: @) R, x+ E  u; \7 g
  551. ;docref_root = "/phpmanual/"- ^% E9 s4 g8 \1 S7 U

  552. ! a/ `8 e* L5 m! s
  553. ; http://php.net/docref-ext* I' z6 @7 f5 o& Y9 |: S
  554. ;docref_ext = .html
    ! O  H" y+ U5 t+ L3 F+ _, ]3 R$ F
  555. % Y# S9 T# d7 M" Y: D
  556. ; String to output before an error message. PHP's default behavior is to leave: b" G/ W" `, r8 Y! u0 l* u# j
  557. ; this setting blank.
    $ x* W2 l) ~+ B, C. ]1 Z; L
  558. ; http://php.net/error-prepend-string
    7 Y/ d5 N4 P( C0 F: v% C" N% i
  559. ; Example:
    ! R3 x6 |/ k9 Z% [2 J
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    5 ?7 ]% |  ~, o9 q- q

  561. $ A5 X. K+ K% c5 Y& D
  562. ; String to output after an error message. PHP's default behavior is to leave
    % F( P0 |; x( q( Y# Y5 N8 Y
  563. ; this setting blank.
    # {+ p& }: h5 l8 a
  564. ; http://php.net/error-append-string, ]5 b' g9 w+ P# l/ r' k" R( g
  565. ; Example:
    : \2 |: o) H8 B6 c( M+ }+ P
  566. ;error_append_string = "</span>"
    * U& q$ |( S( U. w4 l! ]
  567. 5 S- _# A3 W% D% ?
  568. ; Log errors to specified file. PHP's default behavior is to leave this value  X; n! _0 _8 b. _
  569. ; empty.
    $ K# l+ {" |$ D1 j1 k) |, O$ \) P
  570. ; http://php.net/error-log
    8 R- k$ o/ O9 K) J7 s
  571. ; Example:" w3 E' C3 t6 N+ f/ f( x8 c# l
  572. ;error_log = php_errors.log
    + W( C" I, s4 b
  573. ; Log errors to syslog (Event Log on Windows).
    + c- Q/ l' M- X, L- ^! W7 {' X
  574. ;error_log = syslog+ S2 x2 C; A$ u" N8 a, v
  575. ' }/ W" ]* j) r" d+ L5 l$ H7 M
  576. ;windows.show_crt_warning
    ' T. z3 ^5 ?3 N/ D7 X
  577. ; Default value: 0% g  ^$ f* x" @2 Q* U4 I3 t
  578. ; Development value: 0
    $ j. K) r1 R5 Z1 e: T& P  g
  579. ; Production value: 0
    . N! B+ k4 w+ ^) v

  580. 2 J6 s3 m; W+ v( x2 T$ F! H
  581. ;;;;;;;;;;;;;;;;;5 X6 S+ }# x8 ^: v; h6 m
  582. ; Data Handling ;
    & s+ s6 z( j3 b  a3 C. V
  583. ;;;;;;;;;;;;;;;;;
    $ `+ g3 k2 g- Z  o( D
  584. ' j+ j' d" `4 H& T1 t; k7 @
  585. ; The separator used in PHP generated URLs to separate arguments.8 P5 u* V9 V6 m7 K: h
  586. ; PHP's default setting is "&".
    5 V* x/ w$ _$ U9 R
  587. ; http://php.net/arg-separator.output3 t0 M$ f; Z! c- y
  588. ; Example:4 S5 i2 A) S# D. v3 V& M- g# }
  589. ;arg_separator.output = "&amp;"
    - R$ n0 {0 x2 m. ~, S
  590. - |+ x7 J% P3 U: j. s: v$ b1 I* z
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    # t. y8 T! J: V
  592. ; PHP's default setting is "&".
    , z  n: m, [* z- ?# l# L! Z
  593. ; NOTE: Every character in this directive is considered as separator!
    3 a$ \. t; _. Q, C$ f0 I$ D# ~
  594. ; http://php.net/arg-separator.input$ C: C+ Q- |( P/ V1 J4 T, E
  595. ; Example:
    $ G9 Y  G* Q  w( N6 A' C7 h7 C
  596. ;arg_separator.input = ";&"
    ! i4 v* ]: l7 F! q: J  X/ E$ k
  597. & F3 X. y" i% _$ N3 A" X5 o
  598. ; This directive determines which super global arrays are registered when PHP
    2 G0 Q2 q  u7 e  ^: l& @
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    1 F2 m2 v. l1 m
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    / E3 |- x+ y: t+ D1 k
  601. ; paid for the registration of these arrays and because ENV is not as commonly  H% T0 w: G8 ]* o
  602. ; used as the others, ENV is not recommended on productions servers. You' y8 ]' I8 P+ U! Z6 I6 t) z
  603. ; can still get access to the environment variables through getenv() should you! Z+ R4 |* k( K- c! I
  604. ; need to.# K% ?! R- l% B$ r
  605. ; Default Value: "EGPCS"
    & ?6 E! l. J/ Y- {' d
  606. ; Development Value: "GPCS", j" z1 u' Z# k: E
  607. ; Production Value: "GPCS";
    . g  M3 Q. L0 \1 ~% z8 R1 ?
  608. ; http://php.net/variables-order) m; B+ V8 q. ?  D9 s( j8 i' a
  609. variables_order = "GPCS"' }- `0 ?$ P1 j0 T9 O+ M2 ^9 _

  610. * x* L# z1 ]4 V2 f1 ?$ Q, Q# @
  611. ; This directive determines which super global data (G,P & C) should be
    7 ]5 o+ L2 b% b8 b* c6 ]: Q
  612. ; registered into the super global array REQUEST. If so, it also determines
    $ A6 q; S; C* v# H
  613. ; the order in which that data is registered. The values for this directive
    ; u3 E8 \% k# h1 l, H2 @1 {
  614. ; are specified in the same manner as the variables_order directive,* d0 c; B6 Z' f
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set" x/ y3 j( j; j. p1 P' b8 c
  616. ; in the variables_order directive. It does not mean it will leave the super
    ' E9 U% c$ t) e* O6 a
  617. ; globals array REQUEST empty.
    0 ^; k2 |/ a' I% O; Z1 Z; p& _
  618. ; Default Value: None
    - p1 V5 u( C) P& \# U0 H+ \* w
  619. ; Development Value: "GP". {' Q& H( w  U
  620. ; Production Value: "GP"
    1 J! i6 [+ K# \1 y
  621. ; http://php.net/request-order2 y# A3 R% E! E
  622. request_order = "GP"
    0 g' P+ s2 [: _3 A. r

  623. " X: ~8 t' M" k, b" F# @* }! y
  624. ; This directive determines whether PHP registers $argv & $argc each time it6 m+ @/ {6 [/ t# W7 {
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script- k4 |% e5 ^/ j4 l  j; I: p3 ^
  626. ; is invoked. $argc contains an integer representing the number of arguments+ x) Z' }( a# n
  627. ; that were passed when the script was invoked. These arrays are extremely
    9 [7 B8 I3 ]1 g
  628. ; useful when running scripts from the command line. When this directive is4 a) c+ @0 H; }3 x; E3 S) O
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    9 A3 |, ~7 x9 W% j$ V" Y
  630. ; a script is executed. For performance reasons, this feature should be disabled
    # T9 ~5 R8 M$ {' O' f) U7 y
  631. ; on production servers.' v# u  `4 t  O& ^2 @6 F( E3 k
  632. ; Note: This directive is hardcoded to On for the CLI SAPI+ }' E8 b  J, R( I: p( g
  633. ; Default Value: On# H4 l! O+ G7 K6 W& Q
  634. ; Development Value: Off& v: b% U0 _. y
  635. ; Production Value: Off# \4 ?, S6 E. _+ c* e2 T; B3 n1 c
  636. ; http://php.net/register-argc-argv
    . L1 g* V! s; p8 K& E. l' J  }( `
  637. register_argc_argv = Off
      L9 ]3 b; e8 u- p' a, t8 s
  638.   R8 X: f4 u2 H7 i' a
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    4 J1 u' M( ?% R& f% }
  640. ; first used (Just In Time) instead of when the script starts. If these! F' k0 J/ m7 ^; }. k
  641. ; variables are not used within a script, having this directive on will result
    9 [, D0 G3 J8 A
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled& o2 |) `2 N- C9 l+ Q
  643. ; for this directive to have any affect.# J: B# S2 {6 x8 b9 t6 t9 x
  644. ; http://php.net/auto-globals-jit
    2 a# I# }4 N7 e7 X* t) [
  645. auto_globals_jit = On
    6 c& v& b" q# R8 |( O& E
  646. ! x8 b* f8 M% S
  647. ; Whether PHP will read the POST data.
    : V# K3 H5 e$ {7 a' D
  648. ; This option is enabled by default.
    " I5 ~; T. \4 _2 X* a: [, ~
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    2 W. \( g2 K6 x
  650. ; and $_FILES to always be empty; the only way you will be able to read the
      }3 U! f9 X8 y4 n+ }* M  I
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    ; [) E2 o' L) H
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    ' r- r- A, Q7 U" N0 o3 P& z7 r% h
  653. ; http://php.net/enable-post-data-reading
    ! n8 d6 E/ W+ t* `
  654. ;enable_post_data_reading = Off/ L* u9 h1 J0 y! {) W6 v( j4 j
  655. / \; m* q6 L1 \0 T& M  r8 {3 H
  656. ; Maximum size of POST data that PHP will accept.! _% d4 r1 m2 T' q1 N; e: r$ \
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading* \3 `: d( ^( v: D
  658. ; is disabled through enable_post_data_reading.
    ) k) q- L6 _  B4 b
  659. ; http://php.net/post-max-size0 _& i( Z# \5 o% f8 v* k" Y
  660. post_max_size = 50M
    4 j; [; {7 T6 @  a

  661. - ~' L9 h9 o$ ~& B
  662. ; Automatically add files before PHP document.5 X, w- \: H1 d8 l
  663. ; http://php.net/auto-prepend-file
    ( j: R/ c9 g: _1 s5 t2 y# q
  664. auto_prepend_file =
    , v  Y6 l' X; E2 r/ B

  665. + t9 L3 ^8 X+ \2 b: k
  666. ; Automatically add files after PHP document.) A& G' `" X1 w% l' j( k* E2 E8 n9 T
  667. ; http://php.net/auto-append-file
    7 C+ R) x+ n% K5 d% B2 \/ R
  668. auto_append_file =6 E9 o" \. J$ f+ c# q# H6 F

  669. 1 D- X) [* `' z
  670. ; By default, PHP will output a media type using the Content-Type header. To
    4 w+ P: [# m* S7 h0 j3 o# O6 e5 C
  671. ; disable this, simply set it to be empty.
    % S- z( J# _7 M$ w5 O+ @" q
  672. ;
    " B5 q" j' T2 k5 I1 S! Z
  673. ; PHP's built-in default media type is set to text/html.& D4 s' K8 p: ]" x; f; Z. L0 F
  674. ; http://php.net/default-mimetype
    0 n. h9 b% H/ ^6 i
  675. default_mimetype = "text/html"0 D/ [* ?9 n5 G3 y+ I
  676.   q8 _1 q1 Q: I7 M  e
  677. ; PHP's default character set is set to UTF-8./ I8 O% f7 c" p* N1 p) B+ a
  678. ; http://php.net/default-charset
    ; s) V5 e# \' x# U1 Y* J% |8 n
  679. default_charset = "UTF-8"
    $ J7 i3 j- m* T! e

  680. 7 {7 R3 M7 F2 x( _- \
  681. ; PHP internal character encoding is set to empty.: M' o/ _* U' d/ m6 z' f
  682. ; If empty, default_charset is used.& W1 h( B* L. r; K
  683. ; http://php.net/internal-encoding0 j' {2 B# p/ j! a! s1 M4 f) @
  684. ;internal_encoding =
    7 J+ N5 l' ~6 j& ?' V2 a* G/ @4 k

  685. ; K# [8 Z2 u- f+ d/ B( m8 C
  686. ; PHP input character encoding is set to empty.9 r* B, ^$ Z. J5 k, c0 L
  687. ; If empty, default_charset is used.. d* A. y, }# a) Q6 v. L# V7 O- f
  688. ; http://php.net/input-encoding- [, e% E% p' E+ ~
  689. ;input_encoding =
    & v* B% ?( Y, W

  690. - E0 y1 k. J. w: g. K0 C" [5 Y
  691. ; PHP output character encoding is set to empty.
    $ T2 i% N' p  h
  692. ; If empty, default_charset is used.
    9 ?& Z& v0 P7 M
  693. ; See also output_buffer.. Z" |  k9 M( s9 h8 `
  694. ; http://php.net/output-encoding/ h6 J2 p) [4 A# |
  695. ;output_encoding =
    0 t8 p! I6 t6 J

  696. + c2 f- f. O# B! @# z1 m# c) w
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is5 O6 w  O$ e) E
  698. ; to disable this feature and it will be removed in a future version.
    % M5 ~1 W: L9 h$ p2 d( K
  699. ; If post reading is disabled through enable_post_data_reading,
    , v: b0 v, C( a8 c
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.. [) }2 u1 @: v5 i4 Y; h
  701. ; http://php.net/always-populate-raw-post-data; F6 A2 a" O' @
  702. ;always_populate_raw_post_data = -1
    # o) \8 k$ P6 i1 `2 ~

  703. , U) f% p% G) ]
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;& f4 N6 a' a+ ^. C- p- a! h
  705. ; Paths and Directories ;
    0 e* _0 L3 U. `
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;) v8 N2 |9 `- g* v- F
  707. $ a8 s# U- z3 g0 R' A4 M
  708. ; UNIX: "/path1:/path2"
    ; i) r; E, C7 Z& O
  709. ;include_path = ".:/php/includes"
    - }5 ]8 ]# G0 {0 Q1 P3 b
  710. ;
    $ r$ h. F/ g  k* y8 V) `$ x2 V
  711. ; Windows: "\path1;\path2"
    # r& E+ j- f) {$ b  N" O) G: n
  712. ;include_path = ".;c:\php\includes": f* `, m: }5 N9 p3 a
  713. ;! H$ |% \5 u1 I1 m( M) {
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear", ^$ `* @# V+ w9 g$ k
  715. ; http://php.net/include-path
    ! R, i2 P' G& {/ D  C! d
  716. 8 n% O$ O# K/ @4 u  ]
  717. ; The root of the PHP pages, used only if nonempty.8 v3 J5 U" [; u4 |
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    ( D9 u3 |& p; G6 \$ K! L
  719. ; if you are running php as a CGI under any web server (other than IIS)( @5 ~3 u* j6 i0 e1 F$ C
  720. ; see documentation for security issues.  The alternate is to use the2 [: o; J) e) e- h" u8 {: I$ v& g
  721. ; cgi.force_redirect configuration below
    : f7 y' Q1 D: Z/ p
  722. ; http://php.net/doc-root
    " O- @, B' `# c! y/ F: }7 v
  723. doc_root =% Z- a  E( Z% @- T

  724. 4 d* t+ O1 a4 F
  725. ; The directory under which PHP opens the script using /~username used only4 Q; m' t0 T6 }& @2 S! P4 H! e
  726. ; if nonempty.: n: d4 p4 Q8 m& f8 A% p
  727. ; http://php.net/user-dir- P3 }3 w) F. r0 R  y& w
  728. user_dir =
    ) u, O: L2 W. @
  729. 5 |" B7 Q% e! a9 O. d/ G
  730. ; Directory in which the loadable extensions (modules) reside.; h) ~  Q! w: k/ V. t, K/ [& h& y
  731. ; http://php.net/extension-dir
    2 E1 g5 ?) L" A3 r
  732. ; extension_dir = "./"
    " A9 h" N8 o8 @7 n* Q. V; c8 F" T
  733. ; On windows:' C: X# _# |+ z. b. Y: ?4 B
  734. ; extension_dir = "ext"
    ' P0 W  u( f% C' \9 d
  735. 0 a8 D' e6 P: U& j2 r
  736. ; Directory where the temporary files should be placed.
    + w) T% l) W, C, u3 K
  737. ; Defaults to the system default (see sys_get_temp_dir)
    5 d, _' X8 V5 c; ^2 E
  738. ; sys_temp_dir = "/tmp"
    . v0 ]+ M# M5 l1 h8 {# b
  739. 1 m( c, p! R- U8 S2 d3 e
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work  S1 N2 N4 x" y( Y( D. {. p# e
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically: i- H3 c9 p6 g  f
  742. ; disabled on them.! t8 M$ n4 u% o5 a% z
  743. ; http://php.net/enable-dl
    + r2 S- y2 Y9 i( L9 a0 R1 G5 x0 `
  744. enable_dl = Off7 l" p4 E  B4 W

  745. 4 ]1 T" h3 I, E0 B
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under9 g- C+ [  F+ M# ~
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can% c0 h" Z! ^" J; \
  748. ; turn it off here AT YOUR OWN RISK7 W7 ^6 q+ _9 q' A' v
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    . C8 H4 T9 N% U1 Y9 A) @
  750. ; http://php.net/cgi.force-redirect
    . P* j9 N* y; h9 g+ X4 V
  751. ;cgi.force_redirect = 11 i, b) i5 Y9 m5 E# |

  752. . L, F- X, m1 c8 c3 R; f& E, `
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with8 A/ q# G% b. E6 B
  754. ; every request. PHP's default behavior is to disable this feature.4 d8 v8 E* a! J$ D  u3 x! }, z
  755. ;cgi.nph = 1
    & @& d, z% g+ J& o% G, x4 S
  756. 8 J' k! X  e( |6 v+ m1 e2 h
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape+ u' s0 ^3 K: S5 ^7 m( C
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    : I4 U2 E/ ?* V1 s" c
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    , R% E3 e7 g5 x5 d" @8 E
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.4 m" [! D; P% {; n6 F8 r' K
  761. ; http://php.net/cgi.redirect-status-env9 d+ Y/ [, G2 o- Y$ X/ R- @  T
  762. ;cgi.redirect_status_env =
    / k  {% w: G8 M  L# A4 G

  763. 9 [4 h) }- W- k1 o
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    ( `- ]$ `; f, E* R$ s' e/ Z
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    2 w' z+ C5 J; @% F: F; D
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting' _" J, Q2 F0 H% H' _5 f
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting) ]) O) D5 ]' O/ m
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts2 _2 h8 C& ^3 {" G! y! y7 S
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.  c& U" J, I& o
  770. ; http://php.net/cgi.fix-pathinfo
    & m$ B; }  J4 A2 ^
  771. cgi.fix_pathinfo=12 a  [: I1 C5 r
  772. / B, h; H/ M" d$ j
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    5 K4 L6 b  c, ?
  774. ; of the web tree and people will not be able to circumvent .htaccess security.; S( Z! w/ ^8 W2 V, R  Y
  775. ; http://php.net/cgi.dicard-path$ W1 @  S- R) C+ J1 Z; H
  776. ;cgi.discard_path=1
    $ |; s: {8 K0 [$ f5 z5 d

  777. ) |( T& y9 g, ~$ V2 e. P
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    3 [: p0 w0 Y. f5 t6 b
  779. ; security tokens of the calling client.  This allows IIS to define the
    . P  m' M" {2 x7 _. M" Q
  780. ; security context that the request runs under.  mod_fastcgi under Apache+ X1 M& t4 B$ `$ ~- {1 q
  781. ; does not currently support this feature (03/17/2002)
    $ `4 z3 S/ O* b$ W7 ?4 a
  782. ; Set to 1 if running under IIS.  Default is zero.! N5 k( G# w$ ^( ?
  783. ; http://php.net/fastcgi.impersonate
    ( c) d, Z8 v' K# `. l
  784. ;fastcgi.impersonate = 1' M  D( c7 J. C' a& N
  785. 0 }1 ?% F" O5 ]) N8 C
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable' {6 _: E; j+ a& Y# T! a
  787. ; this feature.
    ( }: p# h' U( r+ u% l8 [
  788. ;fastcgi.logging = 0
    6 c5 @: u9 K* A; j6 a- y, I8 H

  789. $ K- g( i8 q6 X* N9 }) o* o
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to" D) w( \' v8 T  H3 V+ G* {
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that# N' m9 A$ h1 M" D" h
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    $ Q" Q" h5 ~" ]
  793. ; RFC2616 compliant header.
    * }; S# L3 `! {7 f, ~0 M
  794. ; Default is zero.
    * {+ S" R" e$ k; N* e
  795. ; http://php.net/cgi.rfc2616-headers
    6 g# m8 B9 D' M* U
  796. ;cgi.rfc2616_headers = 0
    / R. m2 L5 j+ y: H
  797. * C$ V: l+ q. g8 w
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!( l; ~. W- t; T1 }1 F
  799. ; (shebang) at the top of the running script. This line might be needed if the2 s* ]% ~% K! x. e9 `0 j
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    8 E( f3 }! |% Z+ H7 p" I* v! r+ K
  801. ; mode skips this line and ignores its content if this directive is turned on.9 P+ l& z7 H6 u; d) r5 N
  802. ; http://php.net/cgi.check-shebang-line
      o: r1 ~/ t, N1 Q( P8 I
  803. ;cgi.check_shebang_line=1
    * |, l, I& v% ~! t: ~" _( V, S
  804. 3 M+ U4 Z6 U, X% H: F/ O
  805. ;;;;;;;;;;;;;;;;9 b. \4 V( ?! |# k, K: K4 d4 ~9 n
  806. ; File Uploads ;% C# X. w+ C8 y0 K$ M0 r! o6 A
  807. ;;;;;;;;;;;;;;;;
    3 e& e) z$ P& j1 ]! o
  808. / l( B* a8 c4 y/ x" F
  809. ; Whether to allow HTTP file uploads.
    7 A6 r$ m4 N# A# P0 ^5 G! {5 t
  810. ; http://php.net/file-uploads7 g% K$ y3 M; I8 @( _2 ], c  n* t+ o
  811. file_uploads = On9 `4 L) d  L0 b+ B3 z
  812. ) s/ j2 q. o& s8 z/ k
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    9 V# _7 M* L% |; o
  814. ; specified).
    / v  S0 g' t0 O9 C3 r6 r
  815. ; http://php.net/upload-tmp-dir. ?* s7 `8 Y) t9 T
  816. ;upload_tmp_dir =
    8 _: c2 |, x* ~& _6 |' [4 G0 Y
  817. 0 m* u; v- N0 U2 ?8 R9 X
  818. ; Maximum allowed size for uploaded files.
    , M! P: i2 l+ r' Y: O2 v
  819. ; http://php.net/upload-max-filesize
      o3 g4 P& R) b- ^' D
  820. upload_max_filesize = 50M
    ) X  _) ~* R/ ^: G1 I
  821. ( l8 @* e/ L. `2 B. q  C& r
  822. ; Maximum number of files that can be uploaded via a single request8 T) j5 y/ u( A2 g7 F/ A+ `) T% K
  823. max_file_uploads = 203 b7 L9 z3 C  D% J
  824. 7 r2 z; l$ s8 u/ H0 N2 A/ b; v
  825. ;;;;;;;;;;;;;;;;;;
    4 s2 t8 _8 _  z$ {) S* _
  826. ; Fopen wrappers ;7 Q1 b$ _* G$ C: [
  827. ;;;;;;;;;;;;;;;;;;
    2 X6 u+ {. z4 o) H3 f8 i* E
  828. : ?! p$ V( k$ @  O; M9 P
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    5 M6 p: o1 k4 P7 O* Z9 r+ k
  830. ; http://php.net/allow-url-fopen4 I% L% }8 i' P5 N9 `+ q' i1 B4 M0 d6 j! p
  831. allow_url_fopen = On
    ! ^9 ]$ p" P; S8 k' H
  832. 5 d, d% _: Q# o, a) C$ W+ J7 X
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.7 E# W* _+ p& j/ m3 m9 Q8 Z8 u2 B
  834. ; http://php.net/allow-url-include, z* B) J8 n6 |  q/ x
  835. allow_url_include = Off
    - U; p8 q) s8 f/ U0 s

  836. 4 W2 l6 O9 U% _0 Q/ t# p
  837. ; Define the anonymous ftp password (your email address). PHP's default setting. Q# A; }- u+ O
  838. ; for this is empty.7 @5 m  |  D/ A1 h
  839. ; http://php.net/from6 x% o1 v3 i5 U6 Y) K8 N5 c5 P  V
  840. ;from="john@doe.com"
      K( X5 y$ d2 X" X3 z0 Y+ F( U+ p
  841. 8 I' P6 @) ~+ {8 x# C% ~
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    # b: m. W6 }: h* C& ^9 O3 T
  843. ; http://php.net/user-agent6 A9 w8 K! |! \# M. F3 J
  844. ;user_agent="PHP"" X  m5 K) Q! y
  845. ( I& b6 ^5 T/ ?$ O
  846. ; Default timeout for socket based streams (seconds)( s) t# P6 R, k* d
  847. ; http://php.net/default-socket-timeout# @1 J5 ?- T$ P
  848. default_socket_timeout = 604 D* p9 N) @7 A

  849. ; w! v7 s( X4 [, G: P% `
  850. ; If your scripts have to deal with files from Macintosh systems,+ x- y: |( c' \( z1 U
  851. ; or you are running on a Mac and need to deal with files from  R* R; I/ _0 U  l5 L; p
  852. ; unix or win32 systems, setting this flag will cause PHP to! m# N' A' ?) h9 a& A2 ]' a* H
  853. ; automatically detect the EOL character in those files so that! ^- h! b' i  b: g1 f' x
  854. ; fgets() and file() will work regardless of the source of the file., W/ \8 l. {& @- I/ N4 u" U
  855. ; http://php.net/auto-detect-line-endings
    / t. I( k- m+ _' e
  856. ;auto_detect_line_endings = Off9 F1 H2 m- q. P

  857. - [7 |" T; c1 R( P+ _( H& P
  858. ;;;;;;;;;;;;;;;;;;;;;;! A+ h: _  H4 f- t; d( U1 P# w
  859. ; Dynamic Extensions ;
    7 S) k$ m0 A5 s7 A! s! D/ @' w
  860. ;;;;;;;;;;;;;;;;;;;;;;
    + ?  H9 `4 Q- a# F$ i# A

  861. 3 V! x. V& i/ O0 W& c/ `
  862. ; If you wish to have an extension loaded automatically, use the following9 a0 i, f  n) c% o
  863. ; syntax:
    # l( J2 M: P! n- u
  864. ;
    9 z/ _" O  R  D; f2 O- X7 K4 @9 n- `
  865. ;   extension=modulename.extension9 f/ Y3 R* f: j+ `
  866. ;
    ) A" |& L4 u; L% f( P
  867. ; For example, on Windows:7 ~5 P/ ]1 v6 K
  868. ;$ e2 E9 I1 J) ~  y
  869. ;   extension=msql.dll2 p0 Z! }# ~3 ^6 d; b
  870. ;
    6 t6 g' j# k) r. |5 m
  871. ; ... or under UNIX:
    ' ?! `5 t# u5 }# ?
  872. ;& ^+ i, \% \% U
  873. ;   extension=msql.so& W5 |. d1 G3 `; r% \, o+ l
  874. ;* v& W, ^/ W( }& l( R1 @: o  t( w; a
  875. ; ... or with a path:0 k% Q; L2 Q* {% ]0 x4 \
  876. ;
    7 Z& }7 f1 O0 }
  877. ;   extension=/path/to/extension/msql.so8 K& Z8 g. l; Y2 e9 ?
  878. ;* m& m8 G( m" [. i) D: a5 N, t
  879. ; If you only provide the name of the extension, PHP will look for it in its6 c! J8 k  k! e( D) u
  880. ; default extension directory.# |! b: s1 n6 Z/ I
  881. ;' k: e; P1 R9 U4 }2 f
  882. ; Windows Extensions
    ! i$ \$ w- Q- Z0 l6 W5 j$ k
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    # E$ Y4 _( E: m7 ]9 C9 ]( D
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    ) C$ f# v0 O) o) C* ^* t- ~. h
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).2 X$ ]" ]  Y6 s3 ^! T0 u- j
  886. ; Be sure to appropriately set the extension_dir directive.# ?: Z2 y* y6 v, e( X) R
  887. ;$ ~& }3 v% S3 J+ m1 g7 j# a
  888. ;extension=php_bz2.dll, I2 {) m2 z8 L* \6 _! S
  889. ;extension=php_curl.dll+ H- X) n, U$ h: g0 |
  890. ;extension=php_fileinfo.dll. X$ j7 W6 J/ n, D; b& U( K- c8 n
  891. ;extension=php_gd2.dll
    9 D3 ]2 Y" I6 x9 ^9 V. p
  892. ;extension=php_gettext.dll( ]2 F2 L% Z/ z- Y6 }
  893. ;extension=php_gmp.dll9 q+ m) c( r  I, ?( b# [" o/ i
  894. ;extension=php_intl.dll
    : a! I) F0 E. E; H
  895. ;extension=php_imap.dll
    7 u7 a1 S3 A1 C: Z7 C6 F
  896. ;extension=php_interbase.dll: T% [- p" D& m2 E) }- g- h' m
  897. ;extension=php_ldap.dll- J) P1 w/ ?) b5 a+ o4 k
  898. ;extension=php_mbstring.dll7 e4 [7 d4 Q: J: K
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    / `6 M1 \# o/ g
  900. ;extension=php_mysql.dll
    1 Y& R$ x6 h$ T  s6 H3 C7 P$ o+ ~
  901. ;extension=php_mysqli.dll
    , z) V3 r; @" t$ U, M
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client  D4 F! N! j8 Y, }0 W; D, H
  903. ;extension=php_openssl.dll
    $ g$ `& y+ |6 r) h" W
  904. ;extension=php_pdo_firebird.dll
    / X5 C4 A/ {. P* B5 L  u
  905. ;extension=php_pdo_mysql.dll
    - d* k8 Z6 @  q6 I. H2 t
  906. ;extension=php_pdo_oci.dll: c4 X. m9 d1 a
  907. ;extension=php_pdo_odbc.dll
    3 l, J8 e6 O& J  X8 g; j/ Z$ X
  908. ;extension=php_pdo_pgsql.dll
    # f+ P9 F6 ?  q# c  I5 N  ~/ L6 a( @# Q
  909. ;extension=php_pdo_sqlite.dll
    0 R( P! W2 x' g4 k% ^/ G1 s8 V
  910. ;extension=php_pgsql.dll
    ' W6 n+ }4 B$ g: B) j
  911. ;extension=php_shmop.dll
    0 G/ R( U7 P# P

  912.   p: U- u% P- W2 p* `' O: _
  913. ; The MIBS data available in the PHP distribution must be installed. & v6 l* W6 }- Y& j% j( k
  914. ; See http://www.php.net/manual/en/snmp.installation.php 3 H& d4 m! D4 c4 `
  915. ;extension=php_snmp.dll
    / W, B- o! g9 |8 O. c
  916. * O' v* F+ C  \, e7 S
  917. ;extension=php_soap.dll
    $ b  }: O* i: q
  918. ;extension=php_sockets.dll5 r  {- f3 T5 f' _
  919. ;extension=php_sqlite3.dll6 {2 }" l' K! L9 t
  920. ;extension=php_sybase_ct.dll# m' K* P! D3 _% f' l7 {5 M7 O7 v
  921. ;extension=php_tidy.dll
    ) `" U# H* J! g' V! B7 _0 T
  922. ;extension=php_xmlrpc.dll
    ; c9 K5 r/ N+ u. p% A7 U# p
  923. ;extension=php_xsl.dll
    4 w0 B+ r) \' Y$ g. ^  E9 A

  924. ' e: q& M: @1 w5 w6 y/ T
  925. ;;;;;;;;;;;;;;;;;;;
    9 {4 w1 v+ E) E' e. n, S9 P6 Z
  926. ; Module Settings ;
    2 z* y6 I$ R4 U5 B
  927. ;;;;;;;;;;;;;;;;;;;
    1 Z0 @' G5 ^; K& g4 q" s3 ^3 m
  928. * w5 z$ N4 F# _  d
  929. [CLI Server]
    * O$ z  I$ O4 S/ m- \2 S( E
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.- s" Q2 W3 c- e6 ]4 H$ ]
  931. cli_server.color = On; i* J$ n1 ^1 |) i% c

  932. 9 j# @' @% D9 t# g* C
  933. [Date]/ x, l' N* |$ a% U4 P5 K% [
  934. ; Defines the default timezone used by the date functions  p* i7 g8 V5 e. h
  935. ; http://php.net/date.timezone
    , [) g( @: M0 p* G
  936. date.timezone = PRC
    ! k. k8 d( T8 b! y# |2 t: M
  937. ' J1 A! W6 j; u- y7 u- f
  938. ; http://php.net/date.default-latitude
    ) ?) j/ [! r; T! o# W9 O
  939. ;date.default_latitude = 31.7667. \8 e4 W9 \3 g9 W2 D: g2 k( b

  940. - m1 K8 _+ _$ p; X. k* F) ^
  941. ; http://php.net/date.default-longitude
    # O" V  c# D1 K4 u& U( e  ~/ v
  942. ;date.default_longitude = 35.23334 h3 |: L0 z) e# ~, E- p

  943. 8 X$ t/ U) e  q+ o: `7 j" V
  944. ; http://php.net/date.sunrise-zenith$ D% M# \* [. ?' z6 E' D! L
  945. ;date.sunrise_zenith = 90.583333
    5 Q, B% Q- H9 T6 j+ q: R
  946. * k3 }. M+ B6 ~5 K# ?
  947. ; http://php.net/date.sunset-zenith
    / @% D  F- \, A2 |* n1 N7 O
  948. ;date.sunset_zenith = 90.583333$ g' A& }2 H' w% n" a1 t/ Z& |. J
  949. 7 Q% Z! S9 r: t$ j, Z
  950. [filter]+ D7 f# E/ C: W- u  t
  951. ; http://php.net/filter.default
    : _2 |4 Y3 o3 a
  952. ;filter.default = unsafe_raw
    ( s# X) ~$ G, M
  953. # x( K  a; C- j
  954. ; http://php.net/filter.default-flags/ }6 [6 a& ~+ |, N- _
  955. ;filter.default_flags =' Z9 x' G; {0 j' ^! U  N0 x
  956. 3 s  y. w( z" h
  957. [iconv]! A$ m  y  i7 ~' Z- Q$ L  F! A
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    8 q+ h, L$ f0 x$ R$ s6 |& G
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.8 N5 [" ?3 I6 Q
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding/ |% T) x5 s. d, W2 Q
  961. ;iconv.input_encoding =+ N# ?0 d( a" T+ Q2 ~% M: b

  962. : [: _6 Q; E' A  b0 o
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead., t5 [! |3 D; w& a
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.1 F* A2 x6 O8 R  G% m7 X
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    % f6 x# E* }+ R
  966. ;iconv.internal_encoding =
    5 N% [3 {6 F1 l( W
  967. 6 F5 @& u- G, H% O) S! b
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.& e2 j. {% b3 B7 ?
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.- v" h. h; g  T8 Z" x4 T
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    - W7 e% O# `2 L7 T; l3 \# Y5 F( \
  971. ; To use an output encoding conversion, iconv's output handler must be set
    " Z/ k0 k$ T! O+ P
  972. ; otherwise output encoding conversion cannot be performed.. a( I! F1 a& k) Z: f7 \
  973. ;iconv.output_encoding =
    & m9 t& I' g+ E5 x0 F4 {

  974. " a8 d; P; D  q) Q; }% o1 U9 w* \; |
  975. [intl]
    ) \8 L( N  [3 U
  976. ;intl.default_locale =. r( @; c' v, v( a7 m& s
  977. ; This directive allows you to produce PHP errors when some error
    6 O. t* ]  P  f; Q$ E* c
  978. ; happens within intl functions. The value is the level of the error produced.6 H. `& o6 ^' ?7 d/ M- K; T9 T
  979. ; Default is 0, which does not produce any errors." \/ \! a0 [! D7 _( y" r1 o$ f
  980. ;intl.error_level = E_WARNING
    : g7 u" w. N$ h" M+ j2 `
  981. ;intl.use_exceptions = 00 X* b6 G: o/ [6 C8 g* S. R
  982. # S+ {# L+ W# v/ z
  983. [sqlite3]& t: c0 f7 a  N/ ?7 ?/ e, h
  984. ;sqlite3.extension_dir =
    9 P- Q3 `/ N7 u' M5 k* T
  985. 1 I! j. O5 M0 G: V
  986. [Pcre]6 q) d: G! |' L9 d2 h8 M# V: C
  987. ;PCRE library backtracking limit.5 ^+ E3 n- v: [6 [4 X
  988. ; http://php.net/pcre.backtrack-limit
    ) C& o4 l. T* U. {) Y  i1 J" a
  989. ;pcre.backtrack_limit=100000
    % |, B! ~3 X* @

  990. 3 y- L- J4 ]6 S. P8 _- k
  991. ;PCRE library recursion limit.
    1 F+ I5 q6 R, @+ G2 L
  992. ;Please note that if you set this value to a high number you may consume all7 a* @; J! n( Y: r$ u2 i
  993. ;the available process stack and eventually crash PHP (due to reaching the5 }: N8 I1 n# V
  994. ;stack size limit imposed by the Operating System).9 n$ U7 E# R$ l
  995. ; http://php.net/pcre.recursion-limit. h2 W) m0 f; }( u4 ?  P
  996. ;pcre.recursion_limit=100000; {0 V8 e! |$ P. [" x2 ^4 A
  997. & x) Q, s+ M" z$ j2 D
  998. [Pdo]+ V- s$ w8 r1 J6 u
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    % o* ^& I7 `! T9 r" O
  1000. ; http://php.net/pdo-odbc.connection-pooling: `7 r6 g: R! i8 W: [# J& w  N8 U# B
  1001. ;pdo_odbc.connection_pooling=strict
      w7 T- N% n8 }

  1002.   M+ q2 U4 r% S; M+ i) z" E+ b& W
  1003. ;pdo_odbc.db2_instance_name+ B) e+ ~# n! n8 p
  1004. 5 S# f, _8 K% e, {( ^+ e
  1005. [Pdo_mysql]7 f7 j; o  C: E" t5 {+ R) O$ I
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache& g, z6 e, ?! J/ T2 Z$ v( w4 u
  1007. ; http://php.net/pdo_mysql.cache_size
    2 R, j' D0 d& I7 o3 K* t' u2 V
  1008. pdo_mysql.cache_size = 2000$ @/ w1 O) u1 J9 o

  1009. 8 L% a8 F. U2 z" y* Z: C6 i
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in8 f6 B$ H% U+ C" r$ K
  1011. ; MySQL defaults.
    ) {- k! M, c6 j& E! ?: J
  1012. ; http://php.net/pdo_mysql.default-socket
    : z' i: c$ Q! J' {. y- W% c) \  ]! H
  1013. pdo_mysql.default_socket=2 Q$ S9 ^1 D. C" a/ f; F1 n2 R
  1014. 9 W9 [7 W4 P+ Q* M: W
  1015. [Phar]
    / B7 P$ N/ l; W+ m5 ^' O
  1016. ; http://php.net/phar.readonly
    # e8 }6 v1 f7 \9 a
  1017. ;phar.readonly = On7 L9 S5 ]" \4 [- j8 A
  1018. 3 m9 p+ g$ V  K( a
  1019. ; http://php.net/phar.require-hash$ G/ M3 u" {) Y# @1 _( ^; o! ]
  1020. ;phar.require_hash = On) L6 N& t$ D9 N* ]8 Z

  1021. 0 I" {, Z! s4 K# u/ L8 F
  1022. ;phar.cache_list =% {5 `) b, X1 }

  1023. 5 _/ Y& v% n) M; V3 s
  1024. [mail function]
    2 k6 j2 G  N4 c7 Y! U9 O) R
  1025. ; For Win32 only.
    4 F  \4 d& S5 d6 R
  1026. ; http://php.net/smtp
    , m/ j: g3 O) D( f
  1027. SMTP = localhost; J  m6 r+ J; n/ A  j
  1028. ; http://php.net/smtp-port
    * {  q$ l, O5 _3 n
  1029. smtp_port = 25; X* ^9 `- C9 f0 z- {% T
  1030. ' ^$ t2 F! x6 y) r' \3 t3 l
  1031. ; For Win32 only.6 H- b8 U+ u$ O& u+ d2 l
  1032. ; http://php.net/sendmail-from
    ! N' |  |) P6 H6 A4 r/ c2 H
  1033. ;sendmail_from = me@example.com- _, W. ~" {7 \$ i1 ~

  1034. - E3 ~4 [7 Q! z4 [# y0 A/ {
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    + w0 Z4 C) B- P% [0 x! N
  1036. ; http://php.net/sendmail-path
    8 M- n, _7 E$ X% Q6 K! o
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    . p! I/ s* b, S/ @. D2 o/ R
  1038. 4 |! r* A9 W& P; ~
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    ' O1 I: }3 |* |! G( {
  1040. ; to the sendmail binary. These parameters will always replace the value of4 X7 J. V2 o0 u, f
  1041. ; the 5th parameter to mail().
    ; w; V# n4 K1 j3 H5 N
  1042. ;mail.force_extra_parameters =
      c* G. C/ s  E/ S2 }$ {* O4 u9 P

  1043. : V& h6 v+ _4 \. y
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    4 a5 @: g; W/ F2 r9 {
  1045. mail.add_x_header = On
    ( s5 M0 C" E# f/ y
  1046. ( B4 ]# J" d0 l; @" w: Y
  1047. ; The path to a log file that will log all mail() calls. Log entries include7 M6 Q/ b3 x+ p# A$ S: X$ d
  1048. ; the full path of the script, line number, To address and headers.
      A: p# F1 W% j
  1049. ;mail.log =, H9 P/ T  V6 [7 m, n% C1 U- d' C
  1050. ; Log mail to syslog (Event Log on Windows).
    / G% r) ^6 b& K7 z3 A
  1051. ;mail.log = syslog
    7 x2 J7 B" u  M5 s

  1052. + e( ~6 Z% s# @5 w
  1053. [SQL]
    ' ^  U! v1 R( z( h
  1054. ; http://php.net/sql.safe-mode
    7 U' w1 s; ~2 G; s& l, W( ^- W1 m
  1055. sql.safe_mode = Off
    1 x# w" s9 l% o8 _+ P4 J4 U- P6 y2 l! O

  1056. $ v. z% C/ H8 C& W( Z
  1057. [ODBC]
    . P7 t- N0 p, f9 [: J
  1058. ; http://php.net/odbc.default-db+ C) o$ o1 ?  N0 i% U1 \
  1059. ;odbc.default_db    =  Not yet implemented
    4 x( Z( q4 {# M' i& q. T

  1060. ! o+ d# P" I% x( G* N
  1061. ; http://php.net/odbc.default-user# B% ^/ j% U4 X" I2 b7 ]6 d
  1062. ;odbc.default_user  =  Not yet implemented# E  _8 j( k9 F" e& w

  1063. ; J/ z( f$ x( |5 [; ^4 L% E
  1064. ; http://php.net/odbc.default-pw
    2 T. l' N2 V  D/ C. R
  1065. ;odbc.default_pw    =  Not yet implemented
    5 Z* [8 @, v0 Q4 G
  1066. , r( s5 n! x: u6 L& n
  1067. ; Controls the ODBC cursor model." z6 O$ ~: N/ F
  1068. ; Default: SQL_CURSOR_STATIC (default).
    ; L( C8 o7 }: n% X/ d- e" R4 j& ?
  1069. ;odbc.default_cursortype
    , j* d. c$ T0 T, T) D3 b0 L; m

  1070. 4 P& f/ Y+ }  y& z6 ^
  1071. ; Allow or prevent persistent links.
    ; f4 G0 U  N) S: ~
  1072. ; http://php.net/odbc.allow-persistent" c* s5 p  H' z( P
  1073. odbc.allow_persistent = On
    - x9 G! R, G& Y+ j: V
  1074. 0 e) A7 `/ U. i
  1075. ; Check that a connection is still valid before reuse.
    , |1 C9 |3 z3 R  O5 ]
  1076. ; http://php.net/odbc.check-persistent
    0 L1 j% }: x$ _
  1077. odbc.check_persistent = On9 Y$ e8 A/ X8 U6 Y

  1078. 5 j) F+ }8 L) h  h$ P0 N
  1079. ; Maximum number of persistent links.  -1 means no limit., J6 W8 m7 Q3 Z  D. N5 |( |  @9 S
  1080. ; http://php.net/odbc.max-persistent
    2 m: G- O3 \/ \: Y6 ^6 X
  1081. odbc.max_persistent = -1  b$ l% u- w. o2 L; D1 Y% o0 o8 T3 O
  1082. , [8 X6 n+ T* n1 l7 w/ f. y
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit." C2 E. ]# B; j* A; `
  1084. ; http://php.net/odbc.max-links  O, W0 T. k: K
  1085. odbc.max_links = -10 X: u0 V2 V& r# z
  1086. . I# n0 v: t2 m, C" d
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means* k- W; y# v0 z. ~& V+ E0 j
  1088. ; passthru.6 G  _0 j& F& K. I3 q, I
  1089. ; http://php.net/odbc.defaultlrl
    * d3 f' q% ^/ P& Y+ Y& ^+ }& ]
  1090. odbc.defaultlrl = 4096
    2 s  K3 r4 _7 X/ b2 L

  1091. 2 ~1 @2 J: d1 S5 x: b; }, ]! t. E
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    ' G+ l# F1 J  Q. h5 Z/ Z
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation( L4 P+ B' a' ?- N* l5 @
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode2 Y, D. t: H# I/ Y. I
  1095. ; http://php.net/odbc.defaultbinmode; d! |5 @% s/ x' g
  1096. odbc.defaultbinmode = 1
    4 Z9 S7 X! b7 M5 R7 f

  1097. 9 h5 O5 R+ _7 x+ I
  1098. ;birdstep.max_links = -1
    $ H1 J/ X$ E" z% \+ ^
  1099. + E* d+ _# C% N, ~" \* M, t
  1100. [Interbase]) S* o+ M  D0 S" x) q! n
  1101. ; Allow or prevent persistent links.
    3 }5 G7 S6 k4 b/ C0 e( |$ G, E4 K
  1102. ibase.allow_persistent = 1
    4 D* ^3 ]2 A- I5 z( e& e0 n+ ]4 O
  1103. # u* E! @5 K6 ^
  1104. ; Maximum number of persistent links.  -1 means no limit.
    . `7 H1 n! g$ |) C* t6 y$ l/ H. _
  1105. ibase.max_persistent = -1. K/ m3 g4 G' h: l

  1106. 6 b  \) ?; B/ p
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.1 l7 L+ v1 y8 i. h" f
  1108. ibase.max_links = -11 i% G7 p6 Q! R# o1 ~
  1109. ! w+ T; o/ a: H
  1110. ; Default database name for ibase_connect().9 |/ l$ s" c2 L3 _4 f
  1111. ;ibase.default_db =
      w/ T2 Q7 U+ r& m3 \' D
  1112. 7 _! O2 i4 r! }3 N+ o, Y1 o
  1113. ; Default username for ibase_connect().
    * i# ]! c6 M0 |, }
  1114. ;ibase.default_user =
    $ Y8 q3 {& J0 T
  1115. : u) \1 l' F' |7 W
  1116. ; Default password for ibase_connect().
    ! i! x8 V: q- l( s9 u& V: S; m. R
  1117. ;ibase.default_password =
    , j7 I: U7 s0 b0 ~1 v) O# s

  1118. 5 Z  h4 t9 E: m, a0 m; v% X
  1119. ; Default charset for ibase_connect().
    7 f0 [; r- v, ]8 v2 Q
  1120. ;ibase.default_charset =( {3 K1 J$ f6 W' U5 ?
  1121. 9 j, o$ V: b1 F; Y- P5 W
  1122. ; Default timestamp format.
      P4 \' g( [5 c5 q/ L5 B. S- E
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    1 }% c: ~5 n7 J

  1124. - ^- d% ]9 ?& v5 z: A. y" I# `
  1125. ; Default date format.
    / k. m4 Q" |: f4 C" a
  1126. ibase.dateformat = "%Y-%m-%d"
    " X7 z* A4 e! d  M) W0 o
  1127. 3 \% b, m7 s3 x  J
  1128. ; Default time format.2 `. t, q3 O7 F/ {1 W+ C
  1129. ibase.timeformat = "%H:%M:%S"( P1 O: b% f0 v& k$ D

  1130. 0 W# f. E5 c8 ?+ i1 u
  1131. [MySQL]
    $ b; [- B. b! A! ]
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements6 Q: }+ j$ V/ V
  1133. ; http://php.net/mysql.allow_local_infile# ]! N( x2 N- b) M: b
  1134. mysql.allow_local_infile = On
    ; C1 r9 x5 D/ c+ y

  1135. 4 o, o& A* r8 p& m; T
  1136. ; Allow or prevent persistent links.5 f' X1 s  {+ f6 ?
  1137. ; http://php.net/mysql.allow-persistent: d4 ?* `% h- l; J
  1138. mysql.allow_persistent = On9 r" h. M/ H+ _( A' Z; t3 Q* O. |

  1139. : D8 Q% ^$ M1 T  F8 E0 P, `
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache; l8 q) j" ^( @8 ?3 ?" C
  1141. ; http://php.net/mysql.cache_size
    6 Z$ b0 u% T  F  I
  1142. mysql.cache_size = 20002 K( ?$ B& R- P+ e1 ~! O
  1143. ; c, Z; [  a) ]4 q- p' k( }4 r
  1144. ; Maximum number of persistent links.  -1 means no limit.4 ^2 q- T0 ~# x8 n. q4 E
  1145. ; http://php.net/mysql.max-persistent
    / f' H2 s" A2 U2 U& w4 W$ R; H
  1146. mysql.max_persistent = -1
      x; L; h! ^* W) W1 c5 z- d6 T
  1147. 3 i6 \! z( C+ ?+ M! ?+ H. l
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    / `+ v# m' y  o
  1149. ; http://php.net/mysql.max-links
    * S  C. n; d# w0 N3 |4 [5 ^2 Q
  1150. mysql.max_links = -1
    ) p, H/ C6 `6 v( b

  1151. 1 C  v2 j$ \7 H) D" m" l/ W1 y
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use$ a% U8 p3 O1 |( c
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the; u: r. ]$ a& W9 Z9 Z4 \
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    - W% i+ M) q5 {- j2 ?- L# U: A* g: i
  1155. ; at MYSQL_PORT.
    / d" j1 U5 y$ S
  1156. ; http://php.net/mysql.default-port/ n1 L0 B# f# B; m  j
  1157. mysql.default_port =& b1 n; Q+ [6 Y8 w9 ?2 i
  1158. 8 X4 C6 ?/ G. z" H  }  ]2 E! S
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    7 r- z6 I, Y* K8 W
  1160. ; MySQL defaults.9 {# p- v' `6 D
  1161. ; http://php.net/mysql.default-socket& L0 v* ~$ h9 Q
  1162. mysql.default_socket =. H) n( M1 b0 y. E0 \

  1163. $ M# `( b. X+ d
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    # I- O( w2 h; n5 B: Z$ C; q9 O
  1165. ; http://php.net/mysql.default-host2 C3 W) ], K+ J. v6 ]. l
  1166. mysql.default_host =5 N( p2 s% z4 ]0 T0 {2 z( r( a) M! j6 q
  1167. ! Z0 M; d. j3 Q) x' c0 z3 X
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    ; x! L4 \+ M! d4 j
  1169. ; http://php.net/mysql.default-user
    6 }& i; L1 S, F( c# Z( V
  1170. mysql.default_user =( k$ h0 y- g5 e7 o4 ^( w: w* o( m

  1171. 5 ^" e3 F. m( [7 o2 R4 J
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).& a  d% F  c% B4 T
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.- ^4 K* W: H/ ^. _4 ]
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    5 @- h+ P/ |1 F* q5 Z
  1175. ; and reveal this password!  And of course, any users with read access to this
    " [1 c& ~6 p& I, W$ T
  1176. ; file will be able to reveal the password as well.
    $ h) B) a2 n  [9 K) x, x" ]
  1177. ; http://php.net/mysql.default-password  d; X' i2 x+ f% U8 ~4 @. D4 J) ^: k3 `
  1178. mysql.default_password =" k* N# w+ S. x( }

  1179. . A3 b0 i" c8 H
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    , i: T- O/ U2 ?( ^. X% Q
  1181. ; http://php.net/mysql.connect-timeout# i) d7 x9 K$ c& p1 t
  1182. mysql.connect_timeout = 60
    5 [- G) k. ?( L+ ^. g; a) |* @& L
  1183. 9 X7 V. b0 Q3 I* X4 V5 D8 x2 ~
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and: q5 R" J" L% ^9 A/ U: A
  1185. ; SQL-Errors will be displayed.
    3 r, b: E; C% I& |" _6 }
  1186. ; http://php.net/mysql.trace-mode3 [, N& X! c, ?. \
  1187. mysql.trace_mode = Off
    4 H+ l6 y5 Y2 j' F

  1188. 2 _9 Q8 P2 G( ]6 a
  1189. [MySQLi]
    5 Y7 ~* j9 X) ]3 A9 P
  1190. 3 }0 N; ?2 d* k7 g+ z' |
  1191. ; Maximum number of persistent links.  -1 means no limit.6 D+ j. u4 P" Y8 d$ ^
  1192. ; http://php.net/mysqli.max-persistent
    3 P% N1 z5 \# A" w
  1193. mysqli.max_persistent = -1  t6 @, V% \8 a6 l8 L

  1194. 0 Z4 ?- Z2 c& j
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    + ?5 a! o8 }% f9 Q
  1196. ; http://php.net/mysqli.allow_local_infile
    & x3 w. p5 F; o6 t5 M6 B
  1197. ;mysqli.allow_local_infile = On
    8 T" \- A8 Z3 _/ I8 L) w7 Z

  1198. " m- [" ~" @% I
  1199. ; Allow or prevent persistent links.
    8 P" D/ k& C' b9 ^/ n* {$ x
  1200. ; http://php.net/mysqli.allow-persistent+ {, ?5 V6 A/ Y
  1201. mysqli.allow_persistent = On
    ! ]( K6 m% h6 W0 p, J% D

  1202. . t9 }- V3 y, ~
  1203. ; Maximum number of links.  -1 means no limit." |; r* ]) a: o1 a9 F; W8 W
  1204. ; http://php.net/mysqli.max-links
    ' q, v  ]+ E' ~- i& J' w
  1205. mysqli.max_links = -1
    0 f3 _5 f, X" ?, r# i

  1206. + z" U* H. b: c, ^- G- f/ n7 t
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache/ ~" f: V% J' G
  1208. ; http://php.net/mysqli.cache_size6 W; D. m9 y2 O
  1209. mysqli.cache_size = 2000
    2 N* o6 x) X9 x% X$ ]
  1210. " J% {! r9 |+ {2 G+ M
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use+ @2 C3 N* ]0 N
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    8 Y  T9 ~8 S* ?6 t9 f2 G3 m
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look  p! k  k' F/ x, @; c2 G
  1214. ; at MYSQL_PORT.
    # K( [( d4 s: @- g( Z/ p( }
  1215. ; http://php.net/mysqli.default-port
    3 d3 g0 L/ o  T+ M4 r( Y1 g# n* x2 i, ]
  1216. mysqli.default_port = 33061 B( k0 W$ `' s3 f* e

  1217. 0 y; d! C( F; |  f, f2 {6 w+ t
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    1 D. `% P( R% [$ a( M  k* S
  1219. ; MySQL defaults.
    - t& m5 }2 `6 P! W: a
  1220. ; http://php.net/mysqli.default-socket
    ( Q# [/ X0 Y9 O8 f
  1221. mysqli.default_socket =9 x+ w4 ^, B5 _- H$ }
  1222. : c- Z+ @: w8 J
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    , R. M  s. R3 l/ E5 w" {
  1224. ; http://php.net/mysqli.default-host
    : P; j9 u- C, a9 H0 l; p
  1225. mysqli.default_host =
    4 u/ L0 S- @) W

  1226. ) `3 X7 D' [$ s- b$ G: D
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    ; q- ~/ |& X# I( {2 o
  1228. ; http://php.net/mysqli.default-user
    9 q$ P+ N  ?# X& I! s
  1229. mysqli.default_user =
      X1 [- G- O8 Y9 ~# P3 ^6 r, R1 |% [. a9 ?
  1230. 6 n7 P# c3 A" l7 H, Z3 }
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    # J3 t( N2 t$ s* p  Y
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    / N* C; I. W5 a, D
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")* L6 s- @) q7 Q0 N( j
  1234. ; and reveal this password!  And of course, any users with read access to this( I9 ]! Y& ~# W; h! P
  1235. ; file will be able to reveal the password as well.
    4 I4 o0 z7 y$ H( T% y; a
  1236. ; http://php.net/mysqli.default-pw9 I0 G* `9 m- ~4 G. R4 O# k
  1237. mysqli.default_pw =
    ; ?3 b* S6 @, ^8 T
  1238.   l- s% K5 v  C
  1239. ; Allow or prevent reconnect
    / y! H! W* E" y2 p. V0 Z; A5 o1 A
  1240. mysqli.reconnect = Off
    - u1 ?: q* V% @- F! w

  1241. 0 b( d1 d2 l3 n* \3 a
  1242. [mysqlnd]3 F+ i2 ?$ f# d
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be8 A# K+ E* M4 A, F% E7 t' X
  1244. ; used to tune and monitor MySQL operations.' [; M) z% Z" W7 u+ F; u  y
  1245. ; http://php.net/mysqlnd.collect_statistics* e! \- _7 M* I+ m0 n' C. K7 o
  1246. mysqlnd.collect_statistics = On
    5 C3 v) @1 E  S
  1247. . A3 K; \6 F7 K
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be0 U/ s! P" V+ u# u) Q- O* u/ P2 L
  1249. ; used to tune and monitor MySQL operations.+ i8 i: l: ]6 N7 E$ P
  1250. ; http://php.net/mysqlnd.collect_memory_statistics& M: c  J8 e3 u) m( F6 u5 p
  1251. mysqlnd.collect_memory_statistics = Off, ^6 r9 l$ j! a  u- D; L
  1252. # h9 l. F0 N$ o( D) K7 O+ r
  1253. ; Records communication from all extensions using mysqlnd to the specified log' G; q5 h) _4 J! I% e$ i1 s* x- f
  1254. ; file.$ c* b; J0 z9 q- a- p5 f5 B* t% w
  1255. ; http://php.net/mysqlnd.debug
    # g5 x; j+ W# _5 j) s* N  E: ^
  1256. ;mysqlnd.debug =
    3 U  T  I) I5 G8 |' U/ s* i

  1257. ! Y' z1 O3 `, G' q4 I, E
  1258. ; Defines which queries will be logged.3 w! a1 P7 `7 h) @' e, p
  1259. ; http://php.net/mysqlnd.log_mask
    ( n* a4 e$ Z# B
  1260. ;mysqlnd.log_mask = 0$ R: f1 A& c+ u/ P3 _1 N, ?! {/ A" n
  1261. 0 y! z8 g4 F+ k0 E* J, ]4 v' N& v
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.$ o: K: r7 K9 h
  1263. ; http://php.net/mysqlnd.mempool_default_size& o- r7 l4 W& m" c, T# _8 m; }1 Q
  1264. ;mysqlnd.mempool_default_size = 16000
    1 v) D. w6 Q: L! t; o
  1265.   J  R+ f/ u) g: [2 A+ |. ^: }3 @
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.9 [# j2 `1 Q0 ~* }2 J* V- x
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size% u9 Y# `$ ^% s& l  [% c, W
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    5 x7 Q. P: G, Y  C' m* J: I& F
  1269. ' b7 i5 u, _8 G9 ^9 w
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in9 b# r2 C6 X0 h3 F2 M
  1271. ; bytes.5 n% O, c, o/ B6 m2 {
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    + W. m1 K. A5 e2 ?. K
  1273. ;mysqlnd.net_read_buffer_size = 32768) C8 w$ K5 w" T( W* ^! ^
  1274. " ^6 V0 V9 B8 q
  1275. ; Timeout for network requests in seconds.
    : \2 s6 j5 N3 d5 H/ o. k3 {. l
  1276. ; http://php.net/mysqlnd.net_read_timeout/ M2 M- B+ K9 T) p) M  O' R
  1277. ;mysqlnd.net_read_timeout = 31536000
    . \' Z9 I9 S3 k9 P

  1278. - y4 S/ ~) u3 c: s) G+ D3 F3 O2 E7 _
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    4 I' A: y# y3 s7 X  j  K  Q) t1 I
  1280. ; key.
    ! q3 ]- K7 U8 i: s' _6 I  @
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    : W' i, L( ?4 e! g* j* @0 G
  1282. ;mysqlnd.sha256_server_public_key =
    ) X  x5 W* W3 O7 E; h

  1283. + E* w& n! p$ w
  1284. [OCI8]
      Y3 |# \7 b- T( u
  1285. 0 Q. Y  a/ H6 e/ a* ?  X7 t% k8 `7 V
  1286. ; Connection: Enables privileged connections using external
    0 N' i: t, k3 ~% S% e& k- G
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)# m1 m+ J! s7 o/ S& _
  1288. ; http://php.net/oci8.privileged-connect
    7 C) R: Y6 \$ x2 m) y& }) @
  1289. ;oci8.privileged_connect = Off
    % i- I# d3 c$ M0 o) ]8 D& e
  1290. 6 p. _$ y  D: J2 m$ @  Y' Q6 }
  1291. ; Connection: The maximum number of persistent OCI8 connections per# p: f7 T) |2 B7 O9 f. q
  1292. ; process. Using -1 means no limit.6 [6 d3 [! ?$ N3 |
  1293. ; http://php.net/oci8.max-persistent
    # z* U  P5 R+ n4 _, A
  1294. ;oci8.max_persistent = -1
    6 ^# ?) I, Y  x1 t8 Q0 g

  1295. 9 x  T! O7 H9 q' N
  1296. ; Connection: The maximum number of seconds a process is allowed to1 Y! c" t% Y" V0 j) K& f
  1297. ; maintain an idle persistent connection. Using -1 means idle
    " c9 [4 `1 {" B- x1 [
  1298. ; persistent connections will be maintained forever.
    ) l0 Y" D4 l/ d; B& |( b
  1299. ; http://php.net/oci8.persistent-timeout
    & Z" p2 \8 `; u  k& W5 Z/ @. c9 d
  1300. ;oci8.persistent_timeout = -11 c2 p$ ^, D" G: ~* e8 x
  1301.   j5 }/ \* X3 l0 F0 ~- T& {
  1302. ; Connection: The number of seconds that must pass before issuing a" W, n0 w8 _) Z
  1303. ; ping during oci_pconnect() to check the connection validity. When
    , U6 z+ \2 ?7 D( Q8 P0 Z
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    & W( @# j! s7 y  F, F4 E
  1305. ; pings completely.
    / j) {& ]% n3 L5 D
  1306. ; http://php.net/oci8.ping-interval
    7 \2 ~4 t. {( m2 |6 U
  1307. ;oci8.ping_interval = 60
    / Q) ~$ E; F3 C
  1308. / i$ g0 @1 u! T: e5 i
  1309. ; Connection: Set this to a user chosen connection class to be used
    ' E. V  l  B+ m* c8 {/ {
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    & d- `" h, M# e# V
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
      X( @& ~9 Z9 `7 h; V6 Q
  1312. ; the same string for all web servers running the same application,7 V% w$ E6 ?! B. Y0 ~5 u8 A
  1313. ; the database pool must be configured, and the connection string must
    / |* p9 L1 A" h! b8 v
  1314. ; specify to use a pooled server.
    " a# L! L4 r. n$ Q# S
  1315. ;oci8.connection_class =
    ! e: p% h$ D9 a$ G2 d% }1 n% _

  1316. 0 T* T: i, X6 B9 o
  1317. ; High Availability: Using On lets PHP receive Fast Application
    3 C2 y6 w# @. \8 @& [0 z, j1 W
  1318. ; Notification (FAN) events generated when a database node fails. The* s) _; j' U5 W# ?" p
  1319. ; database must also be configured to post FAN events.
    3 |9 J, d* i- {; y6 H0 _! G
  1320. ;oci8.events = Off
    " G/ _  F& s5 |- ?0 `
  1321. 7 e5 V( G( w9 B* \9 I7 l- }
  1322. ; Tuning: This option enables statement caching, and specifies how' y  B" L2 U$ L, q# v7 P
  1323. ; many statements to cache. Using 0 disables statement caching.
    - w. H# k3 V: Q/ q* J9 w
  1324. ; http://php.net/oci8.statement-cache-size* r- Q/ @7 M6 Q# E+ M
  1325. ;oci8.statement_cache_size = 202 O9 G; x9 ?% Z! ]+ X2 M0 I( [

  1326. * X/ H8 q0 ^) Z7 l+ B& A
  1327. ; Tuning: Enables statement prefetching and sets the default number of9 p) r0 p7 W3 `
  1328. ; rows that will be fetched automatically after statement execution.
    3 F6 J5 `) A4 L+ T+ I2 x
  1329. ; http://php.net/oci8.default-prefetch
      |) |/ E! m" O$ H; r( M% g
  1330. ;oci8.default_prefetch = 1003 ]& a) z1 F+ W" K" y9 @7 a
  1331. 3 p  X' w0 }; A: T! \4 m) y
  1332. ; Compatibility. Using On means oci_close() will not close
    , r# O# d3 s% O; A$ F  M! B
  1333. ; oci_connect() and oci_new_connect() connections.
    & _% q# p  g+ i( t) o8 p3 u
  1334. ; http://php.net/oci8.old-oci-close-semantics
    # h+ ?2 K4 K4 V( V
  1335. ;oci8.old_oci_close_semantics = Off
    - e9 l- m( ~) }  D9 y  V  A' f

  1336. 8 d; r% L+ _1 E2 q6 j) b
  1337. [PostgreSQL]
    $ ?/ `0 W5 P( C5 c. G
  1338. ; Allow or prevent persistent links.+ o3 Z6 W2 l* ]8 o3 t& a# s; |# B; I
  1339. ; http://php.net/pgsql.allow-persistent
    , P/ X3 f$ ^! f: m4 ^
  1340. pgsql.allow_persistent = On4 J" N) ~5 A- I$ H, d

  1341. 5 T* X0 y1 y0 Z2 |: V6 M9 d
  1342. ; Detect broken persistent links always with pg_pconnect().
    9 m3 b) ~4 x7 n; F, U+ S
  1343. ; Auto reset feature requires a little overheads.
    ) L  `8 u( q. F& a8 ]
  1344. ; http://php.net/pgsql.auto-reset-persistent
    # _" K& P# q6 I) f) ]  z. W2 g7 [
  1345. pgsql.auto_reset_persistent = Off$ ~5 O! q1 k6 i* R

  1346. $ x% m/ Q2 k7 B2 l- C+ j, Q
  1347. ; Maximum number of persistent links.  -1 means no limit.) K5 Z" W1 b# a' \. H9 L
  1348. ; http://php.net/pgsql.max-persistent
    8 n* u: ~+ Y9 V: y
  1349. pgsql.max_persistent = -1: |% x( u( A% y! w. F! M# U$ Q

  1350. . \+ @' \5 c. a8 v7 o
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    ; F# ]- Z" Y8 N; m
  1352. ; http://php.net/pgsql.max-links
    2 z2 u; c" }' q
  1353. pgsql.max_links = -1, m1 C: _, v. f4 s& f) o
  1354. ' U" Q% L4 Q; v3 z# a  A6 u
  1355. ; Ignore PostgreSQL backends Notice message or not.
    0 {5 M0 L% s* ~$ p# \0 ?
  1356. ; Notice message logging require a little overheads.0 u7 z9 X- x# t
  1357. ; http://php.net/pgsql.ignore-notice! s! L5 ], [7 F
  1358. pgsql.ignore_notice = 0! y( u) ]- C8 N* g9 q$ o- ~4 B

  1359. * G( G0 d/ K6 w0 V
  1360. ; Log PostgreSQL backends Notice message or not.
    ! l4 n5 Y! M! A
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    1 }6 |- K1 Y4 q
  1362. ; http://php.net/pgsql.log-notice) ?7 l( D+ l- R0 D# u4 b( M
  1363. pgsql.log_notice = 07 o* B! x( E: K4 ^- d% U

  1364. 6 |$ L  L) `% [* F
  1365. [Sybase-CT]( e% P9 V$ ]( [  F  a: _
  1366. ; Allow or prevent persistent links.: Z2 w, B; u0 g9 g
  1367. ; http://php.net/sybct.allow-persistent* K: `0 q  s5 n/ M: J. k& B
  1368. sybct.allow_persistent = On, @/ }+ Q0 K9 H

  1369. ! c" E, A0 k$ t& E7 Z  L
  1370. ; Maximum number of persistent links.  -1 means no limit.6 }* w$ V0 a: s
  1371. ; http://php.net/sybct.max-persistent, f  s  }" a4 t" x* V" M7 |5 o
  1372. sybct.max_persistent = -1
    / @' Z8 d) ^3 k) m8 C

  1373.   ^" D8 S) z& Y; F6 n/ R
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    * S/ {7 m6 [; m. J2 N7 `! w
  1375. ; http://php.net/sybct.max-links9 [0 G" U( B3 k( ?& X6 x
  1376. sybct.max_links = -1
    7 X& u8 ?! E5 J& j/ R
  1377. # [4 S7 |  p& _7 q. [" \
  1378. ; Minimum server message severity to display.
    2 o% s' J3 n8 y+ q5 s
  1379. ; http://php.net/sybct.min-server-severity
    . P' C$ [: X5 V* G; i6 C
  1380. sybct.min_server_severity = 10
    ( ]- ~! H  ^; i' {7 t' E
  1381. ; O' K" N/ c, V2 e; D/ W- e8 z
  1382. ; Minimum client message severity to display.1 q0 k9 n! O; B$ n
  1383. ; http://php.net/sybct.min-client-severity+ G: Y- k" z3 z  Q" P8 G
  1384. sybct.min_client_severity = 10
    - ]& I5 O2 a; \/ |, p- m
  1385. , B/ X6 b) O& Y
  1386. ; Set per-context timeout- O+ V0 S& _; V
  1387. ; http://php.net/sybct.timeout, b3 p$ g: T  @' \" D/ [
  1388. ;sybct.timeout=
    ' t2 F# k/ y( H$ c- ^

  1389. * |+ c% g8 f/ m9 j
  1390. ;sybct.packet_size
    ; Z! `5 u0 j% l( u$ R$ i: U7 y. w
  1391. % X  Z' X1 W0 H4 K9 }# K3 V6 j
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.. ^3 d) V& a: s! ^& {% C% p. i
  1393. ; Default: one minute& }1 v9 ~) a" q- Y2 O: s7 a% t
  1394. ;sybct.login_timeout=
    , k1 p& A; T1 @( N
  1395. , I5 P  O, Z# o% a% j, D6 x
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.5 R* A8 {( ]) ~3 S
  1397. ; Default: none
    * x$ M' _% D  F' z* t+ X, V
  1398. ;sybct.hostname=7 i: z7 h7 [* [) {2 g
  1399. ! O+ G# F* ~; f7 R
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    ; A# \) D: a( e, O6 J
  1401. ; Default: 0
    1 E# i$ C- ]6 [/ p6 R% N( s0 E$ O
  1402. ;sybct.deadlock_retry_count=" U- [+ }6 v1 w0 u" P
  1403. ! d& N1 d& L; @
  1404. [bcmath]
      ?2 {( S8 r, t) u4 X# q" u
  1405. ; Number of decimal digits for all bcmath functions.
    ' D, {- w/ L7 R* `3 x/ b
  1406. ; http://php.net/bcmath.scale
    $ l) `' s9 z( E+ l' s8 P) O4 g
  1407. bcmath.scale = 0
    ) F" C* s2 z* y3 X. d5 L$ q

  1408. 0 P6 I8 ]" D' l* S
  1409. [browscap]7 C7 N" F7 M& g; Z' R
  1410. ; http://php.net/browscap
    $ V% {7 a4 U4 O# u1 x' u
  1411. ;browscap = extra/browscap.ini( L2 z; p, z/ o  F7 g
  1412. 5 b4 O! U% o' D- Q
  1413. [Session]
    , C4 B/ y/ A0 Z: {6 Y: O
  1414. ; Handler used to store/retrieve data.
    ) m/ }3 b' `% `5 H& o& F9 J
  1415. ; http://php.net/session.save-handler: w. q# L4 v: V: f! v7 {- ?  r1 \1 v
  1416. session.save_handler = files, h1 M- {9 b, J6 T$ c/ `! v

  1417. % X1 @! p9 h+ P7 Z( m
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
      i4 T: M0 N( _5 {
  1419. ; where data files are stored. Note: Windows users have to change this
    4 G5 y1 [1 _6 T" Y6 ]! T: D
  1420. ; variable in order to use PHP's session functions.
    5 m; C4 v6 W& h* j4 w' N8 S
  1421. ;
    2 |( c) |/ z0 q) s6 @: `
  1422. ; The path can be defined as:. p' O: G9 B: k7 M# s! ^8 ~
  1423. ;7 Y+ \: G+ i$ q3 o2 o
  1424. ;     session.save_path = "N;/path"
    6 Y+ |: {+ C/ `! F% `. P
  1425. ;
    5 B1 Z/ f8 B; ?; ~
  1426. ; where N is an integer.  Instead of storing all the session files in
    * u. }. T5 h$ F8 W( I# c
  1427. ; /path, what this will do is use subdirectories N-levels deep, and4 ~! h8 t0 X4 k. S5 A& B1 }
  1428. ; store the session data in those directories.  This is useful if- q; m( Y( [- e
  1429. ; your OS has problems with many files in one directory, and is
    7 B; M# }8 E! M7 t+ o4 ~4 ^
  1430. ; a more efficient layout for servers that handle many sessions./ m/ I- N8 q' M, h% r
  1431. ;' j( V/ u2 e) t
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    * ]$ n1 h6 H" \9 ~
  1433. ;         You can use the script in the ext/session dir for that purpose." q. u( Q$ u/ t8 x8 Y' @
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    8 ~" S3 n' ]1 m# Q1 O' l# x5 \3 g
  1435. ;         use subdirectories for session storage) W0 `2 n, g! i& s" e4 _9 b7 [
  1436. ;8 J1 S% r# P7 [/ ]
  1437. ; The file storage module creates files using mode 600 by default.
    . R/ K2 `6 }7 E! [
  1438. ; You can change that by using
    5 T' D+ E- q! K5 n
  1439. ;2 I7 j, K- v$ b
  1440. ;     session.save_path = "N;MODE;/path"! \# ]0 p8 i9 ]/ }5 T, K* x
  1441. ;. H  E% N* c3 q9 o$ ?
  1442. ; where MODE is the octal representation of the mode. Note that this6 k! y: O: O: e) z$ m4 w% _" U& {
  1443. ; does not overwrite the process's umask.
    5 a9 p1 l# P( ]0 W
  1444. ; http://php.net/session.save-path
    5 i, {3 O% R* Q. _- l
  1445. ;session.save_path = "/tmp"
    . p$ j. M. }9 U

  1446. $ \& F0 s' J" S! K/ \! X6 ?
  1447. ; Whether to use strict session mode.2 F- w8 K% [# _3 b
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate/ r$ W; ^0 B; y  {3 o7 G
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects  o- ^% Y: q8 W# G: t2 N3 V$ k
  1450. ; applications from session fixation via session adoption vulnerability. It is" I2 `+ w( s$ A$ c. J0 F
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    6 {2 t8 h8 v$ D* N. p
  1452. ; https://wiki.php.net/rfc/strict_sessions$ e# Y+ z5 s* V, }
  1453. session.use_strict_mode = 02 F- z: V0 [( N2 Z

  1454. # A  j6 G; n( u7 ?# e1 _
  1455. ; Whether to use cookies.$ K/ X9 g8 i  e0 n/ s
  1456. ; http://php.net/session.use-cookies; Z. ^2 O0 T6 u7 w( o  V& b# k
  1457. session.use_cookies = 1( r5 G1 x. m/ T7 O: o

  1458. - H  u; ]4 |, T
  1459. ; http://php.net/session.cookie-secure
    ' }8 n' K. s5 }/ T" b
  1460. ;session.cookie_secure =9 g/ _  E% j# k* x
  1461. / Q' `: }2 s: V' y- ?1 H' G; [+ M& C
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining) L+ \" @  d8 k
  1463. ; the session id. We encourage this operation as it's very helpful in combating4 `" f3 Y5 F* H% z6 ~/ o
  1464. ; session hijacking when not specifying and managing your own session id. It is
    0 r! k* ~' X. {1 e% G
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.$ D  I& l. Q9 s+ k$ ]
  1466. ; http://php.net/session.use-only-cookies) M# f" u; L) [  j3 I2 }
  1467. session.use_only_cookies = 12 a1 L2 b" i7 s" ?( f: q; v' J

  1468. ; p7 P+ `* o+ Z3 X& V/ f+ d  f
  1469. ; Name of the session (used as cookie name).
    , i1 i( C; ~! p7 J% {- j' `& k! e& i
  1470. ; http://php.net/session.name
    + H# Y* i3 ?. e' i
  1471. session.name = PHPSESSID& _. x7 Q/ V8 z3 T& M- M

  1472. 7 A9 b. q$ n. n% x! k1 Q7 c
  1473. ; Initialize session on request startup.+ m  p' \2 ?% v  U: ^7 D
  1474. ; http://php.net/session.auto-start
    , `1 h- N7 r, K6 L; l* r8 Z
  1475. session.auto_start = 0" k: }; j8 j, ~& O: _

  1476. 9 H: C* v: ?- p" B
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    * g: ?4 A3 M1 `; `) z, ?; H
  1478. ; http://php.net/session.cookie-lifetime5 z3 O; ^& _5 _& v( i4 g5 A; g
  1479. session.cookie_lifetime = 0- P" Y: F% A! E7 N/ X! d, _
  1480. 4 P3 ?5 e  V4 {+ F4 ?9 Q6 {
  1481. ; The path for which the cookie is valid.  p$ c# f/ {8 j& g
  1482. ; http://php.net/session.cookie-path# f0 I" P  u4 P7 z
  1483. session.cookie_path = /7 I' N' h% S+ \# o0 I9 d
  1484. . i2 Y' `# L. V2 e" ?9 y  d
  1485. ; The domain for which the cookie is valid.
    1 S! r4 H, P8 p* e
  1486. ; http://php.net/session.cookie-domain; L* K! G: o# W. V
  1487. session.cookie_domain =+ ~3 a8 g9 \/ i) U

  1488. $ S; Q  s2 D* b, ~% P
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.( N. f" `6 s6 m
  1490. ; http://php.net/session.cookie-httponly+ G+ I1 w' K, R. U+ D) m
  1491. session.cookie_httponly =
    . Q7 _. N: s+ w0 h  ~: K* ?

  1492. 2 S9 z8 {1 q! |5 S  D
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.3 B6 q9 q2 P# E# G5 X5 X
  1494. ; http://php.net/session.serialize-handler2 k' I! s; N9 }: z" L' i$ O* z
  1495. session.serialize_handler = php
    ) Z1 |( M0 h& r7 y% U! c0 b
  1496. 5 X0 N, a4 q5 L) e6 @
  1497. ; Defines the probability that the 'garbage collection' process is started3 P! o) q0 V9 X& J6 y, ?5 i
  1498. ; on every session initialization. The probability is calculated by using
    % _$ K: B$ H" D! d2 n5 y) l
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    4 @+ g1 H4 m3 X# P6 O
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    0 i7 |: h  C) W  A% M8 X
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    * r! a' z: R8 l/ K  s
  1502. ; the gc will run on any give request.
    + }4 F5 A! R6 D6 a: O8 ]$ a
  1503. ; Default Value: 1
    - e2 |2 q; Q3 y2 x+ ^6 S
  1504. ; Development Value: 1  k9 Z6 F& }6 e( b, w; M! g
  1505. ; Production Value: 1/ e6 x, H! F, p" p  c5 X
  1506. ; http://php.net/session.gc-probability2 {% Y% Y0 _, H+ }  j
  1507. session.gc_probability = 1
    , S' z& `  P% ^' `3 h% \

  1508.   B- K) W9 k9 c) ~6 _
  1509. ; Defines the probability that the 'garbage collection' process is started on every* x4 ]2 T* Z2 z% l" @6 F
  1510. ; session initialization. The probability is calculated by using the following equation:
    0 r: {7 B( i0 K  Q* ~/ H% }3 f" r
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and* N( Q# g0 Y( h, n7 W
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 15 B+ Q$ m/ Q+ x' }  h; O6 H4 _
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    2 j+ p" Y% K+ t. Z- q7 t8 r  y3 W9 Y
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    & ^( g1 q4 c% W) f
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,3 h0 G5 A; V3 m8 H
  1516. ; this is a more efficient approach.
    9 v! x8 c0 v- L! P7 D& \+ n
  1517. ; Default Value: 1005 m" j& N# I0 ^4 |; G
  1518. ; Development Value: 10002 a: Y9 s8 {( w! v1 \( c1 e
  1519. ; Production Value: 1000
    . ?# `7 `- J: p
  1520. ; http://php.net/session.gc-divisor
    % y; S& [" n7 F
  1521. session.gc_divisor = 1000
    $ y' R. \( b+ f  v
  1522. % U  ~/ R+ X+ Z; P4 |" p" }
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and6 h: I( t9 E+ l& u
  1524. ; cleaned up by the garbage collection process.
    0 k; ?7 S2 {6 `1 D3 d
  1525. ; http://php.net/session.gc-maxlifetime
    6 e- E$ A+ U( n# u  @% d
  1526. session.gc_maxlifetime = 1440! U9 F3 a. y  O" W' b! y+ e. O

  1527. % _5 a: k% Q9 l; Q% i6 H/ V
  1528. ; NOTE: If you are using the subdirectory option for storing session files4 u0 ?" O, G" a7 v+ i: e* f2 M# C
  1529. ;       (see session.save_path above), then garbage collection does *not*
    : ]! @  t. U: Q* ]" M
  1530. ;       happen automatically.  You will need to do your own garbage  m+ D, t+ t  t: d0 Y# `0 J
  1531. ;       collection through a shell script, cron entry, or some other method.
    ; [5 r) Z2 a) D1 m, l3 _* E
  1532. ;       For example, the following script would is the equivalent of
    0 x; s8 o5 z* w- D3 I
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    : ?; t, P$ Y) v  o2 `
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    & }% _' D. ^2 A
  1535. + J: U$ Y' r0 b  E
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.& V0 y7 t+ F, A
  1537. ; HTTP_REFERER has to contain this substring for the session to be7 H* E4 s3 s  g/ `& Z) O5 i
  1538. ; considered as valid.# ^; m% `" i& _2 V+ j. e. r% Y+ o) p
  1539. ; http://php.net/session.referer-check  ?0 }3 D1 {  _2 R1 N8 R* S" b6 C( s
  1540. session.referer_check =# q. Z. b4 N  C9 P# R

  1541. , G- |2 Z5 k# A* X7 H: g
  1542. ; How many bytes to read from the file.* [3 W. L. T" v2 R
  1543. ; http://php.net/session.entropy-length
    . N1 {9 {& L9 u# ]9 {( ]& X
  1544. ;session.entropy_length = 320 b- L; f6 p" {6 ^* E0 p8 I) a

  1545. " _* I, B( s9 Y3 O: e  h, c- _
  1546. ; Specified here to create the session id.8 u5 w8 r, u8 i6 W
  1547. ; http://php.net/session.entropy-file( F! S6 X$ D: M
  1548. ; Defaults to /dev/urandom
    1 t5 n! W4 W9 J5 K: Z/ B4 H5 o
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    / _2 h( j+ [' _' E2 @
  1550. ; If neither are found at compile time, the default is no entropy file.& g9 @& q# V0 h
  1551. ; On windows, setting the entropy_length setting will activate the
    0 c1 ~( w+ C4 B* o3 W: ~. \
  1552. ; Windows random source (using the CryptoAPI)' g( ]! S/ Z& x/ G( S% Z+ d1 K
  1553. ;session.entropy_file = /dev/urandom
    4 Z- ~4 j- I$ \3 D
  1554. 5 E) ^0 ~# m& t- p8 V" I4 k' W) g2 E
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    : N: v" i% H5 d" a" t9 L9 ]
  1556. ; or leave this empty to avoid sending anti-caching headers./ o# {6 \* P9 N. K8 c+ H% [
  1557. ; http://php.net/session.cache-limiter9 i6 W! V  I# C& t- G' K" l
  1558. session.cache_limiter = nocache/ O; t7 w4 o& I+ |, O2 s

  1559. 1 m- {0 h: j; ~- |! p5 n! p# s; ~: F
  1560. ; Document expires after n minutes.
    0 E! W6 Y, Q; C
  1561. ; http://php.net/session.cache-expire2 ~" m6 @: c/ C8 z! a+ |
  1562. session.cache_expire = 180. c8 E, n2 R5 x5 Y. I

  1563. 5 ^$ s6 G% q8 v8 W7 ?, A: G, ~
  1564. ; trans sid support is disabled by default.+ c* |0 o- {$ c' Z  I# d3 P. {7 i" U
  1565. ; Use of trans sid may risk your users' security.. R* S1 n2 {7 v6 W) w
  1566. ; Use this option with caution.' }# U9 m2 q" d. }5 p
  1567. ; - User may send URL contains active session ID" g3 U6 b  {6 `4 N# s! _
  1568. ;   to other person via. email/irc/etc.
      ^1 H& a( p8 f! W, f) P
  1569. ; - URL that contains active session ID may be stored# ?3 G/ g. |$ i) r6 z0 _, a7 K
  1570. ;   in publicly accessible computer.% ^6 ~: [; S4 w. B
  1571. ; - User may access your site with the same session ID
    * ^/ H1 g5 n% C
  1572. ;   always using URL stored in browser's history or bookmarks.
    3 g! H0 r3 \8 G  C% o- |
  1573. ; http://php.net/session.use-trans-sid5 ^/ a( Z5 L  @/ f7 B
  1574. session.use_trans_sid = 09 q6 s1 R- [6 G) T1 y- j- c7 @, f* A
  1575. 4 c. _- j; e; h: t9 S
  1576. ; Select a hash function for use in generating session ids.
    2 Z, f; `8 |' P, M
  1577. ; Possible Values
    / P/ N9 ^3 n4 p" l" I! X
  1578. ;   0  (MD5 128 bits)
    , G) {' c. {* k' C$ C- H
  1579. ;   1  (SHA-1 160 bits)' D! J4 e. O/ B" }8 K2 h) R
  1580. ; This option may also be set to the name of any hash function supported by
    ; C; m/ g/ B; z0 O* m. n, s
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos(): Y7 A# U0 [+ f+ _; ^2 i
  1582. ; function.
    " Q1 _3 @- |0 q$ [0 }0 |1 g
  1583. ; http://php.net/session.hash-function
    , V8 P+ p. W+ r; b; Y$ C5 Y/ @: s; z
  1584. session.hash_function = 05 Q( ~- m7 O( L- Y, d
  1585. . a  x& U. `- o9 T2 d7 {& ?
  1586. ; Define how many bits are stored in each character when converting
    9 P; _9 e0 ], R! v. f( I
  1587. ; the binary hash data to something readable.* F0 k; A# K% v" X* |) }) d$ K
  1588. ; Possible values:
    ( u# }, L. O8 B
  1589. ;   4  (4 bits: 0-9, a-f)
    & X( }+ s0 g9 }8 ]/ W. V8 b5 t/ v
  1590. ;   5  (5 bits: 0-9, a-v)% `4 V, D5 O/ }6 O0 Q
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")% D! z$ ~7 \* M% \, `; a; W
  1592. ; Default Value: 4
    " t$ H+ ~' X$ D. G7 ^
  1593. ; Development Value: 5& i" q3 G8 W- B7 k7 \0 U& C7 r( p3 R
  1594. ; Production Value: 5+ g' A, N6 P4 Q. Z$ K8 n# y+ x
  1595. ; http://php.net/session.hash-bits-per-character/ w0 [. G- r- `! w9 }
  1596. session.hash_bits_per_character = 5
    * ~& x+ _4 K, Q5 k; r! k( C& H
  1597. & d3 g! d7 m- B. y- c: Y: p7 P
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.; O9 g$ D. u% @) z0 {% b2 L
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    ) l  `2 y6 v. T/ J/ M! Z5 m
  1600. ; add a hidden <input> field with the info which is otherwise appended' Y* F0 i9 b. j+ M5 R5 i
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    . j' A8 O. E1 ]$ Y4 M4 @. m& w
  1602. ; Note that all valid entries require a "=", even if no value follows.9 Z2 M  B' W/ O2 d
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="6 p% T/ D$ p0 [
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ) Q. l7 F: g* ~+ A9 J" g
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry", n6 K% ?" m2 w1 b
  1606. ; http://php.net/url-rewriter.tags. e- R; P9 L* v1 y1 S
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    5 M0 w  \7 a$ n0 q2 \+ ]$ E) w3 c
  1608. 1 o8 r% ^+ J) @9 ]; c) @; E9 L
  1609. ; Enable upload progress tracking in $_SESSION
      C; E4 k; n! h! _
  1610. ; Default Value: On
    6 U2 _& G! ]& t& x+ ~
  1611. ; Development Value: On
    ( V7 g  q6 \# s+ l3 |
  1612. ; Production Value: On, `+ ^, ?( b& q$ t5 m3 \
  1613. ; http://php.net/session.upload-progress.enabled
    3 H5 x/ i0 q7 P' a% c! g
  1614. ;session.upload_progress.enabled = On4 X& g7 E2 u+ [6 H" u: a
  1615. 2 d& p/ d2 ]& V( J
  1616. ; Cleanup the progress information as soon as all POST data has been read) o3 l) T4 F1 ^
  1617. ; (i.e. upload completed).3 u2 l- H2 ~2 s
  1618. ; Default Value: On6 ~  y; J3 ^6 k. c- Z' s$ q
  1619. ; Development Value: On7 e3 j1 l4 I; F# a3 k- y1 W
  1620. ; Production Value: On
    3 ?9 F+ \. v5 ^
  1621. ; http://php.net/session.upload-progress.cleanup
    ( n" @9 ~$ e0 L+ v6 |3 `
  1622. ;session.upload_progress.cleanup = On
    5 ?3 v* J, Z. S! \" x

  1623. % s. ]5 u9 G$ T. Q  w
  1624. ; A prefix used for the upload progress key in $_SESSION% t) x4 l2 U* Q* W  b! f6 M
  1625. ; Default Value: "upload_progress_"
    5 U/ ?0 \& f( d. P) A3 a( e
  1626. ; Development Value: "upload_progress_") b! @* m$ _+ c" H- V% B8 I; _. j
  1627. ; Production Value: "upload_progress_"& m% ?- r/ s+ K3 i2 W$ i0 {8 T
  1628. ; http://php.net/session.upload-progress.prefix+ \! {/ M5 c- W0 d1 ^
  1629. ;session.upload_progress.prefix = "upload_progress_"0 K- V" p7 Z( F; i: q
  1630. 5 K- T6 u9 E. {' A! k3 L3 P6 X
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    & H1 o4 S( M+ F0 F. M8 T
  1632. ; containing the upload progress information7 I7 U# w1 z( d
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"! L' O1 P5 J$ m  s
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    % w' b2 S" Q1 m, q2 Y3 P& K
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    $ k8 `* \8 M5 t  `  K
  1636. ; http://php.net/session.upload-progress.name" t( r  d7 F% Z4 J: }7 H" e
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS": Y9 v: Y/ j* e6 X; o6 `( E( D

  1638. 4 e' Q: K7 i  p( Y2 f, P8 c
  1639. ; How frequently the upload progress should be updated.
    ! j6 K1 @0 G9 R* M* x. l
  1640. ; Given either in percentages (per-file), or in bytes
    $ _  y2 W9 D3 m  |8 h; {" S) A
  1641. ; Default Value: "1%"0 X+ Y- O9 R0 v' Z5 `3 _# D" r
  1642. ; Development Value: "1%"- r1 J, z/ c. v4 G5 B* `! i' \
  1643. ; Production Value: "1%"# o# G/ D" |! P( [
  1644. ; http://php.net/session.upload-progress.freq0 `" [* ?+ F7 a5 K. U
  1645. ;session.upload_progress.freq =  "1%"
    : |- Q/ W4 k2 }3 `' S* \) A

  1646. 3 Q$ [- {5 E! C9 N% a" w2 A
  1647. ; The minimum delay between updates, in seconds4 Y% p1 q4 G% V6 q; y  _, h
  1648. ; Default Value: 1
    - X2 G7 l7 }/ P0 r% A" r
  1649. ; Development Value: 1
    $ a( p0 {% _  ]6 O' |
  1650. ; Production Value: 1
    3 x# K8 F# S- ~* K4 I
  1651. ; http://php.net/session.upload-progress.min-freq# K3 @# O/ z0 L2 w
  1652. ;session.upload_progress.min_freq = "1"
    ! p4 `& Z5 k9 {! d
  1653. : A" ^  V7 Y2 x; E; ~! e/ M) ?% f
  1654. [MSSQL]0 S5 f6 }3 J( M9 x
  1655. ; Allow or prevent persistent links.
    0 f  W: m! f4 p
  1656. mssql.allow_persistent = On1 u. e$ b1 R8 a6 U- o; U

  1657. & e1 v2 L' \. {3 e) L
  1658. ; Maximum number of persistent links.  -1 means no limit.
    % Z0 X8 }1 z9 U% A: G$ S# W
  1659. mssql.max_persistent = -1) q% a! j5 e2 s
  1660. ! i7 w' P+ o+ q0 `
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    8 E/ z! K8 Q4 h8 s0 C
  1662. mssql.max_links = -1
    5 I( C. n3 _% l8 j+ |
  1663. ( O# ^6 A7 S3 N" u( W
  1664. ; Minimum error severity to display.
    / Z: {. _$ u  T$ }8 f
  1665. mssql.min_error_severity = 10
    1 f9 S0 p# I+ Y% l$ h

  1666.   ^7 ~! k9 k* A5 o7 j
  1667. ; Minimum message severity to display.7 W' h# P6 s' Z, C
  1668. mssql.min_message_severity = 10
    $ K4 N" H  Q/ K

  1669. 6 V: e) _$ |' z* A7 G6 g
  1670. ; Compatibility mode with old versions of PHP 3.0.0 N9 i* x2 H% }* m/ V
  1671. mssql.compatibility_mode = Off3 c/ J! [8 T. g
  1672. 4 J, f" k/ t3 R+ o% X. A; W
  1673. ; Connect timeout
    + P7 ~9 W) M8 N8 g
  1674. ;mssql.connect_timeout = 5
    2 j5 J" P  W# s
  1675. 3 t+ \1 m# L- s: O5 Q- g6 X
  1676. ; Query timeout
    5 q$ N# j8 V% V& J
  1677. ;mssql.timeout = 60
    # N) w8 g) w- m  G% I+ X

  1678. ( i" ~* d, w. f
  1679. ; Valid range 0 - 2147483647.  Default = 4096., a! e. l; M/ }; {
  1680. ;mssql.textlimit = 4096
    6 A+ {  H) k9 C1 F% P( ]4 c0 u$ K
  1681. 7 J+ f+ c) d) f" b- \3 G+ M* a: Y% z  x
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
      d2 p2 ]: A; c/ P2 d* l
  1683. ;mssql.textsize = 4096
      x+ j- S8 Z) }" _
  1684. 4 q: b) Z+ T5 n+ W% k: M% c& \
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.( h& x3 g" n& ~) k$ Y- D* i. ?9 D
  1686. ;mssql.batchsize = 01 }% U3 M0 ~$ B7 c  k4 c2 N) T/ ^
  1687. 3 ^7 T( j' e2 @6 U& X! I" @! ]& d: C
  1688. ; Specify how datetime and datetim4 columns are returned5 N5 v+ z  b/ i4 i% u9 E# B3 N
  1689. ; On => Returns data converted to SQL server settings
    0 ?: s. f$ T( ?0 Y
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss9 f* L: n8 I1 U
  1691. ;mssql.datetimeconvert = On
    6 K, W2 [2 D; _/ i& l" b5 h
  1692. 8 J) o+ Y2 q# \
  1693. ; Use NT authentication when connecting to the server
    . C: C% i- I/ T' b8 f2 R
  1694. mssql.secure_connection = Off
    ) k+ y3 t" K& T" M$ i9 F' [
  1695. $ ], J$ X# L9 z0 x0 J, Z- I# U
  1696. ; Specify max number of processes. -1 = library default
    3 H8 ^9 n0 T& M5 S3 _2 v) C0 C
  1697. ; msdlib defaults to 25" U0 k- w5 Y' y0 }
  1698. ; FreeTDS defaults to 40967 ^" G3 x, ^2 ?# G5 d7 U
  1699. ;mssql.max_procs = -1
    3 P% Q3 s& S: D( a9 t4 N
  1700. 2 B: \9 H6 c( Q8 t5 ]
  1701. ; Specify client character set.
    " e# U& Q9 I* m& U9 t" ?
  1702. ; If empty or not set the client charset from freetds.conf is used& u- i: G( I/ X2 v0 |/ _$ o$ N
  1703. ; This is only used when compiled with FreeTDS3 G8 f: K. K# ]8 [8 [5 t0 R# f
  1704. ;mssql.charset = "ISO-8859-1"/ m! i$ _" I6 ], Y7 G6 u
  1705. ! r0 x/ u5 L/ n% k
  1706. [Assertion]. }+ E* b; a! ~4 r2 B) P
  1707. ; Assert(expr); active by default.* j7 J, C7 F# \/ ^. q; D' J1 H/ W
  1708. ; http://php.net/assert.active
    8 n1 o+ G: L: _, g* G4 u
  1709. ;assert.active = On
    6 J5 Y5 N/ X* v0 r0 ?( C
  1710. ; N+ I" r" T) n4 @5 T$ V/ y
  1711. ; Issue a PHP warning for each failed assertion.% M- d8 E$ D3 }
  1712. ; http://php.net/assert.warning
    9 R! [0 [2 {. m  G+ S  N/ o, n7 S
  1713. ;assert.warning = On
    . T% N9 H. d& V. S

  1714. 3 Z" X/ v- u) Q# G$ v
  1715. ; Don't bail out by default.) ?& ~5 ?& `+ U  k: X
  1716. ; http://php.net/assert.bail) k! b; l" ^3 |* @* o/ V- T6 I
  1717. ;assert.bail = Off
    5 L3 P8 E7 h9 e! n1 R! m" l( c

  1718. # s& Z( f3 _* ~
  1719. ; User-function to be called if an assertion fails.
    ) J. u0 m, A- U  p+ w: j
  1720. ; http://php.net/assert.callback
    2 x7 z' ?: d% ~+ O( h/ n' o3 Z
  1721. ;assert.callback = 0
      \: N) p6 x' B* l. ]. V

  1722. % a) z3 |5 K, R7 J' A0 i' A
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    0 u4 F' [) `8 y2 `/ v% e8 Y' w
  1724. ; error_reporting(0) around the eval().
    6 d2 a0 b$ o( m% u* I
  1725. ; http://php.net/assert.quiet-eval
    * ^" i6 V  R7 d% L; [2 Z& ]: v# X
  1726. ;assert.quiet_eval = 0
    " i( @5 ^. g4 W' m* d3 C( X4 I/ ?
  1727. 9 D: r3 Y/ v1 y. D+ g6 |/ q' n0 j, g
  1728. [COM]
    $ @2 Q  s5 \: I
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs* n: w# o( x) {
  1730. ; http://php.net/com.typelib-file
    ! d/ |  a, e1 {/ L. W7 w6 }
  1731. ;com.typelib_file =- Z7 d1 s. J. I3 A* }

  1732. ; K- s0 v6 }5 \# M4 s' f* O
  1733. ; allow Distributed-COM calls  S; q9 T1 z( U- t& w% J1 N7 D* }
  1734. ; http://php.net/com.allow-dcom1 \* _7 ]4 m& f2 ]3 a
  1735. ;com.allow_dcom = true6 n6 ^/ I+ T0 y9 c

  1736. / [6 }. x0 i- R$ Z. q  Z9 v
  1737. ; autoregister constants of a components typlib on com_load()! i' D( h! z& H( V# W: \2 `& k
  1738. ; http://php.net/com.autoregister-typelib' a5 Q! J+ D2 G/ R' a1 r
  1739. ;com.autoregister_typelib = true. ?. Y7 S' {6 [- G
  1740. 8 J) B. ~! M9 q
  1741. ; register constants casesensitive/ _6 ^8 j: m1 g* _
  1742. ; http://php.net/com.autoregister-casesensitive0 f& h. j9 U2 ^  N
  1743. ;com.autoregister_casesensitive = false
    7 [' O' m2 l) f4 H$ X, v4 X
  1744. * @7 b" n/ R9 d# G' R# d. V9 F! X
  1745. ; show warnings on duplicate constant registrations
    + ?0 O7 E- L' w' V
  1746. ; http://php.net/com.autoregister-verbose1 T5 C: O. b- F0 U
  1747. ;com.autoregister_verbose = true* u/ l% v& f1 G; _

  1748. $ j* ^, j  g$ K$ X& c3 R9 N
  1749. ; The default character set code-page to use when passing strings to and from COM objects.. K/ p% o: g( w. L7 ?2 D5 v
  1750. ; Default: system ANSI code page
    + t9 ]$ c9 G( J  h
  1751. ;com.code_page=$ z# `; i$ l0 p+ ?! b3 h6 r( j2 H# \
  1752. ) q! G. D7 B1 ~' b
  1753. [mbstring]
    $ ]. O& F) a# f8 t7 z6 G
  1754. ; language for internal character representation.& g- P; D+ K( g! W1 R+ r. k' n, u8 L
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
      j- [; M# F4 p
  1756. ; http://php.net/mbstring.language9 K5 Z1 Y& V3 D0 A4 D9 H7 n
  1757. ;mbstring.language = Japanese
    : y/ b# J  G5 d: @1 Q, ]- o2 e

  1758. 1 i5 X; T7 P7 U: W* V# U
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.+ l% x! j! ^7 T  X3 g& X1 }
  1760. ; internal/script encoding.
    , Y! A1 M% A5 h2 p2 X; P- ?# l8 ?
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)' e6 S( y8 }' y4 ?7 L% Y
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    " M  U4 E' ?4 j- \$ o( ?
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    ' L7 k8 M4 Q7 d3 I2 R
  1764. ;mbstring.internal_encoding =$ `" e9 i% y( d3 ?# e
  1765. & m1 O# r8 y. K: n
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.5 @7 z& B; f, k" D1 w0 J' R
  1767. ; http input encoding.
    6 O: D3 p! X* Y) r6 W
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.# o/ f( ]( K6 J9 v) U
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.7 y; ~6 b& T# o5 e- ^
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    - I1 B( {7 x2 x) Q
  1771. ; http://php.net/mbstring.http-input
    $ i  J+ k% I) Y
  1772. ;mbstring.http_input =6 W! j# w. ?; `5 _
  1773. # Q# O' T$ v5 ?' ]9 m% K7 i
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    + O! y; G1 s8 o* L
  1775. ; http output encoding.
    ; |5 D" B  ?3 t4 j7 y3 n
  1776. ; mb_output_handler must be registered as output buffer to function.
    9 v" }3 c  J- J4 c" I, G
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    4 O% h, J$ ]& |* [  ?& o  J4 Q
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    5 J" K& F0 \# K1 a$ a
  1779. ; To use an output encoding conversion, mbstring's output handler must be set* b# w! Q' t$ k, j# k
  1780. ; otherwise output encoding conversion cannot be performed.
    6 P+ q. u3 I! x' J7 t
  1781. ; http://php.net/mbstring.http-output
    3 T- r9 L" N: I: o' |( i
  1782. ;mbstring.http_output =2 F' {; V9 c6 E

  1783. 8 x" S( R4 q6 p6 J0 x
  1784. ; enable automatic encoding translation according to% Q! g/ j/ C* h3 f. Z& v% ~& ?
  1785. ; mbstring.internal_encoding setting. Input chars are
    8 @1 U/ d( w  @+ {
  1786. ; converted to internal encoding by setting this to On.
    1 F6 m5 \  @2 O; j' K5 k# U, C& h
  1787. ; Note: Do _not_ use automatic encoding translation for
    5 @2 f, }0 n! m4 D! s
  1788. ;       portable libs/applications.1 `" W  ~0 N! a/ m7 y" ^. O6 }1 a
  1789. ; http://php.net/mbstring.encoding-translation
    . a3 K8 J  {8 o2 c4 f
  1790. ;mbstring.encoding_translation = Off9 Q% e8 F( R, U6 V6 F8 J6 w( P

  1791. - _" V( W( G$ u( o9 Z3 P
  1792. ; automatic encoding detection order.8 Z0 G9 Z5 K0 A4 x; m  r# F
  1793. ; "auto" detect order is changed according to mbstring.language4 b  f( r& I" W0 v" K' v
  1794. ; http://php.net/mbstring.detect-order, `/ @/ W% g) m5 B9 u4 m6 q
  1795. ;mbstring.detect_order = auto
      N' W7 v# H+ F, z& P
  1796. 3 Q- o$ o7 J) F8 |3 {9 q2 l
  1797. ; substitute_character used when character cannot be converted1 S! N7 s$ @, L! B( O$ H
  1798. ; one from another
    " T1 y( h* e5 {" s7 H6 ^
  1799. ; http://php.net/mbstring.substitute-character
    0 V# V) U# z' `# ^: k, K# A
  1800. ;mbstring.substitute_character = none
    " ]$ Q( `8 q! Y7 {$ _1 O. f6 V

  1801. $ i5 \. o' g2 h% @2 O( q
  1802. ; overload(replace) single byte functions by mbstring functions." r. Q! k, _. ], k7 l6 u6 q4 k
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),6 z  e$ c! @7 ?* B
  1804. ; etc. Possible values are 0,1,2,4 or combination of them." U- P( l0 a1 h: B- V
  1805. ; For example, 7 for overload everything.1 m4 w+ c# {( M. b  n. m
  1806. ; 0: No overload
    / s. J. G3 P. n( M
  1807. ; 1: Overload mail() function
    7 Z, y8 g5 ]( Z) A; T+ X/ v  ]
  1808. ; 2: Overload str*() functions5 @) z1 W% K2 N. _5 |' O
  1809. ; 4: Overload ereg*() functions- l/ s: ?  ~( p0 @) }0 H
  1810. ; http://php.net/mbstring.func-overload
    , x! n* j+ D; h$ Y. F, Y
  1811. ;mbstring.func_overload = 0
    6 ~4 z/ O+ \+ e- I6 j5 D2 Q

  1812. ' q$ i1 X2 n9 a! P1 H2 p! ]" d% x
  1813. ; enable strict encoding detection., L+ q, S2 A  I/ r( u
  1814. ; Default: Off
    2 [7 o" j: V4 \
  1815. ;mbstring.strict_detection = On
    3 O% F5 F( T3 g/ L
  1816. ; M; ]% y, p! n" ]
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()8 @; M) l* x3 Q. T. M% b
  1818. ; is activated.
    ) U7 T/ I! O; b  w% p: B
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)+ T, v$ h$ ~$ k4 {1 g
  1820. ;mbstring.http_output_conv_mimetype=# w: i- ~- b# _
  1821. 8 }; T; [* V3 b/ U3 J' h/ o
  1822. [gd]
    6 u" [8 w  c( _7 W
  1823. ; Tell the jpeg decode to ignore warnings and try to create
      ^% {) C) N5 c3 t+ H
  1824. ; a gd image. The warning will then be displayed as notices6 I/ P' r8 X0 c
  1825. ; disabled by default
    % u% A" A6 F, a' {/ {& I5 l3 d
  1826. ; http://php.net/gd.jpeg-ignore-warning
    " O4 Q3 y# `* }3 A% b- o* x6 j
  1827. ;gd.jpeg_ignore_warning = 0- `+ f2 M1 @# T0 B* k

  1828. 5 o( x+ m4 }+ b4 A6 z* E
  1829. [exif]; Q: c3 I( S# O2 S( }; }$ T
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    3 N/ _6 U3 k1 `2 `
  1831. ; With mbstring support this will automatically be converted into the encoding: E( {/ v) K" G4 [( v7 F1 o
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding7 `0 T* t/ F, l, K+ d" R/ w: S
  1833. ; is used. For the decode settings you can distinguish between motorola and7 ]2 D4 f1 a5 Z& o, k
  1834. ; intel byte order. A decode setting cannot be empty.
    ; E4 j* {0 n, r3 ?& F
  1835. ; http://php.net/exif.encode-unicode' u' _( V4 M& q9 E  j2 |% Z
  1836. ;exif.encode_unicode = ISO-8859-15! r1 o" E0 y( Q

  1837. 7 R9 m2 l* F+ h0 O( {$ P
  1838. ; http://php.net/exif.decode-unicode-motorola
    . u+ K5 I) H, o: F. y: p
  1839. ;exif.decode_unicode_motorola = UCS-2BE( f2 Z0 q) b& s) b9 k9 T+ I
  1840. 5 p) k2 I1 G: {' d+ v5 a* i
  1841. ; http://php.net/exif.decode-unicode-intel: N9 m5 s0 U  K2 I+ J5 r
  1842. ;exif.decode_unicode_intel    = UCS-2LE( p3 N# x' G& i: y1 T" S

  1843. 8 o& D$ D! M: \  d
  1844. ; http://php.net/exif.encode-jis' G% l9 s; m0 H2 F: H
  1845. ;exif.encode_jis =
    % y, V; X3 X  e
  1846. ; v' l) _. J' o+ I# U" T* m/ j7 m% W
  1847. ; http://php.net/exif.decode-jis-motorola- X' s7 Y9 T4 H3 f$ f
  1848. ;exif.decode_jis_motorola = JIS! k3 J  z3 ?  H, G6 E

  1849. # P% ^* N$ _  e. `
  1850. ; http://php.net/exif.decode-jis-intel
    : C# f- _, S0 S* ~( x8 o
  1851. ;exif.decode_jis_intel    = JIS
    5 a0 y+ t  M8 y0 R/ t. Z

  1852. + J/ w  Z& D4 y- N4 v5 h; J0 d- E( Z
  1853. [Tidy], j$ L5 o1 ~" y: e
  1854. ; The path to a default tidy configuration file to use when using tidy
    0 q  e- G+ b% G* p
  1855. ; http://php.net/tidy.default-config
    2 s" g) M$ f, P  `5 y
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg* I; V. V- i' w  K; P  O

  1857. + O3 J, f) B! t) J* Q8 l5 F
  1858. ; Should tidy clean and repair output automatically?& i: m8 V; I, d# k- ]8 s8 d
  1859. ; WARNING: Do not use this option if you are generating non-html content
    ( T  z" F9 o0 y; H) Q
  1860. ; such as dynamic images
    7 A  U+ P" U9 }4 R1 R! ^: n1 x& c5 f
  1861. ; http://php.net/tidy.clean-output+ Q& I- n0 W1 {& V% X/ z
  1862. tidy.clean_output = Off
    , _/ E( W1 \% t: |1 I& G

  1863. 3 f. ~. }. a; Z1 }
  1864. [soap]' Z+ d% S  t- N+ u5 Z+ Y. R3 p
  1865. ; Enables or disables WSDL caching feature.9 h5 H8 ?2 Q  s( @# s% Q
  1866. ; http://php.net/soap.wsdl-cache-enabled  m9 B5 i5 u7 t5 R! r
  1867. soap.wsdl_cache_enabled=1% E3 E0 C+ c3 _4 V" C) k& W

  1868. $ m, ~; g: }* V
  1869. ; Sets the directory name where SOAP extension will put cache files.' M2 `- ^" [2 c$ V$ D
  1870. ; http://php.net/soap.wsdl-cache-dir, r  b; _; r% e# o6 c
  1871. soap.wsdl_cache_dir="/tmp"
    , S8 Z  v% ~4 m" o& W
  1872. * w5 m1 D9 {0 |! N
  1873. ; (time to live) Sets the number of second while cached file will be used
    - _# b7 a7 Y7 W5 \  p! \# B/ X
  1874. ; instead of original one./ M5 V% j. T- ]5 x
  1875. ; http://php.net/soap.wsdl-cache-ttl  N: z% P1 U9 f$ \/ n
  1876. soap.wsdl_cache_ttl=86400* Y5 [% ^6 L$ O7 e% @5 o" Z

  1877. ) x- y$ q0 h* f! R
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    - e- i& Z" O# ^0 ~
  1879. soap.wsdl_cache_limit = 51 E% Q! h+ G3 r" G! n# {

  1880. % U3 N4 T. h! }1 [5 `8 {
  1881. [sysvshm]
    9 q1 ^( |, j& p% D1 L9 k3 T6 S
  1882. ; A default size of the shared memory segment
    7 R1 m8 C* _! P! s
  1883. ;sysvshm.init_mem = 100009 e: G. ?% j6 Z. l6 c
  1884. 6 C/ |  ]6 Q4 |7 c% \! J
  1885. [ldap]* I7 C: l8 O9 F1 u/ |2 T, C" p. R3 Y
  1886. ; Sets the maximum number of open links or -1 for unlimited.
      q6 {4 j9 Q* s& r) H- Y/ X% m: y
  1887. ldap.max_links = -1
    & l+ g9 D$ x1 W( Y

  1888. % n9 ^4 d+ L' A$ A4 w5 D3 e
  1889. [mcrypt]# i# L+ m) p+ }* V
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open% p- o# Q8 A) C4 g2 T

  1891. 4 P' \/ S$ i; B! J6 ?! E
  1892. ; Directory where to load mcrypt algorithms
    4 X9 _6 x/ E9 F% Z6 Q% T6 Z+ Y
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    : O" i0 P' y( l+ [/ q, c2 ?6 R
  1894. ;mcrypt.algorithms_dir=
    & D/ q; F/ A6 a  A. S

  1895. ( q9 k; g7 i2 s
  1896. ; Directory where to load mcrypt modes6 b) ]1 F$ L7 ?& W; l
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt): Y2 @, E8 [. H4 h9 y
  1898. ;mcrypt.modes_dir=
    2 g) x0 U2 a5 h4 r( i1 d: i0 o

  1899. 3 \( @- s. j$ s% J! V- Y' P
  1900. [dba]# \# _; Y5 S, m6 I
  1901. ;dba.default_handler=$ b1 m1 c5 z. b$ {
  1902. ( d4 d/ S( F# Y4 ?* q/ j$ B
  1903. [opcache]
    $ v) {- Y3 ~, t* ~9 F9 u- `
  1904. ; Determines if Zend OPCache is enabled
    9 h& {! A* n9 T1 {, L2 @
  1905. ;opcache.enable=05 j2 f2 Y4 {' w* N5 G* ?2 S( o: ?
  1906. 0 a- Z' S# N# f8 q" B0 d: d" J
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    8 {. p0 X* @9 m
  1908. ;opcache.enable_cli=0+ L% K  m, n% W* K! V0 E3 Q

  1909. + Z& ~) p7 z9 ~. M
  1910. ; The OPcache shared memory storage size.
    6 b9 L& z$ V. W- W8 y
  1911. ;opcache.memory_consumption=64
    ' t& o0 `4 u1 P1 M5 s

  1912. 7 C" M$ ]) Z: q  W
  1913. ; The amount of memory for interned strings in Mbytes.
    6 G. ?6 S4 H5 r" f3 f
  1914. ;opcache.interned_strings_buffer=42 ~8 T# d6 W5 U/ l
  1915. # l' n* o& b" X+ }
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    * o3 }; ?  G5 g" n
  1917. ; Only numbers between 200 and 100000 are allowed.: i0 v% [8 y( @9 R& [" a. P
  1918. ;opcache.max_accelerated_files=2000
    6 L8 ~+ N9 t3 ?& c

  1919. 4 |3 X1 W) M! [6 U
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    ! Q+ O: V& j1 P4 d
  1921. ;opcache.max_wasted_percentage=5/ [( L8 {# [1 L! Q* k5 q. U
  1922. , m7 |( K3 H1 Q8 z- T& `6 J7 J, J
  1923. ; When this directive is enabled, the OPcache appends the current working
    2 h! V. V6 Z, v0 ]6 |  M" q9 W
  1924. ; directory to the script key, thus eliminating possible collisions between# B: @! T7 g& E# e/ h8 {
  1925. ; files with the same name (basename). Disabling the directive improves4 z# K* w& h5 Z5 O! U
  1926. ; performance, but may break existing applications.9 T2 Y  V$ v! x
  1927. ;opcache.use_cwd=12 a8 A$ ]2 p: n2 u3 C- _. S5 J/ b/ {

  1928. . Z& U- \1 \' f5 \4 p" j
  1929. ; When disabled, you must reset the OPcache manually or restart the
    & b" \% u& f7 v# H6 h5 @( J+ _7 S
  1930. ; webserver for changes to the filesystem to take effect.
    . J3 ]  l; E( e+ _6 P
  1931. ;opcache.validate_timestamps=1
    4 d, n" T) O) i7 r

  1932. 8 w. ~9 x3 F) r5 x* z
  1933. ; How often (in seconds) to check file timestamps for changes to the shared9 m& H% u7 d' _* o6 _8 F5 h
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    : ?3 O4 f* f% x, L+ f7 ~2 m
  1935. ; once per request. "0" means always validate)
    % K1 y: B" Z& @9 Y
  1936. ;opcache.revalidate_freq=2- W; s3 L8 l( c& t8 ?  x( {
  1937. 6 b: I8 H' s  ]! {
  1938. ; Enables or disables file search in include_path optimization
    ! \6 v9 d4 q5 |+ u2 t$ Q( T
  1939. ;opcache.revalidate_path=0/ H* A$ K$ T/ c6 ?- F- C
  1940. ( L; i6 r  W. A- Y( m4 K( I2 r
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the4 s8 c8 |7 H2 X. k( b( r
  1942. ; size of the optimized code.' g4 x1 }' N+ N; j/ m! P. H" `" z% H
  1943. ;opcache.save_comments=1
    $ ]5 Q% n' U* n6 i

  1944. 1 U9 n/ O+ P* K* K/ U; d
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"4 E& S6 G4 k6 h. j
  1946. ; may be always stored (save_comments=1), but not loaded by applications  ]& S8 b2 q9 D
  1947. ; that don't need them anyway.- ~. Y9 N8 v9 G' `) F6 c
  1948. ;opcache.load_comments=10 ?7 A6 D: Y: ?  |

  1949. ' P. b6 S0 D1 Q1 z
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code  Q6 y% o& y( B6 W: g6 y
  1951. ;opcache.fast_shutdown=0
    & k8 d" a% S9 l9 F) I' B3 m2 e

  1952. / I/ L: d( c8 O3 Q+ H
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    ; Q( s' P) B4 a8 L
  1954. ;opcache.enable_file_override=0; ]# M- ~7 r9 {& v2 S' o

  1955. 7 a* v6 u) d' C  F4 h/ J3 E
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    7 o. g: U) r$ f+ i
  1957. ; passes! G$ }  @4 w  A" D8 q9 y
  1958. ;opcache.optimization_level=0xffffffff
    % g# ^8 V' r/ v  r8 J

  1959. 1 j" Y: @% e0 O) A2 x6 m
  1960. ;opcache.inherited_hack=1& V: @9 q* V" D3 l' Q
  1961. ;opcache.dups_fix=0- K3 u& Z% M, Z! j- ~

  1962. & o  @7 K; I7 m
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    3 ]- w) K) ^. L
  1964. ; Each OPcache blacklist file is a text file that holds the names of files3 T1 a1 X8 H3 Q$ ?
  1965. ; that should not be accelerated. The file format is to add each filename
    & c; z/ i0 d! K3 p) N
  1966. ; to a new line. The filename may be a full path or just a file prefix$ G1 h; O/ _$ ~8 u3 r
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    ; j. n& O! G+ C7 r  h
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).6 ^, q7 B( ^# P+ M4 \) U
  1969. ;opcache.blacklist_filename=
    1 \/ H( f! q* `- V4 ]
  1970. 6 M: X) J# Y0 h# [" T/ S! j# u' l' G
  1971. ; Allows exclusion of large files from being cached. By default all files2 U, ~8 Z! j% H* L0 u/ @/ u
  1972. ; are cached.. D5 ^: `) M) f4 r
  1973. ;opcache.max_file_size=0
    ! k1 B& Z  `9 z* y  Q
  1974. / [. X7 `' J- m) a2 z; H4 p" X
  1975. ; Check the cache checksum each N requests.
    " `6 K& C3 K' v6 N' }
  1976. ; The default value of "0" means that the checks are disabled.
      O# {+ w+ r) G
  1977. ;opcache.consistency_checks=0
    # x! ]) a; [- R2 l9 |% A: x. c0 @  H9 o

  1978. 9 A. M8 W' `7 ^
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    / G: t- D2 y! e) e* x5 y5 n
  1980. ; is not being accessed.
    ; `  V0 ^+ G1 Q% M0 B
  1981. ;opcache.force_restart_timeout=180# X+ i+ q3 i( ^

  1982. 5 K+ D6 @1 P$ I, N- j
  1983. ; OPcache error_log file name. Empty string assumes "stderr".. v7 T6 B0 a! ?1 c5 H: Y$ M3 i
  1984. ;opcache.error_log=
    , Q/ ^2 B4 @. G, I$ A& J# R
  1985. ( d: A  m. }8 S" T4 k
  1986. ; All OPcache errors go to the Web server log.
    / j% K, d" P5 W& S: [) }/ T, @
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.- L! T2 e- _4 X' ]+ T' U& r" d
  1988. ; You can also enable warnings (level 2), info messages (level 3) or% j7 {5 \. Z4 K& R( Z6 x' x9 p
  1989. ; debug messages (level 4).
    7 @+ ^% \$ c2 f7 u9 W
  1990. ;opcache.log_verbosity_level=18 P! W, z4 {- x1 P. W. z
  1991. 8 X1 W# b4 C$ q6 N7 |
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    ' T* F4 ~4 v) q8 s, A" }% m
  1993. ;opcache.preferred_memory_model=
    # @& T5 Y1 o' `; W- M

  1994. ! x. h" Y$ b/ d$ k
  1995. ; Protect the shared memory from unexpected writing during script execution.
    7 d" p+ U- S$ ~1 [3 r4 \
  1996. ; Useful for internal debugging only.
    1 U  D2 k4 ^' j- j+ h  D  U9 I
  1997. ;opcache.protect_memory=0
    7 U) E% S4 d7 B

  1998. 6 o7 M. |: O" J9 ?9 P
  1999. ; Validate cached file permissions.- ~5 J0 U& r" |- j" _5 C0 g7 O
  2000. ; opcache.validate_permission=06 ]/ O6 i3 a: u. L( k3 p$ L0 {6 S
  2001. # R4 v2 R" X+ P# `, m+ |7 T
  2002. ; Prevent name collisions in chroot'ed environment.; s! Z5 }7 s; F
  2003. ; opcache.validate_root=0
    1 x4 E( D+ _3 Q2 U6 N: z7 ]" E* w/ E

  2004. , o6 \$ c  W. R, r. c
  2005. [curl]1 H5 |5 w" m2 T" ^7 [
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an# V" O7 M' E- Z( V+ S4 e# T* b7 F  y
  2007. ; absolute path.0 _7 v5 b6 J2 ^0 J; v. p" X
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    % g; m; e( v8 B
  2009. 4 @8 q) A4 x8 c& Z2 V/ e3 F/ |+ b
  2010. [openssl]
    % A" j; a+ z% ?) H+ u) \+ _: |/ X
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem4 F8 x' K8 u0 e3 k& O
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    * x# m0 X4 r# K. R0 Q
  2013. ; not specify a value for this directive as PHP will attempt to use the
      E# v% F3 J" |& L( H9 ^6 V- |
  2014. ; OS-managed cert stores in its absence. If specified, this value may still  q' `+ H) i7 S* g  n' E
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    ( U8 ]  s+ ?3 n2 L
  2016. ; option.& G2 z1 R8 h9 R. Z
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt' l$ k. r1 s9 t8 h% q% W( T. g. p

  2018. ! I4 H; {' A- m% i) ?
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the% T+ s4 U( O6 p, D# s2 a% v6 i
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    2 P$ ~: t/ |$ ^* f
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    ) K1 r- J* P7 x$ [
  2022. ; Most users should not specify a value for this directive as PHP will
    , M# _8 e, K6 e8 l6 }
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,# b! p& ?+ p# W$ `0 I5 I' g( H; L4 |
  2024. ; this value may still be overridden on a per-stream basis via the "capath"8 q  |* I5 O) G1 @' b4 ]
  2025. ; SSL stream context option.1 a0 b* u4 x" g+ C* |
  2026. ;openssl.capath=
    ! L+ x3 l- S$ t1 _
  2027. & c4 \, B. [/ o: [0 ?% K
  2028. ; Local Variables:1 [( M; m" T$ r) h  `, F/ L
  2029. ; tab-width: 4
    % H: T) @# I* I3 n- J' `0 A" a
  2030. ; End:) u* D5 r. k& y4 Z1 X7 A% ]

  2031. $ x8 U/ y1 G8 w/ J. P
  2032. ;eaccelerator
    3 ]% T; N+ c7 Q1 m) _3 a" l

  2033. & O! [/ ~2 z, W
  2034. ;ionCube! T) E  {1 e7 l- |9 |
  2035. ! {% Y/ `. J7 K( U' ?- V
  2036. ;opcache' _" r2 e* I2 W! U# W

  2037. ; P* D- x; n: K% k) q% ?, b+ g
  2038. [Zend ZendGuard Loader]1 Y" N3 X% P4 ~; v/ h
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so% T* ~* y* X8 s" ~) T
  2040. zend_loader.enable=1" A% S& a: }% L2 C6 t# D# [: {2 @# x
  2041. zend_loader.disable_licensing=0
    : U! ]0 C  z; |
  2042. zend_loader.obfuscation_level_support=38 V# \  @' T  h; w+ r4 |8 C' g- \
  2043. zend_loader.license_path=
    : Z& T& L3 g% \# F, L3 }
  2044. 7 R  P' @. z/ E4 s
  2045. ;xcache
    1 \8 [/ n) O- P* K

  2046. 2 w( t8 E# `  n1 F; d" f& V: q6 t
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692+ U6 \; ?% z3 r, G- @6 m4 r

9 O1 Z" ~# W3 g) e+ _% l6 r
  I$ _7 j  P6 VDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
8 Q4 k* h" o1 d% `# |, R& D7 _$ Y; K% l. p3 i
Discuz!程序版本选择:) f7 h. ]$ [0 B! N8 a# V
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,: {7 R2 e, p1 E( I% c' j, m
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:( V4 M( W; k' E0 X0 X$ ?
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。
* z0 B+ a9 p1 @6 W5 P! H& W- O$ q" F' D5 y9 g# V6 p
Discuz!插件模板版本选择:2 @$ V( l# o! H1 y8 l3 }
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,& ]; E: o/ W. H' [
针对这个问题做个统一的普及:
! K5 o1 ^- _  N, _, GX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
: r1 R3 O2 l* U3 a( K& k! \# A7 B9 _
所以. u2 L. A' w4 D
适合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的二级域名。
# y& Y! d. Y" e' N) P; t4 L打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。" H/ {4 H# A" T
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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