分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
" x# D" y) k& z0 Y  t
, K/ M( Y% F6 R: \) f
  1. [PHP]
    6 ?7 N, O% j3 k
  2. 0 Q: w% h! E* Y% g/ {0 d! J( L7 p
  3. ;;;;;;;;;;;;;;;;;;;
    : F6 D# S/ U) B, }- @
  4. ; About php.ini   ;1 k4 I* @2 H* w
  5. ;;;;;;;;;;;;;;;;;;;) A3 U; x" p  c* x- a) O* q
  6. ; PHP's initialization file, generally called php.ini, is responsible for* x1 V" d! G# L- e  {0 \! W
  7. ; configuring many of the aspects of PHP's behavior.
    8 p* b( N: ?; D3 e. x! }

  8. 5 Q5 F2 q  M2 [: e* h7 l
  9. ; PHP attempts to find and load this configuration from a number of locations.
    2 I7 {% p: M" h& k5 W: h4 I+ ~* x1 Z
  10. ; The following is a summary of its search order:
    . h( u. `4 g3 u% [: L8 n' T
  11. ; 1. SAPI module specific location.
    $ N/ l+ p- d. q4 E* o
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)4 z" L$ X* X* f& |$ F
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    2 z# o0 j# a0 q4 [/ d7 {3 O
  14. ; 4. Current working directory (except CLI)" r* X0 d: @3 W& U+ C3 `- k; ]
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP' q! @4 R' }' W, P9 q/ h
  16. ; (otherwise in Windows)
    - b# H" V) F' u& [
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    : R8 K! ^& d4 m3 H5 v# B" S/ B
  18. ; Windows directory (C:\windows or C:\winnt)! {' W9 B) ?" Q+ z9 Y5 ^0 d) F
  19. ; See the PHP docs for more specific information.
    6 `2 x1 A6 r! e' d4 q
  20. ; http://php.net/configuration.file
    ' m& ~3 @% x, ]) b, t& g9 N7 f0 U
  21. , Q' d3 T3 F. ~1 H; f
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    7 U. u! {  }; a/ O) E
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    1 m/ D7 L4 n* I; o9 c
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    : u# i$ p# F$ B; L& X
  25. ; they might mean something in the future.
    0 I8 h' g7 v2 z$ a: o! v
  26. * @! t- e$ R3 Z) C" G0 V
  27. ; Directives following the section heading [PATH=/www/mysite] only
      ]' c  [5 o2 j* j- E  U
  28. ; apply to PHP files in the /www/mysite directory.  Directives6 }  ]" Y! x  f% s9 n
  29. ; following the section heading [HOST=www.example.com] only apply to
    ' Z2 E0 I1 ^, N/ u  w7 S4 o
  30. ; PHP files served from www.example.com.  Directives set in these
    , \6 J5 Y4 Y4 ~4 E: d
  31. ; special sections cannot be overridden by user-defined INI files or- F; V: v0 H$ Y: O" E9 @5 h
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    : u3 y0 W# [9 C' G# x. e6 s
  33. ; CGI/FastCGI.7 }$ b1 U0 E5 f# U. K
  34. ; http://php.net/ini.sections
    : k0 O& w: @& I; {' N9 h
  35. - t- l+ C* b' z2 S7 k, `6 G. S
  36. ; Directives are specified using the following syntax:
    % f$ S3 T2 X  \: V
  37. ; directive = value0 v" X( Y* m# k7 Y5 [1 q7 F
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.( w/ z& k3 u6 A- Y4 E9 g& p7 j
  39. ; Directives are variables used to configure PHP or PHP extensions.1 c/ d( G7 N  B0 s* W" t) K/ F0 v
  40. ; There is no name validation.  If PHP can't find an expected1 v& i0 @1 i# E- v- j% D9 k9 P
  41. ; directive because it is not set or is mistyped, a default value will be used.2 H3 |. d# l6 S
  42. 5 ]9 H, c$ R! ^& w1 F
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    ( L* a2 |. @1 L1 _" y
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression4 d9 H! h2 i. l+ R4 j
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    : a/ F1 P+ r3 L8 ~- q, b: j
  46. ; previously set variable or directive (e.g. ${foo})& O7 n; [5 V$ r& [

  47. . B, V& y" S7 l* Q. m5 G: W: c6 l
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:  k$ ^$ V5 b7 s- h  A
  49. ; |  bitwise OR, `" w2 ]: X7 j5 A
  50. ; ^  bitwise XOR
    : ]/ ^" M# q, V4 f- Q9 y
  51. ; &  bitwise AND/ v4 ~8 f" Z& t
  52. ; ~  bitwise NOT$ _" m. D% C$ U4 L
  53. ; !  boolean NOT, _7 Z9 B4 X% c# o) i  U6 m" M. s

  54. % x; m8 B: R8 j% h
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.* f" I9 z) h& h5 i7 V# p
  56. ; They can be turned off using the values 0, Off, False or No.
    9 Y, w0 I4 F% d: @3 i

  57. ' K$ a! c. P. M( s* s
  58. ; An empty string can be denoted by simply not writing anything after the equal
    - O) b# K0 O* l9 y) [( U7 V6 Q
  59. ; sign, or by using the None keyword:
    ) @2 E8 q0 t7 z6 P. k
  60. ( y; a7 x6 O! p, ?) a
  61. ;  foo =         ; sets foo to an empty string2 m9 [( D" D0 |6 ]. ?
  62. ;  foo = None    ; sets foo to an empty string+ @8 }  O( o" D4 c6 E, c! e
  63. ;  foo = "None"  ; sets foo to the string 'None'
    9 A$ W" c/ [2 C, t

  64. 0 ~" K# A4 ~: x: a& Y0 Z3 T
  65. ; If you use constants in your value, and these constants belong to a1 @  Q$ U' J. R
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),2 f$ n  b: ]) [$ T  A+ u2 ]( x
  67. ; you may only use these constants *after* the line that loads the extension.
    , }$ W4 k1 n: o, Z2 T" U# C
  68. . }+ z$ i" J1 t0 b3 S
  69. ;;;;;;;;;;;;;;;;;;;1 \) \' g8 I0 J* s2 D; d, E( K
  70. ; About this file ;
    5 S; a$ h& P2 R
  71. ;;;;;;;;;;;;;;;;;;;  l: ^0 K, |2 }6 c2 u4 k( Y
  72. ; PHP comes packaged with two INI files. One that is recommended to be used4 t& m, `9 S$ b7 ~/ s
  73. ; in production environments and one that is recommended to be used in8 ]1 e1 t) p+ Y3 e  c
  74. ; development environments.# @& t  m: a0 q2 @

  75. ; a8 c( m- l6 N) y" r
  76. ; php.ini-production contains settings which hold security, performance and
    $ h4 G; E% B' g4 i$ u7 c
  77. ; best practices at its core. But please be aware, these settings may break' w3 B8 k$ k. i) s: |
  78. ; compatibility with older or less security conscience applications. We3 `0 {9 F6 q& Y- R! L! ?& t* \
  79. ; recommending using the production ini in production and testing environments.4 G1 r$ S1 B( }; Q) [

  80. 3 y$ Y1 ]6 w7 \+ N
  81. ; php.ini-development is very similar to its production variant, except it is1 X7 x9 Z  A- j* M1 S
  82. ; much more verbose when it comes to errors. We recommend using the
    , |" s* o0 L' f7 D1 ]7 H$ Y
  83. ; development version only in development environments, as errors shown to$ X- @; G; S6 R6 r
  84. ; application users can inadvertently leak otherwise secure information.6 R' `5 W( E7 j+ ^% x9 f

  85. ) X' ~' C4 y6 W) o
  86. ; This is php.ini-production INI file.
    0 B+ G: f* y/ Z. L) @
  87. : e$ y7 A- b+ y2 o1 D2 U$ g! [
  88. ;;;;;;;;;;;;;;;;;;;
    " O0 U$ s- t! Z8 z& Y% H
  89. ; Quick Reference ;- F4 q5 S! o% H
  90. ;;;;;;;;;;;;;;;;;;;! s' V# Q0 C, M% H' K
  91. ; The following are all the settings which are different in either the production8 a" l; `5 c( K. ~
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    % u' _3 m6 p* l/ A+ |; @2 W- b2 g4 B
  93. ; Please see the actual settings later in the document for more details as to why
    " J) v2 ^5 O- k5 c& D' ]. H6 ^  K1 O
  94. ; we recommend these changes in PHP's behavior.. P% v9 i+ J' e$ t0 v2 B

  95.   E* d7 T; @& V; W+ D
  96. ; display_errors
    / B5 N9 Y8 T2 s; w! J8 O! m
  97. ;   Default Value: On
    8 h8 }8 y! i# D) v) a' l9 ?
  98. ;   Development Value: On4 _+ e5 S" A( K; H- s
  99. ;   Production Value: Off! w+ s1 `) E  N% M' U5 ~$ G0 t
  100. " v) G9 r% Q* b2 S1 `
  101. ; display_startup_errors2 z9 |/ r! S0 N2 ~
  102. ;   Default Value: Off' H, Z& |4 A6 j* L
  103. ;   Development Value: On8 g0 G6 a) |* }
  104. ;   Production Value: Off
    $ S+ x* H+ Q' `9 r1 [

  105. 5 x. t+ \! Z6 }* x6 F
  106. ; error_reporting8 {1 m$ j! |% @. O4 m: U
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED5 x2 }2 f4 v; S
  108. ;   Development Value: E_ALL6 R9 N3 P( `) l  x
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    ( j, D0 V: q, G* o

  110. - b  Y1 |7 J$ j$ B9 T
  111. ; html_errors
    3 d" |' Z4 j. Z9 N( _' }
  112. ;   Default Value: On
    ; j+ O6 j; C9 U# M* B: Y" a
  113. ;   Development Value: On
      Y2 ?7 ^" q  l% B
  114. ;   Production value: On( U% D4 o% j- k

  115. 0 d9 Q/ b+ ^9 ~* m% m* C
  116. ; log_errors
    $ T6 [0 B. i- m" `
  117. ;   Default Value: Off
    1 D; i- z- y, M6 q" I9 c
  118. ;   Development Value: On! H! P( M. T+ E% k+ ?5 |
  119. ;   Production Value: On
    - n# L) S4 o/ S1 q, c3 e

  120. 7 E4 F9 @% ^: k$ X- g& v* f: E
  121. ; max_input_time' Q6 F" ^: T& e8 M. j) p$ f& B
  122. ;   Default Value: -1 (Unlimited)' \3 [2 [) _9 O6 ^8 z/ P5 C
  123. ;   Development Value: 60 (60 seconds)
    ) y; d% \; e" N' O! Y9 H
  124. ;   Production Value: 60 (60 seconds)/ u' ~2 S- w6 |3 J; d) W
  125. $ c" T! N7 w5 U% C$ I2 o$ t
  126. ; output_buffering
    ; B% r3 y' z+ R: i
  127. ;   Default Value: Off
    ( L! @* M( S2 q/ d, l' L) j
  128. ;   Development Value: 4096
    ) n) I  z$ j+ p9 i
  129. ;   Production Value: 4096- v. t4 V  O. v2 _

  130. % t7 ~3 t, N4 Y2 S# }5 T+ ~( G2 p8 E
  131. ; register_argc_argv
    , `9 m5 S) s1 q7 M% U% O
  132. ;   Default Value: On% @3 g1 _8 q, K+ P
  133. ;   Development Value: Off
    * }$ z+ r: A5 F( d
  134. ;   Production Value: Off7 p5 u% u6 X7 q) G; u
  135. 5 v6 A. h9 Q- |5 i7 x" T
  136. ; request_order# `. ]# Z& R7 h% _4 b( T' s
  137. ;   Default Value: None
    1 t4 \* z! M  I9 X. Y6 w# R
  138. ;   Development Value: "GP". ]0 S) m8 P- B" @1 K$ E* o
  139. ;   Production Value: "GP"8 D  |, h* i  L2 O; o+ ^

  140. 5 L" |0 l! A, ?! Y
  141. ; session.gc_divisor; T& ^. k; }( E3 W# P4 J- p$ A
  142. ;   Default Value: 100( b; {, z! K+ y' C) `7 m
  143. ;   Development Value: 1000
    3 x- u# O% h, W) a  Q
  144. ;   Production Value: 10005 b7 G1 E) b% s+ j1 F8 w

  145. 4 ~! W$ c0 u6 m/ ]3 m* Y9 |
  146. ; session.hash_bits_per_character9 c0 @$ U6 o- I& K
  147. ;   Default Value: 4$ B0 {4 q0 ?3 c* B; W  r- ~
  148. ;   Development Value: 55 K9 f5 y* b" n
  149. ;   Production Value: 55 u) i  }# \6 u+ |: W& l* G
  150. & J6 ~+ n4 a1 Z
  151. ; short_open_tag
    ' C5 e8 t3 M+ }
  152. ;   Default Value: On
    5 ?& E  i/ _1 k! a
  153. ;   Development Value: Off& w; X( j( q: ]) ?; C
  154. ;   Production Value: Off3 b' j  S$ U( ?4 ?# W
  155. : E- o, Z0 u0 Q. t( H
  156. ; track_errors; M3 W6 I6 k: p, ^  X
  157. ;   Default Value: Off
    % @* N( L& g, N3 [  `
  158. ;   Development Value: On! v: u# H5 [( P0 C
  159. ;   Production Value: Off7 ]0 s. ^# w+ w, c; j, W% K0 h9 Y

  160. 1 C9 E" Z) D. H/ r" e
  161. ; url_rewriter.tags
    2 ]# S* f4 ~) t: C% i+ `
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ; A. F; X- ^3 ]# g8 Y2 E+ c
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
      [) e: N" S! j  j
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry") ^) x# `# ^. m
  165. 0 T  x8 S- z3 [( H  Y, ]& c' d
  166. ; variables_order
    + }/ R1 k; ~" r  {2 ~
  167. ;   Default Value: "EGPCS"
    : H( ?2 R: w7 E
  168. ;   Development Value: "GPCS"
    ' F8 F+ L2 M$ d8 a" b% [$ ~
  169. ;   Production Value: "GPCS"
    6 y9 s# L8 f( A% e& H- I: d' `2 T
  170. 3 |! Q- A* I3 e. C% a8 O
  171. ;;;;;;;;;;;;;;;;;;;;/ `$ U3 s! h2 B) F# H
  172. ; php.ini Options  ;6 P* \; H4 r/ h8 L. o- N; ]( U
  173. ;;;;;;;;;;;;;;;;;;;;7 c# @. O% m$ W" J, t, `# F
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
      b( v3 x+ }  H. m" H
  175. ;user_ini.filename = ".user.ini"
    $ O* M% `& Y$ Q  `

  176. 1 P5 D  ?6 ~1 I! `" N( M
  177. ; To disable this feature set this option to empty value
    ( P# j' O/ C+ W
  178. ;user_ini.filename =
    , V3 Z3 Y6 U, Q+ {7 a, l, Y
  179. 6 q+ \' A# x$ t' S, i0 s& Z% b; r
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)# ^3 P* P" S, s1 t& h6 Q& P
  181. ;user_ini.cache_ttl = 300$ G  R" t  M& L) p8 s; m& M
  182. 2 }& e4 N) R+ w5 @$ _( a
  183. ;;;;;;;;;;;;;;;;;;;;' R4 Q8 Z- n! b  O2 e
  184. ; Language Options ;* O8 I# h5 Z) t, @0 V
  185. ;;;;;;;;;;;;;;;;;;;;" i8 x$ B% L/ q# H& N; B1 @
  186. / o9 n% F4 U/ o5 p3 \3 `( L3 X
  187. ; Enable the PHP scripting language engine under Apache.! n+ x6 N; l; S, ?4 g: E
  188. ; http://php.net/engine
    . `$ c# G% A0 W
  189. engine = On' w5 M0 L9 y  f

  190. + U: M5 D7 r  Q0 ^5 l
  191. ; This directive determines whether or not PHP will recognize code between4 m# Y4 j9 ~8 p9 J4 v
  192. ; <? and ?> tags as PHP source which should be processed as such. It is" r0 ]1 {& `* N2 d& c
  193. ; generally recommended that <?php and ?> should be used and that this feature3 n' l3 u3 s, v. _. h
  194. ; should be disabled, as enabling it may result in issues when generating XML
    2 g: a) ?3 ]( W
  195. ; documents, however this remains supported for backward compatibility reasons.4 f' j5 {5 c/ k
  196. ; Note that this directive does not control the <?= shorthand tag, which can be1 K+ K, c& @- V5 O2 _0 M
  197. ; used regardless of this directive.
    * e7 u$ J* f$ e0 @
  198. ; Default Value: On
    . U$ p, x  [6 n1 e* t/ o
  199. ; Development Value: Off
    7 K9 ~- B! N& a1 I
  200. ; Production Value: Off; A3 k% z; u2 a: y
  201. ; http://php.net/short-open-tag0 y1 g4 O& a& f5 H- `
  202. short_open_tag = On
    # S6 o4 S2 b/ N- N! L

  203. , k& {* ~" q* C! v& Z
  204. ; The number of significant digits displayed in floating point numbers.6 }$ f/ r' L1 ^3 G7 f0 _) y
  205. ; http://php.net/precision# k7 E  g; m0 z" ^; \1 w
  206. precision = 14* o1 \1 o/ r8 N3 v9 G0 T$ T* \3 k

  207. # F# n/ \: T6 ~3 O; h- r0 x* `/ R
  208. ; Output buffering is a mechanism for controlling how much output data
    ; J* c& S4 ~3 }
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    + _7 ^' O% H; v; G2 x
  210. ; data to the client. If your application's output exceeds this setting, PHP6 @$ W* W8 Q* W: x/ [8 G
  211. ; will send that data in chunks of roughly the size you specify.! R. n' x) ]8 Q" g2 _- U" j, z
  212. ; Turning on this setting and managing its maximum buffer size can yield some3 M. C/ H( t1 N; G- z# }4 K
  213. ; interesting side-effects depending on your application and web server.2 Q1 r" n% H0 `2 n5 ^# T
  214. ; You may be able to send headers and cookies after you've already sent output
    4 v& R7 V6 x, H- E' ~6 v9 ?7 e
  215. ; through print or echo. You also may see performance benefits if your server is
    0 b) {: {  f2 G+ M! g% n
  216. ; emitting less packets due to buffered output versus PHP streaming the output) N1 I% X6 t% l' \/ T
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    " J/ E) A" v  V! Q
  218. ; reasons.
    8 J% K' n; K0 B+ S
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    ; Q5 u2 _( m2 p- Z
  220. ;   functions.' x3 O# x& `5 S7 k4 u. ?3 ^
  221. ; Possible Values:+ A3 ?7 n: n5 {2 g0 |& t* ]
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
      N+ g4 W5 ^. }) y
  223. ;   Off = Disabled3 E" P; A8 Q& U5 K# ?  F- b
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.) d. r# a2 Q6 u% [
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    # r8 ^8 H8 v. Y3 f' M& Z( z
  226. ; Default Value: Off0 |! S0 _  {' t2 |1 C
  227. ; Development Value: 40966 P# m8 h' _4 X8 t! g* r
  228. ; Production Value: 40960 V8 [- Q9 C" A. N" B
  229. ; http://php.net/output-buffering
    * K& c& {$ ~3 f6 ?9 x6 D* F
  230. output_buffering = 4096& J$ f( [$ r' U

  231. 1 u/ x* b! J  O4 B9 T
  232. ; You can redirect all of the output of your scripts to a function.  For  k. O4 b) x- f$ M% v
  233. ; example, if you set output_handler to "mb_output_handler", character
    2 @! z6 D0 L* [
  234. ; encoding will be transparently converted to the specified encoding.  A/ @7 P/ ?+ v8 q
  235. ; Setting any output handler automatically turns on output buffering." f$ V  N$ I( d3 N3 @
  236. ; Note: People who wrote portable scripts should not depend on this ini
    ; r4 y. h) {: ~  O/ u) ]! U
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    3 i4 g+ r/ q: q' E, H2 _# I7 c1 v2 S
  238. ;   Using this ini directive may cause problems unless you know what script
    2 K7 [: @, I% t  Y2 ^/ O6 u
  239. ;   is doing.
      V3 F' \) f' @; u, ]
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"% H8 e  V/ ?# [6 }: k
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    5 d; u0 U- r# j, R
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    6 _% Q/ y- q$ ^
  243. ;   Instead you must use zlib.output_handler.
      V  ~/ d: _5 ?2 j6 R* R' U4 S
  244. ; http://php.net/output-handler
    $ r7 Q! \& {# ?8 o  i, _& \, M  [5 z
  245. ;output_handler =
    " m9 c5 e& g( R8 i1 ~7 b

  246. $ z+ z2 y4 P: O, B% N& R
  247. ; Transparent output compression using the zlib library) t. l; d. x/ T1 |
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    ! l1 x' c/ z1 ^0 B& Q; N" z( V  t
  249. ; to be used for compression (default is 4KB)+ d% k- x0 }: P& Z3 M4 Z' l: e
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    6 a7 X  [6 D, V- u  n7 H: m
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    ; A9 Y. y7 Z6 e" \6 m* H2 ~
  252. ;   compression. If you prefer a larger chunk size for better- S* R1 @' h! Y: h$ j$ l
  253. ;   performance, enable output_buffering in addition.- G# ?$ I( I+ N  F; f5 A! l
  254. ; Note: You need to use zlib.output_handler instead of the standard
    : d0 W9 R/ k3 e  R, x8 p& _6 g6 Y
  255. ;   output_handler, or otherwise the output will be corrupted.
    ) z) n3 ]: l7 H1 X3 D& v
  256. ; http://php.net/zlib.output-compression( T% z0 q- W$ ^/ ^1 g, z$ v/ o
  257. zlib.output_compression = Off
    4 J. i) K8 r' L8 {% l+ c

  258. ' O+ k) h) U8 L7 R+ `5 k$ `. a  f% \
  259. ; http://php.net/zlib.output-compression-level5 h+ z3 h5 ~3 N# O1 m
  260. ;zlib.output_compression_level = -1/ u) D5 g; r4 |8 R" }9 }2 i

  261. 3 }1 B7 ?# K4 _! ~% [( a; x) c( A
  262. ; You cannot specify additional output handlers if zlib.output_compression
      O& z$ l0 `  L+ e# \
  263. ; is activated here. This setting does the same as output_handler but in
    " a; ^* H$ l* ^
  264. ; a different order.  `. H5 L6 \; R2 N. a6 X1 t2 r! o
  265. ; http://php.net/zlib.output-handler
    ; U3 \8 A6 `" y+ E
  266. ;zlib.output_handler =  p/ u7 H4 z! u. f0 ]# \: s
  267. ( L& `! h2 m- f) U3 d+ I+ @
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    $ K: h+ L6 l0 }& Q# Y/ ?& Q1 P$ u: k
  269. ; automatically after every output block.  This is equivalent to calling the& z( m7 c3 F3 T, e* s8 c
  270. ; PHP function flush() after each and every call to print() or echo() and each
    , a" [: I0 f3 l  }& |# @
  271. ; and every HTML block.  Turning this option on has serious performance
    ; G2 J) T& }$ X; v
  272. ; implications and is generally recommended for debugging purposes only.
    3 T9 @  h1 J* E+ _& z1 R
  273. ; http://php.net/implicit-flush, z9 l, w- \# Y2 P
  274. ; Note: This directive is hardcoded to On for the CLI SAPI# _7 x% w( t  M
  275. implicit_flush = Off
    2 }# N. |. H! j* {1 q

  276. $ @4 a  k0 Q( w5 _1 s. p: \
  277. ; The unserialize callback function will be called (with the undefined class'4 b+ W, Z' h8 p
  278. ; name as parameter), if the unserializer finds an undefined class
    1 a3 V# r( T. j( t- @0 z  d
  279. ; which should be instantiated. A warning appears if the specified function is
    5 f8 D2 {1 h0 i  z- B. K4 Q
  280. ; not defined, or if the function doesn't include/implement the missing class.4 X4 @5 U5 J) L2 E2 c% u7 _8 _
  281. ; So only set this entry, if you really want to implement such a. ^8 @( O- O$ s% N+ Q2 ~
  282. ; callback-function.0 L) x3 S' B  R8 ]
  283. unserialize_callback_func =7 s( y& m5 T5 N
  284. 3 \  S7 P* [5 c8 o! X1 p1 D
  285. ; When floats & doubles are serialized store serialize_precision significant2 U0 Z6 k4 Z4 G' n# Z$ s
  286. ; digits after the floating point. The default value ensures that when floats) F6 [& Q+ A( g& J! l
  287. ; are decoded with unserialize, the data will remain the same.
    . d. T  d$ C3 A; M5 u! O
  288. serialize_precision = 177 D8 u6 j3 ~, V. ]5 y6 h: g
  289. ) d' ~0 T$ F) F* O9 e
  290. ; open_basedir, if set, limits all file operations to the defined directory
    + e0 }9 h. r) O
  291. ; and below.  This directive makes most sense if used in a per-directory
    $ `: s6 o( |; J8 L# M# w
  292. ; or per-virtualhost web server configuration file.
    - X& n% L! ?5 S) |, t
  293. ; http://php.net/open-basedir& J% G+ O: @6 j
  294. ;open_basedir =
    9 W$ j" |* @$ x' U
  295. & y9 b# E! p& X
  296. ; This directive allows you to disable certain functions for security reasons.
    0 V- w0 C4 N2 P- x; o* n" g( e
  297. ; It receives a comma-delimited list of function names.$ U& Z: S4 @; d) Z  Z& B
  298. ; http://php.net/disable-functions
    / l3 D5 y0 E; l6 N" ?2 l) p  a6 E
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    0 L. h/ e$ O" E6 a; b6 o, C* Z* q
  300. 0 L  c/ W- A7 J+ A
  301. ; This directive allows you to disable certain classes for security reasons.$ p: c- \5 ]/ w) D9 C' I: {& t
  302. ; It receives a comma-delimited list of class names.
    * M" N+ }, H2 U/ P7 N
  303. ; http://php.net/disable-classes, R7 u; ~+ t0 y4 \+ Y0 }
  304. disable_classes =8 ]4 J- y8 l) V, H0 I8 x4 p  _
  305. $ t7 M3 T* h6 H" w
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in; s# I: }* H* h  |4 |
  307. ; <span style="color: ???????"> would work.6 e8 @6 R9 R5 y+ t8 W
  308. ; http://php.net/syntax-highlighting( F3 m8 M  J! m
  309. ;highlight.string  = #DD0000" V  _& |0 s1 {3 O* f9 F. o! ^/ L
  310. ;highlight.comment = #FF9900: r- r4 l3 m" `- l, A; [9 F
  311. ;highlight.keyword = #007700
    , D* l  B4 @1 I; `) g
  312. ;highlight.default = #0000BB$ X& l. v! N3 R4 P3 V, ]- J
  313. ;highlight.html    = #000000
    + ?6 L. M5 B4 g, n) ~

  314. 7 M/ o5 s0 v0 a9 j6 e0 i2 _/ X. A# E. c
  315. ; If enabled, the request will be allowed to complete even if the user aborts( S8 z5 }' }0 W: ~; a4 o2 S
  316. ; the request. Consider enabling it if executing long requests, which may end up
    + C& j, W7 u# U
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    ' U! v( l) h; I9 _$ t  d- F
  318. ; is to disable this feature.7 k* p7 x. s% Z( ?6 g# _9 X  f" A
  319. ; http://php.net/ignore-user-abort
    * e/ ]: [+ _2 r; |/ L4 X
  320. ;ignore_user_abort = On. J2 L' M  i! m
  321. 9 Q. e3 {! t, K$ S# Y" k) \9 [
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    2 U! c+ u3 e: y1 p, I
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    6 M4 r( A4 t7 f- U6 b
  324. ; the file operations performed.
    * [, D. V# w: V
  325. ; http://php.net/realpath-cache-size
    & o' b# g/ v2 c+ V
  326. ;realpath_cache_size = 4096k1 ~: E( }. N1 @$ K0 k0 G; p* K: G
  327. " F6 v1 _7 B- O5 Y
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    4 u1 Q: Q4 {2 S
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    / G9 }& x% }2 n* n% y
  330. ; value.
    % g) |8 ^3 K; L1 N
  331. ; http://php.net/realpath-cache-ttl$ A, c* ~! t: C! v7 ?
  332. ;realpath_cache_ttl = 120
    : K7 V6 a2 Q/ ?1 a9 I

  333. * C( Q& ^: H5 p" s8 B
  334. ; Enables or disables the circular reference collector.! n1 E8 X- Y* O% N
  335. ; http://php.net/zend.enable-gc& B  `  M3 C7 y1 P7 ^* B; _! I7 s
  336. zend.enable_gc = On
    % ]* f. ]+ a5 c- }

  337. 9 Q, ^5 |# I' `& P& M* B
  338. ; If enabled, scripts may be written in encodings that are incompatible with5 a+ o; J2 C  i# @! \4 {6 f2 U1 ?$ M' ~
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such% U1 j1 n0 W: h! f
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    - a$ A, z& T' V
  341. ; Default: Off1 z- ^3 b2 o( w8 Y/ E, e, i
  342. ;zend.multibyte = Off* p  ]) y9 }8 }9 Q( S! G" T

  343. ! I& n9 [! e" ^: I% u
  344. ; Allows to set the default encoding for the scripts.  This value will be used4 q6 f2 g  ~: C. `& Q
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.* {  p0 u, T) k$ x8 ^" n0 W4 Y
  346. ; Only affects if zend.multibyte is set.0 S" O4 J2 a- |* D$ x6 d
  347. ; Default: ""
    1 H9 S. y5 n/ T
  348. ;zend.script_encoding =$ g0 [* ~8 ]; W

  349. $ {* S  T  y# c3 `! U
  350. ;;;;;;;;;;;;;;;;;8 x  `* q2 d) o
  351. ; Miscellaneous ;- i! r4 ^$ U! k4 w0 r- o) F# }
  352. ;;;;;;;;;;;;;;;;;
    4 P) p- H+ d$ R1 t

  353. : ^2 p4 s9 b6 y. v" @. H
  354. ; Decides whether PHP may expose the fact that it is installed on the server( I: O  Q% e& D% E
  355. ; (e.g. by adding its signature to the Web server header).  It is no security  D" r% r+ r/ c9 d5 B
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    # g8 N* k0 t; D5 t) v' o
  357. ; on your server or not.) r2 w2 {5 |  [1 W- c, m( `' w
  358. ; http://php.net/expose-php
    % ^8 f/ I+ a& f$ P, N$ k- s8 A
  359. expose_php = On$ A! W% i5 n  S2 k! i1 ^( k
  360.   ?4 X, y7 m' l% f3 v9 J
  361. ;;;;;;;;;;;;;;;;;;;
      L% k3 ~9 C% z  C) M" r: `. p
  362. ; Resource Limits ;
    6 ?& D9 g+ s3 n. ]
  363. ;;;;;;;;;;;;;;;;;;;
    - i8 i. g0 \5 ?- [

  364. / p( E8 ]+ U/ V* [
  365. ; Maximum execution time of each script, in seconds
    4 r% {7 h% v  t" a/ Q
  366. ; http://php.net/max-execution-time
    . D% X! i# C5 h, o. u0 ]
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    3 v) w4 E# a  B+ L
  368. max_execution_time = 300" d5 M: T0 P- @( R
  369. 4 L& M3 M( |! p$ P0 D% S
  370. ; Maximum amount of time each script may spend parsing request data. It's a good8 U  `; K! R: x+ ?! K9 r! F/ ]0 X
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    ) q5 ^0 L  j; }' |2 r; H8 j
  372. ; long running scripts.0 n8 ]$ Y8 s" @5 U( j3 d) ~' m, o
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI- i: T7 a* k6 D# t, [* L
  374. ; Default Value: -1 (Unlimited)
    6 i* D' |. r& K" u4 U) ~
  375. ; Development Value: 60 (60 seconds)4 K" k# Z3 J, F  R( F6 w# a
  376. ; Production Value: 60 (60 seconds)1 I* N2 u; j# B% ?: h$ j5 z
  377. ; http://php.net/max-input-time
    % B0 A8 T$ [% m- T2 M& u" V: u
  378. max_input_time = 60# o; S0 J- v8 z; f7 p2 v/ l

  379. * t+ i  _2 c$ g0 D0 J" n
  380. ; Maximum input variable nesting level
    3 G9 a: Q! S/ c; H2 `, I# q" H3 a
  381. ; http://php.net/max-input-nesting-level0 Q7 p& C  i: Q$ c" e0 s+ G% l
  382. ;max_input_nesting_level = 646 z+ T! q, b. j/ Y
  383. - j* f/ a- s1 v, R! m
  384. ; How many GET/POST/COOKIE input variables may be accepted: {) F# @2 ~* E0 z# U
  385. ; max_input_vars = 1000, z8 y6 s* P+ F' f  {

  386. 7 d  T  t2 O9 {8 m1 r
  387. ; Maximum amount of memory a script may consume (128MB)
    7 R! D1 F/ ^- r
  388. ; http://php.net/memory-limit
    8 F$ l4 v8 S) b2 }. R5 s. M7 m
  389. memory_limit = 128M3 p2 z: g0 A8 @0 R

  390. ; b: H6 F& X) e- s. J0 `
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;: X$ z! W. c: h2 }0 x2 X, G$ {
  392. ; Error handling and logging ;
    ) |6 c7 J+ Y6 u. y  G
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;& c9 j) D9 u1 U! f8 ]$ h4 s
  394. $ m8 D9 A1 {( L
  395. ; This directive informs PHP of which errors, warnings and notices you would like
      `/ `0 u8 Z* I8 g  t1 A- l
  396. ; it to take action for. The recommended way of setting values for this1 I- H* h) e' ]2 [
  397. ; directive is through the use of the error level constants and bitwise
    0 d" J3 M0 i: ~5 @
  398. ; operators. The error level constants are below here for convenience as well as1 m- t: I3 `# N, \, D
  399. ; some common settings and their meanings.
    1 u2 h, r8 X0 P$ R: A) v$ T
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT3 C; _  J* R+ M7 a" p' G' {: `
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and4 @2 N0 _/ {# {$ I1 ]$ ~# k* w
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    , m  E6 l% l( ^- h7 b! r
  403. ; recommend error reporting setting. Your production server shouldn't be wasting' x; M, ?5 `# _% k- i
  404. ; resources complaining about best practices and coding standards. That's what
    0 g3 I( l! ?, [8 S5 \; [) w7 P
  405. ; development servers and development settings are for.
      U7 N) _, {+ I4 K, }% |; L
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    ) y2 t6 {, y) a3 n* c' b. M6 I% A
  407. ; means it pretty much reports everything which is exactly what you want during
    0 c4 w2 a! \) ?1 ^  p
  408. ; development and early testing.
    # o( k* i! I/ B; B1 V% ^! C3 V
  409. ;
    + @; A% ~- R6 x# `# `4 p
  410. ; Error Level Constants:1 _- S  |3 V1 C- r$ e0 F
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)! @: b0 _; `; f1 f0 z# `
  412. ; E_ERROR           - fatal run-time errors
    # E8 r6 I: v" x) u9 [+ f
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    9 }1 D* R' h: L- j
  414. ; E_WARNING         - run-time warnings (non-fatal errors)1 G$ c7 ?( [- z4 _
  415. ; E_PARSE           - compile-time parse errors
    - A* Y9 [3 V; ~
  416. ; E_NOTICE          - run-time notices (these are warnings which often result7 B5 [/ u+ x: Q" ^
  417. ;                     from a bug in your code, but it's possible that it was
    " J  M5 U+ f) h) w
  418. ;                     intentional (e.g., using an uninitialized variable and4 I0 B- v' p+ |( V5 _
  419. ;                     relying on the fact it is automatically initialized to an2 z9 j0 |! n! y- v
  420. ;                     empty string)" n$ c1 k! U$ e- J1 X
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes; N+ D/ P! w' j7 Q% d: P4 y) W* B( N
  422. ;                     to your code which will ensure the best interoperability
    : C1 f' F  s/ i4 }8 \5 M" a
  423. ;                     and forward compatibility of your code4 f! h4 I, {, t4 C5 P, z  t
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    6 u7 X: f( ^+ l
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    4 S# ]  U8 |: a1 g
  426. ;                     initial startup
    * H6 y7 x( J, k4 W
  427. ; E_COMPILE_ERROR   - fatal compile-time errors! t8 P# s' u: l3 J( V
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    ) V# ~* z! w& m6 V
  429. ; E_USER_ERROR      - user-generated error message! U! d. b- \* ?8 V! ]9 G
  430. ; E_USER_WARNING    - user-generated warning message
    , D2 W1 S$ h0 f/ U9 I+ x
  431. ; E_USER_NOTICE     - user-generated notice message
    " y# [6 U6 Z7 Y
  432. ; E_DEPRECATED      - warn about code that will not work in future versions+ }1 B# b: a  D+ `' L
  433. ;                     of PHP
    $ Z+ x, M* ^; O2 B
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings  L: s- |& ^6 M2 K; [; k* ~' A
  435. ;4 g4 c5 f9 d# O/ ^5 x9 r& ?
  436. ; Common Values:
    7 v( `' D+ K5 H7 o0 m: {# I% |5 p
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)3 d! x1 ?; o6 G" [" V
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)- P/ Q2 B+ V- \% O; t# B: I0 U# U9 Q
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)6 j3 G: l/ m! D2 a2 a$ g/ J
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)# H  m3 U1 e- M' H6 }- \2 ]
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED9 _* h, y8 \- K" Q' E& R- G/ a
  442. ; Development Value: E_ALL
    9 `7 W8 T5 w4 R4 X8 T( V, P
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    # A9 B" e3 j7 V" u* Q" ~
  444. ; http://php.net/error-reporting
    1 u/ @* {& v/ p6 u! J, g$ H! C3 t
  445. error_reporting = E_ALL & ~E_NOTICE
    % H( P& |4 n$ ^1 ?' ]
  446. 8 L7 \* I+ B3 f1 l/ E) d
  447. ; This directive controls whether or not and where PHP will output errors,/ f5 b0 X5 d" N0 G! ~
  448. ; notices and warnings too. Error output is very useful during development, but& s, D+ i4 Z9 e' ~
  449. ; it could be very dangerous in production environments. Depending on the code5 h0 m- ]# r0 L  B5 b& ?4 Z
  450. ; which is triggering the error, sensitive information could potentially leak
    5 R& g, W8 k' O1 X( @
  451. ; out of your application such as database usernames and passwords or worse.
    ' B" _% ]6 ~- I$ A% X+ i- M
  452. ; For production environments, we recommend logging errors rather than' r. Y3 o6 G5 t- G$ ?
  453. ; sending them to STDOUT.
    5 Q8 o( _( C# t
  454. ; Possible Values:
    6 ]4 y) `$ d. p& s' }1 Y2 C& h0 r
  455. ;   Off = Do not display any errors& @: L/ V6 Z5 Q: D% f: O3 W, A
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)) G# n/ b' ~1 K, @
  457. ;   On or stdout = Display errors to STDOUT
    ) \* D7 D3 l8 w. Y
  458. ; Default Value: On2 M# W1 _$ }' `2 x7 u+ A) K7 w
  459. ; Development Value: On* G2 T2 t4 B2 Y. E9 B
  460. ; Production Value: Off
    ( t5 j, q" l4 g2 }6 d  O( v
  461. ; http://php.net/display-errors
    ' s9 Y& D5 t! w
  462. display_errors = On
      T. _6 g7 ~' Z/ u

  463. ' `  r4 s: b& P4 p9 a9 K6 {
  464. ; The display of errors which occur during PHP's startup sequence are handled# p9 i' A2 p' k; Z
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    & Z4 t; S& G: S. z3 j: X" X
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    * @( ]* M# @& }6 Z( K: c. H
  467. ; debugging configuration problems. We strongly recommend you# y+ n1 W, G' I$ D  O
  468. ; set this to 'off' for production servers./ @! g/ k* [1 k: h: \9 A
  469. ; Default Value: Off8 @/ U  d" e4 i8 n, T
  470. ; Development Value: On2 V0 ~1 H1 T3 h( ^% v
  471. ; Production Value: Off% b+ S: W1 S; E# Z
  472. ; http://php.net/display-startup-errors' l$ U% q, P" v2 ^
  473. display_startup_errors = Off2 f8 |( A3 T8 [: f$ u4 L7 E

  474. * J: Y; r: r& ?% e( F4 a& ~
  475. ; Besides displaying errors, PHP can also log errors to locations such as a2 P# _: ]& M! K' S* k
  476. ; server-specific log, STDERR, or a location specified by the error_log& H3 G( k# u+ U/ A* a# v+ x1 b
  477. ; directive found below. While errors should not be displayed on productions
    ; N1 X6 _. s4 G1 t' h
  478. ; servers they should still be monitored and logging is a great way to do that.5 P  E+ A$ h$ f1 B
  479. ; Default Value: Off) |$ ?4 ~( D  i, ?9 ]7 H! r, _
  480. ; Development Value: On2 l1 X% \# h4 Y0 z
  481. ; Production Value: On0 p. v1 y, H% h4 N
  482. ; http://php.net/log-errors8 ~+ G: Q/ g9 }0 L# X
  483. log_errors = On8 J9 Q1 \. g$ q4 P
  484. " B+ r6 _8 H1 [7 e
  485. ; Set maximum length of log_errors. In error_log information about the source is1 P$ i+ ~' c: x  ^
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    , _  z  g+ u1 e% ^3 c2 G
  487. ; http://php.net/log-errors-max-len% ^9 K( a3 s+ n& V3 J, d
  488. log_errors_max_len = 10241 o+ B+ V6 \( `: w7 o
  489. + k% n, [4 p5 M0 `7 S$ v4 d
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same# E$ P# H4 a/ t- Z3 ]7 X
  491. ; line unless ignore_repeated_source is set true.
    3 T: S  N! ]9 a  m: B) z( l
  492. ; http://php.net/ignore-repeated-errors8 i& u  Q, V8 ~: u3 G
  493. ignore_repeated_errors = Off) ?0 i) U. w7 }! D

  494. 4 h- @4 y2 x$ ]! x3 D
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    0 A* _* u) K9 B
  496. ; is On you will not log errors with repeated messages from different files or& o" ]# A6 G4 P- [! ^8 W  B3 ]
  497. ; source lines.
    3 t: i& m8 a  H. D
  498. ; http://php.net/ignore-repeated-source
    - p! _9 R% c( i' P, e7 P4 j
  499. ignore_repeated_source = Off
    # [) i" J6 P- B. ~6 _

  500. 3 J; W; ^2 a) O" i3 m1 G7 g, F
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on  Y9 }+ l, Z5 f' w* r
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    / G; ~+ p  e3 i8 Z
  503. ; error reporting includes E_WARNING in the allowed list- t9 r4 q: Z. V: x3 X
  504. ; http://php.net/report-memleaks+ r' M5 C6 ^% y* i  D
  505. report_memleaks = On
    ! X  X& `+ m, `: D$ @, M, M
  506. 4 F" a" {) u+ s! _
  507. ; This setting is on by default.
    4 l8 _6 Q7 Y6 J3 m
  508. ;report_zend_debug = 0
    , J- W2 F" W+ B/ I1 I4 W8 d

  509. 2 I/ X3 _0 }9 n3 A" d
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    2 N5 z# {, b! N3 N- k- t
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    , W7 a6 ^9 G2 ~2 y6 e- ^
  512. ; however be disabled on production servers.
    * a  F" f" A4 |
  513. ; Default Value: Off1 Q, P' I' a. }
  514. ; Development Value: On! B" q9 S1 {& {5 D* i( p: J6 Y
  515. ; Production Value: Off$ W1 _/ I8 }- w) ~, g  C1 ]
  516. ; http://php.net/track-errors. R7 a9 p7 c7 h3 x' J
  517. track_errors = Off7 ]! {, r4 y3 W

  518. ' h% @  E1 l/ W
  519. ; Turn off normal error reporting and emit XML-RPC error XML: }) _6 {$ p# J' K5 t+ a" D2 q2 m
  520. ; http://php.net/xmlrpc-errors5 z. ?/ o9 `# U4 W7 j
  521. ;xmlrpc_errors = 0
    ' c8 [( l8 h$ X& H5 q1 l; l6 i
  522. , f! G( I' j* ~  ], }  z
  523. ; An XML-RPC faultCode
    5 i2 {8 }2 h- |/ W3 ?
  524. ;xmlrpc_error_number = 0- d. D4 w8 _0 h" Q, e) Q

  525.   i% t  L! D5 X/ W
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    1 g" L! l5 W0 V$ m$ p
  527. ; error message as HTML for easier reading. This directive controls whether
    * ^8 W1 [3 X8 B9 v" {, T
  528. ; the error message is formatted as HTML or not.5 r* I: i0 X; w
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI) X; K  D6 L9 G
  530. ; Default Value: On
    : J. U/ H4 H2 a
  531. ; Development Value: On; E9 u# A$ ~6 F: t4 {1 V) @
  532. ; Production value: On
    + j& g* d) ?4 Z- P6 E. s1 g) T
  533. ; http://php.net/html-errors6 t  h" K; p* s% W( q; g# S
  534. html_errors = On
    * z) q# \) N/ W: N* u/ |2 D: a
  535. / Z. F: e3 Z8 Z) K4 u
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP7 R+ X' w6 c# J! l- J, W" R) E9 N" T
  537. ; produces clickable error messages that direct to a page describing the error, \. t. k- x+ t( `
  538. ; or function causing the error in detail." \- h4 L8 [; z2 F; U8 n
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    9 b5 c3 y( M- Z
  540. ; and change docref_root to the base URL of your local copy including the7 ~( f: e! |2 E( N( {
  541. ; leading '/'. You must also specify the file extension being used including. r  G* @" m& ^. @: S" ~6 F
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    1 n" @/ W5 O8 w  @8 \8 q
  543. ; case no links to documentation are generated.
    # H7 O5 g2 H% C+ z8 i: K$ _
  544. ; Note: Never use this feature for production boxes.$ T& ^, {# B$ n  F2 ~2 S
  545. ; http://php.net/docref-root
    ) F' E) O& }$ a, S! y4 Q+ `
  546. ; Examples. `9 [. M' P& L$ ~0 i/ l& A
  547. ;docref_root = "/phpmanual/"
    ) p2 \6 R" D6 n$ G& n: K
  548. 9 {% e8 ^& @$ \3 T% j" K
  549. ; http://php.net/docref-ext" B, c6 ]& S, o
  550. ;docref_ext = .html
    ! h5 j6 f) R) q
  551. : |0 |: i) c; Y4 ]  `1 z, o: J
  552. ; String to output before an error message. PHP's default behavior is to leave* O( M, ~% n. h/ x# s8 f2 P) _
  553. ; this setting blank.+ k  D( L! M$ e. }% q8 [/ E( a
  554. ; http://php.net/error-prepend-string
    4 P# K* l1 h! X+ D7 \- W5 f* y
  555. ; Example:
    " @4 z& X# q# h9 d$ |
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    ( t* A3 c* l: w3 o- W
  557. $ g* F* _0 _! [& J
  558. ; String to output after an error message. PHP's default behavior is to leave4 A. ^) B+ U6 T- f  q1 k
  559. ; this setting blank., s* L- M$ ~" C  u! M
  560. ; http://php.net/error-append-string+ j1 z; {/ G0 ?0 s% ^9 t
  561. ; Example:% c7 c* P: g0 E
  562. ;error_append_string = "</span>"
    + u& W& Q6 J% Y3 h# N1 J# ~% M/ n

  563. ; Z; y  a5 }) s0 }% }
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    8 ~( ^4 h3 |' C. _  ?# |
  565. ; empty.% X7 f2 W' R" s! G' X& ]
  566. ; http://php.net/error-log4 z' S" i' q. j# t
  567. ; Example:
    1 s1 `6 ^; ^7 a
  568. ;error_log = php_errors.log0 p: N. [0 ~$ W! h- z) t6 @% C
  569. ; Log errors to syslog (Event Log on Windows).' V5 p( m0 V) m' a
  570. ;error_log = syslog
    " z/ @5 f* N; t& ]  m8 B; u# e

  571. ! p$ H, W" y  Y/ D. m% e
  572. ;windows.show_crt_warning& R2 n' Q( w& q9 f4 C. W3 e
  573. ; Default value: 09 G2 E* l3 U8 ~
  574. ; Development value: 0
    ) `9 J4 L4 t2 t: C' r
  575. ; Production value: 0
    ' p1 Q, {( Z; \9 a) H  D7 a
  576. , A' _5 |+ g' V- e* \
  577. ;;;;;;;;;;;;;;;;;
    9 e$ a  _4 e5 M6 g- p( }
  578. ; Data Handling ;
    % N; v9 N/ |) w+ {8 A. X0 d
  579. ;;;;;;;;;;;;;;;;;
    - O$ d" P/ |: D& U2 S' z+ k( o

  580. % F, x0 k3 I  G' w! n1 b
  581. ; The separator used in PHP generated URLs to separate arguments.7 W+ E/ d6 }4 G, t% z
  582. ; PHP's default setting is "&".
    3 T. h/ _! D. Q, B
  583. ; http://php.net/arg-separator.output$ n2 z$ H$ P8 q' Q8 T6 c2 D
  584. ; Example:
    . G- ^. t1 n  o1 s$ S1 P
  585. ;arg_separator.output = "&"
    / ^4 @$ j' ^, b- F! e% x/ Z* `5 B' u4 `
  586. % P+ s; d- q- p. u  J( s
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    8 G& ]- ^8 F/ g0 P7 u& A
  588. ; PHP's default setting is "&".
    " ~" F+ P- s6 r7 P# }1 f' ?' s& _
  589. ; NOTE: Every character in this directive is considered as separator!
    / s" K& R% B% a+ V3 @  w
  590. ; http://php.net/arg-separator.input, B( H% q' M8 @0 j0 t
  591. ; Example:* M) S* ?' l& H+ L
  592. ;arg_separator.input = ";&"
    3 U5 {9 A, w3 Q/ T) V& W' B  u, y
  593. & N0 ]2 a. O7 V$ i& `
  594. ; This directive determines which super global arrays are registered when PHP
    # W( B8 n- ?' Q/ Y2 v: i
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    ' g* K3 _% d- R% Y: z. b2 }
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty( `6 u# B# B) B: e1 ~
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    + f1 W3 q. m7 G7 {: g/ u
  598. ; used as the others, ENV is not recommended on productions servers. You' z3 h! p+ n: _9 g
  599. ; can still get access to the environment variables through getenv() should you
    3 U" [6 ~0 l9 @1 n! C
  600. ; need to.6 ?: m) y* N& w% m" j
  601. ; Default Value: "EGPCS"
    5 x  Q2 Z0 x" ?6 p5 L
  602. ; Development Value: "GPCS"
    ( n! y8 I0 y+ |, j9 _3 {
  603. ; Production Value: "GPCS";+ z! n5 b* X% c
  604. ; http://php.net/variables-order: w: Y0 i; M; c" N- W3 g
  605. variables_order = "GPCS"
    5 J" ]4 W9 W9 X( _7 z

  606. + B9 t' p( Q+ W6 u3 J2 ^
  607. ; This directive determines which super global data (G,P & C) should be" w( `% X* P+ u& b5 \4 S
  608. ; registered into the super global array REQUEST. If so, it also determines, c' A( v" \+ W. g" |
  609. ; the order in which that data is registered. The values for this directive( l- t. C# x- J
  610. ; are specified in the same manner as the variables_order directive,0 j  n3 S: I" s; {. _) N
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    1 S" m9 q. r  |; y$ d3 D5 W
  612. ; in the variables_order directive. It does not mean it will leave the super) I9 C: r4 c( L( b
  613. ; globals array REQUEST empty.
    ; H+ S- l7 m9 B4 A# n3 g$ F
  614. ; Default Value: None
    - w+ g9 o4 Y) a% W
  615. ; Development Value: "GP"8 a% z3 |- u- P$ d' C2 s$ u4 W( W2 h& Y
  616. ; Production Value: "GP"; Y: t' i6 ^! c, `, w
  617. ; http://php.net/request-order
    0 N% B) Z! O; I. S) d
  618. request_order = "GP"* w# R+ b3 J: S+ v& F" M+ j

  619. 8 N4 w. b6 [4 R% M0 X3 A
  620. ; This directive determines whether PHP registers $argv & $argc each time it, Y5 b. j: i! O5 B
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script( G5 Q% L3 G$ P" z4 Q. c+ M+ |
  622. ; is invoked. $argc contains an integer representing the number of arguments
    6 b3 h+ Y7 }' T% V& F: I  y
  623. ; that were passed when the script was invoked. These arrays are extremely
    9 f# F8 G2 Y4 d
  624. ; useful when running scripts from the command line. When this directive is
    % t" w, I+ f7 `
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    6 t' y5 x2 i6 d& M+ o7 V
  626. ; a script is executed. For performance reasons, this feature should be disabled: P) L0 a$ @- ]3 |7 G8 o, H
  627. ; on production servers.
    3 T. A& q) H% E+ R9 s& a5 j
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    ) a( o# D* i' U' \) }
  629. ; Default Value: On
    ( `# y" }0 A/ `
  630. ; Development Value: Off9 Z. z7 r# K$ r' w8 x3 a6 S8 c
  631. ; Production Value: Off
    % @8 I/ b5 k/ q. \% N  C& D
  632. ; http://php.net/register-argc-argv
    " K3 a$ @3 _1 [. h
  633. register_argc_argv = Off
    0 b  k, w5 W4 w1 _4 g

  634. 0 S2 M& L$ n3 Y
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're/ p' C! G- H8 p
  636. ; first used (Just In Time) instead of when the script starts. If these
    - }+ Z4 F, f" G
  637. ; variables are not used within a script, having this directive on will result! E! E& `- J7 Z0 V, j0 w' N2 ^
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    " z4 m( p: ?! M( o4 x% u3 {$ \
  639. ; for this directive to have any affect.
    3 L9 q$ ^# `- o, I" J+ a3 F' \3 W* @
  640. ; http://php.net/auto-globals-jit
    - }$ f6 x( i3 d3 }
  641. auto_globals_jit = On
    7 f$ {. k2 [' P: |4 `1 H, d% R5 p
  642. 4 R# f% I+ ]* c4 |5 q
  643. ; Whether PHP will read the POST data./ o) d2 c- {2 M% R0 l' a
  644. ; This option is enabled by default.
    ) ~' b3 f9 s6 i6 ?! S) ?
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST  e" E# ^. }5 h7 i
  646. ; and $_FILES to always be empty; the only way you will be able to read the" z$ \8 A* I# Y7 h
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    ; C$ y/ S$ g2 x2 @( C2 _
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.- C7 b3 l" }/ V+ N8 z6 X7 l
  649. ; http://php.net/enable-post-data-reading' P, b/ G! b. f+ T5 J/ R9 G' h# v* v
  650. ;enable_post_data_reading = Off' p  G; d( l; F" n8 }
  651. , C) b: b" {2 n5 C# ], U' y9 S
  652. ; Maximum size of POST data that PHP will accept.
      h8 T$ r9 E# q' l9 C+ Y
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    6 s( L5 y8 h% i7 B' [
  654. ; is disabled through enable_post_data_reading.
    / H( B7 B+ {1 ]3 R- f
  655. ; http://php.net/post-max-size& w+ M3 H: {, v6 |: T) l
  656. post_max_size = 50M' N- H7 u- R1 X
  657. : L3 c4 @5 m+ |; \8 e
  658. ; Automatically add files before PHP document.
      W; G- G; k( ~  V4 O6 @6 `
  659. ; http://php.net/auto-prepend-file' h6 |% I8 R  Y# O
  660. auto_prepend_file =7 N6 z( r. V  Y# e+ L8 p
  661. 2 w$ W, D3 V3 W5 F% \1 _! {
  662. ; Automatically add files after PHP document.
    / J2 p3 [( r5 H/ N3 h5 C
  663. ; http://php.net/auto-append-file+ B% C4 i" _' \
  664. auto_append_file =/ C7 G; Z7 ?: f( p+ H+ s# d

  665. $ Q4 Y' ~0 K2 \9 q5 ]8 O, z
  666. ; By default, PHP will output a media type using the Content-Type header. To% P! G: p: s7 O1 J  Z
  667. ; disable this, simply set it to be empty./ \1 o+ m9 U! }: E
  668. ;8 u: z2 O5 ~& A+ }/ D! A7 w
  669. ; PHP's built-in default media type is set to text/html.
    / c! z; ^+ ^. {7 I6 o
  670. ; http://php.net/default-mimetype
    ! Q; H, a% @. F* D' E
  671. default_mimetype = "text/html"
    & w. ~. o  O$ i- I1 `

  672. 9 F1 p; V- r# e$ {
  673. ; PHP's default character set is set to UTF-8.( Y  p0 b/ I( r& v% _
  674. ; http://php.net/default-charset
    , S7 F5 U/ A  d
  675. default_charset = "UTF-8"
    9 a2 J7 i8 J" l0 e) ]" c; a
  676. - u( q6 @; {3 O8 v' t6 d
  677. ; PHP internal character encoding is set to empty.
    ( o- e' [$ ?- I1 M1 _7 O# c
  678. ; If empty, default_charset is used.
    . s- j+ L8 O- \" e& N# A& f
  679. ; http://php.net/internal-encoding" t; n" T  L. e: y
  680. ;internal_encoding =' B8 s# T: I  W: g" c7 c
  681. 6 L8 S. ~8 X  U2 p. U# A" O7 g5 l
  682. ; PHP input character encoding is set to empty.3 R' ^: j* B* T- C/ Y- j$ R
  683. ; If empty, default_charset is used.
    " d6 d8 l7 ^% m! R' `- S
  684. ; http://php.net/input-encoding+ J! v* Q* ]( x
  685. ;input_encoding =/ `% C8 {# w2 [( v3 Q
  686. 6 p" H, H5 c5 S" M4 O  D" Q& P: {
  687. ; PHP output character encoding is set to empty.
    + y# Y4 }( @$ h# x) g6 V. b
  688. ; If empty, default_charset is used.
    / n% [$ a% C. \
  689. ; See also output_buffer.
    2 I: A+ n* T' M
  690. ; http://php.net/output-encoding* T' X% }, K$ i, F! c
  691. ;output_encoding =% k4 j) i2 o! T' L, L; |8 M4 Y
  692. + G. u, u/ A/ C' X* Q! p
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    - q8 |4 [5 {9 X& B) Q
  694. ; Paths and Directories ;# n) X' Q' G, ?* T! R3 L: r7 p
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    " N, q1 d+ u2 {' A4 U; Z+ d

  696. 6 o8 W) J) _2 f# i3 G9 f: H
  697. ; UNIX: "/path1:/path2"6 j$ s7 q/ r) E+ z
  698. ;include_path = ".:/php/includes"
    0 q8 t3 P/ g7 O
  699. ;, c0 x. m3 H9 C/ Q+ b9 t
  700. ; Windows: "\path1;\path2"
    % W& U+ p+ Z# ^4 u; e! M
  701. ;include_path = ".;c:\php\includes"
    + s- a8 s& b; \" m* ^4 I& j
  702. ;% e* E. z* B2 Z1 y% R3 x5 h& H
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"3 m# m9 C3 u6 I- J: A
  704. ; http://php.net/include-path  Z& s6 o2 ]! v) @) n7 U% E' o' n. R

  705. - M8 P, {  n1 T
  706. ; The root of the PHP pages, used only if nonempty.# T( c" }' n8 R$ s, D; q: j( H
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
      j+ {# K: ?9 T- c$ m( C. B( w
  708. ; if you are running php as a CGI under any web server (other than IIS)
    * K! ?" w( t& z: W7 ^7 l
  709. ; see documentation for security issues.  The alternate is to use the
    . k+ `5 p& s3 \
  710. ; cgi.force_redirect configuration below) |) P8 _) j0 i8 T+ H
  711. ; http://php.net/doc-root
    & L/ ]- i; C% [& A
  712. doc_root =( L7 T- w, @/ g* Y% e

  713. % Z5 A  }/ |+ g6 n6 ]
  714. ; The directory under which PHP opens the script using /~username used only
    1 j/ B6 h9 \) F" L; u
  715. ; if nonempty.7 W6 |5 ~& |$ G5 I5 S8 c
  716. ; http://php.net/user-dir
    8 x: f. F- d3 A6 f
  717. user_dir =
    - ]( x) w7 F5 q; c' W( B+ I4 Q, [
  718. , p6 w9 ^2 _' L2 f6 k$ u6 u9 [
  719. ; Directory in which the loadable extensions (modules) reside.
    # V  ^' Q/ ^& H/ {7 r' X
  720. ; http://php.net/extension-dir
    8 c9 z( U' |8 L$ W& h
  721. ; extension_dir = "./"
      U0 Z+ V' w1 R4 l" o
  722. ; On windows:
    / m% }9 P% J7 C$ @
  723. ; extension_dir = "ext"5 _$ e2 s* ?; }& A* x$ A& V0 ~

  724. / Q9 F3 w! u$ m0 [& T, r
  725. ; Directory where the temporary files should be placed.
    0 ^" E" p9 h% y) b: M5 r% b! U4 v
  726. ; Defaults to the system default (see sys_get_temp_dir)0 N. o( k6 _, Q% w& f# a1 Y2 [& v
  727. ; sys_temp_dir = "/tmp"0 C4 y0 @2 F: t
  728. % J" x  h& Z5 u7 u2 F! {0 C
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    4 y' ]! X0 k; I- y" @/ L, \
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    ) a  T$ f; F1 ]0 J6 \/ M
  731. ; disabled on them.' I& ]% E) C1 O& O
  732. ; http://php.net/enable-dl
    7 Y9 m$ [+ X8 Y; Y* l4 z& l! M! T
  733. enable_dl = Off$ V' B0 z5 W; a. i0 B9 {, Y& |& I
  734. % ]9 N) J1 P. U" Y  k
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    ) I9 N. L# T# t$ T# \
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can8 m& ]! o7 F/ w1 x
  737. ; turn it off here AT YOUR OWN RISK
      i1 \; [9 D5 A
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    ' F) N4 l/ Z' Z. v' K
  739. ; http://php.net/cgi.force-redirect) S# T- M" D  N4 j% B% M; P
  740. ;cgi.force_redirect = 1) ^& g' t" s- k. ]: M+ a3 _; t- B2 r

  741. 5 l- H+ T# n0 L6 |8 E/ c
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    0 n( ^) E" R7 \4 A
  743. ; every request. PHP's default behavior is to disable this feature.
    , r0 w/ y  G( m$ Y
  744. ;cgi.nph = 1
    ' {& s$ }+ M  @' v  D
  745. 6 d. j, H! E, w  A( ~  C; b
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape1 d9 E+ C  x  Q7 }5 K. g  @) v
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP2 ~3 @5 A  @! k
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    . C9 B7 |1 @4 n/ ~8 \) ~
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.! ]7 R8 H& u% ~( p( |+ }6 N: `! E
  750. ; http://php.net/cgi.redirect-status-env
    % d2 @$ G8 G7 Y$ i/ d' j
  751. ;cgi.redirect_status_env =
    ; k7 Y- {$ ]; r5 A
  752. , C2 i0 ^1 e" m3 \3 N( j3 K" C
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's. f9 ]# a- G( n7 r
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
      C5 y: d; Q9 n
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting( }, M/ y# c" [8 T2 w/ s
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    " l& t' n0 x2 n) h5 x# H
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    8 `3 u% y. v$ N" D+ N
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.$ r. t! C- K4 O. d- |) V
  759. ; http://php.net/cgi.fix-pathinfo
    % l: H2 ]+ `( x8 m0 l. Q0 P( m- R
  760. cgi.fix_pathinfo=15 O+ j2 @) O9 q& E6 X

  761. . G8 L# L: R0 T* |$ |
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside3 h- L! p. Y* u! O; o  b
  763. ; of the web tree and people will not be able to circumvent .htaccess security.8 F8 N( y+ O+ e
  764. ; http://php.net/cgi.dicard-path
      L3 I+ o2 M2 n- Y1 a& Z' y5 B
  765. ;cgi.discard_path=14 c$ t1 e1 ~: t% f  _/ s

  766. ! `; w, `, K& g
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    ' x! Y1 P: v. ]! z- Y4 F5 f1 R0 Y
  768. ; security tokens of the calling client.  This allows IIS to define the+ A& s9 t/ ~- `( F6 m* U
  769. ; security context that the request runs under.  mod_fastcgi under Apache: t1 l4 b6 |  U
  770. ; does not currently support this feature (03/17/2002)
      D  Q3 K& ?0 Q- j, M( V
  771. ; Set to 1 if running under IIS.  Default is zero." x! m: b$ {4 P- s- K; Q/ G
  772. ; http://php.net/fastcgi.impersonate
    0 B  c5 q& |, p' b' n0 l- X
  773. ;fastcgi.impersonate = 1
    5 M" x( ]" Y& a2 J5 w

  774. $ x" Q1 m% B- ~
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    # V9 y3 p5 g5 V
  776. ; this feature.# C8 R2 W! X$ u0 S; h* h
  777. ;fastcgi.logging = 0- B. G6 |  W- w. M8 h' _! T# b7 T; g
  778. ! }5 N! L" J5 H& ?2 [9 }8 @2 M
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    1 T( p8 ^: K2 ?+ Q, i
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    , N" L+ T& R6 L7 {! t3 y5 ?% S0 j
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    . C( A' v# l1 X
  782. ; RFC2616 compliant header.4 n2 N$ V; {, @4 W& n0 d
  783. ; Default is zero.# g+ v' ^7 z% v9 L
  784. ; http://php.net/cgi.rfc2616-headers7 N( k0 p3 {& M
  785. ;cgi.rfc2616_headers = 0. s  Y2 B5 L: ]

  786. ; k: Y: O& M$ }2 T  V1 M. i, X
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!  L! g6 g5 T; B+ ?
  788. ; (shebang) at the top of the running script. This line might be needed if the
    ( k0 h8 K2 W- }, l! x  ~
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    5 Q6 A4 V5 U( @% V) b9 `
  790. ; mode skips this line and ignores its content if this directive is turned on.0 v8 d3 z# ?# l0 Y. }: a: w2 k
  791. ; http://php.net/cgi.check-shebang-line3 o& u6 w% R/ F& [. ]
  792. ;cgi.check_shebang_line=1! f% e& B& H: [0 `3 g

  793. 9 d' _# ]$ g1 n1 J' ^. r
  794. ;;;;;;;;;;;;;;;;
    9 q0 t( g' \- N2 Q
  795. ; File Uploads ;- [2 B) M4 x8 O7 C. x* ]+ s
  796. ;;;;;;;;;;;;;;;;' H8 p% S% a, N$ s& u) Y$ z

  797. ) H6 ]- r$ R6 O' d
  798. ; Whether to allow HTTP file uploads.# u! x1 [6 P3 H# k; V
  799. ; http://php.net/file-uploads
    " Y0 \3 Q- f) v
  800. file_uploads = On' Y+ M! q7 ?0 h& S8 O1 W
  801. 6 k( Z" M1 e6 c
  802. ; Temporary directory for HTTP uploaded files (will use system default if not0 _8 Q; i: I- o) Y! c3 i( q
  803. ; specified).
    * g) S$ r, y/ t$ T9 u
  804. ; http://php.net/upload-tmp-dir/ ~, o- m( t* [/ O, a3 H: \
  805. ;upload_tmp_dir =
    ( W5 }0 Y5 X/ d- h% i

  806. : }! p- o  p( Q# P: p: H; F$ q
  807. ; Maximum allowed size for uploaded files.
    ( Q7 `( O9 s+ R; y* V: p
  808. ; http://php.net/upload-max-filesize
    . y+ M/ x8 @* H: s8 \! \
  809. upload_max_filesize = 50M3 V9 d  b3 d- U
  810. ' _% t8 f; w" F7 x, ^1 _* q+ x
  811. ; Maximum number of files that can be uploaded via a single request8 ]) _, P8 m) o% Z6 ~$ S$ v9 d
  812. max_file_uploads = 20/ d% U# |' P8 ^7 W, D9 N2 a
  813. 8 B8 o( ?  ^" U2 G
  814. ;;;;;;;;;;;;;;;;;;! l& ~0 T% E- J+ C( J
  815. ; Fopen wrappers ;
    ! A$ ^! |. e, P7 B+ o# O  ]5 s
  816. ;;;;;;;;;;;;;;;;;;
    4 X  y& l/ B$ H* I/ n) T; j
  817. & |% d0 E# n. \2 _- b' \) y) J  m
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    : k# g+ f0 X0 e/ B2 J% i
  819. ; http://php.net/allow-url-fopen9 @% M3 C9 Y9 Q
  820. allow_url_fopen = On5 W) P( a1 j# k& _* a! Q

  821. 8 `' D. P& l3 e& ]) O
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.3 {0 E4 J: e5 Y' R
  823. ; http://php.net/allow-url-include/ x4 V, [8 N6 S; E4 G( o- u; a
  824. allow_url_include = Off8 b+ u3 S( r, a6 m7 B2 @* a6 H! D3 g% L
  825. - R7 l8 T; d  Y) L
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    ( W. k7 y  j, f# w
  827. ; for this is empty.
    7 j& ?/ r) ~) m- X; d2 ]! `
  828. ; http://php.net/from
    & J( Y% ~& ^2 v. b9 h$ d
  829. ;from="john@doe.com"
    / _+ @7 b) l3 }" ~
  830. 4 y8 J; S, Q( ]7 j" `
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    6 V! l+ z9 h: y  z1 d2 P7 r
  832. ; http://php.net/user-agent
    3 G# Y2 ?3 g7 D; c" N  Y
  833. ;user_agent="PHP"
      b7 y$ o+ E* n  ]1 r1 |

  834. 1 _2 N2 a* k$ H' ?* W! M
  835. ; Default timeout for socket based streams (seconds); N( c9 H8 p; w' q  L
  836. ; http://php.net/default-socket-timeout- _5 t  S6 [4 n/ v9 A: i1 z" g4 l6 Y
  837. default_socket_timeout = 60
    8 W  v* `$ q+ t3 R

  838. $ A1 c( P8 ~: V1 M  D% V! v. S3 j
  839. ; If your scripts have to deal with files from Macintosh systems,8 ^  Q  ]3 v- V; e& z4 c, J
  840. ; or you are running on a Mac and need to deal with files from
    , D" z. q6 l' T! d$ Q
  841. ; unix or win32 systems, setting this flag will cause PHP to
    3 P+ P: O" b$ f: [0 t
  842. ; automatically detect the EOL character in those files so that
    * I2 ]8 I4 r; `8 d1 a  M2 Q) W
  843. ; fgets() and file() will work regardless of the source of the file.
    % Q$ o% y3 X& D6 {
  844. ; http://php.net/auto-detect-line-endings/ T  u, e3 V! I6 {& W
  845. ;auto_detect_line_endings = Off7 j- T. P2 Z& l6 L% \' H
  846. ( b1 s  I3 o- s( v7 `6 Q
  847. ;;;;;;;;;;;;;;;;;;;;;;
    ! {3 B, x/ R! v/ k# P! P
  848. ; Dynamic Extensions ;
    : J+ }% h' ]- y7 P% s
  849. ;;;;;;;;;;;;;;;;;;;;;;
    * G* n+ p, `$ c9 [% V. |0 O) y

  850. , o$ b( Z: Z7 o/ Q  _; q" H1 y
  851. ; If you wish to have an extension loaded automatically, use the following
    % o8 r, ^/ R+ q1 D7 d
  852. ; syntax:8 ]7 W* S, \" L% I! ]8 l3 v# l- \
  853. ;
    * ~$ J3 ?! Q7 A* {% g
  854. ;   extension=modulename.extension
    2 u  @6 J4 u# R# H7 g* f6 U
  855. ;
    5 r" T2 M2 `$ z8 X
  856. ; For example, on Windows:( b- D1 |+ l1 i/ r1 j; Y0 ~0 M7 g
  857. ;. `. ]0 k( v, \5 P) m- K
  858. ;   extension=msql.dll! e, g! I, h( b$ \9 O: N* P( k
  859. ;
    % x- {5 C4 W' O% d' ^$ q
  860. ; ... or under UNIX:" ~& n( H4 T( o7 U" m4 m- t( I
  861. ;
    5 A2 Q" V& n8 ~( A
  862. ;   extension=msql.so
    0 r5 T+ O) K: s* b5 \
  863. ;
    2 c/ o9 [. O- w; ?4 \: S! B6 f
  864. ; ... or with a path:
    ! g" Z% a1 E% ~* {: ?# P
  865. ;
    & P- u) n8 G' D8 q) }7 z
  866. ;   extension=/path/to/extension/msql.so
    & y$ ^3 R: m1 n! A/ J
  867. ;: a( {, l! ~, _, f8 ~
  868. ; If you only provide the name of the extension, PHP will look for it in its
    ) Z! \0 I& s# z* [4 |+ H
  869. ; default extension directory.
    , O/ d7 l) B3 t+ K7 ~, @' O7 i
  870. ;
    9 y. w) r) _) n8 M5 G
  871. ; Windows Extensions
      V  w) X* N5 B8 G
  872. ; Note that ODBC support is built in, so no dll is needed for it.6 Y( ]; H! I7 x- L2 M
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)$ s0 Y7 o: m' a' ?; H3 R5 _" X  @
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    " _' p/ ~/ _+ W* A$ g' ^
  875. ; Be sure to appropriately set the extension_dir directive.
    / |0 t! e7 D+ L& j  F: x! m3 N
  876. ;
    . o0 |* q2 ~/ y' u# z5 Q
  877. ;extension=php_bz2.dll
      L9 ^- }( ^  J+ c' j& c3 k' Z
  878. ;extension=php_curl.dll/ t0 b# ^% g% K: Q0 O) P- I
  879. ;extension=php_fileinfo.dll
    ' p1 E% g- s3 q! z/ Z; E# ~0 x
  880. ;extension=php_ftp.dll
    ( {4 C; C' A; Q# L9 K
  881. ;extension=php_gd2.dll5 {$ i& a. a) C6 w( C3 B
  882. ;extension=php_gettext.dll
    . h* ^$ W6 y! x. T" Z% a9 a; r! v
  883. ;extension=php_gmp.dll* G' U  X6 l5 q" {" Y
  884. ;extension=php_intl.dll
    . M. q1 ?) ?/ `( c- o# ^
  885. ;extension=php_imap.dll
    - X$ z8 g# P  U/ {) H% C( n
  886. ;extension=php_interbase.dll
    9 p& l& q6 e. `1 _
  887. ;extension=php_ldap.dll/ M; e+ B7 _8 P* `" f
  888. ;extension=php_mbstring.dll& l2 a7 y" H  J) \2 l. p  U
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    ) Z7 I' f; T' X( Z) X- i5 |
  890. ;extension=php_mysqli.dll
    $ a7 A' G% y; u0 J# y$ R. c, N1 T
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client  C9 a& Q4 O2 K
  892. ;extension=php_openssl.dll
    + N$ H( V# W. f) N
  893. ;extension=php_pdo_firebird.dll# p8 ~; r9 C7 r0 E3 R3 ^' b# k3 L& O
  894. ;extension=php_pdo_mysql.dll7 X* S) a+ K: a" q& Q
  895. ;extension=php_pdo_oci.dll7 Z5 o4 k; r& s; i6 J2 ?: ^
  896. ;extension=php_pdo_odbc.dll
    , C' `1 C. T( C* _3 `! [; }+ q- Q
  897. ;extension=php_pdo_pgsql.dll6 O% l' U* k2 D/ o: ^. x' {" b$ a
  898. ;extension=php_pdo_sqlite.dll- V) {+ z9 G# \) b: e+ m; t+ j
  899. ;extension=php_pgsql.dll
    2 P8 U! i- T2 e) w
  900. ;extension=php_shmop.dll
      \3 ?! z- T, ~

  901. ! O. R3 }# [3 |% s9 B3 F
  902. ; The MIBS data available in the PHP distribution must be installed.
    ; F: N! O. P8 S7 f
  903. ; See http://www.php.net/manual/en/snmp.installation.php  f. d/ U$ b  {+ g( G
  904. ;extension=php_snmp.dll
    & p2 L& a( {5 v8 d! v( d, H

  905. * d, w/ j- v* ~1 i! u
  906. ;extension=php_soap.dll
    * ?, p, d- v0 U& u
  907. ;extension=php_sockets.dll3 R1 f" P# A6 o% Z1 ~
  908. ;extension=php_sqlite3.dll: ^5 v4 D5 R6 g
  909. ;extension=php_tidy.dll
    7 E: c8 A3 s0 K3 T6 H
  910. ;extension=php_xmlrpc.dll+ ~. K; [" b7 C* N# z7 E
  911. ;extension=php_xsl.dll
    ( @+ u9 V1 q: _) s! s8 F1 O: T

  912. # J0 m  u6 O, z5 @
  913. ;;;;;;;;;;;;;;;;;;;$ ]8 |( v- H7 D* a" S
  914. ; Module Settings ;( M8 C3 A! m. _% v- L' ?
  915. ;;;;;;;;;;;;;;;;;;;
    8 U% s6 c) B9 \9 _( s8 h
  916.   l/ K  _% Z" ]7 j
  917. [CLI Server]
    / f4 l1 Z$ O0 i$ o! P6 C
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    4 x. v5 ?! [/ g  j3 `
  919. cli_server.color = On
    1 ^5 V) Z! \( o, G1 y

  920. ! I2 ~# s; R0 B/ u* x5 z( M% Z* ?
  921. [Date]
    " ], y  q; u& f
  922. ; Defines the default timezone used by the date functions
    7 u9 ?" V/ ^& L, q- ^1 M3 S; t4 T
  923. ; http://php.net/date.timezone
    : K3 \) ~4 T2 P; `+ ~( E, m: I1 r9 F4 C
  924. date.timezone = PRC: G" e6 Y6 B2 k2 I( s

  925. ! q0 q( z5 @9 b7 I7 j
  926. ; http://php.net/date.default-latitude
    5 e( g2 d+ I) J+ I0 N5 r
  927. ;date.default_latitude = 31.7667
    " p: i6 \+ z7 ~) s0 ?8 {; i0 V- B1 w
  928. , q' T% g1 N" c4 h) U  o
  929. ; http://php.net/date.default-longitude9 p1 B) k$ L( e& c; l7 B# {( n- ]
  930. ;date.default_longitude = 35.2333
    ! \/ F$ e+ F8 Z2 N0 ^

  931. ; C6 t7 ?, W7 ?$ A) I# C
  932. ; http://php.net/date.sunrise-zenith0 K2 O% I* z) W) h0 {) w% D6 f
  933. ;date.sunrise_zenith = 90.583333
    , T- q: f! |- _8 r# @1 j

  934. 0 e* ?( Q; `- g  q7 W  }2 N
  935. ; http://php.net/date.sunset-zenith& w' Q! `5 q, c3 J- t
  936. ;date.sunset_zenith = 90.5833330 ?" w: w6 d! }" b& Z+ _
  937. # }$ }9 v: w% F
  938. [filter]
    8 n& U. e' X2 [
  939. ; http://php.net/filter.default
    : f3 P  K5 C1 M! ^7 k3 G
  940. ;filter.default = unsafe_raw2 Z) y& Z+ f, h* d( ?
  941. ( g- N; ^( u  [" v3 s
  942. ; http://php.net/filter.default-flags
    & o6 S5 F- a2 q( q0 D6 z' q
  943. ;filter.default_flags =5 y# A4 Z1 x% }* J- F
  944. 0 T4 A( f3 F: @! S! S) z
  945. [iconv]! F( C5 L, ~. G9 F- k9 ?
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    5 ~  w5 O8 b3 L/ D+ n/ w( W2 n
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.4 G6 u! ]- p% e7 T( h$ O
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding4 \; k& R- y! b  ~4 x8 k
  949. ;iconv.input_encoding =6 }2 ]( B; H5 j3 F

  950. . Y: P: ]1 r  M' _) y+ a5 D
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.( i& ?, ~- s. o5 q; S2 T
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.$ ]5 A" X" X& J0 a
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding2 G4 x6 f$ Q% w* O& x
  954. ;iconv.internal_encoding =% a+ j" M9 J. ~6 x6 C/ H+ q$ a
  955. ; i% p+ O1 S; R; h
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.3 O& h  V# O( w# y( c. ~( J
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.* y: }: X" y  o- A" G
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    2 \9 }: b1 P! z
  959. ; To use an output encoding conversion, iconv's output handler must be set
    ( z" y) c" l* a' ^3 k- H
  960. ; otherwise output encoding conversion cannot be performed.
    3 H( v- q# |5 P# |" T! q$ u
  961. ;iconv.output_encoding =
      c7 O+ v; p: z) {+ U/ k! P" h

  962. & n" V) Z& n6 ~% s3 s- ?
  963. [intl]
    5 ~' I9 l! P) G0 P5 o* p
  964. ;intl.default_locale =6 r" m4 |$ V/ m/ ]' U; }
  965. ; This directive allows you to produce PHP errors when some error
    / F8 s% X. A4 _) a2 P4 s3 @( E
  966. ; happens within intl functions. The value is the level of the error produced.$ D- [8 N% b4 i; S1 y
  967. ; Default is 0, which does not produce any errors.
    3 l' r; @8 q, w' d- ~4 e5 _; |3 N# z
  968. ;intl.error_level = E_WARNING  J+ T( x( x( Y
  969. ;intl.use_exceptions = 0
    : h) [9 Z) d4 @/ ^

  970. - S( B; \' k) N. ^, e8 Z
  971. [sqlite3]
    . p( @) t2 \) D7 T1 D' V- x" F  g$ n
  972. ;sqlite3.extension_dir =% p. E4 A, B  Y% I1 d5 @- G
  973. 7 ]2 L' Y1 K9 Y/ k& M1 V
  974. [Pcre]
    ' {5 o2 D) m% ]) J
  975. ;PCRE library backtracking limit.7 g' A! x9 a" u: w  I
  976. ; http://php.net/pcre.backtrack-limit; @7 r! Y: M/ ~& R& J
  977. ;pcre.backtrack_limit=1000009 w+ h( n4 B5 w
  978. 9 W0 x, }3 f" {% |6 S4 M& A
  979. ;PCRE library recursion limit.: v2 n! f  u: C0 S
  980. ;Please note that if you set this value to a high number you may consume all, n1 \% ?: P. x  a" @; ]) z) l6 v
  981. ;the available process stack and eventually crash PHP (due to reaching the
    6 C1 z0 Z0 \2 U$ ~
  982. ;stack size limit imposed by the Operating System).! o- @0 f& y+ h7 y) y0 B
  983. ; http://php.net/pcre.recursion-limit' }3 h, S9 m, T
  984. ;pcre.recursion_limit=100000& Q( R+ L0 F, I$ g$ s, F' l1 C. O

  985. ' o( t/ O' X; Y6 R
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE% A: q" H. G4 C+ q: y( A
  987. ;library to be compiled with JIT support.
    % \* v1 J! L' F7 N' ~
  988. ;pcre.jit=1
    3 y8 t+ f5 e+ ?+ i
  989. 1 Y1 v3 i* c$ P
  990. [Pdo]
    6 Q3 ]1 M2 c2 t
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"2 g) s3 i$ ?+ J  ~; M% u
  992. ; http://php.net/pdo-odbc.connection-pooling
    ; K$ l( x' B& \* o
  993. ;pdo_odbc.connection_pooling=strict7 n% F$ i# P, |1 |5 x

  994. - s% O* _; ~& c8 L
  995. ;pdo_odbc.db2_instance_name7 _# a  h" F( Y$ Q: x6 _0 x1 }4 ?) M

  996. - l5 n# U6 Y4 O9 R. r$ {
  997. [Pdo_mysql]  `3 o! Y2 j$ Y- t: V6 S7 M
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    7 ^: Z' r4 c$ r/ z: U7 o; Y
  999. ; http://php.net/pdo_mysql.cache_size
    + r! c5 |1 G: [9 W# w! T
  1000. pdo_mysql.cache_size = 2000' M4 S$ y+ g8 Y! _
  1001. 9 s2 p: p8 o- l0 `- K( ?
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in  l5 p0 U4 n  X; v, F0 g) \0 m. C
  1003. ; MySQL defaults.- F; j9 l; O. p2 `4 h5 }7 e% c, b
  1004. ; http://php.net/pdo_mysql.default-socket3 b: y* x2 v6 w8 A3 b
  1005. pdo_mysql.default_socket=
    : a: b0 ^' a  W, [
  1006. 3 e( s- s: k" R/ ?* X; b$ v% D
  1007. [Phar], S- z% l  K% V) d
  1008. ; http://php.net/phar.readonly
    9 z9 d  j. Z% v) h5 C  K
  1009. ;phar.readonly = On. o9 @7 t2 C  w) g/ H! ~% a+ C9 l

  1010. ; D+ b2 L# A4 ]$ W
  1011. ; http://php.net/phar.require-hash9 N, Q; K0 d/ m1 g3 [0 t  J
  1012. ;phar.require_hash = On
    ! t/ t& e! U, |% b

  1013. 7 a7 a: M9 d8 k7 @" _5 ^. V& F
  1014. ;phar.cache_list =
    - e$ x/ ^" E+ c5 u" b! l

  1015. . e1 V2 F9 n& k4 l( r
  1016. [mail function]: [" H# ]# K* g, E
  1017. ; For Win32 only.9 d9 r! m& U; v  _# l" X7 ]* G  B
  1018. ; http://php.net/smtp
    " D5 ^' |0 K  r2 S2 e
  1019. SMTP = localhost
    1 G7 C! ~; p* |! c, j5 I
  1020. ; http://php.net/smtp-port8 C2 C) L" d1 g1 U2 G8 P! Q
  1021. smtp_port = 259 C  c% {7 G/ c3 |: U" i: x7 I) Z4 P
  1022. 8 Z9 F" u% ~- H  }0 r! d5 W- n& }
  1023. ; For Win32 only., R0 J( `( ?/ }0 h6 f- [& M' R
  1024. ; http://php.net/sendmail-from/ s+ n# S0 V% E% g  w! ?
  1025. ;sendmail_from = me@example.com+ u  P8 B3 B. D; {  y( ]6 m

  1026. 6 L8 d3 r9 U# l9 K3 z  y
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").8 K( n6 U: g" {8 X/ n
  1028. ; http://php.net/sendmail-path* u$ z( I; {' M4 R
  1029. sendmail_path = /usr/sbin/sendmail -t -i0 i! R$ S4 ?0 U; k- `2 ~

  1030. 0 {: l8 ]# s  E& W: }
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    8 c# T8 ^- x9 a" F
  1032. ; to the sendmail binary. These parameters will always replace the value of
    # ~" C6 u& t  j1 W& G
  1033. ; the 5th parameter to mail().
    , N, p1 m. T6 y' A1 W) d: u3 z
  1034. ;mail.force_extra_parameters =8 l( N3 n6 f# ?' E: B, k
  1035. 0 d1 n5 F: M/ x; t2 t
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename7 {' v0 f5 E; h+ d' X; Q9 |3 y
  1037. mail.add_x_header = On
    ' v( K, b/ c5 k. d5 `2 o
  1038. / ^# n- a( O+ f7 b% K/ {: @6 a
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    & K, A4 _) @# q( H" `( D8 u, ^# ~
  1040. ; the full path of the script, line number, To address and headers.
    1 N, I1 y1 d$ E) z' u
  1041. ;mail.log =2 P; ]& p, F, a$ U4 c- E: ]
  1042. ; Log mail to syslog (Event Log on Windows).
    ' k; S" \* R" n% d; q
  1043. ;mail.log = syslog
    , S$ j, `" I' M- f, z3 W* m3 @3 m

  1044. 4 d' v$ S) a; x2 H* j
  1045. [SQL]9 L5 {; {( ]/ F0 p! T
  1046. ; http://php.net/sql.safe-mode
    ( r/ k0 _$ z% K# M! T, h  F& c
  1047. sql.safe_mode = Off
    ; J0 @" i4 D( ?- V

  1048. 7 y' N8 p0 }6 q
  1049. [ODBC]
    ! b2 P2 T- V+ O5 q
  1050. ; http://php.net/odbc.default-db
    * [) l- c5 [3 Q
  1051. ;odbc.default_db    =  Not yet implemented
    ; A# B( \' X$ u. X# B6 y: Q+ W
  1052. . X5 E& E! s' [0 i. _
  1053. ; http://php.net/odbc.default-user$ P% m/ w- D) ]
  1054. ;odbc.default_user  =  Not yet implemented1 e  d7 U. W4 X% j, W' [, d, g  e
  1055.   p% d( U7 ^6 b+ e! R! O! `
  1056. ; http://php.net/odbc.default-pw
    " k6 G! m/ O  `2 d8 Y, v
  1057. ;odbc.default_pw    =  Not yet implemented; Q% u: G4 Z! H

  1058. : `) k# d& a0 i% o& l
  1059. ; Controls the ODBC cursor model.
    ( E& c2 O1 g; t% ?
  1060. ; Default: SQL_CURSOR_STATIC (default).2 _) a" L% v7 P# ]
  1061. ;odbc.default_cursortype
    " |9 K* M( r0 Z
  1062. . _4 y+ Y' ^1 W! K4 ^. r/ B
  1063. ; Allow or prevent persistent links.6 Y$ A" T0 I# r8 p0 w, I) _" O9 T
  1064. ; http://php.net/odbc.allow-persistent
    6 w# R; F7 V  g  \) c5 `
  1065. odbc.allow_persistent = On
    - U9 L' O5 b+ u* `# |8 R, @

  1066. ( G. D, E/ `2 P3 {3 ]
  1067. ; Check that a connection is still valid before reuse., P- f# x- _- \/ j. V( t/ t
  1068. ; http://php.net/odbc.check-persistent5 {! W, Z9 m( E+ L
  1069. odbc.check_persistent = On5 R2 G! m6 @7 c# J3 w. \8 ^) s

  1070. 4 q& i- d, p, H& j# @2 X& e
  1071. ; Maximum number of persistent links.  -1 means no limit.' q" O2 @* Q# F) P( k1 t8 k
  1072. ; http://php.net/odbc.max-persistent
    ( A/ R/ T# o' h* Y4 k! U, L
  1073. odbc.max_persistent = -13 m+ O, `$ ^- P: _! P' `4 r
  1074. ! q* K3 T  X% Z8 F+ s
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    7 N4 L% D/ P6 Q- h, ?
  1076. ; http://php.net/odbc.max-links7 q6 h  ~& s" C! ?1 s
  1077. odbc.max_links = -1
    2 B( v; A3 h) V# z$ H7 {( @
  1078. # O7 C' Q4 w$ X, F
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means7 D, c3 L* P: @
  1080. ; passthru./ A' `, f; x& T/ _% p
  1081. ; http://php.net/odbc.defaultlrl4 a8 s( W( J. L; K0 u, _; p; p6 B
  1082. odbc.defaultlrl = 4096
    9 T5 b) Q7 [/ r; L  U7 y. Z) @( h

  1083. 0 H3 ^8 C+ M* \& l5 P9 p/ p7 w  Z# R: S
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.# \" N! a; I) b2 p7 D5 H
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    ) b2 R: X2 v; Z
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode) Q* q* f0 U& w: c* p# \
  1087. ; http://php.net/odbc.defaultbinmode! H* M! b! I7 Z5 G' u8 ~, M
  1088. odbc.defaultbinmode = 1
    4 ~/ [- J+ V% Y* r. d9 z

  1089. ) x/ p5 i/ L; d5 b( P" l
  1090. ;birdstep.max_links = -1
    7 y/ ?. j$ R" q( u6 k

  1091. ( e3 j. t* _0 C+ x$ _
  1092. [Interbase]+ u9 \  f  y  O  E- W
  1093. ; Allow or prevent persistent links.
    0 u. ~& M' M; n
  1094. ibase.allow_persistent = 18 T, N* l5 m; l. ?4 J" e
  1095. ; C; Y* u" U& I1 Q
  1096. ; Maximum number of persistent links.  -1 means no limit.# e  U: `4 Y. s$ I) ?
  1097. ibase.max_persistent = -18 [, K, ~' q! r

  1098. 7 j$ m% \8 Q, V4 f
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    * `2 ~" u2 w: ]0 l/ ^& F( ?9 M7 h
  1100. ibase.max_links = -1: x+ ?  k' m5 Q3 z

  1101. - P* t6 t" a5 r5 w) I: `
  1102. ; Default database name for ibase_connect().- l7 J- _/ ~$ P- ?
  1103. ;ibase.default_db =
    , ^1 b  ]' ~+ e/ R7 |

  1104.   r: U1 t6 A. i6 ~0 \
  1105. ; Default username for ibase_connect().% G: E: ^; ]1 c8 b: g9 P
  1106. ;ibase.default_user =2 `  N) A$ l  d0 V0 e; n

  1107. 6 G9 p  W1 h, J- G  Z3 i1 I1 y
  1108. ; Default password for ibase_connect().& y; Z! r# r; E9 R! \* s
  1109. ;ibase.default_password =3 k' U7 h! ~# ^$ O. W
  1110. 3 ~( W4 w* T, s! u3 B: w
  1111. ; Default charset for ibase_connect().. N; Q( u2 H  N1 D! i& X# {& Q
  1112. ;ibase.default_charset =  o6 F# W4 f) ?1 |& R" `

  1113. ) M0 w' _+ R" d8 d# }6 f
  1114. ; Default timestamp format.1 \1 C6 x9 W6 P: ], |) e
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S") t0 N9 b0 ^1 A, o8 T$ R& q+ m- I
  1116. 6 P2 V( Y/ l  a+ v4 n- K' G
  1117. ; Default date format.
    " I% \8 D: k3 i" j
  1118. ibase.dateformat = "%Y-%m-%d"3 W" c8 h6 o, t1 X+ `
  1119. ) S( ]7 ~( f0 d3 F+ I; f
  1120. ; Default time format.4 m& S( D6 B7 _4 @2 G
  1121. ibase.timeformat = "%H:%M:%S"8 |1 F+ b/ O1 R  C  X5 j

  1122. 9 g# z9 a- o. q" K' L/ c
  1123. [MySQLi]
    4 g& |# A2 K7 e
  1124.   J3 H2 v/ I4 _9 d
  1125. ; Maximum number of persistent links.  -1 means no limit.' s. g& \  f$ w
  1126. ; http://php.net/mysqli.max-persistent5 M* D4 t2 f6 s9 Y5 f& e/ E6 F
  1127. mysqli.max_persistent = -1
    * ?0 w7 z  M" a  \0 @0 L
  1128. + d1 ~' f* L- \) E" F
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    " d( N% Y: z/ U# s/ ]
  1130. ; http://php.net/mysqli.allow_local_infile
    ! b, q9 K8 R9 o! S! ?4 X1 E
  1131. ;mysqli.allow_local_infile = On$ N, j% u+ w' L& m' b6 d
  1132. $ K# A9 K. f3 |; y8 w6 w) q
  1133. ; Allow or prevent persistent links.+ U- U( s$ U5 G" g6 c" Y8 O
  1134. ; http://php.net/mysqli.allow-persistent$ x3 H- I# d' @- i3 u2 s0 v
  1135. mysqli.allow_persistent = On/ n. e0 u9 o: D6 N! h$ n/ s

  1136. / a( {! E" ]' c8 x% A
  1137. ; Maximum number of links.  -1 means no limit.
    ' F3 Q! R: Y9 A  L% J6 c
  1138. ; http://php.net/mysqli.max-links3 c9 Q0 O& m' T2 t. x+ p4 r
  1139. mysqli.max_links = -1
    ; |2 ]/ P3 u; X) T5 S* W! H3 i

  1140. # C: j# R; x7 t7 c4 {. _9 V9 p
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    0 W2 m. @7 a, }
  1142. ; http://php.net/mysqli.cache_size
    9 O. Y$ @  B( R, y
  1143. mysqli.cache_size = 2000
    9 Y: T" r8 o( c7 m
  1144.   ~! r' `5 h) j- T, b9 q
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use6 P4 b" A# H7 g
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the: ~- p2 X# P! h( w
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    8 \+ `* z; A& ]' ^, g1 `% h! t! r
  1148. ; at MYSQL_PORT.  v# a+ w: i* P& J9 h
  1149. ; http://php.net/mysqli.default-port
    0 v: I* K$ J6 Q4 U  Z8 Q/ q" l& v5 T
  1150. mysqli.default_port = 3306
    ) k9 A% O5 K4 L4 X: U1 j7 R1 X& Y
  1151. 8 H; z, c) G5 N/ x
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    4 m9 ?# G, M: M/ P" o5 M- j
  1153. ; MySQL defaults.- O: W/ t! p0 j* f2 ^/ h
  1154. ; http://php.net/mysqli.default-socket
    # m9 l' j! e- e: C* x% z9 o0 D
  1155. mysqli.default_socket =
    & _( [* N7 |0 U& ?- K
  1156. & s0 [" H' ^, w+ Q6 L
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).0 F1 K, X" C, z8 Y8 p2 X
  1158. ; http://php.net/mysqli.default-host" Q! O' Y0 z0 C$ m
  1159. mysqli.default_host =) \! L6 e/ I: T' [7 |& ]
  1160. # ~3 M1 u9 ~1 S. W8 p8 x! b; Z8 ]: [
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    6 D& a# S0 k+ H$ z. C
  1162. ; http://php.net/mysqli.default-user
    7 v: b- T3 Y1 P, Z
  1163. mysqli.default_user =9 Q! l6 V3 I# F  s, }3 U
  1164. 3 v1 y# W5 W8 C+ X0 X3 ~* p5 l9 V
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    , g- ]+ [7 D9 ^7 D; S
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    ( C& k! |8 D, d+ O# J, x4 ~
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")! f. S3 _6 A/ z
  1168. ; and reveal this password!  And of course, any users with read access to this9 Y& v( S0 h* E, Y5 g6 I8 S
  1169. ; file will be able to reveal the password as well.
    # e+ |( r" o5 m! t# j
  1170. ; http://php.net/mysqli.default-pw+ M" K5 C$ m& G- `+ m  P
  1171. mysqli.default_pw =, p9 C5 e, O( b. J2 S0 s3 E2 J
  1172. $ N. V7 v3 P. [6 b4 L/ Q
  1173. ; Allow or prevent reconnect
    , j; c5 K* Y* s" N
  1174. mysqli.reconnect = Off) s  s  ^8 I& q* Y" x
  1175. , Y3 V3 J  |, V
  1176. [mysqlnd]2 i: [  i0 z( Q
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    2 A2 a/ Y' h* [% |
  1178. ; used to tune and monitor MySQL operations.. h! x* \. x- Z
  1179. ; http://php.net/mysqlnd.collect_statistics
    0 I. V- D& N7 n# v7 v; o- K/ C
  1180. mysqlnd.collect_statistics = On
    ( D% q/ U+ C3 d

  1181. / u+ J) X- X6 \; d- i
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be- }6 y2 \! h* h$ R/ d) J
  1183. ; used to tune and monitor MySQL operations.
    " {2 a( ^- K' Q1 S* C" p
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    5 }- Q9 p2 s. M2 l* }
  1185. mysqlnd.collect_memory_statistics = Off
    " `8 e% ^6 }5 E9 w  ~3 W! l
  1186. . B$ _9 q% t- t$ ^. B
  1187. ; Records communication from all extensions using mysqlnd to the specified log, F# x& E0 A' z) c+ Z7 X  t
  1188. ; file.! Z2 i2 d: D5 K( }% E
  1189. ; http://php.net/mysqlnd.debug4 f$ F* i( K# a: F, T5 i# V: F3 @* U
  1190. ;mysqlnd.debug =
      c; Z/ h1 N% v( y

  1191. ( W. k; @/ E$ j
  1192. ; Defines which queries will be logged.% }2 C7 W" k7 u# h
  1193. ; http://php.net/mysqlnd.log_mask
    9 Q3 i' }! L( R! |0 O
  1194. ;mysqlnd.log_mask = 08 Y; c; Y1 C0 K& P! W
  1195. 0 l, S$ G! I; V& X
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.+ d! E2 F$ b" R' N8 ^+ h. [* L
  1197. ; http://php.net/mysqlnd.mempool_default_size( }& R& B  T; F
  1198. ;mysqlnd.mempool_default_size = 16000& z0 b% U! Q8 i  |, Y4 c9 ?
  1199. $ Z0 c* }- K; l% D7 ^
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.& V4 N% m4 |) r4 u; [9 ^
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size) \$ k; L4 t" r5 b
  1202. ;mysqlnd.net_cmd_buffer_size = 2048! o1 \  |+ r2 E

  1203. ; t3 ^7 w. s, c! X  l9 W' @
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in* h: j$ ~7 b' ]
  1205. ; bytes.
    + `9 D- p/ ~+ b' k$ A& E& e, t- |1 |
  1206. ; http://php.net/mysqlnd.net_read_buffer_size2 K9 E1 n: p8 y+ |1 o
  1207. ;mysqlnd.net_read_buffer_size = 327688 e* j+ ~* Q/ \! x
  1208.   j0 A5 T7 i% D) [
  1209. ; Timeout for network requests in seconds.
    , }0 t+ c0 N/ W
  1210. ; http://php.net/mysqlnd.net_read_timeout
    $ Z, X+ [, ?) `* P9 o
  1211. ;mysqlnd.net_read_timeout = 31536000, t/ {. `. D' Q# Y! N8 s

  1212. ! ?6 k0 B5 w4 W. `/ b4 i' R' T
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    4 u1 H; N- j* I; Q8 G: f2 A  u# `5 a
  1214. ; key.' _5 c9 D7 p( I0 A. s0 U
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    & Q' P; x- Q# L4 s6 H( J8 A; E
  1216. ;mysqlnd.sha256_server_public_key =$ x; _; t" `. ]; K  {' U

  1217. 5 e; I6 H( U: t5 g
  1218. [OCI8]$ p# z2 h. m- [5 Z1 P3 I- c
  1219. ; `  [8 N5 U, X5 T
  1220. ; Connection: Enables privileged connections using external; M1 m* n9 F# w; q
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
      M; I6 g& j+ b8 m! J
  1222. ; http://php.net/oci8.privileged-connect
    2 N: j0 s* B2 [
  1223. ;oci8.privileged_connect = Off
    1 x. [+ V5 d! A' O
  1224. 3 [; _% r: z* n6 i) @7 ]) {1 ^9 J
  1225. ; Connection: The maximum number of persistent OCI8 connections per( Y( \6 M. e$ k- g5 \: ^) M
  1226. ; process. Using -1 means no limit.
    : J7 v7 W  e: ?/ C  _- G
  1227. ; http://php.net/oci8.max-persistent
    / J& e4 U* [0 Q- \8 ]2 O
  1228. ;oci8.max_persistent = -1
    ! }: \( Z! |  k! J% r7 p6 n

  1229. 9 p8 S& r) R7 a7 n; S. `
  1230. ; Connection: The maximum number of seconds a process is allowed to) N; m0 s, ~7 K0 W
  1231. ; maintain an idle persistent connection. Using -1 means idle& q% _8 e6 S* s
  1232. ; persistent connections will be maintained forever.$ i! M6 o; l" d7 M& f
  1233. ; http://php.net/oci8.persistent-timeout
    8 p+ I- x! I, A" R: }
  1234. ;oci8.persistent_timeout = -18 b/ x3 Z. Q0 O& J
  1235. & f6 U2 ?2 i' ~* k% G, [& B) C
  1236. ; Connection: The number of seconds that must pass before issuing a
    6 z/ X! T5 e3 ^" c8 b% M2 j
  1237. ; ping during oci_pconnect() to check the connection validity. When3 q0 D  u4 }. I4 j1 v, @5 F
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables/ i5 q" B: b1 V! c  k
  1239. ; pings completely.' `) C, b$ q& k# J
  1240. ; http://php.net/oci8.ping-interval
    * P2 ]) g0 r3 g- A8 Z
  1241. ;oci8.ping_interval = 60
    9 y- g( n+ }# z! z

  1242. ' p  z5 ?" v# x5 B
  1243. ; Connection: Set this to a user chosen connection class to be used& O7 J# y6 A+ H3 L. y3 W
  1244. ; for all pooled server requests with Oracle 11g Database Resident. ]& }5 ^. }, P6 J+ n. [! p1 E
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    # f) U# [; y3 w7 m* S& Y/ N( O
  1246. ; the same string for all web servers running the same application,
    $ k" ]8 N2 Q3 i+ u, X# `& r3 _6 `
  1247. ; the database pool must be configured, and the connection string must7 H% M9 z" D: R$ y3 c
  1248. ; specify to use a pooled server.& r; v7 r' k2 H# s% J; }1 {
  1249. ;oci8.connection_class =
    $ f' h0 u, g+ z
  1250. ; P* i& j, f" \0 t3 H
  1251. ; High Availability: Using On lets PHP receive Fast Application2 F- ~4 x+ X  ~$ g. f" C! {
  1252. ; Notification (FAN) events generated when a database node fails. The' J8 N6 r* V$ f1 c* f# ]
  1253. ; database must also be configured to post FAN events.
    / n4 I; C& f% Q5 D
  1254. ;oci8.events = Off% m3 `9 J! p/ A& w8 ?" W

  1255. ' `5 e( e! l7 w0 ~2 P2 Z) b# }& C5 Z
  1256. ; Tuning: This option enables statement caching, and specifies how9 N2 v1 {  b  V8 q2 I
  1257. ; many statements to cache. Using 0 disables statement caching.0 v. F0 F, p, _" ~% c+ F" ]  f7 k
  1258. ; http://php.net/oci8.statement-cache-size
    0 M6 s+ Y2 h- r# h9 b' R
  1259. ;oci8.statement_cache_size = 207 J  i- x; b* {, x  f$ U) L' g) W' ^
  1260. 3 k0 }. l, g5 I" |0 X. }0 E3 s
  1261. ; Tuning: Enables statement prefetching and sets the default number of2 w4 I9 D1 L1 P0 k; |2 p
  1262. ; rows that will be fetched automatically after statement execution.' Z$ M; I% W* [- J0 e
  1263. ; http://php.net/oci8.default-prefetch
    5 s& U2 x- D9 l) p6 E6 B
  1264. ;oci8.default_prefetch = 100; B2 U& ^3 H' v2 `; l

  1265. . N4 s0 e3 z* a: e8 `1 Z4 q1 {0 }
  1266. ; Compatibility. Using On means oci_close() will not close
    $ P( e. {9 q6 A* P" a, ~
  1267. ; oci_connect() and oci_new_connect() connections.
    2 n" W2 F  W3 E. F
  1268. ; http://php.net/oci8.old-oci-close-semantics
    * q# k, T8 v/ s" H- n# P
  1269. ;oci8.old_oci_close_semantics = Off
      Q5 i8 O- @, `% t

  1270. ; f" R9 o$ J4 @" r, s% V: L# p
  1271. [PostgreSQL]
    9 H% }. D; o6 m4 H( t1 z
  1272. ; Allow or prevent persistent links.0 w- ]' E9 A4 u" A) b
  1273. ; http://php.net/pgsql.allow-persistent) o) ~% J3 e) s/ V1 e' E0 n  O' H
  1274. pgsql.allow_persistent = On
    7 b9 f. D9 ^$ o* \: g' B" h# C

  1275. 5 h+ Y3 T- k# R0 X+ b4 t8 g8 h, I
  1276. ; Detect broken persistent links always with pg_pconnect().
    # m2 {' D' H5 \4 [4 a
  1277. ; Auto reset feature requires a little overheads.
    : G  t3 A# N4 q  e' L+ C
  1278. ; http://php.net/pgsql.auto-reset-persistent/ i+ j. H/ x1 N4 S
  1279. pgsql.auto_reset_persistent = Off6 d: d5 U+ Y4 ^$ a; s9 R& }

  1280. ) O( Q+ h. c) H, Z
  1281. ; Maximum number of persistent links.  -1 means no limit.
    ; _( K6 m0 x: o$ w
  1282. ; http://php.net/pgsql.max-persistent! M9 W: f' C) d# B, z. p
  1283. pgsql.max_persistent = -1
    1 B$ M9 \$ z+ _1 w2 n
  1284. - j8 E' y8 A: [& y- _
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    & U. Q) D& _/ r8 N
  1286. ; http://php.net/pgsql.max-links1 Z2 |  ~4 ~! r- h. c; h
  1287. pgsql.max_links = -10 L/ I) y/ O  Z8 d$ [/ t* Z
  1288. - u- Z. |: \3 Y5 Y2 l
  1289. ; Ignore PostgreSQL backends Notice message or not., ~) z1 ~, l  Z" R; `. }( y
  1290. ; Notice message logging require a little overheads.
    % V% Z3 C4 Q! I, y
  1291. ; http://php.net/pgsql.ignore-notice6 `( X3 F# v8 O
  1292. pgsql.ignore_notice = 0
    2 d% u+ c! ?3 B! e# l8 d9 k: W+ H  z
  1293.   G0 g& D- K5 g! o2 Q
  1294. ; Log PostgreSQL backends Notice message or not.  j/ B- H2 J9 Z$ F4 g3 ?( h6 L9 U
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    " q* N/ y* V' O2 O
  1296. ; http://php.net/pgsql.log-notice
      s' C) u6 |9 ^6 K" ^: [0 z: {
  1297. pgsql.log_notice = 0
      R0 [4 ]; ^$ w. g

  1298. 0 E% S9 p+ _4 K
  1299. [bcmath]
    1 l* U0 j/ n4 L" C& j% G
  1300. ; Number of decimal digits for all bcmath functions.. {; N/ ?- |2 ?  B+ Q: x9 E/ h$ r
  1301. ; http://php.net/bcmath.scale
    9 r7 \* j$ q& N, L$ Z' q3 K
  1302. bcmath.scale = 0( _% u8 N8 V) q' J
  1303. 0 m: A: ]9 _" h0 n! G' ^4 K
  1304. [browscap]! O$ {. H6 x7 I
  1305. ; http://php.net/browscap
    7 h3 \8 _. p7 b% B1 q
  1306. ;browscap = extra/browscap.ini9 k' P7 i" r- H' J& n2 f  V

  1307. 7 S! X5 N4 c0 S7 R
  1308. [Session]! P5 @( p0 }* B
  1309. ; Handler used to store/retrieve data.
    ! n7 o6 k2 v/ R# Y
  1310. ; http://php.net/session.save-handler; N! C* T; q& e( a; k! I$ n4 y
  1311. session.save_handler = files- u& ~6 L2 _/ p7 _3 |( Y6 P6 }- v' T
  1312. ' s+ |# C& a( `
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    5 R8 I1 L5 T" h+ g' w; A
  1314. ; where data files are stored. Note: Windows users have to change this' n( a) Y& u: E' B/ Y1 O- e
  1315. ; variable in order to use PHP's session functions.% P7 |+ C$ x2 \! v7 A  f
  1316. ;1 Q, ?2 [% W2 P' |" S! L0 P; `
  1317. ; The path can be defined as:& X( U: L4 I# }2 u4 O: W
  1318. ;  j) g5 i9 I+ @7 U
  1319. ;     session.save_path = "N;/path"
    5 U( S' X5 x0 Z  Z' i( ?  P' A: j
  1320. ;
    0 B, c7 M) ?; L" G( x+ D
  1321. ; where N is an integer.  Instead of storing all the session files in
    6 \- A# O+ B% W% z1 J
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    8 k+ S% u+ G/ _: J3 p4 c2 \
  1323. ; store the session data in those directories.  This is useful if
    8 z- Q, j) \& m- v
  1324. ; your OS has problems with many files in one directory, and is- c( T# U: u- n+ D  T: Y
  1325. ; a more efficient layout for servers that handle many sessions.9 V2 v( E: {4 y
  1326. ;7 _, q: }, ^, ~: m4 w3 e1 q5 M
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    ( n1 O2 Z; g3 q( T+ S! r. w
  1328. ;         You can use the script in the ext/session dir for that purpose.
    - a) y/ i$ P3 |, I4 S- Z7 G0 L2 p
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    0 G5 S# P# X- Y3 @! g
  1330. ;         use subdirectories for session storage
    - v3 h- Q- R; ^: d7 ]$ O8 M6 N
  1331. ;
    ! b" H' y2 r$ p1 q
  1332. ; The file storage module creates files using mode 600 by default.6 W, g8 M0 P* ^: Q% d% u$ t
  1333. ; You can change that by using0 J& i1 N% k( a: J
  1334. ;
    # m4 E9 U3 @1 a$ L/ d- k- V
  1335. ;     session.save_path = "N;MODE;/path"8 R9 x# ?; t, m- X. W  ~; Y
  1336. ;8 e4 w% u) M# t2 h! j) J  u) v
  1337. ; where MODE is the octal representation of the mode. Note that this: _5 T- _, L" I: P
  1338. ; does not overwrite the process's umask.
    1 q* a. |1 x, R: V2 U
  1339. ; http://php.net/session.save-path
    4 O( {- b% e' I0 X( @6 j2 }2 O. d
  1340. ;session.save_path = "/tmp"& y0 |+ A. f7 o0 l* T) b! {

  1341. . e! `- k& b% e* ]1 y) _$ L
  1342. ; Whether to use strict session mode.0 s* \' Y* n3 D$ g" e. ^! |/ M
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate& W2 B) ]# D3 q8 W! b0 c
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects0 j/ ]; S/ R, o# `- q
  1345. ; applications from session fixation via session adoption vulnerability. It is
    % m( [0 G( r1 p, d" ^& C
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
      i, c  ~# E! N6 `# h
  1347. ; https://wiki.php.net/rfc/strict_sessions" k) z  @' [& A' D3 W
  1348. session.use_strict_mode = 0
    ( X6 e% g- q* g) F4 g! `% t& s

  1349. - v' ?8 K6 C# o8 L7 k4 K: F
  1350. ; Whether to use cookies.
    " h' N, A' s! z) j! f
  1351. ; http://php.net/session.use-cookies- q% t' c( B0 w1 q# d( I9 z+ K& q
  1352. session.use_cookies = 10 W7 Q" d/ Y  g* q: x

  1353. 7 y( {. k0 B7 G6 L# r
  1354. ; http://php.net/session.cookie-secure* j3 M: R. O8 j* T" W! D
  1355. ;session.cookie_secure =) |$ F; [4 m1 c6 v

  1356. 0 l& ]* d- h% x
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining9 F) w0 n2 X) J
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    ! @2 D" X* a& b+ Z% g; Y
  1359. ; session hijacking when not specifying and managing your own session id. It is
    9 @3 B, J0 O& E$ C# e
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
      U1 f& V* M* N; q1 P9 `# ?
  1361. ; http://php.net/session.use-only-cookies( b" D2 a4 J. r0 l, T5 z
  1362. session.use_only_cookies = 1
    ! P8 i" K1 z0 m# V! B; B4 h
  1363. ; z& C4 c  P: V% ?" q, p+ f4 h
  1364. ; Name of the session (used as cookie name).
    : ^" n/ e; |. e. P
  1365. ; http://php.net/session.name. j3 e: N5 \$ e- K7 r! H
  1366. session.name = PHPSESSID8 \+ Q& d+ q( j

  1367. ! Q! @% R. T, Z' P( G/ s" s# ]
  1368. ; Initialize session on request startup.+ b9 I' o% K1 ^7 {' ^: o( z' o: V
  1369. ; http://php.net/session.auto-start6 w, s1 W2 n5 h" |& w
  1370. session.auto_start = 0
    6 h2 q7 j: K$ o- g2 Y

  1371. * \) E0 n; d, @2 t$ I
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.% b8 t: X5 R$ B+ \
  1373. ; http://php.net/session.cookie-lifetime
    + f/ j3 g; @+ ]- C; K
  1374. session.cookie_lifetime = 0- w' W# p& F/ f0 x8 C) X: |

  1375. ! n4 W: h- `" m8 W  |
  1376. ; The path for which the cookie is valid.
    ( _2 M/ A! w/ [1 k1 O( t) T
  1377. ; http://php.net/session.cookie-path$ f) `  E& Z6 i- l! ]+ }
  1378. session.cookie_path = /; ]( R5 _+ S# V! o

  1379. $ \2 |" Y" f0 b7 T3 g
  1380. ; The domain for which the cookie is valid.3 O* S& Y/ k( u5 S) S7 T% @
  1381. ; http://php.net/session.cookie-domain1 r3 E" U) s  ~' \1 g, m. E0 H
  1382. session.cookie_domain =
    0 Z1 v' M) A* T) N. E4 g

  1383. " E4 f0 p$ V  O1 u6 d9 f# Y8 h
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    . d/ j1 b8 _: ]: q7 B  k
  1385. ; http://php.net/session.cookie-httponly
    + x+ z; E: `# }  \
  1386. session.cookie_httponly =& \% F1 ]6 \. Y- P, P- J
  1387. 4 z6 {  B% g! `7 I* \
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    : Y& _9 `" x/ D: e/ D
  1389. ; http://php.net/session.serialize-handler, b; C* @, l* I
  1390. session.serialize_handler = php0 X+ G, W( u' f% C5 O
  1391. 1 x* X. l- d. M- @% M. P
  1392. ; Defines the probability that the 'garbage collection' process is started. `1 i; K$ e! a" ]1 T" T' F+ k
  1393. ; on every session initialization. The probability is calculated by using
    * n+ O3 i: |+ x$ D8 [) W5 S
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator. a" ?+ P: e  i+ K  o6 q
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    0 w1 E7 Z( i/ x5 a- t
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    ! B  h1 i" z6 N+ h4 }. G* w
  1397. ; the gc will run on any give request.
    " O1 A! l7 r9 |) ~% J% M2 r4 J
  1398. ; Default Value: 1
    6 f8 X; \. y4 x% p% O
  1399. ; Development Value: 16 W: p: Y0 ]! Z5 ?7 z2 R( `: r$ v% u
  1400. ; Production Value: 14 n5 b! F) N3 u. @! h5 Z
  1401. ; http://php.net/session.gc-probability
    # o! H1 {) K7 I' O% h8 _
  1402. session.gc_probability = 1
    ( \. _5 I  O( k9 ]
  1403. 3 d, v' N7 q7 E/ |6 D% r% B
  1404. ; Defines the probability that the 'garbage collection' process is started on every5 ^/ r, q/ L9 s, _1 b- {# T# k
  1405. ; session initialization. The probability is calculated by using the following equation:. z8 Q2 `4 S/ V( c+ X) P
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    % W2 N; V8 I3 P" t: w2 S9 X, w
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    ; [; U' p/ R9 {( J* z. ~+ r2 B
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance1 ]7 D( Y3 `7 G, g% h4 g5 h
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    4 R4 v4 J% D* w3 H8 k: A* s" U
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    ( T( Y: c8 x! ~! S1 v
  1411. ; this is a more efficient approach.
    # A: W- C3 i3 t! a9 @
  1412. ; Default Value: 100& U9 R/ U; o, U' b4 ~% H/ g) t# D
  1413. ; Development Value: 1000$ U0 m1 R; i4 j) T+ {1 J9 n
  1414. ; Production Value: 1000( L0 H: N! L4 U+ e7 E5 n( d, }
  1415. ; http://php.net/session.gc-divisor
    + I& A8 s+ A" H8 E4 Z
  1416. session.gc_divisor = 1000/ X: x- v3 B  c& g  |; w

  1417. 6 K  \- W0 H& B7 T
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    6 o4 X9 g) C) ^7 E# w9 T
  1419. ; cleaned up by the garbage collection process.
    : @$ M, L1 }% T2 D6 b. m
  1420. ; http://php.net/session.gc-maxlifetime
    * G& \: ^2 J  _, |0 @& U
  1421. session.gc_maxlifetime = 1440
    9 p& ]7 ~0 w/ s, q1 u; ]

  1422. : _) N$ M) K1 p
  1423. ; NOTE: If you are using the subdirectory option for storing session files9 B0 x. j) Q4 B; y
  1424. ;       (see session.save_path above), then garbage collection does *not*
    , E1 e4 a) \0 C9 }6 S
  1425. ;       happen automatically.  You will need to do your own garbage
    - L0 _9 Y& K. a# {- {* I
  1426. ;       collection through a shell script, cron entry, or some other method.
    0 ]* ~4 ?+ U) L
  1427. ;       For example, the following script would is the equivalent of
    - y$ ^7 E7 ^" U% J
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    - \: z% F: f( [% p8 K) i( Z
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    7 {  u3 G7 d% @$ l. X# d8 H- M

  1430. ! l& _1 a  n) w4 o% w
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    2 K6 h* f8 i! G+ W$ Q
  1432. ; HTTP_REFERER has to contain this substring for the session to be/ C; a6 w5 @6 Q* v
  1433. ; considered as valid.
    5 C, ]0 I/ @* o8 O9 V: ^
  1434. ; http://php.net/session.referer-check
      e. _/ U- F- E, B) n" Z
  1435. session.referer_check =
    6 L& \! k: @. e8 X& q( n
  1436. $ D9 S: m- f: g- N3 Q& A0 f
  1437. ; How many bytes to read from the file.
    " ]' z0 @  x# a1 J2 q" B
  1438. ; http://php.net/session.entropy-length& _5 Q4 j2 z% k2 A  @! _7 y! S
  1439. ;session.entropy_length = 32
    % G$ R$ u5 e# O; R% X! c9 P- }
  1440. 4 _3 w# L3 g5 M8 \  g- E. K  ~
  1441. ; Specified here to create the session id.
    8 Q0 k+ S& K* ]
  1442. ; http://php.net/session.entropy-file% S( J: H5 \$ `* U
  1443. ; Defaults to /dev/urandom
    , Y3 |& `  c, @/ N' T
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    - A5 L6 ^. I! ^3 h4 P
  1445. ; If neither are found at compile time, the default is no entropy file.$ N+ G" t7 \5 Q0 ?7 t
  1446. ; On windows, setting the entropy_length setting will activate the+ t$ F1 K  V* I) |
  1447. ; Windows random source (using the CryptoAPI)
    & p% x3 ?1 N; W  Y5 g( X; W
  1448. ;session.entropy_file = /dev/urandom2 v7 R0 k/ c5 t; ]$ ]1 b

  1449. # W2 h+ W# A# b; y8 H5 e
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects7 q: }8 v# {9 o- B7 u
  1451. ; or leave this empty to avoid sending anti-caching headers.
    ' ~$ o' J2 u: J
  1452. ; http://php.net/session.cache-limiter
    % b0 ]5 u* L$ u6 U* U" F% A6 e# d6 i* y
  1453. session.cache_limiter = nocache
    . d# X0 }. N# [  V$ W" U  Z
  1454. 3 C4 ]; \# N1 `! B+ x- T
  1455. ; Document expires after n minutes.
    8 m- ^1 |* Z. i% S$ d3 g
  1456. ; http://php.net/session.cache-expire
    5 `$ }' i: K5 L4 B6 N1 N9 [; h
  1457. session.cache_expire = 180
    & ^+ ^1 O. P$ ]. d
  1458. ' ]% ?# ^- b/ b8 L
  1459. ; trans sid support is disabled by default.
    9 f2 A9 p2 A; J: e+ T) L9 {
  1460. ; Use of trans sid may risk your users' security.' L2 ?) C% V. k& r- _0 X
  1461. ; Use this option with caution.: B( b$ B6 U" l4 @
  1462. ; - User may send URL contains active session ID
    ( B; H4 t5 R0 }. _5 q1 a% {- ]
  1463. ;   to other person via. email/irc/etc.. F, l1 N' ~! S. P
  1464. ; - URL that contains active session ID may be stored1 j8 B* W6 _6 Q: g5 i1 @3 ?
  1465. ;   in publicly accessible computer.: _" o$ C" C1 ?+ W" X, W
  1466. ; - User may access your site with the same session ID
    0 w) c4 B# K: t" }7 ^
  1467. ;   always using URL stored in browser's history or bookmarks.
    9 c: e$ w* n1 b, s. i; W/ B- c) W" I
  1468. ; http://php.net/session.use-trans-sid* C6 O) z5 S0 F4 l* B2 T* B
  1469. session.use_trans_sid = 0
    1 E' h; W* M! M6 W
  1470. ) Y: c, a* c$ S" B
  1471. ; Select a hash function for use in generating session ids./ z, w# p! E9 F
  1472. ; Possible Values
    ) ^. X  G5 W- i6 S/ n8 \7 a! d
  1473. ;   0  (MD5 128 bits)
    8 C) x0 G* j9 d) j: W( }; D7 s2 ^0 ]
  1474. ;   1  (SHA-1 160 bits)0 W4 f6 d9 E5 A! b
  1475. ; This option may also be set to the name of any hash function supported by
    2 Z5 r; L; ?2 A
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    / W. Z0 h" z7 h2 I8 t
  1477. ; function.; _& @, N+ O- I$ y
  1478. ; http://php.net/session.hash-function
    + v7 Y5 ^3 o1 c9 `& C4 U
  1479. session.hash_function = 07 @9 |; R$ g( A3 f6 q5 {4 _5 Y

  1480. 0 C  N1 C( h, b- ]! H2 B5 d9 ]
  1481. ; Define how many bits are stored in each character when converting
    / c. M" k" @, K7 Y8 |. ]. a
  1482. ; the binary hash data to something readable.
    % q' t; m8 C7 J8 G) G8 {% \' v
  1483. ; Possible values:, a. b( y' R( T8 `2 v. ~! h6 f
  1484. ;   4  (4 bits: 0-9, a-f)
    , p# O% I% _% A
  1485. ;   5  (5 bits: 0-9, a-v)+ o; \8 f9 c" j
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    8 c0 j# l4 H4 U3 l6 U4 o4 s
  1487. ; Default Value: 42 L% Q5 ]/ }' R5 Y4 K
  1488. ; Development Value: 5
    8 h- F: S9 J' v6 M2 q
  1489. ; Production Value: 5
    0 H3 T+ p/ F4 x
  1490. ; http://php.net/session.hash-bits-per-character
      M6 ?/ M8 B% ^1 f
  1491. session.hash_bits_per_character = 5
    / H4 f/ D- g  S1 f$ [* V
  1492. 1 Q9 p- U7 R. n& b9 q4 n" H% s
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    * R3 y; y5 j( [0 i2 Y1 Z8 J- q) @
  1494. ; form/fieldset are special; if you include them here, the rewriter will9 I5 s+ @9 \% G5 }
  1495. ; add a hidden <input> field with the info which is otherwise appended
    - I0 ^% E; A9 u2 {( B! C" Y
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.9 }  w! G! _/ j
  1497. ; Note that all valid entries require a "=", even if no value follows.
    ; A' E2 ]4 z3 B- a
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    6 g1 Y& N0 r8 e2 V  I
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    8 Z1 D& f, q6 K) Y/ @( U* N& Q& X1 [8 b
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"- ~$ T  C" G9 Q, B5 s
  1501. ; http://php.net/url-rewriter.tags
    % f. k% M% {1 P( C  V% _; N
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    / w: n' ^5 g2 k
  1503. ' |, r, O7 j+ _+ u  {8 P
  1504. ; Enable upload progress tracking in $_SESSION
    ) a7 r- D; ?+ _/ G- M& a) Y' s) r
  1505. ; Default Value: On
    , T+ n1 m/ s8 C' x% d: A4 X
  1506. ; Development Value: On
    ( {4 I2 E/ K$ q4 O+ f5 K+ M6 i$ x
  1507. ; Production Value: On' h1 p4 X" |- S  _
  1508. ; http://php.net/session.upload-progress.enabled2 k  W3 @  k: R, t# D
  1509. ;session.upload_progress.enabled = On. \3 b. k! U, H) C& I/ X
  1510. 0 d; z4 E# V4 O" d
  1511. ; Cleanup the progress information as soon as all POST data has been read0 s9 u' k' E, s( V0 f7 u
  1512. ; (i.e. upload completed).
    4 I& A' {- c+ i+ }# D- ?' @5 [
  1513. ; Default Value: On
    & I# m% z$ O. @
  1514. ; Development Value: On0 i3 z, X9 t  F- N7 ~& Z; Z
  1515. ; Production Value: On
    + z: y* X5 f; Z, d) A/ `
  1516. ; http://php.net/session.upload-progress.cleanup
    + o9 o% v2 ]' M, V
  1517. ;session.upload_progress.cleanup = On" F* D$ K* e8 U/ q" X0 h
  1518. : t  y# c5 @# _" B# k
  1519. ; A prefix used for the upload progress key in $_SESSION
    ( s/ Q9 p% K5 Q8 y4 \( r+ q# c
  1520. ; Default Value: "upload_progress_"( D, H, x) H: [) e5 d$ f
  1521. ; Development Value: "upload_progress_"" _! ], e0 J: [
  1522. ; Production Value: "upload_progress_"
    , J: [+ z' f: e$ ]$ s
  1523. ; http://php.net/session.upload-progress.prefix! }- P; o, g+ C( |3 J
  1524. ;session.upload_progress.prefix = "upload_progress_"+ ^6 i  q, l0 r5 h& }
  1525. ! F3 h2 o" L, E6 C% g) b6 b
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    + J" a3 P5 h$ V3 o
  1527. ; containing the upload progress information: t7 p; N$ |; p2 o( c
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"# t4 G# H; L. b4 C5 |6 z2 t
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"1 O& _& l- j" S* A4 l8 n  E+ @
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ) z( t% h8 x- J0 q7 v
  1531. ; http://php.net/session.upload-progress.name
    ! R# R# m) F2 `  O6 V) ]3 ?6 I8 g
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"5 T5 E0 e$ b. R9 j( ^$ {

  1533. 7 \- E8 w9 t, X# v" C
  1534. ; How frequently the upload progress should be updated.) Z$ Q: L1 E) r2 d
  1535. ; Given either in percentages (per-file), or in bytes1 T  K) e( p( \* s5 J+ x" y+ j
  1536. ; Default Value: "1%") v( Q; T) d6 A* J  _
  1537. ; Development Value: "1%"+ t/ G# C  _  c7 P' n9 U! J
  1538. ; Production Value: "1%"
    ( ?) ]8 p1 P) C9 `6 M, U
  1539. ; http://php.net/session.upload-progress.freq/ x6 x- R% y4 l1 {( P) ]. x
  1540. ;session.upload_progress.freq =  "1%", i& C1 N% r6 H0 |  d
  1541. ' l) E  p8 u2 L; I) s1 |
  1542. ; The minimum delay between updates, in seconds
    2 b+ T3 J5 P9 A; P0 N
  1543. ; Default Value: 1& N+ X5 A1 T' I2 ^
  1544. ; Development Value: 1
    1 T  x% a% ]& M
  1545. ; Production Value: 1' k/ I2 U( x/ k6 N7 J
  1546. ; http://php.net/session.upload-progress.min-freq
    8 c% v" c4 m4 `3 X4 `
  1547. ;session.upload_progress.min_freq = "1"
    8 ]  _- V9 _5 w3 ?) E
  1548. ; d1 ~+ U7 H5 K/ S8 L
  1549. ; Only write session data when session data is changed. Enabled by default.
    " e8 _1 G: ]5 R1 q6 w+ E6 `
  1550. ; http://php.net/session.lazy-write/ e: |$ E9 T6 r8 M
  1551. ;session.lazy_write = On% }/ F9 u) L+ ?' n4 k
  1552. 4 T7 j- `$ V; P! e
  1553. [Assertion]
    6 {: ]! f! N$ ~3 ^3 O
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    - {, w1 k8 S' A. o
  1555. ; -1: Do not compile at all
    % r, N' X! x% W! J5 D- `; a7 T7 s$ w% m
  1556. ;  0: Jump over assertion at run-time$ {: I) m' T$ v' p% ]4 ]& T
  1557. ;  1: Execute assertions
    2 O# l/ `+ A; [) ~( V5 V3 h
  1558. ; Changing from or to a negative value is only possible in php.ini! (For turning assertions on and off at run-time, see assert.active, when zend.assertions = 1)+ ~0 F* O# w) k8 v" ]7 q; H
  1559. ; Default Value: 1
    ( B% d6 k  `8 m& h$ ?
  1560. ; Development Value: 1& ]# o' k, f( a$ I
  1561. ; Production Value: -1, C5 |4 m- K" z. _, J, u* r
  1562. ; http://php.net/zend.assertions, b  {) u: N0 I/ k) O/ K" v( w
  1563. zend.assertions = -1* A1 N7 m7 [+ _
  1564. 8 v' S, ^6 o7 M% Z
  1565. ; Assert(expr); active by default.
    & A' |9 d' f) b& g+ n0 b, e
  1566. ; http://php.net/assert.active' O% I9 r, E" n" C7 ?3 V
  1567. ;assert.active = On
    3 f  z; _* s2 b. ]6 {) _
  1568. 2 L; ~1 ?4 H5 G" c
  1569. ; Throw an AssertationException on failed assertions
    ! r) u/ T6 a0 c/ n2 n5 d
  1570. ; http://php.net/assert.exception
    0 ^0 I& `+ S+ w! v
  1571. ;assert.exception = On
    0 V) n$ T/ n0 `$ C; ]5 m
  1572. 1 Y1 A$ V2 v/ h4 X$ H; L! {
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    ! V0 P* u3 B* w2 f% {% i
  1574. ; http://php.net/assert.warning2 r/ O! u. Z) ]/ T- }6 z
  1575. ;assert.warning = On5 _$ e7 _2 r5 i: N! M
  1576. 1 D. u2 D. c6 @  D3 t' s
  1577. ; Don't bail out by default.
    " O! Z" x9 y* p6 W/ j% ]
  1578. ; http://php.net/assert.bail* h0 m" V# t  S  P
  1579. ;assert.bail = Off; r& X/ ~+ o% l# m7 C
  1580. : z8 g% |5 J; h) a& _- z
  1581. ; User-function to be called if an assertion fails.
    2 G: c, x' I( O4 `) Z! c
  1582. ; http://php.net/assert.callback- v  n+ [& p2 V  J, G
  1583. ;assert.callback = 0$ ?* C* e1 f7 i; @0 y# w
  1584. 6 n$ Y2 }" P5 }: c; R
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    1 n1 ?# K$ b' p* b* P
  1586. ; error_reporting(0) around the eval().
    $ C8 z' P4 @! b" u. a2 \5 |
  1587. ; http://php.net/assert.quiet-eval5 j. z0 z0 H5 r+ ^
  1588. ;assert.quiet_eval = 03 {! M  E, P- p3 _9 U# a( [0 I
  1589. - D& Y8 d6 e3 {4 C6 g- l/ J( T
  1590. [COM]
    8 b" b$ ]  t( u+ ]0 l% I/ b
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    , }2 V2 e4 O/ t
  1592. ; http://php.net/com.typelib-file
    & n$ U5 F, k! k# O
  1593. ;com.typelib_file =5 P  g: v" I& R5 K/ y% d

  1594. * G+ ]+ ~  l- F
  1595. ; allow Distributed-COM calls
    5 |1 x0 i# v8 i0 J# ?+ v, S) Z
  1596. ; http://php.net/com.allow-dcom  ~, L! c  m' r* y+ k/ C1 M6 ^! i
  1597. ;com.allow_dcom = true& k( u9 ^+ K7 V8 B
  1598. - p6 [  M* D1 e9 O5 a7 q. S) L
  1599. ; autoregister constants of a components typlib on com_load(): `# [4 h- q/ a6 h& ^5 K
  1600. ; http://php.net/com.autoregister-typelib
    : W9 B6 ^9 {( _3 S$ U
  1601. ;com.autoregister_typelib = true
    7 j9 `3 p4 a7 H) k) z6 {

  1602. + B$ z/ l$ M6 r5 m$ ?
  1603. ; register constants casesensitive6 f$ w7 ?! {, m' y! V7 ^2 S+ t& V5 {
  1604. ; http://php.net/com.autoregister-casesensitive* g. c9 x: q' `4 K& w
  1605. ;com.autoregister_casesensitive = false) z3 A, R' d3 z2 ~! w& |

  1606. 2 [) F$ ?) S. F" q6 }! X  _
  1607. ; show warnings on duplicate constant registrations" l, R! t1 f. A& s; ]  v+ m: P& b7 a
  1608. ; http://php.net/com.autoregister-verbose$ P* |& v9 Y( K. U! _4 O
  1609. ;com.autoregister_verbose = true
    & H  e$ D) a* r/ k& `! D  b: R7 K
  1610. " y2 ]$ d; j. L2 C6 |9 H* s
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    1 u0 Y. L% ?0 b" o, h
  1612. ; Default: system ANSI code page8 F8 Q7 N& ?% a  y( k6 M
  1613. ;com.code_page=
    : J, \3 @4 v  K# P% K: ]4 _1 D

  1614. ' ?  s' ?* \4 t
  1615. [mbstring]
    $ D3 ]; p! A. |. j& _# C9 N
  1616. ; language for internal character representation.
    , j- @6 V6 a- ?+ ]1 P9 p: w4 h
  1617. ; This affects mb_send_mail() and mbstring.detect_order.; p! ?! L+ z8 B: p# D, V
  1618. ; http://php.net/mbstring.language$ w0 ^* N+ B3 e; |: R* w
  1619. ;mbstring.language = Japanese6 e$ Z$ F9 p8 D  j7 D. }

  1620. / E3 g4 {- c( Q0 S& \+ p: n* t
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    7 g( d6 o4 c% |; K8 H$ f2 `/ V
  1622. ; internal/script encoding.
    % P3 J/ k% X" x; v2 ]2 x& f
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*); I0 x2 a1 d' V2 C  B9 c
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.5 Q0 i0 W# c) d5 ^3 h
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding9 {; v( Z' ~! I5 _7 e8 I, A
  1626. ;mbstring.internal_encoding =- [2 M( \. Y3 m& a+ L, l
  1627. 1 ]9 ]3 W8 t( M- V( h7 T! p
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.+ e4 o$ q: F; A( ?: m7 ^9 Q
  1629. ; http input encoding.# y! ]$ O" s7 r
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    ' T+ [! @8 R7 H4 e
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    ( \+ Q. ]) \) C4 G. Z4 E% O
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input: I2 k2 D9 Z& p( L( z
  1633. ; http://php.net/mbstring.http-input
    1 ~7 u' x& q" ?( I- M/ J
  1634. ;mbstring.http_input =
    ! H( v$ b- m! a$ d! S! m( a0 H! T9 k
  1635. 2 O7 o, \9 h5 }5 F4 R
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    4 w9 a$ D/ S( k1 |! ^( \! q3 y
  1637. ; http output encoding.
    6 X9 o8 c$ q. r3 ^3 p  M
  1638. ; mb_output_handler must be registered as output buffer to function.
    ; e7 ~# C  @9 d7 @; Q- a" y* @4 ]! ?
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.4 T) y0 j0 y) f% U" u, r
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output+ }  g* l% ^( \
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    + g  Z% [  R( }7 E# S! P
  1642. ; otherwise output encoding conversion cannot be performed.7 c; w7 Z% x$ \7 g' I9 W
  1643. ; http://php.net/mbstring.http-output+ n( U" `& Q# n3 e: j
  1644. ;mbstring.http_output =0 {1 ^; o' X( y8 O5 m2 n* z

  1645. 8 Y( R* r. m$ o1 p% H( s4 j5 b
  1646. ; enable automatic encoding translation according to* b* P1 I2 y" k- P4 l  G
  1647. ; mbstring.internal_encoding setting. Input chars are
    3 P+ ]* P' c7 }  l5 C0 y
  1648. ; converted to internal encoding by setting this to On.* t" T2 |8 r/ ]4 R
  1649. ; Note: Do _not_ use automatic encoding translation for
    + ]& S: r4 [. ?# Q7 J9 D
  1650. ;       portable libs/applications.1 u8 L* V4 o1 S) e8 q+ a( g
  1651. ; http://php.net/mbstring.encoding-translation+ @8 ^% B" d8 x7 p1 N. E: a: D1 Z
  1652. ;mbstring.encoding_translation = Off" p7 E% W2 @  |. n% l  G

  1653. 2 N5 ?4 m* B5 w0 N
  1654. ; automatic encoding detection order.' m7 g2 |" d8 U( ~: R5 c" h
  1655. ; "auto" detect order is changed according to mbstring.language& B6 U0 O3 ^  a6 z
  1656. ; http://php.net/mbstring.detect-order
    6 ?% t; d) p4 \6 b0 d4 F) ~$ ~; q
  1657. ;mbstring.detect_order = auto
    ; t, Q0 x9 x2 h

  1658. ) D! \! U2 F& `% _
  1659. ; substitute_character used when character cannot be converted
    $ Q' R" k" p% v
  1660. ; one from another' \+ w. y6 Y7 s1 P1 G& w- A
  1661. ; http://php.net/mbstring.substitute-character# J7 O% ?  e/ w" J6 S1 k6 J$ V
  1662. ;mbstring.substitute_character = none
    , X! T2 q6 t: B. n) Q: C
  1663. * C+ ]% S# Y; I0 a$ Q$ m
  1664. ; overload(replace) single byte functions by mbstring functions.
    . j( U9 J8 O& O* M6 w) G% N
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),( S9 i( k, I* I  ~  Z
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.7 o# w+ c+ c) D
  1667. ; For example, 7 for overload everything.$ _- M3 n+ C& f( p
  1668. ; 0: No overload" ~% a. w( @7 X& ~
  1669. ; 1: Overload mail() function
    3 w/ a7 \! U" {) J1 }2 E
  1670. ; 2: Overload str*() functions! ?) L, |2 k- g. C
  1671. ; 4: Overload ereg*() functions
      M( j4 l4 g: b) c: d
  1672. ; http://php.net/mbstring.func-overload
    . j6 t5 T6 d6 e; h' B! X1 Y7 L2 h- h
  1673. ;mbstring.func_overload = 0
    5 B  W9 t5 F0 ?( \% ?4 A4 K
  1674. $ }* o2 j- i5 _7 P9 r
  1675. ; enable strict encoding detection.
    % ~* Q" J9 z: Y$ j4 n: U. l+ }
  1676. ; Default: Off
    4 b, R- M8 o$ O: z& a9 Y
  1677. ;mbstring.strict_detection = On
    4 m0 H/ [2 `+ d7 I+ |
  1678. ' w1 w/ b: o' p( N  |: `
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()4 K5 V- q6 D7 @6 L1 L( ^
  1680. ; is activated.
    4 g$ t1 c: h2 t
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    6 _3 i1 Z( D8 c8 W' |
  1682. ;mbstring.http_output_conv_mimetype=6 d" ]1 q" ~3 n

  1683. ( p4 j6 }6 M1 ~) }
  1684. [gd]3 s; M$ k1 O) P
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    " ^7 }+ ?7 i, B# ]
  1686. ; a gd image. The warning will then be displayed as notices
    / s6 O  t# W- R4 {& C4 x
  1687. ; disabled by default5 t+ V  N# q1 Z: ^, m, I* X
  1688. ; http://php.net/gd.jpeg-ignore-warning
    ; T$ E  u5 q* m$ E3 K% u
  1689. ;gd.jpeg_ignore_warning = 0
    7 v  L) ^' o- m8 w' M

  1690. 0 f: T) X9 q# h- q9 |2 e
  1691. [exif]
    8 k% R: P7 O/ z0 E# S
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    * G* n% ^5 }1 G4 l
  1693. ; With mbstring support this will automatically be converted into the encoding
    . S- V7 z5 l# V4 Q
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding/ {- V7 }# x/ d5 m& D- s
  1695. ; is used. For the decode settings you can distinguish between motorola and
    * }" {5 V$ j+ L
  1696. ; intel byte order. A decode setting cannot be empty.0 A: e" e1 d5 h1 v5 T/ c! S
  1697. ; http://php.net/exif.encode-unicode
    & o" j  x3 a: _! `/ Q: l) }& S
  1698. ;exif.encode_unicode = ISO-8859-15  Y: H* Z; W2 R/ z' P$ X$ ]
  1699. ( R2 t. A6 M' {# J
  1700. ; http://php.net/exif.decode-unicode-motorola5 t# d" y4 u" t  D. L
  1701. ;exif.decode_unicode_motorola = UCS-2BE- z" N) E5 k' x+ Z+ @7 v8 ?
  1702. $ s* K1 h6 ]( ]/ W
  1703. ; http://php.net/exif.decode-unicode-intel+ N4 [5 A/ Q3 F' a
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    3 X* [( O" p- e6 M) b& A! L& ~
  1705. 9 m5 X' B- ^$ |
  1706. ; http://php.net/exif.encode-jis5 o) e5 m. f3 m# F
  1707. ;exif.encode_jis =
    ) L  b1 V. E/ _3 _! M( E& L

  1708. 6 ^2 p) Y% O$ d6 A: v  P
  1709. ; http://php.net/exif.decode-jis-motorola
    * ^9 N% S+ z0 o( D, {
  1710. ;exif.decode_jis_motorola = JIS
    / H6 J! P  U+ f# Y$ h+ A6 K
  1711. : b/ L- Q9 N$ l; L) i$ K, z
  1712. ; http://php.net/exif.decode-jis-intel
    , ^% L2 w# {: O5 F
  1713. ;exif.decode_jis_intel    = JIS# p4 i+ G! {3 y6 g& u0 m7 M6 X  Z

  1714. 0 S8 t3 N4 y# |6 d
  1715. [Tidy]( ?& Q$ ~/ u9 p0 o& Z3 X' n+ [9 Y
  1716. ; The path to a default tidy configuration file to use when using tidy
    8 D6 X) o$ T* W
  1717. ; http://php.net/tidy.default-config
    . v) `2 _6 Z4 J' l
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    ) ?1 J$ E  C- e9 ~; p  y: y. e' _! _

  1719. $ n$ h$ F! S2 [: Q; E6 |
  1720. ; Should tidy clean and repair output automatically?5 b( d; l$ a! R% e& Z+ U4 L7 C' ^" Q* O
  1721. ; WARNING: Do not use this option if you are generating non-html content
    % J3 V: S: v7 Q3 k" p
  1722. ; such as dynamic images
    4 Q; R; p+ t1 x  t
  1723. ; http://php.net/tidy.clean-output
    2 J/ E' ]9 @- U) U2 {
  1724. tidy.clean_output = Off( e6 Q- Z, T" @- n) _( }2 d1 s

  1725. + Z! N& O- @+ k8 G
  1726. [soap]
    0 Q( m8 A0 h+ n
  1727. ; Enables or disables WSDL caching feature.' E4 Q6 L& w2 R7 o  s4 I3 c
  1728. ; http://php.net/soap.wsdl-cache-enabled
    0 Q' G$ U2 \8 d$ m% f. n/ |( W
  1729. soap.wsdl_cache_enabled=1
    9 Z# a7 Z: s" u: T( P( Z

  1730. + L4 w" |: P: G/ ]6 ]
  1731. ; Sets the directory name where SOAP extension will put cache files.; f9 U7 j2 _( a" W# X% o* V, @" Y
  1732. ; http://php.net/soap.wsdl-cache-dir4 c* k$ z' g( ?3 q2 d4 b( }
  1733. soap.wsdl_cache_dir="/tmp"
    7 ?* {* B6 S& W: M3 h  l: l1 m3 B+ Z
  1734. 1 P9 Y, D* N$ F) H( \
  1735. ; (time to live) Sets the number of second while cached file will be used; n$ h  _$ e9 r9 f
  1736. ; instead of original one.
    / n+ D3 e& s$ S
  1737. ; http://php.net/soap.wsdl-cache-ttl! r" n+ p% r  n; @5 c
  1738. soap.wsdl_cache_ttl=86400; x' y* b& E$ \% R8 [7 }+ b  I
  1739. 9 l/ Q' x& a, H3 `. }% Y/ E
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)! F0 Q; T  C2 ^* X7 L( r
  1741. soap.wsdl_cache_limit = 5+ d* o1 `8 m( ?/ o+ G
  1742. - y4 K: C1 G' F% e
  1743. [sysvshm]7 M  Z  j5 K  V* K7 Y, k  \# r3 u8 ]
  1744. ; A default size of the shared memory segment
    / r% Y  p( ]! _$ P: G( `$ q8 ^. |
  1745. ;sysvshm.init_mem = 100008 G5 Y# @! m, ^

  1746. ( b/ B4 C3 A$ Q
  1747. [ldap]
    / T' X* {1 d2 R' L7 X& t2 K
  1748. ; Sets the maximum number of open links or -1 for unlimited., g+ \: Q% q0 q2 i3 y4 b' w
  1749. ldap.max_links = -1
    + r" x7 D8 |, \, r- n: T- v
  1750. , z9 |9 N5 F: k0 r/ ?' f
  1751. [mcrypt]
    . Z4 p' @& \2 ~$ v- i3 q4 q
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open) l! T1 A0 M! j! l

  1753. ' @0 _( o, |6 D* N7 G" {8 V& J: M
  1754. ; Directory where to load mcrypt algorithms
    . }/ }' i. E, j! w! B3 Y
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)) ^- r1 k8 M, v% o4 u' f* Y# f
  1756. ;mcrypt.algorithms_dir=
    5 _2 e" E2 D" y) o& H% \9 }

  1757. 5 S$ a1 N0 j4 M6 z
  1758. ; Directory where to load mcrypt modes% r+ R! d. l1 r: s6 d6 p
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ( a3 S1 m3 S* L/ _7 z
  1760. ;mcrypt.modes_dir=' |* a1 U; G: u# m5 l4 Q0 v

  1761. ! c  t/ f7 _2 l6 r5 p; h/ q: i
  1762. [dba]
    4 [) v& w& A, j# ?
  1763. ;dba.default_handler=% t) }, i3 e, E
  1764. . S! H8 \7 }$ B! E
  1765. [opcache]
    2 V: Q# y3 ^; _& O# Y1 G
  1766. ; Determines if Zend OPCache is enabled
    7 m( u0 Z. l: H' j) V
  1767. ;opcache.enable=0, R0 m+ v% I  m  K

  1768. 5 q- u- X9 }2 z& F: N5 _
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP( y. A2 p; v$ n. h3 _6 v4 \+ G3 U
  1770. ;opcache.enable_cli=0
    4 R/ o# [& c- r: Q

  1771. 6 w6 k# t3 ?5 w+ j. a" r2 ?% ~# }
  1772. ; The OPcache shared memory storage size.0 ~* A( H. o  O5 N: M/ e0 m
  1773. ;opcache.memory_consumption=64
    0 Q/ v5 k. X# ]" w# C

  1774. * i* g( G6 C% e# y1 W# E, h
  1775. ; The amount of memory for interned strings in Mbytes.  K& h! b9 u* Z% H; C; @! h
  1776. ;opcache.interned_strings_buffer=4, c% z  q: J: k
  1777. " M. v. T5 W4 T+ k& r
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    & |) m- s0 ~4 o' O
  1779. ; Only numbers between 200 and 1000000 are allowed.6 r' {) B/ P9 K0 d8 \( Y
  1780. ;opcache.max_accelerated_files=2000% U' F+ Y9 M/ w8 m' I; _3 z2 S

  1781. 4 \' @. ^. I1 p; ^! v
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.' E- P6 ?& @( H+ x' K7 F) W
  1783. ;opcache.max_wasted_percentage=5
    + p  I8 M0 W  X$ m
  1784. : \+ r; K. e' E, }" M5 z) S
  1785. ; When this directive is enabled, the OPcache appends the current working9 M& p3 m6 l0 `. U
  1786. ; directory to the script key, thus eliminating possible collisions between
    ; z) p. i; f7 m' r- f3 C; k
  1787. ; files with the same name (basename). Disabling the directive improves2 Z; e; M; m  Z
  1788. ; performance, but may break existing applications.
    + u* E1 E9 J0 T
  1789. ;opcache.use_cwd=16 H) b& V3 V2 D& E
  1790. - h* F; N# R% M6 O
  1791. ; When disabled, you must reset the OPcache manually or restart the( F! \3 f/ X4 m3 S3 n7 M
  1792. ; webserver for changes to the filesystem to take effect.5 Z: t; y$ V0 u0 e. B
  1793. ;opcache.validate_timestamps=1! R% k) x- M2 E( u; T; b
  1794. & H1 e7 R/ ]4 z( ]/ G
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    + Q! m1 G* ^8 u2 H% A6 l2 h! M
  1796. ; memory storage allocation. ("1" means validate once per second, but only+ i) V; T, R) U& j9 h4 x: a8 L
  1797. ; once per request. "0" means always validate)
    ! L: S" w# l0 }1 C, `& T3 ~: `
  1798. ;opcache.revalidate_freq=2
    + e" o# l. {/ }0 j: S  n
  1799. " p/ w, M' T& G
  1800. ; Enables or disables file search in include_path optimization
    6 o3 l0 o* [" F! J% }2 z) D
  1801. ;opcache.revalidate_path=0
    # e2 L  ?$ F( X4 V- N  r* {' a4 s
  1802. ; j" Q& _2 K* c: f
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the: k) d  {. W- F# @- H: Q2 I% j
  1804. ; size of the optimized code.
    0 n) e  ]7 K) b$ b' t
  1805. ;opcache.save_comments=1
    5 C! O# r7 U( |% ~0 r$ B

  1806. . w5 D- @* U/ I- z
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    " K5 y8 W2 N' [( r' J7 B
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.* M: F  b" U: N8 w+ H9 k( ?% B
  1809. ;opcache.fast_shutdown=0: T7 C* E2 U4 I1 j

  1810. / \/ N% K+ h& I/ d- @. I
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    1 V7 ?  D9 I( P# ]" r! k1 |
  1812. ;opcache.enable_file_override=0
    1 W* k0 D6 t% f$ @' ~- {

  1813. - j7 |; V: S# S- V* `3 t
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache, p2 _7 Z7 ^3 ]! Z/ g
  1815. ; passes* L% ]5 q/ w" B4 {, m  I
  1816. ;opcache.optimization_level=0xffffffff
    2 w$ f( w0 q2 E8 w* D5 W1 N1 Z

  1817. # B, N7 o/ t2 y9 c/ y2 h
  1818. ;opcache.inherited_hack=18 ?. R! V5 g: S0 o% p9 w& p2 D
  1819. ;opcache.dups_fix=01 K% ]$ e( V9 A* t; l- ^

  1820. ( o4 u# q- J3 w1 r: @+ N
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    9 y8 f% p3 }* E6 ?
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    : U% F, r0 \5 ]$ ~* \
  1823. ; that should not be accelerated. The file format is to add each filename7 d# Q: R" ^+ g6 o# T3 a% |
  1824. ; to a new line. The filename may be a full path or just a file prefix
    * U4 _1 I. D& i% I$ S
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    6 I5 M) ~7 t, ^, P% X& ]% k
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    ! T# i* L+ V* W3 c" O- ?
  1827. ;opcache.blacklist_filename=
    3 J" Z9 a1 Q3 c3 c

  1828. - X8 k% u9 g* s
  1829. ; Allows exclusion of large files from being cached. By default all files( I0 Y4 t1 I, H. u1 x
  1830. ; are cached.
    3 ?6 J2 d* T2 `0 _
  1831. ;opcache.max_file_size=0
    - a. M9 o3 f- m$ U

  1832. 7 i& M: y. i/ R' B
  1833. ; Check the cache checksum each N requests.
    * R1 ~3 B2 _  r( {6 c* l
  1834. ; The default value of "0" means that the checks are disabled.
    % Z5 @8 C* m: H% D( j. M# N7 A0 T0 o4 ?  s
  1835. ;opcache.consistency_checks=0
    1 M. J1 ~& K! ^5 R/ D* W

  1836. ! [+ A7 C* V4 f# x8 l
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    ) N8 [- Z1 B5 u( U) [1 Y( g1 {) L
  1838. ; is not being accessed.6 l4 `3 k( M3 N4 z- L' ]1 b$ L
  1839. ;opcache.force_restart_timeout=180
    - Q$ Z! X: Q' W" Z1 Y, x& L/ O

  1840. $ ?/ ^# o8 e9 G) a' n  E0 r) T
  1841. ; OPcache error_log file name. Empty string assumes "stderr".8 M% |2 C6 y* O, z) S
  1842. ;opcache.error_log=
    0 a3 ?, L2 W! G/ w

  1843. 4 a2 ^- U& Y9 `% F
  1844. ; All OPcache errors go to the Web server log.2 ?9 H( P( q+ u& r
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    ! B+ e/ I% @, ~
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    3 ^0 m# c' l( O+ y
  1847. ; debug messages (level 4).
    0 w; p& a' L6 R% P& l- ~4 r& d
  1848. ;opcache.log_verbosity_level=1
    5 f+ Q6 _2 _+ C% j& j' `+ o
  1849. 3 y' U( O, H. V6 Y
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    3 I/ X% H: k7 ?1 r9 b7 q* ^
  1851. ;opcache.preferred_memory_model=& C5 F, J5 B' k2 A' f# N

  1852. 3 x- j/ |1 r) o. N" r. v7 I
  1853. ; Protect the shared memory from unexpected writing during script execution.) ~. Q! _. j1 B+ n: v
  1854. ; Useful for internal debugging only.3 X3 t! X( f  U7 ?2 L
  1855. ;opcache.protect_memory=0% e: q5 s. [& y' j2 }8 z+ \

  1856. * h% v3 X( }. f; }
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    2 I! U) ^* g  j
  1858. ; started from specified string. The default "" means no restriction
    4 ], V/ r5 d$ E: v
  1859. ;opcache.restrict_api=5 p& R, u1 @7 t) |: y; A
  1860. ; S0 {& v0 {9 F
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP3 R& z, Q' |6 |8 }( M
  1862. ; processes have to map shared memory into the same address space. This
    : J9 D: d1 p8 G8 F5 I3 e
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    # A, Y3 [. c8 P
  1864. ; errors.  Y8 E  A: W8 r2 h
  1865. ;opcache.mmap_base=, R, E+ @5 P( n/ A9 [1 j1 G

  1866. , C0 Z9 E2 X2 f
  1867. ; Enables and sets the second level cache directory.
    ! d6 \& R' r0 D' }$ D; i  r
  1868. ; It should improve performance when SHM memory is full, at server restart or% s! r- Q3 ~& O# V: f$ f4 z
  1869. ; SHM reset. The default "" disables file based caching.
    1 t3 @* i# o$ T  x* E( a
  1870. ;opcache.file_cache=& d  \! x2 w; Z/ |
  1871. 5 K5 Z( w9 }9 s( {5 T' A+ i7 {
  1872. ; Enables or disables opcode caching in shared memory., w7 O9 [; @: @7 t7 d- n2 t
  1873. ;opcache.file_cache_only=0
    , f; E% A8 R4 o1 W  ]# i5 T& j
  1874. + Z4 V, D8 t8 _2 O( ]- D% J8 z
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    1 I+ E$ a' f5 |/ H% [" w" L1 k1 g
  1876. ;opcache.file_cache_consistency_checks=1% C$ a. i9 I( X) K

  1877. - s: n6 J  U' ?" W2 m' I
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to# p, w  l2 ?( i' _* D* ^: M5 V
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    " F- C* [" K$ V8 W- E* G
  1880. ; cache is required.
    $ j3 _) h# A+ q3 e# J3 j
  1881. ;opcache.file_cache_fallback=10 i+ O/ w" b3 w/ C) c

  1882. ; B5 B# ^! x6 ~; t
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.6 `% ^/ {$ l! E7 M; q. {2 L
  1884. ; This should improve performance, but requires appropriate OS configuration.1 x( |! [; m# G/ E) u. S( e
  1885. ;opcache.huge_code_pages=1
    ! f% x5 s6 R. K
  1886. , c  B" a: u8 e$ C
  1887. ; Validate cached file permissions.6 p  `9 u: l5 J) M6 \# H
  1888. ; opcache.validate_permission=09 D* r  m" g4 E3 _# Q3 x

  1889. / u0 d  @+ [) q) T0 ^
  1890. ; Prevent name collisions in chroot'ed environment.( t# O# ?1 v% e8 m' Z
  1891. ; opcache.validate_root=0
    ( u7 l3 G/ C: B) C+ c* [
  1892. 2 m- y7 l* U  S$ O
  1893. [curl]
    ( R: ?$ m; i; Z% t  |
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an7 e0 b& H) N1 ^( `
  1895. ; absolute path.
    # m1 u( O' R* c, `" h% e( W2 y$ N
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt' L: q3 x" A. ]) D# U9 L, w
  1897. 9 N- S1 d& ~5 {6 A5 T
  1898. [openssl]
    # L# w) G, K4 |; q, @! g: g
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    $ Q1 d3 P3 t/ `: j
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should- j/ f2 N  ]  m& i6 c7 j
  1901. ; not specify a value for this directive as PHP will attempt to use the4 d( V" R# z" j  Q# ]
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    * c8 F9 S( o0 G" R$ H3 \
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context- O0 f% Y- J7 i0 W
  1904. ; option.
      f. W; x  X* b" c2 E+ }* r
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt4 S6 y" ^. k) h5 O

  1906. 2 N0 ?, E9 t; g1 j
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the" @" o; R8 S) s; \5 l/ W0 [
  1908. ; directory pointed to by openssl.capath is searched for a suitable& Y! `: r- @1 x! j% o) e1 C. |
  1909. ; certificate. This value must be a correctly hashed certificate directory./ m7 h) |- N% p( I& a/ p7 k* V
  1910. ; Most users should not specify a value for this directive as PHP will" K6 |/ _2 i( H1 s* y
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,) B9 Y) A. Q( @: d6 ]8 |
  1912. ; this value may still be overridden on a per-stream basis via the "capath"% `, s( m( N7 Q; r
  1913. ; SSL stream context option." }2 P9 g' V% D0 C2 ]
  1914. ;openssl.capath=+ P6 ]* A. ~- G% T

  1915. 0 a  I) D  m) l* O
  1916. ; Local Variables:
    8 y4 y% a# o5 T% d+ @
  1917. ; tab-width: 4# {7 }1 J: m! [# ?
  1918. ; End:
    7 z6 n+ |" X- z# l! I
  1919. , O) s, o: z; w- k* h, f
  1920. ;eaccelerator& ^$ k9 {7 C1 r$ h& Q. r

  1921. : u' r+ x" L7 t5 T1 R. b( ~' P, w
  1922. ;ionCube
    2 f( j$ _  z* @6 r+ ?! _: f' h

  1923. * Y, D4 o, a# x/ A" {  f7 m1 P
  1924. ;opcache' h' x6 s9 s3 _$ h. q/ g: x
  1925. 1 i4 a, g# ]' I( W9 i
  1926. [Zend ZendGuard Loader]+ Y( A# E/ f2 u
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    2 g. P: F( M# X" U
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    0 C$ i+ t3 [3 @6 S# @
  1929. ;zend_loader.enable=15 i% \, p0 M6 j( r" X- V4 a
  1930. ;zend_loader.disable_licensing=06 r/ b) I3 a  b+ o6 ?; H, U
  1931. ;zend_loader.obfuscation_level_support=3
    . S% f$ h( _7 w6 t9 p: G8 d
  1932. ;zend_loader.license_path=
    3 i9 T" {" ]% v# j  W3 {+ [' L
  1933. 6 t1 C, k5 q5 i% f) n% e
  1934. ;xcache
    - e- Q: t1 L2 X+ S( I1 K/ O: j) ^
  1935. 4 g6 C. ]% N* B* o! ?6 j
复制代码
& }8 R$ X+ e# b/ I5 a

0 L& j$ F# B* m& a5 n* L* d
( {( b4 A' b/ H! ~6 A0 e4 O8 |2 A- E  c; I7 D5 m: }, l
1 B3 l: r; X/ `# ^# W" H

7 f3 ]: l% V7 ~. Q# y3 [
% ?% H1 }5 E" J% j) c' `PHP5.6版本原始设置
+ ^0 I0 b2 U$ X  T% X, n! Y# p- e$ }( j  W
  1. [PHP]' c! }2 Z3 J2 d, n. T7 Y/ W

  2. ! {& P& T& v2 s5 @6 u$ t* @/ l
  3. ;;;;;;;;;;;;;;;;;;;
    ; e! u2 N# L( w  j* @& M7 n( l
  4. ; About php.ini   ;
    + y9 Y% P! ^) r
  5. ;;;;;;;;;;;;;;;;;;;
    ' ?, f& F6 R4 }3 |7 T
  6. ; PHP's initialization file, generally called php.ini, is responsible for! t8 y, B: v: x: t
  7. ; configuring many of the aspects of PHP's behavior.
    / e; v/ }8 @: v: r8 b. C

  8. 5 b! j% {) H5 X, |% G3 B
  9. ; PHP attempts to find and load this configuration from a number of locations.) H( g7 M% Y2 `
  10. ; The following is a summary of its search order:
    # ~1 ?$ o0 x# I3 ^
  11. ; 1. SAPI module specific location.) X0 T0 x4 |- T. T4 ^
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)4 X! f/ f" ?0 r: n- g, O( M
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    0 ~9 ?3 f; `$ E& [' c# c- K1 d
  14. ; 4. Current working directory (except CLI)
    ) J0 W4 i( |& E8 `0 ?3 D+ e
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP& Y5 ^6 X( s7 A8 p8 M% V" c& o
  16. ; (otherwise in Windows)7 u. b: w4 N3 V2 {8 Y
  17. ; 6. The directory from the --with-config-file-path compile time option, or the( W# `& R+ s1 o
  18. ; Windows directory (C:\windows or C:\winnt)" j: l% l# r# s2 o0 a; N/ K3 f3 C
  19. ; See the PHP docs for more specific information., C( A4 G" r7 W! I  _3 ^1 M* R
  20. ; http://php.net/configuration.file2 \) w3 w( F7 k. v) v3 e0 p1 K( X
  21. 3 o1 V# f" t3 z/ X5 j" ~
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    7 S/ k- Z: ~, J7 O# e; |% G
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    ) M0 J: u3 F3 k/ c
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    6 }# P+ u. i9 D7 P5 B/ {5 I
  25. ; they might mean something in the future.0 u, [- ^' I- Q& b6 M' g

  26. - ]; c- W4 C" l; H
  27. ; Directives following the section heading [PATH=/www/mysite] only
    - \! @; n$ K5 u) v+ E
  28. ; apply to PHP files in the /www/mysite directory.  Directives, @7 E( b5 \  N  G  k
  29. ; following the section heading [HOST=www.example.com] only apply to( N0 Y& c5 I9 ~1 o* X
  30. ; PHP files served from www.example.com.  Directives set in these& o0 }9 Y5 }( E
  31. ; special sections cannot be overridden by user-defined INI files or
    8 H) ^0 n% @6 p; R8 Q+ ~
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under, |5 w! O0 h" n5 o, F
  33. ; CGI/FastCGI.
    3 v7 K+ g; T$ F# x0 J3 I2 Q( `3 u
  34. ; http://php.net/ini.sections
    " _, S2 P2 L1 w* ]( ~' ^1 Q

  35. 9 a* d) u1 X% _9 ~/ }& i: P
  36. ; Directives are specified using the following syntax:7 \# j) F! G. ^
  37. ; directive = value3 S2 G' A+ a& r! y0 W8 ~
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.. ~( d: ~& U, Z+ b! ~6 \
  39. ; Directives are variables used to configure PHP or PHP extensions.4 o0 C1 P  j7 |' C& M
  40. ; There is no name validation.  If PHP can't find an expected
    # F  W! @% E" _* C1 `# X9 C
  41. ; directive because it is not set or is mistyped, a default value will be used.. W' H  Z( l" ^5 B: {

  42. 4 o4 `7 U" B# p2 H# L. v
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    9 a& X) C3 E! D: U5 S
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    3 g2 b3 X1 T1 ~1 A. a  u" }- o
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    % e4 T: C" o4 R2 e* r
  46. ; previously set variable or directive (e.g. ${foo})& F. A* ]- O: z" H; Y# n
  47. . z% `: o& F% H" O- O" G- E
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    & l6 ]1 \+ r# M4 W, G9 a3 j
  49. ; |  bitwise OR) h' }; _$ ?6 L/ f7 v2 k
  50. ; ^  bitwise XOR. V7 ^$ k$ G3 ^$ e, Z6 ?
  51. ; &  bitwise AND) f/ J- S6 W  l4 m* c
  52. ; ~  bitwise NOT, \0 {2 Y" I& g* T! g% E
  53. ; !  boolean NOT
    5 w# ]4 g; U$ e5 ^! R

  54. # H- A8 V5 K6 C9 k, Y/ Z$ M
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.5 o$ j( z! y8 N$ X' J
  56. ; They can be turned off using the values 0, Off, False or No.
    # J0 e4 j/ z% C# u

  57. ) M; _7 Z0 C, C  x9 v& `
  58. ; An empty string can be denoted by simply not writing anything after the equal
    , |1 H" C5 n2 n5 N( k+ K2 [
  59. ; sign, or by using the None keyword:  ]( C0 g0 j% O! ~6 o) M0 @. T
  60. # J) r4 U! o% a6 ]/ v0 e1 L" y
  61. ;  foo =         ; sets foo to an empty string
      V+ f# f- Z$ V8 H. K# |
  62. ;  foo = None    ; sets foo to an empty string
    4 E+ e0 X3 B* n! _9 [5 K
  63. ;  foo = "None"  ; sets foo to the string 'None'
    8 N' s+ F# |! E" q
  64. ; n" P' v; E8 F8 ?
  65. ; If you use constants in your value, and these constants belong to a% Q5 C! a% P" K, ]# G5 G8 c9 \
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    $ W! u1 v& A9 O5 Z/ r
  67. ; you may only use these constants *after* the line that loads the extension.: \7 f# s! A4 M7 c4 @5 G# _! k0 u

  68. : d! E/ `/ G9 D; K; N* N
  69. ;;;;;;;;;;;;;;;;;;;# L) `1 L# J7 I7 G
  70. ; About this file ;+ r- c; J( y1 {
  71. ;;;;;;;;;;;;;;;;;;;1 h2 {. Y1 S* T6 K, D& D. S) Z
  72. ; PHP comes packaged with two INI files. One that is recommended to be used. l" q" @& X/ j9 I3 n  F
  73. ; in production environments and one that is recommended to be used in3 i/ [0 Y# ~9 U, Z( u
  74. ; development environments.
    / ]! k% \7 e, i
  75. ! `+ T. H& p! {' p$ C  i1 P+ |' S
  76. ; php.ini-production contains settings which hold security, performance and
    - H$ U* }: Q* M+ ^
  77. ; best practices at its core. But please be aware, these settings may break
    2 q  \" n8 G; t! K- b" Z$ u. o  X
  78. ; compatibility with older or less security conscience applications. We+ D. c! k& e' W4 G& u: U. D
  79. ; recommending using the production ini in production and testing environments.- s& ?% _9 ?( c6 U
  80. " q" P8 T; Z+ U& f4 j5 `2 T
  81. ; php.ini-development is very similar to its production variant, except it is
    / U8 P% _3 P8 k. L# V+ b1 a: p
  82. ; much more verbose when it comes to errors. We recommend using the
    9 P/ O0 F+ A3 B( `( |
  83. ; development version only in development environments, as errors shown to  F2 u6 m8 C8 r& e
  84. ; application users can inadvertently leak otherwise secure information.5 k  B# p% s7 G! B6 g

  85. : U4 m" K+ {* O  e
  86. ; This is php.ini-production INI file.
      h! ?5 v6 S' O$ |  t& K1 q* R/ U

  87. ) K' M5 C( |& F$ R' o
  88. ;;;;;;;;;;;;;;;;;;;7 N' M# i0 `! l
  89. ; Quick Reference ;
    3 v$ H, T1 ?- ]' V" T6 F
  90. ;;;;;;;;;;;;;;;;;;;
    + ^, i. F$ w8 T/ D5 A; D
  91. ; The following are all the settings which are different in either the production
    - d" E! z- [7 O+ H, I
  92. ; or development versions of the INIs with respect to PHP's default behavior.3 A2 \  {7 I# g( G7 a' j
  93. ; Please see the actual settings later in the document for more details as to why9 q! `* n% z9 P, `5 C
  94. ; we recommend these changes in PHP's behavior.1 Z# c+ P0 o8 [! F3 W# G8 a

  95. ; A  [" L$ R$ {) X) X
  96. ; display_errors
    / {, q- p) r5 m6 D& N
  97. ;   Default Value: On1 O+ e% e. M0 A7 x8 t/ e! u. _
  98. ;   Development Value: On6 c% H, G. F, g; h# x" A
  99. ;   Production Value: Off* b* x  W6 Q$ N. N7 a

  100. 1 t) d3 v' r6 i+ E( ?$ o& _5 w+ k- \
  101. ; display_startup_errors9 m' N: h) B, j( H1 `
  102. ;   Default Value: Off/ X/ n& j7 l4 L" u
  103. ;   Development Value: On
    8 B; A: Z. n+ e
  104. ;   Production Value: Off* O( K6 D' ^( }5 P

  105. - K. b- f( n* F
  106. ; error_reporting
    ' l  p4 P0 C/ @$ O7 N. O) x$ a
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ; a6 x  i: U/ y/ b$ ]1 }$ m2 r
  108. ;   Development Value: E_ALL+ V9 Y* Q2 D! M  g6 q5 b) k+ M
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    1 |; M2 U+ c3 Z
  110. ( C9 w; b0 c4 u1 v8 v
  111. ; html_errors8 C& Y/ K$ U8 n9 }
  112. ;   Default Value: On
    + Z. d2 v8 v1 T" H! Q9 u. v7 V
  113. ;   Development Value: On
    # L5 t/ }* z2 P2 z" {* ?
  114. ;   Production value: On% a0 d' _& g1 _8 U. f) o

  115. , S# ]$ C+ |3 J* l) l
  116. ; log_errors
    ) a7 {7 C& m" x9 G
  117. ;   Default Value: Off0 X% W2 e6 @$ E
  118. ;   Development Value: On
    3 j1 Q7 c  x' |, o7 s9 [
  119. ;   Production Value: On" @, |2 p: |: E) ~2 V3 u# M

  120. 6 V+ s3 p6 t) W6 E1 q  v
  121. ; max_input_time
    % Y/ [" Q* Q/ I; u% P
  122. ;   Default Value: -1 (Unlimited)# ~" F; y+ f6 `  S1 s0 R- r) H0 v
  123. ;   Development Value: 60 (60 seconds)
    : i# H: j4 j+ J
  124. ;   Production Value: 60 (60 seconds)
    8 B+ U6 V$ h, x" v. S$ V% E0 {4 g
  125. ' c" {2 K% b2 |/ \
  126. ; output_buffering
    ' w8 K$ x* n. a' h; A( r
  127. ;   Default Value: Off
    ) g: b3 B/ [: b# F( O  t
  128. ;   Development Value: 4096
    6 \+ E6 Y  U3 v( ?/ O
  129. ;   Production Value: 4096
    # n% S6 B0 E5 [" ?8 t
  130. 8 Y/ _2 q' S5 V) i" |5 {) t4 u
  131. ; register_argc_argv7 c! z. E$ a1 `$ C
  132. ;   Default Value: On
    1 t6 Z) w1 l, k6 C! {! }5 T
  133. ;   Development Value: Off# i, @1 e. G3 n! x; J* ?5 v
  134. ;   Production Value: Off/ _* T& N* f7 s- h) L
  135. 7 L2 d, d/ h& o$ g- U; y& h  G
  136. ; request_order* A& Q: ~! m5 }) z
  137. ;   Default Value: None3 P% ]+ L. |/ K8 n% a  V% l
  138. ;   Development Value: "GP"
    2 h8 M: J0 e! v1 h
  139. ;   Production Value: "GP"
    ; s7 ^' x$ D5 p: J4 U* {
  140. 5 u- l! m* y: \4 ~
  141. ; session.gc_divisor6 a% S$ [+ @! ~7 X. B
  142. ;   Default Value: 100# z' S/ u0 Q0 [
  143. ;   Development Value: 1000
    : s9 y# Y( j5 |5 T, Q% f6 t* [
  144. ;   Production Value: 1000
    - t0 `: E# a( W- [% I3 I

  145. , w$ O0 T6 S$ g& c9 T
  146. ; session.hash_bits_per_character+ v/ e3 Q6 i+ S1 b$ m
  147. ;   Default Value: 4/ M# C. K% R$ f
  148. ;   Development Value: 5
    ) i; ~$ H. g% P5 |' X3 X7 ~4 a
  149. ;   Production Value: 5: s2 [3 `  ~4 m$ K7 D8 P
  150. & _  W% i( K( a' y! g3 F
  151. ; short_open_tag3 q& a3 S7 O; T4 f6 H+ }; Z
  152. ;   Default Value: On* h" f9 r- b& j. W& i" `( g4 D) A
  153. ;   Development Value: Off
    1 G4 g7 y; w( I# C" i8 b- D/ q8 q! S
  154. ;   Production Value: Off6 M4 ?4 A+ E. R4 {/ n) y

  155. ( v' I+ [- \1 e0 `0 U# Y
  156. ; track_errors6 N  N, L) z  C/ Q) ~
  157. ;   Default Value: Off
    # [0 b( I2 W- [
  158. ;   Development Value: On
    7 U4 n& L7 ]- g* _
  159. ;   Production Value: Off
      K3 D8 {  `' l/ @0 a3 y6 Y2 V
  160. 3 B! U; g" j. |5 |6 f
  161. ; url_rewriter.tags: E# g* o( `( X& R9 M1 O, u- n! z
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="  `" n  p7 _0 R0 `  U, l3 [
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    + A1 V* a2 d: K
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    5 c% d. s" ~1 I5 B$ ~$ b" u* W
  165. * p8 z. h/ V- E! X2 t9 s# I
  166. ; variables_order) [" z, C& s* R; z- U, M" J8 w! Y
  167. ;   Default Value: "EGPCS"
    # w3 A$ B4 I  L2 _8 Y
  168. ;   Development Value: "GPCS") [5 f" t3 b- i# L( ?( X
  169. ;   Production Value: "GPCS"
    & I5 k2 C* w) _" C# S4 ~2 s% j
  170. * p" J5 P8 t' P2 g! I3 t
  171. ;;;;;;;;;;;;;;;;;;;;
    - u; T5 W) g) K( |2 ]: y
  172. ; php.ini Options  ;$ `7 p: y( \! _6 ]9 L
  173. ;;;;;;;;;;;;;;;;;;;;
    " L; V# I- q7 C' H4 ?6 @8 m* b" E
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"8 [7 S$ d# o" B
  175. ;user_ini.filename = ".user.ini"5 d) t2 M) w. n0 H( U/ |' \

  176. / r1 K( H# I: E3 T7 E
  177. ; To disable this feature set this option to empty value& o. a( }, k  W2 Z2 g3 R+ s7 @& S
  178. ;user_ini.filename =& l+ h1 f1 `$ g6 N! q
  179. . H! Z) S7 F/ x+ c3 _2 _0 d4 ~4 G$ \
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
      T7 J8 Q0 A, M2 j
  181. ;user_ini.cache_ttl = 300
    : t6 N( T0 Q7 n5 J! |% H3 w
  182. : V( [* {. N* I1 X- r, u9 |: h7 z
  183. ;;;;;;;;;;;;;;;;;;;;
    % |6 @% O$ C0 E# B
  184. ; Language Options ;: m  ]; i) L5 W- r  q6 Y8 k
  185. ;;;;;;;;;;;;;;;;;;;;: L. L6 o" G- x; W, E2 C
  186. 4 I$ r: _+ j, @+ c) d8 ^
  187. ; Enable the PHP scripting language engine under Apache.7 P7 \0 z+ \4 z8 G: }
  188. ; http://php.net/engine) X* }. R/ L! I8 e% T; O9 O- ^+ P( x
  189. engine = On
    1 w. R2 i. r$ l$ R

  190. & l2 z! F. b! H4 j/ h3 v
  191. ; This directive determines whether or not PHP will recognize code between5 @9 }+ `6 _. u1 |
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    ' q5 H. g# L6 q6 v! M
  193. ; generally recommended that <?php and ?> should be used and that this feature
    , u# q# v) a; ]6 L0 A
  194. ; should be disabled, as enabling it may result in issues when generating XML
    0 L  D: y. T- `( `
  195. ; documents, however this remains supported for backward compatibility reasons.
    6 j* `- D  r- P1 X; d
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
      V' b: E7 A- c( ]& t
  197. ; used regardless of this directive.# m; C3 ]8 t) F2 q
  198. ; Default Value: On
    ( w: g% S7 B4 @" M1 E" x. w
  199. ; Development Value: Off" b; r! _1 J5 ~' Q, o
  200. ; Production Value: Off
    , Z' d/ M9 m8 g, ~) Y2 W# ]9 w& ]
  201. ; http://php.net/short-open-tag
    , O) G/ N( k& u; L" o% p* H$ ?
  202. short_open_tag = On0 t- Y! N8 a& g3 r7 d
  203. ! |; [( E, D# O0 R2 k: D2 e
  204. ; Allow ASP-style <% %> tags.
    3 K: y; C4 @6 h" S: |" j5 C0 M
  205. ; http://php.net/asp-tags
    3 Q5 r) W) H9 D: h
  206. asp_tags = Off
    " ]! N0 u7 K9 K+ T6 M; f6 T
  207. $ m/ v, N1 H1 ^, x6 N) G
  208. ; The number of significant digits displayed in floating point numbers.
    . I  ~/ j7 |$ H2 ?; j' A" e, e
  209. ; http://php.net/precision
    : q2 n) J. X, Z" C8 \
  210. precision = 14: e# W% M/ c" z6 e

  211. / `& W" M' U/ V1 A0 H
  212. ; Output buffering is a mechanism for controlling how much output data
    * c1 b, ~  Y1 n1 D3 S
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that0 }% j7 }3 g% U9 |* y' n
  214. ; data to the client. If your application's output exceeds this setting, PHP; E8 h* A& N# s1 X9 y, a* A0 t; p
  215. ; will send that data in chunks of roughly the size you specify.& A( _2 G/ r" o8 g2 t% d* z
  216. ; Turning on this setting and managing its maximum buffer size can yield some  X# z; L% f  Y
  217. ; interesting side-effects depending on your application and web server.  G1 [4 `; K4 {2 t9 V
  218. ; You may be able to send headers and cookies after you've already sent output/ ?8 K7 J) u/ ^# _3 S" w4 O7 r
  219. ; through print or echo. You also may see performance benefits if your server is9 D& g$ S0 U- F( m: C$ P
  220. ; emitting less packets due to buffered output versus PHP streaming the output/ u3 k! B: t  n0 g8 e3 f; r
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    % B& z' f7 J, {& h/ }" i) T$ a% F  j
  222. ; reasons.0 a( i: K( {; [6 E
  223. ; Note: Output buffering can also be controlled via Output Buffering Control. F. v4 z  q$ L6 W! h4 q% T
  224. ;   functions.
    7 V: f$ u2 G; \% ~7 S0 _, k
  225. ; Possible Values:
    # x4 I/ j; n1 E+ F) j. ~. P
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    : `% `5 ]; Y0 G% T6 p4 A/ L3 M
  227. ;   Off = Disabled
    / L1 g$ Q$ X$ X; Z2 e7 E; o; L' |
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    3 b$ K- E% x+ h( ^# U0 _
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ( L) v4 P, Y& a5 p  P2 Q! D7 P
  230. ; Default Value: Off
    8 K& Z# o5 \/ l0 K
  231. ; Development Value: 4096
    / x7 Z7 i; {3 }" Y3 i8 z
  232. ; Production Value: 4096
    $ R0 H$ Z2 ~' d7 V* ~0 i) e
  233. ; http://php.net/output-buffering" R+ w9 q/ t# w5 O" t4 l
  234. output_buffering = 4096; Q$ X$ V7 j- b, R: y9 _
  235. * P! s0 e/ `. f6 U4 m
  236. ; You can redirect all of the output of your scripts to a function.  For
    4 s) ?4 V3 Q. `& T8 C
  237. ; example, if you set output_handler to "mb_output_handler", character& x1 x! D8 K% O2 D2 m
  238. ; encoding will be transparently converted to the specified encoding.1 k0 t4 c% e9 w, c" |, o
  239. ; Setting any output handler automatically turns on output buffering.
    6 a& m$ H- @" _4 k, z4 o
  240. ; Note: People who wrote portable scripts should not depend on this ini/ s3 r! r' Z! u6 z8 d0 Q. E
  241. ;   directive. Instead, explicitly set the output handler using ob_start().* C) x/ t" }1 D% C2 n  D
  242. ;   Using this ini directive may cause problems unless you know what script
    2 V0 P: i. a4 F
  243. ;   is doing.
    % h$ p! ~5 ?& J) t0 u3 x" ^/ |
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    9 {( [8 q+ m% @: T
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    6 N0 c, z; @; [$ h
  246. ; Note: output_handler must be empty if this is set 'On' !!!!1 F! ~; d! o  w$ j# T7 T
  247. ;   Instead you must use zlib.output_handler.
    ( [6 J' b3 o: n
  248. ; http://php.net/output-handler
    0 x- p2 r1 ^/ W' l+ z
  249. ;output_handler =0 b; ?( M" U# ]& o6 |" q  F

  250. 7 `+ i' \1 _2 X; A
  251. ; Transparent output compression using the zlib library) m; R" N7 H# M
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size# H: r. U1 N' R& \
  253. ; to be used for compression (default is 4KB)
    9 t% `, c- I0 W, X+ [6 M
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP" w2 J. L( p  S8 T
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    7 P. w; K. T$ r% f& j9 c
  256. ;   compression. If you prefer a larger chunk size for better* u& W1 y# `" |; W
  257. ;   performance, enable output_buffering in addition.
    & c; Q7 R8 M( r% H% r% A
  258. ; Note: You need to use zlib.output_handler instead of the standard& M. c! y1 i! @, V3 z0 x7 N+ J
  259. ;   output_handler, or otherwise the output will be corrupted.
    3 b' l3 z( P" M8 G
  260. ; http://php.net/zlib.output-compression
    " \1 }0 w3 D+ X
  261. zlib.output_compression = Off
    + y& @) m) `  G! Z$ ]; C2 K

  262. $ i. r; S2 d* `% U
  263. ; http://php.net/zlib.output-compression-level0 q; X8 {8 X1 K( |) U1 `- L; ?4 I& \
  264. ;zlib.output_compression_level = -1; j) j7 f& e& ~

  265. 6 t- N. L7 k- v
  266. ; You cannot specify additional output handlers if zlib.output_compression
    6 N& p- n$ l* r  t4 h1 Y
  267. ; is activated here. This setting does the same as output_handler but in
    % e+ x3 v0 o% D$ H/ E
  268. ; a different order.9 g5 _, Q1 y8 n- d
  269. ; http://php.net/zlib.output-handler
    : u0 A( J: q: O
  270. ;zlib.output_handler =/ z5 z, N) }- v' c
  271. ( M8 S2 j1 K$ F) B% r4 f# _) L; N! K
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    ( i+ |/ E/ e$ j5 v; q' n& r
  273. ; automatically after every output block.  This is equivalent to calling the9 T) J6 E0 P$ o+ K4 R& ~) N
  274. ; PHP function flush() after each and every call to print() or echo() and each  _& Q+ a6 f& P6 v( w* r  f
  275. ; and every HTML block.  Turning this option on has serious performance
    5 A& Y  M! [& B# f; ]4 b
  276. ; implications and is generally recommended for debugging purposes only.
    $ C" K3 h- j, q, N: ^
  277. ; http://php.net/implicit-flush
    : G2 g1 p8 p! i9 I0 Q: g
  278. ; Note: This directive is hardcoded to On for the CLI SAPI( v5 r. H3 M) W$ Z0 e
  279. implicit_flush = Off
    - U0 J* w3 A9 ]5 p1 B) |

  280. ( G# P% {! ]- m" x) r
  281. ; The unserialize callback function will be called (with the undefined class'! W3 H' }! t6 N9 w2 S
  282. ; name as parameter), if the unserializer finds an undefined class
    ! w4 A. `9 P- ^2 V  _. T
  283. ; which should be instantiated. A warning appears if the specified function is
    6 O( B0 z. O, E6 \
  284. ; not defined, or if the function doesn't include/implement the missing class.% t/ G7 {6 w5 J# D, L- ^7 f
  285. ; So only set this entry, if you really want to implement such a
    1 r: m3 v- [6 I, e  A' U
  286. ; callback-function.  @$ F& W) N" u2 p$ B5 s
  287. unserialize_callback_func =
    1 i$ e1 d- i9 D" ~( M0 |
  288. $ z" g- Q+ ^5 {' _# ?. ]* I+ \
  289. ; When floats & doubles are serialized store serialize_precision significant! s# c: m( u" z4 K* `: D- ^
  290. ; digits after the floating point. The default value ensures that when floats
    $ z  r/ a: o) T- M) H
  291. ; are decoded with unserialize, the data will remain the same.5 a( o7 E% v1 e# s! ]6 c2 _6 d! K4 A
  292. serialize_precision = 17$ z" q% I- j7 v) E  z- Q
  293. # A( K) c/ u& D* W8 G
  294. ; open_basedir, if set, limits all file operations to the defined directory
    7 \) G# C' h+ H7 c
  295. ; and below.  This directive makes most sense if used in a per-directory
    % V% i5 e( Q1 R! R* d
  296. ; or per-virtualhost web server configuration file.+ i% x5 Q# [8 o+ F9 d5 C
  297. ; http://php.net/open-basedir
    " r9 @& A7 Z" d0 d
  298. ;open_basedir =' m1 l3 S3 U' ]5 X5 E! H

  299. 2 X1 i) H+ }2 E/ {7 y: ^/ K# X- _
  300. ; This directive allows you to disable certain functions for security reasons., M8 u4 W% x% T- V8 F
  301. ; It receives a comma-delimited list of function names.$ N% n  n* V1 |- U" S5 w
  302. ; http://php.net/disable-functions
    0 p2 t% O: F" _& m4 Z  X# E
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru" D: g1 l" D/ W- Y# R1 W
  304. 0 l- H6 C% M; M- V8 @& h; e6 Q
  305. ; This directive allows you to disable certain classes for security reasons.
    # i3 u  ^1 k% o4 x; x! z
  306. ; It receives a comma-delimited list of class names.
    5 _' U# W3 ?  M
  307. ; http://php.net/disable-classes5 [; w, i. z" s0 S( i$ V
  308. disable_classes =; U0 |& l, m. ]; b5 w9 c
  309. 4 U8 `7 |* T$ |4 ~) v0 a7 D
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    - N& Z7 _, P! K& r5 p" A$ l4 J0 s' g
  311. ; <span style="color: ???????"> would work.8 q/ ~% K; G/ l' i: o
  312. ; http://php.net/syntax-highlighting- {! g8 T; d6 q9 x6 a( U6 }% O
  313. ;highlight.string  = #DD00003 K$ ]. F$ T6 ]
  314. ;highlight.comment = #FF9900" f0 _5 l( ?1 f# @- F3 s8 I
  315. ;highlight.keyword = #0077001 i4 \% w9 v! N8 N3 K! C
  316. ;highlight.default = #0000BB
    4 M" A- A" P# E' J# ?. q2 U, }
  317. ;highlight.html    = #000000" ^  k! _- v7 Z3 B' H( k6 }( C" L

  318. 9 q. z9 O9 s4 |7 i( x( s$ [
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    # P0 Q: v5 F9 N. `! d
  320. ; the request. Consider enabling it if executing long requests, which may end up/ J  R5 W8 w" B5 J* F
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior" n! C8 }! Z6 A( U
  322. ; is to disable this feature.
    , t/ l$ P( j: k$ I2 h) b3 _
  323. ; http://php.net/ignore-user-abort
    - j* W' x, N, e  P' I* {1 c& x9 ?
  324. ;ignore_user_abort = On
    0 _( B7 a' m9 u9 q& h
  325. 1 C) L4 m# r7 \/ ?
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
      u( m0 S5 L4 ~# Z" e7 h, A4 z9 S
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    : m- ?3 U  @5 l
  328. ; the file operations performed.% U* G% O$ s7 U' E* w5 Z, S/ n
  329. ; http://php.net/realpath-cache-size# `/ ^7 [7 o% Q
  330. ;realpath_cache_size = 16k
    . ^3 A. y0 A# V( |4 J$ ~: R  J

  331. 0 u8 f; r: |/ t- C- e+ Y
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    1 t* t& |9 \5 l* s
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    ! u# `, j* C- \6 Z
  334. ; value.
    ) O3 G& |! g: a" Z* n
  335. ; http://php.net/realpath-cache-ttl
    5 m1 _2 p7 n. {
  336. ;realpath_cache_ttl = 120; A7 ?  v: c% R6 f# P

  337. 9 v  g) G! }+ ^: N" k) q1 P4 R
  338. ; Enables or disables the circular reference collector.
    & Z+ D( @- m* [6 H  W6 y
  339. ; http://php.net/zend.enable-gc
    5 f3 _/ w' X+ }$ E/ i6 H
  340. zend.enable_gc = On
    2 |, O, \  [- `8 Y1 y/ M( w
  341. 5 H; s0 B! h, P* e3 @: V0 L
  342. ; If enabled, scripts may be written in encodings that are incompatible with4 s. g/ a/ M. n4 A" {8 M
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    % v3 v. B4 ^. R, d  n4 Z
  344. ; encodings.  To use this feature, mbstring extension must be enabled.: c' a: ?' F8 r- w4 z; v
  345. ; Default: Off8 L, y6 P4 C' Y% r, s: M0 b
  346. ;zend.multibyte = Off# G  ^! i6 l4 d5 ]# C6 ^

  347. 0 u* W5 v, ~4 w1 {" A
  348. ; Allows to set the default encoding for the scripts.  This value will be used# g5 C1 h* a% R8 k
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    5 v8 V5 B6 \  Y, W1 v! ]" Q
  350. ; Only affects if zend.multibyte is set.7 _1 p  }: S& N2 D% O- ]
  351. ; Default: ""
    1 g$ L- _- E" m6 g0 w! Z
  352. ;zend.script_encoding =6 m) y7 }2 ^/ I; S( V6 p
  353. * L* N; M1 O. a5 E4 p5 C& A
  354. ;;;;;;;;;;;;;;;;;
    , \, I$ Q7 l) _6 ^& @# s
  355. ; Miscellaneous ;. S5 Y% D% C0 o% I
  356. ;;;;;;;;;;;;;;;;;
    2 }. K1 f# p$ u$ n  c9 t1 h
  357. / o3 s6 g0 A* N  J" j
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    - k# U9 W# x( p; h) ]
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    $ H/ E9 Q/ e5 Y( \" J1 X
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
      [, R  y' }+ t0 Z' [4 |
  361. ; on your server or not.. _" @* x+ u8 a% c! z2 C( Y
  362. ; http://php.net/expose-php* n) P8 Y; b& _& l" N
  363. expose_php = On4 X' ?2 k' p. w, e* @

  364. 5 w9 W% N1 e  W
  365. ;;;;;;;;;;;;;;;;;;;3 d( g$ Z; Z8 ?  L4 f
  366. ; Resource Limits ;
    7 {' a! ~) ~" M
  367. ;;;;;;;;;;;;;;;;;;;+ b' o9 V7 R; M9 J

  368. 3 l& |! ?  p" J8 E6 a9 S; |
  369. ; Maximum execution time of each script, in seconds2 k1 T& i# Y$ m8 f& Y+ `
  370. ; http://php.net/max-execution-time
    $ G7 D# l. j* M( k
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI' o: u3 m- p$ `/ A
  372. max_execution_time = 300* l6 z5 K: _) [9 {
  373. # i- W# f' H- m1 Z  \9 g
  374. ; Maximum amount of time each script may spend parsing request data. It's a good7 ?3 b/ }; \  t" n5 z
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    ) u6 i9 A( H% o6 w: X- H
  376. ; long running scripts.
    : ^; q1 F) O, }8 a7 [3 x
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    $ E( Y0 k/ B: K! p+ P
  378. ; Default Value: -1 (Unlimited)5 o1 g4 x2 b6 [  U9 D, h
  379. ; Development Value: 60 (60 seconds)
    6 |+ i- q, H( @" \0 J& C% X
  380. ; Production Value: 60 (60 seconds)# Y" A' p$ n9 j+ a+ |
  381. ; http://php.net/max-input-time+ \1 ?4 s: J* G! ^* G
  382. max_input_time = 608 ~8 u$ e7 K- e0 h# p

  383. ' d4 r7 i9 r) z+ V' D$ ^
  384. ; Maximum input variable nesting level
    3 _' ]5 K2 t8 d4 q9 J3 ]
  385. ; http://php.net/max-input-nesting-level- T8 v, T% u! n
  386. ;max_input_nesting_level = 64
      d- r- Q! G# ]# A
  387. + d6 ], V9 {% }4 A4 q3 [
  388. ; How many GET/POST/COOKIE input variables may be accepted, z* J6 l. b& ]3 L; x& x' C
  389. ; max_input_vars = 1000
    ( I% n9 q, |  Y4 m6 d8 M4 x
  390. $ V% j* W: W' w: q
  391. ; Maximum amount of memory a script may consume (128MB)
      W4 @6 `7 v+ k6 B* y& j
  392. ; http://php.net/memory-limit
    0 d1 `' K, V9 ~& M
  393. memory_limit = 128M
    / o' p  t, @" V! _

  394. 4 K+ A2 i4 Z, o1 d8 h+ v
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    0 R' f. y9 x) ?1 G1 w
  396. ; Error handling and logging ;
    + c/ t1 Y% {0 h( z9 m& p# ?
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    : ~! d. X0 N$ i6 z/ f
  398. 1 x/ Z" P9 l" H6 [/ K- D  o
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    ' d3 i  C2 X$ Y" o) k& r
  400. ; it to take action for. The recommended way of setting values for this
    & Q4 i; F+ v3 j  `" C8 h' h
  401. ; directive is through the use of the error level constants and bitwise
    0 H7 T% e/ n4 n+ H: h( ~3 G
  402. ; operators. The error level constants are below here for convenience as well as# r" }. l1 Q1 N# v" t8 o
  403. ; some common settings and their meanings.
    % O5 B1 E+ P7 e. \( ]
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    / k& }& `! i; d4 w" A! T
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    0 K, Y: R# \, J$ ~
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    7 x: j, W& R1 T" |. g
  407. ; recommend error reporting setting. Your production server shouldn't be wasting( i4 i) A% g, B9 X
  408. ; resources complaining about best practices and coding standards. That's what( c$ E. c* I2 d
  409. ; development servers and development settings are for.
    : M6 U" {0 t- Z# t
  410. ; Note: The php.ini-development file has this setting as E_ALL. This1 i- K# e+ }4 ^, _1 \- k
  411. ; means it pretty much reports everything which is exactly what you want during+ K; v# ?. @2 N0 F
  412. ; development and early testing.
    & q+ Z9 ^# k6 ~8 v# B! [
  413. ;
    4 r3 |, P, C% q/ `; J9 {' a: \
  414. ; Error Level Constants:
    / S8 o1 d0 F) R8 ~0 J
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)/ G) t8 Z/ ~; C( ]
  416. ; E_ERROR           - fatal run-time errors  G( |9 K' K7 F4 G/ H. o8 B8 X  {, g
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    8 p, K5 d+ H8 J6 }1 v$ z
  418. ; E_WARNING         - run-time warnings (non-fatal errors)9 }$ ^$ r- L$ w0 R
  419. ; E_PARSE           - compile-time parse errors
    ! F. J& T! i- e3 N+ `
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    ! D% N- X* T( V' q
  421. ;                     from a bug in your code, but it's possible that it was, s2 I; s$ \: l( z$ z$ v1 D1 a8 F
  422. ;                     intentional (e.g., using an uninitialized variable and+ p+ |) b9 ^  u' b5 Z6 H. z
  423. ;                     relying on the fact it is automatically initialized to an
    ; a% H- B! ], X: _9 Z6 A" p& o, T
  424. ;                     empty string)
    3 v/ c" C$ V( `# f1 h, R& I
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes" U9 d+ o& I, X0 K5 U, R
  426. ;                     to your code which will ensure the best interoperability4 l$ K2 C1 G, S( u9 z% a
  427. ;                     and forward compatibility of your code* S# t* a& C. @
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    / g+ R/ j  }4 \5 V
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    $ c% J4 s+ H7 [  Q" h" _& W0 M/ L
  430. ;                     initial startup# [8 K, R' R1 Y: \; e
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    " L# ~! N* m3 ?$ L2 }9 ~3 m& s
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    5 W4 b7 s) V8 s7 Z/ X/ @  ~2 x
  433. ; E_USER_ERROR      - user-generated error message
    0 @) v( J7 `" ]4 ~3 f
  434. ; E_USER_WARNING    - user-generated warning message& Z: q# O0 d- K* }
  435. ; E_USER_NOTICE     - user-generated notice message
    1 a- Z9 w& t' k7 B0 w1 w. ^
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    - }+ t9 e$ r. {& W0 C9 o
  437. ;                     of PHP& d7 L* K/ B* c; {
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings( m* l* ]& J7 h. B) D
  439. ;
    $ X9 V$ N: i( H; t% o2 p  t
  440. ; Common Values:
    7 _. Z7 }' [: J2 I0 n: i& c
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)3 E1 g3 f; K/ `5 [$ ^) h
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)3 z4 k* K' }* k4 r$ K0 B) N7 j
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)) S! G+ ^0 c6 c' n& @3 e. c
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    , }' y9 a% r7 B2 `
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    % L( k& e  |1 [* H- {
  446. ; Development Value: E_ALL3 T* X/ A8 `- C7 G. Z" Z8 D# N
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    0 w2 K' R9 D% j+ [& B: I7 e
  448. ; http://php.net/error-reporting3 _1 @; z' {0 f8 d/ z5 y
  449. error_reporting = E_ALL & ~E_NOTICE
    6 _4 s0 |. p; \3 U

  450. - d: U& b6 Z9 R! k
  451. ; This directive controls whether or not and where PHP will output errors," a7 j8 ^- u9 R3 a
  452. ; notices and warnings too. Error output is very useful during development, but
    # X" l& s/ o+ I! D
  453. ; it could be very dangerous in production environments. Depending on the code: T) Q: c: a; H. ]2 Z- V
  454. ; which is triggering the error, sensitive information could potentially leak2 k5 r2 y$ K8 d
  455. ; out of your application such as database usernames and passwords or worse.
    2 g3 |. d1 g2 a% X+ ]( |! e
  456. ; For production environments, we recommend logging errors rather than. C( r. e7 Y9 F* h8 p, Y1 G
  457. ; sending them to STDOUT.8 y7 k+ T4 Z4 s/ ?% W$ T2 t
  458. ; Possible Values:8 P6 f2 v' z, U8 D
  459. ;   Off = Do not display any errors" o1 @, l9 l* s! |! x
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)) ^! r5 U% s% U9 a
  461. ;   On or stdout = Display errors to STDOUT
    7 E/ e- m# |9 n) o: Q3 y: n
  462. ; Default Value: On: H& X! L6 Z/ X( y- F  R3 B, c
  463. ; Development Value: On+ m1 e: x! p9 d
  464. ; Production Value: Off
    , h  C* f- [% Z; P9 e
  465. ; http://php.net/display-errors
    ) O( ?' s) `. J& c) O
  466. display_errors = On
    ( Q9 _/ Z1 r9 K% N' p

  467. ) Y/ W0 \0 f  i5 h' n3 q! t5 q
  468. ; The display of errors which occur during PHP's startup sequence are handled7 j4 D2 w3 \* @9 L
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    2 C0 }& J9 d! u' W
  470. ; errors from clients. Turning the display of startup errors on can be useful in, ?: R. J" h) ?( o& E$ i5 X
  471. ; debugging configuration problems. We strongly recommend you2 g: m# B/ I" ?: K1 |7 o
  472. ; set this to 'off' for production servers.
    , b% v/ e1 c$ o: Y$ u7 n
  473. ; Default Value: Off
    ; C; w6 t- K& P* a. L
  474. ; Development Value: On9 L% d! [5 G6 E
  475. ; Production Value: Off
    , c1 n* X$ k) L6 B- }3 v+ g' e
  476. ; http://php.net/display-startup-errors9 f4 J: u: [1 G  j  e& d" H* z
  477. display_startup_errors = Off
    + E: @5 u+ ]2 ]3 D8 d

  478. ( q8 C. p* A( E. i
  479. ; Besides displaying errors, PHP can also log errors to locations such as a& e9 k% \. C& |' Q$ i
  480. ; server-specific log, STDERR, or a location specified by the error_log
      q& d1 C6 D) M0 x. E2 o( l  T: C
  481. ; directive found below. While errors should not be displayed on productions! [; N4 |6 F7 \  h6 \: \& g/ W. y- z8 D
  482. ; servers they should still be monitored and logging is a great way to do that.9 _. o5 ~- ]2 I
  483. ; Default Value: Off
    . a& [3 i1 X# s' i9 ~" [
  484. ; Development Value: On
    * B  P( l+ H0 T* ?5 @0 e8 W# B
  485. ; Production Value: On; S8 v# T" T$ a: u& b/ t
  486. ; http://php.net/log-errors
    # I4 \. ?% l! c( b* }
  487. log_errors = On
    5 Y9 R( a+ f1 }0 G" C
  488. - D+ O7 j  r4 R% [! o/ A
  489. ; Set maximum length of log_errors. In error_log information about the source is
    4 z! I& m& r# \, ]0 D: g7 r2 {5 i
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.* z4 x  T7 s- Y9 R* ?
  491. ; http://php.net/log-errors-max-len
    - K& D1 F/ F  R
  492. log_errors_max_len = 1024& l2 h: c, ?  q; Y

  493.   [5 P2 H9 \8 Y3 Q  k: }: I
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    2 X, Z' w% Y6 T( q: \
  495. ; line unless ignore_repeated_source is set true.
      C5 k4 t4 B+ i7 ^
  496. ; http://php.net/ignore-repeated-errors
    ' ]. P$ s) w0 f$ X
  497. ignore_repeated_errors = Off7 \* N& c. R# @' {: G0 `+ v
  498. 3 w" V6 j3 i0 f' {, t3 _" {
  499. ; Ignore source of message when ignoring repeated messages. When this setting9 M4 a' P* o& W8 z8 j7 T1 _9 o
  500. ; is On you will not log errors with repeated messages from different files or
    8 _( g* I5 a2 W/ l% \( f2 @
  501. ; source lines.
    $ ^. P( E. {; |
  502. ; http://php.net/ignore-repeated-source
    6 k7 [; r# b" _" ~! {
  503. ignore_repeated_source = Off! L% O8 p8 m% L

  504. 7 Y; v: R' r  G( {+ F& ?
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on( M# i+ e$ Y. a2 O$ Q
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    + V' j0 Z% c6 ^  `# q1 l! D) y, k
  507. ; error reporting includes E_WARNING in the allowed list
    6 K( v/ S. g8 k& [: H) r
  508. ; http://php.net/report-memleaks' Z. C# X7 Y4 j
  509. report_memleaks = On
    ' ^- E9 d: a( d& r$ |! ?

  510. $ q5 o8 Z8 V3 G) ], m% @; T0 x
  511. ; This setting is on by default.
    1 E$ ?  Z- I" P9 a* Y
  512. ;report_zend_debug = 0: o! t& `, s& e# z% B4 b0 F
  513. ) ^; h1 @% [* K& q3 p7 p# F: [
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value5 x  ], C  K1 a' `% o
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    3 o$ f4 I% \) C; h" o) @5 b' k3 j
  516. ; however be disabled on production servers.3 B1 E, b! m) F. d& ~+ Y
  517. ; Default Value: Off
    : P+ ^- }1 W6 u
  518. ; Development Value: On
    " Q9 {5 A% P0 }9 V
  519. ; Production Value: Off
    # X$ v% {) }  F. R
  520. ; http://php.net/track-errors
    - p$ ]0 P8 a% ~* i
  521. track_errors = Off  N/ q; f2 _- C# W( v4 P1 C
  522. 1 x0 U, c; h) Q- m) D# h3 c
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    - @5 T5 ^, B$ l: x* r: P( F/ J
  524. ; http://php.net/xmlrpc-errors- l- K9 E" E9 o5 u
  525. ;xmlrpc_errors = 0
    6 q# P2 F8 h' @

  526. 4 N3 S4 m* C9 n+ A! o
  527. ; An XML-RPC faultCode
    : B, s7 j( G$ l( L) Z* V
  528. ;xmlrpc_error_number = 0) I6 S3 L$ _; o" m
  529. ; f0 b5 m; D" K4 {+ t' m
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    - i6 X5 p4 w- W
  531. ; error message as HTML for easier reading. This directive controls whether
    0 a+ g5 `# G) b
  532. ; the error message is formatted as HTML or not.
    ! s& ~/ ]7 ~! j" n3 L
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    , q5 ^4 k) V$ W, W# W2 b7 Q5 @+ P
  534. ; Default Value: On* w; K; ]4 A- c# H
  535. ; Development Value: On2 _; |& L0 Q( H' ^0 H. a
  536. ; Production value: On* I6 k% E2 y1 b5 h* i7 u
  537. ; http://php.net/html-errors% C9 c; g9 f- N
  538. html_errors = On
    # O. O+ t$ q: Q6 Y5 I* v
  539. 1 \" t% ~- S4 n! l% W
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    ' }/ u4 H, K/ M+ [$ H& s; l
  541. ; produces clickable error messages that direct to a page describing the error; S. |* F( Y4 \4 F# C. ~
  542. ; or function causing the error in detail.
    3 g$ P  I' V5 V! T
  543. ; You can download a copy of the PHP manual from http://php.net/docs& w! S: H& c- {5 c
  544. ; and change docref_root to the base URL of your local copy including the
    ; q2 F$ ]) p2 D) Q
  545. ; leading '/'. You must also specify the file extension being used including% [7 F6 L; n( g9 n2 l
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    9 R; R' r. y& U/ W! `' `( [- `
  547. ; case no links to documentation are generated.4 }7 g3 D( N/ o- r. b
  548. ; Note: Never use this feature for production boxes.0 W5 I' w1 J8 n6 E
  549. ; http://php.net/docref-root
    9 t& K: Y) R8 W
  550. ; Examples# C3 I( @6 @! ~6 q
  551. ;docref_root = "/phpmanual/"6 P, P4 M; R0 K: O3 _  |, n

  552. $ ^& J/ H& @! s+ l
  553. ; http://php.net/docref-ext
    : P7 ~) F2 a2 q
  554. ;docref_ext = .html, R7 x2 p- Z3 X$ W6 ?7 y
  555. / P9 g$ d  X0 N1 h
  556. ; String to output before an error message. PHP's default behavior is to leave; l) ~8 h% j) G  j! B7 I
  557. ; this setting blank.. X6 `. X. @9 t  T& v4 w" v7 e( x
  558. ; http://php.net/error-prepend-string8 k' u1 D- I) A( Z
  559. ; Example:1 F; ~8 x$ l' K' i2 x' B" ?( j& v0 Z
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    : h2 S: d6 u! ^2 j4 K  z6 w6 S
  561. 0 _+ ^# D; q2 q! j! V
  562. ; String to output after an error message. PHP's default behavior is to leave
    9 \  g  _9 o$ h2 ]4 n7 [
  563. ; this setting blank.. e8 o+ x* g, `8 x% Z
  564. ; http://php.net/error-append-string
    3 Y0 q5 H" F2 ]5 \4 f! B( V
  565. ; Example:
    # x1 a3 W3 z0 m; J2 m3 P  y
  566. ;error_append_string = "</span>"
    - ]+ w6 x' i0 \9 H/ ~- z; `( k
  567. ! l; k6 R, l+ k
  568. ; Log errors to specified file. PHP's default behavior is to leave this value3 L  U" l" z0 y: ~1 x
  569. ; empty., _8 n1 e& u4 T8 e9 L
  570. ; http://php.net/error-log
    4 d1 C$ D) A% M. d5 _0 h
  571. ; Example:+ C  R, o" B- a1 Q/ R( O
  572. ;error_log = php_errors.log
    2 I; d/ a$ W- y
  573. ; Log errors to syslog (Event Log on Windows).
    8 U' u* x2 E: V, `; i- r% u& s& P
  574. ;error_log = syslog
    3 S; X) i% _4 {5 K# j- P! o0 [
  575. 3 `! R( @  J( }( H3 ~
  576. ;windows.show_crt_warning
    ! G% L9 P8 [) z, I2 g
  577. ; Default value: 0
    $ v0 [, A- N* K9 D$ X
  578. ; Development value: 0
    ' @4 Q4 A* u/ j3 V: T
  579. ; Production value: 0; d2 y" c* U; k3 Q! C% m" F
  580. 1 D2 e7 h0 y0 l# b  k! ]
  581. ;;;;;;;;;;;;;;;;;
    3 w: Y3 d' E8 b
  582. ; Data Handling ;/ ~: J0 P3 v6 J0 m/ Q
  583. ;;;;;;;;;;;;;;;;;
    & j1 S7 X( ~! N- K3 M

  584. ! p- p4 f. x) }+ C
  585. ; The separator used in PHP generated URLs to separate arguments.1 b8 `8 W- t1 @/ P9 u  q
  586. ; PHP's default setting is "&".
    6 \0 E! S# W; ]
  587. ; http://php.net/arg-separator.output
    8 l8 M8 H. F/ B. C7 }5 j' X/ B& m. \
  588. ; Example:
    - J% d4 ]" t5 P( z
  589. ;arg_separator.output = "&amp;"" ^8 k" x! B5 R6 h0 J4 A& j* @
  590. 8 X" h7 A2 U" z% b, }! L5 i2 B
  591. ; List of separator(s) used by PHP to parse input URLs into variables.9 R& x; Z( g2 Z: T3 a4 ]
  592. ; PHP's default setting is "&".8 `$ l! ^5 D5 h* w( q* T! c" C3 a& m  M
  593. ; NOTE: Every character in this directive is considered as separator!/ A$ x. {5 y: i& Y7 P3 e& _
  594. ; http://php.net/arg-separator.input* A! K/ c+ v7 r, Y* ~0 U0 Y9 I
  595. ; Example:
    : g9 R; A+ y8 |6 q
  596. ;arg_separator.input = ";&"
      w; P. h& s3 y3 j

  597. . s6 s6 o& X& `2 A* _/ R% }
  598. ; This directive determines which super global arrays are registered when PHP
    & l5 w1 c, O7 z% w
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super. P, p& Z1 |. B2 e; k
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    , r; ], T0 h2 L/ u
  601. ; paid for the registration of these arrays and because ENV is not as commonly6 |; x, J4 @$ S8 o
  602. ; used as the others, ENV is not recommended on productions servers. You% p: `/ R. k; b& {4 l+ m3 e5 x
  603. ; can still get access to the environment variables through getenv() should you
    . }1 o  N9 Q# o4 S
  604. ; need to.
    % ~  X: _2 [# f
  605. ; Default Value: "EGPCS"
    , t( M4 Q' J5 N
  606. ; Development Value: "GPCS"
    " v' w* t+ p: A* P+ M) F) s
  607. ; Production Value: "GPCS";
    ; w2 g) H3 V  q& f! v/ m2 B. J/ y& }
  608. ; http://php.net/variables-order2 O* ~+ M  f  Q9 }  j  N: |7 S* c
  609. variables_order = "GPCS"
    % X4 m- U4 t' F  ?

  610. - Y; h1 U: L, G2 k
  611. ; This directive determines which super global data (G,P & C) should be
      J# C  W. e, E5 R- Y' O1 s& _$ O
  612. ; registered into the super global array REQUEST. If so, it also determines
    4 w+ Z" g3 m- R: t1 \
  613. ; the order in which that data is registered. The values for this directive+ Z* R# u. l7 z
  614. ; are specified in the same manner as the variables_order directive,
    ( d% C' F( B: `* h3 G
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set( b4 w+ e, z9 P1 b
  616. ; in the variables_order directive. It does not mean it will leave the super
    $ A! A5 H8 O+ B! X; D
  617. ; globals array REQUEST empty.
    1 s- e% x" |* B- R! E% \
  618. ; Default Value: None
    1 r( u6 k" C) A6 e5 ]3 z& s6 P
  619. ; Development Value: "GP"
    $ I5 I' ]2 Z. ^9 l6 r
  620. ; Production Value: "GP"
    : ~" X7 q4 E& |  T2 G1 ]3 X
  621. ; http://php.net/request-order
    0 X1 h9 T* R8 t7 R* C' a
  622. request_order = "GP"
    ( ^( L. S, v% R2 N, p3 ~

  623.   i2 Q5 t0 b( o/ H. b
  624. ; This directive determines whether PHP registers $argv & $argc each time it7 b9 R! Z3 V8 a7 m$ J" {4 V
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    6 O) _& B4 C+ V$ F& O
  626. ; is invoked. $argc contains an integer representing the number of arguments
    : h8 C" t# y- l
  627. ; that were passed when the script was invoked. These arrays are extremely# u; I! S* ~6 b) V
  628. ; useful when running scripts from the command line. When this directive is
    " t% d, I3 i7 ]/ `5 N
  629. ; enabled, registering these variables consumes CPU cycles and memory each time9 d, @" Z1 y! ?6 ]
  630. ; a script is executed. For performance reasons, this feature should be disabled0 [' M' ?* ]8 a
  631. ; on production servers.* J. |7 _5 H3 F3 N
  632. ; Note: This directive is hardcoded to On for the CLI SAPI* G" d! t/ u  E
  633. ; Default Value: On' \: [0 O# F) ]! o1 z: @% v6 ~: u
  634. ; Development Value: Off9 c3 U! }$ }: v; u
  635. ; Production Value: Off8 D! |5 w  M- W# l5 `" X
  636. ; http://php.net/register-argc-argv0 u/ ^" c& _# O' [
  637. register_argc_argv = Off3 E4 x) Z3 P3 s3 N# Q! m- b, E

  638. . |$ x! I. i  Z, D. U
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    % L0 k5 N& `3 f! L
  640. ; first used (Just In Time) instead of when the script starts. If these
    7 E2 Q# ~- Y$ @- {, s4 p
  641. ; variables are not used within a script, having this directive on will result. g9 m# C+ [7 ^. c+ A% z& {) y
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled1 y, X2 y; J: u9 z6 {. [% Q8 B
  643. ; for this directive to have any affect.
    6 c3 t$ O. g* S# c
  644. ; http://php.net/auto-globals-jit0 f7 g/ g' Q7 Z6 `4 B# i
  645. auto_globals_jit = On
    * L) Z( ?# @+ Z9 ~* \( ]

  646. + l5 N% L6 M) q' k* S  M+ ~$ a
  647. ; Whether PHP will read the POST data.
    1 h0 I( Y; T& _3 v& r- X
  648. ; This option is enabled by default.
    , z$ D/ {( f9 ]6 N: K2 n' o* A
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST, D) ?6 c$ u" q. d: @
  650. ; and $_FILES to always be empty; the only way you will be able to read the, O$ z1 P' n" I! p- i. h1 Y- s
  651. ; POST data will be through the php://input stream wrapper. This can be useful9 k" u  ?9 n7 Z) j& R8 N: Y( L
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    3 U/ P- \- Z6 t. x% _9 g. A* g- \
  653. ; http://php.net/enable-post-data-reading
    ! j, D0 o* C2 x) X* W
  654. ;enable_post_data_reading = Off- r% B. F9 r/ b7 @- ~
  655. % ]- U5 b2 V3 q  U- `9 `
  656. ; Maximum size of POST data that PHP will accept.% T& U" Q9 T8 x4 e$ b# P; c
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading3 K! N& ?; r2 v7 y
  658. ; is disabled through enable_post_data_reading.+ l0 d% e# e) f
  659. ; http://php.net/post-max-size
    6 T: A1 n" q: X# z# ^
  660. post_max_size = 50M/ |, F- d7 @9 N2 ?2 |

  661. 9 P; X6 R- j& Y  ]+ q) l+ z9 _4 D
  662. ; Automatically add files before PHP document.* t1 ~; |% }  |* |5 L
  663. ; http://php.net/auto-prepend-file4 {  ?3 ~2 L& t$ n4 _
  664. auto_prepend_file =
    $ R) N: d" t- y/ k
  665.   q, f* o) t/ u& V; @
  666. ; Automatically add files after PHP document., O2 l! y$ N# p; G% a
  667. ; http://php.net/auto-append-file
    , u3 r7 h/ e; U, R& Q
  668. auto_append_file =1 r8 M" A" U* d$ `: n' a
  669. + p. m$ y: D  t8 ^# k* v
  670. ; By default, PHP will output a media type using the Content-Type header. To
    0 q0 c9 d7 |# \8 k4 ~5 o
  671. ; disable this, simply set it to be empty.
    ! K5 D! J4 V( P! m; [# G" d" S4 J
  672. ;* F8 x0 S, n6 K5 P' L
  673. ; PHP's built-in default media type is set to text/html.
    6 U  H  j& {, g' N2 W
  674. ; http://php.net/default-mimetype5 E* j' u4 h5 n- @8 i9 Z6 m' |& N% w
  675. default_mimetype = "text/html"; R7 R% E" j; {4 D& ?, X) T
  676. + z. m$ ?1 K8 s7 t1 f0 [
  677. ; PHP's default character set is set to UTF-8.
    % V5 \- }& K* P8 n$ i3 z* f& x
  678. ; http://php.net/default-charset1 z( R, k; I  b8 f- p, B; Z
  679. default_charset = "UTF-8"
    & r# h; p/ [2 S) k. b6 C* P4 W8 O
  680. 7 r) M8 [# a1 Z* @0 U: e
  681. ; PHP internal character encoding is set to empty.
    & `$ T  P( I  f/ _
  682. ; If empty, default_charset is used.3 x! h, o* O- Y, o
  683. ; http://php.net/internal-encoding
    . D, c6 w; \0 T% ~
  684. ;internal_encoding =) T4 @  `1 r5 l) y5 w

  685. 3 ?" I1 n6 K( ~! d
  686. ; PHP input character encoding is set to empty.9 t5 W/ @+ @9 S3 h6 w9 f
  687. ; If empty, default_charset is used.0 }2 D. e: s2 u- k
  688. ; http://php.net/input-encoding+ K2 i" ~' c7 y- L0 B; B
  689. ;input_encoding =$ ^6 @/ V. j3 t/ V+ Y0 x
  690. # r6 {8 M5 \5 W5 S
  691. ; PHP output character encoding is set to empty.2 B! b2 K8 c, `7 ~( c) M+ S
  692. ; If empty, default_charset is used.1 e$ D  c4 o. v$ I, {- c  A
  693. ; See also output_buffer.
    + g5 ^1 q! W, H
  694. ; http://php.net/output-encoding5 B& ^) |8 ?1 I- w7 a, I  B9 `+ R
  695. ;output_encoding =' |5 l) q5 x9 C  p
  696. ' o0 Q2 `7 H* W! u/ k' e
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is9 r* s$ @4 A/ N, Z& z
  698. ; to disable this feature and it will be removed in a future version.
    " d4 c) D  A3 h. l3 d
  699. ; If post reading is disabled through enable_post_data_reading," |) w2 {) V* L% `
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    $ B+ W+ ]) c% [
  701. ; http://php.net/always-populate-raw-post-data$ Z0 R- p/ k& ^
  702. ;always_populate_raw_post_data = -1
    : u$ _+ V) ^" ?" j% C' R
  703. 4 I8 u% `1 T+ i0 V$ t
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    8 k* i9 R: Z1 E  a4 r6 c
  705. ; Paths and Directories ;3 _% q; H# t: R9 F1 M3 e
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;* ^& G& T' }+ t
  707. 0 }. q0 u8 a9 R* i/ D, [4 b$ N9 @4 ~
  708. ; UNIX: "/path1:/path2"
    7 S1 N! Y' F4 _* L7 q" ^; n
  709. ;include_path = ".:/php/includes"2 v/ _5 S: E* R/ G' ?) j9 ^7 ^1 D6 K
  710. ;
    & m5 u6 |3 {& s" ^/ v8 k
  711. ; Windows: "\path1;\path2"
    * @- r% z5 F+ f$ x1 v$ {& C; T2 k
  712. ;include_path = ".;c:\php\includes"+ C: L* S$ J# w& _( a, }# i
  713. ;. I' H3 W* K7 |" ~0 _( Y$ o/ U
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    ( C1 w) r% J( R2 Z' `
  715. ; http://php.net/include-path
    ( P2 x; ^7 e* a

  716. $ I7 R7 `0 d5 h& I; V0 `
  717. ; The root of the PHP pages, used only if nonempty.
    7 A2 d$ ~( ]  X
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    3 x; D0 K: ^. H
  719. ; if you are running php as a CGI under any web server (other than IIS)
    ' {- H0 n6 J, ?; G  e7 h; K
  720. ; see documentation for security issues.  The alternate is to use the( X9 \  L$ [! N8 ^
  721. ; cgi.force_redirect configuration below! q5 Y  v+ [# b
  722. ; http://php.net/doc-root( K3 A0 e- `) ]
  723. doc_root =
    4 q8 }4 w. o7 J% ?

  724. + {1 {) Y8 Z/ I# e% C
  725. ; The directory under which PHP opens the script using /~username used only
    8 D# W$ p- n4 M" n4 ~' e% c
  726. ; if nonempty.
    & c# `! e' x2 t# }9 A. y! U
  727. ; http://php.net/user-dir+ N/ u: A8 B- r. \* ]: U
  728. user_dir =
    . n( B4 t+ }1 F

  729. * r& _+ P& L. f1 H) w
  730. ; Directory in which the loadable extensions (modules) reside." m' p- F/ i, i/ U
  731. ; http://php.net/extension-dir
    2 S. Q$ E$ y# r) _3 u. ^
  732. ; extension_dir = "./"* x$ h" q" ?2 @; F: |
  733. ; On windows:) g0 H2 C5 Z1 U( y" }$ n$ X# z
  734. ; extension_dir = "ext"
    ! h9 Q2 ~- `# y* L& G4 k3 _3 R0 c+ R4 c
  735. + a& t0 o2 C& }
  736. ; Directory where the temporary files should be placed.2 \" {* @! e% H1 `
  737. ; Defaults to the system default (see sys_get_temp_dir)
    : j1 V. a# G% ^
  738. ; sys_temp_dir = "/tmp"
    % A2 a6 g% U7 `
  739. * B" k" K9 c6 H+ n" `0 z0 K
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work# a5 a8 s: b; e2 q* z
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically: h8 i$ l: C1 W: G
  742. ; disabled on them.
    / q5 i" B4 N* {& J3 K7 T4 K
  743. ; http://php.net/enable-dl4 I1 w9 _+ A) p9 y, M
  744. enable_dl = Off
    ) {4 n7 I  p" X+ u  o% s
  745. ) K+ {+ X, T5 B6 u- p( `
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    8 f  X' m$ R  J9 S8 s- V
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can- }9 a! ]- k$ C$ f5 [
  748. ; turn it off here AT YOUR OWN RISK- @5 o+ s/ L9 v4 y* _1 z/ X0 _
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**1 O" d: `8 J  o$ q
  750. ; http://php.net/cgi.force-redirect
    : _. P9 X. K+ F! r) g* P5 S7 f
  751. ;cgi.force_redirect = 18 R+ m( ]+ X9 v7 m& `$ Y/ X4 k
  752. ; t9 _# v! |" ?: A
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with6 i& j1 L5 v0 C6 c' k* H
  754. ; every request. PHP's default behavior is to disable this feature.  [! E! d0 s$ ~
  755. ;cgi.nph = 1( c* K6 Q% ?# ^/ f

  756. 5 X) w0 _; V5 R3 I
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape" [( |7 ?2 f& |" A/ k' e
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    3 K+ U1 t- R9 @' t
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY( ?3 e' G- m* A
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST., `  f. T) k7 U6 p7 e3 n. D  \& x1 O
  761. ; http://php.net/cgi.redirect-status-env
      }" l. @! v4 z) {% i2 g5 b
  762. ;cgi.redirect_status_env =# n, ]7 S4 Y2 n* y! E, q- i2 `1 U) h
  763. % j0 z# J/ P% B# I0 W6 u8 {$ G
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's6 g1 y. k: ~9 ?9 b
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok/ U* U" ]# N# s  h. c5 K6 e; E
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    1 E+ _0 a3 n* P% Z
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    $ B5 g1 }! ]: f/ ~9 S; Y
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts; N( z7 v8 z7 f+ j9 v4 B1 B* o6 a
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    7 u, C# q; _# q; Z: N, o& T
  770. ; http://php.net/cgi.fix-pathinfo
    ( o7 f4 L0 U) |6 t+ F0 ]
  771. cgi.fix_pathinfo=1
    1 C* a& R& [2 T: d- P+ M3 E

  772. " k& d/ F' v( \) O* c+ ?
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside5 N- f6 @  K, t1 J) Q
  774. ; of the web tree and people will not be able to circumvent .htaccess security.: ]! W% o5 M' i) V! B7 ?' z* x- z
  775. ; http://php.net/cgi.dicard-path& G% ~) W  z" D  H
  776. ;cgi.discard_path=13 Z( @! J) K9 r: I+ o3 z: c
  777. : K6 i8 K: t3 _& G
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate0 a0 y$ g5 i; S8 L
  779. ; security tokens of the calling client.  This allows IIS to define the
    + A$ R: q9 z6 g' l* a" A
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    $ X$ s0 N3 e* E4 F. M
  781. ; does not currently support this feature (03/17/2002)
    0 C6 e! r: h% R/ b+ t$ G0 S5 ]1 q3 Z3 o
  782. ; Set to 1 if running under IIS.  Default is zero.
    * Q: U' ?3 X& Y8 z( }
  783. ; http://php.net/fastcgi.impersonate7 a% l6 _- o. M' w5 O
  784. ;fastcgi.impersonate = 1
    . D$ ~; ~, |. N- D4 P, Q
  785. / t- \, ?+ q- c5 j9 y9 H: Y; j
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable. O3 }# ~* I% k; c; |/ Z
  787. ; this feature.
    " R- x- B+ {1 p  u) J* h! S
  788. ;fastcgi.logging = 0
    2 w  u% {: x: @

  789. : c, {: ~! R3 o2 ^" g% l
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to& I! N$ k! J7 u+ \  _
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    . @# P1 f7 s) x, u" p& T
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    2 f( L) |! u% J5 D1 c; h! `+ e
  793. ; RFC2616 compliant header.; L! h+ L+ z% V0 d& W, T
  794. ; Default is zero.
    8 [* }  c# R# f' I6 V& @
  795. ; http://php.net/cgi.rfc2616-headers
    ' j8 q0 m, E8 X" X/ U
  796. ;cgi.rfc2616_headers = 0
    # b5 D+ X+ [1 {* u% Z
  797. 2 {6 T+ B# B0 a: C8 l9 F5 m
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!' D+ G9 g. s' L  d3 [3 w, G- Z
  799. ; (shebang) at the top of the running script. This line might be needed if the5 Y2 ^8 M% {+ ^& ~. ~1 Y
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI% W" M( `8 ?2 V2 x/ s
  801. ; mode skips this line and ignores its content if this directive is turned on.
    ; P3 d: z6 H$ G+ M
  802. ; http://php.net/cgi.check-shebang-line
    $ G7 b( a2 E7 U$ O) t% V0 b% W4 C
  803. ;cgi.check_shebang_line=1, K" [' o8 X9 y2 E$ D* l0 I9 ?9 N$ V
  804. 4 Q+ G4 y4 U5 F' ]' k
  805. ;;;;;;;;;;;;;;;;! O; a9 r+ R" e5 V" @
  806. ; File Uploads ;# H) g3 G" m) B4 B
  807. ;;;;;;;;;;;;;;;;
    . ]4 O: s1 @* t
  808. - Z% y, [# N& }& K
  809. ; Whether to allow HTTP file uploads.& E$ ?' [* @8 J/ _
  810. ; http://php.net/file-uploads
    + m1 O; T: f# f& ^3 D4 Z" M
  811. file_uploads = On' L! R& a% x! _
  812. ! f9 b4 `9 W4 z' K" \
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    4 a. S2 z2 F0 r. ]  B9 r7 Y
  814. ; specified).9 s2 P" h! Q0 A0 j  l
  815. ; http://php.net/upload-tmp-dir
    ' \: |+ p  O8 A5 Z
  816. ;upload_tmp_dir =
    4 p; Q+ d& I9 W& s- c5 ^, s; O

  817. " a& o9 j% |2 c8 I9 _  ]
  818. ; Maximum allowed size for uploaded files.- J: I# E( y. I. C; B7 ], }* V
  819. ; http://php.net/upload-max-filesize
    . F( z, s! T0 `& Q2 W2 E% p2 U9 {- \
  820. upload_max_filesize = 50M
    " I5 T0 g  p0 l, {

  821. 8 b  j; y. ^; H3 t# T; J3 H/ u- t
  822. ; Maximum number of files that can be uploaded via a single request& s8 O( n: t# [% @' ]
  823. max_file_uploads = 20
    2 |. F2 i8 m* r& z" g
  824. ; ^5 c0 W' ^+ W$ n
  825. ;;;;;;;;;;;;;;;;;;' v+ u% ?5 \" O$ z7 S, h3 q' h0 q
  826. ; Fopen wrappers ;* d( W; u* I/ R3 r" I
  827. ;;;;;;;;;;;;;;;;;;
    , U' s0 i. ?1 R2 C

  828. ( U9 @- e" u7 Q7 A
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.3 R% E: I9 k% u/ j3 p- m) Y2 _
  830. ; http://php.net/allow-url-fopen
    7 y8 m# V0 K! ?( o, J
  831. allow_url_fopen = On
    9 C# t1 r7 c/ l# H1 M
  832. 6 g. K" }7 T. p. v5 y
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    & h! s3 k. m% j% f
  834. ; http://php.net/allow-url-include
    / G& d! ]9 l/ B5 S
  835. allow_url_include = Off
    $ f: M! B% J& w0 c4 [

  836. & H8 F9 J7 z  B* p) a. P) E! F
  837. ; Define the anonymous ftp password (your email address). PHP's default setting+ E: A) S: p4 M$ q
  838. ; for this is empty.
    " Y8 O$ H; D: E$ W. B6 \( j/ }
  839. ; http://php.net/from
    3 i: `1 e; h) H4 C6 E+ {# i  `0 i, n6 `
  840. ;from="john@doe.com"
    ' x6 c+ O- y) t# b) [- X- f  c
  841. ( m$ o) _" X2 L- H, H# E
  842. ; Define the User-Agent string. PHP's default setting for this is empty.9 N& Y. f0 d. Y% t- K$ e6 b
  843. ; http://php.net/user-agent
      X% P8 B0 _! r1 z6 @5 H
  844. ;user_agent="PHP"0 a  Z. n1 w6 c) v) ]6 o
  845. 5 i% S# b5 `1 l6 Q
  846. ; Default timeout for socket based streams (seconds)4 i8 |+ n$ }) F1 f8 W
  847. ; http://php.net/default-socket-timeout& y9 M  X" k' z1 Q
  848. default_socket_timeout = 60
    ( ^# m% |5 q5 r4 R
  849. 6 c9 O8 f4 K3 ~1 v0 E( @6 ^. {
  850. ; If your scripts have to deal with files from Macintosh systems,; m/ W) r$ O: I
  851. ; or you are running on a Mac and need to deal with files from7 S1 W& ^; D' F. L
  852. ; unix or win32 systems, setting this flag will cause PHP to" V# i- d& e0 b8 d' q
  853. ; automatically detect the EOL character in those files so that
    7 g3 J9 U! [3 y1 w6 W5 c
  854. ; fgets() and file() will work regardless of the source of the file.( _) e7 S8 k, e$ T0 J6 ?3 }
  855. ; http://php.net/auto-detect-line-endings: T1 `# `  E- g
  856. ;auto_detect_line_endings = Off7 K7 I" d: A( ?+ J, @+ W: j
  857. 3 @1 [8 T9 v  S6 r8 r* V
  858. ;;;;;;;;;;;;;;;;;;;;;;9 ]/ l3 a' W" D, _( a
  859. ; Dynamic Extensions ;# u9 r2 J9 S2 d" |9 h; L4 T7 T, V
  860. ;;;;;;;;;;;;;;;;;;;;;;, W+ R9 [, V* Q

  861. ! S1 [; s. Z4 O0 P  e: P" H
  862. ; If you wish to have an extension loaded automatically, use the following
    0 y, H" L, c2 k
  863. ; syntax:
    ! A' V. I* z6 x$ w. k* g
  864. ;
    " Z1 k- _- B' t8 j8 d
  865. ;   extension=modulename.extension, J6 J2 o! b  }$ L& P  p
  866. ;
    0 k6 j. S! X* e3 F: `3 x
  867. ; For example, on Windows:
    % f  P' F- O: q) p+ L9 c
  868. ;. R& U% m+ `0 L, L7 G/ g  a
  869. ;   extension=msql.dll
    : z1 a. l3 t/ R. }% r# U0 j3 p
  870. ;$ s& d- n' X; ?
  871. ; ... or under UNIX:' \0 k! \4 w: ], A3 \9 P9 e
  872. ;
    * B% H6 z/ n2 q8 s5 P
  873. ;   extension=msql.so+ F( t. b0 p, f$ H; V+ X" y1 B7 K
  874. ;3 l, @2 N( m9 B0 s1 c
  875. ; ... or with a path:
    5 l- K% I+ g# Q
  876. ;
    ! |! u1 x0 w8 c
  877. ;   extension=/path/to/extension/msql.so) w+ V- j( T8 m5 C
  878. ;
    . Q" ]' a, O+ U) q4 u1 z$ v
  879. ; If you only provide the name of the extension, PHP will look for it in its
    7 \- ~1 k4 r& U( m; `
  880. ; default extension directory.$ x- C; b  i9 V2 C
  881. ;
    + O4 i' @2 B3 ~& w+ l/ a
  882. ; Windows Extensions
    9 B# N. W: V& S; G, Q! S( c# _
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    * ?7 K& Q1 V  F& `  e7 |: _
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    - u& m. E: E- |4 g$ [! d
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).- }- i7 w' ?! H8 O
  886. ; Be sure to appropriately set the extension_dir directive.& \% Z2 U- Y3 Z- M6 V
  887. ;5 v6 Z- P3 \: ?) V
  888. ;extension=php_bz2.dll
    ; }4 U; h+ f( v8 I
  889. ;extension=php_curl.dll/ ]* m, t* U! d6 x" Y1 L
  890. ;extension=php_fileinfo.dll
    5 U- y+ P6 k1 k& T/ A# R3 Z& r7 c
  891. ;extension=php_gd2.dll
      {3 _5 {7 S, b1 Q
  892. ;extension=php_gettext.dll) d( M! F$ W1 @5 J% ?: T
  893. ;extension=php_gmp.dll  q' u  R: ]# J3 [! r" X
  894. ;extension=php_intl.dll: ?, L) F/ q5 F. X5 B
  895. ;extension=php_imap.dll, ?. m% Y$ _2 }* g
  896. ;extension=php_interbase.dll
    1 b8 E; H7 w* T
  897. ;extension=php_ldap.dll2 z, F4 W  I9 J) L9 z
  898. ;extension=php_mbstring.dll' R) W* d2 d* t6 V. {
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    9 |$ I0 Q: L2 U
  900. ;extension=php_mysql.dll
    : l* a& e5 r. _
  901. ;extension=php_mysqli.dll
    0 H9 e! W6 C" C7 z3 [: s1 I
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    ) {1 W7 y* v$ d1 Z
  903. ;extension=php_openssl.dll
    . Y" w9 j2 B% A: m) x3 S
  904. ;extension=php_pdo_firebird.dll/ X+ d0 A& W+ t: T  W' R
  905. ;extension=php_pdo_mysql.dll
    0 G0 H5 {4 R7 s4 _' {
  906. ;extension=php_pdo_oci.dll2 a8 k' r% L7 a7 w5 |+ s; n
  907. ;extension=php_pdo_odbc.dll
    * N) t+ b4 u2 Z( ~" n, x% O* d5 w
  908. ;extension=php_pdo_pgsql.dll9 N. z* q, Y$ f
  909. ;extension=php_pdo_sqlite.dll2 k5 V! z! E5 n3 U& \* k3 m( [2 e: Z$ [
  910. ;extension=php_pgsql.dll
    9 o' u4 y* Q- l6 Z6 R
  911. ;extension=php_shmop.dll
    2 r! Q0 p# A- ^" Y0 E

  912. 9 }* _: [' `# ]7 E0 L
  913. ; The MIBS data available in the PHP distribution must be installed. 0 J: H" w9 C' p. e$ c# k3 h* Q
  914. ; See http://www.php.net/manual/en/snmp.installation.php . d7 Z# i. F+ y+ c1 l1 E$ d/ n
  915. ;extension=php_snmp.dll" F4 B7 O5 D9 D+ o; w8 @

  916. ( X! X. B) k/ Y; ?6 e8 y
  917. ;extension=php_soap.dll
    . K( g( B. a2 g5 `! f- L7 t. u. A
  918. ;extension=php_sockets.dll
    2 H3 w8 c6 u2 c3 V3 O
  919. ;extension=php_sqlite3.dll8 c3 `  e* b# d( Q
  920. ;extension=php_sybase_ct.dll4 J' ^; U* P+ I* i9 o* J+ t
  921. ;extension=php_tidy.dll
    9 j4 c! i6 i! u. C# @. b# w
  922. ;extension=php_xmlrpc.dll$ J$ n1 J- l( Q# Z, ~
  923. ;extension=php_xsl.dll! T) X" Y8 M5 }6 z/ b) n
  924. " F, o. {; H$ ~! `9 b; h# z8 J. s' T
  925. ;;;;;;;;;;;;;;;;;;;
    ) [) h/ a2 `7 s) C; n
  926. ; Module Settings ;
      u% V% [4 ^1 `/ B8 n( X$ h
  927. ;;;;;;;;;;;;;;;;;;;! M2 e6 Q) h( c( z

  928. + V2 w% W  x& U8 ^( X- ?+ W
  929. [CLI Server]
    , [* P' F/ n3 d4 `1 g
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    ; d& Z* g$ g9 l; T9 r0 I6 o% L6 D
  931. cli_server.color = On$ W0 D7 ^7 k  V
  932. ' r3 I2 z! c. w4 \9 A, Y
  933. [Date]
    % q' B. ]6 H2 j! ?; O- i" |
  934. ; Defines the default timezone used by the date functions
    % E- c6 H0 W$ V$ I, ^
  935. ; http://php.net/date.timezone8 E- E2 M0 R, ~5 x  M& w
  936. date.timezone = PRC
    $ d1 t# {$ B) W( H% }" U

  937. 0 \" D# c1 {$ X) b* r
  938. ; http://php.net/date.default-latitude
    6 Y8 l% N; p2 p; _8 k8 J
  939. ;date.default_latitude = 31.7667
    5 a) S: k! k& Y& A. O7 ]/ ?% c9 Z

  940. 8 v0 G- D6 L: t
  941. ; http://php.net/date.default-longitude  g& }  f: M0 [- J# \
  942. ;date.default_longitude = 35.2333
    ' F. R( |$ f) G' y) T' p- |

  943. ' t% R7 d( N0 R6 |
  944. ; http://php.net/date.sunrise-zenith7 S5 V. v) Y( e- P  E( W7 ~4 ~
  945. ;date.sunrise_zenith = 90.583333
    & {# D# G! M  z% M

  946. ; r+ O6 p) c4 J3 a' I
  947. ; http://php.net/date.sunset-zenith# A- e& \3 O. D
  948. ;date.sunset_zenith = 90.583333/ B& R( H' @5 B1 D8 g

  949. ; b/ @& i$ Z9 g$ E7 }
  950. [filter]8 U9 ^6 v8 `/ c0 Y
  951. ; http://php.net/filter.default' s* y8 q# N' B! q* _, S! e
  952. ;filter.default = unsafe_raw
    7 x2 W. H% z* k2 a$ D9 ^, g
  953. ! y3 T4 \9 u1 Z7 @" W) j
  954. ; http://php.net/filter.default-flags0 a+ U( b1 X% |+ d' R+ r, b
  955. ;filter.default_flags =
    ' Y; s8 J% G- J+ s% B9 P4 K
  956. , @: D! o% U8 {. R
  957. [iconv]6 e! @# t5 K9 y3 D: {
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.4 L) b2 `' Z4 b  P2 d2 m
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    # b& J0 X& g6 I# h  @$ u& ]6 ~
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding- ?. k- p# K. _5 z4 y
  961. ;iconv.input_encoding =' I/ d4 O$ p) e6 c; H
  962. 7 x' f( k( ~! s$ h" o* J
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead." {0 b( K- ^0 X' U$ X+ W
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.& h. s9 W9 M- Z; U5 y# l' a
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding3 U" y. D) I# F. g4 u
  966. ;iconv.internal_encoding =" A, s9 Y0 e7 q  b; s4 B; S5 f
  967. * S4 a7 |- l7 c! l9 F3 E
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.* M0 N. U0 u5 ~* K8 u1 ?9 P0 ~
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    0 a; M# A& G1 z6 n: m* s
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    $ L9 ?- o9 }1 f% G. C
  971. ; To use an output encoding conversion, iconv's output handler must be set
    1 _7 N2 @0 |7 {/ b2 i/ m
  972. ; otherwise output encoding conversion cannot be performed.
    " h$ \: ]8 ~# Q
  973. ;iconv.output_encoding =
    4 a$ `$ J% g% N; N) `+ |* m

  974. & o2 {: S! L; `; a( r9 ?
  975. [intl]
    8 p! D: h; }' _/ i
  976. ;intl.default_locale =
    : A2 [$ y+ n# o" O* ^- ?
  977. ; This directive allows you to produce PHP errors when some error
    . q/ S: w$ n9 {2 _0 ^$ V+ h
  978. ; happens within intl functions. The value is the level of the error produced.' J8 y0 [  W6 J$ T6 m2 a
  979. ; Default is 0, which does not produce any errors.* a0 E8 l" s* F& V* B# J
  980. ;intl.error_level = E_WARNING
    ) N9 R8 @7 f, c8 L
  981. ;intl.use_exceptions = 0- s+ u  g, d# c/ w+ g

  982. / `" \. \( h/ ^  `, V7 B
  983. [sqlite3]
    6 R4 R8 w# D6 W) ~& T) {
  984. ;sqlite3.extension_dir =3 Y2 u5 a3 ~: \: x$ r4 k7 ]

  985. " e! `2 M. |1 z7 k* l) X
  986. [Pcre]
    7 P$ F  q6 j2 B
  987. ;PCRE library backtracking limit.+ a7 T* U& s. s  J% k5 x7 W+ V& u
  988. ; http://php.net/pcre.backtrack-limit
    8 d  l& k! y3 D4 P5 H
  989. ;pcre.backtrack_limit=100000
    3 _. D7 _6 n3 z/ G# E6 I; X) x

  990. " T# l) |$ X8 S7 W: W% C
  991. ;PCRE library recursion limit.% C: J9 ~- U0 w3 P# \8 {
  992. ;Please note that if you set this value to a high number you may consume all
    . u. Z9 ?: q) L9 t
  993. ;the available process stack and eventually crash PHP (due to reaching the$ f' z- s3 Z$ ]/ J6 Y
  994. ;stack size limit imposed by the Operating System).0 l, X6 u) A; f2 B3 u/ {$ V0 D
  995. ; http://php.net/pcre.recursion-limit2 L& {6 L3 o' [; y' e
  996. ;pcre.recursion_limit=1000000 P+ H$ @$ h' t

  997. 1 O2 j7 }7 O& w8 f: v+ O
  998. [Pdo]
    " p- M& L2 G. v3 v! {
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    ) @2 b' A4 g) k, [4 N& ^0 q" r
  1000. ; http://php.net/pdo-odbc.connection-pooling% a! G6 S" t: b- S. T
  1001. ;pdo_odbc.connection_pooling=strict/ e; H9 G1 g* D/ U- ?( E6 _

  1002. " s, H! ^7 }# y  K# R2 A% ^
  1003. ;pdo_odbc.db2_instance_name
    + ]$ n  R- [2 x- n: [
  1004. 3 [2 j; t3 M& M3 j" x& t
  1005. [Pdo_mysql]: A7 V- x& T/ T2 W" s1 l
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache( z* B* p5 I" {8 u, G
  1007. ; http://php.net/pdo_mysql.cache_size
    - Q" g  Q+ M( v; h# E' _: o5 y8 K- v3 [; k
  1008. pdo_mysql.cache_size = 2000
    8 Y, ~# Z, d  R" C3 }6 }# d

  1009. 6 T+ z  r% s7 R3 }6 x' Y) @! P: e5 ?
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    6 |3 h$ B* }' ]" ?$ m9 y& j. P
  1011. ; MySQL defaults.. h- s! J( N/ U
  1012. ; http://php.net/pdo_mysql.default-socket% z6 P/ e/ s$ Y3 }6 W0 E
  1013. pdo_mysql.default_socket=
      _7 D2 O8 F( V6 h6 u& L

  1014. , I% J7 T4 f, x! \. f1 ]
  1015. [Phar]( w- B, E( z* v( s7 g
  1016. ; http://php.net/phar.readonly
    6 q; h8 s$ U* }8 i; I
  1017. ;phar.readonly = On. R9 Z) ^- W  U" G" Q# U
  1018. $ n( A# G; l# s0 g2 Y
  1019. ; http://php.net/phar.require-hash
    7 M7 Q( V! h) s- `: F' J7 e7 P" w
  1020. ;phar.require_hash = On9 A; ~6 N& L3 a1 H# m  j; s) Y
  1021. ' y7 ~% E& Q, ?3 \4 k1 j9 \) T
  1022. ;phar.cache_list =
    1 ^4 V  s( c) K; D( A! T+ a- V2 B
  1023. 5 e* q7 O$ t8 `
  1024. [mail function]/ N) [8 X% \. m) v# N) I6 _/ e! z5 ]4 r3 m
  1025. ; For Win32 only.6 _1 z7 K) [. r, b4 j9 N
  1026. ; http://php.net/smtp; D& [5 W8 o& U$ A! e2 c
  1027. SMTP = localhost
    4 f: ~- t. V/ o# m8 \( _
  1028. ; http://php.net/smtp-port. R9 A1 \& r/ _4 e; H9 N
  1029. smtp_port = 257 K) a3 T3 b6 i8 q# P8 V

  1030.   j8 H7 K8 v5 e( N4 m; g% [
  1031. ; For Win32 only.
    7 B8 }, H( Y# p# l
  1032. ; http://php.net/sendmail-from, ?7 V5 B0 `% a3 J
  1033. ;sendmail_from = me@example.com5 m9 ?  N  J6 g
  1034. 0 a1 V9 r$ R; [
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").' i* s0 h6 ~) F4 K( c
  1036. ; http://php.net/sendmail-path* R5 N* i  t3 d/ x
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    1 @) ]) f# m: |( p! ]" X
  1038. / }3 `0 w, w1 @5 h7 z9 Z
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    - A9 x" g/ g: v' q3 z
  1040. ; to the sendmail binary. These parameters will always replace the value of
    ) p, ~: z5 V+ d! B
  1041. ; the 5th parameter to mail().
    2 J7 M, y5 K, L; H
  1042. ;mail.force_extra_parameters =
    : ]( M/ J6 _, e: H# E7 G! F
  1043. + R1 a9 `" B" a5 i9 `7 R
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    8 E8 u3 Z9 y( z8 ]. W% s( G
  1045. mail.add_x_header = On; _: s: w& ]- _! f  J- P8 g

  1046. * d/ u" E& W9 G. y' W
  1047. ; The path to a log file that will log all mail() calls. Log entries include  s9 q7 b( `$ x9 h) m
  1048. ; the full path of the script, line number, To address and headers./ K9 ~" y% V6 S% C3 D& V& ^) Z$ {) R* c1 o
  1049. ;mail.log =
    : J' I* U. l; _& t
  1050. ; Log mail to syslog (Event Log on Windows).: a3 I7 u5 `9 l& `
  1051. ;mail.log = syslog1 ]' h8 n4 D; }
  1052. 6 g% Z- E& P& A$ \' q+ q
  1053. [SQL]
    1 L; S* Y& x8 }9 Z& A3 T$ Z
  1054. ; http://php.net/sql.safe-mode4 c- J  N( _. K& o
  1055. sql.safe_mode = Off2 o0 L: c/ H: j3 p+ Z2 g/ g! r
  1056. # ]8 M( U+ W/ H* V. v/ y
  1057. [ODBC]0 S" U7 Y; \$ q2 S) Q
  1058. ; http://php.net/odbc.default-db1 t+ `8 w# X, f% i( u9 Z
  1059. ;odbc.default_db    =  Not yet implemented
    ' x7 z6 ?5 s; I- i  u

  1060. 6 h6 `  ~6 u% _
  1061. ; http://php.net/odbc.default-user
    ) z9 l4 c3 s# n/ I% y
  1062. ;odbc.default_user  =  Not yet implemented
      t  Q0 M3 J0 F( [1 _

  1063. ! Y& ~4 o' ~+ L0 f2 H& {/ J/ q
  1064. ; http://php.net/odbc.default-pw$ A( u/ g. m# n! S! c& W, c7 s
  1065. ;odbc.default_pw    =  Not yet implemented
    # ~- x  z% @6 d9 F  n
  1066. ( l! E! I( i5 F; k0 w0 v
  1067. ; Controls the ODBC cursor model.) k" w6 H1 z# z8 R# U7 ]! m
  1068. ; Default: SQL_CURSOR_STATIC (default).# }7 i. G' A. j/ ~
  1069. ;odbc.default_cursortype
    9 x) a+ I5 g/ x" U) D" x7 V; t2 u, @

  1070. % P3 h% ?8 |- d, x2 y1 l+ L$ T
  1071. ; Allow or prevent persistent links.
    : q( }+ T8 N, p6 @8 @
  1072. ; http://php.net/odbc.allow-persistent
    , O( _7 J' T! {: h5 K8 `6 j+ d
  1073. odbc.allow_persistent = On
    ! V; A4 O+ z- h3 x: Y- Q9 e8 D1 y
  1074. * s$ `6 w# A: o: ^1 @% C- ~
  1075. ; Check that a connection is still valid before reuse.  r; D  v1 |  P5 k. N7 S
  1076. ; http://php.net/odbc.check-persistent$ |. o  z0 C; v7 @/ T
  1077. odbc.check_persistent = On
      s$ B8 l& A' ]) p
  1078. 4 p; u1 e/ A% D2 P0 V2 z) X5 z* }
  1079. ; Maximum number of persistent links.  -1 means no limit.
    4 U0 p! C! O" f1 S, U' ^
  1080. ; http://php.net/odbc.max-persistent
    : z& r: c2 o8 y6 z- [2 {
  1081. odbc.max_persistent = -1
    7 F4 A/ O# a: D: H

  1082. . ~5 g4 e3 W; i0 l3 Z, h1 n
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.' b/ E# E& ~, g
  1084. ; http://php.net/odbc.max-links
    / e  f# m& y7 C# G* O4 K# \
  1085. odbc.max_links = -18 [7 a5 i1 y5 m2 m7 [

  1086. ; I* J+ ?- R: r. e, r) ?2 o1 G
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means/ k: t1 Y" O% L
  1088. ; passthru.
    1 L  ]$ I! c" P) Y
  1089. ; http://php.net/odbc.defaultlrl' K$ g3 r+ @5 \1 J) |
  1090. odbc.defaultlrl = 4096
    7 e3 x# B8 s1 Q
  1091. / W/ A2 r: i2 [* F
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    9 z' |, l7 s2 t0 o2 W
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation' @+ ]$ {. p9 `9 h. h) g! E$ }
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    " T8 r2 O' b. G: V( O
  1095. ; http://php.net/odbc.defaultbinmode+ e% l  v: X4 Z9 F
  1096. odbc.defaultbinmode = 15 E/ {& `4 w0 h6 ^8 ~

  1097. - a! j' S8 N6 k
  1098. ;birdstep.max_links = -1
    % B+ U9 f; @( `& f+ E' v
  1099.   I+ Z  `9 ?+ }9 G5 ^& a8 g2 N: k
  1100. [Interbase]
    % R: H6 R( V% ~5 W
  1101. ; Allow or prevent persistent links.
    1 Z$ V6 [( h! \" `0 `
  1102. ibase.allow_persistent = 1+ s, e# q. A* M; I2 M
  1103. 1 \- U3 n3 H7 K7 C, @
  1104. ; Maximum number of persistent links.  -1 means no limit.
    : A- J/ {2 n6 l0 V- P
  1105. ibase.max_persistent = -1
    # C: M* a: r2 V- t! I

  1106. % c# c. `: F7 q  o$ \( w( f0 G  _
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.  R0 \9 D; h, |* ~
  1108. ibase.max_links = -1! Q/ ]0 [' f% ?: D+ X/ r- O: ~4 f
  1109. ( j' M3 O4 q+ D" ?* ^" B
  1110. ; Default database name for ibase_connect().- H5 q9 L% a) k; g
  1111. ;ibase.default_db =
    4 \& W. e, N9 c
  1112. ( r; [$ l8 R" m- N
  1113. ; Default username for ibase_connect().
    ) @: H/ W- B' r
  1114. ;ibase.default_user =) y) [+ p. ?( N0 r; R" a" `

  1115. ; `  j* Y0 W5 z+ [9 w! E
  1116. ; Default password for ibase_connect().
    4 G; D6 V* K! ?9 Q) T( v5 y) v
  1117. ;ibase.default_password =
    $ X0 T0 }# F3 i2 A" w! N
  1118. - D$ i7 E3 ^( A$ o1 S, ^; i* G
  1119. ; Default charset for ibase_connect().+ z9 X) [2 f: ~/ H: c& L5 g7 O
  1120. ;ibase.default_charset =/ e4 a% W" M4 f) s9 C3 z; |: F
  1121. ) S0 q1 v$ j( b2 V5 h4 q# S- A* V
  1122. ; Default timestamp format.
    ) E6 e( Z4 r: p
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    / ~. e: H7 Y  M) t" m/ \

  1124. 7 v4 w  F; l9 x9 z6 J6 ~
  1125. ; Default date format.* ^0 G- k8 [' j
  1126. ibase.dateformat = "%Y-%m-%d". P* a6 @# w$ d6 G9 p9 ?
  1127. 6 S, Y+ x6 U$ C% h6 q- ^, p% I! u
  1128. ; Default time format.
    " D1 W( b" X6 L: b' u
  1129. ibase.timeformat = "%H:%M:%S"
    * G( C9 Q& Z- [7 O1 }. y
  1130. 8 f- g& a, \& J) H
  1131. [MySQL]
    6 L( Q" n6 @1 L- j
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements6 M" d6 e9 {5 a% q# \' |7 R0 y: H
  1133. ; http://php.net/mysql.allow_local_infile/ }9 E* q4 l2 [" Y/ q3 M0 y
  1134. mysql.allow_local_infile = On
    " Q5 p1 s) h: }2 U) F7 c

  1135. $ ^4 e  p! n" z
  1136. ; Allow or prevent persistent links.3 K8 g$ ^3 l% z5 B1 m3 k4 N, p
  1137. ; http://php.net/mysql.allow-persistent
    : _$ L& z) g6 D# m  A. O
  1138. mysql.allow_persistent = On
    : u- W" p8 T! Q- h& H2 E

  1139. 6 }- Y" v# |! D) a; p  E# m
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    $ Q% ~# C/ ]2 u4 L& l% j1 V  V
  1141. ; http://php.net/mysql.cache_size
    7 v8 i2 G9 Z6 J% T3 ?
  1142. mysql.cache_size = 2000, N9 C; r6 V$ a6 {* w8 g0 _

  1143. - \5 w" N8 ~& W4 ~4 n1 ?; _" `
  1144. ; Maximum number of persistent links.  -1 means no limit.
    5 W0 m. C, q6 \6 {
  1145. ; http://php.net/mysql.max-persistent$ e$ b& Q& a) {* S5 y! I  {. f
  1146. mysql.max_persistent = -1# ~! p' M7 d: J4 L9 F
  1147. ' S8 E  M* H, O" r  d, s, ~" w
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.5 @8 H3 Q4 q: |
  1149. ; http://php.net/mysql.max-links
    % Q4 Y7 A8 e, E+ e! K/ _6 W
  1150. mysql.max_links = -1
    ) I% t8 p- s1 c) l

  1151. 1 }  w( Z" @4 i0 D" O9 b
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    3 x9 f2 @& ~0 y3 h. ^
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    + }" q, X. A( C. e
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    / v: J; i5 x" r' g- ~; d
  1155. ; at MYSQL_PORT.3 p! [1 E( s0 k, q9 H* [
  1156. ; http://php.net/mysql.default-port) d, w7 g& M0 |( e" W6 N1 W
  1157. mysql.default_port =# i# W5 q4 W: C  [; k; o3 U# f* i

  1158. ; X: S  f8 W+ A3 r3 B& L* Y7 _
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    + c$ `/ K; f- A" U; A
  1160. ; MySQL defaults.
    1 a8 E9 z! o  J. O
  1161. ; http://php.net/mysql.default-socket5 u" C" v% z% \1 K5 h
  1162. mysql.default_socket =
    7 z; z/ w  R* J0 i& w

  1163.   `0 {0 q7 |3 S! i
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    & k) C# G9 _# `. U, L
  1165. ; http://php.net/mysql.default-host
    9 ?# _% o7 w6 Q$ f4 S
  1166. mysql.default_host =
    9 k" w. t3 T0 c& U/ O; m6 ^, t
  1167. 5 Y  E' O$ F8 J% Z
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).) H$ t9 ^: \/ K
  1169. ; http://php.net/mysql.default-user
    : d1 Y; z4 X! b5 L2 V4 ?9 c4 J
  1170. mysql.default_user =6 \2 q6 B4 h) q" \

  1171. ! v/ t0 t5 ]; e
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    " v( t- Z( f4 a' u
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    8 c8 P8 e! U1 v) _- {! Y" O) \
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")6 d, W# c. N  h  Y1 l+ r
  1175. ; and reveal this password!  And of course, any users with read access to this
    : A$ c( I  l  i( ^) I. R2 v( @
  1176. ; file will be able to reveal the password as well.+ j, A" y4 V4 A
  1177. ; http://php.net/mysql.default-password  n6 {2 V0 M! d6 H0 `* |# y
  1178. mysql.default_password =: Y) L1 N( ?0 w# y, `2 j3 g

  1179. 5 O* J7 x& [" `
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit. V: h; L' _; c; W: ?
  1181. ; http://php.net/mysql.connect-timeout+ Z' F2 i5 _/ _6 W; t! j; `1 C
  1182. mysql.connect_timeout = 60! T# l9 x' ]0 P5 A3 O9 N

  1183. ! g# |3 C5 K" {( X! r
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and+ n! ?4 C& k3 c/ M/ b
  1185. ; SQL-Errors will be displayed.% o" r/ O4 r2 j" i/ }+ a  \, R. N
  1186. ; http://php.net/mysql.trace-mode
    . {# F7 o. f  ]
  1187. mysql.trace_mode = Off4 \: }# @; N3 j- g0 O0 y

  1188. 9 n& S! g* f) X; p
  1189. [MySQLi]3 O, }, H; d; I" E: ?1 m/ n! s5 R

  1190. 3 o1 ^  w/ t4 b  [5 t. M$ W: o  a
  1191. ; Maximum number of persistent links.  -1 means no limit.: V8 H) O" \/ F1 c0 ^
  1192. ; http://php.net/mysqli.max-persistent, d0 D1 l% Z) |' X* Q! j
  1193. mysqli.max_persistent = -1
    5 d6 W9 \. b1 S3 |" Z
  1194. 0 W5 p. M, i( v4 C9 }
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    - H: o* u- o" {* I- S4 ~
  1196. ; http://php.net/mysqli.allow_local_infile
    7 V9 J1 q# H8 y7 ?, B4 F
  1197. ;mysqli.allow_local_infile = On
    ! X0 V& v& l8 n& s" Z) o& l
  1198. 2 @8 K# d/ E4 Y- L( o
  1199. ; Allow or prevent persistent links., j3 r% C0 p# ~0 K3 Z+ f; ^
  1200. ; http://php.net/mysqli.allow-persistent7 ^) p2 g6 T6 I. |" o" q
  1201. mysqli.allow_persistent = On5 V8 S9 d  L5 f

  1202. 0 }  d& y7 E3 R& R) Q/ e6 n
  1203. ; Maximum number of links.  -1 means no limit.
    6 N% n8 I( K* e) t& j1 w
  1204. ; http://php.net/mysqli.max-links2 s" S! g" K2 i) q. d1 g4 }
  1205. mysqli.max_links = -1
    " `! l1 o3 Y1 X6 b+ P5 |. v

  1206. " Q) ?- M8 s( Q) f4 c/ ?+ w9 I4 m
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache  I: u" O5 B( G/ Y
  1208. ; http://php.net/mysqli.cache_size
    # c+ r! u( P% D9 t9 K
  1209. mysqli.cache_size = 2000; ?0 m5 G: h) c# i) k
  1210. / y! L8 R) A4 Q
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use$ m5 |& h7 C9 ?" f4 t; M  B  I
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the( O0 @% V1 y7 n8 v
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    # g9 t! F9 i4 A
  1214. ; at MYSQL_PORT.
    $ h( n9 G/ y9 b# w* C
  1215. ; http://php.net/mysqli.default-port* ?3 N1 ~% p2 x% i; z
  1216. mysqli.default_port = 3306
    * E' C7 c* g# C( h

  1217. 8 O. x' S0 E& n' m( P- O2 s
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in2 z7 I0 p+ ^7 z. X" W. ?
  1219. ; MySQL defaults.
    . b) ^" ?* G# s/ @, f
  1220. ; http://php.net/mysqli.default-socket
    ! U! \& ?3 `" o( h7 l
  1221. mysqli.default_socket =! v8 {% q3 N# e" ?& L6 W. [

  1222. & Y) X- }, b7 W% J
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).1 S0 q1 O0 j* y0 ~7 k9 e7 @" r0 E
  1224. ; http://php.net/mysqli.default-host
    $ |- A6 _7 `/ Q. S7 D6 b
  1225. mysqli.default_host =
    % {8 I4 Y1 U+ b& @+ _- q

  1226. " L" |) Y! X! j$ u9 b4 R0 ]3 o1 `
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    # [, W! v/ C: P/ q! Z2 j
  1228. ; http://php.net/mysqli.default-user# Y2 T" O( L+ \+ U! e
  1229. mysqli.default_user =
    ' Q% e3 J. E# q, f

  1230. / U  @" I, s. w& w0 _* O. e1 ]" b
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).( G+ l9 V' w: M' W4 k+ o1 k
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    2 b2 |8 O- t, ?3 ~, w9 b
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")* {" [& e& M8 E$ M/ r. T5 x2 S
  1234. ; and reveal this password!  And of course, any users with read access to this
    0 n- O" n# e" Z# K
  1235. ; file will be able to reveal the password as well.
    4 ?, T. I, `* a5 r8 p7 w; `
  1236. ; http://php.net/mysqli.default-pw& |! R0 m; S/ d1 y# A2 N% p
  1237. mysqli.default_pw =: b$ w, [. r' b, r' {5 I( P

  1238. & a6 l/ a6 J4 P) \: O0 E7 y
  1239. ; Allow or prevent reconnect
    $ ?! A. O% z' I% Z7 H
  1240. mysqli.reconnect = Off
    ; K4 y  e) o) N* `! l2 @

  1241. # u; L( q2 e* X7 f# S# P' R
  1242. [mysqlnd]8 R3 r8 S& S$ O! {( ~: E  |8 I( d% Z
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be( i. f) @" ?2 q  P3 o( Z% b( ~) b
  1244. ; used to tune and monitor MySQL operations.5 X7 X" U/ ]& I4 R, _5 ^
  1245. ; http://php.net/mysqlnd.collect_statistics7 N; _1 N% _. _% @7 }$ Z
  1246. mysqlnd.collect_statistics = On
    8 w& J/ S, b/ G+ x

  1247. # m. S3 P! o+ a0 `/ Q
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    3 L& k) x9 E* ]+ p5 X6 Q/ y
  1249. ; used to tune and monitor MySQL operations.. q! }; @, g9 i( i4 m
  1250. ; http://php.net/mysqlnd.collect_memory_statistics% \$ }) M  Z0 J! N% L
  1251. mysqlnd.collect_memory_statistics = Off
      D% O& c: I, y& f, }& \, D% ], x

  1252. $ ]  |  @; g3 q! L1 U2 l' ^9 J
  1253. ; Records communication from all extensions using mysqlnd to the specified log- `) }7 ?/ d: Z5 d
  1254. ; file.  _8 u  p8 H& q
  1255. ; http://php.net/mysqlnd.debug) s* g- F$ l) K1 a) _) a
  1256. ;mysqlnd.debug =
    & N; a/ b" G, ?9 p
  1257. , }9 w( t4 {( |# `, }; M. ~/ H2 k+ J
  1258. ; Defines which queries will be logged.' E) t( i! u. `$ P$ v4 w  {0 ], P
  1259. ; http://php.net/mysqlnd.log_mask1 ~: m# s- ~4 r8 O/ x
  1260. ;mysqlnd.log_mask = 01 ?, G) C5 i0 L* _" A6 @

  1261. ; Y, l2 ?. y! Q3 p3 U
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    ) Y4 y" g7 y1 T$ p1 @
  1263. ; http://php.net/mysqlnd.mempool_default_size
    % P/ w: `' c9 K4 k$ V6 J6 ?0 a
  1264. ;mysqlnd.mempool_default_size = 16000
    . C% ?' `- _0 m, F8 w

  1265. ) c+ u  M; \! K0 h5 h. r. {
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes., D  @. n, c7 ]+ {
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    3 S# l! ^: \! T# h5 S* k. b% a
  1268. ;mysqlnd.net_cmd_buffer_size = 20485 f( l4 q# U7 ~4 ]5 m

  1269. % T& f. x% W7 S
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in3 A" J2 v4 }* G0 ~" ^
  1271. ; bytes.7 Y8 h' w7 D" @# N( o' a
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    9 {+ H3 p, J0 y
  1273. ;mysqlnd.net_read_buffer_size = 32768
    - U( m0 T3 p" |' B
  1274. & Z5 j. p' E& z, Z/ m0 k) J9 m
  1275. ; Timeout for network requests in seconds.
    ) E, D. B( Q, |; n' z3 I& |" N
  1276. ; http://php.net/mysqlnd.net_read_timeout$ {7 v6 u( u2 d4 ?' h
  1277. ;mysqlnd.net_read_timeout = 31536000" x9 x+ o% [- \. u* h8 c+ i
  1278. : u5 i7 l/ m- v, M
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA" k& T" \. Y* S0 [  W
  1280. ; key.% O3 P# ~9 x: i% x' a
  1281. ; http://php.net/mysqlnd.sha256_server_public_key" I0 A4 X3 {9 O( z( b
  1282. ;mysqlnd.sha256_server_public_key =
    ! ?6 ~3 f$ v$ E4 s
  1283. * ~1 Y  j5 k* k0 z; f8 Q- Y
  1284. [OCI8]
    7 \# ^2 v; C6 L, R+ W7 \* Y
  1285. . j; Y7 ]' [, e: Z! L
  1286. ; Connection: Enables privileged connections using external
    6 t# v3 g8 ?; W' _1 V4 r) j( ~
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)9 G$ l' I( v( d! ~; h9 a. P
  1288. ; http://php.net/oci8.privileged-connect
    - @5 ?1 b- T! P( L" c
  1289. ;oci8.privileged_connect = Off
    ( o1 S4 o, M/ u1 h# L

  1290. 6 N. J4 {6 K( ^0 Y3 K
  1291. ; Connection: The maximum number of persistent OCI8 connections per  `$ E+ R- \  b) c6 c& m( H+ Y; C
  1292. ; process. Using -1 means no limit.
    2 l. p/ o. s& K# u! @: |6 O" y
  1293. ; http://php.net/oci8.max-persistent; O5 R0 D- O2 j" v5 N
  1294. ;oci8.max_persistent = -1
    % i0 [! {5 {( i' N/ q

  1295. . i& D+ A0 b( I1 L- j
  1296. ; Connection: The maximum number of seconds a process is allowed to
    ( W* U8 r8 x7 F/ Q1 j. l: U3 P- F
  1297. ; maintain an idle persistent connection. Using -1 means idle
    8 [- s0 `% q9 K5 P, b5 K  Z& }
  1298. ; persistent connections will be maintained forever.) V7 N7 Q/ u) `7 @' M+ w, }
  1299. ; http://php.net/oci8.persistent-timeout  ]) U! Z* F8 _( n- v& j
  1300. ;oci8.persistent_timeout = -1
    ! d- P1 Q5 q2 m7 ]! `" R
  1301. ( d" l% q/ S2 s5 S  {" I2 H/ O5 E+ Q; B
  1302. ; Connection: The number of seconds that must pass before issuing a
    # o9 g7 i. i( X
  1303. ; ping during oci_pconnect() to check the connection validity. When
    0 ^; n8 j" n0 p6 h+ W
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables% b9 \' C/ w: o* k
  1305. ; pings completely.# \* i( R: Z% k' x+ ~
  1306. ; http://php.net/oci8.ping-interval* C  r2 T# Z. J% M1 ?5 x8 ?
  1307. ;oci8.ping_interval = 603 |/ C; n4 U1 C

  1308. 8 c; p& z' Y0 T- ~2 |7 R7 W* M
  1309. ; Connection: Set this to a user chosen connection class to be used" `) I+ N) X8 F1 o' N8 Q
  1310. ; for all pooled server requests with Oracle 11g Database Resident8 e" }( |8 w  g8 I9 g6 e+ ]+ Q8 g
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to& [$ X" G7 ~1 }1 ?
  1312. ; the same string for all web servers running the same application,
    1 g) C" u) b6 C) s2 G! T
  1313. ; the database pool must be configured, and the connection string must6 j9 b; d, M! E& d3 R
  1314. ; specify to use a pooled server.
    - F3 g2 g5 s' ]. M5 z5 f8 w3 s
  1315. ;oci8.connection_class =
    1 o$ x! |! T1 Y* U; R

  1316. - q/ q7 N" A5 H# J4 C
  1317. ; High Availability: Using On lets PHP receive Fast Application, k- y* p  a7 x# j8 [' J
  1318. ; Notification (FAN) events generated when a database node fails. The
    , l! \5 M# l7 c0 {( r* r2 D
  1319. ; database must also be configured to post FAN events.
    # N5 t% r( R$ t5 }1 Z" g6 [
  1320. ;oci8.events = Off% b/ X1 \, p0 K  d4 t4 ^
  1321. 8 C! j5 @3 ^+ A$ {; g$ E! F* ]( ^
  1322. ; Tuning: This option enables statement caching, and specifies how- {! S% F9 X: L$ M
  1323. ; many statements to cache. Using 0 disables statement caching.
    5 c, ]6 t/ e* y+ b" i
  1324. ; http://php.net/oci8.statement-cache-size
    + b4 r  P- T$ `! u. m. B
  1325. ;oci8.statement_cache_size = 20, L2 y4 u, F5 g' n
  1326. $ c+ a: X3 B4 l# N. G- Q# U2 j
  1327. ; Tuning: Enables statement prefetching and sets the default number of4 o  a6 K1 g6 z# }2 R0 z
  1328. ; rows that will be fetched automatically after statement execution.# t7 Y6 K  D2 S' h
  1329. ; http://php.net/oci8.default-prefetch
    ( z4 R% W7 h0 F8 L
  1330. ;oci8.default_prefetch = 100+ C+ W/ o4 e$ f2 }, C: L, i

  1331. / Y' g9 S( Q) p' S- B6 P0 c9 E
  1332. ; Compatibility. Using On means oci_close() will not close/ t3 s% _) h6 S- L2 W+ m
  1333. ; oci_connect() and oci_new_connect() connections.0 b% B+ ?" a; q7 u9 W& ~
  1334. ; http://php.net/oci8.old-oci-close-semantics
    + A% L/ P9 D) d* u
  1335. ;oci8.old_oci_close_semantics = Off
    " e  g* G, p+ D+ o  {9 C

  1336. " R) I$ l. R+ O: {' ]; q- `
  1337. [PostgreSQL]
    0 w$ m2 h: r! `" W* C2 T3 b3 i
  1338. ; Allow or prevent persistent links.6 r) z6 F% G) U4 T/ P& A4 c* N
  1339. ; http://php.net/pgsql.allow-persistent; \4 ^) D0 U/ ~7 \
  1340. pgsql.allow_persistent = On
    0 _- M/ }7 S( R

  1341. - f7 b6 d6 _+ i
  1342. ; Detect broken persistent links always with pg_pconnect().0 r/ w, o" y3 G: `0 T, a
  1343. ; Auto reset feature requires a little overheads.
    9 D- [: h/ r6 v& X- q; S
  1344. ; http://php.net/pgsql.auto-reset-persistent7 d8 d# A& H9 O/ s
  1345. pgsql.auto_reset_persistent = Off- ^! j# X* e& K) d/ f
  1346. 7 y/ b  S1 T: O$ G* x
  1347. ; Maximum number of persistent links.  -1 means no limit.- f  \! j. q% \/ Y
  1348. ; http://php.net/pgsql.max-persistent
    3 K3 m2 U, w4 [- s9 {. ]* b; `
  1349. pgsql.max_persistent = -1: H6 L. p! O! H/ P
  1350. 8 b! f0 j2 I3 q: R7 ^6 Q
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    : V, _4 h' h: b
  1352. ; http://php.net/pgsql.max-links
    / T3 B: u% `9 a2 }3 q2 |5 M
  1353. pgsql.max_links = -10 R, K+ s% T+ O! m
  1354. ! M& F( P% |3 t- y6 [
  1355. ; Ignore PostgreSQL backends Notice message or not.
    / u2 T0 n4 Z- a# c% f7 B" U
  1356. ; Notice message logging require a little overheads.7 V  J4 t4 s( {1 v( s) V6 I3 n% H
  1357. ; http://php.net/pgsql.ignore-notice
    5 e3 ~" i$ T1 \: |; \% X+ ~1 V
  1358. pgsql.ignore_notice = 0
    0 g' A3 u3 O8 p( y0 _7 m
  1359. ; B9 U1 A- A; I. v1 T
  1360. ; Log PostgreSQL backends Notice message or not.. r2 v2 d' m3 x5 g
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.: q$ Y. m7 P* G0 y
  1362. ; http://php.net/pgsql.log-notice
    5 x0 D1 x8 l" E
  1363. pgsql.log_notice = 0
    2 |2 {5 ]- R: L6 L* K

  1364. 8 z. K' [9 _5 J  y3 n/ C- j
  1365. [Sybase-CT]4 D' u, n+ q" M  c0 F' D; \! g! i
  1366. ; Allow or prevent persistent links.
    6 r' u0 n+ a! j5 ~* s7 i2 @9 h4 _
  1367. ; http://php.net/sybct.allow-persistent
    . _1 Z: q; q+ g* v6 `
  1368. sybct.allow_persistent = On8 y- v7 Q2 I: T5 K( }: e
  1369. % k( p" l9 G& f5 r7 d% D
  1370. ; Maximum number of persistent links.  -1 means no limit.( y9 c* z' J  u- p7 z) S% U. V
  1371. ; http://php.net/sybct.max-persistent  b5 J, ]) n( x. h
  1372. sybct.max_persistent = -1
    4 d% S7 f" a+ k- b7 E
  1373. 2 r. L1 w9 O9 o) C, `
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.; u# r0 Z8 R$ A, a# u% c; n
  1375. ; http://php.net/sybct.max-links4 o( ]) q: `0 ]5 U
  1376. sybct.max_links = -12 _) f& r8 b# Z) ]  X$ p. y
  1377. / I( K# w% ^5 ~+ K! k
  1378. ; Minimum server message severity to display.
    9 q' @  k) [6 {
  1379. ; http://php.net/sybct.min-server-severity
    , H5 ?  t% H4 f# T$ R0 ^
  1380. sybct.min_server_severity = 10
    + p4 f" d; h4 r0 A+ ~* {+ x  l5 l; A
  1381. # Y7 i3 F; X( X7 ~0 t& M2 v; h. R& _
  1382. ; Minimum client message severity to display.
    # \1 F. `; K, J: Z
  1383. ; http://php.net/sybct.min-client-severity. J$ j9 A7 n- e3 X
  1384. sybct.min_client_severity = 10
    6 u1 a' v: i9 f. ?5 t4 c. y

  1385. 5 W* F: j0 N6 o7 Q5 @
  1386. ; Set per-context timeout2 B- H/ r  D1 f( h3 A
  1387. ; http://php.net/sybct.timeout' \8 d1 c5 x) k# ?' t
  1388. ;sybct.timeout=0 X+ M3 j, \) h! F! S

  1389. - f8 `: u- O. v; N4 Z- q
  1390. ;sybct.packet_size
    + t% N" A* q- w! h. A% S
  1391. - z* Y. z# h) g' T5 g
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.) s6 A; R2 ~0 S6 W5 s( f
  1393. ; Default: one minute- K& w0 G( t  U) x
  1394. ;sybct.login_timeout=
    7 w9 l9 B4 y5 t& u, F

  1395. . V. y( ?/ g/ {8 L8 L6 ^9 D
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    ; J* K- a/ m, E# g; o4 m
  1397. ; Default: none
    5 [( R! R3 [6 S5 i( {# W4 P) E1 B
  1398. ;sybct.hostname=' C# F: {! ^% s& D: z0 d% I

  1399. 8 E$ i9 n: H# F3 A
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".; x' z* x: F6 H5 z* Z
  1401. ; Default: 0
    # H5 k) k7 z* j, @1 K
  1402. ;sybct.deadlock_retry_count=% S7 l6 E/ d$ t" C2 S3 J% L- F8 S
  1403. 0 v5 l5 d- i& b
  1404. [bcmath]
    $ i' W# M( {: S% Q/ Z/ D8 N9 n6 K
  1405. ; Number of decimal digits for all bcmath functions.: a7 f: r' N7 O6 H5 Q
  1406. ; http://php.net/bcmath.scale
    ( H  \3 h0 i* K; D8 V: R/ e# Y
  1407. bcmath.scale = 08 j0 m) e% t. V/ M6 s9 _+ K
  1408. + I9 ]8 h9 P2 V
  1409. [browscap]( P3 H2 Q0 u( i, j& \# `
  1410. ; http://php.net/browscap
    ' k( ^5 ~5 [! H3 {, X! h
  1411. ;browscap = extra/browscap.ini7 M" }1 c* A$ W1 x. Z

  1412. - r! _0 G5 c, h5 ^* u6 O; U
  1413. [Session]% s; _% F& M; \0 w
  1414. ; Handler used to store/retrieve data.
    " n. @) _# Y6 H' o) ]+ `' O
  1415. ; http://php.net/session.save-handler& E- ]& F6 G. \6 k
  1416. session.save_handler = files" c6 Y$ w2 v9 Z" ~  G5 T

  1417. ' k0 l1 }  q- o( n. x
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    $ X- J* b8 }) c: \
  1419. ; where data files are stored. Note: Windows users have to change this
    3 V& M0 h4 T& G/ [1 S( P- _
  1420. ; variable in order to use PHP's session functions.
    ; |1 x1 q2 e; h; C! r& ~- p5 T
  1421. ;
    # \/ Y$ R) F( ?" ]. `& L  C
  1422. ; The path can be defined as:
    + C4 q5 y5 E! D# e% K* v! [' b
  1423. ;& _- O* d# a8 O6 m6 Y3 B, X3 J' d9 P6 s/ \
  1424. ;     session.save_path = "N;/path"' Z1 l' w  x2 \$ V8 L
  1425. ;
    : s7 s4 @' Y0 V0 ?
  1426. ; where N is an integer.  Instead of storing all the session files in# b, I8 l! X# B% `6 v/ @/ F
  1427. ; /path, what this will do is use subdirectories N-levels deep, and% e' G' |' h! N* u' y7 F7 p" \
  1428. ; store the session data in those directories.  This is useful if4 M6 j8 D. C6 w' A% ]1 p
  1429. ; your OS has problems with many files in one directory, and is
    . U; l: S, _5 b8 q6 \- A! F& q6 N
  1430. ; a more efficient layout for servers that handle many sessions.
    # R. s* k) {# \: G* m4 v# `- `+ m
  1431. ;, ?9 [3 d4 P# d- a& Q$ ]) o
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    1 [5 R/ N& M) F+ I$ ^4 y. g/ v
  1433. ;         You can use the script in the ext/session dir for that purpose.
    3 y& J7 v; a" r1 `$ G
  1434. ; NOTE 2: See the section on garbage collection below if you choose to- D3 j( Z! g2 J! o; s
  1435. ;         use subdirectories for session storage
    * X% j; J( n! R
  1436. ;# L+ U* _; J- O" S$ A
  1437. ; The file storage module creates files using mode 600 by default.
    4 c: H2 @$ A2 k3 i/ a  r! @
  1438. ; You can change that by using
    . h4 b# {1 _. [$ Y$ X: H' D
  1439. ;9 D! y* V- O$ |3 C- a( j
  1440. ;     session.save_path = "N;MODE;/path"
    7 i! R! x$ D( ^: N! U( R
  1441. ;
    1 Y$ |3 g" E7 O5 J2 |
  1442. ; where MODE is the octal representation of the mode. Note that this
    ! ]9 R! x; C( \  J
  1443. ; does not overwrite the process's umask.* u- v1 C, j8 B0 n6 z" z
  1444. ; http://php.net/session.save-path
    * M6 ?* Q* r+ _4 H# [
  1445. ;session.save_path = "/tmp"5 A* y3 L2 F% m' S7 `

  1446. % s$ q  ^/ ~% x
  1447. ; Whether to use strict session mode.. ?' T* w) `5 X0 u
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    3 V/ ~, Q2 o2 L, ~. J/ u
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects( b/ h! N) m. C
  1450. ; applications from session fixation via session adoption vulnerability. It is; f" k( {$ }" g
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    " u% u/ J" H: R4 Q: ~
  1452. ; https://wiki.php.net/rfc/strict_sessions
    . A, I# {3 ?8 b& B- N. G2 O1 }0 V
  1453. session.use_strict_mode = 0+ O1 y. ~7 G' G* H6 Z
  1454. & |6 z+ p2 {* q- m1 p) `
  1455. ; Whether to use cookies.8 T/ M' T! f/ p/ ]
  1456. ; http://php.net/session.use-cookies; N! K/ K7 I& g
  1457. session.use_cookies = 1
    4 n1 \: [/ v( y' F3 \; M+ L* L
  1458. 4 G) N. Y1 {; G7 |5 }3 z
  1459. ; http://php.net/session.cookie-secure0 E2 p% M8 K- h
  1460. ;session.cookie_secure =1 i7 {, J' I. ]& \
  1461. " n: y$ g- f# `& P( k3 |
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining6 b- A: L5 X; T0 c9 D- [$ X
  1463. ; the session id. We encourage this operation as it's very helpful in combating9 Z: }8 l% |* ^% Y
  1464. ; session hijacking when not specifying and managing your own session id. It is) V" S- F' p7 p2 T2 R
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    0 R3 y8 m# W# G2 H
  1466. ; http://php.net/session.use-only-cookies  n. c6 ]  x! B; y, P
  1467. session.use_only_cookies = 1" F: p& ?( V  T. q/ Z; u

  1468. 0 Q* x) ~6 W7 |$ `0 n5 E% @
  1469. ; Name of the session (used as cookie name).5 z( `+ }+ D( G& d- Y" a
  1470. ; http://php.net/session.name
    % W8 E; f5 O# j; c, |, R- w$ ~
  1471. session.name = PHPSESSID/ u: o2 q9 @3 |; Y3 S. s7 L
  1472. & n# [6 S8 D' t9 [8 ]# a+ U& ?
  1473. ; Initialize session on request startup.8 G) m: }# Y3 l* q
  1474. ; http://php.net/session.auto-start: O$ `' O% b7 p0 [1 g- _
  1475. session.auto_start = 0
    + V% e  G7 @" k+ e, i) G# a: W
  1476. 9 r0 h2 d" A" l% R
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    3 k$ v/ B8 s! A' c- \% g/ V+ Q
  1478. ; http://php.net/session.cookie-lifetime. ~9 w  V# }+ L4 O0 b' \5 @" G& T- A* C
  1479. session.cookie_lifetime = 0
    7 j1 C, w. H  q  _2 F
  1480. " O6 v, A1 y  o! m- x. s3 v; a
  1481. ; The path for which the cookie is valid./ k+ o  B3 @1 [# U; r
  1482. ; http://php.net/session.cookie-path
    1 A/ A! E7 s$ A6 e2 I7 i; F, _
  1483. session.cookie_path = /
    ) i) @' i7 l" o4 C+ V- ]

  1484. # }4 X+ D2 S9 V* n2 y0 R& J
  1485. ; The domain for which the cookie is valid.8 k6 p' s% p* E, G
  1486. ; http://php.net/session.cookie-domain
    % N6 {& Z' N1 m# {- K
  1487. session.cookie_domain =
    & B# N1 I9 O2 ?; i) x4 j

  1488. 1 L5 Q8 \7 G. y4 w8 l
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    - P# n4 \# T; m
  1490. ; http://php.net/session.cookie-httponly. m7 T6 T$ K- ?! M% F9 y! v
  1491. session.cookie_httponly =
    % R; J+ r- ~$ e) |0 R0 ^+ u4 T1 u

  1492. $ X& U/ u' ?6 z6 t9 f- n
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.. E" e4 y* @/ n" e% j7 ?
  1494. ; http://php.net/session.serialize-handler8 L4 _1 v1 j6 L# L
  1495. session.serialize_handler = php# y) T  Z* |; M# e, |1 M
  1496. , |' D9 E: y2 u5 m, e1 K
  1497. ; Defines the probability that the 'garbage collection' process is started
    ) {* K4 n, @* B0 U7 [. ~8 s8 E0 \! S
  1498. ; on every session initialization. The probability is calculated by using
    ) r4 `+ [* K+ a# K' ]3 t/ g
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    & c' K  ?, g5 K" r5 Y( N
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1* L0 g( \" _3 C
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    * z0 L$ n$ F7 J: L
  1502. ; the gc will run on any give request./ M  M2 i% o9 x: k1 p# _& i1 G+ ]
  1503. ; Default Value: 17 w) Q4 r5 @: l& R3 {- K
  1504. ; Development Value: 1
    . H/ I% `- R7 i/ j' J
  1505. ; Production Value: 1
    ; J/ P" R7 t1 o3 t
  1506. ; http://php.net/session.gc-probability
    1 k2 q. ~# B5 i: G
  1507. session.gc_probability = 1* d/ K, ^6 o& w: h) q: {

  1508. 3 D  G* M: e( V9 B% d0 J. T
  1509. ; Defines the probability that the 'garbage collection' process is started on every2 [/ V0 V# J5 X8 s' H# a
  1510. ; session initialization. The probability is calculated by using the following equation:
    + x# E4 q5 R/ \* x1 u/ p7 [4 R
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    * S( w3 p" c% c% x" a  z
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    6 q$ T+ X; M( k& W' n1 `: m9 a0 L% e
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
      n1 I- I9 n8 H4 {
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you" ]1 f, _* ^$ Y6 w
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    7 B' S/ ]3 N& S4 c
  1516. ; this is a more efficient approach.
    ) j& P' a7 W1 I2 ^, Q
  1517. ; Default Value: 100
    7 E  @3 x6 q% Y3 s) `5 Y' E4 N: a
  1518. ; Development Value: 1000, C+ g$ z; ~6 J4 D  [) X
  1519. ; Production Value: 1000
      Y) L2 u" K5 F/ p8 r
  1520. ; http://php.net/session.gc-divisor/ T1 d5 a/ _  |* [# r' [6 h8 j
  1521. session.gc_divisor = 10005 _3 y$ W) i9 _

  1522. / U2 Q! e% e- d' v3 a6 {7 s  [
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    1 `. e$ A0 ~* q5 ^/ {8 R! V6 J5 [- V
  1524. ; cleaned up by the garbage collection process.
    " I1 q* n: G) a# }5 X$ c% f% _
  1525. ; http://php.net/session.gc-maxlifetime
    , t' v8 d' _% O/ ~5 T, b: Q9 E  L
  1526. session.gc_maxlifetime = 1440
      v/ @  H" m3 }4 }* e& \

  1527.   f3 O! `4 i) s4 Y
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    ; z  \0 w0 `3 d* u6 M& N
  1529. ;       (see session.save_path above), then garbage collection does *not*
    ) P0 ?$ Y) t  D0 q. u/ a5 S
  1530. ;       happen automatically.  You will need to do your own garbage
    ; _% J. p$ s7 Y
  1531. ;       collection through a shell script, cron entry, or some other method.
    # y/ y' O; ?( Y4 v5 B( v
  1532. ;       For example, the following script would is the equivalent of8 w' i( @/ x8 |; q9 }
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
      s$ I7 I9 F1 L
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm3 \* ?! _9 N9 v9 p. A3 r

  1535. 8 h; t3 ?* }$ q6 J9 K8 h3 F
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.3 T* \) j# q  X0 [1 m  s" t
  1537. ; HTTP_REFERER has to contain this substring for the session to be2 M" L& J( n' R. F' O( O* E
  1538. ; considered as valid.
    2 n4 j! I9 `+ N. f, S- x( g
  1539. ; http://php.net/session.referer-check) M0 R; H( |& S8 |: D" G
  1540. session.referer_check =% |; Y4 Z8 Q- \* w5 B. p

  1541. , P' F/ ~) I. b
  1542. ; How many bytes to read from the file.
    ) V: T7 g: v( A/ ]
  1543. ; http://php.net/session.entropy-length
    & {: D$ i+ \. k
  1544. ;session.entropy_length = 328 ?' ~3 z+ O+ [  g* m& n6 \* Y

  1545. $ q; j% P1 J" ?9 q/ K7 Z
  1546. ; Specified here to create the session id.8 i7 k2 f, o7 k2 S5 y% T5 s
  1547. ; http://php.net/session.entropy-file
    # M5 S0 k! N2 A# ~, w
  1548. ; Defaults to /dev/urandom# N  f4 b% d/ U: O6 g7 W' l1 x
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom" f( C- _8 q. ^0 W; u9 a
  1550. ; If neither are found at compile time, the default is no entropy file.
    # x$ y" _8 w$ o0 O
  1551. ; On windows, setting the entropy_length setting will activate the
    2 e+ n  r; i8 G5 ~/ G# V9 {! N
  1552. ; Windows random source (using the CryptoAPI)
      S/ t, D! {5 E! `3 F
  1553. ;session.entropy_file = /dev/urandom3 \( N' u9 A" @8 V7 a

  1554. $ H2 U2 L8 q" N: ]7 O( P
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    * @1 k: w$ f+ V5 w6 S! N+ x$ @
  1556. ; or leave this empty to avoid sending anti-caching headers.8 y: _1 N  a" ^% K) `9 Y$ t' A
  1557. ; http://php.net/session.cache-limiter
    ' H/ K+ S/ |6 Q" a8 z
  1558. session.cache_limiter = nocache* u; B. c+ M: a% x# c
  1559. ! S  K6 L' |7 |% k( H
  1560. ; Document expires after n minutes.
    ) S$ b( b# c7 ]  s
  1561. ; http://php.net/session.cache-expire, A. c" E; Y1 N: W7 G& U6 H
  1562. session.cache_expire = 180
      m3 q4 m/ r: _# t

  1563. 2 e: b" t  R2 o1 [& f8 F, E2 l
  1564. ; trans sid support is disabled by default.
    5 P% g& _& S! s9 w' E' k5 u
  1565. ; Use of trans sid may risk your users' security.
    : c: q; [) g/ ?
  1566. ; Use this option with caution.
    $ j: e1 G9 |: ^$ D# U
  1567. ; - User may send URL contains active session ID) s4 R. x2 ^5 k/ W1 h) E8 b
  1568. ;   to other person via. email/irc/etc.. Z$ m" h# b8 ]0 F% ]
  1569. ; - URL that contains active session ID may be stored
    ' P, f% B- [, p* Z2 \( O
  1570. ;   in publicly accessible computer.
    * S6 S+ P. i5 Z8 j# d
  1571. ; - User may access your site with the same session ID4 \  C2 t6 n9 f) [6 l. Y; Q# \
  1572. ;   always using URL stored in browser's history or bookmarks.
    0 q7 w. O- w( n) G0 g
  1573. ; http://php.net/session.use-trans-sid# s; ?4 d9 \( I; ^  @+ @
  1574. session.use_trans_sid = 0
    ' H* h  L# J: d7 w5 a* U. h+ w# [

  1575. & T% b% K4 F' }9 ?3 @
  1576. ; Select a hash function for use in generating session ids.
    4 M" U7 x& I5 j, O- Q8 e, ^- F
  1577. ; Possible Values
    . n0 x0 q( d3 L: u9 A& }5 y5 Y
  1578. ;   0  (MD5 128 bits)
    7 q4 I" |5 A# `9 }4 A- L$ \
  1579. ;   1  (SHA-1 160 bits)
    * r2 {5 l- v9 o+ ]' C9 [0 M
  1580. ; This option may also be set to the name of any hash function supported by" q; i" i  g* s" R
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    / h7 G# U" H( P( E$ e
  1582. ; function.
    1 W1 I. J* e0 u. b6 w& F. f
  1583. ; http://php.net/session.hash-function
    1 L9 n3 }' e! G6 P% e
  1584. session.hash_function = 0! S" V5 ~2 y1 E, p5 b! d) M* `
  1585. / S  h' S: l+ s) n
  1586. ; Define how many bits are stored in each character when converting
    " _3 R& |6 L" d! |7 [9 B
  1587. ; the binary hash data to something readable.
    6 {' F: A/ j% ]. v
  1588. ; Possible values:* m1 g& B' [- M" P. @8 [! M
  1589. ;   4  (4 bits: 0-9, a-f)
    0 v! L/ m. [2 ~4 Y
  1590. ;   5  (5 bits: 0-9, a-v)3 {9 y5 y+ g0 Y. ?) t
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")# [9 V% o, I7 b; ]! h6 k
  1592. ; Default Value: 41 H1 Z8 X" f7 M* \0 Y& F
  1593. ; Development Value: 5: Z* x, n1 M. {' B& F) Y! a
  1594. ; Production Value: 5
      |6 @% q3 G1 S+ m- ?6 O$ E
  1595. ; http://php.net/session.hash-bits-per-character+ T! [4 ]3 f" N. a
  1596. session.hash_bits_per_character = 5/ V8 e6 |6 x+ t. X% f$ P% R

  1597. 9 T/ K: P. b4 f6 ?' ~% ?, s
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.; N, v- C; P7 V1 v
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    + a( R* p+ h7 q% C( h! m5 S
  1600. ; add a hidden <input> field with the info which is otherwise appended
    ' H/ z* x* L6 x& [' z
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    0 B, ^! B: X. \! w6 v9 U7 U: Q
  1602. ; Note that all valid entries require a "=", even if no value follows.% P  x* v) k2 ]8 r- ?* m) Y& B3 p
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    3 T% B9 _' q" a# @1 p
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"$ j- [  ?( R' Q+ \! f0 A2 u
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"7 Y% h% x9 C& O$ L4 C3 x* Y$ G
  1606. ; http://php.net/url-rewriter.tags
    9 R/ F3 K6 e2 Z% ?
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"  p5 m3 X8 n) k& ~
  1608. ; j0 Q8 y7 G% S. ]& w- Q
  1609. ; Enable upload progress tracking in $_SESSION8 `' ^# C# l1 n9 }0 y
  1610. ; Default Value: On$ P4 D6 a& Y+ B6 C( X
  1611. ; Development Value: On
    + G4 j9 ?# D# b- w* e2 G0 j& _7 _
  1612. ; Production Value: On8 X+ R8 ~9 W1 v* o
  1613. ; http://php.net/session.upload-progress.enabled2 @% i& I' D5 ]
  1614. ;session.upload_progress.enabled = On9 L2 w) o) G* v( V

  1615. ) ?! x; d) ^1 p5 ]: L* P4 j7 R
  1616. ; Cleanup the progress information as soon as all POST data has been read4 Z* w  W2 M) L' I* x* N
  1617. ; (i.e. upload completed).
    / t; n- k7 R2 T8 {& L
  1618. ; Default Value: On$ |) B) r( k. h  f$ }3 \4 v
  1619. ; Development Value: On" J4 ?  l2 I& P! }4 F
  1620. ; Production Value: On
    " N# V% X: \) s  c- i* Z
  1621. ; http://php.net/session.upload-progress.cleanup
    1 u5 ]0 @0 u1 B) S/ g
  1622. ;session.upload_progress.cleanup = On: b  a& x- r3 ?" |- u
  1623. 6 ~6 f4 w1 \& _1 ^! @
  1624. ; A prefix used for the upload progress key in $_SESSION
    8 ~6 @5 g6 E8 }( z6 H
  1625. ; Default Value: "upload_progress_": J' p( u* ^; B* B7 l9 C' z7 A- m' L
  1626. ; Development Value: "upload_progress_"
    + X3 H( ?! K& l  N( E- o7 V# |* M
  1627. ; Production Value: "upload_progress_"; i- y. Q- [8 h, U( F+ E
  1628. ; http://php.net/session.upload-progress.prefix
    9 z4 l  x% B7 R/ C
  1629. ;session.upload_progress.prefix = "upload_progress_"+ j: Z1 V8 U$ |5 s
  1630. ( d- ]: i0 v" B4 y0 w2 C
  1631. ; The index name (concatenated with the prefix) in $_SESSION8 ^: [: S7 _" E# x8 m
  1632. ; containing the upload progress information
    ' m1 ~/ z7 L; X8 K& E
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"3 Q; A+ R7 O6 G5 h. X* G8 A' T0 j. `
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"/ q! b# u; ^  l' y! p- H
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    . F( r5 {- D' E
  1636. ; http://php.net/session.upload-progress.name
    % w4 N$ I) e' R9 e
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    ( p' w( G/ y3 }7 E4 M3 [
  1638. 6 b+ z* D: x  |( i: J
  1639. ; How frequently the upload progress should be updated.. e, |4 J* _% k7 V; V
  1640. ; Given either in percentages (per-file), or in bytes
    0 l/ b: N1 E1 H9 b# J5 K
  1641. ; Default Value: "1%"$ ~5 |2 V/ q+ a& G2 W' ^
  1642. ; Development Value: "1%"
    + I7 x" q2 |* H5 C: ?- ^3 ]# r
  1643. ; Production Value: "1%"
    $ ~6 U/ W7 |; ]
  1644. ; http://php.net/session.upload-progress.freq! j" U8 W, l/ T' ?& d7 q5 I# k7 u4 j. V
  1645. ;session.upload_progress.freq =  "1%"4 I2 G; r2 z. E( q6 h

  1646. ( m0 l5 B; Z4 u$ B: f
  1647. ; The minimum delay between updates, in seconds$ l$ u4 R0 @& F# i& d; |0 e- i
  1648. ; Default Value: 1: z5 y" c2 Q( O8 n
  1649. ; Development Value: 1& w/ ]1 K5 C  F# X: O" G
  1650. ; Production Value: 1
    # I' u: @. \7 t: C) G- S3 n
  1651. ; http://php.net/session.upload-progress.min-freq! l' g9 D) W% m1 }# P. v; M. ?# I
  1652. ;session.upload_progress.min_freq = "1"
    0 c+ K, _( M4 }$ b% X
  1653. 8 f9 g/ G' j1 K" f
  1654. [MSSQL], b* R4 U- q8 X
  1655. ; Allow or prevent persistent links.
    4 V6 H% `# i8 q9 j8 z6 K
  1656. mssql.allow_persistent = On4 F; ^8 o3 C! z# K# s

  1657. + T9 P) i8 {. R4 E
  1658. ; Maximum number of persistent links.  -1 means no limit.  @2 D. m  W: K9 I9 t. }8 a; X
  1659. mssql.max_persistent = -18 h/ W; @' U- Z5 }

  1660. 6 P" g# m! ~- t* H5 J0 x3 h
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    + t, Z( C' o6 r0 ?0 B
  1662. mssql.max_links = -11 ?7 E4 Y/ K: z) _) T. X4 \

  1663. " O. ~/ q/ ~/ @5 }, @( H
  1664. ; Minimum error severity to display.4 a7 D' C6 Y9 m$ u
  1665. mssql.min_error_severity = 10
    9 g5 L3 W9 ]0 p# Z5 g( R; D
  1666. 5 w+ A9 `  Q2 Y  r: q
  1667. ; Minimum message severity to display.
    $ O0 L$ j0 O5 L: x: b
  1668. mssql.min_message_severity = 10. i2 M8 V  Y; m9 s
  1669. 7 B+ m: C9 H- G, k2 E
  1670. ; Compatibility mode with old versions of PHP 3.0.3 E" ^- {1 o2 F( S/ l
  1671. mssql.compatibility_mode = Off2 P' p( X4 M  j1 Y& \# j
  1672. . J, M$ K: q0 j3 |- }
  1673. ; Connect timeout7 c# d/ F, A+ ]. t
  1674. ;mssql.connect_timeout = 5
    4 J7 r# c$ a+ w
  1675. , R# H7 J6 Y# h# L0 f5 W
  1676. ; Query timeout5 C4 j! O) X  }
  1677. ;mssql.timeout = 60
    . L6 o3 |8 y. ?. l  z1 q

  1678. , q) f9 H4 q! i) n* c  f, i
  1679. ; Valid range 0 - 2147483647.  Default = 4096.. a9 O: t( o# G6 _
  1680. ;mssql.textlimit = 4096
    # `2 @0 C* ]% U. O7 \0 y* W# r
  1681. * m9 K+ j0 a( Z" i
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    ) y* J7 F) y# L' [- g# o
  1683. ;mssql.textsize = 40964 R- x8 t: c: H( Q* E- ?
  1684. % z- F  M+ U: n7 x8 r: S3 K) L5 _/ o
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    3 u0 ]2 h+ w+ }7 h/ s1 l% [
  1686. ;mssql.batchsize = 0
    2 l0 k1 ~( A% X6 t0 M& y
  1687. 6 [% N1 [9 W1 n2 Z
  1688. ; Specify how datetime and datetim4 columns are returned4 D7 [4 z" T5 j# p6 N. q
  1689. ; On => Returns data converted to SQL server settings+ Z* z) o! @3 \; U! F! e
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    ! E9 ~* ~0 @4 [6 h  F
  1691. ;mssql.datetimeconvert = On: K! q; I) g# O" F+ Z/ ]! x: Z
  1692. $ c  D! G" J7 I
  1693. ; Use NT authentication when connecting to the server4 B0 D2 V$ N# J' Q, k) D
  1694. mssql.secure_connection = Off
    4 Q8 d9 l) e, M" J4 g4 L0 P
  1695. ; |& c+ O' Z/ _
  1696. ; Specify max number of processes. -1 = library default; }" ?# r; r- ^0 K- c6 P
  1697. ; msdlib defaults to 25) ?  n9 g0 x  Z
  1698. ; FreeTDS defaults to 4096- h1 W: \5 n' l* Q# t7 z4 D
  1699. ;mssql.max_procs = -1% J: x; A4 Q1 c" n) w7 o

  1700. . @8 ~5 W7 r: p/ e% Q4 H
  1701. ; Specify client character set.
    + T# z  B% |/ J$ q$ T
  1702. ; If empty or not set the client charset from freetds.conf is used5 B% d9 K$ S2 g
  1703. ; This is only used when compiled with FreeTDS
    ; N$ G# A: J9 j% K6 ?: M! p/ E+ |
  1704. ;mssql.charset = "ISO-8859-1"
    8 G  M- I2 ^$ H% [' O/ A

  1705. 3 G" g0 t5 a9 \& J5 {1 d1 v
  1706. [Assertion]
    % H* q& q4 u7 a& B, k) t$ A
  1707. ; Assert(expr); active by default.  c* C2 ?% q: G% l! V. ]& p
  1708. ; http://php.net/assert.active* n, p! f% |2 A' p8 c+ f9 J$ [
  1709. ;assert.active = On; s. h$ }$ {/ d) R! i% R) T

  1710. 2 i+ ?( P/ |) }2 n9 s% H
  1711. ; Issue a PHP warning for each failed assertion.
    # T1 P, |) b" X
  1712. ; http://php.net/assert.warning
    " e+ T% X/ m% ~9 a9 b1 X
  1713. ;assert.warning = On( v2 J* J, q7 O; a

  1714. & ^+ w8 e. Q+ ]
  1715. ; Don't bail out by default.# b1 E# S4 }2 P8 Q, O/ g
  1716. ; http://php.net/assert.bail# N2 t+ q- l7 r% w/ i$ h0 W, L* j! ~
  1717. ;assert.bail = Off
    1 B0 V2 c+ B' F* @) U% W+ o

  1718. ' D1 _7 t3 z1 ^" q
  1719. ; User-function to be called if an assertion fails.
    ' A/ c5 f, I4 B+ K
  1720. ; http://php.net/assert.callback- R2 ^2 i( a0 T/ ~+ g, X/ e! }
  1721. ;assert.callback = 0
    : g7 d! O5 Y% x; K

  1722. - ]3 t- q" w- x& c
  1723. ; Eval the expression with current error_reporting().  Set to true if you want! r& l6 x) t. L, K1 j9 x( g
  1724. ; error_reporting(0) around the eval().
    0 w4 y+ L1 [7 l3 Y7 w
  1725. ; http://php.net/assert.quiet-eval
    7 {/ H! h3 G# \% |# I' e! O
  1726. ;assert.quiet_eval = 0$ l  f0 ^( l6 y7 }/ `% f

  1727. 2 T" ]$ J0 q- u" w9 D
  1728. [COM]3 j+ O' b5 E; R2 F
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    0 F% \9 {; J7 a1 K8 u# t) ^/ j1 D! x
  1730. ; http://php.net/com.typelib-file
    6 w, ^$ A/ w5 V
  1731. ;com.typelib_file =
    * E* i5 o2 \+ a5 O2 D9 u0 ]5 y9 t6 a

  1732. + D6 F5 v, d) I* t7 A
  1733. ; allow Distributed-COM calls
    * ^+ x: p6 Z0 P+ ^
  1734. ; http://php.net/com.allow-dcom
    ; f. S( q$ w3 k% s2 `. i5 D; J3 t; m- {
  1735. ;com.allow_dcom = true. I( i: b: `3 L& z) `2 q

  1736. 5 X+ I$ L0 }, o9 R: ?2 X
  1737. ; autoregister constants of a components typlib on com_load()
    , u: _1 B  [/ J# Z4 a6 K4 o
  1738. ; http://php.net/com.autoregister-typelib$ A& j# F6 r& t
  1739. ;com.autoregister_typelib = true1 Q5 x$ N# l" L6 g2 D/ @
  1740. ! p# S7 h, l( @) W7 ?
  1741. ; register constants casesensitive
    6 ^+ X- r& w# L# Q) B% `
  1742. ; http://php.net/com.autoregister-casesensitive
    ( d; p% u5 D( c  b5 U3 T8 f
  1743. ;com.autoregister_casesensitive = false4 C. e. z2 ]! @9 }
  1744. ; k. ?1 n7 V- k! z! F
  1745. ; show warnings on duplicate constant registrations! a( `4 l7 s/ a( s, w- C
  1746. ; http://php.net/com.autoregister-verbose
    / l- K1 L2 t$ ^" R: X; Q
  1747. ;com.autoregister_verbose = true. {% R3 A( [' `3 i5 D! {
  1748. * W' P) q, r& W. Y& _) E
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    ! M' }. x! c/ M2 F- F
  1750. ; Default: system ANSI code page$ n* j; |- c5 x2 u/ F! z
  1751. ;com.code_page=2 W3 U4 W- ]$ R* ^5 b8 w

  1752.   G( z/ _0 t  W; }2 T- e
  1753. [mbstring]2 ~1 n/ i3 Q6 T8 n4 W( S
  1754. ; language for internal character representation.
    ) g- a# J6 j9 j; ?
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
      ?0 m6 }* b, |* [9 G
  1756. ; http://php.net/mbstring.language
    4 z  N* b6 ~$ r+ |* L+ F4 r
  1757. ;mbstring.language = Japanese4 m# O9 M& A, m. ~$ J1 O
  1758. 6 B. w1 O$ y& o# M
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    ( ]) @' ~% x9 j1 I. e- }# z
  1760. ; internal/script encoding., ]% I; G/ N& R/ T1 S
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)" [' J& Q3 t4 H
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.2 }$ _0 x8 }( ?! g1 V" O
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    % b. K  q$ x0 ?$ t. k8 u
  1764. ;mbstring.internal_encoding =
    + T* A. H7 d0 {0 @/ L# n9 {: l
  1765. 0 c+ n- S$ [9 k: [8 `# ^
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    - Q8 W8 D9 h1 {4 ^3 c) K
  1767. ; http input encoding., l5 o" Z  j5 H! l9 w
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    , l! x4 F3 k8 u' M* o- s
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    ( @0 A# j' V6 p/ Y  u8 S( b
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    " X, I+ P7 G" R/ H. S8 T' h. B
  1771. ; http://php.net/mbstring.http-input
    6 p' `8 T; P: v% D* \
  1772. ;mbstring.http_input =6 R, J3 R4 D( E1 t5 z- [) a& N# B8 U
  1773. - w1 k* v& i2 `5 L0 Y* ^2 V6 H
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.3 E2 n4 c; D4 W' p4 U
  1775. ; http output encoding.
    . s5 x" M% o, G
  1776. ; mb_output_handler must be registered as output buffer to function.
    & B/ A! ~2 l, n4 ]& r
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.. x8 O3 F7 v% m$ Z8 j1 Q
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    : k2 N8 m* B0 X/ C. r  w0 `7 w: u8 j
  1779. ; To use an output encoding conversion, mbstring's output handler must be set6 n# `% f2 N* R% k
  1780. ; otherwise output encoding conversion cannot be performed.
    9 M- }5 r3 B+ y) v6 j* @
  1781. ; http://php.net/mbstring.http-output( Z& ]- Z0 n, i
  1782. ;mbstring.http_output =, n% k) ^& B/ C" E% P, s8 e

  1783. ! K( C: Z4 K2 f/ m; Q
  1784. ; enable automatic encoding translation according to
    8 f$ i! X7 N0 c5 i; K+ L
  1785. ; mbstring.internal_encoding setting. Input chars are, Q* Y5 J) a) |8 R7 Q
  1786. ; converted to internal encoding by setting this to On.3 d/ q7 j+ ]+ o# w4 W
  1787. ; Note: Do _not_ use automatic encoding translation for1 Y5 ], ^6 z2 l8 s
  1788. ;       portable libs/applications.
    3 ]! Q9 E. G  o3 Y2 l" M  B
  1789. ; http://php.net/mbstring.encoding-translation
    ; ]) Z+ S4 ?0 l# g5 G! `  ]9 U  I# O
  1790. ;mbstring.encoding_translation = Off
    * v5 F$ ~- z7 i; a, x' g8 O2 O+ Y
  1791. 8 y- V7 R! @6 _
  1792. ; automatic encoding detection order./ A% {) Y4 z3 c
  1793. ; "auto" detect order is changed according to mbstring.language
    % a. X( `# \& e; x
  1794. ; http://php.net/mbstring.detect-order1 {4 V; n  B  q5 X' U$ t/ y
  1795. ;mbstring.detect_order = auto6 b% U$ F+ C+ _. d

  1796. 6 `. l3 v# W% s. X
  1797. ; substitute_character used when character cannot be converted
      x$ V  b8 w% }+ h$ P  B8 I
  1798. ; one from another
    ( o) _9 v* o) u$ J
  1799. ; http://php.net/mbstring.substitute-character
    8 Z/ f8 c2 `( w& x- F
  1800. ;mbstring.substitute_character = none
    ) Y. S; q0 y% y# f% ?/ F* S, i
  1801. $ t) L0 J6 X9 S7 L# T( Y
  1802. ; overload(replace) single byte functions by mbstring functions.% u. N  P3 l' T+ M
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    2 S1 U4 `& {! ?- K) X# z6 V! T
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.- ?% r( C% ]+ z  D
  1805. ; For example, 7 for overload everything.
    4 Q) V& N3 _6 ^2 V1 Z/ A
  1806. ; 0: No overload
    & C0 s# J  B! Z+ |9 i' D
  1807. ; 1: Overload mail() function
    , Q1 F6 A/ w& s5 @3 i+ t/ _! y
  1808. ; 2: Overload str*() functions
    ; T1 ^% ~  @7 M8 ~  _  c
  1809. ; 4: Overload ereg*() functions
      n4 b( F5 ~3 I& t# Y& c0 J
  1810. ; http://php.net/mbstring.func-overload
    & r) v* f5 S* z" I* L) G
  1811. ;mbstring.func_overload = 0
    1 t( ^& `; c5 a) m( R* T4 a1 F

  1812. & }4 |8 Q* c# |' l5 M7 M
  1813. ; enable strict encoding detection.
    . a- u$ z8 G" U- b6 \: v1 u# b
  1814. ; Default: Off! f$ A- N7 j% x1 m
  1815. ;mbstring.strict_detection = On4 F5 |' V) W; W4 O4 z8 ~
  1816.   l. z$ l# v# a$ f7 E
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    ( J( h, u3 s1 @
  1818. ; is activated.  U& Y; t0 f" c* W( A  D0 S
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    7 ~  r7 [9 G/ g* W, t; C
  1820. ;mbstring.http_output_conv_mimetype=5 ^2 V1 M- Q0 M  J6 ^" C

  1821. : \7 E2 K4 g- Z. l* D; D
  1822. [gd]
    ( m3 {1 D8 t: }  R' E- [$ N# S
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    ' E& u" @& m9 _! a
  1824. ; a gd image. The warning will then be displayed as notices! [* K1 n4 t4 L+ l
  1825. ; disabled by default
    , e& N3 R( D2 F& |& ?, W
  1826. ; http://php.net/gd.jpeg-ignore-warning: T9 c! S# }" E# _0 ?. U+ [/ }
  1827. ;gd.jpeg_ignore_warning = 07 L* a- e. a6 e' Q1 l9 Y

  1828. 8 |8 o% j# n6 r$ z7 |" t8 Y
  1829. [exif]
    : F( r/ O# \( t
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    ' M( E. K; s5 i! d0 s/ R
  1831. ; With mbstring support this will automatically be converted into the encoding
    2 F" Z$ A" _* L5 W
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    ; ~/ d% I' @5 z. ?4 U" ~3 j" V
  1833. ; is used. For the decode settings you can distinguish between motorola and. _, P3 ^( }* ]! F5 Y
  1834. ; intel byte order. A decode setting cannot be empty." f' Z# N+ `$ ^; Q" H3 |; `2 {
  1835. ; http://php.net/exif.encode-unicode
    % F: w3 Y- V* F3 f# D
  1836. ;exif.encode_unicode = ISO-8859-15, A! U6 k. t$ h, a& ~

  1837. 7 l# W8 c/ y+ t$ h! |) t1 X
  1838. ; http://php.net/exif.decode-unicode-motorola' L4 c' Y& w% V
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    0 D7 N8 r+ z/ ~* A1 u( f2 R
  1840. . G2 u/ f* o. ?
  1841. ; http://php.net/exif.decode-unicode-intel
    / x7 [8 X2 }; u$ u0 A8 A% s! t
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    & y2 _  I$ b' L- U6 c% K
  1843. ) P" ]- n* x/ D, |$ f
  1844. ; http://php.net/exif.encode-jis
    / A1 s" i0 I. f( q  c7 A: l
  1845. ;exif.encode_jis =
    1 i  H+ w, @" c% s( o
  1846. # t' C( H2 I! s3 h9 \
  1847. ; http://php.net/exif.decode-jis-motorola
    8 a$ ^( G8 E5 B, h
  1848. ;exif.decode_jis_motorola = JIS
    3 g1 K# u0 |' J9 y% |
  1849. 3 d( x/ F2 N& N% `/ c* {: _& k: f2 x
  1850. ; http://php.net/exif.decode-jis-intel- b- q1 g; d! E6 Q" h/ o! c. g% `5 x
  1851. ;exif.decode_jis_intel    = JIS; [# Y" S* J2 r  q

  1852. ) ^; U! q. ^/ }" O" g  o6 f# A4 r
  1853. [Tidy]. j  Z/ E4 e4 \$ P9 F6 f: E  d. }
  1854. ; The path to a default tidy configuration file to use when using tidy
    2 E( W+ @6 }( @9 {% u& t
  1855. ; http://php.net/tidy.default-config
    , {$ X2 K. J/ h% x$ V) j; e
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg$ g, W7 ~, ]% }! S" g
  1857. 8 j+ r' q7 b8 ~3 r# Z& C
  1858. ; Should tidy clean and repair output automatically?
    # C5 n, G% ~$ M6 d2 _* E  j
  1859. ; WARNING: Do not use this option if you are generating non-html content: Z* U. C* m3 z5 [$ J- r
  1860. ; such as dynamic images, e' v* P1 d: h
  1861. ; http://php.net/tidy.clean-output- J. @( h' q, d
  1862. tidy.clean_output = Off* j5 n* u6 o+ X$ M0 z, n8 }6 E8 T

  1863. ) A% u- ~1 @9 i" F2 T
  1864. [soap]) F7 ^9 k0 H* |2 v" ^
  1865. ; Enables or disables WSDL caching feature.
    ( X3 M" H: w& y* i& e) j. k
  1866. ; http://php.net/soap.wsdl-cache-enabled
    : f/ [8 U% E9 o$ M9 X. R$ }  g" [
  1867. soap.wsdl_cache_enabled=1
    . ]" `0 N/ s. D* q1 }
  1868. 4 v6 \: \' l2 T8 [$ Y/ O: o5 p! V
  1869. ; Sets the directory name where SOAP extension will put cache files.2 p; `8 y4 n$ W7 m# b5 M3 Z
  1870. ; http://php.net/soap.wsdl-cache-dir
    - c# P$ h' F2 p
  1871. soap.wsdl_cache_dir="/tmp"
    % |$ S+ `; j/ R! m$ B) y

  1872. . D* E; R- F# |
  1873. ; (time to live) Sets the number of second while cached file will be used
    6 M& B' w" _- a  R5 h; ~( q5 K
  1874. ; instead of original one.
    9 o8 Y& G! g" j# }2 w" @
  1875. ; http://php.net/soap.wsdl-cache-ttl4 b& u$ J- z8 \2 ]# U' \! Z
  1876. soap.wsdl_cache_ttl=86400
    2 b% }3 g) \" O! T+ Z. h  s; \/ L

  1877. $ [1 o7 S5 Z3 _4 ~' D8 }0 [
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    : g5 I, ?: ]5 w  S$ D; y( ~
  1879. soap.wsdl_cache_limit = 5
    : c5 E3 V- k1 u: R1 o& |

  1880. % h" d- q% x/ _) |! m  W
  1881. [sysvshm]4 o, t, c5 _! V* j& c5 z
  1882. ; A default size of the shared memory segment
    ' j$ B; @% P0 F* ?, l$ y  y$ \
  1883. ;sysvshm.init_mem = 10000
    : S4 W2 [5 C  x& x- d; }

  1884. 3 X/ Y5 t0 E( p6 s
  1885. [ldap]* j) d/ d" a" i* Z
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    7 }& y: C/ S* u3 P# i
  1887. ldap.max_links = -1" r2 z3 c1 B; o" O0 f+ [$ g3 A

  1888. " D8 Y  K3 X9 ~$ }7 z( {, @
  1889. [mcrypt]
    * L9 @& T* A( K# z) [9 m
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    7 a) L' e" ]! w# ^
  1891. ' l0 w  r2 u! Q# O! F: X
  1892. ; Directory where to load mcrypt algorithms
    " p) ?$ h4 ^" Q: ^  v
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)" N* B* M; q/ ~# Q( x7 h* u
  1894. ;mcrypt.algorithms_dir=( |2 w1 S  e, K4 G/ h

  1895. : V; m; j5 i0 q. }" @! _' t# p
  1896. ; Directory where to load mcrypt modes# I3 w$ o( r: @. ]; ?% {( q% Z
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    9 {2 B1 U* {7 h& t* `7 V* o
  1898. ;mcrypt.modes_dir=5 g$ b' Q) U# ^# M, \. i2 W+ W

  1899. % A  N! E; P0 S9 R+ G) w
  1900. [dba]
      O: l/ y4 A1 C: n+ M
  1901. ;dba.default_handler=: s: {2 a0 C2 P. n( A

  1902. * W  a$ \8 p1 }- n. G: ?* I0 i% O
  1903. [opcache]) b, s& Z2 L% K1 D4 r. {
  1904. ; Determines if Zend OPCache is enabled  ^4 M/ Q! o8 ?/ F  }
  1905. ;opcache.enable=05 F& K4 |3 S! t/ _  l2 D
  1906. # O) U/ l$ C4 p" o
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP& h5 i2 S8 @3 |+ U$ o. u  w; {
  1908. ;opcache.enable_cli=0
    5 |3 O1 h5 x% K% t0 e  r2 B. T7 P

  1909. . j" ?8 L% q8 X3 [6 _
  1910. ; The OPcache shared memory storage size.- d9 z" \- S7 y8 v
  1911. ;opcache.memory_consumption=64  \! Z  s" T: m2 y# x- {
  1912. 6 f  z8 F. X$ s
  1913. ; The amount of memory for interned strings in Mbytes.% x  s& S% @! j
  1914. ;opcache.interned_strings_buffer=4
    4 B  ^# J4 j$ e2 @6 M
  1915. 7 _, |, s4 w: B" u2 p
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    # [  y" X1 C+ y3 @8 e$ R+ z
  1917. ; Only numbers between 200 and 100000 are allowed.
    # b' `9 |  N) b7 Y3 X
  1918. ;opcache.max_accelerated_files=2000
    $ Y6 l2 _  X- o

  1919. & F5 i% }; m6 ^; T
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    : x0 S) S5 r  o$ \' i
  1921. ;opcache.max_wasted_percentage=5
    ! h& J! P& c- e
  1922.   J. A& D$ Z2 `& \5 V! U
  1923. ; When this directive is enabled, the OPcache appends the current working% i4 {! J! j; x; J. I# P% t
  1924. ; directory to the script key, thus eliminating possible collisions between% V6 n+ }+ ]+ ~' X- d" _
  1925. ; files with the same name (basename). Disabling the directive improves' ~& P* t) |( r8 o* y, P3 f
  1926. ; performance, but may break existing applications.9 {* W) H% n6 P2 ^" \
  1927. ;opcache.use_cwd=1# h: W0 h) J& A$ [6 Q# K
  1928. 6 F) T/ B9 g  l
  1929. ; When disabled, you must reset the OPcache manually or restart the' U, @7 T1 |3 d2 V1 m* H7 H4 N
  1930. ; webserver for changes to the filesystem to take effect.
    9 ?. y3 R( A3 J/ w( C0 x0 H2 H
  1931. ;opcache.validate_timestamps=1
    0 {2 L  i: m+ [) M; ]2 c

  1932. 1 v: A: e- R/ e- G
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    : b" x: u' g' C+ I7 Y) S. G# {/ n
  1934. ; memory storage allocation. ("1" means validate once per second, but only6 E  \; u" v) U7 }% \, k$ [
  1935. ; once per request. "0" means always validate)
    , ?: A6 J3 d2 h
  1936. ;opcache.revalidate_freq=2. y+ ^  b' P- a& P3 {* p

  1937. + S" j) g) `/ P/ o5 J1 q2 f
  1938. ; Enables or disables file search in include_path optimization7 B6 z. c* S# |, n; S" a
  1939. ;opcache.revalidate_path=06 G0 }# Q' n! J( J3 P

  1940. 8 K/ }8 b' E: n# f8 A
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    ) i* [& Z# Y  e( k
  1942. ; size of the optimized code.
    & \( N+ z- o! s" y% N6 n7 l1 ~
  1943. ;opcache.save_comments=1& U  x. A! b# g8 ?& y& C
  1944. 8 M7 s3 l4 F& `& I
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    : ~6 a# z5 B" P
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    " D2 Z0 w$ I# e) A+ f# n3 m7 n# T$ d
  1947. ; that don't need them anyway.
    ! e1 s& x$ o" [6 f7 r
  1948. ;opcache.load_comments=1
    ; g+ P* L) O1 Q
  1949. % j8 `. N) Y# z
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code. F0 `4 @; ]: K6 I' Z
  1951. ;opcache.fast_shutdown=0. W$ \+ p( n& y# I2 L

  1952. ( Z# b8 |2 U9 m3 |- w9 a8 n
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    4 c; e5 j9 m+ `: y) H" `/ E
  1954. ;opcache.enable_file_override=0
    2 c7 Q: W0 z/ M5 R5 _0 x; ]% @

  1955. * o# h4 \/ X' g1 d$ w! X4 I, ]5 `
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
      h6 C, g4 f( N  q
  1957. ; passes
    1 t: j. N# z; b4 E, {' c
  1958. ;opcache.optimization_level=0xffffffff
    $ p: _4 F' u' @1 q
  1959. # e6 ~- Z/ m' s: d/ c
  1960. ;opcache.inherited_hack=1
    ! x7 ]- v) ^1 X1 Y7 g
  1961. ;opcache.dups_fix=03 Z9 h: m. q( s$ Y# S

  1962. - b7 c$ _, Y* d. q$ F
  1963. ; The location of the OPcache blacklist file (wildcards allowed).( `. w( d0 X) p
  1964. ; Each OPcache blacklist file is a text file that holds the names of files4 Q& L) C9 ~0 p
  1965. ; that should not be accelerated. The file format is to add each filename* f2 d% s( J, @0 C
  1966. ; to a new line. The filename may be a full path or just a file prefix3 b4 n9 t' O. I. G, B$ w1 w7 }
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    6 k: V7 X+ Q3 t% h/ g& q* J) J
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).. S5 o) b# ~) s8 t8 ?8 h3 t
  1969. ;opcache.blacklist_filename=
    : T6 f) v- Q( a& `0 Q# w
  1970. ; A2 ]2 T# c* j
  1971. ; Allows exclusion of large files from being cached. By default all files- V1 x/ }6 F, R" ~
  1972. ; are cached.
    ) h9 {! u9 _4 _( O# @4 N1 m5 o. t
  1973. ;opcache.max_file_size=0
    2 U1 H9 |' n# B% d' [! g/ ~

  1974. ) {  T. m0 P* C
  1975. ; Check the cache checksum each N requests.7 E! G/ a9 g5 I* i, f
  1976. ; The default value of "0" means that the checks are disabled.7 y& z3 R' |& }! w! z. I
  1977. ;opcache.consistency_checks=0/ L  |3 U( V5 T
  1978. - n3 ~% n, A+ j  U8 }
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache7 C+ s2 E% z! m8 S. a' G7 ]
  1980. ; is not being accessed.
    % n, z' N& x5 N3 Q2 l" ^) p6 ~
  1981. ;opcache.force_restart_timeout=180
    , P3 ^& N+ x9 G
  1982. ) j- q* m! E7 C- F: k
  1983. ; OPcache error_log file name. Empty string assumes "stderr".4 t3 `$ U" y- v1 I
  1984. ;opcache.error_log=
    + k: [" P* y, }) W+ f

  1985. * a% r/ P: _; d4 m$ \$ N
  1986. ; All OPcache errors go to the Web server log.4 T. S0 U! ~# G2 [3 T3 D
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    + r' C7 p+ F* U. h2 B
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    % o/ @, x4 a% S3 W% h
  1989. ; debug messages (level 4).
    , b; y1 ?( k7 A  e
  1990. ;opcache.log_verbosity_level=13 \" g4 K8 U+ V  [4 J' p% F9 D9 ?0 W! u; G
  1991. + z* F& X1 _  ^4 i9 w- B. F2 R
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    $ M( n7 x. i  M* i
  1993. ;opcache.preferred_memory_model=- x+ h  U& I- a; s& w) C7 Q' _5 k2 j

  1994. # Y. o+ \: ?+ P1 O. H
  1995. ; Protect the shared memory from unexpected writing during script execution.# L/ A0 t+ m" h3 E7 J! f! E  `* E: X( S
  1996. ; Useful for internal debugging only.% _: X# Z* N! \. }
  1997. ;opcache.protect_memory=0
    5 B, B; {$ v0 u8 ]7 a" `

  1998. ; ~* q/ M0 A) N* z/ M' F; h
  1999. ; Validate cached file permissions.
    - r- t' q4 }; s/ m: D' J7 o0 F5 B
  2000. ; opcache.validate_permission=04 I7 G! q- b2 R3 e. x. G
  2001. 9 r& Z8 Z( v+ a+ |
  2002. ; Prevent name collisions in chroot'ed environment.. M$ {4 @8 n" g; p  C
  2003. ; opcache.validate_root=0
    5 j  N& G, y5 v" R

  2004. 7 Q8 W6 p0 K$ J2 o6 }, s
  2005. [curl]
    ( I: h5 t1 j$ k7 `
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    4 d. W: o1 j) ?" n
  2007. ; absolute path.% m  H' _* L4 }. t
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    $ M& e; u; Z( p: N
  2009. % b$ F) m2 e. f+ r0 O5 J
  2010. [openssl]
    3 `5 v/ A" C% O. H) I
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    6 P# n# F- w* A3 `" l
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    8 s' p% L. H* @, ?; A1 v
  2013. ; not specify a value for this directive as PHP will attempt to use the
    8 S2 \( A. K3 [7 g3 I2 \! X
  2014. ; OS-managed cert stores in its absence. If specified, this value may still- S0 B" |1 A  U( |9 R
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    : s+ I4 q, @& |# p
  2016. ; option.
    . G9 C- c: G& z$ `% c
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt$ F2 T+ o9 H2 s# T4 ~

  2018. $ C7 L3 B$ r8 Q$ b. X. m
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    " [4 c7 j9 I$ q  V$ M7 {
  2020. ; directory pointed to by openssl.capath is searched for a suitable+ P- J" R% Y+ E1 Q8 `/ `  x
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    / R1 r' J! p0 o, @7 J1 [
  2022. ; Most users should not specify a value for this directive as PHP will
    1 f/ [3 P* o/ G8 X
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    % z5 h3 n: O( l
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    : P% K# t( i! |% K: G
  2025. ; SSL stream context option.
    2 f1 _) v6 e" [$ z% q
  2026. ;openssl.capath=" w  ^5 C8 K' V1 ^/ P: o. w& Q

  2027. " g# k' @4 o. x  r: z7 b7 ?
  2028. ; Local Variables:
    & y1 G5 f3 t0 ~) i0 b* N
  2029. ; tab-width: 40 w4 A7 }3 ?/ f% q; b0 p7 W. ^4 k
  2030. ; End:
      Q' P* K* Y) f+ m) P* y) f
  2031.   s6 S' [* \6 r; X( ]: `3 e( O
  2032. ;eaccelerator8 x) ]& s0 h+ a, ^7 j( P8 [; L6 z7 r
  2033. ; g. a  v  Z9 `" z( `* ?
  2034. ;ionCube2 a& [( \4 P/ {' s- i- x

  2035. ! {# |* m4 i2 C, N! I
  2036. ;opcache
    1 J9 c8 H  f+ h% n( ]" y  L

  2037. * H: Y6 m. i( \' m: y% \
  2038. [Zend ZendGuard Loader]
    9 i5 P2 H( n. B  e2 i
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so, d" H6 N6 G. t
  2040. zend_loader.enable=14 \, F2 M8 F& |1 K# M
  2041. zend_loader.disable_licensing=0
    5 @. E1 _5 {; q8 @
  2042. zend_loader.obfuscation_level_support=3
    / ?6 {7 q% W- C9 a( n
  2043. zend_loader.license_path=
    $ ~( i1 W% Z  g" Z5 u' O
  2044. ' w6 v- |' v& D  J; c: `
  2045. ;xcache
    7 z2 P$ f1 Y9 V4 v" _) N, o
  2046. # B2 v$ ^3 ~6 i
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/818146921 j( v' Y2 b0 }6 a  y
1 R- V5 m1 X) T& S
6 G/ q5 l& C3 K$ h
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
* N' s  j' t+ w0 U
; }. G% H+ p- X: z' nDiscuz!程序版本选择:
+ v" l7 y3 K" g站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,, Y, s1 }. s. M5 N/ X/ w* |2 d7 {
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:) |! w  V9 h! ]9 A4 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。* }. k$ e6 v3 W' y; R4 ~
! Z7 [& i$ d. ]6 B/ \# h
Discuz!插件模板版本选择:
& H# J1 O* b2 h# }很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
9 b8 ?( ?. I3 t. }1 N针对这个问题做个统一的普及:
3 c+ R" o" @! j# w7 W! Y) wX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。' \- f8 D9 [' V1 S; O
7 B3 D. E1 {, J  {
所以" y& Z: J" N) N2 W: K
适合Discuz!X3、X3.1版本的DZ插件、DZ模板是适合并兼容 Discuz!X3.2站点使用的,请站长放心安装使用。但适用于X3.2版本的应用90%以上是不兼容Discuz! X3.4和php 7.x的,请格外注意!!!
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-12-2 01:25:25 | 显示全部楼层
添加网站的时候一定要添加两个站点,一个是主域名,一个是www的二级域名。  y+ x5 a# i& T9 P0 P3 z" n
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
+ b' b0 L" M: q. P/ s& K' F- u注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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