分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0. ?7 p9 T6 t& r7 K, H

7 j4 p& N& V9 [& y; S; w; ?
  1. [PHP]
    7 z# \* w) k- D0 M

  2. : M  S' [  R# Z, u
  3. ;;;;;;;;;;;;;;;;;;;% ?; E  L- M7 C# `! H: ]) ]' a# ~
  4. ; About php.ini   ;! n' U) y# T; }1 w+ F
  5. ;;;;;;;;;;;;;;;;;;;- u+ y3 Z* Q9 w* v8 G
  6. ; PHP's initialization file, generally called php.ini, is responsible for) V8 l: j% ~8 T! H' ^0 y* L
  7. ; configuring many of the aspects of PHP's behavior.0 `8 R* F* O$ l2 e3 V

  8. ; f& C2 H4 q7 \- H
  9. ; PHP attempts to find and load this configuration from a number of locations.
    6 G2 H( u- o6 S' t
  10. ; The following is a summary of its search order:5 W' Z0 J) x# N( [# q. v2 H. b
  11. ; 1. SAPI module specific location.& W! o" ?; k" l+ W- }6 @( e
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    ' n* b. [, H6 t8 Q4 r
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)/ ]" ~5 j  @3 T3 u6 E* }! c
  14. ; 4. Current working directory (except CLI)& l) r% C3 E4 P$ H/ L0 S9 N
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    % Z! i3 M+ r7 o3 B% |! Q
  16. ; (otherwise in Windows)2 n( x2 H& b( G* Z# [
  17. ; 6. The directory from the --with-config-file-path compile time option, or the9 F* G1 I% _1 l$ _7 B! J) o+ }6 t; Z
  18. ; Windows directory (C:\windows or C:\winnt)$ o- a' b6 l& {- L" K) ~
  19. ; See the PHP docs for more specific information.
    % _# @0 c8 t' j
  20. ; http://php.net/configuration.file
    2 U" H' ~$ o  o$ ?
  21. . c* R' g, A/ j/ x
  22. ; The syntax of the file is extremely simple.  Whitespace and lines+ W0 C' @% }7 c7 d2 u7 [# K- o
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    5 j: J3 }# k, e- [1 R% B
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though% K+ i4 E/ o) g& i
  25. ; they might mean something in the future.- I+ ?$ C. Y4 Q* G6 U7 N

  26. 5 z$ n! S0 b9 R5 G! E
  27. ; Directives following the section heading [PATH=/www/mysite] only) k. ]- x" ~) b6 {  T; A, [
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    " W/ Q  _1 ^$ l5 k; e6 H" Y2 T
  29. ; following the section heading [HOST=www.example.com] only apply to
    " s* i4 ]6 z* v8 b$ ]
  30. ; PHP files served from www.example.com.  Directives set in these0 ?' j5 C: [( H$ K0 T; M+ I
  31. ; special sections cannot be overridden by user-defined INI files or3 P! F" \8 M% \3 t  h  Q1 p
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under% Z8 w- f9 R  x  H! }) H
  33. ; CGI/FastCGI.
    - U6 z. K2 @9 U% {& f8 t
  34. ; http://php.net/ini.sections
    ) u, [2 ^! I9 a7 A. {+ I

  35. ! w* {0 n3 s! R+ |. p7 Q
  36. ; Directives are specified using the following syntax:
    9 V( g" g4 J. R$ v& w! Q: F
  37. ; directive = value( P! m  y8 Q" s/ q1 N
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    1 e. m1 E. T! `* B- C2 w
  39. ; Directives are variables used to configure PHP or PHP extensions.
    : [3 z. z9 ]! |2 Y* p4 _
  40. ; There is no name validation.  If PHP can't find an expected
    6 j& h% X* X1 i" E4 H  L5 h
  41. ; directive because it is not set or is mistyped, a default value will be used.
    ' E0 m! U2 y$ `* y( Y# |

  42. , l6 c- s) P" d1 Q
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    / G8 a( a6 X/ \+ V/ u- h: h
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    ) l( K* _& J' u) k3 h
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    ' [& K& U0 E. J$ l4 b6 [7 ^
  46. ; previously set variable or directive (e.g. ${foo})# ^+ P$ \' X5 q5 J* L

  47. * d' [( g- w* t( }
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    / V0 Q  s/ D( ]1 n" A+ o
  49. ; |  bitwise OR' r# v: p* b3 E( a0 m$ D1 g
  50. ; ^  bitwise XOR% p* `/ L" N$ ^7 P0 S6 L3 E
  51. ; &  bitwise AND4 T4 `7 V- q7 R4 ]
  52. ; ~  bitwise NOT
    . @+ Q7 G5 l+ A) {* b
  53. ; !  boolean NOT
    / ?! t2 S& c, T7 d! g
  54. 7 M. l7 `' ^  t5 ~$ Q  [
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.3 o8 [6 Z: B5 y1 R8 j
  56. ; They can be turned off using the values 0, Off, False or No.
    9 s* M6 X1 x+ P/ C. U3 K7 f
  57. 9 v: S2 e7 [$ t# M: Q) W
  58. ; An empty string can be denoted by simply not writing anything after the equal
    $ o/ q; M$ A8 J; i
  59. ; sign, or by using the None keyword:! Q7 G7 l; [6 @; H
  60. 5 V9 y# h  g% R, d* Q9 V0 t
  61. ;  foo =         ; sets foo to an empty string( _2 ?. }: t3 ~9 h
  62. ;  foo = None    ; sets foo to an empty string
    8 L( `% E  Y6 @6 Y" ?) Z
  63. ;  foo = "None"  ; sets foo to the string 'None'! F3 ^' p0 O6 ^% m% c
  64. 2 V4 f4 X: M. P/ n% Q) s
  65. ; If you use constants in your value, and these constants belong to a
    8 M1 t7 {9 _9 L
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    & \* w1 l  Q- Y3 `( }$ K
  67. ; you may only use these constants *after* the line that loads the extension.
    $ z9 h. k7 M+ v+ s+ I$ L

  68. 7 r2 \# t+ y, S: @8 P
  69. ;;;;;;;;;;;;;;;;;;;
    ( U' U0 J$ R1 R7 n( U$ X  P; r. X
  70. ; About this file ;
    9 p  J5 c; \0 K% N
  71. ;;;;;;;;;;;;;;;;;;;4 c/ l3 w- Q" s2 O& K% v8 }+ o) f
  72. ; PHP comes packaged with two INI files. One that is recommended to be used9 y0 d. z* g" e  |1 N
  73. ; in production environments and one that is recommended to be used in' J( O& P7 w4 Q" E2 V& a) i6 R
  74. ; development environments.
    & R3 N# W6 y1 \" N  s8 f

  75. ' b8 m, ?0 Q  d2 L2 e
  76. ; php.ini-production contains settings which hold security, performance and+ p" B5 K/ ]' W1 Z/ }4 _
  77. ; best practices at its core. But please be aware, these settings may break
    $ L/ W/ M6 G7 ^; p/ h& k
  78. ; compatibility with older or less security conscience applications. We
      K$ a$ [  `" r9 S  m+ _7 e4 z4 }* B- k
  79. ; recommending using the production ini in production and testing environments.& b7 c9 a( f( |' [5 @9 ?
  80. ! E& \4 f+ N8 f
  81. ; php.ini-development is very similar to its production variant, except it is* O: @" B* s  Q# I: _
  82. ; much more verbose when it comes to errors. We recommend using the  j9 K9 f3 R& i$ |# b
  83. ; development version only in development environments, as errors shown to  I" S, f# W+ Y  S1 l
  84. ; application users can inadvertently leak otherwise secure information.
    2 x% N" i' L/ t7 x
  85. / n- a# e! y/ `- g7 x1 a. w
  86. ; This is php.ini-production INI file.! F, t& ]  K& X1 i

  87. ( e7 ^/ k) E0 [' R% \1 z! g
  88. ;;;;;;;;;;;;;;;;;;;
    ) c8 ~8 \9 Z' v: _: L+ o) }
  89. ; Quick Reference ;
    4 ^( ~: A! S, v1 i) x6 m% w0 w
  90. ;;;;;;;;;;;;;;;;;;;
    / N: x0 S0 S9 a( t
  91. ; The following are all the settings which are different in either the production
    & o+ [" w6 l+ c- M* x! K( A
  92. ; or development versions of the INIs with respect to PHP's default behavior.* b3 j: b9 Z2 P: u
  93. ; Please see the actual settings later in the document for more details as to why
    ( V9 V6 i: [% z0 [7 l$ Y$ u  U" B
  94. ; we recommend these changes in PHP's behavior.
    1 j4 \' P6 G9 W2 R2 k3 m
  95. " I4 D6 e: Y4 p3 n5 ]; O5 D- y# r
  96. ; display_errors- X1 t6 T; X' f9 D9 o
  97. ;   Default Value: On
    8 u% Y9 ?5 y, G  |" j0 I' C! ?
  98. ;   Development Value: On
    0 X! ~4 V: m( K0 E" P# T5 `
  99. ;   Production Value: Off
    ) A6 w9 }9 a  b4 I: `' o1 e8 o$ \

  100. ( [+ v0 A5 ?/ W, f" L4 C
  101. ; display_startup_errors
    + R3 A7 Q  R; G8 X1 ^$ G9 v$ D+ J
  102. ;   Default Value: Off4 C9 V- w/ N/ B. y- p+ Y! p
  103. ;   Development Value: On
    " ~" C9 R1 E5 j: G( b
  104. ;   Production Value: Off
    ( _; r7 D# q& B' ^1 p" G

  105. ' H: c' O9 A( h- ]2 ]5 c& w, o
  106. ; error_reporting7 {: Y8 l! m6 N2 W3 |1 _* `
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED0 ]. ^. z/ _* x, e
  108. ;   Development Value: E_ALL
    ) j% h# u% @) E4 a+ `# N) \
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    ! f( M5 X7 `. I9 g4 ^

  110. 8 d: v2 J8 E1 L" B, D
  111. ; html_errors
    / `5 ]; r1 v; G1 j
  112. ;   Default Value: On! D' l* K5 e( o# ~" g% l9 ?
  113. ;   Development Value: On* p# v: d; ?1 s" s; L+ [
  114. ;   Production value: On: K# P! [) ~0 Q! i) l

  115. $ I8 B7 ~5 R( |# j, l
  116. ; log_errors& E3 g( o8 ?$ P) X" v/ e# _1 H: T
  117. ;   Default Value: Off
    7 b& {9 w6 G8 \
  118. ;   Development Value: On$ a$ X9 r6 v  h$ _1 H! k1 O
  119. ;   Production Value: On: P7 t1 m# I% ~. ^. M
  120. , e3 R! _- |% L3 D: V( I  p, W/ Z
  121. ; max_input_time
    - ^7 `4 z; }# N
  122. ;   Default Value: -1 (Unlimited)0 P( b+ C! |+ j0 M4 O
  123. ;   Development Value: 60 (60 seconds)) @& Z% M# J" J1 y0 V- \
  124. ;   Production Value: 60 (60 seconds)
    # {/ A  S/ h" Z3 e! T: s/ g/ }+ Y
  125. , U' n5 m$ r  L4 v5 d
  126. ; output_buffering
    - h" u: f8 T/ j) }3 r4 z
  127. ;   Default Value: Off* G/ b) L" V# g/ j" y
  128. ;   Development Value: 4096
    5 d: ?! j# O& {3 U- v2 ^& ^1 Y, m9 f
  129. ;   Production Value: 4096) {& l4 {& |7 B$ O0 v' S

  130. 4 z7 c+ O% T4 r- H: U+ x
  131. ; register_argc_argv4 W7 h$ s$ i, s" W# B2 S0 m3 W8 A* V9 K
  132. ;   Default Value: On3 [( I( Y, N+ y) s3 Y' a% h, ]
  133. ;   Development Value: Off
    9 G( Y& K0 {: Z1 E1 j1 ~
  134. ;   Production Value: Off; c$ f- H' S. h. M6 g! Q3 z+ M

  135. . X3 R" C; g4 j, o
  136. ; request_order6 F- }- c: \  V& `
  137. ;   Default Value: None3 X' h/ }6 \, K
  138. ;   Development Value: "GP"
    3 K: ^3 D7 O; f
  139. ;   Production Value: "GP"3 N2 d3 Z1 O& f; ^  j" c" {
  140. ; |* Z' U& U4 |- H7 u2 J; f& j; T
  141. ; session.gc_divisor: a# m8 V6 w( }1 J  q3 b' V4 J+ S
  142. ;   Default Value: 1007 z+ M2 `: l0 x/ W8 A9 p9 ]& s8 b
  143. ;   Development Value: 1000% z* F. O6 g, @( t
  144. ;   Production Value: 1000
    , a( Q: y. q' O) ^+ ~7 e5 r8 ~

  145. 4 I. }5 D2 _5 V. K+ f
  146. ; session.hash_bits_per_character  g% c) L! b6 z* y; a
  147. ;   Default Value: 4( [- K& X% Z  p3 A9 e
  148. ;   Development Value: 5
    7 l' e0 v% m: J2 Y
  149. ;   Production Value: 50 |) P7 v9 N& X0 w) R6 ^/ k3 q5 j
  150. 5 X4 l5 _2 N! {' N( }
  151. ; short_open_tag
    7 I$ h9 l! L) R& N; m
  152. ;   Default Value: On0 c" B# A7 ?' z$ u0 W6 Z0 t
  153. ;   Development Value: Off+ s- n+ r' x  n( i
  154. ;   Production Value: Off
    + W+ Q1 m) r+ B

  155. 7 N$ f4 D# \, U2 X
  156. ; track_errors
    4 q/ l5 I* _4 ?4 b4 y8 W& n+ b5 m* l* ^+ h
  157. ;   Default Value: Off
    % d8 F8 V; ?1 ~' s1 p
  158. ;   Development Value: On) i' e0 _" V! B/ o$ X
  159. ;   Production Value: Off) k- @: F4 D1 c1 G( x3 E
  160. & h4 F9 E* f) h" L8 ?6 f) d
  161. ; url_rewriter.tags2 T/ g7 V! Z! A! e
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ( P1 u- [5 d' T: p" G
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"+ ~6 l- a+ A3 S: u
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ! `& x( Z' [" j+ p- H

  165. 6 A( A6 w$ g! F, A) x
  166. ; variables_order" @+ g2 Q& D+ C1 G7 |* i4 N0 ?
  167. ;   Default Value: "EGPCS"4 v7 k5 g  O1 e4 F" Q; g3 n
  168. ;   Development Value: "GPCS"
    & U9 i+ D- d! Y  ^& `' b
  169. ;   Production Value: "GPCS"
    3 \4 X# E4 }" W, f

  170. 4 X3 ^) d4 ]# K& s3 Z9 m" D
  171. ;;;;;;;;;;;;;;;;;;;;
    8 s0 G3 j5 N. l2 T, @
  172. ; php.ini Options  ;: T2 F- z3 A* ~8 ^: ^7 _9 B
  173. ;;;;;;;;;;;;;;;;;;;;
    , X# D+ S& Y/ c! O% S. v2 c, J
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    ; b' l" o; W9 B" k. }' |& H: }
  175. ;user_ini.filename = ".user.ini"' o$ B6 k1 ]- O: R. w3 w
  176. " x  u0 O: g7 W, \
  177. ; To disable this feature set this option to empty value
    % V9 ^' V/ E1 v7 r* @; q
  178. ;user_ini.filename =6 M# z* g9 u5 p" T8 O, o. `
  179. $ H1 R/ Y1 i& ]$ W' V
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)# V: J- N7 j7 B: _4 F
  181. ;user_ini.cache_ttl = 3005 D$ Z/ c+ ^/ m) h1 r# d

  182. 2 d, Q( A: ]- g8 q
  183. ;;;;;;;;;;;;;;;;;;;;
    7 [. L! ~5 N/ T  D+ `
  184. ; Language Options ;
    . B3 S1 N7 x* x. Y5 R6 q
  185. ;;;;;;;;;;;;;;;;;;;;5 n+ J* w& u2 n8 c  B8 S
  186. 0 @) B6 T2 I5 p+ d! R* @+ V! h
  187. ; Enable the PHP scripting language engine under Apache.
    , A! |$ P( C- g  O: T) n, J
  188. ; http://php.net/engine/ H- _5 M- Z/ s$ |) _
  189. engine = On
    . J% j5 l. E$ W+ Z3 e+ u, I- \

  190. + i* @3 X8 g; f9 m
  191. ; This directive determines whether or not PHP will recognize code between: p( p6 Z; r! W8 m7 c
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    % c/ p. _9 S' o2 M' j$ X3 z* c* T" o
  193. ; generally recommended that <?php and ?> should be used and that this feature: {! f2 v$ }4 L
  194. ; should be disabled, as enabling it may result in issues when generating XML
    4 q" j: k0 G  M* F
  195. ; documents, however this remains supported for backward compatibility reasons.  S9 `2 M# B/ w: p
  196. ; Note that this directive does not control the <?= shorthand tag, which can be. ]0 }3 j" L- u& W. g: G
  197. ; used regardless of this directive.* v# }* p8 ~) N/ T/ L
  198. ; Default Value: On* }# `- F2 q; S& ~
  199. ; Development Value: Off
    - X, f# h8 \5 e$ y
  200. ; Production Value: Off( f8 C$ d. B' k* Q: Z
  201. ; http://php.net/short-open-tag
      a" L& O) g' B/ i& y) N. H
  202. short_open_tag = On
    ! S8 T6 X& G7 f9 q5 E# M

  203. 3 Q! i+ b) L2 x) W; O$ q4 [+ [- I
  204. ; The number of significant digits displayed in floating point numbers.  Q, e  S7 p  o0 R$ \: Y3 \
  205. ; http://php.net/precision
    " i; d, ?# m0 z+ K/ l8 z9 F, l
  206. precision = 14
    ; n2 ^1 Q: {: e, Z" \
  207. - g- H& ?5 t, ~3 M. D; {8 w3 i. A9 P
  208. ; Output buffering is a mechanism for controlling how much output data
    * i4 `% g9 s' B$ s
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    / _1 K" {* y$ ^7 n4 b2 h9 C
  210. ; data to the client. If your application's output exceeds this setting, PHP% p) n" y5 `8 W. \1 n1 o& R* _
  211. ; will send that data in chunks of roughly the size you specify.1 [6 j6 O8 c: o8 G* m# ]5 C
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    & `6 V5 j8 x% H" u
  213. ; interesting side-effects depending on your application and web server.
    : O8 I5 X- U7 E+ S( j
  214. ; You may be able to send headers and cookies after you've already sent output
    ( @8 m3 o' ^) n6 y7 b# T) y4 Q7 j
  215. ; through print or echo. You also may see performance benefits if your server is
    9 c( R8 J8 [4 x+ ~$ e& k2 ?0 N
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    " s7 }& a  k: G7 y2 G7 ]) i- |
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance/ u7 `4 K) z" G1 Y7 ~) u
  218. ; reasons.
    . c6 Q9 q  A% ]8 O$ s( y
  219. ; Note: Output buffering can also be controlled via Output Buffering Control: g3 y: p; d, o( ^/ I$ J& y* [( X) N
  220. ;   functions.
    / U0 ^9 P( b9 B3 r
  221. ; Possible Values:5 l0 f  j$ ?+ A0 @
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    9 B$ ~( s) a' ^2 ~  g2 i, u% X
  223. ;   Off = Disabled
    ; Z5 \3 x" H  p
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.2 [; k' M! H$ G* ]$ X$ [( q5 s
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI) c( ^/ o8 R( M8 }( _4 t/ h
  226. ; Default Value: Off( X6 o3 Z2 U" W* D# g# A
  227. ; Development Value: 4096
    ; z. W. M! v  g# p% l
  228. ; Production Value: 40960 f* H! z) W8 S/ c" `
  229. ; http://php.net/output-buffering
    % W- \6 o( t7 v2 S
  230. output_buffering = 4096
    9 ^! F' ?% o% x( X! r
  231. ! \& ^& W2 d6 ~6 }/ [: E# ~6 l
  232. ; You can redirect all of the output of your scripts to a function.  For- J9 u0 b- J9 @
  233. ; example, if you set output_handler to "mb_output_handler", character# R0 X; K( h% u! p' A8 L
  234. ; encoding will be transparently converted to the specified encoding.
    0 E$ {: x8 R5 e/ n) s' n, [
  235. ; Setting any output handler automatically turns on output buffering.  S; a) t; B' a; N6 q
  236. ; Note: People who wrote portable scripts should not depend on this ini
    " Y$ _& h' g( ?4 p1 }
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
      s5 r" g  B+ J( S) Z+ L4 c; j0 }
  238. ;   Using this ini directive may cause problems unless you know what script
    ) P$ T# t5 w; d
  239. ;   is doing.1 M8 g2 \* E5 E. j1 D
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
      Z8 ]! g7 ~1 p
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".6 K$ j/ a5 _& d( ]* @- c
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    , Z( d: \3 L$ L
  243. ;   Instead you must use zlib.output_handler.
    8 I( z2 z$ Z* {1 n& }  l
  244. ; http://php.net/output-handler
    ' k. s: r/ i* E7 p4 r
  245. ;output_handler =+ x2 E# T. l4 R. C4 |
  246. 6 W6 e/ _# n( V, N% c; J
  247. ; Transparent output compression using the zlib library8 I6 R' H5 u3 O
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size5 }& h3 y$ D2 E1 ]( ~
  249. ; to be used for compression (default is 4KB)
    6 R; {  S7 }/ W5 e  K0 w
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP, w0 S+ V% v9 @0 B0 T! Z
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    7 f  n4 A; ^1 P! |& K. [# ]+ K
  252. ;   compression. If you prefer a larger chunk size for better
    : V7 N7 X( o; }' r; ?$ A6 m+ Y
  253. ;   performance, enable output_buffering in addition.- s  T1 m' _0 b$ u, x
  254. ; Note: You need to use zlib.output_handler instead of the standard
    1 ^: d& v6 u$ s% h
  255. ;   output_handler, or otherwise the output will be corrupted.
    + |/ }3 X2 s1 D2 X8 ^7 K2 g
  256. ; http://php.net/zlib.output-compression8 B# a, ^+ u6 P, k7 n
  257. zlib.output_compression = Off
    5 P" f' C5 i% O' w7 Z

  258. - W3 c' P) k" w
  259. ; http://php.net/zlib.output-compression-level4 L& P! {- R2 z, f# h
  260. ;zlib.output_compression_level = -1" b' b9 E! H7 p- \

  261. & o( }; P% k7 p3 H! i; x1 {2 U/ @
  262. ; You cannot specify additional output handlers if zlib.output_compression* j9 A' L5 {- q6 x/ n: U. p& b* u
  263. ; is activated here. This setting does the same as output_handler but in, w. M  T% a' W" A5 c* D
  264. ; a different order.
    ' m' c" T0 |+ {7 N3 h& k! P
  265. ; http://php.net/zlib.output-handler, s6 X7 Y" u/ H( i# v' I) p$ K6 E
  266. ;zlib.output_handler =
    ! [) z2 ?6 b5 s0 C. _& E
  267. $ T$ Y: a# }2 f
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    2 O! ]" ~. q. o7 x
  269. ; automatically after every output block.  This is equivalent to calling the5 e0 j7 I4 L2 |
  270. ; PHP function flush() after each and every call to print() or echo() and each" ^  B/ {! U, ]$ P& X
  271. ; and every HTML block.  Turning this option on has serious performance7 u4 a3 ~5 K4 q# l) _' y
  272. ; implications and is generally recommended for debugging purposes only.4 I; V! f0 y! t. Z$ U
  273. ; http://php.net/implicit-flush9 ^- x! a" t* R* P! `6 d
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    ) q8 J5 v6 N' u0 s2 P
  275. implicit_flush = Off1 P" V7 u# {  C0 L* l
  276. ! u8 P: y( B" f, l. u7 Y3 O
  277. ; The unserialize callback function will be called (with the undefined class'
    & w& L: j6 M, a+ Z) ?- Z) Y
  278. ; name as parameter), if the unserializer finds an undefined class" @7 x9 e0 N8 S1 \! F4 F: g
  279. ; which should be instantiated. A warning appears if the specified function is, [# b: o. H+ u2 E3 x
  280. ; not defined, or if the function doesn't include/implement the missing class./ L% s: {: w  |. h# ~, m$ `, T
  281. ; So only set this entry, if you really want to implement such a
    4 a2 j9 u( r  O+ p2 C5 r
  282. ; callback-function.. q. c- _, v1 m; h; E# S
  283. unserialize_callback_func =
    : z. R: D  ^$ s6 P

  284. ; n( i# l, ]; [9 b! w3 S' m
  285. ; When floats & doubles are serialized store serialize_precision significant
    & R3 p. `) S7 G# v
  286. ; digits after the floating point. The default value ensures that when floats
    . ^7 U- y4 ]# B' p* x8 X7 w
  287. ; are decoded with unserialize, the data will remain the same.
    ' Q! X9 C/ }# y: @. ~# S1 L/ P# `
  288. serialize_precision = 177 a1 w" o. W" }% |# {+ N9 c

  289. # i; }* [0 R6 x7 b7 q+ L
  290. ; open_basedir, if set, limits all file operations to the defined directory
    9 ?/ m* q7 H4 n: @7 L$ {9 e3 k
  291. ; and below.  This directive makes most sense if used in a per-directory3 r6 ^) D  Q+ l' n7 P
  292. ; or per-virtualhost web server configuration file./ P! J* O' F2 z! x
  293. ; http://php.net/open-basedir1 a7 _- l) J1 [
  294. ;open_basedir =" f% n; e, s: ]
  295. $ V* _7 ~3 w" x
  296. ; This directive allows you to disable certain functions for security reasons./ t8 W5 v( L5 \
  297. ; It receives a comma-delimited list of function names.5 ]+ y4 r* s' ^' q
  298. ; http://php.net/disable-functions) `1 m9 U) M2 _8 _) Q
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru9 P( m. i9 z6 D5 ]* b

  300. ) q% _' W, {* w9 x8 h8 J/ z
  301. ; This directive allows you to disable certain classes for security reasons.& J/ P/ p0 w2 A( f
  302. ; It receives a comma-delimited list of class names.5 h9 m$ q5 M2 e$ Y. R
  303. ; http://php.net/disable-classes
    ' k  q. ^1 E$ u% }2 Q1 z) {
  304. disable_classes =
    0 O, z& @% d4 F" c0 X4 p
  305. - t! x9 ?, G; E* {
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    2 e; ?- B  c3 r/ ]$ v8 N7 v
  307. ; <span style="color: ???????"> would work.
    8 f# @6 {6 z/ J
  308. ; http://php.net/syntax-highlighting
    ( j( N8 q) q4 |' f7 p! i
  309. ;highlight.string  = #DD0000
    6 ^4 |* t6 g! {1 C1 b& i) s5 C/ d% z
  310. ;highlight.comment = #FF99001 n( s! U1 r+ C4 i1 W: W+ v3 F! Q$ k
  311. ;highlight.keyword = #0077006 }5 ?5 [# U! Z- f; P
  312. ;highlight.default = #0000BB
    / c! S# a: U$ u! n' p, t$ F
  313. ;highlight.html    = #0000009 V4 M4 M: L& K( U7 K' R' |3 ?" g
  314. 2 q! y8 c. x  e) \
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    ! j" S0 ~- l2 b; e5 t" T
  316. ; the request. Consider enabling it if executing long requests, which may end up  j9 O  k* a( T- g% m+ J
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior7 |2 [+ W2 H+ C- k" X
  318. ; is to disable this feature., T; I- x  S: _4 @# ?- ^  U
  319. ; http://php.net/ignore-user-abort' s2 K/ Y: n6 G3 h& q/ h7 [
  320. ;ignore_user_abort = On) c# ?/ F+ V: u. z4 x

  321. " |1 Z3 j2 W! _# x. Y
  322. ; Determines the size of the realpath cache to be used by PHP. This value should  L: y  D  U$ z% ]( ]/ [
  323. ; be increased on systems where PHP opens many files to reflect the quantity of& r) F0 R* c3 X, M8 A
  324. ; the file operations performed.5 x! ~; w1 c* H6 U
  325. ; http://php.net/realpath-cache-size
    4 ?" {! ]- u! t: B/ o5 q& f# d, p
  326. ;realpath_cache_size = 4096k7 G& h0 j! s% N; j& Y% |# H% [
  327. & n2 D2 Z% e4 ?/ ~
  328. ; Duration of time, in seconds for which to cache realpath information for a given0 u( h8 T* P: X. t) R! `, b4 W+ _
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    7 ^7 {+ @+ f8 A
  330. ; value." {& X# \  W# j% v  X2 }
  331. ; http://php.net/realpath-cache-ttl
    ' ?) t) L2 b- r& y8 c$ K
  332. ;realpath_cache_ttl = 120
    ( Z! {. b2 m- ^. v6 ?6 b

  333. , ]5 _+ _. H6 h
  334. ; Enables or disables the circular reference collector.+ q- W9 y8 d" @7 I! R- `
  335. ; http://php.net/zend.enable-gc
    $ _* J1 h% x* ?# E; N) T
  336. zend.enable_gc = On
    2 i$ s7 V+ M: U5 ]) i6 f; R9 M
  337. 6 R* p2 d" B4 @; P$ j
  338. ; If enabled, scripts may be written in encodings that are incompatible with8 C( m7 x. N4 u. }
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    ( S# H- o4 N- }% j
  340. ; encodings.  To use this feature, mbstring extension must be enabled.3 g1 X$ a7 O% v, J, f: ]
  341. ; Default: Off
    9 o3 o7 |1 U& _% z
  342. ;zend.multibyte = Off6 T7 b, @2 r" Z5 z& ?( {2 O4 Y
  343. 7 t5 I& z& t- C9 H
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    ) w* a, E. z6 r. m
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.( N; U6 X; Q0 s9 r, x& d% ?
  346. ; Only affects if zend.multibyte is set.
    ! W( ^, D; H! B) i3 O! I
  347. ; Default: ""' L4 u& e4 Q; y5 j: t
  348. ;zend.script_encoding =
    ) t5 C4 K' \& S. x3 J& {+ C
  349. 8 u3 ]% ~- g! D! C
  350. ;;;;;;;;;;;;;;;;;0 M& e: S! `- H( u9 ?
  351. ; Miscellaneous ;
    + W7 X7 H7 u6 A' [2 [
  352. ;;;;;;;;;;;;;;;;;
    + t1 w5 J6 f: m

  353. 9 U1 r* h/ v$ V+ ~+ O
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    7 i) r" G" I: x1 {7 f
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    / p- e3 x9 \' e" \2 P
  356. ; threat in any way, but it makes it possible to determine whether you use PHP% F7 a; U4 a, R$ d1 r! J! M- x- T8 a, \
  357. ; on your server or not.7 W) R& y, N0 A5 n
  358. ; http://php.net/expose-php
    " m' y! j- r0 ~! J/ n- A
  359. expose_php = On+ i1 L( o! S% i% `. T, J# P
  360. 8 w$ W3 C2 h$ B+ S& i
  361. ;;;;;;;;;;;;;;;;;;;
    . H2 _1 Q4 T9 R0 y) W/ y
  362. ; Resource Limits ;
    1 @0 O: H( t' |# P6 q9 B& ^1 z/ B
  363. ;;;;;;;;;;;;;;;;;;;" U) O( |7 G; s  T- s% O8 ]
  364. 6 t; p: {. I/ ~5 W' C; G+ ~5 ~$ {
  365. ; Maximum execution time of each script, in seconds
    ' r' h/ e7 n% K( [  h6 x0 S* r
  366. ; http://php.net/max-execution-time
    . g2 r4 M8 |/ R) o; d
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    8 g& w3 J* Y, y
  368. max_execution_time = 300
    ; ^8 ^- [; `! J6 i) P/ S& T
  369. # L/ y( Z* [3 C! M
  370. ; Maximum amount of time each script may spend parsing request data. It's a good! G" G* Z& m8 o6 Y, E! _  r2 y" O
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly" n3 F3 T( h# p8 z7 W
  372. ; long running scripts.% l9 `/ R0 E$ @
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    & n9 O3 |: f" o/ w
  374. ; Default Value: -1 (Unlimited)
    " p* k. s( c2 ~" b
  375. ; Development Value: 60 (60 seconds)! ]; X) A. l. @& c
  376. ; Production Value: 60 (60 seconds)6 W0 V; y( D- A$ V5 e1 o
  377. ; http://php.net/max-input-time
    8 y3 P, c6 G# O4 b! q
  378. max_input_time = 60
    + ^) \# B; l5 B
  379. 7 w6 c7 k- O6 P5 A) l
  380. ; Maximum input variable nesting level. ?/ b  i& Q6 t1 _; _
  381. ; http://php.net/max-input-nesting-level
    4 V* F# B0 T/ `! D: d9 N% F
  382. ;max_input_nesting_level = 64
    0 T; o  H) v* Y) _! b
  383. ) j2 o% C, w) F% b3 g
  384. ; How many GET/POST/COOKIE input variables may be accepted! B2 h2 O' P1 k5 \2 U
  385. ; max_input_vars = 10000 W4 i' b# \8 i8 n# ^/ A( H2 S

  386. 5 K! D: I" k+ _, }) C+ l! B: u
  387. ; Maximum amount of memory a script may consume (128MB)# T, e6 k# b. s- e
  388. ; http://php.net/memory-limit
    5 G$ P& X( k: [
  389. memory_limit = 128M$ v* |4 K. F2 O# U7 t

  390. 8 K% U5 k8 P4 B, V' t: b% r
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    0 y! U& R0 n6 c
  392. ; Error handling and logging ;" x. h! X9 d3 N; _; N+ H' u
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    . e" c6 W% {  T; Q8 V( B$ F6 h

  394. 8 k2 ~+ b9 G, @1 u4 Y
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    ; b  r  ]8 x2 d7 ]
  396. ; it to take action for. The recommended way of setting values for this
    * k' P% \) i( j, k- {: C
  397. ; directive is through the use of the error level constants and bitwise( |" f" D' ~% Z) u7 ~# b; v- G/ o
  398. ; operators. The error level constants are below here for convenience as well as/ _/ L5 ?4 B, N8 f( |
  399. ; some common settings and their meanings.! F- X; E2 T  `$ ]! k. f/ D
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT5 _' N5 F8 O; c( v+ W" e
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and1 G6 |) f0 o. X& K) A
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    2 }0 L3 }! B: ?6 s/ U$ V" g9 a
  403. ; recommend error reporting setting. Your production server shouldn't be wasting2 q( T- H1 t. t+ @
  404. ; resources complaining about best practices and coding standards. That's what
    ! t$ S3 X. \" T4 z* p
  405. ; development servers and development settings are for.2 P% a: a+ h) P/ b
  406. ; Note: The php.ini-development file has this setting as E_ALL. This. A1 Z9 b3 v- ?! o
  407. ; means it pretty much reports everything which is exactly what you want during
    ! E4 F. `6 A# E/ N# c' T+ z
  408. ; development and early testing.; ^9 P/ g4 S4 v  z- m+ x: P" }' h4 S3 P
  409. ;' f# A5 U. E- c& V& E; ?* z8 b
  410. ; Error Level Constants:
    / o7 O4 H7 n% X. i  \7 T) @9 V
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    , y+ Y) o9 e: w1 o: ?
  412. ; E_ERROR           - fatal run-time errors
    3 j$ f- K( J2 n& N& j! P
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    0 W5 c, @# E* @# c6 L5 O$ O5 V
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    , `% D+ H) W( b: Y8 q
  415. ; E_PARSE           - compile-time parse errors
    5 B: N' _' w9 {
  416. ; E_NOTICE          - run-time notices (these are warnings which often result# _$ ]) ^* k* a
  417. ;                     from a bug in your code, but it's possible that it was
    ; o6 ^/ `5 S9 r2 C8 D
  418. ;                     intentional (e.g., using an uninitialized variable and6 c0 E" g; L7 q4 [- _8 a
  419. ;                     relying on the fact it is automatically initialized to an
    0 u" E" A, {0 p( `$ x3 {# w$ ]1 E
  420. ;                     empty string)& _, {" ^; ]5 z3 s6 v* L4 b
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    ) ]' X+ L7 C! i; J( A, M6 o
  422. ;                     to your code which will ensure the best interoperability
    # {  W. V: E" H1 _6 ?9 M4 I
  423. ;                     and forward compatibility of your code8 e2 @2 s# c6 q1 n) D. F: ~
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup& o( T5 s: {  W9 a6 i
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's% c5 Z7 s! ]3 f, H. Z; F
  426. ;                     initial startup
    & T  t0 N: j7 _+ z
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    $ d, {( _/ E3 t. m+ T
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    0 p- t  p% J; t. X( a+ U) Y
  429. ; E_USER_ERROR      - user-generated error message" r' \! j% Y( e8 h. j+ t2 l+ a
  430. ; E_USER_WARNING    - user-generated warning message; y6 ^+ {) `" @5 i4 z
  431. ; E_USER_NOTICE     - user-generated notice message
    4 o. a. n: c; P$ M' W
  432. ; E_DEPRECATED      - warn about code that will not work in future versions1 H' {" H# W. n' E0 }$ V7 g0 M
  433. ;                     of PHP
    4 K9 e. w. n! `9 I2 Z
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings* h' Q4 f  M7 N
  435. ;- C- i- j% P0 S2 e/ z0 U( a/ u
  436. ; Common Values:$ {6 W! m. F  G' M; p& x( G& h
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    , q- v1 e! u$ k8 J7 |, Q
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    1 I1 g6 K; p, q/ L$ f
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.); k4 [8 e+ u: E. |. ^8 p. W
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)5 t& q. e- ?/ H. Y! V* i: M6 b
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED- C9 n) e7 v. S3 ^
  442. ; Development Value: E_ALL
    $ m4 D1 K4 G. P$ c; T, U# G
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    " l$ Y4 X+ }- u
  444. ; http://php.net/error-reporting
      v1 c1 }7 w" M6 j
  445. error_reporting = E_ALL & ~E_NOTICE: i5 k  k& c( Y9 l

  446. 7 a( o/ u" O- j% J
  447. ; This directive controls whether or not and where PHP will output errors,0 m' n) t+ p9 _% j0 ?) l
  448. ; notices and warnings too. Error output is very useful during development, but
    2 q" x2 c) z9 [. Z6 z* r. q
  449. ; it could be very dangerous in production environments. Depending on the code
      X5 b: o+ N, j& H
  450. ; which is triggering the error, sensitive information could potentially leak
    / E! t! y1 @& l( `) `
  451. ; out of your application such as database usernames and passwords or worse.$ c" d8 M" v0 N5 j
  452. ; For production environments, we recommend logging errors rather than: w. G, X7 C0 u/ `, t( T
  453. ; sending them to STDOUT.
    1 U& b1 `. G/ }8 Y$ M6 O( |
  454. ; Possible Values:$ v' R/ i+ K2 x- V5 ?2 D
  455. ;   Off = Do not display any errors) Y* d" f7 |6 z8 @# u
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)# C' ^! m9 o( O
  457. ;   On or stdout = Display errors to STDOUT) I! _! C; r* d3 M& @* S
  458. ; Default Value: On
    # h; ^* r  F) o9 Y+ K6 X
  459. ; Development Value: On% p" J, o6 K( y$ @$ U7 U
  460. ; Production Value: Off" _  ]/ C6 }0 T& A! |
  461. ; http://php.net/display-errors
    # x& X& W$ u# U' n1 z3 e) S
  462. display_errors = On
    # i; e+ J! j# [4 O% n: s4 h7 @
  463. 9 ]6 E. H: q% l0 t  t
  464. ; The display of errors which occur during PHP's startup sequence are handled" S, R8 K2 z/ \. Z2 y  F/ Z8 x- H! h
  465. ; separately from display_errors. PHP's default behavior is to suppress those( l  G% K8 `2 a+ d  R5 t! B
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    ) y) ~8 h4 m; ~4 ~( K) s
  467. ; debugging configuration problems. We strongly recommend you0 n& I& B% v# @. @" b
  468. ; set this to 'off' for production servers.* R) T3 |  t5 P: q4 I
  469. ; Default Value: Off/ ~0 R) b# @6 ~! k) ]8 {1 t$ {
  470. ; Development Value: On4 S! H" K, h3 g. U  Z
  471. ; Production Value: Off+ e$ T$ m) {+ G% S5 |$ J! o2 {* _
  472. ; http://php.net/display-startup-errors" ]% M. H' W- O
  473. display_startup_errors = Off
    % Y7 t* E8 i4 S! p8 p

  474. 7 h3 }3 o% a9 q" N# F
  475. ; Besides displaying errors, PHP can also log errors to locations such as a. y/ Z1 ~2 R. C% ^
  476. ; server-specific log, STDERR, or a location specified by the error_log: C" Z( R# A# V6 k- C
  477. ; directive found below. While errors should not be displayed on productions3 @( T  ]/ }. h$ G5 K( ]8 s
  478. ; servers they should still be monitored and logging is a great way to do that.
    / `, ]+ T3 v8 w! I1 d) q6 t( i& j
  479. ; Default Value: Off9 g/ \' C/ x. U; ]: _- T4 b
  480. ; Development Value: On
    % a0 ?' |1 o$ y" P$ M5 y
  481. ; Production Value: On
    , X+ X% T( L" ]+ V
  482. ; http://php.net/log-errors
    + ?( U3 P; \8 e' x& |, X5 N) h5 _
  483. log_errors = On+ V, F! w: y, e% E- u

  484. 4 O' ^( C9 ~( Y$ h
  485. ; Set maximum length of log_errors. In error_log information about the source is) J/ {7 i* q; B. Y  A" \
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    7 P/ s- j: |' f! R# N' [
  487. ; http://php.net/log-errors-max-len
    & w% A8 r  d% S. k1 ?/ n5 J
  488. log_errors_max_len = 10243 ]# S- }1 h6 X2 I1 X- ^& z

  489. / O$ E" Z1 `. j- _
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same% l9 y6 p7 A# G& p. K. x
  491. ; line unless ignore_repeated_source is set true.
    + X' O8 g3 F- O' ?( [# B
  492. ; http://php.net/ignore-repeated-errors# F7 Q( c1 {9 d' i; W6 K
  493. ignore_repeated_errors = Off
    8 q5 L. U% y1 t) Q

  494. 6 Y+ W6 K! _/ |3 h" k' V
  495. ; Ignore source of message when ignoring repeated messages. When this setting2 D6 h2 ]) o) C" ]6 t* I. \
  496. ; is On you will not log errors with repeated messages from different files or1 f4 k) O* Q& U, r5 s+ {2 E" `
  497. ; source lines.
    $ u% U1 A* j0 @# z7 W
  498. ; http://php.net/ignore-repeated-source$ m/ {1 j2 O) B" M, q, ?, \
  499. ignore_repeated_source = Off5 ?- \/ }/ z9 U. |: M; S, t% T
  500. : `, E3 C+ j" ~
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on: G/ `" V! }  ]& C1 l1 Z, f
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    1 ~4 J, U+ b+ U1 g
  503. ; error reporting includes E_WARNING in the allowed list
    8 n( M  Z1 X: |- ?1 ^
  504. ; http://php.net/report-memleaks6 |( t- m9 p/ K
  505. report_memleaks = On
    ' X3 e! j4 z  y/ W

  506. 7 K& }% o9 i, M4 y) |* A# f; S- {5 a
  507. ; This setting is on by default.. Z/ ]- l3 f2 e
  508. ;report_zend_debug = 0$ Y0 X3 V5 B# w) g  g, w  v3 ~
  509. 2 G5 _& T& m" u) O( t! E* n: R; T
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value7 ?3 K, Y: F3 l0 L
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    ; e# p3 u, S2 h8 |$ J9 Z
  512. ; however be disabled on production servers.
    ! d/ R" b' H) j; C
  513. ; Default Value: Off( \0 [  f) F, n/ Y
  514. ; Development Value: On
    3 F9 ]8 [' a4 }4 V: o3 M
  515. ; Production Value: Off" \( B8 i) D! e2 M  g8 o8 L# Z
  516. ; http://php.net/track-errors
    " p0 q$ O% s, V/ _6 T
  517. track_errors = Off
    ; r* H5 \8 ]3 e4 g3 ]  |

  518. # ~& Z& B/ A- k/ g! c2 f" Y6 |, X
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    ; i5 A# [, W4 s. `
  520. ; http://php.net/xmlrpc-errors
    ) ]( ^; Q3 e8 K# B1 D3 r/ h
  521. ;xmlrpc_errors = 0
      [# _: T$ x+ V9 d. M" H6 E

  522. # M# M: r. n) }; ]# A* O/ v6 l/ y
  523. ; An XML-RPC faultCode
      ^5 V3 G4 t- c
  524. ;xmlrpc_error_number = 0
    ; G. X( \4 U4 {6 B+ p8 @+ I

  525. 9 r. a# ?& ?* U4 y& k, D7 c/ h
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    : m" r5 ]# b. F. x
  527. ; error message as HTML for easier reading. This directive controls whether
    ' U- ^0 z- ]% B+ W: J: c
  528. ; the error message is formatted as HTML or not.
    , s( N* D0 X7 h# A+ K+ V
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    5 }9 H  \& \0 g: p! y( w5 `6 x
  530. ; Default Value: On
    " t/ j3 A# c6 u" z% m7 x+ t. s
  531. ; Development Value: On. O- O: M5 S; {) l7 e7 \; \
  532. ; Production value: On  l7 w5 s- Z& O. S
  533. ; http://php.net/html-errors
    ( \4 Z3 q* q! T' G1 [
  534. html_errors = On
    # \2 Z* ]5 [: _0 m$ o- [

  535. 0 j$ @- B0 Z, ^2 B
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    & J* H; P3 h2 y7 w3 R$ ]1 x- v# E/ n
  537. ; produces clickable error messages that direct to a page describing the error* }2 M9 h. c5 Z3 n& X
  538. ; or function causing the error in detail.
    4 f# i. `: S: S9 c- [& `. G' Z4 v1 u0 P
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    - v8 n: h) Z6 C1 D
  540. ; and change docref_root to the base URL of your local copy including the1 C* B. v7 ^+ ~' |" _% X- P
  541. ; leading '/'. You must also specify the file extension being used including% T# V! S4 w- C- d1 T; \5 |
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which. h. ]& _0 n. @. ]
  543. ; case no links to documentation are generated.
    9 t$ S1 T6 m: U. y! n$ T
  544. ; Note: Never use this feature for production boxes.
    / T% h7 M1 q# N. r$ n! C8 g
  545. ; http://php.net/docref-root5 G7 @2 U/ x! ~2 [# k+ O
  546. ; Examples  z5 }! L  H# S, ^' ]; Q
  547. ;docref_root = "/phpmanual/"
    5 h+ g2 p2 l9 i, S) x

  548. / \2 ^6 i. S1 ^3 L! M( f0 ~
  549. ; http://php.net/docref-ext
    . d0 b& B* G# J% j) ~0 g; b4 ~# l
  550. ;docref_ext = .html
    9 Z2 z9 i( x0 @6 {# v# L

  551. 7 K. T% x1 |9 I  b
  552. ; String to output before an error message. PHP's default behavior is to leave
    6 m2 L+ X5 s4 I8 A
  553. ; this setting blank.3 I- a; q2 a/ K, c' U
  554. ; http://php.net/error-prepend-string
    : X& [2 R/ _6 ~) v
  555. ; Example:
    / @" w, b, `2 C* W( b0 _, u" F4 t
  556. ;error_prepend_string = "<span style='color: #ff0000'>"+ m8 u/ R1 M+ {* m8 r7 I

  557. 4 ?1 m4 c& e6 |, [9 _# N
  558. ; String to output after an error message. PHP's default behavior is to leave/ f: e) ?" b, m% X* v3 e+ {
  559. ; this setting blank.' U0 [- q! {! {: C( Z' L
  560. ; http://php.net/error-append-string$ B3 p* {  V, {! o4 t+ I  k/ I
  561. ; Example:+ U3 t- _. |% X, @8 d
  562. ;error_append_string = "</span>"
    3 N5 w$ i! @$ p% T

  563. 7 w) [9 m7 v$ [9 G
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    % d% w5 B3 T7 i3 E
  565. ; empty.
    8 n4 S" @+ I+ p3 F
  566. ; http://php.net/error-log+ d5 n7 B( a" v0 C. Z6 n" C
  567. ; Example:
    8 A# ^& ]; ]- ~$ n
  568. ;error_log = php_errors.log0 }8 |! w- u, ?9 j2 e+ A% t
  569. ; Log errors to syslog (Event Log on Windows)., B9 _9 p# _8 Z+ D  J5 y
  570. ;error_log = syslog2 R- c, t- _. L
  571. * O1 A% L! ^0 B* r
  572. ;windows.show_crt_warning
    & I7 U& a! S' \  ]* |. ~: y! k
  573. ; Default value: 02 I2 Y* N; v5 k, t: A8 b
  574. ; Development value: 0
    8 V3 ]: C# N, m3 E' V
  575. ; Production value: 06 q' ^1 B. E+ b! _0 _
  576. ( i. y+ Z' x) y# [& f) M7 l
  577. ;;;;;;;;;;;;;;;;;8 A: _" E# L- }+ T+ J
  578. ; Data Handling ;
    8 R* G9 F: K2 o
  579. ;;;;;;;;;;;;;;;;;
    0 P" y& d# v1 c7 N/ @/ _
  580. + L5 C: D' H$ j- z  K
  581. ; The separator used in PHP generated URLs to separate arguments.
    , v$ ?0 i# z# G8 ]- g: V
  582. ; PHP's default setting is "&".$ m7 ~( i* m- O. y
  583. ; http://php.net/arg-separator.output/ a! r" B" U3 ?! V* Z3 N
  584. ; Example:
    9 L6 L$ Q% d  q0 E) R  k
  585. ;arg_separator.output = "&"8 N1 B6 D: n2 }* @+ g; F6 r+ s
  586. 6 G% {& y2 W) X& Z) V- Z( s
  587. ; List of separator(s) used by PHP to parse input URLs into variables.7 g4 {: F4 h$ L$ D$ ?( `% s
  588. ; PHP's default setting is "&".
    0 X3 J" m3 Z, l$ m* ]
  589. ; NOTE: Every character in this directive is considered as separator!5 Q+ Q! g3 O, a8 X8 C1 a$ |" v& {0 `& H
  590. ; http://php.net/arg-separator.input
    & B9 K# d8 J- z8 Y9 t* B& j4 B/ G
  591. ; Example:
    ! b) D% t& j0 r: F7 ^" H& s
  592. ;arg_separator.input = ";&"- a9 F8 k7 m9 Y4 O
  593. ; r9 m; h3 T' a2 {
  594. ; This directive determines which super global arrays are registered when PHP& S2 i' N; k+ e( c3 i0 z1 z
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    & O8 [! W1 B7 i6 l8 M7 X  s
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    6 A* {, t7 i7 `& z' B% X8 y
  597. ; paid for the registration of these arrays and because ENV is not as commonly& @* [# Y. Q3 e5 u' j
  598. ; used as the others, ENV is not recommended on productions servers. You
    $ _/ ^. i% o9 K; R4 `; V
  599. ; can still get access to the environment variables through getenv() should you
    8 y& I1 u6 U  T7 |& J
  600. ; need to.: {9 O) p/ e7 W0 i# @
  601. ; Default Value: "EGPCS"2 O0 P0 L4 p2 u. c
  602. ; Development Value: "GPCS"  a* K/ O7 A6 W5 \" C
  603. ; Production Value: "GPCS";6 h) y6 p3 ^( G' D+ q' L
  604. ; http://php.net/variables-order
    - j/ |. Z0 l' `$ Q
  605. variables_order = "GPCS"
    # d/ n! d7 C0 M( q1 q$ \7 L6 \# R) L
  606. / _1 D3 i' M% n! q. O) V2 Q$ e
  607. ; This directive determines which super global data (G,P & C) should be- f5 b, M1 ^  ]1 I
  608. ; registered into the super global array REQUEST. If so, it also determines6 H4 v% s' M# E7 ]! V5 z8 ~( h6 ~
  609. ; the order in which that data is registered. The values for this directive
    % W3 g0 {, P: Y) n1 D6 S
  610. ; are specified in the same manner as the variables_order directive,5 l* R! Q$ X3 o4 L
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set( H- N1 ?% h5 L$ W
  612. ; in the variables_order directive. It does not mean it will leave the super- e0 J- S7 j3 a  O
  613. ; globals array REQUEST empty./ ^# ~) V  m# ?# {! \: {" G6 Z4 y
  614. ; Default Value: None
    : g7 @1 _* u6 @; F3 f
  615. ; Development Value: "GP"
    # d/ b) R1 g) d& M. g4 R) y
  616. ; Production Value: "GP"- V/ M4 p. _5 v, ~; l
  617. ; http://php.net/request-order0 h- W1 Z: \# i7 N" j3 N. i# N
  618. request_order = "GP"
    9 {, R7 W' x6 W3 M
  619. % M( _) N+ h, y, N: r# r$ l
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    + n3 V6 e- t# t+ m
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    3 ]  b; E4 q. y  K% w, V8 X; `
  622. ; is invoked. $argc contains an integer representing the number of arguments
    * f0 b+ K  m- |8 s% I
  623. ; that were passed when the script was invoked. These arrays are extremely; y3 w, Y. g" \5 b$ l$ C
  624. ; useful when running scripts from the command line. When this directive is
    ; Y7 B2 Z4 z+ P( t' i; Z- x4 c; C1 J  Z
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    + Y6 i& Q5 I1 N) @+ `! w
  626. ; a script is executed. For performance reasons, this feature should be disabled$ T; y, E, ~7 N8 W. H; a& o: ?1 s
  627. ; on production servers.
    2 k( z; h" L7 K3 J2 g) H
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    # d! s% m' {1 }5 \0 _( `
  629. ; Default Value: On
      o3 _1 K5 N+ d- ?4 p! u0 L! f
  630. ; Development Value: Off
    5 i5 l; Y7 n7 J& J6 x4 t9 z
  631. ; Production Value: Off
    2 [6 Z  j2 n& j+ A( f# |
  632. ; http://php.net/register-argc-argv
    4 C4 Z7 s' A! p6 U# h- K" z9 ?
  633. register_argc_argv = Off
    ' r7 w( t; E4 h
  634. 7 Q+ J' }- E! V
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're$ q* g. z1 U, _1 r+ X
  636. ; first used (Just In Time) instead of when the script starts. If these
    6 W* \' k5 p% f: N
  637. ; variables are not used within a script, having this directive on will result  D' q0 ]5 z; f* `1 S; ]+ O
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    - i! y# n; r* H0 H6 w
  639. ; for this directive to have any affect.
    / s4 F, f: ^9 N  p
  640. ; http://php.net/auto-globals-jit9 I# I% X3 W5 L- n
  641. auto_globals_jit = On
    - {6 K) Z! o9 G( k1 I# j0 @
  642. 4 X; V* l  S4 i
  643. ; Whether PHP will read the POST data." b6 Z' D( O7 l5 D6 Z! P; s
  644. ; This option is enabled by default.) J$ ]7 x. ^4 g% C9 \' P& M/ a
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST) K+ O8 G) {( Q; Y$ O0 i  S
  646. ; and $_FILES to always be empty; the only way you will be able to read the: O$ d! n  Y/ M" W- p2 \
  647. ; POST data will be through the php://input stream wrapper. This can be useful/ Z$ g1 C/ m4 g% ], V* s
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    7 d5 N) D1 f+ A# n, n
  649. ; http://php.net/enable-post-data-reading
    $ I# q+ N: Y5 H3 n, x, m
  650. ;enable_post_data_reading = Off
      A+ N* ?/ t% ~. v# t) ]6 a
  651. 9 [5 h3 G2 j: k6 \
  652. ; Maximum size of POST data that PHP will accept.% C# m& V  m6 Z2 N1 @
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    + o, r5 C1 ^; r& U" V' b
  654. ; is disabled through enable_post_data_reading.
    " L1 S1 s5 @: J" t8 [% j7 t
  655. ; http://php.net/post-max-size) r0 _/ I! j# [; v0 F- _/ D
  656. post_max_size = 50M6 ~, Q) j  c8 o- H0 h4 E

  657. + c8 w5 J2 w0 x# K8 n  T& u" _
  658. ; Automatically add files before PHP document.. I( `* P7 [- ]( S7 v! H# y
  659. ; http://php.net/auto-prepend-file3 P) L( H( f( D" u8 i5 N
  660. auto_prepend_file =
    . _8 _+ X  K  [% h
  661. & _% V0 B$ c2 H9 d7 s
  662. ; Automatically add files after PHP document.
      Z$ V' o6 f( [. D2 v: @* U
  663. ; http://php.net/auto-append-file
    - ?: G7 f/ P+ I0 X
  664. auto_append_file =
    , u  r7 F6 y) L8 Q+ R

  665. - t3 O8 o' u0 M0 l% r
  666. ; By default, PHP will output a media type using the Content-Type header. To
    . O6 c$ H7 b9 f( R  k3 R! Q. d! w
  667. ; disable this, simply set it to be empty.
    3 t# l& [4 G; ?* L- f* u
  668. ;& ]( P. E+ D/ e$ V* c1 q% V8 `0 x
  669. ; PHP's built-in default media type is set to text/html.
    4 H6 n' U; G( C* m3 z8 G; n1 x* c6 \
  670. ; http://php.net/default-mimetype
    9 \: j7 |. H5 {( U7 I- u
  671. default_mimetype = "text/html"
    6 w" E0 b5 E4 W$ o8 _4 z. B: @

  672. + y# B. z+ M" I
  673. ; PHP's default character set is set to UTF-8.
    * w$ X3 K+ ^" k4 j8 m
  674. ; http://php.net/default-charset$ y. H8 \0 h: p$ s; q
  675. default_charset = "UTF-8"% K% }0 \6 a0 ?; Q) @" _
  676.   X: e% l: r  X- d( ]9 b
  677. ; PHP internal character encoding is set to empty.
    7 Z& n$ z" [0 y  s! p, W8 V3 B1 q( ?8 \5 {) Y
  678. ; If empty, default_charset is used.
    6 v! ~- z9 p$ _: [) p3 W
  679. ; http://php.net/internal-encoding
    ( V. ~2 n* o+ l9 F8 w6 v, i
  680. ;internal_encoding =/ u' i4 p) k6 a, C9 P+ f( \0 ^
  681. , U7 C4 Q1 B1 k. z2 e& t
  682. ; PHP input character encoding is set to empty.9 h; F: W* {+ {: ~: ^+ d
  683. ; If empty, default_charset is used.
    7 h& C8 A7 O" H9 o
  684. ; http://php.net/input-encoding1 h, n+ V3 K1 A( A8 n# u
  685. ;input_encoding =
    0 e: J2 |2 m1 J. K% }  @. j

  686. # J' n! c. v$ ]6 w' @; Q, ~+ B* c
  687. ; PHP output character encoding is set to empty.
    4 Q2 S4 [, a9 h# `( T; t" P  V
  688. ; If empty, default_charset is used.  }/ V7 q" G; P4 f: U  p) o* }
  689. ; See also output_buffer.
    / G0 J& R% A: P% x% O1 B! Q* d
  690. ; http://php.net/output-encoding
    ) ?6 \! C7 c6 r) i
  691. ;output_encoding =7 b5 ^4 |$ @7 u; ]+ s
  692. " h$ p$ C& g: u) V0 z- Y) g
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;: R5 `7 D' h6 F# {
  694. ; Paths and Directories ;, \. O0 l( H) L  \
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    6 o; G5 A* {7 s+ ]' F6 W0 K

  696.   ~6 x( T' W& Y
  697. ; UNIX: "/path1:/path2"8 {0 W" m1 u; t
  698. ;include_path = ".:/php/includes"2 `( F; j. i) o. j6 Y1 L; y
  699. ;" E% W3 ~' q6 q; u2 U* ]
  700. ; Windows: "\path1;\path2"  z5 x6 R9 u* v! q' L
  701. ;include_path = ".;c:\php\includes"
    1 w, N  r* X7 V  d8 C8 r# g, f. V
  702. ;+ W; z- v6 _: b; L
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"! q/ }. Z; b# v, B
  704. ; http://php.net/include-path
    , O( d0 n9 \. t& o# [  P

  705. 3 T* K- i/ R* c; A
  706. ; The root of the PHP pages, used only if nonempty.
    " @: F( W" H2 x
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root  [, i# q, Z6 O; x! }% b
  708. ; if you are running php as a CGI under any web server (other than IIS)
    5 X* x* |7 v" @( C
  709. ; see documentation for security issues.  The alternate is to use the
    - q5 X! e# A# D  L: a4 }% i
  710. ; cgi.force_redirect configuration below
    7 i& E' R; H9 q" D8 n& p
  711. ; http://php.net/doc-root
    , U8 y. m3 V% Z2 m' v! W
  712. doc_root =
    4 [; g$ I9 B/ E

  713. ) ~1 R; _; m8 A+ x* a
  714. ; The directory under which PHP opens the script using /~username used only* c- P4 ?0 o% B4 ?( Z" ]7 |; F% s& s1 U
  715. ; if nonempty.
    6 _/ a" N% [/ ]9 Y# R
  716. ; http://php.net/user-dir
    . K: C  J, [) F% O
  717. user_dir =
    ! \2 l9 o% }1 t6 x1 M
  718. ! m1 s# V0 H. \
  719. ; Directory in which the loadable extensions (modules) reside.
    $ [1 j3 p5 f  r1 T
  720. ; http://php.net/extension-dir
    3 }# W; N+ O: [0 }/ p; G
  721. ; extension_dir = "./"+ b4 u, n, O6 Z& O$ ]) W
  722. ; On windows:. f. u3 n+ h8 O8 M
  723. ; extension_dir = "ext"
    # V( t5 U1 Y9 B: T3 ]2 ?$ R0 @* w
  724. 5 f' R3 V6 @7 z. W3 n- z
  725. ; Directory where the temporary files should be placed.
    7 g  j) ^6 d3 t$ Q8 V7 v8 ?# `' _7 O
  726. ; Defaults to the system default (see sys_get_temp_dir)
    / H- J; L+ N/ G9 r, M1 c
  727. ; sys_temp_dir = "/tmp"1 e- I+ u# ?* }
  728. + }& f) T* L$ h+ l$ q; [
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work9 f1 i4 a( ^( Y
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    ; {. P9 O# Y) W
  731. ; disabled on them.
    * ]8 R( }& g2 C3 v: s
  732. ; http://php.net/enable-dl
    * c1 \9 e& R* W( a& ]! ~
  733. enable_dl = Off
    ; T* D$ F, K$ r1 T+ ]4 `# j1 q, }

  734. 3 A  D  G; @7 r7 w9 p
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
      V! l6 k8 G- W& y
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can* G0 J5 q; Z8 D7 z# d( I0 `
  737. ; turn it off here AT YOUR OWN RISK. j& S1 o4 A* f/ C5 j5 b4 B0 z+ \
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    : l7 h( Y# _5 F1 V) d
  739. ; http://php.net/cgi.force-redirect
    5 G8 u$ i4 ~) }8 }7 m% [
  740. ;cgi.force_redirect = 1
      @5 w% H& k! N. [

  741. . C  c! _$ A( p  C5 }5 n  C. M
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with- m& P5 Z) j$ j
  743. ; every request. PHP's default behavior is to disable this feature.
    5 r: v( e3 `' W( F1 [- l3 i
  744. ;cgi.nph = 10 R$ b, \, r: [8 r

  745. + F6 u$ X, }, m8 a5 y
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    2 T* I1 O3 r6 z
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP3 C! ?" J3 h5 a4 z
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY% |1 F/ B) i& t! p
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    & [! _" e# W/ a2 N# |7 Q
  750. ; http://php.net/cgi.redirect-status-env' i  k! O( A' Z3 u
  751. ;cgi.redirect_status_env =
    % {+ c- [+ ~9 v$ k) j! p& u$ g
  752. $ Q  K$ `6 t2 e* T' g
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    $ t( ~7 b( z" W5 S8 K( g2 {
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    8 M. A, q5 W: _: e; j3 D
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting/ w) U3 i4 V& i( D
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    2 P, M! g: k9 g
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    ; C. C) N" K; `
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.$ l6 m  z8 T# `8 x8 j
  759. ; http://php.net/cgi.fix-pathinfo, |8 T5 K  ?- E+ n& h
  760. cgi.fix_pathinfo=1$ H5 q; u  p9 d' F5 K# x

  761. $ ]& p* H% Q) A% S6 \
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside$ {$ u) A# E1 A
  763. ; of the web tree and people will not be able to circumvent .htaccess security.9 z( T1 u/ O! x
  764. ; http://php.net/cgi.dicard-path! [: {8 I" @. E) V1 }5 r) f+ `/ ?( h
  765. ;cgi.discard_path=1- T! C) {8 z/ L' L8 g/ P2 l/ h
  766. 9 q/ L$ l- ?+ E  M. ~6 D
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate/ v1 J: g2 I1 U# b
  768. ; security tokens of the calling client.  This allows IIS to define the: P: E1 m/ N' a( `7 G1 s
  769. ; security context that the request runs under.  mod_fastcgi under Apache2 s: E, i+ i, E7 _
  770. ; does not currently support this feature (03/17/2002)8 _1 a# C1 J- E+ b- o
  771. ; Set to 1 if running under IIS.  Default is zero.
    ) m- t. `4 t' \% |! i  _
  772. ; http://php.net/fastcgi.impersonate
    & D5 R9 s* S( {  K& P0 P- y
  773. ;fastcgi.impersonate = 1
    ! r: z3 X! q. z2 l! j' k9 `

  774. 9 P5 ?! s; l: x# Z9 w) H
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable( s  J  l/ p$ Y- O+ j8 P
  776. ; this feature.
    : ^$ ]9 p/ p" F, j9 _% q. X
  777. ;fastcgi.logging = 0% B9 ]3 ]" H9 u- X/ x
  778. % [" [5 J6 k, Y" l* s; ^
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    ; y5 k) ?2 c" U2 X( ~
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that) `. f$ n  V% |8 w) O
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    / u& d. |1 \$ |, F8 {1 V
  782. ; RFC2616 compliant header.  `- D% f6 [, H# j. n; C
  783. ; Default is zero.
    . k# L$ ]$ m5 g+ M
  784. ; http://php.net/cgi.rfc2616-headers
    - W. O" V! |/ Z+ m6 }+ ]9 t( R
  785. ;cgi.rfc2616_headers = 0* ~  O: t/ V( P( L1 q
  786. : u  [. L' I& N% h1 `) _' x
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!; {& {: X: w) S  M1 C
  788. ; (shebang) at the top of the running script. This line might be needed if the
    3 c! G" G8 `$ K, J+ A5 S
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI* ?$ T0 z( H6 M" b; I# i
  790. ; mode skips this line and ignores its content if this directive is turned on.
    ) Y: \+ @3 E6 G6 t1 c
  791. ; http://php.net/cgi.check-shebang-line
    1 u% R; |4 M) Z: g+ M0 b
  792. ;cgi.check_shebang_line=1
    - H5 H9 q. N* s( s9 H& o, ?

  793. / @1 I) n4 v5 Y* [; `
  794. ;;;;;;;;;;;;;;;;  ^/ Y3 P$ a4 j9 Q0 j, M! P1 O
  795. ; File Uploads ;
    % O0 E) Q* }$ r8 E# h/ n
  796. ;;;;;;;;;;;;;;;;$ Q8 C3 L$ W; L0 G0 F0 _5 E

  797.   A, M+ K! Q# E6 S# q2 z
  798. ; Whether to allow HTTP file uploads.
    9 S8 |( k* d4 x3 n9 z* {2 ~
  799. ; http://php.net/file-uploads# m8 P2 u% E; s1 |) T5 N% V
  800. file_uploads = On
    " Q, u$ a! B$ W, y

  801. 3 l3 I$ i& p1 ~8 l3 d
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    # o' ?* e+ }6 ?0 x# M, \
  803. ; specified).
    2 @, S7 L9 p, H+ Q5 n7 h, C
  804. ; http://php.net/upload-tmp-dir
    # D- I. S2 D- Z. o
  805. ;upload_tmp_dir =
    2 b3 q; f1 h8 v- w

  806. 4 t# k- F) Z) K7 E% i2 t" d! L
  807. ; Maximum allowed size for uploaded files.
    4 \! `# Q. T8 c& z9 v7 ^) r
  808. ; http://php.net/upload-max-filesize2 [4 a, u' C( l# y' C6 R
  809. upload_max_filesize = 50M
    8 `. Y  p: u9 q

  810. * }( L& ^( i' g0 u" [6 O: Y6 o7 Q5 q; g9 M4 H
  811. ; Maximum number of files that can be uploaded via a single request
    . E  a: x4 G2 A! F( {; j, r3 y
  812. max_file_uploads = 20. }# R2 f9 O% q

  813. . O% n6 N: c8 P6 N7 E( @% Z0 p, M
  814. ;;;;;;;;;;;;;;;;;;, a! i6 j3 C1 U" r- g
  815. ; Fopen wrappers ;
    * u5 R* R! f  {  n% M6 R- j
  816. ;;;;;;;;;;;;;;;;;;
    2 P* V) O/ p6 P
  817. 0 s2 _4 e( b& C9 T: z
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    / a. v* s5 J9 a  j! k! q# f
  819. ; http://php.net/allow-url-fopen" U1 }8 n3 m: z* F& T( e, L
  820. allow_url_fopen = On0 C$ \0 m/ S2 Z% V- T, x

  821. " E8 z+ o1 V1 U1 M- p# D8 W0 _- O
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    5 \. a7 W& N/ K' q1 k/ c7 L
  823. ; http://php.net/allow-url-include
      w5 K2 n" l. q0 v% L9 n, e
  824. allow_url_include = Off
    " ?5 Q( v! h1 I. y" n

  825. - `/ v  x3 L* r5 b- J+ @
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    " e' V( L1 B- p3 f4 D  U0 b! i) C
  827. ; for this is empty.
    2 z3 J/ F; C: Z; l# p2 l4 ?
  828. ; http://php.net/from
    1 t+ X8 t/ Z6 \! l( Z8 J! P
  829. ;from="john@doe.com"! R8 T  C5 v  e% ~7 u

  830. 2 n. V' p/ S2 v2 T+ M
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    0 g2 E. n/ J6 c0 Z! U
  832. ; http://php.net/user-agent
    ! z- s+ R) u9 H. _" M, D
  833. ;user_agent="PHP"
    , |4 \- s' f7 n2 @9 t6 Y
  834.   p2 R( Q; |; D8 m7 z" \* A- ]6 S
  835. ; Default timeout for socket based streams (seconds)
    % s' R9 L0 a0 ]6 N* A
  836. ; http://php.net/default-socket-timeout
    ) a  A0 W& B. n7 w
  837. default_socket_timeout = 60
    2 Q# M! b% m: S& m$ \% p) p  O+ n
  838. , G6 V2 U7 @0 r! D- N
  839. ; If your scripts have to deal with files from Macintosh systems,
    $ l% q0 Y4 {7 R, a3 I
  840. ; or you are running on a Mac and need to deal with files from4 [# ^5 L9 A9 v
  841. ; unix or win32 systems, setting this flag will cause PHP to
    9 B5 O. p+ F# s7 y) r
  842. ; automatically detect the EOL character in those files so that, p( \+ U0 I# b/ A( o6 Q
  843. ; fgets() and file() will work regardless of the source of the file.
    2 ~' i) N% R: G# E; t0 T
  844. ; http://php.net/auto-detect-line-endings" y0 w/ a4 \2 R0 S& I. F
  845. ;auto_detect_line_endings = Off
    - v$ N: p# t* v# c; t: O

  846. 0 }2 k: O9 F1 T( g& I
  847. ;;;;;;;;;;;;;;;;;;;;;;% B8 \0 q1 f& I+ C1 x
  848. ; Dynamic Extensions ;
    * r' L3 T1 R2 {( Z- Z0 i
  849. ;;;;;;;;;;;;;;;;;;;;;;5 o( T( l: X! {. {1 ]

  850. 0 y$ h+ W, }! a' [; f8 u6 U3 o
  851. ; If you wish to have an extension loaded automatically, use the following8 Z' z$ c1 K' s- [9 k5 t  b2 b' n+ M
  852. ; syntax:5 y. m# f) @& n0 p8 M& [6 P
  853. ;
    7 t2 X# b. z) b4 P  M5 `3 N# G5 d
  854. ;   extension=modulename.extension1 Z1 T4 D+ X! }) N7 O8 Q
  855. ;3 I9 ~6 C6 O* T0 x
  856. ; For example, on Windows:
    ! R: z9 v. H' O& l
  857. ;
    8 P1 \4 k* X% e" Z! y! d
  858. ;   extension=msql.dll
    5 C' m. B1 h% T7 w: A9 W: ~
  859. ;
    . q* Y" M% O1 p0 v$ t+ O
  860. ; ... or under UNIX:8 M7 r& p; Y2 {
  861. ;
    - I1 q6 h; c7 M# m; M6 _- A
  862. ;   extension=msql.so+ R5 \- v* q: H' ]  n+ C
  863. ;
    + f1 E9 W$ {# T2 O3 Y) U
  864. ; ... or with a path:  t, B' C% p4 O4 A1 Q8 P
  865. ;
    3 F3 ]% k" V% G
  866. ;   extension=/path/to/extension/msql.so
    1 x; j# |& e7 j7 b
  867. ;
    * n; x* W! W3 S+ H; l4 M+ K
  868. ; If you only provide the name of the extension, PHP will look for it in its* `; L- k0 L' }' C" m* P! o
  869. ; default extension directory.: }% }7 X1 s0 L7 _( L
  870. ;
    2 q4 Q" j' }  U
  871. ; Windows Extensions0 o4 }) W1 ^( N4 v9 g, Y/ |
  872. ; Note that ODBC support is built in, so no dll is needed for it." R& B# N: G: r4 a% V; j
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    0 @+ l, u  v( z7 B  L( J
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).0 E8 v9 s# r0 W( q. c# R' k3 v
  875. ; Be sure to appropriately set the extension_dir directive.3 x1 V" i' @9 \9 c5 @. H5 C
  876. ;6 y6 G( v$ ]9 S5 H  c- O) j$ O
  877. ;extension=php_bz2.dll$ J" t( u3 H' U- x5 V; D
  878. ;extension=php_curl.dll
    4 y. E  S2 D4 N4 V( l  L
  879. ;extension=php_fileinfo.dll- c3 g7 i+ P3 N: X2 P& m" o8 M
  880. ;extension=php_ftp.dll0 T- {) h8 t/ v2 l: x2 [$ v; K
  881. ;extension=php_gd2.dll- F9 O: a4 ?, c2 n/ g% e6 l
  882. ;extension=php_gettext.dll
    " G+ U/ ^$ c! m$ \6 j
  883. ;extension=php_gmp.dll
    / I) T/ Y2 x" G: A# F2 Z/ ]
  884. ;extension=php_intl.dll
    . s$ L+ e$ D; z8 l1 c, g6 z
  885. ;extension=php_imap.dll1 W. p% K0 A3 M
  886. ;extension=php_interbase.dll
    : ?$ x: j5 H$ w
  887. ;extension=php_ldap.dll: X$ E3 Y2 ]/ [/ q
  888. ;extension=php_mbstring.dll# p( n! m8 V0 A& I
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    % j9 F* p& e' g0 J& r! v
  890. ;extension=php_mysqli.dll4 V* r1 [( D+ e, r
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    $ s' X# Z& ~; Q2 B% h+ p
  892. ;extension=php_openssl.dll
    1 m; e- l0 J- z! E7 ~' X: ?% V4 _  Y
  893. ;extension=php_pdo_firebird.dll; O! _9 t: N+ ?' d  p9 R7 D
  894. ;extension=php_pdo_mysql.dll' k0 U6 q- L  f2 {  l  _
  895. ;extension=php_pdo_oci.dll: m; ?! P; p" h. W
  896. ;extension=php_pdo_odbc.dll7 s3 ]" w; _/ t& p7 U; L& T- B
  897. ;extension=php_pdo_pgsql.dll
    6 I$ Q% F  O9 x
  898. ;extension=php_pdo_sqlite.dll
    + Z6 g) I5 k8 H4 s# O1 i( b
  899. ;extension=php_pgsql.dll; d, ], t- F5 g% L$ q/ J
  900. ;extension=php_shmop.dll% l: i9 }; H! }
  901. ( i( V2 ^) B% V  _2 o
  902. ; The MIBS data available in the PHP distribution must be installed.
    % e3 e# c; _5 L& W7 r
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    8 |% c! `' j, A9 s' j" H/ z4 j
  904. ;extension=php_snmp.dll' T% [. e; f4 ]/ z- N
  905. * b6 {4 {  h0 X: z" I) i6 q1 e
  906. ;extension=php_soap.dll! A* a8 J$ Q9 H
  907. ;extension=php_sockets.dll5 O: k' J8 k5 a2 ]
  908. ;extension=php_sqlite3.dll3 j( ]; _/ V8 M. O9 x
  909. ;extension=php_tidy.dll
    6 X8 ?- |; |/ j% [+ m
  910. ;extension=php_xmlrpc.dll
    8 ~5 P1 v+ Y+ d; W$ e3 p
  911. ;extension=php_xsl.dll
    * W4 }$ I# A3 z+ a8 T

  912. ) `1 S7 |+ n% o( t2 U
  913. ;;;;;;;;;;;;;;;;;;;
    # h1 T0 M8 y! n/ D, }
  914. ; Module Settings ;1 ^6 f6 _  ~1 i# p
  915. ;;;;;;;;;;;;;;;;;;;
    $ q/ A+ @( D  ~: R- z+ j

  916. , n2 Q8 `- e! K! n1 X
  917. [CLI Server]
    8 _: G! f, I8 ~9 Z9 `# z. t
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.6 H2 V- z* r: a2 x' _- Q# ~1 n
  919. cli_server.color = On
    9 S% t* P3 k# Y: p2 w! e, v

  920. 4 S7 w' u% ]/ |! L. K
  921. [Date]
    * \9 `7 `( A4 l$ w6 A2 z% d  q
  922. ; Defines the default timezone used by the date functions0 Y3 {& m" W/ r' M4 y, s6 G7 k
  923. ; http://php.net/date.timezone- X0 H) g) Q3 g7 X1 ]8 G# \& F
  924. date.timezone = PRC6 Y$ o3 D6 x" ?1 \2 y2 Y1 V' H
  925. + [* o8 f  w& ~3 R
  926. ; http://php.net/date.default-latitude
    # {+ f6 P) I  T7 @5 Q" f+ _/ ]$ R
  927. ;date.default_latitude = 31.7667
    ! L  p' T: Y9 b& {9 d$ w% |
  928. : G: A. P! V8 ^) E
  929. ; http://php.net/date.default-longitude3 F: f, Q/ t2 I+ W! v
  930. ;date.default_longitude = 35.2333
    5 U7 c7 X6 M3 f

  931. % o4 C4 r/ V& N9 F9 b
  932. ; http://php.net/date.sunrise-zenith- ^( Z9 g/ ^' C
  933. ;date.sunrise_zenith = 90.583333
    $ ?6 B$ D, F) `, U  C

  934. # B% `& ^% k2 Z% v& a# d
  935. ; http://php.net/date.sunset-zenith/ I2 O8 M5 }7 F6 Y) n% C
  936. ;date.sunset_zenith = 90.583333* `: [& h4 y0 C1 [' B

  937. $ N0 F+ ?4 S% y2 n
  938. [filter]
    3 E4 ]$ A' x- d+ j; |' ~5 E" d* v
  939. ; http://php.net/filter.default
      o+ _/ V8 L8 u. w
  940. ;filter.default = unsafe_raw3 H" C( l- J9 H
  941. 6 Q4 O. x. n+ S
  942. ; http://php.net/filter.default-flags
    " X3 M$ B3 i1 A2 v& f% @
  943. ;filter.default_flags =) t  R* `* A7 O% A- @* t& F& v
  944. 5 b5 @8 Z5 |1 ^! H" @
  945. [iconv]
    ' {5 x9 F# }3 o0 w5 [  u
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    / [: O+ p# p1 _& \
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.5 L, H, X  o1 V( z3 j/ [
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    & w; O8 N- ~: J
  949. ;iconv.input_encoding =" y* U& L% X$ f9 S( G7 @
  950. 0 S; ?* D! X- ~1 T: I8 {- c
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    . v1 `2 ^0 x, {9 M0 J0 B
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.! J4 A2 z& E; k
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    , @! g/ X; Y& j# i& K
  954. ;iconv.internal_encoding =1 t% a) M- S; P' Z8 k

  955. 3 Y( f3 [+ z- I. Q
  956. ; Use of this INI entry is deprecated, use global output_encoding instead., l. K& f" e, I$ L# a
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used." h+ U! `+ }$ {7 i" a
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding( [3 G4 F- l7 w9 ^, X. q" x
  959. ; To use an output encoding conversion, iconv's output handler must be set& Y+ z+ |" {' ?# N# p1 K
  960. ; otherwise output encoding conversion cannot be performed.  ?+ u8 [+ T% a5 `
  961. ;iconv.output_encoding =
      C3 Y1 d* u0 V- W0 B2 c

  962. # T! L8 t8 B9 K6 x; t) Z% B2 z$ Y* s
  963. [intl]' ^" `8 E0 H6 M* R6 L
  964. ;intl.default_locale =
    ! P' b9 x' |9 U4 y; T' O6 P$ v
  965. ; This directive allows you to produce PHP errors when some error' A) M, M- Y# W+ m! D
  966. ; happens within intl functions. The value is the level of the error produced.3 t  F, P! F, r: v4 w% y
  967. ; Default is 0, which does not produce any errors.6 b% w$ N1 T6 D+ q. z# C/ s
  968. ;intl.error_level = E_WARNING6 K+ s' p5 g3 L, {" S" a2 o
  969. ;intl.use_exceptions = 0
    0 w, n0 Q- }/ {2 B

  970. ( L$ A  P" x% k1 Y0 n  m8 t# y
  971. [sqlite3]( B# v9 D5 R+ s! u8 l
  972. ;sqlite3.extension_dir =
    ) y+ d! o: P; e9 J$ p
  973. & u1 s+ h5 P+ j4 ?& d+ I8 ]
  974. [Pcre]$ G( E2 d  c. F, Q
  975. ;PCRE library backtracking limit.
    . d& z2 u. i, |; N: E" H
  976. ; http://php.net/pcre.backtrack-limit& X0 `& }+ U& U$ p8 G' m
  977. ;pcre.backtrack_limit=100000
    9 @- @4 B+ ?8 T  C; ?' Z& y! R
  978. 6 m* v( V* h% @
  979. ;PCRE library recursion limit.  w* C; `# C9 Y
  980. ;Please note that if you set this value to a high number you may consume all1 J5 C$ M2 P2 a. x
  981. ;the available process stack and eventually crash PHP (due to reaching the. W6 M7 n) Y1 v2 `: n
  982. ;stack size limit imposed by the Operating System).( ?9 d' R5 i! u  S. Y# N
  983. ; http://php.net/pcre.recursion-limit& g+ A+ C* Z4 g/ {- ?" Q- K# j
  984. ;pcre.recursion_limit=100000
    ) @! [( ?4 R( u5 q# }' ]& Y! U
  985. 7 s* V6 X4 a6 a+ N1 s2 c& Z- n
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE9 p) z1 K3 E+ `; y
  987. ;library to be compiled with JIT support.( T. q7 A% c3 d1 D! _  H
  988. ;pcre.jit=1
    9 s7 }7 z7 A/ I  F
  989. 5 j6 K3 h. O& }2 X' Q
  990. [Pdo]
    " _1 Z7 ~, d% W2 A
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"9 {' }9 F5 A& A8 K2 D
  992. ; http://php.net/pdo-odbc.connection-pooling" [$ G3 d& w4 V6 e: F% Z5 e
  993. ;pdo_odbc.connection_pooling=strict
    # Y! Z6 H' l6 B/ i, R! B0 j* P
  994. / |8 w. A$ P# c, H
  995. ;pdo_odbc.db2_instance_name9 w) b4 j3 i+ t" G

  996. # V2 r' D8 ^0 p! H: }: \
  997. [Pdo_mysql]
    % W* ?! @& \! P! k0 g+ X
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache9 G, B' U5 F) l+ W. o) P
  999. ; http://php.net/pdo_mysql.cache_size
    % `% l8 o3 k$ [) j$ v
  1000. pdo_mysql.cache_size = 2000
    0 l; F" p3 \  d
  1001. 7 M* J$ E0 l/ l0 W
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    : @4 q  c. T$ E9 a; n3 p* T5 B4 e* Y
  1003. ; MySQL defaults.
    ; e7 X- m5 y" i! A3 \
  1004. ; http://php.net/pdo_mysql.default-socket
    % K- T  `6 U7 e/ J
  1005. pdo_mysql.default_socket=0 f" }2 t! I7 H+ X3 L+ \
  1006. , K( h* u4 w0 j# ~3 N
  1007. [Phar]
    6 W: c$ W0 {. j# i7 z; G. A0 }& S
  1008. ; http://php.net/phar.readonly
    4 p2 i8 R  M. k; }3 v4 J
  1009. ;phar.readonly = On: y5 m, L3 `6 i* v

  1010.   R5 I! w' Y1 e# k8 F' A
  1011. ; http://php.net/phar.require-hash) e# p1 q' V# @& ?/ q+ s2 Q
  1012. ;phar.require_hash = On
    ; C5 e' `3 E) i1 a, \

  1013. / ^' K3 ?' f! Q% W6 A
  1014. ;phar.cache_list =
    # D7 D6 k% }# J# t. K  z/ F

  1015. 8 t3 j2 ^# B7 Q3 B8 P2 w& N" X/ A1 \! j
  1016. [mail function]' S" u+ k) @9 C, a* [
  1017. ; For Win32 only.
    / ~0 I1 V. D0 k5 B, @' m
  1018. ; http://php.net/smtp* ~; S% u5 M$ [5 N5 I9 H- r" @
  1019. SMTP = localhost- y. r' l- D/ ]/ X
  1020. ; http://php.net/smtp-port
    " l8 Y  m5 G: v# U7 z( `0 n! \6 z
  1021. smtp_port = 257 |7 R, r$ k( R
  1022. 3 Z6 u- u! V$ O  u, H5 w2 d& B' v
  1023. ; For Win32 only." Y# X9 c3 q. e5 _9 D7 r2 e- C
  1024. ; http://php.net/sendmail-from
    6 i  k$ @; S) M
  1025. ;sendmail_from = me@example.com3 U  d3 k& N6 C' B: z5 m! l
  1026. ! H4 O% M% q0 |+ i
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").: D; ^9 H' d" w# e$ l* Q5 @/ V# ^8 R
  1028. ; http://php.net/sendmail-path9 E1 u# z, [) j) ?7 r
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    * [. d3 G9 X2 O' O- f: v  H

  1030. ! [( W# }# R' E7 _$ q' P* @" _
  1031. ; Force the addition of the specified parameters to be passed as extra parameters1 I# o3 K  C/ x# S
  1032. ; to the sendmail binary. These parameters will always replace the value of
    * Y8 a( U2 j! K8 ^" c& E* ?* P: c
  1033. ; the 5th parameter to mail().
    . w5 M% M( {" @. r
  1034. ;mail.force_extra_parameters =
    * {- Y& w& M$ ^; p1 {4 @

  1035. , k' X2 d+ R9 G4 a% `& ^1 f
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename/ s+ D0 V! Z2 h9 g
  1037. mail.add_x_header = On
    5 S  k+ s) Q0 y' Y& o
  1038. & r* B4 q  h- i' q+ r( R, V
  1039. ; The path to a log file that will log all mail() calls. Log entries include* f9 t+ H- d) D( |/ L- H
  1040. ; the full path of the script, line number, To address and headers.- C' E1 R6 Z; \* l4 }
  1041. ;mail.log =
    . J! ]; }, m, t+ Y
  1042. ; Log mail to syslog (Event Log on Windows).
    9 ]" m1 g4 D% d* o, L# @
  1043. ;mail.log = syslog
    - f! a. u2 `5 K0 A4 ^  x( _: m) F) {

  1044. + H4 R8 |) \: Y6 k2 V3 Y: G
  1045. [SQL]
    0 r+ D" p8 @0 R) m
  1046. ; http://php.net/sql.safe-mode. _" {! n* F$ D3 M6 o( W
  1047. sql.safe_mode = Off
    : Q- g8 t* V( ^! s  C3 _8 O
  1048. ; `; m% I$ @7 ?3 X) _
  1049. [ODBC]
    2 R3 E/ |: W: F
  1050. ; http://php.net/odbc.default-db$ l  @: F7 f' V6 J/ h
  1051. ;odbc.default_db    =  Not yet implemented
    5 v0 W* J$ c4 ?& W- w

  1052. 3 Q  y6 P. p) w+ P2 T
  1053. ; http://php.net/odbc.default-user# l4 m3 `8 M. I# i
  1054. ;odbc.default_user  =  Not yet implemented
    9 ?5 Q5 p: p5 X% Y9 J6 P) i9 O

  1055.   u% S+ E( z8 L7 E
  1056. ; http://php.net/odbc.default-pw
    1 J  v3 F. J0 c$ T( P
  1057. ;odbc.default_pw    =  Not yet implemented1 Q: {  g2 e! z

  1058. 3 O6 ~! a3 c, ?- X
  1059. ; Controls the ODBC cursor model.7 W0 N5 H4 y  n3 X
  1060. ; Default: SQL_CURSOR_STATIC (default)., V2 y, c3 i, j
  1061. ;odbc.default_cursortype
    . K# m2 F, L6 l: I
  1062. ( x0 s) \6 v0 [7 c
  1063. ; Allow or prevent persistent links.
    ; a0 U9 z- S4 }- x: R
  1064. ; http://php.net/odbc.allow-persistent# K( {# F8 T5 W# s) q2 A/ ?
  1065. odbc.allow_persistent = On
    ' K$ m1 U, C% E/ S/ k

  1066. 9 q7 Q- _$ Y- }: C4 j- c8 p
  1067. ; Check that a connection is still valid before reuse.9 [; Y* t; G$ o4 c% ]  v, U# H4 E
  1068. ; http://php.net/odbc.check-persistent
    % ^; l+ a/ i4 U) M4 ^# o
  1069. odbc.check_persistent = On. d4 v* ?: `9 B- s+ o
  1070. & g( b: J" X+ q: V! _
  1071. ; Maximum number of persistent links.  -1 means no limit.. @2 x" z+ p+ e& w) K
  1072. ; http://php.net/odbc.max-persistent8 M6 b6 y/ @% G7 k$ [, M; Y8 k
  1073. odbc.max_persistent = -1
    ' D/ x# @+ Q! S% A  o$ Y
  1074. : D9 `/ Y0 c3 U4 \* J( M# i
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    8 r' k0 n$ G* p
  1076. ; http://php.net/odbc.max-links
    ) K  T* n% C4 m+ R
  1077. odbc.max_links = -1
    , N( O, _3 Q! {' D; O% s

  1078. / T3 J/ Y+ V- `" z+ I
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    8 @* z( g9 `2 A4 x; u" R. {
  1080. ; passthru.% \5 g- u$ t. O7 v$ p% i/ R4 m
  1081. ; http://php.net/odbc.defaultlrl
    + h' a: x9 P1 V5 ~& F+ q
  1082. odbc.defaultlrl = 40961 m/ }7 F% t$ a% _5 Z( \
  1083. % J% d; w# p& F6 _7 h
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.: r. d9 d; \% W+ h* R& K
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation0 l; ]! d7 i& J2 d8 \3 [
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    ' |* a* ]9 J5 Q3 w2 n# B! G) U
  1087. ; http://php.net/odbc.defaultbinmode
    ; ^: ^9 G  ]  l4 ^  x6 i8 b
  1088. odbc.defaultbinmode = 1
    # s- b8 v* {. P0 m
  1089. " Y9 Q! ?( _  R$ W& o) B3 U
  1090. ;birdstep.max_links = -13 v+ j3 j8 m8 ?3 u
  1091. , K3 h$ X5 v$ @/ v1 L9 l* D% s
  1092. [Interbase]; H. h( m" L. K! j' l
  1093. ; Allow or prevent persistent links.0 X8 A, m& t& m) L1 d. M+ Y
  1094. ibase.allow_persistent = 1
    1 u6 }! o  `4 ^5 q' E+ s

  1095. 7 S8 C: e! h- g" P, l! X' l
  1096. ; Maximum number of persistent links.  -1 means no limit.
    - b: C4 z# n: J6 A: }. S
  1097. ibase.max_persistent = -14 v8 B) q2 Y# B$ j# }+ H
  1098. - G, N3 I2 S/ o  e8 w+ S
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.9 z3 u1 c( Y) }, a% `# J) M
  1100. ibase.max_links = -17 X4 e( O0 x2 w* ^( P

  1101. ( {$ v% M( M/ `" @4 W$ `* Y
  1102. ; Default database name for ibase_connect().
    4 U5 v. j) w$ y1 v' h& O
  1103. ;ibase.default_db =
    1 N5 N( t6 T% t, n4 c) @" v) a4 H8 Y

  1104. . S5 W9 M1 C: X& }8 L  n
  1105. ; Default username for ibase_connect()./ k! c7 g9 q( c$ X0 v9 Q! o
  1106. ;ibase.default_user =
    0 O9 b% N$ E. x, r* b$ z* a+ P
  1107. # ]5 H! Z+ @: A* j* H, z7 p
  1108. ; Default password for ibase_connect().
    0 D9 l3 W; f8 S6 B* d( C+ q: W
  1109. ;ibase.default_password =+ y. p/ J0 F( K
  1110. 5 r# I! w& Q; T; w: b, y
  1111. ; Default charset for ibase_connect().
    ( ~9 o( F' {* l; g1 V! {9 R
  1112. ;ibase.default_charset =
    6 a% N% S2 c* l5 u' g
  1113. 0 v& f) K' P4 L
  1114. ; Default timestamp format.
    . `1 c& |! e, Z2 `, H) Q* v
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    & Q8 N2 K. Y9 ~( e0 K

  1116. " Y- N, ^3 R5 i
  1117. ; Default date format.' W3 p" ~$ V, {; g
  1118. ibase.dateformat = "%Y-%m-%d". U2 J( D, Z/ f9 v2 i

  1119. 4 l) F& d; S3 q8 d# E9 c5 Z
  1120. ; Default time format.) h' `- G4 v; _/ |
  1121. ibase.timeformat = "%H:%M:%S") N1 J0 k( U4 W5 `  `
  1122. 3 p9 a& H# e" D' R# x* C: \; {# o
  1123. [MySQLi]
    0 i7 G8 p7 X+ m& Q4 X- ^9 Q& M
  1124. " |9 c- u8 e6 J6 E' u/ {
  1125. ; Maximum number of persistent links.  -1 means no limit.! p/ ^3 k# Q; S, V
  1126. ; http://php.net/mysqli.max-persistent
    # x3 a4 ~3 Y8 @, K) U; G
  1127. mysqli.max_persistent = -1% x# A8 T, b, s. l

  1128. " t6 Y! P* y4 U0 j
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    + ~0 g' o8 w5 I( Y; d' U
  1130. ; http://php.net/mysqli.allow_local_infile' s$ K0 r& A. h* h! v; b
  1131. ;mysqli.allow_local_infile = On- @+ d# y: @  x3 K! b7 V
  1132. ( O1 X% W4 X8 R) V3 I
  1133. ; Allow or prevent persistent links.
    ' o! h0 |. w: ]: J2 h
  1134. ; http://php.net/mysqli.allow-persistent
    ( i, P! W# l! w! u' ]! c) a
  1135. mysqli.allow_persistent = On
    . b% o/ e, k( ]. d, o1 G
  1136. " J: S% X3 e& {
  1137. ; Maximum number of links.  -1 means no limit.4 k5 t( B# @" ~$ ]- T* ~! S! Q
  1138. ; http://php.net/mysqli.max-links
    ' f7 R- e. g; d5 {7 @
  1139. mysqli.max_links = -1
    ) o: ]0 D. Y! v( n3 V
  1140. , S& Q" @1 {3 s# p" |0 {6 l6 A9 z
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ( C  Y1 u& y' B9 Q) i
  1142. ; http://php.net/mysqli.cache_size
    " ^0 ]0 S4 ^4 a1 f1 J
  1143. mysqli.cache_size = 2000
    # b5 [5 ~4 e2 L: v% C% C

  1144. , a  Z1 V  m- ^
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use2 U- Y& k" ]+ N; `) r* i! ^' @
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the0 H! v' v( O& Q" U2 Z+ r
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    4 e/ s" {$ x3 E* m
  1148. ; at MYSQL_PORT.. o/ W2 C0 f: S. _6 z
  1149. ; http://php.net/mysqli.default-port
    8 N1 @+ _! }, j7 y# [( g0 I
  1150. mysqli.default_port = 33069 x0 r& ]: @! v+ |
  1151. ) f, A9 \, B7 A; P
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ' W& K* ]  r' w( R! R+ v5 l8 h
  1153. ; MySQL defaults.
    - |+ s; i! V4 s. Q* g
  1154. ; http://php.net/mysqli.default-socket
    5 x' K3 ^# R: X1 B- m/ _6 ?
  1155. mysqli.default_socket =7 e' Q: }. u+ G2 x$ E2 m. N
  1156. % ?1 c* m) O/ |' Z% |% Y( {  i
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    3 y3 i7 L% u" x7 L- g( A' }
  1158. ; http://php.net/mysqli.default-host1 [- r" u/ M( q, V- G1 i4 _
  1159. mysqli.default_host =, ~2 G4 N& Y2 Y

  1160. ( j8 Y: t: i2 a) D
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    7 h, W: @4 T8 I1 V  b3 I2 r9 s
  1162. ; http://php.net/mysqli.default-user
    " L* a. r- s0 i3 E. r
  1163. mysqli.default_user =3 V* W; H/ C  k
  1164. 8 i. M) U* |% U; d' e& X4 a
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).! u! D* j* b5 r4 [4 a( d9 K
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    ( H( N  }- `/ F0 p0 s) F) t
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    - j/ ^9 G7 Z- x, T
  1168. ; and reveal this password!  And of course, any users with read access to this- ^4 {0 ?5 m& H) ^$ R
  1169. ; file will be able to reveal the password as well.5 L' _5 a/ k( I4 r. P5 l
  1170. ; http://php.net/mysqli.default-pw
    # P0 b8 O2 S2 H* x7 f6 i1 t% a8 T
  1171. mysqli.default_pw =2 ?9 a& C6 ?% O* A* l) s7 A& w
  1172. $ N; G4 k, u+ a- r) z! w  o
  1173. ; Allow or prevent reconnect
    , m4 S5 |8 f* D) Q
  1174. mysqli.reconnect = Off7 q8 m! z7 |. Q" ?( m2 }9 i. f

  1175. # \+ P  T' T" |, M3 W9 `
  1176. [mysqlnd]4 {6 D! ~$ w4 p1 F4 q5 y
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    , b( y' D/ m" J& G3 B5 _8 z8 c
  1178. ; used to tune and monitor MySQL operations.
    4 N% W; q& H6 ]& y$ n2 Z5 f6 x
  1179. ; http://php.net/mysqlnd.collect_statistics
    . F/ b) v. c( a: K
  1180. mysqlnd.collect_statistics = On/ d" ^" f* }  D; ~, @

  1181. 0 g, Z6 T6 _: T  @3 ~
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    & }8 Z$ J; m- ~$ B: h/ x
  1183. ; used to tune and monitor MySQL operations.
    . P( b, e9 u; \6 y
  1184. ; http://php.net/mysqlnd.collect_memory_statistics% A! r. A, N. B# d; J4 T/ C3 ?! f
  1185. mysqlnd.collect_memory_statistics = Off
    9 M1 J& M! S& b

  1186. 0 r: l/ ^7 W" ~" _  b+ R
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    " r5 L9 \$ ^: @9 T+ A" T
  1188. ; file.& ?  K/ J! b7 ]1 ^' L
  1189. ; http://php.net/mysqlnd.debug4 c+ J$ b. d  k3 R# l! c
  1190. ;mysqlnd.debug =
    3 K0 y% w+ I1 T# h+ s0 X% X6 H
  1191. 4 U' C. o# u# {( X- V* n7 m' U' Z$ s& E% N
  1192. ; Defines which queries will be logged.1 ^2 z* j9 B1 I/ S' E1 d
  1193. ; http://php.net/mysqlnd.log_mask7 e3 d' w, W& d( F' G! D
  1194. ;mysqlnd.log_mask = 0: t. {9 C$ R! r
  1195. 1 w" K: [7 U4 [+ o9 y# @9 Z
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.$ z8 O4 k0 [' Y0 y( P" p9 R
  1197. ; http://php.net/mysqlnd.mempool_default_size
    5 \1 K- }7 o$ x+ h+ D
  1198. ;mysqlnd.mempool_default_size = 16000
    ! A% P3 G* D) o0 t  L
  1199. ! G  r3 F0 y2 \6 j9 s% g
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
      z6 i: \+ c# P
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    2 u0 }) L- n9 B9 W4 e4 E
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    , S5 A% h5 O( b' p: G+ Y3 o

  1203. $ j: C& n: {: [5 V
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in& ~( Z0 r' X  X5 h: a9 g) j
  1205. ; bytes.
    * Q' ?; u& p# E! N  ?; w
  1206. ; http://php.net/mysqlnd.net_read_buffer_size, K; T6 W; b4 |) p# Y* d4 F( r
  1207. ;mysqlnd.net_read_buffer_size = 32768- N% Z$ X$ U& Y2 D* M5 n
  1208. 4 i  J- \& n. b3 L7 ~, P
  1209. ; Timeout for network requests in seconds.8 M9 n, `! }% H# m) D8 D  ?( s
  1210. ; http://php.net/mysqlnd.net_read_timeout
    4 [+ ]( m# I+ d
  1211. ;mysqlnd.net_read_timeout = 31536000, q" @5 o; t; h! \5 R
  1212. " {! V! Z% R+ Z/ ?
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    ; G  |/ X$ W4 G, c7 U' Q$ c
  1214. ; key.# p( Z6 T: D* q+ c; l; W' U
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    ' P, ]! {0 m4 b' ]) w
  1216. ;mysqlnd.sha256_server_public_key =
    7 }0 F1 z0 L( m  F) j

  1217. * t, u- J1 z( x  H8 N
  1218. [OCI8]8 f+ b) q% h0 S. `$ [: I
  1219. $ i3 V- R5 A2 n& g1 V
  1220. ; Connection: Enables privileged connections using external# q8 D  r+ N; Y1 @
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    0 |% s" N4 y( B$ l6 k' I
  1222. ; http://php.net/oci8.privileged-connect
    ' B: U4 Y% s* X+ z' k
  1223. ;oci8.privileged_connect = Off' G. F( r! s2 t1 \
  1224. . _2 F, ^3 P+ }. }" j' m+ {" X9 r
  1225. ; Connection: The maximum number of persistent OCI8 connections per- [& ]$ @! J4 T+ |2 s
  1226. ; process. Using -1 means no limit.8 Q" ]3 E, l; Q! y
  1227. ; http://php.net/oci8.max-persistent
    ( V/ J* |! h1 a9 h! d
  1228. ;oci8.max_persistent = -1
    1 v) r& y3 b% Y. K5 b* B2 e( I
  1229. ) X) F. |, i0 f. `4 o, F% M) @* M
  1230. ; Connection: The maximum number of seconds a process is allowed to  k8 x4 V- i, h  f! E- Y
  1231. ; maintain an idle persistent connection. Using -1 means idle
    4 K" v3 s3 \* @: M+ T' U2 h5 F1 m
  1232. ; persistent connections will be maintained forever.
      g, A# u- Z+ B* l5 r3 ?
  1233. ; http://php.net/oci8.persistent-timeout
      S- E/ {) S/ {, q  K" E5 N7 m
  1234. ;oci8.persistent_timeout = -1: g$ q* P3 e6 U1 p

  1235. # c3 z+ S6 g2 P7 D! p5 w6 S# b" r  k
  1236. ; Connection: The number of seconds that must pass before issuing a8 q8 O( D# b2 R3 d1 T
  1237. ; ping during oci_pconnect() to check the connection validity. When
    6 {$ }( _) ~. _& C3 U( u
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    : {# J0 s9 C" [0 `1 `6 _' t
  1239. ; pings completely.
    ) R1 t' A9 U9 ?
  1240. ; http://php.net/oci8.ping-interval
    0 w7 O& T) p! |6 |) s; Y
  1241. ;oci8.ping_interval = 60$ c; G. L" G6 e4 L4 j. L( {3 b0 K; Y
  1242. 6 N$ ?$ q# W; J# |3 x$ h
  1243. ; Connection: Set this to a user chosen connection class to be used9 ~7 d0 q) X- q5 X1 E
  1244. ; for all pooled server requests with Oracle 11g Database Resident0 `9 A4 c$ P$ C5 E' e8 ^( ?
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to) K$ V/ [4 a5 D! k; N& T
  1246. ; the same string for all web servers running the same application,9 h$ l4 n8 C& \: r( z
  1247. ; the database pool must be configured, and the connection string must
    - t  q8 X: g# s, b; Z! S. ?
  1248. ; specify to use a pooled server.
    # T# f1 W/ L4 V4 ]# k' z; {
  1249. ;oci8.connection_class =
    ; N5 J: l) o  t% b) t2 Q4 p6 N
  1250. ' Y. x' N) m/ V, e3 Q( H1 {3 w3 r
  1251. ; High Availability: Using On lets PHP receive Fast Application
    ( H1 Y% Z1 D  `+ F. ~& m' W
  1252. ; Notification (FAN) events generated when a database node fails. The+ a9 f% i6 z) N: _5 @! J
  1253. ; database must also be configured to post FAN events.
    6 S3 o3 Z  `4 W- ?
  1254. ;oci8.events = Off& P; n2 x2 \6 `; [2 t9 K
  1255. . _) {" p% i) n: }2 v0 z
  1256. ; Tuning: This option enables statement caching, and specifies how& a: ^4 @1 h4 E) \% T
  1257. ; many statements to cache. Using 0 disables statement caching.
    $ n: J- B1 _1 j3 @$ J4 N
  1258. ; http://php.net/oci8.statement-cache-size
    9 g6 f& v! V, p0 b
  1259. ;oci8.statement_cache_size = 20
    5 t1 J; F! k0 Z0 ?) t/ M( o
  1260. & f8 m4 v1 H. i% j
  1261. ; Tuning: Enables statement prefetching and sets the default number of9 I) i3 w2 p% L  a5 U0 f
  1262. ; rows that will be fetched automatically after statement execution.
    + a! |/ f( B' e4 w0 x) G% C
  1263. ; http://php.net/oci8.default-prefetch; ^) D0 V$ B6 G  D" w
  1264. ;oci8.default_prefetch = 100
    * P( ]1 S5 [* @6 k  f+ _! j8 Q. y

  1265. + N* U) U6 c% X, j: E5 \9 {3 v
  1266. ; Compatibility. Using On means oci_close() will not close
    + @' D/ }3 v# Z0 y  I3 R0 H! {
  1267. ; oci_connect() and oci_new_connect() connections.
    * y* B. k! p0 z: e" w
  1268. ; http://php.net/oci8.old-oci-close-semantics
    ' B  D; Y5 P/ P
  1269. ;oci8.old_oci_close_semantics = Off
    ( f" P( {7 ~8 z
  1270. 5 M; G1 f8 g# d; S# e/ r% H
  1271. [PostgreSQL]' F8 S- `$ M! ?) ^. D- {8 j
  1272. ; Allow or prevent persistent links.
    ; r4 c+ X" U$ J4 e( D, \+ q
  1273. ; http://php.net/pgsql.allow-persistent
    ! U5 F# O8 H& i2 b' ~& K
  1274. pgsql.allow_persistent = On
    7 k+ j3 y8 I' r9 Y1 F) [9 r$ b

  1275. & T, |* n' l: R7 T8 C6 ?/ ~+ H7 Q
  1276. ; Detect broken persistent links always with pg_pconnect().5 ~) P4 M; |" C
  1277. ; Auto reset feature requires a little overheads.
      ?/ H9 r- s, T* \
  1278. ; http://php.net/pgsql.auto-reset-persistent$ K) k  B5 T# v6 x& d! _
  1279. pgsql.auto_reset_persistent = Off: t& l! _- L: i* ?

  1280. 0 S) s0 N! m3 y8 G. o
  1281. ; Maximum number of persistent links.  -1 means no limit.
    + O. ~4 i! a' P; p% M% z
  1282. ; http://php.net/pgsql.max-persistent
    0 v$ s" H2 D/ y1 o8 Y1 X
  1283. pgsql.max_persistent = -1
    2 z6 C* ^& b- T
  1284. & I/ v/ i* \% J- P6 E
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.0 @( Q* m  }  j  \2 d
  1286. ; http://php.net/pgsql.max-links
    ; U" x- m+ ~* _+ Q- g1 m5 M, v/ z
  1287. pgsql.max_links = -1; a- e; p0 \# K' ^+ p
  1288. ( K* g0 l: I* G5 S
  1289. ; Ignore PostgreSQL backends Notice message or not.8 x0 T5 Q- e* v0 S
  1290. ; Notice message logging require a little overheads.+ e1 R8 d3 R* M' T# N1 [6 F
  1291. ; http://php.net/pgsql.ignore-notice& L* ~" }4 n# d2 [7 k8 O( V
  1292. pgsql.ignore_notice = 0* t% z/ i3 O$ q: {+ e" ?
  1293. & X! u, E" |' W4 }9 q
  1294. ; Log PostgreSQL backends Notice message or not.) ~+ C1 t  I, @# j# l2 A$ \
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.' U" m5 m) |; _8 V9 Q( x
  1296. ; http://php.net/pgsql.log-notice, c9 Q- z* x4 Q9 \5 y0 i9 j' `
  1297. pgsql.log_notice = 0
    0 X( [* f% [5 ]+ z6 d- e6 X3 K! B

  1298. 3 k, i2 e# j0 P  r* e# [
  1299. [bcmath]
    & Z5 e! S9 u, p/ C5 e
  1300. ; Number of decimal digits for all bcmath functions.
    " G( N% R7 B0 b" L
  1301. ; http://php.net/bcmath.scale
    9 w6 z2 Q5 u9 A2 q0 j7 l  s
  1302. bcmath.scale = 0
    2 B0 u# b( c) D  L: n& K
  1303. 4 u* X7 S0 j  ]" ]! U8 G
  1304. [browscap]
      H) a) [, {; y& S8 l# n+ r1 v1 N
  1305. ; http://php.net/browscap2 M" W# u/ u% X
  1306. ;browscap = extra/browscap.ini2 ]8 v! z0 ?- U& j

  1307. ) y3 c8 G" M/ n' r
  1308. [Session]( V8 W1 ~' [: |% Q- H/ @
  1309. ; Handler used to store/retrieve data.
    ' C: i6 @/ u1 w1 t8 k( s; I% B
  1310. ; http://php.net/session.save-handler0 T0 k6 O) H, ?- r" j
  1311. session.save_handler = files' B9 |. j0 k1 o: z+ e# o& v

  1312. / W) T! M: A1 Q$ z9 T
  1313. ; Argument passed to save_handler.  In the case of files, this is the path; L) x7 g% ]( J, k
  1314. ; where data files are stored. Note: Windows users have to change this$ F. `- O. Z  h( O& X
  1315. ; variable in order to use PHP's session functions.
    6 s1 x# v1 p$ S6 c
  1316. ;
    7 p9 W$ d  [3 r" A
  1317. ; The path can be defined as:
    ( `) @' V' g) H. z
  1318. ;
    6 X" m' k& R7 f1 T1 e! U
  1319. ;     session.save_path = "N;/path"
    6 ]6 ?1 k- }7 n/ E8 ^
  1320. ;' i1 q' G6 z& Z4 b+ ~; }
  1321. ; where N is an integer.  Instead of storing all the session files in
    5 g& C# |9 t, ^! F
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    3 u$ I. w8 ]2 u5 q7 P
  1323. ; store the session data in those directories.  This is useful if7 M; d- W% b* N! T) Y/ i" x1 O
  1324. ; your OS has problems with many files in one directory, and is5 q2 m3 T; w0 Y/ z
  1325. ; a more efficient layout for servers that handle many sessions.
    : }9 N" h' [# d! J$ W
  1326. ;/ [+ ^0 H' j* U4 v2 p( Q2 r
  1327. ; NOTE 1: PHP will not create this directory structure automatically.; `5 `6 v, T) i
  1328. ;         You can use the script in the ext/session dir for that purpose.8 z6 w1 E% }- O7 {9 q
  1329. ; NOTE 2: See the section on garbage collection below if you choose to$ L. |' R* p6 a7 D3 n
  1330. ;         use subdirectories for session storage
    5 L$ t% e* f& P! H5 J$ i# p
  1331. ;
    " T5 j5 q  R1 W8 G8 `& }
  1332. ; The file storage module creates files using mode 600 by default.0 Z, q! N% `  L+ I. i9 V
  1333. ; You can change that by using
    9 ~' @. |; I+ ^0 }1 k6 i
  1334. ;1 g, |- [: }( s0 |( z
  1335. ;     session.save_path = "N;MODE;/path"
    7 j7 \- f* t& O( W+ w. K
  1336. ;
    7 S. z4 e6 y2 U
  1337. ; where MODE is the octal representation of the mode. Note that this
      ?; j: a/ F$ `2 l! N: x4 P; Y! y8 c
  1338. ; does not overwrite the process's umask.' O4 _6 a/ d2 W+ L
  1339. ; http://php.net/session.save-path( f' ~& L+ _4 l+ T
  1340. ;session.save_path = "/tmp"
    ; v; u1 R% k/ s- R$ \$ A9 R7 h

  1341. . y6 m) R. V9 g" \
  1342. ; Whether to use strict session mode.
    : @7 K7 h4 M5 g0 v; O- C
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate+ v  h( f) A9 ^4 G5 m! l3 u2 `5 ]
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    ) _1 G$ R( _; h
  1345. ; applications from session fixation via session adoption vulnerability. It is2 b) u5 x. O$ v
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    0 J: \; r* g* b+ u) |5 e
  1347. ; https://wiki.php.net/rfc/strict_sessions" ^! j1 T  F! f7 ]! A4 |
  1348. session.use_strict_mode = 0
    3 t! S- J; k: Q. B/ n% B+ F

  1349. ; j; p* T  z4 F- ~9 D
  1350. ; Whether to use cookies.
    7 ?# }' T0 [- n3 s% x
  1351. ; http://php.net/session.use-cookies
    , w. s  N$ ?  Q* V9 c* c
  1352. session.use_cookies = 1
    ; r8 u' o8 m: R8 W+ u. D* x' j" _
  1353. ; s9 i( i5 n2 r% e
  1354. ; http://php.net/session.cookie-secure& R' k% y7 H4 @$ t5 X
  1355. ;session.cookie_secure =7 c8 t$ J; v3 x! y' ]+ ^
  1356. ; m: w/ R) ~+ J+ ^4 Z. N
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining$ |! k- [* {# E7 x% N
  1358. ; the session id. We encourage this operation as it's very helpful in combating& Z( g- f2 B4 F* B# [6 ~
  1359. ; session hijacking when not specifying and managing your own session id. It is
    ' D$ d% _/ V) I
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    * @7 O( z  {8 E* f; J
  1361. ; http://php.net/session.use-only-cookies
    - [/ U* k5 c7 \* t: e
  1362. session.use_only_cookies = 1" F7 s/ G# W* w) U, ~0 O0 @9 H- H
  1363. 2 P8 g) v) j# _& J/ g& y/ Y& w- ?) J& \
  1364. ; Name of the session (used as cookie name).  `. ^2 w/ L( g- N8 j& }
  1365. ; http://php.net/session.name
    $ s1 |4 r6 @1 V/ }7 f0 w
  1366. session.name = PHPSESSID% b. O: h7 w6 t) R* H+ Y5 R1 r

  1367. 0 ~8 X' D- [! p3 h- }4 r: A6 d
  1368. ; Initialize session on request startup.  t/ N  w2 F5 e+ o6 t0 a
  1369. ; http://php.net/session.auto-start" k& x5 h6 Y, U
  1370. session.auto_start = 0
      P1 w$ L& a- s1 d$ I6 k0 L

  1371. 1 B( n& h9 X6 m
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.1 `$ ~. h3 ^" m8 ?% z+ k# a0 {
  1373. ; http://php.net/session.cookie-lifetime  T  m. `5 Y+ _8 S
  1374. session.cookie_lifetime = 0
    2 x+ [- f2 J* i( F2 H

  1375. - a1 l3 J- h$ {5 v  j; u
  1376. ; The path for which the cookie is valid.  F5 F- I" |/ h: l6 s2 ?. G: `
  1377. ; http://php.net/session.cookie-path; P& F# s, q* F/ B
  1378. session.cookie_path = /1 ?# z* L4 i5 G* n: q* z* t  N
  1379. 6 T$ Y, B; D9 ]& B5 e6 G* h+ C- Y
  1380. ; The domain for which the cookie is valid.; L6 r( T. L  p& @" `
  1381. ; http://php.net/session.cookie-domain% D: ]; P1 |" J
  1382. session.cookie_domain =
    : M9 i4 J4 N" q/ o* W
  1383. ! R' n8 E2 `$ V: J0 v3 z  N: k
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.' o* ]6 w& {6 u+ h2 b9 y5 I0 s
  1385. ; http://php.net/session.cookie-httponly
    3 L3 t* x# j0 u# F6 a
  1386. session.cookie_httponly =$ x4 g* U, g- Y. T) C  i
  1387. & x: ^  I; t8 A
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP./ G6 M8 x3 ~& @$ S( \5 c# `
  1389. ; http://php.net/session.serialize-handler6 P9 [/ @- T+ _6 W$ X8 Q" c& P
  1390. session.serialize_handler = php* h! G3 x) v! p0 ]. A9 Z3 `

  1391. - @* ~: i  ~; `% O! c$ n6 _
  1392. ; Defines the probability that the 'garbage collection' process is started
    1 G, `! Q+ L  ]) ~. o: k
  1393. ; on every session initialization. The probability is calculated by using
    . T& t6 z! W6 e
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    $ p, o  D& m; ?; z% C
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1+ N( a& J7 ~9 Y3 L& O. Z
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance( Z2 t$ R9 O& N: p  L& Z- R
  1397. ; the gc will run on any give request.
    ' x1 b3 f- [7 e
  1398. ; Default Value: 1& j6 {9 i3 n, d: {
  1399. ; Development Value: 1. _( B& E' C" D  |/ c
  1400. ; Production Value: 1+ v  ?& O* Y$ [9 n$ R: I. ^
  1401. ; http://php.net/session.gc-probability
    6 F7 ~% [2 x" ^: Q9 T9 J2 {$ |
  1402. session.gc_probability = 1
    9 C# n+ L) O$ n* J8 p2 u3 B/ n( [4 n
  1403. 3 S2 A8 f, T- ~
  1404. ; Defines the probability that the 'garbage collection' process is started on every, d0 v5 B( u7 u% B( W0 w6 k$ @
  1405. ; session initialization. The probability is calculated by using the following equation:( u, ]; V# N6 O- G% `
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and, C  ~5 o: c, a+ ^8 |( L# ?: m
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1; y# y4 o) c& s9 E# V  X' ?+ E
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    2 O* S- R+ w( w- ~& L
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you% z6 ], y- J4 E7 U1 Z0 b
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,; m- [' D7 |6 y+ ~! }  @& a$ i
  1411. ; this is a more efficient approach.; G; D, J- f/ [
  1412. ; Default Value: 100
    9 F+ L! l- K* K  B7 ^. x/ W
  1413. ; Development Value: 1000
    3 Y1 o, b0 w  W) H; V7 t* V
  1414. ; Production Value: 10005 C& U; b$ W4 Q5 z6 g0 p2 u: e
  1415. ; http://php.net/session.gc-divisor
    " n- J( [* B3 r! G% b' |2 s% q
  1416. session.gc_divisor = 1000
    ! e4 ^  t2 M. T: Z+ O; P( W

  1417. ' H! P& }) q) h' X9 r! Z
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    $ x, D/ n1 k" _- G/ n" ^7 L
  1419. ; cleaned up by the garbage collection process./ a. h9 `+ S* L- p* Z9 Y
  1420. ; http://php.net/session.gc-maxlifetime( Y$ k. j* K- ?. J
  1421. session.gc_maxlifetime = 1440" A! y' a: L0 B1 |+ Q, J) p2 f* r9 x; E
  1422. $ N- Z' J* u) s" E8 R' t: a2 m& w
  1423. ; NOTE: If you are using the subdirectory option for storing session files) V0 O, O9 ^/ C8 H' m# E3 S
  1424. ;       (see session.save_path above), then garbage collection does *not*) l& m9 Z7 E3 s# U5 Z% R- I) Y+ A5 ?( K
  1425. ;       happen automatically.  You will need to do your own garbage. f. h3 h1 K+ A5 z, [/ y5 f+ B* C
  1426. ;       collection through a shell script, cron entry, or some other method." c  V, r* H' @6 s) K) C* g2 t
  1427. ;       For example, the following script would is the equivalent of
    ; q. m3 }  h% V7 X
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):& ^6 I1 v/ ]" b/ G
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm! I- X8 p% u- ]  {6 i6 U) J
  1430. . R) {' O( s' Q
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    . x) A2 J/ u9 e2 ]; H
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    1 H, J! s# ?9 r$ X# F
  1433. ; considered as valid.
    8 J; |' |  y, M) ?5 x% d
  1434. ; http://php.net/session.referer-check8 e0 J2 i+ I! U7 W: ?7 e2 n
  1435. session.referer_check =
    1 c7 U6 N: C& T' b

  1436. ! y( I( i  W3 O- Z+ i
  1437. ; How many bytes to read from the file.
    " a) I& d9 K6 s4 `3 E
  1438. ; http://php.net/session.entropy-length
    1 L1 ]# ^' ^/ C8 K
  1439. ;session.entropy_length = 32# h% N0 N5 h# x, U" k$ ]
  1440.   g+ D4 k' r7 i% J/ ^; r2 @  o
  1441. ; Specified here to create the session id.
    , |1 g) n$ H2 N( G0 ?2 v' v
  1442. ; http://php.net/session.entropy-file5 X- ^8 Q2 U/ L  [+ P' j
  1443. ; Defaults to /dev/urandom# K5 @) h0 s, M. D. \# o/ L1 c& q* c
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom* [7 g) i+ i7 i& F6 E# E
  1445. ; If neither are found at compile time, the default is no entropy file.
    % M( m  M$ f: s- P( K& g9 O0 U% `
  1446. ; On windows, setting the entropy_length setting will activate the
    3 i% G+ x8 v* \  w* Q
  1447. ; Windows random source (using the CryptoAPI)
    3 s- O! e* u! f, V+ U
  1448. ;session.entropy_file = /dev/urandom  O# r: h/ E0 q! u! c: o

  1449. + s7 i) Y# j' O2 [! w) O7 ?6 f; ]
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    3 ~3 o2 W% T% r) f5 _
  1451. ; or leave this empty to avoid sending anti-caching headers.
    2 `- ]2 I/ I# m6 P
  1452. ; http://php.net/session.cache-limiter- t8 ]4 v- W) K# H; Z4 Z* V/ o5 F
  1453. session.cache_limiter = nocache5 v4 r4 k+ D! H/ Z) }
  1454. . @. M9 ^! |* ^; z2 [
  1455. ; Document expires after n minutes.8 a5 b& G6 s# T0 r2 o, C+ T
  1456. ; http://php.net/session.cache-expire
    " E7 U$ o2 m- [+ G
  1457. session.cache_expire = 180
    $ }9 Y8 W$ N3 {8 `  o3 g0 \
  1458. $ ^( s0 L0 p# y* e7 O0 x3 P
  1459. ; trans sid support is disabled by default.
    3 g/ L/ k& Y% y8 S
  1460. ; Use of trans sid may risk your users' security., r* l2 J# B( j2 M
  1461. ; Use this option with caution.
    3 h4 R2 e; `  t1 G+ i$ B$ ?
  1462. ; - User may send URL contains active session ID) ^% `2 J6 d0 }. ^& ?( x
  1463. ;   to other person via. email/irc/etc.! u# B, J" b5 |
  1464. ; - URL that contains active session ID may be stored. _- I, M3 |. ~1 U: E& a
  1465. ;   in publicly accessible computer.
    8 I2 K/ h' `' d& ^+ E' O" u9 @
  1466. ; - User may access your site with the same session ID
    1 ~! _; d/ Y6 u; U. \7 y
  1467. ;   always using URL stored in browser's history or bookmarks.
    : a+ ^: b/ q- _; l/ C
  1468. ; http://php.net/session.use-trans-sid
    # s% S/ b$ {* r4 T! ]7 O
  1469. session.use_trans_sid = 0% x* j6 S" E. u) I0 A9 H+ Y: W' a
  1470.   e" v, E$ h0 x, ?
  1471. ; Select a hash function for use in generating session ids.' E3 D5 ^7 W2 q8 O! T$ X
  1472. ; Possible Values
    - M7 I( b! z) U' J
  1473. ;   0  (MD5 128 bits)
    . \9 x7 K$ ?2 D5 V" M8 M
  1474. ;   1  (SHA-1 160 bits)+ K+ d5 e' M" X9 X8 i
  1475. ; This option may also be set to the name of any hash function supported by; W; t! b, N/ I  H9 m7 f0 i$ r- q  W) F
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()- {% Y' o( ]; f
  1477. ; function.
    : F6 ?: p9 G# X5 B0 `) E; Z' x9 o
  1478. ; http://php.net/session.hash-function: A9 Z0 K" r6 S5 w
  1479. session.hash_function = 0% Q/ k7 B  z3 D; O* d

  1480. 0 ^; d9 J* T! r. G
  1481. ; Define how many bits are stored in each character when converting# S- s/ z* ?% t# M4 U8 F
  1482. ; the binary hash data to something readable.9 m# W" S8 t! T" C" ^$ r+ ^: o; L
  1483. ; Possible values:! R9 G6 {2 q" K7 K* N8 `
  1484. ;   4  (4 bits: 0-9, a-f)
    . {5 e- S) e. d! [
  1485. ;   5  (5 bits: 0-9, a-v): ^- B- _7 T9 W8 i! V5 L
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")' `! G) e: C# A$ U' v% _
  1487. ; Default Value: 4
    ' |& x6 s. J/ ]& [, Y, v
  1488. ; Development Value: 5
    ! h) n2 Q5 ?, D9 K+ b
  1489. ; Production Value: 5. N7 j" }* F/ k% E( \+ @
  1490. ; http://php.net/session.hash-bits-per-character% M5 u: X0 _' {$ Y' B2 F7 k
  1491. session.hash_bits_per_character = 5
    + e1 u4 k( ~) X; q( h3 s0 V1 ~8 w9 C

  1492. - n* G8 S! h# U, D  S
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    . I! R5 p8 V# ]: \6 f; x( N" {5 _
  1494. ; form/fieldset are special; if you include them here, the rewriter will! M' O" n6 C+ D
  1495. ; add a hidden <input> field with the info which is otherwise appended
    ' P/ p! [. @0 a5 P5 y7 L6 U
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    0 |1 I- P' \+ a9 `* L  i0 }
  1497. ; Note that all valid entries require a "=", even if no value follows.
    , K8 B6 _- F& y$ B
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset=", Y9 N5 }5 l/ b
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"  k1 g1 f" s3 L+ M% ^8 R) ^
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    0 C1 {# u  j* G/ M  ^5 q
  1501. ; http://php.net/url-rewriter.tags3 n! p/ l3 r2 V4 e' Z
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    0 \$ E. p- `3 @  H, N0 C
  1503. + P" t5 a; K1 P9 A9 l  d
  1504. ; Enable upload progress tracking in $_SESSION7 ~9 b7 t) M) b- b( b
  1505. ; Default Value: On" h' C2 L) v& e/ Y
  1506. ; Development Value: On
      `, x6 L% U! }" Z3 ?% s8 Q2 _2 A
  1507. ; Production Value: On- c6 B  \  R% S& i  E# V' c
  1508. ; http://php.net/session.upload-progress.enabled% }. F: j! I) m! c2 l
  1509. ;session.upload_progress.enabled = On; N2 g& u+ V3 T" ^0 i; c

  1510. + L# ]" q8 i; M: v
  1511. ; Cleanup the progress information as soon as all POST data has been read9 _/ T) [3 Z3 E% b2 z: n
  1512. ; (i.e. upload completed).+ {  [: f* r' \" F. ?' l
  1513. ; Default Value: On
    6 q2 [5 }4 ~2 n6 A
  1514. ; Development Value: On
    6 I# ]0 i1 }* \- M! h
  1515. ; Production Value: On
    * |: K! }; @# T/ y4 G
  1516. ; http://php.net/session.upload-progress.cleanup0 q" n, t$ ?' h% V! ?- X
  1517. ;session.upload_progress.cleanup = On+ Y  X8 ^% W3 O, r
  1518. # ?, J0 Q% W3 n) ~& A/ y
  1519. ; A prefix used for the upload progress key in $_SESSION
    * ?- B  _- g% K1 {' s
  1520. ; Default Value: "upload_progress_"
    4 I  `* ?; u. f' x
  1521. ; Development Value: "upload_progress_"$ a7 ^8 J1 i- N
  1522. ; Production Value: "upload_progress_"
    , k5 |: ?& c. e. i" M9 d, e
  1523. ; http://php.net/session.upload-progress.prefix+ M* {. W+ j  c6 A" d: t& t
  1524. ;session.upload_progress.prefix = "upload_progress_"
    4 v% z$ N- r" R/ @

  1525. $ U2 T% C) S4 `9 I4 a0 A2 v
  1526. ; The index name (concatenated with the prefix) in $_SESSION3 Z* c* q$ c1 N4 m2 r6 B6 P
  1527. ; containing the upload progress information* \  Z0 r  L/ @, i, w
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"8 d! K6 a+ j: e2 D: _- M# e
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS". `' i% |% A* y4 ?1 O
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    # P* r  J. i) h' I% Q3 u
  1531. ; http://php.net/session.upload-progress.name2 T9 c8 z9 G1 ~8 p( d! p: p
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"1 B) _  c3 E- D5 D" t

  1533. 3 a# n/ t% T* z3 M2 B
  1534. ; How frequently the upload progress should be updated.
    ' |* r$ z3 K: P7 D
  1535. ; Given either in percentages (per-file), or in bytes" }8 j: Z- M0 X3 R) V% {
  1536. ; Default Value: "1%"0 ~3 t& T! O1 `
  1537. ; Development Value: "1%"
    4 G1 Q5 X  W0 a2 S1 R) h
  1538. ; Production Value: "1%"
    / \$ c, t1 `- s8 b. E8 l
  1539. ; http://php.net/session.upload-progress.freq1 V. P0 u5 x* o0 L# E5 F) P/ ]
  1540. ;session.upload_progress.freq =  "1%"
    ! _4 b) D# Q  _, N+ \' m
  1541. 8 B1 ]1 C5 @, |
  1542. ; The minimum delay between updates, in seconds4 n: y7 D  D+ N. v
  1543. ; Default Value: 10 Y% m: t+ E7 s$ J% r# f
  1544. ; Development Value: 1- b8 \& Q( P1 E
  1545. ; Production Value: 1
    2 J3 S! L3 Q( d8 ]0 T
  1546. ; http://php.net/session.upload-progress.min-freq# J$ c% p+ S4 P
  1547. ;session.upload_progress.min_freq = "1"; \7 m$ |6 y6 U2 u: V5 X

  1548. " B+ M$ Y7 w& l# s% O
  1549. ; Only write session data when session data is changed. Enabled by default.2 w7 P& r* S5 e' e( k7 r" v- }
  1550. ; http://php.net/session.lazy-write6 k& i: U' E6 u
  1551. ;session.lazy_write = On& T5 [! S9 e+ p, J
  1552. , Z) Z1 `9 h, Q& z3 H1 R
  1553. [Assertion]& c  y6 f2 D7 l) e( ?/ e
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)& v# o; o& S& ^3 u% ~- i
  1555. ; -1: Do not compile at all4 M- H4 B8 E- `( H3 Q! v! p
  1556. ;  0: Jump over assertion at run-time: X2 V3 ?4 c$ e; Z' ]5 y
  1557. ;  1: Execute assertions+ q3 Q5 m6 O) t, D( y
  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)1 r! i0 k5 q% {
  1559. ; Default Value: 1
    : l! O  B7 Q. U6 |6 }
  1560. ; Development Value: 1+ K; \8 Q" y' Q# `& L8 G9 E
  1561. ; Production Value: -1; O1 e0 w" y) C, o- r
  1562. ; http://php.net/zend.assertions
    9 I; [& G$ M6 [* _- q: L/ t
  1563. zend.assertions = -11 h" N4 s( E( b. |( f- I
  1564. 9 H2 \$ e1 h0 c0 L& F
  1565. ; Assert(expr); active by default.! G1 b, Y- ]0 g7 ?3 m# r
  1566. ; http://php.net/assert.active: o6 s2 _# f+ i5 e/ q0 A) K
  1567. ;assert.active = On& s( `5 ?3 R: c6 A+ B4 D
  1568. 0 D! v0 p+ x( h" \$ T3 j# ^3 s/ k
  1569. ; Throw an AssertationException on failed assertions
    ) q. _) a6 f4 Y% J0 f! G/ }6 s
  1570. ; http://php.net/assert.exception
    7 w5 {' N  k# A& _) c8 x
  1571. ;assert.exception = On
    + o  b  Y8 [# C; v) n9 `8 I$ k5 {1 v" m
  1572. & e5 w% M: Z( U
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)0 |' `0 d+ a; g6 p+ V7 l9 r
  1574. ; http://php.net/assert.warning
    5 E. G8 K& ^) Q6 O% Q: G4 |. s
  1575. ;assert.warning = On
    7 X' c  Q: G0 M: o  R4 V2 P) n* @

  1576. # ?  i6 z" x; L# a3 ^% {
  1577. ; Don't bail out by default.9 R9 k& A1 P9 q( u+ Y. j
  1578. ; http://php.net/assert.bail4 e' ?3 x2 C. r1 U
  1579. ;assert.bail = Off- f/ G( {+ r# k7 z. d3 D% [$ C

  1580. 4 ~! K' _* B9 p) s5 p4 I
  1581. ; User-function to be called if an assertion fails.
    % L5 A0 q6 ?; d
  1582. ; http://php.net/assert.callback; e/ F) B; c0 E* S# t+ W3 k( R
  1583. ;assert.callback = 0
    ! z! E1 D6 ]/ b5 H9 N& N4 X% ~

  1584. ( r- `+ o7 P! o* n
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    3 f1 z+ |% [3 Q- [8 N3 j
  1586. ; error_reporting(0) around the eval().  G7 o6 p; L2 V8 p+ p
  1587. ; http://php.net/assert.quiet-eval2 N7 a5 `% b& W' p% C. L
  1588. ;assert.quiet_eval = 0  v% a. ~- ?/ e  {+ J

  1589. ! d9 {1 D3 y" R7 f3 q' S
  1590. [COM]: ^$ R% o9 t) Y  g& |" G
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    3 m! f1 x* P: ?3 N
  1592. ; http://php.net/com.typelib-file; f$ P! s* u# a. L7 S
  1593. ;com.typelib_file =* @  z; \) [3 o1 p. L

  1594.   Z! ?. {. e6 j4 _1 ]4 {2 z
  1595. ; allow Distributed-COM calls
    / n, E7 ?, g/ W; {( k" N4 S
  1596. ; http://php.net/com.allow-dcom+ u; o, L  Q% @4 \  [
  1597. ;com.allow_dcom = true
    2 [) N- z0 S; D/ A

  1598. - K$ ?& H: H& l3 j% J( V
  1599. ; autoregister constants of a components typlib on com_load()- l' c- u9 ^5 t  P% ]9 H+ N5 v4 R
  1600. ; http://php.net/com.autoregister-typelib
    " h$ L: y4 B0 v7 z" O
  1601. ;com.autoregister_typelib = true
    5 G) |# E+ T: |' O7 D
  1602. 4 M0 \0 |4 `4 X/ k9 A$ Y4 h- f
  1603. ; register constants casesensitive# Q) o/ C5 ?; Z/ K" g. s( S
  1604. ; http://php.net/com.autoregister-casesensitive
    & D  D7 D5 _0 X% L* ]7 s
  1605. ;com.autoregister_casesensitive = false9 ]: R9 d9 b, g. h7 V# K& J, a8 a
  1606. 8 [) @' B6 w5 s0 b( }# M  n( u
  1607. ; show warnings on duplicate constant registrations
    * K7 l6 q7 F% {7 u
  1608. ; http://php.net/com.autoregister-verbose
    * t* D; E( Z6 i
  1609. ;com.autoregister_verbose = true
      J1 Q9 _+ Z7 f

  1610. 3 E( G" X, s! g1 Q6 Q2 z! K: a8 g
  1611. ; The default character set code-page to use when passing strings to and from COM objects." u; {3 {% n  T
  1612. ; Default: system ANSI code page
    # c. s9 L5 D1 \
  1613. ;com.code_page=; A$ f7 l5 B" y- U* K( e
  1614.   P5 y+ y& J, P6 P8 N8 h) m
  1615. [mbstring]8 ]% Q/ e2 g9 Y) W7 V, |
  1616. ; language for internal character representation.
    5 n& c' X( w3 }
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    & a, v+ t9 E" h0 p' o
  1618. ; http://php.net/mbstring.language0 l, G# I1 Z, _- Z6 R9 m+ O$ e
  1619. ;mbstring.language = Japanese/ N1 I$ C& c( p7 L

  1620. 4 O& r8 h$ c; i% y3 E: _& n: _, Y
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    , v: a$ t0 U( x2 e
  1622. ; internal/script encoding.
    % t$ A1 M$ Q; m1 `5 E
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*), ]. Z" [- J1 o
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    3 G7 |0 {, i- u$ r; g
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    " l2 W/ L0 ~; e+ Z; Y
  1626. ;mbstring.internal_encoding =
    2 _, d/ S# c; O4 h  n- W
  1627. , N. b  [" Z( s9 ^1 g
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    ) F: e2 p/ O; p& c4 R1 W; h
  1629. ; http input encoding.
    " t: t0 h' v% I0 }
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    ; S4 C. l/ v* L" i% ~) F, P
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.6 V. z' [4 y. @1 K- `
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input; [0 d, V* M1 B1 }
  1633. ; http://php.net/mbstring.http-input4 D+ F0 N( W2 ?2 |5 p
  1634. ;mbstring.http_input =1 [! x4 M, }0 O+ j

  1635. ! c" c; h3 ?# s$ X  x" h4 H; y2 J
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead., G& f5 T; @0 O  n
  1637. ; http output encoding.
    2 V" t& r- h9 ~- f/ [+ \6 q
  1638. ; mb_output_handler must be registered as output buffer to function.- ]7 ?( w  N0 r
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    ' p5 ^% v) x6 v
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output0 x; R1 j" b, b# q7 p) J7 k/ M
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    $ I! a0 Z1 X- l0 j) Z
  1642. ; otherwise output encoding conversion cannot be performed.' D/ ], w2 |3 q- L3 X9 L
  1643. ; http://php.net/mbstring.http-output
    / _  q+ S$ u4 X& }7 V
  1644. ;mbstring.http_output =4 q  V5 i/ [4 D, E3 W" g

  1645. % X7 Z2 ^& r- X7 A0 @
  1646. ; enable automatic encoding translation according to- D5 f; ~( h4 G* ~: \/ O- J
  1647. ; mbstring.internal_encoding setting. Input chars are. j8 O" c/ o' f! v8 Y  e
  1648. ; converted to internal encoding by setting this to On.0 y& D7 O( l) ~! h4 W5 ^; K6 L
  1649. ; Note: Do _not_ use automatic encoding translation for4 `/ r2 C3 {9 L' [# V
  1650. ;       portable libs/applications.
    - C* r+ W+ P+ h
  1651. ; http://php.net/mbstring.encoding-translation" q7 v$ B; L; U
  1652. ;mbstring.encoding_translation = Off! T1 g; g3 m7 w( D. q- ?

  1653. 4 ^$ Z2 F6 j8 s: m
  1654. ; automatic encoding detection order.7 o( j+ E5 I" t- e6 w1 V
  1655. ; "auto" detect order is changed according to mbstring.language
    " m6 N+ g" _9 V' W$ ^5 ]
  1656. ; http://php.net/mbstring.detect-order& N3 |7 W" D$ J2 _
  1657. ;mbstring.detect_order = auto- H0 c  ~: ^" q: a2 S
  1658. 0 j6 P% }* K! K
  1659. ; substitute_character used when character cannot be converted
    " d  }" x  c( v5 `  O" l
  1660. ; one from another' C+ [2 m: f! t9 u& B7 D' w7 m+ k7 [
  1661. ; http://php.net/mbstring.substitute-character" m5 [, ?) V7 P8 D4 D  ]
  1662. ;mbstring.substitute_character = none  V9 ]+ j0 ^4 P
  1663.   q/ A4 L5 m/ K3 j
  1664. ; overload(replace) single byte functions by mbstring functions.) ~5 T4 y, Z1 Q% ^9 J  @
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),6 u' M2 T3 W2 I/ H5 k6 t4 h: p
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.- V6 s* [7 ^0 e5 G
  1667. ; For example, 7 for overload everything.
    , L# X* Z! m" _
  1668. ; 0: No overload+ P) p; o0 q5 E0 F
  1669. ; 1: Overload mail() function: |/ s+ |( e  C8 c6 w, v5 G# @
  1670. ; 2: Overload str*() functions" k( y* A4 _* ~. d/ A7 @3 U
  1671. ; 4: Overload ereg*() functions
    3 i- v; s  y, X  E/ z1 z+ o
  1672. ; http://php.net/mbstring.func-overload
    # d0 X  z! J" t1 Y7 T
  1673. ;mbstring.func_overload = 0& b# ?% q2 w$ n9 ?3 }$ p

  1674. + d- T! V8 i( z
  1675. ; enable strict encoding detection.
    % C' a" c/ @5 L# k; v3 P
  1676. ; Default: Off
    , d4 d4 [9 k; C6 ]# m4 M
  1677. ;mbstring.strict_detection = On
    ! y0 C0 f' u" x' L# O8 H) s
  1678. 5 _4 J8 _6 l) W! M! i. m
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    8 ^( E3 |+ C( n" h
  1680. ; is activated.. E. [# v: g# ?4 O! ?1 N  Y
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    6 z, j7 ~- W6 ?2 G4 p
  1682. ;mbstring.http_output_conv_mimetype=- Q% `6 [8 K' w  Q* y. {& }" b

  1683. 3 Q/ ^+ s+ `& Q5 c1 ^
  1684. [gd]1 ?5 s! U& s7 @& A( P& v( [
  1685. ; Tell the jpeg decode to ignore warnings and try to create7 u- r) |* ]" ]* e+ Q: G) I
  1686. ; a gd image. The warning will then be displayed as notices
    6 n+ S* h; S1 v6 A$ R$ x) ^3 \
  1687. ; disabled by default: j8 X: \/ [5 v. u$ t
  1688. ; http://php.net/gd.jpeg-ignore-warning
    3 x3 b' m8 i  e& f
  1689. ;gd.jpeg_ignore_warning = 0
    " q1 n8 c5 K0 k0 E

  1690. ! b; y9 S  N% o) j$ t
  1691. [exif]
    2 n7 }/ n) N+ g3 i0 n
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    ! [' b- n1 I1 g
  1693. ; With mbstring support this will automatically be converted into the encoding+ A9 t; d+ a% `1 M9 [
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    ! \9 r5 i! [' |1 n1 w7 m
  1695. ; is used. For the decode settings you can distinguish between motorola and+ L' I* t$ [' l/ j2 j/ N
  1696. ; intel byte order. A decode setting cannot be empty.
      P6 {, h/ A2 ^$ H, d/ y6 t. B
  1697. ; http://php.net/exif.encode-unicode7 ~) D+ `/ S: H/ v. h
  1698. ;exif.encode_unicode = ISO-8859-15* h7 r3 Q# L* ~. q' P8 C6 w
  1699. ! s$ d6 y2 z( F% u# \; G/ A
  1700. ; http://php.net/exif.decode-unicode-motorola2 K  h! J, N1 l$ r2 Q& B0 F& S! S
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    0 ?4 M; N2 M" V6 o

  1702. $ `0 q2 A, p# q; e9 M
  1703. ; http://php.net/exif.decode-unicode-intel4 ?8 E' V: S0 b/ h: K
  1704. ;exif.decode_unicode_intel    = UCS-2LE' t: ?/ V: m, M( @4 v4 F: e! T4 G# }) r

  1705. ( _) z. P& D& |  D/ V/ e
  1706. ; http://php.net/exif.encode-jis; p7 R1 B7 ^5 m0 b. u
  1707. ;exif.encode_jis =  T) P3 k7 V8 G' X6 w! h$ c- L
  1708. 1 C# e) L* X; \9 p/ R, J8 a
  1709. ; http://php.net/exif.decode-jis-motorola2 V0 h7 g9 j  p% X) `9 O$ v; H8 p
  1710. ;exif.decode_jis_motorola = JIS) Y; J1 V( Y( b3 h

  1711. 9 v& U- }/ a. f: R
  1712. ; http://php.net/exif.decode-jis-intel
    1 L# k/ X4 p6 w5 s* [. |$ i2 [8 L
  1713. ;exif.decode_jis_intel    = JIS- L' F4 W# g4 o. ?" h8 c* g

  1714. $ v# y  [8 t; y4 b2 _# f
  1715. [Tidy]
    ( d9 Z. A8 N0 d. q% j5 s- Y7 V* X+ G
  1716. ; The path to a default tidy configuration file to use when using tidy
    1 c* }! @+ A1 h2 s2 I. |
  1717. ; http://php.net/tidy.default-config& N/ {" m0 E7 V4 i1 |' h! E1 J8 T
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    & @8 e5 J" |8 x" A
  1719. 0 [0 R! @# C% o, ^  H' M
  1720. ; Should tidy clean and repair output automatically?
    # h9 V7 t/ T3 o
  1721. ; WARNING: Do not use this option if you are generating non-html content7 V' B; u  M0 A( C+ M& }- [% F4 P) C
  1722. ; such as dynamic images1 `( Q  J/ M: g9 `
  1723. ; http://php.net/tidy.clean-output
    6 U5 x. Y$ s3 x' Z# b' G
  1724. tidy.clean_output = Off3 r* v( j+ M- j
  1725. & K- Z; l4 u  F# N
  1726. [soap]- h7 I/ U$ G% i1 P3 e
  1727. ; Enables or disables WSDL caching feature.
    0 D; @% c6 t" e* u' N  N
  1728. ; http://php.net/soap.wsdl-cache-enabled
    1 c" o. C' w, m1 f8 f
  1729. soap.wsdl_cache_enabled=14 ^3 \- ]* |( G: g5 p4 I
  1730. : ^0 f& m: a1 _0 O' ]# u. |2 _
  1731. ; Sets the directory name where SOAP extension will put cache files.
    , l$ `% f' g" y3 h$ _! o3 a5 t
  1732. ; http://php.net/soap.wsdl-cache-dir3 m$ v. M7 b% g3 T
  1733. soap.wsdl_cache_dir="/tmp"
    " i0 t% Z4 r- o* `
  1734. 8 Z+ a: |! M: ?- T3 D2 o! d
  1735. ; (time to live) Sets the number of second while cached file will be used8 p) J! u' C1 U* P5 j* _
  1736. ; instead of original one.' V( B' d  w- h2 D: w( s7 E
  1737. ; http://php.net/soap.wsdl-cache-ttl$ a3 Y6 f/ \, I0 K* J$ A
  1738. soap.wsdl_cache_ttl=86400
    8 T/ \$ h8 d: ?) ?9 o! E4 q

  1739. - b+ I! i: n4 Q, |; y0 E
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)' K3 F. |$ P+ R5 O7 q/ w2 `
  1741. soap.wsdl_cache_limit = 5+ i0 W1 r6 m: Z  d( f

  1742. 7 ]6 e, J, l" f: E
  1743. [sysvshm]+ |  |0 Y" u* c) @; ^& M* Q
  1744. ; A default size of the shared memory segment
    0 c4 Q/ ]& s5 M
  1745. ;sysvshm.init_mem = 100000 d5 f* A- B% _# K% v/ i

  1746. , m" ~6 R9 ?$ I8 G
  1747. [ldap]5 t' R1 y: u1 M4 r2 d% d7 A
  1748. ; Sets the maximum number of open links or -1 for unlimited." }& n' o" R7 B! f* k
  1749. ldap.max_links = -16 |' ^/ O& {; r; b1 n+ G" ^

  1750. / H6 k) D$ c, D- c
  1751. [mcrypt]% p- c2 n8 n$ }
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open) g8 ]4 Q( s. j

  1753. & c8 F0 v+ E2 B6 c( y0 H1 b: b$ b
  1754. ; Directory where to load mcrypt algorithms7 W9 \, s, T; g8 {( t
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)& ?! w7 n2 n! w: j& l/ Q, y
  1756. ;mcrypt.algorithms_dir=
    ! u" j& s! H) G6 f" u8 M9 z
  1757. ' g! Q5 g9 X( `- u9 |
  1758. ; Directory where to load mcrypt modes
    : h) H% W' ?& h/ N  J7 I
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    " H; @4 ~- X& H) j5 [/ u  n
  1760. ;mcrypt.modes_dir=  j8 }/ |9 i: G, ~1 Q
  1761. 7 d2 \" L& r) p- f
  1762. [dba]
    + _# }( ^& D; m& I+ ?& j7 O
  1763. ;dba.default_handler=
    ; j" f5 C  t* B* E# u2 }
  1764. ' [' R: N9 Z. t- w: x# o
  1765. [opcache]* C% \9 L+ J# c+ O0 Y
  1766. ; Determines if Zend OPCache is enabled6 T7 S, X6 Q" l6 ^. V! A( @
  1767. ;opcache.enable=0
    # Q; ~7 y* Z: b' Z9 }
  1768. 8 R+ J2 ^: F5 P( m3 ~5 ^$ m
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP, z* a  s; F9 y
  1770. ;opcache.enable_cli=0
    ! }6 J6 i# p! d1 h7 I( `1 N/ \
  1771. , f7 I: d$ j- A9 J3 T1 }
  1772. ; The OPcache shared memory storage size./ J& K9 C& E* e
  1773. ;opcache.memory_consumption=64" n/ u9 f6 Y3 K; v$ p5 B7 b

  1774. ) ~5 ~- P/ d9 r$ }2 h, ^
  1775. ; The amount of memory for interned strings in Mbytes.
    6 x- Q7 ]# N& R. L+ }  g
  1776. ;opcache.interned_strings_buffer=4. s* ?) v- Z" |, I6 P0 n

  1777. - f  {4 B- F# F, w- A1 m( F% G
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.& I' a/ R2 x3 @& W3 i
  1779. ; Only numbers between 200 and 1000000 are allowed.& x# L6 K9 U' ^
  1780. ;opcache.max_accelerated_files=2000
    " N' T& }, j& a# o0 ?

  1781. , s4 [+ G1 U  g
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.6 ?3 Z" o( U$ K% E3 v
  1783. ;opcache.max_wasted_percentage=5
      m! ~8 ?1 s- N
  1784. & ]9 R+ N1 {% e' L  s
  1785. ; When this directive is enabled, the OPcache appends the current working
    . E: X5 t6 t; m$ O: Y. }* M9 X
  1786. ; directory to the script key, thus eliminating possible collisions between
    " _2 p1 n' v3 K1 T: h, D* F- T
  1787. ; files with the same name (basename). Disabling the directive improves6 x" b; @  K+ T
  1788. ; performance, but may break existing applications.
    # v0 C5 A3 H9 r: a4 ~
  1789. ;opcache.use_cwd=1
    ! r3 t6 y$ s$ L1 i# D

  1790. : j, ~* s7 w% ]/ Z, E- W
  1791. ; When disabled, you must reset the OPcache manually or restart the$ C4 C% S7 [; \7 o% _
  1792. ; webserver for changes to the filesystem to take effect.
    # g) W: |* W7 I! C- `: k
  1793. ;opcache.validate_timestamps=1
    5 R6 P9 u, ^2 y6 g& B, O% e% k* ^
  1794. * G9 N+ S9 |# X! x' z6 j$ y+ W
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    / f4 g4 o7 |8 ~# w9 {. h
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    2 c+ e, f% P* {
  1797. ; once per request. "0" means always validate)
    ! I: F6 q- q: c7 Q8 B! N  ~
  1798. ;opcache.revalidate_freq=2. u0 F  E: J* i* h6 h4 o) o
  1799. ' b3 ]: W8 f' }  s9 G+ g. h4 k
  1800. ; Enables or disables file search in include_path optimization
    / r& g# R+ g9 g! ~; l
  1801. ;opcache.revalidate_path=0
    3 }5 s# ]: C' W' V' p  f

  1802. 4 p9 f) [6 l% `0 l" y5 Y
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    - q; h6 Z. ]- P% B
  1804. ; size of the optimized code.5 F0 e0 K! v3 a8 H1 k
  1805. ;opcache.save_comments=1: _8 D- X+ \# H" C8 n* x% N
  1806. ; d3 ~0 e/ s. H; `3 G# a
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    4 u& p; a& E# r+ t  b, c3 p, j+ K3 O
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.2 K) [# E! M6 L& d' v5 ^8 e0 p5 x' W
  1809. ;opcache.fast_shutdown=0! f- S; ~+ i0 d6 F& A0 i; z

  1810. * U% d4 q- A! J9 n; ?- T
  1811. ; Allow file existence override (file_exists, etc.) performance feature.& m& S! N9 V1 q7 k5 c3 `7 Z
  1812. ;opcache.enable_file_override=0
    ; q. o" X3 j8 G1 I% O7 x2 \1 U- i! s
  1813. 6 n6 G" O  ^' ^5 @, v0 R
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    ( s; i  [) B+ n0 c9 X* o
  1815. ; passes
    ' w  g$ v9 p0 {8 n, F: u
  1816. ;opcache.optimization_level=0xffffffff8 D5 a5 ]: ^( N
  1817. : u* i9 D: B' L. k9 Y3 ^& ^! U/ E. C
  1818. ;opcache.inherited_hack=1
    , w$ A, p8 f, C" Y- X, O6 _5 y
  1819. ;opcache.dups_fix=0
    * b( }+ D( _- F
  1820. : \; T+ b5 R- T: ?7 }$ t" D! U
  1821. ; The location of the OPcache blacklist file (wildcards allowed).! ~* }3 u8 k9 r; \5 h
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    : k) C% A6 m2 K) y. E
  1823. ; that should not be accelerated. The file format is to add each filename& D" u6 `) W9 _% N; t
  1824. ; to a new line. The filename may be a full path or just a file prefix
    " R- t9 U8 K1 O9 u& P: k
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www9 B- e# A: [+ @% I
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).+ }% y; c( Q9 R0 r" f, B
  1827. ;opcache.blacklist_filename=
    - e  w% {: p# P, c

  1828. 0 M5 g4 E+ L; ^/ B1 v
  1829. ; Allows exclusion of large files from being cached. By default all files! H, I; D4 i! }- S& N
  1830. ; are cached.
    " ~7 F1 F; g7 M  ]
  1831. ;opcache.max_file_size=07 q  U! ^1 y; R& c6 D/ \
  1832. 2 x1 @# ]3 B1 S
  1833. ; Check the cache checksum each N requests.
    6 e" R$ d) |  J' }! ?
  1834. ; The default value of "0" means that the checks are disabled." g) n7 ?7 b+ x- ~
  1835. ;opcache.consistency_checks=0
    ( A! p  d' k; L* s- F/ l
  1836. / r5 a  @& ]- G
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
      @: x+ v/ z% e* r7 z
  1838. ; is not being accessed.
    $ o6 X7 ~7 W& I  t- L2 R
  1839. ;opcache.force_restart_timeout=1801 Y! |/ `8 I7 @- U1 H

  1840. 8 r1 S+ Y# ^9 G, v2 f* w& l
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    # a7 d$ r! \& P8 G* i
  1842. ;opcache.error_log=
    7 E. V7 k- y3 Z6 G! N3 H

  1843. 8 v0 I" n0 Z# O# i) z7 P" n. R9 U% T
  1844. ; All OPcache errors go to the Web server log.
    ; e7 ~2 O. Y# j  Q
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.) k  O/ t- V" O% x1 B: P
  1846. ; You can also enable warnings (level 2), info messages (level 3) or# Y; Y3 r+ V7 Q
  1847. ; debug messages (level 4).
    0 N/ M3 ~. q, B" {# d
  1848. ;opcache.log_verbosity_level=1: d" a& ?/ o" S; ~7 o8 \  o

  1849. $ d0 Z& m) B& J
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.+ L- a4 `, E  x$ c' {4 g
  1851. ;opcache.preferred_memory_model=
    , }/ T9 k* g8 m9 v, _  U
  1852. 4 |$ K4 A8 q7 u+ W
  1853. ; Protect the shared memory from unexpected writing during script execution./ j( a- M, V0 @; B+ \: {* k* `
  1854. ; Useful for internal debugging only.
    " Y, \2 W- J) }4 d1 P4 ^  _. K
  1855. ;opcache.protect_memory=06 b) V* |# o# W  g5 _8 x
  1856. 1 g) k& I- }! V5 r% Z) L" ~
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    2 j6 ~; Y1 P- b5 f
  1858. ; started from specified string. The default "" means no restriction5 H; M0 n( H3 n6 J. Z! r5 k
  1859. ;opcache.restrict_api=
    9 h0 `: ?( C" U  M: M3 H
  1860. & @9 ^3 I1 o3 x2 F- v; W* V
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP* H/ v+ M! }. v& H
  1862. ; processes have to map shared memory into the same address space. This  h  E+ t) T, f3 U6 u' X
  1863. ; directive allows to manually fix the "Unable to reattach to base address"0 F: j- k* ]8 F
  1864. ; errors.
    ) o5 W+ X6 X1 o5 u0 H
  1865. ;opcache.mmap_base=
    7 I8 ^5 n1 ~/ @  S
  1866. 3 b$ q- P& t+ q8 l; w
  1867. ; Enables and sets the second level cache directory.
    0 X2 X3 {- a. L. q( |
  1868. ; It should improve performance when SHM memory is full, at server restart or
    & D8 T; F) Q! l0 j" |# R
  1869. ; SHM reset. The default "" disables file based caching.
    . X7 s. s# m+ V1 y- Y/ \
  1870. ;opcache.file_cache=% K) f8 k( h7 ?( j' j
  1871. 0 X* l# b; _, {( F8 v) x
  1872. ; Enables or disables opcode caching in shared memory.+ Y2 t  G/ N; Y& f4 ?, n8 j
  1873. ;opcache.file_cache_only=0
    2 x# y" {& r$ k. _) g- P

  1874. . O) }. P1 X# ?' }
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    0 S% Y4 m; p, H+ ?
  1876. ;opcache.file_cache_consistency_checks=1* [( G2 P; R2 _. A1 Q1 u

  1877. 5 k% f! m+ h( i
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
      N9 Q9 Y# R  b4 }0 |
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    4 U2 w. q: P6 N" t9 {  l# {- {
  1880. ; cache is required.
    & A& M3 {1 s9 i" A+ L1 T1 H" D
  1881. ;opcache.file_cache_fallback=1- |/ g# e, Y" v6 W& X/ n

  1882. " k$ D  H7 I' j+ ~9 q  d
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.; I& ^0 [3 z) ?' r( E+ \8 k3 |
  1884. ; This should improve performance, but requires appropriate OS configuration.
    1 x4 j# i1 u; _; f1 I$ u
  1885. ;opcache.huge_code_pages=1& s/ n# q5 I! D0 \: S* v+ n

  1886. 9 {2 B" R# B$ n1 M
  1887. ; Validate cached file permissions.
    0 A# |% U4 @. V8 L/ C5 R9 g8 Y
  1888. ; opcache.validate_permission=0
    % U2 t. x+ s) q( N9 L
  1889. * }- Q) Y1 {2 s! @
  1890. ; Prevent name collisions in chroot'ed environment.
    * m9 D2 ^' p* g3 O& C9 y# D
  1891. ; opcache.validate_root=0/ M4 Z, T/ |! a' e/ y: g2 s& y

  1892. " Y# n, [8 a: D7 M5 C- f
  1893. [curl]
    8 M3 n& E3 o% z
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an6 B8 I; |& S) ]: C, \; o( F; E
  1895. ; absolute path., w5 U, [2 v9 l/ X8 X
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt2 S. ?; f+ \; Y$ v+ C
  1897. ' V; |4 q9 [* c+ G! y0 F5 \
  1898. [openssl]- t$ l" k; S- F3 p" G/ f
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem6 f2 r7 ~% ]' @
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    & e1 ]" }0 m' z
  1901. ; not specify a value for this directive as PHP will attempt to use the0 H9 l/ _* Z# L
  1902. ; OS-managed cert stores in its absence. If specified, this value may still; y! G+ i3 z$ N$ l2 |
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context4 \' }; w' Z( g* q; ]
  1904. ; option.
    ' M2 t! n$ N" s9 K5 Q) V: `
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt$ Q& j8 z6 V# ^  g9 Z0 l
  1906.   y( `! S& Y4 e4 H1 O' I
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the! L5 `2 o9 }$ D( @* w$ f& H$ {) c
  1908. ; directory pointed to by openssl.capath is searched for a suitable8 q, L: L0 R6 Y6 P4 G
  1909. ; certificate. This value must be a correctly hashed certificate directory.: \8 ?* }/ ]- j; x7 }9 Y
  1910. ; Most users should not specify a value for this directive as PHP will
    ! }3 N: w2 W( y0 ^3 l" O* l7 o, Y
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,( G2 {/ j* g7 J. ^/ H9 r6 p
  1912. ; this value may still be overridden on a per-stream basis via the "capath"% V, y! b2 E8 i6 l# T4 Q
  1913. ; SSL stream context option.6 ^$ a& X1 j6 }5 n' Q- K
  1914. ;openssl.capath=
    ; o% i+ Y8 J( r+ M5 k3 m: P9 w$ {
  1915. * c$ E' i& E* Z) C- e' N2 W
  1916. ; Local Variables:& D( Y$ b2 g) r
  1917. ; tab-width: 4% k3 l" o/ Y/ Q
  1918. ; End:
    * b! |$ f8 n6 S0 B9 K
  1919. 8 X0 h6 J8 h8 N" @9 W* `) p+ K
  1920. ;eaccelerator
    & w9 R$ `1 {% u  ]( F
  1921. ' b, @$ ^+ L, g- F! P& m- O/ V9 N
  1922. ;ionCube
    6 ^, k% J# p* |6 e
  1923. 5 U6 Q4 b8 A0 m8 R0 l
  1924. ;opcache5 U, g" N  X( e+ v
  1925.   P1 m$ C* q3 n: t' z: W
  1926. [Zend ZendGuard Loader]
    ' e; \4 r7 K1 j
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    : N; L; w$ S( \
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    " M; a$ T5 Q9 w4 t  J
  1929. ;zend_loader.enable=1" r& f% j" Q  J  M# R
  1930. ;zend_loader.disable_licensing=0
    : F: D+ |3 m& v% T, J' D+ e" V
  1931. ;zend_loader.obfuscation_level_support=3
    7 Q8 Z' g4 }( l  k  A+ u
  1932. ;zend_loader.license_path=! k( Y, P8 O: N6 H6 P
  1933. ! g7 _$ M4 F2 B# c0 E: m
  1934. ;xcache
    * P+ N' N% `) W) _" W2 X
  1935. 8 B. }3 V6 j5 k. F
复制代码

1 w' Z0 n- O4 l+ j- l
& l3 V# r0 t3 Z/ y0 s+ |8 |! M& G+ C: G' E5 n
) o5 y7 X: s9 O$ y, G8 h- [$ `
$ T. ^9 b% f, ~
( E! a; l' K1 f& ], h' H" x# ?
$ o, V: A$ \. Z6 {; M5 X2 ~
PHP5.6版本原始设置
$ }; s( \0 @& v7 _0 P. \6 g& q
1 R5 X7 U. D5 `0 O
  1. [PHP]
    3 g+ \. O$ P; V+ R% E2 {

  2. 7 F+ D& \+ D0 W" p2 \# |
  3. ;;;;;;;;;;;;;;;;;;;5 s3 {# A. a" Q5 a+ L
  4. ; About php.ini   ;9 x) X- E' q$ s) V; B$ q. r  }7 F+ q1 y
  5. ;;;;;;;;;;;;;;;;;;;
    1 Q# Q, h. \  [) M, m) H9 P2 d0 C
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    / `5 ?' ~1 }* h- F9 X& Y* u' u4 Z. n
  7. ; configuring many of the aspects of PHP's behavior.
    8 T- s7 s' J3 Y6 @

  8. ! F1 M% X1 u& z. l( N
  9. ; PHP attempts to find and load this configuration from a number of locations.4 Z  W5 i9 D/ T, V
  10. ; The following is a summary of its search order:
    + M" g8 |+ B& q: L) T
  11. ; 1. SAPI module specific location.
    & c2 }* s& X' L! X* g% O0 s
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    - e' c- Y+ r1 u) o' ~( U) ^
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0); O* T  E: J/ O
  14. ; 4. Current working directory (except CLI)
    $ T# R9 }: z* B
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    - [" X' x3 H$ u
  16. ; (otherwise in Windows)* H( a6 l. {7 \0 a
  17. ; 6. The directory from the --with-config-file-path compile time option, or the  I" I* T' w8 z4 z, L, l  N
  18. ; Windows directory (C:\windows or C:\winnt)6 l8 L% \- m0 X
  19. ; See the PHP docs for more specific information.) S, v; Q9 ^  i7 z% r
  20. ; http://php.net/configuration.file1 c( B8 W+ A  s( f& e- F3 h
  21. # B5 s4 {% S$ }/ P* v2 l
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    9 i. \5 l3 {& W* }- y2 q" b' K
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    ( Q4 ]) g; I( `+ p
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    ; ?$ Y& m( B- a# U
  25. ; they might mean something in the future.
    6 Z! a$ V; r+ F2 K1 `0 X
  26. 7 O1 ~+ |5 Z" [4 A  J1 h
  27. ; Directives following the section heading [PATH=/www/mysite] only! F* l) v# O( g' A# u% s$ l
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    7 Z7 W  B& l, C
  29. ; following the section heading [HOST=www.example.com] only apply to& S" t8 c3 [. ~! N4 |
  30. ; PHP files served from www.example.com.  Directives set in these
    2 G2 V3 @2 {- X. I, ?& u
  31. ; special sections cannot be overridden by user-defined INI files or9 {. y* M( s2 o9 @
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under& h  f# R9 B- f- k& b7 O: [% |
  33. ; CGI/FastCGI.$ Q' U( R1 k# {7 d
  34. ; http://php.net/ini.sections
    ) L, }. V' Q* D$ S8 x4 s( ]9 U
  35. # ~; z$ i% A6 s$ m2 F# i, o) y
  36. ; Directives are specified using the following syntax:5 A  `* g9 g! H6 Z) M: T0 N
  37. ; directive = value, P# ]/ X6 h2 w7 n" g9 A
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    ) z9 v  I4 d. y) J! u7 v% i/ D1 J
  39. ; Directives are variables used to configure PHP or PHP extensions.- W" F% n$ o* ~, |2 x0 @; z! Z! p8 V! C, V
  40. ; There is no name validation.  If PHP can't find an expected
    - v; _  q3 T2 z
  41. ; directive because it is not set or is mistyped, a default value will be used.
    8 M: b# @0 [  g6 Q* c4 C$ N" b

  42. 5 [$ P" h- _; \1 H' U7 ^) v& i! V
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one& _$ d+ q/ _( Z3 L  ]! ]
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    2 a; g& m0 h  B9 }7 F% ?
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a0 z1 U6 @. x; [( j
  46. ; previously set variable or directive (e.g. ${foo})
    6 U6 G1 p+ z2 j. S, V" d5 {& S
  47. 9 ]- h: N: B1 D# @* P
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:0 |# N( e% M, t! t2 T, v
  49. ; |  bitwise OR& c( i. d% I5 H0 g
  50. ; ^  bitwise XOR7 Z. c. _4 F' p' U
  51. ; &  bitwise AND
    4 [3 a. p; T  P$ N. }8 e
  52. ; ~  bitwise NOT
    / b" s5 m; m; k7 ^+ J( J; z9 `: j
  53. ; !  boolean NOT
    & z/ Y: H+ I: X" c; r
  54. ) S& k; s/ z2 d5 b0 [
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.% b; [* X/ c: J6 p
  56. ; They can be turned off using the values 0, Off, False or No.
    ; M0 e' h3 C8 X" s* b
  57. / q) J$ i7 f! C" s3 ?# I
  58. ; An empty string can be denoted by simply not writing anything after the equal8 w. Q9 e1 Z# m
  59. ; sign, or by using the None keyword:$ r( [& t6 k1 ]
  60. % q& G& s+ T( v
  61. ;  foo =         ; sets foo to an empty string5 q: _. V0 l2 K* |7 K' i
  62. ;  foo = None    ; sets foo to an empty string5 C$ z* \4 Q8 Z1 c* I9 E% a
  63. ;  foo = "None"  ; sets foo to the string 'None'
    7 y% f2 U' @, X: o* G/ n9 q* J

  64. 7 Y% F# P4 ~3 O% N2 L
  65. ; If you use constants in your value, and these constants belong to a! w3 C# o5 @% X1 o* u# _
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    7 o9 X# k' E6 l6 A, B" R
  67. ; you may only use these constants *after* the line that loads the extension.: r# [; N: T$ W. j: Q! e

  68. # \3 k8 H" W& T  c- Z9 ?
  69. ;;;;;;;;;;;;;;;;;;;) U! P) y: x2 N; @
  70. ; About this file ;
    8 [+ n5 G" V1 [- i# g
  71. ;;;;;;;;;;;;;;;;;;;: L  v0 D$ M( }# l7 x7 M! C1 s
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    4 l. D- E# ]  x0 Q
  73. ; in production environments and one that is recommended to be used in
    - n% ]8 d3 v) X7 r
  74. ; development environments.
    1 S' p7 C# j  z2 U

  75. 5 b5 v$ l, T- R$ b8 y$ u
  76. ; php.ini-production contains settings which hold security, performance and5 y( R% J2 |- h
  77. ; best practices at its core. But please be aware, these settings may break0 p9 X  i$ s1 B( ]! H+ u9 @
  78. ; compatibility with older or less security conscience applications. We
    8 v$ {) Z: H, o) |. Y6 g2 b
  79. ; recommending using the production ini in production and testing environments.
    * ]6 m; w! q% l

  80. + K3 ]% Q5 C. H4 g  w6 \
  81. ; php.ini-development is very similar to its production variant, except it is# y2 x7 r0 [5 Q4 b; @0 E$ o2 p
  82. ; much more verbose when it comes to errors. We recommend using the# ?& [4 R" b( n9 @
  83. ; development version only in development environments, as errors shown to) k5 ~6 s8 c& N& {# L; S' x
  84. ; application users can inadvertently leak otherwise secure information.; I6 _. q& S& g1 o6 O
  85. * w( K3 x) ?' t  G; O# F# V
  86. ; This is php.ini-production INI file.
    ' S5 _' l' X2 R: a7 J

  87. - _6 |7 o( m0 S
  88. ;;;;;;;;;;;;;;;;;;;0 ]3 ]7 @# f" [% R$ w
  89. ; Quick Reference ;
    1 Y7 ?: C* o5 H& _: w$ T
  90. ;;;;;;;;;;;;;;;;;;;
    0 f% U' m+ R7 u8 E4 G$ P
  91. ; The following are all the settings which are different in either the production
    + l5 x" {5 |# ]& g
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    # M7 j# u' }4 m  \
  93. ; Please see the actual settings later in the document for more details as to why
    ' d& l& a5 Y# H5 p0 N3 L8 ?
  94. ; we recommend these changes in PHP's behavior.6 x4 v& a5 c6 X% ~  D+ ~5 b

  95. " P- L) n0 `+ G- i& I8 C
  96. ; display_errors; E8 r. J  `2 M1 }  u1 I
  97. ;   Default Value: On
    " U1 }) `0 s. ^: F
  98. ;   Development Value: On
    3 Q. v( N: f1 E$ ~* x- |1 q9 ^' D
  99. ;   Production Value: Off0 y  D3 n- G9 l: j% e$ S
  100. 8 d- Q9 c& R0 `: o1 o  g
  101. ; display_startup_errors
    ' c$ s. o* F" B: H# J" ?4 K: T* y
  102. ;   Default Value: Off$ |6 V/ X" E" K
  103. ;   Development Value: On/ {* ]* v  v6 q6 j7 A7 J/ E+ K/ _- s. m
  104. ;   Production Value: Off- f3 G. _8 K  j" e

  105. ' d0 H0 `. _' W% @
  106. ; error_reporting5 i9 O$ `& R7 V
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ! ^5 u- W0 H4 E/ b
  108. ;   Development Value: E_ALL
    ' }" f7 e4 G" M1 o$ p% T
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT, T" L$ x* Z' s) E4 f

  110. 5 h1 L1 i6 k; x- t& U# Z
  111. ; html_errors
    1 s6 y3 X, H1 x+ f- V  ^' S
  112. ;   Default Value: On
    * k/ s8 C% C/ j2 B- y5 z/ y
  113. ;   Development Value: On( X  R. I# g  R2 ^$ ~' {5 U  B
  114. ;   Production value: On
    & q2 ?$ l2 F9 a3 {

  115. 7 y. F4 C) `3 }: `# J
  116. ; log_errors- t8 `& Z9 v8 I5 Y( C
  117. ;   Default Value: Off
    * Y/ n# e1 O3 _3 g, {
  118. ;   Development Value: On
    ) }) x1 ]- m) p- m+ x
  119. ;   Production Value: On
    - ^- Y$ B# h1 e( h* M4 ]* m5 l
  120. 5 F4 N3 |! Q1 w- W4 l  d$ K
  121. ; max_input_time
      E9 a* D3 }0 k9 B
  122. ;   Default Value: -1 (Unlimited)8 K" ~2 W: Y# E) M" R: X
  123. ;   Development Value: 60 (60 seconds)* u: V2 s& r! E2 M; T2 N
  124. ;   Production Value: 60 (60 seconds)  h2 T' H: \0 l& ]

  125. 2 G3 a& j* i4 B" |7 q4 `
  126. ; output_buffering
    0 ~$ t  ^4 f4 u) Q
  127. ;   Default Value: Off$ j' @) e  S8 ]) \5 L
  128. ;   Development Value: 40961 `6 U+ o' y9 A5 }4 H- j( s  W) k
  129. ;   Production Value: 4096  A  o. |% A3 V$ v+ t' m

  130. 1 F' G9 M4 b* o; D$ N
  131. ; register_argc_argv
    ) K6 a- e$ `$ s
  132. ;   Default Value: On
    & w* O1 i2 D$ B/ m  D
  133. ;   Development Value: Off4 l& N0 B8 s1 }" O( Y
  134. ;   Production Value: Off
    * c: T' Z  D) [: d2 Z- z

  135. 8 a# a9 Z3 i7 s8 h
  136. ; request_order
    5 D5 D, U9 {- f" Q
  137. ;   Default Value: None
    6 d9 D- B# V7 Y: r2 v  e. V- Z
  138. ;   Development Value: "GP"5 |( @' t9 ?" ^1 ~; K* q6 H1 k
  139. ;   Production Value: "GP"* O8 K% \8 U- B6 a4 Y

  140. 6 x4 t( K- w$ S8 A$ Q& G( Q
  141. ; session.gc_divisor
    $ N2 ^# O3 J0 c$ ^
  142. ;   Default Value: 100
      C; r* [/ C8 K6 a, Y- d" p
  143. ;   Development Value: 1000
    6 ~# Q( I+ ~" W- H- H) Q5 V
  144. ;   Production Value: 1000. d4 L/ g* V6 k! }5 i5 a" M

  145. : l" ]7 v* \; _4 B' Z  I
  146. ; session.hash_bits_per_character
    * Q8 X- M* ]- F
  147. ;   Default Value: 48 |1 r; ]" G4 b. K0 V. e5 y: z1 V8 I
  148. ;   Development Value: 5( l- ~: K, T$ i: a- }- H1 e9 i
  149. ;   Production Value: 5) f! m% F, f4 E9 ^. k0 g$ r
  150. 5 O/ T8 l: z% p; h# e0 l$ s2 h+ o: Z
  151. ; short_open_tag
    0 k  \  M7 _; x# [; ]
  152. ;   Default Value: On
    $ f0 H. n+ f/ R* K; R
  153. ;   Development Value: Off) H, _$ G; J3 [+ v
  154. ;   Production Value: Off' K5 |2 |; H: [; J: _% l. O
  155. ; U1 _: ~& l+ J6 l' ]6 V  x
  156. ; track_errors
    , h$ W* l5 q% \" Y$ e) m" d% ]
  157. ;   Default Value: Off
    6 _' W" g5 l" U3 V
  158. ;   Development Value: On
    1 y3 q8 f9 d1 b0 ^& Q/ W) J. P
  159. ;   Production Value: Off9 d+ e" J9 `/ N  d! F
  160. ! H0 l2 H  A* B/ @/ |  a0 w  @
  161. ; url_rewriter.tags
    : _4 j  Y9 U7 d9 H
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="/ S: f$ v: \  C# K
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    % g" {& i% o7 |: B# Z$ l' Z0 O
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ; r/ U6 C- U' _/ a2 r- W

  165. 0 H/ |9 ]9 [, Z& e
  166. ; variables_order; t- ^" r) h) G- I4 o
  167. ;   Default Value: "EGPCS"+ F0 N* x% e1 g  G8 a3 u
  168. ;   Development Value: "GPCS"
    % T. L! }$ _3 X; G) ^, M; C
  169. ;   Production Value: "GPCS"
    * a2 |6 Q6 W3 l% q6 X8 e0 I9 g  B

  170. " D: q9 i: t2 N5 U4 T4 }* a- h
  171. ;;;;;;;;;;;;;;;;;;;;& c) \* p' O8 `% N
  172. ; php.ini Options  ;
    * K0 H1 K* e8 k9 u3 M2 h
  173. ;;;;;;;;;;;;;;;;;;;;
    2 H( i4 _/ h' Q9 H6 M
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    - c/ R5 F" o/ s& V
  175. ;user_ini.filename = ".user.ini", h* t9 R2 H1 Y+ l& k" V

  176. , p  [, |% }. I6 f7 G
  177. ; To disable this feature set this option to empty value
    % @9 f4 S+ T; W
  178. ;user_ini.filename =
    3 {/ U1 `1 R, M) [' a

  179. 1 k. O! u' d! M8 @
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)2 f7 l9 r9 u. d; P
  181. ;user_ini.cache_ttl = 300/ W; @6 b4 h. M  E; U  `# C5 }

  182. 4 P/ U) D+ {  M: f. k
  183. ;;;;;;;;;;;;;;;;;;;;6 K. ^0 e# W) }9 ~  O8 ]
  184. ; Language Options ;7 t. z/ Y/ Y9 m/ h1 \
  185. ;;;;;;;;;;;;;;;;;;;;4 \0 |! [* k- N$ u3 G7 q7 b* Z

  186.   |: Z* r' c( ]' B% x
  187. ; Enable the PHP scripting language engine under Apache./ w7 |, U7 P4 {( b- M
  188. ; http://php.net/engine
    : q8 a. E# I4 G! K; Z" s+ q8 y7 [% f
  189. engine = On0 u5 H  O9 F2 g& d; t7 W7 Q
  190. 3 l  C1 h/ g; O( h/ }' Q/ i
  191. ; This directive determines whether or not PHP will recognize code between
    8 [1 s: P1 u' w; s  N  E: S
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    , R/ C  n  K8 F
  193. ; generally recommended that <?php and ?> should be used and that this feature! F6 }" W- Z9 w; h+ d$ g
  194. ; should be disabled, as enabling it may result in issues when generating XML
    . E5 j, B5 H1 L+ e* j( _: `
  195. ; documents, however this remains supported for backward compatibility reasons.
    6 t' U& S: |* l2 D; c/ j+ [1 \; M
  196. ; Note that this directive does not control the <?= shorthand tag, which can be" X. O/ \7 S8 @
  197. ; used regardless of this directive.% `" d2 G6 o% R
  198. ; Default Value: On) G! q3 d- X3 R8 R9 @$ Y) _" p$ N
  199. ; Development Value: Off
    0 C6 D. M* \! i( @
  200. ; Production Value: Off
    . o4 T* V; j3 F. H
  201. ; http://php.net/short-open-tag
    ; w8 h* c* Q3 i0 t4 Y
  202. short_open_tag = On
    - ?, v9 m0 K* [) _

  203.   x- i/ ?; ]! q; x, @6 i) {, V* H
  204. ; Allow ASP-style <% %> tags.3 \, _9 c3 N/ x$ V
  205. ; http://php.net/asp-tags
    ) h0 Z5 u: v9 o; R6 w) M$ U
  206. asp_tags = Off1 B* Z" C  l5 r
  207. ; w) L( R2 m) N' M* c0 l
  208. ; The number of significant digits displayed in floating point numbers.! F/ b6 ~9 g. j1 x8 D
  209. ; http://php.net/precision
    ; u' }3 T+ v) k% R, V  k
  210. precision = 14
    ! X' H2 v, U. b

  211. 2 b# D# p. B$ \
  212. ; Output buffering is a mechanism for controlling how much output data
    ' a# G) ~' h9 E; C/ g
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that; |1 P6 T# Z' o
  214. ; data to the client. If your application's output exceeds this setting, PHP- M3 j( B3 E/ W4 C  Y4 e
  215. ; will send that data in chunks of roughly the size you specify.; p1 G  s6 N7 o- L; N
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    " E) \7 S$ i7 W+ ?5 J8 d
  217. ; interesting side-effects depending on your application and web server.
    1 C3 H9 t5 T6 N1 B/ R9 r
  218. ; You may be able to send headers and cookies after you've already sent output
    , B2 Y% B; Y1 G2 L
  219. ; through print or echo. You also may see performance benefits if your server is* T  B' V- L* G$ i0 R4 |  T& J
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    + J% o# N' G* k( Q" a2 m7 S
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance- o7 N  @9 l# _+ N( W0 Z
  222. ; reasons.
      N- o9 U+ v  [) ?
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    0 X# p7 Y) a1 `
  224. ;   functions.: [5 s! F# D( ?+ j, v
  225. ; Possible Values:; {* V2 D! @' s
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)  p4 [$ I9 P5 B8 l5 x. v6 u* U
  227. ;   Off = Disabled
    : Q! ?8 \9 X: Y: @' B# D0 \
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.3 _9 ?' F# v8 I9 O0 T
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    3 `8 ^! J% F  ]
  230. ; Default Value: Off& l6 c7 }7 O' E! J& M
  231. ; Development Value: 4096/ d$ M1 `$ j( B  w! J* p4 J
  232. ; Production Value: 4096
    - O1 ^8 u/ a# D# C
  233. ; http://php.net/output-buffering6 w3 ^$ U: |/ G( H( {
  234. output_buffering = 4096
    9 x! B6 w4 {/ e! L' i

  235. ' j1 J+ s$ A6 {5 r3 Z1 t: l
  236. ; You can redirect all of the output of your scripts to a function.  For
    - w4 k% X$ E7 U, @; ?
  237. ; example, if you set output_handler to "mb_output_handler", character
    $ O8 F1 T/ {  T
  238. ; encoding will be transparently converted to the specified encoding.6 v  M# p( J. N2 }
  239. ; Setting any output handler automatically turns on output buffering.
    - t7 Z) |1 k" [6 M! q1 T2 u
  240. ; Note: People who wrote portable scripts should not depend on this ini$ t. p  @+ n) d* ]/ E6 E
  241. ;   directive. Instead, explicitly set the output handler using ob_start()., `- O* Y/ H; c3 l; X8 {1 I
  242. ;   Using this ini directive may cause problems unless you know what script
    ' y$ a+ N$ `7 d5 J
  243. ;   is doing.
    # P2 g, M* @  {5 f9 i$ G
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    & _% Y: @6 x6 ]% ^
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".6 {% Y/ Z, Z) k+ T$ A
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    - V( L0 b1 k- Y/ ~  _3 q# i
  247. ;   Instead you must use zlib.output_handler.
    : b! B$ |! T+ [& C/ r# e* [6 ?8 d2 X. t1 T
  248. ; http://php.net/output-handler
    ' B0 s5 r8 L" j% x+ P
  249. ;output_handler =) E% ~: p9 C1 d6 }5 H' Z3 U

  250. 5 a' ~+ o% ?( ]! o- ~) c) u0 k
  251. ; Transparent output compression using the zlib library
      d, v" Z1 }; [% |8 o
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size; B* ~9 Q0 j$ [: u! X, W
  253. ; to be used for compression (default is 4KB)% b; L. |- x: H- ]4 X" G
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP9 O5 |; p' n3 G+ s4 Z
  255. ;   outputs chunks that are few hundreds bytes each as a result of1 u) Y2 q3 a7 v5 A
  256. ;   compression. If you prefer a larger chunk size for better( A4 w( `) e! M
  257. ;   performance, enable output_buffering in addition.
    . E$ U8 I7 _5 x! }1 G' F
  258. ; Note: You need to use zlib.output_handler instead of the standard) T# K0 J/ ?2 f+ s- n5 K9 V& i: ~
  259. ;   output_handler, or otherwise the output will be corrupted.% t" X, Q& k. z6 m
  260. ; http://php.net/zlib.output-compression
    / i. \- |3 t2 ]2 t: W3 S
  261. zlib.output_compression = Off2 v5 Q! i& z( w! v) r/ `

  262. % S8 j' K; ^: Z' M
  263. ; http://php.net/zlib.output-compression-level% a3 P- _. V- w
  264. ;zlib.output_compression_level = -17 ~/ F/ g4 h5 Y0 l

  265. , n  c6 q! C# P6 }- j7 n) D( y' j
  266. ; You cannot specify additional output handlers if zlib.output_compression+ l$ |* Z+ [2 u, |+ f) R
  267. ; is activated here. This setting does the same as output_handler but in/ T$ ^7 X- ~/ q' ]3 c' o
  268. ; a different order.
    1 v: e  h9 H. ^; W& S2 H
  269. ; http://php.net/zlib.output-handler
    7 ^# ?, C+ p& P# A
  270. ;zlib.output_handler =% y4 i7 ?/ G$ S( q' }9 }
  271. 5 h" P" Q5 z* N# Z* I6 Q
  272. ; Implicit flush tells PHP to tell the output layer to flush itself! B) _! H: q6 x5 J" d
  273. ; automatically after every output block.  This is equivalent to calling the7 j) h* P, d% [
  274. ; PHP function flush() after each and every call to print() or echo() and each* f* G0 f) ~& a( |
  275. ; and every HTML block.  Turning this option on has serious performance- L  @) u! S% i8 Y0 R2 k  w
  276. ; implications and is generally recommended for debugging purposes only.
    % r. _- B- v# ?& O$ n2 U% o4 ~) B9 O
  277. ; http://php.net/implicit-flush( T: m  o( F, ^& x. q
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
    9 m* T' v: G) w4 C
  279. implicit_flush = Off
    . g$ X" d  z6 @7 M7 s8 B, G) ?
  280. " n. V! Q5 y: K/ ^) l' K0 a
  281. ; The unserialize callback function will be called (with the undefined class'$ M* v8 r) [1 d+ n( }
  282. ; name as parameter), if the unserializer finds an undefined class7 l9 f) i# i3 F( W8 n- g: T
  283. ; which should be instantiated. A warning appears if the specified function is0 R7 E) U1 D" Y9 U  i
  284. ; not defined, or if the function doesn't include/implement the missing class.
    ! l3 l. s) X4 n6 L, s
  285. ; So only set this entry, if you really want to implement such a- E8 y( e% R6 O7 ]- B6 ]5 @
  286. ; callback-function.
    3 ], r  M9 M; U8 d# K6 B
  287. unserialize_callback_func =
    : E: W2 |8 ?( c4 P  e

  288. 6 @! ^* Z+ s; T! c7 i
  289. ; When floats & doubles are serialized store serialize_precision significant4 u5 e. f  D# ]. s1 _, Z
  290. ; digits after the floating point. The default value ensures that when floats, l! o! r8 Y$ }# e; T* b
  291. ; are decoded with unserialize, the data will remain the same.
    4 B, j8 `$ a3 \) t9 l1 W$ D
  292. serialize_precision = 172 `" Y+ h3 N% O9 M& J5 {* g

  293. ) I0 f/ r' i; }" M/ D- F( r
  294. ; open_basedir, if set, limits all file operations to the defined directory) L: Z# @4 C5 n0 ^2 s
  295. ; and below.  This directive makes most sense if used in a per-directory- h! x# D& W: x
  296. ; or per-virtualhost web server configuration file.3 O# w' b) h4 ?2 ^7 t3 }$ \, K* q
  297. ; http://php.net/open-basedir
    0 L: \- M/ U, A! {0 _  d
  298. ;open_basedir =
    & e9 n% x" R& j2 h
  299. 5 c. p( L5 m' ]! E
  300. ; This directive allows you to disable certain functions for security reasons.
    $ a4 N+ @% v8 h5 o! q) m1 X
  301. ; It receives a comma-delimited list of function names." X* L! c0 N0 [- w7 `% Z- S0 O' H
  302. ; http://php.net/disable-functions0 Q0 S/ Z( F) \2 e3 D( e7 d
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    7 \9 s  G0 K8 X
  304. 6 _; ?  F& F# I7 d
  305. ; This directive allows you to disable certain classes for security reasons.6 W4 b" X% h+ b5 p
  306. ; It receives a comma-delimited list of class names.
    % N0 y  l) A: `
  307. ; http://php.net/disable-classes0 q* B; B. H# E, ~/ o7 N& C2 j0 Q
  308. disable_classes =5 ]0 c. Q+ B+ T! t" W

  309. 3 D( H) c* J( d* _, i; _" r
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in" |9 Q6 _) W- u7 ?; m
  311. ; <span style="color: ???????"> would work.
    * m" w7 p$ j% T3 Z8 a. E8 Z3 p
  312. ; http://php.net/syntax-highlighting
    9 i# x! f% E  m7 ~% X: O
  313. ;highlight.string  = #DD0000
    5 _+ X" T6 M" [) I( a( h
  314. ;highlight.comment = #FF9900' N+ S# f/ _6 C+ t
  315. ;highlight.keyword = #0077005 l" ]8 P! d/ l  l6 Q8 o
  316. ;highlight.default = #0000BB4 u9 G+ T3 i* \. \
  317. ;highlight.html    = #0000008 k# m7 ~4 W! A
  318. * J' V/ Z& v8 ?  r- _9 z; Z
  319. ; If enabled, the request will be allowed to complete even if the user aborts. ^0 N  |  V4 N7 c, p  T
  320. ; the request. Consider enabling it if executing long requests, which may end up
    4 b7 }" a8 G1 X( ^- }6 X3 G
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    9 I3 }# P' N7 Z/ Y6 K7 W1 T( R
  322. ; is to disable this feature.
      |$ a; t0 A$ d7 S0 N/ A2 N' q1 ]% q
  323. ; http://php.net/ignore-user-abort
    - q4 D; D# _! u* G7 Y5 @
  324. ;ignore_user_abort = On
    6 k, a0 h! ]& E$ h+ y( Q/ ]+ \5 }
  325. 0 [6 Q3 {/ T. d* c3 N4 m# y
  326. ; Determines the size of the realpath cache to be used by PHP. This value should* O6 ]- j/ A3 q5 f1 a$ a
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    ; I/ z8 H$ y9 p4 L% k
  328. ; the file operations performed.
    # c' r$ a2 S1 T$ M4 Z$ [0 H+ B1 Y
  329. ; http://php.net/realpath-cache-size
    $ d6 a* y6 g' W: ~; q
  330. ;realpath_cache_size = 16k
    & t9 @' Q! _2 b

  331. 5 k5 E, c+ Y4 ^# E  D# M
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    5 m& K, r0 d( C; U* H
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    / c! p- G) ]9 \. q" ?5 [( Q
  334. ; value., M1 T5 p+ ^' C3 ^8 l
  335. ; http://php.net/realpath-cache-ttl9 V0 O. _  z: `% `! o7 {
  336. ;realpath_cache_ttl = 120! z0 M% I, N; q- t* m+ ?" w

  337. # j% T0 B: c, d+ M$ h/ I
  338. ; Enables or disables the circular reference collector.
    8 @- [; B/ Y5 I! Y7 }
  339. ; http://php.net/zend.enable-gc
    1 V, [1 s) J7 t/ ?! C$ M/ K
  340. zend.enable_gc = On
    $ X* @% A1 p7 A/ D! o' ?

  341. % f' t3 u# g  e+ D
  342. ; If enabled, scripts may be written in encodings that are incompatible with7 Q. y. D. X( L0 Y
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    + g$ f. P6 k  `3 Q
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    ( v! H3 J8 y# x2 g7 C- O
  345. ; Default: Off
    7 E' u$ @+ X8 x- C: K. ?$ n# p
  346. ;zend.multibyte = Off2 ]6 e) {5 A" J6 _2 c5 M

  347. : X( u9 ^9 o$ C- A! ^; _
  348. ; Allows to set the default encoding for the scripts.  This value will be used# v0 p+ g% X4 [' ]  P
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.' p7 x/ {* ?6 o6 [( T/ q, o/ @  Q
  350. ; Only affects if zend.multibyte is set.) Z/ _  o# |7 T) u9 N% P
  351. ; Default: ""
    3 c' h) q3 @7 h- Z+ N6 `
  352. ;zend.script_encoding =- n* k" b, q& v2 z7 F3 _  _
  353. 2 g# d) u  J7 k" N2 Q1 k
  354. ;;;;;;;;;;;;;;;;;7 s( b# w* _: d* ?6 x$ f' I! P
  355. ; Miscellaneous ;
    0 W9 z) j3 q. T9 G' [
  356. ;;;;;;;;;;;;;;;;;
    * E8 E/ P& A; X0 O, p* V  P+ u
  357. " r' S. E! t% @( T# H& c9 U
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    5 r) N  N" W+ a/ [
  359. ; (e.g. by adding its signature to the Web server header).  It is no security7 A9 i! V$ R; f. t  g
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    6 a1 T. q/ n! o/ F- N+ m
  361. ; on your server or not.% W/ V% a$ \1 z
  362. ; http://php.net/expose-php
    ; m/ A" t2 v: g6 \
  363. expose_php = On- m# X5 ~  s/ }6 x$ Z
  364. 8 Y+ Q% O- g% ^8 V. j. n' Y! r
  365. ;;;;;;;;;;;;;;;;;;;& C1 w) X5 y* X- h/ L
  366. ; Resource Limits ;3 U& E4 n: b% P
  367. ;;;;;;;;;;;;;;;;;;;
    1 R: r8 c; P2 V% S  `9 a$ a
  368. & O6 z# m4 q4 z* {1 }! W
  369. ; Maximum execution time of each script, in seconds
    4 i  M' m& }" Z4 a& \6 d
  370. ; http://php.net/max-execution-time5 M( ?# I, u& i3 J8 {. ~2 {( [0 \
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    ( X. W  l, s% X* B5 M0 ~% ~" P
  372. max_execution_time = 300" d$ ]% ?& N! R0 G
  373. ; F: s8 X; i6 I& z
  374. ; Maximum amount of time each script may spend parsing request data. It's a good* N+ t( C# j" D( J6 s
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    8 S5 g" ~) g! f' d4 A* a
  376. ; long running scripts.5 J- W' `  q! q8 S, O! A. A# c
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    ) b( x+ b+ `/ }: q7 n2 D/ M0 P
  378. ; Default Value: -1 (Unlimited)) a' t6 z2 ^9 N& X/ N" V8 g
  379. ; Development Value: 60 (60 seconds)
    ! _9 }% B& q/ g1 s* [; R
  380. ; Production Value: 60 (60 seconds)) V& M0 R1 N/ o) B  l
  381. ; http://php.net/max-input-time
    " E) f; e. @& z3 w& n+ M
  382. max_input_time = 60
    * [0 C, J; I/ d8 m% Z/ T8 Y, [

  383. - p- C& w* k! `' M0 C
  384. ; Maximum input variable nesting level! D6 K7 e$ z- {
  385. ; http://php.net/max-input-nesting-level, a* M' ?1 K) T: K2 v1 B
  386. ;max_input_nesting_level = 64
    1 t# v0 j  ~( s8 b

  387. 8 S; l" d8 H' q5 C+ r- u
  388. ; How many GET/POST/COOKIE input variables may be accepted
    # _& l. T7 I5 Q. v4 z
  389. ; max_input_vars = 1000/ D6 e0 B+ h  w1 V
  390. ' l+ A* ?# ~0 t- j9 ~1 b6 F
  391. ; Maximum amount of memory a script may consume (128MB)7 O  L) i: q8 m5 K+ M
  392. ; http://php.net/memory-limit) c+ Y4 i5 c; d
  393. memory_limit = 128M( N/ b) g9 P0 l# F# q9 h" u% z

  394. % g4 Z( D  ^! E; _+ z) q/ `
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;+ w( _% `3 ^4 M& v8 i
  396. ; Error handling and logging ;9 |! H- N3 S" T' G! R3 _
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    2 Z! z( [# ]$ ]' L- ?+ t9 M
  398. " \' o0 e, e" W  T0 h" R$ {
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    9 O/ C6 ^; x* V5 |( X3 E; L( T
  400. ; it to take action for. The recommended way of setting values for this
    : p% o) T* A% R" a% m( k
  401. ; directive is through the use of the error level constants and bitwise, ~4 }# j$ W  b" [7 e- H! O
  402. ; operators. The error level constants are below here for convenience as well as
    ; A9 A/ g$ {. {7 ?  a+ k$ U% A: K0 d
  403. ; some common settings and their meanings.5 k0 I* W  L' y- B) g# @( j+ o
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    0 X6 q0 v' G( q5 e- [% B0 w+ @
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    ; t* ?% \. g7 }; @7 x. R
  406. ; recommended coding standards in PHP. For performance reasons, this is the; _: q6 D( i2 g" g) E2 M
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    1 f$ v' |. C% z2 ]  K4 i' S9 F; o# P# H
  408. ; resources complaining about best practices and coding standards. That's what
    0 c( }" v, _  j; m) G
  409. ; development servers and development settings are for.
    + X. @0 Z4 I+ J* j
  410. ; Note: The php.ini-development file has this setting as E_ALL. This( D7 z8 q9 M' I! l: o7 ^( t  @
  411. ; means it pretty much reports everything which is exactly what you want during1 _7 ?/ L( r7 y. ~) Y
  412. ; development and early testing.1 w& f8 _) e' t5 x$ w- t" V9 Y
  413. ;
    4 m8 z6 U* ?! E& ^
  414. ; Error Level Constants:
    & p3 ?' y1 @% V7 j# w
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    % M; Z% B3 B& v7 p% X& B! I- l
  416. ; E_ERROR           - fatal run-time errors3 N; w0 [! p2 @3 t' l
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors$ ?4 W9 v, y. b7 K: S. N
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    - T) Q) i6 ~& z
  419. ; E_PARSE           - compile-time parse errors" n' {! K; D0 ^. c8 k8 e
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    " z$ h! N' v$ Z& j/ U! t. S
  421. ;                     from a bug in your code, but it's possible that it was, G' f; W3 J2 r& a8 e+ Y. H3 ]
  422. ;                     intentional (e.g., using an uninitialized variable and
    ' R, R2 J' V3 F0 ]& d: H
  423. ;                     relying on the fact it is automatically initialized to an
    ( L$ \8 E+ d4 l
  424. ;                     empty string)7 ^, L* o9 s% V; X$ h
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes- |4 K# b# n- i  q1 b
  426. ;                     to your code which will ensure the best interoperability  I% V8 v( n: f! Z# {3 \$ ?1 l( u) s. t
  427. ;                     and forward compatibility of your code, M- B' r3 [" ^1 v
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    1 ?, K% t: L* J: n$ [& t
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    : q7 j! I7 y. R5 N0 X2 r
  430. ;                     initial startup
    & y) x% S- d5 M6 A
  431. ; E_COMPILE_ERROR   - fatal compile-time errors% V% c4 ~" L+ k2 A
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)( G8 k* y3 `5 K/ B7 C
  433. ; E_USER_ERROR      - user-generated error message
      D* D9 O" b5 B$ J/ c+ Z4 B
  434. ; E_USER_WARNING    - user-generated warning message3 ~5 \2 Y9 `2 Q  h2 X
  435. ; E_USER_NOTICE     - user-generated notice message
    & F# j. ?# B: q+ q4 K
  436. ; E_DEPRECATED      - warn about code that will not work in future versions. Q  v4 ^' v: L1 u
  437. ;                     of PHP
    ( c3 O4 t$ Z# ^
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    2 E$ L2 v8 e; V+ i* p
  439. ;0 s/ h/ Y8 _- e, }& ]/ M
  440. ; Common Values:  _* A5 u) {1 P7 t5 k
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    ! p, H1 }/ f. O9 k7 c
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices). `9 P4 ]( \# t. q5 g2 S& B
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    6 {! `) N- p. w/ i
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    . \& V3 P, I' ^' o" {3 q
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    # Z, S% ]( c/ @1 w8 x( z* f% y8 M2 U
  446. ; Development Value: E_ALL- k6 _) _2 ^3 `% Q, Z1 D
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT9 H$ O7 V# [% r$ x# d
  448. ; http://php.net/error-reporting1 A- H0 L8 B2 n2 _5 q$ G
  449. error_reporting = E_ALL & ~E_NOTICE2 J5 B, |* i; M% d& T* x

  450. 1 |* R" a8 y) U' E$ ^0 v7 F5 P% s
  451. ; This directive controls whether or not and where PHP will output errors,& b. w& Y- w) U7 h9 ?* v) @
  452. ; notices and warnings too. Error output is very useful during development, but! L) y5 B3 t8 R4 a0 p6 ^: u! U9 m# V
  453. ; it could be very dangerous in production environments. Depending on the code
    ) H& ^: ^2 O8 i5 ]
  454. ; which is triggering the error, sensitive information could potentially leak
    9 A- B0 f* d) L4 o& m
  455. ; out of your application such as database usernames and passwords or worse.+ y2 v% ]. y% l1 f3 u* n$ y
  456. ; For production environments, we recommend logging errors rather than& |( r& T/ _7 w8 ]. u" A. ?) e
  457. ; sending them to STDOUT.% s0 Q% w2 ?6 j( @
  458. ; Possible Values:
    * u" o+ O3 t5 M; o
  459. ;   Off = Do not display any errors
    : S" ]) `( n. y3 |+ X/ g9 G
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    ! Y$ {! ^; ^, e6 d7 ]
  461. ;   On or stdout = Display errors to STDOUT
    + W) M5 A3 D' A" G
  462. ; Default Value: On
    7 E5 s4 T5 l9 ?
  463. ; Development Value: On
    5 J: a% `4 c* {# }  U2 r) l( m
  464. ; Production Value: Off
    1 {) l. j! }8 f
  465. ; http://php.net/display-errors
    8 J* ^2 v8 x7 D0 k- K
  466. display_errors = On& Z" h: p  I  b6 a$ g
  467. 7 g) T4 E/ c5 f& y
  468. ; The display of errors which occur during PHP's startup sequence are handled
    / n& _6 l9 ]1 s; B
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    % ~& z) w: c- b3 Q2 y# ~
  470. ; errors from clients. Turning the display of startup errors on can be useful in
      k1 T0 I6 @3 V$ C  v  @4 Y! v; @) R
  471. ; debugging configuration problems. We strongly recommend you
    # g5 U' \! I. @' U4 d1 b" f3 T. U
  472. ; set this to 'off' for production servers.
    3 g# y  n" m6 f) O
  473. ; Default Value: Off
      B# ^0 L9 z; D5 g* C+ K  C
  474. ; Development Value: On
    9 e$ _0 `, v# R; R
  475. ; Production Value: Off
    # n3 N4 i9 }6 d4 B$ R  f
  476. ; http://php.net/display-startup-errors) m, M, X# N* \' F
  477. display_startup_errors = Off, a- Z. ?) @5 W# X* K

  478. ! y. T3 o/ r7 ^
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    $ R; \" g# H4 J
  480. ; server-specific log, STDERR, or a location specified by the error_log' {; [/ s* a" Q: T9 U3 {3 {+ a  W9 v
  481. ; directive found below. While errors should not be displayed on productions& a% a, \# h" _! _
  482. ; servers they should still be monitored and logging is a great way to do that.
    % e( _: L$ f* ]+ v% z7 V1 i
  483. ; Default Value: Off& `1 }+ }! }3 J3 k! H: h" c
  484. ; Development Value: On
    ! u7 O9 D  P3 p$ o9 C" p6 c; }
  485. ; Production Value: On" w" Z! I' \3 S+ N2 n$ C* q) B  P) b
  486. ; http://php.net/log-errors- u% Y% Y7 A; S; }5 N' h7 Z
  487. log_errors = On
    - u4 d) M; b. ~2 A

  488. : f( z1 V0 z6 V5 U
  489. ; Set maximum length of log_errors. In error_log information about the source is
    * l% c' X# F5 l6 D, B
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.. v% E; b" ~# l; T. y, E
  491. ; http://php.net/log-errors-max-len
    , E# k6 q* N4 Q* ^2 H. ~  g
  492. log_errors_max_len = 1024' {6 U- `  c2 R8 [/ o, f
  493. 2 J" F" _5 K- G8 V4 P8 b
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same! I4 S' a: n& o; D9 d* Q/ X/ U
  495. ; line unless ignore_repeated_source is set true.7 V- X/ E$ o. k) K5 L
  496. ; http://php.net/ignore-repeated-errors
    , Q( T; N4 i, H
  497. ignore_repeated_errors = Off9 ?( x- V0 h& e

  498. # i  H0 B- v* f6 `  _6 s
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    2 B# G- M6 P- U) G# e
  500. ; is On you will not log errors with repeated messages from different files or; e6 ~6 I% {5 y  ]
  501. ; source lines.
    % J+ G1 [& o$ c2 O# f" [
  502. ; http://php.net/ignore-repeated-source( n0 f( X& o8 V1 m# T- Q
  503. ignore_repeated_source = Off
    $ ?1 v! y% n! j7 o* i
  504. 2 G* J; [( P: E# l& F
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on! |+ r+ F4 n. O% E$ k1 l
  506. ; stdout or in the log). This has only effect in a debug compile, and if5 F3 t* K  C8 p3 S9 A
  507. ; error reporting includes E_WARNING in the allowed list" o% u/ W: Y/ t! ?2 m
  508. ; http://php.net/report-memleaks4 ]# N  Y  K- Z
  509. report_memleaks = On
    + W6 {& |3 z8 L& P
  510. 6 Z( E& w: _- b. f' {
  511. ; This setting is on by default.
    , ?, m; I1 G" }( V5 Z' E, S
  512. ;report_zend_debug = 0) Z( _, s$ Y0 B. w/ d) `

  513.   o4 A' }# X1 ?' W
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    : b0 M3 L* K( b. ^6 H6 a- ?5 \
  515. ; to On can assist in debugging and is appropriate for development servers. It should) I! M* X7 x- @
  516. ; however be disabled on production servers.
    : ?3 W- G, |0 a! U1 G% U
  517. ; Default Value: Off
    ( F4 h  I4 b5 [  V( h( y
  518. ; Development Value: On
    / |$ b) w1 O* P$ ?1 H) b( ~
  519. ; Production Value: Off
    * q& z6 O/ Z7 ^' S& @" |7 F/ `
  520. ; http://php.net/track-errors$ ]8 _; v  g2 U
  521. track_errors = Off& v! a' K& X1 V6 g
  522.   a3 }: D0 x. q5 D# z/ C' Y7 q
  523. ; Turn off normal error reporting and emit XML-RPC error XML/ j, W3 t( d& e/ l7 N5 d* [
  524. ; http://php.net/xmlrpc-errors
    " Y6 m' Z& b: P# `% R
  525. ;xmlrpc_errors = 0
    6 J& p' X* Q3 Q- Y- L' K/ Z9 p
  526. 9 D! ?5 X$ m% ?5 d
  527. ; An XML-RPC faultCode1 Z/ A; n; x% i* `
  528. ;xmlrpc_error_number = 01 u. c& u0 {3 y
  529. # J+ @- W% W) ~# j: H- x; C: E' O
  530. ; When PHP displays or logs an error, it has the capability of formatting the; _5 l5 R0 ^$ i/ M
  531. ; error message as HTML for easier reading. This directive controls whether
    4 {& J! f4 `( g0 @1 X* I/ Z
  532. ; the error message is formatted as HTML or not.
    . f- }; ~' L2 [/ G
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    * s/ X9 P: k9 ]
  534. ; Default Value: On& O4 }& O1 r5 A1 N/ `6 c- @/ N" S
  535. ; Development Value: On8 Y6 U3 v  `) v1 G
  536. ; Production value: On/ _3 |# n0 I: D- O
  537. ; http://php.net/html-errors
    / ^2 D) d: z' p9 _1 Q
  538. html_errors = On
      A; ?9 o. W; T5 z/ b8 s( O

  539. : C( \9 \  r& }3 Y: e
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    6 u  t: ?5 r, @) j
  541. ; produces clickable error messages that direct to a page describing the error
    9 n3 O$ M$ v- @) g9 y) p
  542. ; or function causing the error in detail.
    ( G7 L& A" ^  m- ]& u, K1 w
  543. ; You can download a copy of the PHP manual from http://php.net/docs0 [) B  o( W6 u& v* k/ ?* C% \
  544. ; and change docref_root to the base URL of your local copy including the& J# H/ u( e- e9 g/ D( g
  545. ; leading '/'. You must also specify the file extension being used including
    ' |; ]2 z6 A( k( @% x5 M7 K
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    # P2 ~9 X! W6 |! Y/ R2 N% [1 m; B
  547. ; case no links to documentation are generated.
    ( Y- L6 f- C( X" d
  548. ; Note: Never use this feature for production boxes.
    4 H9 i. r6 g0 a5 M
  549. ; http://php.net/docref-root
    , q% ^5 l3 n5 e8 H: I
  550. ; Examples
    " Q  k: O- B: g; s) f! H& B2 S8 {: {) t
  551. ;docref_root = "/phpmanual/"1 a# l  h& c; E* a, v& S

  552. " ^# R5 C  R) @# n' b8 L
  553. ; http://php.net/docref-ext' G' d& T  S/ K& r* }8 f7 x7 O
  554. ;docref_ext = .html
    " ]$ f6 c( ^: j' v3 N/ }( l- {( v( {: H
  555. , z" S( i& y, {# y+ X) v; V1 V
  556. ; String to output before an error message. PHP's default behavior is to leave$ K/ d6 R) c. m4 X5 D3 t" J
  557. ; this setting blank.
    ' W- l. m3 i, Z
  558. ; http://php.net/error-prepend-string
    " J0 ]9 ]" X2 e
  559. ; Example:
    + h# d* P1 t' ]
  560. ;error_prepend_string = "<span style='color: #ff0000'>"4 N  [0 K5 C% ~

  561. , C9 O1 u+ f$ B3 p
  562. ; String to output after an error message. PHP's default behavior is to leave
    % `1 t! M+ l& q. ]" y
  563. ; this setting blank.
      Z6 u9 K& m  z9 b0 ?% x
  564. ; http://php.net/error-append-string% _9 S& |" K0 v; `  h" u9 l- v
  565. ; Example:/ A* E/ X* s! S# c/ U$ s5 R. I7 |
  566. ;error_append_string = "</span>"
    $ {3 ~% B0 [: y' v% ~
  567. " F; ^* L4 n6 V: x( ]
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    5 D8 _, {5 u6 e( y' m+ U, I
  569. ; empty.9 Y- \3 A0 K7 r+ {" ]+ m' l9 h
  570. ; http://php.net/error-log3 V' W5 B5 R# a/ ~. m
  571. ; Example:
    6 u' W: _, T& {! \! A
  572. ;error_log = php_errors.log9 c& u- X1 J. Q  P* z% c1 O
  573. ; Log errors to syslog (Event Log on Windows).
    ) Q* O7 `0 T6 t0 m0 ?
  574. ;error_log = syslog3 l( l. Z# i3 x7 ]5 K9 V7 u% U

  575. & v4 A' ~9 n& m4 o0 M
  576. ;windows.show_crt_warning3 L- g: {. V/ J
  577. ; Default value: 04 m1 b* j" D! V  `& n! z8 p2 h
  578. ; Development value: 0- V: P! E7 L( i9 f. L
  579. ; Production value: 0
    * \6 L# r0 _0 \7 T( y& B

  580. 6 ^! L+ \2 k2 c8 \5 N3 z- s3 m; O
  581. ;;;;;;;;;;;;;;;;;' Y' y$ |$ u% y- b+ U( w% h; R
  582. ; Data Handling ;3 v" A+ d: I9 i9 d
  583. ;;;;;;;;;;;;;;;;;
      y: j$ o8 o6 W; o* j4 {  m
  584. 1 Q- Y( \6 M# {. Y
  585. ; The separator used in PHP generated URLs to separate arguments.
    & ~5 N' }+ {# V( b6 g: u
  586. ; PHP's default setting is "&".7 g  Q5 k% @! Y+ L
  587. ; http://php.net/arg-separator.output
    2 v7 D) A' O/ l" w8 H3 w& L, h$ |$ _
  588. ; Example:
    * O, }  x! F/ F+ c5 A! K+ R
  589. ;arg_separator.output = "&amp;"- q" J. I' S9 U% `9 A

  590. 4 {# @, h" ~5 Q4 D6 Z  D
  591. ; List of separator(s) used by PHP to parse input URLs into variables., Z  X+ I' R  z  U2 p0 y+ |+ i" C
  592. ; PHP's default setting is "&".
    / @8 }9 w, X# i) m
  593. ; NOTE: Every character in this directive is considered as separator!- p1 f$ n/ u6 F2 g
  594. ; http://php.net/arg-separator.input9 F- H, L- J4 R5 I; j. v) B
  595. ; Example:
      I" [; g/ b. f+ o
  596. ;arg_separator.input = ";&"
    9 m; z* o7 G, H! _

  597. 8 t# I* l0 K; E# }" b
  598. ; This directive determines which super global arrays are registered when PHP
    $ o/ ?8 }' Y. A$ l- a
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    9 s; M) }, ], f' D& L7 }
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    . y2 @( Y8 `+ |
  601. ; paid for the registration of these arrays and because ENV is not as commonly+ r8 n! n% F  p) g
  602. ; used as the others, ENV is not recommended on productions servers. You; j; r6 @9 I) k
  603. ; can still get access to the environment variables through getenv() should you) @: A7 N, F( p! A
  604. ; need to.
    ; S0 {/ k* [1 L* F+ k. o
  605. ; Default Value: "EGPCS"/ h" c# w3 K* q9 |" S0 _2 k% J6 X; B( Y
  606. ; Development Value: "GPCS"1 a- S& l7 H1 b8 D' k1 L
  607. ; Production Value: "GPCS";
      R% `, f5 q5 H8 m7 \. B" `
  608. ; http://php.net/variables-order* ^* V9 s, l+ w" P" z6 b
  609. variables_order = "GPCS"
    5 L% F! R7 V+ q5 H, m

  610. / P: t! ]# M9 [! z" c# N- u! T8 _7 t, c
  611. ; This directive determines which super global data (G,P & C) should be( W: u, \" `% g3 ?1 x" D
  612. ; registered into the super global array REQUEST. If so, it also determines
    2 Z/ l5 J( k" Q/ G' n( N
  613. ; the order in which that data is registered. The values for this directive8 y' o! S: ^- K9 S$ b8 u* [% s2 r
  614. ; are specified in the same manner as the variables_order directive,
    : J( _( G8 {) i' N) q9 _4 E
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    : c$ R0 ?, H+ p6 C
  616. ; in the variables_order directive. It does not mean it will leave the super6 z, \2 s. @' d2 Y# h# |0 t& b
  617. ; globals array REQUEST empty.
    9 Z% z- ]. \# o; |  x
  618. ; Default Value: None
      |; X4 n+ \6 x: ^- V8 ~
  619. ; Development Value: "GP"( ]; @; a: Q1 {" ^8 y8 N
  620. ; Production Value: "GP"
    5 }6 q7 |, l( i/ ]5 e7 \" m
  621. ; http://php.net/request-order+ d* F4 S5 G. y3 V
  622. request_order = "GP"5 ]: J* L2 L$ s& E% ~5 ]

  623. # s' B4 A/ J0 o+ \$ O/ ?# u
  624. ; This directive determines whether PHP registers $argv & $argc each time it$ _1 E5 s( ~; h
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    2 N6 V0 b+ @7 \" M/ q
  626. ; is invoked. $argc contains an integer representing the number of arguments7 X/ |6 C! V7 ~8 ^) q1 I  q
  627. ; that were passed when the script was invoked. These arrays are extremely; S7 y- e" q0 A. }. W2 {8 k
  628. ; useful when running scripts from the command line. When this directive is
    0 ^% f  t" n; Q' P
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    5 h$ X  a4 L& G
  630. ; a script is executed. For performance reasons, this feature should be disabled3 c2 s+ U$ R/ l% x7 a8 P
  631. ; on production servers.
    0 g9 e0 G" S& D$ z* Y$ ]
  632. ; Note: This directive is hardcoded to On for the CLI SAPI+ K; r/ ^' `0 r/ q7 f
  633. ; Default Value: On
    : ~' U1 ?; |" ^
  634. ; Development Value: Off
      ^& h: d" Z$ m* v
  635. ; Production Value: Off
    1 _  M8 d' X  N4 _/ H4 n. V
  636. ; http://php.net/register-argc-argv
    4 G7 [! a2 L- |# h$ D( C, o" t0 i
  637. register_argc_argv = Off( ~( B+ h; S$ c0 d- n: c9 O

  638.   C: E8 l' f  z' j$ C  Z/ o
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're' A8 s7 X2 R6 o- w0 r
  640. ; first used (Just In Time) instead of when the script starts. If these2 I& ~+ l: t+ K' `- O2 t0 M1 {
  641. ; variables are not used within a script, having this directive on will result8 ~3 }/ |) t( M! j$ e- g
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    2 Q6 X" T% z# F, g/ @3 G7 P
  643. ; for this directive to have any affect.' q- ^& z+ h3 h
  644. ; http://php.net/auto-globals-jit9 N5 B3 g3 ~1 p( C
  645. auto_globals_jit = On
    : f( |8 u! t7 l9 N$ f. I/ l

  646. ! e: a- c, i; N* h
  647. ; Whether PHP will read the POST data.
    ' n( M! v# V6 y" Z1 B7 A' \
  648. ; This option is enabled by default.
    - p$ [$ ?" }4 n0 I* [
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST/ Y' w+ F) J( Y! j
  650. ; and $_FILES to always be empty; the only way you will be able to read the; u5 }+ Y$ T8 W/ p. K. r8 ^
  651. ; POST data will be through the php://input stream wrapper. This can be useful  N1 g2 A2 O' u: y$ K2 u
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    5 }4 V, i% Y! O  |- [# x
  653. ; http://php.net/enable-post-data-reading& Q" ]& f" w& t0 _% r
  654. ;enable_post_data_reading = Off
    1 c' y5 h$ l! T" l
  655. 2 |( z% u# q2 b1 b
  656. ; Maximum size of POST data that PHP will accept.
    3 e" P. K3 ?$ l( s# J
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    $ P) x/ a6 x5 M, E, c" k! a
  658. ; is disabled through enable_post_data_reading.
    % ]0 @, _( g6 A4 i+ k
  659. ; http://php.net/post-max-size
    % i2 P$ h' Q2 G0 ]- p6 g
  660. post_max_size = 50M8 y, K# b$ l& e( y8 S; q5 ]; a

  661. ! ~: B0 l( R4 e# n2 V+ \6 H
  662. ; Automatically add files before PHP document.
    / h& ~. H  H! m' O+ m& V' W
  663. ; http://php.net/auto-prepend-file
    5 u. ?# p7 K# L% F) [* X' d
  664. auto_prepend_file =- ]  @$ x, \" k- {4 L- h5 j9 p

  665. 8 O0 e6 L# ]5 R1 z
  666. ; Automatically add files after PHP document.+ R! d3 _  b1 L
  667. ; http://php.net/auto-append-file
    - S  x6 [7 Z, m/ r8 x
  668. auto_append_file =& Q2 G/ _2 K# S7 U* t! _, R
  669. 0 ^( C' d3 r# ^7 x
  670. ; By default, PHP will output a media type using the Content-Type header. To
    ! R" `# ~. R8 ^4 h: Z  W
  671. ; disable this, simply set it to be empty.
    : m: l/ X$ w% O4 O$ \
  672. ;8 k4 `  h7 P8 ]9 p# s9 s
  673. ; PHP's built-in default media type is set to text/html.
    7 G3 y* x* m& n+ y" a# _
  674. ; http://php.net/default-mimetype* ?# L9 D& I. S( l% R
  675. default_mimetype = "text/html"- B% u, v! O6 p0 T: d
  676. 0 m8 K6 y0 z" C# x9 ?
  677. ; PHP's default character set is set to UTF-8.+ d. b2 A' Q* b: x3 _
  678. ; http://php.net/default-charset
    # C2 f. h' m1 l5 `; n9 D, Q
  679. default_charset = "UTF-8"
    ; ]! q; e2 e% Y0 I

  680. ; [' `( I( ~) O8 o7 `  |7 z
  681. ; PHP internal character encoding is set to empty.4 m6 _% k' j% _7 q2 y' \6 b) \2 C
  682. ; If empty, default_charset is used.7 q7 B0 t6 p) i; {7 L9 A
  683. ; http://php.net/internal-encoding4 e1 w( q" p$ c/ |- B! z
  684. ;internal_encoding =
    0 @  W) }4 A0 @+ {( }
  685. ) E+ F7 Q0 M! k
  686. ; PHP input character encoding is set to empty.) p0 Y3 [( _; k( {2 {
  687. ; If empty, default_charset is used.
    : u4 C0 Y6 U3 [2 n8 F
  688. ; http://php.net/input-encoding
    # `) }* T/ ~  V/ k
  689. ;input_encoding =5 ^  G5 o- ?) X3 i, m0 A+ N9 k2 ~

  690. & N4 q$ `, s8 n4 D0 c' Z
  691. ; PHP output character encoding is set to empty.
    ) J3 @, N5 B1 Z2 Y6 T) G
  692. ; If empty, default_charset is used.2 B6 k3 e. ]3 l/ k" T
  693. ; See also output_buffer.4 t4 ~! m2 ]4 q- z* q, j* H
  694. ; http://php.net/output-encoding
    " T1 F* g% q: O! K0 R& z# b6 O+ R" W
  695. ;output_encoding =
    $ C2 k$ K! e( N4 j- y4 Y
  696. 5 _, H5 M: S7 G; W
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is  L0 j$ r/ W% T* w. G% y
  698. ; to disable this feature and it will be removed in a future version.  P% u6 C0 o: q3 ]9 L7 L# M/ B( w3 q
  699. ; If post reading is disabled through enable_post_data_reading,  i! T! {- \6 S3 J1 s5 U
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    - P3 v5 O% T+ L2 W4 O; ]! a
  701. ; http://php.net/always-populate-raw-post-data
    ' g) c3 g! A; o- J% I
  702. ;always_populate_raw_post_data = -1' k9 X) j6 k& w' B0 ]: n! }

  703. " O( y0 \. a1 r
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    6 Z& v  N  w. b; L; ?
  705. ; Paths and Directories ;' e- u; H! C# R& o/ h1 e) Z( n: n
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    1 u) D9 a( d% k$ s1 y% c/ N

  707. 7 J, v- c- o- y6 u6 m# w
  708. ; UNIX: "/path1:/path2"& n% g. L' E) y) J
  709. ;include_path = ".:/php/includes"  I; _. {3 V& I. a9 R8 D+ o% ]9 D5 j
  710. ;
    0 [2 G- {2 F! W* u
  711. ; Windows: "\path1;\path2"0 R2 a% @" `: u+ F+ D
  712. ;include_path = ".;c:\php\includes"! G6 H6 g# \6 k
  713. ;
    & R& J) M% y0 ?. ^: B" B
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"; B5 R! B2 c# Y4 F/ O" ]: B
  715. ; http://php.net/include-path
    5 y  Q8 o' E, ]

  716. 6 f# F+ T8 m7 V0 l3 P& W
  717. ; The root of the PHP pages, used only if nonempty.1 M: a; e$ D3 `2 e; Z
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root6 {; ~% U: b2 c$ P( l; d
  719. ; if you are running php as a CGI under any web server (other than IIS)
    & K3 L4 J$ O! t
  720. ; see documentation for security issues.  The alternate is to use the
    , u5 |- L" q, @) E5 G5 ]
  721. ; cgi.force_redirect configuration below& f8 h# p6 c/ ?% l! u' T3 [) a
  722. ; http://php.net/doc-root! R8 Q5 D- t9 i$ p! o& ]$ A0 J
  723. doc_root =5 }5 q- E* `) Y
  724. 5 N2 B; w9 {! I0 W9 ]4 b- k
  725. ; The directory under which PHP opens the script using /~username used only. A- G# F  a% V( }  _
  726. ; if nonempty.
    0 E6 |- R* q3 i0 X2 o0 V8 ~9 ]
  727. ; http://php.net/user-dir
    4 C2 v4 H' k1 m" P6 L
  728. user_dir =
    ( C+ E6 g) i" x; ^

  729. , A4 }" D3 ?4 [' u- }6 H0 L/ W
  730. ; Directory in which the loadable extensions (modules) reside.
    ( U& h& e' F7 z0 A
  731. ; http://php.net/extension-dir  K1 J1 Q. P2 W0 }- l) v7 \
  732. ; extension_dir = "./"
      d" a4 R" Q1 P2 c) S1 c$ x# ~% s
  733. ; On windows:8 f. z2 r/ g- s3 G: r* Y
  734. ; extension_dir = "ext"
    / K. E2 L3 V2 I& U
  735. ) j5 K; @% p3 n7 h
  736. ; Directory where the temporary files should be placed.$ Y9 m6 c2 a! E. X
  737. ; Defaults to the system default (see sys_get_temp_dir)' V5 r% v+ |' E+ a# y
  738. ; sys_temp_dir = "/tmp"
    - Y+ f: z1 i8 F3 z
  739. ! U) Y/ I* d0 ]: _2 ?5 ~4 r" B) R
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work$ ^" e) L2 B- K/ j" T* r2 B6 w+ z
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    9 U; @5 E) }, q: X
  742. ; disabled on them.
    ; s8 j8 `3 X- |8 L( U9 l" A7 P
  743. ; http://php.net/enable-dl' w! W. c# i/ n: M" D7 x
  744. enable_dl = Off
    : ]6 m; {; p3 [0 s( x
  745. : [9 d8 }' A+ u6 L
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under" ~' Y2 v, @3 r, X. u
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    % g* ~: S. K# |# b& u( P, D2 G
  748. ; turn it off here AT YOUR OWN RISK* ~, P* ]- m# R5 j8 V8 {
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    5 Q/ d- ^; x) g
  750. ; http://php.net/cgi.force-redirect
    $ G5 U+ b& l# Y# ]  m" H8 ~
  751. ;cgi.force_redirect = 1! p2 L4 B: T: r7 R/ [2 t  M

  752. ! J" }% C/ _3 k6 O
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with' C, g5 ~$ @' g3 n
  754. ; every request. PHP's default behavior is to disable this feature.) y) |$ ^! \3 y+ u& G
  755. ;cgi.nph = 1
    : H3 X. F: x& ?3 z, U% ~

  756. % Z$ Y( A; F! S6 s- p$ ?4 e& ~8 t
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    / D0 n% H3 x( f0 H  a% N' P
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP( m9 i  Z+ d3 K" m7 f# k
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    9 f7 W# |/ h, g
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.7 }- X' I& X  k- _& H
  761. ; http://php.net/cgi.redirect-status-env
    $ M. K- ~- Z- f0 m5 Z
  762. ;cgi.redirect_status_env =
    ! o0 @% }9 a; m- d/ D
  763. 6 r5 f$ Z: x* S' T. u
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's0 y' {+ e9 t* [+ H* c! Z
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    $ l! G: K; `* ]& J) C" f
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    3 t2 X  n1 R# m) F$ ~
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    " H) v' |1 k5 _$ m( r8 @4 X" d
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    $ L& d7 O* A6 V& K+ V
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.+ f8 x- R0 I& d5 |3 m3 A
  770. ; http://php.net/cgi.fix-pathinfo
      n2 I8 ^, z3 m! X
  771. cgi.fix_pathinfo=13 x$ u9 Q% C7 y3 C  n0 H

  772. 3 r2 ?( k0 t- i% y
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside1 e$ R; D+ B. t: F
  774. ; of the web tree and people will not be able to circumvent .htaccess security.1 |* D1 {, T# Q! ]" t9 `
  775. ; http://php.net/cgi.dicard-path6 j$ \7 B# O! S) @: h/ E& I
  776. ;cgi.discard_path=1
    " t: `* A1 p( W5 D7 Z

  777. ) ~6 `1 s+ A4 R! X
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate2 }4 |: H( q4 f- j0 J% v/ ~
  779. ; security tokens of the calling client.  This allows IIS to define the
    ; Z9 C" `2 ~) a* _
  780. ; security context that the request runs under.  mod_fastcgi under Apache3 ^7 E5 a- B2 K
  781. ; does not currently support this feature (03/17/2002)
    . e- G) u2 ]  M# y9 z
  782. ; Set to 1 if running under IIS.  Default is zero.5 U; }) Z2 J: a4 o! F
  783. ; http://php.net/fastcgi.impersonate) X7 r0 i# P4 Y" X
  784. ;fastcgi.impersonate = 1
    , m( h. Y1 M+ X
  785. & l1 }# f7 {, h  Q
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable0 B5 X, n5 f9 F! a
  787. ; this feature.
    # L* T( ^2 I( f9 U
  788. ;fastcgi.logging = 02 [9 Z. s: |3 r+ w9 p9 E0 j3 p9 {

  789. ( c& Q9 x" L9 l+ C9 i
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    # V$ W. O$ C% M7 E9 e8 M* Y
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that9 B# U' ~+ G( w9 [# H
  792. ; is supported by Apache. When this option is set to 1, PHP will send) B* Q2 R: v! [& \. m; [
  793. ; RFC2616 compliant header.: r, u0 E) [# w, `. G
  794. ; Default is zero.
    9 X2 i# u3 W* z# s5 r) y+ }" v. |8 C
  795. ; http://php.net/cgi.rfc2616-headers: F+ G/ V+ G9 \$ A  [9 d' L
  796. ;cgi.rfc2616_headers = 0
    - D1 N# |3 @6 J7 U" {5 ]

  797. ) n9 q" m# I1 j/ p* y
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!7 ~' _/ ~* p% t5 P; s. @* _
  799. ; (shebang) at the top of the running script. This line might be needed if the
    2 V1 a5 `9 Z  s% |1 b) H, b
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI. s) |1 Y2 f- k* Z* ^1 w6 b
  801. ; mode skips this line and ignores its content if this directive is turned on.4 }" C2 I& p! [8 M! v0 l
  802. ; http://php.net/cgi.check-shebang-line% y9 V6 N  j/ V4 n; c
  803. ;cgi.check_shebang_line=1
    - F' V- L. S0 ]+ ?$ O( E; h
  804. , p7 ~6 O% y6 d$ z$ ?, [
  805. ;;;;;;;;;;;;;;;;6 [1 ^. V7 x# P9 `& Z
  806. ; File Uploads ;
    , z1 q, |' ^$ T1 Q$ U
  807. ;;;;;;;;;;;;;;;;0 I2 i" q  I$ |& N: e9 R
  808. 2 N( ~/ }9 b- z6 {/ |9 x4 R
  809. ; Whether to allow HTTP file uploads./ y* J, D7 ^, a7 T3 f* Q
  810. ; http://php.net/file-uploads
    ; Q0 G' h# K/ t
  811. file_uploads = On* d8 F  B  \5 F8 g; R3 ?. B+ O

  812. 4 u* d* H* n( f" R- D
  813. ; Temporary directory for HTTP uploaded files (will use system default if not- I" {8 N% a3 w) X0 U) t
  814. ; specified).
    7 S9 W% c& d& h  ?; T( _/ @
  815. ; http://php.net/upload-tmp-dir
    ) P: ^6 S, k  L7 Y$ l1 Q! Q5 w2 h
  816. ;upload_tmp_dir =8 k! Z  \9 O2 e; n- s" I2 S2 o
  817. 0 w9 n9 Q% o& {4 z
  818. ; Maximum allowed size for uploaded files.3 t9 f/ h% u; r$ K1 P
  819. ; http://php.net/upload-max-filesize
    * v$ R6 K* S$ a
  820. upload_max_filesize = 50M5 X4 c9 y% N" l

  821. 7 b4 `9 e" a( `0 k/ b3 f% L1 |6 Q
  822. ; Maximum number of files that can be uploaded via a single request
    $ m7 J0 Q6 X( W' ~
  823. max_file_uploads = 20; _% t0 x- L$ p9 }0 D/ j- W/ f
  824.   Y" O& W- y4 @/ u. }' J. G  U3 `5 {( X
  825. ;;;;;;;;;;;;;;;;;;/ T" ~7 k# O" h4 v1 L8 d1 D
  826. ; Fopen wrappers ;
    2 ^8 ~8 k' W" j0 P
  827. ;;;;;;;;;;;;;;;;;;
    ! z% J! v: M" W2 P! e

  828. / n& Y" o' J: d
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.; ?3 B, W7 W$ p( j
  830. ; http://php.net/allow-url-fopen
    3 j- p: L. _6 d4 V5 l; ?$ a
  831. allow_url_fopen = On
    1 g( b3 U. @: \, {; r, }
  832.   \8 M3 K8 S. Z2 J; n7 \4 m
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.& p+ l/ Q( }% j, f1 T' x/ B
  834. ; http://php.net/allow-url-include8 ?% Q  z/ x- B7 w( C! ^- @
  835. allow_url_include = Off! f6 Z+ L4 b- M( S" T
  836. 8 b9 @  B7 n, R7 {8 v" v1 i
  837. ; Define the anonymous ftp password (your email address). PHP's default setting# ^) T0 j" {. d/ B
  838. ; for this is empty.8 N; i: D) @! }! n8 C( B/ A4 |
  839. ; http://php.net/from# C/ f" y# k% Y
  840. ;from="john@doe.com"5 B8 D8 d8 [9 c# w( j+ @1 p

  841. " H1 n. I: ^( Q
  842. ; Define the User-Agent string. PHP's default setting for this is empty.& O! ^  K; a8 y2 @+ w
  843. ; http://php.net/user-agent$ H2 E, T2 m! J& j7 P
  844. ;user_agent="PHP", a; y( Q/ W% _0 V8 u

  845. / x! H5 @# s* l; Q
  846. ; Default timeout for socket based streams (seconds)- a* m1 Q9 N/ y3 _. f
  847. ; http://php.net/default-socket-timeout
    2 F) u( \$ T: \* h' N/ J
  848. default_socket_timeout = 60
    2 b0 ?3 b4 I. m. |5 y" }
  849. $ m1 b& z( G: ?
  850. ; If your scripts have to deal with files from Macintosh systems,$ S* ?" F! O2 w$ z4 L8 I9 J$ `# @
  851. ; or you are running on a Mac and need to deal with files from9 }$ M4 \; y+ I4 ^, u
  852. ; unix or win32 systems, setting this flag will cause PHP to# u% E4 O- m( `4 O
  853. ; automatically detect the EOL character in those files so that
    5 c; d; c+ t! F
  854. ; fgets() and file() will work regardless of the source of the file.
    3 Q0 w, s5 Z; A* E4 O  q
  855. ; http://php.net/auto-detect-line-endings8 Y0 T& ]  v, z, J) D6 d7 C* q, F! i
  856. ;auto_detect_line_endings = Off5 }( |/ Z2 E; n, `$ V
  857. * A. d0 [3 C# S7 G  V
  858. ;;;;;;;;;;;;;;;;;;;;;;
    ( ]+ N; E- Z5 e+ y
  859. ; Dynamic Extensions ;
    , O( [9 n/ w) R1 O+ V5 L
  860. ;;;;;;;;;;;;;;;;;;;;;;/ G2 p. t/ A/ X! O' R/ ]% X1 B
  861. ) Z4 @/ h  _, _$ H
  862. ; If you wish to have an extension loaded automatically, use the following- P0 Z' q0 V; s, |/ U& w& |
  863. ; syntax:5 D2 M0 s2 q& N
  864. ;
    5 g4 m& n3 D1 i8 X. T
  865. ;   extension=modulename.extension
    . `% K% Q& N1 A* r! o% f- _5 S: M
  866. ;
    6 n7 Z6 d( k. X5 A
  867. ; For example, on Windows:
    5 E) g& F- i+ {. o: N" L4 P9 N) K  q
  868. ;
    1 a: v1 Y% Y: X6 p7 ~# r9 d3 f4 ^
  869. ;   extension=msql.dll
    4 @+ t  \, n4 Y
  870. ;
    % ]/ D8 E" O: G' z% S
  871. ; ... or under UNIX:2 I* F$ R+ w. |3 i' g$ h( q
  872. ;
    6 y. |" _" b$ s7 I3 ^" _  L' P
  873. ;   extension=msql.so
    + D. J) o$ @* Y# B4 V) d( `
  874. ;
    : I' I0 ^2 J( _
  875. ; ... or with a path:2 `& w. e2 q1 p3 N) c" `
  876. ;6 }& o. p: d& ^5 j
  877. ;   extension=/path/to/extension/msql.so4 R/ _$ Y& G% W, K
  878. ;* S* ~( m. _& N% n
  879. ; If you only provide the name of the extension, PHP will look for it in its
    $ H/ H$ v' P" ?' [; r& B4 o
  880. ; default extension directory.
    1 T# J" j6 p1 E2 v" i' e
  881. ;9 G2 ^8 O! G  P- |' ~
  882. ; Windows Extensions
    ! E6 G& u# ^7 y
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    - `% ~" j' l5 D* u& A7 T" p$ ]
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)6 Y& z, M1 [% [' C5 Z8 n. q
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    4 b) w8 i5 Y  O( V+ l
  886. ; Be sure to appropriately set the extension_dir directive.0 _) i4 K5 g$ F' f
  887. ;; R5 c- Q' ]' l
  888. ;extension=php_bz2.dll
    ; i2 B9 W( R* R4 n0 a! e/ f
  889. ;extension=php_curl.dll
    . `% ]; }& C3 c: b0 P% a: Z; y
  890. ;extension=php_fileinfo.dll
    * x% K* {' s8 {# `; h
  891. ;extension=php_gd2.dll* e0 `8 q4 T1 p7 w
  892. ;extension=php_gettext.dll& q- F4 W! ^- X8 t- V
  893. ;extension=php_gmp.dll% o: ^4 l3 o, a3 d2 A  H
  894. ;extension=php_intl.dll
    9 O3 z, s. z0 a) n+ j1 H% B4 l
  895. ;extension=php_imap.dll5 [/ J! [2 s! C; l* R0 D
  896. ;extension=php_interbase.dll$ G, D" M& u& u+ W
  897. ;extension=php_ldap.dll
    2 |) [0 s9 u( z( U
  898. ;extension=php_mbstring.dll
    7 F9 A3 l' |8 q( t
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it( r' `2 ]/ J5 E; ~4 L' q
  900. ;extension=php_mysql.dll
    & W* ^6 k6 m" C1 Q
  901. ;extension=php_mysqli.dll
      w2 Y6 d: `2 c( _; n
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client( B0 g# @8 q2 b; N1 k/ n( W
  903. ;extension=php_openssl.dll0 d+ u8 i/ _( _8 i& r1 K9 `
  904. ;extension=php_pdo_firebird.dll- \" G  t. a1 [- e5 S
  905. ;extension=php_pdo_mysql.dll
    " Y& d6 f, A) i8 Y) P
  906. ;extension=php_pdo_oci.dll) i3 s; P- u) u
  907. ;extension=php_pdo_odbc.dll  ~1 ]7 V+ _% K: l
  908. ;extension=php_pdo_pgsql.dll
    ' x6 _" [& t$ e' W! r, u* M, x  Q
  909. ;extension=php_pdo_sqlite.dll
    : i+ s/ J$ v) r1 p5 \- t" r
  910. ;extension=php_pgsql.dll- P) d3 _  c, l! ]- @
  911. ;extension=php_shmop.dll, S" b8 ~4 g$ A9 j% T2 X

  912. 7 ~  h/ k% Z9 Y) G1 N4 Z  i
  913. ; The MIBS data available in the PHP distribution must be installed. ! g; j0 O1 \: z! X6 B3 x
  914. ; See http://www.php.net/manual/en/snmp.installation.php   C; q  I$ @) x! {8 E+ s
  915. ;extension=php_snmp.dll
    * V; i8 ?# T! H/ f) F& z! d

  916. 5 X- R: W; u8 r& T- c" u$ [
  917. ;extension=php_soap.dll8 l! c' ~- @' Y: K1 `. }
  918. ;extension=php_sockets.dll5 A/ r4 C: w6 C  ^
  919. ;extension=php_sqlite3.dll# q" R6 e) b' S4 z4 ^7 @7 {
  920. ;extension=php_sybase_ct.dll
    # r2 ~; G! x+ ]" f% {
  921. ;extension=php_tidy.dll
    2 Q& L( ]5 z. s8 G: O8 ]6 X3 e; ~! c
  922. ;extension=php_xmlrpc.dll! \5 x, @( O6 L: G- K: I0 Z
  923. ;extension=php_xsl.dll: B% f  E; b& J0 f! ]. C
  924. ; e8 h* o+ T* m" H0 ~
  925. ;;;;;;;;;;;;;;;;;;;
      \8 h" ^6 m- U6 ^' H7 r2 ^0 \
  926. ; Module Settings ;
    5 A4 V& v3 O: {5 ~, _
  927. ;;;;;;;;;;;;;;;;;;;
    / J7 ^0 O) N& ~' U: o

  928. 3 b& I+ w- N+ L+ d
  929. [CLI Server]& Y, z# s. z$ E
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    ; [0 J$ ~- x  F; l: R, G5 Z" A
  931. cli_server.color = On: k3 g, o' f3 y. s
  932. , j8 i; X5 C0 t
  933. [Date]
    ; h4 k, V% g6 d+ S( J, H  C
  934. ; Defines the default timezone used by the date functions
    $ ~4 E; u% W# B* s' k- r
  935. ; http://php.net/date.timezone2 J" R& y0 E  }: _8 O$ s% v
  936. date.timezone = PRC
    3 c6 n+ ~1 y, i% R1 n3 X4 B
  937. , m, q: d/ C, T  D# O* Q
  938. ; http://php.net/date.default-latitude
    ! p' C, V& N0 \, I: r# `
  939. ;date.default_latitude = 31.7667
    * k$ `% y/ ?/ z( P: ~

  940. 4 l7 Y/ E3 B8 Q' R9 r& z
  941. ; http://php.net/date.default-longitude$ N" z$ Z6 p& h. @' W. V: r& E
  942. ;date.default_longitude = 35.2333
    1 m4 K8 |- z) ?/ F" [9 k9 p4 b

  943. ; t! X. n! }. w) R
  944. ; http://php.net/date.sunrise-zenith7 ~( H: B0 C4 x% \: O
  945. ;date.sunrise_zenith = 90.583333% B# Z" [9 C) b" f2 V- u

  946. 6 V" a7 @4 D' G9 ?1 q
  947. ; http://php.net/date.sunset-zenith8 ?- d# I7 H1 K- z
  948. ;date.sunset_zenith = 90.583333* B. h- E# H- q% D
  949. ( ]1 g- U: U: O
  950. [filter]5 N5 d5 \: U( T/ n3 Q- k8 k' Q
  951. ; http://php.net/filter.default
    * E+ B- ?# R: q
  952. ;filter.default = unsafe_raw2 J6 ^9 x/ x5 E* Z% D

  953. . _! c8 b5 U0 U/ ^
  954. ; http://php.net/filter.default-flags5 W% A3 W* ?, W9 G
  955. ;filter.default_flags =3 X/ Q/ r0 D0 L

  956. - Y7 O7 e2 w( S' |
  957. [iconv]
    * }3 o9 \6 P# I& u' H
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.- K& o" O4 j8 d* ]8 P& n0 K! E
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.0 d# c) {! j5 c  Q& v7 Z3 r
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding4 k+ T; I0 R# y6 M" ^; C
  961. ;iconv.input_encoding =( \3 U2 w/ z/ E1 q
  962. 9 l- S3 s, y0 {! J* p; h
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    % j) i3 K, m  Y4 b
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used." K0 D5 }, [+ W* h" f& O
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding% `2 f! x+ s3 Y
  966. ;iconv.internal_encoding =
    $ P# E& N# y# d  [* Z: L

  967. . `7 S' |* o5 \8 c
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    9 K# k# \5 z. C
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.) c/ g4 F" n4 a5 j; G
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    # }8 g2 A) l7 K" y% l# o/ M: w/ K
  971. ; To use an output encoding conversion, iconv's output handler must be set
    , p; i: q4 V$ i9 [* g
  972. ; otherwise output encoding conversion cannot be performed." P6 v5 |( P7 m* V3 _, u2 e
  973. ;iconv.output_encoding =
    , }  Z: A4 K2 [# p
  974. # i7 V& B+ F: M8 T; O4 Z# y
  975. [intl]
    7 N% @  S% x8 q. Z7 |$ S/ Q
  976. ;intl.default_locale =$ c, C4 t; r, Z
  977. ; This directive allows you to produce PHP errors when some error
    + m0 u5 t; D6 q6 [) r/ s3 `
  978. ; happens within intl functions. The value is the level of the error produced.
    , J; m$ F7 ]( A! A; o
  979. ; Default is 0, which does not produce any errors./ o4 e1 O* |( h, S
  980. ;intl.error_level = E_WARNING  p9 f2 y% }; ^2 k
  981. ;intl.use_exceptions = 0
    , _* q& X7 b: S" A
  982.   `1 O' j/ I8 B4 W* U/ F% _
  983. [sqlite3]3 L9 u" E1 ^2 m4 Z- V
  984. ;sqlite3.extension_dir =% }5 W8 s; H4 Y& t! K

  985. 1 ?( V! L, {, o
  986. [Pcre]6 Z" C1 }# n& I( ]. Z; i
  987. ;PCRE library backtracking limit.: G3 U" s' ^& g: ~4 [. Q
  988. ; http://php.net/pcre.backtrack-limit
    6 x' |4 L, b4 T6 a
  989. ;pcre.backtrack_limit=100000
    , F3 F. }7 _$ M* T6 _3 Z" |/ q
  990. ! j7 F) i: q% J' y2 K
  991. ;PCRE library recursion limit.
    8 \% o$ B6 A+ `# U# i2 e
  992. ;Please note that if you set this value to a high number you may consume all
    % W; z$ y; c" F
  993. ;the available process stack and eventually crash PHP (due to reaching the- b6 \; r1 X5 N% |
  994. ;stack size limit imposed by the Operating System).
    7 L; m1 E+ P# x+ u! V; q
  995. ; http://php.net/pcre.recursion-limit
    ) c/ ~, z0 d# |" |: @& ?9 j( [6 a
  996. ;pcre.recursion_limit=100000
    . D! s0 R: k; h( N# a* X
  997. ! i) U1 y, a3 \9 M% Y
  998. [Pdo]* ^0 z* ^' n/ t$ \- Q2 C
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    . s, S3 A" I4 t. o0 i4 k% U
  1000. ; http://php.net/pdo-odbc.connection-pooling
    / R) m) y2 _1 L# m5 [2 L
  1001. ;pdo_odbc.connection_pooling=strict& g! ?+ x0 Z6 b, z* @; p; x$ @

  1002. % s) D, K* z8 |8 e% _4 s) F
  1003. ;pdo_odbc.db2_instance_name" d( w8 c9 k" Z8 r/ {" h' J
  1004. 7 y( f' Q; [" k/ d- X$ C4 a7 Y
  1005. [Pdo_mysql]
    , I$ j  H/ ]) Y( U/ |
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    4 J9 G* y. O3 ~
  1007. ; http://php.net/pdo_mysql.cache_size5 a5 x; P0 t6 Z" P& n) {
  1008. pdo_mysql.cache_size = 2000% n  f, }6 y! t* ?+ t5 n: v

  1009. " J4 d8 Y7 x4 F) a# a( ]/ u: A
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ! q3 U- a% _- {7 g- c7 o
  1011. ; MySQL defaults.
    ! r( F% d9 Q6 o9 q) D
  1012. ; http://php.net/pdo_mysql.default-socket- A% v% O" ]0 U+ a6 E
  1013. pdo_mysql.default_socket=9 T+ R+ V8 `  ~- ]5 @3 |3 z

  1014. 5 w3 e1 [1 f) s5 ]- P
  1015. [Phar]
    ( u+ J# l8 D% I3 B+ ]
  1016. ; http://php.net/phar.readonly
    , k- J9 r: \1 l* p. A
  1017. ;phar.readonly = On) O; b) F0 ~/ C6 @5 `# ?- P

  1018. 4 I6 N; o' R- A
  1019. ; http://php.net/phar.require-hash
    & g: n, n$ N1 ]
  1020. ;phar.require_hash = On, y, E0 E: |5 z/ w
  1021. + t" \0 r& N4 b
  1022. ;phar.cache_list =
    : y3 ~7 Q2 V2 l- M) p6 m8 w

  1023. 3 {& {" V0 }& z" M
  1024. [mail function]& p* E# M1 y5 E. G( M0 G" D
  1025. ; For Win32 only.9 C5 T2 s+ n! u; `* L0 U
  1026. ; http://php.net/smtp9 g& @$ B1 ]9 g7 O  ^
  1027. SMTP = localhost
    . k1 Z4 G# X4 K' R; Z+ P
  1028. ; http://php.net/smtp-port, p  S+ X: T4 V2 g
  1029. smtp_port = 25
    0 o' a# a' N  L* U. L* e

  1030. 5 E! p+ D' [2 C
  1031. ; For Win32 only.  ~& q9 X3 z4 U: w& t
  1032. ; http://php.net/sendmail-from
    ( n  M2 m! W5 M- Q' o4 W; E
  1033. ;sendmail_from = me@example.com7 b1 W# \! ~2 V% d5 q
  1034. 8 T0 F- @: s( Z+ g: b
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").1 v9 q; B- p6 P
  1036. ; http://php.net/sendmail-path
    # n8 G+ S' k  E8 N! {. ^) J
  1037. sendmail_path = /usr/sbin/sendmail -t -i, ?, t: O* N, N$ ^7 ?  T' c4 `: O

  1038. + N( K; `7 g7 @$ ?4 }
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    6 c3 d! R9 {$ ~4 Z. O
  1040. ; to the sendmail binary. These parameters will always replace the value of, F, G4 u1 R- i# [- j
  1041. ; the 5th parameter to mail().# J) C; E6 f$ U+ P4 a; o
  1042. ;mail.force_extra_parameters =8 w+ ^1 v3 O; w9 T/ E

  1043. ' |$ h1 r4 i1 b/ {) y
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename; |* [0 u: z, D6 p  n
  1045. mail.add_x_header = On
    9 v2 v$ H: d1 b: {: v# l
  1046. . Q' W; e* a$ A) B/ x( h8 V' I8 p
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    4 R6 f; v9 T# h& a: d. q3 E  e& N
  1048. ; the full path of the script, line number, To address and headers.
    8 c) M/ n  D) f9 }) b
  1049. ;mail.log =( c) }& J; q& z. n5 O% [# ?0 p
  1050. ; Log mail to syslog (Event Log on Windows).$ i+ j4 y* a) d" T, H" @
  1051. ;mail.log = syslog
    ! t0 K; u; L( t; R% e* C) n$ j5 H) w0 R
  1052. 8 R1 D! y% \- e& G+ q9 a# r9 X
  1053. [SQL]: Y. D" T, h' E; I2 r" o! O
  1054. ; http://php.net/sql.safe-mode7 u1 e4 y" K) H" d+ C. s  j0 K$ @
  1055. sql.safe_mode = Off$ c- I: X8 A& s7 K3 x. O$ h

  1056. 8 F* Y8 r3 {/ Z3 \
  1057. [ODBC]
    2 \* [) F, N/ p# r
  1058. ; http://php.net/odbc.default-db
    * Q6 h2 _& _/ I$ O" N* n
  1059. ;odbc.default_db    =  Not yet implemented$ k" S4 k. B# T& r$ V
  1060.   J) u  X  i* Y# |; s
  1061. ; http://php.net/odbc.default-user# i7 N" i1 {! x2 h( W  e
  1062. ;odbc.default_user  =  Not yet implemented
    7 \: F- u  x8 G$ l
  1063. - L" u5 {- r- C, D6 b" ^
  1064. ; http://php.net/odbc.default-pw
    % v7 h8 J3 y, Y  R: `, u
  1065. ;odbc.default_pw    =  Not yet implemented- c' G% l5 a! c0 ?2 i3 w& x9 l
  1066. $ M; V7 U$ ^! U0 l* Y' y
  1067. ; Controls the ODBC cursor model.
    # ^" w, m! a& c7 j! p; H
  1068. ; Default: SQL_CURSOR_STATIC (default).6 Q' @/ ?8 r5 i1 `& I" k8 s/ `
  1069. ;odbc.default_cursortype: ?, G. u/ Z5 D) ]0 q& S8 p1 i

  1070. ) z+ r) ~4 @( U
  1071. ; Allow or prevent persistent links.
    3 O3 X* n3 T) l
  1072. ; http://php.net/odbc.allow-persistent$ T) C  D5 r' o( _: Z" `7 y% H
  1073. odbc.allow_persistent = On
    7 J: n9 c  J) R0 I. c  _0 d6 }

  1074. # i3 Q; r1 T, Y% ~+ f8 `8 A0 d
  1075. ; Check that a connection is still valid before reuse.4 W) a, e- }" F6 [' M
  1076. ; http://php.net/odbc.check-persistent. x/ |1 ^% Z1 c8 [" G
  1077. odbc.check_persistent = On2 k8 {# y" c4 U; H* L7 a6 D, k

  1078. 0 D; I* F& Q9 L: a
  1079. ; Maximum number of persistent links.  -1 means no limit.. E% k: j# o* H8 P! R6 b, Y" H# Y# x7 X
  1080. ; http://php.net/odbc.max-persistent3 f. ~8 h! g: j9 r
  1081. odbc.max_persistent = -1! f6 ?4 L: x( j0 c0 G  f! F

  1082. " ^& i9 x8 W2 A% x3 C+ a
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    5 _, V& u6 p% X9 m
  1084. ; http://php.net/odbc.max-links& z9 `! U# L& Y
  1085. odbc.max_links = -1
    / M( V# h9 p9 w$ F9 {

  1086. ! L% }4 g& B' \4 v. v- j
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means0 V! h5 t. @& C
  1088. ; passthru.4 g3 e/ n) @$ y
  1089. ; http://php.net/odbc.defaultlrl: }: h# x+ v# n% E2 r
  1090. odbc.defaultlrl = 40962 n0 c& Y1 O# g3 \; f4 Q6 K- ~
  1091. & g  @! |  F; _
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.6 m* ^3 U2 J1 t, C0 q
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    % c* c5 V+ i( ^  x8 v0 i
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    ) c  i- ~; Y. r- a& E6 N( V
  1095. ; http://php.net/odbc.defaultbinmode
    ; `, Z) @% i4 \/ O- j) w
  1096. odbc.defaultbinmode = 1
    4 e  Z7 t+ Z5 ^+ T' H# g7 n- o
  1097. * J8 C- P$ S- e4 A' s( ?. v: x7 m7 }
  1098. ;birdstep.max_links = -1
    2 z  ]3 ^4 \. O) {- Z4 o# k

  1099. ) K( n9 |9 N' V) p9 h5 n4 Y
  1100. [Interbase]
    ! q) N6 Y; Z! c( M) B
  1101. ; Allow or prevent persistent links.( B- _4 N3 E- K. b
  1102. ibase.allow_persistent = 1
    2 d' }# k! K7 C" o' E2 m7 H
  1103. 6 M0 ^: u0 O/ |+ ^7 U: P
  1104. ; Maximum number of persistent links.  -1 means no limit.' t: b0 z' Z* X3 |2 ^0 i& t' O! r
  1105. ibase.max_persistent = -1
    4 x8 o& G; V7 N. J

  1106. % v: D' c& {) N$ H- C, ?
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.: g/ x1 U& x7 D. o1 P- x
  1108. ibase.max_links = -11 G. U* a) r( z7 v
  1109. ) e6 j4 {7 A4 O$ A7 L/ {% d* d
  1110. ; Default database name for ibase_connect().7 L2 c. Q- f9 j* U8 e
  1111. ;ibase.default_db =: G$ y8 P5 ^$ g& I* _, ~

  1112. / q' d' Z) d  k# y! {7 I7 ?  e5 Q
  1113. ; Default username for ibase_connect().' c% _6 Y8 p0 g1 S
  1114. ;ibase.default_user =! Y* i' I# h( K" a" j& J7 |
  1115. 1 j5 U" h# P3 r, k$ Z5 ?2 y* L
  1116. ; Default password for ibase_connect().
    9 @6 R7 H; D- C2 A- H
  1117. ;ibase.default_password =- o7 |- f6 B: U: l( J& B7 N2 P
  1118. 5 T0 F& C5 {1 X
  1119. ; Default charset for ibase_connect().
    & E2 L$ q3 u4 M) o8 X' |
  1120. ;ibase.default_charset =# W; ~9 d$ F& G! c* K- x

  1121. ! ?, ^7 v; u6 K- W7 Y) ]
  1122. ; Default timestamp format., v! o5 I: ~1 |, p4 p- A! j
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    9 G7 \% x# C3 M2 E# C8 O

  1124. % ?6 v) s. b. r4 Q' I6 L
  1125. ; Default date format.
    0 z2 l0 t2 x+ X% w4 Z* k
  1126. ibase.dateformat = "%Y-%m-%d"
    % p4 K5 M. E# ~- U7 ^8 E/ _$ r
  1127. 9 h- t$ _% r. W% E2 `
  1128. ; Default time format.& \) F# l. D, D0 ]5 k* R5 Z1 |
  1129. ibase.timeformat = "%H:%M:%S"2 P" B6 X  \3 n9 L) F3 z6 c

  1130. 7 o+ S4 a' X# r# A/ G8 D
  1131. [MySQL]6 h5 b1 r4 J+ z
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    & f" q: `8 x, e0 Y$ m6 L0 f. S
  1133. ; http://php.net/mysql.allow_local_infile+ b' o9 X: ?% `4 f( a$ \) N
  1134. mysql.allow_local_infile = On
    , s1 P2 A7 m1 z: U; T5 y4 a9 Y

  1135. + Y3 Y- O9 q7 ^0 g
  1136. ; Allow or prevent persistent links.2 i5 J$ v0 r) B7 b) Y* G
  1137. ; http://php.net/mysql.allow-persistent% A' v% b+ `9 h. w" L; Q/ N, x7 A
  1138. mysql.allow_persistent = On5 s9 G8 |7 p& v. t) O* N
  1139. - W0 V' }8 a0 ~* a0 X& r
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache: G: P* l. E5 \6 r% D! g
  1141. ; http://php.net/mysql.cache_size! A9 m! B0 Y9 ^8 H
  1142. mysql.cache_size = 20004 U# Z! E7 I6 ^  h4 W/ q& y

  1143. ( ]2 \3 ?- J8 d" E# {- m
  1144. ; Maximum number of persistent links.  -1 means no limit.
    * w' C7 }& L9 T, I. v
  1145. ; http://php.net/mysql.max-persistent2 r. \1 D% b, z$ s6 k) I. v
  1146. mysql.max_persistent = -1
    9 {4 z) U2 R9 s( A
  1147. " ~( D$ X& q# y
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    4 r  y3 w, `$ _1 y7 s& p
  1149. ; http://php.net/mysql.max-links
    ; S+ N6 T: I( v6 \  k, f
  1150. mysql.max_links = -1
    ' o' e4 I! n9 Q8 j

  1151. 4 h0 l7 r, A5 u6 m3 b
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use1 A" g% s! H  P; X6 W
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    , a0 {6 e' Z4 C  `% r
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look# }# x+ D4 V! P: S3 V4 \
  1155. ; at MYSQL_PORT./ X( f2 H7 d( ]. x# r1 q
  1156. ; http://php.net/mysql.default-port2 Y4 P  M7 }: _, Q2 G% X! F7 `0 @1 a
  1157. mysql.default_port =3 r9 e& b  K$ o' G

  1158. $ W  l5 C+ e3 {8 X- |$ o. R) [
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    . x( U8 R$ h! M( ]# s$ k$ N9 r
  1160. ; MySQL defaults.6 R  L2 ?% l: D' Y' I' _
  1161. ; http://php.net/mysql.default-socket
    - M  r' E! \: B$ u
  1162. mysql.default_socket =
    - c8 q4 i4 Z' m" t, U# I
  1163. 1 M' u* J1 q- H- D# w- P+ x( g7 Z
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    2 c& ~2 o8 q; F; E, s, }% q2 D* s
  1165. ; http://php.net/mysql.default-host( P3 _9 W+ K$ \) e  z
  1166. mysql.default_host =5 r3 e5 v( o3 I, C

  1167. 4 s2 F7 }) k" U8 F6 \- _) j7 q
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).2 m, R! q: ~  }  u+ g* b/ Q  N
  1169. ; http://php.net/mysql.default-user
    1 C# t& ~) ]6 V
  1170. mysql.default_user =. c; c9 y0 g. c! ~* o

  1171. 2 p3 z$ p4 i" P9 {& @# D
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).+ i7 d& V4 O% q
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    # X1 ^; z' @* K2 J3 m- \
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    . k& v  p9 X: E: w% c, [$ L
  1175. ; and reveal this password!  And of course, any users with read access to this
      ?, }3 G& v/ Y3 H$ k
  1176. ; file will be able to reveal the password as well.' n, D" n5 b7 B/ L+ X# E7 A
  1177. ; http://php.net/mysql.default-password
    ' Y- W& N3 o, p
  1178. mysql.default_password =
    % I8 B) F, w! i9 B

  1179. * V! ~2 Y, t3 x9 d' M5 o- Q
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    6 U/ ~7 c) S6 x1 H
  1181. ; http://php.net/mysql.connect-timeout1 b6 T2 T2 Q, `( c: ^# U1 ~
  1182. mysql.connect_timeout = 60
    * `; U2 R% k: o4 E/ B/ [
  1183. . x1 O9 A: a! a5 [
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    * q7 R3 I( v5 Z: H
  1185. ; SQL-Errors will be displayed.
    , I; q# ?0 u* M7 ^2 i* v
  1186. ; http://php.net/mysql.trace-mode
    5 H4 ]* A1 W* y, X: M) j% D
  1187. mysql.trace_mode = Off/ z( L5 w: g# ]+ X2 c

  1188. : P$ U* a3 E3 ~4 |* @, g- z( f
  1189. [MySQLi]5 I5 N; c& V: B9 ^
  1190. & N9 t% i7 Y, H2 S! I/ a
  1191. ; Maximum number of persistent links.  -1 means no limit.
    , q4 k; K" b+ d! x( {
  1192. ; http://php.net/mysqli.max-persistent
    9 B6 W* N, y0 C
  1193. mysqli.max_persistent = -1& ^" V: ]: a" g  S' S/ ?+ e3 _

  1194. 4 x/ A! o5 e+ ?7 o& w
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    ' p0 ]5 G! W# `; J
  1196. ; http://php.net/mysqli.allow_local_infile; u8 p" q2 \, S8 i8 G; N+ x
  1197. ;mysqli.allow_local_infile = On9 m  y; j, G* y) Z! p$ v

  1198. 3 ~0 R! v& S5 |; I* i! c" W) @
  1199. ; Allow or prevent persistent links.' \1 m" M, N; W- P
  1200. ; http://php.net/mysqli.allow-persistent
    ! U- t$ v. k: ~  g' }! ~
  1201. mysqli.allow_persistent = On, p. W) R& K: c  L! k: z' {
  1202. : V& s3 Y/ G+ u7 s& c2 V
  1203. ; Maximum number of links.  -1 means no limit.
    ( ~" V5 |7 \; y" `
  1204. ; http://php.net/mysqli.max-links
    6 [6 W3 n: k0 a* \7 W9 W
  1205. mysqli.max_links = -12 o: t. c' r/ A) i+ r7 c" H

  1206. . H4 p9 @  B5 V' j3 p; p' g* y
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache  _3 P" `5 ~3 ~8 G( X: y2 l9 [- S9 I/ b
  1208. ; http://php.net/mysqli.cache_size3 o  g4 D9 S9 O
  1209. mysqli.cache_size = 2000+ {7 c3 a  _" T1 n/ i7 [
  1210. % _( ^1 V: h: P/ U
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    # O  @# K* g; j0 M: k. |  k: }
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    8 B$ H) z& I: q8 U
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    - D! h9 b; ]" b, B0 N) `! B7 O
  1214. ; at MYSQL_PORT.
    $ E& [$ r5 k1 ]: Z* q7 ]( L  z
  1215. ; http://php.net/mysqli.default-port
    9 x' f/ |; }1 x
  1216. mysqli.default_port = 3306+ a: ~3 y" c7 ^) U4 Y
  1217. 7 C8 d' v, Q/ t% H
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    + }3 a* I. R6 o# S5 ]9 v" d
  1219. ; MySQL defaults.
    7 @! F) @% Y) p3 b: G
  1220. ; http://php.net/mysqli.default-socket
    1 D( ?% F( s4 ?. t0 `
  1221. mysqli.default_socket =
    : L6 H4 I8 H( D( H* b# W

  1222. ( ^4 g# y. b6 C: [  w
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).. ]' y; x* \) ~* Z0 x8 p
  1224. ; http://php.net/mysqli.default-host$ M# V" @# c# ^! Q' i5 M
  1225. mysqli.default_host =
    ; [3 p6 i8 {3 j. c3 M8 W/ ?

  1226. # `8 O- D" S9 F4 W3 _
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    , g& |9 k. N. A& D7 w, x, t  r5 B
  1228. ; http://php.net/mysqli.default-user
    . T- j) b( N; N" ~7 T
  1229. mysqli.default_user =$ M. G0 {" e. K9 s" T8 d3 V" `
  1230. 9 c2 A0 V6 {3 Q7 ?5 _
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    % L  N& R- J" L7 Y" G' f/ h; k6 c
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.( X9 j/ f: }% a) F
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")4 p' N+ P) x6 Z# I/ w8 }' ]: C* |/ w: ~
  1234. ; and reveal this password!  And of course, any users with read access to this
    7 T# R2 l! @, p5 A& v
  1235. ; file will be able to reveal the password as well.0 y/ }# @0 K6 z! J" h# h% c7 r
  1236. ; http://php.net/mysqli.default-pw* ~8 I( z/ Y- @! q9 t' ?- ?9 P
  1237. mysqli.default_pw =
    / ^, e& L0 e5 M8 O

  1238. ) l% A6 a) t' M
  1239. ; Allow or prevent reconnect
    ; e; F. L# _+ J$ M) {4 J
  1240. mysqli.reconnect = Off" R" F3 b" `2 I" _0 C
  1241. . Y9 n* w5 ?& V5 M( \6 b! t
  1242. [mysqlnd]
      |0 `5 ]7 L8 r% l. H
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    ; o  o+ e% ^" H" S! z
  1244. ; used to tune and monitor MySQL operations.. q8 p+ P0 a% |: r7 ^6 k' ^
  1245. ; http://php.net/mysqlnd.collect_statistics1 u0 T9 r6 o: H2 c0 P
  1246. mysqlnd.collect_statistics = On  ?/ L- v3 g- A4 s/ F

  1247. ( @$ }5 `9 j, X$ N* W' x  b
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be; R+ s3 n) D$ ?, n( F! C0 V
  1249. ; used to tune and monitor MySQL operations.
    ' t4 P  W( S9 s1 [3 }. h& |  X
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    / M+ T# R( P2 O7 ?" m4 }
  1251. mysqlnd.collect_memory_statistics = Off8 R( ^! o' a0 U6 _' k2 H/ v1 G
  1252. * N% P* o; B, v! }* }& A$ d
  1253. ; Records communication from all extensions using mysqlnd to the specified log: n( b8 O! v0 k9 X: J
  1254. ; file./ K& q3 R: p& l' U( ~
  1255. ; http://php.net/mysqlnd.debug" ]5 \4 v! C. Y& t" u- B  {
  1256. ;mysqlnd.debug =( s# e7 e; ~9 n/ x3 `
  1257.   E9 W1 @" |) K& m
  1258. ; Defines which queries will be logged.$ ]( w, X  h" p2 {" i) r! r* u
  1259. ; http://php.net/mysqlnd.log_mask# e* Z( F4 Q, a6 l# E
  1260. ;mysqlnd.log_mask = 0
    4 t8 b9 W) a8 o- O/ Y
  1261. : W$ X6 ~; d5 B
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    ; B3 J7 }& N5 n& S
  1263. ; http://php.net/mysqlnd.mempool_default_size* b; f8 {- ^2 Q6 y& n8 L1 I
  1264. ;mysqlnd.mempool_default_size = 16000
    6 v" Z+ W5 R/ O, I

  1265. 2 W' h6 s7 \9 i$ f. M* n  x
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes." D0 O0 Y. D1 \# X+ e6 B, J
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size' }. c. D5 p& d; u
  1268. ;mysqlnd.net_cmd_buffer_size = 2048) h' K1 u/ G! e. Q- H3 J

  1269. 1 ~7 k: w7 l2 ?8 f
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in& e8 g  ?- R2 T& P$ E
  1271. ; bytes.3 x6 p* V7 q) g  o
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    & ~" S0 C# K5 v+ w/ C! c
  1273. ;mysqlnd.net_read_buffer_size = 32768
    2 G" R  |7 S  R
  1274. 7 I/ F; Z+ r# ^' [5 c5 b( n5 q
  1275. ; Timeout for network requests in seconds.
    * X$ I9 g# }, m  G. u
  1276. ; http://php.net/mysqlnd.net_read_timeout
    0 t" G3 m/ h  l7 k$ m9 h
  1277. ;mysqlnd.net_read_timeout = 31536000
    9 S2 P3 x: j1 |" f8 m4 |+ ]
  1278. 4 z4 S& T* ^! T2 M1 S, B4 Z
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    : u6 K7 Z1 m% [5 ^: b6 P
  1280. ; key.' c. z- N: |. L; l# i3 _* e; J0 l( j
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    ( D; q; E2 ^$ T
  1282. ;mysqlnd.sha256_server_public_key =
    2 ~  T9 J( j* c! t7 _# ?' j

  1283. ; F7 B( f/ A. ]) R4 s+ N5 @
  1284. [OCI8]
    ! Q& r7 G! ~/ W' ^

  1285. 3 n. L% D- Z  }' D( k& A5 y; z! V
  1286. ; Connection: Enables privileged connections using external5 N3 D  \) s& n4 A
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)9 ~/ I* R2 A4 Z( \
  1288. ; http://php.net/oci8.privileged-connect
    % S! x$ I! n0 P  c: r3 ?9 b
  1289. ;oci8.privileged_connect = Off) {8 u! {, [5 F" U' l

  1290. ) p9 u( p' m( t2 e+ T) D( c% V
  1291. ; Connection: The maximum number of persistent OCI8 connections per( J' b+ U: p1 Q8 O7 b( G
  1292. ; process. Using -1 means no limit.
      ~" s6 b( V1 E1 e$ X, F+ @
  1293. ; http://php.net/oci8.max-persistent
    5 C' a. N9 Q( k. c
  1294. ;oci8.max_persistent = -1, G9 b! L, v$ K
  1295. # v' P' F( }) \
  1296. ; Connection: The maximum number of seconds a process is allowed to* i6 L+ }+ }- D" I2 t7 h, `6 O
  1297. ; maintain an idle persistent connection. Using -1 means idle
    ' U8 y! S* `# }( Z5 m5 V/ _3 V
  1298. ; persistent connections will be maintained forever.0 {8 _, h: @9 Q1 ~  ]
  1299. ; http://php.net/oci8.persistent-timeout
    + z0 M5 h$ l1 _% v* c4 O
  1300. ;oci8.persistent_timeout = -1. L( V# F9 ?* ^
  1301. - R5 o3 X" F8 l$ {& C: r
  1302. ; Connection: The number of seconds that must pass before issuing a
    * Q6 z9 T7 ~' x& x. G3 p
  1303. ; ping during oci_pconnect() to check the connection validity. When
    . x0 P. U, f# Q! h. Q2 I8 Z
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables5 ?2 s# T/ }0 z3 _+ T6 e0 b4 N
  1305. ; pings completely.
    ' Q% v9 O  M5 w3 ^' F% R* W& X
  1306. ; http://php.net/oci8.ping-interval
    " C& H" X8 _2 h8 u3 k7 f
  1307. ;oci8.ping_interval = 60
    , C% l3 K: m) ^5 S; L

  1308. 1 n6 N% k- n1 \2 ?; x- a4 o
  1309. ; Connection: Set this to a user chosen connection class to be used9 u( X0 M1 Z% Z! L" K! A$ F0 j7 D( i
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    1 K7 [8 F' }1 v2 w+ \3 Q1 {
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    3 k7 P8 U! n# E% D8 X
  1312. ; the same string for all web servers running the same application,4 N( R6 ]; w* P
  1313. ; the database pool must be configured, and the connection string must/ ~  g) p1 X" g) [- J( A& p0 q
  1314. ; specify to use a pooled server.6 D* g! m7 O- u' B2 Z0 Z. {
  1315. ;oci8.connection_class =
    6 b- r; C' B  ~$ Z' `$ c, E; F
  1316. * q9 B% Q$ s+ f/ ^( C
  1317. ; High Availability: Using On lets PHP receive Fast Application) ^1 E: i- k, j  K! g( K
  1318. ; Notification (FAN) events generated when a database node fails. The
    5 g: f: c/ U8 e. p; b
  1319. ; database must also be configured to post FAN events.: N) ^$ K  {7 }: w/ b' _% [6 U
  1320. ;oci8.events = Off
    " m7 w" X% l- t1 f/ Q/ n

  1321. 1 r9 f4 l7 r1 g" J9 g6 `1 L
  1322. ; Tuning: This option enables statement caching, and specifies how
    : d% K& m' a7 i! b2 y
  1323. ; many statements to cache. Using 0 disables statement caching.
    1 C0 b* A1 }1 f0 O$ `' x; g
  1324. ; http://php.net/oci8.statement-cache-size
    6 `# o$ H2 ?' X8 i
  1325. ;oci8.statement_cache_size = 20# _- M6 N0 ^% N0 ?' ~( t

  1326. * A+ n/ V% ]- U- T7 j; `* S. o3 L
  1327. ; Tuning: Enables statement prefetching and sets the default number of" d2 c1 p! U6 m5 K3 |; l8 o& M
  1328. ; rows that will be fetched automatically after statement execution.
    ) }0 Z; c0 c4 I5 [( b
  1329. ; http://php.net/oci8.default-prefetch, X$ J; [3 }# C: R- ~. o0 ?
  1330. ;oci8.default_prefetch = 100
    2 w' v/ I. |& _
  1331. " N; \7 F) R, |5 T1 ?7 ~
  1332. ; Compatibility. Using On means oci_close() will not close+ ?% H/ J2 C" s: R
  1333. ; oci_connect() and oci_new_connect() connections.
    8 u8 [' }. {$ ?1 G
  1334. ; http://php.net/oci8.old-oci-close-semantics9 x. T4 l# L$ |# @- |
  1335. ;oci8.old_oci_close_semantics = Off
    ' Q5 i9 j' ]7 e' k. ^2 p" d
  1336. 4 v4 A. [+ c' W7 e
  1337. [PostgreSQL]6 h9 Y" `8 B8 L* d' p# g4 ^  ^
  1338. ; Allow or prevent persistent links.
    * F- f  D4 Y5 m$ u3 J$ H
  1339. ; http://php.net/pgsql.allow-persistent( w& y3 y2 U+ H, m1 F
  1340. pgsql.allow_persistent = On
    ; b8 y9 e0 b  N

  1341. 8 z8 |3 G! O3 `* I- I* Y: i$ z) @
  1342. ; Detect broken persistent links always with pg_pconnect().
    5 Z3 m2 G. T- `- F) j5 X' t
  1343. ; Auto reset feature requires a little overheads.
    , j( R& u8 d: c. j, F+ k* O
  1344. ; http://php.net/pgsql.auto-reset-persistent
    4 A* {! w/ P/ r7 H- i
  1345. pgsql.auto_reset_persistent = Off
    - Q5 `+ Q; L/ ^' G1 F

  1346. ' z' V- f, q7 @: c/ Z; b# L
  1347. ; Maximum number of persistent links.  -1 means no limit.5 m; J6 W& C4 u. u% u, S$ h
  1348. ; http://php.net/pgsql.max-persistent' K5 `* ?. O% H: \& U0 D# ?
  1349. pgsql.max_persistent = -13 a* W5 d; g, ]% u; _# m

  1350. 0 y& ^5 \' v5 N5 V* c7 H1 `
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    8 f  T6 y- _: _
  1352. ; http://php.net/pgsql.max-links1 }& A/ m( t$ W/ c
  1353. pgsql.max_links = -1
    3 ?! ?3 O/ _: w9 f# x
  1354. - G& B+ n4 D' e7 G, H
  1355. ; Ignore PostgreSQL backends Notice message or not.  f$ o. N  G" ^
  1356. ; Notice message logging require a little overheads.
    . q5 W- {, b4 e) A( p
  1357. ; http://php.net/pgsql.ignore-notice
    ( @5 d2 c# X7 Z! W8 q! {; R4 Y. N
  1358. pgsql.ignore_notice = 0
    ' s& L$ P: [/ X) n! W% K

  1359. ! Z- f% ~6 ^: }3 r7 s4 X1 Y, b9 D
  1360. ; Log PostgreSQL backends Notice message or not.& ^& X* h& t" W* m) O( u& O
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.. x+ H+ t) G) }7 F2 c, R' g$ Y
  1362. ; http://php.net/pgsql.log-notice
    # D) y. N" B4 f! ?, q
  1363. pgsql.log_notice = 0
    2 M6 U- M3 ?- |
  1364. 2 O9 T; q! g4 K6 P1 @' @
  1365. [Sybase-CT]
    * t& L: \5 v& k- Q0 u
  1366. ; Allow or prevent persistent links.
    ' ^7 m% k6 |; C) m
  1367. ; http://php.net/sybct.allow-persistent) r( r& q! d$ t8 U, C
  1368. sybct.allow_persistent = On
    0 _, ]* i1 Y2 g1 y# K6 K
  1369. 4 L( v$ J( a1 }( u
  1370. ; Maximum number of persistent links.  -1 means no limit.
    1 I. w. C9 z% W
  1371. ; http://php.net/sybct.max-persistent
    ) z& K- \. d3 _# X
  1372. sybct.max_persistent = -1- z, v2 I4 S! ^5 @7 m+ E, Z! c
  1373.   N- F1 o- G8 A2 A
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    5 ?! l; [! \9 k* @! ?* s. R5 h8 A  u
  1375. ; http://php.net/sybct.max-links
    + L* V" g( P4 ]% I% [" q
  1376. sybct.max_links = -1/ e5 a" l4 U2 N3 \/ g# X

  1377. $ T4 @, F" O; i* Y
  1378. ; Minimum server message severity to display., N" O9 u" i; X, W, }1 w
  1379. ; http://php.net/sybct.min-server-severity( S4 s5 g2 d9 ], p+ a0 v
  1380. sybct.min_server_severity = 103 R: D7 _( E4 p, }. }1 W( e
  1381. 1 @- s0 Q1 A9 f$ j* e! |
  1382. ; Minimum client message severity to display.
    6 y2 T  ?% B$ T  n1 r. V. b: O0 g
  1383. ; http://php.net/sybct.min-client-severity
    ! P: Z7 \  S( E+ r
  1384. sybct.min_client_severity = 100 l2 e2 q2 K! h1 \6 O
  1385. - o. F0 g: ?  J; J8 T  K
  1386. ; Set per-context timeout
    * ?5 b) \# U* A) C$ n/ C) K- \
  1387. ; http://php.net/sybct.timeout
    6 O9 D2 j. B; K1 J* l
  1388. ;sybct.timeout=9 z' m# x4 P! |1 Z

  1389. 5 C3 _$ V6 w* ^! O0 n/ R7 T7 ]$ F
  1390. ;sybct.packet_size) O7 B7 o8 t2 t% [8 U
  1391. 5 I% C( Y% z0 W- \( c7 T$ r
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.4 z" P, O. B* Y3 d4 d% e; b
  1393. ; Default: one minute
    $ g* }5 U7 t: J6 u0 b
  1394. ;sybct.login_timeout=: @1 c  T0 j0 g' u* v% {; b9 j

  1395. 3 }/ R7 z+ T) Z5 x) {# W; q$ W
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    - B  X! A9 M" M. d9 a7 v3 y
  1397. ; Default: none+ I5 p6 g: V8 c
  1398. ;sybct.hostname=2 A6 g" z/ c4 C; J# O

  1399. ( m! d6 s5 Z# C: s% h* k9 y# R: K
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    . q- {6 c) o+ b' N- x2 k7 j+ N
  1401. ; Default: 0
    5 A. D! z; h" D4 B: D. r
  1402. ;sybct.deadlock_retry_count=
    1 @, m9 Q! e# }# k: s
  1403. ' c+ P' S; @8 h, k$ f' S3 t2 Z$ K* t* J) R
  1404. [bcmath]9 g  B6 a( V; ~% Y6 C
  1405. ; Number of decimal digits for all bcmath functions.
    6 i8 J4 [4 K; u( H! n* ~. E# M* |  k
  1406. ; http://php.net/bcmath.scale  D2 \* \% `7 y7 ?8 m3 }1 E0 K
  1407. bcmath.scale = 0$ u/ q5 x' }; B9 A! ]$ ]$ c

  1408. 2 W1 \9 f( _6 j; X+ z4 T3 Y. i
  1409. [browscap]$ q0 X3 `( L5 T% I% i- d
  1410. ; http://php.net/browscap6 F6 I4 N, G. u
  1411. ;browscap = extra/browscap.ini3 b9 k! |* |0 }$ I- U& S

  1412. / G8 i7 r: t8 I# M+ Z
  1413. [Session]* E# C8 O' x. K
  1414. ; Handler used to store/retrieve data.( V1 x* V. X, R2 d
  1415. ; http://php.net/session.save-handler# F! M1 n* Y; R" O
  1416. session.save_handler = files
    ; g6 f5 c% N9 z& H6 S  ?
  1417. % B" i7 j# S6 T* r. C3 S+ m6 d7 T
  1418. ; Argument passed to save_handler.  In the case of files, this is the path1 |  z$ o% z2 {* ?2 J* D
  1419. ; where data files are stored. Note: Windows users have to change this
    ) p/ ]: y& [# S: X: @& W' w
  1420. ; variable in order to use PHP's session functions.
    ( y0 Y6 |0 D; g+ n: F+ g! v8 ^/ [
  1421. ;0 ?4 t) ^" K& ?3 q
  1422. ; The path can be defined as:
    & I- E* m% z  I1 L
  1423. ;1 u; ]' o! v# H8 j1 r1 O. }* ?! K  @, d
  1424. ;     session.save_path = "N;/path"
    - W9 d; l& b1 O: P! @2 a+ R; H
  1425. ;; o1 u2 K' ^  f; W; o7 H, i& F9 `
  1426. ; where N is an integer.  Instead of storing all the session files in
    9 h# ~- r# K5 X+ M" ~# c
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    . S: Z) E5 p7 \& \7 F0 N
  1428. ; store the session data in those directories.  This is useful if+ `, _$ ?3 b2 w4 ?
  1429. ; your OS has problems with many files in one directory, and is4 t, [; i; r* g# U; N7 N6 B: s
  1430. ; a more efficient layout for servers that handle many sessions.
    ( R+ J! m. H0 M; q6 {# I
  1431. ;  Z+ |" D+ A$ C! F
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    . r  s* @/ y. N$ ?" H3 v' i$ @
  1433. ;         You can use the script in the ext/session dir for that purpose.
    7 Y$ u2 c6 d5 [  d& ?7 {. r
  1434. ; NOTE 2: See the section on garbage collection below if you choose to* w' u9 J" i1 y1 O* f/ z
  1435. ;         use subdirectories for session storage. F! L9 }" M0 A7 s+ a
  1436. ;1 D3 F1 W7 F4 h! N. y1 r
  1437. ; The file storage module creates files using mode 600 by default.2 H9 n- H* `" \+ U& P/ Y' i8 ~
  1438. ; You can change that by using/ `2 t$ ?& ^3 p9 @. S5 c% _
  1439. ;# H  k7 U, u8 x9 `7 Z4 d
  1440. ;     session.save_path = "N;MODE;/path"! }: ]; N( v  g5 }* L5 {* e
  1441. ;4 X0 [: V! b4 _. v% {1 ~* O
  1442. ; where MODE is the octal representation of the mode. Note that this
    / s( {: U! ]5 l( X# k1 }! G
  1443. ; does not overwrite the process's umask.- z/ o& x$ a! u+ J8 V$ |
  1444. ; http://php.net/session.save-path
    0 h9 ], N+ C) Y% o& s- o: @
  1445. ;session.save_path = "/tmp"
    # R, p9 H) w7 M( I0 l% U
  1446. & |& K: {3 X) }+ x
  1447. ; Whether to use strict session mode.
    1 @' b/ p  ~, [9 [! P  j" z
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    8 o/ U( o6 q) s5 D
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects  e" D8 D4 J- |# u
  1450. ; applications from session fixation via session adoption vulnerability. It is  ^& B* Y2 f! a9 f" H8 }
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.) b" p% {  \' d3 Z& o( {5 ~
  1452. ; https://wiki.php.net/rfc/strict_sessions
    0 l: o4 ^! V" w& Z# X1 O# [
  1453. session.use_strict_mode = 0
    ' ?# T0 |# k- {9 a- _! d2 G' J4 o1 z0 b
  1454. 8 u. C. T+ L! {2 n2 E" H4 f2 k
  1455. ; Whether to use cookies.
    8 v1 E( ^& [. D0 {* \; s$ o
  1456. ; http://php.net/session.use-cookies# _, I; l7 `$ \) k; p$ c7 j
  1457. session.use_cookies = 14 u( L# J9 m4 p2 \& {) ~

  1458. ( i/ t4 U* F) i% H9 ^+ u
  1459. ; http://php.net/session.cookie-secure4 O- T0 J5 T/ Z
  1460. ;session.cookie_secure =7 J; V2 F6 J" s+ O- K0 d
  1461. . K& D/ y$ o9 j' v
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    . n1 e8 U2 `8 F& d! A
  1463. ; the session id. We encourage this operation as it's very helpful in combating# K' J+ T4 R1 i4 x+ A% T" D' x
  1464. ; session hijacking when not specifying and managing your own session id. It is
    ! f: k0 o5 n5 N4 q" g, a* I
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    2 N1 Y2 c  a6 X* @/ Z1 z
  1466. ; http://php.net/session.use-only-cookies+ a2 ?1 q+ ^4 y& ^
  1467. session.use_only_cookies = 19 `4 z9 ^1 }6 Z$ r4 m

  1468. * b0 Q4 y* d8 [$ ~
  1469. ; Name of the session (used as cookie name).
    : {/ O. c# ^) S
  1470. ; http://php.net/session.name* Z+ j/ o5 N; r% B  N- j# x
  1471. session.name = PHPSESSID
    ; v* s( \7 P- T1 P. n1 }* W0 y8 x
  1472. . y# ]' k0 n2 O2 |3 k1 q) f
  1473. ; Initialize session on request startup.9 z! L7 `1 w8 P8 [6 q
  1474. ; http://php.net/session.auto-start
      J) z6 G; E# p" I: F+ s! J$ k$ O
  1475. session.auto_start = 0: x# `0 u  o' _
  1476. $ ~7 }# h% g7 ~+ m& v/ `
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    * Z1 }' u9 E# d
  1478. ; http://php.net/session.cookie-lifetime
    ; o$ ?0 Y4 ~5 D
  1479. session.cookie_lifetime = 0
    + r2 i, U! k8 {  [  L9 L

  1480. 1 Q4 D4 a7 T% S" R+ {4 j3 ]
  1481. ; The path for which the cookie is valid.
    - C7 H) j" c7 J+ V$ R3 m
  1482. ; http://php.net/session.cookie-path
    2 }8 `9 e# J0 L9 Y3 y
  1483. session.cookie_path = /
    4 J% G7 z6 h6 B$ K3 u

  1484. & y( J# f& ?& [% }% Y7 x
  1485. ; The domain for which the cookie is valid.4 h2 t3 _1 o: h2 S3 S- u9 U
  1486. ; http://php.net/session.cookie-domain& T  E# D0 q) Q3 S
  1487. session.cookie_domain =9 a- ], o" q$ V- T

  1488. . Z' s; _( ~7 ^1 x% @. ~
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    ( D0 v+ b9 C: h: M4 C1 K
  1490. ; http://php.net/session.cookie-httponly' `6 a" m! S4 _+ L9 W( }0 ?4 R
  1491. session.cookie_httponly =
    + j) ?9 @* P( d( s2 w- F
  1492. 9 l* _7 Y8 @/ O. E" d  F
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    & k+ q- C- G5 \* X" n
  1494. ; http://php.net/session.serialize-handler
    ( D: _1 a6 r, v: p! h% G
  1495. session.serialize_handler = php
    % P3 o2 d# b2 h- X" U
  1496. " K8 W& {: R& K. |2 b9 a
  1497. ; Defines the probability that the 'garbage collection' process is started
    " ~+ L1 r7 {+ N0 C
  1498. ; on every session initialization. The probability is calculated by using
    ( m+ g9 i3 T1 }
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    : H) D' t0 Y! f0 n6 \2 b- H
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    ) U6 L( c7 n  f$ s( t; }
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance2 _$ J7 n# t, n5 H$ _, ]: \2 @
  1502. ; the gc will run on any give request.
    ! J. v% ^0 C' H4 P0 k7 K
  1503. ; Default Value: 1# H  T9 V, G4 h  S
  1504. ; Development Value: 1
    $ i! s. J; i! N' b* ^8 J; O
  1505. ; Production Value: 1
    . z5 ]* n, C+ r; O& l, U( ?
  1506. ; http://php.net/session.gc-probability# \! d  r9 n4 l8 u! z; i4 D
  1507. session.gc_probability = 1( v4 v, [6 h& m+ I1 p7 W
  1508. ! h2 d0 X, Z9 A9 G9 I- {+ ]
  1509. ; Defines the probability that the 'garbage collection' process is started on every0 U; }" B/ G4 L( _; s! q0 q) D# T, a
  1510. ; session initialization. The probability is calculated by using the following equation:
    4 P/ S0 p$ \3 ^7 B4 {3 I$ R9 u
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and) @  j; Z) T7 I1 E+ V* E$ d' _
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1( D: J! m: E( G; z; l
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    " r. P3 Z0 G  r: `* |
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you. [1 {& C6 R, S, c
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,/ `: p# i6 i/ e6 T0 U4 Q+ X
  1516. ; this is a more efficient approach.
    2 G% F9 p/ V% ~
  1517. ; Default Value: 100
    $ F) A5 ?  q3 s
  1518. ; Development Value: 1000
    8 |3 w# u- t( [+ x2 t5 M
  1519. ; Production Value: 1000* C) ]- O1 b5 `# j; w4 l9 v: V
  1520. ; http://php.net/session.gc-divisor
    . J7 D+ v2 W7 |$ K
  1521. session.gc_divisor = 1000/ a# @: X" B  A( H- O4 M9 }* j
  1522. : G+ k9 K# m9 P. P6 J: `% J
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and: |+ _& U* P$ n8 w- E
  1524. ; cleaned up by the garbage collection process.0 t# O- [3 U: a$ Y+ c
  1525. ; http://php.net/session.gc-maxlifetime
    ! I4 [1 u% X7 ?4 y
  1526. session.gc_maxlifetime = 1440& ~# X6 i3 z& }+ H+ k" K
  1527. 3 p7 z0 A- r1 x2 V
  1528. ; NOTE: If you are using the subdirectory option for storing session files: r& ^' I7 [% C. D8 b4 n
  1529. ;       (see session.save_path above), then garbage collection does *not*, f/ W4 l1 [, Z8 B" O6 `/ i
  1530. ;       happen automatically.  You will need to do your own garbage
    9 A" P; O% ?/ ?7 }5 j9 ]
  1531. ;       collection through a shell script, cron entry, or some other method.
    & H& T8 v; |: W8 }
  1532. ;       For example, the following script would is the equivalent of
    2 p+ \) ~3 o1 ^; ^9 J& Q) r# Q
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):5 J! i/ m+ |/ J& d% u& x# k9 d
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    & N" d5 G, I2 W9 |
  1535. & Y' ?& |% `/ p0 e5 v- K5 I
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.3 L9 y" ]& X1 y
  1537. ; HTTP_REFERER has to contain this substring for the session to be6 S" l) ^+ U' W. X  Q; Q( x& J* |
  1538. ; considered as valid.
    % i) h3 K9 n6 o- k1 K! y) u
  1539. ; http://php.net/session.referer-check
    + z; g9 i! K# B) f$ g, l% s
  1540. session.referer_check =
    9 R1 Z; Z6 @( S7 Y6 ~

  1541. . E& X  P- g8 T3 U
  1542. ; How many bytes to read from the file.
    # h' q1 A  H& f6 F, O( ?6 p# v: A6 r
  1543. ; http://php.net/session.entropy-length$ |' B1 R4 I' v2 }
  1544. ;session.entropy_length = 328 a  v: n! S) E# L5 R: |

  1545. , }# \) |; G: [3 H1 Q8 K
  1546. ; Specified here to create the session id.9 `2 x+ j5 I! [
  1547. ; http://php.net/session.entropy-file
    1 _, d' f# G( e9 j5 [: D
  1548. ; Defaults to /dev/urandom
    0 b8 c2 r* c( U! r; r* s8 v
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    # l0 M/ G; z' R5 l" T) I5 c
  1550. ; If neither are found at compile time, the default is no entropy file.) O: {# Y4 o" m) {& @
  1551. ; On windows, setting the entropy_length setting will activate the
    ! H, i  X* C; U  J* Y$ M4 H
  1552. ; Windows random source (using the CryptoAPI)
    $ ~' V3 a" X. B1 D, u5 w! `# c
  1553. ;session.entropy_file = /dev/urandom6 e8 G- ^7 h5 N
  1554. & V* X1 D, j: d6 d  N, t
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects$ A$ _" ?5 ~! A: E& B& e5 e
  1556. ; or leave this empty to avoid sending anti-caching headers.
    ( L5 J# V3 e* M: k" D
  1557. ; http://php.net/session.cache-limiter
    ( i$ X- v' g$ x. C. f% R; U) J# }
  1558. session.cache_limiter = nocache3 x1 U+ \' i9 w3 P

  1559. 4 J& l/ o9 e- I# `* n# m1 V7 Y
  1560. ; Document expires after n minutes.
    ( Z1 t& l' L! P$ J) @7 q; o
  1561. ; http://php.net/session.cache-expire
    8 R2 ], G' k- L6 E8 v
  1562. session.cache_expire = 180
    3 s3 V! I' a5 a( o% K
  1563. 7 Y: V3 D# s" n1 D2 s7 y1 A2 f8 _
  1564. ; trans sid support is disabled by default.
    , C- R6 m" m+ a/ ~' p
  1565. ; Use of trans sid may risk your users' security.# J, ~2 w; c- T+ ]1 r9 `8 B  v
  1566. ; Use this option with caution.
    ! {, \. X6 T, t% X* ~1 b0 m
  1567. ; - User may send URL contains active session ID
    " ^* I/ e( {$ L& F* J# {( p
  1568. ;   to other person via. email/irc/etc.
    # S+ b5 B/ J1 Z2 }' N- z: H( K" x- n
  1569. ; - URL that contains active session ID may be stored! ~5 v) h1 l% [* P8 m+ ]2 c' C
  1570. ;   in publicly accessible computer.
    . z+ z1 J8 {4 z3 @, A9 T; W
  1571. ; - User may access your site with the same session ID
    1 f9 l# {9 [% |! V* {1 z$ ]
  1572. ;   always using URL stored in browser's history or bookmarks.
    / [$ _4 p5 ~6 P  r  Q1 N6 N1 n% X
  1573. ; http://php.net/session.use-trans-sid
    ( ?3 Y4 B; }) L& b6 s& P) n
  1574. session.use_trans_sid = 0
    0 S* C' E0 L) j+ n% \# }0 Y) [7 a

  1575. 9 k, X/ y9 C0 V1 _7 t9 U
  1576. ; Select a hash function for use in generating session ids.% i, q+ \* f4 Z! E9 j( q1 w
  1577. ; Possible Values
    5 E$ Y  @" ~8 a, J/ \
  1578. ;   0  (MD5 128 bits)
    2 Y, k5 ^9 ]. X3 D# d# X4 @# ]3 W6 U
  1579. ;   1  (SHA-1 160 bits)
    & p/ r$ ~; O: L% J
  1580. ; This option may also be set to the name of any hash function supported by
    3 m2 i+ a' n  y. `8 j
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()  t  W+ v5 i( j; c0 a, E
  1582. ; function.
      H' w4 E# _5 u$ ]
  1583. ; http://php.net/session.hash-function
    : F; i  \* z0 l4 v2 K  W
  1584. session.hash_function = 0& ]/ ?8 ]6 g) B% V+ K5 v3 E
  1585. & U  r4 U) U0 ~
  1586. ; Define how many bits are stored in each character when converting+ y+ t. R5 d  M# m3 P$ x+ M
  1587. ; the binary hash data to something readable.
    . I/ U0 ~* ^5 P
  1588. ; Possible values:
    5 ^. b' q+ [' g/ x9 }& O
  1589. ;   4  (4 bits: 0-9, a-f)
    9 g; D. z) f8 N1 {8 B# x8 r
  1590. ;   5  (5 bits: 0-9, a-v)
      x& Q( S# R. X' G
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")/ a1 A& h9 {8 P- s- O& b
  1592. ; Default Value: 4  ]% V) i2 {7 Y/ I8 M7 R2 F$ n
  1593. ; Development Value: 5: I" o3 ?* B- M6 S' V0 V
  1594. ; Production Value: 5# M/ I# I  p, i: u, F' M6 G
  1595. ; http://php.net/session.hash-bits-per-character3 ~5 E$ v! ?# l; j5 b9 l: c/ L$ }9 @
  1596. session.hash_bits_per_character = 5
    ) j/ _- p( V+ S) `" S+ s. N

  1597. ) }8 S$ C& k1 }$ g! G4 |9 o
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    8 x; ^+ _/ z6 X) N6 Z6 @, K. ]
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    6 |' c) E& q6 W
  1600. ; add a hidden <input> field with the info which is otherwise appended
    - e! z) K/ a6 ~0 W5 h& I7 j  v
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    8 e$ Z8 I2 o% @3 z) h; L" d
  1602. ; Note that all valid entries require a "=", even if no value follows.$ j1 y8 V1 A) o0 r  H8 U4 f; w& I
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    , S3 n* `0 S! U
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    7 ^" Q$ ]9 h8 x- M
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ; h5 V# Q% o. N8 D
  1606. ; http://php.net/url-rewriter.tags
    . f' M4 d% m' _) x3 k/ [) |4 D
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"" d. j* x1 p1 M* P$ ~; s
  1608. ; @8 [3 G: @, B1 r3 T
  1609. ; Enable upload progress tracking in $_SESSION( b  O& t! m  i9 ~7 }' ?/ E. @/ v
  1610. ; Default Value: On
    & ^' k+ o3 |, F$ r( b
  1611. ; Development Value: On
    . D' L& {3 h! E+ T
  1612. ; Production Value: On
    6 L" Y# o" I& c# c
  1613. ; http://php.net/session.upload-progress.enabled
      k" @/ ?- l( H; b' e( e9 s
  1614. ;session.upload_progress.enabled = On+ y3 Z) v3 V" s5 ^+ w; `! ?: @
  1615. / e+ R" E* m' y' `( R
  1616. ; Cleanup the progress information as soon as all POST data has been read) Q% R0 l; H/ u4 O. `3 o- B
  1617. ; (i.e. upload completed).
    3 \9 |- n. S8 Y
  1618. ; Default Value: On; C# k5 i5 `/ D, Q- d* P& E5 C
  1619. ; Development Value: On9 x( ^. j) n+ D. E+ W
  1620. ; Production Value: On! k9 Q, i# X: s" }0 j/ }9 w; b
  1621. ; http://php.net/session.upload-progress.cleanup* p$ |7 d: y! `9 b- |* |
  1622. ;session.upload_progress.cleanup = On
    ) D, e5 y% P# j7 i, R8 [

  1623. - E1 e# s6 L* S
  1624. ; A prefix used for the upload progress key in $_SESSION$ A1 V  ?$ r0 x& m, b2 ]& W
  1625. ; Default Value: "upload_progress_"
    " ~6 O, ~1 t- P+ K
  1626. ; Development Value: "upload_progress_"% t# A2 ]& }5 J& A0 C
  1627. ; Production Value: "upload_progress_"2 D' e  G) N- c
  1628. ; http://php.net/session.upload-progress.prefix
    7 M+ h, E/ u: }; {, @
  1629. ;session.upload_progress.prefix = "upload_progress_"1 T! R6 [$ l6 B* h8 m- n, w

  1630. 3 i  V* [0 L5 d2 f, N+ @
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    8 E' ~' n  t5 o1 b
  1632. ; containing the upload progress information2 R7 F) V' q0 v6 _
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    4 m+ T0 y" n9 i5 x8 X( x
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    # c3 @) j3 Z. a/ e3 ?
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"1 ^/ X9 O+ n: h- f0 [+ W* `
  1636. ; http://php.net/session.upload-progress.name- ]1 e: S" p3 b: w
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    / D/ n3 n( o/ J* m
  1638. + g! w0 h$ g7 R% d
  1639. ; How frequently the upload progress should be updated.8 j( ?* f: z6 u8 f
  1640. ; Given either in percentages (per-file), or in bytes
    9 H  {0 I, I+ @
  1641. ; Default Value: "1%"5 i& o$ _1 L6 [: m1 v& a' [4 ]
  1642. ; Development Value: "1%". G1 Y% b0 S, w0 Y
  1643. ; Production Value: "1%". u' _- G) Z8 a2 b) x2 h
  1644. ; http://php.net/session.upload-progress.freq" @0 `; i9 E7 p9 z  A* m) b
  1645. ;session.upload_progress.freq =  "1%"
    ' Z# C' l$ m: i# N

  1646. 8 E) _, b3 Q& k6 V* K, ~& ?* r
  1647. ; The minimum delay between updates, in seconds
    . x! e0 t8 x  S( z4 |" Q- g9 V
  1648. ; Default Value: 1
    0 d9 Y" b4 c4 g- o3 s. Z
  1649. ; Development Value: 10 `- X0 a) d2 E# [2 A, ^8 u1 F8 S: a4 Q
  1650. ; Production Value: 1" g& u0 X6 a. b
  1651. ; http://php.net/session.upload-progress.min-freq
    0 x- b  T6 x! v" f
  1652. ;session.upload_progress.min_freq = "1"2 O9 I! v/ z! X/ H
  1653. + P: a+ d3 T3 t# `
  1654. [MSSQL]
    & ?8 A7 z9 b. k- c* w
  1655. ; Allow or prevent persistent links.
    / M& ^8 K# _1 d3 Z! i
  1656. mssql.allow_persistent = On
    ' o6 n# A# v; N* a

  1657. 6 l  q& m5 [  F9 ~
  1658. ; Maximum number of persistent links.  -1 means no limit.$ V6 H; w# o, `8 I+ o9 [9 F0 d# _1 D1 q
  1659. mssql.max_persistent = -1  G, T* _- O$ q3 b% U2 o2 i9 {
  1660. 4 o6 i7 i' }1 B
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.3 A2 q% W* \8 x1 r$ q
  1662. mssql.max_links = -1# A, ~9 e4 z* {# Y. }7 p5 C8 F* P

  1663. 5 X  k- u% h/ O
  1664. ; Minimum error severity to display.
    5 W) \# Q6 j+ u$ l. L8 t  }
  1665. mssql.min_error_severity = 10
    ! ^/ b3 T& J5 h! K/ h! ~& r% [) _$ j" r
  1666. : u9 h" h# M8 ~" F9 c
  1667. ; Minimum message severity to display./ g/ h% g  w; j6 w5 N1 i
  1668. mssql.min_message_severity = 10
    6 ~, z8 R) @- g; u6 n, E0 l7 M) a
  1669. % S  H; Z  ^6 `0 K0 Y+ Q
  1670. ; Compatibility mode with old versions of PHP 3.0.
    . G' E$ b* w2 R. K4 ?) _
  1671. mssql.compatibility_mode = Off( N* E- t' K: \7 a2 b0 u, b. i5 ~
  1672. # j' |% r( }" ^
  1673. ; Connect timeout* d0 ?4 g: z2 E2 k# N- {
  1674. ;mssql.connect_timeout = 50 N; Y6 ~8 D( \0 C4 L

  1675. 6 X0 B1 S9 p+ h; z- M
  1676. ; Query timeout# m- E; X2 `, G( u0 k" ?9 j( |
  1677. ;mssql.timeout = 601 }7 }# l4 V0 q6 h) s
  1678. 0 Q: s- {8 y* f+ t( \- l
  1679. ; Valid range 0 - 2147483647.  Default = 4096.  c. _6 W2 h$ R, l( ]0 o( D! X# H0 ?
  1680. ;mssql.textlimit = 4096; \3 U. h& c) S& v. q* `

  1681. * F3 J# P7 l0 R* t" E4 a" X3 n
  1682. ; Valid range 0 - 2147483647.  Default = 4096.( c) e9 L4 ^" n" q7 T
  1683. ;mssql.textsize = 40968 c% W0 m5 r& ^5 h

  1684. - o6 O# [' C# W0 N) \
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    - A+ e( Y% f2 V1 n
  1686. ;mssql.batchsize = 0% c6 g( d  F; X( ?, u& k5 f
  1687. ) ]- h3 \( w# _9 R  c! g, F
  1688. ; Specify how datetime and datetim4 columns are returned. x, q1 F7 x) \  d1 X, K/ w$ v& x' t
  1689. ; On => Returns data converted to SQL server settings
    1 Z* n& B' e. W' W5 ]8 o1 A+ C" }
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    / q" b$ ?8 t8 D+ F( I% d
  1691. ;mssql.datetimeconvert = On
    6 D4 @! l) t' B: t9 m, H# C
  1692. 0 b1 t# P& R1 R! Z! C' [
  1693. ; Use NT authentication when connecting to the server
    , _( w# j! J0 o& Z: B# w3 S
  1694. mssql.secure_connection = Off
    8 L! ^, m3 G$ y* S+ ~" x4 _
  1695. 8 v6 s0 e# U+ x- o
  1696. ; Specify max number of processes. -1 = library default. G. [8 u( C; J" k" x
  1697. ; msdlib defaults to 25
    1 \) z: r$ Z: U
  1698. ; FreeTDS defaults to 4096
      N- M$ c' g* i5 l
  1699. ;mssql.max_procs = -1
    : o+ s$ d3 Q3 x8 b- ^' J3 d9 s
  1700. % U6 R+ J* p3 a; p+ s2 E
  1701. ; Specify client character set.
    0 w& m$ N9 Y* M
  1702. ; If empty or not set the client charset from freetds.conf is used
    5 N+ _7 W4 r  n! z, b! H% d
  1703. ; This is only used when compiled with FreeTDS
    & Z. v* f5 w; s6 H4 O
  1704. ;mssql.charset = "ISO-8859-1"
    / F0 d0 m" X; X' O

  1705. ) H# i7 v" t( u7 B& C
  1706. [Assertion]1 e0 K% o) R* U' {
  1707. ; Assert(expr); active by default.1 f: D2 w* D$ t) x- m8 B
  1708. ; http://php.net/assert.active
    ( N0 M& E- O/ {, z1 D3 z
  1709. ;assert.active = On- Y1 P; b+ d' v& o1 e6 q+ U6 K% G

  1710. : s( R3 L/ H/ Q7 K/ {# I+ _
  1711. ; Issue a PHP warning for each failed assertion.
    6 w) m3 O! a0 Y; V, @9 b1 \
  1712. ; http://php.net/assert.warning
    5 \2 b& @1 M/ d% w
  1713. ;assert.warning = On' ]$ D9 {+ x: u; M& |# B/ a
  1714. % P, K3 S/ k6 H5 J+ ]5 P8 n
  1715. ; Don't bail out by default.' E2 u& Q6 l3 J3 k$ F
  1716. ; http://php.net/assert.bail& t( u5 a3 a4 a' `$ |+ f: i: b
  1717. ;assert.bail = Off8 M+ S  o3 l( k2 d3 A  [) v' _& z; T
  1718. & s8 c" ?' o! a. Q, {) t9 }9 d0 K
  1719. ; User-function to be called if an assertion fails.
    - }, y3 v6 `8 s
  1720. ; http://php.net/assert.callback. \5 H7 b8 Q, R/ Q+ X
  1721. ;assert.callback = 0
    - f2 e; y# O/ L  d
  1722. - a; ~' w9 ?9 L3 T: n
  1723. ; Eval the expression with current error_reporting().  Set to true if you want- J) x; R) ~5 X# [; m
  1724. ; error_reporting(0) around the eval().
    4 Z$ ]" I& r, Y/ D
  1725. ; http://php.net/assert.quiet-eval! d1 t) I4 R; b9 ?4 v% ]5 u
  1726. ;assert.quiet_eval = 07 ]! S2 E0 v. r3 q4 N- s4 X
  1727. ( _2 Q! e; B1 ?- L; T$ w& s
  1728. [COM]* x! w1 T  N3 _& c
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    * |, u0 q, m; W1 s" a0 p3 J: p& i
  1730. ; http://php.net/com.typelib-file# _( a( @9 a5 {# N3 \
  1731. ;com.typelib_file =
    4 b6 t: i! K( B! m* x5 C
  1732. : J- ]% `: F# m6 B4 q. s
  1733. ; allow Distributed-COM calls8 R8 N) V  D7 \- Z
  1734. ; http://php.net/com.allow-dcom# h5 Q! F" j! W% J
  1735. ;com.allow_dcom = true; o0 d$ [! C+ y! L

  1736. 6 q* ]  o  {& j$ ^+ x. b% A
  1737. ; autoregister constants of a components typlib on com_load()0 b% I2 C# @) ?; j
  1738. ; http://php.net/com.autoregister-typelib- S6 i! o. g& q& Z6 A# i
  1739. ;com.autoregister_typelib = true7 S  u- p& F5 |5 P

  1740. 2 U" T" E/ F- X! K) O, T7 l) Y7 Y
  1741. ; register constants casesensitive
    3 a/ I$ ]1 ]1 s% _3 ?- k' ?- p
  1742. ; http://php.net/com.autoregister-casesensitive
    - U. k) Q( @6 r, u
  1743. ;com.autoregister_casesensitive = false! B+ N  x2 S8 {; x, ^
  1744. / o9 `6 H$ n& m) @  Z* D! P  q
  1745. ; show warnings on duplicate constant registrations
    7 J- Y# g5 ^: p: v  m
  1746. ; http://php.net/com.autoregister-verbose
    ; ~/ c" ^4 b( Y1 c
  1747. ;com.autoregister_verbose = true
    , K9 u; M* q# F* y) o" K  ]

  1748. 1 s, f+ l6 m7 T) z5 ?
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
      q. E; t4 u) b  X# N2 Y( P
  1750. ; Default: system ANSI code page, k& S0 h7 Z! R6 e
  1751. ;com.code_page=( G: T5 S* r- t2 z
  1752. ! _, Y2 k* M$ h* g5 y( {; u
  1753. [mbstring]1 ~' \! v5 ?6 |; u2 F# u
  1754. ; language for internal character representation., J9 [( ?0 q9 X; n8 l
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    & Q4 \' ~  j9 t! F
  1756. ; http://php.net/mbstring.language
    5 J8 I6 N" O7 l8 J* k# j9 L) h5 d8 L
  1757. ;mbstring.language = Japanese. B1 O- e" X' T( V" M
  1758. % q$ u; d, o$ s$ j$ ?
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
      J5 _. M- D4 E# O: i5 Q! i
  1760. ; internal/script encoding.
    ! g0 Z* Y1 ?! S* P2 C: p
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)& q* h, P% r$ M1 r
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    3 d2 {  I, b+ P
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    7 x) X+ l5 O, x3 J* K0 P
  1764. ;mbstring.internal_encoding =
    0 e1 K$ b2 Q# e- ]4 x! A* q; p
  1765. 1 Y7 f0 g$ i8 x1 G
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    . I) z/ z# @4 C- |
  1767. ; http input encoding.
    . K' |  o* z+ a" O* I
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.- @) ]4 k1 |& g& b. |
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.$ p8 S8 V4 y/ j7 O. z& c
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input& A9 J3 W: X% x
  1771. ; http://php.net/mbstring.http-input7 e( n) e: e( x$ u
  1772. ;mbstring.http_input =) o4 x, c5 b# J, Z  e- }% N

  1773. : J7 s! {4 I8 H2 u, n4 P
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    . l1 m' ?! y0 b8 |& C% P
  1775. ; http output encoding.6 x& A+ S: y  ^4 ~* P: T) U
  1776. ; mb_output_handler must be registered as output buffer to function.* G$ o% F) D; {+ X
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.# ~9 G# q: V" ]* a) K# U# j
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    3 g2 K% D9 U  [, v* s* Q: q$ k: k: y
  1779. ; To use an output encoding conversion, mbstring's output handler must be set) S. S+ j7 H% C- d
  1780. ; otherwise output encoding conversion cannot be performed.) E( l; q5 C, i4 v
  1781. ; http://php.net/mbstring.http-output
    ; A5 l* m6 ?4 i% `9 X  J
  1782. ;mbstring.http_output =
    % E' S# d) W6 |  Q+ Q* i# x

  1783. 1 p9 y! W& i' E: B0 `$ s* M
  1784. ; enable automatic encoding translation according to
      @1 K: A# k( H8 B
  1785. ; mbstring.internal_encoding setting. Input chars are$ Q/ H6 Z, Y  m
  1786. ; converted to internal encoding by setting this to On.8 B5 g9 J5 d2 p# |
  1787. ; Note: Do _not_ use automatic encoding translation for7 F# c; h' B7 s5 ^8 e  g
  1788. ;       portable libs/applications.  y0 u0 J! R' s7 V
  1789. ; http://php.net/mbstring.encoding-translation1 S( e4 P( D* d7 Y2 V
  1790. ;mbstring.encoding_translation = Off
    . y2 u. x# a5 V
  1791. ; Z& c+ f2 ^" v: h! L  W
  1792. ; automatic encoding detection order.7 e+ P; o2 Q# P% w1 E) s) r6 [3 O
  1793. ; "auto" detect order is changed according to mbstring.language
    4 H: r3 R9 w* z: s/ y" |' j: [. [
  1794. ; http://php.net/mbstring.detect-order$ N- |4 |$ Q5 J, z+ Y3 x
  1795. ;mbstring.detect_order = auto
      R/ i$ P7 z1 w  o/ ?  f: g! c+ t
  1796. # F! U0 J/ F3 V7 c4 n2 ^$ A: _
  1797. ; substitute_character used when character cannot be converted
    / e+ ]5 D% S9 k: m+ g/ e
  1798. ; one from another4 ^$ z$ J4 _- r. n( c
  1799. ; http://php.net/mbstring.substitute-character( X3 {* v, V# I' L2 o9 ^
  1800. ;mbstring.substitute_character = none
    + D7 u3 [) U- d9 A& d& ?1 }& S

  1801. ( b2 q) t0 q" G) h) \& J
  1802. ; overload(replace) single byte functions by mbstring functions.2 J4 i& d5 f9 T, d1 h& J
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    , u& U" s& j3 c5 v0 K
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.! P, y/ s) k! m2 L" z: G/ c8 w
  1805. ; For example, 7 for overload everything.
    " h9 X( |: D; y& L0 J
  1806. ; 0: No overload1 Q* R: G% }. C+ J+ L) J
  1807. ; 1: Overload mail() function6 J( W9 l1 ^4 Y, B- Y9 |
  1808. ; 2: Overload str*() functions' O) w; X7 w. l$ Y( V7 {
  1809. ; 4: Overload ereg*() functions
    + O' N; @% s7 V" F! L4 d% K0 L1 s
  1810. ; http://php.net/mbstring.func-overload
    % g' c) N3 J0 S0 [
  1811. ;mbstring.func_overload = 03 D* K$ `6 _3 U' E: G$ B

  1812. , O6 u8 _$ t. e) t: j- C% D
  1813. ; enable strict encoding detection.
    ! o" I* h( W/ _3 S/ A
  1814. ; Default: Off
    6 P$ u2 S3 ?. c1 e$ i) @: O. \
  1815. ;mbstring.strict_detection = On9 p1 ~% H: a3 l

  1816. * w8 D% R. q0 @( \- J/ o3 O( @
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    # P0 F& I8 V; |; u( `- k
  1818. ; is activated.& e+ t1 X* B& a7 s9 z: r+ a+ a
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    6 G1 j/ b* Z. P5 I( z, e
  1820. ;mbstring.http_output_conv_mimetype=
    ( E$ S8 V. \, v, C' C6 c

  1821. ; s7 z5 _' G% n* `  o
  1822. [gd], Y1 x6 i/ c7 K
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    ) o" w% Z$ x2 i9 J$ R6 P
  1824. ; a gd image. The warning will then be displayed as notices7 R& p! p5 b% x$ F6 a
  1825. ; disabled by default5 G4 s$ q# P: K
  1826. ; http://php.net/gd.jpeg-ignore-warning
    7 _0 i* X' m+ J6 @# P
  1827. ;gd.jpeg_ignore_warning = 0) B  s( `# |+ _0 @2 X* n

  1828. $ @3 R# I) S, T- [( y( ]
  1829. [exif]6 k$ j6 I, e  e' E$ W* q1 w
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    . z' y( q* n" V
  1831. ; With mbstring support this will automatically be converted into the encoding* c$ v& a+ M+ e( A# f
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    + ~9 }, A1 z+ j4 s2 n0 `
  1833. ; is used. For the decode settings you can distinguish between motorola and3 ]5 _5 q1 [( [. L! g+ Z* E
  1834. ; intel byte order. A decode setting cannot be empty.
    ) A5 d- s+ u8 m$ [( i, y! [( ]
  1835. ; http://php.net/exif.encode-unicode! _& e( w& @# U0 p3 g
  1836. ;exif.encode_unicode = ISO-8859-15
    * n. z! k; t/ P9 `

  1837. - a$ \/ T: m5 |1 i8 f  y+ S) O) r
  1838. ; http://php.net/exif.decode-unicode-motorola
    . n4 W+ E9 j0 Q! F9 Y
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    ' g2 h, d  |7 j6 p  `

  1840.   X: o$ N( Z( n& z6 m5 T
  1841. ; http://php.net/exif.decode-unicode-intel. j, `7 f  C" v- B6 \  w/ K
  1842. ;exif.decode_unicode_intel    = UCS-2LE5 `6 y1 f* \$ A# l
  1843. ; ?1 |' y9 Z+ k( @. \& E! w
  1844. ; http://php.net/exif.encode-jis
    8 A- u6 C* Z" R
  1845. ;exif.encode_jis =
    ) p. C5 M6 U2 M" z
  1846. 8 a% ~! j7 E7 v4 C
  1847. ; http://php.net/exif.decode-jis-motorola" p" D' P- w5 |3 E9 A. o
  1848. ;exif.decode_jis_motorola = JIS
    / F  U7 g6 U* b, {3 ~( D1 C$ `

  1849. ' C2 r' E7 @  o$ z7 d+ F. f
  1850. ; http://php.net/exif.decode-jis-intel; ?" F- m$ \3 }9 f, T/ J8 C
  1851. ;exif.decode_jis_intel    = JIS
    % l# }. e$ A/ k1 g$ s: g: E
  1852. 9 O$ R9 @+ N+ H  A+ _$ X
  1853. [Tidy]
    $ i$ G1 p+ L! v/ i" O
  1854. ; The path to a default tidy configuration file to use when using tidy
      W" |9 B/ K" r2 q
  1855. ; http://php.net/tidy.default-config+ X! W+ K$ o* i  o  h6 o: l
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    " U3 K! N' |% Z& w3 B

  1857. 0 Z' H# ?1 m, M4 A3 ?
  1858. ; Should tidy clean and repair output automatically?% h2 }* _1 J5 Q! k; r) T; g4 {7 ~
  1859. ; WARNING: Do not use this option if you are generating non-html content
    : M/ b$ Y( }0 h: z* M0 b6 @$ K  v
  1860. ; such as dynamic images
    ; c: a9 Q9 x+ F% Y, l6 C( t
  1861. ; http://php.net/tidy.clean-output$ j/ y: P1 m6 D( @  p* Z! t
  1862. tidy.clean_output = Off
    4 j; [0 t$ P$ Q% }5 R/ V, N
  1863. 5 o5 z( \: c" L" ?
  1864. [soap]  j# h2 z  r0 M% i& g! _* X
  1865. ; Enables or disables WSDL caching feature.
    ( F4 h8 m+ @& U) b* k# O
  1866. ; http://php.net/soap.wsdl-cache-enabled- V) O; a3 ]" U
  1867. soap.wsdl_cache_enabled=1# H# e! v) J0 {: I+ \

  1868. ( d) ^6 `, P1 [/ {  g* x2 e
  1869. ; Sets the directory name where SOAP extension will put cache files.
    ) t: a. w8 o7 q% {- [3 S, o
  1870. ; http://php.net/soap.wsdl-cache-dir. |. z( E9 J* S" I
  1871. soap.wsdl_cache_dir="/tmp"+ T; P" i4 ?0 O2 u, K. |6 e- X

  1872. / m% R2 ~6 o: t' l/ Z& U! [- s
  1873. ; (time to live) Sets the number of second while cached file will be used4 M/ t. O' I# q+ q! @4 K
  1874. ; instead of original one.5 i2 w5 U7 d/ C6 r
  1875. ; http://php.net/soap.wsdl-cache-ttl
    $ A' \  B$ z. I6 T" q
  1876. soap.wsdl_cache_ttl=864001 A% p0 Z8 `, S0 m# G! J* d4 U
  1877. , P7 F1 B3 }* ]; L
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    + @4 q5 H: W" I
  1879. soap.wsdl_cache_limit = 5' A8 E: z" y* j; J- c/ M* u
  1880. ! |4 Q/ G' e4 M6 C
  1881. [sysvshm]
    , Q: \* _, ~& \( e9 L
  1882. ; A default size of the shared memory segment
    2 W: r2 U& f* n5 j( Z9 b/ d" o
  1883. ;sysvshm.init_mem = 10000& |/ v$ [2 G6 @9 s8 T8 v7 m7 x7 o

  1884. / U! j# x* [8 j5 c
  1885. [ldap]
    ! ?% O! V9 h: s. `/ p/ \( j
  1886. ; Sets the maximum number of open links or -1 for unlimited./ |, q2 M$ q& b
  1887. ldap.max_links = -1
    ' Z8 H$ e* x1 D; E2 m

  1888. / q6 ]% \1 a/ U, d
  1889. [mcrypt]
    ; R( Y7 O1 ^; I# c
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    # J. D1 N% ?: m" E1 K) w0 o
  1891. 9 I6 g7 K2 I, ^+ I$ [( d
  1892. ; Directory where to load mcrypt algorithms
    - i: S1 o" R1 i, h! z
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)4 {/ b4 G  g, \1 f" c4 p4 z
  1894. ;mcrypt.algorithms_dir=  Y8 E" [. Q# Y' J  j
  1895. 0 ~6 I* y& s( ~, @+ s
  1896. ; Directory where to load mcrypt modes  t- a' ^% s) ^  K, E+ Q
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt), S+ d1 X* z7 z( N# E1 K
  1898. ;mcrypt.modes_dir=  u( h$ w& o3 q' D. i
  1899. 7 ], c7 B, e$ M1 B
  1900. [dba]7 G& K) L! b; `( O( b
  1901. ;dba.default_handler=
    , D  W' r4 h+ v( d9 C- f, |" Z) U
  1902. . K+ u+ _* ~$ Q
  1903. [opcache]7 z# _% v4 k+ V- Z% J1 E. t
  1904. ; Determines if Zend OPCache is enabled. h2 v( X& L$ _8 z5 m+ ]- H
  1905. ;opcache.enable=0, o# I- N- W2 s' h6 \

  1906. ) C+ f' N) F7 Y
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP. X9 E3 k. p  ?' a, Z- L/ h
  1908. ;opcache.enable_cli=0* B: m2 x2 {! L1 }: ]8 q4 i9 K

  1909. - O( _, l  o: L; V1 C" W, P8 R
  1910. ; The OPcache shared memory storage size.
    6 d! _4 ]2 x& q6 D4 ~! W
  1911. ;opcache.memory_consumption=645 }+ i; {: M( `* N
  1912. , N1 x5 \6 Z# E) I# [' O( H! o" m/ r. ~
  1913. ; The amount of memory for interned strings in Mbytes.- l, y( c$ `0 w
  1914. ;opcache.interned_strings_buffer=4
    ' R& Y, ]! ]3 O% `# n$ H- m
  1915. 9 a8 ]$ Z  s! m" z& t) L. F% R1 [
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.. O4 I' N$ \4 X8 S
  1917. ; Only numbers between 200 and 100000 are allowed.
    6 K/ a* X: t! w
  1918. ;opcache.max_accelerated_files=2000
    9 C8 }/ @, b( y  E, m- N
  1919. * g$ j8 u! q& k  e# C- x4 j; w
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    + y) v7 f/ I# E7 @
  1921. ;opcache.max_wasted_percentage=5
    9 q* H! E# v5 C8 x% F
  1922. 3 T6 h1 J7 q1 J/ u
  1923. ; When this directive is enabled, the OPcache appends the current working% d8 B- F4 m8 }/ s3 p: U
  1924. ; directory to the script key, thus eliminating possible collisions between
    6 T* D! q" n: e
  1925. ; files with the same name (basename). Disabling the directive improves
    - m- |- `% k9 B4 k1 T
  1926. ; performance, but may break existing applications.
    + F, M! B3 x1 S" @1 P$ l
  1927. ;opcache.use_cwd=1
    " e& S7 x5 P. n
  1928. 1 ?2 ]9 W% i3 @# c
  1929. ; When disabled, you must reset the OPcache manually or restart the1 [5 ^+ l! J' i  @3 s7 D: O9 W
  1930. ; webserver for changes to the filesystem to take effect.- ^/ S4 F" I8 E9 \+ O- }0 Y$ q
  1931. ;opcache.validate_timestamps=1
    6 i0 ]& ]8 j8 X. Y
  1932. $ D( g* Z  X  c
  1933. ; How often (in seconds) to check file timestamps for changes to the shared) s6 @# }6 C( m& h
  1934. ; memory storage allocation. ("1" means validate once per second, but only9 r; s8 k3 c9 f( [% G* O; k
  1935. ; once per request. "0" means always validate)
    / e3 B7 \* B2 _
  1936. ;opcache.revalidate_freq=2
    * f- f0 I/ Y9 q# g1 w0 A

  1937. 7 Y$ V  r% V/ n+ {6 B0 Z; w* ?+ n
  1938. ; Enables or disables file search in include_path optimization
    " W; q8 ]0 R; V3 z3 k1 {3 |1 {
  1939. ;opcache.revalidate_path=0* W) O, {# {2 q' L' |( E( E. Z- T

  1940. & n* a/ t5 w- A3 z& ?
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the7 g& b6 c, V$ ]8 |* l) l' W
  1942. ; size of the optimized code.% S( }4 \" [& @1 _: A7 j
  1943. ;opcache.save_comments=1  o: x2 V/ O, V2 C( E

  1944. 0 p, x8 w; V: h7 v8 v
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    # y: M; m4 U. H& {7 B/ J
  1946. ; may be always stored (save_comments=1), but not loaded by applications, R3 n0 D1 y: d2 y+ h2 ]
  1947. ; that don't need them anyway.# q; W4 z# \! ?! S  A1 v
  1948. ;opcache.load_comments=1* [8 F! p2 ?1 U- H3 Y) B5 b

  1949. " q" z2 u. d5 C6 g3 x
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    * U/ L! [+ I! L
  1951. ;opcache.fast_shutdown=0
    * ]5 r2 D1 p+ m2 L6 o+ Q
  1952. ; g4 M1 M$ N4 F: E7 b
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    . X% G( v  N! w3 d' a
  1954. ;opcache.enable_file_override=03 d) K8 U/ M9 A9 j3 @- Y. q/ R! C

  1955. ' \7 H9 w8 ~+ D  l1 T- M% c( \. Z
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache) u; y! p% B1 K3 a. S& @& J
  1957. ; passes) Y, ?& ?( |' ~7 u  u
  1958. ;opcache.optimization_level=0xffffffff
    , Z+ R; Y7 B* l# x+ \, @
  1959. 4 _/ s1 M9 F3 y3 L+ f, l' z
  1960. ;opcache.inherited_hack=1: T6 q6 p6 s, X3 Z! X" s
  1961. ;opcache.dups_fix=0
    ; a+ z# W/ T2 e. z0 P# g. b

  1962. % y+ `$ I: |' ^$ Y. G7 F/ s
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    : L5 ^( Q7 X' X$ j9 ^+ M3 O
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    , [& Y/ f! b5 A: A
  1965. ; that should not be accelerated. The file format is to add each filename3 i: V& K" G6 W) R; w- Z/ f
  1966. ; to a new line. The filename may be a full path or just a file prefix- Y' \4 R0 i" w* E
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    3 U, Y% J0 M3 [) c- C
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    ! \' M7 S" e7 g- q6 x
  1969. ;opcache.blacklist_filename=
    4 `  [: p) q- N0 a4 {
  1970. ' R4 ?9 T' x( [0 z8 [1 `5 M
  1971. ; Allows exclusion of large files from being cached. By default all files; `3 }& n2 ]3 m4 w3 j
  1972. ; are cached.% X' M! @' Z. \1 G/ R6 X
  1973. ;opcache.max_file_size=0
    ; M0 z# {% e- t. H9 J; \: A

  1974. $ m# F8 V/ A$ U7 F6 h, s
  1975. ; Check the cache checksum each N requests./ _% s* C. |5 i- X3 m- I2 v0 n
  1976. ; The default value of "0" means that the checks are disabled.$ O# y& G. v8 w- w/ N
  1977. ;opcache.consistency_checks=0
    . p  M. W* c& }- w
  1978. : K  \6 ~8 C4 Y# t: x, z
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache# v: @+ b- F  m# d9 n: c# ]* M) Q
  1980. ; is not being accessed.
    4 C1 C, W; @& }* h% B- X
  1981. ;opcache.force_restart_timeout=180
    8 F" i7 b& N9 @" |

  1982. # B+ o- g0 x. [' t
  1983. ; OPcache error_log file name. Empty string assumes "stderr".9 A0 Y) Z4 ?5 t3 |4 n* P$ V# `; P1 F
  1984. ;opcache.error_log=
    1 n0 _5 E. F7 r' M

  1985. 8 P1 z- K$ A4 t' w' D
  1986. ; All OPcache errors go to the Web server log." o, b9 y9 P* u: A. H, U
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.$ r1 J& B1 x4 V3 }9 \4 X# V
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    9 t% v) L0 y7 {) A; U4 w
  1989. ; debug messages (level 4).4 F0 T8 ^- P2 r! {
  1990. ;opcache.log_verbosity_level=1& A$ l7 b9 `! a  Y- A! s

  1991. ' K$ j% p9 |" u- u; z
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide./ }. ]7 e% m+ I3 }0 T
  1993. ;opcache.preferred_memory_model=7 k3 [: I: W. {7 t

  1994. 6 B8 V4 y/ A. N% K0 I
  1995. ; Protect the shared memory from unexpected writing during script execution.8 _$ S- K3 g0 H. P0 a' K1 |
  1996. ; Useful for internal debugging only.
    , R4 G6 u, P* U0 a7 u8 @
  1997. ;opcache.protect_memory=00 u, p. `- `4 M- M3 `1 x1 j

  1998. & r2 |. ^1 e6 L% D' C/ \  `$ [
  1999. ; Validate cached file permissions.( y, z6 h2 ~: n
  2000. ; opcache.validate_permission=0
    . J% a. D3 O* a- r$ H5 ?

  2001. : R- G) k& r4 }$ g. K7 A9 N5 m& {4 A
  2002. ; Prevent name collisions in chroot'ed environment.
    & V' P! m, O9 n, j! a7 }4 J
  2003. ; opcache.validate_root=04 ]4 k% x% W! A' k
  2004. 4 B' `2 x* L1 T; A9 v' u9 |
  2005. [curl]4 J0 T- u+ O4 D" I  E
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an3 d4 i9 y9 B6 b0 ~  j
  2007. ; absolute path.: y9 }7 s. a- `: g, ]4 _; ~% R
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt' \, {7 u5 e2 U, [9 [  u. Q' ~
  2009. " n% J9 H( ^/ P. N/ z& ^
  2010. [openssl]
    ! r' D+ l0 G/ e2 R$ n& k
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem  c3 ~# C/ ~! R/ T4 M# q$ x  ]/ \
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should  K; G, R0 U- o$ B. S# z# s
  2013. ; not specify a value for this directive as PHP will attempt to use the7 D6 R- N  [$ Q9 V( l
  2014. ; OS-managed cert stores in its absence. If specified, this value may still+ x& @0 [9 L/ V1 |
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context$ z4 v7 [2 F! q% Q) `
  2016. ; option.& i. k5 z1 y" s' G( V7 E
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt8 V5 _- R1 f9 @4 e

  2018. . U0 i. S# E% A/ o% m4 c
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the; C& Y' U1 p$ t
  2020. ; directory pointed to by openssl.capath is searched for a suitable. L7 N+ Q7 I& f; w3 Y+ m1 d
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    & k" w0 \- F. e! j7 w  @
  2022. ; Most users should not specify a value for this directive as PHP will
    ! R8 k/ |( o; p; z, o/ _: o
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,5 j/ \# @2 Q  q7 _' u* k) x
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    3 P5 v; M( }7 Q; v" |8 [: W
  2025. ; SSL stream context option.2 s0 f# J9 S1 O) s1 A+ Z8 N
  2026. ;openssl.capath=& P6 \; f/ ~7 j6 K9 O) U
  2027. ! f, R% z$ B9 a7 K. z+ e; X9 r4 f
  2028. ; Local Variables:
    2 D! S+ r6 q- J3 f
  2029. ; tab-width: 4) D: o. p( U& X
  2030. ; End:
    ) Z& w( @% E8 m" ^  q! z7 g
  2031. : e3 A- ~5 @1 X! R% ?
  2032. ;eaccelerator
    & R1 {& R; a' e' A, `
  2033. / Q3 P/ ?4 E2 S4 m% }6 i: T  C
  2034. ;ionCube
    + F  b2 `: ]" z" K0 S8 [6 C5 p

  2035. $ M9 I! R8 j7 k3 H& |2 c
  2036. ;opcache
    * y' ^, c. f7 r! L5 W4 Z$ o9 {

  2037. * w* b+ _6 P2 A7 _$ V2 ]8 V# Y
  2038. [Zend ZendGuard Loader]
    " ~& K- i% u$ g; \2 _) O
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so3 `. T$ u- w# H* r( j. d' o+ e5 g
  2040. zend_loader.enable=10 h  }+ c# ]- F+ z. H- y8 n% s
  2041. zend_loader.disable_licensing=07 L2 k( k( F8 ~2 i9 c" `' |2 Q
  2042. zend_loader.obfuscation_level_support=35 P' e5 ?) O+ z& S& q9 q/ O8 i/ R
  2043. zend_loader.license_path=3 O8 Q0 j5 ?0 k9 p5 u

  2044. 9 {" d* |- Y2 ?4 t  l" o; r
  2045. ;xcache" F9 O7 O- M. ~; M+ ?
  2046. 5 H$ w3 C9 _, I, P" r6 s
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/818146926 O9 B" m! _  [( x

$ t+ C9 T: K  C* s9 @! i0 Z: r0 K7 h: J3 [
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,+ }& `" N' i+ V# k5 B

" O$ d1 M6 f' |) {+ PDiscuz!程序版本选择:1 R7 S% L; c) g. Y' w- ^* r
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
4 `& Q6 a7 R5 m- H9 y2 h. G不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:) X& W; x6 S% _7 E8 u
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。, i2 m8 \$ _0 d" P. {8 ?

3 r: Q0 |' T/ e0 g) X( YDiscuz!插件模板版本选择:
" s# n% |' S$ ~很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
# w0 _: p9 k: c. p/ S! I  e+ w针对这个问题做个统一的普及:
, I0 w9 R$ g" S) ^- _1 m; EX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。0 ]0 j) B3 j/ e) B  t. [" ^
) g4 Q* d0 j3 r8 v
所以5 Z' V2 s( ~' q  |( Z9 `
适合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的二级域名。
( L0 \8 {7 Z7 |& q打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。0 G/ o9 \- J9 l% t
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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