分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0. O2 A3 d7 v' y

5 D2 m* B" f# V# m
  1. [PHP]9 t3 f% w; z/ u3 N# b) c" s! U4 C
  2. , R' ~4 }2 [5 Z4 D7 g7 l8 {
  3. ;;;;;;;;;;;;;;;;;;;* D4 d4 N+ B/ c, }+ ?: O4 h
  4. ; About php.ini   ;
    & y6 ?  ^% h) f, V( S1 n5 i% E
  5. ;;;;;;;;;;;;;;;;;;;2 O- V) P' D- r8 ~
  6. ; PHP's initialization file, generally called php.ini, is responsible for1 K8 T( `% e5 J# ~+ A1 N
  7. ; configuring many of the aspects of PHP's behavior.
    ; W" [; ]" U9 N( L8 L
  8. 0 t- Z5 i7 ?9 C" Y9 J5 y# J, g
  9. ; PHP attempts to find and load this configuration from a number of locations.
    $ Q& E8 c- `; p3 F6 [1 g8 `
  10. ; The following is a summary of its search order:% F. Y, E  p7 Y
  11. ; 1. SAPI module specific location.. E4 V. d( I" ]" `
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)  d' W' V4 E/ r
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    ( Q( i2 n# f5 K& {& k" Y, E4 D
  14. ; 4. Current working directory (except CLI)
    : Y' g1 \$ B2 Q2 v& x: R
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    % ~" Y2 A$ ]0 `5 G# ^
  16. ; (otherwise in Windows)! o/ G' m/ `( j$ G4 P. ?6 N+ _. Y
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    & m7 Y) b7 Z) L8 R: x) g& b& g
  18. ; Windows directory (C:\windows or C:\winnt)1 J2 G4 i2 b: ^; o
  19. ; See the PHP docs for more specific information.0 ]- g" t9 a# @* {/ k3 F% D' P. [$ H0 v
  20. ; http://php.net/configuration.file
    ! P6 x  ?* h- K* z  j# h5 I4 Q

  21. ; o8 d" P0 T2 B# j1 r
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    & \( |$ x3 u# A. E- z1 i; S( ]
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    ! c; H! w4 x6 n& S" ?
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    ' {+ l- T7 h& `3 w, E" Y" m
  25. ; they might mean something in the future., z$ h+ z7 Y2 S$ X% V

  26. 3 |2 k5 q% z9 y$ R9 u$ r' \- n
  27. ; Directives following the section heading [PATH=/www/mysite] only
    * ^9 d) ~  n3 U# g8 e7 Z
  28. ; apply to PHP files in the /www/mysite directory.  Directives0 _  e# j2 q0 A3 M( {: @6 r: |
  29. ; following the section heading [HOST=www.example.com] only apply to: _; O: ]: E; E" V& Q% E
  30. ; PHP files served from www.example.com.  Directives set in these
    # i9 B. i% g3 D1 N; d9 c) A
  31. ; special sections cannot be overridden by user-defined INI files or
    5 \- D# |! r" W! g+ A
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    ) c' n$ E. f% o$ ?
  33. ; CGI/FastCGI.
    ) r- u+ Q7 T! C% i7 {3 d
  34. ; http://php.net/ini.sections4 {9 Z7 u& q: P$ e

  35. * N. r& K7 [7 A+ B9 Q' q4 l
  36. ; Directives are specified using the following syntax:3 W! L! @- I3 R6 X) D, i  w; i# @* o! u
  37. ; directive = value
    - v1 e0 v- n' ^/ C* `$ e( A
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.. ~$ }# V" S+ ]& V: B; S
  39. ; Directives are variables used to configure PHP or PHP extensions.
    * ^1 R  p; W8 a) n
  40. ; There is no name validation.  If PHP can't find an expected! x; y3 d+ S6 S% o' u$ Q6 M
  41. ; directive because it is not set or is mistyped, a default value will be used.
      A7 `" g/ }" B5 A  e& g6 e
  42. 0 v; [( ], M+ H3 T9 E1 T7 @
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
      @  @% x; U! V, }( B; [& N2 `" Q% E7 m) B; B
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression2 l. H# v  r5 P# p- S9 q
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a7 c3 _( X- _3 R( n- Y
  46. ; previously set variable or directive (e.g. ${foo})0 d4 L8 B3 L$ C; j9 X) t! W* u& f
  47. 4 o9 X" }6 X" v  n' ^
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    3 T$ v+ L1 m) q4 o' f7 L6 r0 c/ D
  49. ; |  bitwise OR
    ( [! X" `$ j8 z% ?5 q
  50. ; ^  bitwise XOR
    # W4 @( D: }- @5 B7 l" q6 H
  51. ; &  bitwise AND
    % v6 G' `! Z2 O) ?$ Z
  52. ; ~  bitwise NOT
    - N2 a3 o/ @$ P* K, k+ r, N
  53. ; !  boolean NOT
    5 U3 P6 C0 \( h# g! a+ a8 r, V& G

  54. : _0 V6 Q3 k6 g; F2 k  Y, g' l0 e
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    # Q1 f* W) l$ w
  56. ; They can be turned off using the values 0, Off, False or No.6 a1 @# _: P: \5 D3 ?% q

  57. . Q' l$ x2 Z+ C* p4 Q9 F2 p
  58. ; An empty string can be denoted by simply not writing anything after the equal2 m* @$ r4 G: Y8 \8 B
  59. ; sign, or by using the None keyword:  X1 V7 O2 _0 Z- r- Z3 O* @+ `

  60. - e5 I1 R& \! b
  61. ;  foo =         ; sets foo to an empty string5 r0 ]9 w3 q( ^6 u3 L1 p8 A& j
  62. ;  foo = None    ; sets foo to an empty string4 M* \7 E! r4 I2 r: Y3 K
  63. ;  foo = "None"  ; sets foo to the string 'None'  j+ ^8 R2 k; I/ E9 P6 w- `( Y
  64. 1 ]/ h$ W. k( ^0 y9 Y. S. q
  65. ; If you use constants in your value, and these constants belong to a+ b# h  h8 U1 [5 O
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),/ l" H! D0 N2 z' ?9 F; t
  67. ; you may only use these constants *after* the line that loads the extension.
    ' k8 q( D& X5 j! S6 ^; y
  68. ! a; D) d6 s+ N- S2 N% g* T: R! X
  69. ;;;;;;;;;;;;;;;;;;;
    ( c8 E# E' c, e1 T
  70. ; About this file ;
    + M0 ^5 z8 O) Y
  71. ;;;;;;;;;;;;;;;;;;;# W. K7 S( R# p, O
  72. ; PHP comes packaged with two INI files. One that is recommended to be used& i; H% i* [7 h
  73. ; in production environments and one that is recommended to be used in
    3 ]. A- w% J1 G$ d
  74. ; development environments.
    # r& i/ {1 W9 T$ |7 }9 i

  75. / G( F6 q# N( W: P
  76. ; php.ini-production contains settings which hold security, performance and
    * F) L; k  X1 @* r. r- f
  77. ; best practices at its core. But please be aware, these settings may break
    , ~$ p/ g+ |9 _& c/ m6 g9 ^
  78. ; compatibility with older or less security conscience applications. We
    - i: Q3 |2 g7 f- |5 D( u! f
  79. ; recommending using the production ini in production and testing environments.6 f* ?6 o$ L7 K+ A

  80. ' p, E& T+ W5 m3 g& ^- X
  81. ; php.ini-development is very similar to its production variant, except it is+ `& K% w4 H: q+ X# V7 ~' d" {  g$ `
  82. ; much more verbose when it comes to errors. We recommend using the: T1 c. P+ Y) X
  83. ; development version only in development environments, as errors shown to. o# p9 o; f9 j+ J$ y2 f
  84. ; application users can inadvertently leak otherwise secure information., v) I* h* `. p) v& m/ `; y
  85. 7 `0 N% b2 o' [
  86. ; This is php.ini-production INI file.3 A9 R. r# ?: @3 F1 F3 [8 f

  87.   x8 h& G+ a9 f
  88. ;;;;;;;;;;;;;;;;;;;
    ! J6 M0 M" Q. k2 w4 j/ J; G
  89. ; Quick Reference ;
    # T9 j$ z+ ^' L) u/ L& T3 p  a
  90. ;;;;;;;;;;;;;;;;;;;$ w- p6 K  _: X$ N. I
  91. ; The following are all the settings which are different in either the production: y- Q* n: d& K- S/ Y3 u
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    1 {* g8 A# Z; ]: w5 E6 C
  93. ; Please see the actual settings later in the document for more details as to why! m1 v. \1 J! q1 `
  94. ; we recommend these changes in PHP's behavior.) Q; `4 g+ ^+ B( C: @' w5 {
  95. : s0 h& X3 a' `7 K9 D
  96. ; display_errors
    6 N9 r% d9 E; r4 g
  97. ;   Default Value: On
    4 ~$ b  k  U+ V+ \% a+ U$ a
  98. ;   Development Value: On
    ( l5 q' L9 r2 c$ q% d
  99. ;   Production Value: Off
    " N1 }1 g0 n% s7 }1 k
  100. / p9 K5 m: Q+ z" p: c; Y: t: {* K
  101. ; display_startup_errors% m6 n* V' I  g+ g
  102. ;   Default Value: Off
    7 k, m1 i/ d! ^% n) ]
  103. ;   Development Value: On  W8 T$ U" ]. a4 u7 R; {9 @# ?
  104. ;   Production Value: Off
    % N  [. \# O' w* X$ C( W, S2 |7 i

  105. 2 a9 N6 {8 v2 [
  106. ; error_reporting
    - R$ Y' I: J( f9 U2 a7 p4 K( A
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    . k* X! z' d( L
  108. ;   Development Value: E_ALL' L0 o) p4 |, g. @
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT0 x6 W- R" ]: Q
  110. . e# _) s' _0 I% V( q
  111. ; html_errors1 n/ j* O8 l: f/ c( f; @) r' W; E
  112. ;   Default Value: On
    2 v* _2 e$ R2 P- v. E, F, K
  113. ;   Development Value: On1 `' \" _8 {0 i
  114. ;   Production value: On) V5 \$ y9 I: ?1 L
  115. * |8 M2 L' f) d, G  c% }; {
  116. ; log_errors
    / }4 _& `6 f4 I3 F% f3 J
  117. ;   Default Value: Off
    , X+ ?" N) D$ X  M; H
  118. ;   Development Value: On* G( p8 H- z; k5 N% ?3 g7 b
  119. ;   Production Value: On5 l- K# g5 S6 _$ |; U- t
  120. , J/ R' W, G+ o* s$ L
  121. ; max_input_time1 c- ]8 I" u6 v0 V0 D
  122. ;   Default Value: -1 (Unlimited)+ U8 |& S) r4 ^
  123. ;   Development Value: 60 (60 seconds); _. `; r9 `  p
  124. ;   Production Value: 60 (60 seconds)
    2 {; U, C4 x1 M+ S6 Q& ~

  125. + ^; J" J9 E6 D2 \! G
  126. ; output_buffering, ]' \4 F. e  v
  127. ;   Default Value: Off
    # N0 K1 f7 V4 C) C* r' E
  128. ;   Development Value: 4096
    3 E5 N3 A: k" e. j4 n: M) A& P
  129. ;   Production Value: 4096
    ) o5 I( x& N3 V; i! Z
  130. # ]) M- V. P& O+ v6 }9 C# h: X
  131. ; register_argc_argv! g0 ^+ ?% u1 s; x( b( E
  132. ;   Default Value: On/ _) [' A% n0 c+ t' d
  133. ;   Development Value: Off
    ' O& B, ^: w% c( o
  134. ;   Production Value: Off
    ' R( N. j$ a: _+ S! F

  135. 2 \+ G- d7 r6 `/ c6 v
  136. ; request_order
    , v# W) c. T6 C# g+ g
  137. ;   Default Value: None
    6 K- [) P, G  r7 |( s/ X, O
  138. ;   Development Value: "GP"
    5 s' J' W, ^$ J; _" ]
  139. ;   Production Value: "GP") R( f7 I0 J* m" k) b

  140. * r9 W$ X5 p# E; k' H
  141. ; session.gc_divisor
    # q3 _/ z% y3 W' j+ u  D1 j( H
  142. ;   Default Value: 100
      @1 m& p, Y1 w4 [3 x
  143. ;   Development Value: 1000+ J5 A  H! P) s
  144. ;   Production Value: 1000
    ; W) j' j. w: S! e1 F' W* U0 x
  145. ( |3 ^% u$ G/ D; y8 A
  146. ; session.hash_bits_per_character2 T) f0 I5 a, b" o
  147. ;   Default Value: 4
    * `, B$ _) ]" ^& c" I! m
  148. ;   Development Value: 5- v9 d( H2 `7 R, X
  149. ;   Production Value: 5- s6 y% ?3 u& R2 o" \4 R# C# M
  150. ) T. O$ A/ ?1 G. N) D2 A7 }
  151. ; short_open_tag- O; Z/ z/ ^' b7 H& [: R4 q
  152. ;   Default Value: On
    / z# P2 B9 p( l1 M- ^: o1 O4 q" [& b
  153. ;   Development Value: Off- p+ O$ J* J# g. l$ r6 p) O
  154. ;   Production Value: Off" L. j+ A8 I* D- ^, D$ T; u  q
  155. ! ~: P7 S, z9 l0 B7 a
  156. ; track_errors! V) \  n. g2 |; Y5 \
  157. ;   Default Value: Off( g0 j$ c+ X4 l6 j
  158. ;   Development Value: On: S3 r. z$ C- R+ K' |
  159. ;   Production Value: Off
    + k, H0 b2 K* D* ]4 g" a/ |3 o
  160. " V7 g, H+ ?) F$ Y' W
  161. ; url_rewriter.tags  E! X1 U7 M6 K7 Q
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    / o( Q  |7 ~5 E! T. B, @
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ) e1 b, F* L; W% q
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"( D. E! U  u& I/ h# f' r% {
  165. $ f: D6 }) X6 z- m8 y9 A0 g' M
  166. ; variables_order
    , ^; Q* Y0 R, L0 Q& b
  167. ;   Default Value: "EGPCS"
    ) P7 e" K0 G4 l8 G) q" `! o3 I
  168. ;   Development Value: "GPCS"
    : |3 i4 e7 X7 \( I
  169. ;   Production Value: "GPCS"
    ( r1 ]( H/ R0 }" f$ _$ ?! L5 K

  170. # w! c" M+ m2 c* W' }! ~
  171. ;;;;;;;;;;;;;;;;;;;;
    , [  M& h  ]- b8 q8 \* g! K
  172. ; php.ini Options  ;, i  T% Z) ^) z* ?4 a. V
  173. ;;;;;;;;;;;;;;;;;;;;) e# }) t4 [4 i7 c0 u
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"9 c! L: D8 z% r* U$ e) X" L
  175. ;user_ini.filename = ".user.ini"' R' c" B& I+ u2 [! M4 U& D
  176. " t$ K4 e! V* U7 U* O
  177. ; To disable this feature set this option to empty value/ i3 ]7 L5 X* {  G
  178. ;user_ini.filename =( n# i  V. K$ g4 ~$ [/ K

  179. + D, z0 T6 A8 F/ }
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)& p: N/ k5 b* F6 v1 n, x" z; B
  181. ;user_ini.cache_ttl = 300
    & p8 }5 ?0 F9 C- H" {: @5 i

  182. & R5 z( n6 I9 n9 g+ ?
  183. ;;;;;;;;;;;;;;;;;;;;
    8 |. T, J- C* g, h! q: @
  184. ; Language Options ;
    / C' N! O/ b, e1 y* I+ S3 L% y$ Z
  185. ;;;;;;;;;;;;;;;;;;;;2 ~5 F& Q& o  s& _$ U

  186. & K* Z- u+ i0 `8 x, K1 F+ _- v
  187. ; Enable the PHP scripting language engine under Apache.
    , j6 Q0 ^! e2 L3 e" B6 |
  188. ; http://php.net/engine
    * e4 y. U2 O( ]- K0 C7 o) i4 n3 |
  189. engine = On
    9 e! w) g2 R! x
  190. 4 |( C; g% `" }  ]6 {& X
  191. ; This directive determines whether or not PHP will recognize code between4 C2 x5 g3 A- p! P7 ^
  192. ; <? and ?> tags as PHP source which should be processed as such. It is/ S! L$ K8 F' v
  193. ; generally recommended that <?php and ?> should be used and that this feature& |4 Y! V9 B+ w( c/ @
  194. ; should be disabled, as enabling it may result in issues when generating XML# l/ x$ c/ e8 @0 @& g, v+ Z) Z1 t% x
  195. ; documents, however this remains supported for backward compatibility reasons.
    8 m9 r9 Y5 X# d3 n/ J
  196. ; Note that this directive does not control the <?= shorthand tag, which can be) |  [% T0 B# [+ |$ t# ^
  197. ; used regardless of this directive.2 ]+ r+ J5 p' R5 g/ J# w1 W
  198. ; Default Value: On
    ' T  [4 w: @4 `5 b$ m# y; [
  199. ; Development Value: Off! m+ v- M+ Q( e
  200. ; Production Value: Off/ e1 R3 P2 o7 A' ^  @) F' {
  201. ; http://php.net/short-open-tag
    8 M4 ~2 |- d6 A1 C  d5 u0 z
  202. short_open_tag = On5 ?2 `  w; [" r: _: ^* f: U& |

  203. 6 S4 q) g# A5 n( S
  204. ; The number of significant digits displayed in floating point numbers.
    4 g% |$ B0 u! R  _1 h4 Y
  205. ; http://php.net/precision6 P, x8 y  }$ k5 c: G! ^% U3 h
  206. precision = 144 N! K/ F+ l1 \4 f/ S' a" _
  207. : h: G1 K3 Y1 }) B: e7 [; h: v& N
  208. ; Output buffering is a mechanism for controlling how much output data
    4 A! N+ L# S) x
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    & B2 U8 k0 o9 G- F
  210. ; data to the client. If your application's output exceeds this setting, PHP  N$ J# C9 Q. q+ V' c4 E+ G
  211. ; will send that data in chunks of roughly the size you specify.
    4 y' W2 O" j7 Y0 Z- L# ~1 }0 l7 I
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    % q2 f0 |7 U7 R+ d! D  r
  213. ; interesting side-effects depending on your application and web server.
      O' D* S6 W; h# y* W! W
  214. ; You may be able to send headers and cookies after you've already sent output/ U2 e4 G4 e* ]/ U
  215. ; through print or echo. You also may see performance benefits if your server is* C# H+ z7 A6 D) r* z7 ~% h3 J/ D
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    ! `8 ?( e8 q# N
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    % @0 I) A2 s3 H
  218. ; reasons.
    & F0 Y" V6 ^% W! B! q
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    % q8 {& z0 R2 }$ B% z! p
  220. ;   functions.
    # ]9 a% [+ W. s& ]6 H5 n
  221. ; Possible Values:" Y+ S5 }- r$ a2 h0 i
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    4 L6 ~) b1 R8 h9 Q  q
  223. ;   Off = Disabled: M9 }" q, ]* B/ K' ]8 T
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    - J: d; }$ T! w* ~0 R' m6 y
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI! @. h$ I5 y4 a4 m, }3 q8 J! o
  226. ; Default Value: Off8 |$ U  b# F$ [8 @
  227. ; Development Value: 4096! P+ g  l- f8 |5 Y5 A- U1 \
  228. ; Production Value: 4096
    ) v5 Z6 N6 K# I& O
  229. ; http://php.net/output-buffering
    6 C# @8 @7 @9 S1 s# r( V4 m' m' D$ B
  230. output_buffering = 4096% T2 N) |' R+ E6 O9 T( B
  231. ; \+ a0 Y1 w) t0 B- E
  232. ; You can redirect all of the output of your scripts to a function.  For
    9 I" t4 Z# @* ]: I# @# u
  233. ; example, if you set output_handler to "mb_output_handler", character. O' Q1 v1 R; L$ h( q
  234. ; encoding will be transparently converted to the specified encoding.
    1 A$ L. \8 a) h& L% q! s
  235. ; Setting any output handler automatically turns on output buffering.: p! p% |. y) j
  236. ; Note: People who wrote portable scripts should not depend on this ini
    9 P5 B- l# m6 `3 E
  237. ;   directive. Instead, explicitly set the output handler using ob_start().- Z. o- x  L3 [6 Y' w8 z* z
  238. ;   Using this ini directive may cause problems unless you know what script/ X/ \6 e2 Y0 k5 c: ]% V
  239. ;   is doing.' f  @+ p, h  w( j( W  q% U
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    ! [9 ^. Q) p' k$ h
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression"./ M7 d& e0 ]& o- B4 v
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    0 i, \9 ~; Y4 r" X, N3 `8 V6 O
  243. ;   Instead you must use zlib.output_handler.( j+ x3 Z' k+ e
  244. ; http://php.net/output-handler
    ( r2 j/ ~. b" d/ x" i
  245. ;output_handler =; V: r) d% Q/ R0 W
  246. " t% k# x  _- P! t* `
  247. ; Transparent output compression using the zlib library; Z: t9 _5 |! a1 D
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size+ q% A: ?2 A$ d- v2 z6 Y# L
  249. ; to be used for compression (default is 4KB)$ f# l$ n; C7 |  d8 B  {$ ?# w7 Z
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    . u( [" D6 [3 k! ?8 w
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    : _/ l, o2 B& x3 G7 L
  252. ;   compression. If you prefer a larger chunk size for better
    2 J' F+ \2 F# v9 q
  253. ;   performance, enable output_buffering in addition.$ H9 B6 p" v! W9 f  Q5 K- H0 M
  254. ; Note: You need to use zlib.output_handler instead of the standard
    2 \' S- Z# D7 h2 R$ T& r0 V
  255. ;   output_handler, or otherwise the output will be corrupted.: l9 z9 v" l: U6 W, {
  256. ; http://php.net/zlib.output-compression
    & c1 R0 W* X% G$ p5 b0 a. Q
  257. zlib.output_compression = Off
    ( t5 f( O' ?5 y# u
  258. 1 _9 T+ A8 M* n' a% p
  259. ; http://php.net/zlib.output-compression-level! e" F: ]+ q. \" t
  260. ;zlib.output_compression_level = -1
    ' A. z( I9 J( J; _6 Z4 z

  261. - g# T) g8 q% L
  262. ; You cannot specify additional output handlers if zlib.output_compression- b, i; Q! S/ |: A' s4 Y3 S' T
  263. ; is activated here. This setting does the same as output_handler but in
    : o! {, N3 \# c* \
  264. ; a different order.
    . s( O5 C( C7 V" Z% @3 s
  265. ; http://php.net/zlib.output-handler8 [! e5 f# U6 x6 l! D) f( F# t
  266. ;zlib.output_handler =) C" q: V  B4 l

  267. 4 E& \3 H1 {6 p% H0 |
  268. ; Implicit flush tells PHP to tell the output layer to flush itself. V8 }8 h; b* ]
  269. ; automatically after every output block.  This is equivalent to calling the- I4 o% V2 p* ]! V7 _7 |( y
  270. ; PHP function flush() after each and every call to print() or echo() and each( U8 N6 T  i7 r. n; V; _( D
  271. ; and every HTML block.  Turning this option on has serious performance
    ( A2 K! U8 C, D& _6 D3 H( L0 H
  272. ; implications and is generally recommended for debugging purposes only.2 ^% E6 N& i. ~$ Y& u, E
  273. ; http://php.net/implicit-flush
    7 U; v" L3 u. l) \2 M
  274. ; Note: This directive is hardcoded to On for the CLI SAPI; \* T3 i; H* w( L; f% O
  275. implicit_flush = Off, p. S+ w0 j& s. h# k

  276. ; P5 l# P- t' J* B1 ^
  277. ; The unserialize callback function will be called (with the undefined class'
    % ?# Z  y* F. U. C( t- i+ ?+ ^/ o
  278. ; name as parameter), if the unserializer finds an undefined class
    % p+ ~% x% m$ _9 P' x: k. A1 Y
  279. ; which should be instantiated. A warning appears if the specified function is5 c" g' j2 C, T, Y
  280. ; not defined, or if the function doesn't include/implement the missing class.
    ; x5 \5 F" r5 a! `3 o
  281. ; So only set this entry, if you really want to implement such a
    / n5 {3 J: m; v( Q: b2 E
  282. ; callback-function.
    4 P* M" @8 j) ?+ |( e0 n
  283. unserialize_callback_func =
    5 [: e3 @+ h0 c* a7 s
  284. / G) ~3 I$ g( F
  285. ; When floats & doubles are serialized store serialize_precision significant/ b9 n- |4 E* b0 y& i* D" C( s
  286. ; digits after the floating point. The default value ensures that when floats+ y( V" E3 N. o( W% t' T
  287. ; are decoded with unserialize, the data will remain the same.9 B8 R" d# c0 D) y" r( `3 }* A8 D/ _
  288. serialize_precision = 17
    , z. |; d5 u1 X8 F8 G# k0 R- J
  289. 1 K4 p$ U1 ~" N! e
  290. ; open_basedir, if set, limits all file operations to the defined directory" s' K3 T3 {$ o( G" \& i
  291. ; and below.  This directive makes most sense if used in a per-directory
    , U3 y- |& l" A7 Q' L- V
  292. ; or per-virtualhost web server configuration file.
    * `3 b( t+ i/ _; o
  293. ; http://php.net/open-basedir
    5 y7 U8 Y$ J0 V$ S" Q
  294. ;open_basedir =
    : M+ p0 o4 x) T/ Z& q2 {5 R
  295. 8 z5 Y1 R# x" o! O/ n, J
  296. ; This directive allows you to disable certain functions for security reasons.
    * j# z/ q" p, P& s1 u- [* p+ x" W
  297. ; It receives a comma-delimited list of function names." M: E7 v/ l- m5 Y* y, E5 v, c& T4 B7 l9 ?
  298. ; http://php.net/disable-functions' `: r$ z$ e3 g5 ]
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    $ x( ^9 d+ X+ J3 b8 `
  300. % C: l9 L  d, o! k' ?' f
  301. ; This directive allows you to disable certain classes for security reasons.( C% P6 L& B, {- Z! q- L. |
  302. ; It receives a comma-delimited list of class names.. U, G, p& ]! x" a7 }/ r7 V2 o
  303. ; http://php.net/disable-classes
    2 [# g! Z- i" c$ q; f& Q
  304. disable_classes =
    , t* G: l) j3 ~; J" U3 m) W

  305. 9 w; {9 j! s* V4 v# ?, P' v: A
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    : B; o0 y" a, ]+ e
  307. ; <span style="color: ???????"> would work.6 ?1 u0 _: G; ?
  308. ; http://php.net/syntax-highlighting
    : X/ x( e1 |; B# l. L: w
  309. ;highlight.string  = #DD0000% y# h% m7 A" e7 @" Y# @5 N
  310. ;highlight.comment = #FF9900
    1 w  y! z* ]7 o8 J
  311. ;highlight.keyword = #007700' b2 \9 h% I0 _
  312. ;highlight.default = #0000BB- F! U6 K/ Q2 Q) s7 o
  313. ;highlight.html    = #000000$ H7 g, f1 c2 N3 B1 t( l/ s

  314. & Y3 \: o& c. T: y8 i- X
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    9 O. M6 v, N4 \* l8 y0 ^# Q
  316. ; the request. Consider enabling it if executing long requests, which may end up- j5 R/ t( v! k
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior& k8 l3 x) g; l" K0 E3 v. v$ m
  318. ; is to disable this feature.
    - L% J1 k' \+ }, }- U  J9 ^1 o
  319. ; http://php.net/ignore-user-abort
    ( X- Z" f  c" T; O3 ]( t8 R
  320. ;ignore_user_abort = On
    & ~2 u1 w* }$ r7 u$ Z
  321. : k' V4 y8 C! w. J" v, u! y1 h
  322. ; Determines the size of the realpath cache to be used by PHP. This value should8 e; j" }1 v* M  H9 V& z  m
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    ) S" Z6 x" C! b
  324. ; the file operations performed.* c3 y5 W  ~% F$ I% D& w
  325. ; http://php.net/realpath-cache-size
    . M2 l) |+ Q- W+ ?- z  E
  326. ;realpath_cache_size = 4096k
    % H8 ~  Q% ^. G/ {/ L: F5 S
  327. 9 b2 L& O+ c8 C' Q: N
  328. ; Duration of time, in seconds for which to cache realpath information for a given2 a7 w3 G  K& r! ^! S
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    , x8 S5 J. Q. ]" D3 W- e  l7 l
  330. ; value., i2 O  ?* w! [4 n
  331. ; http://php.net/realpath-cache-ttl1 H) W0 K! I) L) O2 }/ b
  332. ;realpath_cache_ttl = 120- z* @6 {' c1 n7 g! T! {

  333. 8 W& `( ?$ u1 H) _# D' n
  334. ; Enables or disables the circular reference collector.
    4 \& [3 x" t: s- f
  335. ; http://php.net/zend.enable-gc
    0 ]2 _! X9 {' j8 v2 B$ w
  336. zend.enable_gc = On
    8 a* h0 ]' f' j4 d. @4 S
  337. ' u9 m  Y2 f3 Y8 T2 V1 n9 o1 Y
  338. ; If enabled, scripts may be written in encodings that are incompatible with: H6 u% N; o& @- F; S
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    9 r) k9 |# ]* Q" d
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    + l# }. ?' O- ~  F$ m' X# c" h
  341. ; Default: Off/ Y( R' L0 s  p& l1 |9 \) F
  342. ;zend.multibyte = Off
    7 \$ x, ^/ U9 h1 m! e
  343. : p$ T' J. @. ]2 q
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    ! Q/ l% Z: `3 Q! y  W
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    - i" Z( c( r+ |4 {& g  \# W
  346. ; Only affects if zend.multibyte is set.3 @8 v9 k5 M9 _6 U, |4 \4 p
  347. ; Default: ""
    ! q; \5 L) \( p+ S# p$ ?. x
  348. ;zend.script_encoding =
    + F% Y0 w1 p1 _) f; v% m1 z
  349. % \$ w% O+ `( [
  350. ;;;;;;;;;;;;;;;;;
    8 r3 U6 B# H7 `; I! ~. _! E
  351. ; Miscellaneous ;
    0 s3 D3 P# c1 r5 X
  352. ;;;;;;;;;;;;;;;;;
    ' `- G4 w' ]9 y0 M8 a

  353. . R- r3 _. o% m
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    & U, K! `* O! ~- E0 T
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
      z1 O* X$ _5 M) U% Z* o6 ?
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    & [6 ]5 e! F6 L; p$ p
  357. ; on your server or not.
    3 m- e5 n( l4 c7 T- H! p
  358. ; http://php.net/expose-php0 S% G7 j) V" f$ k6 W
  359. expose_php = On+ ?7 D1 H& L  F% j' H9 O
  360. ; V% t* m8 z, O: @( U4 ?! Z1 V0 O
  361. ;;;;;;;;;;;;;;;;;;;" `% A7 A8 o# [) ]1 G
  362. ; Resource Limits ;  ]% y8 A* A+ b( _- Y) D, I
  363. ;;;;;;;;;;;;;;;;;;;5 }. K! U) A, D6 H7 v1 J# ~' o5 y

  364. & P, X+ J0 Y6 a1 w. a( O
  365. ; Maximum execution time of each script, in seconds5 A- {- Q( ?* |  l1 Z8 x  i% d
  366. ; http://php.net/max-execution-time
    / K: W% `. ^0 F* X# E" ?0 d$ \! X6 \
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI: A. T1 E1 d1 i# _' M  c* H8 c
  368. max_execution_time = 300$ J* z5 v( r- r
  369. ( s0 q- m: V2 j, \- a
  370. ; Maximum amount of time each script may spend parsing request data. It's a good. z$ F1 R& s. T5 m; w
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    & Y9 n' P3 L+ K" E, \
  372. ; long running scripts.
    8 b+ ^1 j+ I* x
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    # t. P# m0 x% U" d
  374. ; Default Value: -1 (Unlimited)
    1 I1 t/ W# f' h
  375. ; Development Value: 60 (60 seconds): Q: n, P3 m3 ?3 L3 ~8 a, B( R
  376. ; Production Value: 60 (60 seconds). x' P2 i$ m4 i% [& T
  377. ; http://php.net/max-input-time
    ) D1 j+ @: K4 v3 r5 E, a. g
  378. max_input_time = 60
      e& \% M' v7 l

  379. ! K. S* I! y4 }* O5 }6 X9 \! D: l; f% m( G
  380. ; Maximum input variable nesting level
    9 `- r5 Z7 y9 @3 b) f- T1 _2 H/ i5 G
  381. ; http://php.net/max-input-nesting-level
    - n$ {1 B$ e0 m2 O
  382. ;max_input_nesting_level = 64' D+ `7 |; a9 f& I

  383. 9 J7 s. F; M( n7 X5 ^. ]. W5 {
  384. ; How many GET/POST/COOKIE input variables may be accepted0 w0 {( ~9 w& y( i, `
  385. ; max_input_vars = 10003 ?( O5 g( r* R& A
  386. 7 }# p$ `" K* W( x; \
  387. ; Maximum amount of memory a script may consume (128MB)
    8 g6 X# Q6 F2 s5 m
  388. ; http://php.net/memory-limit2 Y- A. [. h2 M' @
  389. memory_limit = 128M
    7 b8 r# d* v/ L0 s; |2 N
  390. 8 Q) l9 j0 [) Q) a0 ^5 v3 ?
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    0 P6 w$ g) @% R% G: [
  392. ; Error handling and logging ;
    ( |) _: V" Q) B. E# T
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;- u2 y2 F) Q7 u$ o0 r1 E

  394. 6 m, z7 O  H* F3 c9 u
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    0 U) {$ P+ Z9 N1 x8 Z
  396. ; it to take action for. The recommended way of setting values for this* G) s. }* d( f7 m2 @, v0 b
  397. ; directive is through the use of the error level constants and bitwise' i  l, \' m7 p% _+ {
  398. ; operators. The error level constants are below here for convenience as well as& p8 h1 u; i) P/ P7 h2 [  ?
  399. ; some common settings and their meanings.
    6 j* V1 g! M7 c* i" p" b( S
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT1 K0 g& c( K/ Q( o, f: N5 ~1 i
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and$ F  u4 \: A) M# \
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    % c! K( Q* t, X$ q
  403. ; recommend error reporting setting. Your production server shouldn't be wasting5 `$ E4 n1 u0 i  r! r
  404. ; resources complaining about best practices and coding standards. That's what* {7 q) @5 x1 c) t! H/ I
  405. ; development servers and development settings are for.
    # J. U- P# R, v) d
  406. ; Note: The php.ini-development file has this setting as E_ALL. This. S6 T6 Q$ \0 g
  407. ; means it pretty much reports everything which is exactly what you want during
    7 q  @8 y6 v( h9 }7 w) B
  408. ; development and early testing.7 U0 E( I+ z. R5 W- p0 I
  409. ;
    6 {7 E% d  m1 W" y1 k' H9 W+ n
  410. ; Error Level Constants:' s) g* a# l; v4 `- w
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)' t0 I; y0 Q1 o
  412. ; E_ERROR           - fatal run-time errors" `4 n& u5 h# A
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    % g2 |% ^- P3 O2 N
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    6 o, K7 h6 w$ J6 u$ i
  415. ; E_PARSE           - compile-time parse errors( G5 R( F9 g4 [: v- n5 s
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    $ {# Y1 @* v; F/ b4 N
  417. ;                     from a bug in your code, but it's possible that it was
    " C) `! I7 \" @8 d; w) R
  418. ;                     intentional (e.g., using an uninitialized variable and
    2 y% |2 X* Y8 L# Q. \9 M3 ]2 s( S1 R
  419. ;                     relying on the fact it is automatically initialized to an4 v1 r0 e$ ]  G/ q2 w* v( ^/ W6 C
  420. ;                     empty string)
    0 Y# c4 M0 M* q+ l, u
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes% P: f' ?, o; G8 Z+ x0 ]
  422. ;                     to your code which will ensure the best interoperability
    & C8 u* P' W8 q9 R8 @0 b
  423. ;                     and forward compatibility of your code
    6 @1 c6 f& e' v  j0 ~
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup: Y1 z% t2 j3 H4 _& N, m  w" r
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's, m2 y5 d6 h# V1 d( y9 Z
  426. ;                     initial startup5 R8 Z8 u/ m3 g: i1 b
  427. ; E_COMPILE_ERROR   - fatal compile-time errors% O0 A3 B" P8 t4 {0 ]' U9 X
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    . X/ y5 Z/ ~2 n
  429. ; E_USER_ERROR      - user-generated error message
    " R: Y! v2 @# f) D- w, h( G4 a
  430. ; E_USER_WARNING    - user-generated warning message
    # f& c- o$ H5 H( z4 W0 L
  431. ; E_USER_NOTICE     - user-generated notice message* l5 T+ E0 d' h% l
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    / g  [' E2 d! L4 f
  433. ;                     of PHP
    . [+ N/ q5 U3 y! R% s/ x
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings& {# {4 ?" f$ v: o. w
  435. ;; W! V: O' E$ j' z) s6 Q
  436. ; Common Values:
    , y6 j2 m8 w9 q* r! b+ d
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)5 w/ P$ u' K7 B( A0 A. @7 E: x
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    ; _( o. v: T# u" E" B
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)0 I. ^$ B  m/ A. B3 z/ q
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    0 b  i; X% J7 ~" N4 \4 c% _" r( r
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED8 Q" s" g% E" V# J6 @# b& ~
  442. ; Development Value: E_ALL
    , n2 f0 M: N( @8 l: l4 j3 T
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    - B  }( d8 R1 }& u1 |+ y1 u; Y' N
  444. ; http://php.net/error-reporting& A3 Y8 r1 U% }
  445. error_reporting = E_ALL & ~E_NOTICE
    3 O. G7 c, d3 R
  446. / k' ~! _1 G% @* u
  447. ; This directive controls whether or not and where PHP will output errors,6 O5 w" @8 Z* F
  448. ; notices and warnings too. Error output is very useful during development, but
    3 c3 R; X8 T* z2 q4 Z" h
  449. ; it could be very dangerous in production environments. Depending on the code- P6 Z7 Q  P/ v: y! B; t* X2 H
  450. ; which is triggering the error, sensitive information could potentially leak
    3 c% d. ~% N. T
  451. ; out of your application such as database usernames and passwords or worse.% D& a! v1 _3 V2 C
  452. ; For production environments, we recommend logging errors rather than
    ) ~9 k2 N7 n/ J: y
  453. ; sending them to STDOUT.7 u& H9 m, V+ s. Y1 j9 w$ L! ~2 l% s
  454. ; Possible Values:" _: Y/ X0 P" T
  455. ;   Off = Do not display any errors
    * U7 v- z% H' \  K  F8 V" U8 `- I( K
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    # d; l5 X9 Z. i& |$ j& W3 s& h
  457. ;   On or stdout = Display errors to STDOUT
    . {9 d7 u+ v5 L# }; J9 b' G  _/ J
  458. ; Default Value: On8 u0 W: K# T, x3 g
  459. ; Development Value: On6 v$ j0 V, U& _$ J# @, e3 Y
  460. ; Production Value: Off
    4 h+ n& X" U+ R* `
  461. ; http://php.net/display-errors
    % f+ o/ s( N9 a2 S, }
  462. display_errors = On
    7 ?5 N/ d6 F+ Z) i. K& ~; f

  463. 0 K% y* t5 I, H5 M
  464. ; The display of errors which occur during PHP's startup sequence are handled
    0 J8 o( p' Z4 I" P/ e* y! a
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    * ]/ A) g# ]! C4 q$ N6 J
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    # ^: Q3 S  {7 K+ l5 D$ j
  467. ; debugging configuration problems. We strongly recommend you& o8 U" @) D# a9 _
  468. ; set this to 'off' for production servers.
    & _. Z) R' `. i
  469. ; Default Value: Off
    . g5 g* ~* o; y/ y5 x
  470. ; Development Value: On3 @  d) C4 D8 B! T3 D3 n4 m
  471. ; Production Value: Off- r! O0 w( }. G5 D, u
  472. ; http://php.net/display-startup-errors& Z* |& o7 E+ }0 x: {" k, E
  473. display_startup_errors = Off
    , B3 y+ J" Z& t" _6 A
  474. / G& z& x7 X$ _9 I0 f( A7 }  g/ C
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    ) j1 w* h3 D. t# F. _
  476. ; server-specific log, STDERR, or a location specified by the error_log( `- }8 ]* e- S: f5 |( w3 G
  477. ; directive found below. While errors should not be displayed on productions3 w6 `7 w8 `, t& p9 p" j& l# G7 E
  478. ; servers they should still be monitored and logging is a great way to do that.9 V" \, n! C+ ?7 h; H4 o
  479. ; Default Value: Off6 ?5 s" z7 G% ^- j! G
  480. ; Development Value: On
    " j6 m; p# d$ @7 `/ F  u. w
  481. ; Production Value: On
      z" E( }2 T+ i; {
  482. ; http://php.net/log-errors/ _. f' N9 D1 H- G1 E% R: Z8 r
  483. log_errors = On) I0 t& }; k# [1 H( P' [+ l
  484. , k) V% x9 X4 Z
  485. ; Set maximum length of log_errors. In error_log information about the source is: T4 z' [5 a. U; K' l; N
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.6 i  f! Y6 a0 y* U/ ?& `$ K
  487. ; http://php.net/log-errors-max-len
    % ^) p+ y$ d2 `  J. C) B: H$ c: B
  488. log_errors_max_len = 1024
    2 r" Z1 R% F( `5 m3 x7 f
  489. $ w8 R4 e4 L# U1 I$ O
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same* [& i: E) {! ^6 o6 J4 |' L
  491. ; line unless ignore_repeated_source is set true.
    5 W" b6 N8 e0 Y, X
  492. ; http://php.net/ignore-repeated-errors
    4 k3 C* S" d' x( Q2 u3 N5 C( X
  493. ignore_repeated_errors = Off
    8 B4 g; A3 x$ w5 j
  494. ' `! ~7 j1 T# Z) v7 Y* s# p
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    9 [- H: i3 c! Q4 Y# ^
  496. ; is On you will not log errors with repeated messages from different files or
    - h( M) P) H( k) ]
  497. ; source lines.
    ; x& q* J2 Q  Z* U& }7 R
  498. ; http://php.net/ignore-repeated-source" P) |% p% b# p
  499. ignore_repeated_source = Off
    0 Q! L' E$ C) A% c) w# x
  500.   }2 }3 Q& Z3 U
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on* z; k8 w4 J5 j' Z' P" Q$ O1 c
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    8 h" g! |3 E2 N1 K% n6 a% I
  503. ; error reporting includes E_WARNING in the allowed list% [4 l/ H* x9 o" _
  504. ; http://php.net/report-memleaks
    % G2 ^2 T3 `$ U/ L! f7 j3 v5 L' D
  505. report_memleaks = On
    2 E5 Y/ e1 o2 B' c4 K$ }
  506. $ b0 D# ?- W0 C2 Z
  507. ; This setting is on by default.! }, v% y1 W% x' G7 U
  508. ;report_zend_debug = 0
    ' w7 d  F" _/ C2 q( Q) s- }7 W

  509. " p8 ^$ E; U% X& x8 K
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value$ a' w/ d, s1 r; L: d' n% q
  511. ; to On can assist in debugging and is appropriate for development servers. It should7 e6 a. z% q' [8 B! ?
  512. ; however be disabled on production servers.! k# ^+ z! [( t4 {7 \
  513. ; Default Value: Off
    / ?6 L* ~# N5 x  G7 s6 G8 \0 V9 F/ q* H
  514. ; Development Value: On/ j) b2 z" e( V2 o& I8 l
  515. ; Production Value: Off8 C" H& e8 L* e( i
  516. ; http://php.net/track-errors
    5 q' ?  L# A7 h5 S& v  Y+ Z2 k( E
  517. track_errors = Off
    2 @, E1 V; c3 h. R7 i% Y6 y+ y
  518. 3 N7 _# t1 X- K: j* l, `
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    ! M$ D! m- n; n: w; I, `
  520. ; http://php.net/xmlrpc-errors
    0 F, L/ A0 s3 O, v' b5 I
  521. ;xmlrpc_errors = 0
    & r. T7 t  i# c9 L* e+ Z2 ?+ y$ j
  522. & `+ U3 D% P' L) |
  523. ; An XML-RPC faultCode7 ]7 o+ Z; [6 a+ x
  524. ;xmlrpc_error_number = 06 r( K5 a, I$ |: z% V. m

  525. 0 t& l9 {3 X: }& j& j" k
  526. ; When PHP displays or logs an error, it has the capability of formatting the* b6 L: X: o7 w
  527. ; error message as HTML for easier reading. This directive controls whether. x+ e# r- E6 n! [  s9 r& d
  528. ; the error message is formatted as HTML or not.
    * ], w% B1 T( y9 L3 T7 U
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI; |+ o# L; c* C  V! }
  530. ; Default Value: On
    ; h8 \+ F& v- n# W& p. n
  531. ; Development Value: On# S: {, c/ t: V4 R) _! I2 L# I6 p
  532. ; Production value: On
    . l: T7 v" J$ |+ v% S
  533. ; http://php.net/html-errors- a. n) C& |1 o* r& l5 y
  534. html_errors = On
    " A0 ~/ I$ w. I6 \( ~8 X; L( v1 T

  535. . n+ [: P' k' [/ w$ B
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    % V( |2 y. b7 q. O
  537. ; produces clickable error messages that direct to a page describing the error5 E* m$ k  t( A1 F% e1 [. q
  538. ; or function causing the error in detail.
    ) K4 D5 y  K9 t( S. |
  539. ; You can download a copy of the PHP manual from http://php.net/docs4 N; |& c5 E0 G( Y  m9 k7 Q
  540. ; and change docref_root to the base URL of your local copy including the, d5 ?2 \; S* o1 m  g
  541. ; leading '/'. You must also specify the file extension being used including  |) f! X) I. l( p% i8 |8 ~
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which' |8 O2 y& v! l) n
  543. ; case no links to documentation are generated." E' {) b5 D' @  W& p
  544. ; Note: Never use this feature for production boxes.
    5 g* A: a0 T$ q. a, y
  545. ; http://php.net/docref-root
    # e9 K: `4 K+ g; M$ N4 D3 f
  546. ; Examples8 W# h' n1 r! g, m* W# V
  547. ;docref_root = "/phpmanual/"2 k8 {! h" q2 s
  548. 3 Q+ D* l2 R" x
  549. ; http://php.net/docref-ext$ l& v% n" Z& G- w. z
  550. ;docref_ext = .html) j4 k: D0 O  s' w3 q
  551. , Y, ^0 O& L7 v$ H: q% A
  552. ; String to output before an error message. PHP's default behavior is to leave8 D; t' t( W! b
  553. ; this setting blank.8 F0 ^* r  H" @; K" F( F
  554. ; http://php.net/error-prepend-string
    , N8 a% A( s: r1 U
  555. ; Example:  N% k; s' ]2 h6 p5 M5 ]/ r# T) e
  556. ;error_prepend_string = "<span style='color: #ff0000'>", {3 c7 E" g7 ~

  557. 4 P% g7 a" v6 W6 m, X6 t2 I0 e
  558. ; String to output after an error message. PHP's default behavior is to leave; j6 U' w8 L8 X8 T
  559. ; this setting blank.' ]2 h! {& t  V; q! v
  560. ; http://php.net/error-append-string- t# ~$ h; Y/ N$ `# @
  561. ; Example:
    ; w9 U8 B$ H% ~! N& W- \
  562. ;error_append_string = "</span>"1 i) C+ a$ ^, J) ?( ?5 O

  563.   V' R) ?3 T; U* [* O7 Q3 c2 I
  564. ; Log errors to specified file. PHP's default behavior is to leave this value5 T4 D$ W. J$ Q; {% @6 I/ u- L4 l  G
  565. ; empty.5 C5 `& s* s  n! B
  566. ; http://php.net/error-log
    + L% ?+ R2 f8 H
  567. ; Example:
    6 D+ b4 }$ v9 {5 U" a# _
  568. ;error_log = php_errors.log
    ! E5 Q4 T, V/ j+ i% @5 C$ g0 G
  569. ; Log errors to syslog (Event Log on Windows).* x, |0 s0 B% X
  570. ;error_log = syslog! u3 S* H& O6 D1 q+ q
  571. + n4 F, d9 K. F
  572. ;windows.show_crt_warning+ p5 {! F. u" o8 v
  573. ; Default value: 09 j+ d, {( J1 {. v; F1 i
  574. ; Development value: 0
    2 V8 `% {! S6 u% z% s" X
  575. ; Production value: 0+ n& s; n4 s# `, Y

  576. : l/ x. n/ a) f
  577. ;;;;;;;;;;;;;;;;;
    1 @1 @9 g6 k1 C) \
  578. ; Data Handling ;7 X; l& R3 ^" J
  579. ;;;;;;;;;;;;;;;;;! A8 @3 p6 Y7 H" c8 x9 N9 o9 C

  580. 2 b+ \% z5 X3 L- A) H! ~  r9 s
  581. ; The separator used in PHP generated URLs to separate arguments.
    3 A, F  Z7 s  Z
  582. ; PHP's default setting is "&".# ?! v' C4 J% e9 ~
  583. ; http://php.net/arg-separator.output7 m1 \# K  ?. ~! i) S3 q# v' w
  584. ; Example:+ ?" O  _6 E" z/ p& e- I4 C+ T
  585. ;arg_separator.output = "&"3 h: O  p/ p5 E3 N( X+ s

  586. 7 l1 W. x+ o$ q* a$ k/ g0 t
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    8 j- j$ C" d" L$ F, H& V. X9 {: _
  588. ; PHP's default setting is "&".
    & {5 ?: S" s  `/ n6 \" q
  589. ; NOTE: Every character in this directive is considered as separator!2 [+ k: ]3 B9 ^' E$ I
  590. ; http://php.net/arg-separator.input
    ; l+ t$ G/ ^& X9 K
  591. ; Example:
    . A- W) m& y8 J: y
  592. ;arg_separator.input = ";&") A& F' y& J# x+ v& ~/ G
  593. % Y  G. s: Y/ l% V" C
  594. ; This directive determines which super global arrays are registered when PHP" I) I( |: Z3 h, @" D* s
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    ! ?4 `$ ]  k) s& D9 H" Q
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    2 V, C0 J6 }  J5 q) O( i
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    4 ]1 y7 Y6 i/ |- }$ P# P- |- [
  598. ; used as the others, ENV is not recommended on productions servers. You
    ; p2 |9 ~( {$ N- a, }2 O
  599. ; can still get access to the environment variables through getenv() should you& X% m4 V' F& F6 T3 K0 q0 I
  600. ; need to.
    ; J0 ^2 d: g% r1 M, _
  601. ; Default Value: "EGPCS"( a% M: ]1 g5 X
  602. ; Development Value: "GPCS"% h# h8 k/ V. r# p, c4 g, e. Y
  603. ; Production Value: "GPCS";
    6 L# H8 I& d8 q6 N# R0 H
  604. ; http://php.net/variables-order
    : u  X! J1 c  O: A# S  s# c
  605. variables_order = "GPCS"+ F9 l: s7 ^7 X* t9 {& w
  606. ; I, l4 U6 H* p; b4 Q6 m9 i1 A
  607. ; This directive determines which super global data (G,P & C) should be
    8 g5 A! Q; f/ a5 E
  608. ; registered into the super global array REQUEST. If so, it also determines
      z3 i/ u+ n6 H' g$ }& s5 L
  609. ; the order in which that data is registered. The values for this directive
    . C2 b9 g* a7 _$ Y' {5 b8 N4 W
  610. ; are specified in the same manner as the variables_order directive,/ U. Y0 Y# _6 m# Y: x+ }8 A
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set5 S; _1 A* b) U4 T/ U0 O
  612. ; in the variables_order directive. It does not mean it will leave the super2 @- j# k: j2 I1 a( Y* _' E
  613. ; globals array REQUEST empty.) G2 M0 W/ ]; f' Z  z# m
  614. ; Default Value: None6 X0 \% W( \7 D! \
  615. ; Development Value: "GP"
    : R9 a& E! i% M( V2 d* w* x
  616. ; Production Value: "GP"1 G. n  V1 L+ c! h1 R
  617. ; http://php.net/request-order
    6 e5 X0 ~( U2 b- e9 M
  618. request_order = "GP"5 ?5 x4 g/ U% ]; f
  619. ! `2 j* ^) p# I3 i' a! L
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    7 ^) a7 d! n( B- L$ r. h
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    2 w2 R5 t" y' @+ J
  622. ; is invoked. $argc contains an integer representing the number of arguments
    ! s1 ]6 X! r- Y# U( Y# k
  623. ; that were passed when the script was invoked. These arrays are extremely/ }  Y4 N9 l  [" P; h! F
  624. ; useful when running scripts from the command line. When this directive is
    ! [6 v2 T: Q6 l! ?: [  z
  625. ; enabled, registering these variables consumes CPU cycles and memory each time; D! l) ^  m1 O8 @. w
  626. ; a script is executed. For performance reasons, this feature should be disabled7 _" X1 I9 a2 t0 N8 G3 o
  627. ; on production servers.% D0 a/ a" f& B* L4 x7 x* v* e
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    7 z( W! C3 u$ E7 B1 ?, D6 R' f
  629. ; Default Value: On
    " ?7 [$ m' H8 R- R5 y1 c
  630. ; Development Value: Off
    + J6 l3 v+ l( o( }* n* T
  631. ; Production Value: Off3 S% `3 m7 V) R3 \* W0 ^0 G! A4 k0 S
  632. ; http://php.net/register-argc-argv
    ) @; c1 d+ b; D
  633. register_argc_argv = Off( B& \( n8 H1 T! Y9 q0 ]5 Y" _( Q1 O

  634. $ t" ~! i! P1 [4 n9 L. l; ]
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    ' a% Z) K8 I! W3 t; m
  636. ; first used (Just In Time) instead of when the script starts. If these! j0 b+ N+ Q: J2 B& H9 z+ J4 M
  637. ; variables are not used within a script, having this directive on will result4 w" d/ Q" {7 h8 s' f# V
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled: j, }  w0 o3 R! J- M% }( o
  639. ; for this directive to have any affect.
    * P1 f3 v5 R9 G! d2 c0 E4 r
  640. ; http://php.net/auto-globals-jit
    % g6 W8 C* L. `" f# {8 M3 P7 N5 |# E
  641. auto_globals_jit = On
    , ]; T  f9 Q8 g

  642. % U5 Y" D" i: ]8 U
  643. ; Whether PHP will read the POST data.
    + x( a' I6 v# _8 K) R- d
  644. ; This option is enabled by default.
    ' Y& |4 [/ B9 N" j. `/ V; E' e# B* N* S
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    + _' ~& m6 |; T. ?
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    " V* i4 v2 m) [. a- U& z
  647. ; POST data will be through the php://input stream wrapper. This can be useful1 e1 R4 @, J/ O! d
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    8 Q5 Z  }: [/ u: j; ]. a
  649. ; http://php.net/enable-post-data-reading6 [& w, d; ?& U) D* D
  650. ;enable_post_data_reading = Off! ]* i  ?3 g3 t) S
  651. 6 r* s) ]9 W1 O' L) n
  652. ; Maximum size of POST data that PHP will accept.
    6 T4 Y$ \; D: m' l5 M7 h8 K  x
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    ( Z4 k- ^9 G6 D: W2 q  I" A
  654. ; is disabled through enable_post_data_reading.* L# F& {; n( J0 f, U& E" u5 h
  655. ; http://php.net/post-max-size4 A+ B1 }% Q# }- d
  656. post_max_size = 50M( J' O* k4 L+ B/ `7 R  ~# r

  657. ; J! \6 t9 y* s* o4 o
  658. ; Automatically add files before PHP document.
    ) u7 o8 k7 F6 M9 _; V. {) ?3 }
  659. ; http://php.net/auto-prepend-file% R* |" f' B5 ]4 Y
  660. auto_prepend_file =# x; V. E) I7 n7 T9 r/ t9 p( P
  661. 2 J, t" A2 C) E# G5 L7 a
  662. ; Automatically add files after PHP document.
    - u2 E% q; w5 w5 {& e
  663. ; http://php.net/auto-append-file" Q+ }) `8 ?, L. s8 T  Z  d
  664. auto_append_file =; D$ W4 }9 T3 \2 Q0 W' G$ V6 C' L

  665. + t9 C0 I8 F  P/ _& c' s3 e
  666. ; By default, PHP will output a media type using the Content-Type header. To% B3 C4 p' J/ Q6 j
  667. ; disable this, simply set it to be empty.
    * [! N9 v+ x* D+ U
  668. ;
    - p& ^, N0 V; s! ?1 g
  669. ; PHP's built-in default media type is set to text/html.! A" z" H' y% X/ }1 C  H" z7 X5 V
  670. ; http://php.net/default-mimetype
    / [7 U; N+ V  F7 o4 F
  671. default_mimetype = "text/html"
    : z5 H5 {2 f8 A6 C* n/ s

  672. * N$ _: p0 `7 P: G) u
  673. ; PHP's default character set is set to UTF-8.6 r' _, d& l0 X- V
  674. ; http://php.net/default-charset" G6 n' f' s9 S- U8 G& P
  675. default_charset = "UTF-8"
      f9 d2 {& [5 y; i& \+ l
  676. 6 K1 x5 ~+ H% j1 ], B2 j% c( |
  677. ; PHP internal character encoding is set to empty.
    ( Y8 H% ?$ c# Q; ?' J- F1 Z
  678. ; If empty, default_charset is used.: I; a" p: h5 Q1 }8 y* g
  679. ; http://php.net/internal-encoding) a( H1 C$ b3 `: b) f) a1 x
  680. ;internal_encoding =
    % u- t( t" j5 L- J
  681. ( ~9 D1 x" d( l0 a+ w$ G' b+ T
  682. ; PHP input character encoding is set to empty.
    ( M. x: g6 J- L+ l9 a
  683. ; If empty, default_charset is used.6 d8 z* H+ s; G) C
  684. ; http://php.net/input-encoding+ `( q4 k( k/ B8 @( K' ~1 K
  685. ;input_encoding =
    ' F, r' S5 A1 c# ]7 D: |; z
  686. % j3 F0 C6 g9 {% [  ?# d5 _+ K
  687. ; PHP output character encoding is set to empty.* a& ~/ @5 |# X0 j$ @; ^0 R
  688. ; If empty, default_charset is used." C4 S9 e' b  Y5 [/ L$ g
  689. ; See also output_buffer.' a4 M  }5 ~% L
  690. ; http://php.net/output-encoding; a5 u, E( ]7 ~- }. v% U" a8 U3 |7 l
  691. ;output_encoding =
    * V7 A8 L( J' H5 K

  692. & S2 j0 h$ V% X8 G& ^4 L; }
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    # `, I! x- s8 P  E, L! @
  694. ; Paths and Directories ;2 Z" U" O5 C# {- _1 J+ _" l
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;2 `; c: j& d/ `3 F' K% d
  696. ' U! Y' \. K1 i9 Z
  697. ; UNIX: "/path1:/path2"# ~0 W" V8 a9 E
  698. ;include_path = ".:/php/includes"
    9 p) E7 Q+ L# I# y4 `7 b  y1 N8 ]
  699. ;! J; r& `; K: w6 _, {$ |; \
  700. ; Windows: "\path1;\path2"" A: Y) c: W* X+ S8 D, S6 u
  701. ;include_path = ".;c:\php\includes"8 j) C/ d+ [! }  r, ]/ _
  702. ;
    0 z) O# Y5 Z1 V$ g$ j
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"& g+ J9 x3 O$ R; H# H
  704. ; http://php.net/include-path
    9 Y: _% a, G  A8 S& H: n3 F

  705. * }3 b, Z8 A+ V9 P3 G: x) J
  706. ; The root of the PHP pages, used only if nonempty.
    ( |8 F9 m, `: s6 b  M
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root& h% W, M1 r: d6 }; c
  708. ; if you are running php as a CGI under any web server (other than IIS)
    5 Y! ]9 D3 I4 u
  709. ; see documentation for security issues.  The alternate is to use the) o7 w7 y, H* @. L) G7 {
  710. ; cgi.force_redirect configuration below
    ) m8 F% x) z) W
  711. ; http://php.net/doc-root8 O& z1 u0 Q$ z  t/ k6 A+ C4 c
  712. doc_root =' |2 L* Q6 D  ]$ f* m& e$ \
  713. * I- R. p5 I" D/ z  `3 {
  714. ; The directory under which PHP opens the script using /~username used only) N* D" m: u/ A6 N! U$ [. x8 z$ S
  715. ; if nonempty.
    ; L; K9 T" h( I
  716. ; http://php.net/user-dir' z& j; C9 l# L4 H
  717. user_dir =
    : K+ D5 c9 H8 H, z

  718. ( \/ A2 K( @9 r1 q  w; N
  719. ; Directory in which the loadable extensions (modules) reside.- H! |7 h! f& y4 i" ~) C* h# X  _# F
  720. ; http://php.net/extension-dir
    ! W5 J+ [6 ]2 E4 S' G7 O
  721. ; extension_dir = "./"
    9 |" o/ n8 L1 k$ o3 `8 M% e* y2 f1 b
  722. ; On windows:2 `# f9 L2 w* [  {7 n/ q; I
  723. ; extension_dir = "ext"/ Q1 L2 w' D  z! I$ z* K, @, k& e
  724. & z$ C' O$ T4 k2 T) z0 G+ F
  725. ; Directory where the temporary files should be placed.9 e  `2 m% e: i) m/ _
  726. ; Defaults to the system default (see sys_get_temp_dir)5 x( k* }: s1 W/ S1 d4 l
  727. ; sys_temp_dir = "/tmp"$ q; ~9 n& [) _; N/ Q4 M2 i

  728. , @3 V" j" `5 B* ]
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    & \2 z1 T) F4 A' \
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically3 J+ l6 Y. {% L2 F, a* X7 i
  731. ; disabled on them.9 }8 T$ |& F% z/ O1 h) {
  732. ; http://php.net/enable-dl
    , w9 O% m  x6 Y0 r$ D
  733. enable_dl = Off3 i, L! ^, t# i; |; \& N. C
  734. # K7 u, a$ K! u, t  \, E5 E, O7 [
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under4 L% n% l0 v8 |9 C  y2 |
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    1 ?# E- j; g* J2 {
  737. ; turn it off here AT YOUR OWN RISK# ?- w) l5 L! ?; F8 X
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**( w0 Z' {0 t  w" s  V9 ?! A
  739. ; http://php.net/cgi.force-redirect6 X+ z* ~9 M* H2 ?
  740. ;cgi.force_redirect = 1) x. S& a8 P" s) p( \7 y4 ?
  741. + {+ Y* d/ S/ Z, {
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with. V6 A3 m- S0 i8 A/ [: F
  743. ; every request. PHP's default behavior is to disable this feature.
    - ~2 Z" B7 U7 p
  744. ;cgi.nph = 1$ T& |; d8 i* P1 Q. A2 Z  f
  745. 3 n$ s1 [& b2 e: M
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape6 Q$ _- K" u6 u+ a' s( m" X$ Z
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP! R% W, \' z" W8 X
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    $ w1 I1 R! h. E$ b$ e. m9 v2 k
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    ( I; E9 x* o: h! |8 F. C
  750. ; http://php.net/cgi.redirect-status-env. Q9 W. r* I1 k7 a; i% y( I
  751. ;cgi.redirect_status_env =
    8 A" H" A1 q% T: u2 w+ G! K

  752. / B* j  F: T+ a
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's7 z$ g" e1 E- p9 H. Z
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok' k# L# u( F) h( z, }  `; C
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting$ d7 ]" U! L1 N6 ]: u
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting+ U/ ^$ x0 A1 m
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    , `1 z# h& u  Y, G
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    ! S. ]0 @2 U! F# I( d( F1 ]
  759. ; http://php.net/cgi.fix-pathinfo
    " p% x, S; q( @3 G
  760. cgi.fix_pathinfo=1' B, @- _8 d+ k# z
  761. 6 L2 M; s1 ]; p# l# @
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    + W, m$ D( B6 S& @, J3 O7 Z. {
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    9 C, s7 A. R9 {* Q; a5 h
  764. ; http://php.net/cgi.dicard-path
    / I3 z) D+ g& F8 J  x- u* D# Y
  765. ;cgi.discard_path=1, r$ \1 B: {0 `3 e
  766. $ C' H8 p0 f; {
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    ! J/ w+ c, q4 Q1 }" r
  768. ; security tokens of the calling client.  This allows IIS to define the
    ( |4 E3 ~+ }4 @' F
  769. ; security context that the request runs under.  mod_fastcgi under Apache9 f% G% d" o9 V
  770. ; does not currently support this feature (03/17/2002)& p2 A7 {4 n4 J( G! t( f8 e6 H" C
  771. ; Set to 1 if running under IIS.  Default is zero.
    : F% t* l, U' c/ h$ ?4 a& h
  772. ; http://php.net/fastcgi.impersonate
    / o1 B' y" Q6 _- j: \
  773. ;fastcgi.impersonate = 11 i  ~) E2 @5 Y0 [) e

  774. ' T" a! B2 I9 [6 F- t5 l
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable: s9 d6 o" `6 l! j3 a0 r7 L. k
  776. ; this feature.
    / O" M  m" u  r; l! `
  777. ;fastcgi.logging = 0. K3 O# q# l: j1 \

  778. ( Y4 \& W$ n1 B( u. g2 y8 P
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to( q6 \- L3 ]4 l- r) X8 b- J" x7 S
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that3 e. G9 b. `3 C5 C- j  c0 }7 ]
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    + k0 [! A- |9 a& H/ g
  782. ; RFC2616 compliant header.
    * n' b1 R" R/ L
  783. ; Default is zero./ D4 d0 }( o8 t$ C9 T
  784. ; http://php.net/cgi.rfc2616-headers
    " C3 S7 N' C. ?* `# u: }
  785. ;cgi.rfc2616_headers = 0( Q( ?- }  E6 X6 p- p

  786. ' P+ s" d# x; @, O0 m5 `
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!5 y. i) C" J  Q  L# i
  788. ; (shebang) at the top of the running script. This line might be needed if the" b4 S5 O! h$ Y+ Y( O4 X
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    ' h% i  R& b4 w
  790. ; mode skips this line and ignores its content if this directive is turned on.
    ) a' c; _/ n4 ]: l$ O
  791. ; http://php.net/cgi.check-shebang-line
    5 a) t; H$ q( l- S) E
  792. ;cgi.check_shebang_line=11 C4 `8 z+ ]* d9 d  n$ S
  793. : `3 u, `2 x! r$ q
  794. ;;;;;;;;;;;;;;;;
      A/ G4 r$ ]: L8 W" c
  795. ; File Uploads ;
    2 h6 y& w1 I# ^/ ^  s6 W
  796. ;;;;;;;;;;;;;;;;
    9 c0 e: D/ Z2 U  H  _8 s* g: X

  797. ( u; L/ J0 t' K. m  r! j  P
  798. ; Whether to allow HTTP file uploads.
    $ H& e" ]' Q' ~( j$ P' F5 F
  799. ; http://php.net/file-uploads9 x5 [, r& ?5 n2 y1 {& m
  800. file_uploads = On2 ?) `6 h1 `  c
  801. ) `& ^" [* H" n+ T0 H6 Y9 O: `
  802. ; Temporary directory for HTTP uploaded files (will use system default if not* k0 B% _+ W4 G6 h4 a6 t6 |
  803. ; specified).2 k2 S8 w* q1 c; w; b+ V2 L
  804. ; http://php.net/upload-tmp-dir; `0 T6 x6 P6 r( |. A$ i
  805. ;upload_tmp_dir =1 O' F, f0 x& J7 c* R7 p  D

  806. & E& Z" p* [' h, F' A9 M0 i7 w
  807. ; Maximum allowed size for uploaded files.
    , S' V' V6 O/ `- [
  808. ; http://php.net/upload-max-filesize1 l6 Z' s1 H+ ~& b4 F) P) T7 d
  809. upload_max_filesize = 50M
    : |5 ~( l$ I+ s6 J7 T
  810. * N. X- i! r0 [8 O9 c6 H& ]8 I
  811. ; Maximum number of files that can be uploaded via a single request/ @# r7 q. l6 r9 A) y3 Y
  812. max_file_uploads = 207 ]0 Q$ ]5 V* X( G2 b

  813. : h8 v6 v3 A3 A; R
  814. ;;;;;;;;;;;;;;;;;;
    4 g' K9 R  n$ t+ J
  815. ; Fopen wrappers ;
    ; K4 e6 b$ x" }+ S" u; L
  816. ;;;;;;;;;;;;;;;;;;
      o/ Y% R0 Q) r$ F8 x

  817. . n9 d4 L6 d# r
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    8 R4 z6 _+ E" @, ~8 a4 U6 v$ F0 E6 F  k
  819. ; http://php.net/allow-url-fopen+ X' k- D3 h6 m- t* ]. ^
  820. allow_url_fopen = On+ v6 \6 O+ ~" I  V- s

  821. 3 o! H$ e* w  X+ A+ p1 Z3 W1 @; y
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files., m+ S( g5 u% }; o+ j! Q$ A6 ^0 h
  823. ; http://php.net/allow-url-include2 G: S  [, S$ ^& K* Y* C2 o
  824. allow_url_include = Off
    5 _; m+ Q# j* `+ I6 F' l5 k8 Y; H
  825. 8 o* J3 o3 W: |* U  N/ w5 u
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    , N9 N4 K4 r1 P% M
  827. ; for this is empty.
    9 Z! @! P: Q1 M  j3 q2 L
  828. ; http://php.net/from5 h: N4 L) Z3 h3 g$ A4 z
  829. ;from="john@doe.com"
    1 E2 Q& L2 D* V' }3 E

  830. / Z/ G4 S) s( k1 V
  831. ; Define the User-Agent string. PHP's default setting for this is empty.6 b) p/ ^# x- T! a: {1 t
  832. ; http://php.net/user-agent3 x; I. K; I. _+ W+ ]8 A# P$ W
  833. ;user_agent="PHP"& o! t% X- K& Z" K$ h# E+ _6 {3 }

  834. ( t, o" O" L% j. @3 B! L5 e( i3 m
  835. ; Default timeout for socket based streams (seconds)
    4 _, `- @) v8 f0 o
  836. ; http://php.net/default-socket-timeout
    0 j) g8 x3 H% P( u
  837. default_socket_timeout = 60) H# n, w+ _. w) B* h& Q, F' G
  838. " @4 T& P( K% a$ Y3 k+ ~; s0 M1 N
  839. ; If your scripts have to deal with files from Macintosh systems,
    : |+ T- u7 q: O" ?- J5 l
  840. ; or you are running on a Mac and need to deal with files from
    ; w+ N  m; o: Z- \) W
  841. ; unix or win32 systems, setting this flag will cause PHP to
    , D& f) L. j" q  V$ U" w" N# t0 n5 m
  842. ; automatically detect the EOL character in those files so that
    8 R" ^! p; s6 v+ l
  843. ; fgets() and file() will work regardless of the source of the file.# w; d5 f) ?7 U& |# [
  844. ; http://php.net/auto-detect-line-endings6 ?' m* @/ J" g( B5 B
  845. ;auto_detect_line_endings = Off
    : w: c! h' R/ f! {( V4 d
  846. 2 W3 \, \* M0 {4 {5 m" x; y$ }/ K
  847. ;;;;;;;;;;;;;;;;;;;;;;. E% [: k1 t2 ?! d
  848. ; Dynamic Extensions ;
    ' Z* u  m0 {: M, K3 E- R
  849. ;;;;;;;;;;;;;;;;;;;;;;) ?6 z* V. n1 X8 t

  850. ) G, A- B# Z4 D8 p: }9 n* S
  851. ; If you wish to have an extension loaded automatically, use the following  H) [; C8 k& k. r! \4 P. m
  852. ; syntax:
    6 x" U5 X1 d6 Q* R1 I
  853. ;3 ^0 B, B# U' j
  854. ;   extension=modulename.extension8 n$ C/ K# u. t1 ]4 h  ^
  855. ;4 M: Q4 q9 F3 F1 V; ^
  856. ; For example, on Windows:: V" a" S5 I% a- H; z+ h$ _9 K
  857. ;
    7 |, S* z8 Q, v' V9 f' k
  858. ;   extension=msql.dll# F- U; E/ @+ b9 v* z
  859. ;% Y, a9 O, M8 @
  860. ; ... or under UNIX:( _! q! l/ R" e  g  }" s
  861. ;
    8 v/ w9 I3 D" M9 C
  862. ;   extension=msql.so/ `1 [8 E  E# j, _2 B$ B
  863. ;* ~3 W/ v$ C0 h# a5 Y& v9 p; q
  864. ; ... or with a path:
    2 B# N7 l; q) d0 J) a9 R) k' s
  865. ;
    7 k& k9 d) v( A0 j, L8 |2 A+ D! ~
  866. ;   extension=/path/to/extension/msql.so
      U5 P' W: c. {6 P( t6 V% V
  867. ;$ l. ?" w: R: `
  868. ; If you only provide the name of the extension, PHP will look for it in its
    5 w8 L6 Y* M) m7 d$ o8 I3 A. p- l! i
  869. ; default extension directory.# \5 x8 @! F* `7 Y: I) p! W$ ^* G
  870. ;: A% _" k% s. J% q
  871. ; Windows Extensions
      m8 K6 h6 ?5 y- g! _# [
  872. ; Note that ODBC support is built in, so no dll is needed for it.4 ^  X! N& Q) Z5 r. H# K. @
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    * {4 p/ q( b' o) G; d6 c
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).6 t9 s" ?4 i$ Z6 S
  875. ; Be sure to appropriately set the extension_dir directive." O& f$ E4 q8 H* s1 h) ~
  876. ;1 A& ~) _- n) j" }" p9 t
  877. ;extension=php_bz2.dll( _, W/ [: L" S( i
  878. ;extension=php_curl.dll, P+ }: `# e2 |3 C6 n0 A' Q
  879. ;extension=php_fileinfo.dll
    & h' ]) Z5 p7 r: c$ B( W$ x
  880. ;extension=php_ftp.dll
    3 F8 p2 p& F1 [! p: V7 O
  881. ;extension=php_gd2.dll
    ; \3 }- }  X6 n* \* g- q
  882. ;extension=php_gettext.dll% e3 E% b" z( a4 n! q
  883. ;extension=php_gmp.dll
    - k, c+ b$ v" V: I. S+ s* v* t
  884. ;extension=php_intl.dll
    ) @$ e# h' M* u4 C
  885. ;extension=php_imap.dll
    " |) v- G) o7 R+ {+ [
  886. ;extension=php_interbase.dll
    : F& e" x5 c0 `& e" ~% I7 V
  887. ;extension=php_ldap.dll
    , d) [. w+ s3 F/ f$ {( V$ N
  888. ;extension=php_mbstring.dll
    * F* O8 R+ F+ O: D$ f% W  o8 s
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    - o* S, ?: f' f/ w
  890. ;extension=php_mysqli.dll
    1 V/ x7 @' N+ k& Q4 Q. E
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    5 L7 s& C4 `+ M- s9 [9 y
  892. ;extension=php_openssl.dll
    . R/ b) }7 H; l/ a( O. [
  893. ;extension=php_pdo_firebird.dll
    ' J# D  n. {6 a, \4 y( [1 H, L
  894. ;extension=php_pdo_mysql.dll
    - Y1 H) ^; C$ v7 C& Q" h
  895. ;extension=php_pdo_oci.dll% n& D7 C/ A2 @- C5 E
  896. ;extension=php_pdo_odbc.dll) a. m8 W1 f% r2 c, x. }3 t
  897. ;extension=php_pdo_pgsql.dll1 E8 y) {. C* w
  898. ;extension=php_pdo_sqlite.dll
    : _! U* \) _6 I% U0 y
  899. ;extension=php_pgsql.dll7 J  d! I( ~4 O( M! K$ s$ B$ P2 X
  900. ;extension=php_shmop.dll
    5 C9 N. J+ D% R. K

  901. " O2 ^0 A" o5 Q. V; w3 t! K
  902. ; The MIBS data available in the PHP distribution must be installed.
    ) J1 H5 d& D" b1 j
  903. ; See http://www.php.net/manual/en/snmp.installation.php3 K  ~) F3 n( M7 o) ^6 r
  904. ;extension=php_snmp.dll
    ' L6 U& Q0 B  p. C. @
  905. 9 L1 H4 r( f+ j% Q
  906. ;extension=php_soap.dll  d) H3 u! A2 y
  907. ;extension=php_sockets.dll# j% e; H. G! c& g3 p8 m
  908. ;extension=php_sqlite3.dll
    1 p: L. B6 q" c  b
  909. ;extension=php_tidy.dll
    $ s4 a1 M% P- ?( X0 L1 y
  910. ;extension=php_xmlrpc.dll1 {' T) j' o% ^8 M4 X) F7 S( _
  911. ;extension=php_xsl.dll: i3 f1 c& M4 o7 E
  912.   @+ G: P) S  B/ `, c
  913. ;;;;;;;;;;;;;;;;;;;7 J* o8 R- o4 W: }
  914. ; Module Settings ;
    2 w, o; `" @8 x3 F
  915. ;;;;;;;;;;;;;;;;;;;0 x$ Z, O! n) j

  916. % D/ D- \' W/ W4 @2 j) D: d
  917. [CLI Server]1 Z; E/ E6 O) g7 c% j4 \# U! ~' A
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    # s& ^- m; c& q. O
  919. cli_server.color = On1 I0 g% F# ^4 p* y& S6 h; i
  920. - j9 j' X" f5 D: c  n
  921. [Date]
    ; L/ T. A' ]0 P: f8 P  I
  922. ; Defines the default timezone used by the date functions# ?, X2 L- r/ P
  923. ; http://php.net/date.timezone/ K. K9 \* W$ t& [$ F  E8 w. ~
  924. date.timezone = PRC" ?3 E! s2 F. O  ?5 A

  925. 0 S% y0 R/ D) L* \9 l0 a6 @
  926. ; http://php.net/date.default-latitude
    8 c1 t9 B% V' u( ]7 l
  927. ;date.default_latitude = 31.7667
    . S  u& {9 s: @: N$ R' r
  928. # R6 F1 |, J2 H9 F
  929. ; http://php.net/date.default-longitude
    1 C6 u3 n* ]9 s  t
  930. ;date.default_longitude = 35.2333
    , L) y' n3 V) \4 W/ R5 y

  931. # h; D( x2 X7 L3 g) {
  932. ; http://php.net/date.sunrise-zenith
    . d+ O0 d# s) f
  933. ;date.sunrise_zenith = 90.583333( }  Z% N$ |0 {" M$ A8 S

  934. ! h& c2 q5 Q" l- W' L
  935. ; http://php.net/date.sunset-zenith: [& z7 V# K- _% U9 A7 _  L
  936. ;date.sunset_zenith = 90.5833339 q4 }/ J+ o3 @( _6 f8 n

  937. , P, H6 G/ s4 P2 U; y+ ^! Z* [6 K
  938. [filter]
    - ?- o- G8 h0 d& J7 X2 b  I
  939. ; http://php.net/filter.default
    * ?- x9 G# ?& ~& F
  940. ;filter.default = unsafe_raw
    % l: A' O9 h0 t# [* E: p) ~/ V% u

  941. 3 h! L) Q) S  y) T. S0 [, ~
  942. ; http://php.net/filter.default-flags
    0 _- w' L6 ~+ n$ h* ^; B! I
  943. ;filter.default_flags =# y1 s. _, \8 A. y3 [

  944. ) s- i, W/ h2 I% P* M/ L$ Z) P8 l
  945. [iconv]
    5 H( s5 z7 p2 i, T6 h9 J1 n
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.: x: C; ^# {5 l+ ]( ~
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.1 C9 m0 |4 B+ L+ e5 O. A8 f5 p
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    0 a3 V3 ]) k' v
  949. ;iconv.input_encoding =
    5 a1 J! Y, M2 g* U
  950.   M$ q8 Q8 n0 u! ^% G
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    # q3 @7 ^- a8 y8 Q
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    3 n7 w% S  \. e7 Q
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding$ @0 r0 I% g' b) G+ t9 U/ P3 L
  954. ;iconv.internal_encoding =
    ) q' ~* z: A) r, j( C4 ]6 x

  955. - P# ~  G3 D- H. U5 ~9 N
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    9 D% c8 k6 s9 X4 A, Q- e
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    / G' l# I2 V$ k4 }7 m+ n! T
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding0 r) K' o8 G, E! H
  959. ; To use an output encoding conversion, iconv's output handler must be set  [/ F6 ]3 P9 K, B. ^% N' [: a
  960. ; otherwise output encoding conversion cannot be performed.
    2 X) l. o$ b, w! N
  961. ;iconv.output_encoding =
    - Q3 h3 ]! e5 M6 O! W. v& A  Y: ~9 G/ y& M
  962. : h8 {) d) G- z# M, a2 V( z
  963. [intl], K) w( g& ~/ j' `) [
  964. ;intl.default_locale =
    1 O9 l5 S6 T4 V3 R# j4 M7 D
  965. ; This directive allows you to produce PHP errors when some error; i" R5 i& L' m) ?
  966. ; happens within intl functions. The value is the level of the error produced.2 p7 {+ R# p) Z1 o; `- _7 E
  967. ; Default is 0, which does not produce any errors.6 D2 X/ p+ ^* {' u5 Z
  968. ;intl.error_level = E_WARNING/ q+ [5 a$ X7 `
  969. ;intl.use_exceptions = 0* u6 w! o/ Q; z

  970. * d  b% e" d& K
  971. [sqlite3]
    9 l* u" p; @! q. B9 m: I, k1 \
  972. ;sqlite3.extension_dir =
    : B9 P3 R" {! ~/ ~1 S. U" g

  973. # x" S0 ?# A" S8 H" L- [7 L
  974. [Pcre]
    8 U! Z+ L( Z; o$ j2 K7 ^- {
  975. ;PCRE library backtracking limit.
    ' b. `* A" ?( P1 x
  976. ; http://php.net/pcre.backtrack-limit" T* ~1 c( n; _0 G
  977. ;pcre.backtrack_limit=100000
    1 Q8 T; m& W$ b, w. j  R" _; ?

  978. 8 r0 U  m$ A* o! x
  979. ;PCRE library recursion limit.
    3 }* O) q: ~' B
  980. ;Please note that if you set this value to a high number you may consume all8 Y# q4 S- A5 t* S+ j/ f; p( R
  981. ;the available process stack and eventually crash PHP (due to reaching the
    $ G! k9 {* `& a) Q. \1 J; a3 ^
  982. ;stack size limit imposed by the Operating System).+ v) b- [2 @3 p* }. V4 [
  983. ; http://php.net/pcre.recursion-limit
    ' X: c2 @' \* O! {: r) ^8 o
  984. ;pcre.recursion_limit=100000! _$ U5 B' R: v5 s

  985. # @$ U, B9 R% k' d0 Q. p/ m, C
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE( r3 h) j& w, ?/ d
  987. ;library to be compiled with JIT support.
    4 p% f: U3 {' F" t1 Q
  988. ;pcre.jit=1
    " v2 n2 b+ {! o$ J9 P
  989. + q) y6 `6 j6 |2 a, ]5 s" b7 k
  990. [Pdo]
    " a3 o! J# {1 k- R3 l4 ]6 d& k2 W/ F
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off") k$ T9 e9 i9 {1 n" `. l& I
  992. ; http://php.net/pdo-odbc.connection-pooling# V4 E* m+ Z, Z. Y2 E3 ^4 d5 Z
  993. ;pdo_odbc.connection_pooling=strict% n+ ]# ?! q/ z: \

  994. : ?) H5 a* l- k3 {7 d# O1 I
  995. ;pdo_odbc.db2_instance_name
    ! \4 l+ D' L/ e  ?/ v

  996. 4 Z1 D' a1 {. |2 w
  997. [Pdo_mysql]
    + n4 Z9 l1 a  Y% @  _
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    : I& ^$ G( f* [6 Z$ u1 U
  999. ; http://php.net/pdo_mysql.cache_size
    : ]) n) L2 R$ ^' D
  1000. pdo_mysql.cache_size = 20009 s& K" z. a7 H+ a7 q( S

  1001. ( x" C% y& G# a
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in& V" P1 Z2 t- U7 m- G/ d
  1003. ; MySQL defaults.$ h! ^& m/ v( d& [) a
  1004. ; http://php.net/pdo_mysql.default-socket+ N1 F, r4 @* ~/ F
  1005. pdo_mysql.default_socket=/ }, A, {  d3 J; v5 T& v+ a' T

  1006. : l+ `, Q% ?) z/ ?" d& a- W" Y6 ~
  1007. [Phar]
    ; d, Q) d& Q- x, R
  1008. ; http://php.net/phar.readonly2 g4 C( q" c( A4 f- A
  1009. ;phar.readonly = On) k& K. _' s" z

  1010. ; D$ v' c; m; T  X2 l! J
  1011. ; http://php.net/phar.require-hash
    : D7 Z7 K( t$ ~/ {+ R& L
  1012. ;phar.require_hash = On3 Y1 R2 v. B( `# A1 M
  1013. 4 F- B5 d5 a, _" ~3 d' g
  1014. ;phar.cache_list =
    ( r" s5 A' W$ |8 q9 Z2 i
  1015. * B- g2 N! V4 F, L: d
  1016. [mail function]
    5 U2 x% B4 [7 x1 E$ h) W
  1017. ; For Win32 only.! k1 p  N! |6 D! {- D+ U) f
  1018. ; http://php.net/smtp6 q0 q* g4 h% ?: K5 |0 c6 b) @/ s
  1019. SMTP = localhost
    # c/ e# x1 M& _. {" f7 x+ e2 r
  1020. ; http://php.net/smtp-port
    1 K/ _6 K2 O& \9 T* L" t
  1021. smtp_port = 25
    ; m) C- }) ^, {1 ^% T5 t) V2 C

  1022. 6 d9 h0 ^  e; b" L/ {9 V8 l
  1023. ; For Win32 only.
    ! m* \9 ~7 h  d& V: Q7 r
  1024. ; http://php.net/sendmail-from
    , \' {, Y: D3 [/ ]
  1025. ;sendmail_from = me@example.com
    1 {- R8 `/ ^7 d! n3 b

  1026. & h5 X$ p) @* {) Z- K. s" O
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    ( L* q/ M9 u3 K8 J, u) d
  1028. ; http://php.net/sendmail-path
    2 U2 a  S5 x/ J* c8 o; ]
  1029. sendmail_path = /usr/sbin/sendmail -t -i. I$ |  k3 ~4 P2 v
  1030. $ a/ e, \) n, [# e( H" n/ w
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    8 Z9 ]2 v* q8 a. _" O. a0 h
  1032. ; to the sendmail binary. These parameters will always replace the value of, G6 w9 p5 V& j
  1033. ; the 5th parameter to mail().) O+ a3 Y/ {, C3 a& L
  1034. ;mail.force_extra_parameters =
    7 _+ a" |6 X6 ?3 g

  1035. 8 A7 ]' a2 K& ^' [
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    ; d0 N. m8 l. z$ I% A7 Y7 N
  1037. mail.add_x_header = On
      R7 l* \8 ?# N; y) _7 K0 |. }

  1038. " Y- ~8 T  R2 n" z& M, K
  1039. ; The path to a log file that will log all mail() calls. Log entries include# ?8 c# A: Q5 {' D* i) J& o7 W; q
  1040. ; the full path of the script, line number, To address and headers.. U( x+ C) z/ H7 i+ H& L' c
  1041. ;mail.log =
    8 Y7 B4 M0 e( `! s7 O
  1042. ; Log mail to syslog (Event Log on Windows).
    + z6 @% m" L  r
  1043. ;mail.log = syslog2 q: }: z% h( i

  1044. * i1 h, T" d, `
  1045. [SQL]
    2 @  c+ l* f3 @8 b2 f6 J" A6 ?
  1046. ; http://php.net/sql.safe-mode- r$ r5 w- s$ W+ `4 b
  1047. sql.safe_mode = Off
    - s" X# S1 z: L: I$ @
  1048. % T6 J; v7 W5 a
  1049. [ODBC]
    6 ?" C# `' E' P
  1050. ; http://php.net/odbc.default-db# q4 X/ |% L8 i# x
  1051. ;odbc.default_db    =  Not yet implemented
    % y& Z% H: R" o6 d3 m# F5 `2 `- u

  1052. ' X$ s9 r5 {$ {, \* U( J  U
  1053. ; http://php.net/odbc.default-user
    3 i: l5 }: G* [- ~, a* J1 r
  1054. ;odbc.default_user  =  Not yet implemented/ \3 B8 v; W$ r. |; D

  1055. 4 k$ w3 ?8 ^. ^3 @4 J8 ^
  1056. ; http://php.net/odbc.default-pw% W2 x3 l% |, B7 r6 R& t' c
  1057. ;odbc.default_pw    =  Not yet implemented2 j; Q$ Y+ B  a' C* R2 Y% e

  1058. # v9 C; ?7 W0 N0 \( [
  1059. ; Controls the ODBC cursor model.
    ! L" _% \9 ^- f
  1060. ; Default: SQL_CURSOR_STATIC (default).3 S0 _7 t% T& _, h. q1 p& _
  1061. ;odbc.default_cursortype
    " f, L& g3 ?/ ]7 w. u

  1062. 8 _' L' m3 \5 C. S( F0 @
  1063. ; Allow or prevent persistent links.- d5 k5 {& x% q$ Y0 X( ]
  1064. ; http://php.net/odbc.allow-persistent$ T: M4 e6 E& C1 {! H
  1065. odbc.allow_persistent = On
    ; f# |: Z0 F2 i- W( }6 h  W

  1066. 9 {% R4 u% [  x
  1067. ; Check that a connection is still valid before reuse., @& g4 e3 g9 p, i! M
  1068. ; http://php.net/odbc.check-persistent
    / K' f* t0 T6 @3 l2 Y% x/ a, v
  1069. odbc.check_persistent = On
    * D% B' {7 s( r0 B" E2 o' ]

  1070. 0 x1 r+ _+ {  F* v3 G
  1071. ; Maximum number of persistent links.  -1 means no limit.' s+ L; l1 ?3 }3 @; R
  1072. ; http://php.net/odbc.max-persistent* X; S+ c% F: E! Y" B+ Q- f4 s
  1073. odbc.max_persistent = -1
    ) ~, z2 @4 N( I: ?- q  d& s+ m8 Y
  1074. 3 P0 M3 `! P$ }4 ^3 p$ ~8 E: X
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ; n2 G4 v4 r  F* T+ ]7 H
  1076. ; http://php.net/odbc.max-links
    & x: ]) s: r0 h
  1077. odbc.max_links = -1' e+ V. L. s% S( Q" C
  1078. : }' [7 M8 A4 {, l$ J
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means2 \# K7 y! v3 J; L* W' d
  1080. ; passthru.! E* J/ }& d# N8 Y
  1081. ; http://php.net/odbc.defaultlrl
    : E; Y: r& T8 s2 I, j
  1082. odbc.defaultlrl = 4096
    * c/ V  ]' \  q5 J

  1083. . ~9 X: Q7 u+ S
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    ' ^& B6 E% h" T. Q4 x! o
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation8 y6 b3 r6 c. D( s- ?
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    # a& j; \6 g6 d0 z) H0 E
  1087. ; http://php.net/odbc.defaultbinmode6 {% p! u1 F* x: }6 S
  1088. odbc.defaultbinmode = 1. l$ {& ?0 q1 Y% h+ P

  1089. : U2 \9 P+ u0 i( f! ^( N
  1090. ;birdstep.max_links = -18 ~/ d  `! D; }

  1091. , R. |, K( T! M4 ?- O4 m' Q# N2 D7 g
  1092. [Interbase]8 ?5 n9 F1 ~. d8 z, ?
  1093. ; Allow or prevent persistent links.3 ]# s# \/ C. y# a) B* @( T5 \
  1094. ibase.allow_persistent = 13 L5 t, H! j/ n. a
  1095. 4 Y4 J/ Q$ w# r" \& _$ _$ [
  1096. ; Maximum number of persistent links.  -1 means no limit.
    $ X, S" [& @6 |  b5 U
  1097. ibase.max_persistent = -1; {1 t/ o/ _8 V9 ?- e4 I
  1098. 9 z2 m: W8 Y, |7 g) \9 S3 |
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.6 l. V7 H; ^  t. `
  1100. ibase.max_links = -1* e* e2 s5 R( B) M- s: _

  1101. ' b7 U3 @1 j* Z" c# Q0 P
  1102. ; Default database name for ibase_connect().; Z( ]$ `% |( v
  1103. ;ibase.default_db =
    ; v# O8 t9 M, `6 Z

  1104. 9 S7 A5 \7 a* R$ R3 h. |* w! z
  1105. ; Default username for ibase_connect().$ \, I7 x6 H3 r4 C: n+ K, c
  1106. ;ibase.default_user =$ C& j9 @# x6 [3 z
  1107. * ?" {$ q& x1 a% g" p
  1108. ; Default password for ibase_connect().
    ' o2 p/ c% O. i' A& g
  1109. ;ibase.default_password =
    6 i, ~( A/ R: c$ e2 j

  1110. & S3 K0 c1 z/ h$ P. j3 }) n5 }
  1111. ; Default charset for ibase_connect().& q4 ]# ~  N& F- e, i
  1112. ;ibase.default_charset =
    0 ^4 v9 j3 \) a& j

  1113. 7 x! Y6 k0 a1 }2 a: ~7 r# M2 B
  1114. ; Default timestamp format.1 y7 B# m( `( [: s" m6 p# ?. x2 z* i
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    % M2 ?) \# h9 F) V: e

  1116. 4 ~+ E- J' v, w7 |; ~7 w, ~
  1117. ; Default date format.
    / ]7 I5 h7 c  y& X! A5 P% G
  1118. ibase.dateformat = "%Y-%m-%d"/ Y  _1 m3 Z2 K  I6 h

  1119. ) d, I8 ^: D3 P# o1 z
  1120. ; Default time format.
    % b% P+ p5 V! Q; h& a( Q
  1121. ibase.timeformat = "%H:%M:%S"
    5 B! C- N. J0 o* X

  1122. 1 @! ^9 p+ x; N% r  g; ~$ ]1 a: s: F5 N
  1123. [MySQLi], a' b9 ?  D2 \: u# a

  1124. 4 L- W, _) @. ?6 {  w0 c6 C9 `- F9 N
  1125. ; Maximum number of persistent links.  -1 means no limit.9 |! d8 `& r, d% @) z' K9 _
  1126. ; http://php.net/mysqli.max-persistent& P$ q2 U% s9 p6 G- N1 B
  1127. mysqli.max_persistent = -18 v. A7 ^. N( P1 n& Z% h: H& L

  1128. 3 R1 Y- v% V$ F$ ~! |# h& r+ }
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    # g  A) x6 F$ ?; F" o6 {
  1130. ; http://php.net/mysqli.allow_local_infile$ R4 t: N8 W7 G
  1131. ;mysqli.allow_local_infile = On
    . b+ t7 F; H  u* F9 }

  1132. ! D; M9 N" o" L+ t, N! U% H7 q
  1133. ; Allow or prevent persistent links.8 u8 ^7 U* X7 l2 }/ L/ a
  1134. ; http://php.net/mysqli.allow-persistent  |6 ~) s: r+ X
  1135. mysqli.allow_persistent = On/ F- K0 P1 M! D  }7 T
  1136. 9 @  q5 j& ~6 g) V7 K1 i! {
  1137. ; Maximum number of links.  -1 means no limit.
    : D% ]. ?4 L7 X5 W1 z
  1138. ; http://php.net/mysqli.max-links  b7 ^7 h! [5 v6 Z( \; }
  1139. mysqli.max_links = -1- k  U, D3 A/ \, l
  1140. 9 W' h) D  v& P1 n# s3 G9 F/ L: h6 w
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache( G9 Q( q2 E, s1 s' `0 \
  1142. ; http://php.net/mysqli.cache_size0 u/ l& V! l9 s  Z- ^5 x
  1143. mysqli.cache_size = 2000
    # S- V. M* S% b2 a

  1144. " f* w  r' U) z' Y- j" L
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use$ E5 V, M) ]$ B, Q! Q6 ~. e
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    1 b4 E, D# w( ~1 J* j* \+ X
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    - n; c  b$ _$ Q( ^6 A, s  @
  1148. ; at MYSQL_PORT.* J. b, ]2 }; N! x8 @
  1149. ; http://php.net/mysqli.default-port
    % u1 z/ I; w9 J" J- w% t
  1150. mysqli.default_port = 3306/ k! Q* p- [( P$ Y; Y
  1151. * o* }+ g% L- W  m9 \" u2 l
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    . ~- r0 I& f2 r2 U( B: y3 t
  1153. ; MySQL defaults.
    + N! c6 |& \* Y4 p3 {
  1154. ; http://php.net/mysqli.default-socket
    + {$ E3 |' I/ F5 o+ P
  1155. mysqli.default_socket =# N3 F; a6 e9 V2 m7 H  N. S: A

  1156. 3 E7 c& W+ k( M7 Y
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).% a  z1 H" ^6 O. I* K. |: m
  1158. ; http://php.net/mysqli.default-host
    ' `5 n7 l4 A, K2 i# G  N' U5 F
  1159. mysqli.default_host =
    & E- A# V- K: G& r/ Y: G

  1160. 3 i/ l/ m- A2 ^
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).- z4 V; p3 Z% i" S: c" F" g! V) t
  1162. ; http://php.net/mysqli.default-user+ U& V2 ^  J0 w- n& A
  1163. mysqli.default_user =
    4 R2 t+ ?3 M* ^; T2 z
  1164. 1 m8 U) m; z3 C: [
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    5 v# `& @7 g# d8 r
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    $ v& z- G" |0 K& q
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")) e7 z# H& C" a9 q
  1168. ; and reveal this password!  And of course, any users with read access to this. e5 H7 D, ^8 b, R% S  J
  1169. ; file will be able to reveal the password as well.
    ) `. k8 X7 m  l/ |
  1170. ; http://php.net/mysqli.default-pw
      r" U: |+ v% ]& e( b& J, ?
  1171. mysqli.default_pw =3 O: u0 }7 ?. [7 q5 l! q) D, T
  1172. " Z, M$ S! K* \& n- N  U7 J4 L& L. ~
  1173. ; Allow or prevent reconnect
    1 N% h/ n7 H7 p( A
  1174. mysqli.reconnect = Off# P! \' Q5 f2 {+ k$ s
  1175. ' {' ~0 b3 B1 f& v7 N* ?
  1176. [mysqlnd]% _7 l: i# z6 H& c2 ?. N, n
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    1 c" _7 q( p# v: Y! P0 H
  1178. ; used to tune and monitor MySQL operations.
    ! [& \& d2 D# H/ O3 b# {% S( Z
  1179. ; http://php.net/mysqlnd.collect_statistics4 @. B0 u* h4 c( }8 c
  1180. mysqlnd.collect_statistics = On* {8 G  Y) V/ V# M( j! t' }
  1181. + D1 A8 p0 `$ H) g
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be2 y+ f6 g0 c* y
  1183. ; used to tune and monitor MySQL operations.( p# i2 R7 N; f' C( v1 ?0 [
  1184. ; http://php.net/mysqlnd.collect_memory_statistics9 P0 }3 h, e& ]
  1185. mysqlnd.collect_memory_statistics = Off
    5 X; y3 e" D' L# }
  1186. ; @. L9 \: p: Z+ U4 D, z5 U
  1187. ; Records communication from all extensions using mysqlnd to the specified log* B6 W/ v/ G( f$ I$ N! q3 G' k
  1188. ; file.
    0 X: A1 k" f" p
  1189. ; http://php.net/mysqlnd.debug. q6 `; |' @7 f* N: U( O: @% `  z
  1190. ;mysqlnd.debug =- u9 m" Z) V* c2 R3 o
  1191. 4 F5 c' ?7 k7 ]5 T1 J# c: _& k9 Q
  1192. ; Defines which queries will be logged.  Y2 M, m4 B4 h8 [8 E; J, ^- r
  1193. ; http://php.net/mysqlnd.log_mask+ o1 z5 ?1 h) h$ n7 u0 l$ I6 V+ d
  1194. ;mysqlnd.log_mask = 0
    5 b6 [5 I# F7 d1 a
  1195. ( E: K) t" R) W1 [1 `- {
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    6 V( v* Q7 c) x5 G6 G
  1197. ; http://php.net/mysqlnd.mempool_default_size7 d4 w* ]0 P" O1 x3 k
  1198. ;mysqlnd.mempool_default_size = 160000 t; N7 N9 y: o5 P! j0 a
  1199. " F5 U9 k- o  X: `# a, R
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.) F  A7 r& f. q$ B9 j4 y
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size% ]$ y# }- W( x% ~/ V# J0 {
  1202. ;mysqlnd.net_cmd_buffer_size = 20486 ]& A, i5 Z% U

  1203. . ?% @& s: J& G4 i. c) L
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in" i8 G+ J3 U! b5 n' a
  1205. ; bytes.
    8 X0 ]7 v/ P) I( d- ~& }
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    - }. @+ Z# e' N6 k( M% M
  1207. ;mysqlnd.net_read_buffer_size = 32768
    3 u8 }; F6 y8 `% a# z: L9 b
  1208. 3 S9 ^) O) D- y9 G
  1209. ; Timeout for network requests in seconds.
    - w$ E* h7 A4 |
  1210. ; http://php.net/mysqlnd.net_read_timeout- |' ~9 s/ h* ?3 a; z8 r5 J
  1211. ;mysqlnd.net_read_timeout = 31536000) ?% \7 x  h2 t. Y5 U( }: M! L5 q
  1212. 8 v9 u% P5 l! Y5 p7 C2 q
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    7 _! ?! I: [& a1 a
  1214. ; key.. }. e& @# f/ a5 l" f* R' g
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    " s+ Y' R- G; w$ m  p" [3 r
  1216. ;mysqlnd.sha256_server_public_key =. P$ m4 e5 n: y4 W

  1217. 8 Y$ K+ f  g5 ?& `1 g9 _+ S
  1218. [OCI8]
    % X- }; o8 l' c% f/ Z# f* e) \
  1219. " Y. K; e- x. r3 E$ y6 C
  1220. ; Connection: Enables privileged connections using external! X9 ?4 J' _3 n
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA), o6 Q. Y" f; C* e+ a/ o) c
  1222. ; http://php.net/oci8.privileged-connect) G, l6 v7 p" ?- a
  1223. ;oci8.privileged_connect = Off
    - s$ L: ?: k7 {8 @8 n

  1224. 9 a0 T' `# c& z) ^6 a1 n! h1 l; E
  1225. ; Connection: The maximum number of persistent OCI8 connections per( o7 B- c+ f2 p2 o
  1226. ; process. Using -1 means no limit.! ?# f( n0 G0 W! S- ^
  1227. ; http://php.net/oci8.max-persistent
    9 b$ c2 b! j& P% Q8 M8 A0 U$ L' F
  1228. ;oci8.max_persistent = -12 e# H# h1 h6 {/ q1 ~
  1229. # w1 `1 Q$ j3 M- N, |8 p
  1230. ; Connection: The maximum number of seconds a process is allowed to$ n  g/ u, |/ |5 v
  1231. ; maintain an idle persistent connection. Using -1 means idle+ i% U( ^/ K5 g" A- |
  1232. ; persistent connections will be maintained forever.
    9 B9 O$ ?9 g4 H: D3 M- L) F9 f4 G
  1233. ; http://php.net/oci8.persistent-timeout2 u1 C4 e2 Z( n9 h4 t
  1234. ;oci8.persistent_timeout = -1/ `5 a& J- {; V3 p
  1235. ! w: [* R2 |+ y1 k- z
  1236. ; Connection: The number of seconds that must pass before issuing a
    + j# n% N/ ]. O, u! X
  1237. ; ping during oci_pconnect() to check the connection validity. When3 a. p9 e! z0 Z
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    / E' X- H' L$ B- {. l( T
  1239. ; pings completely.
    7 T: x3 N" d* H& r" K: B
  1240. ; http://php.net/oci8.ping-interval
    . S& w. l( z. ~0 q) n
  1241. ;oci8.ping_interval = 60
    + ]0 x9 u+ w0 r

  1242. 8 L% ~) L5 R9 n3 y! k3 C0 y8 l0 Q
  1243. ; Connection: Set this to a user chosen connection class to be used, p% L6 @, O8 U, ~$ w4 m4 g+ v
  1244. ; for all pooled server requests with Oracle 11g Database Resident1 E- Y9 e1 g3 F5 {
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to+ K8 F# r- o4 m3 j2 W/ s0 ]/ f
  1246. ; the same string for all web servers running the same application,: ^' o; @/ I5 ~0 J
  1247. ; the database pool must be configured, and the connection string must1 J- S( c+ N6 l
  1248. ; specify to use a pooled server.
    + g5 v) N$ {4 Q
  1249. ;oci8.connection_class =! p3 X: ^: U- v  D% A! U

  1250. / u9 y* m8 R, H; N
  1251. ; High Availability: Using On lets PHP receive Fast Application
    - A* ?- ?, }' ]( x& c* F
  1252. ; Notification (FAN) events generated when a database node fails. The9 N6 }& ]& P  R' h6 {
  1253. ; database must also be configured to post FAN events.
    / ~* S! |3 t! Y4 M8 @: A& Z
  1254. ;oci8.events = Off+ E. @9 h: ?% \+ v: |5 U' X
  1255. + ?) D3 Q0 R1 A7 l/ e" {3 x
  1256. ; Tuning: This option enables statement caching, and specifies how
    + s# |, X& c9 ?6 p% p" {
  1257. ; many statements to cache. Using 0 disables statement caching.
    : w7 z  v6 C" f; o. t  h4 y; |; @
  1258. ; http://php.net/oci8.statement-cache-size
    * M& j" P% C9 _) d/ o
  1259. ;oci8.statement_cache_size = 20
    , j+ Z/ I2 K9 i; J
  1260. . f* L7 ]# Y7 u! u
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    " P9 d3 q1 q8 Q6 @) Z
  1262. ; rows that will be fetched automatically after statement execution.8 s% F+ k. M6 V7 E4 ^: r
  1263. ; http://php.net/oci8.default-prefetch
    3 |" A+ }) e2 i
  1264. ;oci8.default_prefetch = 1006 i- d! i: K! n: p. X( A' d3 u

  1265. - X. ^: ~% ?5 p' A. Z
  1266. ; Compatibility. Using On means oci_close() will not close0 ^: e( P( R1 T0 i% X7 N
  1267. ; oci_connect() and oci_new_connect() connections.
    ' c( g" D7 y% R+ J/ x9 U2 T* A& e2 w
  1268. ; http://php.net/oci8.old-oci-close-semantics9 n$ u  O/ M# Q/ v) h! b
  1269. ;oci8.old_oci_close_semantics = Off
    8 F2 t: V+ k3 x% j" q. `
  1270. , B* E$ ]# v! z9 J( Y
  1271. [PostgreSQL]4 F/ Y, f& k, B( }, v
  1272. ; Allow or prevent persistent links.: G2 ~; K: h7 E& u# e
  1273. ; http://php.net/pgsql.allow-persistent: v9 g2 g- k# I3 O, V
  1274. pgsql.allow_persistent = On
    : \8 v  f- G% X  Q0 }
  1275. : r$ C& X6 \7 I- X% C$ ?
  1276. ; Detect broken persistent links always with pg_pconnect().( l; v- ]4 o1 W! T7 t0 x% J. Q
  1277. ; Auto reset feature requires a little overheads.
    : M7 B& Y5 L4 f+ V$ k" x- r# x
  1278. ; http://php.net/pgsql.auto-reset-persistent
      l. T0 m1 c* D' A, e* Q
  1279. pgsql.auto_reset_persistent = Off
    ! P2 U, O" v2 i, u
  1280. ; q  l9 b) B% {! j/ ?
  1281. ; Maximum number of persistent links.  -1 means no limit.
    , t- |: Z: S. E$ K: B9 T
  1282. ; http://php.net/pgsql.max-persistent
    $ ?* E0 v6 b; F6 @! |# ^5 ~0 }
  1283. pgsql.max_persistent = -1
    ) u, \0 {/ q) S  _
  1284. : |/ k% s$ h. H7 N
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.2 M0 f: L* z$ A. f  |1 [0 z' t+ R( i
  1286. ; http://php.net/pgsql.max-links
    5 k$ u) V( @! f/ P% F. T) J: K
  1287. pgsql.max_links = -1
    / S, U- S; _  k

  1288. : q; u  a) o/ [) v6 I) M1 i6 M
  1289. ; Ignore PostgreSQL backends Notice message or not.
    ; r. Z5 y, ~4 g  u  U2 Q% z
  1290. ; Notice message logging require a little overheads.
    , H2 ?& F# O( L, p
  1291. ; http://php.net/pgsql.ignore-notice3 v! i$ g/ S! P' B
  1292. pgsql.ignore_notice = 0
    / `* Q) E* n' [# B# @5 T

  1293. - h& l% n6 o9 `: \0 i; {+ v+ ]
  1294. ; Log PostgreSQL backends Notice message or not.
    ' V! U; a* Y+ i, Y/ F; m
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.# q+ h# _, j9 ?2 a1 @8 B% ^
  1296. ; http://php.net/pgsql.log-notice' x5 C. t0 \. E1 v. B  p" Y
  1297. pgsql.log_notice = 0
    8 ~' M/ P, M" E6 x. C+ C, M$ S; V
  1298. 8 v  ~3 w3 g7 K3 B; y
  1299. [bcmath]
    5 C+ y* ^) f- t( H1 W9 i
  1300. ; Number of decimal digits for all bcmath functions.% c  p+ [0 N$ E; U2 B
  1301. ; http://php.net/bcmath.scale4 s- @% }& g# h8 D. b0 j9 @9 N5 G
  1302. bcmath.scale = 07 D! ^9 U* f6 K! t9 ~/ T& ^

  1303. , U/ w8 X6 }+ V1 j$ }0 d" l: m! _$ Y
  1304. [browscap]
    $ G: B; m7 _' b' {4 ?8 O
  1305. ; http://php.net/browscap
    : ^: v# k6 Q! z
  1306. ;browscap = extra/browscap.ini& |- ~, Q/ ^5 U, c& R
  1307. ; K8 w9 W# ?" f9 I4 e0 F5 y
  1308. [Session]
    9 N: F0 v4 y- r
  1309. ; Handler used to store/retrieve data.
    - M# s' M  P6 V. |9 {9 n
  1310. ; http://php.net/session.save-handler
    ( r' {+ \2 ]( B2 Q9 b0 y. b; h
  1311. session.save_handler = files
    , c! k+ A/ ?  ?1 N) P" D: j( y
  1312. - V1 ?4 T4 w0 p- H2 C- u- K
  1313. ; Argument passed to save_handler.  In the case of files, this is the path$ D2 I" R: c; T+ @5 \" n- p
  1314. ; where data files are stored. Note: Windows users have to change this
    + a( z- _/ v" _1 k( X- V
  1315. ; variable in order to use PHP's session functions.
      z6 U4 O; _( ?  `: z0 R) z
  1316. ;
    ! R" I& v& U! W. E: ^6 b
  1317. ; The path can be defined as:
    9 F9 @# l% F8 {& N+ V
  1318. ;
    ; Z; X) b3 m) b/ u* z# f
  1319. ;     session.save_path = "N;/path"4 {8 j& [, u2 P# Y! l% A
  1320. ;& j2 B) c& s2 f! L4 F* P
  1321. ; where N is an integer.  Instead of storing all the session files in& w" A/ D, B) _2 z7 G* Q
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    * k2 g; B3 b' R2 o
  1323. ; store the session data in those directories.  This is useful if& q4 P/ f- {; h* M: _! c8 K, y
  1324. ; your OS has problems with many files in one directory, and is
    1 U) o, A" I* e: o- m
  1325. ; a more efficient layout for servers that handle many sessions.
    , ~# W2 [: _6 M  p6 P% y
  1326. ;
    7 M. j4 k+ g1 I1 q. `
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    3 s  {' i' ~4 W1 P5 {* Q7 W
  1328. ;         You can use the script in the ext/session dir for that purpose.
    8 I3 N/ u) }# T
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    4 a- |# o2 s. @! C
  1330. ;         use subdirectories for session storage
    7 y8 e+ F) a  @: _: q) p
  1331. ;* d7 s& o" B) N, U; o! H
  1332. ; The file storage module creates files using mode 600 by default.% n2 H  i$ [5 I0 ^# K  K
  1333. ; You can change that by using& i! w" F; I3 l5 x2 k4 l
  1334. ;
    # J/ x6 e. }$ A2 e' l. |
  1335. ;     session.save_path = "N;MODE;/path"
    1 l$ A( w/ P* v) \) m8 U
  1336. ;! O  O( G  L) B" ^& t+ J
  1337. ; where MODE is the octal representation of the mode. Note that this# P$ M  w5 C3 _7 e  x- w# A
  1338. ; does not overwrite the process's umask.' ~: b# j8 V) ~' I3 u
  1339. ; http://php.net/session.save-path" X. Z6 k  A! J$ T  W+ y% N
  1340. ;session.save_path = "/tmp"
    ) W3 J; y7 f+ g

  1341. 1 \* n: f8 _1 j3 S
  1342. ; Whether to use strict session mode.
    : w- i" \+ q7 ~; R, k2 B& h
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate6 a# l1 z9 b& u4 v' m0 f
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects1 S2 m' U! O( k3 y" K4 ?; r/ z
  1345. ; applications from session fixation via session adoption vulnerability. It is
    9 K& U1 X  I( c' n, Y; _4 y
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    9 j" V( b" p7 n- K
  1347. ; https://wiki.php.net/rfc/strict_sessions3 s2 Y* m5 ]  ]+ W3 l
  1348. session.use_strict_mode = 0
    5 ]$ H3 I9 t# _8 G$ U& O$ C# a  G
  1349.   |) |2 l; T% X- _2 |+ D- [
  1350. ; Whether to use cookies.
    7 h- J" M3 k) {! G9 V3 L
  1351. ; http://php.net/session.use-cookies
    6 Q! Z7 k: J* R) N, N
  1352. session.use_cookies = 1
    6 e6 R+ y6 |7 N- M
  1353. 7 V' H. {- h6 v; o6 @7 R+ ~
  1354. ; http://php.net/session.cookie-secure
    & _$ v9 _5 l: ]
  1355. ;session.cookie_secure =. f# W6 m( E. ]
  1356. 4 r' M' f6 b1 h
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    # N  w4 _9 `, ^9 V
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    ) E+ G. r$ H9 g* w2 D$ \2 Y" f
  1359. ; session hijacking when not specifying and managing your own session id. It is& ?6 n/ K4 P0 C; }( l1 d) N1 z9 c
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    4 @  [" \* G2 Q
  1361. ; http://php.net/session.use-only-cookies2 m/ }0 Q& O: s9 K6 g; a6 W
  1362. session.use_only_cookies = 1% t7 ^, l  ]( e

  1363. ( W8 i* B0 N1 T2 k, L. a
  1364. ; Name of the session (used as cookie name).* a- a# n) ^9 i$ S+ C
  1365. ; http://php.net/session.name5 x9 m# }& }" ~; ]& ^
  1366. session.name = PHPSESSID8 q/ y; N- g. i! Q
  1367.   |$ I' B! l) {% ?1 i3 D3 o
  1368. ; Initialize session on request startup.  h9 \4 U7 [( i- g
  1369. ; http://php.net/session.auto-start
    : T$ t4 Y! r5 Z% m) K5 {/ u& n
  1370. session.auto_start = 0
    ' B( G3 U" @% b8 J6 B( u

  1371. 8 D/ Q( q1 H, Y+ O
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.  I' i) [7 {: v
  1373. ; http://php.net/session.cookie-lifetime4 n2 {$ i# T! A  \& n! t: d
  1374. session.cookie_lifetime = 0* f. C6 j0 d9 l# a4 k

  1375. + H7 e; C$ j+ e$ J+ ^0 v
  1376. ; The path for which the cookie is valid.
    + B% O& p/ n: l$ h( `1 [+ a& s
  1377. ; http://php.net/session.cookie-path
    ' p! T; x' K( n7 _+ f1 j
  1378. session.cookie_path = /9 V* J  ~+ e/ U5 {) w/ `; h
  1379. 2 F& w" B) r5 O. L# F% {3 Z" k
  1380. ; The domain for which the cookie is valid.
    , V! n4 Y. q; Z4 H: v
  1381. ; http://php.net/session.cookie-domain$ F: u/ s, X$ s2 k0 i( N% F( }" `
  1382. session.cookie_domain =
    6 O& H0 U1 a+ f1 d' T& P. f
  1383. . I& w0 Q. x1 T8 o+ V& Q* M" }8 [
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    " k8 e0 y5 W0 K1 ?, [
  1385. ; http://php.net/session.cookie-httponly( K( O2 E/ m6 \; |) X5 i- a
  1386. session.cookie_httponly =+ ]5 k$ }' W: D% T
  1387. 2 C! i1 x  T8 _* `3 |+ V# V- y: M
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.& e' l" z- o) P
  1389. ; http://php.net/session.serialize-handler
    ) e8 X2 {/ C, g) S
  1390. session.serialize_handler = php2 z( `/ W, Q2 F: [4 Z

  1391. ) V! g. r, }  ^0 X# F; w/ E% R
  1392. ; Defines the probability that the 'garbage collection' process is started
    % C1 c0 I# h9 I8 _) o
  1393. ; on every session initialization. The probability is calculated by using# Q9 o+ `% G% V2 q5 V9 g$ m0 {7 f
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator" ^& y& R; p! ]: a* L1 ~
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    8 ]1 e5 x4 K. ^" ^, l
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance0 |7 U% m3 v. {5 k  G; V
  1397. ; the gc will run on any give request.
    1 B( l' S/ f* Z# ~5 T
  1398. ; Default Value: 1
    1 A5 F' V/ W* |& Z! Z
  1399. ; Development Value: 17 G/ W5 m0 @& |& D
  1400. ; Production Value: 1. T! F3 k7 t( u. `* O
  1401. ; http://php.net/session.gc-probability
    , r4 i: |: Z! T, v# G) T1 U( b
  1402. session.gc_probability = 1
    7 j, f  ~3 ^+ |8 E

  1403. 3 Z" G2 t- t) N
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    % |/ ?9 y4 n( ?) U) l) }, g4 \6 L
  1405. ; session initialization. The probability is calculated by using the following equation:1 D) _+ y# [7 n6 @' H9 Z
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and, N. s8 s' P' [; I1 P1 n8 l
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    % \( j8 D% s+ F- |+ _/ f# V6 n
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    . Z& c) h8 X* C7 n' l6 o8 D( U
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    $ a7 p* ^* M% p0 z
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,2 ]- L/ s2 c* R/ \
  1411. ; this is a more efficient approach.
    3 S$ {4 c$ ^& _
  1412. ; Default Value: 100! g4 W) ?) m2 y1 D) F! g
  1413. ; Development Value: 1000
    0 n* i5 g; k0 ?4 ^
  1414. ; Production Value: 1000* a7 V/ @& `3 g; q  m$ @
  1415. ; http://php.net/session.gc-divisor, p# |5 p: g1 I
  1416. session.gc_divisor = 1000
    6 a2 u" m( b# E3 o7 @3 b( j

  1417. 5 E; K2 d  s. f% W/ |6 r; H
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and3 @6 w. w& U. _1 x
  1419. ; cleaned up by the garbage collection process.
    . i/ m( r, e4 `$ Y  K( J
  1420. ; http://php.net/session.gc-maxlifetime) b2 h4 k6 Q( ^) P% k' \+ R! c& M
  1421. session.gc_maxlifetime = 1440
    # q& D3 a( v: Q& [2 i0 O
  1422. 6 z5 V1 e/ O2 R! R
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    ; u& G* L' h% z& b+ K
  1424. ;       (see session.save_path above), then garbage collection does *not*
    - p+ W8 ?* X, Q) A( b6 r. F
  1425. ;       happen automatically.  You will need to do your own garbage
    : g3 z: V4 `' g' u3 ?7 r  {/ w5 \4 `
  1426. ;       collection through a shell script, cron entry, or some other method.; S: [, j9 }$ |  ]& _; ~+ @
  1427. ;       For example, the following script would is the equivalent of: @* o9 e5 w9 ^; H) \+ f& j
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    . V; q1 ?, b( _! D
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    & H- g/ ]* }, h7 [5 ~1 ?6 |

  1430. 9 i: ?! W* @9 _" x/ ?7 T- x
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    , ]; E+ k) O6 `1 e$ Y! X
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    8 C3 M8 O' g* q; C9 ^- c
  1433. ; considered as valid.4 m8 O3 z! N( }) Y' R
  1434. ; http://php.net/session.referer-check
    4 O! T) b  L( Q- s
  1435. session.referer_check =
    - m+ @5 Z4 ?3 F  D% t( S

  1436.   a2 H. C3 H$ W( D2 c/ U4 B, i' a
  1437. ; How many bytes to read from the file.
    " n7 w( c$ n( g& h& _
  1438. ; http://php.net/session.entropy-length9 E2 O, F$ C$ B4 I
  1439. ;session.entropy_length = 32
    - p& g% w7 g3 {# ]% u

  1440. ' D; k# f; h  z
  1441. ; Specified here to create the session id.
    * q2 Q$ ~' I) c* Q
  1442. ; http://php.net/session.entropy-file
    * P3 K) w: k0 A% @6 j- [- \& G
  1443. ; Defaults to /dev/urandom8 y$ e+ _8 ~' n9 x) L% U
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom7 [: m) G; {$ }( o& |# r! e- _9 M
  1445. ; If neither are found at compile time, the default is no entropy file.
    ! a1 t0 L1 |* {) F- y' U
  1446. ; On windows, setting the entropy_length setting will activate the6 o( O( p$ K) a7 i& U
  1447. ; Windows random source (using the CryptoAPI)
    2 p# M/ [# `6 _! V  w( v
  1448. ;session.entropy_file = /dev/urandom
    9 b) X, ]& m! w# K0 m( C3 ^
  1449.   F' j6 E9 q7 O+ J0 }- ?
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects9 \) y( C) i2 W; v
  1451. ; or leave this empty to avoid sending anti-caching headers.! f& ?7 X: A1 ^- n
  1452. ; http://php.net/session.cache-limiter
    3 u1 \4 D* A) Y$ p
  1453. session.cache_limiter = nocache( d6 F( s: o$ N
  1454. " G' _2 R3 x& ?' [# u
  1455. ; Document expires after n minutes.
    : _: B) A" F5 y6 F
  1456. ; http://php.net/session.cache-expire/ f9 a- s) S6 A6 l* T. F. G5 g. S2 H
  1457. session.cache_expire = 180
    + y- X) ?( j" d

  1458. 9 l/ v4 B  `: f) |/ n$ d
  1459. ; trans sid support is disabled by default.
    , a; M4 p% v, g) m* h8 h3 g
  1460. ; Use of trans sid may risk your users' security.$ V$ O% q0 }, w8 l- e2 L6 C
  1461. ; Use this option with caution.6 ?: H0 w2 L4 K  \* u5 {: d
  1462. ; - User may send URL contains active session ID2 m2 q) I) e3 D( h
  1463. ;   to other person via. email/irc/etc.# a( j, n+ t/ \. T; s8 N6 _: U5 r" E* _
  1464. ; - URL that contains active session ID may be stored' ^& g$ s6 _* l: k
  1465. ;   in publicly accessible computer.
    2 @1 d4 X! I0 a- p3 I8 R) f
  1466. ; - User may access your site with the same session ID
    - }  s% N+ v+ Y# `: M
  1467. ;   always using URL stored in browser's history or bookmarks./ z* a/ R& P8 _' O+ ~
  1468. ; http://php.net/session.use-trans-sid
    ' }( C2 A% N5 S) r$ T5 J
  1469. session.use_trans_sid = 08 t1 ]! m8 C# V/ r

  1470. , _& c, x3 I" t- H1 U
  1471. ; Select a hash function for use in generating session ids.$ M: C, w; W+ a( D. r2 m: w
  1472. ; Possible Values
    8 M- \3 R3 r; s' p4 y
  1473. ;   0  (MD5 128 bits)9 a: k! b" ?0 x8 ?0 C& I/ u) T
  1474. ;   1  (SHA-1 160 bits)
    ' r4 I. A9 [. {3 S% J* L  @8 I
  1475. ; This option may also be set to the name of any hash function supported by
    . _( D$ O) R8 I1 S
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()2 a- N; C) z6 c3 E( s. t* T" Q9 N& Y
  1477. ; function.) k0 Y/ M/ {# O8 O9 J  s' ^
  1478. ; http://php.net/session.hash-function1 s0 l- Q3 l9 I+ l
  1479. session.hash_function = 0
      C" x8 Y" k: M! L3 X
  1480. ) ?; U$ K! N  }; n  C+ J
  1481. ; Define how many bits are stored in each character when converting! m  B- T9 G. v5 `
  1482. ; the binary hash data to something readable.. d# [4 G% c8 g0 Y
  1483. ; Possible values:: ?2 H* i2 I  J. I. ]' a# \
  1484. ;   4  (4 bits: 0-9, a-f)
    % l0 x; `( f' N/ S
  1485. ;   5  (5 bits: 0-9, a-v)
    3 i3 i4 T- V5 u# ~- y
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    1 N6 s7 C8 I5 Q/ Z8 _
  1487. ; Default Value: 4* n' f3 N# A8 j9 w! ^5 i: E
  1488. ; Development Value: 5
    7 n; d; |# `- z$ x- c9 B: C
  1489. ; Production Value: 59 v' K4 `8 _1 D8 I/ |2 @! t
  1490. ; http://php.net/session.hash-bits-per-character
    ) U+ J; ~$ l9 k4 Q8 }
  1491. session.hash_bits_per_character = 5
    & c; c3 a* s$ Q. R3 K

  1492. * p% ^/ X  X) s; ~' q
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    4 \. i1 j% J& S* S6 b- |
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    " h* t' y9 \" C5 b& j# f, ?* `, o1 _" F
  1495. ; add a hidden <input> field with the info which is otherwise appended
    ( u4 S& k6 h- \
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.& o5 `6 `/ c( i4 |% S
  1497. ; Note that all valid entries require a "=", even if no value follows.
    . f) t  g# ]6 h* j) K
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="% `0 F2 ^8 Q6 M# f  f+ f; d
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    7 _) @  {3 v0 ?4 f' n' g
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    9 @- z4 y& D6 A: U# D5 K+ {( b
  1501. ; http://php.net/url-rewriter.tags
      ~7 X: I8 \8 j4 M. Z! W! m! d
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"+ z5 |6 Y7 M; |. p

  1503. 0 D9 r' \6 x" I* o
  1504. ; Enable upload progress tracking in $_SESSION
    ) P4 w0 b' G% z+ a! ~( c
  1505. ; Default Value: On
    . r0 m2 q$ |: a6 `! B% V# J* r
  1506. ; Development Value: On
    . v' Q$ Z& O, [- w" }, s+ s5 J4 I
  1507. ; Production Value: On  g5 K) ?. ?* W7 B4 P2 r. M
  1508. ; http://php.net/session.upload-progress.enabled
      k! S; R! g- ^8 I
  1509. ;session.upload_progress.enabled = On
    3 w" T$ r  [) G% G/ D$ t

  1510. * d. _2 w, |+ c1 W6 O9 ?' E- m
  1511. ; Cleanup the progress information as soon as all POST data has been read7 X  F6 x4 B! ?1 o
  1512. ; (i.e. upload completed).  ?' q1 T  f$ x# y1 L" f9 c
  1513. ; Default Value: On
    / `9 y+ W4 ]: a1 n( m
  1514. ; Development Value: On! x$ J3 N5 N! C8 a* u1 v7 N
  1515. ; Production Value: On
    8 N/ U- U$ ^) D
  1516. ; http://php.net/session.upload-progress.cleanup& H- B; y7 n5 e; L; I6 m" V! J
  1517. ;session.upload_progress.cleanup = On& y7 L) m3 c. B

  1518. * H% A/ J2 i5 T& c  y
  1519. ; A prefix used for the upload progress key in $_SESSION
    - X5 N" x* t8 W' d
  1520. ; Default Value: "upload_progress_"
    * J8 g! {1 D. F4 C
  1521. ; Development Value: "upload_progress_"' ]: b& x" x$ t; n* u' O; I
  1522. ; Production Value: "upload_progress_"1 t$ I  E6 M6 R8 v
  1523. ; http://php.net/session.upload-progress.prefix
    , c3 V( [! p+ v" c; V. ^& w' O
  1524. ;session.upload_progress.prefix = "upload_progress_"
    ' i% k3 O; f5 l3 G
  1525. 0 P* t' ?+ X0 T& }  \. M
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    ' P. l% `2 X/ Y. k
  1527. ; containing the upload progress information
    ! _' r/ b& A. T, D+ ~. i/ z: y
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"6 F% N) Y7 m+ e  [
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ; M0 a' B5 S7 k: {) E
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    : e; S! z* ]3 J2 j; ?, T" z" V- ]
  1531. ; http://php.net/session.upload-progress.name! E6 [6 G2 {. _) k# f& a7 u
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    9 l0 D2 Y) e9 u# K* \3 Q1 d
  1533. + ^+ E6 ^' P6 f/ _: J7 Y8 n" h6 {
  1534. ; How frequently the upload progress should be updated.
    . z0 q6 S2 j$ Q; z
  1535. ; Given either in percentages (per-file), or in bytes* b$ U, D+ n& c. v" J: j. u8 E: T
  1536. ; Default Value: "1%"
    * p. ]  `4 Q. b
  1537. ; Development Value: "1%". A5 p* }4 H5 A, S) F, D
  1538. ; Production Value: "1%"( V/ _/ [& `6 `6 P- w# q- }; M
  1539. ; http://php.net/session.upload-progress.freq
    ; R0 f# m9 H% m# M$ c) [. X
  1540. ;session.upload_progress.freq =  "1%"6 D! j, G" P2 |' n. T
  1541. 4 O! k: L, ~2 O0 {3 Y8 m+ x7 Y
  1542. ; The minimum delay between updates, in seconds
    ' T5 ]4 J7 G# E- f0 g# |8 {
  1543. ; Default Value: 1& K8 k# y$ T( B2 M: F% K
  1544. ; Development Value: 1" k, y$ P$ ^+ N3 i% E
  1545. ; Production Value: 1
    # ~$ {" F( `6 A: p, l4 v
  1546. ; http://php.net/session.upload-progress.min-freq6 M0 V0 c- f) {0 a% I8 A& P1 Q
  1547. ;session.upload_progress.min_freq = "1"0 e' l: t( W' F- l

  1548. 3 m; b0 I4 b+ c5 s+ c
  1549. ; Only write session data when session data is changed. Enabled by default." ?2 u3 V& s0 l2 w, O" n. _
  1550. ; http://php.net/session.lazy-write
    8 J4 R, H- J% J, L  s! r
  1551. ;session.lazy_write = On3 G& L1 e+ L3 b
  1552. ' }# s2 I  @& N. X( Y
  1553. [Assertion]
    6 z6 H/ O2 T1 P% e  v) g* r* F
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)! d, S& k- E0 H+ H" D8 j
  1555. ; -1: Do not compile at all
    5 b  l9 _. d0 W& ?0 g+ i
  1556. ;  0: Jump over assertion at run-time
    3 T0 b) V- i' y/ T
  1557. ;  1: Execute assertions1 o6 G2 c- M) V$ T4 O% M" s3 b
  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). V% L0 b. [& d
  1559. ; Default Value: 10 A5 O& X( G+ a
  1560. ; Development Value: 1! l1 e& B5 U/ Y" T9 }* `
  1561. ; Production Value: -19 T9 ^$ n3 y9 r
  1562. ; http://php.net/zend.assertions1 W6 P9 s0 A. {- h# e
  1563. zend.assertions = -1) `' d& ~8 t" b: ?8 s

  1564. ) W+ F- O6 ^- p0 N7 K
  1565. ; Assert(expr); active by default.
    : k+ y+ N% g0 W9 M3 }2 Q( ]( x
  1566. ; http://php.net/assert.active
    7 Q; ]# g, Z+ U" N
  1567. ;assert.active = On
    % x$ T9 F, S6 O5 R! V2 ~) w

  1568. : W0 U4 H' H- l: |- i
  1569. ; Throw an AssertationException on failed assertions
    # F9 H' ~) ]: D+ o, t- l
  1570. ; http://php.net/assert.exception
    # o' C9 G( q/ x6 ^2 g
  1571. ;assert.exception = On
    ! D! ~3 t9 S1 `: J& H

  1572. & `6 H" q& r. n! C) B7 `& l
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)1 C% c/ @, k, J2 ?% ]
  1574. ; http://php.net/assert.warning- t* H. p4 E$ G7 A( X* T
  1575. ;assert.warning = On# g% T' |9 c4 m* |4 X3 J

  1576. 0 f% t" L& I/ R3 S& j
  1577. ; Don't bail out by default.
    8 @2 e; p8 F, W- @6 ^: \6 ]" P
  1578. ; http://php.net/assert.bail( V, {( I; l8 j6 j/ g: t6 p. n
  1579. ;assert.bail = Off
    , t) U# D$ N! {. y4 E
  1580. 4 \" T7 {: P4 e( R/ C
  1581. ; User-function to be called if an assertion fails.
    3 a% L8 H7 o9 A8 z2 \9 I: u% C- P
  1582. ; http://php.net/assert.callback
    $ z6 d; U% J  g0 A
  1583. ;assert.callback = 0
      `9 D4 D- z9 Y- ~1 I9 N
  1584. 6 E  q% Q6 h& |& ^: [; g
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    + L' x# K9 k& S& a2 y  d
  1586. ; error_reporting(0) around the eval().
    ( r4 F1 _2 D# p) ~+ T7 |
  1587. ; http://php.net/assert.quiet-eval  p8 H9 o6 u/ ~7 J% ~8 X8 w* S
  1588. ;assert.quiet_eval = 0
    ( C. k4 Q1 H" G: e# W
  1589. , }. l( |- F4 \; k# c9 k# K/ |
  1590. [COM]
    , b: R: F5 _4 j$ M, @
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    ' h' b: g9 `& T3 |" m1 h) P+ E
  1592. ; http://php.net/com.typelib-file
    0 u  @; w$ O% ^# n" l, t" V1 O, ~7 ]
  1593. ;com.typelib_file =
    ( [' I* J: m& {' ~
  1594. ( Z/ m! a. o9 u& g* Z: b6 I6 d; }
  1595. ; allow Distributed-COM calls/ {7 ^5 I( J& F$ N/ _
  1596. ; http://php.net/com.allow-dcom) v( t: _. L2 p: Z+ s
  1597. ;com.allow_dcom = true  b$ l8 ?* V+ V3 d. P
  1598.   J2 }6 M3 m; H0 F* K; J) y, ?
  1599. ; autoregister constants of a components typlib on com_load()+ I5 M) C/ y1 `* I: y  j& @* z
  1600. ; http://php.net/com.autoregister-typelib
    * \% e7 t; s: Y/ C) x/ ?) D
  1601. ;com.autoregister_typelib = true
    5 M) d& ?1 ~+ b9 E7 a# x% N# t
  1602. % D. p4 \' s) {9 M' ^
  1603. ; register constants casesensitive2 D8 ~4 n0 _- T3 f2 b0 C( r; t
  1604. ; http://php.net/com.autoregister-casesensitive
      R* }7 U% e: H) Z& a- u
  1605. ;com.autoregister_casesensitive = false. r# j1 |  v1 e0 ?

  1606. 3 E; {# B' `4 d( s# l
  1607. ; show warnings on duplicate constant registrations
    6 _4 u8 V$ D. ?4 w0 w# l/ h1 K
  1608. ; http://php.net/com.autoregister-verbose
    8 W; w% J# w# h
  1609. ;com.autoregister_verbose = true  r6 C9 C0 k# P5 ^
  1610. 4 M0 W% W1 j8 M
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    ) p% e4 u4 v  F) ]1 g' k
  1612. ; Default: system ANSI code page
    5 M  a! ?1 v# p  c, h! W' z
  1613. ;com.code_page=* `+ l) \0 Q% L% [. D
  1614. ' M* q" N- _; x! \
  1615. [mbstring]
    5 P0 F7 r; A5 e+ h# q
  1616. ; language for internal character representation.
    % l+ V& d# @- ?- c+ H1 \3 X
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
      X7 k- ~9 r" C2 k: b1 W
  1618. ; http://php.net/mbstring.language
    ' n# z: i4 i3 O8 e+ s
  1619. ;mbstring.language = Japanese
    ) s, s3 E2 Q9 B; P4 f

  1620. 6 Y# G9 g6 n$ {" X+ n
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    3 u+ l5 c3 W4 r4 G0 ^% @
  1622. ; internal/script encoding./ j: B* M5 A: u/ d9 t
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)# F; I* Z# K8 U
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.6 p' ], G* ]( U2 w3 g- Q* p; i
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    ' `3 N' V! g, g0 t/ R. r
  1626. ;mbstring.internal_encoding =8 e3 F3 S. d* l' Q( {  x

  1627. - v( j5 d* ~3 }' ~4 U+ ^0 G" @
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    1 U, s( f+ k+ q% d  W
  1629. ; http input encoding.8 D5 n3 V* e1 F3 R, q7 M
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    & Z& J/ {0 l( _( U" |) H% a+ f
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    ! c$ T3 l; ]" U- I1 n( ]
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input4 U1 n8 `) n0 G' b
  1633. ; http://php.net/mbstring.http-input! n+ a$ X9 w0 H, \3 |" H5 E/ F. g
  1634. ;mbstring.http_input =' }- [$ e  P1 Y& N# n) m9 G
  1635. ) z  F. }1 k  y) H" A# L  @1 w+ Q
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    : g# ~/ p9 Z! X2 U$ m% `
  1637. ; http output encoding.2 ~7 N# [7 `0 r, |
  1638. ; mb_output_handler must be registered as output buffer to function.% x% i; n) j1 `- P8 l) Z) j. u
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.: K# v. B! p2 ?6 I3 o( r
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output+ n# b& K9 j  C
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    ) V+ M* @* F. d) n
  1642. ; otherwise output encoding conversion cannot be performed.
    - n$ z/ f6 C; @8 |
  1643. ; http://php.net/mbstring.http-output+ W4 D8 L0 A$ N  s9 @
  1644. ;mbstring.http_output =
    & n; D0 Q. V& }/ V! s

  1645. ! T5 s- f4 o8 M! ^( N
  1646. ; enable automatic encoding translation according to# ~$ f* @6 t7 Z2 @6 s! J
  1647. ; mbstring.internal_encoding setting. Input chars are7 N& i$ R7 g9 i+ U
  1648. ; converted to internal encoding by setting this to On.
      b) J3 R' j& ~1 T& J# A2 ^
  1649. ; Note: Do _not_ use automatic encoding translation for
    + F7 P, i- }8 N6 U
  1650. ;       portable libs/applications.! O: `) ~. i$ N7 t
  1651. ; http://php.net/mbstring.encoding-translation) v% `# c% T# p, F, G6 H6 K6 O/ j
  1652. ;mbstring.encoding_translation = Off% L% h4 M4 ?( D3 X; t

  1653. % f0 b& p1 c, k  q1 I* j: L
  1654. ; automatic encoding detection order.
    ) P  Z4 x. b% X! N! ]4 }/ f( N
  1655. ; "auto" detect order is changed according to mbstring.language9 \9 i, C4 p) h5 ?8 ?
  1656. ; http://php.net/mbstring.detect-order
    6 ^* P( q( v* F* m' h5 |* F
  1657. ;mbstring.detect_order = auto
    8 Y, G2 }9 K# e3 Y

  1658. # p/ w8 q7 t6 J
  1659. ; substitute_character used when character cannot be converted
    , n* l4 P6 V- Q7 t0 D5 U/ ~
  1660. ; one from another0 \& G3 O" f1 `( j
  1661. ; http://php.net/mbstring.substitute-character0 A7 v( |- n) \$ s3 m8 A
  1662. ;mbstring.substitute_character = none
    $ f8 P/ D2 `3 W& u
  1663. $ O7 V/ o0 j9 ?$ d* I8 z* h
  1664. ; overload(replace) single byte functions by mbstring functions.0 W% A5 J% h" X* g, w7 u" t
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    8 ], U$ u- z# ~! R) N) F
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.1 |3 D( T* u! i
  1667. ; For example, 7 for overload everything.4 `! I: b, U  s3 p3 h2 U
  1668. ; 0: No overload
    2 Z7 D1 @: _' V: f
  1669. ; 1: Overload mail() function0 E3 H9 O3 \) {% k  V% I
  1670. ; 2: Overload str*() functions
    7 P, B5 X% S# Z6 T, B
  1671. ; 4: Overload ereg*() functions
    # q  b! V( d1 y1 i( @: O
  1672. ; http://php.net/mbstring.func-overload, c* p- C% y: M$ ?
  1673. ;mbstring.func_overload = 00 U3 f/ N1 i: ^$ X3 Q8 b7 }

  1674. 8 O8 _2 {+ {5 c6 ?7 M5 F6 j( }* I
  1675. ; enable strict encoding detection.8 k$ S5 [. y0 ?9 D7 j' l4 B" j
  1676. ; Default: Off# [$ v  y0 B% V! |
  1677. ;mbstring.strict_detection = On
    + m' `6 f5 J. x3 W. C& Z

  1678. % F/ u5 L& _# M. j4 }: ?) T+ D1 C
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    ! ^& U/ X. K. s, s# T3 n
  1680. ; is activated.$ n6 ?! p6 d- S  ~
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)0 {- L# q0 r% Z  F' {$ c, \
  1682. ;mbstring.http_output_conv_mimetype=
    5 @3 a4 m3 h  A/ k$ o
  1683. # h. K5 i6 b/ j, W: g. x
  1684. [gd]
    & Q5 N+ C9 G8 I7 R; R" ]
  1685. ; Tell the jpeg decode to ignore warnings and try to create; b4 P5 A/ V8 Q
  1686. ; a gd image. The warning will then be displayed as notices
    : M6 S) y/ X  Q" N
  1687. ; disabled by default
    ; ]1 n% l$ }* W* J& ?4 \6 _, {
  1688. ; http://php.net/gd.jpeg-ignore-warning
    + D2 |' h$ F! H/ Y% D# O5 C  s
  1689. ;gd.jpeg_ignore_warning = 0* z; E8 S  q' K( i& E  `
  1690. ; S6 {7 e9 k3 |, a* h9 [3 ?
  1691. [exif]1 v. `( ?+ W. m  t$ e7 H* g( C
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.2 A- F8 Z( W: X% K; w% Y
  1693. ; With mbstring support this will automatically be converted into the encoding
    : J( E8 Y+ j! E  ?0 s! p" m
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    1 [. ?  ~2 O* M2 A
  1695. ; is used. For the decode settings you can distinguish between motorola and
    / S2 R! S  S, `2 m; [( J  p
  1696. ; intel byte order. A decode setting cannot be empty.9 @9 ?' h8 D; z# y7 H
  1697. ; http://php.net/exif.encode-unicode
      }  x' y8 G1 N/ _8 b7 B- z: V
  1698. ;exif.encode_unicode = ISO-8859-15
    8 O! L: h% N1 a% V
  1699. , P% C: e$ g- P" ~; X  J  `* i- P
  1700. ; http://php.net/exif.decode-unicode-motorola" q' ~& A& J* n  Y4 G, `$ g
  1701. ;exif.decode_unicode_motorola = UCS-2BE* Q) M9 U1 p  U0 R- g# R5 R& j+ e
  1702. - E( }7 x4 w! t; b& G
  1703. ; http://php.net/exif.decode-unicode-intel
    # I! c; {: F3 \- P0 ]: |- W! Z
  1704. ;exif.decode_unicode_intel    = UCS-2LE# {  K. \, z5 B5 e- d# y
  1705. & D2 k6 r% E8 Z8 C) [
  1706. ; http://php.net/exif.encode-jis" _0 b3 A8 ^9 h! i3 i6 w0 X
  1707. ;exif.encode_jis =8 h5 Z! H' j2 X2 w( c) Y* d" z8 D
  1708. ( Y9 [4 ]7 g" O
  1709. ; http://php.net/exif.decode-jis-motorola( T' M( e2 W" O' c; H' l$ g
  1710. ;exif.decode_jis_motorola = JIS& \% l$ o# }( j

  1711. 9 i/ N9 T+ u, A8 F1 l
  1712. ; http://php.net/exif.decode-jis-intel% x# N1 V: t+ g1 c: `( F- `
  1713. ;exif.decode_jis_intel    = JIS# _3 X, c; D! H, r- @
  1714. : K. O3 X  X! u0 b8 W1 z
  1715. [Tidy]
    . _, G% R! B" H) j
  1716. ; The path to a default tidy configuration file to use when using tidy
    9 j5 h/ x4 k: m8 s! z- d6 V0 i+ Z
  1717. ; http://php.net/tidy.default-config
    5 j$ y1 _+ q) N0 o& x
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg; @/ x+ {  Q6 c: E

  1719. 3 i. S) N; y$ G, v- J
  1720. ; Should tidy clean and repair output automatically?
    $ [- _; U1 j5 J1 L7 P
  1721. ; WARNING: Do not use this option if you are generating non-html content
    5 K2 g( _4 K" A6 p& G
  1722. ; such as dynamic images
    8 h. D, P3 [) }7 |" s: M- I& e
  1723. ; http://php.net/tidy.clean-output
    & G- B! p" |. T+ [2 s
  1724. tidy.clean_output = Off/ q5 L' b# A, A0 t. k' N
  1725. ; m2 ~+ i9 ~: c$ P( y1 Y# s8 P5 }
  1726. [soap]; [3 f- J2 C4 P8 _
  1727. ; Enables or disables WSDL caching feature.$ O7 c) A: u. O' e; U% d+ j9 y
  1728. ; http://php.net/soap.wsdl-cache-enabled0 o, f! H* i2 R5 V6 z
  1729. soap.wsdl_cache_enabled=1
    1 r" w$ @; t( d" H; j0 x, |/ P! `
  1730. % y; A9 a: q. I* y0 J! W
  1731. ; Sets the directory name where SOAP extension will put cache files.
    . H) M6 g, g. `$ K* k
  1732. ; http://php.net/soap.wsdl-cache-dir# j% M. S5 ^; s8 _! c& P9 z
  1733. soap.wsdl_cache_dir="/tmp"
    2 Z3 s$ Q. Z1 y0 Z
  1734. ' F+ J. A7 W% _  E  j1 q
  1735. ; (time to live) Sets the number of second while cached file will be used
    6 z, s: {, A4 X/ s
  1736. ; instead of original one.: z- ]6 s- r0 v$ ?1 j. Z
  1737. ; http://php.net/soap.wsdl-cache-ttl
    ! O' |( j. ^4 }
  1738. soap.wsdl_cache_ttl=86400# [: E  b, K( j& U' e& t- ]8 w' R

  1739. ( i6 S4 ~& a& l: M4 u
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache). ?: H1 w* A  s- X6 w& i* M
  1741. soap.wsdl_cache_limit = 5
    9 R7 y; d* r5 Q8 ]; _7 s

  1742. + \% \( I$ A5 ?( F: V& g1 @# j
  1743. [sysvshm]
    ; w, q, I/ u; Z9 P& |5 A
  1744. ; A default size of the shared memory segment
    ( c0 j, x3 m' G! {  D) D
  1745. ;sysvshm.init_mem = 10000
    ) B. h* E* U/ U8 k; P
  1746. % l0 |' p  ~7 }: G1 E& g; ?
  1747. [ldap]
    / s! |5 F) m+ P0 N! k
  1748. ; Sets the maximum number of open links or -1 for unlimited.9 T! C$ _# O, [1 Z9 N+ Q& Z* ~
  1749. ldap.max_links = -17 R! ~  @* T' @+ t9 g& C# R$ {4 p' B

  1750. 9 s+ B3 `; ^, z, R
  1751. [mcrypt]& ~- [7 u+ c5 b3 F4 w
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    ; @  i5 R4 O! D
  1753. * y% z3 ~; n" E) q
  1754. ; Directory where to load mcrypt algorithms! T1 E4 E1 v/ v4 D9 s
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    / p/ X7 W" }' E
  1756. ;mcrypt.algorithms_dir=
    : t5 t0 Y) M. R( ]& d4 c. R- g

  1757. 5 h5 m& ?, ^$ I" [. B! |
  1758. ; Directory where to load mcrypt modes
    * i) f$ p& ^. U3 T. G& X6 W/ e1 j
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
      D( b$ @1 K. h9 J
  1760. ;mcrypt.modes_dir=. [1 E& l) N2 r8 F# j
  1761. - [" o- V; C- A: D
  1762. [dba]
    7 p1 @3 g( a. l" ^
  1763. ;dba.default_handler=2 M1 Z- p7 i9 J6 n
  1764. ' q/ L& X7 T( B3 s
  1765. [opcache]
    0 p! |; \2 a4 I, N
  1766. ; Determines if Zend OPCache is enabled3 W2 W: w5 B5 c$ H' j$ {
  1767. ;opcache.enable=03 G0 e7 o: l1 g: p, i

  1768. . e+ H* V" F3 K9 G" h$ f
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    % q6 _# ]' B' L: b) w0 z: M
  1770. ;opcache.enable_cli=0
    4 p4 G* q' N9 K0 c! C
  1771. 0 X9 ^8 s; i  l% D3 I# w- F5 E
  1772. ; The OPcache shared memory storage size.
    + c, J1 V, s) _
  1773. ;opcache.memory_consumption=64( [; m- [3 y5 t: e: A" _* N

  1774. 9 ~# ^; S) ?' M# {# E$ w9 g# z
  1775. ; The amount of memory for interned strings in Mbytes.
    * U, S0 ?2 o: z* m, n, m" `4 h
  1776. ;opcache.interned_strings_buffer=49 _: x2 Z8 l" H: R: l3 x" L" \" g

  1777. ) L5 k5 v6 V) j* d2 Q( c
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
      N& A" X) v+ z6 ]" E+ y
  1779. ; Only numbers between 200 and 1000000 are allowed.
    2 S' l& N& O  f' A) g7 l1 I) P
  1780. ;opcache.max_accelerated_files=20008 n4 k+ o1 U& C' ^
  1781. : \3 m( D/ b( A
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    # T9 B  Z" y# ~* d( O0 y, P
  1783. ;opcache.max_wasted_percentage=5; G# ]7 v* L; e# t+ Z" y, J/ Y
  1784. 1 W0 E. K) \, C1 V5 ]* q( n
  1785. ; When this directive is enabled, the OPcache appends the current working6 b8 Y+ ]4 V2 Y
  1786. ; directory to the script key, thus eliminating possible collisions between+ j% R( D$ Z; {  E( `. D
  1787. ; files with the same name (basename). Disabling the directive improves; `* R$ C0 [8 W) p! H! _* X& K
  1788. ; performance, but may break existing applications.7 a2 u' C: |1 \3 c- r- j3 F
  1789. ;opcache.use_cwd=1* G+ t2 Z4 n& u2 h0 t( g

  1790. 6 n: k* d! v* {* G% F! ~% x* Q9 Q
  1791. ; When disabled, you must reset the OPcache manually or restart the: t7 H& J2 k* e
  1792. ; webserver for changes to the filesystem to take effect.
    , _: W0 _" g2 h- m% V- w  c2 N
  1793. ;opcache.validate_timestamps=1& O/ |( N% c+ }# }# c. s

  1794. 4 I8 T8 @4 S% s% U+ a' H
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    " C; |6 `  n* [, f9 I
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    + J) y2 l# F9 t
  1797. ; once per request. "0" means always validate)7 ?# h$ e9 Z. Z6 v" x. i2 q7 }/ [/ X" [
  1798. ;opcache.revalidate_freq=2
    ) w+ {2 E7 z6 w, X+ y) m' _
  1799. 7 Z/ w: @, \. ~( n' _! E
  1800. ; Enables or disables file search in include_path optimization9 h; o; R" J3 ~# l
  1801. ;opcache.revalidate_path=0
    % L, Z: N7 a8 x% k
  1802. * i7 A0 D( d; w) C5 w& \% H3 s6 r
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the! `4 W1 T# z" h/ O  O
  1804. ; size of the optimized code.) K! n- x. g# l3 s
  1805. ;opcache.save_comments=1  U6 }4 B: u/ [' O
  1806. ' @8 p* t; Q& e. N+ v3 p" K
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code0 h  r) p4 G- ^
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.# v- R4 o; W8 x1 Z9 y2 O9 A
  1809. ;opcache.fast_shutdown=0
    + Z: n- Z4 I+ p' ?

  1810. $ I( W) x+ ]. S3 s& k5 @
  1811. ; Allow file existence override (file_exists, etc.) performance feature.. F' J7 q. }5 I  `+ y
  1812. ;opcache.enable_file_override=0& n: h, I5 b% o+ P. b1 V

  1813. - t% ^( G/ S. T4 l9 K
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache6 t2 p4 w" T% o3 _- p$ C5 q- @- M7 x+ G- v
  1815. ; passes
    5 H7 D4 B4 e5 n: J8 A
  1816. ;opcache.optimization_level=0xffffffff. \2 \5 J, D1 F; d7 u
  1817. # Z) O( C: B. p
  1818. ;opcache.inherited_hack=1: g( @2 a# |* ^  c$ i: ?
  1819. ;opcache.dups_fix=0. D# B3 E+ A0 \1 l& \

  1820. + h- h* r: ?1 {
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    4 n3 i2 @+ E- Z; M0 T; o
  1822. ; Each OPcache blacklist file is a text file that holds the names of files3 w" ?$ @. U! f* T& d
  1823. ; that should not be accelerated. The file format is to add each filename$ \5 A3 K9 E- p; z- z, k* D$ \  F* H
  1824. ; to a new line. The filename may be a full path or just a file prefix
    " C" l* ]; g4 K+ j% ^
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www, E- e( h+ j0 S- U3 s1 ~
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).* g0 J! ~3 W* S7 a. r
  1827. ;opcache.blacklist_filename=
    , d% N( q6 Y! N* U1 {* d; B! o
  1828. ( E% H) }  e5 F- ^3 \( T
  1829. ; Allows exclusion of large files from being cached. By default all files
    % G0 ~) c7 d# c# y1 l
  1830. ; are cached.# d2 N" s; p4 e; e
  1831. ;opcache.max_file_size=0* N0 ]0 y! m% Z

  1832. 0 A) {2 T9 f2 \/ l
  1833. ; Check the cache checksum each N requests.
    . ^: K# F! p" Y- A* ]# D
  1834. ; The default value of "0" means that the checks are disabled.
    : Z2 h' _6 D% Q
  1835. ;opcache.consistency_checks=0
    3 A8 a* C: y7 X, B6 s
  1836. $ z$ o' }4 ^5 U" T
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    1 s7 D8 Q' g0 I! U/ ]8 s5 b
  1838. ; is not being accessed.
    # ]* Q2 l7 Q* _. \
  1839. ;opcache.force_restart_timeout=180/ r& `+ [! Y4 R8 c/ `8 p

  1840. 9 o7 |0 [* p- u& N5 C9 r5 r
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
      L: R5 C7 v4 U( Z$ w
  1842. ;opcache.error_log=/ k9 g" y6 x3 j8 f' u/ G

  1843. 2 a2 W0 z: @/ x, [2 ]7 \7 n* ?
  1844. ; All OPcache errors go to the Web server log.
    ) q9 t2 o! @  o4 x$ e0 N1 |% e
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.2 w  g; M# m" v1 C: @
  1846. ; You can also enable warnings (level 2), info messages (level 3) or/ V! I/ J3 l0 {; q6 p& V7 ^
  1847. ; debug messages (level 4).* C. H9 x% ?; h7 k# I4 _
  1848. ;opcache.log_verbosity_level=16 q; a0 w# L, x' O6 w
  1849. # n; T7 m, F1 U. n' b: f; ]
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    : R+ G/ F  C, \3 p$ v& n4 C% q0 A
  1851. ;opcache.preferred_memory_model=
    ' h$ C; ]2 d% ^2 @  V% i" B
  1852. 8 R  E5 w% G7 K3 l* s8 s8 K
  1853. ; Protect the shared memory from unexpected writing during script execution.
    ' e, Q" j8 g; @- c8 ?; V
  1854. ; Useful for internal debugging only.
    7 P5 _% t" P5 c
  1855. ;opcache.protect_memory=01 ?6 }2 N. h# w
  1856. * @) N4 E+ G  M5 s4 W1 W; _
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    9 e: s% @( b: d- B$ t
  1858. ; started from specified string. The default "" means no restriction2 i1 I% T0 u' ~; t& [# Y1 B
  1859. ;opcache.restrict_api=* t- ~7 @  g6 h9 L: t8 W

  1860. " o: h& A9 u$ M) h) f
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP! C5 E( o( Y$ C8 z4 w$ [( }
  1862. ; processes have to map shared memory into the same address space. This" Y7 ^9 i7 d$ K: u$ n" z8 s
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    " s2 v8 O& v+ g2 J1 `
  1864. ; errors.7 O3 c+ A& F& w! U% r8 f' A  z
  1865. ;opcache.mmap_base=
    ' e2 t+ d$ |# ]5 n; @# w, f
  1866. 6 H# }/ c: M0 z6 ?
  1867. ; Enables and sets the second level cache directory.
    / K* d' a4 r4 P: j  e- ?
  1868. ; It should improve performance when SHM memory is full, at server restart or
    ' u( ^' N1 {) h% U) |
  1869. ; SHM reset. The default "" disables file based caching., c- G4 p! N  k% |/ e
  1870. ;opcache.file_cache=
    1 m; i( X" @# e: _- |
  1871. ; f+ I0 d+ P8 K( @. O" E/ y
  1872. ; Enables or disables opcode caching in shared memory.
    5 f' p) @7 R% F3 g4 M
  1873. ;opcache.file_cache_only=01 |8 D8 a+ J5 C6 p3 W3 G

  1874. $ a- h: F' u, m! }( C" Q
  1875. ; Enables or disables checksum validation when script loaded from file cache.# k: A* X2 {, d1 J) o8 p
  1876. ;opcache.file_cache_consistency_checks=1' h; z( L5 w# k+ T7 y) B' |
  1877. * ]0 V+ x. y4 ]; a9 A; X( ?
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to: `. n, r) P$ t2 \* B" S
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    ' d' }# ]5 I0 ?
  1880. ; cache is required.
    . ]& O( W* U$ T- O& F+ a( _) L6 O
  1881. ;opcache.file_cache_fallback=18 k  N6 ~# ^# k

  1882. - R) J5 j$ i1 o( T: B. `
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES." Y" S: K$ D' n! s1 \/ B/ p: u6 W
  1884. ; This should improve performance, but requires appropriate OS configuration.
    * [4 M* D, d% `
  1885. ;opcache.huge_code_pages=1
    $ U/ {0 [6 S! B5 E; Y( T
  1886.   J" s# R0 U9 Z7 R2 |
  1887. ; Validate cached file permissions.1 B7 l. w# F+ m' c: X: M
  1888. ; opcache.validate_permission=0( E" h$ W9 l- q! ?
  1889. ; m- O: K# `! N" \# @
  1890. ; Prevent name collisions in chroot'ed environment.
    1 m3 H" w- ?$ [, n- T' b- P/ m1 ^
  1891. ; opcache.validate_root=0
    6 X8 k, F2 {# m& m0 I4 C

  1892. " m' a) t0 d  a/ O3 L: P
  1893. [curl]
    , u# w5 q% X. f
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an! h& t/ u# m3 J! |7 n) D
  1895. ; absolute path.
    5 R5 b; L* d3 J+ M
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
      x/ `% k& s' ?( C; G

  1897. * w: Q3 Q( H- ?) t9 G8 {6 R. L3 T
  1898. [openssl]# q; X% S$ x  G( J0 T) N
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem3 l" ?9 s) E$ \4 Y
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    8 M4 w) i1 G, j
  1901. ; not specify a value for this directive as PHP will attempt to use the
      K0 A! f- M8 k
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    + ?# w, x6 @2 ^, |1 W$ E" A: l
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context$ R% z6 S$ w1 I' |% b
  1904. ; option.3 q" a5 F! R) n+ G% B
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt2 k- [5 l# T! W& l! ]5 c' m( r, O
  1906. + Y' x0 j  `% M+ X" Z4 `7 w  q
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    ( R( `" g* O6 B4 D$ h" B& W$ m
  1908. ; directory pointed to by openssl.capath is searched for a suitable7 g+ ?0 l) L' e0 n1 p1 j9 `( H, z
  1909. ; certificate. This value must be a correctly hashed certificate directory.; Y( x4 E$ X# W8 Z0 a. z3 F9 U
  1910. ; Most users should not specify a value for this directive as PHP will
    5 n7 H$ y0 L  i8 z0 E( r' ]# v
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    # M) V/ y6 w& a
  1912. ; this value may still be overridden on a per-stream basis via the "capath"$ _7 h# z$ E$ b) S7 a
  1913. ; SSL stream context option.( i) i( H6 D3 M" w+ [
  1914. ;openssl.capath=
    : r  H4 l; o! D' V7 Q" d: v. `

  1915. ! G6 U; F, I8 \- L8 K
  1916. ; Local Variables:/ H7 O" n0 I0 ?$ N  t0 ^6 u* Y1 h
  1917. ; tab-width: 4, [# q$ f' Q* D+ W6 c6 e2 R* o+ n
  1918. ; End:
    0 G( q1 X5 }" Z9 U

  1919. - ~8 e- M, F8 A  b1 A5 M) }! w
  1920. ;eaccelerator
    / ^. q$ u2 T1 B8 R8 l

  1921. . A1 [4 ~+ s/ o  y4 a
  1922. ;ionCube
    1 S! V9 B2 V+ l- a

  1923. - V9 b4 a- P( R  j
  1924. ;opcache! `' j! H6 R9 X8 f  M

  1925.   k  _0 B7 H) t7 l3 s. c
  1926. [Zend ZendGuard Loader]' ^3 m' B6 Y' z9 w- Z
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    " o, M& ~% |7 V' L* h9 U& M
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so9 C! Z0 }& x  S9 r- G
  1929. ;zend_loader.enable=11 N& m0 j, r0 ^- x/ ~& L+ f
  1930. ;zend_loader.disable_licensing=0
    " X& W+ d5 W1 l2 a7 J: ^1 w* p
  1931. ;zend_loader.obfuscation_level_support=3  ]; h, R& }* @1 {# }9 f
  1932. ;zend_loader.license_path=# R. D3 G5 z0 ?: Y6 X
  1933. 3 F$ s& u, n1 {9 q# q
  1934. ;xcache
    & O% B, n& F2 Z, q  O5 D

  1935. # |8 t7 e2 t6 O
复制代码
& [' i" o7 l6 X

7 |  g1 b5 o  y/ m! j) j. a; l
& V: e: W; U  k# i: r: h+ B' {8 t( P; X
# D6 z4 x8 ]) b: K/ p: ^$ z+ y: u
4 D2 f6 g/ [9 S9 v5 ]/ V& v: v5 q3 }8 C) P$ p; N
; X/ m1 O2 T; w* Z/ c+ b( s0 Z
PHP5.6版本原始设置
8 f6 @+ H1 Q6 ~1 {( c' u8 s/ h. P0 K1 m1 N. \& Z& v' G* I3 i
  1. [PHP]( [  N# ]( X% E( H
  2. - ~+ Q5 w* C" [7 |: W0 c
  3. ;;;;;;;;;;;;;;;;;;;
    # d9 ~: I( ?5 P
  4. ; About php.ini   ;
    6 u4 T7 K5 K4 p0 s( h
  5. ;;;;;;;;;;;;;;;;;;;7 B3 V  w. {# K( [, f! [2 a2 |
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    6 Y* N8 I5 h' F8 x0 |- K
  7. ; configuring many of the aspects of PHP's behavior.# J6 S, ]6 K8 y" B+ z" J

  8. 2 c+ |+ ^$ p' {1 h: M) \+ n1 t
  9. ; PHP attempts to find and load this configuration from a number of locations.
    , e. f$ n0 @; T: X; r# k% C
  10. ; The following is a summary of its search order:0 d" z3 A4 f8 m
  11. ; 1. SAPI module specific location.
    ) j0 j8 X. J  f, k! j# `, `  e
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    5 w+ {. V# F2 u4 `% U+ `
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    7 I3 n7 c. |# X5 g& A7 A
  14. ; 4. Current working directory (except CLI)
    + t( p: b0 J5 I3 N5 Z$ j0 O& r
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP3 k7 _% r/ K' {" d4 D1 }5 u
  16. ; (otherwise in Windows)
    1 i  ], y' \5 X5 q) o; F7 ~
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    / X, d, c+ l% j) }0 `* ~8 m
  18. ; Windows directory (C:\windows or C:\winnt)/ m: Q! D* y% y9 F* X$ V, d' a1 J; K
  19. ; See the PHP docs for more specific information.2 f* ^0 f* M/ V
  20. ; http://php.net/configuration.file3 m0 {, f; o8 K0 D

  21. & f' e, o4 Y* V) B
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    % S# H* n& G% U7 M# Z2 G
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).9 w1 [1 U9 U, c( b0 V
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    * q  w/ b/ s  P, O& V
  25. ; they might mean something in the future.
    # \1 v6 g8 ^7 K2 L
  26. 9 ^0 ~; i) U5 T9 m
  27. ; Directives following the section heading [PATH=/www/mysite] only; [7 S# M/ [; h" i
  28. ; apply to PHP files in the /www/mysite directory.  Directives, [# a4 v3 h" C2 e& W5 [
  29. ; following the section heading [HOST=www.example.com] only apply to: r% z% `- B& t, @2 g: B$ T. G
  30. ; PHP files served from www.example.com.  Directives set in these
    4 q  N  P  r* V1 ^7 Q/ a' P! K( [
  31. ; special sections cannot be overridden by user-defined INI files or
    2 N' ~9 u" }) \8 q  {0 z+ M
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    : [  n" T- d  R' z6 x& U
  33. ; CGI/FastCGI.* `7 ^/ Q3 ~' y9 f2 }5 Q
  34. ; http://php.net/ini.sections, Z& |+ L% ~- Q. h
  35. 0 e  c8 g$ T. x, r1 v0 V& x
  36. ; Directives are specified using the following syntax:
    - p3 H0 ?" m. j8 p: u7 l
  37. ; directive = value
    ( K# w# Z/ U1 U& u+ u% e
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
      v+ n9 o7 H1 j$ e! o) S' X
  39. ; Directives are variables used to configure PHP or PHP extensions.& S1 U3 Z) y' f: l6 x% `# s
  40. ; There is no name validation.  If PHP can't find an expected
    & l  e' k8 J' Q0 X
  41. ; directive because it is not set or is mistyped, a default value will be used.7 M- ^. [. {$ U$ V- A! n

  42. ; [8 ?7 v' a4 \; X! j5 U! z* M
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one0 c& ~# O; u3 A  _' B% y
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    1 T& C( c3 P# a1 t
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    6 }2 r( e& j6 ^1 P  M1 @$ H+ n2 F
  46. ; previously set variable or directive (e.g. ${foo})
    6 S7 Q9 R' c7 E% ]

  47. / b! v4 A+ W8 a  }1 R
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    6 N9 J- z5 p* I% _! z0 }6 d
  49. ; |  bitwise OR3 Z/ u4 n( S. D3 |/ K/ \7 Y% `
  50. ; ^  bitwise XOR
    * D$ f9 E4 |+ n
  51. ; &  bitwise AND
    * E; m1 A0 n2 }2 Z
  52. ; ~  bitwise NOT; w- U+ O; A. w- k1 E
  53. ; !  boolean NOT
    , K/ q8 ]* h1 H6 j; n

  54. 4 k0 ?5 I4 y$ b9 f9 J1 Y
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    # s/ m% ?6 p( \' f# U
  56. ; They can be turned off using the values 0, Off, False or No.
    ( b/ e6 _' [" _# x5 F- E/ U1 v9 b

  57. & L) G) d" `. K  a
  58. ; An empty string can be denoted by simply not writing anything after the equal/ H* V; o/ j" @: U5 N& {, F
  59. ; sign, or by using the None keyword:6 ]0 g* C& S( e# Z. G3 v

  60. 7 Z0 I; z, Y- \/ A; c, y, O! L* a
  61. ;  foo =         ; sets foo to an empty string1 e6 H# h& h8 \" S+ x4 s! v' s" @
  62. ;  foo = None    ; sets foo to an empty string
    - Y8 J- Y' a( ]& `* G2 ]
  63. ;  foo = "None"  ; sets foo to the string 'None': Z/ c9 K/ w# ]4 X* a" O( r

  64. 8 n  J. X/ P- ^& J) n
  65. ; If you use constants in your value, and these constants belong to a7 a4 U- w0 ?- d! @( f
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),6 O' K* q* ~  V" l
  67. ; you may only use these constants *after* the line that loads the extension.+ E: J- H, ]2 y1 b7 ~9 J

  68. ' ^! b6 ]0 c, d9 c! e& j
  69. ;;;;;;;;;;;;;;;;;;;
    8 u& b7 U6 X  B/ J$ @' ^9 }
  70. ; About this file ;' s* N# G( P1 a5 V7 F6 Y
  71. ;;;;;;;;;;;;;;;;;;;
    % ~3 m$ x' z; E) Z
  72. ; PHP comes packaged with two INI files. One that is recommended to be used$ x9 b* z( L8 L1 V& R2 a
  73. ; in production environments and one that is recommended to be used in
    ! ~- X/ Y5 C' l9 t% x
  74. ; development environments.
    $ Q5 w$ w& V+ ^7 t0 {

  75. ; m, y6 h1 m" a( |
  76. ; php.ini-production contains settings which hold security, performance and
    ( l9 Q, Y! M# S& O# M# |
  77. ; best practices at its core. But please be aware, these settings may break- U3 X3 v: }1 a4 y3 J) T5 \
  78. ; compatibility with older or less security conscience applications. We6 @! T0 y1 Y9 v7 q5 N  x. w
  79. ; recommending using the production ini in production and testing environments.
    ) L+ n  S  k1 o$ r
  80. ( }$ y) A9 Y. E4 B) G/ t
  81. ; php.ini-development is very similar to its production variant, except it is
    / P6 J: L( g9 {7 {4 t
  82. ; much more verbose when it comes to errors. We recommend using the# D* U# D% c: r( z" Y. u( N% x$ }
  83. ; development version only in development environments, as errors shown to
    ! E) _( @" A# u+ U; v
  84. ; application users can inadvertently leak otherwise secure information.0 }/ u+ a% d& @8 p) }/ U7 o7 z
  85. 2 B+ _& q8 b6 P, T3 O2 v
  86. ; This is php.ini-production INI file.  N8 Z0 a) a" ?/ D- Y

  87. : o8 ^3 \: X5 I" C) H- C- E( J6 Y
  88. ;;;;;;;;;;;;;;;;;;;
    ; A8 J4 n) h, |6 F
  89. ; Quick Reference ;
    * J2 Z! M, K5 P7 d# G" R0 [
  90. ;;;;;;;;;;;;;;;;;;;: Q# e+ R" s5 m- ]
  91. ; The following are all the settings which are different in either the production
    ' P) `; k; e2 _1 x9 D
  92. ; or development versions of the INIs with respect to PHP's default behavior., F% {6 z- F: Q. z
  93. ; Please see the actual settings later in the document for more details as to why
    2 U/ ~7 O  }) }$ @" F. e+ s7 H* g
  94. ; we recommend these changes in PHP's behavior.
    - y) ?" {" j* O9 @4 U: f
  95. 3 A! u2 N, H8 Y  p1 p+ }' Y% y
  96. ; display_errors
    2 ~: A. L4 Z1 n- g8 \
  97. ;   Default Value: On
    - _* w4 [5 @0 n) q9 p
  98. ;   Development Value: On
    8 c. n" Z. B$ ?
  99. ;   Production Value: Off
    , D' Z; B# F2 B3 ^6 w8 s' R) r+ j( y9 U7 \
  100. 6 B. y  V0 ]9 L/ s5 B+ J. q
  101. ; display_startup_errors
    $ F3 a; G+ S7 M2 o
  102. ;   Default Value: Off
    ( E0 G: S, D0 S" b$ M& a* K
  103. ;   Development Value: On
    7 u; i# g( f! b: K5 a3 F; H9 W
  104. ;   Production Value: Off
    ' W8 V+ y5 k9 l0 D# X/ E

  105. 2 e% k. N+ ]6 \5 e
  106. ; error_reporting
    # }# N; O" P" t* p2 d% B7 X. l
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED( [7 o8 `: r0 t
  108. ;   Development Value: E_ALL
    - q+ K3 D8 a/ F5 g7 B% D1 E
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
      ~0 w; R  a. Q. t" P2 A8 K
  110. . Q* y( X2 J: r; w
  111. ; html_errors9 z! @" W) Q: N3 P( ]: X9 w
  112. ;   Default Value: On" ?2 \3 Z2 i: \( h" X9 ?' h8 o
  113. ;   Development Value: On) G& C& T6 x4 F+ Y9 N0 S. m5 [
  114. ;   Production value: On
    " j* s* I$ R0 C2 Y% s
  115. 6 L) w; M/ L% M- ]5 Z4 i0 p
  116. ; log_errors
    # L/ }: P7 K# a2 K- K
  117. ;   Default Value: Off  ^0 m& \( C$ M8 ?7 G
  118. ;   Development Value: On
    + w6 C6 f9 w* D2 S7 \
  119. ;   Production Value: On
    : p6 R1 |3 K1 b$ b

  120. 8 o+ @* O% S5 y/ ~0 h
  121. ; max_input_time7 i0 o: [0 y" x1 T6 g* u2 v; Q
  122. ;   Default Value: -1 (Unlimited)
    $ v- }* ?: p8 {# d* S4 w; T5 ?# A
  123. ;   Development Value: 60 (60 seconds)" y; f* Q: v' h
  124. ;   Production Value: 60 (60 seconds)! b- s8 {% M4 s" V

  125. 0 o9 r: l8 m% k) m
  126. ; output_buffering
    3 J/ J$ j9 t1 l2 \+ {  {
  127. ;   Default Value: Off
    ) q# g5 q' U! ~" b
  128. ;   Development Value: 4096
    6 f2 ?5 `; b! p( E% Z
  129. ;   Production Value: 4096. w6 o9 x; y& B

  130.   u8 Z3 m6 H8 K( I  M
  131. ; register_argc_argv3 L; {6 O% {$ D( F0 P
  132. ;   Default Value: On
    3 Y$ L! G- d& P1 \8 _
  133. ;   Development Value: Off
    & @; R& [3 N" w4 }- D: A* z
  134. ;   Production Value: Off0 {9 D! Z" B* n- `( _
  135. 4 }7 Y5 o  c1 ]
  136. ; request_order
    , G4 \1 s: @" n& l* R5 L
  137. ;   Default Value: None
    $ ?6 R6 g( e. l4 ~" q
  138. ;   Development Value: "GP"! N2 o5 F6 l) s3 f# t, b
  139. ;   Production Value: "GP"0 L/ ~5 Y* I' W; v

  140. , L7 |4 U0 D& m% D
  141. ; session.gc_divisor
    5 |  z$ a0 `+ Z* c0 ?  w
  142. ;   Default Value: 100
      \5 k9 b, ~5 [3 i& o: i3 I+ ?
  143. ;   Development Value: 10004 |3 l0 O$ C: }0 z$ }
  144. ;   Production Value: 1000
    0 A8 A; K& A$ Y/ b. p$ q2 l2 z

  145. 9 s2 d1 z9 ^1 _( v- F) E: ~. I
  146. ; session.hash_bits_per_character) ]  ~0 Q1 L0 g4 z. g
  147. ;   Default Value: 4! {2 u8 V% L5 M  G
  148. ;   Development Value: 5
    - Q% i# l9 \) Q3 @/ ^+ r3 s# u" H
  149. ;   Production Value: 5& ]" I( _, I( Q; F  B

  150. 1 A* X2 ^" W7 ^9 U+ C; s
  151. ; short_open_tag
    5 S4 x# @5 ~6 K( |7 e. _" H' y! n
  152. ;   Default Value: On
    0 O; g: t4 r- t9 R
  153. ;   Development Value: Off8 F3 A  V! v. S- o# w7 u* M
  154. ;   Production Value: Off
    # d# P, B# ~7 u8 C
  155. " A, {8 `9 g6 w3 [: R- c
  156. ; track_errors
    ) W7 q! r  u. \; C% s+ h
  157. ;   Default Value: Off
    ( R4 N' L1 l5 S/ Y$ b: N' Q
  158. ;   Development Value: On; V- U1 ~6 a9 K; L
  159. ;   Production Value: Off
    1 l% b* t5 E8 _. E
  160. # g, u* ]. b8 O0 _
  161. ; url_rewriter.tags
    4 ?( T, _3 ~0 t5 a8 W9 _
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    & _0 C  T. t( p6 j2 F( Q+ f+ }" P
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"3 Z/ F8 l: A( Q. a6 W
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ' \/ b2 I8 }1 V- R0 @; {

  165. : |: }# `; C7 i0 I$ L
  166. ; variables_order/ ^7 |; }" S0 z6 h( i7 ?+ G
  167. ;   Default Value: "EGPCS"
      r6 G( D5 Z# o1 ]6 k
  168. ;   Development Value: "GPCS"
      y: N- q) U! t" K- @, P; s
  169. ;   Production Value: "GPCS"
    / @/ U3 e' k( i. g4 w$ ?
  170. * E8 |1 ~2 f# i3 C
  171. ;;;;;;;;;;;;;;;;;;;;
    . Q/ v3 d) I$ D* |' V# n+ T2 I7 a
  172. ; php.ini Options  ;
    0 D1 J6 D$ o( A
  173. ;;;;;;;;;;;;;;;;;;;;& l: _, j: ~& G: V+ l5 \
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
      E, a  c# K* ^% x/ C, F
  175. ;user_ini.filename = ".user.ini"
    9 i8 N2 Q" G5 Q1 `$ d6 P
  176.   r4 k  w$ E* K) `4 a
  177. ; To disable this feature set this option to empty value
    8 H# N9 d9 i$ g; Q
  178. ;user_ini.filename =  j6 g/ p5 l  Y% S
  179. ; z# i; w% _4 X' e* Y* Q2 @% P" V
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    ; I2 I  q. F0 x2 N: p: v+ [4 G
  181. ;user_ini.cache_ttl = 300
    4 u9 i# D" _8 [8 D. u0 q

  182. * z) D  P$ W, r
  183. ;;;;;;;;;;;;;;;;;;;;
    ! q) O: |5 F, w4 V. b3 _: b
  184. ; Language Options ;& W; k1 ^% ]6 d( B3 p) Z. h! `
  185. ;;;;;;;;;;;;;;;;;;;;
      D. M. N( [( U, D

  186. / x5 P9 i2 J' Q+ H9 J) s
  187. ; Enable the PHP scripting language engine under Apache.
    : Z- |; l0 U' v2 z+ k: Z5 Y
  188. ; http://php.net/engine; ^9 C2 I8 h9 M' W( [& }
  189. engine = On, a  F6 k, l# }& G
  190. : I; p2 |* a7 r  _7 g
  191. ; This directive determines whether or not PHP will recognize code between
    3 Y% U3 c, l# x2 G3 d- ~# J
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    4 L/ g  ?: B% r* X
  193. ; generally recommended that <?php and ?> should be used and that this feature. a* _- S5 U  c( d
  194. ; should be disabled, as enabling it may result in issues when generating XML' l# V, M/ W' ~0 t0 @
  195. ; documents, however this remains supported for backward compatibility reasons.$ Y( }5 P$ }) Y- d
  196. ; Note that this directive does not control the <?= shorthand tag, which can be! A' L, ]5 T# h
  197. ; used regardless of this directive.- j0 H) B  A# T! [
  198. ; Default Value: On) r! b7 _  k. ~6 V7 _% R( G6 @
  199. ; Development Value: Off
    4 ?. ], X6 J: z+ R/ h5 C+ S
  200. ; Production Value: Off" o) J8 M: J/ }; N
  201. ; http://php.net/short-open-tag
    * U; W. y, [9 P6 [) ]0 l
  202. short_open_tag = On1 n' w5 G; l& u- @

  203. 9 o1 q8 k6 W5 ~$ v
  204. ; Allow ASP-style <% %> tags." _% F3 K: e8 \; f7 @! |: L% z
  205. ; http://php.net/asp-tags3 @) Q6 U) b4 Q9 v2 [# ?
  206. asp_tags = Off- o# {* x# V7 Y( i& b8 |$ q

  207. * V) [5 B3 X9 z" a- q& Z
  208. ; The number of significant digits displayed in floating point numbers.& ?# h+ a$ Z  E) i" S9 `2 q
  209. ; http://php.net/precision' D1 \8 [+ ?* }, S( u7 t
  210. precision = 14
    $ I+ n; d7 b( G8 m3 f

  211. 6 r6 \6 {! \4 x. [, g4 a
  212. ; Output buffering is a mechanism for controlling how much output data
    % v% s( D6 c$ u
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that7 v* F$ a  `* Q: {' w9 Q  [. _
  214. ; data to the client. If your application's output exceeds this setting, PHP
      e6 {0 y; g# z% z" v  U" i1 n
  215. ; will send that data in chunks of roughly the size you specify.
    5 t: t& }. n7 l) }! h# u
  216. ; Turning on this setting and managing its maximum buffer size can yield some; t. D! z  k8 ]
  217. ; interesting side-effects depending on your application and web server.% q7 n! c# ]/ J/ b) _
  218. ; You may be able to send headers and cookies after you've already sent output
    # i1 o' Z$ v+ r- r& ]# f
  219. ; through print or echo. You also may see performance benefits if your server is
    9 o& b. Y" s! r) X& a4 w! N3 b
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    8 A) j% N% J6 y& H, A  C& t8 j
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance8 A- o8 u* Q$ a' q
  222. ; reasons.
    * B9 q; K* Y& v1 S
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    4 \" I: z0 j6 j- y- P  e# D
  224. ;   functions.
      r) u' U7 ?2 }$ W
  225. ; Possible Values:- j6 A1 b% e  |" F, e1 D$ ~
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    ) j5 ^6 \9 Y7 V
  227. ;   Off = Disabled' ^; O' j3 @: C% j7 F( u$ e
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    " ^2 N& t; G% @/ d* X8 L: l" y
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    8 m( \  l6 W1 L! k2 d
  230. ; Default Value: Off" f! {. |/ B; e6 S  ]. U
  231. ; Development Value: 4096" g3 X9 w8 G9 Q% K' k
  232. ; Production Value: 4096& r% r/ L9 O% ~
  233. ; http://php.net/output-buffering
    , W$ k5 a+ o7 E, }2 P
  234. output_buffering = 4096
    7 i& C* \' \, O$ T+ X- F

  235. 5 G) K. R& j, w
  236. ; You can redirect all of the output of your scripts to a function.  For4 W6 u& y) y" V. u5 o$ q9 ?7 K
  237. ; example, if you set output_handler to "mb_output_handler", character
    3 _4 S! w  u5 x' l# \
  238. ; encoding will be transparently converted to the specified encoding.
    + z! \7 }6 g* F, I. ~8 j
  239. ; Setting any output handler automatically turns on output buffering./ c7 t. k# l8 d, W$ ~, \
  240. ; Note: People who wrote portable scripts should not depend on this ini
    3 u$ F3 g4 l8 p, m+ V
  241. ;   directive. Instead, explicitly set the output handler using ob_start().1 I7 l* R. n5 z+ i  [
  242. ;   Using this ini directive may cause problems unless you know what script2 C( P1 _" N4 v) ^$ |& ~
  243. ;   is doing.
    & f- y7 L* G% D0 n
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"$ o% `& S7 d. K, f
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    & o" y+ V8 a) P6 [5 p
  246. ; Note: output_handler must be empty if this is set 'On' !!!!% R5 l: m1 K9 I# K! ?- X' Y
  247. ;   Instead you must use zlib.output_handler.3 Z, `* `3 s5 A& E5 q. a
  248. ; http://php.net/output-handler5 e( Z: J* T* n8 o4 P, N
  249. ;output_handler =
    ( U/ p: Z+ d% o/ H

  250. ; u# F0 Z6 D9 i$ p, |$ A
  251. ; Transparent output compression using the zlib library
    4 b* n% G; ?0 |! w
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size* L" d+ u2 ^4 M; }
  253. ; to be used for compression (default is 4KB)& P& L" ?& R% [9 ^
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP3 y$ d9 B2 j. R* p
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    4 o6 W0 P  M4 X8 {/ P6 z
  256. ;   compression. If you prefer a larger chunk size for better7 |6 [. S8 u% j  k0 {6 n' ~1 c7 K/ T
  257. ;   performance, enable output_buffering in addition.
    # N/ j# M0 v9 ]- _& m! I
  258. ; Note: You need to use zlib.output_handler instead of the standard  U4 S, l& D) P# }' v$ [
  259. ;   output_handler, or otherwise the output will be corrupted." ^. k" l, o; _% c
  260. ; http://php.net/zlib.output-compression
    9 C+ K; s& I5 ]( ~
  261. zlib.output_compression = Off& {! e. ~2 n% B$ e; x

  262. ) G+ R& h' i5 d4 s' C( a* {& i" D- r1 W
  263. ; http://php.net/zlib.output-compression-level
    1 `$ k+ R; |1 F' C; B4 i& P8 C5 E- P
  264. ;zlib.output_compression_level = -1  N/ P, F& }5 o  G' U! N: O9 L6 f

  265. 4 p- L7 D+ k; R; I
  266. ; You cannot specify additional output handlers if zlib.output_compression, Z7 _" A% b8 ^3 I
  267. ; is activated here. This setting does the same as output_handler but in. s) W0 o# t+ ]1 H8 T& A+ T
  268. ; a different order.
    . _8 V* t; \1 D9 a5 \* i
  269. ; http://php.net/zlib.output-handler7 g/ E/ P' Z% S; s
  270. ;zlib.output_handler =
    8 d- \. P' R' G' \4 Q  ?) X

  271. - Y8 M. R/ `$ R0 W
  272. ; Implicit flush tells PHP to tell the output layer to flush itself* C4 T. E9 c  E8 r
  273. ; automatically after every output block.  This is equivalent to calling the  Q- F, O" n8 X
  274. ; PHP function flush() after each and every call to print() or echo() and each
    2 y" S  n4 a/ Q( M9 r* W6 [
  275. ; and every HTML block.  Turning this option on has serious performance
    / H$ F: n% ^( Y) a( P2 m
  276. ; implications and is generally recommended for debugging purposes only.
    ! F+ `! P9 F. g+ H" D  X
  277. ; http://php.net/implicit-flush
    0 ?' G# V5 Y. ?- d; B" r6 S
  278. ; Note: This directive is hardcoded to On for the CLI SAPI$ E2 e7 A' U8 c+ J
  279. implicit_flush = Off8 w) p/ C% r! U7 T
  280. 8 I" i  A; H- A6 A' Z) k9 B
  281. ; The unserialize callback function will be called (with the undefined class', Z& @: M9 A: Z2 P) w
  282. ; name as parameter), if the unserializer finds an undefined class
    ) f# {: {7 z( @7 t4 |, Y
  283. ; which should be instantiated. A warning appears if the specified function is
    5 x7 S2 E* J; E
  284. ; not defined, or if the function doesn't include/implement the missing class.
    # ]# c1 \. |3 T. p
  285. ; So only set this entry, if you really want to implement such a2 H5 u$ l; q( Y9 B6 e% L+ |
  286. ; callback-function.: D, t5 t7 k! o
  287. unserialize_callback_func =
    3 P+ Y, G" g+ R* o
  288. ! }# z4 L6 u/ q) J- f1 k
  289. ; When floats & doubles are serialized store serialize_precision significant, s5 {9 X* m# N4 H$ s9 K
  290. ; digits after the floating point. The default value ensures that when floats
    3 G- y: {2 ~: _( y" K0 L1 l* c
  291. ; are decoded with unserialize, the data will remain the same.
    # o: l) Z, c% \' [: {* Y# Y
  292. serialize_precision = 178 R% j) F. l3 e0 m
  293. 5 l- m1 K: x1 T# `* U3 {) C
  294. ; open_basedir, if set, limits all file operations to the defined directory
    ) {1 ?" P' U/ U, {
  295. ; and below.  This directive makes most sense if used in a per-directory
    $ \( |3 {5 n- J+ d) i6 ?* _& `, t
  296. ; or per-virtualhost web server configuration file.
    % v# Y7 V4 ]  Q# s: ^" f- ^
  297. ; http://php.net/open-basedir
    " E0 r, M9 |& k+ w' `
  298. ;open_basedir =! j5 x) K, K* N. a1 J" y' `
  299. , \. S5 W7 ]+ [$ n, P3 @' A
  300. ; This directive allows you to disable certain functions for security reasons.
    1 {' c6 w9 i- F" U+ }1 ^
  301. ; It receives a comma-delimited list of function names.& n; l$ c& a2 R! T' g
  302. ; http://php.net/disable-functions
    6 i' a# I+ ~! s9 \8 K) n& R, C
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru4 ~, T" G5 B- u; n$ R* E+ r6 Z8 g

  304. " g: T0 F0 z5 C$ z2 h$ g8 g
  305. ; This directive allows you to disable certain classes for security reasons.: S  ]. ^9 L& w! s8 Z6 f% ?
  306. ; It receives a comma-delimited list of class names.
    6 Z# x3 e2 t9 \; }. x; l0 }3 n
  307. ; http://php.net/disable-classes! i  z+ d6 _1 U' x- e
  308. disable_classes =# D) ~; v) |2 ~- ?4 [% Q, a

  309. + ]: ]7 W* Z3 X7 C% {3 u% a# w- ~
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in, S" R! b# V1 T
  311. ; <span style="color: ???????"> would work." k. h9 [; `  U
  312. ; http://php.net/syntax-highlighting7 J4 m' [% _) s- Z" v: @1 B
  313. ;highlight.string  = #DD0000
    7 h0 _2 l. T& s: B$ k- V
  314. ;highlight.comment = #FF9900) g* l/ V% e4 L8 J- t
  315. ;highlight.keyword = #007700
    4 e6 A/ B( j! y
  316. ;highlight.default = #0000BB
    ( m- u6 q' M7 v4 {
  317. ;highlight.html    = #000000" c2 l- o  O" m2 r

  318. " m+ n* k" m  P+ T" @
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    1 n) \: F: k1 Y. X5 @, U3 O  J2 C4 p" f
  320. ; the request. Consider enabling it if executing long requests, which may end up7 l! G* B8 M& M- U" j: X
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    ) ~% ]2 T2 W& F. t# h; }1 A# N
  322. ; is to disable this feature.
    9 X& v" Y  i$ o8 ?1 Y) Z9 Y
  323. ; http://php.net/ignore-user-abort
    " q9 G  ~: i' H5 W3 K1 \  L
  324. ;ignore_user_abort = On
    : X5 a# Q1 H+ J% O+ M; w. [

  325. - T5 @6 Z8 W) k
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    - q3 d$ R" f7 w! S: ^4 l# r
  327. ; be increased on systems where PHP opens many files to reflect the quantity of# ^# P, r! \( E% v# C1 e
  328. ; the file operations performed.& a& H% j( L0 \$ N
  329. ; http://php.net/realpath-cache-size3 t; W+ `' C4 B7 E+ e: a8 Q8 X
  330. ;realpath_cache_size = 16k6 w4 ^: J6 _& [- @+ p. d

  331. 8 i( Y  K3 H7 h0 J% g2 H5 F
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    3 M" e5 E! V0 B. R; N  x4 g
  333. ; file or directory. For systems with rarely changing files, consider increasing this
      \8 O8 x& \- C1 E& M4 {" Y
  334. ; value.- X; _! d! ?% k
  335. ; http://php.net/realpath-cache-ttl
    9 e/ q6 Y: _& y2 O2 m/ H
  336. ;realpath_cache_ttl = 120
    ) L) j2 d: _. X

  337. : R  P6 }! K- y: q  f$ M
  338. ; Enables or disables the circular reference collector.7 J" Z% w/ @3 n9 E" g# p9 s) {9 B# m
  339. ; http://php.net/zend.enable-gc5 s0 K. N' G/ Y9 e
  340. zend.enable_gc = On
    $ W  l" _4 _0 x& g3 M' Y
  341. - ~' ?! V+ j8 o( C; Y
  342. ; If enabled, scripts may be written in encodings that are incompatible with- c6 o+ }: \1 w! {
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such3 u2 Y2 M& s3 g
  344. ; encodings.  To use this feature, mbstring extension must be enabled.; N  D; E6 B+ ^0 U6 w$ M# [
  345. ; Default: Off) `1 O  I$ C5 ^8 ^6 ^- U
  346. ;zend.multibyte = Off
      R% J. G! v# N' n
  347. + Q; A/ u4 `5 C: n7 X5 {
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    / ~& @4 O9 J5 {, u& }* b0 t' m2 I
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.9 i9 a( u* B4 l' F8 H2 `
  350. ; Only affects if zend.multibyte is set.5 H  I5 O. k4 S; I1 [& i
  351. ; Default: ""
    : \- u! `% v- m* p1 w
  352. ;zend.script_encoding =1 Y% D' c; L( E5 C# z2 K7 X* o  U

  353. - u) D( _3 R) ?, P* u! I+ W. [5 K( F) ~
  354. ;;;;;;;;;;;;;;;;;
    " W% w, {% [. R8 l7 O7 R
  355. ; Miscellaneous ;! l$ ^- G+ a9 i- L4 a4 ?+ M
  356. ;;;;;;;;;;;;;;;;;
    9 i4 u0 |9 G$ b$ F. H5 S

  357. " ^2 d- ]* s6 _& ~
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    7 ~( z9 k, v0 F0 m  c' N9 M
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    . y4 L, V6 z$ u
  360. ; threat in any way, but it makes it possible to determine whether you use PHP4 f: n6 c9 I" E, r' ^
  361. ; on your server or not.
    9 C7 R. X) m7 b
  362. ; http://php.net/expose-php
    5 a$ R; P$ I& f2 d! o
  363. expose_php = On
    2 U" Y0 V; [9 c" V; |7 f: X

  364. 7 }  Q* w3 f  q# n; @3 E. _$ n0 ?
  365. ;;;;;;;;;;;;;;;;;;;% B& g, `' C4 D& {1 `
  366. ; Resource Limits ;: k8 C! M8 O- b" u
  367. ;;;;;;;;;;;;;;;;;;;% j8 E/ Q+ U5 |* f7 ]' n# A
  368. ! X+ D* `$ v( b7 g2 _* \" a
  369. ; Maximum execution time of each script, in seconds8 C, C" Z; [" i  x
  370. ; http://php.net/max-execution-time
    3 x. ?& _$ X7 l; z5 w3 U0 T1 }
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    7 r6 B" y, K; K; j: R" P
  372. max_execution_time = 300
    * V# V& X; M+ t0 w8 \. I9 h7 g3 ~4 P
  373. % u, d! m; \# W, V6 C8 B. I! p& |
  374. ; Maximum amount of time each script may spend parsing request data. It's a good& n! j  E* d$ |
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    / H) `/ T' x- K8 C  _
  376. ; long running scripts.
    7 l+ w! C/ h+ }4 B
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
      b. E  u8 F" x2 ]2 c
  378. ; Default Value: -1 (Unlimited)$ \! X6 s% E! ]; v3 C% }( O- X
  379. ; Development Value: 60 (60 seconds)
    5 E# w% y8 P' V
  380. ; Production Value: 60 (60 seconds)( R* t8 n- x0 }+ H
  381. ; http://php.net/max-input-time* k: O5 |4 L0 H6 w
  382. max_input_time = 60
    ! b1 G8 }  e/ l+ x

  383. 2 t" v7 |* ^  h) a2 ~8 ^
  384. ; Maximum input variable nesting level& k8 R$ U! h# n( E2 `
  385. ; http://php.net/max-input-nesting-level
    4 \" M9 X3 F- u% R3 |. c8 H
  386. ;max_input_nesting_level = 64
    . r+ H' G( H2 D& s7 W: x

  387. : p% A; z( a" r
  388. ; How many GET/POST/COOKIE input variables may be accepted  h: C& \2 j# y4 s
  389. ; max_input_vars = 1000
    8 G0 B+ H7 {) U0 p

  390. - [! l$ C! W. }, q  c
  391. ; Maximum amount of memory a script may consume (128MB)
    # a( t+ ]1 c3 f( v4 @& @- e6 W
  392. ; http://php.net/memory-limit# ~# B4 T+ L: o/ ]' G5 `+ Q
  393. memory_limit = 128M0 S9 s7 m& C9 c& A! a) \; p& C
  394. - P/ w# ^+ m; I6 C; `% f) p* Y( z* R0 m
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    . \4 B! {* `6 X& s$ T3 W' e
  396. ; Error handling and logging ;& Z4 i, T, W0 K
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;) i, R  `/ B+ k
  398. 5 f+ ]5 j& v; {" E
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    4 e6 u+ N6 ~* D' E7 C
  400. ; it to take action for. The recommended way of setting values for this
    , I) n6 n- t8 s# K+ o- X$ _
  401. ; directive is through the use of the error level constants and bitwise
    ! j; c, z$ k* Z
  402. ; operators. The error level constants are below here for convenience as well as
    / Q# g( }$ e/ y: X1 I
  403. ; some common settings and their meanings.
    7 ?' `! r& L" W" K7 `4 B7 r4 m
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT8 v! W. C, m8 v5 r: J' t
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    ( l" \' E9 L# m
  406. ; recommended coding standards in PHP. For performance reasons, this is the9 p9 _! [, |- Q) Z) P5 C
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    5 R  f" M9 j8 b- b, s( ^
  408. ; resources complaining about best practices and coding standards. That's what
      U* `# P  G' ]8 F' q
  409. ; development servers and development settings are for.( m. c0 e7 i5 m
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    , N2 e0 K, ?" _6 d. n0 W
  411. ; means it pretty much reports everything which is exactly what you want during
    & f6 i7 `+ G! b8 |! ~. b& q
  412. ; development and early testing.
    * e" ]# ~/ B4 }  C2 V3 t4 Z
  413. ;( f0 n- {: r2 `% S4 p
  414. ; Error Level Constants:
    9 V. G, l1 J% T# ^0 z
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)- H7 z$ l& s* M) N
  416. ; E_ERROR           - fatal run-time errors9 d1 c9 b* h8 `1 w
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    0 H/ X4 M+ ?3 U- L( k
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    - g& S" o1 j% Y5 c7 D4 t# c) ]0 X
  419. ; E_PARSE           - compile-time parse errors% B. N1 t4 x! h* V! |. ]
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    & N/ ?6 z' k/ S# x+ T- Q  z
  421. ;                     from a bug in your code, but it's possible that it was5 G# S$ u7 m" P" Q. d
  422. ;                     intentional (e.g., using an uninitialized variable and
    ' u# h5 {7 `. |$ I
  423. ;                     relying on the fact it is automatically initialized to an
    9 ~, e) a, R5 x
  424. ;                     empty string)
      G( n- C1 R) d; n. S, }3 f
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
      y) a# D: ]9 U% ^
  426. ;                     to your code which will ensure the best interoperability: R9 a' B- E6 d( m4 P1 O! ?
  427. ;                     and forward compatibility of your code/ I' j/ }5 m( v0 l# [3 W
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    $ \- p9 A  r) |8 R# M' |, E) v# [: P
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    8 V, ?) A6 T/ s, M( m
  430. ;                     initial startup/ h/ r8 \7 C! w  f" E. ^
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    9 [3 `% H6 ^: ]9 Q- V
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)% i% ]2 l) B+ H( E( M+ h
  433. ; E_USER_ERROR      - user-generated error message
    ) q% c, `; Z* K
  434. ; E_USER_WARNING    - user-generated warning message+ g9 J) c* S) e+ _1 G
  435. ; E_USER_NOTICE     - user-generated notice message
    ( y# f$ d7 _9 P' O
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    0 @! S0 b0 [0 K, M8 o
  437. ;                     of PHP
    * v2 j, c( z9 u5 J1 t4 F
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    ' w9 B6 E' \1 y4 X
  439. ;2 x+ I6 V8 Z8 p
  440. ; Common Values:# w4 P, q+ w7 |. J* n
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)/ E- R; v7 n$ T
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    ( a9 `0 z+ L% A2 q0 \* z3 O
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    1 j+ T- ~3 y4 h' y+ z, O
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    4 _/ ?9 _8 h8 |) e
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED8 Z2 `/ e$ }# i3 @
  446. ; Development Value: E_ALL
    ( v' f4 z' i" u8 T  f! |: Y/ J
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT8 m% o4 f. C. f! W  u
  448. ; http://php.net/error-reporting
    ) N( o; C) C7 E" {9 i6 D
  449. error_reporting = E_ALL & ~E_NOTICE6 G6 Y& H* H. Q3 ?
  450.   P- j- F) E* l+ ?/ c
  451. ; This directive controls whether or not and where PHP will output errors,4 }( V7 z  @: ]8 y0 ]3 v' e
  452. ; notices and warnings too. Error output is very useful during development, but
    + C$ R* Z4 K9 V& O  l
  453. ; it could be very dangerous in production environments. Depending on the code
    4 X& D9 U5 _1 n8 X
  454. ; which is triggering the error, sensitive information could potentially leak
    5 m. @$ d- P" \4 u  Q& @2 U
  455. ; out of your application such as database usernames and passwords or worse.
    % A4 Z" n8 O2 ]7 k7 S
  456. ; For production environments, we recommend logging errors rather than
    ) i" y! }/ _( I0 P+ y
  457. ; sending them to STDOUT.$ N/ n( n9 V' @
  458. ; Possible Values:
    ; V5 T% Z- v3 \/ m
  459. ;   Off = Do not display any errors2 @) C7 ], w+ F
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    4 O  p3 X) m' A6 H
  461. ;   On or stdout = Display errors to STDOUT
    ' J) x! Z* Z8 u( Y( Q3 l+ Z/ V- z3 O
  462. ; Default Value: On
    ! H+ y; U' ]  F& @( N3 g: r  E
  463. ; Development Value: On# }% t5 u  F7 A0 F4 g1 V
  464. ; Production Value: Off9 z, ^6 o+ ~1 X/ }. ^" W
  465. ; http://php.net/display-errors
    " I( O' E& e1 f5 Y8 J2 e+ [* [
  466. display_errors = On
    9 q! H- A  ?6 j" f

  467.   P; l! E5 y) k7 |3 J$ V! B! S
  468. ; The display of errors which occur during PHP's startup sequence are handled5 ]/ Q' \9 a* S* W2 Y
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    1 u1 k2 ~4 J! @
  470. ; errors from clients. Turning the display of startup errors on can be useful in' }+ y5 I# l' b! [
  471. ; debugging configuration problems. We strongly recommend you
    5 u0 C& t$ d$ H5 |, u
  472. ; set this to 'off' for production servers.- `( L$ a7 v0 ~1 N: C& k+ s+ T) a+ G
  473. ; Default Value: Off3 ?9 `* R( a+ }3 h4 f8 e, f
  474. ; Development Value: On
    # G3 |- g9 n# e' `6 P% j" m
  475. ; Production Value: Off
    # Z+ L1 ?- H- F, ?6 U
  476. ; http://php.net/display-startup-errors8 P, S9 f, t$ U
  477. display_startup_errors = Off
    % `  S" W$ e& }% C4 r% k  g
  478. " e0 z% \; W0 o& J  ]! G$ `
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    7 \/ r2 N# ]' E2 u! R; D$ @' f7 U
  480. ; server-specific log, STDERR, or a location specified by the error_log
    0 U8 L& j1 L* o: N7 `" U& d3 N
  481. ; directive found below. While errors should not be displayed on productions3 ]' m% t- S+ M' O4 R
  482. ; servers they should still be monitored and logging is a great way to do that.
    5 R' W) I" A0 q% N8 T
  483. ; Default Value: Off
    % f* W! Z% x$ [6 w  J
  484. ; Development Value: On6 p- G0 r0 d  \
  485. ; Production Value: On" y  m2 w9 z! k& K9 V- w
  486. ; http://php.net/log-errors! F1 ^+ x/ j4 T" F7 |# Y
  487. log_errors = On3 \7 b1 Z* B$ _. N, t, u/ {

  488. 7 n/ Q7 L# B8 P! A7 i
  489. ; Set maximum length of log_errors. In error_log information about the source is$ l* r( {, i; u0 f
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    & J5 N3 @( P$ C- k
  491. ; http://php.net/log-errors-max-len
    5 m/ w, u3 E: ?( [! Y9 E6 F+ {7 G
  492. log_errors_max_len = 1024
    + ^+ O: S! X$ u) [" a0 ?7 d
  493. 0 G- b' M% x3 h
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same& r2 b  l" E2 J" b$ O9 B2 w2 M0 n$ _
  495. ; line unless ignore_repeated_source is set true.
    " E$ \  W, L1 S( Z6 i. l& ~5 y
  496. ; http://php.net/ignore-repeated-errors* H9 L$ G& }0 L: X% J+ x
  497. ignore_repeated_errors = Off
    5 d( t* T. \$ D' c/ s$ o5 X
  498. $ M, n% h$ G4 A1 J6 k/ V4 ]
  499. ; Ignore source of message when ignoring repeated messages. When this setting- |0 T, C4 h8 y# A
  500. ; is On you will not log errors with repeated messages from different files or! ^( Q0 Z# a! _3 _2 |, D4 ^/ I
  501. ; source lines.
    " I: g5 R( @" T
  502. ; http://php.net/ignore-repeated-source
    ' o. D. F, H* i+ q$ g. `, @  K
  503. ignore_repeated_source = Off% }* v" A3 S  e1 H, W* N2 O  y

  504. + l, T6 l, P6 X
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on' W6 H# K/ F; K/ t4 `# F) B: u8 i
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    * ~/ E9 B- U' X2 x$ K$ _
  507. ; error reporting includes E_WARNING in the allowed list6 E2 D$ Q3 d. S
  508. ; http://php.net/report-memleaks" T+ h: m& r* P) G( _# Y
  509. report_memleaks = On' ?  `4 P& x- G
  510. ( s- x; c; C$ o) B
  511. ; This setting is on by default.
    6 V6 q! R1 L. N+ n+ h
  512. ;report_zend_debug = 0
    $ @( H5 k$ k/ \' T1 E2 D- ?9 a& ~

  513. $ _, H+ b- {% X# c0 B
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value6 `" R3 |8 u" W) n; a  i  x
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    + v) ^2 u5 \0 p
  516. ; however be disabled on production servers.: p! }% x7 O; e2 X
  517. ; Default Value: Off( T% z* c: n" z( C4 ]( W: Q
  518. ; Development Value: On
    ' L* ?; k, B- P4 B
  519. ; Production Value: Off! @3 S: q( Y) }9 F; x+ C  d
  520. ; http://php.net/track-errors
    * n3 q1 z- U0 \) V
  521. track_errors = Off
    9 a, Y+ ?6 X8 k6 C! S
  522. 3 x% }0 v( W! w+ E& L4 B4 v
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    + I0 j" U+ o) c; Q, g+ A
  524. ; http://php.net/xmlrpc-errors
    * S; F3 u2 A0 |% T6 [0 n
  525. ;xmlrpc_errors = 05 ~4 P9 M  \: Y/ A$ K6 q4 L* a% S7 f

  526. 2 {" e5 C0 P, G# {. r
  527. ; An XML-RPC faultCode. L1 p  q; g5 R7 V
  528. ;xmlrpc_error_number = 0
    7 y( l# U2 {! X  o& o% F
  529. ) l& \! z' \  \  @$ p% P
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    $ t- r# l; I6 n
  531. ; error message as HTML for easier reading. This directive controls whether
    # }' S; t- z; f
  532. ; the error message is formatted as HTML or not.
    5 A) q, p. \* P6 h5 V/ I4 g
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI2 i$ X! b3 O  F7 R
  534. ; Default Value: On7 n- k4 I( ]( |3 R0 W
  535. ; Development Value: On
    6 I, R# n; n3 i8 a  x/ n
  536. ; Production value: On
    # H6 I0 b- K6 o: C
  537. ; http://php.net/html-errors
    - o1 w% I5 P/ M
  538. html_errors = On
    : k1 n% {# q" \& r" \

  539. ' D2 f; \( q  p
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    / e5 y2 {" F  S0 ]4 J4 L
  541. ; produces clickable error messages that direct to a page describing the error3 i3 c# Y* @" f8 E
  542. ; or function causing the error in detail.8 U- T3 P; {5 {5 h  X- l
  543. ; You can download a copy of the PHP manual from http://php.net/docs2 i% l9 k# d  _
  544. ; and change docref_root to the base URL of your local copy including the0 q6 c, F% X7 ], t8 }3 ?
  545. ; leading '/'. You must also specify the file extension being used including  ]( D  n- @. }
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    : q' Q2 T9 z3 h. C
  547. ; case no links to documentation are generated.5 D/ E* a! A+ D* f9 V
  548. ; Note: Never use this feature for production boxes.1 P3 _7 }. o, y
  549. ; http://php.net/docref-root4 `! U" R' X, ]: a# a7 M
  550. ; Examples$ x4 l% i2 r# t( R9 ~4 r
  551. ;docref_root = "/phpmanual/"2 G0 o8 a* R' j  o' f$ T
  552. * r( t* |4 O$ s3 Q
  553. ; http://php.net/docref-ext" ]: A1 h, c! L5 b
  554. ;docref_ext = .html; [: `$ r1 n9 J' j+ G* [7 i
  555. # G. G7 f  _% l- t9 n
  556. ; String to output before an error message. PHP's default behavior is to leave6 j  V$ y7 S- v' x: @* Z
  557. ; this setting blank.
    1 j9 b# y" u- N2 h
  558. ; http://php.net/error-prepend-string, g4 r6 i- {1 k$ g/ z
  559. ; Example:( m& ?, Y& B+ m: Z/ ]% r  r
  560. ;error_prepend_string = "<span style='color: #ff0000'>"# {( e, c# j7 ^8 y& T0 D' q

  561. 3 y+ ]4 x+ T4 l: {3 A2 R( c
  562. ; String to output after an error message. PHP's default behavior is to leave
    ; n+ c2 s8 a& ~9 ~2 n
  563. ; this setting blank.
    * X5 q  Z, K3 c/ r7 Q# d
  564. ; http://php.net/error-append-string- ?9 ]# O  Y* a2 }3 t
  565. ; Example:2 f" J' D& j& _. M7 z# n; v9 @; D/ f
  566. ;error_append_string = "</span>"
    ) Y8 K7 ~4 {, ~9 G9 y$ C  Z

  567. 4 }4 M" M0 f7 c1 j
  568. ; Log errors to specified file. PHP's default behavior is to leave this value; F' {" Q  y# {8 E4 @( B
  569. ; empty.# w" I. ^  i) O* c! D- A- O
  570. ; http://php.net/error-log6 ]8 |: @7 H! R
  571. ; Example:
    7 u% v# {' ~- Z% }& m/ e
  572. ;error_log = php_errors.log) O2 M" J9 X6 c: x$ X  K, l
  573. ; Log errors to syslog (Event Log on Windows).6 h. f* m* \8 F7 I/ S7 m
  574. ;error_log = syslog6 W# M9 H  t0 @; H# C

  575. + O+ p# l* S& L) k* o$ B4 S
  576. ;windows.show_crt_warning( F% y; `& m- d0 ]5 D. Z/ g
  577. ; Default value: 0$ L$ E) i4 I7 L$ `" g1 y5 [8 y  t
  578. ; Development value: 0" x$ U* w) v. M" P
  579. ; Production value: 0% l2 B- s6 v( L9 Q( H" t/ ?5 t
  580. : W; s9 z6 H8 F/ z3 s, V
  581. ;;;;;;;;;;;;;;;;;
    + j- O* m* S) T2 o+ D  s. ~
  582. ; Data Handling ;6 f9 m+ D! D4 n- l* _: D" _+ l
  583. ;;;;;;;;;;;;;;;;;1 Z0 O9 A3 Z+ h( e4 ^9 Z' I

  584. 3 o4 f! `. n. Y8 T/ m; }0 B- y
  585. ; The separator used in PHP generated URLs to separate arguments.
      U% f' P! |. j2 A' j! r3 i
  586. ; PHP's default setting is "&".
    - e* w/ `. q7 i+ R/ b& {3 `+ o/ q0 F
  587. ; http://php.net/arg-separator.output5 o0 L9 E! @7 y5 v8 |. }2 ]* R
  588. ; Example:
    + y" s7 z3 H2 B; e8 T, N' C( E" u; A
  589. ;arg_separator.output = "&amp;"
    * u  P0 {: J6 Q/ y6 R2 X6 h
  590. / q# L9 g! l, E2 ?$ z& ]
  591. ; List of separator(s) used by PHP to parse input URLs into variables.; {% Y/ x$ _# R. |: N8 J
  592. ; PHP's default setting is "&".
    8 q8 Z- C7 e5 l
  593. ; NOTE: Every character in this directive is considered as separator!, ?! J0 n! x2 P; N
  594. ; http://php.net/arg-separator.input1 r; C; d* B2 e" ?
  595. ; Example:
    & T9 L2 q( w. ^- n/ u. N7 G/ @5 D
  596. ;arg_separator.input = ";&"& s! @# @+ h6 h

  597. & ]$ F+ g, {' p+ F- Y/ i- N4 {
  598. ; This directive determines which super global arrays are registered when PHP# y/ `+ `; n% ~7 D" M* z8 y
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super6 n4 a8 n, Q5 r$ ]1 Z5 M
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    5 ]3 c9 y+ f; e" t8 K
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    0 a' @8 q' w: H  J! Q
  602. ; used as the others, ENV is not recommended on productions servers. You
    7 H  A- s  _+ [1 I0 {2 @" g$ A
  603. ; can still get access to the environment variables through getenv() should you5 t' f; y0 f. \# _
  604. ; need to., a' s+ W0 P1 z0 T* n3 U
  605. ; Default Value: "EGPCS"
    1 o$ U0 i4 O+ S' V
  606. ; Development Value: "GPCS"
    . W# y8 U; A) ]- i+ u& A
  607. ; Production Value: "GPCS";
    # V& V9 L# ]( X8 }4 ^* p
  608. ; http://php.net/variables-order
    / B5 d; a6 n4 c" T. @
  609. variables_order = "GPCS"; x* D: U' P4 ]& u# _3 c$ ]6 L, S
  610. ( d: c4 U3 y- f3 q9 a6 R
  611. ; This directive determines which super global data (G,P & C) should be2 s. r+ M. Y" A6 L, ^
  612. ; registered into the super global array REQUEST. If so, it also determines
    ( J3 D1 p% V) I8 `( }
  613. ; the order in which that data is registered. The values for this directive
    2 |0 I( N# h  A6 o% E) I" P
  614. ; are specified in the same manner as the variables_order directive,$ N' v' l- i% @+ L/ `
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set: A+ C# l! P* I0 o% {
  616. ; in the variables_order directive. It does not mean it will leave the super0 Q& {) |! C$ Q3 R0 ^
  617. ; globals array REQUEST empty.
    % a4 y% ^* L8 ?. h0 p0 l4 a! h) u5 k
  618. ; Default Value: None
    , U. [/ b$ g' m
  619. ; Development Value: "GP") i: g# {/ V' V
  620. ; Production Value: "GP"
    ' F5 p  g9 ^& [1 C: @# ]
  621. ; http://php.net/request-order
    & X. z( J, ?! l$ ~2 u6 @2 ~
  622. request_order = "GP"
    - g7 Z0 R/ i4 K. e
  623. 8 _5 u  a" m' W8 s3 U
  624. ; This directive determines whether PHP registers $argv & $argc each time it3 t0 [# e9 Z! E
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    9 u# Q% Z5 i4 \. _5 g4 `
  626. ; is invoked. $argc contains an integer representing the number of arguments
    / q- {2 B7 \8 Z' X' W) x) `
  627. ; that were passed when the script was invoked. These arrays are extremely
    2 D: I% n- h5 U7 U! S2 F' q5 @
  628. ; useful when running scripts from the command line. When this directive is
    9 }) U) [) T% \: }
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    $ J6 H7 T7 S# L$ m; H4 M" g
  630. ; a script is executed. For performance reasons, this feature should be disabled
    ( j% _9 d9 T5 ~' c3 I& p# Q
  631. ; on production servers.
    1 ]& k, E6 R$ V& r7 f1 ^3 d
  632. ; Note: This directive is hardcoded to On for the CLI SAPI4 j& |8 f# m0 B5 ^2 k' R. g$ v
  633. ; Default Value: On4 h8 X5 O' ]7 f& c- q/ y2 h" {5 W% L
  634. ; Development Value: Off" v3 f+ P" X8 L3 I, r$ K
  635. ; Production Value: Off7 L9 |3 i+ t# p0 l) j6 U6 b
  636. ; http://php.net/register-argc-argv
    * s5 S  Q9 \$ I( F, Y5 U! n/ L
  637. register_argc_argv = Off$ n  F1 M3 l2 G, b4 Z! b2 L" J
  638. ; r' Q. H# K' }9 D5 w0 {; c
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're3 k8 x7 j7 F9 J5 Y% q# i
  640. ; first used (Just In Time) instead of when the script starts. If these* p8 q5 e; ~6 c1 w  [( y, m/ }
  641. ; variables are not used within a script, having this directive on will result
    * [0 X2 \. P9 j7 O# O6 L
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled/ T3 Y6 j2 K# R' i
  643. ; for this directive to have any affect.% t9 O6 g0 f" n9 r$ x' E( s
  644. ; http://php.net/auto-globals-jit% f' h1 |/ q- P5 a3 ~
  645. auto_globals_jit = On0 J1 L' g2 C) h9 g) L0 i7 f

  646.   a3 b/ }7 I( L! y
  647. ; Whether PHP will read the POST data.
    3 _6 q( Y- P2 u- @& M1 |% v
  648. ; This option is enabled by default.
    + Z0 A) M+ z5 e3 I
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    ( H2 f& A2 M. `2 L7 T
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    9 N6 b0 ]$ [5 F5 q* m
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    % G- M  V* w1 h5 V* `
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.9 y4 x. {2 q2 C/ C8 H
  653. ; http://php.net/enable-post-data-reading
    7 y$ E+ R6 L: [- R8 K
  654. ;enable_post_data_reading = Off( M2 ?: U0 x# b- _

  655. " y0 t3 y) h" t
  656. ; Maximum size of POST data that PHP will accept.
    0 ?8 J  a3 \7 x* E+ B0 s
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading  z2 J. f4 J$ K; Q( J/ N5 P0 n
  658. ; is disabled through enable_post_data_reading., E; l: d  P& W! r6 ^& c/ E
  659. ; http://php.net/post-max-size) f1 o: s: ^- P6 M/ b6 x
  660. post_max_size = 50M0 g$ W6 L8 e+ h8 W+ [

  661. & P$ R  C- k2 C
  662. ; Automatically add files before PHP document.
    7 Q+ ~6 H. |- p& e" x" x
  663. ; http://php.net/auto-prepend-file
    " e7 k7 V' v  S/ c
  664. auto_prepend_file =
    8 ~( {# t# f  }

  665. . ^  _/ ], k& R) f
  666. ; Automatically add files after PHP document.; G5 F& \) e2 `7 z( @! v7 t
  667. ; http://php.net/auto-append-file
    2 \4 |7 y. `; u
  668. auto_append_file =$ c" ]: s7 C( I4 p! o

  669. 4 i2 g; X5 T, J7 P
  670. ; By default, PHP will output a media type using the Content-Type header. To
    2 Q9 ?- _, w: W5 f% y
  671. ; disable this, simply set it to be empty.4 U2 y8 G8 i5 |
  672. ;( b9 [1 z5 g0 D
  673. ; PHP's built-in default media type is set to text/html.* A, j% P% g4 Y. f# e7 J8 I6 y
  674. ; http://php.net/default-mimetype
    & F# B8 Q, \2 I8 Q. Q
  675. default_mimetype = "text/html"
    4 U8 |) Y! f, d9 O0 H  \
  676. : p6 d6 L( k9 c3 v3 M# v- l
  677. ; PHP's default character set is set to UTF-8.2 K$ J- i! J' k4 e( |+ ?
  678. ; http://php.net/default-charset9 _; n: c8 I( J/ Q. A" F$ @
  679. default_charset = "UTF-8"* z+ a3 h3 I2 f9 z' U
  680. * L2 n/ O- B5 @4 H" a( P  S' ~4 ~
  681. ; PHP internal character encoding is set to empty./ K5 q; u* U' i. W. w: ~3 Y
  682. ; If empty, default_charset is used.
    4 z7 J9 N% A/ I: ?* R2 z
  683. ; http://php.net/internal-encoding
    $ b1 O6 a; e( E+ R8 Z2 E/ @
  684. ;internal_encoding =
    0 f+ V" O+ v7 V5 J

  685. * J4 y% a- z+ l& s, [; I0 x6 s( {
  686. ; PHP input character encoding is set to empty.
    2 f2 T$ T: W% a' _  c$ n/ Y( U+ r$ M
  687. ; If empty, default_charset is used.
    : i$ \$ x4 M7 V! _( l
  688. ; http://php.net/input-encoding
    " t. B0 ^4 D7 E. B, c( \8 s
  689. ;input_encoding =0 K7 T' q5 R0 v# y. q# O

  690. ; t' Z5 e2 R1 Y- M" b3 ^7 R
  691. ; PHP output character encoding is set to empty.
    3 _: |) q/ P1 q0 r
  692. ; If empty, default_charset is used./ v# V: |& e7 t+ p
  693. ; See also output_buffer.
    4 Q8 ~3 V, ~9 x8 h" d. T  E
  694. ; http://php.net/output-encoding
    0 C4 H& Q# t5 j7 b. e; D9 ^4 M# u
  695. ;output_encoding =
    8 M! v2 {; n5 t1 q1 [' O2 K8 q, u
  696. ! o) d& I' M8 M
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is& q: y' t' X2 g" K
  698. ; to disable this feature and it will be removed in a future version.
    * u5 ]6 s: E+ }4 O0 b
  699. ; If post reading is disabled through enable_post_data_reading,
    1 A+ |1 N* p4 B
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    0 J! O! n$ a$ M) u; A
  701. ; http://php.net/always-populate-raw-post-data
    % _/ P9 r4 E+ v  ?( ]  ]4 r: S! N
  702. ;always_populate_raw_post_data = -1* H0 c, ?! n# ~. B8 Q

  703. 2 i  x4 M, A  h$ x  ?& ~, [
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    2 y) @# s0 e# |
  705. ; Paths and Directories ;
    4 {7 @9 X, ]/ g: p1 Q! G
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    5 t5 @! ?- D. V. ~0 S+ [

  707. , U" J  v! C* m; d( H2 m+ A
  708. ; UNIX: "/path1:/path2": y' }' G  I: Z, w! R8 q# ]# h" T
  709. ;include_path = ".:/php/includes"" A# n) R6 n) M9 b0 S# w" o4 ^7 \, Q
  710. ;
    8 d( z' T0 y8 u  v1 B9 t( {" i8 M' ^
  711. ; Windows: "\path1;\path2"
    " W% h/ b# |" H" O6 X5 c
  712. ;include_path = ".;c:\php\includes"
    ! d0 K/ m8 i7 b' Q1 q
  713. ;' x! Q! @+ s' x' ^* J% m
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear": V7 a9 ?+ Y. I
  715. ; http://php.net/include-path, R/ ]1 x/ R! y, [( f( E+ }
  716. ) \0 ~3 e7 I0 D/ f, S2 N& e
  717. ; The root of the PHP pages, used only if nonempty.( U! ]: d3 ^2 ~  p: ]
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    & S5 \2 s) k! i4 ]0 U! r
  719. ; if you are running php as a CGI under any web server (other than IIS)
    8 \, G) z9 u, z% s$ m6 K7 k
  720. ; see documentation for security issues.  The alternate is to use the
    7 o* R( a+ k+ @+ @7 L
  721. ; cgi.force_redirect configuration below
    # `5 b3 e6 A7 q
  722. ; http://php.net/doc-root
    2 S' g& M5 H0 O: Q8 @4 ~
  723. doc_root =
    # k* m6 q; c& `% c# z+ m

  724. $ U- Y% {0 I7 Q1 K
  725. ; The directory under which PHP opens the script using /~username used only
    " [. n! C( e4 }+ N8 ^/ |
  726. ; if nonempty.  K4 G  d) G( V% N" @/ V1 u* |& |+ A
  727. ; http://php.net/user-dir
    9 @" w# k, X. W: R5 b% m& B
  728. user_dir =& S/ ]* I1 e" s; T. ^; M

  729. & u6 Z" Y0 c8 r5 V1 t- i
  730. ; Directory in which the loadable extensions (modules) reside.; B( a* Z; u4 O8 X0 m; X5 n; b
  731. ; http://php.net/extension-dir
    , a6 X% d- u' ]3 v; l% a0 n3 Q) t
  732. ; extension_dir = "./"
    2 o3 \- @7 l# G7 }
  733. ; On windows:, E, q4 X; Z5 W$ B6 H
  734. ; extension_dir = "ext"
    ' k: S9 E4 R$ T7 K

  735. - ]  @$ ?% k% v/ p
  736. ; Directory where the temporary files should be placed.; C3 ~0 m! g- i3 H3 O, ~6 g/ g, w
  737. ; Defaults to the system default (see sys_get_temp_dir)
    / }0 H8 V/ {6 T% t& e/ e
  738. ; sys_temp_dir = "/tmp"
    " c; S" U/ E9 x! [- p7 G

  739. ) j  n) p4 T' ]  P4 Z9 j
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work+ w, O0 R6 @' N- i9 f: w$ ?
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically: W3 M& i- P$ D) Z. D2 \
  742. ; disabled on them.
    4 ?( A/ m* U; n, W9 h# ?$ ~
  743. ; http://php.net/enable-dl
    . D1 N* X% q" o1 d  s4 C& L
  744. enable_dl = Off, b1 W4 n+ I5 d! q( W; Q

  745. " ^4 }# o) G1 w3 s: D# E8 X2 y% [3 K
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under4 X, G+ |: O- K% u
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can) |9 a8 U7 g+ I8 x6 K) e
  748. ; turn it off here AT YOUR OWN RISK3 Q+ b# I1 A! L  K) N3 i. x
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**. e4 k9 I' c7 y
  750. ; http://php.net/cgi.force-redirect) Z) m- Q% e9 w9 A/ Y8 M+ X( m0 V
  751. ;cgi.force_redirect = 1
    9 f" |% `! v  r: c2 ~

  752. 4 G' V* |) |9 J# l
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    ' W& b  P& a5 M, n0 l! t+ C: g9 H
  754. ; every request. PHP's default behavior is to disable this feature./ P; Q& v6 t1 v; `, R
  755. ;cgi.nph = 1) N, r5 {* T( v( h% j' ]8 s
  756. 4 d  D9 k4 [, a6 x
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape* L! X$ k  C1 T' Y" z, w
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    ( [% C. f: P1 F$ r4 K
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    ' T, r$ j% \1 O5 X$ O% y
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.: ]! s1 d9 G! g& [3 u
  761. ; http://php.net/cgi.redirect-status-env
    2 J  `1 B" _/ Q
  762. ;cgi.redirect_status_env =
    & H; N2 a2 T4 Z5 ~3 `

  763. 3 F: o3 X1 ]8 P& L8 e, F
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    3 I) O8 k8 e3 r) @) Q" s: N1 u
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    3 y) M5 e& v0 T/ z5 z8 A
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    4 y3 {, {3 b" S% Z# q$ {9 b3 x0 v
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting- y0 C5 l- C% @6 |6 O& C
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    : p6 A. H# }; t0 N: n7 {
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    8 A; f9 H/ z3 K4 l- P, V  _
  770. ; http://php.net/cgi.fix-pathinfo7 k( U- j- z8 K* O
  771. cgi.fix_pathinfo=1
    ( Q- y' D) H) M) N! K0 C

  772. + }+ c- ?* I& C
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    ; I0 J5 f* e- s0 O/ B2 |
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    2 m7 j/ Q1 Y9 k! P
  775. ; http://php.net/cgi.dicard-path0 Y. }- }9 `. _0 J: H4 F; L
  776. ;cgi.discard_path=1" l, `8 M: f/ A0 x
  777. 3 H, P5 Q! o" }3 [6 _/ Z3 D2 t
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    8 c$ x5 h+ Z5 ^2 l1 K, M# t
  779. ; security tokens of the calling client.  This allows IIS to define the+ o/ f( t* G* G- J
  780. ; security context that the request runs under.  mod_fastcgi under Apache- j. U" X0 ^- A- j( l
  781. ; does not currently support this feature (03/17/2002)7 f" U' V- i6 s: |# l
  782. ; Set to 1 if running under IIS.  Default is zero.1 ^3 c( d+ c# l, p3 z; e$ f8 d9 |. }
  783. ; http://php.net/fastcgi.impersonate
    6 z  T+ d3 D9 \* |: r, W. q1 ?
  784. ;fastcgi.impersonate = 1
    + H# \  r# w0 m# Y& _
  785. ' [) h, G- C: _+ V5 }5 N1 {
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    0 l7 V2 l! o# F
  787. ; this feature.. G4 d" |. l$ \; S+ U1 e
  788. ;fastcgi.logging = 02 n$ z9 E, n# t/ C) E
  789. % s7 J5 [; }: N$ E, m" N
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    & Z; A: D( P' F+ j0 T
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that& |1 M1 @3 z% V$ M2 V$ B
  792. ; is supported by Apache. When this option is set to 1, PHP will send8 W2 a' M( [  b- ^, [" ~# ?* T
  793. ; RFC2616 compliant header.& }' e( r! i; q# u( X" e! S
  794. ; Default is zero.
    % k- A0 o2 |0 _' J
  795. ; http://php.net/cgi.rfc2616-headers& `7 J0 w0 t+ B1 l6 K. x! D
  796. ;cgi.rfc2616_headers = 0- S4 R& o" T/ p, p) S; B1 i0 H

  797. , i+ p; P$ q( g2 H7 k
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    3 C# t( ^1 j7 c& X* O+ i& }- ]: S
  799. ; (shebang) at the top of the running script. This line might be needed if the
    ( P5 G7 E0 [; E
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    1 B" g1 {, T% J
  801. ; mode skips this line and ignores its content if this directive is turned on.
    ! L! ~6 ^" i9 A# Q9 D
  802. ; http://php.net/cgi.check-shebang-line
    ) V" D5 g1 K% b; W/ @$ B
  803. ;cgi.check_shebang_line=1
    . T9 `, C6 a3 Q- e+ }
  804. ) x3 d6 j1 d' `6 }5 h$ ?, B: }4 C
  805. ;;;;;;;;;;;;;;;;0 ?4 H5 N% J; y5 Q; a7 K+ O) A. c
  806. ; File Uploads ;( I% L- N( m, ]! F/ B0 [
  807. ;;;;;;;;;;;;;;;;/ k4 \3 B- n; a3 |! e5 n
  808. : G: N/ Y; `; l2 M
  809. ; Whether to allow HTTP file uploads.' o( Q+ F0 E; J. o5 D
  810. ; http://php.net/file-uploads& K% n" x4 U3 H. S
  811. file_uploads = On
    : u& W1 B$ G' k3 m
  812. 5 l/ z4 E, f% u1 e9 L. j( d
  813. ; Temporary directory for HTTP uploaded files (will use system default if not7 I+ c" ]7 C$ j& l  e! a
  814. ; specified).
    + H7 ]1 X  o) Q5 s/ a7 M9 U
  815. ; http://php.net/upload-tmp-dir8 f5 M+ _6 S( V5 |  _
  816. ;upload_tmp_dir =1 V- W7 i* M# k* \- }8 a/ ]
  817. + `7 ~' h' `5 R0 l, P1 N
  818. ; Maximum allowed size for uploaded files.; W; V) Q! f1 I) X% ~- Z
  819. ; http://php.net/upload-max-filesize
    # P  c; N2 @+ v, |
  820. upload_max_filesize = 50M
    : ^' v4 P9 P0 W* k) n) T
  821. ! S! k' v9 _8 m! J# E
  822. ; Maximum number of files that can be uploaded via a single request% I% C/ ]* _. o- j3 e$ `( R
  823. max_file_uploads = 20
    ' g9 T; _: `" w. c

  824. 1 x( y4 }, E* _
  825. ;;;;;;;;;;;;;;;;;;1 O, |! k$ t+ G$ o3 R* u8 m
  826. ; Fopen wrappers ;
      {' z6 j( E' P/ H0 E+ |2 A5 h
  827. ;;;;;;;;;;;;;;;;;;* Z' ~( x! \: f, h' B/ V$ C# P

  828. : u6 Q) t; a6 {: q0 `/ G
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.' z! D1 i# ]$ F* _1 H( ?& e) n/ O
  830. ; http://php.net/allow-url-fopen$ i# K. C" S* U
  831. allow_url_fopen = On
    ! O7 m8 i7 l9 B9 I# j1 H

  832. ! ]& E  j) J2 c4 ]
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.! F. l& q1 \3 j. H  n: D
  834. ; http://php.net/allow-url-include
    3 q" X- C& D6 Z& M8 j/ R! D
  835. allow_url_include = Off
    4 W1 K5 g0 d/ B
  836. / U  d1 ?$ t3 Y/ z5 O
  837. ; Define the anonymous ftp password (your email address). PHP's default setting  v/ ~6 E' ]3 s* q' I6 V2 X
  838. ; for this is empty.( [" ?! M+ s( h
  839. ; http://php.net/from
    ! {2 s4 A( s& o" a3 B+ u* K
  840. ;from="john@doe.com"' M) c: C5 o: N) O( o7 z
  841. 3 f$ z7 s- R2 d! y, m# q
  842. ; Define the User-Agent string. PHP's default setting for this is empty.2 j: Z5 @6 p- u' T% k( H6 t
  843. ; http://php.net/user-agent
    & z5 w2 }8 C. H2 p
  844. ;user_agent="PHP"
    " l) P( ?+ l$ h6 i- M$ {) _& d

  845. 7 {% M/ O3 M' R* R* N0 z: g/ H
  846. ; Default timeout for socket based streams (seconds)
    9 Q8 E) Y, t- U. N8 C- y# h
  847. ; http://php.net/default-socket-timeout
    + g# V% R5 \+ M9 S7 U) i, p0 r
  848. default_socket_timeout = 60* P3 v0 E0 h+ u" ?
  849. / J. t3 Z  D/ p! K
  850. ; If your scripts have to deal with files from Macintosh systems,  M' Y7 ~0 w. T: J1 `
  851. ; or you are running on a Mac and need to deal with files from
      I* V" H& P7 X6 v' c/ h
  852. ; unix or win32 systems, setting this flag will cause PHP to
    5 x6 [2 k. I4 F. P8 H3 q. W# u$ C
  853. ; automatically detect the EOL character in those files so that
    9 s2 z1 m6 f5 W( P, Z" i: [
  854. ; fgets() and file() will work regardless of the source of the file.
    4 F$ h: f3 H( g% b
  855. ; http://php.net/auto-detect-line-endings. _( @1 H) O9 \9 N8 ?* \
  856. ;auto_detect_line_endings = Off/ I9 Y$ E1 B2 G( `+ O
  857. % W) @+ C) y" O- J; r5 G1 p  u
  858. ;;;;;;;;;;;;;;;;;;;;;;
    9 R% }4 g/ ]4 b; R
  859. ; Dynamic Extensions ;, \+ o; }/ U( ^3 ^) J1 p5 z. Q: z
  860. ;;;;;;;;;;;;;;;;;;;;;;% }* R) d# w- c% r/ n6 J# O

  861. $ M9 V: ~% T: z1 a( m8 a
  862. ; If you wish to have an extension loaded automatically, use the following
    ! u; v4 C- P9 E8 @
  863. ; syntax:
    . T& p7 b& w9 W
  864. ;+ R4 X3 \" H) Q0 C2 ^4 e
  865. ;   extension=modulename.extension
    6 I5 e. s3 t/ f9 Y; J
  866. ;
    / A8 e' A" I$ S# a2 `6 |0 Y
  867. ; For example, on Windows:
    9 z# V% c6 j; Q" c( r: p8 D- S
  868. ;
    0 R8 a7 P  a: W! R
  869. ;   extension=msql.dll
    8 D' Z7 V  C( b) j
  870. ;
    0 L+ X# o: a6 D( L0 z! ^' y* ?, A
  871. ; ... or under UNIX:5 O4 [0 Z9 f* l
  872. ;; d3 S- W- o% y9 L; A0 J' f
  873. ;   extension=msql.so
    * q2 Y4 p! {! p/ f* {* x: R
  874. ;
    8 ]4 Q5 y+ C, U4 [! g. E2 t4 Q2 K
  875. ; ... or with a path:9 ]0 i9 z; U6 T) K
  876. ;; ~  R% B3 {% `9 f: @
  877. ;   extension=/path/to/extension/msql.so  Z$ |0 h6 q$ v
  878. ;
    6 c8 }2 j, B! z% F
  879. ; If you only provide the name of the extension, PHP will look for it in its8 c  _! e. q  u* g( e; r
  880. ; default extension directory.  |6 S& l% y8 {1 z3 T
  881. ;% F" O; G  I% j8 b" W
  882. ; Windows Extensions+ a0 v3 p0 I, i
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    " n* Y8 Q% q* v7 u9 ?! m. S
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)% t& q. `( A! Q5 Z2 ~
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    ; i9 i; g* w8 S! F# h
  886. ; Be sure to appropriately set the extension_dir directive.
    & u8 J2 A; R( w/ c7 E1 D3 N' E8 u
  887. ;* _) O4 ?3 s' m$ ?+ W, s( y6 \( I
  888. ;extension=php_bz2.dll3 X' e  ]0 I) \& i( ]1 O! p9 H6 W
  889. ;extension=php_curl.dll0 @# c( @5 f9 d& O
  890. ;extension=php_fileinfo.dll. E7 B5 ?/ y1 v/ B- _" e6 S* J6 w
  891. ;extension=php_gd2.dll
    2 E! g% G& Q" p6 Y
  892. ;extension=php_gettext.dll5 S; j1 F) K  a& a
  893. ;extension=php_gmp.dll
    ! i5 S% z) A" K; C6 t3 S. h$ J7 q
  894. ;extension=php_intl.dll
    / T' g6 z) G1 J. f% H4 B; \
  895. ;extension=php_imap.dll
    & p2 a  R# g0 D" l5 }# Z6 e, M; e
  896. ;extension=php_interbase.dll
    $ m5 m, |$ T# \% X
  897. ;extension=php_ldap.dll
    ' O: i4 D* m$ A
  898. ;extension=php_mbstring.dll1 k  Z# h2 j5 \* n) r
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it" {' i- B' W* u& }
  900. ;extension=php_mysql.dll  p( S( l: {$ h0 M' Y! e( N. M; n) x
  901. ;extension=php_mysqli.dll+ H  b  c3 u% V& f0 _4 M
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    + c! }" ~& L) I+ C' \
  903. ;extension=php_openssl.dll
    2 @7 P  x5 l* A3 e2 H4 s
  904. ;extension=php_pdo_firebird.dll& m2 s8 i' H; r, I1 }2 m6 H. {8 O
  905. ;extension=php_pdo_mysql.dll
    " ~" K, _" K) I% l- e) ?4 x& W
  906. ;extension=php_pdo_oci.dll
    ' D0 o( P6 n! c5 X1 ~$ ]7 q
  907. ;extension=php_pdo_odbc.dll
    3 m$ f6 H( W) c6 V
  908. ;extension=php_pdo_pgsql.dll  J( i  F3 }' S/ A7 ^! t; G$ [$ `7 E
  909. ;extension=php_pdo_sqlite.dll, b: l8 w4 e0 J, h3 x' [; H7 X
  910. ;extension=php_pgsql.dll
    - z5 g2 |- Q+ O9 q. V$ ^
  911. ;extension=php_shmop.dll
    + P  X" S4 T+ `- t/ Z

  912. ! ]% f* N1 W; r; y% u1 k
  913. ; The MIBS data available in the PHP distribution must be installed.
    3 k" g6 E! e) h! G8 U4 C
  914. ; See http://www.php.net/manual/en/snmp.installation.php 0 \3 d- g+ J  [; N: Z  L
  915. ;extension=php_snmp.dll3 \# O2 ~' `5 {4 M
  916. " A) M! y5 R& e2 `
  917. ;extension=php_soap.dll) Q/ w% Q$ j# Q* A' |1 H
  918. ;extension=php_sockets.dll
    0 U7 j' v) y6 {; i$ F9 w
  919. ;extension=php_sqlite3.dll" q) H; y) W% X; i" r0 O+ L# j! t: H
  920. ;extension=php_sybase_ct.dll
    0 x3 n% [7 B0 \$ s2 ]
  921. ;extension=php_tidy.dll. x3 K1 G% r; E  x1 X8 Y
  922. ;extension=php_xmlrpc.dll
    ; z  u9 t8 a; ~1 l
  923. ;extension=php_xsl.dll
    ! L- I$ H8 z9 n8 o6 w2 ?: H

  924. ! k$ w4 U0 p. k
  925. ;;;;;;;;;;;;;;;;;;;8 o& o7 d0 y1 @: I$ f) l
  926. ; Module Settings ;
    # J/ j/ ~% e' ?2 ~
  927. ;;;;;;;;;;;;;;;;;;;
    - I- B8 J) a8 K

  928. ' r- g# Y! J5 O6 R0 |3 f3 d
  929. [CLI Server]
    " n9 L4 {) j' f4 `2 ^* f
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
      e- a* v+ s$ s) g; h
  931. cli_server.color = On
    ( y+ R( H' q3 L/ y2 S

  932. ! u8 c& l# B, i9 t+ ]" ~
  933. [Date]
    6 i; Z3 h  D; w/ ^- d3 W' W
  934. ; Defines the default timezone used by the date functions
    8 [7 w" O7 N- |0 s' v2 V, _# g) ]
  935. ; http://php.net/date.timezone' k- C, Q' ]# B: G$ g
  936. date.timezone = PRC
    4 A& j. r. G0 j: x
  937.   S. e. L  Y2 ~# Y3 N+ z" ^
  938. ; http://php.net/date.default-latitude
    % W7 o5 P6 v6 p3 K7 k/ M# S
  939. ;date.default_latitude = 31.7667' s* D+ e: Y, o5 v9 T& S( G: ]
  940. . a, I: d. z: a
  941. ; http://php.net/date.default-longitude- L. b4 n, U" R) L  y
  942. ;date.default_longitude = 35.2333' R# }# {/ Q4 Y5 L1 ?* f
  943. 4 h. M9 ~! A/ G
  944. ; http://php.net/date.sunrise-zenith! {1 g# M. r1 ?7 f! ~5 Y
  945. ;date.sunrise_zenith = 90.583333: S$ O; g0 L2 y. X& b
  946. : X4 L( E& S! X7 [) l9 z, q( `7 E' `
  947. ; http://php.net/date.sunset-zenith5 K3 ^( p5 h$ |2 R0 f4 J/ H
  948. ;date.sunset_zenith = 90.583333
    . z- h" U% ]( L6 @. o
  949. % q) a# `6 F* s& \' a! b
  950. [filter]* x* V* V) N/ O3 c
  951. ; http://php.net/filter.default
    % \) \* K* x: m: p) [) S# r
  952. ;filter.default = unsafe_raw
    8 ^* n# {- d# s% C! K1 v" @' {

  953. % c( w5 q+ n. O2 c
  954. ; http://php.net/filter.default-flags2 M9 j& u) D% {" u4 A3 ~4 s! ?9 i7 j
  955. ;filter.default_flags =$ \! u$ @! C  y: Q- t# \

  956. 6 h  |7 E$ [$ |$ S) ]
  957. [iconv]
    + Y  n- M/ ?! u- J, [( c( i# [" m
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    0 g! I/ J) J$ ?' [4 M
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    8 u  {: S) _% {" i# g3 B# z
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    # y% A& v' h6 k, }! `5 [1 }; f
  961. ;iconv.input_encoding =
    $ `% c. H% q1 f
  962. ' Y! c1 ?- W3 _: k4 {' C, S5 R
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.6 x7 n, A% {. b& V) v1 S0 J
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ( C/ j3 v. `8 }+ \; |
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding- D3 \2 T0 t6 D! _7 F
  966. ;iconv.internal_encoding =) O( d  s2 ]' g* s7 Z
  967. $ Y! K( d% {( d, u
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    % q* c4 [& W+ X5 z1 ]- c( h
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.' I# P' r  f4 }4 D* j
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding. ]# p$ c. `: d3 @
  971. ; To use an output encoding conversion, iconv's output handler must be set( `9 H! u8 @+ {, a3 {
  972. ; otherwise output encoding conversion cannot be performed.  p: |: F% E4 r: W0 H: ~
  973. ;iconv.output_encoding =5 m0 p3 V) V8 R1 \0 P
  974. - ~9 _* Q+ E$ K
  975. [intl]* J- ]4 x* S) B( i' H4 f2 x2 w
  976. ;intl.default_locale =  I- d$ S7 E9 l) w& Z5 W
  977. ; This directive allows you to produce PHP errors when some error; V  Z2 \. Q& g9 p
  978. ; happens within intl functions. The value is the level of the error produced.
    4 M# y# t. M. m3 M
  979. ; Default is 0, which does not produce any errors.
    ) P% y2 `6 E: j! b* L
  980. ;intl.error_level = E_WARNING
    ) O4 s5 ~5 w4 E5 Z
  981. ;intl.use_exceptions = 0
    # B+ Y3 J6 Z$ T  o9 Q
  982. # g! a+ Y/ l/ g7 N
  983. [sqlite3]4 l" X8 p0 w, ]& y/ s* B  X
  984. ;sqlite3.extension_dir =
      l& O6 G5 X: u" m: a& @0 ^

  985. & r& D0 I8 L4 B' ]. \. {
  986. [Pcre]
    3 a  A8 x- h! M3 b3 Q3 v
  987. ;PCRE library backtracking limit.! i8 |7 j3 j: \
  988. ; http://php.net/pcre.backtrack-limit: v- ]% {% `- z
  989. ;pcre.backtrack_limit=100000+ D' k9 w; f& g7 H- ~, ^
  990. 5 F6 r6 c* J) U2 Q$ Z" h1 G+ X
  991. ;PCRE library recursion limit.
    % x) ]; g7 M9 u) r- A6 f# h
  992. ;Please note that if you set this value to a high number you may consume all! ]( [/ o# |" m
  993. ;the available process stack and eventually crash PHP (due to reaching the
    0 X  d' C+ d& b" K4 \& a0 `1 U* E
  994. ;stack size limit imposed by the Operating System).
    7 W4 Q! a2 b1 d: u' j
  995. ; http://php.net/pcre.recursion-limit
    8 _: b( W2 L$ w/ L' r0 N
  996. ;pcre.recursion_limit=100000! M6 Q8 l% v3 _, i* z. Q
  997. 5 Q) R* m8 \: \3 O  v
  998. [Pdo]# y: p3 `9 O* A0 U
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"% V+ f+ k  t& b5 g
  1000. ; http://php.net/pdo-odbc.connection-pooling/ J7 J; O( |0 ?9 k; H4 L( e
  1001. ;pdo_odbc.connection_pooling=strict
    : Q3 Z6 t2 ^8 p3 [

  1002. 3 K# r! G) L6 l3 Z; A( t( \& ?8 T6 e
  1003. ;pdo_odbc.db2_instance_name3 F/ o3 T  p6 |
  1004. & F0 y% W! M* b1 o5 U" v
  1005. [Pdo_mysql]
    5 O0 [# I4 l: p. l7 U
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    - q! `3 l  B3 q" z( T2 ]8 W' a
  1007. ; http://php.net/pdo_mysql.cache_size7 T- O) a  a4 W! E  X- o
  1008. pdo_mysql.cache_size = 20003 o, a  U8 W# C

  1009. 5 Q  y% u: P* d7 u9 C7 U
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in  ]! ~4 |* c% M- q3 P/ B4 k7 F& M
  1011. ; MySQL defaults.' }8 l+ V6 q8 t5 t& C" M
  1012. ; http://php.net/pdo_mysql.default-socket
    1 C$ Q; _4 t- }9 S5 A8 X9 [
  1013. pdo_mysql.default_socket=$ q; j4 b' @& O4 d8 ~2 ~" P/ W
  1014. . ?+ u& o* x7 ]" M
  1015. [Phar]
    " w/ G+ d+ \' S6 y# E
  1016. ; http://php.net/phar.readonly, I& c9 n+ E/ j) j8 T# F1 A8 d, }
  1017. ;phar.readonly = On
    : T2 G7 ^$ o5 _( ~5 w! x
  1018. : ]) x3 j; c: I' X( a5 @
  1019. ; http://php.net/phar.require-hash, _4 u! Y# H9 ~. m! s! k/ _9 K
  1020. ;phar.require_hash = On) F3 V" m4 {$ L2 N
  1021. 8 O0 n6 X' P8 W2 V9 Q1 c
  1022. ;phar.cache_list =; d1 |- X/ N: c4 J1 q4 J& Q

  1023.   `$ i: B. E! T' f+ ?$ u. H
  1024. [mail function]) m' [- h6 s# U  V
  1025. ; For Win32 only.
    - N0 ~1 j" b) h5 @  _
  1026. ; http://php.net/smtp. @: F9 d( `% K2 Y* W
  1027. SMTP = localhost; X8 S; i" ?) y, G8 S" h
  1028. ; http://php.net/smtp-port1 G7 |7 F* T. ^% {
  1029. smtp_port = 25" s- }( \0 x3 O1 R. }

  1030. # N+ {5 d0 E. d- W
  1031. ; For Win32 only.
    % D  x8 o1 G# E
  1032. ; http://php.net/sendmail-from  F: _% V2 O) x
  1033. ;sendmail_from = me@example.com9 ^  Q8 c3 s! P0 |) r8 [/ |5 P7 D

  1034. $ U9 y4 P, U1 N2 _, h, |
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").3 m. I) k2 [1 g
  1036. ; http://php.net/sendmail-path4 t. ^6 x2 w5 z9 a/ O: D
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    / ]& w; |* U8 O5 u7 l4 y

  1038. 3 k1 T( F; I& z# _
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    % y% v. p% a2 b$ P3 m3 X1 k" {
  1040. ; to the sendmail binary. These parameters will always replace the value of
    0 s- }) z) J0 G
  1041. ; the 5th parameter to mail()." `  ?4 L* j" q9 {, ]. B8 u
  1042. ;mail.force_extra_parameters =
    8 h+ q; O5 E9 P- }$ Y( K
  1043. . y" V7 w0 E. g% K/ G. n8 _: t  ^
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename6 J( R: ^4 n4 N. I: ^. J2 H) J# Z
  1045. mail.add_x_header = On7 U% D5 r/ G' a1 Z& C- Y& S" d
  1046. 1 Z7 f+ n6 }; k5 g/ v8 o8 a" |
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    - B7 M6 v2 T: O0 _' I
  1048. ; the full path of the script, line number, To address and headers.
    + \# v7 }1 A( e( N1 Z2 P
  1049. ;mail.log =
    9 X0 J1 i3 @& E/ U  i
  1050. ; Log mail to syslog (Event Log on Windows).
    4 C  e9 }+ [6 Q; f, N
  1051. ;mail.log = syslog
    . x8 B5 W3 B8 \. d1 `

  1052. ) t& H& f5 g, Z  r: O
  1053. [SQL]) J- F' O: I- N' k/ d  b* z+ b" B
  1054. ; http://php.net/sql.safe-mode
    / M6 e8 I( m9 H& F- H  N' o
  1055. sql.safe_mode = Off7 U% v. _  ~" t
  1056. - [0 @( a6 ]$ W
  1057. [ODBC]0 q# v' E5 i; D; T; s
  1058. ; http://php.net/odbc.default-db7 B% L0 c  _( e& G* @8 \
  1059. ;odbc.default_db    =  Not yet implemented1 F& ], V0 H; L$ Q6 ~

  1060. ) u. U  v: T) W2 P* M- f& O; I
  1061. ; http://php.net/odbc.default-user
    6 J  G$ w' D7 q3 e1 m
  1062. ;odbc.default_user  =  Not yet implemented4 E* f; U) ^# u: v) C
  1063. # r0 E9 ~+ R" C+ z& R
  1064. ; http://php.net/odbc.default-pw
    ! F) E( M$ k6 \) j
  1065. ;odbc.default_pw    =  Not yet implemented$ G9 F: ^$ W3 R+ D1 a" _* }! P8 G7 I
  1066. - x6 |1 G/ A5 \& x$ d
  1067. ; Controls the ODBC cursor model.
    5 s# L7 c) Y. B5 a  o* C
  1068. ; Default: SQL_CURSOR_STATIC (default).. G$ g% k, ~% @7 q% W
  1069. ;odbc.default_cursortype
    8 _6 c* @9 S! s, ~- s6 }
  1070. 4 l% q% }" B( H6 T! Y
  1071. ; Allow or prevent persistent links.
    9 R8 S( A8 i5 w$ e2 _$ b; C" D
  1072. ; http://php.net/odbc.allow-persistent# s; V2 P1 H: ?, B" O$ W
  1073. odbc.allow_persistent = On
    ! D1 ~( X& B/ ]

  1074.   P; b5 D6 a. G9 b3 \) O
  1075. ; Check that a connection is still valid before reuse.6 K5 @8 D. h  |) a( E
  1076. ; http://php.net/odbc.check-persistent
    ) C8 X+ L- _; f+ A) }; c8 Z# w
  1077. odbc.check_persistent = On, l5 T! D4 [6 Z9 X

  1078. # g" l6 p, X: c# E$ J: D
  1079. ; Maximum number of persistent links.  -1 means no limit.* m0 |& ?) v" l& U. A  o7 c  h
  1080. ; http://php.net/odbc.max-persistent
    : l  P- C" u$ S6 B- l
  1081. odbc.max_persistent = -1: c' C* r4 M& [9 v3 m  M
  1082. 7 y- J' n  L* B& {9 L  h* M
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    5 B' b5 S( b# r8 H
  1084. ; http://php.net/odbc.max-links
    9 q  c7 ]2 Y6 V$ Q
  1085. odbc.max_links = -18 l) R. r+ L. j
  1086. 9 t- c1 W9 V& T3 \0 R& w' \
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    , C7 {, i. ~" j) G4 |( I9 H
  1088. ; passthru.' o; l4 i0 i5 h- n  \" ~1 l- A; u
  1089. ; http://php.net/odbc.defaultlrl- q/ u9 a" `) u2 O
  1090. odbc.defaultlrl = 4096
    * l: k; v& C' f, R0 v( b

  1091. " S- t. C3 y) ]9 y
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.# N" E2 f( h/ p
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    ) @- O: w: y+ P) x
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    # S+ ^6 b% O+ p4 u# N
  1095. ; http://php.net/odbc.defaultbinmode8 E4 `( F; |3 M8 S- E
  1096. odbc.defaultbinmode = 1
    * b: ?, z- J1 F  `9 n. b3 S" b% k
  1097. % N' y( a6 H3 W% G( Y. Y  ?8 x' e' v
  1098. ;birdstep.max_links = -13 j3 [' ^4 ^1 y
  1099. : s9 K9 o, T5 ]
  1100. [Interbase]
    * P9 P/ A( d% ~5 c
  1101. ; Allow or prevent persistent links.9 r! \% t  f- q# }* Z
  1102. ibase.allow_persistent = 1
    ) s6 \* _' H$ E6 M
  1103. 2 n9 J# n6 E- P8 }7 f8 y' d
  1104. ; Maximum number of persistent links.  -1 means no limit.
    * y+ }' }' l4 r( M) d7 J- t2 Z- E
  1105. ibase.max_persistent = -1
    7 y* v' H$ C" _4 p. F, u0 X4 B
  1106. 1 D0 T- ], J. o) |, \8 F5 c
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.; [( |7 G, p2 e* _: K5 B
  1108. ibase.max_links = -16 k/ x: ~; _# X% I7 y

  1109. / |# Z9 H! S9 ^; {0 y7 O
  1110. ; Default database name for ibase_connect().
    5 y9 Z1 i$ s. X# M( G
  1111. ;ibase.default_db =5 ]0 `8 z1 l; w

  1112. $ Z" O1 u6 A) c# U/ p' w
  1113. ; Default username for ibase_connect().
    ! T, G3 y5 X% I+ H, H
  1114. ;ibase.default_user =
    # J! G6 y# E9 X4 G+ W$ `8 U1 V6 G3 n
  1115. . p- K4 S7 @. [3 m8 [; O7 Q
  1116. ; Default password for ibase_connect().
    9 I3 q; O# ?7 ?: P
  1117. ;ibase.default_password =+ o& A7 [0 n/ s8 o
  1118. & ~2 L" |: v" a! p
  1119. ; Default charset for ibase_connect().
    ; k& X5 i1 ^9 g' ?
  1120. ;ibase.default_charset =' G: I2 O2 \6 [6 y8 T

  1121. ' i) g9 w7 V9 W5 C0 n
  1122. ; Default timestamp format.4 }" |& \1 [; `, P- J% }4 @/ _* M& O
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"( }2 \: ^9 d8 y. ?# O: }( S# ^
  1124. " r9 A8 j/ y% i+ S) y; I5 X" y8 A( ~
  1125. ; Default date format.
    $ u' a7 ^- o8 I8 W: @4 B& _
  1126. ibase.dateformat = "%Y-%m-%d". n2 y' O! i, l8 Y' {
  1127. + u! h* b% Q3 B  ~5 J7 t
  1128. ; Default time format.
    , }2 ^5 {  g. o
  1129. ibase.timeformat = "%H:%M:%S"
    # I6 I& t  Z6 o9 K4 ?
  1130. 2 u4 x4 Q7 p. S
  1131. [MySQL], ^1 b1 D$ r' {+ i3 X) K2 Q; I/ m
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    ) g; j! j' }/ Z6 v& @8 C( Q( P
  1133. ; http://php.net/mysql.allow_local_infile" I) K5 N3 G& y% X6 |# ?: Z
  1134. mysql.allow_local_infile = On
    ' I2 D# R$ _- J+ M1 a# t
  1135. ' n! x0 g, I9 B- V7 n
  1136. ; Allow or prevent persistent links." O7 m4 X3 R( N
  1137. ; http://php.net/mysql.allow-persistent
    * M5 m; {: t* i1 O. e2 R6 H. |9 o
  1138. mysql.allow_persistent = On
    8 i& K% N8 ~% ~# }, @$ ~: s8 x

  1139. 0 O( ^- E4 x; \; b/ r
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    / O* h" f, A: B5 ]
  1141. ; http://php.net/mysql.cache_size1 h% h2 A2 i" e. f- v9 X" w
  1142. mysql.cache_size = 2000
    % J! Y& l, ~+ r, `

  1143. + x' t3 `( `7 n
  1144. ; Maximum number of persistent links.  -1 means no limit., o: A3 u/ ^" a1 x( X) k
  1145. ; http://php.net/mysql.max-persistent# K" d& i- `8 `! B
  1146. mysql.max_persistent = -1
    2 N3 T8 B7 F  n$ y+ m

  1147. 2 [/ x+ i2 G( @" f  d& G0 N
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    $ R7 N; Z: a: D9 s
  1149. ; http://php.net/mysql.max-links1 U. b$ P. X5 D; {& s
  1150. mysql.max_links = -1
    , k1 H  ~, ?& w5 A. O5 b, a0 _

  1151. : M$ w  e5 i/ t
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use! W) Y5 c. d; X" q
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    ( R& N! ]3 x# @( {9 h8 l
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look! s8 D* T. h( b" u' }; L$ M- E
  1155. ; at MYSQL_PORT.
    & C( E9 Z$ Z. w( X5 f
  1156. ; http://php.net/mysql.default-port6 ^1 W3 C) o( q+ r. l2 o( C
  1157. mysql.default_port =
    / {# V( A+ T4 L* _+ ]

  1158. 8 q) {' W3 n, _5 P7 w8 P9 B$ y
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    1 ^, m! V3 j+ C
  1160. ; MySQL defaults.
    5 y( @/ A: [  z1 n# _* V
  1161. ; http://php.net/mysql.default-socket7 t$ l! g& c% E6 y9 g: |& O4 A  y
  1162. mysql.default_socket =
    $ w6 K; @2 x6 Q' c8 x3 H
  1163. 2 r7 Y$ v& \1 T/ C% g- P
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).1 A* u8 A( R' D6 }& v+ {  X
  1165. ; http://php.net/mysql.default-host
    ! Q" f  U* s. |- p' m
  1166. mysql.default_host =
    0 v. d* y9 |4 j6 {2 ?# u% w
  1167. 0 `% i5 @& L& D+ {+ Q! w; o9 R
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    & B! e% r" D# A* q/ T. P
  1169. ; http://php.net/mysql.default-user
    + o& X' ]0 R' u! W% U' U% u
  1170. mysql.default_user =" d, c0 W' i  U' i0 }' ~2 J
  1171. ; v1 t9 P( G1 e9 H& i, r4 A
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    , S0 V+ @$ R% C! a8 |4 n
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    1 \* l1 ^6 @0 H2 J' J
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    $ \# B7 O; d. g& W0 v
  1175. ; and reveal this password!  And of course, any users with read access to this! ~; O: o& U- o! K* M: u9 Q
  1176. ; file will be able to reveal the password as well.4 _$ K& g# }% L( v
  1177. ; http://php.net/mysql.default-password
    . |/ i: O, _# i5 N
  1178. mysql.default_password =
    # g6 h) r# c+ `# |5 B0 [
  1179. * Z# V1 n& d( B3 r- o; p) O
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit. t" x2 r8 D, C+ O( j/ _
  1181. ; http://php.net/mysql.connect-timeout# I1 W: n, O( H8 a
  1182. mysql.connect_timeout = 60) o9 ~1 l. @' a6 n
  1183. $ |% w+ \& p4 b% K) H8 x2 q9 X
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    8 G) V* A2 j+ Z* N3 ^9 a( Z
  1185. ; SQL-Errors will be displayed.8 Y4 g5 n; h' o. F0 C5 X) `; k
  1186. ; http://php.net/mysql.trace-mode: b2 b* M: @* L
  1187. mysql.trace_mode = Off$ M: T+ Y1 A8 F8 \& B5 Q

  1188. 4 s) J$ z+ B" j1 w: v
  1189. [MySQLi]
    * J6 S1 {5 _6 q, Z$ A

  1190. : e" x" R7 i; T' \, n
  1191. ; Maximum number of persistent links.  -1 means no limit.7 t3 x" ^1 t  y3 L; c
  1192. ; http://php.net/mysqli.max-persistent4 ?8 B! w3 R  t. ^& k
  1193. mysqli.max_persistent = -18 M! @6 j8 e# V) o# z
  1194. 8 p4 O8 N# d* |( P, p) Z
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    + q  `4 x4 K1 _* K, i( l
  1196. ; http://php.net/mysqli.allow_local_infile
    ) J6 n; O% q! O) m  }  ?
  1197. ;mysqli.allow_local_infile = On. F) u: u$ T6 P- v- ^0 `
  1198. ; l1 k; y) Q3 }* H
  1199. ; Allow or prevent persistent links.$ f1 ^6 @: B; j; I* S. U
  1200. ; http://php.net/mysqli.allow-persistent
    " G9 B1 a8 N2 N' v. @2 U" V
  1201. mysqli.allow_persistent = On3 V1 w7 T+ ~$ w
  1202. 3 h5 R, ^+ n8 K  y: ^
  1203. ; Maximum number of links.  -1 means no limit.
    6 d1 Z7 H5 h1 \5 Q( \. D$ s
  1204. ; http://php.net/mysqli.max-links
    " B% Q& d  o2 n2 y! q  [9 a
  1205. mysqli.max_links = -19 t" o( A* |" `) l8 M

  1206. , l  w( T' x  q$ D; C% T" h7 T2 e
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    $ H2 V) t  D' S" ?# r
  1208. ; http://php.net/mysqli.cache_size0 K& G1 H, R% O
  1209. mysqli.cache_size = 2000
    ' N2 H8 k5 s5 D' P+ K- I, T$ N1 N

  1210. / G2 U0 |' h8 [! Z
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use9 |" h3 H% c9 t
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    2 g3 m. E9 g7 A1 o* N
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look3 \0 F; T( x; v
  1214. ; at MYSQL_PORT.
    3 k1 O7 g4 u1 W: l# Z5 v/ f7 }& O
  1215. ; http://php.net/mysqli.default-port- q7 I& g# a1 p# @! {
  1216. mysqli.default_port = 3306
    + u5 G5 ?: f* E4 V

  1217. - J: D9 n- r# C- Q7 p" s! c+ s
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in2 p% Z; I( ~+ ?2 a- \) \
  1219. ; MySQL defaults.
    / z! a" E( `/ q& N8 I
  1220. ; http://php.net/mysqli.default-socket
    $ b9 i! H( Q5 Q- ]: ^; l) p# g
  1221. mysqli.default_socket =1 q! @8 ^. ?7 l3 ?. {  V- s( I% B  F
  1222. 2 q3 o( o! C* k" T2 L5 P
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).8 t! }$ x  t3 F% M; y+ _
  1224. ; http://php.net/mysqli.default-host
    0 M- V  W6 F$ [( g' `
  1225. mysqli.default_host =
    . l8 s8 q. }/ a% N8 v* j' K
  1226. ! n  S4 Q* U0 J5 |
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    & d' j& }3 ]# _  V& ^
  1228. ; http://php.net/mysqli.default-user- F, Y, J, K/ L5 C
  1229. mysqli.default_user =
    1 Q$ m6 t4 W5 J
  1230. % V( e0 ^' a+ }
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).) J$ F- S- v, [6 b! ]  z
  1232. ; Note that this is generally a *bad* idea to store passwords in this file." j( Z' K2 p  R; V. ^
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")1 ]  p& [* w. }& s
  1234. ; and reveal this password!  And of course, any users with read access to this
    9 `$ b* `- [* H
  1235. ; file will be able to reveal the password as well.
    * _* T6 e+ r  l" V/ G
  1236. ; http://php.net/mysqli.default-pw
    0 H  @1 Z9 l& d; T$ a9 t
  1237. mysqli.default_pw =
    ' V$ i1 r) E* {: C

  1238. 5 }  {6 C9 ^, H% Z5 z, N
  1239. ; Allow or prevent reconnect8 O6 ]1 i+ m( h4 V! V
  1240. mysqli.reconnect = Off, |% Z5 S( p# v& ~$ x$ i
  1241. $ w# o8 w6 E( M
  1242. [mysqlnd]
    - m" e; s0 K5 \3 M
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    % z0 O6 C/ s; f, Z& h1 Q
  1244. ; used to tune and monitor MySQL operations.
    3 L: b9 ?. B- `  T) _0 ~# l
  1245. ; http://php.net/mysqlnd.collect_statistics' L+ S4 e* c- \& A2 l
  1246. mysqlnd.collect_statistics = On
    : i7 U3 R' k3 j9 h& W8 m

  1247. 3 `- i8 }2 s0 K2 U6 }9 r
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be' Y4 ]# U3 P" R( E, @: f$ F
  1249. ; used to tune and monitor MySQL operations.  f; {" V' B1 Y$ B& K; [
  1250. ; http://php.net/mysqlnd.collect_memory_statistics; v- e& u/ a9 O7 ?- q: y, _
  1251. mysqlnd.collect_memory_statistics = Off
    ' L* C( R# l! C8 A5 C5 l% c

  1252. ) y/ z5 u- k- _! w; x1 y% v
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    - \2 n: B+ k8 O% |0 p
  1254. ; file.
    & B( x8 P% c' Z
  1255. ; http://php.net/mysqlnd.debug
    : F: s3 ^5 B! C4 s; d+ _
  1256. ;mysqlnd.debug =
    $ p% ^; e) t9 m9 {) t4 [
  1257. . Y; U  l* v$ Q( i- T  e2 t) [3 d& S
  1258. ; Defines which queries will be logged.$ k- E: H- }7 G, a  j6 n  D, R
  1259. ; http://php.net/mysqlnd.log_mask
    6 o1 }# G. I0 F) j2 T7 ]
  1260. ;mysqlnd.log_mask = 0% `  y8 {+ I& Y; }8 H

  1261. $ O# q( q/ X* Y
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    , o0 ]- X6 L: q5 b5 C" O
  1263. ; http://php.net/mysqlnd.mempool_default_size
    9 O& p; @8 e9 x2 L$ }5 d
  1264. ;mysqlnd.mempool_default_size = 16000
    8 w  m  S0 P% ^6 U0 g* s
  1265. ) A: }9 _" F! |
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.# N* Q% L' R/ E& X" d
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size1 j) K6 |" H6 a: }; ?1 o
  1268. ;mysqlnd.net_cmd_buffer_size = 2048% H3 \4 D- n4 U$ }3 D

  1269. ! g- @% s3 D. V/ {- s. U  y; M
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in" s  f7 _' j  ?5 F) w4 ?+ s0 q
  1271. ; bytes.
    $ ^* k: J- D  C' {. q% L4 g' n
  1272. ; http://php.net/mysqlnd.net_read_buffer_size$ W2 ]+ P2 A- d9 \
  1273. ;mysqlnd.net_read_buffer_size = 32768: q9 j! U1 b( d* D- Z  \
  1274. & B( e6 q; g9 N3 ?# |7 X9 J
  1275. ; Timeout for network requests in seconds.
    9 w9 {, K, A" m$ M0 o2 ~
  1276. ; http://php.net/mysqlnd.net_read_timeout
    0 l( A' ?; B5 K& e4 O- k: F( E
  1277. ;mysqlnd.net_read_timeout = 31536000: B2 u8 V1 ~; X; ~: d' ^( a
  1278. * v+ Y1 k  T5 d# d
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA! X5 g' X' ?( n: |
  1280. ; key.
    . H% h  W" w% G: X- G
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    - x9 Y" q- O7 t! X, z1 _' X+ ]
  1282. ;mysqlnd.sha256_server_public_key =8 ^! V9 ~4 r! \, Y
  1283.   y$ l( t9 P6 ?$ [/ S2 K
  1284. [OCI8]
    . k9 v7 f% c9 m  X* k( V) n

  1285. + I0 z. B; `0 ^
  1286. ; Connection: Enables privileged connections using external7 k6 H. u" g3 T; D  w
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)8 A/ q1 u: V( u+ ]( {
  1288. ; http://php.net/oci8.privileged-connect
    " u" D; `. ^( ?
  1289. ;oci8.privileged_connect = Off
    5 Z. k0 u1 T+ b& Z6 o5 I, }

  1290. 1 y0 K% |5 R7 \9 U7 V3 G1 m
  1291. ; Connection: The maximum number of persistent OCI8 connections per8 k/ `* M9 u5 h  P# y% `) C7 ?1 ~
  1292. ; process. Using -1 means no limit.
    ) ~1 o- c2 m+ [) }+ w. Z" k
  1293. ; http://php.net/oci8.max-persistent  o# S5 u, p/ s2 Y  S
  1294. ;oci8.max_persistent = -1
    * m5 n  E) w2 i, {# I
  1295. 1 O+ V3 q" c0 H3 n  _
  1296. ; Connection: The maximum number of seconds a process is allowed to% e. e; R8 K( r
  1297. ; maintain an idle persistent connection. Using -1 means idle
    - Q+ H  p* H$ C! i& s8 t7 d
  1298. ; persistent connections will be maintained forever.2 G1 q* C9 t& V7 M. `3 s
  1299. ; http://php.net/oci8.persistent-timeout
    8 C! v* n+ b( [5 Q9 v2 U
  1300. ;oci8.persistent_timeout = -1
    . A6 P1 r' t6 W( F' {0 t& _

  1301. 3 g$ s/ h) P) b
  1302. ; Connection: The number of seconds that must pass before issuing a
    0 r; \2 O1 M- R. C: E, ~
  1303. ; ping during oci_pconnect() to check the connection validity. When
    0 G& i$ ^0 E7 M7 j' j% h" U3 `: {
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    $ d- |+ `7 t: r# A
  1305. ; pings completely.# A# y  ~% [; \2 `9 z1 V
  1306. ; http://php.net/oci8.ping-interval
    ; g: d2 T0 ?8 I( z" M9 V3 F" p; T. c
  1307. ;oci8.ping_interval = 60# f6 l6 n" m* m' e) ~2 \: l  E7 W

  1308. : f2 u5 ~* ?7 B: w" z( I
  1309. ; Connection: Set this to a user chosen connection class to be used
    9 }1 U! _+ ?' Q$ a4 v' U: T! R% Z
  1310. ; for all pooled server requests with Oracle 11g Database Resident- P5 E7 M0 ?  }/ I$ Q7 X+ w" N3 }- ]
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to0 r: ?$ C5 e  {- f% K
  1312. ; the same string for all web servers running the same application,1 w7 e5 l8 k  h+ W  ^: M) Y
  1313. ; the database pool must be configured, and the connection string must, Y$ Z4 v6 ^' n6 k/ F1 g: R
  1314. ; specify to use a pooled server.1 Q: c1 e7 V$ S$ ?' H- ^5 Q
  1315. ;oci8.connection_class =7 o/ E0 g- D' p7 \5 h) h# Q- L

  1316. ( X" l0 J( M1 T: K
  1317. ; High Availability: Using On lets PHP receive Fast Application
      \, z% \- d6 y. L, `
  1318. ; Notification (FAN) events generated when a database node fails. The$ w) m7 t% a- R6 T& E4 l7 O7 Y6 P/ G
  1319. ; database must also be configured to post FAN events.3 g5 u. ]4 J& O" \  u2 q
  1320. ;oci8.events = Off, O& n. B; A( j) _* F

  1321. 4 I, _) l' W# d3 D
  1322. ; Tuning: This option enables statement caching, and specifies how
    + }' P3 f* y; K- i2 ]
  1323. ; many statements to cache. Using 0 disables statement caching.
    9 {7 C" h, j' e( |  @+ k* @  w
  1324. ; http://php.net/oci8.statement-cache-size
    7 i6 I; q1 d7 x/ p- N) R
  1325. ;oci8.statement_cache_size = 20
    3 ^+ c* c/ P) o
  1326. + ~% @3 {# G1 i. }
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    ! L+ J9 H7 a9 a
  1328. ; rows that will be fetched automatically after statement execution.: T& C9 v# T/ k9 O, e: z0 D9 y
  1329. ; http://php.net/oci8.default-prefetch
    5 A! n0 ?( C$ `; i* L/ ~
  1330. ;oci8.default_prefetch = 1004 ]- A- l9 {  ]+ `) A  J

  1331. 1 [- U' V& X* v4 }' J2 h$ K# q3 m
  1332. ; Compatibility. Using On means oci_close() will not close
    6 w9 k' G$ r9 s! h
  1333. ; oci_connect() and oci_new_connect() connections.
    7 ~9 w+ z% F" o- E
  1334. ; http://php.net/oci8.old-oci-close-semantics
    ) I; g, p& S) `4 X' t5 @5 e
  1335. ;oci8.old_oci_close_semantics = Off
    ( Z  _& D3 J/ Q7 {. v

  1336. ( v! p4 l) t- k# B9 \5 A
  1337. [PostgreSQL]
    $ m% ~! l9 u; y
  1338. ; Allow or prevent persistent links.1 h0 j- ]! L/ D, ?" Q8 y1 w* S
  1339. ; http://php.net/pgsql.allow-persistent  s8 f9 `+ C1 x8 P% v/ i4 |3 ^4 F
  1340. pgsql.allow_persistent = On; p' D8 c. s% ~" O/ ]
  1341. 2 x& W/ S" l) D4 b2 x6 o
  1342. ; Detect broken persistent links always with pg_pconnect().; `% R% @: w* G) L
  1343. ; Auto reset feature requires a little overheads.
    ! ^: |  R0 C. p. u+ o, m
  1344. ; http://php.net/pgsql.auto-reset-persistent
    - Y5 f/ U8 D5 ]! n" v
  1345. pgsql.auto_reset_persistent = Off
    8 s( _! a4 r: R# U7 u7 P  a: {+ R

  1346. 4 c, F$ p, Q( w( J$ {
  1347. ; Maximum number of persistent links.  -1 means no limit.
    9 _2 A6 y3 s3 Z  G7 d1 U
  1348. ; http://php.net/pgsql.max-persistent7 y7 Q# s+ `& E* H
  1349. pgsql.max_persistent = -1, V* c; K  Q2 M  ^

  1350.   ^2 U% |, q( `5 ^+ }# T
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    3 x- u# m5 Y2 {& l4 U0 t
  1352. ; http://php.net/pgsql.max-links( V% Q9 e4 Y; M6 T! b' @2 t
  1353. pgsql.max_links = -1
    6 _/ n5 z% `) Q/ K5 `

  1354. 8 I# n' y9 g0 F3 z. N; T; C/ F
  1355. ; Ignore PostgreSQL backends Notice message or not.
    4 P* ~% M. W6 e
  1356. ; Notice message logging require a little overheads.
    ! \! F" E" }0 t+ |; p
  1357. ; http://php.net/pgsql.ignore-notice( a# Y# a4 M) q0 Y. u
  1358. pgsql.ignore_notice = 00 I+ s1 I4 }( V+ Y) m& a$ z
  1359. ' T) c0 l% `* \6 R0 ~6 X: y3 ]
  1360. ; Log PostgreSQL backends Notice message or not.# v) o$ \+ s# d8 F
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    ( \# C  {5 R4 C. O9 R2 E
  1362. ; http://php.net/pgsql.log-notice- y6 N. O3 B/ R
  1363. pgsql.log_notice = 0. u  g, e, J% x9 v- w

  1364. 7 q3 j6 x0 V* Z/ z) {0 @- ]" q
  1365. [Sybase-CT]
    ! l- I% ~  W& T
  1366. ; Allow or prevent persistent links." v8 @4 ?3 `5 m3 l' g1 M
  1367. ; http://php.net/sybct.allow-persistent
    , U/ \. K8 [  s% ~
  1368. sybct.allow_persistent = On
    ) Q; L% p8 ~: h9 B  V" ]
  1369. % h% [! `6 V9 x- m1 P8 E. e
  1370. ; Maximum number of persistent links.  -1 means no limit.4 F, N! ]6 n2 G7 B5 P- r
  1371. ; http://php.net/sybct.max-persistent1 v" a5 }* J2 N  D+ V0 a
  1372. sybct.max_persistent = -1# V" x9 Q- w& g& d4 R* G/ ~
  1373. . b# ^5 }* `( ^5 @
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.! F! d4 K( {+ B, C2 m# Y; w0 y
  1375. ; http://php.net/sybct.max-links: O0 U* |6 Q; v5 C6 m! Q
  1376. sybct.max_links = -1
    3 H( Y5 g, a7 z+ ]) X( c5 E( |

  1377. & L% b$ v$ R7 P0 O
  1378. ; Minimum server message severity to display.5 P+ D, x& Z3 P4 Q2 C
  1379. ; http://php.net/sybct.min-server-severity: @% m1 s' w# l  J# p
  1380. sybct.min_server_severity = 101 U0 j% D1 o) u6 [5 _1 W

  1381. 6 f' b1 \) C# k4 v+ s# n2 q* Y4 Z
  1382. ; Minimum client message severity to display.$ ]' b2 x, ]4 [5 k) p/ j3 @
  1383. ; http://php.net/sybct.min-client-severity
    7 M" o) \) K& U4 z7 q2 y
  1384. sybct.min_client_severity = 103 B2 c  W1 v+ ]/ ?  Q" Q. p4 Q" d

  1385. ! t3 I( G* g* L
  1386. ; Set per-context timeout2 C! [5 p0 y" b4 m, g8 e8 t) g! E
  1387. ; http://php.net/sybct.timeout3 m. }2 Z' Y- I- K
  1388. ;sybct.timeout=
    & Y% ?0 w3 w3 @- W/ n! ?
  1389. 2 @- L9 x1 {0 W
  1390. ;sybct.packet_size+ \0 {2 i+ M/ X' r: z4 t3 b) }
  1391. * w( E/ ~* M  l7 e# r2 c2 \
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    6 ~$ Q! r/ N% T3 f3 {
  1393. ; Default: one minute& c. o2 n- i2 j& A5 W
  1394. ;sybct.login_timeout=! p) ]2 D  ]6 p* e/ q) B! `
  1395. ) L. b& {6 P+ h- `
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    - I0 E: {* A" w5 L# z9 ]. G" m
  1397. ; Default: none
    ' _' Q1 t8 T" X' V
  1398. ;sybct.hostname=
    ' D3 Z6 g9 [. G" Q) l( J

  1399. ; h* f# w% N% c" ~+ i) t) C
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".) i  d' |% w% \' ]  l+ X
  1401. ; Default: 0
    $ k0 C  b1 Q! I: H3 B9 @" V
  1402. ;sybct.deadlock_retry_count=; s: B- G2 |4 N. e1 H6 O, t+ u, p

  1403. - |1 ~6 ?$ u+ x$ }5 v
  1404. [bcmath]
    * y. h5 l5 l: [3 G; D" P1 L
  1405. ; Number of decimal digits for all bcmath functions.
    , E$ j6 v& e( |" R7 p7 I
  1406. ; http://php.net/bcmath.scale' a7 @: G; c% U* R5 J9 p! u
  1407. bcmath.scale = 0
    , U5 a5 t" \' H2 o

  1408. 0 j, v. H2 M8 Y9 h. ?+ e7 n- |
  1409. [browscap]
    $ N) Q& S) ~4 m3 i1 }1 L' o
  1410. ; http://php.net/browscap6 h2 s6 O! f8 Y7 N4 z! B
  1411. ;browscap = extra/browscap.ini" ?9 e4 v& v; |0 i; ~

  1412. 7 ]$ Q" }/ h9 _# l; [2 I- T/ ]! W% X
  1413. [Session]
    8 {6 [) A6 w) ^  a/ V
  1414. ; Handler used to store/retrieve data.
    5 ~8 ]; d7 M4 n+ ]' a
  1415. ; http://php.net/session.save-handler
    7 v4 T* g% ^$ f1 }. U
  1416. session.save_handler = files
    7 I  f, [2 ]( M7 i1 H7 U& ~

  1417. $ E8 z2 e! B6 k7 X2 n7 C) U' W) V
  1418. ; Argument passed to save_handler.  In the case of files, this is the path7 U3 r3 b( U9 f! j
  1419. ; where data files are stored. Note: Windows users have to change this
    . w7 z  f6 G+ [* ~
  1420. ; variable in order to use PHP's session functions.; K0 y; z0 M/ d* T9 V
  1421. ;/ q* R, b8 V9 ~( r! b
  1422. ; The path can be defined as:7 _1 z, g: s- ]6 z6 U8 d
  1423. ;0 q& h5 e/ R+ ?5 n/ c5 l
  1424. ;     session.save_path = "N;/path"
    ) c3 V2 ]- N4 Q4 V
  1425. ;% s/ {5 @4 p! Z4 W8 G2 B* v5 B
  1426. ; where N is an integer.  Instead of storing all the session files in( `, m2 U, y: B+ Y
  1427. ; /path, what this will do is use subdirectories N-levels deep, and% F$ ^6 w- G1 Y6 t. W5 B9 {
  1428. ; store the session data in those directories.  This is useful if: B) Q( x9 C; ]
  1429. ; your OS has problems with many files in one directory, and is8 g$ D, E8 [2 t3 K6 c" \7 w
  1430. ; a more efficient layout for servers that handle many sessions.
    : H. ]- O1 H( A4 g( @, W8 S
  1431. ;
    0 O  G6 v" n% W! N' F
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    ' t! e* q1 C  ^) Q5 P
  1433. ;         You can use the script in the ext/session dir for that purpose.! ?* ~) _" V$ g' k# x
  1434. ; NOTE 2: See the section on garbage collection below if you choose to! a: y) t" Y4 b% l: L/ p
  1435. ;         use subdirectories for session storage
    # D, @' R3 x& r5 v, }* [4 F2 R
  1436. ;! G9 x1 B4 \( y0 D3 k0 ^9 M+ ?5 u# v0 V
  1437. ; The file storage module creates files using mode 600 by default.
    / v9 D, |7 }0 |2 e! B. v8 c" k! X
  1438. ; You can change that by using+ o- b/ H7 D- b( \+ j
  1439. ;
    9 q) ?  V% |! ]( s- _7 t
  1440. ;     session.save_path = "N;MODE;/path"/ |, L9 c/ X% X9 E. j
  1441. ;# b: L) R& X" p. Q; t2 }
  1442. ; where MODE is the octal representation of the mode. Note that this/ l; C& F, A2 m" e& R. ]
  1443. ; does not overwrite the process's umask.
    % D& P, \2 d3 X6 i3 E
  1444. ; http://php.net/session.save-path
    / c$ q' P$ n# @& C/ G, Q
  1445. ;session.save_path = "/tmp"
    7 D9 m3 b7 Q% z( k! {
  1446. 5 F* w- B  j* `0 i0 X7 U! L2 Y
  1447. ; Whether to use strict session mode.
    0 K$ A% s5 S+ s' T! y& c
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    + A( p9 O" T' }6 k: V9 @; A
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    # W6 x% _) Z' c/ V  C9 k
  1450. ; applications from session fixation via session adoption vulnerability. It is2 _4 G: e" x' A5 W! f
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    / f0 g8 J7 z8 T( D3 `% |
  1452. ; https://wiki.php.net/rfc/strict_sessions
    / p4 j% o4 I0 l! f: u" |
  1453. session.use_strict_mode = 0
    * g$ N- G$ `. h1 G! O& u

  1454. ' G% u) e3 y) F: P# h
  1455. ; Whether to use cookies.
    ( G: n9 A  O! V2 Y6 I' f
  1456. ; http://php.net/session.use-cookies
    5 h5 `1 A& G$ T. d0 X) `2 i$ U
  1457. session.use_cookies = 1
    % W& A, s* ?& z

  1458. ) O3 X6 s* L& ~7 n* V& B) O+ M
  1459. ; http://php.net/session.cookie-secure- P# V- |+ E! M- `. z9 g0 u
  1460. ;session.cookie_secure =
    4 c/ d1 a" [, N4 t6 s6 U% N

  1461. 9 G. a& [9 ?) u3 h* g1 u( T
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining$ x" a1 B& }6 x3 j% U
  1463. ; the session id. We encourage this operation as it's very helpful in combating! h% |( ?! Z5 K) k1 Z: c5 ]
  1464. ; session hijacking when not specifying and managing your own session id. It is
    ) C' X1 R/ q* B3 I: l2 r$ y
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    9 Z% L( F& {) `3 S
  1466. ; http://php.net/session.use-only-cookies1 ^! I* p3 U' i" l
  1467. session.use_only_cookies = 1- C7 ^3 o% I, \! M0 @+ i5 |

  1468. 4 m  ]; N, ~& v9 J* ^4 j, M
  1469. ; Name of the session (used as cookie name).) O; m0 r$ P% i+ K2 z# e
  1470. ; http://php.net/session.name
    / S+ S6 }1 V% i# J9 F& K# y. B
  1471. session.name = PHPSESSID3 A5 E& X( q: E2 R
  1472. 5 v2 i" Q1 v) ?$ y3 d
  1473. ; Initialize session on request startup.
    : ~8 z: {9 x$ L% \
  1474. ; http://php.net/session.auto-start- Z% D7 V5 b6 ]7 u& ]
  1475. session.auto_start = 0
      F) i( c8 F$ t+ c& V

  1476. 9 I) ]" J1 v' `6 j8 R
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.$ a8 ?4 D" e) _6 _# F% @: `, _8 ?
  1478. ; http://php.net/session.cookie-lifetime
    ' J7 N" V+ ^5 K! i2 [. ^/ J% ?- Y
  1479. session.cookie_lifetime = 0+ C  w) ^* w: I, D. k
  1480. # t) V# v. \+ @! P$ T  @
  1481. ; The path for which the cookie is valid.: }" }; {9 Z  z" q
  1482. ; http://php.net/session.cookie-path0 Y# l2 J5 p0 W
  1483. session.cookie_path = /
    6 G, Q, J, l+ j
  1484. % d  l; o9 X/ F/ n
  1485. ; The domain for which the cookie is valid.
    2 L3 ~( t2 M  H5 t* p! e
  1486. ; http://php.net/session.cookie-domain# c1 u1 y" R- z$ b1 r
  1487. session.cookie_domain =
    & ?% ]; Z. U/ `2 V( }, {

  1488. 5 W3 F3 ^' @4 m: p* r
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.4 Z% l. `% e3 E7 }+ O) _$ v* O0 x
  1490. ; http://php.net/session.cookie-httponly. s. d5 p) \& q  n/ |6 n
  1491. session.cookie_httponly =
      y, @; G. g' G7 K0 d! A

  1492. " V" Z, ~4 \+ L$ S& P* b" S! l+ T( j! v
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.. m! q! W% l4 L, z+ `
  1494. ; http://php.net/session.serialize-handler
    4 L2 A3 A. Z- O9 ^$ W
  1495. session.serialize_handler = php
    ' I2 l# u" z8 z6 n3 M8 C' Y8 v
  1496. 7 {+ g# y% U+ _# ^2 D  X8 T* @$ z
  1497. ; Defines the probability that the 'garbage collection' process is started- b' h# `, f' W4 O2 e& C+ n
  1498. ; on every session initialization. The probability is calculated by using
    4 {8 ^" {0 k" e# O" {8 J8 E5 T
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    : v% R+ q% m# {' g
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 17 a9 N/ `7 K2 v  B& v% |  E1 _
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    " o8 v; p" X& ^5 E6 T, _. |& l2 v
  1502. ; the gc will run on any give request.
    ! ]- K! \7 r7 S5 _! `  F$ j& z
  1503. ; Default Value: 12 a4 D. O7 M2 \; ]* X( G+ n: s
  1504. ; Development Value: 1' O8 {6 ^% @; x- S6 m1 \2 a3 r
  1505. ; Production Value: 13 ^" o% N+ t) q: I; A
  1506. ; http://php.net/session.gc-probability8 {4 e8 s' \4 @+ x8 `8 _
  1507. session.gc_probability = 11 N; b: B$ e+ \, T, B
  1508. 6 L+ J. x4 u5 h' L7 c4 I  M
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    3 w3 S3 u4 N6 V& J$ g
  1510. ; session initialization. The probability is calculated by using the following equation:
    5 t% {& a3 G/ W& G0 e. h) ~
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and! H# X8 g0 _. O
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
      B8 r: b7 r4 v! ?
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance& ]6 j( f2 E/ M+ n
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    * M+ g4 C: c4 {$ ?% `' r
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,( G2 J* s+ R8 A" g* y$ s0 W/ x. b
  1516. ; this is a more efficient approach.
    * ]0 s5 t$ Y4 N8 E8 f- P, B
  1517. ; Default Value: 100. g& z% h% q# ^" |
  1518. ; Development Value: 1000
    0 u. M- f, ^% `% K3 }7 s
  1519. ; Production Value: 1000$ I1 }; ?* j- I$ c* H( i
  1520. ; http://php.net/session.gc-divisor- ^% W$ S' i" }3 C
  1521. session.gc_divisor = 1000
    . \" s# K2 t0 B7 x
  1522. $ m* P, b3 x: A! c: O
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    - @- `! b1 W  [. y) |7 k3 Y8 ^8 J3 K
  1524. ; cleaned up by the garbage collection process.
    8 U- R: N' q% Q! n9 K5 [& d5 {
  1525. ; http://php.net/session.gc-maxlifetime2 M3 d' [8 @& ?) ^& Z; g% c
  1526. session.gc_maxlifetime = 1440
    : H3 ]4 e5 V8 ~8 y5 q( b

  1527. ' U. J) I7 W4 Z
  1528. ; NOTE: If you are using the subdirectory option for storing session files4 _8 E7 z  i! K  }% b& i" [
  1529. ;       (see session.save_path above), then garbage collection does *not*
    . a4 s) o0 {4 H
  1530. ;       happen automatically.  You will need to do your own garbage" K1 l- ?2 M# u8 a% {5 W# J: N2 v
  1531. ;       collection through a shell script, cron entry, or some other method.
      ?4 R: C$ R1 p, L; q0 m; Q; `
  1532. ;       For example, the following script would is the equivalent of9 u  s5 b6 z0 n! t
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):, H4 v$ o0 z( O- W2 T$ m+ R' G
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    * Z& p( X( o; `. p) b8 ?

  1535. - I- }: I; o9 `* d6 D5 t
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    0 N% ~' `  w& }0 F
  1537. ; HTTP_REFERER has to contain this substring for the session to be$ O/ b% ?5 {% o+ u' y8 _
  1538. ; considered as valid.
    - s" l4 G; B) \1 i3 Q: r
  1539. ; http://php.net/session.referer-check6 g# `8 V4 q3 n' t5 b1 G4 K
  1540. session.referer_check =
      Y- V/ W4 d, @; z* Q9 w
  1541. & t3 o2 L6 x; c4 v3 R% O* X# o8 ^
  1542. ; How many bytes to read from the file.7 z* b' m6 R3 ~" T, z$ I. n( {
  1543. ; http://php.net/session.entropy-length
    ! T; [5 f& B" E* P1 Q  Z
  1544. ;session.entropy_length = 32
    + n% s' N5 z& E7 P9 n& U# L
  1545.   P: G' U; Y0 W8 X, K
  1546. ; Specified here to create the session id.$ v) d" s% w! H+ f4 G- N
  1547. ; http://php.net/session.entropy-file
    0 x7 R7 T) g' @5 _7 d
  1548. ; Defaults to /dev/urandom: M; _; U2 o" z
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    ; a$ l/ U) T) Y! q9 ~/ S! F
  1550. ; If neither are found at compile time, the default is no entropy file.
    8 J! B5 P3 H/ w4 A
  1551. ; On windows, setting the entropy_length setting will activate the
    . P5 y! [, p: m+ p, B4 R
  1552. ; Windows random source (using the CryptoAPI)
    # R* |' L# N+ H6 v& b
  1553. ;session.entropy_file = /dev/urandom
    / X3 i( J' b6 R0 J( P# D
  1554. 6 \$ j2 e+ T6 J. z
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    / ]  V6 e$ P6 a; X
  1556. ; or leave this empty to avoid sending anti-caching headers.2 \6 K* h+ c7 u# c3 S7 W2 o* j9 ^2 J
  1557. ; http://php.net/session.cache-limiter2 S( P2 E4 E7 |$ M& }
  1558. session.cache_limiter = nocache
    3 z+ }  B- |/ ?

  1559. ) T5 _2 t* f+ F
  1560. ; Document expires after n minutes.
    - T) n& q$ t1 J) w9 |
  1561. ; http://php.net/session.cache-expire
      s7 A  f4 w6 T$ @
  1562. session.cache_expire = 180, j" J7 w4 e- Z: d& F% _; U7 v
  1563. 3 D6 U5 Z6 w% v3 h# R; l
  1564. ; trans sid support is disabled by default.
    ) \5 R3 w6 P+ Y. P
  1565. ; Use of trans sid may risk your users' security.6 M' F/ ?2 b8 }/ ~2 e1 Q; ]
  1566. ; Use this option with caution.$ H# M% ^1 u4 m* H* N& }
  1567. ; - User may send URL contains active session ID, X- a/ Z+ J4 ?/ u4 p
  1568. ;   to other person via. email/irc/etc.
    7 y, j! P0 r: a8 N
  1569. ; - URL that contains active session ID may be stored
    ' E5 \( f, T/ \' e
  1570. ;   in publicly accessible computer.+ C9 O7 b( \) B7 Y6 a1 M7 s
  1571. ; - User may access your site with the same session ID/ z2 I& A: N' L
  1572. ;   always using URL stored in browser's history or bookmarks.
    8 R! k, }3 v1 l
  1573. ; http://php.net/session.use-trans-sid
    7 f( A. f1 S1 j1 i
  1574. session.use_trans_sid = 0
      ~" o) p) g6 z3 Q) A+ j/ n, b8 I" @
  1575. 3 A( @1 K0 o# H# n% \- f/ v
  1576. ; Select a hash function for use in generating session ids.
    # }, {! G4 g& L) s* t
  1577. ; Possible Values
    2 c6 D, I5 h) Q  l, V" ?6 ~( X2 l5 l
  1578. ;   0  (MD5 128 bits)# I. Z9 w# s' i8 h5 ]: i
  1579. ;   1  (SHA-1 160 bits)
    ; l+ n2 F8 y" Z9 C# M
  1580. ; This option may also be set to the name of any hash function supported by/ j2 |* p, y# B) D- C5 J
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    * \! u. z) w& B
  1582. ; function.
    + a; ~6 u4 O% R* h- ^
  1583. ; http://php.net/session.hash-function
    " Z: F& A8 j0 B5 z4 Y3 f7 r
  1584. session.hash_function = 0
    1 V' ~6 d% F' j7 b  ~$ d
  1585. 0 y$ [- K9 i/ ^
  1586. ; Define how many bits are stored in each character when converting2 l! `3 j$ q3 Y+ l+ s7 z4 n7 b
  1587. ; the binary hash data to something readable.
    ; ~. p5 K7 u6 V7 S+ d
  1588. ; Possible values:( B# k5 v# f6 L; Z, L
  1589. ;   4  (4 bits: 0-9, a-f)  |$ c; z# J0 p8 H* Y( }* a
  1590. ;   5  (5 bits: 0-9, a-v)% }- G2 o- s) F% O1 G
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    ( L5 P5 f2 X. ~- S* o
  1592. ; Default Value: 4+ Z- W3 b' ?7 @6 v. C* a) b
  1593. ; Development Value: 5
    - L# Y# S% \1 Q# l
  1594. ; Production Value: 5
    4 I* i5 N( n: K! r
  1595. ; http://php.net/session.hash-bits-per-character2 _* o2 {3 i9 t3 T7 t- Z6 U; S/ v
  1596. session.hash_bits_per_character = 5+ \" p5 i# m3 X" @

  1597. ( F; j& ~7 N2 T& }& Z1 ~
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags./ \8 m2 p8 l7 g
  1599. ; form/fieldset are special; if you include them here, the rewriter will% b, d" H$ ]+ X3 Z- L1 @
  1600. ; add a hidden <input> field with the info which is otherwise appended( w6 z% S& f$ Z- `2 W+ X& [: o
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.' D% p8 v0 i9 E' z5 p
  1602. ; Note that all valid entries require a "=", even if no value follows.& ?5 j( _" H( z' n1 A; t
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="+ G1 J' v% ^3 z- p4 d' s( t
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"6 N' u$ _. x& c( V- Q3 i& f
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    1 ]" i" J* a/ a* c2 g" S
  1606. ; http://php.net/url-rewriter.tags
    0 t, b3 C! ~6 o2 t2 ?* C( {- z
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"! n0 f  v* S2 H

  1608. # V* Z. q3 B. N
  1609. ; Enable upload progress tracking in $_SESSION
    5 |* X* k: _- ^6 d
  1610. ; Default Value: On
    ! S7 E+ F! t* |, b0 P8 M' u
  1611. ; Development Value: On! E: N% O- W$ j! ?: H/ {
  1612. ; Production Value: On
    / F% V! {3 I" p$ n. n0 C0 c
  1613. ; http://php.net/session.upload-progress.enabled
    * d9 u5 h5 h2 w; K( k5 `
  1614. ;session.upload_progress.enabled = On8 C9 S4 [' u5 E0 t9 z8 H! h+ [" `! [
  1615. ) {! |) Z4 s. X+ Z% K
  1616. ; Cleanup the progress information as soon as all POST data has been read1 m" j5 V% ?8 M3 h2 j3 j" }
  1617. ; (i.e. upload completed).
    & |. X# I+ D* G1 x3 ^
  1618. ; Default Value: On6 P5 v$ p. X( M' k3 {0 V8 e! H) ]8 ?
  1619. ; Development Value: On) s- j2 c1 `2 d. k$ W4 f3 f
  1620. ; Production Value: On
    2 W  h+ o5 Q2 c8 m" R: @. S: P- U
  1621. ; http://php.net/session.upload-progress.cleanup
    1 a" N1 \% x! ]1 {# c& c" D0 o
  1622. ;session.upload_progress.cleanup = On0 _  g/ ^: j2 a# E8 [
  1623.   t* o) B" M7 E0 K5 [# z- F
  1624. ; A prefix used for the upload progress key in $_SESSION
    ) `4 \) @- U) A5 D* Y
  1625. ; Default Value: "upload_progress_"
    - j& u# h0 V" P2 Y- B$ |7 f
  1626. ; Development Value: "upload_progress_"
    0 Z% w- i+ b6 s1 l) Z9 _
  1627. ; Production Value: "upload_progress_"
    + O& v* J/ R5 d8 e, `
  1628. ; http://php.net/session.upload-progress.prefix
    ) ~9 W# Y* @" E! q
  1629. ;session.upload_progress.prefix = "upload_progress_"
    4 B, i' _0 Q. ?9 P
  1630. 7 W- t3 D( w/ L* v
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    / K- h" F+ @8 H9 j0 \) F  h
  1632. ; containing the upload progress information( }; r) _* K* W7 U$ ?
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS", \5 L- r5 [/ J2 ?; K2 N
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    6 o4 K5 r" o; E* a/ i! F
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
      E5 ~' q7 }  c4 J* l3 U
  1636. ; http://php.net/session.upload-progress.name: I* E) U  ]) F: e" G
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"( V) {# I! F6 s. E. B  }" y

  1638. , O* W4 l7 k% c; ]; {6 ?& g
  1639. ; How frequently the upload progress should be updated.
    , P$ u, k" m6 q: ?) Y7 m
  1640. ; Given either in percentages (per-file), or in bytes% E2 g' t+ Z* c. U2 k( o' d
  1641. ; Default Value: "1%"
    0 w% s4 X) P( j, r1 l! c" ?
  1642. ; Development Value: "1%"7 l6 d( }! Y# N
  1643. ; Production Value: "1%"
    ; V5 s& x& \: _6 l+ `
  1644. ; http://php.net/session.upload-progress.freq7 x5 o: X3 p5 y0 g
  1645. ;session.upload_progress.freq =  "1%"' \. P) \% C, `
  1646. 4 ^! R* `/ ?: Y! W! @7 w
  1647. ; The minimum delay between updates, in seconds
    8 Z8 G( n" n% b8 b
  1648. ; Default Value: 1
    $ K1 C/ n4 E' |5 i8 L
  1649. ; Development Value: 1/ T: b7 z3 c( ~, P3 j
  1650. ; Production Value: 14 L2 b  V( I6 s$ h* ~
  1651. ; http://php.net/session.upload-progress.min-freq
    & O* Z1 S- N  k- N% L0 w
  1652. ;session.upload_progress.min_freq = "1"" K5 N, D1 y0 X: b& e2 e+ D
  1653. ; J% J; y9 E5 `; S
  1654. [MSSQL]! H9 z3 p8 u- q5 F4 J: J& d* K
  1655. ; Allow or prevent persistent links.+ ?+ d5 c% C& c; P, f+ G6 ]
  1656. mssql.allow_persistent = On8 x$ w& W  t7 J7 P1 _

  1657. : R7 \" W2 K! z
  1658. ; Maximum number of persistent links.  -1 means no limit.& m- ?7 {! `0 P0 C
  1659. mssql.max_persistent = -1
    % T& P$ k- I0 L8 X3 u

  1660. ; z: ^5 L, k( j- E) a; ~( N2 R
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.+ w8 r8 _/ G9 s2 N: e
  1662. mssql.max_links = -1
    3 [: c& k  R3 W+ z8 H7 ]

  1663. 9 G! R+ d0 G% G
  1664. ; Minimum error severity to display.0 w- F7 Q' C' I. u" C& W- e; c# w3 `
  1665. mssql.min_error_severity = 10
    1 W7 H' l+ v2 a1 W8 S$ p* y) Y6 W3 U
  1666. # v6 |5 l' F% O4 p* ^8 X: Y  t- V
  1667. ; Minimum message severity to display.* \3 T) m3 r, @- r. \( |3 {
  1668. mssql.min_message_severity = 10
    . _& F7 D, l0 F. g% e- \
  1669. , E3 Z% k- }$ h
  1670. ; Compatibility mode with old versions of PHP 3.0.% n; Y2 Z- [% o# Z- Z
  1671. mssql.compatibility_mode = Off
    2 ], M- |9 P. V/ q  X$ e' L( D

  1672. % W7 t! u- y1 T3 p. f) x
  1673. ; Connect timeout
    3 Z$ w  J/ N7 \
  1674. ;mssql.connect_timeout = 56 e8 f( y. C) i$ `  {5 U
  1675. 3 c7 U: D1 H) Z  C3 R6 l
  1676. ; Query timeout
    7 E& b+ f2 y5 k
  1677. ;mssql.timeout = 60
    0 n2 j$ [5 [+ W- Y+ {! V- w/ W
  1678. ! L8 [5 G" _/ N0 Z' T9 ^9 O
  1679. ; Valid range 0 - 2147483647.  Default = 4096.. b  d3 u/ ^! z3 d' I4 `* j. T
  1680. ;mssql.textlimit = 40964 a3 ]. u' `: z" i( Q6 O7 g! j
  1681. ! u9 Y2 J3 f  }* {% }* p. q
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    2 I! Q4 o1 t# V1 x
  1683. ;mssql.textsize = 4096
    " B! M5 \, J  p; S* _6 d
  1684. 4 Q  b7 n4 Y  j
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.' c9 `1 X2 n5 ?: {2 V' W& a
  1686. ;mssql.batchsize = 0
    8 Y8 e8 t: l# A9 E; Y
  1687. 3 j% B* F, y3 B$ c* p
  1688. ; Specify how datetime and datetim4 columns are returned+ ]/ S/ c) x" Y
  1689. ; On => Returns data converted to SQL server settings" N, Z! z3 `4 b5 t9 v: \9 \
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss3 q+ K0 [; x- h$ S1 P, f
  1691. ;mssql.datetimeconvert = On
    / ]3 k  r: H8 \( b& N
  1692. ; N& k; b. i0 a0 b; v+ h7 O  P& }* j
  1693. ; Use NT authentication when connecting to the server( o% o/ i( w8 O" y) ], o( G
  1694. mssql.secure_connection = Off
    & @  y- g- r+ B6 |

  1695. # }6 i/ U8 r% h0 R3 i8 E
  1696. ; Specify max number of processes. -1 = library default
    - }4 t" n: K/ X0 y6 }2 l5 @
  1697. ; msdlib defaults to 25
    0 F0 z& a. d& h9 m
  1698. ; FreeTDS defaults to 40961 c' ~/ g* [0 f: _
  1699. ;mssql.max_procs = -1; p" s& {% C# S) A3 l4 X  N& g1 R
  1700. ' r; P! p& G! R* z4 c/ e
  1701. ; Specify client character set.% ]: K! e$ m! j& \& @) S; c" j
  1702. ; If empty or not set the client charset from freetds.conf is used
    , q: {" d/ G3 v  G4 x* N4 x
  1703. ; This is only used when compiled with FreeTDS6 m) T5 w2 R, B7 N
  1704. ;mssql.charset = "ISO-8859-1"
    $ W" d  b; R' l2 x2 l: L" W

  1705. ' K* @. n/ R% a. \5 C- F
  1706. [Assertion]
    3 N) i- b9 `8 p7 K# D
  1707. ; Assert(expr); active by default.$ |: }/ o/ |  y; n! _% K, I0 Z- w3 P9 N
  1708. ; http://php.net/assert.active
    ) C  L; V% N$ F, p% z
  1709. ;assert.active = On
    8 g1 p# L5 t; w" z4 G) O# `

  1710. $ f, I3 w  \4 S" \. q2 t! y
  1711. ; Issue a PHP warning for each failed assertion.
    2 U3 @. I7 R& K" j
  1712. ; http://php.net/assert.warning& q9 K. A* |8 C  `7 L2 L. _- N+ a
  1713. ;assert.warning = On
    # T$ O; j# H$ P5 d

  1714. + L% S1 D; o- h& z. v, ?8 d) U
  1715. ; Don't bail out by default.
      g* i2 g, n3 N: n( U, U5 |
  1716. ; http://php.net/assert.bail
    & p# o5 Z! E5 b  `* }5 l& L
  1717. ;assert.bail = Off
      F. e6 n  [) I* ?: p" E9 f7 z: K

  1718. 3 |5 C) ~: |) C0 [' x& t+ ^
  1719. ; User-function to be called if an assertion fails.# Q# J2 x: g" o; x# H
  1720. ; http://php.net/assert.callback- s% e- q- \) S( d$ f
  1721. ;assert.callback = 0" L: v6 r2 z, E, y

  1722. 2 t+ e/ ~- B% t' f3 V
  1723. ; Eval the expression with current error_reporting().  Set to true if you want  P  `7 J6 k: D- P6 I7 v
  1724. ; error_reporting(0) around the eval().
    . r4 q6 q; Q2 B& u
  1725. ; http://php.net/assert.quiet-eval
    0 `1 X% k" g, \5 C* S# s
  1726. ;assert.quiet_eval = 0" \4 N- N% q8 a9 G4 z4 p. k

  1727. ( T; ?1 A- i% R
  1728. [COM]) u9 k5 L' W0 n/ z. U
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs7 E3 _# ^. R: @9 T  }. i
  1730. ; http://php.net/com.typelib-file
    5 Z) J9 `  T  A# g& z+ T: |3 \0 k) ?
  1731. ;com.typelib_file =5 e" e# Y( P+ F# Q. ?1 |

  1732. & E- M; W' I( H. V9 y
  1733. ; allow Distributed-COM calls
      ~3 R' p( F: I* N/ V$ w' M! _! M
  1734. ; http://php.net/com.allow-dcom
    8 R9 @/ r" X. {
  1735. ;com.allow_dcom = true% B/ b$ O! i6 Z) O) t1 a3 y

  1736. ' J7 l/ i, S* l2 K4 e) e
  1737. ; autoregister constants of a components typlib on com_load()
    . z; v" m' w8 w6 _' a7 q
  1738. ; http://php.net/com.autoregister-typelib4 J3 S1 S% J( e; c
  1739. ;com.autoregister_typelib = true2 N; X# F5 b0 g0 U$ m

  1740. 7 N# U$ `; W. r+ m  X* U3 I8 z
  1741. ; register constants casesensitive. D. Z9 M1 X6 R! |5 c) }. v
  1742. ; http://php.net/com.autoregister-casesensitive3 J' G" w" o+ S! g
  1743. ;com.autoregister_casesensitive = false
    1 `6 s0 E3 C5 F: _7 X

  1744. # t  U0 N$ Z' {+ b$ k, u
  1745. ; show warnings on duplicate constant registrations
    1 v! N. x& [" D! n% w2 n5 K
  1746. ; http://php.net/com.autoregister-verbose
    7 c% Q) n( |5 J+ ~2 j& [4 J1 g2 P
  1747. ;com.autoregister_verbose = true
    4 f: z/ o2 I4 d  J

  1748. 3 r9 {% q0 q, ~4 s& J* J
  1749. ; The default character set code-page to use when passing strings to and from COM objects.; y6 P% M/ K% Z
  1750. ; Default: system ANSI code page
    0 G4 s$ ^% p: D6 w
  1751. ;com.code_page=
    8 W( e( i* b+ W6 f, P" ~
  1752. # |, E2 t3 k. Q& Y/ q/ u
  1753. [mbstring]
    0 C5 ?! c7 \, y3 i' |/ c, u* ?5 L
  1754. ; language for internal character representation.! p) K, p+ G; ?7 o
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.# c" d6 C: s; N. D4 |" @# @
  1756. ; http://php.net/mbstring.language
    3 [5 m" B; g7 J; \7 G. _* o
  1757. ;mbstring.language = Japanese
    9 d: j$ j1 z0 |) A4 m
  1758. / v2 n* l4 b% r, G8 X9 _3 n
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    ( G" I5 d$ g7 z* V' S! d: P+ o- h* R
  1760. ; internal/script encoding.) U, g' z! z+ t, p4 e" `) H
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*), h4 h# W% h' O% E" ~
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.1 A& P. Z. |7 D1 _4 M7 Q3 r
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    % K: m2 l" M9 Z0 W
  1764. ;mbstring.internal_encoding =' i$ A& ?! |9 B5 A

  1765. # E6 `& r+ u3 l! X# [. p4 K/ G1 F
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
    " N6 U" l8 u. p( o: S
  1767. ; http input encoding.
    7 {' i- c1 r$ a" {; w
  1768. ; mbstring.encoding_traslation = On is needed to use this setting., y! O+ M& Q, t' }# A5 z: ^
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.& A0 b  B! B' C- s. O5 |) `: L
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    ; ?& t3 P, H/ t3 G. x! ~) G
  1771. ; http://php.net/mbstring.http-input
      j7 r( ^% g  u3 u, }: c1 ]
  1772. ;mbstring.http_input =
    ( @/ r! D/ Z  W

  1773. + C1 T/ f) a- o9 q
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.8 `& q+ g( _0 ?9 i' k3 a  ?
  1775. ; http output encoding.! N8 d6 ~1 G2 u
  1776. ; mb_output_handler must be registered as output buffer to function.
    : S9 R% H- k1 u8 T/ w
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    . ~9 C1 U2 M3 Q) _6 o' S' c* q
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output) ?2 |  q- N. q( f, X+ ^( l
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    8 R8 E2 A3 U2 \' j5 X, ?! U! c/ A
  1780. ; otherwise output encoding conversion cannot be performed.
    $ G' T0 e' u+ P
  1781. ; http://php.net/mbstring.http-output0 b# Z6 F$ d) M/ N, W! G9 P
  1782. ;mbstring.http_output =* ]1 J  l- {- B" |: i0 ]7 e

  1783. . O" Y- G# i+ B
  1784. ; enable automatic encoding translation according to9 T1 X2 d2 k! ?0 `
  1785. ; mbstring.internal_encoding setting. Input chars are8 C- Z5 W6 d% T  ]6 f/ W3 i9 p
  1786. ; converted to internal encoding by setting this to On.) A. _8 q# S: H5 f3 B8 w
  1787. ; Note: Do _not_ use automatic encoding translation for
    * }# l; y. L( w1 H; A8 K
  1788. ;       portable libs/applications.
    9 z8 j0 M0 z! x9 Y2 h. e
  1789. ; http://php.net/mbstring.encoding-translation6 s* y* N. F# |" C
  1790. ;mbstring.encoding_translation = Off/ X0 i# q! L: L# p
  1791. ' I0 @  K9 O8 g! N3 ~/ e2 `) S
  1792. ; automatic encoding detection order.3 Q& V1 i$ A8 n2 K, j6 J
  1793. ; "auto" detect order is changed according to mbstring.language' r: k& ?/ r. @7 l- i/ |) H
  1794. ; http://php.net/mbstring.detect-order
    - m4 L) X: d- F1 W: f
  1795. ;mbstring.detect_order = auto9 |& t- ?% `% u- @# A1 _* |

  1796. ) y4 h# d1 z. r3 `& J
  1797. ; substitute_character used when character cannot be converted4 }  g( W8 n; R. g" L) s
  1798. ; one from another
    / W" i( |  O' h% I5 F9 E
  1799. ; http://php.net/mbstring.substitute-character
    2 s0 g. J- U! f
  1800. ;mbstring.substitute_character = none
    % Y; X* d  W, r4 P' o
  1801. % Z* b$ S! c8 L2 ~
  1802. ; overload(replace) single byte functions by mbstring functions.7 o: f, u$ n5 W
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    + V: G7 c6 w$ F5 O$ U
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    6 ~$ O7 Y' K, F0 _& f  j! I
  1805. ; For example, 7 for overload everything.
    " o$ ^8 B0 a. p' G
  1806. ; 0: No overload
    ) F# m  d6 M& r9 ]
  1807. ; 1: Overload mail() function
    0 n  [3 P' s3 U1 j
  1808. ; 2: Overload str*() functions
    ( ~9 Y7 R: a* I$ G
  1809. ; 4: Overload ereg*() functions
    5 u+ @* e: |% o- S5 ~. R( R- e
  1810. ; http://php.net/mbstring.func-overload
    $ m8 n3 Q6 \0 M8 S+ n! d' D
  1811. ;mbstring.func_overload = 0: v" Z. g  X( _0 P
  1812. * L0 |/ V6 @9 Y, V
  1813. ; enable strict encoding detection.; M+ b- g  g/ {, k" K5 c: u, K
  1814. ; Default: Off! A2 y% h3 ]6 J. t
  1815. ;mbstring.strict_detection = On
    # L: Y. L0 v, t: R- _9 k- Q6 S
  1816. 5 ^+ _0 q. ]+ p
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler(): Y! v  _! W9 |+ j$ E
  1818. ; is activated.
    9 z8 @- D/ Q% h, S4 @7 l
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)9 l+ z( R- F9 Q' R
  1820. ;mbstring.http_output_conv_mimetype=/ H2 U. ?: v: a% U
  1821. 2 ]6 p8 C9 O2 @2 @" E* L
  1822. [gd]
    * z7 T2 D3 G0 g! y& a
  1823. ; Tell the jpeg decode to ignore warnings and try to create/ O/ t$ `9 H" z7 K$ x
  1824. ; a gd image. The warning will then be displayed as notices+ q0 ?7 e+ U3 T4 N+ S7 p
  1825. ; disabled by default
    ) y5 l$ ^2 M& n. C) P& h
  1826. ; http://php.net/gd.jpeg-ignore-warning
    6 k: C9 r; i9 i2 H- L' i2 ^
  1827. ;gd.jpeg_ignore_warning = 0
    ; i$ F! S7 I( ~2 y' d0 u6 b1 A
  1828. " m' Q5 O3 [% h. ~
  1829. [exif]) F+ R/ B6 `& a# j$ ~
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS./ N! t: P. |2 t3 y' _% u
  1831. ; With mbstring support this will automatically be converted into the encoding6 }; n; N( r# Y7 P8 u% b1 C
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding+ T& k5 [9 i8 y( W7 r' z$ R, f2 O& E
  1833. ; is used. For the decode settings you can distinguish between motorola and2 t+ x+ R! r1 M9 S( q* A
  1834. ; intel byte order. A decode setting cannot be empty.
    + m3 M6 L  S* S# i
  1835. ; http://php.net/exif.encode-unicode3 h% ~( \+ o3 e# {1 |- l
  1836. ;exif.encode_unicode = ISO-8859-15- L7 ^. g6 h& D  }& }# X

  1837. . |* @3 X' e- T
  1838. ; http://php.net/exif.decode-unicode-motorola
    0 _% G5 P) l) z0 m* t
  1839. ;exif.decode_unicode_motorola = UCS-2BE- f; F& q- e: Q0 b# k
  1840.   {6 y5 N: C7 h- m/ h$ U; i; H. f
  1841. ; http://php.net/exif.decode-unicode-intel" l! [) s) ]4 o" n7 g
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    / U! ~+ r! ^6 I# d
  1843. 1 T, s6 P. Q# X( q3 l
  1844. ; http://php.net/exif.encode-jis
    " f% n# v9 w( S5 j3 x( h3 |: Y$ }( y( g
  1845. ;exif.encode_jis =
    - z3 l$ P- Q9 m* I& b/ f; g% T
  1846. ! h4 a( {9 \8 x3 U2 k
  1847. ; http://php.net/exif.decode-jis-motorola9 f0 }6 l" H8 t9 F9 g
  1848. ;exif.decode_jis_motorola = JIS( ~/ _' d' n( u. M( @' e) J) i9 n
  1849. ' F5 m6 ~$ j% w$ x: R3 K/ z
  1850. ; http://php.net/exif.decode-jis-intel
    4 S# E6 F2 C# B6 n. k9 g
  1851. ;exif.decode_jis_intel    = JIS
    1 O3 D: g, T! t, g; ^8 J. `# J

  1852. 8 D4 }& M/ B7 x- A, s) f$ b
  1853. [Tidy]
      a7 S3 K: ?6 v$ r3 D: Y% K
  1854. ; The path to a default tidy configuration file to use when using tidy
    6 \9 l7 c) I4 I& p
  1855. ; http://php.net/tidy.default-config
    - }' W. [  [) x  H
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg; U. k+ k, p# b& E* [
  1857. 1 S0 t! ~7 ^& U
  1858. ; Should tidy clean and repair output automatically?" d0 C8 t! j' q7 v8 Z2 u
  1859. ; WARNING: Do not use this option if you are generating non-html content
    ) m% c  C! M$ p( I- Z# e
  1860. ; such as dynamic images& g$ G! s% |7 C# a" p3 U
  1861. ; http://php.net/tidy.clean-output; h3 h1 b6 a) U! K, T/ x; ~4 H2 S- p
  1862. tidy.clean_output = Off: O* Y+ n; ]# L( C: X! T. |6 Y) G
  1863. ; D7 S% e+ B+ {0 g9 H. r
  1864. [soap]0 ^2 g$ q6 k! k
  1865. ; Enables or disables WSDL caching feature.$ H6 G% V! I7 g- m# w0 a
  1866. ; http://php.net/soap.wsdl-cache-enabled% ?  w/ ^& s9 s1 L
  1867. soap.wsdl_cache_enabled=13 L$ d% ~/ V8 e# T+ L- p" {0 ?

  1868. & _- @: Y1 @. f4 c. q6 T
  1869. ; Sets the directory name where SOAP extension will put cache files.
    ' o9 K# z1 D+ k# m" t7 ]# m
  1870. ; http://php.net/soap.wsdl-cache-dir
    . c, Q! }) Y0 W2 g
  1871. soap.wsdl_cache_dir="/tmp"
    ) u& |' u& M- y' Y$ U

  1872. ( h: A( [4 i0 m( M+ D
  1873. ; (time to live) Sets the number of second while cached file will be used, k* v. }7 S3 d  f; e! d% M
  1874. ; instead of original one.( J7 E9 o' w; ~
  1875. ; http://php.net/soap.wsdl-cache-ttl8 m7 n( D; X6 o+ T/ B( _- ~+ v
  1876. soap.wsdl_cache_ttl=86400+ a$ K( i$ L$ l. z5 H  t

  1877. ! M, A+ G" x5 }' g! |+ O6 |% k
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    / I- Q# s! }( G; q; ?& `9 l1 s8 m3 Z$ C
  1879. soap.wsdl_cache_limit = 5
    $ @* }/ b3 ?! ?3 H8 e

  1880. 4 s+ p" F! P5 s9 U& R
  1881. [sysvshm]6 D  }2 r6 `0 W
  1882. ; A default size of the shared memory segment5 |) X* j8 e9 |; i
  1883. ;sysvshm.init_mem = 10000$ }% V, h8 Y0 x' o9 r
  1884.   \6 Y  }5 f  [" F! F$ ~
  1885. [ldap]# G; b( H. p! e7 s
  1886. ; Sets the maximum number of open links or -1 for unlimited.6 B2 n/ u8 |! f
  1887. ldap.max_links = -17 M- }/ s8 R. I: W" C
  1888. 5 t7 c5 @1 A4 l4 c
  1889. [mcrypt]
    " C) N+ r% n# e  w! z
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open9 E# e" I# X$ d9 k9 I7 E1 ]
  1891.   U0 C2 h: G5 S7 ]/ }. M3 e
  1892. ; Directory where to load mcrypt algorithms/ W# g2 i5 s! a% l5 s8 _" `
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    / a$ |3 D8 P0 h8 Y/ K+ l* C* |0 H
  1894. ;mcrypt.algorithms_dir=) X0 X4 D* @, q* [  d" `# N8 X4 }1 P
  1895. 8 z+ [) G1 E+ W0 J+ x- r
  1896. ; Directory where to load mcrypt modes
    ! D7 Y1 |  }- L" ~  F$ e, r1 a
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt), N# ~" f7 S& G( @2 O
  1898. ;mcrypt.modes_dir=7 ?" k& f% f9 v/ y, y
  1899. 9 X5 S3 Q; l+ u) g
  1900. [dba]9 z7 L2 z/ J7 q" l
  1901. ;dba.default_handler=6 a( @* R2 F1 l; }/ k

  1902. # W" [: h- t& k8 Z# }
  1903. [opcache]
    9 I9 j8 p2 w+ ^5 P- L; L
  1904. ; Determines if Zend OPCache is enabled
    1 |3 A- e% r1 {& l5 I: S
  1905. ;opcache.enable=0
    3 R$ O4 B2 q+ z5 s8 b/ ^

  1906. 0 H7 ~. Y* r5 W% ]9 ~  z
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    % P% H* c! z5 K3 r- |! \- A
  1908. ;opcache.enable_cli=0
    5 Z, x- ]7 B# k# C$ v
  1909. . j% z& _9 c+ e" B. y
  1910. ; The OPcache shared memory storage size.( \1 b$ d6 J4 ?
  1911. ;opcache.memory_consumption=64. r* Y4 {& x! `' x7 L

  1912. $ H: P6 L' d7 ]% R) X2 T
  1913. ; The amount of memory for interned strings in Mbytes.
    . @7 L) Y0 |& N$ _
  1914. ;opcache.interned_strings_buffer=4& K5 L7 D: @2 A

  1915. # E$ E" m& [, y+ Z
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    - v+ c6 R2 K/ @! X
  1917. ; Only numbers between 200 and 100000 are allowed.
    8 [5 Z/ C0 c% c' n) d
  1918. ;opcache.max_accelerated_files=2000
      A+ t5 o5 T; U9 \# @- @* n
  1919. & T! n  Q6 \! v- ?
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.3 ~8 f7 O. G8 T1 n
  1921. ;opcache.max_wasted_percentage=56 l1 }- g  ]7 i" g% }2 `

  1922. ( ~" E5 H2 j( F# L$ b- z1 N
  1923. ; When this directive is enabled, the OPcache appends the current working, M3 S8 u( g* Z6 x' n
  1924. ; directory to the script key, thus eliminating possible collisions between
    % X4 e3 K" X; X9 b, J1 I' V
  1925. ; files with the same name (basename). Disabling the directive improves+ n; s  ?) N; n/ j1 I# s
  1926. ; performance, but may break existing applications.1 E- M+ _$ X% A* o- T
  1927. ;opcache.use_cwd=1% e3 L/ s6 @* b6 b. f7 O* @7 G" G

  1928. ! d2 T: G, @% d) Q  i: s$ x
  1929. ; When disabled, you must reset the OPcache manually or restart the
    $ m4 ^5 A5 \2 l3 I7 G
  1930. ; webserver for changes to the filesystem to take effect.
    % l* i9 a) c8 K$ M6 z/ |/ N& j4 D+ l
  1931. ;opcache.validate_timestamps=1
    1 ?+ _% i: w$ _) r! p$ o+ U
  1932. . m: L- A; q$ H" u0 b
  1933. ; How often (in seconds) to check file timestamps for changes to the shared4 P$ K# N/ e, Y& d& V; b( N: D
  1934. ; memory storage allocation. ("1" means validate once per second, but only3 r8 u6 ^/ m  i5 F% C7 E
  1935. ; once per request. "0" means always validate); Z+ n1 Y' A: a' E- ?# F* Z( g
  1936. ;opcache.revalidate_freq=2
    - z. ^/ Q, B" Y3 h; Q

  1937. 3 r* n7 H/ J5 Q9 t, E
  1938. ; Enables or disables file search in include_path optimization% m% T2 E6 d4 l+ ?/ H9 @8 M- f
  1939. ;opcache.revalidate_path=0+ i* l+ q5 b0 k. A- g$ o
  1940. 2 W# Q& T5 x9 D$ n5 H5 \
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    : ]( |  J0 ?( W* w
  1942. ; size of the optimized code.  [5 D& n  E$ e  W* v/ b
  1943. ;opcache.save_comments=1
    - {4 L" m. Q8 X/ o; g3 |

  1944. 5 S5 L9 `6 p# P+ X. {0 Z; |
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    - e7 H- N8 N: C! h* S, T
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    0 [$ Q& W# j% N0 g9 N" {
  1947. ; that don't need them anyway.
    * ]6 M  a9 Y9 \- `2 A
  1948. ;opcache.load_comments=1
    6 U/ n3 ~$ T1 s( z) i# O( Z% n0 e4 m1 T. y

  1949. 4 c' m) n1 s$ T
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code; I+ e- }, Y1 ]. x
  1951. ;opcache.fast_shutdown=0* R& z( w) q7 ^1 b# r, L
  1952. ; Y1 w5 i1 d5 Z, u3 N" S
  1953. ; Allow file existence override (file_exists, etc.) performance feature.$ q# d4 P8 Q& v. F
  1954. ;opcache.enable_file_override=0& r% j. i/ z! l) B5 y) [
  1955. , N2 d+ Y' E1 m, D" [6 i& x
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    1 c% [! W! Z/ H' N& l2 k
  1957. ; passes
    & j5 v  r$ L) l1 l2 \. M
  1958. ;opcache.optimization_level=0xffffffff# T0 V3 j! H: p4 _/ f

  1959. & R+ t& p5 n) x' \9 y. t# q
  1960. ;opcache.inherited_hack=1
    ' ]) H0 h  t9 Y5 ^8 F
  1961. ;opcache.dups_fix=0
    ( t9 F# I, v) Q" y# \
  1962. + i4 ]: S1 }! k8 f7 C# m1 @
  1963. ; The location of the OPcache blacklist file (wildcards allowed).) M8 v0 d' D2 U& S+ i) j( q* {
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    , x, ^. _- b* ~" Y* w- y4 l5 v5 Z
  1965. ; that should not be accelerated. The file format is to add each filename+ S- ~! j- Y4 S
  1966. ; to a new line. The filename may be a full path or just a file prefix( o. \8 K* U* i+ N+ ]; T9 V3 i
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    ! h9 T$ l9 B4 ]: F6 Z
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).) m/ a4 p# h! J7 B8 M
  1969. ;opcache.blacklist_filename=2 _# w' |* ]  l- ?

  1970. - Z1 `, @1 Z0 Z" X# f
  1971. ; Allows exclusion of large files from being cached. By default all files/ l5 F: h9 E) y% s/ ?0 k& }
  1972. ; are cached./ p& _  b8 c- h) Z
  1973. ;opcache.max_file_size=0* T' {6 Q6 j# w: m% }  P

  1974. 9 s/ K! K& t2 \: F) C
  1975. ; Check the cache checksum each N requests.% A) }7 r2 n' {9 i
  1976. ; The default value of "0" means that the checks are disabled.1 O# ~, {6 A7 i4 Y7 ^
  1977. ;opcache.consistency_checks=0' A" k: t' f0 h2 l7 F4 I
  1978. # c' I) G- w5 f; d* r
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    : `9 R' ]* T3 B: d
  1980. ; is not being accessed.0 u3 G  f3 x; E( k5 S2 a- |0 e
  1981. ;opcache.force_restart_timeout=180
    : E" b9 F( P  a% u7 L/ k

  1982. 8 z. J$ P; n5 m
  1983. ; OPcache error_log file name. Empty string assumes "stderr"., B( @9 ^$ W4 S6 S: D/ V5 V
  1984. ;opcache.error_log=
    # a4 H7 h: y5 Z4 _  s9 Z
  1985. $ N! p0 D" m" t- f7 Q/ }% [
  1986. ; All OPcache errors go to the Web server log.2 N8 `. w2 Y  [+ q  `" w
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.8 _- {' O  ]2 @2 F: I8 Q6 S
  1988. ; You can also enable warnings (level 2), info messages (level 3) or6 \& {5 y+ n1 W  n3 ^0 l# p
  1989. ; debug messages (level 4).
    8 |( |6 ~; G5 V
  1990. ;opcache.log_verbosity_level=15 B4 X5 s# K2 b/ t  c/ e

  1991. + r9 J& i2 g" D) m
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.* W4 Y) p5 ^5 j$ }* z7 u3 W
  1993. ;opcache.preferred_memory_model=
    ( K; ]; V8 ^$ |# t9 n8 D
  1994. 8 B, R, i, U/ G& m( _5 H
  1995. ; Protect the shared memory from unexpected writing during script execution.  \7 I2 N0 P3 F/ M
  1996. ; Useful for internal debugging only.& n% a" b% j3 k7 Z
  1997. ;opcache.protect_memory=0
    - A# r* H) ]. F  y; b$ u, |2 g* j

  1998. ) d8 J( D# o7 k& Z" e' W
  1999. ; Validate cached file permissions.
    + M' g; A. {! V, W" u: {
  2000. ; opcache.validate_permission=0
    6 G* B& i1 p% c4 |

  2001. 3 ]. ], }3 v. S
  2002. ; Prevent name collisions in chroot'ed environment.4 `; f+ O' Q! ^4 y
  2003. ; opcache.validate_root=0
    , n- C4 j& q: l; R. A6 ?; N

  2004. $ H) H& W! R4 r* V& |3 D
  2005. [curl]
    4 e# z# Z  Y, J3 \- P  M
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an, S1 j9 T6 W" i- W, w7 L
  2007. ; absolute path.
    - n2 I, }4 v' W0 a$ b: P$ W
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    ' p5 W7 F1 C5 B9 F
  2009. ) g8 w. h1 [/ ?
  2010. [openssl]/ N8 c, B' w# ]8 p- C9 ~& y0 ^
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    % p; ?1 h6 ~8 U
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should; h$ E. a* v8 {
  2013. ; not specify a value for this directive as PHP will attempt to use the4 F! x% S. P  X. M  O: r6 N- g
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    5 E4 l" j0 K8 T' A3 A
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    3 h, D( t2 I3 H$ ]" d9 r* B  H: j
  2016. ; option.
    7 M! R! D4 k9 P2 u, j, f& S
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt' v; e1 E2 [, Q( L! j/ i
  2018. $ P# X, p: \9 _& W* M5 x
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    * R6 |+ c1 I: \8 d
  2020. ; directory pointed to by openssl.capath is searched for a suitable9 R" l- Z+ w$ {4 y- P6 t; E) r, k
  2021. ; certificate. This value must be a correctly hashed certificate directory.' b; {8 j, U0 ~2 k- F
  2022. ; Most users should not specify a value for this directive as PHP will: n# y( t+ ~) v& W  a
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,, R4 D# b6 O, w0 \9 o
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    , x+ Z/ K* v; h/ @
  2025. ; SSL stream context option.9 _) l) c1 M3 V$ ]. a& i! d! e- P
  2026. ;openssl.capath=; Z( H0 x  |6 H0 a

  2027. 9 O* O+ n1 {3 Z" B1 Q$ S
  2028. ; Local Variables:+ Q7 i8 y6 F0 t# ~$ _
  2029. ; tab-width: 4* ~0 G% @9 ?5 C9 [5 |' w% v
  2030. ; End:
    2 f0 V( y3 M* ]
  2031. 8 J# M" s( d' ~4 Z
  2032. ;eaccelerator
    . `) \7 ]+ @( q7 ^6 @4 Y
  2033. # `3 U% F: Y; S2 ~
  2034. ;ionCube
    0 j' _# q9 X% l7 a0 @

  2035. 2 v6 \7 e0 ^) s5 ^! N* }" |4 @
  2036. ;opcache% x$ w+ M5 Q0 M8 C- m+ z1 L
  2037. 7 Q; ]) V' k4 G1 J; T
  2038. [Zend ZendGuard Loader]1 @0 {/ ]" c/ L3 m8 n3 T
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so* N2 d6 n8 S* o, L( b8 o
  2040. zend_loader.enable=1
    7 C" y; p0 K$ w. d, g
  2041. zend_loader.disable_licensing=0
    4 j" e' i" r4 i
  2042. zend_loader.obfuscation_level_support=3
    - _- K. e; B2 z7 z' ~; L
  2043. zend_loader.license_path=' Y- u' ~$ k  u$ t
  2044. 6 i% \% k. P# G$ N% w# m
  2045. ;xcache
    / y0 b& g$ r+ ~! E1 V

  2046. ! P  d. A$ d4 K$ f+ W  }
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
5 B- @3 G' J) K0 p+ }
- s8 A  H9 P# D3 `
- F* E- G5 z( K: PDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,! e3 N% I5 }6 J7 n' J8 C
6 m7 u7 m4 ~2 p/ X& T" Y
Discuz!程序版本选择:2 c" d; J+ m% u% l' o$ d. P
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,% Q2 b) M- M' y! t
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:5 `% U, @% A1 U
Discuz!F1.0 是应用中心民审、作者爱好者合作基于 Discuz!官方Discuz!X3.2、Discuz!X3.3、Discuz! X3.4版本之上推出的基于PHP 7.1、mysql 5.8最新环境适配、精简的Discuz!论坛程序,目前对Discuz!F1.0 的支持应用DZ插件、DZ模板都相对较少,很多DZ插件、DZ模板对Discuz!F1.0 的支持性也较少,根据目前站长普遍的反馈而言,使用Discuz!F1.0 建站的站长遇到的问题往往比较繁琐,且目前民审、开发作者、爱好者出品的Discuz!F1.0 版本已经处于停摆之中,站长最终都选择了Discuz!F1.0 降级为 Discuz!X3.2、Discuz!X3.3、Discuz! X3.4。
* J( ^- n! \% q  W4 e
- W9 a/ R. S- w  EDiscuz!插件模板版本选择:9 U- |4 V- o  i. j) n7 x
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,% |0 k  c% p; q' S; j3 I& Y
针对这个问题做个统一的普及:& p5 u8 B* V7 d$ [1 n9 @* G& c
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。) {5 X5 ?- B$ L
' n3 [1 F% n! q
所以* R$ N0 T& l) P3 l- }: Q7 z) ?4 l
适合Discuz!X3、X3.1版本的DZ插件、DZ模板是适合并兼容 Discuz!X3.2站点使用的,请站长放心安装使用。但适用于X3.2版本的应用90%以上是不兼容Discuz! X3.4和php 7.x的,请格外注意!!!
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-12-2 01:25:25 | 显示全部楼层
添加网站的时候一定要添加两个站点,一个是主域名,一个是www的二级域名。5 l3 t  m0 G7 v
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
4 h4 d' [9 p0 q+ D4 x注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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