分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
  r8 z$ Y1 K+ T! Q7 o/ R* I+ H- I' U
  1. [PHP]) y5 Z0 A" U$ Y/ g$ V

  2. 9 s8 g) U) L( p. `
  3. ;;;;;;;;;;;;;;;;;;;. l, ?" c, [1 k* R; l; v6 m3 b
  4. ; About php.ini   ;
    5 L. n/ Q2 m, ^, K: B
  5. ;;;;;;;;;;;;;;;;;;;
    8 d& b# R( d# n. M' B" T! q. U+ p/ `5 L
  6. ; PHP's initialization file, generally called php.ini, is responsible for3 t) G3 q+ E2 }8 |( d" P+ O
  7. ; configuring many of the aspects of PHP's behavior.
    ) P' @/ M% Y4 h/ L6 F3 F+ N

  8.   k6 P1 O/ p, b2 e; T
  9. ; PHP attempts to find and load this configuration from a number of locations.
    8 j/ N5 R- G4 R. W
  10. ; The following is a summary of its search order:. m' v) K1 n' |9 S; @' E% o# g
  11. ; 1. SAPI module specific location.: D2 A# s- C# t* n- |
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)! P1 Y" L: Z9 c" C  L- q# k% [
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    + B$ V% y$ {5 u2 ~' t! @, H) H* t) }
  14. ; 4. Current working directory (except CLI)$ B! Q/ ^- t4 q1 U
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP3 i) B  d: I( j( T
  16. ; (otherwise in Windows)9 [0 V. p+ w$ R3 Y7 u! o; ?
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    ' o$ e. U) ?: Y  j. J9 _; m' `( {
  18. ; Windows directory (C:\windows or C:\winnt). j- Y' s7 F2 ^/ b" t, {9 ^1 ]
  19. ; See the PHP docs for more specific information.; x/ A6 a6 S; N* S- Y( @
  20. ; http://php.net/configuration.file8 H+ P- G/ v; R$ ?" f4 U, F" f

  21. 8 [; o- C7 O/ m; T1 k
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    5 Y; `% [' h% s  T
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).  o- R" q( `! Q4 s! i1 N8 r
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    0 P; C. v# |" w# f
  25. ; they might mean something in the future.
    ) `! D1 f: N9 E
  26. " @7 i' K3 s# g2 i$ f
  27. ; Directives following the section heading [PATH=/www/mysite] only
    $ A/ T/ C* h! ~) Q
  28. ; apply to PHP files in the /www/mysite directory.  Directives9 K5 y2 m" T: ?; Q0 Z8 R8 B: M4 u
  29. ; following the section heading [HOST=www.example.com] only apply to
    4 U0 Q0 ]* r3 N9 s
  30. ; PHP files served from www.example.com.  Directives set in these1 e7 b2 C3 H5 v$ O
  31. ; special sections cannot be overridden by user-defined INI files or1 D, @& J) U, j; F. V" |8 ^
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under# S9 }3 |" a6 Q" W
  33. ; CGI/FastCGI.) b8 G. j' W6 p- {
  34. ; http://php.net/ini.sections
    4 x4 V' O& ?* ]" [

  35. ) r' A5 F7 W/ J: Y
  36. ; Directives are specified using the following syntax:0 R/ m: C& U7 m: x$ L0 L" X
  37. ; directive = value
    " O; E8 h4 b4 x# ^
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.3 s' n; G; z( P, W! Y
  39. ; Directives are variables used to configure PHP or PHP extensions.  T! u6 r5 l7 u4 X9 ]
  40. ; There is no name validation.  If PHP can't find an expected
    ' [/ s: j" f! z7 P- r
  41. ; directive because it is not set or is mistyped, a default value will be used.
      N8 G) J4 I9 A+ c2 v

  42. ( |% b4 b. k" H0 [/ P: N) q
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one5 s8 X* a. {* \. @5 G
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    ; j) j9 ]1 z( O& q0 H. J
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    3 a9 q/ T$ D1 F4 }$ H3 W& n+ T. q8 B- g
  46. ; previously set variable or directive (e.g. ${foo})
    % F8 a) b. {6 R# l- D
  47. % n! n) b/ _; d( V* O* q7 ?
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:: l# R/ v, P0 `% R% G1 D1 U- e
  49. ; |  bitwise OR
    0 A  Y2 V& [' ^: B+ ^& Q6 ^" c
  50. ; ^  bitwise XOR. Z& @; N# K9 j6 S0 @4 R
  51. ; &  bitwise AND! k% c# _2 |9 N
  52. ; ~  bitwise NOT$ Z7 i. r5 i  T" q4 F7 F) d& `
  53. ; !  boolean NOT: }( \/ F/ Q) p. Q
  54. " g$ R9 \+ V/ ~( M2 S: v# ^6 J
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    6 I. v+ p, n$ f8 s* y1 T* A1 x
  56. ; They can be turned off using the values 0, Off, False or No.
    1 ^3 a* T" o$ b; N; D
  57. ; F; c2 [4 H  W( {5 I5 ^( Y
  58. ; An empty string can be denoted by simply not writing anything after the equal" H' R/ D2 _% J& U  k
  59. ; sign, or by using the None keyword:" s! S! {2 o; u

  60. " {, v  j3 W5 ^% {( p
  61. ;  foo =         ; sets foo to an empty string
    ( A( q4 A) R2 w5 e  ^6 c/ ]" y
  62. ;  foo = None    ; sets foo to an empty string
    , Q; i) m8 a! q2 v
  63. ;  foo = "None"  ; sets foo to the string 'None'
    $ \/ _+ A7 o- U8 D9 d
  64. 2 h( V" B  P, m$ J, Y. r
  65. ; If you use constants in your value, and these constants belong to a
    4 B0 f& ^) y8 p5 C* T6 {* |
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    & G3 M. z3 ^7 Z; `! v
  67. ; you may only use these constants *after* the line that loads the extension.
    9 F( p$ C) w; ]& [( d9 G
  68. & K& j% S( U' Q$ V! _9 U
  69. ;;;;;;;;;;;;;;;;;;;
    " i" h/ o3 {9 Z7 d- `" E7 b
  70. ; About this file ;
    3 W$ ~( J7 n* n
  71. ;;;;;;;;;;;;;;;;;;;  @  ?& Q8 v/ g* y1 ^
  72. ; PHP comes packaged with two INI files. One that is recommended to be used7 j) y) z$ W3 b$ f( y0 [, ?
  73. ; in production environments and one that is recommended to be used in+ |' d  H" g. [0 R8 ]- i
  74. ; development environments.
    # M; }7 L6 Z" N- b; y

  75. / S8 h( s+ H9 K. m
  76. ; php.ini-production contains settings which hold security, performance and: W6 B5 x: i7 F4 S8 a1 Z3 U
  77. ; best practices at its core. But please be aware, these settings may break
    ; ~- g. u9 u- k, `1 G: a9 P( ^
  78. ; compatibility with older or less security conscience applications. We+ u  P1 r! ?6 `( _, h0 q( @
  79. ; recommending using the production ini in production and testing environments.
    . k7 B- j/ n* W2 O7 o; `
  80. - c4 }- L; k3 [. A" A
  81. ; php.ini-development is very similar to its production variant, except it is
    " w5 ?) H% K, |) J( m$ Q
  82. ; much more verbose when it comes to errors. We recommend using the1 ~% ~; a! D% F7 R) [, B. P/ @% M8 u
  83. ; development version only in development environments, as errors shown to3 g% [+ q% b: G1 q" c
  84. ; application users can inadvertently leak otherwise secure information.: G  X3 u' R' i# D

  85. " n0 t( ~! k0 B7 W4 W3 I* `; a
  86. ; This is php.ini-production INI file.
    8 r& q2 t' x/ h$ E+ r6 }6 q8 a( R) R' e
  87. * M. N, J% Z% m' c# U2 L: I/ K
  88. ;;;;;;;;;;;;;;;;;;;
    2 }  k( W  N& ~8 e! b! H2 R
  89. ; Quick Reference ;
    ; U% \0 z! P2 x% L, L0 ^. y5 {
  90. ;;;;;;;;;;;;;;;;;;;
    : k4 k4 I! T$ J. d4 n' c
  91. ; The following are all the settings which are different in either the production
    # Y, P& Z; V9 ?  ]& n! |
  92. ; or development versions of the INIs with respect to PHP's default behavior.1 s7 i5 _$ @1 W) m
  93. ; Please see the actual settings later in the document for more details as to why7 w: E% U$ X2 {5 ~% Q3 S; [1 k
  94. ; we recommend these changes in PHP's behavior.3 }4 i# U9 j! G# l
  95. 7 n; `* P  R. K2 h" g& x
  96. ; display_errors( U8 p2 n% d  M: I
  97. ;   Default Value: On: v8 L0 L+ [( x# J; ?) _3 w' O
  98. ;   Development Value: On
    0 L1 m, }' P8 {" n, i% N( t
  99. ;   Production Value: Off
    1 ]6 E" L3 L2 _5 ]% `

  100. 4 T( v. t5 W  X/ p& v
  101. ; display_startup_errors
    / Z+ U' @: n4 U: v% j. O
  102. ;   Default Value: Off
    : d2 ]' ]8 U: g" h) n; |8 u+ L+ K
  103. ;   Development Value: On
      _/ u, n( h5 a2 B5 U6 N
  104. ;   Production Value: Off
    7 s- T8 a$ s+ Y) c$ _7 [
  105. " Q8 t1 v1 K, k* L( m( a
  106. ; error_reporting
    : @$ {( z& L( e0 O2 e
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED9 {- J6 J# {, I1 Y8 f$ Q- K1 H/ P
  108. ;   Development Value: E_ALL7 S8 J' x: E; l& x8 S
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    % q# V6 w5 [6 S4 U" v

  110. " `! e- x! m% x( c) \9 A& H" {
  111. ; html_errors
    # l1 u2 y- j' r, E- S% r
  112. ;   Default Value: On5 i9 M& C( C: F( i
  113. ;   Development Value: On3 t$ P; w& A  @" d2 z( x
  114. ;   Production value: On9 f3 P# |1 V" }# w* y
  115. % A3 o) w: A* U' j' N4 Y* D
  116. ; log_errors  `* s5 t7 y/ X- m
  117. ;   Default Value: Off
    ; Z* t4 I  G8 r% C  n* L, f
  118. ;   Development Value: On
    ' x5 M& U: R8 r( v: ^& O
  119. ;   Production Value: On4 E; m% N9 {. s7 T. F) z
  120. 7 V! Z, z. X" \0 |8 ^5 e
  121. ; max_input_time1 N3 m& Z; R) V  g; K" U) N
  122. ;   Default Value: -1 (Unlimited)% `4 d5 R/ e3 [2 W& V+ n; ^
  123. ;   Development Value: 60 (60 seconds)
    3 O6 A0 o8 w+ H% Y: [
  124. ;   Production Value: 60 (60 seconds)4 p3 w, l( o+ B) p+ b6 v
  125. 5 @: o' O7 d' s
  126. ; output_buffering$ X; f$ X. ?% I- ?7 I! ?: v& B
  127. ;   Default Value: Off
    ; N+ m8 B% X. L+ z
  128. ;   Development Value: 4096" B7 T2 v+ z& W8 y) t/ ]
  129. ;   Production Value: 4096
    5 J3 ?1 }6 W7 s  U9 ?/ K

  130. 7 i# f% F  {5 Z4 d
  131. ; register_argc_argv
    . N3 c7 E/ C% M' \( L/ T
  132. ;   Default Value: On7 L0 C% Y6 e; {% t& b& D% N
  133. ;   Development Value: Off
    - x0 V2 e6 ^) v) i' \4 W7 k
  134. ;   Production Value: Off; n; d* ]9 X+ I/ M4 I

  135. 6 {/ |5 H9 e: |4 ?
  136. ; request_order$ q0 M* t# ?6 F( _# ^; ^! V, o. n
  137. ;   Default Value: None* h" E* T" d& Q9 A
  138. ;   Development Value: "GP"
    & ^% I6 ^( u; K  g
  139. ;   Production Value: "GP"+ y4 u+ ]6 \% l2 G9 P( `4 a: y% b9 i

  140. 5 {* |* D& X5 [/ ~: L0 h- B$ t
  141. ; session.gc_divisor+ s. V% ~6 r/ B7 U/ _1 ?1 e: B3 h: |
  142. ;   Default Value: 1007 N: u3 k8 `& e1 w- {" s- p* `
  143. ;   Development Value: 1000
    # c8 g8 }  k/ `9 g5 Z& w6 {
  144. ;   Production Value: 1000
    # _5 Z! x$ Y9 G0 L

  145. - U1 J8 O" r) Q! R5 l( j# M
  146. ; session.hash_bits_per_character
    ! f8 d/ q) k. m# q5 n
  147. ;   Default Value: 4
    1 u: `6 ]; v. y' |6 k8 Z" J
  148. ;   Development Value: 5
    5 r! q/ H: {5 ]8 K
  149. ;   Production Value: 5
    5 q4 Z1 d6 c$ h4 K
  150. ( V5 W7 B) h  J/ S* \; F' \
  151. ; short_open_tag8 t7 D; K1 M* {9 t0 d) T! ~7 X
  152. ;   Default Value: On
    0 S* _* J/ z3 |- t
  153. ;   Development Value: Off; U7 I4 r; M. \# }
  154. ;   Production Value: Off2 w2 {5 U7 }7 T. G

  155. + ~1 x1 w- v' T- O* H6 E
  156. ; track_errors
    * W  O6 Q+ n* C( C/ u: n# [. n
  157. ;   Default Value: Off
    2 w+ T6 m) m( w
  158. ;   Development Value: On
    0 [% p6 q% f; I5 j0 r9 c, Y8 K/ U8 J
  159. ;   Production Value: Off" S4 N: D) E, z' p
  160. 6 P2 R1 D# i. c+ m7 R
  161. ; url_rewriter.tags, g: P* p- b- g  E
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="1 x. `% U% O/ m0 V# }' n6 u) l
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    - i5 ?: C2 _  r% Y7 h* d3 e, U
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    6 X( Q$ t: B* b" r

  165.   W2 I* M9 ?; m. I8 R$ \+ j+ l
  166. ; variables_order  L) Z# P2 n3 }7 ]
  167. ;   Default Value: "EGPCS"
    - ~; ]) ~+ y/ U2 H+ x1 \
  168. ;   Development Value: "GPCS"
    + \1 N( n' q9 j) ^3 g9 B
  169. ;   Production Value: "GPCS"
    . R0 x4 s+ m; K  t- _
  170. ( i- ?6 u, d9 C
  171. ;;;;;;;;;;;;;;;;;;;;9 K" Z( `2 ]* |  ?2 u+ q
  172. ; php.ini Options  ;1 j. e; `" X" Y7 y- n  z0 ]# Z" l
  173. ;;;;;;;;;;;;;;;;;;;;3 `( s, m1 M2 L7 D! K
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"! Y3 c7 Z6 o8 N  c8 H9 X
  175. ;user_ini.filename = ".user.ini"
    ; S6 b! R$ ~: `: A& M

  176. 0 E0 j! p/ P6 U9 E4 [
  177. ; To disable this feature set this option to empty value* R4 I1 N7 s6 D! z
  178. ;user_ini.filename =4 i3 ]  A+ o4 }6 o, a/ ^* m
  179. : o; |; |/ o' ?1 A# r3 c- d
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)' d4 |5 R, T& B
  181. ;user_ini.cache_ttl = 300* {; U8 C( {! T9 |
  182. $ |+ V9 P- @& I
  183. ;;;;;;;;;;;;;;;;;;;;
    + s5 G/ U7 L  I  r+ _* I
  184. ; Language Options ;
    + @5 I7 V6 Q4 w' P4 G8 d. L
  185. ;;;;;;;;;;;;;;;;;;;;
    ' x' I% s0 w+ c3 Z" {& c  ~
  186. 0 V9 G" f$ L* l7 o/ P" i
  187. ; Enable the PHP scripting language engine under Apache.
    3 x! u9 Q" X7 I2 S8 h
  188. ; http://php.net/engine9 U  f2 A( ?* r, R4 m8 _
  189. engine = On
    ( d9 Y. Z& k& F
  190. ' n% ?! j) s" X+ X5 W& a9 A
  191. ; This directive determines whether or not PHP will recognize code between
    0 w2 i. c+ Z9 m$ z. o, y
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    , [8 D7 r; [0 c' x
  193. ; generally recommended that <?php and ?> should be used and that this feature
    & U0 X2 y0 r# o/ C
  194. ; should be disabled, as enabling it may result in issues when generating XML
    0 m( T0 K% i6 |% @( v
  195. ; documents, however this remains supported for backward compatibility reasons.
    % o) c% _6 n/ }4 t( Y
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
      p% H: w% F$ d- M, D5 L
  197. ; used regardless of this directive.$ l% S7 f. Y+ j; f5 T1 u
  198. ; Default Value: On. X7 |4 r! E6 s4 M) \, u, @" @5 z
  199. ; Development Value: Off
    ! a3 M, B& d- w/ l
  200. ; Production Value: Off2 t  N5 Y$ C* d8 q. E' ]
  201. ; http://php.net/short-open-tag
    7 ^! g- K: L' ^1 p* u. J+ P
  202. short_open_tag = On
    ' g/ k4 P( r' l! k; A. K

  203. 3 e/ Q. H" {+ E9 W( q0 l+ \5 }" x
  204. ; The number of significant digits displayed in floating point numbers.
    6 \8 o0 N) a, w; d. }% g9 F
  205. ; http://php.net/precision* p7 K, h% w  J
  206. precision = 14
    * w* a+ p; h+ [% c7 z$ T7 G

  207. ! a5 R0 f! k! i* W
  208. ; Output buffering is a mechanism for controlling how much output data, H8 m: f  w4 z! Y' c
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    # Q- ^* ^3 ^8 E2 G4 G
  210. ; data to the client. If your application's output exceeds this setting, PHP
    $ y) A& X# d3 |1 e; H: P$ J
  211. ; will send that data in chunks of roughly the size you specify.3 e7 r  [% R& L2 ?. u9 R
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    7 s' W* D% k9 |2 V4 [; Z' @' A$ `
  213. ; interesting side-effects depending on your application and web server." J+ N4 e& M0 `. I2 D1 u
  214. ; You may be able to send headers and cookies after you've already sent output
    / [# D# a4 V: X) T& b2 C: s
  215. ; through print or echo. You also may see performance benefits if your server is
    5 _+ `0 Y) g8 S0 y8 B# [
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    ' u+ u) E+ ^3 K  k  @- U% _# [+ s& I
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    ; [& r( x5 f5 G3 A0 J% g, @- Y
  218. ; reasons.
    - U( z% Z" d8 P4 f
  219. ; Note: Output buffering can also be controlled via Output Buffering Control+ Q! l% }( B3 |0 v- W% i; V
  220. ;   functions.
    ( W( N4 r. u! P9 R* ]4 q3 n
  221. ; Possible Values:
    ( h+ M# x6 p) p" o1 I
  222. ;   On = Enabled and buffer is unlimited. (Use with caution). _# v4 o  a$ v# v$ o; j, {) i
  223. ;   Off = Disabled* x+ R2 c+ }8 O5 u4 E* T
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    + p7 F2 k5 v# s7 Q. g3 f
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ( k2 k0 Y3 k; q: d9 }( P- O
  226. ; Default Value: Off
    7 R9 Q0 R! Z- L4 z) @* y
  227. ; Development Value: 4096
    9 b9 Z) Q. a+ `+ G6 a5 `$ u
  228. ; Production Value: 40964 J) l0 ^+ {+ x) ]3 V
  229. ; http://php.net/output-buffering
    3 I, g" S1 j3 E: \0 x  s% l
  230. output_buffering = 4096
    / S- d- b0 `  G
  231. % c) ]) q' B* k8 Z5 @8 ]
  232. ; You can redirect all of the output of your scripts to a function.  For) C8 ]( W6 w$ l  X( S
  233. ; example, if you set output_handler to "mb_output_handler", character! z, R  z6 K' i0 g/ g, Y
  234. ; encoding will be transparently converted to the specified encoding.+ l( M. a' m. g: n
  235. ; Setting any output handler automatically turns on output buffering.
    $ {' K# d" h4 m5 n% ]1 a3 Y
  236. ; Note: People who wrote portable scripts should not depend on this ini# j" w9 t# v* X
  237. ;   directive. Instead, explicitly set the output handler using ob_start().  c2 s8 Q4 l" {/ `2 w
  238. ;   Using this ini directive may cause problems unless you know what script, v4 [! C' ?* @$ D1 Q
  239. ;   is doing.; l) f0 r0 x& r2 E" }6 Z5 Q
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    : B, r6 s, z5 t; R
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    4 j5 n  x2 F% x; ], P9 j
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    0 q( ^; x: D. C+ z  o: F
  243. ;   Instead you must use zlib.output_handler.
    $ T1 \9 ~' n7 c" }
  244. ; http://php.net/output-handler
    ' C! B, d0 M* }+ X& Y1 ^
  245. ;output_handler =9 h- Z* w" D4 Y5 O. I& c

  246. 2 i  m' o  ?" E6 r  G
  247. ; Transparent output compression using the zlib library; w) j& f0 W/ z( {" Y! Y
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    ( \: N9 ^! R  n: [- N
  249. ; to be used for compression (default is 4KB)
    - T! c+ J* C  F
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP8 Z) e' H9 s+ _# H( E3 y. @
  251. ;   outputs chunks that are few hundreds bytes each as a result of
      R4 _; v1 T: G2 p# @) l% J5 E
  252. ;   compression. If you prefer a larger chunk size for better( }  G  k2 P7 S4 p/ r
  253. ;   performance, enable output_buffering in addition.
    4 O. B, |4 A8 g$ P$ d+ j! b
  254. ; Note: You need to use zlib.output_handler instead of the standard$ S+ A1 ]+ I# |5 y2 j
  255. ;   output_handler, or otherwise the output will be corrupted.
    0 I5 p# L  G. H, E# I7 l0 M
  256. ; http://php.net/zlib.output-compression
    # ?# [! y/ N- |  \
  257. zlib.output_compression = Off2 I  g+ q* j3 {! i$ i3 A! x
  258. $ Z* T( \6 ]5 \5 X# O7 m" c
  259. ; http://php.net/zlib.output-compression-level
    3 H  [. F5 b' j/ @6 n
  260. ;zlib.output_compression_level = -1
    3 Q; r8 z$ ^; X

  261. / t, Q$ q/ x7 S0 e. _# F1 E( u9 l
  262. ; You cannot specify additional output handlers if zlib.output_compression
    % F9 g, u, I: \
  263. ; is activated here. This setting does the same as output_handler but in- I3 G" _4 T) \# s
  264. ; a different order.9 i  p. Q: a6 ]7 M
  265. ; http://php.net/zlib.output-handler
    + f4 z4 M, E' s% Y1 u% m0 m8 G' U
  266. ;zlib.output_handler =
    ' ~- J" T8 d. B; n

  267. , c- J4 R8 j( o" B; }
  268. ; Implicit flush tells PHP to tell the output layer to flush itself- n* m" C# T- b! U
  269. ; automatically after every output block.  This is equivalent to calling the" |, I9 ^( T7 M
  270. ; PHP function flush() after each and every call to print() or echo() and each
    5 n5 r) }" R' A4 q$ W# `  E
  271. ; and every HTML block.  Turning this option on has serious performance
    1 i) p* M% s* a" s( X. C
  272. ; implications and is generally recommended for debugging purposes only.4 T* M3 L2 M- z' r+ H. B
  273. ; http://php.net/implicit-flush1 I' E) Z; @) \+ o
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    7 P! z/ ^3 B9 f7 z* J) h. @
  275. implicit_flush = Off
    ) r2 P4 D. h' h9 @& C& x% \
  276. " ?2 E& W9 E* m2 D* R! e- p
  277. ; The unserialize callback function will be called (with the undefined class'3 H5 Y) x7 f+ ]4 A
  278. ; name as parameter), if the unserializer finds an undefined class% ?* b' w8 `# }4 ~2 g4 k
  279. ; which should be instantiated. A warning appears if the specified function is
    ( @+ ]# U7 k- L  v: J0 N% w, S5 l( B
  280. ; not defined, or if the function doesn't include/implement the missing class.+ ^! v/ r& n  l/ d
  281. ; So only set this entry, if you really want to implement such a" [7 G3 b$ m- b9 L6 _
  282. ; callback-function.
    : |7 o! o1 L+ w+ r6 t* l; C
  283. unserialize_callback_func =
    " ^5 y" p8 ^! @4 u; @1 O+ `
  284. * Z( B9 b& i( c8 u# A( e  A  b+ Z
  285. ; When floats & doubles are serialized store serialize_precision significant2 c0 _& h2 K9 P- W% ~3 b
  286. ; digits after the floating point. The default value ensures that when floats5 z' j$ g# Q: t+ w' }
  287. ; are decoded with unserialize, the data will remain the same.
    3 d, X( i* h- ?+ k- k1 M
  288. serialize_precision = 17
    1 ?' P% P) k; R% K

  289. ( E2 ~. R. H( h, W* f
  290. ; open_basedir, if set, limits all file operations to the defined directory3 q/ B4 S% }0 K
  291. ; and below.  This directive makes most sense if used in a per-directory
    1 ?! r/ D) O4 K- o
  292. ; or per-virtualhost web server configuration file., e- x. i! U4 n: i4 u4 E  n
  293. ; http://php.net/open-basedir
    - L9 y1 ]' k. s' V
  294. ;open_basedir =+ j- F4 A: l& B' Q, ?2 @# M
  295. + p; q$ G: @- X' `
  296. ; This directive allows you to disable certain functions for security reasons.) e  j" F( v7 x2 T  `3 W3 C' A
  297. ; It receives a comma-delimited list of function names.
    ' q2 [. @! ?) f7 D/ X. q3 ]
  298. ; http://php.net/disable-functions
    ; a) U' X1 Y9 J7 }3 c$ j' e% _1 n9 R
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru, @4 ?0 ?" w9 L" u  z
  300.   y. ^3 t1 [) Z( h: o8 e  o
  301. ; This directive allows you to disable certain classes for security reasons.  u% e( J9 J3 E. y, {
  302. ; It receives a comma-delimited list of class names.
    3 d7 J& M1 S8 J- h# v8 n: d
  303. ; http://php.net/disable-classes( D! H0 w3 M8 M* I7 Z3 d9 e
  304. disable_classes =2 _( Z2 C  |9 E7 l3 C0 F

  305. 8 Z5 A& Z: t$ e/ P) t8 A- w
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    , ~5 \4 \" {. p2 ]& ^7 A5 u5 K6 \
  307. ; <span style="color: ???????"> would work.$ {2 g# s& D2 m) o
  308. ; http://php.net/syntax-highlighting8 B) \1 ]0 T( {7 j5 o  S
  309. ;highlight.string  = #DD0000
    % y- f; u( b3 T* d8 u
  310. ;highlight.comment = #FF99006 _: ], I8 P, [6 V9 X+ V2 h$ x0 k
  311. ;highlight.keyword = #0077007 n7 @+ i$ M3 F1 _
  312. ;highlight.default = #0000BB
    3 H0 @; N* ]4 l( O- D  B
  313. ;highlight.html    = #0000001 ^0 S! J4 V) ^, B7 f: y

  314. " ]3 Z; {) b  b4 j' B8 a
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    ! q4 I* Y3 A7 `% ?, B' v% k
  316. ; the request. Consider enabling it if executing long requests, which may end up
      W+ O& [5 c& D
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior' ?' A* T3 y3 Z% Z' j! z5 V4 ?: c
  318. ; is to disable this feature.9 s- \- _8 ]7 R2 T, Y) C( T4 Z- ~& y, u
  319. ; http://php.net/ignore-user-abort1 j, ^; R/ k0 ^$ o- U6 m+ S
  320. ;ignore_user_abort = On6 p3 n$ D* h3 L3 N, n

  321. 8 ?0 i2 e3 u" v0 s+ M& N
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    8 H+ p+ X0 K1 i+ T
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    ! G; n0 I; Z" C% t9 Z& x: s
  324. ; the file operations performed.+ z8 |& Q) [' @: ]
  325. ; http://php.net/realpath-cache-size
    - t+ F  ?1 H. [# z+ z7 {5 X+ B/ w
  326. ;realpath_cache_size = 4096k  d9 {0 z1 D/ B; @+ m# O" e' c, U
  327. 5 N* ~; N" b4 Y( Q. U
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    / d  q. T  S3 R* [
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    6 G; ], @5 Q2 S5 ?9 h' D
  330. ; value.5 Q- I) b0 u9 [' s
  331. ; http://php.net/realpath-cache-ttl2 }0 `# L0 r9 f
  332. ;realpath_cache_ttl = 120" m6 l' i" k& _4 z  h; T

  333. * l( C/ X7 D, g# n  J9 k+ `& D
  334. ; Enables or disables the circular reference collector.* ?0 C; B+ a, f9 ?
  335. ; http://php.net/zend.enable-gc: D4 ?9 C, {+ a8 j8 t, T. o
  336. zend.enable_gc = On
    ( P) [9 t1 |) a: M
  337. - z8 |$ O* |# e; d- t
  338. ; If enabled, scripts may be written in encodings that are incompatible with* v# ^6 J- B4 c. s9 P
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    3 ]" w, s) E! g; Q0 N
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    7 w1 B' f% R: ?/ a1 [1 w: ^
  341. ; Default: Off/ Z% i1 t2 \0 T+ Y
  342. ;zend.multibyte = Off. E" u& N3 v2 }: x

  343. 7 R! l) J8 u0 d$ G8 Q
  344. ; Allows to set the default encoding for the scripts.  This value will be used. C, P( X0 \4 }% B) V# @" ]
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    5 |/ T! ]8 s1 Q: l$ o1 ~
  346. ; Only affects if zend.multibyte is set.
      |" r9 S; n: V  u2 g: K' z, K
  347. ; Default: ""
    & F% [  u' u" B8 _
  348. ;zend.script_encoding =
    $ }: O$ [% [0 w* P
  349. 1 ~0 w' {% M" j# O: `9 _
  350. ;;;;;;;;;;;;;;;;;
    3 A3 U' @7 `" B) m, l
  351. ; Miscellaneous ;
    1 ^& a, R. `& C1 R5 ]- i! t& w
  352. ;;;;;;;;;;;;;;;;;$ ^. d: @9 k, U, d+ a2 Z, z# ^, M

  353. 1 H. P/ D) }* S1 B
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    / @' \/ Y& V4 K. h' C& F
  355. ; (e.g. by adding its signature to the Web server header).  It is no security$ b3 X6 N( o3 _6 ~# ~
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    1 C7 e/ ?' q3 \/ l
  357. ; on your server or not., w; L5 r. ~% `) R
  358. ; http://php.net/expose-php
    6 S( d+ z: y) n
  359. expose_php = On
    6 p( P- T" E9 X& C4 g! F6 K- }

  360. * ~$ m3 X7 y% x1 _: X' E
  361. ;;;;;;;;;;;;;;;;;;;. X" O' c* W$ e5 I0 y  U
  362. ; Resource Limits ;
      e. T1 R4 E9 I% E& D
  363. ;;;;;;;;;;;;;;;;;;;" c9 u# V0 m! H

  364. ; t- M* R" H+ C/ R2 X/ k
  365. ; Maximum execution time of each script, in seconds3 R5 l5 U+ y4 ^0 X$ a/ g  L
  366. ; http://php.net/max-execution-time. ^  s9 p" `# Z, A! M8 H( L
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI; Y$ a0 b: S. [
  368. max_execution_time = 3009 v- _) y$ k9 W3 P4 ^6 h+ Z( q: G# H

  369. 0 N1 q; A3 h3 Q+ t! A/ ]% [
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    $ Y" j- A) s% g* s; V6 \: B
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    ) A  G6 Y. R0 ~1 w% D" O+ A* @/ p: f
  372. ; long running scripts.( D+ H' v( `( U" |2 G8 |
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI; h( J% e1 ?8 v2 [
  374. ; Default Value: -1 (Unlimited)
    # s9 m1 ^' t% s, G  J8 {) W
  375. ; Development Value: 60 (60 seconds)8 Z9 A" D0 x' }1 s! x: ^
  376. ; Production Value: 60 (60 seconds)# y1 W7 P$ ?: m& \
  377. ; http://php.net/max-input-time% j9 Y+ k; B4 h) f2 w/ M* N4 Q
  378. max_input_time = 60
    ( Z  j6 j) F: H9 j# J" L+ G
  379. & a3 z% C. t, g/ y& @
  380. ; Maximum input variable nesting level6 I7 n) T' A6 j3 T! l7 n
  381. ; http://php.net/max-input-nesting-level
    & l2 s1 U" D0 s7 r: s4 D
  382. ;max_input_nesting_level = 64
    $ |" [0 l3 [; ^" x$ l

  383. ! r$ C# l3 T9 i6 Q7 e; T5 `! A! c
  384. ; How many GET/POST/COOKIE input variables may be accepted
    ) z* X9 I% V9 w; m+ B8 e, N) O
  385. ; max_input_vars = 1000
    5 v% O& [0 S4 I) `

  386. + }8 _6 u8 N9 C/ w5 @
  387. ; Maximum amount of memory a script may consume (128MB)" |: O) |9 T3 a' G9 N. _& i' `2 ]  s7 }
  388. ; http://php.net/memory-limit
    2 b- k7 l, Q: d9 z
  389. memory_limit = 128M* v) A2 a- w' {1 U1 G6 w
  390. # @7 D8 s+ s7 \9 x# y5 |6 i
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;: m5 Y! l, O! X) j6 U
  392. ; Error handling and logging ;1 @0 E( e- f0 R9 {4 h* J% G5 }# X
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ' @  T0 x  }: H2 n( X. M
  394. 6 W6 p! E' _6 q7 q9 p
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    5 K0 `7 d: ?( i. E! V
  396. ; it to take action for. The recommended way of setting values for this9 k! a. L6 ^3 {6 W; }( q! y
  397. ; directive is through the use of the error level constants and bitwise+ l, p6 b; D* K; B2 s
  398. ; operators. The error level constants are below here for convenience as well as- v3 P  {/ {# S
  399. ; some common settings and their meanings.* Q, d9 ^: I) L: g' G: i
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT5 W" x0 T& ^7 ~7 q+ H: d7 S( U
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and7 ?2 X+ a2 ~" t6 Z. D
  402. ; recommended coding standards in PHP. For performance reasons, this is the+ f  o+ H) K, q/ S2 e- ~- g5 n
  403. ; recommend error reporting setting. Your production server shouldn't be wasting( \% a7 P/ D- @/ C& s- o0 d. \2 \
  404. ; resources complaining about best practices and coding standards. That's what
    / p! x9 E! u; t2 r! T6 G
  405. ; development servers and development settings are for.
    . J) P% d2 M* `/ W0 H( `) Z
  406. ; Note: The php.ini-development file has this setting as E_ALL. This* c8 g1 S0 c; x/ f3 ^# A
  407. ; means it pretty much reports everything which is exactly what you want during
    . w3 q& d6 s4 w9 S! C
  408. ; development and early testing.3 _" \- Z; ~4 a+ j1 u5 u3 q9 }% z1 Z
  409. ;1 y/ i" f7 W* \
  410. ; Error Level Constants:/ v- B) y4 e/ w$ M8 w  {
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
      s4 n; R) c* M1 l* o0 H! U
  412. ; E_ERROR           - fatal run-time errors9 Z. y3 q. G7 v5 e: O0 e
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors( a. M1 K. z2 h( k- H) ?/ o
  414. ; E_WARNING         - run-time warnings (non-fatal errors)1 j$ B& ~1 u) U& o8 W6 T
  415. ; E_PARSE           - compile-time parse errors
    ' w  d1 p0 H) a) a6 i; Z
  416. ; E_NOTICE          - run-time notices (these are warnings which often result2 d/ g& ]6 D8 E9 C) |  i) H
  417. ;                     from a bug in your code, but it's possible that it was: b" y# n- t& ~2 w* ?% i
  418. ;                     intentional (e.g., using an uninitialized variable and# P0 [& l7 J' L& h* I
  419. ;                     relying on the fact it is automatically initialized to an
    6 U: i, @; A+ u2 |+ J* s7 B/ c) V4 z
  420. ;                     empty string)) u- q2 N% _( C% ]% Z* t( G
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes. G' g) p0 l( O# j' x; p8 P) n
  422. ;                     to your code which will ensure the best interoperability
    - `/ B8 ~& Y6 |6 V1 Q6 Z. ]
  423. ;                     and forward compatibility of your code
    ! p0 c5 J7 m5 p
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    ( q; u1 r' K4 \
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    0 T; }! O: n- v0 g% O  o) I
  426. ;                     initial startup9 D8 p$ o2 Q* B2 H7 Y
  427. ; E_COMPILE_ERROR   - fatal compile-time errors! T+ D4 T) _9 N  Q! ]3 S
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    6 l& a8 ~7 [$ Y
  429. ; E_USER_ERROR      - user-generated error message
    " D* o, H! P4 Q/ a: t
  430. ; E_USER_WARNING    - user-generated warning message5 G/ @. Q+ W8 d& ?) G6 p
  431. ; E_USER_NOTICE     - user-generated notice message
    2 E) F( j2 C# U
  432. ; E_DEPRECATED      - warn about code that will not work in future versions7 X7 `5 a% m' g5 i& o8 F$ h! d
  433. ;                     of PHP. t0 ?! ]/ j2 |" |4 `: |5 [. T
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings1 q3 ^, C7 [3 t
  435. ;% g6 H; ]! d5 r1 a1 q
  436. ; Common Values:- ^8 |8 j1 s7 R
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    " S1 A0 X! b0 d3 l& K2 H' p1 n) {
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)6 I# n6 Z$ T1 {' x- }
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)+ V% P/ V4 y7 d( V9 \
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)7 ^. L" [  E" X
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED; D* Y9 N, r4 D7 P4 F
  442. ; Development Value: E_ALL
    % X9 V. t0 O( ?3 ]
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    + N6 |  p# e3 Q1 o* \
  444. ; http://php.net/error-reporting
    9 s1 X6 ~" F6 k' [
  445. error_reporting = E_ALL & ~E_NOTICE" B) K. C5 H# o- Z; ^$ F5 ^5 g/ z- e

  446. ; P4 r2 r9 N, r0 u5 u. L3 ]
  447. ; This directive controls whether or not and where PHP will output errors,6 D' t$ V- h! r0 W
  448. ; notices and warnings too. Error output is very useful during development, but
    % j1 p& W6 U$ X6 s+ Z# B: C1 d* ]
  449. ; it could be very dangerous in production environments. Depending on the code, m5 ^" }/ C# j7 [2 m
  450. ; which is triggering the error, sensitive information could potentially leak
    ; I/ x; Z' y- t& l8 Z& H/ x2 O8 B
  451. ; out of your application such as database usernames and passwords or worse.; w- y3 B! d- h$ l! K
  452. ; For production environments, we recommend logging errors rather than
    2 [) I( Z9 ]$ S' ^- s* P
  453. ; sending them to STDOUT.
    1 I/ ^5 G' ?9 }" g2 c0 m4 b# `6 K, e& k
  454. ; Possible Values:
    # Z& M" [( m3 |+ y5 c
  455. ;   Off = Do not display any errors+ j( L" G- V' V& }  F
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    ) H8 T2 p0 o% A$ ?
  457. ;   On or stdout = Display errors to STDOUT
    2 h7 O+ h8 d! {
  458. ; Default Value: On
    8 X8 {$ c: U2 R4 j7 I/ w8 _4 l
  459. ; Development Value: On$ ]7 @& n5 ?# e2 t9 a) b4 ^
  460. ; Production Value: Off' y' \% W) D. H4 C
  461. ; http://php.net/display-errors* @8 P) s" X4 J8 Y
  462. display_errors = On
    / F  @, c7 F) C) S

  463. 7 C6 Z$ T, @! a$ \/ D6 ^
  464. ; The display of errors which occur during PHP's startup sequence are handled( X7 }: D8 _) [/ {* K
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    ; _2 ?6 m, H9 H) K
  466. ; errors from clients. Turning the display of startup errors on can be useful in; L/ M% ^% F; J$ {/ T# p/ \6 V( v
  467. ; debugging configuration problems. We strongly recommend you
    8 i; E1 E2 f" u1 f
  468. ; set this to 'off' for production servers.! A1 T/ C- t1 b9 ~8 I1 v( V
  469. ; Default Value: Off' e" t% u. ~3 Z# [5 Z& U: X6 N" m
  470. ; Development Value: On
    - d$ c. ]2 D9 y; x  \; d" r, r
  471. ; Production Value: Off
    0 W; G0 x! j0 D6 D/ D4 @
  472. ; http://php.net/display-startup-errors" f" ^4 \* T: R$ w, E- m
  473. display_startup_errors = Off; m, V7 a' x  E2 T" ?) v

  474. ! d; i0 V, _( V7 H
  475. ; Besides displaying errors, PHP can also log errors to locations such as a9 h- Y. h- y5 ]7 ?' w' _2 S
  476. ; server-specific log, STDERR, or a location specified by the error_log
    2 j* `8 O$ f9 v8 x+ F' B" f, G
  477. ; directive found below. While errors should not be displayed on productions% C+ M) o5 N  c7 G; S
  478. ; servers they should still be monitored and logging is a great way to do that.) _3 @, }* [0 a2 c3 h( b
  479. ; Default Value: Off, U6 Y2 K0 w/ [/ Y: j8 n% Y5 s
  480. ; Development Value: On
    & z& k+ ~0 s) L& n  p
  481. ; Production Value: On0 P" m  |7 X( y8 s! g" S& c  U
  482. ; http://php.net/log-errors
    0 I* ^. s/ f* Q% I3 ?: q( _8 F9 S
  483. log_errors = On1 [( |: n9 w: X: s. C

  484. $ |& @! f1 w$ R% ~2 n, S  P3 @
  485. ; Set maximum length of log_errors. In error_log information about the source is
    5 ]- Y! b! ^& l" R8 G+ o/ F, C
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    $ {" s0 k0 |  E
  487. ; http://php.net/log-errors-max-len, t* \+ S9 X+ C# @- d% L
  488. log_errors_max_len = 1024
    4 e) r; ?; r: k, N/ q4 R8 Q
  489. + @: l# k5 @) ]  F2 M
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    * s. t7 O* h4 b
  491. ; line unless ignore_repeated_source is set true.
    + S! t4 p$ x' P/ T& N+ S: s2 i
  492. ; http://php.net/ignore-repeated-errors
    ( J0 [# G9 @  m1 h
  493. ignore_repeated_errors = Off
    , ?" z7 L3 A& \0 P! A
  494. 7 D: k( u6 k+ Q! V
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    , `+ l7 Q1 t1 N7 j
  496. ; is On you will not log errors with repeated messages from different files or
    4 t9 _! k2 P' Q) e. S
  497. ; source lines.
    ' i4 \& V( }) r) J  P4 _
  498. ; http://php.net/ignore-repeated-source& S' ^! M) [: S9 p) W, t: W8 u
  499. ignore_repeated_source = Off, t1 f0 W3 c6 d( k" L3 x4 s  G

  500. % t3 j, M9 b$ q6 S* R2 p
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on  E" s/ X5 P% W0 p4 W) _% C
  502. ; stdout or in the log). This has only effect in a debug compile, and if5 @/ Z' X  ^) \( m: _+ X
  503. ; error reporting includes E_WARNING in the allowed list
    1 y  }7 I) I9 j9 D
  504. ; http://php.net/report-memleaks
    ! `0 u; \& K4 D' S& S6 M0 m
  505. report_memleaks = On
    + w$ C' ^* g; y3 k0 ~7 @( P

  506. / S. C6 g$ I* F( x) i
  507. ; This setting is on by default.+ o/ \0 Q8 Q2 F$ B( T
  508. ;report_zend_debug = 0
    ( R  h3 u- F: N( j( Q2 V
  509. + s$ F8 N6 [" B- l& i& z8 x& q
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value8 }; {7 L4 F+ @- x! _% A* H
  511. ; to On can assist in debugging and is appropriate for development servers. It should  X0 X3 ?" T7 ~$ t
  512. ; however be disabled on production servers.* q9 D- Q& l) R! u* K
  513. ; Default Value: Off
    1 S& \  q- k; O3 D
  514. ; Development Value: On' |1 K; g3 M6 w+ k3 {0 L
  515. ; Production Value: Off4 s$ a8 F, h0 v* R+ f) R
  516. ; http://php.net/track-errors
    + S$ D2 U4 ]8 `) {
  517. track_errors = Off
    % B( B2 Q8 x7 u0 B( g
  518. " l. f6 @2 C6 V* Z$ H: y
  519. ; Turn off normal error reporting and emit XML-RPC error XML% |- U) d1 N. o0 e( M3 B
  520. ; http://php.net/xmlrpc-errors- ^; {: @8 n9 p/ V
  521. ;xmlrpc_errors = 02 V9 |# E8 W7 Y' a0 g& U3 N
  522. 5 |9 B4 W8 O' h' Q7 g" C1 w! a
  523. ; An XML-RPC faultCode$ k$ g, P& i- [8 W3 H
  524. ;xmlrpc_error_number = 0
    3 a8 P+ v0 {! O8 j

  525. % c3 X- b- z! E1 P
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    0 M% w+ r6 Q) `4 j/ m. g
  527. ; error message as HTML for easier reading. This directive controls whether/ u, r. g+ D# z
  528. ; the error message is formatted as HTML or not.8 [' x: n% U* r# l4 u; h' y* P, [
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI" h' z# J4 F( t
  530. ; Default Value: On1 N8 Q# d* ?( I8 |: a: N& u; F+ }
  531. ; Development Value: On6 J! Q$ A, W3 y) Y; V3 K8 G, n
  532. ; Production value: On
    7 h: W1 r5 q! z* B8 L" [' r' K
  533. ; http://php.net/html-errors
    ! \% j  c( s0 l3 D
  534. html_errors = On; C6 i9 K9 U% P1 |: m( A, W
  535. 6 M, O1 ^' u4 J$ x3 N" B4 v4 C. @: b
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    7 ^- N: a' f! ~9 L  ?
  537. ; produces clickable error messages that direct to a page describing the error# h+ [+ L  i5 B# y  h1 R. l
  538. ; or function causing the error in detail.- d* h3 x* M  R9 ]: i+ ]$ s% m+ k
  539. ; You can download a copy of the PHP manual from http://php.net/docs2 Q# i( C8 m2 A) y
  540. ; and change docref_root to the base URL of your local copy including the
    / b: v' z( Y, E% a5 Z2 x4 s" o" S
  541. ; leading '/'. You must also specify the file extension being used including
    . E. b5 E9 F* N6 h7 V* j; p
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which  ]4 x0 h/ _% U
  543. ; case no links to documentation are generated.5 y. u( Q( h7 r
  544. ; Note: Never use this feature for production boxes.
    ; A7 j) K' j& O, ]$ V, f
  545. ; http://php.net/docref-root3 ], R2 {' l' k' n6 T  C' O6 O! c0 y3 K
  546. ; Examples, X7 ~  s9 ^; L
  547. ;docref_root = "/phpmanual/"$ w6 R9 t7 t4 d4 j: X& v

  548. , f+ `- `* ~  }* b
  549. ; http://php.net/docref-ext6 U5 p0 O4 }9 C; w
  550. ;docref_ext = .html) w$ Y- R6 x% @, E, `% `
  551. 8 }- [4 C( g0 s) j5 d! P
  552. ; String to output before an error message. PHP's default behavior is to leave1 v# F0 e3 i6 M: l( a) R
  553. ; this setting blank.
      w7 q$ Q; }) g) F4 z- v
  554. ; http://php.net/error-prepend-string7 M7 \( {5 o' P( D- z  l7 t
  555. ; Example:& X9 H$ a. R" l( T' j& m5 {6 A) w4 Z
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    , ?4 f3 S- O  V1 P- Q
  557. 4 U% B' d2 k3 h( B
  558. ; String to output after an error message. PHP's default behavior is to leave
    3 ~& ]. x5 v! T& l) |; P
  559. ; this setting blank.- [" J# a) l6 N' d- r$ Q
  560. ; http://php.net/error-append-string/ w/ v. h: Y5 v8 c% W' z
  561. ; Example:
    7 g$ E9 }" ]; A# V- A
  562. ;error_append_string = "</span>": Y# Q8 s7 O- @& n0 N8 q

  563. - K5 n( x% F- M- z/ i; F2 t) u3 U
  564. ; Log errors to specified file. PHP's default behavior is to leave this value8 H7 ?1 x. q0 d# A9 {+ u
  565. ; empty.
    6 V: b; r: c7 V( r
  566. ; http://php.net/error-log
    . W' T. h* K! j- s- W2 p
  567. ; Example:
    * B% [; T2 F/ j" C9 Y) g9 y
  568. ;error_log = php_errors.log
    6 F! p1 t' z. D; G0 ]6 J& h
  569. ; Log errors to syslog (Event Log on Windows).7 X. R- ?9 j( _5 _
  570. ;error_log = syslog
    ' }; @+ _% p$ j9 Z

  571. . ?+ U* w- T+ Q% |2 t! U) y, C
  572. ;windows.show_crt_warning" S3 Y$ |7 Y, E0 m7 k/ J
  573. ; Default value: 0! z' X' |, L6 K2 I
  574. ; Development value: 0
    0 L- R) h7 K3 h* q4 O
  575. ; Production value: 0
    0 E2 C5 Q6 U& ^& F8 |# ^$ d
  576.   [9 Z  S) _  B
  577. ;;;;;;;;;;;;;;;;;. _/ `' u, [. t. m( `/ d
  578. ; Data Handling ;
    ; r( f! |1 R4 A5 P1 _) j# ~
  579. ;;;;;;;;;;;;;;;;;' Z' N+ ~9 c6 T6 x. W

  580. # u6 h% J# ]9 D2 |! f2 R
  581. ; The separator used in PHP generated URLs to separate arguments.
    ( X" t7 e+ m$ [# Y2 B' s! V
  582. ; PHP's default setting is "&".
    - R  i. O5 A' u  |8 s5 V
  583. ; http://php.net/arg-separator.output
    8 Y( N$ I9 ~" V
  584. ; Example:
    % Q$ `  ~; ~) A2 A5 |( {
  585. ;arg_separator.output = "&"
    & l* f; _  o) s2 h9 s
  586. # D2 B1 U6 E7 Q* p* m: e7 _; G2 n
  587. ; List of separator(s) used by PHP to parse input URLs into variables.* _$ }: ^1 i" s/ Y
  588. ; PHP's default setting is "&".
    $ k7 t0 g3 c0 i8 ~# x( o
  589. ; NOTE: Every character in this directive is considered as separator!
    ( D+ _. T5 w7 Z5 @0 z
  590. ; http://php.net/arg-separator.input
    2 b$ f( |: i- H
  591. ; Example:
    ! n, `. q) G" R% H6 Z) [/ y
  592. ;arg_separator.input = ";&"9 M. V- c; z8 {
  593. / O' N: l+ F6 b+ n  m4 z; l
  594. ; This directive determines which super global arrays are registered when PHP2 [: W6 [( E1 b
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super; w0 U) z3 i' A: j; D: J  o
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty& E7 J# R9 S# b# z( I4 E
  597. ; paid for the registration of these arrays and because ENV is not as commonly1 l  V5 Z, D/ ]0 X) A1 b8 o! O
  598. ; used as the others, ENV is not recommended on productions servers. You6 V4 u$ A1 O/ d/ @9 a! ]  N
  599. ; can still get access to the environment variables through getenv() should you1 {( z5 p) D7 M' i6 Z
  600. ; need to.$ d- Q& D" X5 ]4 U
  601. ; Default Value: "EGPCS"
    ; T6 l" L' A0 [
  602. ; Development Value: "GPCS"
    7 N( Q2 ]- Q  z7 v0 k, Z; V8 D
  603. ; Production Value: "GPCS";
    8 d* \: T! o6 T  H
  604. ; http://php.net/variables-order* \. {6 x3 S5 U' F7 u4 A1 ?
  605. variables_order = "GPCS"' V7 ^& F% f; K0 u- F+ F1 L

  606. & S3 \8 T7 c8 h8 M, ?+ `+ X# f1 g
  607. ; This directive determines which super global data (G,P & C) should be
    . L' w1 r1 L4 Y
  608. ; registered into the super global array REQUEST. If so, it also determines
    4 d8 q8 E% z0 m
  609. ; the order in which that data is registered. The values for this directive; c2 D) U' u9 J; X, b
  610. ; are specified in the same manner as the variables_order directive,
    ; l3 _$ I' F( K7 y" D; D2 l
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    ; H% O+ @3 J* Y/ N5 h) ^
  612. ; in the variables_order directive. It does not mean it will leave the super
    - o$ F4 A; Q: M; P$ q2 a7 E
  613. ; globals array REQUEST empty.
    & z, a  O9 {- _& G( E
  614. ; Default Value: None
    1 @* p1 ]4 {9 \6 z. L, r% ]. U0 [
  615. ; Development Value: "GP"
      u- s3 h# i8 n( G; H1 z
  616. ; Production Value: "GP"
    9 Y/ A: W+ Q5 N6 T
  617. ; http://php.net/request-order  |+ }. O3 O& c! x
  618. request_order = "GP"
    ! P8 H$ K% ]# V$ e$ Q0 i# K

  619. 7 h  g" K/ w; ]
  620. ; This directive determines whether PHP registers $argv & $argc each time it+ {" f3 R; x: r) ]3 R
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script! B, a3 l' r0 w
  622. ; is invoked. $argc contains an integer representing the number of arguments) m0 j$ l6 _5 I: m$ U- ^3 J( w( G
  623. ; that were passed when the script was invoked. These arrays are extremely
    2 \" [/ U( Z9 e8 e" R% z
  624. ; useful when running scripts from the command line. When this directive is8 @$ e# |$ n% q$ H# f! }
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    / L5 E2 _  U% e1 D  Q
  626. ; a script is executed. For performance reasons, this feature should be disabled8 Y5 S1 \, h% p- o( c$ E! f
  627. ; on production servers.
    ) r$ P% a7 |& X! l% o# ?/ w
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    ( J  }4 k1 X2 z; e6 U' B
  629. ; Default Value: On. O) x7 @2 }6 v+ _% x
  630. ; Development Value: Off/ X$ |& x. A4 J% @5 C
  631. ; Production Value: Off4 c& v7 g) U# e- S
  632. ; http://php.net/register-argc-argv
    * ?7 v: I7 W3 b( T
  633. register_argc_argv = Off
    ( G2 ?( v8 Q' Z$ {# L; @5 E( g/ Y

  634. * d6 D3 I( `( E6 q
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're" ^& h8 d# V2 E3 i3 m/ k
  636. ; first used (Just In Time) instead of when the script starts. If these9 D0 B/ a: B8 P! G3 `
  637. ; variables are not used within a script, having this directive on will result
    4 u4 p3 o- J) [7 x& K3 v4 _
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    $ q$ y5 n* E7 }8 X+ Y6 F* A% u
  639. ; for this directive to have any affect.
    # d" I7 E* ^& K* J1 x. B( @
  640. ; http://php.net/auto-globals-jit" v* G; c  F( y0 c2 h
  641. auto_globals_jit = On
    * y$ e& o- ?* }% k* q1 ?$ I4 }' i
  642. # s9 s- m3 r/ \0 K, @
  643. ; Whether PHP will read the POST data.* e0 _7 w7 \8 H* `  [. }
  644. ; This option is enabled by default.
    2 X: b' `+ c& b9 u6 @* X
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    5 p# e3 a$ W0 i. _+ R" a
  646. ; and $_FILES to always be empty; the only way you will be able to read the& V$ W+ Z) G0 ~! S, i+ c$ v  n
  647. ; POST data will be through the php://input stream wrapper. This can be useful3 m2 |3 o- F; M' Q* M$ ~. |: `
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    2 d# J$ f2 O- F* `. \+ {, Z
  649. ; http://php.net/enable-post-data-reading
    ) ]( }6 R/ S. [3 h& H3 j" c
  650. ;enable_post_data_reading = Off
    % r2 ^5 n8 {; h* P7 h8 F# e
  651. 5 b( ?& ?9 w/ ^
  652. ; Maximum size of POST data that PHP will accept.
    / W* F; Q6 L3 n9 c
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    # l$ v0 Q0 J+ ?0 I; A; W7 j- u
  654. ; is disabled through enable_post_data_reading.
    & |) Y# _$ l2 T4 f5 [
  655. ; http://php.net/post-max-size
    1 _3 l+ \5 t" S7 K  p
  656. post_max_size = 50M5 J; z" }2 F. W& G
  657. * _7 W7 Y5 m7 Q# v% X* o# S
  658. ; Automatically add files before PHP document.# O, K1 Z9 r, n0 i, i) p& M$ H
  659. ; http://php.net/auto-prepend-file
    $ K0 o* v, P/ p5 g7 l, z
  660. auto_prepend_file =
    / |- ~" s9 v: F, P; f6 d. ~6 w4 S3 y

  661. 2 D% R# \; }6 \2 \! j' F* \
  662. ; Automatically add files after PHP document.8 i1 u8 g& N5 R6 ]! n, r3 e
  663. ; http://php.net/auto-append-file* X# a8 F% m3 ^$ M2 _2 ]8 P8 P* `
  664. auto_append_file =
    & x8 [4 b+ B' d9 M. N

  665. 7 _: P( J0 P! z' [9 {1 {
  666. ; By default, PHP will output a media type using the Content-Type header. To( j6 P1 P4 J( H$ G/ m* \7 z
  667. ; disable this, simply set it to be empty.
    ( h& Y( C$ D. L: P1 q! W. T
  668. ;
    4 W0 ~/ C6 F9 i
  669. ; PHP's built-in default media type is set to text/html.- U% B% l' @; e5 h, @( A
  670. ; http://php.net/default-mimetype( X- M0 G" t6 C" ~6 i' B! |
  671. default_mimetype = "text/html"6 ?# [$ O* y/ E. D: E5 i1 ^
  672. : `+ W. g, T* e! c, B- q! S3 n
  673. ; PHP's default character set is set to UTF-8.
    % v$ D5 y$ F& f0 ], N
  674. ; http://php.net/default-charset8 b" ~$ ~8 L! C3 s8 \
  675. default_charset = "UTF-8"
    / d( a* s2 h& y% x; I+ j: Z
  676. " [' F) ?2 X5 F7 m# v% ]' Y: O$ Y
  677. ; PHP internal character encoding is set to empty.
    1 \" u5 j5 o7 `0 g8 L0 ~" [% |, _
  678. ; If empty, default_charset is used.6 ~& {& J6 a3 L5 Z
  679. ; http://php.net/internal-encoding+ G1 R  G9 H, l2 C+ ~$ P( H2 n+ V
  680. ;internal_encoding =% b, x, o) g5 w; E. |5 U- V' ~

  681. ; I2 a, }& Y; A/ [
  682. ; PHP input character encoding is set to empty.
    ' e) s) [6 `# Y8 x, M
  683. ; If empty, default_charset is used.' u$ a5 y, l5 i. }% F  H3 ]
  684. ; http://php.net/input-encoding9 d* n# \- D2 A8 ?7 \% O! w: o
  685. ;input_encoding =
    5 ?# ?5 g" \7 o% V5 w
  686. . C' t  J/ d1 M& Y
  687. ; PHP output character encoding is set to empty.
    % r- R. Y' s9 l+ j/ u
  688. ; If empty, default_charset is used.
    % c- q3 U; _# I
  689. ; See also output_buffer.
    3 v8 w4 G1 \: L
  690. ; http://php.net/output-encoding
    " L# Q( J) N+ v; s
  691. ;output_encoding =9 N4 S9 C' M4 ~! U' E

  692. ) M- r( R9 E- }, g* Y0 v
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    . N" O; ~9 D3 r9 K6 W
  694. ; Paths and Directories ;# Q9 }, `" t5 m: L/ D" T
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;9 ~" @3 r# t! z6 }) b. J

  696. 0 z$ p; P( I2 l- b$ L
  697. ; UNIX: "/path1:/path2"( L' H) Y* I% t
  698. ;include_path = ".:/php/includes"
    8 t1 f9 P. R! _' h) J
  699. ;
    3 R# s/ z4 z% b* h
  700. ; Windows: "\path1;\path2"
    ( z; h3 w, X* i+ y
  701. ;include_path = ".;c:\php\includes"
    % N; B  ^& K+ [4 H6 A' _/ p% `
  702. ;
      D5 [; F9 `/ n+ p. C) p
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    + P& R  @% j/ e+ N# j5 \, A
  704. ; http://php.net/include-path
    6 z# Y% w# F1 V) P  e
  705. ! Z4 H$ l0 R2 h; C, u6 q
  706. ; The root of the PHP pages, used only if nonempty.
    - v* U! {$ Y* }* K: K
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    % [2 c& F1 E: u( q
  708. ; if you are running php as a CGI under any web server (other than IIS)  n  A1 \$ J2 \% j2 e! \) J
  709. ; see documentation for security issues.  The alternate is to use the
    ! ~+ A6 _. ^& b% m6 H
  710. ; cgi.force_redirect configuration below! o4 h. v" _% x0 ]( p- s) C
  711. ; http://php.net/doc-root& k, I+ ^* R5 F9 Z3 r
  712. doc_root =1 `) y9 v3 H. I" `, B

  713. $ K+ E" `/ e1 k" L: I8 R
  714. ; The directory under which PHP opens the script using /~username used only
    % N+ e- b$ q7 w: y- p
  715. ; if nonempty.' z% G7 g4 C5 Q+ w
  716. ; http://php.net/user-dir
    $ h  {$ N/ b, g- J. C
  717. user_dir =: f  [. I5 ]/ |9 i
  718. 0 n$ l& ~3 _# q
  719. ; Directory in which the loadable extensions (modules) reside., E7 r+ n! m$ @4 \8 \
  720. ; http://php.net/extension-dir
    - c6 g( T/ P# N0 t$ L/ d
  721. ; extension_dir = "./"
    : n* n4 L8 H/ z1 e( D! T
  722. ; On windows:
    / w) O9 O9 O8 y  ^! g, w
  723. ; extension_dir = "ext"
    2 c) g- \( _  W$ w, z& Y" Y$ \/ K% j

  724. # N$ L+ R" b7 C& s
  725. ; Directory where the temporary files should be placed.9 x6 y3 E' g) [7 s- P
  726. ; Defaults to the system default (see sys_get_temp_dir)
    . N3 R1 q9 M5 ~' I9 U! E& W
  727. ; sys_temp_dir = "/tmp"
    " p( Q' [; [  Q% O
  728. : f5 _8 Z) ?, Z' l6 s( k
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work0 Z+ I# J+ K% R+ {3 s' l* a
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    & h/ c/ [2 b% c' k0 O& h
  731. ; disabled on them.
    - T* Y; a: x. F! ]. ?/ z
  732. ; http://php.net/enable-dl
    4 a* w) p; L% O/ v9 G  @) G
  733. enable_dl = Off5 Q7 i2 B" c; t. g9 m
  734. , r# ?* m1 |; \! ?- W
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under2 v. I+ A; p" c4 h. [: {
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can* g) X% C  Q7 Q& c
  737. ; turn it off here AT YOUR OWN RISK: ~4 f+ t0 W5 z- j( U6 r8 ^. v
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    , K6 ?5 M! G! }( j( l/ M8 u
  739. ; http://php.net/cgi.force-redirect
    4 N" A3 C+ ^3 W+ q4 k2 U
  740. ;cgi.force_redirect = 1
    . e- q$ z) L6 A2 }' C
  741. $ C- f4 a  y( h" ^& J. M
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with+ E. {, d( h  O
  743. ; every request. PHP's default behavior is to disable this feature.- N: a0 A6 U' B. x# P
  744. ;cgi.nph = 11 Z% |5 c. p4 v7 D. j

  745. $ @6 `5 k7 l* u# H7 n1 e
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape& R1 G5 X$ d$ k  ~( ]
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    4 F) `1 o. Z2 T2 i1 @! e! Q! b6 S2 b
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    * T8 s/ l- w& F
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.; K  m, |' J) B: Q( a+ `6 d
  750. ; http://php.net/cgi.redirect-status-env
    / V* \* ^( G0 O4 S
  751. ;cgi.redirect_status_env =# W5 ?  L" G5 H1 F) e! M8 y
  752. % }! M8 ^7 r" S- i
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's! F; X" A- m! D. h( u2 y# ^: K1 p0 [1 ~( m
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    & R' U5 W& N$ r; z/ O
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    ; D) m9 R7 I6 C
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting7 ]" ~) ]* W4 n
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts& \5 x5 P& v  M" e" b, d* P9 |
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.7 V6 p. r% o. K* ?) T7 n) Z
  759. ; http://php.net/cgi.fix-pathinfo
    . Z: E; W8 ^8 |' }8 G( L1 o. Q7 Y
  760. cgi.fix_pathinfo=1, B  ~) j- b$ o. S3 z0 k  n: ]8 b
  761. 7 L8 X6 V  m, M/ b7 f
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside* R* |5 j" ?2 e7 a
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    8 h8 Q3 L$ z. W9 p+ e
  764. ; http://php.net/cgi.dicard-path
    7 \2 c9 R) w1 o# S9 x
  765. ;cgi.discard_path=1
    ) u- |  a9 J! j3 }# r) P

  766. 9 [/ \4 {/ X' s  `3 r2 i3 R7 }
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate# ^6 k! `3 L+ D) f, C' d" e
  768. ; security tokens of the calling client.  This allows IIS to define the! K8 @& t) Z1 B) T" }$ w* t
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    ' l% }/ O6 p1 A7 C
  770. ; does not currently support this feature (03/17/2002)
    " A7 l  T/ Q  Y' d! g
  771. ; Set to 1 if running under IIS.  Default is zero.
    7 d" }" P5 r* ^6 Z6 s5 U5 B/ e
  772. ; http://php.net/fastcgi.impersonate
    % L# `8 w+ u: ~2 V1 t
  773. ;fastcgi.impersonate = 1/ y) q! M. E; l
  774. ; X  S3 t: f9 {. @7 p% ~( c. Q
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable/ U9 M% t# t5 n1 P% m& q$ ?9 O+ {: f+ Y
  776. ; this feature.
    ' J% ]* |' M! F* R
  777. ;fastcgi.logging = 0
    + c! W% s  p6 _" i/ F6 O) d

  778. ( F5 a4 P3 E* M' W
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    " m: ^6 Q0 L% ~0 H7 w
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that% B' v5 D! T3 @  }3 y
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    7 E; X; Z( c; p( u4 ^$ V: `
  782. ; RFC2616 compliant header.
    4 X" }- h2 {, ~, G# f
  783. ; Default is zero.
    0 m; Z0 L: q& R, z* b! y
  784. ; http://php.net/cgi.rfc2616-headers8 |; |( F/ R, f9 t2 |  _4 ^
  785. ;cgi.rfc2616_headers = 0. y7 K. D' h- p  y% Z: p/ b8 H7 q
  786. + h( J1 u2 j$ ^
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!# R. M: i/ Y' n- E( F, @  C+ N
  788. ; (shebang) at the top of the running script. This line might be needed if the
    9 t( j/ }- `" x9 E
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    ) ]' _7 K# P5 |# h* D! y9 M/ ~
  790. ; mode skips this line and ignores its content if this directive is turned on.  X3 l  ^- V. A1 b# `: g3 a
  791. ; http://php.net/cgi.check-shebang-line! G4 k% @3 R. E8 d6 @; {3 j% j
  792. ;cgi.check_shebang_line=1
    2 x! C  V" f/ G2 c

  793. , ]) N( R; n: o6 Z! c- X
  794. ;;;;;;;;;;;;;;;;' w0 P+ ^( u! J7 |( l6 b. S
  795. ; File Uploads ;" }% c) x3 d7 e* D& y
  796. ;;;;;;;;;;;;;;;;
    : Y9 L5 }* Z% d. a) P" w
  797. 5 V3 r& O) h6 }, J6 A0 c* Y4 N
  798. ; Whether to allow HTTP file uploads.' g: S  P2 y  y. ]: S" i
  799. ; http://php.net/file-uploads; m$ Q( n' A1 t) L3 a2 o  f: A) L: N; C
  800. file_uploads = On! O- @+ W* `% k. K5 O
  801. 2 K5 M9 |% x! ~, t" |" t6 ^
  802. ; Temporary directory for HTTP uploaded files (will use system default if not  X) R' N. O: t# i; g. C# [
  803. ; specified).
    8 U8 R+ u. Z, B
  804. ; http://php.net/upload-tmp-dir) \2 i- r2 j# p+ M
  805. ;upload_tmp_dir =
    & s2 e, R0 ^: F. ~8 N

  806. * |9 E" ], g5 I
  807. ; Maximum allowed size for uploaded files.$ R& X( [: A6 ]
  808. ; http://php.net/upload-max-filesize8 Y' ]5 r& ?& [+ O8 Q& L
  809. upload_max_filesize = 50M
    8 q* |* b0 Q1 U9 [) H, x

  810.   d0 b. k; ]: U% J* I" ^% p
  811. ; Maximum number of files that can be uploaded via a single request3 \- {$ q  F3 R7 U/ k) i% j8 M4 V) `
  812. max_file_uploads = 20& O( e# {) `* y/ y7 n3 D

  813. % |$ @) c: E  X' d6 O
  814. ;;;;;;;;;;;;;;;;;;4 F2 d# {* n% |" x. ]3 ?% j# P, r% M
  815. ; Fopen wrappers ;: S, U% s2 c7 ~" S6 F  a" h* ~
  816. ;;;;;;;;;;;;;;;;;;
    . r% @4 r1 J0 I8 n( m+ \9 _! r* b

  817. - O! p* A2 H5 B8 J+ W
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.: U) j: c3 E+ k
  819. ; http://php.net/allow-url-fopen
    ) c' [' u4 t- {
  820. allow_url_fopen = On( D2 j. R/ H1 ]1 x/ @% G

  821. + P4 K5 B9 m, R" f/ c( }; J
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    9 d& e( P$ ~8 d: l
  823. ; http://php.net/allow-url-include7 w/ v. h7 [+ O, ]3 }
  824. allow_url_include = Off
    - X. `' p% r  ]& i
  825. ! y3 a! _7 d* Z# x$ h2 b9 s% m
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    $ }$ w6 }# n( O- `9 |. x
  827. ; for this is empty.4 \* r3 N+ K4 v! D% m" ?
  828. ; http://php.net/from
    8 P* r! \( s' |2 }8 M4 e. i4 L# J
  829. ;from="john@doe.com"( x1 p5 U4 G! I- g
  830. 8 c2 }4 T: c* P9 y. w1 x7 v
  831. ; Define the User-Agent string. PHP's default setting for this is empty.; `8 G+ t& v9 n8 ~9 u" W6 F( A9 C
  832. ; http://php.net/user-agent8 \9 W/ `4 C+ p# A+ \6 C7 A  Y
  833. ;user_agent="PHP"* W  }$ J: ^& k! ^# \. n

  834. $ [$ p8 n1 d( \: o$ \9 Z
  835. ; Default timeout for socket based streams (seconds)
    / q! j- X6 C! h; e8 V, O& |; p
  836. ; http://php.net/default-socket-timeout
    8 q8 Z1 }7 ]" L+ [
  837. default_socket_timeout = 603 K1 {) s* y6 x* q+ R+ V. {8 j) q% E
  838. / k' |" Q6 c* F# c$ v1 I: p" O7 `
  839. ; If your scripts have to deal with files from Macintosh systems,9 S+ C- \7 E8 I: ^9 O" q; J% N
  840. ; or you are running on a Mac and need to deal with files from
    ' o" x; _/ w* y: M- N# r+ B
  841. ; unix or win32 systems, setting this flag will cause PHP to5 k( D: c" E( H+ j
  842. ; automatically detect the EOL character in those files so that
    * a& H. G3 q$ O2 A$ p
  843. ; fgets() and file() will work regardless of the source of the file./ h- q  ?' A/ n# T6 M( v
  844. ; http://php.net/auto-detect-line-endings* M3 q4 m5 U( _# B' h4 l/ J+ i; x
  845. ;auto_detect_line_endings = Off2 q; |4 `! m, M+ D/ Y2 D! H* G* G
  846. 4 o5 [/ z: v0 j; l
  847. ;;;;;;;;;;;;;;;;;;;;;;; D( e3 T: J  s5 ^
  848. ; Dynamic Extensions ;1 o# g1 L! z2 N* h3 ]
  849. ;;;;;;;;;;;;;;;;;;;;;;
    * y4 @! J3 L8 A
  850. , F5 e# _# x- R& g8 _* S+ b
  851. ; If you wish to have an extension loaded automatically, use the following
    8 m4 T7 x9 D# s0 e. j; Q% H
  852. ; syntax:
    * ?7 H( q$ K+ A
  853. ;* B/ ?% \: E% j2 y/ s+ }- S
  854. ;   extension=modulename.extension
    2 w  i0 H/ E. Y9 t
  855. ;! t. P) N2 [2 G. `) p' R
  856. ; For example, on Windows:
    , I6 W7 C1 X5 s. [% Y. R' w$ b2 Z
  857. ;
    ' |7 ]9 n; V7 \
  858. ;   extension=msql.dll# D3 j' \; i" H0 ^4 \; s
  859. ;
    3 T/ P% b8 ~: h2 b. f
  860. ; ... or under UNIX:# u3 A) s, O; j/ A& t; F
  861. ;9 \. m  Y8 {  w) K9 G2 O+ F. n
  862. ;   extension=msql.so* L/ I/ u' d, P# }
  863. ;7 T- u9 v8 P7 r; E) n
  864. ; ... or with a path:% i8 |) i2 C5 q7 \
  865. ;
    & o4 V) z2 j+ h1 a  \' Q
  866. ;   extension=/path/to/extension/msql.so
    ; O5 }% o* {1 Q. H0 b" R& l* X
  867. ;$ r7 [/ Y& @. D# {; S1 Z( ^
  868. ; If you only provide the name of the extension, PHP will look for it in its
    * [, q! p% i5 T# w( g0 Z
  869. ; default extension directory.
    4 H9 J* r9 D. Y' r# z+ c- @
  870. ;, j* k; ?4 A" U9 T
  871. ; Windows Extensions, ?4 D7 I/ x) Y% Y
  872. ; Note that ODBC support is built in, so no dll is needed for it., }$ I3 Y/ T' a% `( Z$ Z
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)& X% T2 J" s! ^# E" g& ^' B3 @
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    - y. [: b# p2 a. p- b% N0 ~% B$ m4 t
  875. ; Be sure to appropriately set the extension_dir directive.1 \: b* I) D# Y, B- x
  876. ;" D/ B* U$ C# _# F! h+ u
  877. ;extension=php_bz2.dll7 U3 e& f7 |$ x0 U2 i0 p' m
  878. ;extension=php_curl.dll
    - t8 n- h* x  \0 Y% w3 U
  879. ;extension=php_fileinfo.dll+ M% f9 ~# }; ^# f& X
  880. ;extension=php_ftp.dll
    / u* p4 N; g3 j% k9 C2 ~' e9 N
  881. ;extension=php_gd2.dll" A- Q6 |3 I* Y5 A$ Q! y
  882. ;extension=php_gettext.dll/ [* g# v0 S  {
  883. ;extension=php_gmp.dll0 }  g2 q% v, \; ]: W7 J# \
  884. ;extension=php_intl.dll+ y; A! |/ x1 i( b5 z
  885. ;extension=php_imap.dll, e! o" i! l- M/ R1 I5 ?% p; W
  886. ;extension=php_interbase.dll: v' B* _8 v& f" a9 ?
  887. ;extension=php_ldap.dll
    ; j4 v4 `4 c, }, y3 {6 |  j
  888. ;extension=php_mbstring.dll3 v1 L* `! g) k$ f  X
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it, ?' ~7 b+ G: X% O8 L) W
  890. ;extension=php_mysqli.dll  }0 h8 {4 E& N/ z; |1 z! N
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client" Q$ Q! [6 ]2 A1 r2 H6 I
  892. ;extension=php_openssl.dll, c$ d: v/ u2 s+ p
  893. ;extension=php_pdo_firebird.dll0 ]1 s( T7 e( R% `! ]9 n" e
  894. ;extension=php_pdo_mysql.dll
    * p! z0 V$ ?7 h/ ]2 G
  895. ;extension=php_pdo_oci.dll4 a% {" Z* I( A
  896. ;extension=php_pdo_odbc.dll
      Y: c1 f. i% a- R0 A
  897. ;extension=php_pdo_pgsql.dll
    ' v! b2 m7 ?( S
  898. ;extension=php_pdo_sqlite.dll/ Y" m5 O7 U( U, T2 P, }8 F: L* t
  899. ;extension=php_pgsql.dll
    4 S% X: h. \0 p$ L2 v
  900. ;extension=php_shmop.dll, C" k/ e5 K3 M, J+ ]* q6 w* j

  901. ' E6 D2 m* @/ v0 j- |7 v
  902. ; The MIBS data available in the PHP distribution must be installed.
    2 b( ^8 W* W# w& P1 ?
  903. ; See http://www.php.net/manual/en/snmp.installation.php9 U% M+ {6 a$ h# Q
  904. ;extension=php_snmp.dll
    : t8 O) y( m& C& v0 m* j$ w
  905. ) v5 [$ n$ P. @) G5 s6 n
  906. ;extension=php_soap.dll! j5 `: M7 w! q
  907. ;extension=php_sockets.dll
    8 ?7 b7 \  n8 [: i# H+ S
  908. ;extension=php_sqlite3.dll
    8 m( {! W1 O& U( M, z# B+ @: j
  909. ;extension=php_tidy.dll
    7 y6 Z7 d- i# p6 e
  910. ;extension=php_xmlrpc.dll* p" }1 a8 ~  J
  911. ;extension=php_xsl.dll/ E$ g9 P+ ?/ x4 [& F
  912. & @$ @3 a0 E, u" C  K
  913. ;;;;;;;;;;;;;;;;;;;
    / S! O4 a* u2 p; j& e
  914. ; Module Settings ;, ]0 h  v5 G; m$ O
  915. ;;;;;;;;;;;;;;;;;;;
    0 e" h+ |% w4 @6 r# |

  916. 0 N" d' G3 \9 s
  917. [CLI Server]
    * M  L' m+ p4 `  Z/ k% `. N
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.( b& q1 e7 g, p" @6 r& ~9 B
  919. cli_server.color = On2 ], Z3 |8 ]( |3 C+ C+ L
  920. ; A* t( L) U+ p+ A5 l
  921. [Date]# N# ^, Q& Y% O1 C' L7 |$ |
  922. ; Defines the default timezone used by the date functions
    : g% p4 I5 e5 P7 M7 Q' B
  923. ; http://php.net/date.timezone
    3 X8 u0 |' r6 s
  924. date.timezone = PRC2 g1 S/ p: c5 O: o8 v
  925. ' f  B& A% M1 _2 E9 d: k* j  i
  926. ; http://php.net/date.default-latitude
    1 [; O; B, x( V- G* [
  927. ;date.default_latitude = 31.7667
    # u  H0 e# _; e0 `& O2 ~0 j
  928. : M) l5 n" _# i+ x1 y
  929. ; http://php.net/date.default-longitude
    " ]8 r. a+ Z8 G; [: P
  930. ;date.default_longitude = 35.2333
      b0 Q" D2 p/ y- R7 M9 P9 m( d
  931. : }6 B' N9 j. ]& {
  932. ; http://php.net/date.sunrise-zenith
    , g4 W1 F/ D- T( F6 h
  933. ;date.sunrise_zenith = 90.5833331 O1 s" l. _$ ]

  934. 2 Y' x# a0 a1 l2 l: K8 f8 r
  935. ; http://php.net/date.sunset-zenith5 q) N7 I3 U6 ]
  936. ;date.sunset_zenith = 90.5833334 r4 p7 S# @& f4 ]1 x
  937. * w+ d1 n& w$ b* V" ~, a+ B0 ]
  938. [filter]
    / Q2 c% i. d( R
  939. ; http://php.net/filter.default5 r6 f6 o7 h6 ]$ ~$ q! t$ D# f5 v
  940. ;filter.default = unsafe_raw
    8 F0 i4 ^/ {5 d+ s8 h$ k

  941.   [0 g( O; U( |* `8 ?" Z& b
  942. ; http://php.net/filter.default-flags
    4 a. R" c6 l  z3 L4 |" }- Q
  943. ;filter.default_flags =* J! w7 W! H2 e% ^) j7 ?* J+ L! T

  944. : U- H$ @% O/ H5 O! k3 v' ]
  945. [iconv]
    3 O9 p! U- x% U/ ^" _8 K- ]8 U  e
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    6 ^' Y# O/ ?0 e( a: j2 z# e
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    % T# D! k- _" Z
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    7 E" z- @) N1 H' a& T
  949. ;iconv.input_encoding =
    - J! A1 }4 P" _, k0 ~8 Z* m" I
  950. 7 l; v) u6 J* F; U: Y+ F4 d
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.) j1 [) M& v* \7 v% P& u1 [) J8 n- Y
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    + h) t$ S1 r, x5 [8 t; U1 P) W0 x& V
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
      I; ]1 N) E1 }/ ]) u' i$ a' G
  954. ;iconv.internal_encoding =" q: l, k$ R- X; i
  955. # u' i  }9 B4 F) [7 x
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.  p- }. m5 \( U$ A9 ~( p% \
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    3 P8 y! A2 ?" h% v7 F0 z. f/ ?5 m
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding4 }% n! g8 Y+ U! ~
  959. ; To use an output encoding conversion, iconv's output handler must be set. ^* v2 h, G* d. H0 J2 x( u  D2 O
  960. ; otherwise output encoding conversion cannot be performed." ~7 B* r# t2 K
  961. ;iconv.output_encoding =
    & {# C" q4 u: Z6 m9 Q

  962.   N  D7 B. N! a, \' t" O# O! d
  963. [intl]2 P6 c& D* D1 W  A: ]2 l% w
  964. ;intl.default_locale =
    $ }) |* e0 w7 _6 f
  965. ; This directive allows you to produce PHP errors when some error
    6 j1 X) G, k% z0 k+ a$ R- v& d; v$ W
  966. ; happens within intl functions. The value is the level of the error produced.& z6 Q4 w! Z5 J) @
  967. ; Default is 0, which does not produce any errors.
    ; a! U  T% H& G; D5 {  |. s
  968. ;intl.error_level = E_WARNING8 b0 i5 H6 C; k
  969. ;intl.use_exceptions = 08 {- p2 b7 N  O) C- j% j

  970. * U9 O1 \+ L  J# B0 ], E4 _
  971. [sqlite3]
    5 _. \2 D  Z( j- T, E- Y: u
  972. ;sqlite3.extension_dir =- k8 V7 |4 C6 ^% \7 `% ~% O5 P

  973. " z  v8 l$ p/ P5 J2 N) Y1 S( n
  974. [Pcre]
    ( V: `8 `! h  o3 {1 [! ^
  975. ;PCRE library backtracking limit.
    " f0 Y$ O( ?5 L9 v) m  C$ A
  976. ; http://php.net/pcre.backtrack-limit
    1 ~1 t4 Y+ s% [) h' \0 O2 i
  977. ;pcre.backtrack_limit=100000) \5 O" X, Z9 p/ |6 r

  978. ; z$ [# t5 K+ y% H& t4 W& v
  979. ;PCRE library recursion limit.+ Z. D7 r7 O% N: g+ V
  980. ;Please note that if you set this value to a high number you may consume all
    " B- a) Q2 @. [) u1 s
  981. ;the available process stack and eventually crash PHP (due to reaching the, l8 @1 B  x3 A. ^& V) N% `
  982. ;stack size limit imposed by the Operating System).
    : F  F0 v8 C; H1 z- a0 l. E
  983. ; http://php.net/pcre.recursion-limit
    ' O& h" e' g9 u. a! e% [  f
  984. ;pcre.recursion_limit=100000
    ( a$ c/ I: c; D; D
  985. : m1 K6 `' a3 S
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE, Y. Y; @% k' E$ o
  987. ;library to be compiled with JIT support.) Y4 K# d# C: h7 A  T
  988. ;pcre.jit=1
    - }: q& Y0 n& u  N0 R# Y
  989. 1 _' ?  \0 w* n2 i& T% j5 x# B7 d( K
  990. [Pdo]; B) |) I, u3 b: s  w; U
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    * E0 \( n  n5 a) X: t2 [  D+ ]# Y
  992. ; http://php.net/pdo-odbc.connection-pooling
    ' S& a. D0 x( [2 X, \. U
  993. ;pdo_odbc.connection_pooling=strict
    8 t# k8 @$ T$ Q6 s1 F& Z0 G

  994. 3 I) Q2 D( J1 f( F. Q
  995. ;pdo_odbc.db2_instance_name
    ' s; `' i  P* W+ O" v( [. e

  996. % [. c9 G$ k1 G3 |( B
  997. [Pdo_mysql]! \% j" e# C# ?  `+ o" ]2 `2 x+ `
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache8 Y2 l$ a: v& w1 J
  999. ; http://php.net/pdo_mysql.cache_size, l3 Z6 D# l. l1 K' f* m6 c
  1000. pdo_mysql.cache_size = 2000
    , j1 ]1 H' [/ Y3 t$ X
  1001. - u0 d; E+ h& j3 l) u6 w
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    / d. X8 m% v5 G4 L1 M
  1003. ; MySQL defaults.
    " G- D4 d6 C/ m" f$ c7 l2 O0 u. P
  1004. ; http://php.net/pdo_mysql.default-socket5 B  f- b5 R* D
  1005. pdo_mysql.default_socket=
    2 j8 K1 v: y8 ~- P; Y% j( h  O" F
  1006. 7 I4 }& y8 B: e! o# S( G8 \
  1007. [Phar]
    & t/ O4 S  j( O# k- Y. c
  1008. ; http://php.net/phar.readonly
    5 ]9 Y/ {4 R; y2 i2 z4 z
  1009. ;phar.readonly = On
    ) ?4 b- L% U' B; S9 H6 ]
  1010.   F8 M2 ?" i  B" ^! J
  1011. ; http://php.net/phar.require-hash: {4 l1 m( G# a# G  t1 p$ G+ P! Q
  1012. ;phar.require_hash = On
      z0 d7 q8 V$ s+ x) W# N3 [
  1013. ; P9 y' b" I0 M. o- s) y
  1014. ;phar.cache_list =
    8 E; J8 J& r+ z# _  S2 j. z/ U
  1015. / t" L. C, H" {" g
  1016. [mail function]3 o( J8 l: i1 _2 J2 W# ?. l+ V
  1017. ; For Win32 only.
    5 s0 a, t& k- w+ M8 l
  1018. ; http://php.net/smtp! g- q, J9 q5 y! B- R! E2 y- P: S
  1019. SMTP = localhost
    % L7 l+ s  p  v8 |3 R2 J: y! x
  1020. ; http://php.net/smtp-port9 P! G- h% v. [" b' m
  1021. smtp_port = 25
    % L- n% m4 N/ e, F6 c( D6 S& k' s8 W

  1022. 4 ~5 `+ J( w/ o! g3 w, Y
  1023. ; For Win32 only.
    2 z* [' a" k+ I7 r3 m
  1024. ; http://php.net/sendmail-from( z: Z' t& C3 {6 d6 @4 a
  1025. ;sendmail_from = me@example.com
      \9 H& c7 U3 l' v9 J3 q' d* Z
  1026. * v# c, M# x! j; Y3 R- P
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").* C7 ?) P" C/ s- ?
  1028. ; http://php.net/sendmail-path
    7 j9 G9 u- x9 y- D* m
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    5 A9 ^- \4 \" z( T8 v  _

  1030. ' j/ ^+ v# J# T' b( X" m
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    $ A6 A3 q+ b+ ~/ g
  1032. ; to the sendmail binary. These parameters will always replace the value of
    6 b3 J+ y, |+ Q; V
  1033. ; the 5th parameter to mail().
    ' C% q1 @9 t. D" y6 O/ s* ^5 Y
  1034. ;mail.force_extra_parameters =  y& c7 V! A+ ?; d. T' w2 Z4 y! g

  1035. . R! s* c) z& d' `
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    , s, ^- w) e0 C0 E+ R5 i, R
  1037. mail.add_x_header = On! a3 V+ i8 p& U7 C7 ?3 V: o
  1038. 6 G8 T8 U% F* K
  1039. ; The path to a log file that will log all mail() calls. Log entries include! B6 u3 H  q* m5 N2 X
  1040. ; the full path of the script, line number, To address and headers.
    ; S% l* n$ q$ X7 o; v6 G
  1041. ;mail.log =
    * h% E4 @1 b, K# b* O7 {% [
  1042. ; Log mail to syslog (Event Log on Windows).* @3 Q- Q( @( j; [
  1043. ;mail.log = syslog* P$ A/ [  x! ?
  1044. , N& o# |" y+ u* D* ?
  1045. [SQL]% F1 ~1 f/ r; w! ?3 d7 ]
  1046. ; http://php.net/sql.safe-mode
    5 A4 R. _/ x4 {" |
  1047. sql.safe_mode = Off
    1 ^) h$ d$ }5 b

  1048. , J5 \9 ^9 F2 f
  1049. [ODBC]8 A5 N7 m" s  \% J
  1050. ; http://php.net/odbc.default-db1 X; n7 {$ v+ @( x
  1051. ;odbc.default_db    =  Not yet implemented6 H# \+ W1 ]2 f6 H5 Q& }
  1052. * i* {( ]6 B6 H/ Q! o. Q- ]
  1053. ; http://php.net/odbc.default-user0 X& b7 c; B/ q2 `- p1 |
  1054. ;odbc.default_user  =  Not yet implemented8 s0 G9 b9 G' ]7 Z  t

  1055. ; K  [# A2 s6 j) V( h" G/ `+ M
  1056. ; http://php.net/odbc.default-pw" T3 d/ N6 v8 f( `2 g9 p1 {
  1057. ;odbc.default_pw    =  Not yet implemented
    ; p4 }* x2 a9 m3 g( S
  1058. ' T1 m1 V9 U4 c5 c4 ]4 Y% s
  1059. ; Controls the ODBC cursor model.
    # T7 r: ^4 R% U" w. y3 I+ q
  1060. ; Default: SQL_CURSOR_STATIC (default).5 K0 C3 K/ T, A& B, W% G" |9 v
  1061. ;odbc.default_cursortype" \& C' F3 Z# L9 j
  1062. 9 g" R* _/ y9 B$ N6 ]
  1063. ; Allow or prevent persistent links.5 W" y5 |/ ^# s# t' m+ [& n
  1064. ; http://php.net/odbc.allow-persistent5 m0 l9 D! l* g4 N7 S5 O' D
  1065. odbc.allow_persistent = On' R# @- D8 [7 E; P
  1066. " X$ q3 O) ]' z. p) D6 t1 n$ O( I
  1067. ; Check that a connection is still valid before reuse.
    ' f# U5 F- J; s( N4 g$ d% ^" A4 Q
  1068. ; http://php.net/odbc.check-persistent
    4 F- K9 }. p) B; g8 ~6 F% o
  1069. odbc.check_persistent = On3 P6 \: h" A7 B2 s
  1070. 1 }4 z- z6 H$ }5 p1 g, d* [7 I
  1071. ; Maximum number of persistent links.  -1 means no limit.2 J+ j& v6 P8 W" Q7 \3 l; Q+ O
  1072. ; http://php.net/odbc.max-persistent+ P$ Q: Q, X" K% l
  1073. odbc.max_persistent = -1
    1 z3 K8 `$ d9 W$ r+ \7 F

  1074. 6 m6 j' p, B0 O
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.+ u+ K$ |* @8 }0 N& N2 ]
  1076. ; http://php.net/odbc.max-links& ^. c5 b! \* x: V
  1077. odbc.max_links = -10 G& \3 s6 k( ~* O2 w6 {

  1078. / k2 a, a7 m& |3 `" N/ |
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means  ~, L) G: E7 ?  o
  1080. ; passthru.
    : K' i3 ?& y- Z7 U8 }
  1081. ; http://php.net/odbc.defaultlrl
    ; M8 X0 {$ h2 C$ G4 X
  1082. odbc.defaultlrl = 4096' d, N7 k9 G, F2 w, z6 o

  1083. 0 h$ O5 p+ G) }9 f* |' m
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.: Q% u7 f: [9 p9 @  [/ o$ p1 A
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    - n$ [) U# e8 |) }6 p! Q+ E, s
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode0 m1 P" N1 c) I8 I4 f
  1087. ; http://php.net/odbc.defaultbinmode
    . D' ^9 L8 I9 m' m: X
  1088. odbc.defaultbinmode = 1
    2 k% c' `8 ?6 r  M  _

  1089. 7 g" K2 A' {& B# z0 O% Y3 w
  1090. ;birdstep.max_links = -1
      R% r# D  k6 V% J/ k( X

  1091. ' f# x4 E' g* N; G  h. \; F
  1092. [Interbase]
    # p/ v6 f% d, f1 O$ o: h; G: }
  1093. ; Allow or prevent persistent links.1 C0 V, a; t% I7 i( X
  1094. ibase.allow_persistent = 1) E$ V) b5 @$ @& ]: n! S: s; V- _

  1095. % W* |! T1 r& X, B. \6 o0 P  o
  1096. ; Maximum number of persistent links.  -1 means no limit.
    . ~: f2 F/ X/ p0 J3 O* @& T0 s, ~
  1097. ibase.max_persistent = -1
    1 c+ P# d8 z4 a4 H; f
  1098. * C& K0 X) ?; U4 Q8 b) f  L. E& J
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
      w* r8 ]) P7 m" N# w8 y
  1100. ibase.max_links = -18 v! C+ s2 n* ]* z( f: ~

  1101. & |" T0 A4 n6 J( S; B5 H! l
  1102. ; Default database name for ibase_connect().
    5 ?; `: G: L  }1 y6 b( k
  1103. ;ibase.default_db =7 Q0 A+ F& Z6 B; B7 t. L

  1104. 4 h. I6 u( T1 F7 _) E7 t
  1105. ; Default username for ibase_connect().$ v2 w2 c8 @- z0 V% f. Q# n
  1106. ;ibase.default_user =
    . F. G7 G( O  T6 R3 C0 y% t

  1107. . V; k' A& q, z. z0 H/ k2 l4 b
  1108. ; Default password for ibase_connect().
    7 a. B- e# k& Y8 |" m( {- U
  1109. ;ibase.default_password =
    ! q/ [! I# V; _' {; Z# E) b2 i: |
  1110. ! Q# M# }+ k) F
  1111. ; Default charset for ibase_connect().0 F0 j% |- j' M' `9 C4 d6 B) v
  1112. ;ibase.default_charset =
    6 P+ z& ]0 b6 g4 {

  1113. " v- f, Q6 P% M3 e0 p
  1114. ; Default timestamp format.
    + p; u" W; y* O* \, ~, ?/ ^
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    $ `( J& _, T0 r+ F+ o: b

  1116. # H# B1 {" a! e7 P* J- H) v/ V
  1117. ; Default date format.$ D+ D6 N( D8 l7 z8 l0 F/ B
  1118. ibase.dateformat = "%Y-%m-%d"* ~2 |6 `* }# g# A: F  q
  1119. 3 ?$ \/ I+ V* \. L0 u
  1120. ; Default time format.
    & ]4 h* Z4 n( i. G
  1121. ibase.timeformat = "%H:%M:%S"
    : O. I/ |' K: v) y
  1122. 1 I1 W, U7 E3 `4 `4 g
  1123. [MySQLi]
    8 R  W, j' N/ S4 M8 Z2 B6 y
  1124. 2 V! m& a1 T1 b9 T" H) q
  1125. ; Maximum number of persistent links.  -1 means no limit.# E" {4 M! ]; b6 P$ M
  1126. ; http://php.net/mysqli.max-persistent2 ?4 A" I3 C3 w8 d- y. U) q
  1127. mysqli.max_persistent = -1% z) n- a# ^5 @$ [1 F7 I
  1128. # C: r( V- n4 ~% a, L8 B  s' }7 H' U
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    2 ?5 E1 X0 F+ i! ^' o7 ]" x
  1130. ; http://php.net/mysqli.allow_local_infile8 A, ?7 ]: H9 x+ U9 B
  1131. ;mysqli.allow_local_infile = On# V4 p7 w# E2 `% ?0 R
  1132. . C  m+ E( E! G
  1133. ; Allow or prevent persistent links.
    : S3 \5 g% L* u  k0 G, Q3 z3 P
  1134. ; http://php.net/mysqli.allow-persistent
    - u# {5 u$ H. `3 k
  1135. mysqli.allow_persistent = On! M" f, r2 d) |% M7 r2 b

  1136. 3 H" T) O. e7 g
  1137. ; Maximum number of links.  -1 means no limit.6 e3 e" N0 u* }
  1138. ; http://php.net/mysqli.max-links* v$ j& V0 c# r( q1 n( k  v- |* U
  1139. mysqli.max_links = -11 @( D) Z( ~$ m; q& a
  1140. * u1 Q8 N& F& i& x* u: E* \. k
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    # ?( h+ X8 h/ `# n5 l* s; }) j
  1142. ; http://php.net/mysqli.cache_size
    : _' n1 {8 R* y  u) ?
  1143. mysqli.cache_size = 2000
    / m( c2 s$ c2 m# Q. ?

  1144. 0 S/ m$ q& Z) S# B6 E
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use# I% C. c- D( f5 O- q; q9 _
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the8 m# F% B0 n6 K' E: x, C1 e. T
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look: V/ K! v( v& R/ Q" h
  1148. ; at MYSQL_PORT.9 m, R; l: h# M
  1149. ; http://php.net/mysqli.default-port3 I( g! Y4 s! x4 w9 R
  1150. mysqli.default_port = 3306
    ( L3 a' [! J, H" ^

  1151. 9 ?6 T7 O( {( @% a6 A0 {5 ~  F
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    " h; c- f  V6 B" Z8 D& R7 k5 N
  1153. ; MySQL defaults.3 I- y' Z* s/ t& B; Z3 c" @. X
  1154. ; http://php.net/mysqli.default-socket
    5 H) N- x: U" s
  1155. mysqli.default_socket =2 s% y: {+ p9 E; c! Y! z; u
  1156. / i; Y- _3 q3 e, a3 n) {
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode)." c1 q' l' }+ h; \& K4 j$ `2 v
  1158. ; http://php.net/mysqli.default-host" s& C+ w: e9 A8 K( g  P% B
  1159. mysqli.default_host =0 }* j0 f3 |/ e+ q2 n5 e

  1160. " M! `- R7 H& {
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).1 A$ e+ g; }1 X! }0 ^7 u
  1162. ; http://php.net/mysqli.default-user
    1 {- ]8 f8 a% a. E/ X3 N
  1163. mysqli.default_user =
    ! V# @- I- ~6 x8 x) y' h  f( x* A
  1164. ( p  W1 x) W- V  m% p5 H+ a
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    3 t/ V. Q$ M. ?% e' e
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.5 O/ X, [7 S# _
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    - x0 C  k! p) f$ d- Q
  1168. ; and reveal this password!  And of course, any users with read access to this
    ; A0 s3 ~5 `2 F6 }" b6 }) `
  1169. ; file will be able to reveal the password as well.
    9 o) L$ u+ y& H! X4 A5 z
  1170. ; http://php.net/mysqli.default-pw
    ! M3 d. i* |) W6 y6 N  `$ O
  1171. mysqli.default_pw =
      |" E& z5 e( d7 {
  1172. % l7 N' @, o4 E, |9 a
  1173. ; Allow or prevent reconnect8 d# g: Q% L, q, a! k
  1174. mysqli.reconnect = Off
    ; `5 k( ~% h" B: D. j
  1175. / u! [( r6 p9 X% l( G
  1176. [mysqlnd]
    . f8 I  k- w* S5 }& k" E. C
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be  F; B, e2 L3 b8 d1 {
  1178. ; used to tune and monitor MySQL operations.+ S8 i5 v( N. Y/ s- w* b
  1179. ; http://php.net/mysqlnd.collect_statistics# c6 r, Z0 T+ L+ ?% ^  b# K
  1180. mysqlnd.collect_statistics = On' }% c$ D+ ]0 g1 V3 m$ a* }& j

  1181. 0 _( n# G7 f- b7 n# H- ]5 a8 q
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be& X. P8 {9 G) f* q! G) f; o
  1183. ; used to tune and monitor MySQL operations.
    4 c/ W+ W8 [' \- d+ Z* P' `( Y
  1184. ; http://php.net/mysqlnd.collect_memory_statistics: v: F& p9 t- w: n
  1185. mysqlnd.collect_memory_statistics = Off
    6 T/ W5 B+ W2 u# z  b& L  K

  1186. & S; ]! C: V) t8 j6 s0 U; u
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    + B6 W8 F3 S& i3 u: C" r. L- q
  1188. ; file.
    5 ~  I1 U( W* y
  1189. ; http://php.net/mysqlnd.debug
    * K4 S% [6 D) L' f
  1190. ;mysqlnd.debug =
    9 ]- D5 }* d8 x* a1 j# w) i
  1191. 9 y7 V) G2 a  k8 n/ a
  1192. ; Defines which queries will be logged.
    % y% f+ l" L  G* G2 P4 Y/ L, u- m
  1193. ; http://php.net/mysqlnd.log_mask6 N* g$ L7 K3 k" x% A
  1194. ;mysqlnd.log_mask = 0
    , R, G5 n: V5 z. ~4 K) s# |

  1195. / v. d% x& N. n6 ~; X$ _
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    , \( j" L! T% h/ D+ g3 h  w
  1197. ; http://php.net/mysqlnd.mempool_default_size+ b/ T% E: G1 r% z4 e
  1198. ;mysqlnd.mempool_default_size = 16000
    6 v0 I$ I6 z# x& x# g
  1199. ) e: E) T8 x- c. _0 v3 k
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    : R- O: W5 z: t6 B
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size! T+ B6 U$ x! s# u
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    2 _" q2 o2 ?1 x6 o$ e: M

  1203. $ {* [- a. a/ q1 \4 S3 O+ H
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in! F- c8 `: Y8 t; @
  1205. ; bytes.
    3 E$ R3 A& T: E7 _
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    4 K% q' w/ D9 h
  1207. ;mysqlnd.net_read_buffer_size = 32768* \: D  I: i! u3 m5 @+ H1 J4 E
  1208. * }- D: v8 h6 w4 ~( k
  1209. ; Timeout for network requests in seconds.4 H6 A/ X# m- R6 m
  1210. ; http://php.net/mysqlnd.net_read_timeout
    $ Q' U: {  p4 R( q1 ]
  1211. ;mysqlnd.net_read_timeout = 31536000
    , S5 c. V: S, G/ s  K

  1212. ! z2 ^: W& l7 ^
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    . K8 ]7 Z* n5 ?1 r/ Y4 _# h
  1214. ; key./ a1 s- r! ]3 u
  1215. ; http://php.net/mysqlnd.sha256_server_public_key4 M- j# ~/ i) {
  1216. ;mysqlnd.sha256_server_public_key =: `4 H: o" m( W+ W! Z; d' V
  1217. 6 J; P9 j. s, W
  1218. [OCI8]
    * m6 L! t1 ~: k7 V% V6 H

  1219. & [) U; |$ o# f  K5 g' i$ T
  1220. ; Connection: Enables privileged connections using external. ]9 j8 N4 }* p
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    ; O, b9 L3 G& `% h
  1222. ; http://php.net/oci8.privileged-connect
    ! W2 M) S! ^7 m# `0 H( O6 _
  1223. ;oci8.privileged_connect = Off
    ) Q7 J& ]5 }' n0 F

  1224. 5 z6 w7 M5 L$ d, \$ \6 k7 i" w
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    ( L% ]9 |1 N3 D4 j. V
  1226. ; process. Using -1 means no limit.) w9 E3 l+ O: G: i/ N
  1227. ; http://php.net/oci8.max-persistent
    " D! Z1 P2 `8 p
  1228. ;oci8.max_persistent = -1
    % c, G! q: Z9 v  o* y5 _  `/ e
  1229. 0 l  O) b8 J* z9 y1 r2 A& s$ c
  1230. ; Connection: The maximum number of seconds a process is allowed to8 b" y" a- c8 v, c- Y
  1231. ; maintain an idle persistent connection. Using -1 means idle+ H( |$ j  {' A) U
  1232. ; persistent connections will be maintained forever.- w/ W4 o0 S' h6 [! I/ K5 b
  1233. ; http://php.net/oci8.persistent-timeout
    ! t$ S/ O2 f& N* K
  1234. ;oci8.persistent_timeout = -1$ M+ n! j$ v; @9 l

  1235. . w4 f7 _2 g& k% v& ]/ P- I- ]  o
  1236. ; Connection: The number of seconds that must pass before issuing a/ G% ^7 ]" \. I
  1237. ; ping during oci_pconnect() to check the connection validity. When
    - B" E3 O# t7 P; y& j, j
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    & E9 \! ~9 ~4 H/ O! E! J$ h
  1239. ; pings completely.
    ' }8 K+ f& f, Y
  1240. ; http://php.net/oci8.ping-interval
    8 ^. J* a% r9 s0 U5 @' y/ M
  1241. ;oci8.ping_interval = 60
    # D8 E2 B5 k- B! y" Y. J5 z7 T% I

  1242. % r! E: [6 l6 A. n7 p/ e, h
  1243. ; Connection: Set this to a user chosen connection class to be used
      q( K0 F0 T; G0 a+ O* z  R
  1244. ; for all pooled server requests with Oracle 11g Database Resident! z$ ?( o' `) ?; }  a" f
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to4 s- Q! T1 a/ t* @- A  X
  1246. ; the same string for all web servers running the same application,9 d4 m1 R% h+ a) c! {; J
  1247. ; the database pool must be configured, and the connection string must
    5 @! B4 ]/ \$ I6 H
  1248. ; specify to use a pooled server.
    : K+ G5 Q9 [- Z& V. {! O) Q
  1249. ;oci8.connection_class =
    4 i9 R. m+ E4 ?

  1250. ! L4 A' J, t9 `+ U' w
  1251. ; High Availability: Using On lets PHP receive Fast Application+ u& j% K/ B/ ?; L6 m
  1252. ; Notification (FAN) events generated when a database node fails. The5 [* L# T) K) @& v% h6 _
  1253. ; database must also be configured to post FAN events.
    5 E$ h6 P3 }. {- k2 U" J! f
  1254. ;oci8.events = Off  \7 p: S( q: t% H. S6 K  I

  1255. 2 ~! w( s0 j+ a) o3 g' H& Q9 Z
  1256. ; Tuning: This option enables statement caching, and specifies how  R( ^" r. r# Z, s
  1257. ; many statements to cache. Using 0 disables statement caching.$ m( }5 P( ?% Z5 N! c3 z3 r
  1258. ; http://php.net/oci8.statement-cache-size
    8 j1 x; {4 [. ~8 N
  1259. ;oci8.statement_cache_size = 204 s8 ?( Q; p  L1 @8 `
  1260. 5 L& Y" [$ u3 ~" O+ i
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    ( h. }" B; x% K9 d; D7 {  @
  1262. ; rows that will be fetched automatically after statement execution.  g, o0 l3 `. R+ Y& T" D# O
  1263. ; http://php.net/oci8.default-prefetch2 U% u7 W2 n# Y) u, b/ A
  1264. ;oci8.default_prefetch = 100
    # x5 Y) |8 P% M$ b1 ^# a! ~2 W
  1265. / n( r$ n9 M8 u0 ]/ G
  1266. ; Compatibility. Using On means oci_close() will not close
      R: w9 w2 b$ \1 {6 E3 I
  1267. ; oci_connect() and oci_new_connect() connections.
    4 P% B) t0 j! |. g- s- Y9 D; _
  1268. ; http://php.net/oci8.old-oci-close-semantics
    9 J$ G$ ~) i8 g( Y4 T/ F8 t
  1269. ;oci8.old_oci_close_semantics = Off
    % W2 ?: k5 V0 O$ }( ]
  1270. 7 k, Y) _- P- h4 {8 e
  1271. [PostgreSQL]# s3 k6 E7 b! J* e$ P
  1272. ; Allow or prevent persistent links.( c+ @; j: Y/ @+ C, v
  1273. ; http://php.net/pgsql.allow-persistent+ q7 f& }: c' A  Y4 g0 |
  1274. pgsql.allow_persistent = On
    - n, m) O6 b3 l$ ]
  1275. . o) ^8 E: I7 B" C) }9 G4 Z( R; k
  1276. ; Detect broken persistent links always with pg_pconnect().2 v1 l! x2 W3 f+ I/ m3 A7 ]
  1277. ; Auto reset feature requires a little overheads.
    2 j; w9 I6 I2 m4 `
  1278. ; http://php.net/pgsql.auto-reset-persistent
    ! \  Z4 P- y+ p' A3 g3 ]
  1279. pgsql.auto_reset_persistent = Off
    # N; n! i4 U7 R: Q: }7 [2 r7 f

  1280. + B. n6 [8 T$ O, n
  1281. ; Maximum number of persistent links.  -1 means no limit.+ s% p6 V8 q' X
  1282. ; http://php.net/pgsql.max-persistent
    " p4 M+ W  `- a+ K$ V9 R
  1283. pgsql.max_persistent = -13 a" m1 o. S: g. d% w
  1284. ! X: V+ ]! x# M7 D' S5 @
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    " k! E8 }# I/ p. |
  1286. ; http://php.net/pgsql.max-links
    - e  i9 x3 X$ H" _% U
  1287. pgsql.max_links = -14 N  d7 Z3 q; t! k+ |
  1288. % j# Q) J  W3 J0 m* e( E
  1289. ; Ignore PostgreSQL backends Notice message or not.
    * W1 z/ y& _; `+ H) I1 ]; E
  1290. ; Notice message logging require a little overheads.
    , v9 u2 r1 ^2 |3 F: j& u0 u2 v6 [  C
  1291. ; http://php.net/pgsql.ignore-notice7 r2 g6 b* k/ P) O! {7 _
  1292. pgsql.ignore_notice = 0- `8 S5 y9 Y9 X' G. \  O

  1293. $ q7 H4 M! P3 H  V+ D; d
  1294. ; Log PostgreSQL backends Notice message or not.6 H! n* s* c, J( |& k: ~& P
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    # O, P5 q- ?9 o! Y
  1296. ; http://php.net/pgsql.log-notice
    * d! w; P; f. h& \
  1297. pgsql.log_notice = 0
    ) D- A. T# |3 R( j) V; a

  1298. . y& {3 {! ?* h8 `: w/ l' [
  1299. [bcmath]* q% |6 q0 w: m. a+ J9 m1 F
  1300. ; Number of decimal digits for all bcmath functions.
    9 {3 L' K- T7 Q/ D$ R; H
  1301. ; http://php.net/bcmath.scale% t; O( D" Z2 |+ Y  g# Y0 J
  1302. bcmath.scale = 0+ O1 G& k/ }" y4 |

  1303. ( s& a2 Z7 \/ E+ U  x/ H" `$ A
  1304. [browscap]
    ! O. o! j: ?9 w4 s" F( o
  1305. ; http://php.net/browscap
    " D. _6 y5 ~- L
  1306. ;browscap = extra/browscap.ini3 X4 I; }3 m7 p$ R& _) {) l
  1307. $ r& ~7 f# ]4 j8 u' T! u8 P
  1308. [Session]  A2 R- g, }* i3 ?5 Y" e
  1309. ; Handler used to store/retrieve data.
    . |3 I$ x  {, T/ ~
  1310. ; http://php.net/session.save-handler! D$ i+ d+ {. x5 T& ]5 o
  1311. session.save_handler = files7 c7 d6 a( g/ e# W9 f" l4 P
  1312. 5 t8 Q- G* ^" T6 o2 x) Y
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    : n3 h6 c3 y4 q4 t) L
  1314. ; where data files are stored. Note: Windows users have to change this
    5 |4 o7 `3 |7 u, O  v) |. v
  1315. ; variable in order to use PHP's session functions.5 c' j" ^3 R3 Q9 W4 f; M
  1316. ;
    : K8 v  _* ?) W" a" h# I. y" q! U: C
  1317. ; The path can be defined as:
    5 \( [$ M- f6 A& n
  1318. ;4 p0 ~( Z1 K2 h( A: R: Q6 R3 B
  1319. ;     session.save_path = "N;/path"
    / B) L# ^7 A5 o
  1320. ;" L3 \8 O  [& }9 M* D
  1321. ; where N is an integer.  Instead of storing all the session files in$ u7 U& g! o2 L+ v0 U% r! t- R, @
  1322. ; /path, what this will do is use subdirectories N-levels deep, and/ d. j+ o4 D" ]
  1323. ; store the session data in those directories.  This is useful if( `) {! I6 b. Z) b9 d# x
  1324. ; your OS has problems with many files in one directory, and is
    $ q  }  p' _. w0 Q
  1325. ; a more efficient layout for servers that handle many sessions.4 I( z( a3 G  ?- ^0 U: b7 D
  1326. ;
    * |$ n/ h  N7 s* t. V" i$ m: Z
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    & e6 u" ~' Y3 S# G' @7 s
  1328. ;         You can use the script in the ext/session dir for that purpose.8 M' O- Z' u+ ^( L
  1329. ; NOTE 2: See the section on garbage collection below if you choose to" H$ F# A) E8 D
  1330. ;         use subdirectories for session storage
    3 G3 q% x+ g. Z5 O' w
  1331. ;
    $ A6 w# P* q5 b% r
  1332. ; The file storage module creates files using mode 600 by default.
    " n. C1 h& t$ C. E0 c' ], B
  1333. ; You can change that by using
    + x2 H( m, a) ]' `0 i
  1334. ;/ y& c$ d1 s) h# j
  1335. ;     session.save_path = "N;MODE;/path"4 ^# P6 }9 @8 }; U( t0 p; M
  1336. ;
    3 O9 g5 ~$ X1 H& l# d
  1337. ; where MODE is the octal representation of the mode. Note that this# c9 z# j& ?9 u
  1338. ; does not overwrite the process's umask.0 s8 ~, u! a& Q2 V
  1339. ; http://php.net/session.save-path$ O) C4 |* a  p  e* H
  1340. ;session.save_path = "/tmp"* J3 m* P  U! ]4 `

  1341. 9 T& Z% v$ E; e
  1342. ; Whether to use strict session mode.+ ]" n. O. V3 E9 f  K" b9 h
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate( K+ `$ L& M5 m. o% Q6 T
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects; p/ o  i& T* p
  1345. ; applications from session fixation via session adoption vulnerability. It is0 f. k2 S  \$ ^3 T2 j* h: U
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    . q8 g! r  K0 W* w0 G
  1347. ; https://wiki.php.net/rfc/strict_sessions' W, i; C' `6 O6 l5 ?6 l
  1348. session.use_strict_mode = 0% r. `2 M5 G% I1 y
  1349. ( f8 O' B" j3 T- u. s
  1350. ; Whether to use cookies.
    2 q9 \  U1 J* W, p$ Q2 r
  1351. ; http://php.net/session.use-cookies; r/ g$ g" |- n/ H0 C/ S9 @
  1352. session.use_cookies = 1- p2 s& q8 p$ z' l' a0 P4 k* N
  1353. . ^3 D0 b* K5 k' \
  1354. ; http://php.net/session.cookie-secure
    7 Y( S. ?9 _% \9 ^6 F" }% J
  1355. ;session.cookie_secure =# J; R( f5 V! A% ?" y8 Z
  1356. 7 D" q% i2 T5 `* x
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining4 i* M) g* V, g; V; N" B
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    6 g. a6 [4 `3 X6 Y5 z7 d0 J
  1359. ; session hijacking when not specifying and managing your own session id. It is
    1 b  m5 i1 Q0 ^5 u  T; {" K" E
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.7 }# K2 U7 b* z! b
  1361. ; http://php.net/session.use-only-cookies+ Y/ \- U/ d, Y1 x- s6 V% G
  1362. session.use_only_cookies = 1- n- r6 N, {+ y1 l" i8 T9 o
  1363. $ o; ~/ x9 M; @" s
  1364. ; Name of the session (used as cookie name).: U4 o1 ~" q* w7 e% C
  1365. ; http://php.net/session.name5 g! ~8 g1 }* g! d
  1366. session.name = PHPSESSID7 j" J% A& `6 P2 e

  1367. 3 T: i) R' i9 e- Y. y. B
  1368. ; Initialize session on request startup.! d/ t* Z2 Z, x" t; Q4 D1 x
  1369. ; http://php.net/session.auto-start
    , R  s, C  u8 G3 g% Q# W8 W
  1370. session.auto_start = 0# x1 {( X# m) m! }( G, w8 W2 v
  1371. % V: Z* T7 I# B+ o. `- v
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    ' X2 w% K4 i+ s/ u, h6 d. }3 g. e
  1373. ; http://php.net/session.cookie-lifetime
    2 g' F# [3 L. x4 `1 K
  1374. session.cookie_lifetime = 0& c# v  B( W+ @' j/ M" z- k" b

  1375. ) r4 ^7 {" d4 N  a: z3 V, K
  1376. ; The path for which the cookie is valid.& j/ u. @+ Y( z: V) z
  1377. ; http://php.net/session.cookie-path
    " T! N6 T- |/ t  F2 E- Q( H6 b
  1378. session.cookie_path = /0 Q* n, V( A/ H' ?% b( Z# Q: [

  1379. ! N) Y$ m$ _# u0 M  `5 t
  1380. ; The domain for which the cookie is valid.
    0 q0 Q0 K% b7 x/ a: `( Q0 S: }
  1381. ; http://php.net/session.cookie-domain
    7 I" x& ^! s$ H; A6 @
  1382. session.cookie_domain =
    6 y. R' \+ ]5 q5 p2 s- S
  1383. 5 m  S3 Z* ^9 O- u2 X- B
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    6 m% t# q( Q% l$ h$ U' A# A7 B0 r
  1385. ; http://php.net/session.cookie-httponly
    - f+ t( m. \% Y3 x, q8 H
  1386. session.cookie_httponly =
    / I* K) ^' o; O, u0 f0 i' B: @- w

  1387. ! a$ i  A& D9 S% H  T
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.4 ~1 Z8 r: y: x( m
  1389. ; http://php.net/session.serialize-handler! P3 B$ _0 X' b8 J0 [
  1390. session.serialize_handler = php
    * `* t6 t# p& F! }) h2 }$ @

  1391. # }9 i* n8 K3 V5 F* b* L; L
  1392. ; Defines the probability that the 'garbage collection' process is started7 L$ v* }4 _8 i9 s& u, N
  1393. ; on every session initialization. The probability is calculated by using
    9 }6 |* k8 n; J) L, l
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator' [! D8 M5 t  ^7 z8 }$ {* i7 f
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1" m) o- y. d; q- O7 a5 W6 m' B
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
      }9 t) v, h: V
  1397. ; the gc will run on any give request.
    1 H; \7 ], d' y# [. R* _6 E% f
  1398. ; Default Value: 1
    ) m+ \) o, E# D
  1399. ; Development Value: 1
    ! w6 d4 u: G6 B- z4 t! ]9 e
  1400. ; Production Value: 1
    ! C7 z6 A* p4 f" }, E
  1401. ; http://php.net/session.gc-probability( `/ g6 m% ^( N* W# s
  1402. session.gc_probability = 1. t& F% p. [$ ]7 Z5 j. Z

  1403. 5 ?0 n5 u# X& ?7 _. d
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    7 W1 P1 G1 E8 C! }( h- `( G/ e5 k
  1405. ; session initialization. The probability is calculated by using the following equation:/ ?( J2 S) ?1 U0 v1 H3 R+ }% }7 H
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    5 D1 o4 }  E. w+ I7 O% P
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    ' n- h9 ~/ ?  q, M- e1 i
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    & F( s& h) k5 d
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    / I6 d+ }+ J6 |/ b8 K# I
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    ) e$ C- W; y0 O4 {
  1411. ; this is a more efficient approach.
    : g2 z1 F. C3 u$ n- f1 ~, R
  1412. ; Default Value: 100
    ; ]! l: t: G1 K6 Q5 k( _7 s
  1413. ; Development Value: 1000
    ; N3 u1 M# R7 B
  1414. ; Production Value: 1000+ H$ C- M8 O* X0 s( \  k2 W4 r2 c; w
  1415. ; http://php.net/session.gc-divisor
    ( F1 u% {, O" B' D* k
  1416. session.gc_divisor = 1000
    ! L/ C( U! B1 d0 X/ P3 T

  1417. - ~; }; o& W' V
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and0 Q: p( F# c5 t6 c6 a; U5 {" E
  1419. ; cleaned up by the garbage collection process.
    * V3 F; e2 y5 ~  O( K/ j
  1420. ; http://php.net/session.gc-maxlifetime
    ; y: d9 P6 s, U3 x) n1 T( \( b
  1421. session.gc_maxlifetime = 1440
    * S( ?7 T7 v5 n+ }0 P" J2 l

  1422. 5 _6 i5 C0 f! Y
  1423. ; NOTE: If you are using the subdirectory option for storing session files+ g0 E( W4 A" N3 d
  1424. ;       (see session.save_path above), then garbage collection does *not*
    5 |1 |  K2 @! b$ K& h
  1425. ;       happen automatically.  You will need to do your own garbage
    9 F  E( t$ ^# _: {2 f
  1426. ;       collection through a shell script, cron entry, or some other method.9 `# T- B' Q& \) a  t
  1427. ;       For example, the following script would is the equivalent of
    0 P: {1 D$ x+ @3 ~3 |/ ?& q; ^
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    " }3 k! i2 }% n9 d" N
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    0 ^4 Y+ x, G  I5 }5 w
  1430. / s# Z% e' Q7 e# q2 x
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.5 i: i6 G: U* a4 B
  1432. ; HTTP_REFERER has to contain this substring for the session to be. ]; j5 [, a8 v- m" Q% _% f
  1433. ; considered as valid.
    " O0 \' N. x$ _- v* k, Z+ d) f
  1434. ; http://php.net/session.referer-check
    + @  o/ ]  I1 w$ g
  1435. session.referer_check =( t; c* f0 M5 b# i
  1436. # I3 K3 F7 }* T2 {* S
  1437. ; How many bytes to read from the file.# n1 d: r7 P5 b  g! j7 e' B
  1438. ; http://php.net/session.entropy-length
    # t) i. h5 A7 {. L* x* O+ P
  1439. ;session.entropy_length = 32& b3 h$ c8 i: ~4 J4 b
  1440. / Z& j3 V+ L4 [) Y: R* ^# @* D8 h
  1441. ; Specified here to create the session id.
    1 l- \4 r8 W8 s3 }! x
  1442. ; http://php.net/session.entropy-file# Q7 f$ c7 u9 y( b9 b4 ~
  1443. ; Defaults to /dev/urandom- a' \3 n+ _: E6 V6 M7 a
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom! P% Q8 A3 v, r) j6 X8 l; a9 ~, s
  1445. ; If neither are found at compile time, the default is no entropy file.
    1 Y/ g7 ~, P7 R, {7 S" b2 ]! Z, _. R
  1446. ; On windows, setting the entropy_length setting will activate the
    + a, G( {2 C. [
  1447. ; Windows random source (using the CryptoAPI)
    $ @8 }5 e: s& j& v3 i' Y
  1448. ;session.entropy_file = /dev/urandom3 K9 s- o+ t$ G6 z; q. f

  1449.   D* x$ r, K, o7 p# T3 O
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    % o" d! H  k' a" i- }& q2 n
  1451. ; or leave this empty to avoid sending anti-caching headers.  I# d; K8 n# \: t
  1452. ; http://php.net/session.cache-limiter" ^$ ~* w* C' N4 _5 i0 |& H  E! s# _! e
  1453. session.cache_limiter = nocache1 \. {* \3 m7 E

  1454. - g2 c2 T( _+ J& Y/ e
  1455. ; Document expires after n minutes.1 ^4 @) p8 p& ]; q0 u( y1 u/ [9 x
  1456. ; http://php.net/session.cache-expire
    , o: k5 Q6 U# L4 ?
  1457. session.cache_expire = 180
    / _- S3 q$ X& S; p% ?9 v

  1458. # x, h8 \0 w. w7 s' l- m' I+ v
  1459. ; trans sid support is disabled by default.
    " x4 u, [1 o. |
  1460. ; Use of trans sid may risk your users' security.' |  i6 S' K# C( I
  1461. ; Use this option with caution.; ~1 ^& s: {$ {6 f/ J% k& Q6 H; p
  1462. ; - User may send URL contains active session ID
    2 F9 i6 R, }5 S% S7 n/ b
  1463. ;   to other person via. email/irc/etc.
    / s. V, X3 g7 p2 l1 `, }+ h
  1464. ; - URL that contains active session ID may be stored
    , c: F7 [) a8 u, \5 ^
  1465. ;   in publicly accessible computer.
    ; E& O% u; N7 u: \' w: \; x) r
  1466. ; - User may access your site with the same session ID, |" D8 u/ @& @/ Z; N
  1467. ;   always using URL stored in browser's history or bookmarks.# B$ {- U0 _' a2 _1 A+ \& I
  1468. ; http://php.net/session.use-trans-sid* R9 D+ t, M9 {' I" Y( i
  1469. session.use_trans_sid = 0
    ; O$ z" K1 M8 h: m0 {  `
  1470. 1 q" V5 B& a  U' Z, `! f* \4 c
  1471. ; Select a hash function for use in generating session ids.
      q1 j) k+ F/ j4 n: z% P: g
  1472. ; Possible Values! T0 Y- h- {+ M. W) p0 Y. u7 H
  1473. ;   0  (MD5 128 bits)- t, ^. M3 E2 u$ i6 p$ k; G5 e8 y
  1474. ;   1  (SHA-1 160 bits)3 ]5 D2 m/ I1 ]/ Y
  1475. ; This option may also be set to the name of any hash function supported by- N' v. C. X) t7 H9 U. {
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()- e" \( Q" E( o+ H
  1477. ; function.
    7 @) ~' j3 u# K5 v3 c/ ^& }
  1478. ; http://php.net/session.hash-function0 [3 |0 s+ j5 F$ x
  1479. session.hash_function = 0$ B& Z2 `  T6 G7 U7 N4 B+ [
  1480. - Q* {. R) \( j, s, |0 n
  1481. ; Define how many bits are stored in each character when converting
    , \& F. ^8 O2 S9 t2 U
  1482. ; the binary hash data to something readable." ^) l3 [+ l5 V6 d: b$ O' O
  1483. ; Possible values:
    " i3 L& ?; V0 E
  1484. ;   4  (4 bits: 0-9, a-f)6 a0 T' Q1 [. F+ ~( L/ ?2 Z
  1485. ;   5  (5 bits: 0-9, a-v)
    " I3 u( n+ Z6 a* B
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")3 X0 j3 C! ~( F" H" A3 z
  1487. ; Default Value: 47 N- v; l) v' J1 I
  1488. ; Development Value: 5- I1 l  v) j( z4 a4 n1 E& w2 L
  1489. ; Production Value: 5
    2 j5 x2 L7 f( Q, E
  1490. ; http://php.net/session.hash-bits-per-character4 T  g; X7 ^/ v1 {$ k5 e. n
  1491. session.hash_bits_per_character = 5$ v" h) f0 a& n+ A3 m
  1492. 5 B+ y. t/ P8 @  l
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    ) O8 K; S' @4 q# W
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    / o; v/ u) ~- I( f# n. u6 g3 W9 ^
  1495. ; add a hidden <input> field with the info which is otherwise appended9 \& u% }# g3 z) k6 S
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.- `$ {( f$ F% G) n8 o' @
  1497. ; Note that all valid entries require a "=", even if no value follows.9 a) O4 y# {# g% b5 _$ p
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset=": |* s0 e3 j8 L# C
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"0 ?7 t( B6 W# d8 k- i8 V
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"- N# L6 w8 C! m/ P; H$ _+ Z
  1501. ; http://php.net/url-rewriter.tags( Z. _0 v6 Q5 e$ b2 y+ R3 l+ M
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"! x2 u, u8 N4 @! Q, z  X& p  V
  1503. ! N  ]3 i& K2 d. b! V) y, b
  1504. ; Enable upload progress tracking in $_SESSION" ~; H$ a  k  q7 n" H9 c
  1505. ; Default Value: On
    ) \* D3 {. t2 F3 z. n( w9 D. N5 H
  1506. ; Development Value: On
    1 A6 l# v6 v6 L" c6 p9 }# b
  1507. ; Production Value: On
    & V9 `& H; }5 ?) d' ]" u4 L, g) ^
  1508. ; http://php.net/session.upload-progress.enabled  V& G; ]% P' ]* ~  b9 R
  1509. ;session.upload_progress.enabled = On; l5 L. R8 M) W8 c8 d/ U; P
  1510. 4 i( Y  k! a- x- s0 V% p, @) p
  1511. ; Cleanup the progress information as soon as all POST data has been read
    0 M3 d/ b' x0 b9 Q$ O) Y  t) E
  1512. ; (i.e. upload completed).# E7 R( e) x, Q/ d! l
  1513. ; Default Value: On* u" J* \# a; P1 d: m* r  |
  1514. ; Development Value: On
    / R0 L5 ?5 r2 M! B5 D
  1515. ; Production Value: On
    7 N. p& p4 S1 E+ [
  1516. ; http://php.net/session.upload-progress.cleanup5 @9 @5 ?. b) p( N! D1 g
  1517. ;session.upload_progress.cleanup = On
    % q0 Y) K! w9 z5 U) F% v
  1518. ) ?' i% V2 n4 Z0 j9 d" `
  1519. ; A prefix used for the upload progress key in $_SESSION) p' e+ x" l8 F
  1520. ; Default Value: "upload_progress_"/ v  u8 o7 j  O8 s3 S" d$ ?; \
  1521. ; Development Value: "upload_progress_"
    . h" _* E3 A  @% Z+ w. X% H7 g
  1522. ; Production Value: "upload_progress_"
    2 X# X7 `5 d" K
  1523. ; http://php.net/session.upload-progress.prefix
    * r4 n3 M" |5 ?7 I; S  _3 y+ _
  1524. ;session.upload_progress.prefix = "upload_progress_"5 m, `# o+ W% R( _3 ]4 G( _

  1525. & }1 F9 b( j# L& Y* B% ^
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    ; l0 s. [% X! |4 v
  1527. ; containing the upload progress information
    / ?$ w/ J0 X1 P# b& s$ c
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"0 ?2 x3 [8 `; K* T  J
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"% ?* i8 e/ l; }  q( G8 m9 R
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"- }1 Q* W1 q6 o: _" }
  1531. ; http://php.net/session.upload-progress.name
    3 e; _5 T2 X% v" q
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    ( \& g1 e% J$ `3 e0 E

  1533. # n; s0 K8 L0 m9 f- `
  1534. ; How frequently the upload progress should be updated.
    " P1 E9 x- r# M8 n* W
  1535. ; Given either in percentages (per-file), or in bytes
    ) J) q9 l$ R: K- C- ^+ O0 q
  1536. ; Default Value: "1%"% _0 H2 w+ [, p; T- k/ M* t7 A
  1537. ; Development Value: "1%"2 D0 ~: K7 n& C1 T/ E- H! _
  1538. ; Production Value: "1%"6 E7 B) l  [8 g3 ~& }- h8 S
  1539. ; http://php.net/session.upload-progress.freq
    / J2 C0 F4 \5 ?6 s
  1540. ;session.upload_progress.freq =  "1%"
    : B0 z2 q# D9 q% z3 a2 I/ q3 f. }/ [

  1541. + A" p% [% I9 h/ `) Y
  1542. ; The minimum delay between updates, in seconds- H8 [- N, @+ y) ^, P% H" P0 J
  1543. ; Default Value: 1  i" S2 m, ~+ T% S5 W6 U
  1544. ; Development Value: 1- G. w  r) F, f) e
  1545. ; Production Value: 1
    5 S: _! s& }' r. B/ S; C
  1546. ; http://php.net/session.upload-progress.min-freq
    , @6 k  S, B* d0 \/ s& B# Z7 M8 G
  1547. ;session.upload_progress.min_freq = "1"
    5 w1 K1 |, u% ]* y  {& S; z/ s
  1548.   F8 X" e$ ]% T6 u' W' X! @
  1549. ; Only write session data when session data is changed. Enabled by default.
      h+ M  j) E4 x% x2 \
  1550. ; http://php.net/session.lazy-write$ P, L# f- Q8 b% |
  1551. ;session.lazy_write = On
    2 E( E4 o+ ]1 R; W3 t
  1552. ) `2 L* A  E; z8 T$ e6 R3 C7 \
  1553. [Assertion]8 K: Y9 {. n; T+ \% q
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)! _5 P  `" B( G9 a& {
  1555. ; -1: Do not compile at all; x0 U0 `$ \7 |
  1556. ;  0: Jump over assertion at run-time
    * B9 a0 D6 ?. Y! f- e8 B  l4 N
  1557. ;  1: Execute assertions8 s+ \% m, _. \
  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)
    3 |2 f8 g9 d" c' b, G& h
  1559. ; Default Value: 1$ t: Y- k& [+ l* \, S# O+ P
  1560. ; Development Value: 1, T/ ~7 A- ~8 D3 m# d4 z
  1561. ; Production Value: -1
    ' Q" K  _& q6 T+ F
  1562. ; http://php.net/zend.assertions1 T( V+ j# r* B
  1563. zend.assertions = -1) B( q9 E" `' [0 _, E4 G! j

  1564. 6 H4 m1 ?$ @; s: g5 ~6 w) h- v0 x5 S
  1565. ; Assert(expr); active by default.
    9 s& v& T+ T* M$ U# X/ H
  1566. ; http://php.net/assert.active
    4 ?5 Y: ^- _) F* q7 T" ]
  1567. ;assert.active = On
    $ W9 l7 f/ K& Y4 E- @0 E

  1568. + m3 ^0 g6 w  n2 O3 k. o
  1569. ; Throw an AssertationException on failed assertions/ {  L' D, X+ w( ~7 g) b+ V
  1570. ; http://php.net/assert.exception* m. F$ H' a  I. @; C
  1571. ;assert.exception = On
    0 E3 Q+ p9 B/ z5 B; r( D. }
  1572. 4 w. k4 n( \7 D! H4 o' b5 x; |
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)- R* j% @! i6 G, C
  1574. ; http://php.net/assert.warning5 b0 u1 q7 h7 V2 J) U' w# a" y
  1575. ;assert.warning = On
    ) h2 ^5 Q6 W8 b* U9 i% B9 y- m
  1576. ) I5 s9 x1 r* @7 N: ^; B( e- {
  1577. ; Don't bail out by default.
    ) Q: K( u/ ?- o9 K
  1578. ; http://php.net/assert.bail
    : ~8 p) r" t: `( m4 H* w0 A
  1579. ;assert.bail = Off
    1 N, ^* K/ T! j/ v: l$ i8 K
  1580. . s1 f/ {' z6 K4 O
  1581. ; User-function to be called if an assertion fails.
    * c2 O: Y# }* E9 O
  1582. ; http://php.net/assert.callback: R$ T! x0 p, s9 }. e  e$ h
  1583. ;assert.callback = 0
    ! q" c% g7 [, e% x& {5 f" K

  1584. 2 w" [! a/ Z6 n/ U# P
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    - V5 }! Z$ X; w5 C' M
  1586. ; error_reporting(0) around the eval().+ \3 k% ]) I7 Q! K; w6 Y- T
  1587. ; http://php.net/assert.quiet-eval% a# @0 Z; V! O5 }( z; C  T
  1588. ;assert.quiet_eval = 0
    9 y3 O0 i7 n, e$ i! A! g

  1589. . ?; T: C" f+ m) C# ^6 E
  1590. [COM]4 a. e. y7 b/ c# ?5 q0 k
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs# Y! i$ e& j7 f5 d2 o
  1592. ; http://php.net/com.typelib-file
    . Z6 j, ?  m- D' v% M& `! Y- x: I) |
  1593. ;com.typelib_file =
    . e& _5 V; T" |

  1594. + Q+ k, _3 Q9 O
  1595. ; allow Distributed-COM calls
    ) G* A* Q- J7 I7 L
  1596. ; http://php.net/com.allow-dcom
    2 W& x- A3 \( C" r$ `
  1597. ;com.allow_dcom = true
    ! B* b( W9 k* y7 ?* ~
  1598. ' O4 J- ~2 a; C! R
  1599. ; autoregister constants of a components typlib on com_load()5 n: v- f: k! \+ K) u/ o
  1600. ; http://php.net/com.autoregister-typelib* E+ q# V+ g: Y7 ]2 ~0 K  F
  1601. ;com.autoregister_typelib = true9 i) q, P7 c& U4 T: C, Y) P

  1602. 4 X. r+ a. f% ^- V8 L! y6 c0 o
  1603. ; register constants casesensitive
    , t8 @2 P9 a' F5 d
  1604. ; http://php.net/com.autoregister-casesensitive4 O% n7 b+ [$ _& q5 b
  1605. ;com.autoregister_casesensitive = false
    0 H- m3 J' H$ Q* y. Q" ^+ P+ o" u

  1606. 5 ?, J! [+ j5 c4 F
  1607. ; show warnings on duplicate constant registrations
    7 J/ L. t1 U8 Z: H' b5 A( I
  1608. ; http://php.net/com.autoregister-verbose
    ) G6 K) p; k, d: j" S- Q( L
  1609. ;com.autoregister_verbose = true
    ) e. v; J" ^; H7 }( m
  1610. ) [4 O4 f1 ~- E5 o1 o" \
  1611. ; The default character set code-page to use when passing strings to and from COM objects.7 ^6 M+ R" h! K0 s. M3 m; ]
  1612. ; Default: system ANSI code page
    , Z( H  B6 }* R- B4 l1 Y/ M
  1613. ;com.code_page=
    # G9 M( b2 L+ l
  1614. & `/ i8 z; X, ]& X3 @, o1 t0 w
  1615. [mbstring]7 n" F/ d" @  P' l
  1616. ; language for internal character representation.
    $ s1 t1 e! S) r( B
  1617. ; This affects mb_send_mail() and mbstring.detect_order.0 q6 ^" y0 U/ ]+ o, L1 _9 s& {
  1618. ; http://php.net/mbstring.language4 w1 \# Z$ x: \7 I; E
  1619. ;mbstring.language = Japanese
    6 O2 f: g0 `/ ^# C/ [2 ?

  1620. 1 H( ~1 N8 ^2 [- ^2 ^( [5 @/ q2 E  }" z
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.( }# [- Q6 J5 `! N. w0 L
  1622. ; internal/script encoding.
    . h, B. z$ w0 E4 x) y$ g  ?% n
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    7 H2 `% O& @" j' \4 ], ^
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    1 K# g4 w' ~6 ^
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding7 m) ^: I" _8 T, v; l
  1626. ;mbstring.internal_encoding =
    " b5 Q# h3 T: Q0 B5 G9 Y

  1627. 9 `: {0 K- u" K3 ^: j4 l4 D! x
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
      N8 o2 ]% I6 i0 z* i8 p
  1629. ; http input encoding.( K9 o& d! _7 E& B
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    ; I. \$ g+ f1 ?
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.  P- H& p% w/ K) ~1 M
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input; J* l: e6 E$ w4 S3 s
  1633. ; http://php.net/mbstring.http-input
    * e! A  o, S; X. ^. p/ N2 U  Q
  1634. ;mbstring.http_input =. w) y, ^# y7 {& m# m* `
  1635. # n+ D3 f$ V  Z# n
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.9 `6 Q1 \9 [- h# U. x5 e& O
  1637. ; http output encoding., w9 u2 N1 y8 j& [- R' d
  1638. ; mb_output_handler must be registered as output buffer to function.% Z: ~- @0 V9 X6 c1 l
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    " F* m1 N+ ^# C5 {* |3 P% h
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    + y  `1 ^1 t( n5 F, |) z
  1641. ; To use an output encoding conversion, mbstring's output handler must be set) f0 o7 r1 e, M6 K3 F( p/ N
  1642. ; otherwise output encoding conversion cannot be performed.
    & C! q: O- Y% l1 w6 x
  1643. ; http://php.net/mbstring.http-output
    3 Q/ j( l1 T4 w; g4 I/ \
  1644. ;mbstring.http_output =
    ( D7 S9 z2 @) J  g" F! \5 }/ P

  1645.   n5 ?* ]; W6 x4 v: z4 _/ ]& s
  1646. ; enable automatic encoding translation according to
    * E& c1 O) l6 d9 b5 D
  1647. ; mbstring.internal_encoding setting. Input chars are
    * P" I8 u8 c- t# _' o! q+ z0 `
  1648. ; converted to internal encoding by setting this to On.
    7 ?! T8 A6 w" c4 f/ X+ |
  1649. ; Note: Do _not_ use automatic encoding translation for/ ~8 L5 b8 w7 G; j9 b3 ?
  1650. ;       portable libs/applications., m3 x9 I9 p" q1 c
  1651. ; http://php.net/mbstring.encoding-translation
    ; G& {3 ~1 n: l4 B
  1652. ;mbstring.encoding_translation = Off
    # J9 J' C& }0 O# l
  1653. 9 @3 J( [% r7 \; \' P
  1654. ; automatic encoding detection order.! g2 r$ v6 U0 b% T2 c, C5 L( M& t) d
  1655. ; "auto" detect order is changed according to mbstring.language$ k5 I1 t8 p' g- \
  1656. ; http://php.net/mbstring.detect-order; M2 m0 n& `, b2 S. D! _" C1 }
  1657. ;mbstring.detect_order = auto. t9 Z1 _6 H/ h

  1658. 6 a1 E! x9 Z- n; j" I/ S
  1659. ; substitute_character used when character cannot be converted
      j" p% ]6 E( ?3 R  M2 t
  1660. ; one from another
    4 Q. K* }6 F+ T; r# Q
  1661. ; http://php.net/mbstring.substitute-character
    ( W  B" l$ _6 @% l! @* d- H, [- P, ]
  1662. ;mbstring.substitute_character = none
    & j( q; u8 j. E8 Y4 Y% W* W3 y1 Q
  1663. + K( {4 q* ?( K' r
  1664. ; overload(replace) single byte functions by mbstring functions.' o# L- s/ x! A
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),3 g, F, @/ g" g  W8 U1 L  ]7 w' I0 f
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.8 k  N$ i- m9 P+ m# O
  1667. ; For example, 7 for overload everything.1 v6 m% T" A' H/ F& M
  1668. ; 0: No overload
    : h4 @& w$ `0 X% p; O4 [
  1669. ; 1: Overload mail() function  S  ]2 }* q. n4 p/ e) f
  1670. ; 2: Overload str*() functions
    $ z8 ]3 x3 ?- S
  1671. ; 4: Overload ereg*() functions
    ' ~7 L6 R/ [/ J! G, T" a
  1672. ; http://php.net/mbstring.func-overload
    " u( A3 T, [; B% b" E2 M
  1673. ;mbstring.func_overload = 0
    9 e/ V, U( W7 h6 [+ k1 Q" Q; ~
  1674. * q; t. V1 D/ F% L; {! W! d
  1675. ; enable strict encoding detection.5 f- |  |) z! W; p8 _3 m+ E% a
  1676. ; Default: Off: o2 M' D, U: M2 v+ C
  1677. ;mbstring.strict_detection = On
    % _  Y: ?  W& E' D* d3 k2 V
  1678. 7 i9 m/ V) i: j  L7 J6 T$ I. ?
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()1 y! {) e4 q$ B9 R- M- R
  1680. ; is activated.
    % J7 o) ~' z( P* G7 O+ R, L
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)& M" S0 D4 ?/ Q# t
  1682. ;mbstring.http_output_conv_mimetype=- p6 d  I. F+ M; A# v' D6 G, K
  1683. ) f; b  ?* E1 h5 r7 m' H
  1684. [gd]
    6 L/ N) ^1 `% D
  1685. ; Tell the jpeg decode to ignore warnings and try to create) n1 ~" a/ i8 w+ W8 g1 m) z
  1686. ; a gd image. The warning will then be displayed as notices" t# n& ]3 J- b7 V9 `+ F$ L
  1687. ; disabled by default6 s4 {1 |; v/ a9 s. G$ u
  1688. ; http://php.net/gd.jpeg-ignore-warning
    0 p8 T9 c% G' b
  1689. ;gd.jpeg_ignore_warning = 0  U- q' k) O7 O  u

  1690. 7 _3 ~: ]- T3 j% T! i4 K
  1691. [exif], Y9 t: y1 G9 C: i+ K) I
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    6 s7 H/ _# H6 n' ~. |: |) t  |! a
  1693. ; With mbstring support this will automatically be converted into the encoding6 e8 T7 U8 b" A/ R- Q! i9 [$ x0 G
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding- Q" H6 X. c1 o" f" Y
  1695. ; is used. For the decode settings you can distinguish between motorola and
    , G  v# X" |" m" U
  1696. ; intel byte order. A decode setting cannot be empty.
    + W4 e% o3 ?! n& ^8 K. l
  1697. ; http://php.net/exif.encode-unicode. d9 M5 e1 @1 ?: G! z
  1698. ;exif.encode_unicode = ISO-8859-15' m0 X/ m+ Z7 i1 O

  1699. 9 f3 F3 {6 a2 Z) M5 K2 d
  1700. ; http://php.net/exif.decode-unicode-motorola
    4 u5 j* |' w1 `" R( v: A
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    % l8 \" l5 @; a# e  }. H

  1702. 7 L, y- \9 X1 s/ X+ I
  1703. ; http://php.net/exif.decode-unicode-intel
    0 w' k) N" S) @% f
  1704. ;exif.decode_unicode_intel    = UCS-2LE  f" _8 Y* A# i
  1705. " K* s1 P- d, d
  1706. ; http://php.net/exif.encode-jis
    % V. P2 q+ p7 ]7 @
  1707. ;exif.encode_jis =
    ) K$ N1 A1 O+ _

  1708. # a% g: d" o$ o6 z( Y  M
  1709. ; http://php.net/exif.decode-jis-motorola
    ; Q! z9 l1 U8 l7 {
  1710. ;exif.decode_jis_motorola = JIS* ?( ?9 l" y0 N, A7 J5 I/ X

  1711. ' j: \" \* F  ]* y7 R
  1712. ; http://php.net/exif.decode-jis-intel
    ( n: j. @3 a3 e% t
  1713. ;exif.decode_jis_intel    = JIS) a3 N+ h3 l) T
  1714. 5 A2 k. u# ?  y9 O  U
  1715. [Tidy]
    $ g! E# B& e1 d2 x. b( k* ~: e
  1716. ; The path to a default tidy configuration file to use when using tidy
    ! o0 N( y% a' c4 f4 h- {
  1717. ; http://php.net/tidy.default-config
    4 J: x  {6 C2 E
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    - d! \! A  c+ ?# H8 l8 F. z9 f

  1719. ! A$ g7 E; V9 D( R
  1720. ; Should tidy clean and repair output automatically?4 n# _! S: ~5 C: }* c2 \
  1721. ; WARNING: Do not use this option if you are generating non-html content1 r. ~. @, y# f4 h  x& H% j* Z
  1722. ; such as dynamic images
    0 |3 ~6 z9 b$ M& X" p& w. ?; g
  1723. ; http://php.net/tidy.clean-output
    ( n7 b/ q! l0 r
  1724. tidy.clean_output = Off# g/ `' A7 n  f

  1725. 6 v$ Z; u1 ]  v+ ^7 S
  1726. [soap]; r- {+ `! P; r' t. W) D
  1727. ; Enables or disables WSDL caching feature.. y# S4 t$ F7 H- f9 g1 k5 W# ~
  1728. ; http://php.net/soap.wsdl-cache-enabled. X1 s3 S- t- Z7 j
  1729. soap.wsdl_cache_enabled=1# e9 O: Y' X) M6 ~$ }( Y
  1730. & Z& _! q: l: ]+ O
  1731. ; Sets the directory name where SOAP extension will put cache files.
    . G3 p6 s$ [+ d! j* c( @0 r2 H. ?9 M
  1732. ; http://php.net/soap.wsdl-cache-dir2 @( F1 J( l0 ?0 @- d0 R
  1733. soap.wsdl_cache_dir="/tmp"
    9 O7 F6 x+ G, O0 s( j( ~* g
  1734. 7 L! A& I( C0 p" R  e) ^8 M9 P8 R* z
  1735. ; (time to live) Sets the number of second while cached file will be used+ N3 e0 Y$ S/ @, Z
  1736. ; instead of original one.3 L2 e4 J6 f$ s! a% c0 T0 e
  1737. ; http://php.net/soap.wsdl-cache-ttl9 k' u+ h  E  _  C1 \, Q+ ~
  1738. soap.wsdl_cache_ttl=86400
    ( L% Z! h; R% x5 O

  1739. / b( S4 B& }5 _8 y$ z9 r0 Y' I7 p) M; x
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)0 J+ _2 z* _0 O  z0 O
  1741. soap.wsdl_cache_limit = 5
    ' r2 B5 R2 T  T* C% M

  1742. , a4 a9 j9 ?7 a" U
  1743. [sysvshm]) H0 |! k& n! D( K4 C, G
  1744. ; A default size of the shared memory segment: `. V. ~9 `2 x- |$ s
  1745. ;sysvshm.init_mem = 10000
    ( M0 M7 }/ g3 ~

  1746. & _' S6 E2 K6 J2 y
  1747. [ldap]
    9 m# L% e" L, M
  1748. ; Sets the maximum number of open links or -1 for unlimited./ `" E  R; v, X, a( D  O: O. ^
  1749. ldap.max_links = -1
    * D2 M5 V' `4 Q, r1 M' J: ]

  1750. - f8 p. P& @+ }, w# \
  1751. [mcrypt]
    3 W$ ?; A) C! n0 U
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    % ^6 F8 ~! Y; S  K& T& N

  1753. + g! b7 G) c- o5 p3 T
  1754. ; Directory where to load mcrypt algorithms( z' j! I2 L0 E& O* t9 H; t
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    3 w! s2 L( ?( G4 U
  1756. ;mcrypt.algorithms_dir=9 R* N+ e( Y3 u: L0 E3 K
  1757. " v( P3 I' O$ z, q+ D( o3 q
  1758. ; Directory where to load mcrypt modes% n' E. K& _3 R: k
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)5 \& y" P$ \4 n4 Q1 q
  1760. ;mcrypt.modes_dir=
    8 f& _0 s) m) O
  1761.   j& k4 L/ P6 G: R9 n
  1762. [dba]  n+ C" T7 o1 I; |  t
  1763. ;dba.default_handler=8 @" P- J5 x& C. j, J$ {5 `
  1764. $ n  a/ T, `" y4 A
  1765. [opcache]
    : g: [8 K+ E* S5 I/ R
  1766. ; Determines if Zend OPCache is enabled
    8 y6 _' d! G0 Z% P$ Q. ^
  1767. ;opcache.enable=0
    ' J/ h; ~( P" g9 a

  1768. : j; A# H5 Y9 t- x# R+ t2 H
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    % B$ _- e8 W' b. a: q6 D3 T+ @
  1770. ;opcache.enable_cli=00 A8 c+ F) T1 {5 L: K, H4 l
  1771. ; G; Z. h: f0 i& \# G
  1772. ; The OPcache shared memory storage size.) h6 b& K/ q* e! Q6 P- a8 N
  1773. ;opcache.memory_consumption=64: N1 R  t9 g% v, \0 X# t! u& l: x

  1774. ) [3 ?2 ?: U" B2 {
  1775. ; The amount of memory for interned strings in Mbytes.* |$ p6 k9 R1 K7 j2 ~
  1776. ;opcache.interned_strings_buffer=4
    2 @+ s& ]7 h& i) O' }5 i

  1777. 1 g$ }1 T- l" U/ L  ]( ]
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.6 N' Q+ _! W5 y1 F+ J4 x( J
  1779. ; Only numbers between 200 and 1000000 are allowed.. x) v' j+ u7 ]& F" i
  1780. ;opcache.max_accelerated_files=2000  G$ T5 j2 _) i) U
  1781. , \1 f# ?3 R" ~4 I
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.+ ^- l! {  C: }4 {
  1783. ;opcache.max_wasted_percentage=5
    2 V' u4 @5 o6 H+ L: m" E/ W
  1784. 0 b7 e! [& s5 H8 O( V5 Y6 f4 g
  1785. ; When this directive is enabled, the OPcache appends the current working7 {8 B3 R/ d" e% g: @5 u8 c* P
  1786. ; directory to the script key, thus eliminating possible collisions between
    $ f* A; o+ Y  ]' B( Z
  1787. ; files with the same name (basename). Disabling the directive improves
    - c9 R. M& t$ h; \' t9 q
  1788. ; performance, but may break existing applications.
    8 u* f' S; ?- v$ K
  1789. ;opcache.use_cwd=1" _4 n& z- K4 o* i) X# r
  1790. ! y! `5 a1 P4 L# U7 ^
  1791. ; When disabled, you must reset the OPcache manually or restart the5 B( m; o! E/ k: K1 m% C
  1792. ; webserver for changes to the filesystem to take effect.
    6 v* [& d; Y; [" b; n  T
  1793. ;opcache.validate_timestamps=1& X- b7 ]0 d; H9 F- I

  1794. . J' X7 f+ I! N+ k  p/ b
  1795. ; How often (in seconds) to check file timestamps for changes to the shared( ]# F& J$ ^2 J, E" f
  1796. ; memory storage allocation. ("1" means validate once per second, but only- W7 C% W7 Y# c9 |9 l! I
  1797. ; once per request. "0" means always validate)9 _, a+ Z! Y3 h" p- s7 A& t6 \
  1798. ;opcache.revalidate_freq=2
    . I9 u$ }$ ^4 q1 f
  1799. 3 \6 M  x8 N* }
  1800. ; Enables or disables file search in include_path optimization6 K  @# V# H; D
  1801. ;opcache.revalidate_path=0
    % f+ t6 f" B" _  l

  1802. 8 V: }- c/ S7 N' q6 E) q2 M1 v+ P4 A$ S
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the' B3 w4 r! W3 L7 Q6 ]2 }
  1804. ; size of the optimized code./ K9 k  [5 j8 k& F
  1805. ;opcache.save_comments=1; U$ T% |9 D4 b) K. b8 t7 T

  1806. * a# G9 b. i# s( L
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code% t) D' r: k, [  u# i2 I9 t; x
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.( o$ D( E5 m" Q
  1809. ;opcache.fast_shutdown=0
    4 U& r1 d8 c( z/ q( Z# l& B7 F+ E

  1810. . j- X; r: e% W- u: L
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    9 j/ |+ ]2 E. D: R) X5 F4 I
  1812. ;opcache.enable_file_override=03 I7 Q+ F. \9 W# @+ a2 n* G5 |8 J

  1813. 4 m9 L, ^! R$ u$ r7 g* w& F3 a5 E
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache* M0 f; K7 e5 a' O8 P+ M
  1815. ; passes
    . A4 R! w* e2 ~+ G7 i
  1816. ;opcache.optimization_level=0xffffffff# `1 m9 r- I/ E! v- g6 L. ]
  1817. / F8 _* q; C9 \
  1818. ;opcache.inherited_hack=1
    5 N/ _! ?" x& k2 O& h3 b
  1819. ;opcache.dups_fix=0! P# x% n/ g1 T6 ^! G. |. v

  1820. $ u* m* w9 s7 s+ N* r/ E
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    7 n, d; S. U5 z9 a9 X
  1822. ; Each OPcache blacklist file is a text file that holds the names of files+ b0 c/ J  E( Q: z
  1823. ; that should not be accelerated. The file format is to add each filename* |& `( J7 k. g* W/ B% A1 ~
  1824. ; to a new line. The filename may be a full path or just a file prefix
    " K% w6 H* A3 g0 k- b
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www* _" B; P" _8 @( ~" H& n
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).  H0 E5 D* F  ]
  1827. ;opcache.blacklist_filename=6 D% T# |9 N& M8 C- R

  1828. 5 ?+ g& r( p) A, j  y8 Q# }
  1829. ; Allows exclusion of large files from being cached. By default all files
    , Z  ^' P! z& i: E9 a5 X- j
  1830. ; are cached." v  |! ]$ ]( E- B3 h0 u
  1831. ;opcache.max_file_size=0
    + }4 y: J# ?  @

  1832. ) a( y  x0 u2 h. Q" W
  1833. ; Check the cache checksum each N requests.
    9 |3 |0 }  \" L* i& T1 i8 H/ T
  1834. ; The default value of "0" means that the checks are disabled.
    : I* P6 ]0 W4 p0 W, m
  1835. ;opcache.consistency_checks=0' e/ i6 C, r1 ^% l. T& x

  1836. ( j( [* T$ ?+ p" P/ F8 W& f2 H
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    % G; i, O/ a$ L8 [: K
  1838. ; is not being accessed.
    # `9 j4 _: g" r9 w' e+ h$ b# }/ [
  1839. ;opcache.force_restart_timeout=180
    + I+ L- x1 s4 G& }" P. {

  1840. - Z* J! B  f5 @( k+ Z
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    ! u' {* C, N; f
  1842. ;opcache.error_log=9 [* ~3 ~7 K1 F, m5 s3 C- ~

  1843. 8 A# P+ c; Z6 z1 A) x; W5 ^+ v
  1844. ; All OPcache errors go to the Web server log.
    ( i& P  K6 d$ t  v  w7 B0 E" ?
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    ' d$ B( z( C& h! b' N  R
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
      h/ j# ?; K1 D" V* N4 w+ x2 s
  1847. ; debug messages (level 4).
    $ \* ]3 Y; A+ N9 C
  1848. ;opcache.log_verbosity_level=1
    + e6 e7 s  P, i9 D

  1849. - @0 g8 [5 y. }. n; y/ C1 e
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    - [4 ~  M' `: e
  1851. ;opcache.preferred_memory_model=3 s6 [3 \! @" {0 d4 z' E
  1852. + k2 m2 E: x( E4 M2 e- n6 I+ l
  1853. ; Protect the shared memory from unexpected writing during script execution.
    - ?8 D- }5 J2 V& `% r2 Z: x% q
  1854. ; Useful for internal debugging only.
    " R  p3 q- N- m5 l
  1855. ;opcache.protect_memory=0
    ; Z1 a& Y0 h: g, S/ z0 K! d

  1856. 0 P4 b7 L. ]' l- r7 }4 s) H1 P
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is$ {9 @) R) O" w2 r# T0 T
  1858. ; started from specified string. The default "" means no restriction6 H2 Z( \7 v6 [) D: f: P
  1859. ;opcache.restrict_api=& H6 n2 |3 Y! n# T1 J, z/ C2 z

  1860. 4 B! V) j. W. [4 m$ |* U$ f5 H
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP( j" Z% ?# R: H9 A
  1862. ; processes have to map shared memory into the same address space. This8 N0 R8 b  o5 G( }/ o: _
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    6 ]6 @& ^  \$ n) X; X$ ]
  1864. ; errors.  |. Y* p" U  X; E! w) j) }, O
  1865. ;opcache.mmap_base=
    & v$ i. E, Y0 T
  1866. 8 z5 G  Q! U( R7 i, ?
  1867. ; Enables and sets the second level cache directory.% F0 N; `+ ~5 G
  1868. ; It should improve performance when SHM memory is full, at server restart or
    7 n) n" ?* q! _4 v
  1869. ; SHM reset. The default "" disables file based caching.
    : u+ Y- a/ B; c  p$ a9 d) a7 V* B
  1870. ;opcache.file_cache=/ k7 |8 ]) a2 X4 |5 P  K

  1871. 3 A/ t0 f5 G0 N7 n. Y9 E! e- l' V* K
  1872. ; Enables or disables opcode caching in shared memory., z* i9 t: z. ^
  1873. ;opcache.file_cache_only=0% a4 v) O% f6 r/ d! i
  1874. 3 p6 f9 \- T0 j
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    & }) B, S1 ?( {. P# l
  1876. ;opcache.file_cache_consistency_checks=12 `$ I: U' T8 [+ }- d; x' \

  1877.   V0 L# o9 ^/ e) d- K# [! ]
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to1 J/ Z% w. |+ m
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file4 M& z  ]/ J- `
  1880. ; cache is required.( ^+ D8 S0 Z- Z6 ]! L" w+ g
  1881. ;opcache.file_cache_fallback=1
    ; K2 s" S  N* V4 [5 b0 J! W+ t' M

  1882. ) ~- V; b  I2 E5 T
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    ) l) j0 x/ O+ b; @0 |
  1884. ; This should improve performance, but requires appropriate OS configuration.
      ~1 f# B* Z6 ?
  1885. ;opcache.huge_code_pages=1- y8 a. s* @. l1 k5 J# w4 Y

  1886.   q6 f3 F7 Z9 _! K( H4 i* `
  1887. ; Validate cached file permissions.7 z2 B! \) J8 [( K
  1888. ; opcache.validate_permission=0
    8 n# X6 f/ j# ]+ s, t7 \9 C& r. W
  1889. # m/ P9 e3 M8 e! D1 Z
  1890. ; Prevent name collisions in chroot'ed environment.
    & b# ^) Y# t- C3 X5 o- \) n
  1891. ; opcache.validate_root=05 l. s3 O0 v  ?1 S8 h" y. q0 T( c
  1892. / x* j6 L' ?1 C8 ^3 F# J. u
  1893. [curl]
    $ H* u* m2 x1 o# @
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an& v9 q" V" i8 C# \  C8 Q2 g: h
  1895. ; absolute path.! E# b2 O; g% R2 b8 p
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt  M& ?, `. }, k8 `: ^# F
  1897. 8 W- F6 i& }0 @2 T" G
  1898. [openssl]
    & s0 ]2 u. b2 ?+ k% y
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    5 h; C5 \! C7 i, e% `9 w: Z) h4 T* l
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    : W! O" u' F- n' w/ ]3 F( J
  1901. ; not specify a value for this directive as PHP will attempt to use the
    9 E6 w# M: _& D" r
  1902. ; OS-managed cert stores in its absence. If specified, this value may still; N* `5 S  t) _' R* o
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    6 Y' G3 R1 V1 U" Z: L
  1904. ; option.9 I: _( ]$ ^8 y, y: j; ~
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt9 d3 C4 g, X$ k) _+ r& i

  1906. 6 P% N. Q3 y7 ]8 E. B5 r3 g
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    % K& a. d7 ^- H! I: F
  1908. ; directory pointed to by openssl.capath is searched for a suitable0 j9 k# x: J8 J. T3 @
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    # b. @* p$ V7 M$ o  d7 p; C* W+ H
  1910. ; Most users should not specify a value for this directive as PHP will
    & ^5 I- C3 E) }5 I
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,8 K3 F* U$ a5 O* [' m9 u& r
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    & I; P" g. W0 H4 ]/ X0 {
  1913. ; SSL stream context option.
    ; i  U6 r4 B8 A% n, ^
  1914. ;openssl.capath=
    - E3 d7 u1 q6 F+ P3 K" O. E3 d
  1915. ' K+ s& j2 [( Q  ?  E) P' j1 U
  1916. ; Local Variables:
    - t0 b9 s5 _5 E
  1917. ; tab-width: 4
    . S  L2 u6 |" D$ R: t
  1918. ; End:
    7 `( V5 p) c) s' l" O6 L

  1919. ! I9 R2 O& o( k+ o' j0 W
  1920. ;eaccelerator
    & k* o6 f! V1 F# ?# }& M3 T
  1921.   k5 W! ~8 G6 [5 T2 s5 e* ?6 Z  n
  1922. ;ionCube' s" {& a: U+ F/ ~% o- L' ?

  1923. * N! v& G4 R* e: v) ]% Y/ s, V
  1924. ;opcache
    + b3 w/ b' O0 V, j. @

  1925. 1 y3 K6 _, h. K% t
  1926. [Zend ZendGuard Loader]
    " Q4 i" g5 O) j( g
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line., S. c& ^$ l$ G& V& h# @+ t; V
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    4 _5 S! l* j  T, L* O6 I
  1929. ;zend_loader.enable=1
    / O1 @" ^- k) I6 V* e, j
  1930. ;zend_loader.disable_licensing=01 w0 t; [. N  p% ?1 `
  1931. ;zend_loader.obfuscation_level_support=3
    : ^, A2 l* q+ Q$ }2 M
  1932. ;zend_loader.license_path=7 _: `$ i  M# Y) F$ J1 O3 }( G
  1933. * e- c, v! r( d' I9 @( l. ~3 [+ W6 z% f
  1934. ;xcache
    / ?3 r4 m' ?" u, j. K' b
  1935. ! ?; ?+ t1 c+ n0 R
复制代码

% l# d* P: x" ^) f, s$ o# G1 x7 Y. _9 V; r9 k# B4 g

$ s$ ^$ R! a- P2 ?: a+ ]
+ F; s6 B) h$ [0 u- A& z  w) s  {0 S  R2 c4 h! i. c6 F
: L  _5 B3 H: u+ L/ P3 L

; f/ A, c5 Y/ w( [! k1 i) dPHP5.6版本原始设置0 T: r& ?* @3 K4 l3 D

& A1 S2 w9 ^! k( e  g7 E
  1. [PHP]
    6 k( a5 r: T6 d

  2. ! |3 x- \, S9 ]* R; O! m1 m" G
  3. ;;;;;;;;;;;;;;;;;;;
    # T' V" {; D& p6 c) @/ T. ~
  4. ; About php.ini   ;$ z4 C5 `* _5 }- C! A; u8 l
  5. ;;;;;;;;;;;;;;;;;;;% X$ l0 y3 {  B  J" W' g
  6. ; PHP's initialization file, generally called php.ini, is responsible for
      g* P& j- L% ?' x! W7 e$ t; t
  7. ; configuring many of the aspects of PHP's behavior.. \: p) b" _9 Z7 a' ~1 B1 I& D3 R9 ?

  8. 4 R: T7 B& O1 s& C; b
  9. ; PHP attempts to find and load this configuration from a number of locations.. G: ^& \! }/ ^0 t! w9 ^; R0 }3 D
  10. ; The following is a summary of its search order:
    ; u9 b/ B3 F9 V, S# B4 v# T
  11. ; 1. SAPI module specific location.
    $ l& @7 ^% E# O% u
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    ( g$ c' A2 F  w& b8 `5 X6 d
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    + D# [( f7 s: S/ I8 @6 l
  14. ; 4. Current working directory (except CLI), Z( ?* C6 U( i. P0 v
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP4 {; {* X5 |5 p; [3 K
  16. ; (otherwise in Windows)
    ! k6 Z. y1 _* e9 V
  17. ; 6. The directory from the --with-config-file-path compile time option, or the" U( H- {5 E6 l! \0 ~. t% ?
  18. ; Windows directory (C:\windows or C:\winnt)3 s* @& J2 j7 U5 f. ?8 ?% d$ l
  19. ; See the PHP docs for more specific information.
    ) y, K/ v2 v5 O$ i
  20. ; http://php.net/configuration.file6 T0 r& @# _) I% T/ a; s
  21. * d3 q3 }  g! d+ f" r" e
  22. ; The syntax of the file is extremely simple.  Whitespace and lines, T/ Q8 C& p  B) K0 s) V
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).- |3 t0 Q* D7 T" Z5 G
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    . e  l# C7 n! V, t- a5 v2 x3 T
  25. ; they might mean something in the future.
    / }" ]+ v5 g6 p5 R! f
  26. 5 F/ ], O+ O+ N' w0 o' y9 F# d6 B. V
  27. ; Directives following the section heading [PATH=/www/mysite] only* N4 z, P* X0 F" E7 K! K
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    5 @" y9 j2 s1 k5 c" m
  29. ; following the section heading [HOST=www.example.com] only apply to  g  y, u6 k! a
  30. ; PHP files served from www.example.com.  Directives set in these
    8 o! g4 Z- v- v3 H. o$ E
  31. ; special sections cannot be overridden by user-defined INI files or
    7 t3 C, ~6 A1 W* g8 }! }" C8 v
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under" q% |7 g4 W5 Z# ?
  33. ; CGI/FastCGI.
    % P* \" Z3 Z/ O. {1 H9 M
  34. ; http://php.net/ini.sections6 M, n* j1 s7 c

  35. " _1 @9 m! G( ~& c
  36. ; Directives are specified using the following syntax:
    2 c! y9 w; K! L) d( N% h- {8 g
  37. ; directive = value
    - ~  t6 a  O4 y" e' C7 h
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar., P  K$ P# g" a/ @
  39. ; Directives are variables used to configure PHP or PHP extensions.5 ~  T8 Z: q, K! ]9 X4 N2 X1 J
  40. ; There is no name validation.  If PHP can't find an expected
    # b% [' Z7 ~8 c# A, D* `9 v
  41. ; directive because it is not set or is mistyped, a default value will be used.
    * W) }3 i0 S* R( M; \3 D

  42. / M+ m1 g& M$ q/ @5 p$ S5 d
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    * |* b; G2 v$ J( ?9 d
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    6 z# f, p5 h1 z1 R$ K6 e
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a9 B6 H9 i- d' S7 p( G, e6 Y/ m
  46. ; previously set variable or directive (e.g. ${foo})1 l: |% o9 u! W5 p) O5 S

  47. 4 W3 s3 ]+ f) V& J
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    8 L' E2 s7 K* g  T! v) ?; |/ U% G
  49. ; |  bitwise OR% O! y# q) ?3 c7 r2 E; n
  50. ; ^  bitwise XOR
    * c+ D* @9 r, p! N$ k2 m7 P" B
  51. ; &  bitwise AND
    , I+ Y3 v% {+ X. u
  52. ; ~  bitwise NOT
    " M* s4 _+ ], Q
  53. ; !  boolean NOT2 {" Z6 J9 I6 H4 A4 y
  54. : Q7 F3 H) l" ]+ {8 I
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.1 b& ?+ S; m0 i! n& D% c1 e# m" _/ U
  56. ; They can be turned off using the values 0, Off, False or No.6 V# {2 `( _( A- n+ l: W' K
  57. / a2 k* B( P# C. I
  58. ; An empty string can be denoted by simply not writing anything after the equal5 ?9 M5 m! w) c' T& k
  59. ; sign, or by using the None keyword:
    ( i2 W1 O5 f: ], d
  60. % u4 z, F" M) Z( w2 j6 a
  61. ;  foo =         ; sets foo to an empty string
    ) J6 d& O( n! |9 V
  62. ;  foo = None    ; sets foo to an empty string1 m5 k' r: A/ p8 N' }
  63. ;  foo = "None"  ; sets foo to the string 'None'. K9 H5 j2 Y) W" X  a3 @4 Z8 `. g

  64. + I: |; s2 U7 R, A' j5 {, L2 V
  65. ; If you use constants in your value, and these constants belong to a
    ! ^, W( H6 V3 f$ a5 @3 w
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    4 f4 J9 H  C+ l- |
  67. ; you may only use these constants *after* the line that loads the extension.
    ( c6 J+ M! a5 t/ V$ W7 _, ]
  68. 1 s8 d/ F5 @& j3 ]/ j
  69. ;;;;;;;;;;;;;;;;;;;
    & I5 m: W& J1 f. n+ y
  70. ; About this file ;
    % c" n4 V$ d+ R2 v- v' G
  71. ;;;;;;;;;;;;;;;;;;;
    ; [5 u% x  }7 u2 n
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    $ @. A0 E0 j, w5 T  z) |6 a
  73. ; in production environments and one that is recommended to be used in
    % ]7 R$ c6 n( a$ l" `6 C
  74. ; development environments.
    ( P$ b, m. h  b! q5 `4 b1 _
  75. & g$ w. }# w8 i1 g8 B. l
  76. ; php.ini-production contains settings which hold security, performance and8 k+ C- H; i* x3 t& Z% E! r* ^
  77. ; best practices at its core. But please be aware, these settings may break
    7 q+ H8 P) e/ ~3 m! H
  78. ; compatibility with older or less security conscience applications. We+ x; B! N3 [, I! j% @2 ]
  79. ; recommending using the production ini in production and testing environments.- @5 z# H3 U0 Q) s+ k- ]. ^
  80. ! v/ x. l9 b% N3 t4 B/ D
  81. ; php.ini-development is very similar to its production variant, except it is
      _" L) g/ B, }8 R6 ~3 j
  82. ; much more verbose when it comes to errors. We recommend using the' {0 Y- j) B2 d3 ^
  83. ; development version only in development environments, as errors shown to
    & n% @6 \  n1 [5 P2 j% C
  84. ; application users can inadvertently leak otherwise secure information.* {# g9 C# f, b+ W; A0 a# C% r

  85.   Q+ E7 e- ~. e) p- C
  86. ; This is php.ini-production INI file.! J2 f- v0 e1 _1 U# t0 z% F

  87. ) U$ ^7 u8 y! O# z
  88. ;;;;;;;;;;;;;;;;;;;
    7 l; j8 a8 Y, |7 Z7 O- H' q
  89. ; Quick Reference ;5 }. e# |. n/ T
  90. ;;;;;;;;;;;;;;;;;;;
    , W& p; t0 E7 T4 S* h
  91. ; The following are all the settings which are different in either the production' ~  B9 c& u: R
  92. ; or development versions of the INIs with respect to PHP's default behavior.- B$ r7 N- [% s! z& H  I4 @& e+ |6 T" E
  93. ; Please see the actual settings later in the document for more details as to why
    . Z% \& y% T3 \* D3 R# W
  94. ; we recommend these changes in PHP's behavior.
    % A7 t5 ~0 E, o# [0 }' t
  95. & R7 z* H0 B; f+ k( N
  96. ; display_errors- D/ s% ]: l3 a' h* B
  97. ;   Default Value: On
    + s. ~2 e# t1 z2 U4 k$ v2 Z
  98. ;   Development Value: On8 y6 K3 y2 }" O
  99. ;   Production Value: Off
    - i+ h0 }. ~5 R# O: k  J

  100. & I6 [! @, r5 H% E  _& ]0 M( w
  101. ; display_startup_errors' r2 {. h3 _3 p0 z
  102. ;   Default Value: Off
    6 T9 X% Z! H! p3 _
  103. ;   Development Value: On, n' a4 f4 S: M5 T
  104. ;   Production Value: Off
    3 f& @" Y5 L! L. K- D! N9 z
  105. 5 B2 W, i4 f  R) |2 X
  106. ; error_reporting1 u: b; ~9 j. y% N* w
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED$ v7 l" |& Y& }- G
  108. ;   Development Value: E_ALL
    ! A0 C( q0 L( s. p$ ~) |  @% u
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    ; |4 u: l3 |" P$ W9 _- d
  110. " |. v5 I% p. _( m  |. O; _
  111. ; html_errors
    ' ]* \; l4 z4 {
  112. ;   Default Value: On
    6 T$ f1 {( V8 S+ V6 A8 c1 @
  113. ;   Development Value: On
    # @. D4 K1 h2 C
  114. ;   Production value: On
    " K1 f" i! u7 B" Q$ l! @( C% R

  115. 9 p  O* k9 p( _" l4 L% \
  116. ; log_errors
    # Z: o1 A6 f0 I+ \$ \* Q
  117. ;   Default Value: Off  @' U6 A2 d9 J7 P3 F; b
  118. ;   Development Value: On5 c& D" m- H$ L
  119. ;   Production Value: On! e. i3 g, o& m, y# }" b) W& y

  120. 6 \6 S2 i" b+ u1 {$ b2 x# d% B  H2 m
  121. ; max_input_time
    4 c* w1 g. U4 F% s+ ]/ O: j4 f+ v
  122. ;   Default Value: -1 (Unlimited). O- ?" I) \& A6 _4 ~
  123. ;   Development Value: 60 (60 seconds)
    4 r: v$ U, w) L9 W- q
  124. ;   Production Value: 60 (60 seconds)  X2 i5 G% ^* R% @6 c' _. |; {
  125. 8 G1 |7 D& \7 l; S: w: G
  126. ; output_buffering
    7 Z8 d- r. }1 k- x
  127. ;   Default Value: Off- K+ c! r, [0 R" \) {9 L. z
  128. ;   Development Value: 4096: a5 p1 H$ e0 _- h* M
  129. ;   Production Value: 4096
    4 n  R# ~" Z. R2 y* q8 a
  130. 8 f3 I5 {, z8 X
  131. ; register_argc_argv
    ) }3 B# ^0 q  j, n: N) z
  132. ;   Default Value: On/ l$ I$ m# X5 I( B7 S
  133. ;   Development Value: Off. ^/ _$ q' e) M* ]$ Z* p5 z% b
  134. ;   Production Value: Off/ p& c% W% q  |  ?% X
  135. * w# M1 p3 Y8 g$ {# j
  136. ; request_order, F6 F1 n0 {3 g5 J& w7 K
  137. ;   Default Value: None) X* l* j  ~& a! @
  138. ;   Development Value: "GP") N4 o( H/ b+ l; x' I- q9 B: N
  139. ;   Production Value: "GP"
    ; F/ C& G' v" Y- ]5 R0 _( y
  140. ; n: X/ Y7 G! w$ n& `& G
  141. ; session.gc_divisor
    ; d+ N9 U8 j+ `4 N
  142. ;   Default Value: 1006 U4 K9 n  `$ T) c  l5 I
  143. ;   Development Value: 1000. j+ V2 L5 o$ \! Y& x: j, E
  144. ;   Production Value: 10000 Q$ _! g0 |/ b: f

  145. 8 S9 q& f% c0 I! ?
  146. ; session.hash_bits_per_character3 }; U* \  n' n: R, K0 _
  147. ;   Default Value: 4
    6 r3 h2 c1 c1 W9 m+ A
  148. ;   Development Value: 5" @7 Z) P  k* W$ k1 [. B+ z
  149. ;   Production Value: 5
    : r& q! ]0 e+ {3 x! N" `* w
  150. ' j) b0 e* f  H4 s# Q
  151. ; short_open_tag9 X! x! e$ |8 \* s0 c- U9 S% \
  152. ;   Default Value: On0 n7 K1 e( u* L9 p% c7 h4 R
  153. ;   Development Value: Off
    % G: C4 c* S" T& Q$ P  J& H
  154. ;   Production Value: Off
    : _8 m& H2 s5 ]2 R
  155. . X9 I: j  q+ w7 W
  156. ; track_errors
    + v! K: A' L5 t5 w
  157. ;   Default Value: Off, l' Y9 R3 |" U
  158. ;   Development Value: On
    ' ~$ o$ x" |) F
  159. ;   Production Value: Off+ P; P* i( O; v6 I% R! ?
  160. , U9 j# ^7 o9 e/ z% H5 o
  161. ; url_rewriter.tags
    ( e0 c: ~* u4 o9 ^! o0 m
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ; _0 g8 U+ [0 G* s( C' F
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    $ s1 z) x& @- p' V6 y
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"# \4 E: ?! o6 d! |/ `1 Z
  165. 2 V* a4 V1 \7 F7 I: o# m1 o% M
  166. ; variables_order! U0 j% |( y8 x
  167. ;   Default Value: "EGPCS"
    , O; a! w5 o1 J9 B7 J$ l1 C( m: `. E
  168. ;   Development Value: "GPCS"
    + ?: |3 ]- o: s4 M3 n7 r
  169. ;   Production Value: "GPCS"
    / r3 L1 L: ?+ E& f

  170. 7 x+ J; D) J- O
  171. ;;;;;;;;;;;;;;;;;;;;3 Z; X( v! ^; P  @* T
  172. ; php.ini Options  ;
    / l( C0 }( z0 t# N0 Z
  173. ;;;;;;;;;;;;;;;;;;;;
    2 Z# O' ^7 s" I+ K6 c) d+ i9 o
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"! m  |: _$ K, [
  175. ;user_ini.filename = ".user.ini"+ x( P* m( O: r. [

  176. 4 g2 P2 x5 d+ I
  177. ; To disable this feature set this option to empty value( m! U1 w  @* j; J9 E
  178. ;user_ini.filename =/ Z) F  D' H' e5 I  M; X' [) ?2 m

  179. ) ?8 A2 H8 {5 P, u! D) r4 Z
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    ; L3 w5 D# S$ R3 A
  181. ;user_ini.cache_ttl = 300
    # c( @& ^% l  {/ W( _' V4 P

  182. 2 p$ U9 D& {* H, ?
  183. ;;;;;;;;;;;;;;;;;;;;/ i. U( h& v6 f! v& Z0 Q
  184. ; Language Options ;1 C+ M; {" }; O) g( S3 v
  185. ;;;;;;;;;;;;;;;;;;;;/ U: F4 r8 g1 H  [
  186. & F$ r$ Q1 \8 ^! T* s& q
  187. ; Enable the PHP scripting language engine under Apache.
    ; _8 t( }/ Q! p3 a
  188. ; http://php.net/engine0 p8 U, p. G6 G! V. I
  189. engine = On6 c9 e9 P. W9 d& _7 e( N; a
  190. 5 c  H  i% [" z% a0 s" A
  191. ; This directive determines whether or not PHP will recognize code between
    4 E) c# p' M; E( b1 ^0 x
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    ! s# C: n; ?+ I
  193. ; generally recommended that <?php and ?> should be used and that this feature
    1 Y( `% `6 T; X3 S/ B) ^
  194. ; should be disabled, as enabling it may result in issues when generating XML* A' k* ]& `2 Q) P
  195. ; documents, however this remains supported for backward compatibility reasons.
    : [' C. u9 i+ G- L: B# y
  196. ; Note that this directive does not control the <?= shorthand tag, which can be6 f1 T/ s/ |# x, x3 O" h( b* V
  197. ; used regardless of this directive.
    ' t  C+ J2 V* j4 `+ e
  198. ; Default Value: On
    ' {7 \6 y5 E, Z. X: J/ z
  199. ; Development Value: Off6 m% M, @$ X$ R$ J1 H& D5 T
  200. ; Production Value: Off- S% j) x* p. ~' p' k$ Z7 i" T
  201. ; http://php.net/short-open-tag# v' x, R  `7 l4 F1 J
  202. short_open_tag = On
    # L3 u& }: N0 p4 U- Q% y
  203. 6 S" P0 i+ [. I, l$ U- ]
  204. ; Allow ASP-style <% %> tags.* l5 f2 |  w9 k$ P1 A$ }
  205. ; http://php.net/asp-tags
    ) l+ {. X0 `1 g
  206. asp_tags = Off* g" K, k5 M2 z. m/ P# R6 X

  207. ; ^9 L. K, Z% @' u
  208. ; The number of significant digits displayed in floating point numbers.! Z+ c7 l+ m3 ~1 s3 u) X+ H( i* D* _
  209. ; http://php.net/precision
    ; X3 l" j& ?5 B- ]% R: e9 s
  210. precision = 14
    9 G. B. d" x; d2 c+ K" r; }
  211. ( \5 Q3 a6 ?- N( j
  212. ; Output buffering is a mechanism for controlling how much output data# k& Q" ^, g: C- C6 m! u# r# h' e
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    0 f7 B( u, h- |) h2 N3 e
  214. ; data to the client. If your application's output exceeds this setting, PHP' O; x; M2 J* I1 w: H' U) y' k, }
  215. ; will send that data in chunks of roughly the size you specify.% Y/ N- O, @/ [
  216. ; Turning on this setting and managing its maximum buffer size can yield some% P5 J7 h% r- b, V0 m2 _
  217. ; interesting side-effects depending on your application and web server.0 R; q7 _- j4 T1 o+ e
  218. ; You may be able to send headers and cookies after you've already sent output8 o. z! @8 X) Q+ i+ x
  219. ; through print or echo. You also may see performance benefits if your server is
    ; _' ^# S4 ]6 @9 K3 j+ p# v
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    $ C& b' R3 A9 n/ T! ~1 o( T" p
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance: i4 i3 R# v( [4 c
  222. ; reasons.
    ' D: G! F  Q- _' n
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    , `: C) t! m4 V1 r" l
  224. ;   functions.! ^' [* m# f2 _( \4 Z7 S
  225. ; Possible Values:7 a5 p/ p! V; H3 x
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)( O! l0 V  C+ k  B7 U. V
  227. ;   Off = Disabled
      Z$ u1 _7 u/ o  q
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.7 C% i; p9 V7 G2 T/ D$ I! w
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI9 d* a  n4 y( ?6 s" w* k
  230. ; Default Value: Off
    2 i; f/ y0 e  y  u$ i0 Q
  231. ; Development Value: 4096
    / h8 K; U# r4 k9 ?4 N' ^& j
  232. ; Production Value: 4096
    % k( ^* e& d- f9 R
  233. ; http://php.net/output-buffering$ `* q. ^; M8 V0 V5 E) Z( l6 u
  234. output_buffering = 4096
    5 m0 y& i9 \) u+ s9 b  k

  235. , L' v+ c" m: H* K9 e# ~
  236. ; You can redirect all of the output of your scripts to a function.  For
    4 n% W5 c# M8 {, b3 s
  237. ; example, if you set output_handler to "mb_output_handler", character0 ]- t3 w' U8 j  k
  238. ; encoding will be transparently converted to the specified encoding.3 j5 J7 O( G8 P% p' `! X7 X/ f
  239. ; Setting any output handler automatically turns on output buffering.. I3 L) s( _1 f
  240. ; Note: People who wrote portable scripts should not depend on this ini; I# [0 u+ k$ U9 L0 u, q* d
  241. ;   directive. Instead, explicitly set the output handler using ob_start().; n) }9 w( k2 g8 k
  242. ;   Using this ini directive may cause problems unless you know what script
    # w) e* \  d* d8 {8 x1 ~, J1 E  q
  243. ;   is doing.# J6 [5 k- w( s5 y/ g
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"3 u; J/ z- U5 k$ r8 {. z$ P7 ?
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    8 n7 }, B" [6 q3 m
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    ; g: I# t- Q& @8 [" n
  247. ;   Instead you must use zlib.output_handler.2 Z6 Q; W  L2 D* J5 r0 _0 N
  248. ; http://php.net/output-handler) _% A- J: X3 p& c! u
  249. ;output_handler =
    3 t1 R: L2 r$ Z  Z6 a& R6 \( V: t" @
  250. 3 `- G2 V7 Q6 I# B- b$ {
  251. ; Transparent output compression using the zlib library
    9 H0 y) A- z" W
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    + E' M6 f2 L# q/ W: ?
  253. ; to be used for compression (default is 4KB), F8 g; A) a6 c5 M( Y
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    % ^6 S2 i$ p* |& w6 Z2 z1 b
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    * I- S9 W0 U- ?5 K) K7 O( N
  256. ;   compression. If you prefer a larger chunk size for better
    : i) [1 q7 V  [( ?( g
  257. ;   performance, enable output_buffering in addition.
    # h+ ~  Q/ t6 [# c$ e( {* k! F& T  ~7 d
  258. ; Note: You need to use zlib.output_handler instead of the standard; \( M! k2 u  {7 ?) T% R
  259. ;   output_handler, or otherwise the output will be corrupted." x% Q. ^* T8 z0 ?
  260. ; http://php.net/zlib.output-compression" q+ f4 t9 k7 P% q: z
  261. zlib.output_compression = Off
    # `% a; Z- J! `

  262. " k3 j/ m  l/ o& w6 B
  263. ; http://php.net/zlib.output-compression-level
    2 J) t& x& c- V: X6 W7 s! v8 n
  264. ;zlib.output_compression_level = -1
    " ?& |6 f$ d1 X2 F

  265. 7 M$ U& ?& W, ]9 \& z
  266. ; You cannot specify additional output handlers if zlib.output_compression
    7 ~3 ^( X1 V2 c# S. ^: i
  267. ; is activated here. This setting does the same as output_handler but in
    " d- {* Q% \: I. U. n
  268. ; a different order.6 I$ J5 }6 s6 S
  269. ; http://php.net/zlib.output-handler
    * g  s/ W7 x. y2 A' F( q/ j
  270. ;zlib.output_handler =( V3 Y/ U; R" q. [  r

  271. 5 M; y- i1 v" }: I* F7 u% e* k
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    8 j1 ?0 ~' g9 h7 n! h. s+ S7 d
  273. ; automatically after every output block.  This is equivalent to calling the
    ( I) P, ?- N7 a% y/ O* Q
  274. ; PHP function flush() after each and every call to print() or echo() and each* O. @2 c; y6 P/ v8 Z) H" K( J0 u
  275. ; and every HTML block.  Turning this option on has serious performance( G+ ?1 [% C1 Z2 r1 Q' E$ H
  276. ; implications and is generally recommended for debugging purposes only.
    . T3 v. y4 y- j2 B1 O" J2 {: q7 u
  277. ; http://php.net/implicit-flush8 g; |; D0 x( \/ L# X
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
    - T, e6 {5 L( e% r9 G* S% @
  279. implicit_flush = Off
    - r. S  R4 N2 o  L# H
  280. " Z1 v; s4 \, i1 U1 M# ?  X3 Z
  281. ; The unserialize callback function will be called (with the undefined class'
    0 z! }" u' }$ f8 C6 a
  282. ; name as parameter), if the unserializer finds an undefined class
    6 h+ h# a& x/ L
  283. ; which should be instantiated. A warning appears if the specified function is/ L% o5 \0 R) L; R) B
  284. ; not defined, or if the function doesn't include/implement the missing class.
    1 _* \% W& A, I5 ?2 Y) w& p
  285. ; So only set this entry, if you really want to implement such a
    0 R% ?- O$ c6 t3 u. A& b
  286. ; callback-function.3 f8 a+ S# n! h, W
  287. unserialize_callback_func =* S2 O( \; H0 [; |- d

  288. . _' ], d! m9 u3 X" M
  289. ; When floats & doubles are serialized store serialize_precision significant+ c( v! P; K. x
  290. ; digits after the floating point. The default value ensures that when floats" k& J3 J  w' K
  291. ; are decoded with unserialize, the data will remain the same.
    # C4 \: Z1 U  @6 P& Z  f6 M/ o
  292. serialize_precision = 17
    - p# A& Q4 i2 ]2 G9 D

  293. , [' c! w3 k) V$ ?% B
  294. ; open_basedir, if set, limits all file operations to the defined directory
    8 L5 G1 W0 \4 e
  295. ; and below.  This directive makes most sense if used in a per-directory
    6 k3 E1 r* _. c. u4 z$ i. x& }
  296. ; or per-virtualhost web server configuration file.- }. v8 f1 I8 e- R3 z
  297. ; http://php.net/open-basedir
    ' F7 ^9 R' T. n& E% K: A0 V: Z
  298. ;open_basedir =
    8 Z# U1 v" ?; ^+ @3 p- ?* a

  299. # f. C9 u6 j) {1 b/ A! q
  300. ; This directive allows you to disable certain functions for security reasons.6 `8 x7 |( ]  j( D$ T9 x' ~
  301. ; It receives a comma-delimited list of function names.
    & I0 |8 d  b( R3 J
  302. ; http://php.net/disable-functions
    - w2 e" D% l5 r
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    . Y/ ]" d* {! T! g
  304. , A! s5 \5 l' a" n4 B
  305. ; This directive allows you to disable certain classes for security reasons.
    # Z! }' L/ n7 ^; g
  306. ; It receives a comma-delimited list of class names.
    % ^5 g* N1 D# Y  m9 \: c6 Y
  307. ; http://php.net/disable-classes
    $ b9 E9 O  N2 M. Q1 O5 ^
  308. disable_classes =
      b' a' R, j0 I# E: N4 ~% K
  309. ' g. w1 a2 L# V: u
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    $ p* I4 D) N+ R; Z! ~/ \
  311. ; <span style="color: ???????"> would work.
    * X: G1 f: O* }5 @% T  {' u
  312. ; http://php.net/syntax-highlighting
    7 d2 X6 L  l& W2 ]6 o5 b- h
  313. ;highlight.string  = #DD0000& E$ R" Y0 J2 e+ a& _9 O
  314. ;highlight.comment = #FF9900& V3 E. A, N$ x
  315. ;highlight.keyword = #007700* Z2 f: P9 i* K9 e
  316. ;highlight.default = #0000BB9 b$ N2 q2 O' q' f, q% [. @
  317. ;highlight.html    = #000000# _$ w2 e  x; ~$ B% [) G* ~4 F0 j/ s% m

  318. - t) F- G1 J. H& {/ S
  319. ; If enabled, the request will be allowed to complete even if the user aborts9 @8 @- Y) C* a( A
  320. ; the request. Consider enabling it if executing long requests, which may end up; X' _- _5 t# h" n+ Q
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior+ s! k( n9 }0 p* |. {  d: j
  322. ; is to disable this feature." A& N5 v) e& T- J% C' ]
  323. ; http://php.net/ignore-user-abort( @& Y! w7 d/ c1 L* X4 q
  324. ;ignore_user_abort = On. }' f2 t8 r4 T. V
  325. . y8 d7 Z  }" F5 J2 B" i
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    # F# t  n# G. l6 ~
  327. ; be increased on systems where PHP opens many files to reflect the quantity of5 e" V, C5 W# Z' M- a6 @! z
  328. ; the file operations performed.
    ; O7 w$ j; E8 C7 {2 u0 q( g8 }
  329. ; http://php.net/realpath-cache-size
    # B8 T/ _% S2 Z& k3 e2 R) L
  330. ;realpath_cache_size = 16k
    ) p4 k* P! ^% q" f/ U5 d7 g: k
  331. * T& Z; J  b% K  D- C
  332. ; Duration of time, in seconds for which to cache realpath information for a given# ~* E# A. V) U/ o( \7 e% `$ Z
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    ' O4 x8 y, l0 c; u: f; z% o. E
  334. ; value., G: ~* n: ]1 V* ]
  335. ; http://php.net/realpath-cache-ttl
    - N' K  ^4 c/ B# [- [: K; t: I4 K
  336. ;realpath_cache_ttl = 120
    & \0 f, x! b" F" _6 @+ X1 G9 a
  337. , ~# {2 u5 T1 G
  338. ; Enables or disables the circular reference collector.
    5 N4 r3 X* V2 w3 Q
  339. ; http://php.net/zend.enable-gc
    4 ]& A. E' {; M+ I
  340. zend.enable_gc = On
    + D" f. M+ u# u* I1 m
  341. . H" F% @7 m* l1 G/ }
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    . |# G+ @4 x# N% q$ C
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    ; C7 ?4 `0 G' ?8 L4 i
  344. ; encodings.  To use this feature, mbstring extension must be enabled.8 D8 \  l! p) Z$ [
  345. ; Default: Off+ [5 ^  R$ V& @5 F9 b' z8 @
  346. ;zend.multibyte = Off4 I7 T  N2 J1 J* o+ h

  347. 7 V5 x% h' i8 V& `7 M  _& Y
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    6 g1 }* Y2 N' P2 }
  349. ; unless "declare(encoding=...)" directive appears at the top of the script." c" w: @8 V: f4 L: Q- s
  350. ; Only affects if zend.multibyte is set.
    9 z9 o$ P  T) u$ a6 h$ Q2 l7 C
  351. ; Default: ""6 V: v1 c& n" R" R0 ]3 [7 Q
  352. ;zend.script_encoding =
    / l0 j, l& U( @" W  Z$ U

  353. ! {! [" |6 n# B( z
  354. ;;;;;;;;;;;;;;;;;
    & G; l. p* _# D& U: ~- t
  355. ; Miscellaneous ;$ K5 s$ s9 n7 j& O: s
  356. ;;;;;;;;;;;;;;;;;
    ) x# u3 ?" d  p
  357. / Y% q: A) t6 J/ _( x' H. C0 N
  358. ; Decides whether PHP may expose the fact that it is installed on the server) P' \( a! e. M, ^# |) ?
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    % G6 P) D5 V2 A  |# Y7 B
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    6 _0 t# O; P7 s
  361. ; on your server or not.' X# I7 l. H9 g$ }& }
  362. ; http://php.net/expose-php
    ) ?: m. o2 `$ o: {( j/ L9 [( W% \
  363. expose_php = On, e  ?/ h( G' V/ m- ^" b
  364. : t8 R7 |$ B5 H- d/ K# d8 x
  365. ;;;;;;;;;;;;;;;;;;;
    $ C6 S7 e; B" i7 b) |3 R5 ^6 @
  366. ; Resource Limits ;
    5 w# j0 q# C7 H9 v3 {6 @5 {4 ?
  367. ;;;;;;;;;;;;;;;;;;;* g2 ?5 U: Q; i& [& J3 i/ S

  368. - g' `1 V. b* h1 m& c# e
  369. ; Maximum execution time of each script, in seconds
    / h( V8 S" @# Y# f* f
  370. ; http://php.net/max-execution-time1 U( n/ @* U  U# {* e+ ]/ }! d" @
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    0 L* w: h7 }" t% i" Y
  372. max_execution_time = 300& ^! J4 e# m' \6 x- R" c  m5 ]' z

  373. & Z; J" h! c+ U% c: }
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    4 N# S; f. O& g1 {2 l/ e
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    5 j: Y- Q6 N7 c* @& {
  376. ; long running scripts.
    ' z1 ]4 ?/ Q' n/ ?3 R
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    " X& ^( d- a$ ~5 ^3 m4 E
  378. ; Default Value: -1 (Unlimited)
    7 Q3 M6 F; Z. Y* ^
  379. ; Development Value: 60 (60 seconds)
    % m7 z3 [! \6 o0 N" L5 o
  380. ; Production Value: 60 (60 seconds)
    $ z. l" [; Y2 ~# L
  381. ; http://php.net/max-input-time
    1 O3 f& G8 }/ w) V) B9 X  R
  382. max_input_time = 60: i5 A" W# n3 q3 v7 d% z$ G
  383. . K; S& R5 o% x1 n! S
  384. ; Maximum input variable nesting level- w9 _/ \* z0 x' J1 v/ W0 x
  385. ; http://php.net/max-input-nesting-level
    1 Z# W: ]$ K% k
  386. ;max_input_nesting_level = 64& }: D+ r0 o! \* f. T
  387. / w; d7 N. k' y" h
  388. ; How many GET/POST/COOKIE input variables may be accepted6 i, L; I' v# H# }4 r' G' e2 |+ p
  389. ; max_input_vars = 1000& j4 h$ Z. ~. O* F- p( i
  390. 8 O! a- |6 l" |* |1 s9 \* X
  391. ; Maximum amount of memory a script may consume (128MB)
    & N( O  {  X: W; o- s7 t+ s
  392. ; http://php.net/memory-limit9 n& z% V) O6 d4 v9 i5 q
  393. memory_limit = 128M& j; }0 g: K- K
  394. 1 y; O; Y: P; O: f
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    7 I( D' ^: O" [( E2 G
  396. ; Error handling and logging ;! z3 z& ~6 }2 s0 Z1 \
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6 M/ g# c/ {4 e% _' p

  398. 6 l% w4 K$ Z7 ~0 Q6 f6 d- V
  399. ; This directive informs PHP of which errors, warnings and notices you would like% m' M7 n* u. I  a
  400. ; it to take action for. The recommended way of setting values for this8 [, _1 o+ O2 J
  401. ; directive is through the use of the error level constants and bitwise' t- G& ?% J) W) Z& X
  402. ; operators. The error level constants are below here for convenience as well as1 |" U$ c3 _( h9 G$ _
  403. ; some common settings and their meanings.$ L) _, o8 ~9 o- j0 k# k  B7 b
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    6 s+ x! S0 l) t+ R
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and$ [/ ^  `: N3 F. P, r+ b# a! r
  406. ; recommended coding standards in PHP. For performance reasons, this is the  T! W: M2 I. b  P+ i& h  q( R. d
  407. ; recommend error reporting setting. Your production server shouldn't be wasting1 H, o: P6 N8 o" J+ n! u4 h
  408. ; resources complaining about best practices and coding standards. That's what) M/ a3 s: q1 i' m5 p$ |- ]: Z: l
  409. ; development servers and development settings are for.9 f. S# L6 @: i
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    1 `0 @1 C3 R. i, b* g0 _- m. y; L
  411. ; means it pretty much reports everything which is exactly what you want during
    % P% B+ D( K/ ^5 W9 [0 W& j
  412. ; development and early testing.( N  Y/ |3 ~5 e1 ~9 D+ W, b$ d. u' u
  413. ;
    * i% k0 J( D7 e2 B
  414. ; Error Level Constants:
    6 S0 w1 O. F/ P5 \% u
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)# m7 l& X9 X  I% u6 _7 o$ |
  416. ; E_ERROR           - fatal run-time errors: ~. B' ~' z( c  D0 F9 S
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    , t! Q4 I! a- L0 [; A$ I0 J
  418. ; E_WARNING         - run-time warnings (non-fatal errors)  b. v6 n# S* I! l8 n7 w0 `
  419. ; E_PARSE           - compile-time parse errors
    7 U. g/ Y. k+ j5 L5 b3 l
  420. ; E_NOTICE          - run-time notices (these are warnings which often result2 a4 O6 k- {, @8 h% W: c3 \: L
  421. ;                     from a bug in your code, but it's possible that it was! K9 M" `' f* `( m8 S$ }+ L
  422. ;                     intentional (e.g., using an uninitialized variable and) y0 u' ^# m/ A- C, O" f' E5 a
  423. ;                     relying on the fact it is automatically initialized to an
    # e- m2 F: ~! x4 t
  424. ;                     empty string)
    , \! h! Y" h( X' d$ j( v
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes7 k8 d. t& H2 N; I3 y8 N- V
  426. ;                     to your code which will ensure the best interoperability* [( b9 d2 r* L/ _' V. G
  427. ;                     and forward compatibility of your code
    / R. h  \8 m' f+ u1 F5 ^8 [% g& t
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    , P- _: \; w3 e
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    ) A* G9 {! D1 C
  430. ;                     initial startup
    8 h0 ?! U! I4 X! V2 W
  431. ; E_COMPILE_ERROR   - fatal compile-time errors* s( h& m/ p/ F8 _
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    & k1 \& A% A: a2 ]$ @+ ]
  433. ; E_USER_ERROR      - user-generated error message
    4 W2 _, P3 s5 ^/ W
  434. ; E_USER_WARNING    - user-generated warning message
    9 u5 d- i8 \# [  v
  435. ; E_USER_NOTICE     - user-generated notice message
    7 k- S5 r5 k. E0 A, Y. }
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    $ P3 g6 X  _0 Z, v7 \; n) _
  437. ;                     of PHP
    & H+ C( ^0 A  J; ~7 ^
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    & ?  Y8 `$ m8 e2 E
  439. ;
    5 c3 x% S. o: H6 {) P4 ~
  440. ; Common Values:
    . l; O! x4 Z% |; r
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)7 S* ^4 C1 F3 M0 x. Z6 O7 g; A7 m
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    , P9 k& m( s$ t8 q) V0 F% A, _
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    : I& q0 c, t& |$ h! K4 e6 w7 T3 `
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    : }4 o9 M& C3 L* r4 R. Y+ x8 _
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED2 b5 q; [  Q0 e% r( p2 u2 `
  446. ; Development Value: E_ALL
    7 R% H! J6 {' R: d5 I# d5 g
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT& i. Y  `! J# |3 P0 P+ `% y+ v
  448. ; http://php.net/error-reporting* u* o! c1 G7 p% ]7 y+ X: O# D  x
  449. error_reporting = E_ALL & ~E_NOTICE, `; D% A( f  c0 |0 r- Q" ]
  450. # D" e2 R( m* u4 `) l
  451. ; This directive controls whether or not and where PHP will output errors,
    ; h2 ~& I; r! ^/ p3 j$ G8 E
  452. ; notices and warnings too. Error output is very useful during development, but4 V7 V+ Z; A7 n3 k* G1 V
  453. ; it could be very dangerous in production environments. Depending on the code5 I+ e0 u! b8 S/ B& K
  454. ; which is triggering the error, sensitive information could potentially leak
    5 Q$ K# D2 z& Y7 N) Y) @
  455. ; out of your application such as database usernames and passwords or worse.
    9 d: n0 B& R0 x% y
  456. ; For production environments, we recommend logging errors rather than4 Y$ V) X6 C& V
  457. ; sending them to STDOUT.8 A0 F  j* h# |  y8 d
  458. ; Possible Values:5 X8 Y6 Q6 P& n5 f
  459. ;   Off = Do not display any errors
    4 {) c1 o; g$ l% Q
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!), z. ^0 W: H) o" s+ X: ~& [
  461. ;   On or stdout = Display errors to STDOUT
    & c7 M" D* F& S
  462. ; Default Value: On
    % g4 I; ?  |. N6 I7 u# ?& V9 R
  463. ; Development Value: On: ~% I8 o" q& ?
  464. ; Production Value: Off. U# V% f( L" a/ R5 }, W+ Q
  465. ; http://php.net/display-errors
    - a: H/ Z, _6 o6 n8 G
  466. display_errors = On3 }$ ?5 s* U+ d

  467. * ^' M9 s" {; I
  468. ; The display of errors which occur during PHP's startup sequence are handled
    - U3 B; Z0 U$ ]) D3 C4 f! w
  469. ; separately from display_errors. PHP's default behavior is to suppress those# G" l$ n! u8 \4 r  S% n/ z) i
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    8 o/ y' B# ^( o+ y
  471. ; debugging configuration problems. We strongly recommend you! m/ e# }  Y9 j4 r3 H
  472. ; set this to 'off' for production servers.
    " }2 O/ x' d" A# V
  473. ; Default Value: Off0 o% B/ M: F' [8 @
  474. ; Development Value: On
    6 \, T  M6 [; ~! K) c
  475. ; Production Value: Off5 x) Y' B' C" P" Y( p* g
  476. ; http://php.net/display-startup-errors
    + ?5 g# d; E6 c. ^$ ^
  477. display_startup_errors = Off
    + [+ g; p- L2 m# l" q0 A
  478. 5 U% @4 _2 K: F; v
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    " j/ a; \( N  P3 {
  480. ; server-specific log, STDERR, or a location specified by the error_log; f" K6 O$ q2 r1 X
  481. ; directive found below. While errors should not be displayed on productions, c6 U9 w% i+ c, X$ G& [( m* M
  482. ; servers they should still be monitored and logging is a great way to do that." u( W8 h0 ?2 y
  483. ; Default Value: Off  T3 j/ h' m; _) [3 D; n. x
  484. ; Development Value: On
    ' o$ ]1 Y5 ~- d: }0 [
  485. ; Production Value: On
    , O; u0 P6 ]2 n7 v- r1 m* {! A
  486. ; http://php.net/log-errors
    - k& D" |) ]! i( D2 I% u
  487. log_errors = On/ G( X3 @/ s. K7 A( j. i; v3 G0 {

  488. & w0 }* s0 x/ K
  489. ; Set maximum length of log_errors. In error_log information about the source is+ h+ h+ U/ t3 W  @) m
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    # d9 y7 z; O3 _/ f
  491. ; http://php.net/log-errors-max-len
      m3 m* I& W* U. E
  492. log_errors_max_len = 1024
    ! Z6 b( p& [% b, Z
  493. " ]* k2 V9 d9 R7 \
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    ; }+ M: l* K! a
  495. ; line unless ignore_repeated_source is set true.% l& M9 h& `+ k9 D$ W6 g5 m
  496. ; http://php.net/ignore-repeated-errors" r: b# L) O& H: Z
  497. ignore_repeated_errors = Off
    " d) |' J4 n' D" G
  498. " H, [. O- d, E3 i( [
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    * u+ k+ j. K- @$ o7 f
  500. ; is On you will not log errors with repeated messages from different files or
    2 h) ~" \3 z5 a, b
  501. ; source lines.& ~, X- n8 c) t; i- F& G+ M
  502. ; http://php.net/ignore-repeated-source" v; l7 G: v/ e" j  M
  503. ignore_repeated_source = Off' D  e7 D$ w' C  P% r) _
  504.   D# x! k; D5 s: Y  p
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on1 ~. Q" @; z7 i' |8 t4 ]% o" D& f
  506. ; stdout or in the log). This has only effect in a debug compile, and if$ [9 H' e  G; e4 |# x
  507. ; error reporting includes E_WARNING in the allowed list
    # _9 _1 J7 C2 V& u- U" d6 L
  508. ; http://php.net/report-memleaks( R# w' H# t! v* U: p  G
  509. report_memleaks = On
    & u! X5 P2 w  G6 H4 Y. W
  510. 4 r$ x! y- V, M; J& s
  511. ; This setting is on by default.6 T# K( v; K7 [$ B5 T% I
  512. ;report_zend_debug = 0
    1 W3 \5 a9 F; Y( y* K. S8 ^

  513. $ Z9 \! q9 D6 p
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    7 ?' r2 o0 `, r; S! a$ B# T
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    1 x  a: K: q2 t& @( H  E2 ]
  516. ; however be disabled on production servers.6 g6 B* e7 b, x% \( \
  517. ; Default Value: Off0 n$ b, N0 V( ?  R5 n# o
  518. ; Development Value: On- {' Y, c1 o7 E) A) m( L" R, H9 I
  519. ; Production Value: Off. W4 `- I, w& D* B
  520. ; http://php.net/track-errors, ~  L4 x8 W' _% z( ]: _
  521. track_errors = Off
    ) O' R  a! I% D  J9 B$ l0 y! T

  522. & [/ l# Z1 _% W9 G" S( z# F; c
  523. ; Turn off normal error reporting and emit XML-RPC error XML" ?  I& A1 N8 l; O+ q
  524. ; http://php.net/xmlrpc-errors
    6 [3 k7 K3 S5 I, g) L
  525. ;xmlrpc_errors = 0
    $ K4 Z5 z0 V: B7 \( [: n8 w6 w

  526. 3 E# y& W& i5 q6 L$ `# J
  527. ; An XML-RPC faultCode6 l2 B4 C; n7 m" x
  528. ;xmlrpc_error_number = 0% b) p* ]: g" L+ N4 A# B

  529. * o! E( Y3 V/ i8 Q
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    / t# z3 b& {1 M% F2 }4 ?5 v
  531. ; error message as HTML for easier reading. This directive controls whether
    + t3 p4 M$ |; O: C6 E' ]" @3 e
  532. ; the error message is formatted as HTML or not.
    % S9 d0 }- e) D3 ]( t
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI% u0 f8 I) N* L, w/ P
  534. ; Default Value: On
    * ]4 }* L! Z& W% H, ~2 @3 ?: e
  535. ; Development Value: On) Y) n( z  c1 u+ F: w" I  u* }
  536. ; Production value: On6 F; Z2 ~# A' p) M3 U9 i. o
  537. ; http://php.net/html-errors
    % t5 H% I4 Z0 P' {
  538. html_errors = On9 J  b. Z) U5 F8 j. u
  539. % j7 I# V# X2 S0 h# L* J/ X  `
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP( [0 }* ^5 d- T8 ~  v
  541. ; produces clickable error messages that direct to a page describing the error6 v3 y- P: {: N/ f$ B5 q, s
  542. ; or function causing the error in detail.
    / b  K; f  X7 H8 l5 m7 s" }
  543. ; You can download a copy of the PHP manual from http://php.net/docs6 C! y# C% _$ t; j" Q( Q! {0 ?
  544. ; and change docref_root to the base URL of your local copy including the
    + s3 Y2 D( d. t& \3 d8 d
  545. ; leading '/'. You must also specify the file extension being used including" _3 @. Y/ u1 V. k0 I6 t
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    " T% b5 p; h3 s% G
  547. ; case no links to documentation are generated.
    ' v' _' z" ], }4 \7 V: v
  548. ; Note: Never use this feature for production boxes.
    ( R7 W  U, y! l5 y( f% o" p
  549. ; http://php.net/docref-root
    2 K# E6 b7 b( E! c; d; I
  550. ; Examples
    0 x$ v- U% i+ q
  551. ;docref_root = "/phpmanual/"
    0 ~8 P3 ?; f& R6 B- |
  552. / y7 p( Q. {9 h. V+ z
  553. ; http://php.net/docref-ext
    0 w6 A; |+ I1 ~6 m( p
  554. ;docref_ext = .html; P! q  s1 r5 H
  555. , d/ L0 o. Y, H0 O( X: D2 c# e, A2 l
  556. ; String to output before an error message. PHP's default behavior is to leave, M6 e+ e2 @% f
  557. ; this setting blank.
    ' }1 r) Y1 v) _- {6 C
  558. ; http://php.net/error-prepend-string
    ' `3 R2 r6 S" y! n6 U: H7 ~) k
  559. ; Example:2 U% ^) O! A- ^& m
  560. ;error_prepend_string = "<span style='color: #ff0000'>"# [# Y4 [0 m  v% g# ?. l, P

  561. " M/ C# l* f1 N* \% A
  562. ; String to output after an error message. PHP's default behavior is to leave% B7 I! t) d! U) s* ^& c3 G
  563. ; this setting blank.
    5 _5 O3 D# Y# D' d# Q6 ^2 ^
  564. ; http://php.net/error-append-string
    ) G2 k9 R; n- Z! ^- C# {
  565. ; Example:6 O- ?* }0 |0 {( i; V
  566. ;error_append_string = "</span>"; e. {% C. N# O$ u/ D: S, S* b' g
  567. 0 u& a; E1 k, e0 N4 a4 n
  568. ; Log errors to specified file. PHP's default behavior is to leave this value5 \" h4 C: t4 w! Z1 H  b  J0 v% [3 T
  569. ; empty.* K+ _) B4 w: _/ z0 r4 \3 K4 p
  570. ; http://php.net/error-log0 B6 W9 W' i& U" P4 o; i
  571. ; Example:
    ' R  k1 k7 Y+ o2 N3 P# v
  572. ;error_log = php_errors.log' s5 G& B8 I/ N/ ^: _, m2 J
  573. ; Log errors to syslog (Event Log on Windows).
    2 j/ T9 R5 H( l" q  }8 X" [
  574. ;error_log = syslog
    $ ~; L. P; g' C) K
  575. + J. H$ b# l# ]+ b
  576. ;windows.show_crt_warning
    , U- L( b! [0 B, C1 l) V4 I0 J
  577. ; Default value: 01 S/ m0 ?  o' J4 o. c) i, ?7 u% a
  578. ; Development value: 0" Q" B; R3 t  A6 A( w. ~
  579. ; Production value: 09 M& a7 f) _- \0 A
  580. 7 q9 X5 ^/ D$ u5 u- u1 i; x5 F( r
  581. ;;;;;;;;;;;;;;;;;  G! O2 e( T) q/ \$ T& z9 N
  582. ; Data Handling ;. T4 K1 L, ]7 o) O+ V) t( N
  583. ;;;;;;;;;;;;;;;;;
    1 i; w9 L5 m* o: D3 c8 W
  584. 4 j0 U* O* y6 T2 N
  585. ; The separator used in PHP generated URLs to separate arguments.* _: E7 y3 V  D# j; H* _
  586. ; PHP's default setting is "&".
    ' M) k2 J0 G: f6 @
  587. ; http://php.net/arg-separator.output9 |' T- \7 i5 C3 [  g* N
  588. ; Example:. ]$ ]9 H: c7 i) c: p
  589. ;arg_separator.output = "&amp;"6 O' I- [$ B) q+ Y
  590. 2 h4 v; r& J( m
  591. ; List of separator(s) used by PHP to parse input URLs into variables.( l+ Z# |! u6 x! N/ _/ A9 @7 s" @
  592. ; PHP's default setting is "&".
    : S3 S! T" g/ k: Y6 i
  593. ; NOTE: Every character in this directive is considered as separator!4 _+ ]& |" `6 F& M: v
  594. ; http://php.net/arg-separator.input3 k4 t* Q- u) {6 _9 d/ j
  595. ; Example:
    ) X$ A) M, |* \1 t' o; c
  596. ;arg_separator.input = ";&"
    " z5 k2 f2 G7 F

  597. % B# c/ A' Z; y9 D) E
  598. ; This directive determines which super global arrays are registered when PHP- ?: g8 _: B0 p2 i% g3 N
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super; n( V' `1 l! G+ \
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    ) O# M6 b0 I* A8 J
  601. ; paid for the registration of these arrays and because ENV is not as commonly9 r  }) h! f4 a- \1 j% j
  602. ; used as the others, ENV is not recommended on productions servers. You6 t% D% G/ g$ M7 f9 ~& ^
  603. ; can still get access to the environment variables through getenv() should you
    . j% b; B- A8 X; M* ]
  604. ; need to.
    # t' G: ~+ i. L; D$ H2 {
  605. ; Default Value: "EGPCS"
    - b3 u4 S" X8 t: D" j
  606. ; Development Value: "GPCS"
    # s4 O" G5 b6 f0 O3 \
  607. ; Production Value: "GPCS";, D+ t% M1 d6 r! U7 p6 P5 W$ M
  608. ; http://php.net/variables-order
    6 t2 v; V/ @- S! G+ \4 ?, H/ B: n
  609. variables_order = "GPCS"
    $ A7 g5 }, B* i3 R; y  [

  610. 1 V: D% Z" y# ^$ [9 S& R3 ]
  611. ; This directive determines which super global data (G,P & C) should be
    3 R* c, G/ S8 s! B
  612. ; registered into the super global array REQUEST. If so, it also determines
    # {+ ?) w9 h: [8 x" ?( C
  613. ; the order in which that data is registered. The values for this directive
    2 R9 j1 d% s. v  w
  614. ; are specified in the same manner as the variables_order directive,
    ! ?0 g9 b9 E# `: h4 s
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    " v$ }8 S  m  w/ V
  616. ; in the variables_order directive. It does not mean it will leave the super
    2 o* Y& D% w1 N. z4 c) i
  617. ; globals array REQUEST empty.
    " @0 u, i5 h7 e4 O/ b. {
  618. ; Default Value: None
    " e  B8 ~4 {6 z" \4 [; F9 `5 L4 t
  619. ; Development Value: "GP"
    ! D7 j. }. J3 m4 V$ u4 ?
  620. ; Production Value: "GP"
    / C0 G5 E) h; ?+ D; p0 o
  621. ; http://php.net/request-order
    2 ]" }5 x5 n6 H% m2 U- z
  622. request_order = "GP"
    , {* a/ `( Y1 _& O# J' I
  623. % r1 \! y$ J/ [) Y( A# Y" [
  624. ; This directive determines whether PHP registers $argv & $argc each time it; u1 Y1 P6 ]. b+ c3 \2 S
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script! v/ B2 G! G2 M, d
  626. ; is invoked. $argc contains an integer representing the number of arguments& h' n, d% V1 {/ \; R1 B0 f
  627. ; that were passed when the script was invoked. These arrays are extremely0 H1 n& D( L( u4 ~5 ~( B
  628. ; useful when running scripts from the command line. When this directive is
    0 F+ U. \3 c2 O' j
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    0 |# Q5 H. ]# M# Y& X6 v" p1 v- z
  630. ; a script is executed. For performance reasons, this feature should be disabled( ~, v. s/ E4 T; u! `
  631. ; on production servers.4 f$ m+ O! {  C( K$ n+ Q9 F
  632. ; Note: This directive is hardcoded to On for the CLI SAPI3 D% n/ V, h  L. A) @
  633. ; Default Value: On
    , {6 w  j) }) v
  634. ; Development Value: Off' D, ~# }' i; r0 q& ]9 V
  635. ; Production Value: Off
    ! X& Q) _8 C  l" z; P' E
  636. ; http://php.net/register-argc-argv+ O) e- E7 E1 k* l
  637. register_argc_argv = Off
    . q$ a# r0 ~; G% q' L
  638. % n$ u2 \; c, `& r' g
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're8 L  ^. s3 r" `8 T" h+ x8 X* `9 B
  640. ; first used (Just In Time) instead of when the script starts. If these
    # c$ [: ^6 @  P/ h! w- p  N, v
  641. ; variables are not used within a script, having this directive on will result# r' N9 n& p0 Q% ]
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
      y: }0 |5 }: _, [
  643. ; for this directive to have any affect.
    ' J* P1 p  F8 g2 x& F
  644. ; http://php.net/auto-globals-jit
    ) [8 J& o1 i. h, a& Z# X6 Y; t+ ~; f
  645. auto_globals_jit = On
    ' Q5 X; g  I8 f
  646.   O. R8 z8 n( t# I) c( Z/ a2 X
  647. ; Whether PHP will read the POST data.
    5 N2 y: l$ p8 P; {. N- e
  648. ; This option is enabled by default.: x7 M) ?6 C9 w0 W
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    2 y# C6 ?. q& C+ E& ?0 X! T
  650. ; and $_FILES to always be empty; the only way you will be able to read the7 N% Y8 H- Y% t& z) j, a
  651. ; POST data will be through the php://input stream wrapper. This can be useful. E# n% l5 X$ q3 s
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    4 I0 E( {0 I6 g6 N9 {/ a7 w; b5 e
  653. ; http://php.net/enable-post-data-reading
    6 i4 J; l8 v3 D, _
  654. ;enable_post_data_reading = Off' a6 w2 x5 m+ j8 P" H, P0 D

  655. * G5 Y5 F+ i" Q3 W3 E
  656. ; Maximum size of POST data that PHP will accept.0 `) |: T& P/ w* ]. ~  Y
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading7 F  }# P6 B0 F* K8 o5 [. q
  658. ; is disabled through enable_post_data_reading.
    * @; ]7 v# c& @4 r( g( V
  659. ; http://php.net/post-max-size
    " J* J) T, K. w
  660. post_max_size = 50M! a1 K- ]1 M+ V, Z, h

  661. : L3 s# n) F0 J# j. I
  662. ; Automatically add files before PHP document.3 u9 Z" |' c/ b) `: V
  663. ; http://php.net/auto-prepend-file
    + J0 N# \# b* q# t& x* P9 c4 m) K
  664. auto_prepend_file =) Q6 L/ c* W$ c3 u& O

  665. 4 F( {) Y0 c2 B7 o, L3 C: D
  666. ; Automatically add files after PHP document.7 [( W) N8 o3 j; c, H
  667. ; http://php.net/auto-append-file
    ! h6 _7 {1 o( a  M' V
  668. auto_append_file =
    % [8 ~6 v9 _( |/ ]1 T
  669. 2 r, d" y* I. `( Z
  670. ; By default, PHP will output a media type using the Content-Type header. To
    0 E9 A; F2 |& j) c! w
  671. ; disable this, simply set it to be empty.
    ( A. K6 ^* r) k7 N7 y5 M7 p' l
  672. ;
    / b: ^' a, M5 N. V1 r) S: ]
  673. ; PHP's built-in default media type is set to text/html.
      y; q5 I4 Z5 ?, P$ n% ]
  674. ; http://php.net/default-mimetype
    2 E. P+ m- J( w" U. e8 z
  675. default_mimetype = "text/html"
    ! _, u, s: v" `0 z  `7 r
  676. ( H4 }' N8 p6 z" n
  677. ; PHP's default character set is set to UTF-8.
    7 A2 Q8 p, D! Q* T8 B; f, J
  678. ; http://php.net/default-charset9 ~5 E" z7 Q- c
  679. default_charset = "UTF-8"
    3 i, k+ p* F; r- Z! s$ i* h; f
  680. 4 D& a8 R! ~; S2 t+ Q( @; t
  681. ; PHP internal character encoding is set to empty.
    $ N/ |+ m$ ~: z+ C$ f. D# [
  682. ; If empty, default_charset is used.
    7 A. @& ]  y4 E5 g* H
  683. ; http://php.net/internal-encoding
    8 J' x/ p4 e" D8 ~2 d! t9 U: ?
  684. ;internal_encoding =: O: `2 z, b1 G5 Y2 r) O

  685. 2 b+ ^& n+ Q& p  F  a
  686. ; PHP input character encoding is set to empty.4 R- d; `# H0 P+ r( v) }, G& u
  687. ; If empty, default_charset is used.
    : P7 m" A1 }" Z: i4 R& u7 r
  688. ; http://php.net/input-encoding
    8 T" h- H0 m" g! s7 n  l
  689. ;input_encoding =
    ! p! y3 e# i+ N* B7 X

  690. 7 b6 o  u/ \( S1 J
  691. ; PHP output character encoding is set to empty.
    7 ^' Z6 t: j  |+ ]! A* Q6 d3 e9 ~3 b
  692. ; If empty, default_charset is used.
    6 w6 ?) ]0 N! u0 W% K- w
  693. ; See also output_buffer.4 Y6 f7 U1 t; `6 |: w9 B
  694. ; http://php.net/output-encoding
    + [0 F0 T3 a( \. m0 U
  695. ;output_encoding =0 k6 L& ^6 D! u5 u! S5 n

  696. $ h/ V/ d( Q/ E6 [
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    # F/ j# X1 a) f8 w; R
  698. ; to disable this feature and it will be removed in a future version.
    / d% N, _) X8 Z4 R" J# i# m6 A3 U' |
  699. ; If post reading is disabled through enable_post_data_reading,/ O$ X! q+ Q  f
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    % c0 P0 N- p2 z& ^6 N2 n+ g' [4 a
  701. ; http://php.net/always-populate-raw-post-data5 n% I7 C( m3 \7 c: P% k" X, c
  702. ;always_populate_raw_post_data = -1
    1 T/ @* {# N7 ?, I4 H' C5 I

  703. 5 {) }$ Z+ c9 Z$ ^0 m7 Q' L8 U8 U
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    & M, G: q+ n! j/ A& `9 G! e+ i  Z
  705. ; Paths and Directories ;" a! K/ n- H) k/ {! {8 l5 k+ ]
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    ( L( X8 I  T* }, \4 ^8 e

  707. + `  Z. N2 r! f! [$ i* y+ R  u
  708. ; UNIX: "/path1:/path2"
    ! b: g& I1 m7 X$ a
  709. ;include_path = ".:/php/includes"6 S5 F# T0 l; p& F8 R4 S
  710. ;7 k; H9 W* C2 B' ~$ c5 g
  711. ; Windows: "\path1;\path2"  d, t7 W5 [* E* I# V; `! `
  712. ;include_path = ".;c:\php\includes"
    * B! E' r9 A/ w1 u; c
  713. ;
    1 X- u6 h7 K7 ?7 O
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"* O) n6 j% k7 A4 C/ I9 c
  715. ; http://php.net/include-path. R/ w: M5 |+ `9 `+ d8 e
  716. ) I% t# C$ H% f! l. g% z
  717. ; The root of the PHP pages, used only if nonempty.
    # Y& _5 N9 j- M  I9 T7 B
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    4 H, I' v- R% n0 x6 P/ @$ J4 h/ Z
  719. ; if you are running php as a CGI under any web server (other than IIS)* K3 C6 l' S; M8 G4 l2 x  A# S: c
  720. ; see documentation for security issues.  The alternate is to use the
    % b" G4 Z; G4 d+ M' g
  721. ; cgi.force_redirect configuration below4 o7 l9 {: W9 ^6 _3 m5 v# B
  722. ; http://php.net/doc-root2 \5 ~  r4 U( T! _# h0 E
  723. doc_root =1 A6 W6 ]5 J1 p3 i; R
  724. 5 z2 n! R% Z/ E7 v% k1 \
  725. ; The directory under which PHP opens the script using /~username used only
    * y- {% ]& |' s! A" |% c! Q
  726. ; if nonempty.6 Q; `3 ^; o$ i
  727. ; http://php.net/user-dir1 [" d, q( s5 m- {
  728. user_dir =5 F/ f* I) M; w% B

  729. ! b+ \1 u! z, \% N: ~- P
  730. ; Directory in which the loadable extensions (modules) reside.1 N" P4 P2 B; I6 W. a9 |
  731. ; http://php.net/extension-dir# j1 H: |  s% G  Q
  732. ; extension_dir = "./"
    # ~! T( d7 w' K- a6 {9 g
  733. ; On windows:' k, I7 t' m0 x7 _7 `
  734. ; extension_dir = "ext"  j: j0 ?) O4 l* k  V
  735. 9 q  b. O; N9 R2 T/ m
  736. ; Directory where the temporary files should be placed.
    # e! H4 e. u# W+ s
  737. ; Defaults to the system default (see sys_get_temp_dir)
    * T0 N, ]3 X. r% ]) }$ G
  738. ; sys_temp_dir = "/tmp"
    ' c5 ~. ^/ F: z
  739. " R' e6 Q7 v5 [& E) u- d9 R# I7 a) ?
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    4 l' j. t& F3 k0 @. P, J; G1 l
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    5 _- a, ]2 \9 c4 c! i0 d& l
  742. ; disabled on them.
    1 G% K- ~" d* @( D) J1 D% Y
  743. ; http://php.net/enable-dl# L; Z% P% ^% r
  744. enable_dl = Off
    8 W$ m# F- G! K. L) R; S

  745. / B! m9 J/ s" E
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under: J& ]& G5 J: F3 r
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can; ]* K+ M7 j+ a- a
  748. ; turn it off here AT YOUR OWN RISK: D0 p( u2 r- s, \$ Z) Z
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    & z- w5 w/ ?+ L0 ~% K- }
  750. ; http://php.net/cgi.force-redirect9 c! H/ F, d! i' O$ x3 k7 N8 \
  751. ;cgi.force_redirect = 1
    + P" i8 v3 u* j/ Z! F# _

  752. ) w+ @" h4 l! y; N9 h
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    1 ~$ Q2 d% _8 @3 W3 E4 B# E
  754. ; every request. PHP's default behavior is to disable this feature.9 V, f0 ?) C2 ]$ P1 Q
  755. ;cgi.nph = 1
    . ^3 D; m: S, T/ }$ q, j, e% X

  756. 5 T: z6 Y) O& K0 B6 Q( H
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    8 Y# y/ H* l# V: ]- i; p& f
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP0 k% d; \7 ~9 _" r& F
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    ' O! y; ]0 _+ ]; @
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    ' s! w& F6 b! m7 }2 f) B8 x* i
  761. ; http://php.net/cgi.redirect-status-env
    6 `5 I# I2 y8 s- o: o& Q
  762. ;cgi.redirect_status_env =9 R+ s& i6 c# V6 ~2 v  p+ r

  763. + Q+ w% X8 \! l- Q! v
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    / i6 W0 A" Y8 _% ?1 M6 c
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    ; g! S# c" G' I3 k; x
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    & ~% j$ Y) u3 ?
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting# g) @  c! X7 V6 j' J6 b  j
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts, ]) w& a  q5 O# M* I
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.0 _/ J1 }/ J& W0 N; Y' l" C3 G. e
  770. ; http://php.net/cgi.fix-pathinfo
    " @1 f6 ?9 B- I, G+ t1 s* y$ y
  771. cgi.fix_pathinfo=1- I& f8 N8 o" q8 P: g

  772. # h: g4 K' @$ V  a
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    , W0 i1 w. s, u# q0 R
  774. ; of the web tree and people will not be able to circumvent .htaccess security.* T9 m5 y' F  ~' m4 E7 O7 Q: b  ?( ]. G
  775. ; http://php.net/cgi.dicard-path, x7 l6 x. v, Z. }
  776. ;cgi.discard_path=1
    - d% B( w; s$ J$ S, B1 q( e
  777. ' h& n2 q- K! Y0 j
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    * ]  ~: b/ F2 v7 D: G! K2 h
  779. ; security tokens of the calling client.  This allows IIS to define the4 G8 V5 ^2 M" Q6 z$ N$ g% M. _
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    ; w2 [# h9 A+ P5 N* x
  781. ; does not currently support this feature (03/17/2002)
    4 q: {7 t* t8 D: m+ H- R
  782. ; Set to 1 if running under IIS.  Default is zero.7 Y. l+ E& o1 S0 `
  783. ; http://php.net/fastcgi.impersonate
    7 r. _% w  c; ^2 |0 ~" }
  784. ;fastcgi.impersonate = 1# b& k. Z' A3 M+ }& A/ N5 a, W( W

  785. # c0 w! c; g/ P0 Q+ s  h& m
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    / L& @: R- M# T* i! V6 p6 g! M
  787. ; this feature.' |% J! K/ T  @) W) w; Y
  788. ;fastcgi.logging = 02 P: j" R7 M5 k) a1 ]# ?

  789. - H2 ^7 K: W5 B
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    % p% i' F6 W7 C
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that1 Y* t5 N3 B. B
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    0 [% n) v: ]! Q' L
  793. ; RFC2616 compliant header.
    * Q2 B+ ^8 T/ Y0 x8 w. U5 u( w
  794. ; Default is zero.0 u$ u% ^6 Z# p# J. P+ d( K
  795. ; http://php.net/cgi.rfc2616-headers
    & _3 C6 ^. e" l/ w
  796. ;cgi.rfc2616_headers = 0
    0 v9 @1 }" @) `: `% o' u

  797. , K4 [; A" o7 b2 y# r. q3 _
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    6 ?/ W$ P- N% s
  799. ; (shebang) at the top of the running script. This line might be needed if the# P! Z% X* ~% o7 C: W
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    . t; n. k& ~/ T7 A5 O
  801. ; mode skips this line and ignores its content if this directive is turned on.+ b$ d3 Y( C& `5 V' [6 S: z
  802. ; http://php.net/cgi.check-shebang-line2 ?- }- u7 w8 R
  803. ;cgi.check_shebang_line=1
    9 k. U: r# l' E! q  M3 _+ V

  804. / {6 ~5 ?5 `# I8 C) ^
  805. ;;;;;;;;;;;;;;;;
    $ T  }( I2 W  |
  806. ; File Uploads ;
    4 e3 V+ ?+ j5 F
  807. ;;;;;;;;;;;;;;;;
    $ \; @3 L; q  H: G# |' }$ z

  808. 8 S9 T! ~* Y1 \. Q+ P  w* V
  809. ; Whether to allow HTTP file uploads.  E3 l  Z. w3 A" A0 ]$ z) B
  810. ; http://php.net/file-uploads3 d9 t& M7 S& m/ f! {* u% r( b* B
  811. file_uploads = On5 i3 W  \+ I4 G3 G$ K1 o5 ?, T2 P
  812. ( E1 j2 g9 K) @& }0 K
  813. ; Temporary directory for HTTP uploaded files (will use system default if not- [/ ?. n/ T: K/ z
  814. ; specified).; w: U; ^8 i7 |- X2 B" U# a4 t+ c8 U
  815. ; http://php.net/upload-tmp-dir
    + V% l; ~$ _3 H0 S
  816. ;upload_tmp_dir =4 S/ W8 L" g* [3 Y+ r$ J
  817.   U; M' ^3 i9 q" R. C8 d! `9 E
  818. ; Maximum allowed size for uploaded files.# r5 `! b; G' j8 I  q
  819. ; http://php.net/upload-max-filesize: e" x3 L) U1 @+ I$ T! L& O
  820. upload_max_filesize = 50M
    2 {& Z- _( d0 N- C

  821. * U8 b: k6 m- e# b% X# v7 S: L
  822. ; Maximum number of files that can be uploaded via a single request  H/ M! O- F& v! O6 T
  823. max_file_uploads = 20( R0 h  f/ m" x1 l7 [- _% U( E+ X; D
  824. # d+ B' M( {  e9 R) V6 m. t
  825. ;;;;;;;;;;;;;;;;;;- q* V# _# N/ F: X
  826. ; Fopen wrappers ;. y% c) T6 c9 T) B
  827. ;;;;;;;;;;;;;;;;;;  |* ?) a( |1 C( j; [+ l3 M' b$ z

  828. ( E* w/ {3 e( F6 V- ~  ], H7 T
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    3 B4 N7 ~. R8 _' p& ~/ k( c+ P! a
  830. ; http://php.net/allow-url-fopen; k9 K( f8 r/ P- L0 _
  831. allow_url_fopen = On
    4 o! ^# u) ?! S- H. @: {5 V  |+ a( o
  832. 4 w% h9 K& [# Q1 a( L; s" D4 n/ z3 |" n
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.' |0 a/ E; K5 W; L
  834. ; http://php.net/allow-url-include3 q, x6 U. l% T  p, b
  835. allow_url_include = Off
    9 y+ @1 C1 q" O) @2 \

  836. 7 d! B( g7 R+ _' P# U" ^
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    8 c  D: q0 c! D# o
  838. ; for this is empty.: J" Z6 c' {0 N
  839. ; http://php.net/from' m/ Y1 X; Z9 A3 v# ]9 {* x$ H
  840. ;from="john@doe.com"
    / R/ @/ z4 P3 z: K, u% |

  841. " T# c9 b6 f$ U- ?  v/ Z9 Z
  842. ; Define the User-Agent string. PHP's default setting for this is empty.: \/ F0 S" r: F9 Z3 f( J
  843. ; http://php.net/user-agent8 C% ^+ y- l9 t) Y" G
  844. ;user_agent="PHP"
    8 I( f3 v$ ~) m. j5 Q1 V( J) r
  845. $ L* o, x1 y. }% M; M5 q
  846. ; Default timeout for socket based streams (seconds)" J; k7 F) B4 C7 f6 }+ f
  847. ; http://php.net/default-socket-timeout, L, R  k% R! o# r
  848. default_socket_timeout = 60# j' [7 I. D$ y
  849. ) W  y* E) f" p! g0 k
  850. ; If your scripts have to deal with files from Macintosh systems,2 |; o/ F" L' c6 K0 L0 A4 p$ {# x
  851. ; or you are running on a Mac and need to deal with files from* `# L& e! H5 S- ?* S
  852. ; unix or win32 systems, setting this flag will cause PHP to
    , Y. G) s1 y9 d3 n0 N; |2 n
  853. ; automatically detect the EOL character in those files so that0 s8 Q/ u! @7 D9 l) O
  854. ; fgets() and file() will work regardless of the source of the file.6 S9 r2 X( x0 |) D% b
  855. ; http://php.net/auto-detect-line-endings
    % ]+ P: F' V. ]+ `
  856. ;auto_detect_line_endings = Off
    8 [! \0 {2 U# R1 W; t& L$ _# b

  857. 6 C' C+ d) i, h4 W
  858. ;;;;;;;;;;;;;;;;;;;;;;
    " M- U+ I3 J  l
  859. ; Dynamic Extensions ;( ?& X# F3 X( x5 _% m  O6 K5 _$ X
  860. ;;;;;;;;;;;;;;;;;;;;;;4 x0 g1 f4 r4 \5 y; }

  861. + e2 l2 D" f' C) B$ g; ~
  862. ; If you wish to have an extension loaded automatically, use the following( Y8 z( n5 M6 L9 h# h/ C
  863. ; syntax:
    ( ]( T$ G  d" {% Y
  864. ;, b0 X3 [; W2 ]) x. u: W
  865. ;   extension=modulename.extension7 V, @2 R. `. G
  866. ;" I9 T  b8 w/ V* s5 K! u& j5 x
  867. ; For example, on Windows:
    9 N, F$ I4 ]7 J9 A* p
  868. ;
    . T  v- c; s* _% c/ G4 [$ T: `
  869. ;   extension=msql.dll: P$ H: z; @' b1 j! e* Y
  870. ;, s1 g/ z1 a# P7 i& B& {) A
  871. ; ... or under UNIX:
    ; @+ ?4 A' C: d# B& s* V1 H4 B* e
  872. ;
    * O! P" g8 T+ Q3 r; v
  873. ;   extension=msql.so) o: ~% P8 C" E# c: b' p
  874. ;3 K% d$ B6 ?: @. z: z$ n4 @
  875. ; ... or with a path:# }; K: j6 ?' ~6 t
  876. ;
    % ^4 p4 u, Z1 E% k/ j' f
  877. ;   extension=/path/to/extension/msql.so* w! r; c; C( y( f
  878. ;% t+ `2 T/ W6 s+ ~& S$ g2 C
  879. ; If you only provide the name of the extension, PHP will look for it in its1 ^0 @/ C7 C0 e6 W; \% S2 g
  880. ; default extension directory.
    / x3 f9 ~/ K' {: T
  881. ;# c$ g! M2 d7 H7 c' k6 L
  882. ; Windows Extensions8 H5 L1 l  ]3 p; P. b
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    # N0 Z7 S. O% q( l* [, N/ n
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)1 _* [+ `. d$ T& i! G2 S  E
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).' I6 g% e) B% _, u; T, h
  886. ; Be sure to appropriately set the extension_dir directive.
    9 I8 I7 @  k' K6 {
  887. ;# E! {7 }4 K% |
  888. ;extension=php_bz2.dll  C! x# ~* n: j
  889. ;extension=php_curl.dll
    3 G! o4 h- I4 K$ r: T5 S
  890. ;extension=php_fileinfo.dll
    0 @1 O+ X2 f' @5 @  |. I9 [
  891. ;extension=php_gd2.dll
    ) D: s# q$ G7 x4 h9 x
  892. ;extension=php_gettext.dll
    3 p5 L3 e( d/ h4 |4 L# r
  893. ;extension=php_gmp.dll0 L, j' I7 p/ G
  894. ;extension=php_intl.dll
    7 W, d& n$ c: E7 r
  895. ;extension=php_imap.dll. `5 j3 P2 P/ v( ?0 P. `
  896. ;extension=php_interbase.dll
    " S$ `8 s! F1 v1 g
  897. ;extension=php_ldap.dll  W  c* Z: ?7 E& M0 `  B/ m4 b
  898. ;extension=php_mbstring.dll) q; i: k- X; J$ u7 h. i1 N% k( Q
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
      e. P! @! a1 e( @
  900. ;extension=php_mysql.dll5 u. |6 Y5 F1 ~
  901. ;extension=php_mysqli.dll
    / V& O( J- Y8 ~. d: b
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    . `# l8 D$ X; j, X' w  ]; v# ]
  903. ;extension=php_openssl.dll( V6 y% v5 o- ?: q4 @
  904. ;extension=php_pdo_firebird.dll7 a/ [) a4 k. [  z1 ^
  905. ;extension=php_pdo_mysql.dll' J' N! Z- W1 O+ E! ^4 U% H' c# p. w
  906. ;extension=php_pdo_oci.dll
    : h' V0 C& d2 G3 d
  907. ;extension=php_pdo_odbc.dll& |' ?/ h# R, D( E
  908. ;extension=php_pdo_pgsql.dll3 A' ^5 u3 f, Q. `) G1 ]
  909. ;extension=php_pdo_sqlite.dll
    6 V* Z- Q( z# v2 U7 e8 X! a& v
  910. ;extension=php_pgsql.dll
      d+ j8 h# @% j' X9 {# j
  911. ;extension=php_shmop.dll  M$ w/ g0 g3 g4 N9 }3 |) T

  912. 7 k% [: D1 G/ P$ Y2 G, {1 p4 w: P
  913. ; The MIBS data available in the PHP distribution must be installed. ; k. j# C6 ]4 {  x4 C
  914. ; See http://www.php.net/manual/en/snmp.installation.php ; t) @+ `: k  _
  915. ;extension=php_snmp.dll
    . P% v+ X& F: K6 v4 D
  916. 9 O3 R1 N3 A) s3 @
  917. ;extension=php_soap.dll/ k0 i- d5 d: b
  918. ;extension=php_sockets.dll
    ( m! P# m% i- u( y5 C
  919. ;extension=php_sqlite3.dll
    ! c! U, i: b1 W! T+ Z
  920. ;extension=php_sybase_ct.dll
    ! Y9 S* d* V. N
  921. ;extension=php_tidy.dll
    # v* U' @- r1 ~& ~: u
  922. ;extension=php_xmlrpc.dll
    * _- V( Q  R+ F( `4 s
  923. ;extension=php_xsl.dll' j0 g& X# U* U) X

  924. " R" d/ F6 [% t4 ~6 O4 q7 h
  925. ;;;;;;;;;;;;;;;;;;;& g& S! Z- n. O, h4 ?
  926. ; Module Settings ;
    2 x- q' W( N( I% e8 o' L: h% [
  927. ;;;;;;;;;;;;;;;;;;;
      T6 g- |+ _. }/ f) c- c

  928. * p6 y% w% @$ D5 a9 M  G
  929. [CLI Server]
    ; p3 i7 j% @( z- W- ~! _+ ?6 u
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    # z* B, U  o+ G8 [5 W) ?
  931. cli_server.color = On6 Z6 c  `: ^/ |' f6 h8 _

  932. 8 ]; R3 m* M$ Z" e$ ]6 n
  933. [Date]6 ^8 W0 S# y6 R, m) Y/ E
  934. ; Defines the default timezone used by the date functions" }+ `" Y5 k6 G  X2 N! h7 t# H4 S
  935. ; http://php.net/date.timezone
    4 j2 [+ R8 v$ u/ m# [" c. T
  936. date.timezone = PRC- x- M6 m# o7 D) b8 M% I: Q
  937.   \: B8 M. V6 P- U8 V8 Z$ |
  938. ; http://php.net/date.default-latitude
      V# e, a; v9 y! c" J
  939. ;date.default_latitude = 31.7667$ u9 v6 m- @  l: j

  940. ! k' e; n4 [- v
  941. ; http://php.net/date.default-longitude
    7 `9 }. R& @/ V8 H1 p+ h
  942. ;date.default_longitude = 35.23334 R, S  D; D6 U: R. |# g

  943. . c, K0 }; A% z' ]% m% O" {
  944. ; http://php.net/date.sunrise-zenith4 i) A9 Z- C4 l0 |( \3 N( q# G
  945. ;date.sunrise_zenith = 90.5833339 ?+ p) ]( R( X$ {
  946. * _) d6 d# Z9 K  K  M5 e3 `
  947. ; http://php.net/date.sunset-zenith
    ! Y  w' N4 b, H/ C  J/ L' O
  948. ;date.sunset_zenith = 90.583333
    + q( z+ \, z2 ~) H
  949.   m: u& Y/ `) |
  950. [filter]2 ]4 b4 _. \% i: @! l7 x9 c& S5 J
  951. ; http://php.net/filter.default, X/ x1 o' F& E9 g2 W/ S
  952. ;filter.default = unsafe_raw1 B0 [3 n7 z4 z, f( g0 w  x8 P7 M7 C

  953. 3 x! P5 k! y- p$ M$ q: U: d' j
  954. ; http://php.net/filter.default-flags
    * o8 ~& ?/ V% e
  955. ;filter.default_flags =
    : y6 e- y$ O# u! b3 ?. Z+ _) T; S
  956. 8 v1 K2 j$ s- }+ y. }% }) ~
  957. [iconv]
    + v$ a$ K$ L5 G. p8 g
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    " }( n- J- I9 g0 m, C
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.* G) W( \$ _3 V" g7 k+ Z- P: D
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    8 v4 Z. S8 g+ q. P1 B9 l
  961. ;iconv.input_encoding =! ]6 q2 {0 o! {  b

  962. # k- x; L1 P- p( c' u% {; |$ h3 g
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    ; Y8 M9 ?8 t8 j2 b
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.9 W/ P7 i9 ^& T2 ^2 A
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
      _* v" q) R* k- b: H# y' f
  966. ;iconv.internal_encoding =
    6 V% l' L( E) @2 e6 V

  967. 3 o8 ]& w) y" r, f: D9 Q( h" X
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    2 s* s& ]2 \* Z9 n  Y
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    2 l+ @! U, x$ i; f  [4 I8 J" O. p
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding: p* Z* F# f3 d: e
  971. ; To use an output encoding conversion, iconv's output handler must be set' p, S6 i1 Z7 ?2 @' c
  972. ; otherwise output encoding conversion cannot be performed.
    ' M: y  U' I! w. c# R$ l% c
  973. ;iconv.output_encoding =
    # `' p9 ?- _9 h, o& |

  974. ) M2 J4 p- l! g* B5 v
  975. [intl]
    # G  ?2 {# m% x- ^3 d% ~8 P3 ~
  976. ;intl.default_locale =: ]3 G! x% y, Q& A( n
  977. ; This directive allows you to produce PHP errors when some error  J2 T$ G2 M6 P% B: M
  978. ; happens within intl functions. The value is the level of the error produced.0 J, p# C8 s6 r
  979. ; Default is 0, which does not produce any errors./ [8 W8 D8 C4 y
  980. ;intl.error_level = E_WARNING
    " D6 k6 u/ Z- Z$ O* j' i/ {: L* x
  981. ;intl.use_exceptions = 0
    + q9 U. G; v1 o" ?# h
  982. * x: K, k1 {! i2 P; g0 N7 P
  983. [sqlite3]
    9 z" E& g( G# {, T( L7 N
  984. ;sqlite3.extension_dir =" K- g1 ~3 U  V) m; S
  985. ) w. N: E' X% Y2 p4 V
  986. [Pcre]+ A& N( o( U1 {8 r
  987. ;PCRE library backtracking limit.% Q; z; E; O( v6 F; P& r; {
  988. ; http://php.net/pcre.backtrack-limit" p& x$ N  D: x# w% G
  989. ;pcre.backtrack_limit=100000
    ! V* Q/ x0 a  j# N

  990. 3 a' G8 x6 }( J( z) N3 y
  991. ;PCRE library recursion limit.
    2 t) L9 Y# L; ^9 ~+ g- l
  992. ;Please note that if you set this value to a high number you may consume all: Q6 S; l( U6 c2 u, J
  993. ;the available process stack and eventually crash PHP (due to reaching the
    % Q5 G" f  J) G6 {+ O  [
  994. ;stack size limit imposed by the Operating System).8 B& p/ ^" N- B' m; o) o+ E! s
  995. ; http://php.net/pcre.recursion-limit
    2 B  b5 x' W1 a. _
  996. ;pcre.recursion_limit=100000
    . {" k7 j! O8 m& J+ u+ ~* l

  997. 8 P. G, l* l8 X2 ?8 R0 d- H3 \6 y3 Q
  998. [Pdo]
    % a, G+ I" q" f6 A  O
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    2 `8 G+ L/ v& u/ r
  1000. ; http://php.net/pdo-odbc.connection-pooling# a: C# J9 s' t# ^" N: \
  1001. ;pdo_odbc.connection_pooling=strict: L3 j. I* x) B: e

  1002. ) A) T" j& C1 V
  1003. ;pdo_odbc.db2_instance_name
    5 t! T! C5 D2 p, [+ w' Y$ S  a9 c
  1004. % J: [* z4 u- I7 C! ~
  1005. [Pdo_mysql]# j. {  L0 l# @2 p' r( G2 c0 J
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    4 y" t5 w# t) ^0 x6 `5 Q1 t2 L# ?
  1007. ; http://php.net/pdo_mysql.cache_size
    0 a  E2 h+ V* V5 m9 p
  1008. pdo_mysql.cache_size = 2000
    ) r7 y& ^2 |$ w8 n% v9 f1 w
  1009. 5 Y% Q; a3 M& t7 c
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    : q# N) Q; E/ z! ]$ r* l
  1011. ; MySQL defaults.4 p& }8 f: m+ R3 V9 \) Z9 ?
  1012. ; http://php.net/pdo_mysql.default-socket6 H5 K- D( m8 E) ]" h
  1013. pdo_mysql.default_socket=2 f. A$ q4 ]$ a6 f0 N3 @
  1014. " T( O' ^6 g  i& S2 C" |
  1015. [Phar]  p4 `5 J1 Z4 n! {
  1016. ; http://php.net/phar.readonly3 S4 Y$ p" f( J0 G9 N  H8 N
  1017. ;phar.readonly = On  `" ?& D/ A0 z0 ~3 T

  1018. * A! y/ l' H/ \! H- Y/ Q4 ^) h
  1019. ; http://php.net/phar.require-hash
    2 `9 F+ L. t$ _$ M8 j- v2 d/ v
  1020. ;phar.require_hash = On
    ) k0 c! u9 i% \

  1021. ) B7 J& d* u+ k+ y4 U3 `4 L
  1022. ;phar.cache_list =1 X2 W: Q! {& Y
  1023. ) P- Q  l4 F! N; S: Q; E
  1024. [mail function]
    3 [% C$ s3 u8 H& t1 W
  1025. ; For Win32 only.9 D" V& ^# H1 W
  1026. ; http://php.net/smtp6 M" B/ S7 W* K! A( V3 B3 b
  1027. SMTP = localhost. z( w/ r$ {: J& Z2 {. w
  1028. ; http://php.net/smtp-port9 {) N: |1 z& Z
  1029. smtp_port = 25
    0 ]7 A; n: j2 l- A5 v
  1030. , o& p4 F+ }% L' V  c
  1031. ; For Win32 only.7 e: [; M  A3 M8 p
  1032. ; http://php.net/sendmail-from
    ! i5 O* D, [: J( a3 ~) D7 ]7 c: M
  1033. ;sendmail_from = me@example.com7 ]# T0 [6 ?# R0 W/ A/ ~9 E
  1034. " r2 I; b+ w7 i, x. I- O
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    & }" r: E9 i+ Z$ m* K
  1036. ; http://php.net/sendmail-path( J5 C0 a9 j# _, p1 ^% a
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    7 K7 u4 ~9 f& c- ~3 R7 T/ F
  1038. , P- C  n9 y3 I7 |/ C/ P! X
  1039. ; Force the addition of the specified parameters to be passed as extra parameters0 p9 p& ~& {+ R, e7 |0 F* d
  1040. ; to the sendmail binary. These parameters will always replace the value of) A0 g! f$ x) i4 ]
  1041. ; the 5th parameter to mail().
    7 g6 V; m; Q/ B& V; p8 C- p
  1042. ;mail.force_extra_parameters =
    # y2 B: f# M% V! n* T# z9 s

  1043. " ?( N. M" q9 q( W) ]- i: a
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename5 ?# E0 j2 z" T' k
  1045. mail.add_x_header = On
    7 i  t+ h+ ]; A0 a9 q
  1046. 2 H2 g+ g4 k" T8 I3 \& w
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    7 `0 n3 G; Y0 ]2 v# ~
  1048. ; the full path of the script, line number, To address and headers.
    ) X* C/ n4 J, s: J
  1049. ;mail.log =
    3 u$ a: f# r8 H6 g
  1050. ; Log mail to syslog (Event Log on Windows).# V0 z0 |, I) U) N/ N# ?% v" [
  1051. ;mail.log = syslog8 c5 C& Y0 o- C: {

  1052. 7 d6 M* |, C. F. _# b$ q. H" l
  1053. [SQL]
    1 W  H7 T) D# O4 {
  1054. ; http://php.net/sql.safe-mode$ y7 \& I  K! Y! L$ l# ~1 W! \
  1055. sql.safe_mode = Off
    3 S2 L# m6 C+ V

  1056. ' b! e$ D" k& v/ {/ Q
  1057. [ODBC]
    2 U# B& x5 p; q  B
  1058. ; http://php.net/odbc.default-db
    3 J: a9 O) r/ {: K- K
  1059. ;odbc.default_db    =  Not yet implemented! f3 P* b# m7 q2 n* _5 j3 B

  1060. ! K$ ?# @2 P& c- x
  1061. ; http://php.net/odbc.default-user
    * y- }* m6 P% ]2 I6 B
  1062. ;odbc.default_user  =  Not yet implemented( c7 `* i- l8 [3 k; b6 ^8 A  N

  1063. . b& E3 g* U( Q* h4 Y; t* Q
  1064. ; http://php.net/odbc.default-pw
    ; ?. |. B+ `' i2 w* i6 G
  1065. ;odbc.default_pw    =  Not yet implemented" i7 G+ t; A$ E6 c* D
  1066.   \% y) z- J' p9 o7 N' _+ x
  1067. ; Controls the ODBC cursor model.1 x0 F; U/ G9 u2 m: f, x
  1068. ; Default: SQL_CURSOR_STATIC (default).9 j2 a* \/ J3 S
  1069. ;odbc.default_cursortype
    % Y7 k* l3 w) o, R+ V  A
  1070. 9 _  a& ]8 a) s; s) J% Q( y
  1071. ; Allow or prevent persistent links.
    , ^* }2 D  u* V7 S- R
  1072. ; http://php.net/odbc.allow-persistent
    " u$ b% t$ m0 S
  1073. odbc.allow_persistent = On% V) q* f; E' O! V! d) M# Q

  1074. & O2 H2 i) B" X8 y; f
  1075. ; Check that a connection is still valid before reuse.4 b8 W& A: S) M
  1076. ; http://php.net/odbc.check-persistent( `1 `. @3 l- n
  1077. odbc.check_persistent = On
    0 W( V# C$ D6 P/ t4 ?1 ?

  1078. ! p: J8 V$ P. L" W% O: `7 U. C
  1079. ; Maximum number of persistent links.  -1 means no limit.
    + ?0 e* R% m. F; r. J
  1080. ; http://php.net/odbc.max-persistent
    ; ^% k" d; d4 v, Y1 p* y
  1081. odbc.max_persistent = -1# a+ b7 N9 u' |/ E. N, `8 S5 l4 X- J

  1082. 5 d( J6 s- ?+ m' s* g& Q8 ~
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    $ F3 J% ?) s1 s/ y
  1084. ; http://php.net/odbc.max-links& p- ]- d- M  Q# I" e
  1085. odbc.max_links = -15 ^% h3 J( |3 G$ N9 G5 O. |

  1086. ! R: ~/ ~$ P0 w
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    9 t# o" s8 N# S; ^
  1088. ; passthru.
    , ?8 q0 F9 L8 L9 ]- p6 a, l" e
  1089. ; http://php.net/odbc.defaultlrl, l& V; U$ x0 }  S# r6 ]
  1090. odbc.defaultlrl = 4096
    % D4 C# H3 w% s8 j6 Z

  1091. & U) I: V4 b. K" L9 s: r
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    - A" O' L. ~' V* |, a
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation$ \2 C! v4 w- u
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode# {$ Z+ O$ y  n% }4 a4 ?8 k
  1095. ; http://php.net/odbc.defaultbinmode5 M$ M/ O* t8 N  s
  1096. odbc.defaultbinmode = 10 f. i" Z- h9 S. ^  k
  1097. 0 k" \" j0 m; R5 O. j. b
  1098. ;birdstep.max_links = -1; A7 @. x  I  B0 g
  1099. 9 ?6 y0 ]7 p4 Y; ]- r& [% H" ?
  1100. [Interbase]
    & G. J6 y7 ]) l& e; H# \2 q, J
  1101. ; Allow or prevent persistent links.
    & _6 E9 {$ m0 H* \  [3 P
  1102. ibase.allow_persistent = 1
    " h& N  ^$ M* l( x
  1103. $ Y2 \+ q: w/ o
  1104. ; Maximum number of persistent links.  -1 means no limit.% G6 c  h' U$ q2 e; I2 j
  1105. ibase.max_persistent = -17 h7 u7 _" z- @4 @+ y/ @1 X

  1106. ( n' i1 v& @6 v+ `
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    4 c! ~) j9 P2 k
  1108. ibase.max_links = -18 \6 y- O, }/ F# K% B; }; h3 g- w
  1109. " Q; [! l5 \6 U8 f5 m9 M; V1 v; P. l
  1110. ; Default database name for ibase_connect().$ n2 Q# k& w  c2 e1 X: {" H3 _6 W
  1111. ;ibase.default_db =
    ' H4 Q6 k4 W) R

  1112. & Q% U9 e: W4 d; N
  1113. ; Default username for ibase_connect()." X0 ~" T  l* K8 I" R/ |* A+ M2 ^0 ^0 x
  1114. ;ibase.default_user =7 [4 n$ T/ ~' A9 e+ x# n" o4 y

  1115. ( u2 M. _2 `9 t  P
  1116. ; Default password for ibase_connect().
    1 t4 x& U0 H; q2 h
  1117. ;ibase.default_password =( A5 a9 b+ i- @* y
  1118. * |$ T; E& b7 I* u4 L
  1119. ; Default charset for ibase_connect().
    & J. p" O3 S0 f# d+ s9 _
  1120. ;ibase.default_charset =
    ) L' \, t- E* @' M5 b( k; v

  1121. - A( l0 O2 G$ P. h: y
  1122. ; Default timestamp format.
    , q( f+ Q4 R" u% f2 G
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"0 ?: @7 {4 `4 M! x  I
  1124. # t4 h: Y0 ?. ^6 R& h4 S
  1125. ; Default date format.
    ' y2 V6 r$ H3 _' b
  1126. ibase.dateformat = "%Y-%m-%d"' t# Q, c) m% F- m

  1127.   |& z2 A2 C" N4 {
  1128. ; Default time format.! u, n0 e+ F5 Z+ V4 K
  1129. ibase.timeformat = "%H:%M:%S"# ]2 F- f, G5 U; u4 l$ c: V
  1130. ) a& J( `" K3 a- s: E6 [$ T" p
  1131. [MySQL]
    0 }) a! B+ W' a
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements- K$ O+ Q8 a( H+ P
  1133. ; http://php.net/mysql.allow_local_infile; B. Y6 a- M# Q! h) }6 p4 \' d( h& K
  1134. mysql.allow_local_infile = On
    . y" C* [7 K$ R

  1135. ! v; L; b) g' ~
  1136. ; Allow or prevent persistent links.
    . p$ [# l3 @" ^7 H: \4 V
  1137. ; http://php.net/mysql.allow-persistent
    # d$ k2 K7 [5 D0 X
  1138. mysql.allow_persistent = On
    1 s6 V3 d' ~8 D8 B$ c

  1139. ) v3 u# K5 a( y' e! Q7 U) t$ i
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ( _1 p: c1 k& x7 q8 T8 o  K0 H6 H
  1141. ; http://php.net/mysql.cache_size! ^! X) I! {$ B' U9 t
  1142. mysql.cache_size = 2000/ W( E: Z2 @, ?% G! R

  1143.   A% O# b6 c( ~$ D
  1144. ; Maximum number of persistent links.  -1 means no limit.+ z# O! T7 ]: c
  1145. ; http://php.net/mysql.max-persistent7 P+ r7 a. l! B* h* ?% U( C
  1146. mysql.max_persistent = -1  H! h+ d/ x7 V7 ]0 @
  1147. 3 J9 y/ |. h' l4 G
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    1 B5 G( e! ^9 @8 ]5 a
  1149. ; http://php.net/mysql.max-links
    9 j5 ?  j% n9 W9 [
  1150. mysql.max_links = -1
    " _3 c) d% Y8 S2 L  r) L
  1151. ' a8 ?/ B1 m1 s) ^
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    " l+ @9 L5 K1 N3 G' x
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    2 n. A' \4 M; z6 Y$ @; c
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look- M1 L8 j) q6 Z% t3 W, k
  1155. ; at MYSQL_PORT.
    - {! C5 K8 r1 S
  1156. ; http://php.net/mysql.default-port
    8 N; T# f1 V) V1 X
  1157. mysql.default_port =
    2 ~4 l! g+ {8 d) ?
  1158. 2 W/ m- J3 @. e) l
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in) L$ p9 [# j  M" q
  1160. ; MySQL defaults.
    ) U' g( k8 h2 G, ?3 v) W! h$ ?" q
  1161. ; http://php.net/mysql.default-socket
    & d( ^* K& O2 R, b
  1162. mysql.default_socket =9 Z9 {$ K3 W% P8 H: h, R3 V3 N* h- K
  1163. 0 u' m. V# z, a$ J  j3 L: U
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).$ z$ U: e+ Y4 J) R8 f
  1165. ; http://php.net/mysql.default-host
    * E  ~5 y" S  c5 t/ p4 J: K7 C! ^
  1166. mysql.default_host =
    8 M" X/ P  M* ^" P
  1167. 4 m* a. v  t, w2 ~& d; {% g1 O
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    $ y7 g3 h# ?4 U
  1169. ; http://php.net/mysql.default-user: l' Z3 e$ `/ O* _! w+ ]" `& x
  1170. mysql.default_user =  B! N& }7 i: Y) e5 E2 ?! V; d
  1171. 9 R5 }2 m. f: s( R+ A
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    7 _- e0 T! Y$ w% U3 y
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    , k; o! |1 {6 J  N- D; d- t8 c
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    % f; i% O4 I6 x0 h
  1175. ; and reveal this password!  And of course, any users with read access to this
    9 m8 m* }5 y, e1 F, M
  1176. ; file will be able to reveal the password as well.1 y: p% Q$ Y  n3 l' P( w& E3 R' v
  1177. ; http://php.net/mysql.default-password4 ], Z# J$ b& z( z4 V2 R  ~1 U
  1178. mysql.default_password =
    9 Q  i5 y. G' P, B8 D2 t+ R1 }
  1179. # P1 P; i; v" ^7 e$ U) V
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit  A5 ], j. h0 s! X2 h
  1181. ; http://php.net/mysql.connect-timeout
    % m: |* w; Z3 t0 T
  1182. mysql.connect_timeout = 60
    ) w1 N* j- L/ z6 J0 v
  1183. * F8 k6 W9 U- u7 E% g0 A  G
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    " }( l4 H$ X. p
  1185. ; SQL-Errors will be displayed.5 \# W% ^. c' |+ ~! E, C. f( N
  1186. ; http://php.net/mysql.trace-mode! i. b# u. B  `0 r+ ~8 {, D  Q
  1187. mysql.trace_mode = Off
    ! }8 d0 }# H2 B3 x3 t" C
  1188. " R5 t; K1 ?7 n- T
  1189. [MySQLi]3 ~5 d& l/ t$ z# q

  1190. 3 _* W+ w$ p$ M# l) Q" H7 m
  1191. ; Maximum number of persistent links.  -1 means no limit.+ D2 D) a- ^/ N" ~" t
  1192. ; http://php.net/mysqli.max-persistent
    , i, g5 y  f2 a
  1193. mysqli.max_persistent = -1
    ( s4 C5 f# a; m4 E$ X; _

  1194. 3 ~# v( V5 D. i% B. o" \
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements8 g/ N& x- l" K
  1196. ; http://php.net/mysqli.allow_local_infile
    3 T) u9 S5 y( D2 P; `6 X  z) y
  1197. ;mysqli.allow_local_infile = On
    1 l: f8 C# `$ A6 w

  1198. & C2 y% x, s9 d$ A! h7 D# j$ m
  1199. ; Allow or prevent persistent links.
    & t& t: d  G9 C4 I- Z3 V: q
  1200. ; http://php.net/mysqli.allow-persistent5 ~6 z' v1 `, K
  1201. mysqli.allow_persistent = On$ e( w8 j9 i& J# z

  1202. 4 O- N& j# c1 {$ t
  1203. ; Maximum number of links.  -1 means no limit./ x, e! }9 P4 q; k
  1204. ; http://php.net/mysqli.max-links* U2 o8 J" N. f% R5 @, |+ }1 c! x3 b
  1205. mysqli.max_links = -1
      n0 `+ J' K3 [3 ^' Q$ _

  1206. 3 [$ X. @/ x, T" c* V3 J
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache) N) @$ H4 u7 B9 X: k4 ^( |
  1208. ; http://php.net/mysqli.cache_size
    4 `! h; ^) c: L/ T+ d4 o# B
  1209. mysqli.cache_size = 2000
    , ^0 c- {( Y( r  \3 J9 ^
  1210. ; x# A# c; d4 P! U- h2 Z' {
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    - D" y7 H% {1 i# M) Z1 }' y
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    ( ]5 S8 Y9 c9 z8 Z7 Q/ ?$ J6 P5 [
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look' g' Z) I7 X, C- z! e2 a$ w( r
  1214. ; at MYSQL_PORT.
    7 ?4 O& Z" C6 l' V* O
  1215. ; http://php.net/mysqli.default-port; `, O& h. b) R3 \
  1216. mysqli.default_port = 3306
    6 R7 [" X. {2 N

  1217. * z6 ^( S+ r+ T5 V, Q5 J; s2 K1 {
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in5 N+ O* |6 X4 p5 s* s7 D
  1219. ; MySQL defaults.
    / G! [- N4 p) ?( j' x" r% k
  1220. ; http://php.net/mysqli.default-socket. w* K, P# Y! t: r* M
  1221. mysqli.default_socket =3 b& f) \. z: S( j: p2 `

  1222. 4 B% T: A! B6 t9 M4 _. N/ `
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).1 ~* g& b7 t2 }; U* ~
  1224. ; http://php.net/mysqli.default-host+ h5 m0 w. {. S9 @
  1225. mysqli.default_host =0 ~  ~9 k0 w/ O
  1226. # C: x$ ]4 l% [# Q
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    8 i! T) v7 I% A. {
  1228. ; http://php.net/mysqli.default-user
    7 |9 C; H, M1 @* Q; Y8 c" ^, E0 s
  1229. mysqli.default_user =$ w: |1 Q! B( [2 G- Q( ?8 N

  1230. % A  w  s$ L5 \" Q
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    % @: h' t' }, k/ f
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.1 N; S+ _3 B5 T) w: k- m
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    . g2 C) W4 b9 k* r
  1234. ; and reveal this password!  And of course, any users with read access to this
    ) g* {$ Z( b" t& Y: G
  1235. ; file will be able to reveal the password as well.# b+ A. |# i+ e* Q5 V, L6 c( r
  1236. ; http://php.net/mysqli.default-pw
    # |& K& }- I, K& f) }
  1237. mysqli.default_pw =. F2 i8 c  e! j! e7 n) c* R
  1238. % y3 t- ?: R# b: T* s$ k! N
  1239. ; Allow or prevent reconnect
    + O1 O& |+ \+ E% g& |- R" [
  1240. mysqli.reconnect = Off1 M# [& q* v# A: A! g  J- Q

  1241. 1 r! B. @8 Q  E# B/ q
  1242. [mysqlnd]  T0 G1 S9 Q  b; I
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be! m' M! B; ^( W) v2 I
  1244. ; used to tune and monitor MySQL operations.
    # P2 L% \/ E* ?. P) X
  1245. ; http://php.net/mysqlnd.collect_statistics
    . M" W7 X/ b4 A8 F
  1246. mysqlnd.collect_statistics = On
    * d7 Y$ H! }- J3 g

  1247. / ~8 ^# {' r5 F" z- I, f& }5 J; A
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be8 e! I# g: K) [, y, _( X3 G# ?
  1249. ; used to tune and monitor MySQL operations.; o6 j) S" Q- {% R7 z" w) R
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    " J, r2 B) \+ |2 l! }! r
  1251. mysqlnd.collect_memory_statistics = Off; V4 c, j; u: V! M: @& ~& z; ?# M9 b# N
  1252. % s% D1 l2 m( L
  1253. ; Records communication from all extensions using mysqlnd to the specified log- s1 W2 I1 m% [+ A! R
  1254. ; file.  I2 Z- z5 x/ N" F
  1255. ; http://php.net/mysqlnd.debug/ X. Y: m, A+ ]; m+ ~
  1256. ;mysqlnd.debug =2 q( ?' p1 D3 u0 {

  1257. ; W/ L! [* |9 C( A0 W( ~
  1258. ; Defines which queries will be logged., D; ], F1 h/ S: V, ^
  1259. ; http://php.net/mysqlnd.log_mask
    1 q5 I: [" [8 C# c
  1260. ;mysqlnd.log_mask = 05 Y4 G) U: C) @( G( D+ m
  1261. ; {  ?/ I: K  y! D4 k5 _1 j  v
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    / C& @" O" C8 w; y7 O' K
  1263. ; http://php.net/mysqlnd.mempool_default_size- J9 [2 M& A, y7 W) ]& L' e
  1264. ;mysqlnd.mempool_default_size = 160002 X# S" {; z+ p8 ?% `

  1265. , B$ D* q/ u$ }
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    ; T% c3 U- W3 i  n5 q+ l# v
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size4 P7 h! O/ C* y1 h6 M
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    : O* w* X1 F, U0 ]) _& O; V! r
  1269. ! f: [/ _5 c; ~& B0 }7 e# G' S
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in8 q' P/ |! Y! m4 @- x5 V+ q/ v
  1271. ; bytes.
    ; V+ u- W2 u0 [. d* ^
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    ( t! k7 `) j+ I6 p, z: A1 S
  1273. ;mysqlnd.net_read_buffer_size = 32768
    , H# i! |. J& K% a! Z6 l8 n* Y

  1274. ' a; N% |  K+ E- h- H
  1275. ; Timeout for network requests in seconds.9 {3 c' T& }+ |
  1276. ; http://php.net/mysqlnd.net_read_timeout
    8 H* k  k8 {! k: N  u( ~
  1277. ;mysqlnd.net_read_timeout = 315360001 A  z0 f( t0 H: F+ L2 H/ @

  1278. 3 G$ q) R0 P/ }
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    3 F* |& f1 ~# e: r
  1280. ; key.
    6 _" h4 u% ^" m
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    8 w! C9 x+ t, D2 J
  1282. ;mysqlnd.sha256_server_public_key =
    $ L" w4 p) t; `8 W: f6 Z

  1283. . c, U, E1 E" {, A$ B) }; H
  1284. [OCI8]
    2 P0 D! m( V4 e

  1285. 5 |$ n! T% ~  H; z: |
  1286. ; Connection: Enables privileged connections using external! |7 P; T/ i2 ~) A7 C7 `# ^
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)6 S' x2 m. M' b( a% m
  1288. ; http://php.net/oci8.privileged-connect
    1 U" Z/ R$ R- ~" ^
  1289. ;oci8.privileged_connect = Off+ A8 R8 Z+ l% y! {8 v3 l: g! N5 e
  1290. . g" X7 A+ P. y, c4 s6 D
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    $ l4 q! @! u+ f& y2 d
  1292. ; process. Using -1 means no limit.
    5 f4 N, h# a* V; K% r
  1293. ; http://php.net/oci8.max-persistent
    , W, e) E2 L, t5 ]
  1294. ;oci8.max_persistent = -1
    & `4 u6 G9 o% x) t0 I2 X5 Y
  1295. $ H  a% O& X+ W: E1 `! `
  1296. ; Connection: The maximum number of seconds a process is allowed to
    + V$ o9 k' ^# q9 A' A5 l
  1297. ; maintain an idle persistent connection. Using -1 means idle: v+ J- L2 b/ l' o7 }
  1298. ; persistent connections will be maintained forever.
    8 k1 g, d3 R$ c3 G9 p' ~' Q
  1299. ; http://php.net/oci8.persistent-timeout4 h7 q' L) P+ s2 Y' [: ^
  1300. ;oci8.persistent_timeout = -1
    $ C* c+ z. i$ J- F. D9 T! g
  1301. 2 z' D0 Z/ w; F+ y0 w6 w" {
  1302. ; Connection: The number of seconds that must pass before issuing a& d' [6 X& V% V" C) f, J8 n* A+ ]
  1303. ; ping during oci_pconnect() to check the connection validity. When
    ( h2 ]) b" d+ g
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    ; I0 Y7 x  R8 q
  1305. ; pings completely.
    - _& p! M, N% k$ `- v" q! L0 r
  1306. ; http://php.net/oci8.ping-interval
    4 `6 p3 I* x9 M+ a4 _
  1307. ;oci8.ping_interval = 60
    4 v% C: V" S% H

  1308. # `1 A- N- H. ^6 U% U8 i
  1309. ; Connection: Set this to a user chosen connection class to be used
    - C6 E% g+ C) V
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    ! Q8 ~: r% q7 M
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    1 s2 H( a. b, x# K+ x
  1312. ; the same string for all web servers running the same application,
    " j4 V: S2 l: t" W6 H+ f; y# ?
  1313. ; the database pool must be configured, and the connection string must" B/ u; ^3 {1 q
  1314. ; specify to use a pooled server.- v; |' R) x$ C8 l1 B1 ?6 a' _
  1315. ;oci8.connection_class =
    ; s, W: g, J0 n& ^1 T, I0 T

  1316. , C7 O; f# u* |' b. m- e* H
  1317. ; High Availability: Using On lets PHP receive Fast Application! f7 \: g8 z  k/ k5 S1 o2 d+ n
  1318. ; Notification (FAN) events generated when a database node fails. The
    ( d: t* h. |; Q( E0 Q$ a
  1319. ; database must also be configured to post FAN events.
    7 t: u( x( q4 ^1 _
  1320. ;oci8.events = Off
    - Z6 M7 f  s8 j) f. T2 ~( W+ @

  1321. * @% t/ y+ W" Y/ ^( }, \
  1322. ; Tuning: This option enables statement caching, and specifies how! B2 s% ~# N/ N& D
  1323. ; many statements to cache. Using 0 disables statement caching.
    2 h6 _( L9 S# ]- G- N- X+ _
  1324. ; http://php.net/oci8.statement-cache-size4 Y& z6 Z7 K% v/ L: o8 J" ?( j
  1325. ;oci8.statement_cache_size = 20
    # I  W6 x3 |$ p6 J$ z$ W
  1326. , Q0 O8 L# O" x
  1327. ; Tuning: Enables statement prefetching and sets the default number of) r6 r. z' w' [. a* @
  1328. ; rows that will be fetched automatically after statement execution.
    ( _9 G8 \: J; C9 H9 {! X
  1329. ; http://php.net/oci8.default-prefetch& |2 f9 m! \2 V8 y9 Q* w
  1330. ;oci8.default_prefetch = 1003 ?$ O9 h$ {# e/ X6 D8 f

  1331. 4 a" W9 X3 v. a7 K- t* T2 {
  1332. ; Compatibility. Using On means oci_close() will not close. S3 H, F' v( a; A0 E2 R2 p
  1333. ; oci_connect() and oci_new_connect() connections.8 m6 i: \' l9 D9 W" L
  1334. ; http://php.net/oci8.old-oci-close-semantics
      o# n: y0 E$ G
  1335. ;oci8.old_oci_close_semantics = Off
    # q; k! N0 @& ]" r) U5 r

  1336. % y) U  ]- }: C2 k4 ]5 m4 r% }
  1337. [PostgreSQL]
    5 o+ v& O0 f7 |1 Q
  1338. ; Allow or prevent persistent links.& r, E5 z# |$ R2 }- F' O. D
  1339. ; http://php.net/pgsql.allow-persistent
    ( n* N; N4 ]" L8 ^
  1340. pgsql.allow_persistent = On
    ' L2 M3 J( h: X; A5 F! V5 u

  1341.   A- p  {' U( ^
  1342. ; Detect broken persistent links always with pg_pconnect().
      L' p5 f# P) ?
  1343. ; Auto reset feature requires a little overheads.
    3 P- R, p7 n+ f! P
  1344. ; http://php.net/pgsql.auto-reset-persistent
    / ]8 B5 z$ x- q
  1345. pgsql.auto_reset_persistent = Off
    , K/ j4 s/ v: F- {7 k% j

  1346. 5 n' ?4 v; x( W6 Z7 F
  1347. ; Maximum number of persistent links.  -1 means no limit.
    : `8 c' H; @/ P* V! k( \5 q2 M% @3 t. O
  1348. ; http://php.net/pgsql.max-persistent; v1 h* E# `8 @. J4 z9 l( l; Q
  1349. pgsql.max_persistent = -1
    1 B7 y. Q( a5 c. D3 d
  1350. 6 a. v) p5 l9 V9 r
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.+ _! r) {, r) u
  1352. ; http://php.net/pgsql.max-links
    7 Q* q" L7 f' `; U5 C0 H' A5 `
  1353. pgsql.max_links = -1( T& N9 G- y$ @+ n# r$ ?: g7 V
  1354. 0 ]; a) @  q9 V, Y" f. ?4 R, u6 `4 V$ l
  1355. ; Ignore PostgreSQL backends Notice message or not.
    ( L% |  S8 y: u3 h2 j- v
  1356. ; Notice message logging require a little overheads.
    7 t0 r; P) }6 r% z5 m1 k
  1357. ; http://php.net/pgsql.ignore-notice
    , b7 o7 c7 s$ O
  1358. pgsql.ignore_notice = 0
    $ A: d. H- |  N+ j/ Z5 D9 T0 l% @
  1359. 5 K; P7 Z' i$ [, ~4 f& ]' g
  1360. ; Log PostgreSQL backends Notice message or not.
    : P3 R0 i; y" F. f
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.+ W5 I" _, u1 n1 j" O' |
  1362. ; http://php.net/pgsql.log-notice( M; P" A/ R8 M" U7 N1 L
  1363. pgsql.log_notice = 0$ C% B- r1 C8 J' _* x+ q' t# p
  1364. % N: U& p# f) ^% r
  1365. [Sybase-CT]
    0 l2 {( R$ o3 k* A0 Z0 c/ p
  1366. ; Allow or prevent persistent links.
    3 ~7 _7 ~* y* X7 V1 ^1 B
  1367. ; http://php.net/sybct.allow-persistent( e( {% k; H# S' B7 s
  1368. sybct.allow_persistent = On
    " k; k  q5 e( O4 f: h

  1369. 3 a4 ?7 u! ^' `" o( C1 E
  1370. ; Maximum number of persistent links.  -1 means no limit.. {9 U! F! x$ {2 v8 |* z6 {7 r
  1371. ; http://php.net/sybct.max-persistent! o0 |5 J1 G, @( v3 L7 n7 Q% Q
  1372. sybct.max_persistent = -1
    7 ^" C8 t/ V9 F! b" H4 j
  1373.   o! V% l9 J# H6 i3 I6 B! u
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    1 E* z3 Z- z. l# r0 H3 R1 K
  1375. ; http://php.net/sybct.max-links
    . n# ?  W) A. b& k
  1376. sybct.max_links = -1
    9 p7 w; E- X: z: h1 w

  1377. 5 X1 }* I/ N7 y$ Z& o7 G
  1378. ; Minimum server message severity to display.5 O; Z* k1 j- @- |2 k4 H
  1379. ; http://php.net/sybct.min-server-severity* O( ^3 D, p2 ~! f% U4 S% F
  1380. sybct.min_server_severity = 10
    8 E3 M. b0 O. R
  1381. ' l, a1 S% y1 G7 x, j
  1382. ; Minimum client message severity to display.
    " h, h, v& k. S* L  A
  1383. ; http://php.net/sybct.min-client-severity3 n' f' y! T: g1 F' X( R0 Q* N" }! ]  \
  1384. sybct.min_client_severity = 10" ]- G% h" k! D0 ~3 K: r

  1385. : f- l7 V) O. Z( C9 u  [8 N8 w
  1386. ; Set per-context timeout3 _& G5 k$ K# I% H2 N6 e
  1387. ; http://php.net/sybct.timeout- _( k" V* E) Q2 ^
  1388. ;sybct.timeout=) i! z1 N# W# r$ r# ^4 X9 K2 l
  1389. 2 D% o& G$ F: Y* \' a
  1390. ;sybct.packet_size
    5 ^; x# M0 ]) i% r( v
  1391. * R! B8 ]3 a% ?7 A
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    6 ^8 _: O8 P  N  J7 D& Q
  1393. ; Default: one minute
    % W! P0 F( p) d: }4 O1 q3 z, O! k
  1394. ;sybct.login_timeout=
    9 o  v& k0 L5 ~7 _- m

  1395. 6 l6 q/ ~* }8 a' @
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.! i7 x1 C# \2 J
  1397. ; Default: none9 ?1 X' L' G1 p4 k" f4 a
  1398. ;sybct.hostname=; L  Q$ Q# _, T6 T7 E5 }
  1399. * c7 _3 W% @$ v
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    4 C# T# T1 |7 r
  1401. ; Default: 0" V& p! n" ^) {; G
  1402. ;sybct.deadlock_retry_count=
    % `8 E' @" a2 p- o3 s. G
  1403.   [: V% w. N# J2 L4 S
  1404. [bcmath]
    - w# V6 l2 g8 I% C! I) u$ e
  1405. ; Number of decimal digits for all bcmath functions.
    ' `+ u, u* d# i* \' v8 p! H/ k
  1406. ; http://php.net/bcmath.scale
    ; w$ g+ S, w, K1 ~2 b
  1407. bcmath.scale = 0
    : [) W* K3 P, ~) j
  1408. 3 o  q5 r% Z/ c9 L: T$ g
  1409. [browscap]
    0 d' |  c) f) P5 W- l( z
  1410. ; http://php.net/browscap; @' }3 l3 W1 g& Q2 m- A1 l8 ~* R
  1411. ;browscap = extra/browscap.ini
    ! v0 {+ ^" p" n& c8 y

  1412. ! a) y* ^% ^  z2 f* ^1 `' c
  1413. [Session]
    : x$ Y$ G0 C% |! g/ I
  1414. ; Handler used to store/retrieve data.
      H2 p3 s, ]2 |6 p  X; X( l9 l
  1415. ; http://php.net/session.save-handler+ _* @( i1 |6 F; Q
  1416. session.save_handler = files
    * l: Z: z" h' v1 f
  1417. , e, L; u3 d( c/ q
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    / [% B& J0 l3 e/ u
  1419. ; where data files are stored. Note: Windows users have to change this$ B- |0 E( a: r$ f  j
  1420. ; variable in order to use PHP's session functions.
    " Z/ ?7 H/ _( D- W
  1421. ;
    : A+ r* A" V* a& w# v  q, d7 n- ^& i
  1422. ; The path can be defined as:7 b, U/ o7 Q# M- f+ ?
  1423. ;( D- U, @0 P. b4 y, _! s# ^
  1424. ;     session.save_path = "N;/path"
    * i3 s$ U5 y( w* h0 Q* l0 @
  1425. ;
    0 w4 g' K5 ~/ m5 D, V8 W: r
  1426. ; where N is an integer.  Instead of storing all the session files in8 }, ^0 p+ D& V* O
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    , g! f( o( p# `6 X9 t5 m
  1428. ; store the session data in those directories.  This is useful if% p$ a2 J. W* B  n" f% e) ?, K
  1429. ; your OS has problems with many files in one directory, and is
    7 m* S6 G* G' {) H
  1430. ; a more efficient layout for servers that handle many sessions.2 s7 X  @0 F1 R6 |
  1431. ;9 q: \$ J# _$ i* F7 s
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    + Z4 c$ b  ]& j
  1433. ;         You can use the script in the ext/session dir for that purpose." @7 P/ g6 b1 ]
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    6 ?8 k# z, I, D' F( D
  1435. ;         use subdirectories for session storage2 L3 O& T( I; K
  1436. ;  u7 P0 T+ i/ J+ _
  1437. ; The file storage module creates files using mode 600 by default.5 E. H+ J" [! N% u
  1438. ; You can change that by using
    . D0 a$ [. w+ ]
  1439. ;% z9 q9 s* ?4 H
  1440. ;     session.save_path = "N;MODE;/path"
    * M! ^2 M% ]0 V7 F9 |: h8 n
  1441. ;5 _+ g& [9 J  E/ Q! v  j0 y% {
  1442. ; where MODE is the octal representation of the mode. Note that this' Q# x5 ?6 y7 ?$ w, y
  1443. ; does not overwrite the process's umask.
    8 x4 u+ Y- k! m% ?) e  x- S: v
  1444. ; http://php.net/session.save-path. P4 o8 G4 @% s9 x  P: x
  1445. ;session.save_path = "/tmp"' ~' j% G( V. G/ N0 Q

  1446. ( d" b; @2 f% D. j& z: |3 b! r
  1447. ; Whether to use strict session mode.2 ^4 ]  k5 y6 V4 ^8 O
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    . f0 F1 ?  K0 F+ `
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    / t& w' E1 h( x; U" B
  1450. ; applications from session fixation via session adoption vulnerability. It is" q. T% j* q; n. x' W# p3 v
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    8 c, W+ K6 k/ U' T1 y8 V" w
  1452. ; https://wiki.php.net/rfc/strict_sessions
    ' i2 @" e  v6 Z  [# w2 S+ m7 v
  1453. session.use_strict_mode = 0% b: f$ r* R' F
  1454. - e: }6 x( k' L: Q# K9 O9 Y% M
  1455. ; Whether to use cookies.
    + s4 @1 X4 E0 U, j
  1456. ; http://php.net/session.use-cookies
    # Q; P* J& ]% e8 z2 [, L* q; L
  1457. session.use_cookies = 16 l8 z+ \2 m- V! V& u& }" Q

  1458. 5 _& _$ O9 d9 K
  1459. ; http://php.net/session.cookie-secure
    ( \& M0 y5 ?; D% i/ \+ D1 h
  1460. ;session.cookie_secure =
    " X9 x' S7 e2 M: m8 {" g

  1461. - M" ?: [/ s, i' x1 I
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    9 Z8 ~) j9 b5 L8 Y5 a4 f
  1463. ; the session id. We encourage this operation as it's very helpful in combating& b1 S0 z) W$ J# ?; U
  1464. ; session hijacking when not specifying and managing your own session id. It is; W4 l2 e6 R- V5 k9 d1 }" S
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    5 Z; F  Y! ]6 A8 o2 S# |
  1466. ; http://php.net/session.use-only-cookies2 H3 u7 t+ t; g6 S, `
  1467. session.use_only_cookies = 1# u$ A5 j# D6 z! X
  1468. 7 C! G; t! Z( H$ a
  1469. ; Name of the session (used as cookie name).
    4 k. [& p! U) F2 X
  1470. ; http://php.net/session.name( @/ |7 H1 r& s, T9 b. u  j
  1471. session.name = PHPSESSID
    9 O" H+ `; s3 a# |. Q% X
  1472. ' [+ B. \4 w3 M1 x) j( `; D
  1473. ; Initialize session on request startup.8 i* P0 d; \& \
  1474. ; http://php.net/session.auto-start
    , t- u: R- i: F+ b
  1475. session.auto_start = 0
    4 {  d, |$ H# m* H0 z2 [8 e

  1476. 8 C( }  l; _# I/ k" ~
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.9 }% f5 e! t( o5 w
  1478. ; http://php.net/session.cookie-lifetime: X' J4 Q: v3 R! {# N1 V$ d. b3 k
  1479. session.cookie_lifetime = 0+ {) k! v1 R6 ~, E$ u) N+ d
  1480. + V2 A- `: f5 X' U/ w
  1481. ; The path for which the cookie is valid.
    6 z" S9 S# L/ C! T
  1482. ; http://php.net/session.cookie-path
    4 w9 s* m0 w- k1 s  ~
  1483. session.cookie_path = /
    $ F4 Z" u! e" H0 ?
  1484. ) O+ L* t% i6 C! j3 b; [
  1485. ; The domain for which the cookie is valid.
    7 P) E* R" `& W' n. ]/ D
  1486. ; http://php.net/session.cookie-domain
    % p4 `6 E8 I1 J/ t
  1487. session.cookie_domain =3 L& o0 J, m! k) z$ ~% O7 y% k

  1488. ! b5 E8 j3 N5 L, a) ~" O
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.9 l5 H* y' W  O2 y# m
  1490. ; http://php.net/session.cookie-httponly
    9 o1 M2 K+ H9 f# P3 U
  1491. session.cookie_httponly =
    # P  }  J- I0 }& T6 F0 a  j5 j0 U

  1492. ) [) p; B# ^$ e$ A/ E' b' z
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.# q1 O4 _: z3 \4 o6 m4 y
  1494. ; http://php.net/session.serialize-handler: H0 i0 f6 l/ d) v
  1495. session.serialize_handler = php
    , X: Z' a, c' q$ Q  @
  1496. * P$ e  U0 S* Y3 d# V2 Z9 I( j
  1497. ; Defines the probability that the 'garbage collection' process is started" h4 d0 f; m7 i9 b
  1498. ; on every session initialization. The probability is calculated by using
    3 b6 \6 s4 j, A: Z0 \
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator7 v( ^( Q0 n$ X  r
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    ! [& O- K% Y+ w8 d7 y0 x& M" I
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
      ^# e. N3 j0 O0 n9 C
  1502. ; the gc will run on any give request.2 y5 f% o5 ]2 r% g2 b# G2 K
  1503. ; Default Value: 1
    ; g3 _  k- v, g( }3 ^( J$ Y) @% Z) Y
  1504. ; Development Value: 1  N( @3 E$ {5 Q9 N
  1505. ; Production Value: 15 ~" o7 I/ e$ d, y" e. x
  1506. ; http://php.net/session.gc-probability2 n. F/ C$ a, R( k. B( B
  1507. session.gc_probability = 1* q/ Y8 h, ?! v( H: m1 G& B% z

  1508. 5 t" Y  l! n" M! a, X
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    6 Y6 F+ P1 S2 V0 ?' g* f: j
  1510. ; session initialization. The probability is calculated by using the following equation:
    $ G8 J3 Z$ u  x7 r" B) S  b) z
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    % c- j5 y# v6 I6 c; U5 |7 H1 @# X
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    # ^9 T0 a+ ]  G3 Z/ p
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    + ?. C; P0 M& X
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you; E/ G. w' E, M5 ~
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,: E* s; p) m: [
  1516. ; this is a more efficient approach.
    3 g" t1 v' j3 ?' G% e
  1517. ; Default Value: 100; X5 u7 R3 s% k$ ~$ u
  1518. ; Development Value: 1000
    5 i7 F7 p$ P+ Z
  1519. ; Production Value: 1000
    * j% K( B& i  L
  1520. ; http://php.net/session.gc-divisor( E$ [" M1 ?- O5 m3 Y
  1521. session.gc_divisor = 1000* t& u! x4 e  V, }
  1522. : x% n# `7 N; X
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    . ?% i7 v6 J  J; ?' K+ j; a
  1524. ; cleaned up by the garbage collection process.
    9 [0 S6 d$ g; u0 `+ Q
  1525. ; http://php.net/session.gc-maxlifetime7 J$ G  y+ _4 }3 W+ x9 A$ e
  1526. session.gc_maxlifetime = 1440' |2 w" Z: z  p

  1527. 7 ]+ o5 }, a# n
  1528. ; NOTE: If you are using the subdirectory option for storing session files0 c: m1 n3 P, X) Z& g9 G
  1529. ;       (see session.save_path above), then garbage collection does *not*( k' c# U' |0 m6 M0 F4 s7 a
  1530. ;       happen automatically.  You will need to do your own garbage" i, W# r6 @  J" ?6 N' u
  1531. ;       collection through a shell script, cron entry, or some other method.
    + b" Q2 Y0 X* K8 i5 }
  1532. ;       For example, the following script would is the equivalent of
    , I+ t- R5 _  D* F% C3 v
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    : O, U3 n: t6 f; A) `
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    - ~9 `8 m* V: x. r) n8 {. Q$ z
  1535. 9 o7 o$ o1 [, y
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.! A7 `0 _7 V! f5 z/ P1 ]5 v
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    5 _( Z: v  r3 y5 J1 t! c
  1538. ; considered as valid.. U, X' E! D  ]
  1539. ; http://php.net/session.referer-check% B1 S! I: @& M% w
  1540. session.referer_check =
    0 _, b- i) R! i( L9 S7 N5 x5 y% G
  1541. 0 k& T' C: y, l: H" A/ v2 ]
  1542. ; How many bytes to read from the file.5 D, |& ]1 u+ N9 Z0 F' d
  1543. ; http://php.net/session.entropy-length
    6 c% V0 e' ^- P" G
  1544. ;session.entropy_length = 32
    ) Y+ X! ~) V$ |" y
  1545. - s$ `* Q% ?7 c( ^
  1546. ; Specified here to create the session id.; l4 f. {  j6 `3 Y
  1547. ; http://php.net/session.entropy-file4 ?; W4 |8 T9 ]( X4 \
  1548. ; Defaults to /dev/urandom
    1 ^- g& [+ ?3 Q5 N' g! o
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom9 q& X) v' {5 a
  1550. ; If neither are found at compile time, the default is no entropy file.5 R7 k) j, y. G' I
  1551. ; On windows, setting the entropy_length setting will activate the- a. b3 x# S  x$ ?
  1552. ; Windows random source (using the CryptoAPI)* a* r* {' @- D" f
  1553. ;session.entropy_file = /dev/urandom
    * e: x% A/ I% r0 F' v& k/ E

  1554. % P! g7 \' D( E% P3 o# E
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects% H+ Y5 Z6 U. ]
  1556. ; or leave this empty to avoid sending anti-caching headers.
    2 y# y% D* z0 f7 Y$ H( _
  1557. ; http://php.net/session.cache-limiter
    # x( {- h) S5 R( ^: u
  1558. session.cache_limiter = nocache
    4 K3 E+ v$ }" y0 [0 `9 \" M, f

  1559.   h: U+ q; v; N* {. B
  1560. ; Document expires after n minutes.6 o0 @( I8 u# }
  1561. ; http://php.net/session.cache-expire
    $ [7 w. B7 Y" F8 Z
  1562. session.cache_expire = 180
    2 h0 X2 c, w! H( Q6 Q7 N. D2 A
  1563. % G5 r: w( k4 d; w# ^
  1564. ; trans sid support is disabled by default.1 ^3 A3 k  {( `( y
  1565. ; Use of trans sid may risk your users' security.
    ( [( N' K2 H2 Q+ z- n9 r
  1566. ; Use this option with caution.
    ( T7 G) ?( g  G- ^: W3 B5 P
  1567. ; - User may send URL contains active session ID+ M0 a. B. j+ q
  1568. ;   to other person via. email/irc/etc.# ]2 H' ^1 m; n' }7 E) R2 z/ r
  1569. ; - URL that contains active session ID may be stored3 q4 i# k: H2 B
  1570. ;   in publicly accessible computer.
    3 k; e9 T5 O& h- m3 q  \
  1571. ; - User may access your site with the same session ID* @& k/ M! p3 p1 A
  1572. ;   always using URL stored in browser's history or bookmarks.
    7 Y- h  P1 y. G$ ~
  1573. ; http://php.net/session.use-trans-sid
    7 y7 K) l. m, H0 ^( q8 M  H5 j
  1574. session.use_trans_sid = 0% |; H- Y  e. U/ Q
  1575. 6 i# q7 O- u4 ?* U
  1576. ; Select a hash function for use in generating session ids./ w& a- ]1 F5 @0 v. r6 t
  1577. ; Possible Values& _7 R1 \! ~4 a$ E" A8 X
  1578. ;   0  (MD5 128 bits)* q6 `( U0 n# o
  1579. ;   1  (SHA-1 160 bits)
    2 f( e  M, K6 Z* w
  1580. ; This option may also be set to the name of any hash function supported by
    8 z6 J+ v$ i' S( R0 q
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()9 K( |- ?, f( G0 Y
  1582. ; function.6 O- E$ r; g9 c4 N: U6 j2 ]  {
  1583. ; http://php.net/session.hash-function
    * }$ q+ s) k$ f0 D$ Q, R
  1584. session.hash_function = 0
    % r9 h, W0 g% l) ?+ `9 v/ h8 `0 \9 l% p) @
  1585. : c  \* K: H" {; D, U7 V7 a( P- C
  1586. ; Define how many bits are stored in each character when converting& Z( w8 [+ z5 Q$ W
  1587. ; the binary hash data to something readable.
      t  o  q. |% |
  1588. ; Possible values:6 x  a) N. W! t
  1589. ;   4  (4 bits: 0-9, a-f)3 {) y% V1 x$ M9 @* R
  1590. ;   5  (5 bits: 0-9, a-v)
    : O5 [( |" u4 w
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    ; S7 s1 O) z2 q8 C2 M( L5 H
  1592. ; Default Value: 4
    % s2 j+ A, T6 F) s
  1593. ; Development Value: 5
    / V% }: t( Y* B1 Y8 {
  1594. ; Production Value: 5! b: l! b( a1 w+ w* B# `5 ]
  1595. ; http://php.net/session.hash-bits-per-character
    ! T! J  }$ k* L* y" d$ ^
  1596. session.hash_bits_per_character = 5
    ) M$ y) ?- ?# S, F5 Z  l
  1597. 9 j6 z: b/ i$ g. d7 x5 s
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    " [9 e/ @- X& O7 Q
  1599. ; form/fieldset are special; if you include them here, the rewriter will6 }+ f8 S0 y/ J/ M3 N; U% p- A/ R" q
  1600. ; add a hidden <input> field with the info which is otherwise appended. v. j6 h5 }4 V' N5 l
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.+ D) h9 W0 g+ @& n7 S3 I9 _
  1602. ; Note that all valid entries require a "=", even if no value follows.3 D( E( F) l5 o
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    # C! I9 b  V, l0 A" c- d
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"0 }1 C& j9 S9 y; J, j8 ^+ q
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"8 B: A) |& n9 r" G* t
  1606. ; http://php.net/url-rewriter.tags( @$ J, S5 g1 m: `  f5 V
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    ' I6 _$ x% F, X% c
  1608. & i8 f% g* P' _# v! z, F
  1609. ; Enable upload progress tracking in $_SESSION
    + k8 M# K3 {# r9 x& a
  1610. ; Default Value: On
    8 W: ]5 i6 l  }
  1611. ; Development Value: On/ u# O6 X! {( v, F$ j4 f6 D- Q* o4 |
  1612. ; Production Value: On
    ! H; M' h6 d$ U6 I( I# \
  1613. ; http://php.net/session.upload-progress.enabled" x0 H# O/ q( @$ c
  1614. ;session.upload_progress.enabled = On
    ! {% h- e0 I" N
  1615. , R) P4 q6 ]4 o) I* L+ h$ S; v/ ]
  1616. ; Cleanup the progress information as soon as all POST data has been read
    7 `/ U6 S0 Y7 H5 M
  1617. ; (i.e. upload completed).
      Z. Y+ P8 \% x2 p  p# _
  1618. ; Default Value: On
    + h! Y( u3 o) f& e
  1619. ; Development Value: On. ?/ N, w2 ^  C" h9 x' z
  1620. ; Production Value: On6 u9 t5 u( T) r, F8 `. w
  1621. ; http://php.net/session.upload-progress.cleanup0 ]0 r5 E3 Y1 n; Z
  1622. ;session.upload_progress.cleanup = On: e5 W+ R# Y4 l5 A
  1623. 9 i+ w. a/ Y0 a$ C+ [
  1624. ; A prefix used for the upload progress key in $_SESSION
    7 R0 Z8 V: o0 f" f) _
  1625. ; Default Value: "upload_progress_"
    ; s. s' ^' K: m/ e) d! x% B
  1626. ; Development Value: "upload_progress_"5 h, B. A9 H& L
  1627. ; Production Value: "upload_progress_"
    : Z# S3 d2 U: G
  1628. ; http://php.net/session.upload-progress.prefix
      s+ v1 [) R- z. i
  1629. ;session.upload_progress.prefix = "upload_progress_"
    / e! x1 I  h6 i* u1 c
  1630. , M/ w8 _& o# @! o0 {) F
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    2 W! u7 e$ p, L9 Q
  1632. ; containing the upload progress information, C+ v; H$ c# S8 V, F
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS") K: B8 n  a  ~9 h
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    8 a" w4 o+ \5 {$ b
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    : g1 b7 L) i" v+ v  H
  1636. ; http://php.net/session.upload-progress.name
    % |: X+ G, _# b/ E
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"! {5 S: U1 }: h# L* F( Z* d
  1638. : Z! r: z+ K/ }5 E& q
  1639. ; How frequently the upload progress should be updated.
    2 A4 y( r8 x/ b0 O, Y; `
  1640. ; Given either in percentages (per-file), or in bytes
    , x2 L6 i& O9 x/ C, F
  1641. ; Default Value: "1%"
    # D! U* a! }; J5 P3 |, J+ v! [, m
  1642. ; Development Value: "1%"5 b( a( F- I( S
  1643. ; Production Value: "1%") K5 r# [5 h2 _1 E/ q" f
  1644. ; http://php.net/session.upload-progress.freq6 m5 B! [9 O# \
  1645. ;session.upload_progress.freq =  "1%") `: Y( g6 W; i$ b2 D8 d
  1646. + \% ?" K6 x. @+ v- J7 T
  1647. ; The minimum delay between updates, in seconds; g: e* n1 ~% d' a8 Q2 m1 g
  1648. ; Default Value: 1$ k' Z' W5 C3 m: u1 c
  1649. ; Development Value: 1. m" h, V  g1 A
  1650. ; Production Value: 1
    / F3 ]. }0 m2 Z9 o2 `
  1651. ; http://php.net/session.upload-progress.min-freq
    # Q: Q9 f3 J$ f
  1652. ;session.upload_progress.min_freq = "1"7 O6 u+ }  ~1 }  v, e( r

  1653. ; q& c( i0 g+ B6 X) Y3 U6 l. R
  1654. [MSSQL]! M* N8 Q: c# g# ]* Y% Z% f  X
  1655. ; Allow or prevent persistent links.
    ' g; C( s4 ]$ I# r+ n
  1656. mssql.allow_persistent = On
    + O* }$ N. G" @6 U7 D, h5 A% v9 A
  1657. ! i$ f! q, z8 x0 x
  1658. ; Maximum number of persistent links.  -1 means no limit.
    . N1 v& u  r+ D% o6 g  a' S8 `9 m# D
  1659. mssql.max_persistent = -1
    * f$ \0 C1 q# P2 J; n3 y) Q

  1660. , h" h; K% L- I: i+ ?) d
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.7 h6 Y2 P0 f% ^' d5 ?
  1662. mssql.max_links = -1
    & ?1 W  \# a7 x, [2 s5 x7 I

  1663. 8 b- U3 s& ?! e4 @* m% }
  1664. ; Minimum error severity to display.
    5 K1 i- q, ]+ N( z0 k
  1665. mssql.min_error_severity = 109 m" J* l9 I/ T, F) ~8 K

  1666. # ~: D: y* M6 |( `7 J( }
  1667. ; Minimum message severity to display.  J2 n4 s7 e: ~+ Q$ f7 h0 `' ^
  1668. mssql.min_message_severity = 10
    3 B6 v( X4 _( `8 S+ S( J" x8 O
  1669. 6 N3 _: W/ T/ {: d
  1670. ; Compatibility mode with old versions of PHP 3.0.
    ! a) I4 y6 n$ c8 f; x3 s) I
  1671. mssql.compatibility_mode = Off) V2 }1 O; Z6 r5 C" G
  1672. * \  n' v& P* i) \" b, h
  1673. ; Connect timeout
    # R# R# S8 m6 S" e& E: [% Q6 ~; l
  1674. ;mssql.connect_timeout = 5
    ; S* m2 T" O5 o; P& r6 X
  1675. % ~* k  i: T$ J: w! ^- b- U
  1676. ; Query timeout
    . |4 p6 ]  _1 M8 M; a8 s
  1677. ;mssql.timeout = 60
    , b+ c+ H# _' D  w. U% V( C) n

  1678. / F" Q& o$ Q  g! ^$ D4 ~
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    * G# }3 ]& z5 d! S* `. k7 D; M
  1680. ;mssql.textlimit = 4096* w* Q) h$ N# K, P7 ]. E( m8 F

  1681. . C/ [" L$ w6 ]" r
  1682. ; Valid range 0 - 2147483647.  Default = 4096.. L3 v; ~. y  f! X& O; I  ?" h
  1683. ;mssql.textsize = 4096- R* S! h: y; [7 j- d$ ?2 J
  1684. 1 N- {, m) _6 A/ f
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    8 a; K& Q6 B+ b! a2 G  B/ M$ W
  1686. ;mssql.batchsize = 09 _0 f- W7 G8 B' U; g4 L7 ^4 O6 n# m) b

  1687. 9 F2 ~9 U7 i4 a& M" `! |
  1688. ; Specify how datetime and datetim4 columns are returned
    4 J5 G+ k6 A$ T' S8 O5 A
  1689. ; On => Returns data converted to SQL server settings1 t, F& Z" g( I, i
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss$ x4 W5 n$ @) G3 C# k. y
  1691. ;mssql.datetimeconvert = On& @5 M* H# v1 }( k6 T
  1692. ! @$ R2 r1 Q* x+ G7 y+ ^/ M& V5 a
  1693. ; Use NT authentication when connecting to the server
    ; }. c/ t: v  @$ X  ^( j( L. ^
  1694. mssql.secure_connection = Off
    2 ?: E" D* Y0 R6 U4 u1 i! P
  1695. ! M# U1 E1 ~8 [0 B; N* k
  1696. ; Specify max number of processes. -1 = library default
    1 x  ]/ p. Y+ X( U# V' `
  1697. ; msdlib defaults to 255 \8 K% c. g& x& T$ j
  1698. ; FreeTDS defaults to 40966 H0 O5 i  f; B3 A
  1699. ;mssql.max_procs = -1
    3 L' b: U3 h9 U9 z9 H9 U$ ~

  1700. 4 F6 s0 G% c4 H& S' g
  1701. ; Specify client character set.1 H. \- T/ l  ~+ p8 L
  1702. ; If empty or not set the client charset from freetds.conf is used
    ( y0 o. T5 [6 `
  1703. ; This is only used when compiled with FreeTDS, j, u  H3 E% C* j4 g7 F9 ~- q
  1704. ;mssql.charset = "ISO-8859-1"
    ! t8 m0 `. V9 T: q" _

  1705. % o& ]& b" [/ A; a0 Z+ ^
  1706. [Assertion]& n) q5 n! ]( U, }4 X0 C; D
  1707. ; Assert(expr); active by default.$ |* Z/ U1 @& y; u9 u# M
  1708. ; http://php.net/assert.active! W2 I, f7 h" V# q; @0 x. ~8 b
  1709. ;assert.active = On
    5 e4 z8 D% @3 b* y# r- B; ~

  1710. 5 U# u% |8 U. ]$ w* |' H, h( S
  1711. ; Issue a PHP warning for each failed assertion.# s& M1 m9 ~! R  D' l/ r! d
  1712. ; http://php.net/assert.warning
    / e" l$ e# V0 W
  1713. ;assert.warning = On
    " s, c# Z: s+ H6 i( ^0 I% C

  1714. 5 x/ @( b( L7 q8 _  E
  1715. ; Don't bail out by default.
    ) Q/ e+ t+ h2 z# b+ y6 B1 Q. O
  1716. ; http://php.net/assert.bail5 B) o, [5 o$ k' @& w
  1717. ;assert.bail = Off
    % V; s) g) z5 v9 U9 \9 E5 R) d
  1718. % V! q) `4 e2 a: p- P/ _, `, e4 M
  1719. ; User-function to be called if an assertion fails.
    # T, l8 Q0 z2 f
  1720. ; http://php.net/assert.callback& o; O% U6 c6 v8 q
  1721. ;assert.callback = 0+ R( J' ~0 a4 r: W5 U

  1722. / ?9 m4 f% R7 t' [9 |" c+ ^
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    8 o: X0 S/ o! D% O. q
  1724. ; error_reporting(0) around the eval().% i* Q" |6 k  b; Y) r# B
  1725. ; http://php.net/assert.quiet-eval
    8 F. e5 p( z2 i1 T/ I
  1726. ;assert.quiet_eval = 0
    : m% k6 p) S+ \9 i' y- n) m; @

  1727. 1 y3 C; G- c& J. F3 b: ]
  1728. [COM]
    6 a, C, T( K, x# Z
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    % J# n3 y! n6 |7 y& O
  1730. ; http://php.net/com.typelib-file6 W6 z# o" h; e; d1 B, d( Y
  1731. ;com.typelib_file =
    % h- y) W1 H* o) M3 a3 ~+ X

  1732. " A$ H9 p. A0 ]3 B9 A- c
  1733. ; allow Distributed-COM calls
    ; U& a# o, ]' y9 G) S; _2 H/ w
  1734. ; http://php.net/com.allow-dcom
    & k8 h# _8 n& }# \* Z
  1735. ;com.allow_dcom = true3 n6 c3 @# {% ^+ N$ I

  1736. & L# ]& l4 \" b4 @* ]4 J# J9 {
  1737. ; autoregister constants of a components typlib on com_load()
    % d; A8 p7 r" M1 e6 }3 |; K
  1738. ; http://php.net/com.autoregister-typelib
    8 C/ D9 T9 G1 }( I( b* e
  1739. ;com.autoregister_typelib = true
    . L6 J8 p# m  u3 N  c) p9 O3 {1 r6 A

  1740. 6 h  Y  r$ Q: K4 p$ M
  1741. ; register constants casesensitive9 ~4 W: K) O. k- I* {
  1742. ; http://php.net/com.autoregister-casesensitive6 r& M2 Y. G+ V( V# q" e% P
  1743. ;com.autoregister_casesensitive = false
    : X1 g3 O# z' X( e: x
  1744. ( X, {" t0 y% ?) y
  1745. ; show warnings on duplicate constant registrations5 c2 g6 g6 k( Z/ Z) b5 S% o7 w+ h4 `
  1746. ; http://php.net/com.autoregister-verbose/ \$ }# P6 n/ Q
  1747. ;com.autoregister_verbose = true6 t' t5 y4 `, X

  1748. 7 y. b! S2 Y) V, [
  1749. ; The default character set code-page to use when passing strings to and from COM objects., J) j8 x! r# O. ]( K# |
  1750. ; Default: system ANSI code page' z. V' J5 s" }; [# H  ^
  1751. ;com.code_page=
    6 ^+ l5 e* n. X1 [4 M
  1752. / I& A; Q8 g& m
  1753. [mbstring]
    , a4 N0 T( i1 l9 ^9 R$ L) t% e
  1754. ; language for internal character representation./ O4 k" C4 |& b' {9 r0 @
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.. ?2 x1 F9 i' W; i- L8 x  [+ j+ K6 n
  1756. ; http://php.net/mbstring.language
    , L3 w& e3 w1 e+ x  z- y& n, s) H, u
  1757. ;mbstring.language = Japanese
    7 T4 _8 B' c1 @0 c4 |  ?
  1758. $ N2 W) C2 l5 H0 E4 R1 }# r
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    - Z2 ^) t6 C$ K$ f
  1760. ; internal/script encoding.
    ! F5 G% @( j( n4 @' V
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    ( z0 X  c; |. w& n2 c2 l) r
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.- V9 ~/ r$ N/ Q( C
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding$ j6 N: I% `/ B, c
  1764. ;mbstring.internal_encoding =
      D) c+ S1 i5 c8 O. a) f
  1765. ( C- f# x# @. A4 O& O8 j9 T
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.- h  b( O9 U' l; [' S' C
  1767. ; http input encoding.1 b7 x% ^: s  L: G$ g
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    3 @( w$ x: {3 x# R
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    0 B/ b, b3 X. B( H& t8 I* O
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    * F8 l8 b/ k3 U1 O: Y/ c
  1771. ; http://php.net/mbstring.http-input, F6 \* T! Q, F+ X- o: O5 }  P
  1772. ;mbstring.http_input =; h" c9 x( O. \+ g+ [
  1773. 9 a3 v0 K; x9 g  F: W$ B' d
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.% c' s9 z) A, p$ S' i% y! {2 X: B
  1775. ; http output encoding.& \0 C6 P6 n9 z5 ~# Q8 S) ?
  1776. ; mb_output_handler must be registered as output buffer to function.
    & K* u3 Y' Q$ @0 G7 V; E! a# o
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.' i8 B) e7 B* c3 j, _+ ]0 |
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output4 q* H* n  v. V$ m8 A
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    2 ]2 b7 `# K4 x" \( s; d
  1780. ; otherwise output encoding conversion cannot be performed.( ]. o( }, M; q; ^% W5 C' B9 l  R
  1781. ; http://php.net/mbstring.http-output) M9 u+ O: l; R
  1782. ;mbstring.http_output =) Q' {" O1 U5 W
  1783. 8 h4 ]$ k8 p- d
  1784. ; enable automatic encoding translation according to8 I. H4 Z/ t% u* g2 o
  1785. ; mbstring.internal_encoding setting. Input chars are
    0 b* ^0 U; C+ F* T" B, W; E
  1786. ; converted to internal encoding by setting this to On.$ s0 N$ X2 S) R* m* s/ K1 }
  1787. ; Note: Do _not_ use automatic encoding translation for- V2 u, _- I4 h# h( e$ o$ ^
  1788. ;       portable libs/applications.
    % I; q& \  z; B: G9 }
  1789. ; http://php.net/mbstring.encoding-translation+ K. o- H0 ], V) I; r+ c
  1790. ;mbstring.encoding_translation = Off
    4 s4 w" r3 Q0 L  N* n7 s+ l/ s- Y
  1791. ' [6 C, c  f) ?7 d, ?0 Z
  1792. ; automatic encoding detection order.3 c+ m) w8 g) z* s
  1793. ; "auto" detect order is changed according to mbstring.language
    + Y2 s0 j. W$ u9 N$ m$ ]
  1794. ; http://php.net/mbstring.detect-order0 K8 d& v: ?/ h& o
  1795. ;mbstring.detect_order = auto
    8 _$ L: z) Z5 x

  1796. ' s3 f) D, o* J- ?
  1797. ; substitute_character used when character cannot be converted
    ! O% y9 B! Y6 o) f( W% K' {
  1798. ; one from another
    ' j% Q& M, F0 c
  1799. ; http://php.net/mbstring.substitute-character/ d' E" l7 D4 Y- r  E8 e
  1800. ;mbstring.substitute_character = none
    % m; J! |1 d+ a5 s2 M
  1801. 0 O: f2 v; Q& q
  1802. ; overload(replace) single byte functions by mbstring functions.
    " f! X7 s, {' W5 [
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    1 A+ N  k; l' ]7 Z: m# S3 c
  1804. ; etc. Possible values are 0,1,2,4 or combination of them./ d3 H- i$ b7 b+ K
  1805. ; For example, 7 for overload everything.5 b# i4 }. Y: X& |
  1806. ; 0: No overload
    . m5 h, i3 M: W! g
  1807. ; 1: Overload mail() function
    , n8 I  l8 |) l# {' X
  1808. ; 2: Overload str*() functions) Q" u1 f0 @( f  ]
  1809. ; 4: Overload ereg*() functions
    $ \/ u5 M% Z5 e" }) C$ |4 w$ L
  1810. ; http://php.net/mbstring.func-overload
    7 g* U  [3 o( ~+ N; b9 ^  w% H( P5 `
  1811. ;mbstring.func_overload = 03 S; Q$ O) i' P7 L# D
  1812. , j# w4 B/ g9 ]4 V9 A) a
  1813. ; enable strict encoding detection./ w" z# |2 ]3 |8 u
  1814. ; Default: Off# x+ N" J2 S. A
  1815. ;mbstring.strict_detection = On' p' {+ D5 `% v$ b2 ]
  1816. 4 x# ^4 C6 B% f/ v) W  J7 W
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()0 l) F, v/ t% q
  1818. ; is activated.7 M, ?/ Y, ~. |/ C. c
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml): d: g4 j: M8 T8 u5 _% X
  1820. ;mbstring.http_output_conv_mimetype=
    6 z: S4 _" q- U3 w
  1821. $ r: o1 X  A3 U+ {) a* U  e
  1822. [gd]+ U5 t; C* f1 a3 b& I6 v
  1823. ; Tell the jpeg decode to ignore warnings and try to create) T! P  ]* a! l3 v
  1824. ; a gd image. The warning will then be displayed as notices# A8 w4 b. v+ z2 X, u0 j
  1825. ; disabled by default
    , f8 A  }$ s+ a. |) Z
  1826. ; http://php.net/gd.jpeg-ignore-warning: \5 V  y) J5 z  K5 @
  1827. ;gd.jpeg_ignore_warning = 0
    1 G% G2 [2 E  b7 Q( q. |

  1828. 5 K: a7 i1 T  i' _, W
  1829. [exif]
    0 D* J( `/ U# x( H* P
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.# R/ N. H$ p! T5 J7 B- U5 ^
  1831. ; With mbstring support this will automatically be converted into the encoding
    " z7 d8 _7 J" |* }5 N7 d
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    . G1 B3 y5 {. f# d6 W1 k3 h4 S$ m
  1833. ; is used. For the decode settings you can distinguish between motorola and
    % Z/ h3 g# l' k' J  {; K4 q1 P$ r
  1834. ; intel byte order. A decode setting cannot be empty.7 v+ Y. q1 n. @( o$ B
  1835. ; http://php.net/exif.encode-unicode
    $ a" y6 o% H1 w2 Y& R; P
  1836. ;exif.encode_unicode = ISO-8859-15
    1 x) ]8 S- q5 Q% Z; M  d
  1837. ) Z' J0 L' M8 _0 z
  1838. ; http://php.net/exif.decode-unicode-motorola
    * Z) ]. n( z1 G7 X: ~9 y
  1839. ;exif.decode_unicode_motorola = UCS-2BE6 y3 F. U! a0 [; P

  1840. ' ^" u: [, r( q: w, w
  1841. ; http://php.net/exif.decode-unicode-intel
    1 d: m# _& i5 P0 v7 Q7 q
  1842. ;exif.decode_unicode_intel    = UCS-2LE* w3 P3 b3 `+ u6 `- C

  1843. 6 }# O# k7 o0 f0 f
  1844. ; http://php.net/exif.encode-jis$ W# C0 C) w+ Z$ t7 }. V
  1845. ;exif.encode_jis =
    7 H7 W* J, t3 T7 J" e6 K
  1846. 4 o" V1 ^; b4 f3 x& R; h
  1847. ; http://php.net/exif.decode-jis-motorola5 n; S/ ]$ ]  ~1 l% Z, K
  1848. ;exif.decode_jis_motorola = JIS- ]& o4 O3 P  N& {. B
  1849. 8 b) u7 [! f) _
  1850. ; http://php.net/exif.decode-jis-intel
    $ ~* E/ p$ H/ _8 o
  1851. ;exif.decode_jis_intel    = JIS
    # \$ E* d! w: O* H7 g9 m

  1852. / H  q% @+ s3 z
  1853. [Tidy]
    " V9 H6 K1 m0 K6 k2 R7 R+ q
  1854. ; The path to a default tidy configuration file to use when using tidy1 [, f& x2 ~) ?: X8 l
  1855. ; http://php.net/tidy.default-config3 O/ g4 d+ N* z
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg  u. `+ z; f/ a$ [7 [5 y# \

  1857. & u. c$ y( k; o% G# \
  1858. ; Should tidy clean and repair output automatically?: T) n+ n  H* [" W$ L  J: y/ M
  1859. ; WARNING: Do not use this option if you are generating non-html content. ]3 G# E$ _) y# {
  1860. ; such as dynamic images7 v% t% t, {, C0 g; v: ~
  1861. ; http://php.net/tidy.clean-output  S" ?5 e* q8 M& O. x
  1862. tidy.clean_output = Off
    0 m& G" Q& ~" c# O6 {1 o+ s( l" M
  1863. 9 o1 ^2 W1 A% Z; Q
  1864. [soap]- k. ^$ |) ?8 F/ B' K% b* Q$ T
  1865. ; Enables or disables WSDL caching feature.: Q$ M  n2 W8 w( B
  1866. ; http://php.net/soap.wsdl-cache-enabled
    5 H3 H8 c& x, A& _  v2 |& x' e. w
  1867. soap.wsdl_cache_enabled=17 H; |) u- a1 Q1 r
  1868. 5 G; l9 `( Z. Q
  1869. ; Sets the directory name where SOAP extension will put cache files.
    9 ]/ ]' b9 J0 F" V2 M' s7 P0 n
  1870. ; http://php.net/soap.wsdl-cache-dir0 D7 O  g, e! u9 p/ D7 H. _6 ?
  1871. soap.wsdl_cache_dir="/tmp"
    " q5 P* X" E: D: {: j1 h

  1872. . K% g1 Q8 p9 G  M( V) y$ v  {
  1873. ; (time to live) Sets the number of second while cached file will be used
    8 K4 V7 m+ X4 c- R  L' G  I# q8 p
  1874. ; instead of original one.0 [* f3 y  I0 W- \
  1875. ; http://php.net/soap.wsdl-cache-ttl! o$ N5 H* a1 G1 F1 i$ z+ @/ K
  1876. soap.wsdl_cache_ttl=864009 P% K6 l# Y9 `. X$ j" ?! f

  1877. # U; i; J+ s( g# b# F1 \% T2 D& w
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)  V+ R- \% M' L' F. q+ I
  1879. soap.wsdl_cache_limit = 5
    " G- R3 M& S: V& b" I) R4 Y9 J
  1880. 0 X! l1 ?7 ~& H8 p& m
  1881. [sysvshm]
    7 }! U  z! O' r9 d9 d3 Y9 U! J
  1882. ; A default size of the shared memory segment
    % Z# |6 x1 U; l! A: @- d9 x+ Z! ^5 R
  1883. ;sysvshm.init_mem = 10000
    ' y, \0 M$ o: C5 y; j1 Q# L

  1884. / ^6 B' Y; v! j. ~
  1885. [ldap]% N6 f# \4 D! o1 \- W  L
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    , t( o: A7 \, B0 E, y+ W  \1 v
  1887. ldap.max_links = -1
    5 a! {& F& z) x0 Y2 M* S- X1 F0 n* `
  1888. 1 p5 Q! T& R: R: N7 J  @
  1889. [mcrypt]
    ( I% Y! k$ O. M: F
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    8 `' v- z9 |4 t4 J

  1891. 3 x# x9 h) c; x/ s# ^$ U& ?
  1892. ; Directory where to load mcrypt algorithms5 @' _5 F7 Y  [. k% Q8 i
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    7 r$ [# F+ U8 B3 `
  1894. ;mcrypt.algorithms_dir=
    % o8 @* {. f; ?; Z7 f1 {& W& ]

  1895. * D2 O. ?9 p! J* r6 S1 f' {
  1896. ; Directory where to load mcrypt modes
    & d7 l5 t( @: Y8 `! N
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    # |2 {6 `- L: q5 L# x
  1898. ;mcrypt.modes_dir=
    6 D; N+ T9 _, T( {2 m* L9 B# B, J
  1899. $ S# N% b! k' X
  1900. [dba]
    2 A8 O) f$ z, b+ @
  1901. ;dba.default_handler=
    4 s% \, q' [: J, \; p# l" o

  1902. 2 l* T7 s3 ]9 Y& U
  1903. [opcache]1 W7 v5 H: f" X9 g" b5 o) R
  1904. ; Determines if Zend OPCache is enabled- V7 j& D# B* q) K3 v9 x& p  N1 \
  1905. ;opcache.enable=0
    7 f6 Q- _" C- f) Z7 f  [0 x0 A

  1906. 3 l9 ~1 E. }# @
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    7 H2 l* l4 {: T& I
  1908. ;opcache.enable_cli=0
    ( r8 Q/ @* E0 U( a5 {. }/ y% Z
  1909.   e3 h# A0 c- D$ }6 z2 a
  1910. ; The OPcache shared memory storage size.; [( k; W4 K9 E, u
  1911. ;opcache.memory_consumption=64  C& U8 O; o5 z( P( t

  1912. 5 V9 n: W7 `# K5 _
  1913. ; The amount of memory for interned strings in Mbytes.: m4 g  I8 z9 \# h: R) z+ H
  1914. ;opcache.interned_strings_buffer=4
    ' ?$ a3 A1 r0 v2 h1 [# @; g- v

  1915. ! ^+ J7 _5 d6 d; f/ A+ |
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    8 m6 i7 S$ F, Z# ^, h* `
  1917. ; Only numbers between 200 and 100000 are allowed.
    1 J& p1 ?0 n' [/ y5 Y
  1918. ;opcache.max_accelerated_files=2000& x7 p$ o  u: @2 N* R; \1 B
  1919. 8 Y3 L) D/ v- B
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.& j/ y7 I3 Y. A) S5 T$ ^3 A% a
  1921. ;opcache.max_wasted_percentage=5
    ) D, n. P3 B: y2 }

  1922. ! Z1 @! ]# v) V' |. x3 s$ v0 [: V
  1923. ; When this directive is enabled, the OPcache appends the current working
    , ?+ L  [1 n& g+ R. ~* ]
  1924. ; directory to the script key, thus eliminating possible collisions between# X! s+ l) ~( z* n0 m
  1925. ; files with the same name (basename). Disabling the directive improves$ l" {) D7 i  j  e, d2 ~  b
  1926. ; performance, but may break existing applications.
    3 M6 ~6 ~, P: Y
  1927. ;opcache.use_cwd=19 f0 B- x$ F4 l/ n+ w) y' E7 q4 M

  1928. 6 G* }: o! y% g
  1929. ; When disabled, you must reset the OPcache manually or restart the) p2 I6 F5 A* E! R  [
  1930. ; webserver for changes to the filesystem to take effect.
    $ V5 p. ?/ J) P; ]3 D
  1931. ;opcache.validate_timestamps=1
    . a9 U; m. c# ^
  1932. : v) D; {  Y+ K7 a# G0 X
  1933. ; How often (in seconds) to check file timestamps for changes to the shared% N5 h8 `- c4 T! Z
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    2 u2 F  F" [# }  `
  1935. ; once per request. "0" means always validate). Y9 j7 k- ~' }( Y
  1936. ;opcache.revalidate_freq=2
    8 J. h" @' v3 d3 f

  1937. - h# f9 w% ]& u1 D4 z5 B
  1938. ; Enables or disables file search in include_path optimization6 e0 b$ U  P/ [, ?; [
  1939. ;opcache.revalidate_path=0; D. j7 }8 g, T- @9 c  Z' z
  1940. " C. b9 y4 P! l( D% X  o" Q
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the) \* [5 ]& n% c# ^1 f: [; m
  1942. ; size of the optimized code.! j7 Y  H2 C- Q) b1 R8 ~
  1943. ;opcache.save_comments=1! N: o# O  M. z! f) L" a- H

  1944. " g/ M7 Q: v4 x7 f8 _: Z
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    1 N3 q7 u7 k9 u* e
  1946. ; may be always stored (save_comments=1), but not loaded by applications: s4 ~' u0 r, Z, D
  1947. ; that don't need them anyway.
    - l  D; e! E' |: m: k
  1948. ;opcache.load_comments=1& S4 ]% x$ m! T
  1949. 2 V* z6 y+ J9 y9 a
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code  k: P! P$ }2 ]) U1 B5 v  W0 }
  1951. ;opcache.fast_shutdown=0: }9 v# y3 P% W3 t% t
  1952. 4 q  Q% B3 @/ u1 f" r" y4 F
  1953. ; Allow file existence override (file_exists, etc.) performance feature." Y, V3 O  S  t9 q& U
  1954. ;opcache.enable_file_override=0
    . L6 G. x  H+ {9 j+ Q5 X+ a
  1955. " }6 d1 v/ k" N- ?6 ^0 Q, @/ f) U
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache  I' I$ O2 e, P5 m  }+ a
  1957. ; passes
    $ r( l0 \2 D1 r0 S
  1958. ;opcache.optimization_level=0xffffffff
    9 j7 I' J1 \" W, m- ?% w

  1959. 6 q/ t! D1 ^7 e; \5 `( B
  1960. ;opcache.inherited_hack=1
    + `9 X9 U& \+ U& O. N
  1961. ;opcache.dups_fix=0% }7 i3 e" r2 Z" o1 n/ H* ]- z

  1962. - O' i; E; b8 D5 r/ k+ |
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    0 }# P% B4 T; {! F( E; b7 P# O
  1964. ; Each OPcache blacklist file is a text file that holds the names of files3 i, X+ ?3 j. Y: D( W6 u1 z
  1965. ; that should not be accelerated. The file format is to add each filename+ _3 R% k9 e$ Q
  1966. ; to a new line. The filename may be a full path or just a file prefix) ?+ x. [. S  E2 J( S
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    $ h. Q' V, A1 O: J
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    4 ~4 d( |% f# l; z2 Z+ f% J  D
  1969. ;opcache.blacklist_filename=3 D( ]" d, J, f
  1970. ; B- K+ q/ }9 _4 D* n' O5 T+ |. `) ?+ U
  1971. ; Allows exclusion of large files from being cached. By default all files
    + |$ }" Q( F" u' ~
  1972. ; are cached./ q( z# R# ?% X
  1973. ;opcache.max_file_size=0* l( s) L4 F. c) `" Q  x

  1974. ; ?. D; t  N9 ~  _5 E& ~
  1975. ; Check the cache checksum each N requests.
    ) i! _5 [3 }7 R
  1976. ; The default value of "0" means that the checks are disabled.$ }3 Q/ D2 V8 }  d, f3 y; F
  1977. ;opcache.consistency_checks=00 Z6 U- P9 Z) O

  1978. / [6 m! k1 _* r; X& B
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    7 q3 P+ Q& K' B' s6 c% h& I
  1980. ; is not being accessed.& o7 T# H. N: ]; d- I4 r
  1981. ;opcache.force_restart_timeout=180
    9 `7 e; M7 U" c- w) I
  1982. 4 w" K# [6 @) r! c! L8 \- y! }4 O+ V
  1983. ; OPcache error_log file name. Empty string assumes "stderr".! f3 K$ n+ k5 [; N# H
  1984. ;opcache.error_log=1 r: o8 @& ?. K! v( B
  1985. ; o( E6 ~  Z1 ]2 |/ ~- F) y
  1986. ; All OPcache errors go to the Web server log.  ~# W0 p/ a% A4 f1 D1 L8 J3 o  Z
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.' _3 e0 ~6 f; E# p  f. @
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    4 a+ v7 x* k; n1 Q# Q$ }3 }
  1989. ; debug messages (level 4).
    # T( X0 Q$ @9 g6 n& |. Q& Q
  1990. ;opcache.log_verbosity_level=1+ T2 h0 w- z1 k( E% _

  1991. . Z: o6 _; F) w2 a$ T: Q% c- ~
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    $ L! j* j1 }3 |7 s/ t) P
  1993. ;opcache.preferred_memory_model=
    - r! @. ^+ ~/ E8 M' @
  1994. & v' A  w7 j3 U; F" m9 P' W9 Z5 j; _
  1995. ; Protect the shared memory from unexpected writing during script execution.- W( H, A5 E+ h3 p
  1996. ; Useful for internal debugging only.
    ; S8 b. h: m- V: ^; K5 _1 K
  1997. ;opcache.protect_memory=0
    8 ?) J. @; t: O/ D, g% b) K

  1998. / @- \7 X; X9 D# a6 ]" d: I
  1999. ; Validate cached file permissions.
    ' s5 y- A5 y9 X: s( D9 d3 J3 \) P7 Z
  2000. ; opcache.validate_permission=0
    " s0 Y# F' D5 z9 ?* ~
  2001. 4 M- d" L8 L6 [5 D" Z3 W
  2002. ; Prevent name collisions in chroot'ed environment.
    4 o+ \# b, e1 i
  2003. ; opcache.validate_root=0
    # w; d( b  w2 e3 _. f/ h1 W
  2004. / Y" k' _9 q; ~' \. I3 F
  2005. [curl]' I2 z' a' j* B  w6 h* A
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    $ D4 l/ M+ U9 L! G) `8 Y1 e' o
  2007. ; absolute path.$ w+ d- z: O/ r, V; K8 G. ]
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    ) f5 E, z4 _* z3 O% s" l8 B0 G

  2009. 5 o* t' ?, f4 O% W/ n0 W2 `& V4 o
  2010. [openssl]
    * B8 n- N: S! c! f6 G5 Q  u
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem* I2 c9 B) a' e+ T4 _
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    9 [. Q0 n- `1 a. \4 N) c3 |
  2013. ; not specify a value for this directive as PHP will attempt to use the' E: j: @+ i2 Y$ k
  2014. ; OS-managed cert stores in its absence. If specified, this value may still* m# _1 b2 H7 _8 o$ Z- P; \
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context7 r9 p4 M0 _) J4 f3 E
  2016. ; option.  @+ {3 Z8 ?( M% }
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt% x$ c! @* [+ C5 J

  2018. 5 ^) D6 T, z+ u1 u% [
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    * ~, [+ T( I( |2 u5 ]
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    2 C- ?1 B$ k. U* o
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    9 ~6 W9 F  w: ?6 e1 d& H! ]
  2022. ; Most users should not specify a value for this directive as PHP will: o" V  ~% h& |& f7 e
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    - R- c# |- n/ H( |4 [: t: X; D
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    0 x% e2 q: R. [, g! ~: g
  2025. ; SSL stream context option.. Y: X3 a# v% X4 \- l- l! o
  2026. ;openssl.capath=
    0 n2 G0 G- z' [' g

  2027. $ n& M6 }. Z& y* V) D% @$ q
  2028. ; Local Variables:
    # n6 |# J: m# P7 t* K4 G
  2029. ; tab-width: 4. A3 o2 l3 v. R) t- c. k9 x
  2030. ; End:
    + L+ K5 {$ f9 A9 m1 ~% [+ n

  2031. 3 ]5 a9 c) D7 w- o" p( ?( g
  2032. ;eaccelerator7 y% q7 s/ ]( y% N  T6 b5 f

  2033. 4 [% g; Q1 ?. o$ T3 e0 I* P$ x; J: R
  2034. ;ionCube2 k9 \' Z0 @+ |  [) S1 L* i
  2035. 2 r6 d( H' |1 E5 i, \* I
  2036. ;opcache
    4 a8 j1 L4 e. n
  2037. ) ~9 B4 @  s1 N3 W
  2038. [Zend ZendGuard Loader]) o9 r- q- Z. s3 b4 G
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    " k' `3 h6 g9 y( h6 o
  2040. zend_loader.enable=1
    . A( e; e  l) f6 M0 G5 `# k
  2041. zend_loader.disable_licensing=0) _5 `) f/ {5 `4 ^, q/ |0 z
  2042. zend_loader.obfuscation_level_support=35 l/ e. G& G0 x1 @) A5 J
  2043. zend_loader.license_path=: ~" z, i. Y3 D+ D
  2044. 7 h* M- y0 N5 T9 E5 B
  2045. ;xcache
    ( n. |5 X( [8 a! l: ~; z2 w! ^3 q

  2046. 9 o: G- |- b/ [2 N# \/ s
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
) x/ i" i5 b* z3 O4 R/ s3 x) D4 U# R/ u  l
2 N, B/ N5 q, X
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,: O6 s. P" q" \/ l. U0 W) \

  P+ {4 l8 L! [0 vDiscuz!程序版本选择:
  b0 r" F: A6 F! [站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
6 q6 k( Y; K' Z; F不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:; t* a9 F4 |0 J% s5 f" X, Y: s% \
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。& _! H4 D5 ]3 h3 y- r* v4 i
! l5 R* g% w0 e! D
Discuz!插件模板版本选择:$ }- |! m1 P% D% R4 y& W
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
2 Z# C: [5 w9 l$ a针对这个问题做个统一的普及:4 Y% M* U) l3 p* e( \3 R
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
1 P; ]5 w- |" j% }+ e. B& U) _9 r; Z6 [; ~" c
所以
# ~# z0 Q7 T0 A: K& h  l1 j适合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$ b2 F7 L$ j# a5 e, ?* @- Z- G
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。6 s7 ]! z/ W; C5 P: c
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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