分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
6 m1 G3 H: S( B8 p( F5 H' W) B$ o
  1. [PHP]8 v# [, ]9 }% `4 S9 y( C; Y

  2. 6 G3 S. _, j5 ~
  3. ;;;;;;;;;;;;;;;;;;;
    % J: `9 Q0 u, X' I3 C8 c) ^
  4. ; About php.ini   ;
    " m: _# `* }8 d
  5. ;;;;;;;;;;;;;;;;;;;
    ! A- u- ^: I# g) w+ T6 o
  6. ; PHP's initialization file, generally called php.ini, is responsible for0 A+ m1 T# P8 V+ k/ x
  7. ; configuring many of the aspects of PHP's behavior.( l  T: d$ B3 w' E7 @

  8. - K6 c; L* d% m& e  U2 P
  9. ; PHP attempts to find and load this configuration from a number of locations.
    5 r9 E; y) y- a
  10. ; The following is a summary of its search order:8 h- L' X' |- E7 t" Z
  11. ; 1. SAPI module specific location.
    * M" M! f) z  ^8 L) X
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)! c9 V6 S- N; w$ E. ~" o
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    # ~! |' w+ Y' Y. t- N. a! S
  14. ; 4. Current working directory (except CLI)" ^, J' [3 W0 J" B3 P# X  M
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP0 h! g: O5 n# m) X( V& x% ]
  16. ; (otherwise in Windows)" x% z3 z: R% M/ A6 q# f
  17. ; 6. The directory from the --with-config-file-path compile time option, or the( o9 O9 I! \, W
  18. ; Windows directory (C:\windows or C:\winnt)
    5 E1 H8 e# C# c3 G( I1 ~
  19. ; See the PHP docs for more specific information.
    & r: X, [) |& q* j. `; P% Y
  20. ; http://php.net/configuration.file
    ) R6 E: K7 W$ P
  21. 5 [2 v0 ~% c/ \; B
  22. ; The syntax of the file is extremely simple.  Whitespace and lines/ @% |* H" e( t% ]3 v- B0 w3 H: C
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).  Q! A: C- B/ f( Q
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though) K' H) x3 h: L5 B, t$ A
  25. ; they might mean something in the future." ?. y$ d- _+ a- S  ^9 \
  26. 5 Q" j' ], C+ O
  27. ; Directives following the section heading [PATH=/www/mysite] only
    9 K; M3 U7 k) L( x
  28. ; apply to PHP files in the /www/mysite directory.  Directives; k: c6 ^( j1 F$ m! p" w& w8 o% c
  29. ; following the section heading [HOST=www.example.com] only apply to+ I8 {, Q: [, Q  i3 |
  30. ; PHP files served from www.example.com.  Directives set in these
    , z: @' T. g9 I5 {
  31. ; special sections cannot be overridden by user-defined INI files or
    4 N  r) }" C: S5 Q2 R
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    $ {! K( z- I" \8 t, x. A  h
  33. ; CGI/FastCGI.
      [$ x- S; \: [/ ]- S
  34. ; http://php.net/ini.sections" s' r3 X7 U: G2 l0 L

  35. " y* }: S+ `& g0 ?, P; g
  36. ; Directives are specified using the following syntax:
    1 b5 q) m3 B1 i
  37. ; directive = value+ Z% F8 S+ ^- c$ b8 ^$ k/ j' z" B, W
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    " e7 ^6 z/ ]0 P: `. s" R4 E
  39. ; Directives are variables used to configure PHP or PHP extensions.1 l" {* F2 s. v( ^/ f; B
  40. ; There is no name validation.  If PHP can't find an expected
    / a+ R. I9 _3 g4 q5 d( [9 J
  41. ; directive because it is not set or is mistyped, a default value will be used.2 ^  \* I/ i% f5 R! L
  42. . T7 j7 r/ c9 p
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one+ u$ w* D" h# N9 I, `5 z
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
      ~" I! Z* g' C$ L! j
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    ; F& V" `1 n& r4 ~6 r, U
  46. ; previously set variable or directive (e.g. ${foo})
    ' ~1 J1 @/ u8 p

  47. / M7 _0 K5 W5 n# S7 H
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    ( \7 V; n2 B$ W- ~8 P9 q
  49. ; |  bitwise OR
    4 k6 B' T1 {2 N% T. U2 P# y
  50. ; ^  bitwise XOR  W. X% H8 B8 r2 u, f" m
  51. ; &  bitwise AND3 |$ p" G7 z2 }: C& R6 E
  52. ; ~  bitwise NOT7 f; N, A8 ~0 ~( R# T# J
  53. ; !  boolean NOT# P. E' A1 n7 o( \( \- T+ [# I

  54. ) \/ |! E; F2 s7 Q
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    ! y- E& Q8 n8 i; y9 A5 A
  56. ; They can be turned off using the values 0, Off, False or No.9 c5 [( U0 `. i) H% o, h5 J  M
  57. ; s, m% X4 p2 {% C
  58. ; An empty string can be denoted by simply not writing anything after the equal
    0 I7 N$ ^" j: L
  59. ; sign, or by using the None keyword:: I( r3 a) E' s: h: J

  60. 7 j/ o+ b0 U. `( J% _# L
  61. ;  foo =         ; sets foo to an empty string
    & |! b/ w6 L1 n
  62. ;  foo = None    ; sets foo to an empty string, R. y) `, ?. {9 n8 W, R: a8 n
  63. ;  foo = "None"  ; sets foo to the string 'None'! ]2 o. v! R5 [6 |+ O9 |! m

  64. : G: @# d) r) p9 `5 v. ]. j
  65. ; If you use constants in your value, and these constants belong to a
    % S& k% K& |7 P% D' i& S7 W8 j
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    & }# B1 R* R6 D2 u
  67. ; you may only use these constants *after* the line that loads the extension.
    % n" W, P6 a# E9 P
  68. " ?6 n5 Z$ f; g% w: j$ f% c
  69. ;;;;;;;;;;;;;;;;;;;
    ( M  [% c4 I- `% L5 ~
  70. ; About this file ;# h; f% Q+ ]" ^' R5 n6 p( L7 Y
  71. ;;;;;;;;;;;;;;;;;;;( u3 |1 @- b0 u: b# u8 J5 p5 H
  72. ; PHP comes packaged with two INI files. One that is recommended to be used+ Z" i, w( u& j! Y- W& X0 z' }
  73. ; in production environments and one that is recommended to be used in
    / @0 y# ~8 n1 i3 k$ ]% a
  74. ; development environments.4 Q. `# h; W6 m
  75. + p1 s( P0 e9 u" l
  76. ; php.ini-production contains settings which hold security, performance and% I4 m- J1 w' _. L3 z+ v6 Z
  77. ; best practices at its core. But please be aware, these settings may break
    9 B2 M3 n! K( b2 r2 ~; \6 I; J
  78. ; compatibility with older or less security conscience applications. We+ u8 o8 `5 ]( H
  79. ; recommending using the production ini in production and testing environments.8 w9 i4 _4 u* N. k
  80. ' z5 A, [: p' }9 `
  81. ; php.ini-development is very similar to its production variant, except it is4 p0 `6 o. F6 T4 }2 R; Z! {
  82. ; much more verbose when it comes to errors. We recommend using the
    5 V# r) ?0 T7 j7 r( @
  83. ; development version only in development environments, as errors shown to
    * [4 a  F1 b9 E( `3 A
  84. ; application users can inadvertently leak otherwise secure information.; {4 A5 I$ E; u0 ]& b. t3 n

  85.   r; Z* u2 v- L$ V
  86. ; This is php.ini-production INI file.
    $ d* l' B& `! `1 b  r( D

  87. 3 J7 a1 D  \, b0 k- F2 i1 j
  88. ;;;;;;;;;;;;;;;;;;;
    ; k& Z& s' _. J' W
  89. ; Quick Reference ;
    1 `- ]4 B  ~+ R, ?4 h
  90. ;;;;;;;;;;;;;;;;;;;5 G2 f7 q( V! {6 v- q
  91. ; The following are all the settings which are different in either the production  o% b3 U( v. v: [0 W
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    / K  U) K* W2 M- F2 Z& b
  93. ; Please see the actual settings later in the document for more details as to why: G5 x& a2 f3 H, c' G, J& O6 `
  94. ; we recommend these changes in PHP's behavior.
    1 g) w& P* v, x
  95. + w/ E2 d* H* K
  96. ; display_errors
    " s. L  o1 M! S: I/ m+ _
  97. ;   Default Value: On
    : E- ^) L! \5 O# w
  98. ;   Development Value: On5 M" O% W6 M" {
  99. ;   Production Value: Off
      N1 j0 T" x# J- c$ w* W4 b$ r
  100.   e5 U9 Q" |! u8 j: ?1 ^: a
  101. ; display_startup_errors
    / v2 J; z0 O7 O/ |1 F, N$ @+ c
  102. ;   Default Value: Off  }" E- u* R3 w  G) f. a+ a% U: o
  103. ;   Development Value: On7 H3 [0 L! j3 _% g2 f' S* G
  104. ;   Production Value: Off
    9 K1 N" {/ v% N" `8 h9 J0 v
  105. 5 P# w8 N: w& V& f2 c& }* J1 N
  106. ; error_reporting9 ]) ~, g' j" s& ^0 j; W8 N% w8 o
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED1 w0 O, }# x+ |' G* g% U
  108. ;   Development Value: E_ALL6 j+ i! Y& e' w9 b
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT5 r/ R! z- V8 l5 s. R3 _

  110. ; R' g: q) _* H  C$ y0 @
  111. ; html_errors
    ' @$ \" ?" r" F/ n9 L4 S
  112. ;   Default Value: On
    / q, E. U9 {, l. \
  113. ;   Development Value: On% M2 }" H" l' K0 O
  114. ;   Production value: On
    2 K- H2 `; `+ u4 D: k% d% ?2 I

  115. - `5 @, s: F3 g" c2 h; \% P* n
  116. ; log_errors
    2 n: U/ _# ?" o6 v
  117. ;   Default Value: Off
    1 Q2 V; G! i! n$ E  R" {
  118. ;   Development Value: On0 B; [# M) b4 O6 Z  n/ W4 T. `! T7 Y
  119. ;   Production Value: On+ Z" g* W& j: R% s

  120. 6 V5 v2 T2 j/ E( [
  121. ; max_input_time
    + s7 F( d1 Z' ~/ D
  122. ;   Default Value: -1 (Unlimited)
    : x1 K8 W/ ?- L) i% o2 K# z6 E
  123. ;   Development Value: 60 (60 seconds)
    8 l4 k: C5 V# B! ]
  124. ;   Production Value: 60 (60 seconds)
    . [0 T* I8 u, c. C5 o! Q6 h
  125. , L3 f' j" h; d1 Z
  126. ; output_buffering4 N( \  z$ p- @1 w; p
  127. ;   Default Value: Off3 o# K9 r5 Z% w* S/ h
  128. ;   Development Value: 4096) V% C. ]/ R5 T2 \, w' D% x
  129. ;   Production Value: 4096
    3 n2 k, v% T# a+ N2 L

  130. 3 M2 }% J- t$ l& k, Z. \; y+ T
  131. ; register_argc_argv$ L/ q8 A$ E+ m) A
  132. ;   Default Value: On
    % C4 ]% s" j7 e( ^6 N! w
  133. ;   Development Value: Off0 h6 J+ ~/ v) ?# ?* I% F6 t$ g
  134. ;   Production Value: Off0 c0 ~* C/ ~$ W. c* Q
  135. " `/ e% h( d6 d4 H6 C5 e
  136. ; request_order8 Q- U. h: z4 l( Y9 k* J1 b
  137. ;   Default Value: None, q3 @" ^" O8 h3 o: W0 r( w
  138. ;   Development Value: "GP"
      J; C6 U5 D$ m* R5 F
  139. ;   Production Value: "GP"
    - C9 ?! Y7 \6 u8 D& G
  140. 7 M  Z0 _+ d: a
  141. ; session.gc_divisor* e6 K: L% [- R* Q
  142. ;   Default Value: 100
    & b# X4 o' W: A  S& o- r! ?0 V
  143. ;   Development Value: 1000
    ! q, l7 Q- [9 I+ d
  144. ;   Production Value: 1000  P: _2 u) d& ?/ G7 ]  Z0 A3 @2 \
  145. ( }* K& N0 b+ \0 R
  146. ; session.hash_bits_per_character/ Q8 B1 I/ X+ B; ]7 C5 z
  147. ;   Default Value: 4
    % L3 g6 ]6 X- f  N5 a
  148. ;   Development Value: 5
    6 j. `4 H1 p  |1 y6 [5 I
  149. ;   Production Value: 5
    * a9 T, p, ]8 e/ k7 Y6 r9 G7 p
  150. , n+ G% j$ i& Q' z0 u# e
  151. ; short_open_tag' R/ |$ z( d- `* a2 [
  152. ;   Default Value: On
    ' v4 |7 M7 q7 @' ^# b
  153. ;   Development Value: Off$ g$ q4 ]. E& f
  154. ;   Production Value: Off
    % m! U# v9 ^5 `& c! `
  155. 9 y" O0 J) @# ~
  156. ; track_errors! G9 e5 K3 H4 t* @6 M& C; a
  157. ;   Default Value: Off
    , }; e8 S# I" }  ~: z
  158. ;   Development Value: On
    . a- U6 u6 O8 `1 t
  159. ;   Production Value: Off# w1 S' `; b3 ?/ D. P7 K

  160. - e- J9 p& m! m
  161. ; url_rewriter.tags
    4 H9 V+ i1 R, J
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset=") R1 Y1 |  N, E# R. }' e, R
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    2 t7 o+ o$ i& b( F& R0 Y- Z
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"2 @! p" V) G, s) E4 ]. H. ^. Z, e
  165. - m7 z6 l( l" ~
  166. ; variables_order7 R4 k+ G+ P0 w. p: A$ }+ o
  167. ;   Default Value: "EGPCS"
    ' H2 P- q; A+ i$ [6 `% u, a3 \
  168. ;   Development Value: "GPCS"# e7 m8 X% Z& l, g6 J
  169. ;   Production Value: "GPCS"$ [! A4 M: I9 o. q0 ~* Y& V

  170.   I, {, ?4 h1 ]5 F' H7 p% i! x. X7 x; r
  171. ;;;;;;;;;;;;;;;;;;;;5 P8 b9 ~: J8 }# Q5 R
  172. ; php.ini Options  ;9 P. H8 y7 n0 [6 T4 r5 u7 b
  173. ;;;;;;;;;;;;;;;;;;;;
    9 D- O% H; b2 i" C
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"1 U: i; F: x& w& P7 D2 E
  175. ;user_ini.filename = ".user.ini"9 N2 o4 [/ G3 E& f7 p- x4 J5 f! c

  176. ; ^: h( ~7 t/ x, ~7 w" [
  177. ; To disable this feature set this option to empty value
    ' v! r9 b, F% h3 N
  178. ;user_ini.filename =
    8 E- u/ [1 j2 R+ _9 v1 S9 t
  179. 1 w1 v; G: J) H. U* d, a
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    - N: Z- M3 L, h2 t% w1 b: d) \
  181. ;user_ini.cache_ttl = 300: t( v" V7 |5 }5 w: G

  182. * e6 W" M% V5 @8 W
  183. ;;;;;;;;;;;;;;;;;;;;0 c6 v/ k+ s: h
  184. ; Language Options ;$ A1 t4 M) d- l" f  K- Z% \! V0 K$ @
  185. ;;;;;;;;;;;;;;;;;;;;
    , \" K9 i; X( E6 T% B
  186. 5 E# Q, k3 W5 D- ~# J- K- I
  187. ; Enable the PHP scripting language engine under Apache.7 S, P3 v- `6 l& x* I3 r
  188. ; http://php.net/engine
    $ R' U9 T. K- N, Z  k2 }
  189. engine = On
    1 W( h7 i: \. B2 z- U
  190. + a% z: J+ A, f+ {) [5 r
  191. ; This directive determines whether or not PHP will recognize code between
    3 M1 `! _' o( b! }& |/ e
  192. ; <? and ?> tags as PHP source which should be processed as such. It is2 k: a3 @2 |4 E; F
  193. ; generally recommended that <?php and ?> should be used and that this feature
    7 W; R1 k: y( i2 k
  194. ; should be disabled, as enabling it may result in issues when generating XML/ M2 Y5 {* M. B0 T! x" o& D& l
  195. ; documents, however this remains supported for backward compatibility reasons.% w. l) p6 ]' _, t) @
  196. ; Note that this directive does not control the <?= shorthand tag, which can be. |& U0 b% x) ?( X+ K4 n/ Q: z9 U2 P! u
  197. ; used regardless of this directive.
    & y/ m0 N7 O( s, s9 o- }& Q1 V
  198. ; Default Value: On
    & T, T3 b! H9 @1 T% e1 L% [* G
  199. ; Development Value: Off
    ! Z5 W/ s$ A* E: z
  200. ; Production Value: Off
    * A, M! c; v9 F( |1 h; H$ L
  201. ; http://php.net/short-open-tag. Y6 t8 B$ G, L
  202. short_open_tag = On+ e3 U& ]7 V, J4 a% _1 g. F

  203. , R2 X+ X/ z7 c% m" H, l
  204. ; The number of significant digits displayed in floating point numbers.
    $ L) ]/ Y2 H- q4 ~6 I/ W$ e
  205. ; http://php.net/precision
    # A2 V8 Z" n9 \( T5 O$ H
  206. precision = 148 z5 H* x/ D4 Z5 P2 r$ P! m

  207. ! B. Z. b% q& Y/ z% w1 R
  208. ; Output buffering is a mechanism for controlling how much output data8 R! b# O+ v, Z! r+ p+ M! j' a
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    $ {5 k7 R* r2 @8 k* G' G
  210. ; data to the client. If your application's output exceeds this setting, PHP
    0 o' [" l) T, s: O8 \( Q
  211. ; will send that data in chunks of roughly the size you specify.
    % k4 S0 W3 n0 I1 V7 ^+ z; \, }
  212. ; Turning on this setting and managing its maximum buffer size can yield some- {) e# N, A- p$ b
  213. ; interesting side-effects depending on your application and web server.# K# `4 ~( U0 u' f: ~$ d; N
  214. ; You may be able to send headers and cookies after you've already sent output: v' _3 e  M/ U. h
  215. ; through print or echo. You also may see performance benefits if your server is3 I. i) d6 i, `3 d- J" r# ~
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    . f$ m% {% @, v* t
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    $ B( T4 x( y$ M
  218. ; reasons.
    ! [/ R  R& G, s' k
  219. ; Note: Output buffering can also be controlled via Output Buffering Control) j; f) z9 T0 C, T: a
  220. ;   functions.
    $ ?7 t, P9 ]- m  m7 ?  `. u+ q
  221. ; Possible Values:/ W% x3 }  f- x! @) W  c
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)) Q6 w9 K0 W; Z1 i
  223. ;   Off = Disabled# p+ ~; u# N7 [0 m! D% K, S
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    5 N9 S: B# |/ I% q6 H
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    2 D" T5 G) ?3 D* @
  226. ; Default Value: Off
    - `: E' b, G' F; O
  227. ; Development Value: 40966 y3 a, h/ w$ ^9 e
  228. ; Production Value: 4096
    " B2 G) G0 f  U% V" a& ?* |
  229. ; http://php.net/output-buffering, Y/ |6 |( s8 c; Q% q- W) C
  230. output_buffering = 4096
    - {& y8 R* X2 B1 l2 W

  231. & a& n9 a  Y. u) L
  232. ; You can redirect all of the output of your scripts to a function.  For1 @- _2 |$ X7 b. j
  233. ; example, if you set output_handler to "mb_output_handler", character
    $ T& L9 t0 B; R( [7 f$ y0 `0 J
  234. ; encoding will be transparently converted to the specified encoding.; B* x5 v4 Y: k( j
  235. ; Setting any output handler automatically turns on output buffering.
    4 `1 p. ?6 y9 p9 E
  236. ; Note: People who wrote portable scripts should not depend on this ini4 V. m8 m  w, _" L  t3 C
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    * p) m$ c* `0 v" v" d; h; x
  238. ;   Using this ini directive may cause problems unless you know what script  Q5 t. H8 p- y8 ?% K3 Z. [6 ]
  239. ;   is doing.
    9 D+ ~& @0 p+ o- B
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"/ d  g5 j& U: H/ \3 A1 C
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".9 c* a( P3 H3 @" ]; ^9 Y
  242. ; Note: output_handler must be empty if this is set 'On' !!!!, u) g+ e& P  v
  243. ;   Instead you must use zlib.output_handler.9 u% z; K; t8 V+ `: j) q" R
  244. ; http://php.net/output-handler/ A% Q" n' M$ w
  245. ;output_handler =
    0 Q/ x0 q0 A; \8 t3 u

  246. $ J" m5 l, Y- D7 L
  247. ; Transparent output compression using the zlib library+ W% z6 y0 g, c5 P
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size. |: K! F" l* x% e. l
  249. ; to be used for compression (default is 4KB)
    . J: ~( ^! I  ~$ R+ u! c' G
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    ' v( n! w, M8 f/ P3 p& r
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    * V( ]: B$ i" `3 v
  252. ;   compression. If you prefer a larger chunk size for better
    ) `3 m  G7 Q+ ^
  253. ;   performance, enable output_buffering in addition.* S6 p. d8 u9 Z9 O, U
  254. ; Note: You need to use zlib.output_handler instead of the standard
    8 x; W. P2 l% @% N3 I3 d
  255. ;   output_handler, or otherwise the output will be corrupted.9 Z/ h) D8 p# v# [; I" m
  256. ; http://php.net/zlib.output-compression3 y; A% [, I+ w! K7 ?
  257. zlib.output_compression = Off) o8 Q2 E" [: @) m' w+ Z

  258. 7 i; F0 x2 F, B
  259. ; http://php.net/zlib.output-compression-level
    3 a% O% {/ P  b! G, R
  260. ;zlib.output_compression_level = -1* X0 J1 U, r' b  a
  261. 0 B$ u& _4 w8 B/ l) s' ]
  262. ; You cannot specify additional output handlers if zlib.output_compression! S. c! e% o3 |& a
  263. ; is activated here. This setting does the same as output_handler but in: V0 E7 l) T3 Q% D" d  F
  264. ; a different order.
    , m8 U2 \+ }# a+ D# ]* E9 _
  265. ; http://php.net/zlib.output-handler
    $ p) `$ }# p2 [3 R; ^* B( S
  266. ;zlib.output_handler =
    - n2 o& c: q0 m- {3 c5 o# w

  267. 0 x) b, n  C8 V
  268. ; Implicit flush tells PHP to tell the output layer to flush itself3 a4 h* O5 I) J5 ]
  269. ; automatically after every output block.  This is equivalent to calling the$ R2 i2 B' _4 ^2 |1 }% ~4 ^
  270. ; PHP function flush() after each and every call to print() or echo() and each
    * [# Q6 m! v! ^9 c, a8 ?5 f' U
  271. ; and every HTML block.  Turning this option on has serious performance7 O5 a# c4 V/ A$ l, D. E2 M+ E
  272. ; implications and is generally recommended for debugging purposes only.
    3 b- r6 ]( H7 J  m/ M) V
  273. ; http://php.net/implicit-flush
    8 R4 D- Z8 I3 H/ i
  274. ; Note: This directive is hardcoded to On for the CLI SAPI& p% A+ M# [; R/ N
  275. implicit_flush = Off+ {7 _' T! R5 a& d

  276. + n5 |  l, l9 x' q, i
  277. ; The unserialize callback function will be called (with the undefined class'% H! R1 ?# C7 O, I$ h
  278. ; name as parameter), if the unserializer finds an undefined class
    ( z  F, j1 V7 z4 n! N' G
  279. ; which should be instantiated. A warning appears if the specified function is4 W$ I0 d3 Z2 V
  280. ; not defined, or if the function doesn't include/implement the missing class.
    & @  [+ X7 d% F% L
  281. ; So only set this entry, if you really want to implement such a6 y& L8 r6 L4 [6 \" Z
  282. ; callback-function.5 r4 I$ ?' s- ^* E, ~
  283. unserialize_callback_func =
    5 r8 N6 M% |# U3 V/ K4 l

  284. 4 F- _9 u% d9 r, `
  285. ; When floats & doubles are serialized store serialize_precision significant
    ) ~. H9 [8 R/ Q3 h, y7 [
  286. ; digits after the floating point. The default value ensures that when floats
    - k8 j3 d5 |4 X
  287. ; are decoded with unserialize, the data will remain the same.
    9 ?, n% C% v# {' s# V1 G$ N7 f, s
  288. serialize_precision = 174 L3 G) l8 ?9 v, j& `0 l" F

  289. , J; E! z7 ]1 n3 B' O
  290. ; open_basedir, if set, limits all file operations to the defined directory8 V) O8 n' ^' h! w
  291. ; and below.  This directive makes most sense if used in a per-directory
    % d% s9 W7 l* }3 o
  292. ; or per-virtualhost web server configuration file.
    0 O- L! _) B' U8 U1 c
  293. ; http://php.net/open-basedir/ |# y8 [5 {7 s0 |6 f) F
  294. ;open_basedir =, s( Z2 ], ?5 H0 E/ f
  295. - p* e2 S! X' @- A
  296. ; This directive allows you to disable certain functions for security reasons." l2 m1 g7 Y- R$ a5 _" R
  297. ; It receives a comma-delimited list of function names.
    7 F1 U( n( p( l$ I* g
  298. ; http://php.net/disable-functions
    ; u' o9 e7 y+ P2 d3 m' ]2 m
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru' v  f: l& }9 f& J" R6 b; c3 I

  300. 5 u. n3 U) @- Y& r  |
  301. ; This directive allows you to disable certain classes for security reasons.: h9 ?9 Q2 d- _* O
  302. ; It receives a comma-delimited list of class names.
    8 d# v1 E% l$ Q4 S
  303. ; http://php.net/disable-classes: X+ V0 r3 v  ?
  304. disable_classes =
    8 I, P( c& E" Z; g! l" z) a0 A6 e+ Y
  305. 8 z+ O5 h. A5 [
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in7 X6 l" C4 w; A' Q
  307. ; <span style="color: ???????"> would work.
    # [! B3 `6 ^! F# @* J8 Z8 x- w
  308. ; http://php.net/syntax-highlighting/ X& B' X; b# X9 M- j. l2 [6 e! K
  309. ;highlight.string  = #DD00006 K  L4 b" a* @3 M/ @! S
  310. ;highlight.comment = #FF9900. j; q5 G- [8 _3 s" r7 K
  311. ;highlight.keyword = #007700
    6 y/ N2 B3 x7 y, ?: ?0 |  n
  312. ;highlight.default = #0000BB
    , E6 T( Q0 D/ P
  313. ;highlight.html    = #000000/ p/ c/ `7 G6 i

  314. ; F, v& A0 w& ~6 ?0 }: Q, k' v' g$ |
  315. ; If enabled, the request will be allowed to complete even if the user aborts  f  D/ y. \9 ?$ E% k& H
  316. ; the request. Consider enabling it if executing long requests, which may end up
    . ~' _" z' O3 E
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    % B/ o( _: K+ n" p
  318. ; is to disable this feature.( f, b! s# `- t# U: C8 d! w
  319. ; http://php.net/ignore-user-abort
    $ v; M* [1 K8 U, i& x1 F8 }
  320. ;ignore_user_abort = On
    : `' U$ P4 U% q4 z* T0 P( Q

  321. 9 J6 h/ Y& C& W8 Q4 A/ @
  322. ; Determines the size of the realpath cache to be used by PHP. This value should+ J& E: u; G% ^7 x1 U9 R
  323. ; be increased on systems where PHP opens many files to reflect the quantity of% \7 n/ l2 B9 ]1 @) X
  324. ; the file operations performed.
    1 {# D) q+ R) x8 U
  325. ; http://php.net/realpath-cache-size
    ' ~0 _1 e  C  T  K
  326. ;realpath_cache_size = 4096k5 u. K  C8 [) e* c# S3 [. t  d

  327. - u3 j1 R/ C# i. D
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    & e6 l6 T( a) m
  329. ; file or directory. For systems with rarely changing files, consider increasing this( ^' X) |, i5 y
  330. ; value.& ~. T. J0 C! y- j6 q/ t4 C
  331. ; http://php.net/realpath-cache-ttl
    ) f+ n9 g% S. n6 O/ M3 s, O
  332. ;realpath_cache_ttl = 120
    0 J& c9 l# V( ?& K) X* ^5 }
  333. 1 H: h. [* P* C  J
  334. ; Enables or disables the circular reference collector.
    0 O/ V+ \  c- N
  335. ; http://php.net/zend.enable-gc
    : A; d9 ?! p6 C- u$ ^) l7 R
  336. zend.enable_gc = On
    ; `% {5 T# ~) a. ^# r( o

  337. ( A+ K; n  X1 \5 x
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    * Q% D3 A9 s- Q/ _% e/ r- E
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    : l. p0 k! W) c$ J' \, N
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    % e  F7 K) ?" C- X
  341. ; Default: Off. B- A# i' V& q# W# e! k
  342. ;zend.multibyte = Off
    ( T6 N( H* H0 l$ G3 q
  343. : D0 {" x% Q+ b. R7 a) r* [# ?2 O
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    6 T4 o( B! q9 L
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.: `8 b# j* ^1 T* f- J1 C
  346. ; Only affects if zend.multibyte is set.; v, Q# s) `- h  b, K
  347. ; Default: ""
    . ~* ~& y9 A9 Z% e
  348. ;zend.script_encoding =
    , j' ]: l! Z' ]* W% ]0 [( I

  349. 4 w; X. C  x2 z2 _8 c, L
  350. ;;;;;;;;;;;;;;;;;
    * K/ {+ P0 w( k1 m% _
  351. ; Miscellaneous ;
    % ]6 T. u+ H; G: t8 K
  352. ;;;;;;;;;;;;;;;;;
    ; a5 T+ \  x+ l$ g4 h; T& W
  353. # {& u& z1 G! d, L/ y
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    : y5 A" |# U0 O+ S3 L9 C1 a$ \
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    ( ~, O# p8 b+ M: v# e
  356. ; threat in any way, but it makes it possible to determine whether you use PHP2 [% ~6 L" S" @2 J6 }3 m
  357. ; on your server or not.( p+ _; y' \  ^" n8 _
  358. ; http://php.net/expose-php: m1 A$ f( c( D+ x, E" d6 J
  359. expose_php = On- q$ V2 L% J5 \# s1 |' k) Y2 V
  360. 1 @3 O1 ^8 z$ x0 R; A# z) a2 B
  361. ;;;;;;;;;;;;;;;;;;;
    4 Q  F5 c% b! c0 X7 X
  362. ; Resource Limits ;
    # U+ ]) q+ M( ?, U3 [; v
  363. ;;;;;;;;;;;;;;;;;;;
    2 c. A, G% r8 b8 M* P

  364. 1 U7 Z8 O7 {$ `# d( n' z
  365. ; Maximum execution time of each script, in seconds& [/ M3 V6 e6 O8 ?4 F
  366. ; http://php.net/max-execution-time
    8 v! r* O: O/ F; w7 V
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI% d. B/ ~8 ?  E5 n* @+ s; M
  368. max_execution_time = 300/ [) X: G' a5 v) A& f

  369. 4 `9 h+ ~' N$ K* \1 {5 Q, K
  370. ; Maximum amount of time each script may spend parsing request data. It's a good3 ]3 b" C$ J, T3 n2 F
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly7 ^0 ?! M, O9 G- X
  372. ; long running scripts.
    , O# S& i8 U6 H4 S
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI! t  [, n# a7 I" |
  374. ; Default Value: -1 (Unlimited)
    * d4 D5 J. I3 b/ K9 n9 k
  375. ; Development Value: 60 (60 seconds)! J: V5 E& |9 }6 I
  376. ; Production Value: 60 (60 seconds)
    $ I8 }' H/ s% R6 r* Y
  377. ; http://php.net/max-input-time
    ) V% }# y4 Q( g  X* Y' t3 _# J
  378. max_input_time = 607 ^4 }/ b' G) m, b

  379. - Q) n' y- T8 [5 m8 J
  380. ; Maximum input variable nesting level
    & X5 H$ {0 F$ T3 h2 Q
  381. ; http://php.net/max-input-nesting-level
    $ `: y9 x9 [4 m) [0 _& _
  382. ;max_input_nesting_level = 64; \6 J! m+ j3 }0 u; G

  383. ( Q6 g7 E! |/ i
  384. ; How many GET/POST/COOKIE input variables may be accepted, n# m" \4 l) P6 C8 K
  385. ; max_input_vars = 1000
    # c( z  K; U7 N( d
  386. ! [6 I! M, [; d$ T% @
  387. ; Maximum amount of memory a script may consume (128MB)0 z' W* o3 \9 S8 D- N! \
  388. ; http://php.net/memory-limit0 h8 q* G% ^! P3 {
  389. memory_limit = 128M- h" ]- t" L+ C' n- `

  390. 3 o/ T' ?; u# ~- t9 E! v% ?( [" ?
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;, K' h* `- }* [& O0 V/ r/ J
  392. ; Error handling and logging ;9 g5 D1 U/ G: o+ F; P' d* J
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;# Y# R; u: _9 ^7 Z! a" _2 S  n
  394. 2 K) A3 _3 h6 X* J) a5 F/ U6 a
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    ! b6 C% s4 u) D) K3 R' Q' S) S
  396. ; it to take action for. The recommended way of setting values for this
    . o: x, L5 {9 y, j4 I0 i6 b6 y
  397. ; directive is through the use of the error level constants and bitwise: l4 Y" p$ m4 {4 g
  398. ; operators. The error level constants are below here for convenience as well as2 a. t# w1 q" J0 d9 i+ h
  399. ; some common settings and their meanings.9 D& r! I# q6 m0 r: o+ v
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    - r. }0 S7 g7 N& Y( X( h
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    % n0 u/ j4 ?- |% u6 d$ o+ k
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    . J( F. J+ L( C0 E  V8 s: k
  403. ; recommend error reporting setting. Your production server shouldn't be wasting. a; t* h" o$ U
  404. ; resources complaining about best practices and coding standards. That's what
      M. H" T* p0 P' M- ?$ ]- D
  405. ; development servers and development settings are for., T) I2 T2 i2 ~. O
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    " [9 D1 p0 S9 T, U% e; Q- C
  407. ; means it pretty much reports everything which is exactly what you want during
    & O( N) R1 B! o2 j8 l
  408. ; development and early testing.
    , F2 Q) L+ U* x
  409. ;
    - [6 D3 A# n7 x7 N7 B# r
  410. ; Error Level Constants:
    ; T1 q" R" N& i; ]0 c6 }
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    $ m. h4 F7 m! o4 G/ |
  412. ; E_ERROR           - fatal run-time errors2 t* Q" Q/ I% ?  P/ O* M
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors  \. n4 t: C- \( @
  414. ; E_WARNING         - run-time warnings (non-fatal errors)  T/ s" Z' T7 W8 C# M6 |2 o
  415. ; E_PARSE           - compile-time parse errors
    ! ?2 W5 j- `) c5 ?$ w$ ^
  416. ; E_NOTICE          - run-time notices (these are warnings which often result- l# e2 F% P4 e8 O$ h
  417. ;                     from a bug in your code, but it's possible that it was& y8 G  u' f8 R# {2 G6 |
  418. ;                     intentional (e.g., using an uninitialized variable and, D+ H; c$ r3 ?
  419. ;                     relying on the fact it is automatically initialized to an
    , Q( f5 \4 Q- v# [( X# Z
  420. ;                     empty string)- Y) W) G7 q4 x; K  {0 o+ w- n; x/ u
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    2 D- x: f. G+ S' \0 T0 Q. O" \/ ^5 H
  422. ;                     to your code which will ensure the best interoperability
    : g+ a/ v4 n) c+ p' x
  423. ;                     and forward compatibility of your code
    2 Y# z) ]) b/ m8 f" c3 c# t
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup5 p1 [5 y, J4 ^* e$ Q
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    . l: h! X0 R4 C1 r9 A% m# @  ?- K
  426. ;                     initial startup# D) ~) D; h7 D4 C* k
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    : _  H; y& q- k3 L- C5 H
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    ) o2 Q% d' }. c( e4 \: h. g( u! d+ H6 X
  429. ; E_USER_ERROR      - user-generated error message4 _1 m& e3 r2 m0 [$ b
  430. ; E_USER_WARNING    - user-generated warning message
    9 C. L% y6 D- x% t6 u0 W
  431. ; E_USER_NOTICE     - user-generated notice message
    # {* M) v+ u, H& O9 T/ m& z4 S  G
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    . L, ?5 r$ c9 ~$ ~' n
  433. ;                     of PHP: p# V* u0 S7 V# m& G. Y
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings. r# T7 V0 l) e* g" Y' H, _5 X
  435. ;! m* d( ~, t; D5 n- X, W* M# O
  436. ; Common Values:2 T  q% ]0 N4 F( _, p5 R" W; q% k/ q
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)' V; ~+ V, w: V/ N" w
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)5 ]% u8 I: s: f( i9 D: h
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    : C, w' X5 n& L# f' r& y
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
      V5 r0 ^7 ]6 B. D; d' N
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    0 n" ^9 b3 Q+ Z0 ]
  442. ; Development Value: E_ALL
    * F; P$ b" I) t1 p
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT* h8 R9 G% ?: {6 t
  444. ; http://php.net/error-reporting
    6 A, r+ o0 I# s
  445. error_reporting = E_ALL & ~E_NOTICE# v1 S+ b4 _  t8 q- f: q/ _7 J; L( m

  446. : e! U3 f+ q7 t4 A4 \/ W4 \
  447. ; This directive controls whether or not and where PHP will output errors,
    8 m: ^0 m. t' n/ T# f8 j
  448. ; notices and warnings too. Error output is very useful during development, but% O) V1 J  l6 m0 e
  449. ; it could be very dangerous in production environments. Depending on the code
    / H7 r; H0 T1 P+ I+ @! f  P
  450. ; which is triggering the error, sensitive information could potentially leak5 p# r7 I7 E* a; c2 s0 U; W
  451. ; out of your application such as database usernames and passwords or worse." c1 x4 {+ i* S2 o
  452. ; For production environments, we recommend logging errors rather than& g" D, [& @& \1 F. h; j
  453. ; sending them to STDOUT.
    7 `: _8 X2 _1 s1 h
  454. ; Possible Values:! R  P0 t; `3 ?2 A: z
  455. ;   Off = Do not display any errors6 F6 J0 Y; b/ ~% a4 P
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)7 r, |9 W; m! F+ v" U5 E
  457. ;   On or stdout = Display errors to STDOUT7 E. {2 J" R/ H: Y, `
  458. ; Default Value: On
    0 b! T5 Z/ [) ]; y- R, \
  459. ; Development Value: On" M6 x  {; j6 L. X& {, W
  460. ; Production Value: Off0 y3 g! ~' u( X, a* h0 b
  461. ; http://php.net/display-errors# _" U: Q7 B9 \4 q8 U
  462. display_errors = On! w9 l$ z( h  r0 T  G( N

  463. : C8 D( H+ i; j2 [( O3 Q7 m# o. i- n
  464. ; The display of errors which occur during PHP's startup sequence are handled
    $ e( a9 z. o$ Q" h
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    , Y+ g* V! m- i" u3 V! Z
  466. ; errors from clients. Turning the display of startup errors on can be useful in
      f- L$ a8 G8 }$ o, u; G
  467. ; debugging configuration problems. We strongly recommend you
    - o+ }+ e/ W1 Q0 }# N$ |1 C3 I, B
  468. ; set this to 'off' for production servers.
    * P$ b; A8 e2 b7 }7 _+ D
  469. ; Default Value: Off
    * p3 d9 C. g# p% _1 q" M8 `
  470. ; Development Value: On
    ) J' h) U; O& m& E- K9 k# }8 p
  471. ; Production Value: Off
    ( k( n1 ]& b3 T( |9 F5 {
  472. ; http://php.net/display-startup-errors
    - u- F/ U3 F( _; }2 O4 ]4 k# V
  473. display_startup_errors = Off* i, F; R$ R- @0 B, u
  474. 1 k9 @4 S5 ?2 o* ~5 I7 _
  475. ; Besides displaying errors, PHP can also log errors to locations such as a1 ~- N) ^" o: g! h+ j& c! R
  476. ; server-specific log, STDERR, or a location specified by the error_log+ V. \  z* c3 L$ P
  477. ; directive found below. While errors should not be displayed on productions
    " R* O# D6 f, b4 f2 y) m6 V$ x& }
  478. ; servers they should still be monitored and logging is a great way to do that.* U" C( g& j% L  |. d9 i% q
  479. ; Default Value: Off
    . i) x, S8 U: Y: q% k  {
  480. ; Development Value: On7 z& L0 U% J, P) d; R
  481. ; Production Value: On
    $ n% U2 R; w; _* f) Q" R* V: R
  482. ; http://php.net/log-errors7 I$ ]$ b$ x' t/ r' c7 X  @/ a* i4 q
  483. log_errors = On* u, k5 Z( {- q

  484. 1 I5 b- r" f- _, C' }/ l! R6 H
  485. ; Set maximum length of log_errors. In error_log information about the source is
      O# E& w4 B5 N
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    / H/ |/ T6 z4 I* _
  487. ; http://php.net/log-errors-max-len! X9 _4 K  A: T" V& V# Z% P8 q; H
  488. log_errors_max_len = 10245 l/ w, ]1 i2 ~# L3 R, m8 b
  489. & u  H) Q7 T3 j: ]4 c+ E+ D
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    ! S( @8 Z- M" n9 @& l  B
  491. ; line unless ignore_repeated_source is set true.
      |8 G) v6 L/ e
  492. ; http://php.net/ignore-repeated-errors
    5 m& p" E8 N: n# \
  493. ignore_repeated_errors = Off6 N; u. E* [( Y0 r4 N) @. P9 s8 ]
  494. 6 K2 M8 x7 T) x5 _$ M2 c
  495. ; Ignore source of message when ignoring repeated messages. When this setting+ y5 i% r5 M; i0 t( Q
  496. ; is On you will not log errors with repeated messages from different files or) h3 x6 g8 {$ S3 {* R+ `  J
  497. ; source lines.
    / W7 u" r* [$ A7 O3 o0 H) R- ?. G  Y+ a
  498. ; http://php.net/ignore-repeated-source
    ) s+ H+ c# c. b& R0 w1 i& t
  499. ignore_repeated_source = Off  n7 W* H& L3 ~5 y3 `% n; S! S

  500. 1 S% V0 x, O' R5 A1 ^5 ~: L$ x
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    " m) q+ a2 U5 O9 v6 U/ w1 f* s( s
  502. ; stdout or in the log). This has only effect in a debug compile, and if0 R/ j7 j' z& a7 @* l+ {
  503. ; error reporting includes E_WARNING in the allowed list
    1 r4 V+ Z. T$ Z7 V1 H
  504. ; http://php.net/report-memleaks5 a' ^5 I0 t  N2 _6 S5 @% V" d0 M
  505. report_memleaks = On
    ; f) F/ a! i' [  d
  506. - K9 S0 X$ `. B3 y% A& i+ ^
  507. ; This setting is on by default.
    . K2 i# k. x$ i" P
  508. ;report_zend_debug = 0
    & b$ g; A3 f- p' Z

  509. ) Y; |* R" M2 [8 Z: L
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value- ]0 Z! L5 o- F4 k- y: f' l! U* l
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    0 x/ C% v3 T  b! j, f; G: n
  512. ; however be disabled on production servers.9 r' o1 S) u2 o9 O& ?7 |' K
  513. ; Default Value: Off
    + u7 ^# [5 s8 X& z: ~1 D
  514. ; Development Value: On' g; F1 B6 W) |/ m. h& p/ p5 I
  515. ; Production Value: Off
    $ }8 a) H% ~9 Y9 v7 \5 i& k. _6 ]
  516. ; http://php.net/track-errors
    # k6 L; V2 e* B, ?8 A7 C- F
  517. track_errors = Off- Z' N  g7 {5 r: Y( S& ]5 V

  518. / v( M( ?. |- |; t0 y8 e6 A" g
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    7 X7 s0 h: K8 i7 v- L
  520. ; http://php.net/xmlrpc-errors0 ]- @7 [/ c, r
  521. ;xmlrpc_errors = 0
      F; n7 u# ]1 Y6 h5 `% E

  522. - V$ j# F9 q2 ]; L  b- G
  523. ; An XML-RPC faultCode
    8 v1 o2 Z% n5 O" G- z6 B( s" T- P
  524. ;xmlrpc_error_number = 0
    ( T1 X' {. `$ q! j8 @- j

  525. & K- ~. h* f8 B! M% G3 {
  526. ; When PHP displays or logs an error, it has the capability of formatting the5 W- {. E1 D: e5 A" x
  527. ; error message as HTML for easier reading. This directive controls whether, X) r  {6 j$ H( Q
  528. ; the error message is formatted as HTML or not.
    ' Q6 D. O$ q4 C8 L! M
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ; F/ }& p+ b8 v5 j8 E8 o
  530. ; Default Value: On
    " u$ X0 P! ]+ \, q
  531. ; Development Value: On- t/ M( B; Q2 Q3 X& @  f7 V% S
  532. ; Production value: On
    5 s. `* q7 T! i. ]. E) w6 G& E/ P
  533. ; http://php.net/html-errors
    " j0 q/ C7 F& m- Q2 w5 p1 }% d
  534. html_errors = On% `$ t4 I2 Y( L5 l$ ^* a

  535. * [6 _: h2 w5 d3 a6 {$ [! W
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    4 y" \/ z6 F& r0 K
  537. ; produces clickable error messages that direct to a page describing the error% e" h- x: @2 j. H8 C7 Y" ^
  538. ; or function causing the error in detail.  t1 G* |7 ~; M/ i% ?' s/ @$ ~6 R
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    5 @0 b4 e1 y7 u" O, E- j8 M8 t
  540. ; and change docref_root to the base URL of your local copy including the8 P# B" ~; c* l! A0 }6 {# t
  541. ; leading '/'. You must also specify the file extension being used including) h) R% J* N4 ]$ a0 V
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    + E4 o  `0 k) l% e7 N
  543. ; case no links to documentation are generated.1 U1 }1 s( I# T3 ]3 b# ?
  544. ; Note: Never use this feature for production boxes.
    ; s. }# `1 |/ j0 \3 H/ Z' ~* g
  545. ; http://php.net/docref-root/ f# }5 k2 f5 {  L3 N
  546. ; Examples' B( @  P' C2 s/ t2 Y* g  z$ r# }) S
  547. ;docref_root = "/phpmanual/"
    7 @4 l& ~8 N& u2 {. N
  548. - d3 _* n$ g7 h( d+ D
  549. ; http://php.net/docref-ext
    ( w, W, z1 \2 w0 J" A4 R
  550. ;docref_ext = .html
    & L( a) z; i) l$ C% p

  551. : a3 v& z. d' H. O+ y' x) ]) y$ [
  552. ; String to output before an error message. PHP's default behavior is to leave% `9 W# }$ A6 T1 E
  553. ; this setting blank.- Q" y# k1 g& |: {  w7 H' _
  554. ; http://php.net/error-prepend-string
    ( s/ j6 a8 Q$ V/ ?  J& f
  555. ; Example:% {+ R+ A+ p- G* S( m: K& s& v
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
      D1 d* U5 Q  `: s) d/ ?  l
  557. " U1 D  H) n3 G' d% L8 J
  558. ; String to output after an error message. PHP's default behavior is to leave5 y/ s9 M" ~& X) q1 l
  559. ; this setting blank.7 W0 X# k2 h+ l8 g$ q
  560. ; http://php.net/error-append-string, a/ Q* e( C/ m( _+ j* S/ Q
  561. ; Example:& N) n8 Z) H7 ~5 i$ i
  562. ;error_append_string = "</span>"& r3 {( e4 `* Y4 E  k
  563. 9 P0 y$ A: ?4 Y/ Y- n
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    6 v2 W$ ]) y3 }$ S* [4 Y
  565. ; empty.$ a& W+ g% [( u9 J
  566. ; http://php.net/error-log7 e5 t! G5 f$ f: [
  567. ; Example:, V9 b" L( e  J" N
  568. ;error_log = php_errors.log5 W$ ]5 i4 O5 f$ [/ _' x
  569. ; Log errors to syslog (Event Log on Windows).2 }4 V4 s% U, X( O3 k; Q9 g. \
  570. ;error_log = syslog7 @2 `! r3 w3 W0 w

  571. ! r, i# T& ?- Z; V9 G: S. Z5 s
  572. ;windows.show_crt_warning4 @$ [: Q$ Y1 f- R- n8 S5 A$ K9 A
  573. ; Default value: 0
    5 Q$ I" ?% j: @9 `0 M( I( j
  574. ; Development value: 0
    ( |' K' b4 k3 x, T* i' C
  575. ; Production value: 0
    + |( O- @* f% X: G; U  Z8 L$ i
  576. 8 c% U# F8 d) q9 p
  577. ;;;;;;;;;;;;;;;;;
    1 G$ j# K3 r4 R  j% T+ s
  578. ; Data Handling ;
    3 X2 s1 G& L3 X+ R* o3 B+ y
  579. ;;;;;;;;;;;;;;;;;+ v) |8 w* Z! G" S( a9 H  i! {5 L

  580. ) J8 W, z5 T, J; \
  581. ; The separator used in PHP generated URLs to separate arguments.5 F8 y1 F4 S. Y% Q( K) Q8 i+ u  P
  582. ; PHP's default setting is "&".' {* J+ ]5 D$ e! \, m6 A
  583. ; http://php.net/arg-separator.output
    ' R8 h' D3 t% l. K2 Q( ~+ p
  584. ; Example:# w" A& C2 u  o! u, M. n
  585. ;arg_separator.output = "&"8 i6 R% q. ?8 H8 n
  586. * m: o* |3 ~1 U: \! n  C1 X- W; {
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    . S( ~: A/ d) C( q. ~) c
  588. ; PHP's default setting is "&".
    & {8 B/ z3 U, C+ \7 N" _
  589. ; NOTE: Every character in this directive is considered as separator!( z  I, c: N" k- k' a% s
  590. ; http://php.net/arg-separator.input
    ( @" D) V* h% D5 P8 J8 N
  591. ; Example:
    - K) u/ l4 [: h1 C' k
  592. ;arg_separator.input = ";&". a# f/ y$ f  a" E% X- Z8 ~
  593. 4 Y# o7 d8 E' E, Q
  594. ; This directive determines which super global arrays are registered when PHP
    7 `1 V: }/ z' E% T- o6 H
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    / _$ v5 L( N+ N9 A! y8 E
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    + K. Y, _- A) @! H3 U/ h4 F# @1 L
  597. ; paid for the registration of these arrays and because ENV is not as commonly# p' f& R+ m' W: Z& D
  598. ; used as the others, ENV is not recommended on productions servers. You
    : e" h. f6 `8 C7 e1 d$ @3 g
  599. ; can still get access to the environment variables through getenv() should you
    - Y( g1 n: W& N( L! h; M8 r
  600. ; need to.
    ' L4 |! U! `0 [3 ~( ^6 C
  601. ; Default Value: "EGPCS"+ A# y5 `2 \- m% E! N
  602. ; Development Value: "GPCS"
      W& [5 K" Z$ d5 o! u
  603. ; Production Value: "GPCS";5 _: J6 K9 Q- N! l% @. m
  604. ; http://php.net/variables-order
    3 |" X1 ^8 X5 G
  605. variables_order = "GPCS"8 X; d& _+ {  R" e' D
  606. % l8 O( @3 A7 i5 r+ W
  607. ; This directive determines which super global data (G,P & C) should be
    $ T1 y  y9 p5 M
  608. ; registered into the super global array REQUEST. If so, it also determines
    , S$ N0 v* {/ @5 V* D" M* i
  609. ; the order in which that data is registered. The values for this directive) q7 S- m, g# o0 k+ w; K/ k) x9 ~$ Z
  610. ; are specified in the same manner as the variables_order directive,5 `4 N6 P# g0 @3 ?( I# x4 }' p
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set) e( R! x, h! d2 r  B' {) j2 a# v" z; i8 j
  612. ; in the variables_order directive. It does not mean it will leave the super. _& j/ l$ q5 s( P4 L
  613. ; globals array REQUEST empty.7 F. I1 p5 M+ d5 I4 K: L
  614. ; Default Value: None
    ( H4 T0 p; Q2 g1 c1 G5 U( X
  615. ; Development Value: "GP"
    1 N* C' g, f7 L, P( n8 i
  616. ; Production Value: "GP"
    3 Z: q3 k& s, @7 z' a; D
  617. ; http://php.net/request-order
    - T6 j3 \* ]3 o9 F9 m- i- i  @+ Q; K
  618. request_order = "GP"8 V/ W0 ?* W1 }0 P

  619. : m7 p: k1 \0 j, @( g) d3 t: s- Q
  620. ; This directive determines whether PHP registers $argv & $argc each time it+ e% c! T) L2 X  \% C
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    : k- s+ [" N4 ^$ }' I! J2 X& u* I; u
  622. ; is invoked. $argc contains an integer representing the number of arguments
    4 r, |( J* k, g% V
  623. ; that were passed when the script was invoked. These arrays are extremely3 F; T$ M7 @+ S+ Y
  624. ; useful when running scripts from the command line. When this directive is
    * d  }! R3 y7 x! e
  625. ; enabled, registering these variables consumes CPU cycles and memory each time1 v5 o" Q( x, S% n
  626. ; a script is executed. For performance reasons, this feature should be disabled
    # L; A5 s  a* a0 V: i
  627. ; on production servers.* R, V1 }; H, _0 h. x% n" S
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    7 I( a) x. L: i' Z- G
  629. ; Default Value: On
    5 `* U( [0 l6 Q, |4 _9 Y
  630. ; Development Value: Off5 Q# o* z, `& a/ ]
  631. ; Production Value: Off
    ! e5 b- J, q& ]8 s
  632. ; http://php.net/register-argc-argv4 |8 K8 t9 K2 }. E5 O: {, g* Q+ o
  633. register_argc_argv = Off3 u5 G, w1 @& s6 w
  634. 0 L; j0 u+ I& |4 m
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    0 W, \2 C8 v0 n2 i. a: L
  636. ; first used (Just In Time) instead of when the script starts. If these1 s  }* R( K3 A8 P  r
  637. ; variables are not used within a script, having this directive on will result
    ( s0 x2 c) C  V
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled8 }% E. w; M7 W/ I% @* n
  639. ; for this directive to have any affect.
      Y. A$ O9 H8 J. L. K& q* g
  640. ; http://php.net/auto-globals-jit0 H+ `1 l* X: Q/ i1 ^$ H( R
  641. auto_globals_jit = On; R9 ^- p/ ^! t' r9 ~0 t! y
  642. 6 Q/ p* }  k2 r6 }: Z+ @! o2 V
  643. ; Whether PHP will read the POST data.
    ( i  e, {; F& c1 p, i& R
  644. ; This option is enabled by default.& s5 Q* V4 O5 W2 H8 m& J6 o
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST$ x; t( x+ ^" d/ {: V
  646. ; and $_FILES to always be empty; the only way you will be able to read the1 L# B  n* n) K* @5 {
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    . [( [1 b9 H! {0 i# y
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.( \- L% m$ \* }% s
  649. ; http://php.net/enable-post-data-reading' O! J- t+ }4 h' A: V( q
  650. ;enable_post_data_reading = Off
    & m$ K# K7 {' N& T2 ~
  651. 3 p6 t3 T! v& |4 W
  652. ; Maximum size of POST data that PHP will accept.
    0 ?/ k, B3 a5 I7 {! H
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading7 T4 M% Q0 s# ]2 t! p& T
  654. ; is disabled through enable_post_data_reading.1 v- W& ?, ?3 \0 q6 u
  655. ; http://php.net/post-max-size7 Z  F' `* [! Y4 @1 K* s; B
  656. post_max_size = 50M  {$ V) @* {* A
  657. 3 ~) ?9 g: z% Y: F8 o2 z
  658. ; Automatically add files before PHP document.
    9 n! G6 V; d) p# R. M
  659. ; http://php.net/auto-prepend-file+ b0 M. M* d% c
  660. auto_prepend_file =# d- G& i, @" B7 y7 g0 R0 k

  661.   A2 \. d1 K! S$ t
  662. ; Automatically add files after PHP document.
    9 }& {% `* q* V7 E/ u6 y
  663. ; http://php.net/auto-append-file
      v, p4 i! r9 s) F$ G  z+ M! z
  664. auto_append_file =" m5 J( j, e3 \0 H% V0 d! `

  665. 8 O) B4 k3 z7 C7 {
  666. ; By default, PHP will output a media type using the Content-Type header. To- Q1 G% \  `. B- E! Z- H
  667. ; disable this, simply set it to be empty.
    : T, R; O2 J4 r: K; X6 `
  668. ;
    $ _! b  u0 m; M5 }
  669. ; PHP's built-in default media type is set to text/html.4 R- ]) {& O4 |
  670. ; http://php.net/default-mimetype
    & g2 }  M2 [& n, b. y1 F8 J9 X7 X
  671. default_mimetype = "text/html"
    & W# }& _: N/ {  E  w3 z
  672. : f( W3 @$ {$ K
  673. ; PHP's default character set is set to UTF-8.* Q' e& F+ t2 D: Y% l* n1 t
  674. ; http://php.net/default-charset4 S& u% P, Q' Z1 m* M: b
  675. default_charset = "UTF-8"- k$ z% A/ X9 J

  676. ( Q2 |+ x) p3 D. Q
  677. ; PHP internal character encoding is set to empty.
    # k; Y: D9 x3 ?4 g4 {8 z$ E) x9 w
  678. ; If empty, default_charset is used.
    6 _, A, U) a2 j  p8 s+ @* x, }2 f
  679. ; http://php.net/internal-encoding+ w4 h$ z) L6 a* h' p: F
  680. ;internal_encoding =
    & d" _, h0 L  f: I/ y
  681. * M7 y& d( M! m7 Z
  682. ; PHP input character encoding is set to empty.
    9 d* A. Q5 _) d5 \2 n
  683. ; If empty, default_charset is used." Q, O1 D4 x8 @7 j) ~
  684. ; http://php.net/input-encoding% W  Y, _% m. `, O  o- \6 c5 ~
  685. ;input_encoding =  i8 D" R3 C, n7 V4 {7 S& m- W
  686. 4 Q6 ^: h1 M9 j4 G. Z# u
  687. ; PHP output character encoding is set to empty.
    & m) i7 I3 {& a8 Q& A+ g" T
  688. ; If empty, default_charset is used.4 O. N, [, i) z$ `- R$ `# [- D# N) L
  689. ; See also output_buffer.
    # q3 Q9 m; K8 \+ l8 u
  690. ; http://php.net/output-encoding# {$ v6 K, W& Z- a. G  R: }
  691. ;output_encoding =& J% S, A4 v; V- p2 r1 E! r6 p/ ^
  692. : c( F6 S" E, p, L3 l8 s
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;! [6 A* b9 `4 ?0 A8 W
  694. ; Paths and Directories ;* @% ^* |4 ?( @* G1 p' j
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;9 R& w9 h8 l( h; N3 }+ h

  696. ; S4 {, e% `' H- v: L
  697. ; UNIX: "/path1:/path2"& X" q1 {  y: X! h: \. ]
  698. ;include_path = ".:/php/includes"
    0 m0 K2 S# f1 O  N8 I( \
  699. ;
    4 ~, }) E' s5 u2 U8 n! j8 d
  700. ; Windows: "\path1;\path2"
    8 X" P" h/ r  N1 A( i' H' V
  701. ;include_path = ".;c:\php\includes"# A6 Q4 j8 b1 G" S* }
  702. ;0 F5 D' Q, Q2 T+ d% i% Q6 x, q1 s
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"9 e8 {. s& [1 j- W
  704. ; http://php.net/include-path6 G# C0 U; e2 B

  705. 0 |$ K" h: ~  t  b3 M; ?
  706. ; The root of the PHP pages, used only if nonempty.6 A; H/ E- B( R, p  d
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    2 q) C7 Z% D" F* @/ t
  708. ; if you are running php as a CGI under any web server (other than IIS)! ]( j/ ^: h/ H. k4 m" D
  709. ; see documentation for security issues.  The alternate is to use the9 z' _( u% s1 w9 \5 |. Y6 O$ G" ?
  710. ; cgi.force_redirect configuration below
    " D/ P- T+ [7 ^0 w2 E. F# c* R9 g
  711. ; http://php.net/doc-root
    2 m; ?9 Z+ s1 b5 S: r
  712. doc_root =8 k: r- u. _9 C. d7 K

  713. ; j& X5 w1 o5 W5 ~: B) T$ a
  714. ; The directory under which PHP opens the script using /~username used only6 d: C* ]& |3 J$ ~
  715. ; if nonempty.
    5 D1 S; v6 I) W* Q; [3 A
  716. ; http://php.net/user-dir) O9 I# \: P* {  Z& z
  717. user_dir =) A. |- p: L" D( ~0 i. q0 v6 h) x

  718. " T7 f+ k' d, A3 U# Q1 ^! J+ v
  719. ; Directory in which the loadable extensions (modules) reside.
    8 I0 ^* w( t  a( ^7 {% \
  720. ; http://php.net/extension-dir
      L7 Z5 R5 T3 n9 f% z
  721. ; extension_dir = "./"
    & u0 T8 M& u  O6 O
  722. ; On windows:
    : w  C6 v0 |/ h9 g! z+ |8 C
  723. ; extension_dir = "ext"# d' V% z' F8 c% g

  724. * S! u' _6 V; U5 t. f
  725. ; Directory where the temporary files should be placed.4 T& d( R" F, i' u
  726. ; Defaults to the system default (see sys_get_temp_dir)
    ! `1 y8 E$ A1 C% {/ G) m- Z5 y3 x7 n
  727. ; sys_temp_dir = "/tmp"% ^, L% l) F7 e$ ~: u+ b( G
  728. , R. D$ ^- E- u  b7 A9 l) p
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    ; [$ R: b# A, S" U2 U3 w
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    0 ?' Q$ m% k, t  p4 c! n
  731. ; disabled on them.& _, x5 |2 K8 Z. c1 y
  732. ; http://php.net/enable-dl
    4 h: d4 H; }' E# U, t5 N
  733. enable_dl = Off5 f3 v3 u4 R& d8 u" D5 U

  734. 8 e4 k0 N0 ^' x& u3 I: ?  j' [
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    $ N) }* m7 H7 T" A+ `$ g0 d
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can% {( T6 T% R0 d# u. \
  737. ; turn it off here AT YOUR OWN RISK7 G4 g+ h5 y: g1 {7 l9 I3 a. e
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    ( P6 x, y  w: H: t; F8 }
  739. ; http://php.net/cgi.force-redirect* V' }5 F  w' O9 [
  740. ;cgi.force_redirect = 1
    3 U4 V& O6 _0 `+ ~) @5 f' `' W* m

  741. / W* Q% Y  _0 V  d1 s; D' I/ h# L
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with" n4 w7 R2 i, r: q
  743. ; every request. PHP's default behavior is to disable this feature.0 h8 M% n; X" p6 L0 M2 T( ?
  744. ;cgi.nph = 14 u; L& _  |$ x$ E! q: S
  745. , e, B; K' A2 [# a
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape% C! i" ~  O- g; k' N. g7 [" U
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    9 l' y; U$ |, \% b2 v
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    ; U* H$ a1 j8 s6 x& S
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.; W3 B9 Y, B' [% s+ t% Y
  750. ; http://php.net/cgi.redirect-status-env. h! N1 r6 {! J+ R
  751. ;cgi.redirect_status_env =
    # M7 U; B) Z2 h

  752. 2 H' V/ _* `) ]' u9 S! @
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's1 j- j6 L6 v3 L! d! c3 [% T9 Z
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    2 K0 G; |) u' T
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting3 E# \8 n7 ?6 y; V( d0 v
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    ( o- ^& x5 b- _
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    & t, Q! {# U" E' g5 O! t# Z
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    " N2 C% W' T" Z5 k5 X/ ]! z# A' ?
  759. ; http://php.net/cgi.fix-pathinfo
    4 b3 ]: R6 F' X
  760. cgi.fix_pathinfo=1' I4 `1 @4 w9 E5 b6 C
  761. 5 l# Y8 X1 s" Q. X, d
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    7 f) d9 y  e; H& M" \. J
  763. ; of the web tree and people will not be able to circumvent .htaccess security.6 o( U2 P0 s% C6 E, p
  764. ; http://php.net/cgi.dicard-path9 Q6 P& V: n  j8 U: G. m4 p
  765. ;cgi.discard_path=1
    - n3 U! d1 p$ @$ H

  766. 5 v7 |+ y, v! b5 _
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate( V( M$ P& R( ~4 s" j
  768. ; security tokens of the calling client.  This allows IIS to define the
      J. _2 I& M" Y+ @
  769. ; security context that the request runs under.  mod_fastcgi under Apache) F, _6 u' y6 K0 \1 _0 w" _0 W8 \
  770. ; does not currently support this feature (03/17/2002)
    7 g: v0 o% S' i$ e9 q
  771. ; Set to 1 if running under IIS.  Default is zero.
    5 g8 @! j+ [& b  F1 {
  772. ; http://php.net/fastcgi.impersonate, p, H& B0 X/ [* M: R* L
  773. ;fastcgi.impersonate = 1
    : E3 X" d+ O. O5 U; `! v( Y
  774. 8 s$ E7 m+ W6 b! Q. `6 r
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    / v1 ?( [$ ^8 d" f' q
  776. ; this feature.
    2 T) O% f( n' O0 N- l- }- d5 p+ y4 l
  777. ;fastcgi.logging = 0
    * a- w# @3 N% K5 ]3 y5 }
  778. ) \7 f0 u. U2 W/ O! d0 ]
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    1 i; V: V. r+ _5 G) X
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    ' H3 z; c: q4 j! w+ \  e# ?( _5 e
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    9 z; r$ i+ c  q* }
  782. ; RFC2616 compliant header.3 S' S6 [4 N2 N/ [. U
  783. ; Default is zero.3 [$ h. c" D4 B5 x) A3 D$ b: ?+ h
  784. ; http://php.net/cgi.rfc2616-headers6 b- e* Z- l$ a( l' L
  785. ;cgi.rfc2616_headers = 0) r! ~2 [; }. S
  786. - p5 o* v1 Z; \9 R# @" h
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    ) O+ Z+ D# L9 u# L5 `) n  Z
  788. ; (shebang) at the top of the running script. This line might be needed if the
    0 U$ Y+ \+ E' I1 ^
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI, V& r- [, t) l4 B6 G( U- \8 [
  790. ; mode skips this line and ignores its content if this directive is turned on.$ h* `- M: s. m$ o
  791. ; http://php.net/cgi.check-shebang-line
    $ `/ u6 D- p+ T; K1 {
  792. ;cgi.check_shebang_line=1) o& P9 D# z4 ^

  793. 9 v4 ?# Y/ Q0 V) v) M( X
  794. ;;;;;;;;;;;;;;;;
    0 s9 t1 e: y% D% \- G4 Z) O
  795. ; File Uploads ;& E- w. x) w0 t0 n
  796. ;;;;;;;;;;;;;;;;
    # d: r6 Y0 V) c7 T
  797. 6 H( Q$ G& y9 _$ X
  798. ; Whether to allow HTTP file uploads.5 ]7 G, V8 j4 \1 n
  799. ; http://php.net/file-uploads
    - J- R4 v. W' ?0 o
  800. file_uploads = On! P0 b; |4 a5 A, X2 D9 D

  801. 5 w) M9 C  A/ R
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    & G0 o" `7 Y1 c8 A3 y/ S" t
  803. ; specified).
    : H. ^7 j6 K0 x7 e4 b. b
  804. ; http://php.net/upload-tmp-dir
    0 t7 E. A; G! Q0 _9 t7 v0 P' q
  805. ;upload_tmp_dir =1 I7 x, J. h6 R- q0 }" h1 D

  806. - \: T( Q( O* L( n& y
  807. ; Maximum allowed size for uploaded files.( L' S/ C; b9 a1 |" X7 y1 U% P
  808. ; http://php.net/upload-max-filesize$ h8 S. q8 ?( m6 y% l9 r* w3 C
  809. upload_max_filesize = 50M
    3 X& \0 [8 O/ Z+ j& U

  810.   ~2 j/ N' h9 u! Z; E9 R9 Y
  811. ; Maximum number of files that can be uploaded via a single request
    . V/ h! X1 j4 M1 H
  812. max_file_uploads = 20! s  G% P( }$ ^9 H, B8 z& W) N; f

  813. * s( r( z, Q0 V1 X. M
  814. ;;;;;;;;;;;;;;;;;;: p2 D- [& L; R3 ~0 h; [# j
  815. ; Fopen wrappers ;
    * D; B/ \4 Z3 n( X: F  z0 K
  816. ;;;;;;;;;;;;;;;;;;
    9 V3 X/ E# z1 h! Z% ~$ r: R; q  }

  817. ' y# i6 ]& z+ ~1 A- K" |
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.( j% c- E- E2 Z- ~+ k& z; H, [4 o
  819. ; http://php.net/allow-url-fopen
    ( ]9 L9 v+ u' Y6 b2 z% A
  820. allow_url_fopen = On
    - @, P' p% e) ]1 o( Y' D; X

  821. ; H4 j& S  k8 L
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    * n: \" y% i& W5 E
  823. ; http://php.net/allow-url-include5 w; l0 A% J' \% P' C
  824. allow_url_include = Off" f; u( |2 i' c) |+ r- w4 C

  825. * h4 {% R4 F# A- H/ |
  826. ; Define the anonymous ftp password (your email address). PHP's default setting- u5 Y1 r5 v. G2 \* u7 |* m" O+ ^
  827. ; for this is empty.7 t" q/ B$ `* \& k. m
  828. ; http://php.net/from
    2 w* p- a! ^0 t, m7 H
  829. ;from="john@doe.com"
    - V+ e, z8 [8 ^$ j" H5 s& ]
  830. 1 S' Y7 N3 X1 N7 y$ f  U) J1 L
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    - R7 _& p  F. y" r
  832. ; http://php.net/user-agent( P2 C) G) p) s% M
  833. ;user_agent="PHP"6 S+ C$ ?% i2 s' s+ H$ w
  834. 8 i+ z$ j7 O2 b  o" O
  835. ; Default timeout for socket based streams (seconds)
    & N+ j, O. f% a# a( i- D
  836. ; http://php.net/default-socket-timeout
    ) B+ e3 T( k/ c3 Z% ^
  837. default_socket_timeout = 601 H$ @. X0 B) [

  838. : z4 G# P% l$ s1 e/ U
  839. ; If your scripts have to deal with files from Macintosh systems,& p( o  q% A( w& _1 ~2 b
  840. ; or you are running on a Mac and need to deal with files from  q" R% B' e1 K
  841. ; unix or win32 systems, setting this flag will cause PHP to$ Z0 I- O+ L4 y
  842. ; automatically detect the EOL character in those files so that( K. L7 y6 Q1 U8 V
  843. ; fgets() and file() will work regardless of the source of the file.
    + F0 @' Z' t' Q% h  y
  844. ; http://php.net/auto-detect-line-endings
    * K( p) \7 Q3 n1 |, z+ S
  845. ;auto_detect_line_endings = Off
    8 k( V- [5 ^" V& R
  846. : A& I8 _; [% S) A" O/ N/ L
  847. ;;;;;;;;;;;;;;;;;;;;;;4 f$ v  O6 h" p
  848. ; Dynamic Extensions ;5 J6 m! e# n6 z/ L+ P9 ^* `) h
  849. ;;;;;;;;;;;;;;;;;;;;;;
    . V  T$ K0 ]& K5 D

  850. 3 [+ P0 T! |( p# f6 S" U
  851. ; If you wish to have an extension loaded automatically, use the following
    9 k$ s& ~. R- T$ R7 r: U
  852. ; syntax:! h$ ]5 c- P) ~6 S
  853. ;
    0 p. }& b$ ?- P+ R+ L. w/ l
  854. ;   extension=modulename.extension
    1 |1 R' R3 u; j0 B
  855. ;
    $ g0 W; V* a7 Z, V
  856. ; For example, on Windows:) o& A. g+ k9 C7 w* G& [2 M. H
  857. ;3 t, b) p: ?- R7 B
  858. ;   extension=msql.dll0 d. a4 _8 X  G
  859. ;
    7 C) T- ~' ?6 I. x1 y4 J% A0 z
  860. ; ... or under UNIX:
    & ]6 Z$ M" J  [6 @) r0 a6 |
  861. ;; w- w+ V: Y) a
  862. ;   extension=msql.so5 y  K) r0 R+ V$ Z
  863. ;! v9 N3 y, x* p) E
  864. ; ... or with a path:3 v3 F3 _' L$ r* ]1 e
  865. ;
    . f6 K4 N0 N5 M# Q  T
  866. ;   extension=/path/to/extension/msql.so
    ' ?* S$ z0 H! x9 ?2 [$ p. |4 V
  867. ;- r+ m4 x+ u5 W8 w3 u
  868. ; If you only provide the name of the extension, PHP will look for it in its
    + s7 r+ A5 e8 A) _( k6 ?6 W7 r
  869. ; default extension directory.* a( s; W! N' j( o1 C2 d2 l+ }8 y
  870. ;* ^1 t4 s' j" T0 S+ h
  871. ; Windows Extensions
    8 s5 a( c, D- Z
  872. ; Note that ODBC support is built in, so no dll is needed for it.9 J# X5 @" ~  c0 {
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    , G+ q6 V: N( j3 b0 h
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).' Q* O$ E- \5 x1 h5 e8 n) C
  875. ; Be sure to appropriately set the extension_dir directive.: K. g. J9 y( f* X+ A- ]& E
  876. ;  U, n, z1 o+ `) y8 o
  877. ;extension=php_bz2.dll- t1 n% X. F! U  V
  878. ;extension=php_curl.dll7 Z( G, H8 I7 p0 f
  879. ;extension=php_fileinfo.dll
    8 G5 b0 `% w, @7 x  I# f* j
  880. ;extension=php_ftp.dll3 v; _" T( Y" ~8 B# E; W1 q2 W
  881. ;extension=php_gd2.dll  A7 `2 E6 X. f- D7 n/ e
  882. ;extension=php_gettext.dll& c' `  {. E5 Z% [8 m
  883. ;extension=php_gmp.dll- ^0 |) t' `% q, L% K9 ~7 T. a
  884. ;extension=php_intl.dll, r' V1 }. t4 ?5 R, \
  885. ;extension=php_imap.dll0 j+ O9 x7 n' g5 A: [. o, {$ C/ _
  886. ;extension=php_interbase.dll. Z& p2 o1 G' l2 B4 o
  887. ;extension=php_ldap.dll+ ]: j, t/ A& F4 k% x5 l& V
  888. ;extension=php_mbstring.dll
    # C7 ?' ^0 b( @
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it5 e2 C: }7 j/ K& o( l. Q/ ?
  890. ;extension=php_mysqli.dll
    # D9 Z  _5 O. t( W
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client. Z3 X/ u7 [3 h5 l, O+ \
  892. ;extension=php_openssl.dll
    ; P, A3 J, `( U, w9 Y
  893. ;extension=php_pdo_firebird.dll
    6 I( p* W: `; M% a1 ]
  894. ;extension=php_pdo_mysql.dll
    6 H. G5 ?. p5 I1 ^
  895. ;extension=php_pdo_oci.dll$ A4 ]. Y+ d: k" A
  896. ;extension=php_pdo_odbc.dll
    6 [$ a; ^: q5 h3 {) K4 k/ a
  897. ;extension=php_pdo_pgsql.dll
    , j+ N! s+ q9 a2 M$ R. s' B% g2 m
  898. ;extension=php_pdo_sqlite.dll
    ( V# g! f- ]1 V& J
  899. ;extension=php_pgsql.dll
    ) T5 S( s9 T8 f) `) @/ p
  900. ;extension=php_shmop.dll/ W+ y5 j! X  s8 ^

  901. 5 c5 Y& `- \# d& W* C5 A$ O8 u
  902. ; The MIBS data available in the PHP distribution must be installed.
    : a: N& M2 e( J0 b& E
  903. ; See http://www.php.net/manual/en/snmp.installation.php/ g; J4 L: P& {% ]  C7 G
  904. ;extension=php_snmp.dll
    7 @2 f! L! p3 V5 V* c

  905. 5 e, M$ o8 |& r) N
  906. ;extension=php_soap.dll
    7 J9 @) j8 J) J- O! [- @/ I# ^7 Q
  907. ;extension=php_sockets.dll: [* t4 r& I7 a1 l9 d( @
  908. ;extension=php_sqlite3.dll+ v7 E5 M. y( R) w
  909. ;extension=php_tidy.dll
    ) W8 N* X$ [  P4 }4 H) c
  910. ;extension=php_xmlrpc.dll
    # d% u/ y8 v1 G( }0 S' s
  911. ;extension=php_xsl.dll
    4 {+ u5 o" j- H- {% }3 ]7 Y1 f

  912. ! x; E! [+ P7 d. `
  913. ;;;;;;;;;;;;;;;;;;;4 N+ m( D6 b, K  x0 ~
  914. ; Module Settings ;2 o8 v( B/ l+ ~; x8 l- H- `2 v+ o
  915. ;;;;;;;;;;;;;;;;;;;
    ( j- q# V7 p) ^
  916. 7 u( N; A4 y% y
  917. [CLI Server]$ y0 c; O% l5 H2 e" U- r
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    ! |) l1 s1 n# e4 C; R4 D
  919. cli_server.color = On+ W7 W2 s) N; }2 E9 m: W; e

  920. ; u* s6 b2 c3 T( H
  921. [Date]
    " `( z/ x" n1 ^8 `, w& l0 J7 C
  922. ; Defines the default timezone used by the date functions. h* y6 s$ [& w8 o3 F8 r* k! p- c
  923. ; http://php.net/date.timezone% b. Y. @. x. N' j  q+ _
  924. date.timezone = PRC( ?# Z: P$ k( R8 Q# _+ Q  o

  925. 0 v: @( P2 U1 g/ @9 a9 }" k
  926. ; http://php.net/date.default-latitude5 a" s2 Y2 F3 ~0 W0 `7 f1 Z5 `  E0 V
  927. ;date.default_latitude = 31.7667+ F  K/ ]; S7 E3 c! |; a

  928. 5 B" p0 s: I; z1 K5 ~3 w  I
  929. ; http://php.net/date.default-longitude) n1 Y! ~, M0 s7 J5 d( G
  930. ;date.default_longitude = 35.23339 A! e# u9 l6 N- A! B, a! y

  931. : i* Q7 q( Z. E  Q
  932. ; http://php.net/date.sunrise-zenith* T9 K* _. v1 I1 P- E
  933. ;date.sunrise_zenith = 90.583333
    ' h# [9 f8 p; C0 p8 k' _. J' q. ]$ D

  934. ! b2 t3 @% Y. R
  935. ; http://php.net/date.sunset-zenith
    ! _, T1 Z# H) Y# `$ G# W  I
  936. ;date.sunset_zenith = 90.583333
    9 V0 W9 {% I6 M5 R2 f* m  b+ a1 U

  937. + ^4 q8 \) |( n5 [$ o
  938. [filter]2 w: g, E% Y; P" _- M/ |
  939. ; http://php.net/filter.default' Y2 }( P3 ?$ u0 N% T
  940. ;filter.default = unsafe_raw
    - `( @+ c4 ^  Q$ Y8 S7 @
  941. + |  b* Z  C( h- v  j/ n
  942. ; http://php.net/filter.default-flags
    4 z) G" X5 c9 C* O5 J
  943. ;filter.default_flags =0 t: y0 d( o6 ?/ ^& Y$ J' W% B
  944. 6 H8 M. j/ Z0 M4 v: y- W+ Q+ z
  945. [iconv]7 R& b  @. y1 E/ x+ F: A
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.* H" M$ r' M& Z% H2 q/ c
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.  Z, ^1 q6 T( v6 k- ^0 E* t
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    * L# |! w8 }" v! J% Z& z
  949. ;iconv.input_encoding =
      _) @& ?/ D1 {2 H  K2 `
  950. : D& _' J$ N# O: T7 _
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.* @/ a2 I4 R0 H1 Q" X
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    5 J& P  a5 |' U3 b' s, S! o4 h
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding, S( d. @- t6 T( D8 |
  954. ;iconv.internal_encoding =: M! Y" n6 b4 _; `

  955. & K4 _5 x! O3 e" d6 N
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    & ]0 [% q& k! N% ?
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    ( y- ?; M" [  {; n' S( G
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    . r& j3 n7 v! }' K5 o
  959. ; To use an output encoding conversion, iconv's output handler must be set
    8 P" j0 i. R" m9 S) L* G
  960. ; otherwise output encoding conversion cannot be performed.
    9 X4 _( ?7 j. s- j5 K+ y6 ^2 x
  961. ;iconv.output_encoding =* i) Z! s- q5 M

  962. 3 W. f0 e0 r  l  ?
  963. [intl]
    , C$ n+ `" v1 `
  964. ;intl.default_locale =1 o/ x, @; `. [$ X
  965. ; This directive allows you to produce PHP errors when some error
    " B% ~7 f" z* f9 d
  966. ; happens within intl functions. The value is the level of the error produced.
    6 f9 Q6 n6 w; S! f% e) B& [8 ^7 o1 K
  967. ; Default is 0, which does not produce any errors.- L8 v6 _; q: d9 |
  968. ;intl.error_level = E_WARNING
    5 i+ h# q* y* p& X. M: N( A* \5 ^2 Q
  969. ;intl.use_exceptions = 0
    1 T' X3 f$ `) Y. H- [. M

  970. 1 r# s3 @8 R5 W# ~- G
  971. [sqlite3]
    & I% K9 [7 Z# ~2 Q
  972. ;sqlite3.extension_dir =
    ! t; L" L" k. t

  973. 3 D" F3 e6 n9 @. b, O# K6 k
  974. [Pcre]
    * v+ h4 Y7 f2 g5 A! e
  975. ;PCRE library backtracking limit.2 I; C- y3 u# S! U4 j
  976. ; http://php.net/pcre.backtrack-limit
    9 B; p2 o! T* A* {
  977. ;pcre.backtrack_limit=100000
    . ~% j/ G* k: n* M5 }

  978. 0 N8 ?, ^5 a' m! l7 |1 M
  979. ;PCRE library recursion limit., a4 y2 _8 @" T# @, ?% l
  980. ;Please note that if you set this value to a high number you may consume all
    6 r. t3 Y+ n8 I) @0 C" ~$ C
  981. ;the available process stack and eventually crash PHP (due to reaching the: C) L2 e+ S3 |9 [3 X- x9 y
  982. ;stack size limit imposed by the Operating System).. m& f# ]3 X3 F3 i' N; K* L% g8 W
  983. ; http://php.net/pcre.recursion-limit" }, Z1 r7 |+ t) q2 t* A6 x
  984. ;pcre.recursion_limit=100000- l* Y) z+ Y+ _0 x& c- e: R
  985. " Y7 {3 h) r1 [% H1 ]( z. ?$ T+ }
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE: u% N8 o* I2 b: Q; v2 a- F
  987. ;library to be compiled with JIT support.
    $ ]$ C5 z1 h8 L0 L* F1 s9 J
  988. ;pcre.jit=1" g3 X2 A) b9 m/ _
  989. ! [2 |4 b( o2 O% O/ J* {8 W* ]
  990. [Pdo]: [3 T+ t% F% B2 k! x- Z! U
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"+ k5 F5 e  j' o7 `0 [- q
  992. ; http://php.net/pdo-odbc.connection-pooling1 K4 M0 u  _. j6 P- R, F3 T( T
  993. ;pdo_odbc.connection_pooling=strict6 _. R; e; f, Q8 [  @( R
  994. * u& B' x* g2 `+ j  u  |9 Z
  995. ;pdo_odbc.db2_instance_name
    8 Q2 Z6 ]" E4 J1 h1 n5 B, ^. y  y

  996. & H  o" a* j6 @: k3 A" m0 k
  997. [Pdo_mysql]; Y0 w5 A6 O3 d, }* ^# ]
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache& L2 N0 p& x" T4 x6 N" g
  999. ; http://php.net/pdo_mysql.cache_size
    + [1 z# ~5 @4 U" w
  1000. pdo_mysql.cache_size = 2000
    9 ]# Q) u+ U( r" l) P& h- ~& d

  1001. & w! A8 k6 m) L0 L+ x7 y' L: d
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ( d' o/ U. j. `( y! \  ]
  1003. ; MySQL defaults.
    # ?7 S0 d# b# Y: |$ U; q7 _' W9 s
  1004. ; http://php.net/pdo_mysql.default-socket$ i6 B; F3 }- d9 r! l" s8 E# ~
  1005. pdo_mysql.default_socket=
    / B' h6 C% v# A8 F" h; s. d( v) u/ N0 Z

  1006. ) I' d* k% F' F' ]' ?/ H) o" O
  1007. [Phar]
    2 p. a) r! Z+ f  i4 t2 D0 F
  1008. ; http://php.net/phar.readonly
    6 Y; Z& S5 y; D. N3 b
  1009. ;phar.readonly = On+ [1 |* @& g) }8 v) d

  1010. 0 _0 T- t, u( l1 i2 a
  1011. ; http://php.net/phar.require-hash
    $ ~' Y# P2 d% F
  1012. ;phar.require_hash = On
    9 }7 }! y$ [/ Y
  1013. ! i) \% y( ~. ?3 n( }/ y1 o
  1014. ;phar.cache_list =
    ) p/ }. @3 ?& H3 H
  1015. 3 _9 V4 ]3 i4 g- W$ p
  1016. [mail function]
    " b$ A) P' C% Y: h/ Y  x- B
  1017. ; For Win32 only.9 p0 f! P  C7 u4 T3 F6 s, O, U7 o
  1018. ; http://php.net/smtp1 T2 R7 `. w) b9 R
  1019. SMTP = localhost( v  ?2 d& Z' E4 I2 w$ a% O. x
  1020. ; http://php.net/smtp-port& B* S9 Z6 c& `1 G! w
  1021. smtp_port = 25' i. Q( x! ^' @4 ]

  1022.   M2 l: b0 `( V7 O
  1023. ; For Win32 only.3 k; c4 W9 {$ r; l
  1024. ; http://php.net/sendmail-from
    ; Q# R% Z9 C+ o/ U; ?$ L  S/ {
  1025. ;sendmail_from = me@example.com
    ; j( k5 _& \- N
  1026. ; I, d! ?! Z. `# n
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
      m  F# s5 [6 N# |
  1028. ; http://php.net/sendmail-path, Q# s( K& N2 i! i
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    9 u" Z* [4 a* B

  1030. 8 J" [: I, A$ u
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    ) V* f0 u" r# E5 j
  1032. ; to the sendmail binary. These parameters will always replace the value of
    ' ?; f) B; A- z2 y( T
  1033. ; the 5th parameter to mail().& u# R6 o8 A" `$ j% _
  1034. ;mail.force_extra_parameters =; d! _4 Y2 R; U& q- }% |5 `5 d

  1035. . R5 s- o5 l5 P7 M( S
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    5 t% d8 ]" T. U* z; ?. R7 c
  1037. mail.add_x_header = On
    % t) l. p  U0 M7 Z9 Y

  1038. 2 I0 ^4 c# S& _/ k
  1039. ; The path to a log file that will log all mail() calls. Log entries include' p9 ]2 H8 o3 F& q
  1040. ; the full path of the script, line number, To address and headers.
    , {* o* {5 {9 f# ~- I
  1041. ;mail.log =
    & h! j% M% @$ y3 l4 ]0 T% U, D
  1042. ; Log mail to syslog (Event Log on Windows).
    8 O% s# {3 |( z$ [* |8 Z# ]' Z
  1043. ;mail.log = syslog' G7 ~6 T% M* h/ d
  1044. ( r  g: K* v" q' ?( l* S1 w
  1045. [SQL]9 [/ `6 {& a. B9 Y0 g1 {) K
  1046. ; http://php.net/sql.safe-mode
    ; a6 A) l9 s, y' ~. @
  1047. sql.safe_mode = Off) K( v+ W& x, U2 g6 Q& N( ]0 q

  1048. ; V' s: o! e2 J8 F& P
  1049. [ODBC]9 J  j' [* r# p) o# M% ^
  1050. ; http://php.net/odbc.default-db( {0 ]4 E; _/ R/ E0 i4 E& M' X
  1051. ;odbc.default_db    =  Not yet implemented
    & _2 w& I- F3 u+ M/ R
  1052.   C/ S! O$ w1 ~% H2 q/ x
  1053. ; http://php.net/odbc.default-user8 z$ ?8 d3 j7 k
  1054. ;odbc.default_user  =  Not yet implemented; f9 \; I, [! U8 a
  1055. ( N% e3 N2 S! a
  1056. ; http://php.net/odbc.default-pw" U" Y' U% h+ C9 a% H9 Q+ S* C9 B, e( {
  1057. ;odbc.default_pw    =  Not yet implemented! ?1 r- T2 E7 h. \0 C0 H2 |$ A  L
  1058. ; P9 R3 J2 M, h& p! }
  1059. ; Controls the ODBC cursor model.2 c2 c0 d/ [( B4 }
  1060. ; Default: SQL_CURSOR_STATIC (default).
    % R( i! P9 v4 Y- b
  1061. ;odbc.default_cursortype
    0 U6 V) U0 Q+ w6 n2 V6 L' _

  1062. 1 i& b* R2 ~! B. ]# b  A, [
  1063. ; Allow or prevent persistent links.
    ( A6 s9 R' T, l
  1064. ; http://php.net/odbc.allow-persistent
    7 p0 d3 w0 {( c
  1065. odbc.allow_persistent = On
    ( _. ?4 S. R8 \) A6 R

  1066. 0 E# C4 k* U- S4 l& ~1 J' K- J
  1067. ; Check that a connection is still valid before reuse.
    9 f! G( Q2 G' e) J8 M
  1068. ; http://php.net/odbc.check-persistent
    0 V7 C. q$ \2 q' i# i$ z: E
  1069. odbc.check_persistent = On4 Q% @  h+ q2 t0 j
  1070. # {7 @/ ]6 n3 e
  1071. ; Maximum number of persistent links.  -1 means no limit.+ ~8 m: w* g2 m% s% a7 J
  1072. ; http://php.net/odbc.max-persistent
    - T2 m; S2 j' }$ o
  1073. odbc.max_persistent = -1
    9 t' Q% C& d. @' R4 U' n2 I5 I

  1074. / W# ^. R" d6 T4 F) l4 _
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    / V! o; A, M6 T! c! @, F3 t
  1076. ; http://php.net/odbc.max-links/ u* r7 |' U1 _6 z  _8 b
  1077. odbc.max_links = -1
    5 V& `, D& t, x9 o
  1078. % N; E# l2 X6 ?  o1 g, k+ b
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    ) ^/ t" s3 b2 m( A2 ~' i
  1080. ; passthru.& f+ j% O% Z9 @- h: ~$ _
  1081. ; http://php.net/odbc.defaultlrl
    8 T8 O$ V/ @$ M! p* @$ p* G
  1082. odbc.defaultlrl = 4096
    / o) l) c# {1 ^& g

  1083. 9 z. ]. D5 a6 U$ k
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    6 ?" x" D5 F5 ]5 }# L- z3 q
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    ! p9 k% i/ W, q" i5 _
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode' u0 M9 Y* x' p) ]
  1087. ; http://php.net/odbc.defaultbinmode0 l. T0 g( c6 H1 r" k5 w
  1088. odbc.defaultbinmode = 12 W' n  N" S/ c

  1089. # t2 y6 w0 ~5 T' U
  1090. ;birdstep.max_links = -1
    ( r# Z/ A3 H" q# l6 ~. J* R3 o

  1091. ' Z8 ^# m4 `2 J* g" R
  1092. [Interbase]. Y  U3 T! S" N4 D( }6 d
  1093. ; Allow or prevent persistent links.; x2 H2 V) u( k
  1094. ibase.allow_persistent = 12 O% i) y) @' j: R: z
  1095. 1 t8 i3 C& P0 l0 ^. Z* R$ h
  1096. ; Maximum number of persistent links.  -1 means no limit.5 u- E, ]! s/ ~/ X
  1097. ibase.max_persistent = -1( T+ W; X! J- Z0 v/ ^
  1098. + b  S, ~% ]: r0 ^, g# T3 H2 v
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.7 s0 T/ s. s! B; s% [+ b$ I9 j
  1100. ibase.max_links = -1. \1 X* g$ m0 M! k3 Z

  1101. ' w* s; b7 j; {; G8 h
  1102. ; Default database name for ibase_connect().. Q4 W. @) y9 O  S! O! R% b2 R
  1103. ;ibase.default_db =; b0 t! {) a# g) k! ~
  1104. 7 z" ^1 E8 _! P' A/ a: \' m8 A7 I
  1105. ; Default username for ibase_connect().
    * L! L' c6 Q0 x" S& o1 G
  1106. ;ibase.default_user =$ t3 F) T  X$ O: S  s$ r4 t& C
  1107. 5 F+ F3 q5 Y$ Y9 G  d9 b
  1108. ; Default password for ibase_connect().' N2 J; O: E. N
  1109. ;ibase.default_password =. p5 W2 `- V$ b- G8 X9 K1 R+ B

  1110. + w) c* }. J7 Q' y% g
  1111. ; Default charset for ibase_connect().
    2 x) f  S, F. u5 Y
  1112. ;ibase.default_charset =( F/ P5 ]# o7 ^! J% e% m3 O, j
  1113. 7 y, n1 L/ u* G1 I! Y6 `: n
  1114. ; Default timestamp format.$ W7 c& W) C) J8 S7 a1 b  `
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"* O! r9 ?% K9 D& ?7 b

  1116.   m6 n7 M6 M7 n6 E4 r7 Y
  1117. ; Default date format.
    8 Z5 I, y1 h. l3 `3 J
  1118. ibase.dateformat = "%Y-%m-%d"
    9 ^0 p( b( }" p  n4 m( D
  1119. 9 c$ Q, L5 [& N4 q  l3 s
  1120. ; Default time format.
    & Y7 x% T" `6 O- J" ]
  1121. ibase.timeformat = "%H:%M:%S"; `/ X7 a0 j1 d  N  {

  1122. 5 J' |& W1 L, K
  1123. [MySQLi]
    - \9 K; Q3 B. k8 f" {
  1124. : N9 r8 i$ ?( e$ Q9 v! t5 T! j! {
  1125. ; Maximum number of persistent links.  -1 means no limit.
    6 S% ?1 T  m: S$ k
  1126. ; http://php.net/mysqli.max-persistent3 M. o2 H, M" p% H! h7 P7 f
  1127. mysqli.max_persistent = -18 G7 B0 t! L9 \1 C: {, h, ]

  1128. ( r; k+ i+ A( T1 C& `
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements1 T0 a9 T0 m9 _
  1130. ; http://php.net/mysqli.allow_local_infile- w+ @; v( J; `& U/ }
  1131. ;mysqli.allow_local_infile = On
    ; G8 r# k7 j. Y
  1132. 8 {& P* H% e7 I
  1133. ; Allow or prevent persistent links.
    3 h0 r3 Q9 R. V
  1134. ; http://php.net/mysqli.allow-persistent2 n3 k! V' r( F6 {; d& z
  1135. mysqli.allow_persistent = On
    ' f/ x- d; V! y. Z+ i
  1136.   ~! M4 }% d+ t' a4 i
  1137. ; Maximum number of links.  -1 means no limit.
    8 @7 ?3 q$ {( n' v
  1138. ; http://php.net/mysqli.max-links
    : m6 ~0 _  b9 C' S5 w" v
  1139. mysqli.max_links = -1
    : s$ q- x6 ?* ?% Z6 R

  1140. 5 j0 ~7 {  k& y0 O
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    " I2 P& g1 w- s/ g" y
  1142. ; http://php.net/mysqli.cache_size% N0 {6 x8 J( _& c
  1143. mysqli.cache_size = 2000
    " r4 @( |3 \( N& ~+ ?  |; L( d/ k/ j( t7 G
  1144. 6 A. R# M8 p, T3 g8 [0 Q, x
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use/ {; U' p; ?% k* j- a
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the" q6 r( V9 A1 Q. f
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look$ G5 F+ q; ?" J4 z0 `
  1148. ; at MYSQL_PORT.* T, b% `# H0 }$ l/ H
  1149. ; http://php.net/mysqli.default-port* F  p2 ~. x8 e. T" g/ z1 x6 U4 V, }
  1150. mysqli.default_port = 3306# R. w& m: P( ^0 m

  1151. 6 X. S$ H( v1 K! a: S( J
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in0 R9 Z7 P) E0 }9 y4 O* V
  1153. ; MySQL defaults.' J" g' O, o6 u7 D3 _4 r- n. N. T
  1154. ; http://php.net/mysqli.default-socket: u# L7 M$ q9 }* V* v% |2 G6 m. y
  1155. mysqli.default_socket =
    - Z" I; R# W9 P, R

  1156. * p) I% n9 |0 c# y2 I
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    : E' b+ e7 |; d: J: y
  1158. ; http://php.net/mysqli.default-host
    , y/ J3 C& r; s9 C4 b8 f' n
  1159. mysqli.default_host =, I# R* T+ n2 f: `! t' m9 `
  1160. 9 w  H/ F8 e- F: t9 M. t' O
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).0 ^. I; f" z0 r9 t% \8 W$ m, m
  1162. ; http://php.net/mysqli.default-user
    / m' K# q( Y) u! u! p( f
  1163. mysqli.default_user =, \+ T' ~9 R( F" |' Y1 ?

  1164. 6 N4 t8 t& h5 J' H7 f
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).+ ?7 f3 L; E; u
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    ) P  x  H) k' i3 f4 X, ^  `
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    # T7 i! e4 s" X
  1168. ; and reveal this password!  And of course, any users with read access to this* o1 S1 W9 `# V0 p  ~4 y: U( m
  1169. ; file will be able to reveal the password as well.
    2 u7 o8 R- I/ D: Y
  1170. ; http://php.net/mysqli.default-pw
    , p( O1 E% q3 c5 Q* O/ ~+ a- n
  1171. mysqli.default_pw =
    ( D5 I3 L% K: n+ ?7 K) g- z: o

  1172. ( k: K$ l: ]2 e. R
  1173. ; Allow or prevent reconnect9 F% q9 v: m; `/ o
  1174. mysqli.reconnect = Off8 M" Z3 {- h: ^# v1 h- f
  1175. , B3 r$ e- I6 p4 ?$ e# P9 M
  1176. [mysqlnd]( d+ g6 P; Y9 R4 q5 y% }+ N6 J
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be* l* I& W8 }7 y* c. l4 E
  1178. ; used to tune and monitor MySQL operations.
    8 ~+ v8 i4 P" X+ n, E# G
  1179. ; http://php.net/mysqlnd.collect_statistics
    " \# J& m" P0 d" K$ \1 T
  1180. mysqlnd.collect_statistics = On
    2 B! N4 E2 n0 B8 Z7 F! r. d

  1181. 1 A% w& ]7 P1 A
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be* {; d+ H% N$ p' {3 K* w: {
  1183. ; used to tune and monitor MySQL operations.
    $ [8 L8 ]0 Q; n
  1184. ; http://php.net/mysqlnd.collect_memory_statistics1 \- U. m7 n5 K9 S+ G& _
  1185. mysqlnd.collect_memory_statistics = Off, ?. f" A, Y& }, N* q' T

  1186. 3 I& {7 N8 \5 X5 J
  1187. ; Records communication from all extensions using mysqlnd to the specified log0 a7 \/ M2 v1 v5 i
  1188. ; file.
    3 j4 M3 R% U# o3 n0 p
  1189. ; http://php.net/mysqlnd.debug9 w3 x% v( x* B1 G( U" R
  1190. ;mysqlnd.debug =1 X" j( @, [" r4 y2 y
  1191. ; k% \' L% g, `" K6 s# @5 v& n
  1192. ; Defines which queries will be logged.
    - s# `4 j; J' b
  1193. ; http://php.net/mysqlnd.log_mask
    9 L- b+ Z6 O+ t% u& O
  1194. ;mysqlnd.log_mask = 0
    : T( C3 E4 C2 {+ E+ e. \
  1195. 8 ^4 [. f6 h' e  M  S* V
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    5 n% P0 o6 `* }8 b% v
  1197. ; http://php.net/mysqlnd.mempool_default_size+ H4 P3 H$ H3 E! E7 R
  1198. ;mysqlnd.mempool_default_size = 16000
    5 N: ]/ Q+ H: e6 I2 J4 ?

  1199. ! z4 _0 K6 v) w' v
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.0 r6 ~$ d; C  }4 f8 |* z- k( E$ T3 _
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    6 f0 \+ x' E( m! l! \5 ^
  1202. ;mysqlnd.net_cmd_buffer_size = 2048' c# F5 l  a/ C6 \/ \. C: S; s
  1203. 1 ?' k  }; q. d' ^# S6 D
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    ' z% p7 j- Q' N! O1 V# E6 I
  1205. ; bytes.# L& t+ K! E( W3 m. J
  1206. ; http://php.net/mysqlnd.net_read_buffer_size, }7 L" K( t1 A& F! x9 a4 }
  1207. ;mysqlnd.net_read_buffer_size = 32768
    * Z1 p+ @8 i+ @/ y

  1208. : d( M3 I8 L% i9 D+ p( C3 v1 U: y6 c$ _
  1209. ; Timeout for network requests in seconds.
    % \6 z, Z- ?# {+ w
  1210. ; http://php.net/mysqlnd.net_read_timeout' k" I+ x2 |3 r- w" E: u* B
  1211. ;mysqlnd.net_read_timeout = 31536000
    7 t9 U0 V5 e/ M. d$ S

  1212. 4 r) j1 ^7 P, h3 m$ H7 E3 d) i! m
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    ; M" q- C% i1 B4 f2 L$ _' _
  1214. ; key.  I: P, w% X  o- z
  1215. ; http://php.net/mysqlnd.sha256_server_public_key& Q6 s; w5 R7 i! l( v# }9 c+ l. U
  1216. ;mysqlnd.sha256_server_public_key =
    7 [# R) g% h/ _$ M& y/ G$ A6 D
  1217. , O7 M  a! G3 c2 ^1 q4 ^
  1218. [OCI8]# ?" h0 I$ y" m* X; V. J
  1219. ' F4 D! l2 u* u' x! \1 I7 a
  1220. ; Connection: Enables privileged connections using external2 o0 B' U7 v9 c
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)3 O" s/ p. Q( j# x8 q& p( ^  h
  1222. ; http://php.net/oci8.privileged-connect
    8 ], \) B( }, \: g
  1223. ;oci8.privileged_connect = Off0 [( N  D- _' Q# o( J+ O3 J
  1224. / d; I/ T. A7 q" Y
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    6 d' W: f7 y4 y0 S
  1226. ; process. Using -1 means no limit., {8 v/ {  H; I  ~9 W' i
  1227. ; http://php.net/oci8.max-persistent4 }5 c: l- N& J: q, ^
  1228. ;oci8.max_persistent = -1
    $ Y6 }1 S) A. X# N
  1229. , C& G; ^, M; ?$ s
  1230. ; Connection: The maximum number of seconds a process is allowed to
    ' p% `; r5 c; `/ Z7 K5 }
  1231. ; maintain an idle persistent connection. Using -1 means idle( W9 i1 p  N  y* r2 E" U1 P
  1232. ; persistent connections will be maintained forever.
    : d/ \$ U; j; n! a2 r8 L) @
  1233. ; http://php.net/oci8.persistent-timeout; B7 E# w3 u% K  m0 G* p1 w
  1234. ;oci8.persistent_timeout = -1
    % f; K; n  w1 T9 ]# ~

  1235. : ~0 i5 b" ?4 p! @4 ?
  1236. ; Connection: The number of seconds that must pass before issuing a
    ' N, E0 x8 q5 n  p+ J" ~
  1237. ; ping during oci_pconnect() to check the connection validity. When. Z% `9 w8 ], G; y: P6 f" Y
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    $ H* \4 h) F; n& y9 m/ `4 o
  1239. ; pings completely.2 m- x0 v5 m% J
  1240. ; http://php.net/oci8.ping-interval- I& M  x5 x9 R6 p( c& W( n7 y- F
  1241. ;oci8.ping_interval = 60
    - |  ?9 F" Y' y  Z; R: a
  1242. ( L* o) Y3 M4 i' K; d
  1243. ; Connection: Set this to a user chosen connection class to be used
    * q* E1 G3 f7 E7 `2 D& d8 z
  1244. ; for all pooled server requests with Oracle 11g Database Resident# Y5 |: {) o. {1 e$ Z+ R
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to/ M1 w9 Z$ Z% i- U% `
  1246. ; the same string for all web servers running the same application,3 P- q% ]9 i+ |2 R. ]# m
  1247. ; the database pool must be configured, and the connection string must
    & @* w% G& `$ `3 ^) {8 {9 M- C+ |  e3 T
  1248. ; specify to use a pooled server.
    8 T( x/ y& k& a; f  t
  1249. ;oci8.connection_class =
    % u% Z; O- q  [  [$ F

  1250. ; v! D- f& m2 R' S  G2 o
  1251. ; High Availability: Using On lets PHP receive Fast Application$ [$ e# r2 N9 J" ]% ^
  1252. ; Notification (FAN) events generated when a database node fails. The
    : O6 Z% J( J4 S0 m4 J7 ~2 h
  1253. ; database must also be configured to post FAN events.8 N: S0 \5 e* `6 `+ M  a: |+ m
  1254. ;oci8.events = Off9 F( a5 N+ H4 ^$ n) X

  1255. 8 ^0 y# G9 c# i. W! ?8 t
  1256. ; Tuning: This option enables statement caching, and specifies how4 O) A5 M: Y8 r7 W
  1257. ; many statements to cache. Using 0 disables statement caching.
    4 N' ~) `7 k$ u/ L2 K
  1258. ; http://php.net/oci8.statement-cache-size/ C- A5 H) r" H; T# m
  1259. ;oci8.statement_cache_size = 20
    5 j/ D  k( t& _) m  r
  1260. . G0 u) d6 |0 j
  1261. ; Tuning: Enables statement prefetching and sets the default number of
    3 @: [2 G+ Q1 D/ s5 O; ^
  1262. ; rows that will be fetched automatically after statement execution.
    / O& I; \: S1 A- _
  1263. ; http://php.net/oci8.default-prefetch
    ; Y4 e$ `5 q: f" Z( ]
  1264. ;oci8.default_prefetch = 100$ K3 O" F) A( H# q1 U4 N
  1265. 3 P! u8 k/ ~9 z* e9 C; f" a
  1266. ; Compatibility. Using On means oci_close() will not close  x7 ^* c  y  [
  1267. ; oci_connect() and oci_new_connect() connections.; K; B5 j& D( C# Z
  1268. ; http://php.net/oci8.old-oci-close-semantics
    2 v/ A# I. |  c! O4 E
  1269. ;oci8.old_oci_close_semantics = Off/ T0 D# N& Z; s1 @" f7 y; n/ R" X

  1270. 0 s( G* [" {5 i- t9 l1 Y  g
  1271. [PostgreSQL]! q2 n! v* y* p. m
  1272. ; Allow or prevent persistent links.2 |# x; ~7 G0 O& p  z
  1273. ; http://php.net/pgsql.allow-persistent, {$ s: n- }8 |  p
  1274. pgsql.allow_persistent = On' M8 l0 v* ~( p7 O2 h
  1275. ( X4 ?6 F/ r6 {, i+ Y
  1276. ; Detect broken persistent links always with pg_pconnect().
    + H: q& R2 R" U( |" Y
  1277. ; Auto reset feature requires a little overheads.
    . V: J( X4 Z; N
  1278. ; http://php.net/pgsql.auto-reset-persistent
    : z4 M8 ]: n, [  t
  1279. pgsql.auto_reset_persistent = Off
    4 O8 n+ E! p& n7 C7 Z

  1280. ( V1 z! q9 ?2 c/ ?
  1281. ; Maximum number of persistent links.  -1 means no limit.- [; K: ^+ u* x8 u+ F5 k
  1282. ; http://php.net/pgsql.max-persistent
    0 h) z* e# a2 y" d9 s5 l
  1283. pgsql.max_persistent = -1
    " g- E' H6 I' R

  1284. 3 w: [) v; L9 p4 d0 j
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    2 s: ?  R4 l4 g& y, P. Y( J- u! b7 H/ Y
  1286. ; http://php.net/pgsql.max-links
    # T: h* w, v3 F
  1287. pgsql.max_links = -1& S# _% O( e4 z! X5 P

  1288. # e6 P) l7 n8 P
  1289. ; Ignore PostgreSQL backends Notice message or not.
    1 p/ s( V1 Y! N' @0 C! ~
  1290. ; Notice message logging require a little overheads.8 p/ @& P  P) I; r# F
  1291. ; http://php.net/pgsql.ignore-notice- \' q* e& i) P7 Y
  1292. pgsql.ignore_notice = 0
    , e, R$ s5 \) I" _! _9 Y) Q/ S% a
  1293. + i) w( H3 W/ ]' G* z) R
  1294. ; Log PostgreSQL backends Notice message or not.0 w5 }5 w5 e3 z
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    * ?, z3 P( t4 P: }9 _) l* g  h( E, U
  1296. ; http://php.net/pgsql.log-notice
    ! K* ]5 u; M8 ?
  1297. pgsql.log_notice = 0; i! ]4 [9 H' h1 ~

  1298. ) M1 t9 @$ |. @" w6 ^& B6 U, [% t! E
  1299. [bcmath]: ~1 `! T$ _' u1 W/ I/ b+ R
  1300. ; Number of decimal digits for all bcmath functions.
    ; D7 N. p- f2 f. V9 F4 S# r. i
  1301. ; http://php.net/bcmath.scale/ q/ Z# W  t' L' N, Y" {
  1302. bcmath.scale = 0
    / N' X. k8 u4 z2 B8 |; z  K2 d+ s

  1303. ; V! q8 x" ^1 U# X6 l3 X, @! A
  1304. [browscap]' _' x% g  C  h7 _7 |! u
  1305. ; http://php.net/browscap1 |4 ]7 A, t$ ]% `: M" r
  1306. ;browscap = extra/browscap.ini& j/ u2 O! @; x% E( ]! S" H

  1307.   \0 y1 y9 E' W6 |+ K5 N
  1308. [Session]) p. G6 h; e  x4 Z7 F5 h
  1309. ; Handler used to store/retrieve data.
    9 }) i4 V, d) {9 y% T
  1310. ; http://php.net/session.save-handler
    0 `+ j" |/ u) i. y: D1 k' X" P
  1311. session.save_handler = files
    * D  a" z4 i' c$ E

  1312. 3 d: y1 Z- P7 C$ r" _. [
  1313. ; Argument passed to save_handler.  In the case of files, this is the path7 N0 D) r$ V. Y0 Y1 d* G& ]4 \
  1314. ; where data files are stored. Note: Windows users have to change this1 T' o# [8 f5 L, {1 D* m! F
  1315. ; variable in order to use PHP's session functions.
    $ F- W( q3 x9 j7 D
  1316. ;+ Z# q/ v* h" [( X8 N2 D
  1317. ; The path can be defined as:
    6 r. n, E; |! g5 O( c
  1318. ;1 W+ v1 P- a7 z* b; y  |3 h3 h
  1319. ;     session.save_path = "N;/path"
    . g% n6 q* o5 a' G
  1320. ;9 @/ Y) Q& G- J3 f- Y8 w: r
  1321. ; where N is an integer.  Instead of storing all the session files in
    9 E6 P( c4 Y" Y% Y1 E
  1322. ; /path, what this will do is use subdirectories N-levels deep, and) X& L3 f# @  o% r8 T* o, a) e
  1323. ; store the session data in those directories.  This is useful if
    2 L3 u3 Q# C8 ^* w
  1324. ; your OS has problems with many files in one directory, and is
    ) [; o0 S* _2 m& [, e6 |7 e: x
  1325. ; a more efficient layout for servers that handle many sessions.
    . Z: g0 k$ Q7 l" X  q+ F
  1326. ;" p! Q( U# w$ E3 ]+ V# S
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    & B# g/ {2 o( s6 x) F4 U# E
  1328. ;         You can use the script in the ext/session dir for that purpose.
    / f2 |3 R! i& Y/ n6 |
  1329. ; NOTE 2: See the section on garbage collection below if you choose to( @% E9 N! a# J8 x4 v0 X
  1330. ;         use subdirectories for session storage
    6 P( \2 u! P; }0 I' B9 l% |
  1331. ;5 O/ `# ?5 J2 P# _/ C' d$ p
  1332. ; The file storage module creates files using mode 600 by default.
    * b: _7 h- W4 b+ S- E2 s) O
  1333. ; You can change that by using
      l' s% r8 U5 Z8 q' w/ G5 E# m! b3 ^/ S
  1334. ;
    % |$ n- h/ I3 Y! o) x
  1335. ;     session.save_path = "N;MODE;/path"
    & w* W, r, J- r) F
  1336. ;
    . c( y3 V( n& b/ t  @/ ^, H
  1337. ; where MODE is the octal representation of the mode. Note that this
    # I1 N+ S* U$ \# Q" D6 d
  1338. ; does not overwrite the process's umask./ x& P2 E; a7 c7 @) P% {
  1339. ; http://php.net/session.save-path$ F8 b: U% Z0 _2 ~
  1340. ;session.save_path = "/tmp"4 p/ I7 W, c6 @

  1341. 6 X; C9 i5 @* l0 O/ ?  d* |' Z( M- @
  1342. ; Whether to use strict session mode.  X; S  ~3 O- |  e
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    " a0 x+ a6 ^$ T8 s1 [1 y& M
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects) W. Y$ C: I2 I$ ?( I2 Z% z5 y8 }: U0 ?
  1345. ; applications from session fixation via session adoption vulnerability. It is2 x0 p! b9 i/ v6 k
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.$ @1 s% g+ I0 j5 U& u1 ^
  1347. ; https://wiki.php.net/rfc/strict_sessions
    5 A7 g' d4 ], n6 g" n! q
  1348. session.use_strict_mode = 02 }* `/ h' J) A8 s

  1349. 4 x& i4 F9 b! v: n1 U; K* r
  1350. ; Whether to use cookies./ _) d# S9 B* {; [0 W' ^+ B" n
  1351. ; http://php.net/session.use-cookies
    8 S- k. c, \* [  X
  1352. session.use_cookies = 1
    4 \& D6 z+ z; J3 Y& [- C

  1353. : z# e+ T7 K5 U6 G. W' X: d
  1354. ; http://php.net/session.cookie-secure; C! y3 I8 ^/ i2 }( G* V# C: j
  1355. ;session.cookie_secure =7 t; \% K6 B* E0 b+ {/ B" W
  1356. 2 e5 z' {, `# G$ p5 I$ S" P3 V& c
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    8 g8 |5 K7 R# d
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    5 K9 i5 U2 E" f' S. f* R
  1359. ; session hijacking when not specifying and managing your own session id. It is, X: f5 a4 u+ Q. Z
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.  e4 g- t' W3 ^* I( _4 p
  1361. ; http://php.net/session.use-only-cookies
    ' H9 c1 Z3 o( N% b4 Z7 w
  1362. session.use_only_cookies = 1  S7 d' P, j' {+ J

  1363. % m. B/ p+ E  D+ j: Q1 V  f
  1364. ; Name of the session (used as cookie name)., ]# h0 ?$ F5 C# a* K
  1365. ; http://php.net/session.name
      Q& W! \! K- J9 J
  1366. session.name = PHPSESSID7 n7 P& ?0 x8 k( ]2 Z
  1367. ' s. u& W! q9 F
  1368. ; Initialize session on request startup.
      N& }. u8 ^- P
  1369. ; http://php.net/session.auto-start) D! {! y1 |; b, T; Q8 t7 i  s) f1 l
  1370. session.auto_start = 0
    # z2 ]+ r4 j) s! R- n

  1371. 3 w6 }% Q" ~; B/ @* S/ W! K3 j  Q1 h3 A
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.1 L( Z8 {. B9 Z6 T5 o) g
  1373. ; http://php.net/session.cookie-lifetime
    + Y* r2 T7 j; `7 U' k0 B
  1374. session.cookie_lifetime = 0
    / }7 M3 U; \3 O! p- E
  1375. : g- ^& Q" Y6 C" q4 \  ^
  1376. ; The path for which the cookie is valid.# w! d2 t1 Q8 I$ h
  1377. ; http://php.net/session.cookie-path
    " c; p) \" h( w2 Z" M1 M  g/ C7 }
  1378. session.cookie_path = /& x. `$ }- @$ C; b

  1379. 8 ~! _. k8 b3 N
  1380. ; The domain for which the cookie is valid.5 ~* M' U4 B) P+ ^- s) q3 x
  1381. ; http://php.net/session.cookie-domain
    % n5 U- s1 r" P* i
  1382. session.cookie_domain =! c# X3 p8 R, M" i9 |

  1383. ' r! U" T  G( [: _+ t% U* h9 h
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.& V: g9 F' V$ c9 {% g, B7 _- Z
  1385. ; http://php.net/session.cookie-httponly% k2 G0 c9 y: C3 y2 w  l
  1386. session.cookie_httponly =
    ; x: p. O! j3 v5 R% [: Y4 o

  1387. 9 q, ^9 c' D: V. \' F: G9 A
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    & j: m1 a. a# }/ M
  1389. ; http://php.net/session.serialize-handler
    2 @( z  [: F" r- |; H
  1390. session.serialize_handler = php/ E0 ~+ j9 P/ s  m" x: h

  1391. ) L1 j, o4 x( d3 {6 S9 b
  1392. ; Defines the probability that the 'garbage collection' process is started
    0 b( \( N+ H% m6 m
  1393. ; on every session initialization. The probability is calculated by using# s( _3 j4 R  m- a1 `
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    9 o9 j/ t8 q+ e" G. i% W2 O
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    " u' e! G. t2 J2 Y
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance7 P0 Z/ G0 g' n5 O( S$ p8 {# z
  1397. ; the gc will run on any give request.& ~( M2 P1 X/ _0 s9 c" Q
  1398. ; Default Value: 1
    8 O; h3 U& S! E+ [  D
  1399. ; Development Value: 1
    : ?# v( B6 R8 a7 C. s7 \6 _: d
  1400. ; Production Value: 1; b, A. m: N, d* c
  1401. ; http://php.net/session.gc-probability7 r5 @1 U! Z6 M# z. k
  1402. session.gc_probability = 1: T  @. d* ?/ }
  1403. 7 C- m/ |; e3 W0 w$ J; n
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    1 c) {/ F! G- L1 h2 a
  1405. ; session initialization. The probability is calculated by using the following equation:- g" u5 W9 Z; V5 K) I* [, S8 ?
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
      z# k$ B/ r. ^$ ^$ \$ v5 z
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    5 T1 A. p9 {: \
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance5 t1 T$ |2 z' @* Q
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you/ T, H" m! ]! S" P5 b" [' N8 P3 W
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,: ]6 k/ d+ ]1 x* H# L: z
  1411. ; this is a more efficient approach.
    , f  q9 d1 q" c/ v. {1 [4 G' H. ^
  1412. ; Default Value: 100
    / Z; f2 v" |6 t
  1413. ; Development Value: 1000) \$ v5 X/ Y. C0 \
  1414. ; Production Value: 1000
    % V; i( D+ J3 k9 u3 h; y
  1415. ; http://php.net/session.gc-divisor
    ( l2 k: v0 V; M  d' a8 R+ a
  1416. session.gc_divisor = 1000/ A; m: G  {! M* g" W: S- \2 B
  1417.   e8 C- W" i" ?  T
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    ) J3 r4 J& M, ?
  1419. ; cleaned up by the garbage collection process." q; p4 |3 ^+ A+ \* |& i/ i7 N
  1420. ; http://php.net/session.gc-maxlifetime
    & a, q. K  }* @& T9 ~/ T
  1421. session.gc_maxlifetime = 1440  i1 f3 p9 r# `" \
  1422. ' c$ N6 ^! x) w' @" [7 s7 h) H
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    4 V/ ?' A% v3 [6 Z5 z: o
  1424. ;       (see session.save_path above), then garbage collection does *not*; R. C% d; d+ m, p1 p( A
  1425. ;       happen automatically.  You will need to do your own garbage
      x4 I' l9 _6 C: ]' b1 g
  1426. ;       collection through a shell script, cron entry, or some other method.
    " n; l0 c; |1 L  ~- z
  1427. ;       For example, the following script would is the equivalent of
    - z( q3 ^$ O) L: T& ~& k: O
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    . v" j! L2 p0 W! a
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm0 d( R" r' U' i

  1430. , g5 h7 k, j2 \$ K, h% f% I7 o) ^
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    ' q) U4 |) R) B; I- }
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    ; R; V- x; v% a8 k
  1433. ; considered as valid.) p) I& b+ H+ j
  1434. ; http://php.net/session.referer-check6 n& @! \' {" B. y
  1435. session.referer_check =! U. S( J6 G" Q. C9 }& N

  1436. / c3 ?0 |$ N5 v5 c/ t. ~4 S
  1437. ; How many bytes to read from the file.% }3 g0 R1 n: M3 D+ J. p/ z8 c
  1438. ; http://php.net/session.entropy-length
    8 p- s0 S- H" M! ^6 n$ p
  1439. ;session.entropy_length = 32, {2 X/ V0 g! @) W# S) P( V% n

  1440. 9 _6 {/ G) k" c* ]) ^5 A! b
  1441. ; Specified here to create the session id.9 @6 `3 j- K) \$ P# v; |0 w
  1442. ; http://php.net/session.entropy-file
    , k2 P  k3 |7 c. T" `, `- S2 u
  1443. ; Defaults to /dev/urandom7 U$ D* p$ m1 k$ W& ^
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    ; [5 U; r5 C+ o5 j" N4 y
  1445. ; If neither are found at compile time, the default is no entropy file.
    / B( X- a: u% }* S* J8 T
  1446. ; On windows, setting the entropy_length setting will activate the& l& D6 ]4 @: {- u) c0 a
  1447. ; Windows random source (using the CryptoAPI)
      o/ l6 S( V2 G7 @2 j
  1448. ;session.entropy_file = /dev/urandom
    . h9 J& Q1 x' P* Y% _5 J
  1449. 5 F' W% d" {0 r1 o% R) T5 l. i3 o: W
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    $ F8 y, C$ r; ]* k
  1451. ; or leave this empty to avoid sending anti-caching headers.. d5 A( ~; p! i" Z* {
  1452. ; http://php.net/session.cache-limiter' m1 Z- j  w5 s' k. L7 k- S
  1453. session.cache_limiter = nocache$ B5 s2 _+ g6 e. H; D/ @, Y0 `

  1454. 3 \2 C' H; P  c  }
  1455. ; Document expires after n minutes.# r9 \0 S8 ]- K. K
  1456. ; http://php.net/session.cache-expire
    - I* v0 k$ @* m
  1457. session.cache_expire = 180
    - x8 ?9 D/ X* @0 h0 w  G0 p  S

  1458. / G4 S9 ^. [& ~% J$ D( e
  1459. ; trans sid support is disabled by default.: v2 o; M+ v: f4 P4 G- |2 Q4 i3 h. e' B
  1460. ; Use of trans sid may risk your users' security.; c8 B) J. H2 Z/ [
  1461. ; Use this option with caution.
    ( N7 B. a1 N( ?1 |) a
  1462. ; - User may send URL contains active session ID
    " |0 X9 k, G5 T2 B4 k  G% O% n& f
  1463. ;   to other person via. email/irc/etc.% E- ^3 {0 k; L) n
  1464. ; - URL that contains active session ID may be stored3 S$ ?( O7 f# R5 k- n/ [, O
  1465. ;   in publicly accessible computer.9 ^2 M( t8 T. F9 t. U" }9 t: }
  1466. ; - User may access your site with the same session ID
    # H. V4 i8 W+ U" I" H
  1467. ;   always using URL stored in browser's history or bookmarks.- I( ]$ Y. a. n9 E- \
  1468. ; http://php.net/session.use-trans-sid  n* S# n1 s# S4 B/ X
  1469. session.use_trans_sid = 0
    4 `+ z) D& w$ |$ c+ b, v
  1470. , ~: h8 s# J' o# e+ A( ~5 \
  1471. ; Select a hash function for use in generating session ids.
    - t, d9 X7 p: h4 t0 T
  1472. ; Possible Values, M; ?" v9 v) u- A1 d
  1473. ;   0  (MD5 128 bits), f$ r( `* J# c$ W7 X
  1474. ;   1  (SHA-1 160 bits)
    ' S' ^. d( w6 H8 r+ O' N8 J% t( l
  1475. ; This option may also be set to the name of any hash function supported by& ?9 K6 c# t* ^/ Z( |6 i
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    + e$ E5 y& a. X! K6 M
  1477. ; function.0 H9 u: ], |, E, p" @) p  e
  1478. ; http://php.net/session.hash-function) r  {9 K/ N) t- o
  1479. session.hash_function = 0. T, u+ S7 h5 l

  1480. 5 P4 F2 _" `- t7 @) W; c# j
  1481. ; Define how many bits are stored in each character when converting
    . L. z& b3 C6 S# U  E& c5 O2 G3 H0 `
  1482. ; the binary hash data to something readable.. U5 R3 {0 |3 c7 @7 R7 a: J
  1483. ; Possible values:/ Y: R9 d. O, |' L+ `
  1484. ;   4  (4 bits: 0-9, a-f)% H" z$ K" l0 Q. z8 _, @' f# k
  1485. ;   5  (5 bits: 0-9, a-v)+ j7 X: k5 W# p
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")* X" p; i2 w  n7 ^( A2 v
  1487. ; Default Value: 4
    4 D* ^; t8 O% ^+ H+ _
  1488. ; Development Value: 5/ v$ M% U7 |' y3 V5 M1 }
  1489. ; Production Value: 5
    : q9 i3 I2 v! n. O7 c
  1490. ; http://php.net/session.hash-bits-per-character
    % T- v3 J6 c3 N' d! [
  1491. session.hash_bits_per_character = 5% E0 d5 S# v6 f5 Q) _% b+ D: c% e1 q
  1492. ; M5 ]% U5 @6 y7 P, O" I% a6 Q
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.8 l9 C2 v2 ~& G6 p7 ]
  1494. ; form/fieldset are special; if you include them here, the rewriter will! s% q7 D! C: P) e6 H1 P2 Z
  1495. ; add a hidden <input> field with the info which is otherwise appended* h: V3 p3 U+ s. X. p9 ~
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.0 ^  G: V5 C8 `  ~1 F: T' Y
  1497. ; Note that all valid entries require a "=", even if no value follows.
    % t  A" t7 I4 p0 o1 e$ V$ W
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    3 D9 J$ A. J/ T
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry", h9 x; ^1 q9 R( T1 b
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    : X) o6 p! v$ A3 l8 {
  1501. ; http://php.net/url-rewriter.tags
    : H  _- K; w- A1 t( _
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"2 P+ Y3 I  d% ?+ Z8 {& ?: i3 ~
  1503. - a* N7 C( H7 {$ o
  1504. ; Enable upload progress tracking in $_SESSION
    ( w1 B) U9 q  X1 V
  1505. ; Default Value: On
    ! k4 A' d. b+ u" N0 T8 x3 l
  1506. ; Development Value: On6 G8 g- m+ J+ f4 h) S
  1507. ; Production Value: On
    / y! y1 Y" n! H' O
  1508. ; http://php.net/session.upload-progress.enabled1 D5 d4 m) |  A4 }7 {% g
  1509. ;session.upload_progress.enabled = On3 c  |" }. V- V; I" s- L- S
  1510. * t( ?6 S$ h: G8 @6 a
  1511. ; Cleanup the progress information as soon as all POST data has been read5 v9 P" O( e4 t. G' v
  1512. ; (i.e. upload completed).
    . ^; J1 u- M9 I0 S/ Y
  1513. ; Default Value: On( P4 F# P0 U4 M7 Y6 n
  1514. ; Development Value: On7 }) x( c' N- |
  1515. ; Production Value: On4 {& c5 r5 R. r
  1516. ; http://php.net/session.upload-progress.cleanup
    ! G! W2 h$ M: y) Y1 ]' D* N
  1517. ;session.upload_progress.cleanup = On
    6 F- G& y( [, U) [% o9 k: m

  1518. / J9 O( a& z: V2 ?8 M
  1519. ; A prefix used for the upload progress key in $_SESSION+ z" E4 K% K! ~) i
  1520. ; Default Value: "upload_progress_"
    . U" ~3 ^7 b/ V
  1521. ; Development Value: "upload_progress_"
    ' x' Y5 a/ {, N/ C
  1522. ; Production Value: "upload_progress_"+ w) t; c: _9 F- J) H
  1523. ; http://php.net/session.upload-progress.prefix# t4 w& ^2 o0 ~- }/ K# f' c5 d
  1524. ;session.upload_progress.prefix = "upload_progress_"2 Y* w# Z: Q: O. k, X6 a6 _

  1525. ( s0 T* k, L" E+ f
  1526. ; The index name (concatenated with the prefix) in $_SESSION, ]" J$ }7 L/ d) ^+ C" j
  1527. ; containing the upload progress information
    ) k+ {2 [6 i  h# O* n. Y+ t
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    9 x5 f7 l9 W* U5 H9 z4 V2 f: p
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    : t! o# {0 x/ t
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    4 G4 G/ v4 S. S* P
  1531. ; http://php.net/session.upload-progress.name  w% d' T. x3 c* n4 N1 Y+ D9 \
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    * A: D1 N6 X# j
  1533. # \& T2 U- B1 e+ d. a6 h! ]7 U1 c* i, B
  1534. ; How frequently the upload progress should be updated.
    2 J/ C0 m; i5 K: v
  1535. ; Given either in percentages (per-file), or in bytes
    ( N- n5 K, e5 r3 g7 S9 ]' `
  1536. ; Default Value: "1%"/ U7 g# ^7 A, I/ o  G& l9 R
  1537. ; Development Value: "1%"* B2 Q. D* m' v- I* Z" [% u! d
  1538. ; Production Value: "1%"
    $ C$ v; C( f+ s0 j! U
  1539. ; http://php.net/session.upload-progress.freq5 u: V7 U4 i  [. y0 ~5 Q+ j
  1540. ;session.upload_progress.freq =  "1%"% x# y4 Z6 R1 G* }9 U+ s2 L& @

  1541. : r( M% [& [* i2 ^
  1542. ; The minimum delay between updates, in seconds
    " M' H$ F% E: N7 h
  1543. ; Default Value: 1+ T( k; |# T0 ^! w8 B& ?
  1544. ; Development Value: 1( X( _" f1 D2 Z' ~/ A0 N" y5 _' U
  1545. ; Production Value: 1& p- ^) |1 B# s; C1 v) N
  1546. ; http://php.net/session.upload-progress.min-freq+ h$ \/ \8 k1 M7 F% m
  1547. ;session.upload_progress.min_freq = "1"
    $ Y; P; d/ s, S: Q3 N% z9 M

  1548. 4 g* V8 |1 B7 k  L8 d
  1549. ; Only write session data when session data is changed. Enabled by default.) E$ q  h9 b, \# {
  1550. ; http://php.net/session.lazy-write) u1 Z: R0 Z/ L" @& M
  1551. ;session.lazy_write = On- Q; y1 O; D5 ?1 c4 i0 J* j
  1552. - ?; M; Y! {. L' @& e7 l- B7 ]
  1553. [Assertion]8 A$ A5 K2 F( d
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    - p- v" V6 v0 L0 j
  1555. ; -1: Do not compile at all1 w' k' p% s5 b2 c, [+ J8 d
  1556. ;  0: Jump over assertion at run-time2 x- Z8 E3 X! o# y
  1557. ;  1: Execute assertions
    9 G; z5 l0 Q+ r& L4 g, W
  1558. ; Changing from or to a negative value is only possible in php.ini! (For turning assertions on and off at run-time, see assert.active, when zend.assertions = 1)1 q+ x8 @2 v0 l
  1559. ; Default Value: 14 C- y, E. L3 _. `+ O
  1560. ; Development Value: 1* P) R0 f0 a+ \: A% J5 \+ X( ?
  1561. ; Production Value: -1
    " n- @6 L7 U. h5 g4 E
  1562. ; http://php.net/zend.assertions, C4 g- }5 e! A# C) U
  1563. zend.assertions = -18 u/ g5 q- \  E( }  h
  1564. 0 v; A# ^/ T6 X' S
  1565. ; Assert(expr); active by default." T6 a! Q& n: L5 C! ^' \8 u; C# ]
  1566. ; http://php.net/assert.active" F. I  |, ~8 {! q
  1567. ;assert.active = On) |6 U( Y- b4 r; q0 T

  1568. ' C0 Y; z1 y/ g: b+ O; J1 W
  1569. ; Throw an AssertationException on failed assertions! z; K2 j/ T  G4 x+ E
  1570. ; http://php.net/assert.exception9 T; z% x7 n- g) V( z5 p
  1571. ;assert.exception = On+ `9 ~' N, E1 U! j  K! f
  1572. 8 Q- e- B, V  ?/ \8 `
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    8 Z, |% a$ q$ x; B7 }
  1574. ; http://php.net/assert.warning
    ' n' C# P- M6 \( c7 C# U
  1575. ;assert.warning = On8 n. }8 w. ]: x; _

  1576. , \/ n1 x7 F* Q; P
  1577. ; Don't bail out by default.
    " ?4 U+ U) P7 O* |6 L7 n0 x
  1578. ; http://php.net/assert.bail! T- Y3 Z$ y$ P
  1579. ;assert.bail = Off3 @) q2 B( H8 U) {% _( M

  1580. 1 N+ c- F  ?- N/ ?0 c5 X% w4 t0 R
  1581. ; User-function to be called if an assertion fails.
    1 w0 p( [$ Y4 g, q2 w& J
  1582. ; http://php.net/assert.callback7 z* v) a) a) u5 V' m
  1583. ;assert.callback = 0
    , x0 D- O7 _1 x$ F& Z; w& G0 W
  1584. : _1 X/ j9 r0 n" i+ M
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    4 |; A* h4 h9 D6 j& A
  1586. ; error_reporting(0) around the eval().
    1 i5 w0 a& }0 B
  1587. ; http://php.net/assert.quiet-eval' K* M4 N' G8 t
  1588. ;assert.quiet_eval = 0
    ( ~: Q; g4 F$ U. T5 {& H6 w

  1589. " P9 R9 W+ y$ ?: a. Z
  1590. [COM]
    % V' j; G* J% ?" Y4 I  Y
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs/ Y2 w, ?5 ]; P! S% b9 e1 u
  1592. ; http://php.net/com.typelib-file+ Y& }- K1 @4 Z1 Y: \2 H! Q
  1593. ;com.typelib_file =
    ; A4 z6 r' X6 F3 ?+ ^. y

  1594. 1 I) o% E9 F3 `' X" G/ b
  1595. ; allow Distributed-COM calls& X+ y: J5 m4 J! }7 B7 J/ R) X2 F
  1596. ; http://php.net/com.allow-dcom$ R& N' _% {$ t9 _4 `- w
  1597. ;com.allow_dcom = true6 B; F3 ^: ^, z& {# g
  1598. 8 u0 K, k- P/ C% L$ t4 C8 C1 g
  1599. ; autoregister constants of a components typlib on com_load(). u9 O: s0 ]3 ]6 J$ e9 o0 w' d
  1600. ; http://php.net/com.autoregister-typelib) g, K6 c2 a+ T
  1601. ;com.autoregister_typelib = true
    3 N6 w! ?+ ^4 n) p" t: S* h4 ]( ]9 R

  1602. + ?3 u) d& ^# Z' o. M
  1603. ; register constants casesensitive
    0 N4 [# Z0 @( C0 U# h
  1604. ; http://php.net/com.autoregister-casesensitive$ z/ L* V6 K% d
  1605. ;com.autoregister_casesensitive = false
      |, z4 N! R2 ^- X6 X1 C8 |
  1606. ) L: \, g6 {4 e, f* J! J
  1607. ; show warnings on duplicate constant registrations
    % N# c0 v8 p! c5 n6 Q- h7 Y% Y( `
  1608. ; http://php.net/com.autoregister-verbose2 S- a/ ], |, L% r. m5 e
  1609. ;com.autoregister_verbose = true( W3 l, V) j7 T, S1 d! m
  1610. 3 Y" y5 W8 u& a. p/ X' d4 z
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    3 ?9 |- q& R+ G% Y7 L4 D
  1612. ; Default: system ANSI code page
    * y/ q% Y& X& m
  1613. ;com.code_page=
    : ~2 a' K0 b9 I% x, C. M
  1614. 7 P  {# f" c4 h
  1615. [mbstring]
    " T9 F& x) `. f" \
  1616. ; language for internal character representation.
    7 \8 M( n' T0 l0 \
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    * g5 O3 e! b9 {. g- u
  1618. ; http://php.net/mbstring.language
    - [, r  ?  r- {' Y6 n
  1619. ;mbstring.language = Japanese2 A  L2 M: f( U5 u9 D

  1620. 2 [* O! ~; ^( r
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.5 B  H* W: f$ a" f% j+ {* S" g) L2 i
  1622. ; internal/script encoding.
    : X8 K) T1 t8 x3 n
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    * E, f* t4 W) D
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used., Z" R" [  N' a/ ~4 ?4 k4 x: I
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    * m, B9 q# j2 m, f- X7 b  d
  1626. ;mbstring.internal_encoding =' {, }; }# ~9 z* J( w; ]+ l
  1627. 6 T0 m; {8 c& m
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    / {$ C# U+ u8 y3 Y  u- k4 D% f6 S
  1629. ; http input encoding.. p: a8 c! f* h
  1630. ; mbstring.encoding_traslation = On is needed to use this setting., ^- A0 m( i( j" F7 h; j/ d8 g
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    - s- G2 F- A; |5 U  j
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input9 w4 M* c2 A' p+ r4 i
  1633. ; http://php.net/mbstring.http-input
    ' t  I, A0 y: g; c' @( R
  1634. ;mbstring.http_input =# i! A$ U. m; @; Y2 Y  t

  1635. 2 y% |' d9 U8 f: B/ c; _" r
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    0 \  l3 b4 N$ Z
  1637. ; http output encoding.! d8 F. \9 C5 t8 H3 M5 Z
  1638. ; mb_output_handler must be registered as output buffer to function.
    5 ]% ^% U+ D- K9 e( ?* q  [2 }
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    * ?' h# D- V: }  \
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    % f' C/ X8 I9 c, v( L& h
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    # a$ {0 Z- W2 z4 W7 k8 v
  1642. ; otherwise output encoding conversion cannot be performed.0 V& m9 h5 r/ y+ V  I9 E$ A
  1643. ; http://php.net/mbstring.http-output
    " R1 \; D, C+ O( m% N( t, I
  1644. ;mbstring.http_output =0 z3 z8 U$ g( E! h% H
  1645. % \8 Q2 v+ Y% @5 G6 q
  1646. ; enable automatic encoding translation according to
    + Q! ^- M7 e5 }6 Z- m8 ^4 d# }
  1647. ; mbstring.internal_encoding setting. Input chars are* ~3 t. t# K* Z0 ]; r* c4 O" N
  1648. ; converted to internal encoding by setting this to On.
    : o: ]- Y2 l) h% b; ?( v
  1649. ; Note: Do _not_ use automatic encoding translation for
    / h+ Z! ~) c* X
  1650. ;       portable libs/applications.
    3 ~! z7 f% V/ M4 z- H
  1651. ; http://php.net/mbstring.encoding-translation1 l0 Y; |- n0 R+ V, S, L% w
  1652. ;mbstring.encoding_translation = Off& V" x" Q2 p. e; ?0 F" N  K

  1653. 7 h, \" i# }* L7 ?0 k
  1654. ; automatic encoding detection order.' X, }# V& E; v9 u2 w- ?! f
  1655. ; "auto" detect order is changed according to mbstring.language! I  _1 l' ^$ ~! M
  1656. ; http://php.net/mbstring.detect-order
    ' ?  x; R% E  @
  1657. ;mbstring.detect_order = auto2 j  w- ^4 g( E) [; i0 R+ g

  1658.   s% @  i3 z4 t7 F  ~
  1659. ; substitute_character used when character cannot be converted
    ! Q2 g2 ?# C. L  C- L/ F
  1660. ; one from another6 A* g. Q- @! S7 {+ l1 H
  1661. ; http://php.net/mbstring.substitute-character- Z6 s& y! y! N& R5 w2 t
  1662. ;mbstring.substitute_character = none! w; j  [: `) u, U& p( H6 R
  1663. 7 P0 f, G1 {" J  W
  1664. ; overload(replace) single byte functions by mbstring functions.4 K9 J( r3 U9 \" l7 f
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),0 F7 ]  r0 ~5 Y+ e5 j% s) g1 }
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.$ G9 x5 L; i7 g7 ]0 ^0 ~$ w
  1667. ; For example, 7 for overload everything.
    ( r2 _6 }/ }) m! h  S. X& w; f+ X! A
  1668. ; 0: No overload( X" i* I+ ]  o2 J$ P# n
  1669. ; 1: Overload mail() function
    + u( Y6 d1 b  F' @7 Q4 x6 L) [2 `
  1670. ; 2: Overload str*() functions
    ' O0 T: q+ Q8 c) c& ?8 v
  1671. ; 4: Overload ereg*() functions) S9 V7 l  R- }6 d- Q+ h
  1672. ; http://php.net/mbstring.func-overload
    9 Z) Q: e+ [$ x9 ^  G' y
  1673. ;mbstring.func_overload = 0
    ) v1 L8 q$ l. k; b$ L
  1674. $ B. ~" }- ?% t; Z  G
  1675. ; enable strict encoding detection.
    % j! K7 F) n3 h% @: F
  1676. ; Default: Off  N8 s& F; P' G* _; m- S
  1677. ;mbstring.strict_detection = On
    , N/ E! p  T# g  X8 z, [  E

  1678. 9 t$ P  o$ B! A: i8 ]7 e
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()0 q0 W5 ^/ w+ \: |$ y
  1680. ; is activated.
    ( Y0 g% Z5 S( b5 q/ G/ ]4 U% N% B7 S
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml); J" V7 @. E3 B" x
  1682. ;mbstring.http_output_conv_mimetype=
    0 p1 U, V0 `5 S

  1683. & ]1 D8 [* x) O2 b( E! |, O
  1684. [gd]
    8 N: ?( @4 P# c, w# X2 z
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    ' v2 s7 J* l2 k  {2 X
  1686. ; a gd image. The warning will then be displayed as notices1 v& J9 b: g9 v
  1687. ; disabled by default
    . j$ \& F/ y/ B
  1688. ; http://php.net/gd.jpeg-ignore-warning+ H, E' \  E+ Y* m( }
  1689. ;gd.jpeg_ignore_warning = 0' C3 L- ?8 Z, [( K# q2 }) N; S

  1690. ; M/ L+ ~- X. o& O# x" w) G
  1691. [exif]
    6 K& ~* U# F! F7 }
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    ( a: s- z8 m& |# U- p
  1693. ; With mbstring support this will automatically be converted into the encoding# Y3 K" G: I" c0 d/ E4 T7 W
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    ; f9 x: Z7 U* Z4 }" \1 W
  1695. ; is used. For the decode settings you can distinguish between motorola and
    ! w: C3 z) k  z+ v% G
  1696. ; intel byte order. A decode setting cannot be empty.- G( t% `( [: T4 X
  1697. ; http://php.net/exif.encode-unicode
    ; ^& Q! v* L9 d; Y) b# N
  1698. ;exif.encode_unicode = ISO-8859-15
    + x# _9 _- J, q: J: r
  1699. * A/ `) U( W/ `" ^" ?" W+ w
  1700. ; http://php.net/exif.decode-unicode-motorola
    2 u# y0 G0 W8 n: Y' S9 z4 O
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    * x3 F6 a9 N/ d6 ]: Y

  1702. 3 ~+ n2 s' W4 Q- R; j, T: N
  1703. ; http://php.net/exif.decode-unicode-intel
    ' B5 z. o9 z7 s% z/ `+ Z9 K. J) f
  1704. ;exif.decode_unicode_intel    = UCS-2LE
      A' a' |3 m6 l
  1705. ' j' U. Z  p4 \8 y
  1706. ; http://php.net/exif.encode-jis$ [9 A, g- u+ K2 @0 I2 a1 A
  1707. ;exif.encode_jis =
    $ O3 u8 D6 e. Y" a3 y: S

  1708. 7 B9 U" h$ y, K- E0 ~7 i
  1709. ; http://php.net/exif.decode-jis-motorola+ A. o- r" y  V7 i
  1710. ;exif.decode_jis_motorola = JIS
      P7 C& x0 Z7 x2 t
  1711. 6 h: u' P) h3 E! O9 Y) ^
  1712. ; http://php.net/exif.decode-jis-intel
    2 K0 c- W; q' m# }* C. e: ?3 `
  1713. ;exif.decode_jis_intel    = JIS
    " Q: C: ]( p- f6 \  Q

  1714. 3 v4 I- s& ?$ t9 E- v
  1715. [Tidy]9 N+ I* D8 S7 j4 P, f$ t
  1716. ; The path to a default tidy configuration file to use when using tidy
    * V+ N, O/ E' ?
  1717. ; http://php.net/tidy.default-config
    , L- y" g( [6 ]! Q  h
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg9 D$ a) ?0 Q  `1 ?  _1 r2 _! W/ y
  1719. % F# o& e9 G: f
  1720. ; Should tidy clean and repair output automatically?5 {: P/ i9 ^; I; E( }
  1721. ; WARNING: Do not use this option if you are generating non-html content! ^1 c/ {1 A! q- k& }9 L
  1722. ; such as dynamic images
    ! e) ]) K9 C+ F) j, s- d5 R
  1723. ; http://php.net/tidy.clean-output
    2 M! J2 U6 Z" @
  1724. tidy.clean_output = Off; [5 Y' z$ Q! L0 I4 N

  1725. & a* O. a9 G" P3 i1 O$ L1 `5 Q( f; L
  1726. [soap]
    % @$ A' z9 u& k3 W
  1727. ; Enables or disables WSDL caching feature.
      y' {5 s2 p* S
  1728. ; http://php.net/soap.wsdl-cache-enabled. S  i1 p3 K8 K* [* w: \
  1729. soap.wsdl_cache_enabled=1
    6 e9 H9 e, c( a, K. t) u
  1730. . L  e5 B% l5 b+ E% b
  1731. ; Sets the directory name where SOAP extension will put cache files.
    . V* h0 u2 n* l- d) A8 t' z
  1732. ; http://php.net/soap.wsdl-cache-dir  m6 \/ P0 b( R& d  Z" X& S* a
  1733. soap.wsdl_cache_dir="/tmp"3 m+ `7 w* {* r. @) ]: `# V
  1734. / c( ^4 x% T0 k# m
  1735. ; (time to live) Sets the number of second while cached file will be used& E. v7 o- ]8 N" q) q
  1736. ; instead of original one.' M  C6 X  ^) O" b8 I
  1737. ; http://php.net/soap.wsdl-cache-ttl- t1 V4 b6 b  j/ l3 i2 }
  1738. soap.wsdl_cache_ttl=86400
    ! ]0 D# ?$ A( G
  1739. 8 d, L$ @1 N( v) T
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)) Z- ?2 w1 k6 M1 v; b7 l
  1741. soap.wsdl_cache_limit = 5
    # V  R4 E4 O6 z  g( f* N  d! b
  1742. " C% _; w, @* {+ s/ q
  1743. [sysvshm]0 u# a. |: m" |# ^# ?1 j# X
  1744. ; A default size of the shared memory segment
    . ^4 i7 T- T5 ]8 V  x$ g( q
  1745. ;sysvshm.init_mem = 10000, c7 v$ R. I3 ?* v5 M6 H- L

  1746. : W; Q- V2 C! U9 @5 _" g
  1747. [ldap]" p# B& X8 Z& P
  1748. ; Sets the maximum number of open links or -1 for unlimited.3 D4 ~- U, @9 D
  1749. ldap.max_links = -1
    , g4 w; m) E+ v% Y. t9 J
  1750. 5 O- V" Q# A6 m! S8 T7 y  C
  1751. [mcrypt]3 z5 u, {. o. w# e8 ]* \( E1 e4 |8 l
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    3 w! U7 I6 W9 I, t* c
  1753. ; k6 m; b  h) y* L- {
  1754. ; Directory where to load mcrypt algorithms
    ! |4 S7 @3 E3 A
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)( B4 U& n9 I; V9 P
  1756. ;mcrypt.algorithms_dir=
    , r2 O% n* f7 ^1 v7 O- _0 K
  1757. % s1 t3 L* b" h* m" L" {/ t3 n0 N
  1758. ; Directory where to load mcrypt modes
    5 S% |' P! c. q% d0 S
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    $ b3 e; q: w2 d" L
  1760. ;mcrypt.modes_dir=. \/ d# d* M8 o) H. H% z" W
  1761. " W7 |- a( r3 h* f' ?7 h3 a2 ?) g
  1762. [dba]2 T; u' \. a& }. l3 j; R
  1763. ;dba.default_handler=1 c: T- @* F( W: q

  1764. ! U" h: O; k' H" u& O; a7 q
  1765. [opcache]8 G5 S5 z0 r2 N7 B
  1766. ; Determines if Zend OPCache is enabled
    % p  ?3 y$ g! m
  1767. ;opcache.enable=0
    ) @. W& M, U$ g, `
  1768. " Q' F  O. P( |8 Z
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP$ G" T& `1 |0 R% T, Y0 p# a
  1770. ;opcache.enable_cli=0% u6 U, i' A4 l: [# i1 y1 x
  1771. ' H/ [  o5 Q3 A! n1 y7 ]" r
  1772. ; The OPcache shared memory storage size.0 |5 ^) i) ~4 d4 w0 k, x. _) `
  1773. ;opcache.memory_consumption=64, B) J3 ^% ]% E

  1774. + U" k5 \+ b  [4 k9 s2 {* ]) K
  1775. ; The amount of memory for interned strings in Mbytes.9 m  t  E( ^* C. j% k0 Y
  1776. ;opcache.interned_strings_buffer=4, o: m2 v3 z) k' i* A. y

  1777. $ `( l! ]8 l+ z  u8 W8 ~  O! B" o
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.5 M7 A7 ^+ v& F5 n6 Y, n2 p) V+ e
  1779. ; Only numbers between 200 and 1000000 are allowed., f' b+ l8 e$ D+ b9 m. K2 J: Z
  1780. ;opcache.max_accelerated_files=2000
    3 _9 O. O$ C) W2 G

  1781. % H6 K  S- J3 V8 p* R; [* P
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    " g  u# r2 N! k5 B) c3 l; w
  1783. ;opcache.max_wasted_percentage=57 c) {  \  ]0 O0 j- U5 K

  1784. . a, t" K+ n% {
  1785. ; When this directive is enabled, the OPcache appends the current working2 ~  C' m0 N' ~2 z& F+ B( K4 }
  1786. ; directory to the script key, thus eliminating possible collisions between
    ! x: V6 c9 p; ~' L( b
  1787. ; files with the same name (basename). Disabling the directive improves6 p  Q4 J) a! S, K
  1788. ; performance, but may break existing applications.* b* q- T+ c8 z$ J
  1789. ;opcache.use_cwd=1: ]8 s3 i8 Y  S$ r
  1790. ' k/ q" C! J0 f2 `
  1791. ; When disabled, you must reset the OPcache manually or restart the
    + e. y3 x) E) P2 Y
  1792. ; webserver for changes to the filesystem to take effect.
    % j  N! J. @( F
  1793. ;opcache.validate_timestamps=1
    2 R' W( o* F) Y/ g) ~0 Z

  1794. 6 N1 |  c" f3 S9 v
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    " `8 |  F& v% z
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    0 H! ?) [/ {3 y* f, o
  1797. ; once per request. "0" means always validate)
    ( ~0 R6 C6 E! G. K; g( L& O( d
  1798. ;opcache.revalidate_freq=2
    7 `) s3 T  D7 |) |- B! s+ T

  1799. 9 `5 |8 j1 n6 G5 ?6 M3 M
  1800. ; Enables or disables file search in include_path optimization! P+ {& r% l# G1 s0 K" t6 B
  1801. ;opcache.revalidate_path=0
    : X' s$ Q5 a! ]+ @' R) L& p& q

  1802. 1 ~9 V# Q$ z: ?9 z3 P" @
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    6 {: a2 l$ E% R5 W7 i* o
  1804. ; size of the optimized code.
    6 J) G2 u5 H5 c7 Z
  1805. ;opcache.save_comments=1
    # d$ k8 B. J5 a9 h

  1806. 2 ]  D/ J$ Z7 T. S  b
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    ; A) A7 b1 N3 U3 S3 }
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.# {( H: f1 \5 k8 F0 ]
  1809. ;opcache.fast_shutdown=0
    ( K4 `% X5 @% i4 x* F) \- J
  1810. 4 t; L* O) I, Y6 Y
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    5 S3 V4 l) g# R- W/ a5 j/ O
  1812. ;opcache.enable_file_override=07 \* w. `( n: p

  1813. 3 m- A3 H( Y6 H
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    9 M) B/ r/ f( g! [$ |
  1815. ; passes
    . n3 l/ w2 Z8 {* x7 O. ~+ g( U* m
  1816. ;opcache.optimization_level=0xffffffff% M' G$ V5 I/ L. X
  1817. 3 q8 I4 l" H5 z; J
  1818. ;opcache.inherited_hack=1
    ) C* Q7 w# [3 q# ^
  1819. ;opcache.dups_fix=0
    3 e) w3 @7 O% {; F

  1820.   c3 D& v+ b* X* B
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    , q4 b8 Y- t0 A! q( u. [
  1822. ; Each OPcache blacklist file is a text file that holds the names of files3 H  z: p. z1 P4 U. d
  1823. ; that should not be accelerated. The file format is to add each filename
    " _" l5 F7 j8 q2 s  x% `
  1824. ; to a new line. The filename may be a full path or just a file prefix' P* t5 Y: F0 o
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www; g: t$ v1 n1 J5 |' S
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).7 _* y& `$ |1 @+ p/ w5 C9 i8 O( J
  1827. ;opcache.blacklist_filename=
    3 {8 `5 ]* C/ |: u, _

  1828. - f# X% A+ p! Z' w) D, \% F- O  J
  1829. ; Allows exclusion of large files from being cached. By default all files6 l2 B5 {5 F: W/ A0 Z
  1830. ; are cached.$ R8 u; ]$ ^' h/ O% [: P3 F* E
  1831. ;opcache.max_file_size=04 J% B" X* C7 \! I9 s
  1832. , N2 w- k# [, k" Y" _# H
  1833. ; Check the cache checksum each N requests.9 Z% u8 D) \# G% E4 H
  1834. ; The default value of "0" means that the checks are disabled.
    . y" i; s/ ^2 ]% V& Z9 F' a8 K
  1835. ;opcache.consistency_checks=0! W% F# D$ m7 ^8 ?( |

  1836. ) z" b. q0 v, U- k8 _% j( Z/ x
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache/ G  A6 x/ X/ h+ {1 z+ r$ P% Z6 J/ G  Z
  1838. ; is not being accessed.
    2 u# x, F0 f4 \8 s# {  q# [
  1839. ;opcache.force_restart_timeout=180
    - e" W& Y5 r3 m, e! H: C
  1840. $ n; t4 P% ]' C% {. K, [( H
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    ( {" @6 M, m7 t  M. J: q9 F
  1842. ;opcache.error_log=
    ; Q+ j" s/ z' N( ]0 X& o- p, \

  1843. - @; f9 k: _9 b1 \
  1844. ; All OPcache errors go to the Web server log.
    2 y& r, X. P) a# c6 Y
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    . e6 z0 u- D' m. u" J- f2 ]$ m. u' s
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    8 I- H! p. B4 m$ C+ F. s( x
  1847. ; debug messages (level 4).
    2 b+ |. w- G3 t- `( b0 g
  1848. ;opcache.log_verbosity_level=14 m9 L9 T( Y5 B: Z" S
  1849. 1 ]- j! i; }/ X9 k) o* X( o9 c
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    $ {7 `- f; V5 {4 i+ s
  1851. ;opcache.preferred_memory_model=+ w: m& O5 d1 M. \( n  p
  1852. 7 k, D( M3 \9 D0 J1 q2 B  v
  1853. ; Protect the shared memory from unexpected writing during script execution.
    $ X5 p4 \2 s, R, H- s5 Y: {7 _5 K: m" |
  1854. ; Useful for internal debugging only.+ {: O- ]! L4 n. X
  1855. ;opcache.protect_memory=0/ r! X  l. t/ i# k# {& M

  1856. * g, W4 T: c1 |
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    : ^4 y! u. a  i
  1858. ; started from specified string. The default "" means no restriction$ [+ Q& W! `1 Y8 s5 k4 s2 d
  1859. ;opcache.restrict_api=
    % w2 d9 Z7 p5 T% Z, @

  1860. 5 ~3 f7 Y: S0 d0 X" P
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    : Z$ K. r4 h. e$ |
  1862. ; processes have to map shared memory into the same address space. This
    6 Q/ V& T8 {4 i3 A, P; N+ q# h
  1863. ; directive allows to manually fix the "Unable to reattach to base address"/ D5 C: O  k2 O( o5 u; Z' n
  1864. ; errors.
    0 j' V2 Q/ z( ~& |* ]
  1865. ;opcache.mmap_base=
    * Y' v0 x  I3 u% U7 N0 E" T3 d8 `# h
  1866. 0 }4 B3 P2 S: o
  1867. ; Enables and sets the second level cache directory.2 p; V9 t, H5 T
  1868. ; It should improve performance when SHM memory is full, at server restart or) l5 [" e. a  Q. _- z7 U# w& t
  1869. ; SHM reset. The default "" disables file based caching., _0 o/ C) g# W' ?: f
  1870. ;opcache.file_cache=
    : L* q! y2 w! a" X# j( b

  1871. ' b" b7 @7 w0 y) P+ d
  1872. ; Enables or disables opcode caching in shared memory.0 A& P* f( k0 k9 |
  1873. ;opcache.file_cache_only=0
    $ B+ L+ g$ n" Y3 J, f
  1874. # P) C, ~" X; M3 M" |" f, b  C3 ^
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    8 i0 _, N& ^: B
  1876. ;opcache.file_cache_consistency_checks=16 j3 ~; {* v3 r0 `

  1877. 1 A0 _9 e- I% T5 o0 ]! I. c( q8 G  ^
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    9 o& J. G8 g& K
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file$ ]4 s! R3 [. a+ j; U9 O& v
  1880. ; cache is required.
    " s! _7 U4 r0 W; y. W8 p
  1881. ;opcache.file_cache_fallback=1- i- M  {" o8 X- p+ Y

  1882. " w  }$ C" t3 O  W/ S; o
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    7 ^9 T- v4 E6 f1 h/ [
  1884. ; This should improve performance, but requires appropriate OS configuration.* Y# x2 N* R6 ?3 X- A
  1885. ;opcache.huge_code_pages=1) y$ l  `/ Z( ?+ n2 W

  1886. 0 ^3 V. y/ }& e2 P8 l. U; M
  1887. ; Validate cached file permissions.
    ) J* o* h8 m( n  W; p0 z/ \4 h' Y3 C
  1888. ; opcache.validate_permission=01 `3 H- t# z; \$ P
  1889. 4 P4 o) F& S& `5 z7 x/ G5 ^8 Z
  1890. ; Prevent name collisions in chroot'ed environment., N$ E' @: W, @2 h5 Y6 B& H: x
  1891. ; opcache.validate_root=0
    4 `' j  |3 i7 W$ @

  1892. 8 k. q8 h  \( X1 y* {! n1 e
  1893. [curl]
    ( m, O9 w0 d5 k% a
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    8 `7 O/ |! t9 E  f5 `& f
  1895. ; absolute path.7 ?1 x2 b! n. E- F) Y* V& e
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt* g3 }$ U% G. [- T4 ^7 ]  o

  1897. ' I- u" V# I$ e. F0 w  V9 t
  1898. [openssl]! p" d( F3 m- ^. o: ]% a  _+ Q
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    ' Y8 M1 `4 I9 P
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    & ^, d9 N. G  P8 l6 p0 d* [
  1901. ; not specify a value for this directive as PHP will attempt to use the9 j5 o5 F. K8 F# W- B. i( _
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    : B( n& N" n. o9 O2 e, _$ U1 Z2 P
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    # L, B7 [$ S+ E. @0 O% `
  1904. ; option.
    4 F( q% `* h) ]& k6 d
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt' K) H; b7 M0 X. \! f
  1906. $ |& Q1 w/ J: h8 S
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    & Z7 X9 t" O( z  V, o$ P
  1908. ; directory pointed to by openssl.capath is searched for a suitable! ]/ E1 o7 r& }% E
  1909. ; certificate. This value must be a correctly hashed certificate directory.0 D5 V$ y/ ]8 O; M# r$ ^
  1910. ; Most users should not specify a value for this directive as PHP will
    5 g5 t# j; R$ U0 i) P( H
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    5 V$ j' j  f0 e5 A: s1 n
  1912. ; this value may still be overridden on a per-stream basis via the "capath"+ q! M6 q6 W+ |7 B* q
  1913. ; SSL stream context option.
    ( M) Y$ J! q+ I
  1914. ;openssl.capath=0 i6 W! Y1 [. {* w, b

  1915. / z  T1 K, H, y! l( M5 b0 o
  1916. ; Local Variables:
    ; K5 N1 [$ _& G; g7 S
  1917. ; tab-width: 45 O9 Q5 o; r* c7 w+ J6 a( T3 h
  1918. ; End:
    , N: V( S  W) c% Y, U

  1919. ' l: Z  x: S6 P, ?' t% Q1 g
  1920. ;eaccelerator
    # ~3 Z5 ~% z  R; {& }
  1921. / k$ j  j& B5 Q3 K* u: f
  1922. ;ionCube
    , C8 L# W. _0 w0 Q
  1923. " R3 X6 y& ]& L  ^; G
  1924. ;opcache& q1 N) Z* x5 ]) ^. W( G* n

  1925. 8 l& g* Y$ {& C+ g* [
  1926. [Zend ZendGuard Loader]2 v" r! ^; R( e3 B; E
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    # h0 d& B8 w2 A3 f3 M0 I
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    / \( [; T  S0 T" q0 g4 Q
  1929. ;zend_loader.enable=1
    0 R/ ]- v5 \+ c! f$ \8 }3 t" h" p; O
  1930. ;zend_loader.disable_licensing=0
    # g2 M+ G- p3 `1 ?
  1931. ;zend_loader.obfuscation_level_support=3
    1 C, N5 e, y# c6 Y- Z
  1932. ;zend_loader.license_path=
    - ]6 R( y: l: H- o) {* a

  1933. % d/ Y, |& n0 n% f4 }5 z1 j* a
  1934. ;xcache
    * k) ^0 n& B2 P, o+ d

  1935. + J& W% z- ?" @1 T  `
复制代码
2 n% }. D5 a  e9 p# J

& P* s; x. G* |/ G- P6 A1 ?
- \1 ^- Q! _* T# j+ u% b
' I8 }2 _& `3 @! P: J! b
' i' r1 N/ @) W9 ~$ e# Z6 K  H9 C( h/ G# B$ [8 y/ D) N

1 {4 ?& w. O) P5 `PHP5.6版本原始设置
  c4 g, f; x1 a2 b8 K6 b! T  D. z* x* m: E- p* s
  1. [PHP]9 K5 [! s% D( T# b8 U+ v

  2. ( Z# m; n' D2 e" W! l' Q- N
  3. ;;;;;;;;;;;;;;;;;;;' Q& j; r" H* M2 }5 f
  4. ; About php.ini   ;
    , c# r7 V1 Z' P! }0 \
  5. ;;;;;;;;;;;;;;;;;;;
    . V1 X% n; J; Y+ h
  6. ; PHP's initialization file, generally called php.ini, is responsible for6 D" W' {% ?7 B# s, b+ U! {9 [7 u1 h
  7. ; configuring many of the aspects of PHP's behavior.+ @7 V1 }  I5 Q
  8. . n9 D2 e# b# e0 k/ {: C
  9. ; PHP attempts to find and load this configuration from a number of locations.3 v+ o" c& E! Z$ |- M
  10. ; The following is a summary of its search order:
    9 T' {8 h1 |% ?8 n
  11. ; 1. SAPI module specific location.; {' ^8 K, D- p" m7 I  t4 k1 f
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)$ C. q- b) q8 r
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    ; W) r! t5 R# h* h. W' `
  14. ; 4. Current working directory (except CLI)+ l4 g  o( Q0 v. T2 W
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP& |5 ~5 F2 o3 q! l
  16. ; (otherwise in Windows)" y8 ]4 k. s0 D7 V* m# d- a
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    & H& L+ g2 L! J6 |2 Q* O; y9 k
  18. ; Windows directory (C:\windows or C:\winnt)* d2 }  G- a1 W, L  [
  19. ; See the PHP docs for more specific information.) T' j1 Y6 f& F; B/ Z' p0 P6 i! ^
  20. ; http://php.net/configuration.file6 {( G8 j) C! X  q- m

  21. 1 Q3 u7 o  B  }3 Q
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    ' Y: _# R9 ?! C/ l$ ?  X& \
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).% {* o. |  J. @+ b
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    / N0 x3 |; ?' k5 G: O8 |8 Q3 m. O
  25. ; they might mean something in the future.7 j. U$ V+ P7 E, e& z

  26. 9 M1 p0 X7 |, p) o3 k) E% w# c7 k
  27. ; Directives following the section heading [PATH=/www/mysite] only
    ! J' C, N3 @: P2 q4 o
  28. ; apply to PHP files in the /www/mysite directory.  Directives  O* ?/ Y) x% Q2 r
  29. ; following the section heading [HOST=www.example.com] only apply to+ N% m( J) T8 e8 n+ p% W( B/ x$ O
  30. ; PHP files served from www.example.com.  Directives set in these
    6 x* F' ^# T5 a% R. ?
  31. ; special sections cannot be overridden by user-defined INI files or; s/ y% I/ k; J' p3 Y! h" P& w
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under7 w: t0 U6 ~- C6 I2 ]8 ^1 M$ a
  33. ; CGI/FastCGI.' l. W7 z% H( Q1 t: O+ H; [
  34. ; http://php.net/ini.sections$ ]5 k# V- j+ k6 y

  35. 0 ?! J, V5 I- A
  36. ; Directives are specified using the following syntax:. H* U' C  h/ x% @: K7 z* [, X
  37. ; directive = value
    ) S' ?: M. N, u8 y% [+ D
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    & b$ D1 a1 Z' A* W
  39. ; Directives are variables used to configure PHP or PHP extensions.
    7 P. X# X/ c: \, G: i
  40. ; There is no name validation.  If PHP can't find an expected
    ; y1 G6 n4 N# l% t" q
  41. ; directive because it is not set or is mistyped, a default value will be used.
    # r/ q' p" \9 t+ N6 V9 [
  42. 0 z3 ~. X% M9 i) N. \2 S4 o& _. V
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one: A( b: P( m. C. R( a0 c  n
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression5 a; O# n& J. }+ N4 P4 a
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    9 U9 p' _3 ^' Q8 ]. o, N) Z
  46. ; previously set variable or directive (e.g. ${foo}), X. a( T  L" L7 W1 d
  47. , u+ y# }+ L5 F  ?% I0 N6 C
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    6 k6 L" ^9 |  F" B, z, w
  49. ; |  bitwise OR
    ( G$ j4 O; a8 J5 K3 y) i
  50. ; ^  bitwise XOR
    # q6 u2 Y1 L2 [* i' J' u' X8 J
  51. ; &  bitwise AND9 w9 P- I& W! E: J, H
  52. ; ~  bitwise NOT0 ^* {! o; \7 N. J5 h9 c4 W
  53. ; !  boolean NOT6 G! A! T0 c" Y. h! `8 f$ X
  54. " `. c; M" z7 S: N/ \/ R- b
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.& m! B4 _% V! S- W+ E# q
  56. ; They can be turned off using the values 0, Off, False or No.
    ( N. U, r' L" p- l
  57. # d0 g7 ]5 c( G) n) c: ?& `
  58. ; An empty string can be denoted by simply not writing anything after the equal$ g3 p2 b, E8 R7 t
  59. ; sign, or by using the None keyword:
    4 u* M( v# z2 @) Z2 s1 n
  60. 5 W2 @* I& u* a
  61. ;  foo =         ; sets foo to an empty string
    : v! P1 ^# Y- Q4 m1 A* ]# S9 a# {( R
  62. ;  foo = None    ; sets foo to an empty string6 i* E( X" r0 L/ A& r/ M: |4 H( I
  63. ;  foo = "None"  ; sets foo to the string 'None'  d( M; L; H& P9 u9 u7 A6 t* j
  64. 2 |( T1 p/ P0 ~6 R. U
  65. ; If you use constants in your value, and these constants belong to a
    ; H; ~" k" m! e- d6 x
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    5 n! m& [: T$ ~1 c4 E% s& U+ @
  67. ; you may only use these constants *after* the line that loads the extension.
    + U  S4 k+ |2 C" C9 w

  68. 8 l" I- F2 p/ h
  69. ;;;;;;;;;;;;;;;;;;;
    9 m. i9 ~# A( |# E/ Z4 e
  70. ; About this file ;
    ( H  b: Q# ?7 w) K
  71. ;;;;;;;;;;;;;;;;;;;$ D4 S; K; e" {8 E4 ^, ?
  72. ; PHP comes packaged with two INI files. One that is recommended to be used* K( @7 T4 D1 [$ o. s( k, z6 T' G) S6 F
  73. ; in production environments and one that is recommended to be used in) v# H& l8 h" ^. \/ _
  74. ; development environments.0 C& r6 d* M0 b' f

  75. 7 G! l& S' b/ _% l/ [9 \- x3 o6 e
  76. ; php.ini-production contains settings which hold security, performance and9 w7 a, s, J' u. n% D
  77. ; best practices at its core. But please be aware, these settings may break% [. l% o( a2 z0 i
  78. ; compatibility with older or less security conscience applications. We! p2 h; {( F1 O; Z. n$ d7 L& f0 W
  79. ; recommending using the production ini in production and testing environments.
    5 V9 E5 r3 s1 |  x

  80. ( u1 U9 W2 v% z8 |# z
  81. ; php.ini-development is very similar to its production variant, except it is  f1 G( ~: o  e( J
  82. ; much more verbose when it comes to errors. We recommend using the9 m8 N, H7 R, x7 K: n4 z) c
  83. ; development version only in development environments, as errors shown to* s9 \1 A4 C  }/ _, q$ o) K8 p
  84. ; application users can inadvertently leak otherwise secure information.( k; B. v% n2 p* D  R- q' ^
  85. # G* ?) r% }+ x
  86. ; This is php.ini-production INI file.5 Y; O) v* i5 P0 ^% n8 g2 f4 r

  87. ! a% j5 ]. t- g1 w) b% |  x! `# _
  88. ;;;;;;;;;;;;;;;;;;;
    ' R) G4 y3 d; ^% Q) C9 k
  89. ; Quick Reference ;
    ' ?$ T( `" ?% J. X! ]
  90. ;;;;;;;;;;;;;;;;;;;$ N/ W& {- _% o, }- p8 v0 }/ s
  91. ; The following are all the settings which are different in either the production
    / |2 J/ i: q+ c) `) v; ?& E
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    9 ?! p* ], u0 _4 K& D$ R
  93. ; Please see the actual settings later in the document for more details as to why  o7 Z2 E- g$ M
  94. ; we recommend these changes in PHP's behavior.
    + Q# N! z3 X$ h5 d& ~
  95. * t6 E0 e! N! P9 L5 `) v
  96. ; display_errors
    - `2 Q/ y% T9 l% L4 T7 e8 ?7 E
  97. ;   Default Value: On
    / V( }3 N1 P$ r$ @* a9 b0 V
  98. ;   Development Value: On
    1 A: K. j5 \7 d0 j  C0 L
  99. ;   Production Value: Off7 b1 r$ ?0 P) `, s0 y

  100. ; y) n: X5 z- k/ w' j
  101. ; display_startup_errors
    5 j* H+ z. |* i  [8 q
  102. ;   Default Value: Off( u7 d6 W+ W2 x3 x9 Z
  103. ;   Development Value: On
    % t, |8 C. L. o- y5 k
  104. ;   Production Value: Off% \& r  Z9 E# b

  105.   C+ W% G3 r& H$ k# a
  106. ; error_reporting
    + F0 {* u7 p, [; N" o- t6 x$ [
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED2 X1 _3 ]0 }2 i# D
  108. ;   Development Value: E_ALL% c" A5 w8 j" W" o- D8 R
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    6 A' p! X  @8 Q3 [0 S
  110. 6 t  A; z( z/ J* v7 r# m
  111. ; html_errors2 h+ ^4 F* m2 b& _1 R1 {9 n. }
  112. ;   Default Value: On
    4 O! [3 H! @8 M/ C
  113. ;   Development Value: On) c% u8 @* u, p8 S. M9 `
  114. ;   Production value: On5 s8 b9 e6 M# W( L/ U& ~* J! G" ~

  115. $ }; W# D& A! T8 c4 @# b
  116. ; log_errors
    * H, E' j5 K- U& x& K2 x
  117. ;   Default Value: Off, d0 i, p  N3 m; I" E
  118. ;   Development Value: On
    2 H; l/ o$ [/ @9 z! }$ S3 W
  119. ;   Production Value: On# M' ?8 o& j5 q: a
  120. 1 ~1 n. p* w( w* T
  121. ; max_input_time
    ( o( W2 d6 ~# g1 M
  122. ;   Default Value: -1 (Unlimited)
    4 ~6 x$ i6 |+ k2 z
  123. ;   Development Value: 60 (60 seconds)- Y) J" f( w$ U4 \) p0 A; |3 o9 M8 f
  124. ;   Production Value: 60 (60 seconds)5 X. x+ ]& R5 j* I# f# ^5 v
  125. 0 x' R3 w/ Z! I) D7 R& g1 U1 n
  126. ; output_buffering/ u7 j# q1 S& v$ r+ F
  127. ;   Default Value: Off5 s7 F- F. Y$ ]
  128. ;   Development Value: 4096
    : p1 w/ r2 i9 I- [0 I" G
  129. ;   Production Value: 4096
    " m9 r- l- Q/ k( ~: W4 j1 b0 }' c

  130. 7 g, \1 Z4 U* R8 `5 L# R% O
  131. ; register_argc_argv, ?$ _  H) e5 C6 p8 Z. C
  132. ;   Default Value: On3 j6 k7 F( A5 y1 X+ P2 k
  133. ;   Development Value: Off/ V& U& u1 s% Y" W
  134. ;   Production Value: Off$ e: a. Z2 ^+ m$ e$ e
  135. % t: @7 d) a4 k3 o- F
  136. ; request_order
    # u( F8 V% o- C8 x, _) e7 S
  137. ;   Default Value: None. L+ l+ {- F3 u. K5 n. ]
  138. ;   Development Value: "GP"
    8 R. Q5 ~9 U0 ?9 G. @" @) L
  139. ;   Production Value: "GP"
    # H! J( _3 [/ w$ A8 r* e
  140. 1 |0 R! T! q4 e0 y% [
  141. ; session.gc_divisor* z5 }' P$ b3 H% h3 f% i( n  @$ ?
  142. ;   Default Value: 1006 h- q1 n9 Z* m; O
  143. ;   Development Value: 1000, r( D5 C* w. f) w7 ]+ D; [+ `' [& V
  144. ;   Production Value: 10009 E( x5 T4 }& B+ s! J( E( z! P

  145. + V7 ^% y2 P- s; o; {) H1 Z
  146. ; session.hash_bits_per_character8 x( M& @* N6 `9 a  \/ Q1 ^' n8 I
  147. ;   Default Value: 4% ?/ I, ]# @1 V. r  z8 M8 s
  148. ;   Development Value: 58 g4 E5 c5 g8 m5 R, O, E- y) X3 t7 R
  149. ;   Production Value: 55 M6 }1 p6 l  l; ], d2 X4 U

  150. . l, w, n) }1 A; u' f0 d
  151. ; short_open_tag6 ~: r0 x3 G5 L7 m7 v
  152. ;   Default Value: On! c& u. p) T9 ~4 A4 u, y6 U
  153. ;   Development Value: Off* ]2 n7 q% A& [+ |5 f
  154. ;   Production Value: Off
    6 D* H) p8 b* E9 U

  155. 3 \! `* q  h# @
  156. ; track_errors
    ' s  H% s  X! d& T3 g  W) t
  157. ;   Default Value: Off1 }6 G; `8 V2 G) P) D0 h9 u4 `% g
  158. ;   Development Value: On
    1 t5 ?( E" y  Q; d
  159. ;   Production Value: Off7 Q3 z6 v- e6 ]( B& D7 I* B6 F
  160. 0 i" c! {6 k1 h( B0 p
  161. ; url_rewriter.tags
    ( e2 }) M7 _* g/ S  Z# x% Q. c. Z
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="3 w; W# r# m. [
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    , X& ~' ]) L# w) Y5 {8 X; N, E* V! R) L
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"6 L! s- O5 m: i" C) J

  165. # ~  d' b* N/ Y  x' {
  166. ; variables_order
    $ k" I+ C# j/ x+ a
  167. ;   Default Value: "EGPCS"! u6 ^- ]% j' z5 D! x$ Z7 A
  168. ;   Development Value: "GPCS"* H9 S& m* ?" V6 ^
  169. ;   Production Value: "GPCS"
    1 e2 a0 }  ?& z& D, V' Y

  170. ) O9 K: D1 s. C+ ?7 s. j; \+ E
  171. ;;;;;;;;;;;;;;;;;;;;- f( \0 Z- C2 c6 I7 A
  172. ; php.ini Options  ;: n# E# N! n5 u2 d) S# G# Y
  173. ;;;;;;;;;;;;;;;;;;;;
    4 W# O" ^. n3 A' m1 c+ n
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"6 r' ]/ s! |$ V; P
  175. ;user_ini.filename = ".user.ini"1 e" }) \' B* g4 }( M/ J
  176. $ u2 k9 A* X  w* Q' d3 \
  177. ; To disable this feature set this option to empty value. l- h% ^# ]$ Z# Z
  178. ;user_ini.filename =
    8 Q) }% s0 e- u

  179. - ^) _: C' D1 n8 F$ C- [. u. p
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)5 I6 u0 N6 D0 _: d2 U
  181. ;user_ini.cache_ttl = 300
    2 e# A9 I' a3 V

  182. & L% T% P" d" [# D) j" Y6 Z4 U) F; A
  183. ;;;;;;;;;;;;;;;;;;;;
    . Q+ H) U2 t/ z4 [. k% x
  184. ; Language Options ;( g$ U; ~- f7 k& K) {, @
  185. ;;;;;;;;;;;;;;;;;;;;$ Q, _3 E5 E  Y

  186. $ e; z9 i; P! A- G0 Y
  187. ; Enable the PHP scripting language engine under Apache.
    . x6 U4 [4 X% w( Z0 p& L
  188. ; http://php.net/engine
    " |3 ~5 d. q9 a& Q
  189. engine = On
    5 k- O) L. C; R7 r) H9 z

  190. - ^! B5 [# r5 L* c- E9 W
  191. ; This directive determines whether or not PHP will recognize code between
    ! @9 ^" y1 G, S; o4 C' J' Q- Z" p
  192. ; <? and ?> tags as PHP source which should be processed as such. It is1 s. b6 P) z+ _  @/ V4 U
  193. ; generally recommended that <?php and ?> should be used and that this feature
    & z  E* b! w9 o  D
  194. ; should be disabled, as enabling it may result in issues when generating XML
    # {( F' D" C; a# ^# Z+ r
  195. ; documents, however this remains supported for backward compatibility reasons.
    6 z+ ?$ i- _* V9 n' Q
  196. ; Note that this directive does not control the <?= shorthand tag, which can be1 ~+ H4 T. _  C/ }( p
  197. ; used regardless of this directive.5 {9 D$ O$ m% x& ?" G. F
  198. ; Default Value: On
    & U; h. l* O/ w2 t
  199. ; Development Value: Off! A5 I' ]' F. ^+ D
  200. ; Production Value: Off
      f( m) j) Y; K, x5 V% J
  201. ; http://php.net/short-open-tag
    2 u; f" X6 |7 x$ d! A
  202. short_open_tag = On$ k) {% B3 T2 m5 p2 O. L
  203. ; E# L3 n/ n1 _. i
  204. ; Allow ASP-style <% %> tags.7 G( U( ~9 C- s
  205. ; http://php.net/asp-tags
    0 k4 I% ?% W) @3 ]; y/ Z
  206. asp_tags = Off
    6 P' r8 w# Y" i: w  B$ |8 q6 Z

  207. 3 m: N( @8 l; m7 \1 D4 A
  208. ; The number of significant digits displayed in floating point numbers.
    6 @! F4 I. X5 t
  209. ; http://php.net/precision' p3 {& w! q( ~8 Y, Y$ q
  210. precision = 14
    ( D( N! ?$ |1 ~
  211. 9 b5 ~- z! L2 z" e" u
  212. ; Output buffering is a mechanism for controlling how much output data
    ' m6 J7 L. V- B5 l9 x5 @! w( N1 ~
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    - f/ [7 e( A! d- }3 G8 V
  214. ; data to the client. If your application's output exceeds this setting, PHP
    8 k: {6 M' _/ w8 q: R
  215. ; will send that data in chunks of roughly the size you specify.
    2 m' B5 t* D: Y/ P
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    ; b( ?) G; u+ k  n5 T
  217. ; interesting side-effects depending on your application and web server.
    & y9 a  N, b. V# w/ f  d0 `% Y8 v
  218. ; You may be able to send headers and cookies after you've already sent output. |4 s7 ~- c, v* n+ m. h/ u8 s" `
  219. ; through print or echo. You also may see performance benefits if your server is1 a- c& }' ]* o; @4 c
  220. ; emitting less packets due to buffered output versus PHP streaming the output; b6 K; Y. V  K& d1 F! o, Y1 A
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance* r/ d! }' o# ^
  222. ; reasons.; D. Y. d) Q" o$ V
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    5 S. D: j5 s) I$ L. `8 g$ x
  224. ;   functions.
    & s: z+ q! U4 `  `! b- e: b
  225. ; Possible Values:
    # g5 f6 Q* ^6 O
  226. ;   On = Enabled and buffer is unlimited. (Use with caution), U3 [0 Y3 v- s# X" Y6 L
  227. ;   Off = Disabled
    ; h$ I: }; z" j, E! f
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    : f2 {, {( {9 e* Q' c4 Z0 K
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    3 e3 y7 G3 R( W) G  a9 I
  230. ; Default Value: Off
    + l- [) N  a4 {3 ]2 X7 w$ Z
  231. ; Development Value: 4096
    / m8 c1 C! g/ w* y4 @0 r. G& K
  232. ; Production Value: 4096
    6 G' b, ^# U6 e/ Z. y* D
  233. ; http://php.net/output-buffering8 d4 v8 {9 I8 a3 c
  234. output_buffering = 4096
    * `+ S- X! p/ C& |' M- z

  235. & ?6 d7 v9 a6 _$ i0 r* @4 |
  236. ; You can redirect all of the output of your scripts to a function.  For, m: v  f4 t7 g  E
  237. ; example, if you set output_handler to "mb_output_handler", character
    7 r; m* l! d; Y
  238. ; encoding will be transparently converted to the specified encoding.; @1 C, z. P5 P* R( O- s
  239. ; Setting any output handler automatically turns on output buffering.+ {+ a- @: l, X2 p! t
  240. ; Note: People who wrote portable scripts should not depend on this ini1 M0 W& u* t  }6 R/ @
  241. ;   directive. Instead, explicitly set the output handler using ob_start().& P9 j0 k1 q  c9 `) ~8 v% }2 ~8 [
  242. ;   Using this ini directive may cause problems unless you know what script
    9 l: [/ J' F, J  t3 ~
  243. ;   is doing.' l1 s2 k+ T1 \, Y9 n4 z0 }
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"/ ^7 ^  U; `4 }' X! |
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    2 }7 h4 g* B3 p* }: ~* A6 \# I
  246. ; Note: output_handler must be empty if this is set 'On' !!!!' E3 {9 c4 L; u5 z
  247. ;   Instead you must use zlib.output_handler.: h. I: h% @  d5 H$ G
  248. ; http://php.net/output-handler' ~0 ?0 g2 A; L$ l
  249. ;output_handler =. O8 Q5 |( S% c% Y& r3 N0 M' e7 T

  250. 5 ]6 U" I, V; l: x: x
  251. ; Transparent output compression using the zlib library* a9 m, W/ w. U& a
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size$ ?. U2 M+ S4 I+ f7 I
  253. ; to be used for compression (default is 4KB)
    & P7 E$ \( x0 r1 j
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    5 v& w, ^7 _' V& ?' ~/ B2 \( e9 Q
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    9 d# a. F1 w* @
  256. ;   compression. If you prefer a larger chunk size for better1 P/ q# Z' x. I& O+ J1 k" J
  257. ;   performance, enable output_buffering in addition.# `. l. Q. x- H  `2 \1 G! C/ a
  258. ; Note: You need to use zlib.output_handler instead of the standard
    0 d, P$ P9 R7 `# T
  259. ;   output_handler, or otherwise the output will be corrupted.6 g$ H; X4 q0 y: p  u6 Y1 j
  260. ; http://php.net/zlib.output-compression. Y$ W: a" R( L# S$ @
  261. zlib.output_compression = Off
    8 `$ ~, [3 I+ n5 a/ W# w

  262. 0 V9 _! l* j+ v. @- m# w' ]
  263. ; http://php.net/zlib.output-compression-level
    - c; A" b8 r8 U1 p
  264. ;zlib.output_compression_level = -1$ K  O. ]! f, u/ ]3 D

  265. & r0 P7 u! d2 z( h3 J: E7 H0 j
  266. ; You cannot specify additional output handlers if zlib.output_compression
    ; n& _" a7 m6 j" c  M7 o( X
  267. ; is activated here. This setting does the same as output_handler but in
    # J" I2 h, W( v1 u
  268. ; a different order.
    6 [! ]) C6 U% C' d, ^( \
  269. ; http://php.net/zlib.output-handler
    . g3 ~% @% J- o' a
  270. ;zlib.output_handler =
    9 v# o+ }5 y4 @$ g* v
  271. ! G8 f, ~: q  ?7 ~# h5 i( K$ n, I
  272. ; Implicit flush tells PHP to tell the output layer to flush itself, o# }! a  _" g4 q; f+ L* M
  273. ; automatically after every output block.  This is equivalent to calling the( [0 z3 s8 P  d4 @. c
  274. ; PHP function flush() after each and every call to print() or echo() and each* o$ x! v9 w1 W1 ^/ p
  275. ; and every HTML block.  Turning this option on has serious performance
    * c! p( G' _+ I  c5 u2 F+ w0 |0 W9 Y
  276. ; implications and is generally recommended for debugging purposes only.) y* g3 k0 A& E* ~5 T
  277. ; http://php.net/implicit-flush
    . m5 w6 I0 _' b) y
  278. ; Note: This directive is hardcoded to On for the CLI SAPI) v  N* h9 N6 K' A- v- q4 q# ~
  279. implicit_flush = Off
    $ M. A6 Y9 {: X3 u4 b5 n

  280. ( d, m4 X/ D% T
  281. ; The unserialize callback function will be called (with the undefined class'
    7 S+ D1 i: D; U) ]* i8 u- a
  282. ; name as parameter), if the unserializer finds an undefined class0 j0 x7 W( ~! y: A
  283. ; which should be instantiated. A warning appears if the specified function is9 I9 Z. j! O: n) Y& S- c7 R
  284. ; not defined, or if the function doesn't include/implement the missing class." L; E+ s$ f) S# G0 ?
  285. ; So only set this entry, if you really want to implement such a7 y1 p( w( R  h/ X- i. ~
  286. ; callback-function.- F; G) A8 w. V. m& R6 M
  287. unserialize_callback_func =
    3 d1 [' `* X% \; x9 f
  288. 1 ^1 V) J. j. G% d3 b
  289. ; When floats & doubles are serialized store serialize_precision significant2 D" _% G5 ]2 x4 |
  290. ; digits after the floating point. The default value ensures that when floats9 S  }5 s* `2 T- ?% g
  291. ; are decoded with unserialize, the data will remain the same./ r0 ?& L: F9 G4 S
  292. serialize_precision = 17& W( m  a# K9 r- O$ g
  293. # n; v' B% _. S: _
  294. ; open_basedir, if set, limits all file operations to the defined directory4 I  y( \6 I& S; ~3 f. `) a: V7 [
  295. ; and below.  This directive makes most sense if used in a per-directory2 o5 x0 t. `1 V; a4 S% J
  296. ; or per-virtualhost web server configuration file., y7 o4 V% d* g! [/ q! z
  297. ; http://php.net/open-basedir) ?2 X/ M3 h- x% ~
  298. ;open_basedir =  `: D* H* v, U3 c' ?- h: F9 Y9 h
  299. 5 |2 h; z: E& e$ X$ R
  300. ; This directive allows you to disable certain functions for security reasons.
    : X. E% L" v3 u
  301. ; It receives a comma-delimited list of function names.0 E8 p  O8 O* L, s/ u
  302. ; http://php.net/disable-functions. O2 r! w1 J( U: k8 D8 R
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru6 n" R# U7 @& S$ S

  304. $ i/ e8 Z0 s" |
  305. ; This directive allows you to disable certain classes for security reasons.2 G; ?+ @, e1 ?, {" z2 G1 l4 O
  306. ; It receives a comma-delimited list of class names.
    0 [( d( p' [0 K% u$ F( [
  307. ; http://php.net/disable-classes- O  f; u0 x% w2 Q( l  f9 k$ S, S
  308. disable_classes =( _0 C7 w5 q' [8 g, o
  309. ; K  {! M" \) `/ w
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    ) P4 M  O! P3 Y, F! m& \9 B* b
  311. ; <span style="color: ???????"> would work.: ^' Z: F: D' E, e8 z( X/ l0 y
  312. ; http://php.net/syntax-highlighting/ G3 K3 W; g5 e3 E8 Y0 b5 O
  313. ;highlight.string  = #DD0000
    ( Z  N$ S  G9 `' J7 C/ V- O
  314. ;highlight.comment = #FF9900  j( V: u  v3 V+ ^& N  ]9 S; }
  315. ;highlight.keyword = #007700+ ]7 Y$ `* ?0 G! b  b
  316. ;highlight.default = #0000BB
    ; L2 z. W. @0 P9 i
  317. ;highlight.html    = #000000
    6 m9 A% T9 v) N. B. e, {
  318. 3 @1 S" S) x  b6 ]( l
  319. ; If enabled, the request will be allowed to complete even if the user aborts. q/ g8 ?6 v! L& N$ q3 N, I
  320. ; the request. Consider enabling it if executing long requests, which may end up
    3 ]  e. J2 O9 x  @9 h
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior9 M& ~7 w4 o6 C7 P  ^* R( S
  322. ; is to disable this feature.0 C/ g8 l( J. k  x7 T
  323. ; http://php.net/ignore-user-abort: c/ y) `$ |# q4 N/ y
  324. ;ignore_user_abort = On$ V( o- G3 c; l7 ~8 F

  325. ' v4 I9 m7 }8 ?+ j. T+ Y% Y+ H
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
      \* X, g  w; f) @. e
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    $ T: L0 |6 V6 ]6 N
  328. ; the file operations performed.- t0 J. j% ?7 t1 p+ @9 @
  329. ; http://php.net/realpath-cache-size
    " ]/ J. ]( p6 E
  330. ;realpath_cache_size = 16k
    * X8 w3 X+ m% H
  331. ; g2 W9 Q1 o( G$ \
  332. ; Duration of time, in seconds for which to cache realpath information for a given' y; g4 D0 n' v! i4 d
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    2 ^" c: a! f' `9 u) s
  334. ; value.
    , k7 }; x4 k( p6 b7 [% Y
  335. ; http://php.net/realpath-cache-ttl
    % I% O) K5 F( @& a1 w2 v
  336. ;realpath_cache_ttl = 120# o5 t0 l% ?4 R
  337. + u7 r+ [+ l! u# |; ?6 a$ d
  338. ; Enables or disables the circular reference collector.! X! v+ k& e9 Q9 H: }
  339. ; http://php.net/zend.enable-gc
    . T& A7 o4 I) e! g6 N
  340. zend.enable_gc = On6 E* N, x/ c' {/ H/ u
  341. / G: |# E  p2 G4 G: `
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    * h- O7 C7 a& A  Q4 U
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such, F9 Y! p! d6 G, @- F+ S0 ^
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    + U5 _' v. y4 B8 ]
  345. ; Default: Off
    1 Y  U2 s9 h' d- C* v
  346. ;zend.multibyte = Off
    - J0 ]! F! B# K4 M

  347. 8 `+ X- m' h2 ~( X: r7 f/ @5 y( q
  348. ; Allows to set the default encoding for the scripts.  This value will be used9 Z+ V$ q& i* i9 n3 L/ S
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    ) y$ Q# P: k2 M0 c+ a5 y4 G
  350. ; Only affects if zend.multibyte is set.
    0 R  u7 r$ p" G- l6 Y
  351. ; Default: ""
    8 I$ [/ z; Q7 F9 ?9 v
  352. ;zend.script_encoding =
    4 ~! o3 R# a" G
  353. 6 v: {- a; `8 ^  ]! F8 M$ x, ~
  354. ;;;;;;;;;;;;;;;;;( q+ D2 N8 }$ X! k( {, q9 `! e! e
  355. ; Miscellaneous ;, Q3 ]; \# ~. m8 ]
  356. ;;;;;;;;;;;;;;;;;
    + [) \+ z# [& {  X; ]' e; C/ K2 W

  357. 3 ?+ b7 i# M, [5 x& L* [! F! A
  358. ; Decides whether PHP may expose the fact that it is installed on the server8 h% t2 ?8 N! W/ ~; M/ f4 W
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    - J: \9 q4 l/ G+ I1 m7 l2 S) X0 A
  360. ; threat in any way, but it makes it possible to determine whether you use PHP" a& M0 _  L7 t' X4 M. _' i
  361. ; on your server or not.* j1 c0 x* G5 ^
  362. ; http://php.net/expose-php+ I+ ~1 p% z- k8 k
  363. expose_php = On
    " k. X# t6 _4 b, I* L- \3 z

  364. 0 S' t. w/ ]- W
  365. ;;;;;;;;;;;;;;;;;;;
    ' ^% o3 K: k* r( W- g# Z( [! z* Q
  366. ; Resource Limits ;
    4 d6 O1 L  v' J; a. m+ Y
  367. ;;;;;;;;;;;;;;;;;;;7 E- e$ \  T4 q$ X9 x8 F

  368. & a. A. k& r. }- B
  369. ; Maximum execution time of each script, in seconds- B+ J& e( x3 N, q5 ?0 v
  370. ; http://php.net/max-execution-time
    " ^# T' l0 E0 G9 ~' h5 F
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    ( O2 d2 c: k" s' M! K3 B6 u; g
  372. max_execution_time = 3004 w) p' ^4 L, ^- l

  373. 7 d! f  u2 B" ~5 d; R" \
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    # W' f4 Y* Z; m. |1 q+ t* P
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly( F* q: y' u/ C3 W7 d6 U
  376. ; long running scripts.
    9 j9 |5 @, m2 [$ {
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    6 I! H% _& S( v
  378. ; Default Value: -1 (Unlimited)( w, G5 i$ A4 `$ P, c
  379. ; Development Value: 60 (60 seconds)
    1 e' e0 |1 t/ P
  380. ; Production Value: 60 (60 seconds)
    , B, T' _8 p6 \# X
  381. ; http://php.net/max-input-time( k4 c# f! q% T
  382. max_input_time = 607 B( r0 \* |* D9 t" d

  383. 5 n1 L( }, _/ s5 {
  384. ; Maximum input variable nesting level
    * b7 q9 @& B2 l1 Y) A: r; g
  385. ; http://php.net/max-input-nesting-level
    , z* ^8 N. ?; e  S1 B( G
  386. ;max_input_nesting_level = 64& e' y. p$ v  U  [( R

  387. + q4 x. {) Z+ W# s4 Q! V' p' ]: Z2 l
  388. ; How many GET/POST/COOKIE input variables may be accepted
    * Q4 R4 h0 m7 f1 z% e7 {
  389. ; max_input_vars = 10009 p; c& b& v) Q% B- L

  390. 8 b. z2 |8 f' l% H
  391. ; Maximum amount of memory a script may consume (128MB): j: _/ X0 @& j' ]/ n9 U" \4 h0 }
  392. ; http://php.net/memory-limit! f9 ~( Z* l" L
  393. memory_limit = 128M+ q- L5 H' ?1 ]7 U) S

  394. / c: S4 H% C' J0 i4 E( }- g0 B
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    2 |9 v4 r( n, O
  396. ; Error handling and logging ;1 D, a% \( l; Z  H4 ]9 e- E
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    . o+ g$ h8 N3 `( M5 d+ l' {- G+ ^

  398. , n6 F+ d) B# b8 L
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    * b# y* `( W$ \* }
  400. ; it to take action for. The recommended way of setting values for this
    ; s2 H( }) R# p
  401. ; directive is through the use of the error level constants and bitwise
    & ]4 d8 a7 e- x& e: p# Z9 [
  402. ; operators. The error level constants are below here for convenience as well as4 n, E* ?4 F( @
  403. ; some common settings and their meanings.
    3 Y; j. h- {6 h! f' [/ x
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    3 s- X6 a* K; u/ t0 o
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and5 A/ U1 {2 a! U1 h0 W2 D! Y( d% s
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    0 z; E- \" j* L
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    ) t( ~4 W( M9 {( @" [9 I& J
  408. ; resources complaining about best practices and coding standards. That's what
    + e% o$ {+ v) N; g0 q
  409. ; development servers and development settings are for.2 Y6 m3 b# N" k2 y3 D
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    " D" L) o1 p1 y/ A1 z  H; o, [
  411. ; means it pretty much reports everything which is exactly what you want during
    & A( m+ ?* ]2 L, h1 n1 s
  412. ; development and early testing.! i. \% p- O, |
  413. ;" V  U2 b, n% l" d4 J
  414. ; Error Level Constants:% L* u; i7 ^& t% E
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    / f% j' ]$ A4 _/ B% p' K4 c
  416. ; E_ERROR           - fatal run-time errors
    $ Z6 Z$ n& A+ J
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    2 ~- G( m% @, q1 C$ o- k" B
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    # ?' s9 _' M" f/ g. f
  419. ; E_PARSE           - compile-time parse errors
    & h0 L7 B, _: |+ B' S) X# x" ~  H
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    $ P$ z" T7 l" R4 F, Z
  421. ;                     from a bug in your code, but it's possible that it was
    ; }1 ]! U( f% D# q6 R8 P
  422. ;                     intentional (e.g., using an uninitialized variable and
    - N6 X! u& H+ h* f: F
  423. ;                     relying on the fact it is automatically initialized to an! Q4 c- u9 b' Y7 }1 W
  424. ;                     empty string), w/ X( I1 P# E
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    5 L) Z/ J% G9 a# ^& @
  426. ;                     to your code which will ensure the best interoperability
    * [# O% v5 Q* H0 a" Q8 w
  427. ;                     and forward compatibility of your code" k; D6 \' j  E) p$ h
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup+ m0 q8 W6 s" X$ _
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    ' o3 M" t( K5 t" G0 p4 r
  430. ;                     initial startup
    3 ^1 Z' U# c7 g8 T/ f5 B& O1 ]; U
  431. ; E_COMPILE_ERROR   - fatal compile-time errors, C  L7 R! N3 x' Q; d9 @7 q
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)5 N8 p: b" j* C$ h( n( f7 D
  433. ; E_USER_ERROR      - user-generated error message' z$ G6 O7 b6 H% A- S$ j
  434. ; E_USER_WARNING    - user-generated warning message3 d+ d! j& Z. C% S
  435. ; E_USER_NOTICE     - user-generated notice message+ P: c+ [8 W2 ~: V: Z4 X1 l4 O
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    6 e, p5 k" }6 T! Z/ c; z
  437. ;                     of PHP
    $ P. q, Z- `! q/ ]4 ^; ?
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings) i6 {% m5 u: l+ |6 `7 k! d8 L
  439. ;$ ]+ K$ ]1 f" ?! C8 o7 u
  440. ; Common Values:
    : }: ?' F7 K( y' h3 t
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)% f  J( j4 h/ M# n8 y
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    $ \3 A* z7 s9 R3 x
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    * N- T9 l- [8 i( A3 [5 [
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)  A9 _* u  \/ a8 a
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    . F' k$ g6 U. O* z+ _/ c& z. {
  446. ; Development Value: E_ALL
    " A3 S9 m& T" |/ \$ \& X
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    + c) Y2 n1 C* O) f
  448. ; http://php.net/error-reporting
    7 x0 z  V% ^. c; s& Z
  449. error_reporting = E_ALL & ~E_NOTICE1 U" E7 b" m8 z; R

  450. 1 ?% g- t# @1 W! P# Z2 `- N
  451. ; This directive controls whether or not and where PHP will output errors,1 c8 e8 L2 V+ Q: q
  452. ; notices and warnings too. Error output is very useful during development, but
    3 x. |6 e' y7 ^( A( i: h- R
  453. ; it could be very dangerous in production environments. Depending on the code  L( V: S( y- f) M* F( Y% D
  454. ; which is triggering the error, sensitive information could potentially leak
    8 Y7 E' I+ ~+ u
  455. ; out of your application such as database usernames and passwords or worse.
    ) v0 N9 d5 c2 D+ M4 m7 @
  456. ; For production environments, we recommend logging errors rather than( x/ I4 a& w7 o3 @2 k7 X6 Q& y
  457. ; sending them to STDOUT.8 }, w: t$ ^' M$ M+ c" q3 g. q
  458. ; Possible Values:3 u" ]. ~& b4 y2 A1 V+ D% l* R
  459. ;   Off = Do not display any errors
    6 [5 L1 b! x$ l1 E) p
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    1 R1 e% [3 A# ^8 ]
  461. ;   On or stdout = Display errors to STDOUT) W- J$ Q6 O. T, N9 W
  462. ; Default Value: On
    1 S2 l0 J1 B' C
  463. ; Development Value: On+ u) }- t5 P5 a+ g. a, ^" N' H
  464. ; Production Value: Off& ~# \& ^, u' ?, S* m6 R# p. ]
  465. ; http://php.net/display-errors
    2 Y$ h' u/ ~( n% b+ |, n
  466. display_errors = On
    1 N8 ~+ m, P8 E# W$ `
  467. " a! W9 }" `! U- p
  468. ; The display of errors which occur during PHP's startup sequence are handled8 Z6 K7 f9 d- j
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    4 I. v5 l" m' H8 c. j  X
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    0 D3 y+ d* B8 R# T2 h
  471. ; debugging configuration problems. We strongly recommend you
    : Z* }- W6 U- ~: z' D) ~) f5 }
  472. ; set this to 'off' for production servers.8 D" G9 h2 P% v+ }
  473. ; Default Value: Off" _+ s# x3 f9 _. m! k0 C
  474. ; Development Value: On
    ! ]: k  p5 ^& k8 p
  475. ; Production Value: Off+ U+ ]+ A- i) I
  476. ; http://php.net/display-startup-errors
    3 M6 l" x; k: Y+ h/ U
  477. display_startup_errors = Off3 m! P) ]- e7 `6 h/ _& s

  478. ! q) Q. A4 ]7 n, w
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    0 b, g3 ^- t2 I- ^/ ]9 r9 q
  480. ; server-specific log, STDERR, or a location specified by the error_log& b. L, c2 T2 F. s# s& `+ D8 y, y: K
  481. ; directive found below. While errors should not be displayed on productions2 ]. _1 P8 x  Y
  482. ; servers they should still be monitored and logging is a great way to do that.
    ' S, m9 `% L7 E1 t; M) G' S
  483. ; Default Value: Off% }! s+ ?/ i! W5 l9 ]' `4 ]: f
  484. ; Development Value: On3 v7 l) @* {) q9 E1 K2 j
  485. ; Production Value: On
    6 d3 e1 v8 z6 j3 c' s; w+ e
  486. ; http://php.net/log-errors
    8 r1 M% F, T9 k
  487. log_errors = On
    * o  f3 V1 q: _! I: t: _0 [

  488. ' |7 Y0 I% B$ D; u( J
  489. ; Set maximum length of log_errors. In error_log information about the source is$ v% u3 ]  g/ n2 M, T3 f% Q9 o
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.  v2 X  ~4 ~6 F) E/ m) m
  491. ; http://php.net/log-errors-max-len0 J, C' j1 ?: h3 }+ I
  492. log_errors_max_len = 1024) l9 ~; o- J6 ~1 J
  493. ' J% i4 k9 |& v) e8 l" }
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    6 q1 m0 c5 D' L& Z: U: b
  495. ; line unless ignore_repeated_source is set true.
    ( f0 d$ y8 C# \; o
  496. ; http://php.net/ignore-repeated-errors
    4 q  k# h8 d- j9 F' C
  497. ignore_repeated_errors = Off# V: k3 u2 j* Z5 H

  498. 9 x! i2 ^3 y+ B. O
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    ' S1 J/ _- M/ |# m% D& {
  500. ; is On you will not log errors with repeated messages from different files or
    * Q3 d; Y1 D- \6 A9 \0 k& g
  501. ; source lines.7 u1 I/ n6 ?* c$ C
  502. ; http://php.net/ignore-repeated-source
    - }, \5 v. D6 u" v0 ^: R/ Y
  503. ignore_repeated_source = Off" T4 c" J: C. O# n8 p- p2 ^/ s

  504. 7 Z0 B$ |" H$ _+ I7 V7 B# S  y
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on2 q$ z; K# y5 J' p- Z) ~
  506. ; stdout or in the log). This has only effect in a debug compile, and if9 G! ?% Y% N3 x  y
  507. ; error reporting includes E_WARNING in the allowed list
    # E$ `6 d  N8 \7 T* y/ [- h# ^/ g
  508. ; http://php.net/report-memleaks
      Y' [. t! K7 m7 y) [
  509. report_memleaks = On
    ) I" O3 c/ `, H) F+ X. }1 d- D$ E

  510. ) x4 g7 i) o7 P' ~/ Z( {1 P
  511. ; This setting is on by default.# @% s! T2 e; p* B' o5 O" r: y
  512. ;report_zend_debug = 05 y! z0 }, M7 {$ g
  513.   O1 U0 v6 s) u( i
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value% ?/ T+ `, M& K( Y# ]7 B9 t
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    % I5 r; O5 `- L3 Q! q! i
  516. ; however be disabled on production servers.
    * O' V8 B4 B7 N- N- q8 }
  517. ; Default Value: Off
    ! n. w5 J0 q9 ]  o
  518. ; Development Value: On
      }7 h2 D6 {$ e) s
  519. ; Production Value: Off0 n% Y9 m! \9 F) b4 ?) i
  520. ; http://php.net/track-errors" D' u4 Q1 c. c( N& q: l5 }
  521. track_errors = Off  e5 L! @5 o2 m6 m- M
  522. . i8 o: {) J3 v) }7 N9 M+ O
  523. ; Turn off normal error reporting and emit XML-RPC error XML
      T" L5 ^! H5 m$ H7 q% _
  524. ; http://php.net/xmlrpc-errors
    ; q4 W; F1 n2 F$ Z8 j9 U
  525. ;xmlrpc_errors = 0
    3 w" S5 {! K( k6 N+ P
  526. 1 M% j7 n; F2 W2 ^$ [) `
  527. ; An XML-RPC faultCode- d/ G1 m/ h& _0 B/ X
  528. ;xmlrpc_error_number = 0
    ' }; X& q. s' R( |. b/ A
  529. 8 |3 I/ C5 Z( _& n6 O$ x5 d
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    3 B+ `6 x4 k( @4 b+ B, m, A
  531. ; error message as HTML for easier reading. This directive controls whether6 C* r2 M& E2 D2 `6 D! z
  532. ; the error message is formatted as HTML or not.
    ; C3 v: A1 _  V% o9 h
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI* c! c0 q8 f' d5 f
  534. ; Default Value: On" b) ]3 B* s/ I& a/ s% J0 o
  535. ; Development Value: On. v# i! i  U, q/ k
  536. ; Production value: On
    " X) Z4 s7 z: H$ T5 c
  537. ; http://php.net/html-errors  g" P# G7 F! Y% z7 z
  538. html_errors = On
    4 y3 R9 C/ j7 i. d9 P; S7 `9 u
  539. . F; d. ]7 |# w6 w
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP! D2 d, K  a6 b3 @
  541. ; produces clickable error messages that direct to a page describing the error
    & A0 X: `" ]$ p+ O) \
  542. ; or function causing the error in detail.
      r( a& M, X/ a, J* |
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    : z8 r, t* V7 q: Y! v6 g0 Q+ k' ^
  544. ; and change docref_root to the base URL of your local copy including the
    ; r- O3 h- n6 c4 y
  545. ; leading '/'. You must also specify the file extension being used including
    9 m# n# E' P) _* o4 G1 {
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which7 y  p! A0 m8 Z9 a8 A% n
  547. ; case no links to documentation are generated." l9 s7 K& R; r8 ]- i( f
  548. ; Note: Never use this feature for production boxes.- g; _- e* U9 l. s& v/ T4 J
  549. ; http://php.net/docref-root! r5 L" e/ _/ y
  550. ; Examples
    - L5 p6 p/ ~) @* W5 D1 x1 N2 n
  551. ;docref_root = "/phpmanual/"
    ( t9 L# r- |$ ~2 m/ i

  552. , \) @' N7 K8 e* l
  553. ; http://php.net/docref-ext* q, c5 @' }  u& N: [, M) k# Y
  554. ;docref_ext = .html) d$ ]6 ]4 N& Y* J. V  E

  555. 7 g7 X6 M& W: c  F% e# }0 w
  556. ; String to output before an error message. PHP's default behavior is to leave
    ( |) }9 t& U* Y* [" v
  557. ; this setting blank.3 L; u7 N! I  n- L# y  A
  558. ; http://php.net/error-prepend-string# c( z. y# e- M7 u5 ?7 |- O) j
  559. ; Example:
    8 j1 k& @7 l( H! t
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    $ R2 D  f2 ~$ a: N6 P

  561. 2 {, P" Z# ?. Z$ H* L7 k/ f8 `
  562. ; String to output after an error message. PHP's default behavior is to leave
    4 u, d3 S1 v9 E! N
  563. ; this setting blank.
    2 S& C8 Z2 y- D. \2 M0 q& ~
  564. ; http://php.net/error-append-string+ f/ K. i# T9 o2 H* k
  565. ; Example:
    ! z5 f8 L. [2 J$ f, Y" Q
  566. ;error_append_string = "</span>"
    0 c, p/ E' `9 T* e, Q  K( \

  567. - `7 t0 y8 Q6 E/ K9 j
  568. ; Log errors to specified file. PHP's default behavior is to leave this value( X6 f, G2 J! x/ F
  569. ; empty.
    5 P$ g( H5 Q# u( [4 P
  570. ; http://php.net/error-log$ }- @1 ?+ s3 h! R% y
  571. ; Example:
    6 F4 g! b! X( D
  572. ;error_log = php_errors.log
    4 w" P5 _7 c) P8 I- m+ I4 n! }+ E
  573. ; Log errors to syslog (Event Log on Windows).
    / U4 t! a( P" T6 X; L5 h8 F
  574. ;error_log = syslog
    $ L9 s( b4 C. V6 h! F

  575. * }  B8 F, S1 r6 h5 e
  576. ;windows.show_crt_warning7 }- G& j+ T% W6 F# I) C
  577. ; Default value: 0
    ( U. N6 P1 R& a: l  R4 P# S% O
  578. ; Development value: 0
    ' f- k1 H3 Z$ q; v! ?
  579. ; Production value: 0
    # t4 i; N' b; I
  580. 8 p0 Y# d& u$ q* \
  581. ;;;;;;;;;;;;;;;;;# B7 }6 C+ m: [: G
  582. ; Data Handling ;2 Y. H! n6 a' N2 ^7 M  @" r4 m
  583. ;;;;;;;;;;;;;;;;;
    - |9 A: r  Q8 W
  584. 0 p! D6 K" D, \( g+ o5 B8 a
  585. ; The separator used in PHP generated URLs to separate arguments.
    7 A2 k) r- @9 V. X: Z
  586. ; PHP's default setting is "&".
    / N. _& d7 m8 o- g% N, C$ `
  587. ; http://php.net/arg-separator.output* {8 v* K, B, n
  588. ; Example:
    3 w, M* n8 G% N! s
  589. ;arg_separator.output = "&amp;"
    ( ~# X6 f# n! t( T1 W
  590. 8 w+ R7 U% C" L+ I
  591. ; List of separator(s) used by PHP to parse input URLs into variables.( i0 |: ~: M+ }- g- r+ b
  592. ; PHP's default setting is "&".
    + L$ p3 ]' s* x2 W! R
  593. ; NOTE: Every character in this directive is considered as separator!" z$ K7 A- Y1 f, ?- {4 M( I
  594. ; http://php.net/arg-separator.input6 j* M8 r$ F/ w9 u! i3 b
  595. ; Example:
    % G2 f5 Q% I' K% k" p! |
  596. ;arg_separator.input = ";&"0 {5 x' ]/ n1 y
  597. 5 V+ T0 C3 p( d7 H1 E5 ~' a
  598. ; This directive determines which super global arrays are registered when PHP
    % l! v) X; Q* h0 U+ U1 U3 y
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    7 i0 w  u! J' }) z7 M7 J& s) l
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    5 z5 ^2 ]2 e$ S7 R
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    + t, a% c& I& X6 V* U& k2 o6 T
  602. ; used as the others, ENV is not recommended on productions servers. You0 ]- h7 B& E& J. _
  603. ; can still get access to the environment variables through getenv() should you
    7 C/ I- S4 f) O1 ^& B- t
  604. ; need to.0 m3 W& b5 i- A& |  _! Z
  605. ; Default Value: "EGPCS"
    . G  p( d/ d' m# ^- d0 {
  606. ; Development Value: "GPCS"! w4 _0 c! s! B, s
  607. ; Production Value: "GPCS";3 U' o' P% R( S) t5 W
  608. ; http://php.net/variables-order
    , J4 ]1 A. _" X/ S
  609. variables_order = "GPCS"
    - Y4 M" O% t8 K( N* W4 @8 g9 b
  610. 4 T2 E* u& V1 P  P8 W2 G7 Y* m
  611. ; This directive determines which super global data (G,P & C) should be* y4 P  ~6 T! Q/ _3 I& b  D
  612. ; registered into the super global array REQUEST. If so, it also determines7 ]7 K5 z9 ], c/ D: A' m
  613. ; the order in which that data is registered. The values for this directive8 |% I9 c6 Y6 ~
  614. ; are specified in the same manner as the variables_order directive,, |! q* R3 o* O' m$ Q
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    1 W6 i' {. U9 c1 T
  616. ; in the variables_order directive. It does not mean it will leave the super3 B8 S. U0 q3 _# D3 T9 K7 C
  617. ; globals array REQUEST empty.: Y$ F3 u" K- K" x( D6 f
  618. ; Default Value: None
    5 I, O+ k  d  V  ~2 @4 e5 a
  619. ; Development Value: "GP"
    2 B) ]4 ?: c1 ^- _+ s$ w# Z
  620. ; Production Value: "GP"
    9 y* ^  A3 p( c* T  e2 L6 M" Q; m
  621. ; http://php.net/request-order
    * U# N' x+ K) w' ^
  622. request_order = "GP"
    + A6 V) C; |2 E3 t% m5 b% A9 Y/ p

  623. 2 X" U: x# i- ^% f
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    / R# ?3 N  f% o0 Z* E/ b
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script( a6 H# Z  W/ m# b
  626. ; is invoked. $argc contains an integer representing the number of arguments7 R2 A' ?! B* `, ]9 l' s
  627. ; that were passed when the script was invoked. These arrays are extremely
    ' N" n+ Y$ ^. q+ g. N1 J( X
  628. ; useful when running scripts from the command line. When this directive is
    * E; g4 c: w2 q4 y( n
  629. ; enabled, registering these variables consumes CPU cycles and memory each time! |6 P: o1 Z' l
  630. ; a script is executed. For performance reasons, this feature should be disabled
    ' R, w0 l$ F7 R  B- _# t
  631. ; on production servers.
    8 b1 B: l- P) m$ s: q/ r  j6 n! ^
  632. ; Note: This directive is hardcoded to On for the CLI SAPI0 e# r1 X# m/ m7 n  h0 Y9 z- B" ?
  633. ; Default Value: On. [4 c0 ]& f1 X
  634. ; Development Value: Off
    4 Y- C& q  {3 [+ F8 V
  635. ; Production Value: Off
    ( Z3 w6 I$ Y8 b1 d! J6 Z4 t$ k5 x
  636. ; http://php.net/register-argc-argv7 q7 Z% T9 G/ y1 P4 ~, G6 h- n9 e
  637. register_argc_argv = Off4 O; C) |% s# U$ {3 g0 _
  638. ) z/ Z% Z! M2 W. Z9 [! e# ?
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're7 M+ W8 r% Q7 L1 h* a& c' K; j8 O
  640. ; first used (Just In Time) instead of when the script starts. If these
    " y: z9 ~# |1 C& |7 H. \
  641. ; variables are not used within a script, having this directive on will result
    . p, J* i+ I: W: `# G8 ~: E  H5 Z6 O
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    ' D3 F$ J% v; H$ ?9 h5 C
  643. ; for this directive to have any affect.1 c6 P) a8 D. j4 [8 o7 f/ J9 }
  644. ; http://php.net/auto-globals-jit
    ' c) N8 ?/ \7 _8 O* @; M
  645. auto_globals_jit = On# F* P3 Y0 H2 k: N9 ^: A# i

  646. $ x! C, O8 U: m9 u
  647. ; Whether PHP will read the POST data.
    6 U& l! y6 m& q4 }* v
  648. ; This option is enabled by default.
    ; A9 ^$ B) K' o( Q8 j
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    1 N$ `4 k* r! D! @6 p
  650. ; and $_FILES to always be empty; the only way you will be able to read the% y/ Q" d; c7 w7 l  `: O6 u
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    , {5 w! \! Y7 c6 J& ~& e2 M8 V
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    + x( x6 M/ L( k2 W8 J
  653. ; http://php.net/enable-post-data-reading
    2 L  I# P$ `/ w; R& d$ C
  654. ;enable_post_data_reading = Off
    7 T. _: {  I+ X1 o6 n
  655. 2 L) o9 O6 }+ q# I+ r: j  a8 k
  656. ; Maximum size of POST data that PHP will accept.
    0 x7 f: O# w. o4 x" o( c# q
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading4 a& W' J8 {6 d1 Q1 k7 g; {0 G
  658. ; is disabled through enable_post_data_reading.
    5 `$ W, j6 ]6 v( K0 X0 _
  659. ; http://php.net/post-max-size
    & o4 u- M0 X$ Z
  660. post_max_size = 50M
    % E1 C9 }3 x7 O5 v" l
  661. 7 s" q$ v" ?( S) a
  662. ; Automatically add files before PHP document.: ?5 u7 H3 o6 J9 A5 s6 x
  663. ; http://php.net/auto-prepend-file
      o  r1 H' y) L1 I5 j6 h- W' g
  664. auto_prepend_file =
    $ v! O5 b, t& ^1 X! X! r, `
  665. 1 f6 e/ i2 G# s: P0 ^4 z! Y
  666. ; Automatically add files after PHP document.- c6 q  O4 x0 X2 ?4 h- G
  667. ; http://php.net/auto-append-file
    : U3 E5 U0 {9 E$ B0 C2 b0 F
  668. auto_append_file =
    * X) \0 _2 q. j: i  r5 k
  669. 6 S# d" T4 [7 t" @; g# a+ f7 |
  670. ; By default, PHP will output a media type using the Content-Type header. To8 a" E3 E4 G) O' d$ N
  671. ; disable this, simply set it to be empty.! |# [: R5 k# ]3 w
  672. ;! U# H+ J, q$ G6 d# R6 H# K  ~
  673. ; PHP's built-in default media type is set to text/html.
    / E! ?" y, N" e, |
  674. ; http://php.net/default-mimetype
    7 R4 a3 j- m% J( O- {& B( @+ m/ y/ N7 `
  675. default_mimetype = "text/html"
    $ ~' F1 v$ J: P7 |8 X
  676. . @& d4 F: B3 A5 {4 W
  677. ; PHP's default character set is set to UTF-8." f3 o% W- @- U  Q
  678. ; http://php.net/default-charset+ x- D! _5 S+ `" B2 z0 c
  679. default_charset = "UTF-8"+ i- x0 i- n$ z) `' V
  680. ! X! Q. o( L. k- h0 {' }
  681. ; PHP internal character encoding is set to empty.# Q. G8 D, H- c
  682. ; If empty, default_charset is used.- L% x' Z' G  t4 d0 {! `
  683. ; http://php.net/internal-encoding/ ^- w  ~& ]. L
  684. ;internal_encoding =
    " y& X- \) M, n# u* |+ ~
  685. & \, L: L! f7 V. y8 z! w) q
  686. ; PHP input character encoding is set to empty.
    9 P3 q% B) o' r( g
  687. ; If empty, default_charset is used.  m: x1 M& Q: K3 ]
  688. ; http://php.net/input-encoding
    $ P. U5 u2 O1 @2 ^
  689. ;input_encoding =0 d5 o0 h( v: f2 j* ?
  690. ; d& _' `( e; I# {
  691. ; PHP output character encoding is set to empty.) s+ [0 X0 f0 Z: U6 b9 m, r
  692. ; If empty, default_charset is used.  p$ S, b; }" y  N, l
  693. ; See also output_buffer.
    7 d, Z; S6 o7 B
  694. ; http://php.net/output-encoding
    & _$ _" i% k% W3 t, J; Q- q
  695. ;output_encoding =9 C! p5 a. g/ O/ n5 i/ N1 \& }

  696. 4 n" \$ l7 }0 c: @4 D
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    1 _# c4 D! Q0 V2 f0 D
  698. ; to disable this feature and it will be removed in a future version.
    . S: W- A; y4 s! k
  699. ; If post reading is disabled through enable_post_data_reading,
    % `% Z* Y  g. j
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    ) w" [; b& T/ Q' r* [& p
  701. ; http://php.net/always-populate-raw-post-data
    ) P+ F- k. Z  A; w) u
  702. ;always_populate_raw_post_data = -1
    ; A0 X4 e" f2 ^8 b8 d( X9 b

  703. $ X1 h; h% ^% V
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    & m4 c) X/ c, F- h9 \
  705. ; Paths and Directories ;! _+ v) g, n& F# B2 {9 f
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    ) D- m" D0 |4 m& H3 I  ]6 {, P  c
  707. * s& J+ N) s1 g) B8 Q. L) j
  708. ; UNIX: "/path1:/path2"
    : B2 [. [% v2 l' O1 J3 G) r3 ^* ]9 q
  709. ;include_path = ".:/php/includes"
    0 m  ~+ [* W' ^$ Y8 {7 v
  710. ;
    & |# ?! ^9 x. U! M3 V6 y
  711. ; Windows: "\path1;\path2"
    + X4 x: n1 M) E3 M
  712. ;include_path = ".;c:\php\includes"
    ) T& g' s7 h: Z' L6 V' \3 o
  713. ;# U; V: a* Y  I+ ]
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    6 l- G2 i, o+ W* ^
  715. ; http://php.net/include-path
    . n. N3 E) \& u9 {! ~1 t: T
  716. " a4 w+ a* k) _/ }
  717. ; The root of the PHP pages, used only if nonempty.
    # C& p! h0 q; @8 z' h4 k1 T: ~$ G
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    & C7 T# P! D- Y6 P3 c$ u( q5 f- }$ u' I
  719. ; if you are running php as a CGI under any web server (other than IIS)
    ( d" Z( t# q4 T; G$ T
  720. ; see documentation for security issues.  The alternate is to use the
    4 b& n5 v0 E9 P0 f( T! k: m
  721. ; cgi.force_redirect configuration below
    " }1 o7 ]5 Q1 T5 \4 p
  722. ; http://php.net/doc-root
    ! ?( n' y* G, }3 }7 Q" K+ Z
  723. doc_root =, M! Z# d4 W8 Z) h

  724. $ T$ O0 M6 Y; c
  725. ; The directory under which PHP opens the script using /~username used only
    8 K: S! E0 ?1 W3 r! ?* _' @
  726. ; if nonempty.2 L5 h) ?  S7 d3 v# Q& E! W
  727. ; http://php.net/user-dir$ s/ _0 T( c* g* _6 N
  728. user_dir =
    2 a0 ^( n* P  A+ V* E; s/ a5 `
  729. 4 d7 _7 ?. E) r9 b. @$ \( p+ p& j
  730. ; Directory in which the loadable extensions (modules) reside.
    / U) c/ b- i# ~, D1 E* E
  731. ; http://php.net/extension-dir
    ! \/ e  N  b% _5 z) k$ U. V- v/ M
  732. ; extension_dir = "./"* L' v& r5 j/ o8 j
  733. ; On windows:
    , J7 ?4 P% ^& I+ w; y
  734. ; extension_dir = "ext"/ X& s. G7 l  F6 F2 }% K

  735. 9 E9 C4 T0 W+ A: j: H8 h- h6 W
  736. ; Directory where the temporary files should be placed.3 N( M2 e  j0 Z. X; d& D
  737. ; Defaults to the system default (see sys_get_temp_dir)
    ) A8 C# [. Z+ y* S% T
  738. ; sys_temp_dir = "/tmp"
    : K, Q7 L+ V+ _; r& G
  739. 7 _6 `* I- Q4 |
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work: ~$ s, d+ d9 v! @2 l8 w: b( S
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically& S) O+ }$ r! z
  742. ; disabled on them.8 K7 r( U# x9 B" |/ B
  743. ; http://php.net/enable-dl
    / B, a' B. a- T& V; J4 y& p
  744. enable_dl = Off/ n. k, N: k- H8 M6 M9 h

  745.   q( k! f; i% H! b* `
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under. r: m! K0 m- V+ ?3 s
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    $ H: G8 C: o/ p$ I
  748. ; turn it off here AT YOUR OWN RISK: N3 J& G  A5 @) E
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    + m7 A% _; T( c( @" [" M; D
  750. ; http://php.net/cgi.force-redirect
    ) W3 \+ C: W& s/ X! d/ Q
  751. ;cgi.force_redirect = 1
    . Z9 u7 S. r1 u9 U( `( K/ u: I

  752. + E# q9 y! L7 x1 n/ h2 N1 U1 t
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    8 @' ?, o6 K, Q" G4 Y, V8 p5 t6 F! w- Y
  754. ; every request. PHP's default behavior is to disable this feature., c3 w' f  P6 e% o$ Z+ C( @& g, n5 T
  755. ;cgi.nph = 17 G7 }+ n9 S4 C: k, D
  756. 9 v& w& F9 n- i0 r) I: s
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    6 q3 m0 N. ~6 i8 y( S
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP+ x: z+ M# _1 Y3 c3 {
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY( V+ C' D: e" U3 q* a5 d" L
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.* N( d. ]1 }- ^- ~* G
  761. ; http://php.net/cgi.redirect-status-env0 b1 s  S2 x: W& m; M
  762. ;cgi.redirect_status_env =
    : Z% ~' y9 t4 ~( Y5 P
  763. 7 D! ~& }, o9 l, b! \5 E% C
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's' C* E$ V4 D# w9 v# l5 U1 W7 u" ?5 Z
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok4 N& m5 R3 [! r. A
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    9 C: T& s/ \. s. _$ }+ S6 A5 j8 M
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting2 ?9 E: }$ ~) t3 K$ J  v3 J8 `- Y
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    / N$ G! u3 t) d# V% z: h0 [; u5 f
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.- g, {0 y' @$ o- j9 `2 l5 ?8 z
  770. ; http://php.net/cgi.fix-pathinfo
    ( O7 ~: X) D6 Z( H
  771. cgi.fix_pathinfo=1
    2 Z) G4 K4 o- ?  N- C
  772. 2 G5 h8 ]& E3 V, d' {! R" _6 ]# T
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    $ e( a9 _. d( [, I( z4 w% I) r/ s
  774. ; of the web tree and people will not be able to circumvent .htaccess security.) Y6 G/ d& ]0 _; I1 R6 ]
  775. ; http://php.net/cgi.dicard-path; n# `* ~: z& I6 L; V$ J
  776. ;cgi.discard_path=1/ j2 i+ U& Q/ N/ x3 N, f) b
  777. + T* n& O0 r1 i5 G% i1 p' \
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate, j/ |6 q9 O/ A1 `. v1 j) n  l, G
  779. ; security tokens of the calling client.  This allows IIS to define the( A" g: H. x+ F( G% K
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    " E" ~' ^$ P' Q1 [: A6 f
  781. ; does not currently support this feature (03/17/2002)' C, W8 Q+ ^% x$ _5 T2 p  b
  782. ; Set to 1 if running under IIS.  Default is zero.5 m0 X1 M' k. d" T+ y
  783. ; http://php.net/fastcgi.impersonate% [! ?; T! i2 G# c" R" V
  784. ;fastcgi.impersonate = 1
    4 G1 R2 I; G$ O( r
  785. ) Z* i; w9 ?$ j
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable1 L: U$ V- X* F
  787. ; this feature.4 T% b/ N% K% m; u' w5 X
  788. ;fastcgi.logging = 0
    9 I3 M6 @8 |! L" r4 ]. u$ P) t# _

  789. / }  s, Z/ u2 X9 v9 P) N+ X
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to$ D/ p$ @2 ]& t% k
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    2 Y5 v' j9 F; F! \
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    % A- m, ?8 E# T( D
  793. ; RFC2616 compliant header.
    + {, P( v- f$ T$ c! k0 f) m! A
  794. ; Default is zero.
    # G+ C  G! C/ ?8 D+ }4 M
  795. ; http://php.net/cgi.rfc2616-headers
    + r" n9 C8 c" S! Y- P
  796. ;cgi.rfc2616_headers = 0
    8 B5 A$ ]7 _* B4 L
  797. $ Z" B- i( x4 E5 O: m1 Y5 K  a$ _7 r" i
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    ) D' E2 H# P* u
  799. ; (shebang) at the top of the running script. This line might be needed if the
    4 i% R4 f* S, b
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    : g  L8 E7 q7 X, \
  801. ; mode skips this line and ignores its content if this directive is turned on.. D: o, k/ K: O1 v  R, G
  802. ; http://php.net/cgi.check-shebang-line
    * X2 o- }% P+ _& U
  803. ;cgi.check_shebang_line=10 n/ l; G* i1 x- F8 m* k" H. H

  804. 4 F) @- H* K/ `# D
  805. ;;;;;;;;;;;;;;;;" y; Z5 z* s1 Z: G
  806. ; File Uploads ;2 i& h  Y" f6 Z! Z4 A
  807. ;;;;;;;;;;;;;;;;
    7 W8 R# W9 m. o& S  V$ k
  808. / B8 Y1 {9 w: E/ A  f$ f
  809. ; Whether to allow HTTP file uploads.
    9 H2 f* K- A  ]
  810. ; http://php.net/file-uploads* a0 R" O, }) F' G% E
  811. file_uploads = On. T  i  X* F4 u9 c. ]/ P
  812. & z: Y3 c/ O7 r/ Z/ T8 Y5 N6 m9 B
  813. ; Temporary directory for HTTP uploaded files (will use system default if not+ ?# r6 j4 v& d+ O! o" ^$ \% i
  814. ; specified).
    ' p7 G. I( Z9 k
  815. ; http://php.net/upload-tmp-dir! {# W- V$ d" p0 `, N( j3 c( b
  816. ;upload_tmp_dir =
    & [, q. U5 k5 m# L, I! T

  817. 9 q7 n! |4 M! H4 y/ K
  818. ; Maximum allowed size for uploaded files." A' n0 P* s$ S: ~$ Y' P& [* z
  819. ; http://php.net/upload-max-filesize
    5 x3 D2 P* {, `, ^. ~$ w
  820. upload_max_filesize = 50M0 M% b! j! H, F, W: a

  821. 8 M& \0 a& Y" G( d! p1 m* @$ G# c
  822. ; Maximum number of files that can be uploaded via a single request8 {0 I/ |( U/ P* `" Y9 W& }( B
  823. max_file_uploads = 20
    * W$ G8 r: ?! B, I. R: n8 |

  824. ! j. m, j' L4 T& S% g  U- l
  825. ;;;;;;;;;;;;;;;;;;
    ! _4 {" r. \' s* i" e; D# x
  826. ; Fopen wrappers ;
    4 X  Z- R7 J3 K6 ~% q' X/ ]# `
  827. ;;;;;;;;;;;;;;;;;;
    4 G; N  V* M* p: u$ b% n$ Q

  828. 9 b/ l, T9 q. T' |  N
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    # L8 b+ k5 Z% r! ^
  830. ; http://php.net/allow-url-fopen, A' p& P3 p) `% e" @) J
  831. allow_url_fopen = On
    # `/ x' M. \; I* ?1 Y
  832. , n- P" P/ m0 e/ g
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.; X$ [' f/ S# ^4 C
  834. ; http://php.net/allow-url-include0 L& d) I+ X# ~& p: I% G
  835. allow_url_include = Off
    , f' I5 [' Z$ w* b3 m

  836. 4 L, t  b; }, z6 O2 M$ U9 l% [, d
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    ( H) X8 J! x9 P- K  l& V; p. m" K) Y
  838. ; for this is empty.3 `  M8 S4 |2 ~
  839. ; http://php.net/from) J6 V0 _/ c' M- u
  840. ;from="john@doe.com"6 \* T" M; [, _2 M" t9 H3 ^% A. w

  841. 3 \7 u. M" z1 e# t2 i2 e7 R% P
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    9 |" s- V, ]0 M# G; d) B& v
  843. ; http://php.net/user-agent6 W1 h: X. {0 m% M; t
  844. ;user_agent="PHP"9 a6 W' d1 w  o

  845. * b4 ~' ^4 @; o
  846. ; Default timeout for socket based streams (seconds)4 }5 a  N+ F8 }" F2 t
  847. ; http://php.net/default-socket-timeout
    - C, m- `; R+ U0 Z* r
  848. default_socket_timeout = 60
    8 v& a6 [  t# k7 Q3 K

  849. ; V/ y6 O1 T9 f$ n
  850. ; If your scripts have to deal with files from Macintosh systems,
    : |. L$ W& g4 _( y0 c: h
  851. ; or you are running on a Mac and need to deal with files from( B( K' D" J4 w; C! C$ Y$ ]
  852. ; unix or win32 systems, setting this flag will cause PHP to3 _! O* `5 y0 v7 `! T" P
  853. ; automatically detect the EOL character in those files so that, ^% K0 k2 r3 W, ~! X
  854. ; fgets() and file() will work regardless of the source of the file.
    & `$ j  F" R/ v0 `3 \' K
  855. ; http://php.net/auto-detect-line-endings
    0 C" |7 o* j& {# b
  856. ;auto_detect_line_endings = Off
    7 M. p* ]: Y7 ]- C; K$ \

  857. 0 k  a: r1 t: E8 X
  858. ;;;;;;;;;;;;;;;;;;;;;;  N- d+ v! N2 F" G$ P2 b/ P& |- h
  859. ; Dynamic Extensions ;' h% J$ T; c! u
  860. ;;;;;;;;;;;;;;;;;;;;;;2 V* q- `* d1 g' U9 b2 m+ l5 H
  861. & Y% v# r8 [; d' P  m% [, [
  862. ; If you wish to have an extension loaded automatically, use the following7 d) O# c: B' \: f8 k7 Y
  863. ; syntax:
    $ M6 T8 d1 e' s  K
  864. ;6 N& j! t. r7 i+ a4 n8 Y/ f* c8 u
  865. ;   extension=modulename.extension
    : \4 g* ^. `' ~" m$ S. G1 m
  866. ;$ d. j! I# z" H# M% Y0 d, J
  867. ; For example, on Windows:
    6 e" C/ t8 J5 x+ `7 M( q
  868. ;1 k2 s) P8 i/ `. W7 W- d
  869. ;   extension=msql.dll( [5 l3 n% o7 D! O- O" Y
  870. ;" p" h' L# V6 d. A' }8 v# K
  871. ; ... or under UNIX:
    + j. \" g: o! k  d6 ^; x% V' V2 o5 {
  872. ;
    * R: V4 y& K( x" F1 V
  873. ;   extension=msql.so7 F' m- e$ h2 C
  874. ;' P3 V5 v) @( I2 K1 _9 A' Z7 d
  875. ; ... or with a path:0 I! o; g. @  J* L9 W: x4 Y0 y
  876. ;
    : w! N7 T" ^2 B9 p" Q
  877. ;   extension=/path/to/extension/msql.so
    6 i3 I. h, {8 M- s& L
  878. ;8 |3 z; h: e8 Z# s0 _* }
  879. ; If you only provide the name of the extension, PHP will look for it in its: {0 m% r6 \# C, w- i: G
  880. ; default extension directory.
    3 T% I2 E+ |7 r# G( q! N$ s
  881. ;1 Z4 I! Y0 U- k$ ^2 W; l8 d
  882. ; Windows Extensions
    ; `# E5 ]& P6 a# }2 X4 O
  883. ; Note that ODBC support is built in, so no dll is needed for it.$ L- N' o: X4 H; H) O+ c1 W
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)6 ]3 @3 s4 ^$ `& x
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    ) l1 }! j& K; ~8 x& y
  886. ; Be sure to appropriately set the extension_dir directive.  w% U. K* a/ s9 c$ l! _/ q8 ~: f
  887. ;
    ; @' ?7 y, ~2 V( N9 d2 U
  888. ;extension=php_bz2.dll; R! B* v; g) |4 q) ]5 @
  889. ;extension=php_curl.dll1 V/ w9 d+ w# w. J
  890. ;extension=php_fileinfo.dll/ y% p% S- G% q) h* ?" Y
  891. ;extension=php_gd2.dll8 m2 Q6 t1 ~. k- }  w; B
  892. ;extension=php_gettext.dll
    " C3 J9 u% z7 _9 I0 s6 o2 H! o
  893. ;extension=php_gmp.dll
    8 C5 I  x1 s. z' b' n
  894. ;extension=php_intl.dll
    8 _0 e, E6 K2 I; |1 u
  895. ;extension=php_imap.dll
    & o% `' s4 Q$ m$ f* ~
  896. ;extension=php_interbase.dll$ t/ \2 ^# I) ~: {
  897. ;extension=php_ldap.dll7 k- c% Q0 T! G! q1 a* W6 p
  898. ;extension=php_mbstring.dll
    1 G; Q/ D3 j" W. n; F" Q
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it) y! f8 q( K+ ^0 M  n% a
  900. ;extension=php_mysql.dll
    : G* W; c5 p* _9 t) P2 ?0 E8 Q
  901. ;extension=php_mysqli.dll
    ) J+ T  `7 ]% P7 J* `% P* U$ r
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client; G* V: Y6 f, S5 p
  903. ;extension=php_openssl.dll. w' F% E! l7 c, C" b+ Y
  904. ;extension=php_pdo_firebird.dll3 s1 b! O3 C2 ~* g) a
  905. ;extension=php_pdo_mysql.dll0 j6 K+ I, y) R7 w
  906. ;extension=php_pdo_oci.dll
    % j$ m% ?. ~  S/ M! K/ i0 e
  907. ;extension=php_pdo_odbc.dll* `$ A/ y: B% G0 u- K
  908. ;extension=php_pdo_pgsql.dll. q$ f# }4 E: A2 i
  909. ;extension=php_pdo_sqlite.dll
    1 X+ x0 y0 B4 Y  B7 F0 r5 ^6 g
  910. ;extension=php_pgsql.dll
    ( ~5 v+ c  l& a* X( {
  911. ;extension=php_shmop.dll
    : z1 M' T. Y* d4 ^) ~- i
  912.   e. M# ^3 \. |9 t7 m1 S+ U
  913. ; The MIBS data available in the PHP distribution must be installed. ) L% K7 s* y; X9 K* \  z, S
  914. ; See http://www.php.net/manual/en/snmp.installation.php % P# n% I" c* i! V# E6 }% N" i9 s
  915. ;extension=php_snmp.dll
    ' z. ~, z# P1 U# Q) K

  916. * T) D! D: |! \$ P6 \7 C
  917. ;extension=php_soap.dll
    - E5 N  \" r7 o
  918. ;extension=php_sockets.dll6 `  c% y. x% N5 [* p
  919. ;extension=php_sqlite3.dll
    ; |. W+ ^* ~' a8 R
  920. ;extension=php_sybase_ct.dll- o) \2 u; ~3 N1 q7 h+ V
  921. ;extension=php_tidy.dll
    # x2 w6 o2 L9 O( i0 A, ^1 H6 o8 ]
  922. ;extension=php_xmlrpc.dll
    " e! K/ {, N& G6 D7 H, Y$ M, Y
  923. ;extension=php_xsl.dll" N( a6 l" M* u8 V: _2 u3 @  j- E
  924. 2 V1 m5 O7 h) o
  925. ;;;;;;;;;;;;;;;;;;;% p: O& m+ }0 ^5 d; }3 {
  926. ; Module Settings ;
      D& G8 F2 I) P2 L, k! a
  927. ;;;;;;;;;;;;;;;;;;;
    9 G5 d* f2 v& f* Y7 Q

  928. 1 O, e+ G, S& k
  929. [CLI Server]2 n" }/ i( ?5 Z9 `& d
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.- _$ C2 [8 Z4 l8 b
  931. cli_server.color = On
    2 x; J3 ^+ @/ \6 f' n- }4 x( h

  932.   C9 Y) u7 |* x4 v2 ?8 V
  933. [Date]$ m5 ~/ A* X3 L
  934. ; Defines the default timezone used by the date functions0 |7 n/ Y: L* l3 Q0 b
  935. ; http://php.net/date.timezone& o/ r; f6 g6 u- Y) C0 U' ]" m' h
  936. date.timezone = PRC
    6 S. i' L8 |7 O# E, }4 L

  937. $ ]8 M) P/ ?1 p% O3 H: g
  938. ; http://php.net/date.default-latitude
      H  f* m# s% y( u. n& Q+ X
  939. ;date.default_latitude = 31.76670 a% ~9 J# R: ]1 c6 u
  940. 6 g/ m: s" A- H- U3 i
  941. ; http://php.net/date.default-longitude' E1 R/ t) Y" E2 k: H7 P
  942. ;date.default_longitude = 35.23333 ^  a& ^. R' J4 I3 e- I7 {
  943. : h) e+ j  P6 \3 r% E
  944. ; http://php.net/date.sunrise-zenith
    + W) U' [& S2 `; L, r4 v  A. m1 i  R. [
  945. ;date.sunrise_zenith = 90.583333
    % k. A/ L+ x. r  @

  946. 9 O+ X; o& w& W1 Q, E
  947. ; http://php.net/date.sunset-zenith4 P" z! f* W+ l; R
  948. ;date.sunset_zenith = 90.5833334 X( k/ Y7 p! H6 {

  949. 9 L2 z7 k: L5 c0 B: D0 |3 `$ I
  950. [filter]
    ! S# P! J4 D- g) m. h0 Q: r
  951. ; http://php.net/filter.default
    6 @( N  h! O/ b' V4 O
  952. ;filter.default = unsafe_raw) m0 c1 [4 V! Z* i

  953. 5 m1 `# k8 N3 D* M6 ?( v/ ?5 i# _
  954. ; http://php.net/filter.default-flags
    # l7 a' |% ]) Y& N$ K
  955. ;filter.default_flags =
    " q' H4 J7 Q2 |- E

  956. 6 E: [( K; `/ d3 t
  957. [iconv]
    9 y8 x5 ?- P- e: J* E: ~& h
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.* `& C/ f7 j3 c# x6 C1 g9 L5 E5 d4 I
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    3 b( }" a% ]$ i+ c8 ?$ L& b
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    4 e4 a# `7 V: o4 p' V4 m: K
  961. ;iconv.input_encoding =
    * m0 u0 P4 V/ {7 Z% N( L" ]' z
  962.   @) R* k' x2 c( J5 h/ K& A- g
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    2 a# J9 U' I" q/ b. `; `0 f
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    $ x% ~- g% j+ {: o
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    ) I5 S) C2 p- D$ g5 X5 S3 k6 i
  966. ;iconv.internal_encoding =
    3 k! `2 x- t1 i) ?$ U
  967. - @2 v/ V) j9 N' m
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    . x; g6 i9 @& `
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    , e- h' X4 @* U% @; T, C9 x
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    * Z, {* k9 O/ a5 A! U+ S# i2 a
  971. ; To use an output encoding conversion, iconv's output handler must be set# m* m  K/ {6 J4 B% B; N  c3 b# O$ g
  972. ; otherwise output encoding conversion cannot be performed.
    $ _& T+ J  T# c4 o& Q
  973. ;iconv.output_encoding =- U* Z2 c* U4 A& |
  974. & V4 Z. |0 h, g+ f% A( u% W6 Z# r) P/ B8 C
  975. [intl]; ~: Q# L" o$ ~
  976. ;intl.default_locale =& ^3 h+ G& w/ w
  977. ; This directive allows you to produce PHP errors when some error: f/ v0 x* `- W
  978. ; happens within intl functions. The value is the level of the error produced.
    ! l0 x- R1 f: g; X, b' i- F
  979. ; Default is 0, which does not produce any errors.
    % \' M" Z& `; F0 s
  980. ;intl.error_level = E_WARNING
    . [0 W( s% |# A) H% [
  981. ;intl.use_exceptions = 0
    5 X; L- b) Y- H5 N: ~* j
  982. 5 i+ I1 f$ |" l0 {& M2 l
  983. [sqlite3]
      f' v% @! f9 \8 g- G
  984. ;sqlite3.extension_dir =$ l: O- s% k- v7 b: ]

  985. . P# ~4 x5 z+ G. h0 Z) u3 T
  986. [Pcre]9 H* i6 R, g% g- [; A$ o
  987. ;PCRE library backtracking limit.
    ( `/ `: O, u) t+ m
  988. ; http://php.net/pcre.backtrack-limit
    2 l, e4 J1 h( r1 T; z
  989. ;pcre.backtrack_limit=100000
    5 M, ?: V* i! g3 G; Y6 A. V8 B
  990. # i; X1 L5 y  m/ L- `0 a
  991. ;PCRE library recursion limit.
    % C/ f+ [& S7 t' I
  992. ;Please note that if you set this value to a high number you may consume all+ a3 @) p5 t* V
  993. ;the available process stack and eventually crash PHP (due to reaching the
    * W, q. H9 l. K" n4 P$ v* ]
  994. ;stack size limit imposed by the Operating System).+ S, L1 q7 W9 c: c0 v& v: ?
  995. ; http://php.net/pcre.recursion-limit
    : N7 y: I0 Z& a+ v. V0 H
  996. ;pcre.recursion_limit=100000
    " [" b& t( N" Z& J" S( }" l2 R
  997. 5 ~$ f+ q# t& j1 O$ V
  998. [Pdo]% X2 \- R3 @7 R" A0 U' C  U7 z: O
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    # _+ f: W7 i9 x+ i& |. U# {% A
  1000. ; http://php.net/pdo-odbc.connection-pooling
    * }! `+ `  [) B
  1001. ;pdo_odbc.connection_pooling=strict8 n) B# r' U8 E
  1002. 7 g6 i* S( ]- ?* H
  1003. ;pdo_odbc.db2_instance_name
    , K0 C# }7 F8 v# }/ E& b
  1004. . @# w# E1 N5 D# a/ K
  1005. [Pdo_mysql]
    " Z6 l( |: \+ I+ X% W( J
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache) l3 [9 g: i" X0 j& u
  1007. ; http://php.net/pdo_mysql.cache_size
    2 H+ V# A/ n6 F2 @1 ?8 ?
  1008. pdo_mysql.cache_size = 2000
    0 k. i2 d8 _7 g. D

  1009. 1 f; \, C" L; o* x2 ~1 v: j
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in0 K) C  B0 d& N6 k3 N& C
  1011. ; MySQL defaults.
    9 \" D% }2 r8 H  h/ t0 X
  1012. ; http://php.net/pdo_mysql.default-socket
    ( N. k8 u: l$ f3 F1 [
  1013. pdo_mysql.default_socket=
    $ |+ q. g9 M3 y) l, \6 w
  1014. 0 J# z/ {' v( j4 M
  1015. [Phar]
    ' Q* z" P8 w$ i: l: |: G9 T
  1016. ; http://php.net/phar.readonly
    6 d* g3 X: q. x& _- e7 f
  1017. ;phar.readonly = On, Y+ f4 w: j- J9 z
  1018. : @* C6 f. C% e* `  N
  1019. ; http://php.net/phar.require-hash8 h- I  z6 |9 K" M
  1020. ;phar.require_hash = On
    5 w6 p( O9 u* G5 B% g: C" T6 F
  1021. ( D. X3 Y) H2 n
  1022. ;phar.cache_list =
    . ]% l3 P) o1 {

  1023. % m( o9 b  N- h% k
  1024. [mail function]
    ' H! T# ?3 s& w" k
  1025. ; For Win32 only.; t" G  z! Q% ]# J* ~6 b+ ^3 h
  1026. ; http://php.net/smtp
    * X" X, H) X  ]2 ^
  1027. SMTP = localhost
    + s1 a1 f( X7 }9 F, a/ e
  1028. ; http://php.net/smtp-port
    % q7 k( _( u5 y9 h- k4 G8 l
  1029. smtp_port = 254 h6 z& ~- u9 ]7 q
  1030. ; O& A" V7 c' r6 u+ R1 f
  1031. ; For Win32 only./ t# j5 `' {9 Q1 Q0 x. `" K  }
  1032. ; http://php.net/sendmail-from4 _! ^1 ]9 V$ h  p( I
  1033. ;sendmail_from = me@example.com/ y# r$ T/ N: {- f1 j7 K
  1034. ) ^/ }& ], [4 d# x
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    - e  Y9 c) |+ v; U4 _
  1036. ; http://php.net/sendmail-path
    / X! P/ L2 w* {# j2 F
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    - X- Z$ Q  \' |' o0 u3 h' D
  1038. + B1 G9 u3 n  c2 k5 E
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    8 _/ I7 X3 [2 \, ?
  1040. ; to the sendmail binary. These parameters will always replace the value of* ^8 {! d) w) y
  1041. ; the 5th parameter to mail()./ ^" m! i/ G  g
  1042. ;mail.force_extra_parameters =! g$ Q: l6 E' a3 x6 @! i

  1043. 7 X* |' v( e/ f3 A6 K5 C+ V7 M3 p* {4 U
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename+ U. S; m8 f6 i- X) E
  1045. mail.add_x_header = On
    5 y( e# l5 G2 R( y9 L
  1046. 2 q' s% t$ S2 Z. \- @% W
  1047. ; The path to a log file that will log all mail() calls. Log entries include* D2 p, G7 }* H; S# g9 D) V
  1048. ; the full path of the script, line number, To address and headers.
    6 ~: x+ t1 g. @# [5 a0 u
  1049. ;mail.log =
    # n  Y) x2 U2 P4 Q: u; V
  1050. ; Log mail to syslog (Event Log on Windows).
    5 I' q! N! q$ V. ]
  1051. ;mail.log = syslog
    7 g; o+ e: i2 g( m, v5 z( X

  1052. / B5 g$ l- k, Q2 s* c
  1053. [SQL]
    - e' W1 ^, T1 ?2 f" ~1 q4 a3 `
  1054. ; http://php.net/sql.safe-mode. e( c- }  f( i& J! S  k* F5 J. u
  1055. sql.safe_mode = Off, m# w3 s& _2 s4 A- C
  1056. ( K0 o  D0 F% V
  1057. [ODBC]
    $ ^6 H# Z8 E: f" D( r# T. D
  1058. ; http://php.net/odbc.default-db
    8 F' ]( k+ T$ h# F) y5 @: C# ^" z, w
  1059. ;odbc.default_db    =  Not yet implemented
    7 |9 Z, G" _+ ]& p% T, h. R8 M

  1060. * W2 q6 x3 v8 k. Y/ X
  1061. ; http://php.net/odbc.default-user
    & r( H6 V2 U. e$ q) }* Q
  1062. ;odbc.default_user  =  Not yet implemented& q, r0 {4 F# M* f; `
  1063. 1 ^1 [9 {. D0 E  Q  x
  1064. ; http://php.net/odbc.default-pw
    & n, {& }- j# T3 x7 \9 j% J
  1065. ;odbc.default_pw    =  Not yet implemented: `& y9 v  N! d0 M

  1066. " d# @6 U2 ]- O* ?& N  R; D$ H
  1067. ; Controls the ODBC cursor model.  F2 u3 Z- D1 ^% V4 V
  1068. ; Default: SQL_CURSOR_STATIC (default).. {- l# U* h% E/ ]/ D
  1069. ;odbc.default_cursortype
    8 R: _2 o8 }) h9 E4 T

  1070. ) s1 a% A; Q+ n/ r2 \8 n% a
  1071. ; Allow or prevent persistent links.5 A  e9 a; h( l/ y0 e
  1072. ; http://php.net/odbc.allow-persistent
    , }8 f& Y* s+ t8 g/ R2 D* h
  1073. odbc.allow_persistent = On* ~& l( f  V7 D# E( |) u( X8 @

  1074. * L9 T2 `3 R$ @* I, W+ O
  1075. ; Check that a connection is still valid before reuse." J  o- ]8 X. _
  1076. ; http://php.net/odbc.check-persistent' b; l4 l4 z5 }/ D* @+ V! Z9 l: P, H
  1077. odbc.check_persistent = On
    ; F2 m, j- x) U  I2 l
  1078. ' D. i4 c" q; D9 {
  1079. ; Maximum number of persistent links.  -1 means no limit.4 f- ~& n+ H% G6 K
  1080. ; http://php.net/odbc.max-persistent
    ; F8 |0 v7 ^6 j0 a' o3 K. u' @
  1081. odbc.max_persistent = -1, c+ g* ~& K, {" a9 K" n1 O
  1082. : t! z; B( {& T- E- ]
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.( K3 x" d; {$ ?% h
  1084. ; http://php.net/odbc.max-links
    " P0 u$ j( U, e
  1085. odbc.max_links = -1
    0 H1 f: _4 P( ?+ c  K
  1086. * e4 |& M0 j6 ^6 h5 r
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    - M5 g# j; Z# _$ b* y, L. x; c! j
  1088. ; passthru.. Z% A  ~$ P6 Q/ X& L. J
  1089. ; http://php.net/odbc.defaultlrl
    2 n/ W9 \) j  ]  a. n
  1090. odbc.defaultlrl = 4096
    ; ~  J, C, W7 w  [& ]

  1091. 2 R4 d0 J: T8 q# G# r. ~6 J  |6 P
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    % S! J. r; [2 I8 f, r" Q) W
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation# ?4 f! H7 ~2 |5 z3 G% J" U% R
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode9 n: n) J: ]/ y8 |2 d: Q
  1095. ; http://php.net/odbc.defaultbinmode
    % c" V1 s6 {, r6 r/ E
  1096. odbc.defaultbinmode = 1$ n9 s! V9 x- j+ F5 c/ n# B
  1097. 2 N" q( t. i' S+ c
  1098. ;birdstep.max_links = -1
    0 C' ]' C4 @- ]- f; ?

  1099. % O; I( ^8 Z/ Q9 `
  1100. [Interbase]5 l4 p* D" j+ R  `8 ~4 }; b. u! C
  1101. ; Allow or prevent persistent links.
    9 u+ m. w) @; ]8 X
  1102. ibase.allow_persistent = 1
    8 x0 L5 M; I0 H+ F  z- j& p
  1103. 7 `' [* e, H1 Y0 u2 w
  1104. ; Maximum number of persistent links.  -1 means no limit.
    & }& q: F+ K% O. O% s7 V( u
  1105. ibase.max_persistent = -17 g7 e4 H8 X) P2 G$ |* W" {9 b; s
  1106. & L$ O  R6 U# ]7 c* w
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ! ^0 U7 M9 _' q$ {  l6 C/ t
  1108. ibase.max_links = -19 d$ T! Y# e& b  Z% f6 i
  1109. 8 _$ i4 k: u4 C2 t
  1110. ; Default database name for ibase_connect().
    " r, ?5 W5 X! v6 y7 K
  1111. ;ibase.default_db =- `. p8 [6 {$ x
  1112. ' H8 y7 u% @' w; ]( X, M
  1113. ; Default username for ibase_connect().
    1 j. j7 p0 G0 v7 M6 V
  1114. ;ibase.default_user =* \, t9 O# E, [

  1115. 1 P2 M2 H+ Z$ E! P% V1 {
  1116. ; Default password for ibase_connect().
    , w' s* r+ t. C1 v: i: }
  1117. ;ibase.default_password =+ [5 e! g9 J8 X
  1118. 9 m' i, G  ^) g) ^
  1119. ; Default charset for ibase_connect().
    9 n6 V6 j# _" m5 K4 K5 E# Q
  1120. ;ibase.default_charset =
    8 o5 f# o' Q" J6 u4 U: p4 D
  1121. 4 I# a) W9 Z/ y3 L. L- t/ f
  1122. ; Default timestamp format.) }& r9 P: D, U( J% h8 f0 V
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"6 K3 C7 r# v" I2 _
  1124. / C$ g8 @0 ~& D9 |$ v
  1125. ; Default date format.
    ! K& H! a( v4 \
  1126. ibase.dateformat = "%Y-%m-%d"
    % Y" [+ \" \- C* ^
  1127. 8 K: w. C9 \# g/ r! q! @& p7 w
  1128. ; Default time format.5 q; J4 l  I! `- C
  1129. ibase.timeformat = "%H:%M:%S"
    9 o: R; j( }/ i  j* M

  1130. 2 `; }( X6 z* Q
  1131. [MySQL]
    9 p& m0 I6 _1 D+ a6 p# {
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements' p1 n* J7 f- H+ q) @
  1133. ; http://php.net/mysql.allow_local_infile
    * c' Z0 L) Z$ K( r# p: f$ ~3 I  V
  1134. mysql.allow_local_infile = On
    / }5 }8 I) n' }8 E1 N1 \
  1135. $ c: f; `8 [7 {2 }
  1136. ; Allow or prevent persistent links.* F. |# L' z/ l6 k( X9 ^5 @1 ^
  1137. ; http://php.net/mysql.allow-persistent
    & r# [5 ?* ^8 p6 q. q1 D
  1138. mysql.allow_persistent = On9 m' L9 p' R7 B3 q7 f+ \& J% s

  1139. : A8 s1 N! }/ ^
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    + \/ L7 Q  g: I1 K4 u
  1141. ; http://php.net/mysql.cache_size9 [( g* F- ^0 l8 Q8 Y
  1142. mysql.cache_size = 2000+ \) |( k! g* E0 b% F2 B' t3 @0 ~0 V
  1143. 3 n; s* @- Y) T, N: k# ]/ j; s
  1144. ; Maximum number of persistent links.  -1 means no limit.
    # D. Q; \! [0 s7 J1 b" p
  1145. ; http://php.net/mysql.max-persistent
    1 \5 S- t: t9 G! |7 K( s
  1146. mysql.max_persistent = -1
    * F$ @* K' l3 h, `- R# x; `

  1147. 6 t3 W/ F! d  [9 N6 o0 [3 q
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.# g9 B5 e8 J9 L+ O
  1149. ; http://php.net/mysql.max-links1 g) w! P! Q7 W4 t6 e/ X0 e
  1150. mysql.max_links = -1+ X4 F+ ]: k7 C) y2 P# c
  1151.   ^7 [! a  U2 N. N6 B$ h& y2 \
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    ; k) x- x. C: S
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    0 y$ g* \- B) d! g: b
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    % Z3 D& ]: d- Z* o  W; R1 w4 h
  1155. ; at MYSQL_PORT.
    6 d% |$ N8 ^' g6 _3 [$ W: R/ I
  1156. ; http://php.net/mysql.default-port
    5 W$ e: v2 O& r- j* f
  1157. mysql.default_port =
    , N! [. Q- L' r& X! [7 ^
  1158.   M4 ?( D" H% K2 n- T# W4 D& l9 K
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    $ x$ n  a* T& Y$ l7 @$ K; \! w
  1160. ; MySQL defaults.
    ( Q" k# i, ?5 @' J% w# N/ ?3 q* [  I0 I# L
  1161. ; http://php.net/mysql.default-socket
    7 r+ ^8 p/ s" X" i. D1 [+ z& M
  1162. mysql.default_socket =
    4 K" S2 T- x6 P$ v. ~) b. J
  1163. $ w0 H5 \- P, u8 z
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).) d) G+ {" H% {' u& C
  1165. ; http://php.net/mysql.default-host
      w( r2 |+ L9 S/ S4 a9 Q; U1 E
  1166. mysql.default_host =  W! k1 D( [4 s, w! M9 P
  1167. % [$ k% f) e* C7 [
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode)." p# V) q/ k' Y5 {1 z2 g& M. A
  1169. ; http://php.net/mysql.default-user
    ( V, K/ n3 Z5 o/ G  N. J
  1170. mysql.default_user =
    ! @1 p( k' H! |) ~3 e6 L
  1171. $ U4 l" {: i8 `- b
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).
    . d3 n1 P, P1 d* @. X! J
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    " |1 x9 l4 \) a. |
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    1 r4 G* `. b0 Y9 D! ]. P; G2 i6 Q
  1175. ; and reveal this password!  And of course, any users with read access to this7 J' t% l0 i$ B% \: Y# g. w
  1176. ; file will be able to reveal the password as well.
    5 i4 n8 s% v. a0 U
  1177. ; http://php.net/mysql.default-password
    2 V8 q, ^8 Z; k' `- d7 d' c
  1178. mysql.default_password =
    + _4 P# d+ K/ `" c; a) A
  1179. : z5 s& }( s& B2 W6 r: ?: v
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit7 T0 T1 y, a$ n
  1181. ; http://php.net/mysql.connect-timeout& v8 c. A- O5 n. l6 {9 L- D7 w
  1182. mysql.connect_timeout = 60
    3 W7 H) i7 [' Q! j! V

  1183. " _& X9 t3 ~( a; h
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    6 F9 P: E0 o; E! M1 b, U1 u! u
  1185. ; SQL-Errors will be displayed.( y8 i% ^8 U( h
  1186. ; http://php.net/mysql.trace-mode
    6 S& [7 F% }0 y0 j" q# M2 b
  1187. mysql.trace_mode = Off+ m! E' [+ k! `( e$ \0 y
  1188. 0 W6 L  [& I2 O) J
  1189. [MySQLi]5 x' D& u- r' A! d' e

  1190. ; o' l2 t0 c7 H1 N  r1 N
  1191. ; Maximum number of persistent links.  -1 means no limit.
    6 ~  Y% `; J2 F4 w  I+ w3 Q+ ?
  1192. ; http://php.net/mysqli.max-persistent
    * Q% j7 d8 a% T8 `; w( T' n
  1193. mysqli.max_persistent = -1; m% t0 N/ p, X5 a

  1194. - C1 K6 P) J2 n7 ~
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements: Y; @4 U) O  ^1 A1 E# z: w* ?$ @
  1196. ; http://php.net/mysqli.allow_local_infile0 f( K, O( C% C; S% O0 l+ m
  1197. ;mysqli.allow_local_infile = On) ^+ b+ C3 V; ~% }0 [
  1198. 4 T/ w/ g: r9 N2 @
  1199. ; Allow or prevent persistent links.4 d& [6 b8 \4 N3 }: `# V3 _+ i
  1200. ; http://php.net/mysqli.allow-persistent) j6 S% {  u5 f3 I$ I. a
  1201. mysqli.allow_persistent = On$ u6 t* T! P2 q, _7 Y- x

  1202. ; r0 Z8 b: T' X0 b) ~
  1203. ; Maximum number of links.  -1 means no limit.  r7 P3 s& m# w
  1204. ; http://php.net/mysqli.max-links/ F8 h( W' R: |; b" W0 F
  1205. mysqli.max_links = -1
    + z6 r, ~% Z/ K+ v! ^  m

  1206. ' ^" d# m8 N# B4 o
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache9 @: f* B- T" c  ^+ r
  1208. ; http://php.net/mysqli.cache_size
    ( R3 t" \+ h; B8 w
  1209. mysqli.cache_size = 20003 ]2 V; Z' h9 `/ o5 Z8 ~
  1210. 5 Q" |  z2 h9 _9 k5 j+ [
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    ) S2 b+ R* n$ N" N5 m8 E. u; \' I
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the) Q' V) A! U! p9 U; n2 [
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look8 E% k; G4 k6 N9 }
  1214. ; at MYSQL_PORT.% L9 Z+ g' G9 X5 h/ a! g
  1215. ; http://php.net/mysqli.default-port
    0 i- j- `3 F4 I) B* O5 J
  1216. mysqli.default_port = 33065 E: {+ A3 B; T" }2 w7 @' a" q$ V
  1217. " P$ Q- S# I" p& v/ }9 s9 T; M. l
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in/ |5 j" P2 r5 V3 a# h$ ~$ L. D
  1219. ; MySQL defaults.
    ) Q3 w* O1 o$ }' m
  1220. ; http://php.net/mysqli.default-socket9 G3 y: \  L- P! ?1 m" ?
  1221. mysqli.default_socket =
    0 f# \) [7 J" E% T
  1222. / j3 n0 {! c) d
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).2 x& M# \3 P; A6 K
  1224. ; http://php.net/mysqli.default-host* |9 m3 z' _" J: E$ J( ]
  1225. mysqli.default_host =( T9 L4 ~+ e* B
  1226. 8 s  F( `; s- u) w7 |& h: I8 n8 i
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    # c, [1 U. |6 v9 m. R" v6 G
  1228. ; http://php.net/mysqli.default-user% r3 \# L& Q5 G: S
  1229. mysqli.default_user =
    * g" {( j5 A) W) y" [) N3 L

  1230. " _9 U' \4 a' D2 G8 q8 @* b/ k
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    ( _$ X8 Z$ w9 a' n
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    ' O1 `1 L) N0 g: `& J
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")( g5 [( H& t" g; _. i
  1234. ; and reveal this password!  And of course, any users with read access to this1 v7 E5 S+ \5 B
  1235. ; file will be able to reveal the password as well.  ]0 V( @. l; L8 l& c3 {' {
  1236. ; http://php.net/mysqli.default-pw  T3 j# p- O, R1 Z7 h
  1237. mysqli.default_pw =2 Y6 [5 z, U8 Y3 o5 ^8 q  [
  1238. + g( B" ?, [7 K: Y3 u
  1239. ; Allow or prevent reconnect
    . ~* {+ a0 E' g4 P
  1240. mysqli.reconnect = Off
    0 X1 W6 V; X; p% F/ Q) X
  1241. 4 ?$ V( y+ Y5 U/ s
  1242. [mysqlnd]
      s/ L- M, W- }  T3 |$ f8 G
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    ; J: O& ]6 r0 t( t; p$ r1 |# {
  1244. ; used to tune and monitor MySQL operations.
    , G6 z- W; C! P) p
  1245. ; http://php.net/mysqlnd.collect_statistics6 C# A: c) g3 L6 }
  1246. mysqlnd.collect_statistics = On
    ) h# Z% c, @/ Z( h- D

  1247. ; \4 ~: k* `; i3 G' h
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    0 a, `; I1 \- W& a! ?/ v# i
  1249. ; used to tune and monitor MySQL operations.
    / H! H7 e) c9 \1 Z6 S
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    - }$ u& n: C* ?* g
  1251. mysqlnd.collect_memory_statistics = Off; \3 _( U* B" P; z4 _  p  x+ p) q
  1252.   \0 T# n6 X& D' }4 n0 c& V3 v
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    % }, V7 ~" d9 A
  1254. ; file.
    * \2 m4 {  b( |7 c( ^4 H
  1255. ; http://php.net/mysqlnd.debug
    + B: I0 G. I; ]9 L1 B
  1256. ;mysqlnd.debug =% @6 l2 E) j) _9 T: ~4 B
  1257. ) M2 k% v4 V- S! Q1 L) I
  1258. ; Defines which queries will be logged." G) u9 e) `3 g( T4 \1 K- [  ~
  1259. ; http://php.net/mysqlnd.log_mask% u+ ?5 m# `( _8 g9 d
  1260. ;mysqlnd.log_mask = 0
    9 h( t2 B/ T1 y

  1261. 1 q0 B4 r+ n6 @8 Z! I
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    : ^, ~0 y+ n4 n& L
  1263. ; http://php.net/mysqlnd.mempool_default_size0 E7 _4 ^* t- `4 N0 U& q5 u
  1264. ;mysqlnd.mempool_default_size = 16000
    ! T* r- i, d: G* q9 D7 F" c
  1265. ( r+ P1 e' g' b8 V, K, c# ]( o, Z
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    $ V. B6 R6 I2 ^+ |% B1 D/ d
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size0 f( y+ p* e' |/ m
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    1 [- u% m) i5 D
  1269. ! K$ j$ C& s9 U: ^; [, \5 n
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    * i- [. ]: h3 n9 @8 W( D
  1271. ; bytes./ {  W; M3 {4 M6 n
  1272. ; http://php.net/mysqlnd.net_read_buffer_size" C1 s1 U8 m2 t" b3 @3 g
  1273. ;mysqlnd.net_read_buffer_size = 32768
    , c6 k4 ]$ `: y
  1274. & ^* F  B/ {3 i6 d
  1275. ; Timeout for network requests in seconds.4 \1 z8 d2 q1 j# U5 K$ \- z
  1276. ; http://php.net/mysqlnd.net_read_timeout
    3 @( I; `; p: ?5 C2 i' T6 d
  1277. ;mysqlnd.net_read_timeout = 31536000
    : g8 P1 b) h  Y& d! {% Y3 E1 k

  1278. 8 L5 t( Z/ M+ @& {* T# _$ s
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA: l- i, E5 H5 {. P; f: z4 j  }
  1280. ; key.
    " f$ j& G. \+ Q+ ?
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    6 z2 z: c* D  n0 |4 L
  1282. ;mysqlnd.sha256_server_public_key =$ X+ Z$ ?$ ~2 H3 X( C/ O/ a" G

  1283.   l6 k* X) a& K6 W
  1284. [OCI8]! _& W7 l* s& m7 x; V4 u: i6 V& ]

  1285. ; o$ R& \; z+ \6 c
  1286. ; Connection: Enables privileged connections using external$ f% Z/ J: B- P& O
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    . O# j% Q' y4 {/ o% v( w( h+ H
  1288. ; http://php.net/oci8.privileged-connect
    + ~% k$ f0 |9 t
  1289. ;oci8.privileged_connect = Off: G+ X0 Q; Y3 C! B" j) u! c) k

  1290.   U6 v. F1 B* p, u
  1291. ; Connection: The maximum number of persistent OCI8 connections per2 }9 ^3 g. @, J! f
  1292. ; process. Using -1 means no limit.
    0 |0 Q: s0 C7 F) o% h8 z
  1293. ; http://php.net/oci8.max-persistent
    + `0 C! |) `4 _% g& T
  1294. ;oci8.max_persistent = -13 ?) _8 V% e: ^$ p( h/ k: B) |
  1295. 1 S" {7 b. [  c4 h' s" Q
  1296. ; Connection: The maximum number of seconds a process is allowed to
      X. a! T1 N- k
  1297. ; maintain an idle persistent connection. Using -1 means idle
    . R7 x$ z4 J7 |( ~  w) {4 T% I- `
  1298. ; persistent connections will be maintained forever.9 L+ E7 ~- B$ h0 T
  1299. ; http://php.net/oci8.persistent-timeout
    . i# i; Q$ a" ^  h  M  u5 d; C# t
  1300. ;oci8.persistent_timeout = -1
    " _8 }$ z1 L: h. Y* v: \, p
  1301.   X# t/ O9 Z, Z! W, C$ N
  1302. ; Connection: The number of seconds that must pass before issuing a
    8 I4 T% G0 t/ t$ W4 C  E: B
  1303. ; ping during oci_pconnect() to check the connection validity. When# W" L3 l5 C+ n: D2 R8 w
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables/ r/ X( ?  S7 J
  1305. ; pings completely.8 @- V# P, L0 ^$ X0 N
  1306. ; http://php.net/oci8.ping-interval
    ) p- n5 h8 X3 K8 ^
  1307. ;oci8.ping_interval = 60
    6 P/ g/ d4 w; r" n! q
  1308. % T" V$ e+ v0 j$ s, Y9 k  l; l: i
  1309. ; Connection: Set this to a user chosen connection class to be used  Y; Y% a' t+ X4 ^/ y& E
  1310. ; for all pooled server requests with Oracle 11g Database Resident* U' t5 {9 i9 |! b( L$ U
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to8 G- F# r3 w: H" [6 Q
  1312. ; the same string for all web servers running the same application,
    ( U+ O  S6 |7 v
  1313. ; the database pool must be configured, and the connection string must" d2 E* k7 t, x/ }' W8 e2 J
  1314. ; specify to use a pooled server., n4 M$ W9 ]& R6 E
  1315. ;oci8.connection_class =3 T  {( k7 Z" ~% U
  1316. % T: Y9 z$ T+ i& i
  1317. ; High Availability: Using On lets PHP receive Fast Application
      Z7 f8 v/ y1 _4 {7 M3 Y
  1318. ; Notification (FAN) events generated when a database node fails. The
    - q- Y9 b  d- H1 D. \" ?+ Y! J
  1319. ; database must also be configured to post FAN events.( m5 B$ }- Y6 G0 R6 v
  1320. ;oci8.events = Off
      d7 W# E+ ~% P; K6 b

  1321. / g& ?. g" I7 `9 S  q) s" s
  1322. ; Tuning: This option enables statement caching, and specifies how6 T" B& O4 z4 B% _
  1323. ; many statements to cache. Using 0 disables statement caching.5 [( l/ D- s# A7 m1 S! r" X
  1324. ; http://php.net/oci8.statement-cache-size8 \/ g8 `% `7 g* K
  1325. ;oci8.statement_cache_size = 20
    + W0 s4 R) E! V8 O) C6 u. ]
  1326. 8 p& f/ T* Y/ }1 @
  1327. ; Tuning: Enables statement prefetching and sets the default number of- ], U0 D! Y9 s, A. A- `: f/ M
  1328. ; rows that will be fetched automatically after statement execution.6 _# j0 ~0 M# J- u
  1329. ; http://php.net/oci8.default-prefetch
    2 v8 G7 }, t# g7 [& y7 e1 Y8 Z" q
  1330. ;oci8.default_prefetch = 100
    8 L$ ^1 w; N! }5 ~' d. m. J! N
  1331. , d' H7 N8 |/ q4 V
  1332. ; Compatibility. Using On means oci_close() will not close- x) g+ t+ K, E
  1333. ; oci_connect() and oci_new_connect() connections./ `2 u) c3 R' j: M2 m( i7 z6 n
  1334. ; http://php.net/oci8.old-oci-close-semantics( z! o& h# s, X! F
  1335. ;oci8.old_oci_close_semantics = Off
    8 Z% R* t: o1 V' `# T
  1336. 2 ^. z$ i. A! ~- f0 s. k
  1337. [PostgreSQL]9 K. `2 ]) m, W# m
  1338. ; Allow or prevent persistent links.  P' e( E  q( {: v* h! {
  1339. ; http://php.net/pgsql.allow-persistent
    1 e+ k" m0 h8 s, m& w3 R3 h( h
  1340. pgsql.allow_persistent = On2 ~7 o+ n. R8 s8 U9 |
  1341. ( k; @! K! r  n: P  ]# f3 U
  1342. ; Detect broken persistent links always with pg_pconnect().
    / n4 s" u& `: F- C
  1343. ; Auto reset feature requires a little overheads.
    , [- j) b) q# s) z, _' k. c: l
  1344. ; http://php.net/pgsql.auto-reset-persistent5 G1 A- m1 s1 q
  1345. pgsql.auto_reset_persistent = Off
      R# i$ ~. O+ i+ G+ R. t
  1346. / q$ d9 x2 H$ G( g
  1347. ; Maximum number of persistent links.  -1 means no limit.
    3 q! T/ S7 g, ~+ z5 \( |/ K
  1348. ; http://php.net/pgsql.max-persistent
    9 L, ~( m0 i, e, U+ K" R
  1349. pgsql.max_persistent = -1
    ; B: Z" v) _9 W. `; e

  1350. ) l7 G2 q, {5 U( C& a
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    ! k' F+ Z; n9 A( W0 t& w
  1352. ; http://php.net/pgsql.max-links8 _) D( S7 s/ N# [& D) {; W: ~
  1353. pgsql.max_links = -1
    / }; ~% @* E$ D6 S4 |; L. [# ?

  1354. 9 t1 G1 ^: {9 h7 x; ]" a0 s0 I$ u) M
  1355. ; Ignore PostgreSQL backends Notice message or not.. O1 h# B- B0 w# T9 P/ Z5 c7 z
  1356. ; Notice message logging require a little overheads.
    & K5 r$ g$ l) _7 I4 N. w
  1357. ; http://php.net/pgsql.ignore-notice
    . l3 h2 D% I4 \: d4 {$ f$ t
  1358. pgsql.ignore_notice = 0% f1 K$ w- S% b% K! x2 n0 E( M
  1359. 8 f, z# C4 M1 u" R4 ]: {
  1360. ; Log PostgreSQL backends Notice message or not.4 o# |& ^% d# g$ X: L5 e
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.& H# c# w; ~; D
  1362. ; http://php.net/pgsql.log-notice0 w, b0 i  z+ I+ W0 T! r5 ]9 Q3 O9 [
  1363. pgsql.log_notice = 0
    , B7 e3 G0 ]7 x, X  A
  1364. 6 N! m: k& _6 k% \5 `
  1365. [Sybase-CT]
    7 j# A2 F: @9 j3 u
  1366. ; Allow or prevent persistent links./ Y2 a# u; Y8 f' W8 `
  1367. ; http://php.net/sybct.allow-persistent
    ( e; J$ o. V" \& Z
  1368. sybct.allow_persistent = On. k" M" R4 u! n. n

  1369. + Y6 f0 _' H; f5 p' P9 G7 T+ s" k
  1370. ; Maximum number of persistent links.  -1 means no limit.
    + A5 w$ z9 H: T7 S/ M: |, j4 L4 V; ~
  1371. ; http://php.net/sybct.max-persistent
    ; G* ?8 D, y- L, `
  1372. sybct.max_persistent = -1
    ; d+ S( B/ y' o3 I5 H- y6 ?' A" @
  1373. ) p8 F% L8 \7 c6 a! d/ v2 C
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit., n6 h2 \7 H/ F
  1375. ; http://php.net/sybct.max-links( s( v( B0 K/ Z1 r% C& |
  1376. sybct.max_links = -1
    ) j( H* u, Q  l2 I( b) V
  1377. " T6 x5 I, {- G, N) X* b$ X  ^. F
  1378. ; Minimum server message severity to display.4 U7 H. _( E/ C  Z+ U
  1379. ; http://php.net/sybct.min-server-severity
    5 r! b$ `: H3 [9 @9 \7 h: T
  1380. sybct.min_server_severity = 10
    + x  W. j# J/ @
  1381. # w( c5 D. k* N2 o7 M
  1382. ; Minimum client message severity to display.( N. o- ^! ]# T( J$ R; T  a/ k
  1383. ; http://php.net/sybct.min-client-severity) j2 d; s1 h1 [$ H) V' o" o) X
  1384. sybct.min_client_severity = 10& B( D/ f) o; {. f) v
  1385. : l$ ]* x) z& `; N: v' B" r
  1386. ; Set per-context timeout$ N. [" k' w. q6 o1 t) s' p
  1387. ; http://php.net/sybct.timeout* z9 w4 t0 J* Y& X) }1 ]% _  V
  1388. ;sybct.timeout=, {$ H! T9 E' w8 a- F1 c/ N8 W
  1389. ) o/ k3 q8 F/ _8 n
  1390. ;sybct.packet_size
    # n, d( U* h, x* L, a1 m4 Q% B
  1391. ) n) t8 l* c  O) W7 G; l
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    . n7 G" J5 ]0 E+ z  D5 @2 V
  1393. ; Default: one minute* V; U' U" ^% B0 c) ?) Z: _8 p
  1394. ;sybct.login_timeout=* _- q, X! o9 U. e( r" N; i2 \: s

  1395. 2 p2 E2 I! h' y9 ^$ ]* Z
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    + s' k+ p# n9 ?4 I# g5 h
  1397. ; Default: none- V  f0 N" x+ O& W: Z3 N# B6 S
  1398. ;sybct.hostname=4 L3 q3 `' G( G3 K1 I" f% A

  1399. " G7 b5 |' ?9 w2 j
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    6 |$ Q; w% a: P5 |" N" ^" e
  1401. ; Default: 02 f& h/ @8 C* B7 \
  1402. ;sybct.deadlock_retry_count=
    " u) {& N) v5 H

  1403. / g  {- M$ m; G: I2 `( T# e6 f0 x3 f
  1404. [bcmath]
    ) ~, L8 m& a. {0 q) P# [" y; G
  1405. ; Number of decimal digits for all bcmath functions., A: |' d2 q6 Q6 S$ ]% h
  1406. ; http://php.net/bcmath.scale
    0 h7 g+ }$ M+ b
  1407. bcmath.scale = 0
    0 S) G2 N9 d2 }$ L0 H
  1408. ! t( z3 w# Q* @8 P8 G
  1409. [browscap]; X# I* `. r8 T) f
  1410. ; http://php.net/browscap' V% _: u, P( y) q# X
  1411. ;browscap = extra/browscap.ini
    7 ~7 q/ {1 W9 Y% k& P) ~

  1412. ) X. X# h* _$ n# I) ]+ y1 E3 C
  1413. [Session]
    0 @% W( F/ d4 S
  1414. ; Handler used to store/retrieve data.1 k7 n# ?4 _& y
  1415. ; http://php.net/session.save-handler/ i3 y: c7 j- I. }
  1416. session.save_handler = files" ~" r  ~9 O6 \  b# G. z
  1417. ' c, K3 S0 Y9 O( d/ R& R% ~9 r/ B! p% J
  1418. ; Argument passed to save_handler.  In the case of files, this is the path$ x9 H1 g2 e9 b- k- N% g
  1419. ; where data files are stored. Note: Windows users have to change this6 I: k0 ^2 u8 Q, |# Q- M
  1420. ; variable in order to use PHP's session functions.: ^( I" s! A$ y3 T9 m+ o4 b! T
  1421. ;. n5 S4 {3 l' ]$ r. e
  1422. ; The path can be defined as:2 U4 Z3 O* d6 W. c& A/ d
  1423. ;: L" q$ f+ Z6 X( v6 H6 g- U
  1424. ;     session.save_path = "N;/path"
    1 ~# z* C0 I7 K" K, [0 d& g
  1425. ;/ H) ]: `# O  ]' p
  1426. ; where N is an integer.  Instead of storing all the session files in) \0 G, p* t/ R
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    - Y! J7 r* }# [" t& y$ z
  1428. ; store the session data in those directories.  This is useful if$ o" w; N. n& U8 @5 G$ N/ L! g6 ?
  1429. ; your OS has problems with many files in one directory, and is; l" }% V% i  c, f% U% w$ G
  1430. ; a more efficient layout for servers that handle many sessions.
    9 n4 V9 O9 R, g" Y
  1431. ;' G5 Q1 ?. S. `1 Y
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    6 D! R- I% Y; N( u! }  n
  1433. ;         You can use the script in the ext/session dir for that purpose.; |9 D' _0 D8 C
  1434. ; NOTE 2: See the section on garbage collection below if you choose to) R' m/ W- V( A: S; v6 ^
  1435. ;         use subdirectories for session storage
    , w: k9 ]( L' X" u4 A0 C+ l
  1436. ;
    - g# X4 @% A& H1 [7 A! N4 j) O
  1437. ; The file storage module creates files using mode 600 by default.
    " e: T7 |8 s6 a
  1438. ; You can change that by using- {0 b7 Z* |0 i( R5 B% ]" o, J
  1439. ;
    1 Y; U5 m  N, R9 n' g
  1440. ;     session.save_path = "N;MODE;/path"
    ) B: r/ D. p! i. m7 a& C9 Q
  1441. ;; o7 |+ z$ |. Q- J8 Y/ M
  1442. ; where MODE is the octal representation of the mode. Note that this! F/ E' L& F! g# P
  1443. ; does not overwrite the process's umask.+ Y0 I9 ]; N# X$ T4 n
  1444. ; http://php.net/session.save-path! s" ~0 O! V! ^& _) U" D8 u2 C8 Z$ C
  1445. ;session.save_path = "/tmp"
    ) _, ^! k# {; Z8 z
  1446. , S9 P: M; d: v7 a- j
  1447. ; Whether to use strict session mode.
    9 |3 K6 c4 Y. r( B: e% h
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    6 T# D" {, X6 ]& M/ o
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects8 H% f9 M( B' j) L* A  G. g
  1450. ; applications from session fixation via session adoption vulnerability. It is8 L' T6 K4 R% T5 k; v
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.: R3 v7 A8 B! A( e0 L6 q
  1452. ; https://wiki.php.net/rfc/strict_sessions& p. V  l! Q: u1 m3 T: N
  1453. session.use_strict_mode = 0
    ! O. E2 S/ i  }* ]9 c

  1454. ' F# U7 k) H! k  i# {9 s  W2 H& r
  1455. ; Whether to use cookies.
    1 ?1 g9 d8 a; z
  1456. ; http://php.net/session.use-cookies1 |/ ^6 Z# i! Y1 C
  1457. session.use_cookies = 1
    5 A* ?; P8 R) E) N: x4 G

  1458. # @6 P; l% ~5 f% @% N
  1459. ; http://php.net/session.cookie-secure( M. Y) i# S4 T3 w) j
  1460. ;session.cookie_secure =4 S4 X' l: K0 Z& s

  1461. 5 {/ R4 G6 O: G# K3 |0 h$ ~3 F4 Z
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    7 l0 |* m0 Z* G/ z* C& _4 d
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    % S0 q$ P$ Y* v" v; e* Z! \' ^
  1464. ; session hijacking when not specifying and managing your own session id. It is2 q, x9 s: _7 R* [- U& p* ^0 u
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    / l0 d3 v2 D7 c4 I* B* J
  1466. ; http://php.net/session.use-only-cookies
    5 a) K) F7 `7 q2 c$ ]
  1467. session.use_only_cookies = 1
    , J! o# F! W! v- F0 i' c1 f

  1468. ; F* i1 |! \+ k! B; M
  1469. ; Name of the session (used as cookie name).% S* a* {" J1 P2 }% L1 F
  1470. ; http://php.net/session.name7 w3 d( ~& k# P# |0 V/ r
  1471. session.name = PHPSESSID- C, q# O6 o7 v7 Q/ H5 Z$ D) ]
  1472. $ L1 T, Q2 j2 L* y1 x
  1473. ; Initialize session on request startup.4 T  a3 S( W1 v$ L8 L3 h
  1474. ; http://php.net/session.auto-start: J& {# y8 W' R9 v2 ]3 C
  1475. session.auto_start = 0
    3 a3 z! k' D) m
  1476. 8 A2 {  c' `% \
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    ) [' t  i: ~* k' k1 z
  1478. ; http://php.net/session.cookie-lifetime
    7 _: n3 y2 d. }. T# ^4 d
  1479. session.cookie_lifetime = 0
    . F$ T9 |9 u  g1 d3 B) K7 q9 R
  1480. - V4 H: \4 ~* u" D' M! X
  1481. ; The path for which the cookie is valid.( ~9 p3 l( ~3 F! o- C" r
  1482. ; http://php.net/session.cookie-path
    1 g3 A- L' n# V7 y# w5 Z6 ?
  1483. session.cookie_path = /2 G- {! G8 I" L* d. I# R5 O

  1484. 5 K7 H5 g3 M' v& j
  1485. ; The domain for which the cookie is valid.; l  O4 g* `  I/ m: D
  1486. ; http://php.net/session.cookie-domain
    6 P* d3 ]" E  T  R: z
  1487. session.cookie_domain =' N% l+ t# E9 l

  1488. 3 ~4 M+ d& G/ ]# W/ Z
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.) x' d' t8 S) Y. [' f
  1490. ; http://php.net/session.cookie-httponly
    ! O  f' @) z5 L0 y
  1491. session.cookie_httponly =5 ?* I6 ]* b" j' }* q4 ^

  1492. , b3 {1 t: j' w8 T' x, G# B" i
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    4 O. a+ b+ l2 ~' L+ L6 S
  1494. ; http://php.net/session.serialize-handler1 U( [( i0 ]7 n3 E0 b- q' B4 P
  1495. session.serialize_handler = php
    ' d1 x# `  _* ~: `& t# G, L! Z$ ~( y
  1496. 5 B& [* A- n5 I) S( x4 h
  1497. ; Defines the probability that the 'garbage collection' process is started
      w; ?% d) m7 H  f. }4 L
  1498. ; on every session initialization. The probability is calculated by using  A- e+ f, q  k
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    5 n1 ^2 H" e& l; b) i
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    " B$ H' B3 B& K8 `
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance; a* B/ V/ t( d1 q
  1502. ; the gc will run on any give request.' I1 j" g5 O4 u5 @
  1503. ; Default Value: 1# V2 M" W6 ]) {/ B) b
  1504. ; Development Value: 13 K) Z. T2 }; Y6 }9 n0 ?0 e% c
  1505. ; Production Value: 18 D8 d5 d3 d( V' v6 E2 E
  1506. ; http://php.net/session.gc-probability' f" w6 d; e7 ^0 S
  1507. session.gc_probability = 1* }, U. L5 ?& e5 \* \4 j7 b

  1508. 2 r7 ~0 q8 A# R  }9 t3 A
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    9 o- J3 i! M) \. G  o( e
  1510. ; session initialization. The probability is calculated by using the following equation:
    $ @' S4 G4 X, `1 R7 {
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and* |5 z9 [3 N/ {  P* ^
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    / }9 D/ }" \; F  D* m; z
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance' \$ V# w8 h/ n# @9 G
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    6 Y; _9 a/ B; `" Q' J
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    7 D9 w$ ?9 ]( T" J) C" x/ q& e) e
  1516. ; this is a more efficient approach.; l$ }" h0 q4 s
  1517. ; Default Value: 1005 s; H3 x& b8 o" m+ g+ O; L9 S
  1518. ; Development Value: 1000! j8 i+ O9 _+ V1 `
  1519. ; Production Value: 1000
    7 j" M. F( ?7 W' F1 w' H/ X/ [) v
  1520. ; http://php.net/session.gc-divisor
    - K3 r: s6 b$ l! {5 g
  1521. session.gc_divisor = 1000
    - x" u; C) k4 t: y2 z$ d

  1522. ' Y) |' e3 p4 q5 u/ |
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and0 \, K: f3 S; C
  1524. ; cleaned up by the garbage collection process.
    ' c9 `, u$ }1 W
  1525. ; http://php.net/session.gc-maxlifetime
    4 J. X& Z4 Y: P+ w# e
  1526. session.gc_maxlifetime = 1440
    , q/ r9 e- a. ^3 C3 n% @1 _

  1527. 7 R1 j  p2 I& a$ U! ^" O9 s
  1528. ; NOTE: If you are using the subdirectory option for storing session files6 J, g8 [/ ^( d- E- G
  1529. ;       (see session.save_path above), then garbage collection does *not*# h. u* Q7 u1 a( S$ y7 m$ B2 R
  1530. ;       happen automatically.  You will need to do your own garbage
    ) \% Y' m3 c' s
  1531. ;       collection through a shell script, cron entry, or some other method.
    : V9 [3 j5 E" U
  1532. ;       For example, the following script would is the equivalent of* w. U2 ~9 w. t; a5 y1 O* G7 K* U
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):# f8 y) v! i( i
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm7 w" I/ N4 U. F' A4 ]4 Y

  1535. 4 n  Q1 l9 C" t8 k- X* |
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    & V3 A0 b& F& T& W# T! a* b
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    * W, _4 X$ O3 L* ?8 ?3 j# m
  1538. ; considered as valid.
    5 {# y# B  o8 `- e+ z7 B, w, ^: e
  1539. ; http://php.net/session.referer-check
    2 U  l: @5 v  I7 F9 z; f4 V5 P
  1540. session.referer_check =
    4 J- U$ j+ U; ^4 ?0 j
  1541. 8 r/ [" u, {( m7 K$ I: Y
  1542. ; How many bytes to read from the file.- A9 K" f( z  f  u
  1543. ; http://php.net/session.entropy-length: v0 o4 C! B0 H; U' h; p& T
  1544. ;session.entropy_length = 32; Q2 K9 |8 s3 y- W7 g* r
  1545. 9 l8 w) k6 C8 }
  1546. ; Specified here to create the session id.
    $ R* V$ Y" y. z. S5 T. {# u
  1547. ; http://php.net/session.entropy-file  }; N) ~, S* V, t( L8 _/ L
  1548. ; Defaults to /dev/urandom# d" k/ a' J4 q
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    & t) O3 Y: I' x% Y& I6 a1 Z! W
  1550. ; If neither are found at compile time, the default is no entropy file.
    6 c0 i# `4 ~. y3 p4 r8 ?4 L, C  {
  1551. ; On windows, setting the entropy_length setting will activate the
    $ t0 R( Z3 ^5 k) P
  1552. ; Windows random source (using the CryptoAPI)+ y" ]+ D" n5 J% J. B
  1553. ;session.entropy_file = /dev/urandom
    0 ?0 d) J" [0 u

  1554. . t7 g- B+ M' d5 e6 \& g; U
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    , {+ @( X" s! F" f0 o
  1556. ; or leave this empty to avoid sending anti-caching headers.
    7 [) n0 {- q. X+ S
  1557. ; http://php.net/session.cache-limiter
    . l9 V/ T6 _8 ?' e
  1558. session.cache_limiter = nocache
    5 P) w5 Z6 T9 }7 V7 S3 E$ a

  1559. % C: j5 M) k$ F& Z7 a
  1560. ; Document expires after n minutes.
    , ^8 v, m1 \3 t# Y
  1561. ; http://php.net/session.cache-expire
      W- [, Q. u3 L- F
  1562. session.cache_expire = 1804 Y. h" L& f7 u- r

  1563. ' _. p8 i6 O  p5 l, Y$ p
  1564. ; trans sid support is disabled by default.
    3 z' N/ K- J* D
  1565. ; Use of trans sid may risk your users' security.
    + S& |. d) E8 v( T1 q( \' h
  1566. ; Use this option with caution.
    " u% u5 P7 q. U. f) h- ~" i
  1567. ; - User may send URL contains active session ID
    ' W* s( y7 y1 a4 t
  1568. ;   to other person via. email/irc/etc.
    8 n: f9 [) G% `- B0 {
  1569. ; - URL that contains active session ID may be stored
    ; J( ~. z$ F, l: d) U5 I
  1570. ;   in publicly accessible computer.8 y) L5 y+ l$ B5 S5 G# C. w3 K
  1571. ; - User may access your site with the same session ID) N8 f) f/ }/ `2 V" g6 c( q
  1572. ;   always using URL stored in browser's history or bookmarks.7 |9 x% X9 O' T# k) P1 h+ j- F
  1573. ; http://php.net/session.use-trans-sid
    - B' x' _0 |4 J
  1574. session.use_trans_sid = 0
    + o; V. H' ~3 @1 e

  1575.   M) i0 [$ b# ~% B' Q
  1576. ; Select a hash function for use in generating session ids.7 p$ q7 @3 c: j
  1577. ; Possible Values0 y$ P2 K2 J$ r1 t! v: F# q
  1578. ;   0  (MD5 128 bits)
    " N3 M4 r* b) ~6 ~& B  `# k; {9 D
  1579. ;   1  (SHA-1 160 bits)
    , w: L, d& A6 h
  1580. ; This option may also be set to the name of any hash function supported by
    , H6 M! H* K; K, {7 h+ I. _4 _
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    0 W  ]& y) s( A3 Z4 I4 z5 P) V3 K( u
  1582. ; function.
      R; t2 l6 A" Q" j
  1583. ; http://php.net/session.hash-function
    6 c( K  A  W! @2 D4 ^: w& _
  1584. session.hash_function = 0" n! U# L& R7 l/ ?/ }
  1585. * |0 B$ M* k% c/ H3 f- F  a* c
  1586. ; Define how many bits are stored in each character when converting6 h% ]6 G8 j+ w/ ?( I
  1587. ; the binary hash data to something readable.
    9 X* }7 }6 P0 b: D  O
  1588. ; Possible values:
    , R1 v$ T1 |9 V# x
  1589. ;   4  (4 bits: 0-9, a-f)& w, |) Q2 J& e  Q
  1590. ;   5  (5 bits: 0-9, a-v)
    8 |( m4 l6 z$ Q) X
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")% ^: D, q2 k1 S- z( k) H
  1592. ; Default Value: 4' f3 l4 k! i( h4 C
  1593. ; Development Value: 56 f( f! p+ C  s& n
  1594. ; Production Value: 5
    ' k+ @+ V2 e8 a$ e
  1595. ; http://php.net/session.hash-bits-per-character
    1 ?5 p. J6 j! s' J7 i7 B
  1596. session.hash_bits_per_character = 5! i( m8 p( ~6 g5 E7 F6 o
  1597. ) e/ O( T- t  ]5 I, @- s
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    ' E" E" ]. H( |: i7 Z: \% q2 R
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    2 i- ^$ @' H& V0 v& S
  1600. ; add a hidden <input> field with the info which is otherwise appended
    + z/ B, t1 H# a
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    7 p6 p+ i- T$ M) N7 I
  1602. ; Note that all valid entries require a "=", even if no value follows.
    " y7 N1 T0 S+ g6 r9 b. i) V
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    4 ]6 D$ P: Z) K8 ?* Q; H2 O0 ]
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    " e: s: C! O1 I4 z, V# `& `4 n0 ^' o
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"* b6 _! e( C' e4 E7 R, z. E
  1606. ; http://php.net/url-rewriter.tags
    4 \- C2 z# w, P  `
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    0 I* X4 e5 m& g9 o
  1608. / j7 V) t9 h% m: ^  x- g
  1609. ; Enable upload progress tracking in $_SESSION# P5 L* }: z5 X3 a4 z" Q+ c' P
  1610. ; Default Value: On
    ! _$ R, N( W: G; m/ Q% x2 N
  1611. ; Development Value: On
    ; p0 N3 \: V) I$ x8 g  k1 W
  1612. ; Production Value: On, I0 }5 z$ i4 Z; [) ~6 N% T" J
  1613. ; http://php.net/session.upload-progress.enabled% f$ D: w& b4 w! P9 @
  1614. ;session.upload_progress.enabled = On; T- k9 g: g; t; b
  1615. / b0 U, i# p( \5 c9 W" a
  1616. ; Cleanup the progress information as soon as all POST data has been read4 p% R6 S7 @1 E4 k$ z
  1617. ; (i.e. upload completed).# d" J: C# i. s+ B
  1618. ; Default Value: On
    7 j. m) v; {6 }/ P3 Q  L2 {4 t
  1619. ; Development Value: On6 c8 B- M: P8 v# t% C$ B4 S
  1620. ; Production Value: On
    ! R2 Z: P" u9 b. Z' j, D' @
  1621. ; http://php.net/session.upload-progress.cleanup% Q4 r  n2 M" w# K$ X% H
  1622. ;session.upload_progress.cleanup = On7 Y. Y- l! W" K$ m1 q
  1623. 0 u! H; n) h5 V* R4 {
  1624. ; A prefix used for the upload progress key in $_SESSION3 J5 D6 D) S% `3 ?" V; z
  1625. ; Default Value: "upload_progress_") \* O9 b7 w5 w
  1626. ; Development Value: "upload_progress_"
    $ g, ~4 r4 O7 ]6 y) S$ u4 I0 @4 c, s
  1627. ; Production Value: "upload_progress_"
    " M' C& Q) U7 e/ g2 {& \
  1628. ; http://php.net/session.upload-progress.prefix
      W) \' \/ a# d5 M1 f
  1629. ;session.upload_progress.prefix = "upload_progress_"
    6 }1 v* K' l  |

  1630. : `; y/ v* }+ D  `
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    # X, v$ W5 x0 ~& _1 h  U5 y
  1632. ; containing the upload progress information
    % a% g7 G, W; V
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS": x- E8 V: {  }9 R
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ; W. X$ c- [. \
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"& o% I+ h' a5 K+ u% _' z. W
  1636. ; http://php.net/session.upload-progress.name1 @6 N. P- m# P* r
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS", ^7 x( R4 S/ D

  1638. 9 |1 V1 P' \  C' R8 y9 _* J
  1639. ; How frequently the upload progress should be updated.
    * u4 N' n1 |6 H( x/ l
  1640. ; Given either in percentages (per-file), or in bytes3 b* ~* O5 j% k% X
  1641. ; Default Value: "1%"6 U% |8 h" C# e/ _' B- Y
  1642. ; Development Value: "1%"
    4 }, S9 C$ B2 E* q
  1643. ; Production Value: "1%"
    ( C8 Q1 M4 {- s* y' ]
  1644. ; http://php.net/session.upload-progress.freq
    5 t) |1 Y/ y9 z2 y, w9 L, `- @
  1645. ;session.upload_progress.freq =  "1%"2 b% S: j, g% N) U

  1646. , n$ l; N1 T$ y5 U
  1647. ; The minimum delay between updates, in seconds* k- L- v7 v; o; e! Z) b1 V
  1648. ; Default Value: 13 I/ C. l% @& C' K
  1649. ; Development Value: 1
    " U, h, D4 z2 I% c# g
  1650. ; Production Value: 1" `, t1 H2 q! A( ^3 K
  1651. ; http://php.net/session.upload-progress.min-freq
    ; Z1 x) g6 u8 q: U! V+ \
  1652. ;session.upload_progress.min_freq = "1"
    ' S- j) C. [( q! W9 B% r

  1653. 5 c( d! O% ]6 `7 s' t6 R
  1654. [MSSQL]
    * V4 Z6 F! K: h0 Y7 b' b
  1655. ; Allow or prevent persistent links.
    ( ]8 k* l8 u, V
  1656. mssql.allow_persistent = On% j. Q8 }1 L( z4 R) a  W, S2 E

  1657. / h+ T* s: n9 b: q6 y: e- _
  1658. ; Maximum number of persistent links.  -1 means no limit.: O* y0 i' ]; `  `  T4 h
  1659. mssql.max_persistent = -1
    + x2 K9 l' D/ `  ~; I7 Q

  1660. 9 ], w- r, D% d
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    # d: i" ^9 ]9 ^' c' {8 M- \
  1662. mssql.max_links = -1
    6 @6 D: j4 W" [( Q  q: D7 w! i6 W
  1663. ) Q. f) f, U6 ^, |
  1664. ; Minimum error severity to display.
    ! ^; D: I  O! b* }' k3 i" v
  1665. mssql.min_error_severity = 102 }; n2 z3 }8 P4 ]
  1666. 4 C- g/ y2 L- Y& M4 F' U! ^
  1667. ; Minimum message severity to display.
    ' P) K, O( ?" b1 O' _+ A
  1668. mssql.min_message_severity = 10
    - \/ D. K5 G$ x- P; K

  1669.   v( m$ k  \& a" T3 G4 |
  1670. ; Compatibility mode with old versions of PHP 3.0.
    $ u& ]+ J" A2 Y$ r
  1671. mssql.compatibility_mode = Off
    ! S( i( `3 J9 a: h( d- i
  1672. 4 _: o$ Y  i4 `2 U. y  L
  1673. ; Connect timeout
    0 e) x  h1 H$ K3 }3 D
  1674. ;mssql.connect_timeout = 5) N$ ]* G8 y$ n& @2 x
  1675. ( m4 p8 G0 ~# g# W$ A# F+ Q+ Q0 p
  1676. ; Query timeout. U+ @) E/ ~! x9 r" |
  1677. ;mssql.timeout = 60
    5 y: V0 z7 A2 T! h
  1678. 4 N5 q  v0 R: \5 o: V, k! P
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    & P0 o% C7 X6 `
  1680. ;mssql.textlimit = 40968 d5 |: }4 H' B0 d
  1681. $ T. s$ h4 j8 u: A( q5 Q
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    " A2 c, a& J* ~0 c  ]
  1683. ;mssql.textsize = 4096
    ; x" P; O8 i; `* d# ?0 |
  1684. $ z: e3 w2 Q3 i
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.. T; G$ k4 x3 z4 z+ K9 I
  1686. ;mssql.batchsize = 0
    ' B( z* D; m" R4 [  b/ ?$ |; `* v
  1687. , @2 c( b% h1 A: t0 l, o
  1688. ; Specify how datetime and datetim4 columns are returned- @) }" w" Z9 Y, d+ Y
  1689. ; On => Returns data converted to SQL server settings
    ; s5 Q; j6 `5 x
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    7 Z* d# M  p* ~/ I$ j3 p+ ?
  1691. ;mssql.datetimeconvert = On
    , h. P4 [, M% \6 [+ V1 e. e
  1692. & @: E" X' F+ G+ b8 i
  1693. ; Use NT authentication when connecting to the server
    2 C* F0 ~6 h- D5 {4 n7 y0 O, Q
  1694. mssql.secure_connection = Off1 ]* w, [  G/ H9 s) a8 @4 N( t. p, l
  1695. - V5 I: z! }( W# K! g! N7 o8 P' Q
  1696. ; Specify max number of processes. -1 = library default
    & c# M$ Z# y* J' C! q) ?
  1697. ; msdlib defaults to 25
    - T) L: T- ^( J% A3 }% j* I0 Z- W
  1698. ; FreeTDS defaults to 40969 ^. S+ W" B& ]5 U" k
  1699. ;mssql.max_procs = -1
    , i! B0 N1 x' d4 n: f/ d3 \0 `

  1700. . c" T, l" J+ c7 d
  1701. ; Specify client character set." R0 {( p" h9 v' ^6 y7 E8 f
  1702. ; If empty or not set the client charset from freetds.conf is used' U1 e! k- \& R' g
  1703. ; This is only used when compiled with FreeTDS
    7 u6 R9 s) g4 s, `+ y0 |' |
  1704. ;mssql.charset = "ISO-8859-1"& f0 U- B  L9 |- o$ y

  1705. + t. ?! S' F3 P/ H* w: w. R. s8 l
  1706. [Assertion]3 E: ~/ ~( ^/ D6 n4 U: y
  1707. ; Assert(expr); active by default.
    ; t; E7 V' a: m9 u
  1708. ; http://php.net/assert.active  D# A7 w+ O. t+ W6 j. L
  1709. ;assert.active = On, Y6 k( {- z1 g" i; O+ s0 ]
  1710. 2 Z0 p% Q( j! Z# G- k
  1711. ; Issue a PHP warning for each failed assertion.
    & c' I! f3 N! r7 H- s
  1712. ; http://php.net/assert.warning
    , m7 E+ _3 ?6 A: o  F, z- E/ ?
  1713. ;assert.warning = On
    $ J' S+ x. N( ?$ Y- U7 C# d$ z
  1714. * i/ L0 d/ I- y
  1715. ; Don't bail out by default.
    6 F' X% j- f0 e: Z! w) x
  1716. ; http://php.net/assert.bail+ o$ e8 ]/ @2 I$ u: N& {6 N
  1717. ;assert.bail = Off
    " m& `# |% J8 M: v- Y2 K/ s

  1718. . \% \" T/ R/ P- x# j! E- b$ ^
  1719. ; User-function to be called if an assertion fails.
    ; C! {# o8 {2 _& b) k
  1720. ; http://php.net/assert.callback
    , K# c% ^+ O; S: T
  1721. ;assert.callback = 0. O9 s, ]' ^/ k: \& }( a
  1722. % }# G% o, b3 Y) `2 R  x  O! b5 s2 A
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    / j: v. C$ r. V7 }; q
  1724. ; error_reporting(0) around the eval().
    7 c/ m* u/ u! C; W$ k
  1725. ; http://php.net/assert.quiet-eval' {3 d" l& i1 C& n9 y
  1726. ;assert.quiet_eval = 0
    ! j: r8 A, }& Z# L! }5 K

  1727. ) y! {  M1 h/ u/ Q
  1728. [COM]  i0 W, {' S8 I1 u5 m1 f4 z0 q6 ]
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    9 M9 I! X$ @" K' }4 w& {
  1730. ; http://php.net/com.typelib-file' v: |9 m4 y( u, e; O
  1731. ;com.typelib_file =7 @( s$ `! G) e. G9 u6 e$ x$ Z
  1732. 6 K( [: N( f5 r! e4 X
  1733. ; allow Distributed-COM calls
    7 f& u' e/ z9 d! ~
  1734. ; http://php.net/com.allow-dcom: M9 N, W# S6 ~) b- B2 A4 J
  1735. ;com.allow_dcom = true
    ) o/ r* U6 w/ I: h6 P- j0 V

  1736. - c4 L* X8 h/ ]
  1737. ; autoregister constants of a components typlib on com_load(); k3 Q8 ^$ f, d/ Y1 d( R  \' y
  1738. ; http://php.net/com.autoregister-typelib
    $ A. J* |8 b9 \5 V' {9 T
  1739. ;com.autoregister_typelib = true% W5 I3 r( ^1 Y- [# I2 |! ]) k

  1740. : T8 w; `* y/ V
  1741. ; register constants casesensitive5 h8 \, |9 ~5 ~- ]( R) }; S
  1742. ; http://php.net/com.autoregister-casesensitive
    - s# q3 a3 }% P2 j5 k
  1743. ;com.autoregister_casesensitive = false
    ; d3 R% i4 z/ \4 {' L" T
  1744. 1 `4 x5 s) q% J) v+ ~* ^& c# l
  1745. ; show warnings on duplicate constant registrations; P/ M; k4 X& \8 Q$ a" ?
  1746. ; http://php.net/com.autoregister-verbose
      H# u( j4 @) H
  1747. ;com.autoregister_verbose = true" a, n* w/ k% o- \4 V" `/ p5 j( [
  1748. - k" j2 D7 i* A4 ]% ?
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    9 a9 |' j5 `+ U) T' M- ]
  1750. ; Default: system ANSI code page
    4 Y; T3 F5 Q/ f# n# T' Y( J* T2 G, `
  1751. ;com.code_page=
    ) s, o- ~6 A: o! ?7 |7 i2 e) _% s+ g

  1752. : R2 _; `# ?: L" p
  1753. [mbstring]' d- k/ T! F6 a* C# Q+ Z
  1754. ; language for internal character representation.
    / v* N9 [7 X% ~. t! q
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    " i! M$ p3 y% Q9 @; S! D8 ]9 y
  1756. ; http://php.net/mbstring.language
    ( j6 a2 m& f( W
  1757. ;mbstring.language = Japanese
    " ?3 _0 f( f+ Q5 h+ i

  1758. 0 m0 s' K9 K% I2 L# r. G& p
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.1 a' D& L5 @& e; t! l5 A
  1760. ; internal/script encoding.
    1 u% v/ E9 O. Z+ p- y7 i# I$ M- Y
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)) \+ p: z* w6 c8 c
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.5 A# _; ]& Z, B# R) m  C
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding  j% P5 l* m3 b  L% I
  1764. ;mbstring.internal_encoding =# M$ ~- Q; l* D/ N* z0 P
  1765. ! I2 |$ a$ t/ Q) _& _  C$ G
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.4 a3 T" B: D( |6 q) O! m
  1767. ; http input encoding.
    9 E# V" a1 ^* M, G
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    ; A$ C6 ~0 n3 q- w% @  Q8 s
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used./ n0 O/ O/ G' A- i7 _
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    + H& ]' k' E8 W8 g( l. O- a
  1771. ; http://php.net/mbstring.http-input* `8 z/ E# E, ~6 ~* q) `
  1772. ;mbstring.http_input =. J3 @+ ^! R: }3 g
  1773. 5 g; r2 U( v  ]8 Y6 h  X
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
      L) @+ @$ q1 L7 q9 J" _- y
  1775. ; http output encoding., W4 H$ c' [! D9 E0 }( u/ h+ M
  1776. ; mb_output_handler must be registered as output buffer to function.
    7 F8 j0 V# ?6 L+ ]
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.  `- E  F+ K7 P" m0 p0 \
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output. Z; E4 m  u& F' F$ e, E6 z* b
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    - y" t2 z; d# G. _
  1780. ; otherwise output encoding conversion cannot be performed.
    % f2 C, W/ Q/ B( G% \2 y/ a
  1781. ; http://php.net/mbstring.http-output  i, q# x4 f  Q1 z( _4 g  K1 G
  1782. ;mbstring.http_output =
    - `& j  G1 G4 r( c

  1783. % d' X- G1 a; v" g7 x
  1784. ; enable automatic encoding translation according to$ i/ g- m  p4 d5 h
  1785. ; mbstring.internal_encoding setting. Input chars are
    $ O& v9 N2 g# z0 P/ S% R1 c
  1786. ; converted to internal encoding by setting this to On.2 Y5 O+ z9 h, N) j5 a, {
  1787. ; Note: Do _not_ use automatic encoding translation for
    : @( o! i5 ^7 }) ^" ]' @% A# Z
  1788. ;       portable libs/applications.& M- b- B" U; s/ }4 t# ^7 Z' v
  1789. ; http://php.net/mbstring.encoding-translation
    , {! I+ u8 ?0 k' x1 P
  1790. ;mbstring.encoding_translation = Off, f% a0 P. Y' }6 r% E8 ?
  1791. 4 B# X1 J1 s+ b0 T
  1792. ; automatic encoding detection order.
    % F  x3 K- G9 Y1 r" c; |
  1793. ; "auto" detect order is changed according to mbstring.language* _& j9 N7 Y# p5 k  i* l5 f
  1794. ; http://php.net/mbstring.detect-order6 _# U# f5 m( b1 _
  1795. ;mbstring.detect_order = auto
    + l) i5 D5 ^9 b4 z* O
  1796. ) I8 x. [- {. s' ?' W
  1797. ; substitute_character used when character cannot be converted, P1 ?* o: Z3 _: }, H$ u0 E1 h  X
  1798. ; one from another, N( Q4 V9 ]: L" S4 }% s8 e0 _: b8 U
  1799. ; http://php.net/mbstring.substitute-character8 v' V' v% m, j: s
  1800. ;mbstring.substitute_character = none
    : O4 S# e+ V0 ]# n7 r1 f

  1801. * }3 H5 I3 U8 W& G7 F; `+ S
  1802. ; overload(replace) single byte functions by mbstring functions.) q1 Q. ?0 b+ O+ u% {; F
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),& E8 p0 U4 j* s* _4 i
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    $ F" `; P; e8 o, s3 {; y
  1805. ; For example, 7 for overload everything., g3 r  F8 x1 }# W6 B3 g2 e
  1806. ; 0: No overload% f2 d6 y1 S0 [1 w
  1807. ; 1: Overload mail() function. _3 Z& b" e: P+ M
  1808. ; 2: Overload str*() functions
    $ c. g- c- ]. ~& B; j% h
  1809. ; 4: Overload ereg*() functions
    # L* v4 [5 r( g1 Y
  1810. ; http://php.net/mbstring.func-overload
    ) b6 @4 L' m% y& o$ A& m% b& Y
  1811. ;mbstring.func_overload = 0( ~5 ?2 r. x: m9 _) `6 u+ o. E

  1812. . p, a- {: V! O2 [2 ~  [! |! W2 H
  1813. ; enable strict encoding detection.
    " n  d: T2 A4 _3 @. m4 ?
  1814. ; Default: Off: [, w% G0 A/ `/ O  Z. G5 {# u
  1815. ;mbstring.strict_detection = On1 G& i- ?! b; |' {7 ]2 d

  1816. 4 `  e* \& \7 ^) Q4 N
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()- u) K* v+ D. N1 ]8 X% H1 ^
  1818. ; is activated.
    & F' K! ]4 X0 \& u# {1 q' l
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)7 [$ u4 l& p; X: ?! H- f+ L
  1820. ;mbstring.http_output_conv_mimetype=7 f, ]. @8 r8 @' `; c2 T2 r

  1821. 3 b) t! R% s6 Y, e
  1822. [gd]7 S4 W7 A) ^, i9 h" a0 V7 M
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    % b7 X7 F4 q& i3 B! r4 F( {" G
  1824. ; a gd image. The warning will then be displayed as notices7 U, L) w& ?! K# i4 l
  1825. ; disabled by default
    ) s- w/ [; H7 {* `5 D$ t! O0 M
  1826. ; http://php.net/gd.jpeg-ignore-warning
    3 Y# ]% o+ k3 I. {! B3 r
  1827. ;gd.jpeg_ignore_warning = 0
    / P+ i( T, S( ^- U; \' y' D

  1828. 2 B# n! V1 D5 r6 F
  1829. [exif]
    3 S0 H7 H/ U0 N2 K. z
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.4 r0 r4 H$ b( a9 D$ p, S
  1831. ; With mbstring support this will automatically be converted into the encoding4 Q+ J; Q* _$ ~% g8 w. K0 Z
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding7 P( o8 X4 k; t: C$ T$ h/ \
  1833. ; is used. For the decode settings you can distinguish between motorola and
    3 t. H2 B0 Z9 h, X; E
  1834. ; intel byte order. A decode setting cannot be empty./ G3 Z; y6 X2 ?4 N
  1835. ; http://php.net/exif.encode-unicode& p# B8 L/ ?$ D- F! i
  1836. ;exif.encode_unicode = ISO-8859-15
    2 K! C: M2 C0 X, U
  1837. 6 L' d1 Z* o9 _, N0 {$ E
  1838. ; http://php.net/exif.decode-unicode-motorola
    ' G, n- l& a% y5 o& S5 q5 s
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    $ G7 U! l; p5 h5 v6 d0 A
  1840. - U) c5 K, w. \% C; ?+ u
  1841. ; http://php.net/exif.decode-unicode-intel
      f4 W, _, V0 o% N
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    5 U3 l: z, Q1 \( S+ D' z4 I! `; I

  1843. % D7 g0 b+ r- M3 u
  1844. ; http://php.net/exif.encode-jis
    # B3 x+ g2 ?3 I  e6 ^  K! V
  1845. ;exif.encode_jis =
    7 n" Z+ Q- f: d
  1846. * U5 e# F" J% b4 z9 L- N
  1847. ; http://php.net/exif.decode-jis-motorola
    5 R  M& U8 O" E; v% t2 C
  1848. ;exif.decode_jis_motorola = JIS0 d- ~9 S' t  z* b0 @$ a# P

  1849. ; P/ ]1 O9 y( f
  1850. ; http://php.net/exif.decode-jis-intel
    & o: L* }0 J' N& e8 S4 U* _
  1851. ;exif.decode_jis_intel    = JIS
    ! e. g# d0 j2 z1 [& w9 i

  1852. 0 I: Q% @3 z  z9 M
  1853. [Tidy]3 C+ Y' F; q! e5 ~0 V; D
  1854. ; The path to a default tidy configuration file to use when using tidy6 u7 }! p5 Z% c) i  K& P6 @) }
  1855. ; http://php.net/tidy.default-config
    % G! {/ t% u$ S% K
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    7 v0 E- t! O6 j9 K, y. B

  1857.   J0 B# [2 W  O- {) \* |% ^$ m
  1858. ; Should tidy clean and repair output automatically?! m# h3 h2 _; x% w
  1859. ; WARNING: Do not use this option if you are generating non-html content
    $ J$ a9 B7 m8 R# f, u& B1 ?
  1860. ; such as dynamic images
    + x1 e/ ]% k' R4 ^
  1861. ; http://php.net/tidy.clean-output9 }' G5 p! A2 U% t7 m
  1862. tidy.clean_output = Off( z# \5 _" x2 v4 h* `1 [

  1863. 3 i& A# i$ y  [) a) |) I$ S
  1864. [soap]
    $ u7 d0 b+ ]3 l1 q/ o% a
  1865. ; Enables or disables WSDL caching feature.
    , f6 n0 B7 E! D' ?( ?5 V5 \  h" {
  1866. ; http://php.net/soap.wsdl-cache-enabled+ h7 u, K- p" i' [3 ]# ~0 }
  1867. soap.wsdl_cache_enabled=18 I* {' x2 w. E0 c1 k

  1868. % b- u1 O2 a% A+ e! Q9 x3 S0 ^+ i
  1869. ; Sets the directory name where SOAP extension will put cache files., m& r( s0 C( |( [
  1870. ; http://php.net/soap.wsdl-cache-dir- M: u( ]3 a4 W& H- m& I5 }
  1871. soap.wsdl_cache_dir="/tmp"0 t* G3 c; r* M5 J

  1872. * L0 r. |- N: g7 F! Q( g3 v
  1873. ; (time to live) Sets the number of second while cached file will be used
    . F/ m, r7 [+ O2 d5 `, h
  1874. ; instead of original one.
    4 g& n2 y6 K( V
  1875. ; http://php.net/soap.wsdl-cache-ttl! q4 E6 [) [( ]
  1876. soap.wsdl_cache_ttl=86400# {8 Y# X( y" ~6 _/ J2 R* G) j% i

  1877. 6 i2 E" A* G9 u( T/ k
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    5 D% [# m' \% Q  J- S" Q" L4 \4 r: n8 D
  1879. soap.wsdl_cache_limit = 5
    & A/ I2 m% T6 y% R: N

  1880.   D' F6 C0 b! u4 Q
  1881. [sysvshm]
    % \( F  _7 A3 E( t/ r% c# K0 @* u4 l
  1882. ; A default size of the shared memory segment
    - M' e& ~' A# W9 b( y
  1883. ;sysvshm.init_mem = 10000
    0 u, k* \* |$ O5 M% T
  1884. : V/ K8 \4 m/ m; z
  1885. [ldap]# w- j% F* f$ f) k" g/ z, @- N
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    4 X9 [" F$ M3 \
  1887. ldap.max_links = -1
    ) M; g8 P6 p7 ^# S' x: r

  1888. 0 k$ G# G! P' ]/ {* J) i
  1889. [mcrypt]
    4 k* ~) a1 V) L5 u: S
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open  H6 `+ [0 t1 x2 f

  1891. " S$ p. {9 x# L* V
  1892. ; Directory where to load mcrypt algorithms
    3 {2 E" L, M# F- e. I3 U0 w2 A/ M
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)" L4 M4 g5 B1 |  t
  1894. ;mcrypt.algorithms_dir=; J& U7 T0 ], a1 z' B
  1895. 8 R& Y9 y  C5 k+ G1 ]
  1896. ; Directory where to load mcrypt modes
    - S. F9 ~, e( a. p! Z7 u- k
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)6 D8 [, g% u' A  i4 d8 e
  1898. ;mcrypt.modes_dir=, j# H2 S/ Q- z- T0 _! }$ i

  1899. ! ?2 E1 S  s) J5 M
  1900. [dba]
    4 f- O& [$ w2 R5 K; p! s) p- E
  1901. ;dba.default_handler=; Z0 Z. O6 i8 j$ n
  1902. " Y3 V& _* A4 O0 s- X" k- B
  1903. [opcache]
    ) `* ~( }4 i' \7 q' q4 q6 ?
  1904. ; Determines if Zend OPCache is enabled
    6 p+ ~7 j3 h7 D, Q' p
  1905. ;opcache.enable=0- T7 z. D9 h* t
  1906. 2 F. j7 r0 m/ |1 T
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP" b: x3 `' q. e% R" A
  1908. ;opcache.enable_cli=0
    - R1 X8 H/ O! p, |; j5 b

  1909. + ?( B. ^8 N: s0 b& ~
  1910. ; The OPcache shared memory storage size.
    7 H% i: s2 j2 D" f" p: E5 Q1 }" e9 N
  1911. ;opcache.memory_consumption=64; h0 C) {; p% n  _

  1912. * ~7 ]+ r3 K7 d+ M4 c
  1913. ; The amount of memory for interned strings in Mbytes.
    " j  a" b& A0 b
  1914. ;opcache.interned_strings_buffer=4
    : |# b6 j7 u% @2 m5 `
  1915. 5 P2 K% P/ b4 X: ~
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.3 |4 t5 y. j  F
  1917. ; Only numbers between 200 and 100000 are allowed.
    ' Z$ v2 ?) R3 n& m6 G
  1918. ;opcache.max_accelerated_files=2000
    ) f/ \% N5 F, C; z
  1919. * u9 c) D6 z; J8 B; Z
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    6 y+ P# _+ x: p' t
  1921. ;opcache.max_wasted_percentage=59 ]4 |' B# `; f4 r# M9 T& }
  1922. 9 _1 h( L0 F$ P* d2 q5 s/ z
  1923. ; When this directive is enabled, the OPcache appends the current working
    ' X- k9 w  S* R
  1924. ; directory to the script key, thus eliminating possible collisions between( l+ r. l7 p9 {+ \
  1925. ; files with the same name (basename). Disabling the directive improves
    # F( n+ X$ P2 Y
  1926. ; performance, but may break existing applications.
      K' v, [1 V+ s$ k  ]
  1927. ;opcache.use_cwd=1
    # }" q' O+ b: r$ f( J+ y

  1928. $ j+ c' ^+ H# F" m
  1929. ; When disabled, you must reset the OPcache manually or restart the$ O) K$ [6 h. b: }
  1930. ; webserver for changes to the filesystem to take effect.
    / {' G+ f8 c0 Q6 |
  1931. ;opcache.validate_timestamps=1. @) Y* {# h1 F

  1932. - ]. Z6 ^* h3 E: u2 ]9 Z" H3 Q/ u
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    2 d* d; t8 O7 b, l! V- a
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    5 U& N4 l# g8 L! |2 [
  1935. ; once per request. "0" means always validate)' w# A) b, r% U8 N7 a0 j4 k2 C
  1936. ;opcache.revalidate_freq=2
    ! @" X" p- G: p8 \9 h( X

  1937. . h2 K6 b7 n  X. Y
  1938. ; Enables or disables file search in include_path optimization
    / k' r0 e- G) G# P( }
  1939. ;opcache.revalidate_path=0
    6 N3 n7 {  W& Z- q/ g' K4 ]6 c

  1940. 2 u5 M; P1 E% M
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the# s; }2 p5 K/ X. G& L
  1942. ; size of the optimized code.4 y8 I2 V- w2 J- d) S+ O
  1943. ;opcache.save_comments=1
    3 m) C+ S* O7 Y  r# U, k0 O

  1944. 5 i) {8 @* @; Z9 l: I
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    7 {9 u' z* w* t5 L0 R# n: h
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    # ^8 y  {. }& Q6 |7 A9 \
  1947. ; that don't need them anyway.% Q, D5 ~8 p; u( ?5 K. {
  1948. ;opcache.load_comments=1# u! ]0 i7 T, d5 Y; F

  1949. . q& F. r, y+ `% g5 ]
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code3 m4 e+ }( i2 U/ K7 A
  1951. ;opcache.fast_shutdown=0
    # g$ q) n8 s( z- m- c
  1952. 4 Y. \. p3 E! M$ M
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    3 R# ^" T3 o. {, h( {  Z
  1954. ;opcache.enable_file_override=05 b0 S8 v/ f6 H$ P8 c* Y& Q
  1955. % p4 L8 Q1 i! n+ Q- x1 k, F1 N5 a
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    9 d3 s* B" b" k. ^8 [
  1957. ; passes1 Q# g& M2 ?9 }3 j! p+ U3 E
  1958. ;opcache.optimization_level=0xffffffff
    * c0 B8 G+ F' j: Q! E: z$ l6 |
  1959. 9 S, |9 @+ i* t
  1960. ;opcache.inherited_hack=13 i4 e' e4 D  U0 G: l
  1961. ;opcache.dups_fix=0; r0 o( c; F% [' ~! ?5 \( \* [% f

  1962. % b8 X2 [4 I9 ?$ g
  1963. ; The location of the OPcache blacklist file (wildcards allowed).* g- x) u7 H3 s9 R8 b& V
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    3 F- k+ N. T% o* v& \1 h2 m/ r
  1965. ; that should not be accelerated. The file format is to add each filename
    " m8 O  h4 U; t- d7 G6 @% c) Y
  1966. ; to a new line. The filename may be a full path or just a file prefix
    ' d1 N) `: v7 f( T0 _, `+ C
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    8 ^2 i; s, j) k1 N. {/ F# V% b
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    ! j& D6 L$ ?' X
  1969. ;opcache.blacklist_filename=
    1 w+ y7 I6 z6 d. [

  1970. $ u( x& g/ e- s6 `; b% |) _
  1971. ; Allows exclusion of large files from being cached. By default all files
    * `# J0 g* `9 e
  1972. ; are cached.+ k: l& `6 ]- C' N/ b
  1973. ;opcache.max_file_size=0
    6 A9 ]' x2 x- U: |' f  z

  1974. 4 @- M; v  u( ^4 n! d, w
  1975. ; Check the cache checksum each N requests.
    5 G- f$ j4 R) w- Q0 K6 ]9 [$ g
  1976. ; The default value of "0" means that the checks are disabled.% l: c4 j2 o7 [  @# i0 v" m% g* ^* w
  1977. ;opcache.consistency_checks=0
    ) c4 l% A) _# V  K6 X8 E
  1978. 4 E4 P% y+ @2 H& Q' K: `! p
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache" ]( W# O7 b6 D- H
  1980. ; is not being accessed.
    4 p0 d3 I1 I! d( B! C/ @- T
  1981. ;opcache.force_restart_timeout=180; z9 p/ _) c* J- ~. C' b* N
  1982. 4 [' W( ~! b- F" }' B" B
  1983. ; OPcache error_log file name. Empty string assumes "stderr"., w0 }0 T3 b; I2 a" m' f+ e5 T
  1984. ;opcache.error_log=5 B1 N. i% K5 x) u

  1985. ' a% d% Q" _% G( S/ B/ j
  1986. ; All OPcache errors go to the Web server log.2 S7 I# g2 \% ^# V" G% |
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.! `. T- x  G! p& J
  1988. ; You can also enable warnings (level 2), info messages (level 3) or# Z  i" h* D# z. I: O
  1989. ; debug messages (level 4).
    1 [' B% D6 x2 k# o$ S  D
  1990. ;opcache.log_verbosity_level=1
    + t# q+ L4 g5 }, U1 `+ U

  1991. ' h  I0 V# ~3 t
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.6 P, _/ f. _8 Z9 U9 x
  1993. ;opcache.preferred_memory_model=
    " p; {/ D( |, e. L( J8 a
  1994. 8 R& B( R1 @4 X, F9 Y1 x
  1995. ; Protect the shared memory from unexpected writing during script execution.
    . N0 Q9 U- o# j0 r2 L; X) r
  1996. ; Useful for internal debugging only.
    7 t& h" y4 Q5 V$ R7 i
  1997. ;opcache.protect_memory=0; c& V8 ]- E, A1 @2 G7 ]

  1998. 7 B: d7 p- ]8 l, N1 I! ~
  1999. ; Validate cached file permissions.
    2 X( a$ \& ?* |  e8 ^! N" C( i7 Q
  2000. ; opcache.validate_permission=0, X$ F8 N; V5 }) A8 K  j1 x3 v4 D

  2001. ! R' l/ \9 J: F5 a) |
  2002. ; Prevent name collisions in chroot'ed environment.5 W+ k/ P4 T% X# X6 I
  2003. ; opcache.validate_root=0
    % K. F, W& A2 Y

  2004. 1 z) D1 ?( K* ?
  2005. [curl]3 ]# }- h/ a* u' ?) i& W# O
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an: m! t" z( y6 \$ L# G2 y
  2007. ; absolute path.
    9 y0 @$ P3 w; V6 c4 F- F
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    9 v: }7 X# b- N
  2009. & A, a3 @% z8 }* y! S
  2010. [openssl]9 i6 f7 _- ~& g& a4 ]/ b8 _' y
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem) v) E4 a9 y5 q8 w% Y- M0 \3 r
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should3 E9 ^, n# Y8 Q$ Y+ z
  2013. ; not specify a value for this directive as PHP will attempt to use the6 R3 ^( m/ D- |. l2 q  Y% a
  2014. ; OS-managed cert stores in its absence. If specified, this value may still( T" n1 p7 G& L$ n2 R0 d- w
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context0 g& y/ {$ M$ {0 [( _5 {; c" I% z1 F
  2016. ; option.
    / r, N: W! N( N4 H
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    # O% n& ~& C" P
  2018. 9 V5 Y1 e. X2 b$ B
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the; O# k& `/ _, K* i6 s' Q
  2020. ; directory pointed to by openssl.capath is searched for a suitable2 v4 w6 d0 R* Z/ E8 }
  2021. ; certificate. This value must be a correctly hashed certificate directory.$ o, m  Q* ^) t3 q9 K
  2022. ; Most users should not specify a value for this directive as PHP will% h* [  \9 I" c4 m7 ]( I# o3 Q8 l/ c
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,+ `: P1 z7 a8 o- B) ^' C
  2024. ; this value may still be overridden on a per-stream basis via the "capath"7 k+ w- Q7 ^( }( }) ]
  2025. ; SSL stream context option.7 d* z+ s3 f& {
  2026. ;openssl.capath=
    3 o2 S5 j, }- a% @
  2027. 3 ]9 E4 N$ O+ V" u/ U* @) n3 V+ U
  2028. ; Local Variables:) U% f: G6 C0 e% F6 j
  2029. ; tab-width: 4
    - C) [1 p8 X' `9 {. U3 @
  2030. ; End:% F% v) ]1 @" ]6 k; m& ?
  2031. * ?9 ?8 e$ a: C8 t3 q& V$ W
  2032. ;eaccelerator
    + d) M- n8 o* f' d, }) @
  2033. . F! h2 ]5 U  L/ L5 L4 G% `
  2034. ;ionCube) x+ H4 ^; z  Z4 p5 x& n! A9 |. n: [
  2035. ; V1 w. {4 v2 Z+ \  p
  2036. ;opcache
    0 r" m4 x, S) n" i2 t! s' o4 {, b

  2037. + Z, H9 }" w+ m' u. N
  2038. [Zend ZendGuard Loader]' w* a4 n# E7 N# d' b3 u9 j9 P
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so' E7 B% P; f2 l3 z) i6 w, {* P$ @; e
  2040. zend_loader.enable=1; L" ^. {- ^+ Q( W1 E
  2041. zend_loader.disable_licensing=0: B/ _% u# q3 C3 t2 h1 H
  2042. zend_loader.obfuscation_level_support=3
    + l0 R* g8 \3 @  t  a1 B, X. I
  2043. zend_loader.license_path=
    % Q& e: B3 D$ c' y
  2044. + m8 [2 @' L7 [0 p
  2045. ;xcache
    7 S* m- D" W! r( c, y
  2046. ' A& ^; L4 e' G/ i
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692) m$ [4 ~7 J2 k; ~) Y

, E" S+ O" B* r5 u. [& }- _! {5 s. R& [& F$ a! a* j
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
+ s7 H8 `2 x' T7 ]
- @, _8 W- p: H5 mDiscuz!程序版本选择:
2 [4 x! J4 g# u站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,# Q/ M3 k8 l3 m* Z- ]
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:& M6 {2 P# w* M+ F" ~3 |1 _0 @8 V
Discuz!F1.0 是应用中心民审、作者爱好者合作基于 Discuz!官方Discuz!X3.2、Discuz!X3.3、Discuz! X3.4版本之上推出的基于PHP 7.1、mysql 5.8最新环境适配、精简的Discuz!论坛程序,目前对Discuz!F1.0 的支持应用DZ插件、DZ模板都相对较少,很多DZ插件、DZ模板对Discuz!F1.0 的支持性也较少,根据目前站长普遍的反馈而言,使用Discuz!F1.0 建站的站长遇到的问题往往比较繁琐,且目前民审、开发作者、爱好者出品的Discuz!F1.0 版本已经处于停摆之中,站长最终都选择了Discuz!F1.0 降级为 Discuz!X3.2、Discuz!X3.3、Discuz! X3.4。8 W: s- Y/ s) L( J( E2 z8 M
; V: h4 r2 D8 p7 ~- C' I
Discuz!插件模板版本选择:
: ^7 b  R, f+ I很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
0 c4 s6 M' \/ M, j, }- b* _- j针对这个问题做个统一的普及:
% d4 h3 T. ?3 e# dX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。+ {8 Q$ ?1 z5 H- H! J
, j9 ?$ K& E1 J" g; ?- R" E
所以  ]) @* r7 [. D: U5 Z& k% W
适合Discuz!X3、X3.1版本的DZ插件、DZ模板是适合并兼容 Discuz!X3.2站点使用的,请站长放心安装使用。但适用于X3.2版本的应用90%以上是不兼容Discuz! X3.4和php 7.x的,请格外注意!!!
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-12-2 01:25:25 | 显示全部楼层
添加网站的时候一定要添加两个站点,一个是主域名,一个是www的二级域名。
" H) W6 k7 Q( P2 W' h/ _4 G7 O打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。, @9 i" X) C# k5 q1 ?
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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