分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0# R( A/ z6 n9 [2 V4 q0 W* \
/ m  d; V/ V2 ~" y* V
  1. [PHP]
    ) ^, M) m) A$ d. e: S; {

  2. ; t( f, _% n+ p% @8 T) x
  3. ;;;;;;;;;;;;;;;;;;;
    # i+ P  O" ]1 G* h* z5 p! f4 y6 w
  4. ; About php.ini   ;
    / ?1 z# v$ |- ?( L
  5. ;;;;;;;;;;;;;;;;;;;* a% _1 J. v9 U  n( p
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    4 d$ U) P6 [. a  }, y/ I' G; e
  7. ; configuring many of the aspects of PHP's behavior.
    * [# ]8 {" b: O: a) e* n

  8. 5 h  |8 W/ k7 G! \
  9. ; PHP attempts to find and load this configuration from a number of locations.: Z7 S0 }$ i, ^$ V: v( J
  10. ; The following is a summary of its search order:+ C" G9 s# f+ H0 f& K
  11. ; 1. SAPI module specific location.
    + Q* ~  \; L! i- S2 m' v5 \
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)# [0 k6 f2 z, [9 a6 m3 X+ D
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    6 j" o6 d$ U% G4 f7 d
  14. ; 4. Current working directory (except CLI)
    " W4 `0 Z/ |+ r: G( Z+ `) m, q
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP7 x& N9 Z, D$ K/ _9 o4 Q
  16. ; (otherwise in Windows)
    8 o" V/ f8 S0 B  m# J4 _4 ]
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    8 u7 u/ ~! f: L. a6 O2 c5 w- Z
  18. ; Windows directory (C:\windows or C:\winnt)
    9 P& u3 i. A$ X# A" h, I
  19. ; See the PHP docs for more specific information./ c- U+ K3 N9 P5 H4 n
  20. ; http://php.net/configuration.file
    8 ]; b9 b- o9 v- b, z
  21. 2 R# E  V$ q; g/ n5 ?" y
  22. ; The syntax of the file is extremely simple.  Whitespace and lines; h" F$ k8 ~* _
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    - w) Y/ b! L! ?9 d1 H8 o% ~. k
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    ' g  _7 F0 O9 Z9 Q8 t8 E1 o
  25. ; they might mean something in the future.
    3 g8 K; ?  J/ t+ y( c' B8 v
  26. : y. `! j3 Z; [$ ?: s" P
  27. ; Directives following the section heading [PATH=/www/mysite] only
    3 Y2 o& V$ F5 P& r
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    : ?. ?1 O: K, `
  29. ; following the section heading [HOST=www.example.com] only apply to, _, h1 u; Y, ]7 a; i  p
  30. ; PHP files served from www.example.com.  Directives set in these
    6 Z( |6 J$ H8 i8 C1 H" X9 U8 j
  31. ; special sections cannot be overridden by user-defined INI files or
    : N; }3 A3 }# l) K6 z$ @& V
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under1 a- B2 A0 y# u
  33. ; CGI/FastCGI.( q# P3 ~0 V9 V. ]# g! l. o
  34. ; http://php.net/ini.sections/ u) r* C7 e4 h( A/ o
  35. 9 k* J: ^5 @9 \, j
  36. ; Directives are specified using the following syntax:
    / w$ y- @* d/ F0 i9 R. u+ h
  37. ; directive = value+ y$ x0 F! Z& k# }
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    % z4 C6 w/ \+ J. z
  39. ; Directives are variables used to configure PHP or PHP extensions./ U* @, p! ^% N. g' u6 t2 n
  40. ; There is no name validation.  If PHP can't find an expected1 G, [- T$ J3 X
  41. ; directive because it is not set or is mistyped, a default value will be used.
    / s, f) h# N( E/ L

  42. + y: P1 S& R0 |) N
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one# H' {) i5 Y0 ~' ?( U! D# J" e
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    , \5 T# {9 T$ g4 }/ q
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a- e" ?1 B  W- M! G8 @' U6 f+ y& C
  46. ; previously set variable or directive (e.g. ${foo})& r& ^) k0 L2 Y0 L) s' G
  47. 9 c' u$ E. c# a5 R* z) m
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:6 W5 L) p$ Q# f  K/ m
  49. ; |  bitwise OR7 \; b4 `% V! Q
  50. ; ^  bitwise XOR
    % c( a. B( G) v6 A0 _. o
  51. ; &  bitwise AND
    : d9 D8 ^5 A. I/ F/ u1 V. v
  52. ; ~  bitwise NOT+ {' X8 B! C3 S$ Y0 K) o
  53. ; !  boolean NOT0 Q. k; g/ I6 S; a
  54. ' j6 w! W( s: a! W
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    / X' R* @2 x3 v7 |
  56. ; They can be turned off using the values 0, Off, False or No.! \9 E& d8 J4 j) f7 ?4 {) i

  57. ( o3 Q% s. u6 ?6 L4 q
  58. ; An empty string can be denoted by simply not writing anything after the equal
    $ s! W7 Y  d; Z0 \. Q
  59. ; sign, or by using the None keyword:4 I3 z2 N. c, d7 |" e- R% L" e# ^9 U5 l

  60. * Q( |4 u" b  X4 W3 \5 G* U
  61. ;  foo =         ; sets foo to an empty string
    - ~7 r  d, q: f6 m
  62. ;  foo = None    ; sets foo to an empty string
    # [8 m& W8 ^  D! z
  63. ;  foo = "None"  ; sets foo to the string 'None'
    & v) A# f# H3 r# B+ X) u2 p
  64. ' T' J' O( r& V1 b  V5 b0 \$ e
  65. ; If you use constants in your value, and these constants belong to a
    8 Q0 s) A- z2 J0 y" V
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    8 R" U% S* v8 ~9 s1 A" C, e* P
  67. ; you may only use these constants *after* the line that loads the extension.
    % [- H) g' Q4 g+ p4 U" X: i
  68. 6 l! b9 o' O! L! D( y9 t+ m# j
  69. ;;;;;;;;;;;;;;;;;;;
    ; h: R7 Y; K" T- }, k6 K9 P
  70. ; About this file ;: J- b" K8 S% N# H9 _+ @
  71. ;;;;;;;;;;;;;;;;;;;+ E4 o% q" ^( p$ G* ^5 h: \
  72. ; PHP comes packaged with two INI files. One that is recommended to be used7 l3 Y( z  ]- |+ G0 A3 ?
  73. ; in production environments and one that is recommended to be used in. `+ W1 K1 L9 t2 d2 Q  L: t
  74. ; development environments.+ T5 E1 e9 e6 w6 M! w+ f

  75. 5 q0 }' K0 T  r# _) @9 ~
  76. ; php.ini-production contains settings which hold security, performance and/ l" q8 t4 i/ G) }
  77. ; best practices at its core. But please be aware, these settings may break5 g: v5 y: E; \6 f5 {1 t$ K- I
  78. ; compatibility with older or less security conscience applications. We
    ' l* p3 A0 }: O4 x0 R* P/ n, L  |- S
  79. ; recommending using the production ini in production and testing environments.
    , S) v$ d, w- a0 q

  80.   c9 y$ g; g4 b! k
  81. ; php.ini-development is very similar to its production variant, except it is6 n4 Q3 s1 x" F, k2 A
  82. ; much more verbose when it comes to errors. We recommend using the
    ' a# T. ?9 k- `) \! {5 f* y7 j& \' t# z+ c
  83. ; development version only in development environments, as errors shown to( c. I: R5 J, c0 g1 ?. J7 L
  84. ; application users can inadvertently leak otherwise secure information.5 p9 s' }: K2 L% o5 T( s7 r

  85. $ L' E9 p6 ^0 i3 [( t
  86. ; This is php.ini-production INI file.# M0 n) r( U4 `3 O3 s
  87. / r4 L9 e' ?  k5 p4 \5 B: t
  88. ;;;;;;;;;;;;;;;;;;;/ ^* Z9 J1 v* _* h
  89. ; Quick Reference ;# s3 x4 ^, V. ]# V6 e( b7 O# [
  90. ;;;;;;;;;;;;;;;;;;;6 b. n( R5 X7 D' a) i& m- k/ D
  91. ; The following are all the settings which are different in either the production% T, i) f" u. ]% a/ t" z
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    6 ]9 u- [8 A4 a& z  [, R
  93. ; Please see the actual settings later in the document for more details as to why
    9 \+ J( H0 j1 t# ^  M
  94. ; we recommend these changes in PHP's behavior.7 ?% _! M& N7 W5 ]; E+ j" x) i

  95.   O% t! ~* y' ]0 J! C
  96. ; display_errors
    " x( N1 {9 {( C6 d& n4 V7 C
  97. ;   Default Value: On
    7 s5 u3 p, _% N3 e' j% e. e9 v
  98. ;   Development Value: On
    2 _7 \/ r$ C3 ^2 A- d! ]0 [
  99. ;   Production Value: Off
    * n% _; n6 _5 K
  100. 0 Q5 N' O9 a) _* A6 }
  101. ; display_startup_errors
    : o" k* A( ~! }, M
  102. ;   Default Value: Off8 O2 T/ Z, ]  [, A& @
  103. ;   Development Value: On
    6 c8 h! K- J3 {& x8 ]
  104. ;   Production Value: Off3 E0 m+ e! U  ~; C( g2 V  x2 Z: g

  105.   h2 e' K2 ~: E- P  @. X* i
  106. ; error_reporting
    / _' m2 E) t7 e* ?5 ^7 G
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    9 T$ Z$ a/ h! r% [) l1 z
  108. ;   Development Value: E_ALL
    & M9 z5 H4 n+ X
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    " I0 ~" }6 v0 L  A/ T' i
  110. " c, Y+ e. C5 I& H4 T5 o
  111. ; html_errors
    6 c0 d0 ]5 n4 C& A4 X
  112. ;   Default Value: On
    $ t$ ?1 ]3 _" V1 E( h' |
  113. ;   Development Value: On' v6 _9 i7 V& ~. Q& v8 D
  114. ;   Production value: On+ t$ ^8 w' b0 k' ]6 H

  115. 0 Z2 s% @% P2 s
  116. ; log_errors
    / C" R/ n% f. m: |
  117. ;   Default Value: Off
    8 d1 }5 K+ o' M+ n2 H& }
  118. ;   Development Value: On
    . x# u: _8 p' X5 z# t1 Z2 u1 q' H' \
  119. ;   Production Value: On$ O2 S( K# P8 I+ X5 a& t' L' y2 M
  120.   Y5 B6 L* p) A/ F) I
  121. ; max_input_time; |0 ]1 y8 T; S
  122. ;   Default Value: -1 (Unlimited)) I, J% P) v5 V1 C
  123. ;   Development Value: 60 (60 seconds)
    0 K1 I% g7 A7 E% t
  124. ;   Production Value: 60 (60 seconds)
    2 n% A  U. c- c
  125. ! D) e0 _9 |2 T/ ?1 x& b  `6 g$ f
  126. ; output_buffering
    , z6 N. @% L: u" F( R8 G9 p
  127. ;   Default Value: Off2 L- D' h; U3 C% l4 y
  128. ;   Development Value: 4096' b* d0 k* o& ]# j: W
  129. ;   Production Value: 4096' R  E. j1 Z2 x: ]& P# z8 E
  130. 8 K; a) c" U) O+ d; ?3 h
  131. ; register_argc_argv! ~* U( P+ a( N
  132. ;   Default Value: On
    * [" E. z/ c. J
  133. ;   Development Value: Off
    4 S$ f, L$ E7 ~6 \
  134. ;   Production Value: Off+ S. {; ?. W& h0 Y- J

  135.   U$ x; I: h+ q% t* X8 {8 [
  136. ; request_order5 F) k% u+ _3 m8 D
  137. ;   Default Value: None
    7 H0 Y: L" N5 D# \+ l7 u
  138. ;   Development Value: "GP"& ~  z# @) n, G% i
  139. ;   Production Value: "GP"* Q* C2 F: G2 \/ H
  140. * ]2 y0 l* R" q; K
  141. ; session.gc_divisor
    - R4 o" z: b" \, C
  142. ;   Default Value: 1004 w/ T8 f& Q8 D/ H, x
  143. ;   Development Value: 1000$ K; U! W) [9 ~- V% |
  144. ;   Production Value: 1000
    7 h8 U+ B: C9 R9 G  Y& N

  145. 5 Z. ^% r: y3 p6 \/ j, [
  146. ; session.hash_bits_per_character& K) ]9 _$ X2 u0 y1 n! q; {$ g
  147. ;   Default Value: 4) P' Z5 o- W! n+ k
  148. ;   Development Value: 5
    - Z- Y1 p- S" O/ H* T
  149. ;   Production Value: 5" V1 a8 j  _4 \

  150. 0 b! p* y3 ]. R( ^( e1 s
  151. ; short_open_tag+ ^  Z# x& K6 J) p) V
  152. ;   Default Value: On
    1 L% o* R3 B' X
  153. ;   Development Value: Off% e: D7 l" a2 y1 E* b
  154. ;   Production Value: Off
    0 d+ J% Y  f8 {+ R; ]' N
  155. * w; Q% s' E7 |/ L+ B! a2 z
  156. ; track_errors
      i; W& A/ r' i- L  b: v9 ~
  157. ;   Default Value: Off9 w- i/ X) b/ g
  158. ;   Development Value: On
    9 @$ B" k" M7 F
  159. ;   Production Value: Off
    ! I3 ?* }3 \; z; \" u+ N
  160. / e+ ]3 t/ F2 M- d
  161. ; url_rewriter.tags
    8 X! q- I9 E  f, _7 Z+ }
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ; s7 r" [- e7 {5 p' z) i
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    5 J- J! U8 B% Q' D8 B
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"# c+ U4 l- Y( @4 s/ }/ r

  165.   A* S$ i0 M2 A* B: Q1 J
  166. ; variables_order
    : Q( h9 [$ u1 O# Y& ?, p
  167. ;   Default Value: "EGPCS"
    / S& M' D) o+ a
  168. ;   Development Value: "GPCS"! J: S! h9 ^$ I7 K! ^* E" P; d
  169. ;   Production Value: "GPCS"
      M% @, Q* a, i7 T

  170. # q& a! E7 s$ [8 y2 w: h) Y2 A9 s
  171. ;;;;;;;;;;;;;;;;;;;;: x) t/ N' S  v' E+ K
  172. ; php.ini Options  ;
    1 W  _, T- f; a( \: I
  173. ;;;;;;;;;;;;;;;;;;;;
    / X4 e/ U1 F# f+ w5 F  Q* _
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    4 A, T2 [7 ^$ I7 H/ Z) x" z8 x5 ~7 }
  175. ;user_ini.filename = ".user.ini"2 b( ~9 z. @8 t) W% |. G

  176. + Q3 T1 [0 ?; c' p5 g9 W0 ?
  177. ; To disable this feature set this option to empty value" x/ r2 m& T9 b6 B( e$ [
  178. ;user_ini.filename =' t% T3 a$ y3 ^  l" E& g9 e

  179. & i: F" A! `9 @3 L+ U
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes); F3 C$ d; P) S4 q; k8 t# W
  181. ;user_ini.cache_ttl = 300# T1 v! r% B9 S
  182. 4 t& L1 p3 ]) n* \0 d0 p; ^
  183. ;;;;;;;;;;;;;;;;;;;;, q, U- e0 U1 w0 y# J+ @2 s
  184. ; Language Options ;/ P6 \$ A1 ]7 `* n
  185. ;;;;;;;;;;;;;;;;;;;;
    5 s4 ?" g( V2 U# Z" H8 S
  186. 3 ~9 y0 H$ o, ~5 [' ~# U
  187. ; Enable the PHP scripting language engine under Apache.3 l( Q  A+ G' x: D& G7 Y9 T5 N) O
  188. ; http://php.net/engine1 C+ {1 Z( E5 `/ L: v- O! [
  189. engine = On1 b( _* y8 ~0 u5 S& Z9 J
  190. ' P* V1 t0 ^+ K, y: J
  191. ; This directive determines whether or not PHP will recognize code between* V9 b* M/ g5 `4 _3 m4 f; E
  192. ; <? and ?> tags as PHP source which should be processed as such. It is  E: u& L1 ^9 K  `% L( N
  193. ; generally recommended that <?php and ?> should be used and that this feature
    + l4 t' j. S5 B' A4 S
  194. ; should be disabled, as enabling it may result in issues when generating XML# S. _/ j' _8 Z
  195. ; documents, however this remains supported for backward compatibility reasons.& k+ d: P3 ~1 g
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    ) o! z2 @; ]- v+ z  O5 K6 e
  197. ; used regardless of this directive.
    5 x. ?6 m4 D0 W! k0 W
  198. ; Default Value: On
    % ^% v4 _0 Y4 Y! x+ f
  199. ; Development Value: Off: M9 m+ j/ O" d  N6 G" i4 R7 G8 N0 ]
  200. ; Production Value: Off" n; A4 R" b/ ~' `' f4 D( G
  201. ; http://php.net/short-open-tag
    " K8 g+ j: i1 v
  202. short_open_tag = On
    6 \( B5 ]* e5 ^* k7 X; M6 B, q* {
  203. 9 y4 ~  E& V4 t5 v  _/ a+ ^3 F* e  h/ z
  204. ; The number of significant digits displayed in floating point numbers.
    * n8 ^+ V4 t: z4 S" ~! O
  205. ; http://php.net/precision& Q! r) l- Y) a& ^0 m' F2 R
  206. precision = 14
    . [) Q5 y' b: \6 n
  207. - x! y( d: Z; h! u3 }
  208. ; Output buffering is a mechanism for controlling how much output data, f# o$ z: S) Y% Y5 o, E" }, i/ ]
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that6 ^7 _& b; \; r1 V2 e
  210. ; data to the client. If your application's output exceeds this setting, PHP/ t1 y  c6 P/ g
  211. ; will send that data in chunks of roughly the size you specify.* M7 t. g' N/ w8 L7 k
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    1 l+ L3 F1 Q, D  R( e' h
  213. ; interesting side-effects depending on your application and web server.
    8 O) {  u7 D/ O- p2 a9 A* _
  214. ; You may be able to send headers and cookies after you've already sent output1 b. h- v1 c4 ~3 M
  215. ; through print or echo. You also may see performance benefits if your server is
    : A2 d8 D& n, O1 U
  216. ; emitting less packets due to buffered output versus PHP streaming the output( l) @) I, ~, V
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    * m6 v( p2 N' V) |
  218. ; reasons.
    2 g7 q& a- W* A& ~
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    1 @$ D5 g$ [* e: o" W
  220. ;   functions.$ |/ |" [) D: n1 c
  221. ; Possible Values:$ l2 y6 e+ O* W+ x/ c4 X4 v
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)) C4 a) w7 j+ ^' S8 h6 H
  223. ;   Off = Disabled
    " D7 g) e" g. C0 w% ]- z
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    + H& o; t% B8 g5 M1 b) C& \
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    * |2 A  o5 H- Z' U
  226. ; Default Value: Off
    5 X1 Y% }) N) a& t
  227. ; Development Value: 40962 C/ j4 D0 D+ `  u
  228. ; Production Value: 4096
    ) g- {- A" Q& C4 L" Q2 o" |5 b+ M9 M
  229. ; http://php.net/output-buffering
    + j- @2 ~! ~2 x$ }, F1 j0 K
  230. output_buffering = 4096
    3 u* c0 D6 M0 \1 c6 `* n( L
  231. ( `9 @; c# a: a1 c( R; R6 ]7 t
  232. ; You can redirect all of the output of your scripts to a function.  For8 f1 x4 f4 ~& G- ]1 Y" @
  233. ; example, if you set output_handler to "mb_output_handler", character3 \; ?8 W: M) d& I+ J  F# K
  234. ; encoding will be transparently converted to the specified encoding.) g3 V; P) I, s% N% ~# f. f6 C
  235. ; Setting any output handler automatically turns on output buffering.
    6 a9 Q" C# n6 _! J! G  d
  236. ; Note: People who wrote portable scripts should not depend on this ini' ^0 R' L! L- V% T& F& ~0 R# f
  237. ;   directive. Instead, explicitly set the output handler using ob_start().- D7 q- i' V# b7 x5 i  }( ~
  238. ;   Using this ini directive may cause problems unless you know what script3 S! K! h) }7 Z$ v; [8 Y# A& ^
  239. ;   is doing.
    & v) J7 S9 w( E
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"% m5 y) @& U; j0 \9 \
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".7 C# N$ C: C$ L, o1 e- D8 K) H" ]
  242. ; Note: output_handler must be empty if this is set 'On' !!!!; e" M3 e! L4 R1 ?7 i8 \
  243. ;   Instead you must use zlib.output_handler.0 b6 p& y# n% Q4 ~9 P+ p
  244. ; http://php.net/output-handler
    8 M( ~* h8 A- {+ V
  245. ;output_handler =
    4 F! c8 k2 u5 H6 E9 D1 s& r
  246. $ d: W; }7 q: T! {
  247. ; Transparent output compression using the zlib library. @5 o/ _% c; r
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    % ^4 _. w- L' R0 V% {9 k
  249. ; to be used for compression (default is 4KB)) b  f/ _& G' _! J3 Y
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP; E1 E) J8 ?8 C& ]1 w5 H
  251. ;   outputs chunks that are few hundreds bytes each as a result of/ z  T2 H8 q2 i' `, t
  252. ;   compression. If you prefer a larger chunk size for better* h0 a$ F7 k8 R$ U6 W
  253. ;   performance, enable output_buffering in addition.6 {4 `" p4 x4 W7 H5 Z$ @8 a  W
  254. ; Note: You need to use zlib.output_handler instead of the standard3 l  b- C. N, Z! c
  255. ;   output_handler, or otherwise the output will be corrupted./ i0 w, g" g+ t# U& _( A
  256. ; http://php.net/zlib.output-compression; p1 b3 ~6 _1 Y- T+ ?
  257. zlib.output_compression = Off& }: T; g6 P  K8 d' O2 T; R
  258. $ v; N8 s& R$ k3 n9 E  N6 s
  259. ; http://php.net/zlib.output-compression-level
    8 W$ i9 v6 W4 }7 ^
  260. ;zlib.output_compression_level = -1* m9 W( r9 {  r7 {* o- b/ Y, I
  261. ; A9 X% W: q6 N0 ~6 k! C' d
  262. ; You cannot specify additional output handlers if zlib.output_compression
    8 @8 W+ c6 f9 L2 Y+ V! s2 \
  263. ; is activated here. This setting does the same as output_handler but in
    . q" O, D3 T, }' y6 v# T$ Z( \
  264. ; a different order.& x. d# T4 R5 s7 U5 n, g
  265. ; http://php.net/zlib.output-handler
    ) H& j# `7 g3 j  W1 J
  266. ;zlib.output_handler =
    4 b0 p' @. s+ _: J2 O8 O/ @
  267. * B6 m  \! c* L# V$ j$ ]& a0 k
  268. ; Implicit flush tells PHP to tell the output layer to flush itself: [- Q; w" m4 M  ]
  269. ; automatically after every output block.  This is equivalent to calling the  ~, u; [' N( g
  270. ; PHP function flush() after each and every call to print() or echo() and each
    2 `0 s4 x: X7 ^+ I, V# \
  271. ; and every HTML block.  Turning this option on has serious performance% o5 w0 X& q; s6 u/ ]7 p
  272. ; implications and is generally recommended for debugging purposes only.3 [( U! Q; \% ^, F% S
  273. ; http://php.net/implicit-flush
    ' A' T! @5 e5 ~8 G4 B9 Y: H
  274. ; Note: This directive is hardcoded to On for the CLI SAPI/ g( p, f+ ~6 b0 f* ~* \! s: Y
  275. implicit_flush = Off
    % \- j; R' K2 h' V! [- x. Z

  276. 1 e) _( F  T: ?$ y/ q. F
  277. ; The unserialize callback function will be called (with the undefined class'
    : u( |3 [( h* z, T! D2 Y* R( [) M
  278. ; name as parameter), if the unserializer finds an undefined class: s7 }: ^. H. _. U
  279. ; which should be instantiated. A warning appears if the specified function is
    * p& S0 [" S4 ]' Q' k
  280. ; not defined, or if the function doesn't include/implement the missing class.8 `9 t* I9 R9 {' {4 T# `3 [
  281. ; So only set this entry, if you really want to implement such a
    8 o( @' e( g2 b  ?, v
  282. ; callback-function.1 m+ ^2 s( G' p5 S+ ]
  283. unserialize_callback_func =
    , B0 C/ a1 q' W2 |# c; |4 ^: c

  284. 0 C$ ~0 n) A. U' h4 a8 M, O3 P
  285. ; When floats & doubles are serialized store serialize_precision significant
    % g9 R. P+ i8 K* Q
  286. ; digits after the floating point. The default value ensures that when floats. p" Q7 i7 I& T$ {9 V: @" v
  287. ; are decoded with unserialize, the data will remain the same.
    " ?! T1 f0 F7 _0 H5 J+ g2 G4 w
  288. serialize_precision = 17$ \; D7 e# L8 E9 |+ y5 W; c

  289. & i  l- i- R( p+ h
  290. ; open_basedir, if set, limits all file operations to the defined directory3 S  b; _. M1 V! Y5 t8 x8 n
  291. ; and below.  This directive makes most sense if used in a per-directory% X( I1 f9 S' O0 D
  292. ; or per-virtualhost web server configuration file.
    7 n8 L, n% o; L3 e6 K% N1 ~$ p
  293. ; http://php.net/open-basedir
    + V4 X2 v  b4 f" D) H2 q, O# C
  294. ;open_basedir =
    $ z+ I. p$ y+ J0 E7 Y6 I0 m

  295. 2 a/ T, n% b, \
  296. ; This directive allows you to disable certain functions for security reasons.- f! f/ B; n$ D! S& d
  297. ; It receives a comma-delimited list of function names.# y* p( Z; n& j) y* l/ S, C& D
  298. ; http://php.net/disable-functions1 a! z$ M* S( u% f+ l; q- v& h
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    * R9 X' A- b3 D8 t

  300. 5 c5 K; B0 v' B/ q& l3 }0 v( V
  301. ; This directive allows you to disable certain classes for security reasons.. h! P1 ]5 B0 r% z5 U( O$ w. J
  302. ; It receives a comma-delimited list of class names.
    - L2 V) _5 Q+ y1 b8 Y
  303. ; http://php.net/disable-classes
    5 A6 [  U: r% k# n
  304. disable_classes =* n; {3 b7 X  j

  305. 4 h4 ^9 L* k+ q7 m& I/ U
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    8 n. _* H5 _# f7 E1 f1 a
  307. ; <span style="color: ???????"> would work.9 v; t$ s3 a. }& @
  308. ; http://php.net/syntax-highlighting5 W1 I) O& I% g! s; b  }$ s& [
  309. ;highlight.string  = #DD0000
    8 G& l8 K2 _3 k! a5 P1 R# [
  310. ;highlight.comment = #FF99006 M5 L+ z2 G# k8 ~; k
  311. ;highlight.keyword = #007700
    9 j4 L* m; y) L1 a
  312. ;highlight.default = #0000BB
    3 ?7 D& X' I" P: \
  313. ;highlight.html    = #000000
    5 r$ o+ g1 R1 w! p& {
  314. . S& N! x; l) I2 ]
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    4 y, {$ Y/ N; x
  316. ; the request. Consider enabling it if executing long requests, which may end up9 q% b7 S/ _& y/ o+ w9 ~" a4 K$ q
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior) F0 e  ]; ?# K: o7 f& X
  318. ; is to disable this feature.
    ) S4 d; [' J. S
  319. ; http://php.net/ignore-user-abort
    3 \4 {" b. O0 b$ c" T
  320. ;ignore_user_abort = On
    & g% q" `# D: {

  321. 4 Q  w2 ?1 w1 \3 p3 ?9 L9 b4 F, h1 w
  322. ; Determines the size of the realpath cache to be used by PHP. This value should1 ]1 @4 P9 R0 j% M; c" g6 t  A
  323. ; be increased on systems where PHP opens many files to reflect the quantity of2 a/ {, m, ~# K0 h4 U3 z
  324. ; the file operations performed.8 J" W( \: I. R8 F* k0 u3 t
  325. ; http://php.net/realpath-cache-size# ^3 a9 ?0 R0 ~9 d5 ~
  326. ;realpath_cache_size = 4096k# j: [/ L9 ^0 G4 u1 I9 e5 U3 D7 p) Z

  327. / M$ i7 ~% p4 x1 ^
  328. ; Duration of time, in seconds for which to cache realpath information for a given8 ^! x- a6 [% U
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    ; E" `1 Z8 l& R6 Q: Z
  330. ; value.- h0 p5 \4 S& W- z" J6 [* F
  331. ; http://php.net/realpath-cache-ttl
    ' P4 C( }, U' r. j; }
  332. ;realpath_cache_ttl = 120
    3 q  B! z7 E" ~, S3 r. v
  333. 7 c& c, @5 b7 m; a8 U- y
  334. ; Enables or disables the circular reference collector./ D2 B+ e( g1 F3 N
  335. ; http://php.net/zend.enable-gc
    4 [" ~  K9 N1 P4 k/ p4 S2 U$ J
  336. zend.enable_gc = On
    . _2 T- F1 ^! k# [) `

  337. 6 ?. h+ h! P7 b0 \2 t
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    ' ]- \& w. u9 Q& Q: P
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    0 _: Q; K- D) Z0 C7 O% S0 H  F
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    + n$ H3 d! Y: W. d' Y" y5 L
  341. ; Default: Off# O( K  I5 [( A6 w4 s7 U: [
  342. ;zend.multibyte = Off
    . e% P8 T& o4 h# t+ e& E
  343. : z/ N+ R2 y$ J) Z& X  ?$ z7 O. M) I
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    7 q0 i$ j& ]0 R! O. F, Q8 Q& e4 ^
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.# ]/ w- c( ^4 i* d3 i+ E
  346. ; Only affects if zend.multibyte is set.
      ?' s- h2 Y, Z' p! i' W6 W
  347. ; Default: ""
    0 s4 v! ~% _% W) o* _
  348. ;zend.script_encoding =! Z; r9 x; ^0 e& `) J- K- J
  349.   ~0 c7 I* e/ t6 R6 c# T
  350. ;;;;;;;;;;;;;;;;;
    * }6 r. _5 ]8 Y4 F% q" x0 x  P
  351. ; Miscellaneous ;
    0 Q' \8 m0 p" M( Z/ x
  352. ;;;;;;;;;;;;;;;;;" |+ L: a4 U+ T' P. U1 q# [
  353. $ m- g) @9 m6 |, e$ p% m# a+ D
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    ) V8 Y  O$ w. v! F4 x8 t; o( Q
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    ' |' E4 I+ R% C
  356. ; threat in any way, but it makes it possible to determine whether you use PHP$ n# F4 r& Z2 x" N7 a4 k7 S
  357. ; on your server or not.4 s" }4 `0 g! l5 I% J# x
  358. ; http://php.net/expose-php, ?$ l- `# n# k( d* V
  359. expose_php = On! u- _8 j, p- r3 n: W2 w% P

  360. 9 y7 _2 n: j3 c* R
  361. ;;;;;;;;;;;;;;;;;;;. h$ A) x9 f  x* N" ^6 q
  362. ; Resource Limits ;; S  M8 ?$ f) d0 c$ Y+ j
  363. ;;;;;;;;;;;;;;;;;;;$ Q2 l7 I7 z$ K  p( }6 Y

  364.   s8 Y( |0 N# |/ r2 c- x6 @: A
  365. ; Maximum execution time of each script, in seconds, {, t% B& D$ W# _; @
  366. ; http://php.net/max-execution-time4 m; D) k5 v( M- G
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI% ~+ D* x, T, G. ]1 n/ p
  368. max_execution_time = 300
    7 ~: U2 P9 z0 i' i# T1 b4 q

  369. ; V: C$ |* D* g" n- }% W
  370. ; Maximum amount of time each script may spend parsing request data. It's a good- V2 Z9 ^$ C1 }
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly% L  ^3 G% z0 W, i2 d
  372. ; long running scripts.
    9 n' f+ i% i7 Z, \# O1 i, ^  L
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    7 H5 s- f. F1 l0 O1 ^
  374. ; Default Value: -1 (Unlimited)
      X" n: {! n* Q8 H
  375. ; Development Value: 60 (60 seconds). x8 O, S  _5 k9 @" z8 j
  376. ; Production Value: 60 (60 seconds)  f) p$ l7 f4 C  y3 ]3 h
  377. ; http://php.net/max-input-time
    $ |. t- H4 v' c$ h
  378. max_input_time = 60. C: b' K$ ]; m4 I9 D
  379. 5 q- p1 v+ I5 D/ Y0 i1 k( ?
  380. ; Maximum input variable nesting level
    & O) Z- Z: \% e+ \/ m' A
  381. ; http://php.net/max-input-nesting-level6 P( v& p. J7 Y
  382. ;max_input_nesting_level = 64$ s0 _% r: d; |# E4 A8 W4 w! V* s

  383.   y) @, _: g% T+ L% ^. l& }) {
  384. ; How many GET/POST/COOKIE input variables may be accepted3 U& X; c  J/ t% i$ u
  385. ; max_input_vars = 1000. r! t5 a  B$ C% q8 o# N
  386. 9 ?  m7 P1 d' p- X/ s" g7 i3 G
  387. ; Maximum amount of memory a script may consume (128MB)' y7 F' L+ A; Y7 }* _  S
  388. ; http://php.net/memory-limit4 E0 f8 L0 O$ M3 y" h" {! W, y6 p$ E) {
  389. memory_limit = 128M
    4 ?' h" D3 O0 i$ w

  390. + {0 b$ s4 I# u" s
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;) a. J6 E. n' ]
  392. ; Error handling and logging ;7 F" z' T$ A' x# s  S( E* a
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
      l$ v7 I7 I1 }4 G3 {1 q
  394. ' Y$ L8 [/ z6 d7 M4 o2 n  X: |1 P
  395. ; This directive informs PHP of which errors, warnings and notices you would like  A+ H3 _+ y/ ]6 B- _- ?' ^0 t2 I0 x
  396. ; it to take action for. The recommended way of setting values for this
    - G5 A* `1 ~3 k) T, p" R; E- D
  397. ; directive is through the use of the error level constants and bitwise
    5 o8 k6 Y8 [. R/ L0 o( M* r
  398. ; operators. The error level constants are below here for convenience as well as, J# `2 ^( q7 Y  g8 n
  399. ; some common settings and their meanings.
    2 m  v0 l" s8 \# p
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    ' s$ j- s: h5 X* z1 J
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    2 A" S, D8 L: x! }/ C/ p
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    ! ?9 q7 e8 X1 ]
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    / @4 t" p# U/ Y, o" ]1 l9 v
  404. ; resources complaining about best practices and coding standards. That's what
    / {  Q+ p* f3 d9 m
  405. ; development servers and development settings are for.
    & d6 \' k* s/ {' ~) F
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    6 Q  Y0 o, f2 i
  407. ; means it pretty much reports everything which is exactly what you want during2 f: U6 A" q: J5 x& f
  408. ; development and early testing.
    0 Y" d8 K9 V1 o8 t0 J
  409. ;& S2 x9 y: N6 x5 [  ]- @# T( T
  410. ; Error Level Constants:
    9 [+ t9 \6 N" z5 N9 {
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0), }" [8 @7 N8 _) U% i6 M" D
  412. ; E_ERROR           - fatal run-time errors
    - i$ V' k; V$ U% p2 H+ c
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    ' {" h2 A: o: t
  414. ; E_WARNING         - run-time warnings (non-fatal errors)  p5 P+ F) O- e/ m! s; S) V, ?
  415. ; E_PARSE           - compile-time parse errors1 S/ L! o! t5 b, v/ `+ k
  416. ; E_NOTICE          - run-time notices (these are warnings which often result" M3 {; L! R. [9 X" P+ O
  417. ;                     from a bug in your code, but it's possible that it was% _) ?1 h7 _- D1 Z# ^* i+ k+ I0 E; I9 O
  418. ;                     intentional (e.g., using an uninitialized variable and
    6 c& R7 c! d. E( ~% Q. C/ }/ p! a$ K* ~7 b
  419. ;                     relying on the fact it is automatically initialized to an
    6 q5 p( L$ h. D# F* Z
  420. ;                     empty string)
    & }  O" A) b: r) @1 u- l/ u8 m
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes. B" d9 ?& ]" {7 r$ R) o4 }* _+ W- |
  422. ;                     to your code which will ensure the best interoperability
    7 r8 v3 I1 B* f  A5 U# p& j6 d6 v
  423. ;                     and forward compatibility of your code
    ! s5 A5 t& f- p2 h" Q
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup3 L$ l; Q& F- N, N$ m' E9 R" x
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    8 m4 v, R/ N7 v& N* j$ k
  426. ;                     initial startup
    0 R7 H9 t2 @2 T6 Q; ?
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
      Q. Z+ A4 V! G. r% @: {4 W
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)  d! B" R) O. D) P2 T$ A
  429. ; E_USER_ERROR      - user-generated error message4 }0 e$ b( N$ R$ k( D/ G" G
  430. ; E_USER_WARNING    - user-generated warning message
    " V8 H- G/ @# v4 _+ y
  431. ; E_USER_NOTICE     - user-generated notice message/ n5 c0 M$ L. I6 Z& X# M4 n
  432. ; E_DEPRECATED      - warn about code that will not work in future versions. R) _9 c1 K4 X3 H1 }# ]( ]
  433. ;                     of PHP  l& v0 l0 N3 `. c
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings1 M5 a& H! Z' n/ m7 C. U6 L
  435. ;
    7 O0 T8 o7 W/ H9 j) G
  436. ; Common Values:
    0 ^# Q9 H9 a% P1 R+ P
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)5 O0 W, `9 a& }" X7 ?: |
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)( c- R4 g) ]7 l0 [
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)6 E: P' M( W7 t3 a1 I
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    3 |2 o0 `2 E* P7 w
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED/ Y: ]% t8 z8 d
  442. ; Development Value: E_ALL; W! d# E& g1 A
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    ! p9 |1 d1 h# g( y
  444. ; http://php.net/error-reporting
    # u, n$ \% v; \( }: t& J! p
  445. error_reporting = E_ALL & ~E_NOTICE9 A! ^% D8 X. ]9 b  S% [! X
  446. * g# O2 X3 }  H9 _! l& \- J
  447. ; This directive controls whether or not and where PHP will output errors,' _2 D% P: v. }( s& M* Y6 G
  448. ; notices and warnings too. Error output is very useful during development, but
    7 T: E+ o5 Z4 ]) r# {
  449. ; it could be very dangerous in production environments. Depending on the code  u' n6 s2 _' [( z
  450. ; which is triggering the error, sensitive information could potentially leak: k5 ]0 L+ ?  _/ z- r
  451. ; out of your application such as database usernames and passwords or worse.2 j+ N' l" F: l7 t2 }; }
  452. ; For production environments, we recommend logging errors rather than
    . l' m" ~$ O4 ?$ ^2 r8 I& x
  453. ; sending them to STDOUT.
    3 D# z% }* h- R5 i
  454. ; Possible Values:0 H6 M! J  x' Y& J( y  h
  455. ;   Off = Do not display any errors
    + U3 u8 w$ x2 f4 [4 f
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)& y$ `1 G& l# x% g% k" `) p
  457. ;   On or stdout = Display errors to STDOUT
    7 G3 r' [% f2 n/ O
  458. ; Default Value: On8 g  P0 `  @! ~+ c( T2 j
  459. ; Development Value: On0 n( x8 j* p2 R3 n* U" f$ D' v
  460. ; Production Value: Off
    ( H. Q# L5 h" M5 x$ b. }0 d
  461. ; http://php.net/display-errors/ J. u6 _& `+ ~$ G
  462. display_errors = On
    / x* m, g+ P' d
  463. ; C, ~" h5 A+ b& s" d; s7 l
  464. ; The display of errors which occur during PHP's startup sequence are handled6 o5 i8 ^6 h9 p/ v7 f
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    4 ~' c, V" c& H3 B/ N2 f. A
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    7 G+ i, `& Z5 ^1 U
  467. ; debugging configuration problems. We strongly recommend you- [' W* P  T; I( W. b8 i+ O# C
  468. ; set this to 'off' for production servers.
    0 h! ]- Q8 B2 K
  469. ; Default Value: Off5 E" M0 o: j* H3 D5 O9 C
  470. ; Development Value: On/ {: [& g2 O  R8 M" Z' v2 ]9 \
  471. ; Production Value: Off
    ( C8 H: l4 y, C8 N
  472. ; http://php.net/display-startup-errors
    ' t7 A  P! m, r8 m( G/ I# R
  473. display_startup_errors = Off
    $ E# U- j# Q; {" I
  474. 6 V( E$ j4 M4 D# V# S
  475. ; Besides displaying errors, PHP can also log errors to locations such as a; B& d3 ?/ E9 x
  476. ; server-specific log, STDERR, or a location specified by the error_log% V- v$ ?' j- M
  477. ; directive found below. While errors should not be displayed on productions
    9 w" H& u0 ^7 \7 x0 W8 z" D8 ?
  478. ; servers they should still be monitored and logging is a great way to do that.- ?& Y* h* _4 y4 b: {+ Q8 i. p) s: y( A
  479. ; Default Value: Off- z( M) F  s& w& w) `! n- G
  480. ; Development Value: On' w* c0 ^3 A% T: w% E' M4 I# r, W1 x
  481. ; Production Value: On/ y3 ~. h8 A: K1 W: e5 K0 z! L
  482. ; http://php.net/log-errors
    0 S* a: R' }( Q: H4 |- H8 }, M
  483. log_errors = On
    * F- g) w8 y' P+ ]

  484. 4 `: t6 j3 r- W- D1 M
  485. ; Set maximum length of log_errors. In error_log information about the source is
    " o% W# r/ V. j, }( j" |
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.* ?0 ]% q' u0 K& H8 E( u
  487. ; http://php.net/log-errors-max-len5 s9 Z/ o: S/ g8 M* J
  488. log_errors_max_len = 1024; R) h  y! q- o- W4 p* p% }7 X
  489.   O: H7 \$ B' d1 @
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    4 p5 \/ a+ R' [1 ~8 S: m. L& _# V
  491. ; line unless ignore_repeated_source is set true.
    4 O7 D. S% ~1 C4 W; D+ {8 [- \
  492. ; http://php.net/ignore-repeated-errors
    - a5 }- }8 g& S$ B, r4 }
  493. ignore_repeated_errors = Off$ k- h% N7 z; |

  494. ' N7 h  ?/ y& ]/ V. Z, `
  495. ; Ignore source of message when ignoring repeated messages. When this setting
      s; G; R4 d% w
  496. ; is On you will not log errors with repeated messages from different files or
    5 a% v1 ~5 n, o- m# c- ]- P# t
  497. ; source lines.
    9 _* G7 P  W# ]. \) E
  498. ; http://php.net/ignore-repeated-source
    / d, K" Z! p5 F6 w4 A( k* f$ w
  499. ignore_repeated_source = Off/ x4 t9 ?5 W/ r) ]! h2 ?8 E

  500. # q9 I% w' F9 o+ z6 _
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    , Y- e' D, R- k$ F' C
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    ' V1 u# R# C% e) I- Z$ U. `
  503. ; error reporting includes E_WARNING in the allowed list
    0 V3 G9 V* P7 J
  504. ; http://php.net/report-memleaks9 |' G3 V. J0 ~; J) ~" l
  505. report_memleaks = On
    ! w9 V8 d6 A1 K: _5 F0 u
  506. 3 \, D6 j2 e% `$ n* W
  507. ; This setting is on by default./ P2 D% `; O: E2 h9 F, J* |
  508. ;report_zend_debug = 0
    + F- F; y) X/ C7 K! Z
  509. - r. j5 [8 n3 G2 E, p
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
      \; Q1 V9 z4 ?1 j+ z
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    4 V% w- o& G& }6 Q6 l. o2 ~
  512. ; however be disabled on production servers.
    9 c! G0 @! T/ R$ ]
  513. ; Default Value: Off1 a% I6 J# z  q1 k" G
  514. ; Development Value: On# _* S2 H. [) Y. Q9 O0 _/ \( x
  515. ; Production Value: Off& F4 h) K2 j; D' U
  516. ; http://php.net/track-errors- s8 n1 `3 t  N. k1 M3 m0 S
  517. track_errors = Off& S7 e5 e7 o7 [; a

  518. 7 p0 f; l& U9 ]0 U
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    . n2 @& Q4 b+ k, U% Q5 u: ^
  520. ; http://php.net/xmlrpc-errors0 n* N) U" t, Y: J1 E
  521. ;xmlrpc_errors = 0
    3 ~8 @' q, E3 G" e8 n

  522. 1 |1 p4 x" B9 d+ o9 S2 Q8 h
  523. ; An XML-RPC faultCode( x8 @( f3 M$ {/ ^+ s
  524. ;xmlrpc_error_number = 0$ l$ N3 x& a: j- o+ ~4 \, U
  525. ; `+ R  \& A$ t! n9 V( t
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    ! ~# k/ [8 O5 R5 W( c2 N
  527. ; error message as HTML for easier reading. This directive controls whether
    9 g$ D4 b% h$ s& t! K
  528. ; the error message is formatted as HTML or not.( p6 A, L- |  {; |0 r
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    8 E7 i/ @6 ?. Y. d7 I% p* `2 H; S
  530. ; Default Value: On
    ' Q3 t8 o( T6 q2 Q% u9 m5 y7 S( Z! I
  531. ; Development Value: On
    $ h, N7 N7 ]5 h0 G* G
  532. ; Production value: On' F6 X: k& S6 u# G! B5 j
  533. ; http://php.net/html-errors1 j# I/ u% I, B$ h) u0 v. E2 q
  534. html_errors = On9 J- ^+ I7 a3 v2 u) n4 i0 {" K
  535. , P9 n3 i  ]& ~/ }2 J
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    8 Y' b8 e6 c" h/ ~2 i% [9 _! w3 y3 g
  537. ; produces clickable error messages that direct to a page describing the error+ ~. o) k6 w/ Q
  538. ; or function causing the error in detail.
    ! e# E$ S$ d: t1 `! u2 z+ J, M
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    6 m) D7 ?/ G4 ]3 }# \
  540. ; and change docref_root to the base URL of your local copy including the" g$ I  N9 c) I/ m  l! [  L7 a5 Z
  541. ; leading '/'. You must also specify the file extension being used including/ E8 ?2 n5 n; T# o; M( ^
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which! w' r1 ^5 t" s/ H. ~
  543. ; case no links to documentation are generated.
    ) v( r+ z6 C1 L
  544. ; Note: Never use this feature for production boxes.
    6 H6 B; \$ m  W" ]& z$ w
  545. ; http://php.net/docref-root/ [$ v: r- F5 ?& n' W% {# H4 X) M
  546. ; Examples
    4 H1 Z5 p; D' u# w+ a* z4 ]
  547. ;docref_root = "/phpmanual/"4 e, [6 A+ Q% L3 V( F

  548. 6 Q4 J6 V# ^7 S3 \; T; g
  549. ; http://php.net/docref-ext
    % V4 e/ z1 b* I8 n  N3 z
  550. ;docref_ext = .html; Y8 O- K1 \% _. }
  551. ( }. f) O: x5 W" c7 d% m
  552. ; String to output before an error message. PHP's default behavior is to leave
    . w! k- C9 G) l- A
  553. ; this setting blank.: U) j# Z# b4 w+ a
  554. ; http://php.net/error-prepend-string
    - w$ w9 ?+ J! [- F
  555. ; Example:  O6 g9 L" i. i! s
  556. ;error_prepend_string = "<span style='color: #ff0000'>"' g4 W, L: T) K) ?  e. s5 f

  557. # g0 R& R- D7 e0 ~' x  M8 e7 i
  558. ; String to output after an error message. PHP's default behavior is to leave
    9 C' q' r) s/ P
  559. ; this setting blank.. R+ m. X+ {) @
  560. ; http://php.net/error-append-string
    . ^2 B" S( N9 u/ r  V) `* G
  561. ; Example:
    . L6 {2 f# l' R5 a7 E
  562. ;error_append_string = "</span>"5 X3 r% b8 X# F# E1 z0 q4 c, l
  563. * D/ w- Y$ v8 o! ~) z: Q
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    ' ^' {5 }$ z: Q% X( r: A
  565. ; empty.
    ! j; `  O' s! H) Y8 J( K! B  `
  566. ; http://php.net/error-log
    / u8 z9 w9 U2 U/ N
  567. ; Example:
    0 G0 K  J/ C- C+ B  q, G
  568. ;error_log = php_errors.log
    9 I5 i+ z; l, r/ l
  569. ; Log errors to syslog (Event Log on Windows).
    $ g# B! N" {: F6 u
  570. ;error_log = syslog8 t7 S* @8 D1 `4 J( W/ E: T
  571. 8 @: I7 M0 A/ f  ~3 x9 d: _
  572. ;windows.show_crt_warning& u& |% r; {# Z" H# r& q( V
  573. ; Default value: 0
    . t5 p' m8 c$ |7 c# Y: J
  574. ; Development value: 0
    8 y1 L" Y' h; u0 D
  575. ; Production value: 0" I9 _6 @% h+ W! j" |7 U

  576. 2 h3 S( F  p1 H' D. r" B% n3 ?
  577. ;;;;;;;;;;;;;;;;;3 L& D- W' e5 s! }: }0 G9 I
  578. ; Data Handling ;6 v& z; {; B* j2 E( o) P
  579. ;;;;;;;;;;;;;;;;;
    ) L9 l& C( k2 I9 a& ~# H' t  [3 ]
  580. ) \8 R( b! J& \, U" x# h% b# L6 T
  581. ; The separator used in PHP generated URLs to separate arguments.) t' H5 y' G0 l
  582. ; PHP's default setting is "&".
    # k4 F$ O  T9 `/ B$ w
  583. ; http://php.net/arg-separator.output! O" o9 h6 o9 @$ f5 M7 ]9 R0 n
  584. ; Example:5 F' k- [4 O* m  @, B
  585. ;arg_separator.output = "&"
    1 ^* ~" \! t- A

  586. % d8 s8 _% t% G& k8 r' ~
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    ) r  N0 J3 _/ u
  588. ; PHP's default setting is "&".7 x$ b$ z& O' G! F
  589. ; NOTE: Every character in this directive is considered as separator!
    + J7 @3 r7 N& I1 |- I1 Y
  590. ; http://php.net/arg-separator.input" G7 @7 _8 ~: D/ l% g' O
  591. ; Example:, R; j$ U6 R$ I" E/ ?' v
  592. ;arg_separator.input = ";&"
    1 l( v7 Y6 n1 G" R9 O7 V
  593.   Q8 h4 @+ }4 ~6 A! D0 q/ M( ~7 x
  594. ; This directive determines which super global arrays are registered when PHP  a1 m/ ?& d1 {1 o; _# m. }
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super* c# V% e. ]  |: z* `
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    $ Z- F5 s$ `8 @$ J( r, z( O
  597. ; paid for the registration of these arrays and because ENV is not as commonly; m- e) q8 l% X
  598. ; used as the others, ENV is not recommended on productions servers. You: H8 k! P0 r: _$ p2 p
  599. ; can still get access to the environment variables through getenv() should you
    / c  H  [9 a6 e
  600. ; need to.8 _9 r+ m- h9 D- H) n- k
  601. ; Default Value: "EGPCS"
    ; x" Y1 J4 u+ Q7 N" c6 `  C
  602. ; Development Value: "GPCS"8 j; U3 ?) Z0 H( Q2 p+ u
  603. ; Production Value: "GPCS";
    ! c- l% ?' ^( s4 p( p( r4 _6 S% F) F
  604. ; http://php.net/variables-order. g0 ]8 P& x3 ]9 B! a. E
  605. variables_order = "GPCS"
    & f& {6 p. O8 P2 l5 Z" y

  606. ! ?+ K7 X, {/ `& \
  607. ; This directive determines which super global data (G,P & C) should be7 u+ v9 G; [0 g
  608. ; registered into the super global array REQUEST. If so, it also determines
    5 P9 p# e' m' p# ?7 f* ^
  609. ; the order in which that data is registered. The values for this directive/ [1 l: D, l* a& q1 l. I$ S( I5 i
  610. ; are specified in the same manner as the variables_order directive,
    7 s9 {9 _4 K/ ?" N1 a
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set3 g- n7 x; t( b# E* t2 X$ b: Z
  612. ; in the variables_order directive. It does not mean it will leave the super
    & Y  h/ p7 ^7 [: \# I+ M: x
  613. ; globals array REQUEST empty.
    2 K0 k3 R3 h) u1 z1 t
  614. ; Default Value: None
    ( b, F8 l% \- W' |5 I4 d
  615. ; Development Value: "GP": n, h6 e: t1 n$ O' f# f/ {
  616. ; Production Value: "GP"
    " x# m0 K- P( f* k5 G% U& L" j
  617. ; http://php.net/request-order
    " p. C6 O, t9 c
  618. request_order = "GP"
    * i& B) L% W/ r
  619. , t0 w9 ?! D  h
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    0 q& H. R  \+ n: j% S& L
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    ; y* W# K7 Q, H. K' F5 ~
  622. ; is invoked. $argc contains an integer representing the number of arguments# K; F2 u" j5 x+ [% q
  623. ; that were passed when the script was invoked. These arrays are extremely4 i# u& }3 K* N# |6 z  e
  624. ; useful when running scripts from the command line. When this directive is
    5 J+ G7 |6 e& ~" m$ m* a3 Z
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    2 w/ J; E7 B$ V" t
  626. ; a script is executed. For performance reasons, this feature should be disabled( K$ w4 I- f$ v
  627. ; on production servers.
    6 G6 a6 k; i/ I& {
  628. ; Note: This directive is hardcoded to On for the CLI SAPI0 t& q7 k( t5 X; d
  629. ; Default Value: On
    2 G  H' C0 \( r
  630. ; Development Value: Off1 A4 D- y1 A4 Z4 L; }( Q
  631. ; Production Value: Off6 S2 v: x3 I* s4 m
  632. ; http://php.net/register-argc-argv
    " \1 C0 \% a8 J& g/ }" W9 F
  633. register_argc_argv = Off
    ! f! Q! N2 V+ E. ]5 V& k# \7 l
  634. : o0 ?' r3 N9 O. n* G
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're! q% g6 x2 z. h! _
  636. ; first used (Just In Time) instead of when the script starts. If these0 V" {! e! q# ]
  637. ; variables are not used within a script, having this directive on will result
    ! W' Q6 g! \9 Z  ?2 ^9 Q8 d
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled( r2 L0 r, h3 X9 g! N- Y
  639. ; for this directive to have any affect." ^& c- T; n9 S+ v
  640. ; http://php.net/auto-globals-jit# D( C# D9 z- S8 w1 d
  641. auto_globals_jit = On) b8 [, {! y6 N! f6 j: p9 x
  642. $ k' @& ?7 i% m1 J& M
  643. ; Whether PHP will read the POST data.6 w) R( Y! B# h" Y' e
  644. ; This option is enabled by default.
    6 B. J- K3 a5 f) w, C; C
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
      f5 `: V7 b! j) I
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    5 y7 n' t$ C) C! \% a8 A# Q
  647. ; POST data will be through the php://input stream wrapper. This can be useful! U5 C4 {1 s- \
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    , m8 F# v/ f; F! c: `
  649. ; http://php.net/enable-post-data-reading
    0 g+ E0 t' Y$ g' f7 z
  650. ;enable_post_data_reading = Off
    7 v- F9 i$ L) I
  651. 4 L9 L( c/ H1 A2 K4 _
  652. ; Maximum size of POST data that PHP will accept.
    ! X2 D. _% x! W
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading8 h) Q5 K# Z, t" G6 z3 q0 n1 ^# y
  654. ; is disabled through enable_post_data_reading.( G9 r& r  T0 e% e' Q
  655. ; http://php.net/post-max-size
    " M) A- F8 I- N3 H- N+ w9 \
  656. post_max_size = 50M5 d! @0 S4 O& M/ \
  657. # U6 d) V$ G5 |" ]5 ?; ^: p6 \
  658. ; Automatically add files before PHP document.. R8 M$ W' }7 o' i
  659. ; http://php.net/auto-prepend-file  C/ Y8 @/ Y, ?3 V% ]6 a4 s
  660. auto_prepend_file =
    % N0 \- i8 s; i! o, S8 V

  661. 3 U* q! y5 @$ M( w* u  ~& A8 a
  662. ; Automatically add files after PHP document.
    $ F( z: n9 z! q. X6 ~* X0 h1 s
  663. ; http://php.net/auto-append-file
    % v6 l; G7 Z- p
  664. auto_append_file =
    ) s7 j* H0 X5 _8 q0 f$ [# f
  665. 1 t& Z' V6 g1 B1 X, j: _
  666. ; By default, PHP will output a media type using the Content-Type header. To7 }& s) T+ l0 T9 l% p" `. \
  667. ; disable this, simply set it to be empty.1 Z% A3 {2 K2 G: y& F
  668. ;
    ) v/ S* D3 e6 n7 s3 v. D
  669. ; PHP's built-in default media type is set to text/html.
    + ^: }' ~- z3 V( F; @
  670. ; http://php.net/default-mimetype
    - m* ]) Q6 ~& p6 X. t
  671. default_mimetype = "text/html"; b; C; ~! V+ t) k
  672. 6 k9 o. ?! V4 @+ H; o4 u
  673. ; PHP's default character set is set to UTF-8.
    + u: ?5 V% D$ ~
  674. ; http://php.net/default-charset
    ! c4 M2 m" G* {
  675. default_charset = "UTF-8"
    & M& f( @* v- ?% p0 S$ B, W
  676. 1 }# \2 H3 u+ o" v
  677. ; PHP internal character encoding is set to empty.
    9 Y$ U0 M% q3 s+ F! z
  678. ; If empty, default_charset is used.
    ' l- Z* Y7 t" ^8 j: z
  679. ; http://php.net/internal-encoding
    9 p3 y- W" K5 `% ?+ f; @
  680. ;internal_encoding =! G. N' q- D5 ~

  681. 1 K& }; D6 W. a6 g$ H2 [4 J% z
  682. ; PHP input character encoding is set to empty.4 r% M" m) h, u0 [
  683. ; If empty, default_charset is used.6 b; F4 ~; ?9 ]# ?: X
  684. ; http://php.net/input-encoding: m7 }6 p/ F; `- y
  685. ;input_encoding =# U9 P/ I* K$ S6 F- a! N( f, j
  686. ' F! c" @% O9 Q: C( m& Z
  687. ; PHP output character encoding is set to empty.* x: G* z8 }  p* w/ B
  688. ; If empty, default_charset is used." x9 X5 \- K* @3 V3 Y  F
  689. ; See also output_buffer./ F/ Q! g: }2 S- W
  690. ; http://php.net/output-encoding
    7 H0 P! ]; Y9 e6 x: A$ a
  691. ;output_encoding =' Q! g2 g- Y$ H: l

  692. # e. t1 ?" x3 H5 b9 p0 H
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    * t6 z- n" ~! w2 I, \9 J- ]- _, |
  694. ; Paths and Directories ;
    0 [" G7 w, h) {) q
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    ' o$ A. F2 k: M+ e
  696. 3 Q. b/ x2 J3 K2 t
  697. ; UNIX: "/path1:/path2"" J6 t# W8 [5 b0 Y9 K% G8 z+ C; \0 F9 r
  698. ;include_path = ".:/php/includes"4 w' f/ B' ~/ L. y2 `
  699. ;
    2 Q. C- d; \# o2 b* Y7 T2 |! P$ I1 ~
  700. ; Windows: "\path1;\path2"3 K8 \7 Y# S+ C( p. G/ M- [
  701. ;include_path = ".;c:\php\includes"
    9 O" W- U& ~0 X& y8 |' e
  702. ;
    : T; _6 l& i% c1 \8 \/ ]1 X# i
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"1 d& ]" A9 D( P1 c6 r0 T0 V6 q' [3 |
  704. ; http://php.net/include-path' x+ C- A7 ^  c$ Z( G! R+ p

  705. 3 a# t$ E% c# z7 y6 X: Q
  706. ; The root of the PHP pages, used only if nonempty.
    1 h" m7 h6 `, V; H1 C( F+ `8 y( A6 Y
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    ! i% c) k0 Y: v, C5 p2 L
  708. ; if you are running php as a CGI under any web server (other than IIS)
    4 O! o$ k9 T0 J1 O# y5 ?
  709. ; see documentation for security issues.  The alternate is to use the' c( l5 F+ Z4 a/ {; {
  710. ; cgi.force_redirect configuration below2 A3 o- S( ?0 q7 Q: t2 a
  711. ; http://php.net/doc-root! d2 Z+ e. _$ t6 e
  712. doc_root =
    3 G7 b' G0 q7 O  D
  713. ) `* K% E& Z; O6 m! Q
  714. ; The directory under which PHP opens the script using /~username used only
    6 `) m* I* t" ]$ ]$ H! l: @1 r
  715. ; if nonempty.
    3 M+ Q/ t4 ~5 J% H& O2 N4 L1 r
  716. ; http://php.net/user-dir
    % {# g* l+ ~! |! {" w5 l- U
  717. user_dir =
    7 y8 F# L& F0 g" L/ ]' ?; H

  718. # }% ?8 b/ G7 w, J3 L
  719. ; Directory in which the loadable extensions (modules) reside.! K( ?' q1 O) @  N8 N! M
  720. ; http://php.net/extension-dir
    2 z. K& E. {4 m' j+ x3 ]. r* Z
  721. ; extension_dir = "./"
    5 q$ F$ ~2 z- G+ U3 \$ n
  722. ; On windows:; v% U7 Q+ W+ X3 s; ^
  723. ; extension_dir = "ext"
    0 F5 ]% G0 d! N$ l! p  W* |

  724. ) s, P; C( o. S! m- \+ o+ T: F
  725. ; Directory where the temporary files should be placed.7 z8 K* x3 t# n! ~; @
  726. ; Defaults to the system default (see sys_get_temp_dir)
    8 V! R; C2 I/ b( H7 j* w9 i4 x6 U
  727. ; sys_temp_dir = "/tmp"
    : f- ]; c" X5 I) D5 Q. E
  728. " C, a! x7 b3 o) n+ W/ x1 g
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    + d! Z- A* c3 R4 B0 x3 X
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    9 d. O* o* F( E# e! Y
  731. ; disabled on them.& Q) K1 d9 }% G2 f" y. U
  732. ; http://php.net/enable-dl( s' C! U( [$ @, L6 W1 s
  733. enable_dl = Off% W, L0 A- g& g' E) I* n

  734.   p. ?1 U! ^9 K( G2 i4 ^( V
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    4 u$ V( Z% W6 @) g6 E8 X2 M
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can1 s  \& c# N4 q: K
  737. ; turn it off here AT YOUR OWN RISK2 X+ L: C# J! T' S" ]0 ^' _' \
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    2 {, [9 q; ?0 Q( L5 m: M
  739. ; http://php.net/cgi.force-redirect2 z5 Y, x/ {2 e. @: J3 \
  740. ;cgi.force_redirect = 1( d, w" j! J" w" A9 q
  741. ' H# d: o# N. ~6 }
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with# L6 M: D  H; Z/ r; C' l* }0 i
  743. ; every request. PHP's default behavior is to disable this feature.6 P6 a7 |7 p2 z& B
  744. ;cgi.nph = 18 Q# U1 i4 n$ X: S8 X0 M- I
  745. - E1 B. j4 z( F5 o7 E3 M
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    1 ]) i/ |6 E. x5 v
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP& [# g, c) q7 P0 R# n0 u
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    $ [# C: X# l9 O" e" c1 Y0 N  P/ T
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    * \# ^' r9 P' {& C% F. G
  750. ; http://php.net/cgi.redirect-status-env
    ( H0 [0 f8 H6 V% ]
  751. ;cgi.redirect_status_env =* y( U8 c' n; P

  752. " v: X* ]: T2 T
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    0 p9 \0 u8 X9 v' |. p* }% O% I% {' E
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    ! w* `) r. v' }' Y+ b$ j; \
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    8 O( _. ]. V. G. g/ d3 @9 s
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    - H) Y8 j8 z& `) n9 D4 @
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts( d+ |2 i$ A) p
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.: C3 H0 W" F& ]+ k3 X7 p4 `; z! ^
  759. ; http://php.net/cgi.fix-pathinfo3 {; X$ f3 t& p3 g! |1 O
  760. cgi.fix_pathinfo=1/ o2 V+ q" _& _5 Y& o4 [. c
  761. & l$ @2 i  c) Z  e1 K9 q! X' {$ T
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside$ F# S2 M  `7 Z- i! ]) [; a  I
  763. ; of the web tree and people will not be able to circumvent .htaccess security.4 V. }8 y0 o) v; c( r* _+ A  |
  764. ; http://php.net/cgi.dicard-path
    & p) a; R3 ^( _" m
  765. ;cgi.discard_path=1
    9 R4 e7 w7 R: F

  766. 9 @9 i) T. i: x+ M( {2 f% p8 }8 W
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    + T, D3 N# J$ H3 ~2 C* G, W
  768. ; security tokens of the calling client.  This allows IIS to define the
    8 R1 [6 a& ?" Q* }
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    2 r" g8 M0 G0 K0 o/ s
  770. ; does not currently support this feature (03/17/2002)+ K4 f% g( H5 w  W2 v
  771. ; Set to 1 if running under IIS.  Default is zero.- l6 q0 a6 `# A' _6 ]" A5 e2 O/ q
  772. ; http://php.net/fastcgi.impersonate
    6 }2 f% {* D( p
  773. ;fastcgi.impersonate = 10 |& x& Z: z! T! I  V2 O5 @

  774. 3 {1 ~4 Q$ \: S0 M* }
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable: R" [1 L* x5 O
  776. ; this feature.
    1 d4 t' v6 u" O
  777. ;fastcgi.logging = 0
    + F) H0 f# o  V& ]
  778. $ J2 e9 T0 k+ {* w" T6 G  |
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to& e4 g: P4 ~) X1 M; M& [
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that# S  [- i( Y8 l3 b
  781. ; is supported by Apache. When this option is set to 1, PHP will send- ~7 K- M8 L( s% k( p6 T
  782. ; RFC2616 compliant header.
    ! o( }: K1 S4 {7 a8 L- p
  783. ; Default is zero.( J0 A$ \  O: y( d6 i
  784. ; http://php.net/cgi.rfc2616-headers! S2 V) O5 w6 C4 o  O
  785. ;cgi.rfc2616_headers = 0
    6 ?/ t8 V% `" G' X5 d5 K5 m- q) `
  786. - R- f+ ]; C( v3 _/ Y* k2 J
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    # h6 e0 T# D6 X) g" Y
  788. ; (shebang) at the top of the running script. This line might be needed if the( c5 K; p4 E9 X- T, _/ {/ s& \4 g
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI1 ?6 Z* Y$ e4 h) c
  790. ; mode skips this line and ignores its content if this directive is turned on.4 N: b2 G3 l7 e% e
  791. ; http://php.net/cgi.check-shebang-line  t, U3 ], V! w* |- j
  792. ;cgi.check_shebang_line=1
    0 X8 Z- K7 A/ ?3 [% s

  793. * z! V1 a& a2 D: B# z: g- p" v
  794. ;;;;;;;;;;;;;;;;8 B+ ~1 ?' v8 I2 P. |7 x
  795. ; File Uploads ;5 b1 a0 Q4 y; s& g* K
  796. ;;;;;;;;;;;;;;;;7 s. u" D1 d1 t; ]

  797. % ?. G, G+ o# l/ R6 I' z5 `
  798. ; Whether to allow HTTP file uploads.
    - L0 _& I' G. c3 L# h
  799. ; http://php.net/file-uploads" Q7 Y& ?6 ^$ S  _
  800. file_uploads = On5 T" R6 I% Q2 U  [2 n7 _
  801. 7 ^$ A5 B, \  L1 Y3 A1 h/ T
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    1 z* b, ~9 I/ P9 x4 e% w
  803. ; specified).6 m6 p4 e1 n9 B
  804. ; http://php.net/upload-tmp-dir; L2 r5 _$ Q3 |5 F6 r' Y
  805. ;upload_tmp_dir =2 i; {" E3 T# e4 N% w2 q: L+ G
  806. - e+ W+ o  k0 |9 I6 C; I
  807. ; Maximum allowed size for uploaded files.
    ! O# M* L0 V( L
  808. ; http://php.net/upload-max-filesize
    , @/ I* f5 w' v  S1 S9 H
  809. upload_max_filesize = 50M
    $ ~6 ~& K; o! o* p
  810. , |; t  C- X9 e: c0 M/ J8 e6 ]
  811. ; Maximum number of files that can be uploaded via a single request
    3 q/ V; W7 ]5 T
  812. max_file_uploads = 20" C4 [  x- K# t; c# v) e2 \

  813. ) G) a; V! U; r3 b( r, I) b
  814. ;;;;;;;;;;;;;;;;;;
    1 ~( k! B) G" d+ ^; g
  815. ; Fopen wrappers ;
    . g. n2 n% r$ H/ [) _  i
  816. ;;;;;;;;;;;;;;;;;;& p; E  M' C, X) M

  817. " z, j6 s, F& P  A4 @
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.  ^7 n) i% @% r8 T+ _
  819. ; http://php.net/allow-url-fopen
    5 T: v# T" r7 C' J/ `" b
  820. allow_url_fopen = On) k5 h8 D  e6 K& |4 v- O% X

  821. + G" A  u2 p: H- i+ {& ]9 u; O6 {# E  _
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.& d: \$ e- P& T+ B
  823. ; http://php.net/allow-url-include2 T4 A5 k- A7 J: r
  824. allow_url_include = Off( g! m8 N( M) H# j( I( s! r  w

  825. 7 d; G- r5 c- }) X) S, {9 D. M) u9 g
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    * R( q; ?( s4 c6 F* f
  827. ; for this is empty.0 \6 @; u+ |; P4 M
  828. ; http://php.net/from- L* _6 k( d: @. v) w& f/ N4 I6 `8 h
  829. ;from="john@doe.com"9 z0 X5 L. n3 A% A6 E
  830. ! R! A" ^  y; S+ I6 Y
  831. ; Define the User-Agent string. PHP's default setting for this is empty.+ ?* F8 C2 W5 e% ~4 J4 P! ]  E
  832. ; http://php.net/user-agent
    6 Q1 Y( Q- Q' ]( p5 I6 T% O3 l9 Q( \
  833. ;user_agent="PHP"" `! ]' _$ Z" a7 t& V' U
  834. & e4 L! s6 ]8 a1 t: V: I
  835. ; Default timeout for socket based streams (seconds)
    ! P8 R4 I8 a* I" M% J
  836. ; http://php.net/default-socket-timeout$ j, N8 V; R8 S" n3 ?2 }
  837. default_socket_timeout = 60
    & V* ?9 {1 Z9 P2 W
  838. 3 c- {, m; J# L# K5 V
  839. ; If your scripts have to deal with files from Macintosh systems,
    ( e$ s" H: ?. b% d# S8 H& @0 Z* J
  840. ; or you are running on a Mac and need to deal with files from4 _3 X/ ~1 R0 T9 w  g
  841. ; unix or win32 systems, setting this flag will cause PHP to7 n8 M3 q1 c5 q, G
  842. ; automatically detect the EOL character in those files so that. ~( x0 Z% q4 J" h% G: \
  843. ; fgets() and file() will work regardless of the source of the file.8 i/ E0 M( ]4 l7 z8 A
  844. ; http://php.net/auto-detect-line-endings9 X2 H* E( r$ H& u4 ]
  845. ;auto_detect_line_endings = Off
    5 @- Z0 I8 }/ \

  846. ) s0 j) U) S' z3 g/ {6 Y  R. h
  847. ;;;;;;;;;;;;;;;;;;;;;;
    6 u2 o0 Y; ~. |+ ], n8 ~; _! q& S" d. W  W
  848. ; Dynamic Extensions ;  e+ ]+ W/ O: K& F& V9 I
  849. ;;;;;;;;;;;;;;;;;;;;;;
    " E/ Q, K& Y% F: e8 ]
  850. ) h% O  ]8 n3 u& b* \, P
  851. ; If you wish to have an extension loaded automatically, use the following
    / d! R5 W& I; R* {0 d
  852. ; syntax:1 j- ~( i( A* a* H; Q; Y/ x- _
  853. ;
    . ~, {4 H9 b5 n7 O7 t/ v
  854. ;   extension=modulename.extension0 L: ^, U! ?+ P8 U& c  T
  855. ;( y: c  _! R, P% {' y4 P
  856. ; For example, on Windows:
    5 }1 e% f/ m( I2 R
  857. ;
    ) b( D7 p% {& Q1 [  L! O
  858. ;   extension=msql.dll: k; o% T( ~' }+ v
  859. ;
    : `/ P5 u" b" ^8 E' g! m  X
  860. ; ... or under UNIX:. Z) q/ a4 @6 k; F0 K: w9 ]
  861. ;$ F! b0 |8 E1 f+ X* t" w
  862. ;   extension=msql.so# K8 a! j* g5 \$ ~
  863. ;! s+ a+ y( Q5 g: v3 S
  864. ; ... or with a path:7 t5 p1 h# d( D7 H: \. Q1 R1 L
  865. ;1 T9 v  v" q/ T7 R
  866. ;   extension=/path/to/extension/msql.so, I0 V0 c2 M3 O
  867. ;
    # f/ |0 r: N3 H
  868. ; If you only provide the name of the extension, PHP will look for it in its  q- ^3 w, }) |' y
  869. ; default extension directory.. W6 j- U  z6 Z
  870. ;6 C, g5 t; Z0 R) |/ P# s. Q. U2 D
  871. ; Windows Extensions
    # q* i8 f  w, q+ @, t; U
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    / p5 N) ]7 U+ |# X& P
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    8 ?/ L2 Y$ {0 [1 o' C- h8 h. x, C
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    ( Q, }8 I- d0 \8 n8 M9 Z
  875. ; Be sure to appropriately set the extension_dir directive.; B) c+ D  T2 T: F$ L( t; b
  876. ;
    + x6 \2 S4 Q' z' e4 c) X
  877. ;extension=php_bz2.dll
    3 K) `( Q/ V/ {0 J, U
  878. ;extension=php_curl.dll
    / d+ ~' S  I. t9 g8 p1 m; R) H, K
  879. ;extension=php_fileinfo.dll1 X# h7 b' N- b
  880. ;extension=php_ftp.dll
    ; u- \8 S8 g  h/ o
  881. ;extension=php_gd2.dll
      P- C9 x) V, C4 S4 q
  882. ;extension=php_gettext.dll
    # Z. G* f% _( U! C
  883. ;extension=php_gmp.dll
    & g3 W$ B0 C# A4 i$ M
  884. ;extension=php_intl.dll
      I5 R0 [. R& y5 ^# ^0 F$ r; r' x
  885. ;extension=php_imap.dll
    & V5 p" Q* H2 x( M
  886. ;extension=php_interbase.dll. E1 }/ @2 y  e( M. c( ]' `0 Y
  887. ;extension=php_ldap.dll
    7 h1 \7 |  y, z' g- w
  888. ;extension=php_mbstring.dll
    2 t, ^2 h, u: c
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it5 d, U8 ]% C! C  j1 S
  890. ;extension=php_mysqli.dll. ?. T' \% Z, e$ |$ W8 O
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client0 a! O. O- F$ y/ W" p; |; U
  892. ;extension=php_openssl.dll& E9 x/ M. k( t" ^1 ?, [
  893. ;extension=php_pdo_firebird.dll4 w* i3 [2 U7 t9 R9 |+ @  S
  894. ;extension=php_pdo_mysql.dll4 q4 G- f+ |3 m
  895. ;extension=php_pdo_oci.dll7 i+ ]. M1 t  I' I9 [. T* s
  896. ;extension=php_pdo_odbc.dll
    / C- o- O* _! ^5 U3 w9 ~; J
  897. ;extension=php_pdo_pgsql.dll& v  b4 c7 q  ?
  898. ;extension=php_pdo_sqlite.dll* M$ ~6 k( f) y3 `5 P9 J
  899. ;extension=php_pgsql.dll7 l7 s/ x  K0 _, K
  900. ;extension=php_shmop.dll
    9 U# C, ]. v3 I3 W7 W
  901. # I1 h1 F+ A$ E. A5 ?: J
  902. ; The MIBS data available in the PHP distribution must be installed., @! o. G! D  d2 Z. b) B
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    # i7 {# y/ V# p. Y
  904. ;extension=php_snmp.dll
    . `, i$ H  f+ A
  905. 0 Z' R" Y5 d! X+ y
  906. ;extension=php_soap.dll+ X$ u  \1 p. ]$ Y' Q1 c
  907. ;extension=php_sockets.dll
    0 ]6 {: ^) H( [0 _) Z/ X
  908. ;extension=php_sqlite3.dll0 K1 [; w: S' ]" Z1 e
  909. ;extension=php_tidy.dll; i7 r0 F6 p' H9 N( Z, p
  910. ;extension=php_xmlrpc.dll
    , U$ w# M; K$ _* a) b) z$ n$ L
  911. ;extension=php_xsl.dll, m( L3 D. X, y0 o" {; _' T

  912. 6 J% k/ N9 h. I7 ]
  913. ;;;;;;;;;;;;;;;;;;;/ s0 K. I5 L& k* H' z$ O) N% a
  914. ; Module Settings ;4 K2 D, t0 w6 x7 e2 t5 J! H0 V3 h, a
  915. ;;;;;;;;;;;;;;;;;;;) i4 t4 C$ y2 @8 X! S' y# J
  916. 7 U9 Q8 J) k  {" G+ K
  917. [CLI Server]
    3 S) E! R7 j! k% J; J
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.  S7 m8 A2 I0 s! ?+ v. k& ~8 B
  919. cli_server.color = On
    + h- a7 ^' L( z  H" k4 S6 n
  920. - S4 r1 |' E$ @: i. z* c! B& ~% y9 i
  921. [Date]
    ! a5 o. k; K9 E+ p: h7 V! T
  922. ; Defines the default timezone used by the date functions5 `3 b+ ?2 d& H1 c5 L
  923. ; http://php.net/date.timezone
    6 q& c* E* [0 H+ @: N6 E& {5 C
  924. date.timezone = PRC
    * z5 a& L7 z- u& ^5 x
  925. 6 R" b: T& u/ V# ^. \( K
  926. ; http://php.net/date.default-latitude
    1 U" R& {" B/ _  q" k6 |$ Z- G/ X
  927. ;date.default_latitude = 31.7667/ F$ b. c+ n  ^1 T  G" B0 c4 c+ r, |

  928. ) s( ^6 J! |8 o) ~, I$ a, u# D7 Q. P
  929. ; http://php.net/date.default-longitude
    ! k  \$ ?2 x/ k2 ~5 A3 P
  930. ;date.default_longitude = 35.2333
    1 V& O+ ?2 j# ]; \7 q8 ]  r
  931.   i- r4 ]% @! G4 P' j: @% S
  932. ; http://php.net/date.sunrise-zenith7 M- Z/ N) `! {
  933. ;date.sunrise_zenith = 90.583333' D$ a- ~% c6 I
  934. 7 S9 C& Q6 x+ m: E6 {; X; L
  935. ; http://php.net/date.sunset-zenith
    4 C3 A2 C. b$ h! [$ n, D- \8 p
  936. ;date.sunset_zenith = 90.583333
    2 U6 Z8 l, G- e4 e$ x$ Q; ~
  937. 7 h- [6 N$ y6 |; a8 d3 a9 z6 k
  938. [filter]) f5 \2 m7 d% ?/ w: I
  939. ; http://php.net/filter.default9 J6 L0 C0 F# T' A. R, p6 ]
  940. ;filter.default = unsafe_raw! Y, x$ g3 t  u, E" e1 X

  941. 5 H0 s5 i( I) c) ~  d
  942. ; http://php.net/filter.default-flags/ W& j4 u' A, {) O
  943. ;filter.default_flags =
    , m4 R/ b4 X/ L, z! i+ g% R8 V" v4 k

  944. 5 v' u) ^+ w' q& D) i
  945. [iconv]; [! k% l  `6 F! z& w
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    1 F! g. A7 W! a' `! J9 ^$ V# ?% F/ `
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    9 a- r* I# w* K1 m( k6 s1 l  ~
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding- c: m0 z! f6 _( p6 f& `
  949. ;iconv.input_encoding =
    & D' q  r% Q& f+ L
  950. ' t) D$ S+ r% Z" T- ?. I
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.% H4 r6 s% D2 `9 P5 X( R
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.1 D5 r0 v3 }7 c
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding/ z2 D' |7 r4 v9 b
  954. ;iconv.internal_encoding =
    , r7 c4 N/ K8 b/ J0 x
  955. . X/ ]7 H& d& n- Q* [/ m
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    - ^) V& w# _0 T0 A" J$ Y3 z
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    ( h% p+ z6 j1 ~' o1 T8 Z2 m. I
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    5 r+ F! D, f) S( Q% l3 ]2 t' w
  959. ; To use an output encoding conversion, iconv's output handler must be set
    : b- r# r7 ~6 Y6 v# ~$ ?4 t3 {5 z
  960. ; otherwise output encoding conversion cannot be performed.
    7 Z% j5 x+ }: A
  961. ;iconv.output_encoding =; g/ {- U& O- Y; Q

  962. ; n! T0 Z, j' @' C
  963. [intl]
    8 w& x  Q- \5 F7 ~6 F! p7 s; S- J2 e
  964. ;intl.default_locale =5 T# c( V8 Q4 D8 C5 }
  965. ; This directive allows you to produce PHP errors when some error1 a# S* r6 G" U6 S  @8 E
  966. ; happens within intl functions. The value is the level of the error produced.
    " F8 d$ t1 z4 _9 y2 E; I2 S; b  t. n- g
  967. ; Default is 0, which does not produce any errors.# I, r6 R& ]2 a
  968. ;intl.error_level = E_WARNING
      F9 S% I: U+ v; h
  969. ;intl.use_exceptions = 0, S' z& a( y' m" m4 A
  970. 6 ~9 H( b, ~0 }2 S# W4 M
  971. [sqlite3]; j; n3 o* Z2 n. k1 }
  972. ;sqlite3.extension_dir =
    9 L6 ^+ S3 a* m  U  m& u- V

  973. % l5 {  H8 V, U( A3 H  P
  974. [Pcre]
    1 w; U3 I3 D; }6 r# ~8 m8 ^
  975. ;PCRE library backtracking limit.1 x/ k. t% X4 _+ n( l9 g# T1 R
  976. ; http://php.net/pcre.backtrack-limit6 o! w, C% @" n5 A7 z
  977. ;pcre.backtrack_limit=100000
    0 p0 T8 q( v1 J0 {
  978. ' z9 K' D+ j% T" X5 R0 p* w, u! a
  979. ;PCRE library recursion limit., J! k0 x( ?. K0 t
  980. ;Please note that if you set this value to a high number you may consume all* U8 R! Y0 R" ?2 i5 _+ @1 s6 L8 l
  981. ;the available process stack and eventually crash PHP (due to reaching the4 I5 f& A( @, T# n& v$ h1 k  v
  982. ;stack size limit imposed by the Operating System)./ P% K/ o4 ]% p9 E
  983. ; http://php.net/pcre.recursion-limit
    " H1 \$ L! J5 d# i) _$ W
  984. ;pcre.recursion_limit=100000
    + g0 k" g& o1 Q

  985. ) b" }9 K* E9 f% J: t8 W0 m
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    8 f% |1 {. S+ K0 [8 C+ P, z# h
  987. ;library to be compiled with JIT support.
    - |, t, @5 [; ~
  988. ;pcre.jit=1
    # Q2 M0 g: ^5 d4 {- m% b
  989. 1 @- B; A! d/ d& A! J! c- s
  990. [Pdo]* {1 {, _: e. p& S
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off". }2 U6 ~) \2 C
  992. ; http://php.net/pdo-odbc.connection-pooling
    % r: P, G2 n+ Q, |
  993. ;pdo_odbc.connection_pooling=strict6 ^; M8 l) o2 P- I% g

  994. & N/ F# a6 ?- e+ h2 \7 @8 M; R
  995. ;pdo_odbc.db2_instance_name8 R6 p, Z1 J* f% G

  996. ( H) w% e, ?8 w9 f
  997. [Pdo_mysql]' I  z4 w: {0 A3 b& F. Y) s
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    & D- d) f- K% h6 y
  999. ; http://php.net/pdo_mysql.cache_size0 d" c' |# [7 q% N2 i2 t
  1000. pdo_mysql.cache_size = 20005 C# J2 ~' r5 R( R

  1001. 5 }! X; r( o0 s! n
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ( \* l- ]6 Y+ x
  1003. ; MySQL defaults.! q. J& N5 d7 w- n
  1004. ; http://php.net/pdo_mysql.default-socket/ f" E  e$ q$ Q: F" h6 {4 F7 ?* G
  1005. pdo_mysql.default_socket=
    3 b& |" Z) T9 f
  1006. 4 A! a$ T! v! C1 J* b
  1007. [Phar]% ]& I$ L, b. N2 c! Z
  1008. ; http://php.net/phar.readonly0 o6 i3 `8 M  L/ ?* f
  1009. ;phar.readonly = On" N7 P8 s, D: {1 i0 l. U( X

  1010. ' V  j% d8 ^! j: n+ [6 L& D  [
  1011. ; http://php.net/phar.require-hash4 v9 r) e) V6 X: [
  1012. ;phar.require_hash = On
    " C7 d8 r' h. N& q. @

  1013. : G) U) u/ j% J4 |9 Z; a  F
  1014. ;phar.cache_list =! A8 g0 w( v2 R* _
  1015. ( }3 |2 E6 W0 S, o
  1016. [mail function]# W, i3 c$ o4 D4 j# o" s# y
  1017. ; For Win32 only.
    / `/ P1 j0 Z% d( p& k% ~& }
  1018. ; http://php.net/smtp: I  X; \  S+ j# \$ {9 j; U' a0 Y6 Z
  1019. SMTP = localhost
    7 F; C9 R. r0 ^5 A
  1020. ; http://php.net/smtp-port
    0 V# q$ ?0 p0 d) f5 X5 x& t
  1021. smtp_port = 257 d) }, u' _8 K/ F3 @
  1022. + a4 Q+ H/ p& Z8 j; ^
  1023. ; For Win32 only.8 P2 {5 c/ X: ?( U3 y0 C
  1024. ; http://php.net/sendmail-from( r. X& e: P1 _! N
  1025. ;sendmail_from = me@example.com. d5 }" |) b: O! d' F1 `$ x" G5 d

  1026. * U2 r0 H& R+ _; t5 Q! G9 C( S% k
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").- |7 g' R/ H$ [# D
  1028. ; http://php.net/sendmail-path5 K' e  j' x' ?% }3 S5 \
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    2 M) ]/ W. h2 ^$ v$ B8 V! P

  1030. ) L( V1 h8 z( d/ E- Q
  1031. ; Force the addition of the specified parameters to be passed as extra parameters# c) D( k, r% G2 C
  1032. ; to the sendmail binary. These parameters will always replace the value of( t5 L# X2 e6 J( U" ]& k/ y' Q
  1033. ; the 5th parameter to mail().6 C) H; U, J1 y
  1034. ;mail.force_extra_parameters =
    1 p9 R+ a7 ^1 e  Y3 i; d
  1035. 0 n! Q$ j0 Z' Q, D5 i6 o3 F* D  u" L
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename( L5 Y# Y( X" S! z: ~5 F% v
  1037. mail.add_x_header = On% h" P# E! {- L4 S. P7 g

  1038. ( a! c) \. [9 V$ u0 ^
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    & }# `7 A5 B7 n" E* f. g$ q
  1040. ; the full path of the script, line number, To address and headers.
    . i8 _. P, |- s* f' A4 Z" C- Q- p
  1041. ;mail.log =* N( I! G+ m/ Q; p8 [" H5 i. k
  1042. ; Log mail to syslog (Event Log on Windows).
    2 K2 z/ d2 G/ C7 d1 N
  1043. ;mail.log = syslog
    1 }( j. X# E3 l5 |! W9 q  i9 i
  1044. 3 h4 n  o; R3 j/ m6 I5 b* x1 ^
  1045. [SQL]  l! ^5 M) T4 j1 p2 {* o
  1046. ; http://php.net/sql.safe-mode
    + r1 j6 h0 D, x$ |* ?- k
  1047. sql.safe_mode = Off
    4 r( n6 e) S5 S6 r; c- P1 ?, T

  1048. 7 R  V* U% f, y
  1049. [ODBC]
    % u# V% F% s0 M( w  P$ x
  1050. ; http://php.net/odbc.default-db
      i% V" B9 t! }* D
  1051. ;odbc.default_db    =  Not yet implemented7 l( {, ^& V0 _+ W. z
  1052. 3 e! r; k6 ~  B2 M: m  ~
  1053. ; http://php.net/odbc.default-user) ~) ^7 c% y0 M% r$ R$ I5 y
  1054. ;odbc.default_user  =  Not yet implemented
    - k, l$ ~& @" k  v8 j7 K5 V# O

  1055. ' b* N9 [5 `3 _5 v$ T8 O
  1056. ; http://php.net/odbc.default-pw, r. _' [9 i% ]/ l' G& j
  1057. ;odbc.default_pw    =  Not yet implemented' U' G) N; _2 I) H
  1058. 5 F* I7 j7 Z, v, ~  }
  1059. ; Controls the ODBC cursor model.4 j5 F" z1 F" G( D7 L+ m4 h& z! _
  1060. ; Default: SQL_CURSOR_STATIC (default).
    8 [: u+ ^) \' B/ N% f6 v) M: o
  1061. ;odbc.default_cursortype
    2 s- ]- R9 w  ], q( @2 e; c
  1062. $ r* g: |9 v+ [9 i/ m  Y5 \
  1063. ; Allow or prevent persistent links.8 \: |, i- l5 a' B' W6 f) |
  1064. ; http://php.net/odbc.allow-persistent6 t. z! I& K# Q) E3 P/ Y
  1065. odbc.allow_persistent = On6 G  W* R, [# F% _0 K, e  n( m
  1066. ) _' D/ ?; G- A. p8 [7 A1 n  A
  1067. ; Check that a connection is still valid before reuse.! @1 y: i& K: E
  1068. ; http://php.net/odbc.check-persistent% y5 `( r6 A; t, D% z9 a! a
  1069. odbc.check_persistent = On
    * l1 n! b* n0 V: T

  1070. # E- G) p, [; n, ?2 ^7 M* O
  1071. ; Maximum number of persistent links.  -1 means no limit.
    4 Q% d9 d2 O. ]% [  L' v* L( v
  1072. ; http://php.net/odbc.max-persistent
    ; I* [  H0 q  j1 S
  1073. odbc.max_persistent = -1/ l) U6 h1 `) `' c

  1074. 0 M; B. L; e, b7 Q% j, B. N8 I, Y0 {
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.: s9 E; y& F- r# o1 t. V
  1076. ; http://php.net/odbc.max-links
    $ N1 k8 `# K' h" P& H. L( t
  1077. odbc.max_links = -10 u# D/ Y7 |  _9 m' [* l$ ~
  1078. + f# B! g! X, C5 }
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means% P' z1 L4 e1 {& L/ O( d1 R
  1080. ; passthru.  N  k( u2 T6 `% c
  1081. ; http://php.net/odbc.defaultlrl% A  C( B/ j! F+ H# m
  1082. odbc.defaultlrl = 4096
    8 T: ]$ B0 }# a% L8 V! }0 c

  1083. 3 b8 ?' a. d2 h# n& x" q
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    2 M1 n* `7 T3 o$ g
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation4 s* J! Y- V* f- P  M
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode: g3 B, g' }( E3 Q  G
  1087. ; http://php.net/odbc.defaultbinmode
    # V% T# G3 ], q; M
  1088. odbc.defaultbinmode = 1
    / @3 w$ O0 }5 b$ j  S
  1089. & l) H* A. v7 }( k
  1090. ;birdstep.max_links = -1& |8 n6 @8 F. U( a$ `& ^
  1091. . k5 P: e  P2 N- F
  1092. [Interbase]/ W" H9 ]+ e1 e  P9 O3 s
  1093. ; Allow or prevent persistent links." V4 }3 Q3 `0 V( |! K
  1094. ibase.allow_persistent = 1% t0 S) b) l4 m$ I& q
  1095. ( L" a0 ]; `6 O* L- ^5 F6 Y
  1096. ; Maximum number of persistent links.  -1 means no limit.& ^. T2 Q& Y0 Y* F
  1097. ibase.max_persistent = -1
    9 h1 Z/ R. x; N& l) F8 u+ b

  1098. 8 e$ p, i" X1 A7 u+ t, Y
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    7 Z4 _2 Y+ w9 A2 \1 C0 [
  1100. ibase.max_links = -1
    , A, @, S# [, _$ p/ B
  1101. 9 K2 Y3 j7 Q+ d8 K; [1 }- C
  1102. ; Default database name for ibase_connect().1 U7 E! o, V$ R- Z# |
  1103. ;ibase.default_db =" v9 z. h$ ]( K  v: |9 r% g

  1104. # m) c9 J* o0 V5 V# ^3 b2 G
  1105. ; Default username for ibase_connect().2 i4 n" T$ I7 a' \# ~
  1106. ;ibase.default_user =
    4 b  J6 _) C2 q7 N- R2 ^# y6 z
  1107. ( ?9 p3 x) S% J- M- A2 a- y8 H
  1108. ; Default password for ibase_connect()., ~& X  n" ~, [% o) {
  1109. ;ibase.default_password =
    * Z' {1 U1 f! E( s! x/ f# L
  1110. % H# ?; S( Q5 v  F
  1111. ; Default charset for ibase_connect().
    ; `  T2 \* ]* \7 N% x5 S& f& p
  1112. ;ibase.default_charset =, O& g8 e0 S; ?" K* W% b% f2 i

  1113. 8 x* E& b& ?4 p) [6 g2 M( o
  1114. ; Default timestamp format.; J9 }8 |. I+ Q% i/ I
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    % u7 \6 a/ _/ c8 ~% b- Q* u- I

  1116. ! @3 V# q8 F7 m0 L. M
  1117. ; Default date format.9 q7 U1 S8 N( u; n# x
  1118. ibase.dateformat = "%Y-%m-%d"# J9 d) n; y+ l, j% F
  1119. 3 d  ^# o$ }) f- `
  1120. ; Default time format.
    & J- p. \$ S, H5 G/ g
  1121. ibase.timeformat = "%H:%M:%S"5 i7 P" N; H' g. R9 Y1 ~, l
  1122. % w3 z4 G8 O/ Y, a/ R
  1123. [MySQLi]0 X+ M& H6 Y6 z: {8 N) u5 {
  1124. ; ?6 A% x. x0 ^
  1125. ; Maximum number of persistent links.  -1 means no limit.4 f, d8 g) ]! M) D8 w+ C& _
  1126. ; http://php.net/mysqli.max-persistent
    / q2 Y3 E6 F6 U( y/ z
  1127. mysqli.max_persistent = -14 s& o0 N3 c  b( i- v2 w
  1128. 7 {* H6 a! l- N
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements) U7 I) [' y, S, P( A
  1130. ; http://php.net/mysqli.allow_local_infile2 J/ i8 m' t+ [/ _
  1131. ;mysqli.allow_local_infile = On6 j" ^2 g/ X0 O9 [2 E

  1132. # {; e- O4 R# C
  1133. ; Allow or prevent persistent links.8 W+ A& G9 v# W8 T5 z
  1134. ; http://php.net/mysqli.allow-persistent& P$ M' y9 _- \$ \
  1135. mysqli.allow_persistent = On+ V( p0 O+ y" a5 ?% I. ]

  1136.   R) q: J, b* S; w/ \/ {5 {
  1137. ; Maximum number of links.  -1 means no limit.
    ) f7 X) D2 H; h8 M
  1138. ; http://php.net/mysqli.max-links
    : D$ e# |0 V2 K, i
  1139. mysqli.max_links = -1: o0 c& B4 F; N) g4 }5 Y! l" d6 v

  1140. ) h, b, M/ Y0 o: U* u6 l
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    0 o( ?# y" i! r- X
  1142. ; http://php.net/mysqli.cache_size
    5 l1 S( x: e3 _( ]. L% Z
  1143. mysqli.cache_size = 2000
    9 z9 j+ U/ c2 K5 P* J# E$ z" W. W& I
  1144. , G$ c+ u. t, L" x& X8 @9 T
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    & b9 J! O2 E; t- S8 {  }
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the4 @* G4 v) j( j! N% r
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    0 _3 L2 C$ s  \  v
  1148. ; at MYSQL_PORT.+ {% c  T3 |! B/ I
  1149. ; http://php.net/mysqli.default-port/ [) O6 y4 E. ~1 b; h' C. @
  1150. mysqli.default_port = 3306
    ; n& @0 F# D" o/ o
  1151. " h  c& @# Y# L! M9 ~( [
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    9 y; T! W! i& T* |4 E: i: E. e5 N9 d
  1153. ; MySQL defaults.' t3 |6 L& W/ \4 @8 F
  1154. ; http://php.net/mysqli.default-socket
    ( f5 k: j3 C% z6 m' U3 S! q
  1155. mysqli.default_socket =
    ; A: k+ i" ~$ T! x
  1156. 3 l; f" \! r+ r, G9 x
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).+ x- {6 O! \* U- E" q( X3 @5 E
  1158. ; http://php.net/mysqli.default-host
    ( Y$ w6 s7 ]. R7 [! R8 X
  1159. mysqli.default_host =
    4 a& b% q; k! m- u! ]; h$ P
  1160. # K4 e2 _. l. ]3 y$ N2 K
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    9 d- l& W4 S* O
  1162. ; http://php.net/mysqli.default-user" g: O) n. f& Z: J: n
  1163. mysqli.default_user =; }3 W: U3 ^7 s! I# a  a$ S

  1164. * X( R+ B5 b5 U% q
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    0 ?& I0 X& y0 f4 J0 Z: N$ a* P1 m
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.+ V) c# q2 c3 y  b( B; y& ^* Z; p
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    4 N! {4 B! p9 [5 ^( K/ k
  1168. ; and reveal this password!  And of course, any users with read access to this% F! o  O7 I+ X/ ~/ f! D
  1169. ; file will be able to reveal the password as well.
    ! \( e6 T" d* T9 b- L, G! r
  1170. ; http://php.net/mysqli.default-pw( b- o; b  I& q
  1171. mysqli.default_pw =- t+ P# i1 q' m! j* [
  1172. 2 q9 u# G+ j! D2 \) s
  1173. ; Allow or prevent reconnect( p6 p4 q+ q) k$ D% T4 b5 P
  1174. mysqli.reconnect = Off" s! a) L, R- K# V0 i9 N

  1175. 5 K  T" y% y" `
  1176. [mysqlnd]7 @: m( _! y$ O) \
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be8 H8 E7 v3 [4 r3 y. w
  1178. ; used to tune and monitor MySQL operations.9 u1 f1 e; M# u2 R
  1179. ; http://php.net/mysqlnd.collect_statistics0 ]% C5 I$ {8 B  b( q
  1180. mysqlnd.collect_statistics = On
    4 F0 L' k1 Z9 e; J0 G
  1181. . d) F4 W0 o3 ]8 ^0 G& [: ^
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    * D) g' J9 C3 ^, D% l9 e
  1183. ; used to tune and monitor MySQL operations.7 d: R% u* O& k( A2 I
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    & x- y" s3 }8 s0 G
  1185. mysqlnd.collect_memory_statistics = Off& t* A* {) G+ M. V7 ^: d6 h

  1186. ) W( |+ @2 N, E1 A) {
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    & ~) O5 |/ X  w  Z
  1188. ; file.6 T5 D: L$ C" m5 }: D+ D
  1189. ; http://php.net/mysqlnd.debug
    ; }0 \% p  f' L5 y0 ]* T- p. n
  1190. ;mysqlnd.debug =
    ( y5 i5 S0 M$ H! f! ^2 u$ ?

  1191. + D7 x* \$ D* F& e* f* H0 E# K
  1192. ; Defines which queries will be logged.
    ; T6 r$ x& m. x7 F* d6 B
  1193. ; http://php.net/mysqlnd.log_mask
    ! R/ g/ l- D1 M* o& U8 T
  1194. ;mysqlnd.log_mask = 0- K3 s% B, H' P& `0 b) C$ K) a' J

  1195. 2 Z8 r- r+ c9 W7 m7 \
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    ( ~" h) H1 z$ p9 R8 S
  1197. ; http://php.net/mysqlnd.mempool_default_size
    8 i# v: q1 B7 {6 C4 o  |, }1 j5 E( X
  1198. ;mysqlnd.mempool_default_size = 16000
    2 E, q5 q% G* y; p

  1199. 8 \, o  u+ [: }1 P2 W
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    , J& k  Y9 d; @6 _( n  C
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    & X* t$ ?3 _: F) x
  1202. ;mysqlnd.net_cmd_buffer_size = 20480 P. T5 i0 W/ R0 o6 G

  1203. 4 T9 D2 l* W# b7 h5 ]& b
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    $ w( ]+ r+ n; @$ j) p. K
  1205. ; bytes.  T9 o! h% [( S! |) c) C
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    * X9 u- U: I: O
  1207. ;mysqlnd.net_read_buffer_size = 327689 E4 T, `! E* M$ j1 ?

  1208.   D: k  z+ S$ c# B
  1209. ; Timeout for network requests in seconds.! h4 H  j: h' M# V
  1210. ; http://php.net/mysqlnd.net_read_timeout* S/ A, V6 _' T! n+ Q3 w; _! u4 G, h
  1211. ;mysqlnd.net_read_timeout = 31536000
    % N$ d5 ]4 z% P  s$ Y) O

  1212. 5 r  s, }! j& {( ]4 ^
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA3 H) L$ [4 M, m/ J# j
  1214. ; key.
    8 ?) Z) a; Q1 N
  1215. ; http://php.net/mysqlnd.sha256_server_public_key. @: t1 G  |* r7 G4 @9 v* X- D# K
  1216. ;mysqlnd.sha256_server_public_key =( t' Q) v' I- F% x! f$ y6 d, ^$ Q

  1217. / V/ d) W* r& ?( k! c. G
  1218. [OCI8]
    : Z5 M  k5 M$ G/ t
  1219. 7 C, j$ x3 T7 N. ~/ D6 i, P7 N
  1220. ; Connection: Enables privileged connections using external) X/ ~* U% p8 B! ~0 Q
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)! {. ~% y8 P/ O/ [
  1222. ; http://php.net/oci8.privileged-connect# `. P1 b. G0 {
  1223. ;oci8.privileged_connect = Off
    0 ?1 f8 {+ g4 G) R
  1224. ! U! |& L' X+ m* c  B7 `
  1225. ; Connection: The maximum number of persistent OCI8 connections per" |1 M* E% \" h( |' E
  1226. ; process. Using -1 means no limit.
    * h* o8 H  Z( Y3 P* X0 {
  1227. ; http://php.net/oci8.max-persistent& ^0 D6 h7 g* s) y9 X, l4 a5 t" w
  1228. ;oci8.max_persistent = -19 F6 x- V% z2 j
  1229. & s3 H7 x$ Y1 J$ ?5 T" H
  1230. ; Connection: The maximum number of seconds a process is allowed to
    ) ?& y& p8 F9 c: {+ }
  1231. ; maintain an idle persistent connection. Using -1 means idle
    ; l  @$ O1 S8 S- G8 h7 c7 c$ f
  1232. ; persistent connections will be maintained forever.2 K; z* _8 u  D( z
  1233. ; http://php.net/oci8.persistent-timeout
      O1 e) j- L) w. U0 Y( Z
  1234. ;oci8.persistent_timeout = -1" Z  }  y* G" j) S

  1235. - p- W- T) B9 v2 L& [
  1236. ; Connection: The number of seconds that must pass before issuing a
    8 |- S# q* D, l; T, q2 M( H( Y5 _
  1237. ; ping during oci_pconnect() to check the connection validity. When( d( r. A# G+ @% |: u
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    ' Y$ i( f1 [* t0 `3 n" |- v+ d9 c
  1239. ; pings completely.
    ' @( s% }3 G  ^% K5 F
  1240. ; http://php.net/oci8.ping-interval
    9 J# ~9 c4 O* I0 m; q% d
  1241. ;oci8.ping_interval = 607 l8 q) p1 x3 `7 x  v9 E

  1242. ! z% R' g) K( I# T+ o( q
  1243. ; Connection: Set this to a user chosen connection class to be used# \1 |5 `* W& U7 H$ @& H; i
  1244. ; for all pooled server requests with Oracle 11g Database Resident; u1 O  U0 _9 Q# Z4 m
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    6 W+ o! }; W* t$ q. J; ~7 h
  1246. ; the same string for all web servers running the same application,
    # u5 G& x/ P6 G. t+ ]6 a4 [
  1247. ; the database pool must be configured, and the connection string must
    * ~; L4 D) j& ]( G& o5 o$ X5 w
  1248. ; specify to use a pooled server.
    ' o. \2 Q. e3 l6 n1 f# C
  1249. ;oci8.connection_class =' s+ h0 e$ u( t% l6 Y5 D$ L4 y

  1250. % A# C* C3 M- U/ K- Q( C
  1251. ; High Availability: Using On lets PHP receive Fast Application) s7 K4 b- u2 j5 e5 w
  1252. ; Notification (FAN) events generated when a database node fails. The
    ) x# s$ T: u3 c3 q
  1253. ; database must also be configured to post FAN events.
    # I. G5 U7 y) W0 t4 S
  1254. ;oci8.events = Off  U, V" n1 U; ~0 i

  1255. 4 x& T5 @$ M% p
  1256. ; Tuning: This option enables statement caching, and specifies how
    0 g2 O. B# d  D" T7 p9 p% w% Y; j- B
  1257. ; many statements to cache. Using 0 disables statement caching.
    ' w9 a" E* ^1 H3 h" D; A" ~
  1258. ; http://php.net/oci8.statement-cache-size
    0 u7 U! ^3 Y9 G# ~7 h3 e8 b
  1259. ;oci8.statement_cache_size = 20
    ( i5 B) t: n" B8 w- u" c

  1260. ; y* w3 u' J, ^0 O1 g& E
  1261. ; Tuning: Enables statement prefetching and sets the default number of1 @( o0 `( I9 j- R9 w/ N
  1262. ; rows that will be fetched automatically after statement execution.
    6 ^3 ~2 z1 M& x) G' N7 l! v) H- [' Q
  1263. ; http://php.net/oci8.default-prefetch% w+ Z/ F$ Q$ {2 X4 H- k7 z( E
  1264. ;oci8.default_prefetch = 100( \6 x9 y# T( @" m/ g, {8 u/ M

  1265. 5 P+ P' F: [; ~4 i! m
  1266. ; Compatibility. Using On means oci_close() will not close
    ' g! I. w1 t: ?/ v
  1267. ; oci_connect() and oci_new_connect() connections.
    / N  p4 x0 G7 i7 r1 F
  1268. ; http://php.net/oci8.old-oci-close-semantics
    8 h3 o* z2 t' a. r6 s
  1269. ;oci8.old_oci_close_semantics = Off
    9 M) ^. Q* H' Q# i
  1270. ) h5 N# Q4 k  \/ K
  1271. [PostgreSQL]
    / i' \9 t" v6 ]+ l% `# b
  1272. ; Allow or prevent persistent links.
    - M' {% E1 r) ?) j
  1273. ; http://php.net/pgsql.allow-persistent4 j3 y2 b% a) h1 g8 ?
  1274. pgsql.allow_persistent = On
    " ^" m# s2 K5 |4 F, V/ A, [
  1275. 4 B- S8 w1 l1 z* m( L
  1276. ; Detect broken persistent links always with pg_pconnect().
    0 q: @5 b. F8 e
  1277. ; Auto reset feature requires a little overheads.3 O5 A; t5 W: r9 O2 ^" `
  1278. ; http://php.net/pgsql.auto-reset-persistent
    * l5 S/ s, R9 c& S2 C/ p
  1279. pgsql.auto_reset_persistent = Off
    0 Z) I$ y% ]. ]0 K9 h$ o% ~
  1280. 6 A( b, M! J3 y0 J) a: I
  1281. ; Maximum number of persistent links.  -1 means no limit.' {9 x( ?, O7 ~/ F) T) d, T
  1282. ; http://php.net/pgsql.max-persistent
    1 d$ i! a& E- x' @% I
  1283. pgsql.max_persistent = -1' P1 G$ Q6 h: K/ s/ P3 v
  1284. 4 L+ r' M; }1 A' m: k
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    . H0 T) y# T. F* e) f5 E! P$ a" y6 p
  1286. ; http://php.net/pgsql.max-links
    9 o! ^! D* \7 Y+ F8 v
  1287. pgsql.max_links = -1
    " }' B- n; D& y- Z/ |& M

  1288. , g% [/ e/ B" @
  1289. ; Ignore PostgreSQL backends Notice message or not.
    % k" k  b3 a1 c. L
  1290. ; Notice message logging require a little overheads.# A- _9 X. C: S% ~. r! c* P
  1291. ; http://php.net/pgsql.ignore-notice4 Q  ]) v, U* w0 E8 j0 x, K
  1292. pgsql.ignore_notice = 0
    & b( b  \7 y9 m$ ]
  1293. . C' r) v0 g" U3 l
  1294. ; Log PostgreSQL backends Notice message or not.$ Q4 {0 T4 u" N6 L
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.* r" ^" c, n0 ]" B5 s7 D
  1296. ; http://php.net/pgsql.log-notice$ w3 |4 K0 R2 u: |1 k. P/ p
  1297. pgsql.log_notice = 01 i% G* \$ j6 X  T  x! ^5 U

  1298. & b. }6 D- q* `3 G4 h; m* _
  1299. [bcmath]; j& u% _; r, M9 y: V) m6 O
  1300. ; Number of decimal digits for all bcmath functions.- W7 a3 ]5 n/ w/ L
  1301. ; http://php.net/bcmath.scale
    1 |* V6 p: L. e1 v6 d" j. L8 X/ D
  1302. bcmath.scale = 03 e' `! S, w& k& h# F# H

  1303. 3 k5 Q8 B$ |8 {* m
  1304. [browscap]) Y7 d6 y$ y; f4 D1 F/ }; q
  1305. ; http://php.net/browscap
    + C6 J. K5 l* E4 e
  1306. ;browscap = extra/browscap.ini
    5 e0 L3 E4 p" u5 ^7 q2 R3 z
  1307. 8 ~3 F0 y# k1 @4 E
  1308. [Session], |7 V2 {$ `( X
  1309. ; Handler used to store/retrieve data.4 ]) v/ g4 d7 G5 [$ o+ G
  1310. ; http://php.net/session.save-handler
    9 t: t+ d+ k8 p! S: O; @
  1311. session.save_handler = files
    + {' @8 S# K) N6 M: h, w4 S6 u6 N% d, O& d

  1312. $ H' Q4 h$ A5 `& b" X" _
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    6 A. |' F* d3 |# k! J; L( B
  1314. ; where data files are stored. Note: Windows users have to change this
    ; u+ E) r4 f3 r4 A3 L
  1315. ; variable in order to use PHP's session functions.
    7 d+ k2 G! V# W( T" N/ A
  1316. ;8 b" Y* a3 x1 t
  1317. ; The path can be defined as:* k/ n: N9 s! H- g' n
  1318. ;- e& z( h% D6 _$ \6 Q3 p
  1319. ;     session.save_path = "N;/path"
    5 l6 U% ]( N- m- V) C9 _
  1320. ;: u' m. p1 P4 T& }+ L
  1321. ; where N is an integer.  Instead of storing all the session files in5 V- w8 @' e3 Q( H+ Q
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    : r, O) V  b: ^% z
  1323. ; store the session data in those directories.  This is useful if" W' z0 T& Q0 t: P0 g/ |8 Q
  1324. ; your OS has problems with many files in one directory, and is3 ]3 w6 q3 _- O. v* }
  1325. ; a more efficient layout for servers that handle many sessions.
    5 F; L- u; V& V3 ?& h7 X# p. B8 c
  1326. ;* d* C8 V; [8 L
  1327. ; NOTE 1: PHP will not create this directory structure automatically.) Y  [$ z& K* F) W: P. x
  1328. ;         You can use the script in the ext/session dir for that purpose.0 r8 N% x, k9 S! K( S: w
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    ) a# F% v% d. ~3 W" b& k5 l
  1330. ;         use subdirectories for session storage
    1 z* ~. l7 Z6 i0 c$ @' P; i% q" C& A
  1331. ;
    4 l3 ?* j# X! S) c9 v8 {
  1332. ; The file storage module creates files using mode 600 by default./ B) Z4 A- y; |7 Z1 m, n, t2 o
  1333. ; You can change that by using
    . i+ ?3 F- s% d. @- x' X
  1334. ;8 C  ]6 v: Z4 I! a! O
  1335. ;     session.save_path = "N;MODE;/path"
    . b' v3 H3 ~& u8 ~' {9 H& ~
  1336. ;
    6 i! Q0 F- h' |& M% c& a6 E, C0 j& v
  1337. ; where MODE is the octal representation of the mode. Note that this, r5 Z% ~3 L( n* |1 r
  1338. ; does not overwrite the process's umask.
    * j9 o8 {* L2 h8 |3 v' b
  1339. ; http://php.net/session.save-path- `4 T& L" `) x, }8 `7 E
  1340. ;session.save_path = "/tmp"4 N- Y* t7 {( X* M: b1 K" \
  1341. & \# T6 X5 U9 X! {
  1342. ; Whether to use strict session mode.
    3 Q; I2 x! ^: M/ n
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    3 }! L/ [+ A; i8 X
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects8 B' N  P( P* z+ @3 s
  1345. ; applications from session fixation via session adoption vulnerability. It is
    $ F5 p3 R" C: Z9 g1 E
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    / @1 c) U8 y2 G4 U9 Y! f
  1347. ; https://wiki.php.net/rfc/strict_sessions
    4 O! {# z2 J3 g  Q/ {
  1348. session.use_strict_mode = 0
    + g6 T% L- g( i1 p( r
  1349. 5 w- S9 |3 @! A; d5 ?: I3 k, K
  1350. ; Whether to use cookies.
    8 I& n- d* S- X8 q' }
  1351. ; http://php.net/session.use-cookies
    2 z* J* z/ x3 Z' M! Q, [% U  F. E
  1352. session.use_cookies = 1  ]. L, `4 _! F/ `
  1353. , e# L1 ]( p7 ~. a" \
  1354. ; http://php.net/session.cookie-secure' Y, p9 z' a% q3 |7 z5 q: U
  1355. ;session.cookie_secure =
    ' G! J( F0 R. @. ^: T9 I( m+ L; E

  1356. 7 k) K- p5 q/ W
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining% k7 L5 ]0 ~9 ^: e1 h4 ]. Z  B  G- ^
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    0 s& Z/ r7 w, U' U$ r+ f4 f
  1359. ; session hijacking when not specifying and managing your own session id. It is
    . A1 L0 U& u1 g5 {" W
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    ) H+ @2 g; s- i& d2 M; I( Z
  1361. ; http://php.net/session.use-only-cookies
    % j3 w2 n: L+ o* y. _  Z4 O5 _
  1362. session.use_only_cookies = 1, o' ~/ a- X0 }) m0 G6 Q; t! ^
  1363. 5 M# A& i6 {7 M' i5 O
  1364. ; Name of the session (used as cookie name).& P2 E" m# g0 T5 ^" n6 o2 |6 g. a
  1365. ; http://php.net/session.name9 X. d/ G& @! V+ D1 h% e
  1366. session.name = PHPSESSID
    $ O+ d" M7 z( v% a5 ]9 q7 J2 y

  1367. & }: E$ L# ?2 p; ]- z0 _$ P
  1368. ; Initialize session on request startup.
    ) [% u. b  m  ~" R  O8 m3 D
  1369. ; http://php.net/session.auto-start
    % C+ X4 s. t( x; i/ m6 \9 U1 m
  1370. session.auto_start = 0
    , B2 t; n* x6 a$ w
  1371. . j6 @' S% n( F
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    $ D( Y  s) L; J" S
  1373. ; http://php.net/session.cookie-lifetime; d/ d; B* ~5 Y2 U
  1374. session.cookie_lifetime = 0
    + O6 _3 X9 N+ B
  1375. 3 J0 y) k* |' W9 N; P# b
  1376. ; The path for which the cookie is valid.
    ( S- Q; C# F/ }- n$ N: i
  1377. ; http://php.net/session.cookie-path+ O; T) m3 h/ a: I; N
  1378. session.cookie_path = /0 n* w  R7 M1 t& e2 R' T
  1379. " s- L% y0 y2 J  m6 F1 M+ N' W- q* z- g
  1380. ; The domain for which the cookie is valid.& U% `. O, |% O! x% p, ?
  1381. ; http://php.net/session.cookie-domain3 N2 Z' i, i; O
  1382. session.cookie_domain =
    , [6 i+ A- U; N4 o2 M+ S

  1383. ! {" B) A  m% K2 l0 r
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.9 ^. C. k) @% v/ l# t3 P% _% A& \( Q
  1385. ; http://php.net/session.cookie-httponly
    . |% m! R' v/ ^0 S  I; b
  1386. session.cookie_httponly =
    7 M9 S) D5 N9 ]; N5 ]. G+ y) L5 H
  1387. * ~, v4 {/ y' T/ L/ J9 X
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    " u7 {# H, |/ C
  1389. ; http://php.net/session.serialize-handler
    ) ^/ U, O. P8 P2 |% t9 }
  1390. session.serialize_handler = php$ \6 K3 R8 [* A$ m  h8 g" S3 [

  1391. 0 E  J/ S  @; z6 C% J+ P
  1392. ; Defines the probability that the 'garbage collection' process is started$ K3 ?0 P( d" W# p8 A. \6 d6 G
  1393. ; on every session initialization. The probability is calculated by using
    + b/ v1 Q/ c0 L3 D. l' q
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator/ J5 u# D9 f; ~" d4 }
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    , a* A0 r7 T; X4 I4 H
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance( o4 g( \) ^( m+ q
  1397. ; the gc will run on any give request.) O  ^3 i3 U5 C: T, O
  1398. ; Default Value: 17 g2 u# }! U6 |- B) M
  1399. ; Development Value: 1& p/ i6 I$ _& }) F$ s5 C- K
  1400. ; Production Value: 1* o, X; ~; I8 G
  1401. ; http://php.net/session.gc-probability
    ) F; D+ i6 p  Z; \
  1402. session.gc_probability = 1
    % Y% K3 o5 |+ q
  1403. - D( J- i% `6 X& n
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    " [7 @) }; }# h2 K& K
  1405. ; session initialization. The probability is calculated by using the following equation:8 w. Q/ z$ m5 }( }7 O- o
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and6 V  s, Y* l4 R% t1 F$ i! u+ E
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    1 M& [# E* l' j) n- W
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance- s  U5 [# {: p* x& K; U
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    # [9 W$ {" d. E. m/ @( ^$ N
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    1 K$ N5 ?/ L/ Y( ~" w! e$ u
  1411. ; this is a more efficient approach.
    : z8 n: z2 ?" A  B' @
  1412. ; Default Value: 100  w  O9 \( s  L7 w# A/ m6 w: j$ s
  1413. ; Development Value: 1000
    " n: y6 m, N9 `. N, R0 g1 j/ J# y
  1414. ; Production Value: 1000
    0 Q" p1 P* ?1 C0 r& ]" [
  1415. ; http://php.net/session.gc-divisor
    " h  X' {9 t" Y) y% R. @# n8 B
  1416. session.gc_divisor = 1000
      `  Z" W1 F+ D! K
  1417. 8 N2 z( F# @7 Q: i; O
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    , R9 {- z7 Y; j0 E* X
  1419. ; cleaned up by the garbage collection process.
    ) `% l+ v- C: q. q" E1 [
  1420. ; http://php.net/session.gc-maxlifetime
    ' [( _8 C0 P8 p* p1 n" N
  1421. session.gc_maxlifetime = 14407 U! W8 i2 @; E
  1422. 6 B2 ^3 h3 P0 q2 g
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    # L, z: Z' U- i9 a  F) m, R
  1424. ;       (see session.save_path above), then garbage collection does *not*
    6 k: ]$ B+ u3 v
  1425. ;       happen automatically.  You will need to do your own garbage
    / _9 g0 {6 k% l9 {
  1426. ;       collection through a shell script, cron entry, or some other method.3 t6 u% }7 k; V
  1427. ;       For example, the following script would is the equivalent of' a9 N2 y: _0 y5 x8 e
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    ' p+ U2 A# b$ w% I
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    $ ^9 \0 v2 _5 B$ \8 C1 f
  1430. # D  @. E3 }7 A- H6 v7 _4 `
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    " K9 P, B$ S* L6 @  G
  1432. ; HTTP_REFERER has to contain this substring for the session to be! A1 N7 N6 g3 l% N, W  Y% k
  1433. ; considered as valid.
    2 q/ X1 E. Z4 R. F
  1434. ; http://php.net/session.referer-check, m8 R: C: K5 L; f6 n3 n
  1435. session.referer_check =3 Q- Q0 s" J0 q- U
  1436. 5 P8 i+ }$ L2 F7 Y0 E) e2 S) X: V
  1437. ; How many bytes to read from the file.
    4 ?7 s9 V( h" Y4 c# k4 t! |
  1438. ; http://php.net/session.entropy-length
    ) R9 c1 j  k( A2 Z0 Y
  1439. ;session.entropy_length = 32
    - B6 g# I$ c' C7 }8 T( T" t7 r
  1440. . v  z# U* z' H) X
  1441. ; Specified here to create the session id.' q& w; [0 P0 _- U6 u
  1442. ; http://php.net/session.entropy-file0 [0 ^$ i: |" g" s
  1443. ; Defaults to /dev/urandom! l* p. s- m% \. l( T7 i- T* n
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    2 s: ^, ?- r. Q% F+ ^/ h
  1445. ; If neither are found at compile time, the default is no entropy file.
    ; o# j6 O: W) {1 }3 i. W$ B! ^" S
  1446. ; On windows, setting the entropy_length setting will activate the
    ; e) |# Y  Z* P. g9 A% j
  1447. ; Windows random source (using the CryptoAPI)
    : [, {8 L3 A$ i, S
  1448. ;session.entropy_file = /dev/urandom( |  d0 `, s$ t2 i2 _
  1449. ; h" `. Z$ O: H7 {; A1 v4 M
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects3 q4 l% ?, j8 ^
  1451. ; or leave this empty to avoid sending anti-caching headers.
    ; R  |* L: j3 \" h7 Z* p
  1452. ; http://php.net/session.cache-limiter/ ^% T) D) D; \& ?
  1453. session.cache_limiter = nocache' h/ v2 l' {/ `. B- D+ Y
  1454. 2 E( j* B- {. T3 k0 f
  1455. ; Document expires after n minutes.* S; m' }: L( H2 H% L0 i4 b- Q
  1456. ; http://php.net/session.cache-expire( F) Q! Q% i$ [9 Y
  1457. session.cache_expire = 180. H; C# [8 z$ {. c! B4 A( {

  1458. 8 T7 W% R- D( R7 }2 a
  1459. ; trans sid support is disabled by default.1 s$ X1 u, o, F, d1 Z
  1460. ; Use of trans sid may risk your users' security.- K# v0 t. e1 L$ i, |0 ~* Y
  1461. ; Use this option with caution.
    . G& }, H) Z! a
  1462. ; - User may send URL contains active session ID
    ! T. f; [$ f" L& h6 W( r
  1463. ;   to other person via. email/irc/etc.
    ) f2 }' p1 P, E  _' {1 T0 r# ~
  1464. ; - URL that contains active session ID may be stored
    , k! i! C7 i+ D' @6 L% I
  1465. ;   in publicly accessible computer.( X( B& m* y' V2 C
  1466. ; - User may access your site with the same session ID
    " j& f& K' \7 t+ o
  1467. ;   always using URL stored in browser's history or bookmarks.! q: V7 h& ]9 G+ k  F: F$ V+ H
  1468. ; http://php.net/session.use-trans-sid$ A5 F0 Z0 {# l3 b; c1 n( ]5 A
  1469. session.use_trans_sid = 0
    - Q$ _8 a% z6 g$ W5 X/ }, b

  1470. 3 u" m& ?  |" e, ^1 Q  \7 e
  1471. ; Select a hash function for use in generating session ids.
    8 Y) N% m0 H- R0 H, ?8 W
  1472. ; Possible Values: g6 x8 `* E& X+ v. b
  1473. ;   0  (MD5 128 bits)
    ' B0 A" }, E) @& i
  1474. ;   1  (SHA-1 160 bits)1 i; @# x- c4 O7 y; [+ \" D5 A/ D6 J9 O
  1475. ; This option may also be set to the name of any hash function supported by
    ' v& T4 A/ G4 o" _0 i& A
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    # u8 C' A  c) j0 ?) c
  1477. ; function.
    ) g! d$ k. h7 x$ a# _' V: G
  1478. ; http://php.net/session.hash-function2 u; H; v: P; K! T
  1479. session.hash_function = 0
    - G9 J5 [; Z. W: K- `: L0 O

  1480. , Z3 \, J$ J7 c3 b: t4 E
  1481. ; Define how many bits are stored in each character when converting. C: Y/ m2 E! `: Y3 Q$ W
  1482. ; the binary hash data to something readable.; M; }! X" E9 I( {
  1483. ; Possible values:9 P9 h0 l5 u( t3 c
  1484. ;   4  (4 bits: 0-9, a-f)6 f* H# ?+ ^, |: |- U$ L
  1485. ;   5  (5 bits: 0-9, a-v)
    " ^, }- f' ^8 D
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")4 @, V' R) w6 p/ @4 y$ t+ A' Q
  1487. ; Default Value: 40 A. Y  a" S% w4 S$ B& C# K0 A
  1488. ; Development Value: 5
    ) y, T+ W: n0 B5 ~/ K
  1489. ; Production Value: 5) y) {7 E4 C% s/ S+ x
  1490. ; http://php.net/session.hash-bits-per-character
    7 ~/ h4 k( U& L9 w4 e" ?
  1491. session.hash_bits_per_character = 5" `! W- Y/ f3 w' }% s. [

  1492. # i* u+ I8 @; N  V; Z
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    : A4 t' w& h3 P. F, L- J
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    " o' q. S! `- b- v
  1495. ; add a hidden <input> field with the info which is otherwise appended- b$ N$ ]0 ^& U" d; c' i
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry., v6 i% H9 A8 ]  a9 n; Y
  1497. ; Note that all valid entries require a "=", even if no value follows.
    " E6 Q% [0 t5 {8 r& n8 K" n
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    1 ?6 ^. E# y& `- i" S! o
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    2 j6 B5 R5 W0 u% j. }
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"6 n% ~1 G% o  z8 @# F, ]
  1501. ; http://php.net/url-rewriter.tags: ~- B; ]/ @8 m# ?
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    ( s% v3 z# A( \: m* V" N

  1503. / B2 Z$ N9 h  H+ l$ r& ?
  1504. ; Enable upload progress tracking in $_SESSION
    ) S. v& K) J3 d
  1505. ; Default Value: On3 \5 t- x5 n# s, G* L
  1506. ; Development Value: On
    " z/ ~! v. ^- i+ Q; D5 }
  1507. ; Production Value: On' U5 ]! G; [# [: n
  1508. ; http://php.net/session.upload-progress.enabled  X; ^& Q" u! @  a+ b# ~9 K3 _$ N5 s( [
  1509. ;session.upload_progress.enabled = On
    / o) b, V( F8 l+ ?7 V

  1510. 4 V7 v- m# Y5 [* c  b1 _6 W6 t
  1511. ; Cleanup the progress information as soon as all POST data has been read
    9 S* a( D- h4 ?* O- w' Q
  1512. ; (i.e. upload completed).
    . h4 H) A  g/ r6 r
  1513. ; Default Value: On% Y2 ^. M7 p9 O4 H/ W# V
  1514. ; Development Value: On& D$ V, n! @/ ~: |- K& u, B
  1515. ; Production Value: On# `; ?( \4 q6 i: p
  1516. ; http://php.net/session.upload-progress.cleanup! t2 w" f) e! Y7 m( C; f
  1517. ;session.upload_progress.cleanup = On7 P% T5 q& H  G8 G
  1518. - a* V/ X; ]6 h2 y* U/ Y9 a3 C
  1519. ; A prefix used for the upload progress key in $_SESSION4 ^$ M, B9 Q3 t% p# @; s) t& `
  1520. ; Default Value: "upload_progress_"
    0 Z( j& l. ]; _& M0 Q- P8 L
  1521. ; Development Value: "upload_progress_"/ ~) A* T8 ]9 X- k9 }" {
  1522. ; Production Value: "upload_progress_"
    0 e6 D. E: R. R& @! [, ^, X
  1523. ; http://php.net/session.upload-progress.prefix' a1 V$ b: _0 ~' K/ c- q
  1524. ;session.upload_progress.prefix = "upload_progress_"  I- d: e$ x! I- t" r: ?
  1525. # Q, b3 B. f  B5 E3 J& {, u# d
  1526. ; The index name (concatenated with the prefix) in $_SESSION' i  Q3 W, [$ A& j$ ~0 s
  1527. ; containing the upload progress information
    - f- t. `+ F6 `/ h: m+ ]9 N
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"; l& b9 t4 [* Z- w
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    + v' s& `5 ?3 |0 q7 `3 t% T
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"4 W2 R; B" E  ]# [: u
  1531. ; http://php.net/session.upload-progress.name+ q1 V" z' ~+ e6 u) Q  u
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    5 ]# z- G, P( D: e

  1533. # {' J' t" [0 T7 r/ A( \3 E
  1534. ; How frequently the upload progress should be updated.
    9 K5 S% r: A2 D; [5 U* ?- k
  1535. ; Given either in percentages (per-file), or in bytes
    * G0 B/ N* @( y* j
  1536. ; Default Value: "1%"0 }8 b: J, q. b# ]) C5 c, v* @
  1537. ; Development Value: "1%". a5 t- N4 n% h9 B- E7 r) A# p
  1538. ; Production Value: "1%"" t% U9 U8 t' R& c' q5 F7 J# h! D7 N
  1539. ; http://php.net/session.upload-progress.freq
    8 u; k7 i( ?& t4 J0 m: Y- R0 V
  1540. ;session.upload_progress.freq =  "1%") W  }: X7 p; d! J2 J) q

  1541. 0 L0 r1 q9 c8 M9 Z
  1542. ; The minimum delay between updates, in seconds
    7 L5 H4 j. S7 l4 F
  1543. ; Default Value: 11 G; @' T3 B( d6 T: _9 x3 P
  1544. ; Development Value: 1
    - m3 Y! i1 Q3 u$ q
  1545. ; Production Value: 1
    + W# T7 D( K+ K7 y% J5 P8 b. O
  1546. ; http://php.net/session.upload-progress.min-freq
    , H& ]8 R8 z5 Y- a* c
  1547. ;session.upload_progress.min_freq = "1"  H9 i. Q1 w, d  Z) M. I

  1548. 2 ~9 |! u7 F$ X, K
  1549. ; Only write session data when session data is changed. Enabled by default./ x  J+ u9 h( A( b$ D( a
  1550. ; http://php.net/session.lazy-write
    ! q% E8 U. H; z  M
  1551. ;session.lazy_write = On- d( C/ C2 f- S! h  N

  1552. 0 a9 l: O7 Z' ?/ x% E
  1553. [Assertion]
    ; J; `& }, u' y) \: H& V8 `1 y
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    0 x6 x$ g5 u) \: J: m# r
  1555. ; -1: Do not compile at all
    & N0 R6 ^. [# ?$ ^
  1556. ;  0: Jump over assertion at run-time7 u% C( }# m4 w6 {$ @* Q4 `
  1557. ;  1: Execute assertions
    2 z& q4 W+ B0 j8 `" A# q$ z* o% [9 j  n( M
  1558. ; Changing from or to a negative value is only possible in php.ini! (For turning assertions on and off at run-time, see assert.active, when zend.assertions = 1)/ w* l! r+ K$ \  l
  1559. ; Default Value: 1
    0 Z3 B, ]* v0 _9 c- o2 d! @
  1560. ; Development Value: 1
    0 n7 T5 l# S$ S* C( }  k' x& r! q
  1561. ; Production Value: -1
    ! Z7 x8 i8 J/ S+ N, T* S/ u) _
  1562. ; http://php.net/zend.assertions
    ) V% M* F  V5 B0 y- A( \8 c
  1563. zend.assertions = -1
    ) H5 U; r) P2 H# M
  1564. 5 n$ o2 `7 u& O
  1565. ; Assert(expr); active by default.
    % _7 W' q( i: f. E8 n: N$ W* B0 s
  1566. ; http://php.net/assert.active8 l. n, q$ X! m1 _3 U" F8 Q
  1567. ;assert.active = On, w" T; v- `6 u# A# T2 C
  1568. - W. T$ A1 k6 m' w
  1569. ; Throw an AssertationException on failed assertions7 X% t3 q* k& c7 p
  1570. ; http://php.net/assert.exception7 I8 I7 ]7 k8 z" K( d% X0 P+ ~
  1571. ;assert.exception = On
    $ v7 i% p+ Y3 ^( Y. `* e0 W

  1572. # }9 G- D# q- d- j) J
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active); G* @: ~% a0 l0 ^
  1574. ; http://php.net/assert.warning) ~2 V( ?4 X9 X/ l, s, ~( ]: n
  1575. ;assert.warning = On) V6 t- y9 x! N- `
  1576. " A: l( P4 C* W, A
  1577. ; Don't bail out by default.6 @+ O$ h) p. |+ z8 T' l. R
  1578. ; http://php.net/assert.bail
    / l4 s4 m+ Q! ?/ {* X( P- P. W
  1579. ;assert.bail = Off% U* O! x" |1 T& C+ x

  1580. " O/ X0 Q& R) D4 n2 h1 N) G9 O
  1581. ; User-function to be called if an assertion fails.
    ! s) x* K; \) M- f
  1582. ; http://php.net/assert.callback
    : R0 Q2 g& ]  J5 b% z7 X: _
  1583. ;assert.callback = 0
    2 e) t$ L. W  e/ U9 E" ?

  1584. - h  X; K, a+ U! Q
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    ; k0 {6 w' y  b$ G0 @0 ]$ [
  1586. ; error_reporting(0) around the eval().
    $ A0 v1 |0 Z0 T- v8 m3 }
  1587. ; http://php.net/assert.quiet-eval$ ~0 M- C1 Q: p* C
  1588. ;assert.quiet_eval = 0
    ; ^# H8 }0 ?6 \  R; M. R( l6 C& l

  1589. 8 r8 k9 l+ _$ |1 W8 @" m
  1590. [COM]
    ) ^6 n3 H/ j0 Z* \5 L
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    $ c& S& P& U6 s8 T4 x6 _$ S' {
  1592. ; http://php.net/com.typelib-file7 X3 _2 h2 p2 W- |' t) y& f
  1593. ;com.typelib_file =
    # Q1 S3 Z6 E8 {7 K" B

  1594. " ^& ?& U' X- o5 v% D
  1595. ; allow Distributed-COM calls
    - e- U5 \' ?: @: n! A# D. C1 V
  1596. ; http://php.net/com.allow-dcom
    5 D9 v/ o+ Y; Y  k. v) U4 ?- j
  1597. ;com.allow_dcom = true. A2 V9 c4 C# o& c* F$ @5 [0 c

  1598. 0 C/ P/ R# }  a# z
  1599. ; autoregister constants of a components typlib on com_load()
    4 x* l( D: t! O- D  p% }! S  l
  1600. ; http://php.net/com.autoregister-typelib
    % ^" R; _; M1 Q0 n  V
  1601. ;com.autoregister_typelib = true
    5 Z1 T  N5 d0 L0 y

  1602. 9 p% n9 ~) O' t  F4 i; [+ u
  1603. ; register constants casesensitive& _6 M2 R9 Q+ }. ]2 z8 N! _4 q
  1604. ; http://php.net/com.autoregister-casesensitive! L9 M# F7 K! k9 d, ^
  1605. ;com.autoregister_casesensitive = false: J0 E. N% v5 h4 s+ @2 H1 B. i
  1606. 5 l% A, }& ?, T$ H# q% a
  1607. ; show warnings on duplicate constant registrations
    9 r9 Q( |2 i/ [3 o
  1608. ; http://php.net/com.autoregister-verbose% q9 c1 y0 M. E3 G
  1609. ;com.autoregister_verbose = true. V6 C( w- Q5 O( x% q7 A( W/ `

  1610. 7 M. T: s8 L, @
  1611. ; The default character set code-page to use when passing strings to and from COM objects.2 |8 l% n; G9 n
  1612. ; Default: system ANSI code page6 f1 P% U& J4 @8 I2 D9 p0 f1 r" I% L
  1613. ;com.code_page=
    # ~1 Q' k5 w6 Z6 z* s4 K9 S! Z
  1614. 2 _9 b/ R) R+ `
  1615. [mbstring]3 J6 B5 k* u4 ?0 g
  1616. ; language for internal character representation.
    . T0 C0 d0 b1 ~
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    5 T2 y* r" j( S* V3 m% q; m
  1618. ; http://php.net/mbstring.language
    ' K5 |' |' }. ^1 W+ F
  1619. ;mbstring.language = Japanese0 _: r1 {8 a  d- |7 o# Y

  1620. % p# e3 G3 g* e; E
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.9 h+ U% G# d% D& ^
  1622. ; internal/script encoding.8 j8 ~% }/ A1 @6 ^! m  s
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)% l) b: H' M0 T( Q4 `1 w
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    0 h$ \. _: {( Z; R; ^* f
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding1 V+ u3 P! e+ f
  1626. ;mbstring.internal_encoding =
    1 o; N' e  a2 Y) ~4 b' i2 |- D$ H
  1627. 9 o# p! w) u0 b, l% a6 k
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    * z9 a4 t7 i& `- y4 w
  1629. ; http input encoding.8 A  A+ s. y& s; h
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.1 q4 u" z7 i  w( n
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.- @: j' r% z7 J% X
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    2 n  @% g- D9 u) J+ [* t; U
  1633. ; http://php.net/mbstring.http-input
    1 n( [/ Y" k$ c
  1634. ;mbstring.http_input =. [3 h0 M$ a' A( x: p3 C( H& v

  1635. 8 G8 f" }) ^3 b+ Z
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    " P: `$ B0 v# X
  1637. ; http output encoding.) A$ d1 q: \5 Z0 G- w1 f
  1638. ; mb_output_handler must be registered as output buffer to function.
    4 Z. a/ z0 J% N  Y& c' F& X. w$ R
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.! ]* R( [! M( l/ h/ F
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output. V$ S+ b2 }$ {- b
  1641. ; To use an output encoding conversion, mbstring's output handler must be set* M# r4 x3 g$ M" S) A( z. y
  1642. ; otherwise output encoding conversion cannot be performed.7 C& V2 r* K! ?6 k2 n
  1643. ; http://php.net/mbstring.http-output
    " M2 e7 w( w6 u6 [6 G4 x- ^
  1644. ;mbstring.http_output =
    + k4 j- c1 A& l. A
  1645. % {" f! h9 w! m. q! b0 \. Y+ j
  1646. ; enable automatic encoding translation according to
    4 j6 `; P& o$ t" y. i$ R
  1647. ; mbstring.internal_encoding setting. Input chars are& ^0 J. P% [) }" N
  1648. ; converted to internal encoding by setting this to On.: [6 R/ _: Y$ l$ s- \6 m
  1649. ; Note: Do _not_ use automatic encoding translation for4 W: \0 b) j& I2 s
  1650. ;       portable libs/applications.7 [, {; j6 o9 J; w" O
  1651. ; http://php.net/mbstring.encoding-translation5 T; z4 n+ W5 @5 n; s
  1652. ;mbstring.encoding_translation = Off4 j' N" u! p& d8 w! _
  1653. - x: i: n7 y) S- {' g
  1654. ; automatic encoding detection order.
    5 p% [+ _$ n$ J
  1655. ; "auto" detect order is changed according to mbstring.language/ S7 Z6 B$ ?6 i! [* E
  1656. ; http://php.net/mbstring.detect-order
    & B# ~$ ]8 [5 z/ V
  1657. ;mbstring.detect_order = auto
    7 i4 j) i/ p, L$ T0 \: \

  1658. + N$ m) b$ h# W8 ]
  1659. ; substitute_character used when character cannot be converted5 c# b' O. U4 h! y6 A6 [
  1660. ; one from another2 z6 Y9 z! j. P( P; q: C" ], ^
  1661. ; http://php.net/mbstring.substitute-character
    / c4 e! t0 u7 [' |/ G
  1662. ;mbstring.substitute_character = none! U  `% v; Z3 }9 f. `
  1663. ( h& Z+ b5 R* J+ r7 N' q
  1664. ; overload(replace) single byte functions by mbstring functions.
    % M- J% I, F- n% f  @5 Z4 n5 w! |( }
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),7 i" i# M% i" G. r6 ]& q
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    0 `6 R0 X0 [. K! G3 ?5 o0 }
  1667. ; For example, 7 for overload everything.  D0 [: X0 z0 x- `
  1668. ; 0: No overload
    5 {8 E# b) I" L- H
  1669. ; 1: Overload mail() function
    & z: m9 |( I+ W7 i
  1670. ; 2: Overload str*() functions7 W" T- y& Q$ P+ [$ U
  1671. ; 4: Overload ereg*() functions
      c* F$ _- O, [# g
  1672. ; http://php.net/mbstring.func-overload. [8 r/ w6 l0 u3 U
  1673. ;mbstring.func_overload = 0: W. O* r/ W4 C3 n$ h# w
  1674. ; s# q" L! O! e7 K! c% Y" D
  1675. ; enable strict encoding detection.- S: j: P, h5 m/ h/ l
  1676. ; Default: Off
    ' H, o2 a; m+ `* L* ]  B
  1677. ;mbstring.strict_detection = On
    9 V% n% {1 E, v5 I. v- c4 \
  1678. * t7 E/ j' @, B) b: i
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()# U6 u5 A& H. q# s1 T+ z3 g* E
  1680. ; is activated.- F" S9 B6 ~! |( N5 g. M
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    * p/ V  G' D) ]$ X+ l
  1682. ;mbstring.http_output_conv_mimetype=
    ( g$ w. z5 Z  }, \* i8 h/ l

  1683. , ~1 ^( N2 H: v" g
  1684. [gd]
    : _0 R/ T, ?' l6 M1 I
  1685. ; Tell the jpeg decode to ignore warnings and try to create) ^. D# B1 Y0 F4 v
  1686. ; a gd image. The warning will then be displayed as notices1 F/ Q, k8 Y2 Q, [
  1687. ; disabled by default
    % }$ w% |0 n& K+ B. I6 K' ]
  1688. ; http://php.net/gd.jpeg-ignore-warning
    , I! W! K7 E! `( i: i/ A
  1689. ;gd.jpeg_ignore_warning = 0
    ) ?- T: y/ }3 u* B" B
  1690. 2 u3 n+ w4 n5 j
  1691. [exif]
    1 _8 q  N: y# d% v! H# _1 l/ t
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    0 x: M% N. a! i/ G& z
  1693. ; With mbstring support this will automatically be converted into the encoding) }% W5 X/ g! w, |$ u3 y% V) W" a
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    : r+ U3 ]' [1 `. e( u0 C0 O% E  {
  1695. ; is used. For the decode settings you can distinguish between motorola and
    ' q: ^6 q) E( c2 _0 s7 i
  1696. ; intel byte order. A decode setting cannot be empty.+ g3 t; I$ B8 `% y$ ~
  1697. ; http://php.net/exif.encode-unicode
    + k) S' ]+ q: g5 d
  1698. ;exif.encode_unicode = ISO-8859-156 G) t! n6 i3 ?8 o1 Q! g
  1699. 3 Q8 A1 k! `" v0 |1 X1 E  r# S& p- ~
  1700. ; http://php.net/exif.decode-unicode-motorola
    " ?% G. `2 j+ b: F$ m6 r) B
  1701. ;exif.decode_unicode_motorola = UCS-2BE' |; s4 m- j) Z6 L$ k# p1 I1 a$ y9 D
  1702. % t* Y+ H! X& w$ R% ~
  1703. ; http://php.net/exif.decode-unicode-intel- q5 X4 Q1 F& R- C8 h2 p
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    - H% G9 [& M& m3 m2 N

  1705. 5 {  @. ?) U, h5 L! r" y
  1706. ; http://php.net/exif.encode-jis5 G& `) u6 n0 k. P" K3 {4 {
  1707. ;exif.encode_jis =
    " G0 H# J  p- G6 j0 w0 S% C
  1708. " A* g- x5 Q( ^3 o5 g, V
  1709. ; http://php.net/exif.decode-jis-motorola" t+ w5 ]4 t3 _9 X0 k
  1710. ;exif.decode_jis_motorola = JIS/ ^0 Q3 h# }1 _5 v1 R) y2 v

  1711. , k, @* H! G0 a: N3 ]
  1712. ; http://php.net/exif.decode-jis-intel# _, X% V7 G0 R) N0 o
  1713. ;exif.decode_jis_intel    = JIS
    # E/ g  t0 S* X5 A3 ~; s8 k% f' c
  1714. % G3 O: \8 D& m! S0 p* r
  1715. [Tidy]0 |7 E( r  v0 e; o
  1716. ; The path to a default tidy configuration file to use when using tidy
    6 f7 T8 Q+ w  u( O& V& ?9 B
  1717. ; http://php.net/tidy.default-config! r8 P$ X- |7 n5 O& [/ q( x% m
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    8 i# ]7 b# |( T6 n4 F1 E

  1719. 6 G/ K1 `' k; \7 Q3 r; @6 U% m
  1720. ; Should tidy clean and repair output automatically?+ E$ J1 @: S6 _# u# C9 b$ q% T
  1721. ; WARNING: Do not use this option if you are generating non-html content) j3 N9 P$ c5 z# o
  1722. ; such as dynamic images
    6 I: B4 m2 K7 B' n6 ]: A& Y% k# w
  1723. ; http://php.net/tidy.clean-output1 }) x' q) {) M5 [$ w9 [! u/ m) Q
  1724. tidy.clean_output = Off
    ! l9 `) ~( G* Y, E) |0 m0 u. }
  1725. ( h& @6 Z9 K3 t9 f5 P
  1726. [soap]' T1 b& e! g0 \2 s7 N
  1727. ; Enables or disables WSDL caching feature.( s( u3 _3 s  k. k
  1728. ; http://php.net/soap.wsdl-cache-enabled
    1 c) ~/ s$ P" u4 t( H: }
  1729. soap.wsdl_cache_enabled=1
    & q& H: j: h8 s, Q- |3 d

  1730. 7 x% T( |/ m8 J8 I2 b7 r
  1731. ; Sets the directory name where SOAP extension will put cache files.# |, X; ^/ y" E! K" G
  1732. ; http://php.net/soap.wsdl-cache-dir) K1 l% I' m8 G4 l" [$ [+ K
  1733. soap.wsdl_cache_dir="/tmp"! _- i' p$ g  a

  1734. " C! S! d  |: X8 q0 a
  1735. ; (time to live) Sets the number of second while cached file will be used
      W; r) a% t- E
  1736. ; instead of original one.+ D2 L' J' x/ B4 f. A. v& k8 q
  1737. ; http://php.net/soap.wsdl-cache-ttl
    * M' i/ a/ a0 S6 ~% T2 k9 w* W
  1738. soap.wsdl_cache_ttl=864003 D2 d5 ?' ?) W  G, f
  1739. 8 W  E8 s/ k2 b# }) v% \7 ]
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    9 e1 n, V1 V7 A3 v( K$ Z. k# t
  1741. soap.wsdl_cache_limit = 5
    ' K# U+ T/ Z, f

  1742. 1 E0 S( I, F5 S" s7 Z
  1743. [sysvshm]
    ! n: F0 d7 T; X
  1744. ; A default size of the shared memory segment1 k7 w7 F: ?  w( w1 Q
  1745. ;sysvshm.init_mem = 100002 S6 H, Q9 c, g' ?4 S
  1746. - w2 L6 o) }. a- k( l! z! P" l$ g
  1747. [ldap]
    % O3 N: `: n* R1 ]* d' Q
  1748. ; Sets the maximum number of open links or -1 for unlimited.6 f/ z3 C' J* G. C2 _6 J
  1749. ldap.max_links = -1
    ; \1 {+ M7 _) E3 o- e
  1750. 5 w- L, f0 W6 M& f
  1751. [mcrypt]
    " @/ W: K/ ?: Q8 z
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    . N4 a- X( \. _, s; Y7 y) Z  K

  1753. ( J% _0 u/ C6 `6 }& w0 G9 [0 J
  1754. ; Directory where to load mcrypt algorithms$ t/ p6 B8 W* @  E% {, N
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    $ i0 A  n3 d% p" O& `# [  V5 P
  1756. ;mcrypt.algorithms_dir=
    : z2 g6 V7 w, c% g3 d4 O
  1757. 2 i6 F; }: y5 G3 E6 j. W; ]
  1758. ; Directory where to load mcrypt modes
    7 R- `/ @' k/ n  _) ]' I- w
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)3 s$ H: v* o7 g
  1760. ;mcrypt.modes_dir=
    7 d: S3 c) m" S! A

  1761. " x8 v9 V. \0 }9 O* ]. O$ w# A
  1762. [dba]& r0 t' z, r; y3 j
  1763. ;dba.default_handler=  s) u3 ^  P+ A, T5 ~6 S& e
  1764. $ U% R( B* n9 \! j
  1765. [opcache]) J1 h9 ^3 H: Z0 S# @' P+ e
  1766. ; Determines if Zend OPCache is enabled# ]1 m6 @3 e- N; X/ u
  1767. ;opcache.enable=0
    ) ]% z9 b+ a1 u# Z- T, u* n0 C' r; K
  1768. ! k+ @7 X, J+ D$ ?  L
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP9 r9 Q5 q5 E5 K# w7 i
  1770. ;opcache.enable_cli=0
    - z% ]) v& B% P' d! C7 t& A

  1771. ) T3 l' B, V/ `( }
  1772. ; The OPcache shared memory storage size.# E; _) x9 ~$ B' ^
  1773. ;opcache.memory_consumption=64
    ) v2 a7 H2 K% O' Z7 z6 \
  1774. 3 b7 O7 c& B& z0 G- I/ N) A
  1775. ; The amount of memory for interned strings in Mbytes.
    3 A; L. x$ `% c0 \3 {( F3 `
  1776. ;opcache.interned_strings_buffer=4
    + b% C' ?9 a2 }7 x
  1777. 8 E4 H& l) R3 Z. e+ S# `
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    : v- @3 l) A* N1 `7 J
  1779. ; Only numbers between 200 and 1000000 are allowed.. U9 k, e: z& v
  1780. ;opcache.max_accelerated_files=2000, B' T: l& x- x# p6 C
  1781. . P- E: _* L% T& l2 n  w
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    / p. J* V4 }% k
  1783. ;opcache.max_wasted_percentage=5
    4 K5 E. Y1 ~% o, u2 Q

  1784. . x4 }( q8 O$ Y, x
  1785. ; When this directive is enabled, the OPcache appends the current working
    + _3 ]0 S: q/ I0 v" d+ y
  1786. ; directory to the script key, thus eliminating possible collisions between
    * P+ A: O4 |" v- h
  1787. ; files with the same name (basename). Disabling the directive improves
    7 k3 F) B8 z; V8 p
  1788. ; performance, but may break existing applications.; ]6 R. y, j$ K. z
  1789. ;opcache.use_cwd=1: n+ Y& f; P2 z# b

  1790. 7 K, @) Z8 f" ~2 q- c
  1791. ; When disabled, you must reset the OPcache manually or restart the
    ) ~$ S# S  P: W3 @! Y. v/ s; z
  1792. ; webserver for changes to the filesystem to take effect.
    9 @) _: i  A& ~' M# O
  1793. ;opcache.validate_timestamps=13 A. r; M% ], N1 L

  1794. : z- @" G$ e( S& p2 ~5 U
  1795. ; How often (in seconds) to check file timestamps for changes to the shared1 M$ X* f5 N$ H- C3 `' {4 m1 J
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    ) A8 w# }6 t2 r# s
  1797. ; once per request. "0" means always validate)* J' V# ~7 b, H8 z/ `4 P, l/ f/ g2 Q
  1798. ;opcache.revalidate_freq=2) Q4 |- g: w: F: n& p; x! \# [

  1799. # l7 O, [4 \! g" V8 T2 _3 A
  1800. ; Enables or disables file search in include_path optimization
    ' v% L) u# X7 F# n+ n# H- }
  1801. ;opcache.revalidate_path=0
    + t# x2 ~) Y4 b5 t
  1802. 2 e% P* ?8 r! {
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the8 l; ]: M0 U) N1 x7 v5 R  [
  1804. ; size of the optimized code.
    , i% \# e/ l8 k1 l. W2 Q  V
  1805. ;opcache.save_comments=1
    , z) J1 U. {0 f5 {( P

  1806. . X! }7 P8 v" m' d' H( d8 m' X+ v
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
      {7 u/ I! ^7 r3 O
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.4 ], w' `; }1 z3 P
  1809. ;opcache.fast_shutdown=0+ w" n' q  H4 O6 C( B4 g( k/ ?# R9 b
  1810. ) M9 R* f5 r: g5 ]# M8 d- e
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    : ]# ?* @) e$ I9 v6 H& E
  1812. ;opcache.enable_file_override=0
    1 Q9 {6 R2 n$ r* P1 N
  1813. ) B5 e# s) [/ s7 H: g' E
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    9 w2 G, _! o1 F+ X
  1815. ; passes7 P& M- F9 x: q& [$ Z6 Y# g
  1816. ;opcache.optimization_level=0xffffffff6 `0 I5 g0 U) G# M" m2 Y4 W# j8 G; ^2 d
  1817. 4 y* z: C" h7 Y, |% R
  1818. ;opcache.inherited_hack=1) A  u  O1 q* e) ^0 v
  1819. ;opcache.dups_fix=0& w) P) r/ T% j' h

  1820. ' t1 P! P8 h6 C2 F# I+ _" E
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    - l& o: B: K0 G" h
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    & i" N+ ~$ p" [( i( M
  1823. ; that should not be accelerated. The file format is to add each filename
    0 f- x( H: x& M+ {3 h' x$ ~0 M
  1824. ; to a new line. The filename may be a full path or just a file prefix
    4 {- O% i; I; X/ _
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    - A9 T& F4 |7 j! u
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    1 _' l/ i0 J5 q2 ~4 d7 O4 [, h0 J
  1827. ;opcache.blacklist_filename=
    + R0 V" Z$ s1 d) t
  1828. ( s" u3 U- `5 b/ V- ^
  1829. ; Allows exclusion of large files from being cached. By default all files. T% G5 {9 |3 `1 N' L
  1830. ; are cached.4 Z( C6 N/ w" b0 Q: e
  1831. ;opcache.max_file_size=0
    ; L- w7 T. q; ~" V2 M

  1832. 0 J) L8 Q' O: l. E9 x- f
  1833. ; Check the cache checksum each N requests.
    7 Q4 I( n3 M1 g. i3 w# J
  1834. ; The default value of "0" means that the checks are disabled.$ O. k9 V0 N  m
  1835. ;opcache.consistency_checks=0' x: B  u' {) e+ W# }

  1836. 7 f2 b& O' i9 \# \
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    : K) d: a, m) G% s
  1838. ; is not being accessed.
    : {4 A0 B/ z& o# `) r0 n
  1839. ;opcache.force_restart_timeout=180; O6 Y8 [8 B6 R% Z$ f# Z; K

  1840. 2 \7 p) e: ^5 H4 c# n/ k* q
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    " R" U2 Z8 c" N3 a! G
  1842. ;opcache.error_log=8 C# ?) j; R" e

  1843. ' ]: V6 E! E+ R' \# z
  1844. ; All OPcache errors go to the Web server log.% a+ i- N# R( Z  P
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.7 w6 s+ s) G3 X: y  Z
  1846. ; You can also enable warnings (level 2), info messages (level 3) or! x( K. e5 M* i& I( O& F& q
  1847. ; debug messages (level 4).
    " ^- ~' e. d3 P7 E) J( }. ]5 d4 W
  1848. ;opcache.log_verbosity_level=1
    9 q, l% j7 [6 Q

  1849. 4 P1 j& D1 r. Q2 }/ F
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    ' K$ ~$ m+ o3 [; g* {/ v$ B& p
  1851. ;opcache.preferred_memory_model=
    0 x: j0 a# z/ g3 ]1 U
  1852. $ J! z  b7 W* X% A+ \9 o
  1853. ; Protect the shared memory from unexpected writing during script execution.! \3 w  W, K1 X9 g& s5 u5 T
  1854. ; Useful for internal debugging only.
    ( W' A- {% T* L6 {
  1855. ;opcache.protect_memory=0. D' R+ u, O, ~2 s6 ]

  1856. : K: ~: h/ V' o* B/ `) {6 x
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is% J5 ^, B% T5 Y
  1858. ; started from specified string. The default "" means no restriction, Z6 |( N5 J* b6 t, l! K
  1859. ;opcache.restrict_api=
    * K% `: q1 b6 I) c$ }

  1860. / e) J" a: \; ?' ?' ~
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP" w+ \( \8 |7 r: ]2 e
  1862. ; processes have to map shared memory into the same address space. This, c7 E/ b, b" x0 m
  1863. ; directive allows to manually fix the "Unable to reattach to base address"# E5 p- ~  C# `3 G2 x" }7 |
  1864. ; errors.
    9 C1 T% U8 u1 [% D
  1865. ;opcache.mmap_base=# ^" q5 W: ~+ N" r" z+ H) }& Z7 W

  1866. 8 v/ H" z; _  h3 t' L
  1867. ; Enables and sets the second level cache directory.2 Y, d( `' W9 R0 v4 b9 X
  1868. ; It should improve performance when SHM memory is full, at server restart or6 @2 p0 G- Q& H' L5 \" @! u
  1869. ; SHM reset. The default "" disables file based caching.9 p- C7 A1 Y+ X$ e5 X2 L/ w
  1870. ;opcache.file_cache=
    1 `2 |/ a3 h* {3 g
  1871. 5 |) b7 z( i: B  ]
  1872. ; Enables or disables opcode caching in shared memory.
    . l7 [4 ?" V/ ^/ Z
  1873. ;opcache.file_cache_only=0/ U5 \7 C- p; T1 h; M7 D

  1874. % b' n2 F7 Q1 \( U
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    # i! J; c$ e# Q( E' k. y
  1876. ;opcache.file_cache_consistency_checks=19 V) i( a/ O/ s  E8 f3 }
  1877.   H$ h  T' j: ^; `/ |4 M: d
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    ! T0 s) @  g' L' t7 m9 @
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file" M2 f) E* a4 j" [$ S
  1880. ; cache is required.( {: K+ {  E) K  S$ T6 \- q' [( J
  1881. ;opcache.file_cache_fallback=1
    2 ^( O0 Z8 L5 R
  1882. ' s( w0 z% x4 W5 u* ^! h
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    & I- W. E2 `; F, ]  C& }
  1884. ; This should improve performance, but requires appropriate OS configuration.4 _- [, I& \6 ]2 z& t# N
  1885. ;opcache.huge_code_pages=1
    6 ]% a- t7 f4 m4 B
  1886. 5 K8 e: p) m1 n( w( W0 k  H+ ~
  1887. ; Validate cached file permissions.
      u8 {3 h2 V; ^
  1888. ; opcache.validate_permission=0
    1 v) Z: A9 @; N& I& y/ L# E$ U
  1889. 1 |  k2 T+ D2 d/ P7 x1 ?0 t
  1890. ; Prevent name collisions in chroot'ed environment.
    ; T: f+ p( d9 s- Y7 S: O1 n
  1891. ; opcache.validate_root=05 o" L$ y( H/ d3 h3 p. h& t

  1892. % _& P7 i9 s! C, Z0 u
  1893. [curl]
    . Y8 h$ t/ B  S' g6 f
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an! q% S% F) X7 V* z1 ]4 T
  1895. ; absolute path.* s! N3 Y6 a, J; b! j6 p
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    3 ]7 r/ m& x8 [- e2 X9 W; T. A
  1897. . p# Y3 i' S* X- _4 O
  1898. [openssl]  ?3 Z5 C/ h( s1 p& q; u' Q9 i
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem; N3 O' Y" g  X$ i
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should, j) u! o# ]; P" \5 I* l4 W" Z
  1901. ; not specify a value for this directive as PHP will attempt to use the
    ) x% M4 s. p% @
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    ' G% A% r$ H, V& l8 P
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    # f* q5 t6 H* C
  1904. ; option.
    ( m9 l) U* Q& C# l( g2 u" |
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    4 B0 S0 s; a  {3 @$ v6 \

  1906. 4 D. V. p% ~2 Q2 @- r2 c. {
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the8 N' h& l( s# j# |
  1908. ; directory pointed to by openssl.capath is searched for a suitable$ W" `( G+ J+ t" k; t: K, Y) g5 B# Y
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    6 u0 Y; d. z! `6 E+ ]
  1910. ; Most users should not specify a value for this directive as PHP will7 V0 c* x. v0 w  j
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    ! f' V% q% C8 ?# Z
  1912. ; this value may still be overridden on a per-stream basis via the "capath"/ T2 O1 T6 e2 g7 @% m  h8 S9 c
  1913. ; SSL stream context option.! E3 X6 ~5 ?4 t2 P( S
  1914. ;openssl.capath=+ z- C; R8 U' q. @: a
  1915. , F, X) J# h- M8 O
  1916. ; Local Variables:
    / A9 }( s1 ~) b( \  Z3 e
  1917. ; tab-width: 4
    " V$ a% m! ?" ~4 p; C3 n" ?1 [
  1918. ; End:
    * @" b. m$ j5 u' @: x

  1919. ( P8 P1 o% `$ e  [3 ^1 o+ x3 f- G
  1920. ;eaccelerator
    2 C: p: N- b: }  c4 o6 B! F
  1921. . u2 m; k$ t% V+ x0 N+ j2 L
  1922. ;ionCube; p' F$ F' h$ Q. h! E

  1923. ' _$ Y& ?/ @% C
  1924. ;opcache& X5 R( {3 D4 {

  1925. . G' r: f, m: S4 K
  1926. [Zend ZendGuard Loader]2 e% V3 O5 E/ S6 t$ A( r
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.6 R6 S2 N+ X' ?. F" E) X& v. f. b
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so3 q. M$ s3 A. p% p( A5 b8 `" v4 Z
  1929. ;zend_loader.enable=1& U) |( v8 P8 }  @, \" [) M$ |$ M
  1930. ;zend_loader.disable_licensing=0# m1 w: M' C2 I- z- r* W5 T
  1931. ;zend_loader.obfuscation_level_support=3
    ) B5 z5 G  N2 x& ^: F7 p0 }/ O
  1932. ;zend_loader.license_path=' _" `( s2 s0 o0 S5 d7 ?3 e( M' F

  1933. ' I6 Q3 \' T+ `6 [5 `, B! Y
  1934. ;xcache/ n& I9 o# ^6 E% g3 R3 b4 ]
  1935. 4 ?3 i' ?* N+ I% }$ s: `
复制代码

+ f# ^6 I1 T/ `
1 b7 O" U% V) n6 h% m3 V& y) F
; {3 I( T7 ^9 q8 [
% q0 w$ [3 u8 T" n+ {( R
" ~: W5 q4 X* j' w- }& X# {# R) h* e) x' ]! r  n9 m' \

0 i) a# j& \  q5 Y, X( e( aPHP5.6版本原始设置  `: |/ d$ c# j8 }% \9 H

. a, m: E( I7 e: ^# r% A) X# }0 b4 M2 j
  1. [PHP]. s# V5 u: `/ m$ j

  2. 3 Q0 W2 C! d7 p1 n; r6 v# b, L
  3. ;;;;;;;;;;;;;;;;;;;
    & B8 H, _8 C- g
  4. ; About php.ini   ;4 t9 v) W% T( }1 {- I- B
  5. ;;;;;;;;;;;;;;;;;;;9 p4 n& \$ P# @3 P- m# u
  6. ; PHP's initialization file, generally called php.ini, is responsible for% A; z1 E' R1 K$ [7 d& y5 E
  7. ; configuring many of the aspects of PHP's behavior.) D7 @7 ]  Y- Q) g) r5 i1 t' t  Z
  8. & y# {/ ~. s, [0 |
  9. ; PHP attempts to find and load this configuration from a number of locations.4 p+ j4 u6 b! z0 Q4 Z# _9 z
  10. ; The following is a summary of its search order:  o7 A7 g$ Q. y% @. w5 v
  11. ; 1. SAPI module specific location.# ?8 \, G# J3 X2 L( T; h* e/ B5 P
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)& l5 r" l3 |) c% t) M7 Q. f0 w9 x% |
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)- ], \8 k# O' A/ i8 C6 |  K0 G
  14. ; 4. Current working directory (except CLI)
    ( [6 o) t( Y. e! e$ E, H: C
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    7 E  ]' ^1 \1 W  Z' h6 Y- z, m
  16. ; (otherwise in Windows)& X9 N; b+ y. v  n+ o5 {
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    + u( O. W& D) k+ K" G2 }5 d- j
  18. ; Windows directory (C:\windows or C:\winnt)
    " j1 d6 t. {: k( j$ w7 W
  19. ; See the PHP docs for more specific information.. v& P# P9 L( U8 Q4 F
  20. ; http://php.net/configuration.file
    + h: Q: u$ R( `. S
  21. + n7 m0 \! ^7 @1 h- w4 n$ E- |: _
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    ' f4 G  W. L5 D. p2 E3 L
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    4 R/ `4 J6 G: F
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    7 b' a* R% l3 O' r# {
  25. ; they might mean something in the future.
    5 N7 T$ }% C2 C. {! ?$ J8 e

  26. % a" S. Y. Q' T9 }1 y2 }' L0 q, i- e
  27. ; Directives following the section heading [PATH=/www/mysite] only
    6 D9 V. ~# q. F* B' V* y+ e* q
  28. ; apply to PHP files in the /www/mysite directory.  Directives. z8 [4 M  {8 b0 v3 s+ \
  29. ; following the section heading [HOST=www.example.com] only apply to
    * D: i& M& `7 `0 ^6 h% C$ D
  30. ; PHP files served from www.example.com.  Directives set in these
    3 L  y" D, v7 m+ c: b: d. C; D
  31. ; special sections cannot be overridden by user-defined INI files or
    % x! S6 _. z9 q* D9 [
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    2 S' n9 g4 F) Y
  33. ; CGI/FastCGI.4 o1 ~9 \  F5 g( f' w, }, H( H  I
  34. ; http://php.net/ini.sections
    + j6 R; W' w; M/ U/ ^. Y. B$ M

  35. : c, y( A4 v, [+ E0 [
  36. ; Directives are specified using the following syntax:( l- e8 ^7 R0 @6 F! @3 Y) e
  37. ; directive = value
    1 v- q" }9 t; q# T. c
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.; ]- f; d6 w% F2 H0 z
  39. ; Directives are variables used to configure PHP or PHP extensions.4 A) n3 F# @1 E1 K
  40. ; There is no name validation.  If PHP can't find an expected5 t+ c, B! C6 R7 h4 D
  41. ; directive because it is not set or is mistyped, a default value will be used.
    " L! Q& e0 a/ U! v  v, W. w
  42. ; b' i" w+ |( c* j# [
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one" W4 k) I! x) U4 @6 q5 ]. x- `
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression! e* _7 @) C) B* G) Q. ~8 D' b
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a/ r) p! x4 S4 A' y* ?0 w6 y
  46. ; previously set variable or directive (e.g. ${foo})) L  ?! n7 H8 S' v% U. c/ ^

  47. # a: B7 Z, \( @
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    % I8 e3 Z7 K4 |- z6 h! `
  49. ; |  bitwise OR
    / t6 r/ T9 \) ?) q2 h
  50. ; ^  bitwise XOR* A# K4 B1 g" {$ g3 {
  51. ; &  bitwise AND
    2 ~9 Y" j, ~; }8 ]; |' o
  52. ; ~  bitwise NOT  v! T1 c; Q1 ~3 Y! t: j
  53. ; !  boolean NOT, q7 b. {4 I  P
  54. 3 [) h! E0 e4 h$ Q! f
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.7 C% N/ \- \4 x0 ^2 w# ~. [
  56. ; They can be turned off using the values 0, Off, False or No.
    * n( p& d3 T2 ]6 S1 w% w5 l

  57. 0 O. [* ^# |% T4 a
  58. ; An empty string can be denoted by simply not writing anything after the equal
    & `# v$ y2 p* m5 }7 p  O( z" ?
  59. ; sign, or by using the None keyword:  T: g) V, f6 }  ~

  60. / n% o; [* `3 Z% j/ V* M$ H) y% l. X
  61. ;  foo =         ; sets foo to an empty string
    2 R/ X( M) }4 B" z' z1 z1 l9 s1 }
  62. ;  foo = None    ; sets foo to an empty string6 h  f3 Q" e  r, C& a% E
  63. ;  foo = "None"  ; sets foo to the string 'None'' t4 f' X! z; t: D1 l+ a3 j

  64. " O0 ^3 `. U! J, o7 _/ t  [+ f# F
  65. ; If you use constants in your value, and these constants belong to a
      o( b/ y* M% s$ a3 f. ?
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    ( C8 D, I! \; y/ ~4 K. q
  67. ; you may only use these constants *after* the line that loads the extension.
    & @5 @% |* g2 |: ~8 I3 K0 `

  68. , [$ [* N9 u' {1 f0 `3 w- H
  69. ;;;;;;;;;;;;;;;;;;;
    6 h: p% `  W6 F& j/ y
  70. ; About this file ;9 y1 \9 R2 @) H: x' |6 k
  71. ;;;;;;;;;;;;;;;;;;;
    : u8 y4 k2 l, s8 `* Y& e, q5 c2 R$ O
  72. ; PHP comes packaged with two INI files. One that is recommended to be used* |/ E, O& c2 a8 {
  73. ; in production environments and one that is recommended to be used in: f3 K, J+ e3 p, S% r" R
  74. ; development environments.( u' C8 O& D! P  M

  75. # o: y" n7 ~2 S' B& k- B
  76. ; php.ini-production contains settings which hold security, performance and, k  g0 V- t$ x# ]; G2 a6 `8 `# R7 Z
  77. ; best practices at its core. But please be aware, these settings may break
    : d' D7 s1 Z, j+ `
  78. ; compatibility with older or less security conscience applications. We
    2 ]( r1 G4 B) |2 ]5 h
  79. ; recommending using the production ini in production and testing environments.$ W' E4 }: v2 y* z3 U; R7 C

  80. % g( ^/ z6 Y( }. ^; c4 ~# o
  81. ; php.ini-development is very similar to its production variant, except it is
    - X4 M! a+ z' C# ^7 Z2 f
  82. ; much more verbose when it comes to errors. We recommend using the& g2 e6 Q4 S" V: ~
  83. ; development version only in development environments, as errors shown to) ]( K3 K; K+ x5 a  J8 H9 M
  84. ; application users can inadvertently leak otherwise secure information.: ]. Q' Q) N7 Q$ Q/ S. f4 w+ q# y

  85. . J4 ]" b6 s$ i: ]8 ?6 F* E5 h
  86. ; This is php.ini-production INI file.
    + S4 J$ q: A6 d
  87. + m1 G$ F- E+ D
  88. ;;;;;;;;;;;;;;;;;;;$ z( C5 Q5 K  C
  89. ; Quick Reference ;
    ! t8 }( f& e! s* b9 {( J' k
  90. ;;;;;;;;;;;;;;;;;;;  v; G0 m% P7 _1 ]7 N
  91. ; The following are all the settings which are different in either the production
    . G2 X4 f% J+ W6 B- @) F. J& [- Y
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    ! y) I$ m+ P* E3 y# N% K
  93. ; Please see the actual settings later in the document for more details as to why
    % [% T# G+ g# e0 z
  94. ; we recommend these changes in PHP's behavior.
    " ?4 E8 |* m  Q2 D" k, r$ z* m" `
  95. 7 t  B1 C& v3 Q8 T% c. |- c
  96. ; display_errors1 Y$ q+ C, Y9 W9 [: N1 l
  97. ;   Default Value: On
    2 p; X( O6 u. a8 A4 c
  98. ;   Development Value: On1 m% I( h2 g6 u' m2 j0 a# E: x7 H' V, h
  99. ;   Production Value: Off' N+ b1 G0 X5 A; ?- t% |
  100. $ v5 }. X- R0 u% y0 e3 u9 |# l- X
  101. ; display_startup_errors- I% k5 l  V, u+ Z
  102. ;   Default Value: Off# `% \, U- I0 g
  103. ;   Development Value: On- y, Q* g2 T) E5 L6 f. S. N
  104. ;   Production Value: Off' @7 ?9 P5 r- A/ t8 ]/ c% E

  105. $ l' Q8 R. k% N# S9 m/ b
  106. ; error_reporting: l9 J' W6 s: p% ]" H, m! x+ s
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED, t0 ]# h. X& K8 E) d
  108. ;   Development Value: E_ALL) V/ K) l) o( t$ i9 Z" P
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT3 q5 |6 _4 q5 S9 [

  110. ( y0 L" p: Z" i+ Q% n
  111. ; html_errors9 f7 g, {' [& H; h3 B" B% D
  112. ;   Default Value: On6 h5 P* Z3 q+ w  f
  113. ;   Development Value: On
    1 x' ?: ~/ L/ |1 U: r1 W* f( }
  114. ;   Production value: On: B& }4 L1 b  g3 K! ~, J7 g/ w

  115. & X# k/ X6 M" }8 N; j" `( M* i
  116. ; log_errors
    + r; k, |# _# G- a: U# o
  117. ;   Default Value: Off
    $ o6 U& c$ |9 S# m+ S2 s' e+ d
  118. ;   Development Value: On' }( T, `- j" `: z
  119. ;   Production Value: On& E  p: B7 @1 ^4 b/ p+ g! D8 x

  120. 8 V) g% E9 f8 R. ?' r, c
  121. ; max_input_time1 ]  P5 |* N/ g* u9 ?! K
  122. ;   Default Value: -1 (Unlimited)
    2 W4 l& u0 S2 b, @7 m8 H' b
  123. ;   Development Value: 60 (60 seconds)
    * O0 t4 K8 p* c9 F# ?6 `
  124. ;   Production Value: 60 (60 seconds)
    " ^0 ~% p4 h3 c& U* ]1 H! B# g
  125. 8 w1 B  m. c  M' R5 O- \/ J1 L
  126. ; output_buffering
    ; x9 ?5 W/ U  V, C2 c+ h# K
  127. ;   Default Value: Off
    # g7 h, q$ F9 w$ g3 i
  128. ;   Development Value: 4096
      W+ I; U2 z1 A5 z
  129. ;   Production Value: 4096& t: ~1 W) ?( E( C1 O

  130. + w( s6 s" H& Y# B/ a2 }2 C& r
  131. ; register_argc_argv
    1 C6 O" L4 m# h9 Q  n; l
  132. ;   Default Value: On/ j# I/ p9 \9 d. h/ d
  133. ;   Development Value: Off
    ( w1 v$ ?$ f( ]+ }
  134. ;   Production Value: Off
    2 M$ N* y9 p3 R$ g
  135. ; G" y/ V2 t7 f$ L; Z5 R
  136. ; request_order
    $ |. C; {- _5 y2 _
  137. ;   Default Value: None
    ) I7 F! E: t4 C% k
  138. ;   Development Value: "GP"8 {1 J$ {+ u' `( q/ `4 n/ R) }" ?) H
  139. ;   Production Value: "GP"1 l7 T6 ^& w9 t* w! R# q
  140. + N( q" u  @# O" k' {  E
  141. ; session.gc_divisor
    . F6 w: R, n; F3 t' ]8 |6 o. O0 ^
  142. ;   Default Value: 100
    0 i2 P+ o- ~" X) K9 y" t( }# Z
  143. ;   Development Value: 1000
    8 \7 ?1 i- [4 S$ X& Q
  144. ;   Production Value: 1000
    8 o( e3 K9 D" Q+ Z7 ]+ r1 W
  145. * D" I3 ~* o( m; A8 B$ @
  146. ; session.hash_bits_per_character3 ^* \' v8 ]9 ?
  147. ;   Default Value: 44 q# [) z+ J( ^" Y2 q. c7 i
  148. ;   Development Value: 5
    2 b6 @4 K- ^; s6 ~1 B7 y
  149. ;   Production Value: 5. k7 ]& f. u9 `; O. R' w
  150. 1 R3 E% t$ m+ G
  151. ; short_open_tag
    4 J# E: b1 h' {6 Z
  152. ;   Default Value: On
    . ~# P/ j5 x8 Z' y# W9 R: q* e
  153. ;   Development Value: Off
    1 Y1 b  Z0 ]! P# Q$ {  _9 l) L
  154. ;   Production Value: Off" w$ w# b' z, g& Z6 q) a

  155. ; c& I' a) q% Q. Z
  156. ; track_errors( V* h9 Q. M9 a7 ^
  157. ;   Default Value: Off
    ! l7 _. ~+ v5 e6 A( Q
  158. ;   Development Value: On
    * @4 E: S' U+ @% o7 k- k
  159. ;   Production Value: Off: E* `; H0 d. W( ^
  160. 0 ?3 C; t7 T8 l
  161. ; url_rewriter.tags$ k9 H+ p- n9 g) b" V( d+ X- q1 M  _
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ' p0 ?8 o. L$ g2 q/ O
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ' L4 }- Q; F/ L& C
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ( x6 j# o# ^4 d) p8 W* h" C3 k

  165.   @3 s1 @7 ]# l" g
  166. ; variables_order# W1 p& p& f. G2 k
  167. ;   Default Value: "EGPCS"" o. y' X7 K6 c& \2 L2 B! ~
  168. ;   Development Value: "GPCS"+ P4 j9 ]) R3 J1 E- u+ O$ y7 K1 h6 `
  169. ;   Production Value: "GPCS"- \, v4 r" n$ ^8 x4 A% R
  170. 9 K. @9 Z$ ^! `- G* _8 F, D
  171. ;;;;;;;;;;;;;;;;;;;;
    4 [- v2 n( H! Y* k( ^
  172. ; php.ini Options  ;, x" m$ k( L+ P9 M/ m* v
  173. ;;;;;;;;;;;;;;;;;;;;9 _7 P4 N( }7 Z
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    ( m+ V2 G# A" Z9 H* u
  175. ;user_ini.filename = ".user.ini"
    & M# [4 e' O- x* v' z9 i/ J

  176. . {, s; ?) P* o
  177. ; To disable this feature set this option to empty value
    0 p" I% v2 g$ H% P7 H6 B  _
  178. ;user_ini.filename =7 `7 l% }! q% K/ R  C

  179. ) _$ j! `7 y. U& a1 Z) `
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    , F' w3 y/ s4 x8 @
  181. ;user_ini.cache_ttl = 3003 u9 D3 Z5 S- _
  182. 1 a" i8 ^1 E9 W. {; Z
  183. ;;;;;;;;;;;;;;;;;;;;
    ! j; x, W4 x4 B% j" V
  184. ; Language Options ;
    * I- ~/ Q. s6 D8 D
  185. ;;;;;;;;;;;;;;;;;;;;0 q2 f. X4 L8 E6 ]$ f

  186. 1 M4 w/ R, q. C- e! k1 P! v/ k' O/ M# Y- U
  187. ; Enable the PHP scripting language engine under Apache., h. x& x* g- Y# p5 Q( D
  188. ; http://php.net/engine
    & B9 M/ T8 ?; Z) c
  189. engine = On( V* G4 P0 P9 B
  190. & ^( L1 o+ Q; L  C
  191. ; This directive determines whether or not PHP will recognize code between9 u* q, J2 V! _" _) p6 d
  192. ; <? and ?> tags as PHP source which should be processed as such. It is& X! L2 o5 D8 a# d$ W! S0 M' X' J7 Y
  193. ; generally recommended that <?php and ?> should be used and that this feature
      ?+ Z  d" `8 P/ a
  194. ; should be disabled, as enabling it may result in issues when generating XML: Z6 z% N# j. a
  195. ; documents, however this remains supported for backward compatibility reasons.# t  Y1 M' y, m. F2 x' U4 l) o
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    6 ]( ~1 s* @% u& Q0 g
  197. ; used regardless of this directive.' Z/ r7 O+ n0 C8 R6 K5 x7 P5 d
  198. ; Default Value: On
    0 A5 C! h- W" F$ {$ t
  199. ; Development Value: Off7 \& A% F! M' k
  200. ; Production Value: Off+ G3 C6 l  `; Z$ C1 Y
  201. ; http://php.net/short-open-tag
    9 K6 N! |: U4 b
  202. short_open_tag = On. W- w( Z+ e: t! N5 ]6 x6 a7 }
  203. 2 e- F' U/ c% O5 B( L
  204. ; Allow ASP-style <% %> tags.
    ( a3 [( ^) X8 F8 n2 _
  205. ; http://php.net/asp-tags: \, Q3 a3 L0 _- A6 Y, v9 L% l! [
  206. asp_tags = Off
    % s- X# N( M7 j0 B+ p
  207.   G) S4 _5 Y7 o+ A: y' _, F+ ~
  208. ; The number of significant digits displayed in floating point numbers.
    ; Z, |+ h, V! n
  209. ; http://php.net/precision  W6 T% }* j# }/ O# S  A
  210. precision = 14
    - x8 Q: ~% o$ x9 A$ g* t& O
  211. ; d7 y% {" l2 Y6 f; n: ?! b
  212. ; Output buffering is a mechanism for controlling how much output data( ]" q5 s% p- l/ p: w
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that8 u# P$ D5 E0 d! a5 w( ]- p' Q
  214. ; data to the client. If your application's output exceeds this setting, PHP7 x$ ?' H. U+ Z6 t: E' D0 B2 E8 B% y
  215. ; will send that data in chunks of roughly the size you specify.
    & Y  M0 Z1 f8 a7 Y8 Z' U9 _4 ?, j& @
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    3 u  C7 Q! X$ C5 V1 B* C
  217. ; interesting side-effects depending on your application and web server.! t, x; B  {) k+ y
  218. ; You may be able to send headers and cookies after you've already sent output
    9 v4 B& A$ ?3 W! \5 \+ I
  219. ; through print or echo. You also may see performance benefits if your server is6 y- b* g3 n* _
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    ; T1 Q5 P# P6 G: R, b/ j; ]9 k
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    3 R7 ]1 a- ]3 e
  222. ; reasons.& l9 Q  h' h) l; ~# W
  223. ; Note: Output buffering can also be controlled via Output Buffering Control* E, j( f# i+ |! n
  224. ;   functions.
    1 m# b% z9 l, p! `
  225. ; Possible Values:
    ) H0 `0 a* v/ b8 l9 p: R9 Q' G
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    ; k. K+ o! ^0 W
  227. ;   Off = Disabled9 g1 s$ D3 J/ R( Y3 R" b) i
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    : t+ V6 P- b4 d; J0 s9 t! ]+ F; x
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI+ M6 |/ D3 s/ |# d9 A4 d7 a2 U" [/ e
  230. ; Default Value: Off
    9 N! ^, R% g# y9 D5 D3 M: b" [
  231. ; Development Value: 4096
    7 ~2 V- H! A! V4 {8 D; Y" t9 B
  232. ; Production Value: 4096
    2 D5 E, C* Q6 |1 z1 l
  233. ; http://php.net/output-buffering
    ! R6 r& j9 p5 c: j" K0 b
  234. output_buffering = 4096
    4 W& P- ]' f5 N8 b7 `

  235. 9 h; Q+ }: L* p+ z1 B
  236. ; You can redirect all of the output of your scripts to a function.  For$ r, F6 |- ^: w0 V5 D
  237. ; example, if you set output_handler to "mb_output_handler", character& T! F# o) D4 p+ p2 v/ _
  238. ; encoding will be transparently converted to the specified encoding.
    $ E& \: f" F  [% }" Z  d
  239. ; Setting any output handler automatically turns on output buffering.: n  g4 R5 P, x: M/ M
  240. ; Note: People who wrote portable scripts should not depend on this ini
    3 e' \9 M% d& _+ Y* O9 b
  241. ;   directive. Instead, explicitly set the output handler using ob_start().9 a& A$ I# Y! P' j
  242. ;   Using this ini directive may cause problems unless you know what script
    9 X& h' {1 B, `% h
  243. ;   is doing.
    : x1 S- F7 ^9 ~  m& r3 ~" F
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    ' A5 a4 D, ^. }# N* h# [. v
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    % m9 x  p- ~! @1 P  X3 ^& C3 U
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    # T0 Q- W) ?& ?- G) }& b- P
  247. ;   Instead you must use zlib.output_handler.
    : k$ d8 o1 z0 \7 N, \. P
  248. ; http://php.net/output-handler+ k8 n( ]+ S( H* X+ S  D# _+ L
  249. ;output_handler =. H/ e! R' K8 @2 ?  t2 R

  250. : q9 [' }0 ^2 [) i
  251. ; Transparent output compression using the zlib library3 m+ z/ z. t0 k: Q
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    " u; `( i% o$ G- l$ u! d+ J+ c0 s
  253. ; to be used for compression (default is 4KB)
    & H+ E6 w; n% X3 c4 B
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    ( z; h6 q5 M& ?% c! m" j; c
  255. ;   outputs chunks that are few hundreds bytes each as a result of! `$ ~7 n( I0 H& ?7 y$ F+ w+ `. K
  256. ;   compression. If you prefer a larger chunk size for better" a5 p) w5 d7 U* M) x8 U5 ~3 Z0 J
  257. ;   performance, enable output_buffering in addition.* T5 r! p( y  I: v3 ~6 K* K; h
  258. ; Note: You need to use zlib.output_handler instead of the standard
    7 a1 |: l6 A& C+ ]
  259. ;   output_handler, or otherwise the output will be corrupted.* K' o4 |0 @/ V+ q, w$ |
  260. ; http://php.net/zlib.output-compression
    5 R/ H; _( z! N# n
  261. zlib.output_compression = Off$ I# f6 @0 I( }! S4 X

  262. " S6 M! {- q" M$ m5 {: x
  263. ; http://php.net/zlib.output-compression-level& M3 }/ I2 K% M8 _  z+ m- v
  264. ;zlib.output_compression_level = -1( F2 ^- ]) Y$ {9 v4 l
  265. 1 I) S" \- z6 N' `( D
  266. ; You cannot specify additional output handlers if zlib.output_compression8 `6 ~+ d) F/ w- }: f5 T
  267. ; is activated here. This setting does the same as output_handler but in
    ; z+ F! V  `' c5 l4 o) y, c* s' t; T
  268. ; a different order.2 x# A% f; w. [( r
  269. ; http://php.net/zlib.output-handler4 I3 n% g9 A/ P8 l% q. N
  270. ;zlib.output_handler =
    7 {: V) B% E9 o8 D# t8 A5 A

  271. * c9 i  F7 I6 d( P/ s  I1 b5 U
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    8 e8 U" M1 E5 g7 R, _( _: P8 p
  273. ; automatically after every output block.  This is equivalent to calling the
    ) i# a9 n. W# U
  274. ; PHP function flush() after each and every call to print() or echo() and each7 F* R$ Q0 V# d+ Q/ K
  275. ; and every HTML block.  Turning this option on has serious performance6 K7 b* Z$ a8 n0 F1 n
  276. ; implications and is generally recommended for debugging purposes only.
    9 b# A# l; q" L* @- `" k* t
  277. ; http://php.net/implicit-flush1 D2 }' I" b7 t( v
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
      A) V+ l% ?% u- e8 B) g2 c0 B7 W4 e
  279. implicit_flush = Off9 b9 l* M3 F1 `( c' m  [/ m
  280. & e! N- P0 v% M+ J
  281. ; The unserialize callback function will be called (with the undefined class'# s9 g( _- r: N; y' b
  282. ; name as parameter), if the unserializer finds an undefined class
    4 p5 x' ^" N! q4 D/ r; k$ q1 }
  283. ; which should be instantiated. A warning appears if the specified function is
    4 p) v, x. |+ V/ C+ M* E8 c! f# |) |/ Y
  284. ; not defined, or if the function doesn't include/implement the missing class.5 o# S& u$ x/ P' V, z
  285. ; So only set this entry, if you really want to implement such a! z7 F! F" m, I$ d6 ^
  286. ; callback-function.( v+ M% @) s, F+ x7 r8 F$ L
  287. unserialize_callback_func =
    1 q8 [" K: P* r+ o9 Z8 o5 @
  288.   X6 Q- r. D0 J  `( t- n  I6 B
  289. ; When floats & doubles are serialized store serialize_precision significant0 k4 C, k" H$ q' m: l7 w4 T: R
  290. ; digits after the floating point. The default value ensures that when floats9 L1 R+ @% T+ P% h
  291. ; are decoded with unserialize, the data will remain the same.0 b& A5 C2 ~5 a- \; _
  292. serialize_precision = 17
    - g8 k% K/ h5 K
  293. # Q: o3 W7 C6 ^$ E" l+ t: P
  294. ; open_basedir, if set, limits all file operations to the defined directory
    # I( O3 }8 i3 C8 R8 {) z
  295. ; and below.  This directive makes most sense if used in a per-directory/ S& b: G) K" W. f! {; C
  296. ; or per-virtualhost web server configuration file.
    - L; Y) p+ W* A4 }0 n
  297. ; http://php.net/open-basedir4 Y" ~3 c" {7 `7 V! f# b4 O$ w+ I/ S
  298. ;open_basedir =/ m9 j0 U4 |7 G9 G! P

  299. . |8 u7 ?3 }- F
  300. ; This directive allows you to disable certain functions for security reasons.
    1 q1 k1 E& a& X! g7 `' a6 Z  `
  301. ; It receives a comma-delimited list of function names.7 `7 T6 M6 p5 b3 h& ], \
  302. ; http://php.net/disable-functions% a3 N7 a+ u- X7 `/ q8 [- n( Y1 U
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru! D* P$ z0 ^2 c0 I0 w* g

  304. 2 c: I7 F6 b/ p9 z7 i2 F* K: u
  305. ; This directive allows you to disable certain classes for security reasons.
    # g' C' b  N% ?& L4 ?8 c
  306. ; It receives a comma-delimited list of class names.1 w! f& Q$ d% L( T
  307. ; http://php.net/disable-classes
    9 j) Q% p( ?! r+ X- i
  308. disable_classes =
    6 e2 k2 K2 `, _% z& V
  309. 0 I5 x6 v1 o" _7 b
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    6 e# {8 t$ @3 O7 H2 `( \
  311. ; <span style="color: ???????"> would work.
    $ o# P4 I) Q. t' [" {
  312. ; http://php.net/syntax-highlighting
    7 ?* R" j& u; S! x7 I& g9 j" A4 t2 q
  313. ;highlight.string  = #DD0000
    , k8 ^* W" G+ ^% K1 u& x3 p2 h9 `: b
  314. ;highlight.comment = #FF99008 @- U! j/ g0 s
  315. ;highlight.keyword = #007700" K3 }# R# ], x# d
  316. ;highlight.default = #0000BB
    : n* ]  f0 l9 n4 W8 q1 j" x+ [
  317. ;highlight.html    = #000000
    ! M! @* B# {5 h; V

  318. 9 S1 ^( |- [% ?2 e
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    - c; ~; x, ^6 m* j# ?: x1 c! a- @
  320. ; the request. Consider enabling it if executing long requests, which may end up" y1 g' K4 l! M' u+ ^7 q& i5 I2 T
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior! _, o  x# ?2 ?, d2 a6 x' Q  i
  322. ; is to disable this feature.$ W' o3 P- \1 S( f( j
  323. ; http://php.net/ignore-user-abort. W* @8 {3 G, q8 E, ]" |# y0 R
  324. ;ignore_user_abort = On4 b- s( Y3 F0 m+ \; v+ ~

  325. 4 x7 x/ S7 n, T
  326. ; Determines the size of the realpath cache to be used by PHP. This value should; ]/ c5 B, ^/ a  x& T
  327. ; be increased on systems where PHP opens many files to reflect the quantity of8 H- C* H3 T8 C6 Z& H. e
  328. ; the file operations performed.
    / P4 j/ \8 D$ q3 p
  329. ; http://php.net/realpath-cache-size
    6 S& s$ s9 A# e) l
  330. ;realpath_cache_size = 16k% Y! _4 B. U/ t. N- {
  331. 7 N% u) ]; w( J: O4 w7 R
  332. ; Duration of time, in seconds for which to cache realpath information for a given( O9 q  f8 Z, L( K4 q1 D
  333. ; file or directory. For systems with rarely changing files, consider increasing this; S! [% q( e+ C4 a$ E
  334. ; value.
    - I/ B% \9 F% h
  335. ; http://php.net/realpath-cache-ttl& l0 `9 s# v# M, q& R
  336. ;realpath_cache_ttl = 1208 C; c1 d8 D+ V6 K; ?% L
  337. % I" b( S% d& Y( K8 {5 b
  338. ; Enables or disables the circular reference collector.
    , Y3 P3 q) Z' J1 D2 B! Y
  339. ; http://php.net/zend.enable-gc
    ( T6 t0 e9 e) j6 r
  340. zend.enable_gc = On* m( f6 z: \2 b8 z  j9 [. V! |/ Z

  341. ! K0 G) @; e/ d4 f' U- i; n
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    - n5 t2 Q  r- u7 }6 ^
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such, A( C' C5 j" C% I) d
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    , v  s0 ]  F9 S7 s4 u, p$ e2 k# A
  345. ; Default: Off
    6 B/ R9 J% q' Z+ P+ ]
  346. ;zend.multibyte = Off
    8 e. I# ?! c3 ~- y
  347. * q6 B2 L+ n: p$ V& u& [
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    ! g0 m0 y  ^" p+ Q/ X
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    , S# g6 U% t; N$ M, R/ Z* G
  350. ; Only affects if zend.multibyte is set.
    , t  o: V$ ]8 y: \8 F
  351. ; Default: ""
    . |' C6 P/ V1 R9 k
  352. ;zend.script_encoding =
    $ l1 w; S* K( v5 i

  353. 0 k% ~) e9 e* a1 D: T
  354. ;;;;;;;;;;;;;;;;;
    4 W1 ~3 G6 X9 H6 n" q. C* W
  355. ; Miscellaneous ;% Q2 W, B* e; D. y7 b5 `2 B6 U3 t
  356. ;;;;;;;;;;;;;;;;;  F: f; c. {6 p0 ?
  357. ' i0 m2 T& c0 U8 p! d
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    * Y" I6 ^0 K" [/ c$ S( ]
  359. ; (e.g. by adding its signature to the Web server header).  It is no security- x! ?7 \. g2 ~& H( T  b$ j4 g
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    9 k$ C3 Y7 U5 L. [& r; Y( _7 ^
  361. ; on your server or not.% ]2 d- F7 C) p* ^4 K3 d( L1 Y
  362. ; http://php.net/expose-php
    : _0 T$ F- \  E
  363. expose_php = On/ D- A% H+ n4 L* f4 \

  364. * Z/ P/ i2 X9 f0 |" i
  365. ;;;;;;;;;;;;;;;;;;;
    : l8 N/ [8 {: K0 L( f
  366. ; Resource Limits ;
    ! F' n  X+ m% _' _5 [) j) v6 `( h) d2 V
  367. ;;;;;;;;;;;;;;;;;;;. f6 u  \' X! S& j; A' [6 ^
  368.   o  o7 [! {4 n/ w$ \; q* `
  369. ; Maximum execution time of each script, in seconds, y1 P  E* |  [9 P7 f& u
  370. ; http://php.net/max-execution-time) r9 Q; t) g8 v7 m& m4 G
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    , F. a  K5 ?' {# k* ]- g' S
  372. max_execution_time = 300
    " ?) Z8 O# }, k1 y4 `
  373. % P6 b: O% ]( w3 y6 w* _4 I+ D" W" @+ }
  374. ; Maximum amount of time each script may spend parsing request data. It's a good0 d+ L& `% |% u" _0 o. E
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly' d7 E! m" Y4 W7 c. T) H! t  m
  376. ; long running scripts.# y0 x0 T, Q' U5 L- _
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI1 d' m2 T7 X% |
  378. ; Default Value: -1 (Unlimited)" M) O" M) x7 M( }3 j+ K/ `2 h
  379. ; Development Value: 60 (60 seconds)# p/ y* o5 z% u5 K/ S. w7 W
  380. ; Production Value: 60 (60 seconds)* v; C4 U/ V, s& }  A0 U
  381. ; http://php.net/max-input-time
    + P. ~/ l3 K2 K3 M
  382. max_input_time = 60! h' V# T6 W. n: j
  383. 9 g' C0 Z# p, d' @
  384. ; Maximum input variable nesting level
    . m; F0 G  X5 T
  385. ; http://php.net/max-input-nesting-level
    ! [7 B' h4 q0 X- `- [; T
  386. ;max_input_nesting_level = 64
    # E3 R% `+ o0 H+ _; _+ U- [
  387. " J! R/ c' P5 v- p; H  M
  388. ; How many GET/POST/COOKIE input variables may be accepted) ?: }& ]4 w  n* b
  389. ; max_input_vars = 1000
    9 b! P. l. B! }

  390. ( B1 [" ~+ f7 u8 O( z  Q0 T3 d- B
  391. ; Maximum amount of memory a script may consume (128MB)9 h$ P0 ]: S- I' ^4 T
  392. ; http://php.net/memory-limit
    3 r5 [0 b, N/ l  F+ K9 [0 L6 I
  393. memory_limit = 128M
    8 ~) S8 K/ B. B, t& ]% t4 i

  394. . S& w6 e1 a: \8 b' S5 E, e8 j
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2 i( V+ y" }$ R6 x
  396. ; Error handling and logging ;, X7 a+ B8 J4 l& Z8 S8 Q
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ) }) C' Y; t. [" g) l/ Q/ [
  398. $ u  k1 j/ d: p3 Q+ c, d3 I% C
  399. ; This directive informs PHP of which errors, warnings and notices you would like0 U" z2 ^7 U& @$ D2 }
  400. ; it to take action for. The recommended way of setting values for this
    # G! [) E+ j9 @7 q% X% E
  401. ; directive is through the use of the error level constants and bitwise* [" O: H7 w0 T
  402. ; operators. The error level constants are below here for convenience as well as9 P1 s7 x, M! J* Q4 O( i
  403. ; some common settings and their meanings.
    , D! P' E$ q) M' K( W6 [" R* j
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT- g. k2 K3 q" n( A' U+ y
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
      p+ z% I* x  v
  406. ; recommended coding standards in PHP. For performance reasons, this is the+ G; R* x; e2 @$ O: z  k3 i* w
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    ' @' D6 y7 E' o" J0 d
  408. ; resources complaining about best practices and coding standards. That's what6 H" {/ A% W( a) |5 B& e/ ]) z" o) m
  409. ; development servers and development settings are for.9 n3 ~* \/ i) P" J% B9 U9 i! q% O
  410. ; Note: The php.ini-development file has this setting as E_ALL. This. u+ h7 \6 r: a$ K$ x  G: C- E
  411. ; means it pretty much reports everything which is exactly what you want during
    0 T. g1 P) {* W: R
  412. ; development and early testing.
    ' x: S* e7 z! @, l
  413. ;2 s+ Q1 x3 _: ^, R$ i
  414. ; Error Level Constants:
    # D( O! y0 M" s( V
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    + Z8 ?' `" u; l* E
  416. ; E_ERROR           - fatal run-time errors
    ! J  n# e. `: G
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    5 i2 W3 a4 ?) X8 _+ I
  418. ; E_WARNING         - run-time warnings (non-fatal errors)1 _5 f3 @, x9 ?+ i8 ?9 R
  419. ; E_PARSE           - compile-time parse errors5 P$ S2 y% J' p( Q$ D& c
  420. ; E_NOTICE          - run-time notices (these are warnings which often result$ V; r& Q* Y+ z# [
  421. ;                     from a bug in your code, but it's possible that it was1 @2 ~8 M! ]/ m4 e+ [* I
  422. ;                     intentional (e.g., using an uninitialized variable and. V. |, H9 j% [+ u6 C# c
  423. ;                     relying on the fact it is automatically initialized to an$ u) l5 K0 N7 F8 c
  424. ;                     empty string)8 d! j. N9 H& y; o+ O; x
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes5 }$ u% y1 o. S4 V
  426. ;                     to your code which will ensure the best interoperability
    % ^. g7 \* @1 {/ x
  427. ;                     and forward compatibility of your code' L9 L. V+ R0 u) t- Q* @
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    $ @" a9 v# \6 W0 |  [  ^2 f/ N# T8 P
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's3 [# t! j6 k3 d3 J0 U/ T; D9 X
  430. ;                     initial startup
    4 o4 L1 J/ D. s# h5 [+ X7 O
  431. ; E_COMPILE_ERROR   - fatal compile-time errors+ `$ ~$ t2 m9 J- O
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)/ |: ~; m  W  I4 j( U
  433. ; E_USER_ERROR      - user-generated error message
    3 I/ c) I" k* ?1 S: |* C6 |; D
  434. ; E_USER_WARNING    - user-generated warning message
    - u4 Z. r8 C/ f* I: [' s% q
  435. ; E_USER_NOTICE     - user-generated notice message
    # n$ w! Y5 p' i3 I$ L
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    8 Q1 O' H2 f9 g6 M- z
  437. ;                     of PHP
      f5 c$ Z, N: Y/ }7 ?
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    : a" B  x/ b' h8 i9 _( w1 l2 b
  439. ;
    9 e, b4 u0 Z2 \& S* E
  440. ; Common Values:* ]/ ~* C2 y. H( D: k; V
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)1 q4 V) q; I& b1 J! s8 A
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)( T/ v' S8 s  E/ [! h
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)6 {4 i, p( ]* F
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)( P' M2 c6 p( H( M/ Y4 j6 N
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    2 |, B6 S7 V8 p1 D
  446. ; Development Value: E_ALL
    / H3 G/ g# a, J0 w! V) z
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    6 v' E) V) H8 W- C
  448. ; http://php.net/error-reporting2 h( k- W' t& k) v0 X, e* \
  449. error_reporting = E_ALL & ~E_NOTICE1 u+ o4 K) R& \4 z
  450. ; ?; z+ T# Q5 i7 A
  451. ; This directive controls whether or not and where PHP will output errors,
    ) |6 m6 t, o) \; |# w- J0 M7 P) x
  452. ; notices and warnings too. Error output is very useful during development, but+ t3 o: d8 I! B
  453. ; it could be very dangerous in production environments. Depending on the code! T" o$ Y/ s- w& b( t
  454. ; which is triggering the error, sensitive information could potentially leak
    6 D  [  z' B8 l6 W, S2 F! a; c* M9 [
  455. ; out of your application such as database usernames and passwords or worse.
    + K  m. n6 u; ]7 M! o& B2 e5 C
  456. ; For production environments, we recommend logging errors rather than
    9 k' m/ }9 }# ~, B; m
  457. ; sending them to STDOUT.
    + I8 P  h  ?# V
  458. ; Possible Values:
    & |. B7 @! \) s3 J
  459. ;   Off = Do not display any errors
    * o" M4 l4 G3 z$ I
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    8 d: E+ d% O7 Q; _" p
  461. ;   On or stdout = Display errors to STDOUT# D5 e  Z, a6 E
  462. ; Default Value: On3 D! }! i4 W" E" l! ~
  463. ; Development Value: On9 y' g  H6 Y0 I( s3 O. r' X5 V
  464. ; Production Value: Off5 i" b4 U8 V6 E1 G7 d7 Z
  465. ; http://php.net/display-errors5 \: o0 Q7 l" [2 l' b, s
  466. display_errors = On- C1 h, r' u" {  L8 c. s; k- H

  467. 8 o$ \, z( A1 f$ F
  468. ; The display of errors which occur during PHP's startup sequence are handled/ D+ c; L3 n: D2 V
  469. ; separately from display_errors. PHP's default behavior is to suppress those! @4 ?/ C! V4 Z
  470. ; errors from clients. Turning the display of startup errors on can be useful in( Y3 z( ]2 G! h0 p
  471. ; debugging configuration problems. We strongly recommend you
    " C  \- S* C* T6 I
  472. ; set this to 'off' for production servers.3 }: `" \; a6 t4 k* c
  473. ; Default Value: Off8 f$ m& u" M- W' D1 M- W6 t
  474. ; Development Value: On/ v) g! U' O: ]
  475. ; Production Value: Off
    8 Y( Y2 z0 B! }+ [; i. {
  476. ; http://php.net/display-startup-errors
    ; ?; D2 u  u/ n" `$ V0 P
  477. display_startup_errors = Off
    " z+ g8 p/ I9 D8 {4 y  s

  478. ) H& q7 v6 @6 a) q
  479. ; Besides displaying errors, PHP can also log errors to locations such as a, J! G* L/ h! K$ e6 ]1 w" R5 J" k2 J
  480. ; server-specific log, STDERR, or a location specified by the error_log
    9 Y1 S# L% y4 @2 Y6 u
  481. ; directive found below. While errors should not be displayed on productions! u* r9 Q$ d' e2 c, @! L
  482. ; servers they should still be monitored and logging is a great way to do that.
    + p' x, S& [5 D+ |: l
  483. ; Default Value: Off
    + w' l0 `7 ?3 g* l" K
  484. ; Development Value: On. z/ [2 v8 C; u' q
  485. ; Production Value: On
    - `) Z* ]1 O" i6 p6 {& n0 O
  486. ; http://php.net/log-errors
    6 C8 Q' l1 P4 B) p9 K
  487. log_errors = On4 t2 H. X& l; }  l0 _; E3 f

  488. , l6 s# J* b) n/ N' e, Q. D" K
  489. ; Set maximum length of log_errors. In error_log information about the source is) F& ?* n3 t# b( U) U' b
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    ) ~8 X& h8 m& f! L- p+ Q2 G
  491. ; http://php.net/log-errors-max-len
    ; u  D8 m. H( p
  492. log_errors_max_len = 1024( `9 |3 p8 g9 n4 I
  493. + X  {" K/ M3 x/ z" S! \
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same9 s! Z/ q1 F7 q: u
  495. ; line unless ignore_repeated_source is set true.
    % j, y/ R1 _; Z  m- e2 E, ]
  496. ; http://php.net/ignore-repeated-errors
    - h- L. Q5 W! F# R. H" J: @) M* d
  497. ignore_repeated_errors = Off
    . N& }  {: u" z/ u1 p8 J

  498. 2 J2 D1 L5 A  ?2 ]! }
  499. ; Ignore source of message when ignoring repeated messages. When this setting; Q! U  s9 |+ \5 D$ J
  500. ; is On you will not log errors with repeated messages from different files or
    * d: T. ^6 ?$ ?- [
  501. ; source lines.6 G; Z& J  l5 e- n3 X/ i- }" U. [
  502. ; http://php.net/ignore-repeated-source
    : f) d! V! ^3 g  X8 Z* @' `, A# F( G
  503. ignore_repeated_source = Off9 ~6 ^) t6 j  Y$ w

  504. . L. @! \& I0 f5 G! v' z
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on6 s: ~4 I, s: P( B0 j4 T
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    : ^9 n9 I: ~9 ]( G( q+ ]
  507. ; error reporting includes E_WARNING in the allowed list
    8 [0 s5 B/ ?* p0 R: A* `- B$ [
  508. ; http://php.net/report-memleaks9 o  _1 M$ S0 N
  509. report_memleaks = On0 {& _0 a3 D& y( A! I

  510. ) c$ r$ @$ |6 S
  511. ; This setting is on by default.
    ' N2 N  C' H& h
  512. ;report_zend_debug = 0/ f6 P/ k4 u' A+ q' w+ P* F

  513.   E* f3 p+ Z& z& H
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    4 k. t3 w) D6 v( w! Q
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    8 J. ^( j  N2 p& \" X: p! `+ z3 ~
  516. ; however be disabled on production servers.2 `; v- @6 G2 I: _7 n. G
  517. ; Default Value: Off
    # V( R# z( {, K* ^( S
  518. ; Development Value: On
    0 O' _; r7 h( }. N6 _8 q% G5 y
  519. ; Production Value: Off+ {$ _. x. Z" p8 B* {
  520. ; http://php.net/track-errors
    $ K# F+ B5 o) T3 t4 ]" l
  521. track_errors = Off$ S, N- ]/ T5 h# V/ `

  522. 0 n( K+ K9 N" M, i3 X: w' z0 r
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    7 {! Y' [8 ]1 t- O
  524. ; http://php.net/xmlrpc-errors. r+ a& D) G4 q$ s; D9 v( v
  525. ;xmlrpc_errors = 0
    1 `- Y3 T" `6 \* u$ X: g

  526. 3 q; [6 g8 z* T4 U; w# K
  527. ; An XML-RPC faultCode
      L$ M6 F* ~/ T# z% `! @2 `, U
  528. ;xmlrpc_error_number = 02 `6 D+ A3 W& }% U: K3 B% N8 ~7 O

  529. - P' y* m' Z+ Y
  530. ; When PHP displays or logs an error, it has the capability of formatting the6 e9 [! V3 g# j2 o* t* V
  531. ; error message as HTML for easier reading. This directive controls whether+ c! D- b! }% J1 g6 |) G
  532. ; the error message is formatted as HTML or not.: _( q' ~$ K8 b1 i* l
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI8 _, S( n7 Z3 |+ q
  534. ; Default Value: On2 q0 s* ?" k; F# d2 o3 r/ a: g8 R
  535. ; Development Value: On
    * X0 a% Q  N& y7 u
  536. ; Production value: On
    + a) t/ e# ~5 M$ p* ]+ \' V
  537. ; http://php.net/html-errors
    9 U% Z, B- t! T  `6 E
  538. html_errors = On
      r6 f3 x' J1 t( }8 i. J

  539. ' e# T  ?: f$ C' ?
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP$ J$ L/ [; {% r( l
  541. ; produces clickable error messages that direct to a page describing the error
    + x- K# A( s# U! P+ j
  542. ; or function causing the error in detail.
    , f4 u5 k. i' [) r% R' S
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    4 V# N8 H$ D1 E) I
  544. ; and change docref_root to the base URL of your local copy including the1 ~- h- Y- v; v9 l4 l
  545. ; leading '/'. You must also specify the file extension being used including/ m, M3 L" _; N" H/ y! f
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which$ ^6 ?* a% u5 u2 A2 Q* x, T
  547. ; case no links to documentation are generated.( ^; H! M9 h; \( c1 v- d- g4 @
  548. ; Note: Never use this feature for production boxes.
    0 `% p& x- h& f+ B2 |
  549. ; http://php.net/docref-root
    ! _7 |% h  K, k
  550. ; Examples4 X! ^( p; ^9 `
  551. ;docref_root = "/phpmanual/"
    0 O. M+ O" E8 `7 D% g3 Q9 U7 l

  552. . }: ~$ f9 v. M$ |% m8 I4 t
  553. ; http://php.net/docref-ext
    * }) {) y, x# P( Z) Z
  554. ;docref_ext = .html" u: }" K" G/ c! P; m0 w# U3 V& Y

  555. ) A- l9 K( u5 }4 a
  556. ; String to output before an error message. PHP's default behavior is to leave- B( S/ c3 d* q
  557. ; this setting blank.
    ( |/ k8 j% i. y2 Q& w) d7 C* v- X
  558. ; http://php.net/error-prepend-string
    , }+ B# e& \7 z" E& r9 v
  559. ; Example:
    - F1 G$ b0 U& q3 F+ h
  560. ;error_prepend_string = "<span style='color: #ff0000'>"2 E  x( }- @% k, H& i. @3 T
  561. ) z. s/ c/ n# I5 Q  S$ R( }$ x, C4 M
  562. ; String to output after an error message. PHP's default behavior is to leave
    6 t. @9 S( @# R6 _
  563. ; this setting blank.) R( X  n4 _; Z
  564. ; http://php.net/error-append-string) ]* i$ T/ u" D; m( o
  565. ; Example:) u. F% `, E; w6 X! c( h0 F
  566. ;error_append_string = "</span>"( j( y) l/ Y, R
  567. 3 U+ k" c% Z6 Z: \- D
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    9 ^# B& ]; T; ^+ Z% [9 c
  569. ; empty.
    + l) t4 c0 n. _
  570. ; http://php.net/error-log+ v8 z/ U/ E/ y
  571. ; Example:. P+ s& M; ~8 h3 s" B
  572. ;error_log = php_errors.log
    $ A/ O( `9 j) j% {
  573. ; Log errors to syslog (Event Log on Windows)., C- ]  ]" ^( W& T( Z8 m4 i
  574. ;error_log = syslog
    : f0 h1 ?& {( o' k2 X
  575. - r1 u0 I5 e4 ~& V
  576. ;windows.show_crt_warning
    : ]: s7 ^2 G4 M1 m
  577. ; Default value: 0
    ( Z$ R3 J/ d3 L. i2 Y- K
  578. ; Development value: 01 c7 r7 s) ]0 X& v( c
  579. ; Production value: 0
    ' \7 R; _& W" \3 r* U5 p9 m

  580. 6 V3 \) _/ D2 @! D3 A
  581. ;;;;;;;;;;;;;;;;;$ V% N- g; k' g, |/ W( m' H
  582. ; Data Handling ;% X( T0 ]1 Y+ L1 t% u+ e, _4 q. Z
  583. ;;;;;;;;;;;;;;;;;: _7 ?" A* m+ t

  584. . h8 `: b  j. m4 P1 n+ l( `# y
  585. ; The separator used in PHP generated URLs to separate arguments.& \1 X3 y" O" T
  586. ; PHP's default setting is "&".
    1 q$ ^4 c9 o" @
  587. ; http://php.net/arg-separator.output
    ' L/ q, B2 `' ~4 [4 M+ t7 C
  588. ; Example:' T0 F2 I( V4 R4 H9 f
  589. ;arg_separator.output = "&amp;"6 {" H  ]1 _! T  X# q9 Y8 G2 |; \

  590. 9 {+ S2 c4 O+ n- G7 O5 z% x6 g$ h
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    6 D4 l0 @$ H! O- X9 m9 o
  592. ; PHP's default setting is "&".
    8 B8 a+ Z9 n  S! X. n& X7 R$ F
  593. ; NOTE: Every character in this directive is considered as separator!
    * a/ m/ U! M+ T8 a1 ~8 [
  594. ; http://php.net/arg-separator.input3 S1 {4 c- U0 A( L0 q5 A2 M. A
  595. ; Example:
    ) g) ]( T& ]0 U. j$ ~' W
  596. ;arg_separator.input = ";&"7 ]0 x6 q1 D( ]1 T

  597. ' L- [9 c, F) A1 ~' a
  598. ; This directive determines which super global arrays are registered when PHP2 ^) a0 F7 U  B+ t9 h
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super6 v1 a  X6 e* P( `" Z6 n
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    ' B9 z& D  i& ?* ^1 J5 N
  601. ; paid for the registration of these arrays and because ENV is not as commonly1 J: k* D9 c6 r4 }8 T7 i
  602. ; used as the others, ENV is not recommended on productions servers. You
    , Q, ]7 x9 s9 V. B# x
  603. ; can still get access to the environment variables through getenv() should you
    / f! \/ O' [' ^; \$ N3 V
  604. ; need to./ B  y& a2 h/ q2 ^* m# f  U
  605. ; Default Value: "EGPCS"& }3 w( H9 U7 l; J! [" s0 s
  606. ; Development Value: "GPCS"  F) o2 v# k' J, r1 _* z; r
  607. ; Production Value: "GPCS";) s# ^  O, G% b) i) Z) h3 z
  608. ; http://php.net/variables-order
    * a. U' S, Z7 X- E$ Y2 k' u
  609. variables_order = "GPCS"
    + e9 r/ j, Q5 }4 C2 Q
  610. ! x6 Y+ f  J, \# p# x
  611. ; This directive determines which super global data (G,P & C) should be
    ) Z. p% E  f2 l0 ?6 S9 T
  612. ; registered into the super global array REQUEST. If so, it also determines
    2 }, j7 ?! h% L
  613. ; the order in which that data is registered. The values for this directive. l$ }$ f3 T% a7 w
  614. ; are specified in the same manner as the variables_order directive,
    & `% C1 o, ]1 x6 t: v
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set3 d  t: f9 L2 W& N
  616. ; in the variables_order directive. It does not mean it will leave the super) D- E7 j. i% D; Q" t6 ?) X
  617. ; globals array REQUEST empty.1 R, U3 h# K6 s! R
  618. ; Default Value: None
    & c  ]& x! i5 n& F8 d! M2 M
  619. ; Development Value: "GP"
    / Q( u, ^0 K/ Y9 Q( t( z- V$ i
  620. ; Production Value: "GP"+ U; o6 B  z7 Q$ L7 e
  621. ; http://php.net/request-order6 s5 `& K8 T+ C/ [# ^
  622. request_order = "GP"9 w9 P' i2 r# Z5 x2 g5 l* L

  623. 0 b3 o# B3 G8 Z5 S5 _
  624. ; This directive determines whether PHP registers $argv & $argc each time it, H+ M9 V6 ?3 s& ^. x4 n
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    6 A* [. O4 q, |/ o, m
  626. ; is invoked. $argc contains an integer representing the number of arguments
    , T# _+ z# k. ]/ ]' G* q/ e
  627. ; that were passed when the script was invoked. These arrays are extremely
    # \$ x$ W; J' E) n) f2 P2 y- a
  628. ; useful when running scripts from the command line. When this directive is- N7 G: o5 J( P: C9 h3 V% \
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    + D' B. Y! u' W' ^
  630. ; a script is executed. For performance reasons, this feature should be disabled6 w6 H$ v* `; Z+ D/ s- h; n
  631. ; on production servers.
    8 y6 Y" [. t' _& n
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    1 q6 r1 L: _6 M. E
  633. ; Default Value: On( b0 h$ G6 S8 Q' N8 ?
  634. ; Development Value: Off
    / R- ^/ d3 H2 z7 n1 N
  635. ; Production Value: Off
    0 l- u# |6 \. s' N
  636. ; http://php.net/register-argc-argv' q! k1 Y9 ]9 R* P1 H
  637. register_argc_argv = Off5 }# k# e  @- Z; h- l& h/ [% U) j

  638. * H) ?; k0 m. a7 H7 k
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're/ ?6 S/ g* L/ `+ u, t5 V
  640. ; first used (Just In Time) instead of when the script starts. If these
    1 A8 y  g: N; j4 Y9 X; y
  641. ; variables are not used within a script, having this directive on will result+ e& S/ n7 Z' \) c
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    2 h3 K9 q+ M  k3 G  q* t
  643. ; for this directive to have any affect.
    - ]- v8 a1 E& Z
  644. ; http://php.net/auto-globals-jit
    " X1 v% E* ?3 g8 D! b
  645. auto_globals_jit = On/ @+ D" o  ]% }
  646. ) Z% Y! ?- i- y1 Y( `) N9 O: {% x2 P
  647. ; Whether PHP will read the POST data.
    4 `9 i: a0 @) t. n- `( [
  648. ; This option is enabled by default.
    / `  k! }3 U5 d1 ]9 x& B  y
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST9 K7 C" i- D- ?
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    ; m2 B# F5 O; h0 S7 a& Y8 T; [
  651. ; POST data will be through the php://input stream wrapper. This can be useful3 R- M+ U) M- I. K, U) C7 h: Y
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    $ v! [- \* R1 y, W$ D" z9 o
  653. ; http://php.net/enable-post-data-reading/ |1 E' V( Y; `+ X' K: n' X% O- d; f" C
  654. ;enable_post_data_reading = Off* B! g7 H; L+ g4 k, C7 ^9 z
  655. 6 X' h; F. I% X! t) z: i
  656. ; Maximum size of POST data that PHP will accept.* G* M0 f3 f) ]; a
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading5 p5 T% l& g3 U. q0 P) \9 F. f+ y1 {
  658. ; is disabled through enable_post_data_reading.
    7 c" v7 o6 u6 W+ B+ r# t+ H
  659. ; http://php.net/post-max-size& r% P0 Q6 E* c; ^" K# Z
  660. post_max_size = 50M4 E7 N# R2 ]: S$ g: r, v4 S

  661. ' _" f" i: T% p
  662. ; Automatically add files before PHP document.% M4 \% M1 q: p" J9 ^0 q+ Y, Z! N
  663. ; http://php.net/auto-prepend-file
      N+ h$ h& b0 @& i7 c) N
  664. auto_prepend_file =5 r: T6 x1 i2 U9 n6 H+ @
  665. 7 M3 `5 G! w2 g" ?9 _
  666. ; Automatically add files after PHP document.& D/ @$ f! Z3 @  d7 t
  667. ; http://php.net/auto-append-file
      `1 l. j& B3 \( e6 N- E3 p! l
  668. auto_append_file =2 O# F/ g/ Q5 ]! E  u( q& f5 [

  669. . J1 }. U4 s3 K6 P6 c7 m6 W+ P
  670. ; By default, PHP will output a media type using the Content-Type header. To  |3 D/ }% F+ M% i
  671. ; disable this, simply set it to be empty.
    0 o2 G2 S' i* E
  672. ;
    " `1 q6 g9 R  q) [
  673. ; PHP's built-in default media type is set to text/html.
    * V% N5 d; j  E% }: a3 v5 n
  674. ; http://php.net/default-mimetype1 B8 O1 j9 D6 m% _+ @
  675. default_mimetype = "text/html"
    ! [/ }' i/ r( l. Z- Z2 C

  676. . P: Z2 q/ @& w% a% I2 x  G. Q
  677. ; PHP's default character set is set to UTF-8.2 o" p/ m' N) H- p8 K. A( i9 R
  678. ; http://php.net/default-charset: v7 q( I% H6 m0 N  f& J2 `; J
  679. default_charset = "UTF-8"
    : D7 A. z2 D, B; k6 Y

  680. 8 R* Q3 F+ i+ p1 R# H7 }
  681. ; PHP internal character encoding is set to empty.
    7 e5 |, Z( Y* y/ x3 K  @
  682. ; If empty, default_charset is used.
    2 v* x. r. }3 H+ E
  683. ; http://php.net/internal-encoding1 l, R3 S& C& Z% D) R# Q
  684. ;internal_encoding =1 n# d, O4 S% d7 |
  685. / Q; C5 b- L. |6 \, }
  686. ; PHP input character encoding is set to empty.% j$ i! P0 W0 h7 [" e. C
  687. ; If empty, default_charset is used.
    # F* ], \; c! A6 s
  688. ; http://php.net/input-encoding
    0 U: J( A4 U( F  V
  689. ;input_encoding =/ i( n) k1 q8 A
  690. 0 V9 V' Z, g' k% Z0 [' u3 [
  691. ; PHP output character encoding is set to empty.
    : p) j" t" U7 X
  692. ; If empty, default_charset is used.
    , k; T# K2 @- E, {$ P; v! r: |
  693. ; See also output_buffer.
    8 T5 G7 q/ [; a5 I. w
  694. ; http://php.net/output-encoding, w$ |" B, D( I4 Y9 i8 G
  695. ;output_encoding =. K& S- ~4 W2 g; z8 P

  696. ) Y  l4 N& p  w/ m) I
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    7 o8 E1 m) J4 m" h8 r. \& [- a
  698. ; to disable this feature and it will be removed in a future version.
    ' n/ Q3 B& i) S# C% {9 {
  699. ; If post reading is disabled through enable_post_data_reading,7 e+ X$ _: m! E+ ~: C
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.7 t; z: P7 |5 I6 E* A+ ?
  701. ; http://php.net/always-populate-raw-post-data
    & J2 u  }; O* O* T
  702. ;always_populate_raw_post_data = -1: w  K$ s6 f; o+ S

  703. / {. E) H. w* R7 G7 }
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    ' B5 u9 m. I# y3 X! _, W; p- n. H
  705. ; Paths and Directories ;
    5 D% T& n' f" x! d# _
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    9 ~2 s3 Y+ |4 x6 L1 S

  707. # M1 Q+ n; @; ]) P& j
  708. ; UNIX: "/path1:/path2"  L4 P( O1 v/ O# M9 F* o- M
  709. ;include_path = ".:/php/includes"$ O" p# c; }  X
  710. ;
    2 h( d  Y" a) i- z3 z% _" e
  711. ; Windows: "\path1;\path2"
    4 N: ?) d% N- b! M& q2 l  [& \
  712. ;include_path = ".;c:\php\includes"
    . u. i" _- L9 ?: p4 b0 [
  713. ;9 W$ U6 T. q: f8 H
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"/ z( k* S' Z2 a  ?2 A
  715. ; http://php.net/include-path, a7 W  }, w# M* w
  716. : }+ D6 @" J, q
  717. ; The root of the PHP pages, used only if nonempty.
    6 _8 Z- v' X4 |
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root4 q4 b4 P! k  r& w/ V6 b+ g7 i
  719. ; if you are running php as a CGI under any web server (other than IIS)
    & t4 Q  Y5 w9 j5 t1 k0 F; I
  720. ; see documentation for security issues.  The alternate is to use the
    8 E9 c. p+ s& d+ |) g
  721. ; cgi.force_redirect configuration below* I. H  G: b1 E& _  S, o  \
  722. ; http://php.net/doc-root( C" n- l7 |: g( o& v/ A
  723. doc_root =
    * Y  ?, L8 R8 Y: C( Q: p9 Q

  724. + E! h; {7 i" d7 g
  725. ; The directory under which PHP opens the script using /~username used only
    : ]  d4 u, k! B( [: D; B8 \8 z
  726. ; if nonempty.
    " q- s+ Z" h2 A1 H1 G% P' `5 J) q& i
  727. ; http://php.net/user-dir
    ( ~% w' a( m( Y% ?
  728. user_dir =% g/ m# K) J4 l8 J% F" k! T

  729. 2 E. K  N5 ?1 K
  730. ; Directory in which the loadable extensions (modules) reside.
    3 w3 z8 ^4 q3 ]8 N% m# |6 _
  731. ; http://php.net/extension-dir' \, c% `& B* m# u: v5 x
  732. ; extension_dir = "./"
    4 Y2 F6 |2 P* o7 H0 H8 N
  733. ; On windows:
    ( d& D% ]" V$ [: C( q
  734. ; extension_dir = "ext"
      y9 k6 |. _" P1 e$ _0 u, O$ |

  735. + a. r7 v, e4 j3 R0 n
  736. ; Directory where the temporary files should be placed./ B; s2 y- i* q! T# X: [
  737. ; Defaults to the system default (see sys_get_temp_dir)
    3 v5 A  S' z  i/ e7 o/ V$ U
  738. ; sys_temp_dir = "/tmp"5 |% d% K/ y1 H( ~  ^  |& R

  739. 8 C; D6 G, x6 n7 ]% A) X
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
      v% y8 I: H: @  Z! e
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    ) o" a* P7 z% |0 X
  742. ; disabled on them.
    - w% D+ Z  D" ^1 C
  743. ; http://php.net/enable-dl* |# I: c: q- @. Z! w. o6 @! {
  744. enable_dl = Off
    " r! P5 ~$ g5 \
  745. - ~( J; T- m1 i7 n0 K4 l
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    5 R$ c- b& d, a; [2 r, q& j
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    4 V- P9 i# a3 U6 o9 ?+ d
  748. ; turn it off here AT YOUR OWN RISK
    % H' ]0 W" A5 D9 o$ U# o& d
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**$ b* K* n% l# q4 Q5 i3 C
  750. ; http://php.net/cgi.force-redirect0 R3 m2 q( T8 O
  751. ;cgi.force_redirect = 1& d$ y, D2 C& E8 a' }$ j

  752. & D  M) k4 t1 S$ ~' M3 G
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with! _- e, W! W" P1 G$ n" K
  754. ; every request. PHP's default behavior is to disable this feature.
    : f$ _5 q$ T% l$ W
  755. ;cgi.nph = 1
    7 ^! V; n: `! Z+ y% z
  756. 8 N& I9 \$ M0 I/ H) L$ c2 C
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    + I5 t! }, Q* C6 |( n' L) w
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP' z5 P' Y% U+ E9 M
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    ; S& W% t) G9 ]  ^3 e& _( r
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST., y  K7 s8 B- F
  761. ; http://php.net/cgi.redirect-status-env
    " p/ X  n) q' O% L. {$ w3 W
  762. ;cgi.redirect_status_env =
    $ n. X8 E- j* R; }

  763. 1 \$ @& g& ?" _$ E+ b
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    - ?8 G3 m1 [3 S  R4 E
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok$ p* o: K+ z5 }. w
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting9 }; W+ _, L5 g% \* h
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting. \, X- E2 {; Q, _: G% p
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    5 V- Y; a$ ^- [8 E; c
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.1 X1 N! f7 ?+ H
  770. ; http://php.net/cgi.fix-pathinfo
    7 d) \' I, i! y; g" g) L
  771. cgi.fix_pathinfo=12 }! X5 C" ]: q9 E: C# U, t

  772. * u, g* t& V, \% ~& ?
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside$ Q" p3 s6 ^$ @2 T4 H' r6 L
  774. ; of the web tree and people will not be able to circumvent .htaccess security.) I$ q1 r0 T2 y. P; K' z/ ~
  775. ; http://php.net/cgi.dicard-path) V) J% ]( M; {) B9 q, Z
  776. ;cgi.discard_path=1
    , D# m+ ]' ?9 u  `1 P
  777. 6 h+ t+ C6 ]2 \% I. k
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    9 H/ {3 m2 o9 T# ]( q/ m% h
  779. ; security tokens of the calling client.  This allows IIS to define the
    8 K) E' C  V" K1 u6 R9 q
  780. ; security context that the request runs under.  mod_fastcgi under Apache8 A6 n" @# g. S, L) J4 @4 f! V
  781. ; does not currently support this feature (03/17/2002)
    6 }0 @: D7 J0 L
  782. ; Set to 1 if running under IIS.  Default is zero.
    * X) E8 j0 m( j$ I
  783. ; http://php.net/fastcgi.impersonate
    + ^+ ]% Q& `8 V; F$ F) l' A
  784. ;fastcgi.impersonate = 1# {3 {7 j: @; j" [  H' S

  785. " t1 u. \. e7 \4 Q( N
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    - d& q; k. b0 l; \4 b0 k6 W
  787. ; this feature.
    5 `+ Y4 z* o4 q0 N! Y
  788. ;fastcgi.logging = 02 v' i* X; x, g5 T: j. H
  789. ) o4 q3 q3 p% G7 w
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to1 X7 Q/ ?1 `' o# }6 A
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    . d/ x( s2 Y3 A, [2 x& [9 p2 g, T
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    ' r; ^/ ~1 E3 E% H
  793. ; RFC2616 compliant header.
    7 D8 n% K  C8 x* Z
  794. ; Default is zero.
    / V' H: K4 @  ]1 ~; W" e" v
  795. ; http://php.net/cgi.rfc2616-headers
    2 G, I5 j* ]% d6 J& h3 b
  796. ;cgi.rfc2616_headers = 07 w4 _  X3 r& R; @7 K

  797. ; }& h+ r/ ~8 j
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!# M3 b8 n. ^8 \" k
  799. ; (shebang) at the top of the running script. This line might be needed if the1 t+ r% l4 A" d& B. ?( b
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    9 s. y5 j; G9 Y( ^5 a: H* O+ R
  801. ; mode skips this line and ignores its content if this directive is turned on.! G0 f$ Z$ c/ M$ C' _1 b
  802. ; http://php.net/cgi.check-shebang-line
      G5 |; d$ U: s9 z3 o( e
  803. ;cgi.check_shebang_line=17 f. e& P% |) H" f

  804. 3 t" L0 C3 m  D3 i
  805. ;;;;;;;;;;;;;;;;9 ^  g" P" O0 X2 ]. Y* h, ^- B
  806. ; File Uploads ;
    ) k+ D+ F' E4 [7 A& v& B( a4 R
  807. ;;;;;;;;;;;;;;;;/ X* r7 W8 W; X
  808. 4 I* \% g- B9 S! O- ?  A1 X
  809. ; Whether to allow HTTP file uploads.9 U2 ]* p4 k0 I- K, w
  810. ; http://php.net/file-uploads3 u$ O0 W5 ~0 Q2 {5 ^7 ^
  811. file_uploads = On
    3 [( i. ~6 R' F3 ]

  812. : Z. Y9 t* m5 u% U
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    8 u- H8 m' }" P0 C0 Z) v
  814. ; specified).; ^! V; h: V7 P8 U
  815. ; http://php.net/upload-tmp-dir
    * C/ a* m  O- A3 _9 l5 S* [
  816. ;upload_tmp_dir =% _1 W* D3 V5 |5 Y; q& W' f
  817. ( C6 T  L. I- z, f  D  p# g, K
  818. ; Maximum allowed size for uploaded files./ l1 \* V+ m. }
  819. ; http://php.net/upload-max-filesize
    7 x; N6 S, @8 ]& p* l
  820. upload_max_filesize = 50M" L# c5 f. k6 I
  821. ! V. `# G. _* g% r* T$ ^
  822. ; Maximum number of files that can be uploaded via a single request4 V- \! N! Q0 P' I" t
  823. max_file_uploads = 207 @9 c4 c5 s1 O) _- _+ P8 o
  824. ; g- J0 P5 d7 E6 R! d+ @3 D: F; P
  825. ;;;;;;;;;;;;;;;;;;! \; L: Z& f* r* j
  826. ; Fopen wrappers ;
    4 g( }$ z+ Z$ V" m9 S3 o* f3 w, p/ B
  827. ;;;;;;;;;;;;;;;;;;
    3 h1 d4 [% \  s9 C9 S# j7 Y, ~% |

  828. $ u% k4 ~! P6 E0 G- n# T; v
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.5 C& b1 P$ }7 D3 U0 _
  830. ; http://php.net/allow-url-fopen
    3 k  g+ W! u5 O( e+ s4 D
  831. allow_url_fopen = On
    - f( f, d' Y7 m( u  V. t! j7 O. A

  832. 3 ~" R8 J  }8 H
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.; y9 Q: K1 Q* p2 s$ ]4 i0 |
  834. ; http://php.net/allow-url-include' P% a1 h, H: e: Y- Y1 s
  835. allow_url_include = Off) z# L# B3 C! c$ e

  836. 8 l" D) c& c8 @
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    6 r( N% ^! s& L: C4 k/ H- ]& {/ `
  838. ; for this is empty.9 Y  l8 w. z% W$ V: K
  839. ; http://php.net/from4 n* l% J3 V" X: \' o  o4 n& y6 M0 Z
  840. ;from="john@doe.com"
    9 G$ V: ]* [4 z5 W3 k+ t, l; S

  841. + `' b) @( E6 g/ }& W
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    " E% b9 N$ W% [; O) d( d, q' B
  843. ; http://php.net/user-agent
    ; n% y7 Z# w1 g, D2 }  ~
  844. ;user_agent="PHP"
    2 H  ^0 n* \+ z0 P" ^4 p4 v
  845. - B1 `" y2 r; p3 I
  846. ; Default timeout for socket based streams (seconds)
    + [2 s7 T" Z8 g( @, G7 L) P
  847. ; http://php.net/default-socket-timeout2 g5 `/ F4 }" j& r
  848. default_socket_timeout = 60. g% y6 Q. i. B( d+ ^5 m

  849. 4 @0 o+ }6 y  B
  850. ; If your scripts have to deal with files from Macintosh systems,
    ' `/ }+ S/ S4 p3 y. v. c
  851. ; or you are running on a Mac and need to deal with files from$ _: Q- x' J% W, c4 l. `
  852. ; unix or win32 systems, setting this flag will cause PHP to
    4 ~1 M* D# H) j3 S* X
  853. ; automatically detect the EOL character in those files so that% X( }5 M% U! w4 N# l
  854. ; fgets() and file() will work regardless of the source of the file./ {& [3 u5 m& @" m
  855. ; http://php.net/auto-detect-line-endings  \/ q( B2 D0 W% C1 J+ j! Z
  856. ;auto_detect_line_endings = Off" Z" p* Z9 P4 V

  857. * ~4 `, a8 i( _* z3 M( l6 Y
  858. ;;;;;;;;;;;;;;;;;;;;;;
    # y/ k9 O4 r6 q6 ~( _  r
  859. ; Dynamic Extensions ;4 n# f5 k; f' E8 a3 P
  860. ;;;;;;;;;;;;;;;;;;;;;;$ G, _$ R; T6 [

  861. & Z, Q' \2 a% v! b9 b* O4 R
  862. ; If you wish to have an extension loaded automatically, use the following) @: p1 o- I1 p2 `, J  f1 w
  863. ; syntax:
    % x$ Z; R9 j2 o$ O
  864. ;
    ; G" I  V2 M, E
  865. ;   extension=modulename.extension
    6 H7 Q* R6 D2 I, n" s$ `, O
  866. ;* g+ [* ?1 w# T4 `6 F$ v# H( Q* r
  867. ; For example, on Windows:0 z1 M3 m: Q4 k
  868. ;" ^" F; n* a8 l' [
  869. ;   extension=msql.dll
    - E% Y: s; J% M: M. J" W" ^/ z
  870. ;
    8 ]& D! \% {& j' t
  871. ; ... or under UNIX:% t% N1 B% C! p# l! F- [, B
  872. ;
      g, a+ S# L' ^4 K! ]; p5 U1 Q1 q- x: P
  873. ;   extension=msql.so
    8 ?% C) x: i. f8 m
  874. ;
    . Z$ t( X6 q' p9 F
  875. ; ... or with a path:
    ( \* k( D1 k* k/ y, P' b
  876. ;
    1 K' V0 @& \& Q" \8 }
  877. ;   extension=/path/to/extension/msql.so
    5 B, O; {& q' ~& L
  878. ;3 G4 f7 k7 G5 J/ O$ ?5 u
  879. ; If you only provide the name of the extension, PHP will look for it in its9 ~; Z5 k% K1 Y# R8 s& h. A
  880. ; default extension directory.
    4 o3 u3 b' f( B6 E
  881. ;
    3 R% k7 ]* s; O) {
  882. ; Windows Extensions1 F; G# h" q! j6 y
  883. ; Note that ODBC support is built in, so no dll is needed for it.3 k( _# [  b0 S7 D% F. m: O
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)5 Q  v8 m9 k; ]
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    * _5 s. V) P( ?* S8 Q" ^
  886. ; Be sure to appropriately set the extension_dir directive.
    9 O+ w2 ?0 I- B5 e) g4 ?% b4 }& j
  887. ;' `; A1 y" g; E6 ~2 }& v8 B$ O; j1 ^
  888. ;extension=php_bz2.dll+ U" P# B) F% Y4 k5 b! t$ L( o
  889. ;extension=php_curl.dll
    - V. F' {9 v% v: p+ s6 @5 ^
  890. ;extension=php_fileinfo.dll
    2 c0 s, L2 {$ e9 B, [( ^
  891. ;extension=php_gd2.dll  T: z. P" ^1 C% R' Q) o: I# N
  892. ;extension=php_gettext.dll* @2 N& i, W+ p+ F
  893. ;extension=php_gmp.dll
    / p  c+ H$ G4 Q( M& c3 y8 J2 F
  894. ;extension=php_intl.dll. |# }+ ~$ G2 o% Y
  895. ;extension=php_imap.dll
    9 s2 ?. L! P2 n6 k
  896. ;extension=php_interbase.dll
    ( x: G* a$ ]& a8 q( S8 s
  897. ;extension=php_ldap.dll! m/ h  b( ~7 p' f9 }) v1 T- \
  898. ;extension=php_mbstring.dll
    - O' m9 l6 f# S3 b, V
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it# H# p1 f4 B: I- Q
  900. ;extension=php_mysql.dll
    3 @* z# U/ p' k1 g; [, ~0 v
  901. ;extension=php_mysqli.dll
    $ c) A' z1 f1 t( k
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client9 i( v! ~- B' ]! S- ]
  903. ;extension=php_openssl.dll
    * x4 }# x6 }1 F4 u/ y
  904. ;extension=php_pdo_firebird.dll8 ]0 M% B6 v; ~0 A3 i+ a
  905. ;extension=php_pdo_mysql.dll2 [1 a! ?! P) i0 K- r$ b5 H* ^
  906. ;extension=php_pdo_oci.dll
    ! F. x7 p7 w+ U! t8 h: x$ K  T
  907. ;extension=php_pdo_odbc.dll  P! M. N, V5 R( \
  908. ;extension=php_pdo_pgsql.dll, c, r) n8 x8 V& {
  909. ;extension=php_pdo_sqlite.dll; P7 f, J4 |! ^
  910. ;extension=php_pgsql.dll
    0 z* R" |! O* {
  911. ;extension=php_shmop.dll- C/ D, z& G, w$ ?
  912. / z# ~, U7 H% h% k* x% M9 G
  913. ; The MIBS data available in the PHP distribution must be installed.
    $ Y  n, h/ N. |3 K
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    8 C1 _  j. ]5 W2 v
  915. ;extension=php_snmp.dll
    1 D+ @9 N( w# R+ w- K5 }+ L$ }  }
  916. 5 B. A  G, j7 A0 e! e/ m) u2 Y
  917. ;extension=php_soap.dll, ~% ^+ a2 o, O/ E
  918. ;extension=php_sockets.dll; [+ x8 q. O  A# ~
  919. ;extension=php_sqlite3.dll
    9 `5 ]. a. }3 }3 N' \0 @
  920. ;extension=php_sybase_ct.dll
    + h5 c* H8 s* p$ t  ?8 }& ^
  921. ;extension=php_tidy.dll
    6 ~0 Y, g* n8 h8 k
  922. ;extension=php_xmlrpc.dll
    ( e% }' z. r) J5 _- d% B
  923. ;extension=php_xsl.dll
    # q% d& T& N' [
  924. - @- m1 O" Z" A8 `# s1 u
  925. ;;;;;;;;;;;;;;;;;;;
    7 C1 O8 d  Q% T  D0 `
  926. ; Module Settings ;3 ]2 A( n+ T& I5 T5 ?6 C7 `% S* Z2 [  y
  927. ;;;;;;;;;;;;;;;;;;;
    + F9 N' G" n! `1 a2 v
  928. / P" q) D# J' @8 B! A
  929. [CLI Server]
    4 D* n4 g1 W& T( g
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output., K9 y8 n; T) {& o/ m, [
  931. cli_server.color = On
    1 s! q: d  P- {, d7 B5 w% r
  932. 7 }- [7 D% p" j- p0 s
  933. [Date]9 [# y! a% u+ [* _
  934. ; Defines the default timezone used by the date functions
    " }8 E' U: N; h# ?' x6 H0 s
  935. ; http://php.net/date.timezone7 F7 H* z. ~+ @8 W7 ]
  936. date.timezone = PRC
    4 F; C! P+ U- {

  937. 0 Y7 F+ ?- `% S" \: Z  ~
  938. ; http://php.net/date.default-latitude' y: u* ^7 B2 ^$ ~" P3 O
  939. ;date.default_latitude = 31.7667
    * e6 B, n: E7 }" U9 X; L3 m

  940. 3 s; Y* M7 p+ @! ]$ E, \" v
  941. ; http://php.net/date.default-longitude+ G+ \) I8 a; u# E) g0 |
  942. ;date.default_longitude = 35.2333
    1 ]. z9 T+ n: Q3 k

  943. % J! R5 m. G' }& d3 Q! ^) m# X& A* h
  944. ; http://php.net/date.sunrise-zenith% [6 ^0 A1 D$ k' b. y, U' v9 [
  945. ;date.sunrise_zenith = 90.583333
    0 ~* e6 e6 g  F& M* ?6 U
  946. + u! k, K* [5 |/ {2 U1 T4 c
  947. ; http://php.net/date.sunset-zenith
      n; e0 q/ r1 c
  948. ;date.sunset_zenith = 90.5833335 a4 j2 c6 t. c
  949. 2 ?* L9 U: r* d: K# @0 s
  950. [filter]2 g0 Q8 M& Z: J$ @2 x7 X
  951. ; http://php.net/filter.default
    9 p4 R, Q/ e9 Y7 a
  952. ;filter.default = unsafe_raw2 b7 b  G5 j* U6 Y' F2 Q

  953. . ]! v9 u7 i. O, `. w2 n
  954. ; http://php.net/filter.default-flags
    % l. t1 r' l$ a: K: L
  955. ;filter.default_flags =5 I, G2 ~( ^, }, S8 O
  956. , N6 [$ ?& r* w# p2 C2 l) M
  957. [iconv]8 z" E. ], p% A% x, P% I( M
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    & y- R' ]6 S& L: P- Z; O1 h# D
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    ; B5 S9 f3 M2 v, t% l% U: V
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    2 B& x* M. J6 b
  961. ;iconv.input_encoding =( ^9 e( U; C7 i; e/ M3 P5 N, s
  962. ' \' T7 Y& B7 f: @8 X6 b5 e
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.9 ?1 h- W* `/ z. l! p7 w
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    - |& ~+ {1 u  J% a6 l  j. I+ }' I! r& }
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    - P1 g% i& d8 X$ x. p4 B  @
  966. ;iconv.internal_encoding =* E9 A; J5 c- ?

  967. 3 A* t3 a" O- e5 Q. y, Q) u
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    % t4 W# t% |$ y' u  R( g& e& ^- l
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.: o' r' l+ L* I
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding2 u/ [5 n: X! D
  971. ; To use an output encoding conversion, iconv's output handler must be set
    3 L5 W* N; D  z) l
  972. ; otherwise output encoding conversion cannot be performed.
    / G5 c$ a! W0 V9 V9 D
  973. ;iconv.output_encoding =
    6 k- T9 u  G% ?6 ]

  974. ( [* D( Z0 t& y6 T4 j
  975. [intl]* f4 B2 a7 T7 z. b* P
  976. ;intl.default_locale =/ ~/ ^) i9 E9 y, Y. W; b' J( c
  977. ; This directive allows you to produce PHP errors when some error5 F, F' C% p, {: b4 O% ?* P( O# U8 g
  978. ; happens within intl functions. The value is the level of the error produced.
    : `- Q% o" i" r7 M
  979. ; Default is 0, which does not produce any errors.
    " v6 s/ n# b2 r
  980. ;intl.error_level = E_WARNING
    " b# }3 p# ?3 Y# x6 N
  981. ;intl.use_exceptions = 0) S) }& c& B  y! b5 t! L8 Z
  982. - B+ d# j2 S& B
  983. [sqlite3]
    , l8 Q# I7 N- r$ i+ H( k% _2 C
  984. ;sqlite3.extension_dir =
    8 C; t3 q7 j, ^7 [! g& ~' c  y

  985. ; p! @) f) H& ~; Q
  986. [Pcre]
    : a3 R4 w  c' M8 @! ]; O+ `
  987. ;PCRE library backtracking limit." Z4 N  S. h+ m; q
  988. ; http://php.net/pcre.backtrack-limit* [% z! b# N& j. l) r
  989. ;pcre.backtrack_limit=100000
    ( c  ~+ U: T( H2 F* U4 S

  990. * W0 K# k& A( y9 F! \. V2 C; {0 {( D
  991. ;PCRE library recursion limit.
    3 }, g  i3 o$ |) O  p! n! t4 `' h% u
  992. ;Please note that if you set this value to a high number you may consume all3 G* l: z- B, I9 P2 _  [
  993. ;the available process stack and eventually crash PHP (due to reaching the
    * A- ]  m  X" e; G# Z
  994. ;stack size limit imposed by the Operating System).
    9 D6 }. k% w' N: Z
  995. ; http://php.net/pcre.recursion-limit( ]+ j& g9 X+ [, Y2 c1 v4 ]
  996. ;pcre.recursion_limit=1000005 |( R, G- ]' H( Q

  997. ' J0 m$ y8 j5 L, s0 ~
  998. [Pdo]( O% I- w7 Z4 Q
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    6 N8 y2 B7 Y$ w- r" u' c
  1000. ; http://php.net/pdo-odbc.connection-pooling
    ( E* w/ |5 @2 w( O, z
  1001. ;pdo_odbc.connection_pooling=strict
    " s% k5 N% t" Y# h, v+ ?
  1002. 1 a2 y8 m- v) Q
  1003. ;pdo_odbc.db2_instance_name: ~' E+ F$ A' s3 [3 M. w5 @
  1004. # N' O3 e' N4 W2 x5 }  Z+ K
  1005. [Pdo_mysql]' d$ ]: b; S5 Q
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache# @( Z& ?  ^* L# o
  1007. ; http://php.net/pdo_mysql.cache_size
    , S4 v  r+ x( |, g) O/ U! p, n
  1008. pdo_mysql.cache_size = 2000
    , c0 V* _0 I1 t# S8 ~! a1 u
  1009. 0 Y: a2 P7 d9 {& d; f; f$ y! _
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    0 C1 P4 z4 B2 U7 F: L& w. |* ]
  1011. ; MySQL defaults.
    9 Y0 ]8 Z$ X7 C
  1012. ; http://php.net/pdo_mysql.default-socket
    ; F3 J- ?/ `2 a7 O3 {7 u  U# G
  1013. pdo_mysql.default_socket=0 M' h( S: M, W& |9 d0 k2 c( g$ z

  1014. 1 C* b! E1 o7 a1 M# N  x0 Z! Q/ v
  1015. [Phar]
    ' `1 X" d' u) b
  1016. ; http://php.net/phar.readonly
    ; v2 I1 Z7 U: C' ?% }9 I3 f" G9 j
  1017. ;phar.readonly = On: f  c% P9 u, a' W; l2 ?) `
  1018. 0 [. r$ s- v/ E) U
  1019. ; http://php.net/phar.require-hash
      B% ^- b; W' F$ V- _( m
  1020. ;phar.require_hash = On1 R2 q+ V- k: p( ~! m

  1021. , j& m8 a& c$ z/ }; F  t% F9 g
  1022. ;phar.cache_list =1 N8 @" q. T% }# W2 ?9 Q% Z

  1023. # m: x2 |- w2 s+ J
  1024. [mail function]* Y- r6 g' d$ \! v$ C# G2 W* c
  1025. ; For Win32 only.
    . @- |. c. N% x6 T0 r" |/ ?8 F& ~
  1026. ; http://php.net/smtp0 u8 v5 q1 b/ F9 c% u& ^1 {7 m4 p
  1027. SMTP = localhost
    0 k6 }& l6 o( i5 k8 L% J! o# ]0 I4 h8 a
  1028. ; http://php.net/smtp-port
    ; M9 K; C! [1 y- ]
  1029. smtp_port = 25! @! Y: _" R: J2 n

  1030. " A* y8 t- w; Z
  1031. ; For Win32 only.
    ( U- N/ P1 [; T# `# N# a
  1032. ; http://php.net/sendmail-from+ m/ v7 M. R( b! k, _
  1033. ;sendmail_from = me@example.com
    - k/ T- ~3 V0 [1 Z+ J+ i. T
  1034. , x$ N  W& O7 a: W
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    / U; k4 r1 f7 y% ~0 M
  1036. ; http://php.net/sendmail-path
    ; P0 k  v; T! m! l4 z
  1037. sendmail_path = /usr/sbin/sendmail -t -i* f  p8 o) B1 v# o" p; @+ K' p

  1038. ! C/ C  O# X: Y+ [
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    * V  v# O0 s! C  H: t* ?1 l& e9 h
  1040. ; to the sendmail binary. These parameters will always replace the value of5 b* z" N; Z4 @- `
  1041. ; the 5th parameter to mail().( M; j  a) W5 R
  1042. ;mail.force_extra_parameters =
    $ }. j3 u$ t6 d: a& n9 u$ a
  1043. 2 N  F! v+ {3 T" t
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    1 G+ v+ K) K/ {7 D' }; W
  1045. mail.add_x_header = On6 c* F. O1 F' X. n9 _8 X% ~6 ?

  1046. ' S2 h9 L, `0 ?; ~& {5 ^
  1047. ; The path to a log file that will log all mail() calls. Log entries include( |+ M, F2 K/ {" ^: ?- R* V7 {
  1048. ; the full path of the script, line number, To address and headers.# N9 v1 q( j$ F& X
  1049. ;mail.log =1 `" u% O! b$ ~+ N- A4 F# t4 M% Y
  1050. ; Log mail to syslog (Event Log on Windows).5 h) m2 f, L/ @
  1051. ;mail.log = syslog
    % C- O/ i8 y8 H- V/ A7 p; i$ _
  1052. 9 M% A+ R9 V% S4 P# H6 Z# E# t
  1053. [SQL]
    4 d- q0 s3 \3 I" y  J! p4 a
  1054. ; http://php.net/sql.safe-mode
    : C( A1 B" k9 X% r/ W1 I
  1055. sql.safe_mode = Off
      U( Q) L4 A7 J, t3 ^% W
  1056. / ]' B' W3 ~' c7 }- M
  1057. [ODBC]* f4 w1 D. _3 i  Q; q3 u9 M
  1058. ; http://php.net/odbc.default-db3 ~0 e$ {0 u' R; l5 V! Z6 t
  1059. ;odbc.default_db    =  Not yet implemented
    7 a9 `$ ^, }0 ~& K

  1060. 6 i' w1 w7 z# b9 U$ K: R
  1061. ; http://php.net/odbc.default-user
    * u0 Q# M) X8 z% v
  1062. ;odbc.default_user  =  Not yet implemented
      @5 r- l! i: R
  1063. ' f7 P. o: m8 G7 H) R
  1064. ; http://php.net/odbc.default-pw
    " O2 X3 p  w* s$ W8 x" ~' E
  1065. ;odbc.default_pw    =  Not yet implemented' d( Y( ^0 ?9 F4 r! R7 r3 \

  1066. 8 g0 S5 N/ S! F0 _" w& R
  1067. ; Controls the ODBC cursor model.
    $ q' v& c8 Z- v- @: N
  1068. ; Default: SQL_CURSOR_STATIC (default).
    . L4 H( }$ `; g+ ^8 d9 q
  1069. ;odbc.default_cursortype
    5 Q3 j, V: f9 H8 }, k
  1070. - ^* d/ I6 u  Q& p/ c$ \7 Z
  1071. ; Allow or prevent persistent links.
    5 P4 G2 `1 m; _; r# C
  1072. ; http://php.net/odbc.allow-persistent) e8 A) \* a! Y! y1 K% c
  1073. odbc.allow_persistent = On
    ; V& l- c+ ?7 [  s
  1074. , L+ p6 E1 z. N8 y/ f
  1075. ; Check that a connection is still valid before reuse.
    - l- q: }6 n5 j) u
  1076. ; http://php.net/odbc.check-persistent
    ) d1 Q8 |( ?6 Q
  1077. odbc.check_persistent = On" q- K2 R% V+ l0 G# V

  1078. 5 j1 z6 e9 P/ O5 `# w
  1079. ; Maximum number of persistent links.  -1 means no limit.5 |8 l! Y# @6 P" ~: o
  1080. ; http://php.net/odbc.max-persistent' D! Z# n0 {9 K  p: M8 E# E
  1081. odbc.max_persistent = -1
    : n  e0 O6 f6 ?# }+ R
  1082. & u: _( H. ~$ I" H
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.* q8 J, C% H2 v6 G# \2 `
  1084. ; http://php.net/odbc.max-links
      t2 r/ z, a6 c) \2 H2 J$ ~: Y
  1085. odbc.max_links = -1
    ) D* J6 x  L* _/ z: [

  1086. 7 O) P, M& o. Y, K- z& J$ P
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means5 T; k& ]/ Z8 c) Q+ u# o( g* T
  1088. ; passthru.8 A2 e6 R6 l" @4 Z# W( m
  1089. ; http://php.net/odbc.defaultlrl! ?) [' h5 P9 d. i4 R( D& O. ^
  1090. odbc.defaultlrl = 4096
    " Y0 F- h; T2 c  ?7 B3 c

  1091. # g$ O0 T% G7 q3 X2 u* {: ]+ V
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    & i- Y" @4 ?( K
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation$ {) e) m. N8 ?/ k5 B- Y7 d& M) t
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode7 G, K3 v" X! i' r% q
  1095. ; http://php.net/odbc.defaultbinmode- }; v) D  g+ D: R: Q% N" {/ ?
  1096. odbc.defaultbinmode = 1) k6 ]' K0 L* h

  1097. 0 I9 o$ B0 n: K
  1098. ;birdstep.max_links = -1
    2 ~1 S8 W4 L& H$ D  L7 L& K" T( M
  1099. # H  a* l, y+ I+ j, e% v- ], X
  1100. [Interbase]
    * H0 W3 A- v& ]$ S& k) D! f- r
  1101. ; Allow or prevent persistent links.
    : a" N2 X0 N8 Z5 b
  1102. ibase.allow_persistent = 1/ C4 b; V& \7 E2 X9 _% }8 V9 e

  1103. 3 C1 o# O$ E6 ]% j0 u
  1104. ; Maximum number of persistent links.  -1 means no limit.
    ' [: S) u6 Z3 }" A
  1105. ibase.max_persistent = -1
    ( S) U3 v" n, _$ h

  1106. 7 U; ?, n) c( S6 q
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.8 o# R3 V5 W5 ~% d4 @6 E
  1108. ibase.max_links = -1' q: e& @4 ^. w9 e& r  g2 ]

  1109. 2 C7 q7 x' l3 ?% p
  1110. ; Default database name for ibase_connect()., E: ]# Z- ?" ?& T6 X% {# T3 C
  1111. ;ibase.default_db =$ Y; B& i- X3 l/ E; S7 k2 ~

  1112. * y5 p8 n7 t3 e3 m
  1113. ; Default username for ibase_connect().& h6 b" i" x$ g
  1114. ;ibase.default_user =
    " J: [2 N# W' C2 Q
  1115. 3 ]: |. U% [" ]
  1116. ; Default password for ibase_connect().
    & E6 S$ s3 N* Q8 i& J
  1117. ;ibase.default_password =
    7 u9 Q2 `" N+ D  v

  1118. ' v9 C# D: C! s( O/ F
  1119. ; Default charset for ibase_connect().
    % {  [' D! w; H- T% Z$ D
  1120. ;ibase.default_charset =
    + R% a" l4 g6 G! O2 ]
  1121. $ ?; C* O' R$ k7 N
  1122. ; Default timestamp format.0 ?2 m9 I& H6 w9 L$ n5 j# V
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    5 h3 Q2 _; m  c' N' L3 I
  1124. 8 b5 w1 S2 m% o0 I, F, X( a$ y
  1125. ; Default date format.
    & M9 i6 Y$ q/ c
  1126. ibase.dateformat = "%Y-%m-%d"* Z) ^% K# }; M# [* j
  1127. 2 N1 H' b  ~3 a1 J' W- q
  1128. ; Default time format.
    # g0 \2 t0 r1 |& D4 V7 [
  1129. ibase.timeformat = "%H:%M:%S"1 Y9 Z' N. u& f& p5 t: L

  1130. 8 a# p: V! M2 z: I% X. c
  1131. [MySQL]
    * x$ D' Z$ Z* I
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements4 z( p; J" F3 P
  1133. ; http://php.net/mysql.allow_local_infile' C5 p  D2 H4 O7 v8 M* p6 M
  1134. mysql.allow_local_infile = On
    0 R. E; ^  j( U) ^6 D( e

  1135. 3 @5 N; `, E/ V: p. g, E5 J7 i3 |
  1136. ; Allow or prevent persistent links.
    , _% y2 @3 b# {4 \/ g) S
  1137. ; http://php.net/mysql.allow-persistent
    * H; H$ A' O( b+ w0 N
  1138. mysql.allow_persistent = On& q# F9 [3 W. z9 w9 U
  1139. 7 f# H/ H. ^# ^
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache: P* W+ t2 C. L0 i% T: m
  1141. ; http://php.net/mysql.cache_size
      v; N/ F) f4 X0 f+ j
  1142. mysql.cache_size = 2000
    " u/ V# i0 a1 B
  1143. 6 T6 l# J" M' R: [" Y' v
  1144. ; Maximum number of persistent links.  -1 means no limit.8 U8 Z4 o+ |- H4 I
  1145. ; http://php.net/mysql.max-persistent; v" v% B9 C- t: [0 {6 U6 D
  1146. mysql.max_persistent = -13 u$ r: L( s* p- j
  1147. 1 E# Q. {3 a& Q2 |1 y  g
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.# x% j8 H4 [% k( d/ K
  1149. ; http://php.net/mysql.max-links
    1 Z6 A4 }# M( Y1 c
  1150. mysql.max_links = -1: m8 K$ }7 A# O; M" H

  1151. ) `1 A/ k( j, Y
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    9 K5 ]! ?. d# p9 @  A" M1 @
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    6 A# y( E; i1 k) x
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
      ^8 K/ @& N- G( p2 ?! V
  1155. ; at MYSQL_PORT.$ V, Q% W5 R; T* D, Y4 i" _$ h
  1156. ; http://php.net/mysql.default-port& E/ I5 ?$ D) \% T! \5 L$ }
  1157. mysql.default_port =
    & F( |0 ]: ~& P  B, H1 ]
  1158. 8 @; G- y; Y/ _
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    8 ]8 A; e0 U/ C7 q: `
  1160. ; MySQL defaults.0 M* O' M% I9 v. a1 F" ~
  1161. ; http://php.net/mysql.default-socket$ o* q6 n; i6 \6 U; D% S+ O( J
  1162. mysql.default_socket =- z1 a1 t3 |$ J' o
  1163. % ~0 Z3 e5 e6 r1 {4 S' G' Y7 O$ Q
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).' Y8 k' k* c* }2 @
  1165. ; http://php.net/mysql.default-host5 m) x9 e5 @  u
  1166. mysql.default_host =1 @8 Y& G7 d2 ]: N& q: M

  1167. # V  W) X( ]- V! n+ }
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    $ e  ~: F8 `; }% n# w
  1169. ; http://php.net/mysql.default-user+ P) Z2 i$ `6 F) ~
  1170. mysql.default_user =
    + q0 l* k8 x- a6 ]; K! v1 u
  1171. 0 \, z! D3 N1 \' D
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).' @9 w+ {! S4 _9 p( M) G7 r0 k# j. o
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.1 h! e$ h5 Q. d+ W$ V
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    4 ?' Q0 ^1 N' ~" E$ g1 W5 X
  1175. ; and reveal this password!  And of course, any users with read access to this
    + c* h+ p: L$ w% W6 d
  1176. ; file will be able to reveal the password as well.' W$ @1 n  n( [* Z1 G
  1177. ; http://php.net/mysql.default-password
    2 ]+ c5 E  m. M" g
  1178. mysql.default_password =
      s2 m- ]* v2 |) i, C
  1179. 1 @: T; t+ W1 H6 m& o1 k8 x2 q9 n$ j
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    * |( ~2 g: E) {8 p$ s% j8 ?& x
  1181. ; http://php.net/mysql.connect-timeout
    6 C7 g% m' A  D& l7 ~
  1182. mysql.connect_timeout = 60' \, \1 [9 Q! i/ e& g

  1183. 5 ~4 X6 t6 K: a& e8 B, h
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and4 ~8 [* E; ^1 `, w& Y
  1185. ; SQL-Errors will be displayed.
    * o3 e! _/ M/ P6 J# g& h% g
  1186. ; http://php.net/mysql.trace-mode  M. q/ Z8 o$ l4 `/ [2 z) w2 P
  1187. mysql.trace_mode = Off
    ' E& M4 n' m1 E) b
  1188. 3 A, A4 H  W& q! |
  1189. [MySQLi]( J5 i! g+ Z+ D7 h% o9 K

  1190. ) `: t) |+ l( y6 N1 y
  1191. ; Maximum number of persistent links.  -1 means no limit.
    : Z/ b0 C: h. x0 m
  1192. ; http://php.net/mysqli.max-persistent
    ' J6 f! ]5 t2 `! q/ N
  1193. mysqli.max_persistent = -1& k( U# t# \: Z' c
  1194. 5 c6 V$ w  K& D) h: O# `
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    & A6 y! {6 N5 k
  1196. ; http://php.net/mysqli.allow_local_infile
    # E6 D* Q- B2 ?+ w& r. y0 u" i5 x
  1197. ;mysqli.allow_local_infile = On: f# J7 ^' o8 P7 J5 T+ M& C
  1198.   v! a+ I& k; X/ F6 n3 T# F+ D
  1199. ; Allow or prevent persistent links.' z: f, n0 }: N3 |* v7 O
  1200. ; http://php.net/mysqli.allow-persistent
    + k9 R( I* ]5 }6 @
  1201. mysqli.allow_persistent = On9 S: U- X* V+ \! k1 R8 ]) j* a. X* h
  1202. : P+ r1 e9 [" j1 H& v1 [) n  v, G
  1203. ; Maximum number of links.  -1 means no limit.
    , w; {4 G; E" I+ c
  1204. ; http://php.net/mysqli.max-links
    0 J7 E8 }$ M' O  d* d
  1205. mysqli.max_links = -14 O2 ~5 L% Z2 B5 U. z
  1206. - c  V; R+ R% ]7 \+ W# X
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    . E1 \$ k9 H4 l+ x, y" u3 v) P
  1208. ; http://php.net/mysqli.cache_size- [* J( b& D& l5 }2 Q) X" q0 l, d; a$ Y
  1209. mysqli.cache_size = 20007 I; f* _0 s* Z1 g2 A# w( v

  1210. 2 d' l% [1 O  c% e+ o. d8 H4 N* g' U
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use; F9 A, K) Q9 L" o9 k6 K. G4 E
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    . o7 o; r9 v0 ^. i; Z
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look# A- o/ y  a2 }* h
  1214. ; at MYSQL_PORT.
    ) w: s2 b. j* T/ O
  1215. ; http://php.net/mysqli.default-port
    + {& [! ?) o% W1 R6 f
  1216. mysqli.default_port = 3306
    # i; ]8 q- @4 c
  1217. ; u4 `+ ?% z0 U( @
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    , @1 U$ F0 @* v6 N( Y
  1219. ; MySQL defaults.6 r0 ^  S: B* f- i7 a- }3 Y
  1220. ; http://php.net/mysqli.default-socket
    % F1 e% g# Y- G/ r& R
  1221. mysqli.default_socket =
    7 p1 Q$ i. l( Y* [( r- }6 j8 O1 W3 {; m& M8 x

  1222. - m" i$ I; z$ Q# p
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).! @% Y3 j4 X% `/ o& e% q, R
  1224. ; http://php.net/mysqli.default-host$ g3 T' h8 j4 t4 @% q
  1225. mysqli.default_host =
    $ w8 R* l) \# f

  1226. & N. K! _* P( V6 }3 ^: O" \
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode)./ X6 @3 B' J' c
  1228. ; http://php.net/mysqli.default-user
    7 B) m7 m4 K* b+ G+ L' g0 B. I
  1229. mysqli.default_user =. h5 P% D/ Y2 z- ?; V( _0 D- {5 q9 G. D
  1230. 1 D; M0 D* G3 R
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).5 `, {' F! x8 T/ E" `; y' k7 @. K
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.! m( B9 R) ]% V; r4 o: z* W
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    * p$ q, M$ }5 T1 z3 P
  1234. ; and reveal this password!  And of course, any users with read access to this7 u8 x1 d8 m+ }7 n' e$ A& C; n
  1235. ; file will be able to reveal the password as well.  J3 I% X. N6 M6 H1 F: B
  1236. ; http://php.net/mysqli.default-pw
    / J% n! t7 ?6 X' a! Z
  1237. mysqli.default_pw =
    # @& u' G0 J% K
  1238. 6 `" H+ w+ _- Z
  1239. ; Allow or prevent reconnect4 a: ~& M( ?: M, Y+ z; ?) I
  1240. mysqli.reconnect = Off4 @& J- T/ A$ A* e$ Y6 {

  1241. # v1 Q0 h1 Z- R6 Y
  1242. [mysqlnd]9 x  N" }3 e! X1 W" ~5 I. B* [* }
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    7 j% Y5 u3 [( D2 A7 Y. J
  1244. ; used to tune and monitor MySQL operations.
    # H# t4 b1 K2 X! L
  1245. ; http://php.net/mysqlnd.collect_statistics
    # w+ `  ]2 F! y7 b* U3 _& G6 k
  1246. mysqlnd.collect_statistics = On
    9 J: ?( |# U0 c7 a3 e& F
  1247. ! l8 k; u& [& R; u9 E* M
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be; J+ J2 Y! M5 s0 O/ z, W
  1249. ; used to tune and monitor MySQL operations.
    ) ^+ Z4 k. r+ |* Q) t  a
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    * Z, e. F: o. l; K' J" \/ e
  1251. mysqlnd.collect_memory_statistics = Off
    6 K4 u) e, N3 C0 K
  1252. ) e  e; n. X  O+ b( A2 e& Q0 m$ y
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    + P: {* u$ i. z$ A- Y: W. o# B) L
  1254. ; file.# f. \! P3 [6 z. t6 F
  1255. ; http://php.net/mysqlnd.debug
    % h2 s; Y, x. v7 a/ |8 R6 {" u
  1256. ;mysqlnd.debug =
    , {7 h) R3 O6 t+ V, V

  1257. , r# u: D* N/ U( j$ _/ n
  1258. ; Defines which queries will be logged.
    & `( }3 I, l1 S. r
  1259. ; http://php.net/mysqlnd.log_mask
    1 R3 [2 n2 v1 j# j' D
  1260. ;mysqlnd.log_mask = 0( w" A9 W. |; B, T, e# d

  1261. ( Y5 F% O( n6 y2 x  L+ V
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    ' B5 x: O- [+ S2 g3 z2 X8 B# p
  1263. ; http://php.net/mysqlnd.mempool_default_size  N$ A. F1 y. D  t$ ?  \  i
  1264. ;mysqlnd.mempool_default_size = 16000
    - ?" G( Z) d5 D2 `' G$ D3 k% y

  1265. 3 `1 H9 G8 h* e3 T  \
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    1 V* F/ a- r! ~; Y
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size! H1 B) W6 {% @9 ~6 |# f6 h* {* y
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    " S* m  |2 Y/ c9 }$ ^# M* U6 j
  1269. $ }1 D8 E" x) W% {# }' A
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    ) V( Z1 m/ h! t/ f
  1271. ; bytes.
    4 [) p) G, U2 m6 W) Z" e+ n9 N
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    5 I; _$ S7 e0 e3 D4 n) d
  1273. ;mysqlnd.net_read_buffer_size = 32768
    ( l& k: ^8 j/ r. N& P/ t* s9 |

  1274. ( r: G! J4 x$ w6 S- a% U
  1275. ; Timeout for network requests in seconds.) z; _- w0 h1 B
  1276. ; http://php.net/mysqlnd.net_read_timeout/ L! N: ]7 d" I( f- y; E
  1277. ;mysqlnd.net_read_timeout = 31536000( W4 k" u# o1 _9 }

  1278. + A5 \" B5 a3 R: @
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA6 m: O2 b: K) ]4 {
  1280. ; key.
    + \4 \% }7 a7 F8 D1 n; o
  1281. ; http://php.net/mysqlnd.sha256_server_public_key' i2 Y" ~& `2 S- B: A
  1282. ;mysqlnd.sha256_server_public_key =, r4 q& W- [; c; C% t- {
  1283. ) ^# @) C) A8 d: \. b
  1284. [OCI8]0 S, D: Q& X( ~3 l

  1285. # D# S0 w. j8 y) r/ U
  1286. ; Connection: Enables privileged connections using external
      R/ L" t' }& j
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    6 J0 A1 H, D, [, I
  1288. ; http://php.net/oci8.privileged-connect
    4 f$ D, I4 {0 t; E8 Z2 l. J$ _
  1289. ;oci8.privileged_connect = Off
    . q, s3 [! w6 R6 K- {- |
  1290. 3 ^& Q/ F! c9 O9 g, B& J( |2 E$ u* f
  1291. ; Connection: The maximum number of persistent OCI8 connections per5 E6 d' ~. e9 O3 v7 P
  1292. ; process. Using -1 means no limit.- p) B+ q% p; l9 C5 H
  1293. ; http://php.net/oci8.max-persistent+ s5 I8 N3 L! ]+ a5 r6 g7 u
  1294. ;oci8.max_persistent = -1  l( k5 `4 f; g2 ]1 v
  1295. 0 E0 f: u2 C; D& V0 q
  1296. ; Connection: The maximum number of seconds a process is allowed to
    & b# @4 T5 H0 }& k3 S8 d
  1297. ; maintain an idle persistent connection. Using -1 means idle
    8 Z' \/ I) M, B0 N
  1298. ; persistent connections will be maintained forever.
    5 z$ G1 t$ v7 R5 @6 m
  1299. ; http://php.net/oci8.persistent-timeout
    2 Y1 v& W  P6 [! @0 @, y1 X- ^* c. r
  1300. ;oci8.persistent_timeout = -1( z; K+ x9 A  f8 p1 n3 o- c! b# K
  1301. ! r5 O- k- w+ c4 {/ E
  1302. ; Connection: The number of seconds that must pass before issuing a4 ~; K- E% o, x, q8 U+ E. I
  1303. ; ping during oci_pconnect() to check the connection validity. When
    % v! U- g/ G) ~
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables8 R+ [5 @6 `' i* h* \
  1305. ; pings completely.
    : O) z, t; @+ i7 b. ~
  1306. ; http://php.net/oci8.ping-interval# z4 S9 K7 {- [; m3 t+ t3 l" K
  1307. ;oci8.ping_interval = 60
    " s( Z+ E( i; I: ^) l

  1308. , T  V- d0 R* Z  @) P
  1309. ; Connection: Set this to a user chosen connection class to be used) n0 }+ |' X" j3 j
  1310. ; for all pooled server requests with Oracle 11g Database Resident, @6 b5 t7 t4 y: @( d
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to" Z: P; m8 l. ?3 H/ J4 U% B& i
  1312. ; the same string for all web servers running the same application,
    8 O, T" B- k. i1 D
  1313. ; the database pool must be configured, and the connection string must+ J# d$ y4 T! B
  1314. ; specify to use a pooled server.
    ! D0 ^& Y: ^* y0 v# N
  1315. ;oci8.connection_class =! H  M, F, G/ C/ j! B# V: d

  1316. 8 i% d+ x$ a- x& A( V# h8 `, D/ \
  1317. ; High Availability: Using On lets PHP receive Fast Application( Z4 Y) x( B# m9 y$ O  R
  1318. ; Notification (FAN) events generated when a database node fails. The$ n, c' C& m' d
  1319. ; database must also be configured to post FAN events.$ @) x; v$ k1 M
  1320. ;oci8.events = Off
    0 O* `% w6 t! [
  1321.   V% `  g8 K' \$ D
  1322. ; Tuning: This option enables statement caching, and specifies how6 a) s) u( U/ W6 I+ L. h
  1323. ; many statements to cache. Using 0 disables statement caching.
    1 U* E! R* U0 v* _) u
  1324. ; http://php.net/oci8.statement-cache-size0 Y9 R3 N! b4 q3 R( n
  1325. ;oci8.statement_cache_size = 208 ]# e+ u4 e" C9 Z! e* @. X
  1326. % k; A4 d" V7 L' ~# B& u1 ?
  1327. ; Tuning: Enables statement prefetching and sets the default number of4 h7 S1 D( i# f
  1328. ; rows that will be fetched automatically after statement execution.6 o1 D! s) \% ~
  1329. ; http://php.net/oci8.default-prefetch
    5 |" e, s* E9 M  z: J! }
  1330. ;oci8.default_prefetch = 100
    1 Q4 B  m* D( U7 T
  1331. : b- \+ S3 c/ a1 y/ K
  1332. ; Compatibility. Using On means oci_close() will not close
    5 l. J9 H) a: `7 `
  1333. ; oci_connect() and oci_new_connect() connections.+ t  {2 a5 C0 a& n# e
  1334. ; http://php.net/oci8.old-oci-close-semantics
    0 I, S; A  X6 S
  1335. ;oci8.old_oci_close_semantics = Off
    % F0 H+ ?. v8 @8 u) m
  1336. 0 y; ?5 v1 X- A1 f0 g: x/ ]. H
  1337. [PostgreSQL]
    + C! r1 J% v, u! H( m' o* Q
  1338. ; Allow or prevent persistent links.
    % _/ q! S1 L& _6 @7 F! B' g$ G9 H
  1339. ; http://php.net/pgsql.allow-persistent
    : `8 l6 w1 j4 p, T  A7 T, ]
  1340. pgsql.allow_persistent = On
    5 O7 `! i# D, O; L
  1341. & r# a0 W; b1 S6 g. c2 z
  1342. ; Detect broken persistent links always with pg_pconnect().
    , I6 T( J" {8 A3 |# z  A
  1343. ; Auto reset feature requires a little overheads." V) I' f; W, y8 a0 Z* D7 ?
  1344. ; http://php.net/pgsql.auto-reset-persistent
    & P) G0 \) F+ d
  1345. pgsql.auto_reset_persistent = Off
    ' b! J  S+ |! [
  1346. ) W5 H5 G& R0 j
  1347. ; Maximum number of persistent links.  -1 means no limit.7 Z" }. o8 _4 `- V& q
  1348. ; http://php.net/pgsql.max-persistent
    % |& U- I+ k" q7 d6 d: B  b/ s
  1349. pgsql.max_persistent = -1
    , N6 |9 _2 x+ J, z/ }, ?. |8 X8 p

  1350. ; O1 U4 h) M7 n9 N
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.6 w* {# i& Q2 N( L
  1352. ; http://php.net/pgsql.max-links8 G! n" n" _; o7 o/ _
  1353. pgsql.max_links = -1/ ~9 w- m5 ^0 I& s) O8 ~
  1354. $ I! r; n) s. n6 T8 z. H. W# `
  1355. ; Ignore PostgreSQL backends Notice message or not.
    2 h% L2 W5 Q/ q! ?7 X8 @
  1356. ; Notice message logging require a little overheads.
    ' w! ~) }  Z( @; v9 C0 G3 `
  1357. ; http://php.net/pgsql.ignore-notice- i0 h. `5 S4 K- {4 c% ^
  1358. pgsql.ignore_notice = 0
    ) U# W5 w9 A5 j( b6 \4 ~
  1359. 0 I& c# {  E: Q( G. D& u( @1 d' e
  1360. ; Log PostgreSQL backends Notice message or not.' e$ o% M9 p! A6 ^) l
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.9 }. R- V7 W, m) e# w4 ?9 }
  1362. ; http://php.net/pgsql.log-notice
    ' \& C7 w5 @, Q- I" s
  1363. pgsql.log_notice = 0
    4 k8 z: P" ]# c2 O8 C

  1364. ( j5 _" U" |- X
  1365. [Sybase-CT]
    ! I# O" Y; {5 A/ x
  1366. ; Allow or prevent persistent links.
    $ L) w1 K/ _1 e- K
  1367. ; http://php.net/sybct.allow-persistent1 t2 c/ |% y3 M, P% r- x3 G
  1368. sybct.allow_persistent = On
    & N/ d% s% Q5 b* f+ ]2 [$ L8 M

  1369. 8 l9 s* V4 A6 I3 v: y/ Z
  1370. ; Maximum number of persistent links.  -1 means no limit.
    ( `# T  p2 K) I  s
  1371. ; http://php.net/sybct.max-persistent7 y" I, {! r7 J4 d8 j: M
  1372. sybct.max_persistent = -19 P5 ^7 e6 w/ `& D( a
  1373.   m- _/ ^7 G* G
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.) [- Z4 t! C/ o5 i9 n( ^
  1375. ; http://php.net/sybct.max-links
    7 t/ P5 ?2 T9 a, v, ~! ~
  1376. sybct.max_links = -1
    - ?8 Z  `2 u6 @! Z( c4 l, s" V
  1377. ( N- l  v* R& u+ N, Z% F
  1378. ; Minimum server message severity to display.
    3 N# t. E1 b  H& C: ^# z1 V
  1379. ; http://php.net/sybct.min-server-severity, ]6 q7 i, q* w0 \, w' y- y
  1380. sybct.min_server_severity = 10
    , [' {% l3 b$ C; ~7 n% [4 c
  1381. / F. J* x' H9 F  q
  1382. ; Minimum client message severity to display.& K6 U6 O4 m3 O3 {& D5 h
  1383. ; http://php.net/sybct.min-client-severity1 {, E+ r+ T2 Y  a# p
  1384. sybct.min_client_severity = 10/ p& l; L+ s" `  Z$ D' ~, j
  1385. : D7 i6 b5 p, d7 k; C3 ?- t
  1386. ; Set per-context timeout/ `* D# C: `/ s- n% _* d+ B5 x5 C
  1387. ; http://php.net/sybct.timeout6 k3 e) v! Q/ S1 W
  1388. ;sybct.timeout=, j. O* I) S- C+ q2 u9 W/ b# z
  1389. # A  C( n- I+ j9 j; D/ ~+ ~5 s" j
  1390. ;sybct.packet_size# ]1 ~; Y* D, n2 C! r
  1391. 8 N; f7 r+ X. \3 h* U* R% l
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.: z& y+ @0 V& s
  1393. ; Default: one minute
    ; r# B$ ]4 e* Y; Z
  1394. ;sybct.login_timeout=
    2 V( D. ^; {  y9 ?7 w
  1395. - Y% V# s1 A) r
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    % W" S- U# m) P: ^
  1397. ; Default: none% n9 f2 U9 g4 k% E( \* B
  1398. ;sybct.hostname=
    , G5 \) J% z1 |5 v
  1399. 2 o( @; h- R* w4 a
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    ( U0 `' S5 I/ V! t. b7 q
  1401. ; Default: 0* w: C2 V! g$ d+ b7 I0 [- x8 f
  1402. ;sybct.deadlock_retry_count=
    8 G2 R" d: o2 s: R& v+ Z) ]* U8 m: D
  1403. : ~2 d- @, S& D4 I% l7 f
  1404. [bcmath]" Y2 \" A& d% S: C
  1405. ; Number of decimal digits for all bcmath functions.
    1 P1 X. O$ G8 `  F% Q, S; `$ Q: E/ m
  1406. ; http://php.net/bcmath.scale) w* {/ ^1 |2 ?% q( c/ q/ V
  1407. bcmath.scale = 0
    3 S1 N) Z2 u2 F) k+ X/ V
  1408. ; @: \1 o7 n$ c3 t3 H0 x- p
  1409. [browscap]
    2 d% B1 `; [' R, [6 {
  1410. ; http://php.net/browscap+ R: @) j; e! P& q9 u9 |: x
  1411. ;browscap = extra/browscap.ini
    - ^9 z1 L. S% F; q4 ~' M. e4 F/ {

  1412. 4 r* s" ~3 O8 l6 H* d2 H+ V
  1413. [Session]
    $ J8 ^! n; F$ ]5 A' }7 b# p! H9 n
  1414. ; Handler used to store/retrieve data.
    ; ?, P: z1 F/ q6 Y1 j
  1415. ; http://php.net/session.save-handler
    2 Z9 q* S8 ~2 j/ p& X
  1416. session.save_handler = files
    . i$ O3 ?; s4 z2 D* b

  1417. 9 J# s+ |" J5 b: r! `$ s7 Q
  1418. ; Argument passed to save_handler.  In the case of files, this is the path8 P# H7 z) m8 ?* B
  1419. ; where data files are stored. Note: Windows users have to change this
    - F9 Q' Z8 w9 R8 Z( ^# c4 U
  1420. ; variable in order to use PHP's session functions./ \+ X9 \7 P2 F: [( h
  1421. ;
    * h' E& }! {; }$ e& ^0 _
  1422. ; The path can be defined as:
    ! S4 w7 Z. K2 @# a* N6 ?
  1423. ;
    6 j- C$ E8 f" B: x$ d
  1424. ;     session.save_path = "N;/path"8 w+ q. R% J! D+ u1 q" H
  1425. ;
    2 W  O/ T1 a6 m4 H% V6 D
  1426. ; where N is an integer.  Instead of storing all the session files in5 v& N5 I% h( ]5 s; t4 ^
  1427. ; /path, what this will do is use subdirectories N-levels deep, and7 V8 z  W- X+ r( I  c- ]3 Q; C
  1428. ; store the session data in those directories.  This is useful if& I* S8 w. D  Y
  1429. ; your OS has problems with many files in one directory, and is
    1 u, m9 E8 L$ B
  1430. ; a more efficient layout for servers that handle many sessions.
    3 x, }5 _6 L; E. g6 c7 G6 L
  1431. ;
    # {7 }0 T+ u7 n: E
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    + f+ p5 S6 [9 E+ {1 p, i0 n/ `( _
  1433. ;         You can use the script in the ext/session dir for that purpose.
      I2 M# t6 c0 H( B" d1 Q
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    7 f8 |. y# C4 m* k9 W3 G
  1435. ;         use subdirectories for session storage( N4 [$ H" |# k( J4 G$ k- ]& [
  1436. ;7 Z- \! T% c( f2 l, O& i
  1437. ; The file storage module creates files using mode 600 by default.7 B7 y0 ?5 t& c4 d6 t
  1438. ; You can change that by using+ j, B9 [( A# x1 f/ u) R% T
  1439. ;
    - B, S3 k  R" Y, ]
  1440. ;     session.save_path = "N;MODE;/path"2 J  F& u% D( H2 z# Q
  1441. ;
    ! c; c' `$ c$ i! l0 ?' y' s
  1442. ; where MODE is the octal representation of the mode. Note that this
    ) ?  g, b. W: ?8 _& {( {
  1443. ; does not overwrite the process's umask.' k) M, D5 l3 d1 s, F
  1444. ; http://php.net/session.save-path
    9 J. G+ G( O5 W% D+ M- Y
  1445. ;session.save_path = "/tmp"$ P$ Q% T+ G6 V% h, ?0 a* \8 ~

  1446. " ]) Y% e6 G. U# E
  1447. ; Whether to use strict session mode.
    0 l9 i+ D3 r' H$ [: Q7 U) v+ u) B
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate; \% r# t0 ?- h6 z3 s
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects. y. t, a$ z8 |3 W% ]' D: {
  1450. ; applications from session fixation via session adoption vulnerability. It is
    ; ~% J( z. x' v3 P& `
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    3 a9 P, |! c1 v" W7 r
  1452. ; https://wiki.php.net/rfc/strict_sessions4 N3 \: X3 K; N4 W" S3 t& j
  1453. session.use_strict_mode = 0% J( p8 u* D! ~1 ?1 a8 @; c

  1454. 1 I0 ~+ U' U/ x+ V, b
  1455. ; Whether to use cookies., y+ H. d. w0 i, L3 \2 M4 \5 L
  1456. ; http://php.net/session.use-cookies
    & x- ~5 S- f  E$ o9 K, }
  1457. session.use_cookies = 1
    ; y" D: O/ N' N4 B: z6 f7 u) J

  1458. : n% s. l* `4 O0 c7 X1 E) t" a5 X
  1459. ; http://php.net/session.cookie-secure* q2 ]# ?/ L1 o" Z
  1460. ;session.cookie_secure =: C! L. m: i  t# Y, o

  1461. ( ~3 J8 U+ K8 j% t! @: c2 j
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining1 t9 H. ?4 o: r4 Q/ r
  1463. ; the session id. We encourage this operation as it's very helpful in combating% Z0 v3 x7 @6 l4 K, {
  1464. ; session hijacking when not specifying and managing your own session id. It is
    1 z( B7 ]/ M9 `2 g8 z' @' [
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start./ t) ?4 m$ }" s! A+ Q4 ]
  1466. ; http://php.net/session.use-only-cookies
    * c% }, Z$ e$ ?8 y, u$ X
  1467. session.use_only_cookies = 1
    0 X/ S4 g1 J6 [$ C( L) t1 K# ^+ e
  1468. 8 R0 S! W4 m1 [: A8 a8 _
  1469. ; Name of the session (used as cookie name).
    ) ~7 H* S/ }% W/ l# c' |0 n  [$ K
  1470. ; http://php.net/session.name. V3 g2 s, N9 o. [: d( {8 q
  1471. session.name = PHPSESSID8 M" O% q3 c, N- V  E. K& T
  1472. % U2 v0 G# X9 r3 Y0 A
  1473. ; Initialize session on request startup.0 ^: h. U: X4 R' O$ V
  1474. ; http://php.net/session.auto-start
    + A% ]5 N/ L4 u2 T4 i* u/ B
  1475. session.auto_start = 0/ `2 \: }7 P" M# w4 o, U

  1476. . o3 l( E/ i( h
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    % Q+ T5 J5 V3 l6 T4 J0 }7 |1 f2 a
  1478. ; http://php.net/session.cookie-lifetime
    ' W* Z! X/ u- k6 \
  1479. session.cookie_lifetime = 0
    0 U: J  r0 o3 b
  1480. * |" N$ g3 d6 h* B
  1481. ; The path for which the cookie is valid.
    ! Q7 {  D/ F6 c; Y4 s' y$ d7 k
  1482. ; http://php.net/session.cookie-path
    1 P* P/ S. ?4 X: F0 F; {7 {
  1483. session.cookie_path = /2 \7 i5 Q) U6 e, N7 ^
  1484. $ B4 l2 k$ b- a* R& F3 a
  1485. ; The domain for which the cookie is valid.2 `" K" J  W0 {8 c7 [4 I
  1486. ; http://php.net/session.cookie-domain7 {5 X8 f6 a, p3 o& i: g9 j, W9 D
  1487. session.cookie_domain =
    4 Y- p$ V3 c+ O, _; ~$ p; W
  1488. / _0 M6 n* ^  R6 h; N  R
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.- l2 h* z: _# d
  1490. ; http://php.net/session.cookie-httponly# Q0 e2 ~7 t0 T# Y
  1491. session.cookie_httponly =
    9 D3 \6 E$ a8 ?' m$ u
  1492. 2 I* K: }. ]1 c+ r. f5 M
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.& E  a( t0 @) i
  1494. ; http://php.net/session.serialize-handler
    ; r. P) G0 Z' l& f3 m# |. }
  1495. session.serialize_handler = php
    6 Z4 K  [7 z9 J
  1496. " o5 Q' e# n% `$ I1 y4 n
  1497. ; Defines the probability that the 'garbage collection' process is started. v9 F+ K0 _; h0 A, p) _3 h
  1498. ; on every session initialization. The probability is calculated by using. v% b! ^$ X% x4 \5 b$ {
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    ( z- k% w8 _2 K7 T5 u
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 16 N  W% F0 w6 L
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance& W* I& U( u+ v
  1502. ; the gc will run on any give request./ q0 Q+ A0 e: _! S6 Q2 d* ~0 o! j
  1503. ; Default Value: 1
    ! C$ P# l- s/ f/ p" }
  1504. ; Development Value: 10 q& h2 d3 e3 \" \) X7 M+ D
  1505. ; Production Value: 1
    * p$ Y2 X: ~. g
  1506. ; http://php.net/session.gc-probability# y2 n4 L7 Y7 L5 C
  1507. session.gc_probability = 1
    ! ^  }. B2 L: D
  1508. - n+ U, n" u* Y
  1509. ; Defines the probability that the 'garbage collection' process is started on every5 l' f# o. _4 v$ F
  1510. ; session initialization. The probability is calculated by using the following equation:
    2 F$ P9 y6 y% |& o) \
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and4 H. ~2 V$ X9 n& J
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    ! l$ y0 R6 M, B: {6 c! {0 }0 \
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance3 b  k, ^9 w- D/ ]; D6 e  I
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you8 l2 {. r9 {  U' |
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    4 p) E; A3 X1 ?- P2 J# d! u/ M
  1516. ; this is a more efficient approach.
    / F: T# ]+ q  y% w0 W/ g
  1517. ; Default Value: 1008 S$ u! O" @$ {( A
  1518. ; Development Value: 1000. p$ e$ Y3 L" h5 k
  1519. ; Production Value: 1000
    7 q1 ]& o! r7 a2 `* }. X
  1520. ; http://php.net/session.gc-divisor- ?, @( Z! g1 o! S
  1521. session.gc_divisor = 1000/ R0 c  b! U% m5 c6 p% Y

  1522. % y8 @3 S# l6 u
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and! t* c' }0 q9 o, b5 o
  1524. ; cleaned up by the garbage collection process.& D/ y: U6 W2 R4 I
  1525. ; http://php.net/session.gc-maxlifetime, |& a  ?) y  t( R0 r7 p% _
  1526. session.gc_maxlifetime = 1440: V) ?* `8 c; A& R  F

  1527. ( K  G# u1 U) f2 r/ d1 G* l* ~
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    3 B5 n8 _2 N1 J6 i9 u
  1529. ;       (see session.save_path above), then garbage collection does *not*
    # E0 k' x& h  O# Q* a5 N9 b5 b
  1530. ;       happen automatically.  You will need to do your own garbage  n$ C) `' g: I
  1531. ;       collection through a shell script, cron entry, or some other method.  o  B3 Q8 c# ?1 a- \8 i
  1532. ;       For example, the following script would is the equivalent of* y' ~/ P/ u; H3 M' H7 ~
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):9 @; D& w5 T, U1 d
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm2 E! C9 N2 ~" k: J, E* X" l4 `: z8 E
  1535. : l7 o( _( t+ K8 t5 F9 u) a' I
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    7 q0 a. t9 H- X0 e: [
  1537. ; HTTP_REFERER has to contain this substring for the session to be8 m+ o. a3 P6 o- A3 x; G
  1538. ; considered as valid.
    . ~* x6 H/ ?1 e
  1539. ; http://php.net/session.referer-check0 `9 h% s* g$ Q: N* H
  1540. session.referer_check =; ]3 \+ T+ O- \

  1541. 9 g" X- v) Y5 b' W/ e4 P+ I  d" }
  1542. ; How many bytes to read from the file., s5 a8 u! N+ r9 [( C$ O
  1543. ; http://php.net/session.entropy-length
    4 P% {7 x& ^* U, S$ H7 ^
  1544. ;session.entropy_length = 32# x" Q% c' s; u, L* @* [
  1545. $ \& q, v( e9 ^" s
  1546. ; Specified here to create the session id.
    / _3 K' K3 I: p7 I
  1547. ; http://php.net/session.entropy-file
    5 C" b% q' f/ x
  1548. ; Defaults to /dev/urandom4 z* D. _6 I% B" r% M% O( V4 _
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom0 v) D( ]6 }  u. ^$ P6 b
  1550. ; If neither are found at compile time, the default is no entropy file.
    $ O- I+ ^+ B2 q* A
  1551. ; On windows, setting the entropy_length setting will activate the  R+ H. F! g/ S- Q3 V+ e' j
  1552. ; Windows random source (using the CryptoAPI)
    * v6 t+ ]! |: j
  1553. ;session.entropy_file = /dev/urandom& L) V" }" [) V
  1554. # g# u  y3 m  @4 r8 G$ w
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    # g# P! a8 @( a7 o8 f3 h* F% ~
  1556. ; or leave this empty to avoid sending anti-caching headers.
    " k7 r0 D8 f9 X- d. Q7 q
  1557. ; http://php.net/session.cache-limiter
    ) E3 f$ n0 T. W, u5 n# ?  N( x
  1558. session.cache_limiter = nocache3 j  N( j9 }2 P- H

  1559. * l5 Y7 e! W1 J( D+ y
  1560. ; Document expires after n minutes.' e% i5 D2 u& K& S
  1561. ; http://php.net/session.cache-expire' v0 J( Y  o' R; u3 O! C3 B6 {
  1562. session.cache_expire = 180
    ! F6 g2 A6 @" l$ M; G2 u: y/ C

  1563. 1 Q5 K1 o3 Z) d$ L$ I4 |
  1564. ; trans sid support is disabled by default.
    9 V* K' X& i2 L$ f4 I
  1565. ; Use of trans sid may risk your users' security.
    # O( K* C% K4 s, {4 E6 z& Z" v
  1566. ; Use this option with caution.
    $ ~5 e# I& }( m3 l- C  k2 y! W
  1567. ; - User may send URL contains active session ID
    7 m3 S: s) j% L
  1568. ;   to other person via. email/irc/etc.
    2 t! u* l. n+ Y; V
  1569. ; - URL that contains active session ID may be stored
    , Y" y" }  T# R# z
  1570. ;   in publicly accessible computer.
    / i. n7 |5 g' p; u2 E" d7 l# O
  1571. ; - User may access your site with the same session ID
    7 S% L' W7 G1 D, T
  1572. ;   always using URL stored in browser's history or bookmarks.
    0 L* ]9 C; j5 ^' I! V( D
  1573. ; http://php.net/session.use-trans-sid
    2 _: F5 s4 r1 |6 M$ [
  1574. session.use_trans_sid = 0
    + `4 f! `# g" S2 l8 `5 a( ~

  1575.   ^6 N) L+ B; U/ L
  1576. ; Select a hash function for use in generating session ids.
    & P0 l5 Z( O( ]) ?
  1577. ; Possible Values+ `$ \# a; C9 j7 L# q8 V
  1578. ;   0  (MD5 128 bits)
    $ F8 d8 i3 |! O; X1 v, H
  1579. ;   1  (SHA-1 160 bits)
    9 G" L# ^  S, Z* a; X6 s/ w
  1580. ; This option may also be set to the name of any hash function supported by  {3 i0 V! N, m  k; u
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()" @  Q6 Y& Z1 D7 x# w# q  ^" O
  1582. ; function.
    # F. W+ r; J5 H
  1583. ; http://php.net/session.hash-function
    6 K* w8 v7 o& S3 c3 X% K
  1584. session.hash_function = 0
    ! S' C4 \3 B8 ?6 Z
  1585. ( a( z1 J% T. d/ l
  1586. ; Define how many bits are stored in each character when converting  l* ]8 L" j/ q. @8 |3 q5 j5 R
  1587. ; the binary hash data to something readable.
    7 j& e! O- x0 K" j7 P1 M! \5 @5 \
  1588. ; Possible values:
    & a5 M- s% U& ^% i
  1589. ;   4  (4 bits: 0-9, a-f)
    ! W& x2 _8 A- ~- d  u) c' A
  1590. ;   5  (5 bits: 0-9, a-v)  w: E; N$ c; t
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    ; J) Z4 z( K: ^* I7 @
  1592. ; Default Value: 4
    ' [0 ~) v* }2 Q
  1593. ; Development Value: 5
    7 v% N5 [# Q& P4 X; C& H
  1594. ; Production Value: 5
    3 w( F8 |0 _6 y2 l9 h. U2 ~  c
  1595. ; http://php.net/session.hash-bits-per-character
    5 k6 l' f  x+ z+ v6 b8 f7 m
  1596. session.hash_bits_per_character = 5
    4 z) P7 [/ u% R( E) ^+ }) p% A/ P

  1597. ( Z1 [( i9 s; K7 Y' X* Z
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.) G  p  A' @2 o6 r8 {. R
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    / [$ s! X! W' O# j/ M  P# k
  1600. ; add a hidden <input> field with the info which is otherwise appended/ O$ ?, c2 m. t' j0 p  q
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    2 ~5 Y) |/ f$ [3 ?' y, d9 ]9 v
  1602. ; Note that all valid entries require a "=", even if no value follows.
    ) X# K& L. c0 H: ^9 z
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="6 B2 O" Z9 q8 J: |% S) R7 ~( ~
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    : C4 h. E3 [3 q9 M) z4 P" R
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    . r* B  O' H5 u2 B$ a
  1606. ; http://php.net/url-rewriter.tags, y1 B  X5 d. l* @
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry") i: p$ K  d3 S. T

  1608.   S( ^! a9 N& y3 D
  1609. ; Enable upload progress tracking in $_SESSION$ \! p$ \' ^7 z* r4 R: M! b. ^
  1610. ; Default Value: On
    $ ~2 U. {( f2 I& Y
  1611. ; Development Value: On5 a+ z' W3 ?' Z- S4 P
  1612. ; Production Value: On# h0 D4 q( m& j9 a4 ]7 W0 ?, w
  1613. ; http://php.net/session.upload-progress.enabled4 d+ N  R+ `( k8 }& ?# r
  1614. ;session.upload_progress.enabled = On
    % i) r; N- _/ f: i; V
  1615. ) Z- W) P" A. S6 b: F+ D# i/ i* ^7 d
  1616. ; Cleanup the progress information as soon as all POST data has been read
    & q. Z" y" Y8 E
  1617. ; (i.e. upload completed).  o0 ]* s8 b0 C
  1618. ; Default Value: On1 m% i+ t3 H/ U% x$ I
  1619. ; Development Value: On
    / s3 v! X& W7 X0 N- {6 ^
  1620. ; Production Value: On, z2 R- @+ X9 Z8 [8 }8 U# i
  1621. ; http://php.net/session.upload-progress.cleanup- a& R- j$ C! o2 H0 a# [
  1622. ;session.upload_progress.cleanup = On! U/ E$ s* V  M+ \+ n3 p% _9 Z4 p

  1623. * s6 z1 L  E  T! K( X5 }+ Y+ @
  1624. ; A prefix used for the upload progress key in $_SESSION: S5 W0 Q: Y/ n0 G4 R* Q4 o8 g
  1625. ; Default Value: "upload_progress_"
    $ {1 s+ _6 R% q8 g! \
  1626. ; Development Value: "upload_progress_"6 M) Z; S/ {& Q) e/ n
  1627. ; Production Value: "upload_progress_"
    4 z5 E# o/ y" s, P& j" q+ w) W
  1628. ; http://php.net/session.upload-progress.prefix" X7 R% b& ~8 h+ W! V( [% u
  1629. ;session.upload_progress.prefix = "upload_progress_"
    : d1 e' S* W  s" Y+ b6 R4 E, o1 Q3 s

  1630. 6 t8 X! z. ~. y  |& }0 S0 e
  1631. ; The index name (concatenated with the prefix) in $_SESSION& n2 E+ ~& ]% [
  1632. ; containing the upload progress information6 r/ O+ P7 y- }
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    0 |; {4 r9 y' N. {. J3 r9 f
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"2 j( e+ O) G& n; k5 v# `; `
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"7 x* X/ f+ U7 p2 \5 D( ~7 Z; \$ W
  1636. ; http://php.net/session.upload-progress.name
    2 l4 X/ Z5 m$ s; R9 j, t% W
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    3 \, \6 z9 b5 r# C9 v
  1638. - K" Z6 u# p+ J' {5 p9 M9 Q) W5 K
  1639. ; How frequently the upload progress should be updated.- S% G6 [" S1 C. j+ G, s
  1640. ; Given either in percentages (per-file), or in bytes
    0 T1 Z% a( p8 v* C6 g2 y
  1641. ; Default Value: "1%") m  r% E6 H9 c8 g
  1642. ; Development Value: "1%"5 f- \; o! M0 f5 H. q) B( u2 a
  1643. ; Production Value: "1%"
    ) I4 B+ l0 \% W* D
  1644. ; http://php.net/session.upload-progress.freq
    7 e# U/ u3 f1 m$ [% K
  1645. ;session.upload_progress.freq =  "1%"7 C' A5 N( H8 y, s2 p& U

  1646. ( j" R( X6 |7 y3 G, L& m
  1647. ; The minimum delay between updates, in seconds! e) i5 ~5 Q! x, r0 Y5 w
  1648. ; Default Value: 1: [, O" n4 J6 [5 Z! R
  1649. ; Development Value: 1
    4 L0 e8 H$ t# {; h+ R( Y' h" ]
  1650. ; Production Value: 1( U, G' I8 g; s' J  `, W* k
  1651. ; http://php.net/session.upload-progress.min-freq8 G5 K5 E5 _$ z( B1 S. |
  1652. ;session.upload_progress.min_freq = "1"
    , b1 }% V) }% k- F! n3 g( e
  1653. - ]2 S" i0 a1 ^; E, q& \0 P
  1654. [MSSQL]
    4 M# y5 u, _9 J: C9 n' e  C* \0 K" j
  1655. ; Allow or prevent persistent links.
    " J0 V4 T% H/ q! v1 Z& o& u- O
  1656. mssql.allow_persistent = On9 p$ A! y$ F1 Y9 x
  1657. # r- _4 U# J+ ^7 s
  1658. ; Maximum number of persistent links.  -1 means no limit.' `$ ^0 B4 J/ N
  1659. mssql.max_persistent = -1
    - _! V, y- Z4 D; g4 a* b

  1660. " a! P6 E! ^' q1 u! q: Y
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    & U! x/ c% p1 T+ I. a# k
  1662. mssql.max_links = -1
    # t4 \% f# t; X! T+ L1 V" J

  1663. ! z3 @$ m% ], A
  1664. ; Minimum error severity to display.) r" R7 m9 j; b( v$ R- a
  1665. mssql.min_error_severity = 10. K: g$ C4 A: G' I( p2 d1 _

  1666. : w7 Z! H* ^) W" q. |9 c
  1667. ; Minimum message severity to display.
    * P8 }. F" ^4 ^2 [
  1668. mssql.min_message_severity = 10
    % P, R* a( [& @  v6 a) r

  1669. ( }# L+ Y2 H; Z  n, U1 m! Y7 S9 ]2 `
  1670. ; Compatibility mode with old versions of PHP 3.0.
    ! T/ V* e" [2 a- }0 i: ?6 C
  1671. mssql.compatibility_mode = Off2 {* F$ `8 M5 U' E* b" ]

  1672. 6 N; d2 X+ D- v
  1673. ; Connect timeout
    / k* d$ F5 [0 m( }, f( R3 ?3 a0 |
  1674. ;mssql.connect_timeout = 5
    6 @+ F2 f9 f! z8 {

  1675. ) A% ]9 _$ h, S8 Q! A* z: B1 i0 s" ]
  1676. ; Query timeout
    # W2 Z: w3 W& S# W! I8 h: W  q( C
  1677. ;mssql.timeout = 60
    . c. f, d0 E* b1 F
  1678. + W+ F9 I$ Z' V$ S) u, i) x
  1679. ; Valid range 0 - 2147483647.  Default = 4096.* Z. g7 ?+ }+ @8 a% n4 O
  1680. ;mssql.textlimit = 4096
    8 k, w5 P+ [7 \$ @

  1681. & r. |9 S5 R' U
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    5 r0 `% }0 I% t; @; Y
  1683. ;mssql.textsize = 4096) N6 a5 a* m7 B* B
  1684. ) U' k8 m# @: [0 p
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.1 D( _1 A% ], [7 p0 Y8 z
  1686. ;mssql.batchsize = 07 L* o$ H. W% _. Z, k4 M7 u; O

  1687. 7 _- W7 C- K3 {) p( H6 U) ?/ y6 x
  1688. ; Specify how datetime and datetim4 columns are returned
    , I" S; Z1 |+ A9 n' D3 k) X: t
  1689. ; On => Returns data converted to SQL server settings
    4 l/ Z1 j: a2 s* N3 N' D
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss. r( H. ?: N8 \; |7 ~9 K
  1691. ;mssql.datetimeconvert = On3 F% @/ j2 d, P! b, w  d$ C

  1692. . ]+ }. {1 z/ V
  1693. ; Use NT authentication when connecting to the server
    ) B- Y/ `2 A8 D9 H
  1694. mssql.secure_connection = Off
    $ W; m# h3 n% R) w6 `

  1695. 7 c) i% L) F* p
  1696. ; Specify max number of processes. -1 = library default
    7 x2 B/ O* ?  y: U- B0 o
  1697. ; msdlib defaults to 25
    $ F1 R% U: W$ C! T- \- V
  1698. ; FreeTDS defaults to 4096* A. [2 _: b0 ~; X' @
  1699. ;mssql.max_procs = -1' [0 ^; H/ f& u* u% y6 E6 ^
  1700. & _* g+ @5 K* z$ u
  1701. ; Specify client character set.( x$ l3 G5 X/ H( h/ j- U
  1702. ; If empty or not set the client charset from freetds.conf is used0 M( Z0 a3 \+ t0 k, W- d4 v- }, ]
  1703. ; This is only used when compiled with FreeTDS  K2 v; Q3 u" g! W
  1704. ;mssql.charset = "ISO-8859-1"
    + K. ~+ O6 @+ H! M# G, w1 o  E
  1705. ; V+ ^' o2 M9 G9 Z( X- X8 e# y
  1706. [Assertion]
      E8 W4 }5 C: f' x8 I  F$ v
  1707. ; Assert(expr); active by default.9 |! P, A5 w: C" h
  1708. ; http://php.net/assert.active( I3 ]6 C" n9 V8 h5 r5 q1 I
  1709. ;assert.active = On! n, i! r. B* e# }

  1710. 9 \- t1 s  d" \2 O) E1 _5 ~
  1711. ; Issue a PHP warning for each failed assertion.
    # y9 L  c, Z0 \) N8 O
  1712. ; http://php.net/assert.warning
    7 {8 g) B. l: u& i! L$ Q8 v; a
  1713. ;assert.warning = On" S% R8 F! Y' W6 C& ]8 [6 O

  1714. 1 f4 ~6 q  d2 R3 A* N1 `8 f% j
  1715. ; Don't bail out by default.
    * \9 ~9 s* }( i/ [2 e
  1716. ; http://php.net/assert.bail
    2 H1 }* ~, M& H4 Z; s9 Z- M8 h
  1717. ;assert.bail = Off
    5 Y4 o3 ~" m9 f. r

  1718. ' `& F/ ?' A! D" ?) I
  1719. ; User-function to be called if an assertion fails.
    " Q5 I* H2 q5 {8 j
  1720. ; http://php.net/assert.callback" C* R/ R" R1 E  J
  1721. ;assert.callback = 0
    2 M& h/ J$ k1 K! L" x
  1722. - E# u& I1 q- J. l( H5 O
  1723. ; Eval the expression with current error_reporting().  Set to true if you want% c  J0 G  x/ o# T
  1724. ; error_reporting(0) around the eval().9 o4 U2 t& A" T* Z) Q9 I4 T
  1725. ; http://php.net/assert.quiet-eval
    2 T  R. I; n+ E" Y, m: y- v9 Q
  1726. ;assert.quiet_eval = 05 `3 D* H  x$ X' U
  1727. ) z5 ]+ `! v4 w' P7 P0 F, T
  1728. [COM]
    4 o8 `- t; k4 n+ ?1 k" X
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    5 F7 t. }# x7 r& R! y8 ]
  1730. ; http://php.net/com.typelib-file) l3 C( E/ h9 n# ?
  1731. ;com.typelib_file =8 f; O4 f2 w$ Z7 }  z' |- @7 n

  1732. . R+ Y, J6 J  Q" f0 D
  1733. ; allow Distributed-COM calls
    ' h3 S; i1 @$ z9 f
  1734. ; http://php.net/com.allow-dcom
    5 |  o  _: h6 n8 N: W
  1735. ;com.allow_dcom = true
    2 o& e4 ?, w* Z
  1736. & w; ^/ J$ ^0 }9 c/ i' x* F
  1737. ; autoregister constants of a components typlib on com_load()2 l: ?3 J* V2 T5 X: \4 V3 }5 W
  1738. ; http://php.net/com.autoregister-typelib
    . c) {3 L( o7 k9 t
  1739. ;com.autoregister_typelib = true
    % l7 a7 ~* D; a" V% o

  1740. ; ~" d$ }, |1 {) e
  1741. ; register constants casesensitive
      l) G) o* l* R/ `% P3 P' y# n
  1742. ; http://php.net/com.autoregister-casesensitive
    : [+ m- C  c- _: x7 j; L
  1743. ;com.autoregister_casesensitive = false
    , n7 }) B% K8 G
  1744. ( K2 C" Y# j$ h" p% m: }
  1745. ; show warnings on duplicate constant registrations/ K, N" Z3 \; v! e$ M4 p% h4 s
  1746. ; http://php.net/com.autoregister-verbose" Y8 H! q1 x0 w- I( |! A
  1747. ;com.autoregister_verbose = true
    $ Q* S$ g* l: h% V7 b) Y0 x
  1748. ; t) L8 z. c6 X* H/ x
  1749. ; The default character set code-page to use when passing strings to and from COM objects.3 D. ^8 U7 B: n$ X2 A" L
  1750. ; Default: system ANSI code page# q9 v, l" `( b/ l! |: l
  1751. ;com.code_page=
    $ n( c/ [, _" I, [' z
  1752. ' f* l5 z0 d0 i/ L% D5 O
  1753. [mbstring]9 h8 q3 a3 j, L; v3 e0 l
  1754. ; language for internal character representation.
    ! _2 A1 j5 ~1 H1 I( k! l$ c
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.! o) R/ P$ }! ~- M' ]! D1 N
  1756. ; http://php.net/mbstring.language
    2 z1 {  |4 L* |- |% d
  1757. ;mbstring.language = Japanese
      h+ G; _, e0 w3 A

  1758. 2 t, k2 a9 |$ q& C8 y" V7 s
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    7 t: K3 \. D. U0 n; P
  1760. ; internal/script encoding.) @, {. Z! n/ W
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    , |) |, I5 w* }
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.6 m' x; b) P: V4 \5 A" O4 p
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding) \6 W2 l# \3 v  K5 [
  1764. ;mbstring.internal_encoding =2 e/ B, i& [7 J1 `9 M* c
  1765. $ y/ {5 T& }8 [1 A
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.! |5 m# h. W  U% E; f
  1767. ; http input encoding.! G; v/ @, G: l& S6 i  R
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.1 G6 U0 p) t+ ?- L4 L# M$ X
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.0 z( `1 E& `' V0 {( p. [" t4 k) h
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input0 Y; b. S+ L' w$ x
  1771. ; http://php.net/mbstring.http-input# T9 V# W: x8 h+ X' Z
  1772. ;mbstring.http_input =5 h* o* x, @. a# A* [. B
  1773. ' i; K0 l4 ?- d5 N& a
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.: d! V) S& N% v
  1775. ; http output encoding.
    & {, h$ t! s) N3 O' N, Y9 L4 `- z
  1776. ; mb_output_handler must be registered as output buffer to function.0 ^% P. k8 a% [: Z
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    8 u: x$ ~' ?' c0 G9 n6 c) w' ^! ~& ]
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output, V1 a: p. J% l, U8 J
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    & L+ P/ U  b" G- Q6 \  u5 O, Q: M
  1780. ; otherwise output encoding conversion cannot be performed.) f5 e! v! V" K# x' Q" k2 e
  1781. ; http://php.net/mbstring.http-output
    4 Q' G; I9 }- \
  1782. ;mbstring.http_output =1 P# x% j& l- R3 `% a

  1783. , e. {* _6 f6 i3 M6 R" @( w# Z5 m& B1 X
  1784. ; enable automatic encoding translation according to
    ' E; g( U$ d3 V6 t  o7 s
  1785. ; mbstring.internal_encoding setting. Input chars are1 _( i$ P! \" x
  1786. ; converted to internal encoding by setting this to On.$ f1 }' r) v, ^6 X( W. T; ?
  1787. ; Note: Do _not_ use automatic encoding translation for' `' `9 s4 l8 Y+ w# g9 r  F. h4 h* A, q
  1788. ;       portable libs/applications." `, ~* k$ v8 J  d" l: z
  1789. ; http://php.net/mbstring.encoding-translation! e8 c3 P- K( U
  1790. ;mbstring.encoding_translation = Off/ B# m; d: R  K6 S

  1791. 2 q# X8 d; @7 q* l2 Q. G- Y+ d
  1792. ; automatic encoding detection order.
    & Q3 K- p* Z) p/ W
  1793. ; "auto" detect order is changed according to mbstring.language
    2 Q. Y/ U! N0 o$ o
  1794. ; http://php.net/mbstring.detect-order/ N$ L  q2 @; D
  1795. ;mbstring.detect_order = auto
    7 b6 C2 M& ?  f

  1796. 5 c$ K) w' \& b& L4 ?
  1797. ; substitute_character used when character cannot be converted: |1 ?6 c1 t. D1 [5 ?
  1798. ; one from another* K% Z* y3 `# M* D- W
  1799. ; http://php.net/mbstring.substitute-character
    8 j% X! S2 V% e6 N9 Y) P
  1800. ;mbstring.substitute_character = none
    9 F2 m6 g7 r' O. Q1 H' G& ?$ w$ Z

  1801. 2 M. C: h1 O4 E  z9 B
  1802. ; overload(replace) single byte functions by mbstring functions./ l3 s- i  ^' Q9 D1 S
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    $ `9 N2 |: h* I# i
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.! D/ F, A0 t! d& [+ X. u
  1805. ; For example, 7 for overload everything.$ @0 q& R) d+ M! n7 ?! m! T
  1806. ; 0: No overload
    2 D) K* V# P, X
  1807. ; 1: Overload mail() function
    ) h* d5 ?( e" f8 x# @( H
  1808. ; 2: Overload str*() functions( H4 \2 g; l$ X4 X- h2 X
  1809. ; 4: Overload ereg*() functions
    / ~& u# `: [( s3 j
  1810. ; http://php.net/mbstring.func-overload; \3 ^  Z; M5 W
  1811. ;mbstring.func_overload = 0) P& k5 Y/ w$ {) T7 Y4 f9 `# G

  1812. $ u' G/ y# r( z( |
  1813. ; enable strict encoding detection.) P6 h+ R& G0 E5 O0 w
  1814. ; Default: Off
    * k7 j( u# T, x2 G% ?7 v
  1815. ;mbstring.strict_detection = On
    3 |, e* X% _% l, T& y- s

  1816. 9 x3 [( R! o2 m* ]- h
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    ; b' M) X3 o, {7 E7 H; S% V# [9 J
  1818. ; is activated.! E5 S/ r. I4 A  ]
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    6 b- s, A* J6 _: ]- N, z
  1820. ;mbstring.http_output_conv_mimetype=
    5 y8 O2 X0 \2 t! l$ X% ^  B
  1821. & x3 k2 L  J6 v' F- y) L( a5 q- k
  1822. [gd]
    ( w9 l) r) t, j4 H  E7 e9 Z) Z
  1823. ; Tell the jpeg decode to ignore warnings and try to create1 I  @+ k4 c* a' |
  1824. ; a gd image. The warning will then be displayed as notices
    9 _# x. B" y8 `# x0 K
  1825. ; disabled by default
    / S$ _8 V& a* A- D9 B
  1826. ; http://php.net/gd.jpeg-ignore-warning% @" y& `" o$ ?# `( \- A
  1827. ;gd.jpeg_ignore_warning = 0
    ' {, ]0 S6 ~( ?8 w4 ^# H
  1828. . L2 s# v3 v! ^6 D9 l; W
  1829. [exif]# \, h8 i5 O2 h* Z
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS." d( w( O7 l3 D* G# j% W& c
  1831. ; With mbstring support this will automatically be converted into the encoding1 p" H+ a) C! D* N. ?; m
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    ' M6 ^( J$ S; t% _7 _6 @: }2 I
  1833. ; is used. For the decode settings you can distinguish between motorola and
    $ v6 j  X9 p) ~% r4 Y% h) M
  1834. ; intel byte order. A decode setting cannot be empty.) G/ Z$ o7 @- @& U% ], \' A5 [( z
  1835. ; http://php.net/exif.encode-unicode
    9 h# {. G0 v9 Y
  1836. ;exif.encode_unicode = ISO-8859-15% N4 m$ D. ~, u  {: k3 N: M

  1837. # W( c6 ~, x  B4 r- h4 K
  1838. ; http://php.net/exif.decode-unicode-motorola6 r1 E$ u, S9 ^( J9 C' A
  1839. ;exif.decode_unicode_motorola = UCS-2BE. O1 X$ x& P8 @
  1840. $ a1 ~8 {% `- t/ D' n" t
  1841. ; http://php.net/exif.decode-unicode-intel
    6 K. ~+ p5 h% I1 H# }
  1842. ;exif.decode_unicode_intel    = UCS-2LE0 L0 c1 B( z6 X

  1843. 4 O; R1 u5 N# b5 R
  1844. ; http://php.net/exif.encode-jis0 |7 r+ x7 w* _9 z) s+ h3 V6 H/ S
  1845. ;exif.encode_jis =7 }: L' A6 Z- f, ]

  1846. % j) V! B6 u5 K: N1 k" B$ R
  1847. ; http://php.net/exif.decode-jis-motorola/ N2 L. n$ u, m  B; J
  1848. ;exif.decode_jis_motorola = JIS
    , P+ T* S5 }- E" o/ F  w6 C( O
  1849. ) O5 P( ?8 v" X$ {; Q. h$ b1 O
  1850. ; http://php.net/exif.decode-jis-intel' m0 \* B4 g% D# L1 X
  1851. ;exif.decode_jis_intel    = JIS* p+ g7 d: {- \" j$ p$ n6 k4 r
  1852. & W# ?7 S) c, [# P
  1853. [Tidy]( q8 Q% H; O2 D. O3 I) r
  1854. ; The path to a default tidy configuration file to use when using tidy+ m' `3 d! s5 @* n& c' o/ [6 S$ ?
  1855. ; http://php.net/tidy.default-config  ?& i, t) }4 j
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    * ~5 Q0 H4 h0 E2 a5 [9 R  l
  1857. . p% i/ r% N9 ^4 A$ A: m) E) ]
  1858. ; Should tidy clean and repair output automatically?" j0 R& D/ R2 F+ }& m. T2 T6 D
  1859. ; WARNING: Do not use this option if you are generating non-html content  U3 e- C. c4 w4 _
  1860. ; such as dynamic images$ C: B( H0 m* c9 Q
  1861. ; http://php.net/tidy.clean-output3 T. L3 o: Z, z- Y# z( H
  1862. tidy.clean_output = Off( Z: d4 n. }/ U* r/ _$ A3 g
  1863. ; M7 C, j6 z( T, x& u; K
  1864. [soap]
    : {0 m: a0 S: Q! N0 t
  1865. ; Enables or disables WSDL caching feature.
    5 }  J- R+ Q& y8 H9 C
  1866. ; http://php.net/soap.wsdl-cache-enabled: [1 _2 Y+ @2 n3 t9 }
  1867. soap.wsdl_cache_enabled=1" ^; \6 F( u8 j- {3 r, [' h

  1868. 6 j4 Y, V. ~- t8 `; ?" t$ z
  1869. ; Sets the directory name where SOAP extension will put cache files.
    - `: t1 U7 P" }' n1 s
  1870. ; http://php.net/soap.wsdl-cache-dir
    ) o0 I. z9 P0 O4 {7 v
  1871. soap.wsdl_cache_dir="/tmp"
    + ^5 f6 m) Y, r3 n1 \6 M

  1872. 4 S0 o* {& j2 M& f/ D5 E! g
  1873. ; (time to live) Sets the number of second while cached file will be used
    $ R$ J0 i4 Z9 Q. L3 p6 T& f
  1874. ; instead of original one.7 W, Z" w* {) c* G& {  Y
  1875. ; http://php.net/soap.wsdl-cache-ttl
    ; N% `& w* Y+ e7 l- o+ ?% G
  1876. soap.wsdl_cache_ttl=864007 F( n; v$ O% O" N8 B3 O( s

  1877. 5 O! U5 M' w- j$ J" G) U$ F
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache), k) J) ]. W+ R
  1879. soap.wsdl_cache_limit = 59 |! @) j" Y3 r9 P- ]
  1880. ! y' y- ]' N+ v" K" {5 s: f
  1881. [sysvshm]
    2 R% p( N  m7 z1 d- V
  1882. ; A default size of the shared memory segment2 P9 I: y6 b) n' b6 y' C& d
  1883. ;sysvshm.init_mem = 10000/ x2 V+ k& o# @

  1884. ; t/ _) E+ e2 b3 Y  k9 v
  1885. [ldap]! }: r9 _" K* b5 p  ~! B
  1886. ; Sets the maximum number of open links or -1 for unlimited.8 Y1 F  s! h& r# c9 t" @5 T3 N
  1887. ldap.max_links = -1
    $ }/ I+ L1 |1 ?! P8 m2 }5 }

  1888. - L4 _  O$ N+ y) |
  1889. [mcrypt]) A9 Z0 I9 F$ ?) `0 _; Q- r. n
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open2 r  |9 L+ C( e, c
  1891. : e9 j6 ?) ?2 P/ U' ^  Y2 M) b7 l
  1892. ; Directory where to load mcrypt algorithms1 x% X' e  O  `. R# s/ l& H( @
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)0 d: j  E$ N: q" N
  1894. ;mcrypt.algorithms_dir=; }  d) j# Z) A) i6 N
  1895. , ?# B) w9 @4 S: w, f" U! l; k6 E" V
  1896. ; Directory where to load mcrypt modes
    4 [) V8 P0 ?3 q- j1 G" _8 w
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)* F1 v; ?( Z# X3 {
  1898. ;mcrypt.modes_dir=4 [. r; e2 {6 X4 `3 g

  1899. 4 p! x7 {- F# u$ m2 J
  1900. [dba]' _( v" h+ C- R, ]6 G+ R! s+ n. ?
  1901. ;dba.default_handler=7 v7 _' E3 n1 c3 u
  1902. : f# j' O" R8 u9 D4 v" j! ^: Y5 Y$ Z
  1903. [opcache]6 O/ G1 M- C) D
  1904. ; Determines if Zend OPCache is enabled
    , M3 k# P* r5 |+ g; L! Q# D
  1905. ;opcache.enable=06 ^2 k8 w6 Z7 x- V" @5 \5 V+ v( Z. a
  1906. 2 Z4 m, f/ F' x# E: T7 v
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP7 w3 V  j. J% F# V9 n
  1908. ;opcache.enable_cli=0
    ; a9 q$ G% p& n0 G% g# D

  1909. $ D9 h* e/ V& j1 L- r
  1910. ; The OPcache shared memory storage size.
    ( y# ?; A+ ]+ A' u
  1911. ;opcache.memory_consumption=64
      h0 ~" q0 A, v; _$ W, m& O0 P

  1912. 6 l+ ~6 R+ H6 c0 F' ?7 c
  1913. ; The amount of memory for interned strings in Mbytes.
    3 w7 Y3 ?/ |, n' c
  1914. ;opcache.interned_strings_buffer=4
    ; Q8 b' u  {( y; j

  1915. / E/ F7 Y) `3 v, _
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.0 Y6 ?( `0 ~  B9 G/ F, F! n2 _
  1917. ; Only numbers between 200 and 100000 are allowed.: s# o/ [3 M5 {# _2 V8 h( i
  1918. ;opcache.max_accelerated_files=2000
    " {2 y2 ?2 y: v; |
  1919. 8 V$ F2 k8 x0 z( F( j& O. b
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    # o" P% H: v- i
  1921. ;opcache.max_wasted_percentage=5- @0 L6 `4 L4 d7 j) W8 K& R( h

  1922. 6 A  d7 y$ |1 Z& H- n9 k
  1923. ; When this directive is enabled, the OPcache appends the current working/ M7 T2 a9 Q, r
  1924. ; directory to the script key, thus eliminating possible collisions between, w# d# K0 N# }0 G! u, O4 t- ~7 Q
  1925. ; files with the same name (basename). Disabling the directive improves7 u3 S2 d3 O& [0 _! A" g- K+ [
  1926. ; performance, but may break existing applications.: y6 j* U* Y% G1 P+ d$ P( F& j
  1927. ;opcache.use_cwd=1
    ' M% J0 \& }4 B- ?

  1928. ; ]) t0 ~& J2 N/ ]
  1929. ; When disabled, you must reset the OPcache manually or restart the
    : V6 n4 c# L) J1 w! B+ L6 m4 p1 Q
  1930. ; webserver for changes to the filesystem to take effect.2 i' s! x( T- }, h
  1931. ;opcache.validate_timestamps=1" x3 U; T4 m) s! r, Q

  1932. 2 R; Y5 ^- Q) X5 D8 D' k5 ]
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    & G: U+ i! w% c
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    ' x% S( {* v$ @
  1935. ; once per request. "0" means always validate)' ~. C4 B4 P" ?' x- u: g4 q
  1936. ;opcache.revalidate_freq=2  F0 d/ s0 x6 s0 T0 `# T5 O7 E8 w
  1937. 6 L+ `- M" ?  b7 N5 I% H. ?
  1938. ; Enables or disables file search in include_path optimization" u6 M7 i8 _+ F! O% O0 [
  1939. ;opcache.revalidate_path=0: V) o" _8 w0 [: Y' P
  1940. " C/ Y4 M# ~; Z1 s0 @: t1 [" a
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the: J: Y' v& a$ a0 Q3 L6 _" b8 E7 L* F
  1942. ; size of the optimized code.! A7 B: N3 m8 W9 X. W0 s) s
  1943. ;opcache.save_comments=1$ o" x/ |0 w. V& ?
  1944. , J2 K$ a% l1 n) ^2 O7 k0 v. z
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"  `5 w# K' `8 H" Z
  1946. ; may be always stored (save_comments=1), but not loaded by applications$ a( i3 m2 E# V3 l  q; {- j# a
  1947. ; that don't need them anyway.
    7 E" e+ L& J2 x1 F" U, N7 w! g) _! m  ]
  1948. ;opcache.load_comments=13 y1 c4 f4 I) P# c3 I% M' y9 D
  1949. 2 F7 J2 Y; d7 P5 ^1 N" C
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    5 I2 Z3 x0 ?! W4 x; u% R
  1951. ;opcache.fast_shutdown=0
    . j: o5 S2 C8 c
  1952. & Q% z: \1 q. F
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    5 j. n6 A5 }2 ^% {( y, l
  1954. ;opcache.enable_file_override=02 z% K  L9 N1 H% t8 n
  1955. ( r0 q* s6 q2 b
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    , ^2 n" H2 [6 K7 W
  1957. ; passes6 V. ~+ X5 x5 ~0 q0 V# a9 M
  1958. ;opcache.optimization_level=0xffffffff  a+ {7 z0 H* p) |

  1959. 4 L5 N, F0 v- I- l5 X
  1960. ;opcache.inherited_hack=17 o; V+ E6 C" o
  1961. ;opcache.dups_fix=0
    - e4 k! s% ]$ q

  1962.   E7 x0 c; {5 z
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    7 \: H( [% M$ B  O# S$ f% M; s
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    1 `+ p$ J9 e! h8 R- q1 J$ J3 V) m
  1965. ; that should not be accelerated. The file format is to add each filename" l. N. J; X! {: R
  1966. ; to a new line. The filename may be a full path or just a file prefix0 F* {$ E2 g2 N" a0 |
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    9 @" L$ H' s/ a$ S9 Q6 {& r; i
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).8 t7 H& ^- p3 Y1 s1 k: T" p1 X
  1969. ;opcache.blacklist_filename=8 q- I, L" u% E+ V5 i

  1970. - ^  c! Y: `2 ]  P- C
  1971. ; Allows exclusion of large files from being cached. By default all files
    . t7 r4 P9 {/ ^
  1972. ; are cached.
    $ C% ^+ }( r/ f0 ~, r$ q
  1973. ;opcache.max_file_size=0- j3 O; u9 F& t" ]4 Y% N' ]( R
  1974. - s9 I# \/ r# u4 V
  1975. ; Check the cache checksum each N requests.4 m6 V! L* f% g8 z
  1976. ; The default value of "0" means that the checks are disabled.( d# j, |8 M! \( |6 g8 k
  1977. ;opcache.consistency_checks=0
    8 k' l" a! t. ?/ w7 d+ ]
  1978. / a! q: T+ s* O# _, j- C5 P
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache2 ?2 R* K/ `$ O5 F9 t
  1980. ; is not being accessed.' l" V( \' m2 f" }% c. S
  1981. ;opcache.force_restart_timeout=180" e5 w2 f  l% f6 S: h

  1982. 2 k; t9 B! F5 W5 z
  1983. ; OPcache error_log file name. Empty string assumes "stderr".) t0 w. s# }5 T$ H2 s
  1984. ;opcache.error_log=- J- O! C  k; V* r
  1985. 4 e8 p. R1 W  E, b. r: M
  1986. ; All OPcache errors go to the Web server log.; H& X; R3 Y( j9 z% H. Y$ I
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.- B8 D1 N$ I0 _) ~$ b
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    4 s% l  Z- c* [7 ?  D9 [0 z
  1989. ; debug messages (level 4).: u: J$ L8 d) P
  1990. ;opcache.log_verbosity_level=1
    . G" S* T! p0 l$ ^3 w! X
  1991. ; F. V5 o& c( {" I" P4 j' o
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    ( [& K% s1 v) O1 y1 w, V
  1993. ;opcache.preferred_memory_model=
    ( l3 @! n$ X8 W
  1994. & D8 I" ~; V, D: `4 s3 X9 Q0 d
  1995. ; Protect the shared memory from unexpected writing during script execution.4 T6 V8 b- q( p
  1996. ; Useful for internal debugging only.
    2 [' N# r' I1 P
  1997. ;opcache.protect_memory=0/ J( Z8 `: X7 a1 w- D1 J1 b

  1998. * r6 H/ l4 [5 h/ f
  1999. ; Validate cached file permissions.+ B* L! r/ B" Q  e9 A7 o
  2000. ; opcache.validate_permission=04 n) h% r, P$ M8 h; F$ I7 N3 m& R

  2001. 8 I/ ], H' _! [- g
  2002. ; Prevent name collisions in chroot'ed environment.
    + |1 G, j7 ]7 w3 @% c
  2003. ; opcache.validate_root=0
    ' n; p1 w# p5 o$ _1 s5 @- j

  2004. 4 y, f6 m$ ^0 `: ~' w1 H5 d
  2005. [curl]6 P9 |& A: |2 ?: K0 _
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an0 d0 l! W. A9 H2 Z5 V) z  Z: s+ N
  2007. ; absolute path.; Q1 O6 }+ q* A2 p" m' l' d
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt; y1 N6 H2 w% Y, R4 S0 a2 F) U
  2009. 0 c- d5 U; `8 ^, j: X3 J9 C8 @* d( \
  2010. [openssl]8 v! h2 D5 R" l1 C  w2 I
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem, A$ Z/ c# M! [6 W1 V6 h+ Q, F
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should( h: W/ P1 V4 T8 b
  2013. ; not specify a value for this directive as PHP will attempt to use the- u* ^1 q1 v1 p4 [/ k; E
  2014. ; OS-managed cert stores in its absence. If specified, this value may still5 a) O1 p8 t# X$ ]# b4 I! O
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context2 \, M$ V  y6 F# K0 @
  2016. ; option.  @$ {) m8 q# {7 z& w4 \8 l
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    , N; e2 V" W. X1 h; T" _& }

  2018. 9 Z) f8 F1 V" z2 @7 D0 t+ y7 L
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    ) Q2 N6 _1 |4 o% h
  2020. ; directory pointed to by openssl.capath is searched for a suitable- _2 v2 L1 G) ?
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    9 e1 m  x! C1 D8 {8 h) s
  2022. ; Most users should not specify a value for this directive as PHP will
    1 P; D/ H+ S2 y. e! |3 S
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,2 J, D: s" ^3 L& a  Q4 m
  2024. ; this value may still be overridden on a per-stream basis via the "capath"! v: C  B! L( d; @
  2025. ; SSL stream context option.& Z. R5 m4 ?* x
  2026. ;openssl.capath=
    * y+ y$ \+ g* s0 v; D( p
  2027. 4 d; s# Y  U. }+ M' k
  2028. ; Local Variables:2 Y8 ^$ N/ x; n7 p
  2029. ; tab-width: 40 \4 |6 Y9 `# P0 |; E
  2030. ; End:
    9 Z+ `) _* V0 K  N% s
  2031. 7 }2 Y9 s1 O3 T; F4 H' v5 C; u
  2032. ;eaccelerator
    9 q" A. T- s% i8 w

  2033. 6 t% L$ @' v8 V2 t8 _/ `) b
  2034. ;ionCube
    / t0 u; w: `, o7 Y: U5 p

  2035. 8 d" x5 r& `  ]8 S! K! W5 q+ h
  2036. ;opcache
    & w) n6 _2 s& q" p% z' ?9 q

  2037. 2 G" I6 ^  K+ T' f1 a/ M8 J
  2038. [Zend ZendGuard Loader]4 |& r/ Z( D7 ~
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so4 R1 c+ A3 N, d" A  q
  2040. zend_loader.enable=16 k0 G( ?/ w) f- ]
  2041. zend_loader.disable_licensing=0, p" q/ k1 [# Y+ S  c7 X; l
  2042. zend_loader.obfuscation_level_support=32 h7 l. h& |7 Z' Q  f
  2043. zend_loader.license_path=: S+ d  p# T& z

  2044. 1 U. X& r" L5 S! x9 B7 M- q. t" z
  2045. ;xcache
    : ]8 p1 v: i* T1 k8 ~$ |/ r
  2046. 9 B; w: z. s1 o
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692( }( D8 j4 z6 t
2 B. U. T9 ?7 j. I

: I' q( _- h" ?Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
. M1 _7 `  ~2 W: A8 O( r2 x4 i2 ^7 l$ b2 h" S  g
Discuz!程序版本选择:* ~' G, ]8 V+ K  X" G
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,8 \& k; i3 v( a& ]
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:% x" d$ u6 w- M/ F+ j
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。
. ?2 W- g+ d4 g/ R6 E
7 x; e' L. k2 B" jDiscuz!插件模板版本选择:
! e- J8 g# g$ i8 q# X( l很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,! p. b, Z2 j8 @7 x$ Z# @& i
针对这个问题做个统一的普及:
1 R8 d' B8 K2 I1 Q0 G! rX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
% D% b. p' J5 r% |6 T( ^& v- v  L( b, X
所以8 ?# i$ ], @6 O* M7 T, f
适合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的二级域名。
- ]9 L$ K2 D9 ~  L* ]: r打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。' h7 c+ \- n- V
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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