分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
4 z6 A4 I9 M0 u7 d4 t2 }& O1 f0 \  O1 R+ o4 ~" Y* z+ \0 F* o6 ]7 u- J+ K
  1. [PHP]6 P7 r* k: T) @$ R2 L2 a

  2. " f5 Z( ~" X4 o* X* b$ e6 j
  3. ;;;;;;;;;;;;;;;;;;;
    # U% Y* r: N' J( T: \- c, c
  4. ; About php.ini   ;% q: G# K- e5 C8 K2 Z8 y: b
  5. ;;;;;;;;;;;;;;;;;;;" o* ?9 \0 A( L+ G
  6. ; PHP's initialization file, generally called php.ini, is responsible for2 a$ l) s8 m* w9 p0 w) J9 T7 G
  7. ; configuring many of the aspects of PHP's behavior.: m' h  U& V; j5 `- |
  8. ( W% a# E$ {, B# m( n. ?
  9. ; PHP attempts to find and load this configuration from a number of locations." @/ }$ Y/ G! A- Y; ]0 Z* b/ `
  10. ; The following is a summary of its search order:+ i6 P4 D; b  B$ P  U1 Z" T
  11. ; 1. SAPI module specific location.
    4 h: l# V7 W! |
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)- z6 n: A% Y9 Q6 b8 i; `% l
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)2 I. O5 ^7 q4 B- i/ N3 D3 I
  14. ; 4. Current working directory (except CLI)% z, i% c0 `% D& Y
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    6 M  N$ h0 S2 G  R9 j! o
  16. ; (otherwise in Windows)
    3 Z# R, l) H' I1 V7 e; x  y% @
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    ) x, @. n! r) }4 |- `
  18. ; Windows directory (C:\windows or C:\winnt)- s4 J, c! p, G0 \
  19. ; See the PHP docs for more specific information.
    ( Y- K2 T3 s, n: k5 b! v
  20. ; http://php.net/configuration.file. ~1 ^( Y* u/ h% v5 {( \
  21. ' s; C" w$ o. e7 I( |3 ?3 ]
  22. ; The syntax of the file is extremely simple.  Whitespace and lines: D( j' I3 J+ f% w; l/ }
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    1 E; p& W+ T/ ]1 E
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though6 }( v4 ~3 L9 q& K. i
  25. ; they might mean something in the future.
    6 b! P1 E' k$ Q6 P5 N! r$ [0 N* Z

  26. - E$ f4 B7 P1 r- ~
  27. ; Directives following the section heading [PATH=/www/mysite] only
    8 p' _) b1 p+ R# i; C
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    : }- f+ |  Q, ^. \5 ]+ T6 a: \
  29. ; following the section heading [HOST=www.example.com] only apply to
    % @3 m  H% f; Y+ |$ ~
  30. ; PHP files served from www.example.com.  Directives set in these
    # T- g3 m. g8 }1 s1 }! E
  31. ; special sections cannot be overridden by user-defined INI files or
    ) X' O* q! Q/ `0 C. [1 e; u0 E
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under9 E1 a; M' J& ?
  33. ; CGI/FastCGI.
    , ?7 U# T/ L: a. _
  34. ; http://php.net/ini.sections
    ) l& B% V, d3 R* F! H6 \4 e% s

  35. ( x2 M  z/ a! Q9 l) F- j. J7 J
  36. ; Directives are specified using the following syntax:
    # X3 D6 s# v9 M" i  q$ q
  37. ; directive = value
    4 D0 J3 f& Q7 r2 K' N9 o/ X
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.6 a' l$ a- s7 z2 r2 N' s" i/ ^  C
  39. ; Directives are variables used to configure PHP or PHP extensions.
    & G* C# _. x7 z* D) Z3 J
  40. ; There is no name validation.  If PHP can't find an expected3 E# U% t  L7 D7 _
  41. ; directive because it is not set or is mistyped, a default value will be used.
    . ]& b: W% ~$ r, V' G) {; K
  42. ; y0 b& V) N) q+ o! }) D, ?' \6 F
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one# W5 W! i7 N4 z2 c" s0 n* ]
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression  j" j0 L& t$ m. a+ ?9 v: B4 T/ D' I
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a% y5 M" V1 ?# E" O
  46. ; previously set variable or directive (e.g. ${foo})9 W. z3 T7 k. D% e
  47. ' q5 R4 ^; Y0 a& r7 X5 g5 {* u
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:$ i# T8 A9 t4 s4 C
  49. ; |  bitwise OR0 G; J, X# f, \  c/ l# k
  50. ; ^  bitwise XOR/ {6 ~; B4 N7 w# [5 ~% Y
  51. ; &  bitwise AND
    ) ?. P8 Z% v" D1 g1 @3 C3 X# Q
  52. ; ~  bitwise NOT% N* L1 s. T2 T2 R5 B
  53. ; !  boolean NOT* r; B) e6 M2 C) W1 d/ E4 k0 X
  54. 6 W: h, v+ S% g5 B
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
      E* t5 a! ]; P/ z) b# P: }4 p5 Y- R9 y
  56. ; They can be turned off using the values 0, Off, False or No.  k$ u3 d& u* ?. Z  d( V5 k# x

  57. 8 i- y% Y6 A5 p# g. `
  58. ; An empty string can be denoted by simply not writing anything after the equal
    8 @! ?0 Z, Y8 z, ]% I" l
  59. ; sign, or by using the None keyword:
    - _. T' u3 n, p' R* N
  60. * |. n0 C# z7 B5 J) z$ Z
  61. ;  foo =         ; sets foo to an empty string- |' I$ s* W2 X3 y1 a
  62. ;  foo = None    ; sets foo to an empty string; M" E/ |9 G' z1 Q+ y
  63. ;  foo = "None"  ; sets foo to the string 'None'
    ; Q! `2 h# ~$ i4 y
  64. " l. y% r+ U2 h; B3 M
  65. ; If you use constants in your value, and these constants belong to a8 W3 J3 w4 v# O4 o1 A5 Y6 X  M5 X
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),) W$ q. s/ a$ ?$ s" A# K
  67. ; you may only use these constants *after* the line that loads the extension.% U9 m. Z+ J" j# E
  68. " U& h# c+ g. H" Y
  69. ;;;;;;;;;;;;;;;;;;;
    ) W# k6 v1 m6 ]: f/ t/ I1 m
  70. ; About this file ;
    : U$ n: d+ |- ^2 v$ G% X$ S" F
  71. ;;;;;;;;;;;;;;;;;;;  X7 y) e7 [/ w& ?  H" w
  72. ; PHP comes packaged with two INI files. One that is recommended to be used3 i( H' [) G, q8 @3 N
  73. ; in production environments and one that is recommended to be used in; c) b' m2 ?! s4 I$ k! A) C! `/ x
  74. ; development environments.5 M: c. ~. J$ s; e3 g% {

  75. 2 ^7 c' Y- o  L/ W
  76. ; php.ini-production contains settings which hold security, performance and
    3 D2 j3 N) D- v9 D
  77. ; best practices at its core. But please be aware, these settings may break0 z8 W+ V  A3 j  i: d2 ]; z
  78. ; compatibility with older or less security conscience applications. We4 L9 X& p2 ~( Q# {( j
  79. ; recommending using the production ini in production and testing environments.
    & u' `  p( D# e. ]2 C
  80. 3 Q# x9 V' j2 g* t3 U
  81. ; php.ini-development is very similar to its production variant, except it is, N) e2 x* u8 O$ ?
  82. ; much more verbose when it comes to errors. We recommend using the' x" ^* S: H' l1 @, _
  83. ; development version only in development environments, as errors shown to" X" x4 A8 W6 C
  84. ; application users can inadvertently leak otherwise secure information." P8 C/ j6 e/ e7 R# A6 V
  85. * n& q8 E- C/ n% I: |
  86. ; This is php.ini-production INI file.
    % M6 G" N5 p" s! K

  87. 7 A! L% m+ `  z2 T( Y% I7 l" J
  88. ;;;;;;;;;;;;;;;;;;;
    0 b! v) j6 Y' G4 h' }# o! T
  89. ; Quick Reference ;
    " S0 c5 Z: k- \& }
  90. ;;;;;;;;;;;;;;;;;;;
    ; x! I9 X$ I/ H' J8 b/ w5 ?
  91. ; The following are all the settings which are different in either the production
    ( q8 |7 v! y( A+ |2 B5 ?" \- ]
  92. ; or development versions of the INIs with respect to PHP's default behavior.$ d3 k( ~* `; O& i
  93. ; Please see the actual settings later in the document for more details as to why5 d; n# o3 P7 q* X' ~0 u- T0 V0 j: Y; u
  94. ; we recommend these changes in PHP's behavior.' K2 z' w3 q  Z6 }4 }
  95. 3 s3 \7 r6 Y) ]% `3 \( u
  96. ; display_errors5 l: l7 W' ]! @3 |; E
  97. ;   Default Value: On' Z9 }/ z3 v* Z4 u- B
  98. ;   Development Value: On/ B! I# N5 l" Z, g& E2 J" |
  99. ;   Production Value: Off
    & s$ `8 r0 [9 f

  100. 0 _' r9 G9 s8 J. r# ]' H
  101. ; display_startup_errors
    8 w/ e, ]# y9 [3 {& Z( x
  102. ;   Default Value: Off
    5 n" @: |  w$ V! p4 K
  103. ;   Development Value: On$ O# B$ J. K5 e* D2 J3 u
  104. ;   Production Value: Off& j# E! \& k1 p7 _8 F% J8 H

  105. % p. ~, L/ k* e. D8 f
  106. ; error_reporting! h) }1 v6 |- q, |; ]# a# H
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    3 J, g- H9 p( O  G% O; a0 F% p
  108. ;   Development Value: E_ALL- M* n4 B; i( G- ^" H1 a
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT4 f" }% Z4 q0 s: i! Z4 \0 Z8 B  ]

  110. " J, \' `/ }' `( |, Z
  111. ; html_errors
    # h, F. U. k* h* T7 k: A5 d' q+ s
  112. ;   Default Value: On
    , K9 o5 u. p7 l4 y
  113. ;   Development Value: On
    + H( C7 {; Y  l9 v' q0 c
  114. ;   Production value: On
    1 l, |" {3 O2 M" b; }4 o+ y

  115. : n# }6 q  f- u! h; B3 b; d
  116. ; log_errors, j* k8 m* S3 O2 j# K
  117. ;   Default Value: Off2 O+ W9 p9 T' f  z6 @2 m+ z% H
  118. ;   Development Value: On
    ) D# D% W' n& j- @
  119. ;   Production Value: On: [4 w! \2 s0 b  q& ^- K
  120. ! J6 J6 J/ d' G" }1 u* e2 u
  121. ; max_input_time% C6 u& H& d1 @7 J# V
  122. ;   Default Value: -1 (Unlimited)
    9 t* b2 u; y) S3 a2 B  }5 m
  123. ;   Development Value: 60 (60 seconds)
    & {* N3 [( h1 I+ N% D
  124. ;   Production Value: 60 (60 seconds)
      ?, `% R( K, W0 L( O5 K
  125. 0 ^& ^7 @9 T5 V, ?
  126. ; output_buffering
    , \& o1 d: g8 w4 g3 N: t
  127. ;   Default Value: Off: t; o% f# N. V7 b
  128. ;   Development Value: 4096
    ) K+ c3 J! n5 z# n' L
  129. ;   Production Value: 4096
    # r! A+ x; d  @
  130.   O6 G  `  R% D2 Q2 b
  131. ; register_argc_argv
    0 R5 m: \8 w# p5 Z& l2 |- g7 N
  132. ;   Default Value: On! E' W  J2 \) O& z& d* H" z
  133. ;   Development Value: Off( w( X5 \; }6 x# w$ {  l1 N
  134. ;   Production Value: Off- ~* ^9 U2 ~, n) h; ^/ F
  135. 9 y2 a. z3 E. U5 K
  136. ; request_order; W8 h9 S- O. Z! S
  137. ;   Default Value: None
    2 Y# r* I" f: u. \! c% P
  138. ;   Development Value: "GP"
    3 I$ Q3 f' X( f+ r! F! L% u1 `: P
  139. ;   Production Value: "GP"
    ! T2 f# J8 g: {; t$ C. B/ Z3 H
  140. , ~+ M0 l, C! y
  141. ; session.gc_divisor4 v9 G# Q9 D+ M$ O
  142. ;   Default Value: 100
    , k. j/ F/ ?- i- X% _9 K' O
  143. ;   Development Value: 1000
    ( \' M. e( Z; h4 Z+ D0 [
  144. ;   Production Value: 10004 w! y% C$ F7 v0 @

  145. ' _& t  g( I* l: _
  146. ; session.hash_bits_per_character/ e  o+ ]8 x- H  W$ a
  147. ;   Default Value: 4% d: o+ Q, k( p$ j( [7 J( E
  148. ;   Development Value: 5
    ! ?; B# E7 x! H0 y% B
  149. ;   Production Value: 53 v' i( |" K5 I" ~# m
  150. - [! _; }! k" S7 n
  151. ; short_open_tag
    2 d0 {% U3 g& I) H# G, [" v
  152. ;   Default Value: On
    ( A+ V3 v6 @2 \' r- `3 R# M
  153. ;   Development Value: Off8 t% q: N- M' @9 H
  154. ;   Production Value: Off6 Y0 ~# H8 L0 F" \9 H" d, C$ H
  155. / l% ~5 y0 d0 b5 D0 ^9 Z
  156. ; track_errors
    0 _! ^! [' ]0 S) p5 I3 A
  157. ;   Default Value: Off
    $ k( l' {3 H% I" p% K3 ~, `
  158. ;   Development Value: On
    ' h$ y% }8 X6 J
  159. ;   Production Value: Off  H, \, ^/ [: A& f1 _2 J; f7 D, B- {

  160. 4 j8 p3 s7 T2 A6 a; ^- ~3 ?7 x" Q* `
  161. ; url_rewriter.tags
    * l" |! A' D0 T: U, u" m
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    $ d  h. a3 B; E
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    * x9 |" f7 B+ ~! ]1 u% ]" f7 N
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"' E- ?, u. ~! t7 c# V: B

  165. / H# S' o4 r8 o2 O. o) K
  166. ; variables_order
      [: ^0 l2 z2 b! [/ O; f
  167. ;   Default Value: "EGPCS"" p3 E% F8 [+ ~, B% a
  168. ;   Development Value: "GPCS"
    - Y, m: m, }$ Y" o: j
  169. ;   Production Value: "GPCS": o# H$ a. \% d  w! i/ ?# j% |
  170. / l0 g" P) ]3 M. e! g& w9 f
  171. ;;;;;;;;;;;;;;;;;;;;
    ) ?( W. @- k; A/ E
  172. ; php.ini Options  ;- Y, a1 {4 _) a5 B3 v1 `
  173. ;;;;;;;;;;;;;;;;;;;;
    8 t# W7 N$ U5 Z
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"/ |9 w/ d4 V- c) V: i- W1 y" z; E
  175. ;user_ini.filename = ".user.ini"
    . B( m* t8 O7 D; x

  176. ( i' R6 a0 @+ W
  177. ; To disable this feature set this option to empty value( T4 T+ R* L- a/ X6 N
  178. ;user_ini.filename =
    1 {& F( L, I2 T' m

  179. 4 f' j* J) G4 f; y% [7 U
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    1 T( R  E! ]7 {: |
  181. ;user_ini.cache_ttl = 300
    ! x# j0 m+ I, i3 U, D

  182. 2 v$ Z3 V: x7 K& w3 ?9 G  ^
  183. ;;;;;;;;;;;;;;;;;;;;: ]0 E- w, G: \
  184. ; Language Options ;
    & n5 ~& _7 n2 X3 ^* B! N+ x
  185. ;;;;;;;;;;;;;;;;;;;;6 R, E! N, U$ S8 S
  186. * j8 S9 d9 P4 v8 K; Y$ |& Z# A
  187. ; Enable the PHP scripting language engine under Apache.
    0 ?, Y$ b& X, P# Z- p
  188. ; http://php.net/engine
    ! P$ F% h! N# R2 P, C% {
  189. engine = On
      z2 u) Y' [: A" x4 m
  190. # b  O6 h/ S" o
  191. ; This directive determines whether or not PHP will recognize code between
      G9 Y, K9 x* K; h1 J
  192. ; <? and ?> tags as PHP source which should be processed as such. It is% I, o  n; ?* v5 L
  193. ; generally recommended that <?php and ?> should be used and that this feature
    & h, ~& G& G2 w' f7 @
  194. ; should be disabled, as enabling it may result in issues when generating XML/ U. L3 [: u  E& g
  195. ; documents, however this remains supported for backward compatibility reasons.  H7 N; {$ ]- U2 J9 q
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    - U( q. w1 b" ]/ J( `
  197. ; used regardless of this directive.- P8 y- s) }$ t
  198. ; Default Value: On
    ' \. p6 h" ^, u
  199. ; Development Value: Off
    4 p$ P2 ^& X" n/ Y* H
  200. ; Production Value: Off6 r. l$ b/ I4 n  x4 Y+ \2 g: q* d
  201. ; http://php.net/short-open-tag; k4 g! s/ L, n. M" o
  202. short_open_tag = On$ E( j% {3 D, j0 ^# H
  203. 9 t; Q: F5 P+ |6 G' ~$ z# ], }
  204. ; The number of significant digits displayed in floating point numbers.
    7 i% y* n) M; e& f9 Z( Q2 A
  205. ; http://php.net/precision
    2 n+ L! X% L1 \1 h0 o& g# _
  206. precision = 14; {4 {: ]7 f3 m2 q
  207. ! S% G8 l2 ?. ~# L6 `) r- r
  208. ; Output buffering is a mechanism for controlling how much output data+ ]+ K2 N6 Q" a0 S6 ?5 r" |
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    ; |! k6 L4 U7 ]+ s
  210. ; data to the client. If your application's output exceeds this setting, PHP
    - Z) D4 e0 L2 \
  211. ; will send that data in chunks of roughly the size you specify.1 t& [7 K0 g3 l7 `
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    % f+ F3 _$ ^( d# C' ^
  213. ; interesting side-effects depending on your application and web server.3 Y- R# d1 `* K, A! i6 Q7 F
  214. ; You may be able to send headers and cookies after you've already sent output
    ( T" @# z6 J" v5 z8 S1 k3 K
  215. ; through print or echo. You also may see performance benefits if your server is
    ' i) D7 \) Y- G) ~7 j8 g
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    - i: v; [0 o2 ?7 k( u
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance7 ^% }7 q& [8 r% B0 L8 ?6 c
  218. ; reasons.
    % ]: O3 ]7 h' H. o# q7 p9 g9 f6 t, a) N, @
  219. ; Note: Output buffering can also be controlled via Output Buffering Control( I  x) v( f  S8 @
  220. ;   functions.' y% n* l; k$ _/ L) q% E8 Y
  221. ; Possible Values:, i, ?# I( m: W2 h3 `! R
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)+ w* e8 G2 j/ I# {/ T
  223. ;   Off = Disabled/ W3 q9 [; q4 [) e% R! i' m
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    1 ~; U( a  y: s; F9 r, j& R
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI: r5 c, e1 w2 L/ ~- F& W
  226. ; Default Value: Off
    . ~% v) W7 w8 ]5 |( n
  227. ; Development Value: 4096
    4 k# N2 W7 I- {1 E6 X1 t
  228. ; Production Value: 4096
    # G! e9 A6 y3 f3 t, Y3 e
  229. ; http://php.net/output-buffering; n) U3 [& |' J/ m  j8 i1 ~0 {
  230. output_buffering = 4096) n$ \5 o! l0 ~2 b

  231. / O& n+ `1 |% Q: L; p
  232. ; You can redirect all of the output of your scripts to a function.  For2 V* r& K$ V3 J
  233. ; example, if you set output_handler to "mb_output_handler", character/ ?. M8 D  z, w3 @* E
  234. ; encoding will be transparently converted to the specified encoding.8 p7 c3 }( z# e1 i: ^: y8 e9 I
  235. ; Setting any output handler automatically turns on output buffering./ v: q$ C: h( g- c4 v! e$ n1 I
  236. ; Note: People who wrote portable scripts should not depend on this ini1 O% }9 z1 d. u0 a( E# H& V% }% i7 ?& \
  237. ;   directive. Instead, explicitly set the output handler using ob_start().) J" d3 j+ Q  P) S- s& c, a- |
  238. ;   Using this ini directive may cause problems unless you know what script
    $ s$ y: y6 Z9 [! F4 s+ g
  239. ;   is doing.
    / Y2 I$ E, n2 ^2 x# S
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    ; [$ t3 ^3 r9 q4 I- d
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    # C. J# b9 v/ M* h1 [* ~$ v* _* Y0 E
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    * J1 l; |8 X1 `' w- N8 U
  243. ;   Instead you must use zlib.output_handler.
    1 Y9 k9 b4 ]; \# n! u
  244. ; http://php.net/output-handler0 a6 o- y. l  U0 k& e# w; `" L( n
  245. ;output_handler =) f2 Z( s% p8 H. w8 y: i

  246. 0 V6 `1 ~- [  c. _  ?) d
  247. ; Transparent output compression using the zlib library
    9 l8 d4 Z, x, m9 t7 {/ B
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size1 c0 _6 J8 h, b0 Y: H' A
  249. ; to be used for compression (default is 4KB)
    ; u3 Y8 T* H5 V2 \- m4 p% d
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    * ]0 G# G: X' k7 `
  251. ;   outputs chunks that are few hundreds bytes each as a result of* D+ M& |# F4 O; E# F  s
  252. ;   compression. If you prefer a larger chunk size for better
    " N0 Q. \+ E( M; V
  253. ;   performance, enable output_buffering in addition.
    $ R0 k: h8 a% V0 J/ j
  254. ; Note: You need to use zlib.output_handler instead of the standard+ ]( o: g8 V# S
  255. ;   output_handler, or otherwise the output will be corrupted.
    2 ~4 }0 E; h4 i( t
  256. ; http://php.net/zlib.output-compression  {) j* M, ~+ `5 b
  257. zlib.output_compression = Off
    - o& p" y, r# m. L
  258. - t4 ?8 E2 y0 {  j" H2 X* ^0 Q  m
  259. ; http://php.net/zlib.output-compression-level
    ) O& f/ ~1 [; y) w
  260. ;zlib.output_compression_level = -1
    * A: _( V# t8 H' b

  261. 1 L5 b6 T9 W" C7 L; i
  262. ; You cannot specify additional output handlers if zlib.output_compression
    , N- g( G, z  v: U/ Y
  263. ; is activated here. This setting does the same as output_handler but in7 h, b, f- t- i2 S
  264. ; a different order.2 g; \' J( A4 e+ _) D* ]
  265. ; http://php.net/zlib.output-handler5 j( P) y+ Q+ ?3 A' Q) m
  266. ;zlib.output_handler =, L5 f2 ~2 n2 a  O
  267. 8 b/ s( t) `/ B
  268. ; Implicit flush tells PHP to tell the output layer to flush itself# J8 {( F8 v4 s2 o& p2 e, _0 C
  269. ; automatically after every output block.  This is equivalent to calling the
    , a3 o: B9 l1 ]
  270. ; PHP function flush() after each and every call to print() or echo() and each3 n* ]+ T: r7 D9 L/ D+ j0 J3 H, r. ]
  271. ; and every HTML block.  Turning this option on has serious performance
    6 L5 N* z9 W- P5 ?/ _
  272. ; implications and is generally recommended for debugging purposes only.
    , }1 R: g! |; {' Q+ _  J" @
  273. ; http://php.net/implicit-flush  F0 l- v" K0 g0 w+ m- G0 z* X
  274. ; Note: This directive is hardcoded to On for the CLI SAPI* }6 K8 X5 x) v+ b: ~+ q' g
  275. implicit_flush = Off- ]# b7 u, k& S  C% p
  276. " T2 [3 ]2 f# a2 f4 J
  277. ; The unserialize callback function will be called (with the undefined class'
    , g) O& o# h* A4 y
  278. ; name as parameter), if the unserializer finds an undefined class
    4 z$ x6 H$ p, a3 p  w
  279. ; which should be instantiated. A warning appears if the specified function is" ?  r- E; @9 J) S, n/ R, }
  280. ; not defined, or if the function doesn't include/implement the missing class.
    ! ^; p/ {, b0 t7 V7 ]
  281. ; So only set this entry, if you really want to implement such a1 `0 ~! \! G3 b3 @
  282. ; callback-function.  @, T7 g9 Y0 q
  283. unserialize_callback_func =
    " Y+ r7 _" i2 U9 X

  284. * J& W4 v5 ?( f$ [; J3 Z
  285. ; When floats & doubles are serialized store serialize_precision significant
    / F: g* A8 C, ]' k- b8 O
  286. ; digits after the floating point. The default value ensures that when floats
    / G3 `: @& c6 W; Y
  287. ; are decoded with unserialize, the data will remain the same.! O4 h" D& H' Y1 ~
  288. serialize_precision = 17
    " x, O6 Z" m( [$ ]5 ~1 j: t3 @

  289. 1 j+ O$ @$ G: a  g' T: |/ ]
  290. ; open_basedir, if set, limits all file operations to the defined directory; h: _4 l8 H" z; I2 v( @0 ^% O5 M( |
  291. ; and below.  This directive makes most sense if used in a per-directory
    ( @; w( n% [! d
  292. ; or per-virtualhost web server configuration file.
    & s$ O" E# G1 b7 I9 A* I2 V/ ]
  293. ; http://php.net/open-basedir
    . T, s4 I$ V% P3 Z
  294. ;open_basedir =
    7 B. h* l! r1 e; W

  295. ; Q4 u, t% O, E9 T  t
  296. ; This directive allows you to disable certain functions for security reasons.5 U4 f' X' y) T! I
  297. ; It receives a comma-delimited list of function names.
    % N* E* N$ G, M) ~, F" b8 b9 v; ]" v
  298. ; http://php.net/disable-functions, B9 G% l$ |, U9 c5 E1 H
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru: D1 X) q: k& U& i

  300. * N. g- k8 o! Q
  301. ; This directive allows you to disable certain classes for security reasons.8 i5 R- C: L$ G4 t
  302. ; It receives a comma-delimited list of class names.
    3 ]8 Z8 r5 i% j: ~9 W6 a9 J' Q
  303. ; http://php.net/disable-classes
    + \5 I( e( e9 G. q8 R- u8 \) H; l
  304. disable_classes =
    2 a' l3 X+ i. W5 H. r
  305. ) J3 V) f" [  C4 r
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in. U+ Z% H: s0 S2 y" n, n
  307. ; <span style="color: ???????"> would work., O9 C  C& |! U2 ]6 V; J% s
  308. ; http://php.net/syntax-highlighting
    5 u* K$ ]& g% ]
  309. ;highlight.string  = #DD0000
    # N0 f! @9 \2 q0 L, c- Q- d7 y: H
  310. ;highlight.comment = #FF9900# a$ o0 x' l# `/ E
  311. ;highlight.keyword = #007700
    - I  e5 C( b- Y
  312. ;highlight.default = #0000BB* v9 X; F5 }' ~8 E1 t
  313. ;highlight.html    = #000000
    & X+ \$ H7 ^2 o; y9 E

  314. . p0 @6 S6 X! E' `7 X
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    ( S) H, r+ _; v* P
  316. ; the request. Consider enabling it if executing long requests, which may end up. B% r+ ^/ V1 K0 r. ?7 ^
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    . H. T! w. X0 L. `/ T
  318. ; is to disable this feature.
    # g# N" n# k/ W; \
  319. ; http://php.net/ignore-user-abort5 _0 m9 Q; Y$ F0 U
  320. ;ignore_user_abort = On! L" \& ?% q6 C5 G9 Q) M3 O
  321. ! @4 V  U1 W: Q3 r
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    2 q: h3 ]/ {( D" R
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    % F! G. {# l/ P* E6 x1 j
  324. ; the file operations performed.  Y% n: b: \* }' Y: k! Q
  325. ; http://php.net/realpath-cache-size
    , }6 Y, I( H. X8 b; m" R
  326. ;realpath_cache_size = 4096k
    9 P, u! a* J9 A
  327. 7 f1 A5 Z  {! {0 I* J' U. S& |; Z1 n
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    ' E8 h& t. O9 e5 R4 a' D. l' R% O
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    ) E; k7 I7 X# z/ ^
  330. ; value.
    3 i% j3 }0 s  f, v$ @
  331. ; http://php.net/realpath-cache-ttl
    8 A3 O$ C* Z" w% ]' ]
  332. ;realpath_cache_ttl = 120
    ; s' m; y3 Q' x5 X: N

  333. 2 z* U) o# N" _% e* T* U) c3 i4 Z
  334. ; Enables or disables the circular reference collector.# j9 T) b2 _' ]& w% `1 [
  335. ; http://php.net/zend.enable-gc% X5 I, b& y6 Z0 q; G& n
  336. zend.enable_gc = On
    3 Z& h7 c# S; B$ ]! i+ V
  337. ( ^+ O$ W0 q( C4 {1 B+ u
  338. ; If enabled, scripts may be written in encodings that are incompatible with7 \/ N) b8 g1 A" _( v" w' i5 l* Y4 D7 f
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such- [  A6 b7 z5 t, C/ K
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    ! N1 A, R" Z2 v
  341. ; Default: Off
    ; s, R6 D% s4 V7 X, _4 Q
  342. ;zend.multibyte = Off0 m$ Q' t% J! T( h
  343. $ C, w, W7 a8 z- D  Z
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    3 _) Z; e: R/ v% ~6 o* L
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    * ~( T( ?$ V7 a0 x5 `5 _
  346. ; Only affects if zend.multibyte is set.
    6 M, M! E3 q: R; j4 e9 b
  347. ; Default: ""
    ! k0 i% o; J, v4 |
  348. ;zend.script_encoding =
    2 w8 i0 P, f/ e8 A1 m3 z* d
  349. 2 I7 o+ _, D; e8 L9 h1 _, z
  350. ;;;;;;;;;;;;;;;;;+ t; [" j* B! }7 i
  351. ; Miscellaneous ;
    0 A% _: j3 j2 h. w8 M
  352. ;;;;;;;;;;;;;;;;;
    ! _) t& \# m+ J* i

  353. % Q3 j* L2 C9 U6 M& Y
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    ; T! X  f' X8 |, U( m4 m
  355. ; (e.g. by adding its signature to the Web server header).  It is no security1 @  K/ }$ F/ l. W4 u% Y+ }
  356. ; threat in any way, but it makes it possible to determine whether you use PHP4 d6 k- Z) ?. r" r1 k. ^% Z7 `8 D; ?
  357. ; on your server or not.
    ) r6 b2 J5 X9 L" q- s
  358. ; http://php.net/expose-php
    9 D' k7 [& Z9 `4 q3 H
  359. expose_php = On& v7 f0 @. {! v% `: h
  360. ) W2 n$ _' B+ j/ U
  361. ;;;;;;;;;;;;;;;;;;;, I" }9 j/ z  a, X7 \
  362. ; Resource Limits ;
    0 R! c5 k0 N, x3 ]" ^
  363. ;;;;;;;;;;;;;;;;;;;
    4 r0 A4 f) G* l9 e2 {

  364. % o0 I" F7 c( `; P  @+ K  E$ @
  365. ; Maximum execution time of each script, in seconds
    + {* n- }* B  b8 T3 U/ n
  366. ; http://php.net/max-execution-time% ~$ S, g+ @6 S2 t& M
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    / F1 o" v( e' W$ t
  368. max_execution_time = 300$ U5 G- H6 w0 {* `  ]7 L/ u; i

  369. 1 I1 Y( w4 c. g
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    4 M' @5 s& h+ P8 G8 h$ {$ }
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    + o/ j* A: ?# G. ^
  372. ; long running scripts.
    * }  N6 T! v* a! D# q) _- b! J
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI0 b5 K; [3 O; z" D2 P- L* P! R
  374. ; Default Value: -1 (Unlimited)5 \6 H# p; P( S8 `
  375. ; Development Value: 60 (60 seconds)# P  c+ R7 U' k7 t
  376. ; Production Value: 60 (60 seconds)" s' Q3 a% b; o! H; }
  377. ; http://php.net/max-input-time( f; {- f" d; r+ L
  378. max_input_time = 60( \0 k& _; |3 Z8 ^( F% h

  379. % L2 ]$ M- W' R* V
  380. ; Maximum input variable nesting level+ L/ G' i8 g# b6 d
  381. ; http://php.net/max-input-nesting-level
    3 w0 U8 F7 F5 E* X/ w3 O
  382. ;max_input_nesting_level = 64+ I, ]/ X7 i9 n4 F$ T0 I5 H

  383. ' J; `0 }4 @$ `
  384. ; How many GET/POST/COOKIE input variables may be accepted
    # p2 h( Q: A$ j, N5 K+ F
  385. ; max_input_vars = 10002 P5 y: q) i) w7 j" q4 _2 h7 \6 ~

  386. , r/ F& T9 M  r' S+ J
  387. ; Maximum amount of memory a script may consume (128MB)0 h. `' G4 a- u" B. I- F( M
  388. ; http://php.net/memory-limit
    ) N! `! W$ ?. ?  Q+ h
  389. memory_limit = 128M
    4 ]' V% y: m" v! Q! _; p
  390. * [5 ?6 `" n- z
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3 r4 _& B; }2 {$ v" |# }
  392. ; Error handling and logging ;
    ) ]+ r/ x9 M9 H9 X
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4 P. E6 q* o. e$ Y3 I
  394. ; p( ^! A4 y0 r. z) P+ m5 f6 ?4 m4 @
  395. ; This directive informs PHP of which errors, warnings and notices you would like0 |7 o4 G: k1 a2 H/ E- L7 G
  396. ; it to take action for. The recommended way of setting values for this% h& n. s6 t. j
  397. ; directive is through the use of the error level constants and bitwise
    * U+ @! B1 t6 O, G( S, E, C2 Q
  398. ; operators. The error level constants are below here for convenience as well as
    + G( ?3 \- @* a+ P
  399. ; some common settings and their meanings.
    : n8 G+ M' d# \3 J1 z6 t9 G. _
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    # {3 e  P: X7 u2 e6 C. M) o5 G. L
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and3 w' t' X+ D' `% s( s" M# C* R0 c! J
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    2 ]" P1 I) \6 T3 P$ K
  403. ; recommend error reporting setting. Your production server shouldn't be wasting3 E  H1 X  i6 |* y
  404. ; resources complaining about best practices and coding standards. That's what
    7 X% a- }, D* Y% |: ^/ O$ F
  405. ; development servers and development settings are for.2 ]; p# ~+ ?* A' h8 _# `0 {
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    ) ?7 p$ t, n8 e2 g1 ~& I
  407. ; means it pretty much reports everything which is exactly what you want during5 l, S1 Q3 Q) \5 T5 U
  408. ; development and early testing.' D$ x3 ]/ h" R9 d3 C
  409. ;/ U2 x8 R# t5 y# N
  410. ; Error Level Constants:
    8 K+ k2 m$ y3 J
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0), j3 M: w" v' Z% K4 H
  412. ; E_ERROR           - fatal run-time errors. u) B  g  m5 x+ Y' k0 v
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors' }+ d5 `/ v  Y5 K
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    2 P" s" d; L4 _4 r4 d/ m6 ?
  415. ; E_PARSE           - compile-time parse errors
    ; s( o5 M" @1 d0 G( o) ]1 ~) F- ~$ C
  416. ; E_NOTICE          - run-time notices (these are warnings which often result# T5 [! p$ v! D+ x' {8 z
  417. ;                     from a bug in your code, but it's possible that it was* d* e6 V8 V7 G& F4 U1 g5 [0 H# [
  418. ;                     intentional (e.g., using an uninitialized variable and
    " }: c, K6 p3 Q2 \
  419. ;                     relying on the fact it is automatically initialized to an9 j1 j1 o3 b/ O0 b4 a5 B
  420. ;                     empty string)
    : k+ x# V# i. E
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes" U1 k  g, b) \
  422. ;                     to your code which will ensure the best interoperability
    4 [: a$ _. h, ^! ^) k
  423. ;                     and forward compatibility of your code! N9 b$ ?$ I5 W4 B# J
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup+ A4 J0 ^, @! O5 F, Q, X
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    5 N! q4 Q5 a- k- ^. A
  426. ;                     initial startup2 O1 u, ~1 O, |* G4 O" m$ F
  427. ; E_COMPILE_ERROR   - fatal compile-time errors0 u! Y4 J3 M. u, g& H/ t
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)# u. `3 l/ h( y  @& \2 x0 f3 T
  429. ; E_USER_ERROR      - user-generated error message% h0 u- e% x. W) v5 ]; X
  430. ; E_USER_WARNING    - user-generated warning message
    3 B4 z7 p# F( a' b8 R- T
  431. ; E_USER_NOTICE     - user-generated notice message
    1 M3 z% W# b6 f; x" o" ?
  432. ; E_DEPRECATED      - warn about code that will not work in future versions& P$ _8 T2 F. s7 E6 G& C* D
  433. ;                     of PHP8 l8 @; B6 m, J) \/ h' A$ z/ D+ N( v3 u
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
      y8 R- ~* I$ P, _  t
  435. ;- e, a" i  d5 P6 ~; v
  436. ; Common Values:
    2 i3 [, T" W' G
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)2 p, ^$ M' w; e6 m) J
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    4 B. n& H3 P& m7 S
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    ( v* h4 ?1 w1 z1 x2 \% j
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    # \5 `1 @2 _5 z( }5 e' ^) m9 P+ j
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED9 Z. @5 A" b' V9 C4 \" l) j
  442. ; Development Value: E_ALL
    8 W6 Y% }9 L" x* {- t
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT9 M( ?9 m# e- f& d& t
  444. ; http://php.net/error-reporting
    . ^1 h$ c* ]6 |# P# T
  445. error_reporting = E_ALL & ~E_NOTICE4 @8 ~: @7 q# j$ M: o' y$ p

  446. 7 ?; G1 R+ A  F9 F
  447. ; This directive controls whether or not and where PHP will output errors,* g" U0 f: Y2 F9 \. `- {/ V
  448. ; notices and warnings too. Error output is very useful during development, but
    " e# Y$ s( Z7 t! k5 y# U
  449. ; it could be very dangerous in production environments. Depending on the code
    ! [; k- z4 M9 Q( E9 I. h
  450. ; which is triggering the error, sensitive information could potentially leak
    - C/ m6 e& I' X* Y
  451. ; out of your application such as database usernames and passwords or worse.
    6 b' \8 S# K7 C- W' C2 C
  452. ; For production environments, we recommend logging errors rather than# F* d! V! R2 q) q2 t( X/ ~  L
  453. ; sending them to STDOUT.
    " M$ j. ^$ P) N( z1 S$ V# h
  454. ; Possible Values:; \+ Y4 z3 R) X6 ?1 D2 K
  455. ;   Off = Do not display any errors
    ; h# Y' ?! `+ r8 o7 I
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    6 `/ D5 ]& O' J0 V: g, P- X
  457. ;   On or stdout = Display errors to STDOUT
      l  S6 }6 x; L% a
  458. ; Default Value: On* y' _3 _  |8 f. m
  459. ; Development Value: On
    / m: Y# q# P% a+ L( q/ k
  460. ; Production Value: Off
    * T  ~& t- K( w
  461. ; http://php.net/display-errors
    $ L: {. f/ L4 ~9 m
  462. display_errors = On
    $ s. i9 G/ A3 I! f3 f

  463. ! b+ u9 S' }' i+ y3 |4 h) @5 A
  464. ; The display of errors which occur during PHP's startup sequence are handled1 f. k: B: L) B
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    ( @' J0 L. C' ^% L1 Q
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    $ T7 Z1 H# A' T, k( t
  467. ; debugging configuration problems. We strongly recommend you# ]$ R: Y" X8 q2 s9 W2 o0 O0 V4 H
  468. ; set this to 'off' for production servers.9 ?( Y6 @5 U6 Y4 U/ V( F
  469. ; Default Value: Off
    : N. j( T6 F, V; H% R  ^  ]
  470. ; Development Value: On
    # f0 H! }( t& a- ?5 a/ T; T" E4 h; F
  471. ; Production Value: Off2 r, F$ ?( C/ m4 E. Y. t3 Y
  472. ; http://php.net/display-startup-errors5 c3 p# N- Y$ [+ J2 Y
  473. display_startup_errors = Off" R& u# j7 A) _5 w5 Y( V
  474. 2 |$ P  `  M. K( ^
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    , o4 h  j' L5 `# M! e1 U
  476. ; server-specific log, STDERR, or a location specified by the error_log
    $ Z# S4 A6 N8 W1 n1 w' U, L
  477. ; directive found below. While errors should not be displayed on productions
    , U/ b3 M: k/ h
  478. ; servers they should still be monitored and logging is a great way to do that.; l# F! Y8 T$ c5 W
  479. ; Default Value: Off
    ' d: D" G! A6 ^: A
  480. ; Development Value: On
    + N" n  o( b1 `# A+ w+ S, T" |
  481. ; Production Value: On
    : }! h- ]0 U" w" E
  482. ; http://php.net/log-errors
    6 F! h% d3 c5 M- B
  483. log_errors = On8 Z; n& a. L, A$ {' U
  484. 5 p6 e+ H1 ^7 S, n/ `
  485. ; Set maximum length of log_errors. In error_log information about the source is2 U) r4 C' a& X( c' H" _
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    , Y1 v6 F' j1 L
  487. ; http://php.net/log-errors-max-len
    & r3 M" b- `' O2 F$ _
  488. log_errors_max_len = 1024& d& F8 v6 P; t) {1 j1 Z% a& S4 G

  489. ( K# t6 D: w1 ?4 O! d2 ^
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same  d0 [% k& `8 b) I! z! S" M$ n
  491. ; line unless ignore_repeated_source is set true.8 U7 Y! C0 t. p5 j
  492. ; http://php.net/ignore-repeated-errors' w5 e4 n5 |: {" ]- s- I- Z
  493. ignore_repeated_errors = Off7 k: c) F+ ^; _# x% T1 e
  494. # I% t  `& a) w9 x  [" _8 |
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    9 U# U" I% q$ k6 m7 B9 [
  496. ; is On you will not log errors with repeated messages from different files or# b/ s* i0 J+ b& v* e* t! g) X
  497. ; source lines./ q. o0 C2 X, K
  498. ; http://php.net/ignore-repeated-source
    , J& X7 t+ Q% W6 W  v3 ~. b1 d
  499. ignore_repeated_source = Off
    3 i8 C7 o! I, g
  500. ; T. {0 J1 n5 h3 P$ X# H. j
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on3 g& L1 G. `0 O+ x! e- j* F: Y
  502. ; stdout or in the log). This has only effect in a debug compile, and if3 a) u( y2 g, b
  503. ; error reporting includes E_WARNING in the allowed list
    . A$ x) U) x. W9 g! L' C% Q
  504. ; http://php.net/report-memleaks2 ?  \* h5 |& P( H- S  R' o
  505. report_memleaks = On) q- U+ n& O! p$ p! H# J

  506. ( {' p6 F9 m  w
  507. ; This setting is on by default.0 Q/ `3 S% c* r# X  ], O
  508. ;report_zend_debug = 0
    $ e5 W, U6 O2 w. j& }4 m

  509. $ |( {# `6 ?' s0 m. D! B( c2 H0 W
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    6 O5 _  n" u1 p; e' r, A
  511. ; to On can assist in debugging and is appropriate for development servers. It should4 n) S; B* Y4 I5 A' U; s
  512. ; however be disabled on production servers.# }8 @- r4 s& V9 O
  513. ; Default Value: Off6 W& d9 a( H# C1 Z' g5 W; T
  514. ; Development Value: On; U+ x: m8 L. b
  515. ; Production Value: Off
    3 N% c% ?5 A! o1 {. u( P8 I+ i
  516. ; http://php.net/track-errors9 g" @8 l* L& t
  517. track_errors = Off1 G9 }$ V3 J: b1 B' }9 l8 b: f  x, B

  518. ! k7 X3 d, I- U5 D% q+ q- A0 L7 f, i
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    5 }! R8 F) g$ q' D0 _9 i/ }
  520. ; http://php.net/xmlrpc-errors
      e" V" x: u! Z9 [7 I" j
  521. ;xmlrpc_errors = 0
    * J% V) [' b7 f( v  K, V; r

  522. 1 b4 Y4 z; ~9 e" Z- L  ~8 m
  523. ; An XML-RPC faultCode: O* r0 g6 J1 F
  524. ;xmlrpc_error_number = 0
    $ q  V8 r, \9 G
  525. ! h/ T/ ~) u1 B8 }5 i" Q' S3 L% ?
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    , R! k3 [# i! C4 {# ?) Z9 z4 s0 {0 O
  527. ; error message as HTML for easier reading. This directive controls whether( K1 b# a+ w3 z5 S+ v
  528. ; the error message is formatted as HTML or not.
    1 F, x' M# U6 k1 P* Y
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI  P. y5 j% p0 [' B
  530. ; Default Value: On- M& Z, N/ G* u8 I2 p
  531. ; Development Value: On: G  h% Y  N. G1 t
  532. ; Production value: On- ~  Y) o$ x. f* G
  533. ; http://php.net/html-errors
    0 M! \2 i0 a; Z6 u
  534. html_errors = On
    9 z! P/ w% N) ?5 n& P6 H/ L6 C

  535. 6 v7 P4 C& Q  d* g
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP3 S) W& e  A1 A
  537. ; produces clickable error messages that direct to a page describing the error+ L. r8 L% v- Y
  538. ; or function causing the error in detail.3 y. a; H* M0 |2 t$ \
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    , p0 h4 b7 e. b& I$ L5 o9 C
  540. ; and change docref_root to the base URL of your local copy including the
    2 p7 Q: L4 n* O8 ?, X
  541. ; leading '/'. You must also specify the file extension being used including( c4 j" K' v9 q9 s5 s# [/ ?
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    0 e/ C3 L" H+ O- m
  543. ; case no links to documentation are generated.
    . W, q7 R! o2 {2 Z2 S$ V
  544. ; Note: Never use this feature for production boxes.; \6 M! S6 W9 Z. x+ A6 D" |* w; O
  545. ; http://php.net/docref-root
    , x& c/ [" \: _+ ^3 W
  546. ; Examples
    , ]. t1 S( k$ k
  547. ;docref_root = "/phpmanual/". Z7 q3 m5 p$ k: Q# i6 b

  548. $ r; ?+ \+ Q6 \& P  o5 P1 p0 g& `5 O+ }
  549. ; http://php.net/docref-ext
    ; w* \, T3 j) T! j4 l* J2 |. @! ?
  550. ;docref_ext = .html7 M  L' |3 e# m6 }5 F( T
  551. 2 u7 P  }0 U! R" L/ l. X
  552. ; String to output before an error message. PHP's default behavior is to leave
    8 g% @; J8 T( _- N# j( `8 W# K5 P
  553. ; this setting blank.9 ]* E& S! f& i. M
  554. ; http://php.net/error-prepend-string+ L; [) ^$ N  Q/ o' W1 ]
  555. ; Example:
    " ]# R% \& {( |( c
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    ) H  ^* r& D9 D3 E* r$ u& [

  557. % n  g# u4 l  [3 c; L
  558. ; String to output after an error message. PHP's default behavior is to leave
    . L: l7 Q! G3 q: [3 `5 d
  559. ; this setting blank.
    $ F) [* J( a- _" S; R5 |! h& Q/ h
  560. ; http://php.net/error-append-string  P% V* n3 n% g/ S9 \, a
  561. ; Example:$ g8 @! @2 l6 w2 U/ m/ U& T. y
  562. ;error_append_string = "</span>"2 C& i/ T4 c! }) @# j$ ]9 K

  563. 7 X" A2 F) G* E$ T! u
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    6 a1 p/ ~# D& v+ b# \+ I
  565. ; empty.$ F" ^7 v0 w% ?. k4 [
  566. ; http://php.net/error-log, P& E# V3 B3 V& J
  567. ; Example:
    6 s( ]/ Y. z3 P& H
  568. ;error_log = php_errors.log
    ! l6 X% N# e1 z
  569. ; Log errors to syslog (Event Log on Windows).
    % \/ G7 o' o1 w3 k- n* t
  570. ;error_log = syslog
    $ o7 w5 }7 k) H" z7 z% b# _* s

  571. + W' u- v5 R7 h/ a' p
  572. ;windows.show_crt_warning
    3 _; B/ ^, a  B* l
  573. ; Default value: 0
    ; C4 y2 ^; t, D0 [5 |( r
  574. ; Development value: 0: R8 e6 X3 l% J8 Y2 s) M# C$ G
  575. ; Production value: 0. R; S7 H  I* u) K9 o

  576. * E3 r8 j+ r/ {: [
  577. ;;;;;;;;;;;;;;;;;
    2 o* {% _9 z3 l) P4 |
  578. ; Data Handling ;
      i$ f: \0 e  C% v; ^; Z, w
  579. ;;;;;;;;;;;;;;;;;
    - I1 g) X- x- o: f& S8 i2 X

  580. 3 V% N6 M9 X# d2 g. f' h: ~
  581. ; The separator used in PHP generated URLs to separate arguments.
    4 c- g6 L; \" v" ]* m  v
  582. ; PHP's default setting is "&".) r; T( G6 L: r" y# ]; f
  583. ; http://php.net/arg-separator.output
    ' [# `, }4 C7 ~8 P7 e
  584. ; Example:
      Y6 s) Z$ h8 z4 h( H( z# g
  585. ;arg_separator.output = "&"
    " s- }0 l" l" [9 g8 p& r
  586. 6 E) H  q' l5 m4 D0 |- a+ V) U
  587. ; List of separator(s) used by PHP to parse input URLs into variables.. U" B5 q9 V! Y3 X% x0 B# f
  588. ; PHP's default setting is "&"., H' t/ u: A0 F9 Z1 w+ W( ?8 N, m
  589. ; NOTE: Every character in this directive is considered as separator!
    : W& f/ C& V% X6 }8 b! w0 A7 Y
  590. ; http://php.net/arg-separator.input
    . ~: V  t% D; D8 c" o; J  D
  591. ; Example:
    ) f- |" @5 J  O
  592. ;arg_separator.input = ";&"4 X2 T3 O1 }+ ?, M) S
  593. 5 Z0 v% H; j2 C' a% X  K1 O  [
  594. ; This directive determines which super global arrays are registered when PHP
    - Y8 S6 e  e) A. G2 o; s7 ?
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super( H9 v( t- N0 q: `! w
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    7 k% t2 @$ D* B7 L
  597. ; paid for the registration of these arrays and because ENV is not as commonly% ^! l! x, k, t3 p- N
  598. ; used as the others, ENV is not recommended on productions servers. You6 q. [' `9 _9 u4 `- ?! Z! t$ [1 D
  599. ; can still get access to the environment variables through getenv() should you
    $ ^6 p7 Y. V  L$ e( V! `: n7 i& M
  600. ; need to.
    ( R# h; u: C5 c' j- S* Y) P9 P0 n* o
  601. ; Default Value: "EGPCS"
    1 p$ O" x: b! u1 r3 }/ r
  602. ; Development Value: "GPCS"
    , x9 z+ h; S4 M/ @6 X, _! [, J
  603. ; Production Value: "GPCS";5 i1 k8 P( ~* f' b- z) B
  604. ; http://php.net/variables-order
    ; M, n7 q" ], w$ b( l% k
  605. variables_order = "GPCS"
    * Y" H8 ~/ ~& r/ H* N5 ]
  606. & ~1 f0 ~* c, N& p* Z$ z
  607. ; This directive determines which super global data (G,P & C) should be
    1 t7 `4 i2 @! @" R* l  j$ a
  608. ; registered into the super global array REQUEST. If so, it also determines& T) u( Y; d2 e9 Z* i
  609. ; the order in which that data is registered. The values for this directive
    ' ^# j+ Q0 n: S
  610. ; are specified in the same manner as the variables_order directive,0 }  P% x5 D/ o( |
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    # e$ J' p5 q1 G) D% x3 f$ b4 [
  612. ; in the variables_order directive. It does not mean it will leave the super
    8 l1 s& P# u* c$ r9 `6 P0 G2 V
  613. ; globals array REQUEST empty.
    : ]" o5 P1 ~2 |2 d) v# z
  614. ; Default Value: None
    & @8 }; G3 }" J& o6 d  E
  615. ; Development Value: "GP"
    , g) K1 Q) x3 j( `# }& L
  616. ; Production Value: "GP"2 K% E2 |& b- u1 R+ E9 p
  617. ; http://php.net/request-order
    " x9 G: l0 o, O* y
  618. request_order = "GP"- y& S- K* H) m) V! i, E8 t

  619. : v! C1 d. _9 u
  620. ; This directive determines whether PHP registers $argv & $argc each time it& ]! S4 Z; }1 C' V) ~
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script" M: N/ n0 q) s1 J2 S
  622. ; is invoked. $argc contains an integer representing the number of arguments
    - m' K+ b. D6 c
  623. ; that were passed when the script was invoked. These arrays are extremely
    6 R3 D* c2 K* n% A$ x
  624. ; useful when running scripts from the command line. When this directive is- m( M+ w" K# r8 s  o8 V# p
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    & o7 y- a& H; Q- @# W
  626. ; a script is executed. For performance reasons, this feature should be disabled
    $ y* w5 d3 w+ v( ^% M
  627. ; on production servers.
    * |1 g6 m4 I$ [! c1 \. @  ?
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    9 X; [3 U9 s; V$ Q
  629. ; Default Value: On
    + T' R1 T1 I8 j* A8 T
  630. ; Development Value: Off6 q5 ^- h1 {$ g3 R( [% c+ G
  631. ; Production Value: Off
    * l* v* |5 a' X; m, `2 }
  632. ; http://php.net/register-argc-argv
    9 W2 k7 o6 l* u6 k& Q
  633. register_argc_argv = Off0 S$ x# L( k& i" D

  634. / U- l% V8 @2 I1 {! D
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    2 u3 u2 \0 z. Q- n) q' d
  636. ; first used (Just In Time) instead of when the script starts. If these
    / L% S& c( j* {9 {$ {7 t" G% O- P  ]' }
  637. ; variables are not used within a script, having this directive on will result
    / F0 j! ?. Z& Y& d0 M, G; F) _
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled4 O9 \* B+ i$ W1 R8 \
  639. ; for this directive to have any affect.
    , L  x3 w, P( h' M
  640. ; http://php.net/auto-globals-jit
    + H1 {% ~+ d1 c" G/ h1 Q* A2 E4 F
  641. auto_globals_jit = On
    " g8 c' |5 [4 g$ J- Q5 r
  642.   p" t  {. ^; m/ W' P
  643. ; Whether PHP will read the POST data.
    6 C4 C( B6 Y" [8 a6 `
  644. ; This option is enabled by default.
      {; S5 |, s& M8 b/ B* G( H) n
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    / E1 f7 J% H/ U5 V# k4 Z
  646. ; and $_FILES to always be empty; the only way you will be able to read the7 B- A" o. P8 V+ L3 y, I% O; f
  647. ; POST data will be through the php://input stream wrapper. This can be useful1 h9 X/ C' j& e' J1 P  x; |
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    ' {8 o* z9 y$ g) ]& V4 x+ m: @9 ]* u
  649. ; http://php.net/enable-post-data-reading* _5 a9 O- j4 K* r, ~- H' O- |7 H) T1 V. i
  650. ;enable_post_data_reading = Off
    5 O5 N1 Y; a9 k/ i% K6 i4 X

  651. * s: D! o, u* ^
  652. ; Maximum size of POST data that PHP will accept.& Y, z& [8 i5 t
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    ; b( r7 [8 ?, a" }  M
  654. ; is disabled through enable_post_data_reading.% B  F  |2 y7 A" q
  655. ; http://php.net/post-max-size) d, I1 ~+ r9 J9 u, }. {+ Q
  656. post_max_size = 50M
    / X3 h3 ?; T- e) i
  657. 5 ]) g0 ]( ?, B0 p3 ]  z
  658. ; Automatically add files before PHP document." q- I+ B$ j% M3 A9 w7 o
  659. ; http://php.net/auto-prepend-file
    - z4 C3 w8 a5 h; b  B6 i; b
  660. auto_prepend_file =
    2 N/ c& G6 b$ z, H3 b
  661. + V% ]( q  K3 K
  662. ; Automatically add files after PHP document.
    ( m  l& A5 L) u( @, {
  663. ; http://php.net/auto-append-file
    " Z+ A6 `3 \- K. N& r6 g- o+ @
  664. auto_append_file =/ \% r5 h& P) m) ?  h

  665. " j$ _  Y+ T3 t- x
  666. ; By default, PHP will output a media type using the Content-Type header. To
    2 p$ L5 w7 l0 u  `2 k1 M
  667. ; disable this, simply set it to be empty.
    4 n  q% J2 E8 n2 ^" N- X; `
  668. ;5 o9 o0 Q: f% U* r% h+ j, h; r( L* s
  669. ; PHP's built-in default media type is set to text/html.4 i4 Y3 B9 D4 ?& Y
  670. ; http://php.net/default-mimetype
    9 h* c% g, O+ V3 H) i
  671. default_mimetype = "text/html"
    8 ^9 v% [2 @; L- G/ \9 [

  672. ' [& V$ {7 n$ x, {1 N
  673. ; PHP's default character set is set to UTF-8., q! B& N! R* o. O, y
  674. ; http://php.net/default-charset
    6 c4 r: `: y1 Y. r- [" k
  675. default_charset = "UTF-8"/ ]* y  [* \% g7 F
  676. 8 H. u" @' G* g" j
  677. ; PHP internal character encoding is set to empty.+ e5 i, ^! q/ s1 z5 |
  678. ; If empty, default_charset is used.
    , v# O( d1 ]- v+ `4 S2 H
  679. ; http://php.net/internal-encoding
    + h. h. i7 w! c2 }- f$ A
  680. ;internal_encoding =
    / ^6 j4 f+ Z; l* N( v5 l
  681. 6 L) D% v5 R9 [/ o: X9 j0 N* `
  682. ; PHP input character encoding is set to empty.. M3 a* `$ o! f  |, z
  683. ; If empty, default_charset is used.
    8 [! g) s9 o8 h, |: L( `4 B6 }
  684. ; http://php.net/input-encoding
    % O& w9 n4 x' y9 c0 w9 G% K
  685. ;input_encoding =9 S) F( R; F3 H0 m! U5 O6 d$ J6 M
  686. 8 g& I. T3 u: y( F1 S: a
  687. ; PHP output character encoding is set to empty.' m2 f& z1 k1 j
  688. ; If empty, default_charset is used.
    0 B- W8 b- _/ i' j7 J, M$ d
  689. ; See also output_buffer.% n3 S  Q$ L( {' U% u. T
  690. ; http://php.net/output-encoding
    * U7 S# T9 f' X
  691. ;output_encoding =
    9 J: q8 o) ^7 v1 j

  692. 6 J$ r. p2 l! v% d$ x6 s/ ]! P
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;7 Q- {, @, n& I5 L; }* J
  694. ; Paths and Directories ;
    & x; g/ A0 R+ ?, G* }% {% f
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;3 {6 M% \5 M( _$ I: p; F8 Y
  696. 8 s1 m' z$ J8 m2 h3 k  K! q5 \
  697. ; UNIX: "/path1:/path2"
    6 H) h% t" Z/ {, |5 @1 H+ y" _0 b
  698. ;include_path = ".:/php/includes"7 n0 i# a$ P, e8 \8 O! q
  699. ;
    1 @1 U$ a. k1 o6 k. C0 M5 A
  700. ; Windows: "\path1;\path2"
    ; d) Y% b/ R2 a7 i3 |
  701. ;include_path = ".;c:\php\includes"
    6 ?/ y$ U- A+ o+ {/ B
  702. ;
    $ q  g1 [, x9 G; z7 Q
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    . X. ~' i/ `" S1 ~1 f. t
  704. ; http://php.net/include-path2 b5 L7 F* A+ c. X
  705. 6 M" f/ K( x7 T$ L! p& a
  706. ; The root of the PHP pages, used only if nonempty.
    7 i  x3 F5 k+ d( K
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root8 ?, k+ H8 U9 g) W
  708. ; if you are running php as a CGI under any web server (other than IIS)
    6 h# a, G+ L+ w/ M7 P
  709. ; see documentation for security issues.  The alternate is to use the
    $ ~7 }5 _1 E7 H' f  b. C
  710. ; cgi.force_redirect configuration below; f1 x; Y9 ]8 v- i1 I
  711. ; http://php.net/doc-root
    ' ]& `$ R5 y" s/ O4 W2 x
  712. doc_root =5 ]# g! K5 [1 V: O4 C7 o( G2 ]
  713. 9 M$ S) ]3 H( t: g3 T5 L1 m
  714. ; The directory under which PHP opens the script using /~username used only
    ! D9 h- ~5 f6 _' L% w, }6 ]
  715. ; if nonempty.! _( ^2 K8 r9 f9 K
  716. ; http://php.net/user-dir
    ( N* h; m( _( C
  717. user_dir =/ I* x7 N+ B( c7 g7 Z

  718. % q, f2 w/ A5 ^. a3 j2 m& c
  719. ; Directory in which the loadable extensions (modules) reside./ M8 }+ U2 J  e4 B7 g
  720. ; http://php.net/extension-dir/ N0 X/ j% e5 E; ?
  721. ; extension_dir = "./"0 l; |* R; }( e2 g* a, h6 s
  722. ; On windows:
    , h, k3 M# y7 N; G9 a$ f* H
  723. ; extension_dir = "ext"
    1 S8 K& W: h: T  e( D4 ?
  724. 6 I6 d1 s0 N) q# l: ?" p6 P
  725. ; Directory where the temporary files should be placed.3 Q7 X( N4 j6 c& b* Y. A4 _0 _
  726. ; Defaults to the system default (see sys_get_temp_dir)7 Y, z1 I" ?% X$ g0 A4 d
  727. ; sys_temp_dir = "/tmp"! }! a. l0 V) B  Z9 ?8 t. X  _& s

  728. % y1 {" e( Y/ l
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work. T' v3 V) t1 \3 I2 V
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    4 e0 E0 T$ \4 b, [- b$ p
  731. ; disabled on them.
    6 X( W, z; h; G5 k: M5 [* Y
  732. ; http://php.net/enable-dl# `  y; U  V: i* A
  733. enable_dl = Off
    5 H6 p: ?9 u7 U+ T$ w
  734. ; F$ h0 ^+ a  n; o+ p& K& k: H
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    + g% A1 Z; E% C* m, \% J* \# E
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    9 R3 R3 t$ ~; _( F
  737. ; turn it off here AT YOUR OWN RISK
    0 L* R/ X3 f6 ?* `1 G; d+ A5 ^
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**# o- D7 c) m0 D0 M, ~
  739. ; http://php.net/cgi.force-redirect% i( m. \5 j8 Q+ ~  e+ i
  740. ;cgi.force_redirect = 12 N6 Y6 S6 t9 J! K' a

  741. 0 x5 Z9 w! q$ k, v0 F
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with% H' o; D4 ^' m$ p9 v2 T. l- \
  743. ; every request. PHP's default behavior is to disable this feature.. x0 `4 _' {3 [, k
  744. ;cgi.nph = 12 R5 L# v/ W2 k# _( F6 n; m

  745. 4 L  w8 g' J  O; S7 p7 E4 S
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape6 G" Z8 Q9 O0 i- D. O1 x& X1 G5 v8 K
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    , K! y: I. D& Z7 n6 S6 N
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY) Y: x/ }6 Z- b% e3 h/ y! V# l2 j
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    ; m) \5 h/ G. O  y# p" s! t: z
  750. ; http://php.net/cgi.redirect-status-env+ L1 m# X& U: u
  751. ;cgi.redirect_status_env =
    $ `) P5 l+ U7 k" m
  752. 1 W2 ]1 G8 d9 ~( I/ Y5 @2 x
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's& _$ q4 d. ^9 I
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    3 }) A2 Z: ?& S- o" D7 I
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting: V8 X$ H' w6 T& a. y1 Y9 |8 t
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    5 B& y  V$ \; z
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts, b# g; K# X9 _. N4 F
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    / n: ^$ D  q* q( _* p
  759. ; http://php.net/cgi.fix-pathinfo" O7 Y' o! B* ]& J
  760. cgi.fix_pathinfo=1
    $ R9 g" d9 P+ s* v) F2 l* Y! u* z  O
  761. 6 B; n3 _8 e  N$ G* F
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    , S; [" y7 h* W/ m) O1 y
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    & q+ S4 W2 [- ^) h, v
  764. ; http://php.net/cgi.dicard-path3 k% X" I+ i; l, L; H/ u
  765. ;cgi.discard_path=1
    ' \# Y# n$ T! X. D, {

  766. 1 b# q, a. u* i' B6 X8 `
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate: }% T- y  I- Y' e) Y, e4 W( a' A
  768. ; security tokens of the calling client.  This allows IIS to define the
    " s9 D# a* [1 v3 c6 q3 B
  769. ; security context that the request runs under.  mod_fastcgi under Apache8 j, A# X# W6 n! x
  770. ; does not currently support this feature (03/17/2002)
    1 ?* W) P: {8 ^# [! N  {! Y
  771. ; Set to 1 if running under IIS.  Default is zero., D; r1 f5 H0 s6 `
  772. ; http://php.net/fastcgi.impersonate  K2 f7 `0 A, U' b( r
  773. ;fastcgi.impersonate = 1  t1 {! v  _/ o8 u

  774. ' F/ h6 n$ I  v* L% T# y
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    + q+ R1 M0 z; O' {. {$ G* |
  776. ; this feature.
    4 f5 {1 O4 I9 ~. i0 p/ r
  777. ;fastcgi.logging = 0
    6 w6 W  R" v. l! y

  778. # R/ ^/ ~6 @" A6 E/ R: A# A- C
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to1 _. I8 R, [8 Y' J( h* W$ O& T
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that4 W0 f8 `% O0 c, g9 f$ O$ e
  781. ; is supported by Apache. When this option is set to 1, PHP will send2 S  N# n$ v/ V8 c  z  j5 U
  782. ; RFC2616 compliant header.' S" F/ U! J$ \- o0 Y$ r% G. ?
  783. ; Default is zero.
    1 e- G* p" U* T7 P
  784. ; http://php.net/cgi.rfc2616-headers
    6 t5 ]; t; C; D6 k. R" O5 M
  785. ;cgi.rfc2616_headers = 0
    0 H8 I( b6 N' d! `4 H

  786. & u* H  q0 c3 e/ ^# G! R
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    0 h6 Q6 _( o* C& V
  788. ; (shebang) at the top of the running script. This line might be needed if the& J' s5 S! A$ s& M2 b9 O1 O
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI4 D" X2 z1 \8 B$ i
  790. ; mode skips this line and ignores its content if this directive is turned on.1 m+ L2 M0 j0 j/ r% K# t; D
  791. ; http://php.net/cgi.check-shebang-line
    ! e4 k; r7 H' ~/ P7 I6 D
  792. ;cgi.check_shebang_line=1
    6 {1 _! S9 J7 T  T  Z! R
  793. ( V6 s& d  d" J2 W
  794. ;;;;;;;;;;;;;;;;5 V7 x/ H% _9 d& r
  795. ; File Uploads ;. J5 _( X: j+ [3 i8 s7 \4 c/ N
  796. ;;;;;;;;;;;;;;;;# E2 Z1 N: }1 k8 O$ Z& x- a
  797. + w0 ]3 v1 z; G8 [' @
  798. ; Whether to allow HTTP file uploads.0 z8 A: S, }1 B
  799. ; http://php.net/file-uploads3 x- V7 e  T" S( P; b* n
  800. file_uploads = On
    4 m! C2 e+ M# {% O3 e! s4 D

  801. , H7 r3 g2 L& M! A8 q0 _/ P
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    " s0 Q  ]" F+ Z5 ]1 J$ n
  803. ; specified).
    % J6 h: @6 y2 Q
  804. ; http://php.net/upload-tmp-dir% L2 X( O0 w+ O
  805. ;upload_tmp_dir =/ U1 Z9 ?3 M" V; e
  806. " K2 U' [: u+ ^/ a3 j
  807. ; Maximum allowed size for uploaded files.  Z9 h& h4 l/ F! H* ], S; e% Y/ f* X
  808. ; http://php.net/upload-max-filesize
    ' O' B* G3 ~; E  h, f% g
  809. upload_max_filesize = 50M; h& M7 c& V9 s% |/ R

  810. 2 E7 S. U# B3 P, x$ T# t& f. t
  811. ; Maximum number of files that can be uploaded via a single request7 n: L& ~% l3 k6 X: m* ]/ w% `, k
  812. max_file_uploads = 20
    1 _/ [! n1 ~/ h% @
  813. 3 r1 q  W  |" C. x1 b0 Z
  814. ;;;;;;;;;;;;;;;;;;
    $ w0 r) w& D% L  V0 h2 K
  815. ; Fopen wrappers ;
    2 B# ^$ P, ^6 `% E
  816. ;;;;;;;;;;;;;;;;;;
    7 G- s! k. B! e+ X! {9 W6 m) O
  817. 1 J: e* O. d" i6 T3 F. h4 ]
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.7 C+ j8 R5 A# C+ `1 n: S6 |
  819. ; http://php.net/allow-url-fopen
    . M4 ~7 ?3 z2 J6 o3 F4 u
  820. allow_url_fopen = On1 }% |: l) A* H5 s0 k
  821. ' P' @5 F& r8 M' d& T4 e
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    9 ^: r! V2 B7 Y+ I" @
  823. ; http://php.net/allow-url-include
    2 d" o; K0 d2 h. K' }
  824. allow_url_include = Off- Y5 i  K; z8 N* \( V: ?- J1 c# B

  825. + |$ G' D% \' s; g3 p- q
  826. ; Define the anonymous ftp password (your email address). PHP's default setting# _* z) o7 Z! e& y) N
  827. ; for this is empty.
    / w# d% [( i  y7 z" x; f! }4 E! O
  828. ; http://php.net/from0 P( s- S: h3 w! c! X
  829. ;from="john@doe.com"; f1 s- x5 @- x2 d7 [: w/ e8 T, y& n0 w

  830. 2 U  H8 X% X. X. \; L% R
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    6 e6 C7 l  H5 [
  832. ; http://php.net/user-agent: j; x" K0 Y/ k% V4 F6 t0 t$ d* A
  833. ;user_agent="PHP". f  Y4 T, p, N# B- k: b

  834. ) X0 A: I) c# N9 @9 Q+ P5 }
  835. ; Default timeout for socket based streams (seconds)3 Z, e- i. e' F! P' c& m
  836. ; http://php.net/default-socket-timeout
    5 t0 O! O& C4 @* J9 O) \+ `
  837. default_socket_timeout = 60" H* @) h! @6 l; e5 P8 \6 O* t  }

  838. ' E" u6 ?, B  q# ?4 D' @
  839. ; If your scripts have to deal with files from Macintosh systems,
    6 `6 H* s4 E% ^, {5 B
  840. ; or you are running on a Mac and need to deal with files from* @- w3 h0 o- b- j' ~+ @
  841. ; unix or win32 systems, setting this flag will cause PHP to
    & y9 H6 O6 K4 v4 y! T
  842. ; automatically detect the EOL character in those files so that
    3 K/ h( L0 j$ T8 b! y8 T
  843. ; fgets() and file() will work regardless of the source of the file.
    ; \4 s+ r. d) [0 X5 h$ z
  844. ; http://php.net/auto-detect-line-endings
    ( n) o" v  I# q) V1 ^; ?/ v
  845. ;auto_detect_line_endings = Off2 @. ]6 L0 w, h4 ~$ k4 a6 d9 ~

  846. : M9 U) E! u& I: J
  847. ;;;;;;;;;;;;;;;;;;;;;;
    $ j4 [8 @( K% V+ X2 E+ X4 V, F
  848. ; Dynamic Extensions ;2 w9 |1 x4 H* g7 X
  849. ;;;;;;;;;;;;;;;;;;;;;;
    7 k, C! ^: e0 M
  850. " d  F- c$ D8 Q. ~
  851. ; If you wish to have an extension loaded automatically, use the following9 Y% e: z/ G) T
  852. ; syntax:
    1 V7 }/ ?5 y8 M# d9 \( G% B* z+ B
  853. ;
    * Q* D$ L6 `3 P$ M0 P! ~
  854. ;   extension=modulename.extension# c8 C) W* D4 `$ Z+ V$ `5 ?2 [
  855. ;
    ; B3 x7 t8 Z7 S& C- ]) x0 v
  856. ; For example, on Windows:' u2 J" I$ w) K8 f. @
  857. ;
    8 p& [2 K. z1 o$ }6 Q
  858. ;   extension=msql.dll
      {9 p1 A; _% e. Z+ S5 C
  859. ;+ h/ ?- w; ?8 k: h' n, C0 Y
  860. ; ... or under UNIX:
    / w' ^8 k; B9 P. h. y) [3 B
  861. ;) U8 U2 ^9 z! T! {1 j3 ]
  862. ;   extension=msql.so0 o3 M' [8 l3 u3 a
  863. ;
    , M! L) b: s$ V, D7 y& n
  864. ; ... or with a path:
    6 g- X- a3 `4 E0 c
  865. ;
    ) ], ~5 ~! P2 S$ b' ?# R
  866. ;   extension=/path/to/extension/msql.so
    5 [3 A! ^' y6 `; L
  867. ;  j; |' o- P2 J/ Z
  868. ; If you only provide the name of the extension, PHP will look for it in its
    - e% F1 u: A9 Y+ `+ g3 R0 U
  869. ; default extension directory.
    3 R3 n, T% r3 e0 m
  870. ;
    . N0 e& x$ @+ l8 V& g2 M3 s6 m* T6 a
  871. ; Windows Extensions
    8 F3 B' `5 `4 F" _- c* _3 Z) i
  872. ; Note that ODBC support is built in, so no dll is needed for it.. a: L$ a) h3 _4 e- C' a# o& {
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    0 G- @8 o4 P) u. u. _* \; [- D
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    : g& @. c! ]# x- d+ H
  875. ; Be sure to appropriately set the extension_dir directive.+ R; K7 l" H, G; U; W+ D. D; K* U
  876. ;# G$ ^5 F' ?* e4 n: x' p
  877. ;extension=php_bz2.dll' f; {* {* c4 }9 }3 B& [( ~
  878. ;extension=php_curl.dll
    , n1 o5 j6 U  z. d% b; `
  879. ;extension=php_fileinfo.dll. K( k8 `6 j3 ^0 @
  880. ;extension=php_ftp.dll
    ! A  V" f# l7 y9 Z$ i. O. O8 [
  881. ;extension=php_gd2.dll' u, E$ f& ~4 C! f1 f+ U
  882. ;extension=php_gettext.dll0 F- q% \0 P7 y7 l
  883. ;extension=php_gmp.dll
    , Y' M" {7 s$ h% I" H
  884. ;extension=php_intl.dll
    6 [5 @& @. ]1 I) _
  885. ;extension=php_imap.dll
    8 H7 M+ h% K9 J1 n
  886. ;extension=php_interbase.dll
    ' X; I2 |9 N  z0 k" l" o
  887. ;extension=php_ldap.dll" J1 H" W: m2 V  U* s
  888. ;extension=php_mbstring.dll
    8 }% ~; m3 b0 [8 G+ I3 a
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it/ i4 ~7 m* S$ B5 n( J! k) H3 W" V
  890. ;extension=php_mysqli.dll8 O7 n: B* |0 S
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    ' X, n3 {2 A+ r
  892. ;extension=php_openssl.dll1 Y, o0 z. I0 L' a2 t0 p
  893. ;extension=php_pdo_firebird.dll* U, d. ?# Q) @  Q& s* G
  894. ;extension=php_pdo_mysql.dll! M% i* S) u% p
  895. ;extension=php_pdo_oci.dll
    & Q  ]9 R9 b) H: s
  896. ;extension=php_pdo_odbc.dll9 B, P  Q% H, ?9 w/ F/ `
  897. ;extension=php_pdo_pgsql.dll, }# S0 {8 f; t0 w' N6 J3 R
  898. ;extension=php_pdo_sqlite.dll. ]& P/ M) I4 L6 K9 |
  899. ;extension=php_pgsql.dll
    1 _( r" M9 S6 [/ [  O" A
  900. ;extension=php_shmop.dll: h& k; \3 _) h% m+ [
  901. ; N. D$ r$ B& F7 n
  902. ; The MIBS data available in the PHP distribution must be installed.
    " m1 s) ]# N5 l0 ?* [
  903. ; See http://www.php.net/manual/en/snmp.installation.php7 r' C7 q8 I& ]/ x/ Y
  904. ;extension=php_snmp.dll
    6 Y6 o+ {" |$ y, t, ~" L% v
  905. + {1 t: H! x& ?3 F
  906. ;extension=php_soap.dll8 N- |9 p0 i3 B  ]; e- r
  907. ;extension=php_sockets.dll+ p- _. u6 x  o0 O
  908. ;extension=php_sqlite3.dll
    ' B3 I* t0 b- P7 W7 Z
  909. ;extension=php_tidy.dll# H! {( M; y; [
  910. ;extension=php_xmlrpc.dll
    % }& K2 x) U; D' h6 Z
  911. ;extension=php_xsl.dll9 W5 S! ^0 r! u6 o/ D
  912. . k! P3 h+ A6 p: N7 j7 ?2 B
  913. ;;;;;;;;;;;;;;;;;;;$ r0 T: d# e7 G, [' V
  914. ; Module Settings ;8 S8 e1 H+ M& i
  915. ;;;;;;;;;;;;;;;;;;;* [( H) @1 |- _) M5 P6 ?

  916. : Q" k; ]; w9 [9 |# w& a
  917. [CLI Server]0 u' c' B" \- k# R( `9 @: x! B9 L
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.4 G8 ~4 a! Q' s; }) B
  919. cli_server.color = On
    - a# s6 A9 c- F- J9 b% W% A% D
  920. 2 w/ B0 {8 u2 \; s* d
  921. [Date]. q3 z& I2 ^1 o8 C; l
  922. ; Defines the default timezone used by the date functions
      A9 o. i3 T1 S& v+ l( A3 o
  923. ; http://php.net/date.timezone* t- ?7 t7 f) U& _
  924. date.timezone = PRC4 O/ I) \  A( m8 o4 X3 C- V, V
  925. % ?0 f2 {5 O/ X- f
  926. ; http://php.net/date.default-latitude. }+ L' K: u4 P1 C* ?
  927. ;date.default_latitude = 31.76678 ~; G( R: t- J7 x

  928. / I7 ~& G# k) d, V
  929. ; http://php.net/date.default-longitude! j9 {7 V* r1 \! L. h
  930. ;date.default_longitude = 35.23335 q, p8 F3 _- N' a- t8 o: R5 H- z
  931. + h7 Z2 l6 X& R9 I' J, A* {+ s
  932. ; http://php.net/date.sunrise-zenith7 b8 Q: b; F; g# |
  933. ;date.sunrise_zenith = 90.583333
    ( _, l" Q: P* A
  934. 6 X) i. Y$ X! q' F
  935. ; http://php.net/date.sunset-zenith
    . o( N; N# h+ }# x6 d3 r7 V9 u
  936. ;date.sunset_zenith = 90.583333
    / `3 w5 X) @8 b
  937. 9 `% a% D; d. _7 z0 m( f
  938. [filter]% L* m% e8 i5 M8 H& c
  939. ; http://php.net/filter.default
    , Q9 G$ S( ]0 K
  940. ;filter.default = unsafe_raw. }0 O) Y1 f; C5 O1 G% u% F* z
  941.   O6 J6 X3 c% r7 H/ }. y6 V
  942. ; http://php.net/filter.default-flags
    + d: e3 j. V+ t9 n
  943. ;filter.default_flags =
    2 e$ b4 w* Q. u1 W" H+ G) j
  944. 8 _# Z, D$ n# F9 D0 D' s
  945. [iconv]) j, ^: `! Y' _
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    ' }& x, l. H2 }) s' x! [! m" p! o1 B3 e
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.( ^* w9 o1 ~2 D
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    % |( u! s; Z+ g/ n& H1 {
  949. ;iconv.input_encoding =, T8 h! J6 \$ Z( s: Y! M- t
  950. 2 O# m% o8 j1 T; }/ ?) `
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead., |: t2 f, x3 o! r4 q; H
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.& m3 p; ^) L) r2 |: u1 H6 Q4 E9 R
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    " Y7 Z$ ^; ~: m
  954. ;iconv.internal_encoding =
    & H1 i5 @) e# X& t3 A$ a

  955. 4 P* g/ I$ U+ |
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.$ T6 e  u- k" l; l, Y
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    7 t9 a) \8 p- O) G+ R0 _, x6 s
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding0 r/ b( n7 E& _  G9 T* C
  959. ; To use an output encoding conversion, iconv's output handler must be set
    . y" C4 j4 f- R+ R
  960. ; otherwise output encoding conversion cannot be performed.& G% ~) C# |: ?* O7 [" y  f% ]
  961. ;iconv.output_encoding =
    2 v3 d/ s3 a% ?" i* p
  962. 1 I; ?9 L$ Z6 _1 r0 e% W* N
  963. [intl]# F* j/ l2 e: T
  964. ;intl.default_locale =+ B; A2 |9 Z# E! V- ^) S5 b
  965. ; This directive allows you to produce PHP errors when some error
    5 c3 ~6 Y, Y% d- n9 t1 [& E
  966. ; happens within intl functions. The value is the level of the error produced.1 s2 r6 L# t1 J% _
  967. ; Default is 0, which does not produce any errors.2 D: t  E) ~- S
  968. ;intl.error_level = E_WARNING
    * B$ J7 n: T4 Z; ~+ q$ l
  969. ;intl.use_exceptions = 0- ?2 C( U5 e# D& @  l& d3 e

  970. 6 Z3 X1 J6 ?: S; S* h! w6 X
  971. [sqlite3]
    0 `+ [) t: S" H$ J3 Z/ e" f5 @
  972. ;sqlite3.extension_dir =2 n/ s3 d# b, `

  973. % \$ j( ]5 |/ A5 a! c, }
  974. [Pcre]0 Z) l' u# l, p5 k: U1 }5 s+ }0 M* M
  975. ;PCRE library backtracking limit.
    * U( b5 y  O9 X( G
  976. ; http://php.net/pcre.backtrack-limit0 ]3 N( n! P' r: R8 J- s& a
  977. ;pcre.backtrack_limit=1000002 }! i) q+ w" C
  978. 5 q& |5 q1 g/ _, Z5 r/ H- L
  979. ;PCRE library recursion limit.. Q: z/ `2 i* W
  980. ;Please note that if you set this value to a high number you may consume all
    # l  @4 D4 U$ @. C2 L
  981. ;the available process stack and eventually crash PHP (due to reaching the4 A) Q4 ?0 D0 o9 _3 f' y9 ~
  982. ;stack size limit imposed by the Operating System).* M' L! Y: D6 j" l; T
  983. ; http://php.net/pcre.recursion-limit$ l7 `$ C8 }4 t, N
  984. ;pcre.recursion_limit=100000
    0 I9 `; g5 ^/ e3 N/ i

  985. ( u( e0 W" `3 r& f+ W/ E
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE: e7 `) U% B2 p/ Z9 |, F
  987. ;library to be compiled with JIT support.
    , Q. u. ^- p- O# x+ Y
  988. ;pcre.jit=1: e. p! C: R, S& H6 M$ \
  989. % J1 A+ _8 p7 v5 v0 G
  990. [Pdo]
    ( z0 c) z4 s7 ^
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    1 |9 z% @( u% v1 _! O7 ~" `
  992. ; http://php.net/pdo-odbc.connection-pooling
    1 w5 D: `- V2 h
  993. ;pdo_odbc.connection_pooling=strict
    . y; p) E+ f1 O* ?" q$ t- Q  d. M

  994. * @$ S) X# n6 J
  995. ;pdo_odbc.db2_instance_name0 Y* Z7 e  T$ F9 y' g1 k  K
  996. 9 F( ]- {* c6 _4 H: k1 L$ s) L
  997. [Pdo_mysql]
    1 G1 h, A3 A% i3 g
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ; W$ D, Y% e" D+ g$ n* o2 z
  999. ; http://php.net/pdo_mysql.cache_size
    & N0 k! Q- {3 A
  1000. pdo_mysql.cache_size = 2000
    0 S; s' j; s; I' z; I2 r
  1001. 1 Y* k% z; r2 z
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in  z5 [" ]$ }/ O. I1 ~* c' X5 A
  1003. ; MySQL defaults.
    * E2 P$ m3 q/ A- d% c- U- q. V" C
  1004. ; http://php.net/pdo_mysql.default-socket
    4 y0 p: }- I8 n. U# j
  1005. pdo_mysql.default_socket=
    ! v4 [4 V" V0 z4 }9 `8 N$ |6 x

  1006. * g/ V4 B1 v1 ^) T( Z$ I0 Z
  1007. [Phar]
    * _- g2 ~7 h0 t8 ?: s
  1008. ; http://php.net/phar.readonly" c/ J% H. h: ~$ m: [; Y8 m
  1009. ;phar.readonly = On8 i2 W1 U& o7 \. @& q% _
  1010. # h; a0 `+ g3 u5 @9 I2 A4 e) f9 a
  1011. ; http://php.net/phar.require-hash5 c9 T8 j" J8 [. [: d
  1012. ;phar.require_hash = On
    : m! y9 Z+ c8 _# @% c4 S
  1013. 7 @" _, ^  n* _; Q
  1014. ;phar.cache_list =' A& c, u0 k+ ?3 Z+ B

  1015. 7 r4 l% j+ E0 y
  1016. [mail function]
    ' L- {( a" c+ h* _3 `1 `$ E
  1017. ; For Win32 only.
    # V, z6 S5 d* h9 ^" C
  1018. ; http://php.net/smtp
    ; _2 K* k2 X) q. n; x; m+ ]* ]
  1019. SMTP = localhost) I, D3 p  l  E
  1020. ; http://php.net/smtp-port
    * e1 T; \* h- M7 K
  1021. smtp_port = 25
      I" R- ^: `" O' H  u4 r6 G" ~/ p3 P* e& L

  1022. , B9 \$ W, a& p' P+ H2 V
  1023. ; For Win32 only.
    4 H, }/ E: U8 |7 I6 G
  1024. ; http://php.net/sendmail-from
    2 c, V5 B# d( B8 k9 u! [
  1025. ;sendmail_from = me@example.com/ o: G+ |6 q: }$ Q- p

  1026. ' ~  c5 J5 `& P% `( e7 ]% O, k3 a
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    8 U- B" y5 j3 i. g
  1028. ; http://php.net/sendmail-path9 b* L5 `# q' K6 Y6 N; A
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    + {4 m( W  a! x9 V% [2 y
  1030. 3 p6 h" u3 \% G* i, v5 |
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    4 `$ t" r2 L  D: x2 F3 e
  1032. ; to the sendmail binary. These parameters will always replace the value of) B/ Z. b) \  P, O* d# R1 Z7 ~
  1033. ; the 5th parameter to mail().
    % _9 M4 |# ?0 A9 ?& b
  1034. ;mail.force_extra_parameters =
    7 Y2 Y+ |4 ]* @( _
  1035. % `8 f% t4 l) |3 I8 N) `
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename$ r) k& {7 @& b. D' \( l0 Q! {
  1037. mail.add_x_header = On; Y, z, S4 h, `0 Y: n& T4 X

  1038. ( ~. `0 h. q) S& ?
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    $ n7 r  ?& d6 f& L
  1040. ; the full path of the script, line number, To address and headers.- n9 M; V* C, `+ _) S
  1041. ;mail.log =
    7 U' s2 M7 x3 ?! X
  1042. ; Log mail to syslog (Event Log on Windows).
    & D" r4 N( y7 t) i6 V0 I
  1043. ;mail.log = syslog& K" X- X' Z9 [
  1044.   W! [5 S  l6 }6 s# ~6 w4 y3 h( v
  1045. [SQL]  H. R0 B% D) ^. f0 z3 [' E" t* S  v
  1046. ; http://php.net/sql.safe-mode4 m+ i, {' x0 V8 e
  1047. sql.safe_mode = Off
    ! l# q. d8 z3 f" m
  1048. 4 n$ X; H- |8 n6 D' G) h
  1049. [ODBC]: J  @0 Y5 K9 _6 Y, D
  1050. ; http://php.net/odbc.default-db; `% a0 J$ c( s
  1051. ;odbc.default_db    =  Not yet implemented+ x; z' G4 t; t3 p
  1052.   s8 `" J! m5 C$ B
  1053. ; http://php.net/odbc.default-user" Z! h4 r) o( y
  1054. ;odbc.default_user  =  Not yet implemented
    7 [0 K. h( ~& \- L- i% ]! g) g  u
  1055.   d3 A8 _8 ?! O0 e& p" ~2 K8 e; i
  1056. ; http://php.net/odbc.default-pw9 l# ]: l  l+ G
  1057. ;odbc.default_pw    =  Not yet implemented1 i! k  X. g1 Z: }) y

  1058. ; E9 p* H- d0 @
  1059. ; Controls the ODBC cursor model.
    % e' T8 e7 t! W( f, ?8 X$ e
  1060. ; Default: SQL_CURSOR_STATIC (default).
    + [0 o4 r5 ~0 e( ^
  1061. ;odbc.default_cursortype1 M9 W" J" A  g! v% V0 ^
  1062. 9 I3 A1 ~3 a6 D8 P9 A! W. @/ e
  1063. ; Allow or prevent persistent links.
    : B/ b6 R5 l  G* O. j$ z+ S
  1064. ; http://php.net/odbc.allow-persistent
    + |  e7 k) V: }
  1065. odbc.allow_persistent = On2 m- k7 g* w+ m

  1066. $ ~- p, U! c; S+ J
  1067. ; Check that a connection is still valid before reuse.
    , }- p) R7 o3 N4 U3 R& }9 Z
  1068. ; http://php.net/odbc.check-persistent3 I/ Q' o8 e6 i
  1069. odbc.check_persistent = On
    , I  K* O# R. R, `$ \: p" A

  1070. : M& y1 Q$ L9 d& p
  1071. ; Maximum number of persistent links.  -1 means no limit.
    1 l) i- P% c: P( n# }# c
  1072. ; http://php.net/odbc.max-persistent
    - I  J8 j% `1 r
  1073. odbc.max_persistent = -1
    0 a6 ]: w- T5 {& Q

  1074. $ B4 z1 M2 u4 V3 R. M& d6 W
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.& I$ `/ l( {: x$ r& d# a4 P
  1076. ; http://php.net/odbc.max-links0 D- Y4 b  m+ ]8 z# U3 `
  1077. odbc.max_links = -15 H* x( ^- a9 d+ i$ [; c+ E
  1078. % n( j, `7 E' i+ K/ D9 @3 ]" O9 G7 P
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    3 L- Z4 Q6 W5 ?
  1080. ; passthru.
    ) D, B- c3 s8 ?0 k8 P; G) R
  1081. ; http://php.net/odbc.defaultlrl# i: _' `9 q* Q
  1082. odbc.defaultlrl = 40964 s0 w3 i# F3 X5 C+ e

  1083. 2 {' Z5 n3 R1 e& d0 g! E* K$ ~
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    & v/ C4 ~( ?; f) u# x# O: ~+ S" }, _
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation4 ?0 ^5 C! u7 \& V
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    7 b1 j9 N' V6 N* \
  1087. ; http://php.net/odbc.defaultbinmode) X1 c4 B" z2 l0 ~1 V
  1088. odbc.defaultbinmode = 1
    , r3 r6 W& O* W, c! X

  1089. * S, [& i# x" {6 e8 Z* O/ F+ a2 A" i
  1090. ;birdstep.max_links = -1
    5 W0 e; p8 o4 n" m+ F

  1091. ! ]- C$ p1 U' `- Z$ ]+ ]1 E; S/ \
  1092. [Interbase]" R' G  T0 }2 F
  1093. ; Allow or prevent persistent links.5 w3 M( ^6 }" K9 y/ U3 `
  1094. ibase.allow_persistent = 1
    4 |* C2 y- M- j5 Q: C* n9 n. m

  1095. # m) ?! [" g1 [4 q
  1096. ; Maximum number of persistent links.  -1 means no limit.
    5 m" E* |* z3 m3 h! S. r& H+ k
  1097. ibase.max_persistent = -16 {/ o4 M4 k; J& g' w  e
  1098. ; B, P8 _) v& m; X2 T4 B: |6 I
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    0 |  W' n; M! b6 Y
  1100. ibase.max_links = -18 ]: R% s  `8 j+ `, H+ f

  1101. 5 F* E# s5 z1 W/ G" H# O
  1102. ; Default database name for ibase_connect().
    6 Y# s5 e- ]7 W! W3 G) ]9 t
  1103. ;ibase.default_db =
    ! ^8 H' Y" f3 m- Z( o+ e

  1104. 5 ~6 f8 o$ m4 E
  1105. ; Default username for ibase_connect().
    * Y4 c/ A1 I9 S& q, O
  1106. ;ibase.default_user =
    2 n! s6 B& G; ]) R: j

  1107. 5 e9 ?1 `! w1 o( D
  1108. ; Default password for ibase_connect().
    - ?# N% a7 v5 I+ z
  1109. ;ibase.default_password =
    - V: O! k- c  ]5 D" e* P1 L% b

  1110. ( k+ \+ _) Q. \7 ^" b8 d; r
  1111. ; Default charset for ibase_connect().  E& }& M  r9 ?- E8 j
  1112. ;ibase.default_charset =9 e3 _' _$ O5 O3 y  [! [

  1113. ) b0 w  `$ H* l( O- Z6 C5 n7 j
  1114. ; Default timestamp format.
    5 L9 Q( z' Q* V% w& m& \! X
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    * L9 g5 h' |7 p% V! P

  1116. + T0 m( i; N) `* q, p/ b  R; L
  1117. ; Default date format.* D+ Y! [( L% b5 p
  1118. ibase.dateformat = "%Y-%m-%d"- b: g( q0 b& c! o4 y$ C# x" b4 K

  1119. 1 O# u0 P/ k  D( A  F6 H$ `
  1120. ; Default time format.3 L8 S9 R4 u( y4 n; u  a. V
  1121. ibase.timeformat = "%H:%M:%S"; x+ G8 @; ^! e5 c; g, o5 E0 h

  1122. * n8 |, C, i4 ]/ d! G
  1123. [MySQLi]
    3 o" f9 r- D9 P3 A, w( u
  1124. 3 |. F8 K& {9 N( Q
  1125. ; Maximum number of persistent links.  -1 means no limit.5 D. Z& v, s0 Q# T8 j
  1126. ; http://php.net/mysqli.max-persistent
    ( o( v, J1 B8 f% N3 o3 q. i. ?/ l0 f
  1127. mysqli.max_persistent = -1) {# N5 ]/ g6 r( m

  1128. 5 w, P) |7 r) Z# L! x% y* C
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements/ J. z3 P4 x6 i# c
  1130. ; http://php.net/mysqli.allow_local_infile: v6 ]0 {$ R: b9 G1 m
  1131. ;mysqli.allow_local_infile = On1 Z5 d5 P( ?" s; N2 y! N

  1132. 9 d: \2 w' N; F" K6 {* D
  1133. ; Allow or prevent persistent links.
    + ?; J3 L/ O% {+ k# W# M
  1134. ; http://php.net/mysqli.allow-persistent
    , m4 w$ R4 h; {% Y: ]0 x- i2 H
  1135. mysqli.allow_persistent = On; ]+ X/ \2 c' S

  1136. 3 F- b, o/ L# i5 v
  1137. ; Maximum number of links.  -1 means no limit., y% q- }7 j  k! o7 |
  1138. ; http://php.net/mysqli.max-links
    " \/ t" w/ B7 C
  1139. mysqli.max_links = -1
    5 W+ ]$ h; A" R3 Y
  1140. / t; y: O0 S4 s; p
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ! c. S6 f8 F+ v" ?
  1142. ; http://php.net/mysqli.cache_size
    + z7 I1 J; E2 L8 U& t" p- i
  1143. mysqli.cache_size = 20000 ^+ x- F  {4 Z! [3 p7 `

  1144. 4 _3 [: G4 @. o& N. O
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    ( `5 y+ E' O" W. G* @- Y
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the: X$ E0 y* ?, i' s0 Y
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look! B6 k: m6 j6 A  {& t4 F
  1148. ; at MYSQL_PORT.
    : [9 n& C2 P) ?$ t/ @) y4 w! C: q
  1149. ; http://php.net/mysqli.default-port
    . x& H2 ^* U  ]3 f
  1150. mysqli.default_port = 3306
    * J& Y$ ^! a# ^9 P0 W& k
  1151. 2 W4 m; v. m5 i/ \  J! g
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    3 }6 A, e( E4 ]% O7 `
  1153. ; MySQL defaults.
      u8 O: K- ^: C5 t# ^" H
  1154. ; http://php.net/mysqli.default-socket% [2 z/ h2 g) I+ X+ r
  1155. mysqli.default_socket =
    / |7 a3 V7 D1 s

  1156. # P& k: h+ O5 @
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    $ w5 }6 |0 m+ h# E3 F) S
  1158. ; http://php.net/mysqli.default-host. I2 J  f" I  {) d9 q4 F  ~$ R
  1159. mysqli.default_host =5 d: J' p+ N- t. n

  1160. ; C9 c' y/ b. A8 e1 I7 c. w7 j2 c
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    : N! W9 ~5 k6 o9 a2 S% z' O% J
  1162. ; http://php.net/mysqli.default-user
    ( Z, K" m) s4 l, _  I; e
  1163. mysqli.default_user =/ c1 h" ~* X2 L9 C7 g7 Z

  1164. $ z+ J1 @3 J1 D# r2 c
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    & W4 W- u6 x( ~9 @. ~
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.( b# T6 n6 H0 [+ r$ o' d
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")# @2 r' T. |/ C6 U( w+ f8 }
  1168. ; and reveal this password!  And of course, any users with read access to this0 J8 h. ]8 q  x( r$ J
  1169. ; file will be able to reveal the password as well.
    7 h$ W' C7 D/ c5 s+ p7 {$ f
  1170. ; http://php.net/mysqli.default-pw& j9 J5 V$ A* _; w
  1171. mysqli.default_pw =* O8 c4 l4 D! F, R. i7 m

  1172. ) K4 L" x* O& z: D8 p: d
  1173. ; Allow or prevent reconnect
    9 Z# N" x1 x: l6 Z
  1174. mysqli.reconnect = Off
    % a% a. W; M8 m1 |4 U) I
  1175. ) _3 w( l1 q: R/ ^3 t
  1176. [mysqlnd]
    4 _% c5 B7 }3 y* q+ R& x7 Z6 L
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be4 }3 L8 N+ h4 e3 d& J  H4 F
  1178. ; used to tune and monitor MySQL operations.
    2 q( O$ j7 A9 B# Y7 b% q
  1179. ; http://php.net/mysqlnd.collect_statistics1 _5 K" w% k2 K, k8 ^
  1180. mysqlnd.collect_statistics = On
    2 Z# E2 Z8 N7 [6 Y7 A
  1181. ) E- ?8 E% [% X2 N
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    ! n2 L, @4 F% A' x1 K; y7 A  P' n
  1183. ; used to tune and monitor MySQL operations.0 `3 i; D# B9 `" A5 G% H
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    $ o4 V3 f! \6 n2 J- a
  1185. mysqlnd.collect_memory_statistics = Off
    8 r0 t  Z7 m+ R2 j% }) C: o- `

  1186. 9 \# e2 |4 T  r5 c
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    ! P( z. f( O. v; \7 T5 J
  1188. ; file.
    ' a  w# G) k# Z% C. Q
  1189. ; http://php.net/mysqlnd.debug
      c" F1 |6 B3 @1 G
  1190. ;mysqlnd.debug =
    ) ~& s+ ~& K5 [+ Z, ?/ `% E

  1191. ! G5 E2 j; q8 d. o2 J
  1192. ; Defines which queries will be logged.
    : i) u) m- E( ]# K/ w
  1193. ; http://php.net/mysqlnd.log_mask
    4 L/ K# x, O6 B9 g1 u. ?
  1194. ;mysqlnd.log_mask = 0  x" l" N0 ~6 m: y4 L. v* u* \
  1195. 3 n7 D6 j- R4 |% [8 {9 i, m+ Z( [7 I
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.! H! W# F# f+ ]& |4 E
  1197. ; http://php.net/mysqlnd.mempool_default_size3 W1 u; |. _1 G" M
  1198. ;mysqlnd.mempool_default_size = 16000- h' q7 K2 m/ s4 Y# \) H
  1199.   m( V/ C% ^" l6 L0 v1 G6 B0 m4 I' S
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    : i/ ?% o, |- d, R* {/ [( J
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    " l$ b6 E1 B, d9 X0 R# @
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    2 b9 O+ O6 n7 Z' D
  1203. * e3 h+ {$ F" c$ Y
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    ! Y& u6 O  W* Y
  1205. ; bytes.; O2 Q  k  O" {! g3 _9 K+ {! T6 o
  1206. ; http://php.net/mysqlnd.net_read_buffer_size5 C' ?, e, ~, V* Y
  1207. ;mysqlnd.net_read_buffer_size = 32768
    ! ^( t7 K, [( k7 `
  1208. $ h$ |2 S9 g5 e  v4 O1 R
  1209. ; Timeout for network requests in seconds.
    $ i* ]: i! i3 ^; u' K6 z2 y! f
  1210. ; http://php.net/mysqlnd.net_read_timeout$ J. d' o& S; h  b+ f
  1211. ;mysqlnd.net_read_timeout = 31536000# M; P# \" N4 h, Z
  1212. ( \. `1 ~/ V* r( P
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA$ n5 M# i8 M4 a
  1214. ; key.
      Q7 c% E4 x' o+ t% \" u. o
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    / g' @: M0 ]5 K, F6 o
  1216. ;mysqlnd.sha256_server_public_key =- W! t  L; p: V. ^0 A! l2 y$ Y- w6 F
  1217. 0 F! M# j4 S  Q/ _
  1218. [OCI8]
    0 A- A$ I0 N! o
  1219. * l1 W- S5 G  y( a8 _
  1220. ; Connection: Enables privileged connections using external
    - d3 v0 o3 @2 ?% q
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)( [2 S. M3 W& I, {0 y5 q8 M0 J: Z0 v
  1222. ; http://php.net/oci8.privileged-connect
    ! C2 \# C0 N# `$ W5 J
  1223. ;oci8.privileged_connect = Off0 @1 o4 f( R& [
  1224. 9 B! p! J# \6 V' ?
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    # w: A- b4 Q4 i5 E! A- i
  1226. ; process. Using -1 means no limit.
    3 u2 [0 z4 Y( ?4 z; j  e& W& t
  1227. ; http://php.net/oci8.max-persistent
    & B; _' R3 W5 j
  1228. ;oci8.max_persistent = -1& K: k5 m" [& d2 w/ E

  1229. ! ^1 G' s7 s! ~/ d- ?% W( K8 X+ ^
  1230. ; Connection: The maximum number of seconds a process is allowed to( ]! D' k. B4 d. A# X; [! i
  1231. ; maintain an idle persistent connection. Using -1 means idle( H' J/ D# U' G
  1232. ; persistent connections will be maintained forever.9 M3 L" x8 T! \5 \) x! \
  1233. ; http://php.net/oci8.persistent-timeout" y8 s$ \% ], Z/ `  d
  1234. ;oci8.persistent_timeout = -1
    8 L& k: |: M5 R: p% W

  1235. 9 Y/ S6 P) n/ |' {9 O$ w
  1236. ; Connection: The number of seconds that must pass before issuing a
    8 ]' k: F5 [& [8 p. a+ i/ ]
  1237. ; ping during oci_pconnect() to check the connection validity. When! `% L: R, @! a% e- i( d# c" g( c
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables7 i, E' D8 l9 p3 {8 R
  1239. ; pings completely.
    9 \9 b+ n1 y4 U& p% Q- y( y3 I
  1240. ; http://php.net/oci8.ping-interval, N- l' W, f- j- Q1 H: E
  1241. ;oci8.ping_interval = 60
    " }; P7 g4 @+ Q9 i3 z
  1242. % R+ c" B+ h9 M
  1243. ; Connection: Set this to a user chosen connection class to be used' z  H+ g8 H8 O
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    / v- a2 ?* Q9 K/ W: J
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    4 E6 B3 S% H7 S% X
  1246. ; the same string for all web servers running the same application,% F5 ~4 p2 h2 h8 C- f8 ~
  1247. ; the database pool must be configured, and the connection string must) R( L% ^5 Y* e4 Y; {9 o
  1248. ; specify to use a pooled server.- J; G4 T( F7 N
  1249. ;oci8.connection_class =% L0 ^- j- S5 [% i' ]
  1250. ( s" a0 A/ y" f, m
  1251. ; High Availability: Using On lets PHP receive Fast Application
    ) ]" L0 D; I" l$ l* \1 q
  1252. ; Notification (FAN) events generated when a database node fails. The
    ! b5 j! q4 u4 }# s
  1253. ; database must also be configured to post FAN events.: H2 n  @0 G2 F
  1254. ;oci8.events = Off, D: t( {5 i1 s6 |5 e

  1255. 9 O" u& k7 k, o, X8 Q% |( p9 ?
  1256. ; Tuning: This option enables statement caching, and specifies how
    : \. `) g9 r3 p  k' J# z6 t3 \
  1257. ; many statements to cache. Using 0 disables statement caching.
    . `- C9 _6 p# L9 x+ m3 @
  1258. ; http://php.net/oci8.statement-cache-size
    / R! i) @* I- k/ R1 J
  1259. ;oci8.statement_cache_size = 20% c  D! J1 b7 S) T0 Q; z0 I- I4 @

  1260. % D* ?( q% t: i7 L5 y5 C0 r; R
  1261. ; Tuning: Enables statement prefetching and sets the default number of" [# y* D! d" `# x9 j& K; W/ T
  1262. ; rows that will be fetched automatically after statement execution.
    ! p) |; U6 o! T! R) `" R$ N
  1263. ; http://php.net/oci8.default-prefetch, O; a8 r  `1 R
  1264. ;oci8.default_prefetch = 1006 R8 D8 n2 Y8 q- n( R$ ^1 G3 N

  1265. ' `8 S0 [9 g6 }' ~* i
  1266. ; Compatibility. Using On means oci_close() will not close2 U) {% V" u2 G  h
  1267. ; oci_connect() and oci_new_connect() connections.
    - f1 v0 F" {! M( _8 F- _/ R
  1268. ; http://php.net/oci8.old-oci-close-semantics
    8 \, v4 k5 e* @/ u4 C% q
  1269. ;oci8.old_oci_close_semantics = Off( K( n2 G% m/ _  V7 H4 Q0 T" N% ]# i4 Y
  1270. ) `% |$ u! T) C
  1271. [PostgreSQL]; j1 s" [! E. ?0 F4 O4 D' @
  1272. ; Allow or prevent persistent links." Y1 x: y* J. F* Z2 a5 D0 p
  1273. ; http://php.net/pgsql.allow-persistent& l# w$ j" |* w4 V$ ^" g, r
  1274. pgsql.allow_persistent = On
    . `1 p4 f6 B/ @5 ~& C
  1275. ; O5 U4 g# w" Z: z
  1276. ; Detect broken persistent links always with pg_pconnect().
    ( R. E' U$ _3 P$ j. @
  1277. ; Auto reset feature requires a little overheads.
    ) G/ M; r6 A/ ]
  1278. ; http://php.net/pgsql.auto-reset-persistent3 ]4 {) Z( }' a7 M. @  t. [
  1279. pgsql.auto_reset_persistent = Off
    # K- e, J3 |) U: z9 n( Q4 F
  1280. ! X/ Q4 ^* B9 H- E& d
  1281. ; Maximum number of persistent links.  -1 means no limit.5 H2 {4 ~) P" B5 d
  1282. ; http://php.net/pgsql.max-persistent. S/ F' ^! w/ g0 ?0 c- H" y" _
  1283. pgsql.max_persistent = -15 E+ p$ {8 s& l6 ^& A8 N; ]

  1284. 2 E5 k0 _( [8 U. D6 O
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.1 N$ ~- [0 F: ]( x5 Q9 @% Z9 }
  1286. ; http://php.net/pgsql.max-links, ^9 j7 n8 N4 C% A% S7 D! \
  1287. pgsql.max_links = -19 R8 ^' ?9 ]/ R  ]2 v

  1288. - Z2 \" ^8 a4 ]9 u9 U/ l, y
  1289. ; Ignore PostgreSQL backends Notice message or not.  c+ r! ]  q5 ?8 B# E5 v3 V
  1290. ; Notice message logging require a little overheads.5 U7 q" G, p) i  q
  1291. ; http://php.net/pgsql.ignore-notice2 U) s# R/ s# L# X
  1292. pgsql.ignore_notice = 0) H3 F: F1 ]" M4 k7 X* M

  1293. / H  r8 u4 s7 _* R; M; c6 q
  1294. ; Log PostgreSQL backends Notice message or not.2 A) E) x" l" w
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.4 N* Y4 r7 U+ i$ b- e# r9 i' E, L5 W
  1296. ; http://php.net/pgsql.log-notice
    , S3 p( _6 T  y
  1297. pgsql.log_notice = 01 p7 F: m4 E0 h& ^

  1298. ' d' Y& s5 \8 t- j6 M' h% ~5 W
  1299. [bcmath]3 ]1 l5 Q* {, M7 U7 v$ U- Z
  1300. ; Number of decimal digits for all bcmath functions.8 v& u9 r" r' I9 I
  1301. ; http://php.net/bcmath.scale4 w7 L; \( P  w3 I' l2 Z# z
  1302. bcmath.scale = 0% k- u/ C/ v+ S+ y" W8 B0 j# N: A

  1303. 4 L5 y3 b# m) q4 q+ T% B8 W, P& z3 d
  1304. [browscap]# ]0 a0 L# p- O& _4 j$ m
  1305. ; http://php.net/browscap
    / W0 e& O8 T& ]  i7 e4 r
  1306. ;browscap = extra/browscap.ini% y; l" ^: Z2 ?+ e4 }. C2 Z
  1307. ' Y& M4 s) F. R
  1308. [Session]" `) b& a+ [. O& o4 u* d
  1309. ; Handler used to store/retrieve data., h+ \: n) v) z; e' v5 Q2 [
  1310. ; http://php.net/session.save-handler# \) `9 T$ p' L* P* ^' ~
  1311. session.save_handler = files
    $ C) E1 |/ k0 s. N) \9 A
  1312. 9 J* E" G8 u& f9 ^7 H- q! J
  1313. ; Argument passed to save_handler.  In the case of files, this is the path7 v9 J( e! q5 x
  1314. ; where data files are stored. Note: Windows users have to change this: l! J! M5 |- ]1 w
  1315. ; variable in order to use PHP's session functions.
    " b, y: F+ W& M% t6 h
  1316. ;2 h+ y% h) R. H; m4 m; P
  1317. ; The path can be defined as:* A2 d7 w& S- U* ]2 |. m7 |
  1318. ;5 q" A: d! c% Q
  1319. ;     session.save_path = "N;/path"
    5 l0 Y: P' Y" L; G
  1320. ;9 `( h% v4 U1 w3 }2 z/ h% _# U
  1321. ; where N is an integer.  Instead of storing all the session files in
    ( }+ j( y: v' F/ N( O
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    $ B# K* k/ E# T; N
  1323. ; store the session data in those directories.  This is useful if
    * L) a% `/ a/ I) x5 G3 ~
  1324. ; your OS has problems with many files in one directory, and is$ n+ ^6 q2 w0 J+ m" @
  1325. ; a more efficient layout for servers that handle many sessions.
    ( d* R( I6 G- n, V+ n) ^
  1326. ;1 v1 X# Z; r. ^; M; x4 j4 }- B  q
  1327. ; NOTE 1: PHP will not create this directory structure automatically.3 ?. _. V9 r# M6 h2 f0 t7 n' d
  1328. ;         You can use the script in the ext/session dir for that purpose." s) @& i. g$ V  N6 f
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    ' ?' f6 S/ W2 n* U
  1330. ;         use subdirectories for session storage* L4 u) J* u3 w  V- {- s
  1331. ;6 V* t5 v6 Y' [. S
  1332. ; The file storage module creates files using mode 600 by default.# L# Q) L$ P' ?# w3 A. c  l7 B6 r
  1333. ; You can change that by using
    - p1 b5 ~& L! S0 ]0 g
  1334. ;
    3 }( h  [# n" I
  1335. ;     session.save_path = "N;MODE;/path"
    ) T" q1 f" e0 A) B
  1336. ;
    $ l: `+ F: P9 D3 }5 {
  1337. ; where MODE is the octal representation of the mode. Note that this
    . F% `: H3 p; L6 v: q! q4 _; ]
  1338. ; does not overwrite the process's umask.& B. B+ e# L. M* j$ g, d7 `, Q" x
  1339. ; http://php.net/session.save-path/ q- O7 K; g( c
  1340. ;session.save_path = "/tmp"
    0 j5 `; l/ H0 \' T% J. P2 t8 @) J

  1341. ; }4 O/ D9 |& _% M3 p/ a+ n8 O) ?
  1342. ; Whether to use strict session mode.
    3 k5 [& y( t+ ]2 Y/ y
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    9 B/ R4 b: C7 O* F0 F
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    4 o; p. F8 |1 n/ }7 A
  1345. ; applications from session fixation via session adoption vulnerability. It is, p. A0 T, q  b. n
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.! n6 S" _$ l1 Y; g
  1347. ; https://wiki.php.net/rfc/strict_sessions
    ! _& L' q# P5 Y+ S
  1348. session.use_strict_mode = 0
    - B6 d& F! ~) J9 v" X- A
  1349.   N7 y5 }! A0 U' Q9 P  C+ G6 V- O/ [* j
  1350. ; Whether to use cookies.
    5 ]9 H. N3 W/ _  G6 T
  1351. ; http://php.net/session.use-cookies
    7 Q( G% t$ C+ {
  1352. session.use_cookies = 1. J, s* s7 H* I* \- g5 V8 M

  1353. 2 q! k% ?( Z1 X: `8 Z
  1354. ; http://php.net/session.cookie-secure% X7 y! H0 N/ w9 C* W
  1355. ;session.cookie_secure =
    2 [  W) C# n3 ]/ i& O* c
  1356. & ~. V/ v9 r  q8 V/ a# m0 k
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    ; ?7 K+ R( S- ?* Y' c
  1358. ; the session id. We encourage this operation as it's very helpful in combating2 T! _: n# M) x' N& {6 ^  C7 r
  1359. ; session hijacking when not specifying and managing your own session id. It is
    $ o/ g& E% E5 w/ P1 r/ c  ^
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.% @5 Y# M9 T/ T8 c. }$ {/ m: o; J
  1361. ; http://php.net/session.use-only-cookies
    . o$ h0 Z: q: s, |6 N1 ]0 E
  1362. session.use_only_cookies = 1
    0 U1 E# M. n: p5 ?: [

  1363. 2 z6 _" E) y7 Z' {/ X
  1364. ; Name of the session (used as cookie name).& M6 c4 \; i8 u6 z/ z8 Q
  1365. ; http://php.net/session.name; W1 {/ }! c+ x7 O
  1366. session.name = PHPSESSID
    5 `) |2 p% r" t/ k" F3 Q# u/ J* Q! X

  1367. ; ]' k+ Y. ]1 W( `- @2 o; Y
  1368. ; Initialize session on request startup.1 _* N' c$ h. J$ a
  1369. ; http://php.net/session.auto-start" ~" E4 e9 B4 T  ?8 T& ]3 F
  1370. session.auto_start = 0
    8 u+ R8 s& E8 H4 X7 k) \

  1371. - [- y0 U( d! M' }( m
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.0 C- K( i7 w, H3 o# V; C" B
  1373. ; http://php.net/session.cookie-lifetime7 |! a: K0 x/ {( j
  1374. session.cookie_lifetime = 0
    4 ~/ M- U: a# M' O5 l
  1375. 8 ?1 N! Y& D, n  ^- k) @% y4 t5 J3 C" m
  1376. ; The path for which the cookie is valid.
    + b  p2 y2 J$ ?6 @$ {
  1377. ; http://php.net/session.cookie-path
    " f! d( p+ g! C6 U; i% T
  1378. session.cookie_path = /! L  \" H/ ~' n2 S2 D
  1379. / S# A) F( w+ c& S- X6 I
  1380. ; The domain for which the cookie is valid.
    3 e% s3 r0 d* l3 E5 W/ K
  1381. ; http://php.net/session.cookie-domain
    8 Z: m/ |: }/ }: S1 s4 u, [4 Z/ Y
  1382. session.cookie_domain =
    / R) f, k8 {* g, _. p  a
  1383. ! v7 @7 I/ [3 O; [6 f, S  w
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.0 z; q5 A8 d9 A1 N; M$ P7 E
  1385. ; http://php.net/session.cookie-httponly
    : ^" O# r0 K: }/ _" _
  1386. session.cookie_httponly =
    ( w/ o) r7 C9 W
  1387. 3 G) Z# @& P" S! ^" @7 U
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    3 C( D& l4 d1 q1 ]! I) B9 f" J
  1389. ; http://php.net/session.serialize-handler3 @% j* J$ E. {7 A) h% y! R
  1390. session.serialize_handler = php- x& W/ b# G3 `. [/ j8 T

  1391. : U- I. \/ i/ c( Q5 x. A3 v
  1392. ; Defines the probability that the 'garbage collection' process is started
    8 e. G# `/ X6 K
  1393. ; on every session initialization. The probability is calculated by using
    9 }+ d' W, r! @( h: i) O8 ?* Q
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator- v! m/ R! o# x% P' H
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 16 l$ y0 F. ]7 ]. ~
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance% T, q" Q# ?: v
  1397. ; the gc will run on any give request.
    ( L) p" E8 V; {7 z+ R
  1398. ; Default Value: 1* s* f  k& O+ J5 p
  1399. ; Development Value: 1
    ) J1 K' f$ ]/ x5 e9 G" |+ V
  1400. ; Production Value: 1
    $ D& W+ N7 Z( w/ C3 P
  1401. ; http://php.net/session.gc-probability! y4 C/ f& P; A0 h) G
  1402. session.gc_probability = 1/ X3 |4 C3 y% c  [
  1403. . }1 d- v( t- w* J8 ?
  1404. ; Defines the probability that the 'garbage collection' process is started on every" T! Z4 r* x1 A+ s$ h% ~- h1 S
  1405. ; session initialization. The probability is calculated by using the following equation:( C1 |$ f# C$ P4 h
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    & Z4 `; _4 {5 @' _/ \! V
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    $ _3 h$ u! k: `2 L/ U+ X' H
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance) G6 n, ?2 M' L9 s( L$ k
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you$ `2 e: p1 M+ w; o8 S. @4 E) `
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,! H2 f, y7 }5 q0 R4 r( F* d5 ^- B' T
  1411. ; this is a more efficient approach.2 y6 S$ E+ w) T0 r2 }7 k: K
  1412. ; Default Value: 100$ D0 c6 _6 F  O, X+ e2 H4 ~
  1413. ; Development Value: 1000
    8 }: f8 H$ o/ ]) W# N* S
  1414. ; Production Value: 1000) z  o; h. ^- i
  1415. ; http://php.net/session.gc-divisor
    2 Y8 {1 o2 e' k3 C; _: t
  1416. session.gc_divisor = 1000! M  z" \) a/ d: Q

  1417. & w( i* n2 A9 }& `9 ]
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    # K9 M8 I" Z0 d: J( ]* E' }3 ?
  1419. ; cleaned up by the garbage collection process.
    : T! b  A- R: s* X0 s. I
  1420. ; http://php.net/session.gc-maxlifetime
    # l: E# M3 O, W! a! L- ?
  1421. session.gc_maxlifetime = 1440, S0 t* r% R6 N( i
  1422. : F4 G" v  }4 T6 b( o1 p( I
  1423. ; NOTE: If you are using the subdirectory option for storing session files% c) I3 ~' m3 u
  1424. ;       (see session.save_path above), then garbage collection does *not*8 Z# ]0 p4 C! A* |+ c. o
  1425. ;       happen automatically.  You will need to do your own garbage! \- r+ m1 [' ?5 n& C+ ]5 |- z
  1426. ;       collection through a shell script, cron entry, or some other method.1 ^! ?. T  h. Y# R
  1427. ;       For example, the following script would is the equivalent of
    6 E3 v) r0 h) u0 @" f1 H; A- ]0 h6 R
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):4 t1 u# g6 f$ j/ b6 X5 }
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm/ l4 ~3 ~! f; d
  1430. + v- P. D1 D2 `6 m9 }  h% v
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.1 @+ q) |  ~4 @! U4 N# ~
  1432. ; HTTP_REFERER has to contain this substring for the session to be4 N% Q( C9 ^$ _
  1433. ; considered as valid.
    5 U0 y6 n) o" O8 j6 B: F7 O9 p/ h
  1434. ; http://php.net/session.referer-check  S" |/ v. X' L% ?  ]! x! v3 [! x
  1435. session.referer_check =7 X; b2 r& q4 v+ Y% ~

  1436. ! a3 z" ?4 [+ d3 @6 b
  1437. ; How many bytes to read from the file.
    7 }$ J! d8 N# {  s2 U
  1438. ; http://php.net/session.entropy-length6 U; D- ^! l7 d# B1 H, V
  1439. ;session.entropy_length = 32
    " y8 x. b: b( y2 r

  1440. 5 \6 |+ G7 b+ |
  1441. ; Specified here to create the session id.
    / Q+ b: z. Y; D6 e) y% o% a  R  L3 t' M
  1442. ; http://php.net/session.entropy-file# G( `% [; V3 c2 _2 H
  1443. ; Defaults to /dev/urandom
    * k# ?0 O: }# d
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    5 q6 d. F+ y; V" E0 Y: k5 t
  1445. ; If neither are found at compile time, the default is no entropy file.% O& z8 I% I3 g- O" a: h% ?# l
  1446. ; On windows, setting the entropy_length setting will activate the
    & w% e6 ~1 |$ R" p# D$ c7 t
  1447. ; Windows random source (using the CryptoAPI)) O4 U+ w( u7 s2 w4 T, n
  1448. ;session.entropy_file = /dev/urandom3 R0 L1 W+ H0 ]! t! {, c1 t
  1449. ( _3 K' z. I' w. T* W6 B- ?$ g- d( V
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    ; N" a; A  `- [* v
  1451. ; or leave this empty to avoid sending anti-caching headers.
      y- C. r3 v, k- z( }
  1452. ; http://php.net/session.cache-limiter0 l8 ]1 a) p% H& M7 x. ^; j; g
  1453. session.cache_limiter = nocache# C0 s5 D  H4 l; P: l% [

  1454. 2 U# P! h0 H- J2 W5 R
  1455. ; Document expires after n minutes.7 N! }) O) ^( n/ S8 h" s
  1456. ; http://php.net/session.cache-expire
    ( {' L) c& R8 k5 r' c3 |3 f" I
  1457. session.cache_expire = 180  C5 O8 m/ C# h  Y1 a
  1458. ! d( {: \1 t# B* u0 A. j) H6 Y" s
  1459. ; trans sid support is disabled by default.
    % d$ r! Y) @4 Z: M
  1460. ; Use of trans sid may risk your users' security.
    # E4 K5 {; v0 {( i" |1 a: I4 S
  1461. ; Use this option with caution.% n( ~6 p  e2 h# C# @' Z
  1462. ; - User may send URL contains active session ID5 I( P- Y$ f; h
  1463. ;   to other person via. email/irc/etc.+ N/ j  e" e0 ^; n( m4 h; e0 x. T
  1464. ; - URL that contains active session ID may be stored, o2 X. e4 G# A1 e2 ?
  1465. ;   in publicly accessible computer.
    ' N9 i" q, S% e4 \
  1466. ; - User may access your site with the same session ID( h3 ^. r" l; I+ S. k! r
  1467. ;   always using URL stored in browser's history or bookmarks.
    0 R7 R4 s! i8 O; V3 e- T( t* L4 F  @
  1468. ; http://php.net/session.use-trans-sid
    0 h$ V. F0 ^8 \; T5 s9 v0 {' f
  1469. session.use_trans_sid = 0
      v* P  G, \. W% G8 ?, w/ n
  1470. ; n& A5 ?$ |0 ^8 V
  1471. ; Select a hash function for use in generating session ids.
    0 d1 ?, }5 ]9 N
  1472. ; Possible Values
    ( y7 J7 J& s1 b" q/ a. T" k/ T
  1473. ;   0  (MD5 128 bits)
    : T2 p/ s3 \  h/ N9 J1 l) ?
  1474. ;   1  (SHA-1 160 bits)
    6 ~0 R( I8 O- U; \3 ]9 i+ S
  1475. ; This option may also be set to the name of any hash function supported by
    5 q7 s) R7 i& f% y2 s
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    ' V9 C" N. W1 c* U: \3 g
  1477. ; function.
    : p! w0 N0 ^; X
  1478. ; http://php.net/session.hash-function, m5 n: i6 L* \" t' ?$ Y
  1479. session.hash_function = 0
    8 v. d* y3 F/ D! H2 ^* k
  1480. " N, [6 [" ~+ A& k
  1481. ; Define how many bits are stored in each character when converting6 B1 V& E0 |7 S* h$ T' Q( C
  1482. ; the binary hash data to something readable.
    $ @( x* p* y* \% ~) Z) V- E) `. g
  1483. ; Possible values:2 [5 f+ X! Q) m( S/ t) s& H
  1484. ;   4  (4 bits: 0-9, a-f)0 P% V$ w; G' ?
  1485. ;   5  (5 bits: 0-9, a-v)
    ' s; M6 C; f9 T/ d6 \
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")0 \6 D, v; r; \0 g
  1487. ; Default Value: 4" ~% l- K5 ]+ C- R, ?8 H% @5 R
  1488. ; Development Value: 5! ~6 g+ M6 [3 y1 W% }5 d0 z
  1489. ; Production Value: 5, J) ~9 n& l- s( @$ X
  1490. ; http://php.net/session.hash-bits-per-character
    . r' F# o$ s; j& I& |' ]
  1491. session.hash_bits_per_character = 5
    " p! J8 B7 d/ A0 p; H

  1492. - L/ n  ~: ~4 L( N& @+ A
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.2 w) D0 W8 H/ d, p
  1494. ; form/fieldset are special; if you include them here, the rewriter will% c  U2 l; J( ?- L* M; T, F
  1495. ; add a hidden <input> field with the info which is otherwise appended
    7 J5 r  l( l; u/ C8 p
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.5 s, u) j1 H/ B9 x  |
  1497. ; Note that all valid entries require a "=", even if no value follows.5 ]5 v3 n! |' `+ F( w0 ~( k
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    " W, j( P8 s! _2 p
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    % q3 f- ^7 f: K* _  Y
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"9 @, L& f; E' G/ t, d+ O
  1501. ; http://php.net/url-rewriter.tags  h" d3 t7 q' \5 H6 E2 N; a
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    % A$ i, ?5 K) ^

  1503. 7 w9 K. l% ?4 ^6 ^# K. N+ S! ]" ~
  1504. ; Enable upload progress tracking in $_SESSION
    6 c- H3 T/ o$ I& b  r
  1505. ; Default Value: On
    " B, d9 y, J- n5 N7 s
  1506. ; Development Value: On1 C4 j! m  r/ J% w  d
  1507. ; Production Value: On
    % K5 `+ m$ X/ q. H, X
  1508. ; http://php.net/session.upload-progress.enabled6 ?" z  b! T. M  @
  1509. ;session.upload_progress.enabled = On, [' m0 q* f5 N' R- Q% M

  1510. . f3 i8 y* A* ]& d0 i$ {, x. H
  1511. ; Cleanup the progress information as soon as all POST data has been read
    & B7 J% q+ [* X+ F0 }) `4 s" c
  1512. ; (i.e. upload completed).! W) }) z& |2 ~2 {
  1513. ; Default Value: On
    " d3 F3 v  N) S! v# D
  1514. ; Development Value: On4 s# ]( }" j8 j$ a; V5 {
  1515. ; Production Value: On8 w9 q* h4 C/ t6 j  V
  1516. ; http://php.net/session.upload-progress.cleanup# `/ `) y" c" p% s
  1517. ;session.upload_progress.cleanup = On
    # u! {4 e! c9 L! g

  1518. , k7 \/ V* {* T
  1519. ; A prefix used for the upload progress key in $_SESSION) a, `' o- ?6 E" q
  1520. ; Default Value: "upload_progress_"8 `, B# L" K- s( G
  1521. ; Development Value: "upload_progress_"4 p; G8 h+ r1 f$ k9 d
  1522. ; Production Value: "upload_progress_"3 w* a: r! H! H3 A3 j* b
  1523. ; http://php.net/session.upload-progress.prefix
    ! e+ d7 ~6 ^  N, E+ e& T$ i3 T- N
  1524. ;session.upload_progress.prefix = "upload_progress_"" n0 b  \/ {% ]$ H

  1525. / D( g; Z0 L0 p* Q! B
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    5 F4 e) Y' V& |8 m/ f* r
  1527. ; containing the upload progress information2 S$ G% k- R% X' O3 Y; q  U
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"4 W7 C+ B$ H( b" {" z! _; t
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    & [9 e0 }' F8 b- }# F/ O+ j
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    5 z0 s2 Y8 g; V4 o9 e3 e
  1531. ; http://php.net/session.upload-progress.name
    8 x- ^4 V7 l' S" q2 @5 ?+ v+ O
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    8 E6 x9 R! w0 q$ r* s; s
  1533. 0 a# H2 p' C. P5 ?
  1534. ; How frequently the upload progress should be updated.9 T2 q9 J1 P* w4 K0 v8 W: `( Y
  1535. ; Given either in percentages (per-file), or in bytes
    ; U7 L/ Q* w1 Q# F
  1536. ; Default Value: "1%"  ^; s* h+ o. J) H' k. l9 W# s
  1537. ; Development Value: "1%"  p; w) X; M" ^: M" l
  1538. ; Production Value: "1%", H  Z6 i5 f2 i( i, k% o  e1 a$ ~, J
  1539. ; http://php.net/session.upload-progress.freq, \! t) T) s6 @+ }3 d; O: ?7 v
  1540. ;session.upload_progress.freq =  "1%"
    ! C. m" X2 q+ Y# f5 j7 Z, T: `

  1541.   D7 U' F) N. |3 _% p* Y
  1542. ; The minimum delay between updates, in seconds8 {) Z# k/ T( b; G
  1543. ; Default Value: 1
    8 u; E" ~) u1 y: n$ y& X6 H
  1544. ; Development Value: 1
    , ^6 e: T, o) C% x5 g9 R
  1545. ; Production Value: 1! Q5 m) ~4 c) P" q/ G: S) d' R) m0 C
  1546. ; http://php.net/session.upload-progress.min-freq, v+ n/ B" v0 g9 ^! Y
  1547. ;session.upload_progress.min_freq = "1"( V; W$ d6 `: r0 C$ \5 ]

  1548. 3 h5 j6 n; P& U. e5 m4 K; [
  1549. ; Only write session data when session data is changed. Enabled by default.
    2 _/ A% {5 t( e: a) J
  1550. ; http://php.net/session.lazy-write0 k- A* r: \- {; `
  1551. ;session.lazy_write = On  p3 t: k% B3 u- D2 i0 x7 u" z
  1552. 8 f/ n5 ~/ q7 s4 S3 q7 S
  1553. [Assertion]! o7 ~, `( C# n, S: Q/ c
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    : M% ?( c( j) O4 F
  1555. ; -1: Do not compile at all
      Z0 J: ~8 T4 v* p
  1556. ;  0: Jump over assertion at run-time  H% m7 m# A8 b$ M
  1557. ;  1: Execute assertions- N( Q- N5 o( @& \. r* S
  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)
    $ z& X; @) f; R; k& M. N" P
  1559. ; Default Value: 1
    $ g0 i- S0 n0 K' M/ |
  1560. ; Development Value: 1
    & C% }: o" P. m
  1561. ; Production Value: -1
    4 C; N, ~6 T; A
  1562. ; http://php.net/zend.assertions. o/ C, _6 Z  B) N
  1563. zend.assertions = -1! ?# B* r  }; N0 t4 k

  1564. % G8 a+ s' J1 j8 Z' p7 Q5 a) P0 `
  1565. ; Assert(expr); active by default.
      V. g+ C( z( s' u/ x0 I& J
  1566. ; http://php.net/assert.active
    % M/ ]6 G. w% e/ h% Y3 q4 S: Q
  1567. ;assert.active = On7 o' r+ `( o; f! h

  1568. & \+ `) m9 o3 N3 r3 ?0 E
  1569. ; Throw an AssertationException on failed assertions' Z' v8 I. V1 s/ X- ]# A) u3 k
  1570. ; http://php.net/assert.exception
      q) k1 Y8 ^  z% T- n0 S1 p- I
  1571. ;assert.exception = On
    ( A' Y9 K6 c9 m# R7 p
  1572. 4 f1 L9 T: ]4 v6 w8 c, D+ q
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active): P( e9 `/ G: a# g( ?
  1574. ; http://php.net/assert.warning
    + N" Z2 t1 b' z
  1575. ;assert.warning = On5 z0 b; E/ [8 u; S- S

  1576. + K! S- n- h  M
  1577. ; Don't bail out by default.) p0 u5 v$ e  m8 \  E% t
  1578. ; http://php.net/assert.bail& h: A% j( l6 t8 C; g  k
  1579. ;assert.bail = Off5 P' b: |! e+ g
  1580. # c: U' H. {3 ~. H
  1581. ; User-function to be called if an assertion fails.
    3 y! v" K  i/ N5 h  ]
  1582. ; http://php.net/assert.callback
    ' L7 N8 y- r  ~; E
  1583. ;assert.callback = 0
    ' Y9 |! t* z" J  C9 O0 ?

  1584. : y, A/ o& ~+ @# u, J: Y' {
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    9 O# N+ j7 T1 c+ A
  1586. ; error_reporting(0) around the eval().
    ( F: [) B7 |, q! t' v
  1587. ; http://php.net/assert.quiet-eval
    ; X0 w- |0 S/ x1 [4 @9 ^
  1588. ;assert.quiet_eval = 0% P- w6 ^! U0 e  A6 y

  1589. + z  w1 j& N2 k2 X
  1590. [COM]1 {. j" C0 z5 G( I+ P  q
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    . Z5 t  }& A2 m" `
  1592. ; http://php.net/com.typelib-file  P+ A$ f6 s& N
  1593. ;com.typelib_file =
    2 H  {; A- x. _/ W( n' U* ]

  1594. : S+ p# ^- t8 w1 ]4 k/ \
  1595. ; allow Distributed-COM calls7 y1 f& x" }- E1 ]
  1596. ; http://php.net/com.allow-dcom5 `: h0 e% u7 w+ j- D
  1597. ;com.allow_dcom = true
    - `8 \/ m& x' h

  1598. 1 ^0 w9 a7 U$ l5 f7 w
  1599. ; autoregister constants of a components typlib on com_load()
    8 C2 s/ y. i) f
  1600. ; http://php.net/com.autoregister-typelib' O% ^3 C* w! A, _$ {
  1601. ;com.autoregister_typelib = true; ~& T* l! M& B( L% H" o, Q/ P
  1602. 0 C8 q6 s0 H  \) |; D1 K) b4 z
  1603. ; register constants casesensitive9 V4 v8 G7 L! n4 C
  1604. ; http://php.net/com.autoregister-casesensitive
    + L; J: A( o( z) F! y& F8 W
  1605. ;com.autoregister_casesensitive = false0 p# j) h4 o, l0 D4 W2 v

  1606. ; [& T# s1 y8 S$ X- d
  1607. ; show warnings on duplicate constant registrations$ ^" k; ^" B# c% H( m
  1608. ; http://php.net/com.autoregister-verbose
    $ B( _! f. f2 D  I( D9 ^8 {$ |
  1609. ;com.autoregister_verbose = true% Q+ [2 b% b2 K7 \* I
  1610. ; L4 H! ]; E# k0 p) M" ~
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    ; T# l$ z' b  }
  1612. ; Default: system ANSI code page$ g1 k) ?+ @( N& U* v! J1 N
  1613. ;com.code_page=
    - z& e. h+ [) S9 R0 [
  1614. . p+ l: B+ E" a
  1615. [mbstring]
    ; e5 J& U2 o2 ]/ H. ]4 v
  1616. ; language for internal character representation.' @( m) k$ q/ B2 M- ~
  1617. ; This affects mb_send_mail() and mbstring.detect_order.3 i4 R8 ?4 S4 u* o1 [- `
  1618. ; http://php.net/mbstring.language
    + e( {/ h# z1 O' q) L+ W) w
  1619. ;mbstring.language = Japanese- U( T, s# T# }/ d: v6 Z% W

  1620. 1 A7 O9 k. R& n$ q, q; v
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.+ k8 `" Y# _- \, l0 @6 k; ~7 R
  1622. ; internal/script encoding.
    + ]; f6 T. d# n6 ^$ C' w0 [  Q. v
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    9 {; O& F: z- ?0 ]2 p& \+ c" N
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.6 r: r5 O) v5 @3 i  G2 K% E6 C# G/ t
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding& B3 |, @- Q% E4 l
  1626. ;mbstring.internal_encoding =
    ; V9 I9 Y# ]; H. E2 u1 O
  1627. 9 z- n# D3 I) |( O7 t" G6 C6 K
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.* N/ R5 z9 _5 i6 z* Q
  1629. ; http input encoding.7 _8 l$ x( h4 Y2 l' U* ~
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    7 u2 v0 Y; d0 O
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    ; Z, s! [& A! X- @" O( u  j$ n+ p- p
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    ( h( H* I9 |, q- R5 Q; U
  1633. ; http://php.net/mbstring.http-input
    0 A. w5 L% [  W$ \1 `# n' N0 F
  1634. ;mbstring.http_input =! K3 b  x' j5 Q7 F# I- ~4 W

  1635. 4 w/ }! Q0 o3 ?+ T: _5 {' I. t
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.: |, S. v' Z2 ~
  1637. ; http output encoding.7 g# P$ @7 \! b6 I8 x, u; J
  1638. ; mb_output_handler must be registered as output buffer to function.
    # d( V9 O& \% |* I$ p
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    . S  @4 D7 Z9 b( ^6 Y, j
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    ! D/ T+ J2 F5 r, y
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    & r3 b! s& m% L) R9 t5 m
  1642. ; otherwise output encoding conversion cannot be performed.
    / i8 Q" S8 J* r& O' ^, ?4 F
  1643. ; http://php.net/mbstring.http-output3 x* o3 Z* B/ W! d( R8 Y
  1644. ;mbstring.http_output =
    6 V1 p8 y: z' ^' `
  1645. 3 q; t2 ?& i3 J6 B) w* }
  1646. ; enable automatic encoding translation according to$ p9 z1 Z' v5 h: v/ \! T3 i
  1647. ; mbstring.internal_encoding setting. Input chars are
    ) c2 d# R* X7 G. Z  v/ }4 y
  1648. ; converted to internal encoding by setting this to On.
    2 Y* B2 k3 ^- K) {9 U& U' c
  1649. ; Note: Do _not_ use automatic encoding translation for. _5 T$ G( r' `7 Q" p( u
  1650. ;       portable libs/applications.
    " Y% m& L2 d4 n4 H, `; ~
  1651. ; http://php.net/mbstring.encoding-translation' H2 G) |: u/ Q: k
  1652. ;mbstring.encoding_translation = Off( m$ w5 u; b# \& O. H. \* W1 p
  1653. . t/ X9 u" J. D2 k8 o( m+ K
  1654. ; automatic encoding detection order.$ w8 T8 |3 v8 C2 G2 \! X
  1655. ; "auto" detect order is changed according to mbstring.language
    - E- x3 K8 T% D/ w
  1656. ; http://php.net/mbstring.detect-order, H: m) x7 s! h2 }; G  L6 l! q
  1657. ;mbstring.detect_order = auto) g; F2 K) e' u' b

  1658. + V' p4 `. W+ {
  1659. ; substitute_character used when character cannot be converted
    ; f. e' c5 R# e; n1 b: b7 `
  1660. ; one from another
    / y* z. B3 Q9 H
  1661. ; http://php.net/mbstring.substitute-character
    8 e2 R: W) s0 \! G. ~3 B! W2 }
  1662. ;mbstring.substitute_character = none
    0 t6 h2 S" A: O$ O! E6 O6 f
  1663. # R6 Q1 q" F! X& l4 l
  1664. ; overload(replace) single byte functions by mbstring functions.
    ! T" S9 @0 q+ s2 Z  f; l* z  u* \
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    + x- t7 y" {5 e" \* U+ s% O8 I
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.& \" A+ o' X' e& ~: j- |
  1667. ; For example, 7 for overload everything.
    / P# L) ^3 }* F# f) l# |
  1668. ; 0: No overload" M: \3 @+ ]9 e# @* Z; o1 h
  1669. ; 1: Overload mail() function
    9 X/ r# n9 l  j) c- j
  1670. ; 2: Overload str*() functions
    4 V& O( [6 `' w8 o3 g4 ], C
  1671. ; 4: Overload ereg*() functions
    / t( F# p; Q. K4 i
  1672. ; http://php.net/mbstring.func-overload& _2 t0 t8 Z: T! k
  1673. ;mbstring.func_overload = 0
    + d& v: D3 N* H$ ?* a
  1674. " F! ~3 Q* H+ b8 W8 E, b( }
  1675. ; enable strict encoding detection.9 y0 G0 f- M) p7 ~) x
  1676. ; Default: Off
    ; @  P$ ]! H3 w# r2 |
  1677. ;mbstring.strict_detection = On% T3 s1 d5 Q3 V7 \/ _: F
  1678. 9 H. ?7 a$ ]- x  E3 R
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()/ P3 P/ \; ^2 p9 N( n' t$ B5 H
  1680. ; is activated.
    ) a+ S4 g9 C) \  [& Y2 M
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)5 O2 W' s2 _! A; ?2 A( |; b3 m
  1682. ;mbstring.http_output_conv_mimetype=
    / p3 h4 z: R; B# x

  1683. ) p7 i  c* v* _4 [' ?4 d
  1684. [gd]
    ( B" J  Y6 W6 x! i$ D2 p! k: G
  1685. ; Tell the jpeg decode to ignore warnings and try to create7 [) H. @) H. j* S4 a
  1686. ; a gd image. The warning will then be displayed as notices5 }/ b/ c$ e' ]" I5 Y3 l6 g
  1687. ; disabled by default
    3 a4 t/ s/ C: w" V. V5 d
  1688. ; http://php.net/gd.jpeg-ignore-warning
    * J( l, U* ^& A% [
  1689. ;gd.jpeg_ignore_warning = 0
    & H# g- m7 T- R$ v' A8 I

  1690. 0 z& O) l. l; N
  1691. [exif]
    ' e  \: V' X8 g
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    # W( V& K$ Y- F% F2 m0 ~( ~
  1693. ; With mbstring support this will automatically be converted into the encoding4 {( o9 u, q! ?! \0 w
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    9 W* P3 J6 H" s: ]- D, f
  1695. ; is used. For the decode settings you can distinguish between motorola and
    7 x! o' W  K/ y) @$ d  i
  1696. ; intel byte order. A decode setting cannot be empty.+ b* _, R3 N" T
  1697. ; http://php.net/exif.encode-unicode, c5 H1 g# l$ _7 `; S+ k
  1698. ;exif.encode_unicode = ISO-8859-15
    4 k- K" Q- {( h3 W6 P6 v
  1699.   J; R; N9 X0 X9 |
  1700. ; http://php.net/exif.decode-unicode-motorola
    9 G' {& j% C8 r8 l6 o
  1701. ;exif.decode_unicode_motorola = UCS-2BE) b+ j# H5 L; h" R

  1702. ; S% Z" s4 Z2 r9 Y8 D( O5 C' H
  1703. ; http://php.net/exif.decode-unicode-intel4 m. C5 ]+ o, H9 Q7 ^) V$ o
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    ! w- m" w# c- F, o# ~5 h& [

  1705. & H* f4 J4 b( e1 f9 Y1 ^1 V6 j
  1706. ; http://php.net/exif.encode-jis3 Z1 n, H8 ]$ T6 Y* `
  1707. ;exif.encode_jis =  J$ z5 D! v  a( N# J1 D

  1708. ! r& n: \3 m( L3 }
  1709. ; http://php.net/exif.decode-jis-motorola/ i! G! W* z$ ?* }. @, A5 n
  1710. ;exif.decode_jis_motorola = JIS1 n) a6 G) j9 X8 }. U' o! x; a

  1711. " E1 X* S6 c' q3 ~5 d
  1712. ; http://php.net/exif.decode-jis-intel
    * ^  w: g5 }0 T$ b) r
  1713. ;exif.decode_jis_intel    = JIS
    9 L4 n" e( g, I8 ~# }' }' c; K) m

  1714. 0 R* e) j4 i6 A
  1715. [Tidy]% b9 d. I) ?9 S  \3 P% D
  1716. ; The path to a default tidy configuration file to use when using tidy8 H) w0 w4 n+ e# J6 H
  1717. ; http://php.net/tidy.default-config
    7 J% }1 y/ Z8 n9 p: T2 r7 m
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    . y0 W8 g7 _  I1 q: A$ G& W2 D; s

  1719. $ u2 q; m" W+ Q- i5 Q
  1720. ; Should tidy clean and repair output automatically?. F) R8 R" C' x
  1721. ; WARNING: Do not use this option if you are generating non-html content
    ; S, k( G8 f* N: A2 q8 P
  1722. ; such as dynamic images5 ]) L) O3 a; K: Z9 x# b5 f* v
  1723. ; http://php.net/tidy.clean-output6 J  J# h9 [* C& }! J
  1724. tidy.clean_output = Off
    / {7 @! x' `% O4 q" K

  1725. 2 x4 d+ B% I1 L$ @0 w
  1726. [soap]
    5 k. n% O* S  Z0 s$ u0 ^$ n
  1727. ; Enables or disables WSDL caching feature.
    # V- Z, c) U$ s
  1728. ; http://php.net/soap.wsdl-cache-enabled9 c9 k, b* p$ d& \8 ?3 l* b
  1729. soap.wsdl_cache_enabled=1
    # q, N2 ^5 n9 L& K! Q

  1730. : n4 R4 c9 E7 \
  1731. ; Sets the directory name where SOAP extension will put cache files.3 U" ?4 I7 N9 W1 Q
  1732. ; http://php.net/soap.wsdl-cache-dir
    3 N: t4 q" d# H6 w3 R
  1733. soap.wsdl_cache_dir="/tmp"5 U! V( y5 ^# [6 _# ~. ?

  1734. 0 _( L1 R/ l5 w) L. g
  1735. ; (time to live) Sets the number of second while cached file will be used
    ) H7 d" S; |- h8 E
  1736. ; instead of original one.7 K( X7 m) s* V2 P
  1737. ; http://php.net/soap.wsdl-cache-ttl
    / v% K( D% i) A+ N
  1738. soap.wsdl_cache_ttl=86400
    # v: m' b7 d. P/ h1 K
  1739. & [! M, B8 z  p3 T6 ?
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache): p0 w6 u" u2 H. C+ E; n; w8 v) r
  1741. soap.wsdl_cache_limit = 5
    ; I+ S1 ]# b- B8 g4 M6 ~
  1742. , B+ d; U) V0 `9 q1 b" P
  1743. [sysvshm]
    % P  O# X4 Q) y" X3 G# A  a
  1744. ; A default size of the shared memory segment% z! A4 {" v9 _9 G
  1745. ;sysvshm.init_mem = 10000) X7 e, [+ u6 B5 }; O+ Z
  1746. ) D0 q( x/ W" E/ r
  1747. [ldap]
    0 o9 `& h, m/ J
  1748. ; Sets the maximum number of open links or -1 for unlimited.7 i- G2 ?5 j" H: C' x) u. ~) P
  1749. ldap.max_links = -14 Y8 G2 G4 s" s* M6 Q
  1750. : [9 m! x' f' W6 Y9 v6 O! A
  1751. [mcrypt]1 R: P5 K+ T/ e  A- a5 I+ Y+ U
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open5 N0 v$ b, ^, x* {) A
  1753. % S5 C+ X# d3 j: @6 v3 y, R& r
  1754. ; Directory where to load mcrypt algorithms( p4 t: G4 Y. |% i9 a0 d9 \4 y
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ; A: U% ~, B9 g$ D' R' t' z
  1756. ;mcrypt.algorithms_dir=
    8 ]& n5 X+ D! l' ~2 E- l2 `
  1757. 9 s& Q5 B7 Z$ h) A
  1758. ; Directory where to load mcrypt modes
    + f; }/ K3 z+ E/ p+ @7 p
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ; e3 k  H( p( P3 v" m8 r
  1760. ;mcrypt.modes_dir=
    2 n: `6 L: o6 d3 s3 I+ p! w

  1761. 5 q9 S; Q/ m3 q' |* E
  1762. [dba]
    , X  q1 T7 O4 B1 D1 i2 n
  1763. ;dba.default_handler=% G/ N0 u& J# y! F

  1764. % ]; u" D, l# q; t7 J; p
  1765. [opcache]
    ' P" {/ i' z$ R; G, C9 E
  1766. ; Determines if Zend OPCache is enabled
    / w# ^  r# N% a( q4 H- ?
  1767. ;opcache.enable=0. ^# g3 ]& H! J# d& u- y; c  ^
  1768. 6 P3 k. P$ G- r( L# m5 ]
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    % ?+ V/ s( O# p4 L$ }9 ~0 q
  1770. ;opcache.enable_cli=02 e+ H) ]0 E. A) _. u
  1771. $ [- w* W" E: |: j( m
  1772. ; The OPcache shared memory storage size.; t# r/ `: ~4 E+ X& t4 E) u
  1773. ;opcache.memory_consumption=64; X& D! V' \" {; H$ d. z  {
  1774. : _* P9 r0 `. D: ^+ Z
  1775. ; The amount of memory for interned strings in Mbytes.
    / L9 V" a! X7 T7 X, y5 Q* @: P
  1776. ;opcache.interned_strings_buffer=4
    ( ~  g  h7 h" t7 u3 x0 F
  1777. 0 ?: f! Y; m# Y* Q  u# y# m7 }
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    4 V- c( B2 o% G
  1779. ; Only numbers between 200 and 1000000 are allowed.
    0 F, K7 o0 F: ]' ~. [. o
  1780. ;opcache.max_accelerated_files=2000
      x6 N! `. l$ W# Y5 C" Z

  1781. 8 o5 l; ?+ @5 M% J; W0 {* k# _
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.9 g& t) @8 }; \4 W: t
  1783. ;opcache.max_wasted_percentage=5# Z0 E  Q8 h, H9 L* l- x  S

  1784. # J3 X. l* O* A: \  h
  1785. ; When this directive is enabled, the OPcache appends the current working
    ; N/ t& S3 ^% E1 H/ A
  1786. ; directory to the script key, thus eliminating possible collisions between
      d# y! t' g: D
  1787. ; files with the same name (basename). Disabling the directive improves- o7 @1 ]; w  _' g  a; z
  1788. ; performance, but may break existing applications.% m! ^, K7 \: R" z0 }& A
  1789. ;opcache.use_cwd=1; L, W. I# ?! ?9 @  F2 z
  1790. 6 x$ B6 h, v6 b/ y7 Y/ W/ B( K
  1791. ; When disabled, you must reset the OPcache manually or restart the
    & j1 T+ {  `9 L& u
  1792. ; webserver for changes to the filesystem to take effect.* v1 {# X1 h9 ]+ r
  1793. ;opcache.validate_timestamps=1  N% d5 l6 {  n* L  c

  1794. 8 S' F) T; I# k; H  ]; V- K
  1795. ; How often (in seconds) to check file timestamps for changes to the shared# l, @  [. D# q1 ~- U( c" Y
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    7 K# ]. M: h* q/ n
  1797. ; once per request. "0" means always validate)$ e* F  K5 U. p! O. u
  1798. ;opcache.revalidate_freq=2
    - n* L8 N& R1 M

  1799. ) J, @( [# I5 Y0 ~# E& K+ h
  1800. ; Enables or disables file search in include_path optimization2 w1 @  i, p6 F1 k
  1801. ;opcache.revalidate_path=0
    8 R7 X6 Y+ q  `
  1802. ) @( F. u' v  _; d# {
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the; X6 V+ e0 k. N1 S& p
  1804. ; size of the optimized code.& U8 ~5 ]2 U* X9 K
  1805. ;opcache.save_comments=1; P) ^5 U" A6 U, n, Y2 h$ t

  1806. 8 X8 d9 }+ _  `7 Q: I3 k- a$ a' C
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    / p" N" S$ S7 b+ t( n) y
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.7 b5 o+ c( [" M  H
  1809. ;opcache.fast_shutdown=0
    1 j' X1 g& {* e; U5 V) x5 F7 r3 W

  1810. # T3 S; E1 ?4 H0 c
  1811. ; Allow file existence override (file_exists, etc.) performance feature.$ d* z9 ?! Q) O' n8 ^! P
  1812. ;opcache.enable_file_override=0
    $ B/ o) V! `8 G, x5 H7 V

  1813. 5 J  l/ O- R  E1 a2 m* R; d
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache5 o' N: q# r; ?0 \" F2 |
  1815. ; passes: l6 S; C' f+ P
  1816. ;opcache.optimization_level=0xffffffff
    / \" Y3 }# }5 a# q

  1817. 6 ?. |' y2 F: Z1 T. I  ]( V! o. y- Q
  1818. ;opcache.inherited_hack=1
    , ?3 M- ^3 k0 A" w6 h% |6 f
  1819. ;opcache.dups_fix=02 }( _2 P+ ^( P

  1820.   ~2 q* j7 Z/ U; B( k( {
  1821. ; The location of the OPcache blacklist file (wildcards allowed).* m1 x0 p6 b! n; _/ Z7 B* l) V
  1822. ; Each OPcache blacklist file is a text file that holds the names of files1 i( y$ ]$ j6 g. v/ v. y( z7 l9 M
  1823. ; that should not be accelerated. The file format is to add each filename! a$ k7 t- J* ^( [; X6 e
  1824. ; to a new line. The filename may be a full path or just a file prefix9 P$ p. k6 {5 u
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www' x$ a1 E7 X; y
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).7 s  t4 U& }6 i5 g" y! h; D7 A7 Z9 t
  1827. ;opcache.blacklist_filename=3 y4 D% h) k5 v1 B

  1828. ) W" j. b0 @; D& `7 L9 L' I
  1829. ; Allows exclusion of large files from being cached. By default all files
    2 K0 K/ _: Q2 ]. g0 U
  1830. ; are cached.7 X* M3 e( B4 \: n
  1831. ;opcache.max_file_size=0) J2 @" b1 v1 M! o3 \) f
  1832. 3 d* j8 Y# u. o7 y1 B( H/ g
  1833. ; Check the cache checksum each N requests./ n  D3 \( F9 q4 g, W% ~  x
  1834. ; The default value of "0" means that the checks are disabled.
    : Z! C- ]8 w2 Z- Q4 I8 b6 V3 [+ \+ Q
  1835. ;opcache.consistency_checks=04 k+ Z! Q7 T& f* b

  1836. ; i9 k& u, k7 h% q' Y4 z8 d8 v
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache- N/ Q( f! _. Q! J
  1838. ; is not being accessed.! R6 t3 k& v, o. A" E' X  \0 s6 ?
  1839. ;opcache.force_restart_timeout=180
    ! |' w7 j3 z! R( m
  1840. ! G$ K" j& Z2 d  }' x
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    + G) n+ p" s+ C6 m: D- X- k+ _
  1842. ;opcache.error_log=, O' `# A& `5 k* M. ~. P

  1843. 1 Y6 r0 e$ L  ~$ w. t0 ?4 W  I" N& n
  1844. ; All OPcache errors go to the Web server log.; P  e( ^! R5 ~
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.& ^9 s5 ]6 y+ f& ~: ^) ?! L. X* i7 h
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    # r! `* ~0 U; I. x* Y
  1847. ; debug messages (level 4).# u: y0 ?2 z0 k6 j
  1848. ;opcache.log_verbosity_level=1
    9 p6 |; c, `+ u$ m
  1849. ) E9 [) Y4 C6 X5 q1 {$ E7 N
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    * n- J$ R2 W  E% O8 W( f, z. r
  1851. ;opcache.preferred_memory_model=
    ( `+ {- H, Q  I8 ~! {0 ^1 z# J

  1852. $ R! b: {6 M4 A# m
  1853. ; Protect the shared memory from unexpected writing during script execution.# U6 p! s4 z- y8 v  C
  1854. ; Useful for internal debugging only.! @2 v" J: q: T
  1855. ;opcache.protect_memory=0
    / z# _$ o' w' M" K* O+ l0 {! F* i: ^

  1856. : H) T/ s% n/ c8 Y4 r& ]8 E7 K
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is5 ?& K3 N: E* P  X/ \5 X2 M/ x
  1858. ; started from specified string. The default "" means no restriction
    2 j* [7 w5 D6 c/ e
  1859. ;opcache.restrict_api=
    , o# x3 b" [' L# t0 r7 D
  1860. 0 f  ~0 V: Z# D8 w6 a
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    7 E6 _7 j/ }$ o" s. x
  1862. ; processes have to map shared memory into the same address space. This
    5 X, C) X5 L0 G  Z8 H5 w+ M  l
  1863. ; directive allows to manually fix the "Unable to reattach to base address"0 Z. x3 [) r* B6 r! H5 k" j5 |# ~
  1864. ; errors.$ }8 W7 ~. X8 l' _: l$ r" C
  1865. ;opcache.mmap_base=
    7 @& a' V  u! |) ?) u
  1866. + N' z! Z4 n( v. F* @6 F) l+ v
  1867. ; Enables and sets the second level cache directory.) z0 H$ o9 j# c( Q/ n& e) [0 N8 f
  1868. ; It should improve performance when SHM memory is full, at server restart or- A- j9 `8 Z* A1 B% y9 {
  1869. ; SHM reset. The default "" disables file based caching.
    % b2 O* t* l+ U4 y# I
  1870. ;opcache.file_cache=- d( k/ e$ R) L) E& X3 k4 C

  1871. ) \' Q  f8 x% Z+ v
  1872. ; Enables or disables opcode caching in shared memory.
    . Q" h, m- T  `+ Z6 k/ k3 l$ a* O
  1873. ;opcache.file_cache_only=0
    ; j- J/ L3 _) a" ~
  1874. : [9 s6 M/ u9 a/ Q/ \1 v1 b: e
  1875. ; Enables or disables checksum validation when script loaded from file cache.5 A1 e* Z! h5 {5 {
  1876. ;opcache.file_cache_consistency_checks=1
    ! {# E5 p% }- r3 R. p5 s6 r
  1877. 8 A$ d( z! {1 ]# u8 b! g0 W- B) w7 N$ N6 k
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    2 D. A  q; v; `3 ]+ Q$ p: R! a  q
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    7 b; Q0 ?% O: x) ~5 X1 e; H& p
  1880. ; cache is required.
    $ i, F! C$ t& ^
  1881. ;opcache.file_cache_fallback=1
    8 s7 v4 G- v2 B7 q3 ]5 q* F$ J

  1882. 2 I/ V: q0 O! a+ y
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.( X# W  V* `! S! V6 K
  1884. ; This should improve performance, but requires appropriate OS configuration.
    & @- _  r7 r; _
  1885. ;opcache.huge_code_pages=18 N3 y1 G. ^: |; |1 o
  1886. 6 ]: J  _0 D$ F; G; {1 X9 ^
  1887. ; Validate cached file permissions.
    ) l1 e; N1 X9 F+ n" Z
  1888. ; opcache.validate_permission=0
    - C# O6 M) n$ `1 s

  1889. ) T$ n' E6 x, E. A/ @) Y9 Y
  1890. ; Prevent name collisions in chroot'ed environment.
    & P9 t* r  \4 e8 M4 e& J$ \3 ^
  1891. ; opcache.validate_root=0
    1 B* l( X# [; S8 Y* v
  1892. ! t* V! Z8 @$ P. q8 S' ~8 b
  1893. [curl]! S7 q6 O+ D; d% \+ k
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an6 i2 K6 f6 G9 D% z$ G
  1895. ; absolute path.
    : u) c4 u6 L$ C  e9 p& R1 j9 I1 O
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    5 ?# _8 o6 k* g, X% ]4 X

  1897. & d* e& j* e$ M. U
  1898. [openssl]
    ! j3 h3 n% x0 F# t
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    * g3 j1 b" e4 O+ X
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    2 }7 k. M2 k+ u& a# f: C9 G2 j2 P
  1901. ; not specify a value for this directive as PHP will attempt to use the* A5 V+ i6 `7 Z' G" k
  1902. ; OS-managed cert stores in its absence. If specified, this value may still$ p# H* E+ y% z2 J
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context3 j# Y% i7 \( G! d- d' t$ f
  1904. ; option.
    5 O$ ^2 T9 \% g% i$ L  L7 m$ `
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    6 N9 @6 h  D' e4 L5 K+ i

  1906. ' m' m# ]$ K; V* i
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    $ u/ j- x( F2 }8 }0 O
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    , n5 J2 B, j. g& U: u
  1909. ; certificate. This value must be a correctly hashed certificate directory.( X) E  R4 F# b. A9 K) f
  1910. ; Most users should not specify a value for this directive as PHP will* x6 {, j( s" k7 o* K6 {
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,* B9 I2 ?( @' S  y; j, D
  1912. ; this value may still be overridden on a per-stream basis via the "capath") f1 P) I- r9 q5 Y
  1913. ; SSL stream context option.5 l# j, E. V7 x0 {
  1914. ;openssl.capath=- b  u' o9 s/ I. A

  1915. ( U; ~0 b: N& h  ]4 S$ L4 T
  1916. ; Local Variables:0 e' q: r( E# a  @
  1917. ; tab-width: 4/ d, ^5 b; Q7 x& h. @2 p
  1918. ; End:2 U& V. |8 L5 N9 C
  1919. 0 M7 q/ u0 x3 t8 {
  1920. ;eaccelerator
    : U! @1 E6 ]% Y- L* [

  1921. / S! i" G& Z: d) _6 |$ S9 |
  1922. ;ionCube3 }7 I- w# U6 G' T- U8 {4 G+ R

  1923. $ a/ {' J! G& m* C% f
  1924. ;opcache
    3 Q1 Q$ }3 E' M# V4 X" ^- r
  1925. - G! U& S5 Q) I6 z. k
  1926. [Zend ZendGuard Loader], i$ R8 w( M9 [, Y# }- k
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    4 {% t1 T$ x/ p# E& S# k
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    4 l6 C: u# Q, g! W/ [! d2 _& Z, E
  1929. ;zend_loader.enable=1
    4 m0 N) t8 U' Q6 X: }
  1930. ;zend_loader.disable_licensing=07 D& F7 A5 Z2 J, j5 I" i5 r
  1931. ;zend_loader.obfuscation_level_support=3* q. I& i' x' ]' c, ]  }+ f- S/ V! x
  1932. ;zend_loader.license_path=
    ; N; T) |7 x! {
  1933. % c6 ~# i. D' c2 p
  1934. ;xcache  V4 T8 w, A9 I
  1935. 5 \7 d2 c: D  }% u: e5 M3 R) {! v
复制代码
# x- H' w, o- ]3 X1 }( V' P

% s4 |' M* u) [8 I0 t0 B8 W, D& }' S0 }& B6 w2 J4 h5 f  H
( @2 L3 f# b, |- m- X

; k4 z: B& ^/ c& r: U3 [& W/ @* o3 p
  q3 j; k. i) Z3 T) ?6 @. T% i
5 H. f. B# w% O9 d' v; c; T2 fPHP5.6版本原始设置/ q4 C: V; H4 _& B/ }5 o8 W, ~/ n3 c

2 k" g% R8 z1 n% d/ X
  1. [PHP]# b" Z( J# |- o; }: B
  2. . j: N6 z; {! `0 Q
  3. ;;;;;;;;;;;;;;;;;;;
      j3 E0 ]" K7 a! l* f) y9 q6 }
  4. ; About php.ini   ;
    : F) Y$ z5 Q6 z  m" {
  5. ;;;;;;;;;;;;;;;;;;;
    ! R3 K. V3 D0 E7 n1 d2 r# u
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    - \3 a( S  X3 [0 a* _$ B: f
  7. ; configuring many of the aspects of PHP's behavior.
    / v" e( r7 u, ^/ E# `

  8. ( r# A3 e5 ^9 b
  9. ; PHP attempts to find and load this configuration from a number of locations.
    + u& F4 @& b- t
  10. ; The following is a summary of its search order:. |1 d2 |0 d4 Q
  11. ; 1. SAPI module specific location.! ]- w7 u0 k# e  i- j( q
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    # {% A5 X) I5 Q! V' l: _; j. y
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    8 c* r* g' e* |0 Z3 N' \4 b5 w; E
  14. ; 4. Current working directory (except CLI)8 g' v3 P8 k. m
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP; N; T2 I' I: A6 [
  16. ; (otherwise in Windows)  J9 M! R/ I+ B2 R, j6 n$ T! c; Q
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    2 M! {& Q9 f- t4 V
  18. ; Windows directory (C:\windows or C:\winnt)
    5 W8 _/ ~2 g5 ]- V% \9 M% O* v
  19. ; See the PHP docs for more specific information.
    % C; ?: ]2 X2 q% E# X, q$ N( D8 `* V
  20. ; http://php.net/configuration.file6 Z7 }8 v% V3 {5 z* m' i

  21. 6 s5 Q, ^' }8 T2 p# I& E
  22. ; The syntax of the file is extremely simple.  Whitespace and lines. t* N: L5 y1 o& Z, K! T5 T/ K$ Y
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    & A" Z: y$ S: v# O
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    . a$ f5 V4 M3 Q4 M2 @4 ]
  25. ; they might mean something in the future.- ?! a1 n% N" n) B: F' }6 I# E+ Y

  26. + x& J8 V7 u( H* J9 U5 y. \0 Y
  27. ; Directives following the section heading [PATH=/www/mysite] only
    9 x% x3 d% A3 n( U: W. B5 `5 v
  28. ; apply to PHP files in the /www/mysite directory.  Directives2 o) I* c( w! J( g
  29. ; following the section heading [HOST=www.example.com] only apply to
    $ k( J  Y/ U$ Q- _
  30. ; PHP files served from www.example.com.  Directives set in these/ w9 V9 R, o1 E3 z
  31. ; special sections cannot be overridden by user-defined INI files or. d7 s9 q! k: o
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under) C% ^' `/ \  @
  33. ; CGI/FastCGI.
    ' w' z1 j( O, N
  34. ; http://php.net/ini.sections
    ) i- R. F! `! p- G) T! f/ v

  35. - ~' _+ B* @: J; t! e
  36. ; Directives are specified using the following syntax:2 o1 r2 K7 z* Y/ K
  37. ; directive = value
    4 J  g  P5 U/ A
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    ; [1 h1 q( y" c1 B! E0 r
  39. ; Directives are variables used to configure PHP or PHP extensions.
    + t& w5 y( g1 {+ J
  40. ; There is no name validation.  If PHP can't find an expected' p$ O; H, E5 M2 x" M7 b9 I
  41. ; directive because it is not set or is mistyped, a default value will be used.
    % v0 s5 \3 @# n$ e
  42. ; }2 J2 N+ y" O; t
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one( I* O8 }" c2 m7 ^1 V- B  v6 Z# X. I: M
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression* E7 S" Q8 N% W" f& T) V
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a  V- V8 B5 Q9 j
  46. ; previously set variable or directive (e.g. ${foo})
    ' g8 s7 T+ r: n1 ~% a  K( W6 f
  47. " Q% X8 K; N) l% k8 l0 f
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:4 M8 T+ t( B4 ]# W  B, [
  49. ; |  bitwise OR
    0 H& _7 ?1 o$ c" U8 w( ]/ u
  50. ; ^  bitwise XOR
    ; l% l- M( I4 p6 \6 ~7 Q- |3 o
  51. ; &  bitwise AND+ \) ]0 m: w6 ?8 s! D+ O
  52. ; ~  bitwise NOT3 F- x$ {1 \* ^+ K; X) u$ Z
  53. ; !  boolean NOT1 g. |. Q. [: S, v. P( j

  54. " a3 y- X* [2 ]1 x! q
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.6 |* B- V, Y7 |, Z, y
  56. ; They can be turned off using the values 0, Off, False or No.1 E. N. q7 r0 k; w( C% J5 N

  57. # |* y8 G% l) d) ?6 @
  58. ; An empty string can be denoted by simply not writing anything after the equal
    - X4 s: J! T' e  K6 x9 U
  59. ; sign, or by using the None keyword:$ s/ Z+ {0 w! P1 W4 m

  60. . U& j& G, r" Y8 o3 H2 _
  61. ;  foo =         ; sets foo to an empty string
    2 J" O1 A7 o) R, E& k
  62. ;  foo = None    ; sets foo to an empty string' J) c" l1 Y0 [" z3 `
  63. ;  foo = "None"  ; sets foo to the string 'None'' m, I6 z0 t* r9 M% h. a$ ?
  64. 7 e0 _. M2 x  p6 H: ?; \! v) w1 F: O& F
  65. ; If you use constants in your value, and these constants belong to a( s  O3 [: W2 ?( n# |3 a
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),& C2 K2 W* Q, U
  67. ; you may only use these constants *after* the line that loads the extension.3 u* p3 z# f) c/ b: v, {( `0 z
  68. ( g7 m( W  J2 |! q0 ^: A
  69. ;;;;;;;;;;;;;;;;;;;
    % n7 u1 \3 v6 l! Z; L7 o
  70. ; About this file ;
    0 J9 ?: c) G) O5 T; p
  71. ;;;;;;;;;;;;;;;;;;;
    6 P& u8 h% T6 |6 A0 B- _/ h
  72. ; PHP comes packaged with two INI files. One that is recommended to be used+ R: o( n7 V- [. ]# H
  73. ; in production environments and one that is recommended to be used in4 ?6 d3 e3 r% E2 I0 X" W
  74. ; development environments.3 T0 c  _0 j6 I* L3 x) ~! Z5 S/ b2 z3 W
  75. # Y" \! E+ t  X
  76. ; php.ini-production contains settings which hold security, performance and
    . r! B5 w6 z0 j+ t$ `" }/ [' l
  77. ; best practices at its core. But please be aware, these settings may break/ S! x1 U7 X  T( u
  78. ; compatibility with older or less security conscience applications. We. q5 z2 @# Z  |$ _" i6 P5 `
  79. ; recommending using the production ini in production and testing environments.
    % `) ]& _& a$ x- d$ r

  80. 9 j' `, g" c- g' ?' x
  81. ; php.ini-development is very similar to its production variant, except it is
    0 ]; k" D8 Z7 s3 T: M0 W
  82. ; much more verbose when it comes to errors. We recommend using the& X& f: u1 D9 f' C  v' X( l
  83. ; development version only in development environments, as errors shown to
    2 z# w2 N% M' [
  84. ; application users can inadvertently leak otherwise secure information.
    8 e2 w; s5 Q2 h% ?

  85. 3 k! m# H$ d, m/ S% ?( ^+ Z
  86. ; This is php.ini-production INI file.1 i$ v6 I/ m, b. u7 n. f& ^5 d

  87. + l* R$ }2 R7 L' _8 A
  88. ;;;;;;;;;;;;;;;;;;;
    ! e. k/ `9 J- s( m7 {
  89. ; Quick Reference ;
    5 L* H2 d, J- p6 K, l' l4 G
  90. ;;;;;;;;;;;;;;;;;;;
    0 L4 B& [, E5 G3 W5 [+ r/ u; k
  91. ; The following are all the settings which are different in either the production
    ! P- N* D2 m+ o
  92. ; or development versions of the INIs with respect to PHP's default behavior.
      W% F5 s3 q- a3 Q
  93. ; Please see the actual settings later in the document for more details as to why5 ?  r, ?  f. q4 H& L$ P! |+ D) k5 f
  94. ; we recommend these changes in PHP's behavior./ i! p) L9 P9 v

  95. * M5 n1 C" K: |9 C
  96. ; display_errors3 b! B4 F% v$ m: g& _: }8 M0 D
  97. ;   Default Value: On* i+ J9 L! p# a) `" q! J
  98. ;   Development Value: On, `0 o7 m6 s9 R1 Q. g
  99. ;   Production Value: Off9 g. C" l+ A. w% }' O0 @5 U
  100. 9 c- c3 W  x: V5 Z4 |' [5 N
  101. ; display_startup_errors5 Y1 B7 P1 t+ p, B
  102. ;   Default Value: Off
    ; S( D6 m9 b6 i, M
  103. ;   Development Value: On
    ' y8 Y; J0 t: ~4 q' S: V4 J- J% O
  104. ;   Production Value: Off% O: @' u& F. W' I  @/ {3 x7 K
  105. 5 h" t/ @  ~& {* h
  106. ; error_reporting/ J/ I; R8 _, ?0 |, k8 D6 ?4 T' S
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    - o1 d5 ~# \$ m$ v. X/ n2 h
  108. ;   Development Value: E_ALL7 n5 d- u7 e. P! R$ R7 K" g: M3 I( r
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    $ q4 E1 z, m1 Y/ Y& s$ e
  110. : y2 S: E5 Z# i  K
  111. ; html_errors6 w1 z: \: T/ ?* Q2 C/ U
  112. ;   Default Value: On" C* @* V' I, M( W" u( v  z
  113. ;   Development Value: On8 G8 V3 ]( A. h3 F7 G$ i
  114. ;   Production value: On
    6 _2 x2 T1 }+ I! \

  115. % p7 N% r% ^1 h( ?
  116. ; log_errors
    6 v0 G. a  L4 {" t
  117. ;   Default Value: Off
    8 w$ ]6 H  S- M; d1 }2 f7 k
  118. ;   Development Value: On
    5 Z( W6 ?8 U, p4 \
  119. ;   Production Value: On# j( s" r4 o& X$ B
  120. 1 k6 P& C6 K" ?
  121. ; max_input_time
    3 A7 |: F; o# A3 D2 |; @2 d
  122. ;   Default Value: -1 (Unlimited). V8 z/ ]& G2 T
  123. ;   Development Value: 60 (60 seconds)
    8 }5 x* V& J8 o; E
  124. ;   Production Value: 60 (60 seconds)
    3 P3 @& [1 @* J1 w

  125. ( Q0 S) d2 r' l. I
  126. ; output_buffering% @5 [) a1 c/ P
  127. ;   Default Value: Off
    ' c0 w6 B; l, i' u  I# \
  128. ;   Development Value: 4096
    6 l, K3 b  A8 A3 ~& y/ N
  129. ;   Production Value: 4096
    , `$ s' o% {3 s8 @

  130. & K. l3 `* b6 Y+ f
  131. ; register_argc_argv. c  `3 b6 o5 p7 \% M& m" `0 L# Z
  132. ;   Default Value: On3 v# h; p* Z% {; }4 ^, E
  133. ;   Development Value: Off
    . _( Z4 O, N& D% ]: [
  134. ;   Production Value: Off6 r# \1 X$ O0 v6 a

  135.   o. E9 p* ^3 G# R" P
  136. ; request_order; B7 ~4 c7 N8 {+ f% x
  137. ;   Default Value: None% b9 H" v) Q9 u- W3 Z- v6 M4 `/ m
  138. ;   Development Value: "GP"/ k7 W/ u% r9 A7 P% v  K) g
  139. ;   Production Value: "GP"* T  b" X. R2 s/ T

  140. ( q3 M  t' {& A4 V
  141. ; session.gc_divisor7 G6 |8 |/ i, \3 `
  142. ;   Default Value: 100
    : W+ a% h% c7 X) G
  143. ;   Development Value: 10003 I& F- N+ A, B! R) _/ \; e1 z
  144. ;   Production Value: 1000$ o  R, o& |( M& q' c0 s

  145. ' U: y7 H5 h# a5 f( t* M8 k
  146. ; session.hash_bits_per_character% O* u9 W& c5 W0 _; `6 B; x4 U
  147. ;   Default Value: 4
    : ^$ j. \2 P: j  P$ o
  148. ;   Development Value: 5
    . R4 x8 D1 w( L+ X$ L/ m
  149. ;   Production Value: 5% J& `* f" u% S: U9 ^/ }
  150. 8 O0 X8 O2 a2 u" c6 Q
  151. ; short_open_tag
    $ g* W- N  y' ~) w
  152. ;   Default Value: On
    ! b/ F9 ?3 I* e6 S+ K
  153. ;   Development Value: Off; I1 z$ U* s' B5 V! C
  154. ;   Production Value: Off
    , O" @9 N; q  @

  155. $ u7 _% L/ X* ]! c3 ]
  156. ; track_errors+ o* g+ w5 b% I, K, s$ T' A/ u. ]
  157. ;   Default Value: Off
    + Q! v  g( g' ~, ^9 @* @2 c
  158. ;   Development Value: On! {1 p- @% p: @
  159. ;   Production Value: Off
    3 e* S7 z% f* S3 H5 Y* H, I, C
  160. + y$ a! T1 T/ ?# I; v- f
  161. ; url_rewriter.tags1 {8 n2 r# E1 X$ h& C( Y0 V, C& C" q
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="( W3 p% U  A8 U* c" ?2 I) V3 S
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"1 ?, u* Z/ j7 s! N
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
      R0 W! g6 V+ g3 C

  165. 4 j9 {% h% B6 P4 J; H# F0 T
  166. ; variables_order
    ! E' h3 o7 A/ A9 T
  167. ;   Default Value: "EGPCS", l  E  s5 A- V9 B1 n  K8 p
  168. ;   Development Value: "GPCS"
      l+ E. w0 Z# I' a8 A8 `! k
  169. ;   Production Value: "GPCS"
    0 d4 m. B* e- i) s& A4 |8 e

  170. : F( I8 x# y! E4 V0 {6 y
  171. ;;;;;;;;;;;;;;;;;;;;: b4 K0 X9 H" a$ n
  172. ; php.ini Options  ;" u0 U4 h8 b% S3 W
  173. ;;;;;;;;;;;;;;;;;;;;! L0 P! M) d0 g( ^5 `$ `& e
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    , D8 Q: x8 H) l& {7 y) s6 h& M
  175. ;user_ini.filename = ".user.ini"6 e4 x! E( z8 s5 m

  176. ( i  x! I# u/ d% s
  177. ; To disable this feature set this option to empty value! H: n' D0 l" j7 w4 J) ?! H
  178. ;user_ini.filename =
    # x5 a+ j; s) o, v1 o

  179. $ {  h0 W, R4 _7 r- ]  ^6 n# v
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    " s2 J( G! e) B. V1 F2 u
  181. ;user_ini.cache_ttl = 3007 A( a9 V/ S' D; y1 p3 |/ H2 D

  182. 2 Y5 y5 h* E+ \& Z
  183. ;;;;;;;;;;;;;;;;;;;;& V4 I0 I+ [. C+ ]" A
  184. ; Language Options ;
    7 S" |, \/ J5 `5 l  D6 @, R! u
  185. ;;;;;;;;;;;;;;;;;;;;
    5 @4 d  W5 ?* j( Q2 R
  186. 1 v4 _( F6 N: ?
  187. ; Enable the PHP scripting language engine under Apache.
    : n6 b$ W& a* [$ M5 i8 z5 c" y
  188. ; http://php.net/engine& e( |& \5 p7 l+ `- c8 B
  189. engine = On
    ; S5 ~: L' {7 l" k/ m
  190. 4 {! }4 Y9 S4 o- H8 S
  191. ; This directive determines whether or not PHP will recognize code between- Z9 M. b) X( \- \5 T6 L+ `
  192. ; <? and ?> tags as PHP source which should be processed as such. It is, r5 F: k1 E' E/ V! c
  193. ; generally recommended that <?php and ?> should be used and that this feature
    2 W) t6 V- X9 r7 e+ Y8 x
  194. ; should be disabled, as enabling it may result in issues when generating XML
    $ N, G! G- A! r; P# n
  195. ; documents, however this remains supported for backward compatibility reasons.0 Z/ {) x# Y' J* m6 l- O+ s
  196. ; Note that this directive does not control the <?= shorthand tag, which can be5 q  `; J0 t/ P( o- b  L) U
  197. ; used regardless of this directive." T' q/ r" T. F
  198. ; Default Value: On
    % o! c4 p$ d/ ~' w1 H
  199. ; Development Value: Off" R, {( @' B& {4 Z8 \4 z
  200. ; Production Value: Off# ?9 x+ n- L; k+ E
  201. ; http://php.net/short-open-tag  `/ x% n- B+ P$ {* y1 s
  202. short_open_tag = On1 T2 O! j$ R# M; Z
  203. ; V' U7 Q' _3 x. \
  204. ; Allow ASP-style <% %> tags.
    6 S8 g; Q) S- g( J) X5 @8 n  U
  205. ; http://php.net/asp-tags2 Z% I! a& B5 m5 I3 l' {6 j
  206. asp_tags = Off2 n3 r) I; {9 ]) }* u2 _

  207. : W. I  T/ s2 G" q. {
  208. ; The number of significant digits displayed in floating point numbers.
    . ?. H8 _; j  p; v1 Z% F* [' r
  209. ; http://php.net/precision! `% X* j0 `3 \& ]
  210. precision = 14/ H# I6 J- }+ w$ V

  211. * j9 r7 K; ~4 D4 P3 e/ _: M
  212. ; Output buffering is a mechanism for controlling how much output data) h+ d: d' ^" _( C- c, [4 Y- H1 M) r
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that( ?8 I, c' r+ R; G0 I
  214. ; data to the client. If your application's output exceeds this setting, PHP; s8 @6 v& z, A; m3 D/ X  l! u
  215. ; will send that data in chunks of roughly the size you specify.  S. o& ^% [9 j+ v1 ~
  216. ; Turning on this setting and managing its maximum buffer size can yield some% d% ?( o( G) g, T" U) d) h
  217. ; interesting side-effects depending on your application and web server.% f' e$ g8 C* [4 k# A
  218. ; You may be able to send headers and cookies after you've already sent output
    3 H/ N0 c3 r/ ^' x* m9 A
  219. ; through print or echo. You also may see performance benefits if your server is
    # W) W" O4 T0 U+ H& o
  220. ; emitting less packets due to buffered output versus PHP streaming the output9 U1 u+ ~$ T" L5 R; C
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance+ q4 p1 m7 b. C" N( o
  222. ; reasons., r% C, C% V( Y7 U! u. c8 r. ~
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    + `3 ~6 |' s8 X1 q" p
  224. ;   functions.& B( w& W- N3 @5 n% p# m0 P; n- r
  225. ; Possible Values:. ~+ g# X& ~- E# ~+ p$ z  B
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    $ k- Z  O  t  g
  227. ;   Off = Disabled) ]3 b5 u) W( W' k
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    : J5 }2 l" U  e
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    " l/ C( F+ P! b2 ]3 E0 ~
  230. ; Default Value: Off! |! P2 B; @# N, P( T5 U
  231. ; Development Value: 4096
    & L# f" ~% t7 b8 L
  232. ; Production Value: 40964 `- F0 B  P! s5 |, ~7 R
  233. ; http://php.net/output-buffering
    / ?1 q( h3 y; {8 g& |
  234. output_buffering = 4096
    : G2 Y; O+ D4 J$ i0 D* Z& D/ D
  235. 2 c# x+ b# t  k- b
  236. ; You can redirect all of the output of your scripts to a function.  For
    " M( \9 [! {' M3 g  c5 f5 T
  237. ; example, if you set output_handler to "mb_output_handler", character
    1 i# k; ?* y. z3 ^5 p& ]8 z. o
  238. ; encoding will be transparently converted to the specified encoding.
    2 v& p6 I5 N% n& X2 L) j6 F3 I
  239. ; Setting any output handler automatically turns on output buffering.
    0 }0 A) c7 {+ G! V
  240. ; Note: People who wrote portable scripts should not depend on this ini
    # S+ i  a# p! j' S: i2 O
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    5 H  j  ~; o. p: u
  242. ;   Using this ini directive may cause problems unless you know what script
    % P; ^7 p9 W. g5 z& a- R
  243. ;   is doing.2 n' q3 K. }0 t4 v5 ^1 D7 d3 }
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    9 `6 c7 V9 p5 Z: |- F
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".& f2 W8 }9 b( t! C2 S
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    / |: i9 Z, r* N0 I$ a. [3 P
  247. ;   Instead you must use zlib.output_handler.( x) l, \# {1 E1 }) `
  248. ; http://php.net/output-handler; P2 I' a' d9 {( {
  249. ;output_handler =. V9 h  `4 R. w: l7 B% [5 B% k' L
  250. + \3 B9 S9 g' w& e6 q0 ?5 }) T3 a3 p
  251. ; Transparent output compression using the zlib library
    % t7 c1 r7 K7 o" p
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    ) u7 i- Z/ G+ [8 l8 ?# S; I. V) L
  253. ; to be used for compression (default is 4KB)+ P$ y! ?3 B2 T7 C& p3 E  j
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP+ C& Q* d2 k$ ~2 j% X
  255. ;   outputs chunks that are few hundreds bytes each as a result of( [6 [# V& g5 T6 h, h
  256. ;   compression. If you prefer a larger chunk size for better: M+ I5 I. O5 `! ]0 @
  257. ;   performance, enable output_buffering in addition.0 F4 i1 ?6 k0 k4 r
  258. ; Note: You need to use zlib.output_handler instead of the standard3 Q7 B/ |3 z" T9 ?1 J5 U- [% K
  259. ;   output_handler, or otherwise the output will be corrupted.
    8 m1 `& `, C1 V  H
  260. ; http://php.net/zlib.output-compression4 q8 a  ?2 O% u  o9 d
  261. zlib.output_compression = Off7 w3 h' n( K0 y

  262. - `# A( Y# x7 j( j, W/ g3 b  Y
  263. ; http://php.net/zlib.output-compression-level
    ( f, I7 S" X/ D0 h( {, b  n
  264. ;zlib.output_compression_level = -1
    1 M! g# @. x  ^" A( s' ^

  265. ! j) w2 E% m- A6 G/ F8 w7 `4 n
  266. ; You cannot specify additional output handlers if zlib.output_compression. L+ r1 q" \# C
  267. ; is activated here. This setting does the same as output_handler but in# K2 n! u4 w0 J* Q; A& ^. g# m
  268. ; a different order.& `' u& C0 f2 }1 r4 l  P- b! h( v9 l4 P: j
  269. ; http://php.net/zlib.output-handler2 d. k* A0 Q: [( J3 e0 J1 @
  270. ;zlib.output_handler =
    5 p0 X' |6 c9 g# K. R8 z

  271. - n' S. X3 M/ @
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    3 _0 s, H* z1 O$ s* b
  273. ; automatically after every output block.  This is equivalent to calling the3 x# T& F: @$ c: \' p& q; g/ p
  274. ; PHP function flush() after each and every call to print() or echo() and each
    4 y9 K% d5 n$ \7 n0 g3 M
  275. ; and every HTML block.  Turning this option on has serious performance# M' {! a! K! J* Y
  276. ; implications and is generally recommended for debugging purposes only.
    3 \5 T# T9 B/ f9 n
  277. ; http://php.net/implicit-flush
    - p" `8 L5 }, i, O, E
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
    5 B6 Y! F: v3 `* ^7 ]: ~5 R
  279. implicit_flush = Off; f  l/ m2 B5 U
  280. 0 k, ]: q% @# `
  281. ; The unserialize callback function will be called (with the undefined class'
    9 Z2 r$ l( y; K1 R2 @3 o
  282. ; name as parameter), if the unserializer finds an undefined class0 j; h5 G' ^0 V, x5 `& [
  283. ; which should be instantiated. A warning appears if the specified function is8 l% i, h! Z3 A
  284. ; not defined, or if the function doesn't include/implement the missing class.4 O8 d$ a) u; x: f6 l* G5 o
  285. ; So only set this entry, if you really want to implement such a2 `" S; n4 \. s! a8 x
  286. ; callback-function.2 _3 b" B) k" u- r" }- A0 r* b5 i
  287. unserialize_callback_func =6 I  c4 T) k3 K% s0 n
  288. 1 r! n8 e0 M% F! u
  289. ; When floats & doubles are serialized store serialize_precision significant
    / ]+ V1 x: b6 S. G$ l# B  K5 }$ a  l
  290. ; digits after the floating point. The default value ensures that when floats
    ' `, G0 l, t0 c  D+ c; J/ i- [
  291. ; are decoded with unserialize, the data will remain the same.
    ) ~) c* o1 I; l; E7 O
  292. serialize_precision = 17
    - s* \$ f( H/ \4 U8 I
  293. ' Z1 E( }# f- V2 L* g, j) O
  294. ; open_basedir, if set, limits all file operations to the defined directory& l0 g5 T" J0 A- L) g, s
  295. ; and below.  This directive makes most sense if used in a per-directory
    7 F! u9 C5 t" L' z3 T% S* Y
  296. ; or per-virtualhost web server configuration file.
    , m# a8 ^+ o* p1 r3 W; t
  297. ; http://php.net/open-basedir
    3 }. O3 e4 j0 N, r# |
  298. ;open_basedir =
    $ F7 B. o$ Q1 p3 E
  299. $ X* x/ @1 X6 O. @
  300. ; This directive allows you to disable certain functions for security reasons.
      T* B: F3 N) f7 F9 ^' G* R
  301. ; It receives a comma-delimited list of function names.
    $ E2 h2 w2 c" A% E$ K- l
  302. ; http://php.net/disable-functions
    0 _* g$ e0 V* V1 b6 ]
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    # M6 [" x+ e/ a& j; H

  304. & {: U1 {# S. s3 g1 a( y  z& H
  305. ; This directive allows you to disable certain classes for security reasons.8 d5 y% Q% q) B8 m, ~) H
  306. ; It receives a comma-delimited list of class names.8 J1 f2 G% C( f
  307. ; http://php.net/disable-classes
    9 S+ d0 O0 D5 V% f% S; n- Q
  308. disable_classes =
    . R0 H6 s3 y/ b( Z
  309. & l. I$ i  f( f4 Z. s8 t6 n1 O# ^
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in+ q, ~7 l9 _, x- `& I, F6 T, k
  311. ; <span style="color: ???????"> would work.
    6 F4 O! O# @9 a. a0 a6 i, _  h& x
  312. ; http://php.net/syntax-highlighting7 b+ I5 T! @; {
  313. ;highlight.string  = #DD0000
    $ R( R: |+ r) y) A- r/ r5 ~
  314. ;highlight.comment = #FF99003 p, h6 e+ W9 Y+ }1 q$ W
  315. ;highlight.keyword = #007700
    / @/ R0 x4 z4 |
  316. ;highlight.default = #0000BB3 m9 D8 L/ n( P% }; {2 U! I8 ~  _
  317. ;highlight.html    = #000000
    ! Y9 q, `  ^7 _% _7 C0 v, [( {: M

  318. 5 }  {) ]4 {" l  c) g: b
  319. ; If enabled, the request will be allowed to complete even if the user aborts4 U( j( J7 D+ t* L4 W" ~6 I
  320. ; the request. Consider enabling it if executing long requests, which may end up  j3 h/ s( C+ u. p5 W& o
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    - T) D5 K( b; ]
  322. ; is to disable this feature.0 Y  f1 l" a0 X. N$ }
  323. ; http://php.net/ignore-user-abort
    , i4 G, N1 y# `
  324. ;ignore_user_abort = On  l0 ~/ m0 F% j4 I/ s8 E2 I

  325. 9 |" q: T4 u- D0 y' N2 l3 {0 A7 O
  326. ; Determines the size of the realpath cache to be used by PHP. This value should0 x9 o1 n0 Z( v  _, \
  327. ; be increased on systems where PHP opens many files to reflect the quantity of3 h' M* I# ~+ ^: q
  328. ; the file operations performed.7 b3 j  x8 \/ z' \9 m
  329. ; http://php.net/realpath-cache-size' t6 [! W% |1 `& m7 q5 v
  330. ;realpath_cache_size = 16k5 A% K( Q8 l8 R0 v( q
  331. 8 I; Z( g8 ^+ K# w
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    % C( S8 x5 j+ X8 \
  333. ; file or directory. For systems with rarely changing files, consider increasing this! `1 P/ _4 j& Y; E1 Q0 }1 |
  334. ; value.
    : ~, q5 M( R* Y0 D
  335. ; http://php.net/realpath-cache-ttl9 w: B- U# w/ z
  336. ;realpath_cache_ttl = 120- n! X  b, X2 b& @" _. Z
  337. ) B# {5 q& }9 |3 ]& H1 A1 i0 r# k
  338. ; Enables or disables the circular reference collector.
    + F: k/ M" w! }* O% G
  339. ; http://php.net/zend.enable-gc  |0 x2 t; |( v; J: S) Q' `
  340. zend.enable_gc = On
    1 g2 X( h& {& I& |' {

  341. 8 h. j  [7 Z% ~: ^1 {3 S' b
  342. ; If enabled, scripts may be written in encodings that are incompatible with6 ~. @+ h9 F, l1 l  D
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such# s  W* d" t9 p* P/ H( e$ g. a
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    5 T+ Y9 ~% ?& @. E. |
  345. ; Default: Off
    7 y2 `3 U% E! T# w4 ^; l
  346. ;zend.multibyte = Off
    4 k- W$ L. M/ V. I4 a5 @
  347. " h" V. \2 \* I) o  N
  348. ; Allows to set the default encoding for the scripts.  This value will be used( w8 x/ _8 R# W) j  _2 E$ H, U5 K
  349. ; unless "declare(encoding=...)" directive appears at the top of the script." z; C/ N( |3 U9 s7 U- z1 K0 f
  350. ; Only affects if zend.multibyte is set.
    4 h1 C) x2 J1 d! F
  351. ; Default: ""
    ' o) E3 _/ J0 \9 e, W( d" y$ G, C
  352. ;zend.script_encoding =( ~: D" y' _/ I% ?/ m8 w# o: k
  353. 2 g0 h8 {( R* X& l+ ?8 s* r
  354. ;;;;;;;;;;;;;;;;;0 }+ n" S3 Z/ w' a
  355. ; Miscellaneous ;
    ( \: {; h; w% ]7 U$ [8 a
  356. ;;;;;;;;;;;;;;;;;
    0 N4 v8 L) g7 I& [, P
  357. 4 a9 u+ J% \) k; Q) E9 j% m# Y! w) f
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    % S6 ^& M1 V: B! c) V, \
  359. ; (e.g. by adding its signature to the Web server header).  It is no security8 i6 y: q# e" J$ |8 p5 P& L- S
  360. ; threat in any way, but it makes it possible to determine whether you use PHP% q) k! u+ F/ P. |; _
  361. ; on your server or not.
    $ i/ M$ e. p+ q- B8 _9 h
  362. ; http://php.net/expose-php& \8 g; d2 \7 `( U
  363. expose_php = On
    $ X* F! Z. ?/ f0 K6 b
  364. , E; S- \0 l% Q( [6 n) u! I
  365. ;;;;;;;;;;;;;;;;;;;
    ! A9 P6 y& w7 D$ N: J# G( T: v" r' h
  366. ; Resource Limits ;
    ' t8 F  ?; M' w& m
  367. ;;;;;;;;;;;;;;;;;;;
    4 b! q" _: l2 L+ P

  368. ! x5 i/ F* q+ m+ B# F5 P; T& u$ z
  369. ; Maximum execution time of each script, in seconds" D4 H6 o4 Y$ `  p! e
  370. ; http://php.net/max-execution-time9 a( I: o- y: H* Y
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI$ k' f" @' u/ w7 {# o! y
  372. max_execution_time = 300
    8 z8 x6 o0 d0 i1 F9 C& V: |

  373. ' e4 K9 I0 G; T- [0 P+ m8 A
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    * `. [, n# c3 I, a, u8 w8 T
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly: K( g* c3 X& ]8 @
  376. ; long running scripts.
    + R7 j( G7 ]* D! X5 l9 \
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI: u+ C: V7 G) E! g
  378. ; Default Value: -1 (Unlimited)3 {8 l6 L$ h: a2 q* a5 l
  379. ; Development Value: 60 (60 seconds)5 S$ W  i8 L. X9 s" `' Z
  380. ; Production Value: 60 (60 seconds)+ ~/ z: ]) \, L( `6 B
  381. ; http://php.net/max-input-time
    ! V! k5 S" o& k. r
  382. max_input_time = 60
    : @# C% D% u  P% x! f
  383. 8 O- `1 j6 K: d1 N" J
  384. ; Maximum input variable nesting level" O8 F  q, P0 k% H% J
  385. ; http://php.net/max-input-nesting-level
    8 `8 `& N6 v$ O/ r5 g5 q
  386. ;max_input_nesting_level = 64! g7 r& G; }- ]7 D8 f$ ~* e

  387. - V/ X( i% x" A* A5 j
  388. ; How many GET/POST/COOKIE input variables may be accepted- _' V  t5 L& b
  389. ; max_input_vars = 1000
    6 m" M4 C6 ]6 ?
  390. - q, f2 T. a$ I2 S
  391. ; Maximum amount of memory a script may consume (128MB)
    ( ^% _- A5 u0 b5 g% S
  392. ; http://php.net/memory-limit
    ' H9 }/ V  @5 y8 w/ T8 S- n
  393. memory_limit = 128M+ M3 y$ _, m/ V2 n% ?
  394. 1 e, |# r6 Z4 Z' n; ~6 }
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    9 H. S" `5 s# E) x
  396. ; Error handling and logging ;3 X% G3 R2 ^- m. f
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    , |5 g# z1 H& N) o3 J

  398. 3 k& C) S" d$ }3 `; o% L; J
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    ! e8 \6 T, N1 p: t3 ?
  400. ; it to take action for. The recommended way of setting values for this( _1 _: F5 n# s! G  k3 p1 r. R" \
  401. ; directive is through the use of the error level constants and bitwise
    , u2 l6 Q# H  a6 ^. j" c3 U
  402. ; operators. The error level constants are below here for convenience as well as
    $ |$ t2 ?3 D) p4 A# u' W
  403. ; some common settings and their meanings.
    , H2 ]5 S: d+ T4 h, |
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    / x4 ~$ N" x& l6 g0 D6 ?
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    4 [! V7 E# X! K7 {/ H& v
  406. ; recommended coding standards in PHP. For performance reasons, this is the! M% Y9 ~0 v+ d; _# c/ C9 d( ]
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    ; _) T+ e0 a# X$ t. u- \% Q8 R
  408. ; resources complaining about best practices and coding standards. That's what" C( l$ e- x0 Q+ k. `, N6 J
  409. ; development servers and development settings are for.7 B0 w7 B4 `4 n! a& r( S* v* p
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    & W! g* M2 W; @8 [' k/ o& l( |$ E
  411. ; means it pretty much reports everything which is exactly what you want during
    9 M+ i; G, }' q1 a
  412. ; development and early testing.
    4 H. \  U7 O4 D) s
  413. ;* ~# K* B# P( R( W  J7 i$ H! X
  414. ; Error Level Constants:0 @; ?0 L8 y4 h0 x! e
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    ( x. w& j5 W3 G
  416. ; E_ERROR           - fatal run-time errors# S+ R1 w- w$ }+ z
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    4 h9 D6 ~/ ^9 U8 P9 C) e
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    + I( C1 g* X- s3 r2 V. _9 J( [7 q
  419. ; E_PARSE           - compile-time parse errors
    * \0 F. y# Y; t+ Q
  420. ; E_NOTICE          - run-time notices (these are warnings which often result- z) a) ]( Y+ o. [5 u# t
  421. ;                     from a bug in your code, but it's possible that it was
      V- V$ `" S) r) N+ h0 t
  422. ;                     intentional (e.g., using an uninitialized variable and
    ' d5 ?8 L1 e- i+ U5 ~
  423. ;                     relying on the fact it is automatically initialized to an
    ; e. P* F2 W8 W, k* n, c5 B
  424. ;                     empty string)/ d/ p. B; z" q) |
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes" N: G% u. v! [' N
  426. ;                     to your code which will ensure the best interoperability6 L  D- Q) g/ V: [* d! |# @/ p4 x
  427. ;                     and forward compatibility of your code  k8 h, z- p5 X1 G' s- n  ?
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    9 D7 J  A# k/ B5 E
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's* l6 O5 v/ e% E8 Z$ N
  430. ;                     initial startup/ ~% l& @) Z- D! T
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    ' s" o+ F( R; b: d, Q3 O9 g
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)+ [+ q5 d/ _3 x
  433. ; E_USER_ERROR      - user-generated error message& q/ f# @, s+ O& {% z
  434. ; E_USER_WARNING    - user-generated warning message' [) R5 p, K, A4 ?
  435. ; E_USER_NOTICE     - user-generated notice message
    8 Z8 z$ n, u& @
  436. ; E_DEPRECATED      - warn about code that will not work in future versions6 N/ J8 j, Z* w: ?7 L* l
  437. ;                     of PHP9 x! h, x6 [- O# P  v' n0 Z. s7 H
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    % ?3 H2 \* t; L& X
  439. ;% H7 U2 ?0 E( |, @& |6 h6 i
  440. ; Common Values:
    0 P& z4 t1 ^3 K9 R# b
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    8 v* H7 T( \4 a( e
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    $ _+ _3 T" g' h; E7 L1 _) Z
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    8 Z. e( Q& n$ F) `, B0 w5 ~0 v  n
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    ; }, C& Y( w0 }4 D
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    & ]# Q+ R& g- P+ L: G8 X* g
  446. ; Development Value: E_ALL
    + F( p! I8 B# M: f; g2 y
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    2 Z- m( S( g, {
  448. ; http://php.net/error-reporting
    ) g% m3 }; [2 \: V6 L( @
  449. error_reporting = E_ALL & ~E_NOTICE- F4 s% w* E4 E2 n

  450. & Q) D* o. l+ _2 K. U% O
  451. ; This directive controls whether or not and where PHP will output errors,* V: ~. M2 B0 t: N
  452. ; notices and warnings too. Error output is very useful during development, but
    ' S2 i! V/ ~- u
  453. ; it could be very dangerous in production environments. Depending on the code
    : s  g6 S' _* s" \4 ~- {
  454. ; which is triggering the error, sensitive information could potentially leak
    # Z- E9 d- f/ m2 Y; q) T; o& T2 S" S
  455. ; out of your application such as database usernames and passwords or worse.- K! M5 r1 ?# o5 C- O8 t: F
  456. ; For production environments, we recommend logging errors rather than
    ) e$ \/ y' F* U+ V( b
  457. ; sending them to STDOUT.
    / F1 Z; N& I3 ~5 R5 {
  458. ; Possible Values:- h0 [' M, i7 i$ A% _# c" W0 E. i
  459. ;   Off = Do not display any errors
    - {$ P  V; C3 X* I
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)2 f) F; ~( f% N0 u
  461. ;   On or stdout = Display errors to STDOUT; @% c2 v" O9 m9 i" B
  462. ; Default Value: On
    7 m" h3 Y+ b" _8 y% m. k6 R5 m* D
  463. ; Development Value: On% x4 X& Q( f) X, O/ U
  464. ; Production Value: Off+ _7 x" W$ o  N- p5 w3 f* W
  465. ; http://php.net/display-errors
    3 ?. t  t. l( M4 ]' @
  466. display_errors = On8 m  ^6 y$ I9 T8 _1 ~; C: [# d
  467. 5 P4 y' S# }, B& q
  468. ; The display of errors which occur during PHP's startup sequence are handled
    & {* U# q; N: }! G& \8 U: ~, I
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    : H3 Q8 U' Y* ^* ?% }7 ?
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    0 d8 p8 R! \& l8 o
  471. ; debugging configuration problems. We strongly recommend you; C+ d3 U$ h' s: c* S# y3 ^" z
  472. ; set this to 'off' for production servers.; D3 a6 B! W/ A
  473. ; Default Value: Off
    , f# j6 ?+ y3 h: P
  474. ; Development Value: On4 E0 c* v) a6 S" |+ _
  475. ; Production Value: Off
    3 m" F# c; B2 B
  476. ; http://php.net/display-startup-errors# ?7 M$ |7 B9 U6 n
  477. display_startup_errors = Off; \) @; [, \) K1 Q7 y
  478. ' G0 I. u6 F+ w1 a; D' l4 k. G, p
  479. ; Besides displaying errors, PHP can also log errors to locations such as a) R9 f4 l  y/ t2 Y
  480. ; server-specific log, STDERR, or a location specified by the error_log
    ; o9 F* O% k; {8 W- l6 U
  481. ; directive found below. While errors should not be displayed on productions. G6 h4 v2 {1 V) z7 S. O
  482. ; servers they should still be monitored and logging is a great way to do that.% Q9 w% ?) h( r" ^1 w+ ~* y
  483. ; Default Value: Off
    1 e5 P+ v# L2 v5 I* r* @
  484. ; Development Value: On
    ( X; p1 x3 P& d8 V' k# o
  485. ; Production Value: On
    - p& u1 L( C. Z9 F7 u
  486. ; http://php.net/log-errors, t) N1 }' ^$ O# Y, R3 |& p
  487. log_errors = On
    - E  X+ z. R/ y) |4 l2 h  W
  488. . J" O  c9 }5 r& p( }
  489. ; Set maximum length of log_errors. In error_log information about the source is4 ?: a9 G' A2 m# v' X, Z6 Q. S
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
      ?3 h: N- ]& S3 E* c
  491. ; http://php.net/log-errors-max-len
    1 m8 ]" x: e1 W
  492. log_errors_max_len = 1024; |0 r- A, D% z, A) x: r' X2 |, ]
  493. - M& n0 V9 W$ K2 z6 e) c
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    * f, F  t- S8 N+ D2 e" H
  495. ; line unless ignore_repeated_source is set true.) N, T; K: b1 f) B: M% p- y3 x
  496. ; http://php.net/ignore-repeated-errors7 L* F; Q& t1 u" v: z9 ^
  497. ignore_repeated_errors = Off
    / K# b5 |7 W* ?

  498. 1 [) o; r0 S  |( u( P
  499. ; Ignore source of message when ignoring repeated messages. When this setting' L9 F6 j  q1 x
  500. ; is On you will not log errors with repeated messages from different files or8 G" d2 b9 B. J
  501. ; source lines.3 X( _8 n5 _$ ^( @
  502. ; http://php.net/ignore-repeated-source
    + O2 \+ A- ]; e: @" r
  503. ignore_repeated_source = Off1 F! u0 O7 B" c- W, c% l8 M6 b2 q

  504. # |) C, X# G6 m- Z' U8 F7 K
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on0 f. }# h- X# Q; d% Q
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    9 w1 U- q2 x5 C4 p% x( y/ H, P
  507. ; error reporting includes E_WARNING in the allowed list
    4 y$ X9 z1 a3 d1 a0 |& Y: ?# \
  508. ; http://php.net/report-memleaks
    ; P! ^) Y( f0 w' X% E% E
  509. report_memleaks = On4 m: q: Q7 A. G( c* ~5 c( v
  510. 2 r4 Q4 G+ y2 V6 d6 f$ n1 }) L7 Y9 F
  511. ; This setting is on by default.! K  c$ B& k! ]* ]4 y0 Y
  512. ;report_zend_debug = 0
    ! D. J  q0 x# ]( W
  513.   c* B; m: _+ A8 N; u* W( C
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    & k2 f6 J7 j* q8 p$ N
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    " b8 {. n" q$ K
  516. ; however be disabled on production servers.3 B- s, j; l7 M
  517. ; Default Value: Off$ n6 y( ~- d7 m0 v/ N+ G
  518. ; Development Value: On
    4 K# ?! q& G( s  a- ]: \: @) k" y
  519. ; Production Value: Off6 M, Z. q0 Y& w3 [! |9 V8 j; Y
  520. ; http://php.net/track-errors
    ' J- y6 y& y) I8 m
  521. track_errors = Off
    5 e- p: K& O3 ?/ ~7 E* A

  522. 7 H1 y$ K0 B; b; W) j, n
  523. ; Turn off normal error reporting and emit XML-RPC error XML8 b2 F% t9 E3 E. T  _; J
  524. ; http://php.net/xmlrpc-errors* x1 n4 w( w, m3 c: ], [
  525. ;xmlrpc_errors = 08 V+ v* A& n* \. Y

  526. ) i# e8 R' S/ Y) R6 T3 I
  527. ; An XML-RPC faultCode
    ) K+ T6 A) z7 Z8 K' v. J6 a
  528. ;xmlrpc_error_number = 07 q2 @* o, U, p9 I( w9 w; e1 @% X

  529. ) n# C  }, `2 N4 g4 w! L3 L- }, n; c
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    & p7 H9 \7 h9 h. Z
  531. ; error message as HTML for easier reading. This directive controls whether
    ; v$ ~! l8 x- d1 z
  532. ; the error message is formatted as HTML or not.
    4 C# L8 U! b; s; w) Z+ l
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    6 K6 N& X( J! {. l4 E7 V2 [' u
  534. ; Default Value: On
    1 j- ]3 y+ U" N- S+ d& A& W8 U5 w
  535. ; Development Value: On2 m: a9 h9 H, J: A& J9 q
  536. ; Production value: On2 ^1 D, `% _5 g/ k
  537. ; http://php.net/html-errors
    6 ^& v6 o1 `' R& E8 A- K
  538. html_errors = On' w4 M$ _' V/ r) j" h

  539. " e+ d9 L; w& V0 x) R' {
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP+ m4 C4 i: w" m- m6 r' I
  541. ; produces clickable error messages that direct to a page describing the error
    - n' g% {4 G% p+ R  V9 G" d: J+ V
  542. ; or function causing the error in detail.# \2 E- o# y0 n" {+ \
  543. ; You can download a copy of the PHP manual from http://php.net/docs3 o  E+ W* s8 h& \4 p! G" u
  544. ; and change docref_root to the base URL of your local copy including the
    - k( w: T- \# r& u$ I8 q& o  l
  545. ; leading '/'. You must also specify the file extension being used including
    2 p) s& A0 J. {" L5 {" ~, w
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which5 y4 g- n, S, m6 ~4 c) P
  547. ; case no links to documentation are generated.: \; o: L+ V( H' {) e1 ~
  548. ; Note: Never use this feature for production boxes.
    " v$ l1 Z5 ?, t$ z8 f, B' |
  549. ; http://php.net/docref-root" f5 |$ y: h7 ]6 ^! x/ X
  550. ; Examples2 [; }/ A( L5 W, o% K  p7 z, k5 n
  551. ;docref_root = "/phpmanual/"
    ) i8 o  C7 K+ c6 _

  552. # K  ?* I- |5 A! }
  553. ; http://php.net/docref-ext
    ! s: d. K* m) I) n8 x( q
  554. ;docref_ext = .html
    & v# R2 S8 g8 j! Z0 _. `- l% J: N

  555. 0 F- R' ~5 I8 X
  556. ; String to output before an error message. PHP's default behavior is to leave
    , q( A" j1 V* \( ]- v
  557. ; this setting blank.  a( N; C" ?' R) ~& W7 I" o, ^4 J
  558. ; http://php.net/error-prepend-string
    / x9 }* X+ l0 L4 p8 c6 D7 }+ N9 W
  559. ; Example:
    & c# U, g& c+ {
  560. ;error_prepend_string = "<span style='color: #ff0000'>"+ P4 z4 ^3 p5 i. _) d3 K

  561. ; Y) k: U4 t0 |& e. x
  562. ; String to output after an error message. PHP's default behavior is to leave4 {# ]8 \! d, q2 T& |
  563. ; this setting blank.
    $ M8 C; z/ W7 s) d( z1 p, D; s9 u
  564. ; http://php.net/error-append-string
    4 W, s# b1 ~8 U8 L! o# M$ j2 \+ R
  565. ; Example:( W; I9 c& N4 d3 S* I9 q9 f" U
  566. ;error_append_string = "</span>"
    + `* B4 Q6 H1 v  Y
  567. ' ]3 a3 J, j6 d( j
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    3 t. C: a% e0 T  `. ?' @
  569. ; empty.
    ) [3 g7 H% h% }; B5 ^3 a7 d5 O
  570. ; http://php.net/error-log
    0 N0 y7 }5 }9 z; J9 q
  571. ; Example:
    + L7 A6 [" h- S9 A! l
  572. ;error_log = php_errors.log, ~2 r) V! x9 G
  573. ; Log errors to syslog (Event Log on Windows).5 H7 _: h( T2 ~  x, I
  574. ;error_log = syslog
    7 u5 e" {6 r6 L  `0 ?" g
  575. 2 q$ n) p7 {1 W4 m
  576. ;windows.show_crt_warning$ z7 G+ M# C) x
  577. ; Default value: 0. B" C# S# r, E& l7 w" F6 x' @
  578. ; Development value: 0
    * p7 N: V; f  I& w
  579. ; Production value: 0& F9 w2 E! f# _5 [: X) x7 G! a# d

  580. 0 q; K4 r  ^, O. d
  581. ;;;;;;;;;;;;;;;;;
    9 q$ E: ~% K! c8 x* @1 E/ u
  582. ; Data Handling ;9 j1 K* V0 x& [" \& G# W
  583. ;;;;;;;;;;;;;;;;;  d) f  N5 W" W2 ~% B4 ]9 @7 r

  584. 7 S( w: q- r  [2 |6 V, g
  585. ; The separator used in PHP generated URLs to separate arguments.: I8 E6 u7 u: {- z
  586. ; PHP's default setting is "&".* a( O& ^% y) z$ U3 B. D* J( Z
  587. ; http://php.net/arg-separator.output
      S# L1 x$ e% a
  588. ; Example:
    7 n( z. T) L& O$ {5 n" d5 K
  589. ;arg_separator.output = "&amp;"
    + _& ?4 E: I/ B' g! e" H5 s+ G
  590. & ]( p- _" R2 {) k/ Q( x. |+ Y
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    5 Z0 K0 `  G/ a' T" W' F: \# j+ o
  592. ; PHP's default setting is "&".* r# Y0 S/ r! l6 O1 {- ~' w) [
  593. ; NOTE: Every character in this directive is considered as separator!
    . V8 z# S) ?  J3 [
  594. ; http://php.net/arg-separator.input  }  F0 x0 G+ v, i5 J& {; o
  595. ; Example:- R0 e' h8 ^" h( i; q% H3 R0 }
  596. ;arg_separator.input = ";&"' l- h" ?9 e/ Y" r/ n) @. g
  597. : v" o2 o) [, U3 x- q% J3 F
  598. ; This directive determines which super global arrays are registered when PHP" w- s) y! w, V" f+ |* y
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    5 F  h: \/ j9 T  s7 O: }0 L. d+ Z
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty3 F4 w0 C9 S& [( g8 o6 q4 c$ y; i% {, B
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    7 q, |2 f' {) }3 N, |( e, _/ B2 F# d. o
  602. ; used as the others, ENV is not recommended on productions servers. You6 P& v. u( N9 Z+ I
  603. ; can still get access to the environment variables through getenv() should you, l( n7 Z. L1 D, Z9 z
  604. ; need to.
    " D. T/ n, G! `8 a: m
  605. ; Default Value: "EGPCS"& i- W4 P( U  o! V1 B1 B: I  ~& [
  606. ; Development Value: "GPCS"3 m5 H+ m! C  Q2 ?
  607. ; Production Value: "GPCS";6 W! ]$ n7 \* K+ F
  608. ; http://php.net/variables-order
    4 |4 W  z& L6 }/ D/ Z
  609. variables_order = "GPCS"
    . k6 ?4 l" M4 ~% u% V

  610. ! t8 L) _# {3 }4 z4 R( R/ x  C6 R
  611. ; This directive determines which super global data (G,P & C) should be1 c: B( Y9 V$ p* I
  612. ; registered into the super global array REQUEST. If so, it also determines
    5 i" N, v! V4 n' H( [
  613. ; the order in which that data is registered. The values for this directive
    . a1 \6 E9 A, q2 W, T7 x4 m( l0 t
  614. ; are specified in the same manner as the variables_order directive,
    - ~  I+ q& Y+ V. X
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    1 i  z" c2 Z" @- v
  616. ; in the variables_order directive. It does not mean it will leave the super
    6 e/ o+ {+ w' ~$ Y& p: I4 ]2 ~9 g" r
  617. ; globals array REQUEST empty./ \3 g8 I9 J$ A
  618. ; Default Value: None+ [5 s" y3 J, a/ t
  619. ; Development Value: "GP"
    7 x- Y, c" l4 t) D8 W( O" W
  620. ; Production Value: "GP") k  J/ X$ R% W4 x7 c
  621. ; http://php.net/request-order+ T8 X6 ]6 @# R+ R7 U
  622. request_order = "GP"% }; k( b5 j+ H3 O9 O# q

  623.   U/ \! `4 H7 u7 R
  624. ; This directive determines whether PHP registers $argv & $argc each time it: o. H( ~  Q0 [* {5 i4 l* j* h
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script: e0 x+ X$ @5 l* K, X) p
  626. ; is invoked. $argc contains an integer representing the number of arguments
    # C/ V" h- G8 b+ T' T8 M# n+ w- P1 A
  627. ; that were passed when the script was invoked. These arrays are extremely
    : c! _" K5 q7 w, y, p$ b/ @" @
  628. ; useful when running scripts from the command line. When this directive is, m$ |/ l8 d6 P
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    5 O+ o( [8 U6 b+ H6 o1 |
  630. ; a script is executed. For performance reasons, this feature should be disabled
    : b" c6 X3 H7 a. m% H$ `
  631. ; on production servers.
    0 i9 {) L4 |  N7 l
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
      B% G- c, N' D$ f/ ^" n
  633. ; Default Value: On# B5 ^* P6 g+ n" [; o4 @8 G
  634. ; Development Value: Off! m; U) j9 a& i9 l
  635. ; Production Value: Off% W8 N- a& d9 K  `3 }
  636. ; http://php.net/register-argc-argv
    $ ?' n. K( t2 A7 x6 Q8 ?" P: l
  637. register_argc_argv = Off) D0 p1 R8 B/ D

  638. + i' d" b4 Q7 [
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    9 O8 x. y, l! v+ w! [$ e9 }8 k* y" X
  640. ; first used (Just In Time) instead of when the script starts. If these6 F! b; j4 B( r" S, d5 h0 w
  641. ; variables are not used within a script, having this directive on will result
    $ [# F* [! H6 [% n
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled5 v9 x% x; b2 s/ e5 g
  643. ; for this directive to have any affect.+ X, `# L- w' ?- I4 R/ ^
  644. ; http://php.net/auto-globals-jit: Y, q8 p3 l  J2 B4 U
  645. auto_globals_jit = On
    : H# n2 ]% ~$ I: t. x8 b  h

  646. 7 A, J/ ?( a+ Y" U$ c5 H8 N+ B
  647. ; Whether PHP will read the POST data.% F2 [2 D% ?& _- k
  648. ; This option is enabled by default.3 m* x, a$ x; D) p$ Z
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    4 I+ Z7 X8 E  E& ~) C' n
  650. ; and $_FILES to always be empty; the only way you will be able to read the3 r5 y+ s7 b7 d
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    * ?- _7 s! d2 _, D
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    - u8 r/ a4 t$ {1 b# W0 ^; m! J
  653. ; http://php.net/enable-post-data-reading/ M, H, I" a) N! k* ]
  654. ;enable_post_data_reading = Off
    $ q/ {4 o( \; B' q1 v
  655. - E1 X. ~$ y& q! {9 Q
  656. ; Maximum size of POST data that PHP will accept.6 \. Q" w3 ]. C. z; D/ F
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    ) `) q! `6 e/ s3 V
  658. ; is disabled through enable_post_data_reading.& w) P* o. `: ~7 T* s
  659. ; http://php.net/post-max-size7 {( d  }) R- N/ b; p, o
  660. post_max_size = 50M
    $ h, @/ E3 e1 M2 P

  661. & V2 T, b$ G4 Z7 E" l& r8 S) Z* ]
  662. ; Automatically add files before PHP document.+ o) \' P% x- [
  663. ; http://php.net/auto-prepend-file
    , a3 u8 C6 L0 ]% o! D
  664. auto_prepend_file =% K. o" F* r! N1 P7 }- H9 N
  665. ; N& e; v, t5 A8 z/ }
  666. ; Automatically add files after PHP document.
    ) x' `" o$ m9 v0 \
  667. ; http://php.net/auto-append-file
    5 l0 H3 c& V/ R# m3 p/ }
  668. auto_append_file =. S2 O/ b2 x- G) N! T

  669. 5 B' c7 |/ M; G
  670. ; By default, PHP will output a media type using the Content-Type header. To
    6 h' K5 }" f: \( H0 a
  671. ; disable this, simply set it to be empty.1 E3 g. t' n( y3 X  p
  672. ;* J: D: w/ [- a8 l! P1 A1 O0 J
  673. ; PHP's built-in default media type is set to text/html.) w" e3 ]$ O2 @1 g( M; _0 i
  674. ; http://php.net/default-mimetype/ w/ Z8 J( ~# M! {
  675. default_mimetype = "text/html"
    " g0 k( i) M+ F/ ?; x$ |  C

  676.   S0 S+ ?! u; g9 I9 \  S9 @
  677. ; PHP's default character set is set to UTF-8.5 {3 \! T8 _) B$ y. E
  678. ; http://php.net/default-charset' v) z" z/ U; Q
  679. default_charset = "UTF-8"
    : ~9 a* ^7 A# K

  680. : ^6 b, i7 s& ~6 j8 c7 ^9 u1 u: d
  681. ; PHP internal character encoding is set to empty.
    ! d5 ^. W+ H, x$ E: F! @7 @2 i5 g
  682. ; If empty, default_charset is used.9 _3 j6 X3 U5 Z6 N' `
  683. ; http://php.net/internal-encoding* m1 T# d9 e# r% Z0 c/ R
  684. ;internal_encoding =
    / j8 g7 ~( E7 n9 u

  685. & r3 A7 w! ~0 P$ M2 L- ?
  686. ; PHP input character encoding is set to empty.) f1 \/ W- {* y7 G- ?8 _
  687. ; If empty, default_charset is used.  H% b: P1 V1 h# T- ]1 i" ~$ ^
  688. ; http://php.net/input-encoding# R7 I$ P- u% Q$ i: X1 y
  689. ;input_encoding =
    9 p& \! K, f3 P" g/ n* K- d
  690. / \( I, O% a) i. |4 k5 _0 r
  691. ; PHP output character encoding is set to empty.1 h" l- T3 G! }% }; ?$ K
  692. ; If empty, default_charset is used.0 a3 H2 Z& @7 C
  693. ; See also output_buffer.! _4 T5 c/ j7 X" y
  694. ; http://php.net/output-encoding6 G% K7 {* s* V$ \
  695. ;output_encoding =
    : E& L; J4 h1 F! o& J' s
  696. ; l' l  p6 ^/ u) Q: ~9 B% [2 H
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is5 V  l9 }) B/ }8 J" l! ]; t- C
  698. ; to disable this feature and it will be removed in a future version.3 \4 R, c; X9 J, a4 G
  699. ; If post reading is disabled through enable_post_data_reading,  T' l2 S3 u, q
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
      q: G! k5 _) n' W  m" e' U
  701. ; http://php.net/always-populate-raw-post-data4 @* V$ Z/ }. x5 g0 |
  702. ;always_populate_raw_post_data = -1
    9 {7 \+ N- ?6 S

  703. 3 H  H2 L$ F) ~8 [
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    & n" K0 J8 O' u: f& ]$ \% T
  705. ; Paths and Directories ;- @0 I* {6 T/ I7 m5 U
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    . b% W- U5 V/ T) i* i

  707. ; M4 H& K1 M, I
  708. ; UNIX: "/path1:/path2"
    8 }  y- Z" Y! X& _+ {! H
  709. ;include_path = ".:/php/includes"
    ! q2 N0 s9 @2 Y% k1 i
  710. ;
    8 c3 z1 N( |, k! ?4 D# W& G$ P
  711. ; Windows: "\path1;\path2"
    ) O. O9 _( L) t2 {6 W
  712. ;include_path = ".;c:\php\includes"
    ! L1 T; g6 q. a; k8 n
  713. ;
    % X; B5 B/ J  }9 v1 N
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"# g$ M% h0 {1 S
  715. ; http://php.net/include-path
    ; ~( b; y" J5 r: i5 o
  716. : c( P( |+ x) \, w' i
  717. ; The root of the PHP pages, used only if nonempty.  K5 t! E( K# j  g
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    3 F0 d, a. |& o2 G& r9 @, y
  719. ; if you are running php as a CGI under any web server (other than IIS)
    : ~& f# N9 s0 \4 f+ x3 C9 _# G
  720. ; see documentation for security issues.  The alternate is to use the
    " `6 G, F! T. |2 j' K. p
  721. ; cgi.force_redirect configuration below
    6 X8 ^, i4 U1 ^4 g# c
  722. ; http://php.net/doc-root
    9 L* T, C3 p) x
  723. doc_root =& `+ K) W' e5 S. E

  724. 5 ~" m3 i0 |9 a# W& u
  725. ; The directory under which PHP opens the script using /~username used only2 [7 g, L8 k% V! k/ }0 S
  726. ; if nonempty.
    ! u2 V# W3 R! m6 L" D
  727. ; http://php.net/user-dir
    ; B  w  V# F7 w3 j' N
  728. user_dir =( C' ^$ R9 p4 Y7 L( U
  729. + h# N! A. }/ j8 Q' h8 I
  730. ; Directory in which the loadable extensions (modules) reside.. B7 F: k  S, ~: K- b7 h3 Z
  731. ; http://php.net/extension-dir
    3 F: F( c. O6 z/ E
  732. ; extension_dir = "./"
    4 ~( K7 b& s/ ^7 _% f& d
  733. ; On windows:
    . C, A/ Q4 z' k1 ~+ q% M* `
  734. ; extension_dir = "ext"
    / D, B2 U, X+ m

  735. # Z# Y6 ~7 A9 d- T7 b1 c% V
  736. ; Directory where the temporary files should be placed.
    ! t7 O9 ?# O1 p/ j0 c! @1 [
  737. ; Defaults to the system default (see sys_get_temp_dir)1 u$ O" O" |. ], c- n
  738. ; sys_temp_dir = "/tmp"
    ! k3 y% p6 H/ H/ `& b* _4 F) R

  739. : L: e! d8 ?9 `6 V: v; q
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work! X7 A' m0 ?. R' q6 t  [6 i$ h
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically  C) _  s1 M# [* P
  742. ; disabled on them.
    : t" `1 [: K( T
  743. ; http://php.net/enable-dl6 F1 m& r1 F* J* q
  744. enable_dl = Off4 _/ P  i; W) w: O: v2 F  [
  745. 0 \! f: x. {$ _2 O9 x, @9 {* J8 k  F
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under( J8 Y% l+ M& g" o1 V7 p* k
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    : K2 j3 j' Q( k2 |1 R7 Z8 ^, w
  748. ; turn it off here AT YOUR OWN RISK2 N: w4 q; k$ T! ]9 z
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    1 I' p$ p6 W( a, C1 |6 L
  750. ; http://php.net/cgi.force-redirect
    6 y% y* i5 U! @4 L; r( r+ [9 I
  751. ;cgi.force_redirect = 14 R# @$ k# a4 Z% U3 l
  752. ! U% r6 U6 L1 R& }4 K5 O# ]
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with( I2 G! {' a0 C, D% j8 Q! F% C
  754. ; every request. PHP's default behavior is to disable this feature.
    6 b0 `  G7 q9 O9 e
  755. ;cgi.nph = 1
    8 }  F; f$ L4 I, m7 k0 G4 N
  756. 6 B9 v( [: w7 d0 E' o7 R9 q
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    ( D6 n3 ~, L' S5 I) |
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP: Z/ E7 ?  d$ F( y3 k
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    6 K& Z" A' i/ P  ?
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.3 Y$ y) r3 |! r; A
  761. ; http://php.net/cgi.redirect-status-env* X) B" U( a  k$ t. |. q; ~  y
  762. ;cgi.redirect_status_env =. |6 h" l9 q) S3 A! L$ x6 E+ A

  763. 4 d) l- E( H* j" t
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    + f. U. J- O4 P9 o
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    2 ^; Z6 R4 q3 c4 b& b0 s
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting. H8 V0 x% R: F* A! o
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    " q. A2 J9 r1 i
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    ; [. t1 C+ E; r; q
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.0 t* ]  Y$ [5 V4 w/ m& [
  770. ; http://php.net/cgi.fix-pathinfo
    * x5 B) W/ w8 n+ g* P, b
  771. cgi.fix_pathinfo=17 C' s6 o6 j# l+ t$ W8 c  q( L# u
  772. $ d/ L- Z8 q; O0 |' @0 d3 T9 t/ `
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside4 x0 y7 n6 ~/ J2 e5 O
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
      `0 m+ w: d; N, `5 M8 a' U
  775. ; http://php.net/cgi.dicard-path, O- f- G# h2 h6 F5 D% e: U. K
  776. ;cgi.discard_path=1
      D; E/ q* L, i/ Y- t" Q
  777. ! J3 M5 k$ S# o& _% T  Y
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate0 v3 I1 G1 |9 E* N0 s2 k7 U5 H
  779. ; security tokens of the calling client.  This allows IIS to define the3 C9 W" b8 B2 {( n9 A
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    * I0 l" f, X/ b% g1 V
  781. ; does not currently support this feature (03/17/2002)3 x7 o) s4 y! L6 }) e; V# F
  782. ; Set to 1 if running under IIS.  Default is zero.6 G8 N* Q% _1 }) J3 N4 U
  783. ; http://php.net/fastcgi.impersonate" ?/ G3 }6 M( ~5 s2 w* d
  784. ;fastcgi.impersonate = 19 R& Z. t: M+ d% u% A8 w
  785. ' W( ^/ a3 `3 X% m9 _
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable; y& W1 M9 r2 {
  787. ; this feature.
    2 E, v  j  g; W% j! S! c
  788. ;fastcgi.logging = 0
    7 {9 G2 [/ y8 g
  789. 3 V, V7 Q8 m1 K. h
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to$ b8 h# @: S3 a
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that4 g$ \' a. B  d1 k) r7 n
  792. ; is supported by Apache. When this option is set to 1, PHP will send- i% S4 a( C. J$ U5 M
  793. ; RFC2616 compliant header.6 Q: ~9 O( ~2 ]* W) O% f9 d
  794. ; Default is zero." G" R7 k* h% T* G1 S2 W/ Z# N8 Q% i
  795. ; http://php.net/cgi.rfc2616-headers3 z: o2 _  k9 a) W2 w& j
  796. ;cgi.rfc2616_headers = 0
    . W/ O, a4 H/ @3 g

  797. ; D. \  n4 ~% _& Y" D
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    8 i% z) w& f5 X$ |% e, U0 V
  799. ; (shebang) at the top of the running script. This line might be needed if the) G3 X5 D/ e! l  @  b4 J' k( T; @
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI2 s" E  l4 c8 B* C/ b4 P
  801. ; mode skips this line and ignores its content if this directive is turned on.3 L) P& F) [6 t5 }' w9 y+ ^
  802. ; http://php.net/cgi.check-shebang-line
    5 R& w- w! P2 U
  803. ;cgi.check_shebang_line=1
    - v/ m  R. L+ Q1 x% E) P
  804. / b  o' H6 v9 `, Q' L7 j6 G
  805. ;;;;;;;;;;;;;;;;
    - r5 g7 {4 z2 O' C# G2 I' f
  806. ; File Uploads ;
    1 ^' ^2 u7 W% D9 e% ?) M
  807. ;;;;;;;;;;;;;;;;4 [: `. o1 I9 @2 H

  808. ; D+ M- o: }( m- T/ ^! @5 K
  809. ; Whether to allow HTTP file uploads.
    ; A- c7 `+ f' a% ?0 K/ m: u0 Y# K6 R0 B8 n
  810. ; http://php.net/file-uploads
    : j1 G; B) C. S# h7 y
  811. file_uploads = On
    3 W- x2 \2 x1 N- D* f
  812. 4 K) S  G$ n' R8 W, o- f
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    ) K. X$ `" Z/ a6 T8 C
  814. ; specified)./ P) a9 U& u5 w0 ]
  815. ; http://php.net/upload-tmp-dir3 \& ^5 b* F( f5 U6 v
  816. ;upload_tmp_dir =! W( p1 A  T. S5 q* I
  817. ' K( [& V. A# w  M2 m& @  m- U
  818. ; Maximum allowed size for uploaded files.! O- n5 ?% `* P0 ~( [7 d* u6 Q) f# W
  819. ; http://php.net/upload-max-filesize  N/ ~% Q% ^( P' ?8 V
  820. upload_max_filesize = 50M! p2 G' i8 O6 d; y7 N4 S
  821. : b4 t. ~' H% b# V
  822. ; Maximum number of files that can be uploaded via a single request$ |2 D6 n8 N0 i7 m0 ?2 F8 c( l
  823. max_file_uploads = 20+ b- ~5 O# J& e) {& M
  824. ! l  Z) T. \7 `& T8 D
  825. ;;;;;;;;;;;;;;;;;;: j9 U. t) H% X' O  D
  826. ; Fopen wrappers ;
    & e. {: ?- m! [2 }* A) [
  827. ;;;;;;;;;;;;;;;;;;
    2 Y( z4 \' Y" S
  828. ; G$ `; ]0 V# i7 V6 V
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.% A' \- V* M) w; ?* o
  830. ; http://php.net/allow-url-fopen
    " \+ O0 T! W; E6 P! Z& b
  831. allow_url_fopen = On
    " r2 `! E  c; Y* v

  832. $ f+ g* y0 k# F0 m: Q3 g, a
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    $ @# T+ K8 L" ]; h; h$ N3 I, k  q
  834. ; http://php.net/allow-url-include
    2 T" D1 H3 D4 I, q6 W( W4 b
  835. allow_url_include = Off/ S8 ?( q8 n6 Z# R4 X) K. q
  836. 4 U4 e( C% e- q' a
  837. ; Define the anonymous ftp password (your email address). PHP's default setting+ y2 j( B8 a. t: D9 e; [7 C
  838. ; for this is empty.
    # W2 F, E/ }% h) l+ g, P
  839. ; http://php.net/from9 a" I) \8 i7 |6 L, f! {
  840. ;from="john@doe.com"
    7 m+ k1 A" D0 O6 }
  841. 8 k) \- ^; Q1 s# p. C2 S# i" ?3 A& h
  842. ; Define the User-Agent string. PHP's default setting for this is empty.* F; _  d9 C+ _7 |# Q+ V
  843. ; http://php.net/user-agent: B9 R  a( X9 \' F% j% d
  844. ;user_agent="PHP", j3 D8 V3 q! B4 c1 R# m

  845. 1 W7 B+ g+ U, I$ {! ?( d
  846. ; Default timeout for socket based streams (seconds). `/ B, E, w& r2 t8 r* P8 K
  847. ; http://php.net/default-socket-timeout
    4 {# a  j# E+ C
  848. default_socket_timeout = 602 K5 }2 L8 k0 p$ w+ H8 R6 j

  849. . V/ K% }3 V& r! [8 J7 K9 B
  850. ; If your scripts have to deal with files from Macintosh systems,3 k' N- Y' s: O4 f
  851. ; or you are running on a Mac and need to deal with files from
    5 c8 i+ }* c" ]  |+ v, j- l
  852. ; unix or win32 systems, setting this flag will cause PHP to/ f: K) N0 \1 A9 q& V1 y
  853. ; automatically detect the EOL character in those files so that
    4 E% }7 ^& e: z4 W7 `$ M
  854. ; fgets() and file() will work regardless of the source of the file.
    # q  E3 y9 ]. q% D  f: m* \2 S
  855. ; http://php.net/auto-detect-line-endings
    ; L$ K' j7 e2 P) q7 I  j/ F; V
  856. ;auto_detect_line_endings = Off0 F; \5 n  ?5 J2 Y% f; q
  857. : P& ?) V& L4 B) @$ F. x  C
  858. ;;;;;;;;;;;;;;;;;;;;;;9 k2 T2 z! H. r9 R4 v' ?
  859. ; Dynamic Extensions ;' C' d4 N% _& [" n. F
  860. ;;;;;;;;;;;;;;;;;;;;;;
    " A# w2 a3 c7 b& U6 _  d5 D" k

  861. . E1 r0 \; {  }8 _
  862. ; If you wish to have an extension loaded automatically, use the following( X2 |' h. N, _) ]+ a  p% f3 x
  863. ; syntax:
    ( o$ Q% E" Y% i% T6 z" R8 q
  864. ;2 k5 A6 g0 m: S5 V
  865. ;   extension=modulename.extension
    & T/ \* G, H. |* ~9 M! w
  866. ;) }1 I& j  ~7 _% b: U9 F! W9 l% N8 k& z
  867. ; For example, on Windows:
    ) S7 a; U, l; |, r2 X, g5 L
  868. ;
    2 m5 {* K) x9 c5 l! ?4 V
  869. ;   extension=msql.dll4 a" S5 h5 j% g' Q" X
  870. ;7 q: ^% e9 F6 S+ ^5 m! a6 A* m
  871. ; ... or under UNIX:, [5 @" e! a1 T8 I
  872. ;! C! S. q9 p3 ^) |/ H% h6 Z
  873. ;   extension=msql.so
    ) c  ~( d9 X$ P9 i2 M
  874. ;3 F# S' ]2 q' w: W: P: G" A# H
  875. ; ... or with a path:
    5 ~3 x* i1 t' d" N& W
  876. ;# n, ^) W8 ]. w3 w
  877. ;   extension=/path/to/extension/msql.so
    ; v6 G$ g. x/ V. Z. s2 i- o
  878. ;8 v. q7 x$ _5 E# n
  879. ; If you only provide the name of the extension, PHP will look for it in its
    1 g/ ]( u4 F  m
  880. ; default extension directory.
    $ n; D; j9 P" k
  881. ;
    3 y9 B; u1 e/ Z5 c
  882. ; Windows Extensions8 ~6 @$ V6 C) m4 e/ y- ^
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    * T: w  O; I' b# {7 ~8 ^) ?; P* G
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    ( B& c' D! z% [+ n2 Y5 n6 f
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).% ?: z" R, ^. R3 K0 u
  886. ; Be sure to appropriately set the extension_dir directive.
    , W1 U! V- g0 X* s5 Y3 {- c
  887. ;
      X. t8 f4 C: g$ P2 [. j. s/ s
  888. ;extension=php_bz2.dll
    ! l/ w) t8 h2 {8 e8 q! n
  889. ;extension=php_curl.dll: i9 U, o7 G# d; g
  890. ;extension=php_fileinfo.dll
    5 ?! G( @% R) d5 f0 W: C
  891. ;extension=php_gd2.dll
    / {/ |  _1 e# l) y& c
  892. ;extension=php_gettext.dll
    $ ?  b% {1 J. y
  893. ;extension=php_gmp.dll8 e% ~0 v+ }. x7 \+ E
  894. ;extension=php_intl.dll
    - \4 a7 @2 o# Z) a
  895. ;extension=php_imap.dll, j: T& K& {8 C
  896. ;extension=php_interbase.dll
    - @8 D6 c( `" V1 N& c( z
  897. ;extension=php_ldap.dll; G- D* u  N# q
  898. ;extension=php_mbstring.dll$ v) l! Z: \0 y, z" R4 a( G! V
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    * V- ^) K! @% N/ n0 O
  900. ;extension=php_mysql.dll
    ( @8 a2 n6 w- o
  901. ;extension=php_mysqli.dll( ^- i% i, \/ K8 p+ L/ v( m
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client/ b# D3 c$ u2 F5 e8 \
  903. ;extension=php_openssl.dll6 I! n% K4 Q# x7 S
  904. ;extension=php_pdo_firebird.dll0 S5 t4 ^- k' b" A8 F1 J" y
  905. ;extension=php_pdo_mysql.dll
    # g( V4 y( t9 H1 Y7 `: f
  906. ;extension=php_pdo_oci.dll
    % v+ I6 D- G  `1 S4 Y
  907. ;extension=php_pdo_odbc.dll
    ' M/ Y4 Q1 C- i5 K
  908. ;extension=php_pdo_pgsql.dll& K6 ]! \1 W7 v
  909. ;extension=php_pdo_sqlite.dll( m& g/ Q6 l* f* h0 x5 k
  910. ;extension=php_pgsql.dll
    ; o! `- s: G3 ?; A0 i) Q
  911. ;extension=php_shmop.dll* }& e2 y% B+ c+ x" y
  912. " F% w$ _6 w# l
  913. ; The MIBS data available in the PHP distribution must be installed.
    5 s* q! {. R0 p; S9 A
  914. ; See http://www.php.net/manual/en/snmp.installation.php * r. @# L' \9 x- J
  915. ;extension=php_snmp.dll
    & z" Q% `# [1 i" l& O5 d

  916. : l9 C- E9 `. A- F2 j1 S. X! @
  917. ;extension=php_soap.dll
    * t# B1 @' j0 \5 {4 ~: W
  918. ;extension=php_sockets.dll
    " \  ~1 ~8 O- t0 w" h+ a# D
  919. ;extension=php_sqlite3.dll3 F2 ^0 ?" ^" D! _' B0 _6 \5 O
  920. ;extension=php_sybase_ct.dll
    " W! Z3 ~9 \7 A2 a7 o3 ^# u
  921. ;extension=php_tidy.dll4 {5 k6 e0 n) C' y3 B
  922. ;extension=php_xmlrpc.dll
    ' o/ t/ B, k* }: C4 e
  923. ;extension=php_xsl.dll7 ~, N2 H2 F! a4 V. W

  924. - ]: z# G  i3 |$ y- P3 f
  925. ;;;;;;;;;;;;;;;;;;;$ y3 d" C. F: A' |$ T* z- N# Q
  926. ; Module Settings ;
    & [3 r' W1 K5 d2 l" Z$ k
  927. ;;;;;;;;;;;;;;;;;;;! O' K0 M/ _4 k3 o9 R9 r+ d
  928. + E0 M# v8 R0 x% K- l% U9 X' D0 \
  929. [CLI Server]
    # x8 Q7 u! w( M6 _$ R' u
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.! E9 s. I( j8 Y  X, T( w
  931. cli_server.color = On
    - X) E/ `! @( o  U+ a1 b5 N
  932. . W$ x  A1 s( h" M8 Y( R1 z0 D
  933. [Date]/ z) _3 T6 T0 b: \2 _- x; ]
  934. ; Defines the default timezone used by the date functions
    : b& R* A% J' ?$ ^) S$ \: o
  935. ; http://php.net/date.timezone
    0 y/ j$ S! x/ q2 ]( p( A; _
  936. date.timezone = PRC& i5 w' j: x. R, \  b4 @

  937. 1 Q! e0 h  I) Y3 ^$ h
  938. ; http://php.net/date.default-latitude
    , g$ n$ u  c. s9 N1 M+ `5 G$ A
  939. ;date.default_latitude = 31.7667: P& |* m' }! |# y* \+ [- H

  940. - `- U+ K2 Q; H0 I4 y3 W( ?% ^9 Q
  941. ; http://php.net/date.default-longitude
    ( w5 d5 `) g% Z# i8 v
  942. ;date.default_longitude = 35.2333! v: b& K: a/ ^+ _1 R  y" s2 D
  943. 9 m8 b6 N- l+ J# v8 K* A
  944. ; http://php.net/date.sunrise-zenith
    ' B% Z; n. A( a: }2 s
  945. ;date.sunrise_zenith = 90.583333
    / z; J# [6 d0 l

  946. - b, Y5 O. `: P3 v) c( c- `- d
  947. ; http://php.net/date.sunset-zenith
    ( ?- ?+ X3 [2 U! V
  948. ;date.sunset_zenith = 90.583333$ m: y$ j3 a9 x9 \- J2 F

  949. 2 S# `( C' ^( k2 w; ?8 {# f8 v0 ^
  950. [filter]) O& j2 H* L1 O0 `
  951. ; http://php.net/filter.default
    ' ?! ]& a9 Q- k5 X
  952. ;filter.default = unsafe_raw
    0 ?& @( B$ e; o- U4 Y# |
  953. ! `7 ?5 N% a; V2 r5 x, N, O! _2 B
  954. ; http://php.net/filter.default-flags
    ! r1 r5 D& \9 f1 a$ f9 j: }
  955. ;filter.default_flags =8 t9 u4 Y5 y* O0 A
  956. 2 U0 `2 X/ O' I6 r6 k
  957. [iconv]
    / h2 D! ?3 p  u) J" M+ T
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.# Q, g7 b; z- ]4 O9 h3 f
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    - O1 C  V% {5 a: i
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding1 U8 v0 v8 u6 Z1 `5 S% ?- f
  961. ;iconv.input_encoding =
    3 n% \& n. P' U. F; E

  962. - J& `/ B& i+ g5 q+ U; J2 F
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.  H/ K# d1 o9 t( f4 D; H
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.5 d+ J# S) [5 p8 [8 r% B
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    * m4 U5 t% M; G& B0 I7 N6 [& X9 {
  966. ;iconv.internal_encoding =
    7 J3 `1 g' A& u. c

  967. " l5 q& U. Z& e/ |$ P# Q
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.' E. H3 [8 I) Y: `% n4 v7 i" {
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    ' E1 I* }- V: @1 D  ?: W
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    5 b" w6 C2 q% ?' ?" v$ g7 Q
  971. ; To use an output encoding conversion, iconv's output handler must be set6 f+ P' J4 L- j- X
  972. ; otherwise output encoding conversion cannot be performed.
    9 }" ~" U9 H* U' U: s
  973. ;iconv.output_encoding =" h& P5 `3 m8 e' ]- n# }

  974. 7 A) \. r+ @& |6 F
  975. [intl]& b4 q; m$ l1 M# H1 |9 ~
  976. ;intl.default_locale =% L" e; E5 M* {1 p/ N
  977. ; This directive allows you to produce PHP errors when some error
    + X5 }3 I$ z) d$ D" B  s8 Y
  978. ; happens within intl functions. The value is the level of the error produced.
    ( ]4 {* u$ x0 B( H5 `+ F
  979. ; Default is 0, which does not produce any errors.; N: V# o7 }6 W& ~, u+ l7 j
  980. ;intl.error_level = E_WARNING4 ^! ~  @( @" Y7 W8 V
  981. ;intl.use_exceptions = 08 e( ]3 ^! z0 @% w

  982. ) _' Z& l! ]# [: o% s+ P0 _
  983. [sqlite3]
    & [; J' u1 D3 ]8 a3 X( t
  984. ;sqlite3.extension_dir =3 g# v( c7 L, F

  985. : `9 B' g, _5 E1 p5 i) h& I
  986. [Pcre]. l2 u' |4 k2 ^* k/ E# U
  987. ;PCRE library backtracking limit.* u1 d2 b+ G6 j$ R0 g- ]8 C
  988. ; http://php.net/pcre.backtrack-limit4 g- E  y! a+ m
  989. ;pcre.backtrack_limit=100000% H. h6 Z  M4 W$ `8 _4 ]. h

  990. + E- K$ e) A: c
  991. ;PCRE library recursion limit.8 r+ W6 A  }! f) o+ X2 K2 l# w
  992. ;Please note that if you set this value to a high number you may consume all
    / x% C2 ~( k( [1 t4 r8 @* B
  993. ;the available process stack and eventually crash PHP (due to reaching the- I6 R/ k$ B" z
  994. ;stack size limit imposed by the Operating System)./ r( l" c( e0 r
  995. ; http://php.net/pcre.recursion-limit
    5 B0 O) ^. o, J9 {) Y
  996. ;pcre.recursion_limit=100000
    * U: T, ]* f2 }* M- ~9 s- q
  997. ! h9 o  B( O5 v/ D
  998. [Pdo]9 o7 m& e+ Z; Q
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"5 C  M" X; p6 r8 K7 E
  1000. ; http://php.net/pdo-odbc.connection-pooling9 M0 l% k8 ~% x# E: R$ X
  1001. ;pdo_odbc.connection_pooling=strict* P% [. ~1 ]# {9 g

  1002. 9 _# w, Q7 S/ b/ b/ c: x/ U
  1003. ;pdo_odbc.db2_instance_name$ y; _8 S: L" w
  1004. . e& @) z/ ?& |: U" N
  1005. [Pdo_mysql]
    & s5 r8 @8 X# a& t, S
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache( _3 n' A- u7 N: O
  1007. ; http://php.net/pdo_mysql.cache_size2 ~6 T; Z! i; {+ i5 j
  1008. pdo_mysql.cache_size = 2000* V0 E5 j/ g7 b. r$ E1 `* [
  1009. % d8 Q% s  E. {2 \9 m
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ; Z; o& C8 Q! P+ H8 C/ W
  1011. ; MySQL defaults.
    / t4 N* ~1 L/ t
  1012. ; http://php.net/pdo_mysql.default-socket
    ( L: i1 W* v3 V# F
  1013. pdo_mysql.default_socket=
    ) s; A! ~# Z4 v

  1014. 9 f, P/ \' T( x
  1015. [Phar]3 v& ^* o7 t. p; M- o
  1016. ; http://php.net/phar.readonly: t: a2 O- r: H5 u' Q. r
  1017. ;phar.readonly = On
    + O0 f0 a& s# c, K
  1018. , f+ m; g! b& o! s1 f
  1019. ; http://php.net/phar.require-hash! V  Q  L  j$ `: Q6 t. ]( x/ p* f
  1020. ;phar.require_hash = On
    ' Q# x1 z  m  j9 Y; ^2 j
  1021. , y* U1 b1 r% o
  1022. ;phar.cache_list =
    " h) A8 `" ]: {$ {7 V, ?$ H

  1023. 2 X  b; o$ l$ ?: A
  1024. [mail function]
      |1 Q5 w% ?1 s+ x+ U1 U
  1025. ; For Win32 only.* @/ p( Z+ b: v& J. {! g
  1026. ; http://php.net/smtp
    3 |" O; G# o# k. n: I
  1027. SMTP = localhost/ E7 S! e" |5 |+ p8 z: g
  1028. ; http://php.net/smtp-port. `! }1 R  ~8 |2 @. e4 s
  1029. smtp_port = 25
    7 M) H( P! W- o1 f5 F9 i+ ?* B! y
  1030. : K0 P  z4 m: `3 @) L
  1031. ; For Win32 only.
    , n4 y' {( E5 j$ C$ y; |, s
  1032. ; http://php.net/sendmail-from
    1 T" V( Z# m1 y% F+ k
  1033. ;sendmail_from = me@example.com
    ; s# m3 e. n; t: Y2 U9 m' w5 E
  1034. ) t0 Y9 O$ g# I( Y/ a5 V" s* O% O
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").% y' x/ C0 K7 o
  1036. ; http://php.net/sendmail-path7 k1 n2 J. @+ E7 h% T1 g
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    3 O9 \# U! D% L7 R5 @/ `+ F

  1038. 9 A  A2 K0 N$ }- ^2 b
  1039. ; Force the addition of the specified parameters to be passed as extra parameters: i" w$ v6 K8 g$ P: G8 L* O
  1040. ; to the sendmail binary. These parameters will always replace the value of
    7 T* h" ]% v- b. R
  1041. ; the 5th parameter to mail().
    % }( @0 }# ?0 g8 Z0 V" X$ I
  1042. ;mail.force_extra_parameters =
    + K1 t! m7 t* [2 X6 \

  1043. 0 m1 ~6 t2 v3 N- R4 c, ]: l
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    4 S: p1 d( o' z2 z6 N" z% p
  1045. mail.add_x_header = On
    ! w! L9 V. j6 y4 T/ l
  1046. / k' i1 f5 G4 r1 [+ L  l! K
  1047. ; The path to a log file that will log all mail() calls. Log entries include  D2 M0 R! o8 F( R
  1048. ; the full path of the script, line number, To address and headers.
    $ m) \6 X5 T% E: L' f6 N
  1049. ;mail.log =
    9 e7 n2 Q( e# @* N' D8 {
  1050. ; Log mail to syslog (Event Log on Windows).) n* u' M% P4 `
  1051. ;mail.log = syslog
    ! R) c/ \+ l5 X& M' Q

  1052. ' B# U2 Z* }1 D0 l" x/ \/ T
  1053. [SQL]
    8 g- {3 t, `5 {* z/ i7 g$ O
  1054. ; http://php.net/sql.safe-mode% R# Y: j2 ]0 Z& f  w8 P# m
  1055. sql.safe_mode = Off
    $ t+ \+ R8 F; |/ g* ]/ V
  1056. 7 l* ]4 Z4 i+ T7 U/ F
  1057. [ODBC]
    * {: q" H" c5 H
  1058. ; http://php.net/odbc.default-db. W% n" `3 c& X( O% b6 Z  n
  1059. ;odbc.default_db    =  Not yet implemented
      X) z4 R$ v6 W( e7 @5 B$ {% t
  1060. 7 A9 f8 `( ~, L
  1061. ; http://php.net/odbc.default-user
    1 l; l% F$ ^% c7 d4 u' o+ s, d
  1062. ;odbc.default_user  =  Not yet implemented& j$ d. K- u2 P) x1 Z/ l

  1063. 2 d  k7 _: Y% `) k
  1064. ; http://php.net/odbc.default-pw0 {5 t9 v& j  b! |8 K$ Z  m
  1065. ;odbc.default_pw    =  Not yet implemented8 }) t) a4 y5 p7 T# Y0 x

  1066. * \  t, `9 E2 U: E8 x) F; m8 \
  1067. ; Controls the ODBC cursor model.
    ( b9 f3 N1 O4 S: a2 {
  1068. ; Default: SQL_CURSOR_STATIC (default).
    7 p- W: p. N' z0 z6 l% E1 F
  1069. ;odbc.default_cursortype, I1 b# F5 _3 [/ H# I1 }  m: Q9 N
  1070. ( u% Z) L8 n/ n" ~! A4 o  B
  1071. ; Allow or prevent persistent links.
    ) R- Y1 i1 p  [
  1072. ; http://php.net/odbc.allow-persistent
    ) S! }" |5 Y$ I" D% O3 Q( ~
  1073. odbc.allow_persistent = On' K* S# w$ x: G+ H/ c, I# F5 ]/ ]
  1074. 1 V6 N* l7 |+ M1 T& y1 y- s
  1075. ; Check that a connection is still valid before reuse.
    , N" ]) l7 G  W& W" G1 U
  1076. ; http://php.net/odbc.check-persistent' E; U. `+ m8 O& S6 t0 |
  1077. odbc.check_persistent = On, U/ G9 Z% x, F' g4 [' a

  1078. 0 \2 ]  l2 A  T# @$ `5 D
  1079. ; Maximum number of persistent links.  -1 means no limit.$ \  |) e0 |2 B3 l9 F6 X  U( v9 S
  1080. ; http://php.net/odbc.max-persistent
    ) ~$ `! Z7 ~( _, j9 j! ]$ A
  1081. odbc.max_persistent = -16 y0 n! K) U& d3 D( I- }3 w

  1082. 6 ?5 r. n  |4 \4 P3 p3 O
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    9 A2 j* u4 Z  D, ]6 k
  1084. ; http://php.net/odbc.max-links, z) j5 s1 f; x5 f- g/ I
  1085. odbc.max_links = -1
    : I( |( ^1 n" E2 c2 C

  1086. ! g- `& ~# o5 |- X2 R6 J
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    2 L. A  N( g) ?
  1088. ; passthru.; ?# L" H6 v7 [9 _+ X- q
  1089. ; http://php.net/odbc.defaultlrl
    0 x- x. e: j* [/ b
  1090. odbc.defaultlrl = 4096  A8 m" |2 K$ p  T; \% e

  1091. 9 p' F- {( o; i# c: `
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.* ]  o& z3 x3 Z7 z5 N" h7 \$ E
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation9 \( F+ q4 ^& j% o" e: ]
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode( B/ D4 [4 t) ]4 ^& d
  1095. ; http://php.net/odbc.defaultbinmode0 ?+ c/ X5 ]* ^) d
  1096. odbc.defaultbinmode = 14 @" b. W+ a9 T
  1097. % A) y! s  |5 i9 G
  1098. ;birdstep.max_links = -11 F- X6 m, y' \) W9 w
  1099. % m2 O- L& p( E  n  D* d# `7 D
  1100. [Interbase]7 A' u9 U6 S$ }  `" G. K7 h
  1101. ; Allow or prevent persistent links." {$ T5 L, X# I3 }
  1102. ibase.allow_persistent = 1) u6 ^3 |* G. u6 X3 C: u

  1103. + L1 Z7 c, C; a; `
  1104. ; Maximum number of persistent links.  -1 means no limit.
    + Y  r4 J/ p6 A' e& T
  1105. ibase.max_persistent = -1
    ! a3 T8 S* D, X5 C. a& u' `0 b- p; J
  1106. 1 {: ]8 y! ]/ b7 v
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    & a% m' G8 ~2 S! u5 l  L
  1108. ibase.max_links = -1
    0 n9 w" L* Y+ y1 ~/ `$ J8 P
  1109. * \$ i0 X! n/ R
  1110. ; Default database name for ibase_connect().
    . t, S) g4 h  L" Z+ S( j7 j
  1111. ;ibase.default_db =5 g* p" p$ s' v) v" q$ \3 \* a
  1112. ) t0 U1 A) V) c6 o
  1113. ; Default username for ibase_connect().( w4 i; _2 Q2 o. O) o# B* k
  1114. ;ibase.default_user =
    6 P+ c: P; _% p. M0 F; B
  1115. # [; P2 _( k$ M1 F) z
  1116. ; Default password for ibase_connect().: l6 [4 A% \- N0 W& ~- D
  1117. ;ibase.default_password =2 Q3 O  F  x9 d, z

  1118. / u- Q+ Z% i5 J! ~$ }1 j
  1119. ; Default charset for ibase_connect().  R3 `5 D; U  W) u% y$ T8 M$ f+ H
  1120. ;ibase.default_charset =
    / u2 _& ^* p' u/ B% M
  1121. / I$ o/ L* E$ ~
  1122. ; Default timestamp format.+ o- I9 z5 ]6 C/ v3 G
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"7 b; B4 z. C1 P
  1124. ' B5 W9 y# U' e* l
  1125. ; Default date format.  n* n( M9 e8 U! \
  1126. ibase.dateformat = "%Y-%m-%d"- U) b$ E; b" [9 g6 M3 D" m$ {  Z
  1127.   i" u% [! D2 J( r% g: U" }" J/ Q
  1128. ; Default time format.$ A- \  w' N, s5 Y. i0 t
  1129. ibase.timeformat = "%H:%M:%S"5 g5 B: c: i& {/ f% {, d# s( ?
  1130. ! }3 H+ a5 p) Y6 e, N$ T1 w
  1131. [MySQL]
    9 H+ b6 f6 ?$ G, h( u
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    $ t8 C: M" f1 ]1 K9 m, \
  1133. ; http://php.net/mysql.allow_local_infile- ^8 U- s5 M3 r  |
  1134. mysql.allow_local_infile = On
    + \; {5 A& O2 L/ S+ x- c2 s
  1135. ' ]/ C) g( v' r4 e( ]) e0 y  Z0 B
  1136. ; Allow or prevent persistent links.
    / J3 z" A# N9 ]1 h6 k
  1137. ; http://php.net/mysql.allow-persistent
    6 J; g) }$ o: F0 _2 z% k& f
  1138. mysql.allow_persistent = On
    , N' e2 ~: S* V: x8 c6 C- e

  1139. 7 w  d0 n% K+ P3 R* U" g: J: G
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache7 K- R3 o0 z& W" k+ Q" |# r
  1141. ; http://php.net/mysql.cache_size
    ( w* Y2 M' I- q/ l' I4 [
  1142. mysql.cache_size = 2000: S8 d9 w* G) y0 E! ^+ ~
  1143. 1 U. {& @' {& `
  1144. ; Maximum number of persistent links.  -1 means no limit.
    9 @# [1 v% I  G
  1145. ; http://php.net/mysql.max-persistent: F# X: R! ^% M6 N3 b
  1146. mysql.max_persistent = -14 s% H7 h" T% U4 K& o% k( \
  1147. 0 I( T1 B) E! u. P* [
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    & v5 \1 ?$ x* @% V2 K. ^
  1149. ; http://php.net/mysql.max-links
    ' u8 n% x% I, U  l1 q, ~/ I
  1150. mysql.max_links = -1
    : M/ d1 C" E) m) q
  1151.   O/ D& T" ?! W3 s) ^
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use7 E, m5 C6 C/ a) Y# y
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    + x7 [" ^5 _1 B  r! y
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look- s3 B5 y3 a& D$ k. b" v7 r' E
  1155. ; at MYSQL_PORT.
    ) a4 r) b& J0 `4 ~9 n, H3 M9 x
  1156. ; http://php.net/mysql.default-port
    : r6 V" E" s; Y/ l0 `$ z
  1157. mysql.default_port =. ]& H3 b: I0 T9 V3 o: ~
  1158. - F, J/ u" i! z7 I# w' O( X% r0 ?
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    8 f" _2 K% I7 M$ X
  1160. ; MySQL defaults.- e2 Q/ X' D9 w4 }' l; h
  1161. ; http://php.net/mysql.default-socket# K$ [8 s- K" b$ V
  1162. mysql.default_socket =
    3 ], K6 b  p8 d' V' u
  1163. $ J6 ^  l1 q: b
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).2 b9 G, q8 l4 E
  1165. ; http://php.net/mysql.default-host
    : m4 K8 |0 K# I, N1 O
  1166. mysql.default_host =  q& `% R0 d* d' K7 x$ i- L
  1167.   A0 E- M0 ?- m
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).; q" u: K+ O8 Y, Y
  1169. ; http://php.net/mysql.default-user
    ! T  s! C- m2 J
  1170. mysql.default_user =5 D! D1 Y3 }1 i8 E

  1171. & o: j% b6 a1 ~7 ~' k& a- I6 k
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).0 H* v: s2 A* o
  1173. ; Note that this is generally a *bad* idea to store passwords in this file./ l+ l: h5 s" }: Y: s
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")6 |' T) t7 d1 `8 R0 X
  1175. ; and reveal this password!  And of course, any users with read access to this( o0 P/ n2 |9 U/ Z
  1176. ; file will be able to reveal the password as well.3 b3 {- y5 |/ j9 V
  1177. ; http://php.net/mysql.default-password
    3 x2 ], v/ T4 V$ C$ W1 A) r
  1178. mysql.default_password =
    7 e7 ^2 }  Q1 T% B
  1179. : P* J& ?- d, u- {8 v7 g  M$ s
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit# Q6 v: z) W. t% R8 t, T
  1181. ; http://php.net/mysql.connect-timeout
    ! c! x7 V) i6 B
  1182. mysql.connect_timeout = 60
    8 @% w, R" @1 o! ]  {
  1183. & @% n3 g: k/ Q$ i7 H; b& ?! t
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and$ w( F4 C! t+ O- F
  1185. ; SQL-Errors will be displayed.8 R4 c- I! s* L
  1186. ; http://php.net/mysql.trace-mode# W" W; \+ Q% w# w
  1187. mysql.trace_mode = Off1 ~7 t& f7 x6 W

  1188. 2 Y( _; I+ m1 K4 a3 l9 t
  1189. [MySQLi]- z3 \4 L! N* C  R. x6 |' X

  1190. 2 q2 \! r5 ]2 O. G& r1 {; K
  1191. ; Maximum number of persistent links.  -1 means no limit.
    2 ?' W) T( U' z, M+ \9 I
  1192. ; http://php.net/mysqli.max-persistent
    + Q( B$ |* k0 _! c. ^9 v- ^; c4 P  G
  1193. mysqli.max_persistent = -1
    : R  a4 \$ h' A6 r3 e3 }

  1194. - Q) C, B' e* H  C6 \/ K* r
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    : b7 @7 t5 o5 |0 w5 ?7 `5 t
  1196. ; http://php.net/mysqli.allow_local_infile
    2 H( @  |  ]: T9 k/ }- c- Z$ f
  1197. ;mysqli.allow_local_infile = On4 ^1 K1 E- \. f
  1198. . R; s/ i  Y6 ^$ s/ D
  1199. ; Allow or prevent persistent links.0 t" K( B8 b* w! s7 F( B
  1200. ; http://php.net/mysqli.allow-persistent
      }, A7 k: m' ]4 C1 l
  1201. mysqli.allow_persistent = On
      g- [% `- }* X& c6 P" g! {; G. {& o

  1202. 5 l# c' L/ m( [! u% N
  1203. ; Maximum number of links.  -1 means no limit.2 P; r$ C* C. k' _  I. u
  1204. ; http://php.net/mysqli.max-links
    / ]6 c% E% t! H. z5 m" F( D
  1205. mysqli.max_links = -1( P2 O1 m& Q! n) G' W
  1206. : {; H, e  O) N& x" r
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache, f; Z2 U9 ]" w3 l
  1208. ; http://php.net/mysqli.cache_size
    8 }* D- B/ Q0 W8 Q3 {$ O9 S4 A8 \
  1209. mysqli.cache_size = 2000
    + N9 Y4 [) R$ y& e& N
  1210. / R8 t" J; k3 r0 {# J
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use" e0 X1 }- H; W6 {8 Q
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the% |. x$ m( c4 z1 l& L& ]
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    9 d! {+ g9 p7 Z# }: F% G
  1214. ; at MYSQL_PORT.
    ; A. G. n/ q6 A2 ~7 J. |
  1215. ; http://php.net/mysqli.default-port# p! F8 e0 W+ o" x4 c
  1216. mysqli.default_port = 33068 B# y; p* `) o# G/ u

  1217. 7 x* w3 b- _0 C
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in3 |" A8 h- I' L, s/ G
  1219. ; MySQL defaults.
    ' A5 L, ?5 l  s% p3 @) }, X
  1220. ; http://php.net/mysqli.default-socket9 O3 \! p& ~2 {1 l
  1221. mysqli.default_socket =: T( [* B0 P- j8 g, s: a
  1222. + {. @- P+ f$ d
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).! ~  a1 z$ S7 V% @& h
  1224. ; http://php.net/mysqli.default-host5 ?8 Y, r1 E+ J* c/ G7 q0 Z
  1225. mysqli.default_host =
    4 M, I8 S6 D: b- f# {

  1226. 1 l: `5 C/ ~7 E
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    2 I& Z7 a) |; g5 @% |* s1 R# y
  1228. ; http://php.net/mysqli.default-user7 B2 k0 D6 _/ S
  1229. mysqli.default_user =8 @) @8 ~; {# l) S, R, C/ u
  1230.   X1 G9 f$ L3 X  U9 `6 y/ M0 q
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    + v7 K/ J# R1 K* d. b# ~
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    2 _! ?3 A7 r% c2 n/ \
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")2 U/ r2 Z$ K& U2 _, ~, Y
  1234. ; and reveal this password!  And of course, any users with read access to this& n. t1 t; f. B5 _$ r
  1235. ; file will be able to reveal the password as well., i- J7 `6 W7 H4 I
  1236. ; http://php.net/mysqli.default-pw: x" J3 T$ y% n+ M' ~6 x6 b
  1237. mysqli.default_pw =2 W8 q1 y, p5 w' N" R

  1238. ) b6 G* Z) I5 @! z  |( c  U
  1239. ; Allow or prevent reconnect* |7 ^/ W2 z3 I) Q
  1240. mysqli.reconnect = Off
    8 c. a  U) N) c# a
  1241. $ {( D3 d6 I- _# K# q
  1242. [mysqlnd]
    1 H4 O, x; L  o" R
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    + V2 }& E  [$ c( F
  1244. ; used to tune and monitor MySQL operations.
    ; M& |+ `. j3 ^) W  f1 V+ ^
  1245. ; http://php.net/mysqlnd.collect_statistics
    / g" g6 \: t0 Q( r7 p
  1246. mysqlnd.collect_statistics = On/ e( [) ]+ d. X  h
  1247. 7 q* ~. _, ^( e) K# C. c, p1 }+ E
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    5 s; U- g7 M7 c8 Y" o
  1249. ; used to tune and monitor MySQL operations.0 ^( V* L- a7 ?; ^0 V$ m
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    0 O) c+ {4 C  C( [
  1251. mysqlnd.collect_memory_statistics = Off. i+ S: C- J$ z
  1252. 5 O, i' ~9 g( A0 [1 V* J! J
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    9 l& \% h9 a/ i/ b$ R, Q2 @
  1254. ; file.- U3 U7 j0 A# c/ M* \
  1255. ; http://php.net/mysqlnd.debug
    ! F# Y* ]7 z! R4 L3 u
  1256. ;mysqlnd.debug =. c2 x% B- F( t; U" v
  1257. $ z+ o8 a; a& R7 r, f
  1258. ; Defines which queries will be logged.- C4 r' j1 J6 K
  1259. ; http://php.net/mysqlnd.log_mask
    & k3 c0 G( Q  j" g
  1260. ;mysqlnd.log_mask = 0
    , ]  ?9 p9 Z) y3 }. ~) w' P2 }3 A8 W
  1261. 6 U. b  Z4 R, s6 W. p% K% @* O
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.2 ^8 u! V1 E4 l" m6 j3 Q8 d
  1263. ; http://php.net/mysqlnd.mempool_default_size
    # V7 V$ q# s6 {
  1264. ;mysqlnd.mempool_default_size = 16000  u% D) Z2 p& I$ e& g: N

  1265. ) g. B" M4 H" \+ y) `
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.' m1 _; w5 T6 O) Y" b9 ^
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size, O* n- g1 h8 T  j+ a+ k$ x
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    1 c6 x8 ^% A/ s, X

  1269. & A5 X6 N# ?) p
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    + ^" G5 N3 P1 p8 X
  1271. ; bytes.
    ( @3 B$ D5 g- w) i4 u+ a8 C
  1272. ; http://php.net/mysqlnd.net_read_buffer_size3 U/ J' l. I% A  B- f- c
  1273. ;mysqlnd.net_read_buffer_size = 32768
    ) A5 W9 I* G$ M4 l& E) q9 I* O

  1274. $ s& u+ p1 R2 k+ t( H
  1275. ; Timeout for network requests in seconds.
    + {& K/ Y3 {0 r* e, u9 N
  1276. ; http://php.net/mysqlnd.net_read_timeout  J' W# N8 L. L/ q$ A* j
  1277. ;mysqlnd.net_read_timeout = 31536000$ m, I! {5 c. _, i+ K" ?' [
  1278. 7 N2 O, D; K5 G  w+ i( ~3 v
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    # s8 G) _' }# n
  1280. ; key.7 P$ u0 O  S0 X/ e; A
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    6 @/ y1 ]% `! \* P9 g4 l
  1282. ;mysqlnd.sha256_server_public_key =
    " @$ Q' g/ ?2 P/ Q- U
  1283. 9 v) i# T" M: u$ W: M! n+ f" F
  1284. [OCI8]
    ( H0 ?  B8 U) K$ v! P# m

  1285. # ^! U5 v4 \: \8 L' f5 U' o+ }0 w
  1286. ; Connection: Enables privileged connections using external
    . e  z7 E4 I7 _/ C6 b# m
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    8 S, |$ h+ r. Y: B# \( {% A2 e6 U
  1288. ; http://php.net/oci8.privileged-connect
    3 l, V& y5 a5 G
  1289. ;oci8.privileged_connect = Off
    1 i$ B5 I& }, f

  1290. 1 \" x4 m& D) D- ]2 t
  1291. ; Connection: The maximum number of persistent OCI8 connections per3 ~+ t! _" J5 R8 t) S3 e
  1292. ; process. Using -1 means no limit./ r8 J8 w8 R9 ?6 @7 U3 f
  1293. ; http://php.net/oci8.max-persistent8 `, B6 b, x3 \& T5 w
  1294. ;oci8.max_persistent = -1: k% |) x& b8 D: I9 ?6 n! W

  1295. 9 j& L4 _/ z; t' f1 V4 _
  1296. ; Connection: The maximum number of seconds a process is allowed to7 b2 e8 Y* n5 {7 H, b( `
  1297. ; maintain an idle persistent connection. Using -1 means idle: y4 n) `4 b' m, O. W
  1298. ; persistent connections will be maintained forever.% y) U  Q5 W0 D+ [
  1299. ; http://php.net/oci8.persistent-timeout
    ( e8 ~0 u. {4 X) _- M. A' e: N
  1300. ;oci8.persistent_timeout = -1
    ) v$ K- y4 G0 ~" f3 `. d% g: G3 O

  1301. 5 n( S9 R, w& S  F: p/ E: D
  1302. ; Connection: The number of seconds that must pass before issuing a
    6 @9 K9 t0 h& c  L9 m. c8 w
  1303. ; ping during oci_pconnect() to check the connection validity. When4 L& D+ L. l" ]0 W7 a! _0 C
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables; S* z" L5 i) y' _" y  v# ]
  1305. ; pings completely.
      }; N: o9 ^5 Z' b: a7 R
  1306. ; http://php.net/oci8.ping-interval  \# T  E, |7 A# n4 g/ X3 ^1 g
  1307. ;oci8.ping_interval = 60. @' ^7 m! v8 d1 G% ~2 S' y. o

  1308. 9 I. a# w8 O: j/ D: G: t
  1309. ; Connection: Set this to a user chosen connection class to be used: f. {+ L% O2 y, |/ l* f
  1310. ; for all pooled server requests with Oracle 11g Database Resident& V% M4 _* |" p# l2 a; I# I( _
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to4 Y& j6 q, j) C0 F
  1312. ; the same string for all web servers running the same application,4 i2 W3 R8 z! f, `" X
  1313. ; the database pool must be configured, and the connection string must
    # b4 u! {7 y! }; G2 Y
  1314. ; specify to use a pooled server.
    ) A) t2 l( q6 u/ m% v( ]
  1315. ;oci8.connection_class =! H1 I. p7 E0 w2 x
  1316. 1 |- c" [9 c+ q. `3 f2 \0 C9 u: q8 H
  1317. ; High Availability: Using On lets PHP receive Fast Application
    8 G+ y& V1 n: R, B% }* [, k8 e
  1318. ; Notification (FAN) events generated when a database node fails. The
    & R, z% [+ s$ K. W& d; u0 D7 {
  1319. ; database must also be configured to post FAN events." @# {& x4 G/ c% ]6 w1 ?0 A
  1320. ;oci8.events = Off
    % p0 [5 B' y2 k: l# ]
  1321. ) J/ o' |0 E3 Q- j
  1322. ; Tuning: This option enables statement caching, and specifies how  b, M5 ?4 ^' _* G3 a7 v4 _
  1323. ; many statements to cache. Using 0 disables statement caching.: W" z" h  J* O5 r3 D5 e
  1324. ; http://php.net/oci8.statement-cache-size; j8 x' e9 t& @3 c2 N( N  [+ W
  1325. ;oci8.statement_cache_size = 20$ {7 {4 S  r- s

  1326. 4 u  L0 L) F2 [, O2 F
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    * \, i: I/ z) f, S$ S8 \
  1328. ; rows that will be fetched automatically after statement execution.4 A0 ?+ z- S- D+ u
  1329. ; http://php.net/oci8.default-prefetch
    ( y* H; p5 b# e
  1330. ;oci8.default_prefetch = 100
      P0 q7 F' u5 J# b$ |3 Z
  1331. . n$ X+ W* B& B+ o
  1332. ; Compatibility. Using On means oci_close() will not close4 K& W* q9 J  l; S- A( x  N
  1333. ; oci_connect() and oci_new_connect() connections.
    5 }' n/ X4 |( K
  1334. ; http://php.net/oci8.old-oci-close-semantics
    % x$ o- l, I% U" X
  1335. ;oci8.old_oci_close_semantics = Off
    6 _; [) A& ?4 u) I: v
  1336. 8 x  v% G" h1 e
  1337. [PostgreSQL]/ i+ E# |% x9 ~1 `0 E. v8 T0 x
  1338. ; Allow or prevent persistent links.
    ( e- ?% U$ e6 n+ }
  1339. ; http://php.net/pgsql.allow-persistent5 }* ]/ s+ ?. L+ Z
  1340. pgsql.allow_persistent = On6 ~% t7 e/ r) ]) _
  1341. - J6 H1 `+ P7 S5 m
  1342. ; Detect broken persistent links always with pg_pconnect().* ~. z1 y. h5 g- x% a& \
  1343. ; Auto reset feature requires a little overheads.
    ( I. [2 }  y% u; {$ P+ w) A7 D
  1344. ; http://php.net/pgsql.auto-reset-persistent
    1 k8 r  q1 r- v5 d/ D7 X
  1345. pgsql.auto_reset_persistent = Off, a& a( f( e4 I6 T6 `" N

  1346. 8 v0 t' @: M( R/ {6 f! c3 r0 p) |, Y
  1347. ; Maximum number of persistent links.  -1 means no limit.
    2 t3 ^6 D: l& m- v, p
  1348. ; http://php.net/pgsql.max-persistent
    + I  _# U0 C5 v+ @; X6 k
  1349. pgsql.max_persistent = -19 _* t0 d& b4 v& q) j3 q

  1350. $ a$ z  Y# c9 L8 j
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    * x& T/ o  j4 r, n+ O9 R  O
  1352. ; http://php.net/pgsql.max-links
    9 v6 t- w! V: |5 j5 v* x1 H
  1353. pgsql.max_links = -1
    / Z$ r$ D# t/ h7 m
  1354. ! r3 B3 |0 G3 \( |
  1355. ; Ignore PostgreSQL backends Notice message or not.( z( r5 g, n4 }+ B: J0 s7 I7 Y$ z
  1356. ; Notice message logging require a little overheads.  \5 O- R) u* F" Q
  1357. ; http://php.net/pgsql.ignore-notice
    . P+ Z' J) L9 d& }9 p( b
  1358. pgsql.ignore_notice = 03 o& l' C* ^$ ]( j
  1359. , d' T+ ^$ m) H: r) G
  1360. ; Log PostgreSQL backends Notice message or not.
    ( o' u& n7 q: S3 k# L8 s
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.; }, P# X. t1 D
  1362. ; http://php.net/pgsql.log-notice/ ^, \9 r& B4 ?% X
  1363. pgsql.log_notice = 0
    9 s  m: a, l/ n/ _0 z  S/ F8 n
  1364. / d. r$ {4 b- Y; q% {* z9 g' h2 M
  1365. [Sybase-CT]: `" j/ m% g# H" s5 j8 ^. T
  1366. ; Allow or prevent persistent links.
    ( [: F* K1 M0 c. O, D6 L1 b1 t
  1367. ; http://php.net/sybct.allow-persistent
    2 q( }. `8 k4 s: r1 N+ r
  1368. sybct.allow_persistent = On* q1 u" Q$ g0 R* I  w- S
  1369. 9 g, B( I: q) G  K, g" T
  1370. ; Maximum number of persistent links.  -1 means no limit.- h5 _7 y: ]0 b, o
  1371. ; http://php.net/sybct.max-persistent
    3 c9 {+ A$ ?6 n' k: h/ N8 l
  1372. sybct.max_persistent = -1: G$ h8 o( ~9 N
  1373. 8 q( C& T( Y( B7 S
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.' ^( J$ }( b( B2 w
  1375. ; http://php.net/sybct.max-links9 y1 B: V( A$ b* w& J5 d3 u
  1376. sybct.max_links = -1
    ( }$ N3 Z, A* x
  1377. ' s9 Q/ N! |& k" J
  1378. ; Minimum server message severity to display.4 j. k2 ?) Y8 u8 Y0 U" m
  1379. ; http://php.net/sybct.min-server-severity
    0 Y! p" k5 r; P
  1380. sybct.min_server_severity = 10. f9 x- r9 b: M9 {) `' o: y
  1381. . {& h6 Z9 `# Y1 e5 f
  1382. ; Minimum client message severity to display.& U: X- v/ n* h1 e6 A" n
  1383. ; http://php.net/sybct.min-client-severity
    , W  u# S! Q* W# v) w
  1384. sybct.min_client_severity = 10* H2 e  W& Y. P& w  |7 }3 j

  1385. ( h9 Y8 E+ ~( z' H
  1386. ; Set per-context timeout
    & W  \6 a8 r* S
  1387. ; http://php.net/sybct.timeout
    & {/ U: q: B% B1 v/ o
  1388. ;sybct.timeout=) Q( o( B1 k- s7 K6 p

  1389. " f5 p& x' B. I  w  j0 _- f2 O
  1390. ;sybct.packet_size0 Z) Q( s) z$ C
  1391. ' B; P+ h7 W# s6 x% C5 |
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.$ }+ H7 J7 v2 f
  1393. ; Default: one minute
    8 m/ I! u  }6 l& y9 v+ c. @1 o3 k
  1394. ;sybct.login_timeout=
    + n# t9 b/ J! ~) H& H* @% F

  1395. / j& U/ g, X' u" \
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    6 f3 [) K* v' g/ M/ i
  1397. ; Default: none! j4 x% @- K3 r8 y
  1398. ;sybct.hostname=
    ( l1 d# [% R% B) C  e
  1399. 3 s9 b' J: s+ H6 d, l4 e
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    4 [2 E7 Q0 z  K6 G4 x5 \$ E
  1401. ; Default: 0) t" q. d' D7 X  [( a
  1402. ;sybct.deadlock_retry_count=
    9 N* L0 t/ r+ a$ W% x' h& m
  1403. ) S4 m, K% R) K0 V/ s2 \' L
  1404. [bcmath]
    1 }" g; \; {7 `% c# I2 T" _
  1405. ; Number of decimal digits for all bcmath functions.9 |5 A/ ~0 M) }, d: M+ Z
  1406. ; http://php.net/bcmath.scale
    . U3 E) h6 b8 Q, \
  1407. bcmath.scale = 00 r) o" }5 G1 ~( k

  1408. 6 a1 H5 t. T( e' ~, b. B' Z
  1409. [browscap]% f+ o& n/ K5 V8 c6 s3 c
  1410. ; http://php.net/browscap
    9 K% U. G" D* q- `) I* O& C
  1411. ;browscap = extra/browscap.ini8 [: ]: S6 o4 i2 ~

  1412. ( `% Q% W0 X* w! p1 W, n  h; e
  1413. [Session]
    ' T# O9 g8 W4 A/ N4 ]
  1414. ; Handler used to store/retrieve data.
    ' |+ [+ g+ `, _' m
  1415. ; http://php.net/session.save-handler
    ) L& h- W' G( R; H0 q
  1416. session.save_handler = files
    - {2 o7 n. M: q" c: j. ]2 r: U; t3 c

  1417. / o5 W9 B) K8 z
  1418. ; Argument passed to save_handler.  In the case of files, this is the path$ W0 z7 Z" P8 ^, M7 R' f  C
  1419. ; where data files are stored. Note: Windows users have to change this
    3 f: F! e) D+ k2 F5 \( I% U8 T
  1420. ; variable in order to use PHP's session functions.
    ! _' x2 ]4 P0 g$ R, F! F1 q+ m
  1421. ;
    & W3 K: y% v) J. R. v1 C
  1422. ; The path can be defined as:* d/ E0 l" E, o6 |; w/ X' V
  1423. ;$ z+ `" s. P4 r6 T
  1424. ;     session.save_path = "N;/path"
      q) T4 C/ H' t$ g* h; W; N% f
  1425. ;$ h' m* V/ Q# t* b4 V
  1426. ; where N is an integer.  Instead of storing all the session files in
    9 v5 ~- P9 h8 i( U% b4 Y9 K
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    $ Q% v" ~) E+ |2 o6 m
  1428. ; store the session data in those directories.  This is useful if. H. ]! J- ?/ Y5 i" V
  1429. ; your OS has problems with many files in one directory, and is
    " ]' u: @' i: G# I  Y' O' [, A; k0 C
  1430. ; a more efficient layout for servers that handle many sessions.; V" X. z4 R- m  s
  1431. ;
    6 t0 J9 C( F. ^% L8 {' i
  1432. ; NOTE 1: PHP will not create this directory structure automatically.: y6 L, u# k% y- A
  1433. ;         You can use the script in the ext/session dir for that purpose.
    1 V/ T" A; G- G5 K4 q8 ]
  1434. ; NOTE 2: See the section on garbage collection below if you choose to, |. h" ]/ X4 ^, f! @3 |
  1435. ;         use subdirectories for session storage6 M$ U- B! K  ^
  1436. ;
    $ S8 w6 |2 d, d! ^" }, V
  1437. ; The file storage module creates files using mode 600 by default.
    ' e+ M/ ~" ]" N& L( M4 ~
  1438. ; You can change that by using
    2 Y1 I4 `3 U/ I/ u1 N4 l- Y
  1439. ;
    & ~+ F! e3 A' c' f3 o2 y4 A
  1440. ;     session.save_path = "N;MODE;/path"
    ( K3 M: k- r6 [/ |& V6 ~
  1441. ;
    & \/ a0 n$ O8 ]9 m  B* C2 F
  1442. ; where MODE is the octal representation of the mode. Note that this4 M+ \' x0 ]" K$ F2 o, o- A
  1443. ; does not overwrite the process's umask.+ X( z: ]0 r) Z0 O7 n9 Q
  1444. ; http://php.net/session.save-path
    & o$ C: z& c" i. }+ k4 x/ j
  1445. ;session.save_path = "/tmp"
    3 a- }1 k& \1 \8 `
  1446. 1 i4 ^. y* e: ^; f. ]1 R
  1447. ; Whether to use strict session mode./ {' P% u6 n/ t5 {9 h1 z, Q- X
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    7 m# |3 y! Q; {
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects* }0 J, [$ t; L$ w
  1450. ; applications from session fixation via session adoption vulnerability. It is( H2 A3 a  l) {
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    ! V0 w  A3 {" t$ Z8 v% d9 D
  1452. ; https://wiki.php.net/rfc/strict_sessions
    * t' h" M2 \7 R2 l3 A
  1453. session.use_strict_mode = 0
    0 a$ Z, b- _0 T* U+ f6 E0 j

  1454. ! `3 A' h5 a; q% j4 h6 R9 x
  1455. ; Whether to use cookies.
    ) e3 m2 {  V& h1 z) N/ {7 s
  1456. ; http://php.net/session.use-cookies
    7 ^' J5 O) ^2 G
  1457. session.use_cookies = 16 t$ X$ `, n! o: k
  1458. * {5 k. n5 Y. X
  1459. ; http://php.net/session.cookie-secure, I8 u" M9 G" t/ X9 G" _8 |
  1460. ;session.cookie_secure =
    9 N! |# o! F5 X2 ~" t
  1461. 1 F* v" Y8 }' ~2 G; G0 k
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining2 p  _+ a/ C; r) j; m' P
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    " F( M! U$ i" X. R/ _$ h6 `0 b
  1464. ; session hijacking when not specifying and managing your own session id. It is
    / I6 ~# }* a) w& c; c
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start./ k. `: n: p3 \# |) m$ Z* Q0 r. D: s7 f
  1466. ; http://php.net/session.use-only-cookies
    ! z- M9 e& C4 Y2 f+ z
  1467. session.use_only_cookies = 16 Y! \7 n/ |1 A
  1468. * |. a& G" m: Z) U
  1469. ; Name of the session (used as cookie name).
    # q  X; o7 n4 B8 C8 E  |7 {
  1470. ; http://php.net/session.name# r( p  W: q( e' V% X, B1 ~2 x
  1471. session.name = PHPSESSID
    ( K6 H# E6 R' c7 g* q6 s% H& c
  1472. 6 D  m- f: b1 D
  1473. ; Initialize session on request startup.
    % G" U4 U& `0 V" K
  1474. ; http://php.net/session.auto-start
    6 r0 k# e, g0 N+ F( y- d
  1475. session.auto_start = 0
    % W* H7 x' a! Z5 I% M

  1476. 2 U( _0 Q$ n7 t( K& E
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.) ?  s- ^4 ~8 e" _4 R
  1478. ; http://php.net/session.cookie-lifetime' q! T  O) a9 Z3 w" T0 f
  1479. session.cookie_lifetime = 0
    ! Z/ c9 Q- X% l

  1480. % b: e, F# c% G8 X+ y9 J8 w
  1481. ; The path for which the cookie is valid.
    : h, d; F7 V$ p& U. M$ L
  1482. ; http://php.net/session.cookie-path* F5 J0 ], S5 D+ u
  1483. session.cookie_path = /
    & O" k  Y: _$ Q
  1484. ) l" ~5 l  s- Y6 W  _6 P
  1485. ; The domain for which the cookie is valid.
    - A% C; K) r$ u4 E6 V
  1486. ; http://php.net/session.cookie-domain
      r, J# e! j% P
  1487. session.cookie_domain =
    . B2 G; E% }/ g  o3 M
  1488. , s& C1 S( i& v
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    9 ~. ]( m& G/ ]% B+ ]
  1490. ; http://php.net/session.cookie-httponly* ?1 @/ H1 A% t# b. p, N: ?9 Q/ `
  1491. session.cookie_httponly =
    4 u7 x, m8 p4 m6 D9 \: }* m6 l
  1492. 1 z* _' ?0 b4 l* p" X) W* ]
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.. a/ {$ n5 g/ X- E: R. D; T
  1494. ; http://php.net/session.serialize-handler
    : l5 H1 V- ~$ r2 t9 p7 H8 c
  1495. session.serialize_handler = php) s0 a2 g2 i/ t) I8 F

  1496. 5 j3 ?" ~- `* H7 r
  1497. ; Defines the probability that the 'garbage collection' process is started* ^/ T% b8 ]8 E( m* B7 ~) e3 s+ C
  1498. ; on every session initialization. The probability is calculated by using
    7 |& w& E4 }" o. f
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator% U5 ^' N6 |$ s1 F2 c" ^3 l7 ~
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    % S7 `2 g' J; M! q& W4 j/ P
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    5 n+ O2 Z( |8 p
  1502. ; the gc will run on any give request.* D: U" y* r% x
  1503. ; Default Value: 1! E+ b6 S. e; d7 p& B0 T2 Q
  1504. ; Development Value: 1  S% D! ^+ b1 O  y% z6 U
  1505. ; Production Value: 1' r  S* J' _- t
  1506. ; http://php.net/session.gc-probability/ |7 B! J- N( L# g1 h& O/ I: g$ }
  1507. session.gc_probability = 18 {; j7 }9 I2 i1 ]6 t0 H& e

  1508. + G/ F  J: r* B4 j; c6 e
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    & S' ~+ F5 O2 _8 X, y7 u
  1510. ; session initialization. The probability is calculated by using the following equation:5 o6 z, [; I/ k; d' V8 ]4 ]" a4 g
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and' F$ P  O9 l' i3 D4 w% U: J
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1! q% N# t1 Y" ~
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    . ^/ C: _& B. s5 T: Q* N$ m$ u
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    1 C2 t( P5 p) `; G
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,( D3 X; L: o7 s+ K, N. k0 r
  1516. ; this is a more efficient approach.+ ^5 g* i6 ~/ ]" I2 d( m& a
  1517. ; Default Value: 100
    8 y( v7 T& M# k+ u" p% l) j* Y
  1518. ; Development Value: 1000% r* d9 X! V, O; I+ X3 o
  1519. ; Production Value: 10003 `1 {. |1 V* ^& [& @+ s
  1520. ; http://php.net/session.gc-divisor2 S' ]/ B3 _- D
  1521. session.gc_divisor = 1000  h! c% b* A( T( T

  1522. 7 T# ], W4 f1 Z, _0 L
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    1 {1 f0 ~% Y) p+ Z1 Y
  1524. ; cleaned up by the garbage collection process./ H+ w3 `5 Q4 C" }) `  A" u
  1525. ; http://php.net/session.gc-maxlifetime
    8 n. C* G; l$ l
  1526. session.gc_maxlifetime = 1440: l3 o1 G# A+ ?- ?: s: w/ W
  1527. ) z" l* C- g  H/ l2 R
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    6 E/ d- X' l# c) b$ Z+ ^1 V/ o3 F  U' r
  1529. ;       (see session.save_path above), then garbage collection does *not*6 J% L7 b6 R2 z1 s
  1530. ;       happen automatically.  You will need to do your own garbage5 }1 `( ]# w2 W$ G# [! p
  1531. ;       collection through a shell script, cron entry, or some other method./ p5 C5 C  B* i- m9 G* x
  1532. ;       For example, the following script would is the equivalent of
    % ]+ P/ z  p3 {5 d2 O
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):" ?; h. _  W- V8 t7 k* V
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm- f  R' s4 g5 k" g

  1535. : f9 n* f9 l; Z9 z+ S2 G- G7 ?
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    # B% B1 M6 Z3 T% W8 s( b
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    4 A0 P, H: M( A( H9 [. B9 L
  1538. ; considered as valid.
    ! L6 f  w0 s* D: S
  1539. ; http://php.net/session.referer-check0 G5 D$ N) D, G) R& {' w' m& r0 F2 ^( ?
  1540. session.referer_check =  h* |/ t0 t, O& t5 Q: B* r+ h
  1541. # M9 K2 i, i8 b" h- _. ]5 W
  1542. ; How many bytes to read from the file.
    3 k) o( r. B" E7 z& I) ^
  1543. ; http://php.net/session.entropy-length
    ' }( ]+ y5 U/ r; l8 I
  1544. ;session.entropy_length = 322 [( h8 c0 {+ S. p9 K
  1545. 0 u6 u) r0 b2 o' S
  1546. ; Specified here to create the session id.
    ( N/ U0 D* R$ o8 Z1 A4 g& `
  1547. ; http://php.net/session.entropy-file( r1 f/ Z) u5 f! y0 u( i  R
  1548. ; Defaults to /dev/urandom. x: ]- Y% I: G1 z8 B6 z( a
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom$ N( n. Q+ z; W# f7 y" s) ?) _
  1550. ; If neither are found at compile time, the default is no entropy file.
    0 S9 u" [8 y$ E4 c  c! J
  1551. ; On windows, setting the entropy_length setting will activate the
    ) J( I4 p" A  L; n/ z/ T
  1552. ; Windows random source (using the CryptoAPI)
    ; T( i, N; ]# v' N( Q) r
  1553. ;session.entropy_file = /dev/urandom
    * }' z( ^* \; i# t1 Z6 O5 v- C8 c, f
  1554. . Z6 N0 l) `5 j
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects& H, H% O: T% Q0 P
  1556. ; or leave this empty to avoid sending anti-caching headers.
    8 U3 M- `6 M- A* B4 A7 K9 V9 A/ p7 A
  1557. ; http://php.net/session.cache-limiter' I9 m2 x1 w# V/ Y
  1558. session.cache_limiter = nocache
    * x  J! W: F9 L/ t* O4 m6 _

  1559. & B# r" d* T" E- n/ X
  1560. ; Document expires after n minutes.  u  [! g: E4 p" a; r& Z
  1561. ; http://php.net/session.cache-expire
    4 w+ |" b9 g/ l, Q
  1562. session.cache_expire = 180
    + L1 B" Q& S6 J. J' Y0 h
  1563. * v- i; o) i0 j( a7 C
  1564. ; trans sid support is disabled by default.: D) E& d0 I) P$ K- k$ t5 ?
  1565. ; Use of trans sid may risk your users' security.2 _4 E" {$ s. n6 \4 x, j, \
  1566. ; Use this option with caution.5 D: |& H: ?9 _1 |( ^; H: {% @7 w
  1567. ; - User may send URL contains active session ID& y, b( N& d0 h2 u
  1568. ;   to other person via. email/irc/etc.+ u# B) B6 h/ `7 Y
  1569. ; - URL that contains active session ID may be stored
    - P- V8 c% @& M! D% D9 w  l) Y5 b
  1570. ;   in publicly accessible computer.$ ?& G  `$ n1 F% ~+ A. T
  1571. ; - User may access your site with the same session ID! n7 Y; J( E: I6 a0 I: o, `; h' d1 X
  1572. ;   always using URL stored in browser's history or bookmarks.
    . U4 F% W' G- f
  1573. ; http://php.net/session.use-trans-sid
    . U6 R/ X, x  w% X9 b
  1574. session.use_trans_sid = 0
    , g5 \$ i2 U: q  I, l5 g+ j% C
  1575. / D& r5 H) b8 S( u2 g
  1576. ; Select a hash function for use in generating session ids.
    : r2 |# J- `4 U
  1577. ; Possible Values
    " D; _+ k* {+ @1 g" L* `5 _
  1578. ;   0  (MD5 128 bits)& e2 n2 i$ p0 ^
  1579. ;   1  (SHA-1 160 bits)
    + P! B& \6 x) U9 y8 H. K
  1580. ; This option may also be set to the name of any hash function supported by2 S: s" e9 y: C2 g2 B# ]/ h) Q
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    & [# f  h8 a' w( U: ?# o- Y7 b% F, t; N
  1582. ; function.6 z1 Z# U: N& ^' C) W
  1583. ; http://php.net/session.hash-function
    * ~. u1 X6 X& S6 T' o' e
  1584. session.hash_function = 04 S* O9 f+ u* h4 @+ u
  1585. ) j! a  i2 m" S: G  Y* X, V
  1586. ; Define how many bits are stored in each character when converting8 v0 s; K2 r$ }4 L) q
  1587. ; the binary hash data to something readable.
    + w" Z' \1 @. U
  1588. ; Possible values:, C0 B- ?3 I" W' x% o6 w
  1589. ;   4  (4 bits: 0-9, a-f)$ R3 H3 ?- Z- z( _! ]
  1590. ;   5  (5 bits: 0-9, a-v)9 C( C2 V& z+ Y
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ","); d; a. {) v& r" A( C' |
  1592. ; Default Value: 42 j' C) Y- l7 N7 P3 h. O; M
  1593. ; Development Value: 5
      i* k: N: G( D' p! J( m9 E* j! O2 z
  1594. ; Production Value: 5+ o$ P3 |' f* E& P  c" w( y* C
  1595. ; http://php.net/session.hash-bits-per-character+ H  p& }: u9 e- l9 R% K
  1596. session.hash_bits_per_character = 5
    , V- M6 [) r' l3 X/ w& r8 C1 Z

  1597. * j4 w& K9 F; u
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    / x9 Z2 x* j# J5 }+ h4 \* Z! O
  1599. ; form/fieldset are special; if you include them here, the rewriter will) P: T" e! U- J1 D4 D' f# W
  1600. ; add a hidden <input> field with the info which is otherwise appended
    3 }) q( R# S" {6 |% J
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.- H' ]; N/ x' _  w
  1602. ; Note that all valid entries require a "=", even if no value follows.
    , b, @+ B6 I9 G; R$ A7 X2 _  `4 c
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="$ l  j6 q" }8 {% V+ {% f$ d( y' v7 c
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    9 |! K% x8 j- G5 d  s
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"& e! z+ s1 Y5 Z7 w8 b! ]. `7 P: t
  1606. ; http://php.net/url-rewriter.tags9 ?5 A: m/ ~6 m0 F9 j+ @
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    0 N/ |1 R0 g. m- G) ~5 ?) b  o( E

  1608. % T, i6 v, n. F6 `
  1609. ; Enable upload progress tracking in $_SESSION
    5 E/ x- I$ R) L" `8 L
  1610. ; Default Value: On# _& ]8 u) u4 S7 E: @* l
  1611. ; Development Value: On
    0 Q5 T' R! U# ]% E) N
  1612. ; Production Value: On
    5 u1 {# P1 l9 v! p
  1613. ; http://php.net/session.upload-progress.enabled# K0 _0 j8 a+ p0 n$ q
  1614. ;session.upload_progress.enabled = On
    + {9 p0 B6 N' p9 G" G& B9 v

  1615. & ^4 d9 @9 E" L  @
  1616. ; Cleanup the progress information as soon as all POST data has been read  r$ D, t2 m) n4 g- p' ~9 P
  1617. ; (i.e. upload completed).
    - Z/ `( J1 c+ m7 m
  1618. ; Default Value: On/ B# E; }8 j( n* I7 b% z: f! \
  1619. ; Development Value: On
    - e8 a3 }% E3 o5 `6 O5 [
  1620. ; Production Value: On
    " f, e3 k* T& y
  1621. ; http://php.net/session.upload-progress.cleanup
    0 n0 ]2 o: d( S  ?* N  Y4 o; B9 N5 M
  1622. ;session.upload_progress.cleanup = On  y$ b3 }, _# q
  1623. 9 w% A' K! e, V/ m. U. F, Q
  1624. ; A prefix used for the upload progress key in $_SESSION" S. O; {; w2 X" h0 T, K/ ]
  1625. ; Default Value: "upload_progress_"/ s) w% r$ ~+ o7 D) B/ Y: I& Q9 V2 X
  1626. ; Development Value: "upload_progress_"$ x* n1 ^# L3 j5 S" X  @& J8 F) J
  1627. ; Production Value: "upload_progress_"( b! N+ {) h7 T9 Y/ K$ D
  1628. ; http://php.net/session.upload-progress.prefix2 e- h3 [: g7 y. |
  1629. ;session.upload_progress.prefix = "upload_progress_". D" H' q* K: l  {/ q: G

  1630. ; u9 y4 A' g6 {' a
  1631. ; The index name (concatenated with the prefix) in $_SESSION; S; z3 W8 B: ^4 t0 A! Q/ I2 B
  1632. ; containing the upload progress information% T9 u0 _( w+ q! C( i
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"8 C9 p3 S$ Q& w  N
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"& |6 v  _3 ^% _$ M  \
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    8 [# W0 u4 {$ L/ \6 B
  1636. ; http://php.net/session.upload-progress.name' b# n2 k: K: O+ G+ K# U! l
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    % Y! J  H. ?& J9 {0 u

  1638. 2 n" C2 K! w6 l* g" e* T
  1639. ; How frequently the upload progress should be updated.- B7 ?/ ]6 F5 h# M/ Y/ R
  1640. ; Given either in percentages (per-file), or in bytes  E2 C% d2 D; ?% F" z$ _& R5 u
  1641. ; Default Value: "1%"$ Q2 D% ^7 l- f1 h5 T, D
  1642. ; Development Value: "1%"8 I6 u2 I/ @# K: s" R* E: ]
  1643. ; Production Value: "1%", {3 ^/ I) P' F0 l) @4 P, ?5 F
  1644. ; http://php.net/session.upload-progress.freq
    - \& {/ p( x! T- y1 M( i
  1645. ;session.upload_progress.freq =  "1%"
    0 X3 N1 v3 [3 Q8 _" q5 v7 T/ q

  1646. 4 ~( T; F2 f6 _8 i) m) ~
  1647. ; The minimum delay between updates, in seconds
    ) q8 d" k$ Y3 k# \, o! w
  1648. ; Default Value: 1" B8 A! |' D. l- V3 T8 F
  1649. ; Development Value: 1
    " q# h3 e$ e. n6 D6 ~3 x/ ~: u
  1650. ; Production Value: 1$ ]" d* ^) a) }+ L
  1651. ; http://php.net/session.upload-progress.min-freq
    , h) z; F7 l; T: ?! U) y2 j
  1652. ;session.upload_progress.min_freq = "1"
    ( D$ E9 s3 @6 T

  1653. ! p- ~0 y5 ^- `
  1654. [MSSQL]) A; z- Z7 b" x' k
  1655. ; Allow or prevent persistent links.
    ! g$ H/ x1 Y. b* h6 a; {& l
  1656. mssql.allow_persistent = On
    6 ]5 F- W8 Y8 {  q1 z# j7 C- |
  1657. 9 ~3 F! r) v" H$ R& e) n6 e+ D$ I* `
  1658. ; Maximum number of persistent links.  -1 means no limit.8 [* t% x: O/ p* V4 H0 u& n/ Y2 ^
  1659. mssql.max_persistent = -1- y: c' G! `& q( U& s

  1660. . }, `! {- ?; x1 G6 C8 x8 i7 S
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    3 }- V5 D$ S4 V' W; T3 _
  1662. mssql.max_links = -14 a) Y8 v, n' _7 Y; Q1 n" J* d7 c4 C0 N
  1663. % I- ^8 N, ~, M  F
  1664. ; Minimum error severity to display.
    - o9 V1 d: H1 T# k0 ^/ P
  1665. mssql.min_error_severity = 10
    ( a/ G  \5 c3 N' Y" \1 o: d

  1666. 9 F% L$ N0 N( u5 t
  1667. ; Minimum message severity to display.; X5 Y2 Z- t; j4 }  X2 |. `& K
  1668. mssql.min_message_severity = 104 u' o6 ~$ J  \6 T* ?9 \$ j9 I) ]
  1669. : ?& K6 S+ I' R6 ?1 Y+ B4 E) I- |( a) N- M
  1670. ; Compatibility mode with old versions of PHP 3.0.
    4 X( J6 u# r, G! d% f8 H
  1671. mssql.compatibility_mode = Off
    6 p) T) g0 E2 N
  1672. 1 e; \5 t) T0 I! j) n2 i
  1673. ; Connect timeout
    ) r# c/ h6 b: H2 s. @
  1674. ;mssql.connect_timeout = 5
    . ^# b/ ?3 E& ^5 D( P

  1675. 7 w* y& D4 X5 f8 I4 g$ j
  1676. ; Query timeout
    * W) y# m) B) j9 ^; T  _. c+ d# @9 c
  1677. ;mssql.timeout = 60
    & w/ X6 }/ e/ G0 i

  1678. 7 V' v' T, z; E5 s
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    8 V) ]) V- U8 Y  i/ I# t0 [) J$ e' h
  1680. ;mssql.textlimit = 4096
    * L% X7 g+ K# R  X" J/ p9 c2 s

  1681. ' F+ |& A4 Z8 C* `
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    " }' q. K$ W( d* n. Q; J
  1683. ;mssql.textsize = 4096  R) m' d: t. h4 M8 H
  1684. + f1 C* [3 ?4 V' z6 y! B+ v9 o" Q
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.. |; H& d) ?/ {$ J2 R0 i
  1686. ;mssql.batchsize = 0+ B3 P  m8 k7 w1 P: E
  1687. * E6 E. }7 w# O4 Z" |" G
  1688. ; Specify how datetime and datetim4 columns are returned$ a- H- E0 N) ^( i8 S
  1689. ; On => Returns data converted to SQL server settings
    & Y0 q$ l; J4 T, x
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss# E  q3 \( ]2 x2 ]# Z
  1691. ;mssql.datetimeconvert = On
    ( Q$ e- p& O" }4 w* o* \/ a$ q

  1692. - r$ y" a  d( _+ |7 g* q
  1693. ; Use NT authentication when connecting to the server" P" g$ N2 O# F
  1694. mssql.secure_connection = Off) N# ]( y- A# H% j/ a* T/ d% `
  1695. 2 Q& Q( D) t5 ^
  1696. ; Specify max number of processes. -1 = library default+ `- F/ v6 Y* m
  1697. ; msdlib defaults to 257 M+ H# R  Q1 T( L( Z$ t7 `* u, |% Q: T
  1698. ; FreeTDS defaults to 4096
    4 V& U: x6 F, G; ^) T
  1699. ;mssql.max_procs = -1
    ( G7 f; F7 k; X# N2 J1 w
  1700. ' ]  H5 m  p+ {
  1701. ; Specify client character set.9 A- Q5 h" g/ q8 G- J+ D
  1702. ; If empty or not set the client charset from freetds.conf is used2 j" G$ n, K- V3 `- ?6 L/ e) _
  1703. ; This is only used when compiled with FreeTDS
    7 s; j( h8 W1 m6 T$ a5 _
  1704. ;mssql.charset = "ISO-8859-1"1 z% d0 Y  q; [2 W3 Z- y" x- F
  1705. & P( S0 l7 |( @2 d2 d( ^% j
  1706. [Assertion]+ h" T8 M& M: }; K- q4 F
  1707. ; Assert(expr); active by default.
    * _6 K/ J; S  a' m
  1708. ; http://php.net/assert.active; r$ B1 w! |- ?# F& ]- f, b4 y
  1709. ;assert.active = On
    , S. ~6 O& m9 N5 I( `3 ^
  1710. . T5 h* e: E; F5 h/ H
  1711. ; Issue a PHP warning for each failed assertion.
    # i# M3 a, o, }0 p6 \: C, C# h
  1712. ; http://php.net/assert.warning
      R# ^. ]6 O( m9 K
  1713. ;assert.warning = On# T5 j6 K/ Q1 K$ p, c  G

  1714. ; i( b# y2 H) O
  1715. ; Don't bail out by default.
    3 _6 ^* I% j" o
  1716. ; http://php.net/assert.bail  m4 M1 |! b, p
  1717. ;assert.bail = Off; Y9 @" }' Q0 e, A
  1718. # u  k: X. |# N. R7 r
  1719. ; User-function to be called if an assertion fails.  A) n6 }' p+ e' k/ J8 L$ }) m/ n
  1720. ; http://php.net/assert.callback
    ) i( U$ U$ b  q- I" Q: q2 A5 r
  1721. ;assert.callback = 0
    $ q# B. u) c$ @; ^

  1722. 6 l! ~8 M4 s' J6 A* B0 H
  1723. ; Eval the expression with current error_reporting().  Set to true if you want3 s6 q" [8 a& U% L0 R3 s& I. S
  1724. ; error_reporting(0) around the eval().' U" L9 P* j! Q
  1725. ; http://php.net/assert.quiet-eval% j; N) s) H% t+ n8 U1 _
  1726. ;assert.quiet_eval = 0
    5 M/ `+ j& @& Y: a2 c6 O" n

  1727. ( Q. O- F; E4 \
  1728. [COM]
    5 p3 h7 c4 B3 T7 f' [
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs4 d* Q$ l: P0 \( ]( o9 o6 }& N2 R
  1730. ; http://php.net/com.typelib-file8 ~4 D) I+ F' B  m
  1731. ;com.typelib_file =
    % o- b5 c9 |- B8 d! T
  1732. / O: U* Y' v5 c) L* u
  1733. ; allow Distributed-COM calls
    8 \/ v- b# I" V5 g: T
  1734. ; http://php.net/com.allow-dcom
    ) M. |0 e/ h0 j. U
  1735. ;com.allow_dcom = true4 r3 b0 P8 r* p& ^! p) X0 F

  1736. 2 E1 q: H$ R# s& ~4 o
  1737. ; autoregister constants of a components typlib on com_load()! y6 e: b! ?: z* G
  1738. ; http://php.net/com.autoregister-typelib! u3 y1 k3 ^$ w8 M4 a
  1739. ;com.autoregister_typelib = true
    $ ^5 I* G5 ^# H1 e
  1740. 0 N; g7 g+ y' O7 N' J
  1741. ; register constants casesensitive- p2 c# M& O6 j; a+ D2 a1 U
  1742. ; http://php.net/com.autoregister-casesensitive
    0 k, A  R' X9 R+ W, R" t
  1743. ;com.autoregister_casesensitive = false, E4 ]3 ~& H% i' w% Y4 ?

  1744. - J5 F# u# ^' `8 M7 V
  1745. ; show warnings on duplicate constant registrations9 \: o% T. E; U* g' u
  1746. ; http://php.net/com.autoregister-verbose
    ( ?1 R7 B/ g' D" m& C9 c% [
  1747. ;com.autoregister_verbose = true6 Y) Y" z, j& t+ i
  1748. . Q/ m, O, R2 Z0 U0 N
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    * O; Y+ w9 g4 ~& n! `6 G
  1750. ; Default: system ANSI code page; P/ }, L& b- P, g7 W7 f' T) l2 h
  1751. ;com.code_page=
    " \! x. @5 R9 L, Q
  1752. 0 I, R! v) ^5 p, r" T
  1753. [mbstring]
    ) x7 t1 d: t9 k' f; i
  1754. ; language for internal character representation.8 v8 U! X  ~! p$ P; Y- E9 R8 P1 U
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    - u: |. L2 T$ ?; w; y! P2 O
  1756. ; http://php.net/mbstring.language6 H! P# R2 r. [
  1757. ;mbstring.language = Japanese
    + ^0 |/ i7 o! d$ d; j9 R# X2 {5 x
  1758. ( z4 {7 N- z/ E4 T! Y, F
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    7 j* s0 e$ \* }5 T3 a( f! T
  1760. ; internal/script encoding.% j; H4 _( W; y0 Z: p* a; `
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)" ^7 ^' N1 Y% @( ]% J# S7 Q# Y
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.4 \6 u; J8 j9 }8 V0 j
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding+ S- w) ~0 z+ G: q% ]3 G0 E* w
  1764. ;mbstring.internal_encoding =( X6 o8 m0 T8 B! w' X; {" j) ~
  1765. % V: i- S6 `/ ?. R5 W$ H
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    ! W8 q: y: R9 S# E
  1767. ; http input encoding.( O' N1 n8 b! r+ q9 H' d1 N0 m
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    1 U% o/ Z7 I" e( F1 ^
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.: l7 K  t+ T) B
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input% N  Y5 G/ @, L4 T% Q
  1771. ; http://php.net/mbstring.http-input* i/ o7 I, h6 R
  1772. ;mbstring.http_input =% |( b4 H! M# w6 r7 _& A* D& h

  1773. * ~5 V% B  h( x0 o- D9 I
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead./ C- h; \* J% o) M
  1775. ; http output encoding.. ?) d$ E% Q( [3 f$ P- b9 O( J
  1776. ; mb_output_handler must be registered as output buffer to function.
    1 d# w8 ~8 a( o- k  |4 b$ A, {$ o+ q
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    1 a+ @! e; z4 Y
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output! V. W* g( q& S0 k
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    3 q+ c' L" e' U
  1780. ; otherwise output encoding conversion cannot be performed.; `1 Z! E+ o2 H) n7 A+ J
  1781. ; http://php.net/mbstring.http-output
    # m* d7 j% j- I) @' U# ?! v
  1782. ;mbstring.http_output =* t0 S; F/ ?& e  A) w3 K. v

  1783. ; u+ a' X# J6 @* w) }( H/ f
  1784. ; enable automatic encoding translation according to  V0 I# m4 g* l
  1785. ; mbstring.internal_encoding setting. Input chars are
    + \/ D( Z1 Z6 Y
  1786. ; converted to internal encoding by setting this to On.$ i3 w, _% `; F# k* u
  1787. ; Note: Do _not_ use automatic encoding translation for
    - f# H2 n4 h! o) r
  1788. ;       portable libs/applications.1 Y% F& N2 z% _- ?/ P( z- h( C
  1789. ; http://php.net/mbstring.encoding-translation
    * K$ S- b2 P! U. C4 e2 f) V) E
  1790. ;mbstring.encoding_translation = Off
    6 T" y2 V6 L# }6 s

  1791. $ x3 W( X: b7 o  I
  1792. ; automatic encoding detection order.8 B5 h/ ]5 M( ?9 c
  1793. ; "auto" detect order is changed according to mbstring.language
    " W4 K4 A4 e) S* |* o3 q
  1794. ; http://php.net/mbstring.detect-order
    5 F6 @. e1 t. Q# D* U
  1795. ;mbstring.detect_order = auto" {% X" x! X1 {4 `: |4 D1 h/ C

  1796. ( L; P* f% g; x% F' v" S* Y
  1797. ; substitute_character used when character cannot be converted
    $ x1 e6 O) I) E8 {0 ^% o. M
  1798. ; one from another
    3 o0 V7 ]& h! m+ u( a. v
  1799. ; http://php.net/mbstring.substitute-character
    ; q4 A) U* @$ }; [& `; y
  1800. ;mbstring.substitute_character = none
    7 R4 y: g* [8 t2 B3 P
  1801. : p' h0 A- {/ K2 D. F% Q* Z  K# R8 T
  1802. ; overload(replace) single byte functions by mbstring functions.
    : f! d( Z/ s. O, O" A
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    ! O& V! d; E  i
  1804. ; etc. Possible values are 0,1,2,4 or combination of them., B; ]# y% T6 e7 N
  1805. ; For example, 7 for overload everything.
    6 U$ D. q$ r! G9 l- {+ |! W4 o$ N* j
  1806. ; 0: No overload2 y7 K& y; W2 A: O( Z( `1 D& s
  1807. ; 1: Overload mail() function3 G: b+ l6 S$ H5 D5 D9 M, B7 N/ ]1 W
  1808. ; 2: Overload str*() functions
    8 d5 V5 H1 X3 s, E/ C5 H
  1809. ; 4: Overload ereg*() functions
    , t2 P- L9 T9 l8 j) ]; ^
  1810. ; http://php.net/mbstring.func-overload
    0 @) K/ i% C- p4 B' Z: Z
  1811. ;mbstring.func_overload = 0
    ( k( i* Z+ ^2 A: d

  1812. ; G9 H. x/ A0 w
  1813. ; enable strict encoding detection.
    ! Y% c& e7 r9 H( j$ S! ~$ x- R$ }
  1814. ; Default: Off8 T0 Z2 Z2 }# w* b$ M
  1815. ;mbstring.strict_detection = On8 m+ Q5 g! P0 R( ^' ?# ~4 x9 |

  1816. , |( Z2 G. [# n* _5 z* }4 w$ a7 H& D
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    3 h& z" [* K, o) V! n" A8 K
  1818. ; is activated.
    ' `2 n( w  V/ [4 E0 q, X
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)  z/ }  e3 t1 ^6 C0 V
  1820. ;mbstring.http_output_conv_mimetype=5 w+ h  b+ @" ~" k; c

  1821. 1 M; C! g' c. x! T( q" `
  1822. [gd]
    8 R( C  }; }7 @6 l/ @
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    6 o$ d3 I. _2 j# l) J- Z9 A  C/ n: N
  1824. ; a gd image. The warning will then be displayed as notices8 I# K* G  \5 w& E9 Y6 }" J
  1825. ; disabled by default3 P; c& e* g% Y6 F( J" c' h; }
  1826. ; http://php.net/gd.jpeg-ignore-warning
    7 K5 G+ a7 ^# x2 s7 {
  1827. ;gd.jpeg_ignore_warning = 0. z: n# O9 X: L: f* l' ~$ h

  1828. 8 O# y( r% y& a/ A0 o: S/ R4 s% L
  1829. [exif]. e) `: d- S" Z/ E/ C& Y) k$ I
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.9 d+ d5 g/ E7 C" R* n- c
  1831. ; With mbstring support this will automatically be converted into the encoding0 D) {$ M- ^2 \0 Z5 v  |4 y
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
      A7 b% c: @/ n+ ?% s6 e
  1833. ; is used. For the decode settings you can distinguish between motorola and
    5 F3 Z: w! w& E
  1834. ; intel byte order. A decode setting cannot be empty.
    $ w* R5 [% Y" `8 |
  1835. ; http://php.net/exif.encode-unicode; L5 |) \5 y- r& ]8 \  R4 e( K" H
  1836. ;exif.encode_unicode = ISO-8859-15
    , [$ I8 h- c" q) [
  1837. ( C! c5 [" ^8 Q- d7 d9 b8 B
  1838. ; http://php.net/exif.decode-unicode-motorola/ f' q) R1 B* {1 [* g
  1839. ;exif.decode_unicode_motorola = UCS-2BE
      r4 Y5 R8 D$ Z2 ^  W

  1840. , l( w2 b7 ~6 q5 B0 o  O
  1841. ; http://php.net/exif.decode-unicode-intel  ?0 E" {0 j% v1 l  S" W
  1842. ;exif.decode_unicode_intel    = UCS-2LE& D& Q/ m: n; d. x5 x  N
  1843. $ E0 w0 x& L9 O" f( A
  1844. ; http://php.net/exif.encode-jis
    # o+ T( g5 f3 G, X
  1845. ;exif.encode_jis =
    ) |, H8 {4 E4 j+ W
  1846. / C7 s8 Q, u& j9 j5 m
  1847. ; http://php.net/exif.decode-jis-motorola8 `, s* Q5 e, P4 P( S% K
  1848. ;exif.decode_jis_motorola = JIS
    . M+ P8 z1 c8 W/ b$ K

  1849. , R2 W, h3 T( ], H: L
  1850. ; http://php.net/exif.decode-jis-intel' F, g7 X$ ]& r1 X8 H" ]) b  n+ G+ k
  1851. ;exif.decode_jis_intel    = JIS
    4 k: m4 O* B. `: t

  1852. / G8 d7 I, _6 R3 A! ]% {, Q
  1853. [Tidy]3 @/ B/ T; T9 e7 T4 x( [5 V
  1854. ; The path to a default tidy configuration file to use when using tidy0 F. M8 C' `; U7 H1 @% ]- I/ B# [. N
  1855. ; http://php.net/tidy.default-config
    6 d7 E' t( g8 J
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    6 o: G0 @: Z* r; m) \/ o1 L% L

  1857. 6 M2 {- v+ d3 h7 M
  1858. ; Should tidy clean and repair output automatically?2 ~7 Q3 }  _. `' a9 L
  1859. ; WARNING: Do not use this option if you are generating non-html content) T- |0 y& D. T+ {6 B
  1860. ; such as dynamic images
    8 p, {" ?, M* {4 N1 y" m
  1861. ; http://php.net/tidy.clean-output
    : Y2 T" x  L0 m) q& l3 t& t! U6 j
  1862. tidy.clean_output = Off" V" D8 d+ W5 s) T8 Z- N
  1863. - L0 [# x% s) h8 P% R. Y
  1864. [soap]& t, q1 l2 L- T
  1865. ; Enables or disables WSDL caching feature.! T2 |: |- J  z7 D/ y% y, `
  1866. ; http://php.net/soap.wsdl-cache-enabled/ h% d; E8 K& `! P
  1867. soap.wsdl_cache_enabled=11 F) s' q' C" B6 N& G
  1868. 2 K4 w! O2 H( `, V, ~* l
  1869. ; Sets the directory name where SOAP extension will put cache files.
    : Z) q; ]: \5 g5 N( K: e9 b, f( d
  1870. ; http://php.net/soap.wsdl-cache-dir; p  [3 K, d: N& a! E1 Y# y( c" f
  1871. soap.wsdl_cache_dir="/tmp"
    1 J$ W  B' ]4 }8 R1 p8 T! m( H
  1872. + V6 A8 L; h! E+ q/ w
  1873. ; (time to live) Sets the number of second while cached file will be used
    + Y0 u* Y; S2 B& S" q
  1874. ; instead of original one.' m  D) G! ~# y& j( N  K. `/ R
  1875. ; http://php.net/soap.wsdl-cache-ttl
    ( O$ B; P8 R( u( L+ w
  1876. soap.wsdl_cache_ttl=86400% y5 p/ K( [! Y9 b

  1877. . x3 p$ Q+ G# n6 v' v9 k% G, i
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    ; ^: j* q) a- A, K# Z, m- E: D& Z
  1879. soap.wsdl_cache_limit = 5
    0 f+ u; U2 f6 p: W- c3 b* ^4 a  i
  1880. 4 A5 `: L6 ]( K) e: p9 [
  1881. [sysvshm]
    % x/ y/ j  U% ^, d. e' |
  1882. ; A default size of the shared memory segment
    1 G9 O% X; X: _" j7 T- u2 i* H
  1883. ;sysvshm.init_mem = 10000
    % Y9 Z# z3 ~7 \+ v: r( Y
  1884. ) g2 q2 z# Y7 ]! f" ~, p- c* ^( w
  1885. [ldap]
    $ H: [) }$ V* t; r
  1886. ; Sets the maximum number of open links or -1 for unlimited.0 e5 [1 m7 W6 }) T
  1887. ldap.max_links = -1
    + U3 R* W4 P# g- N! t2 ^% [

  1888. 5 Z2 a: ]* [- Q1 a* E* ^# M0 @
  1889. [mcrypt]
    4 |0 k0 ~2 y: u+ O) `* ^6 u
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open8 Z: V* {" W& c
  1891. : E9 ^2 \% `7 Q6 S: x2 v. Z% ]
  1892. ; Directory where to load mcrypt algorithms
    + X  J7 W. x# ?% }
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    + O/ M4 a( _/ {
  1894. ;mcrypt.algorithms_dir=. I0 p, r9 s+ W5 q# J* z5 C
  1895. - [. b; z: a7 l7 C2 ?, D; Y7 `
  1896. ; Directory where to load mcrypt modes. J% g' C) {* U* D, b3 D) `2 s, m, i
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    3 [' ^" k1 f6 K- a' ~$ z! x
  1898. ;mcrypt.modes_dir=; A6 @. W; L+ C+ [  P

  1899. 8 i6 x% L7 m4 T9 e
  1900. [dba]* Q* T7 |$ o1 t  d
  1901. ;dba.default_handler=# c5 L4 n; w3 R8 f) R! y/ L/ t" q+ b
  1902. 5 u% v8 M3 l: p  b! W" z& w
  1903. [opcache]
      _' h# m  J5 R7 ~
  1904. ; Determines if Zend OPCache is enabled
    % P" P0 w- K2 n  e
  1905. ;opcache.enable=0
    & g4 w; n; }, w3 @
  1906. : L( s6 d- d- V9 l- z
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP1 K1 ~% C# u. R7 y+ _& r) X
  1908. ;opcache.enable_cli=0+ C, G3 u# q. |

  1909. 5 H& ~* n* Y$ Q3 M  l
  1910. ; The OPcache shared memory storage size.  ^( h# j- Z& h1 o. I' \8 u" ~5 W
  1911. ;opcache.memory_consumption=64& I* R0 l+ L) o* k! M6 I8 [

  1912. ( C& T& B6 Q6 T1 P$ V0 I% ?- e
  1913. ; The amount of memory for interned strings in Mbytes.
    / Q$ U- A" `, W' d% K6 d
  1914. ;opcache.interned_strings_buffer=4
    9 V+ V  ]7 U. v& f8 V

  1915. 4 W5 p) n: m) Z
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.# O, ?; p4 O8 U) m3 f% O
  1917. ; Only numbers between 200 and 100000 are allowed.; h: u2 h1 e6 e8 R
  1918. ;opcache.max_accelerated_files=20005 m4 n6 k! ~1 @( s: q& W! T
  1919. + M  b+ e  G$ k' [
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled., ~& q" k  w+ V$ f- a
  1921. ;opcache.max_wasted_percentage=5) o" }5 N6 A. ~9 c* E  l! t

  1922. & ?9 F- {6 n& ~$ s& ^# E" S
  1923. ; When this directive is enabled, the OPcache appends the current working$ M  r- t. o9 R4 X! U/ q
  1924. ; directory to the script key, thus eliminating possible collisions between
    ' O4 f6 J5 Z0 g' S( n7 j, f$ e8 _
  1925. ; files with the same name (basename). Disabling the directive improves' i1 i% q5 {* l$ B9 g; B3 {/ E( b$ O
  1926. ; performance, but may break existing applications." f' o; \* G+ Q: b3 t5 u
  1927. ;opcache.use_cwd=1
    / C1 _2 l3 ^& h
  1928. ' N- d1 C1 V6 J4 \7 o  _
  1929. ; When disabled, you must reset the OPcache manually or restart the( n& B! p. H) `! X/ t
  1930. ; webserver for changes to the filesystem to take effect.1 K3 T' p, ~) A/ X3 G" K
  1931. ;opcache.validate_timestamps=1
    : h7 {5 S- `, r- t, L) u7 D: p+ r
  1932. 4 a# K2 j- \  s) f! B
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    + |( h4 I9 u0 N" o) o1 G5 I& w
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    , B, B* c# m- O8 x  V: f
  1935. ; once per request. "0" means always validate): Y$ ?. q( V" x+ w  `6 I
  1936. ;opcache.revalidate_freq=2
      I: p$ T5 g& H6 N3 b7 S
  1937. " q( z; j7 d9 ^2 u; }# ~  w( g
  1938. ; Enables or disables file search in include_path optimization
    , M$ L+ T' p8 b* }
  1939. ;opcache.revalidate_path=0; P; r5 ?3 q# ^. E+ E0 J3 V3 c) h2 [
  1940. 6 ~  ?6 \7 g* N) ?3 r; |1 z
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the1 _2 V) R0 d# e( d, N* x
  1942. ; size of the optimized code.: R: E, o) J) V0 c6 `
  1943. ;opcache.save_comments=1+ l* C3 F$ K  M" D0 D

  1944. + c$ T, x$ U$ U, m+ E) f: `
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    8 z/ @/ K6 J2 s, I7 ~! u% H$ _: c
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    ; G1 e1 L) u( `- m/ w4 A9 m% R
  1947. ; that don't need them anyway.6 S' G( f, P3 \0 `  S: N
  1948. ;opcache.load_comments=1. b0 {' N. I& u0 e  ?8 \
  1949. . K5 x3 c9 E9 e0 C% p3 I: ]' C
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    ! V) O3 r. Z4 \6 M3 {' V2 g
  1951. ;opcache.fast_shutdown=0
    ; a; ~- s! A( B! q1 G5 G
  1952. * A# W' G9 a% b
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    1 |9 j, y8 t9 e3 V* L, D- X$ g% `
  1954. ;opcache.enable_file_override=0+ h; G; s5 ]% V9 N: z
  1955. 9 w' h3 I0 s3 i' L: z
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    ! \8 S& s3 x" }; r0 J% B
  1957. ; passes$ f3 x9 U& V1 N' }" r; I$ Z" o
  1958. ;opcache.optimization_level=0xffffffff# x. e( z2 S  i0 M* g  t' p, b
  1959. 1 t4 M- @; o3 k% |  l* G
  1960. ;opcache.inherited_hack=1; f/ N3 L+ d, d( _
  1961. ;opcache.dups_fix=0
    & ?( V5 m- d7 |$ q9 C, t& c

  1962. - Y: R: v  p& N2 K! g* w
  1963. ; The location of the OPcache blacklist file (wildcards allowed).5 i  Y8 _: w! T  Z# `
  1964. ; Each OPcache blacklist file is a text file that holds the names of files3 i4 O- q* g% k7 {1 C
  1965. ; that should not be accelerated. The file format is to add each filename
    3 c6 {1 o7 O/ S) H7 q4 G" e
  1966. ; to a new line. The filename may be a full path or just a file prefix
    0 w# k% P- k2 D: c1 v$ `5 E
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www! ?! E1 X* ^( t* Q4 V  k
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    ) \& X$ k4 k) V! z. T
  1969. ;opcache.blacklist_filename=
    : u$ y' O0 N. f% P# B: u' E  _

  1970. * f9 Q9 B' ^6 _
  1971. ; Allows exclusion of large files from being cached. By default all files& N* {& P  r6 @: e/ S. b) P
  1972. ; are cached.
    , k- \- W/ ]. x, z& A* m
  1973. ;opcache.max_file_size=0* d6 L* V: G8 V, j$ t+ z  v& g2 P

  1974. 5 r' n3 o. W& ]( J$ j
  1975. ; Check the cache checksum each N requests., P4 s  C$ q! p' T
  1976. ; The default value of "0" means that the checks are disabled.
    1 Y3 _7 ^  l3 W( A
  1977. ;opcache.consistency_checks=0! z9 u# G. i( W8 x
  1978. 4 E; R$ h! G1 a! s
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache2 _- b4 V! F- Y6 E! m2 P; @
  1980. ; is not being accessed.( @: _! K5 P2 y* R6 e- M
  1981. ;opcache.force_restart_timeout=180/ J# o8 k! r: R  U

  1982. 7 j" }) ?2 r) q8 I
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    1 a- n/ {5 a4 g# e2 y( Q
  1984. ;opcache.error_log=  x2 B7 B' w7 z6 `
  1985. ' J1 P& ^' U6 g, J! D& x  d: Q
  1986. ; All OPcache errors go to the Web server log.
    $ I, r; R+ x$ K4 X0 G7 w. B
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.3 I. L( f! T: f/ X0 t
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    : a' R& j' o: F- K: e, z! Z
  1989. ; debug messages (level 4).
    4 b! S8 `) p+ l/ j/ M, b6 B
  1990. ;opcache.log_verbosity_level=1" T2 i/ a/ i) ^- S3 e+ U

  1991. 5 n0 C; O! \/ \- ~+ z
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.% `( D' Y9 F$ E$ k9 I) M
  1993. ;opcache.preferred_memory_model=4 p8 l/ J3 r8 A! V' P% ~9 `

  1994. $ n' M7 f" O2 T% h5 w, D
  1995. ; Protect the shared memory from unexpected writing during script execution.
    % Q% I6 U' G  g
  1996. ; Useful for internal debugging only.
    $ W3 {/ R( L4 @, _, a; M
  1997. ;opcache.protect_memory=0
    # Y( d3 b6 W; H

  1998. 5 r1 Y8 t! g3 k; Q  g
  1999. ; Validate cached file permissions.7 ?5 s! [* c: b# W
  2000. ; opcache.validate_permission=03 s& c! q4 s  e3 u6 X2 ^3 f% x9 E

  2001. : ?% \* p5 h4 p5 `2 S( M+ O1 R
  2002. ; Prevent name collisions in chroot'ed environment.
    , n% F& H9 n" q; b7 d
  2003. ; opcache.validate_root=0
    1 C5 a8 T( @: [( H

  2004. - f  P# ]# |, ?$ E
  2005. [curl]
    $ D. i. I, \9 e* a( F2 s* E6 R+ O
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    / u5 [' n9 {8 Y: G% T4 S
  2007. ; absolute path.% N! m: j3 J& w$ E' R" e6 _  W" A" M
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt* T; ?1 h4 Z/ B6 L5 c  D( q
  2009. % i! a9 j0 O8 b9 a* _- d
  2010. [openssl]. F9 s$ K& F0 ^7 [0 t: o' W
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem( N" E  H0 f4 M: g8 a3 |9 q
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should; y+ Y+ m2 [: ?# J. Z9 ^
  2013. ; not specify a value for this directive as PHP will attempt to use the
    ) O& U7 M3 B# y2 O9 E0 b# t  S0 U: H
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    9 }# l1 W; d. J0 ?" ~: c* N! ~- X
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    . d+ x' v$ f: d
  2016. ; option.
    3 v2 b7 ~3 ?3 N8 v
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    ! `3 o6 u" d0 e# A! D( A/ k
  2018. : }4 T% {8 b9 T( y: l
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the. [- p; i6 S2 p& [& k
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    & j+ w/ h1 B' f) Q0 z! X, W
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    % Z9 k, l( ?. |1 h+ Z2 P
  2022. ; Most users should not specify a value for this directive as PHP will
    * ?- P& g0 i+ d
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,9 k  @/ }& i$ Q9 n* G4 i
  2024. ; this value may still be overridden on a per-stream basis via the "capath"$ Q  F6 L# {* m1 V! p0 F
  2025. ; SSL stream context option.
    1 h- A7 a9 g2 a6 B( }
  2026. ;openssl.capath=
    ! ?, A" E. |8 M) }8 a6 l5 p/ N! ~

  2027. 4 P5 s. Q7 M6 t9 S
  2028. ; Local Variables:* h, ]) W) r. x7 o4 n- M) Q
  2029. ; tab-width: 4
    0 s2 C7 ^" d7 _+ Y: G
  2030. ; End:5 V  L4 o; A$ x' b
  2031. $ {0 X+ {4 @  v: v  }* K" \" n
  2032. ;eaccelerator1 ^. |$ o& @/ t: a1 c) m1 r! `* t  ~
  2033. - a& w0 V2 a0 x9 d6 [' ?' A1 [
  2034. ;ionCube1 L: {& G+ U! q; \6 t
  2035. 7 j' [0 c( n3 z
  2036. ;opcache( Z+ G8 r! V2 S* c5 z5 H3 p

  2037. ! X$ \. N/ w; Y# w- n$ }, Y0 {
  2038. [Zend ZendGuard Loader]! _/ h! V% m- K/ X* E
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    ' O6 I- b( H2 g2 o- ^& E
  2040. zend_loader.enable=1
    8 C! l- n( h, R: r
  2041. zend_loader.disable_licensing=03 F1 B* r- v) Y& ~! `* g( L
  2042. zend_loader.obfuscation_level_support=3
    $ s3 O7 F( T1 i4 Z8 z$ s$ }+ O
  2043. zend_loader.license_path=
    7 l: T. ]% f. ^. Q# A6 m) j& u

  2044. ) X0 k* E' b, J1 g+ ?/ a) S
  2045. ;xcache
    ; S9 Y8 t: N/ e

  2046. % q; t" R+ M3 c7 j" R
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692! a  @/ \, A' n7 v- x. ~4 M

# j' w8 r* W/ m5 s: ^- p) E4 {7 H8 v" }* k2 B5 c
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
( i1 R. \  w# k$ O
* @" J! q% @, b. e! R7 sDiscuz!程序版本选择:
" `+ g8 m( j7 M! c站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,+ W/ W! W+ X) l* c0 y, E9 n
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
& b- n9 j( }2 \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。3 g' P1 u$ J- k7 f# B1 Y' B1 |, t

5 `  l5 b; E6 q6 R2 b- qDiscuz!插件模板版本选择:
- ]( q9 K3 k3 b0 `* F  C: m很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
- Y6 S' r# G' R% t. U; u针对这个问题做个统一的普及:
. g# Q% g7 J9 c$ L+ G* `X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
% J* s1 q% h( h* c$ \6 \6 F0 b! D0 u( L+ ]3 t/ s& j; D" e3 I# ?
所以
! W# [' R. i1 `. H" W适合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的二级域名。5 d$ K" Z& M- r# B; G
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。0 C5 ]/ h/ f7 R' _& w7 S3 ?/ J, g: t- `
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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