分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0, h& M. p  s, |% ?# ?3 W( B* e

- M4 B. _) m  O. Q& |" y: K3 F3 n
  1. [PHP]
    0 a, u0 k  i0 d  [
  2. & S5 N7 Y; u) r* A+ J
  3. ;;;;;;;;;;;;;;;;;;;
    " x- N, t, E1 k
  4. ; About php.ini   ;
    . \7 \) ^# L$ L5 _6 A4 s
  5. ;;;;;;;;;;;;;;;;;;;* {4 |5 y: K3 Y
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    , s0 |8 v  p% \+ J
  7. ; configuring many of the aspects of PHP's behavior.- C9 S' s$ B) A+ R6 k" T
  8. " s$ |4 E  _2 \! \7 y! l
  9. ; PHP attempts to find and load this configuration from a number of locations.
    0 v2 E3 j( v$ d1 N# u2 K
  10. ; The following is a summary of its search order:
    3 W! Y: D1 o; y0 r' {5 H6 d8 C& U
  11. ; 1. SAPI module specific location.. G. p) d5 [5 e5 S  Y; ?# T
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    7 c5 K# E( [9 s& `% r/ d, d& f
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    0 z9 _) a* ^0 A- B: v* a* i6 e
  14. ; 4. Current working directory (except CLI)
    / u# h% J& `/ ^% u. {/ W
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP; }4 l, Y2 s3 G' P+ p' G$ T
  16. ; (otherwise in Windows)8 Q6 v5 u6 X. b+ E: i
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    / |* w7 L  }& C" g2 |: L) D
  18. ; Windows directory (C:\windows or C:\winnt)% @; v; c0 y/ P4 u' Y6 q
  19. ; See the PHP docs for more specific information.  ]  Y5 T2 E& w7 ?9 f$ `
  20. ; http://php.net/configuration.file- M2 h; H( o% I
  21. 1 _4 r0 ]1 N) D' d8 O1 i
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    " H: u1 v" h2 L6 F
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).' L7 {2 i- p/ \2 M* w  w+ j- J6 D3 e+ Y
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though4 C, }6 R  m% `; r
  25. ; they might mean something in the future.
    # W2 e! c$ o/ L* h! Y8 V; _
  26. 9 ^* m9 Y' I% h& }
  27. ; Directives following the section heading [PATH=/www/mysite] only7 u7 A5 i& r" u6 O5 O+ D
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    8 m$ `9 K) ]% b; u4 V0 v
  29. ; following the section heading [HOST=www.example.com] only apply to: n: e. w6 u( A
  30. ; PHP files served from www.example.com.  Directives set in these9 A3 \! I. w0 ?% c; Q
  31. ; special sections cannot be overridden by user-defined INI files or
    7 d0 T' u& f- h
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under6 w5 g2 H" q: @! M
  33. ; CGI/FastCGI.8 g  w6 ]4 i. ^+ @  C/ b& X$ l
  34. ; http://php.net/ini.sections6 ~% ?% p1 s9 F8 j1 X
  35. $ r$ j% _" N7 N3 q! x! D
  36. ; Directives are specified using the following syntax:
    & }: E2 Q( R( V2 V" h
  37. ; directive = value
    7 m" L8 z, j4 i. D) A2 e
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    2 @" m) P$ I4 R, e( q
  39. ; Directives are variables used to configure PHP or PHP extensions.5 J/ v2 }5 w5 V% t9 ]7 @
  40. ; There is no name validation.  If PHP can't find an expected" T3 d" j* T$ y
  41. ; directive because it is not set or is mistyped, a default value will be used.
    8 E6 l1 h" O, |

  42. 5 c5 X- @1 @8 E( K8 ^# ~9 o
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    * D4 H: G+ g3 y8 P% _
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    9 R  z& K0 P  b+ w
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
      w  Q4 F$ Z$ F; F8 A0 R
  46. ; previously set variable or directive (e.g. ${foo})
    ( K! b4 ~" S' O' ^: R0 r0 [- b% F

  47. 1 ^9 S. X9 e6 j8 i, w% Z' c$ T. Y
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    9 {- X7 C& k( q0 Y% X7 E6 \: x
  49. ; |  bitwise OR
    ; }1 [1 s# b( D4 I9 k
  50. ; ^  bitwise XOR; h# T, F0 K1 K% R
  51. ; &  bitwise AND
    3 V8 S; D. f- D
  52. ; ~  bitwise NOT
    9 N$ j, ^: D* T6 u
  53. ; !  boolean NOT1 M3 p* E2 S' Q; V, C* p8 u

  54. 1 Y! J) b& t5 D( Z- k
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes., x* m/ H  g  g6 v& M
  56. ; They can be turned off using the values 0, Off, False or No.
    , z: \) t* o5 @6 p& W+ O3 z

  57. , ~9 G8 _, Q0 h; Z' F& b+ N( a- h
  58. ; An empty string can be denoted by simply not writing anything after the equal4 ~. E9 v# C: q1 O0 e- N* @4 h
  59. ; sign, or by using the None keyword:9 r- ?2 U& _0 k( ]& J
  60. % _) {9 Y/ T' r- s" g4 r2 m: s
  61. ;  foo =         ; sets foo to an empty string
    3 R  [3 G5 s$ |! X: W- X& f  P
  62. ;  foo = None    ; sets foo to an empty string
    ! U: e8 F4 T2 f" I" f7 A$ S
  63. ;  foo = "None"  ; sets foo to the string 'None'2 G) D6 p: e/ t* {3 K
  64. 3 [% s2 Y5 d9 {- [& `" [
  65. ; If you use constants in your value, and these constants belong to a
    ) i5 N& ?) W  w
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),; B# q+ S& [' N% ]* d
  67. ; you may only use these constants *after* the line that loads the extension.
    4 q4 e$ X7 y! j0 ~6 J

  68. 3 f6 J% q/ M. g3 _0 _+ z+ P
  69. ;;;;;;;;;;;;;;;;;;;. l$ I, {# G' d" S3 y# B5 n2 q) d! a
  70. ; About this file ;
    5 S7 C! H) _$ C$ J" |( ~+ d
  71. ;;;;;;;;;;;;;;;;;;;  s: s1 i/ s( M, y' r
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    & r9 E" J9 E5 r3 V( X
  73. ; in production environments and one that is recommended to be used in
    7 H# f( h) A7 D* Y9 y8 l1 |- b  q
  74. ; development environments.3 v/ i; K8 L$ r2 I

  75. 1 ]* V/ I7 x; d' ^, ]% u* }5 y
  76. ; php.ini-production contains settings which hold security, performance and
    ' H1 M: m" }, B; Q
  77. ; best practices at its core. But please be aware, these settings may break
    9 V/ K# Q) `# k8 y; ^1 ]1 u1 G( ~9 I
  78. ; compatibility with older or less security conscience applications. We! N! o4 V9 w; |0 h. J
  79. ; recommending using the production ini in production and testing environments.
    1 r/ d3 b! _+ Z( q' E, w8 N7 i

  80. : Q" O/ B5 \3 v& N# J
  81. ; php.ini-development is very similar to its production variant, except it is% Q! \9 s9 c2 o; n2 U
  82. ; much more verbose when it comes to errors. We recommend using the
    - y1 O. P& N' c: e
  83. ; development version only in development environments, as errors shown to
    0 p+ Y8 c5 q* o: f( U( l
  84. ; application users can inadvertently leak otherwise secure information.3 \" h! p4 o$ {/ g
  85. 1 H9 e. ^, l9 L( S0 ~
  86. ; This is php.ini-production INI file.  e( a+ K; v& J1 ^7 l

  87. " T/ @; o- A9 e3 P2 P, Z% z
  88. ;;;;;;;;;;;;;;;;;;;4 p  `# h5 J) d. q* y& J, E+ }
  89. ; Quick Reference ;7 ?. T  _( W' C4 Z+ }
  90. ;;;;;;;;;;;;;;;;;;;
    7 J2 `! \8 u. v+ p3 e
  91. ; The following are all the settings which are different in either the production
    + h0 g# E6 C! B4 _2 k
  92. ; or development versions of the INIs with respect to PHP's default behavior.* B" `7 C' q) e
  93. ; Please see the actual settings later in the document for more details as to why9 S. B1 \9 A" N
  94. ; we recommend these changes in PHP's behavior.3 {! P( v) s$ L3 u( @" T5 M# z

  95. 0 R# G7 s* E# d7 c$ r: j/ S
  96. ; display_errors
    9 }7 Z, W: Y( q  v
  97. ;   Default Value: On; {+ G  C5 Z! G. w1 ?3 w1 g
  98. ;   Development Value: On+ l& g; o2 ^5 ]% k/ S0 e4 ^
  99. ;   Production Value: Off
    0 I( H; G6 W: [) r! k( d( O0 m

  100. - A8 ^$ n8 ~7 B. k+ z% t9 h
  101. ; display_startup_errors
    , `  X9 v  v7 R4 j
  102. ;   Default Value: Off, b; w; Z+ h/ K- M8 E2 B
  103. ;   Development Value: On
    5 g, T* y8 R1 F) ^2 U7 D1 c' {- k9 T6 y
  104. ;   Production Value: Off5 D" X! ]  c/ R$ P0 h7 h
  105. . y* `1 _% p. V/ x! h7 ]& P
  106. ; error_reporting: w) d; ~0 h2 u* k" C5 t" Q- N" m
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED5 W! I1 X; S8 Y3 n& D5 H: Y
  108. ;   Development Value: E_ALL
    * Q$ k9 C4 V7 e  L, N, ^4 |
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    3 y4 a' Z' D( K, U& y5 T6 H1 F1 L
  110. $ S% V4 k4 I$ S  J- f2 E
  111. ; html_errors& g& V5 Q) z1 _7 a( r$ {4 x
  112. ;   Default Value: On! i+ f+ U) A% X! ?. y7 M
  113. ;   Development Value: On1 C( Z: ~  K0 ^# @/ F7 E
  114. ;   Production value: On& q! M9 E* J0 b  S, u, Y9 S7 P
  115. 5 R6 H) U7 K. K* h1 s! A, t
  116. ; log_errors
    : S7 _( x! X+ F  P
  117. ;   Default Value: Off8 ~9 Z3 I, k3 @+ I- y% ^0 n$ T7 [( H
  118. ;   Development Value: On
    , J2 u" Z' o/ L# h
  119. ;   Production Value: On3 H, y1 t' U/ }3 |' X7 `9 V1 E

  120. ' D7 P6 G+ V6 k+ M% m
  121. ; max_input_time
    $ y1 H; Y& s4 m$ j8 h
  122. ;   Default Value: -1 (Unlimited)' M; v' k& U4 V5 s; V* m) \3 @
  123. ;   Development Value: 60 (60 seconds)# F! F& X/ {& h7 L6 w+ T# f
  124. ;   Production Value: 60 (60 seconds)/ b( k5 N. d- H! w) O: B
  125. 3 q2 ]' d% F8 d8 B5 @% O# U# O$ S
  126. ; output_buffering
    ) ^' P( W( Q6 b) q9 z+ e  {# D
  127. ;   Default Value: Off& w$ u# o1 h0 [, v4 a% I4 n
  128. ;   Development Value: 4096
    ) e/ T% v; i5 u; Z  `& X8 |+ V
  129. ;   Production Value: 40962 [' h9 t- A; j: a& ?
  130. * Q' `+ m/ d- e9 G3 K. I
  131. ; register_argc_argv
    * Z6 y4 l% y9 G5 ]
  132. ;   Default Value: On- j' z# Y0 D, B+ }
  133. ;   Development Value: Off  f) `% x$ |( Z2 ^( \( S  f
  134. ;   Production Value: Off, V7 D8 K2 E( w9 J! t5 V. j- R
  135. ( O( s! L& V$ V1 H3 E0 L: y8 H- m
  136. ; request_order
    1 u4 q) _& R- l- q# P
  137. ;   Default Value: None
    2 N; N5 v$ S" S& d( j" ^
  138. ;   Development Value: "GP"
    6 z3 |' t8 D( w
  139. ;   Production Value: "GP"/ v4 X0 [* t( r

  140. : G& d1 Z# S7 x( ^
  141. ; session.gc_divisor
    0 S" M6 b; W  c; l* b% R; l! _" T# I
  142. ;   Default Value: 1008 l. b4 @" t% K
  143. ;   Development Value: 1000
    & ]( y$ j! b' O
  144. ;   Production Value: 1000$ }' P" n8 }( Y$ p" F
  145. 8 m, o; ^' Z1 }) h& @. t; _
  146. ; session.hash_bits_per_character" }5 W& O; a; ~/ h
  147. ;   Default Value: 4
    5 M; A7 q$ C" ^( F7 R: q  s
  148. ;   Development Value: 56 `: w/ X4 c3 H
  149. ;   Production Value: 5
    / z- I, n" v: x6 L( l7 H1 k

  150. . I4 Y! ?3 T( r2 F- B. n
  151. ; short_open_tag1 o5 m8 [0 U2 R9 \) y  ?
  152. ;   Default Value: On
    ( @6 d$ Y2 I4 {
  153. ;   Development Value: Off1 V+ Z5 J% Y; D6 t- s' {$ C- D4 b* J
  154. ;   Production Value: Off- c7 b* q0 q; _) u% j4 ~
  155. : m* C8 J2 z. e. M; w
  156. ; track_errors/ N" a  |1 h' P! v
  157. ;   Default Value: Off
    7 l: ?: p1 I2 u- v7 R
  158. ;   Development Value: On
    . X( o4 z! v3 t6 A7 P
  159. ;   Production Value: Off+ a' U. k" _: t' j
  160. 1 {2 b, A, {  \" W
  161. ; url_rewriter.tags
    ! d& Z5 a: G# M5 T, @' n
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="8 Z4 B6 C& M# Y3 U9 B; p
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    . K2 K& S! S! J3 s! H5 J+ p
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    & N, O9 ]# P3 w/ l! `. Q3 N

  165. * w8 ^, w$ D* H& F
  166. ; variables_order
    ' B" j0 @6 q" |) ^
  167. ;   Default Value: "EGPCS"' t% M; p0 A: \5 p
  168. ;   Development Value: "GPCS"$ @5 t. E$ o" V
  169. ;   Production Value: "GPCS"6 s% \2 P+ f) [% {

  170. 4 N6 b& W8 T5 a1 |& _  |3 c' ~, n* Z
  171. ;;;;;;;;;;;;;;;;;;;;; f7 U- L. k; L8 r! B7 t2 d
  172. ; php.ini Options  ;
    % H$ z( @. R; }) w1 j+ p0 d
  173. ;;;;;;;;;;;;;;;;;;;;
    4 Z- w' B2 a  G! a, p# T. Z
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    2 {2 K' W1 M* R& j& O
  175. ;user_ini.filename = ".user.ini"
    / t% d6 ~9 j4 f8 x% w

  176. " u8 Q1 J: h3 i2 |8 [$ F+ o2 L8 [
  177. ; To disable this feature set this option to empty value( X: m/ L& ~" ~4 o3 X: p% o& a
  178. ;user_ini.filename =
    ) W  {1 c- k( |

  179. + L* C6 k% }+ M+ \% c1 i$ K
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)( ?% R% j; r3 D# q
  181. ;user_ini.cache_ttl = 300
    " Q/ A! c8 _6 l' c
  182. ' Z8 |( _8 Z7 W# e' V' E
  183. ;;;;;;;;;;;;;;;;;;;;" u0 K0 S. r; I8 W, s7 y
  184. ; Language Options ;2 U. X4 t- S8 Q! G; B. |1 c* z& T
  185. ;;;;;;;;;;;;;;;;;;;;
    ) r4 @. Z  Z; m9 P4 z, ?
  186. # s- p: s! k! ~* y. A/ C
  187. ; Enable the PHP scripting language engine under Apache.) B% v7 `: |7 q7 W! t* B6 I
  188. ; http://php.net/engine( U, t# W% S2 i- S
  189. engine = On
    1 E* E6 j! p. y1 e/ c
  190. % W# o' B  D( o4 P9 J3 e
  191. ; This directive determines whether or not PHP will recognize code between
    4 D9 |$ y5 \# p0 ]
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    7 n5 l  l2 r; O: p& D. B/ r0 ^9 E
  193. ; generally recommended that <?php and ?> should be used and that this feature. k/ h+ x+ B5 ~% Y: n
  194. ; should be disabled, as enabling it may result in issues when generating XML
    # C' f% x* T. O7 f1 Y
  195. ; documents, however this remains supported for backward compatibility reasons.
    0 ]  ^' `% R. W  ]; i4 \0 E
  196. ; Note that this directive does not control the <?= shorthand tag, which can be2 ^# ^: P, {* q5 Y1 S& e
  197. ; used regardless of this directive.; B, j* x1 y& P6 ]) a. h; n/ c
  198. ; Default Value: On- {3 y# [/ [) c5 l, J
  199. ; Development Value: Off
      n/ q4 x. F& a5 s" W
  200. ; Production Value: Off
    : L) C; s- N- J' z
  201. ; http://php.net/short-open-tag
      x, |: E2 z8 a1 Y$ t
  202. short_open_tag = On3 {6 A5 _( P$ \0 l+ q, R5 q

  203. " ?7 l) A  F3 b+ I
  204. ; The number of significant digits displayed in floating point numbers.0 A* P9 p# F$ n# v* Z
  205. ; http://php.net/precision
    % w4 S% q* a. V' r1 |" Z& B- x
  206. precision = 14; Z" j! i2 I* c
  207. " J* ]1 y0 r* G$ f$ X& C
  208. ; Output buffering is a mechanism for controlling how much output data
    % W. |# R+ P/ l/ l/ @- n+ v
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    % x6 i$ [2 D4 x& w4 O& ~5 X
  210. ; data to the client. If your application's output exceeds this setting, PHP) U6 v7 ~- N6 D1 w/ _7 I* H# q
  211. ; will send that data in chunks of roughly the size you specify." n$ x; ]. p* K$ ^9 t' q: O
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    / |# ]4 [' Z  I  @
  213. ; interesting side-effects depending on your application and web server." B- m0 @9 i" e" L6 v# p5 A
  214. ; You may be able to send headers and cookies after you've already sent output" b$ t4 h' D) [6 Q4 O9 ~( A4 X" N
  215. ; through print or echo. You also may see performance benefits if your server is7 u  c8 w: [# f; q8 n6 Z
  216. ; emitting less packets due to buffered output versus PHP streaming the output9 |+ @% Z/ V2 J1 V; K1 g0 L1 q
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    ! e+ @# o( g" H1 w) ]
  218. ; reasons.
    . D2 n# `4 ^3 ^) x6 }7 ~
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    " [% H+ z( D. ]/ d/ A+ Q+ j
  220. ;   functions.8 M2 W$ T0 H1 H5 N
  221. ; Possible Values:' O2 P& _' Y! T, ]+ a8 }
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)- D! ?4 V/ o; G
  223. ;   Off = Disabled
    $ q2 I) |1 V4 z0 J( ?! m
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.2 v" l& Q) X- X' B6 {
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI+ D6 M0 k: g3 N& f: p
  226. ; Default Value: Off
    ; P8 Q9 s( x9 V/ [( p% A) n
  227. ; Development Value: 40965 g- }# G6 |/ E+ t* x& ~
  228. ; Production Value: 4096
      R2 P: i: {# B8 T5 q* ~) Y$ ~9 L2 E
  229. ; http://php.net/output-buffering
    . }& t0 z9 L1 Q: }0 X& y, t
  230. output_buffering = 40960 n; T3 D7 o2 y" U. ~1 s

  231. 4 I1 r2 x: y) ~, `7 H4 O1 H
  232. ; You can redirect all of the output of your scripts to a function.  For6 {! [* @4 z; w1 I
  233. ; example, if you set output_handler to "mb_output_handler", character
    5 |9 U5 |$ q' V( H
  234. ; encoding will be transparently converted to the specified encoding.# m8 o' |5 V3 }8 A$ t" K8 N
  235. ; Setting any output handler automatically turns on output buffering.7 D) c0 Q; M, k# k: w  W; l* _
  236. ; Note: People who wrote portable scripts should not depend on this ini
    1 S3 Z4 {; P) T* z8 ~9 W
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    1 K7 o; l# m' G1 ~; \
  238. ;   Using this ini directive may cause problems unless you know what script
    . k  g1 w9 k/ N! l( H* f
  239. ;   is doing., w" N$ q4 |8 d
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    + H$ K; Z; V8 I$ R& `
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    6 R' i# N/ x% Z  J
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    2 ?! C$ O  N* I6 ]- J
  243. ;   Instead you must use zlib.output_handler.: G  n9 w: J* B8 B, H' s
  244. ; http://php.net/output-handler
    ; k7 m9 P' a  ~, v$ }
  245. ;output_handler =
    , b& `0 m* N8 G8 H

  246. ; v5 M$ J$ D' `3 r) h* g/ L+ w
  247. ; Transparent output compression using the zlib library9 Y! d8 G' b! S- ]: u
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    7 ~. {) z$ j& b+ j0 y0 c  ^
  249. ; to be used for compression (default is 4KB)
      p* E" x8 a9 C1 V* {1 D: n
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    ' d* c) K: E3 `
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    7 Y2 w" Y' C. I% E& e
  252. ;   compression. If you prefer a larger chunk size for better7 y5 @# |1 J+ g
  253. ;   performance, enable output_buffering in addition.: h$ ^* P4 ^# d3 u6 n: G" P
  254. ; Note: You need to use zlib.output_handler instead of the standard, @9 }6 c4 k5 P& |1 }% U  ?
  255. ;   output_handler, or otherwise the output will be corrupted.
    + V1 |, z; m3 P: j( e
  256. ; http://php.net/zlib.output-compression
    6 A. i+ o) ]& Y) ?
  257. zlib.output_compression = Off
    1 Q. J+ R! s! f# a; J$ G4 r6 \
  258. - A* l0 Z3 b; W* M6 ?" f: o$ }
  259. ; http://php.net/zlib.output-compression-level
      L  ]$ J, b! _1 E/ g+ B; ~
  260. ;zlib.output_compression_level = -1
    / K* c8 H7 v) r$ J: T- B) F3 ]

  261. * T2 y; W4 g$ _) y7 |% K  G
  262. ; You cannot specify additional output handlers if zlib.output_compression
    1 m% p+ }) r2 q
  263. ; is activated here. This setting does the same as output_handler but in
    ( _7 b& r. t0 W1 f7 {4 A+ g* a
  264. ; a different order.
    + `% o: C6 i9 z) k6 B" _! e
  265. ; http://php.net/zlib.output-handler5 X% k+ \% s2 @! B) u5 z
  266. ;zlib.output_handler =6 w) L/ {& F/ s- v9 N
  267. * ]( y' s" F/ t! [" }( d$ t. A: U2 w
  268. ; Implicit flush tells PHP to tell the output layer to flush itself3 f" `: g9 Q8 o
  269. ; automatically after every output block.  This is equivalent to calling the7 _1 F/ W, n0 ^- o
  270. ; PHP function flush() after each and every call to print() or echo() and each. [7 i: V' J+ t' V$ |$ Q7 M
  271. ; and every HTML block.  Turning this option on has serious performance. A* G3 ]$ k% v) g: O
  272. ; implications and is generally recommended for debugging purposes only.4 O0 x+ h0 Z# e
  273. ; http://php.net/implicit-flush
    5 C( O9 @0 c( r# ?+ W- Z
  274. ; Note: This directive is hardcoded to On for the CLI SAPI5 d5 ~! ?) m, z0 ?/ {8 i) s
  275. implicit_flush = Off* z6 |) m, C2 y; v
  276. 0 p/ ]* y4 r6 k: S  u& o) L
  277. ; The unserialize callback function will be called (with the undefined class'
    ; B+ s4 U3 t' W, s, k
  278. ; name as parameter), if the unserializer finds an undefined class1 c" ^$ K' M' g/ P; V, ?& `; B
  279. ; which should be instantiated. A warning appears if the specified function is
      Q( z1 A' \) Y
  280. ; not defined, or if the function doesn't include/implement the missing class.
    2 M. C% B/ Y6 @
  281. ; So only set this entry, if you really want to implement such a
    0 \$ B2 P/ z( ?( K8 l# H
  282. ; callback-function.6 g& p& q5 t0 Z. A0 I
  283. unserialize_callback_func =
    0 N8 k* }& \3 `; q* H" J7 x. m

  284. ; U$ t0 A. p4 U* S! `# Z
  285. ; When floats & doubles are serialized store serialize_precision significant
    ) I0 s; t; B3 a1 h1 d- j6 q
  286. ; digits after the floating point. The default value ensures that when floats3 {+ `- U" c0 W( g
  287. ; are decoded with unserialize, the data will remain the same.
    4 q0 f# W0 v' I( y! Y$ X. l
  288. serialize_precision = 17+ l* z9 ?6 K$ ]% d' R

  289. ' G- j7 B; i: }! i/ X# X
  290. ; open_basedir, if set, limits all file operations to the defined directory$ p3 L, E) g$ B4 Z8 z* @
  291. ; and below.  This directive makes most sense if used in a per-directory
    0 ?, o  T, R" q
  292. ; or per-virtualhost web server configuration file.0 ]/ F9 E) P  v/ C
  293. ; http://php.net/open-basedir
    " K$ I# N, j1 q/ w$ E
  294. ;open_basedir =" U, M" t& X7 r: o7 W6 ^
  295. * N$ F& {. m9 F. f
  296. ; This directive allows you to disable certain functions for security reasons.. M  s% m8 R9 a; Z- D! L9 r
  297. ; It receives a comma-delimited list of function names.$ N. u8 Q5 Z) H% ^2 p
  298. ; http://php.net/disable-functions5 O9 o  p, H  r8 o, j$ \: |
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru! u- l2 h4 t2 @2 }8 A

  300. 7 l, G& @) k* v+ q. n: k; ~+ B, L
  301. ; This directive allows you to disable certain classes for security reasons.3 E$ p: c9 Y% ]2 \0 @/ k
  302. ; It receives a comma-delimited list of class names.
    8 n7 w6 m  A! Y
  303. ; http://php.net/disable-classes9 d' N" z( [) a! X0 Y$ e* ~5 c
  304. disable_classes =% S, P; J" m" `7 m- q$ `

  305. % w* E8 E) J' c( T4 i
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in! X, n8 c$ ^: a0 [$ }0 w
  307. ; <span style="color: ???????"> would work.
    # t8 l! f4 E9 }& b* g) b
  308. ; http://php.net/syntax-highlighting) L" f  u7 w& d! C
  309. ;highlight.string  = #DD0000
    8 R9 Q' {, I5 X1 [' o- s& t/ _
  310. ;highlight.comment = #FF99000 T% u4 ~" _- C
  311. ;highlight.keyword = #007700
    1 C8 N( }- ~5 n) m; g1 r5 I
  312. ;highlight.default = #0000BB! J+ |9 L- H+ b  X& `, U8 e
  313. ;highlight.html    = #000000
    / {9 ?$ R; {9 E$ u! ~4 V1 K  X

  314. + r" h+ Z. r7 F; _& W: w& C! Z: \  Z
  315. ; If enabled, the request will be allowed to complete even if the user aborts4 x* [8 K( D9 w" s6 n; V/ E5 C
  316. ; the request. Consider enabling it if executing long requests, which may end up6 Z- _, S5 R3 d1 R' V$ A* I
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    2 B  a: C3 d' {6 D
  318. ; is to disable this feature.$ e$ e7 L6 T$ _2 K5 E" `! ?
  319. ; http://php.net/ignore-user-abort
    + A* l4 b8 |" H. c
  320. ;ignore_user_abort = On
    + ^/ U7 |& x% t6 V
  321. . U: L; l( n5 i: M9 h; m3 B
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    . {# U1 Q' J' P; q+ \5 O2 Q  f
  323. ; be increased on systems where PHP opens many files to reflect the quantity of. T- H! A$ a# J# F& N
  324. ; the file operations performed." N. h1 C" n; G' F# I+ c3 m
  325. ; http://php.net/realpath-cache-size
    + z2 }, [% C. c' Y% y7 Y3 Q
  326. ;realpath_cache_size = 4096k3 Y) P0 M# |- n4 P. n: w
  327. 4 i% c8 k' s: t1 {5 F. u
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    2 @) {7 Q; C4 P6 d7 b: |
  329. ; file or directory. For systems with rarely changing files, consider increasing this/ L) A" A& y) ~  ]" y
  330. ; value.
    ' e. h+ z, x  {& t# o
  331. ; http://php.net/realpath-cache-ttl
    ; s: {) z, S9 F0 v3 J$ S
  332. ;realpath_cache_ttl = 1202 r# R+ ?  P" s0 p# z! o
  333. 4 H. ?( [$ V! P9 i- E, z; h
  334. ; Enables or disables the circular reference collector.. f$ p; r5 H. a9 X: b
  335. ; http://php.net/zend.enable-gc0 T9 ]1 V/ a, Z
  336. zend.enable_gc = On# C5 z+ C7 o* k* Z: i2 B- m- [
  337. % N* _* ^5 s/ b$ M
  338. ; If enabled, scripts may be written in encodings that are incompatible with4 a' S! y0 `. H  Y* i, O
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such" ]1 `( L3 a. T. W' O9 Z* ?' D. ]
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    ' z! a8 M. K4 _. Y
  341. ; Default: Off
    : u! ?: t6 e, I7 I: z7 r- Z
  342. ;zend.multibyte = Off
    0 e( F9 _7 }# E. {0 T( x

  343. ( M: a9 u# N+ {4 J. a- i
  344. ; Allows to set the default encoding for the scripts.  This value will be used7 e0 l5 F9 b8 q/ A0 ]
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.) _. s7 J9 m* j: A! H/ L
  346. ; Only affects if zend.multibyte is set.8 m% g' O; H' o& C; E5 N  R
  347. ; Default: ""
    % b5 f- h; P7 S
  348. ;zend.script_encoding =6 m$ \" h7 ]: {' s5 f# l& x

  349. 3 [- s2 i/ w( P, W6 E- x- h; B* o: R
  350. ;;;;;;;;;;;;;;;;;
    . y- ?9 q& B1 E; h7 D2 ]1 Q( `
  351. ; Miscellaneous ;+ F) M  i( H% [; ~9 {9 J
  352. ;;;;;;;;;;;;;;;;;$ M3 ^4 b; w: }) Q  j
  353. 7 \$ n" v; b& F1 e% D
  354. ; Decides whether PHP may expose the fact that it is installed on the server" q7 g; r" A4 _1 j  h6 S7 s
  355. ; (e.g. by adding its signature to the Web server header).  It is no security. ^' H# h% o$ G4 M1 H
  356. ; threat in any way, but it makes it possible to determine whether you use PHP$ N, V" g  h, I* M5 S
  357. ; on your server or not.# C# [5 ^6 p* _4 H
  358. ; http://php.net/expose-php5 S$ D" c# f8 o: b. h3 ]2 t
  359. expose_php = On* W' Q% {2 m& I
  360. 4 Z  e9 F( C, H3 U2 t" Q8 R5 m( @
  361. ;;;;;;;;;;;;;;;;;;;4 G4 n1 _8 b0 A+ Z/ ]+ d: I
  362. ; Resource Limits ;
    + _" e/ _2 Y7 u) t" Q+ W% H. a
  363. ;;;;;;;;;;;;;;;;;;;, Z! z" I- T. t* J' E9 X

  364. 0 K9 d* k! \, ^) W/ h. f
  365. ; Maximum execution time of each script, in seconds
    1 F% m  e, t1 f. F
  366. ; http://php.net/max-execution-time% a1 p" C) A5 I& m5 `2 `
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    ! N- R/ p  n- Z) k' l6 p
  368. max_execution_time = 300
    ( D4 y$ I# [/ Q4 F! p

  369. , Y; ?* _1 q+ L, ~# x
  370. ; Maximum amount of time each script may spend parsing request data. It's a good+ e% {" J) F: V2 I6 ]/ u4 b
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    , @1 S. m1 E, ^/ m% r- Q
  372. ; long running scripts.
    ' o6 g  N8 R/ \0 |, ^0 y( g0 P
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI8 D8 O& W% B! G2 N1 {" X
  374. ; Default Value: -1 (Unlimited)
    7 r+ Q( R, J- `) K& u
  375. ; Development Value: 60 (60 seconds)
      S1 V, D# Z6 d# `2 ?# K& o2 N
  376. ; Production Value: 60 (60 seconds)5 _9 D$ Y! c* a; R8 }# [
  377. ; http://php.net/max-input-time% m; U. \8 Y6 X
  378. max_input_time = 602 A' r4 Q2 i$ S; o/ a

  379. 2 D- j# N" ?; h) R! P+ b
  380. ; Maximum input variable nesting level
    # i& E8 A) k6 r
  381. ; http://php.net/max-input-nesting-level
    * F9 }+ [* |" l7 v1 M& k
  382. ;max_input_nesting_level = 64
    7 x5 y+ m. A, v: j+ x7 p, N4 c

  383. 5 S+ k" F- J: V- F' ]* W
  384. ; How many GET/POST/COOKIE input variables may be accepted4 a$ j9 K8 D( T3 N' N  Z, G
  385. ; max_input_vars = 10004 b- R5 f# ~3 E/ I
  386. 9 r% ^9 y3 E' q) S+ I* N; P
  387. ; Maximum amount of memory a script may consume (128MB): L/ U7 F$ n. R% S
  388. ; http://php.net/memory-limit0 i8 p( O' K4 f/ n' W7 A9 K
  389. memory_limit = 128M
    0 j' ?% l* e" R; \: U; v) q
  390. ; O7 ^7 T4 L# Q# l9 O& r
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    8 |0 C/ u8 `" i6 |4 [' r& L
  392. ; Error handling and logging ;) v- K8 ?' U, U. g, ?% o
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    1 }$ _% }* s$ _& m

  394. " i1 X. V( K5 O2 Q. L) H8 I' a
  395. ; This directive informs PHP of which errors, warnings and notices you would like; h- u- d# M! K; G# B
  396. ; it to take action for. The recommended way of setting values for this1 d1 R% |* |8 U) a. s: f7 ^
  397. ; directive is through the use of the error level constants and bitwise/ |) |& }6 R. n# G: A
  398. ; operators. The error level constants are below here for convenience as well as
    1 r3 z- l  m- [# E# ?
  399. ; some common settings and their meanings.- {) p0 n: M) k- p
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT# [& i1 K; W% l+ i4 N
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    % c9 q3 P/ e  g
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    9 M1 r8 e% [( _! X
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    . V# {1 k: }2 e# `9 }5 w3 j0 |
  404. ; resources complaining about best practices and coding standards. That's what7 f* Z3 h; D& z; S( D% n% v3 o. f
  405. ; development servers and development settings are for.
    0 Y4 D7 i: u+ P* T6 w
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    7 f  d, S% p& E% ~/ g
  407. ; means it pretty much reports everything which is exactly what you want during4 z6 t/ N8 h! ?3 w0 ?% h& r; h7 W6 {' K* L
  408. ; development and early testing.
    1 y8 O; N  N2 }2 p. W' t
  409. ;
    / P# l. g" h! A$ V( b/ \8 u8 a
  410. ; Error Level Constants:" N- G7 z2 A) f0 J
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    / V) v: o$ i; _% M4 K. x
  412. ; E_ERROR           - fatal run-time errors
    3 @" ?8 j$ `0 @
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors( l$ A& b  Y' Q$ G. k; z' @
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    % W  v1 U, D8 I1 _& l( k
  415. ; E_PARSE           - compile-time parse errors, b  C5 s9 P5 s* f, l# Q- {: i
  416. ; E_NOTICE          - run-time notices (these are warnings which often result* |# q9 |- l2 Z, c4 A& j- @
  417. ;                     from a bug in your code, but it's possible that it was, P1 W6 k2 a$ {) `: k: ?
  418. ;                     intentional (e.g., using an uninitialized variable and
    ! k( k! r. s& d1 y
  419. ;                     relying on the fact it is automatically initialized to an
    ' s2 u8 [  ^/ `& P- I/ Q
  420. ;                     empty string)
    + z( b; n# o$ u8 G3 ^6 }7 c7 h4 }* M
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes- f7 r6 Z) t$ Z& e4 C
  422. ;                     to your code which will ensure the best interoperability! I1 x& W0 J7 n5 x1 o/ }' g
  423. ;                     and forward compatibility of your code
    ( _* U% O  L, w6 C! K6 I4 V
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    / X: E& Y! P! l8 i. r9 q- @
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    0 e: F5 s2 x2 g: L" L8 L
  426. ;                     initial startup) W! h+ j. c& x* Q5 D- H
  427. ; E_COMPILE_ERROR   - fatal compile-time errors  c3 T  w( N% w6 N
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    6 C) M" [! r! j/ i
  429. ; E_USER_ERROR      - user-generated error message  d3 g& N+ R0 T: J
  430. ; E_USER_WARNING    - user-generated warning message- d' i6 v1 I/ a; B  `3 p5 C; b
  431. ; E_USER_NOTICE     - user-generated notice message. r& [- ~) g3 h' o% h
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    # k5 \3 q( y; [+ f+ d% H
  433. ;                     of PHP
    1 X' M8 }( y" f2 l2 J3 z
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings0 C$ J2 G" A7 Q  N2 c0 n+ X( w. M
  435. ;' b* y$ ?" x6 j7 Z$ T# B$ ^
  436. ; Common Values:
    0 k2 d6 \4 D7 c
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    ' O1 r3 `; x% D! g
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)7 f( M, e; w: V% ^! m/ c" _
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.), k1 G- t1 ?. G& n6 E) v% T9 s; Y
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)# H, n  T$ ^7 g& h5 q6 ?' Q
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    $ e, k- q! a4 `
  442. ; Development Value: E_ALL  p9 d  s5 f! N& Y- X
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT" u( `# Q, W) ^' U1 i
  444. ; http://php.net/error-reporting2 \. V: L5 L( e' I
  445. error_reporting = E_ALL & ~E_NOTICE
    - A2 O" q3 M8 t7 [$ R& ~

  446. 8 x# ?4 z9 `* ~, x, R
  447. ; This directive controls whether or not and where PHP will output errors,5 U, ^6 m7 o: Q. P9 k, h) q% F, N
  448. ; notices and warnings too. Error output is very useful during development, but
    5 I+ W8 b* C( V2 Q
  449. ; it could be very dangerous in production environments. Depending on the code
    ! [5 D% J/ B/ j! W) J
  450. ; which is triggering the error, sensitive information could potentially leak5 Y$ U$ T+ l! @* d3 r
  451. ; out of your application such as database usernames and passwords or worse.
    / ?# U( H3 ]6 f+ q- B
  452. ; For production environments, we recommend logging errors rather than5 K! d- T& g* R1 c5 I. I3 T' G
  453. ; sending them to STDOUT.
    % b! ]! y# Q! s' B" m2 J+ g
  454. ; Possible Values:* V8 J6 x; p+ T9 C/ G$ W2 V
  455. ;   Off = Do not display any errors
    ; S4 z) c! ~/ A" o3 M3 q- e8 q  H
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)  f' O3 H% X5 o: F, G
  457. ;   On or stdout = Display errors to STDOUT* C3 Y9 P& p- A9 x7 L. G" g
  458. ; Default Value: On+ U% o0 H1 ~7 ~" G
  459. ; Development Value: On
    7 l& `' Z7 K3 N5 c! t1 o1 P, F3 _
  460. ; Production Value: Off
    9 Y3 l6 L  `. ]& T; x4 D
  461. ; http://php.net/display-errors* h( @5 X, a6 v
  462. display_errors = On& k, ?/ Z8 |" s2 i  K* b( Q
  463. 9 Y% F, ^. t+ h9 c) _  |
  464. ; The display of errors which occur during PHP's startup sequence are handled
    . D: m! d9 [0 S5 a( k0 @, h
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    - K4 S) u1 {3 j  f% e! B& V. S
  466. ; errors from clients. Turning the display of startup errors on can be useful in
      V1 k7 T/ k; o( ?' h
  467. ; debugging configuration problems. We strongly recommend you
    . y" E7 R9 p! ^1 X6 c3 p; n% s
  468. ; set this to 'off' for production servers.
    , B- ~; I7 ~0 ~8 G* b/ Q
  469. ; Default Value: Off* K9 Z/ q. {8 a6 V0 ?& [- t
  470. ; Development Value: On
    " L: a- w9 v/ R
  471. ; Production Value: Off" ]2 R1 c1 x2 w& {* U
  472. ; http://php.net/display-startup-errors- y( f! b( G+ N) D$ g" {& j
  473. display_startup_errors = Off
      j/ W# y, U1 g

  474. 4 S* ?2 g4 c0 X& @* S4 D
  475. ; Besides displaying errors, PHP can also log errors to locations such as a" `, p  p& v3 {0 [( @$ ~
  476. ; server-specific log, STDERR, or a location specified by the error_log
    ; {7 J* K8 P; w+ \
  477. ; directive found below. While errors should not be displayed on productions
    % K& b. i6 q9 {
  478. ; servers they should still be monitored and logging is a great way to do that.
    8 I$ k9 m' p# n& e
  479. ; Default Value: Off) V- f8 H% t5 i+ x* v: U8 S
  480. ; Development Value: On+ s1 Z9 |  i: V2 \  Y# S% }; [. ~& ^
  481. ; Production Value: On
    * ^$ @' e- |+ u) V/ h  B, @  ]
  482. ; http://php.net/log-errors" _! |0 c  @6 t. r# p$ ~# f
  483. log_errors = On
      q* y0 G* ^0 y: b* B' r' d1 T5 G

  484. : F. y# E2 }, }5 `. q- r$ Z* l
  485. ; Set maximum length of log_errors. In error_log information about the source is
    4 p' C3 O5 Q$ d- V( n+ ~4 ^4 B! T( J
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.  ~% b2 ^& H0 o: Y+ l% h: r# Y
  487. ; http://php.net/log-errors-max-len- {8 M! Y9 V1 K! O: ~2 P" Q) y
  488. log_errors_max_len = 1024
    / j) R# }2 X* J" [* r* |* j
  489. $ Q; q( C$ v& J; v% ^, I% }5 i6 ^6 I
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    ; _. c; L; S" e' E# F3 F6 d6 H
  491. ; line unless ignore_repeated_source is set true.5 B# w# I0 U$ h2 Y
  492. ; http://php.net/ignore-repeated-errors4 Z8 z# m4 w3 E+ i4 Z' H
  493. ignore_repeated_errors = Off% }5 ]( W8 W( N9 D  x
  494. # e, Q# x' b7 J2 ?! a# S
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    ' [' |4 {' D1 x! K% w& k( V
  496. ; is On you will not log errors with repeated messages from different files or
    & `* Q3 M, K; s+ X6 g6 C' t% A
  497. ; source lines.
    ( D1 L* F7 ^& D
  498. ; http://php.net/ignore-repeated-source* l6 c9 V" F" y0 l* X: [$ H2 N" d$ [
  499. ignore_repeated_source = Off% o- u0 `; g. A% z! P5 `+ C1 s9 Q9 P

  500. % `. E0 j: z' p  ^% g
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    / _: H2 h& x* `. f* a4 S! A  U' |
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    3 o4 u- Q4 r8 ?1 e
  503. ; error reporting includes E_WARNING in the allowed list/ t2 M- J4 Z0 D/ n+ S
  504. ; http://php.net/report-memleaks7 f1 t" {4 O9 {6 a2 c/ ?( A$ p
  505. report_memleaks = On* E/ c0 x5 |' Q' Y
  506. 8 b& e' M/ c! ]- C! Q2 [# s
  507. ; This setting is on by default.( V7 a8 F7 S4 e. ^# I. q' Y
  508. ;report_zend_debug = 0- X9 Q; ?! `! G  C  X1 B% l
  509. ( w/ W! X( {  I' o# v/ K- r  w
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    0 Q& [6 V; C* s" |, R
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    8 V/ [/ S0 ^. D2 K5 h  I5 A" C
  512. ; however be disabled on production servers.
    8 z9 m# J0 W. ]/ m
  513. ; Default Value: Off% v1 E5 q- z+ P2 N! o5 {
  514. ; Development Value: On7 f# ^4 m) s0 l. p
  515. ; Production Value: Off8 }) E2 f- s6 I
  516. ; http://php.net/track-errors6 r0 @- P' X% g' q. v
  517. track_errors = Off9 x1 l( \1 q0 x. F
  518. % E. b' [# `6 w$ _8 x- _
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    1 r* ]  F8 }% P+ I% m! H1 E) r( W
  520. ; http://php.net/xmlrpc-errors
    : d% S& {/ S- Z
  521. ;xmlrpc_errors = 0/ _$ w* \$ q  V( \4 w

  522. ! e, G; {4 Y# \! ~3 E
  523. ; An XML-RPC faultCode3 f  n0 `& k  f, u+ Z4 }4 U7 C4 v
  524. ;xmlrpc_error_number = 0$ I" v  c$ W. s

  525. ' v2 _2 @! q9 l& g0 K% B1 B
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    / `% @% c: C$ o/ I
  527. ; error message as HTML for easier reading. This directive controls whether- |, y: K3 K! s: q
  528. ; the error message is formatted as HTML or not.# ^( h4 L' f* b. ?" P& d
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    9 L  B6 r4 g8 n/ T9 g4 l. m
  530. ; Default Value: On7 F" G& O  m0 Q- z
  531. ; Development Value: On
    5 j! E9 g- g: v& q  b# n# t: n
  532. ; Production value: On* W0 t/ o3 C  Z" X( C: `, a: U
  533. ; http://php.net/html-errors
    / R/ I4 E: K3 l# F  C+ E, E
  534. html_errors = On' y4 ~8 ?0 l  L5 \5 Y

  535. - a: o+ W! p8 q5 T" F7 `' G
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    / h. C4 W5 n/ f/ {2 t; J
  537. ; produces clickable error messages that direct to a page describing the error; h  P9 n. B" H# V3 _
  538. ; or function causing the error in detail.
    ; N, C" M" i2 |: E( B
  539. ; You can download a copy of the PHP manual from http://php.net/docs4 Q5 }& n9 v" J& i+ u
  540. ; and change docref_root to the base URL of your local copy including the1 I2 [2 d5 L% h, Q
  541. ; leading '/'. You must also specify the file extension being used including
    ; `6 o% }$ J2 Y" ~% `. m- \
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    ' ^' C9 b: q8 C  K
  543. ; case no links to documentation are generated.9 Q% k( @" W7 N% S) ~+ _
  544. ; Note: Never use this feature for production boxes.  q0 ?& }4 s5 g7 ~1 z; f* B
  545. ; http://php.net/docref-root* V) `( p( W8 T, e6 |
  546. ; Examples
    4 |. t. x1 k' `. W. u+ b8 O1 y  V
  547. ;docref_root = "/phpmanual/"; o+ q" X6 w2 U9 ?& w

  548. 9 f2 a- b- D* {4 C& ?1 K& r. i
  549. ; http://php.net/docref-ext8 m1 U2 l2 O' A9 X6 l  @6 w
  550. ;docref_ext = .html
    1 V# V$ \6 u. Q$ M" J2 A! V+ s

  551. * \" A, J" A9 @/ j/ m
  552. ; String to output before an error message. PHP's default behavior is to leave% P& @* l7 w" b( h1 N9 d( f
  553. ; this setting blank.
    " o9 \5 X. E, m$ P7 O
  554. ; http://php.net/error-prepend-string/ D( g' k, m- J  W
  555. ; Example:
    0 X6 ]9 ~, [7 ^- A1 z$ k! v) f
  556. ;error_prepend_string = "<span style='color: #ff0000'>"8 F4 G4 R4 Z( E+ }& t
  557. : Q: v5 v- y# c' e* z8 z7 z
  558. ; String to output after an error message. PHP's default behavior is to leave
    1 {- z" @. B) L' l3 f" ^3 P
  559. ; this setting blank.' G% {. D4 r( `* u6 }& ?7 @" H
  560. ; http://php.net/error-append-string+ F& e) q7 c' q, N$ T7 g4 B2 O8 q
  561. ; Example:' Z- _3 C0 \- }% o& H1 J
  562. ;error_append_string = "</span>"
    " _9 c8 z$ I8 t- p/ H7 v* K7 \/ r$ x
  563. ) N1 K( j( _2 v
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    & `5 {$ a4 X4 i- y( c( h& o
  565. ; empty.
    8 x; n4 n2 n6 U( x1 N
  566. ; http://php.net/error-log
    / I4 |! ~$ J3 L, P2 ?
  567. ; Example:. T% d; l+ ^% I1 @8 z
  568. ;error_log = php_errors.log
    0 o3 u1 C9 z- T
  569. ; Log errors to syslog (Event Log on Windows).) J. G! z1 k' a  Y2 X' U1 Q
  570. ;error_log = syslog9 A, j! F2 I1 ^$ @4 o  a
  571. 9 q, |, [+ A" c  Z) }* W/ s5 B, M
  572. ;windows.show_crt_warning0 {7 ?: o4 N# j, g  ~, O
  573. ; Default value: 0
    ; @0 p4 n4 o8 E7 U
  574. ; Development value: 0; ]2 a. q1 u* J" Y. Y$ W8 R( n' y
  575. ; Production value: 08 K# o( Q' Z9 k- @) q

  576. / V# @; z& P3 W" C9 R' i0 @
  577. ;;;;;;;;;;;;;;;;;
      t. v& S" l/ s* M8 s1 P+ J7 D
  578. ; Data Handling ;: F+ ^6 h1 K6 P
  579. ;;;;;;;;;;;;;;;;;
    & }- f0 z" B/ t9 G6 \
  580. , d' x  _6 I# T7 x  ~& F
  581. ; The separator used in PHP generated URLs to separate arguments.7 p9 }5 H7 z1 q% {! Q
  582. ; PHP's default setting is "&".+ B, h1 `7 W5 J: K& a7 C" ?
  583. ; http://php.net/arg-separator.output: f0 _8 y+ @" b. S% K6 Z9 v
  584. ; Example:
    9 ^+ n( w, a# L/ S; j, j2 G
  585. ;arg_separator.output = "&"6 y: G2 i9 }8 E9 P6 K# Y, B2 }6 i  P
  586. * O4 A& E! c7 S7 I+ d  Z) U
  587. ; List of separator(s) used by PHP to parse input URLs into variables.: F* N8 y, T* C
  588. ; PHP's default setting is "&".
    % \8 M' |5 z7 G1 f! T  P
  589. ; NOTE: Every character in this directive is considered as separator!
    4 g' V9 @  j7 M7 d8 j
  590. ; http://php.net/arg-separator.input  N1 }6 {0 ~6 h# D- K
  591. ; Example:, N* R7 e, w2 e5 S3 A
  592. ;arg_separator.input = ";&"
    # R0 e$ S5 U0 @+ q" n
  593. ) n7 w  z' a3 x  J6 R
  594. ; This directive determines which super global arrays are registered when PHP6 D& ]/ {' D9 |5 a/ }
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    & z4 X* ]6 r1 L) j# ]5 g+ `- h
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty- }* j; o8 \% Z! D; m$ N
  597. ; paid for the registration of these arrays and because ENV is not as commonly* u8 M) V/ g2 h6 L
  598. ; used as the others, ENV is not recommended on productions servers. You5 k& D: ?6 v4 Y& v; Q
  599. ; can still get access to the environment variables through getenv() should you  N$ |6 `& x- Q$ W. W5 D7 d
  600. ; need to.  K6 E" x- u- E" R
  601. ; Default Value: "EGPCS"
    & Y; f) c  C+ }/ ^/ w
  602. ; Development Value: "GPCS": b  e% ~& C: \5 l' K
  603. ; Production Value: "GPCS";& [; z. `6 a- a" G6 m
  604. ; http://php.net/variables-order
    0 e/ h  B% a& e6 c) ]+ P2 b( m/ F
  605. variables_order = "GPCS"$ l/ O8 N7 l$ G7 |; a2 W7 |1 @. c

  606. + _8 Y  F7 n' g0 y$ c8 J% H
  607. ; This directive determines which super global data (G,P & C) should be7 A8 ~3 I3 l7 d& J
  608. ; registered into the super global array REQUEST. If so, it also determines7 Y% i& E4 I7 U# h  n
  609. ; the order in which that data is registered. The values for this directive
    $ b( Q* U9 L% m0 o& L5 ~% ?
  610. ; are specified in the same manner as the variables_order directive,
    ) b* |7 B& G! I  s
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    + _' I; I. }) |1 T! x
  612. ; in the variables_order directive. It does not mean it will leave the super
    # D/ D1 m8 A$ b! m& T
  613. ; globals array REQUEST empty.
    $ n1 _( C& F) S, _, l; V8 e) e. A
  614. ; Default Value: None; u" a7 Y1 k+ [/ B5 n8 r3 f6 Y
  615. ; Development Value: "GP"
      y. A  {! V; S. L) |
  616. ; Production Value: "GP"9 @1 p  p( Q, ^: R
  617. ; http://php.net/request-order
    4 V; f4 M9 Q" {8 l/ e
  618. request_order = "GP") V$ K! N. I! ?% r- {6 L4 b- S
  619. . O) A& Z( G- z) F
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    ! m* s5 x+ O! \9 K. P% E
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    3 A# u+ V' b) p" u6 D5 o& J0 j
  622. ; is invoked. $argc contains an integer representing the number of arguments
      t0 k) O2 e. a' m
  623. ; that were passed when the script was invoked. These arrays are extremely7 j- d) @; \( b4 A' G% i( D7 U
  624. ; useful when running scripts from the command line. When this directive is& D  w3 j/ K1 ?% b" p7 u
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    0 c4 e( {4 q" h% _- Q, C
  626. ; a script is executed. For performance reasons, this feature should be disabled
    - I2 E( \0 a' M8 y
  627. ; on production servers.6 G; a0 s+ H$ f5 Z! \
  628. ; Note: This directive is hardcoded to On for the CLI SAPI: Y% @, O$ S6 l0 f; x
  629. ; Default Value: On' ]/ f; G. ^8 y, i- I- L, q0 C
  630. ; Development Value: Off
    5 R% C8 ^( T" n0 o( s
  631. ; Production Value: Off
    2 l4 ]3 w  ~1 w  n+ S8 ^
  632. ; http://php.net/register-argc-argv
    " w$ Q# T: g; s( y1 o, M
  633. register_argc_argv = Off
    ! p1 C) ]: U) v- e$ Z$ Z

  634. 1 N" N6 s5 ?9 q2 H& \2 F
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're8 a. ]* K; ]. J  X& g! |
  636. ; first used (Just In Time) instead of when the script starts. If these
    ' n: ^/ n3 r( G1 ^* v
  637. ; variables are not used within a script, having this directive on will result
    0 p- H+ h7 G: H: ~+ l
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled' I5 C9 q. K# }7 j9 l  c4 z0 \% p
  639. ; for this directive to have any affect.. k; j8 o% w# V. S
  640. ; http://php.net/auto-globals-jit, D7 ^, L5 E7 v! |( `9 [" q3 R
  641. auto_globals_jit = On
    * Y* b* l$ c: U2 I# ]

  642. 7 i5 G, r9 _2 P& Q1 O/ j
  643. ; Whether PHP will read the POST data.% z& T9 q' k7 X
  644. ; This option is enabled by default.$ v$ @! g, T, C, L; D* H: {/ v8 |: B
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST# u: n4 B& c: G1 A* o
  646. ; and $_FILES to always be empty; the only way you will be able to read the! M' H) A% l9 M( P% l
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    5 r  z: d, x: \7 ~8 t
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.; y& y- k# I7 d2 w
  649. ; http://php.net/enable-post-data-reading6 J. p) B/ g7 C" \- c6 @9 {  \
  650. ;enable_post_data_reading = Off
    ! I  y# N- I, g4 j# Y. F, C
  651. ! ?, i  Q: W9 Y# N* f8 a5 S0 W
  652. ; Maximum size of POST data that PHP will accept.
    / A' `- T& {. s# ^$ q2 Y; l
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading8 N+ Q1 @3 R+ ^1 F6 T; s
  654. ; is disabled through enable_post_data_reading./ [9 ~% C" D9 c
  655. ; http://php.net/post-max-size
    ! h( q( i" u+ I& \0 k: H
  656. post_max_size = 50M
    & y/ J: ^% z* l% q, g, m
  657. 7 Q( I; ^+ `8 S! `$ T
  658. ; Automatically add files before PHP document.6 n9 C# Q# E  v6 l
  659. ; http://php.net/auto-prepend-file
    5 I3 R, q6 m; Z# \+ s
  660. auto_prepend_file =( a# ~0 u' Q) H( v

  661. ! Y% T9 @9 k. _3 `
  662. ; Automatically add files after PHP document.5 N& L; l* D+ q, t& T
  663. ; http://php.net/auto-append-file
    0 E0 H# A6 `; L7 V* Z/ ?
  664. auto_append_file =: m9 n1 b3 f8 C

  665. ( ?* a4 t8 o7 C- h* J! H7 |: Q
  666. ; By default, PHP will output a media type using the Content-Type header. To5 E+ n) v: g9 ~! D& d" I
  667. ; disable this, simply set it to be empty.# p# r3 x# }! z7 x/ q- W$ L, F
  668. ;
    8 |9 p5 ?4 A. d% \& L
  669. ; PHP's built-in default media type is set to text/html.
    # J2 e1 y" s( H
  670. ; http://php.net/default-mimetype
    & D* H* x( L7 h7 B4 ~! y
  671. default_mimetype = "text/html"
    3 h6 H, u, r* e3 g$ @6 Y9 L9 r
  672. 5 \2 h- X# k7 t( t  ?9 V
  673. ; PHP's default character set is set to UTF-8.
    - g, b) ~" B5 e- a  o+ t5 ^2 O2 x
  674. ; http://php.net/default-charset! r* C: p5 ~0 C, ]
  675. default_charset = "UTF-8"
    $ ?" p& ^+ ]" I6 T; C

  676. " k7 a1 }' N" \* P/ a- y
  677. ; PHP internal character encoding is set to empty.
    * B! P, Z) U+ _4 ^) n( z( F  y% V
  678. ; If empty, default_charset is used.! K- ^; ?' Q) D  n& S" ?: b- [9 ]
  679. ; http://php.net/internal-encoding
    % w" B4 l' q0 ?0 B+ N& [% C2 D' x
  680. ;internal_encoding =
    - @# [/ Y* I% e6 O; ]
  681. % [; z6 F& p& U" I$ [  X0 t
  682. ; PHP input character encoding is set to empty.( b( E& s0 Q# ?. }& \: |% ~
  683. ; If empty, default_charset is used./ z6 K& z* C( Q
  684. ; http://php.net/input-encoding
    2 j0 N9 l* m; l3 x' Y* {( m# h/ F
  685. ;input_encoding =  {5 [) z: _3 K; {

  686.   x* _: S  N7 U8 `0 b& m0 ~+ L
  687. ; PHP output character encoding is set to empty.9 @1 o6 a4 X! p# X
  688. ; If empty, default_charset is used.- z9 i6 Y2 D1 U5 k& A% j6 \0 J( F7 p
  689. ; See also output_buffer.
    + D/ D( M4 Q. E  J
  690. ; http://php.net/output-encoding
    - M- p9 [8 R. G
  691. ;output_encoding =# ?5 D% T8 z+ i3 i

  692. + R) c# \7 B+ W5 C& ?# L0 y
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;) I/ \0 @1 u% e/ }
  694. ; Paths and Directories ;0 \) Y- |- M7 x8 I; o  C1 A0 n
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    " G) {) ]! m% y

  696. 9 U" W, q0 E6 _! Q
  697. ; UNIX: "/path1:/path2"% j0 @& N* Y8 y* [/ t$ T. o4 ^. E+ w
  698. ;include_path = ".:/php/includes"( v. T( Y' b8 h. Z( w0 Y6 _
  699. ;; `) h) V$ ]* A, p9 E
  700. ; Windows: "\path1;\path2"0 y" ?, A6 C; U2 N, U
  701. ;include_path = ".;c:\php\includes"
      c: |! R) c& e& q0 \) [
  702. ;
    . Z& N3 X$ C" ?' ]/ T
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    * U/ o/ {& z/ N, o2 }4 d
  704. ; http://php.net/include-path: ^2 H! H' t. `5 h0 k
  705. 8 Q5 t% `  q7 y" M7 V; g* _( _
  706. ; The root of the PHP pages, used only if nonempty.0 Y( E  k7 H7 N0 o7 z# I$ ?: M
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root/ o7 M- D& U% d" r6 c8 b
  708. ; if you are running php as a CGI under any web server (other than IIS)
    3 P+ L# G& {, x  U* j$ B
  709. ; see documentation for security issues.  The alternate is to use the
    7 L$ Y) w, K2 I
  710. ; cgi.force_redirect configuration below! p4 V$ w4 O8 ]# c
  711. ; http://php.net/doc-root
    1 k8 }  L7 u/ \  o* T' k6 M
  712. doc_root =# I9 D! t6 I) n& X3 F* @

  713. 7 l5 p0 b" x1 f
  714. ; The directory under which PHP opens the script using /~username used only2 O+ f( ~% `* u& ?
  715. ; if nonempty.7 M; d! a, t' u' M! L; Z' n
  716. ; http://php.net/user-dir# E: j3 a" H9 d0 F  n8 |+ n4 I
  717. user_dir =
    3 w2 }6 y+ ?4 S1 k: J

  718. 3 T- @* t; S* a* T* E1 y
  719. ; Directory in which the loadable extensions (modules) reside.( O2 v7 y5 J$ i' x
  720. ; http://php.net/extension-dir' ], j0 T8 p0 A  _+ H; \
  721. ; extension_dir = "./"' o) l! p/ c2 T3 V) F# ^2 {
  722. ; On windows:) N$ L4 u! q" T  ^% A/ Y) M& _# Y
  723. ; extension_dir = "ext"
    6 a! ]8 C+ m0 [* L- z% t
  724. 0 ^: D6 A+ \4 n4 e
  725. ; Directory where the temporary files should be placed.
    * G- O; i- T0 A9 g
  726. ; Defaults to the system default (see sys_get_temp_dir)1 X8 k8 a5 [. [' _' w
  727. ; sys_temp_dir = "/tmp"1 h8 t1 L/ K: ^) l

  728. 2 u  H% G, ]$ t; V" I/ s
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    : d2 G% p3 r% O" Q& b0 w& V
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically+ O* }/ E. @0 i
  731. ; disabled on them.
    6 O5 n; D$ i* [4 [
  732. ; http://php.net/enable-dl: ^" M+ S- w4 M! K; T
  733. enable_dl = Off
    5 w) J6 p! D; G, \8 N
  734. * d! Y) f! O! b6 K# s, t( @
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    % }5 }  h& g  }+ N
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    0 A/ T0 q! b) H6 J; w+ @/ f2 _
  737. ; turn it off here AT YOUR OWN RISK3 g* s2 c  g" e: X- h3 V- e
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    . K% d% n/ F+ p% L" ]) g3 L5 V  q
  739. ; http://php.net/cgi.force-redirect7 \& }7 D1 c' X( V: F9 ^
  740. ;cgi.force_redirect = 1( k- B" t) C: G1 I3 U# K4 N3 e: l
  741. " `+ ~" i4 W1 ^0 f
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with$ V0 u4 |0 ^" u
  743. ; every request. PHP's default behavior is to disable this feature.! U) I$ r* s& c/ N, z
  744. ;cgi.nph = 1! t+ m( }; s/ l! Q1 s
  745. 5 b9 F) {$ Q, M$ Z7 M: O" p
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape5 {3 ]" @* f( N) l9 G- u& I
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    ; v( f* Q4 z/ V+ _; y( r
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    % N  y! Y' Y9 X& G/ A
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.7 P3 [) d" ~2 a8 z" C5 J2 i
  750. ; http://php.net/cgi.redirect-status-env) k4 @3 c3 @; M0 \5 K
  751. ;cgi.redirect_status_env =: D; E8 s; x: }; k
  752. . O2 g" s5 D5 W% ?& j& y! a$ B& U
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    - N5 Y: k! \, S: J- p) I) m: w
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    ; F: ]+ v. E- V( s, U# B# G" m
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    " U6 T0 I/ D  s8 J
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    % U; m/ _: x6 x7 m/ b
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    1 B- a/ s8 h3 t7 ?$ n
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.% b" ^% m& _& a5 o3 A: A
  759. ; http://php.net/cgi.fix-pathinfo
    8 A9 Z$ ^$ _5 u/ a, v" m
  760. cgi.fix_pathinfo=1/ A1 t$ F4 g' t4 K8 }( \
  761. 1 G5 m. w6 w+ q4 Z
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside6 u7 J: M" P5 K# n% [/ Y
  763. ; of the web tree and people will not be able to circumvent .htaccess security.: ?" H3 p) C+ Y4 _- h; n
  764. ; http://php.net/cgi.dicard-path  A1 n' w, m- ~, ^* `/ p" S
  765. ;cgi.discard_path=1
    $ F! \( |! k1 v) c2 G4 v

  766. 6 b( T9 R5 o( _0 E
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    ) o# G6 F! x) _' P4 n
  768. ; security tokens of the calling client.  This allows IIS to define the' \9 h! j9 @0 |/ l+ ]) r
  769. ; security context that the request runs under.  mod_fastcgi under Apache8 Q5 X+ T; ^7 |# \, ]$ e
  770. ; does not currently support this feature (03/17/2002)5 l- t, e: D2 H9 S3 t& ]/ A' V
  771. ; Set to 1 if running under IIS.  Default is zero.
    ! e% B% i  d9 X6 O; }4 `, E# E
  772. ; http://php.net/fastcgi.impersonate: F2 ]0 K0 K5 b4 ]  K1 \1 w
  773. ;fastcgi.impersonate = 1% _  ]8 {9 Y1 ^0 u  Q. ^- v
  774. - B, w& p: d( m' h' {$ ]
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable+ O9 C# X: t! T9 D1 o- T0 U
  776. ; this feature.
      |' L. M# n. `
  777. ;fastcgi.logging = 0
    & y" P* c8 |1 Z$ C/ W4 j
  778. 4 @6 X: c3 h6 [
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to& J# S) N  U) r# v
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that/ A  G+ Z- ]  r' R
  781. ; is supported by Apache. When this option is set to 1, PHP will send+ D0 V( S; X6 l" H
  782. ; RFC2616 compliant header.
    " R8 i4 W, q% J* x# w- U9 y9 L" T
  783. ; Default is zero.# G9 S5 K- I+ b: t1 P
  784. ; http://php.net/cgi.rfc2616-headers8 j- ]8 ?. E0 a0 {
  785. ;cgi.rfc2616_headers = 0
    " A5 H8 T% B" ]# n/ u! ?3 t

  786. 3 f" F6 w. e* ~4 b  p
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!+ c) E) f' K0 H$ U; @" F
  788. ; (shebang) at the top of the running script. This line might be needed if the
    6 e+ C2 _/ A! _; V$ v
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI& \8 c9 }: V  i8 Z
  790. ; mode skips this line and ignores its content if this directive is turned on., I* T$ q6 I3 [2 f7 h( _7 a6 X
  791. ; http://php.net/cgi.check-shebang-line
    ; `1 B' I! s0 J* n1 k
  792. ;cgi.check_shebang_line=17 z* W/ M3 i+ Y) p3 F
  793. 4 U- R/ v0 D( m/ X4 @
  794. ;;;;;;;;;;;;;;;;
    9 ~4 ?1 f7 H' R- J
  795. ; File Uploads ;
    & s/ _# R  P- B' X0 @' s* a: E" U
  796. ;;;;;;;;;;;;;;;;
    7 l: M% ?7 _; R8 {
  797. % t& T6 L! d( F0 d& {7 I, \0 a: I0 a
  798. ; Whether to allow HTTP file uploads.0 Q' y% D3 ]! e. s& t" c8 j! n! Z
  799. ; http://php.net/file-uploads! l  v2 t$ Q. l; j/ l) y- d. J
  800. file_uploads = On9 ~: W4 |$ I8 H. `& Z: B
  801. ) @" P) I5 i/ Q& Z! c, }
  802. ; Temporary directory for HTTP uploaded files (will use system default if not: w7 u* s6 h" u  i; n8 n
  803. ; specified).
    . r, H) A3 [4 Y9 d" _, _, p
  804. ; http://php.net/upload-tmp-dir, {# k* P! z4 X" n3 Z+ l
  805. ;upload_tmp_dir =
    ) @: x; _; T- |8 P& M. v) V

  806. & U; ~0 z" h1 H! N/ Q8 ^
  807. ; Maximum allowed size for uploaded files.2 N8 v. R2 l; o& l' k4 z
  808. ; http://php.net/upload-max-filesize" L+ u; c5 I, }. c& l/ d
  809. upload_max_filesize = 50M
    & N6 V" Y8 k& m, g- \: O' V# o3 Z

  810. 7 I8 J# N" L* _4 @/ |/ O
  811. ; Maximum number of files that can be uploaded via a single request
    ' N0 N9 |1 B. \% ~; Q
  812. max_file_uploads = 203 J% ?  P* [2 q5 \& B" |

  813. ! }5 a" V2 C9 V5 p
  814. ;;;;;;;;;;;;;;;;;;
    " h7 y& d1 P3 O" Z& R. N, C5 D
  815. ; Fopen wrappers ;# ]* l  b* X+ a6 |2 r+ h9 y3 _
  816. ;;;;;;;;;;;;;;;;;;( ?3 n7 N! C& @5 ~, h

  817. : z' X2 Q  X  h3 N) c
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    . P" `# ^# X' F' T
  819. ; http://php.net/allow-url-fopen
    8 V/ {$ t" s) Z' F- e1 F0 V
  820. allow_url_fopen = On) `- U0 |! j# v5 m3 h: L

  821. 8 N" y2 Q% H% g9 O. N: L; n
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    % \5 X: C, p* G: Q! ^7 m
  823. ; http://php.net/allow-url-include
    1 _/ r4 _1 C8 \' v) N
  824. allow_url_include = Off
    ) b0 M# E2 x6 G( s. I! i. Q0 J9 y9 J3 t
  825. + \. a3 Q0 I, f
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    % U# Z/ y9 x, c, a
  827. ; for this is empty.
    ) d% Z9 u2 [, R! v: J  Q* n
  828. ; http://php.net/from4 H# \. K$ Z% U
  829. ;from="john@doe.com"
    , w6 Z8 ]: P, v" j$ }2 s! O
  830. 4 O' e) @0 o% {  S: K
  831. ; Define the User-Agent string. PHP's default setting for this is empty." J  U9 X# L# O& m
  832. ; http://php.net/user-agent$ z" |# P' Q$ y4 f
  833. ;user_agent="PHP"
    - H4 |/ O& m2 G% c" X
  834. ; X3 a" Y  `7 y% B
  835. ; Default timeout for socket based streams (seconds)
      O( j* U; A6 o: s2 a, R
  836. ; http://php.net/default-socket-timeout
    . m2 |" _4 J: ^) u5 y6 a
  837. default_socket_timeout = 60
    9 _3 x0 i9 h+ A0 }5 J

  838. , e, v' n3 i' M8 g2 S  O8 r( `
  839. ; If your scripts have to deal with files from Macintosh systems,* `+ V/ s) L# X& p
  840. ; or you are running on a Mac and need to deal with files from* M4 J: w4 w  l$ n; p3 I9 ^; Z
  841. ; unix or win32 systems, setting this flag will cause PHP to4 ~1 `; i- q% \% c
  842. ; automatically detect the EOL character in those files so that5 R6 L6 S- A2 A
  843. ; fgets() and file() will work regardless of the source of the file.
    7 T+ A% ?7 X0 ^; k* a! \
  844. ; http://php.net/auto-detect-line-endings5 w+ e2 _, @% t9 `
  845. ;auto_detect_line_endings = Off
    % N3 K" h0 a* z6 M/ g' b: ]# O
  846. # {5 H% c$ E. L# x/ \
  847. ;;;;;;;;;;;;;;;;;;;;;;
    0 b$ D% {3 k5 @8 c0 X  O+ U
  848. ; Dynamic Extensions ;
    - |$ z& }0 L  z
  849. ;;;;;;;;;;;;;;;;;;;;;;
    ( d6 G) Y1 ^2 E: H
  850. 4 p: @# n* q: V0 I% z
  851. ; If you wish to have an extension loaded automatically, use the following
    6 O/ W0 T3 o- ]. @) q* z
  852. ; syntax:8 S6 }* ~8 b* [
  853. ;
    % g5 n* k: b+ q  `3 |9 m
  854. ;   extension=modulename.extension. [5 ?" H, r+ p$ k2 A
  855. ;0 [% T" h8 @' J; U# i8 _
  856. ; For example, on Windows:3 p) |/ Y: b% c! [+ D2 p/ ^' o
  857. ;; B7 {2 A5 \  D0 [8 ~# F- K- Q
  858. ;   extension=msql.dll: F4 j) V6 j. [7 L# U8 M
  859. ;% j+ c, N. W$ K/ L4 c% Y9 R* U
  860. ; ... or under UNIX:
    ; z, @) M7 {2 \8 ^  x, k
  861. ;# J8 |/ @- y2 l- }
  862. ;   extension=msql.so
    7 x7 B' b5 E' y
  863. ;
    / N2 d. h5 k' _8 a. A  o! L
  864. ; ... or with a path:7 {1 E: h0 N' v) o3 k' L# L
  865. ;+ x- D& Q/ g& j
  866. ;   extension=/path/to/extension/msql.so
    ) r1 M( w5 Z' ?( B
  867. ;4 @5 l$ r, I5 f1 H: ?; p# ]
  868. ; If you only provide the name of the extension, PHP will look for it in its
    ; C2 ?# [: ~6 U6 O
  869. ; default extension directory.% i- X; A; N2 D" k
  870. ;
    * h3 V. J% o# i( Q) j7 k
  871. ; Windows Extensions
    4 e2 d  w- X) ~4 e# K! m
  872. ; Note that ODBC support is built in, so no dll is needed for it.8 D: G7 g7 @, v- _3 I
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)1 q% }3 r, U- E5 e( W* ]
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).3 K2 a6 Y  x. F' x5 i( S
  875. ; Be sure to appropriately set the extension_dir directive.( t& E  E& A/ e; C
  876. ;
    : f  K" e& P3 g* H6 L. H1 J! q
  877. ;extension=php_bz2.dll0 `5 V, P4 b$ V
  878. ;extension=php_curl.dll
    ( m5 c/ N$ i3 S- v( u9 r6 F
  879. ;extension=php_fileinfo.dll
    - n. N. u/ |3 t% |* ^
  880. ;extension=php_ftp.dll/ ~* C2 e; O5 W$ H: z3 x  L
  881. ;extension=php_gd2.dll* m0 [8 W2 y' K# z( I# G& j
  882. ;extension=php_gettext.dll0 P4 J* b; }9 b: X* Q: R3 j
  883. ;extension=php_gmp.dll' R1 S4 l( x/ s( N5 y2 a: n; }
  884. ;extension=php_intl.dll9 n- D# e, H6 d/ O; r6 _# b
  885. ;extension=php_imap.dll
    ( \/ r; D% @. l+ |
  886. ;extension=php_interbase.dll
    % z" }5 G/ c2 Y
  887. ;extension=php_ldap.dll- J- ?8 O8 p& e+ i. f) }( ]
  888. ;extension=php_mbstring.dll  J& v0 g* {" x5 W% N$ g. k3 f
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    , q$ q) X/ N" C! q+ j5 t
  890. ;extension=php_mysqli.dll
    / ?4 i  s. \8 V, ]" q
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client, I5 j; H- M1 R  ]
  892. ;extension=php_openssl.dll
    " I8 Y4 I% W/ h  i. S; t
  893. ;extension=php_pdo_firebird.dll' L9 Q  r9 E5 P. d
  894. ;extension=php_pdo_mysql.dll
    & {* X2 g8 H  A% [1 ^0 v
  895. ;extension=php_pdo_oci.dll
    9 B; |) v& C4 K4 A
  896. ;extension=php_pdo_odbc.dll
    . |" s7 a, x/ @: o* g
  897. ;extension=php_pdo_pgsql.dll! C( |# {1 O* c/ w; d
  898. ;extension=php_pdo_sqlite.dll8 }% w: @0 P. O
  899. ;extension=php_pgsql.dll
    1 h: P& M/ E  I3 N( p
  900. ;extension=php_shmop.dll
    5 J" N6 F. H" w$ P" S

  901. / h" C) N8 V* A! n% @+ w5 G
  902. ; The MIBS data available in the PHP distribution must be installed.! m1 n. ~4 I3 t/ R% ]
  903. ; See http://www.php.net/manual/en/snmp.installation.php. X6 {& j- y; {# [
  904. ;extension=php_snmp.dll5 M  ]4 b" C( X
  905. / u* ?! k% x. U) Y
  906. ;extension=php_soap.dll
    , a7 R+ F5 V3 v+ w; [$ z1 v9 P
  907. ;extension=php_sockets.dll; |% H, W; g/ R' t
  908. ;extension=php_sqlite3.dll0 I2 [2 X8 m" d5 ?$ p. ^
  909. ;extension=php_tidy.dll
    / Z+ ~; k- `! E' m2 o( G
  910. ;extension=php_xmlrpc.dll
      Z$ R% F: L$ z* R- u1 V: i
  911. ;extension=php_xsl.dll
    # K  @" ^3 U6 F0 R) a7 j/ }3 d
  912. / r3 X5 Y3 N5 o6 Y3 e
  913. ;;;;;;;;;;;;;;;;;;;
    8 ~' K! _! F6 |9 w% @& e/ H9 ?
  914. ; Module Settings ;
    # V% R8 i+ W+ w% S! f# N3 x" }
  915. ;;;;;;;;;;;;;;;;;;;
    , ~: G7 _  J9 s& p( E8 T1 s& T

  916. 6 V5 E. d$ o( E) u0 x0 X2 Y
  917. [CLI Server]( _* f: K( H& [2 c/ |/ x
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    / z" O3 J* i1 W5 z' r
  919. cli_server.color = On8 J) W) q6 r. T) x( k
  920.   p4 g2 P$ U5 M) D" n# u
  921. [Date]
    , d& ]: v5 n& i: _9 \! ^3 H7 [
  922. ; Defines the default timezone used by the date functions9 ~( B8 A3 i% I8 G
  923. ; http://php.net/date.timezone
    . r2 ^. N8 [/ v
  924. date.timezone = PRC
    - }- d3 k/ N- p2 M& v

  925. 9 `1 X5 S1 h5 Z
  926. ; http://php.net/date.default-latitude
    / B! k2 @! K+ ]4 Q/ @  I  d
  927. ;date.default_latitude = 31.7667
    0 ]2 @/ r4 }- o2 D( A" B. W+ L

  928. 9 B* `5 I+ _) K9 c+ i6 J
  929. ; http://php.net/date.default-longitude
    / b& w/ b3 z3 I* @$ [! h
  930. ;date.default_longitude = 35.2333
    0 k8 q3 Y) X* T0 a8 z, T+ Y
  931. % S% L; a. w9 Q; V6 F
  932. ; http://php.net/date.sunrise-zenith5 O! l- s8 N9 z7 [
  933. ;date.sunrise_zenith = 90.5833339 {# S9 b  S) B$ U6 u

  934. 7 z" S" R, p% d+ Q0 s
  935. ; http://php.net/date.sunset-zenith
    2 ]9 J" D, P6 o+ h
  936. ;date.sunset_zenith = 90.583333
    2 G! o  @# d$ E
  937. ( t! c+ u2 [: p7 ?( ~( X
  938. [filter]
    / d; j( q) J$ @! u% r* \" `/ _
  939. ; http://php.net/filter.default) L0 P8 r, s$ [3 F+ M$ d- T  r2 }
  940. ;filter.default = unsafe_raw* V# g& O, Q7 C/ w, S8 c/ \

  941. ' S% [. u$ A! {+ x3 c
  942. ; http://php.net/filter.default-flags2 c6 f( V+ b% j6 H
  943. ;filter.default_flags =
    7 X- J# U) k) ^  y7 K4 V
  944. 7 v0 c3 y0 s" a, ]
  945. [iconv]4 x& f( I2 ]6 T% |0 p: |" r
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.8 e3 e, Q2 }2 J0 q, B7 u
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.; F6 r. V0 S" B
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding: d2 L' k5 ]6 t2 Q- U* W& H* ?8 Y
  949. ;iconv.input_encoding =; q) ^/ N" e* z' u& x! K
  950. 9 V9 ^+ o* ?4 V; E4 q0 C( i& l
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    0 M3 q! w% S& c% Q8 m7 h, ]
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ! a+ C4 b7 E& ?4 D" w
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding' _' D3 s8 I, B1 k: _
  954. ;iconv.internal_encoding =
    1 C8 r  g( n6 c# X. g

  955. , \: e4 A. n6 K- ?! Q
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.4 O8 U+ k3 ]7 K
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.; E0 w) k0 H9 ^% d% s/ i) @& E
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    " e5 U4 P$ ^: G2 z1 M
  959. ; To use an output encoding conversion, iconv's output handler must be set
    / n6 X. t3 D2 V! R: u3 ~
  960. ; otherwise output encoding conversion cannot be performed.9 L4 o+ e; u' [+ J* ?% s2 o
  961. ;iconv.output_encoding =) v1 l8 z% a' g1 E8 ~& q3 v. c0 |

  962. - G$ [7 P. C6 z1 K; K7 T
  963. [intl]
    & I& o6 _# C$ E- n5 T1 _+ e
  964. ;intl.default_locale =) \  ~( Q( B7 d4 i5 G6 c5 P$ Q+ ~
  965. ; This directive allows you to produce PHP errors when some error6 i5 c4 @8 ^. H$ B
  966. ; happens within intl functions. The value is the level of the error produced.5 B* [+ f, r6 A, t5 W! I. O2 U
  967. ; Default is 0, which does not produce any errors.
    $ k, D+ S, z+ F( Q6 i1 n
  968. ;intl.error_level = E_WARNING
    - Z! k. `. E+ f3 F* T' Q  f
  969. ;intl.use_exceptions = 0
    ! R' [% a& L0 g( U5 E0 f% {4 R' v; F

  970. ! U/ T* V& e* e. k( u
  971. [sqlite3]
    ) P/ m! M( V+ u9 W$ c1 }
  972. ;sqlite3.extension_dir =
    - O7 Y: K* {, w1 r

  973. / `4 Q- L: j% x) k( R
  974. [Pcre]. h, a2 Q" M8 L) _+ z; H" O. K/ q
  975. ;PCRE library backtracking limit./ N$ o  m* p  R0 w
  976. ; http://php.net/pcre.backtrack-limit9 _2 y7 @8 L6 s: H: R, W
  977. ;pcre.backtrack_limit=100000
    ) q! X: Q( n1 a9 x' j: `
  978. ' R2 f& {  E4 h3 |/ v5 A; y9 J
  979. ;PCRE library recursion limit.' N" p9 v- n% K" `3 V# d
  980. ;Please note that if you set this value to a high number you may consume all
    - F* S& B7 `$ f/ i
  981. ;the available process stack and eventually crash PHP (due to reaching the1 B1 h' C  d2 W
  982. ;stack size limit imposed by the Operating System).
    3 W1 N# Y) z: i4 Y+ N& h5 L; f/ ^
  983. ; http://php.net/pcre.recursion-limit  P# f9 t! }7 g' G: r' j4 ?, G
  984. ;pcre.recursion_limit=100000
    7 |) w; @7 R$ Y6 N7 f5 x/ K' I

  985. 2 q+ i' ^$ a1 }7 ?1 h
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    6 W" s/ R0 Y) w7 u0 g* c8 G7 q! P
  987. ;library to be compiled with JIT support.' W& y1 @% V1 k& ~2 A3 R4 x
  988. ;pcre.jit=17 l1 B2 q1 z6 E  E2 m

  989. & v# M1 v2 g, k2 [/ l
  990. [Pdo]" I% f4 n9 [( ]& [8 |8 x- I; z7 P! v
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"5 @  x0 r) h3 r) V1 P
  992. ; http://php.net/pdo-odbc.connection-pooling6 k: ~- {6 w8 \& `' `! z
  993. ;pdo_odbc.connection_pooling=strict
    1 r, w6 [3 k% l/ F) Z* Q, y
  994. % P  N" X) e/ P; Z- J$ K- y
  995. ;pdo_odbc.db2_instance_name+ r- M2 {0 U; ~- ]
  996. " ?% O( G2 S% @' O/ A
  997. [Pdo_mysql]9 o7 @& x: ]: C3 m
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache8 w" m* m: F6 B2 h9 f- S/ e. J
  999. ; http://php.net/pdo_mysql.cache_size
    6 E- P- E) Q0 q6 N9 c
  1000. pdo_mysql.cache_size = 20003 O3 X. B8 ~- x) N  b% e

  1001. ; I0 N. I4 ^% x5 j
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ( E& ]: X. p9 ~. k/ g' n" d& F
  1003. ; MySQL defaults.
    # O  c! t. f8 W
  1004. ; http://php.net/pdo_mysql.default-socket
    , u. D/ K% T& W  Z  q# _
  1005. pdo_mysql.default_socket=1 i/ F- n  u- L& N6 |) l! p2 c
  1006. 5 v1 B, ~( X! V
  1007. [Phar]5 _8 x2 m- J+ e% _$ i
  1008. ; http://php.net/phar.readonly
    3 l" T0 a  E, o! A0 q2 z) A7 U) ^
  1009. ;phar.readonly = On3 w* V9 d( Z, {! h8 |1 b+ d
  1010. / {9 d$ S7 K: S0 ^7 C1 `+ B! j/ b
  1011. ; http://php.net/phar.require-hash. l# Z9 \, v  R0 {1 F% A
  1012. ;phar.require_hash = On
    7 e- Q. R( D8 t; ?1 \

  1013. ! H5 l- `6 b8 k  N2 V
  1014. ;phar.cache_list =
    6 g, q5 N( m- x9 K# P0 n7 o
  1015. : a5 {3 Q/ a; |1 \7 w; Y
  1016. [mail function]
    / F0 `5 Q: ]. b5 S
  1017. ; For Win32 only.
    2 v  w( `( m9 q: ?
  1018. ; http://php.net/smtp6 r% W- F  z. I& f; n
  1019. SMTP = localhost
    , S+ s2 L  q  f; O
  1020. ; http://php.net/smtp-port
    , {4 g2 r( h/ c: X! D9 y$ }, M
  1021. smtp_port = 258 m9 m, P! C( }6 k( X1 q* [

  1022.   \6 q4 m0 C# t: V2 s& r
  1023. ; For Win32 only.
      F# ]& Q& d& |
  1024. ; http://php.net/sendmail-from
    3 Z- `/ \4 i  f2 w/ r; Y
  1025. ;sendmail_from = me@example.com
    0 |+ w: V6 U3 I5 s# g

  1026. 8 n+ h( c# G1 }: ^% Z, ?
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").6 p( b+ N$ R' z' e8 _# m+ E
  1028. ; http://php.net/sendmail-path
    ) a, a/ ?. _3 b) c- y
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    3 ^6 Z8 N/ z8 a6 U/ {) r
  1030. ( {! G1 u" C! S5 D: g
  1031. ; Force the addition of the specified parameters to be passed as extra parameters+ v5 H% G& |( @+ g+ u. V8 m: d
  1032. ; to the sendmail binary. These parameters will always replace the value of8 K- Z3 ?! o6 }
  1033. ; the 5th parameter to mail().4 ?5 a, [" s5 p' @
  1034. ;mail.force_extra_parameters =; U* U& k4 V. e; q

  1035. # h9 m/ t) N' F& t& j3 U3 _
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    ( O8 O8 i7 ^4 P: a# V
  1037. mail.add_x_header = On! W& }" L/ N; V' N

  1038. 3 w- o" ^. Z/ q# n5 W
  1039. ; The path to a log file that will log all mail() calls. Log entries include2 F3 c  q  c) K
  1040. ; the full path of the script, line number, To address and headers.( u1 F" {8 p9 J, J! z
  1041. ;mail.log =! z7 G0 S/ @$ v) }7 s- J2 X
  1042. ; Log mail to syslog (Event Log on Windows).% t! {6 |8 h$ n$ b" y7 C
  1043. ;mail.log = syslog
    ' A7 Q5 r, d, H! F

  1044. ( U/ q6 p/ S4 v3 H' G. t- @. V6 Y& P
  1045. [SQL]- g$ [  O* a* P  N. X& J5 v
  1046. ; http://php.net/sql.safe-mode5 x5 p" Z4 w/ [& h
  1047. sql.safe_mode = Off
    $ d. y  a) S; L

  1048. 5 @& x8 W6 r# V
  1049. [ODBC]
    $ N. L  I: d+ N
  1050. ; http://php.net/odbc.default-db
    2 b7 V! o& j6 u* a  l; G
  1051. ;odbc.default_db    =  Not yet implemented2 i/ M& e- @: E8 C; d

  1052. 7 ?  ]" W, T7 G/ u$ F3 D# D
  1053. ; http://php.net/odbc.default-user" |( R, P& [% v2 ^9 K, c% o" D
  1054. ;odbc.default_user  =  Not yet implemented3 D; i8 y- R1 K9 o, e& q$ H) u/ w$ v
  1055. % y0 D; ^1 k; o  s1 L- S
  1056. ; http://php.net/odbc.default-pw
    & b! d; k/ Z( F) i& E
  1057. ;odbc.default_pw    =  Not yet implemented
    * c) a( p9 p* y: _/ F& q2 Z& r2 {: t# ^

  1058. " O' u% Y2 f4 A7 [# C/ T' e
  1059. ; Controls the ODBC cursor model.9 o  a  u! e+ \) n! J
  1060. ; Default: SQL_CURSOR_STATIC (default).
    * l( ^; Y8 A/ U0 b+ @* r
  1061. ;odbc.default_cursortype- N2 Y2 A  `3 _+ X! E

  1062. 6 |/ [# Z1 v; x7 d0 P6 l
  1063. ; Allow or prevent persistent links.$ R  ]7 g) L3 F" i# p
  1064. ; http://php.net/odbc.allow-persistent
      ]" S" n7 V; Z0 b
  1065. odbc.allow_persistent = On0 L8 o5 X! ~& v
  1066. , Z0 I$ P0 u. c  w1 n
  1067. ; Check that a connection is still valid before reuse.
    9 g" P, O( O2 @
  1068. ; http://php.net/odbc.check-persistent
    : q' q+ t" O) n* V9 H' }$ ^
  1069. odbc.check_persistent = On: \* y: l  O7 x/ P6 m

  1070. % f" w8 v2 E! W2 r# w0 S
  1071. ; Maximum number of persistent links.  -1 means no limit.  _( p! J* U; K$ W. H
  1072. ; http://php.net/odbc.max-persistent
    # C+ f( t6 }* e5 H* t0 a* a
  1073. odbc.max_persistent = -1
    1 O. k3 `: S! a, {
  1074. % m4 _' h5 K, u/ ]0 i: x! `: n
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    % L7 ~# ^: o0 x! z8 M
  1076. ; http://php.net/odbc.max-links
    2 O# w9 L, H, i" K* J
  1077. odbc.max_links = -1
    ) l, W; ]0 P4 N0 b) k2 ^2 L7 P7 l! |, }
  1078. , s+ O( b  ^5 N2 }, f0 j
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means5 J' ?+ H5 g/ Y- C
  1080. ; passthru.
    " k7 q/ f& h' o6 i4 B0 T
  1081. ; http://php.net/odbc.defaultlrl
    , K) J* Q4 ]# N8 j7 |7 F# X! G* g
  1082. odbc.defaultlrl = 4096
    . c* c) ^0 G: m, d" a2 R  x1 |; @+ Z

  1083. 9 U  P4 o# ]4 W* H$ H* N% v
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    3 Y+ s% z7 i/ ]) k9 _' J
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    ) a; m& }8 `) {
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode% b8 u* N- {' D9 z9 P' e! J
  1087. ; http://php.net/odbc.defaultbinmode/ Z/ {2 s$ D) n& E/ q
  1088. odbc.defaultbinmode = 13 F* C9 E( s3 i

  1089. ; G# u) ]  V3 j# B  b; r$ @
  1090. ;birdstep.max_links = -18 r/ q4 K" q2 |. i' |& M

  1091. 5 \# m2 y" z, B7 ^" ]! `
  1092. [Interbase]
    : n0 ^. q* P: x. H) ~5 f( ]9 ^
  1093. ; Allow or prevent persistent links.
    . t5 _$ _( {" R9 c# U) E# _
  1094. ibase.allow_persistent = 13 h# @. _: ~9 A
  1095. $ R1 S& Q1 X9 `* A: j
  1096. ; Maximum number of persistent links.  -1 means no limit.
    ' g; T3 F( p0 D' k' F
  1097. ibase.max_persistent = -1' Q; x/ X7 _. ^* G
  1098. ( V) U: ]  R% ~- q& ^  L
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    / b/ `3 s0 x: W
  1100. ibase.max_links = -19 a2 X  R4 L$ J
  1101. ; N; N( a4 ?7 t8 K% i5 L8 h
  1102. ; Default database name for ibase_connect().
    . {. c% C+ }: |+ J7 N( x
  1103. ;ibase.default_db =$ Z7 Q! g* ~. [5 [* k* N0 L
  1104. 7 w& [& B4 s1 A: Q  g& o5 y) m
  1105. ; Default username for ibase_connect().  F5 |! {" j- i3 j: R, r0 @
  1106. ;ibase.default_user =
    , d3 K% ]4 k' q  L' Z

  1107. : Z! m$ S. {# C/ N3 ~& H0 e
  1108. ; Default password for ibase_connect().) _# Z6 j+ E0 B9 _8 R0 `
  1109. ;ibase.default_password =
    5 B* U/ i4 N7 Z
  1110. % v4 _6 Z1 W0 `, E
  1111. ; Default charset for ibase_connect().
    ! }+ f. d& t# Y/ @
  1112. ;ibase.default_charset =2 A7 \8 ]' P" z, |# {
  1113. ! Y8 ^6 K2 J! A, ?, G
  1114. ; Default timestamp format.7 L% M' h( {6 M- @% i
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"3 l- D" ^) Z+ h+ g' r2 g3 h( R
  1116. # v# _5 G$ _$ s5 C
  1117. ; Default date format.
    0 O& u5 U! n# l+ A5 @1 z5 G
  1118. ibase.dateformat = "%Y-%m-%d"
    + X+ n6 [7 E9 A! L* m. S. A
  1119. 5 W$ Z# `1 U, H( X
  1120. ; Default time format.
    ( E3 o" d- |3 Z2 b/ b
  1121. ibase.timeformat = "%H:%M:%S"* ?0 O' p- |  [& @1 ?
  1122. . `, v* s) k: `, R- s: Y' \
  1123. [MySQLi]
    5 Y1 x! ?1 N* @' p$ O( \

  1124. ! ?# s* @9 {, ]. r9 j1 h! n  r
  1125. ; Maximum number of persistent links.  -1 means no limit.
    ; l( n0 `6 c% T# [1 J  i
  1126. ; http://php.net/mysqli.max-persistent
    & c* D* b4 a5 U/ k: L
  1127. mysqli.max_persistent = -16 ^0 o$ }4 w1 d' L+ ?. I

  1128. 5 `( X& `2 _7 R1 r# f3 E# |
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    ( S) J5 K& W1 c# `/ |
  1130. ; http://php.net/mysqli.allow_local_infile
    $ E" v0 v3 r$ n5 u! w' s9 D; k% c
  1131. ;mysqli.allow_local_infile = On6 I. }: |0 j# I, J, u; n2 ]
  1132. # {; D/ Y! H  |/ ]- z
  1133. ; Allow or prevent persistent links.- O3 p* g5 ^+ m9 k
  1134. ; http://php.net/mysqli.allow-persistent
    " E6 i0 J4 S) U' s: e9 ^
  1135. mysqli.allow_persistent = On
    , }$ \' k7 A3 ~" X" P2 t  {2 |
  1136. & P' |$ h5 P* T$ E: W8 q1 t
  1137. ; Maximum number of links.  -1 means no limit.9 j: v; g" ~+ e
  1138. ; http://php.net/mysqli.max-links/ Y" T$ C: N8 d8 X4 i9 K% H
  1139. mysqli.max_links = -1$ }% P, v- E2 f2 J5 Y" ]
  1140. / E* y1 O5 D& L$ g
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    + @5 H+ ~! k9 F. ~$ N- h0 z2 j2 D
  1142. ; http://php.net/mysqli.cache_size/ l% X: I5 _; B0 V. m( K
  1143. mysqli.cache_size = 2000$ o1 s( ]+ y$ M4 T/ Z

  1144. ( N3 O9 M# ?/ ^# n. t
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use  D1 D! q5 W& W# D
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    7 |) i- [. b' x
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    6 n' t) I1 u, L! ]# g" I
  1148. ; at MYSQL_PORT.
    / Q7 k) n3 y, s- W  p
  1149. ; http://php.net/mysqli.default-port
    & g, u7 F; r( i  n; B
  1150. mysqli.default_port = 33066 _% |  K; p6 i
  1151. 2 j+ W7 Z6 ]# w( @& Z/ p# Z$ o4 B( C
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in. ]- K7 B) n" B9 {( l
  1153. ; MySQL defaults.
    ; k$ k! W0 A: V, w) f) k: S4 Z
  1154. ; http://php.net/mysqli.default-socket3 P9 I9 p6 i) {" F# a
  1155. mysqli.default_socket =( b5 _' |2 l5 }/ T( ]

  1156. 6 z: p( D: J! s. P% @
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).5 W. [  v! P- s
  1158. ; http://php.net/mysqli.default-host
    - b  D4 L9 h6 r  t# D& h4 w8 n! t
  1159. mysqli.default_host =3 m5 h, T3 @6 @4 |. d  d
  1160. 4 n( X2 c5 q; X! w  y6 s
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    $ [0 ]' N% K3 s- P  u9 V
  1162. ; http://php.net/mysqli.default-user
    ; L& L1 k: N: v# f9 f* C
  1163. mysqli.default_user =
    , p& a6 j+ h* G+ P# C. B
  1164. * O# _# P9 `2 K  j5 Z
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).3 ]3 J# M% q  I$ y# k" u6 J
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    / ~6 [+ _! c. |9 I% H3 c3 b" o8 Y
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")$ q# D8 d# n! u" {( \; s9 d; L* y
  1168. ; and reveal this password!  And of course, any users with read access to this
    ! t  ^" p! k$ G, p" ^6 t
  1169. ; file will be able to reveal the password as well.& h5 G' i( D! [7 y. P; u
  1170. ; http://php.net/mysqli.default-pw
      F2 k3 l5 X5 D' n, H5 ~
  1171. mysqli.default_pw =
    + |+ S/ V; M* e* @+ K( g

  1172. - }$ ~! x3 {- q- D2 l
  1173. ; Allow or prevent reconnect
    * w; X. }* D: \* x/ `$ B
  1174. mysqli.reconnect = Off
    ! U; d. B# U& m" ~- A
  1175. " c2 G6 m# y6 l  E/ e# R# b
  1176. [mysqlnd]* {( g+ E9 a$ H$ y+ a
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    9 R2 B4 c7 ~2 ?! l
  1178. ; used to tune and monitor MySQL operations.! G$ u. E1 N8 M! J  f) p- }) g
  1179. ; http://php.net/mysqlnd.collect_statistics
    4 G! E- c6 N) `0 P
  1180. mysqlnd.collect_statistics = On
    4 \+ q4 ?% Q) J- E' [9 C

  1181. # ]& I) f2 {( S5 [: k1 r/ N+ f# g; o
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be3 J1 @9 b, a# A4 D3 i2 i
  1183. ; used to tune and monitor MySQL operations.4 [+ R( Q, _( t
  1184. ; http://php.net/mysqlnd.collect_memory_statistics2 ]8 A  x; o& h- `/ x
  1185. mysqlnd.collect_memory_statistics = Off
    / I, M( K5 l  v6 ]3 p9 D4 T

  1186. . r+ x6 V( E  P# X2 u4 J
  1187. ; Records communication from all extensions using mysqlnd to the specified log* m; Y* b, k2 t% X* ^
  1188. ; file.1 r! M2 [7 f5 I  `
  1189. ; http://php.net/mysqlnd.debug( Z! V8 [. ~7 H# Q
  1190. ;mysqlnd.debug =- |# X5 K. Y9 n( }4 I

  1191. 9 [2 n0 n% t7 c- M0 A
  1192. ; Defines which queries will be logged.
    . m8 P) W2 s" i7 Y- ~% s& @
  1193. ; http://php.net/mysqlnd.log_mask  ^/ p! f4 U" Z* o' M+ }% k2 U
  1194. ;mysqlnd.log_mask = 0
    % |# U0 |3 H. M4 w6 l! A

  1195. ) P% a0 u+ s; y2 i# l
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    + `8 `1 N0 G" n  n( D. X
  1197. ; http://php.net/mysqlnd.mempool_default_size
    , o1 i- l- ~* f9 K, s: b# Z
  1198. ;mysqlnd.mempool_default_size = 16000$ n9 Z6 s  c+ M- e( e+ r
  1199. % u% G  i$ ?" b/ O: _/ Z6 e
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.( H) _% k) G! f7 c1 ?/ x$ s$ R
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    ) t3 x. D) _5 ?& [( K3 p8 _
  1202. ;mysqlnd.net_cmd_buffer_size = 2048& [" S* _# [! t) Y/ L+ x0 v

  1203. ( Y6 b5 y9 k8 w& v2 X% O1 o" ^" L
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    ( [; f& g/ p! \) A
  1205. ; bytes.5 i4 Y/ c8 h& R/ q6 ]+ R# b9 _
  1206. ; http://php.net/mysqlnd.net_read_buffer_size( s5 d3 C# _' f( q; u! L
  1207. ;mysqlnd.net_read_buffer_size = 327687 \. r: a5 T/ f. i- B
  1208. & P" F/ y4 i' }1 i1 x- Q& l; r( c
  1209. ; Timeout for network requests in seconds.2 u6 @6 _2 `1 |& s& n9 {# r2 [
  1210. ; http://php.net/mysqlnd.net_read_timeout
    6 c; h+ e7 p/ l" \) P
  1211. ;mysqlnd.net_read_timeout = 315360007 L9 E/ F$ i6 m( R

  1212. 8 @' L( r4 x3 [, U# m
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA& a) Q! p* i9 _8 |
  1214. ; key.
      W  f- X! q3 e  I
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    4 q/ g! x4 q- i$ W+ I$ F3 O
  1216. ;mysqlnd.sha256_server_public_key =
    8 l: h$ B% O( ^$ o3 A5 h. h4 f( X

  1217.   w; Q3 T2 y/ `4 C
  1218. [OCI8], G8 d: o5 R  ~- ^, D, h4 [

  1219. ! X+ }- {9 s. _: m
  1220. ; Connection: Enables privileged connections using external9 ^2 a. l) t0 M& c- B% f
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA): E% g* Y, a% z* W
  1222. ; http://php.net/oci8.privileged-connect  d3 f4 X" X* \1 U* d
  1223. ;oci8.privileged_connect = Off" j, i8 X( l6 I! E

  1224. 3 i' `! S6 h: {; r
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    " }& s" F% j1 v- z& k
  1226. ; process. Using -1 means no limit." W1 z: u, F0 T9 v0 p. M# p& W/ X
  1227. ; http://php.net/oci8.max-persistent( q# A) U8 C8 `, G7 z3 v
  1228. ;oci8.max_persistent = -1  M- W( ]0 E" m0 s

  1229. $ c1 P7 \' R1 r1 h
  1230. ; Connection: The maximum number of seconds a process is allowed to# O' U/ ^! p3 F2 W& ^, U
  1231. ; maintain an idle persistent connection. Using -1 means idle# V2 q/ @$ J8 N( W
  1232. ; persistent connections will be maintained forever.% T- n& `9 J/ \! b
  1233. ; http://php.net/oci8.persistent-timeout1 ~  @( l8 D& k& B! O4 v
  1234. ;oci8.persistent_timeout = -1
    5 ]- }$ ~, Y& j3 P& `

  1235. , n3 S' d% W6 U% \0 r9 m; K
  1236. ; Connection: The number of seconds that must pass before issuing a
    2 r% ~- F+ v9 h# t! X, }" a
  1237. ; ping during oci_pconnect() to check the connection validity. When) _% @1 o$ F  U9 k) W$ S
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    4 a$ b# Y, x* m. {/ j
  1239. ; pings completely.% r: B  `/ c% m7 v: j
  1240. ; http://php.net/oci8.ping-interval
    $ Q3 R. [7 u' v  t8 t6 J) H
  1241. ;oci8.ping_interval = 60
    # Y# v, k3 a; h8 M, r
  1242. / H! `$ T7 k  r" x
  1243. ; Connection: Set this to a user chosen connection class to be used5 ?! h1 T1 _1 y( f% F! @
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    * d+ x: Q  H/ w* v) |/ y# i
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    3 [4 @- }5 y2 E& W# r& L6 g
  1246. ; the same string for all web servers running the same application,) ~  m( s" N- O4 v! z0 @
  1247. ; the database pool must be configured, and the connection string must
    ; t' P% i) s  u+ k8 O
  1248. ; specify to use a pooled server.! A2 p: A* f( }/ Q+ y
  1249. ;oci8.connection_class =
      S0 L, w* T9 d% [

  1250. : P0 S" q- j5 Z! R! ^/ Y; j
  1251. ; High Availability: Using On lets PHP receive Fast Application6 T9 q  I1 d5 K
  1252. ; Notification (FAN) events generated when a database node fails. The+ ~7 z2 o. u; J
  1253. ; database must also be configured to post FAN events.) Z3 O' _& V  H, C' x# @' f& w! |8 t
  1254. ;oci8.events = Off: l5 ]* J8 j  Z6 S/ o9 m' _+ Q3 c
  1255. ; l1 M5 P! |  ^( d8 i6 G, \
  1256. ; Tuning: This option enables statement caching, and specifies how
    ! i8 g& S+ w$ g0 p& Z' i
  1257. ; many statements to cache. Using 0 disables statement caching.
    ; u" E2 }8 X" u& d( N
  1258. ; http://php.net/oci8.statement-cache-size, Y) f) L% F- @) r' ?' ]
  1259. ;oci8.statement_cache_size = 20" ]5 M* F' ?1 c( }2 v
  1260. 4 ~: R; _. d( C
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    $ H' Z# F) o/ R( l9 G
  1262. ; rows that will be fetched automatically after statement execution.$ P) n4 B8 C( {7 G! m9 z
  1263. ; http://php.net/oci8.default-prefetch
    ) c+ d' ^- s  J! M/ t( n+ x9 U
  1264. ;oci8.default_prefetch = 100/ c1 ^0 d3 Z  @* _+ P4 R* m+ R
  1265. 6 e( ]) g0 E( {$ i$ t/ V% Z
  1266. ; Compatibility. Using On means oci_close() will not close6 |  R5 G5 N" n) m5 d  U
  1267. ; oci_connect() and oci_new_connect() connections.
    $ e/ a5 N1 [9 F$ v4 z- Z7 {1 X
  1268. ; http://php.net/oci8.old-oci-close-semantics* }7 e6 j4 ]% o
  1269. ;oci8.old_oci_close_semantics = Off. P+ h& R# q1 {( e4 O
  1270. 5 C5 p' T1 b/ `; X- _
  1271. [PostgreSQL]: W5 w1 o7 |9 H" p% J) b% u# v
  1272. ; Allow or prevent persistent links.* d. x# T6 C$ }6 x& y# x; g9 k
  1273. ; http://php.net/pgsql.allow-persistent
    ( h- Y6 A# T0 p7 y% F2 _. z. Z0 [
  1274. pgsql.allow_persistent = On1 `) r' j5 K( p9 \- V! X* g8 o
  1275. 1 e4 f* |0 |3 D2 R& `
  1276. ; Detect broken persistent links always with pg_pconnect().% `6 N  x" P2 ~1 S0 }$ }; n7 r; E
  1277. ; Auto reset feature requires a little overheads.7 b7 J7 _, d5 {
  1278. ; http://php.net/pgsql.auto-reset-persistent
    0 L, S3 p6 s  h9 U
  1279. pgsql.auto_reset_persistent = Off2 K5 N8 j1 E2 e

  1280. & x  }% G$ M/ {$ s5 J) A
  1281. ; Maximum number of persistent links.  -1 means no limit.& P! L' T1 W2 i* a9 U
  1282. ; http://php.net/pgsql.max-persistent2 X% i6 l3 X7 z6 r, X6 [- w! r
  1283. pgsql.max_persistent = -14 Y+ o  l7 G/ h* B" k7 z9 T; t. G
  1284. . g7 \, z& c. Q' p; g9 i
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.' r! _9 |3 o/ c; `  ?
  1286. ; http://php.net/pgsql.max-links! d* M8 ~) g; J
  1287. pgsql.max_links = -1
    2 N& d. P: a# K

  1288. $ C; D  @0 b5 m- E* z& I
  1289. ; Ignore PostgreSQL backends Notice message or not.( W2 }/ o  h8 V( t' O# r
  1290. ; Notice message logging require a little overheads.
    / G. i  y+ ~9 ~) s) H7 w% F1 b8 O# U
  1291. ; http://php.net/pgsql.ignore-notice
    7 ?& }/ N/ i0 ~' p( b$ i" g
  1292. pgsql.ignore_notice = 0. }. K4 s8 f; @9 X9 |

  1293. 3 ]2 X+ u+ w. I: L7 L
  1294. ; Log PostgreSQL backends Notice message or not.
    ) e# T! S& w6 s% s5 l8 Q. Z0 }- |
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    % [1 H" W6 i7 r) t
  1296. ; http://php.net/pgsql.log-notice7 N3 L: J& O$ q1 r6 \8 z
  1297. pgsql.log_notice = 0
    2 i. |4 r5 y( h
  1298. 6 j5 n7 |8 l" ?+ O. ^& i
  1299. [bcmath]
    # d6 ^# e. ^" x* K0 |
  1300. ; Number of decimal digits for all bcmath functions.* n4 A0 A% _9 Z9 e: s# v8 |
  1301. ; http://php.net/bcmath.scale( p7 X$ H5 k" R: }- O5 D
  1302. bcmath.scale = 06 U4 @5 E# x1 H# y- M7 U" w/ J

  1303. ' s2 C3 |, v# a+ ?% }* F* x
  1304. [browscap]( Q  m4 i9 M# W
  1305. ; http://php.net/browscap
    , b4 q  {8 F. D
  1306. ;browscap = extra/browscap.ini# c' o9 \* n* H

  1307. . Z/ D) B* y" [, ~! Y, ?% W$ O9 h: q
  1308. [Session]
    * C( F) y9 I8 `; L8 x* ^7 \2 o6 }( O
  1309. ; Handler used to store/retrieve data.
    * v) l5 f6 T9 W' b$ {2 A5 ^
  1310. ; http://php.net/session.save-handler
    & U0 ?, ~, h9 P
  1311. session.save_handler = files5 G$ {" e5 ]! ~! U4 J5 |

  1312. ; u% I/ H: ~& ]  Z# p7 h: y, t2 o
  1313. ; Argument passed to save_handler.  In the case of files, this is the path  z  B) f3 \* y4 n
  1314. ; where data files are stored. Note: Windows users have to change this+ j" g7 A2 {) q8 J% D; Q
  1315. ; variable in order to use PHP's session functions.
    ( I8 j; w* b9 f* }* \: y
  1316. ;3 `6 Y2 b" |4 s) i  d& q# q; C1 \; \% l
  1317. ; The path can be defined as:% ~6 M% }8 t& K# `" x! ~/ n& Z
  1318. ;
    # ]' R( s7 v! s% C0 o- x* X, h
  1319. ;     session.save_path = "N;/path"- _3 v2 T7 W2 O( l7 T5 ~; d8 f3 }
  1320. ;. A0 C# \$ I' {4 V' l6 b4 s
  1321. ; where N is an integer.  Instead of storing all the session files in- R) Q& b  B& _- r* `
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    # M/ R1 ^6 }0 p
  1323. ; store the session data in those directories.  This is useful if
    0 [8 F! F9 B2 \/ h
  1324. ; your OS has problems with many files in one directory, and is
    ; `2 I2 e2 q5 ?! t
  1325. ; a more efficient layout for servers that handle many sessions.
    ) n, d; Y' U$ U4 R/ `- ]$ {3 _
  1326. ;
    8 ]. t- c! a) w: V# ^
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
      e& J% Z3 V5 a% G5 {
  1328. ;         You can use the script in the ext/session dir for that purpose.
    0 H; c6 F& z0 U5 A1 Y) h
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    2 v( Y. G" U- C2 O+ |" [
  1330. ;         use subdirectories for session storage" T) W9 h5 ~% R4 T1 J
  1331. ;4 O$ T; ~6 U+ X5 J3 T. s+ A. Q
  1332. ; The file storage module creates files using mode 600 by default.
    5 n9 p" A/ S! l4 R+ `) f: j/ I5 l
  1333. ; You can change that by using
    . V5 c( }' F3 R4 F7 y8 q
  1334. ;4 `; N% X: e7 |
  1335. ;     session.save_path = "N;MODE;/path"" Z+ G2 S8 }# C5 x! p' M
  1336. ;
    / o- A: o( C8 F3 ]5 o! p7 Q
  1337. ; where MODE is the octal representation of the mode. Note that this& n: Z1 f3 [1 `" |
  1338. ; does not overwrite the process's umask.) o! v! A: Z: U! k+ O
  1339. ; http://php.net/session.save-path9 @) g* X* j# S$ W, T- i
  1340. ;session.save_path = "/tmp"
    ; ^% u0 r- @( l9 ?  t/ o! E

  1341. 4 J! Q, e8 W5 L3 [- Z
  1342. ; Whether to use strict session mode.$ y  P8 o5 X+ Q, h0 o
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    # U: c3 J7 H# J1 U0 r% J$ t6 Z+ A' ?
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    ' K  I1 m; F9 Z" F5 H4 y" M
  1345. ; applications from session fixation via session adoption vulnerability. It is
    ( R4 m: Q  ^0 T+ w
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    5 V) D1 k6 e6 [7 B. S7 W/ s9 }
  1347. ; https://wiki.php.net/rfc/strict_sessions
    ( e9 z4 g- M1 g7 Z
  1348. session.use_strict_mode = 0
    1 e+ G0 P6 R2 t: q) m& b$ G, k
  1349. 9 j4 R. y1 y: M7 ]7 ^: W3 s! V
  1350. ; Whether to use cookies.
    ; G. _* H8 l% G  C
  1351. ; http://php.net/session.use-cookies: s+ M* m: ?# I  ]+ Y% l) E
  1352. session.use_cookies = 1, k) A# I+ v2 R, T: i% |" m/ M

  1353. ) P& @8 A* a: y3 j- h
  1354. ; http://php.net/session.cookie-secure1 {8 z# Y% O: I7 L" i
  1355. ;session.cookie_secure =
    * n. E( ^0 T1 a6 U$ i
  1356. 0 n2 f" ^  r( L% B+ E' n
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining) D0 r2 e0 l4 U* F* ^9 x5 F
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    ' A+ E: F! i& l5 B9 R+ a- f% l% h
  1359. ; session hijacking when not specifying and managing your own session id. It is+ T- n( ]3 a! I" h
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    % [" i# U$ w4 j/ F, i. Q
  1361. ; http://php.net/session.use-only-cookies
    * K* E9 I' M$ r
  1362. session.use_only_cookies = 1/ n1 U% l$ {& z3 r% o: H/ Z

  1363. / g, d# x- n8 q9 ]2 P0 }. I
  1364. ; Name of the session (used as cookie name).: v, A7 ~/ y3 H  C  F" A2 K* u
  1365. ; http://php.net/session.name' q/ ^- W: X0 ~6 m6 A( ~/ N
  1366. session.name = PHPSESSID2 n' h& o8 d6 g) \9 h' y

  1367. 7 A7 c7 v* ^$ K! ]. C# t
  1368. ; Initialize session on request startup.' R+ ]1 }8 ~8 M9 M) Q  G' A
  1369. ; http://php.net/session.auto-start: O  g1 d3 k0 B* U; o( U1 |' T
  1370. session.auto_start = 0: p: u$ q/ J* `( X- u  G
  1371. 0 S+ m! `0 ^9 |( |! Y
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    8 J& x3 w6 P: {% I
  1373. ; http://php.net/session.cookie-lifetime4 k9 y' ^6 n' }, D' M, v
  1374. session.cookie_lifetime = 0
    8 L, K/ C  a/ K' C, T
  1375. ( r  i* K% ~- ~; U
  1376. ; The path for which the cookie is valid.* B% y' R$ L, T# L7 O
  1377. ; http://php.net/session.cookie-path
    + w# q! a- _7 Q: C
  1378. session.cookie_path = /
    . Y. z. a- g* S$ Y
  1379. ; @8 T; m( X/ z, T+ k- t- K3 t& L* c
  1380. ; The domain for which the cookie is valid.$ T0 \8 o# q# ~6 K2 l4 s1 E4 Q
  1381. ; http://php.net/session.cookie-domain; U  L; w; p" ^7 T! m1 S1 k0 a6 w% \
  1382. session.cookie_domain =3 D" J& T- o: I% V; u' n2 f0 }: h
  1383. 0 ?- c1 Z/ u# s3 Y; {
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    9 _$ [# H. ~% U1 x# e% a
  1385. ; http://php.net/session.cookie-httponly2 ^) `8 f# c3 N' [; w( w8 ]$ ^7 ^
  1386. session.cookie_httponly =  Z" B# z& L" U) D( P# y% [

  1387. / f4 |7 @6 r/ R# T
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    & A& w6 O- T# [$ `. r! X+ G6 |
  1389. ; http://php.net/session.serialize-handler% m: ]; _/ [, N1 b
  1390. session.serialize_handler = php% H6 X4 T: [" E" U! u% [6 D

  1391. - R6 h/ L: }( n2 w# \1 N( x  y
  1392. ; Defines the probability that the 'garbage collection' process is started4 _' A  m2 ^9 f- i% T. P
  1393. ; on every session initialization. The probability is calculated by using1 a$ d( ~  d" j$ a
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator* Q! \5 p% T* r: E
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    % W! T* V2 U1 k5 n
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance; t1 B6 C, P* k* F' s
  1397. ; the gc will run on any give request.
    0 N2 Y' d: [& v% {9 Z
  1398. ; Default Value: 1
    ( ]+ n( P5 S% @) J; J
  1399. ; Development Value: 1' x" B: k9 m0 m! @6 j" ]
  1400. ; Production Value: 1
    8 D1 [3 V) p8 g
  1401. ; http://php.net/session.gc-probability
    : u- P9 Z. h  P7 n9 Y& z
  1402. session.gc_probability = 1
    7 N5 A6 L! I' ~

  1403. ; h8 r; n( P4 r# V7 y
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    " R) o# l- I% r# v+ k2 C; j: k
  1405. ; session initialization. The probability is calculated by using the following equation:# o: `- b) |# a% U2 o7 D* B
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and9 O9 k/ \& j  J- l) B  `+ a, j
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 11 Y1 `; @( {  C3 q6 \5 V
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance9 K# u, V7 B; G: _7 w
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you( g6 D( z4 V& f
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    ; w) ?  @2 h- K# c
  1411. ; this is a more efficient approach.
    - W2 E; ^7 P1 s/ `! U8 T' z
  1412. ; Default Value: 100
    1 |( G; Z8 P7 g* H- f4 D6 I' x) l
  1413. ; Development Value: 1000$ |$ D: [' e+ s) ?
  1414. ; Production Value: 1000# F" T0 A5 J5 O( P6 v4 _0 L
  1415. ; http://php.net/session.gc-divisor
    ; n" ?  |1 r( ~. U( K" p
  1416. session.gc_divisor = 10000 ~0 y1 ?6 t9 }0 v1 C& @
  1417. ! T, X3 `5 ?+ T! J) x  f$ x  I
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    * ~9 Q3 |9 J1 H/ g2 Y" f! h5 L
  1419. ; cleaned up by the garbage collection process., R# U3 z" _" G0 U) P
  1420. ; http://php.net/session.gc-maxlifetime- [. Q) g; B' I
  1421. session.gc_maxlifetime = 1440
    ; b3 w+ D# F: s' G9 C
  1422. . K/ V" z/ g+ I, P
  1423. ; NOTE: If you are using the subdirectory option for storing session files; h# y1 O8 G9 J3 g
  1424. ;       (see session.save_path above), then garbage collection does *not*8 d0 f. m7 `. Z" f. w. n; g
  1425. ;       happen automatically.  You will need to do your own garbage
    % @: b3 o$ Z2 S9 }8 D
  1426. ;       collection through a shell script, cron entry, or some other method.
    6 u0 l  r# K# v( D# p! G
  1427. ;       For example, the following script would is the equivalent of
    9 g4 q8 U$ z2 I7 E  i0 s  F0 N
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):6 U% S! O8 y/ M+ w# ~
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm4 ~/ b# a9 r4 w% N  |6 N
  1430. ( q3 s6 Z3 V: D1 L; S2 ]; @
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    5 X' T* O7 o' f* z
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    ' g* Y( p3 m2 y8 c9 S( ^( v
  1433. ; considered as valid.
    : a" c3 ]4 g$ X: T, L& E* S/ N
  1434. ; http://php.net/session.referer-check3 |% O3 z2 e. {# ~1 A1 e
  1435. session.referer_check =: f' y/ @1 `$ M! Q
  1436. % w" U7 k  p- K! ?( L2 P: ^8 ^  p
  1437. ; How many bytes to read from the file.
    $ X" |0 R  r4 f* |
  1438. ; http://php.net/session.entropy-length6 Y( Z( t- |. m" Y7 R  Z. X
  1439. ;session.entropy_length = 32
    " r! a: b1 D) ~7 D

  1440. ; O( D6 P, F9 y" s% M: K
  1441. ; Specified here to create the session id.
      \+ [+ M- o- R
  1442. ; http://php.net/session.entropy-file
    4 T# ^4 v3 g% R, }. W
  1443. ; Defaults to /dev/urandom- ^# B6 f( Y9 j: w5 I
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom" f' I8 p2 [" P+ W: c- W1 ?& v- A% L
  1445. ; If neither are found at compile time, the default is no entropy file.
    ( T7 ~5 d# G( g8 C1 ?) H2 X- N# n
  1446. ; On windows, setting the entropy_length setting will activate the
    7 S( z  O6 Z$ a0 E
  1447. ; Windows random source (using the CryptoAPI)0 P) v1 A9 u" a9 I8 S
  1448. ;session.entropy_file = /dev/urandom0 x+ q2 G; ]( U2 t6 q6 q0 \" g  n
  1449. - g2 d" j, B! K5 y
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects9 p  z1 Q1 m" ~- l) b" ~- g& T' O
  1451. ; or leave this empty to avoid sending anti-caching headers.. B, {2 A8 h' B: h$ u
  1452. ; http://php.net/session.cache-limiter. o5 s2 w4 L! W! Q) j3 d$ z) f
  1453. session.cache_limiter = nocache
    / Y# S/ y* W7 O7 k: B
  1454. ! X( _' g4 \3 M, j+ F. O9 a
  1455. ; Document expires after n minutes.
    ( g: [* c) P4 w7 V$ q5 @' r
  1456. ; http://php.net/session.cache-expire) w" K) h! a5 _: t) k: `
  1457. session.cache_expire = 180
    / |* y% O" d, c

  1458. 0 y; N. r& @7 ~6 F
  1459. ; trans sid support is disabled by default.# A; x! ]) [% U5 V5 i* h& [
  1460. ; Use of trans sid may risk your users' security.' i" E+ w2 v; S
  1461. ; Use this option with caution.
    . `+ f4 ~5 X  j1 a6 h/ j
  1462. ; - User may send URL contains active session ID
    . F+ b( F! f3 e, B( L! L7 N
  1463. ;   to other person via. email/irc/etc./ ]% f" U. C  I6 m- p, P5 }
  1464. ; - URL that contains active session ID may be stored  H1 y0 j" x8 {0 L! M! I* M
  1465. ;   in publicly accessible computer.
    ) e% F$ b- k6 |+ u* o
  1466. ; - User may access your site with the same session ID
    7 B: x2 E, N/ A. v
  1467. ;   always using URL stored in browser's history or bookmarks.
    2 I# A1 ^0 u" T
  1468. ; http://php.net/session.use-trans-sid
    " P* w( b7 V/ B* ]" q2 H
  1469. session.use_trans_sid = 05 h$ o% x$ ?6 B6 \6 T

  1470. : x5 b7 l" ?0 L1 J* Q
  1471. ; Select a hash function for use in generating session ids.
    - Z+ V: c" c& L2 ~
  1472. ; Possible Values
    & v; P5 H( g% T) z$ \& s
  1473. ;   0  (MD5 128 bits)
    7 u5 k3 n- \% i
  1474. ;   1  (SHA-1 160 bits)  X- F. p, e+ H
  1475. ; This option may also be set to the name of any hash function supported by; R( Q# S6 |2 g$ Q. l4 B" r
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    3 h3 h1 ~' d  x$ E4 M
  1477. ; function.
    ' F) K: \% ?  s$ @* I( A+ ?( n# J
  1478. ; http://php.net/session.hash-function
    4 N0 C; g2 F. b. z/ v* \7 F
  1479. session.hash_function = 0
    ' I! q5 I0 V$ w% H( S. `6 u9 A

  1480. 6 d. n! G' a3 U4 F4 O
  1481. ; Define how many bits are stored in each character when converting
      L1 R$ j" k/ `; t, \$ y
  1482. ; the binary hash data to something readable.2 y8 V& S4 a0 w1 X: h" k% Z2 B( A
  1483. ; Possible values:
    " p! @: J) W# ?
  1484. ;   4  (4 bits: 0-9, a-f)% H+ u: H( l' `' I% I4 M
  1485. ;   5  (5 bits: 0-9, a-v)
    ) u* A7 B0 I' d7 {. ^! @, E
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ","); D* A" N* O# G+ M) h- c! t& R# s
  1487. ; Default Value: 4
    : v: }, B+ E3 X' |! U. q& d
  1488. ; Development Value: 5# j- M4 t2 U- |2 y# K7 y. L3 V
  1489. ; Production Value: 5
    ; w# O) I' M$ u; C
  1490. ; http://php.net/session.hash-bits-per-character+ w  K7 y! |: x. _& ~7 d
  1491. session.hash_bits_per_character = 5
    , Y9 z) U/ A) Y9 p

  1492. . P; m: Q/ x0 N! n; a! m
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    . t& r$ ~3 X, R& `1 A) m  E6 X
  1494. ; form/fieldset are special; if you include them here, the rewriter will3 F+ V1 Y4 O) \$ e
  1495. ; add a hidden <input> field with the info which is otherwise appended
    ) N7 @' A" q* J, Z  C
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry." e- d) b" D: r# u" m; B
  1497. ; Note that all valid entries require a "=", even if no value follows.# I. A0 K2 c* o4 e
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="- N5 b7 B' S' A! T9 o
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    & j% X# S- {8 E5 \8 E9 w
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    : F/ L( ?# c" V8 e4 y
  1501. ; http://php.net/url-rewriter.tags
    ! g( h3 D$ \# w! J
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    & F( n: N5 ^2 b1 _& C) W1 @6 K7 t
  1503. & {( i* J  j( b- z& B
  1504. ; Enable upload progress tracking in $_SESSION. w+ i8 Z' m* M, ~3 _
  1505. ; Default Value: On  P) M# |& Y& o* I) i5 I0 A7 h, `
  1506. ; Development Value: On
    - y2 n7 D! r- O
  1507. ; Production Value: On
    $ `  F& n4 ?' I/ A
  1508. ; http://php.net/session.upload-progress.enabled
    5 q) I0 B; _5 T: N6 n! O% X$ l
  1509. ;session.upload_progress.enabled = On" m1 a/ ^4 w% G4 e7 s! j0 O0 J* e
  1510. , K& ^* [: L7 H0 _
  1511. ; Cleanup the progress information as soon as all POST data has been read5 V$ U# B; ~- C0 p' Z& d
  1512. ; (i.e. upload completed).
    % |% [( P9 G; ^$ q5 g/ {0 e# ^
  1513. ; Default Value: On
    1 j, m8 e# g, b2 A
  1514. ; Development Value: On
    ( ]" z5 z0 _" U  [7 a9 n- R
  1515. ; Production Value: On6 v! D& G* v( C" R/ m" ?
  1516. ; http://php.net/session.upload-progress.cleanup8 z/ N/ E  t3 y4 Y0 v
  1517. ;session.upload_progress.cleanup = On
    0 P! W' T) @) F+ c6 |* a4 ~* ?' E
  1518. : z( a6 y" i) H$ b/ y! j
  1519. ; A prefix used for the upload progress key in $_SESSION
    3 G+ j  b  X9 i% B. d
  1520. ; Default Value: "upload_progress_"7 F7 N8 [6 s: {6 o
  1521. ; Development Value: "upload_progress_"
    + |5 m8 H8 S8 q0 L! Q7 U: Y
  1522. ; Production Value: "upload_progress_"
    " o7 B# m* Q8 Y" n
  1523. ; http://php.net/session.upload-progress.prefix
    : N0 n0 P' F- o
  1524. ;session.upload_progress.prefix = "upload_progress_"
    - Z1 \  b  K  s* E. C9 B

  1525. 7 Y6 h/ b! [  \5 e
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    : n' ]  a# s. S/ t0 K- @  n% j
  1527. ; containing the upload progress information, i+ b9 u' e# }  e
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"6 b7 o# B) \+ l7 V
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    / i) I" R* A( |
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    , `, A4 J3 Z6 f. Z8 h5 r5 N3 D
  1531. ; http://php.net/session.upload-progress.name
    ; S, h0 q* a% H, X; A% q
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    $ q: U( f, i3 Q) K+ y0 b- {

  1533. , K! K* X+ c) t8 H; e
  1534. ; How frequently the upload progress should be updated.) W6 Y' ]# z' N% b& W  ?+ b
  1535. ; Given either in percentages (per-file), or in bytes
    , L3 H  u4 p) |* q6 ^, ~7 M  r
  1536. ; Default Value: "1%"$ ]$ ?/ E5 q9 K+ Z: u% e
  1537. ; Development Value: "1%"; k( Q$ {; i: D4 u6 A  U
  1538. ; Production Value: "1%"3 A6 o( D# d* u- _  [
  1539. ; http://php.net/session.upload-progress.freq5 T  \/ n- i% V) ^
  1540. ;session.upload_progress.freq =  "1%"- p: ]& U$ C7 m8 i$ |0 L
  1541. # Q/ c- l; m/ e" `
  1542. ; The minimum delay between updates, in seconds) a+ t9 n' w! w% R1 m" X+ b/ H& y; Z
  1543. ; Default Value: 10 T- Q$ D7 `4 c8 }
  1544. ; Development Value: 1
    % J6 B; n* g  p0 [5 Y- ^+ ~
  1545. ; Production Value: 1
    6 b  r& M9 C$ d1 y
  1546. ; http://php.net/session.upload-progress.min-freq
    1 g* s: n# j: T
  1547. ;session.upload_progress.min_freq = "1"
    . s5 b" {: \' v' ?* F2 f+ ~- p2 A
  1548. 0 j+ P; t( l! F7 Z
  1549. ; Only write session data when session data is changed. Enabled by default.' M3 h8 R1 E- ?4 e/ W
  1550. ; http://php.net/session.lazy-write" O/ X" s4 [6 f* K# Z4 }- [
  1551. ;session.lazy_write = On
    7 h8 f; x# T  U1 T, r6 n$ p: @

  1552. & V9 ]1 S, q/ e. e6 q
  1553. [Assertion]" {% Y1 ~6 C3 O+ F
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    . J  Q5 N- {# Q/ d/ ]% Z# A
  1555. ; -1: Do not compile at all
    5 U- t/ h' F7 A& |9 U
  1556. ;  0: Jump over assertion at run-time- F1 o  R# y$ L' \" [8 L
  1557. ;  1: Execute assertions, N4 c! F. C$ Y( g) q( o$ a
  1558. ; Changing from or to a negative value is only possible in php.ini! (For turning assertions on and off at run-time, see assert.active, when zend.assertions = 1)
    8 ^' r" N( J5 ^6 W
  1559. ; Default Value: 1& F  o% u; ?- y- K6 K7 j
  1560. ; Development Value: 1( U6 x+ K/ Q5 t$ s# X# X2 w& J4 w
  1561. ; Production Value: -10 d( F  K4 `4 n. m2 u$ E
  1562. ; http://php.net/zend.assertions/ o- x8 _; M. t/ E
  1563. zend.assertions = -1
    2 ~9 p" E# x6 M' u  o. ]; Y$ |
  1564. $ t5 F$ Z  m& I
  1565. ; Assert(expr); active by default.
    . r, g. L+ p* F
  1566. ; http://php.net/assert.active2 n' l9 \; `! l) V
  1567. ;assert.active = On
    2 B/ x) x" Z1 m  M
  1568. ) X# z2 K, o( X# I
  1569. ; Throw an AssertationException on failed assertions: |6 f/ C" H( `% v/ n* M% c/ W
  1570. ; http://php.net/assert.exception
    ' T; x' G( L8 N. O! o; S
  1571. ;assert.exception = On
    0 f  y6 y! \, e$ j

  1572. - k7 v; X4 o+ J6 F$ |
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    0 J( V. r6 O0 S% j
  1574. ; http://php.net/assert.warning( A& w5 l. h% u/ x) a) t
  1575. ;assert.warning = On/ S4 F* n3 T9 z8 }

  1576. 1 a3 u! ^. f9 H
  1577. ; Don't bail out by default.: l% ?6 T' p5 A7 F7 b
  1578. ; http://php.net/assert.bail
    3 \+ k* o( U& I5 ]3 T* p
  1579. ;assert.bail = Off
    & j) y! |. [# n" b% ^

  1580.   Q. w' H1 Y" v+ q
  1581. ; User-function to be called if an assertion fails.
    : U; Q1 P. r; r- Q/ U8 l3 D
  1582. ; http://php.net/assert.callback; M: {7 E4 @3 t/ z  C
  1583. ;assert.callback = 0/ y3 w- O7 J5 [$ o

  1584. . d$ v/ o3 ^5 m; W" _0 T$ I( k
  1585. ; Eval the expression with current error_reporting().  Set to true if you want& }/ A& d9 G4 f6 G$ ~0 c. g
  1586. ; error_reporting(0) around the eval().
    / w8 \5 X6 Q; @2 H
  1587. ; http://php.net/assert.quiet-eval
    ; m. x; h+ h7 b* r0 V' ~0 F
  1588. ;assert.quiet_eval = 0" [" w1 U! R7 V; J
  1589. 7 G' w  u" ~# R3 V
  1590. [COM]: o8 p9 h2 d- v+ z3 M% K8 n
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    ; C5 o0 j2 A2 c# t
  1592. ; http://php.net/com.typelib-file
    ( ^% U. e) }. m" @& T  _( ?" Q
  1593. ;com.typelib_file =6 M: ^$ H* n; [; S/ O7 T
  1594. 2 f% g, w- N* R6 J; `8 L
  1595. ; allow Distributed-COM calls
    9 V7 s; T# [6 G$ ]+ l8 k9 l
  1596. ; http://php.net/com.allow-dcom
    , b" j7 i% {4 G0 D, l1 |1 `- W
  1597. ;com.allow_dcom = true
    & F; m6 _5 L7 F0 t; e& F
  1598. ) k5 @! r) W7 s; }- H9 O
  1599. ; autoregister constants of a components typlib on com_load()
    0 K. a: M, u. t* o) n2 ]% q5 A
  1600. ; http://php.net/com.autoregister-typelib% s2 j/ g* G- p; a$ P
  1601. ;com.autoregister_typelib = true0 O& S5 d1 c: E( t" T0 a
  1602. + J: _1 l* i) ?1 q/ o( v
  1603. ; register constants casesensitive
    ; z# u4 e( }+ ^9 D
  1604. ; http://php.net/com.autoregister-casesensitive
    * }  e) h5 Q5 m8 y
  1605. ;com.autoregister_casesensitive = false2 i- d/ v7 Z( ~
  1606. 2 V* i0 G! E! U* G$ J9 F
  1607. ; show warnings on duplicate constant registrations. `  v, l7 x. R; ~$ X& y
  1608. ; http://php.net/com.autoregister-verbose
    % J1 [8 y0 X9 c( {( c+ E) T9 T
  1609. ;com.autoregister_verbose = true
    7 L5 a, {! Y3 @; Q

  1610. 5 B/ g! r/ U. F) y
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    2 w% p0 E9 W: E& e8 r) K
  1612. ; Default: system ANSI code page
    " c6 M* i& L0 q" w+ d
  1613. ;com.code_page=
    7 }' C! H/ x$ ~, o" R
  1614. ( R+ q- \6 v* @  D
  1615. [mbstring]
    , L  ]  J0 ~4 \  f
  1616. ; language for internal character representation.- s) t2 H  \+ W1 E) o
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    ) G* z: ~: ]( V) ~8 y
  1618. ; http://php.net/mbstring.language
    5 ?8 t7 v9 \- _* a! |
  1619. ;mbstring.language = Japanese
    5 n4 o9 P6 Z+ X) A3 z& J* r
  1620. * t- K' O' |, t- u
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    ) i3 Y% P1 r# E" h
  1622. ; internal/script encoding.
    0 i7 b8 d! W' @  c+ N3 C" R
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)% _' S+ p# `7 Z- i% n* i2 X
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    8 Q. Z  S1 w' X$ m  {5 E2 Y7 o% l
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    3 ~. _; i9 H* J
  1626. ;mbstring.internal_encoding =0 E, k5 S; w) o# C. T$ A( |
  1627. ! D2 _9 j" J  d6 Q
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.( ^4 G% z* P/ G* J& k
  1629. ; http input encoding.& s8 r8 ^! A" e' A. J' q% g
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.7 w1 Y$ `: |, f! w5 ?5 o& A  A
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    1 {0 R% R8 R5 r! c% R0 i8 w
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input9 E$ P3 I! F- h1 u7 l0 X% {9 a! p* c* v
  1633. ; http://php.net/mbstring.http-input
    ( ~5 l& B& `6 }) }
  1634. ;mbstring.http_input =& R! m* ~$ e( s! x. U5 X
  1635. 5 H/ n. r! u$ ], w$ o: B
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.( j6 |- J+ {3 {# s% x, ]
  1637. ; http output encoding.1 K7 @9 ?6 N1 T/ [% }
  1638. ; mb_output_handler must be registered as output buffer to function.* V  S3 n1 h- K( G" N9 q: L
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.; s. e2 H/ H+ B
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    $ ]3 }6 ]+ S% o8 `0 x, o
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    ; ?/ X# V* E! C0 t: [) Q7 `5 _5 W
  1642. ; otherwise output encoding conversion cannot be performed.
    2 T0 \8 I- B% h# m: C# k4 o9 P
  1643. ; http://php.net/mbstring.http-output
    9 C% U1 K5 b6 S3 \' s
  1644. ;mbstring.http_output =
      O3 s! i: _1 K+ v2 Z! H" i8 k

  1645. 9 Q$ [  l2 X, R
  1646. ; enable automatic encoding translation according to8 J1 F1 J) C+ ~+ X. D2 V
  1647. ; mbstring.internal_encoding setting. Input chars are
    ! ]5 C9 n. S. |6 I
  1648. ; converted to internal encoding by setting this to On.
    . q8 V3 N6 c. w; }' ^- N0 Q
  1649. ; Note: Do _not_ use automatic encoding translation for
    7 v( z5 B$ s/ _9 l0 K+ \, r; k
  1650. ;       portable libs/applications.3 m6 @' N: {" Q$ e/ F) L2 \8 m
  1651. ; http://php.net/mbstring.encoding-translation0 f+ l; J4 l2 D% G; S: z
  1652. ;mbstring.encoding_translation = Off
    7 ]  K% a+ E2 ]5 D) A

  1653. * W6 D; d0 [$ h3 ?3 k
  1654. ; automatic encoding detection order.7 v  J! ^( Y( C9 N/ B
  1655. ; "auto" detect order is changed according to mbstring.language' N5 m0 x* V+ m* |6 w6 X6 s$ X
  1656. ; http://php.net/mbstring.detect-order
    7 u0 a! `. `/ k- _# n- Z- m
  1657. ;mbstring.detect_order = auto
    . I8 ~: o/ h) g9 {& n+ z

  1658. - F2 z. y8 b) Z) ~$ a2 D5 `2 N+ D* B; V
  1659. ; substitute_character used when character cannot be converted1 h1 F1 K' a! S3 Z6 q1 U- o3 B
  1660. ; one from another& e9 k0 K. K& o. V0 A/ B- X
  1661. ; http://php.net/mbstring.substitute-character
    : b3 P6 D4 R( X# Q1 C
  1662. ;mbstring.substitute_character = none- K/ l" y3 s" u( V0 @; q
  1663. / d% D" y7 w: [4 ^. B6 K! Z
  1664. ; overload(replace) single byte functions by mbstring functions.4 H3 g: R/ ^7 r$ o& T7 b- \
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    ; K% b" r4 Y0 o; _
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.! B1 e3 C* G* L$ l
  1667. ; For example, 7 for overload everything.
    7 T$ s$ f- ]4 `9 b! ]& K- H
  1668. ; 0: No overload% x' `: ~4 `0 K9 s
  1669. ; 1: Overload mail() function' l; B+ ?* d7 y5 Y/ j
  1670. ; 2: Overload str*() functions
    ' V) b; f/ M$ P3 b, A& ^
  1671. ; 4: Overload ereg*() functions# B# V8 M5 s5 t, S* O7 k9 ~, P
  1672. ; http://php.net/mbstring.func-overload; i/ r& Z% W8 X
  1673. ;mbstring.func_overload = 08 H) f- @7 s6 A

  1674. / x# G% U8 f( L/ c! ?. [  L) J2 g
  1675. ; enable strict encoding detection.! D7 @# n" N" {+ T* t8 \
  1676. ; Default: Off! z5 g6 P% p0 `0 q) r. a* Z8 `" o
  1677. ;mbstring.strict_detection = On
    4 W9 Q/ `- n6 R- S
  1678. # n; }* y! n$ g5 h
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
      ^( d( O/ T' r  U) x0 F% ~5 H4 J, A
  1680. ; is activated.
    , E5 }+ c) Y$ @" s& f* \
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)2 k, s* `4 t6 ~; L$ _. p) y- V
  1682. ;mbstring.http_output_conv_mimetype=
    ) v! N: V9 e: S

  1683. : s% }: S- r$ S4 i: H" t
  1684. [gd]
    # @3 @" q9 F, F1 ?( }& r1 M" J
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    0 @: P2 S9 ?/ w, d6 [$ q6 [. k
  1686. ; a gd image. The warning will then be displayed as notices- \: K6 i' e8 ]
  1687. ; disabled by default
    7 A1 e; V  i& B% g, T1 p+ z
  1688. ; http://php.net/gd.jpeg-ignore-warning- U. V9 V% U5 g% ]$ a  F& K+ `
  1689. ;gd.jpeg_ignore_warning = 03 J" N& L1 @* m. a( n: g% W

  1690. , E7 }" a# l5 T" g) ?4 L" B7 m
  1691. [exif]# D) J0 _/ Z. W7 \7 w, }: M
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    : S3 t4 c- e- L. r- @' l
  1693. ; With mbstring support this will automatically be converted into the encoding
    , {5 q! h- i: r0 T. D
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding' k% o. y+ a3 S' x
  1695. ; is used. For the decode settings you can distinguish between motorola and
    1 m& j6 ~9 d9 Q
  1696. ; intel byte order. A decode setting cannot be empty.: N6 ?5 Y6 m/ p4 W* @7 K" Z" s' z
  1697. ; http://php.net/exif.encode-unicode' J6 Y  |$ n  ^: S% P: s' E# y
  1698. ;exif.encode_unicode = ISO-8859-15
    0 i- x" h9 {# i# G+ }9 G
  1699. ! f6 n" O) y% @  r+ t
  1700. ; http://php.net/exif.decode-unicode-motorola
    1 \2 D1 j' T/ a
  1701. ;exif.decode_unicode_motorola = UCS-2BE7 g, O+ X" S1 c) Z+ J
  1702. # h8 }0 [3 l/ O8 @( O& O
  1703. ; http://php.net/exif.decode-unicode-intel0 A: ?: `5 ]0 Z3 A" a( o
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    8 b5 f4 Y% W6 R" E& o

  1705. 0 U5 D- G0 @1 _# e7 y! A( K- p- y. C
  1706. ; http://php.net/exif.encode-jis
    3 z5 c% P3 ?# K5 L$ G5 H* K
  1707. ;exif.encode_jis =. s9 Y- o, g( s* Z7 t8 z

  1708. 7 H* U" m9 {; \, C' D
  1709. ; http://php.net/exif.decode-jis-motorola8 w# Y, O5 x8 v4 L; d4 \
  1710. ;exif.decode_jis_motorola = JIS
    , R- N& b1 |3 b! ?
  1711. ! d% T/ |6 R1 F3 _
  1712. ; http://php.net/exif.decode-jis-intel
    1 U9 F% `" }9 a% |9 x( K
  1713. ;exif.decode_jis_intel    = JIS
    * ]: i3 b- D& t3 H7 g" q1 X

  1714. 1 T# d' z" f% L. L. I5 V
  1715. [Tidy]
    % i6 W1 I! T3 Z
  1716. ; The path to a default tidy configuration file to use when using tidy/ |* r+ b' [5 c& H
  1717. ; http://php.net/tidy.default-config
    6 n! Y" ?( Q0 O/ ]* p6 C
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    $ o/ q6 p! r# n! e6 H

  1719. ' C: @; ~3 h1 E; X6 P8 f
  1720. ; Should tidy clean and repair output automatically?4 t, b5 A& A0 y* g. _$ t9 b
  1721. ; WARNING: Do not use this option if you are generating non-html content  ^/ D, F- E0 H4 c6 L6 A* V2 N
  1722. ; such as dynamic images4 q, C% z7 C: u* [) q
  1723. ; http://php.net/tidy.clean-output
    " r1 P7 k+ o% |
  1724. tidy.clean_output = Off
    - c/ ?) i9 c) C9 M+ m9 ]/ J/ H
  1725. 0 X6 S. n8 H' o, |
  1726. [soap]4 W- d, t+ v( f1 i! P' N2 O
  1727. ; Enables or disables WSDL caching feature.- m! z5 h, c$ z- M; }
  1728. ; http://php.net/soap.wsdl-cache-enabled, o) O& B5 [0 B) Q1 u
  1729. soap.wsdl_cache_enabled=1, z" k! a2 O) W/ i

  1730. + L! L$ Z) Y# C- H/ E/ b
  1731. ; Sets the directory name where SOAP extension will put cache files.& q; Q$ T' D+ G. l3 u1 x3 n( f
  1732. ; http://php.net/soap.wsdl-cache-dir
    " u( w- }% U7 w" i# B# Y, v+ y
  1733. soap.wsdl_cache_dir="/tmp"
    - m6 k5 H+ g6 C& N6 N# o% N
  1734. & b. f7 I1 M4 _" _
  1735. ; (time to live) Sets the number of second while cached file will be used
    $ Q5 F& R8 s4 L5 b9 i7 @
  1736. ; instead of original one.
    9 F+ x8 `9 _) t8 _
  1737. ; http://php.net/soap.wsdl-cache-ttl* p( p! Z% [' ]. M
  1738. soap.wsdl_cache_ttl=86400
    3 s' Q! U, O& r& e4 s( ?
  1739. - \; }* ?0 k6 N% q0 B: Q
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    % n& W! m" R/ `. M9 U
  1741. soap.wsdl_cache_limit = 5) V% R7 c3 L6 l0 P! k
  1742. 7 o+ ^2 ]) i  p5 T7 o% D. G* G
  1743. [sysvshm]+ u& N' W0 y/ T7 \  f, }* x) v
  1744. ; A default size of the shared memory segment: a* t+ q. [: r
  1745. ;sysvshm.init_mem = 10000( H; p0 I5 m# D) e& {1 o& j0 _2 b
  1746. # M0 t' n( q" p4 M
  1747. [ldap]
    5 U' u- d6 D5 A  K+ @8 _/ R
  1748. ; Sets the maximum number of open links or -1 for unlimited.; y& z* c: u4 H  F& h& M- k/ }! ]
  1749. ldap.max_links = -1
    3 S. [1 @) M) x, L
  1750. # y( A1 r% G+ K7 D6 ?9 u+ V$ u
  1751. [mcrypt]
    3 T  A) ~. B% @! ?$ ~
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    9 }8 x& k# W* q# {6 h5 Q$ ]: U0 H

  1753. ! _4 \! w; R, N9 B+ y  _' A
  1754. ; Directory where to load mcrypt algorithms
      {$ o2 F7 Y: B$ t( `4 A* w- G
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)1 r% m; ]. B) b$ U& H' B. Q5 C
  1756. ;mcrypt.algorithms_dir=; ?& o1 y2 {) G, t4 m, S/ t) B; z6 n6 m
  1757. ! H. b  s' P2 o; P
  1758. ; Directory where to load mcrypt modes5 |8 A1 _$ c8 ~
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    9 ^. V  e: B  ]; u' S% ?8 V5 N7 |
  1760. ;mcrypt.modes_dir=
    % i. G5 d( ?4 c9 B- K, i
  1761. 5 M: M" f. M) b, d1 G- _" l
  1762. [dba]
    % C0 g) Y( Z: w' d, U# |
  1763. ;dba.default_handler=
      N& p- G( V$ l8 g! [* ]" D% s( @
  1764. 5 w2 @2 H/ b/ T, k) \
  1765. [opcache]1 [0 i4 t0 A$ m4 u" `
  1766. ; Determines if Zend OPCache is enabled8 k5 Y9 S( \' U' a4 F
  1767. ;opcache.enable=0
    ! W$ w. f! |$ q' I4 o
  1768. 2 O% v, A* ?9 O
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    ) s  a+ ^- j4 N& y7 _- q. G# Q
  1770. ;opcache.enable_cli=06 p+ g2 Y3 [' g

  1771. 7 R- h  ?4 O/ i& I! I0 D7 w
  1772. ; The OPcache shared memory storage size.
    9 r% u6 u$ P3 f, h
  1773. ;opcache.memory_consumption=64
    # L$ b$ w5 Q" a/ ?- R, ?' K+ E
  1774.   S$ \% I  U* h$ A& X$ p
  1775. ; The amount of memory for interned strings in Mbytes.
    % c$ S" g. t- ?- g! [
  1776. ;opcache.interned_strings_buffer=4
    . N% z& ~# |+ J3 Y& r6 J

  1777. 6 S9 L- ~2 E; X0 N! d+ H8 L
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    / H- l3 U& v9 G& O% m2 M* E
  1779. ; Only numbers between 200 and 1000000 are allowed.
    6 E. O3 j$ G/ K3 G# r
  1780. ;opcache.max_accelerated_files=2000
    ( V5 `* `% q; i, F* i8 M+ r
  1781. ! F3 a% T. ^+ r+ Q3 I
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled., ]9 c! P1 p8 e1 d" t7 i$ Y! K! G& p
  1783. ;opcache.max_wasted_percentage=5
    / n# l8 R; [: ?5 S2 }: @0 m0 H
  1784. + t' f1 g6 h' t. N
  1785. ; When this directive is enabled, the OPcache appends the current working9 X* H5 `9 f* f! ]
  1786. ; directory to the script key, thus eliminating possible collisions between
    ; W7 j# t6 a; E2 W4 M' w' ^
  1787. ; files with the same name (basename). Disabling the directive improves( ]2 C+ c/ F) w; J# C( T$ Z6 M
  1788. ; performance, but may break existing applications.; C) V6 V3 {' [; f; h( O9 U
  1789. ;opcache.use_cwd=1! s5 r6 L9 H0 q# @+ R
  1790.   h8 X0 D* y: W
  1791. ; When disabled, you must reset the OPcache manually or restart the* S. F* }% f. y" E2 J) Q  s, S
  1792. ; webserver for changes to the filesystem to take effect., C" ^* b4 ?3 q7 s0 M! U
  1793. ;opcache.validate_timestamps=1$ i' T$ Q- n" N. E* i7 `' ^" |

  1794. . m' z2 Q6 {3 E: J, ], v6 s) T( l  y
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
      R7 a7 F  ]+ C" {3 R* F$ [; r
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    ' @0 V1 ?" }2 u7 R/ k" d
  1797. ; once per request. "0" means always validate)+ ?: P% ]: W3 {! r) }: }+ Z% R
  1798. ;opcache.revalidate_freq=2
    1 F- l- ]6 }$ h# j. j! \3 M6 u( {
  1799. $ Z, m# L. v5 p( O+ w
  1800. ; Enables or disables file search in include_path optimization6 e8 N' X- k9 j. X) t
  1801. ;opcache.revalidate_path=0% R; l6 h; _/ l: s3 [; g! Y
  1802. 9 e/ O' ~, S/ P- u! F4 W
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the5 i0 R* F, p5 G- D- u- x
  1804. ; size of the optimized code.0 b' r% G: l- B6 ?3 j6 @
  1805. ;opcache.save_comments=1; N) @( X; g& Q, n

  1806. - b; d$ d6 z7 D7 t
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code4 y0 |. n* z  I5 Z5 U8 T# V" J# m
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
      ^5 b. i0 g2 s2 X5 T. E
  1809. ;opcache.fast_shutdown=0. ^% ~3 E8 }" i5 I; Q$ N
  1810. 8 D! d4 i2 H/ z
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    ( O$ G7 t2 Y  ?! [& O
  1812. ;opcache.enable_file_override=0
    + `; M7 x4 V8 F
  1813. 3 b2 q5 X- T$ S- ^
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    1 `9 R# ?1 _3 w9 ^" F' Q) T/ X/ J
  1815. ; passes  N, Q$ u1 d+ k3 Y8 a# D+ I
  1816. ;opcache.optimization_level=0xffffffff( a; j6 L% h- _0 _' B
  1817.   \7 C0 \; h( C8 r/ U- V
  1818. ;opcache.inherited_hack=1
    % g1 a; j- g! z8 o* v: S% g
  1819. ;opcache.dups_fix=0) B1 C; d, @1 b4 g2 u

  1820. 4 h- m3 V) V6 a
  1821. ; The location of the OPcache blacklist file (wildcards allowed).% g. q% l- x6 U1 Z' E/ u% j
  1822. ; Each OPcache blacklist file is a text file that holds the names of files" h! W. T9 c: G. J6 H. Q9 c
  1823. ; that should not be accelerated. The file format is to add each filename
      ?8 C) f9 O  Q- h( U2 F
  1824. ; to a new line. The filename may be a full path or just a file prefix; @2 |  @( c/ l
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    * P9 Z$ M& M# @8 P% v4 V# Y
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).5 V6 ~' M$ M) l0 Z' L( a1 J# w
  1827. ;opcache.blacklist_filename=
    : S2 f' Y0 P( k; U* `

  1828. / \+ |" n; D% }& K% F
  1829. ; Allows exclusion of large files from being cached. By default all files
    ' b! X& B4 J8 }  d& [' W
  1830. ; are cached.7 w2 n$ B5 t. I+ Y* f: o% Y- X
  1831. ;opcache.max_file_size=0
    + g9 a" h* X% ?2 v0 ?" U- w: d
  1832.   f: Z3 ?) k. s* V1 c* B! Z1 t' m/ J% z
  1833. ; Check the cache checksum each N requests.0 }# `2 f0 w: A7 k6 w! d/ @; _
  1834. ; The default value of "0" means that the checks are disabled.$ @+ r: w) V( |- ^3 ]
  1835. ;opcache.consistency_checks=0; v- T$ d0 @6 n* R: l
  1836. ; I( N3 U. ~/ L1 c
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    . u% `# ]' F2 ^- a
  1838. ; is not being accessed.
    # N# S! L5 s0 |4 j' A  z# E# c
  1839. ;opcache.force_restart_timeout=180
    : f; H6 _2 a' e8 M4 ], L! c2 k) L
  1840. " Y" ]7 a9 d, V- m2 Q  O/ O
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    7 f; l- f% w* z: E3 p
  1842. ;opcache.error_log=2 Z, s- o' g" M3 s* a3 R

  1843. ! ^  u8 _2 z/ n- Z! P$ A
  1844. ; All OPcache errors go to the Web server log.) m" a# g% [! ~% G4 i+ I
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.5 P/ H# q9 e3 [& B) ]( }
  1846. ; You can also enable warnings (level 2), info messages (level 3) or. o8 ], P5 O8 O- m+ W
  1847. ; debug messages (level 4).
    6 Z) [2 o& _* j
  1848. ;opcache.log_verbosity_level=1
    5 H" Y8 b+ {- }3 {5 g

  1849. 7 a5 d0 Q6 w$ G
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    4 r! s9 w/ C( b4 h' C8 Z* {5 h
  1851. ;opcache.preferred_memory_model=6 [- Q/ w, ^% m4 `& g/ s

  1852. ) X; _5 U6 ]7 W9 ]
  1853. ; Protect the shared memory from unexpected writing during script execution.
    9 S8 u" D8 U) g4 i: ~. ]3 [
  1854. ; Useful for internal debugging only.& h6 ~  ]8 A$ f* \" y- J' a  {
  1855. ;opcache.protect_memory=0
    2 A3 r/ r9 f, Z) R

  1856. , X4 E0 _7 q2 ~  L# U
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is+ D) `. g. E; @
  1858. ; started from specified string. The default "" means no restriction/ Z$ u* l" E$ ^
  1859. ;opcache.restrict_api=. l# _8 e& @, `" D& M; u- h8 Z! j
  1860. # W- m& B( K& o, v+ d
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP. \! e5 l( N# l+ A
  1862. ; processes have to map shared memory into the same address space. This
    . S9 `5 F+ l, N9 a7 Z* K
  1863. ; directive allows to manually fix the "Unable to reattach to base address"# n  f2 m9 P, j- u. q
  1864. ; errors.
    * {/ k' I. L' I* E
  1865. ;opcache.mmap_base=5 [% i/ ~/ |+ q
  1866. ! _. U; \6 i4 d' ?* |! J* C. E. ?) G
  1867. ; Enables and sets the second level cache directory.
    ( h; R% j/ G& E  e+ P
  1868. ; It should improve performance when SHM memory is full, at server restart or
    / W6 l! u) c8 Q, F! Z! }5 [! h
  1869. ; SHM reset. The default "" disables file based caching.$ }" ^6 l/ ~; K; j7 U1 j& ?
  1870. ;opcache.file_cache=
    ) F2 q, _% C! k
  1871. ) |; @% e9 |) `9 z
  1872. ; Enables or disables opcode caching in shared memory.
    + f" w, |. ~& z& F
  1873. ;opcache.file_cache_only=0
    1 {- {$ l6 z/ r* G
  1874. % ^% ]) A; B0 J& K+ y- Z) f
  1875. ; Enables or disables checksum validation when script loaded from file cache.% [4 z+ K0 [2 J
  1876. ;opcache.file_cache_consistency_checks=1
    + h3 r" G* x+ H- Q8 b$ Q! P1 `( K

  1877. : u& e& v7 J. @7 f
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    0 u0 S( U( M9 _& v9 z  l
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    - k* K; I9 o+ j* e( t& Q% C( o' H
  1880. ; cache is required.' E! X+ D8 p' N. F. g2 L8 y' `3 v
  1881. ;opcache.file_cache_fallback=10 I7 J9 v" a- X

  1882.   q4 C4 ~  |4 n8 \) o6 T
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.; v( z- t& o, U) p( Z/ X
  1884. ; This should improve performance, but requires appropriate OS configuration.; e4 y6 P6 T8 {% t) V: f6 [5 t0 r
  1885. ;opcache.huge_code_pages=1
    ; C% A3 l7 }% w8 Y1 C
  1886. + n/ q1 k' n: j3 m6 J4 v* M+ d# G5 W
  1887. ; Validate cached file permissions.2 d' _' d2 J& I. b# H8 b6 ^/ ?
  1888. ; opcache.validate_permission=0
    ) J+ n1 t2 d: d8 Y
  1889. , r; f1 B* f' t) i# r; \
  1890. ; Prevent name collisions in chroot'ed environment.
    * {9 `3 Q0 r0 d$ V# [6 r
  1891. ; opcache.validate_root=0$ T4 w, ], _5 D2 V! w# x
  1892. 1 v# a; a1 U) j, [( M
  1893. [curl]& j& o: j4 m* c2 G5 [
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an% |! s1 K6 ~8 Q3 v& T* d  y( t
  1895. ; absolute path.1 f) Q. y" n3 r% |
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    5 @  r! ~2 ?; v( i1 O2 t9 g: g

  1897. / m1 `& m1 L( v/ \
  1898. [openssl]
    + T5 v7 y4 @6 S$ G6 p
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    & U% r: ?5 ~. v- q9 F
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    , J) D) W0 p, m1 g! S% K8 c
  1901. ; not specify a value for this directive as PHP will attempt to use the7 d; e0 q" Y  g0 K
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    ! `( B. z4 W) k) F5 D
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context( M/ L& o, j5 I5 j
  1904. ; option.
    & Q+ i7 q( W, p; ^6 A
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt4 l3 L. I# ]: e7 E, P) w

  1906. - N, f  Z# ^' x/ k7 d) S0 p
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    ) ]+ a+ d; {/ v
  1908. ; directory pointed to by openssl.capath is searched for a suitable; T: ~' i  x7 r  y9 m$ I% n5 J
  1909. ; certificate. This value must be a correctly hashed certificate directory.- w# X6 z. P  ^! I9 k; \) A
  1910. ; Most users should not specify a value for this directive as PHP will$ x' k/ W, f5 K% q. ]) `6 Q7 T
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    ( F: `! n5 d/ {, x6 [, k
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    7 W, U! b4 C6 a4 U
  1913. ; SSL stream context option.
    - s: ~) Q% w" ~
  1914. ;openssl.capath=
    6 a# z! T# B7 N# o

  1915. * f+ V, r6 H! L& f, P
  1916. ; Local Variables:
    0 H% A: c8 J) _
  1917. ; tab-width: 4
    8 B& P* G3 \, b+ L9 O; ~3 p* ~
  1918. ; End:* @# j0 Z+ h7 {  T* K

  1919. 5 |4 g% D$ z6 T+ N3 A3 y- W
  1920. ;eaccelerator4 M  J9 F8 R3 N3 k9 I2 D! w' ]

  1921. 2 {4 {( T! R4 t' l& e, N8 q' m1 O
  1922. ;ionCube
    7 w. H/ o% W+ [- [- K

  1923. , [. e/ v& g# }3 V8 Z5 q( I$ d! A
  1924. ;opcache
    ( x2 B' ~- V0 j1 x$ E/ J8 E1 d* @

  1925. ) m" y: [' r5 c4 u% g  j: @) c
  1926. [Zend ZendGuard Loader]
    1 k: f9 i4 h+ |0 ~
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    ' M; y4 x* |; _' s7 U+ ~
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so  y, \  N- G0 {& z% ~$ f
  1929. ;zend_loader.enable=1
    , q; U* F* Y4 E: B" D/ M9 I
  1930. ;zend_loader.disable_licensing=0
      \* ~* d5 ]  c
  1931. ;zend_loader.obfuscation_level_support=33 g  T1 |& }% q
  1932. ;zend_loader.license_path=
      \  o  Y2 n  H

  1933. 3 F! ~9 C' ]" G4 K: p: h7 C. G3 B
  1934. ;xcache
    ) X, @; O# y1 A) g  \

  1935. ( u! {1 }# u: @
复制代码
9 x! Y" `( K+ K6 m, \9 f, Q

# p8 k4 u' Y5 |: j6 t: W
" D" A! F2 C  r, {' f! k# p, {9 g- [* c9 _$ |7 \! ~

# t% u. P/ @" {& `" t1 @: v
# `+ m7 T4 _3 l4 ?! f- B2 K* J4 S, m
6 r' v' l0 T- B+ wPHP5.6版本原始设置
8 H: E  [' n) o
* _0 C4 `; j# X: t/ ^( Q; h& t# ^
  1. [PHP]
    : V! ~& t( ]: m7 S! B

  2. ( o( ^: C  h* Q/ H. u
  3. ;;;;;;;;;;;;;;;;;;;( i8 H& m# M/ i1 z# @5 |/ H7 L' @) Z9 H
  4. ; About php.ini   ;
    : ~/ Z, T2 w  {2 i: Q) @8 R5 l
  5. ;;;;;;;;;;;;;;;;;;;! A  r& ]/ n# L* k" ]
  6. ; PHP's initialization file, generally called php.ini, is responsible for% r4 N7 r0 Y+ n+ g: u& ?; O7 T/ c
  7. ; configuring many of the aspects of PHP's behavior.
    ) l# @0 ]* m( }& A- I# L

  8. ) d! ]0 F4 {2 z# @; a+ {3 k  e
  9. ; PHP attempts to find and load this configuration from a number of locations.
    ) M  I, a" J8 `' M2 m1 k5 f9 I9 h3 S
  10. ; The following is a summary of its search order:
    6 R0 d1 L$ W! |
  11. ; 1. SAPI module specific location.& O% y! h: |) Z7 ?* l7 T8 G3 i
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)0 w- O$ ]7 b3 G8 C
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)0 o- b3 m- o" s0 U( B  p+ N7 t
  14. ; 4. Current working directory (except CLI)7 G( d) ?/ i2 S1 R1 R5 x
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    " n" l8 c4 v  c& Y( [% ~  f6 k' w
  16. ; (otherwise in Windows)
    4 Y- x8 F# ]- d0 K
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    % S0 z. ]. g% c1 q" |
  18. ; Windows directory (C:\windows or C:\winnt)
    % G- L3 W+ P9 ]  }, `6 ~
  19. ; See the PHP docs for more specific information.
    * [5 g* u/ |  s
  20. ; http://php.net/configuration.file1 U5 e# p1 B! s6 x8 Z. b
  21. 4 O2 L$ c9 y4 r; S; a) A
  22. ; The syntax of the file is extremely simple.  Whitespace and lines, {7 q4 Q7 {0 x2 \9 @# d  d) s
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    % p6 E1 v. r2 u! F/ K3 c
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though; E& n% L: Y4 X3 \
  25. ; they might mean something in the future.
    8 {' p8 Y: y) u1 w4 l& X

  26. . m; j9 A( j* G! d
  27. ; Directives following the section heading [PATH=/www/mysite] only
    ( }! \/ U$ B& L" U# A
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    ! I9 H6 Z* w) A, I7 g
  29. ; following the section heading [HOST=www.example.com] only apply to
    2 n' `6 n  X+ l1 E
  30. ; PHP files served from www.example.com.  Directives set in these
    - u: O5 \8 z* Q
  31. ; special sections cannot be overridden by user-defined INI files or
    # `) f4 M( p+ \9 q, U( C
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    3 J- e( c  N& l7 Y& T5 D' p- Q
  33. ; CGI/FastCGI.$ n* f+ r! H) i8 B4 \' o
  34. ; http://php.net/ini.sections3 z) K$ ~7 G' J  m( t8 R
  35. ! O, W1 f+ o$ P( R
  36. ; Directives are specified using the following syntax:
    & Q- w% v$ u6 L, l3 S9 L/ `
  37. ; directive = value
    / m. q) U, b& n
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.) g( X8 G' w0 R+ I1 @
  39. ; Directives are variables used to configure PHP or PHP extensions.
    " G6 L; M' G0 D
  40. ; There is no name validation.  If PHP can't find an expected% ?2 z; s* j! q! l, n. u' U
  41. ; directive because it is not set or is mistyped, a default value will be used./ ~& K1 M3 j& d" Z# K  ~

  42. : B3 h/ @: E! z
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    , w. z+ Q2 y5 I
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression" B+ F& p* G/ {% F, A6 p% H6 J3 @
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a0 P5 V. P8 Z8 F& W/ g
  46. ; previously set variable or directive (e.g. ${foo})
    * [+ @1 H8 e$ S9 ~

  47. ! K9 _1 v* b# ~0 y2 G
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:1 T$ y- \; R, T# p
  49. ; |  bitwise OR
    2 w! r% G" Q6 X0 T$ y
  50. ; ^  bitwise XOR+ T# C. G; n$ a$ s
  51. ; &  bitwise AND
    " f4 v3 e2 s- C* ^7 v$ T
  52. ; ~  bitwise NOT
    . z) a/ P1 G- ]* s( F
  53. ; !  boolean NOT
    9 m' u5 d6 Y. r; ^/ o" [
  54. / w* E3 I( C0 x
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.+ T7 X: b! s; C' J0 E
  56. ; They can be turned off using the values 0, Off, False or No.
    " N1 b/ @  P4 D+ H" ]
  57. $ k9 G( p* b+ R6 A! s, k
  58. ; An empty string can be denoted by simply not writing anything after the equal
    " V. z- x$ Z9 V; {$ f* T1 X1 }% p
  59. ; sign, or by using the None keyword:
    , I6 h# e# R. V! [$ x. K6 ?7 W
  60. 6 o6 Q' W1 F# z( g( B
  61. ;  foo =         ; sets foo to an empty string+ `' O; }& d6 P3 Y8 b( F) X: A/ ?
  62. ;  foo = None    ; sets foo to an empty string2 J6 z) |1 G0 y" r* w+ ?! Z$ T
  63. ;  foo = "None"  ; sets foo to the string 'None'. A% @5 {2 }' v: R0 I# m

  64. % n. f) u3 e: e2 V% i! c+ i# I
  65. ; If you use constants in your value, and these constants belong to a2 \, u6 `* N- S& K
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    % ~; m7 [( Y6 y% N& S
  67. ; you may only use these constants *after* the line that loads the extension." E, i* S0 o- {
  68. ( ]/ R  W: e" Z6 q, z
  69. ;;;;;;;;;;;;;;;;;;;
    , ]) M* f( M) i6 h- q# ?8 x3 H: D
  70. ; About this file ;
    & Z. e0 f( q* I
  71. ;;;;;;;;;;;;;;;;;;;+ s9 H* o8 K( `5 [/ y2 ?, t$ @
  72. ; PHP comes packaged with two INI files. One that is recommended to be used5 ~1 n; w' E7 P, ]/ P- Z
  73. ; in production environments and one that is recommended to be used in
    . l/ t5 U. ?9 V
  74. ; development environments.
    2 ?0 F) p' T4 S7 r& ]9 v5 I# D9 s2 T; B; z
  75. ) f) V8 t2 l, D- p) p1 Q1 |
  76. ; php.ini-production contains settings which hold security, performance and" e' y# u( r- E0 W3 W! {
  77. ; best practices at its core. But please be aware, these settings may break
    : k$ c" Y* V; }! q3 e  v
  78. ; compatibility with older or less security conscience applications. We) C% H8 k5 |7 P5 V
  79. ; recommending using the production ini in production and testing environments.& v& e( `7 |. b8 S- r4 V3 X
  80. 9 Y$ v- O6 X* J) d9 L/ X* k2 Y
  81. ; php.ini-development is very similar to its production variant, except it is
    9 J2 m* q5 O* h; N1 U
  82. ; much more verbose when it comes to errors. We recommend using the. V7 }. e1 s4 {( X9 h7 z, Q, w
  83. ; development version only in development environments, as errors shown to
    " r( v: s7 ^8 t- m* p1 d
  84. ; application users can inadvertently leak otherwise secure information.
    " Z" v2 I: U0 |
  85. / M/ G9 `3 H; g7 e, K) p
  86. ; This is php.ini-production INI file.
    * ?, G. h; u& Y9 D

  87. 0 s* L3 n4 W9 h
  88. ;;;;;;;;;;;;;;;;;;;% ]# ~+ x% q+ p4 n# t/ l' |
  89. ; Quick Reference ;
    8 H& T% U8 z+ z3 A: K
  90. ;;;;;;;;;;;;;;;;;;;  H  E9 m4 A. _# u3 I8 H
  91. ; The following are all the settings which are different in either the production' V* ~  d7 i1 T$ D% A5 J" u
  92. ; or development versions of the INIs with respect to PHP's default behavior." D1 t( L7 b  ~% T+ h: @0 Y
  93. ; Please see the actual settings later in the document for more details as to why0 A. C, F! x' h9 _4 `
  94. ; we recommend these changes in PHP's behavior.3 U( L) k/ X* H: J5 _- \( x, g- i
  95. 0 L/ \5 v& n) u2 Q; t+ P
  96. ; display_errors
    6 P8 g& }+ B- I! ]2 X) J
  97. ;   Default Value: On
    0 _, U! [1 K" U/ s  m
  98. ;   Development Value: On
    $ R; t1 z" {4 M4 ^
  99. ;   Production Value: Off6 h2 h" V- i& z8 w3 T/ y# M
  100. $ d) ]7 x8 u1 t* p. G: c" _
  101. ; display_startup_errors
    9 u! l* c+ t+ w# c
  102. ;   Default Value: Off
    / w: J+ u# Q/ C- }
  103. ;   Development Value: On
    & i( Z% h% j5 K( `
  104. ;   Production Value: Off/ ]& V( l+ l4 o* d! k5 Y% P
  105. # r) k7 W+ r0 S; A1 |$ Q
  106. ; error_reporting
    0 S7 U& `0 x( U( r% R, P' N& W
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    5 s3 a  G' B! X' n. U' h
  108. ;   Development Value: E_ALL
    4 @: ~+ @' u. h
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    : t# ^* j- j* Z0 c

  110. ' t+ X* P& V6 x+ I5 }
  111. ; html_errors
    1 z" k- G7 w% h, k
  112. ;   Default Value: On( X5 e, Z( a. n% v9 e8 q& m4 G
  113. ;   Development Value: On+ \( t8 x* S+ t. \& M
  114. ;   Production value: On) I4 M' j6 y  S9 N( a

  115.   F; t, M  v) D+ T7 u6 f
  116. ; log_errors
    4 b  ~3 x# w1 V
  117. ;   Default Value: Off
    3 p- S7 A7 n" {& ^% ]) I% l
  118. ;   Development Value: On+ J/ u4 R2 l6 A% [, e4 ?
  119. ;   Production Value: On$ ^5 p8 M% u  p# x" ]: e
  120. , \! r( c; c6 ^  ?) N
  121. ; max_input_time$ p8 |! v6 \4 j) W
  122. ;   Default Value: -1 (Unlimited)$ \! J1 ~- l1 G1 h& {
  123. ;   Development Value: 60 (60 seconds)( k* Q$ ^; v; d2 u2 ?
  124. ;   Production Value: 60 (60 seconds)6 x, t4 s  A) W. f, d# @( K
  125.   F- _1 i$ e6 N" c$ e* S* v
  126. ; output_buffering
    0 [; b9 J* \* L* g9 g" j9 \
  127. ;   Default Value: Off. d. f% A1 Q- ^3 H% j
  128. ;   Development Value: 4096- `7 I4 g9 W' x6 i1 v
  129. ;   Production Value: 4096
    # Q. n, z; f/ B* e  y

  130. / M2 K9 ?: J3 Z/ w
  131. ; register_argc_argv. f8 }( }) U7 [6 o3 r3 K0 m# p
  132. ;   Default Value: On4 z2 v6 {- p3 d- F2 y8 Y  U
  133. ;   Development Value: Off
    # j, U/ U$ T( ]/ {3 C( |* z
  134. ;   Production Value: Off
    . ^/ e( Q" f: r# k* j$ H

  135. * E$ t$ x) [) I. {$ r, m( Z; E. X
  136. ; request_order( M5 a6 Y1 k7 J8 s1 p, s
  137. ;   Default Value: None# J  f8 S) F  m4 [7 y3 z1 |: s
  138. ;   Development Value: "GP"
    : F) X% w9 n; M. y# s1 b0 v' n
  139. ;   Production Value: "GP"0 L  T+ F  S0 i4 p; A1 I, i

  140. $ n' h2 i& M& P) M. U" ?
  141. ; session.gc_divisor5 H  _1 A" }6 `2 a
  142. ;   Default Value: 100$ o0 Y. ]2 E2 n* \' C
  143. ;   Development Value: 1000
    7 q& P% L+ R9 d! F& V$ d
  144. ;   Production Value: 1000! J; d4 z* G0 x7 {) ^4 V

  145. - I/ G) l, K7 E& C6 V
  146. ; session.hash_bits_per_character
    1 u2 Y6 L5 X# g
  147. ;   Default Value: 4
    ; \+ @+ \6 p/ F; O! ~& J
  148. ;   Development Value: 5! ?6 Q* ?! K) }! Q. G8 u5 t: x
  149. ;   Production Value: 58 ~: n: \( q" p7 Y2 _9 D4 I

  150. 6 e6 N! }( }0 I" \( e' K
  151. ; short_open_tag
    & b1 [( }# \. w; t/ Y3 M
  152. ;   Default Value: On( f) k# T' b6 x
  153. ;   Development Value: Off( c: [7 i: O6 {
  154. ;   Production Value: Off; Q+ Z' n4 K( c! `' P' B

  155. ( v# X& X$ f3 N! L6 o1 T
  156. ; track_errors
    9 p8 I) Z+ y/ y1 ?/ \
  157. ;   Default Value: Off( a  `- i3 ~4 g4 I/ n$ b1 R+ ?& g
  158. ;   Development Value: On
    4 g* L3 [8 x/ c, l
  159. ;   Production Value: Off4 A  C7 N* ~; }5 Q  O4 h. \
  160. 8 e5 r! h* j2 c4 Z3 v1 ?, g: L) h
  161. ; url_rewriter.tags
    ' ]& Q  B7 _2 i9 T
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    - K3 R) S! e0 [1 }. ]' U
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"" v7 D. F- x( T3 L
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    6 E& S; ?7 t2 x4 z, A  ~$ J  P

  165. 5 g# y  {- V/ O, ]/ Y
  166. ; variables_order  i3 ?5 C" ^. S7 b
  167. ;   Default Value: "EGPCS"
    % O1 }; p9 K2 w! ^7 T7 x1 J% |; v
  168. ;   Development Value: "GPCS"
    ! T$ I$ t* r% e. w
  169. ;   Production Value: "GPCS"' v: j* h8 R3 F0 E  u+ x$ S
  170. / L0 c4 u" k% H3 p% m; w4 R3 m
  171. ;;;;;;;;;;;;;;;;;;;;
    ' s* a! @! |  r. z) b
  172. ; php.ini Options  ;0 Y/ [. |" G5 X3 k9 h( W
  173. ;;;;;;;;;;;;;;;;;;;;
    0 R' V  J) O- p; P- A- s0 b
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"; i4 Y) l2 Q  x$ L3 f5 }% ^
  175. ;user_ini.filename = ".user.ini". ?& |7 v, g- `9 [; P% q% _' |2 E

  176. 4 H, h7 k, t* [
  177. ; To disable this feature set this option to empty value
    / k) `( B# _; ?
  178. ;user_ini.filename =
    & C( g8 Y4 [$ B/ Z# A0 K0 h& x

  179. 7 q( R, R6 {' Q/ t. t, Z
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)8 G( H" B3 f9 S
  181. ;user_ini.cache_ttl = 300+ v8 Q$ ~' R+ l6 L

  182. ) T7 Y, u# ?2 t2 N/ W9 T
  183. ;;;;;;;;;;;;;;;;;;;;' G2 J. G) o' i4 c3 ]5 L
  184. ; Language Options ;
    ( ^" R/ F+ B5 h
  185. ;;;;;;;;;;;;;;;;;;;;
    & f7 h+ Y9 i4 i3 ^, L1 H/ z  S! R; k

  186. " y8 Q" ^9 Z- b; E& [2 U6 b! X
  187. ; Enable the PHP scripting language engine under Apache.( O7 x1 E, _. p/ [
  188. ; http://php.net/engine6 J2 G7 x/ ?6 l0 q- B3 S6 w
  189. engine = On3 B0 }' ^* t- J5 I# L
  190. : c  |% ^& q" D+ p% \& C
  191. ; This directive determines whether or not PHP will recognize code between
    5 j1 e( T( A/ d) T
  192. ; <? and ?> tags as PHP source which should be processed as such. It is1 v9 I- M3 x' n
  193. ; generally recommended that <?php and ?> should be used and that this feature; F3 v8 T1 e. M1 b2 R$ i$ ]
  194. ; should be disabled, as enabling it may result in issues when generating XML1 @; D, m) P* E
  195. ; documents, however this remains supported for backward compatibility reasons.3 e6 Y! L7 y- E4 v( \' y6 \
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    9 W5 p& P# _# v8 M: e( X. T; F
  197. ; used regardless of this directive.- O2 n8 _  O# d" I$ b  L& x
  198. ; Default Value: On
    * o* ?' V( ?! r0 X& S8 @5 k* |
  199. ; Development Value: Off
    & W, J; `7 L0 ~* ^) E2 Q) t
  200. ; Production Value: Off) Y$ K$ F# x+ H1 ^5 P" V; t1 q6 y
  201. ; http://php.net/short-open-tag5 q6 g8 L1 Z3 \7 C, b2 {
  202. short_open_tag = On
    6 X3 Y3 R3 _- \* y$ i

  203. 0 a- `. i$ D6 v
  204. ; Allow ASP-style <% %> tags., K) M8 Y$ ^( Z7 K% |
  205. ; http://php.net/asp-tags
    * @; F; Y. f& t+ e* `, J5 ~/ C
  206. asp_tags = Off
    " t% i6 R  w9 G9 g5 [

  207. 2 q  F  H8 ~& r. M8 T+ ~* {0 }" E0 Y
  208. ; The number of significant digits displayed in floating point numbers.
      d: \6 U/ x8 K
  209. ; http://php.net/precision
    , l( w6 H8 J0 D- Q+ ?
  210. precision = 14
    # u2 @4 n- z$ l& ]3 J

  211. ) R, o$ U7 D' e- {: k8 P6 H% s+ Q2 }
  212. ; Output buffering is a mechanism for controlling how much output data
    0 I) M, e% {9 \
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    8 D5 g% I: X. F/ k/ x4 j7 F! Z4 u' x
  214. ; data to the client. If your application's output exceeds this setting, PHP6 Y. ]7 r- ^# [: q
  215. ; will send that data in chunks of roughly the size you specify.8 m8 o$ R. \6 T1 r% c; z; w
  216. ; Turning on this setting and managing its maximum buffer size can yield some+ v& [: ?! J- t
  217. ; interesting side-effects depending on your application and web server.1 ?" i6 _# n. |, |
  218. ; You may be able to send headers and cookies after you've already sent output* N9 t/ t. [: `1 ^& l
  219. ; through print or echo. You also may see performance benefits if your server is
    0 E6 o- K1 k7 ?$ l: M' N  l! E
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    0 c" F+ r4 v. ^3 q
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    " ]5 w- v1 X. U+ L5 o  B
  222. ; reasons.) s+ D8 L* k" a' J; |
  223. ; Note: Output buffering can also be controlled via Output Buffering Control' {+ L1 U$ t1 }! K9 E' T
  224. ;   functions.- i2 y; ~' U. |# I% D
  225. ; Possible Values:
    - A9 D% [8 F# I3 z6 b2 ~
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)0 i/ o/ ~- E' P- m; g. ]% q- ?
  227. ;   Off = Disabled
    - q" h9 |: E5 k
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    / D: P- O* ~0 \. `( O$ H
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI$ \7 ~6 u# I: S; ~+ F$ M- R5 W
  230. ; Default Value: Off9 H& u! `7 }! j0 A3 r$ I
  231. ; Development Value: 4096* c% p1 A' y; ~3 K  r2 k# P
  232. ; Production Value: 40969 q. @- ?, n. z1 u8 V
  233. ; http://php.net/output-buffering
    ; ~8 q7 y5 t+ F6 t
  234. output_buffering = 4096
    . y% d  z' c6 C1 F1 u, p

  235. 4 ~8 w0 m! Q0 q& A/ T1 D. @& R
  236. ; You can redirect all of the output of your scripts to a function.  For" G1 j) y! r2 r, _0 q
  237. ; example, if you set output_handler to "mb_output_handler", character
    ; [# P6 ]' p! R" C/ l% n  E
  238. ; encoding will be transparently converted to the specified encoding.7 Q8 G0 A' q% ]2 V% H* G
  239. ; Setting any output handler automatically turns on output buffering.2 Y0 {% a) w" C
  240. ; Note: People who wrote portable scripts should not depend on this ini) e6 I: m! E9 w/ q# v
  241. ;   directive. Instead, explicitly set the output handler using ob_start().7 y* X' w& B$ Y- X) O
  242. ;   Using this ini directive may cause problems unless you know what script
    % I. Y! [/ F5 w8 H8 ~3 \# H, X
  243. ;   is doing.
    , {1 k  n7 I! \
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    7 T& H: M. ~* D% T, z9 w
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    ! [4 V" v- B7 l3 J# s1 N0 L8 y
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    * ~, F" S% S- O) [# N
  247. ;   Instead you must use zlib.output_handler.# D8 X  X2 d' r0 ]; C% k
  248. ; http://php.net/output-handler5 u8 R2 d% {" C) \5 f& Q
  249. ;output_handler =
    ! v3 T. O2 \/ q

  250. / S; I7 t) e8 m4 g( M
  251. ; Transparent output compression using the zlib library
    . C& e8 m1 @; ~; V5 r3 U
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    7 q, ^! P7 I* R
  253. ; to be used for compression (default is 4KB)
    3 W8 v- J0 J, y
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP6 {+ s3 z  e4 S. U" @. i- g
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    & o: Q" l8 p5 K# S. }  s
  256. ;   compression. If you prefer a larger chunk size for better9 P' f5 w0 `  z
  257. ;   performance, enable output_buffering in addition.
    " o0 Q  N5 ^, w5 L" o2 p5 N
  258. ; Note: You need to use zlib.output_handler instead of the standard
    8 {! D3 c( }( ~6 x
  259. ;   output_handler, or otherwise the output will be corrupted.
    ! e2 j4 O- S; a% z% e) @
  260. ; http://php.net/zlib.output-compression
    7 W9 }/ J9 c& L* B
  261. zlib.output_compression = Off
    0 X9 `" x1 @, q9 O

  262. % u% Y% C* F3 I* E% \
  263. ; http://php.net/zlib.output-compression-level2 ~% v  X7 N4 i. T+ q: }7 S
  264. ;zlib.output_compression_level = -1
    7 P) E" h; ]( F  i) v# ^
  265. * W3 S' ^  k) X' V4 I' v
  266. ; You cannot specify additional output handlers if zlib.output_compression: v( Q) O! K: F8 z* ^% c1 I1 q
  267. ; is activated here. This setting does the same as output_handler but in
    , k7 W" S" |8 u# T- G
  268. ; a different order.
    ' ~0 m2 Y7 O  u1 R
  269. ; http://php.net/zlib.output-handler
    ( L1 d* m6 t: y) G- H
  270. ;zlib.output_handler =2 ^0 Y; {3 l1 i' I5 l1 D- C
  271. 0 p5 u# u. h1 `  u+ t
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    ( V, C2 q2 N8 A: `6 C% R  W: H
  273. ; automatically after every output block.  This is equivalent to calling the
    # j; k4 ^# V$ z* L( u
  274. ; PHP function flush() after each and every call to print() or echo() and each
    . T8 A& I- l+ F; [$ l. H
  275. ; and every HTML block.  Turning this option on has serious performance
    0 ]/ B+ n1 r- r" E. Y5 m
  276. ; implications and is generally recommended for debugging purposes only.
    $ S( o/ F) O, i9 D. f5 s" x
  277. ; http://php.net/implicit-flush- ]) z) E8 g4 n( L1 B4 H* s1 z
  278. ; Note: This directive is hardcoded to On for the CLI SAPI: w4 ~1 E4 u* r2 g4 |  W! D
  279. implicit_flush = Off
    # _; m! T  b2 Z& o

  280. 3 O# M' }& W, @7 B$ L( c0 k
  281. ; The unserialize callback function will be called (with the undefined class'# p% c: w* P8 I# E& r/ D" \, O9 ^5 D) }
  282. ; name as parameter), if the unserializer finds an undefined class
    " q9 R/ V! h$ ~$ E
  283. ; which should be instantiated. A warning appears if the specified function is
    ' G& N$ o( B( ~
  284. ; not defined, or if the function doesn't include/implement the missing class.5 |8 {9 F- B# l+ ?9 q6 }+ {
  285. ; So only set this entry, if you really want to implement such a
    * D3 z: h8 w! C6 s5 ]2 e# |
  286. ; callback-function.
    , D2 Q$ [/ A. _: l; I# b) q
  287. unserialize_callback_func =5 r) W  }: x$ ~' A* o
  288. 1 }3 z" B( e' N$ B
  289. ; When floats & doubles are serialized store serialize_precision significant
    - Z  A$ O1 {+ G& L8 b+ O
  290. ; digits after the floating point. The default value ensures that when floats
    : j6 n# f% o+ C" l* m
  291. ; are decoded with unserialize, the data will remain the same.
    ! ~% c1 Y6 ?% X* {5 K
  292. serialize_precision = 17: d6 q8 A2 ~1 d: w2 e' f

  293. $ \% C+ i( ?) ?! P! D, r+ ^
  294. ; open_basedir, if set, limits all file operations to the defined directory
    5 J& K3 a# U* w6 d2 A% ?; d
  295. ; and below.  This directive makes most sense if used in a per-directory
    0 d1 f4 V3 n! _. W5 E
  296. ; or per-virtualhost web server configuration file.
    + Y5 w& B" w$ N) G# \& `  _/ I. w
  297. ; http://php.net/open-basedir0 \: S. g5 [; c
  298. ;open_basedir =
    / y; q& `2 ~3 v& j  K
  299. ' A( U) u9 k5 {1 B* i# O
  300. ; This directive allows you to disable certain functions for security reasons.
    4 q# g. \( C) v/ S7 X/ w2 |
  301. ; It receives a comma-delimited list of function names.
    + @9 N: a1 h  x2 {) o0 {( _
  302. ; http://php.net/disable-functions2 Y' w; a/ _5 g8 m
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    : H+ ~9 F; l* |# F$ |: z+ [% y4 r
  304. 4 t9 c2 d5 P' I, t
  305. ; This directive allows you to disable certain classes for security reasons.. d8 X4 p1 v) U: X; U$ ?. K
  306. ; It receives a comma-delimited list of class names.
    / Q1 p" Q$ Z2 e& {* E1 [, a
  307. ; http://php.net/disable-classes1 G. L0 T) l1 J+ s! M( N
  308. disable_classes =! s1 _7 X0 W+ Y, E$ t  \6 K

  309. ) E1 M* X1 I; M. Y
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
      `+ c' O* E# v6 u
  311. ; <span style="color: ???????"> would work./ @; c# S: E. b
  312. ; http://php.net/syntax-highlighting
    , z, B% |$ K! x6 b8 `( s3 m. }. r
  313. ;highlight.string  = #DD00008 l& [! T; H( K& f
  314. ;highlight.comment = #FF9900
    3 B1 Y) O. b& j
  315. ;highlight.keyword = #0077000 n2 q4 e" v5 d- Z% |8 e
  316. ;highlight.default = #0000BB
    7 ^9 w2 ~# w0 [" e. ^4 ~% Q4 F
  317. ;highlight.html    = #000000  g+ m. G8 ?1 u# k7 w4 J9 ?
  318.   ]" W; G6 R, S' v. @
  319. ; If enabled, the request will be allowed to complete even if the user aborts5 G) s2 {/ ^' m+ V/ B/ r
  320. ; the request. Consider enabling it if executing long requests, which may end up
    " b- k9 _! R2 F& p
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior- Z5 N1 }4 u; s$ Y: ]: Q3 c# P/ ?
  322. ; is to disable this feature.
    6 C- |, u2 i% F- J0 F  t$ q
  323. ; http://php.net/ignore-user-abort9 I! z% j2 L0 g3 H# n
  324. ;ignore_user_abort = On
    ( l$ u5 ?6 m% i$ o8 s' v

  325. : l- m8 z% m( ?  A
  326. ; Determines the size of the realpath cache to be used by PHP. This value should8 |8 Y9 e/ K7 i9 D, G
  327. ; be increased on systems where PHP opens many files to reflect the quantity of) I/ W# S* Q- a# g# t+ |2 b
  328. ; the file operations performed.: H" j* E  {4 c# D+ T
  329. ; http://php.net/realpath-cache-size4 ]# }' E8 T0 [4 U
  330. ;realpath_cache_size = 16k. Z# s9 p: _$ F$ Y  m, K6 }

  331. 5 s7 l2 u0 z8 |6 e3 o
  332. ; Duration of time, in seconds for which to cache realpath information for a given& `3 J1 V4 a# _7 w6 {0 n
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    * D2 }# E2 F0 L. X- j+ y6 ~; @
  334. ; value.
      ^( y5 W% [4 _6 G0 G+ U9 N
  335. ; http://php.net/realpath-cache-ttl3 c. ]5 F9 k. r5 F
  336. ;realpath_cache_ttl = 1201 @/ d. Y( m1 |4 U0 o1 p; F3 M

  337. ; f2 V. l& A. R; e* V, b
  338. ; Enables or disables the circular reference collector.2 z5 n' p0 V# B0 F6 f% S8 [: t# V* y
  339. ; http://php.net/zend.enable-gc
    5 ]; `& i  x" [+ R1 Q. B
  340. zend.enable_gc = On8 a4 _% A& |  W1 N( Q/ Z+ N; [# h
  341. 5 \6 ^/ H& w3 I! j5 J' U0 P/ A4 z
  342. ; If enabled, scripts may be written in encodings that are incompatible with) R. o) c% j( J$ a$ _' W0 P
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such; t8 O6 m) U7 f$ }2 H; f
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    # ^8 K1 m8 H  ?% G# R
  345. ; Default: Off
    ) R* \  b& `8 C4 \* i; y5 R+ V
  346. ;zend.multibyte = Off
    2 h9 ^1 U! I# i2 F. J
  347. & J4 t# O; i! M: }
  348. ; Allows to set the default encoding for the scripts.  This value will be used! Z3 w/ ]4 U3 G' u
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    ( Q& k2 \6 O# e3 v: g
  350. ; Only affects if zend.multibyte is set.0 g6 }+ t4 [# F
  351. ; Default: """ f+ W- f3 ^: l  ]! G5 S
  352. ;zend.script_encoding =
    2 V$ N  d% e, |, N$ K: v

  353. " f4 F) G2 j" n0 z
  354. ;;;;;;;;;;;;;;;;;$ I$ g/ E: r/ _. e, |% u0 f
  355. ; Miscellaneous ;1 [. V- e, z) c
  356. ;;;;;;;;;;;;;;;;;0 J. Y, k  G6 O6 J1 i. w
  357. * Z+ r+ @! q# z6 a  F
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    1 m! {( s8 l4 e4 F# F
  359. ; (e.g. by adding its signature to the Web server header).  It is no security9 t8 b/ m+ F! ]& @; }
  360. ; threat in any way, but it makes it possible to determine whether you use PHP0 O$ X  ?6 O' x/ ?' W3 A( z
  361. ; on your server or not.1 u) \1 d# M2 g# [8 x
  362. ; http://php.net/expose-php
      ^! S/ S+ z; j5 z
  363. expose_php = On- G7 d2 Z- x! N  z7 g; C
  364. 8 j% @0 H" [# [/ {) x# a( X
  365. ;;;;;;;;;;;;;;;;;;;
    0 m' u) [0 h0 c. |; N
  366. ; Resource Limits ;7 M9 O% E+ m  [% \8 P
  367. ;;;;;;;;;;;;;;;;;;;( E& O3 S2 m! x3 a- R
  368. , u& @; t( _$ D  \  j4 S# ^
  369. ; Maximum execution time of each script, in seconds
    ' i7 f4 X: d& M0 V
  370. ; http://php.net/max-execution-time
    , B& O4 I; T0 s3 s  ~
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    ' X& h. R7 x, P- x; y  R
  372. max_execution_time = 300
    7 E* H7 n/ t% |9 H9 E

  373. ) h" S. V8 h, \+ u' |% y
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    ' o" A- y1 G0 O0 ^+ \% q- E
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly8 V1 H. M" B3 p; a# q; Q
  376. ; long running scripts.# t0 K$ y' _/ Z& x( |0 O" d3 ?( G* P
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI8 O' V! A0 x' ~& D* j. ~
  378. ; Default Value: -1 (Unlimited)
    4 y4 l2 z9 W" S8 G, _
  379. ; Development Value: 60 (60 seconds)
    0 N' v! _9 {" w& P# _
  380. ; Production Value: 60 (60 seconds)
    ! p- N3 A/ x" y$ [. a- g
  381. ; http://php.net/max-input-time: _, e& M: C" o7 B, \5 S
  382. max_input_time = 60
    4 o  ]0 s; P1 O& E  p# o6 ?

  383. 5 e  G9 h0 {$ t; t! |  g, B9 H
  384. ; Maximum input variable nesting level8 y3 P8 J. D0 p4 X; C
  385. ; http://php.net/max-input-nesting-level
    ( Q) v) Q* k! R  [
  386. ;max_input_nesting_level = 64
    ; T6 R' {1 R- S# Z; w" e
  387. 2 G2 ]/ j- {, h
  388. ; How many GET/POST/COOKIE input variables may be accepted  t. o( c. {$ ]( q- a! ~
  389. ; max_input_vars = 1000  M* Q8 K3 W* l# r
  390. * V6 y5 \0 e3 b& V$ c
  391. ; Maximum amount of memory a script may consume (128MB)
    # d. n9 x) Z9 J- M+ R& A, R% W
  392. ; http://php.net/memory-limit0 x* x5 U+ |7 L
  393. memory_limit = 128M  I0 m; u# t1 ]/ }

  394. / Z7 G# s# e. v5 ]1 a% x
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    2 q3 w. W8 ~2 M4 u2 r" q7 Z* x
  396. ; Error handling and logging ;9 i. B8 o* x% t  {
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8 b& G* e7 S9 x& w
  398. - E% S5 V+ s* @/ \" j
  399. ; This directive informs PHP of which errors, warnings and notices you would like5 C, {6 B+ M4 G8 k  ~, y/ e
  400. ; it to take action for. The recommended way of setting values for this
    $ ]9 ~  u+ y9 ^1 ~3 f
  401. ; directive is through the use of the error level constants and bitwise
    - V( U2 Q0 J" G: P: b) ~$ y) a
  402. ; operators. The error level constants are below here for convenience as well as+ \; {8 S$ K0 R3 Q
  403. ; some common settings and their meanings.
    3 \* H* V8 X- ~) L& p4 {( x
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    / w6 b1 C3 i+ n4 A6 R; t
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    - O* b- P8 q5 G  }$ E2 L3 I! {! a
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    + a/ T' t1 b9 Q4 Y3 M6 n. ~' L% O* J
  407. ; recommend error reporting setting. Your production server shouldn't be wasting7 g4 q/ a! [# {3 L- ^$ ?
  408. ; resources complaining about best practices and coding standards. That's what
    $ w! G7 a5 f5 |- f& V" `0 D8 G
  409. ; development servers and development settings are for.: y7 |  P8 f& o+ l2 k9 l$ A8 g1 A
  410. ; Note: The php.ini-development file has this setting as E_ALL. This' x2 c2 [8 n. c5 K6 o5 j
  411. ; means it pretty much reports everything which is exactly what you want during
    $ w; r) i& G3 v
  412. ; development and early testing.
    " O" |6 O$ V2 z9 X: H' s
  413. ;$ a4 n. W2 d! [/ Q" B( w
  414. ; Error Level Constants:% G# I, C* g0 C2 l# L' }3 g
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    0 l7 |9 ]* v; ]* g! g: G" J
  416. ; E_ERROR           - fatal run-time errors
      t6 z$ P( g, F3 i3 @1 T
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    5 ?  U7 \9 r- `/ O
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    " w3 X' B1 m4 F* V: e. C
  419. ; E_PARSE           - compile-time parse errors( V4 H8 D. o2 x" I9 ~
  420. ; E_NOTICE          - run-time notices (these are warnings which often result/ _7 i6 P6 d7 X
  421. ;                     from a bug in your code, but it's possible that it was& C2 [7 R8 l! j" y& ^# ~2 ]
  422. ;                     intentional (e.g., using an uninitialized variable and
    5 x! c1 k$ Y, Z  C
  423. ;                     relying on the fact it is automatically initialized to an
    : @9 E: @0 _6 b% R
  424. ;                     empty string)
    - t9 C- p# Z/ n, g& T( Q, [% G  K
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    5 W: h" ^' W) U
  426. ;                     to your code which will ensure the best interoperability$ j/ V8 u$ E- I5 h
  427. ;                     and forward compatibility of your code8 {& R9 a5 H1 @! S" Y
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup! H$ A$ b% K" L; u5 @
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's, u/ u3 g3 k7 w* \5 L% U2 Q- u& T6 R
  430. ;                     initial startup+ N4 @2 u  ~2 U/ A: z& |( `, r
  431. ; E_COMPILE_ERROR   - fatal compile-time errors0 s8 g" u4 z" z- m8 ?% i: F
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors); T  f7 [2 c: b" b* s
  433. ; E_USER_ERROR      - user-generated error message1 r9 ]& O" s3 I- c) l+ O; m
  434. ; E_USER_WARNING    - user-generated warning message
    6 b" V9 L7 _  W2 m0 i; S; l( w/ {" s
  435. ; E_USER_NOTICE     - user-generated notice message
    * \! M2 i5 t, M8 C& G' J4 C
  436. ; E_DEPRECATED      - warn about code that will not work in future versions' F& D/ a$ T: W' ~
  437. ;                     of PHP
    ) Z5 g5 X2 B4 M* o
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings) R+ t1 ~- w2 f9 ?
  439. ;- e6 H% K5 P4 L; v+ f, v! g! k
  440. ; Common Values:: E* T. X, L5 t8 F" x1 R: y  M4 R
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)9 }" U. Z2 J; W8 r8 I! L. ]* `
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)( S" z/ g8 o( ~; j9 k" _
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    6 e0 T: Z  H8 y: w; U6 h- T8 S
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)6 a) l" X8 m# t" J* l
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED2 [5 N5 v0 f, w+ o! o7 ~
  446. ; Development Value: E_ALL
    ) d  m. b5 m3 O/ i) O
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT. t5 p! H! ]1 T( ^0 z0 ^7 L
  448. ; http://php.net/error-reporting: `7 |1 C& O$ ?
  449. error_reporting = E_ALL & ~E_NOTICE
    . }5 R, G5 Q* m0 A: j9 g, G$ n

  450. 2 x" F2 s: J9 {# S7 ~& J) _- K
  451. ; This directive controls whether or not and where PHP will output errors,& k/ h) O, L) ?# O# z# c5 B
  452. ; notices and warnings too. Error output is very useful during development, but7 p' J( ]2 E" U: [
  453. ; it could be very dangerous in production environments. Depending on the code, U! K. ~" r; G; M/ ]8 p4 Q: G0 m
  454. ; which is triggering the error, sensitive information could potentially leak" ?3 z. M; H' C+ t2 o$ p" {' M
  455. ; out of your application such as database usernames and passwords or worse.6 ~' h* \# R4 W& J% T, J3 B7 X6 R
  456. ; For production environments, we recommend logging errors rather than
    8 D* x  b0 L  L- }3 i' x
  457. ; sending them to STDOUT.) D) ~7 g9 B# H; Q: u" Z
  458. ; Possible Values:, W' A. e- t) [4 ?, h9 i
  459. ;   Off = Do not display any errors+ A+ |, R; \9 p3 p! R
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    1 r  m4 `+ P+ P  ]( L
  461. ;   On or stdout = Display errors to STDOUT' x7 v& U* e% y
  462. ; Default Value: On
    6 J- z- A( M/ {* J- }, E* {$ A5 s: ^! `
  463. ; Development Value: On9 h3 x2 O4 C- y( `% P8 n' y
  464. ; Production Value: Off
    ! M; {8 h& v2 n) a. _& u" {
  465. ; http://php.net/display-errors
    / Q, \4 K1 N; [- C. S+ B9 p
  466. display_errors = On
    3 y* A! G9 L. }; _: v6 G

  467.   m! D% c! @. z8 Y, ~
  468. ; The display of errors which occur during PHP's startup sequence are handled
    ( X4 S6 Y4 C: S0 P  [" U- H  c% n
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    / h' B3 e- x4 {- |
  470. ; errors from clients. Turning the display of startup errors on can be useful in2 Y0 y8 H& q2 O: k  W
  471. ; debugging configuration problems. We strongly recommend you
    6 }1 M' R% Q7 ~% g, Z1 d
  472. ; set this to 'off' for production servers.
    ; o/ Z. A9 Y) S, [) P! K* @
  473. ; Default Value: Off( o' a" \( l% M" Q4 Z: x
  474. ; Development Value: On1 H; h+ A# y. f' F# U
  475. ; Production Value: Off
      E/ Q" ^$ }  T/ T
  476. ; http://php.net/display-startup-errors5 l- N: K7 y' l8 l
  477. display_startup_errors = Off. e2 y6 o% X0 P2 `
  478. / F/ O8 ?; b7 }9 P: C5 h5 I
  479. ; Besides displaying errors, PHP can also log errors to locations such as a; [4 c3 s& d4 D2 A& h. U5 Z
  480. ; server-specific log, STDERR, or a location specified by the error_log1 D; q0 o7 U7 ?2 t( d1 Z) t0 _1 D
  481. ; directive found below. While errors should not be displayed on productions
      q$ q, e$ i, h" F- e$ d
  482. ; servers they should still be monitored and logging is a great way to do that.4 G- T/ y' Y1 a+ B3 y
  483. ; Default Value: Off
    0 F( ^: _' L) w8 p: O
  484. ; Development Value: On
    % A5 e2 ^8 A0 e0 I- x  W  V
  485. ; Production Value: On6 k' l8 Q& G' ]/ Z2 p
  486. ; http://php.net/log-errors
    9 Q2 K. l' Y- ~1 w
  487. log_errors = On( t& P1 ?5 M, ]  C; i
  488. , K9 c- b/ B- P' t8 N
  489. ; Set maximum length of log_errors. In error_log information about the source is, l7 d) p# K( F* h2 x  X
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    ' Q9 {2 v' O; T& ~; F
  491. ; http://php.net/log-errors-max-len
    + T% j: S5 S! Y( v7 f
  492. log_errors_max_len = 1024- @8 v/ O$ i+ {6 ^6 x+ N' D

  493. 5 Z& \8 ^# b0 B# R; W. u
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same4 r* v# ~& L& N
  495. ; line unless ignore_repeated_source is set true.
    : q, {" E! u  L/ i
  496. ; http://php.net/ignore-repeated-errors; t5 s' O9 M1 C% G+ m
  497. ignore_repeated_errors = Off
    3 p3 I1 Z1 T- b
  498. 1 j. |+ S" {3 q/ O4 B1 J3 H
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    5 R: n2 h8 V3 V- q9 S
  500. ; is On you will not log errors with repeated messages from different files or; c7 D& [& \, ~# y& E- \
  501. ; source lines.
    , }3 B3 q$ Q9 U$ `; A% b
  502. ; http://php.net/ignore-repeated-source
    / c. W( c- Y0 {1 ?. c
  503. ignore_repeated_source = Off
    . z7 W! q; z' ~! v
  504. 5 w8 e! o+ ~$ o
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on' D& m) q3 L. e, x  u, {3 l! [
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    3 x7 O  \* K; B2 g4 C$ c) p% W: p( b( h
  507. ; error reporting includes E_WARNING in the allowed list# J2 b6 P% T. v
  508. ; http://php.net/report-memleaks
    & f, Y5 j' a, i1 G) E: e
  509. report_memleaks = On
    6 B- f1 C; w1 I& u
  510. / p6 I6 l/ W3 [! u" P
  511. ; This setting is on by default./ S7 p( s0 z3 K  W
  512. ;report_zend_debug = 00 x6 m8 Q3 L- {3 w! C( W4 K

  513. 6 r* |" P( [( ^3 C' z8 h: R
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value% S! h! S6 M  O/ f1 `# ]$ T0 Z+ P
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    4 ?2 a* z6 ^, Z" l0 @
  516. ; however be disabled on production servers.7 V( h3 q( t( |( u% _0 F6 D
  517. ; Default Value: Off7 s+ h4 B; v5 Y/ i
  518. ; Development Value: On0 u+ f2 h) k5 O. o% k
  519. ; Production Value: Off
    % F+ ]6 O/ H$ _) D5 |9 D
  520. ; http://php.net/track-errors) D- P0 }1 h' O+ Q+ U' L6 N' T- V
  521. track_errors = Off
    $ z5 q/ a5 Q3 ~
  522.   P: \- E, \6 N' X' a1 h/ H, w3 @7 y
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    1 k5 B5 Y( ?1 p3 R, e" ]. k/ L
  524. ; http://php.net/xmlrpc-errors
    2 G8 G5 g. A& i6 }7 \* V+ S
  525. ;xmlrpc_errors = 0
    5 G2 o6 M# n$ U6 J

  526. 9 n) I6 m# w; ^& u) I
  527. ; An XML-RPC faultCode" e% n7 R6 S* W9 \  U+ N3 C
  528. ;xmlrpc_error_number = 0: A4 G8 v" j9 X( c/ X+ I8 \1 E3 O

  529. / _! Z1 v( Q0 K" c/ n8 v6 T5 ]
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    # J2 W+ E' q4 W9 D7 D& j
  531. ; error message as HTML for easier reading. This directive controls whether; `; A+ \& G5 U2 [) R
  532. ; the error message is formatted as HTML or not.
    8 ?2 I$ L5 j: l) k' c" u4 v: m
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    1 @8 d- `. O9 y3 C. j
  534. ; Default Value: On
    5 K9 e: j/ n* W. K0 M
  535. ; Development Value: On
    5 z) u# S  V# t7 S  M$ {6 ^- i
  536. ; Production value: On
    $ j9 |/ r) u- R% f
  537. ; http://php.net/html-errors3 R/ c: [+ m& k2 m- L
  538. html_errors = On  m3 j" s9 l. E* {4 K
  539. ( \' U3 _" _/ p8 Y
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP4 t; n' }' V9 o( d
  541. ; produces clickable error messages that direct to a page describing the error
    ' `5 p& K" r- E$ j5 S" e1 N
  542. ; or function causing the error in detail.
    4 o$ v* r: n- A. W$ U" u
  543. ; You can download a copy of the PHP manual from http://php.net/docs
      M" i5 m% K+ N, L
  544. ; and change docref_root to the base URL of your local copy including the' q# _  c7 s. w. s, {( C) l- f% _
  545. ; leading '/'. You must also specify the file extension being used including* F  W; W* J% _
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which2 Z: r) ]% [% y
  547. ; case no links to documentation are generated.
    " m9 x9 Z! X$ X& z) V3 r. |3 ~
  548. ; Note: Never use this feature for production boxes.
    1 Z1 s  B, m8 U' K' v  C3 y
  549. ; http://php.net/docref-root# L7 W' D# X/ w3 |2 [& e5 v& {  _
  550. ; Examples3 L! A/ y+ y( b
  551. ;docref_root = "/phpmanual/"5 B, o7 b8 @3 M+ r, A8 p4 v( c# b
  552. 6 I* p/ Z0 J. f1 o! r* z
  553. ; http://php.net/docref-ext
    3 @7 f2 A! ?; o* x
  554. ;docref_ext = .html% o. K: f; l9 x" U8 o- j. I

  555. ; k! ~& p) z) ]4 v& V. ~
  556. ; String to output before an error message. PHP's default behavior is to leave
      L: L& Z; r0 {+ p
  557. ; this setting blank.+ f& X$ v" e1 V+ f* j- A6 f& G" i
  558. ; http://php.net/error-prepend-string
    8 Z* e3 v0 D; g1 A% W" R
  559. ; Example:- o9 p2 W2 f3 u" Z. J
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    1 ^0 `3 n% V' n- c8 J- t
  561. , }* g0 i# ]4 w. O
  562. ; String to output after an error message. PHP's default behavior is to leave
    ) @9 w- E$ E& n& g+ \
  563. ; this setting blank.
    # n5 J& B' s+ Y& E5 o% N7 J7 [
  564. ; http://php.net/error-append-string- d5 P1 A' b5 \! A, K0 l. l8 g% x0 j
  565. ; Example:
    4 q# Q0 ]' }. \. T; v
  566. ;error_append_string = "</span>"7 |4 ^- w9 K; g/ Y

  567. % ]- ?1 k8 {$ D1 \9 t4 C
  568. ; Log errors to specified file. PHP's default behavior is to leave this value% F- \9 R5 g  v9 [2 v
  569. ; empty.5 Q4 S; L( n% B( K
  570. ; http://php.net/error-log3 z2 }( x: J" j, j; r+ t! u% C
  571. ; Example:' {8 o4 B+ {3 [* n- T
  572. ;error_log = php_errors.log. M/ h/ S* {$ |. F( }% Z
  573. ; Log errors to syslog (Event Log on Windows).8 o: o( P2 {- @# M
  574. ;error_log = syslog
    9 W* i3 P& d. k( F3 T

  575. # H" S: y# [' v. w' P$ v" C
  576. ;windows.show_crt_warning4 b% e& ~0 B1 I0 k
  577. ; Default value: 07 Q* I+ P. f! U8 I9 z
  578. ; Development value: 09 u. Z/ z* {" Q, Z
  579. ; Production value: 0
    2 O2 g% q" M( C: T  Z
  580. , s, [6 E" ]/ ~8 c/ Z5 G+ b
  581. ;;;;;;;;;;;;;;;;;
    4 ~7 d$ w! T: O7 u' _+ @
  582. ; Data Handling ;5 b2 ~- [% l* a5 e/ E2 e2 b
  583. ;;;;;;;;;;;;;;;;;* R: f8 o. Y3 r' }4 c( i, C( B0 k
  584. ! @% F1 D6 G- P+ r5 o) h# J
  585. ; The separator used in PHP generated URLs to separate arguments.
    1 [/ m5 ?/ X! p3 k' j: N) z7 }% s
  586. ; PHP's default setting is "&".; S4 V! A( S6 X6 x
  587. ; http://php.net/arg-separator.output. J' u, q7 m' E: `( ]
  588. ; Example:9 k3 i* N" u% f6 ~0 L' n
  589. ;arg_separator.output = "&amp;"
    ' S; g+ r" s& \; H5 K

  590. # O. b; o! }" u
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    % k( D1 B0 ^/ C: v) W0 A" R
  592. ; PHP's default setting is "&".% Z8 u0 F+ f' k8 L
  593. ; NOTE: Every character in this directive is considered as separator!
    # |; n: E; L7 b/ r/ [' g
  594. ; http://php.net/arg-separator.input
    " d$ v1 w) X& g* E! b" _6 N3 J
  595. ; Example:
    : o, ?" D0 f6 G  l" b# a
  596. ;arg_separator.input = ";&"
    , o( |7 c$ ~( y: n, F3 @

  597. " R/ F8 G3 n" e% M1 b5 W% a+ a% @( E
  598. ; This directive determines which super global arrays are registered when PHP2 ^/ @; s% T# E( o
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    2 l; i9 w5 v; }* Y1 K
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty. |7 Q/ \# b0 Z( d1 k0 G
  601. ; paid for the registration of these arrays and because ENV is not as commonly1 @. O! y1 ]# G# M
  602. ; used as the others, ENV is not recommended on productions servers. You
    3 m: R% S2 {9 {& g/ B  l7 H! G& ]8 R
  603. ; can still get access to the environment variables through getenv() should you
    / P2 C' y" \. c' r& u
  604. ; need to.
    $ ~2 h% O; V, P, w
  605. ; Default Value: "EGPCS". ]; E( F+ g& i5 N% c
  606. ; Development Value: "GPCS"
    " n' {2 f% |7 x" t; m7 L8 u" L
  607. ; Production Value: "GPCS";% b: k/ c# q% A1 h
  608. ; http://php.net/variables-order
    ; W( d1 n% M5 N' W: r
  609. variables_order = "GPCS"3 |" E: F8 q. p$ y

  610. . B' x9 m8 K: w; U. i- V' e7 \
  611. ; This directive determines which super global data (G,P & C) should be
    : j4 B8 p, H$ Y# a4 N! l5 P
  612. ; registered into the super global array REQUEST. If so, it also determines
    ! w: D0 L% `8 {+ F" W. [
  613. ; the order in which that data is registered. The values for this directive
    . z5 Q# c  S0 G4 p& T# l$ n
  614. ; are specified in the same manner as the variables_order directive,
    ; N- A% p3 x4 \1 W# s6 C+ a
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    $ I2 U: ~/ @+ k7 C1 H
  616. ; in the variables_order directive. It does not mean it will leave the super; n5 l: Z1 |+ {/ W: g9 A: Z
  617. ; globals array REQUEST empty.
    0 e" `1 g) W% ]5 I/ ^2 \
  618. ; Default Value: None/ h& h5 B7 k+ M. Q& \
  619. ; Development Value: "GP"
    4 G* m1 d$ p) a0 A1 A5 b
  620. ; Production Value: "GP"
    1 C' K2 d' }9 D+ ~7 @/ x1 E
  621. ; http://php.net/request-order& Z; y" Y6 J% v9 |
  622. request_order = "GP"5 {) }3 z2 _/ d) s: t* n" u

  623. 7 @4 M  I  _: M, V* Q. ~4 A1 G
  624. ; This directive determines whether PHP registers $argv & $argc each time it; b( u  L( ?0 D2 j% U: j
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    ) i: `& k+ |4 U% E% |
  626. ; is invoked. $argc contains an integer representing the number of arguments8 c9 [/ L: T- M/ A( S& |0 M
  627. ; that were passed when the script was invoked. These arrays are extremely  y) H1 X% {' y" |0 D- c  a
  628. ; useful when running scripts from the command line. When this directive is
    8 u6 q" r5 h* }/ }" B0 ^/ h
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    - D5 |' @7 h' M/ f# e2 ^
  630. ; a script is executed. For performance reasons, this feature should be disabled
    . N; w4 Y  }) P7 e+ b9 W
  631. ; on production servers.
    $ R; }5 E9 t8 ?3 Q2 o: `
  632. ; Note: This directive is hardcoded to On for the CLI SAPI: ?2 L9 }9 Z! ^
  633. ; Default Value: On6 n! _9 g" D, K5 l, y+ [
  634. ; Development Value: Off( s2 X6 ^: r' d
  635. ; Production Value: Off
    * {( \# a  Z9 W
  636. ; http://php.net/register-argc-argv& O+ w7 \: k  ]* `3 y+ A
  637. register_argc_argv = Off7 e% }, q8 t- b; T
  638. ; I3 S1 B  D. ]" M7 D8 p  p" z
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    # |& q$ z' J$ d; d5 F" w
  640. ; first used (Just In Time) instead of when the script starts. If these( j; z- V8 W3 I  s
  641. ; variables are not used within a script, having this directive on will result% d& y& ?9 V, \; x" g+ ?! w# }
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    6 L8 y! a! B# w
  643. ; for this directive to have any affect.
    3 w8 E4 b" b5 x5 I7 O( S
  644. ; http://php.net/auto-globals-jit% |' R" @9 N  Z" z7 l
  645. auto_globals_jit = On
    : v" H% _, k' T( c

  646. " C/ Z7 Y! {' q* j1 q
  647. ; Whether PHP will read the POST data.9 l0 J# y& R2 W! g3 z. B
  648. ; This option is enabled by default.
    / e- L; d- |" B& D: Z7 c1 b, @
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST* y$ o$ }/ I7 n/ m  O$ w
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    6 V. B5 m9 c  S& r8 U/ _6 D* g
  651. ; POST data will be through the php://input stream wrapper. This can be useful/ L3 K2 N1 ~1 F% n0 H9 Q
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.' y4 `% d% I6 P3 ]
  653. ; http://php.net/enable-post-data-reading& x5 d& i/ x1 d
  654. ;enable_post_data_reading = Off
    2 B% ]% u+ f" Q4 b- T
  655. : o! |1 o* r% a1 P  W
  656. ; Maximum size of POST data that PHP will accept." V3 N( x9 o6 `; s. Q& X+ q6 v
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    , b$ @/ f! d7 l' N- \" e' `. L
  658. ; is disabled through enable_post_data_reading.9 u9 {2 d$ m! W/ A( m' A2 w
  659. ; http://php.net/post-max-size8 ]' `0 c8 g4 h; h) S7 b
  660. post_max_size = 50M
    9 }! I2 \+ a7 n$ Y( T( ^

  661. ( i+ C' I3 O, H0 ]+ q! X3 J
  662. ; Automatically add files before PHP document.
    7 W+ _; ^0 q& f' g3 V/ |
  663. ; http://php.net/auto-prepend-file( D9 ], v7 G& Q, d/ t1 c1 ?
  664. auto_prepend_file =
    % l6 [4 k6 v4 h: f/ n' p" i
  665. - Z; K% p- m, }) u/ n
  666. ; Automatically add files after PHP document.
    6 i$ |' _' i8 f, V8 g( H
  667. ; http://php.net/auto-append-file: B/ l" X; h! z/ L/ l
  668. auto_append_file =4 o; G/ H) P- s+ X4 A* w  l
  669. * B4 R2 {" i! W1 B6 \' G8 y
  670. ; By default, PHP will output a media type using the Content-Type header. To- f. H7 B$ K* S8 _
  671. ; disable this, simply set it to be empty.
    ( _; M# r6 ]1 ^8 U
  672. ;+ _! G/ h+ r; o, ]0 \- Q
  673. ; PHP's built-in default media type is set to text/html.
    # v5 @2 W/ D! y( }" n
  674. ; http://php.net/default-mimetype  l! Y: T! D4 n( |' b
  675. default_mimetype = "text/html"
    + A5 f1 {9 l+ w4 }, d3 e" g" k4 f
  676.   n+ L4 Y0 F- d6 v+ }
  677. ; PHP's default character set is set to UTF-8.
    , }# A7 B2 X5 o3 G
  678. ; http://php.net/default-charset
    ! A; k4 H( B4 Q' @; H
  679. default_charset = "UTF-8"
    8 \$ T- ?, W' s/ @3 e

  680. ; ^. q& o3 c# @- d% d, ?* w
  681. ; PHP internal character encoding is set to empty.
    2 a: V: X) O6 A( O- k2 R5 ]
  682. ; If empty, default_charset is used.4 r( C1 i. Y( \3 B
  683. ; http://php.net/internal-encoding
    & I( A/ p; l; D) d2 d8 D/ P* m
  684. ;internal_encoding =
    & Q/ o7 z: q4 |# l; i( \2 m6 r( O- |

  685. 6 _' l2 l! Z) q' }  @- Z& K& e
  686. ; PHP input character encoding is set to empty.* d' w6 C, A, ]
  687. ; If empty, default_charset is used.4 f8 [( q* Y' u3 I4 H0 i
  688. ; http://php.net/input-encoding
    5 @7 i5 U0 x4 I4 w/ [2 P- g
  689. ;input_encoding =+ @0 T* K" o" J. y+ ~

  690. " F9 g1 ~, O. `- e. X* y7 X! K9 i
  691. ; PHP output character encoding is set to empty.& A9 a8 o9 k( o( h* q( ~
  692. ; If empty, default_charset is used.
    5 \9 Z( m' C  `
  693. ; See also output_buffer.
    0 r2 t  f  y& i% z' k/ }: w
  694. ; http://php.net/output-encoding; V6 t' b; V0 c2 s- U. S
  695. ;output_encoding =
    * R- Z. t( E: N0 f+ L* C* q

  696. : [0 d4 |9 F8 N3 @
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is* c6 {5 W1 m* Z: v" `! w
  698. ; to disable this feature and it will be removed in a future version.; U) v2 a! x& Y1 z, A/ K: ]
  699. ; If post reading is disabled through enable_post_data_reading,7 P: o9 A9 ~% _9 M2 x
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.4 x9 V/ `' `5 {) y5 N
  701. ; http://php.net/always-populate-raw-post-data/ G0 h1 v( X4 H/ J8 a9 W* W, f
  702. ;always_populate_raw_post_data = -1
    + o: o; i; v) ~9 H+ p3 E# g
  703. 0 F2 @0 f1 d) j' L: H; A! c+ V
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    1 o' T0 }! x) B& U! f
  705. ; Paths and Directories ;
      ^3 H" l  X: `1 s3 K+ l' z  n
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;8 [2 y' Z( m, m% N4 |+ m4 I
  707. ' J# b* J- }2 h* g. P2 [
  708. ; UNIX: "/path1:/path2"' z( t: l( ^& ?' I% t$ n7 F
  709. ;include_path = ".:/php/includes"
    $ {1 J2 c0 _4 ]) C; @5 Q5 \
  710. ;' m3 q4 K: y1 g2 Q6 v0 f
  711. ; Windows: "\path1;\path2"8 J3 E: @. u% f! Z2 e* {& a% e
  712. ;include_path = ".;c:\php\includes"
    8 q0 B. T) X: i; y* |+ G) Z& q
  713. ;) \5 ?: E6 q9 E4 d4 X: `
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"- C2 B! s$ n9 u; z& A* M$ K
  715. ; http://php.net/include-path
    - u& `& o: d2 k3 g3 S+ I5 K5 |
  716. " Y" V6 z' i9 G0 x; A
  717. ; The root of the PHP pages, used only if nonempty.% E+ l8 A4 C6 Z& s  C+ ]3 b- b) s
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root' j, T) e4 }0 G: _9 I6 U9 s9 e
  719. ; if you are running php as a CGI under any web server (other than IIS)3 I$ A9 q4 |/ V3 F3 H, R
  720. ; see documentation for security issues.  The alternate is to use the
    & g6 u* A1 b& P, ^5 o9 m$ R. N
  721. ; cgi.force_redirect configuration below" S+ ^4 v* M/ o1 Q6 y9 |5 S
  722. ; http://php.net/doc-root5 R& D' N- o$ T7 D
  723. doc_root =& ?5 f* ~' @3 ^! O
  724. : q+ R* z2 Z" p
  725. ; The directory under which PHP opens the script using /~username used only
    6 c7 A* i0 K; @- M: |  A
  726. ; if nonempty.
    ; f- {3 V7 [. f8 Y
  727. ; http://php.net/user-dir
    . c) H* q$ K3 l0 K& T: h, F
  728. user_dir =
    : a0 {" _9 e6 l- Q9 y; ^; ~  o& Q

  729. 4 t, W8 A+ o  A' U! i6 T/ p
  730. ; Directory in which the loadable extensions (modules) reside.
    3 g4 O+ ~- ?/ Z* c( C0 i
  731. ; http://php.net/extension-dir
    # x' I9 D# I8 L, I
  732. ; extension_dir = "./"1 q" @( U# r; ~% F
  733. ; On windows:/ C- X6 R* W" e& a, W0 m8 ~
  734. ; extension_dir = "ext"
    ; ?% v! c, r8 C) N

  735. ( [% z$ U6 `* k$ U. n+ w9 n: b7 t
  736. ; Directory where the temporary files should be placed.1 _) {/ D3 q( j  |9 E# l* {6 g
  737. ; Defaults to the system default (see sys_get_temp_dir)
    0 {( }* F. q! x1 `9 F
  738. ; sys_temp_dir = "/tmp"
    2 ^2 a/ v" x/ R
  739. 7 R( F& p: _& N, e
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work' A) S) I  n+ P0 y! M
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    & D6 H8 s/ p6 k- q  o* s
  742. ; disabled on them.
    + n# k4 g" C5 u- M4 q6 Y( `9 E
  743. ; http://php.net/enable-dl
    9 y2 a' D& k8 J% }9 O
  744. enable_dl = Off9 e* H9 E  T* y( A8 C8 J

  745. $ {& _! w( C( A- l
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under4 F2 E& I4 t4 @) `
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can: i+ v6 r" a4 _5 z* m
  748. ; turn it off here AT YOUR OWN RISK4 i& m% {& m' |
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    : @* O9 r0 a2 r! F
  750. ; http://php.net/cgi.force-redirect5 t+ V; ~$ v7 C: N6 F3 x
  751. ;cgi.force_redirect = 1
    / O) X$ p+ Z+ O- e; k0 _

  752. 0 r4 l6 u$ Z1 h4 E+ B1 j
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    4 X2 p  b/ }5 v4 X4 f
  754. ; every request. PHP's default behavior is to disable this feature.
    9 E5 k8 D- P+ _
  755. ;cgi.nph = 1
    ' o  P. M7 J: `0 r9 W
  756. % K4 h% g8 Z2 u0 [) f5 S2 V! ^
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    3 |! m( G; Y3 \% q9 ?5 Y; a
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    ) d( ~9 C9 ~9 ^; o! z
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY# K0 g+ d( A3 t0 A$ N& L" a+ Q
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    6 x/ @& {" i" s* n  n, ?4 P4 n0 T/ `7 K
  761. ; http://php.net/cgi.redirect-status-env
    / L. q# J! S0 b$ i
  762. ;cgi.redirect_status_env =
    # `  L6 P/ A, W: E1 `

  763. ( s; a$ Z" D7 y+ q( O  C( `
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's5 o* T$ A# q' `: M' S6 e
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok! H: F) V7 d/ z/ H6 ?0 k
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting3 ~& `* ^3 k/ B% A5 N2 U
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    : Q8 F4 r4 K( b0 P4 B
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts# f/ U" l# }& o" E' f
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.# n, e$ X$ J- J, l) ^* k* u
  770. ; http://php.net/cgi.fix-pathinfo  \- d! m8 s2 Z; f% \; `4 p
  771. cgi.fix_pathinfo=14 }+ S0 u1 T  ]  d; G/ @" A
  772. 7 I2 g% J! q2 a/ d# U( J6 Q
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    : a& Y# [3 @4 a
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    + q0 R$ c2 T/ d
  775. ; http://php.net/cgi.dicard-path
    ) f2 A. ~8 i( k' j
  776. ;cgi.discard_path=1
    ) J2 W, q' f3 q$ F9 v
  777. 9 U6 |0 k, Y1 S" W$ Y$ a9 p) S
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    & H, D# {, K* b0 D- ?& t
  779. ; security tokens of the calling client.  This allows IIS to define the
    . p) I' G; W) w8 d+ Q/ T
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    : D% q4 [5 T3 k9 u" a+ y( }
  781. ; does not currently support this feature (03/17/2002)/ `2 S7 s& e2 l  T8 G
  782. ; Set to 1 if running under IIS.  Default is zero.# q* N& i# d7 j& U
  783. ; http://php.net/fastcgi.impersonate4 @' Q* R% p( h2 a4 ]$ W8 `; `
  784. ;fastcgi.impersonate = 1
    9 F. n1 C, Z; M& s( Y9 S- E: ^

  785. 4 U6 U' m. t6 e* f. O0 ~/ o
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    6 f6 h3 [3 U4 n
  787. ; this feature.
    6 W+ s# N: a0 _2 ]1 l, F' e
  788. ;fastcgi.logging = 0
    2 U3 L7 d& \5 y$ M" B
  789. $ j$ W7 _4 Q+ W* _2 u% W
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to$ r% h, {, Q$ ?8 z* C% g3 b
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    ' a) m! S4 U3 u
  792. ; is supported by Apache. When this option is set to 1, PHP will send
      `; l4 ]! U" V, m' v7 W# ~& W+ U# `
  793. ; RFC2616 compliant header.
    ( U) Y) y; f$ e; S
  794. ; Default is zero.. i5 ^. {1 g* ]  H3 q) C' X. _
  795. ; http://php.net/cgi.rfc2616-headers8 `7 `" G7 A* O! G7 f
  796. ;cgi.rfc2616_headers = 0
    0 b  w9 k7 j: D/ X/ j. n: h& }
  797. 4 h; w6 H4 U9 J
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    4 i$ I& O& m- _  {( n# L$ T, k
  799. ; (shebang) at the top of the running script. This line might be needed if the
    " W$ A6 r% _) T3 D1 s
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    1 ^# o  B& x5 }" d/ a/ C1 d7 z0 u
  801. ; mode skips this line and ignores its content if this directive is turned on.
    9 N; O" \$ J( K
  802. ; http://php.net/cgi.check-shebang-line
      @* J: z0 Z- O4 r+ G; d( E  p
  803. ;cgi.check_shebang_line=1
    - b  W% j1 x0 ~% y8 h/ e6 W
  804. $ G: t! M* @/ e) G  H1 J
  805. ;;;;;;;;;;;;;;;;
    / t- @6 L) K3 [( A- J
  806. ; File Uploads ;4 X) B& P$ |3 s6 V
  807. ;;;;;;;;;;;;;;;;) C6 c2 K6 N) \1 z7 G! `

  808. , z/ x3 k2 {" ?! O6 L
  809. ; Whether to allow HTTP file uploads.% ], F' S! J" z0 i; t/ P3 Y3 _
  810. ; http://php.net/file-uploads
    # \4 }$ C; d$ @) ^9 Q- Z: o' ?
  811. file_uploads = On' O/ X3 |& b7 w9 g2 H* G* L$ h% ^

  812. 6 @+ |; ?$ l' n0 S
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    5 ~8 `7 |& f2 J8 M# R) T/ J
  814. ; specified).
    ) u0 g  W, G  S
  815. ; http://php.net/upload-tmp-dir
    ! F& @7 A% O4 G+ x: \9 Y/ @
  816. ;upload_tmp_dir =
    3 H" u' ?. O3 }

  817. " N/ U/ Z/ }, z; j
  818. ; Maximum allowed size for uploaded files.
    ' Z8 }. v- Y# M
  819. ; http://php.net/upload-max-filesize
    ; T8 I9 _8 P, t+ ^2 _6 H  h
  820. upload_max_filesize = 50M' {' x/ ~4 M; ^) z* ~

  821.   [6 X* b7 k6 `* y
  822. ; Maximum number of files that can be uploaded via a single request
    * [: e# \  p8 ^+ T" i) o
  823. max_file_uploads = 20
    ) h+ J# q3 Q# D: ?2 c% p
  824.   u0 p$ b  l2 O) Z1 K
  825. ;;;;;;;;;;;;;;;;;;: `7 h2 S8 Y& R5 ]
  826. ; Fopen wrappers ;
    + X5 n$ A0 W8 {8 O: N
  827. ;;;;;;;;;;;;;;;;;;9 z; L5 b5 D5 O+ b
  828. ) `& ?' f7 q4 Y3 Z! Y! M
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    & C* m- u/ f5 U' W% s
  830. ; http://php.net/allow-url-fopen
    4 B: i. G" }9 F4 E! `! D6 h( m
  831. allow_url_fopen = On: p3 f5 o* E3 o* H- t/ g

  832. 7 T& g( g6 m5 H  m* `; J
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files./ u2 {0 F4 \1 v3 K, R5 L
  834. ; http://php.net/allow-url-include
    $ z# Z. j  X0 B
  835. allow_url_include = Off- ^5 Q% s7 `  z$ P7 ?" L1 [

  836. 7 @( f& m8 C8 h
  837. ; Define the anonymous ftp password (your email address). PHP's default setting# p9 F. L3 ?- W/ f) M! Q, F
  838. ; for this is empty.: o- y$ n# ~; w* Z+ d3 T' A
  839. ; http://php.net/from
      \1 \5 W! k' @4 {' B" O
  840. ;from="john@doe.com"
    ( M+ z$ \! e  j' q8 u

  841. 3 B# H, p# w" r* M
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    5 W' o2 |" }5 _% `1 O
  843. ; http://php.net/user-agent6 w8 p3 l( i, U4 t5 h
  844. ;user_agent="PHP"
    8 D* z+ S$ U8 r, r: X6 R, |( W
  845. 9 x* {& c5 }9 G1 t$ D. p$ ~
  846. ; Default timeout for socket based streams (seconds)
      M* }) X+ Q0 D
  847. ; http://php.net/default-socket-timeout5 p; R2 S# c. M
  848. default_socket_timeout = 603 ?8 w0 ^5 p4 e8 u

  849. $ |: c: ~% L  M' ?8 k
  850. ; If your scripts have to deal with files from Macintosh systems," k! o, O2 d' F* B5 b
  851. ; or you are running on a Mac and need to deal with files from
    : r7 L" h2 H  Y. E- x3 M
  852. ; unix or win32 systems, setting this flag will cause PHP to
    ( u7 R0 W9 l8 Z* c1 b( y
  853. ; automatically detect the EOL character in those files so that
    , X1 H0 F) O1 L! G, j. A
  854. ; fgets() and file() will work regardless of the source of the file.
    ; ~) m5 m" x3 z8 }! J9 _
  855. ; http://php.net/auto-detect-line-endings5 \# I: A& X. s- x! G
  856. ;auto_detect_line_endings = Off, ?6 V- f& l' G, h" R

  857. . g7 q% [$ u6 d2 L8 k
  858. ;;;;;;;;;;;;;;;;;;;;;;
    ( [" {5 G/ m3 h) N
  859. ; Dynamic Extensions ;
    " O) V8 W' ~: ~& i, R
  860. ;;;;;;;;;;;;;;;;;;;;;;
    , J% K; J3 w9 U2 x0 c
  861. ( P" m4 P! d+ Q6 }/ h
  862. ; If you wish to have an extension loaded automatically, use the following
    % b' T; B3 X, u5 ?5 U
  863. ; syntax:
    ' q2 W0 Z$ m0 I/ ]7 ^
  864. ;3 `+ J0 Z) V5 l# I2 p* o; g% B
  865. ;   extension=modulename.extension; r+ X4 l: e7 y2 \& G  k) `
  866. ;
    $ m" W9 x' E2 j. W, B
  867. ; For example, on Windows:, ]( C+ g( b* u1 Y) c
  868. ;! }3 t% V) B' x3 e& _
  869. ;   extension=msql.dll
    ' D; Q4 q. W$ A$ l3 U
  870. ;* N  N$ D9 z- g1 J
  871. ; ... or under UNIX:
    2 z; s$ o% Z% F2 ~# U* U) x7 F& B
  872. ;0 `' R& q/ }2 A
  873. ;   extension=msql.so  O$ G4 @# @  @" a! Q2 c6 @( s
  874. ;1 K7 C% _- [6 z  l+ X. D. f
  875. ; ... or with a path:  _9 v/ \  g% s/ E+ T
  876. ;
    # ]3 A. w8 x2 S# e5 m
  877. ;   extension=/path/to/extension/msql.so
    2 _; S) \0 V8 a0 S7 L5 f
  878. ;5 Q; j* E8 K) i% b4 ^% K: Z
  879. ; If you only provide the name of the extension, PHP will look for it in its. a# |3 p2 f/ t. a- G5 ]
  880. ; default extension directory.
    ) X3 M- [  W+ w' r
  881. ;
    ( Q7 I4 M! r2 d4 _/ {+ E5 y( g
  882. ; Windows Extensions
    5 M1 p) L- L, h
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    2 k: P; Q/ g/ o! V' b6 ?6 t
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    ; M0 W$ J3 k4 o- M* X  j# n1 \! Z3 \
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).0 N* X4 m0 F1 G: _- \; B% F
  886. ; Be sure to appropriately set the extension_dir directive.
    0 ^" {3 j" y8 z- K3 o
  887. ;
    # K: W* X" j4 M0 U+ N
  888. ;extension=php_bz2.dll0 O, Q* `  D5 \8 b
  889. ;extension=php_curl.dll
    ( C2 ]1 j1 [* A+ t( N$ P1 l
  890. ;extension=php_fileinfo.dll
    ; L4 Q2 B- D. h, c; e3 H
  891. ;extension=php_gd2.dll
    2 j( c( U7 P, f9 E
  892. ;extension=php_gettext.dll  ], i. `. }0 y8 e9 I; P4 I) d# B. u
  893. ;extension=php_gmp.dll! F: ?7 C$ A# I" c9 a4 Q
  894. ;extension=php_intl.dll% D- X' g3 M2 x! o2 m; D  G
  895. ;extension=php_imap.dll
    + |8 S8 L% M, `$ a$ j- S
  896. ;extension=php_interbase.dll
    , i% u8 |1 _- S/ f! @  x
  897. ;extension=php_ldap.dll
    " I; t/ u* N7 I4 r. }
  898. ;extension=php_mbstring.dll
    * s  h+ s5 u% o" N& A+ r6 }( n
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    . [! \. Q/ N' ]1 U  F: ?
  900. ;extension=php_mysql.dll' U3 A" r: Y6 \- ~+ G: V% w
  901. ;extension=php_mysqli.dll
    ' N5 v, E" L7 _
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client3 P9 v! K) w0 _
  903. ;extension=php_openssl.dll
    ' S1 C, a0 U. O  u: L' C
  904. ;extension=php_pdo_firebird.dll
    8 V, w) |9 Q* y/ a) v
  905. ;extension=php_pdo_mysql.dll
    $ C+ L/ Y# H. ^
  906. ;extension=php_pdo_oci.dll
    ; P; I* ?' x+ W; C  b' F
  907. ;extension=php_pdo_odbc.dll
    ! _* _  h. ~1 T* O2 P
  908. ;extension=php_pdo_pgsql.dll1 J* h/ e8 Q) h( i4 q7 J
  909. ;extension=php_pdo_sqlite.dll2 h, P2 f0 l5 C
  910. ;extension=php_pgsql.dll
    3 i' Z) _" V7 y
  911. ;extension=php_shmop.dll
    . J3 S* Y' G: U' N1 w

  912. 1 v) j$ |6 }( x+ n" m
  913. ; The MIBS data available in the PHP distribution must be installed.
    ; |; a  ^: g% R" V( ^
  914. ; See http://www.php.net/manual/en/snmp.installation.php - M7 L% B$ Y+ `& }& h, P; C
  915. ;extension=php_snmp.dll
    5 k, M6 Z. ?4 \' j* z

  916. * Q9 E5 o. W7 w" S
  917. ;extension=php_soap.dll) `# T, \6 i% Y! x# {" o
  918. ;extension=php_sockets.dll
    , t+ f% a1 S2 R. f4 K" A. u
  919. ;extension=php_sqlite3.dll) e! Y$ S) {% e# [% g
  920. ;extension=php_sybase_ct.dll% y. L- B" H7 I. J5 p. T- a( O
  921. ;extension=php_tidy.dll
    1 K6 [$ d9 g# m# l" G
  922. ;extension=php_xmlrpc.dll
    : p' B6 q# l9 C- m4 s; D
  923. ;extension=php_xsl.dll
    3 x4 o2 _* S0 [' q0 w
  924. 8 G- {1 w, i& M5 W6 X# r! I& @
  925. ;;;;;;;;;;;;;;;;;;;
    - P3 `6 N) m/ J8 v0 t9 n
  926. ; Module Settings ;5 P, ?  }3 |' r  N0 w
  927. ;;;;;;;;;;;;;;;;;;;- J. h0 K0 h6 C2 O& v8 K
  928. 9 D# l) U( f) \2 Y
  929. [CLI Server]9 Y8 O9 F& L& q9 Q% S$ q' o: ^
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output." q$ m, f; M5 H; m, w
  931. cli_server.color = On
    # A( X9 H' w7 {  |! E5 ^

  932. . Q+ @7 R* f1 v3 t4 ?$ L
  933. [Date]/ K7 @' `; i/ j9 l0 D' k
  934. ; Defines the default timezone used by the date functions
    9 p' `& N4 v; O; i) G. S
  935. ; http://php.net/date.timezone
      Z5 N5 z" w! j+ G5 _, v
  936. date.timezone = PRC% l4 d) r: }9 l- r5 _

  937. 1 L: y* f$ i  O' i2 N7 ]
  938. ; http://php.net/date.default-latitude
    8 U, n+ B# Z& a  T7 T
  939. ;date.default_latitude = 31.7667! i4 H2 @: d, [* v
  940. 8 t) f& `3 B0 Z* l
  941. ; http://php.net/date.default-longitude
    . Y- Z$ r0 G0 m9 a- f3 J' r' c0 K
  942. ;date.default_longitude = 35.2333! Q! v; x+ P5 V3 n3 I7 O; ^

  943. & M  O" \8 C6 g3 o: H
  944. ; http://php.net/date.sunrise-zenith3 X* W; u/ ]  p' ^2 H( K" x, J
  945. ;date.sunrise_zenith = 90.583333  s1 j! a% d; O( R2 |

  946. , R' j, d) p+ P9 n+ A$ l
  947. ; http://php.net/date.sunset-zenith
    ( y/ t. u% [: e9 l8 w
  948. ;date.sunset_zenith = 90.583333
    1 q8 O& F' J  Z- C7 D/ m7 _# D
  949. ! P+ P/ e: f3 z
  950. [filter]' @# G1 e# S% n/ m
  951. ; http://php.net/filter.default
    1 a. I, Z8 u$ J) V( y/ n! _' \
  952. ;filter.default = unsafe_raw
    - \5 d- v7 r2 C) U) O& R

  953. , {; ?5 F4 Z- Q) a4 y" D5 m
  954. ; http://php.net/filter.default-flags" ~# r# G5 s, q1 E) H3 i5 _
  955. ;filter.default_flags =1 @9 x3 }% w  b) F7 ~- ]

  956. * W$ d# J, L4 a  B1 P& {
  957. [iconv]  ]3 q! N& R$ i+ t
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.: i- T' T' s3 ?/ `1 W$ O! l$ F
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.  i6 ]& d! M/ z8 f$ W1 F$ _' U( g
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    1 r. A+ |2 W4 b- b2 T, O
  961. ;iconv.input_encoding =
    5 t5 ~0 B7 D, m3 v/ w/ p2 x4 Y4 x
  962. 5 x8 L/ O: J9 r  n0 x
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.3 a, j: e- @( V8 w) T
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    5 L# f2 C( l& ?* {5 s1 V
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    ) }# |8 d" P: G! \$ A1 Q9 y0 m% Y
  966. ;iconv.internal_encoding =
    , l- }9 F7 Q* }

  967. 9 K3 A4 A) [7 [4 q9 B. W
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.8 @2 x2 G; O8 z$ \, Z& n
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    : R& `. w6 f  j% Z& H6 a8 H& X# B! e% ^
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    : N0 q" i0 d  u, C% S
  971. ; To use an output encoding conversion, iconv's output handler must be set
    0 Z& M+ P: A7 F- M- U, t
  972. ; otherwise output encoding conversion cannot be performed.
    4 O3 o( h6 ?1 r% h7 L
  973. ;iconv.output_encoding =
    8 X( X$ P9 t% T- s+ E; Q
  974. 1 X7 A+ Z2 O5 Q
  975. [intl]* |' W. f: ]5 y9 o
  976. ;intl.default_locale =
    ! n3 ?8 o. }% v5 @( B" t
  977. ; This directive allows you to produce PHP errors when some error
    3 j/ W1 h) m5 a; Q$ T* m
  978. ; happens within intl functions. The value is the level of the error produced.
    - K) C6 u* S) c3 {/ ]* `
  979. ; Default is 0, which does not produce any errors.2 G% I6 G( M' z$ c5 k/ y, b$ C2 ?3 {
  980. ;intl.error_level = E_WARNING$ N7 w5 j* Y! [* @8 Y# }; i6 J
  981. ;intl.use_exceptions = 0! G& t$ I; v5 {0 W1 J1 L

  982. 8 r4 l1 |7 O5 N
  983. [sqlite3]
    " ~, r. B7 ~: Z8 R
  984. ;sqlite3.extension_dir =
    1 b; j; {6 B6 H# |5 m) f
  985. ! G2 w$ h  L, T' V  h
  986. [Pcre]- ?; K6 K5 |' x; ~( T9 p' r
  987. ;PCRE library backtracking limit.) n6 W3 d- V/ r8 a) h) C
  988. ; http://php.net/pcre.backtrack-limit
    2 Q8 |& _2 ~2 Y) ?# z  Z5 r
  989. ;pcre.backtrack_limit=100000
    9 u% N, e9 s# ~$ A0 d0 _0 D6 |

  990. * _; f% Y& |- E0 t  a, U% L$ y
  991. ;PCRE library recursion limit.) Z2 X* [# r. ~. `, \
  992. ;Please note that if you set this value to a high number you may consume all
    2 L* o6 I% H! D8 [7 J
  993. ;the available process stack and eventually crash PHP (due to reaching the
    2 R# _! S- P+ Q% a" X& S: C
  994. ;stack size limit imposed by the Operating System).
    0 @& p- W' G/ {
  995. ; http://php.net/pcre.recursion-limit7 d: q! B% J& ?
  996. ;pcre.recursion_limit=100000
    9 l5 ~6 w$ {# |4 z
  997. 0 n4 ]; ^& B4 z0 ^
  998. [Pdo]* h5 I/ m/ [2 O
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"2 \( O2 R0 p3 D7 s3 P# A$ u
  1000. ; http://php.net/pdo-odbc.connection-pooling, C6 R! f( e- J# y% `; D0 H% k
  1001. ;pdo_odbc.connection_pooling=strict9 p% F6 ?$ E4 y) z) d
  1002. 7 i. [0 k. U% c+ T, }2 T2 j' p
  1003. ;pdo_odbc.db2_instance_name
    - K& \9 d6 C4 d
  1004. + B- a2 K( _9 P2 b  S1 ]* t$ g
  1005. [Pdo_mysql]
    ) n% V5 d, }" Z( o& L. ^" ~
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache7 T3 B# D" R4 ^- H6 U4 L6 x" p
  1007. ; http://php.net/pdo_mysql.cache_size# X0 F9 V( R6 X/ S0 ]8 I
  1008. pdo_mysql.cache_size = 2000
    ; D5 S  v3 \$ U5 E& B

  1009. 5 n3 m( G1 A$ e
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    . H; p! v3 l3 u7 m* Y' d8 _
  1011. ; MySQL defaults.  h+ F$ f2 F" k3 s7 B0 p
  1012. ; http://php.net/pdo_mysql.default-socket
    . Q+ {- f; o  v$ i4 Y0 `( O( F
  1013. pdo_mysql.default_socket=
    8 H8 a1 ?! {8 o
  1014. / N" [7 E- P" D* X
  1015. [Phar]+ N& g. B$ |" g$ ?+ Q. _
  1016. ; http://php.net/phar.readonly
    5 U2 J' x6 W! _9 [4 D( N! @# Z. U
  1017. ;phar.readonly = On
    % s, R5 Q  c# v! w) h

  1018. + T( R* `6 N- @# P, p4 {
  1019. ; http://php.net/phar.require-hash
    9 v) D: R& {( w) L. C& L
  1020. ;phar.require_hash = On
    * F, k: q. _. m# p; {  h

  1021. - ]" V* Y' v! y% u: C
  1022. ;phar.cache_list =
    0 C. g) T: g! w- |. |. X6 J

  1023. ( H: |) D6 X5 K1 g
  1024. [mail function]
    , ^' I0 t( s- q" M9 i9 W7 d
  1025. ; For Win32 only.9 c4 @; J* N/ x
  1026. ; http://php.net/smtp
    9 L* _% I* q" I) w
  1027. SMTP = localhost
    & e/ V" N% J& _, S. B7 ]& H& F9 w
  1028. ; http://php.net/smtp-port! D' L& r8 s0 p$ d! S) k1 \5 z
  1029. smtp_port = 25/ [/ V: N" G6 {
  1030. ' r4 d3 ~! \9 D" B
  1031. ; For Win32 only., s* y; b1 [+ I" _
  1032. ; http://php.net/sendmail-from
    % K, w$ x2 C1 H, Z
  1033. ;sendmail_from = me@example.com
      a$ w9 B* f' m2 R
  1034. 1 Y5 {, R" D$ [' U4 H, D
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    ' K: j5 K1 y* Y7 g3 r
  1036. ; http://php.net/sendmail-path1 M( E% @6 i8 F3 e
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    / Q2 c0 r8 P! u( ]5 G1 z

  1038. 7 B( l2 C0 E# k
  1039. ; Force the addition of the specified parameters to be passed as extra parameters/ A3 T8 C" W- L5 N/ v
  1040. ; to the sendmail binary. These parameters will always replace the value of
    ! Z: p* j7 }+ ^9 k4 y) x
  1041. ; the 5th parameter to mail().
    6 ]* i5 _3 x! J8 ^
  1042. ;mail.force_extra_parameters =
    # v( {/ ~' ?! J2 n( D) t& @( W5 }6 U

  1043. 7 v: I% f- z, k! I4 d
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename3 B0 r$ O! G- [; U1 x, _
  1045. mail.add_x_header = On; [+ `8 v, u$ k" H5 o5 _" P
  1046. # ?. `8 Y1 m0 a$ ~$ F# Z
  1047. ; The path to a log file that will log all mail() calls. Log entries include2 Z3 z% l. x* z
  1048. ; the full path of the script, line number, To address and headers.6 E% N3 W1 O4 o* y: p( v, w3 P
  1049. ;mail.log =) B. B' F; s1 e1 r
  1050. ; Log mail to syslog (Event Log on Windows).
    # ^# M# M. F  b+ r! C
  1051. ;mail.log = syslog, T/ V  T1 v8 r/ U( q3 T
  1052. 0 S& N7 Y' y2 B. w7 R( Q; Y
  1053. [SQL]
    3 W/ J4 D  d2 y, B$ S3 n$ d  r5 g$ V
  1054. ; http://php.net/sql.safe-mode' Q3 q8 F+ o  U5 A1 a' g1 b
  1055. sql.safe_mode = Off  o7 O3 P! L' x% }; ~% c3 ?

  1056. 6 B( _! R4 O, x& c/ @0 ^
  1057. [ODBC]
    . }$ }+ C0 n+ {, B4 P
  1058. ; http://php.net/odbc.default-db. H( D7 i" y! C: e0 A2 Z/ q* m1 e
  1059. ;odbc.default_db    =  Not yet implemented* T4 T! H, K7 C4 i
  1060. 5 S, M8 ?/ _' U$ e8 E7 @
  1061. ; http://php.net/odbc.default-user2 I) t/ {3 r% Q- E% n9 G
  1062. ;odbc.default_user  =  Not yet implemented
    % i* Q! \1 a0 n, A7 \1 j0 c0 |

  1063. 3 B, L9 Z3 |4 t! a, |; y
  1064. ; http://php.net/odbc.default-pw
    5 V6 z+ @, g/ u- K9 I9 F
  1065. ;odbc.default_pw    =  Not yet implemented/ o) C9 `/ O* ]; w/ R! n) a

  1066. 9 Z& D3 W% {" A: j2 r' O
  1067. ; Controls the ODBC cursor model.
    & ?0 I8 l2 u2 p- {0 g% y
  1068. ; Default: SQL_CURSOR_STATIC (default).- J* s+ D; B# S$ x3 p0 C" R
  1069. ;odbc.default_cursortype0 t2 b3 ?2 {9 a1 i( B" \8 [, x

  1070. , o8 `6 `- ^8 l( l+ L; e' `* Q
  1071. ; Allow or prevent persistent links.
    2 d$ n6 S" u0 w7 [& F
  1072. ; http://php.net/odbc.allow-persistent, X1 L" D& J9 }) k/ v2 X
  1073. odbc.allow_persistent = On7 F7 {% ?$ S8 h4 N* C

  1074. + F* d, i# B7 ?3 ]* [7 U" B% K
  1075. ; Check that a connection is still valid before reuse.
    ' y+ I2 J) p/ }4 C) n7 X
  1076. ; http://php.net/odbc.check-persistent
    ! Q1 a6 F1 w# E& p4 Y4 x- G" L
  1077. odbc.check_persistent = On; i. i6 ?9 ]  p# e& Z, X  k+ n

  1078. % y$ h7 T3 T/ V
  1079. ; Maximum number of persistent links.  -1 means no limit.4 _$ D3 H  r- w3 E. m
  1080. ; http://php.net/odbc.max-persistent1 R: _1 i1 N3 W9 h- q1 h. t, {
  1081. odbc.max_persistent = -1
    * y3 a( n8 u4 X/ H; h+ O
  1082. 8 w9 N4 m) _) m# i1 S/ o6 F
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    / d: k6 V: U. ?# j
  1084. ; http://php.net/odbc.max-links" J, n/ U+ a0 H, Y
  1085. odbc.max_links = -1/ t% b8 @, @. X1 [' t

  1086. ' S! _. i1 f' X# P
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means: k3 k: t2 d' c7 N  |
  1088. ; passthru.
    0 x& ^" C4 ^# {- f
  1089. ; http://php.net/odbc.defaultlrl, e+ y) d. ?$ |5 V* K2 b$ ~# P
  1090. odbc.defaultlrl = 4096+ f: m1 h# O4 T6 `# J& T9 q- {) M
  1091. , e9 U4 y  c# B$ D1 @
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char., I" @4 @4 B7 |9 ?* l
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation7 ^: y# s0 f! e* i5 l: R  \
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    : K1 ?* }$ i- J, Z" _# g
  1095. ; http://php.net/odbc.defaultbinmode
    ' W  x/ N' V# U0 {
  1096. odbc.defaultbinmode = 18 N% x- P: `2 I( z) B9 _' h! |

  1097. 4 c6 E2 v8 k$ Y
  1098. ;birdstep.max_links = -1
    $ h4 _' I) {( D- \" n

  1099. , R* N% v0 _" Y& c
  1100. [Interbase]
    , v- I0 Z7 o# q. W  g' K# u6 m/ ?
  1101. ; Allow or prevent persistent links.
    ! ^  \1 U) M$ T( o1 L' a* T: K
  1102. ibase.allow_persistent = 1
    1 v8 C& {' f% Y0 U7 X) j

  1103. 6 ?% g7 K: Z6 K( k5 o# e2 M% G: e
  1104. ; Maximum number of persistent links.  -1 means no limit.
    ' E& y. Y! }+ z8 H0 h* \6 x+ O
  1105. ibase.max_persistent = -1; i% e9 R8 E* Z' J2 g0 N
  1106. - ~* V( {; t- a% j; G  T/ {* z1 k
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    9 G4 @, q8 X" D3 M
  1108. ibase.max_links = -1" K( Y5 {: T" _% M. Y

  1109. 2 o6 B' s% y+ o
  1110. ; Default database name for ibase_connect().
    / e. b& q8 g8 _9 d6 Q
  1111. ;ibase.default_db =
    : Y1 P9 s3 \% Y2 e# K

  1112. ' c3 j/ w( B/ F6 j& k, f7 i# i
  1113. ; Default username for ibase_connect().
    6 W* [) c" \( @
  1114. ;ibase.default_user =% U/ q4 C0 d' f7 G2 y' e& k8 l
  1115. 3 u" D7 n7 Q0 z
  1116. ; Default password for ibase_connect().
    . u1 _+ v0 Q$ Q$ ]5 A# `4 T
  1117. ;ibase.default_password =
    . D+ q7 H1 w9 v5 p% X
  1118. $ I" a& ]; I, Y" Y3 |# y
  1119. ; Default charset for ibase_connect().
    ( N+ I$ x! D: P: i- J3 |
  1120. ;ibase.default_charset =
    ! d# S& H" K" K" f# g0 a( `  q

  1121. 8 e/ U2 w- K/ u% ^5 K
  1122. ; Default timestamp format.
    ; O6 g! v: B' C( ]6 X" l- `3 q+ r
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    . k6 ]" e7 G( N! j+ Y

  1124.   S3 d* M* `* d4 e, J
  1125. ; Default date format.
    5 r/ H* u# }/ T8 P/ e+ E
  1126. ibase.dateformat = "%Y-%m-%d", B9 F# B3 T/ l6 ^8 G
  1127. 6 S2 f. @+ m& ?1 \, A
  1128. ; Default time format.! t- G: F  X4 g
  1129. ibase.timeformat = "%H:%M:%S"
    , Q/ Q8 W: j( C- Y7 \4 r; j/ L7 C' u  f
  1130. ' p! S# ^% b8 v# U2 |
  1131. [MySQL]
    8 m0 a# T) r$ {! l( m8 C& `; |
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
      @7 e' `  b. U  J: y+ E- C' q
  1133. ; http://php.net/mysql.allow_local_infile8 W+ d2 }7 j4 A! p% ~- F' s
  1134. mysql.allow_local_infile = On
    6 P/ D; @: N/ m, }6 i
  1135. $ O% q1 b" ?5 c
  1136. ; Allow or prevent persistent links., a& D0 V; d, [% c2 X
  1137. ; http://php.net/mysql.allow-persistent; l3 c$ K4 P& {& m
  1138. mysql.allow_persistent = On
    % j% b2 w0 A& p& v; Z' I- {& G
  1139. # T0 y% \6 Y7 ]# G& B
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    # u. y2 n; l% p7 h1 ~! Q- P. b
  1141. ; http://php.net/mysql.cache_size
    - P% f7 w3 M( n+ B
  1142. mysql.cache_size = 2000
    5 B4 T/ e) D$ F% c. c1 m

  1143. ! c- \* F' I7 y1 A3 _# s* \
  1144. ; Maximum number of persistent links.  -1 means no limit.. O. G9 |7 F( c1 P- {
  1145. ; http://php.net/mysql.max-persistent
    ) S- z  D$ }+ v
  1146. mysql.max_persistent = -1! E0 s* \& c0 J1 O; M

  1147. 7 p, X; R2 N. Y1 Z  l9 E
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.2 ]1 v* \8 H9 I6 C; v9 O
  1149. ; http://php.net/mysql.max-links" n! N. P- x: z0 d- U; @
  1150. mysql.max_links = -13 j0 t7 E, s$ x1 [

  1151. 5 k& Y: V, g0 Q: L
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    ; n# S  g# B) |* r( f
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    3 x* i& `( e, }
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look! p8 k# {: A9 x4 ?) P) t
  1155. ; at MYSQL_PORT.6 z8 B' x, F& W; l# N  }
  1156. ; http://php.net/mysql.default-port4 Z% G: W& h, z0 b& o9 w; E( F* `5 t
  1157. mysql.default_port =
    , C& u# W0 _( ^; x, ?0 X) n$ {
  1158. 5 h9 w7 u4 y  J8 z
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in5 K+ q. ]# ]5 v  O0 s
  1160. ; MySQL defaults.3 R5 ?( T& q. y, J5 i; _( D. U( A( i
  1161. ; http://php.net/mysql.default-socket" R$ Y$ J0 l3 q- F1 p6 e
  1162. mysql.default_socket =
    & r0 `; o! N3 _; g# U

  1163. % s$ f3 r3 {8 i: ~; \6 C
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    4 Q* N- v7 G" I5 |
  1165. ; http://php.net/mysql.default-host
    ' F' t1 m6 _- n) q! o4 B& ], `0 D
  1166. mysql.default_host =8 g9 ], |! T; j% p$ j$ W  c

  1167. " V! _: N, U* F
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).% K5 O( S  [& T/ q! g: |
  1169. ; http://php.net/mysql.default-user! {' ^- m4 }4 p* ^0 j: V
  1170. mysql.default_user =
      b5 G6 b/ D1 W
  1171. 5 t, e( d% G8 c0 z0 Z) _  ~( `( j
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).2 O; R5 h- {* |/ Q# r$ b
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    7 y0 W$ K" f8 t7 y0 f3 a
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")8 r! i" `9 I" V
  1175. ; and reveal this password!  And of course, any users with read access to this
    . W% Y0 _/ g9 `4 @* a6 h- m
  1176. ; file will be able to reveal the password as well.
    % _4 h* O, p6 a  x, o
  1177. ; http://php.net/mysql.default-password
    3 N& D3 s  b; w* k& S
  1178. mysql.default_password =0 Z- y6 h9 t7 P

  1179. & }) T% R+ U* ?" F7 H
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    + B( L* b/ R" S2 Q3 ^3 u, m
  1181. ; http://php.net/mysql.connect-timeout
    8 B5 j) d: B3 H$ R" O3 X
  1182. mysql.connect_timeout = 60
    & V9 N( o! D' B9 V7 T
  1183. ( G* H# ?% _# T. a
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and4 T* j$ a6 @  |( ~3 w* ?; |
  1185. ; SQL-Errors will be displayed.
    * |+ r4 m# B* \! S+ p
  1186. ; http://php.net/mysql.trace-mode
    7 X* w. u3 D" t, b0 P8 L
  1187. mysql.trace_mode = Off
    + h) `7 l, h4 t, _% |0 m1 Y

  1188. 9 s( v* e* }" H6 A2 S' M, w) g
  1189. [MySQLi]
    * M" B, ?" b- [3 x" z
  1190. , _0 Y3 p  `7 J
  1191. ; Maximum number of persistent links.  -1 means no limit.
    ; P3 [% A8 R: [7 V
  1192. ; http://php.net/mysqli.max-persistent; H) q$ X1 A/ N# d
  1193. mysqli.max_persistent = -13 s/ p8 y1 z& ?) Z
  1194. 1 {9 H+ U0 u6 j* Y5 `8 \4 e, A3 t  I
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements0 t8 j+ U+ |" w, K6 _7 t
  1196. ; http://php.net/mysqli.allow_local_infile
    ! @3 @2 w/ C3 S# J) h/ e
  1197. ;mysqli.allow_local_infile = On) f* {9 V3 ^7 Z( |
  1198. ' l5 l; ^% a" r! R8 e. p  i: y: I
  1199. ; Allow or prevent persistent links.
    ( s+ o+ I0 ]7 {- G! q( `( y
  1200. ; http://php.net/mysqli.allow-persistent
      n" M+ d, U$ O9 j- t$ K" R) d! D
  1201. mysqli.allow_persistent = On
    6 j. A/ i. Z" n9 k
  1202. # [2 ]5 i" O3 ]
  1203. ; Maximum number of links.  -1 means no limit.
    1 N+ k& n% q) D3 {
  1204. ; http://php.net/mysqli.max-links
    ( o7 E- _% B1 p( J
  1205. mysqli.max_links = -1
    7 {! f8 ^9 [5 [/ l1 b5 N

  1206. 5 ?7 H2 v* `$ t
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    9 R/ d( G% F% c8 _! @
  1208. ; http://php.net/mysqli.cache_size8 U8 m8 j& _0 t% R& z
  1209. mysqli.cache_size = 2000
    : A9 d$ v' Q1 Z2 E
  1210. ! h' H. g5 ?# K) R' g: L/ m, N. W
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    * ]+ L) P. F/ j! m( U. d# \
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    4 D! f/ Z6 \: l+ M: w" I
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    2 h5 k5 V. z& @& A$ J3 D
  1214. ; at MYSQL_PORT.' Z0 d" w# ^; ?% S/ w( W
  1215. ; http://php.net/mysqli.default-port
    & f. m, k( R) N0 U9 ]
  1216. mysqli.default_port = 3306
    ' G2 z5 U5 e! h9 r; p$ @5 {3 L
  1217. : s2 O# s3 L- F6 y
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ; N. \; Z% Y1 i2 d9 b$ b& V" k/ P
  1219. ; MySQL defaults.9 s! v; e  b1 o4 H+ Q
  1220. ; http://php.net/mysqli.default-socket. _6 R" A1 D1 s2 g) K
  1221. mysqli.default_socket =
    % F5 |. i9 o2 u5 [2 Y8 X3 J
  1222. 5 E  L$ p  Q) u! W
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode)., v1 z9 a- F+ u  n
  1224. ; http://php.net/mysqli.default-host8 o5 Q+ E" W' f( u7 c4 x# v7 x  G
  1225. mysqli.default_host =
    . o' m! N+ X  n
  1226. 6 \" v0 m" [  X; d% T9 W. o
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).5 o' g! K  F4 S8 m& ^
  1228. ; http://php.net/mysqli.default-user
    $ f  f9 c, ?: m: [" R6 T# P8 L
  1229. mysqli.default_user =& C; S/ ~/ ]7 l; {# j

  1230. 8 b; f& e( ~& J, d) u
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    ) O' M1 K! W+ q( |/ i
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    ' s, j9 g. s8 j& k% _. N
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    % d+ C2 Z( {/ a  ?  B0 ]9 X& e
  1234. ; and reveal this password!  And of course, any users with read access to this
    3 p5 V( t; l" |, X- S
  1235. ; file will be able to reveal the password as well.
    , d; _4 c/ l& F9 c1 A" g0 Q
  1236. ; http://php.net/mysqli.default-pw
    ( e$ G% a% J+ n
  1237. mysqli.default_pw =
    / j3 h+ X& v0 t

  1238. 7 z+ {/ R9 _' I3 b  ^
  1239. ; Allow or prevent reconnect6 E! \+ ]% A) l9 ~+ B0 f
  1240. mysqli.reconnect = Off+ P' v! A* a$ K$ ?, w0 z; V  f

  1241. 2 N; |' ?# R) h' e; [4 A; P6 ]
  1242. [mysqlnd]
    ' W* U1 p$ C8 M) ^' E) w7 A6 \' x$ p
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    ( U+ @3 d# f: H
  1244. ; used to tune and monitor MySQL operations.. `; f' o8 u- k0 u
  1245. ; http://php.net/mysqlnd.collect_statistics
    0 _; a! u0 [/ j
  1246. mysqlnd.collect_statistics = On- N. B: j- k* a
  1247. ! R$ q% U7 t& |/ [3 B& I6 @$ q
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    0 V9 Y( q9 @$ Z
  1249. ; used to tune and monitor MySQL operations.  U- p, y6 Q0 t( r! D. [6 r4 `* V
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    , M8 X& D6 T7 c* A' c: `" D! X
  1251. mysqlnd.collect_memory_statistics = Off
    . i8 w8 Y$ [8 L! u. g: X
  1252. & m. `9 r7 Z' {( d( _1 R. ?3 }
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    2 v" v4 q+ N; F2 V& T
  1254. ; file.
    + w: r* M- L( k3 ~8 K6 \$ U- N1 t
  1255. ; http://php.net/mysqlnd.debug
    7 g8 l- s' I; u" f# v
  1256. ;mysqlnd.debug =8 ^& c3 j( |" Z
  1257. . }/ C. K( [' U* A4 ~# \
  1258. ; Defines which queries will be logged.
    6 u' F: Z4 [9 A7 Y
  1259. ; http://php.net/mysqlnd.log_mask
    5 t' X1 J0 ], q( r+ k9 {: s
  1260. ;mysqlnd.log_mask = 0
    ( A! B( [/ u% j6 M( F
  1261. ! ]; x5 B; [! D6 y$ i
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.! B2 }7 }8 W5 {1 `1 h; N
  1263. ; http://php.net/mysqlnd.mempool_default_size
    5 [/ E' a/ j) A  M% |! @/ ]
  1264. ;mysqlnd.mempool_default_size = 16000& o( M) M: w& S, u; n- d& W3 K' ]

  1265. % R9 w, R' i( I2 ]' T
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    - m7 n7 c# I; M$ u& o6 i5 P
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size" s+ ]8 a2 g% r/ e* p2 Z$ Z
  1268. ;mysqlnd.net_cmd_buffer_size = 2048/ o' h( [( r1 z7 n1 l

  1269. 6 l' m3 M7 I" h; G' b! f1 [
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    ' ]1 c( H, U# L- l5 Q
  1271. ; bytes.) M' n( }8 N4 k5 Q3 {5 o' w
  1272. ; http://php.net/mysqlnd.net_read_buffer_size* D* y0 @+ j' _
  1273. ;mysqlnd.net_read_buffer_size = 32768
    - J* K6 v& e, J4 ]2 K$ X' Z
  1274. 7 y& O. b& w1 _4 e+ y
  1275. ; Timeout for network requests in seconds.; c7 J2 T: g* R. z" [- o( ~
  1276. ; http://php.net/mysqlnd.net_read_timeout' U/ H- _- b# }
  1277. ;mysqlnd.net_read_timeout = 31536000
    7 }, ?9 A. E% B# ]7 {
  1278. + y; {& _7 O# d2 g' o" W  }
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    7 V- ^: f# U5 ~* F
  1280. ; key.
    " E) y7 f/ }& v6 Z" s4 {! b
  1281. ; http://php.net/mysqlnd.sha256_server_public_key4 Q  A( w6 L* {
  1282. ;mysqlnd.sha256_server_public_key =
    $ F" X; f& p  ]. m  w  m/ D

  1283. ; r9 M& M* p+ @+ m
  1284. [OCI8]
    6 H; ]& _  w3 ^! a3 D
  1285. * Z" h) a: N/ r6 p/ w8 X: c
  1286. ; Connection: Enables privileged connections using external
    # r2 F" L5 U* z0 D8 o. k+ k+ Y
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)4 _& |8 C4 a3 q+ i6 u  k/ N/ o
  1288. ; http://php.net/oci8.privileged-connect
    9 o9 s& k8 T) q
  1289. ;oci8.privileged_connect = Off
    * |9 {3 c6 n3 f) T0 a3 y, `
  1290. 6 m2 Z) j: e( G
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    8 i) d/ C6 m9 P, G% ~: ~
  1292. ; process. Using -1 means no limit.4 ?3 t6 N* m  f7 c5 l4 y. p- `
  1293. ; http://php.net/oci8.max-persistent* S$ f, o7 J3 ^  A% d% z& k
  1294. ;oci8.max_persistent = -19 O% b' u0 ?3 Q

  1295. ) Z; B5 v' f! ?
  1296. ; Connection: The maximum number of seconds a process is allowed to
    : N2 _' g2 @- `/ v4 T0 O# Y: u
  1297. ; maintain an idle persistent connection. Using -1 means idle
    3 q/ V3 S8 Z' x# w6 l" s
  1298. ; persistent connections will be maintained forever.$ c7 `6 ]) K0 c5 {# E
  1299. ; http://php.net/oci8.persistent-timeout' G) C; Z) w2 p& J
  1300. ;oci8.persistent_timeout = -1) W# r" X' m% o  \( P7 u! S) W- c

  1301. - }/ [9 V  U* M. y
  1302. ; Connection: The number of seconds that must pass before issuing a
    - ?+ ^7 O' X( [$ J; f7 Y  x' M
  1303. ; ping during oci_pconnect() to check the connection validity. When
    + G/ \/ x1 Z. d1 t. B
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables! _% r8 p% M, W6 Q0 }5 G
  1305. ; pings completely.
    . G& r) t* i$ I! f
  1306. ; http://php.net/oci8.ping-interval; t; X- {9 v1 w2 D. I, Z
  1307. ;oci8.ping_interval = 60! K  g. T* Y: `

  1308. ; e# c% S( F; b
  1309. ; Connection: Set this to a user chosen connection class to be used. f. ?  j$ N- ~- W% v2 y
  1310. ; for all pooled server requests with Oracle 11g Database Resident) w6 ?+ X/ ?; r# y- {9 w1 d( E+ Q: r
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to0 |4 L2 ?! \  o/ d
  1312. ; the same string for all web servers running the same application,
    5 A" m- T1 N) q( F; L4 M
  1313. ; the database pool must be configured, and the connection string must
    8 `! e5 A* e' L, H/ u( R. Y9 l
  1314. ; specify to use a pooled server.
    - |' V1 S/ N) V7 }. d: N- \
  1315. ;oci8.connection_class =0 K' I1 x1 [2 V, c
  1316. : S; c, O, l/ v. x$ r& Y1 f8 p
  1317. ; High Availability: Using On lets PHP receive Fast Application6 y. b; J3 o% G2 d% f
  1318. ; Notification (FAN) events generated when a database node fails. The+ V: ]4 H; [- [0 J+ K5 F
  1319. ; database must also be configured to post FAN events.; ]4 G8 i6 i. R. |% J$ P3 @2 i1 Z" r
  1320. ;oci8.events = Off; l4 w  @$ T" }: h
  1321. ! R3 ]$ ]6 k9 u1 y  l9 E7 a" L) H) }( E
  1322. ; Tuning: This option enables statement caching, and specifies how
    $ m- ?# N' ~& f) b
  1323. ; many statements to cache. Using 0 disables statement caching.
    6 n2 i$ W, p: g  K: k. \+ c3 l
  1324. ; http://php.net/oci8.statement-cache-size
    : e1 e3 y0 f  f8 s" _: V
  1325. ;oci8.statement_cache_size = 20
    ' i3 a5 w& t& ~7 ?  q+ ?
  1326. $ F+ X8 A- ]7 s- ]
  1327. ; Tuning: Enables statement prefetching and sets the default number of( S& W! d+ n/ p
  1328. ; rows that will be fetched automatically after statement execution.
    # V* ~  f$ [& t! H
  1329. ; http://php.net/oci8.default-prefetch5 j" j' c3 G, e/ d
  1330. ;oci8.default_prefetch = 100, E: c0 q& b5 k

  1331. 5 K8 K& K  y6 Q! G2 ~7 H! G, N2 g3 M
  1332. ; Compatibility. Using On means oci_close() will not close
    ! F0 A4 p- W* t, t6 o# d0 y4 B0 X
  1333. ; oci_connect() and oci_new_connect() connections.
    1 g( p& `2 e& W* G" c, c
  1334. ; http://php.net/oci8.old-oci-close-semantics: j' J' W8 S. g, @
  1335. ;oci8.old_oci_close_semantics = Off# `6 o( g& M  S  W4 \

  1336. 6 N/ u% O2 z" ?5 {0 `
  1337. [PostgreSQL]
    . s$ V0 v9 |: ~, e
  1338. ; Allow or prevent persistent links.' R, d/ M  m! o# H$ V
  1339. ; http://php.net/pgsql.allow-persistent
    # s: _/ i- A* S5 _
  1340. pgsql.allow_persistent = On
    * F/ b& u0 c& q" R; Z

  1341. 9 ?! v8 Q* O4 @+ g
  1342. ; Detect broken persistent links always with pg_pconnect().
    9 c) n$ `, M9 g$ ]+ Z
  1343. ; Auto reset feature requires a little overheads.
    % ^7 P, `+ M: t; n+ f
  1344. ; http://php.net/pgsql.auto-reset-persistent
    1 D! M4 [6 e4 F" j( n* ?7 n
  1345. pgsql.auto_reset_persistent = Off
    + `/ a$ P2 a$ C0 {( R

  1346. 5 V1 u  f1 Z& d9 M7 u3 L
  1347. ; Maximum number of persistent links.  -1 means no limit.
    ! c+ p& U8 C8 `3 x3 A4 i& b7 K$ ?
  1348. ; http://php.net/pgsql.max-persistent8 r3 k, Q( [" F4 f. L+ h3 `
  1349. pgsql.max_persistent = -18 s( Q' r. v! B# C2 @& V6 a" D
  1350. 3 I( f3 S5 M4 i6 T- p- e
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
      ?5 C- C# O. Z8 c+ @0 ]
  1352. ; http://php.net/pgsql.max-links
    & O+ N/ ?$ i& ^* m
  1353. pgsql.max_links = -10 b8 k; ^, d/ o! U2 G3 Q0 P5 s
  1354. 6 s# @9 c) x7 Z: j0 Y3 p$ [( ?" G* y
  1355. ; Ignore PostgreSQL backends Notice message or not.9 _( ?8 ]+ A2 S
  1356. ; Notice message logging require a little overheads.
    / x! L7 y) A# Y) M* }" i8 m9 a
  1357. ; http://php.net/pgsql.ignore-notice
    ) u+ z) a- K; v
  1358. pgsql.ignore_notice = 0
    0 K" G6 P5 i' x: O  n. q5 N
  1359. 7 C, y7 I0 ]$ M7 h& T
  1360. ; Log PostgreSQL backends Notice message or not.
    8 f$ ~$ m" |# A- f* R
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    4 R3 Y- ]7 E! S% a. }" v
  1362. ; http://php.net/pgsql.log-notice
    5 s) b4 D& Z7 Q( U
  1363. pgsql.log_notice = 08 \  O. W5 c6 ^
  1364. 7 L6 {( n! |/ a9 x5 D4 f' N
  1365. [Sybase-CT]0 E+ c  u2 B/ F8 p% ^
  1366. ; Allow or prevent persistent links.
    4 |- V. o% n6 \: @1 _. l
  1367. ; http://php.net/sybct.allow-persistent
    . \8 \8 y7 X. q7 F1 u$ h; v
  1368. sybct.allow_persistent = On
    9 m2 p& }3 M9 J& e! |# T/ x

  1369. 0 [* J! t* I* j2 H: }; E9 x% p/ O* T
  1370. ; Maximum number of persistent links.  -1 means no limit.- Q, C% s( q' Z& U- k
  1371. ; http://php.net/sybct.max-persistent. c9 l3 n  ~8 i% A
  1372. sybct.max_persistent = -1! F5 c( Y8 R  c* M. \; D8 ]
  1373. / _; E( Z4 J8 u
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.! B5 q3 ]7 t$ m0 i0 f3 v
  1375. ; http://php.net/sybct.max-links* b6 t" ~. ~% v1 a8 ^
  1376. sybct.max_links = -1: D! m. D$ J1 t& ^

  1377. # e( S" p8 P8 ]& x. K% O, B: M
  1378. ; Minimum server message severity to display.
    * S/ v* q  a, }5 `  J! \
  1379. ; http://php.net/sybct.min-server-severity
    8 U6 Q4 K3 \. D. y; s6 u
  1380. sybct.min_server_severity = 102 W1 s6 e& X3 G; w1 l& q& V

  1381. ! d1 ~/ C+ t- P( V' s2 [& M+ K
  1382. ; Minimum client message severity to display.% j. t/ u* M5 ?
  1383. ; http://php.net/sybct.min-client-severity8 Z3 o. u9 |- O$ Z
  1384. sybct.min_client_severity = 10
    9 K  v8 s2 c7 j7 ^7 r

  1385. , E$ M$ H; r6 n0 N* I0 i
  1386. ; Set per-context timeout
    ( k) a( r: b0 m! c- I. O
  1387. ; http://php.net/sybct.timeout
    % f# `9 F5 T  f0 O: _# k
  1388. ;sybct.timeout=% n' l) h6 s6 k( f8 T" k6 @. I

  1389. $ `1 k9 f5 s8 x7 A8 `
  1390. ;sybct.packet_size
      y2 G1 n4 K* V9 r$ n# T
  1391. - i' h, v6 D: i3 T1 g; F& A/ q" B9 k7 I
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    8 G5 ]1 A4 u! d) p  V$ C
  1393. ; Default: one minute8 @4 Q* F) F( C' {/ [: E; U+ y
  1394. ;sybct.login_timeout=
    5 m4 z6 U& D9 @$ Q0 p* t

  1395. ( z' j. f2 H9 }+ k9 |6 ]$ [( Z
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    , L5 B- B% `2 q" r9 y% z
  1397. ; Default: none% Y$ B/ ^. |9 Q/ i. ~/ C) g+ R
  1398. ;sybct.hostname=
    : g9 v5 @- A7 a3 O  P

  1399. , q; g, H1 X" E9 q9 |; @1 O7 b# z
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".+ w$ N+ ]  v% r% w' ^3 T. ]
  1401. ; Default: 0* a! @9 c- H" i
  1402. ;sybct.deadlock_retry_count=; {! n6 Q: u! g. y

  1403. / K" i2 _# d4 {7 f  U* u* l
  1404. [bcmath]9 f9 S4 z! n2 ]
  1405. ; Number of decimal digits for all bcmath functions.0 E% v5 y/ |( Q$ X- `  T) k
  1406. ; http://php.net/bcmath.scale
    6 G1 }5 q( ?) R& a: B1 [3 K
  1407. bcmath.scale = 0& O$ Z0 _$ q, x) N' x( ]7 l& k/ Y
  1408. - M( a% Q* h( p/ D, Y& w; Z. b
  1409. [browscap]
    3 ?3 X0 d# o7 Z; j# V! L
  1410. ; http://php.net/browscap
    5 D8 h5 f1 S9 e+ r
  1411. ;browscap = extra/browscap.ini0 ~  w4 P# `. ?" `) g9 A
  1412. 5 A' H: U8 D9 F7 M- z
  1413. [Session]6 a* I( y- C7 @! I0 \' ~/ o" U
  1414. ; Handler used to store/retrieve data.0 {5 v% i/ v) L0 x. V
  1415. ; http://php.net/session.save-handler: c6 r8 n( O! ^
  1416. session.save_handler = files( K$ ~# @, F+ J/ K7 |
  1417. ; r' i* K1 Z' M5 ~
  1418. ; Argument passed to save_handler.  In the case of files, this is the path3 d( F7 m9 w8 b; l1 |9 t' G
  1419. ; where data files are stored. Note: Windows users have to change this
    ) m! W4 U3 T  x# ]0 l6 I
  1420. ; variable in order to use PHP's session functions.
    : v2 X: B$ g" F6 `
  1421. ;
    ' g9 G) [6 T: r3 O! M; ?
  1422. ; The path can be defined as:
    1 |; o0 s. x& b1 w9 u0 ?
  1423. ;8 [3 e' v& ]% W$ C7 T7 h
  1424. ;     session.save_path = "N;/path"9 `! n) d7 ^4 n/ D) v* t
  1425. ;
    9 I: a- g0 N& _  W; i# }3 [4 b
  1426. ; where N is an integer.  Instead of storing all the session files in
    ' I! a5 _6 F  N5 `! \
  1427. ; /path, what this will do is use subdirectories N-levels deep, and; h1 ~8 H+ Y2 n; J
  1428. ; store the session data in those directories.  This is useful if7 Y9 d) X. R0 F0 A/ P0 l: g
  1429. ; your OS has problems with many files in one directory, and is6 f! }0 Y# I8 K
  1430. ; a more efficient layout for servers that handle many sessions.
    4 i% |4 P1 ?* J
  1431. ;
      o) w% w. ?0 H: l
  1432. ; NOTE 1: PHP will not create this directory structure automatically., b& o) F+ @5 |/ w. ~8 w. D
  1433. ;         You can use the script in the ext/session dir for that purpose.. f, ~6 ^' `# z4 P' e. Z% d
  1434. ; NOTE 2: See the section on garbage collection below if you choose to0 U0 e  w. h/ F$ v& o2 a. r2 _- |
  1435. ;         use subdirectories for session storage
    * q4 [1 A- q) B
  1436. ;0 S3 z2 r- F( |3 N9 L) g* m# N
  1437. ; The file storage module creates files using mode 600 by default.3 s( n4 Z. }: v+ E3 z, W
  1438. ; You can change that by using
    " L3 I$ C, h3 C$ x2 h" O/ Z! F9 L# Y3 m
  1439. ;
    0 P" v' r! s  x  C; `9 A6 T
  1440. ;     session.save_path = "N;MODE;/path"
    8 b0 N# ~) F1 J: {$ c5 S: v
  1441. ;& K3 y5 m  _. U/ \" z
  1442. ; where MODE is the octal representation of the mode. Note that this
    1 f+ Y" N; _4 ]) }
  1443. ; does not overwrite the process's umask." `# X/ T5 q3 n
  1444. ; http://php.net/session.save-path
    7 l+ N! e  V( A2 X/ W
  1445. ;session.save_path = "/tmp"
    ! h. o% K  U1 z% P+ {1 g; o0 g
  1446. ' v# l1 c" |  O5 ], G
  1447. ; Whether to use strict session mode.& i: u& _# ?" H' w0 _2 Z
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate7 u' n/ b+ J- @0 k% K6 L" [
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    7 g2 i0 Q* y  ]
  1450. ; applications from session fixation via session adoption vulnerability. It is1 D3 E4 V0 y, i4 y
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    " A; F6 y1 g7 x% H. T# ^. t
  1452. ; https://wiki.php.net/rfc/strict_sessions
    8 G# s, z+ Y+ T2 M$ p
  1453. session.use_strict_mode = 0, \5 p: v# ~6 e: S
  1454. 3 f' a4 _5 {  [  m3 O
  1455. ; Whether to use cookies.  q4 C2 ?$ F; G$ Z1 D0 W
  1456. ; http://php.net/session.use-cookies. ?' o! L* ^! q
  1457. session.use_cookies = 14 T5 }' b1 Q+ `2 H$ p' v

  1458. 2 m- Z2 m% S  i7 \
  1459. ; http://php.net/session.cookie-secure# n) I- N9 m8 O5 r7 F3 W% B6 t3 w
  1460. ;session.cookie_secure =
    . g4 u( W& l* G% u
  1461. 5 }* P: w, [7 I& E1 ?6 J
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    - j4 G0 G- |2 y  m8 i" o5 t
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    3 N6 s( m7 p) F
  1464. ; session hijacking when not specifying and managing your own session id. It is
    $ R$ p5 ~; L) H- t8 |+ Z1 l6 Z
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    4 A" @0 M8 G. w0 }" h1 p
  1466. ; http://php.net/session.use-only-cookies
    + ^/ |  Z1 ]! t* J7 i* P* C
  1467. session.use_only_cookies = 1+ Y% j, s3 I' ]! y
  1468. 4 x; x3 c/ ]/ w5 r  l
  1469. ; Name of the session (used as cookie name).
    8 `" t; n2 |) F3 |
  1470. ; http://php.net/session.name
    % p: T* e9 W! d* O! {+ f! U
  1471. session.name = PHPSESSID8 B/ ~! G3 P8 q) B. E
  1472. , g' p. P& C, B0 _/ U* c0 j
  1473. ; Initialize session on request startup.( \: B# }# r! u& v+ a
  1474. ; http://php.net/session.auto-start; X/ I* N! q4 s0 h; V
  1475. session.auto_start = 01 @& s& X/ ~* e/ ^) V( C

  1476. ! P4 O# N" U5 f# n. c: |7 |
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    6 K9 v( b. y( Q( |, F* X
  1478. ; http://php.net/session.cookie-lifetime; F) _! y: r& U% j* l
  1479. session.cookie_lifetime = 0
    0 ?$ R$ y/ r, W

  1480. - B* v% x' A' ^5 i* R  V
  1481. ; The path for which the cookie is valid.
    1 V* m6 A  o" G4 Z
  1482. ; http://php.net/session.cookie-path
    ' ?* }6 j, e, n2 I
  1483. session.cookie_path = /
    # y* i, l2 r+ h# W

  1484. # j8 S/ j% A) t
  1485. ; The domain for which the cookie is valid.: g+ ^. ~: a( I3 W6 _
  1486. ; http://php.net/session.cookie-domain0 q) S  G( A1 n0 J
  1487. session.cookie_domain =
    ! z  w7 {8 @( z/ ^: x

  1488. ; Y8 u  v# R4 X& V8 n
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.' d) H" b0 j! e
  1490. ; http://php.net/session.cookie-httponly
    ! K7 ^3 X7 y# D; o* t$ e4 W. \8 ~( i( n
  1491. session.cookie_httponly =$ {6 E4 C3 D9 u2 H' `; q. S# a

  1492. " u. T* a, {% i7 u4 V* t
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    ! H3 a( \2 \! k! N( R
  1494. ; http://php.net/session.serialize-handler
    3 l- q3 k$ W& C  G' h/ P
  1495. session.serialize_handler = php0 N0 E' t6 C% O8 ?$ F

  1496. " ?9 G- M; ]" n! U
  1497. ; Defines the probability that the 'garbage collection' process is started. M) H; T8 D$ ]( E' z
  1498. ; on every session initialization. The probability is calculated by using
    + k, C& T$ o* P8 O" A
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    , n6 B4 r+ o5 `  t9 W: K
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1- |( N5 q6 i- N3 ~: x
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance  ~! H+ x- B: B/ B- T, Y
  1502. ; the gc will run on any give request.
    $ o0 d1 U5 [: b, Z: i
  1503. ; Default Value: 1
    + O- ~' H& V" ?+ N1 t* _
  1504. ; Development Value: 1( f  ~5 b/ E9 `' q+ z+ Y
  1505. ; Production Value: 16 ]/ `/ s% T! l8 M8 @" g3 Y! \# Z4 C
  1506. ; http://php.net/session.gc-probability! v1 `4 L/ f5 G, _/ \( c% d- l
  1507. session.gc_probability = 1
    ' Q1 j; f) }% J& B3 G

  1508. 3 Y. H6 O4 ~: v+ v3 d$ W& M
  1509. ; Defines the probability that the 'garbage collection' process is started on every. d) J0 P# d" G! A
  1510. ; session initialization. The probability is calculated by using the following equation:8 l, Z+ f" H5 e; D3 W# y
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and0 \6 W" L4 C1 M8 E
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1& _: W# l7 P9 d* l
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    8 }3 l5 z% }9 ?$ O% S0 {9 V
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    / H* ^6 `3 L5 Q  i& j
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,! s. o& S2 y* h; I6 D2 @
  1516. ; this is a more efficient approach.# |4 n# ^: f% c" h
  1517. ; Default Value: 100* b0 |8 d9 ?- S0 _7 y! g5 B
  1518. ; Development Value: 10000 S& a. D$ C  H( R$ I- V# ~
  1519. ; Production Value: 1000! s; e( h7 o: e: k$ Y
  1520. ; http://php.net/session.gc-divisor
    ; U2 Y7 i  b5 I7 F* s+ ?) p
  1521. session.gc_divisor = 1000
    ( E6 L: `$ u4 K
  1522. 9 i5 N6 b: j: w5 U
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    + J" c( N8 j+ Q1 F% ?
  1524. ; cleaned up by the garbage collection process.
    6 j3 J6 W/ Z4 n" a  v: p
  1525. ; http://php.net/session.gc-maxlifetime% L0 k; ^3 m0 j
  1526. session.gc_maxlifetime = 14405 E) \" \" \  d7 {6 _  r- Z
  1527. 8 b  n% j3 H: F9 U$ w% F/ _
  1528. ; NOTE: If you are using the subdirectory option for storing session files& i. u9 ^- U- N3 k' D* m
  1529. ;       (see session.save_path above), then garbage collection does *not*
    ) x- `$ X2 d7 t
  1530. ;       happen automatically.  You will need to do your own garbage
    * w* Q6 j1 |. `3 _2 n9 ~2 w+ `& Q
  1531. ;       collection through a shell script, cron entry, or some other method.% N* J( F7 j1 I
  1532. ;       For example, the following script would is the equivalent of5 {3 J# P  o  k9 @9 Y% o5 k0 q
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):" F0 U3 s. T  X/ L& V1 h
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    : V/ |8 b# x; g' |) \1 |
  1535. 3 d  U3 z4 e% F5 L' e) Z
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    + f  b. |# x- D. k( p
  1537. ; HTTP_REFERER has to contain this substring for the session to be* a0 D7 U! }" N: |/ g
  1538. ; considered as valid.' H3 O- G; t, H0 b3 o- A( X. z+ U5 y
  1539. ; http://php.net/session.referer-check
    . T, t! Y+ z& F/ y' V* C
  1540. session.referer_check =3 e- w* D/ O# U; a: h& [
  1541. : B" R2 l2 b2 C
  1542. ; How many bytes to read from the file.
    9 S/ m) r( N1 ^2 v$ C+ r$ g
  1543. ; http://php.net/session.entropy-length+ X% e& N: K  q, W
  1544. ;session.entropy_length = 32
    , c$ z. r3 K3 e4 Z* L/ m
  1545. 7 T, L/ w8 I; o% z! H( F) W# G# i: Q
  1546. ; Specified here to create the session id.# K" l6 B0 u* t/ E% n
  1547. ; http://php.net/session.entropy-file2 C3 \+ Q8 @: X
  1548. ; Defaults to /dev/urandom
    . I0 F, Q3 A5 A" o
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    " ], K2 w: e: _) A0 Q# B( @
  1550. ; If neither are found at compile time, the default is no entropy file.! W/ r) N) L' [2 |! ^
  1551. ; On windows, setting the entropy_length setting will activate the
    2 x  u$ o6 ^$ {9 _* P# t# E
  1552. ; Windows random source (using the CryptoAPI)
    ) f: w% ?) S8 _
  1553. ;session.entropy_file = /dev/urandom
    7 C& g- J4 O$ T, o
  1554. " v) x1 S" ~! t6 p1 k5 e1 D' V! v" N6 D
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    9 x) }% S9 H3 ^# a( f
  1556. ; or leave this empty to avoid sending anti-caching headers.& S  ^" F. l' Q) x$ f
  1557. ; http://php.net/session.cache-limiter
    8 G3 z# e" R: n8 L! }
  1558. session.cache_limiter = nocache
    6 [: h/ ]+ ]3 Q. W$ {3 H

  1559. 3 B% H/ t$ z% d- E
  1560. ; Document expires after n minutes.: f* T, ~2 g1 `! M0 x
  1561. ; http://php.net/session.cache-expire
      N% ^% D1 |# [; ?3 t+ R! R: A' `: p
  1562. session.cache_expire = 180
    ' N. H, I0 D& x
  1563. 1 y6 D* Z  J# _' S- F( c# k5 O
  1564. ; trans sid support is disabled by default.
    : m. U5 }! D# L( l5 V
  1565. ; Use of trans sid may risk your users' security.
    9 T/ j$ [+ b4 h) \
  1566. ; Use this option with caution., {( ]! z% D. W) Z3 J1 a2 |: s# n
  1567. ; - User may send URL contains active session ID0 L5 V8 }$ F+ T; c8 v+ j
  1568. ;   to other person via. email/irc/etc.
    & x  \* Q) \1 u$ c" H% q
  1569. ; - URL that contains active session ID may be stored- x# g, C) q* q% @6 u$ g
  1570. ;   in publicly accessible computer.
    4 E6 O1 q" z. k6 t
  1571. ; - User may access your site with the same session ID
    1 W9 t& C6 ?; b
  1572. ;   always using URL stored in browser's history or bookmarks.; V5 i& N) Z$ ]1 k6 K& m
  1573. ; http://php.net/session.use-trans-sid7 T' X5 q9 D4 Z) q
  1574. session.use_trans_sid = 0$ ^" l- W9 R+ Z; ^: k
  1575. : K" d3 u5 V/ U  U! C7 U
  1576. ; Select a hash function for use in generating session ids.- R# ^. m1 `% ]8 O. w
  1577. ; Possible Values
    / r4 J' N. B2 W9 s; }
  1578. ;   0  (MD5 128 bits)
    1 f0 K. ^8 _% J6 T/ ?1 \! Z: w
  1579. ;   1  (SHA-1 160 bits)
    $ d* g8 ?8 d' J( w% h6 X0 u! q
  1580. ; This option may also be set to the name of any hash function supported by
    8 q; w" f- s! o# T
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    0 M3 A$ V3 @0 F& Y& A) m
  1582. ; function.
    $ s) k: {' o  F/ L
  1583. ; http://php.net/session.hash-function
      v1 k# p* n+ v$ h* u! \
  1584. session.hash_function = 0
    ) W  f4 U& \: S1 ~3 s

  1585. ' t$ h9 ^$ g) v' a: i5 L5 Q; |
  1586. ; Define how many bits are stored in each character when converting( x* c3 I; L6 ^7 \7 v7 m
  1587. ; the binary hash data to something readable.# y0 L$ X0 O8 B) w
  1588. ; Possible values:4 K; U' l( }- w' T# G: f+ h
  1589. ;   4  (4 bits: 0-9, a-f)
    5 }8 G3 z+ p. D
  1590. ;   5  (5 bits: 0-9, a-v)1 f8 C2 c/ ^& |8 e) k
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")* q7 z: {! Z4 M1 Y, z
  1592. ; Default Value: 4
    7 Y7 j) f2 j6 h" i
  1593. ; Development Value: 5( k; z( t  n$ T8 C( S7 {
  1594. ; Production Value: 5
    0 g) o4 Z! y3 ^' m
  1595. ; http://php.net/session.hash-bits-per-character
    5 J- R* Z. e# q6 l* A  n
  1596. session.hash_bits_per_character = 5
    ) w5 [9 y3 U2 i) E5 p2 p5 N! y1 C
  1597. 4 w5 i1 {8 O8 M5 w5 S6 w
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    ; F$ f- d, f- }' l6 L/ Y# N( i
  1599. ; form/fieldset are special; if you include them here, the rewriter will3 P7 ?. j# ?# e: V# T7 f7 I
  1600. ; add a hidden <input> field with the info which is otherwise appended
    ' c0 X2 j& L' o4 i. e
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
      t# n) v8 M" p) s. T# c( Z/ v
  1602. ; Note that all valid entries require a "=", even if no value follows.  r/ V! Q, l! J  W0 q; P% n' X
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="8 t: A) x3 {, H# v; I& U
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry") J7 k& i1 y% Z' ?6 f9 l
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"& s& ~1 X* x7 h( I( L. W
  1606. ; http://php.net/url-rewriter.tags
    1 E" j' |0 `, J& ]4 ]4 A( p
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    : N& ^7 @2 {1 O7 J& O7 ]# b4 @8 v
  1608. 3 r% o% Q3 p& J, r5 Q
  1609. ; Enable upload progress tracking in $_SESSION7 u9 g& M4 ~- J
  1610. ; Default Value: On
    4 Z+ Z0 R$ g# ]
  1611. ; Development Value: On
    9 ^7 i6 ]  f$ c" g9 Y2 z
  1612. ; Production Value: On' x9 N1 X  D' b+ x7 [6 [3 X
  1613. ; http://php.net/session.upload-progress.enabled& X) O# G7 e$ Q
  1614. ;session.upload_progress.enabled = On
    ( l+ P- B! ]3 l- _, K
  1615. ' e; N5 U/ J. q
  1616. ; Cleanup the progress information as soon as all POST data has been read4 f. }$ O  v1 N$ k0 ^; U; b; z- H9 q
  1617. ; (i.e. upload completed).
    6 z, ~! t. b. k6 I* w' [; M/ m" R
  1618. ; Default Value: On
    2 h8 F6 \, E0 F+ G
  1619. ; Development Value: On# r8 E: W5 u  R4 B( @  f7 e
  1620. ; Production Value: On
    ' S1 n) V: f/ T8 |" P
  1621. ; http://php.net/session.upload-progress.cleanup. P( L" w: G  q; r/ h" v% u  q
  1622. ;session.upload_progress.cleanup = On5 A! D5 _/ r. D. t

  1623. - O, g2 l4 ~2 X! X2 ]# K
  1624. ; A prefix used for the upload progress key in $_SESSION& |" F+ q, [* r# E4 R
  1625. ; Default Value: "upload_progress_"
    , i- Y6 L% o; f2 ]! v/ u' N, A
  1626. ; Development Value: "upload_progress_"
    5 E8 [+ @( }) ?6 p
  1627. ; Production Value: "upload_progress_"4 ^+ F3 D$ X' _
  1628. ; http://php.net/session.upload-progress.prefix* P8 d( w8 Y: B+ F9 o
  1629. ;session.upload_progress.prefix = "upload_progress_"" ?! O- |  S3 N9 V* @- F

  1630. + I0 w3 Y; C* ?
  1631. ; The index name (concatenated with the prefix) in $_SESSION' Y) M, `; Z/ E! c/ S
  1632. ; containing the upload progress information
    3 T, q1 J: }- R; d/ u
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS") H6 r2 y7 J) m( Z5 N  |
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    - p+ H- Z! e" r- V# H
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    . O0 @0 B4 P+ ]& \9 i
  1636. ; http://php.net/session.upload-progress.name+ ]' _8 x/ I  L) [5 h0 `5 L# j! `
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    / B) M! D  f  T" V. s$ V4 b

  1638. $ u) p6 f% H7 i. g0 F
  1639. ; How frequently the upload progress should be updated.2 t/ J7 L8 ^2 o6 ]  I
  1640. ; Given either in percentages (per-file), or in bytes
    * e/ t& i4 i% c5 J$ Q& a2 D
  1641. ; Default Value: "1%"2 T( x" [6 E/ [3 p$ X
  1642. ; Development Value: "1%"" W. p) n6 ?& ~: O! G& p/ U  m
  1643. ; Production Value: "1%"
    " j" Y9 X" Q0 [5 @" b+ [  f) y
  1644. ; http://php.net/session.upload-progress.freq
      J4 R* h8 u5 B4 I2 E5 S
  1645. ;session.upload_progress.freq =  "1%"0 |5 ~: g5 @- S4 T: ^. B$ t; c4 ?

  1646. 2 i& Q; C6 c3 x7 f3 H
  1647. ; The minimum delay between updates, in seconds
    5 U+ w/ g/ O. Y' |, d: s
  1648. ; Default Value: 1
    , s& a9 H4 v- P% B0 A  d2 f
  1649. ; Development Value: 1
    4 z" E/ _/ l* m* z* ]. |
  1650. ; Production Value: 16 a' w" Q( _/ B" p! R$ x9 z2 S
  1651. ; http://php.net/session.upload-progress.min-freq8 O; j2 ]4 c4 s" A% M9 H
  1652. ;session.upload_progress.min_freq = "1"
      Y( i8 P" z1 f

  1653. 5 X0 z6 J* _7 D& O$ F
  1654. [MSSQL]
    % _. w4 P% y( W; b6 G5 p
  1655. ; Allow or prevent persistent links." ~! @6 v% }: t
  1656. mssql.allow_persistent = On4 Q, U2 I# `" u3 d
  1657. , G- L$ o2 u- F  l0 b8 L
  1658. ; Maximum number of persistent links.  -1 means no limit.
    8 v- I5 O, O7 p+ J3 ~
  1659. mssql.max_persistent = -16 [) ]/ _( F8 y* B& V' `
  1660. ( V4 t$ Z4 w, g' u9 H6 [
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    ( s, W0 e) D- T" L" r% `1 l
  1662. mssql.max_links = -18 |+ c1 F: ]' R! z! ~! V' F
  1663. 6 r+ [" b$ e; {4 I/ n) l
  1664. ; Minimum error severity to display., o0 Y5 {1 d( X5 E/ d
  1665. mssql.min_error_severity = 108 J1 E# K6 T# ^  r

  1666. & c4 C& R% M# H. b3 _
  1667. ; Minimum message severity to display.
    0 C3 o4 i8 u7 C4 H+ D  l
  1668. mssql.min_message_severity = 10- e+ D* S1 O6 b( u
  1669. 0 S# X2 I% m7 a- [7 U4 f
  1670. ; Compatibility mode with old versions of PHP 3.0.
      u' d6 E$ [. r' n! R. t6 w
  1671. mssql.compatibility_mode = Off
    $ D  [( C! s" B# f6 u
  1672. 0 D, ?% S9 o; E9 a: m; P" M
  1673. ; Connect timeout
    1 S) _0 Z6 O  A% ^& B+ d
  1674. ;mssql.connect_timeout = 5
    / W+ p2 J4 @# Y9 y* a: O
  1675. " I2 i& Q4 W$ X, x
  1676. ; Query timeout- z6 d* r. V5 c5 {
  1677. ;mssql.timeout = 60
    ' o0 V, w/ `, ^" ^: O

  1678. * C+ B. O$ u( S, `# I" o
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    & w( i9 ?7 `' x) _6 |5 V
  1680. ;mssql.textlimit = 4096
    7 \! K7 n$ n& m1 f+ g
  1681. & f- u7 D/ F$ D, \9 s$ x
  1682. ; Valid range 0 - 2147483647.  Default = 4096." Z) m, V6 N- [# `! ?' s
  1683. ;mssql.textsize = 4096
      x, x3 ^2 x2 ]$ f
  1684. / y1 p/ \; W' c3 C8 {$ o
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.7 @, W$ L0 Z& u3 b8 n+ F8 g
  1686. ;mssql.batchsize = 0# `% I) H0 f6 A8 w$ {' o

  1687. 9 K* s) y! @( \8 d4 G5 ^! ?/ i( J5 P# i
  1688. ; Specify how datetime and datetim4 columns are returned0 Z+ S, j4 P4 _/ G2 i" [( r8 j2 y
  1689. ; On => Returns data converted to SQL server settings/ f# n' u" j: g/ k+ \& {
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    7 D+ n. o2 l. g- F  t& k) F
  1691. ;mssql.datetimeconvert = On) N' X2 t. I: A+ b; f: Q
  1692. - Z- V( ?9 K; g8 Y- M
  1693. ; Use NT authentication when connecting to the server
    ; e5 ^% z/ ~; I! [* o. \9 e* `
  1694. mssql.secure_connection = Off: R( `+ N5 u0 Q, b

  1695. 6 x& N% ]& _+ r8 r% }
  1696. ; Specify max number of processes. -1 = library default$ t4 C, @( D" L1 `
  1697. ; msdlib defaults to 251 j5 V( r/ j% a9 G8 j" N
  1698. ; FreeTDS defaults to 4096
    3 N9 W/ P4 Q9 I
  1699. ;mssql.max_procs = -1! l/ M& z8 Y" l$ D0 l) s
  1700. ; N+ @" Q& S; n0 P9 P+ V9 W
  1701. ; Specify client character set.0 J% ]: s- B% s* V1 s
  1702. ; If empty or not set the client charset from freetds.conf is used
    : x1 _$ @( e  w
  1703. ; This is only used when compiled with FreeTDS
    . n' r& V1 C% R0 a* J# N/ k
  1704. ;mssql.charset = "ISO-8859-1"8 C/ D9 g5 G  [7 h: O) M# J: G

  1705. 7 [" V* N0 T; w1 f
  1706. [Assertion]$ {# E) R: |) U0 l
  1707. ; Assert(expr); active by default.
    6 n8 J/ n- O4 M9 h
  1708. ; http://php.net/assert.active
    & l# o4 B: @  L5 h# l3 s
  1709. ;assert.active = On
    & [, `5 G1 a( n, }& w  G
  1710. 8 S) W9 e* Y: o" B" V% F: f# w- e
  1711. ; Issue a PHP warning for each failed assertion.& q' q  G% P7 X; @! n7 i
  1712. ; http://php.net/assert.warning
    / z: Q: P8 a9 \' `1 c
  1713. ;assert.warning = On
    8 `: T& h4 k# T+ b! z
  1714. : B! r3 x- U& @0 k; |) Q1 L8 X
  1715. ; Don't bail out by default.
    # P3 ~& L- g4 b8 g. k) d* R, U& z
  1716. ; http://php.net/assert.bail. V) t6 U2 W9 y  M5 E
  1717. ;assert.bail = Off
    % X7 u  j& r7 u1 W) s9 C

  1718.   U0 b/ L# x7 x9 T8 O0 t
  1719. ; User-function to be called if an assertion fails.  r! S/ h/ n) L7 N" {" h9 @
  1720. ; http://php.net/assert.callback! @9 P: V4 Y3 L& G; ~8 n9 n
  1721. ;assert.callback = 0
      W, ~- ?# V5 I7 E! h3 t, j

  1722. : y' w. C9 y' o' h
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    * a0 [0 F! ~. a% E0 {, ]- b
  1724. ; error_reporting(0) around the eval().
    $ K& h9 R: Q( Z3 H
  1725. ; http://php.net/assert.quiet-eval
    * ?0 `, c0 \/ v! ^! P
  1726. ;assert.quiet_eval = 0
    1 i6 D+ L3 @; v$ f
  1727. # F! k* j3 r* s
  1728. [COM]
    / |$ b6 T9 |5 A  D$ o9 k
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs( N7 i* R: I+ n+ c, }& s, w6 ?
  1730. ; http://php.net/com.typelib-file- s) F4 C7 I; I( p6 l
  1731. ;com.typelib_file =  L! X2 S: j( a3 ?

  1732. # O  u; P  f; `4 R- l9 B
  1733. ; allow Distributed-COM calls; Y3 W5 _* |# y  q$ M/ v
  1734. ; http://php.net/com.allow-dcom. h& [! m0 O! T1 l$ V  f5 Z
  1735. ;com.allow_dcom = true6 g4 N  N! {! s# q1 G$ J; A

  1736. 2 a: r* ?/ d& q# B5 |
  1737. ; autoregister constants of a components typlib on com_load(); |7 c9 x! C$ s$ m7 Y/ w9 U
  1738. ; http://php.net/com.autoregister-typelib
    5 Z6 ~  A1 D( t9 V6 i) V9 ?
  1739. ;com.autoregister_typelib = true
    6 q  j+ Y) F* z( Y6 Y

  1740. 9 o- r( D7 u7 Z5 u) S8 V4 s
  1741. ; register constants casesensitive: V) u; \* }5 P: E1 n2 w
  1742. ; http://php.net/com.autoregister-casesensitive+ J' w; j6 `/ C7 a' Y0 p+ d
  1743. ;com.autoregister_casesensitive = false. p$ _+ o% x# D
  1744. # s* E) l: z! [  R$ \  K
  1745. ; show warnings on duplicate constant registrations0 ?$ O2 m( A- n) C* |- W8 \; E
  1746. ; http://php.net/com.autoregister-verbose0 _$ c" [0 _7 x# m& P  r- ~
  1747. ;com.autoregister_verbose = true( G& `4 H5 {) C6 O# @& Z' e. u

  1748. 0 _5 f7 r0 E$ D4 a7 \
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    6 V) d8 T# w; ~5 a
  1750. ; Default: system ANSI code page  V& x3 b# ?* w2 p8 R6 T
  1751. ;com.code_page=
    6 J* E! a8 Y+ z8 W% d
  1752. * u# |+ ^# p% N4 W5 o$ b
  1753. [mbstring]
      z( X, q& V8 e+ l0 B
  1754. ; language for internal character representation.
    ; a3 z5 Y/ i* \9 j& T6 I3 y. f: d
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.) N8 `4 z; L; c! I, ~; ]/ c9 F
  1756. ; http://php.net/mbstring.language
    + ~$ F+ g$ H/ T& ~
  1757. ;mbstring.language = Japanese
    0 T$ M, z6 N+ f& Y' M6 ]0 g  ]

  1758. + Q0 D& d3 J4 T  M9 A
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.+ [3 E& y2 m# M( {; m2 }+ a7 ~
  1760. ; internal/script encoding.
    ) u  B: A+ i3 L! K4 ?
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)5 B0 k( ]8 m- _7 h' R
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ' w; o% ?6 A/ W3 h
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding9 ]2 ?6 X6 E7 }! b# E. i7 [" F" M
  1764. ;mbstring.internal_encoding =
    ( x% I5 t4 [5 V( K( @

  1765. " y, P4 b! ]3 J6 w1 |4 p8 J% q7 j
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.; z* _& i  ^. h  ?0 C
  1767. ; http input encoding.
    # r0 d2 s$ R, A5 ^1 I* ~
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    8 _0 B' t5 \1 X* H4 ?! D* S
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.7 ^" v! Q8 L7 ?9 F  l
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    3 |) ^& \  c4 d$ n4 u
  1771. ; http://php.net/mbstring.http-input: d8 G1 S8 m0 Y3 S+ ~' e7 {
  1772. ;mbstring.http_input =: P1 N. x9 b0 Q& N. a8 k8 g

  1773.   X& m  G( `4 G5 r" q6 P( P
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.  L1 Y6 y, w$ O8 n% @
  1775. ; http output encoding.( N$ f6 l3 V* R( u* N! R
  1776. ; mb_output_handler must be registered as output buffer to function.
    * g" m2 {8 R  `2 F* g8 ~& v" W
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.: h. k& u6 f) d* ~7 V# x+ e' `
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output$ t. b  a7 w+ [& u  J
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    6 R. {; Z( \8 w9 E9 M' R" M
  1780. ; otherwise output encoding conversion cannot be performed.
    ! E1 d/ Z3 O' w: x; z
  1781. ; http://php.net/mbstring.http-output
    4 u6 n' h6 h- G; n6 x; h  H6 |
  1782. ;mbstring.http_output =& I  u  R3 N: y* _! S
  1783. " n' v. M5 U. Q. `3 p* ^8 D5 y- X
  1784. ; enable automatic encoding translation according to% l" s( @8 E  y* m6 ^4 O
  1785. ; mbstring.internal_encoding setting. Input chars are
    ) q& A. A4 k( J% M5 O8 I0 Y/ ~
  1786. ; converted to internal encoding by setting this to On.: X8 H; D# _2 H$ k
  1787. ; Note: Do _not_ use automatic encoding translation for. c) Q% H9 F2 r% A' I* R, H& W
  1788. ;       portable libs/applications.! J- R! H8 x6 V: ?8 s% @% G: B
  1789. ; http://php.net/mbstring.encoding-translation
    4 v: k1 o+ r; t9 O
  1790. ;mbstring.encoding_translation = Off
    0 F) }% B+ W* \; ~1 u
  1791. % M! s5 y; F% e. W) @  |2 w
  1792. ; automatic encoding detection order.
    ! M" M, N) N. M$ K) `$ O, ?
  1793. ; "auto" detect order is changed according to mbstring.language! a5 A" a; u, _
  1794. ; http://php.net/mbstring.detect-order
    2 g7 A. x$ ]  h- L+ Q1 N" d
  1795. ;mbstring.detect_order = auto
    . c8 K' K; L' R/ W. R& \7 l. ?+ |! e* M
  1796. . [7 t' w- N2 Y/ M
  1797. ; substitute_character used when character cannot be converted
    ; O- c7 t% t8 d: o
  1798. ; one from another, k% Y5 R( c2 A* A) K; Z
  1799. ; http://php.net/mbstring.substitute-character9 U9 A6 C, l/ h4 p% [
  1800. ;mbstring.substitute_character = none, V% _5 ?  a6 G% @( G$ y

  1801. 8 j! v4 z  R4 i5 Z3 F9 c8 m
  1802. ; overload(replace) single byte functions by mbstring functions.) \, U7 V* a4 s. q, M' }* L) I- Y
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    - Q# \5 N' C' V! [2 `+ U. p
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    , T: I& p5 l# c. X# c) L
  1805. ; For example, 7 for overload everything.
    7 z3 {- `1 y& h+ b* U
  1806. ; 0: No overload
    $ `  z$ B) w% b% S  j
  1807. ; 1: Overload mail() function$ F; ?- ~* C  @: w
  1808. ; 2: Overload str*() functions
    9 c7 G% a) b5 X, N% N- S" ]
  1809. ; 4: Overload ereg*() functions, t4 x% F8 N3 `3 p; y
  1810. ; http://php.net/mbstring.func-overload
    # l4 P+ |( X" G( F, }7 ?
  1811. ;mbstring.func_overload = 0. F) M2 S' I, ]! M9 o

  1812. . a  F' G8 t( ?) i% D* Y' r' _( g
  1813. ; enable strict encoding detection.
    & P2 T& x1 @2 W: Z6 D
  1814. ; Default: Off
    ; b3 [. o0 ^. F7 [% [# }
  1815. ;mbstring.strict_detection = On3 Z4 r* A7 P$ x' X" [% N

  1816. 8 r0 J- U. ]8 n3 _
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    . ^! a- r) f2 I) S
  1818. ; is activated.( l$ u2 l3 m7 [$ G" ~
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)* J6 A% @8 ]" i
  1820. ;mbstring.http_output_conv_mimetype=% B% C: e. @4 q4 f

  1821. 5 s: u* @' p, L/ G3 Q
  1822. [gd]
    / U  q! B6 Y/ t) @: p0 P
  1823. ; Tell the jpeg decode to ignore warnings and try to create$ e/ a/ Q( F  N( m) ^/ E3 }
  1824. ; a gd image. The warning will then be displayed as notices
    0 ]5 |5 F% ^0 [3 p/ \* a; Y. p
  1825. ; disabled by default
    / e7 b1 F7 A  n( f3 P9 W! i# Q
  1826. ; http://php.net/gd.jpeg-ignore-warning0 Z8 n- A  I5 D+ z  O
  1827. ;gd.jpeg_ignore_warning = 0
    4 \/ o2 z# o8 z
  1828. 5 K' \# e# Z& x+ j4 x7 ^
  1829. [exif]
    " M0 l: a* {' c: u
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.3 I5 L9 v$ w' S+ b/ N# C# d/ V
  1831. ; With mbstring support this will automatically be converted into the encoding
    6 [4 h# t9 M+ N6 f1 \' v8 O! H
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    9 z" N/ M" S/ Y& |5 z6 E
  1833. ; is used. For the decode settings you can distinguish between motorola and
    + N4 L( S# V1 O! S
  1834. ; intel byte order. A decode setting cannot be empty.
    9 X% R: F0 Q& @/ j
  1835. ; http://php.net/exif.encode-unicode
    1 \/ c+ g# V( `7 [1 i
  1836. ;exif.encode_unicode = ISO-8859-156 [6 R1 F/ ~- N( F4 j
  1837. 1 L4 {0 Z4 d5 v& Q
  1838. ; http://php.net/exif.decode-unicode-motorola/ R( O5 I% j. _9 Y% K" c% a
  1839. ;exif.decode_unicode_motorola = UCS-2BE4 n. t0 d( E, B: h1 H# D* b

  1840. * v: V0 z. H! Y( J* s* G% o
  1841. ; http://php.net/exif.decode-unicode-intel
    , l0 n/ b+ F) q  c9 {; |+ z( f7 _4 X
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    / [+ P8 g0 f3 O6 B( D' m- U8 T
  1843. 6 N& ]6 s% a2 \; z8 u
  1844. ; http://php.net/exif.encode-jis! f* |# X! ]* z( d
  1845. ;exif.encode_jis =! O7 ~( t) I5 h/ l' c2 A
  1846.   j9 r; y: q. E! w. p& c
  1847. ; http://php.net/exif.decode-jis-motorola
    " K% h& C3 r; K+ k
  1848. ;exif.decode_jis_motorola = JIS$ K7 y0 s* r; c5 q; K

  1849. , W! N  ~& y) O1 s
  1850. ; http://php.net/exif.decode-jis-intel
    8 V# V  ]( ]2 W7 I& J$ D+ A6 u5 e
  1851. ;exif.decode_jis_intel    = JIS7 [/ X# w" e; y) R* ]  p
  1852. 9 a) y; Z6 X) V4 J
  1853. [Tidy], w/ y+ `9 _9 ]+ p  g) P7 R" U5 b
  1854. ; The path to a default tidy configuration file to use when using tidy2 Y$ j- F/ C- [! Q9 r. v, `
  1855. ; http://php.net/tidy.default-config& }0 }! t! n8 }
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg3 O. J1 E& q3 J" O/ l4 J
  1857. / w' T. v! O% Z9 S3 n) y
  1858. ; Should tidy clean and repair output automatically?
    8 c% M5 }. ?- a: t0 n1 q
  1859. ; WARNING: Do not use this option if you are generating non-html content" S4 Y  d0 X2 }6 }0 N1 Z
  1860. ; such as dynamic images, X9 H: p2 _5 a
  1861. ; http://php.net/tidy.clean-output
    6 n3 d; H! G. p2 D7 U1 q
  1862. tidy.clean_output = Off
    7 A6 a/ d1 |6 q6 X" `2 h0 b1 p
  1863. 4 Z( H( N* n6 q- s
  1864. [soap]
    , J/ \2 I* v, i' o8 d* R
  1865. ; Enables or disables WSDL caching feature.. O/ G8 ^9 B0 e* i2 R: |0 g, F
  1866. ; http://php.net/soap.wsdl-cache-enabled
    5 k% o0 H' D' i' B$ J" ]
  1867. soap.wsdl_cache_enabled=13 x+ V; _/ M7 p* J& v% |0 G( L
  1868. # u9 G* ^! \0 l6 L
  1869. ; Sets the directory name where SOAP extension will put cache files.
    , P7 a* |  [2 x- q
  1870. ; http://php.net/soap.wsdl-cache-dir+ B* [5 _2 [* h4 M& u
  1871. soap.wsdl_cache_dir="/tmp"
    ! D  W% f! X* X3 K. H7 R3 J
  1872. ; T- z( X5 b% y( O% y# |
  1873. ; (time to live) Sets the number of second while cached file will be used' ^" N. d8 z' U) |8 M3 B
  1874. ; instead of original one.
      k, H5 h: N# a
  1875. ; http://php.net/soap.wsdl-cache-ttl
    , ?: F) D& G9 c/ _6 I% d
  1876. soap.wsdl_cache_ttl=86400# `" Y( h& Y" k: |7 R5 l* B. h

  1877. / G4 Q, P9 A4 F2 d0 j% P* a
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    # ?* g' S' B1 f! \% z; E; ~% {
  1879. soap.wsdl_cache_limit = 5  f4 G2 {+ M$ ]! t/ ~4 X6 t' }

  1880. ; v4 j6 @& y: Y: m6 A: Q7 l
  1881. [sysvshm]
    2 |8 O, J  D' ]! k+ U+ @) [
  1882. ; A default size of the shared memory segment0 E, z7 b! l% z  l5 o% _) }
  1883. ;sysvshm.init_mem = 10000
    5 Q2 O" r; y7 e( \$ b1 ]

  1884. / e6 Q" G4 M3 _. g7 V" @1 a
  1885. [ldap]5 k. z" t2 M; [( `2 C6 }& ?
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    & h! j$ ?! Y9 c& ~1 R' ~( `
  1887. ldap.max_links = -1# `! I* ~' ~- s- C1 S+ K

  1888. 5 n& |! F& i1 w, y& ^9 _& K
  1889. [mcrypt]
    4 t0 e6 r, m6 w$ R. n/ q; Y
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open3 J! C9 c0 X- K! W! l8 U5 e

  1891. / G# F2 H- C4 H) [% F7 x# b
  1892. ; Directory where to load mcrypt algorithms) D2 G/ K% u: s6 M& ~
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)- X! r! N6 C8 _; G1 T
  1894. ;mcrypt.algorithms_dir=0 h; s* y( g1 D" e9 ~9 `8 C% D
  1895. 3 `" i- ]  G7 ]! Z: H( Y, i
  1896. ; Directory where to load mcrypt modes
    4 Z4 y/ {. c' x9 q& P2 l
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    4 {! C0 A+ I& u0 _
  1898. ;mcrypt.modes_dir=
    - d$ |; J" h2 _
  1899. + B6 I8 }( z# L' ]
  1900. [dba]4 z9 S5 F! `' w, D6 T9 u' p' J& X
  1901. ;dba.default_handler=2 c% H% A( e% J, o- O
  1902. 1 _0 o, e0 l  g; g; I1 V
  1903. [opcache]
    ) j2 b# g- x2 }+ M
  1904. ; Determines if Zend OPCache is enabled
    $ M5 I9 z& D( t) w1 z$ z
  1905. ;opcache.enable=06 o( c) u7 o- Y" q( q
  1906. & e5 D: K. ?  M2 O
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    4 Q% {. |; J0 z" X2 H! T* w
  1908. ;opcache.enable_cli=0
    % ]2 `7 C1 k3 o" p  T

  1909. * p  k, e+ [$ m8 X" v; W1 x
  1910. ; The OPcache shared memory storage size.
    / h0 P* _  ]' }  M! w; a
  1911. ;opcache.memory_consumption=64
    + i/ d: \8 c$ x: f  Y( ]

  1912. 8 Z. z5 D1 `5 U# u5 b
  1913. ; The amount of memory for interned strings in Mbytes.
    & @" L# ^1 {3 Z7 v/ \+ i. s$ w
  1914. ;opcache.interned_strings_buffer=4
    - z% N( N) ]% R/ v- y
  1915. 5 P; l) B6 b, N
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    8 O! X: `7 |" `3 R& X& f
  1917. ; Only numbers between 200 and 100000 are allowed.
    ( }3 R' [- S; ^+ t
  1918. ;opcache.max_accelerated_files=2000
    & P2 H  e& S1 q8 U
  1919. , ]( E: S1 z0 G0 ?+ O6 w" {
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    8 `2 g' c' U) H  Z* ]
  1921. ;opcache.max_wasted_percentage=5
    " P& u2 b& [, O' ?* y4 |5 e9 e

  1922. ( O  Z9 V+ i; e- {+ N* i
  1923. ; When this directive is enabled, the OPcache appends the current working
    0 Y3 D- E* o& `7 X0 j2 Q, ?
  1924. ; directory to the script key, thus eliminating possible collisions between6 M1 n) l2 L4 J; @0 |
  1925. ; files with the same name (basename). Disabling the directive improves, v& y& r9 C, l, S# X- j6 Z; i  J
  1926. ; performance, but may break existing applications.
      k8 b1 d5 G* m. G' M
  1927. ;opcache.use_cwd=1* I* Z4 U$ m/ p5 K+ q% R3 ]- ~# B2 M

  1928. 5 Q2 b7 ~- e8 g5 @, v' f3 `' E
  1929. ; When disabled, you must reset the OPcache manually or restart the
    " s5 f2 L% J& q
  1930. ; webserver for changes to the filesystem to take effect.
    0 Q' S& W' c5 j& a
  1931. ;opcache.validate_timestamps=1. f! K$ a5 n0 N6 W  Z3 P0 I8 Z
  1932. 2 l4 b, Q6 H; N, i
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    / x1 O: l4 Q* J8 Y- A: h
  1934. ; memory storage allocation. ("1" means validate once per second, but only  |+ ~0 z& B( i
  1935. ; once per request. "0" means always validate)9 k- |# X& s6 C+ `6 Y/ U4 h
  1936. ;opcache.revalidate_freq=2
    ' Y" Z, ~( z7 o$ e
  1937. / C/ R$ l" ?% I$ s1 u8 d
  1938. ; Enables or disables file search in include_path optimization
    7 X. k7 ~# m" o- Y
  1939. ;opcache.revalidate_path=0
    - y. ?3 i/ N/ m6 q' f8 P+ ~- n
  1940. % V! Z6 {7 f9 T1 D$ Z* {( G2 I' w
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the) l+ R: J$ R3 l) K
  1942. ; size of the optimized code.
    + M- x+ x, Z) L2 S3 {
  1943. ;opcache.save_comments=1
    ; b+ w/ a0 C% \! x) v& [. N/ Y8 l

  1944. ) F' V& u7 ?4 |5 V
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"1 I1 ~- p! S. v4 o
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    ! L  V9 V) @1 K& g+ S. B% q* B
  1947. ; that don't need them anyway.- B& U1 F9 p* V/ Q3 Q
  1948. ;opcache.load_comments=1
    # S, j& I: G. ^) l, e" v5 A/ C6 H6 T
  1949. % W# C; n& A  ^: E$ B+ U
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    8 ~/ I$ ?2 \) F& S6 s
  1951. ;opcache.fast_shutdown=00 [+ @- V; T- a1 S8 V/ X1 l
  1952. + N8 |! n5 E# u* a0 H5 w& ^
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    ' q* c  A# p- T+ O
  1954. ;opcache.enable_file_override=0  j% f+ ~  q/ ^! g$ Q
  1955. 9 Q+ s6 }4 F8 u- G9 f( `+ a! Z
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache8 Y3 n/ G4 U0 }7 n
  1957. ; passes4 C$ W  l$ I# @3 O3 m- k
  1958. ;opcache.optimization_level=0xffffffff( n& p6 ^! q. {# `! ?) k& T

  1959. " b- C) V( |8 M5 Q# u$ J1 }" U
  1960. ;opcache.inherited_hack=13 Q  g1 ^! ]5 ^" b( g
  1961. ;opcache.dups_fix=0
    5 P4 G$ H. a7 a, ]" U+ g  Z: E
  1962. , f7 a1 l$ v4 e0 K5 V& N) S( g1 A
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    / u! S% t: Q  x0 o! \# v$ |
  1964. ; Each OPcache blacklist file is a text file that holds the names of files' [: R5 s# p" [8 O+ e# M
  1965. ; that should not be accelerated. The file format is to add each filename& Y; n& U( v% {1 V
  1966. ; to a new line. The filename may be a full path or just a file prefix+ `$ L* U0 f' |& |: f6 @" {
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    + l* M& H0 u; p- n# t
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments)., B7 k: H' R) ]; Q7 Y
  1969. ;opcache.blacklist_filename=3 ]6 Y8 Q: h( G9 ?* m
  1970. ' f0 z4 [5 ~& r: i8 W. T$ `" M
  1971. ; Allows exclusion of large files from being cached. By default all files& L' y' c5 [; A' B
  1972. ; are cached.6 M5 @. |; G5 ^  ~8 n7 K3 i6 f/ J
  1973. ;opcache.max_file_size=0. B9 D( I4 y9 c  b- c( _& Y
  1974. . ?2 E1 _2 Z% N; ^
  1975. ; Check the cache checksum each N requests.; q  G) d2 d7 ?/ H. J6 G
  1976. ; The default value of "0" means that the checks are disabled.* {; ^" q) C# k9 X) O* `, j
  1977. ;opcache.consistency_checks=01 j, K# @+ f7 M! `5 i  m3 f
  1978. # m/ s0 }0 Z2 X
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    4 z) j1 b3 k( }; c) K. ?0 u
  1980. ; is not being accessed.2 J- V7 Q8 r' A) R
  1981. ;opcache.force_restart_timeout=180" C' P1 y5 H# N( p3 e7 L! Z$ u
  1982. % a" V4 |% D; q' Z& _+ I! T
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    / C' `& j. l; o1 ~4 e
  1984. ;opcache.error_log=3 I/ O5 p2 Q' ^! J3 Y
  1985. 7 A4 J* d( L) I7 V1 e$ e
  1986. ; All OPcache errors go to the Web server log.
    ' `; G0 g+ u5 U" I
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    8 J9 g, }; r6 p7 W# I9 u3 k
  1988. ; You can also enable warnings (level 2), info messages (level 3) or: [2 X% P3 d/ Y8 E) z: f1 t+ D
  1989. ; debug messages (level 4).0 q3 B1 h: j& h8 H) V' o7 ~
  1990. ;opcache.log_verbosity_level=1
    / B1 N/ j0 X+ S. z2 F

  1991. $ t; N& E6 E7 X' O
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    0 [8 n& v% s+ ]$ t  o* F. Y7 Q
  1993. ;opcache.preferred_memory_model=
    , I" K. V1 V8 W' `* E7 T) E0 ?

  1994. : `! }/ `3 z' b; r% x
  1995. ; Protect the shared memory from unexpected writing during script execution.
    & R9 |1 l: l' H+ O% A( k/ h
  1996. ; Useful for internal debugging only.- n; Z9 v7 U( I, {
  1997. ;opcache.protect_memory=0
    2 c# [6 e7 N8 G
  1998. % {9 S" B0 h8 W. A
  1999. ; Validate cached file permissions.
    0 x7 l) p" e0 Q( m8 Q7 S) X  d
  2000. ; opcache.validate_permission=0) k7 N8 W0 h- Y9 t4 ^

  2001. 9 o! p5 x8 I% e' @& z% G% i
  2002. ; Prevent name collisions in chroot'ed environment.% L- p7 \; O% e
  2003. ; opcache.validate_root=0$ Y6 U4 F0 V2 P. S8 a4 N3 t' Q. C
  2004. 2 O6 O2 o5 Z. L) x  @8 Z1 R. {
  2005. [curl]' `& @1 d5 H. u
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an: |6 R" Y+ z8 f+ F
  2007. ; absolute path.# `; B8 C' s# _" ~
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt( d5 ^9 K8 N8 x3 J1 ^2 N. i
  2009. $ ?8 c8 _0 }+ i' c2 y* v0 j
  2010. [openssl]
    7 {, Y9 L  |& q: y
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem# I0 l: s, w- G/ k
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should4 V- l. w4 Y: p5 m9 X8 C* M# M
  2013. ; not specify a value for this directive as PHP will attempt to use the
    * B% o, c4 E1 V9 H, I$ L  o1 P; I
  2014. ; OS-managed cert stores in its absence. If specified, this value may still/ Y5 @$ ^4 S' P, k5 ~, Y8 {
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    # ]( x& {% q9 D' I8 F2 f" f
  2016. ; option.
    ( U9 p, f; B3 T8 V0 K
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    0 o7 y% S; E* {- r4 Z# b
  2018. ) K* y0 _8 C" v
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    7 f4 M  p4 @3 [) |9 K( Q
  2020. ; directory pointed to by openssl.capath is searched for a suitable; p9 W1 I  v" m
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    , p$ W: L% u- m, p% }4 {4 G
  2022. ; Most users should not specify a value for this directive as PHP will
    ; R' m9 @. r0 U* m/ Y. }1 Z
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,- ?" D& D! p/ t# a
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    : I# ?; `1 J3 L. b# n" w0 K  w. a- R
  2025. ; SSL stream context option.
    7 |' Q1 J. B6 [& X
  2026. ;openssl.capath=
    9 R: _; g4 k% b5 K

  2027. + i) R# f" c: |% m( L( ]0 ^* X
  2028. ; Local Variables:
    ) m9 E# h3 E/ A4 l8 ~4 n2 r) g% d
  2029. ; tab-width: 42 }$ N4 f5 x. p
  2030. ; End:. A, D; w/ ~/ d; h6 N4 r! J! h
  2031. - o7 v# }/ l: s% a/ J* a
  2032. ;eaccelerator1 q0 Z: V/ X9 c# b6 a& c

  2033. # z5 M! T9 ?4 N1 K' A9 O
  2034. ;ionCube, R5 i0 y: u: D
  2035. . C; U& _6 H7 m; ?: u1 U, ?
  2036. ;opcache
    9 b  ~. w& J% P) n% `
  2037. 7 N2 f$ K5 i1 n3 C2 W
  2038. [Zend ZendGuard Loader]
    ! \3 c, g" h) P
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    , _1 D+ A3 |; L" u/ S+ r8 U
  2040. zend_loader.enable=1
    % x/ J4 ^, o3 d( p  }
  2041. zend_loader.disable_licensing=0
    : i9 F! k  R  L- p% D
  2042. zend_loader.obfuscation_level_support=3' r- V6 f' `' \0 H: ]& u
  2043. zend_loader.license_path=
    - k/ P; N6 B0 \4 F  S# J+ N

  2044. # q( r8 |* }& b7 B1 }
  2045. ;xcache
    2 W' A) J* i  O
  2046.   X8 H8 W; Y7 l6 P2 X$ e- f
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692+ T/ m. A0 K7 ~. ~/ {

- \& ?+ y5 D6 G7 |1 D6 l+ l# m
- @0 \0 S+ @: W+ H9 WDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,, `3 Z5 u0 A( Q0 u5 t! O1 ?. y& r
% `; a* V2 H4 ]1 u9 ]8 U  w% n
Discuz!程序版本选择:
. M! E6 ^. S& ~. m( |站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
3 k4 x7 ~+ U4 z3 A6 C+ W6 K8 j0 J$ W# [5 {不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:$ L$ {  R( x" V, j, B* t5 c
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。
) R! ]  f+ q! b# u6 w3 f' r. I% c! O
Discuz!插件模板版本选择:. N7 i5 Y) R, \& c  i* {' W
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
9 e/ C8 W7 f% J  F% A针对这个问题做个统一的普及:1 y5 h9 U1 i, x! e& O, o
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
1 M4 j7 Q- k; i9 v/ y7 }( M2 X2 W/ k! a# x/ U& ^
所以% R' J: P# p5 y' n
适合Discuz!X3、X3.1版本的DZ插件、DZ模板是适合并兼容 Discuz!X3.2站点使用的,请站长放心安装使用。但适用于X3.2版本的应用90%以上是不兼容Discuz! X3.4和php 7.x的,请格外注意!!!
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-12-2 01:25:25 | 显示全部楼层
添加网站的时候一定要添加两个站点,一个是主域名,一个是www的二级域名。
4 ]0 a3 i. J2 a% _% h9 t* O打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。/ O5 n" Z$ i# ~
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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