分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
* p+ X6 P; [0 p. o& ]! Y
) f- n) K  x5 v8 l+ e. {0 C
  1. [PHP]
    # W) Q2 r2 J1 m$ E# w* ?, Q
  2. $ b; ?5 M0 O$ y
  3. ;;;;;;;;;;;;;;;;;;;/ s0 g8 S& h$ L, I/ z7 W, m
  4. ; About php.ini   ;
    " s, _: S, N  \, H' N/ X2 c1 x, f" \
  5. ;;;;;;;;;;;;;;;;;;;7 _! F: W1 v0 ^9 H- j
  6. ; PHP's initialization file, generally called php.ini, is responsible for2 V% K1 J' p0 |
  7. ; configuring many of the aspects of PHP's behavior., p1 }3 n# T6 a9 N) @% T8 v& ~

  8. - s% D3 V* G- D% m: G- \- ~8 _4 z
  9. ; PHP attempts to find and load this configuration from a number of locations.
    # U3 V1 }* w7 B# I; h
  10. ; The following is a summary of its search order:- T% ]( O1 z5 t, h2 k. O' p% z- a
  11. ; 1. SAPI module specific location.$ z1 \1 O) n" ]. L8 t$ M+ `, D
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    0 H* h5 {. e; T0 B5 v
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    4 Q5 B3 Y6 A7 n& h8 k; e
  14. ; 4. Current working directory (except CLI)8 X. Y% I) d6 m+ g8 z7 j6 G9 j% J
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    / g2 a! I1 H$ s
  16. ; (otherwise in Windows)
    0 k# W; J* M" i
  17. ; 6. The directory from the --with-config-file-path compile time option, or the+ f7 r8 A7 v+ o- B+ t3 U. I8 U  f
  18. ; Windows directory (C:\windows or C:\winnt)/ T* f: i; H& [3 A2 v; u0 r2 {/ Z
  19. ; See the PHP docs for more specific information.
    . B( ~) D* j- d& C9 V7 v+ Y
  20. ; http://php.net/configuration.file0 }! H/ w% v) {$ h
  21. % |5 T! x  m/ t5 P0 P5 V) @0 s
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    8 |5 E6 k1 J- W$ _; N* i3 g
  23. ; beginning with a semicolon are silently ignored (as you probably guessed)./ m, ^- L: O8 d3 y6 d5 s
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    6 t8 J( x1 ?0 d8 N0 d6 |# `/ t) }6 \
  25. ; they might mean something in the future.3 S2 X' J9 M8 L7 L6 ]' ]7 {! E
  26. # [) R: \* U) J! ~. [, S
  27. ; Directives following the section heading [PATH=/www/mysite] only
    # s9 u. ~1 N$ {+ H" i
  28. ; apply to PHP files in the /www/mysite directory.  Directives: [3 h) q/ K' Z+ Y5 `3 i
  29. ; following the section heading [HOST=www.example.com] only apply to
    / d- V4 ?7 [4 {; O; q
  30. ; PHP files served from www.example.com.  Directives set in these
    2 x$ w- ~9 c% A5 ], m7 R+ p
  31. ; special sections cannot be overridden by user-defined INI files or
    % ]7 K0 L, T. j' T& k
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    ; G2 u* s: X: k. \
  33. ; CGI/FastCGI.9 B) K% P: @+ b) o' O3 _. x  c$ I
  34. ; http://php.net/ini.sections
    ' p1 @  n3 j" |7 k

  35. % C) ^( G3 M5 B+ p9 x
  36. ; Directives are specified using the following syntax:
    ! [, n( ^( h" y. l# x( B0 G$ O
  37. ; directive = value
    5 U* [0 E) O* v0 Z, K! ~
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.2 C! H$ y3 f$ v# o# Y" M3 I5 |- g
  39. ; Directives are variables used to configure PHP or PHP extensions., v. a4 y5 _, t# O; s
  40. ; There is no name validation.  If PHP can't find an expected
    7 |9 ?" v$ t; I! F4 _2 w
  41. ; directive because it is not set or is mistyped, a default value will be used.
    , _  y3 _' o# R% c, n
  42. & M) c; v% o7 r0 r3 @$ z
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    & t6 B% V0 U2 s% J: J* v
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    " A9 j. X9 J) Y" E1 o
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    6 E/ |) K2 O8 |  C8 |3 @
  46. ; previously set variable or directive (e.g. ${foo})
    1 X4 ~9 S7 S: J: U1 X0 P

  47. - _( o, F1 x: j9 {- ^
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    4 V) C) o+ P! G9 {2 A7 d% w
  49. ; |  bitwise OR
    , o6 c  u  `0 }" O( S
  50. ; ^  bitwise XOR, G7 N* x3 V6 E0 q  B9 j/ F
  51. ; &  bitwise AND& ]  _3 I, Y/ H
  52. ; ~  bitwise NOT: F+ L7 w2 E5 ~3 M
  53. ; !  boolean NOT
    1 I4 {3 k) y. O+ |0 g# O

  54. 7 M) k% S6 _! a
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.* e& F5 }+ N$ ^; b& u
  56. ; They can be turned off using the values 0, Off, False or No.
    ! H, D) w* t4 Y
  57. ) f# D) j' C! [5 e$ _
  58. ; An empty string can be denoted by simply not writing anything after the equal
    " w+ G7 l0 J% l( F3 t. J& v* n
  59. ; sign, or by using the None keyword:: t0 Q, X4 }% {! F* T5 H# g

  60. ) C$ z" I2 u5 n8 m! H. {1 e
  61. ;  foo =         ; sets foo to an empty string
    ( ?6 e, ]" \1 d5 D; M7 x
  62. ;  foo = None    ; sets foo to an empty string
    . U+ F* u7 k. |5 R; o, c
  63. ;  foo = "None"  ; sets foo to the string 'None'
    6 w6 i* o- f* E+ ~

  64. + i3 t' {( w+ t4 ]& P
  65. ; If you use constants in your value, and these constants belong to a' k$ h% c# p( W' I# t
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),. f3 L8 A3 v4 y' \
  67. ; you may only use these constants *after* the line that loads the extension./ ^. X9 q5 W% e, [  I2 _$ ~: ]

  68. * G" K8 I, {4 r( c
  69. ;;;;;;;;;;;;;;;;;;;# s* y) f6 H9 U# O/ h. ?) v; p2 e6 C2 x
  70. ; About this file ;  x/ K$ Q. ~$ k% h: ?" b' F
  71. ;;;;;;;;;;;;;;;;;;;; P6 l; [2 t5 C( c) D6 q- n4 V' ?  i
  72. ; PHP comes packaged with two INI files. One that is recommended to be used& g4 p: ^9 a/ H$ P
  73. ; in production environments and one that is recommended to be used in
    , P: q5 @9 Q/ l9 G4 h# P' F+ m
  74. ; development environments.
    ' i9 f% _9 ]/ m

  75. ' d3 n# z, k" i2 \. U
  76. ; php.ini-production contains settings which hold security, performance and* _6 [5 l8 J, z2 t$ H+ u
  77. ; best practices at its core. But please be aware, these settings may break: O$ t2 ^6 X5 S+ H/ |2 m# g
  78. ; compatibility with older or less security conscience applications. We* P. R; W7 S! X& v9 ]! F
  79. ; recommending using the production ini in production and testing environments.$ e. a9 \: a1 w

  80. 7 D, N! u) v  z, M
  81. ; php.ini-development is very similar to its production variant, except it is+ ?' o/ z0 l" J6 q5 b6 h1 r* j) |
  82. ; much more verbose when it comes to errors. We recommend using the
    6 {( v+ O3 ^7 u4 K8 T+ f6 y
  83. ; development version only in development environments, as errors shown to) c9 U. Z4 B4 @, e% a0 v! c
  84. ; application users can inadvertently leak otherwise secure information.% x( |! D; }3 A( z$ Z
  85. 7 @% y; S$ g9 k  n/ s, ^5 V1 x
  86. ; This is php.ini-production INI file.
    : i1 P- t, f5 n0 y' M8 F5 `4 i

  87. " p5 Y" X) Y  N- `5 U& [& E
  88. ;;;;;;;;;;;;;;;;;;;2 b# w  a% ?- `" `, ^6 E/ D- \
  89. ; Quick Reference ;
    : B1 H! W6 d1 l) r: T* _
  90. ;;;;;;;;;;;;;;;;;;;* W' \3 T0 G* z8 j7 C
  91. ; The following are all the settings which are different in either the production: n) C! ]  }* E& x
  92. ; or development versions of the INIs with respect to PHP's default behavior.# E+ Z2 M8 _+ W1 C( ~( [2 a' c
  93. ; Please see the actual settings later in the document for more details as to why
    , W+ U  E' I2 @* N+ E
  94. ; we recommend these changes in PHP's behavior.6 m3 ?% }# c  |) D3 t* r' E1 {8 z

  95. 0 E3 {! T. Q1 o: |( x6 J1 v9 Y* a
  96. ; display_errors( i4 E# L! b) l; D. y
  97. ;   Default Value: On! z, s' J8 N9 u1 Y, ^, L
  98. ;   Development Value: On
    ; J( P/ K& F3 l- V
  99. ;   Production Value: Off% e( Q9 [9 Y3 @5 A0 Y
  100. & G$ u+ p2 D& T. B% n' t
  101. ; display_startup_errors( v$ {' G" e8 }3 z3 z9 L
  102. ;   Default Value: Off2 h* X" A8 Z: g0 P9 g6 E
  103. ;   Development Value: On
    ! l& p% ~- Y% H
  104. ;   Production Value: Off% y+ U# W) ?5 b0 b
  105. 5 l0 K, H3 b3 o) J, J3 R
  106. ; error_reporting, X6 g1 Q$ M  G
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ; ?7 H; h7 V3 |# s
  108. ;   Development Value: E_ALL1 C) }# ?0 s4 F3 W3 @: u0 S
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    " _3 L; K% z# T
  110. % p0 d  h5 _$ }
  111. ; html_errors
    : c, |- a) @0 W  h
  112. ;   Default Value: On
    + h& h& X: d$ q2 }
  113. ;   Development Value: On9 m+ o( o8 B  G
  114. ;   Production value: On
    $ y9 z7 v; T: Y, K9 d$ X% @1 E

  115. : h) d" m4 |2 c3 `% D# b
  116. ; log_errors
    1 ^/ [" L9 v8 F4 {2 Z
  117. ;   Default Value: Off& w- E. I6 r5 [* s# {2 t8 f
  118. ;   Development Value: On
    6 t6 ^- j+ r7 i# X8 {
  119. ;   Production Value: On9 g2 g$ X! P; O& k7 k% U% q2 c/ D
  120. % m& H" x$ t% }  ^) f# j, Q+ J/ z4 c
  121. ; max_input_time
    4 ]( i1 Z# G0 X' d
  122. ;   Default Value: -1 (Unlimited)
    % H3 j0 V4 E$ u* y0 i' [* u
  123. ;   Development Value: 60 (60 seconds); J- e3 x! O: _! h6 a! }/ b
  124. ;   Production Value: 60 (60 seconds)
    # h8 ^! f8 S, F4 \0 a  v3 T! D

  125.   z7 w2 q4 y1 d: d. q
  126. ; output_buffering5 n7 k, M/ w' f( y" r
  127. ;   Default Value: Off# t3 n" b, ~* P) P
  128. ;   Development Value: 4096
    # B( M3 E; Y+ [' n& p
  129. ;   Production Value: 4096
    # g- n) e, p  L

  130. 3 b7 ?: i1 Z* ]! J- I
  131. ; register_argc_argv
    # K5 ]' R" `: p. A1 M
  132. ;   Default Value: On: q9 y" X+ [0 q4 S% i- {7 O
  133. ;   Development Value: Off
    ; ~( f, ^' c5 j2 G/ n/ ]0 j
  134. ;   Production Value: Off+ `0 S! K" G' g  G7 P  v
  135. & }4 T+ n. N2 L5 M$ I6 ?' w  _: ?/ F, c
  136. ; request_order* J+ U$ Z* I2 `* t! H: `+ C  O
  137. ;   Default Value: None8 o  S! \% q0 M& X2 g) A* g" k
  138. ;   Development Value: "GP"7 K' R+ k2 X8 T- ]; R
  139. ;   Production Value: "GP"" K- Y' G, |6 Q% Z4 n
  140. 0 j. D3 \6 }  c! U
  141. ; session.gc_divisor
    , I& L0 L" H9 r6 _+ z
  142. ;   Default Value: 100$ X( x. c# I/ l& c  o
  143. ;   Development Value: 10001 n, b- N. f, h  P3 P
  144. ;   Production Value: 1000% V) ^) u5 q( O& J" T* `

  145. $ d4 p8 n0 {& x6 I1 E
  146. ; session.hash_bits_per_character" a  @- e: Z, @3 `5 P1 P) i# n& p
  147. ;   Default Value: 4
    $ s! T- e* f) \6 L
  148. ;   Development Value: 5
    ) O/ D% S2 T, L$ O  |$ u
  149. ;   Production Value: 56 r/ b% }, i: N% y# D$ O/ h

  150. 4 y' B; U9 b+ P0 z: f4 [
  151. ; short_open_tag
    + H; K" L, ]) E
  152. ;   Default Value: On
    ; a5 ~/ B+ D! s- n3 G4 v2 s
  153. ;   Development Value: Off
    1 Q9 A& k) m* G  O( x" f5 A
  154. ;   Production Value: Off8 Q# t% n0 N4 `0 g1 @6 r

  155. 6 `$ X& I& A. X' D( e; A7 }1 o
  156. ; track_errors4 p+ p( A9 v" E- Q
  157. ;   Default Value: Off: @- Q# y* ]/ M* U: d- q9 Q' k* Q& [
  158. ;   Development Value: On4 l, v2 w* v) Z$ j$ J
  159. ;   Production Value: Off5 C$ `/ G0 R% A! C) N

  160. 8 y# G, F& z1 j# w$ H/ n1 T( U
  161. ; url_rewriter.tags  a; t( W* T# C1 e% h
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="3 j' _: R* w7 M8 v3 G- \0 t* R
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"% q, C9 d; \, t; l
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    + X7 p5 B' M# N4 s' w) T4 E

  165. ; w) y3 S5 m$ ]$ t7 N3 G* c4 F
  166. ; variables_order
    $ [( ?  S$ Q# `& [" D
  167. ;   Default Value: "EGPCS"
    7 i; a4 V8 u/ J' n6 j3 \0 f; v8 d
  168. ;   Development Value: "GPCS"
    . C# ?( J5 Q) k# r) t, X8 M  g( _
  169. ;   Production Value: "GPCS"4 q0 H- ~: Y1 q% Z3 N
  170. 2 x- v% W4 k6 \3 G
  171. ;;;;;;;;;;;;;;;;;;;;4 r% N6 r+ g" s5 k& ^
  172. ; php.ini Options  ;3 u) d. X/ k  d9 c2 B) ]
  173. ;;;;;;;;;;;;;;;;;;;;4 R7 n4 s6 R" R
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    : ~  m2 F6 I. v( ]/ @
  175. ;user_ini.filename = ".user.ini"
    ( R0 U, e! R/ s+ S" Q

  176. & k+ v8 {$ U3 U) p9 n
  177. ; To disable this feature set this option to empty value" K& ^  _( h/ {0 O6 r
  178. ;user_ini.filename =
    3 a6 z* k  L% c. K+ Q

  179. 1 B3 K- |  E2 X
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    ' O2 r( y5 ]- s2 P+ q+ d$ t
  181. ;user_ini.cache_ttl = 300# c$ y; p6 Q' q4 ]' P  u: _

  182. 4 o  r9 S; s4 }6 o( c" |4 P
  183. ;;;;;;;;;;;;;;;;;;;;6 u* p; f( N9 e: c- \
  184. ; Language Options ;- x8 X( q8 O5 w. e& I
  185. ;;;;;;;;;;;;;;;;;;;;
    0 U2 x7 |# ~* E9 m$ |% q, h
  186. 2 r$ b0 L1 s" Q+ b2 I4 [
  187. ; Enable the PHP scripting language engine under Apache.
    0 o5 T$ R2 D) z$ }4 m6 P
  188. ; http://php.net/engine9 g6 W) E1 b1 V: V
  189. engine = On
    . W- q0 f9 Q1 [( v) r9 h- K+ \

  190. 4 Z! F6 R$ B" @
  191. ; This directive determines whether or not PHP will recognize code between- ^* ~# w8 P3 J7 P& v2 ^
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    ' e* n# |, j9 ]$ k4 U1 r2 f- C
  193. ; generally recommended that <?php and ?> should be used and that this feature: l. E; t2 \3 p  O9 x
  194. ; should be disabled, as enabling it may result in issues when generating XML
      n& o( v3 t3 o& ]" z
  195. ; documents, however this remains supported for backward compatibility reasons.* U; I& @. H  {% g( L9 x5 m
  196. ; Note that this directive does not control the <?= shorthand tag, which can be: }/ x- l# g" O" k
  197. ; used regardless of this directive.$ G7 H* z5 S( {9 \  ?" Q: v
  198. ; Default Value: On; R+ K: Y$ ]" Q8 r; F" R
  199. ; Development Value: Off# _* J# S4 z( ~  _( @
  200. ; Production Value: Off- g' p' j. ]& }; \: b- s: R  P
  201. ; http://php.net/short-open-tag9 _" \) L2 I+ |6 ]
  202. short_open_tag = On
    ! X2 V2 i0 a3 [. o0 |  m

  203. ( }9 k) K# ?1 }- a
  204. ; The number of significant digits displayed in floating point numbers., E: Q8 |# v! t$ m
  205. ; http://php.net/precision
    2 H8 \( \, A* ~& R0 S4 R
  206. precision = 14: h, w( I* b2 v! }# m( b
  207. * K" m0 T" Z5 T& I. w
  208. ; Output buffering is a mechanism for controlling how much output data
    ; M" E( M. T. W; e$ f
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that4 e0 \7 F5 V( ^7 M6 K5 b
  210. ; data to the client. If your application's output exceeds this setting, PHP. D" A. F, x  M
  211. ; will send that data in chunks of roughly the size you specify.
    % l3 B" W! f! j
  212. ; Turning on this setting and managing its maximum buffer size can yield some7 M4 A. a, l9 ]4 Z7 T/ o
  213. ; interesting side-effects depending on your application and web server.
    + a; h* l; m+ y& O
  214. ; You may be able to send headers and cookies after you've already sent output" x5 d# Z; X+ [0 S
  215. ; through print or echo. You also may see performance benefits if your server is3 ?$ |/ v" y5 d& s, n* Y
  216. ; emitting less packets due to buffered output versus PHP streaming the output4 U* f# l- N% k+ G# G9 }
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance4 N8 Y1 O& \- f7 H6 s+ F6 b
  218. ; reasons.
    , q4 T' |& G: L4 F6 T: h# _; ^
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    ) \" e1 s/ y$ V2 [, S! u. C
  220. ;   functions.4 ?5 r8 v0 N# D  B/ S
  221. ; Possible Values:
    / a' C; r/ h) g
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)( C% x& _$ }$ P$ o2 A
  223. ;   Off = Disabled! H, c9 l3 {3 f4 C2 ~- @6 \
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
      P4 D3 T3 u6 N$ P3 Y$ ?1 C
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    3 m: m3 r+ m% b3 `
  226. ; Default Value: Off
    & Z2 i1 e6 q, e8 p9 A4 T
  227. ; Development Value: 4096
    7 R) J3 H1 D/ ]) i% H7 `3 v
  228. ; Production Value: 4096
    & }! N$ e9 |1 E* S8 }- E& T' i
  229. ; http://php.net/output-buffering
    ) a# Z' M6 \- U' ~" e( s, c( e
  230. output_buffering = 4096% X/ O: k1 o( u9 H% ]

  231. ) m! _% e9 `- T
  232. ; You can redirect all of the output of your scripts to a function.  For
    & j$ M2 d- F0 ~! y: n
  233. ; example, if you set output_handler to "mb_output_handler", character/ n8 q, G$ |0 s; C, F
  234. ; encoding will be transparently converted to the specified encoding.
    ! l9 f, M, H- T. I. [9 B9 w- S
  235. ; Setting any output handler automatically turns on output buffering.
    ! ]9 c0 _% I% B
  236. ; Note: People who wrote portable scripts should not depend on this ini
    # V0 M( f' L: z/ ?4 o# \/ _3 G: [
  237. ;   directive. Instead, explicitly set the output handler using ob_start().# q* `! ?2 e3 Q
  238. ;   Using this ini directive may cause problems unless you know what script
    ; M9 k6 P: p3 j3 F0 u* L
  239. ;   is doing.. w7 V: v/ r7 P
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    / i( b1 G' |8 H$ H: c! I
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".# i* L* O9 Z0 P) j9 L" Z
  242. ; Note: output_handler must be empty if this is set 'On' !!!!  r; J3 X) O( d) Q. {7 |. V: a
  243. ;   Instead you must use zlib.output_handler.
    8 K( ]! }5 R; J' u
  244. ; http://php.net/output-handler- ~" B( {0 B3 u0 l
  245. ;output_handler =
    ; y: K' ]! v, D6 q/ S+ |

  246. & k5 o" {+ Z8 {4 p
  247. ; Transparent output compression using the zlib library
    ( }, k& ^( R" @! A2 j: w5 ~: ?
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    ) z- u, o; B0 O1 f; U1 p1 N
  249. ; to be used for compression (default is 4KB)
    . M$ A5 J# E! G" F$ S
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    / a) N# Q( `8 g& M
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    ' \( R/ ~) m0 R8 R$ c
  252. ;   compression. If you prefer a larger chunk size for better
    + A8 \, K" D% E" B* P
  253. ;   performance, enable output_buffering in addition.% v; z% B7 d7 M4 z: b
  254. ; Note: You need to use zlib.output_handler instead of the standard0 j1 M- m) K9 d8 x- e* A/ K# E+ T
  255. ;   output_handler, or otherwise the output will be corrupted.  ]. Z, w% C. f
  256. ; http://php.net/zlib.output-compression: R- a( A3 Z; u# P+ L* H+ q+ F# Z
  257. zlib.output_compression = Off9 t, a) o* F* @
  258. 8 d. s4 k. ^1 Y. ^7 a% \: E9 d
  259. ; http://php.net/zlib.output-compression-level
    + [4 c. _' Q  H9 L
  260. ;zlib.output_compression_level = -1/ i5 Z, T) k% I" P6 z( p
  261. 8 B. H3 O- y2 c! v5 }
  262. ; You cannot specify additional output handlers if zlib.output_compression
    ( L" S& k0 X, w, `
  263. ; is activated here. This setting does the same as output_handler but in
    5 p& a0 Q/ u3 _9 {% e
  264. ; a different order.
    . s2 v4 h% R; Q
  265. ; http://php.net/zlib.output-handler
    ( _/ u! z8 r7 u
  266. ;zlib.output_handler =$ P4 V8 @/ b; O4 u
  267. - g) V* k2 z. _2 W6 [$ S+ i3 ^
  268. ; Implicit flush tells PHP to tell the output layer to flush itself; c" A) }8 Z  ]* h0 s2 X
  269. ; automatically after every output block.  This is equivalent to calling the3 @4 e4 f1 i7 m$ p# e
  270. ; PHP function flush() after each and every call to print() or echo() and each4 q. \3 v4 S4 M  Y' K5 U' l
  271. ; and every HTML block.  Turning this option on has serious performance
    3 [* o, R) J0 S/ e' h; X; f
  272. ; implications and is generally recommended for debugging purposes only.
    $ q+ O9 _& l4 Z4 d& e) Z) e# D
  273. ; http://php.net/implicit-flush
    - \; v; e1 o, p; M5 c- }
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    ' h% G# h8 b! S
  275. implicit_flush = Off
    2 L9 Q2 W! d; j. c
  276. 3 |: y. [! s' \( E0 ?
  277. ; The unserialize callback function will be called (with the undefined class'6 u: R$ M6 j6 k& X3 `, v
  278. ; name as parameter), if the unserializer finds an undefined class
      S  p% E& ^1 f" T7 u
  279. ; which should be instantiated. A warning appears if the specified function is3 V* h0 y4 Y0 K! I9 M3 O! b
  280. ; not defined, or if the function doesn't include/implement the missing class.
    # r- u/ b( }2 A/ a
  281. ; So only set this entry, if you really want to implement such a8 ~. U2 Q8 y1 I2 Z* p3 }% j
  282. ; callback-function.
    / K  c& }$ ^$ r  c# o
  283. unserialize_callback_func =
    3 [' o, @  c( M5 W& t  E

  284. - W6 d* N5 ]& X2 \  _# D2 L; W
  285. ; When floats & doubles are serialized store serialize_precision significant5 l7 G# I' T2 n! k1 Z
  286. ; digits after the floating point. The default value ensures that when floats
    4 f; f# X" Z# }+ w0 K5 E" P9 K
  287. ; are decoded with unserialize, the data will remain the same.% U8 q2 T6 w* D$ C
  288. serialize_precision = 17
    / ]5 ?4 c* P. S; S
  289. 9 a9 F7 r* p- T) f
  290. ; open_basedir, if set, limits all file operations to the defined directory
    0 W( L, D) _) B: L0 T
  291. ; and below.  This directive makes most sense if used in a per-directory' b8 c: Q3 V8 h
  292. ; or per-virtualhost web server configuration file., A5 u# L$ z. @4 M' i/ s
  293. ; http://php.net/open-basedir
    6 t0 D1 i2 Y- ~# m3 g8 p/ X1 ~
  294. ;open_basedir =" N! @0 Y, V. U8 t$ y
  295. . k3 M! v' Y/ v$ A5 b. f3 w
  296. ; This directive allows you to disable certain functions for security reasons.
    4 ^7 F* V. H' n- Y$ B
  297. ; It receives a comma-delimited list of function names.: h  D' s+ `8 z5 A
  298. ; http://php.net/disable-functions. N; c/ e  z& _: j; T
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru% G- Z! A5 L3 P7 O
  300. 9 P2 {/ ^7 H: N  @; ^6 g
  301. ; This directive allows you to disable certain classes for security reasons." I, r+ ]1 B* E" a0 a1 N* X( l
  302. ; It receives a comma-delimited list of class names.
    $ y7 |3 w; @: f
  303. ; http://php.net/disable-classes% m, `0 k* x' U$ v0 g$ G
  304. disable_classes =
    - h: J3 M- c  S3 D

  305. / y# O6 m4 d5 J8 l
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    / F$ J$ C& i/ x% O$ `
  307. ; <span style="color: ???????"> would work.. T8 g2 T& ?7 O9 G" u$ }3 C, C  \: \
  308. ; http://php.net/syntax-highlighting
    1 Z# p5 L( N/ k' F1 z$ ^3 z
  309. ;highlight.string  = #DD0000! D, d: M8 H8 j- r! m% }$ l& {6 R
  310. ;highlight.comment = #FF9900
    ( D  P" |9 _; W
  311. ;highlight.keyword = #007700# x# W. `' G" }
  312. ;highlight.default = #0000BB* j6 U/ p0 W! Z
  313. ;highlight.html    = #000000* o8 ^( o2 I& c# J
  314. 2 H8 ?  w+ Y9 D* `3 k; R. G/ c
  315. ; If enabled, the request will be allowed to complete even if the user aborts# }2 g" j5 U& V9 \
  316. ; the request. Consider enabling it if executing long requests, which may end up; Z4 Q* `* N$ u2 R9 O5 w0 c2 D6 D
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior& c* l8 P$ ]' m* Z  {4 \9 P
  318. ; is to disable this feature.+ X+ |( s) }5 W# G' B
  319. ; http://php.net/ignore-user-abort
    7 u; r2 f" X: D9 J8 V* H
  320. ;ignore_user_abort = On, x/ }7 v8 b, |+ Y) Z; j9 w( F
  321. ) B8 G$ `$ D+ M6 I0 ^
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    6 V8 b. y  y8 m6 a5 L
  323. ; be increased on systems where PHP opens many files to reflect the quantity of- A9 c# }$ m- L" m8 e* v9 b" \3 G& t
  324. ; the file operations performed.
    5 p$ w& Z! q' C8 t0 K
  325. ; http://php.net/realpath-cache-size
    2 h0 J3 q' J$ @) Z' \2 S; q( E
  326. ;realpath_cache_size = 4096k8 v+ c8 }: v! s; I0 i/ G
  327. ( u- y3 k1 i9 q- Y: W& L/ K) S5 S  n
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    2 {' x) }- p- D: E% C( D, R
  329. ; file or directory. For systems with rarely changing files, consider increasing this3 ?% G( g; Q% n) b' q
  330. ; value.
    7 U* V7 q3 W0 l8 q
  331. ; http://php.net/realpath-cache-ttl
    ' H( M0 _6 l- |# y. B3 v6 f
  332. ;realpath_cache_ttl = 1203 s! l' q( g) m4 F0 \2 v8 B( H

  333. / L1 k9 s! p. t3 \
  334. ; Enables or disables the circular reference collector.# d/ _5 o  X( l" w
  335. ; http://php.net/zend.enable-gc
      ]. p2 j3 ~1 U! R4 F: I
  336. zend.enable_gc = On( X: v1 l* E# ?5 K; }

  337. ) [7 n3 U3 `$ f
  338. ; If enabled, scripts may be written in encodings that are incompatible with! ~& J3 A& z  \
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    ; A$ H' K/ E3 I% F- L2 }; T9 }6 K
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    9 [$ q9 @; A5 L& ^
  341. ; Default: Off
    * F3 X% t' e" b: `5 ~3 D
  342. ;zend.multibyte = Off9 m- _' t  h" ~% I6 A

  343. & W" ?  [, O& z; \" k
  344. ; Allows to set the default encoding for the scripts.  This value will be used5 L0 {4 \2 p7 M& p# j) s% o. |
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.9 @) A1 l% ?8 `
  346. ; Only affects if zend.multibyte is set.0 S  t4 h! \- D% [7 x1 U6 [( c
  347. ; Default: ""
    $ {) S; O9 [- W
  348. ;zend.script_encoding =
    $ h( ]. S0 y( ]2 L8 C3 T$ c
  349. 5 s$ a# n, ^# ^$ _0 K- t
  350. ;;;;;;;;;;;;;;;;;* i7 e: ?# |% z* N! c1 m
  351. ; Miscellaneous ;' }9 j2 u; K1 V
  352. ;;;;;;;;;;;;;;;;;/ y, u, ]. g  C& b$ s" M
  353. 9 i% v/ F1 n, r/ N% M0 r3 ~
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    5 p! h, q6 w3 X, C6 @
  355. ; (e.g. by adding its signature to the Web server header).  It is no security* D, `. s" _# X% k. k" c
  356. ; threat in any way, but it makes it possible to determine whether you use PHP3 N) e% A' R$ u" |: g  @4 U
  357. ; on your server or not.
    # g. z3 V- @+ l, V3 F1 @
  358. ; http://php.net/expose-php
      C0 W( R/ B0 S8 ^$ R, A: D
  359. expose_php = On
    # G! t3 b0 M' q* w+ X$ @3 f

  360. 1 N4 O! X3 L4 z) D6 k1 w) n
  361. ;;;;;;;;;;;;;;;;;;;
    5 N7 @" b8 \3 H. |5 l/ v  Y
  362. ; Resource Limits ;
    , u/ k8 D" E6 h# Z
  363. ;;;;;;;;;;;;;;;;;;;
    + t7 s: {% x1 C" \+ `6 |. `9 ?

  364. ) m+ y3 t; H! D: c- G
  365. ; Maximum execution time of each script, in seconds
    + W, A2 ~  U0 L
  366. ; http://php.net/max-execution-time
    1 }+ O. c9 z  u6 K' ^7 N* d
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    , P8 n( _  W- b
  368. max_execution_time = 300
    % N% E* P1 m. K; H+ N# ~9 `. u! U
  369. 9 ?5 b3 i* z) f
  370. ; Maximum amount of time each script may spend parsing request data. It's a good) J. v& }* L# ^! g* }  O3 n
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly2 [% j" r) @" X1 [( W5 M  ^' F* R) H
  372. ; long running scripts.
    0 p4 {6 J2 [5 h0 l
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    1 u2 y' e# A& u1 G7 o% n& w
  374. ; Default Value: -1 (Unlimited)
    0 U( l# H- G# N+ h2 g
  375. ; Development Value: 60 (60 seconds)
    2 @1 U$ X: I. D( y
  376. ; Production Value: 60 (60 seconds)$ y# D( L, G6 v& u! P$ s
  377. ; http://php.net/max-input-time7 j! @+ b) I$ K& k7 [+ H6 y
  378. max_input_time = 60
    0 a$ h1 p: y- P- r8 w5 |+ O: u

  379. 4 r3 f: a7 D, W- |
  380. ; Maximum input variable nesting level
    ) f. |& U' J1 L, ]$ h  U* V
  381. ; http://php.net/max-input-nesting-level
    - a6 \; u8 \  T- j
  382. ;max_input_nesting_level = 649 Q/ g3 e0 m: A- A3 Y& v) a
  383. 8 @: {5 h% }2 Q
  384. ; How many GET/POST/COOKIE input variables may be accepted
    " e, n0 V  d7 d* S
  385. ; max_input_vars = 10009 {& q0 U7 I' g+ P' Y+ t' ~1 p
  386. ; p- Z. F4 j4 ?
  387. ; Maximum amount of memory a script may consume (128MB)! m5 z" l# a( ~' g5 v+ Y
  388. ; http://php.net/memory-limit
    2 k% \5 _* M1 u  b5 Y3 W5 p
  389. memory_limit = 128M
    8 d+ p- z7 F/ `
  390. 2 ~: @2 B2 e7 i: w5 [) L) U
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;& ~: @# I( h4 R5 E  n1 i* ^
  392. ; Error handling and logging ;
    5 n+ k/ }/ W9 a9 e: n/ c
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ' ~% c* I' i) T7 c1 c/ ~) v; M

  394. . z; A& _- p- E+ Z
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    / a$ M3 f+ g; t- i( ]; `
  396. ; it to take action for. The recommended way of setting values for this
      ^% r2 ^& A8 ^( {
  397. ; directive is through the use of the error level constants and bitwise
    . Y: A7 `2 T: N6 V! d# y9 _/ p5 ]
  398. ; operators. The error level constants are below here for convenience as well as
    ; g4 ^3 @, q0 @! q: @1 H' v" |* G
  399. ; some common settings and their meanings.
      U$ @( [. v" z2 {' T
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    + T5 x" ~- {% ?1 L8 B
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and2 B3 }; w4 t* S! P4 d
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    $ n9 a1 I: I: M8 J3 u" }
  403. ; recommend error reporting setting. Your production server shouldn't be wasting( R4 u) H% x$ G- L
  404. ; resources complaining about best practices and coding standards. That's what
    * l- ]& f4 U; Z% r: ?- z
  405. ; development servers and development settings are for.
    6 a. ?" t$ m; _  L7 c- h3 \
  406. ; Note: The php.ini-development file has this setting as E_ALL. This1 M; |2 ]( F0 J/ S' M1 N
  407. ; means it pretty much reports everything which is exactly what you want during2 S- l  W( ?; H# @
  408. ; development and early testing.3 f$ a4 Q3 \' K: l. m' P9 Y5 p
  409. ;
    - k6 B  f5 n! @6 i: @* _
  410. ; Error Level Constants:
    ' W3 S$ ]( ]/ l- [9 z9 E
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)/ E1 v; f; G' {( ^. m; o
  412. ; E_ERROR           - fatal run-time errors# i9 u5 u2 L' Z9 X4 f! Z
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    ! B0 V* ~5 T4 U+ k+ d
  414. ; E_WARNING         - run-time warnings (non-fatal errors)$ p: {' ?3 M+ N" S+ S
  415. ; E_PARSE           - compile-time parse errors( C- j' m6 \; x0 e; V) J
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    6 C' R: z% i; N2 k6 @! x
  417. ;                     from a bug in your code, but it's possible that it was
    1 Y5 W) a6 ~$ Y" i
  418. ;                     intentional (e.g., using an uninitialized variable and
    1 i; a- i& v4 `2 l
  419. ;                     relying on the fact it is automatically initialized to an
    1 p- D' u( Q$ V" y
  420. ;                     empty string)
    ; R! l; Z; Z2 `- b/ w0 t
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes5 ]0 J' w" l. h' s3 q4 ~( R. s- l
  422. ;                     to your code which will ensure the best interoperability, K2 ?! s2 L5 r
  423. ;                     and forward compatibility of your code
    ( j: U1 l2 w/ x) E( z5 J
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup. g8 B8 f" ^5 ~, s2 d/ Q
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's' Q# {. J; S% e
  426. ;                     initial startup
    1 R, r8 |- b0 ?1 V& @$ K
  427. ; E_COMPILE_ERROR   - fatal compile-time errors! `; q7 m$ o1 @3 n
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)0 ^; X9 f) [) a
  429. ; E_USER_ERROR      - user-generated error message
    , G! w3 m$ A* o: @
  430. ; E_USER_WARNING    - user-generated warning message! _6 }* g7 |- C6 c1 M. y
  431. ; E_USER_NOTICE     - user-generated notice message/ D0 O, F% G2 @5 Z% }; c4 T
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    3 y/ Q2 I9 ]. N  y5 e. K
  433. ;                     of PHP
    + z' Y/ T* u6 G: |, Z
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings/ X0 q& s8 X, W5 y' [
  435. ;
    - s( U& R6 t% S' s; g0 `' b% j
  436. ; Common Values:
    $ w2 s% ]5 ~( K4 i
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
      A- l5 z1 [. K6 M
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices): P& @2 p; h0 v; [( M- R
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    ( N! }( c& H3 K: G) }
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    $ o! s; z2 t8 a: c" }. U9 f% p% V
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    6 C1 s, @+ M' P
  442. ; Development Value: E_ALL% {& A7 X+ ^& h6 H
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT1 s$ @3 c: i* ~8 ?2 O: A& p' f
  444. ; http://php.net/error-reporting
    ! W% b0 `! d/ x+ @; p4 U; E
  445. error_reporting = E_ALL & ~E_NOTICE
    $ x0 s5 x6 @0 b* D) r
  446. , L0 A( H0 d; _8 ~: l$ p
  447. ; This directive controls whether or not and where PHP will output errors,5 F: t. i* u( d
  448. ; notices and warnings too. Error output is very useful during development, but
    - K- ^2 i) |6 w: f" g" j& m  F
  449. ; it could be very dangerous in production environments. Depending on the code
    & F" V4 A/ ]. y& K$ |
  450. ; which is triggering the error, sensitive information could potentially leak
    ) G+ O5 m1 j' |: ]* b! x4 M% j
  451. ; out of your application such as database usernames and passwords or worse.$ ^: z0 c: h6 B5 s( V5 S. Z
  452. ; For production environments, we recommend logging errors rather than7 q3 ]9 Y' z, h3 p3 Q6 ?8 M
  453. ; sending them to STDOUT.
    - M2 K$ s& V6 c- f
  454. ; Possible Values:2 _& p) Q3 `  b5 ?
  455. ;   Off = Do not display any errors, ]; e$ W5 }/ ~$ Q1 @; F
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    / e: M8 L. ]$ |0 b  e4 Y
  457. ;   On or stdout = Display errors to STDOUT
    $ i" ?7 q3 M/ [* H! X
  458. ; Default Value: On0 y; _3 c4 ]: I/ E' [% F
  459. ; Development Value: On6 B- }) e) V( n3 ]/ c  F
  460. ; Production Value: Off, {' l  u3 G* s1 R
  461. ; http://php.net/display-errors
    4 O8 f7 e, W1 @8 _) Q5 F# [6 G
  462. display_errors = On: s$ i2 a% n: m) m6 N+ O( c

  463. $ h# M2 P) P+ p1 m. B4 J  v
  464. ; The display of errors which occur during PHP's startup sequence are handled
    5 |7 J$ w! f  n6 t! y' `) Z" E
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    1 h5 o4 I$ \* {4 C
  466. ; errors from clients. Turning the display of startup errors on can be useful in4 i, B% A2 u9 b" f, F" U
  467. ; debugging configuration problems. We strongly recommend you+ I6 a& Q5 f, _$ l  \0 o2 @( G
  468. ; set this to 'off' for production servers.7 R! _" P: L% W. D8 h
  469. ; Default Value: Off
    " ?1 O$ w5 j2 o" [
  470. ; Development Value: On
    & [) c8 b( F  o  \' _0 M
  471. ; Production Value: Off& [) ^# [* W# P8 n3 k) Q
  472. ; http://php.net/display-startup-errors
    ' X2 T- @4 o, c% h/ k5 D
  473. display_startup_errors = Off, O2 y! P, P1 ]
  474. $ b# f  Z; [% }+ E7 S; S3 R$ d
  475. ; Besides displaying errors, PHP can also log errors to locations such as a* m% V4 n* A( A: n, t# f1 D) o7 \
  476. ; server-specific log, STDERR, or a location specified by the error_log
    5 S  H- Z1 c9 _1 H3 [  W; a
  477. ; directive found below. While errors should not be displayed on productions
    - X; U7 Z4 B3 m" r$ v1 C8 K
  478. ; servers they should still be monitored and logging is a great way to do that.
    + x$ f. {5 O% \5 X7 a, r
  479. ; Default Value: Off& c$ C5 K' A; ~& P2 U
  480. ; Development Value: On
    * B( m9 _' r8 D
  481. ; Production Value: On
    8 F% L$ o$ V: ]% _8 q; ?
  482. ; http://php.net/log-errors
      J. k$ D0 }# _& H& |& }& m
  483. log_errors = On
    ' q/ G' L+ D9 W% S1 p6 X
  484. ; [+ g: {( m/ l5 }2 l4 K! a) u3 x6 P
  485. ; Set maximum length of log_errors. In error_log information about the source is
    2 y4 E# {8 U3 V
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    + v( r% F$ S& {6 o% f
  487. ; http://php.net/log-errors-max-len
    & E6 `6 D/ [- V0 v7 @" J! o
  488. log_errors_max_len = 1024! j, S) T7 }- i/ _1 ?; }& E

  489. : O, _3 L, t% i1 l% A" |3 P
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    * o: _+ C( `  c
  491. ; line unless ignore_repeated_source is set true.
    - i' ]0 r' C- v" p( g/ k; _" f
  492. ; http://php.net/ignore-repeated-errors7 S$ y$ u& q& V( M( W) \7 I3 y! B
  493. ignore_repeated_errors = Off
    2 N1 p# v* p/ j! z+ M7 B

  494. 5 l9 V8 M0 c# @3 E' q+ c
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    . L& F: `  a& _, S  ?$ i
  496. ; is On you will not log errors with repeated messages from different files or6 Z! A: L& X2 W$ L0 P( I
  497. ; source lines.$ S( D! ^0 z4 z3 Z) z* f7 m) ?
  498. ; http://php.net/ignore-repeated-source0 I  g6 e8 t4 ]/ D
  499. ignore_repeated_source = Off) t7 ~0 S8 l: j2 t( n

  500. 8 |: C8 [5 ?" h( C
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on3 S' [7 e2 M8 ~  I# ~
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    ! R6 f6 c1 X. N9 A0 o
  503. ; error reporting includes E_WARNING in the allowed list( r- A' A& s! x8 P8 g9 U8 M! j9 M
  504. ; http://php.net/report-memleaks7 z0 }" @4 `1 }" E6 o
  505. report_memleaks = On4 V# _; u" @7 q3 D! \6 u
  506. % f  J8 T: d1 ]; i
  507. ; This setting is on by default.6 L, z0 R5 u. r* Y% x# y8 g
  508. ;report_zend_debug = 0
    / l. U# n; T9 Y. O' F+ [

  509. " ^; z! v- U) o3 K9 R+ h# M: h
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    + K6 L$ F: F2 e: y$ A% e
  511. ; to On can assist in debugging and is appropriate for development servers. It should. i' x1 p9 O/ G2 Z- D
  512. ; however be disabled on production servers.
    , f7 L7 d3 y! n$ ^4 O' z) }& _
  513. ; Default Value: Off1 o% N2 y+ T% X8 W* b4 @, v
  514. ; Development Value: On* A# L& h% `) r1 ^; g$ y
  515. ; Production Value: Off  H/ m0 f. a# z( O( V
  516. ; http://php.net/track-errors
    / [# h9 x. z2 G) u
  517. track_errors = Off9 C8 e5 \- P. g7 g" n$ g8 [$ u1 b
  518. ) E1 H! U2 t3 ?
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    ( [6 P* `( ?3 ^4 G
  520. ; http://php.net/xmlrpc-errors! Y% b0 H+ j7 r1 e( @  i
  521. ;xmlrpc_errors = 0" d/ Y2 E& ~- N7 C) b

  522. & `* i* _* R8 ?. J4 H/ y0 p/ g
  523. ; An XML-RPC faultCode
    + O$ z  l5 o7 o+ a) _: [8 g, ?# s
  524. ;xmlrpc_error_number = 0
    & w- t5 ^  S8 l; @
  525. % @, r/ m% Q9 b. Y
  526. ; When PHP displays or logs an error, it has the capability of formatting the7 i% ~  V$ X% q0 r
  527. ; error message as HTML for easier reading. This directive controls whether% Z& a  g% g0 f8 q0 F8 k- n
  528. ; the error message is formatted as HTML or not.
    # f5 k' }! K* y; ]* c: z; h" l
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    $ A" S; J& J* Q1 Q0 r" @0 s' U
  530. ; Default Value: On( Z8 |* X: i. [! M
  531. ; Development Value: On5 [- W6 M, |6 w, _
  532. ; Production value: On
    0 E! U) b, i. H% O/ a8 y
  533. ; http://php.net/html-errors* n  Q4 r2 D8 g; G* M- P
  534. html_errors = On1 N* y' U9 d/ \/ y. i4 Z  I7 X$ `& H; U

  535. 6 K% S; D$ T1 h7 G
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP3 K4 Q+ f9 Y0 ~) r' _/ n! T5 P
  537. ; produces clickable error messages that direct to a page describing the error
    ( n0 b3 h! v9 z$ j# s; X1 E( K
  538. ; or function causing the error in detail.
    2 O9 {+ Z8 H" Q. ^/ L
  539. ; You can download a copy of the PHP manual from http://php.net/docs( Q5 _  W9 B" D! k4 B
  540. ; and change docref_root to the base URL of your local copy including the. z3 m# z7 ~" E# y
  541. ; leading '/'. You must also specify the file extension being used including$ g9 @' I2 F4 Y6 \* b- U
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which% W+ e* a5 E) `7 }
  543. ; case no links to documentation are generated.
    1 c9 A9 T! F- i) }
  544. ; Note: Never use this feature for production boxes.' Q' H' c$ A! e4 G6 f% l4 V
  545. ; http://php.net/docref-root5 [- i7 I* I% K1 F
  546. ; Examples7 y: A5 H/ e; Y8 J
  547. ;docref_root = "/phpmanual/"8 W. z9 u2 o1 _6 B" z% J. j
  548. 2 A( N* p8 W8 k2 Q$ u+ ]2 D% a
  549. ; http://php.net/docref-ext2 }( W. V7 q" n: u  C( f8 U
  550. ;docref_ext = .html
    8 P( X& y, c+ ~1 n, w" y
  551. * k- p; J/ O2 X+ G1 B3 a( ]' Y- s/ f6 z
  552. ; String to output before an error message. PHP's default behavior is to leave; X- S- }+ \! i  j
  553. ; this setting blank.  x- x7 C* v+ ^* h3 i; `
  554. ; http://php.net/error-prepend-string5 L) G9 J, g% `9 D
  555. ; Example:" W  K4 ]" S! F- m; s; q$ Z" i" g
  556. ;error_prepend_string = "<span style='color: #ff0000'>"; S6 N9 l% B7 {% U% V" E) D3 Q
  557. 6 [/ z4 t. g% \+ C4 c! G
  558. ; String to output after an error message. PHP's default behavior is to leave
    2 v# K' U1 q' M% ]0 ?/ Y# N4 o$ D$ d' ~
  559. ; this setting blank.& i9 y" O" c" R5 i3 A4 A
  560. ; http://php.net/error-append-string5 q3 s* L$ B" X
  561. ; Example:
    6 y% ~; ~2 Q+ G) @  [' |
  562. ;error_append_string = "</span>"$ V) J  w8 ^0 P. [
  563. , S4 H; J4 t5 w- C, S
  564. ; Log errors to specified file. PHP's default behavior is to leave this value. q  ~2 @- o8 a) i' w  ?
  565. ; empty.  @9 G% E% v% ^. S3 v/ y
  566. ; http://php.net/error-log+ n) F7 ?6 I6 F+ C6 ~
  567. ; Example:* @) f& u7 P& ^
  568. ;error_log = php_errors.log
    2 s+ ^3 C  q- b' V# r, g
  569. ; Log errors to syslog (Event Log on Windows).- W0 t4 f& g4 L. @9 q
  570. ;error_log = syslog
    4 W( N" w" R" G0 @4 w6 b" S0 T
  571. " T( x+ Y2 S( @1 X0 M  _+ Y
  572. ;windows.show_crt_warning1 m3 Q% H4 K& E/ L5 J, x1 C
  573. ; Default value: 0
    : N: Z- c& h5 z- ~1 y1 ?
  574. ; Development value: 0
    : f3 a2 m8 [  R) u0 W+ F
  575. ; Production value: 0
    4 Y$ E: m. d" Y$ f5 d

  576. ; l# b* O: ]% M# A- K
  577. ;;;;;;;;;;;;;;;;;4 Q9 j# v. e7 z* P
  578. ; Data Handling ;
    , C) n) O7 a  v9 }) ?
  579. ;;;;;;;;;;;;;;;;;; Q8 Q+ _3 }* Z7 S4 h: N% Q4 Y
  580. ) `. S! k3 S& A' O% H- E  o3 R
  581. ; The separator used in PHP generated URLs to separate arguments.' v1 Z, _/ {+ l$ ?! W  p
  582. ; PHP's default setting is "&".  D9 |- r0 U: m9 g. \; j  ]8 u
  583. ; http://php.net/arg-separator.output  S) v" M9 F0 G  L
  584. ; Example:' y- z, }7 J* Q' B7 {. k7 [% y3 g
  585. ;arg_separator.output = "&"$ o( j3 S" V1 ?3 X2 ?

  586. + m* I* t1 h+ ]" I; T& E! Q+ U
  587. ; List of separator(s) used by PHP to parse input URLs into variables.) r0 N7 r8 s+ i8 {
  588. ; PHP's default setting is "&".
    4 [1 M; }6 O" M2 w& {+ p4 G# y
  589. ; NOTE: Every character in this directive is considered as separator!, C$ Q2 J" ^. [7 c7 j( i' C7 g
  590. ; http://php.net/arg-separator.input5 n/ x! u& c6 m+ V
  591. ; Example:
    , [9 s/ j# D1 h" I
  592. ;arg_separator.input = ";&"
    % B" m5 |# V4 T4 N
  593. + I. \9 e' h/ _* R4 M
  594. ; This directive determines which super global arrays are registered when PHP
    " Y- v1 @' a) h2 d- K# `
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super2 E, x8 c( f' ]0 F( ^
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty" I/ K4 n' m. T. i* q- k) k9 y
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    4 S0 q6 N/ o- m' P/ @6 G
  598. ; used as the others, ENV is not recommended on productions servers. You
    : _: p6 \" y. S" i2 G- L! q& u
  599. ; can still get access to the environment variables through getenv() should you, ^3 z# T) e& }7 n8 n7 Y& w; p' J
  600. ; need to.
    9 s) z* y$ W) w0 f& ]: f- _* Z% a  D
  601. ; Default Value: "EGPCS"
    + p& x$ w3 d3 L6 c* a) P3 ^
  602. ; Development Value: "GPCS"
    5 a, n7 }4 n; k% p$ ~, w' J
  603. ; Production Value: "GPCS";
    5 Y) c+ o) s  [2 h% h* _  I
  604. ; http://php.net/variables-order
      N' K) n4 }. W, j; @, B/ {1 H
  605. variables_order = "GPCS"- X8 K' j2 v! N" G' |
  606. 1 h) }0 M8 [  Y, g" s9 g+ r2 e
  607. ; This directive determines which super global data (G,P & C) should be1 F3 l/ N" [1 B1 O
  608. ; registered into the super global array REQUEST. If so, it also determines
    / l5 }9 w9 m% C  q; d. Z  Z
  609. ; the order in which that data is registered. The values for this directive4 B3 L9 K/ O, L" ]- z) V' L8 C! f
  610. ; are specified in the same manner as the variables_order directive,/ |( m8 E" ^+ t7 F/ `3 l; \* Q
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    4 A0 u, f) C) U$ `* d4 {4 V
  612. ; in the variables_order directive. It does not mean it will leave the super
    ; n! _4 q) [  [) q0 h" U: L
  613. ; globals array REQUEST empty.
    8 P' }% Z* |  ]2 l" I% F* B( [7 J
  614. ; Default Value: None
    ( ?, h7 j0 k) @9 G7 p& F
  615. ; Development Value: "GP"0 h7 z' Q! Z0 U' J
  616. ; Production Value: "GP"# G& V& ~. D7 C3 @8 ?5 O' Q
  617. ; http://php.net/request-order4 I. C$ W3 b) L% S
  618. request_order = "GP"
    5 v1 R) @8 Q2 w# c4 q% J

  619. % i* Y( I/ ~9 o* z3 Q' m
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    * T( E# J, Y6 x7 g
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script7 R; |! G8 b' e% [' a/ X* c
  622. ; is invoked. $argc contains an integer representing the number of arguments# y/ W  @: I5 x) P2 a
  623. ; that were passed when the script was invoked. These arrays are extremely
    4 S7 J5 R: e1 J2 f* v& J
  624. ; useful when running scripts from the command line. When this directive is
    9 g+ m1 o* Y; ~6 y- V
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    ( y, @& Z  J+ U, b
  626. ; a script is executed. For performance reasons, this feature should be disabled
    3 a  \; y9 Q% W: b" w7 u* e. Y- h$ }
  627. ; on production servers.
    : h* t) i. ~! G( ?
  628. ; Note: This directive is hardcoded to On for the CLI SAPI9 X5 ?% S* x4 K& }& b
  629. ; Default Value: On. Z! B8 r( r/ U% C- _
  630. ; Development Value: Off, H' _& w2 k3 A1 c# |! C
  631. ; Production Value: Off
    ' I5 ~2 S$ x* j0 _1 W: ]
  632. ; http://php.net/register-argc-argv
    , N3 a. Y+ O. Y- k, U+ c
  633. register_argc_argv = Off, \" n4 i! g7 |- B
  634. 9 o5 T6 J( y! M* W4 u
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're* V9 R2 B$ ^4 `4 u/ N
  636. ; first used (Just In Time) instead of when the script starts. If these
    $ q' l( X' X6 H+ L; N
  637. ; variables are not used within a script, having this directive on will result
    0 |1 q" S7 O% `) u- \
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    - u' t+ C+ ~4 H' g  {3 e
  639. ; for this directive to have any affect.
    3 }. ]7 P4 @3 t5 [
  640. ; http://php.net/auto-globals-jit
    7 z. }7 h- [( V/ [
  641. auto_globals_jit = On
    ) x& ^" m) T. t$ y& c; q! S
  642. : w) }# X+ r% F" y& C' Z
  643. ; Whether PHP will read the POST data.. D4 v% l+ g" H: d
  644. ; This option is enabled by default.  O8 r* R1 F9 H
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST% v+ `2 Q$ ?/ Q5 r
  646. ; and $_FILES to always be empty; the only way you will be able to read the7 A1 [" M4 C/ d1 r3 c5 {; o
  647. ; POST data will be through the php://input stream wrapper. This can be useful9 k$ J8 ^8 b* n* S; E* C) T# a
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    ; _' S* [, n3 g3 @( W! k
  649. ; http://php.net/enable-post-data-reading) x9 Y; |7 A* b$ _, T
  650. ;enable_post_data_reading = Off/ N4 v6 N9 x. M: x6 H9 M% V9 x; y

  651. : b; t9 F* ?. I. R/ `% U$ X
  652. ; Maximum size of POST data that PHP will accept.
    , S  L/ b9 O6 G
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading& w4 C7 K" w# X3 m" h9 h
  654. ; is disabled through enable_post_data_reading.
    0 {  u1 d5 J9 Q: v! h
  655. ; http://php.net/post-max-size0 _% ^2 b7 y/ Y; s
  656. post_max_size = 50M- H: |5 J( ~3 a$ Z$ z+ b

  657. ! a; g+ X8 L  X1 U- U: r
  658. ; Automatically add files before PHP document.2 ?& M8 P9 M1 [6 L, o( I6 ~
  659. ; http://php.net/auto-prepend-file' @1 T$ u: [# F, o+ s
  660. auto_prepend_file =
    $ |( ^" D+ Y  B- G. G  P
  661. 4 a4 q" s' d8 Q- ?
  662. ; Automatically add files after PHP document./ r. ~! X( T- z  ]0 S+ ~
  663. ; http://php.net/auto-append-file
    * N% A5 |; ~: U, K( J( l3 p
  664. auto_append_file =* Z% f( w8 R0 J; p  @+ B$ P
  665. 0 f' y" y' b) ~( U. F* |
  666. ; By default, PHP will output a media type using the Content-Type header. To
    4 \$ v4 g+ @4 Y
  667. ; disable this, simply set it to be empty.6 b2 M& Q) C0 w8 A& S
  668. ;
    , s! D" x& r9 `6 C8 j3 @
  669. ; PHP's built-in default media type is set to text/html.# [- d/ x6 y4 R
  670. ; http://php.net/default-mimetype
    1 O5 M2 p) a0 }. ]" q
  671. default_mimetype = "text/html"
    ( W. E7 B' c" F- Z
  672. 1 C# j' a" w/ L0 r* p
  673. ; PHP's default character set is set to UTF-8.
    % J& t" b+ d# e. K$ L. p9 a3 j
  674. ; http://php.net/default-charset
    : [+ _6 s9 X* t  K$ K1 y. X
  675. default_charset = "UTF-8"% h7 R* H' K9 w3 \! t; e1 j
  676. & M1 D! L0 g6 g: d0 X" @7 v; k( l" W
  677. ; PHP internal character encoding is set to empty.
    4 i! w5 \  p( d' `; P6 h
  678. ; If empty, default_charset is used.# q) w- ^& k5 p1 @# u& t
  679. ; http://php.net/internal-encoding. ~$ R6 M2 F' ?- D$ X
  680. ;internal_encoding =( t; b4 \1 D! N8 \& M5 G' o" r
  681. # j. k6 h) e9 S1 S. ^+ T
  682. ; PHP input character encoding is set to empty.+ R& M) @$ x* Q% L- H1 z
  683. ; If empty, default_charset is used.
    2 p/ B& k( k4 L- P$ ~5 g
  684. ; http://php.net/input-encoding
    " c3 p' T) N  I
  685. ;input_encoding =
    # J  N. W/ H0 |: _- f0 D: [1 r% N% m

  686. 2 G" A1 C  r! w! o. T* i1 C7 ]
  687. ; PHP output character encoding is set to empty.+ [6 i9 B( s( g! |) |
  688. ; If empty, default_charset is used.
    % d1 G+ b; m2 l- h9 J" p
  689. ; See also output_buffer.8 i( t' i/ O' {1 a0 y" r) G
  690. ; http://php.net/output-encoding& D' }. [) H1 k/ R) T, A
  691. ;output_encoding =5 }+ Q/ D" `. o5 d  @+ x

  692. . G6 d9 C  b8 T: B" d' e/ F
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;- B% j( R3 T& T- X
  694. ; Paths and Directories ;
    8 P* M5 ^% z: y7 c) p
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    # ?% G8 F, X$ e2 Y$ _$ \. @+ z

  696. 0 \5 X0 h- j) Y$ [+ [' O% e
  697. ; UNIX: "/path1:/path2"
    , n3 @" d' `/ ^8 r! W
  698. ;include_path = ".:/php/includes"
    * m: ~- u& _& d' A2 k( r
  699. ;2 q' u( ?# ]0 y1 a9 {# {8 u
  700. ; Windows: "\path1;\path2"
    ' v& @8 Y; E0 m  p! z- n! ?* C% ^
  701. ;include_path = ".;c:\php\includes"  y6 \- G. [% T/ H( E6 q  I
  702. ;0 P+ w, M- f3 k4 _  {% d
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"- L7 p$ m% B& o  @
  704. ; http://php.net/include-path
    ' Q$ n! J) m1 ]. X
  705. 9 s) i$ Z7 g. S, K1 B& M
  706. ; The root of the PHP pages, used only if nonempty./ S7 L  U  [  g/ X% D. w8 m" d/ a
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    " G4 j) ~% C! i2 F4 T
  708. ; if you are running php as a CGI under any web server (other than IIS)" L$ k1 w. O& B6 Z" [1 ~# |. g
  709. ; see documentation for security issues.  The alternate is to use the
    ! K, X9 {( R' \5 ]
  710. ; cgi.force_redirect configuration below
    ' T! I2 F9 ]! F& M6 K
  711. ; http://php.net/doc-root
    8 P6 C, V" N" g2 L) e
  712. doc_root =: f8 A" |) y+ Z5 I3 @

  713. ! v2 S- e6 r4 ?4 R  S
  714. ; The directory under which PHP opens the script using /~username used only7 J; T- i( I% M2 o1 ?, z$ Y0 ~7 j
  715. ; if nonempty." g+ v) g- |  K3 i* d7 y2 L- w
  716. ; http://php.net/user-dir
    - J/ c% B8 G% y- [  N
  717. user_dir =
    ) |% _. i2 C) q/ J% c9 I
  718. $ j5 p( r& |0 o- K- p- d3 v( x6 ?
  719. ; Directory in which the loadable extensions (modules) reside.
      T% R3 k( A( R% f
  720. ; http://php.net/extension-dir
    % d1 C6 y9 h8 q( ]' V
  721. ; extension_dir = "./"
    * J( V4 x, L" P' T0 p0 X; [
  722. ; On windows:. n& N; h$ d2 G; \! A( y6 d( {
  723. ; extension_dir = "ext") D& m9 Z) g3 g
  724. / p# s9 e: F5 y8 S
  725. ; Directory where the temporary files should be placed.
    3 e% @* Z- g* K) X+ d! Q
  726. ; Defaults to the system default (see sys_get_temp_dir): W. ], \/ X; B& h4 a5 g
  727. ; sys_temp_dir = "/tmp"* N) _8 p  P( D
  728.   ~2 o6 a" V: W8 @3 V9 I% ]
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    % h, I  S# ?. X) s5 A! r
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    $ Z+ n; l, ^: W1 I, M0 C
  731. ; disabled on them.1 }( r/ y, F! q3 l4 w
  732. ; http://php.net/enable-dl+ P' a/ b, f( H- T& `: i/ b/ W
  733. enable_dl = Off0 [+ C" |- ~1 y: C5 j6 k

  734. ( G: V* P+ b* ^, e& _
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under! e, @& o+ d  U# K$ w
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can4 L3 o! Z1 T, @$ d2 K. F
  737. ; turn it off here AT YOUR OWN RISK
    ) x0 H: O4 ?" c4 ~# L- X
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    ; c1 r, ~. y5 Z4 J* k' S- j9 n
  739. ; http://php.net/cgi.force-redirect
    - O: \1 {' ?' G& I' X) x
  740. ;cgi.force_redirect = 1' `- u3 E: }0 w; P

  741. , k0 |, U+ _8 s0 `4 j' S! h
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with" q/ n6 r  I' h* V& k9 \! K
  743. ; every request. PHP's default behavior is to disable this feature.8 g( s# l' h# `+ [% Y* L& ^) n
  744. ;cgi.nph = 1: l/ z3 W; e! R; ^. x% B
  745. / _4 B& n( ]3 T7 Y
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape/ p, r7 d2 E. |- S: Z3 w4 S
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    4 o6 c" V: K7 a( G/ ?& Z* V
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY9 }- Q# t- ]7 h5 u$ `( `+ t+ |
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.. w3 |+ I/ B( Z( L6 Y" t& ?, ^( i
  750. ; http://php.net/cgi.redirect-status-env
    * S6 w# z) i8 L
  751. ;cgi.redirect_status_env =" H- q1 Q: p- q: Z$ n

  752. / L1 O- R( y( M0 M+ D$ M( [
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's$ E3 [" X4 Q0 T' A3 W
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok2 ~, B( I! e. t7 Y1 ?  w1 f3 p  N
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    ( S, C0 ]  J  O) t% C
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting/ c- ]  i+ C/ ^
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    6 m* X8 ?" w$ p7 h! f+ y
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED./ k$ v( o1 `$ c! j8 P
  759. ; http://php.net/cgi.fix-pathinfo
    " ?8 w* f. r0 Y$ ]* C
  760. cgi.fix_pathinfo=1% q! [6 b8 w# |0 ~7 T6 o

  761. 8 ?7 y1 r2 W0 ]' d. C2 {* [
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    3 J' ?: t9 P5 [% {1 N
  763. ; of the web tree and people will not be able to circumvent .htaccess security.. ?& b9 m# q1 y/ N, u9 v
  764. ; http://php.net/cgi.dicard-path1 a( R0 R( n+ D8 Q& g3 ^
  765. ;cgi.discard_path=1- D+ g* e8 E3 q* h
  766. - A% K$ A+ T7 E$ v. P' ~
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate& J8 D+ m, w* s( `! d$ K! Z$ t
  768. ; security tokens of the calling client.  This allows IIS to define the
    3 f: M: v6 ?  f" n
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    / s; A6 t9 |* l5 u/ V# @, |
  770. ; does not currently support this feature (03/17/2002)
    8 c- D2 F, E- K- S
  771. ; Set to 1 if running under IIS.  Default is zero.( P* ^4 N/ V- A& W! ^1 a
  772. ; http://php.net/fastcgi.impersonate% q6 v5 d5 |+ X5 N4 ~
  773. ;fastcgi.impersonate = 1. n$ Y9 Z. n% u; q
  774. 9 Q& Q9 k' N' \( `) |
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable' X. v( J4 l0 X; X8 U# [7 v
  776. ; this feature.
    5 c* L" O& x4 {8 |; j
  777. ;fastcgi.logging = 0
    % S# S% C! D& Z- e
  778. $ }! {2 ^+ {9 ^& q* d. v
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    6 [6 Y5 f+ f4 B9 u. A
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    ' u8 m' N% X8 R* G/ g9 Y
  781. ; is supported by Apache. When this option is set to 1, PHP will send+ e5 V9 Q- R" y  M! i
  782. ; RFC2616 compliant header.
    : C6 C% I( `1 [8 @( c# F  e
  783. ; Default is zero.0 g2 ~7 G3 p3 l# s* ]% c% e( ^8 ?
  784. ; http://php.net/cgi.rfc2616-headers" _8 S/ ?3 W; C
  785. ;cgi.rfc2616_headers = 07 o- t. \6 f# I+ [  c

  786. , t- A) m4 i. T* {
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    . S# L( y! K3 |7 k7 O5 |, p! Z
  788. ; (shebang) at the top of the running script. This line might be needed if the  O' S' M9 b  v- X
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI1 \1 L4 x; m: N; B
  790. ; mode skips this line and ignores its content if this directive is turned on.0 ~; a0 }# b& U" I" h
  791. ; http://php.net/cgi.check-shebang-line: W) ]% U. ~0 K) z, k- T
  792. ;cgi.check_shebang_line=1
    9 `# I6 a0 U- p6 q* v
  793. & ^$ G2 g9 l% \$ h+ c: t5 d7 ~) T
  794. ;;;;;;;;;;;;;;;;/ T8 H' F) i: F; T) z
  795. ; File Uploads ;
    : A; l5 ~$ P+ a& f, D; B. r8 m
  796. ;;;;;;;;;;;;;;;;
    , |  R" g+ U2 v

  797. 6 p4 R% `. X3 d( E0 B
  798. ; Whether to allow HTTP file uploads.  Q& j  Q# [' Z3 i5 n7 @4 q2 I
  799. ; http://php.net/file-uploads
    & Y/ o* F, z& p4 \: p7 o+ S
  800. file_uploads = On
    $ y( F" J2 `) v% c6 P

  801.   R5 Z( O- v$ o
  802. ; Temporary directory for HTTP uploaded files (will use system default if not5 o4 p! P: c+ |8 `
  803. ; specified).# }  }; a: c; S; s0 A8 n! y
  804. ; http://php.net/upload-tmp-dir
    , d) m1 `- c( |4 J1 D$ K
  805. ;upload_tmp_dir =& I$ M% o% x" @' O% C

  806. 9 F0 U# B7 c  l
  807. ; Maximum allowed size for uploaded files.* K; F4 Q) P4 N. E$ `# i/ p; j9 Y
  808. ; http://php.net/upload-max-filesize
    . i6 O. l( t* |9 I/ V0 o+ I
  809. upload_max_filesize = 50M4 \7 L& M5 A# O2 W
  810. $ l  O7 S# I) q6 \
  811. ; Maximum number of files that can be uploaded via a single request9 J- {/ q' i; o: D
  812. max_file_uploads = 20
    - f& D( H. {, C1 c" e! S! y0 o

  813. 7 ^6 D0 n+ a. v1 p" g
  814. ;;;;;;;;;;;;;;;;;;6 o, d) U6 N* ]0 v$ ^
  815. ; Fopen wrappers ;6 A/ `4 D# m5 o" r0 B6 @
  816. ;;;;;;;;;;;;;;;;;;8 v+ f7 }- R( S0 W
  817. ( |' ^5 e7 T2 g
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.1 ?0 K$ W3 u0 i& P( s
  819. ; http://php.net/allow-url-fopen- M( j* s' H% k- p# O
  820. allow_url_fopen = On
    * N. h9 q, q, i: ~) k+ s
  821. ; @% x- A: t9 E
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.- ], q0 H* `' u) R: u. h
  823. ; http://php.net/allow-url-include
    / v& K, ~5 Q3 s( h6 p
  824. allow_url_include = Off% d1 l- a7 e- l2 S

  825. 8 V) \& j/ W' g* ?1 A9 @
  826. ; Define the anonymous ftp password (your email address). PHP's default setting9 q  D% b( e8 N5 ?/ d
  827. ; for this is empty.3 s8 P2 B5 {) y% J$ p
  828. ; http://php.net/from4 I" u. {9 J$ e4 {' |! x
  829. ;from="john@doe.com"
    6 P; Z9 X/ X& u: g' l9 D
  830. 4 F  V; F, x" U0 I
  831. ; Define the User-Agent string. PHP's default setting for this is empty.3 s  V) u; o' f% Z
  832. ; http://php.net/user-agent/ S( B, @. S# A
  833. ;user_agent="PHP"
    0 D+ m$ {! j/ _2 |5 }  B

  834. + S9 G* ]& E+ W+ F# k( l* x
  835. ; Default timeout for socket based streams (seconds)
    - ^) C. \1 Z+ b1 ^
  836. ; http://php.net/default-socket-timeout' p; q' D$ g; Y- o0 K# S9 J
  837. default_socket_timeout = 60: ~. p* e' [# p
  838. 0 E' @5 V& R2 {' k3 E+ \
  839. ; If your scripts have to deal with files from Macintosh systems,
    ' R5 n  I! J5 x
  840. ; or you are running on a Mac and need to deal with files from- s" t8 q( P2 ~% L
  841. ; unix or win32 systems, setting this flag will cause PHP to
    & g# I5 q' Z2 e" l: I& E: t% p5 h6 n
  842. ; automatically detect the EOL character in those files so that8 ^' m8 f. b9 s8 Q# }* O" u" R
  843. ; fgets() and file() will work regardless of the source of the file.
    3 w: _8 T/ d3 ]1 z6 K! u/ Z
  844. ; http://php.net/auto-detect-line-endings7 V2 w. o# O/ g1 y( U2 j; ]7 ?
  845. ;auto_detect_line_endings = Off
    ) Z% d# L0 ?5 q( k$ o" c" E

  846. % C4 X! L2 A9 O  z: h8 W4 q5 Q
  847. ;;;;;;;;;;;;;;;;;;;;;;
    ( z6 f9 {6 |8 T- T* b+ M1 `$ z
  848. ; Dynamic Extensions ;. h% q% w" c3 B0 {9 T7 t- B" _- U
  849. ;;;;;;;;;;;;;;;;;;;;;;7 B0 b( h: o& \8 X- q$ M1 y" b
  850. ) _/ C) w5 m0 H! D, e
  851. ; If you wish to have an extension loaded automatically, use the following
      B" b0 E7 Q) U9 f4 a' ]8 d  s
  852. ; syntax:
    * {; U; y2 R; G0 k
  853. ;. j# t% ^9 H: A
  854. ;   extension=modulename.extension% z6 z: \% F" x' I6 r( a
  855. ;
    7 L! d  I3 \; z) t; r
  856. ; For example, on Windows:
    , w3 g) q* o4 k- {) ~4 U* m* Q
  857. ;
    8 d4 }" O$ x2 X9 A
  858. ;   extension=msql.dll% o" R# P) E% ^4 e8 j& Y
  859. ;
    : s7 x/ }0 R3 a' k/ T
  860. ; ... or under UNIX:
    . m' t: i! K8 I1 U/ h* E# I
  861. ;
    ) P$ Q- N# P8 k) P3 }! O$ D
  862. ;   extension=msql.so$ ^, E  J  f$ N4 F+ i: `! c  S
  863. ;/ S  Z# u& P# Z( _+ M- [
  864. ; ... or with a path:% r9 v3 A$ d% W  m" q' }1 r# d! `
  865. ;+ U- H$ c7 _0 f6 M& ]* v: Y
  866. ;   extension=/path/to/extension/msql.so
    5 t$ X9 f8 ~8 f
  867. ;* e; ^, S; s/ v7 y# w# r
  868. ; If you only provide the name of the extension, PHP will look for it in its& p- v- e! ~3 i$ f' D
  869. ; default extension directory./ l5 S2 T+ H: ?+ w  j; M* x% j
  870. ;
    7 B, Z6 {; j) h) [# d+ b6 t/ m
  871. ; Windows Extensions3 x) a$ f3 h1 s. b/ \) y
  872. ; Note that ODBC support is built in, so no dll is needed for it." z1 Q: o. n# W6 q0 h/ J5 x
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)5 E; Z2 M- n- D6 a' _
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    ; [* A% U1 ^! D8 S
  875. ; Be sure to appropriately set the extension_dir directive.( c! F! G3 C1 T1 B% Z  k" M
  876. ;2 y" k/ P- j+ X
  877. ;extension=php_bz2.dll
    9 p2 E; F( u; b; p4 _' z
  878. ;extension=php_curl.dll& H7 p; f) V0 G
  879. ;extension=php_fileinfo.dll
    # f& q/ c. |0 A  p2 r8 L) T. T
  880. ;extension=php_ftp.dll
    " R) ~. U) a4 Z+ _; ]7 b. W2 p
  881. ;extension=php_gd2.dll
    # E& W% _5 I! B- ?* x3 y
  882. ;extension=php_gettext.dll* @% g6 R3 F9 E. g  h2 e+ _9 L
  883. ;extension=php_gmp.dll) W; k# }! v( m. X. ~: ^5 F
  884. ;extension=php_intl.dll1 F( d6 u2 W( Z1 l) H' F( s
  885. ;extension=php_imap.dll, @+ u2 x. O6 Y  s- h( x
  886. ;extension=php_interbase.dll* b" m9 Y1 F: D* J9 j3 ^7 k
  887. ;extension=php_ldap.dll
    8 t% Q! i" Y7 d% a) w  b
  888. ;extension=php_mbstring.dll
    : M# g  O! m' U2 n2 R& y" H! P
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it! ]9 F0 T: q* M7 F% H. X3 h6 X
  890. ;extension=php_mysqli.dll' m" c% @' i( a, }! c
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client/ N+ \" D8 c; s
  892. ;extension=php_openssl.dll
    1 \7 a2 l. f9 B& V1 y! [; g) t
  893. ;extension=php_pdo_firebird.dll
    5 g6 `! S. \: g2 j
  894. ;extension=php_pdo_mysql.dll
    2 g, H1 }# r0 T, p6 Z8 |/ x. w7 ?
  895. ;extension=php_pdo_oci.dll) [6 Q9 W  ^& b4 v
  896. ;extension=php_pdo_odbc.dll+ z" C6 U5 k# K$ e7 U
  897. ;extension=php_pdo_pgsql.dll6 i' B" H/ i. d' A" X' |
  898. ;extension=php_pdo_sqlite.dll- Z; G6 f# U8 t2 R3 ]; m4 ?% {0 o9 D
  899. ;extension=php_pgsql.dll2 L; ?- T( o7 `
  900. ;extension=php_shmop.dll) m# A& B6 ^& G

  901. 4 l! q( p  e5 L9 c7 ~
  902. ; The MIBS data available in the PHP distribution must be installed.
    % F0 D" k0 [' Z- d4 D
  903. ; See http://www.php.net/manual/en/snmp.installation.php6 }6 [9 g3 o" i  k1 Z1 q' u" @2 K* g
  904. ;extension=php_snmp.dll% J1 P" K; f: L) m( E6 h

  905. 8 e/ W. H& W+ [+ t5 a2 s  a
  906. ;extension=php_soap.dll6 E- x: `/ Q0 J8 k
  907. ;extension=php_sockets.dll
    & @8 H* H0 n, D; T! M/ T
  908. ;extension=php_sqlite3.dll
    1 u) n% N& v/ H
  909. ;extension=php_tidy.dll
    / Q0 M, \- S& X% L5 }) l3 I' S6 K
  910. ;extension=php_xmlrpc.dll! k9 z, l/ I( o# U, G) i5 T
  911. ;extension=php_xsl.dll: @- ?2 e& R# }* n+ O  q- ^

  912. 6 J; S1 @: L/ v' A: \
  913. ;;;;;;;;;;;;;;;;;;;
    - t. t9 Y1 z4 J/ K0 V9 X
  914. ; Module Settings ;/ ^2 Q. F+ X& W# F7 M) w4 Z; K
  915. ;;;;;;;;;;;;;;;;;;;3 ^: g' k" y1 w( f' f% m

  916. 3 I# |! @  `% d5 k. P* K
  917. [CLI Server]+ M3 d- k$ W4 P" m
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    - r  M2 s5 t5 O
  919. cli_server.color = On
    $ h% N; h" n& A  N; U1 w

  920. 1 _! b$ ?& W  I+ K
  921. [Date]
    * W* h2 X7 E8 L0 h8 a
  922. ; Defines the default timezone used by the date functions7 B; z9 B9 A6 \$ r( \, w
  923. ; http://php.net/date.timezone
    2 F' Y& o* m) A6 |
  924. date.timezone = PRC  i; o, _- e5 T+ U& W9 M+ d

  925. % \. s; k7 T3 o6 u; G, K0 m
  926. ; http://php.net/date.default-latitude
    7 z7 b4 Y7 X) h& F) D
  927. ;date.default_latitude = 31.7667
    - k, }7 I/ v6 N0 X4 s0 P' E

  928. % O& A0 ^# D% g3 m- T, s
  929. ; http://php.net/date.default-longitude' `/ N5 E  i. z5 g3 C3 d
  930. ;date.default_longitude = 35.2333! c- g  x$ ]; z8 ^; p% V1 ]" _4 H- x

  931. : l4 S8 a" R* A' ]' q2 O
  932. ; http://php.net/date.sunrise-zenith
    + G/ A& X6 c& y& R; y8 S, L
  933. ;date.sunrise_zenith = 90.583333
    * N5 s; p; R# {; \* a# t

  934. : K$ V) p; Z; T2 Z% K2 ~
  935. ; http://php.net/date.sunset-zenith9 g+ S  W, h" Y! l
  936. ;date.sunset_zenith = 90.5833338 w  _' u4 ~9 X: _. [

  937. 5 A7 R# l" ^; `& F7 c# J" l/ Z
  938. [filter]$ B* [  ]/ \+ |8 ]4 R+ \) Q$ P
  939. ; http://php.net/filter.default
      H2 c4 ?# e' i* C9 N
  940. ;filter.default = unsafe_raw
    * k, A5 T" l# Q2 h: A6 Q

  941. / C( t4 M$ ~8 i* c
  942. ; http://php.net/filter.default-flags" v! ?+ Q% Q3 R# i1 Y# h; L" L! g$ l
  943. ;filter.default_flags =
    2 ^& r* e% X! k

  944. . {/ s, w9 p3 p. @
  945. [iconv]% _( t* e4 G- i& |1 ?* Y# x
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    + e! V+ ]' {: W' r: b, B
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.8 v5 `, h# J$ q7 m6 n
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    7 J$ Q, @! I/ F
  949. ;iconv.input_encoding =
    8 u. E* C5 l, L0 h
  950. & V0 q0 B" t- E, A
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.+ }$ O. S7 L; O/ Q0 }3 h5 b4 n/ H
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    . F! Y& F+ A+ o0 }6 I& D& ?
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    + R0 q" J0 C- ?0 _
  954. ;iconv.internal_encoding =
    + y4 y+ l+ O! u: g7 G5 ?* Z
  955. 6 \8 s9 R) L) H% }& R  e- O+ e$ `) j
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.! B% n) h7 B0 T& V
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.* k8 ]6 a: [0 F' g& a+ ^) q( X
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding2 l# B. q6 O2 G, @& S
  959. ; To use an output encoding conversion, iconv's output handler must be set
    ; I% j& x2 D9 E& t
  960. ; otherwise output encoding conversion cannot be performed.
    1 R! {. f( N. r  S' u' C$ j- `: Z: |
  961. ;iconv.output_encoding =4 q' e# l- S4 b- M% ?

  962. ' R0 U  T% _% j) s7 I7 o, q
  963. [intl]
    1 D5 q' `* y: M# r8 P4 w5 E+ O
  964. ;intl.default_locale =
    5 M4 U$ U2 d* f& j  e1 w& ]
  965. ; This directive allows you to produce PHP errors when some error1 X. Z+ b2 K! @% ~8 F
  966. ; happens within intl functions. The value is the level of the error produced.6 A8 u+ I$ v8 ]5 V1 q/ r+ K
  967. ; Default is 0, which does not produce any errors.+ ]1 X$ @8 i( w8 ?
  968. ;intl.error_level = E_WARNING8 P) I! G8 a- Z  @
  969. ;intl.use_exceptions = 0
    $ Z. E: K5 L: V5 w9 X2 a1 p5 a2 S
  970. * p4 \/ [8 f; |- p5 U4 E; w! C
  971. [sqlite3]7 I, C9 R/ _4 S' t1 ?, ]6 [; Z  Q+ ]
  972. ;sqlite3.extension_dir =4 s1 V* Q* N2 x* J( L/ {* O

  973. % b9 z! ?" ^( K% ?& L7 h$ P( t2 ~2 B( }
  974. [Pcre]
    ) T* k1 h% D) @
  975. ;PCRE library backtracking limit.* ]0 e$ q) y+ u4 M
  976. ; http://php.net/pcre.backtrack-limit
    2 y9 e/ E2 s/ A) T
  977. ;pcre.backtrack_limit=1000000 s* b- J  G6 c

  978. & t  `4 ]3 b/ J' e  u
  979. ;PCRE library recursion limit.: C" A! j% p  D
  980. ;Please note that if you set this value to a high number you may consume all' k) W) y" A, [% A
  981. ;the available process stack and eventually crash PHP (due to reaching the! E+ W7 O- U/ ^; S& ]2 @" q* f4 ]) H
  982. ;stack size limit imposed by the Operating System).& _8 M! S+ f, [7 E+ l& X$ r2 b
  983. ; http://php.net/pcre.recursion-limit
    ( Q3 z, V& G9 M/ c2 W
  984. ;pcre.recursion_limit=100000
    5 P, S( Z( v. Z+ p  h. G$ V& G6 ~
  985. / o. W" t+ m& x: i
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    & q) V+ d4 x% z+ W; i: [
  987. ;library to be compiled with JIT support.
    ) M1 l9 s  j1 y( }
  988. ;pcre.jit=18 N  U6 Y9 U; W9 L0 ^
  989. 6 h* B5 R: e! @! D5 A  L0 A
  990. [Pdo]9 L7 g! r7 G2 |, V4 V* r  q
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    / D0 L; |! V8 Y; O8 m- F9 A! ]
  992. ; http://php.net/pdo-odbc.connection-pooling
    * U- {5 J. f0 l7 Z, d. a
  993. ;pdo_odbc.connection_pooling=strict
    # c1 X$ ?0 h, r( B3 q4 o7 m) S. b
  994. ; D% A8 H3 H* F6 {: U9 C# F
  995. ;pdo_odbc.db2_instance_name
    ' X8 I. j$ K& U; x% n

  996. ! w. e2 g; I' V" C' v1 o( t. j) S
  997. [Pdo_mysql]: @  E! |( v. g; U) i0 A+ w1 K
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ; l: g5 _) Q# r6 b3 F( m( _
  999. ; http://php.net/pdo_mysql.cache_size
    8 t6 f$ E1 Y7 C0 x
  1000. pdo_mysql.cache_size = 2000$ Q* Z! u/ T% `# w; a; m6 S
  1001. " X) Z: @% {! y, I1 e/ O5 O; A
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in* K' [! B5 [! L8 k& F; Q/ [
  1003. ; MySQL defaults.
    0 n/ {0 P  Z- G4 ?' q- z3 {
  1004. ; http://php.net/pdo_mysql.default-socket
    7 K( c- ^5 N7 I- W; {4 h" r
  1005. pdo_mysql.default_socket=
    9 G  k% _* d& Q; W0 X4 [7 v# R

  1006. 4 e3 `# A' f6 t3 Y, V
  1007. [Phar]. }, f0 |9 R* E* k' i
  1008. ; http://php.net/phar.readonly7 _" U, t* T  V" A9 \+ T' n; ~
  1009. ;phar.readonly = On
    ' W0 N: ~. k- t. L

  1010. ( f& o6 o- h7 U
  1011. ; http://php.net/phar.require-hash
    + c$ L# z3 \. i
  1012. ;phar.require_hash = On
    4 \/ B% G3 r9 \. Q" q

  1013. % Z7 n. r: R1 G2 h' J* C" E% {2 j8 n7 V
  1014. ;phar.cache_list =
    0 E% t# B: p" t$ r8 y, @8 V

  1015. * A7 q# M9 c- V  O; L
  1016. [mail function]
    . R8 Q" j! a1 D: l0 ~
  1017. ; For Win32 only.
    2 e: K" y1 G, ]  c
  1018. ; http://php.net/smtp& u3 W, B0 J8 X
  1019. SMTP = localhost
    6 M1 ]+ B% c- l9 p
  1020. ; http://php.net/smtp-port
    % G% U: [' a% l- ]: |3 k; H
  1021. smtp_port = 25
    1 [1 ?& g6 @6 `5 x, J9 C6 @& Z# r" |
  1022. 0 t7 `7 V+ c4 g
  1023. ; For Win32 only.
      `- y' m! u5 W7 `* }
  1024. ; http://php.net/sendmail-from2 E1 P" `$ B- h* V
  1025. ;sendmail_from = me@example.com  w" d  k  M/ T% |# ]7 C

  1026. 8 ^: P/ |" V! X* a, V
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    ! s! w5 s9 m* G9 T
  1028. ; http://php.net/sendmail-path
    , V3 N$ b+ s1 c9 V! [! f2 }
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    % u0 w* q, W+ i+ ]% F7 J, D' A
  1030. 9 b$ M) B. B* A. H8 ~/ y
  1031. ; Force the addition of the specified parameters to be passed as extra parameters" h3 {* E5 @# Y) M- n6 r1 N6 A" x
  1032. ; to the sendmail binary. These parameters will always replace the value of
    1 {: s" _" y3 z- w1 F# u
  1033. ; the 5th parameter to mail().0 M( d+ K- e3 F/ u/ y! o( w" A" Q# t
  1034. ;mail.force_extra_parameters =
    : D$ u4 F2 Y& N2 f

  1035. ' y  G7 T: k/ D) U$ K, K
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename0 W2 n* ?: H) f
  1037. mail.add_x_header = On$ P- b. D5 L8 S! Y. T) R3 V3 k

  1038. 9 |/ C+ ], z3 }
  1039. ; The path to a log file that will log all mail() calls. Log entries include1 d$ N. Z8 w* p5 `; _! {) Q9 ^" m
  1040. ; the full path of the script, line number, To address and headers.
    5 v$ p3 p0 n3 z; i6 A% t; ?
  1041. ;mail.log =
    ; x3 h. f) Q9 e& D4 R
  1042. ; Log mail to syslog (Event Log on Windows).
    ; \1 W0 n5 x' V
  1043. ;mail.log = syslog) U! E2 ]8 U4 u2 a9 R
  1044. $ }: X; n! M- e8 V& i4 o
  1045. [SQL]* X& _& P5 {6 X) x7 {
  1046. ; http://php.net/sql.safe-mode1 F( X* t5 m; [7 N6 A" y4 R# l! O
  1047. sql.safe_mode = Off
    6 [+ J8 ?: a9 d' W. k4 s
  1048. ) C$ W+ p( z- X- V" G
  1049. [ODBC]7 o2 @, k" K7 x4 T7 `
  1050. ; http://php.net/odbc.default-db6 |2 N1 j% N! Q0 S. R6 \
  1051. ;odbc.default_db    =  Not yet implemented
    ! F3 `7 u& p' @/ P0 N9 u
  1052. - M, R" j& v9 B
  1053. ; http://php.net/odbc.default-user
    4 }5 w7 S, q- {
  1054. ;odbc.default_user  =  Not yet implemented: p8 U" \3 l' w# x$ g( [$ w
  1055. 9 \( [7 t5 q9 r: B% m7 w# `
  1056. ; http://php.net/odbc.default-pw
    & X4 R, K- a1 p# H( l0 J1 q1 ~) a
  1057. ;odbc.default_pw    =  Not yet implemented
    " Z1 G+ l$ o) M0 b' b

  1058. 9 H* X7 }  p/ e/ s! H! ~1 K$ J" t
  1059. ; Controls the ODBC cursor model.( b: ?+ b' j# z7 P
  1060. ; Default: SQL_CURSOR_STATIC (default).7 w6 c9 o) H2 S) _# o3 e4 \; B
  1061. ;odbc.default_cursortype- Y1 y& v7 |" i9 F0 O; B6 Y. Z

  1062. , y# }1 N7 X8 e" H+ d
  1063. ; Allow or prevent persistent links.
    ; c' q4 y6 V3 V3 n/ u4 I" b0 C# C  M
  1064. ; http://php.net/odbc.allow-persistent
    2 I, j: m& v- x
  1065. odbc.allow_persistent = On
    ( m3 \0 J2 d0 n) ^

  1066. - D4 r. g' Z: I: Z% O  D3 O. o
  1067. ; Check that a connection is still valid before reuse.- i6 Q. J; W# o* _8 N+ D* L0 s2 ~
  1068. ; http://php.net/odbc.check-persistent
    , `- @; X5 s' x' x( d
  1069. odbc.check_persistent = On
    0 i( k. `" ~. a6 f) K
  1070. ' D6 x9 L' O, n( z- p* V$ m4 [; _# ~
  1071. ; Maximum number of persistent links.  -1 means no limit.# r/ `# t! m6 B9 D8 G5 A$ q
  1072. ; http://php.net/odbc.max-persistent! i# y+ K8 g$ [# ?' O9 H
  1073. odbc.max_persistent = -11 [9 w% p3 f. C9 @' Q  W. p

  1074. 6 {7 f: S; M: b
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.) v3 M; e9 ^" A) f& B( J% j! V
  1076. ; http://php.net/odbc.max-links& C) }/ Y% e  n( w* r
  1077. odbc.max_links = -17 i+ T" X1 o1 M7 q1 X5 T0 y

  1078. * I, Z1 b2 |  V6 ~% k
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means+ C# l% I0 F6 I
  1080. ; passthru.( h1 ^* V3 A" Q3 C0 T4 t$ L
  1081. ; http://php.net/odbc.defaultlrl' O; L, ?5 r7 W! u' O
  1082. odbc.defaultlrl = 4096) |: m3 ?1 n2 N$ ~" v& U3 o8 O
  1083. " W  Y8 ?' H0 ~6 X/ P
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    + l% Z) V1 v1 K/ W0 Q
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    # R$ z. B- Z2 L/ \: f: A5 `  X$ A
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    # ^; N, l! t1 g' D2 R% A, a7 B
  1087. ; http://php.net/odbc.defaultbinmode; V" D+ `. r8 X/ r. R0 h2 y0 p
  1088. odbc.defaultbinmode = 1
    + T; w# ]6 S3 p# Z
  1089. 9 U( w8 E8 q2 n
  1090. ;birdstep.max_links = -1# [7 I/ @$ [; ^* Y7 ]

  1091. 5 I' B' r% ~) Y0 d& r; U
  1092. [Interbase]
    0 ~" N- h0 p) x2 l2 d( ?
  1093. ; Allow or prevent persistent links.
    2 l0 e# X$ [1 ~% H
  1094. ibase.allow_persistent = 1: i! {8 ^7 _9 y9 V  ^1 Z, c
  1095. , e( R" T: E! v: s. M( _2 z
  1096. ; Maximum number of persistent links.  -1 means no limit.
    0 t- P8 M$ `( C' `- B
  1097. ibase.max_persistent = -13 T8 R& u: v' \

  1098. 7 r$ H- N) F) r0 u$ y
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.1 D( D4 a- g! i
  1100. ibase.max_links = -1/ g+ I- x$ x5 |4 z+ n

  1101. ' u' X7 @! c1 \/ ^
  1102. ; Default database name for ibase_connect().
    ) V' \) F: K0 H* r+ M  b4 Q4 X
  1103. ;ibase.default_db =
    : @/ ^1 c1 e& v. j" }. ^$ k8 ]
  1104. . m9 i0 m; I- _, H+ j4 o! j
  1105. ; Default username for ibase_connect().
    ' ^- a: B# g* U$ I# E- P, f
  1106. ;ibase.default_user =( G- K' I/ k. w0 N/ u. m
  1107. 8 A8 d: ^4 N0 T
  1108. ; Default password for ibase_connect().
    / Q+ W; H6 `  v! x
  1109. ;ibase.default_password =4 i- ~1 w  u* i7 @
  1110. : ^. `5 T! \- l
  1111. ; Default charset for ibase_connect()., K: |0 n! _! p! O/ R
  1112. ;ibase.default_charset =" M+ R# P0 W& S: e7 V  G
  1113. ; m" S0 H, l# H, ~8 L
  1114. ; Default timestamp format.
    . J/ `& z! J8 }% O* P
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    5 b0 |: X5 y( p  O% o
  1116. 3 K& l' O$ K0 o5 R" |3 C
  1117. ; Default date format.
    - s$ B  j/ x( X1 B3 w% o
  1118. ibase.dateformat = "%Y-%m-%d"
    9 r/ J# M9 c6 n( C; u- W9 b3 h
  1119. 1 l* L& B( |% d6 a4 h
  1120. ; Default time format.
    + }3 W* N6 \/ R. Y% }  D! D
  1121. ibase.timeformat = "%H:%M:%S"
    8 Q% H1 P! W5 f/ B5 e: O0 R
  1122. / W4 @1 l" i' x( m
  1123. [MySQLi]
    : ]' ^0 z* `% F% o. z) x" ?

  1124. 5 S5 }9 K3 }2 r8 @$ t
  1125. ; Maximum number of persistent links.  -1 means no limit.( {, q# C8 o% w1 Q9 @" {8 J$ @' j6 L
  1126. ; http://php.net/mysqli.max-persistent/ c2 a: s0 v, ?9 K
  1127. mysqli.max_persistent = -1  x% B2 L; o7 `% H1 ?, x. P

  1128. 7 U: Q% N4 x5 @* |8 K" }- p1 l
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements/ a/ g7 F) [+ G; f: B
  1130. ; http://php.net/mysqli.allow_local_infile
    ; s* t, }4 n, o# z, w
  1131. ;mysqli.allow_local_infile = On7 u* D8 d& m( w, R' }

  1132. , A* U2 ?. R3 H- P
  1133. ; Allow or prevent persistent links.
    ( O5 |. R+ w+ a. b0 V
  1134. ; http://php.net/mysqli.allow-persistent
    9 w# L3 f* x/ f* b* R+ i( j
  1135. mysqli.allow_persistent = On- M# e% r/ h+ r

  1136. - P9 }% p0 ^8 Z9 N
  1137. ; Maximum number of links.  -1 means no limit.! {" O5 y0 o8 R% t
  1138. ; http://php.net/mysqli.max-links
    4 ]4 I: s' @1 u4 [7 M- Z" a+ Z
  1139. mysqli.max_links = -1% u+ O: x% Q! Y5 Z: p. H

  1140. 2 H3 o5 }: B/ x/ W: t
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    : e7 e3 }, V9 T. _) D; z6 l
  1142. ; http://php.net/mysqli.cache_size
    6 D5 |) F; G/ Y; Q3 H( u( E8 G" N/ s. t
  1143. mysqli.cache_size = 20003 h  L, ~! z2 j+ @
  1144. 3 {$ l' v6 w# _/ b+ c9 M/ x* A
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use7 D9 Z& r9 K0 C
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    + K- H; H& Q+ B9 \! ?; t  R9 X% c- {
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look6 r/ w  \. Q1 _
  1148. ; at MYSQL_PORT." w! t5 B! {+ ?) C4 N4 |
  1149. ; http://php.net/mysqli.default-port2 D* S* ]' ~3 a0 ?/ o/ C7 ~
  1150. mysqli.default_port = 3306
    . Q$ x! D- }% ^& k. r

  1151.   a3 z& [, D" A, ?0 ^
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in* h" B- _1 e) m1 ?
  1153. ; MySQL defaults.! Z5 p4 j8 P; G; F6 t" v
  1154. ; http://php.net/mysqli.default-socket9 H& x6 N! k; ~
  1155. mysqli.default_socket =6 V4 R5 E% Y- K- g

  1156. $ n* J; E" g, [; e' F" j
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    / i0 R" ^0 U4 t
  1158. ; http://php.net/mysqli.default-host
    $ ]/ U/ ]9 v; T
  1159. mysqli.default_host =
    8 S- U* j( h6 i1 c. p+ M5 s

  1160. " A' u1 \; A6 A% z+ O
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).& s. N' M% x" X9 @: C" Z
  1162. ; http://php.net/mysqli.default-user
      l" c' b  B' C# z
  1163. mysqli.default_user =
    2 y3 @9 T8 ]: i# G7 `% W

  1164. 8 S7 \' K+ M3 F
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).! \" M  v# @2 ^$ D+ y6 m
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
      S: z( M' u1 G) Z
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    8 B. s: D$ x3 k1 N5 R) C
  1168. ; and reveal this password!  And of course, any users with read access to this
    6 O. H7 l0 J& m- s# Q
  1169. ; file will be able to reveal the password as well.& G3 i* Q9 c7 J/ Z. E9 ]
  1170. ; http://php.net/mysqli.default-pw
    , V! ^, o( {: n9 P: U: ~
  1171. mysqli.default_pw =7 ^3 F+ e6 O- L8 ?& A$ T

  1172. $ v) {1 T; `! {1 {; a: b
  1173. ; Allow or prevent reconnect/ ?$ }' a# d- O; I  f  B1 Y
  1174. mysqli.reconnect = Off
    " L+ J" L7 `! t9 e5 i2 W2 `

  1175. 0 O: l: ?' y1 _5 J9 @. d8 A, R& G; ^4 |
  1176. [mysqlnd]& P4 z; t, e6 n8 ^0 M+ `
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    8 r2 o: t9 q5 S1 D  E$ _( e
  1178. ; used to tune and monitor MySQL operations., V( e7 k3 H0 Q: |3 c) ~8 E7 S) q
  1179. ; http://php.net/mysqlnd.collect_statistics: b, B% S8 c& M+ v7 X
  1180. mysqlnd.collect_statistics = On3 S% H3 w8 l3 C: g- x/ U9 ^) b% t% A. n

  1181. # a) b- A9 s- B) N8 ^
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
      `% F2 E5 [" ^+ V. g; R* ^' o9 \
  1183. ; used to tune and monitor MySQL operations.
    ' E; k6 g( N( g& L5 o
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    4 m: M0 {! l; V3 _. q" [
  1185. mysqlnd.collect_memory_statistics = Off: w7 c; L+ S" W5 v  p1 n  c

  1186. ; y& _. Q' G6 X" Z, \5 v+ J
  1187. ; Records communication from all extensions using mysqlnd to the specified log$ d0 |- h7 C( ~! d& n
  1188. ; file.
    5 l" \% G; k1 ^* \
  1189. ; http://php.net/mysqlnd.debug( d1 {) s2 Y' N" A& B9 z$ m
  1190. ;mysqlnd.debug =: ~4 i2 E5 K" p8 H% v/ a

  1191.   p- D9 t+ I7 {* B; ^
  1192. ; Defines which queries will be logged.2 h2 i& t8 s( [( g; x" q: s  v
  1193. ; http://php.net/mysqlnd.log_mask
    # y) S8 A! ~1 Y; U2 e" ]' ?
  1194. ;mysqlnd.log_mask = 0
    $ C' \# t' g; X# Z! Y
  1195. ; S& @) J  r5 Q  _3 G
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    % w  ^; ^2 J* B5 `6 V/ t
  1197. ; http://php.net/mysqlnd.mempool_default_size4 w& P! \  B! m& y' J% t
  1198. ;mysqlnd.mempool_default_size = 16000" O% f0 t1 z; n- t2 b1 Q. k
  1199. ' R! G& }1 Q5 H& X1 d
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes., {" r7 m. z3 g2 n3 J
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    / [! o; f9 a2 s( n
  1202. ;mysqlnd.net_cmd_buffer_size = 20487 _- t6 d8 [, s: S) ^2 D

  1203. 8 V( v, ?) h5 z, _. _- [0 j
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in  ~+ f2 d7 J, t8 C
  1205. ; bytes.5 C3 P" j4 x" k& A
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    * G0 ?- z& m/ A5 x8 d# i, I/ f
  1207. ;mysqlnd.net_read_buffer_size = 327689 ?* D7 O0 b) R% ~! q9 M

  1208. & ?1 ^1 E) `: x) O- ]
  1209. ; Timeout for network requests in seconds.
      L/ I! Y, X* a  Y) v
  1210. ; http://php.net/mysqlnd.net_read_timeout
    + {+ f" x! e" Y) |' g
  1211. ;mysqlnd.net_read_timeout = 315360006 C4 v9 Z2 r: h$ Z. j: e4 e

  1212. ' b; M6 e7 ~- B
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA4 P7 N* L" i1 {3 [+ M0 C% f% f
  1214. ; key., T3 w* Z- e' m) n  W
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    , @, M2 j$ @2 B- W- H( K
  1216. ;mysqlnd.sha256_server_public_key =
    0 R; |0 W7 _6 B, x: s) f

  1217. + v. B7 p% T' S  s
  1218. [OCI8]
    # M( i& s0 n0 z' V" a

  1219. 1 P4 O6 e$ L" k+ |+ O" a  F5 p
  1220. ; Connection: Enables privileged connections using external; k( M8 q' Y% _/ {) M- R0 Y
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)' ^0 s" T; o0 Z, O
  1222. ; http://php.net/oci8.privileged-connect
    9 K( X+ S3 b7 \1 t4 l
  1223. ;oci8.privileged_connect = Off
    6 }# ~/ m5 [+ H9 J

  1224. $ i* o3 I& m8 T
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    ) l2 a$ V& a. I2 i6 b6 ^3 D
  1226. ; process. Using -1 means no limit.
    3 O2 _9 S2 w9 \8 _! M
  1227. ; http://php.net/oci8.max-persistent
    " o4 }* D$ r4 c6 K% g; d, Y
  1228. ;oci8.max_persistent = -1
    ' o$ U9 b+ V& N( Y; N# v

  1229. # o5 \( F  |5 \1 l& ^; \
  1230. ; Connection: The maximum number of seconds a process is allowed to& n  i, m! e4 H
  1231. ; maintain an idle persistent connection. Using -1 means idle
    * ^. v' V. b. `9 K
  1232. ; persistent connections will be maintained forever.$ \  P9 g3 U! ~; c! Q5 n5 w' s, b
  1233. ; http://php.net/oci8.persistent-timeout! n  T5 Z  \6 x! h' M$ q
  1234. ;oci8.persistent_timeout = -1
      m" b/ L) R0 p
  1235. * K) \# [4 C) e" P
  1236. ; Connection: The number of seconds that must pass before issuing a, O2 |- O7 O( Y, R
  1237. ; ping during oci_pconnect() to check the connection validity. When$ |( B3 z1 K# ^5 j: h" t
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables" Q* _+ |8 V) W" e
  1239. ; pings completely." Z' f# Q& }/ y/ e6 E1 |
  1240. ; http://php.net/oci8.ping-interval
    ' ^" P! y- g2 P: n9 }) Q8 e, ]
  1241. ;oci8.ping_interval = 60
    * n( y3 _& m" g1 L; O+ s3 O0 S  k+ L. y- L1 ]

  1242. 7 |! v" a) K" T0 H
  1243. ; Connection: Set this to a user chosen connection class to be used9 L0 I% V4 ^. c. J7 l
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    ' k% }) O  V, ~  w. }1 s8 i" ?
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    3 z$ m) }/ o: @; ?3 Y7 e' ?
  1246. ; the same string for all web servers running the same application,
    % {0 |$ S; E9 D" K# R% V/ V) A
  1247. ; the database pool must be configured, and the connection string must# Z; Q) K! o3 w. i  D
  1248. ; specify to use a pooled server.! C8 ~1 A# d( z3 j  \% ^
  1249. ;oci8.connection_class =- I, m" }0 s0 l: j) Z: l) H* z7 L

  1250. 7 v% Y: Y0 o9 {; v' Z' l. ^2 y* N
  1251. ; High Availability: Using On lets PHP receive Fast Application
    % c. G" K) b. F; C- l
  1252. ; Notification (FAN) events generated when a database node fails. The
    " U5 ]  |5 o* e9 z8 b# e8 s0 z
  1253. ; database must also be configured to post FAN events.4 E5 V# D- R! ]4 u) _7 c0 t
  1254. ;oci8.events = Off
    1 U# ^, `) |1 c% L) g

  1255. 0 \: p1 M+ J" w1 H5 y+ i" e, w
  1256. ; Tuning: This option enables statement caching, and specifies how
    - J8 x, l& B5 `* O
  1257. ; many statements to cache. Using 0 disables statement caching.
    . X% Q  B3 \% T: {% v; b) O
  1258. ; http://php.net/oci8.statement-cache-size: b0 S4 W8 ^0 G. b
  1259. ;oci8.statement_cache_size = 20
    ; E: X/ Z" ?2 \  H% c  x, G- R
  1260. ; f& `& h7 G! Q* D9 K
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    6 W! U6 k' k- q& \- x
  1262. ; rows that will be fetched automatically after statement execution.
    # F: |9 l" Y* {
  1263. ; http://php.net/oci8.default-prefetch6 B" }0 A- G+ u) t$ c0 N. T
  1264. ;oci8.default_prefetch = 100
    / r3 g; p# Q1 z# `$ m5 |+ e! c; ]  o8 Q
  1265. 6 Y, F% k* T+ K* ~) Y# }1 z2 C
  1266. ; Compatibility. Using On means oci_close() will not close9 q$ M7 F3 |3 P
  1267. ; oci_connect() and oci_new_connect() connections.3 y5 {1 J; s7 g
  1268. ; http://php.net/oci8.old-oci-close-semantics
    ' r, |- _! E9 G" v" c
  1269. ;oci8.old_oci_close_semantics = Off
    ! m# v4 n+ k6 H9 f
  1270. # a, h+ l" g5 I' b8 O5 y
  1271. [PostgreSQL]
    - U8 Q$ m: w8 N! u1 j
  1272. ; Allow or prevent persistent links.
    9 D- r4 ?+ k5 E3 b8 T/ I+ v) D6 A% y
  1273. ; http://php.net/pgsql.allow-persistent- }! C2 J/ b3 Y$ j  u3 j
  1274. pgsql.allow_persistent = On
    ( R- I. k: f0 b2 |* o% M
  1275. ; o4 w% n& T( p- l$ J
  1276. ; Detect broken persistent links always with pg_pconnect().9 v" q9 f% j/ r
  1277. ; Auto reset feature requires a little overheads.  T) X' X, h) q* r
  1278. ; http://php.net/pgsql.auto-reset-persistent% ^. s9 h- I- G
  1279. pgsql.auto_reset_persistent = Off
    ' }1 s; t, c6 `% X; Z+ Y

  1280. ! ^. @5 K; n- x- C5 D( D3 G- J; o
  1281. ; Maximum number of persistent links.  -1 means no limit.9 m5 v4 D+ O% h, a8 h
  1282. ; http://php.net/pgsql.max-persistent7 G  Z3 ^6 W: F/ C& d# R9 Z2 I
  1283. pgsql.max_persistent = -1
    ! X1 @1 A( ^# [) x
  1284. 7 @6 ~, e. f, O9 r0 S5 z
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    5 i& J& _& J3 v3 W
  1286. ; http://php.net/pgsql.max-links
    ) l: Q( L3 X5 h, B; v; U9 a+ \
  1287. pgsql.max_links = -1
    % o* g0 ^! E- V; n
  1288. 4 K$ e4 j6 I% n  @
  1289. ; Ignore PostgreSQL backends Notice message or not.+ J+ G! V1 S* w) @
  1290. ; Notice message logging require a little overheads.
    ; }! H1 t# J2 d9 n: Q
  1291. ; http://php.net/pgsql.ignore-notice! b3 y/ P6 W/ O' t+ Q
  1292. pgsql.ignore_notice = 0
    2 H3 t& q7 `! w3 f

  1293. + x& V+ l0 A; f# V( c6 |
  1294. ; Log PostgreSQL backends Notice message or not.- k& ?9 L+ g' Y: E
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    + D5 D/ Y) K* _+ r5 I3 z
  1296. ; http://php.net/pgsql.log-notice
    $ \* Y1 ?  L, B; E$ g- T1 b
  1297. pgsql.log_notice = 0  j  E* `5 _" w
  1298. 9 |( ~3 Q, m9 u
  1299. [bcmath]$ r/ J& F7 p: X) h
  1300. ; Number of decimal digits for all bcmath functions.
    , J% B* ]. k  L% D  ^
  1301. ; http://php.net/bcmath.scale4 |; r2 g! P) m$ M9 G9 D  t
  1302. bcmath.scale = 0
      D9 S+ e+ X" j& N0 I

  1303. 7 s8 A! \8 _8 l/ ^
  1304. [browscap]
    ) [( K1 x6 Y5 W: [- ?0 V
  1305. ; http://php.net/browscap& Y% c0 _: v/ N4 b/ }" A( z" a
  1306. ;browscap = extra/browscap.ini' U; S6 @% F& y$ q! P

  1307. % p" z9 Y! {( U( [6 q; u" x/ T
  1308. [Session]& o7 n+ z* y2 R- w
  1309. ; Handler used to store/retrieve data.
    " Z; b# `9 v4 R2 g+ k/ Y6 b- E
  1310. ; http://php.net/session.save-handler
    5 W$ J  u. [% K0 {, a# u4 Q9 Q
  1311. session.save_handler = files
    0 d7 \8 ^" |7 F

  1312. 6 \! e* t2 X4 Q7 {% Q! b1 h
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    2 z3 b0 ~6 Y( z' ]
  1314. ; where data files are stored. Note: Windows users have to change this
    * U6 |1 W5 g3 {! H7 s1 g' R7 ^
  1315. ; variable in order to use PHP's session functions.0 B1 m/ n. X; X+ n
  1316. ;6 `5 b6 [, i& F  p
  1317. ; The path can be defined as:& G$ q3 b1 R" }
  1318. ;5 |- x  `, |7 S) v/ N9 B. c
  1319. ;     session.save_path = "N;/path"5 u. R# J/ G9 C1 ]6 \, y5 U  C( o
  1320. ;1 m1 w' [( i3 D# f
  1321. ; where N is an integer.  Instead of storing all the session files in
    8 `' U8 a: \0 a' s2 b4 `
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    ) B1 g- ]" g( Y5 O: w0 {- G- N
  1323. ; store the session data in those directories.  This is useful if
    ) T; G( _6 u' o1 y% M
  1324. ; your OS has problems with many files in one directory, and is
    $ |1 {. r5 }) g( K7 n1 P- I
  1325. ; a more efficient layout for servers that handle many sessions.& H3 @* _$ P3 m6 f8 E5 C0 I
  1326. ;
    % q! m- Q# h- ^* K
  1327. ; NOTE 1: PHP will not create this directory structure automatically.1 W! P. {) y% g& W. `* p
  1328. ;         You can use the script in the ext/session dir for that purpose.# m  i5 h7 h! I2 n/ D4 x1 m8 N# `
  1329. ; NOTE 2: See the section on garbage collection below if you choose to( ^: G) E9 A0 {, M& R6 W0 E
  1330. ;         use subdirectories for session storage
    . c, m9 P9 n  t1 p
  1331. ;6 \* w: g( \- N8 T1 b8 }) o0 o0 U
  1332. ; The file storage module creates files using mode 600 by default.
    5 a9 t# q" m% J. }
  1333. ; You can change that by using. l) ?* w5 J3 a. N8 q
  1334. ;
    " d" f, b2 {8 _: W: E4 n
  1335. ;     session.save_path = "N;MODE;/path"" K$ i' C2 e8 g- U/ i  L
  1336. ;
    , V- H& S/ B$ T0 F; C- Z1 p+ l
  1337. ; where MODE is the octal representation of the mode. Note that this1 M9 A6 R4 b# X# n3 ?( c
  1338. ; does not overwrite the process's umask.4 _+ i  S3 Z  b2 o: O
  1339. ; http://php.net/session.save-path) U5 g$ T3 w- ^3 h) A4 g/ o
  1340. ;session.save_path = "/tmp"1 d/ g2 @: W# T, d% c; l; b% t
  1341.   s& Q! U) r' V8 S
  1342. ; Whether to use strict session mode.7 _" a, Z8 K* H3 R
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    . L- u% h2 e8 \6 ?1 R! s$ j' W
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects6 G9 x/ Z' R( n' m& q' C0 O
  1345. ; applications from session fixation via session adoption vulnerability. It is2 u' {: e  e1 Z" ]) ~' @3 b' |2 N) P
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    ' z# E+ u( G8 V6 a7 F
  1347. ; https://wiki.php.net/rfc/strict_sessions
      z3 R, X; t7 N5 Q9 p
  1348. session.use_strict_mode = 0) Y8 @- B! |8 p- _6 `4 ~

  1349.   c: _  Z& n5 f6 C( p& n8 P
  1350. ; Whether to use cookies.# R- l. q; ?" {2 R+ p' ~6 Q
  1351. ; http://php.net/session.use-cookies! I0 T( h+ v  A& s' D8 w
  1352. session.use_cookies = 1
      W; O! m2 E" C* l* n

  1353. 6 g( R' F. D, p6 m8 M( Q2 h1 D6 n
  1354. ; http://php.net/session.cookie-secure, \; U7 m5 p& ?
  1355. ;session.cookie_secure =6 l' W  l. a# Y2 x
  1356. 2 W) ~5 }9 p7 ?1 d9 z3 c9 v
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining& d4 P% w  y9 N0 g
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    8 C5 l# W( K) [
  1359. ; session hijacking when not specifying and managing your own session id. It is. `, w" s) ]& q$ L; P2 t
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    ) d2 a& s' x4 G# n3 R- g  o5 l7 P
  1361. ; http://php.net/session.use-only-cookies2 `1 \6 U* e, [, T; {! S
  1362. session.use_only_cookies = 1
    . U. w$ x+ k5 o; i1 u3 O
  1363. # x" }4 P" H0 x, G% ?& v
  1364. ; Name of the session (used as cookie name).
    ) m) \+ B! F- g& O
  1365. ; http://php.net/session.name
    / n! P2 }3 H  M) K% D  \& L
  1366. session.name = PHPSESSID1 L( h  P  ^% N) T' y) |
  1367. 9 l" V  X& ?6 ~8 ?
  1368. ; Initialize session on request startup.
    . L8 m  f% n- e8 b) o* H
  1369. ; http://php.net/session.auto-start+ r( B8 ~. H) U
  1370. session.auto_start = 0
    ) Q& ^3 {$ ?5 x  B

  1371. ' l7 F/ D# _6 c2 H+ N% {0 Y8 E
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.( [) |' M3 U; c; n% S
  1373. ; http://php.net/session.cookie-lifetime! `7 Z; _8 r  e  D0 v
  1374. session.cookie_lifetime = 07 h) C% ^7 v) ^
  1375. ; \% L: L7 ^8 T3 R, v& D
  1376. ; The path for which the cookie is valid., e' \+ r) w* s  Y$ _
  1377. ; http://php.net/session.cookie-path. b3 T' q! x7 U
  1378. session.cookie_path = /
    $ {  U( s8 V( ^7 p
  1379. - i2 @1 A0 k0 O0 Q6 t
  1380. ; The domain for which the cookie is valid.& Y8 O0 M9 U  I) p" e( S  @; J3 z
  1381. ; http://php.net/session.cookie-domain
    5 }, U/ K+ d: C
  1382. session.cookie_domain =
    + @- ?# I. C, I) G
  1383. * n2 n5 [: X- x% E0 i
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript., Q, R8 A  R! r6 x
  1385. ; http://php.net/session.cookie-httponly; r0 J0 [! |* @! x
  1386. session.cookie_httponly =
    $ I! b- }; X7 [

  1387. 3 d% v/ B& Y( g* R8 t! w) b
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    ; [3 W6 U% ~2 B/ g% o: Z5 j+ N
  1389. ; http://php.net/session.serialize-handler
      @$ b4 J) I+ N, M
  1390. session.serialize_handler = php
    ) ?3 e% k! d* ]) s7 E  V) L
  1391. 3 [* T8 I; L: w
  1392. ; Defines the probability that the 'garbage collection' process is started% d8 A5 S2 S, k. m
  1393. ; on every session initialization. The probability is calculated by using: z1 G: ~, j! x( w, T
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator! r+ q! P" o) ~' n/ K, X! E
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1  t( ^, ~- n5 R! |  E) \
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    # A& B9 F, i7 d( ~4 U; l  C. E3 j
  1397. ; the gc will run on any give request.
    % D4 Q# n3 s# w9 O- `4 E
  1398. ; Default Value: 1. t3 y6 d) {6 e; V7 Y) y
  1399. ; Development Value: 1
    ; U- k( {3 u9 c1 C2 E
  1400. ; Production Value: 1
    / t) P* V9 r2 G2 M6 Y2 Y( n8 Z
  1401. ; http://php.net/session.gc-probability, a4 ]1 ^" o1 |$ b3 v
  1402. session.gc_probability = 1
      m. X$ ~1 P# p' C6 @

  1403. ) V' ~3 T0 t/ [$ Z" q( I; F
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    , d( M. G7 p7 C* K
  1405. ; session initialization. The probability is calculated by using the following equation:, S6 r6 F3 ]6 E2 P, Y2 T+ B+ x8 }" v
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    2 ^" }1 U! H5 p2 E
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1/ r+ i1 x/ G9 L7 ^! c
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance2 ~7 U6 d/ ]! i4 p. ]# M' v
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    5 s8 _) m- I& C: V) N
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    ) p2 n- X: w3 w2 X
  1411. ; this is a more efficient approach.) Z3 v4 n) I/ r' B7 t1 a
  1412. ; Default Value: 100/ J/ s2 t. c& [# T
  1413. ; Development Value: 1000/ R; q& U4 j# B2 m1 b- C
  1414. ; Production Value: 10006 D7 M3 B+ Y  A! C$ r7 X/ A
  1415. ; http://php.net/session.gc-divisor. Y, L% l6 U& S$ O  |1 U4 U
  1416. session.gc_divisor = 1000" c0 w8 j( p  b# n- f

  1417. * B8 M5 d3 z! ~" Y8 o- o; X/ d  @
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and$ [, ^/ B, d+ y% Z* z$ ~8 L
  1419. ; cleaned up by the garbage collection process.( v2 w; R" |# Q8 W
  1420. ; http://php.net/session.gc-maxlifetime6 W0 y5 d0 j) y8 z
  1421. session.gc_maxlifetime = 1440; U, J/ d5 E* ?6 R) ~
  1422. 1 |( ~, y* s( ?1 a) |' @+ i7 z
  1423. ; NOTE: If you are using the subdirectory option for storing session files
      R$ |8 k+ F( H: ]: g2 B& d
  1424. ;       (see session.save_path above), then garbage collection does *not*" t* e( O" N- q( g' x
  1425. ;       happen automatically.  You will need to do your own garbage: |0 G6 e; t) [2 f
  1426. ;       collection through a shell script, cron entry, or some other method.
    $ Q: \3 H5 k9 Z. k
  1427. ;       For example, the following script would is the equivalent of! C/ r$ V' ]5 |( K
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):. ~9 V/ R2 L' W" Z0 i- a, j/ n9 d6 o
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    " v7 e/ v! \# u% u, r" ^- M

  1430. ' l7 E2 L- n7 r3 Y5 o0 ~3 h7 ~
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    + m- ?$ y. b2 \" q; r2 K+ I
  1432. ; HTTP_REFERER has to contain this substring for the session to be
      w2 t; [. j9 v
  1433. ; considered as valid.
    " v, _( J# h  ?: ^2 h5 ]8 s7 ~
  1434. ; http://php.net/session.referer-check  W& A% U) q) i- W, ?7 l
  1435. session.referer_check =0 w; s  v4 x2 \& b9 [
  1436. % t8 U4 P# t8 e' P6 S
  1437. ; How many bytes to read from the file.
    , A+ ]6 m* Z( ?4 d0 ]0 B, |
  1438. ; http://php.net/session.entropy-length4 Y7 g! N0 J, r/ H+ L* ~
  1439. ;session.entropy_length = 32, V' B6 e$ S- }& O
  1440. : t% A3 F% ~, [* g- ~: Q
  1441. ; Specified here to create the session id.3 |9 _- n+ e3 R( ?3 F& Y5 B: B" \6 A: c
  1442. ; http://php.net/session.entropy-file6 t/ U; ]# K3 e3 v" Z" G* s
  1443. ; Defaults to /dev/urandom6 L% d0 d2 I: q: p+ s3 g
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    # N$ T8 U3 \4 I7 V* U
  1445. ; If neither are found at compile time, the default is no entropy file.
    6 q5 n/ q: ]9 Q2 z3 E
  1446. ; On windows, setting the entropy_length setting will activate the3 S7 b: I# _9 d  N, b+ y' l
  1447. ; Windows random source (using the CryptoAPI)
    ( V4 Y1 }( C4 u- Y4 ~" C
  1448. ;session.entropy_file = /dev/urandom
    , p# M6 r  A; B& I2 c

  1449. / J/ H  f" T. B+ W' w  G, `
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    5 H# k, {" T' v) C, \
  1451. ; or leave this empty to avoid sending anti-caching headers.& ]: ?( {* S5 F  b0 v' B2 L" G
  1452. ; http://php.net/session.cache-limiter: e  J; V; F' `6 Y
  1453. session.cache_limiter = nocache
    - J3 S! B/ Y1 o; F

  1454. + w/ |9 x) P3 J5 ]. X
  1455. ; Document expires after n minutes.
    2 e3 r( l# Z% _" J* I# ?* C
  1456. ; http://php.net/session.cache-expire& H- s& i+ u8 ~6 a& J1 A6 [0 M
  1457. session.cache_expire = 180
    . x% |9 q3 y0 A" I
  1458. 0 g2 j  N6 O/ G' F3 \
  1459. ; trans sid support is disabled by default.
    . f/ D2 C% C+ g1 R; R. d; D
  1460. ; Use of trans sid may risk your users' security.
      Y6 @1 F$ O; X5 r
  1461. ; Use this option with caution.
    0 `  X' S4 R) F  b" }
  1462. ; - User may send URL contains active session ID
    5 T7 U. |$ P$ ?5 _% \# z( J4 \. `
  1463. ;   to other person via. email/irc/etc.
    4 H% d' B" S9 r- {4 x& w
  1464. ; - URL that contains active session ID may be stored
    5 N" x+ O) ?  k2 O3 Z; x
  1465. ;   in publicly accessible computer.
      B" o& @! f. a' K# g
  1466. ; - User may access your site with the same session ID* P; _5 @  N! s1 R  V
  1467. ;   always using URL stored in browser's history or bookmarks.
    8 B/ i* }* v: Y+ ^0 X; L
  1468. ; http://php.net/session.use-trans-sid! `/ v( q7 s; K) h% U
  1469. session.use_trans_sid = 0
    6 {- o; s: M& ?0 l) w- L
  1470. 4 {- D; [( A# ^* s
  1471. ; Select a hash function for use in generating session ids.
    0 c, q  z! ~, C& [; I8 N
  1472. ; Possible Values& `0 b* T2 L+ W& `
  1473. ;   0  (MD5 128 bits)7 D/ u5 Y; e3 A
  1474. ;   1  (SHA-1 160 bits)! ?* N( l0 c+ R. h# B& r) z
  1475. ; This option may also be set to the name of any hash function supported by' y! a0 ]7 X* P! E" O
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()7 M' Q( c4 M! J7 K6 V5 H7 `
  1477. ; function.
    : b$ }- k3 x) `0 ^4 k% G
  1478. ; http://php.net/session.hash-function
    + e: c+ p9 ?1 Q- |9 o/ k
  1479. session.hash_function = 0
    5 {! |, _/ b+ s7 `' A5 ]

  1480. & Z1 d3 t6 N! y, X
  1481. ; Define how many bits are stored in each character when converting
    . n- h& Y7 b' ?3 c4 N- O
  1482. ; the binary hash data to something readable.1 F: U+ p" ~/ ?8 F
  1483. ; Possible values:- L1 k) C/ k: f
  1484. ;   4  (4 bits: 0-9, a-f)
    ! |7 H' d; n5 q: f' B
  1485. ;   5  (5 bits: 0-9, a-v)
    $ m) k- p) T. u/ D' r
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ","): Z6 @* S3 m, ?" H
  1487. ; Default Value: 4: i$ K! K! W9 j. h# [9 t
  1488. ; Development Value: 5* Q" _- E# B+ F  Z7 K% q/ T
  1489. ; Production Value: 5: l4 ~7 D5 ]1 j) I2 O7 Z1 Z
  1490. ; http://php.net/session.hash-bits-per-character
    3 ?; |/ u+ R9 j* n) w8 q3 Z: l
  1491. session.hash_bits_per_character = 5$ |$ i1 _0 v5 }* {0 x
  1492. % n- S! t3 [  R& h1 I) M
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    # J7 u3 p* i4 W# O. {: }
  1494. ; form/fieldset are special; if you include them here, the rewriter will) `8 X% S7 Y9 E. u2 d" o
  1495. ; add a hidden <input> field with the info which is otherwise appended  p& ]5 o! s# S& |" K3 u
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    % p, O+ m% v: A; i0 ]
  1497. ; Note that all valid entries require a "=", even if no value follows.$ y( |- f: C3 x4 n
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="9 x- s1 Z& o% ]+ F/ l6 t
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    + a: T$ B$ s1 D/ T4 b5 m- H/ k% B
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"3 R, s+ A5 Y/ v
  1501. ; http://php.net/url-rewriter.tags, I" J% Y& K& q7 v* R8 R; d3 N
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"1 H' p+ D+ `/ _) E' E+ l
  1503. 9 y1 t  A/ A4 Y1 W
  1504. ; Enable upload progress tracking in $_SESSION4 g4 {- T0 [- N6 @. P
  1505. ; Default Value: On/ r# h3 T# ~3 d% k+ t/ b6 A
  1506. ; Development Value: On8 l8 T8 ^4 v) B' q
  1507. ; Production Value: On
    % S+ n% Z9 R* e! ?# _
  1508. ; http://php.net/session.upload-progress.enabled6 e$ H. l' L2 W8 G4 a
  1509. ;session.upload_progress.enabled = On' j! @* u8 `- X0 {. n% x
  1510. ) Y: H$ d5 W7 g2 |
  1511. ; Cleanup the progress information as soon as all POST data has been read, V5 {7 D8 m; j3 Q: R9 x
  1512. ; (i.e. upload completed).
    ' r" d- X3 @3 \, i* l+ l3 g- R/ k
  1513. ; Default Value: On+ B2 h+ U. n/ O. \0 y3 D9 G
  1514. ; Development Value: On
    : b+ C0 S+ z& o* B6 X! s8 {  s
  1515. ; Production Value: On! a/ m% [' O2 P! M4 u
  1516. ; http://php.net/session.upload-progress.cleanup0 v# D# J0 G9 i
  1517. ;session.upload_progress.cleanup = On" ?' f4 x$ A& a9 }# k, n5 s
  1518. 0 C" F8 `3 h/ Z' z& o. W' W
  1519. ; A prefix used for the upload progress key in $_SESSION+ z3 T1 W7 J5 w; s
  1520. ; Default Value: "upload_progress_"
    ; t4 @3 D8 n) n
  1521. ; Development Value: "upload_progress_"4 ?5 m* p8 \( t! u; q
  1522. ; Production Value: "upload_progress_"  Q3 D0 X, h: m: `6 J
  1523. ; http://php.net/session.upload-progress.prefix+ B7 }. g& O0 N  I& l( j
  1524. ;session.upload_progress.prefix = "upload_progress_"! P$ @, M* O( L3 j# D

  1525. 2 J5 Z8 d2 J( `5 l  m7 ?/ i& q
  1526. ; The index name (concatenated with the prefix) in $_SESSION  v( M; K7 x$ W+ I2 u% K9 {$ Y
  1527. ; containing the upload progress information  {5 l( a/ t0 Q- ~& s
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"/ r  r8 y  U; ^; P  F
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"" }, ?. O* I, ]: u0 `
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS". L' ~0 e5 [3 H8 _- q
  1531. ; http://php.net/session.upload-progress.name
      l8 h: d* i1 |4 R4 l
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    : P+ @8 u9 Q' d  O# I

  1533. 6 m. I/ p' M. s" J4 p; t, s( z
  1534. ; How frequently the upload progress should be updated.
    ; f- _' R' A/ y! ^- z5 Y
  1535. ; Given either in percentages (per-file), or in bytes
    , @3 e9 a& K/ |9 d
  1536. ; Default Value: "1%"
    8 ^: n) \% ?8 L& U; \
  1537. ; Development Value: "1%"6 ^$ Y3 Y3 l3 A: J& f/ }8 l
  1538. ; Production Value: "1%"
    0 b% ?6 L; G1 _3 `8 s) h. U9 Z; B
  1539. ; http://php.net/session.upload-progress.freq" }" ?7 I; G) _" t7 z  {1 ]
  1540. ;session.upload_progress.freq =  "1%"$ i5 b( @4 q, F8 W9 i

  1541. $ D7 ~' k, u. }" q- m) I
  1542. ; The minimum delay between updates, in seconds4 l1 d( M% q& H
  1543. ; Default Value: 11 [9 v0 M, G5 w5 _1 u/ ]
  1544. ; Development Value: 1
      {  |5 `- S. w5 i4 Y/ r' V
  1545. ; Production Value: 1) m  l+ J# b9 x0 d8 r6 M
  1546. ; http://php.net/session.upload-progress.min-freq
    8 P" g  M3 ~8 m2 M, n; L( D7 N
  1547. ;session.upload_progress.min_freq = "1"
    ; ?' o$ e9 e: Z; Q+ j
  1548. ) r1 g: A% [2 Q3 j" \: B
  1549. ; Only write session data when session data is changed. Enabled by default.
    1 ]" v# ^( m* f$ i0 l  a& t3 Q
  1550. ; http://php.net/session.lazy-write/ R  g% s7 p2 X7 V( G4 `; L5 g
  1551. ;session.lazy_write = On6 W1 g; Q* l& {# x
  1552. 5 ?+ [9 S6 E3 x2 Y( K
  1553. [Assertion]" N% f4 t1 A5 O; ]
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    # R3 q7 g+ `* o% K
  1555. ; -1: Do not compile at all* C2 g" H1 t1 M# [! V
  1556. ;  0: Jump over assertion at run-time7 J+ {8 g. R+ n0 f  V
  1557. ;  1: Execute assertions
    ' f# r0 J4 v0 A  u8 ~
  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)5 m9 f4 i" Y( k  J  N( T) b1 |/ j
  1559. ; Default Value: 1
    1 o' [5 [7 c1 Y8 B
  1560. ; Development Value: 1
    ! g  a1 E: {2 J: c
  1561. ; Production Value: -10 t$ I$ v+ D7 j" L4 ^( b/ W
  1562. ; http://php.net/zend.assertions
    + p, }9 y2 g8 O  i, b# N
  1563. zend.assertions = -1
    # x% `+ X8 h2 x% `/ @& Q6 E- m

  1564. 5 S( P' o* s+ H$ f, S. i) I0 F
  1565. ; Assert(expr); active by default.+ ^- e- A, |3 m7 l( O
  1566. ; http://php.net/assert.active
    : l- @8 v  ?% m! W: i* s: H
  1567. ;assert.active = On9 \  x9 d* H8 q$ X0 H7 f

  1568. 5 Y9 p/ j: P6 I( l) Q
  1569. ; Throw an AssertationException on failed assertions8 z) c1 M) P! q8 U* H  B9 F
  1570. ; http://php.net/assert.exception% u6 B  f, i4 U& @2 h; X
  1571. ;assert.exception = On, z  K; _: u1 h! F6 J$ o- m5 h, j

  1572. , [7 h! P" o& @6 o
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    % f/ P: Y# |9 B8 g, S/ @' P* m  A
  1574. ; http://php.net/assert.warning' G0 u$ ^& z+ N$ h2 G0 _
  1575. ;assert.warning = On
    $ L9 z4 |0 T' x' f0 u( V9 t
  1576. ! {1 A# O8 y3 Z! T7 m: ~% q- G
  1577. ; Don't bail out by default.
    . N6 n5 y, t- b; a
  1578. ; http://php.net/assert.bail
    3 w, D: \$ ?$ t+ d0 E1 M3 T+ P
  1579. ;assert.bail = Off4 a: E* B$ L8 H2 y6 a5 P- [, S
  1580.   z7 R" y) ^. a7 Z
  1581. ; User-function to be called if an assertion fails.
    ' {# v, }" H- U+ r3 ^1 {8 s0 D& k. p
  1582. ; http://php.net/assert.callback
    6 j) l- Y9 K' k$ s$ b1 j3 J/ d
  1583. ;assert.callback = 0
    9 E! q9 r( I: i7 G- [
  1584. 6 V: G$ V8 f$ B) o5 I% I$ {
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    - U( `* d" ?( k
  1586. ; error_reporting(0) around the eval().  v' U1 X+ h" v. |$ o
  1587. ; http://php.net/assert.quiet-eval- S' Q4 O. b5 Q& C/ \& @5 `1 ?$ P5 q
  1588. ;assert.quiet_eval = 0; T$ b1 y7 |3 e& H$ v
  1589. ( e9 F0 g8 x8 y' N0 \, I, q
  1590. [COM]* @# P7 c" v: n$ l# T' B" `1 _- s
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    9 Y2 r% R4 i. j% b# g- L* x
  1592. ; http://php.net/com.typelib-file
    / e$ f" `" g2 [# M( |" C, e8 X
  1593. ;com.typelib_file =( z9 Y& f* q, f) k3 z4 w% r0 d
  1594. ; i" I/ ]5 W2 J) ?& g5 ~8 j! `
  1595. ; allow Distributed-COM calls
    $ u  Q5 ?6 [5 e, p
  1596. ; http://php.net/com.allow-dcom) L0 s# H* g- k. P/ }; d
  1597. ;com.allow_dcom = true. R3 o$ K( q9 K+ j5 r2 g

  1598. 1 G  }+ G" A5 H' m0 U0 c
  1599. ; autoregister constants of a components typlib on com_load()
    9 H! |# r7 R4 P. D9 i
  1600. ; http://php.net/com.autoregister-typelib! U( ~* r4 l' O3 B; I1 T' R; r2 H! v
  1601. ;com.autoregister_typelib = true+ _7 |! c1 o: s
  1602. ! b" S! e5 j2 e9 T
  1603. ; register constants casesensitive
    + q2 l" r# |9 c; p
  1604. ; http://php.net/com.autoregister-casesensitive
    7 ]6 t! ]. B7 k: m) \6 q/ \; t; e
  1605. ;com.autoregister_casesensitive = false
    - p7 z9 K4 k* o! w$ w* ^- t
  1606. : z" x7 n7 Z  @# [* w) @
  1607. ; show warnings on duplicate constant registrations2 o- U2 ?- j* x- ?: r
  1608. ; http://php.net/com.autoregister-verbose
    . r, _. _% x( s* Y* v# T2 Y
  1609. ;com.autoregister_verbose = true
    5 ?. n+ C# P2 `/ j" H) V
  1610. # C. Z# h1 |4 x, J
  1611. ; The default character set code-page to use when passing strings to and from COM objects.# f$ J( n; [4 j* V
  1612. ; Default: system ANSI code page
      v4 M5 N- ~/ P1 I
  1613. ;com.code_page=
    * F7 h* y+ t- E7 D/ ~: W2 l

  1614.   _2 [5 x! V2 b: b
  1615. [mbstring]
    0 c* x& p! S" a: I1 d$ R, ]
  1616. ; language for internal character representation., k2 v/ \5 T3 A6 u$ l: y1 F
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    7 @3 C7 V) n5 l$ ?
  1618. ; http://php.net/mbstring.language
    3 S' E5 w" H8 Z# {2 c: z
  1619. ;mbstring.language = Japanese7 C) v" N( W& Q: T  {$ q. h

  1620. & P9 ?" n1 U  r  P6 V( L; y
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    # W1 X3 s1 O. E6 b6 X
  1622. ; internal/script encoding.2 p# d, f$ `9 h2 P  T- e# Z
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)) v7 n! e7 B+ r% A% K" R
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.! q0 m- o) X1 L
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding! I5 |  V' c; e9 c9 u* [
  1626. ;mbstring.internal_encoding =2 n5 h% ]2 Y/ o. [) w$ {# w
  1627. ) P$ ]# e1 _. y$ F: F& n% s; S
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    4 {! i& B. b& j$ I
  1629. ; http input encoding.
    : o/ L( e* j5 M; J/ Q  Y
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.6 I4 g5 k4 p. S  m
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    - R$ p, \( D( ^
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input) y% U# K) b- \' c; t9 U
  1633. ; http://php.net/mbstring.http-input2 f" [; e' \  J! O: F8 G( f
  1634. ;mbstring.http_input =+ v- N+ `+ @' N  d' \* b4 X

  1635. 1 k# O9 I1 D+ y. L$ p* g1 v, X
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.% E& d# M9 u3 Q4 ?) U3 A; b5 p& z1 W
  1637. ; http output encoding.$ A, [6 {) y# @4 Z2 l3 F. c
  1638. ; mb_output_handler must be registered as output buffer to function.
    # T0 q) T8 `  |; t
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.1 O! z& K; W6 a$ x8 [. E* w
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output) b. m* ?+ g% P4 T- s
  1641. ; To use an output encoding conversion, mbstring's output handler must be set. w/ {" t+ Q! O( u  ^9 ~- Y
  1642. ; otherwise output encoding conversion cannot be performed.8 O) w" x- u" B# u1 M- e; c
  1643. ; http://php.net/mbstring.http-output
    $ j4 n) t; n/ p/ S7 F2 e
  1644. ;mbstring.http_output =' r, p4 p6 O! Z5 K
  1645. $ h( K1 @4 o' A6 {9 ]+ p% j
  1646. ; enable automatic encoding translation according to5 h% d; u5 O: k% p  ]1 I: e3 U( z
  1647. ; mbstring.internal_encoding setting. Input chars are0 d& Q# g1 d& ^" ]) t' T
  1648. ; converted to internal encoding by setting this to On.
    8 @" f6 Z6 m2 E- K/ I- P
  1649. ; Note: Do _not_ use automatic encoding translation for
    $ I+ ~7 ?& c3 m# z# G
  1650. ;       portable libs/applications.
    + S7 C1 k2 w1 f* o+ c% I
  1651. ; http://php.net/mbstring.encoding-translation4 r9 V. P" Y2 r5 e% m3 S" L8 e
  1652. ;mbstring.encoding_translation = Off
    + @+ K0 z, s% |5 B1 l2 I" u

  1653. : N0 g1 K8 m5 ^( R9 K% j
  1654. ; automatic encoding detection order.
    " h3 H5 C6 O3 G9 O, c: E
  1655. ; "auto" detect order is changed according to mbstring.language
    . t) b+ }5 o# |0 u
  1656. ; http://php.net/mbstring.detect-order+ u8 M& p- J: \* {; W0 K
  1657. ;mbstring.detect_order = auto; N& h2 l: v- v2 W  B: k
  1658. " C8 w, |, r6 E+ j* F
  1659. ; substitute_character used when character cannot be converted# }: ^5 a* E- G* y" J+ r
  1660. ; one from another* s4 d' T) O& C: G
  1661. ; http://php.net/mbstring.substitute-character( a: x% N  l2 L. U  F  T/ c
  1662. ;mbstring.substitute_character = none
    ( ~: z* m, }6 I. v8 ~7 o, X

  1663. / x5 r8 J  n/ N' e
  1664. ; overload(replace) single byte functions by mbstring functions.
    7 B; Q) y+ Q9 a9 x3 s
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),: D. A& C  _8 A- d) f/ F
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    - l, \0 u$ w) d& W- M
  1667. ; For example, 7 for overload everything.6 s4 h. U0 k/ a' j, _! U' i% }
  1668. ; 0: No overload
    2 G) v) x/ R! ?: p+ ^4 Y/ d
  1669. ; 1: Overload mail() function$ I; {% A) \& I2 ~7 ^( a
  1670. ; 2: Overload str*() functions- U6 x, j$ ^8 E3 {
  1671. ; 4: Overload ereg*() functions
    3 y2 a" L6 d, ?2 z, A* P
  1672. ; http://php.net/mbstring.func-overload
    * b# X5 l0 n* X) X# ~& Q( o
  1673. ;mbstring.func_overload = 0
    3 F3 p4 {  U+ r! z  t  e7 v
  1674. , k* O# Y8 B9 q0 C+ @
  1675. ; enable strict encoding detection.; e3 ^' [2 |/ F6 L- N# o6 J1 A) D
  1676. ; Default: Off
    ' V3 b5 ^% p: s
  1677. ;mbstring.strict_detection = On
    7 ?5 s- g( i0 r- m9 ^
  1678. 8 z5 A, |3 A( X4 a/ d. l) v
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler(): Z* x3 O: t  q5 K& B4 {6 B' x4 y! N
  1680. ; is activated.. o: G) T  P6 m. C0 E( p% y/ y
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    / H' p( T8 h1 f( B( u6 d( j3 T8 y
  1682. ;mbstring.http_output_conv_mimetype=  D* U* n4 v6 a

  1683. ; f* [3 Q* m% ?! W3 ]
  1684. [gd]
    " q( |  ]6 Z( U7 i/ m- f
  1685. ; Tell the jpeg decode to ignore warnings and try to create0 b, z0 z  I9 I! O) z2 Y. K
  1686. ; a gd image. The warning will then be displayed as notices3 X; F( y5 w5 ]2 R
  1687. ; disabled by default
    5 i9 o" v% E1 M
  1688. ; http://php.net/gd.jpeg-ignore-warning8 L" T8 r/ G# E
  1689. ;gd.jpeg_ignore_warning = 0! Z- K& r& {( M5 T0 E
  1690. , N+ v8 F3 @" L  F
  1691. [exif]% b/ g4 m+ h& o" M
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.5 m& P. J: t$ ^4 l+ c7 J, Z
  1693. ; With mbstring support this will automatically be converted into the encoding
    5 o% N" B* `7 {$ u4 f* u+ E
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding) D3 u2 O! s+ D8 d; D4 x6 X
  1695. ; is used. For the decode settings you can distinguish between motorola and
    ; p: I' v+ b+ J. q
  1696. ; intel byte order. A decode setting cannot be empty.+ J3 w: a2 x! r7 p  |
  1697. ; http://php.net/exif.encode-unicode5 f# S( V- w6 q# e$ j  ^
  1698. ;exif.encode_unicode = ISO-8859-15
    " h. Y7 e" W: P3 b
  1699. ! ?4 H4 ?, F' u" `% P1 v! N1 m, t; e
  1700. ; http://php.net/exif.decode-unicode-motorola, r: Z: z$ L, g# g' R1 [3 T/ l( t
  1701. ;exif.decode_unicode_motorola = UCS-2BE4 ^3 S- Y* w7 j$ `
  1702. ( @/ ]# F3 B; \- ?1 Z
  1703. ; http://php.net/exif.decode-unicode-intel
    8 D# C- P6 g0 L0 t# F) ^2 u6 M: Q
  1704. ;exif.decode_unicode_intel    = UCS-2LE) X1 J. _. o, [5 C
  1705. / p2 L5 }  W* s: ]
  1706. ; http://php.net/exif.encode-jis- \% A0 l8 F2 k5 o
  1707. ;exif.encode_jis =- D; g, t, S. Y" U$ O- @
  1708. 7 [0 `+ x0 [# I, y6 Z& E) Q: G
  1709. ; http://php.net/exif.decode-jis-motorola. A& ^; ~1 u9 g9 z1 l1 E* ~7 q
  1710. ;exif.decode_jis_motorola = JIS
    * H6 W+ O9 ?$ j4 i. U8 ^+ l& F9 o
  1711. ! u$ ^9 A1 d4 R. Q
  1712. ; http://php.net/exif.decode-jis-intel
    ; T! _/ H% ^3 m$ I
  1713. ;exif.decode_jis_intel    = JIS
    9 F# ?5 X; p9 P5 |  @6 H7 d1 D
  1714. ( i0 M& v, x4 _4 r6 a
  1715. [Tidy]/ e% s: W, @  m( f7 b/ u4 V
  1716. ; The path to a default tidy configuration file to use when using tidy
    . h8 |- D$ H) @8 V- |$ |* N" u
  1717. ; http://php.net/tidy.default-config  X# B, h- A; J7 g- v, x
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    # E+ h/ B0 K! I& i

  1719. 2 G1 O+ Z  Q) ^$ J
  1720. ; Should tidy clean and repair output automatically?
    % a  p; e) h# Y, i5 n; k* p. V1 M
  1721. ; WARNING: Do not use this option if you are generating non-html content: l4 y5 U/ P& c- M5 |, T
  1722. ; such as dynamic images9 `; o8 L, U8 T: y
  1723. ; http://php.net/tidy.clean-output
    ) o* @3 `2 t- u: P. ?( f/ B
  1724. tidy.clean_output = Off
    , o- U3 l. X0 h
  1725. 5 n3 Q; o9 G( p- [
  1726. [soap]
    8 `) ^5 r0 F% T) T
  1727. ; Enables or disables WSDL caching feature.( ]6 j6 Q" X6 ]- ~0 H
  1728. ; http://php.net/soap.wsdl-cache-enabled
    ; ^. G: a$ H% }( k, ?
  1729. soap.wsdl_cache_enabled=1
    7 M" g4 z" x1 L' u% p4 L8 ^0 V

  1730. $ o9 y7 f0 R  v% f+ A; d
  1731. ; Sets the directory name where SOAP extension will put cache files.8 S! J) s4 P  g) n+ f+ F% Z
  1732. ; http://php.net/soap.wsdl-cache-dir
    ; {8 r  F9 T5 v( S' R4 H
  1733. soap.wsdl_cache_dir="/tmp"
    8 @. H1 ~6 j5 I; m$ ]$ m5 X! W' W
  1734. ' o) g8 a: h" a: H0 f
  1735. ; (time to live) Sets the number of second while cached file will be used: k- D! v: [5 |' n+ U
  1736. ; instead of original one.
      x( i' J0 `; P0 N; ]
  1737. ; http://php.net/soap.wsdl-cache-ttl0 ^. @* M7 {/ H4 }& ^3 T+ m# C5 p
  1738. soap.wsdl_cache_ttl=86400: e. i' y8 d3 F- R

  1739. . M1 t8 ?( s$ U2 O# K
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    . k( o  b1 F  g' O  M
  1741. soap.wsdl_cache_limit = 5& h$ X! D' ^2 v
  1742. . v9 Y. P) Q+ k4 T5 A; @/ R
  1743. [sysvshm]
    . t+ Q) Q  J2 ]7 P4 M4 t! c# E
  1744. ; A default size of the shared memory segment
    % |' g! t( q6 B! h8 L! t
  1745. ;sysvshm.init_mem = 100001 o/ r% V4 O% m$ i4 X5 |0 f- T. I

  1746. ; P6 Y( H+ F3 x+ J
  1747. [ldap]! \/ ~' _! z" i
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    - x, r: S/ c1 {& k+ T# k9 |8 n  b+ u
  1749. ldap.max_links = -1! s1 K& @$ ^2 H# C

  1750. 9 g: ?* ~/ P1 A% N4 X
  1751. [mcrypt]; n' `3 N+ ~% G" S" M) z# N
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open' n0 P" ~' T/ H5 c7 d1 Z
  1753. 3 a  i9 z( W0 r+ L: }3 ~
  1754. ; Directory where to load mcrypt algorithms+ e% |1 Q. D9 q$ ^2 T4 p
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    , `& u) }+ f) r% v0 H5 c+ j
  1756. ;mcrypt.algorithms_dir=/ d' m* c6 p& C
  1757. : U1 {' I" J; c: F- Q
  1758. ; Directory where to load mcrypt modes
    * n) @  [* q- ]- f8 P8 @$ j
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)+ a: x* K4 ^' W) ?( e! _
  1760. ;mcrypt.modes_dir=
    ) j8 s: z: b6 z1 v. u% ^8 Q

  1761. $ S$ g; G9 M& L& f4 B
  1762. [dba]
    : K: P$ u" j; i
  1763. ;dba.default_handler=
    - X- y8 }6 j. h% x, ?. Y' P
  1764. 6 F0 e" i( J" U- Z9 H7 f2 S
  1765. [opcache]
    & J% V- z# e, n0 _
  1766. ; Determines if Zend OPCache is enabled1 R* E' N6 ?" Q; ^8 ~9 X$ w
  1767. ;opcache.enable=0
    / {2 n3 v8 i& M) w" [

  1768. , u& I/ H5 ]% v1 p4 G
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP! m& ]* N' V- K9 k
  1770. ;opcache.enable_cli=0" O- r3 H7 S# ^) w
  1771. $ o' W  W/ Y2 e- k
  1772. ; The OPcache shared memory storage size.* {0 C- v2 }8 p" M  u
  1773. ;opcache.memory_consumption=642 Y* `9 r6 Z  \, o6 P! C( w
  1774. * Y0 t* I! t2 O' b3 g  e7 b
  1775. ; The amount of memory for interned strings in Mbytes.
    " W& t( g7 v9 [9 q+ X; [
  1776. ;opcache.interned_strings_buffer=4- n1 D/ w5 K" l$ J+ ]

  1777. 7 z3 ?! a3 J! {! W1 Z
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.; N6 f8 T( z& T- z# X6 k
  1779. ; Only numbers between 200 and 1000000 are allowed.
    : t1 N! l- {3 H5 K9 P( l& w
  1780. ;opcache.max_accelerated_files=2000
    ) P5 {( a4 |( _

  1781. 5 |1 h3 p* _- G( H$ B
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    2 q. C& ~* V* L$ D$ ]5 C
  1783. ;opcache.max_wasted_percentage=5
    8 E  ], N1 s& R( L

  1784. 8 ], y3 K3 `4 O8 q+ ]. e
  1785. ; When this directive is enabled, the OPcache appends the current working
    ; z! y6 O1 S: f
  1786. ; directory to the script key, thus eliminating possible collisions between) r; r' M& ^1 t8 j
  1787. ; files with the same name (basename). Disabling the directive improves
    : x) ~0 @: F, Y* Z6 L
  1788. ; performance, but may break existing applications., P3 d# Q$ Y- v& X
  1789. ;opcache.use_cwd=1
    # [- Q4 u: N1 R) f

  1790. . ~: ^9 n2 o% w- G( M+ V9 r3 d$ h
  1791. ; When disabled, you must reset the OPcache manually or restart the
    : j( V5 f, R, A/ F$ b( s! s: b5 `
  1792. ; webserver for changes to the filesystem to take effect.
    - D$ q/ S; u& a+ \9 |- }: M
  1793. ;opcache.validate_timestamps=1
    $ o4 Z* g( h5 Q) @5 Z

  1794. # F. y% z9 @, a- Y) M7 S) X4 }; M
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
      F7 ]/ c+ ~6 E. \2 ?& e
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    . \0 s+ [7 j. u6 Z0 ]' K
  1797. ; once per request. "0" means always validate)  u5 W! T2 ^8 H/ c* U
  1798. ;opcache.revalidate_freq=2
    # `3 c9 ?5 P/ x( l; q- v! l
  1799. 8 c/ H( Z0 I: v3 y( \' d; O3 @7 h
  1800. ; Enables or disables file search in include_path optimization
    & M# i& t2 m) n6 p+ v, j
  1801. ;opcache.revalidate_path=0* I  d. `0 `7 u0 B
  1802. 0 V. d+ _$ L) B' F; G7 @
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the: @. g( q$ H1 T- A/ }
  1804. ; size of the optimized code.
    # M  S$ ~+ Z  y8 p1 b$ t0 M8 c6 n4 L
  1805. ;opcache.save_comments=1" u# ^; ]& D/ C- i9 n+ q9 f

  1806. # i; z/ G" N" D: K8 L
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    # ~2 [5 Q+ f7 r
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.- N6 c! e: V* @) ^( I
  1809. ;opcache.fast_shutdown=0
    ; }, S- D  q% `
  1810. - o- n4 E4 k% K' N
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    8 x6 Q) i* `& h; ]$ t9 ]
  1812. ;opcache.enable_file_override=0
    4 @! T2 q% M3 W( I

  1813. 5 z) S. p4 T4 X, r$ C' n5 O9 T  D
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache, }7 G( h; K/ H# w# h
  1815. ; passes8 x% B1 Z# Y# G) d- g
  1816. ;opcache.optimization_level=0xffffffff
    - w$ [7 u& U7 d" `6 A* O) Y
  1817. ' J! H: D4 Q* z9 L1 ?/ U' [
  1818. ;opcache.inherited_hack=19 }8 B' |- z- x8 _
  1819. ;opcache.dups_fix=0
    - |2 Q. L/ ~) D

  1820. 9 B, m. \* J: D7 |8 Y1 j3 z
  1821. ; The location of the OPcache blacklist file (wildcards allowed).3 s8 a# r  M  r& g3 P, O4 r
  1822. ; Each OPcache blacklist file is a text file that holds the names of files1 M' @0 z8 \* E* D5 l0 c" W
  1823. ; that should not be accelerated. The file format is to add each filename
    & @, d7 A' U9 q7 n, C
  1824. ; to a new line. The filename may be a full path or just a file prefix9 J0 y7 V# _* D; W3 C2 N# |' {
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www( q! p  |5 L6 s. r! ^
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    ) O- C( v  Q0 b; G% t# [: L3 E% r  u
  1827. ;opcache.blacklist_filename=; k$ C# R# ]% _+ a! i/ e/ |4 p
  1828. ' _! P4 w' W( Q# s+ p* q
  1829. ; Allows exclusion of large files from being cached. By default all files5 x* u/ @& M. E9 U3 k* g8 E
  1830. ; are cached.
    $ X" O( ^& ~: ~
  1831. ;opcache.max_file_size=0
      Q  v0 U0 w/ \" [

  1832. ( _1 \$ ]5 h) r  ^. X
  1833. ; Check the cache checksum each N requests.) P  c% J1 b2 u" @3 A
  1834. ; The default value of "0" means that the checks are disabled.
    6 p8 Q3 Y, M! s
  1835. ;opcache.consistency_checks=05 y% s6 g+ A* r9 z9 \7 _; Q0 F
  1836. 8 z3 d% v1 H- E% I; G
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    / q: Q; t  K8 e& ~5 z5 z2 T7 n
  1838. ; is not being accessed.: M! `1 D: e8 T) c6 X- \* T5 _
  1839. ;opcache.force_restart_timeout=180
    6 u* ]# p* \3 T+ E
  1840. ) u& H, p, N% j* d6 q1 b
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    3 }: J' H; o; H  w
  1842. ;opcache.error_log=! X$ E) Q% _' S( i! J
  1843. 1 E; m8 {, M0 k0 P; d
  1844. ; All OPcache errors go to the Web server log.( _' R( ~& `* s" `' ~/ y
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.# Z* C" V! }* O3 M' G) L& i
  1846. ; You can also enable warnings (level 2), info messages (level 3) or: E' a3 d& v! Q4 ]- m# j
  1847. ; debug messages (level 4).
    9 K- q' a0 F. T* H: {% L0 x
  1848. ;opcache.log_verbosity_level=19 K  D+ q7 Y3 l; \
  1849. 0 ~- [% |, E* u% h
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.& f  E0 n8 i7 F1 K0 M; R, t, A3 h
  1851. ;opcache.preferred_memory_model=# E* E0 j8 g+ N9 w% H

  1852.   [3 ?& a6 t' c
  1853. ; Protect the shared memory from unexpected writing during script execution." {8 z8 }$ \% e2 |0 f
  1854. ; Useful for internal debugging only.
    - A  ~+ \- G$ Z1 @5 I( F1 l: k
  1855. ;opcache.protect_memory=0
    8 [3 [+ A' M2 X1 }  ]
  1856. : R8 ?! S- \, z9 g
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is# L3 _) g: _( O/ [  D" X
  1858. ; started from specified string. The default "" means no restriction0 U+ }$ H$ Z$ G& P8 x6 h# A
  1859. ;opcache.restrict_api=: a- ^/ k, c/ f) u

  1860. / R1 V; Y4 v0 [
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    ! G- |/ q. D/ ~. ]+ `" D; ~
  1862. ; processes have to map shared memory into the same address space. This
    5 c: R3 o  Z& L% z# r8 R6 S
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    ) B' m! |- i3 o, N9 f# m' l# o
  1864. ; errors.
    2 i) E$ W( _4 X' K2 k3 ^& Q, G* C
  1865. ;opcache.mmap_base=9 f  H2 F, ?3 f2 G7 Z

  1866. : K% j6 m& B, K# s( m6 ~9 O
  1867. ; Enables and sets the second level cache directory.( o0 k" ?' ?' Y% e
  1868. ; It should improve performance when SHM memory is full, at server restart or+ R7 I) V1 A4 U+ q
  1869. ; SHM reset. The default "" disables file based caching.) g( X" ?3 L, t# w/ D
  1870. ;opcache.file_cache=
    ! a& I- r2 c' d: n" G1 x+ b! Z  C( N

  1871. ) f) S0 G1 G( C2 R
  1872. ; Enables or disables opcode caching in shared memory.% d9 Q. U% h8 Y& ~6 i6 H# |2 Y
  1873. ;opcache.file_cache_only=01 j* V3 |6 M3 N: `

  1874. - l! H. p' f+ B1 ?. a. L
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    - Y$ [5 E9 X) _0 Q9 K- h2 @
  1876. ;opcache.file_cache_consistency_checks=14 }4 D1 t" f2 }4 o6 S( \

  1877. 3 A1 q! D5 g. |5 p9 j# X+ {
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    7 a; [. e% R0 |9 E& A  ]7 w( A
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
      V* ^1 N2 F' D  q$ g4 D, ?
  1880. ; cache is required.8 B. K7 P# t8 |0 n& c  ~
  1881. ;opcache.file_cache_fallback=1
    # z0 {: \6 a* l4 r+ D
  1882. , ~+ Q+ R! O( R
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.9 Y8 I+ ^3 J: k) P0 P7 @
  1884. ; This should improve performance, but requires appropriate OS configuration.; x4 Y' w2 v# ?3 `0 R
  1885. ;opcache.huge_code_pages=1
    : V9 ^% |" U3 g0 ~- z4 H. E

  1886.   ?, w* K7 f3 d- l5 N" Y* W& u
  1887. ; Validate cached file permissions.; p8 g4 I: s' y5 `4 ^
  1888. ; opcache.validate_permission=0
    " t4 h9 Q9 c- o; a2 Z+ b8 v3 e

  1889. ! a: y+ z/ j5 p  [
  1890. ; Prevent name collisions in chroot'ed environment.: q! {; D. H3 H+ D: ]; T2 J
  1891. ; opcache.validate_root=0; _! o  V, I% q9 ^+ w: l
  1892. # Q6 [% `! Z& [3 d& |" J# f
  1893. [curl]
    % W. C7 [: A+ `- Y7 q
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an: ]1 g% x4 X2 w" O9 a7 c3 @; n: Q
  1895. ; absolute path.# ]5 V6 }/ M2 T+ \9 o
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt0 C8 ?2 m1 e/ P% v- u

  1897. # A: ^/ I& `6 \3 f3 U' ?) s
  1898. [openssl]9 \3 m! D0 [. h3 c
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem' H( R2 A% E) x% c  {+ ~
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should$ [8 x" h( `1 s) D
  1901. ; not specify a value for this directive as PHP will attempt to use the9 A! a) H* B2 H# \/ `! K
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    2 F8 u  ~( v4 b+ l( t' [8 P$ @% ^
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context, _4 e) L" J5 o7 o
  1904. ; option.
    1 M4 X. S4 r7 J8 Z
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    ' s& v3 M3 q$ L6 {
  1906. " `0 B  j4 b  r' F4 ?: ~
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the" }2 W1 A  A# F& P# c. q
  1908. ; directory pointed to by openssl.capath is searched for a suitable$ l: x: ^- ]7 w8 y2 f
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    3 w! e3 {) b* r9 j" ^
  1910. ; Most users should not specify a value for this directive as PHP will' f0 Y' X. N" |! @$ `1 `( b
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,! K) Z) T  q5 L% `9 e. y; o
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    8 T1 \) j" A: m$ `2 }6 s& a8 Z
  1913. ; SSL stream context option.
    3 u% a& G8 L( b9 h- y- z" K- u* l
  1914. ;openssl.capath=2 j# h( U! j& Z! G( ^( H

  1915. * L, g* j( {1 w( l2 J; }! f4 ^
  1916. ; Local Variables:0 _5 s, P$ J) A; Z4 \. V6 o
  1917. ; tab-width: 4
    ; @# C4 |$ z* U2 r" H
  1918. ; End:( i8 @5 }3 B) e( w* v

  1919. 2 S! z. w# X$ N2 E1 v
  1920. ;eaccelerator2 l: ?' j$ y$ X" R

  1921.   `' l% ?  d6 p! l6 F
  1922. ;ionCube  E+ O: J. ?9 z& a
  1923. , Y4 F1 n' U1 Z( w6 R
  1924. ;opcache
    " d. p8 |$ i) S7 r
  1925. 0 x& t& D  \5 d
  1926. [Zend ZendGuard Loader]/ T4 g! b5 q7 |! \' |/ ]
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    & O4 K' Y- ]0 X2 W4 ]9 E
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    , y1 `& t5 z+ p
  1929. ;zend_loader.enable=1
    $ D! V9 e7 V6 H1 _8 m: I
  1930. ;zend_loader.disable_licensing=0, v  {, `. t" j# M$ P
  1931. ;zend_loader.obfuscation_level_support=3# g& F/ S' |+ p3 x/ m6 O
  1932. ;zend_loader.license_path=
    ) M! @# E, A5 Q

  1933. ) d* d) K6 q3 b& M0 M
  1934. ;xcache
    2 |- C4 [' c- y. z9 g

  1935. # k: R1 M5 @# d$ C2 @  Q
复制代码

# q& Z  t" F! R: E. T8 l
+ u- h" m  a+ z* @& a, T6 T8 R6 c+ w, r& J
* s4 E1 y% M9 [- K# _) _  H, M

9 u1 t' o1 [" t$ e8 O+ Q8 ~0 b* ?: t0 G4 Z

& ~) Z4 S. `% J  D0 i1 FPHP5.6版本原始设置# B$ s% N3 d: |2 \( w2 f' Q3 E- N2 B
- Y# {6 [( l  \
  1. [PHP]
    / i, x) E- n3 D$ I; W4 ?& Y

  2. % g/ [# X4 _/ I3 r: t! i, [/ u. z9 R! u
  3. ;;;;;;;;;;;;;;;;;;;
    4 Q" X$ ^6 |! }8 ~- L: b9 {9 Y; @
  4. ; About php.ini   ;
    ; H/ o: G' [" E7 H9 m
  5. ;;;;;;;;;;;;;;;;;;;
    & u4 w. y1 t" ~- \0 F
  6. ; PHP's initialization file, generally called php.ini, is responsible for. j- r* n+ E& A$ b3 G4 `* q
  7. ; configuring many of the aspects of PHP's behavior.
    0 l3 |% x+ m; \( v, }, v: h

  8. 2 A0 I( U) d1 Y6 x% \  j/ N1 \
  9. ; PHP attempts to find and load this configuration from a number of locations.' c; t" U* X; |5 J
  10. ; The following is a summary of its search order:
    ) z' q5 C6 H" D; y- D5 D6 ?0 m
  11. ; 1. SAPI module specific location.4 v' i. s. ~2 k5 }
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    5 N/ }0 p4 w0 Z
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    9 P, ?/ P* @' u" D0 Q' V9 E
  14. ; 4. Current working directory (except CLI)1 I( ~: j( w2 j9 `( Z1 y& z) J
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP% {, m9 K$ q+ r- W* r2 Y% T
  16. ; (otherwise in Windows)& X# ]0 p) I! ?3 V& C
  17. ; 6. The directory from the --with-config-file-path compile time option, or the/ }  K4 v' r6 ^( Y  o
  18. ; Windows directory (C:\windows or C:\winnt)# r$ q2 M# |4 Q8 V( z! {: N: P
  19. ; See the PHP docs for more specific information.
    / I, a  K2 W4 _. [; ]5 D7 f( p$ t
  20. ; http://php.net/configuration.file
    % \% p" c+ Z0 A9 y+ H( q/ Y  V

  21. 1 @. e- `( `7 ~  _$ b$ a
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    0 Z) O: o! D4 g3 F6 B
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).3 h8 M) y, K3 j. R  z' ^$ W
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though2 g9 Y  I) |/ s
  25. ; they might mean something in the future.
    ! T: B5 j# O! h. K3 A
  26. 6 ]( _1 Q  z# t9 Y5 S) Q
  27. ; Directives following the section heading [PATH=/www/mysite] only. q- s+ O  d* E3 Y; Z# z! T
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    # m5 o- @# K/ [% A
  29. ; following the section heading [HOST=www.example.com] only apply to
    ! B0 ]0 u# p+ p" N" n7 T
  30. ; PHP files served from www.example.com.  Directives set in these
    7 K( C4 K; w% [" M- @
  31. ; special sections cannot be overridden by user-defined INI files or' O4 k0 S6 Y* L3 n" i
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under2 R' M' ]: c" Q5 w! P8 ?- ^* i4 c
  33. ; CGI/FastCGI.
    0 E; m" W! a4 n' D8 q8 r3 w! {
  34. ; http://php.net/ini.sections2 j# g: G7 C, a) P0 }% g
  35. ! r7 Q# d& Y" W/ O) ^# r4 v6 f( t
  36. ; Directives are specified using the following syntax:
    / _2 i7 {$ W5 h
  37. ; directive = value8 m! ?5 R0 ]. M* m! @' `/ N
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.0 C# D  Q$ w  s3 }- {/ J
  39. ; Directives are variables used to configure PHP or PHP extensions.2 N2 l6 Y; [4 M/ D' q( D/ c8 H* m& t
  40. ; There is no name validation.  If PHP can't find an expected
    3 P0 z* ~: H9 o
  41. ; directive because it is not set or is mistyped, a default value will be used.
    ( @+ R& y1 K6 Z1 J$ u  `- i& h5 x
  42. 2 C3 A( f3 e7 t5 V$ @5 d
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    4 e- ~% U; W" U) B1 n# I! w5 j. F
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression2 }+ |4 |- {3 \9 ^8 K( |% n
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a% |: I( s1 Y' C; _. {, Q  P$ a. K
  46. ; previously set variable or directive (e.g. ${foo})
    : G8 L$ f& A$ @
  47. - g% x) d, L, X
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    8 A1 t" J8 v& o7 B2 O* T4 h; T& w' I
  49. ; |  bitwise OR7 U" y3 ]! Z; W$ z( Z
  50. ; ^  bitwise XOR8 ?# V, [8 t+ `% x  y0 \; S" Z
  51. ; &  bitwise AND; _  w! y& \( y# M, M0 X
  52. ; ~  bitwise NOT
    3 q/ `3 G' E% P+ X$ G* o$ B
  53. ; !  boolean NOT
      G3 n6 c$ _4 I3 X! c' F& c0 x: d

  54. , g& a8 w8 Q& M5 _9 n; H
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.9 Z4 g! [4 e+ u* C
  56. ; They can be turned off using the values 0, Off, False or No.
    " q! U' z4 I$ `1 P* l' t# R  a6 t
  57. . D8 N- V. x" p: A) ~) j
  58. ; An empty string can be denoted by simply not writing anything after the equal
    7 U% _  Z; M0 l$ A" }
  59. ; sign, or by using the None keyword:' p) _8 _2 k: D2 N& a9 p

  60. 1 u$ |" @9 A/ a' g
  61. ;  foo =         ; sets foo to an empty string
    - B( M4 ]1 a2 `) M  Y
  62. ;  foo = None    ; sets foo to an empty string
    1 ^- h# W& Z9 a' \2 }5 k
  63. ;  foo = "None"  ; sets foo to the string 'None'
    2 t' k6 _! N# P

  64. . _5 I3 X( G# ^/ R2 u; p
  65. ; If you use constants in your value, and these constants belong to a
    - |2 I6 g. m, X& U: ?7 n2 q
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    8 d# \6 @* r% Q0 E/ g6 J- c4 b, F
  67. ; you may only use these constants *after* the line that loads the extension.
    & Q# T. C  o: F+ v& I% u' _1 y

  68. ! r6 N1 N9 k* U
  69. ;;;;;;;;;;;;;;;;;;;
    . Z) N$ v- H, [' p1 O
  70. ; About this file ;
      r, e! E! o0 s$ e! E% H, W
  71. ;;;;;;;;;;;;;;;;;;;
    : ^/ y3 h, `* B$ |: ]* B3 b9 \
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    " A; F' F# _! V9 ]) x& x" M
  73. ; in production environments and one that is recommended to be used in, _# z. t& ]1 e2 k7 X' h7 Q
  74. ; development environments.
    / r4 [0 ^% N( ~! f( m9 e( A" ]5 F) R
  75. ) a# R+ ?" g# k, m7 Y* W2 e* Z
  76. ; php.ini-production contains settings which hold security, performance and# G' G2 D* ]+ E! t8 L* F4 l" {
  77. ; best practices at its core. But please be aware, these settings may break
    0 m2 S: q' o  K8 Z8 l% H% M
  78. ; compatibility with older or less security conscience applications. We
    6 S" j9 O; [9 c$ B  l
  79. ; recommending using the production ini in production and testing environments.2 h2 u4 s$ h6 r8 I' Q. ]3 }
  80. ; x7 `, P* h8 v" S
  81. ; php.ini-development is very similar to its production variant, except it is
    : T9 ^: z# L2 {4 K; K! {
  82. ; much more verbose when it comes to errors. We recommend using the5 Z% Z; f- ?9 _* s2 C
  83. ; development version only in development environments, as errors shown to+ ?5 K% B, g5 P' m/ D' n! q6 ]
  84. ; application users can inadvertently leak otherwise secure information.8 q5 F' L# R  ^& |" t8 }/ b( v
  85.   Q, ^$ h7 b! p7 Z
  86. ; This is php.ini-production INI file.1 T$ z5 L8 |: p/ e1 h! ~3 e
  87. 3 ^+ E6 U% Q8 [8 P% v
  88. ;;;;;;;;;;;;;;;;;;;
    0 Q" S- `" ?6 ?( q! k
  89. ; Quick Reference ;
    / s# w: {0 x; N/ Z! j
  90. ;;;;;;;;;;;;;;;;;;;
    0 y6 D- g. o% p- v
  91. ; The following are all the settings which are different in either the production
    / \2 ]$ q% n% g3 F; B' @4 ~
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    4 T8 I% }9 p& c7 A8 T- `; q
  93. ; Please see the actual settings later in the document for more details as to why0 p8 ]! ]. Z1 x
  94. ; we recommend these changes in PHP's behavior.
    * J( a/ U" X# F+ r: z
  95. 9 B; c( ^& a% _* d. g
  96. ; display_errors
    3 S* ]6 D: O) S
  97. ;   Default Value: On  K0 D( {) e( a0 L3 Y
  98. ;   Development Value: On9 B9 n. m9 g  V' ^. [
  99. ;   Production Value: Off% y, Y7 D, {# K% V) \9 i! d* _
  100. " @, G/ S! N, [  x2 V6 ^
  101. ; display_startup_errors
    : e5 J- \& g) f4 P- M6 S. i
  102. ;   Default Value: Off
    3 k& a( X# R& }# x
  103. ;   Development Value: On  f" S# ~9 s0 b. P% V) `0 b# B5 K
  104. ;   Production Value: Off
    + k2 y7 P& j  a8 ^- m# f

  105. - o% m9 H. i! D: d. P* x
  106. ; error_reporting
    * U4 O( ]7 i- Z! z1 S# g. u. E% ?
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED3 e6 U  j& D; w3 y3 j
  108. ;   Development Value: E_ALL. R2 g5 E* Q& h" r8 p
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT1 D  x4 g$ k8 w1 X3 k

  110. * }: F1 u0 g' f7 C$ W
  111. ; html_errors
    0 U* I, a& ?9 e( @* @2 h1 V" s; ?
  112. ;   Default Value: On4 b9 y( `* u& T. j4 S
  113. ;   Development Value: On5 N; c2 N' d( I) ]0 i/ j
  114. ;   Production value: On- I8 L" c! O8 J" C! G  `4 `/ ^

  115. % u% U' g4 u9 R! `
  116. ; log_errors
    . D3 x# a5 S8 U; y' H
  117. ;   Default Value: Off
    6 h" D5 r! P/ }
  118. ;   Development Value: On
      q8 i( H" V4 N* @6 e# ~$ y4 m
  119. ;   Production Value: On" q0 x$ h% o$ {1 l2 u/ k

  120. ) X$ @" |1 h( M5 `) Q
  121. ; max_input_time
    ! D; H* n5 [. }+ L
  122. ;   Default Value: -1 (Unlimited)
    ( G1 i- m- V+ U2 T
  123. ;   Development Value: 60 (60 seconds)
    , U4 h4 L5 t9 w) W
  124. ;   Production Value: 60 (60 seconds)
    * _; K$ g; L! A: ^0 R
  125. ) _+ \$ X. ^) K1 y$ l3 C
  126. ; output_buffering
    5 W3 g3 Q2 }, }4 a& E7 F0 B
  127. ;   Default Value: Off6 E; U# i+ E( r0 E7 y, K
  128. ;   Development Value: 4096! X" j% d! H6 r  h, p/ n/ }8 _
  129. ;   Production Value: 4096
    9 x' _( M8 G/ [0 ~( \7 }/ e

  130. & E& S1 P& d. G5 Z, n
  131. ; register_argc_argv
    / h/ Q# g& C* i! F$ s& a, D
  132. ;   Default Value: On
    5 V5 J2 f; t# [; ]# S
  133. ;   Development Value: Off
    * B5 M# Z4 Z, }
  134. ;   Production Value: Off
    $ E3 J  E2 L# e4 y' ?

  135.   z/ l0 H* ~( x5 A
  136. ; request_order
    2 f! Z; |5 F% E' y  \  |. L8 _7 s
  137. ;   Default Value: None, N  ?4 A( ?* o( g
  138. ;   Development Value: "GP"
    , D$ C( W% Y5 M6 b0 c( @& S# U- F4 N2 x
  139. ;   Production Value: "GP"
    : U0 Y; t5 }/ y) X) M9 O" R

  140. 1 k4 Q8 U$ x4 x- s
  141. ; session.gc_divisor5 i4 V5 G9 b7 |4 d/ y8 W
  142. ;   Default Value: 100, }- t; z" q! R6 R, E5 o8 H
  143. ;   Development Value: 1000
      Q; }( z# l+ j3 p+ S0 n- u
  144. ;   Production Value: 1000! ~' `- D6 j3 U/ w  u2 G7 p
  145. 2 H5 u3 K  x' E. {
  146. ; session.hash_bits_per_character4 t9 F3 P: {' }( \; c9 T0 K
  147. ;   Default Value: 47 K* V$ g, f/ j$ |- ?
  148. ;   Development Value: 5$ F- U+ v; A& }7 F
  149. ;   Production Value: 5
    $ E: m  [" \2 U9 Y- D: ~
  150. . q, F: e" s' b9 p
  151. ; short_open_tag9 q1 j5 v6 U) D
  152. ;   Default Value: On
    & B" q- s8 T) p$ X; m& N
  153. ;   Development Value: Off# \7 [9 p5 Z7 @" W5 i" ?8 Y) T
  154. ;   Production Value: Off
    8 Q9 C- W, R0 `! {% N' D- ]1 G% N

  155.   T) Z$ ~2 V( I
  156. ; track_errors
    ' N% F( R. n( ?. u) F8 H0 L. n9 j
  157. ;   Default Value: Off! I0 `3 Z7 P' C/ [0 i9 E
  158. ;   Development Value: On, |7 F* s4 L- z
  159. ;   Production Value: Off
    8 S: Q- m" b8 C( P% t( ^
  160. 8 K  s5 w3 E  m/ Z
  161. ; url_rewriter.tags( V( t3 }" {3 f5 i+ w( M+ `
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    # Z* e& G  b  z% n$ o8 ^$ P7 S
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"4 P' E$ h( W* I, `
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"/ b/ b% V4 Z% L  V' M
  165. 0 z7 q$ R* U; W5 t  [
  166. ; variables_order
    * F3 {0 m+ G. n$ H. R
  167. ;   Default Value: "EGPCS"
    " p' O# j; |/ `7 v
  168. ;   Development Value: "GPCS"
    : s* h% ?  ~+ }2 W$ a' k
  169. ;   Production Value: "GPCS"
    6 n2 }0 m! m- S% f  [! Y3 l
  170. 3 V3 F! M  y! x7 R1 K5 W
  171. ;;;;;;;;;;;;;;;;;;;;
    # `* R/ Y1 ?7 e
  172. ; php.ini Options  ;
    1 X$ V3 B  Z, T# h3 `, v
  173. ;;;;;;;;;;;;;;;;;;;;
    ( ^  O$ ?2 m) R1 |$ ]0 _
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    ! X% J6 T- s4 c) k" W& m/ s" Z- B
  175. ;user_ini.filename = ".user.ini"& {+ R* c1 ^+ X4 G* _
  176. 8 s) U+ o/ k) Z& j
  177. ; To disable this feature set this option to empty value. ]. C8 C% D3 L8 c3 E! A' K( L
  178. ;user_ini.filename =
    ) ]. S9 k- _6 n3 f; o; Y
  179. ' |2 u1 S# M/ T* M  f9 Q: K
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    2 Q" q/ e! R4 H* b
  181. ;user_ini.cache_ttl = 3006 N/ p1 w. ]7 ?7 _# |" _* r

  182. ; ?- D3 E8 Y0 A& {8 x8 G
  183. ;;;;;;;;;;;;;;;;;;;;
    , }5 L( u& ?9 R( W4 E5 V
  184. ; Language Options ;
    1 e) ?' p# E& Q+ G$ p  c- S0 n0 t9 _
  185. ;;;;;;;;;;;;;;;;;;;;( e! }& S2 F. `! ]: f

  186. & i. q) e/ B: N
  187. ; Enable the PHP scripting language engine under Apache.
    - t" k9 p/ ^& q  p" \
  188. ; http://php.net/engine0 M/ m6 @- d& W) k, r* m
  189. engine = On
    3 g1 L4 ]) W7 c, x6 b  Q, o
  190. ' _8 W) G. }* C- F4 g% e) C6 }
  191. ; This directive determines whether or not PHP will recognize code between
    # G; |4 R% b$ g" K: W# Y) B
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    , ?" z- t" D# k5 |; [7 {; Q
  193. ; generally recommended that <?php and ?> should be used and that this feature
    & w- N$ [. N% R3 x- g$ u# T3 Z9 O/ K
  194. ; should be disabled, as enabling it may result in issues when generating XML
    , o1 I2 M2 x% k9 Z( U, K0 L6 [
  195. ; documents, however this remains supported for backward compatibility reasons.
    6 y  s, S- d! w  i$ l. `3 l/ f
  196. ; Note that this directive does not control the <?= shorthand tag, which can be$ y7 d0 Z/ U( D2 T9 s5 C
  197. ; used regardless of this directive.
    2 q5 W9 a- u% J  o3 M7 U5 c
  198. ; Default Value: On8 `. g! E+ I7 B3 D
  199. ; Development Value: Off/ ^5 N# C' Q. ]; S5 V9 @
  200. ; Production Value: Off
    $ w3 F! ?  j' B" y# A
  201. ; http://php.net/short-open-tag& z2 v1 F+ `0 q! l' j0 v* p4 n3 _
  202. short_open_tag = On
    & {5 U2 p/ e/ `4 ]0 I+ y% r

  203. # S% o' R7 X; I: W- E5 r1 \' z6 i$ H
  204. ; Allow ASP-style <% %> tags.
    / z7 A; x, I2 c1 E' I
  205. ; http://php.net/asp-tags
    ) z1 b4 @0 ~. r  Z
  206. asp_tags = Off
    ' V) n4 C* v1 M# P

  207.   v" M$ o# I0 I6 Q
  208. ; The number of significant digits displayed in floating point numbers.
    2 x0 f5 z6 z( X' r
  209. ; http://php.net/precision
    . A  ^! {2 R+ C3 F. v8 @
  210. precision = 14
    9 _9 s  X; i' i
  211. 4 [" Z$ b( Y% u4 I0 g* F0 w1 H
  212. ; Output buffering is a mechanism for controlling how much output data
    ' P3 x2 K7 n; q/ t
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that" f% x+ L+ h, V) T8 Q6 _( |
  214. ; data to the client. If your application's output exceeds this setting, PHP
    / n8 z) U9 P: }: f
  215. ; will send that data in chunks of roughly the size you specify.
    . X- `' c6 f4 R+ q; r( B
  216. ; Turning on this setting and managing its maximum buffer size can yield some2 \4 }1 x" r) y  J
  217. ; interesting side-effects depending on your application and web server.
    - q9 f* G. \' A3 |1 |/ n
  218. ; You may be able to send headers and cookies after you've already sent output
    " N% B6 t  S& d8 M  o
  219. ; through print or echo. You also may see performance benefits if your server is9 h' C/ I1 \2 l, ?2 D5 r: Q
  220. ; emitting less packets due to buffered output versus PHP streaming the output3 o" K- o1 e8 Z8 l
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    5 @% r8 }: ]6 W2 i
  222. ; reasons.5 S1 N0 h2 }5 k! k, r
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
      C$ N7 m: U5 c
  224. ;   functions.( i* L8 Q2 |( E" V: }
  225. ; Possible Values:
    & \: ]& Z! D4 j. h& f& j: d- {8 z
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    & _6 p0 }3 n; c! K8 {& H
  227. ;   Off = Disabled  B9 m! p( j9 o- `
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    8 d# M& ~4 |$ E% I1 g0 g1 n+ N/ ~
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI, k& N  Y: n5 F" E& ~
  230. ; Default Value: Off
    - a/ O# a3 A0 H- [4 p& s
  231. ; Development Value: 4096& y; x. G5 p0 H8 ]# Z
  232. ; Production Value: 4096
    ' c: E. @6 ~& O
  233. ; http://php.net/output-buffering
    5 R" h; m; E" i9 J1 j
  234. output_buffering = 4096
    4 x2 ^) u5 t' \' f0 g8 n
  235. 5 g5 l5 w7 S9 ^' L
  236. ; You can redirect all of the output of your scripts to a function.  For; `; f+ L# P9 ~, W) l/ Z7 o
  237. ; example, if you set output_handler to "mb_output_handler", character
    * ^! ?2 }- U, S$ W
  238. ; encoding will be transparently converted to the specified encoding.! O% }) W5 P" F/ w
  239. ; Setting any output handler automatically turns on output buffering.* e4 Z+ S+ l6 k) R" c- R
  240. ; Note: People who wrote portable scripts should not depend on this ini
    ' A! o- y# p5 p
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    " y* B" ^- K& H
  242. ;   Using this ini directive may cause problems unless you know what script( _, g* |2 O6 }" a6 b3 k: f1 [1 E# D
  243. ;   is doing.% a2 {1 z0 m& F2 i9 w. t, d
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    1 B8 R! m2 ?; B8 B1 Y! q7 {4 M/ D/ d
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".% }, x: B, w" R& q
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
      l9 L3 D  N8 Q5 u' Q, s
  247. ;   Instead you must use zlib.output_handler.
    ' `# Q$ E# k3 O+ [. K- [
  248. ; http://php.net/output-handler
    4 ]) [! q0 J/ z: A2 L4 F
  249. ;output_handler =
    4 A3 q+ d; f2 J. s  m0 \
  250. * E! Q2 R' ^9 B9 \* Y/ e4 O
  251. ; Transparent output compression using the zlib library1 Z6 ]0 {, Q0 H* P4 @+ c4 P
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    0 j* g5 l5 ^( n: B9 ~; |! \
  253. ; to be used for compression (default is 4KB)# D2 c2 Y+ {4 d; n2 H5 C
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
      r3 a, s4 X# c/ O# c7 F* I
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    1 g! s7 u3 N- E6 N
  256. ;   compression. If you prefer a larger chunk size for better# Y4 o! |: o6 R2 X
  257. ;   performance, enable output_buffering in addition.
      o% r( y. W: R8 {
  258. ; Note: You need to use zlib.output_handler instead of the standard
    3 Y! O. k. w0 k
  259. ;   output_handler, or otherwise the output will be corrupted.
    8 \1 g/ i; Y3 n0 O# r0 {* I
  260. ; http://php.net/zlib.output-compression( d8 A- s, r1 S$ q& A* U
  261. zlib.output_compression = Off
    " L$ t  b, b. }" s! N1 A/ u

  262. ' `4 R& ~% B) I6 W" B
  263. ; http://php.net/zlib.output-compression-level
    $ U* W9 m1 l+ B+ W* R0 m
  264. ;zlib.output_compression_level = -1. S2 N& ?( l- V  `8 G% Z
  265. - A0 N! d; R7 u" C- }
  266. ; You cannot specify additional output handlers if zlib.output_compression
    9 t6 S: e$ M' P8 [# K, ~/ x
  267. ; is activated here. This setting does the same as output_handler but in* l8 f4 g; y: s5 D) x% ^* x6 M4 G
  268. ; a different order.4 a; K% W) D. X  d4 }
  269. ; http://php.net/zlib.output-handler
    , ]8 O# v. F7 I  J( Q
  270. ;zlib.output_handler =) E- T$ Z8 {/ i6 q- X& x8 p

  271. 2 `# X6 E# s) ~) ~7 V3 H  L
  272. ; Implicit flush tells PHP to tell the output layer to flush itself9 n+ f" |! S1 z& f! b
  273. ; automatically after every output block.  This is equivalent to calling the
    0 {0 }. d. M' ~; v# S  ^5 ?; |
  274. ; PHP function flush() after each and every call to print() or echo() and each
    4 F+ q: H/ u7 z: s7 _  X: @0 n( c, j
  275. ; and every HTML block.  Turning this option on has serious performance9 O0 q# ~, F( A/ X
  276. ; implications and is generally recommended for debugging purposes only.- }2 r; Z* u. Q4 F) a, y
  277. ; http://php.net/implicit-flush# \) J/ ~1 p6 _5 m
  278. ; Note: This directive is hardcoded to On for the CLI SAPI9 ^2 s9 p" `' r
  279. implicit_flush = Off
    1 m+ }, y3 {$ h2 O2 {- Z$ P2 d
  280. 1 {7 Q& b$ `0 \& L# K2 }& r4 [: s" k
  281. ; The unserialize callback function will be called (with the undefined class'
    , B6 O6 N8 x$ l' N8 ~
  282. ; name as parameter), if the unserializer finds an undefined class
    ( }: l2 ?$ A# w5 [- J
  283. ; which should be instantiated. A warning appears if the specified function is. `5 a8 |: `! P9 X3 F# d( l
  284. ; not defined, or if the function doesn't include/implement the missing class.( a! e/ P1 [- q( ^. K
  285. ; So only set this entry, if you really want to implement such a
    4 D* Y3 Y; M& S
  286. ; callback-function.
    0 `" u7 n* f) ?' B; l
  287. unserialize_callback_func =! A& I6 r4 T4 ^' `6 ]* X8 n

  288. . s# j6 u2 c* X7 H! u! s/ U
  289. ; When floats & doubles are serialized store serialize_precision significant) U$ s5 `2 \& |" ^* r/ c* W
  290. ; digits after the floating point. The default value ensures that when floats' n7 y0 l! W2 j, c
  291. ; are decoded with unserialize, the data will remain the same.. v: X. B* _( ]6 |/ h8 j8 N3 t
  292. serialize_precision = 171 U2 g9 O. ^& R
  293. % ~  t7 \5 W4 b: e1 F  }, i
  294. ; open_basedir, if set, limits all file operations to the defined directory
    : u  G4 {# @" q% {' I1 n- b
  295. ; and below.  This directive makes most sense if used in a per-directory; U* M) p: P) g, B0 B0 {/ L
  296. ; or per-virtualhost web server configuration file.
    / M$ J. D  r: B9 h6 g4 r% p, R
  297. ; http://php.net/open-basedir
    4 i3 d. o2 g6 s0 i2 w4 W, e+ O! l& M
  298. ;open_basedir =6 T. U: f8 P* r# @; [9 @

  299. 9 x) G" R9 p8 v% |& V
  300. ; This directive allows you to disable certain functions for security reasons.0 n1 W6 A* j4 {$ O9 b; T2 V
  301. ; It receives a comma-delimited list of function names.! r2 C! U- H" u
  302. ; http://php.net/disable-functions! ~$ r( b, S1 J$ A# E' I
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru9 x1 P. g3 F) N" l4 V) T8 m

  304. & W! s! u# K( |( B2 o1 n
  305. ; This directive allows you to disable certain classes for security reasons.
    , W! k' J4 Y7 c5 d5 s
  306. ; It receives a comma-delimited list of class names.& m; y! c1 r& _7 c3 l/ ~9 H, z
  307. ; http://php.net/disable-classes
    ! f  a# [$ s9 w3 w8 i
  308. disable_classes =: V* P  b# o# u- K1 o) |! Y3 B* A
  309. 7 `+ L: Z# p2 h+ ^$ k  @# ?* w+ Q( z
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in- |" F* A3 X: u' m7 c+ n
  311. ; <span style="color: ???????"> would work.
    ) }6 U+ y6 x/ A( C: n$ ^0 A6 U
  312. ; http://php.net/syntax-highlighting- Q' a# l* s5 a) V9 ~9 e
  313. ;highlight.string  = #DD0000* L! D$ E# O; @1 D
  314. ;highlight.comment = #FF9900, B: T1 `5 ]  A2 u  H4 _
  315. ;highlight.keyword = #007700- T1 |; {( h) G9 b" s
  316. ;highlight.default = #0000BB* C0 D- u7 f) a, r7 I1 F! i3 Z
  317. ;highlight.html    = #000000
    7 {* d, G7 j0 T5 T% `

  318. - D0 X% P/ f% r3 U( A/ q9 l
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    / B/ m* L4 J4 V  Y! y- i" z1 B& }7 `
  320. ; the request. Consider enabling it if executing long requests, which may end up
    7 S- R; E  ^" y5 ?% o
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    . o) r2 m  s) D: M! ]5 A4 ?2 g4 ^$ p
  322. ; is to disable this feature.( g9 ~1 Z' f9 V5 z0 J
  323. ; http://php.net/ignore-user-abort$ ~/ ?& l0 V2 }  Z! v0 x( Q% x
  324. ;ignore_user_abort = On7 I( H6 U( A1 L+ n+ ], w
  325. 3 O) G, Z* ^- Z( k0 A1 M2 ?
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    6 |5 H% @' F3 t. J# i0 C9 c
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    . L6 h( m8 l/ `8 R+ p- v9 B% I: O; r- ]
  328. ; the file operations performed.% E, z/ E( g. j+ V
  329. ; http://php.net/realpath-cache-size* n3 o# N+ C8 [: ?+ e
  330. ;realpath_cache_size = 16k+ \& q( K2 M1 H2 y6 |3 o
  331. 5 M! Q* B7 M5 Q/ P: _
  332. ; Duration of time, in seconds for which to cache realpath information for a given7 u  ]$ y: V) y; a/ i( C
  333. ; file or directory. For systems with rarely changing files, consider increasing this) e/ [- z: ]4 y5 D7 V0 d0 @1 r0 K
  334. ; value.0 O+ q* x8 V+ X$ Z8 r( w# H
  335. ; http://php.net/realpath-cache-ttl
      l) }$ U' I3 g; d1 J
  336. ;realpath_cache_ttl = 120
    1 u# ^3 l; ^9 X

  337. . H2 r- E* E/ _- c1 L& X  @2 i
  338. ; Enables or disables the circular reference collector.
    % v1 L. X! |# a, g
  339. ; http://php.net/zend.enable-gc
    0 A( D) P2 s) G  i( p7 c/ X
  340. zend.enable_gc = On. D% p9 k% g/ p8 g8 G) }5 K2 {

  341. 3 [# t$ u1 Z  {/ F, s/ C/ G
  342. ; If enabled, scripts may be written in encodings that are incompatible with0 N/ `4 B' D  \, [3 u4 V
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    ; \  ]% r" F( h$ N& ~" H
  344. ; encodings.  To use this feature, mbstring extension must be enabled.4 q! G, W) v& I: X
  345. ; Default: Off3 K% [- X# J; L  L
  346. ;zend.multibyte = Off" L3 S- n% |/ ~  L+ I* B( Q
  347. - {0 `( K. h, A( x
  348. ; Allows to set the default encoding for the scripts.  This value will be used2 o% W2 e1 g( D; R9 X; C
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    6 w: f/ n- X! H- k+ X
  350. ; Only affects if zend.multibyte is set.
    ; b- b; x* s  I* J1 J, T
  351. ; Default: ""8 b  u, b4 D8 W: ?( X
  352. ;zend.script_encoding =8 p3 {. }$ a) Q- M7 ?

  353. + Q" D% z* F2 p2 I5 F# W$ |
  354. ;;;;;;;;;;;;;;;;;1 ]- M. s' U$ r8 ]
  355. ; Miscellaneous ;# ?1 f$ l$ W9 I5 B* }. X5 ]
  356. ;;;;;;;;;;;;;;;;;
    ' _& q7 \0 T) D' L
  357. + ?5 V" k' Y% x" ?& @
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    ) z6 n7 ]9 n1 r' x6 y, ]( t# I
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    6 L. d1 w/ [( R6 e& ]
  360. ; threat in any way, but it makes it possible to determine whether you use PHP8 U$ p( Q! z+ z! P& n6 |# S
  361. ; on your server or not.
    1 e1 ?; E! W# b( x* ]1 Z) p7 w
  362. ; http://php.net/expose-php, a* Q# w9 ?/ j0 m
  363. expose_php = On
    ; ?; L7 i% ?# a, s: I) `- ?; e

  364. 3 N6 ?% h  o& o3 R0 C! X
  365. ;;;;;;;;;;;;;;;;;;;
    ' r9 h1 P+ |) w- ~5 f# ]( O
  366. ; Resource Limits ;" y% ^/ x$ b1 l. F, c+ }
  367. ;;;;;;;;;;;;;;;;;;;
    " K  F6 g! _2 h- f& P

  368. 5 E4 p0 G# S+ s) b* x
  369. ; Maximum execution time of each script, in seconds
    & ~: R$ t/ m& |; `
  370. ; http://php.net/max-execution-time. u+ H  G8 q  b  y" J% R! @# B! W
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    3 a3 v, m, K4 G5 [! D6 Q
  372. max_execution_time = 300
    " \9 R* Z' A; N9 O' T

  373. * s$ m2 A. M+ s" ?  L
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    8 c$ w  S- J/ q6 K# J
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    # M8 `4 M9 d' Y; _
  376. ; long running scripts.+ M6 T5 z+ _  U) v% p+ v9 ]
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    : b4 z" a5 {  e: C4 O
  378. ; Default Value: -1 (Unlimited)
    # `0 g3 W* y! J
  379. ; Development Value: 60 (60 seconds); J3 ]' D+ w0 f2 b
  380. ; Production Value: 60 (60 seconds)6 j- g" F: b2 R7 Y+ e8 e) z
  381. ; http://php.net/max-input-time
    5 G3 t: ^, s$ C! z
  382. max_input_time = 60
    & ~( O* j/ O- v- `! u
  383. 6 [; G" R: W: v' X# `! `
  384. ; Maximum input variable nesting level" L- l: g$ t& Q
  385. ; http://php.net/max-input-nesting-level# C( I. g' w7 k$ K! J! Q. _
  386. ;max_input_nesting_level = 649 p  h! }0 M) b2 c4 ?

  387. . H; v- o. S1 l. u# u+ R
  388. ; How many GET/POST/COOKIE input variables may be accepted& f0 P$ t; V3 L" f8 \" z
  389. ; max_input_vars = 10005 H# \: o  e' a! x: n  M6 }

  390. ( h; w. @% }/ E* L5 e6 k
  391. ; Maximum amount of memory a script may consume (128MB)1 g  {5 k6 `! Y3 m4 x
  392. ; http://php.net/memory-limit
    & e. A2 A. n2 e- E
  393. memory_limit = 128M' k  _5 T* k& U; v7 d9 [
  394. ; g! c% \3 W) g" t
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    7 d' ~! Q3 T5 @
  396. ; Error handling and logging ;9 s% X* ]$ v4 R/ x5 [  H$ i6 u
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    9 Y1 |2 b, ?6 P# e, ?

  398. " o8 Q- w& C1 D5 ]) j; J' g7 A
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    7 x& _) L+ ]& }" k  B
  400. ; it to take action for. The recommended way of setting values for this% @% Z1 q" J( I( U4 ?
  401. ; directive is through the use of the error level constants and bitwise0 v2 P- ^2 Z: d% [; o8 l% e
  402. ; operators. The error level constants are below here for convenience as well as- ]% E: E9 O* y# {- ~- G
  403. ; some common settings and their meanings.
    ) r. g" \  B& d# J
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    5 z9 G6 k" A6 r0 c  N
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    " R( J+ A  C. c
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    . ]4 x1 w& a' f: \  d9 b
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    4 O: \7 R, F& ?5 n# J' j5 r* G
  408. ; resources complaining about best practices and coding standards. That's what- q1 E! G8 Q. ?' L8 J
  409. ; development servers and development settings are for.8 U/ d0 n* M4 h6 N& L3 l! }5 X  J; B& x
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    / A- c5 Q9 r1 n, D2 d
  411. ; means it pretty much reports everything which is exactly what you want during) I& l$ R( Q' W7 e& Z, W
  412. ; development and early testing.
    4 y- Q8 S7 B+ C/ |7 D) t2 v
  413. ;
    0 Y# c2 n3 E2 y: E- }
  414. ; Error Level Constants:
    : L5 o: d6 V& j3 E* O8 l
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)7 t7 x# X9 x/ m# }# t
  416. ; E_ERROR           - fatal run-time errors
    4 v" c0 Q) P# `, }: o
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors0 t6 T+ v. _) d, c
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    + t  n$ X  K) Z7 _3 g1 G4 W+ g
  419. ; E_PARSE           - compile-time parse errors
    ' a' s  T7 J6 _' l
  420. ; E_NOTICE          - run-time notices (these are warnings which often result% h; }. B9 j$ N3 ~2 W4 |  z
  421. ;                     from a bug in your code, but it's possible that it was
    4 R) q9 h! v% U* L4 e: x4 T
  422. ;                     intentional (e.g., using an uninitialized variable and
    9 K4 s3 o; F( _
  423. ;                     relying on the fact it is automatically initialized to an+ r3 J5 N- F1 i8 j6 J! M. z" P
  424. ;                     empty string)
    4 s" U0 b( i  C. N# M
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    4 L( P' E0 G" d+ |
  426. ;                     to your code which will ensure the best interoperability( ]6 _1 `% ~. }2 a1 B
  427. ;                     and forward compatibility of your code
    + H4 R# D& o- b. U! q2 x1 D
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    7 X# ]" e& h+ r$ m8 G+ }' ?6 v
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    + E8 _, v7 }& O) U2 h- a
  430. ;                     initial startup7 \% D" C/ `; m) ?
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    + W% x0 k) E4 w) }$ C
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    & l" W4 C9 z/ o' v
  433. ; E_USER_ERROR      - user-generated error message- ^, C) |2 ?: `7 w# L) S
  434. ; E_USER_WARNING    - user-generated warning message
    + l! J3 h3 G$ M
  435. ; E_USER_NOTICE     - user-generated notice message
    6 d; x( c) `  u0 P  J: W
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    . g6 D( u; }* U& R" ~! Y$ }
  437. ;                     of PHP, p& {+ ]- `0 _/ w, ^* z
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    ! y& t4 g  q8 V
  439. ;
    9 k. G' [# V1 \9 `# \
  440. ; Common Values:) R: U' ~4 I: H) y6 R' d
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)% f* g2 ~7 p1 a1 @! U% m3 M
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)  F& A% ^* i' T  l6 R$ o5 K
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)/ _* H8 B: R' N1 a! U
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)4 L7 Q1 R& C' e6 F5 K( O1 X+ S- L
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ) l; p$ h- E5 ^. x& H( X/ l9 i3 F
  446. ; Development Value: E_ALL  M9 [' @6 H* ]+ F# v+ c5 Q
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    4 T5 G4 P5 H  Q) Z. I6 b. |( i
  448. ; http://php.net/error-reporting' w' u+ c" Z7 u9 {5 Y
  449. error_reporting = E_ALL & ~E_NOTICE
    7 t. Z* B, _3 C4 n" i  `( w
  450. & f7 x4 I6 ]6 E) p# `, A
  451. ; This directive controls whether or not and where PHP will output errors,
    ! A- i0 K8 O* n7 v1 S, A( j
  452. ; notices and warnings too. Error output is very useful during development, but/ L; _& K! p" {/ I* x* H
  453. ; it could be very dangerous in production environments. Depending on the code  `* w, r5 h; [4 K$ u
  454. ; which is triggering the error, sensitive information could potentially leak
    6 h1 J9 y" G# g0 N# p6 r
  455. ; out of your application such as database usernames and passwords or worse.
    # a. b3 h2 b, k
  456. ; For production environments, we recommend logging errors rather than1 q1 ^  l1 t) {
  457. ; sending them to STDOUT.+ F; [. \1 f( u: N
  458. ; Possible Values:
    ' |' ~1 O, B6 w1 p! Z
  459. ;   Off = Do not display any errors" L. W5 F# U! a: G  l
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!): g2 X/ _5 V3 f. k7 o$ V
  461. ;   On or stdout = Display errors to STDOUT
    : n  ?' s, F& a2 A4 i  D5 ]
  462. ; Default Value: On
    . S) S& u/ r# d
  463. ; Development Value: On
    $ L$ G4 {$ V% C2 Z+ a. g
  464. ; Production Value: Off9 G8 d/ a& A0 c& t3 W/ @0 ^+ ~
  465. ; http://php.net/display-errors
      W- m% g: t$ o- _  K% \) {
  466. display_errors = On
    1 m0 }8 x. w, Q' {9 H" E1 s

  467. - E( p  ?0 i/ G& e; O8 |
  468. ; The display of errors which occur during PHP's startup sequence are handled
    : G! X+ N# L# ]' q  B$ G
  469. ; separately from display_errors. PHP's default behavior is to suppress those( d$ ^+ x8 e4 m7 g2 }; l
  470. ; errors from clients. Turning the display of startup errors on can be useful in" _2 @) O; {6 {0 E# R; J
  471. ; debugging configuration problems. We strongly recommend you7 G" Q# V: X# h: b6 t
  472. ; set this to 'off' for production servers.
    # Q- f" Y0 [6 I1 f
  473. ; Default Value: Off% {# p; F! \- w! o, H
  474. ; Development Value: On
    ( [8 R- P! K4 ?( H. @+ U/ i
  475. ; Production Value: Off
    + L0 v/ D$ x4 r  ^6 c; `! K
  476. ; http://php.net/display-startup-errors
    / W1 Y; I& c3 j4 o5 ]
  477. display_startup_errors = Off
    ; S$ j. x* e6 X; s& k

  478. - U! W& \0 f* p$ D, X. U
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    4 b. G+ Z+ K' B$ Z
  480. ; server-specific log, STDERR, or a location specified by the error_log
    : Y1 Y5 \' i& e6 W! C7 ?! x( x
  481. ; directive found below. While errors should not be displayed on productions
    / |3 e4 i: ^  W* k' G# m
  482. ; servers they should still be monitored and logging is a great way to do that.- n% `9 P! |, T# A$ ]- e1 c1 x, A
  483. ; Default Value: Off- Y7 w6 y$ V6 B' Q* j
  484. ; Development Value: On/ h. g! N) x! z0 x3 ?" h
  485. ; Production Value: On; W3 [  f' U- o3 J" a8 x
  486. ; http://php.net/log-errors
    ' Y# }: m& i: ]# W6 Y2 j# K. K; t
  487. log_errors = On  y  w. D% K3 r

  488. 3 a/ n% ]) Z1 S2 R2 Y1 w. S
  489. ; Set maximum length of log_errors. In error_log information about the source is" y% P: i% m  Z( U
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
      H! k) @! V5 V2 N
  491. ; http://php.net/log-errors-max-len, i9 F5 c8 B: X  K9 v$ A# [
  492. log_errors_max_len = 1024& \& P5 N# D- N$ U" n

  493. 3 O, n) {' u8 f- i0 Y: U4 l
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same9 e% {2 y0 x% d& g3 A' \
  495. ; line unless ignore_repeated_source is set true./ ]# R$ q3 R1 i+ p# S8 I% M1 z0 t
  496. ; http://php.net/ignore-repeated-errors
    : c0 P8 G5 s9 r' t
  497. ignore_repeated_errors = Off( c6 o% z; R. W; V0 ^4 U

  498. 6 f) i# K9 I: q+ I  S/ F
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    3 f$ O9 j# L* I2 m
  500. ; is On you will not log errors with repeated messages from different files or+ ^7 W$ H! B0 p$ f
  501. ; source lines.
    % \; i) R# a% Y6 m/ y3 q
  502. ; http://php.net/ignore-repeated-source
    9 U: r! w7 Y. v2 X8 e1 x4 d
  503. ignore_repeated_source = Off
    + W7 e3 ~' Z5 ^5 d  w
  504. 1 i6 v( w+ ?$ x  M$ c" A+ W- A
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    3 y: E# M7 E0 U1 ]
  506. ; stdout or in the log). This has only effect in a debug compile, and if4 m$ G3 k$ ]0 a* `
  507. ; error reporting includes E_WARNING in the allowed list
    5 \( g# d: a: I0 Q
  508. ; http://php.net/report-memleaks" M4 g4 f; g  w! q
  509. report_memleaks = On! L* c5 r  P5 N
  510. 2 O& g9 Q7 L: h7 X& c& y! [0 w
  511. ; This setting is on by default.
      ^. l; Y7 T9 \0 I3 t: `
  512. ;report_zend_debug = 0; @/ ?# o) k5 W! C4 x

  513. 9 h" M4 T& s% s3 {" ]
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    * ~3 J9 k; H% k! \' O
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    + r: b  @! T5 k% V
  516. ; however be disabled on production servers.( {/ L" ]0 k1 a! l' i: M( a  ]
  517. ; Default Value: Off
    $ o. ^  H0 s$ ^' I9 B
  518. ; Development Value: On' j: f  i. a+ k
  519. ; Production Value: Off
    - i! u1 s( U* }# x
  520. ; http://php.net/track-errors+ {# _/ f( _) ?; X1 A1 @% }# R$ Z
  521. track_errors = Off
    9 @. `6 N' \3 _- S) J

  522. 8 U$ q& |: c" }  c
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    ( i* b+ N" e& l; w
  524. ; http://php.net/xmlrpc-errors
    , t! ?' Q& D  O: a4 o
  525. ;xmlrpc_errors = 0* f0 L- f$ H% c9 o. ]7 Q
  526. 5 k5 g9 M& v$ Z4 I; a5 ^
  527. ; An XML-RPC faultCode/ Z0 I, [" d* q, \/ @
  528. ;xmlrpc_error_number = 0
    4 Z; l+ t. s+ K6 I

  529. 4 e( [4 h3 r1 t  B( q; H
  530. ; When PHP displays or logs an error, it has the capability of formatting the& C. K2 R& K6 y1 C' v* j$ J
  531. ; error message as HTML for easier reading. This directive controls whether2 i: c0 c# l4 a7 S3 F- I" R
  532. ; the error message is formatted as HTML or not.
    1 e3 b2 g, N4 p* N( N2 ], {
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI% J1 F% n! T; L! M% Y
  534. ; Default Value: On
    1 |. ?% ]; L2 f7 k2 S
  535. ; Development Value: On
    % q: i- ~* n6 h# m* I/ a
  536. ; Production value: On
    . [% k) S9 [. W% j( C) V
  537. ; http://php.net/html-errors$ B$ _- n" o+ L; D/ E/ k: M
  538. html_errors = On
    ( P6 B  T: W$ |/ O/ x  }

  539. ) v6 |+ b% d9 i& M* Y
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
      K% H0 S% T) @, t, F& m* Q2 D. N
  541. ; produces clickable error messages that direct to a page describing the error$ V7 c* s: W( S: d! r7 N
  542. ; or function causing the error in detail.
    6 q+ s% v! B: t5 T
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    0 P' Y/ P% f# a; i7 j' e; d$ l$ T
  544. ; and change docref_root to the base URL of your local copy including the; ^, ^* F: D  L5 d/ g
  545. ; leading '/'. You must also specify the file extension being used including
    + S! Q8 j" u* D  K  x1 Q3 t
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    1 {: s+ {0 S) e  z0 z5 ]
  547. ; case no links to documentation are generated.' J8 E; Q6 ]8 n9 c: Z# c/ h8 i, B
  548. ; Note: Never use this feature for production boxes.2 n9 ~: {# X/ _$ f9 S& x1 Y( j& N
  549. ; http://php.net/docref-root
    + e* J: D" P' E) P
  550. ; Examples
    ( h5 o' `; |# @. k+ f5 B: l7 c
  551. ;docref_root = "/phpmanual/"$ E$ ^; e. R3 z- \

  552.   o- D. b( N6 S; l- F. ?+ O
  553. ; http://php.net/docref-ext  k8 K" K- Z7 @) z$ V7 j  p3 R8 A; f, Z
  554. ;docref_ext = .html  Z9 M9 j8 e4 q( \  P2 y
  555. # E! M: i1 ~# @* ?4 v  A# k
  556. ; String to output before an error message. PHP's default behavior is to leave
    . `! D0 c0 U  W3 D! j
  557. ; this setting blank.  m+ _& n5 T( N! Q+ c& g
  558. ; http://php.net/error-prepend-string
    / Z: y1 N! G( v( |: y. b
  559. ; Example:( I9 R: Z- Y! c+ t& J  s  x& M* _
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    & j# q" ^& p; ^7 l

  561. ' d, P3 L9 _0 s2 U
  562. ; String to output after an error message. PHP's default behavior is to leave
    7 M5 ]% o9 J3 p0 _2 Z
  563. ; this setting blank.7 u- f, a' q, q5 N
  564. ; http://php.net/error-append-string+ k( k9 S: t, J
  565. ; Example:
    ) h/ e, q9 c7 b, i* N" ^& J# ?
  566. ;error_append_string = "</span>"
    ! f; a' h  k1 H" J+ K# A

  567. 3 E! N8 M6 j  |9 z; P
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    - ?& [6 T  P2 K' T& b
  569. ; empty.. N, ^. X9 A9 k" s0 `
  570. ; http://php.net/error-log: @: S( D0 g% n
  571. ; Example:
    . N1 Q* x4 R2 j, D3 c/ E
  572. ;error_log = php_errors.log7 Q, Z7 T5 U' P# g4 U
  573. ; Log errors to syslog (Event Log on Windows).7 {$ Z, O6 `" f! i/ F9 h( m
  574. ;error_log = syslog3 q: z3 M6 a# g$ c# R' L8 ^% N
  575. 9 J* E; e- a; x" q$ g* y  y5 |/ O
  576. ;windows.show_crt_warning
    8 E0 K& C# Z/ K2 W  x6 Y; q" S
  577. ; Default value: 08 w. D0 t( b& \2 x( C6 V
  578. ; Development value: 0
    4 j- @9 @0 @0 F8 |" I! p# }5 X
  579. ; Production value: 0' O1 D& e8 u1 l# _" Z5 R! k
  580. + F; A# x! h  q# e/ |) s
  581. ;;;;;;;;;;;;;;;;;
      s! l9 F* E% v4 M
  582. ; Data Handling ;
    ) u& z2 |  f, ?: e
  583. ;;;;;;;;;;;;;;;;;
    ' V6 W8 i% U) P9 g% v+ I8 X
  584. ! Y. [6 N8 A$ B7 z7 J
  585. ; The separator used in PHP generated URLs to separate arguments.) C! o5 {  o% N% n+ e7 u& W. h
  586. ; PHP's default setting is "&".
    7 w+ c+ l; j, p) g) @1 s9 H
  587. ; http://php.net/arg-separator.output
    # m! a; B& y6 a
  588. ; Example:) }+ A1 o3 Z& X5 `
  589. ;arg_separator.output = "&amp;"' a4 J& C  ?/ {. w5 b6 p0 ]
  590. 5 I6 S- [/ [% O" G5 u  f
  591. ; List of separator(s) used by PHP to parse input URLs into variables.& p4 }9 \, ~+ {# i! y, B0 a
  592. ; PHP's default setting is "&"./ Q3 d( W: o6 P
  593. ; NOTE: Every character in this directive is considered as separator!$ q( C  l& r& R) A1 U# |- R* k) B
  594. ; http://php.net/arg-separator.input( l+ T$ T8 A8 p4 u
  595. ; Example:
    : U! t7 X( z: R. R, P7 B* X
  596. ;arg_separator.input = ";&"
    $ D" Q# T0 f9 z  D, W, q7 G

  597. 3 Q6 T& J% ]. y6 H/ F
  598. ; This directive determines which super global arrays are registered when PHP4 M' Q) X+ m0 H
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super1 X- s3 j  ~" }
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    6 O/ j7 I* y6 o  I6 R0 N" f6 K7 }0 S0 [+ }
  601. ; paid for the registration of these arrays and because ENV is not as commonly- Y$ h) U! e- Q- z2 A2 a' p# Z
  602. ; used as the others, ENV is not recommended on productions servers. You
    1 M- Q  J2 T9 x: z
  603. ; can still get access to the environment variables through getenv() should you
    ) W  L. v+ y$ u/ _
  604. ; need to.
    $ t; u# ^4 P) |6 x# T
  605. ; Default Value: "EGPCS"& @! ^0 |9 |5 I( d- z
  606. ; Development Value: "GPCS". y/ d" T$ o: a% X
  607. ; Production Value: "GPCS";
    # {1 l, J6 G: _! [% S2 H( v  \+ e
  608. ; http://php.net/variables-order
    2 K, d/ d" s& K+ S% r/ ^% t; H
  609. variables_order = "GPCS"
    8 `# f, ^* Z3 f8 }1 O8 |/ e2 Y, g

  610. $ R& y8 l% @7 N9 I
  611. ; This directive determines which super global data (G,P & C) should be; S; J# l! S; F
  612. ; registered into the super global array REQUEST. If so, it also determines2 P1 r. |0 A/ }
  613. ; the order in which that data is registered. The values for this directive
    " w* e2 b( Z  ]5 |. g& q: l
  614. ; are specified in the same manner as the variables_order directive,* u0 w$ r6 I0 D: P
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set* y6 d# Z& N1 [3 H3 ~) ~: C: c
  616. ; in the variables_order directive. It does not mean it will leave the super* @1 a) V5 w: G) e1 ^$ }) A
  617. ; globals array REQUEST empty.
    ; |" k/ M: J2 r3 O
  618. ; Default Value: None
    % P& s% {# v' y$ a+ a7 S. K& k
  619. ; Development Value: "GP"
    . Z/ v9 g+ x  R% x! ?
  620. ; Production Value: "GP"4 Z  k: T! k" n' ?* _. i' J0 Z
  621. ; http://php.net/request-order8 J1 O6 u$ W' G# b- V' e
  622. request_order = "GP"
    8 Y) R8 o2 r* M& G$ Z/ m

  623. 8 w# c5 o$ Q% e# o  t! k, X
  624. ; This directive determines whether PHP registers $argv & $argc each time it7 s! k  A" V; q7 w
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    9 C% \  l. q) }. r9 r' G- @
  626. ; is invoked. $argc contains an integer representing the number of arguments3 P  s5 M# ^6 C
  627. ; that were passed when the script was invoked. These arrays are extremely
    8 s' R2 y' f2 H* b
  628. ; useful when running scripts from the command line. When this directive is
    2 C: W9 S- m$ {1 p& ]
  629. ; enabled, registering these variables consumes CPU cycles and memory each time% S5 @' d( u# f/ S: u1 e& {
  630. ; a script is executed. For performance reasons, this feature should be disabled
    " k: i: q; V  ]2 r
  631. ; on production servers.
    , w5 G5 M2 L4 V) c( E
  632. ; Note: This directive is hardcoded to On for the CLI SAPI! f9 n! X+ m: A9 N
  633. ; Default Value: On
    # @! `2 ]9 z. m, T& m' O2 x
  634. ; Development Value: Off
    0 o' P$ z( Q* B; W2 q
  635. ; Production Value: Off/ p( J2 R6 k  ?1 f9 [
  636. ; http://php.net/register-argc-argv
      g  |- M" M) q  s, t8 X
  637. register_argc_argv = Off: Z" P& V) F. Y8 P# k# G7 c5 @3 Y
  638. 6 y9 U' n8 D6 d0 x: ~& l
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're+ ?7 ?6 }# K; X' a/ @
  640. ; first used (Just In Time) instead of when the script starts. If these/ K3 F* A# E. B+ a
  641. ; variables are not used within a script, having this directive on will result6 S* P5 j- X9 ?7 X
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    9 K6 f2 ~3 z/ m
  643. ; for this directive to have any affect.
    ( v. R. P0 ^1 h, g0 o3 r2 q
  644. ; http://php.net/auto-globals-jit
    % e7 y, I5 g4 N8 f* u# P
  645. auto_globals_jit = On
    , Q) z8 c) c% d1 z, y

  646. # G/ E; N2 P6 _7 f0 N
  647. ; Whether PHP will read the POST data.
    ' k/ ]9 j# d5 F! P3 {0 }. ]
  648. ; This option is enabled by default.3 H6 G) K) B, L
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    & J* T& ~' ]) Y8 A3 j- u
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    # h0 `* K) z- ?
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    : z5 n: o" w4 B0 G5 O
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.6 t5 p* n* k; h) n  t0 t. s) Z5 O! R
  653. ; http://php.net/enable-post-data-reading
    5 I6 |- }% d. w$ }2 x& y9 C; d
  654. ;enable_post_data_reading = Off' Z8 d! T9 P5 ?! p0 A: B7 H" n( d1 y

  655. ! Y. ?1 r4 H! X" G1 \# j
  656. ; Maximum size of POST data that PHP will accept.9 r7 E  d& v, G1 ]0 |
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    - q- j3 Q  Q) E
  658. ; is disabled through enable_post_data_reading.) e/ ?9 v9 _$ ^7 ~+ o2 n
  659. ; http://php.net/post-max-size
    6 }& u2 \& P5 l, w, l6 I  |' M
  660. post_max_size = 50M
    & f( @  \* Y% d. l
  661. + |1 E, i) H9 l; v" {$ e
  662. ; Automatically add files before PHP document.! \0 N" y" j2 r( f* C+ m
  663. ; http://php.net/auto-prepend-file
    . _) _1 a7 W& j1 G0 K7 n- ]
  664. auto_prepend_file =" K% I' [5 @: k1 ]4 k

  665. 0 d- ^) ~/ x0 P" V+ N4 \2 L3 F4 o
  666. ; Automatically add files after PHP document.2 O; \. v  p0 I7 w' P
  667. ; http://php.net/auto-append-file
    4 B  x6 q% }% q. W0 U0 @
  668. auto_append_file =
    / N8 R6 m* S" w/ l
  669. . Z% A4 m& ^8 W% q2 ~+ P- Y
  670. ; By default, PHP will output a media type using the Content-Type header. To! \( ^$ K# _- m; H1 }7 s' I
  671. ; disable this, simply set it to be empty.* M$ k# c" o6 K0 \* o6 Z& B) `
  672. ;$ K8 E* v' l/ q1 p6 b
  673. ; PHP's built-in default media type is set to text/html.- ]) |3 U. W: t7 ^3 j0 L
  674. ; http://php.net/default-mimetype
    % J$ X$ q. e- }$ F4 [
  675. default_mimetype = "text/html"- F: |3 T/ B2 T; ~* L1 ]) s
  676. ) A8 `! M* d0 N+ {3 d1 K. g
  677. ; PHP's default character set is set to UTF-8.; w2 k& {' Y5 s1 T, ?! S8 S
  678. ; http://php.net/default-charset) s9 Y3 d: S9 b' a6 M, J) z* E$ u
  679. default_charset = "UTF-8"
    ( O' \$ d6 @6 |2 d# d7 s

  680. 1 P- ^, b) H: K, y' H, I& u
  681. ; PHP internal character encoding is set to empty." Q; u( v' o1 I, p, R
  682. ; If empty, default_charset is used.
    " z4 p$ n0 |7 j  _
  683. ; http://php.net/internal-encoding- n) y3 I  [& X
  684. ;internal_encoding =; u9 k" g- d, j8 {

  685. 1 h; ]& _( G& t- L
  686. ; PHP input character encoding is set to empty.; H# z8 v3 c1 n
  687. ; If empty, default_charset is used.
    % d7 B& y8 ?7 j* d- B1 l7 W
  688. ; http://php.net/input-encoding
    5 R. `" ?( \/ C6 X: V
  689. ;input_encoding =
    ' P0 W1 i% J- O& Z0 h  u

  690. - S6 \/ ~1 @( _/ }
  691. ; PHP output character encoding is set to empty.+ a5 z  f; L( i  U* q7 v1 c1 B
  692. ; If empty, default_charset is used.1 }  ^8 a. T' G: M
  693. ; See also output_buffer.: ^! W( M& C, Y& o: h3 [+ I
  694. ; http://php.net/output-encoding/ p' F( {3 [" d4 u3 x
  695. ;output_encoding =. m" l  k) m) A+ L. V6 H

  696. 4 B! V( L0 T' w+ M2 U/ n
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    8 }1 u$ {* C- O5 ]
  698. ; to disable this feature and it will be removed in a future version.
    ) Y7 d* Q( g) w+ U1 q/ M
  699. ; If post reading is disabled through enable_post_data_reading,
    % o7 G4 A) t. c$ G* F
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.1 [7 i$ O. C  ]# A* T
  701. ; http://php.net/always-populate-raw-post-data
    1 f3 c: c8 F( \
  702. ;always_populate_raw_post_data = -1
    $ b3 w0 ~6 Q' f2 x' f7 W5 m

  703. % M3 O2 ]0 V6 E# c. Y* S
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;$ E$ ]! P+ C" D) g9 Y2 m% k
  705. ; Paths and Directories ;
    , x  c0 W2 ]# E7 K! o* z
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    " P2 s) ]# f8 t3 ?

  707. 5 o# B/ p" @& y; S. U6 H4 s4 J, G2 r1 K) V+ {
  708. ; UNIX: "/path1:/path2"
    % S! m# _) [/ I6 F5 \+ h
  709. ;include_path = ".:/php/includes"
    ! k; p4 z. [7 Z& m, X! l( @
  710. ;
    : j# s5 O$ z, \' Z+ I
  711. ; Windows: "\path1;\path2"% n& z8 u1 k: ]! H' Z
  712. ;include_path = ".;c:\php\includes"' m5 K, w+ W$ Y
  713. ;  ]# g- H& a  s+ p: U, N
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"8 R9 l8 X* u: {# i4 S4 x/ m
  715. ; http://php.net/include-path" y7 o) \: q  P7 k) }$ U

  716. # Q, q9 I0 q# q- @1 Q) n/ M
  717. ; The root of the PHP pages, used only if nonempty.& Z! l  s& v6 f5 _' \
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root; t3 h1 F4 K: h% \, ~
  719. ; if you are running php as a CGI under any web server (other than IIS)
    - b8 d% f6 |( r6 w4 [, y5 ~
  720. ; see documentation for security issues.  The alternate is to use the5 D) Y' G, j6 U* b& r7 {% k
  721. ; cgi.force_redirect configuration below$ Q% A% S+ ~+ Y6 `. w4 F) x
  722. ; http://php.net/doc-root: {4 E3 w8 @5 _7 ?8 @) i
  723. doc_root =
    # Z; k$ U" X% s% z

  724. 6 ?. w  j+ y1 m0 R. e
  725. ; The directory under which PHP opens the script using /~username used only+ h! c5 l' J. r  R" r
  726. ; if nonempty.0 U0 h1 B1 A: c/ @: y, z
  727. ; http://php.net/user-dir- p* c. p; p2 c% U" M  p
  728. user_dir =
    ( a1 |% X' n' D# w7 h
  729. & H( |6 [$ p, p( h$ g, m5 z! Y
  730. ; Directory in which the loadable extensions (modules) reside.
    ! g; g1 }/ i: X3 u6 a- ]
  731. ; http://php.net/extension-dir4 D8 g5 h2 X1 q4 J. u* _
  732. ; extension_dir = "./"8 o. t& {# y% R/ Z+ W
  733. ; On windows:% a/ X! T0 a" \' j4 @; f- M
  734. ; extension_dir = "ext"- a7 n5 D! U  q9 o

  735. 9 I3 I+ l) J( G$ @, Y0 |9 E+ \# {
  736. ; Directory where the temporary files should be placed.9 v1 i6 J4 v7 k' Z, O
  737. ; Defaults to the system default (see sys_get_temp_dir)+ l8 B, v$ ~- m! i* F
  738. ; sys_temp_dir = "/tmp"7 J: g2 w( _2 r( N0 t  n

  739. 4 D( C6 z, v* r
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work! X. A: K, V3 b) b4 s6 W5 e
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically% Y# f/ K3 D: K: P4 f0 I6 R
  742. ; disabled on them.3 @7 ^" M9 i4 ?) v  r- G# q6 H
  743. ; http://php.net/enable-dl7 S! a. t% U8 b+ V& S( j/ v
  744. enable_dl = Off
    / B7 {( O' Q8 ?7 C

  745. 5 g  z8 J8 V; C7 @) Q& c
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    ' Q& k+ {  [* j3 l- O# t, x
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can1 N0 U! `: O, m  \8 b
  748. ; turn it off here AT YOUR OWN RISK
    ( Q  m$ @, U2 Q% v3 k  ?7 \) l
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**+ T8 f5 b" Q7 E! u* u
  750. ; http://php.net/cgi.force-redirect
    ) |% N) ]! ?: x+ @
  751. ;cgi.force_redirect = 1
    7 w6 S& a4 V$ A" I& e; w' L
  752. ) i, C8 {# l# E. [- R5 f* {. L* M, r- w
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with' a2 {7 G: R" |& b
  754. ; every request. PHP's default behavior is to disable this feature.* D  b! Q6 f# ^
  755. ;cgi.nph = 1. F, r/ ]) X0 |% U7 K( a

  756. / K# J$ b0 |$ `9 H( w4 v& F! I2 V
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape% E3 T" `9 \* @& x; {
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP2 i6 g' j* t: y0 m# b6 j
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY% Z% F& [' Q5 S% b
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    0 Q: j  n% h9 K0 q! Q
  761. ; http://php.net/cgi.redirect-status-env* j3 S6 z) z2 x1 d, V
  762. ;cgi.redirect_status_env =
    ' L6 v6 o( J# p+ k+ s6 {/ _

  763. 2 `7 B2 C/ B: `* I  F
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    / q3 H7 `- N$ ?+ {4 [
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok1 s, b( ]# N  v8 t( u" E- [
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting! ^. F9 b' {( ?8 p
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting% g( L; i; m( |* \. [
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    . C$ [7 o: b* t6 y  Q) x6 @* H
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.4 ]# ^% K! {4 O! l2 C' `
  770. ; http://php.net/cgi.fix-pathinfo8 N. G5 x: q+ s* H3 s
  771. cgi.fix_pathinfo=1
    7 M. M& @- I2 W6 V! r, n% Q
  772. 8 b( C7 j" g' r6 c' A
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    / Y3 Y% w+ k, y7 X7 u; }
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    ) T) ^: ^+ V2 k" w/ F5 h& p4 ^) D# r
  775. ; http://php.net/cgi.dicard-path5 r, `4 ]- }# X0 L7 @/ M
  776. ;cgi.discard_path=1
    2 P" b6 P% e) V, _* Q# ]' H4 m
  777. - C/ b8 q  |9 ^& N; n
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    ) N- v" {; U, s6 S6 R" n
  779. ; security tokens of the calling client.  This allows IIS to define the
    8 B: b7 ~% c$ {! _: H8 @* G
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    - O+ `# Y6 E: G, U# Z0 ]! u' I; C3 Y  u
  781. ; does not currently support this feature (03/17/2002)
    3 i4 z: c0 _. C: h# B6 y# {
  782. ; Set to 1 if running under IIS.  Default is zero.  G3 Q6 ^" U. x; ?
  783. ; http://php.net/fastcgi.impersonate
    " p# R9 b0 Q% u$ ]! p
  784. ;fastcgi.impersonate = 1
    4 @/ b" @# \. i

  785. 5 I, X3 c; G8 g/ Y: ~& @" {0 ]
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable  U9 T  ]& Z* `2 k7 I" X* H
  787. ; this feature.
    & ]( Y; j- `0 m
  788. ;fastcgi.logging = 0
    ! Y* }* Y' l( c' ]& B% I

  789. 0 F% d. F( l% m/ l4 p  C- V' K. {
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to; |; v2 c' s1 f+ o
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that# J1 H$ B' q: b9 g% d
  792. ; is supported by Apache. When this option is set to 1, PHP will send! `- K* X2 h  }3 X9 w1 u
  793. ; RFC2616 compliant header.
    6 N) ]$ R5 d( @3 Q" F
  794. ; Default is zero.7 Q( u. L4 F4 l2 P) {4 n
  795. ; http://php.net/cgi.rfc2616-headers6 T; b/ o7 @% _$ W# U' X4 Y/ ~: e
  796. ;cgi.rfc2616_headers = 0
    ; H! f; o6 b, Y# z

  797. 1 q4 T# L: V) R0 h8 A9 U6 F
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!8 a. M  V" v* X5 I
  799. ; (shebang) at the top of the running script. This line might be needed if the
    $ i( @7 r+ n- o
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI7 Q: {# K1 @' E6 y
  801. ; mode skips this line and ignores its content if this directive is turned on.
    * \+ @% u0 X5 H; ?
  802. ; http://php.net/cgi.check-shebang-line
    - \- f! f2 _( `. A2 y
  803. ;cgi.check_shebang_line=1
    0 x: y0 ^' W0 g/ M+ [* \

  804. 3 ?6 t/ i% H. h; D
  805. ;;;;;;;;;;;;;;;;0 {: H0 [( {6 H
  806. ; File Uploads ;% j9 w5 R  C$ T% n7 {- m
  807. ;;;;;;;;;;;;;;;;" W; w2 c  y" a- f+ E4 l

  808. 8 i  ?! X' v$ [0 z, Q5 {
  809. ; Whether to allow HTTP file uploads.
    * W7 ?0 a1 V5 R& j3 ?* @
  810. ; http://php.net/file-uploads
    ! C7 ^1 `8 P9 t8 ~* M. u+ d
  811. file_uploads = On
    # R7 k3 o& _8 o( a5 N4 F

  812. ( T+ D. o  E: P, k9 C6 D
  813. ; Temporary directory for HTTP uploaded files (will use system default if not; |) d2 C4 H1 o+ q* b! Q
  814. ; specified).
    + P0 a8 f/ J& |- @2 i* n5 d. Y3 B
  815. ; http://php.net/upload-tmp-dir
    , ^( M2 O3 f* x' t) ^- m
  816. ;upload_tmp_dir =
    9 a* f1 p' q) d4 z7 D/ V- y

  817. 5 _- l' c, U6 F$ P5 C
  818. ; Maximum allowed size for uploaded files.
    3 d" Y- J3 n, `+ M! i
  819. ; http://php.net/upload-max-filesize
    / |1 K6 k+ U3 H3 d  t
  820. upload_max_filesize = 50M( c% d* Z5 @3 S8 N' I; c
  821. 6 v2 S: w- c: o+ B+ m% q& v' N
  822. ; Maximum number of files that can be uploaded via a single request6 G& ~9 a3 Q1 s* R
  823. max_file_uploads = 204 N, j& w7 A7 @0 v8 A

  824. ) l: `% T- n% k- m
  825. ;;;;;;;;;;;;;;;;;;7 \2 Z9 r7 z* i- s/ Z9 O- s
  826. ; Fopen wrappers ;
    0 F1 ^) d! O4 n
  827. ;;;;;;;;;;;;;;;;;;
    8 o% C7 e6 G3 \; \( n- F+ y$ r
  828. % F% _% L$ j3 T" A
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    $ l) g9 ?/ |' K8 G& }
  830. ; http://php.net/allow-url-fopen
    ' q+ m5 S+ m5 J$ Z* W
  831. allow_url_fopen = On( v* f  u) G* B# Q2 ]% t

  832. 7 d1 Y) c1 n) `3 W) t
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    # ?+ _- n+ g% X8 D* _* s
  834. ; http://php.net/allow-url-include1 c+ J1 m5 G2 @
  835. allow_url_include = Off
    % F; f2 E# a; U9 h
  836. 3 P7 ?3 L6 w( p8 }$ ]: Y2 m. e
  837. ; Define the anonymous ftp password (your email address). PHP's default setting0 F. g! S( F& ~+ D
  838. ; for this is empty.
    ; [- P( Y8 Z& `) w) T7 R
  839. ; http://php.net/from
    * y% L8 L7 p% I5 W3 B8 {7 p
  840. ;from="john@doe.com"* ?; {" Y5 \# n+ l1 J

  841. 0 u; ]: C% @1 U$ a, T$ ^' L
  842. ; Define the User-Agent string. PHP's default setting for this is empty.( f7 d8 z3 `1 P+ z
  843. ; http://php.net/user-agent/ A7 t9 \$ W9 q% q
  844. ;user_agent="PHP"" }7 n6 f  g2 T% v

  845. 6 g  f/ h& \6 L/ ^3 Q0 g
  846. ; Default timeout for socket based streams (seconds)' ]9 r9 ^$ B# c
  847. ; http://php.net/default-socket-timeout3 t; @0 W& }1 _4 c) C2 M
  848. default_socket_timeout = 602 N3 P+ l+ b" J( Q) i1 A! v

  849. . m( w: ^/ A1 {+ l7 d' M
  850. ; If your scripts have to deal with files from Macintosh systems,& l$ t7 D  p' v1 K7 K
  851. ; or you are running on a Mac and need to deal with files from
    3 G! K* j; G- M- |; R& @. J0 ^
  852. ; unix or win32 systems, setting this flag will cause PHP to2 I/ H8 Q' B, B5 t8 B1 ^# T4 R
  853. ; automatically detect the EOL character in those files so that6 J, w$ }# Q6 X% A9 I/ M: E6 x
  854. ; fgets() and file() will work regardless of the source of the file.  o) S4 ?$ _$ H4 Z3 T" J
  855. ; http://php.net/auto-detect-line-endings( x4 E& V- U# ^9 j% e
  856. ;auto_detect_line_endings = Off
    7 _! m5 s' O9 a8 w" D  k
  857. ' e. a5 }' x" v2 R- {! {
  858. ;;;;;;;;;;;;;;;;;;;;;;
    9 R$ A2 i0 e& Z4 j
  859. ; Dynamic Extensions ;+ R  x/ A  s5 g6 k
  860. ;;;;;;;;;;;;;;;;;;;;;;+ K: o- n. |$ ?2 F; K6 f3 |

  861. . z) s3 L. H+ b6 o7 {3 d( a
  862. ; If you wish to have an extension loaded automatically, use the following0 x4 x+ A# i9 ^' s0 ?0 d  f
  863. ; syntax:
    % L. E; ?. i. z4 ~0 D$ f$ n
  864. ;9 G" U' X! B" y( B( O. W
  865. ;   extension=modulename.extension
    & Z6 e  V, Z9 T9 x% h! X8 H
  866. ;
    ; \! {7 ?, \& {0 T1 x$ Z* `" U; B
  867. ; For example, on Windows:5 r, F' Q0 v- M
  868. ;
    ; p2 i' o4 E6 g* q1 q
  869. ;   extension=msql.dll
    9 m. V) \0 _* p6 Z/ _6 j- V/ S# `. }
  870. ;
    8 [$ W) Z3 P' M5 w1 x  Q4 h
  871. ; ... or under UNIX:% v8 O) B; ?. @8 E
  872. ;# d/ ]* }& `' b' E
  873. ;   extension=msql.so
    - q0 }1 P& n8 ~6 L7 S
  874. ;9 O. p7 M) t4 y: F
  875. ; ... or with a path:+ @5 \$ Q" K( m4 c
  876. ;
    6 e: `1 Z" h( E0 l
  877. ;   extension=/path/to/extension/msql.so
    $ S% G2 a5 P" r- C. @( v0 |
  878. ;$ l! Q4 R7 _: W" L8 z; K/ Z
  879. ; If you only provide the name of the extension, PHP will look for it in its
    & ^  u( u0 y8 l* c# L5 T
  880. ; default extension directory.
    : ]0 A; \0 a+ q0 k. w6 ?( ?
  881. ;& F( {6 h9 a# _, K
  882. ; Windows Extensions9 p. w+ f) }. D7 ~2 p1 Z& I" Y
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    # Y! d  P) ]7 A, V; A" }0 |
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    " [" P8 [# @6 i! F- b& ^: Y$ O7 a
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    5 s# H; o: z; g+ n2 M
  886. ; Be sure to appropriately set the extension_dir directive.
    & U6 {4 h# x+ J, e
  887. ;
    3 P. ^, M8 ^( p, i# f; ?
  888. ;extension=php_bz2.dll
    1 u2 O* k: b7 \8 U+ v, y
  889. ;extension=php_curl.dll
    , D* `4 X4 g6 q) ?. s, b6 o
  890. ;extension=php_fileinfo.dll" |8 n/ v5 M& r! ?5 o4 ?2 w- f
  891. ;extension=php_gd2.dll8 i  `' T! K% N3 b. o$ i; @1 s
  892. ;extension=php_gettext.dll' R$ M+ Z$ c) j
  893. ;extension=php_gmp.dll1 z4 s+ _) i2 Y3 V% G3 u5 r$ Y/ h
  894. ;extension=php_intl.dll
    9 a$ o- e8 [- u" y/ K$ |
  895. ;extension=php_imap.dll
    # ^' u" G5 K0 q4 k
  896. ;extension=php_interbase.dll
    2 P# U' H. ^, E4 C
  897. ;extension=php_ldap.dll  j1 f, s5 Z. K0 T0 o2 T
  898. ;extension=php_mbstring.dll* p% L; B  @# e4 t- ?
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    - V, n0 e7 h) W2 s9 z
  900. ;extension=php_mysql.dll5 }/ {  Z( g  D# V' M' M$ O! g
  901. ;extension=php_mysqli.dll
    1 {6 U6 A+ D- i! k# R( _
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client7 u+ k0 {2 h! Z2 n) i2 j& N3 |
  903. ;extension=php_openssl.dll
    8 |' D) q: ^4 D
  904. ;extension=php_pdo_firebird.dll; K6 V8 u. [+ i8 B, G" o: C
  905. ;extension=php_pdo_mysql.dll4 Q, K% J* R8 B6 O+ C5 a; m5 X
  906. ;extension=php_pdo_oci.dll
    $ e. O' t% A& m# r) Y
  907. ;extension=php_pdo_odbc.dll
    4 f* R& e" @4 k% O5 x
  908. ;extension=php_pdo_pgsql.dll7 w. `! ^; E' }' X" y9 z' C2 b
  909. ;extension=php_pdo_sqlite.dll
    4 |! N8 ~5 e8 ?8 E3 g' s
  910. ;extension=php_pgsql.dll
    2 X& {( d. u8 d2 ?
  911. ;extension=php_shmop.dll4 @- S* I  w( M- P

  912. ( `" P1 B% Z8 m! Y& h
  913. ; The MIBS data available in the PHP distribution must be installed.
    5 `# |; R- I. T2 ?  L8 d, |
  914. ; See http://www.php.net/manual/en/snmp.installation.php ! |5 _* v8 Y: l* F
  915. ;extension=php_snmp.dll
    % f( F1 ?7 A3 @. m- `. j; E. I
  916. " e; ~( q% x2 F0 t& {! ^" X) P2 u
  917. ;extension=php_soap.dll
    ' R& {: q' [* d3 z
  918. ;extension=php_sockets.dll
    . K& o0 c5 h0 l  i7 D  h
  919. ;extension=php_sqlite3.dll
    0 P" n  H0 q# k( C9 h
  920. ;extension=php_sybase_ct.dll
    ; L. r& [# O# g+ w2 J. w  c1 `
  921. ;extension=php_tidy.dll. n; b& _& k8 {  l$ S8 I( }9 P$ a( c
  922. ;extension=php_xmlrpc.dll
    5 m+ R" @  p9 a" l( ]; W! ?
  923. ;extension=php_xsl.dll
    2 G* F4 g; D; E! G7 q
  924. " u- y5 q. a# P
  925. ;;;;;;;;;;;;;;;;;;;& V0 i$ ]! |: q+ v1 F0 l& {7 M2 J7 g
  926. ; Module Settings ;
    ; V6 S; z5 l4 ^
  927. ;;;;;;;;;;;;;;;;;;;
    # D  M8 i: f0 F
  928. + t$ K& y2 O2 a1 X
  929. [CLI Server]- W% e- p7 \, d; I* F5 p: h& w
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    ) \% X& ~! U, s! c9 W* Q2 G
  931. cli_server.color = On- |( t$ D9 C6 J' J, m" a
  932. 5 A* s/ Q# [$ G7 B) ?6 n
  933. [Date]# B3 P3 w7 D1 \
  934. ; Defines the default timezone used by the date functions# H' o9 J5 @; d; \/ Z; |$ h
  935. ; http://php.net/date.timezone  l5 V1 g* D  _9 Y- E
  936. date.timezone = PRC
    6 M) T" r! ~% S- o" u/ i6 s
  937. 5 M2 o2 w$ c- G4 [) H% {" f; |
  938. ; http://php.net/date.default-latitude
    : E: J  U' d, f  W; q
  939. ;date.default_latitude = 31.7667
    / Y5 u3 _) L6 V; |

  940. * ~/ u6 Y% W' [; @- i
  941. ; http://php.net/date.default-longitude
    - \% @7 a" `6 R; A: U
  942. ;date.default_longitude = 35.2333
    # H. Z7 l7 k4 T( T6 a) X3 }

  943. : g2 a/ I: t8 g; ?% U+ a( l
  944. ; http://php.net/date.sunrise-zenith
    - l/ o5 @8 r# @+ d/ W2 E- u
  945. ;date.sunrise_zenith = 90.583333+ G( G4 s! B7 ?3 q8 {) R; M; P- S
  946. * W; P0 D; q( L) ~' H; }2 q; E
  947. ; http://php.net/date.sunset-zenith9 \" o/ k; B( |" L& g
  948. ;date.sunset_zenith = 90.583333
    - w- [. e9 B6 g+ ~: X6 @
  949. ! [- ^& X- O. X; }- e9 P8 r
  950. [filter]
    / i2 z2 n, C( k; q$ \- N1 P7 A
  951. ; http://php.net/filter.default
    " q4 O9 R% {+ i0 }7 t, N- z
  952. ;filter.default = unsafe_raw+ |" L7 Y: ]& f

  953. % K& P/ @( y4 t  J
  954. ; http://php.net/filter.default-flags' w# C& ?) V  A9 a- M
  955. ;filter.default_flags =$ a! R) U+ F0 {* F! _4 x! F" v

  956. 1 N5 P" N# R+ P/ m
  957. [iconv]
    1 I/ l: }: S! a* y: }
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    , S9 P" O7 N' K; ~
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.! F( A, B0 b% c3 |
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding9 K) w( _8 I. P
  961. ;iconv.input_encoding =
    5 y5 h, M9 ?0 _/ P4 T% ~

  962. 5 ]7 c1 O" B. ?8 z9 N% [! K' A+ J
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.5 m9 v. A/ i9 L, G& ^
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ; e/ G2 D! |5 ^2 q1 P
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    / x  N# e9 X+ ?
  966. ;iconv.internal_encoding =9 [5 Z- z% v2 T: p
  967. % n6 F& J4 y8 F  Z( M
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    & }+ ?7 M% H; z0 C
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    5 l4 o% R( R: z- |2 z# r% a
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding0 Q. D5 O; L" z# E! n7 d. S
  971. ; To use an output encoding conversion, iconv's output handler must be set. `& S1 Q2 d2 C  g" `
  972. ; otherwise output encoding conversion cannot be performed.
    - k. g% O. ^5 y2 ^% Q
  973. ;iconv.output_encoding =
    3 }& S6 [, U: r" Z5 ?! f% I$ r
  974. : @6 V3 m' b, N3 Y
  975. [intl]
    " I3 B$ g3 J' q3 m% }# ]
  976. ;intl.default_locale =; J+ K9 F/ N# ~7 H- n
  977. ; This directive allows you to produce PHP errors when some error* q# F% m/ G# ?5 o9 E
  978. ; happens within intl functions. The value is the level of the error produced.
    ( a& Q) \/ {4 e* q% Q! f
  979. ; Default is 0, which does not produce any errors.
    5 r( B+ B& y9 F$ C$ m
  980. ;intl.error_level = E_WARNING, C! C' n6 L: {- K' j! j5 H
  981. ;intl.use_exceptions = 0! T, u% P/ E; K
  982. 7 g* p" `0 @  }0 {1 V! ~7 {; C- M5 e
  983. [sqlite3]5 W& A. N. K# M( z
  984. ;sqlite3.extension_dir =( M  r9 [5 w; h1 e3 @

  985. 2 U3 f. R3 l4 `8 B* u
  986. [Pcre]2 X. W6 s2 [; O) M% j1 c' l
  987. ;PCRE library backtracking limit.: A. p# h5 x0 N+ k6 t& Y
  988. ; http://php.net/pcre.backtrack-limit
    ' G9 x' T+ p4 r
  989. ;pcre.backtrack_limit=1000009 f' K, I5 P  e; Q
  990. 8 h- i* }2 Z3 m" f# m/ g
  991. ;PCRE library recursion limit.  O" Q( v, q5 F) }& a
  992. ;Please note that if you set this value to a high number you may consume all- [+ Q% C- T% ~8 C6 W
  993. ;the available process stack and eventually crash PHP (due to reaching the
    % N% {3 v. o  Q8 Z- k& R/ v
  994. ;stack size limit imposed by the Operating System).) e9 i: u. D: P8 E- c
  995. ; http://php.net/pcre.recursion-limit
    0 y1 C, Y( b8 e% V0 S4 t3 h
  996. ;pcre.recursion_limit=100000( w0 C* j3 O2 f# r( n4 v1 }& ?
  997. + n2 t5 ]/ J7 ?0 C$ {
  998. [Pdo], |7 B7 e, n" a7 w$ b  F
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    : n5 P2 O& p& M$ z
  1000. ; http://php.net/pdo-odbc.connection-pooling2 D2 g- M1 }6 O- ?, W4 [
  1001. ;pdo_odbc.connection_pooling=strict
    ; m" |- _0 Q8 {" H8 d

  1002. 6 y) `6 h0 p6 ^1 \# F
  1003. ;pdo_odbc.db2_instance_name
    % p% R% g7 L' Q& n5 ~- ?

  1004. % H# |  ~. d0 J! ^
  1005. [Pdo_mysql]2 G$ M0 f3 L1 G6 W1 @
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache4 x1 f* [# f6 @1 C
  1007. ; http://php.net/pdo_mysql.cache_size
    , u, A2 U$ Q7 o8 ?
  1008. pdo_mysql.cache_size = 2000
    ' w9 c9 M8 r5 f& h6 b9 b- v4 E1 @8 t

  1009. 2 G6 s' s; b" f( }% Q$ O
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in& d1 U/ y7 c  e/ e4 \+ r; G9 Z0 N8 ]
  1011. ; MySQL defaults.
    : ]* f+ ]* O% N  G  w+ @6 M
  1012. ; http://php.net/pdo_mysql.default-socket
    ; z" I$ G4 S, C9 Z$ a& {
  1013. pdo_mysql.default_socket=
    : E6 k' \9 `* g8 G9 o
  1014. 8 a1 j& b' o; U& K3 D8 z3 G
  1015. [Phar]
    8 n( K0 s, T) M2 e
  1016. ; http://php.net/phar.readonly
    . Y7 Q- ~) a' }2 H3 r" @
  1017. ;phar.readonly = On+ ?8 y9 h1 f7 }4 o0 D* m1 ~8 C
  1018. 0 `% h7 j' l9 B" d
  1019. ; http://php.net/phar.require-hash
    ! b) J' }' B2 r% }7 @# X, Z3 ?
  1020. ;phar.require_hash = On
    ; \) D1 l$ b2 s6 S3 c/ d' B2 a( \' T

  1021. # V1 C3 M5 y$ v: q
  1022. ;phar.cache_list =
    0 G. _9 B- ]* }" o  o
  1023. 5 \) u$ @$ W% j2 N5 L( j) k* X
  1024. [mail function]
    ! ]  k( Q  ^  w, d( N# C6 {
  1025. ; For Win32 only.
    4 N9 U' t- f' t4 M" r
  1026. ; http://php.net/smtp# J3 \0 H) M! U& B# E3 d
  1027. SMTP = localhost
    / G5 c7 X0 M# j" D! P1 j
  1028. ; http://php.net/smtp-port
    : o' ^2 o8 y# ]; H: T& }5 @! _; X6 C
  1029. smtp_port = 25( |1 {/ n8 Y6 L# W* _! O1 P* f2 a9 ^
  1030. $ P5 y! U2 o! s" E
  1031. ; For Win32 only.
    % Z3 H+ ~8 y# |' [( f# V' O/ W
  1032. ; http://php.net/sendmail-from
    : i* [' r5 c8 `! p0 h
  1033. ;sendmail_from = me@example.com
    9 E- m. r" m  E5 W6 `

  1034. ( }" W, ~2 D9 [) p
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    - M- A0 {+ S6 z4 Z6 O# M- i
  1036. ; http://php.net/sendmail-path" u  U0 {- j0 r, k
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    - P; H. j6 J1 R$ e+ e+ H! U* [
  1038. + E( \4 r% t7 K  Q
  1039. ; Force the addition of the specified parameters to be passed as extra parameters1 \# ^1 H* t8 r
  1040. ; to the sendmail binary. These parameters will always replace the value of9 y, O* m8 l; g
  1041. ; the 5th parameter to mail().4 G1 u! G! Y) Z' I
  1042. ;mail.force_extra_parameters =
    ! G# w) L9 g; f# q
  1043. : }& h, `3 k' A& s- u
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    " H. j( p1 W% }) f% E: M8 z
  1045. mail.add_x_header = On
      n7 T: T) U( s

  1046. 5 q+ r! C# N: W, q- ^' \% g
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    9 O8 C2 b% v$ S* D& o0 n/ {
  1048. ; the full path of the script, line number, To address and headers.0 j# a" l: k* V4 [( y. }7 {/ \
  1049. ;mail.log =
    / i1 N% g, ?# f+ r4 y
  1050. ; Log mail to syslog (Event Log on Windows).' V8 ]6 t4 i# ~, R2 ~6 o3 M: p+ y
  1051. ;mail.log = syslog
    5 e; Z7 c8 D+ [( ~. b' {% G
  1052. ! [! {8 T. y$ c
  1053. [SQL]( s1 K  a0 \: S0 \0 q+ W+ b+ f
  1054. ; http://php.net/sql.safe-mode
      I+ g9 t& ^  u% Z! [% o! K
  1055. sql.safe_mode = Off* z! e3 x% Z9 A) e% ^+ Q4 {
  1056. 1 G- v4 D. U2 s6 D* W3 d: C- m
  1057. [ODBC]5 V  K* v2 |( Z5 E- C/ Z. ^
  1058. ; http://php.net/odbc.default-db5 o: R4 B2 _$ `$ t2 @8 b5 I- V
  1059. ;odbc.default_db    =  Not yet implemented( O5 H! j6 i/ {5 j8 E3 a( u4 M6 ]

  1060. 7 A' w) x' p! E+ s0 e7 H; u8 U4 R, X
  1061. ; http://php.net/odbc.default-user1 ^9 S& d. c, @8 M2 W3 j
  1062. ;odbc.default_user  =  Not yet implemented8 q" e1 @8 B9 o! O, ]7 }. M
  1063. / d5 c7 @* K' h$ \* f) Y% F
  1064. ; http://php.net/odbc.default-pw' G8 f; R2 K* t# m1 ]
  1065. ;odbc.default_pw    =  Not yet implemented8 W* N' E3 v' o; [: W- j5 M
  1066. 1 O- ?- v$ c4 P
  1067. ; Controls the ODBC cursor model.
    7 D" M3 \2 S" M$ T& t! A
  1068. ; Default: SQL_CURSOR_STATIC (default).5 ?  E: L0 V+ P1 |" A8 g
  1069. ;odbc.default_cursortype
    & r- [" M* U* c
  1070. : I0 P' I% ^6 F; c7 P
  1071. ; Allow or prevent persistent links.
    2 O% h4 J) z% C. ~' o6 f
  1072. ; http://php.net/odbc.allow-persistent
    , ~  `0 @. y; v* l
  1073. odbc.allow_persistent = On
    ; Y8 c8 q8 Z- i% w+ E7 }

  1074. 7 Z: r4 X  m9 U7 P! H1 R: [
  1075. ; Check that a connection is still valid before reuse./ F' ^! n/ I1 @9 M0 M& Z! `/ L# \# }
  1076. ; http://php.net/odbc.check-persistent
    3 Z: i! Y3 P. s3 r: p% B: L
  1077. odbc.check_persistent = On
    # _, s( C/ K5 S$ x8 `5 U0 B$ Y

  1078. 6 F9 U9 w% y* Y' L9 v, h
  1079. ; Maximum number of persistent links.  -1 means no limit.5 [/ s* S* N6 \5 `/ V
  1080. ; http://php.net/odbc.max-persistent
    / I) a4 F1 V0 U, H' A# Z, o
  1081. odbc.max_persistent = -1* H( R. D# ~6 a$ }$ e

  1082. + o" E0 E4 ~/ O. O
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.6 V( c2 B# R* K0 {6 g3 P) }( X
  1084. ; http://php.net/odbc.max-links, o# r3 ^* t- e
  1085. odbc.max_links = -1( K( ^2 P( ]: A" p4 j

  1086. 2 k) ^9 R3 G7 _  s# Z4 K
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    / S) ]& p" ?" A: H9 X2 O' p" g5 l
  1088. ; passthru.+ ^& O9 q2 B% ?0 J
  1089. ; http://php.net/odbc.defaultlrl; [2 r" l3 i2 W  c# }! |* p% |) V
  1090. odbc.defaultlrl = 4096
    / A, a; k( @) C% Y) K! e' Z

  1091. 6 E* I; w/ z. j
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    % I" n4 d5 }! a. e
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    6 D9 `% ^8 Z6 S! Y: U
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    ' Y& i" j! D# m# P
  1095. ; http://php.net/odbc.defaultbinmode
    4 ?4 D  q4 _! V. C- {
  1096. odbc.defaultbinmode = 1. k; q, K3 C$ V6 h& A: m# z# v$ Z: J

  1097. 0 P. |$ t* T  b  J( y4 [
  1098. ;birdstep.max_links = -18 J& F( v! J: p6 K+ m4 v# Q6 W

  1099. ' ^; ~+ L" K4 D& o# N; D5 s: [! _
  1100. [Interbase]
    % O4 Q1 d& H0 ]% a( z( C$ ?
  1101. ; Allow or prevent persistent links.: }) o2 m2 g1 \! l. q  j
  1102. ibase.allow_persistent = 15 m" B9 ]! y# F

  1103. . I( _) U; _) ~9 z
  1104. ; Maximum number of persistent links.  -1 means no limit.+ Y: |1 t. e0 K7 d; S' D1 L
  1105. ibase.max_persistent = -1
    . n: q$ ?/ l3 f

  1106.   B7 J" U$ T# K' t/ w4 y
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    6 n- W* f) F; s: i
  1108. ibase.max_links = -1% M6 L9 r  l! h# _  j7 Q4 o6 L5 p+ b- y

  1109. + ~: D9 K$ O5 x* @& @
  1110. ; Default database name for ibase_connect().5 V2 S' m7 a- v, W' M. V. W$ |
  1111. ;ibase.default_db =
    ; }9 N3 c% z  ?

  1112. 0 t3 S, R8 Y( H& Y3 t3 b7 E
  1113. ; Default username for ibase_connect().
    , ^$ i/ x& w  Y5 O" q9 R/ U. Q
  1114. ;ibase.default_user =5 d8 W( A$ y2 Y% U$ Y/ t

  1115. 6 e" U2 g$ x! G4 W0 R# A
  1116. ; Default password for ibase_connect().) \; v' \% n' u6 J& k1 l1 F5 a
  1117. ;ibase.default_password =' ^6 }, C% p. x+ u3 L# G

  1118. ( w* Z; Z! o5 T7 {  q" F8 c
  1119. ; Default charset for ibase_connect().
    1 O3 B" u/ p3 a9 k8 u- j- `5 b
  1120. ;ibase.default_charset =
    8 b. i  ], ]) Z) r( }* ?

  1121. ) a$ n- @6 G/ E( D: B
  1122. ; Default timestamp format.* `* f; R- u1 q, O6 a' Z
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"* s. D7 C. L' |6 T
  1124. 7 F  s- F; X4 R  E3 @
  1125. ; Default date format.6 J; q6 \9 _/ t7 _  f
  1126. ibase.dateformat = "%Y-%m-%d", c9 e& @" c* H  r3 V

  1127. ! e( I7 t1 f5 Y- R) W  K
  1128. ; Default time format.% p0 t9 H1 h1 M9 G  y$ }0 W5 T
  1129. ibase.timeformat = "%H:%M:%S"
    * c$ ?4 M/ |: b

  1130. . e5 A( _* I8 g' w) Y8 H' I
  1131. [MySQL]- C4 _/ }6 U7 W# z6 E* r, S. c, a
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements! k: {' L* f( H. K# i0 U, S
  1133. ; http://php.net/mysql.allow_local_infile3 S* Q! P( r: R
  1134. mysql.allow_local_infile = On
    . d3 S& Q4 p; p( |# W
  1135.   [9 A8 D5 |% Z* T; x
  1136. ; Allow or prevent persistent links., ^1 D0 D7 V5 M
  1137. ; http://php.net/mysql.allow-persistent
    1 q4 `# |' ?/ Y3 Z  H
  1138. mysql.allow_persistent = On
    % W4 K1 m0 A. w) ~7 m
  1139. , l/ P( X. J3 R8 m
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ( ~" I5 {: z$ ]  [0 K) y" z
  1141. ; http://php.net/mysql.cache_size
    . `9 @8 k3 h8 @2 j
  1142. mysql.cache_size = 2000
    ! X( z1 L2 l) }

  1143. 1 O- l' L% k8 `) z* Z+ v8 X
  1144. ; Maximum number of persistent links.  -1 means no limit.
    ) R/ Y2 i+ \( o- G4 B' V: J
  1145. ; http://php.net/mysql.max-persistent
    & x4 j& p, e$ y* J1 U1 O; d; O
  1146. mysql.max_persistent = -1: ^- Q! y5 P. U* X1 z

  1147. # R& J3 `  g1 b. `% f7 y  G
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    8 q  t. v  ^0 L: m3 ?$ w
  1149. ; http://php.net/mysql.max-links+ B& o3 h" m: k+ A) g! O
  1150. mysql.max_links = -1
    3 F7 Q- R' B) H. q+ L  ?& T

  1151. % I- `' }7 d: B: C# r2 T
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use2 d& b5 n) r, L. k' s2 k: L7 s
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the- v0 o# F( c( u$ x" Z7 }9 z7 @
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    ) H( f1 j$ y7 X# t3 \7 I
  1155. ; at MYSQL_PORT.
    . m# c- f! D* l/ M
  1156. ; http://php.net/mysql.default-port8 \' E8 I" L  G3 f, I+ v
  1157. mysql.default_port =5 N  h- U3 k) g# k) H0 X

  1158. ) g% ]6 @; E* A: B! F2 B
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    3 P3 q6 |9 c8 a8 V
  1160. ; MySQL defaults.4 t' }: d" A3 s, S9 N( Y6 o$ X
  1161. ; http://php.net/mysql.default-socket/ F" A4 q( z# ]  n' G1 c& _* u) g
  1162. mysql.default_socket =& B3 w; c8 F5 d

  1163. 4 o) v- z/ {* D& A. Q8 k
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    3 `3 M: f! D5 {' V% h
  1165. ; http://php.net/mysql.default-host
    4 M% b, M& h8 \9 C; I/ `
  1166. mysql.default_host =& w* z: p$ b2 I8 M, T4 z4 i

  1167. % Z+ @8 B4 \  p! l) A6 `* ~4 i
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    ! X2 }0 [) {& C7 R& D
  1169. ; http://php.net/mysql.default-user( |# |! }- w. b+ `/ z( Q
  1170. mysql.default_user =4 Z% T- l" @( p2 j! Q5 z! Q
  1171. . D% f  s/ ?! c
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    & S2 ?$ F# b* o( k
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.6 ~' @% U! m% p4 N) \9 \, l
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")4 X; H5 l1 D- X: z) ]' X
  1175. ; and reveal this password!  And of course, any users with read access to this, M9 h: @; A8 d4 y
  1176. ; file will be able to reveal the password as well.
    - n! z  g1 t. k/ j# v9 N+ y, I; q, m. }
  1177. ; http://php.net/mysql.default-password: O. \! s6 A- P/ H7 Y9 N! n* ]
  1178. mysql.default_password =
    ! v" l- \5 G1 d6 D: `
  1179. # V/ ]) h3 ~& w7 _
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    9 \+ n, G9 {* P# X- |/ j% w) j
  1181. ; http://php.net/mysql.connect-timeout2 z7 D  c; d6 D
  1182. mysql.connect_timeout = 606 x+ N1 X: T; d6 t2 O. ^& x
  1183. . z2 }/ v4 ~, ^4 f$ [2 s
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    ! H+ i! e+ N: `+ J! K5 |
  1185. ; SQL-Errors will be displayed.
    1 w& X, y4 z8 Q. p6 S" Q0 C
  1186. ; http://php.net/mysql.trace-mode
    $ e+ L! p$ T$ Y3 s' p$ u3 I
  1187. mysql.trace_mode = Off6 Z; S% G. J. r# ^' I- E$ _
  1188. ( B! q, n9 c) F! k. E4 f
  1189. [MySQLi], ?. j5 b1 ~1 a7 U( k/ v9 u- W! E

  1190. * ^) h! H+ \. K# `
  1191. ; Maximum number of persistent links.  -1 means no limit.
    " A4 ]$ n& T8 u0 v( Q
  1192. ; http://php.net/mysqli.max-persistent
    * q1 I% W! |: v( i8 Q
  1193. mysqli.max_persistent = -16 z5 z+ t1 {3 s" L9 j. p" y

  1194. ! U; Q1 Q& M4 }7 H
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements0 e5 B! U; q+ R6 }' M) ^
  1196. ; http://php.net/mysqli.allow_local_infile
    4 y$ j/ c* @# {# J
  1197. ;mysqli.allow_local_infile = On
    0 _3 b* s! V9 f# a5 i# I2 x

  1198. 7 x8 M( C/ U6 C
  1199. ; Allow or prevent persistent links.
    4 {4 w( i! L; T/ ~: ~; `" C
  1200. ; http://php.net/mysqli.allow-persistent
    : X; ^- v0 |: V/ y3 y. T, e2 k
  1201. mysqli.allow_persistent = On0 g" R- u& n0 q+ e4 Q5 a) C7 k2 L+ F/ j

  1202. ! B# P8 M8 R# T. B0 s  P
  1203. ; Maximum number of links.  -1 means no limit.5 K( u7 Z5 ~) c0 M  ~6 D
  1204. ; http://php.net/mysqli.max-links
    ) p& ^$ @9 Z  h0 O' _" [. y
  1205. mysqli.max_links = -1
    : s, W; V" D- P- e- e6 T

  1206. & w- b' b- t& E* D3 f/ v
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    1 Q$ A; z2 }; u7 Q( D
  1208. ; http://php.net/mysqli.cache_size2 Z$ o- Z! V0 K$ P$ H8 I& Q
  1209. mysqli.cache_size = 2000
    : E6 J* i0 K& [, F9 A9 g
  1210. " E  t0 x" s7 R* L
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    1 Z  W9 {% a: Y* p
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    ' w2 {2 x" g" e  I& ?7 a7 F' ~  y
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look- X. y' }% f6 k- u4 R- x
  1214. ; at MYSQL_PORT.
    6 }% Y! }1 y. t  t3 d/ i& l
  1215. ; http://php.net/mysqli.default-port# m9 ]' S5 b# E5 S0 {5 k) ~
  1216. mysqli.default_port = 3306
    % n. w# e. v8 Z/ m6 G' W) o
  1217. 9 Z4 N+ Q3 J/ v+ k- X* c
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in8 M- O. K$ `0 K
  1219. ; MySQL defaults.
    8 M" @. ]3 r6 i/ i
  1220. ; http://php.net/mysqli.default-socket( Y; D6 c5 Y0 S" V; Z; m4 @/ G
  1221. mysqli.default_socket =
    0 ^6 X3 S$ h1 U, `6 O& c- h
  1222. 0 b, N8 T6 ?+ f  U1 W: ]
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    0 s. A4 t1 T5 s% D
  1224. ; http://php.net/mysqli.default-host
    7 X- r% ]' L) s; T  V8 f; P
  1225. mysqli.default_host =
    - _3 O4 g/ e) a0 f; _1 y  z
  1226. 8 p: ^3 \& {  n( }. \
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).4 E- C1 i' e0 h3 e) ?$ @5 _
  1228. ; http://php.net/mysqli.default-user
    ; ]. T# H! `; W, l( ?
  1229. mysqli.default_user =
    % [! f, u: u3 s" k) h* R1 ]
  1230. 7 A5 x3 I1 r8 a0 H/ O1 n
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).3 M6 J0 v' Z* @# f
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    - U  ]6 p0 F/ e( h
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    5 |7 f3 b. q" B! [+ X* K. v
  1234. ; and reveal this password!  And of course, any users with read access to this
    # `: \' p7 }$ D2 ~  f+ L. Q/ i/ ]
  1235. ; file will be able to reveal the password as well.
    ) \# g  Y) ?& f$ B
  1236. ; http://php.net/mysqli.default-pw
    . s3 ]- b! z) `
  1237. mysqli.default_pw =
    ! e; E$ N/ E0 H2 M, a+ `
  1238. 5 B. k7 L8 M5 G( p' b7 \
  1239. ; Allow or prevent reconnect( d, o- J# P6 x% @$ `
  1240. mysqli.reconnect = Off
    * c- ]( v. m( _/ o! Z
  1241.   \& f- B" t; t. g. n4 i0 V
  1242. [mysqlnd]
    + i) H& Q/ H2 [/ b+ ~' u# [- c
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be) O* U6 m" ]7 L1 c
  1244. ; used to tune and monitor MySQL operations.: V# E+ D" v" R# Q4 L; c- P
  1245. ; http://php.net/mysqlnd.collect_statistics
    / g, S9 I& G- l% _3 a
  1246. mysqlnd.collect_statistics = On8 L; J$ Y: N8 n; L# A  c& \* F
  1247. 0 z; Q: A. J7 K. O- \( Z) Q
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    , D1 C% Q% x+ D" T3 ]/ z/ H  L0 B
  1249. ; used to tune and monitor MySQL operations." F* \. D$ I  C& p1 m
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    ( C1 p. m0 P0 h! n. y* p' m8 d* Z
  1251. mysqlnd.collect_memory_statistics = Off! C9 t( q9 M; Z" b9 u( b
  1252. 1 n8 N3 V" h8 Q; m1 ~
  1253. ; Records communication from all extensions using mysqlnd to the specified log# M3 j4 y, [) n5 q( H, |# U
  1254. ; file.! f$ c4 U( d4 X; g0 Z: Y
  1255. ; http://php.net/mysqlnd.debug
    - ?- r$ n- ^7 R, V% O
  1256. ;mysqlnd.debug =
    ) c7 a/ k! d- h! B8 b( v) t4 \  g1 s
  1257. & j! w) B, c' E/ i4 j1 T
  1258. ; Defines which queries will be logged.
    ( O- ^% Z# T) m$ l$ M
  1259. ; http://php.net/mysqlnd.log_mask
    + z+ z* A+ P5 F5 `
  1260. ;mysqlnd.log_mask = 00 v( [1 }5 i; w) d5 s3 Q5 \* B  e1 e0 l

  1261. : v4 M: T6 _) B, b8 L# X' T; \
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.. y. g7 m/ M+ N0 v
  1263. ; http://php.net/mysqlnd.mempool_default_size
    * v1 `$ K, Q! [8 t8 }- [; E
  1264. ;mysqlnd.mempool_default_size = 16000% X# Z( i" Y) W  U( m# Q" U7 H

  1265. ' F: |* y# y7 W3 A, V
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    $ {8 }! E+ b. {2 P  V! o, m
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size) H/ }$ i5 ^+ f5 x/ x: |
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    3 j  F& n9 }0 L5 l: v

  1269. . W7 m( A1 d% f2 g$ Q: A' W% Q( r
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in, ]) M) i# t8 b0 |$ b8 T
  1271. ; bytes.
    ; |- ^! }* D: @+ }
  1272. ; http://php.net/mysqlnd.net_read_buffer_size6 t. k# j/ |( w2 ~  j" h6 G1 ]& f- |
  1273. ;mysqlnd.net_read_buffer_size = 32768" H( S% d6 z" Y+ i2 C4 v

  1274. $ m( ~! j  h$ V, F" K" l0 ~1 v2 J1 v
  1275. ; Timeout for network requests in seconds.1 l( ?) z" Z) t+ h; I( w- m. a) A
  1276. ; http://php.net/mysqlnd.net_read_timeout
      |' e6 W8 _% t) m' p' I
  1277. ;mysqlnd.net_read_timeout = 31536000* ]0 _: v! N  m

  1278. 2 r$ h* f$ O7 X0 p; b5 D
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA+ A' H" J2 C+ U! _* j7 W
  1280. ; key.$ H1 U; x  j; Y1 }
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    % h/ A6 D3 R; j, e" q" @; A
  1282. ;mysqlnd.sha256_server_public_key =8 w! y. n; n2 _

  1283. $ Y1 s  P5 O& x
  1284. [OCI8]
    , Q) a$ R$ r+ {6 a  L/ x! d' t3 Y
  1285. + J* I) [0 o: @  A. P& X
  1286. ; Connection: Enables privileged connections using external+ j  ?6 Y3 @* \" ~# h3 e$ D
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    ( \$ [: ^- \0 D. e  H2 x
  1288. ; http://php.net/oci8.privileged-connect9 [" g5 V5 |. z0 G- Z: h
  1289. ;oci8.privileged_connect = Off
    3 g# J* z7 m( B1 v  w0 }
  1290. # o. J6 I% S( |0 t6 X& y) g7 z
  1291. ; Connection: The maximum number of persistent OCI8 connections per
      I7 K- R- G" w+ k5 Q) q
  1292. ; process. Using -1 means no limit.
    9 \2 e7 Y6 A: }. l0 j. I
  1293. ; http://php.net/oci8.max-persistent
    + T$ |  z4 m* b  T/ a, G
  1294. ;oci8.max_persistent = -1" ^$ j) e) w8 w% W9 `$ x

  1295. 4 u" `; E" [6 ?( T) F$ l, X6 K
  1296. ; Connection: The maximum number of seconds a process is allowed to
    5 R1 k4 g( O$ V! R
  1297. ; maintain an idle persistent connection. Using -1 means idle- Q( n3 {  c% M+ G- [
  1298. ; persistent connections will be maintained forever.
    ) x5 ^( z$ v" H# _9 ]; E9 D
  1299. ; http://php.net/oci8.persistent-timeout
    4 ]- X2 _  ~3 z, p; W0 ]" M( b
  1300. ;oci8.persistent_timeout = -18 J" c: e4 ~* {$ Q: F( j8 a6 w0 I

  1301. / c. i+ ~" ^& U% w) z6 v
  1302. ; Connection: The number of seconds that must pass before issuing a
    ) X* r" P9 O4 N  U7 y/ M# r  h( `
  1303. ; ping during oci_pconnect() to check the connection validity. When0 `0 y7 d+ l5 T7 M: B( V- q- u& R
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables: {5 E3 @6 \4 }4 T
  1305. ; pings completely.
    ' h! @2 N* N, x" M' X& h' @( _
  1306. ; http://php.net/oci8.ping-interval. L. v- F; B% B- b) V
  1307. ;oci8.ping_interval = 60
    * |6 d' j7 s5 s2 }& s
  1308. 5 @5 _" K, O4 B; j8 m; u
  1309. ; Connection: Set this to a user chosen connection class to be used; s, b/ S7 ^4 e' l9 F
  1310. ; for all pooled server requests with Oracle 11g Database Resident! d5 U- H* w: a1 Y1 p9 K
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    1 i1 ?0 u' t, |- V3 H7 d" r
  1312. ; the same string for all web servers running the same application,! U$ x$ a2 a5 r1 ]: K
  1313. ; the database pool must be configured, and the connection string must, ]9 z" Z; w" R; X7 F# o. C3 O
  1314. ; specify to use a pooled server.- Q1 W! E' p: ^& w' P) o5 l
  1315. ;oci8.connection_class =
    9 [3 G( j  X1 T  K/ R6 h$ X

  1316. 4 I3 L' y. }& W( n0 C3 F: S4 N. i
  1317. ; High Availability: Using On lets PHP receive Fast Application" I& U+ P: ~# W3 _7 f- ]. b
  1318. ; Notification (FAN) events generated when a database node fails. The% D; h" k/ J' {# k7 P8 t
  1319. ; database must also be configured to post FAN events.
    ! t) ~; b6 ~- \8 A( X9 Z0 m  C% s
  1320. ;oci8.events = Off
    ; n+ t' W: M8 B( w

  1321. . k% A, A" ?) }; }
  1322. ; Tuning: This option enables statement caching, and specifies how1 n7 `+ O0 S& A6 R! y* S3 S: X
  1323. ; many statements to cache. Using 0 disables statement caching.
    8 ~' E- P  g. S2 n0 R% c6 O6 O* c
  1324. ; http://php.net/oci8.statement-cache-size, U* r/ X$ L2 K
  1325. ;oci8.statement_cache_size = 20  k+ ]1 v8 }7 u1 K& o2 f
  1326. 2 }7 O. O( r0 }+ M  O
  1327. ; Tuning: Enables statement prefetching and sets the default number of5 ~5 D) J# y$ u
  1328. ; rows that will be fetched automatically after statement execution., z  ~# z/ s% r& Z1 ^& @5 m$ o* @
  1329. ; http://php.net/oci8.default-prefetch
    & a! H' I5 K( m3 o6 x  h" o* S
  1330. ;oci8.default_prefetch = 100
    0 A1 ?0 j- h) ]* D3 G

  1331. , k' h. L% q$ E" R9 n# f; _
  1332. ; Compatibility. Using On means oci_close() will not close
    ; v( l3 u7 h+ D
  1333. ; oci_connect() and oci_new_connect() connections.& g3 d+ t+ r4 Y# w/ H- R; B
  1334. ; http://php.net/oci8.old-oci-close-semantics8 C/ o6 @  `% w4 W5 X4 E! E7 n
  1335. ;oci8.old_oci_close_semantics = Off
    % \5 H  I. I0 x6 S( Z* S. t

  1336. , l, Q# F& K; F5 S) Y. b) i3 l
  1337. [PostgreSQL]3 D2 L5 ?9 ^' p9 _" y6 w
  1338. ; Allow or prevent persistent links.. S* f& z6 t# S
  1339. ; http://php.net/pgsql.allow-persistent2 L4 c% R4 c9 K2 w
  1340. pgsql.allow_persistent = On
    0 p* B# J% D2 v  C0 J9 y2 U" L
  1341.   J6 ?$ \, p5 Y9 k
  1342. ; Detect broken persistent links always with pg_pconnect().
    ( a9 r( G$ @7 |0 G( o
  1343. ; Auto reset feature requires a little overheads.
    * c; ~" I8 e- p7 W
  1344. ; http://php.net/pgsql.auto-reset-persistent
    ' Z3 o/ h1 |8 `, y! v7 l1 C
  1345. pgsql.auto_reset_persistent = Off# [% _7 B/ c7 ?. z8 q
  1346. ( l4 C( F! ~' q' Y5 y8 c
  1347. ; Maximum number of persistent links.  -1 means no limit.: }# p( O' S3 O% W
  1348. ; http://php.net/pgsql.max-persistent  \# ]0 r3 g) f: [( _5 S
  1349. pgsql.max_persistent = -1# m& |, @+ j: V  F% R8 e
  1350. $ J" E) i% j- ]/ ~, Y
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.% S, \! j  k# T. @+ h1 F3 y
  1352. ; http://php.net/pgsql.max-links
    ( n+ A3 ~( h' z) r0 b( f8 z/ t# N
  1353. pgsql.max_links = -1
    " z9 \) c8 C0 B* \
  1354. 4 \. F5 ~* s0 W, |. y
  1355. ; Ignore PostgreSQL backends Notice message or not.& S9 ?! B# n* x  F. O
  1356. ; Notice message logging require a little overheads.1 {, b, Q; K, N% c- n, x
  1357. ; http://php.net/pgsql.ignore-notice
    ) M# V# C) w- b5 ~0 `3 e3 f1 W
  1358. pgsql.ignore_notice = 0& G; t. X/ t% K( E* a4 |

  1359. : [$ }2 w& r' R  {$ u( ~: o: i+ q
  1360. ; Log PostgreSQL backends Notice message or not.
    * J0 v) q. g( ~9 ?
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    6 j" E9 k  r8 }5 x9 I
  1362. ; http://php.net/pgsql.log-notice
    4 N7 l& t3 c8 L7 i, @
  1363. pgsql.log_notice = 0  _7 p0 m4 |% p: p! R: i" _

  1364. ' p1 U, I8 j6 R8 r5 `' \/ E) z
  1365. [Sybase-CT]  n, w% @& a( f8 A9 v
  1366. ; Allow or prevent persistent links.
    ! F4 v. F/ m( _- f0 [! ^- _0 d  t
  1367. ; http://php.net/sybct.allow-persistent
    0 o- \, [$ p) w4 E+ r
  1368. sybct.allow_persistent = On! b# ?0 \& \# r4 U7 e

  1369. ) }; f. Z2 ^  }# v
  1370. ; Maximum number of persistent links.  -1 means no limit.. _. t. p% \& t: C: a) z3 ^* _5 t
  1371. ; http://php.net/sybct.max-persistent
    6 ]7 A& b! v$ e( |/ _0 }/ m
  1372. sybct.max_persistent = -1/ [( t8 e+ \! C0 P
  1373. / l' F' S0 U7 b3 ]) H
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.& X  S( ?6 ]4 @' n8 |0 k: i3 \' ?
  1375. ; http://php.net/sybct.max-links% V3 S. V8 _6 o' [% d$ o" z9 d
  1376. sybct.max_links = -1! _4 U( f0 m, Z8 J6 O: h2 \8 z
  1377. 9 G& ]5 A5 B8 C& N6 J4 m0 h
  1378. ; Minimum server message severity to display.
    ) i0 y& p5 w* O- F, ~
  1379. ; http://php.net/sybct.min-server-severity# f5 L% J- W! }
  1380. sybct.min_server_severity = 10
    6 N6 X. l9 \) j( l

  1381. , `3 {# n3 i# T$ w; _8 ^' s4 c1 `7 W
  1382. ; Minimum client message severity to display.% _; d+ o. ]7 m8 i! {: d
  1383. ; http://php.net/sybct.min-client-severity
    - c/ n/ j" u3 ]9 Y
  1384. sybct.min_client_severity = 101 b3 z6 x7 Z) z7 V& V: y/ ]- M) C
  1385. : v" r6 w# Q. j4 Z" C4 [$ C8 ?
  1386. ; Set per-context timeout
    7 ^' A. `0 e9 ]1 u/ v6 I& N
  1387. ; http://php.net/sybct.timeout  T0 I& [" }0 W( T* w8 X- k8 Q1 {
  1388. ;sybct.timeout=
    , {, b- U; j4 g4 P" _/ n

  1389. 6 |3 |: l8 g( M, f8 C' U  O
  1390. ;sybct.packet_size! C! g8 K  ~: G" V' U8 U9 \
  1391. . w2 G; ?% ^# {3 L% Z+ I
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    $ k& \! R0 V' M- f
  1393. ; Default: one minute
    ' ~6 e! B# O, v) C1 \% y3 E- L
  1394. ;sybct.login_timeout=7 |+ h" f) o2 M! ~" u

  1395. ' S& O; E# O0 ^# C
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    1 X1 _- c) B5 M8 z: Q% n+ S
  1397. ; Default: none
    9 \( |+ z* A8 x# z6 D' P
  1398. ;sybct.hostname=, I: R: I! w8 G; ~6 l; J. C8 w" ?

  1399. # K7 ~8 @/ R- X" }9 f
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    . j9 q3 N+ F+ K+ m3 E
  1401. ; Default: 06 C" k) A6 C, A) B
  1402. ;sybct.deadlock_retry_count=, j2 U8 _/ `/ @" Q1 h/ N# |# y. Q1 h

  1403. 5 }# a5 N- `. w) ~6 `* C: R
  1404. [bcmath]% i: E, x" a: A& o
  1405. ; Number of decimal digits for all bcmath functions.
    " t0 m( \' J( L  V2 {+ J- L
  1406. ; http://php.net/bcmath.scale+ b/ s; c7 P# E. m* {* A
  1407. bcmath.scale = 0( R: F/ M* V& h. u2 {1 P6 r% v

  1408. ! ?+ Z/ ~7 y6 T6 o5 z9 m& g
  1409. [browscap]
    8 c& A( f" d) b' c( p6 l- H# }
  1410. ; http://php.net/browscap, P4 K8 G2 G' [) t* n7 O
  1411. ;browscap = extra/browscap.ini3 E. q5 a3 o( B( s; d& z* x

  1412. % c' ^( G9 h+ ^6 p" F2 M3 t
  1413. [Session]
    3 f( Q8 d3 T: Z8 a/ c- F% ~4 \6 E
  1414. ; Handler used to store/retrieve data.
      C; {3 D( ?% _3 X
  1415. ; http://php.net/session.save-handler
    ) d: Z- n" C) M3 g5 Y% d
  1416. session.save_handler = files/ U: y7 i, Q& P& X' j* R6 j
  1417. ( `7 o1 x/ v: Z* k
  1418. ; Argument passed to save_handler.  In the case of files, this is the path- q& z# P" w& u% j+ E) _
  1419. ; where data files are stored. Note: Windows users have to change this
    ' c* p5 ?; D& ~! ~
  1420. ; variable in order to use PHP's session functions.
    / d( g) }) ]9 l9 y6 I7 L
  1421. ;1 X8 A1 d- u0 }$ ]" Z, _) ?/ j& L
  1422. ; The path can be defined as:
    . j* e+ K( _1 A* r* y' q
  1423. ;
    9 y; Q3 g8 u3 w/ k* e
  1424. ;     session.save_path = "N;/path"
    ! C+ q% i: Y. A7 g8 _! B
  1425. ;6 t6 l, @& s/ V0 l& ?# C# q
  1426. ; where N is an integer.  Instead of storing all the session files in
    8 F$ w: x) b9 T
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    / R6 L  ]6 f! l" x8 h! d6 W* X, y
  1428. ; store the session data in those directories.  This is useful if
    + b3 f( Q. V( K
  1429. ; your OS has problems with many files in one directory, and is3 g5 n# b5 z* Y5 `. m1 T
  1430. ; a more efficient layout for servers that handle many sessions.
    " g8 g! S1 U" W7 k+ @; T
  1431. ;
    7 B5 b  a! H$ b4 R" @
  1432. ; NOTE 1: PHP will not create this directory structure automatically.! `2 c  f4 f) c1 w. P; m
  1433. ;         You can use the script in the ext/session dir for that purpose.
    / s  E3 ]; `  M/ g/ u
  1434. ; NOTE 2: See the section on garbage collection below if you choose to2 m% Y- L# H. u- I
  1435. ;         use subdirectories for session storage; v  s2 X( z+ R$ t2 Y# u) U
  1436. ;% |, n/ F( ^5 U
  1437. ; The file storage module creates files using mode 600 by default.8 n) t) p+ H9 }/ q* R) M
  1438. ; You can change that by using
    ' J2 A  \( n, H0 H; k. U
  1439. ;$ S9 o+ t& G1 M7 m7 c
  1440. ;     session.save_path = "N;MODE;/path"
    ( _1 y  F! e7 D  l; |7 w$ o
  1441. ;: b( `9 T; H' M. f- b+ J
  1442. ; where MODE is the octal representation of the mode. Note that this: U9 M, K4 ~4 ?1 P! D
  1443. ; does not overwrite the process's umask.3 g" k6 @/ l8 L2 W5 l1 m
  1444. ; http://php.net/session.save-path
    , ^/ @0 ]; ^% d6 k8 E: }% \
  1445. ;session.save_path = "/tmp"% n$ N' t* {* i- m) L

  1446. ( B2 v: ^# E9 F
  1447. ; Whether to use strict session mode.
    ! p4 V7 \  `1 O& x7 {
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate9 e5 [$ [. U$ c4 x* O
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    - F# A* r8 E: h5 A
  1450. ; applications from session fixation via session adoption vulnerability. It is4 l3 ~2 b7 ?: Y- _4 }( m
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.; v) R5 q: j: P+ N8 V; D, W' B# v
  1452. ; https://wiki.php.net/rfc/strict_sessions) n9 z9 [" R" v
  1453. session.use_strict_mode = 0% G( c# y% t; H8 [5 o3 |
  1454. 9 L' p0 J( J2 J6 x' I' w
  1455. ; Whether to use cookies.
    - [- `6 d% d" x3 a
  1456. ; http://php.net/session.use-cookies, B, L0 E& ?5 P5 k0 o
  1457. session.use_cookies = 15 p' O+ i" K7 b, f: c6 b

  1458. / G  P/ h9 |) A: H( I$ X! v; V
  1459. ; http://php.net/session.cookie-secure
    / |/ }, c4 m$ u: z7 D2 a8 V& L
  1460. ;session.cookie_secure =( G. w/ e1 x: c

  1461. ! M/ |8 c! K9 U5 b
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    % w$ H0 B) {" H/ m5 u" J" }7 p3 ^
  1463. ; the session id. We encourage this operation as it's very helpful in combating  S$ F9 }0 l. E3 N
  1464. ; session hijacking when not specifying and managing your own session id. It is
    ) y5 N& ]6 J/ K1 _/ W& r. X
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    / \  x) f3 S' B) n% C7 l
  1466. ; http://php.net/session.use-only-cookies
    ' |, W( U+ S- I, U- Z
  1467. session.use_only_cookies = 1
    1 C9 o7 T4 V; p+ E: a; B

  1468. : y6 U3 t* {4 p& @8 t" z9 |( U
  1469. ; Name of the session (used as cookie name).
    - u- ?  z, ~" f' Z- Z+ Y9 ~
  1470. ; http://php.net/session.name8 [$ i( P: i: h, k0 J' z
  1471. session.name = PHPSESSID
    & Z2 C# n( T2 `4 O: y$ w7 }
  1472. - ]9 B  n0 `6 g( }8 s) n; A
  1473. ; Initialize session on request startup.. c9 w% v  b3 I( ^# t$ F  \
  1474. ; http://php.net/session.auto-start
    ! ]/ D* h" E5 D. @% t  `
  1475. session.auto_start = 0* F. S6 h7 x/ P1 S( v# Z

  1476. ( m  Z6 J/ p! [2 b8 K
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    % |* ]4 k, N9 @" I& G1 I/ V+ Z
  1478. ; http://php.net/session.cookie-lifetime: }6 S  N/ `6 x' A5 q( X( m
  1479. session.cookie_lifetime = 0/ ~# G7 C8 c3 d6 E9 Q
  1480. / C9 L) P/ j8 h( r: o2 n
  1481. ; The path for which the cookie is valid.$ M) _5 U4 `% z$ ?
  1482. ; http://php.net/session.cookie-path: W9 C7 I0 X. ?; f1 [
  1483. session.cookie_path = /; V* y. e( M. O) H

  1484. / l0 {) R# R6 ]5 }+ ?- V7 T7 E/ U
  1485. ; The domain for which the cookie is valid.& X3 L& c. H  N/ W
  1486. ; http://php.net/session.cookie-domain8 J3 M6 F( _; Z. }; N* H/ V7 U) J
  1487. session.cookie_domain =
    & V7 @0 R! p+ k  N# Q- d
  1488. 1 e9 k) U, n5 \& i) k' |; P5 O# Y
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    5 \  V5 H2 ?& c
  1490. ; http://php.net/session.cookie-httponly
    3 W7 `' I4 g5 Q7 Z
  1491. session.cookie_httponly =' _; t$ e& \  v: ]
  1492. # u' z: M7 T' @5 B
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    . f7 x5 ]& \* b
  1494. ; http://php.net/session.serialize-handler! ?' _* E. W# {6 ?! @" r  c' ~& X
  1495. session.serialize_handler = php6 w' M5 J" O4 B6 d9 b0 S
  1496. 7 {3 T, b0 x( K, v) o8 m
  1497. ; Defines the probability that the 'garbage collection' process is started- o# l. q3 b) ^4 H
  1498. ; on every session initialization. The probability is calculated by using- ?$ P4 N' @9 }& D0 O1 \
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    1 m0 A8 P3 a! Y
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    / g9 c  f4 n# B: P6 |9 S
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    " Z8 H# p4 S6 [# d% i
  1502. ; the gc will run on any give request.9 Q' k. u8 c8 i7 k! l9 U5 x! J
  1503. ; Default Value: 1
    1 `/ x! W5 ]. U' ^+ o( D. n. V
  1504. ; Development Value: 1: H( l( r& |0 d4 I7 ]4 O( q: j( w
  1505. ; Production Value: 1- {# g7 H/ r% `6 T4 Q
  1506. ; http://php.net/session.gc-probability
    . C! j% r/ t3 c- e
  1507. session.gc_probability = 1
    ; M  F" }! r- b6 F7 @
  1508.   {- U0 T8 o% Z' j
  1509. ; Defines the probability that the 'garbage collection' process is started on every5 V: S( E* _5 t
  1510. ; session initialization. The probability is calculated by using the following equation:. K8 `$ ?1 ?4 L+ b9 n! L# P
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    . _3 L7 K0 l# j4 {7 l  @( o! H
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1; l0 I/ n* s6 z- O  W
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    9 U6 u, Z2 e/ ^
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you0 N% K% ]! F3 V
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,1 l1 I% H4 @, L7 h: u4 U2 B. y* d
  1516. ; this is a more efficient approach.
    ( W. `  q; v: [) p+ ]. b5 e
  1517. ; Default Value: 100
    0 l$ z; G5 ]; w; Q( v$ E7 q8 C
  1518. ; Development Value: 1000
    ( N( T# Z3 q0 D7 }/ ~1 U# ]
  1519. ; Production Value: 1000: S2 T+ b* @8 O6 }& J! c
  1520. ; http://php.net/session.gc-divisor& S- v% R1 z+ x; [9 W
  1521. session.gc_divisor = 1000# D) g) [4 g4 N" ?

  1522. ) t4 C3 x/ E+ {
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    4 n+ w5 C3 A. y, ?( B
  1524. ; cleaned up by the garbage collection process.
    , p  m& M: i+ R% ~( Z
  1525. ; http://php.net/session.gc-maxlifetime" P8 V) T% {! Y% P2 y3 |
  1526. session.gc_maxlifetime = 1440. @. E% Y6 }* K' U+ X- `" t
  1527. 9 C/ h9 Y' g5 E8 P9 A( C
  1528. ; NOTE: If you are using the subdirectory option for storing session files0 e, k: ]2 @2 o8 `  r
  1529. ;       (see session.save_path above), then garbage collection does *not*) T3 t: x2 z1 f4 X4 ?* F! I7 v
  1530. ;       happen automatically.  You will need to do your own garbage
    0 Z1 Z5 t, C2 w5 z- n9 U
  1531. ;       collection through a shell script, cron entry, or some other method.
    7 F# S1 d% i* B( ]/ B, g
  1532. ;       For example, the following script would is the equivalent of
    , o: T, E3 m" k
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    4 f4 Y! Z- v7 l& q, f- [: ?* U/ P
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    5 a/ C/ E% s; p

  1535. 0 Q0 x+ D# O3 x2 t
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.! L5 x3 E! \( \- V; L
  1537. ; HTTP_REFERER has to contain this substring for the session to be8 S8 S" M. O& r* V
  1538. ; considered as valid.' V" N& C/ ?: m9 _( ]5 C# k1 ^  C
  1539. ; http://php.net/session.referer-check8 G1 {) Y7 _: L4 c/ M' P( {+ U
  1540. session.referer_check =/ D" `8 V: ^+ `, m5 c& f: f- n

  1541. 5 \7 ]$ K& a3 w
  1542. ; How many bytes to read from the file., ^. S" I# ?8 c) H* I" Z) S3 R( _
  1543. ; http://php.net/session.entropy-length
    . v6 I0 f$ O* q/ ]& j1 @
  1544. ;session.entropy_length = 32: f/ z* O6 n. ]2 k. \
  1545. 2 o0 u6 [( e6 f8 E& q! Y- X" o. V
  1546. ; Specified here to create the session id.
    . m  X4 I$ q9 D9 n
  1547. ; http://php.net/session.entropy-file( V5 u( w) ]" y
  1548. ; Defaults to /dev/urandom
      P4 F" f5 T# y2 Y5 t0 e. k
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    - b$ U% f7 J3 q- A$ B( |# Z3 Z3 w
  1550. ; If neither are found at compile time, the default is no entropy file.
    9 e( e9 W0 a' w5 ?) U% S+ ~/ u) ]
  1551. ; On windows, setting the entropy_length setting will activate the
    6 n: b6 ?7 A: G  j. x9 {7 l: t: z
  1552. ; Windows random source (using the CryptoAPI)
    ; }$ d: J; o+ Z: d
  1553. ;session.entropy_file = /dev/urandom
    - Y; `1 H0 l0 }$ |6 p
  1554. : J& U) t# J4 |2 p9 e* U5 ?, X
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects+ Q7 g6 p1 Y+ q0 f- b3 e& B
  1556. ; or leave this empty to avoid sending anti-caching headers.7 l  A2 Q% t. ~. O0 a# V- N9 Y1 N
  1557. ; http://php.net/session.cache-limiter- i6 D+ E; l6 \, T3 [/ r! U- T
  1558. session.cache_limiter = nocache0 z  H: m4 n! t- x3 f$ @
  1559. 3 @# A- g- Y: p4 |" B
  1560. ; Document expires after n minutes.
    5 v. ^- x( l5 S
  1561. ; http://php.net/session.cache-expire
    - l8 D& W3 b* B% G' y. U: G# r
  1562. session.cache_expire = 180
    . E# O/ g' }; R- B
  1563. . Y! E) S6 q. L: y' a+ |
  1564. ; trans sid support is disabled by default.3 E' s4 s4 t# a( y/ s  d/ d. N
  1565. ; Use of trans sid may risk your users' security.
    + Y* ?' a4 ~2 r  k- S
  1566. ; Use this option with caution.
    5 h: N# T$ W/ z2 K, x8 k4 D
  1567. ; - User may send URL contains active session ID
    + }. w7 z: l/ b; y5 {8 G! Z! [
  1568. ;   to other person via. email/irc/etc.5 \) ]6 W7 l4 P3 A6 g: ?' ]  b9 x
  1569. ; - URL that contains active session ID may be stored! G. _- G) T) y, z# o
  1570. ;   in publicly accessible computer.
    ; n# _8 P& p: g* G
  1571. ; - User may access your site with the same session ID1 i  a; \: ?- O) m3 c0 ?: B
  1572. ;   always using URL stored in browser's history or bookmarks.
    3 ^- {5 f- z' p2 C# K
  1573. ; http://php.net/session.use-trans-sid
    ( j, h4 Q2 O! g+ d5 F) W# k' p/ d7 t
  1574. session.use_trans_sid = 0
    7 c8 Z& B# [$ z) V; l

  1575. ( S2 R% G7 \, o
  1576. ; Select a hash function for use in generating session ids.
    ! W7 P$ d% R' O" `# i3 b
  1577. ; Possible Values
    7 _' I- }. n/ o
  1578. ;   0  (MD5 128 bits)5 S) Z# P9 b( a. i
  1579. ;   1  (SHA-1 160 bits)- @; m  I" K7 L( }- f8 Q" i8 m
  1580. ; This option may also be set to the name of any hash function supported by) ]. l1 }" n# P6 _, z
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()3 Q- \. _1 H7 D1 g0 K' A6 j
  1582. ; function.# c5 y$ {5 Z. C7 L1 A
  1583. ; http://php.net/session.hash-function
    - x+ v: \( i2 y
  1584. session.hash_function = 0
    - u; }+ X! ]+ W1 z6 S- p6 [

  1585. 3 H8 y( }, A; N' B
  1586. ; Define how many bits are stored in each character when converting
    " e3 L5 a5 z8 H! M, ~# p1 ^
  1587. ; the binary hash data to something readable." u( {5 J$ B/ V. u/ G/ C+ k7 l+ ^5 C
  1588. ; Possible values:7 ^. {) Z- q: U
  1589. ;   4  (4 bits: 0-9, a-f)( H. J: q( {) Q  u) O
  1590. ;   5  (5 bits: 0-9, a-v)4 X% x1 @" l6 H/ \
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")2 a8 |  A9 D. B' E4 E
  1592. ; Default Value: 4
    8 ?7 e4 L8 G' W, ~% g
  1593. ; Development Value: 59 P. @3 V! ?0 ]8 g' n: q
  1594. ; Production Value: 5
    / J# p: i  c! |9 P
  1595. ; http://php.net/session.hash-bits-per-character
    : `3 o: u$ \; Y$ H% ~. H
  1596. session.hash_bits_per_character = 5' N4 Q# c5 q% e  b$ M& c

  1597. 1 p( k  `9 G" E$ A6 r% J
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.6 m" y* ~( `# [' R
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    - s; c0 z" {* J3 c- O
  1600. ; add a hidden <input> field with the info which is otherwise appended
    ' H1 l" l6 @7 h9 k1 k
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.' ^0 f6 \! W9 ~7 N/ R3 s
  1602. ; Note that all valid entries require a "=", even if no value follows.
    * e- S# B2 @+ T5 R
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="9 y4 e! Y, s' z; _9 F
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    & T# U# }* x- d
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ' {  b) V# u$ t* z% Y' D3 |
  1606. ; http://php.net/url-rewriter.tags
    5 p8 Z; e* k% V, k
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    5 C! m3 ]9 }% O# K

  1608. 3 Y  {) s. @. ~  \6 g! A
  1609. ; Enable upload progress tracking in $_SESSION
    ) j  Y. ^8 ]' }$ a( j5 c3 \
  1610. ; Default Value: On
    1 f' `' n. \. K$ Q
  1611. ; Development Value: On
    4 w8 ^5 ?5 ]: P1 W* r$ `
  1612. ; Production Value: On
    ( W" l8 t) ~! `0 ?
  1613. ; http://php.net/session.upload-progress.enabled
    ' m& G3 d9 K6 T, a+ P6 @
  1614. ;session.upload_progress.enabled = On
    , w' ^& F3 j- v

  1615. * V% w( c  }' Q1 J2 W3 f) {; b
  1616. ; Cleanup the progress information as soon as all POST data has been read
    7 Y2 m3 g8 a4 p. k, {
  1617. ; (i.e. upload completed).
    1 f5 L) X3 C0 H+ _0 ?, l
  1618. ; Default Value: On
    7 t; T4 w8 r6 m* l( `& A
  1619. ; Development Value: On
    9 ]1 J( \( Q5 y7 B2 U4 `1 B: {
  1620. ; Production Value: On
    ' n9 n+ o9 e) ~: ^! M. d0 b2 }8 w
  1621. ; http://php.net/session.upload-progress.cleanup8 p( a( y/ m* w0 [  V
  1622. ;session.upload_progress.cleanup = On9 J* }9 \; u& F) c6 s. t  t# j
  1623. ( J) w1 V" D- Q1 V+ {! O7 j
  1624. ; A prefix used for the upload progress key in $_SESSION  r2 t( O1 p; Z2 u* {
  1625. ; Default Value: "upload_progress_", P  C- {6 F8 ]3 Z/ W+ O# k
  1626. ; Development Value: "upload_progress_"# e2 E  b+ R5 X+ q( n' `3 t
  1627. ; Production Value: "upload_progress_"
    7 C3 g2 e7 h0 h( \. A
  1628. ; http://php.net/session.upload-progress.prefix
    7 ?# y/ z0 Q# e9 U. `9 h0 J9 X
  1629. ;session.upload_progress.prefix = "upload_progress_"/ A  Z  F$ j6 t& e4 |. J. }
  1630. : a8 i# g8 o9 X, j0 `( B8 N
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    6 V$ N" o8 t- E7 g* q4 [+ t$ W
  1632. ; containing the upload progress information
    / U* `: u4 K6 x# X0 |/ ^
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS", [3 T% R8 |) O; {, ]
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ; [/ U2 R5 m% h$ t% s. U1 [
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    7 E% G" W6 I& c
  1636. ; http://php.net/session.upload-progress.name
    . x. ]) K9 ~( f3 B! q& q* |+ O
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS", o5 X4 V8 }: t. C1 F
  1638. ; e2 c. T3 g# I1 Y
  1639. ; How frequently the upload progress should be updated.
    + Z4 [5 H) w# H' z
  1640. ; Given either in percentages (per-file), or in bytes+ y2 G% z% C7 ]5 [) v8 `3 s& K
  1641. ; Default Value: "1%"
    8 e$ P$ N+ [2 B  C# X
  1642. ; Development Value: "1%"
    / X( o7 B* H' p, H$ k
  1643. ; Production Value: "1%"
    2 V. o2 D; d" x: {
  1644. ; http://php.net/session.upload-progress.freq
    ! Q" ]3 r5 X: Y, i2 ?6 }3 `( V
  1645. ;session.upload_progress.freq =  "1%"
    " R3 Y; `. p6 {

  1646. $ j9 Q8 X5 N4 g/ F" d$ z! {
  1647. ; The minimum delay between updates, in seconds$ {/ ]7 b* W  K6 J
  1648. ; Default Value: 1. v" V4 d& _0 Q8 x
  1649. ; Development Value: 1. P( X6 E% N5 u" {; c, f
  1650. ; Production Value: 1
    - F/ c6 n) @! U4 B& s8 E/ @" t
  1651. ; http://php.net/session.upload-progress.min-freq
    7 q% \8 V# c$ \
  1652. ;session.upload_progress.min_freq = "1"3 L, r$ h2 K/ x( x2 b

  1653. # p7 `$ @% C+ I3 x& R
  1654. [MSSQL]
    0 n: g2 S9 _4 s0 O: M
  1655. ; Allow or prevent persistent links.* `+ U2 m5 m; z, C: T
  1656. mssql.allow_persistent = On
    1 N3 b1 p- `- @) F7 v. c( G

  1657. 5 |, I8 h" E; F& t: I7 s0 D
  1658. ; Maximum number of persistent links.  -1 means no limit.
      B3 P7 ?) F% }; d9 E
  1659. mssql.max_persistent = -1
    8 \9 s4 A5 K7 G- l
  1660. " `2 r+ J9 N# e. L/ l* a2 p4 M; U
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.0 M# ?% f* U& {4 ]( B
  1662. mssql.max_links = -1) g. f7 I' J3 C* c; w% A, u8 o$ R( J
  1663. # b, U9 ]* |9 c1 W. e% J
  1664. ; Minimum error severity to display.; y3 {5 n) P, f4 Q; |9 J2 E0 i
  1665. mssql.min_error_severity = 103 Y# v9 y% a$ \0 ^9 x2 N# I
  1666. 9 G+ @4 G4 t% n9 |/ U
  1667. ; Minimum message severity to display.; b5 e/ [1 a4 `- K# J
  1668. mssql.min_message_severity = 10
    3 a) t5 g  K* D0 f' [; U/ {; j
  1669. 9 S: {0 l. a  h, H. G" a; w; y7 o5 @
  1670. ; Compatibility mode with old versions of PHP 3.0.
    & S" V) a" C1 l% W
  1671. mssql.compatibility_mode = Off) Q' @& \7 Y. V5 u6 D7 i7 L+ O

  1672. . x4 ~6 R, O: _" J* s4 R% b, m9 t: Z
  1673. ; Connect timeout3 n( R/ E* X) g9 Z" a5 H& q8 _
  1674. ;mssql.connect_timeout = 55 ?# G* Q4 B. ^! @' Q& v
  1675. ) V9 e9 j9 o; N) T2 p, F
  1676. ; Query timeout
    ( R( M0 {2 L5 a
  1677. ;mssql.timeout = 60
    8 {0 q+ K# a+ }" O7 [! A( C

  1678. , H( Q0 [2 j% ~$ l
  1679. ; Valid range 0 - 2147483647.  Default = 4096.) E% J. k( z: y2 K' O
  1680. ;mssql.textlimit = 40960 C, A5 e2 _) P3 n+ K. w
  1681. ( H4 T4 w! L' v" t4 r8 j8 `* B+ d
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    7 ~  s$ F/ t$ P# ?2 H: r* ~( h  |
  1683. ;mssql.textsize = 4096+ i' `: }8 A* a. V* v
  1684. % m, p0 D( F7 u; {9 C
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
      g' v; D4 A8 n7 x# c
  1686. ;mssql.batchsize = 03 y4 W, b+ @* k6 B* K* S- L  }' G9 b
  1687. : J# k1 b3 c. D( _
  1688. ; Specify how datetime and datetim4 columns are returned, b% V+ ]) E( W4 f% s5 O
  1689. ; On => Returns data converted to SQL server settings
    / C/ T. g3 {  H9 r/ v
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    2 G# |  U* z, U* D2 l, r% L
  1691. ;mssql.datetimeconvert = On5 _/ A8 }3 z7 l# d
  1692. ! x0 G  S# y2 ~$ Q" P- u# Y
  1693. ; Use NT authentication when connecting to the server, i8 O0 N" g' r6 {# V  V% @
  1694. mssql.secure_connection = Off  U0 b9 g( C: G: t6 ^! z& f

  1695. ( X4 Q. g+ _9 H, Z! L# k4 g
  1696. ; Specify max number of processes. -1 = library default) m3 v$ ~. u: |' a7 A4 I# m0 a
  1697. ; msdlib defaults to 25
    5 G( l* r# {' f0 J; K
  1698. ; FreeTDS defaults to 4096
      C. _; n' F" |/ N0 d
  1699. ;mssql.max_procs = -1, F+ ]- Q0 ]4 i; h9 O8 s
  1700. 1 z, ^( X2 ^( b, v
  1701. ; Specify client character set.7 S, T- h, M2 ~- w) x
  1702. ; If empty or not set the client charset from freetds.conf is used
    # J8 f# f  S8 K8 u+ d1 v' f0 K/ X' b" s
  1703. ; This is only used when compiled with FreeTDS
    # g7 h& |% |7 j, M* h; s0 @1 J
  1704. ;mssql.charset = "ISO-8859-1"
      b( v0 y# V' S) [! w4 c
  1705. ( K$ C+ q$ l0 z
  1706. [Assertion]
      M! ^; \" |# h) u
  1707. ; Assert(expr); active by default.
    . ^6 P6 V6 W9 C- f
  1708. ; http://php.net/assert.active
    $ `! P; b) \5 D/ |
  1709. ;assert.active = On
    4 Y2 M1 i% _8 U* n. P
  1710. 1 |' R5 o8 e5 Z  d
  1711. ; Issue a PHP warning for each failed assertion.
    5 ]- |7 h# i) I% ~! C
  1712. ; http://php.net/assert.warning6 r6 N2 V" F2 w$ p
  1713. ;assert.warning = On
      b' g2 z9 D3 T% u' X
  1714. 1 B0 V$ J/ @& b" s
  1715. ; Don't bail out by default.) C$ C) Q! Z! }; t
  1716. ; http://php.net/assert.bail2 T1 e8 a) e3 H( Q
  1717. ;assert.bail = Off+ T6 |, [) N4 T. x2 E

  1718. " e- x- K5 N% Y$ ?" ^
  1719. ; User-function to be called if an assertion fails.. l5 J. Y; J/ Q8 _
  1720. ; http://php.net/assert.callback5 C: |5 N( `9 y
  1721. ;assert.callback = 0* o7 [$ k! Q  L5 q
  1722. 0 e/ q0 I  Y& o8 \
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    " F9 O( ~$ L6 p; a  O7 U& g
  1724. ; error_reporting(0) around the eval().! f/ Q7 v3 o5 k7 y) M
  1725. ; http://php.net/assert.quiet-eval
    ' |- c& U. \8 b; l* w5 e
  1726. ;assert.quiet_eval = 0
    ' ^, R, {7 Z' y* O7 ]: X/ |

  1727. 6 t/ y! L$ ?2 C. u2 B
  1728. [COM]
    - h# w8 u# @, B, O
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    ! j7 [3 F& j* O6 I) V. {
  1730. ; http://php.net/com.typelib-file
    : @+ t( u$ @# z+ S$ F+ u* m
  1731. ;com.typelib_file =# H8 x: P4 H( U; s$ T  ~
  1732. $ j5 j9 F2 L, [4 j. Z  ?3 |
  1733. ; allow Distributed-COM calls
    8 n3 c6 v  r6 n3 j4 P4 z6 ~
  1734. ; http://php.net/com.allow-dcom, W1 L- {! K" j7 Y0 R
  1735. ;com.allow_dcom = true
    % y9 {3 N2 V6 w2 i' h. {* S, Z

  1736. & W- I- A0 O! K, y; B- v& c/ U
  1737. ; autoregister constants of a components typlib on com_load()
    : q) g9 `+ _( ?! o
  1738. ; http://php.net/com.autoregister-typelib
      m% k: I: l3 J& g' ^8 Q. k) x
  1739. ;com.autoregister_typelib = true8 N+ z% Z5 b5 k4 [7 h
  1740. 3 V7 a: @) p$ ^2 U+ D; [
  1741. ; register constants casesensitive
    $ ^3 y+ X# ?# c# G8 \0 J6 S) u" [
  1742. ; http://php.net/com.autoregister-casesensitive: J) n+ \# f8 N
  1743. ;com.autoregister_casesensitive = false: p  ~; ~2 u4 S8 b' Q( P3 M7 ~. Y

  1744. 8 _. v: h5 G  g+ E) h
  1745. ; show warnings on duplicate constant registrations
    ( \! j$ ^) [4 t8 g3 n9 M4 L# o
  1746. ; http://php.net/com.autoregister-verbose& T6 k7 i! d; E, F% s, K  k: w* b
  1747. ;com.autoregister_verbose = true! ]3 Q. L1 t8 X% L9 D

  1748. * ?9 f* e$ n. ~% J7 p
  1749. ; The default character set code-page to use when passing strings to and from COM objects.7 b  W( `& G5 e1 ]" Y
  1750. ; Default: system ANSI code page1 x4 x5 n& k/ D4 T2 }
  1751. ;com.code_page=
    $ g+ g8 t0 y' I6 G

  1752. * _- C/ q8 V% _$ }
  1753. [mbstring]
    + ?/ B9 f5 ]5 b2 r9 t: g6 a
  1754. ; language for internal character representation.
    0 f6 K- P; i- u; w. K7 v3 u
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.1 D( V: B" k2 }! P# s3 H" U
  1756. ; http://php.net/mbstring.language$ x. }1 j$ B8 X* J/ z) U4 Y1 [
  1757. ;mbstring.language = Japanese/ J% z  w6 [2 `/ S8 r

  1758. 4 c) @% i+ O$ _1 V+ z$ B! L
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.5 ]4 ^9 I. u" n" Q- K2 {
  1760. ; internal/script encoding.
    + H, M8 \. n) N' F% t+ g  V
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    8 |1 @! J* a9 D: c+ s
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    8 t) b7 n/ A: z7 ^( Y; R
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    ) \8 Y) o+ x4 @* o& S* a
  1764. ;mbstring.internal_encoding =
    & P/ [) _8 d5 P+ j# _/ ~
  1765. 8 {- G2 x  o1 h, J
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    1 \) h; G9 s# ~5 Q
  1767. ; http input encoding.: `" J- A8 R: n$ E$ |( j
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    ' ]8 B8 c* R9 R6 P- h# L& K. S3 L
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    0 X9 o# `; s7 ?& T* o; t) q9 a
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    % Q  W! l3 s' m4 ]) u4 w
  1771. ; http://php.net/mbstring.http-input+ P9 v0 E$ J7 O; x5 O" S/ B
  1772. ;mbstring.http_input =
    ; D7 w7 y1 O* @  F: `# z
  1773. 0 _% r* Y% [( j# x  O
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    % k. V  s# z4 V3 C, L0 ]& V; b
  1775. ; http output encoding.+ V7 {$ i: f6 J6 E
  1776. ; mb_output_handler must be registered as output buffer to function.! X" c% \# Q' f$ `0 v" h6 q: R* F
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    9 ~1 n& g7 n# I3 i) K$ q2 a
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    % i9 i: \% t4 X& [( e; X
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    3 p+ x, [* {9 e3 g
  1780. ; otherwise output encoding conversion cannot be performed.
    ) |+ u7 N( x; v5 t
  1781. ; http://php.net/mbstring.http-output
    0 T0 d6 V- s, P# I8 H1 V8 t) c0 z& k
  1782. ;mbstring.http_output =
    & l% |- m+ E; t0 r

  1783. / d/ ]( b; e, l" ]1 o
  1784. ; enable automatic encoding translation according to1 f* d9 l/ b# n  A7 ^' V) V
  1785. ; mbstring.internal_encoding setting. Input chars are
    ; j6 S8 l: ~7 L9 i" {  U
  1786. ; converted to internal encoding by setting this to On.% x( Z, Z% O4 L4 i0 Y
  1787. ; Note: Do _not_ use automatic encoding translation for5 @" M# \" ?* u6 P) r. C1 u* E
  1788. ;       portable libs/applications.
    / B6 J% A& E& N/ i  J
  1789. ; http://php.net/mbstring.encoding-translation
    : l- ^  p9 @4 D0 H# g
  1790. ;mbstring.encoding_translation = Off
    7 f0 F0 [! F0 C) W. U9 T
  1791. 0 A8 P2 x# Q* F7 Q- R1 c% j. Y
  1792. ; automatic encoding detection order.
    4 [: Z8 w' F5 j- `1 L2 H$ c
  1793. ; "auto" detect order is changed according to mbstring.language9 g7 ]4 m. T0 r) f* e' z4 V$ O# F
  1794. ; http://php.net/mbstring.detect-order
    1 T; [2 |/ G" N' K
  1795. ;mbstring.detect_order = auto. b) q7 e* s3 P. l

  1796. 0 f  s1 j1 L$ i' x1 Q
  1797. ; substitute_character used when character cannot be converted
    $ i9 m4 P& a. B: F' O- r! q
  1798. ; one from another
    5 X0 [4 o0 p; I0 V( Q2 g# [9 R) s, |
  1799. ; http://php.net/mbstring.substitute-character
    & s+ x2 ?- Y" k8 S
  1800. ;mbstring.substitute_character = none! |4 s) e- M, A+ P" N+ O* R
  1801. 7 G3 |$ D. q7 d  ?% _
  1802. ; overload(replace) single byte functions by mbstring functions.
    $ J; b) ^6 X1 ]. U$ p5 Z
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    ) D% S( N1 o4 w* w1 N- D
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    - m9 l4 F# V5 x6 R$ Z% _. G
  1805. ; For example, 7 for overload everything.
    % {, ?/ I' ?, C9 U
  1806. ; 0: No overload
    $ ^7 k5 C7 Q, U  e
  1807. ; 1: Overload mail() function. A8 [' D% k9 q6 j6 L! Z7 [" c" G
  1808. ; 2: Overload str*() functions
    + O$ x1 F+ j$ I  o4 S9 |
  1809. ; 4: Overload ereg*() functions
    : e! w) k4 ]* ?( O
  1810. ; http://php.net/mbstring.func-overload  o& D4 M" q/ f. W1 ?$ j
  1811. ;mbstring.func_overload = 0
    1 W6 ]: o% s: v) w

  1812.   Y6 t' Z7 [  Y
  1813. ; enable strict encoding detection.& K+ R. N& P0 C1 _% X  C$ |+ L
  1814. ; Default: Off
    - F. \% L/ o5 |9 h1 d
  1815. ;mbstring.strict_detection = On* w& X( D$ U+ T  `
  1816. 9 p' s6 J' b6 `& b' h. E3 D! f$ {6 E
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    & M7 h  O  z$ Z
  1818. ; is activated.9 ?7 [* o  R: l& m- T2 L) D% \# ?3 ?
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    6 t( G: e  Y% x' ]7 X6 P
  1820. ;mbstring.http_output_conv_mimetype=
      H7 C* W7 r* A! R: ?" V5 ?. {
  1821. $ N$ r1 R: p8 J% Y0 j( v
  1822. [gd]
    $ M+ B# u8 `! j7 n8 ~4 E
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    $ R: s4 b) W* _! P& c" n7 t
  1824. ; a gd image. The warning will then be displayed as notices4 ~' U4 U+ z7 g. I& b+ U
  1825. ; disabled by default- v4 C; m/ @% \) }1 V
  1826. ; http://php.net/gd.jpeg-ignore-warning
    . L* R( b' }3 N7 ?) G+ e8 [) A3 e
  1827. ;gd.jpeg_ignore_warning = 0; r* V0 n! a! t% f

  1828. & G& g- I  f' ]3 r
  1829. [exif]* U" O' _. x; \0 O  b& q4 d- m' S' k
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
      z4 h* E/ b& z+ Y! y7 @
  1831. ; With mbstring support this will automatically be converted into the encoding
    : P/ n( s. ^- ]9 e
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding3 c: r; {9 k+ Q$ L& Z" e
  1833. ; is used. For the decode settings you can distinguish between motorola and
    % K' Y' o" ^: t
  1834. ; intel byte order. A decode setting cannot be empty./ U3 n1 F$ M* P, r( `2 e: D7 b
  1835. ; http://php.net/exif.encode-unicode( A% \/ U# U2 L9 ?
  1836. ;exif.encode_unicode = ISO-8859-15; h$ Y; W# @2 L3 X* I

  1837.   Y) \# L- t+ f: Z( }& `( }
  1838. ; http://php.net/exif.decode-unicode-motorola
    - P6 p7 ]( V, i' q! S4 M  J3 u
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    6 D8 j0 m9 ~" L/ v! p$ o( M

  1840. $ ]) v: Z  `; K) |% V
  1841. ; http://php.net/exif.decode-unicode-intel
    7 i4 e3 t, n% D$ i, {/ {8 F) I
  1842. ;exif.decode_unicode_intel    = UCS-2LE' V( b# k9 ?. f3 l9 p( O
  1843. ! d6 I2 M) C4 @. W
  1844. ; http://php.net/exif.encode-jis
    , L+ n) q2 x) \: K7 ~3 Q6 q( x# y
  1845. ;exif.encode_jis =
    9 g9 Q! ~; E1 x1 v6 U
  1846. / b  Y0 X$ j' X8 i, z* K
  1847. ; http://php.net/exif.decode-jis-motorola' y4 c! Y, ]: T
  1848. ;exif.decode_jis_motorola = JIS
    / q+ k2 ]: n2 b1 u( Z9 e; t- A
  1849. ) O6 v: p$ k6 n3 F' Z/ J
  1850. ; http://php.net/exif.decode-jis-intel. G9 W1 K6 p$ i6 c& p0 A
  1851. ;exif.decode_jis_intel    = JIS" {3 [, B6 y( z. T. S# O! k6 \& G

  1852. 3 Q" G5 f3 l( {, T4 W
  1853. [Tidy]% x0 e) }2 R( f$ j
  1854. ; The path to a default tidy configuration file to use when using tidy; q1 |3 w4 F+ u( D! D" _  a9 D
  1855. ; http://php.net/tidy.default-config
    9 j% `- Q4 _& F. H1 Y
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    - J/ c0 T" A/ `" Y1 C
  1857. # K5 N4 W0 s7 z4 h
  1858. ; Should tidy clean and repair output automatically?: k2 _7 M) y& n+ n- [: c+ P
  1859. ; WARNING: Do not use this option if you are generating non-html content
    2 @9 V' `4 A. u0 n; N2 r) \/ A
  1860. ; such as dynamic images( j# d) ?7 g$ `; b( X/ g
  1861. ; http://php.net/tidy.clean-output
    9 O3 ?" L/ U& Y. H
  1862. tidy.clean_output = Off
    # O% l2 X5 W( e8 v  n. T' S. c
  1863. / C! C/ y0 P/ x4 i
  1864. [soap]
    3 X! d  Z9 S/ G, P. [! [$ [% k# n
  1865. ; Enables or disables WSDL caching feature.3 X  F9 y; z/ z0 X. w
  1866. ; http://php.net/soap.wsdl-cache-enabled
    " }; ^+ }6 L0 d: O2 w
  1867. soap.wsdl_cache_enabled=1
    0 p) O% n  E! g# O8 ]# E

  1868. 3 f1 S8 a2 i" d2 T
  1869. ; Sets the directory name where SOAP extension will put cache files.% [; w. Q4 B. A* M- {+ @
  1870. ; http://php.net/soap.wsdl-cache-dir0 |4 {! M% r6 {, J! C
  1871. soap.wsdl_cache_dir="/tmp"
      G5 m0 j/ _7 P# m, j

  1872.   H7 E4 F( d* [- _3 I' h: H( X
  1873. ; (time to live) Sets the number of second while cached file will be used& H" ^# L$ Y. S+ E0 `6 m
  1874. ; instead of original one.
    7 l& U3 ^/ {9 `9 X' r8 h8 \
  1875. ; http://php.net/soap.wsdl-cache-ttl
    ( Z2 @/ ?+ y& z( z, T
  1876. soap.wsdl_cache_ttl=86400
    8 K' n' y$ j, r
  1877. 0 y* P! J1 {6 Q
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    , g  z% C9 t  k' [
  1879. soap.wsdl_cache_limit = 5. j& G9 V: n9 D# Y
  1880. 9 h- ]1 G4 E9 c5 S
  1881. [sysvshm]6 T( Z* B" I9 l' |5 R5 O$ H
  1882. ; A default size of the shared memory segment
    # @" q( J/ ?8 n2 Q; |; `
  1883. ;sysvshm.init_mem = 10000
    8 e: b, E& w  L* J5 d, L# f

  1884. ! e5 N8 {# ^6 n" @
  1885. [ldap]
    , d1 r9 U; Y. O, V# d9 D
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    - t" _6 Y( T( B% Y3 ?9 v
  1887. ldap.max_links = -1$ W. [' A3 G/ n6 `" n
  1888. ) }/ }( U* p% T) @  m3 R4 t5 W
  1889. [mcrypt]8 U6 h8 t/ m* n# Q
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open2 s% J5 u" Q0 A

  1891. / S# x5 U# x6 K1 Q' c6 ]2 [5 T
  1892. ; Directory where to load mcrypt algorithms
    0 k9 O5 f# N# G0 q/ Y1 @; H3 d" g
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)# T4 G. I% T  c0 q
  1894. ;mcrypt.algorithms_dir=, l$ P  T& q( z. i: K
  1895. ! k. l4 g' }1 r  y1 U# D
  1896. ; Directory where to load mcrypt modes
    ( A9 }  @& J1 w* z4 B2 h
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
      X* R! j! t% \) f. ^6 Z9 _0 \
  1898. ;mcrypt.modes_dir=
    7 _& z6 A) P2 K  g/ Y

  1899. $ y9 P! P0 E3 Q7 L* M2 i$ O6 _
  1900. [dba]
    : H5 j& P1 O' x6 z) ~% g
  1901. ;dba.default_handler=' t, j$ @) ^% N' D$ T1 H

  1902. 6 w5 q) e, J$ V' g, b5 |6 g
  1903. [opcache]
    - _7 O+ h# m* r- o
  1904. ; Determines if Zend OPCache is enabled
    - ~2 b( q2 S0 w, q2 r
  1905. ;opcache.enable=06 R* t# \# T6 D; r3 H3 K

  1906. 8 C" }, }) {6 J* |
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    9 [! I: q" ~* x/ V5 f
  1908. ;opcache.enable_cli=0) O1 I; y- J' d/ C: X- p+ R0 ~

  1909. 0 N& X+ C. Q$ z* b7 Y
  1910. ; The OPcache shared memory storage size.
    * [1 G+ r6 p% S0 u9 j/ C
  1911. ;opcache.memory_consumption=64( k/ |+ Z: S" o9 V: {+ f# `
  1912. ( z; |* o6 |; Y0 r& T, O
  1913. ; The amount of memory for interned strings in Mbytes.
    0 S0 H: N) }1 ?1 {+ U) `" l
  1914. ;opcache.interned_strings_buffer=4. f. D. L4 U) N- B

  1915. 6 l$ s6 y' e2 K: [5 {9 q; n
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.- Q- F; B2 M5 |8 p8 J/ S- C* U
  1917. ; Only numbers between 200 and 100000 are allowed.0 H% n' C4 v; ]' L% n" [
  1918. ;opcache.max_accelerated_files=2000
    3 \$ ]. w$ v2 g2 d4 ?' J
  1919. 8 P1 P+ O( ?2 u4 F! t* e
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.. }8 b3 n" y( k
  1921. ;opcache.max_wasted_percentage=58 b5 \# F2 f7 k; ?
  1922. $ {( p& {7 T& h1 L. f3 o6 p/ r2 l
  1923. ; When this directive is enabled, the OPcache appends the current working
    * X4 b2 V. ]# b5 l8 G5 v! k, a+ r
  1924. ; directory to the script key, thus eliminating possible collisions between
    3 d) z3 g7 P/ ]3 h+ Z% O: ]
  1925. ; files with the same name (basename). Disabling the directive improves
    5 L  `, d! m# w3 c
  1926. ; performance, but may break existing applications.
    ) _) S9 \* [4 U5 m& Q: |
  1927. ;opcache.use_cwd=1
    * A0 Y( _; x! Y6 k$ c4 ]# e' G; \
  1928. ; N3 V" |, u& A
  1929. ; When disabled, you must reset the OPcache manually or restart the; X" ]- @9 @% {( q9 T
  1930. ; webserver for changes to the filesystem to take effect.
    / ]5 ~  H( [4 \+ [8 @
  1931. ;opcache.validate_timestamps=1, x$ F/ H+ N, c+ L0 z  X  S8 W

  1932. ; R! r9 M' @! |: ], F) y: f
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    9 e, d5 Q( S  |1 r6 A3 _, i
  1934. ; memory storage allocation. ("1" means validate once per second, but only) l5 ^# D+ _% J9 C( p. ~) V1 d" z$ ]
  1935. ; once per request. "0" means always validate)
    * h  L* H# L6 r. a
  1936. ;opcache.revalidate_freq=2
    $ h4 B  n$ ~7 @* g, F9 m7 _
  1937. - `7 G% n7 C& s' {; C2 I
  1938. ; Enables or disables file search in include_path optimization
    5 h" y+ A! b/ V
  1939. ;opcache.revalidate_path=0
    0 H8 J" a8 P5 C2 _
  1940. . I" k  z2 r1 J: ~  [
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the1 v$ ^* N5 m8 Y: N3 \2 M( A
  1942. ; size of the optimized code.
    ) l3 i7 c5 @! i6 e. ~5 Q$ j
  1943. ;opcache.save_comments=1
    9 |7 m' _+ F5 v
  1944. ' p7 @9 y$ B! K4 J& `/ H4 s
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"1 A) o. a. r" }7 q8 R9 X: X
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    / P0 m" q9 G  j: k1 m* F3 X
  1947. ; that don't need them anyway.- w+ E0 e1 j0 }- b
  1948. ;opcache.load_comments=1
    3 ^" s6 ^; M$ W3 \
  1949. 8 c* L/ D" k0 t* W  w7 G+ ?
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    # q9 c7 M5 H0 g$ N7 a
  1951. ;opcache.fast_shutdown=09 v* r% F$ k. F% a+ }
  1952. ; }, n' i) T  W  @2 Q* p% x
  1953. ; Allow file existence override (file_exists, etc.) performance feature.4 Y) Z2 B8 q/ S) _/ h% p  o% U
  1954. ;opcache.enable_file_override=0- U  e/ k( h# J& g$ n: h3 _
  1955. ! q% `: q) {/ J* }+ e
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    0 h8 V+ n" g* S- N3 R) i
  1957. ; passes
    , {- f7 z. X6 c* E1 E9 @
  1958. ;opcache.optimization_level=0xffffffff. t( G8 g, {# |* ?% w- H

  1959. , b- W  u. X' @* O9 m
  1960. ;opcache.inherited_hack=1
    / R: t& M% s& A# A0 j' g
  1961. ;opcache.dups_fix=0
    * w* N+ }* H3 U" u, x+ O, ?+ s

  1962. 0 h4 O% j0 T4 U' Y: t. s
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    6 G; B2 f- c4 M6 ^8 ?2 O
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    , s5 x$ E1 q% D, _& w6 [, P
  1965. ; that should not be accelerated. The file format is to add each filename
    , C% ^+ U4 ]3 R" X# b. g( ?
  1966. ; to a new line. The filename may be a full path or just a file prefix. R3 ]) l# Y, j/ E* q9 O7 ~0 M* F
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    , d% b" U  i! k
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).+ z5 M. k* F$ u
  1969. ;opcache.blacklist_filename=
    9 X; i3 ^: `6 E7 V, U5 s- ^( w

  1970. 7 m* D& v. Q0 V+ @  i8 u
  1971. ; Allows exclusion of large files from being cached. By default all files; w" W5 J4 P* {9 N8 c0 h1 M
  1972. ; are cached.. g/ L( f3 h* F0 A6 Y0 u
  1973. ;opcache.max_file_size=06 e8 I) Y3 e( P8 `
  1974. 2 j6 d8 R& X. N' R8 I: m, ^
  1975. ; Check the cache checksum each N requests.( S1 t& N- k( E+ P
  1976. ; The default value of "0" means that the checks are disabled.0 k- z# P; |0 e. a3 T  _8 |" w
  1977. ;opcache.consistency_checks=0( v6 I% l1 l0 Y# v7 ~0 D! z
  1978. . X' |8 p. V. ]" M: \
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    + g5 Z  B( ?/ a) V1 Z, N
  1980. ; is not being accessed.
    . B0 p% Q3 o# Z0 M* [
  1981. ;opcache.force_restart_timeout=180/ i2 F& A0 s- a& M/ V9 g
  1982. , @; ~  m# K! T. U& j
  1983. ; OPcache error_log file name. Empty string assumes "stderr".8 o0 j3 ^2 F# Q$ ]8 E
  1984. ;opcache.error_log=0 j" x* B5 e$ z+ k$ o

  1985. + p) N9 A# G0 Q4 U0 Q: e3 U) W7 H
  1986. ; All OPcache errors go to the Web server log.0 X& G$ p0 e5 ]5 D7 M+ k
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    7 y$ W# Q/ [4 m: e& c4 _7 x
  1988. ; You can also enable warnings (level 2), info messages (level 3) or% n" Y7 }* T+ |5 b
  1989. ; debug messages (level 4).0 b. G- }4 D7 C, Z( M0 u
  1990. ;opcache.log_verbosity_level=1, O; `) }7 x+ Z5 X2 M+ X$ |

  1991. " t( l! I! P9 s
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
      _, d% m" f( K6 ~1 w" W
  1993. ;opcache.preferred_memory_model=4 @2 P4 m' x: N, V

  1994. ; q9 U$ e. c5 Y3 O
  1995. ; Protect the shared memory from unexpected writing during script execution.
    ' x  n( g+ {9 `1 x2 G: W2 N) P
  1996. ; Useful for internal debugging only.
    3 u  \; y2 @0 {9 t' w9 P
  1997. ;opcache.protect_memory=0
    & @) B, B( X9 }4 m2 L
  1998. ; G6 a; X) C8 b* N. N, \
  1999. ; Validate cached file permissions.
    , H5 x$ s9 c0 H% `5 ?/ d
  2000. ; opcache.validate_permission=04 {; W: D! ?" F. j4 y
  2001. ! G, l, w  S* J* O4 ^' b
  2002. ; Prevent name collisions in chroot'ed environment.! S( w* ~4 G2 n2 S/ A; l! F$ C7 A
  2003. ; opcache.validate_root=0
    2 v* L( W+ ?) c5 v& N

  2004. # I1 z+ S) m; e& T: v0 o
  2005. [curl]) X1 j  w6 d3 A% h% l. t
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    0 g1 k: n) L. T! n3 v
  2007. ; absolute path.0 U5 Z7 b  m7 n
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt' f* A& K1 q$ E  N: E; p+ D

  2009. ) S' w0 |. {* U& p7 }# [9 m
  2010. [openssl]
    6 |9 ^: |! K. {: Z, }8 Z/ H" N1 L
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem) E0 Q5 r0 c# Y0 g8 L# q/ P. m
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    4 I4 f( |) I" w* a0 P' e, v$ {
  2013. ; not specify a value for this directive as PHP will attempt to use the, Y4 ~+ i  F" c# v1 k) Z1 k
  2014. ; OS-managed cert stores in its absence. If specified, this value may still  q( M' f  V% M- h+ P) H
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    3 ?6 k+ {+ \; V) E
  2016. ; option.% o# l, A  y* e: ?. w* T
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    / X0 _) r( [0 T) `$ H1 Q0 s
  2018. ' H% _% E( z# z; X* R* H( E
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the. ?8 W5 J' G3 F8 j/ L" O; j( K
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    0 ?0 P7 m5 G7 l6 l% Q/ S2 R4 [" n
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    4 J5 t0 |" e( w: }
  2022. ; Most users should not specify a value for this directive as PHP will; }- o6 f+ Q7 _: g8 b% l0 J% E
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    4 v6 G' R3 d( W% O# C% }5 n) I
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    % [0 R+ y) w5 @/ m
  2025. ; SSL stream context option.
    $ Y( ~2 {# s' a$ U' Q& Y0 o9 `
  2026. ;openssl.capath=2 Z' C: j. t* z+ k9 [! W) ]

  2027. . ]4 L4 A7 E, U% O' Z% f3 |
  2028. ; Local Variables:, z) I2 \) P: a6 \; G9 i
  2029. ; tab-width: 4
    ' j; n+ }; k& ~( I* k! _+ M
  2030. ; End:
    5 h$ S1 |' |0 X# `* p1 _8 R
  2031. : A8 s% z6 Y7 N5 t5 l$ C8 u
  2032. ;eaccelerator1 |( C, Z% F7 b

  2033. 7 S$ s* n( m* M( h3 J& d+ R$ ?4 N
  2034. ;ionCube
    * O; B: W! g+ Y$ N: Z9 Q3 A
  2035. " f& m5 _$ Q! c3 e
  2036. ;opcache  U; B; g: |  ~* k( |* G: Q

  2037. : h6 b( ^6 S9 w! U1 ^% ^, g; ], o
  2038. [Zend ZendGuard Loader]
    + [, Z" H' A+ R: T4 m, S4 ^8 L5 y
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    % h1 _6 p1 }5 _) l& k! M
  2040. zend_loader.enable=1
    ! x+ Z* s8 X, l5 ^
  2041. zend_loader.disable_licensing=0
    3 k% F: ]1 Y5 a( J
  2042. zend_loader.obfuscation_level_support=3- s% L: z1 x9 F5 F. \
  2043. zend_loader.license_path=
    0 `) Q7 n6 J$ k+ Z% x+ Q
  2044. 0 D9 p- N: G5 t; }
  2045. ;xcache& I7 ^% W  `/ q3 h  W
  2046. ' s& _, |$ e6 @$ V8 O
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
9 n! v5 D3 Y" T: p
1 ^: L: t& {: V- j+ t( o# L( k0 Z( Y: ~! j( [
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
/ l" {7 ~8 a7 o" {# _) `: M1 J: G+ E
Discuz!程序版本选择:. q/ L: ]: N7 x4 E
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
' m) m. l1 }2 t$ F4 c- D不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:% f( Y3 Y& n5 C! d  S- m  B
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。8 t+ G9 h* I! m' J9 P8 H- f2 ^

8 t4 V8 ?2 w* i- h: R# I& yDiscuz!插件模板版本选择:9 k% |3 N6 k/ }+ i# s( u$ L
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,9 X$ G# h5 X5 q9 H9 G$ }1 @
针对这个问题做个统一的普及:) i+ P) F" d& F/ w# c
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。7 c# d/ D2 w) T& ?/ r

, R: l% P4 [  Y# O4 V+ w. G所以
3 G2 |+ ?* j* h, ~% ]适合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的二级域名。
6 F  z: ]& [# r4 m, t# C打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
/ t& w/ f1 Y" s注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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