分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
* u: T: d; j8 T6 C3 S+ N
  e* B, N6 H9 Y! R( g5 i. A
  1. [PHP]" Q' \- u4 s2 ?- \

  2. 0 r8 Q, z! E& H( ^
  3. ;;;;;;;;;;;;;;;;;;;
    % y( C, h4 J4 F3 L
  4. ; About php.ini   ;
    ) V4 U& [, x" ]; p
  5. ;;;;;;;;;;;;;;;;;;;
    & f% x+ ]' [. o$ N; e0 h$ N
  6. ; PHP's initialization file, generally called php.ini, is responsible for  k% j, {+ ^! h" `3 w4 W# w2 @" D
  7. ; configuring many of the aspects of PHP's behavior.
    / ~. E9 f; Q# O- O% z6 |- ]1 I

  8. 8 ~8 S: u' d( v
  9. ; PHP attempts to find and load this configuration from a number of locations.
    : j  o6 Z5 w" x
  10. ; The following is a summary of its search order:
    ( x8 |- ^& m% H+ W! I- h1 k% q# J( H
  11. ; 1. SAPI module specific location.
    0 p6 Q$ ]: Y1 x
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    8 }. s( w- M: n7 k: K- I6 n
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
      z% T. G* Y+ O1 f1 t2 g
  14. ; 4. Current working directory (except CLI)
    # x( B/ |* v/ V7 J/ D8 b1 @1 }0 b
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    2 f0 Z  w1 L* L' A7 D
  16. ; (otherwise in Windows)
    : q1 ]' f! j  P8 c! t8 E
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    ' B$ [' M4 b- y' }4 g1 \
  18. ; Windows directory (C:\windows or C:\winnt)
    4 v% `# i2 ]* D- l+ G8 ?
  19. ; See the PHP docs for more specific information.
    ; Q5 x$ G2 q2 F$ P$ A
  20. ; http://php.net/configuration.file
    - a5 i& \$ D9 Q3 y

  21. ) X* a8 D" |7 ^7 s( x( G
  22. ; The syntax of the file is extremely simple.  Whitespace and lines& j$ S6 p+ e0 ^1 H; J7 Q
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).# p% R% Q9 m! _6 B* x
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though0 ?8 r; H2 \- Y* W8 h
  25. ; they might mean something in the future.% x$ h* f7 J" {0 v9 b: |" u

  26.   S! n& T( t0 T
  27. ; Directives following the section heading [PATH=/www/mysite] only& e7 R) ]4 h5 H7 F, F5 W
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    2 K* v5 i! I- F
  29. ; following the section heading [HOST=www.example.com] only apply to1 B2 e/ P4 G& m
  30. ; PHP files served from www.example.com.  Directives set in these
    & q. a% m) ^1 {* A1 ]9 c
  31. ; special sections cannot be overridden by user-defined INI files or
    1 a& C( s9 B( S
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    ) y+ d4 K# k; s8 _) \. U  }/ ^' y
  33. ; CGI/FastCGI.
    , v, f" m) p. ^7 q* E+ Y/ s8 g
  34. ; http://php.net/ini.sections
    & y2 X+ B) z1 k# R8 n
  35. 4 b4 \7 d6 N' X" m& R  h
  36. ; Directives are specified using the following syntax:. ^$ G5 T# T* ~; u
  37. ; directive = value0 B8 t# R8 p* [4 N8 B) G- m
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.. b& u+ h* Z1 Z6 o) h. e9 Z
  39. ; Directives are variables used to configure PHP or PHP extensions.. Z/ p5 k2 Q9 G( T% W" L8 v  ]
  40. ; There is no name validation.  If PHP can't find an expected* L! A2 c1 t* c5 l& e0 f
  41. ; directive because it is not set or is mistyped, a default value will be used.- G6 a- e" x* e# B/ F+ F, [
  42. 7 C% h: z- b4 a  C7 k6 X  P8 D
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one0 B& y* `) d1 C6 V3 m" i
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    / o( Y; s4 `6 D
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a8 O. o# o; x' K; X$ ?7 b; p" I
  46. ; previously set variable or directive (e.g. ${foo})7 w' |7 D# u0 c( z  D

  47. ; }& L5 m3 ]" h/ |% a8 [
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:' ~% o- x* O, Y
  49. ; |  bitwise OR
    & D% t2 b$ J: ?7 L1 |6 `+ v* K
  50. ; ^  bitwise XOR7 q( S  }+ ?$ {' |( g& s6 y$ y
  51. ; &  bitwise AND: z7 E2 A3 u7 x" N: o
  52. ; ~  bitwise NOT
    + M* r- y- _  Y) E- v
  53. ; !  boolean NOT7 W' W( Z# l2 _
  54. / R/ ]9 y0 d9 s+ J* ?
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.$ w3 ^# _0 A. y) P) T6 \" a1 U% Q
  56. ; They can be turned off using the values 0, Off, False or No.
    ) i. P7 f  l# W

  57. : m9 b4 @$ |( }5 y% d/ o) f& E
  58. ; An empty string can be denoted by simply not writing anything after the equal
    7 C+ \" t. T8 R
  59. ; sign, or by using the None keyword:5 |* E  E$ K; A# h! a0 o' k
  60. ( A& x5 k4 b; r
  61. ;  foo =         ; sets foo to an empty string9 n: a! W2 p) T6 F" \3 f
  62. ;  foo = None    ; sets foo to an empty string/ }8 o; i& \1 h  e6 T( Y
  63. ;  foo = "None"  ; sets foo to the string 'None'' r0 R8 U- N* b8 d

  64. + X) l9 G1 {; o- o( D: V# ?1 L' \9 E
  65. ; If you use constants in your value, and these constants belong to a! Y! C9 O% p: w. [6 F
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),1 Y( d6 X4 ]+ ^3 l: V0 {, c( ~
  67. ; you may only use these constants *after* the line that loads the extension.
    4 j* P* N/ F' P3 h+ P  [
  68. 2 R3 a# L- B' p) e& I+ A
  69. ;;;;;;;;;;;;;;;;;;;
    8 w$ f2 K/ j% ^; B4 _/ y5 m
  70. ; About this file ;
    / W2 l1 X, g5 j8 N2 x
  71. ;;;;;;;;;;;;;;;;;;;
    5 B( F! h. Q, `* g& C9 p/ B8 a
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    7 {! ~7 E0 d* ~0 C8 [9 G7 A
  73. ; in production environments and one that is recommended to be used in
    3 M+ V2 j3 @. z; X
  74. ; development environments.
    4 A( M* D  @3 b9 q, G& x
  75. ( F7 S0 h- t2 `) k' K  e
  76. ; php.ini-production contains settings which hold security, performance and+ c9 P8 h3 r5 @$ b$ T
  77. ; best practices at its core. But please be aware, these settings may break8 b' J6 U& V6 f' _! k% T
  78. ; compatibility with older or less security conscience applications. We
    ! i  Z7 `  L* s3 {9 c5 l
  79. ; recommending using the production ini in production and testing environments.
    8 ]7 t* ~7 B% o6 r
  80. $ G% }$ U. _1 s; P' t! {# N& x
  81. ; php.ini-development is very similar to its production variant, except it is' Y3 Z2 o" ]. c4 |  H( g" [
  82. ; much more verbose when it comes to errors. We recommend using the
    - h; q" N8 ]% i7 a& H6 Y4 l' [- O
  83. ; development version only in development environments, as errors shown to
    & H( }7 j. z: G5 g8 U
  84. ; application users can inadvertently leak otherwise secure information.5 L1 z% N* N! r5 G  _# a
  85. % z* s8 e) j4 }1 ~; s
  86. ; This is php.ini-production INI file.
    # i0 u2 P. q9 t5 G
  87. . q! }9 u0 l) n+ Q* d1 \
  88. ;;;;;;;;;;;;;;;;;;;, }* w. h3 }- ]" g$ J7 `, g
  89. ; Quick Reference ;  Q$ U: O2 h, G9 k; r4 p
  90. ;;;;;;;;;;;;;;;;;;;
    . w0 k! l7 h/ n( ?8 i6 I
  91. ; The following are all the settings which are different in either the production8 E4 U* P" G9 Z3 b
  92. ; or development versions of the INIs with respect to PHP's default behavior.: v+ G$ _/ r! M( J/ ?5 u1 k6 M4 y
  93. ; Please see the actual settings later in the document for more details as to why
    * {) H6 [" o1 e% V" y. H
  94. ; we recommend these changes in PHP's behavior.* [7 t+ r( V6 U2 a3 E9 x
  95. 8 l. G. }, Z7 [" }* w% `+ p
  96. ; display_errors
    + d( s. _+ @) ~! W7 C
  97. ;   Default Value: On
    # L' c2 O: p, ~' w. Z. c
  98. ;   Development Value: On5 _* ]1 w+ U/ e& j& I
  99. ;   Production Value: Off4 `9 }, e6 j1 P7 k3 h6 W/ ~* m' f' ]
  100. 8 s( N* N, k; Z4 X. K* P! e& A
  101. ; display_startup_errors3 z3 _! B& H3 J2 m$ ], M
  102. ;   Default Value: Off, i# G- H) v9 `8 {* w% N8 \6 Y
  103. ;   Development Value: On
    $ a  p) S9 o1 a: C7 Y
  104. ;   Production Value: Off7 @9 d7 T4 I3 ^8 X& i7 b3 Y% V

  105. 5 b7 V* e% ~% ]# a) [
  106. ; error_reporting+ a: G: P) [3 U8 m* c, S
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED8 S- }3 K2 c0 l# c# z. H1 P- `* \
  108. ;   Development Value: E_ALL( M9 H* y& w$ Y! [; Y
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    " v: K1 C+ F$ ]9 Q
  110. 4 G* V$ V- p! B3 P$ x( q! p
  111. ; html_errors7 b2 A  P/ Y: J! F7 T$ T  ]6 U
  112. ;   Default Value: On" W$ [( U4 x( |5 N
  113. ;   Development Value: On) g/ g" W* [+ p3 D5 [9 F2 K( h$ J
  114. ;   Production value: On
    ' g. Q& d: }8 M# Q1 L

  115. / J! R( p; d" i# u9 z( O
  116. ; log_errors2 ?; X8 f' S$ i9 @" A* R! c7 e
  117. ;   Default Value: Off* P. t9 `! H0 E5 o7 S
  118. ;   Development Value: On- f. k* k3 ^+ V, F: t- c
  119. ;   Production Value: On1 a) z; [0 u( Y( g, J8 }2 J
  120. $ s  d1 I- g# O6 a
  121. ; max_input_time$ S0 ?4 e# p$ U+ o5 `, O3 G- Z/ V
  122. ;   Default Value: -1 (Unlimited)
    " ^, I  E: W% J$ x( t6 C
  123. ;   Development Value: 60 (60 seconds)
    # c# }8 @( {1 f9 |; z
  124. ;   Production Value: 60 (60 seconds)
    , @5 ?9 O2 M: g/ O7 z8 O3 Z" x7 V

  125. ' ~( _; u3 C  ^; c
  126. ; output_buffering3 K# s2 j' z% J" b7 P
  127. ;   Default Value: Off( n% f$ b4 Z. s+ x0 b) c( B! L
  128. ;   Development Value: 4096! |0 l# K2 }+ F% |2 z
  129. ;   Production Value: 4096
    1 Y2 i" j9 p: M* ?& a( W1 ?! a
  130. , T) N' M# V2 J0 z
  131. ; register_argc_argv/ B. O4 ~( X  M3 R, y" l9 o
  132. ;   Default Value: On8 H" d& s. k6 J4 ~6 y7 l6 d
  133. ;   Development Value: Off
    & E1 N& U! W  }: X; a
  134. ;   Production Value: Off
    # w. [; c/ k* T

  135. 0 x2 Q$ q% h: F3 O7 S
  136. ; request_order% U% e( z, ]9 X5 v% Z
  137. ;   Default Value: None- g9 S" _' u: Y
  138. ;   Development Value: "GP"$ G1 R9 t6 O  |! h; j. p
  139. ;   Production Value: "GP"/ m3 J: ~1 m# B; r' j$ \

  140. " F5 d! F  z, j+ e) V6 S( x8 X
  141. ; session.gc_divisor; c; O4 ~0 z% U; C( l4 L
  142. ;   Default Value: 100/ F" N$ X* y4 U) E7 O- P; ~
  143. ;   Development Value: 1000
    2 A* E& I0 s, q" ?6 W; I5 K
  144. ;   Production Value: 10008 _' |1 |0 o- z" k
  145. 8 z& F+ R# B/ H8 t* Z( Q
  146. ; session.hash_bits_per_character$ B: j3 M% t9 k4 p
  147. ;   Default Value: 40 M" L# u9 t! o1 }$ G
  148. ;   Development Value: 5; N" J# i' n& {& {
  149. ;   Production Value: 5
    5 d) G5 [% I1 b

  150. 3 N! S9 C. W& N) j6 \2 d+ K/ g' e* o
  151. ; short_open_tag
    ; k8 i6 x5 k# @
  152. ;   Default Value: On
    & D7 d" a- A7 |; t  i
  153. ;   Development Value: Off
      r8 K* i. k* m
  154. ;   Production Value: Off
    % j* m& U- J, h% [# r

  155. / Z/ T0 U, |* J6 r; u
  156. ; track_errors3 g- g0 l, y- C  e% E9 t$ H9 {
  157. ;   Default Value: Off, D5 A+ l4 J6 o* y. a- V" Y
  158. ;   Development Value: On' Q! x5 |$ X) m* s  d$ W
  159. ;   Production Value: Off; q, m6 d1 \9 e/ z, L
  160. 0 w  N2 l- U7 @  g, f2 r6 _' q
  161. ; url_rewriter.tags
    : l3 A6 c1 k( r: g
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    # ^- `& a) w* K5 A4 t* [9 @
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"; [7 j3 x; K7 ?  @
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ! x6 A7 t+ b0 B9 d
  165. ) h5 W# W$ M+ w- A2 H" N
  166. ; variables_order& o$ ]3 z1 U$ t6 @2 m3 x1 r) l
  167. ;   Default Value: "EGPCS"
    : i0 {. i! P7 Y0 y
  168. ;   Development Value: "GPCS"
    ( B2 A# t) e3 v  u! R# ?/ f% I) l
  169. ;   Production Value: "GPCS"( U9 m( e  v* ?

  170. ' E& @5 _/ }. o
  171. ;;;;;;;;;;;;;;;;;;;;
    0 N2 ?, A+ H6 i- P# `5 B
  172. ; php.ini Options  ;
    ! ?! |# Z( O, U& R3 B/ t
  173. ;;;;;;;;;;;;;;;;;;;;
    9 {, o% x+ ~7 [0 n/ |- R0 ]7 I
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    4 E9 S4 \! d  M4 O) h
  175. ;user_ini.filename = ".user.ini"
    4 U+ ^  \1 I2 X; u* a: n
  176. 6 \: w& C# c  o) q% ~  N3 r7 U8 `
  177. ; To disable this feature set this option to empty value  g" S! J1 G; d  v5 @
  178. ;user_ini.filename =
    5 A8 U3 S6 Q3 z
  179. 5 i2 V$ u& N1 W; j9 J7 F
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    ( L$ l/ i( b5 f. d% p
  181. ;user_ini.cache_ttl = 300
    1 ]. f4 f5 D. P8 @! ~
  182. 9 J% c' I7 i2 I( {8 J5 M. N) C" m3 \
  183. ;;;;;;;;;;;;;;;;;;;;
    $ d: d2 c+ ~8 N" q& D& \9 t
  184. ; Language Options ;! l, n. Y0 k9 O3 p* q* t
  185. ;;;;;;;;;;;;;;;;;;;;
    . H. ~  B2 l+ e0 F/ Q4 ]

  186. 2 \  M0 P+ U! v7 [
  187. ; Enable the PHP scripting language engine under Apache.
    $ h, d7 a% O- d) [
  188. ; http://php.net/engine
    : I5 h7 [1 ?- _
  189. engine = On- c7 t# h8 D, ^1 ]! v# |; [
  190. ( [% B4 ]# ^+ e1 i$ U2 K: U8 ^
  191. ; This directive determines whether or not PHP will recognize code between- T% J0 U3 H; \# Z' w9 z9 @3 @
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    * U7 x5 K  a. u$ p' a1 ^
  193. ; generally recommended that <?php and ?> should be used and that this feature' i, r4 W  L2 Y( W/ s$ C% C9 @
  194. ; should be disabled, as enabling it may result in issues when generating XML9 n+ o- h: k. R# j# s3 M% T9 H
  195. ; documents, however this remains supported for backward compatibility reasons.
    2 m  K  M& @+ D0 X
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    ; J9 O2 I: {/ }5 y8 x3 C+ ~" T
  197. ; used regardless of this directive.
    1 ]! G# A% g+ q0 O
  198. ; Default Value: On
    + O1 Z) O) Y! U* c9 N$ ]
  199. ; Development Value: Off$ P7 E0 I& \- V' W, |: F5 g4 [
  200. ; Production Value: Off
    9 ~. z7 B* i/ z4 E
  201. ; http://php.net/short-open-tag7 ?9 W. }2 {5 p9 v2 a3 u" h
  202. short_open_tag = On
    6 Q& B: ]2 a' L

  203. ! j) M: g% Q3 ^, V+ ~5 d
  204. ; The number of significant digits displayed in floating point numbers.& W, y, C  b& I/ F$ y
  205. ; http://php.net/precision( k2 {' J! X* Z
  206. precision = 14' s. k" Z' F# H$ A; S- Q* Y
  207. + U4 K- v, \5 W6 W, O: E+ e) A
  208. ; Output buffering is a mechanism for controlling how much output data
    - G% Q3 J6 t+ r9 m1 d
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that; w" _7 ?) J  |
  210. ; data to the client. If your application's output exceeds this setting, PHP
    % r/ _$ O% x/ d: m) |' d' ~
  211. ; will send that data in chunks of roughly the size you specify.
    9 B0 f  h" ]/ l& j4 }2 d
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    & ^; H5 p$ n/ c1 q8 N7 e( L
  213. ; interesting side-effects depending on your application and web server.3 k$ m) a/ E& o2 l
  214. ; You may be able to send headers and cookies after you've already sent output
    9 b, k( y# B* S" H0 h
  215. ; through print or echo. You also may see performance benefits if your server is- q+ a2 P' _2 W5 V
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    9 O0 l5 r$ k: r, n# o8 I0 @
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    , ?8 d4 O/ m2 q+ @! g
  218. ; reasons.
    ' j' e" q/ G! C6 j# F
  219. ; Note: Output buffering can also be controlled via Output Buffering Control( j1 q1 b, F% z
  220. ;   functions.  N. K7 @% b) T) F; D/ b
  221. ; Possible Values:. p3 [+ t  G& @% k
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)2 s. p$ R* J+ X5 J
  223. ;   Off = Disabled
    ) P7 g4 y- V* s- p3 R% h/ U
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.' C6 _0 m$ p. a& q, `9 J: t
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    $ ]; W% T2 r4 Q$ s
  226. ; Default Value: Off
    3 o8 x. {1 |$ _# f/ s- m+ s& ]
  227. ; Development Value: 4096! m: @+ ]- b* B
  228. ; Production Value: 4096
    ; p( x, d( H' k4 E+ j* B1 z/ U+ r
  229. ; http://php.net/output-buffering
    4 G$ ^6 b' j* [5 s7 |
  230. output_buffering = 4096- J/ J- Y& {! T( i4 m$ I9 h2 e

  231. 8 M) J) V: t4 u4 l5 a. f$ G  g& r
  232. ; You can redirect all of the output of your scripts to a function.  For
    , x5 f- i" T! j6 l
  233. ; example, if you set output_handler to "mb_output_handler", character. N& |1 m. z: D) }
  234. ; encoding will be transparently converted to the specified encoding.0 b9 l% D" J! l, `+ ]* P0 V
  235. ; Setting any output handler automatically turns on output buffering.
    2 ^; A" u" D3 {! }$ |1 Q4 N. Y
  236. ; Note: People who wrote portable scripts should not depend on this ini  K4 n2 U4 r* p1 @1 \& c
  237. ;   directive. Instead, explicitly set the output handler using ob_start().6 J& r) h) ^  S
  238. ;   Using this ini directive may cause problems unless you know what script
    ; R  P( b$ Q5 z$ K- Y" @* R/ {
  239. ;   is doing.
    ( c. H/ Q9 m. R! {
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    : p- _8 X1 [$ g) U; B/ J  e: N( D
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    1 m$ ~$ o  r: ~6 {" R& i
  242. ; Note: output_handler must be empty if this is set 'On' !!!!" N. x, ?' b+ i, ]/ |
  243. ;   Instead you must use zlib.output_handler.3 X9 `: Y7 O) \1 |4 ]  s
  244. ; http://php.net/output-handler
    ( N$ ~8 P2 d  M/ R: o
  245. ;output_handler =
    3 g' \4 e. v' w( R: w7 M$ U# a: }
  246. : _* o/ p/ j* b/ z, A- P
  247. ; Transparent output compression using the zlib library
    * ^: D* W2 x2 h8 u4 R* _
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size& c2 W$ X$ M. b
  249. ; to be used for compression (default is 4KB)2 e% \) i, R7 A/ C" `8 L7 b
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    6 W; L" d* x$ \2 E
  251. ;   outputs chunks that are few hundreds bytes each as a result of2 o# b! [0 R/ O0 G" s  z2 V
  252. ;   compression. If you prefer a larger chunk size for better
    . ^, D$ a. t7 K/ m% u% }
  253. ;   performance, enable output_buffering in addition.- B8 x% n2 E& m& M+ D
  254. ; Note: You need to use zlib.output_handler instead of the standard% q8 B" j5 e& F8 k
  255. ;   output_handler, or otherwise the output will be corrupted.
    * N: @  A+ r2 o8 y) u+ G
  256. ; http://php.net/zlib.output-compression
    / X4 O$ _1 E) T7 {" T% X
  257. zlib.output_compression = Off% o! W" B0 H, W- J" a
  258. 1 B* W% n# A" z. g
  259. ; http://php.net/zlib.output-compression-level
    5 G, M3 m0 b# v7 K
  260. ;zlib.output_compression_level = -1
    ' ~9 R6 z6 I6 o  @

  261. 1 X6 u3 n  u! C+ z# D
  262. ; You cannot specify additional output handlers if zlib.output_compression* Z( q: X- [6 g6 H* l9 B
  263. ; is activated here. This setting does the same as output_handler but in
    ' M' @# T9 |2 \- }; L
  264. ; a different order.. Y& P6 S$ S6 G; l) b, d
  265. ; http://php.net/zlib.output-handler
    1 w- e) P4 S" t  C2 G0 k9 a9 o' K
  266. ;zlib.output_handler =
    - q  D0 {* b+ D6 H

  267. / s  p! v( C6 v& y$ e
  268. ; Implicit flush tells PHP to tell the output layer to flush itself& E; {4 W; _7 r' C9 G5 w
  269. ; automatically after every output block.  This is equivalent to calling the0 e% X/ J7 O! [7 l' ]/ A- ?
  270. ; PHP function flush() after each and every call to print() or echo() and each7 |- M4 k9 z3 B1 G1 Y; G) Y5 W
  271. ; and every HTML block.  Turning this option on has serious performance
    5 `0 ~0 m, N: v
  272. ; implications and is generally recommended for debugging purposes only.
    6 b0 a+ J) q$ h0 `6 Z
  273. ; http://php.net/implicit-flush
    9 l; p2 O- O" h4 M
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    / I+ Y- D% A( U5 r
  275. implicit_flush = Off) F3 |7 M+ z3 b# ~9 \# Z) ]+ Z
  276. 0 n% t- h8 R1 z0 _. ?
  277. ; The unserialize callback function will be called (with the undefined class'* K+ \9 f" @0 V& @$ h, ?
  278. ; name as parameter), if the unserializer finds an undefined class9 G. v. |' P" K8 K- B  b% {* P
  279. ; which should be instantiated. A warning appears if the specified function is+ t; h4 e: ]6 X4 L9 q: }7 A
  280. ; not defined, or if the function doesn't include/implement the missing class.3 _9 f  O4 f. a8 [# ~9 t0 C
  281. ; So only set this entry, if you really want to implement such a
    # x) i2 m/ h) e  J( w
  282. ; callback-function.( L; G9 H1 ?) D1 \. V4 I  J, T% w
  283. unserialize_callback_func =& {% k8 b0 L& K0 c7 R
  284. 7 i0 B: @: O: @! Z3 u$ d5 d
  285. ; When floats & doubles are serialized store serialize_precision significant
    : I) T0 U: @8 P2 S3 K. F9 N" P
  286. ; digits after the floating point. The default value ensures that when floats
    0 H" {7 |4 I4 @
  287. ; are decoded with unserialize, the data will remain the same.
    : D' ?1 \; G7 n8 c
  288. serialize_precision = 17
    ) r* x# x( ^8 v/ H( g; {

  289. 6 D$ R5 z. F' W1 U# @
  290. ; open_basedir, if set, limits all file operations to the defined directory1 p* c7 g+ |" i' z1 w
  291. ; and below.  This directive makes most sense if used in a per-directory
    7 {, f7 E4 r7 _4 t4 Y
  292. ; or per-virtualhost web server configuration file.  g' k% v3 [6 h
  293. ; http://php.net/open-basedir
    ; j2 _2 q! q5 ~, A/ x6 V. s
  294. ;open_basedir =! E; L. P1 u* D1 s

  295. - k+ J9 j  O/ [1 V; W# k% s
  296. ; This directive allows you to disable certain functions for security reasons.7 h9 P- a9 s! |: L1 U$ P4 R5 l0 i; V
  297. ; It receives a comma-delimited list of function names.
    0 K3 y# ]8 ]. {, H% A& b7 }
  298. ; http://php.net/disable-functions/ N, Y: z. `% I9 P: i7 a9 [; x
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru% T" ~9 N2 Q  C& \5 o: P

  300. # H/ R6 _+ g0 w/ C( [
  301. ; This directive allows you to disable certain classes for security reasons./ l% h1 N5 S( }. ^4 z* e
  302. ; It receives a comma-delimited list of class names.
    2 ]! v6 K6 a$ r/ A/ z+ C& a
  303. ; http://php.net/disable-classes
    * y5 F, c! u& G' A, R
  304. disable_classes =
    ( [' C; A- Y6 F3 ~; q1 s; W
  305. ) D9 s. Q& `* H; P
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    : A+ ^; ?4 H) H- F* c! c
  307. ; <span style="color: ???????"> would work.; `7 B; G6 m7 e7 g
  308. ; http://php.net/syntax-highlighting) e% [* M5 l$ E7 `/ ?6 C8 w7 |, N
  309. ;highlight.string  = #DD00008 z6 k. m* S2 K9 p) h6 C
  310. ;highlight.comment = #FF9900' R6 D- D2 {6 c' ~% j- Q+ s* Y9 M
  311. ;highlight.keyword = #007700
      U: g' h6 B9 X: f0 E% u$ m
  312. ;highlight.default = #0000BB7 b" U' L/ ~5 Y0 O: P6 j+ b/ v
  313. ;highlight.html    = #0000005 v, p& C2 u$ F: c) B0 R

  314. , }* a$ R; O  B" y8 j: O
  315. ; If enabled, the request will be allowed to complete even if the user aborts8 z( U! X% v, Z; _& J
  316. ; the request. Consider enabling it if executing long requests, which may end up
    + N# }8 C. r0 z$ k
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior0 p4 W3 \' C5 ^$ e
  318. ; is to disable this feature.
    1 e0 n5 l. w- N- j+ d2 o) k
  319. ; http://php.net/ignore-user-abort
    9 I# l' Y, H+ {. A0 N
  320. ;ignore_user_abort = On
    1 g/ E5 U0 N$ m

  321. 9 A1 B! [) l* k- W) F6 O6 P# c
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    ) j  O3 t6 T1 x& x
  323. ; be increased on systems where PHP opens many files to reflect the quantity of- f# Y5 B+ X( _4 e, ?3 @! Z# W
  324. ; the file operations performed.
    ! i" j% \+ ~$ H7 j' L
  325. ; http://php.net/realpath-cache-size# b% N, G$ m- B) s4 L0 A8 |
  326. ;realpath_cache_size = 4096k
    7 a& G  G5 c0 b
  327. 4 x8 a- d  ^' n
  328. ; Duration of time, in seconds for which to cache realpath information for a given3 h4 `/ f6 |" q) ]" d& Z* }2 `- ~9 @
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    2 [4 S3 H9 z2 `8 I5 t
  330. ; value.8 r& V. f, H4 @2 v
  331. ; http://php.net/realpath-cache-ttl
    7 q" |( L' @6 ]4 i" |0 |% K9 @' C
  332. ;realpath_cache_ttl = 120
      `7 e/ B4 u* Q5 v3 H3 [# ^
  333. # A1 C! @2 V- P$ K  ]
  334. ; Enables or disables the circular reference collector.3 ]( @5 G8 ^: z& `1 r/ J
  335. ; http://php.net/zend.enable-gc
    $ b* \6 U, ^  u# B
  336. zend.enable_gc = On& ~' b, ~; B& Z0 b
  337. ! f% U4 ^7 o) E  h) r1 \2 @& L
  338. ; If enabled, scripts may be written in encodings that are incompatible with) X3 G' f" i$ V/ ~6 h3 q; s: |1 f
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such& w) M& y5 L' K% _' v$ B
  340. ; encodings.  To use this feature, mbstring extension must be enabled.& @3 D+ q  w4 b7 G. Y. F. }, {* K7 @4 ^
  341. ; Default: Off
    ( V  |8 c* k2 |9 Y
  342. ;zend.multibyte = Off4 u3 [- G0 `& V: E8 t' Q, f- l

  343. , b5 X6 h% J& w
  344. ; Allows to set the default encoding for the scripts.  This value will be used/ H6 p9 ]/ T' {* _7 i  J3 w
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    / P. L  W9 s: E$ y
  346. ; Only affects if zend.multibyte is set.
    0 o# C: P, [9 ]1 T2 ~7 {1 I. H" v% y
  347. ; Default: ""1 [. f/ d+ C- V( ~5 h
  348. ;zend.script_encoding =
    " i, y) }! g  C. L- L
  349. - s  n$ Q2 ^, i' ^# o
  350. ;;;;;;;;;;;;;;;;;: W% t9 O& q4 G$ I0 S
  351. ; Miscellaneous ;% ^. \6 U' T( t
  352. ;;;;;;;;;;;;;;;;;  {) E" C6 E) }3 i5 S( N  T
  353. " d2 d5 s. J6 y- m* O  [. @
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    # q8 p! ]  H) p/ C3 P
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    8 g/ `) V' v: A' W
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    & j! ], |5 v& U* S& S' C- Q
  357. ; on your server or not.4 B% t( h; f1 [1 g& g
  358. ; http://php.net/expose-php
    5 `: @% [1 K4 W) ~4 w* N; a5 N
  359. expose_php = On& w* l. p" ~% y2 T4 N( e; ~

  360. ! U/ A5 Z- j7 f2 m4 ?8 h7 |  s) J
  361. ;;;;;;;;;;;;;;;;;;;! Q" `3 c# h" |3 S3 }! A. e
  362. ; Resource Limits ;
    * R3 e) U* W) h6 E/ }% y- W
  363. ;;;;;;;;;;;;;;;;;;;
    ! B4 {; s: ~  A' G
  364. $ F7 r9 O. b- T  x8 n% e; u' Q+ ~
  365. ; Maximum execution time of each script, in seconds
    + ]( k& {& i! y1 m7 E/ o  P
  366. ; http://php.net/max-execution-time
    , X" Y7 y" w/ {2 s
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    7 ?3 X  `  u" J  }
  368. max_execution_time = 300& P- J8 O- ]( x, D+ a3 C& J4 b
  369. ( n$ q1 f0 j: g; V4 F5 R# v
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    9 E) m, U% W0 \1 N2 u" r
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    8 o7 ^. A. Z7 i+ C) Y  `. V
  372. ; long running scripts.
    ; O" B0 }" ?8 q, S8 D. @% X. k
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI8 [, b) N, D7 ~- {9 P5 T8 z
  374. ; Default Value: -1 (Unlimited)* d: k; j5 Y  S7 f/ Z" j
  375. ; Development Value: 60 (60 seconds)
    9 Z9 |3 r1 F: B" i5 a7 v( A
  376. ; Production Value: 60 (60 seconds)
    3 s  k# ^1 g7 _1 j8 x0 B
  377. ; http://php.net/max-input-time5 }! m6 _; `/ x3 d: K. C
  378. max_input_time = 60/ }/ W/ w9 y% |/ ^) _: c8 J8 m) w

  379. 2 m% a" n" G8 R/ J
  380. ; Maximum input variable nesting level$ Y5 c( h" q8 k9 p8 T# C
  381. ; http://php.net/max-input-nesting-level
    " S- d8 X% S: J* n* U# f8 t3 Y
  382. ;max_input_nesting_level = 64: C( }! ^" r, M$ P3 X

  383. : Z% S2 h% L2 o- _4 |
  384. ; How many GET/POST/COOKIE input variables may be accepted0 l! G1 [; h0 ]3 _7 n3 u
  385. ; max_input_vars = 1000* H0 b6 Q4 V& A4 ?" K
  386. 5 ~, T5 h/ E: p8 j
  387. ; Maximum amount of memory a script may consume (128MB)4 K  x# n, c, Q( V
  388. ; http://php.net/memory-limit9 b/ I% T9 H7 \5 ^, s, y2 i
  389. memory_limit = 128M
    2 d, ^" b; \$ K+ o1 u3 q

  390. 5 E3 Y8 ]& Y6 x: j% h
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    9 V% E' j  ^6 x% p
  392. ; Error handling and logging ;! ^6 W9 @! g' s2 F" r
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4 n3 f, _  G  r4 u: o

  394. 9 W1 I" M- L* \7 J) K' r
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    $ f) K/ z  Y+ \5 W
  396. ; it to take action for. The recommended way of setting values for this
    , H" P* o* U- }4 C2 v: d3 ]: o
  397. ; directive is through the use of the error level constants and bitwise
      G+ s" K; N' z8 x6 H, x( A
  398. ; operators. The error level constants are below here for convenience as well as
    ) r9 u: n; o6 k3 A
  399. ; some common settings and their meanings.: s6 w$ i/ n& G
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT- v0 ~" ]1 W! u
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    5 j9 L9 L, Y- y1 _) y' |
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    . Y$ e: g6 n% N. ]
  403. ; recommend error reporting setting. Your production server shouldn't be wasting) V% |( a& R; W9 l* _3 r6 ?2 l
  404. ; resources complaining about best practices and coding standards. That's what
    0 R* G& m; h$ `3 w4 A
  405. ; development servers and development settings are for.
    + J7 g8 K) P0 W3 B% X3 ]" y
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    ! Z' x& D6 ~, s  l: O; H
  407. ; means it pretty much reports everything which is exactly what you want during& v; |, K) n# u
  408. ; development and early testing.
    4 u7 f" d; d6 T) Y# x- z8 m* L0 C7 g
  409. ;1 h# e# O# M9 ^  R  q& u  N' N
  410. ; Error Level Constants:
    " o: J5 _5 Z6 w4 B/ ]: u
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    . L2 L+ c0 K7 z" g9 B  I1 W- y
  412. ; E_ERROR           - fatal run-time errors' p# ?, e* W1 w% D. W, h
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    ; V, H! X; B7 @$ j8 ]
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    * P9 u5 X+ N$ C# d2 d
  415. ; E_PARSE           - compile-time parse errors4 T! q! z0 ~0 b; j8 d
  416. ; E_NOTICE          - run-time notices (these are warnings which often result, B8 M8 }4 U/ H
  417. ;                     from a bug in your code, but it's possible that it was% L* n; j/ Z- `- o, `; S. V2 h
  418. ;                     intentional (e.g., using an uninitialized variable and
    1 f* Y. y) V* B  z1 P9 x
  419. ;                     relying on the fact it is automatically initialized to an
    4 y3 y$ w6 R: f- M7 l( j! y  }
  420. ;                     empty string)
    ; N2 C3 X4 U9 J) T- f
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes3 ]2 N5 r; J2 i: q; a5 K( h
  422. ;                     to your code which will ensure the best interoperability
    6 T, x9 v$ Q% w5 m6 a1 B* J& U
  423. ;                     and forward compatibility of your code
    9 |! q- b2 k" P& t$ s# B! C
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup4 d, F% ~. v, I' t2 r
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's. o; k. L7 m+ ]& E0 m" |3 i1 ]' W. X
  426. ;                     initial startup0 t7 B$ _+ O6 P0 x
  427. ; E_COMPILE_ERROR   - fatal compile-time errors9 q0 ]2 y% G5 f/ v7 K
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)1 t" _. v9 ~! J9 ~
  429. ; E_USER_ERROR      - user-generated error message
    # j3 {' L; |0 b, C
  430. ; E_USER_WARNING    - user-generated warning message
    1 @0 ]& D& W3 B/ G
  431. ; E_USER_NOTICE     - user-generated notice message
    # m, Y  Z. U0 W) h1 D: ^
  432. ; E_DEPRECATED      - warn about code that will not work in future versions! n3 I2 B1 R3 J' ~! L
  433. ;                     of PHP
    4 N& }6 D& A; F1 l2 C
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings- }# f: e* C7 \7 L2 ~- S% s
  435. ;7 V3 H$ `* S- Q4 Z
  436. ; Common Values:
    " a9 a$ \( c0 o; @
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    1 o  k& M9 s* p6 k2 q$ {7 n
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    $ s$ I' P" _) Q+ I; E, G
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)3 A5 O2 }. `3 Q& h6 \! V' s2 C
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    , g1 L9 z' f# E( g" @5 L. Z
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED7 X0 C7 I+ a7 w1 {3 E( |" `
  442. ; Development Value: E_ALL' \% u8 I% L% X) u
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    0 s' \# T6 m! E+ B
  444. ; http://php.net/error-reporting( n6 `* p1 |& A1 W# ?4 j  w  H
  445. error_reporting = E_ALL & ~E_NOTICE
    3 b& H" P" d) [0 |/ ]5 A2 u; s
  446. 6 n' }! s1 K4 |; u% v
  447. ; This directive controls whether or not and where PHP will output errors,
    - S2 J, H  u+ ~0 O
  448. ; notices and warnings too. Error output is very useful during development, but) L! P. j5 J. ]" u7 i2 ]
  449. ; it could be very dangerous in production environments. Depending on the code1 S, C' w! P" w) C
  450. ; which is triggering the error, sensitive information could potentially leak% e$ ?2 z( V" I" o
  451. ; out of your application such as database usernames and passwords or worse.: d1 M. X' ]2 _& @& A
  452. ; For production environments, we recommend logging errors rather than
    " J2 }. [, x- E
  453. ; sending them to STDOUT.
    6 M' k% Y" {# y0 _2 Y" S
  454. ; Possible Values:7 x8 H* S+ Z" e; o0 g
  455. ;   Off = Do not display any errors. C2 v, {! g( }+ l9 _) v& C% Q" j
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)4 Y: M8 v/ e' t7 @+ c  F$ R$ Z0 h
  457. ;   On or stdout = Display errors to STDOUT& z7 u( E, U# I1 A( P8 u4 n
  458. ; Default Value: On
    5 v  @( S2 p, e, U# P6 M
  459. ; Development Value: On
    4 d# l  j' B) u+ f8 I! z
  460. ; Production Value: Off
    + _1 a/ f6 A: O. C/ G  w
  461. ; http://php.net/display-errors
    % y/ {- q* x+ }* n# G  W( e# X
  462. display_errors = On3 o) l# Z. q8 C% q

  463. 2 U. u2 V0 p  D* ^+ d: H' N5 r
  464. ; The display of errors which occur during PHP's startup sequence are handled
    8 v8 g% F/ O1 y
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    5 H' i6 \( [( n/ o
  466. ; errors from clients. Turning the display of startup errors on can be useful in# B7 {" ]+ D. S% T: w# `
  467. ; debugging configuration problems. We strongly recommend you
    & Q5 F4 j& d) S4 `  F$ s# h
  468. ; set this to 'off' for production servers.
    + c, |. c. i, a" f
  469. ; Default Value: Off2 A/ W: U$ W$ S/ |
  470. ; Development Value: On( ]( o' ?' L+ _! L' E, d4 X
  471. ; Production Value: Off/ U+ I" V- f& l  X3 ~* p+ I# n
  472. ; http://php.net/display-startup-errors
    2 |+ |- z2 Y- c! s6 m( \
  473. display_startup_errors = Off
    2 j3 q* P1 J  J+ _! r0 x" i  w

  474. , g. K& ^' R) W+ N" x$ n- k0 ~
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    # s2 X7 P" D+ v: M! {  h& b( `
  476. ; server-specific log, STDERR, or a location specified by the error_log
    # g9 j( ?  q  t
  477. ; directive found below. While errors should not be displayed on productions
    9 `& C/ Z( S  N$ Y
  478. ; servers they should still be monitored and logging is a great way to do that.
    1 K+ F! D3 p, T% `$ U( ^& W
  479. ; Default Value: Off
    % ^( j  F; C0 b* P
  480. ; Development Value: On
    3 F* N& D% f. N: Z7 w  t
  481. ; Production Value: On
    - @# J, x2 J. Z1 ^, K7 d
  482. ; http://php.net/log-errors
    ; d# r3 v8 [8 ~  x3 [9 J
  483. log_errors = On; ~; x* f4 ~+ L+ z  e
  484. ( l$ V/ k6 W" J& n# a1 u7 B
  485. ; Set maximum length of log_errors. In error_log information about the source is
    2 A6 e5 N9 I  y- M
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    ! x( R, ?* N3 ]" e4 h% G
  487. ; http://php.net/log-errors-max-len
    4 @1 E. n( \# M& ?/ p1 v! B& O8 z
  488. log_errors_max_len = 1024* Z4 V/ G# m8 e2 m' s* J6 R
  489. 1 [5 t9 T3 y* F/ W( T6 E% o6 J6 |
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    $ ]8 n, Y$ s) o  {: M) D
  491. ; line unless ignore_repeated_source is set true.
    4 L' T/ r- x* O7 l, Q
  492. ; http://php.net/ignore-repeated-errors
    ( Y) _% N4 z! E$ @" Y! E- W
  493. ignore_repeated_errors = Off& y% S9 Y9 h2 ~$ o* x
  494. 6 F# z9 o7 t" h% u. n: H6 ~
  495. ; Ignore source of message when ignoring repeated messages. When this setting5 A9 k7 t! N$ G" e3 l) d# _+ a9 o
  496. ; is On you will not log errors with repeated messages from different files or9 x# G- M3 V4 W( H' m' F% c( R
  497. ; source lines.% G- N' o7 D5 t4 ]; Z6 B
  498. ; http://php.net/ignore-repeated-source& A+ p5 ?- Q2 k2 Q' A
  499. ignore_repeated_source = Off
    . Q9 F. u# a) p9 l+ |+ y6 N
  500. . S8 O" Z0 f* R5 Q4 F
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on, w7 }! {7 }  U2 `: \
  502. ; stdout or in the log). This has only effect in a debug compile, and if, O" l* @9 `" g
  503. ; error reporting includes E_WARNING in the allowed list
    5 k/ W3 a, w5 W; T/ m
  504. ; http://php.net/report-memleaks" l4 p# c5 d; A6 f2 K+ H
  505. report_memleaks = On
    5 ]  L: P% L9 H

  506. # O/ p/ N3 {6 V% g* t
  507. ; This setting is on by default.
    0 S2 R5 k. B- P0 i: ?5 T2 r( ]
  508. ;report_zend_debug = 0/ K% K; U' N3 a& h, Y
  509. ! D7 m* e6 z& W' J
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value& C$ w: v3 \( {# O% D: @
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    6 M( U/ ~  c; g% Z
  512. ; however be disabled on production servers.8 O# P8 C& r3 G: ~2 R
  513. ; Default Value: Off
    % P( ]0 K: P5 L+ [
  514. ; Development Value: On
    * G% q1 @6 P" Z1 L  u6 z; V( U
  515. ; Production Value: Off! H' V! f7 m( ^4 J; j$ ]$ V+ }, z
  516. ; http://php.net/track-errors! l) d7 a# D9 G1 }/ |" L8 v8 D" J' m
  517. track_errors = Off
    0 |1 e7 w4 D( g" b8 f% i! t

  518. 6 d* B6 {; u6 V* A6 \& r) {) u
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    7 }$ d9 h, i8 K1 k" E+ E
  520. ; http://php.net/xmlrpc-errors1 d: a) h8 [' A  V
  521. ;xmlrpc_errors = 02 U' f5 c1 N3 u" w7 b5 v. n

  522. ( z) o# ]7 j9 I; F; N
  523. ; An XML-RPC faultCode
    + G1 t, U6 J) i6 P
  524. ;xmlrpc_error_number = 0
    . Q- B, P* M" v. F( j. w+ m

  525. 4 x; A' j9 u9 S5 f0 ]* A# h1 ~: C0 s
  526. ; When PHP displays or logs an error, it has the capability of formatting the! v% v" u( Q" a# r2 ]( O( I
  527. ; error message as HTML for easier reading. This directive controls whether
    6 {% {8 e8 v& U& x
  528. ; the error message is formatted as HTML or not.1 T; J  S! E1 n; \. J  ?
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    % b8 q; x# Q  @& P* A" u
  530. ; Default Value: On% @' R9 c# W# g' @; T  P6 E( }8 ?7 p
  531. ; Development Value: On
    8 z# ]. [; Q1 t; A
  532. ; Production value: On4 R+ u, {( y2 a" K% {2 \, d4 w
  533. ; http://php.net/html-errors* S" V: a! I  X) y  _# @
  534. html_errors = On9 t. S1 C; X; F# p4 t& n0 q

  535.   H2 w& L. U6 g1 O* Q4 \3 x
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
      z( i, n( L, }& f7 G- @
  537. ; produces clickable error messages that direct to a page describing the error
    # }4 S- Z7 ~* e% i
  538. ; or function causing the error in detail.
    7 N  ^1 f) Q8 [
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    ( O( t" M1 z% v3 G
  540. ; and change docref_root to the base URL of your local copy including the4 D3 X+ \4 E4 {7 j, T: ]% R( K
  541. ; leading '/'. You must also specify the file extension being used including5 W% H% T* ~) L3 _; r
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which4 q, u- E1 }9 p  n. |* s" z0 G) D
  543. ; case no links to documentation are generated.' V" g3 J9 q6 }
  544. ; Note: Never use this feature for production boxes.
    & L2 \5 k9 J% z( d
  545. ; http://php.net/docref-root
    % C9 h& i3 q2 n& X
  546. ; Examples
    * I' G& n; c7 j5 P) [
  547. ;docref_root = "/phpmanual/"; |! _$ A" s/ |0 d  J

  548. : s+ I; p3 `; H1 W
  549. ; http://php.net/docref-ext" Q! W% C( r' I& ?
  550. ;docref_ext = .html: n8 O" D3 Y1 y0 Q2 M

  551. ! p# ~8 P( @% @0 u
  552. ; String to output before an error message. PHP's default behavior is to leave
    3 f1 h3 n# g/ Z
  553. ; this setting blank.) f, a: g! W9 O- }" K8 j* [
  554. ; http://php.net/error-prepend-string
    7 z4 N* W- d$ `9 @" r: v2 V# j& f
  555. ; Example:
    ! E/ V8 \: H  J. u0 r) r* i" Q' ?7 ]& Y
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    . F9 @- H; ?" R) R
  557. ! _; D) [& i" T/ w
  558. ; String to output after an error message. PHP's default behavior is to leave0 {, u! J  _! j. ]; `
  559. ; this setting blank.6 b) @& i6 P* y1 q$ o6 C
  560. ; http://php.net/error-append-string
    : ]+ g# h6 K2 a+ |
  561. ; Example:
    3 S- w' Z4 e- b5 V* J$ C/ Q( A
  562. ;error_append_string = "</span>"
    3 }" I0 {9 H- t- P  |
  563. % p; g3 y, e+ g8 c/ M
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    # x% e# b: T! b% U
  565. ; empty.; \7 g' c, n2 h, Y% p
  566. ; http://php.net/error-log
    $ c0 g' T! _8 M2 T- _5 u
  567. ; Example:
    % `5 p% c, f' o; L1 H* y/ M8 U( |
  568. ;error_log = php_errors.log4 ]$ ?  F7 g# O' @2 j
  569. ; Log errors to syslog (Event Log on Windows).& l& \8 W+ Q# b
  570. ;error_log = syslog
    - C2 A  E1 z5 ?) s; x

  571. ! y; v+ A% S; ]* s$ p/ M  ]
  572. ;windows.show_crt_warning
    ! ^/ Q! Z  D8 t4 E' A1 V
  573. ; Default value: 0- }* ?: Y: L0 p- n. D" B  ~
  574. ; Development value: 06 |* d9 L7 J8 S) f! B
  575. ; Production value: 0
    ! U' m; Y, \" D* b
  576. , t! {. B' u/ H6 D) v
  577. ;;;;;;;;;;;;;;;;;
    4 V4 H% x8 u8 c) F& |2 P/ d! ?" q
  578. ; Data Handling ;3 ~' {# s/ o1 F" h! X& {
  579. ;;;;;;;;;;;;;;;;;
    ( S& R3 M) y' ~
  580. 2 P4 A' c9 L, U% _
  581. ; The separator used in PHP generated URLs to separate arguments.
    ! M% X7 X0 U$ _& w
  582. ; PHP's default setting is "&"., m- H1 w+ y' s
  583. ; http://php.net/arg-separator.output
    5 L/ ]0 u6 [- Q2 f: T0 Y* ~
  584. ; Example:
    , x5 X7 M  d# Y3 _
  585. ;arg_separator.output = "&"
    7 H( I) ?5 Z8 V
  586. * z# U& B6 {/ T% R  s: A; o/ w/ d* y
  587. ; List of separator(s) used by PHP to parse input URLs into variables.3 B  i& x6 \1 K: h& f6 C) [
  588. ; PHP's default setting is "&"./ O7 u2 {8 z2 @# ^
  589. ; NOTE: Every character in this directive is considered as separator!+ n% Y) m* V, }; ^- \8 e2 G5 E9 A
  590. ; http://php.net/arg-separator.input
    - Z* @: Y; m8 M' [
  591. ; Example:
    2 n! N1 I3 X+ |) W) b( V$ u
  592. ;arg_separator.input = ";&", Y( s: `3 u  U6 s1 @9 ]
  593. / M" n& ^6 C9 B! z* p. A9 q3 }
  594. ; This directive determines which super global arrays are registered when PHP
    6 m3 y+ o0 U4 H9 L: r- b
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super7 g( _! b0 z2 `% M6 O0 F) n. ~
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    0 H4 U5 r- {2 w# ?, e
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    / {. @8 a6 w7 }6 t. D8 \4 `& e
  598. ; used as the others, ENV is not recommended on productions servers. You- s; r4 b; l  ~0 q# q
  599. ; can still get access to the environment variables through getenv() should you
    ; U. D2 t; n0 _* a
  600. ; need to.5 o: Z; k% ?3 z; C' t% I9 H. @
  601. ; Default Value: "EGPCS"5 f- K8 j; l" I$ V# T
  602. ; Development Value: "GPCS"
    & P+ {: y# v9 Z; K* _4 S
  603. ; Production Value: "GPCS";
      ?3 v6 F7 {7 K
  604. ; http://php.net/variables-order- t0 s$ O- m- N  {
  605. variables_order = "GPCS"5 w( Y; I1 |0 m3 {- f( \

  606. + B- ~1 H, z- X' B& E5 Z4 E
  607. ; This directive determines which super global data (G,P & C) should be0 l  L# O8 w: c
  608. ; registered into the super global array REQUEST. If so, it also determines' R  M. Y" E" q' W* Z. W, F
  609. ; the order in which that data is registered. The values for this directive' k! x" J2 ^# O
  610. ; are specified in the same manner as the variables_order directive,
    3 r% v4 s/ ?# T0 l+ I% O
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    # y+ Z. [1 S) O$ n! I
  612. ; in the variables_order directive. It does not mean it will leave the super
    $ ?4 @3 U! E# Q: b
  613. ; globals array REQUEST empty.5 \* L% E* Z: h+ |+ }
  614. ; Default Value: None- a! k. s8 Q% s' r
  615. ; Development Value: "GP"
    # |  ?' _  O! q
  616. ; Production Value: "GP") i: T  c8 R1 R
  617. ; http://php.net/request-order
    $ {' \% ^4 B3 V2 o) h6 w  m
  618. request_order = "GP"
    7 m& ^) U' n" E, c4 b

  619. # p/ V9 y1 a5 z8 h8 E; O( ]7 K' C+ g9 X
  620. ; This directive determines whether PHP registers $argv & $argc each time it+ ~8 K- o* K! ~& ?( u
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script: G% c5 C, ^, f# K, A  w8 M
  622. ; is invoked. $argc contains an integer representing the number of arguments* B3 m1 Q- l- |1 A& F- J0 H
  623. ; that were passed when the script was invoked. These arrays are extremely
    $ e: }  W8 E9 x
  624. ; useful when running scripts from the command line. When this directive is
    0 u* _9 R# o2 ^* H4 J
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    / e0 {  N) K  O3 i( m, L/ O
  626. ; a script is executed. For performance reasons, this feature should be disabled
    " F. T3 P7 [: Y3 U+ S' }
  627. ; on production servers.
    ; D! G- S1 i9 Y% Y
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    ' o- _8 P& b; G7 P
  629. ; Default Value: On
    4 I0 m. W, c5 ~: p6 J7 Y  A. j
  630. ; Development Value: Off
    - G( A! S3 s; [" [% Q- h* D
  631. ; Production Value: Off
    ( W& X5 \3 C8 a6 X
  632. ; http://php.net/register-argc-argv! i0 p$ A( Q6 A* R2 F( n
  633. register_argc_argv = Off9 E; y3 F$ E- b* R

  634. 3 i1 ^; Z- C) v. g+ G2 o
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    4 }' ^2 \6 Y. K, j& b, f
  636. ; first used (Just In Time) instead of when the script starts. If these7 F+ I' {9 R  A* O6 h' Q' V
  637. ; variables are not used within a script, having this directive on will result
    2 j; g9 E3 J9 E) A* I8 N
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled; f% t0 ]+ C  _
  639. ; for this directive to have any affect.+ j7 x. Q" y( [
  640. ; http://php.net/auto-globals-jit, [* _2 h$ |8 n" y" g' H3 S- `! Q
  641. auto_globals_jit = On
    : }: y; h6 Z- b8 @0 f
  642. $ j+ D. h7 z/ c; B( S9 D4 G' O! M
  643. ; Whether PHP will read the POST data.
    % n0 _* M; p" `6 v. S
  644. ; This option is enabled by default.
    2 T( b* x0 E- {& H4 N% V
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST/ R. @3 L/ }: h
  646. ; and $_FILES to always be empty; the only way you will be able to read the1 d. U* N1 b, I- f! Q: h  y
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    % R. U2 F  x/ O: E: A5 i) c
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    7 m5 Z: J5 f% E  d/ O2 k# t9 j
  649. ; http://php.net/enable-post-data-reading  e! W9 t% ^, M) J1 ?& L( [
  650. ;enable_post_data_reading = Off$ U. P7 M% L: |) q
  651. 3 m) [& [% w0 N& `
  652. ; Maximum size of POST data that PHP will accept.2 _+ y# L& [* p) M
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading4 g; e) K9 t" W) `' ~: U1 U
  654. ; is disabled through enable_post_data_reading.
    . D  q7 t) w8 ]" V) \
  655. ; http://php.net/post-max-size, _8 f0 k3 `' v$ z; n
  656. post_max_size = 50M
    5 r4 F1 A9 G* Y5 |; ?! ?* }1 u

  657. $ ]. D3 k  F9 z3 N* g! x. Z
  658. ; Automatically add files before PHP document.' i  Z0 n* e! S/ x, @/ e& d
  659. ; http://php.net/auto-prepend-file  @. w+ G0 a$ p
  660. auto_prepend_file =/ D: ]: T$ L) A

  661. 6 {8 o* n8 J+ k$ m
  662. ; Automatically add files after PHP document.8 o- M5 Y( u" ?, i
  663. ; http://php.net/auto-append-file
    5 ^! [  ]0 O" z/ ~( I  _: i
  664. auto_append_file =
    8 d! F& H2 B8 ]3 x4 P6 a) U5 U6 p

  665. . M) k0 z, k/ ?3 D& b: n
  666. ; By default, PHP will output a media type using the Content-Type header. To6 e$ C$ g2 n) {+ p$ I" Z0 Q
  667. ; disable this, simply set it to be empty.
    1 d5 v* X9 j' B+ [$ P7 R
  668. ;5 j; ]& t& A2 H5 A
  669. ; PHP's built-in default media type is set to text/html.
    ) i+ X. t! i# ^1 Z9 Q7 `3 l
  670. ; http://php.net/default-mimetype$ Z- i$ ^* h3 c& b
  671. default_mimetype = "text/html"$ {2 h; I# Q7 ?# u+ r

  672. : S3 ?) m4 ^" w( X! M, \
  673. ; PHP's default character set is set to UTF-8.
    9 @& O+ k: r" _8 D
  674. ; http://php.net/default-charset& w% ^0 l* k7 e- G! t7 b% o* U
  675. default_charset = "UTF-8"
    % h7 L" H# _( G$ _% a' e

  676. 2 a3 n) N1 ?/ U3 ^" O7 a
  677. ; PHP internal character encoding is set to empty.
    8 g  d. X8 c8 [8 s: b
  678. ; If empty, default_charset is used.! T, ^, |1 [2 M2 u5 c
  679. ; http://php.net/internal-encoding% v; l' t5 v/ r) T) O) s6 o
  680. ;internal_encoding =
    3 B9 Y4 v/ g' [8 ]

  681. : E  n9 k& t# c) y8 z: L& Z" l9 m
  682. ; PHP input character encoding is set to empty.; d7 C; k! U5 L+ T: \6 E. j* D( P
  683. ; If empty, default_charset is used.
    & z& ~2 K. }# Y& y+ z
  684. ; http://php.net/input-encoding7 l# b4 T2 p* ^
  685. ;input_encoding =
    8 ]. l7 V. L: P$ C0 s. Z: u% p

  686. 8 j. U+ j' n5 q4 o! x  m4 ~
  687. ; PHP output character encoding is set to empty.* k; ^% {3 P) \6 W( W0 J( I
  688. ; If empty, default_charset is used.
    0 e& T9 F3 Y' C8 H. u0 t( }
  689. ; See also output_buffer.1 H! ~8 B' h* E2 r* x- V
  690. ; http://php.net/output-encoding+ O* N# A, V' g) |
  691. ;output_encoding =5 P0 t% t; _% r! U5 o( c+ Y5 t' N
  692. % h" x& u' {6 i% M% N
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;% e$ G4 _' a  A3 w- B
  694. ; Paths and Directories ;8 I- ]  l. D' q) \7 ?5 K
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    & a8 a' J& m$ S8 R8 ^: t0 T+ `
  696. . K8 Q. A6 [5 A6 s) U& K
  697. ; UNIX: "/path1:/path2"+ e  r- T+ o+ u4 b
  698. ;include_path = ".:/php/includes"3 N8 `# D, h1 [9 v! @8 C, V% p
  699. ;" {' g8 O  s! o: a7 ]
  700. ; Windows: "\path1;\path2"2 o: F7 p- c3 A7 |& W: f
  701. ;include_path = ".;c:\php\includes"5 B6 l0 J9 _1 u' a
  702. ;$ ^5 H( X. w3 ]+ Y: `3 T' s* C* l
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    , z7 L0 `% ?' k2 ~, H
  704. ; http://php.net/include-path7 L- O5 V* A9 F1 Z  S

  705. + C! m, N! ~6 J) U
  706. ; The root of the PHP pages, used only if nonempty.( o. ^' y+ l( A3 W  C3 s
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root7 C* p, Q7 T! j; Y& q
  708. ; if you are running php as a CGI under any web server (other than IIS). V9 _$ o0 m1 F. _3 [5 D- @& G
  709. ; see documentation for security issues.  The alternate is to use the
    8 H  J* t4 V- `; N( d
  710. ; cgi.force_redirect configuration below
    8 n# |9 x" _' k/ H
  711. ; http://php.net/doc-root
    - F3 T7 K8 }6 q' o
  712. doc_root =
    & K* P! W9 t5 @5 m7 ^' r' L/ W& g: ]

  713. ; Y' ~6 Z9 J6 N
  714. ; The directory under which PHP opens the script using /~username used only
    % U3 W" a2 n# `4 M: v+ F
  715. ; if nonempty.
    $ ~6 M+ I+ ?- l( p5 o
  716. ; http://php.net/user-dir8 B0 k% ~- b( g4 \
  717. user_dir =
    ! l7 v) T# `7 x. R. m2 h( b3 ]
  718. - Z; t" }' C! z# v
  719. ; Directory in which the loadable extensions (modules) reside." D7 k; c% v% m8 Q$ y' C8 K# E
  720. ; http://php.net/extension-dir4 [$ [3 t+ s' \; C
  721. ; extension_dir = "./"8 V0 s* K6 _: |+ b  a
  722. ; On windows:
    - C( F5 y6 S+ k& r; Q) ?  j
  723. ; extension_dir = "ext"4 v8 h3 n9 Y( V0 O4 A0 `- S' ^
  724. ; G+ P/ M2 ^% ]% }: _1 C
  725. ; Directory where the temporary files should be placed.
    . _$ F" z  }9 U
  726. ; Defaults to the system default (see sys_get_temp_dir). o. r4 C) g) Z3 \3 Q* ~' b
  727. ; sys_temp_dir = "/tmp"
    * p3 t! @+ D' f; [% n
  728. 6 `; Y0 E+ o( v: ?
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    * u: J' x: p; F% f
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    * @- M) d' ]& R+ U8 g
  731. ; disabled on them.6 u: ], \* a5 p- X
  732. ; http://php.net/enable-dl
    & I; R8 K5 |' ?) ]
  733. enable_dl = Off
      |; K" t9 N3 p) x0 r

  734. ! j1 b0 ^4 o' e0 T
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    2 ~- c, b3 v6 x. R. Z8 x
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can# x" W- @6 _4 p7 S# r' O' h
  737. ; turn it off here AT YOUR OWN RISK: D+ r/ a3 |! m5 ?9 n* \5 T
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**9 A* s" `! ~* J5 ^0 A
  739. ; http://php.net/cgi.force-redirect
    ) h7 E6 @+ c% X- X2 O
  740. ;cgi.force_redirect = 1; H7 T! h( ~0 K: v

  741. 5 ]. F, @2 \' ^
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    $ H9 r, J. h# z/ ^* l
  743. ; every request. PHP's default behavior is to disable this feature.1 X# T2 h1 N; a& j3 ^
  744. ;cgi.nph = 1; s$ [  B* c  }& h* a7 \$ S: e+ k
  745. 3 y. z8 w6 @2 S1 H
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape( O( l7 m9 b4 w. ^3 `2 o' r
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    ; v% T$ x, r6 z2 A) ~
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    6 v- v% m; j! Q5 @" J, X
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    ) T! H5 p2 {6 v
  750. ; http://php.net/cgi.redirect-status-env+ C  w: V' X* ^/ n  g1 u, l
  751. ;cgi.redirect_status_env =' b( k. i" [& p# C
  752. + g# ~4 z: W' D, f) l
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    7 V+ Y, F2 g0 x+ n/ ?
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    ) G# {3 X" q" }$ p$ k6 S) [- O) r
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting) i9 g: p3 T& D' l. g  w6 n
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting4 k# M; F8 K7 P4 T5 I" H8 h! Y
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts  I) X! k$ e9 v6 W- T
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    1 U; I3 @0 I- @+ x* g* Q* H
  759. ; http://php.net/cgi.fix-pathinfo
    1 \: m% D& N% l% p# g
  760. cgi.fix_pathinfo=1
    ! l+ p! s% e  c. N* w4 w, P
  761. ) l; v; J+ b  {. I8 @
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside% T4 `& U  G$ e* C  y! Y
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    ! G" z, ~# r% T$ @5 Z2 |- ?* h+ ^, j0 C
  764. ; http://php.net/cgi.dicard-path3 X/ o% t" Z% c; k1 ?. Y
  765. ;cgi.discard_path=1( s  Q# f" ?& F+ c) S  c4 A

  766. 8 g) S7 a( l5 M/ c* L. j6 t
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate, j) q$ d. I7 h6 d
  768. ; security tokens of the calling client.  This allows IIS to define the
    8 I/ u; g2 X  _) y* J! Y7 T9 ?
  769. ; security context that the request runs under.  mod_fastcgi under Apache% d, e1 {& _- n9 j9 ~9 ^
  770. ; does not currently support this feature (03/17/2002)
    7 h, [# V  k% ]* w" W
  771. ; Set to 1 if running under IIS.  Default is zero.
    4 X" e# I9 H* [5 q3 J4 [& ~5 j
  772. ; http://php.net/fastcgi.impersonate
    # e3 M( _  }/ P
  773. ;fastcgi.impersonate = 1
      i4 t- s0 a2 G& ~+ l

  774. ! @* g% o% o6 _. p# e4 I; X" p
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    ( s; z) e$ d5 i6 s1 {5 [
  776. ; this feature.) Y% T5 x1 Q6 I- J
  777. ;fastcgi.logging = 05 |) }6 X+ V' Y# p

  778. + n" n8 }, n, C
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to0 m' M9 L2 M; q! Y9 t. ]1 Z
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    " I3 F& c0 J' s  M( Y% `9 }
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    & o8 h# p3 f# l1 v+ i5 v1 U% {
  782. ; RFC2616 compliant header.
    ) `8 ]2 x7 ?( c# \
  783. ; Default is zero.
    % ]0 g+ C) |, w1 x0 ?% ~7 E& {* X
  784. ; http://php.net/cgi.rfc2616-headers2 C# o7 L. P, ?- T; t9 {
  785. ;cgi.rfc2616_headers = 0% F, o  m6 H* k

  786. ' {6 i1 B- f( g
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!, c# X: Q0 ~" B! {! `0 e$ f
  788. ; (shebang) at the top of the running script. This line might be needed if the
    % s8 c5 ]4 y7 \) Y: }
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    6 Z+ L3 R  `) ~4 b$ y/ ~9 g, K
  790. ; mode skips this line and ignores its content if this directive is turned on.( E, i( ~4 o) _; f; }  v0 Q
  791. ; http://php.net/cgi.check-shebang-line5 Q# S$ ^5 O& \2 H/ t, P1 k
  792. ;cgi.check_shebang_line=1/ }6 H- \" G+ _# j/ e- W! K

  793. : U5 a0 r8 ^4 M" }
  794. ;;;;;;;;;;;;;;;;1 v% p4 S$ b4 c+ d5 C) I' ]
  795. ; File Uploads ;
    ) n3 [  h6 v3 g+ a1 N
  796. ;;;;;;;;;;;;;;;;$ }* H7 o/ d' m9 _
  797. ) T' D# t, J5 z8 h3 W' G( Q$ J
  798. ; Whether to allow HTTP file uploads.
    + `  `+ _  w% p" J! C
  799. ; http://php.net/file-uploads
    ! P* O) v" |8 q- d! S, X" J
  800. file_uploads = On, e( b/ @$ Q1 @7 z

  801. ! ]. c0 e* @/ n
  802. ; Temporary directory for HTTP uploaded files (will use system default if not9 \- _$ ^6 _! e8 Y2 F
  803. ; specified)./ H# [' t. i) W, T
  804. ; http://php.net/upload-tmp-dir, z8 ^5 M* u6 Y% L7 _
  805. ;upload_tmp_dir =
    & N! e; c' k3 \# m1 v

  806. : u4 F0 }' h9 h7 C6 Z7 C# C
  807. ; Maximum allowed size for uploaded files.8 W7 e5 M8 y3 X$ @$ Q. _3 P+ v
  808. ; http://php.net/upload-max-filesize& {% ~% {5 G% f
  809. upload_max_filesize = 50M
    4 o! `7 U7 Q% f( Q  U
  810. - ~. q8 Y3 N/ ]! O' s% p& x
  811. ; Maximum number of files that can be uploaded via a single request
    - o" l, p4 B( z3 k
  812. max_file_uploads = 20
    2 j  @$ z* |; n

  813. % Z3 E2 ?( ]  \7 e
  814. ;;;;;;;;;;;;;;;;;;2 J8 Y5 ?$ _& c  L& ]% H
  815. ; Fopen wrappers ;. {6 R2 o' c/ p7 M3 F& Z' B
  816. ;;;;;;;;;;;;;;;;;;) m3 E! Z, a  ~0 p3 ]

  817. & n+ `+ q+ T  N; R! e
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    9 b# \4 j9 L6 f/ ?( @
  819. ; http://php.net/allow-url-fopen
    6 _1 j! A) C" h9 M
  820. allow_url_fopen = On
      T% I/ c5 k' l% `
  821. & t* f$ {- ~6 w9 |& W
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.7 K" ], F  `  Q+ p4 a
  823. ; http://php.net/allow-url-include4 |1 M* P; F; D
  824. allow_url_include = Off" j7 s3 s2 N) C  n

  825. & S7 @) w/ W& v
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    5 B) y# T5 X4 y4 @# L7 i7 _+ k1 T
  827. ; for this is empty., Q7 ~9 s' J% [% Z
  828. ; http://php.net/from  J; [2 P; m' r
  829. ;from="john@doe.com"
    / f. U; W* u. {' ]! ~

  830. ; f% I$ }' P, F, `8 n; q* Z
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    5 u" c& G" V' [0 |4 v% W; t- T
  832. ; http://php.net/user-agent
    8 c, I- v  @! e
  833. ;user_agent="PHP"
    4 {2 N' F1 W+ x

  834. ( C* i5 K- j/ V8 D9 X& A. q0 ?
  835. ; Default timeout for socket based streams (seconds)
    ' D: W9 b# x! h
  836. ; http://php.net/default-socket-timeout
    " X3 X3 ]' W3 S
  837. default_socket_timeout = 60  g( j7 G8 u+ H& a) \

  838. 0 x4 d. w7 K1 `1 M* A4 b% H
  839. ; If your scripts have to deal with files from Macintosh systems,
    - A7 Q& }" T  a3 s* [" r/ W6 X2 q8 e5 `
  840. ; or you are running on a Mac and need to deal with files from
    " s) H- |- m  _. P
  841. ; unix or win32 systems, setting this flag will cause PHP to& c4 {3 Q0 _& R& p
  842. ; automatically detect the EOL character in those files so that
    : _" N" R, U* w, t
  843. ; fgets() and file() will work regardless of the source of the file.
    ) R5 j( K6 P! H% @  g0 z
  844. ; http://php.net/auto-detect-line-endings6 d! s) s4 H* Z5 A
  845. ;auto_detect_line_endings = Off
    + U: N3 K+ w7 m
  846. % R0 t! U. ^4 t$ ~; p
  847. ;;;;;;;;;;;;;;;;;;;;;;4 w, x2 R" N$ \0 q+ w
  848. ; Dynamic Extensions ;& h% h9 f; J1 t
  849. ;;;;;;;;;;;;;;;;;;;;;;
    . h* N) I) k$ y1 u8 w0 G

  850. + k; H. X, q8 v- Y% W8 Y! C
  851. ; If you wish to have an extension loaded automatically, use the following
    5 e) h' p2 E- d  {
  852. ; syntax:
    5 Q! h: w" L! z0 M
  853. ;0 O2 ~) z$ u- W: G6 t/ V+ ?8 w
  854. ;   extension=modulename.extension  t) z9 O/ ^- B) i
  855. ;
    $ o  P' v3 c% s0 z/ {( S6 E8 E
  856. ; For example, on Windows:! \- l3 F/ k; f7 X1 _
  857. ;
    ) q9 s" E+ e# I6 m( Z
  858. ;   extension=msql.dll: H  s4 M$ q  `: i# i
  859. ;) u+ M- G3 J6 u
  860. ; ... or under UNIX:$ T+ ~# m" T0 m  Q, M' }! s
  861. ;
    - ~5 ~3 I9 ]; R
  862. ;   extension=msql.so( j1 o9 y$ ^2 P% m9 d
  863. ;" Q- c" J. a% e! q
  864. ; ... or with a path:
    ( p/ D& d/ ^0 e3 V* a
  865. ;6 x- ^. F" H8 A6 A7 ]! N5 B! g
  866. ;   extension=/path/to/extension/msql.so' @. m9 J) L' H' J% O: w% S0 S
  867. ;% \5 k; y0 z6 V3 f
  868. ; If you only provide the name of the extension, PHP will look for it in its+ s& R/ k! K. G; J* v: R
  869. ; default extension directory.& \" ]& D  Y0 {8 U% j6 p1 g
  870. ;
    : R3 ?/ N9 h) s. g/ G* O4 z8 f
  871. ; Windows Extensions) g$ z8 a: V1 A$ H0 x# k0 v+ B
  872. ; Note that ODBC support is built in, so no dll is needed for it.- i% w6 h* j1 M! A) K: V2 i
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    7 s, k% R* L; @, W! H
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).! `/ `* X; D1 b& L0 ~
  875. ; Be sure to appropriately set the extension_dir directive.
    # h4 j6 R2 W: J
  876. ;
    6 [9 W; f8 x. f1 l& k
  877. ;extension=php_bz2.dll2 I3 d1 @1 C+ |5 J' E) ~0 R: c
  878. ;extension=php_curl.dll
    3 z% z9 j3 |9 a, d7 `" l
  879. ;extension=php_fileinfo.dll" Q* Q! {2 e* N( Z2 O! H
  880. ;extension=php_ftp.dll
    7 [8 z7 e' W( T5 ~
  881. ;extension=php_gd2.dll
    * X! E* M( L) Z0 ^
  882. ;extension=php_gettext.dll& u* e/ G' m0 N5 L+ n; U
  883. ;extension=php_gmp.dll
    & L/ S: k3 h5 q
  884. ;extension=php_intl.dll
    & w9 `, i4 k# D: K" S6 K+ ]
  885. ;extension=php_imap.dll# i. d4 N0 X4 m. w7 M
  886. ;extension=php_interbase.dll
    2 d  _* V0 V' `# d
  887. ;extension=php_ldap.dll
    + c; I9 H$ c2 R* Q6 V$ {+ W3 |
  888. ;extension=php_mbstring.dll, g' ]1 Z. V/ _: y: ^0 C, `
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it' g* P# E4 ?" D' T8 J4 i
  890. ;extension=php_mysqli.dll
    : _) d0 h. O, X  o, K& ~4 i' r
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client) D' k& X" A8 i# K1 a) W* E, j
  892. ;extension=php_openssl.dll, H$ t2 m$ ]5 U, ]
  893. ;extension=php_pdo_firebird.dll
    9 _& k' O; v# b. n, H, w
  894. ;extension=php_pdo_mysql.dll" _: F' V$ ~( m* j  g" |
  895. ;extension=php_pdo_oci.dll
    ; i" e8 U/ E- R& ]; l3 p
  896. ;extension=php_pdo_odbc.dll
    / j6 I2 U. l$ G' ~
  897. ;extension=php_pdo_pgsql.dll
    4 t0 L* k6 L: w" E6 e
  898. ;extension=php_pdo_sqlite.dll
    : Q6 c2 h- I9 o# s/ l0 c5 N
  899. ;extension=php_pgsql.dll1 n, s8 G. [, T1 ]
  900. ;extension=php_shmop.dll
    ) n; t( r+ |4 ^+ f# G# Y6 d  ^1 ?; F
  901. + A/ [2 h% P5 a' r* B9 w5 {
  902. ; The MIBS data available in the PHP distribution must be installed.1 x+ P* W7 h3 ~. |$ i
  903. ; See http://www.php.net/manual/en/snmp.installation.php/ y' E7 o) a! F# ^
  904. ;extension=php_snmp.dll/ u: }: T# \' }8 G9 F

  905. * S3 R, t, }1 D9 l# V
  906. ;extension=php_soap.dll* w) t+ ]* J/ X3 H9 b
  907. ;extension=php_sockets.dll6 {9 U. q, U4 O2 m3 w
  908. ;extension=php_sqlite3.dll8 [' S$ B* y5 R5 Y+ }* p) g
  909. ;extension=php_tidy.dll& W& m1 t! W5 f; M
  910. ;extension=php_xmlrpc.dll
    ) ~: I8 j* T! H8 n$ x' q7 z
  911. ;extension=php_xsl.dll! b9 v/ @" F- x9 B, X
  912. 7 l; Z7 U7 H/ |. [/ ^
  913. ;;;;;;;;;;;;;;;;;;;
    # A. u! K5 n! X( ], ^; i
  914. ; Module Settings ;
    + A. r( d8 e+ r6 V; X" J( ~
  915. ;;;;;;;;;;;;;;;;;;;
    4 f# Q+ D2 n; A& g
  916. ( t5 y! G4 E  g; |
  917. [CLI Server]
    % c) i- S0 `* O7 L" z2 N
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.( r2 J4 X2 S- M/ z/ M
  919. cli_server.color = On
    ; `! q4 l: O! _; ^) w6 {* b; ~

  920. 3 k: [$ a* l7 x7 e; A+ `
  921. [Date]. b. d" W; {! `. U' |
  922. ; Defines the default timezone used by the date functions; o0 h% o1 v/ u# x9 w* z# q
  923. ; http://php.net/date.timezone% x- e& ^9 R/ |7 y2 R
  924. date.timezone = PRC
    / P, ?1 b4 S6 ]0 k2 w# K) `* L
  925. 9 H4 I2 M1 |6 v4 a
  926. ; http://php.net/date.default-latitude& _  v# d7 N3 m; q
  927. ;date.default_latitude = 31.7667* k- |/ L, Y6 l0 n) D0 ?0 b

  928. ( K: a: B* A  d. s* m
  929. ; http://php.net/date.default-longitude. o; _% {7 ]5 p7 B. P4 L9 y2 {
  930. ;date.default_longitude = 35.23335 x& B% T9 Q% }2 @6 j

  931. 2 y* Y) b7 c1 W# d
  932. ; http://php.net/date.sunrise-zenith5 f$ i" t. n* U! \/ g, k- f, C
  933. ;date.sunrise_zenith = 90.5833330 \! i! M+ |; j3 c% @; ~3 \

  934. 3 N6 Z0 b5 S7 R, l3 j1 B
  935. ; http://php.net/date.sunset-zenith2 ~5 S# E1 y. C% v8 z$ B# q* k: ?
  936. ;date.sunset_zenith = 90.583333
    8 t. U; Q& U5 g+ d2 L2 V/ p
  937. . u/ Q/ V" A$ I0 l% X
  938. [filter]% a5 G+ y: ^6 ~8 \  w  v3 p( u1 j" f
  939. ; http://php.net/filter.default7 Z% O  S* N1 u
  940. ;filter.default = unsafe_raw
      w$ z& T+ Y: C$ z+ s+ B: j
  941. + r$ R$ g! A! R! T1 R% ~' z
  942. ; http://php.net/filter.default-flags
    ! s7 F# z  S; ~1 ]6 ?; H
  943. ;filter.default_flags =8 Z. b/ ~* H! ?) ?8 c

  944.   B, ^  S! M2 j& s  D
  945. [iconv]
    , [$ @7 m% U9 k4 `
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.  j  P9 D4 A6 z7 p5 X3 C  i# }" c2 Z
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.- f! }/ ?* y- B9 T
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    ' R' |& s" O; ^4 W2 L% ^+ ~7 }
  949. ;iconv.input_encoding =
    ! S7 o; B) \8 z0 J' m) |3 }$ b' v
  950. ' ^  y5 L4 S0 i2 o' I, ~4 `
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.3 \5 R  Z# D6 x5 E/ b$ y
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.7 M% O1 W$ `! o# H) M  J
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    0 t3 B3 I% P/ @  w% c
  954. ;iconv.internal_encoding =
    4 T' d. e5 R9 R7 Y1 b7 U, Z& A
  955. ! A. @; W7 ?  l. ^4 M9 E8 Y5 c
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.3 E- s5 K) C2 C2 \8 J
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.+ O0 O1 t/ B1 H/ z2 l
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding+ K4 S# R  s% y' w# ?& ?
  959. ; To use an output encoding conversion, iconv's output handler must be set6 ~& p! U  s6 V! E, K, r
  960. ; otherwise output encoding conversion cannot be performed.
    0 h$ h8 u: e. e+ b& A5 T
  961. ;iconv.output_encoding =
    % B* y( m- u/ V/ `# }3 X+ n

  962. , s* [' Q8 s0 ?$ o
  963. [intl]" ~/ v$ A& U0 ~+ f/ M0 Q
  964. ;intl.default_locale =, B# Q- q  K  X$ Z% V
  965. ; This directive allows you to produce PHP errors when some error& Q2 a# G% ], l; r
  966. ; happens within intl functions. The value is the level of the error produced.
    $ j4 r1 \7 E& \! J: ?
  967. ; Default is 0, which does not produce any errors., }/ J: s) j* `8 e4 ?
  968. ;intl.error_level = E_WARNING
    ! n4 m/ F2 {9 a1 X* E5 m
  969. ;intl.use_exceptions = 0
    5 ^3 B' D0 Y0 {1 v. r. d9 P
  970. ; k' ?0 c% v9 z/ l/ @6 T- ?0 Z" y/ B
  971. [sqlite3]+ g0 g4 E/ K8 C  r( @  \
  972. ;sqlite3.extension_dir =4 r: }$ t' k2 x7 ?" f& T! I

  973. 9 e* d, L& T! F4 u7 S5 \' T
  974. [Pcre]$ f2 j: \- O( p4 |$ B
  975. ;PCRE library backtracking limit.: {! s; m7 v; D/ {4 O+ t$ A
  976. ; http://php.net/pcre.backtrack-limit
    ; o# q7 E7 {* P7 l6 h, n! l
  977. ;pcre.backtrack_limit=100000
    8 X# g# a! ?8 H- [

  978. ( \" s- b) k0 M# L) s
  979. ;PCRE library recursion limit.
    ) e9 N' j  c, T  J& e4 e, e
  980. ;Please note that if you set this value to a high number you may consume all
    ; U% v7 U5 G! e  ~6 s
  981. ;the available process stack and eventually crash PHP (due to reaching the& R/ I8 x6 \4 `9 w
  982. ;stack size limit imposed by the Operating System).0 U, B$ p+ d4 z2 {/ r( a% U
  983. ; http://php.net/pcre.recursion-limit3 X, c& i6 Z# d
  984. ;pcre.recursion_limit=100000
    2 k( B7 {2 p9 f  C0 D

  985. + B5 |$ n8 S) X# T# ?6 _) a) Q
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    ( u$ T. P$ T3 l! v# L) ^
  987. ;library to be compiled with JIT support.
    / w* J4 f1 o& K. j/ {
  988. ;pcre.jit=1
    - L5 n3 Q. w" d
  989. ' g/ s# R% k4 C3 P; k) E
  990. [Pdo]
    8 r+ v+ c$ m% R+ J) o
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    # h) Q& V! }  e7 P& |: w8 I
  992. ; http://php.net/pdo-odbc.connection-pooling
    . q+ h9 d0 p" n% F$ w
  993. ;pdo_odbc.connection_pooling=strict
    / |: z  B1 p7 C7 Z

  994. ! |4 a5 n0 z3 g8 a
  995. ;pdo_odbc.db2_instance_name( Z6 f( p, Y2 L0 ], m

  996. % v6 _' Y- f  `7 d% @
  997. [Pdo_mysql]6 K1 i  @: X7 U6 [
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache4 |( w7 s' c0 {9 `3 E: O2 E9 @1 y
  999. ; http://php.net/pdo_mysql.cache_size
    $ |* s. [$ c1 N( h+ G" W
  1000. pdo_mysql.cache_size = 2000/ M# O( |; a0 S" X2 n6 s

  1001. - G5 l! m" j2 n8 F8 {
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    + X4 c- A  G! W, u* u
  1003. ; MySQL defaults.
    . _1 e( r' b& |
  1004. ; http://php.net/pdo_mysql.default-socket$ X; U8 A0 T% Y$ r+ ]7 ?$ s; j
  1005. pdo_mysql.default_socket=. L1 n- D+ t( k

  1006. " w4 X! S0 C3 _' S+ r
  1007. [Phar]4 t% ]; K% w9 y! r' q
  1008. ; http://php.net/phar.readonly1 W9 W; V/ F1 j$ K( L: |: V* G
  1009. ;phar.readonly = On2 J( W5 h! M/ P2 |4 ?7 ]! Q& l& }

  1010. / R# R, h+ Z, [2 R7 R/ W: Y
  1011. ; http://php.net/phar.require-hash$ ]1 Z6 c% W+ o0 ~6 X
  1012. ;phar.require_hash = On
    5 U+ s; s! f+ E, C- S

  1013. * R, k3 |* s4 H
  1014. ;phar.cache_list =
    ! V" K8 [, f% t1 _  }# U
  1015. " r; }1 v4 H; R1 k
  1016. [mail function]/ R; \1 b2 l  a: D* l' I
  1017. ; For Win32 only.& H" s8 z7 ?2 w3 N: S' ^
  1018. ; http://php.net/smtp
    ( j5 A" K: _/ Y: p
  1019. SMTP = localhost% e! g, e$ h! @2 \2 H- B
  1020. ; http://php.net/smtp-port
    8 S% D1 u6 F5 m6 u" H
  1021. smtp_port = 25
    ! r7 I/ r* z" V+ W$ [! l
  1022. * p, }' C  J8 q* P" |- v/ a
  1023. ; For Win32 only.  @8 O. H9 p& `+ E" O. w2 z
  1024. ; http://php.net/sendmail-from
    ( J9 z% b  e. `& m  Q
  1025. ;sendmail_from = me@example.com
    0 W# d9 s& c, c! M- N: I( H
  1026. 0 G2 A  X# s0 x) x/ D( P$ k3 @% \
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").# k" g2 f$ x( l( [2 l
  1028. ; http://php.net/sendmail-path7 h6 o7 j8 r& Z% \2 |1 u
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    ' e' I* j& ^' }) O) F" {' P
  1030. # H5 ~; O4 D1 f  A! Q& O
  1031. ; Force the addition of the specified parameters to be passed as extra parameters7 }$ o# x& M* \3 \- W" X$ t  \; g+ k
  1032. ; to the sendmail binary. These parameters will always replace the value of' B6 w( g" a1 w0 \) J3 q
  1033. ; the 5th parameter to mail().# W' ]  P$ {* X. Z) C2 l  Y
  1034. ;mail.force_extra_parameters =
    0 Q, ^# S  V  A8 S8 p8 N
  1035. & P4 I! L5 I2 K0 E: ?
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    6 r0 K- @$ X, C1 N7 C+ s5 o
  1037. mail.add_x_header = On% E. t  t4 U/ X# N' B

  1038. 0 [* k) n$ S/ r, I
  1039. ; The path to a log file that will log all mail() calls. Log entries include) f+ E7 }# F" H6 _
  1040. ; the full path of the script, line number, To address and headers.
    3 D5 P+ E' s7 h5 D4 [( y( }; ], I" h' ]
  1041. ;mail.log =; Q& e1 }' J3 n( ]$ b8 L
  1042. ; Log mail to syslog (Event Log on Windows).
    " F) ~$ y2 C, h& S" K- |3 E( r
  1043. ;mail.log = syslog+ Y6 x' w6 [4 D' n# D

  1044. ; a5 J' B# E+ J$ u$ {: s
  1045. [SQL]
    7 C/ l8 ?" M% A' l6 I
  1046. ; http://php.net/sql.safe-mode
    # x/ O3 s4 @0 V; L$ x
  1047. sql.safe_mode = Off
    1 l1 |4 @2 }1 `" s. ~
  1048. 0 P* a2 _6 F, N& f6 T
  1049. [ODBC]
    ! A2 g; K0 k# }
  1050. ; http://php.net/odbc.default-db
    8 W9 F( a; ^$ m, I0 i
  1051. ;odbc.default_db    =  Not yet implemented
    + h- `% Z* P0 M- x5 f

  1052. 2 _/ a1 E' p2 D# w* p: m
  1053. ; http://php.net/odbc.default-user, \9 u- P: ?2 C3 Z
  1054. ;odbc.default_user  =  Not yet implemented) r: e- D. a& Y- _
  1055. 9 F' `% d4 H8 E" m( i
  1056. ; http://php.net/odbc.default-pw
    9 b: k4 h4 j' r. r+ d, K
  1057. ;odbc.default_pw    =  Not yet implemented8 _1 |  g; W; V' n2 s

  1058. 5 i$ E/ ~; P% k  O3 _4 \- H1 F
  1059. ; Controls the ODBC cursor model.
    & J& H& T1 l- F8 _- Z/ [. H* e
  1060. ; Default: SQL_CURSOR_STATIC (default).
    ; a" ]- B1 \" ^6 g
  1061. ;odbc.default_cursortype
    1 b1 ~# C) d  D6 [. X/ u

  1062. % n) d+ `: s/ B, {' |  c  C2 g/ b- V
  1063. ; Allow or prevent persistent links.' V  A9 ~4 W% P7 k& e# f1 b
  1064. ; http://php.net/odbc.allow-persistent
    2 Y5 O/ b; o. U: R; i3 ?
  1065. odbc.allow_persistent = On" ^! C& |# y) l* i

  1066. $ |% g( v% ^: N$ |
  1067. ; Check that a connection is still valid before reuse.
    & c! ?( u$ v. G# Y
  1068. ; http://php.net/odbc.check-persistent
    ' }( n- i5 e  c. c+ K$ n8 D! O
  1069. odbc.check_persistent = On
    9 T. v, ^( n/ r1 l. `# j! b# f
  1070. , N2 Q5 W, s1 U- B
  1071. ; Maximum number of persistent links.  -1 means no limit.
    1 J0 \8 Z% y% |2 C. G
  1072. ; http://php.net/odbc.max-persistent( P$ l$ _7 X3 j/ J
  1073. odbc.max_persistent = -1
    & L3 N$ r6 |" w2 Q4 A4 k7 p) `
  1074. ( [( Z6 }! v. w8 K/ s" T
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.- Q$ Z- f) o; B/ H5 d8 T  @
  1076. ; http://php.net/odbc.max-links8 j& J5 w( f( m/ C( l
  1077. odbc.max_links = -1
    4 c3 [- _' [! r2 H

  1078. - C& n# }8 q  W0 v+ Y7 }5 X
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    $ Q/ Y/ N. ]( o
  1080. ; passthru.
    ; }. ]+ p" p5 `, h( S% p% L! }
  1081. ; http://php.net/odbc.defaultlrl1 D5 A3 `+ D& c9 F/ j
  1082. odbc.defaultlrl = 4096
      b1 P2 x3 f) D5 {

  1083. 2 H4 ?' b( o% v$ a3 Z/ ~, Y
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char., x2 ^* R- x2 y, _1 {% ?3 Y
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation+ q% ^. p! H, {8 A
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode2 _* m3 K* b+ z8 N: q- p, V' Z0 c
  1087. ; http://php.net/odbc.defaultbinmode+ ?2 Y. P! a: M! N; H6 D5 O/ T. ^
  1088. odbc.defaultbinmode = 1
    & _; Q0 F( \! g  _8 l2 W
  1089. 3 u1 K0 b* c) C! r0 n# K7 k
  1090. ;birdstep.max_links = -17 e$ T, e& ]1 a4 k7 O. i8 g' r2 r% f0 k
  1091. - F% l8 c/ J+ p
  1092. [Interbase]
    3 g! O& k4 m6 D# p/ R
  1093. ; Allow or prevent persistent links.9 @! k7 g  {. I( c+ d
  1094. ibase.allow_persistent = 1
    + P" F0 s1 [* b$ T

  1095. , q& t$ [% i5 H  I+ T- G
  1096. ; Maximum number of persistent links.  -1 means no limit.& R" C' p9 Q9 e% p
  1097. ibase.max_persistent = -10 x- n& X" m7 P
  1098. : S+ J# n* c, C" Z; p  R
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit./ l# Z% ?0 ^2 w
  1100. ibase.max_links = -1
    8 l- _0 n$ m# @. z
  1101. 0 C9 g. F6 T7 a) Q( z% _' I( W
  1102. ; Default database name for ibase_connect().* g" c' y  N+ M' b0 K5 U; m$ e% W  s
  1103. ;ibase.default_db =' t7 L) a# g. y
  1104. " h! [5 M" D6 r( N0 D
  1105. ; Default username for ibase_connect().
    & j# y$ ^/ Y7 V" {2 x
  1106. ;ibase.default_user =
    1 s  Q5 E/ ?5 M4 f
  1107. , |8 B3 k% {1 M& b: k1 m) ~
  1108. ; Default password for ibase_connect().% {; w" G2 ?) l
  1109. ;ibase.default_password =
    $ |/ F6 M6 m! @' D* E

  1110. . W; I+ u. w3 ?: H- h
  1111. ; Default charset for ibase_connect().
    % S9 S/ V+ H' l$ T
  1112. ;ibase.default_charset =
      q& r% t/ @- \+ U9 h% M) j) r
  1113. ( M) @% X, O! Y! Z7 S
  1114. ; Default timestamp format.
    # R% }% o5 A3 L( W# g1 @. P1 V
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"$ U8 z+ m% }& Y
  1116. + y+ I: m$ V# }
  1117. ; Default date format.* E" V/ K  b% f; x# N
  1118. ibase.dateformat = "%Y-%m-%d"; c, X5 p* }- G# A9 C# n3 f

  1119. , m% {8 V$ }* o" q# Y# I7 z
  1120. ; Default time format.
    0 @) o! c7 D  D
  1121. ibase.timeformat = "%H:%M:%S"8 m  ^. Y$ }9 C, \

  1122. 2 p1 f' N: c: {! G1 W
  1123. [MySQLi]
    0 V7 g/ C1 ]7 P# |
  1124. ; S+ t. W: F! d
  1125. ; Maximum number of persistent links.  -1 means no limit.
    ( z0 R; q* J8 H; _
  1126. ; http://php.net/mysqli.max-persistent
    : U- {! I, w3 H+ ?, D4 d
  1127. mysqli.max_persistent = -1( p: N) c- L2 f

  1128. 4 M$ y& a# L4 H
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements! d3 S3 X! z+ A4 \9 F7 m' e
  1130. ; http://php.net/mysqli.allow_local_infile" o9 ^. _# m: j3 r- i- Q
  1131. ;mysqli.allow_local_infile = On
    7 f) q6 u2 e; ]6 j" D
  1132. / V$ g7 Z" a% `
  1133. ; Allow or prevent persistent links./ E" p. W- `+ Q" l: @
  1134. ; http://php.net/mysqli.allow-persistent
    . ^" K! g) g$ G
  1135. mysqli.allow_persistent = On
    ' n$ b0 U+ y5 j0 z/ E
  1136. 5 G  x. K9 o  Q9 T
  1137. ; Maximum number of links.  -1 means no limit.% |1 x' u# e5 E% J8 X0 G  o" P$ ^
  1138. ; http://php.net/mysqli.max-links
    5 ]- x& B, R7 z' c- H2 v- Q
  1139. mysqli.max_links = -1# ^! b6 h& L9 \+ g1 E9 J
  1140. / R: [7 N+ h! _
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    1 O* f: \; R% h9 U8 @
  1142. ; http://php.net/mysqli.cache_size& D) L2 K# N: p7 I% I' m% Y
  1143. mysqli.cache_size = 20004 B/ N. P3 C: e8 f

  1144. 4 p$ z& e& G6 d' X2 I9 s- u
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    , C" L; o  R% h# ^
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    0 w0 f8 M/ M& C  R
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    . |8 g. ^: S6 m/ M  A
  1148. ; at MYSQL_PORT.4 N4 @$ X3 Z5 O
  1149. ; http://php.net/mysqli.default-port2 S* u0 u) j7 K
  1150. mysqli.default_port = 3306
    $ j4 d1 y$ e! i9 x  @

  1151. 0 z& e4 ^5 ^9 ^7 C% _* P6 t. Q
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    + C) I) x7 @" L# z1 g0 V
  1153. ; MySQL defaults.
    4 O3 v6 c# X5 n5 Z) h
  1154. ; http://php.net/mysqli.default-socket
    2 C2 P4 }. P! [& \
  1155. mysqli.default_socket =" c; F& L& K: k, {4 r
  1156. ; o  z; y' Q6 m+ v9 n* v8 D
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).7 T5 p) C* o/ b7 L. Y7 N# V# j
  1158. ; http://php.net/mysqli.default-host
      o, ?' N6 V- @; F* V
  1159. mysqli.default_host =- @: q/ }3 L7 i, \. A; Z
  1160. 5 t, g( ]- P5 W" \" Z8 D
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    4 H0 D. q8 z4 ]' C4 u1 q( G
  1162. ; http://php.net/mysqli.default-user
    - `: i; C" n. Z; G( M
  1163. mysqli.default_user =
    - P( V. _; v0 g- _" n4 Z

  1164. * {! N: o5 i$ h% j0 i; @
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).8 l& g$ j  {' o9 a5 r! \, G' p
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
      Y) m7 j% F/ a! \& Z# ]7 u5 d( s
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    . b2 g8 V4 Q% y2 `8 ^& `
  1168. ; and reveal this password!  And of course, any users with read access to this
    & C1 z7 |. Z. m( P
  1169. ; file will be able to reveal the password as well.
    1 Z# L; F* f: m8 F
  1170. ; http://php.net/mysqli.default-pw
    ; E. E7 i: J# ~/ c
  1171. mysqli.default_pw =
    5 y1 q3 @2 ~1 l- Y  T; a4 L, h+ S
  1172. / L0 p" a9 J# M* f4 R" z3 L- I
  1173. ; Allow or prevent reconnect' G. [9 c. |8 `
  1174. mysqli.reconnect = Off3 {! f3 Z3 ^& Z0 c% ?
  1175. 3 `7 x8 b" Q- D& T) F$ h
  1176. [mysqlnd]
    ) ~  a4 i1 j, |9 I
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    2 u( ^! u8 e& w& \6 g) f
  1178. ; used to tune and monitor MySQL operations.
    $ X% C0 \! S; ]8 Z* D6 q8 k
  1179. ; http://php.net/mysqlnd.collect_statistics
    % c' a& S9 f+ R6 C! |
  1180. mysqlnd.collect_statistics = On- a1 ~) y- ?8 y4 {6 T% v0 M0 ^

  1181. - R: F  S8 H/ s9 _
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    & b1 r0 Z: d/ j+ a& d; j
  1183. ; used to tune and monitor MySQL operations." k8 l" {. p! g
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    9 f5 V) D; {/ i+ c
  1185. mysqlnd.collect_memory_statistics = Off& D+ c+ P- L- @7 N' J0 f
  1186. - E+ d" r4 m3 V/ V
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    3 ]  u3 v, z' _( C  @( x; r+ N
  1188. ; file.
    ) U) J8 I) E$ |) z, ]
  1189. ; http://php.net/mysqlnd.debug
    1 j7 q5 K6 D' o6 J3 d! M: I$ v
  1190. ;mysqlnd.debug =, q! [: O2 D* w, n+ t  j
  1191. - Z3 Z# h- B; c1 e# x
  1192. ; Defines which queries will be logged.+ M: _: e3 m2 h9 B0 f  g& I- A$ g+ `
  1193. ; http://php.net/mysqlnd.log_mask: y( o5 k' d6 |& z6 Q
  1194. ;mysqlnd.log_mask = 0
    0 y- D  s. f6 H# l
  1195. 6 a  M. S) m% {5 k" A& ^6 z0 Y
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.  |* i+ b' X: v+ {% A2 t1 @
  1197. ; http://php.net/mysqlnd.mempool_default_size
    4 A$ j# S7 b7 M& H5 D3 t' m
  1198. ;mysqlnd.mempool_default_size = 16000% j/ q. I2 O+ R7 d! I2 B3 S0 J9 [, V# y

  1199. 2 y! |6 b3 o" p8 v3 c" _
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.6 `5 b* n2 P1 I1 A# ~
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size3 D: P7 n# U% r! @5 L
  1202. ;mysqlnd.net_cmd_buffer_size = 2048# k1 e: F# h1 B5 n# t! S0 r1 F
  1203. ! `3 c) f) \4 w2 w
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    ! @% [' ^6 i# u7 R+ L- t$ V
  1205. ; bytes.- w4 [+ j/ z$ ^: s& D: c
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    9 i% i+ s# e1 x( U9 y5 X
  1207. ;mysqlnd.net_read_buffer_size = 32768& Q9 i, Y' k' L* X
  1208. ; _* u/ G9 p3 b# S
  1209. ; Timeout for network requests in seconds.
    " y; S, B+ G* c
  1210. ; http://php.net/mysqlnd.net_read_timeout
    2 K; l/ l$ q+ q* z0 ]( a" K+ G
  1211. ;mysqlnd.net_read_timeout = 31536000. w. G  w; k1 ^  E& w
  1212. 9 O3 s" b0 l3 x- \5 Q
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA' \2 s: T& ^5 ~% n
  1214. ; key.
    % ?6 i5 b6 Z" {: G( m
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    3 d5 W& G4 ~7 f0 J
  1216. ;mysqlnd.sha256_server_public_key =! l. [: Z* }" z

  1217. 1 t9 p( L+ o9 P& ?8 D* M7 Q; n
  1218. [OCI8]/ `/ @! R; M8 {/ X, e! l

  1219. ) P( o# ]& x# ^# c% i
  1220. ; Connection: Enables privileged connections using external
    . E7 c" X0 B  k" B! t
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)4 o& d, Y* t+ A* ?( I
  1222. ; http://php.net/oci8.privileged-connect
    % D' h" ?1 B  f0 a
  1223. ;oci8.privileged_connect = Off3 n8 a" |; l# Q( g/ x
  1224. # V( O  i2 N( M6 f0 }. U+ a, h: e
  1225. ; Connection: The maximum number of persistent OCI8 connections per3 @, p6 L3 Q/ J; j4 g( c
  1226. ; process. Using -1 means no limit.
    % q# G. l& }: f1 P* S
  1227. ; http://php.net/oci8.max-persistent
    ( }, H4 c4 F: ?& |1 [0 J
  1228. ;oci8.max_persistent = -1
    / h! O% Y- ~# ?1 }  q. b

  1229. % Q- a% Y: v* B
  1230. ; Connection: The maximum number of seconds a process is allowed to
    * Q% i1 B* C4 A2 R
  1231. ; maintain an idle persistent connection. Using -1 means idle/ m. `6 ^, I4 z
  1232. ; persistent connections will be maintained forever.$ \) c0 G% k8 j- s
  1233. ; http://php.net/oci8.persistent-timeout& @; P) h5 `9 U1 ]
  1234. ;oci8.persistent_timeout = -12 R# u/ g- G1 |6 n
  1235. 1 a1 I0 |+ N$ |( ^
  1236. ; Connection: The number of seconds that must pass before issuing a
    : H7 K& a+ v6 W' Y8 @" ?8 C
  1237. ; ping during oci_pconnect() to check the connection validity. When" m7 t2 c: u" r7 u
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    4 a+ b; c/ s% `3 \( d# {1 x
  1239. ; pings completely.
    : n, v' ?3 z! ]. A! P* a
  1240. ; http://php.net/oci8.ping-interval
    9 R' `& q! A* z6 @
  1241. ;oci8.ping_interval = 600 c( ?+ a( J3 [+ e9 z* s
  1242. 1 C/ l+ M2 F5 n* u
  1243. ; Connection: Set this to a user chosen connection class to be used& B2 w' X( }9 q: o( V
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    / c" W7 j3 N) ~2 H! x& e
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    - i. Q% `/ U9 Z2 n
  1246. ; the same string for all web servers running the same application,
    5 N9 p0 A' V' s+ Z+ n
  1247. ; the database pool must be configured, and the connection string must
    # i: f" R$ G  J. p+ n' w$ L4 Q/ ?! B
  1248. ; specify to use a pooled server.* b7 r, z* D* P0 @+ i* \" F
  1249. ;oci8.connection_class =+ |- u5 r$ c2 e( J

  1250. + V# e/ v/ x/ ~3 r3 _: R- V
  1251. ; High Availability: Using On lets PHP receive Fast Application2 f: a' F8 ~* z; r  p7 [+ H6 G
  1252. ; Notification (FAN) events generated when a database node fails. The
    & D! `) N+ \5 Z
  1253. ; database must also be configured to post FAN events.
    9 C$ T* W, |: J' e
  1254. ;oci8.events = Off0 w6 X: m; X. x; i% U3 Z' u% ?! O' t

  1255. + l" ?$ L- a7 n! S7 L5 C+ S; e3 x" S
  1256. ; Tuning: This option enables statement caching, and specifies how
    $ q4 Z4 Q. `; Z4 k
  1257. ; many statements to cache. Using 0 disables statement caching., x) i8 }% o% D, x
  1258. ; http://php.net/oci8.statement-cache-size
    5 }9 g' k" f# [- R! O
  1259. ;oci8.statement_cache_size = 20: O2 W  k, F, E$ G- w( c
  1260. " v5 Y; c: t* H$ J1 e
  1261. ; Tuning: Enables statement prefetching and sets the default number of# T8 f/ V! \* L1 v  Q( f
  1262. ; rows that will be fetched automatically after statement execution./ ]* `: ?) w5 ]& J. C
  1263. ; http://php.net/oci8.default-prefetch% Y+ ?( p0 v) T# I
  1264. ;oci8.default_prefetch = 100$ w5 g2 x" O% v1 l  G; m8 f$ N7 b
  1265. 0 Z' l# N& \. E9 S8 I6 c$ E
  1266. ; Compatibility. Using On means oci_close() will not close
    ; C# y- x# o; O. K# f7 d6 x
  1267. ; oci_connect() and oci_new_connect() connections.' n5 }$ }& e" E7 u
  1268. ; http://php.net/oci8.old-oci-close-semantics& d$ [+ [+ F0 \
  1269. ;oci8.old_oci_close_semantics = Off, P8 t9 M; z! S% \' a, \0 [
  1270. % N# `) P& U; b! V4 j" k8 R
  1271. [PostgreSQL]
    % i! Y% e2 J- ^) R* F) l1 k/ _
  1272. ; Allow or prevent persistent links." @* C% K0 [! g: Z& _
  1273. ; http://php.net/pgsql.allow-persistent, C+ U  v3 |! y
  1274. pgsql.allow_persistent = On% U& E% [# ^/ K; S+ w; {

  1275. ( A! F; U6 g" M
  1276. ; Detect broken persistent links always with pg_pconnect().5 `7 L7 X- Y; y( l
  1277. ; Auto reset feature requires a little overheads.
    4 [$ k1 N# I; \, `
  1278. ; http://php.net/pgsql.auto-reset-persistent
    " `, d; p5 M8 ~! W1 ~
  1279. pgsql.auto_reset_persistent = Off
    3 x( w2 j4 l. X* V+ F% s5 s( L

  1280. ; p3 ?) N/ D' f  Q/ F) r
  1281. ; Maximum number of persistent links.  -1 means no limit.9 y: a" T* ~5 q' a; ?) z8 e
  1282. ; http://php.net/pgsql.max-persistent
    % G- s, p+ |/ _, Z; F) Y
  1283. pgsql.max_persistent = -1
    0 o; p' p& a1 }" ]" N5 q# |3 ^- _! B
  1284. 9 u# a  ?1 t. `! G& U: ]
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.7 R1 _$ k9 \+ a; ^- ~
  1286. ; http://php.net/pgsql.max-links8 s# c7 r  h5 c, Q8 T( [( a
  1287. pgsql.max_links = -1
    3 f3 g3 q0 k8 [9 y

  1288. ' C0 R2 k) _+ y+ A7 s
  1289. ; Ignore PostgreSQL backends Notice message or not.
    8 `- [3 P9 H/ _
  1290. ; Notice message logging require a little overheads.
    5 N" C) l+ {5 ]* ~
  1291. ; http://php.net/pgsql.ignore-notice. f$ O5 t  Z: m$ S$ P' _; G
  1292. pgsql.ignore_notice = 0
    8 \% }/ F% b& Z( b- m! f

  1293. ( }6 v- Y6 F! O+ u7 `1 E3 y4 h8 @) F# I
  1294. ; Log PostgreSQL backends Notice message or not.- c4 a- y6 ]) O* a
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    3 H! E1 s, Z% o' x4 Q+ D% y
  1296. ; http://php.net/pgsql.log-notice
    # `$ e# c+ F8 o2 M$ e
  1297. pgsql.log_notice = 02 s. [/ @- c  V" H

  1298. 9 [# p) C* S0 }0 l9 m7 I) n
  1299. [bcmath]
    * ]5 N8 e( R0 {+ e2 m. X" z* a
  1300. ; Number of decimal digits for all bcmath functions.
    ( w& x) O4 X9 j& @4 x
  1301. ; http://php.net/bcmath.scale
      J4 t% U* m6 ]8 N  ?
  1302. bcmath.scale = 0
    0 `' ~* S2 s, T0 C

  1303. . H' |" Q4 }+ Z( _
  1304. [browscap]8 ?# _/ Z% Y4 T; K4 O
  1305. ; http://php.net/browscap6 ]- E' s$ S$ @0 b4 `! [/ P
  1306. ;browscap = extra/browscap.ini+ G! U1 V5 p8 Z5 M' s6 w4 _6 J

  1307. - ~9 h5 ]- M, C# c  X
  1308. [Session]8 F! {  _: h# C- Z
  1309. ; Handler used to store/retrieve data.
    " |* c* u8 X" V2 N# B* i# ]
  1310. ; http://php.net/session.save-handler+ a7 @% D/ O; @2 ?
  1311. session.save_handler = files
    % L% ?' O+ R% {  m5 g& A0 f. P8 l8 V

  1312. + ^9 y3 n% a* S# [) G$ [- }+ b# L) Y
  1313. ; Argument passed to save_handler.  In the case of files, this is the path5 ^2 Y6 a( m6 I5 i; `" \( \
  1314. ; where data files are stored. Note: Windows users have to change this
    , a: [, n8 v1 e* E1 t& K
  1315. ; variable in order to use PHP's session functions.
    2 b) K, ~& q# R1 [
  1316. ;
    - o6 L  s5 ]) L
  1317. ; The path can be defined as:2 B: J0 r( j3 g" [! B8 W! X2 ^
  1318. ;
    1 T3 r; f; a) z# o' X# J& @
  1319. ;     session.save_path = "N;/path"& S7 I$ d5 @8 c( V* k2 V
  1320. ;, E3 S5 }7 S( @$ {
  1321. ; where N is an integer.  Instead of storing all the session files in
    ! J0 p- @- ?0 r3 M: a7 N2 G
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    3 j. ]6 `( o8 [4 d' a+ L7 H" q3 t
  1323. ; store the session data in those directories.  This is useful if
    * Y; g/ K3 r* B7 X: t  }
  1324. ; your OS has problems with many files in one directory, and is
      C4 b/ f! V9 I' i8 z- P, x9 l3 [( n
  1325. ; a more efficient layout for servers that handle many sessions.8 E* k5 x2 {0 A4 u1 ~- B; R) Q# K; h
  1326. ;9 J1 _( `- b" |
  1327. ; NOTE 1: PHP will not create this directory structure automatically.4 D  f2 ?# ?- @$ l. K
  1328. ;         You can use the script in the ext/session dir for that purpose.% U, ?* F: H% t; k
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    ( ]' H3 E4 e% [' E
  1330. ;         use subdirectories for session storage
    & [) W- G. g3 z. I6 x2 u: m
  1331. ;7 r! I% \* W. t5 N; k) o
  1332. ; The file storage module creates files using mode 600 by default.- c+ ?) n8 P2 l3 }
  1333. ; You can change that by using
    7 o6 |% ]& C3 ~/ d3 O
  1334. ;# X' O! [$ ]5 U. Y4 ?2 O
  1335. ;     session.save_path = "N;MODE;/path"
    . c1 a) Q3 b% s1 f/ Y& W: a
  1336. ;0 c$ t" G) j! N  S* |  m2 ?
  1337. ; where MODE is the octal representation of the mode. Note that this: g% }# k: f8 F" ]
  1338. ; does not overwrite the process's umask.
    % N7 m1 |# o" X% C
  1339. ; http://php.net/session.save-path# G: G* O9 G1 I2 h- s; |
  1340. ;session.save_path = "/tmp"" f# d4 b$ M2 j: C+ @
  1341. 9 G- X/ S/ o5 U( q
  1342. ; Whether to use strict session mode.
      T8 W8 P* p. d& Y( t& S8 n2 V* c) r
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    - n$ k3 p2 [2 y* s9 `% R0 V/ |
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    4 G  X4 q8 i9 s, M6 K  z  ]9 l* ~: r. X
  1345. ; applications from session fixation via session adoption vulnerability. It is
    , \% X1 T0 ^3 Y0 ]+ M, w
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.! W( c6 Z4 O6 K5 z
  1347. ; https://wiki.php.net/rfc/strict_sessions' v2 m* Y  ?7 `: P# n! z" v8 g8 \
  1348. session.use_strict_mode = 0
    $ y$ l( D& Q, T, H5 l) S

  1349. 1 Q. C. [) U1 l3 p4 Z
  1350. ; Whether to use cookies.) `0 j1 Z. d7 _# J, U
  1351. ; http://php.net/session.use-cookies6 @- v- d8 W; k
  1352. session.use_cookies = 1
    ; b0 c. o) P; ], n# n. M) x) i

  1353.   m0 f+ G0 T% k" w9 S' _
  1354. ; http://php.net/session.cookie-secure
    2 [1 L. h/ _! q0 l' E- C2 _, N
  1355. ;session.cookie_secure =
    ! w, C& I, r& W/ h

  1356. ) W5 M# R& O4 O* W3 w6 r+ _5 J
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    ) y6 a& c; s3 V# e) |" X% Q  {
  1358. ; the session id. We encourage this operation as it's very helpful in combating4 R+ j& t$ a" S( q* Q) B9 |# i
  1359. ; session hijacking when not specifying and managing your own session id. It is3 D; R& T% I% _3 w2 F
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    / l7 W9 m7 O9 c7 X7 l4 \
  1361. ; http://php.net/session.use-only-cookies
    # f, Y4 y- [- K1 l3 _
  1362. session.use_only_cookies = 1
    8 z  ^, l$ B4 Z+ W0 \- P
  1363. & C+ [- W1 R9 n' S
  1364. ; Name of the session (used as cookie name).
    6 M* N: z, b! l
  1365. ; http://php.net/session.name
    ! A: E5 W+ V. m5 b$ d' x
  1366. session.name = PHPSESSID
    % z# c2 A- C; C' }. b' ?- S( w

  1367. 6 `" c7 w! R& c% W
  1368. ; Initialize session on request startup.- N! j4 l8 V/ l! [; i( o
  1369. ; http://php.net/session.auto-start
    % K, y  i% N" b3 o$ d; K9 D
  1370. session.auto_start = 0
      u3 f2 N, m2 e( W1 n+ o; ?
  1371. " J% T5 z: o& j5 y
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.( }5 }, f! A8 d9 S, N( ~0 @
  1373. ; http://php.net/session.cookie-lifetime
    & o# X/ a7 d" n6 T( _
  1374. session.cookie_lifetime = 0
    5 F  A0 H+ I& S$ _  F# X
  1375. + v6 D" ~+ b5 K& J5 k/ M# F
  1376. ; The path for which the cookie is valid.9 |: z1 t! L- K1 l  h
  1377. ; http://php.net/session.cookie-path  T7 x$ r" l; U8 s
  1378. session.cookie_path = /
    * x7 p$ L2 r+ t# |" ~6 }3 `7 @
  1379. * Q' s8 Q* u/ W; p
  1380. ; The domain for which the cookie is valid.
      [1 M0 F2 _$ @) U  B- j
  1381. ; http://php.net/session.cookie-domain9 \& F4 H: ?/ z7 ?! x1 E$ w7 r5 I+ \
  1382. session.cookie_domain =
    5 K0 S- W4 F& i9 x) u3 i9 b# b/ e

  1383. * p5 u. j. _5 Y) i& i- X
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    8 _2 e  v" R" g
  1385. ; http://php.net/session.cookie-httponly
    . ?( Z4 ^' Z; F" v3 W( s9 _
  1386. session.cookie_httponly =
    1 a2 `" R( |! A

  1387. . r, ?2 Z# F! _
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.# J( Q- H$ G: h7 [/ Z
  1389. ; http://php.net/session.serialize-handler
      H# x- t  Q1 F7 c/ ?/ v/ w
  1390. session.serialize_handler = php8 u# J5 _6 h' E2 N9 m4 R" T. T

  1391. ( K2 H* n0 l4 I6 f3 h
  1392. ; Defines the probability that the 'garbage collection' process is started
    8 K3 R3 W" f8 R3 h
  1393. ; on every session initialization. The probability is calculated by using
    , ]8 L, b* ^2 M9 |' N2 D% v% k
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator) I; P4 j$ Y; Q& H, v( i. e% r
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    0 A0 ^; M) N; \( u. y0 S& `
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    ! n/ z" h: Z& A0 q, m) J
  1397. ; the gc will run on any give request.1 |6 t8 k/ e1 C) M, J! y
  1398. ; Default Value: 1; f% g, I$ b6 _! @% E  N. x
  1399. ; Development Value: 1
    0 Y  W5 Z! E8 W
  1400. ; Production Value: 1
    % C8 l1 ~4 H2 g3 \* X6 S1 l; ]
  1401. ; http://php.net/session.gc-probability
    $ @' M. {5 l! E% e, J
  1402. session.gc_probability = 1
    & G; i1 ~  H, W0 c

  1403. , v9 I" k( c, r# s/ Q# ~6 D. [
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    ' ]" _: r6 g$ X( t  W" \7 J3 Z6 Y
  1405. ; session initialization. The probability is calculated by using the following equation:! O2 t+ d, ^5 q. n0 Q2 M$ J6 t
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and" R, B4 [# K0 R6 Q0 @' ]8 o
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1  T3 ^$ ~. r3 C, r
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance$ O$ i7 h  v/ O9 X
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you3 V. M) B# G+ [8 }" o6 l
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    2 e) v# f) j7 o& [# |& L
  1411. ; this is a more efficient approach.3 @0 ?( g3 X6 o# N! i
  1412. ; Default Value: 1007 q+ k! p9 l! g5 X3 {
  1413. ; Development Value: 1000
    2 b' ~( U8 P* @" c1 j! ^$ j
  1414. ; Production Value: 10009 N4 ]/ v# l* c
  1415. ; http://php.net/session.gc-divisor" l* V% {% K0 a: M
  1416. session.gc_divisor = 1000/ [: ]' ^! q7 ^) _
  1417. " U; p' g6 \" o6 D1 c
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    ) C5 G! k* l" e! t! p0 g; J
  1419. ; cleaned up by the garbage collection process.
    6 F# w1 i; U% `6 C
  1420. ; http://php.net/session.gc-maxlifetime
      c$ T6 [9 D  T/ }. h' F
  1421. session.gc_maxlifetime = 1440$ Q! n7 Q* Z" V3 C

  1422. : i0 d% E, m2 q; Q- T
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    , G7 S6 g0 h6 x4 B* N# p
  1424. ;       (see session.save_path above), then garbage collection does *not*
    2 H6 M4 @5 g$ X9 c) S9 r7 C7 H
  1425. ;       happen automatically.  You will need to do your own garbage
    2 ~: F1 A9 H. F
  1426. ;       collection through a shell script, cron entry, or some other method.0 q2 g; M) C  u) R  {5 g
  1427. ;       For example, the following script would is the equivalent of0 M+ z2 h8 L  S' G' I
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    * c4 V* }: h" n/ \) t# M
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm: G8 g5 T" J" o$ N
  1430. 9 P: u" C% a' [$ `' k9 s
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.% x' [+ ?8 K- b# ]1 ]& y
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    3 }. D% T& t+ w1 R% V
  1433. ; considered as valid.
    ! s3 ~% b1 j) l" c. l3 Z. ]( I
  1434. ; http://php.net/session.referer-check
    / Y" u  x; O" w: R* v+ m6 B4 S" u6 t
  1435. session.referer_check =! |4 g  z9 t, z1 j3 u2 |+ V' O* H  b

  1436. ' Y' s2 |* d% H  l' |  u$ X$ S
  1437. ; How many bytes to read from the file.
    * U" E$ N1 D& o) m1 k! a
  1438. ; http://php.net/session.entropy-length* X) @, ^2 [* }: q9 T/ H
  1439. ;session.entropy_length = 32
    7 u4 z4 I. A$ f9 l+ X. a/ f( j1 N
  1440. 9 `! w* L" I; g8 l9 b  ~
  1441. ; Specified here to create the session id.2 A( h* v2 ?6 X' S7 C, R; X
  1442. ; http://php.net/session.entropy-file# Y  m/ c5 `( _5 \& `
  1443. ; Defaults to /dev/urandom8 e, n# {" @8 q4 b
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom. x4 C, ^4 e3 u7 n. Q9 E4 \5 F6 ~5 Y
  1445. ; If neither are found at compile time, the default is no entropy file.
    / {! d$ h6 U. J$ `! ~! p
  1446. ; On windows, setting the entropy_length setting will activate the
    1 g. T) b4 x2 h# C4 H: X
  1447. ; Windows random source (using the CryptoAPI)
      c  F) b0 G% K, {; _! C9 R8 u4 g
  1448. ;session.entropy_file = /dev/urandom+ U# q% o* y" e: A$ q% j1 w) z% n
  1449. " U8 o( H, O/ X8 \4 P. W
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects6 G/ M& |1 v, n. p& {
  1451. ; or leave this empty to avoid sending anti-caching headers.) K  L0 E3 C: C5 [9 K
  1452. ; http://php.net/session.cache-limiter
    # p& t8 F7 t8 B8 I" D8 S& e1 ~2 @# O
  1453. session.cache_limiter = nocache
    7 }) s$ X8 n( n: o/ e7 T: u0 F
  1454. + T; b  h' w( P& {4 a
  1455. ; Document expires after n minutes.
    6 ^- s& _( b1 K' d. \9 g  \  E
  1456. ; http://php.net/session.cache-expire
    " D6 F+ ~& R' t$ d/ H/ `2 a% u
  1457. session.cache_expire = 180* E8 }& G+ e( ?; g* T3 A: E
  1458. . @& h5 `9 A; Z/ e: U
  1459. ; trans sid support is disabled by default./ A) z" n( Q9 J5 e1 b6 K$ ~
  1460. ; Use of trans sid may risk your users' security.
    3 A" H! |) d' h1 Y
  1461. ; Use this option with caution.5 D3 w8 s) ]$ {9 n2 c7 L% y
  1462. ; - User may send URL contains active session ID
    % c0 @2 P9 \- u# ?
  1463. ;   to other person via. email/irc/etc.
    ( |: z0 I  x3 T5 t  \
  1464. ; - URL that contains active session ID may be stored
    : @/ Y# g5 U6 X& c
  1465. ;   in publicly accessible computer.
    ' T) I5 k9 p" D$ V8 ^5 t
  1466. ; - User may access your site with the same session ID4 `; x* {5 q% [
  1467. ;   always using URL stored in browser's history or bookmarks.
    0 c$ I- w- o; [- c. G
  1468. ; http://php.net/session.use-trans-sid8 r2 p( c) v1 F* O6 J5 y* t! t1 m
  1469. session.use_trans_sid = 0# O# M# s2 V* h7 @3 v

  1470. 9 f, |) \; V( J) L
  1471. ; Select a hash function for use in generating session ids.0 v& D  ]: q3 c' c
  1472. ; Possible Values
    - `6 J3 B, v6 R' N
  1473. ;   0  (MD5 128 bits)9 Y3 `3 I% b" @. G
  1474. ;   1  (SHA-1 160 bits)% T0 D& j' a3 w8 J2 C7 Q
  1475. ; This option may also be set to the name of any hash function supported by" i6 l5 l( {7 ]% W" F* {
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    3 K% m" C6 o* y  j* r* _
  1477. ; function.  B; J: J: g, W& g( @; H$ [
  1478. ; http://php.net/session.hash-function/ ?+ w8 z, o' c
  1479. session.hash_function = 0
    ( D% W6 n! x' e

  1480. ' T0 D9 d- A; U# O1 W  X8 z. ~
  1481. ; Define how many bits are stored in each character when converting
    ) Y% c3 {0 A+ a% d$ z  C3 F  N
  1482. ; the binary hash data to something readable.
    4 t+ P/ n+ q. h# B! }7 k
  1483. ; Possible values:
    4 [0 N* ]$ u2 U3 Z3 w7 A
  1484. ;   4  (4 bits: 0-9, a-f)
    ( [2 I- J: m, q! o) i
  1485. ;   5  (5 bits: 0-9, a-v)
    . S3 S$ y9 i; T6 _/ F5 J/ v
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")  m2 j+ _7 b0 G
  1487. ; Default Value: 4
    : j: k, U5 v( U  G8 s4 v* F  F3 L8 r  a
  1488. ; Development Value: 5
    6 ^9 ?" x, s  {& h; a+ {: ]) Y' U1 y
  1489. ; Production Value: 5
    : f8 ?3 W9 d& @7 F' \: p) N4 [
  1490. ; http://php.net/session.hash-bits-per-character
    . {' ^7 J3 t* j/ U" H
  1491. session.hash_bits_per_character = 5
    1 z# [5 `: \& t. w/ v- F
  1492. 4 N2 I" D! M  E5 s4 a9 p! t; Y% `
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    ( s0 o4 y0 c0 E1 b. u/ }; V
  1494. ; form/fieldset are special; if you include them here, the rewriter will: Q2 ^6 Y& n" }; p. x
  1495. ; add a hidden <input> field with the info which is otherwise appended
    3 D7 f( C/ r% ~" p
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    # P2 p4 M+ l$ }
  1497. ; Note that all valid entries require a "=", even if no value follows.
    . c1 F. k3 ~! ?6 s% _/ U
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="! \9 Z. j. a' C8 W5 D4 W  S/ b
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"5 {3 R8 c; b: I3 J
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"6 h5 a3 ?* H' f& @. p4 ~7 j  i
  1501. ; http://php.net/url-rewriter.tags( i* f9 X/ Z! R# C$ N
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"2 N9 n" p" X# K  v

  1503. / n8 E# V: c. M$ o
  1504. ; Enable upload progress tracking in $_SESSION, D: @# Q2 `+ N( t$ E3 ~0 N
  1505. ; Default Value: On
    4 Q, d) p) b4 P, s
  1506. ; Development Value: On9 I2 G$ n8 l+ T% o' l, X
  1507. ; Production Value: On
    4 x2 N7 `$ l% L% L7 q# U# s
  1508. ; http://php.net/session.upload-progress.enabled
    - Y/ C9 z7 t8 O! v& _
  1509. ;session.upload_progress.enabled = On' M' Y4 T0 q7 Q) j2 T
  1510. " h% @: ?) I' i1 k4 u6 y4 v
  1511. ; Cleanup the progress information as soon as all POST data has been read
    $ c. q+ J& z1 ~) z, ~
  1512. ; (i.e. upload completed).; o& k6 R# j/ d4 D
  1513. ; Default Value: On
    0 @5 b7 h: B, L9 t
  1514. ; Development Value: On# T- h0 g- J# N! P# [
  1515. ; Production Value: On
    7 Z. ]& h6 D+ L" s, j. `
  1516. ; http://php.net/session.upload-progress.cleanup
    & R* e. K, b+ c7 v3 e% M) i
  1517. ;session.upload_progress.cleanup = On
    ) [, c8 j4 R( T; u6 G

  1518. # l( Z0 [* n1 A- @
  1519. ; A prefix used for the upload progress key in $_SESSION& B, g+ l# E( T$ _
  1520. ; Default Value: "upload_progress_"  L4 N- b& Y9 l' U7 R3 Z
  1521. ; Development Value: "upload_progress_"
    6 b, k8 L' `- k
  1522. ; Production Value: "upload_progress_"$ i. c" L  C  a! @; j- l
  1523. ; http://php.net/session.upload-progress.prefix7 m' d: Y/ T1 Y. T- b( [$ S+ D' G
  1524. ;session.upload_progress.prefix = "upload_progress_"
    , `3 @) G- ~' K2 `2 U

  1525. ! e7 H; I' i5 p
  1526. ; The index name (concatenated with the prefix) in $_SESSION& x, R; g5 `6 W* k/ A+ y& N1 [
  1527. ; containing the upload progress information
    2 ^, p4 d5 v( u% z
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    1 }: A. ]  N8 a& {" y
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ! P1 A/ P! B5 p0 k1 d
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    2 ?' s: u5 a0 J3 }8 V- c! W5 ^( k
  1531. ; http://php.net/session.upload-progress.name
    8 ]8 E% i6 a" z: d% G
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"2 b7 K8 b- a* ]6 k2 M( B$ b" @
  1533. , d1 b5 Z7 e4 ^5 i2 I# N
  1534. ; How frequently the upload progress should be updated.  }3 q* l1 A9 c0 I; R  B
  1535. ; Given either in percentages (per-file), or in bytes3 ~: s: z& I! [. x4 _1 X
  1536. ; Default Value: "1%"& q9 a( E" }7 f' ]7 T: ?
  1537. ; Development Value: "1%"
    . x* e7 Y9 q; ~! D
  1538. ; Production Value: "1%": _3 B  @) c+ o
  1539. ; http://php.net/session.upload-progress.freq
    + l& n: Q: L; o5 m# c
  1540. ;session.upload_progress.freq =  "1%"
    ( t$ \7 P) Q5 u' y/ K
  1541. # ?, [2 f: e% Y4 E
  1542. ; The minimum delay between updates, in seconds
    0 w& j* J5 X& N- `& B" z
  1543. ; Default Value: 18 O4 G, O$ w! _0 z
  1544. ; Development Value: 1
    " t* X8 u9 ?* L+ B' s: n
  1545. ; Production Value: 1
    ) f1 R) s: _$ V" n9 O* b
  1546. ; http://php.net/session.upload-progress.min-freq
    5 d9 R9 W* g3 ]  p0 V2 B* X
  1547. ;session.upload_progress.min_freq = "1"
    * l2 x" U- P4 c5 J
  1548. ! t. m% I: y' g" A4 j
  1549. ; Only write session data when session data is changed. Enabled by default.
    - S" l, r" q: [5 n& _; A( p
  1550. ; http://php.net/session.lazy-write5 x& U4 D: @3 Z
  1551. ;session.lazy_write = On, H  B; O6 F# O& |0 t: c  `5 k

  1552. $ z# q* V1 |& q3 ]* w9 B
  1553. [Assertion]
    $ N. g$ B2 `: A
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    " E5 Y6 r' W' o5 U" g
  1555. ; -1: Do not compile at all
    6 U7 T! Y: u! z9 N+ w  q( ]& g
  1556. ;  0: Jump over assertion at run-time
    : Z9 ~" ]- P1 G0 S. Z1 G- Q  H
  1557. ;  1: Execute assertions5 R. r; F2 x  b% F+ Z
  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)
    + {( G" ~7 A! e6 {0 ?* B  A. m
  1559. ; Default Value: 1
    9 r# ^7 }  N" L. R
  1560. ; Development Value: 1
    % g2 u* Z0 j1 s  `
  1561. ; Production Value: -10 R' T7 A5 W( i$ c$ K
  1562. ; http://php.net/zend.assertions1 k/ o9 e# P' k9 U% y8 N( I3 B
  1563. zend.assertions = -1
    $ U9 [2 p7 c. h( M' z

  1564. 0 f- \# m  ?% f' f3 ]
  1565. ; Assert(expr); active by default.5 M; X& g8 I1 A3 m$ O2 k
  1566. ; http://php.net/assert.active+ m9 E$ Q/ a. G
  1567. ;assert.active = On
      Y4 h% b! C1 U- r1 }9 @6 q2 S- A

  1568. ( ]( w. h! d: b
  1569. ; Throw an AssertationException on failed assertions# S" s# s4 ]* H5 U! |8 b
  1570. ; http://php.net/assert.exception3 I. w; S% ~# s. m+ Z5 E# V
  1571. ;assert.exception = On* g7 }7 x7 [$ `* ?, E
  1572. 0 ?) M1 y, K5 j: `# z1 ]
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    , `. x; ?3 x7 w2 t, |
  1574. ; http://php.net/assert.warning
    ( |$ p7 f( i: c4 w: I
  1575. ;assert.warning = On
    # C) e8 N. {+ s9 ~  M7 ?1 k) R

  1576. , P9 z0 _: Y' K+ }/ E4 ]3 b! A( v
  1577. ; Don't bail out by default.6 Y0 z+ g0 i& A5 T6 O4 D; o
  1578. ; http://php.net/assert.bail/ ^& z* v8 x; ^; U& n
  1579. ;assert.bail = Off
    , j+ G6 m4 U5 _7 K2 `
  1580. 7 f8 z0 b, X6 {$ @
  1581. ; User-function to be called if an assertion fails.
    # d8 m5 I  o, O0 p# |% v; ]
  1582. ; http://php.net/assert.callback
    7 o# E$ }0 N, ?$ J/ a% D$ I
  1583. ;assert.callback = 07 k* y+ s  s  J0 v3 U" T$ f. h5 b
  1584. + M' t  N7 d$ A8 h
  1585. ; Eval the expression with current error_reporting().  Set to true if you want0 u2 {$ `6 D: k- K9 A$ R
  1586. ; error_reporting(0) around the eval().
    0 t6 Z- F' F* d$ X4 |+ x
  1587. ; http://php.net/assert.quiet-eval" Z3 B, z- `, @  V
  1588. ;assert.quiet_eval = 0
    3 ]% s; o' O. j0 C  [

  1589. + G. I7 A- A: x" a* r( w
  1590. [COM]
    * W5 n  p' _6 a! o, ^
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs: Z5 {& ?; c8 V
  1592. ; http://php.net/com.typelib-file/ s. |4 n" u: g% f
  1593. ;com.typelib_file =# j" e' m& a+ U( p5 }
  1594. 7 a2 O9 f8 }5 s) v1 P
  1595. ; allow Distributed-COM calls: h( R9 m! n3 C: l$ d' h- i
  1596. ; http://php.net/com.allow-dcom4 S: i  m' t6 l# X6 Y
  1597. ;com.allow_dcom = true
    4 e7 n( j- V) _# N2 ^

  1598. 0 Y! F, J. w. l2 f) R- y6 r* {
  1599. ; autoregister constants of a components typlib on com_load()
    4 B( T* h5 ~" ]: K0 n
  1600. ; http://php.net/com.autoregister-typelib
    & H3 {9 ?8 j& e7 V; J/ r  ]% B9 m9 o
  1601. ;com.autoregister_typelib = true1 Y& b" p$ }5 z9 n. n  q
  1602. & M$ F1 Y* ]6 ]/ x9 k
  1603. ; register constants casesensitive
    ) x+ T' k; K) E4 u' m
  1604. ; http://php.net/com.autoregister-casesensitive
    1 l9 U, a+ z! Z$ P4 `
  1605. ;com.autoregister_casesensitive = false
    + b0 f4 z4 ^  W# l1 C- a2 R6 A
  1606. ! A3 Q, Z& |2 G- c7 D) ]; _/ ~  {
  1607. ; show warnings on duplicate constant registrations
    ( {# Z9 q, q$ F; C. w  u8 f
  1608. ; http://php.net/com.autoregister-verbose) ]7 @, S% ?. S* o( T8 j! M9 `
  1609. ;com.autoregister_verbose = true
    , L+ }' ?( C5 }$ T
  1610. / u" o% U8 o- }
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    # z" i' F5 n# Q0 a3 h  V& ^, Y
  1612. ; Default: system ANSI code page8 ?% [9 }& P4 v0 J/ }
  1613. ;com.code_page=; i4 F/ ?: |/ g4 L+ V6 |6 Y
  1614. 0 i# y' F. b8 j9 T) j8 j# t
  1615. [mbstring]
    $ I/ h# n/ k/ l6 ^+ F  X8 N+ Y
  1616. ; language for internal character representation.
    $ t1 T& @+ Y3 _( l- F4 V0 _
  1617. ; This affects mb_send_mail() and mbstring.detect_order., t/ z0 W) z. _/ {& V
  1618. ; http://php.net/mbstring.language7 A: o4 V/ B2 h) M! x" Q
  1619. ;mbstring.language = Japanese  X, h1 P% k# y8 E' P8 r- ?8 A% I
  1620. , g9 W" @, M8 f# [% g0 x
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.' C' B; C, t' \6 Y0 S/ M4 q
  1622. ; internal/script encoding.
    8 g2 \, Y, r! @7 E5 t% H
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)0 U5 V' L; a. m7 I
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    / G5 ?' W4 z$ z; C& v
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding' n9 L1 L/ m: \7 V9 h# }
  1626. ;mbstring.internal_encoding =
    ) E# G/ r# }* b
  1627. 9 e) s  T8 q) C0 w0 Q
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    4 @7 F8 M; T" z/ g6 n! W, \6 x
  1629. ; http input encoding.
    ) Z4 R% C" U% _) n4 M& `
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    + U" W* Q& y' W3 E  {" ^
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.: R+ j5 n3 i* x. T1 S
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
      d+ k0 z4 F# S) S0 m
  1633. ; http://php.net/mbstring.http-input
    5 \& i# V! \: M2 q- q9 @
  1634. ;mbstring.http_input =6 I8 d; ?, u% c5 I
  1635. : Z/ C& z" |8 K! U1 D, i# v) }
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.) }  C9 [& n  ^2 K5 G
  1637. ; http output encoding.5 w9 l2 X7 x& t) b; G
  1638. ; mb_output_handler must be registered as output buffer to function.
    + ]8 ]6 J4 L( a; k9 Z* V
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.6 G0 R# H  y. v5 A5 ]' r
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output/ J7 O' p2 K' ]" @! H0 n! L
  1641. ; To use an output encoding conversion, mbstring's output handler must be set1 F7 ^* F- q7 s% i
  1642. ; otherwise output encoding conversion cannot be performed.* u7 L; n8 K% r( H
  1643. ; http://php.net/mbstring.http-output- K) }! v6 p7 \4 |" x
  1644. ;mbstring.http_output =' V* F* @0 n9 w# {# u

  1645. - V6 q% T2 ~. I! i! }* D/ Z
  1646. ; enable automatic encoding translation according to6 L7 P4 h  ?1 g6 i' N' D
  1647. ; mbstring.internal_encoding setting. Input chars are! h, z0 m* n* s7 K, }! e( a
  1648. ; converted to internal encoding by setting this to On.( j1 D0 \6 w: p
  1649. ; Note: Do _not_ use automatic encoding translation for
    , x, ^. }4 W. m3 k- P5 Y4 `% C
  1650. ;       portable libs/applications.6 G  C4 K3 O; a0 F$ g8 T0 E
  1651. ; http://php.net/mbstring.encoding-translation
    ( H3 Z3 {" Y) _! @5 M( S
  1652. ;mbstring.encoding_translation = Off
    + K6 s: ^3 Z: S: P6 z, r
  1653. " w! v7 E# L1 a9 Y% m) o$ [; J$ B4 @% @
  1654. ; automatic encoding detection order.
    + j5 U" T7 B+ z0 F; M( [
  1655. ; "auto" detect order is changed according to mbstring.language
    9 O: ]) M* e1 Q
  1656. ; http://php.net/mbstring.detect-order
    , B6 B- F  ^5 V$ }& \  o+ E
  1657. ;mbstring.detect_order = auto( l2 M' Q8 ?' _6 E

  1658. , Y' v: [4 s  a0 T% ]. Q! q& M$ W
  1659. ; substitute_character used when character cannot be converted
    1 t8 k) a# S: j! b
  1660. ; one from another
    7 {' r; V/ o1 b7 O4 n; U8 {
  1661. ; http://php.net/mbstring.substitute-character3 |) j4 i+ ~0 ^  l. {. z
  1662. ;mbstring.substitute_character = none
    8 h; d9 v. n  t6 `* m7 s* L$ @6 o

  1663. # i( D  v8 M$ A5 W& ?
  1664. ; overload(replace) single byte functions by mbstring functions.3 m( R7 Z2 g- b. f9 ~8 Y
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),% y" M3 O9 L8 u/ P) L! Y, p
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.$ U7 K$ j+ o8 B: @0 }. |) s
  1667. ; For example, 7 for overload everything.
    ; Z/ K9 [  ^: X
  1668. ; 0: No overload- N' A: L/ r" ]0 [& e0 m+ q7 v
  1669. ; 1: Overload mail() function
    0 E  [9 H$ Z) z$ O
  1670. ; 2: Overload str*() functions. Y: A6 l2 R6 J* a* H, r7 B
  1671. ; 4: Overload ereg*() functions
    $ I3 H6 w+ a- a) j
  1672. ; http://php.net/mbstring.func-overload! u* c3 c7 h+ M3 j  y) z5 r9 H) L
  1673. ;mbstring.func_overload = 0
    & w) F: Z: s  a+ _
  1674. / z8 r, F1 t# L- Q
  1675. ; enable strict encoding detection.
    . v- m, h9 q- k
  1676. ; Default: Off7 Q) x, C/ ^3 [1 z7 x0 J) Y1 i
  1677. ;mbstring.strict_detection = On: S+ N) N0 g/ a3 S

  1678. 3 m4 i8 K7 D1 `) F4 ~
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()) z4 B, R* ^. E! Q
  1680. ; is activated.' F0 `' ~1 J# A( I
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml); M; Z. O5 F8 h8 c. z
  1682. ;mbstring.http_output_conv_mimetype=
    ) F' A4 k7 l5 N' r* t' R
  1683. 7 U3 G! H1 D5 X6 I
  1684. [gd]
    + s  L( E4 F9 r7 V, c2 f& G
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    # M* E$ j* a. e* C) l. N; z, W
  1686. ; a gd image. The warning will then be displayed as notices$ z; p1 W: V8 W* |, H5 n9 m
  1687. ; disabled by default+ z; |/ U/ `2 z/ o! }2 r3 ^: d( c8 f
  1688. ; http://php.net/gd.jpeg-ignore-warning
    ( v- L; \( R( Z4 P/ [0 `9 U3 A" }7 v7 P
  1689. ;gd.jpeg_ignore_warning = 08 R  A4 N. {8 q
  1690. # B, e: G- r9 p" I1 ~' a2 Z
  1691. [exif]+ b: t/ q9 D8 j" g( H
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.% ?+ U! q# \) l8 i
  1693. ; With mbstring support this will automatically be converted into the encoding
    ; M% S2 c* C7 u
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    7 i# S8 K: W2 ~; b" c: s
  1695. ; is used. For the decode settings you can distinguish between motorola and  U8 o& u  E8 a0 v" z) s
  1696. ; intel byte order. A decode setting cannot be empty.
    , c8 X( B9 F% F1 z# t$ s. E
  1697. ; http://php.net/exif.encode-unicode
    $ U, E) F/ `9 A2 o; _
  1698. ;exif.encode_unicode = ISO-8859-15
    5 x: H1 F2 E% ^. O5 w4 J8 G: `

  1699. / D% V: N& T8 C" K
  1700. ; http://php.net/exif.decode-unicode-motorola" p( H9 c. v5 h! f7 |8 h
  1701. ;exif.decode_unicode_motorola = UCS-2BE% c  M* `& ~) ]5 j+ C

  1702. 7 e$ [5 C9 V' ^; a
  1703. ; http://php.net/exif.decode-unicode-intel
    4 A# r. \2 d+ k) d- E, ~4 M6 M2 _
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    - ^# Q$ ]/ x0 H+ Z

  1705. ' d; H# x7 ^7 w. B" Z- Z( N
  1706. ; http://php.net/exif.encode-jis
    6 A; ]; |$ i3 F  o* u  K
  1707. ;exif.encode_jis =  G% z! a- {, d! u

  1708. 8 Z3 E9 D, }  M# v6 b  I- U8 `) c
  1709. ; http://php.net/exif.decode-jis-motorola4 L5 l- X0 X2 G2 a
  1710. ;exif.decode_jis_motorola = JIS, K3 g. z0 p" U; q- p
  1711. 3 F9 _8 p* I2 S% a3 X5 B7 M
  1712. ; http://php.net/exif.decode-jis-intel
    6 U5 s1 b% Z* q+ ?' n. p' `
  1713. ;exif.decode_jis_intel    = JIS
    " Z+ D) `6 ?6 r9 w4 a

  1714. ) S6 d4 T4 w' T' ]; U
  1715. [Tidy]8 Z0 B! L5 Q( v- O9 m2 I& g
  1716. ; The path to a default tidy configuration file to use when using tidy. U) X  T1 ]6 K+ m; w5 A+ r
  1717. ; http://php.net/tidy.default-config7 _' Q3 k. F' i9 Q
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    7 Z2 I. l0 i" a  H- S* T
  1719. / F+ [7 G6 k6 B! W: \. A/ k
  1720. ; Should tidy clean and repair output automatically?
    6 S1 E5 @9 B- F: R+ N# T; i2 P
  1721. ; WARNING: Do not use this option if you are generating non-html content
    $ Y1 }  {8 b6 y$ r
  1722. ; such as dynamic images7 H  L' L, i- g6 l( R4 ~
  1723. ; http://php.net/tidy.clean-output4 O8 ]6 M7 y/ k& t8 {6 j" ^
  1724. tidy.clean_output = Off+ q9 E# b* b5 z/ Q% x
  1725. - @' E$ N6 n* e  u) i
  1726. [soap]
    # j7 U- E; U5 E3 t: E, A
  1727. ; Enables or disables WSDL caching feature.
    # m$ r: }$ m( P) `2 Z6 a
  1728. ; http://php.net/soap.wsdl-cache-enabled$ [3 B# d) }  L2 ]& q+ k
  1729. soap.wsdl_cache_enabled=17 R0 @0 P  \: X' R: ~" Z2 E
  1730. ; R1 r( A0 u3 Q% T; N" H
  1731. ; Sets the directory name where SOAP extension will put cache files.
    3 b! d; F: C* w& q4 ^- ^- ^& X
  1732. ; http://php.net/soap.wsdl-cache-dir
    ) V  C3 j3 D$ o' L
  1733. soap.wsdl_cache_dir="/tmp"
    5 `$ l" a  v' @4 z+ M
  1734. 5 q1 K1 i, t; V2 p+ r4 N" k$ h
  1735. ; (time to live) Sets the number of second while cached file will be used1 x% q' I2 u3 N! e' s7 p
  1736. ; instead of original one.
    / w2 p5 G7 F$ A( C. |2 N+ i
  1737. ; http://php.net/soap.wsdl-cache-ttl3 N" Q; f! Z; c7 A
  1738. soap.wsdl_cache_ttl=864001 k  e. k) G2 c# X

  1739. ( l6 ?. m4 q  \9 g% R
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    % h0 y0 W/ a% x! @  ~* T. H6 t
  1741. soap.wsdl_cache_limit = 5
    ! ]7 p' D1 R6 R3 S! `0 q

  1742. + s+ T% w" d- w; Z) l' r
  1743. [sysvshm]& s: V# d6 [  ^  J6 f) }8 J# r  w$ _
  1744. ; A default size of the shared memory segment
    % g4 i0 F0 T) u' D6 p9 ~& U
  1745. ;sysvshm.init_mem = 10000' Z5 `5 X' h, E

  1746. 6 f! b# F( d# s* R* `1 i8 I" M
  1747. [ldap]
    4 _# W( V) B/ q
  1748. ; Sets the maximum number of open links or -1 for unlimited.4 f! V$ M- P( i7 N( {3 p* g
  1749. ldap.max_links = -1
    & j+ P* o. J. b

  1750. 7 x# \2 l1 q5 E& z8 q
  1751. [mcrypt]
    3 ]5 u7 A* c6 p2 x
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open$ o+ n3 j! v1 J. M

  1753. 3 Q. L6 O; N) r0 ^  ^2 h# \) F, r' c
  1754. ; Directory where to load mcrypt algorithms4 o% ]5 R0 q- L) v
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)' B% g- }- O: {( x: z
  1756. ;mcrypt.algorithms_dir=
    - o- z. V6 `! r0 @, u6 A
  1757. , R& a. d6 Y9 g/ O* m9 k) H" f
  1758. ; Directory where to load mcrypt modes
    : L/ `: O  ]! c& Q. R7 T% ^
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)) N! ]+ w& Z  Q2 B+ i  V7 F& H0 x+ b* ]& D
  1760. ;mcrypt.modes_dir=
    " n" H# X, s. m) }

  1761. * x8 v" E1 N" R& t1 W
  1762. [dba]# d, {+ k; Z8 C- z4 V9 w$ P
  1763. ;dba.default_handler=
    6 W8 [9 ^0 ^, e( R& ^7 @8 m: X
  1764. * \3 d, b6 L: @2 i1 X
  1765. [opcache]
    ; O+ B7 V' k' z# G* ?$ e) P
  1766. ; Determines if Zend OPCache is enabled- p5 E$ B& l0 x% G7 |& x$ r) r
  1767. ;opcache.enable=0* C7 w, r. B8 {" m5 Q# G0 _7 a- g
  1768. 0 i$ B. @" v5 x$ E
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP6 I* r4 k) J: D; j
  1770. ;opcache.enable_cli=0
    - `* |9 [! A) L) R3 }' g
  1771.   H8 y2 U3 J4 Y8 ]2 ]1 k+ M
  1772. ; The OPcache shared memory storage size.
    0 h- |7 g+ Z5 x- _( @, F1 `" G
  1773. ;opcache.memory_consumption=64
    ) C  M* J; H7 c7 b5 p# l6 }# @

  1774. * q5 R7 ?# Y6 ]. N7 J8 ^+ [; R
  1775. ; The amount of memory for interned strings in Mbytes.
    1 }1 [+ V. q* [& N$ f, a% n
  1776. ;opcache.interned_strings_buffer=4. I: U* ?5 m; e
  1777. 7 Z; ?& S% Z2 K+ J3 L* b) Y/ g
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.0 f% x; Z1 w& G  m! V; z. J
  1779. ; Only numbers between 200 and 1000000 are allowed.
    ) H% c* i+ a# B2 f, L, g8 u
  1780. ;opcache.max_accelerated_files=2000/ N  q2 x+ Z, {
  1781. $ W8 H3 A. t+ z! ^
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.2 {; A& Q6 M1 ~- |/ B! }& m4 f
  1783. ;opcache.max_wasted_percentage=5/ x: J) Z  |' A: n5 C
  1784. 8 S+ v# \; n$ o- |4 X0 V' u
  1785. ; When this directive is enabled, the OPcache appends the current working2 p/ M- {# ?, P  Y: H4 M; J5 l
  1786. ; directory to the script key, thus eliminating possible collisions between
    6 Z/ w/ D6 A0 t6 X  d
  1787. ; files with the same name (basename). Disabling the directive improves
    ' r! Y+ v% h3 r5 l: ^! W
  1788. ; performance, but may break existing applications.
    4 k3 ?- @, ]' F$ L( R
  1789. ;opcache.use_cwd=18 @0 Y" A6 k1 K8 I; x& H3 ^5 E
  1790. + V# _: ~  u! e+ I
  1791. ; When disabled, you must reset the OPcache manually or restart the/ ?: J" m" U0 F' [' c3 b
  1792. ; webserver for changes to the filesystem to take effect.
    6 N* T- A. u; i& i! R
  1793. ;opcache.validate_timestamps=1
    ) q. z$ z1 S% \& b" _& E( V* `& S
  1794. ( {5 ~7 m4 Y8 `4 }
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    / o1 C, K" e! K4 k. L* }. ~' _
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    1 Z; @/ }4 G" v9 R3 V9 g5 R. @: u
  1797. ; once per request. "0" means always validate)# w) B5 E) C2 g! n, z% i
  1798. ;opcache.revalidate_freq=25 i" ?( l# Y- o0 q6 @, D6 w
  1799. % I4 V( u  x9 N0 g9 e& J
  1800. ; Enables or disables file search in include_path optimization
    4 G- d' b; y! U, r" s8 q
  1801. ;opcache.revalidate_path=0
    . h, ~: R& h1 c) Z- S, m4 k
  1802. 9 N; Q/ h0 E# D  j' y& ~6 B# ]
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the' W+ a0 L# D- J/ s. X% q: R" S/ D- ?
  1804. ; size of the optimized code.
    ' `' q. V( R4 k4 }* K, a
  1805. ;opcache.save_comments=1
    # P2 E; ]- P2 a- q
  1806. 0 x' N- Z' u4 g1 V* I
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    - J- Y+ g$ \" l5 B
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.3 X- A2 |4 y( Z9 E
  1809. ;opcache.fast_shutdown=0
    4 `* |; s7 @0 H% z- b  i8 `: s
  1810. 5 a9 K, G  B3 T8 _: s% ?
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    & q/ |9 G) w! G0 A/ t, d6 o$ h
  1812. ;opcache.enable_file_override=03 b) f: L+ x! {. k

  1813. 6 \" D( I# A% a6 ~/ |( U, j1 O9 h
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache% u8 w7 v) }2 N' J' v
  1815. ; passes% t" ~3 {( [* t8 p8 U! Q. t: b: ?
  1816. ;opcache.optimization_level=0xffffffff4 L* a% C/ @# V. Q) C9 h1 [

  1817. 3 K. j- F. ~, b& D& C1 K! t# i" I. Q
  1818. ;opcache.inherited_hack=1
    8 A! r+ |% m: o# `( W5 b: _
  1819. ;opcache.dups_fix=0& x2 q! k% U2 r+ @% H- l

  1820. / u7 V6 d# `) e/ }1 P
  1821. ; The location of the OPcache blacklist file (wildcards allowed).# U( V: U# D  q
  1822. ; Each OPcache blacklist file is a text file that holds the names of files  }/ U& X' h! J( t# _/ q7 _
  1823. ; that should not be accelerated. The file format is to add each filename
    ( E7 k: D+ S) a# Q
  1824. ; to a new line. The filename may be a full path or just a file prefix
    0 X! G- D& t$ \: C2 I2 o; }
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    5 y. l5 g; X' G: p" W# L. y
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).  v" A. y, V5 S8 o8 c: @5 j
  1827. ;opcache.blacklist_filename=% A: @  G, m  Y+ V5 y0 h& z
  1828. 5 ?; {  W' n, d
  1829. ; Allows exclusion of large files from being cached. By default all files" P5 P9 v" a( {. Z
  1830. ; are cached.
    4 Y4 Z/ V2 `) e$ r8 g/ G1 t. e5 G% _
  1831. ;opcache.max_file_size=02 Q# K  w$ _3 U7 F* k$ J

  1832. " r, L0 G4 {6 x5 y4 \+ X
  1833. ; Check the cache checksum each N requests.
    - O- r# {! k/ ]
  1834. ; The default value of "0" means that the checks are disabled.
    & {3 I1 j, o/ y) c' J
  1835. ;opcache.consistency_checks=0
    3 S: S# j7 R- V& z9 K% C% g

  1836. : k' J! I0 U  j. n, J. a9 D! Z6 ~
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache, n4 \2 F8 N7 f6 U3 M
  1838. ; is not being accessed.
    $ N. d, h0 i1 O, {3 M
  1839. ;opcache.force_restart_timeout=180
    # V3 J! F1 Q. T, ~* o
  1840. " P) i: U0 P" R, ~6 }
  1841. ; OPcache error_log file name. Empty string assumes "stderr".% K( X5 }8 B/ o; n' O8 ~
  1842. ;opcache.error_log=" X. p3 A3 b5 a! v
  1843. . J6 L# p8 [9 K  V: E. i
  1844. ; All OPcache errors go to the Web server log.5 ~/ X; V2 n6 j' S+ g$ N
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    2 {' H2 H5 ^+ I# F
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    ) D5 i: d! p. W* K+ r
  1847. ; debug messages (level 4).: p: E8 s8 w; B/ [
  1848. ;opcache.log_verbosity_level=1! h6 u) G3 u/ R! @( ~0 f

  1849. 2 H$ i4 O. J& b6 A9 w  P9 y
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.' v4 |, G9 w: j& {
  1851. ;opcache.preferred_memory_model=
    " Q8 N  X$ s" Y( @+ O/ i0 `
  1852. 7 D% D  A8 G9 x5 j6 o% }/ s6 F# S
  1853. ; Protect the shared memory from unexpected writing during script execution.6 N* L& ~5 |; K- b, g
  1854. ; Useful for internal debugging only.' U) x7 T, _% x! b
  1855. ;opcache.protect_memory=0
    - O" r0 O/ G3 O1 @1 y

  1856. : R9 E& W" O# [7 G4 o" Y
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is& w* {' p" K' U& i) O( i
  1858. ; started from specified string. The default "" means no restriction
    9 z/ Q: w4 w) Q- n4 N+ V8 h
  1859. ;opcache.restrict_api=* j# z  E3 j3 J. F( e
  1860. 8 ~* ]1 s/ O1 L5 Q1 Z3 v, \  @
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    ) S) V" [3 e; s: M
  1862. ; processes have to map shared memory into the same address space. This
    + U7 N5 D( v" K5 Q3 O
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    5 j; [5 |# _7 D0 X3 q
  1864. ; errors.- N4 L7 B  Y  j* f; r
  1865. ;opcache.mmap_base=
    ' T* t# n- f. H8 J

  1866. : T( c& {  E+ D% v5 l
  1867. ; Enables and sets the second level cache directory." A; Q7 @0 \, `* U0 A% P; |
  1868. ; It should improve performance when SHM memory is full, at server restart or, k6 }: W& u, z0 s
  1869. ; SHM reset. The default "" disables file based caching.
    . j5 B7 P& ]5 C/ X  r
  1870. ;opcache.file_cache=& g0 `2 R6 {7 e& E; L$ t5 A$ Y

  1871. 0 H9 ?) U  d3 y; ~7 D. A+ s
  1872. ; Enables or disables opcode caching in shared memory.$ ]3 c* t) c: D  X, p& }
  1873. ;opcache.file_cache_only=08 ]+ C8 o: w4 |" f$ {
  1874. 2 h5 _! P" Y6 a0 c/ N5 P* p
  1875. ; Enables or disables checksum validation when script loaded from file cache.5 D. ~' \" A4 P* X8 E+ ^
  1876. ;opcache.file_cache_consistency_checks=1# q+ A* E+ E+ B' y2 @- V; U

  1877. 9 E' A, X; a+ W3 [
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to( d! W. F3 d  d7 c
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    1 ?8 A: a7 F, W8 R& T1 T
  1880. ; cache is required.* ?' x! r  m7 e
  1881. ;opcache.file_cache_fallback=17 ~9 \# w2 e) h2 P; G

  1882. 1 {3 L% H2 b* {/ s9 D
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.% L' I# U) p1 l8 `7 l8 z4 k
  1884. ; This should improve performance, but requires appropriate OS configuration.0 ^3 D- t8 C: E' F- ]2 C
  1885. ;opcache.huge_code_pages=1# i4 W3 p3 N9 ~" B! Z8 d; Q; ^4 [
  1886. $ I+ q+ I* o/ o( }, Y$ @
  1887. ; Validate cached file permissions.
    # [9 \( H) Z+ Y! C8 r' M
  1888. ; opcache.validate_permission=0
    # A5 M8 O( I( W2 X1 d
  1889. ; ~, G# A3 l4 b( m. K; r- ?
  1890. ; Prevent name collisions in chroot'ed environment.
    & w" C& U: ^+ M% E0 a. o. l7 w
  1891. ; opcache.validate_root=0
    ! Z5 S. ?$ v7 P4 F' w# U
  1892. . A0 @0 K& R' O  S! p+ `" Q9 l
  1893. [curl]
    ! g; I6 q$ i9 I0 X; K9 {
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    * M- i: a9 z4 A5 E7 S/ ?1 v5 O6 Z
  1895. ; absolute path.
    9 G$ t2 y& U0 ^) `& m  Z( ?
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt! C3 G3 l( k9 ]6 ], b
  1897. ) f" K" `  T/ K8 [- r
  1898. [openssl]; o5 w' E& c: m
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem# W" x1 ~  W% G- a# G8 m* A
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should% `( F% c9 j% U) V2 }* I
  1901. ; not specify a value for this directive as PHP will attempt to use the
    ' i/ i( k3 c" y8 K6 ?" j7 q' e
  1902. ; OS-managed cert stores in its absence. If specified, this value may still! a/ z8 T1 O0 d  a
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context, t/ h0 w3 F3 F6 c8 S
  1904. ; option.% I' _; o) f- `3 `) h9 a
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    8 K# G- x' F! |* z' K( _1 n
  1906. $ }& G1 H7 k# V% L! m0 i% G" ^% @1 N
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the( E, @  v3 I5 ]* l" V2 `/ x: G. b
  1908. ; directory pointed to by openssl.capath is searched for a suitable' r) @" c: D* U; T* d+ j
  1909. ; certificate. This value must be a correctly hashed certificate directory.# {; E/ @0 o* T
  1910. ; Most users should not specify a value for this directive as PHP will
    - }8 S% U/ E# z3 W
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    3 Q- g/ _4 j5 L- H. B$ Q
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    , f% c7 c3 \  n
  1913. ; SSL stream context option.& i( o( z5 N) `2 T& t
  1914. ;openssl.capath=
    : G! ~/ H" j5 R  B' j
  1915. 0 Z2 X* d) p/ [. P- p
  1916. ; Local Variables:2 ?! h1 p7 o) r
  1917. ; tab-width: 47 f" ?4 j* j+ r7 E+ V. O& k
  1918. ; End:
    # d" |# f1 |7 |$ j) s
  1919. 3 L/ m6 s, u& w5 Y( k0 {
  1920. ;eaccelerator
    5 Y0 _& c! j& g
  1921. 1 h. u, E% n! s
  1922. ;ionCube
    ( Y1 |% @) k1 b% K) B# c" a
  1923. " }/ F! P$ ]% x7 }! B
  1924. ;opcache6 d2 V) p5 ~/ i( F! t  _5 {$ K, m0 q

  1925. . J3 l  ?, {- L& U
  1926. [Zend ZendGuard Loader]
    2 c: Q' G4 V1 x  @$ `  Y1 N
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    - F, b3 R, T* E+ u1 I) ~
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so. g# F% a/ |2 p, S. q, b- D# V2 x
  1929. ;zend_loader.enable=1
    + u% @( ~* ^0 i: a- }
  1930. ;zend_loader.disable_licensing=0: W% `: X# u. J, n
  1931. ;zend_loader.obfuscation_level_support=3
    ; |1 p' P+ ~# [# s, V
  1932. ;zend_loader.license_path=( u! l  g. Y7 @; X  W( X

  1933. + D% T5 T0 X3 ?" }
  1934. ;xcache- @8 X  I' i! F
  1935. 3 h# S2 A4 p4 {: x1 q1 k  u6 }
复制代码

$ l/ \7 o- Z& x6 [  n$ [
- P+ J5 {' E, W( G
) U" X0 p2 B) o% H6 J9 J/ Z$ }7 x
; |4 P, X' I; q1 H( L6 E, W+ J' l7 N
, s* O% d2 @5 w; p* v* {, K$ R8 ~7 M' w5 ]

. p. Y; D( A- f" z) W, s$ OPHP5.6版本原始设置
+ c4 A  g- M, y4 ]. w4 Z# `5 f/ x/ t
% T% C+ |1 n% F; o1 U7 J. f3 ~% O
  1. [PHP]* ^; z2 H  R0 J

  2. ' X# b+ s& D. u3 V
  3. ;;;;;;;;;;;;;;;;;;;. i2 w$ H! H6 z
  4. ; About php.ini   ;
    3 t% A' l' W: g* s3 ]+ |4 q$ h
  5. ;;;;;;;;;;;;;;;;;;;8 _$ [# L0 c( @- L4 z# v
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    0 D1 n  l0 l! W# ?9 i
  7. ; configuring many of the aspects of PHP's behavior.
    & I6 D5 x% M' B, x* |. \" b7 v# j
  8. " t. E$ O0 E9 B3 M4 k! R5 h1 ?
  9. ; PHP attempts to find and load this configuration from a number of locations., S5 l4 \; \7 m; w. f
  10. ; The following is a summary of its search order:
    $ d! y& s7 B9 o- `
  11. ; 1. SAPI module specific location.( w/ c2 t2 q$ B  e
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)9 H2 |& W4 d' \  X; i% x. u$ \; a
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)  R  M, z" E# T8 a3 O3 ^
  14. ; 4. Current working directory (except CLI)
    ! e: P- N3 {: B4 r* i
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    , W" b1 E7 z/ \6 ^* {& O
  16. ; (otherwise in Windows)1 V4 ]. A0 O% I7 ]: [# ?, P
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    + R: m- ]3 F7 V0 }
  18. ; Windows directory (C:\windows or C:\winnt)
    + X7 ?$ L$ q& b8 U/ b- _
  19. ; See the PHP docs for more specific information.
    ' f8 |: W" p$ a, F& ^
  20. ; http://php.net/configuration.file
    ' E! _8 ~$ `# @- T  R5 n

  21.   u) s) g, o0 u: n- v& j
  22. ; The syntax of the file is extremely simple.  Whitespace and lines" b4 k9 p4 w$ _4 j! ^9 m% F
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    1 q5 j: f9 N% W2 X
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
      Y4 r) r- z- K  T6 E3 W' I( S
  25. ; they might mean something in the future.
    % L( O7 v  R) y" X$ [+ C3 n/ k

  26.   u% W8 t7 q/ X
  27. ; Directives following the section heading [PATH=/www/mysite] only
    * {' L9 B$ M) e/ [' d) K
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    8 x  K& A" Y) I! {4 S/ Q  K
  29. ; following the section heading [HOST=www.example.com] only apply to$ x" S# D; e1 O4 ~
  30. ; PHP files served from www.example.com.  Directives set in these
    2 p; o" M1 d; R5 x
  31. ; special sections cannot be overridden by user-defined INI files or3 O: G1 X+ P. B# |( F' M
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    7 c9 N1 F5 e7 _. c
  33. ; CGI/FastCGI.) [' e  X2 M5 w. N! u  b
  34. ; http://php.net/ini.sections
    % c) Z0 n; Q& |- A7 C4 U5 j* ]

  35. 9 ]# e2 _. ^- h- o8 |( S) i
  36. ; Directives are specified using the following syntax:7 t/ s& V. w7 r9 \; U' b
  37. ; directive = value4 z+ z( t" \* n
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.+ a& u' @- m( Y- I- V# p/ x
  39. ; Directives are variables used to configure PHP or PHP extensions.7 D4 r7 f1 ~) e
  40. ; There is no name validation.  If PHP can't find an expected3 |$ p( A% e% X! j) [
  41. ; directive because it is not set or is mistyped, a default value will be used.
    5 d6 U3 r5 A3 g5 p# f8 P. Q
  42. ! v6 ]- w3 M' a( U7 e) B  t
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    ) x  s) l1 y& ]9 C! {7 h
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    , O6 j7 G! e- I! ~! w
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a) K: s! b7 e' t: p1 e$ H7 c- C$ \
  46. ; previously set variable or directive (e.g. ${foo})
    8 E+ ]- D( `2 Y9 U6 I: o8 \
  47. ; r5 i  r& F2 I- b. M% ?8 p0 c
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    * S, }+ S. `, v+ z" q% d, t
  49. ; |  bitwise OR
    9 {9 x0 s( b" |7 C' z( z) j% I
  50. ; ^  bitwise XOR7 O" X9 F) P3 m/ V. K
  51. ; &  bitwise AND
    4 s4 q- b- u% g. |# b6 O
  52. ; ~  bitwise NOT
    + o; ^- P1 R" @9 k/ A% w+ j
  53. ; !  boolean NOT! F- j( k& b3 V" Q
  54. # P$ @8 u  a9 ], Q
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.# `1 b# C3 ]. E" Z- X) K/ U" \- }
  56. ; They can be turned off using the values 0, Off, False or No.
    * m$ s7 U# a& Q/ `4 N( ]1 ^
  57. * f: l/ Z$ e% M' [: W/ [* |4 B" `
  58. ; An empty string can be denoted by simply not writing anything after the equal
    7 V$ x% A# i: i1 i1 B. C7 B+ y% q1 I
  59. ; sign, or by using the None keyword:
    1 g0 A" n2 x$ g
  60. . O4 V9 u, X5 {) h2 S" D0 F+ s
  61. ;  foo =         ; sets foo to an empty string9 K* B* O: t, d$ r
  62. ;  foo = None    ; sets foo to an empty string
    ( O, }/ q/ q" t3 Q) _0 S3 x
  63. ;  foo = "None"  ; sets foo to the string 'None'2 @8 w2 b+ O) ]5 m* h0 J% i: h
  64. + v# _' J- V: T) a
  65. ; If you use constants in your value, and these constants belong to a
    1 h( q5 V$ t0 P8 V+ y: S& }
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),1 Q' D" R( ~0 j1 ]. ]9 A' U2 t9 ]( b
  67. ; you may only use these constants *after* the line that loads the extension.
      Y3 q% f( ]: C5 r' }+ p) C) ]; c
  68. + T: L$ x/ V, S+ N/ y
  69. ;;;;;;;;;;;;;;;;;;;( R8 Q3 {. e& L; D8 T
  70. ; About this file ;
    + s) F& H, r* l5 L- L* }( [9 [
  71. ;;;;;;;;;;;;;;;;;;;
    ; ~! I3 m0 \0 O8 ?% k* |. a9 U
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    5 s8 G! y4 \7 b" \1 {. Z* K
  73. ; in production environments and one that is recommended to be used in) {$ o$ B8 h( u( Z
  74. ; development environments.* c4 z0 N: |. d5 i# q+ S2 m

  75. * ^5 X" I( S" f* J4 ^4 o5 U
  76. ; php.ini-production contains settings which hold security, performance and9 `1 P3 {$ F' K' r
  77. ; best practices at its core. But please be aware, these settings may break
    4 k' c! i$ F6 X0 O# B" Y
  78. ; compatibility with older or less security conscience applications. We
    4 b  h  j$ g" E
  79. ; recommending using the production ini in production and testing environments.
    ) a% M/ G2 R  |0 `- B3 A. I! r
  80. & B2 E; m: H1 k9 D
  81. ; php.ini-development is very similar to its production variant, except it is
    ; d# ]  V" y. Y3 w. K
  82. ; much more verbose when it comes to errors. We recommend using the9 M( B( {% _# d' K& B
  83. ; development version only in development environments, as errors shown to: t0 o0 q1 ]7 q$ l3 r5 o0 t4 x3 k
  84. ; application users can inadvertently leak otherwise secure information.
    ; R9 z8 f# G4 M& K' N) Q" @
  85. 5 s9 z9 E4 e: m0 }% [* G5 H* P! m$ `
  86. ; This is php.ini-production INI file.  a7 |3 ^7 `$ g) f5 f2 ~
  87. 0 q1 U6 k' ?' M1 }, n9 L) b
  88. ;;;;;;;;;;;;;;;;;;;! H$ X$ g+ S7 Q4 i
  89. ; Quick Reference ;! B0 v$ f3 T# E
  90. ;;;;;;;;;;;;;;;;;;;3 k4 i/ y' P. a" U# X
  91. ; The following are all the settings which are different in either the production+ [6 q  C0 ~( [: C+ [( }0 J. H
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    6 f2 R8 \) ~# p! ?
  93. ; Please see the actual settings later in the document for more details as to why
      h  D  U, T2 I6 [+ ]
  94. ; we recommend these changes in PHP's behavior.
    ) w" a, D1 z+ C+ f7 d3 ^$ N. O$ n

  95. 5 F5 ^% s, Z: z+ D& q4 Y4 g
  96. ; display_errors2 \/ c) N0 p/ S7 H
  97. ;   Default Value: On" C; ^9 d; J# F5 l
  98. ;   Development Value: On/ t9 _  Z/ b8 n/ E3 o8 j
  99. ;   Production Value: Off: `' W- v! W, G- p2 A& \

  100. ( F5 u5 J! o5 Z5 @* U9 G
  101. ; display_startup_errors; |* T3 F& N: H. r3 }3 y# O; K% G
  102. ;   Default Value: Off
    9 q! |) ]+ K3 P! ]. }/ p- h
  103. ;   Development Value: On
    # d% d0 h1 Y( b8 d+ s* Q
  104. ;   Production Value: Off0 k( w" h7 m' W, ]) E. l
  105. 9 ]- r; ^! D! D3 n' g3 }
  106. ; error_reporting
    4 f" E* n7 G! r+ h  \. |! A
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
      _2 F" L: z- G& r
  108. ;   Development Value: E_ALL0 E/ N9 n# X# y$ r* v6 W" C0 _
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT2 ]+ e2 w( ~* u
  110. ! U! b" o( J% n- ^
  111. ; html_errors
    & S  t0 N- X3 w8 `0 i# n
  112. ;   Default Value: On2 L! ]+ O9 j1 {! r$ R
  113. ;   Development Value: On
    0 N7 o5 A% B+ i- m1 {* t) Y
  114. ;   Production value: On
    2 e4 I! \( C( {: [
  115. , f- x3 O& @  [- F5 f; u
  116. ; log_errors
    2 W* e" Q3 z! v* G
  117. ;   Default Value: Off
    ( }" H' v* F8 ]/ P* @
  118. ;   Development Value: On/ @1 d$ ^9 g2 l5 k' }' @
  119. ;   Production Value: On  x4 p' h- D. n: z: m6 q8 {

  120. * q5 U* F; M0 T$ F9 ~4 C
  121. ; max_input_time
    & A" y7 |9 z: C/ o% N& Z
  122. ;   Default Value: -1 (Unlimited)
    ; L* @' B; I. L7 f
  123. ;   Development Value: 60 (60 seconds)
    4 Q5 l" P- R8 S3 [8 a
  124. ;   Production Value: 60 (60 seconds)6 S9 g! S+ I$ e% ?
  125. & M7 {2 A& j9 t* g: m! _- O
  126. ; output_buffering" v& B6 k/ E5 y; ^2 ^( ~7 P
  127. ;   Default Value: Off) t  H3 ^, x; i5 J( R
  128. ;   Development Value: 40967 G; K# `" i8 {0 Q7 a! ]
  129. ;   Production Value: 4096
    5 [/ v. u( d: O! F

  130. ; U3 ?/ g/ f6 U: Y/ W$ Z
  131. ; register_argc_argv
    4 v0 R$ N( P' y% P1 i1 `
  132. ;   Default Value: On
      w# I% \. @: \
  133. ;   Development Value: Off0 T+ C( [5 S& E+ h! c
  134. ;   Production Value: Off* q) D2 D" F, I; [5 W
  135. 2 v/ R5 Y/ }" ~1 `6 L
  136. ; request_order
    . [. o0 I9 E) L6 j' L" L
  137. ;   Default Value: None7 W$ g* Z. T" ]3 n
  138. ;   Development Value: "GP"
    ! Q7 Q" Y& B. y
  139. ;   Production Value: "GP"
    3 }7 o) v8 [; J1 ?2 a! Y( a* m6 p
  140. - g) ]% M7 w: V* P
  141. ; session.gc_divisor
    8 W9 D1 [( e: Z: h9 H
  142. ;   Default Value: 100
    . W8 b( c! V; M. `( y- v; C. j
  143. ;   Development Value: 1000* j* T# V! M+ {7 @
  144. ;   Production Value: 1000: k6 t8 Q1 N0 ?/ Q6 C+ _

  145. : O. J. N7 V0 E; i* u
  146. ; session.hash_bits_per_character( K3 `( b* X* o1 s( P9 y- D
  147. ;   Default Value: 4! b% e; R& a* p
  148. ;   Development Value: 5
    " b# |! P: z; D8 ?, s* \
  149. ;   Production Value: 52 C, U5 ^, T/ }; Q, d
  150. ( N* k, {9 p% Y5 t$ i2 J
  151. ; short_open_tag
    - E4 V- _- O! m
  152. ;   Default Value: On
      u! ]- }; y2 l3 p6 I/ m" d. N
  153. ;   Development Value: Off
    : e( {' e# c9 K% L: X! d( M  B
  154. ;   Production Value: Off# a8 ]" N* \& ^8 G" O

  155. ; h& s5 g* J9 T3 m" F
  156. ; track_errors! g# n# y9 e+ j2 p* W
  157. ;   Default Value: Off4 J) U; I! S" Y9 U6 R; e
  158. ;   Development Value: On
    % e9 e6 G$ n2 O8 ~
  159. ;   Production Value: Off
    4 _1 K$ m9 R1 }6 J' k# V

  160. - R) O9 g) y; K6 g6 V& o
  161. ; url_rewriter.tags8 j2 X4 R% e& W. I6 R/ j
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    & m1 A& x/ x. Q1 g0 P; L- A
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ( S$ ~" l  g3 b
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    - O( U* w7 r2 ^6 o8 q* r
  165. 6 A) g/ W6 A& A" q
  166. ; variables_order
    6 t1 ?: _+ _" y$ T+ b7 h( q0 R; m
  167. ;   Default Value: "EGPCS"
      ^$ l" E9 ?3 e, U' R  e! y: k
  168. ;   Development Value: "GPCS"' z* _( S* m  J4 j0 ^3 O. z" P5 _
  169. ;   Production Value: "GPCS"* L) n4 p, r& ?6 t

  170. ) x+ t' i1 T, h  ]; [6 D+ o& A
  171. ;;;;;;;;;;;;;;;;;;;;
    1 r  H$ ~0 A5 M: y- O
  172. ; php.ini Options  ;, V8 i2 ~9 R: E5 g! {: s
  173. ;;;;;;;;;;;;;;;;;;;;
    & i- U# j8 f6 a  ]8 }
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"& y$ h% `: V' h
  175. ;user_ini.filename = ".user.ini"
    , |4 G% }# j* W8 R! c
  176. 4 o8 f% b4 z1 _9 O. k- u% G' U
  177. ; To disable this feature set this option to empty value
    ( Z4 i  j* O6 F- {1 l+ j/ q
  178. ;user_ini.filename =
    ) d- ^# L& D1 Q6 o" b
  179. 4 `% ^5 R! q% {5 ~
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)  n" W. G1 x6 F9 R* C9 w% _! B
  181. ;user_ini.cache_ttl = 3009 b1 l; N, E. J$ t" K

  182. ( X8 e9 Q$ p' H3 o3 W5 g
  183. ;;;;;;;;;;;;;;;;;;;;
    0 r% S1 \/ F! K8 f9 s( r
  184. ; Language Options ;, v8 N( e# z3 T1 o  I: @$ Y. O& i
  185. ;;;;;;;;;;;;;;;;;;;;, b% z2 g5 d4 g0 u4 q
  186. 2 M8 u9 W6 K: H, i
  187. ; Enable the PHP scripting language engine under Apache.8 R2 P3 p: `1 F& T$ U
  188. ; http://php.net/engine
    " g- H( z& l/ e  Q
  189. engine = On
    1 c( a. @: P* h9 U; e1 C

  190. 6 s' \1 a! {3 V% P6 `$ d
  191. ; This directive determines whether or not PHP will recognize code between
    7 c. _3 n- X9 t& s
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    " d9 t, p5 X2 i: P" @7 [
  193. ; generally recommended that <?php and ?> should be used and that this feature3 K# P% W& k: g  A) i5 E
  194. ; should be disabled, as enabling it may result in issues when generating XML; c: ^2 e' V2 B$ G: F
  195. ; documents, however this remains supported for backward compatibility reasons.% a/ e* M8 D/ k! u& D! w& |3 Y4 ?
  196. ; Note that this directive does not control the <?= shorthand tag, which can be- k6 g7 Q2 {0 o5 n# o
  197. ; used regardless of this directive.
    / U( v" p# j' Y. J5 {8 C
  198. ; Default Value: On* O% d  ~6 l+ r
  199. ; Development Value: Off* W5 U* n6 B1 P9 X/ F+ r
  200. ; Production Value: Off" e! y: E8 c. R, g' W
  201. ; http://php.net/short-open-tag
    7 E' d5 J! o  d5 s+ |; M. v2 U
  202. short_open_tag = On4 |3 u3 K0 t/ x( R+ a* P/ I

  203. & T, t2 m' Q; Z& t+ v( X$ M
  204. ; Allow ASP-style <% %> tags.
    1 ]# J+ x/ p& _3 `4 S$ g& S: A
  205. ; http://php.net/asp-tags- ~+ ^/ I# j" a6 x1 d
  206. asp_tags = Off
    # T1 @* }+ J6 e/ Z3 D4 s& V% G& T  p

  207. # |, g1 Z( m  I& \
  208. ; The number of significant digits displayed in floating point numbers.
      c7 w) b# a0 Y+ |  g$ f( X
  209. ; http://php.net/precision
    ! q# `+ o" e" F' L. f
  210. precision = 149 [/ \( T& z2 D& B
  211. ! f) K  n6 g- W  K) [! ?
  212. ; Output buffering is a mechanism for controlling how much output data
    9 N9 a: ?2 M, y
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    ! N' L* Z2 z  I; s% i! B; [6 n. x
  214. ; data to the client. If your application's output exceeds this setting, PHP
    - y$ {4 ^, D) i; g; |0 E7 j
  215. ; will send that data in chunks of roughly the size you specify.- O4 J) j9 q" u& i) M
  216. ; Turning on this setting and managing its maximum buffer size can yield some- t" u9 z0 L# O0 C. O
  217. ; interesting side-effects depending on your application and web server.6 f0 B: Z) N2 l1 \
  218. ; You may be able to send headers and cookies after you've already sent output" X# {* n; p. N' E
  219. ; through print or echo. You also may see performance benefits if your server is
    9 T$ X3 r' v# ?: D5 E1 E
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    . V  ?- e; m2 x: g$ B
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    9 c/ @& }" c: P0 C
  222. ; reasons.* t6 i" _6 `6 N
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    % J: m2 m' Z8 o) L5 j3 ]& q' U9 ]3 I+ e
  224. ;   functions.; ?9 q. ]! j2 c8 C; Z4 }
  225. ; Possible Values:
    * w$ j0 U2 f$ n, K: }+ P
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    2 G  l' O, T5 Y. _% u
  227. ;   Off = Disabled
    / o' U: l0 q: V) `
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.) X6 s( y# x4 K# v
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI. O7 K/ ^6 H& J
  230. ; Default Value: Off! N- |/ [# K4 c7 Y
  231. ; Development Value: 4096
    # t0 X- I+ e: q* H( h
  232. ; Production Value: 4096
    7 N0 ^! i9 K3 L+ d* N0 J$ h: q# v
  233. ; http://php.net/output-buffering: Y& U6 K& \% ?8 W! o
  234. output_buffering = 4096
      w' L1 N; j$ X( t6 u2 |

  235.   ~+ i/ o; h- o6 W
  236. ; You can redirect all of the output of your scripts to a function.  For
    ) `0 ^' }6 `9 Y/ k. L
  237. ; example, if you set output_handler to "mb_output_handler", character
    " o  w7 E/ W* D! N
  238. ; encoding will be transparently converted to the specified encoding.3 |" e- D# K% M/ X
  239. ; Setting any output handler automatically turns on output buffering.7 P( P; [: Z2 C0 R
  240. ; Note: People who wrote portable scripts should not depend on this ini
    2 T# T' r, M9 b* v
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    : p; y# R8 S, {2 w, n" }- T, E
  242. ;   Using this ini directive may cause problems unless you know what script
    " g. @, T7 t- n, |
  243. ;   is doing.: C9 _) A$ S& O' {! m
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"# {; B  c4 j" a7 T2 [
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".. N: E# l: Z6 Z. Q6 f5 P
  246. ; Note: output_handler must be empty if this is set 'On' !!!!1 ?* _" k5 A3 P
  247. ;   Instead you must use zlib.output_handler.' O) x3 s0 t' I* q& W9 t, j
  248. ; http://php.net/output-handler
    ( Q4 A- M5 l; Q
  249. ;output_handler =1 p! r. v7 t& d2 W8 g0 f

  250. : p) y# a" i, d0 j& X* `9 e
  251. ; Transparent output compression using the zlib library
    ) ]  S; Z: C. l! q( k, U
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size  ^4 x% x; I$ D$ D5 u
  253. ; to be used for compression (default is 4KB)/ R5 p/ s; _( o# M
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP' ]" Z( v' \# W
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    4 d( H  j" n6 \) D  _* O
  256. ;   compression. If you prefer a larger chunk size for better; L0 k! v1 l) U) I' k6 g4 g; r( G- s
  257. ;   performance, enable output_buffering in addition.; y: P- E( z& J6 v" Z
  258. ; Note: You need to use zlib.output_handler instead of the standard
    + |& X9 ^, P! b( W3 k5 G% _
  259. ;   output_handler, or otherwise the output will be corrupted.0 ]& n8 h$ [% u& \
  260. ; http://php.net/zlib.output-compression! r1 U7 i6 i& P3 ^; j1 B
  261. zlib.output_compression = Off* b+ `" D7 X; l( D( e0 J: l0 t# [

  262. * Z& @! q* R" c' Y  }- }! k
  263. ; http://php.net/zlib.output-compression-level: q. l# D7 S. U' X3 B( g
  264. ;zlib.output_compression_level = -1
    9 L9 Q! D4 y' @. Z
  265. . K8 A1 k! o! {
  266. ; You cannot specify additional output handlers if zlib.output_compression
    8 [; Q( ~' ~1 m
  267. ; is activated here. This setting does the same as output_handler but in
    " e# p) \8 ^# k+ z
  268. ; a different order.
    % s/ l& R3 N/ O$ a  L9 _
  269. ; http://php.net/zlib.output-handler
    9 e0 T" c. o7 B6 `4 y" D
  270. ;zlib.output_handler =! C$ Q, J, i: s" k; S3 |+ m! ]

  271. 6 c, N) Z3 [( [& L2 ?0 H
  272. ; Implicit flush tells PHP to tell the output layer to flush itself. d8 C6 B2 U2 f! d0 K  u
  273. ; automatically after every output block.  This is equivalent to calling the" B7 @9 v6 a# p7 \
  274. ; PHP function flush() after each and every call to print() or echo() and each8 T1 b1 }7 F4 P" F
  275. ; and every HTML block.  Turning this option on has serious performance- x! {9 N0 T, N1 Y
  276. ; implications and is generally recommended for debugging purposes only.; N( r% N/ {* v' a. Q1 s
  277. ; http://php.net/implicit-flush
    0 a6 X) j, ?/ T& r
  278. ; Note: This directive is hardcoded to On for the CLI SAPI9 p. u! A' g' S: ^6 q, y- }- v
  279. implicit_flush = Off; u0 z/ ]4 h, i7 B( H6 D

  280. $ u; R8 ^+ K3 W
  281. ; The unserialize callback function will be called (with the undefined class') ?& e) S% }% i6 C% }
  282. ; name as parameter), if the unserializer finds an undefined class
    4 K0 d* S/ r0 [
  283. ; which should be instantiated. A warning appears if the specified function is
      h. V$ k3 ~  n/ W6 v! Y
  284. ; not defined, or if the function doesn't include/implement the missing class.
    ( z9 r3 K" Z* }' a- ^( m
  285. ; So only set this entry, if you really want to implement such a
    0 `0 d) R0 k6 A- O4 s; \
  286. ; callback-function.& v( o+ x6 `( A2 y6 R6 Y6 E
  287. unserialize_callback_func =9 j7 G' v6 N" v+ F2 ~
  288. 3 ]6 ?4 l1 @% m$ G( g3 n' ^
  289. ; When floats & doubles are serialized store serialize_precision significant* n$ n' Z7 e6 }' k
  290. ; digits after the floating point. The default value ensures that when floats
    ; p" D9 ^" F$ r5 }: I$ Z8 e( c2 C
  291. ; are decoded with unserialize, the data will remain the same.
    6 w5 t* d3 `% D7 ^- q6 n
  292. serialize_precision = 17
    ( E. x: Z" t9 Y

  293. 2 e  z' I& ?! R$ \6 G1 g
  294. ; open_basedir, if set, limits all file operations to the defined directory
    7 x! u& L0 X9 |
  295. ; and below.  This directive makes most sense if used in a per-directory; a9 O8 f/ I6 p* E. q
  296. ; or per-virtualhost web server configuration file.
    6 g4 T) S4 |0 |
  297. ; http://php.net/open-basedir
    2 w6 i0 I- |3 l9 W' }; X7 X
  298. ;open_basedir =
    - t1 \8 P! V; d) C5 ]

  299. & E# h5 s% d$ h9 t& P
  300. ; This directive allows you to disable certain functions for security reasons." {# C" U  Y+ L
  301. ; It receives a comma-delimited list of function names.
    2 n3 o1 u; b/ C" w
  302. ; http://php.net/disable-functions7 v5 L, H0 e& h2 p3 }
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    ) }: H% G( w8 `5 D; j4 \6 P- B
  304. & M& @, v, C2 {4 Y! z% @, x
  305. ; This directive allows you to disable certain classes for security reasons.
    2 R9 }9 H: v3 [
  306. ; It receives a comma-delimited list of class names.
    : i6 B, c, B8 h' t
  307. ; http://php.net/disable-classes
    4 `2 x0 c) Y% F7 a( w
  308. disable_classes =0 ~" W: `7 U3 [

  309. 3 Q! X. c3 o* @, H. I: R4 u
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    7 Q/ U4 U4 _/ {
  311. ; <span style="color: ???????"> would work.
    " B" [: D3 n' E8 x
  312. ; http://php.net/syntax-highlighting% L" W( \/ U. x& ?4 x
  313. ;highlight.string  = #DD0000
    9 S5 I( T, S6 N7 ~
  314. ;highlight.comment = #FF9900
    2 U& h* p8 M  u  p/ \# o3 V7 h2 ?1 l
  315. ;highlight.keyword = #0077009 u+ E$ s- @. ]8 _7 }  O! r. x
  316. ;highlight.default = #0000BB1 {2 g- T# |. {9 g: ~# |
  317. ;highlight.html    = #000000
    " z6 b' I* e$ _3 `

  318. , Q3 m  m0 r; B0 J* l
  319. ; If enabled, the request will be allowed to complete even if the user aborts" }# o4 b' u1 S! S3 D
  320. ; the request. Consider enabling it if executing long requests, which may end up6 e0 X' ]5 C5 \) B5 F
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    6 C7 w5 t# \/ p; x' e( }
  322. ; is to disable this feature.+ n3 ~7 `6 t2 O) e1 D3 U5 @
  323. ; http://php.net/ignore-user-abort
    ' S$ {) g$ l0 ^
  324. ;ignore_user_abort = On5 s8 d' A  T6 }. Z( N, }9 [' A

  325. ! K; I) N$ @8 p5 ^/ H) x) C
  326. ; Determines the size of the realpath cache to be used by PHP. This value should: ?9 \; t! B+ C( K0 l# l0 l
  327. ; be increased on systems where PHP opens many files to reflect the quantity of& `7 d3 P& ^" d5 ~# R
  328. ; the file operations performed.( k/ ]- Q* G% c6 ^5 u" h
  329. ; http://php.net/realpath-cache-size
    3 U9 H, m, q0 ?$ H, V, g  ^, D, a
  330. ;realpath_cache_size = 16k' R- r5 Q, k# Y* N9 G# u
  331. 2 Y4 r4 U# z. _! y, p; ?
  332. ; Duration of time, in seconds for which to cache realpath information for a given, v1 `5 }( b4 x7 Y8 ^  a, v
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    ) c9 `" t" c3 |. R
  334. ; value.* b4 t% v; V. v! z* w1 E
  335. ; http://php.net/realpath-cache-ttl
    ! c( C* j5 [9 @  q5 v  n3 K5 \4 Z
  336. ;realpath_cache_ttl = 120
    ) \& {' T6 ]  h" [
  337. , |: o4 z. R. d- ^  ^
  338. ; Enables or disables the circular reference collector.# r/ B& D# i/ J# Y( S, f( I
  339. ; http://php.net/zend.enable-gc+ {0 s6 V7 C5 B9 o8 _+ Z% e
  340. zend.enable_gc = On
      C: b& `8 N) a

  341. : I# d  y# {2 v$ U3 S$ l) O* _1 H
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    ; i! [( h2 ^3 O/ e  z- ]
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such8 d! U$ l0 {7 {# C3 `' O
  344. ; encodings.  To use this feature, mbstring extension must be enabled.( V3 C. t& c4 [; r
  345. ; Default: Off
    + {* V. Y5 }9 |' K2 n, d
  346. ;zend.multibyte = Off
    & }+ c4 u% U& F) [
  347. 8 L* M& o5 l3 q. ^8 T5 K+ j
  348. ; Allows to set the default encoding for the scripts.  This value will be used& `1 ~* l; H2 y1 @, k
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    : D* I9 {- B* Q  q( P% o- V: `
  350. ; Only affects if zend.multibyte is set.# Z; H& [; n- B6 d' p5 Y5 C2 G* C8 V& h
  351. ; Default: ""6 F+ |/ |+ F5 y) r
  352. ;zend.script_encoding =- }/ L& ]4 P% y; s9 R2 W" p9 }
  353. 0 n# x2 q! J$ D9 \) P1 q
  354. ;;;;;;;;;;;;;;;;;" H% a% p; n8 ]8 r# b' e+ R) j; ?
  355. ; Miscellaneous ;" J8 H; v) h+ [# ^) l" D/ g" H+ H
  356. ;;;;;;;;;;;;;;;;;
    % n5 [, C0 y) ~* F* C1 ?. c& P5 r3 ^0 G
  357. 0 w+ X4 p' r7 S0 e$ G
  358. ; Decides whether PHP may expose the fact that it is installed on the server0 P4 d. b' I. z. g4 Y5 S2 F
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    $ _1 K4 f2 s- i4 W0 l8 g
  360. ; threat in any way, but it makes it possible to determine whether you use PHP% [8 w' ^% @. v( U8 d
  361. ; on your server or not.4 r: E7 o+ ]" v$ Y2 ~
  362. ; http://php.net/expose-php% \9 U2 r! A- U) t) D
  363. expose_php = On
    # l& [! @% x4 ?) T1 K- f
  364. 2 o" X7 _2 W$ b) t! f
  365. ;;;;;;;;;;;;;;;;;;;/ {0 w: g  Z$ x5 r8 y
  366. ; Resource Limits ;& y) b: ]* d# H; m2 x2 C! J& G- S
  367. ;;;;;;;;;;;;;;;;;;;
    . n! H6 l# z# T: Y

  368. ( |3 s( F/ O4 a! r* s. Q. u5 f
  369. ; Maximum execution time of each script, in seconds
    , |! Q2 J, |% u% m" B5 z+ D
  370. ; http://php.net/max-execution-time  Y9 E5 ~4 P3 d' L& r. _
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    4 E3 `0 D! W! g2 v% q
  372. max_execution_time = 300
    " ]- w' a! ?; L5 P4 t5 Q

  373. ( {+ A8 Y' D5 i
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    1 {1 @! C! Y4 b4 n' E; C
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    5 i" M3 L- G# b% q! G' P: H: Q
  376. ; long running scripts.  h2 P# B  h0 r+ C2 a8 o0 @
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    9 i8 i: \9 ]' a  Y) I( ^
  378. ; Default Value: -1 (Unlimited)
    4 E- x( T6 I# F4 b3 q
  379. ; Development Value: 60 (60 seconds)
    5 y9 c0 v& k* b/ q/ E2 K
  380. ; Production Value: 60 (60 seconds)) l" s% o# f8 H! q2 D
  381. ; http://php.net/max-input-time
    ( b5 |1 C" I% ]5 t
  382. max_input_time = 605 \; P) a. M( O
  383. 9 l8 c9 D0 \2 b7 Y3 h& a7 {7 N+ i% k
  384. ; Maximum input variable nesting level# p2 |5 ]# k3 Z- G: Q
  385. ; http://php.net/max-input-nesting-level
    # g, z2 |# C$ |; N3 h8 I
  386. ;max_input_nesting_level = 64
    & ]- P/ `- V, k6 _" k+ h

  387. 1 I, T, x; W$ i- I- \: _
  388. ; How many GET/POST/COOKIE input variables may be accepted
      C+ U! Q8 U* c  f# e/ T4 ]
  389. ; max_input_vars = 1000, P  `& v- v0 Z

  390. ; T+ S' i& w6 Q9 j7 U7 \
  391. ; Maximum amount of memory a script may consume (128MB)' [  @) a$ o# o5 R
  392. ; http://php.net/memory-limit
    7 a# N8 Y$ `! Q  p! b5 F
  393. memory_limit = 128M
    ! t7 i5 [/ k5 o/ G
  394. " _, _0 H6 {' W. {: \3 i
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6 q# `  N% ]9 S( [2 b" B
  396. ; Error handling and logging ;
    % U: x/ g" F3 O: {, @0 J
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7 e- s5 b% r! Z! }
  398. 8 L  i( H/ n( T6 X: g) v1 X
  399. ; This directive informs PHP of which errors, warnings and notices you would like; @- K( a0 e# l; q; z
  400. ; it to take action for. The recommended way of setting values for this) w6 p( S" Q. u
  401. ; directive is through the use of the error level constants and bitwise
    ) ^# ~2 D1 ^( ]6 J2 g' B
  402. ; operators. The error level constants are below here for convenience as well as
    6 x3 ~3 m7 C7 k4 |. |/ o) [
  403. ; some common settings and their meanings.& ^. O" L# E& G* |0 h+ R
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT' _/ K: F& f( D1 n# X: C, t+ n4 a
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and$ G/ Q% P7 K$ R9 \; ^! x8 }7 L4 u
  406. ; recommended coding standards in PHP. For performance reasons, this is the
      [4 s9 {" \2 I4 ?
  407. ; recommend error reporting setting. Your production server shouldn't be wasting% M) u- o. ]  ~+ P3 U( y" D6 {
  408. ; resources complaining about best practices and coding standards. That's what
    6 g; Z" e* R- s$ I: X& q
  409. ; development servers and development settings are for.
    - G6 m: X- ?) v$ |* W
  410. ; Note: The php.ini-development file has this setting as E_ALL. This5 ~0 o5 L3 f" x# }" U, V
  411. ; means it pretty much reports everything which is exactly what you want during" B3 Z0 X, ^5 [' p. E
  412. ; development and early testing.
    , z6 i0 n$ f8 ]2 v
  413. ;
    4 @( F$ F; J4 Q9 k5 }
  414. ; Error Level Constants:
    4 Z6 e+ ~# p/ E% |6 r+ k
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    + H& v! Q4 `6 j+ Q1 |: m
  416. ; E_ERROR           - fatal run-time errors. L  R2 n' q1 h
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors" p+ h6 e. ?/ j2 e6 F/ f
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    7 w, m/ |# r( l5 M
  419. ; E_PARSE           - compile-time parse errors
    ) _; r1 D8 Y3 c% ^6 W
  420. ; E_NOTICE          - run-time notices (these are warnings which often result# P, y( |9 @0 d5 U
  421. ;                     from a bug in your code, but it's possible that it was* T9 Q0 o0 Y; x  p; E
  422. ;                     intentional (e.g., using an uninitialized variable and
    ! }( {1 G" h! y5 X: {; O  K2 I2 @2 ?
  423. ;                     relying on the fact it is automatically initialized to an/ {. ~# C' H6 Q. }- p8 k+ V5 k
  424. ;                     empty string)
    9 w1 k. Z9 @, F/ _4 ]
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes( ~& |' c5 Y; @- C2 _9 |
  426. ;                     to your code which will ensure the best interoperability
    5 W7 n# J7 x  y( N. H! {. R8 W
  427. ;                     and forward compatibility of your code
    ! ?. ]: T. G; `3 \3 |' N4 C
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    " U4 a2 T0 P( J+ N/ v
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    / V  S- A; v6 e; B3 M! t6 H
  430. ;                     initial startup
    ) B( z6 F1 |. P* ^: J
  431. ; E_COMPILE_ERROR   - fatal compile-time errors' a) M' g/ ^  i* `* J- t; D& x8 J$ l
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)0 ~& k9 x0 P/ P9 H5 L) y
  433. ; E_USER_ERROR      - user-generated error message
    / C" x# f  n; x! V/ P# x
  434. ; E_USER_WARNING    - user-generated warning message
    9 c( L/ @" n& o8 I5 S8 o
  435. ; E_USER_NOTICE     - user-generated notice message
    3 C. s/ Q& J7 ~. T3 x2 e
  436. ; E_DEPRECATED      - warn about code that will not work in future versions3 \1 d5 _' O" z7 D7 y
  437. ;                     of PHP3 L3 _6 ^7 W: }, Z  r$ F/ F
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings; T. |& c$ R( L
  439. ;% Z; m$ Z+ D' |" a
  440. ; Common Values:
    . q+ A7 p' u' S# Z1 ~% f; }
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    $ m1 g4 T, d& v7 ]$ A
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)' `5 q$ c) _. _8 `
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)- H/ S+ Q' U! c6 F, f: @, q/ T
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
      `4 l3 c- B" {6 v* W8 I5 f
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    . Z# P9 N, }. r
  446. ; Development Value: E_ALL
    & M3 R$ N) q# x/ M
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    ( W( H- E7 E. J4 j! R3 o
  448. ; http://php.net/error-reporting% y/ ]. P" K0 S+ Y* Q8 L
  449. error_reporting = E_ALL & ~E_NOTICE$ s8 t; B) s; W4 U

  450. 3 o( f/ N! R! e
  451. ; This directive controls whether or not and where PHP will output errors,
    1 R  J- I5 x- @
  452. ; notices and warnings too. Error output is very useful during development, but0 c1 f  y* M$ C" T/ x. d1 W7 D9 P
  453. ; it could be very dangerous in production environments. Depending on the code
    . V, Y* i) Q" W) v5 C+ s
  454. ; which is triggering the error, sensitive information could potentially leak
    ) x+ ~6 B: E/ [0 ]
  455. ; out of your application such as database usernames and passwords or worse.2 t# t) P) ~  l+ p! H
  456. ; For production environments, we recommend logging errors rather than8 L# D- ~+ l. e) q' r) w. Y- j! K
  457. ; sending them to STDOUT.
    ' Y3 g* T  {8 H7 l0 s1 x  q8 }
  458. ; Possible Values:
    1 Q' d2 C" Z! t
  459. ;   Off = Do not display any errors; f* ?  y( ?0 I/ L
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)$ S& G3 V) s/ m2 B' {/ R
  461. ;   On or stdout = Display errors to STDOUT$ I' Y9 N' B( |: _
  462. ; Default Value: On
    9 k0 ~7 r5 h7 s& k, y
  463. ; Development Value: On6 @3 e/ d- w+ f: Y. N5 Q
  464. ; Production Value: Off+ |# q, R1 s' A! O5 n2 m0 Z0 c* V$ _
  465. ; http://php.net/display-errors8 l* R0 }  C4 A8 r- N+ X' r
  466. display_errors = On
    1 B2 C- U3 y/ l. P+ c
  467. ' |1 p# M: N8 g7 O+ S4 Z$ c
  468. ; The display of errors which occur during PHP's startup sequence are handled
    & a% e, ]/ a2 [+ X+ k0 f; v( {
  469. ; separately from display_errors. PHP's default behavior is to suppress those) k8 T9 E7 H% J
  470. ; errors from clients. Turning the display of startup errors on can be useful in2 N* Z' g( {) P; M9 q# }9 j
  471. ; debugging configuration problems. We strongly recommend you4 }' L7 `4 c9 ^# L2 }2 Q7 S
  472. ; set this to 'off' for production servers.
    $ `1 G4 A& b. n: b. S
  473. ; Default Value: Off
    % A8 U5 S9 I- P5 k2 `7 O1 e
  474. ; Development Value: On
    # Y4 b4 W8 N2 }) k# I$ o
  475. ; Production Value: Off
    9 y; v; F. x0 ~/ P9 T4 l+ B7 Z" u
  476. ; http://php.net/display-startup-errors
    7 i# t7 w# Z1 p# j* U" p5 E
  477. display_startup_errors = Off
    % v  j0 G3 g7 O( W# r5 O
  478. 7 j5 H- f8 m$ z8 R
  479. ; Besides displaying errors, PHP can also log errors to locations such as a  ]. Y6 G/ A% ]0 Z
  480. ; server-specific log, STDERR, or a location specified by the error_log
    6 V/ ~$ O, U( p" s; N' n
  481. ; directive found below. While errors should not be displayed on productions
    , R. K, A1 S# t* D7 }" O
  482. ; servers they should still be monitored and logging is a great way to do that., i6 m/ G: s" U) {: d0 `
  483. ; Default Value: Off! ]& w2 n: ~: i% z
  484. ; Development Value: On
    * C/ m5 |3 N, E' p- Q- g8 z
  485. ; Production Value: On
    7 o" p7 y' |+ p' ^+ e( k
  486. ; http://php.net/log-errors8 P6 y9 ?, X$ x' [3 q
  487. log_errors = On4 M2 r& W8 I: i$ F% E

  488. 7 F! C& E. P. j
  489. ; Set maximum length of log_errors. In error_log information about the source is5 z4 B2 ~' Y* V1 @/ J
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.( Q. Y4 w. ~( _5 K, M  i
  491. ; http://php.net/log-errors-max-len
    % B1 Y% z: S% _, T2 l' R
  492. log_errors_max_len = 1024
    : Z. P4 @. c* A
  493. . g5 w+ e8 U( g8 o4 n+ \
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same) X6 P2 q# E. x- g3 X
  495. ; line unless ignore_repeated_source is set true.# r/ K# _5 q  O+ r
  496. ; http://php.net/ignore-repeated-errors
    : i0 f- a4 v, _2 D! T
  497. ignore_repeated_errors = Off4 }  M" d! r( K  \
  498. 2 Z5 G- s( D- q% J
  499. ; Ignore source of message when ignoring repeated messages. When this setting8 Z  k  |+ k, ~, [4 P  z+ y
  500. ; is On you will not log errors with repeated messages from different files or
    4 O5 b) _0 d% a
  501. ; source lines.+ t2 n* f7 D7 G; x0 o2 V; I
  502. ; http://php.net/ignore-repeated-source
    6 R8 M1 t! O% K$ y5 l
  503. ignore_repeated_source = Off- H- V5 a+ q: H9 e  s
  504. 6 q" t" \7 Z. o8 i: W7 J/ c
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
      r! r/ N. f" w$ E$ |4 e6 h
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    7 K" c, x0 H+ K8 ]: B
  507. ; error reporting includes E_WARNING in the allowed list
      P2 z3 J( w0 r) u5 g  y3 ]
  508. ; http://php.net/report-memleaks
    $ [: r; f* H0 ?1 c6 d0 }# E
  509. report_memleaks = On+ m9 n+ f# M4 t" l# C
  510. 5 W; @  i4 @6 ], E6 u" v# y7 b/ n
  511. ; This setting is on by default.
    8 ~7 b: z% {# ~
  512. ;report_zend_debug = 0
    2 {, }- E9 m- \: V5 q( ?- |

  513. ! j, z2 q" g3 A
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    3 f4 K& ~% V3 t, n3 J( E# q4 j: _
  515. ; to On can assist in debugging and is appropriate for development servers. It should
      N: i8 k. e1 U6 o
  516. ; however be disabled on production servers.
    0 E( z+ z. ]6 ]6 g( n8 J0 J
  517. ; Default Value: Off
      g, B4 j7 i7 ~% N7 U
  518. ; Development Value: On0 C; Q# e2 o- D; \! {0 m- \1 q* t% k
  519. ; Production Value: Off/ D. ^3 F+ h2 B6 }! f7 j
  520. ; http://php.net/track-errors
    4 m% A1 U+ Q* q5 E, b
  521. track_errors = Off- d! |( E1 D. I* f0 w8 m
  522. % U! @: B8 @0 B! ]2 C* n( X
  523. ; Turn off normal error reporting and emit XML-RPC error XML. R2 B/ x9 W( B/ P! b" b
  524. ; http://php.net/xmlrpc-errors
    4 f7 k. M8 I9 A: @7 l
  525. ;xmlrpc_errors = 0
    $ f  ?, s4 t& y+ y, \

  526. * W8 z" C: Y8 _! A8 B
  527. ; An XML-RPC faultCode6 D0 z" e7 S$ a& w- v4 m0 U+ {
  528. ;xmlrpc_error_number = 0
    / f/ g( V* ?$ N) ~3 d5 i+ V
  529. . y- m2 M# S& z) b
  530. ; When PHP displays or logs an error, it has the capability of formatting the; z: b' ^; G, d& q* {! I1 L% k, S
  531. ; error message as HTML for easier reading. This directive controls whether0 z" q4 ~% e/ q* i
  532. ; the error message is formatted as HTML or not.
    3 K$ A6 g2 i- O% Z& s4 ^% C
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    # r' F$ h& f- E) P. C# ]
  534. ; Default Value: On
    9 z* b) K' ~! H; C! m
  535. ; Development Value: On
    4 F, D# _0 }0 ^/ }& G! p  u" |
  536. ; Production value: On
    , k4 g9 f9 Q# U4 z6 G0 A0 G6 G
  537. ; http://php.net/html-errors
    6 B- T& s( ?& f, l% P
  538. html_errors = On
      l% X1 h7 a4 c+ y- [

  539. ! o; {. I' `" u8 e! ~) e
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP5 O- P' c& ]6 m( `9 D: I
  541. ; produces clickable error messages that direct to a page describing the error! \5 m( W5 \! G& W
  542. ; or function causing the error in detail.
    5 I  q4 U1 P: m8 U6 r! p4 Q
  543. ; You can download a copy of the PHP manual from http://php.net/docs1 G0 Q% |* s5 C- x# d7 o8 R3 g
  544. ; and change docref_root to the base URL of your local copy including the
    3 q6 C2 |4 j! z6 o! H- H+ N
  545. ; leading '/'. You must also specify the file extension being used including
    / F2 Y$ ?7 n7 d. w+ t/ Q5 W
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    ; F, a7 {+ N8 s7 g  _6 Y% y
  547. ; case no links to documentation are generated.
    5 T7 t) |6 ?3 ^& H( M, ]; a( _
  548. ; Note: Never use this feature for production boxes.$ @, x) m" [' |' d6 D6 W* p5 V
  549. ; http://php.net/docref-root; w$ t1 x7 w1 t* {1 J; D2 t
  550. ; Examples
    . `4 _/ f& i8 e) u& S2 ]; s; V
  551. ;docref_root = "/phpmanual/"
    / N, p+ y- }, L

  552. 1 r% R) J- ]# E
  553. ; http://php.net/docref-ext2 d+ q! k( `9 }: N0 Q5 m& Z3 t
  554. ;docref_ext = .html7 U& T6 {: W! E/ S7 _- J5 }6 @" l
  555. 7 o. F; m1 Z5 I6 Y
  556. ; String to output before an error message. PHP's default behavior is to leave
    2 D# j: k- g9 K0 `) H
  557. ; this setting blank.$ p; C' X! T$ J
  558. ; http://php.net/error-prepend-string1 y/ ^: Y. w/ S* X. I- _( T
  559. ; Example:
    % [  n+ E# w) T! u+ G. ]8 c1 a
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    3 ~+ K; h! M8 \
  561. 5 D( j- ^' M/ ~% c% R
  562. ; String to output after an error message. PHP's default behavior is to leave! a; d5 m5 V7 f1 c
  563. ; this setting blank.' r3 M4 E1 }+ M6 H
  564. ; http://php.net/error-append-string
    ' D, f7 x, x/ }# v, d' j
  565. ; Example:
    ; g9 H- |' U+ @- m4 t( r& C8 F
  566. ;error_append_string = "</span>"+ @  S* T* s- u9 T: W

  567. , X: A* t1 I# _! Y' z# r. x8 R
  568. ; Log errors to specified file. PHP's default behavior is to leave this value7 t, I+ N9 a* r4 f) t
  569. ; empty.8 K9 b, |+ n7 h  ~" Z  Y0 R
  570. ; http://php.net/error-log# ~/ I7 ^; `2 A. y* ^/ v+ V' r
  571. ; Example:0 k/ A) }8 a3 w" D, ^6 {+ M5 w
  572. ;error_log = php_errors.log. [  d+ S9 F# x5 F- D2 b
  573. ; Log errors to syslog (Event Log on Windows)., v' W7 c# @5 v! M6 W
  574. ;error_log = syslog
    5 T5 F* z/ ]2 ]7 w, J

  575. + y. T7 w: J+ m; G  }
  576. ;windows.show_crt_warning
    ; x& b6 q2 ^7 A. m  T
  577. ; Default value: 02 Y( B) V% c3 z5 l" T
  578. ; Development value: 00 @+ o, Z  b, H; ?: l  d+ j
  579. ; Production value: 0
    3 Z7 T3 t/ l9 l& T! q; s$ m4 H
  580. * @/ ^: t" [) n( l
  581. ;;;;;;;;;;;;;;;;;
    - P4 u% {' z% i1 O6 A1 O
  582. ; Data Handling ;
    " t/ Z7 R( a" Z. V/ M6 N3 p) x, I0 Q
  583. ;;;;;;;;;;;;;;;;;4 J2 d6 u. {: R
  584. . R  H2 L) ]( @" E/ b& C& A
  585. ; The separator used in PHP generated URLs to separate arguments./ O$ |; h8 D0 J8 M1 l# u! ~
  586. ; PHP's default setting is "&".
    8 Z& s& e2 l- S2 x* M9 v3 w' E( L
  587. ; http://php.net/arg-separator.output  O" D) m& J! K
  588. ; Example:
    : g9 I6 c0 S& \
  589. ;arg_separator.output = "&amp;"8 s" A: Q3 d7 D8 G9 M8 h( q/ L: D
  590. ) x' \' B1 X6 k8 t, ]$ V6 B
  591. ; List of separator(s) used by PHP to parse input URLs into variables.# [: W+ x7 f& H% f
  592. ; PHP's default setting is "&".; L8 _% K% k  N
  593. ; NOTE: Every character in this directive is considered as separator!
    , C8 |% r% m" u$ j1 t. p3 K5 |
  594. ; http://php.net/arg-separator.input
    - Z' B# Q# E1 d
  595. ; Example:: Z7 n; `; r; L2 V0 T) J  s  M, x
  596. ;arg_separator.input = ";&": l  ?5 M/ l+ r3 R4 i, `
  597. $ o* a# P/ O5 M8 ?. m
  598. ; This directive determines which super global arrays are registered when PHP
    / }4 ]% I/ F4 h$ s& }* M
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    - Y$ r3 C! I! ?* ~% n
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty8 e; j: u2 J# K* O
  601. ; paid for the registration of these arrays and because ENV is not as commonly& x. [; `, ?+ y& Q  g% n$ ~8 ^
  602. ; used as the others, ENV is not recommended on productions servers. You
    " p& h# N, H. P
  603. ; can still get access to the environment variables through getenv() should you1 b) [- I; K7 V. p
  604. ; need to.
    # R4 `( z) J- }* j' ?/ m+ Q
  605. ; Default Value: "EGPCS"3 B* }% L3 s5 Y3 w+ H
  606. ; Development Value: "GPCS"" N7 n; m) h/ m" ~' H
  607. ; Production Value: "GPCS";; P( a1 e" X' r
  608. ; http://php.net/variables-order
    ' ~' D# {# p2 _! S- ~& c! f
  609. variables_order = "GPCS"
    5 S. j- n/ a5 s2 W  e& f- ^

  610. 7 c+ K$ {) S, _7 ~# a5 [
  611. ; This directive determines which super global data (G,P & C) should be
    & _( p1 ]( p$ o
  612. ; registered into the super global array REQUEST. If so, it also determines
    ' V& u# Q$ v  m; f; {
  613. ; the order in which that data is registered. The values for this directive
    4 i2 {2 Q1 c+ e; l. |, H
  614. ; are specified in the same manner as the variables_order directive,. n) B1 o3 b3 o. C) y& I
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set# v: y3 ]2 m9 q
  616. ; in the variables_order directive. It does not mean it will leave the super
    5 o# z& K$ l' S% Y( E- v0 g
  617. ; globals array REQUEST empty.
    5 H4 z( q6 z/ l! K1 x9 F
  618. ; Default Value: None5 l- ]/ Q" l& |0 w8 j3 F8 u
  619. ; Development Value: "GP"3 G, @5 E' x# O# f9 G
  620. ; Production Value: "GP"
    3 F/ I, w0 c6 ]2 \# g" p7 B5 b$ G
  621. ; http://php.net/request-order" E" O- r8 c( l
  622. request_order = "GP"
    & h) }, ~& O0 m4 i# m- ~

  623. $ w  _) e% I5 D
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    ) E0 a: F7 }9 c, X
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    5 Y" k$ c& d% s8 ^3 V- b
  626. ; is invoked. $argc contains an integer representing the number of arguments
    5 ^' H, w: `( e' g! t
  627. ; that were passed when the script was invoked. These arrays are extremely- J6 C9 i, Y* k* K. i# s& y. F- {
  628. ; useful when running scripts from the command line. When this directive is
    ! {- H+ O0 C  R% I! i
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    4 P( N& S6 F* S
  630. ; a script is executed. For performance reasons, this feature should be disabled9 f4 r: c, V2 G- R+ R0 M. R
  631. ; on production servers.. ?, u# h/ ?$ ?2 F" ?' u! K
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    - C% L, I1 t, Z, C4 ^
  633. ; Default Value: On
      w- K. V$ t+ ?; W  r, k
  634. ; Development Value: Off
    # a" g7 x; K0 A5 f+ [' X+ \" B; D
  635. ; Production Value: Off
    ) A! T% @. ^3 J( @1 w$ c
  636. ; http://php.net/register-argc-argv6 h4 G5 n! \- a# O/ F' l' I3 b+ I- H
  637. register_argc_argv = Off3 A0 H2 @$ F) v; \6 C

  638. ! k0 T1 r( n5 C7 ?. a# S4 l+ Y( F
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're  \/ M4 M, w0 M; |( ~8 |
  640. ; first used (Just In Time) instead of when the script starts. If these2 w1 z* T, I: V% a" Z6 \
  641. ; variables are not used within a script, having this directive on will result, `% j3 S/ O1 _  f# H5 v+ ^
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    $ v- D' x( U" a% @" Y. H
  643. ; for this directive to have any affect.- x1 K4 O  L5 Z( L
  644. ; http://php.net/auto-globals-jit1 g( _( D$ ~% d: f
  645. auto_globals_jit = On+ X8 ?# p( P+ Q! H
  646. ( S4 Q* @5 Q$ b3 ^+ V
  647. ; Whether PHP will read the POST data.
    ) C; w: N7 V, l" T$ H0 M# O
  648. ; This option is enabled by default.4 F& ?4 w& v( u6 A: V
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST& u9 W; K; R/ J6 b1 S! o  Y
  650. ; and $_FILES to always be empty; the only way you will be able to read the
    4 D+ o; o( R" J7 T
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    # {9 G% \1 B  y
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    ) s; v5 d4 x. `9 M3 |$ e
  653. ; http://php.net/enable-post-data-reading# s' s: R+ G( v: f; G3 ^
  654. ;enable_post_data_reading = Off: X2 [5 A( M' M) @1 ]

  655. / O4 _. c& v* c( _
  656. ; Maximum size of POST data that PHP will accept.! \% Z. j6 u5 Z& ]" w
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    " O: v% O4 h) Q7 d2 z/ `4 t& v
  658. ; is disabled through enable_post_data_reading.) Z" G% d) A0 \: z& @
  659. ; http://php.net/post-max-size" I" V" B) O2 [5 l" \$ h" r
  660. post_max_size = 50M; D- R: D* O: k
  661. . D. Y2 i9 s9 K/ C
  662. ; Automatically add files before PHP document.
    : Q2 x; D, m0 E- a
  663. ; http://php.net/auto-prepend-file
    8 j9 f3 x* R+ b
  664. auto_prepend_file =/ F4 W  ?9 }+ m1 n1 Y  N

  665. - A( Q6 N, s- W/ z" n& a  h
  666. ; Automatically add files after PHP document.
    / d. v1 t% N/ ^0 I3 }
  667. ; http://php.net/auto-append-file
    1 D' T$ l# C6 V; {8 e" @" W
  668. auto_append_file =3 H% {3 L1 L: N) x
  669. 1 A! }+ z/ s& p
  670. ; By default, PHP will output a media type using the Content-Type header. To6 O; Q) G7 m5 d! U7 S" J) Z
  671. ; disable this, simply set it to be empty.
    " I, ^# \4 y$ U8 o+ _* t" K
  672. ;
    ( {. \$ S& C  Z' C0 `1 b
  673. ; PHP's built-in default media type is set to text/html.5 M6 O! B* f7 M" W. v- K9 g9 Z
  674. ; http://php.net/default-mimetype/ G1 h/ V8 |. U' K
  675. default_mimetype = "text/html"! b! w# B; K+ P0 ]' ?

  676. " Q0 M4 K1 n- D4 }$ q! A+ p
  677. ; PHP's default character set is set to UTF-8.
    ) z9 V4 N* ?' t% B& `4 T7 ~' o
  678. ; http://php.net/default-charset& U# E% V6 h( I9 a0 P
  679. default_charset = "UTF-8"
    & N# F9 u3 \4 M" `( t6 Y
  680. % h  ?. Z0 a: S$ q6 _1 @
  681. ; PHP internal character encoding is set to empty.
    # _; `& s  {. X5 t
  682. ; If empty, default_charset is used.! L) b' Q* B& N3 [
  683. ; http://php.net/internal-encoding7 r8 \' k4 W  D7 y" s
  684. ;internal_encoding =
    / Y7 w. d. C5 i
  685. - ^; q% H3 c3 {: o  k8 e5 o
  686. ; PHP input character encoding is set to empty.
    $ J, t0 u* v5 |/ Z  @
  687. ; If empty, default_charset is used.0 G( P" `( `9 x: |
  688. ; http://php.net/input-encoding) W) \4 |5 C# [& [8 [# O* Z9 ?
  689. ;input_encoding =2 ?4 R! I6 \7 q) I4 {

  690. , `3 y, z8 x5 u$ S
  691. ; PHP output character encoding is set to empty.: G. N9 H; p* ^: K& Q  I3 w
  692. ; If empty, default_charset is used./ `7 N1 B4 ]; e6 f1 n3 f# w0 O
  693. ; See also output_buffer.
    + z9 ?$ D* ~* a3 K/ k% y
  694. ; http://php.net/output-encoding
    / f; M% J7 l8 [; X; t
  695. ;output_encoding =2 o* I: b6 F* [7 a  d1 D3 p

  696. " p, j, h% v. A+ |
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    + ^; v' z% h8 g
  698. ; to disable this feature and it will be removed in a future version.
    3 C1 X8 l3 S0 ?- [8 Y
  699. ; If post reading is disabled through enable_post_data_reading,
    , q6 ]# Z! J/ V  _
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.: f" ~- a: X5 s! N. J
  701. ; http://php.net/always-populate-raw-post-data& W5 `& q, e, I( g- I# T
  702. ;always_populate_raw_post_data = -1+ S6 c8 a  m$ c. W# l* P; _! \

  703. ; V7 J9 Y1 O9 G5 @
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;5 ?* x) b. i: g* g9 h( a! V$ A/ |3 T
  705. ; Paths and Directories ;: Z! Z. l0 V3 j! S( X; m# W
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;2 {; R. ?3 b( d8 H0 Q
  707. 1 T0 z( x) x' z) A) v5 R2 {$ U
  708. ; UNIX: "/path1:/path2"# T; Y' u; O. r. A: x) E! E+ U. D- c
  709. ;include_path = ".:/php/includes"9 F" P: f5 G: {( {* H  |1 F
  710. ;+ D2 G7 k- y& J) L5 L
  711. ; Windows: "\path1;\path2"
    $ d5 M; p& W! T# ]' t
  712. ;include_path = ".;c:\php\includes"! y9 p  p; \( g4 Y; H
  713. ;: E6 v3 Y" ?0 l/ M6 h
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    " n7 ?' s3 g8 |: _4 Z! v7 e" Q
  715. ; http://php.net/include-path
    # R7 L$ w6 Y# O3 d

  716. 8 B, |: n% f, w8 `
  717. ; The root of the PHP pages, used only if nonempty." O* b3 {  ?, X2 Y# T) b
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root0 \: z+ Q1 g: l) J: y  `2 q
  719. ; if you are running php as a CGI under any web server (other than IIS)9 R$ f- I+ r7 o; ~0 Z
  720. ; see documentation for security issues.  The alternate is to use the
    * r4 V; X1 w# `
  721. ; cgi.force_redirect configuration below
    * G" W4 G. p- U5 y
  722. ; http://php.net/doc-root
    ' ~% f, F' B9 S. x) E
  723. doc_root =
    ; n4 e4 T  |; ~  H
  724. 3 P# t4 L0 P& Q5 h1 E" I
  725. ; The directory under which PHP opens the script using /~username used only! O% v, W" j3 j
  726. ; if nonempty.0 y/ d, W: P- n' j7 |
  727. ; http://php.net/user-dir
    1 _# C9 _' l. {9 v8 r2 y
  728. user_dir =& F+ m' c! b1 E# r' M) Z& [* c
  729. ; e5 r2 G! G" M* G- A4 m/ B& o
  730. ; Directory in which the loadable extensions (modules) reside.. ^) Q# K4 D! l* {& R
  731. ; http://php.net/extension-dir8 z7 F2 ]9 N2 f  b, c
  732. ; extension_dir = "./"2 n4 |5 T9 K. D$ K2 S* Q( A
  733. ; On windows:* Q, H6 ?6 X4 g2 i
  734. ; extension_dir = "ext"/ ~0 K$ ^- B  [% _  S+ Y: e- f1 F# `
  735. + J5 h) p4 r, z, ^
  736. ; Directory where the temporary files should be placed.
    # v" C3 \+ w6 m0 O
  737. ; Defaults to the system default (see sys_get_temp_dir)* b: P  w7 ?) R% v0 f( v
  738. ; sys_temp_dir = "/tmp"
    3 |* E) |) m( P1 l- Y8 e

  739. 1 H) v% c6 v3 l. U5 e( n- g
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    # I: H% T' X$ `$ w8 l# W: ^
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    - ]7 t% h( C( O/ Q6 {& |# M
  742. ; disabled on them.
    6 C) c4 l5 E$ a. [# B
  743. ; http://php.net/enable-dl
      p+ h5 e% |3 F
  744. enable_dl = Off
    3 z/ R" u8 B% p/ a3 c8 v* |: Q. A

  745. 5 R6 l6 q( h! d8 t  }" I
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under7 ~4 l9 m, D5 L: y; e1 G
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can- f- ]; l4 ^- i! |* ?
  748. ; turn it off here AT YOUR OWN RISK
    ( d) D2 {5 V$ h& O
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**$ r3 s2 |& o( D! f7 Q: E
  750. ; http://php.net/cgi.force-redirect
    2 b- n( R' k' B( z8 t
  751. ;cgi.force_redirect = 1
    ( Y& f; h: e7 f# f- O9 g5 n* [
  752. , a' X9 R  H- D+ n! ^8 q: \& \
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    & p1 P: G+ A; @+ ~
  754. ; every request. PHP's default behavior is to disable this feature.
    " r! }5 B# K9 B2 v0 ~! L$ [
  755. ;cgi.nph = 10 v! c6 V8 l- a8 {: P- S: y) H0 n

  756. / \, u6 A9 t  s: u- ?
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape" |; T5 x; n* h  a3 j) c# f
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    5 T7 ?  J* h7 v% o& o
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY) D, z6 n" R2 y- a0 e
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.8 ^, @) d5 k7 M: T
  761. ; http://php.net/cgi.redirect-status-env5 Y0 K$ Z7 O3 y  e4 \" K/ l
  762. ;cgi.redirect_status_env =' T$ E$ B, M- h) x  r$ Y
  763. + [* b  e8 n1 v! t/ s7 m5 |9 C
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's' K9 a4 I% d9 m  J
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok# F" r! T7 c# L/ R
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting: k- w# w. r; d# E# `
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    : \" f1 l4 |9 ?& t) E$ u5 o% c
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    , |% d" C+ z* }# q7 B( g6 |3 p
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.7 j. f6 K6 i9 P; W9 c% q- P
  770. ; http://php.net/cgi.fix-pathinfo, V( O" v0 e: i
  771. cgi.fix_pathinfo=1, ~, F- v+ L* X# ?

  772. : {5 R5 r( J, ^# a: w8 @+ b/ ?
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside" f9 a9 p& K8 I. g" k
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    9 l* w  G6 ^9 S: ]( q
  775. ; http://php.net/cgi.dicard-path. [8 Z; m$ d& ]$ M; g" I( F
  776. ;cgi.discard_path=1
    : S! s3 o8 B5 F6 ?! n/ ]4 b

  777. , y' f, w* W# n1 e3 Q
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    - X" O9 O( b8 A6 p% g
  779. ; security tokens of the calling client.  This allows IIS to define the
    # [# R& c! }* r4 ]
  780. ; security context that the request runs under.  mod_fastcgi under Apache7 T% h& p# [- P1 J5 ?
  781. ; does not currently support this feature (03/17/2002)
    : ~% r6 `8 V- T4 a
  782. ; Set to 1 if running under IIS.  Default is zero.9 ]" p+ \2 x3 J- N$ ~
  783. ; http://php.net/fastcgi.impersonate; m0 U4 u: `1 m, M- [: I7 r
  784. ;fastcgi.impersonate = 1
    6 A# Z; w; J9 h# S
  785. ) e# Z. s6 K  L2 ^
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    5 C& F3 h4 V/ y$ J
  787. ; this feature.7 H5 E3 {  \& Z/ |* v; @/ G
  788. ;fastcgi.logging = 00 }$ M* r5 m0 R/ ?6 R3 F$ W; D
  789.   |- ]: H+ r9 e4 o
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    + \  D5 {& d; T8 L+ j
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that- B8 P# a2 Y5 ?0 z! @  _! f
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    . @3 O4 p/ y) R9 ^9 B: ]
  793. ; RFC2616 compliant header.
    5 o6 g- Z1 ~7 [, x0 Z$ u
  794. ; Default is zero.$ N: }! T2 b" ?" p1 }
  795. ; http://php.net/cgi.rfc2616-headers
    , k, {+ J; {, d3 F
  796. ;cgi.rfc2616_headers = 0: F: P4 ?0 o. C, R

  797. ! h5 b: g+ E0 J# K' W  u
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    : n$ v$ ^9 v" }0 c, s, I
  799. ; (shebang) at the top of the running script. This line might be needed if the0 j: T$ |; e3 Z+ d- i
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI; Y6 L" u) R4 }. T- s
  801. ; mode skips this line and ignores its content if this directive is turned on.0 G0 N7 n7 I# j0 _- @
  802. ; http://php.net/cgi.check-shebang-line# z7 c* p& k) n; X4 r6 U
  803. ;cgi.check_shebang_line=14 l% @7 j% e& o# c! A0 U1 U9 e
  804. 1 A6 R) ?2 K" x
  805. ;;;;;;;;;;;;;;;;' D% P" j- C! I0 ?' j2 |0 j+ w9 C
  806. ; File Uploads ;1 C2 s* g  G& [0 h# I
  807. ;;;;;;;;;;;;;;;;$ D- M. j8 l5 y- N# A+ g- B( C7 h

  808. $ p0 p8 j& W+ i; P
  809. ; Whether to allow HTTP file uploads.5 X+ Q9 v, n8 }- l/ _  X
  810. ; http://php.net/file-uploads7 R$ U5 M+ f0 y1 d$ C( I
  811. file_uploads = On
    ; X" x2 q. x. r8 c

  812. 4 P& T: f9 g2 l, f0 W" h
  813. ; Temporary directory for HTTP uploaded files (will use system default if not7 _8 E  e1 |6 M0 D4 |9 j; ~8 [9 g
  814. ; specified).
    4 h( c( K6 |- h2 D) P4 V* v
  815. ; http://php.net/upload-tmp-dir
    5 I- C; x7 S! K9 ^
  816. ;upload_tmp_dir =6 a5 F" H: @% ~& p- m! [

  817. 9 x) k) d+ w0 l" q" A# z' t3 n
  818. ; Maximum allowed size for uploaded files.
    ; K  @: g$ X: |# y
  819. ; http://php.net/upload-max-filesize: _: O( r, l5 k3 W3 v; L, m
  820. upload_max_filesize = 50M
    ! z2 [' g  X& v/ }, r/ ^3 g

  821. 6 F0 K: w: ?/ m/ j0 m5 O
  822. ; Maximum number of files that can be uploaded via a single request
    6 i( i. v  |4 @% e; [/ ?' u
  823. max_file_uploads = 209 \" |9 n& y# L+ ?7 R

  824. 9 X. i8 s5 q( |4 j$ n; \
  825. ;;;;;;;;;;;;;;;;;;
    & r7 ], o$ V3 U0 _5 A1 ?/ o
  826. ; Fopen wrappers ;# K: P9 w& L$ i. L* N5 i9 E8 w
  827. ;;;;;;;;;;;;;;;;;;
    # ?. `- s3 [! c$ V  q- k7 o1 f
  828. ; V9 \0 F; X( i) @/ c
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    & b% V6 D- [3 f- o4 m! w
  830. ; http://php.net/allow-url-fopen- C- f4 c+ J0 J# c) I
  831. allow_url_fopen = On1 V  D  }1 c, c" e: J, {
  832. ! B( Y' m3 ]+ n1 z+ O. N9 R
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.9 |9 ^8 I0 s% |! ~
  834. ; http://php.net/allow-url-include+ K, y# S8 }+ x9 T
  835. allow_url_include = Off& G0 u' {1 ?, W% W3 s- C1 e5 t, l
  836. - ~; ~0 ^/ Y- Y  L; S
  837. ; Define the anonymous ftp password (your email address). PHP's default setting. Y( {0 Y8 x& U. ]; l
  838. ; for this is empty.6 f# l7 b0 I; u9 m
  839. ; http://php.net/from) k0 G: ]7 t, V5 H4 b  O2 o3 x
  840. ;from="john@doe.com"
    ) G3 ~! c( F- N  I  t) W
  841. + G- Z- @% w, q: c
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    ; K1 N$ [7 N: `+ `8 \
  843. ; http://php.net/user-agent2 [# Z/ V0 `/ i; r) V
  844. ;user_agent="PHP"
    - p. R* s/ L. u* C

  845. 8 c, ~% T  J3 P- K! `
  846. ; Default timeout for socket based streams (seconds)2 i6 t  f, I/ e
  847. ; http://php.net/default-socket-timeout2 |  V4 O) {% u  ]" o
  848. default_socket_timeout = 60
    % s! m5 }# N5 j! j' ]: l. \

  849. ) W! z5 a$ _* b! @% z8 T  N. W
  850. ; If your scripts have to deal with files from Macintosh systems,( z: l& F/ T% Y! G0 ?" v
  851. ; or you are running on a Mac and need to deal with files from$ y) b& H" n, y+ p7 \, e+ |+ `
  852. ; unix or win32 systems, setting this flag will cause PHP to
    . d# b' A; {4 Q. w# x
  853. ; automatically detect the EOL character in those files so that
    7 h9 o! l4 M$ V+ S+ c
  854. ; fgets() and file() will work regardless of the source of the file.
    . \/ a2 _1 G  P& s: ~9 J5 M% a4 W
  855. ; http://php.net/auto-detect-line-endings
    $ S8 f5 S8 {$ P* ^3 f- N
  856. ;auto_detect_line_endings = Off. |- z! }$ G; i& }# I
  857. 9 ^! p1 R2 W; }  O# h7 I
  858. ;;;;;;;;;;;;;;;;;;;;;;+ B$ \4 G  S! B' ]
  859. ; Dynamic Extensions ;
    ) k( |  ^6 a" H; m6 Y
  860. ;;;;;;;;;;;;;;;;;;;;;;3 L) t8 ^4 d4 s/ g$ h  t  M

  861. 1 T  \9 o6 [3 Z. Z) T5 a
  862. ; If you wish to have an extension loaded automatically, use the following
    & ~; r; u  M8 H$ I8 j
  863. ; syntax:
    * S+ j7 `% q' K& v
  864. ;- J6 D4 ?, U1 X+ \7 r( @2 F5 P: i0 J7 P
  865. ;   extension=modulename.extension
      @' i4 m" K' p% a- |: ], w' e2 b
  866. ;
    $ R; z4 \' n# P# e& Z6 t
  867. ; For example, on Windows:) d& A/ e" r+ s8 h1 J% r0 ^; ?
  868. ;
    ; {" _+ f9 m$ |9 _4 R: w
  869. ;   extension=msql.dll
      D, s% [& n& w
  870. ;* U2 @0 _9 }+ E: h; q+ r7 |/ J- w
  871. ; ... or under UNIX:  y; Z# M9 S. C0 s
  872. ;
    $ z! e4 ^0 n- J
  873. ;   extension=msql.so% O# h6 V, s7 D! X: l
  874. ;
    9 x  e3 P/ b# A& h- g
  875. ; ... or with a path:. v+ @# Y: ~( l8 @! m/ K% r9 k2 l
  876. ;
    # m) P* |" [$ x3 D1 _0 f3 l& f
  877. ;   extension=/path/to/extension/msql.so. ~" |" V1 w; \0 S! J/ l
  878. ;8 G; e% ]+ ~& G* f5 J  P9 ~- F
  879. ; If you only provide the name of the extension, PHP will look for it in its  ?9 M3 |* q7 m0 t; v; G/ ?# i. Z8 v
  880. ; default extension directory.
    5 |* Q" f$ A# u5 k& B
  881. ;
    $ \2 ^5 J9 Y. L
  882. ; Windows Extensions
    ) W$ z- B" V2 l3 @
  883. ; Note that ODBC support is built in, so no dll is needed for it.' [- s8 ~( ?2 \  n) Z" e1 ^
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    " p$ W1 z! C6 ~+ D
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).# E1 |* q" h5 t5 \
  886. ; Be sure to appropriately set the extension_dir directive.
    9 \9 Y/ E/ V5 I; U
  887. ;  E, N4 t6 E. K+ n0 W
  888. ;extension=php_bz2.dll$ S( z2 y. o( ]3 Z- q
  889. ;extension=php_curl.dll  j/ s4 G, A9 O) N
  890. ;extension=php_fileinfo.dll3 P: C% s6 Q% w4 _+ A5 M3 m1 ?+ n
  891. ;extension=php_gd2.dll+ ^- P  A  H; C/ `
  892. ;extension=php_gettext.dll
    1 d2 {& I8 D/ o$ S& Q
  893. ;extension=php_gmp.dll& s2 o+ I- V) o2 P$ @3 D* V+ v/ }" [2 N
  894. ;extension=php_intl.dll" c5 z6 _/ ?* H8 k
  895. ;extension=php_imap.dll
    ) B7 o1 B* W; B8 o
  896. ;extension=php_interbase.dll! R; }1 W4 i! E! a) c$ C4 _. G
  897. ;extension=php_ldap.dll6 o' |- e- Q' o) J5 V
  898. ;extension=php_mbstring.dll
    ) M) {* _# ~5 u8 M' t( [- k
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    7 D9 }: j! G' `. a
  900. ;extension=php_mysql.dll
    2 E9 B( i% V9 i( A* b* v9 H
  901. ;extension=php_mysqli.dll
    5 a7 v  d2 f( V$ e
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    6 |0 x1 p$ Z7 h, ~
  903. ;extension=php_openssl.dll
    - T& F1 J' C6 n1 ^
  904. ;extension=php_pdo_firebird.dll) q' i, M  \% \: T8 Y! ^- e) A) Z/ J
  905. ;extension=php_pdo_mysql.dll
    4 \! @" O3 q2 L1 r/ d2 G1 q
  906. ;extension=php_pdo_oci.dll
    : o8 l# V/ ?6 f, y
  907. ;extension=php_pdo_odbc.dll9 d3 _" Y8 n; R
  908. ;extension=php_pdo_pgsql.dll
    8 l+ d" c9 a1 Q* b! p
  909. ;extension=php_pdo_sqlite.dll3 q% D+ \% S0 J3 Q. S
  910. ;extension=php_pgsql.dll
    9 L9 l2 O- @  V/ G( N' j4 N
  911. ;extension=php_shmop.dll: M; f& [. n1 G$ _' G
  912. # m8 }' |, U0 t: v% d% [
  913. ; The MIBS data available in the PHP distribution must be installed.
    . s$ V2 y6 b; h9 j3 z
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    0 V  ?9 w9 E& L1 B+ ^
  915. ;extension=php_snmp.dll
    8 Z( [2 _8 E/ Y( k7 q  S
  916. 2 R' g- m! G5 B9 u+ F9 ?
  917. ;extension=php_soap.dll& G) u  [. t  C  m# Q6 s2 s
  918. ;extension=php_sockets.dll0 e1 |# R+ b- m: c- R- |5 Q
  919. ;extension=php_sqlite3.dll
    , A) o7 w! v. u; D
  920. ;extension=php_sybase_ct.dll
    / Z$ i+ I& l) [+ y( }
  921. ;extension=php_tidy.dll) o/ l/ i2 }: @& T1 n
  922. ;extension=php_xmlrpc.dll
    + I+ N  b8 b: |( ], ?
  923. ;extension=php_xsl.dll
    5 @$ O8 t; e/ _* A) d) ]0 H1 Q4 Y
  924. ) f3 V( t& M. l, Q( i( |
  925. ;;;;;;;;;;;;;;;;;;;
    ; t+ t- R* x- w+ t- o# b  i
  926. ; Module Settings ;. A- t' v6 ~& _' T" ]6 O
  927. ;;;;;;;;;;;;;;;;;;;. Y  r9 \* t) U" M% u
  928. 6 }, Z- Q; D& R7 e0 x
  929. [CLI Server]2 d: r0 K# u, k7 a/ [' r/ b
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.3 f  B% _2 _1 k0 u. O* K
  931. cli_server.color = On
    ( y2 G1 D! v' [' I) L7 x1 b$ Q
  932. $ P# ^: n6 r9 y
  933. [Date]
    2 E7 A, c1 k9 q6 B9 ^& t. O" [. U
  934. ; Defines the default timezone used by the date functions+ T* N& x6 o0 Q" h0 J
  935. ; http://php.net/date.timezone
    / o; q8 _' c; Y  {
  936. date.timezone = PRC' _& }% i, e% W9 u! `

  937. - W* y/ q+ b8 m
  938. ; http://php.net/date.default-latitude6 c' f' y( |0 `) P5 f
  939. ;date.default_latitude = 31.7667
    4 d* I" c' G' Q% Y% h. O# H6 S
  940. 0 }6 j* H' x( l7 w8 y8 c. _
  941. ; http://php.net/date.default-longitude3 y$ ^4 F- v4 ^. T- F. X
  942. ;date.default_longitude = 35.2333
    . R5 t; d. U2 Z* H4 Z, Z

  943. 1 o# H% }7 Y& D! B+ K" M
  944. ; http://php.net/date.sunrise-zenith! Y9 B# [6 c6 j3 Z7 |# k( b
  945. ;date.sunrise_zenith = 90.5833331 z1 R# G$ r8 ~

  946. 9 c: ~$ A  G1 N, Z* S9 `
  947. ; http://php.net/date.sunset-zenith4 ~1 R3 C& b3 t0 k% ^
  948. ;date.sunset_zenith = 90.5833336 u$ g. ~$ m6 E- P* W

  949. ) ~! P+ x: `; S1 k' T+ v/ E3 p
  950. [filter]1 X3 U. ^3 s' |$ ~/ q$ ^7 S7 q
  951. ; http://php.net/filter.default
    & Q5 f# X/ d1 E, H! {; L, f6 U
  952. ;filter.default = unsafe_raw
    5 L2 Y/ O' M' B7 k7 D
  953.   g& W* i! v0 t! B
  954. ; http://php.net/filter.default-flags/ g4 N8 c4 V* M- E" n
  955. ;filter.default_flags =
    , V" u4 K- ]& d$ g

  956. . G% g% b; t3 R' ]
  957. [iconv]
    ! k  Y3 f- }) w4 f/ W
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
      H: Y0 U7 O* J
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.3 u" p8 q0 T+ g% F/ \7 S
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    6 p* a6 a( R1 S  {/ O
  961. ;iconv.input_encoding =
    * g0 o: x# o% [% t5 h( {

  962. 6 T* }4 ]% R" Z& c
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    0 [! G  P; ]2 ]* T& ]- A8 ~! |
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.$ u$ N6 t( g3 M5 H) i, ^
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    * v& B9 }# ^5 k% \2 [# [; }
  966. ;iconv.internal_encoding =
    * E$ M5 ~7 f' k& F1 J, N6 ]
  967. ) ^4 j7 B, L. V. X
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.# Q' u; O& a6 K9 j
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.' J- ~& I  Y* {& f1 S/ x
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding, T8 T( \0 \0 B$ q8 s9 a: F
  971. ; To use an output encoding conversion, iconv's output handler must be set* a$ J9 i2 ^" J( S
  972. ; otherwise output encoding conversion cannot be performed.
    & A& m# y2 n: Y7 Z8 N0 ~& \
  973. ;iconv.output_encoding =
    " ]. e* i: `) n" ]+ i$ A
  974.   f0 Q8 z9 q9 f. d
  975. [intl]$ r, n9 y- g8 B, `  S2 _+ w  T5 R
  976. ;intl.default_locale =. |( Z  g; z+ m3 |$ f
  977. ; This directive allows you to produce PHP errors when some error, R  b' E2 C. D" O
  978. ; happens within intl functions. The value is the level of the error produced.9 K* @% T# n. {8 c* }. v7 s
  979. ; Default is 0, which does not produce any errors.3 r3 r- f7 [9 h0 ]4 F8 n8 w! ^
  980. ;intl.error_level = E_WARNING
    1 T, i1 q+ i3 A- E8 |7 Q
  981. ;intl.use_exceptions = 0
    - H, L1 M2 j6 J6 y$ J7 X
  982. . l1 ~' z5 \( g, N$ v
  983. [sqlite3]+ }! ^# |: M# F, J5 f, f9 q5 C$ A/ j
  984. ;sqlite3.extension_dir =3 ^) s. |( Q* }
  985. 5 j9 \. m6 i+ D7 S: q
  986. [Pcre]2 z8 p* l( x, Q0 Q- O2 C8 a) o& d
  987. ;PCRE library backtracking limit.7 [9 g! \' n; e* X9 T$ @. }
  988. ; http://php.net/pcre.backtrack-limit6 ~) K3 R7 {( w' B5 w5 G7 W5 i! z
  989. ;pcre.backtrack_limit=100000
    . |; B6 m. x6 ^) P8 @' j
  990. " B9 C+ l: _( i. e
  991. ;PCRE library recursion limit.
    $ @4 Q% H( B; [1 r* W- z0 P7 \6 Q2 U- w
  992. ;Please note that if you set this value to a high number you may consume all
    ! O, F! t; M: X& i( a
  993. ;the available process stack and eventually crash PHP (due to reaching the
    , B7 X5 N# K! ^7 t# s$ t+ i" l
  994. ;stack size limit imposed by the Operating System).
    5 E& D% p1 r& @# f# ?9 [. \
  995. ; http://php.net/pcre.recursion-limit
    . ]  ^4 f+ \  U. K/ h/ O& H# m5 l
  996. ;pcre.recursion_limit=100000
    4 v) ^1 f0 T) G: h2 [1 q
  997. ! x* E' `7 \" W5 D/ F
  998. [Pdo]
    6 r$ c' H3 o6 n8 [. W$ k
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    / l; p3 b$ D5 {2 i
  1000. ; http://php.net/pdo-odbc.connection-pooling
    / I/ z0 f! P& J5 ~
  1001. ;pdo_odbc.connection_pooling=strict& v. e* Q8 x# P5 ]. r
  1002. " \8 G" B' P- u7 H4 R
  1003. ;pdo_odbc.db2_instance_name
    3 g% K9 ~* w3 `8 G
  1004. " q* P( m1 N8 u6 n5 a
  1005. [Pdo_mysql]7 c, y1 k* X) ?% X
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache+ H' T7 g% Q% z4 B/ t5 f
  1007. ; http://php.net/pdo_mysql.cache_size
    1 T7 C7 I$ C* x- d6 _+ _/ e# y
  1008. pdo_mysql.cache_size = 2000
    : M/ O  s7 B5 y9 b

  1009. 5 B) ?9 A5 d, V' M% W. C
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    8 R: N" j. B! |/ d5 |
  1011. ; MySQL defaults.
    7 g2 K* ]' T7 Q. s" v' {
  1012. ; http://php.net/pdo_mysql.default-socket
    : A) `6 W) {3 e. n. X0 p( i
  1013. pdo_mysql.default_socket=
    2 F8 b7 ?0 ~6 z/ n/ D( I; k0 S
  1014. $ a- D& P9 f! R. G# u2 Z! t
  1015. [Phar]
    1 s$ l0 D# J8 o/ s; A
  1016. ; http://php.net/phar.readonly& c+ `' c( I/ E$ w6 P
  1017. ;phar.readonly = On5 @$ t, N$ E, k! Q
  1018. . c6 Y& P4 K% [, ~/ J1 z; z
  1019. ; http://php.net/phar.require-hash, F5 y+ x2 l' i- ^9 D, V2 @
  1020. ;phar.require_hash = On6 X) {# U7 V8 e* Y0 K. N
  1021. 9 P; G* [' F9 W
  1022. ;phar.cache_list =
    . _' ~/ P, B* R
  1023. ! u9 q0 e2 O7 K& o$ D1 O- [9 D
  1024. [mail function]
    , O; d  ?) T8 m
  1025. ; For Win32 only.# P( J8 Y  {# T" s. `+ _
  1026. ; http://php.net/smtp
    : X+ }' P/ Y$ Q+ ^' X. |2 i4 c
  1027. SMTP = localhost
    ' L* w! E8 ^( |8 C
  1028. ; http://php.net/smtp-port& e# a: o/ T& G8 g% p& `4 O
  1029. smtp_port = 25, k1 E9 }% Z4 ?9 t. ^

  1030. / e, ]9 V5 O4 e6 z: b5 p
  1031. ; For Win32 only.# Y$ L' @" ^0 t1 O9 U9 ~# [5 y" C% H
  1032. ; http://php.net/sendmail-from7 B$ I4 d+ @6 E  _; j. P+ i3 _
  1033. ;sendmail_from = me@example.com( E6 B; D- B3 }

  1034. / V& k! S; h* ]: {
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    ! B* ?" F9 P8 u! b
  1036. ; http://php.net/sendmail-path1 {: i/ ?0 s  H) ]7 V$ Y
  1037. sendmail_path = /usr/sbin/sendmail -t -i& P6 Z( p, B8 R% x3 ?! f

  1038. 2 l4 X4 k- R  C  \
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    ; \! L* s6 v  Z( k: J7 ~! m0 O) s% H
  1040. ; to the sendmail binary. These parameters will always replace the value of; Y' }6 r% ^! a: T
  1041. ; the 5th parameter to mail().: d3 |9 M* m2 J2 _
  1042. ;mail.force_extra_parameters =% k; x" y2 w8 w; M8 F# u

  1043. 7 S% q+ v/ k1 N$ W
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename8 [* G. P$ u# t' J
  1045. mail.add_x_header = On# n3 ?* @. {( t7 q
  1046. % ]0 ~" q! ^' |; c8 b9 U
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    # o$ j6 u" D" {' ~' \4 U
  1048. ; the full path of the script, line number, To address and headers.
    : i4 P2 d. s! k7 u4 |+ ]
  1049. ;mail.log =
    8 L) Z$ ^, [$ E" b% ]
  1050. ; Log mail to syslog (Event Log on Windows).; w, x: p* _/ X: F
  1051. ;mail.log = syslog
    9 O$ N+ Q' D. Z4 T
  1052. ) t5 d7 k. Q2 k, g
  1053. [SQL]; K) w2 Z& X; r4 b
  1054. ; http://php.net/sql.safe-mode' L. e; G) w# A& O) m
  1055. sql.safe_mode = Off- ~) r; w2 ~7 U8 r
  1056. 0 N5 p( f/ Z4 B6 G9 H1 [/ }, P6 u
  1057. [ODBC]8 h* W7 m9 b$ O
  1058. ; http://php.net/odbc.default-db
      P# E, H8 Y) T( ]0 B( T; v
  1059. ;odbc.default_db    =  Not yet implemented) A, Q7 ^0 B  m8 f+ p9 ?9 u  q2 L

  1060. 2 Y/ x! o" b! l, C
  1061. ; http://php.net/odbc.default-user
    4 B: r( K$ F2 _2 v4 @+ G, Z, V2 r6 o
  1062. ;odbc.default_user  =  Not yet implemented
    6 H- P# R9 t: ~- J, ]& G

  1063. 9 ^! w& r8 y. K1 [
  1064. ; http://php.net/odbc.default-pw
    4 ?3 F* J# T3 t3 J
  1065. ;odbc.default_pw    =  Not yet implemented
    3 ?9 q% t; d0 a/ `: r7 C: h9 V+ Q
  1066. 9 Q7 `7 B  I( w; |: r! m7 D
  1067. ; Controls the ODBC cursor model.
    " ]# k6 B  a. P2 d& a" h2 o
  1068. ; Default: SQL_CURSOR_STATIC (default).& m- m# C; v3 O/ `" v! P
  1069. ;odbc.default_cursortype$ |; p7 U# r+ y
  1070. : j$ E! g5 o8 s- X
  1071. ; Allow or prevent persistent links.8 T( b" \3 r. ?0 w: y* J
  1072. ; http://php.net/odbc.allow-persistent- G8 _. V0 \. ?& K. E8 @
  1073. odbc.allow_persistent = On
    ) ~$ \1 n& G) A) s5 I
  1074. % T6 U5 k0 Y4 P* H; A: N
  1075. ; Check that a connection is still valid before reuse.5 j) S; u! x1 h% ?8 L
  1076. ; http://php.net/odbc.check-persistent# s3 x# E7 a/ z. z  F
  1077. odbc.check_persistent = On4 R3 \. a3 E, T" U. Z( c' c

  1078. & g- K2 u# D9 S% R% ]" O8 v
  1079. ; Maximum number of persistent links.  -1 means no limit.
    " }; P6 ?5 k: f& k
  1080. ; http://php.net/odbc.max-persistent$ [3 E2 L: l$ j4 |% f& d5 u
  1081. odbc.max_persistent = -1
    2 t# V! K2 z& R' M5 E
  1082. 4 W% P) C5 `9 g3 r; ]" V! p6 v, B: H+ T
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    7 N& c3 N. Z! K$ W$ e9 L& V/ ^) Q
  1084. ; http://php.net/odbc.max-links& G' I' g. J' Z" N  w3 Y
  1085. odbc.max_links = -12 N5 b/ Y+ Y8 v- v
  1086. 0 o9 {9 v$ r! l* G6 Y4 m# t
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    % r9 _! E' N( D) A
  1088. ; passthru.
    4 M* ?  c8 U- i/ ]8 m) `8 ?
  1089. ; http://php.net/odbc.defaultlrl. Q% \0 I1 O. h& }3 N3 u
  1090. odbc.defaultlrl = 40963 W( X+ L4 R3 L9 I
  1091. 6 h; z  R/ B3 h3 h3 ^& |' Y0 }
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    8 d+ z( T- o0 `
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation9 ?" M/ ]" f  V) u& `1 Q9 o$ y
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    7 Y' n% h0 v$ e, b! H& R% r
  1095. ; http://php.net/odbc.defaultbinmode
    8 m( D/ _8 A+ b& p) S" I
  1096. odbc.defaultbinmode = 1
    / g8 T9 @/ J6 n2 ~) W, ~

  1097. 7 Z2 S- Y! }3 j
  1098. ;birdstep.max_links = -1% |# D3 r6 Q9 _4 b, V/ P
  1099. ! V/ e6 a0 ]# v, R( g
  1100. [Interbase]5 P: ~0 q9 l; q+ f3 ~9 t
  1101. ; Allow or prevent persistent links.* S9 {3 |+ U$ `! W* X
  1102. ibase.allow_persistent = 1
    9 {7 G& ?+ d: K/ H3 H

  1103. + w# R. v* v+ @8 C* }1 E" r
  1104. ; Maximum number of persistent links.  -1 means no limit.
    * A+ Q" z3 j, \+ e+ W1 x
  1105. ibase.max_persistent = -1
    - I2 J% b" h: ~5 R  N4 `2 J# P3 y

  1106. 2 T3 e0 c( C5 n  e7 K! W6 ~1 N
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit./ ~1 m5 }& h& \% z% p6 o
  1108. ibase.max_links = -1( \: X# s. i; \4 u

  1109. $ F. g3 ~& ?/ m2 b, Z0 u, c2 m
  1110. ; Default database name for ibase_connect().
    # b) ?9 M0 t5 l
  1111. ;ibase.default_db =7 m$ p  b5 {9 ]; [

  1112. - r8 B. h; |1 p# @$ @
  1113. ; Default username for ibase_connect().: _4 _9 C( u5 a, X5 {
  1114. ;ibase.default_user =
    - K# s% X- R) \2 k
  1115. 1 k' G7 j! `9 H( p% g& a# b
  1116. ; Default password for ibase_connect().2 t4 x5 d5 p9 r, h, R5 Q; ?
  1117. ;ibase.default_password =
    ) q7 K; x! {9 ^6 \

  1118. 8 b  {$ q9 U4 I
  1119. ; Default charset for ibase_connect().; T# j) ^0 b' Y1 G# ~
  1120. ;ibase.default_charset =7 y) Z( `# n& q0 u/ m+ m
  1121. 3 G2 n& q/ ], c" b
  1122. ; Default timestamp format.+ {/ o* }# ]" U* X6 R- N) b8 h
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    . Z( I  {8 B9 O7 O3 F* o, d
  1124. 6 R2 k' ]2 }% M( k# L8 M2 e: w* o0 y+ ]
  1125. ; Default date format.
    6 m- p: v* i! M7 \* g
  1126. ibase.dateformat = "%Y-%m-%d"9 f. ]* X3 A* W0 P( l

  1127. 6 K$ O0 U- ?2 f. _% T& g
  1128. ; Default time format.: Q. M9 o) e# c3 {' J
  1129. ibase.timeformat = "%H:%M:%S"8 b. K( l  x9 D1 Q" s' W* w

  1130. # f1 f7 v+ o) J5 b$ J
  1131. [MySQL]; F9 y/ ]4 z6 _: X, ]
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements2 h3 t) x  u8 m3 |
  1133. ; http://php.net/mysql.allow_local_infile. m) N6 a2 j5 k) _  g& ^% ?
  1134. mysql.allow_local_infile = On
    / Y1 T$ k' }* [

  1135. 8 k/ b/ e8 n/ a* R
  1136. ; Allow or prevent persistent links." r* s7 g9 L0 M
  1137. ; http://php.net/mysql.allow-persistent2 ?$ A* @" Y: s  A8 C3 @2 X% O
  1138. mysql.allow_persistent = On' z# `9 J( F0 @; l! }5 U& t: X! e

  1139. ! k* z! N, E3 x4 Q
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    0 k) u8 j& [8 B+ R! s
  1141. ; http://php.net/mysql.cache_size; P5 k8 v. K; h/ W4 C: b. ]9 `  i
  1142. mysql.cache_size = 20008 d8 O1 c/ @( [( C
  1143. - }6 n* r# G0 N/ O; G
  1144. ; Maximum number of persistent links.  -1 means no limit.* @2 T: M2 w: g! V  k
  1145. ; http://php.net/mysql.max-persistent
    , M( D% y4 K2 ]3 z
  1146. mysql.max_persistent = -1. o2 M9 W# P4 D9 P

  1147. ! v2 b; M$ Z$ r% N. H
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    5 z7 e3 I! }; ^0 R# }* S1 `" O
  1149. ; http://php.net/mysql.max-links
    : H* D, V3 O6 A  Z8 k; F3 o" t
  1150. mysql.max_links = -1
    ; f6 \$ `' X1 |& S

  1151. 1 D1 I3 t2 p) f7 r
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    & C" @* C/ A$ s; N& q3 p' q2 Q  K5 T
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the+ w5 I; R6 U/ w: D' P
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look. A8 v. q  x& Z( J+ A
  1155. ; at MYSQL_PORT.
    : E+ K# X9 K9 {8 k% W* F% n
  1156. ; http://php.net/mysql.default-port  U2 u  g7 n+ c8 I% U
  1157. mysql.default_port =
    " ]5 r" q4 m8 ~' ?7 B
  1158. + r: s% y& C. U8 z0 d, p
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in0 o# |# K: O0 ~
  1160. ; MySQL defaults.
    4 i! N/ {# \: m$ o: b: y
  1161. ; http://php.net/mysql.default-socket* O4 D8 z1 m8 J: @( K
  1162. mysql.default_socket =
    4 u0 U2 m8 X4 A: o4 b0 Z
  1163. 7 k9 k$ _& Y$ u! \# Z% g* L0 C9 V
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).4 I( W6 h, H2 v6 g' S6 T9 a1 _
  1165. ; http://php.net/mysql.default-host3 O/ ?* j+ U- p7 E
  1166. mysql.default_host =2 N1 q* l& W2 c$ ]
  1167. ! t0 D4 G0 O! |8 u( K7 T! h4 D
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    + W, s# R$ t4 \& y9 I
  1169. ; http://php.net/mysql.default-user, {1 S$ X4 p6 o" ]/ l! i
  1170. mysql.default_user =4 J, F, O) N8 V

  1171. 7 m4 l+ e3 k) @/ _* N4 p
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode)., }. r( S: b( T- d6 }' c# F
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    , r  U2 _9 j9 \4 o* }
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")+ [& u# p! @( F7 q# |% y
  1175. ; and reveal this password!  And of course, any users with read access to this
    3 T2 b1 U4 |, C8 q1 K; E
  1176. ; file will be able to reveal the password as well.
    ( Z9 E" K$ \: G
  1177. ; http://php.net/mysql.default-password
    , L3 r5 H- M  u0 f
  1178. mysql.default_password =
    . y, }3 ~- w2 R
  1179. 7 t' x; I3 d. `: a2 r
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit" s& y# w9 \& a* H! z) l- Z4 |; K
  1181. ; http://php.net/mysql.connect-timeout0 D3 n* p  B: h0 e9 r! n3 k
  1182. mysql.connect_timeout = 60
    8 V& J/ N  m9 z$ U5 a+ M, ?
  1183.   @" o& W* R; S  k  o3 R
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    " n$ c# O- _  B7 r& d3 e% P
  1185. ; SQL-Errors will be displayed.7 h5 \( ^" [5 v2 J- h5 W
  1186. ; http://php.net/mysql.trace-mode; x* |& h8 |, K& W  _
  1187. mysql.trace_mode = Off
    - M5 K: @& p) p
  1188. + d# }: w- _: `5 k: u
  1189. [MySQLi]
    7 o6 _. G2 y" p9 g4 F' U7 }

  1190. 2 f; D. F9 D, R# m3 I$ ~
  1191. ; Maximum number of persistent links.  -1 means no limit." @: w' p$ n- K* }9 Y
  1192. ; http://php.net/mysqli.max-persistent- q0 D" d* ~( c" Z* I9 C. I+ [3 P
  1193. mysqli.max_persistent = -10 S# ?1 a! [4 |. h

  1194. . S& C0 l  u- H: t1 J% h& a+ E
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements% k" S) |( {: I8 z3 y5 @; V
  1196. ; http://php.net/mysqli.allow_local_infile. b5 X, {7 S2 D/ |  }  v; R
  1197. ;mysqli.allow_local_infile = On
    # @5 [% J6 y# i

  1198. 2 Y0 i. s. n% \+ e, h
  1199. ; Allow or prevent persistent links.% P& R, ~7 J" ?- s9 m/ P% K# y, h5 J
  1200. ; http://php.net/mysqli.allow-persistent; D/ \1 g& c' ]
  1201. mysqli.allow_persistent = On6 j) H# ~7 R8 d' i* r
  1202. " t7 ]8 Q% Q: H/ v1 [  V
  1203. ; Maximum number of links.  -1 means no limit.$ x5 `0 f$ T" v
  1204. ; http://php.net/mysqli.max-links
    ( N; H, E9 W' ^5 m. |( B
  1205. mysqli.max_links = -16 r* u* U3 q5 D( ~: U( o

  1206. # E2 B# y. ]/ [! I: d) T% a
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache# d& E; B& |& T5 U
  1208. ; http://php.net/mysqli.cache_size
    % u3 s  x- L! \! \7 K5 U2 I
  1209. mysqli.cache_size = 2000. L* F2 [1 X+ D( [
  1210. $ x, G" m/ X1 Q5 H
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use+ ^' N/ F3 k; y9 g
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    0 I! |" J* P# D5 \* {4 _+ B
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look" N2 r' g; ]" x" j1 ~& @2 ^+ ?9 J" e
  1214. ; at MYSQL_PORT.
    ( X8 T$ a' J: p
  1215. ; http://php.net/mysqli.default-port! I% e" N' g$ j: \
  1216. mysqli.default_port = 3306
    3 s. ?5 r0 R( Q  Z

  1217. 9 l+ {7 c7 D8 |8 h  l
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    * g, w8 `5 g) p. R3 A
  1219. ; MySQL defaults.
    $ A& j! `7 Z/ M# H' a
  1220. ; http://php.net/mysqli.default-socket
    ( V$ G  b" \. M7 o
  1221. mysqli.default_socket =
    3 b) ~7 o  e) {4 n* s# z$ Z

  1222. ; E7 c8 y* N5 a+ F' U: P( K
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).& \* f& f2 x* [& s2 Q. p
  1224. ; http://php.net/mysqli.default-host% c) _' A) @/ p/ G- j# g
  1225. mysqli.default_host =: a3 X# A/ |, [5 _

  1226. $ Z# h! n- ~: ]- L0 q
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).
    2 e5 H% w+ d2 }% z
  1228. ; http://php.net/mysqli.default-user) E: j' p1 Z! ^
  1229. mysqli.default_user =
    9 ~* s8 S- A. z7 ?4 }1 j+ q7 x4 ]) e
  1230. 6 K- l% j: G; f; n
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).6 E: V+ [' c! X% d7 X: v
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.- i" G3 }) g4 @
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    $ z" }, J' {6 _) s" b- [- W
  1234. ; and reveal this password!  And of course, any users with read access to this0 s# k2 z% i! B/ }- K1 l% G  M3 D
  1235. ; file will be able to reveal the password as well.: D0 e4 q& g8 f6 t$ y
  1236. ; http://php.net/mysqli.default-pw* f; Y* D& m, g" |
  1237. mysqli.default_pw =, H' M5 t6 B( }9 D  W# g5 e

  1238. % f/ e8 A: ~' q% y1 G4 r
  1239. ; Allow or prevent reconnect$ t* W! _6 Q7 i/ f' ]7 Y
  1240. mysqli.reconnect = Off6 o, Z$ D% m. M- K$ [% M

  1241. & W: C9 G7 `9 j; }1 K
  1242. [mysqlnd]7 O) K: v2 \) U3 I, X+ ?
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be# K  j% t5 O& H% F  w/ V
  1244. ; used to tune and monitor MySQL operations.% C& F2 @/ E9 b& K7 a& A  i
  1245. ; http://php.net/mysqlnd.collect_statistics- T2 L! k; B: y- L. W2 ~
  1246. mysqlnd.collect_statistics = On2 G: w" D# w1 \: H! @! i
  1247. ( y* s/ `% X9 A& T7 y
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be: R4 m& X/ R6 \4 |* ^
  1249. ; used to tune and monitor MySQL operations.: R# D$ P, V" @
  1250. ; http://php.net/mysqlnd.collect_memory_statistics5 |5 U- y1 x6 E# d* Z. Q1 d
  1251. mysqlnd.collect_memory_statistics = Off
    ' l- ^+ H* I7 t+ _
  1252. ) p/ p3 |" g. x( |0 i  a0 W$ @  |
  1253. ; Records communication from all extensions using mysqlnd to the specified log: t$ ]; u& W8 X2 q1 \+ k
  1254. ; file., a  ]; Y" W; F9 I7 g: F
  1255. ; http://php.net/mysqlnd.debug5 J/ ~0 @  c: y8 G8 A+ J. Q
  1256. ;mysqlnd.debug =' ]# }4 B+ b$ f4 V- b* G3 e+ K
  1257. 4 `6 }3 b; ?8 P; y- k  F8 G
  1258. ; Defines which queries will be logged.( ?: w, v& p- ?8 P( t# a
  1259. ; http://php.net/mysqlnd.log_mask2 e# z% [: }. J- t3 x
  1260. ;mysqlnd.log_mask = 0  d% J3 ~, m" _, I
  1261. % n* x1 L6 O% B2 p; o, ^
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.+ q; t0 W2 B; g0 H1 E! b8 [$ N
  1263. ; http://php.net/mysqlnd.mempool_default_size
      F! t7 {4 z% O! r8 I9 S8 c* i
  1264. ;mysqlnd.mempool_default_size = 16000/ t* B) R  \! H# y$ r6 ~0 R
  1265. & _2 v; _9 O+ m& X) T2 ?; c: W
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
      ]' Q2 X! V3 E. j. ^. d2 u
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size; k+ w  A9 a6 K) e/ }! i! ?
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    / m+ B8 d. W' |% u7 _, R

  1269. ( Q7 U7 u$ L* F4 R$ }
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in) x. H  |$ ^* [6 \1 y. b. }; Q1 H
  1271. ; bytes.; L: [, g/ F; h, D  ~3 w
  1272. ; http://php.net/mysqlnd.net_read_buffer_size$ r! S7 k) \) J: @' [
  1273. ;mysqlnd.net_read_buffer_size = 32768
    ! ?; }6 c. ?# S6 [, }
  1274. ! {1 T% S2 E1 }2 Y6 |
  1275. ; Timeout for network requests in seconds.- S6 A: Q7 r) }1 r4 H, Q6 n
  1276. ; http://php.net/mysqlnd.net_read_timeout
    $ E( M7 M. c3 L) w
  1277. ;mysqlnd.net_read_timeout = 31536000
    $ {" l% f- U# O" s8 |

  1278. 3 B5 N, b. M! {! O& W* B+ a* V3 M4 @
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA# I' ~% Q0 f9 r/ G5 x- U
  1280. ; key.
    2 O% |; P3 ], Q, s3 D, ]
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    " Z) g& s9 x, m0 G& i+ w. `) ]
  1282. ;mysqlnd.sha256_server_public_key =% h0 x" v( b: @9 H' G" m( \4 ~

  1283. $ d  f" s9 |5 G6 U0 F2 N
  1284. [OCI8]% D0 {+ p( {# r  H" X. X
  1285. . n4 {$ C" e5 d1 [' f
  1286. ; Connection: Enables privileged connections using external! \! l* @2 p0 y- o
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    8 p, x) ^! y% O. T7 i3 g
  1288. ; http://php.net/oci8.privileged-connect
    & P8 D7 A' h' }
  1289. ;oci8.privileged_connect = Off
    ; O, N( X# e% ~  w  n

  1290. 9 h' x" C7 k. ~7 e7 f
  1291. ; Connection: The maximum number of persistent OCI8 connections per* B" }* Z8 i( s* y
  1292. ; process. Using -1 means no limit.
    . w, Y; F+ H7 `; _* C0 n
  1293. ; http://php.net/oci8.max-persistent
    " e6 k  R$ p4 k* i) }  H( u: b
  1294. ;oci8.max_persistent = -1( x. q7 ?  b) r) D# w

  1295. ( X2 T2 e4 h' N4 y1 _" L
  1296. ; Connection: The maximum number of seconds a process is allowed to
    : j8 q5 }7 T. T. V4 ?
  1297. ; maintain an idle persistent connection. Using -1 means idle
    ( F9 F: s/ X/ {! Z, u3 g
  1298. ; persistent connections will be maintained forever.
    1 i9 K1 {5 `7 O0 `. b
  1299. ; http://php.net/oci8.persistent-timeout4 k# S' h$ y3 H
  1300. ;oci8.persistent_timeout = -14 w- }6 x5 Q! a7 E& f7 I

  1301. 3 K8 b& c  Y4 {& i6 F" Y$ F- U6 k
  1302. ; Connection: The number of seconds that must pass before issuing a
    + ]5 Q' G  p) C6 P; X$ d3 z
  1303. ; ping during oci_pconnect() to check the connection validity. When7 ?4 y  N: @+ f; S# i3 _
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables& E. Q: b+ O, k3 |
  1305. ; pings completely.
      s3 C7 i0 q3 \+ G- P1 b
  1306. ; http://php.net/oci8.ping-interval" g9 h4 J1 r6 i+ Y1 K- a5 L( R  m
  1307. ;oci8.ping_interval = 60% s+ M- p& ^# n! V$ Z+ u( G
  1308. 3 D1 z) X" ?8 E0 T$ g/ J# O  K9 Y5 c% j
  1309. ; Connection: Set this to a user chosen connection class to be used
    * b" i# P1 f4 D; ]: [: h
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    ! u, N9 n, E0 o: K! ]- ^$ T
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to8 C! J: \$ ^  n$ A1 e- f4 F
  1312. ; the same string for all web servers running the same application,
    ) Z6 R4 w0 h0 |
  1313. ; the database pool must be configured, and the connection string must
    & P" l5 u+ n* J3 j7 F' W
  1314. ; specify to use a pooled server.
    8 ]+ X3 d" \" j1 N0 u* r: T9 T
  1315. ;oci8.connection_class =
    0 o7 P  K; J0 U+ b

  1316. , t% |7 G8 T4 ~1 M% D* n
  1317. ; High Availability: Using On lets PHP receive Fast Application
      s7 f% ?9 b2 {7 R& L
  1318. ; Notification (FAN) events generated when a database node fails. The
    3 H% t7 U. B# f+ E+ G1 y2 h% N4 E
  1319. ; database must also be configured to post FAN events.6 F7 h$ e4 X, J: Q" f4 D/ {% b7 O- {
  1320. ;oci8.events = Off
    1 @0 |) L6 G4 z8 X5 P/ p$ v* J

  1321. 7 p" k5 A- a- w
  1322. ; Tuning: This option enables statement caching, and specifies how1 A9 P  H9 Z% I1 F' O! \
  1323. ; many statements to cache. Using 0 disables statement caching.
      u9 y* L' V1 M" j1 C% s( Z$ b
  1324. ; http://php.net/oci8.statement-cache-size
    2 ^% A" _& ^2 }
  1325. ;oci8.statement_cache_size = 20. n" X5 b) _/ l9 d

  1326. 8 s5 f) t$ O  w1 B
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    + N% a6 k, G3 c1 M( B3 f
  1328. ; rows that will be fetched automatically after statement execution.
    , S; g( r& _. v' s. e9 [7 b
  1329. ; http://php.net/oci8.default-prefetch, _. u: q- r% b3 a1 ~  H
  1330. ;oci8.default_prefetch = 100. I6 _$ @: y6 N/ _7 w
  1331. ' a5 o& d% E! l
  1332. ; Compatibility. Using On means oci_close() will not close
    : f) P8 t: J; h
  1333. ; oci_connect() and oci_new_connect() connections.
    % M/ L7 n% o. L) Y; |$ `' P& W" A
  1334. ; http://php.net/oci8.old-oci-close-semantics
    , E5 |" n5 V/ A5 y) D0 S
  1335. ;oci8.old_oci_close_semantics = Off
    , o/ a. U/ ~# F! T: ^
  1336. , `4 a- u3 t4 L- I- w1 o( a6 n
  1337. [PostgreSQL]
    * Y# _$ x) A8 u0 a1 C) Q7 I, w3 ~
  1338. ; Allow or prevent persistent links.
    ) f) U: a, [6 E9 b
  1339. ; http://php.net/pgsql.allow-persistent
    9 }( ~+ k+ R7 L7 \; l  j
  1340. pgsql.allow_persistent = On0 C  G6 G' v4 a  {& x

  1341. ' W& s# y& s/ Q! F
  1342. ; Detect broken persistent links always with pg_pconnect().
    4 K+ w3 y3 Y& m1 a* z
  1343. ; Auto reset feature requires a little overheads.- e; J. R8 D$ j% _
  1344. ; http://php.net/pgsql.auto-reset-persistent0 `3 ]2 R4 c) F5 C* E, b- Q
  1345. pgsql.auto_reset_persistent = Off
    ' I7 p+ t- T, R! i

  1346. 9 L+ p* V" \) o$ J/ n. g3 I6 e, w
  1347. ; Maximum number of persistent links.  -1 means no limit.( Y! |8 N$ `3 @% ?# }1 X$ {
  1348. ; http://php.net/pgsql.max-persistent
    $ S% }. |  q* o: h4 l/ ~8 O4 z
  1349. pgsql.max_persistent = -19 n: B9 t' n( m5 C. U' \8 H5 \2 a: Q

  1350. 8 d5 J/ C/ u) ^0 I/ d' o2 z
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit., R% |% Y0 W: G9 H# t) \
  1352. ; http://php.net/pgsql.max-links
    4 X4 r% K4 c  w7 S: g  O, D- b
  1353. pgsql.max_links = -1
    ' j1 {! g8 z* B; X% u9 I

  1354. , H; I# |4 d" d4 b
  1355. ; Ignore PostgreSQL backends Notice message or not.
      N  {3 J) L* I4 R4 u6 ]/ F' J
  1356. ; Notice message logging require a little overheads., J. F2 _& L+ Q7 q/ z# z) @
  1357. ; http://php.net/pgsql.ignore-notice/ P" S; M$ J# d' g
  1358. pgsql.ignore_notice = 0! {/ B& D7 @2 B6 r: G

  1359. ' m# l/ E3 P+ x! ?0 y$ c
  1360. ; Log PostgreSQL backends Notice message or not.
    # @8 q* w( [+ }! F+ }
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    4 _5 o  }/ N  ^* k- {
  1362. ; http://php.net/pgsql.log-notice
    / N  {4 ~6 o! b' [
  1363. pgsql.log_notice = 0
    0 v) p( Y7 Q9 x9 e  Q, g
  1364. 0 S4 Q/ z6 u  }: \3 f% E
  1365. [Sybase-CT]
    ' N) D; y  Y  S, f1 j, X3 y
  1366. ; Allow or prevent persistent links.
    1 U3 f6 ^0 I3 u. g! b
  1367. ; http://php.net/sybct.allow-persistent3 `' U. p$ M. `) q! c
  1368. sybct.allow_persistent = On
    . Q( B- [5 {- l! d9 P
  1369. 0 l* E. ~- z1 ]. `$ m, J
  1370. ; Maximum number of persistent links.  -1 means no limit.3 b' D+ p8 e* y2 w
  1371. ; http://php.net/sybct.max-persistent0 [- s' h( F$ ]
  1372. sybct.max_persistent = -1
    # J1 B0 o) D. O1 g9 |, \. `  v

  1373. ( T4 v$ p) j# Y
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ; d4 O3 U+ `3 v) W
  1375. ; http://php.net/sybct.max-links- C9 c) O" M/ L0 Z8 \7 z; m- L
  1376. sybct.max_links = -19 f; Z3 R/ j, B' e4 ?; d
  1377. * s! Y7 e8 t7 ]' |+ U. J
  1378. ; Minimum server message severity to display.$ k4 K0 X+ |! @% K, s. B$ ]
  1379. ; http://php.net/sybct.min-server-severity
    / a7 f& k  b* _5 d1 L7 c
  1380. sybct.min_server_severity = 10
    ! Y0 \9 g6 [# m2 e  B

  1381.   Y# v7 D# @' W0 h$ G& T
  1382. ; Minimum client message severity to display.
    / F% c% x* Q0 k8 U3 v8 C, ~! k  Y& T
  1383. ; http://php.net/sybct.min-client-severity3 X# a( L# l- {7 `; L
  1384. sybct.min_client_severity = 10* ?$ `' a2 @( c" w) p( r
  1385. % v6 s: e9 N5 z
  1386. ; Set per-context timeout
    8 T* r; A% R8 K4 q9 k
  1387. ; http://php.net/sybct.timeout, l8 S: k" J/ `3 m' {4 n* \
  1388. ;sybct.timeout=% W% u) |) H: ~
  1389. 7 P. ]! _& M* t5 B( o" D
  1390. ;sybct.packet_size
    : Y0 L- @( Y( ~' `* J

  1391. ' i/ x& M* E# _6 y& \8 c
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.  D/ j+ S. W* t+ n; |
  1393. ; Default: one minute
    ! T' y9 W. d3 }
  1394. ;sybct.login_timeout=
    2 g5 E/ V7 F, O7 |: h5 X- e

  1395. . v5 E& K  p) k$ B
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    ! ^( L/ o1 ?: F+ S$ k* f
  1397. ; Default: none
    4 F2 i' B8 R$ c  Q/ X6 I+ m& b8 p$ |
  1398. ;sybct.hostname=% `* R/ W- Z+ m: D9 z7 G6 u; a

  1399. 3 a: d3 F" j1 X1 Q+ a" |* C
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    ; ~+ ?2 E) _4 K$ W* l
  1401. ; Default: 00 H! L3 G) U* C; C
  1402. ;sybct.deadlock_retry_count=# S3 G  Z# N/ \1 Z% J1 q1 g# N

  1403. 0 z' ?( I* a4 r6 ~  ]
  1404. [bcmath]
    ( i7 f( e! u  [, W) ?8 ^
  1405. ; Number of decimal digits for all bcmath functions.! i4 g/ r9 V+ L2 T
  1406. ; http://php.net/bcmath.scale& v3 Q1 m5 j* d& P# l! ]
  1407. bcmath.scale = 09 F) ^& Z* C$ G1 b! b. c

  1408. " K+ ^9 P0 ?4 j
  1409. [browscap]- [- g$ V, I) t2 Z: O. M# V
  1410. ; http://php.net/browscap
    7 E1 _; U8 B% y1 G- N
  1411. ;browscap = extra/browscap.ini
    . ~5 j, x& y& h7 ~4 R
  1412. $ o+ `% h/ P( ^
  1413. [Session]% j5 i3 [- P) l$ q/ E3 w
  1414. ; Handler used to store/retrieve data.# w+ V2 Y; w% }3 D& q
  1415. ; http://php.net/session.save-handler
    + N0 ?9 c4 A4 e7 W% w* {
  1416. session.save_handler = files
    3 L! Y5 ?* h4 b0 w2 X+ L
  1417.   ~2 R% C: [/ Z/ A. a! w
  1418. ; Argument passed to save_handler.  In the case of files, this is the path% l; C; U4 x+ q5 @" W
  1419. ; where data files are stored. Note: Windows users have to change this
    " {7 \' @4 F. F- Y% K4 d
  1420. ; variable in order to use PHP's session functions.- }; I* M5 x- h+ [1 o
  1421. ;
    5 \& h9 m6 H3 p; b/ C. Y
  1422. ; The path can be defined as:
    / f' h) ^/ |7 g8 A
  1423. ;- b: R( E. \: p6 |
  1424. ;     session.save_path = "N;/path"
    5 H) f4 @/ ?. d5 c8 Q$ G
  1425. ;3 `+ C; I$ p0 V/ b3 E
  1426. ; where N is an integer.  Instead of storing all the session files in
    # l5 N  [& o6 C& [# P
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    " X" j5 V' m) ~" \
  1428. ; store the session data in those directories.  This is useful if+ t' S7 a( J! V8 ]- x
  1429. ; your OS has problems with many files in one directory, and is2 x# U8 S9 ~5 ^0 R/ M
  1430. ; a more efficient layout for servers that handle many sessions.
    " O3 I' ?- p7 Y' E
  1431. ;, G* g# H9 b: g* q) {* f1 H
  1432. ; NOTE 1: PHP will not create this directory structure automatically.0 ^3 u7 E2 v" i
  1433. ;         You can use the script in the ext/session dir for that purpose.
    ' Q  }3 d4 G* Z! n9 R; k
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    4 Y) d9 c' Z4 I& f- {
  1435. ;         use subdirectories for session storage* y3 d3 o4 L% h' A! r/ o( Z
  1436. ;0 X* L# I4 ?0 a) u7 P
  1437. ; The file storage module creates files using mode 600 by default.
    " ~4 U6 H0 f  C, |( r- V4 L8 ~# D
  1438. ; You can change that by using$ m0 u. O& {+ n: a# \: ]% J: d
  1439. ;
    7 G* z3 j4 R# D( t2 s: C
  1440. ;     session.save_path = "N;MODE;/path", N: D) |5 X9 K) e6 @: X
  1441. ;* c3 R8 v5 h6 s! |& f
  1442. ; where MODE is the octal representation of the mode. Note that this; ~* {9 R( }, p' J4 Q
  1443. ; does not overwrite the process's umask.2 U$ ?/ m( _2 l, h- G! ?
  1444. ; http://php.net/session.save-path
    6 n4 {; i7 e  ]6 A; G( p# I4 P
  1445. ;session.save_path = "/tmp"2 C; ]( C# h& k5 g, ]

  1446. 3 A  g$ k  F1 _# d$ G$ p# R" v- H
  1447. ; Whether to use strict session mode.) S% `& f' p: i
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
      p# o# c% o7 Z7 h, Q$ p8 v: w
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects; y) |9 M: h; z1 k
  1450. ; applications from session fixation via session adoption vulnerability. It is
    * D+ |$ r: ?' e5 h5 v5 P1 g  t
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.: k  N3 g& ]; \  z2 y
  1452. ; https://wiki.php.net/rfc/strict_sessions  o5 [1 i) R# I3 c* R# I
  1453. session.use_strict_mode = 0
    - v* i" r) x2 r7 X4 c

  1454. ! F( M& L" |0 U( \! l0 _- r6 p3 u
  1455. ; Whether to use cookies.
    ( ^+ Q. J) M9 @6 G
  1456. ; http://php.net/session.use-cookies
      |5 s  s! h) }1 \
  1457. session.use_cookies = 1: N- E$ T5 ^& q3 R0 U! q6 X: I
  1458. 2 q# @1 i. n# v# F8 S
  1459. ; http://php.net/session.cookie-secure" b: _8 c, q  @# [2 \2 G! ]1 z
  1460. ;session.cookie_secure =
    ) C: s5 q* h! h( K0 u

  1461. & s! p/ Y( b2 X/ U3 \
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    3 W4 N3 }! |) X) C: o
  1463. ; the session id. We encourage this operation as it's very helpful in combating, j& ?( }$ L* c0 z
  1464. ; session hijacking when not specifying and managing your own session id. It is
    # c, m* w  \  H% R' G/ Q& C
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.1 I0 h7 T  b/ e/ ~: N& }1 k6 E
  1466. ; http://php.net/session.use-only-cookies
    # Z" W, m: q: ~3 K  h
  1467. session.use_only_cookies = 12 P! f# P8 B" W6 k7 k5 w4 }) Q8 I& k

  1468. ! I! t, A! |8 {) L; _: W- r
  1469. ; Name of the session (used as cookie name).
    7 f! X% }, z0 \9 }
  1470. ; http://php.net/session.name. R' J, y+ n# D7 u& e4 n3 o/ B
  1471. session.name = PHPSESSID
    5 z3 ]3 U# {' l8 G/ U& e! Z0 Y
  1472. 6 g# C( l* m# \9 f
  1473. ; Initialize session on request startup.
    . D7 v  ~- [* ^5 x
  1474. ; http://php.net/session.auto-start
    ; R& l3 w8 {) i. o, I/ r+ E
  1475. session.auto_start = 0" H' H. r% f; L: Q# {

  1476. 1 j! _6 h3 X2 Q  F
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.  d7 I# X" I5 |. S
  1478. ; http://php.net/session.cookie-lifetime, E( R0 k# H6 ~% v8 }
  1479. session.cookie_lifetime = 07 z9 Z4 F+ V6 o6 y8 F# U- H

  1480. , p  c$ O/ O9 J# _7 E( _+ U
  1481. ; The path for which the cookie is valid.% [8 e  d4 _' Q
  1482. ; http://php.net/session.cookie-path! ?' ?7 l% W7 v7 x7 n% s
  1483. session.cookie_path = /6 m  ?% m1 f- b. ~* h$ h& e
  1484. % t- {$ X" d! R3 l1 j# j
  1485. ; The domain for which the cookie is valid.
    - i9 _+ Y; l% M* b$ k+ Q
  1486. ; http://php.net/session.cookie-domain
    1 \2 l4 `& @/ S: B
  1487. session.cookie_domain =0 E/ E7 x9 h% S, n! ?

  1488. 3 }0 |* |! B# T
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    + L: C6 S2 ?+ ~# f# y
  1490. ; http://php.net/session.cookie-httponly
    + F  H$ R* X2 r) \2 \1 o  n
  1491. session.cookie_httponly =
    3 ?( v% H4 H& o( K

  1492. / c& `  i5 {( J! r4 K# G6 a
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    9 {4 c! m, s5 d4 L8 \1 t: ?  U
  1494. ; http://php.net/session.serialize-handler1 D, T/ }; G0 I' W0 k* L! \8 B
  1495. session.serialize_handler = php2 D' [' f2 |8 [# @2 e

  1496. 8 A1 Q0 F: P* m) C$ j
  1497. ; Defines the probability that the 'garbage collection' process is started6 e; U/ d- N8 s" u# T  e$ L
  1498. ; on every session initialization. The probability is calculated by using2 g( [6 }  G/ X& x+ K; @
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator; s2 [& V* f' J- F  g+ s
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    + T6 j8 @6 t2 K$ q9 O  a3 q! ~
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    ) m$ n" i* P1 ^; T
  1502. ; the gc will run on any give request.
    8 T" R0 a) u2 k# X6 c' p: Q
  1503. ; Default Value: 1
    / t) I9 g4 {+ n  X  S
  1504. ; Development Value: 12 ?5 S0 D3 ]3 O, l% m
  1505. ; Production Value: 1& e) j; p/ d8 n: z4 \! C4 l
  1506. ; http://php.net/session.gc-probability& c+ b* P' d, `8 c7 O
  1507. session.gc_probability = 1# Z; R5 Z" w% g& E* q/ O) f

  1508. 3 {: S; G+ y$ l9 M9 m6 o  g
  1509. ; Defines the probability that the 'garbage collection' process is started on every& s( p) e0 p7 C$ C. O$ f. s
  1510. ; session initialization. The probability is calculated by using the following equation:
    - H. _8 W/ s% `5 {5 x4 F) R1 Y
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and1 l4 U, i4 M/ V, g; s
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
      u" i; s' y! y! I; k" U8 ?. X& A
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance9 C' b; l9 Z, F6 O9 s
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    & {( v* a9 u6 E
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,  L; U. `& ]5 b5 F" M$ Q* Z
  1516. ; this is a more efficient approach.
    ' T* H3 M) a( v
  1517. ; Default Value: 1002 a" B- q$ ~* I7 a  C) j. x' L# O
  1518. ; Development Value: 1000
    ) O! `" N2 T( D0 c8 G
  1519. ; Production Value: 1000
    0 \1 x8 ^0 ~! m/ \( e$ W  \' Z
  1520. ; http://php.net/session.gc-divisor
    . G0 y) H: w8 ?- F* l
  1521. session.gc_divisor = 1000
    ; {7 K$ Z' s$ @5 v
  1522. 8 ~" E, U# r: ?/ N; \6 }5 d
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and8 p3 l+ ~' L9 v  c' g' M  u9 b$ G
  1524. ; cleaned up by the garbage collection process.% i# p5 e2 M6 Q$ k
  1525. ; http://php.net/session.gc-maxlifetime
    6 D( q0 u% X) ?, c
  1526. session.gc_maxlifetime = 1440
    ( L: c5 V7 Q8 ~7 _& z" @. y

  1527. - i6 }' l- F% a
  1528. ; NOTE: If you are using the subdirectory option for storing session files1 E; {0 M, L8 m4 ?
  1529. ;       (see session.save_path above), then garbage collection does *not*3 `( q& X( [; q8 }+ d* N
  1530. ;       happen automatically.  You will need to do your own garbage
    , k6 v) i& G. G: C0 Q/ C; V
  1531. ;       collection through a shell script, cron entry, or some other method.
    2 O/ V" H# j4 q; o& {& i" @' K
  1532. ;       For example, the following script would is the equivalent of
    + j, C1 S- N. `# ~
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):9 a7 f; V- T' U- [0 F2 J- Y8 S3 V
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm: D) t5 X: j9 U/ {) N5 n% r

  1535. ) x3 A! n4 F; H6 v7 n7 a* C' A
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.7 Q, Y5 X) W7 \) o. \1 }3 C- _
  1537. ; HTTP_REFERER has to contain this substring for the session to be, P* C7 h( o; [2 z: ~5 L) _
  1538. ; considered as valid.( s) |+ D9 E) X/ t  y5 W9 H
  1539. ; http://php.net/session.referer-check
    / I$ \2 ^9 H3 J+ ~) r5 u+ G
  1540. session.referer_check =
    6 O5 q' P, R1 o" s

  1541. ( Z' D" ~# ~: \0 c6 u
  1542. ; How many bytes to read from the file.
    / Y! T$ W6 Y1 _5 ?( h/ v3 j  u7 y
  1543. ; http://php.net/session.entropy-length
    8 m; u! V  b; ?* c- h, U2 e2 n
  1544. ;session.entropy_length = 32
    6 X- h# b* m8 H$ i# D6 N# q
  1545. 8 g) \% ~& Y: y. Z6 f
  1546. ; Specified here to create the session id.
    9 M/ N0 L1 V+ Y; m& @3 ^! ^
  1547. ; http://php.net/session.entropy-file
    + h  V+ A/ j* u3 l5 X% a  e" ?
  1548. ; Defaults to /dev/urandom
    # ^4 z/ y3 e/ B4 d
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    , g" X5 r' g& V. s5 Q
  1550. ; If neither are found at compile time, the default is no entropy file.& {% m! U  t# O' x, E+ L
  1551. ; On windows, setting the entropy_length setting will activate the1 h  g; g# C$ N, Y" e
  1552. ; Windows random source (using the CryptoAPI)/ Z6 f. f4 D4 u; ]  R) y% R) A% S
  1553. ;session.entropy_file = /dev/urandom
    ; g+ V! F; M* C. Y7 B

  1554. 5 t. L' ]0 F. l, u; n2 J
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    , y1 [+ _# T) d- `$ W7 K
  1556. ; or leave this empty to avoid sending anti-caching headers.0 U0 j" j8 X& T( E) t
  1557. ; http://php.net/session.cache-limiter- ?, F+ L$ U4 Y  i2 t  u$ }) {9 _; |/ ]
  1558. session.cache_limiter = nocache
    ' d4 u- W6 J" [* K3 E
  1559. 4 c+ ]: K2 Z# m" r. w* V
  1560. ; Document expires after n minutes." p, s+ i% l. T! x
  1561. ; http://php.net/session.cache-expire
    / {9 U. v& ~1 g/ S3 U, Z
  1562. session.cache_expire = 180
    8 W- e" W" n3 j$ ?2 C

  1563. + N# z) e. v9 Q$ t: ~0 A3 c
  1564. ; trans sid support is disabled by default.
    8 q, a" u) h) J) ]. G/ |3 g
  1565. ; Use of trans sid may risk your users' security.0 [' O$ E# j( I; b/ U5 X6 ?
  1566. ; Use this option with caution.
    % l6 A* }4 Q: e2 }- h8 ^
  1567. ; - User may send URL contains active session ID0 G! d* K8 d  r5 F4 }2 ^, r! S
  1568. ;   to other person via. email/irc/etc.
    % J# Q* k2 Q: V; ]- h- m" K
  1569. ; - URL that contains active session ID may be stored
    , t0 v8 U3 ]: M, ~/ E
  1570. ;   in publicly accessible computer.* G+ I. H7 Y. u, D8 ]' z2 A6 ~
  1571. ; - User may access your site with the same session ID
    2 P9 r+ r" T6 |( J) s( K+ x9 G
  1572. ;   always using URL stored in browser's history or bookmarks.0 o: g; }5 w% c
  1573. ; http://php.net/session.use-trans-sid- \, r3 m( Z: x5 Q6 U- A
  1574. session.use_trans_sid = 0  z8 i4 k3 ]( l; o  G
  1575. , D7 n( a. g( F' f9 a  ~
  1576. ; Select a hash function for use in generating session ids.
    ! l2 c2 ]0 G, ~6 r
  1577. ; Possible Values
    + r3 e- }* V% ]% Y$ e
  1578. ;   0  (MD5 128 bits), D, P! y2 \+ n: h! j
  1579. ;   1  (SHA-1 160 bits)
    7 ?* x' [3 L) K& S& r
  1580. ; This option may also be set to the name of any hash function supported by
    : l* R' m5 `8 `: i1 _
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()6 |, b( p- u* Y/ f: ^2 p1 k
  1582. ; function.+ v, Q" C/ M  E/ I+ S1 y
  1583. ; http://php.net/session.hash-function
    " }' H3 a! _/ _8 i( ^
  1584. session.hash_function = 0
    ) ~$ r) J2 e6 M8 V! I0 K2 G& _

  1585. 0 ^  f+ \0 g: O& N- u( |
  1586. ; Define how many bits are stored in each character when converting
    6 e. E& x3 G* ~: w2 i/ @# ?  G
  1587. ; the binary hash data to something readable.
    , D# B# E) w" A# w0 H- \
  1588. ; Possible values:
      s0 ?4 g" P! n! M( k
  1589. ;   4  (4 bits: 0-9, a-f)' ^5 |6 ?1 h  L- Q9 F
  1590. ;   5  (5 bits: 0-9, a-v)
    ) |: T) b2 E3 c" ?" F& o# ]2 n
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")" G1 C, D" t- c( p3 q8 O
  1592. ; Default Value: 40 q7 x- a; B4 h% d( |* O6 l
  1593. ; Development Value: 5
    ; d1 V) ^; m+ o3 Y( l- ?4 F: e
  1594. ; Production Value: 56 T1 ]8 b  k: x6 {$ V% {
  1595. ; http://php.net/session.hash-bits-per-character& j% n9 v* I# D1 V. A
  1596. session.hash_bits_per_character = 5
    5 A" ?3 g- f+ [$ G3 c% u. p5 u8 T

  1597. ; a$ C: E. d- Y0 y8 f; |
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.* n, ^* z" r  o# |1 ^' ?
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    4 e: O3 g; q1 G1 y% d: Q
  1600. ; add a hidden <input> field with the info which is otherwise appended
    - O9 N" y: J8 |" p, Z  v% X
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.! ?! o; B7 V' |
  1602. ; Note that all valid entries require a "=", even if no value follows.
    + x: o8 c- S+ F
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ' q, \5 O0 L/ i  ^6 |( w
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    $ b- O! v* V( d4 N; l: [' [
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"% c5 `' T7 q3 I  f# x, A2 t
  1606. ; http://php.net/url-rewriter.tags
    ( @6 K1 f1 u  y6 C- n8 Z/ M
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry". U2 @% v4 q2 o) i

  1608. - H( C: M8 p; q" p: S
  1609. ; Enable upload progress tracking in $_SESSION  s5 N$ F9 t, X' ?" R" ?5 L- s
  1610. ; Default Value: On
    + J, h- q- c9 h& J7 E$ i4 v8 \; o
  1611. ; Development Value: On7 ]' y$ C+ V# B, M# n
  1612. ; Production Value: On
    ( u  A% I1 I( p. K
  1613. ; http://php.net/session.upload-progress.enabled
    ( j3 H- u% ]2 y: P/ [
  1614. ;session.upload_progress.enabled = On
    % l- z; c% o: R- Y
  1615. ! E2 h( J* V5 J) I, A  b
  1616. ; Cleanup the progress information as soon as all POST data has been read
    " F: ^) S/ O! J+ K/ s) q. H
  1617. ; (i.e. upload completed).% n8 `! Y2 `# v
  1618. ; Default Value: On
    + `2 i' l! R  Z- Y
  1619. ; Development Value: On
    8 j, j; m" C( Z: c* X
  1620. ; Production Value: On
    ; I* p: P% r2 M  ]
  1621. ; http://php.net/session.upload-progress.cleanup/ X: K, r6 J+ M5 h  |+ e0 z
  1622. ;session.upload_progress.cleanup = On) F, v, ^* |+ P
  1623. 3 }: u( M1 E) \% ?4 U
  1624. ; A prefix used for the upload progress key in $_SESSION
    ) E- W- k: X) s. e- ?" L
  1625. ; Default Value: "upload_progress_"& ~  j9 x) A; I2 Z1 `8 ]
  1626. ; Development Value: "upload_progress_"5 e+ X7 P) ^# S# ~9 U
  1627. ; Production Value: "upload_progress_"0 \! L8 f' C, J9 ^3 e$ o' Q
  1628. ; http://php.net/session.upload-progress.prefix- @( {2 J% V0 a! D2 `- s
  1629. ;session.upload_progress.prefix = "upload_progress_"
    - u9 F2 X' |  V( d4 q
  1630. ' V4 w5 r1 N) ~6 t
  1631. ; The index name (concatenated with the prefix) in $_SESSION/ U( O' W2 z* x9 a0 e' M
  1632. ; containing the upload progress information
      H  ~3 r4 L  d( a' X
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    8 |4 ]$ `9 B; h( Z- X  j5 x
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    " Y8 n2 N6 e$ m/ |( i2 b. G$ g
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ! d5 ]3 D8 L6 g; n
  1636. ; http://php.net/session.upload-progress.name
    8 F0 |7 R8 ]4 q; z6 V  f. \
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"7 ?2 S1 O) T2 k0 I# a8 o0 m) Q% p
  1638. . S: Y( }/ e- |& J, c
  1639. ; How frequently the upload progress should be updated.
    1 `/ n9 F1 @# Z4 B) C# s
  1640. ; Given either in percentages (per-file), or in bytes
    8 J& M, b  z9 V( J
  1641. ; Default Value: "1%"
      [4 H/ o, m( [0 [( o$ q6 C$ Y7 Z
  1642. ; Development Value: "1%"4 K! }% n1 \  D
  1643. ; Production Value: "1%". l# s$ L& i3 O5 |; k
  1644. ; http://php.net/session.upload-progress.freq
    ( J* ~7 C6 ]$ L; G3 s
  1645. ;session.upload_progress.freq =  "1%"
    ! R* Q. y- H% w$ J* Y0 j7 `- o: ]
  1646. ! g( y% \, e2 G2 j/ k
  1647. ; The minimum delay between updates, in seconds
    % w' g! w* _5 C( [2 B- }- A* J
  1648. ; Default Value: 1, z, T$ H( E7 t, v
  1649. ; Development Value: 1: t" D3 c  w! Q. T" ~5 F
  1650. ; Production Value: 17 K+ b: ~" f+ B% u" L  e7 _
  1651. ; http://php.net/session.upload-progress.min-freq/ o8 w+ W1 F* O/ H1 ]( `5 b" r
  1652. ;session.upload_progress.min_freq = "1"
    % ~8 m+ w, y& h# \& f" H8 x! w8 ]
  1653. : j) |4 E5 R$ |
  1654. [MSSQL]
    * r- ], d1 V1 R0 m9 n7 N
  1655. ; Allow or prevent persistent links.& `6 K, b1 g+ E# E8 |
  1656. mssql.allow_persistent = On
    6 f" u7 S/ E, y) T. L, |( E0 Q
  1657. " W( L% G8 o! U" I  r3 D. Y1 F
  1658. ; Maximum number of persistent links.  -1 means no limit.! W% N+ R' l: V% z4 {8 M2 L
  1659. mssql.max_persistent = -1
    5 s' l- F5 R7 t+ h) Z  X
  1660. % {1 R: R8 ]4 f! B5 i
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    " y$ M3 I3 t, m  @: `  ?
  1662. mssql.max_links = -1
    5 S' D6 Y/ t" A' g8 u, ~

  1663. # l+ B  T, l* t
  1664. ; Minimum error severity to display.
    : [3 _3 I9 F1 @$ Y. E
  1665. mssql.min_error_severity = 10+ b6 o; m' K; a# W7 g  |

  1666. 4 \& `- A: w) Z0 p$ }" Q( l
  1667. ; Minimum message severity to display.
    0 S: X  u2 s  e* ~% l: m3 }
  1668. mssql.min_message_severity = 10
    $ z5 N7 l2 V; P5 k# ~/ o
  1669. % w5 J) d' u1 D2 R6 f& i" p) ?/ s, N7 T' k
  1670. ; Compatibility mode with old versions of PHP 3.0.! |1 E: k* k) o; }' @
  1671. mssql.compatibility_mode = Off( a$ I4 \4 F4 i. Z; B- L1 N
  1672. ; I; q: d) r8 ^# w
  1673. ; Connect timeout  f- z1 ]' x9 R; G* F( @
  1674. ;mssql.connect_timeout = 52 _2 y4 x: G" ^0 c" V
  1675. / W. }" J3 L. J) u$ \
  1676. ; Query timeout
    " B" `0 H7 o! j, v& M
  1677. ;mssql.timeout = 605 c' W; {% `/ D% E2 \
  1678. & ?, s/ b" \# j" v( W/ J9 z+ X
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    ' c9 ^+ A2 R/ N! I. M+ r
  1680. ;mssql.textlimit = 4096$ {% h+ ]. f4 i! T9 Y, G4 Z
  1681. , k: l- a6 R: r& P; E" f3 D4 Z
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    1 G) h  D6 v, {
  1683. ;mssql.textsize = 40968 v9 c' g& o+ f* }$ o

  1684. . w* _8 W, q# a
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    7 c1 T; {" d, B5 j# }+ J
  1686. ;mssql.batchsize = 0* L9 R3 s' `" B

  1687. 7 [# G/ ^( _6 g
  1688. ; Specify how datetime and datetim4 columns are returned" K, v; _" M' E7 ^8 c  L. E
  1689. ; On => Returns data converted to SQL server settings
    5 c  ?# U8 q  W  |
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    & x" S. M! c' r
  1691. ;mssql.datetimeconvert = On7 j9 W- X' U1 S+ X- U3 e5 Q' y

  1692. % m' }- h& K1 m; f2 z, M
  1693. ; Use NT authentication when connecting to the server4 M6 a4 ~, t  N8 X5 c" H$ x; A
  1694. mssql.secure_connection = Off
    7 |+ W( J( w. R6 Z) l8 I  q

  1695. 8 X0 h) i$ b' S
  1696. ; Specify max number of processes. -1 = library default1 E; b8 T3 ?. ?" i, Y7 {
  1697. ; msdlib defaults to 25
    + Q  e. o/ i. q+ @, h4 n5 j% M+ i- @
  1698. ; FreeTDS defaults to 40964 I4 b0 U, w8 i
  1699. ;mssql.max_procs = -1
    ' \4 t2 A: P8 l6 u& F

  1700. ( R, z. p' ^" }+ q* d' d$ T' k
  1701. ; Specify client character set.
    ' }) ?& {$ w# w% M# d) w, C
  1702. ; If empty or not set the client charset from freetds.conf is used
    " \3 @  R, S6 G1 r; u$ @
  1703. ; This is only used when compiled with FreeTDS2 t0 b& s- `7 e  d
  1704. ;mssql.charset = "ISO-8859-1"
    6 K9 M$ f. }6 T  y

  1705. 3 r5 H. f1 i7 t% v
  1706. [Assertion]0 E7 j" z  x- K0 \0 k5 q& }  c
  1707. ; Assert(expr); active by default.
    2 {8 |* m, J5 e3 X7 m+ s
  1708. ; http://php.net/assert.active
    , H. |. d) m  D9 S9 s! n7 t. u2 t
  1709. ;assert.active = On
    ' m9 F; h% r/ y1 T

  1710. 5 Q% e( Y9 ?; d  e3 h$ L8 n. U9 K
  1711. ; Issue a PHP warning for each failed assertion.  \& P: S- ?& s1 x3 r' Y- `
  1712. ; http://php.net/assert.warning
    ! W. @6 D5 y  }
  1713. ;assert.warning = On
    # ?4 E, j$ y) t- \+ W1 {
  1714. ( ?& N9 L  z- W5 b/ P, |& D
  1715. ; Don't bail out by default.
    ) W/ k2 ?. Y2 u$ L3 k
  1716. ; http://php.net/assert.bail! b( O" s) u7 Q& I% N
  1717. ;assert.bail = Off
    & B) b$ D3 d0 D+ X0 m+ _; |

  1718. 3 v2 G+ U7 v6 z* g8 u1 z
  1719. ; User-function to be called if an assertion fails.# U! m* p, N1 G) X; \
  1720. ; http://php.net/assert.callback
      Z; K$ j6 M6 S, |" K( V; ~
  1721. ;assert.callback = 0. J- A+ c/ x  _$ v+ y

  1722. ; ?" {  q5 v# P" ~
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    * O9 R) p; v2 n3 y5 Z
  1724. ; error_reporting(0) around the eval().
    * ~6 T! A6 U! _
  1725. ; http://php.net/assert.quiet-eval
    ! y0 l4 W; `5 z, J. I. a
  1726. ;assert.quiet_eval = 0' r0 k) |! T- ]3 x: F

  1727. . S! X2 g' v# `
  1728. [COM]7 C+ l2 d9 _' r; K4 M% N# S
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs# g8 i2 [0 o- Z8 W6 c
  1730. ; http://php.net/com.typelib-file
    ( q1 Y/ [; R- w2 ~6 o+ i! D: T
  1731. ;com.typelib_file =
    ; _0 A! h4 C# V# e, D; Q1 b; ^- P

  1732. . u. e, z7 L5 K5 J! a. A( A
  1733. ; allow Distributed-COM calls
    0 h% f& g# O- R% p7 r1 C
  1734. ; http://php.net/com.allow-dcom
    4 U$ [4 r1 x7 N% l+ B$ e' z
  1735. ;com.allow_dcom = true
    9 ~# t% E/ Z5 b* y, I. _) L# @& I

  1736. 5 l. f2 t; `7 r, Z. a
  1737. ; autoregister constants of a components typlib on com_load()
    - Z$ d7 A& F1 r  J4 o* m
  1738. ; http://php.net/com.autoregister-typelib
    " C7 @" b& o& G- _( C6 w+ c& h
  1739. ;com.autoregister_typelib = true/ _' h0 a% _4 y# }- N

  1740. 2 y) b# r- {  m% A
  1741. ; register constants casesensitive9 P& y; s- R/ f/ x& |! q' T
  1742. ; http://php.net/com.autoregister-casesensitive
    & ]" N+ l. B# U) f6 p, }# ^+ l
  1743. ;com.autoregister_casesensitive = false% S( F: \9 E: u; m

  1744. + b" r2 ~3 K# P8 U0 _* V- S
  1745. ; show warnings on duplicate constant registrations9 J8 y8 u. x2 @% O" C6 |0 B
  1746. ; http://php.net/com.autoregister-verbose: K0 r* }2 }1 e- u/ Q0 w
  1747. ;com.autoregister_verbose = true
    0 g( A4 B$ m. E0 s8 o

  1748. % X) k, B8 |6 k! N7 h" |- B
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    / Y, Y. x, i3 V( z2 T3 g3 S
  1750. ; Default: system ANSI code page
    1 e6 d' z2 g# O! S( E" Y* @$ i
  1751. ;com.code_page=
    / {3 O1 c  _0 P' A7 Z4 ^3 L
  1752. ( H; b7 n, B. V! S' I' \
  1753. [mbstring]
    ! I! X6 [+ t! J6 j0 Z
  1754. ; language for internal character representation.
    + r0 U6 T6 c# P
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    ! J( f4 Q$ p4 m  s. c: I
  1756. ; http://php.net/mbstring.language% ]) P; n& Q2 O6 o) \
  1757. ;mbstring.language = Japanese
    % ?% }# J' t0 L. ^* ^7 z

  1758. 7 i% j! c/ r2 T8 }5 @- ?6 U. ~
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    . o! _# J8 B6 w/ K' T5 D
  1760. ; internal/script encoding.
    " x2 z$ q3 o. D& j: P4 U8 a
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*), h* C+ ?5 g& T  S8 t" c3 E
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.1 n7 z; ?! Y5 I. E1 K
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    1 |8 {2 W: f! J
  1764. ;mbstring.internal_encoding =. Z1 }& i/ z7 {6 j; K
  1765. " ~) l" a) W" }2 V% z8 i
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.0 j" ]  U( n* C) ^
  1767. ; http input encoding.
    3 F  v+ \# w' E) S2 T& t' d
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.: U% g& v0 b1 x* S8 W4 s- ?
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.2 {# S: a9 A  y/ b
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input+ Z  P: o) c( `$ B  y3 O
  1771. ; http://php.net/mbstring.http-input
      m, U7 ~$ M2 m! e4 S: C! |# {
  1772. ;mbstring.http_input =
    % w8 d% b7 w. h# [! K

  1773. ; x( \5 J  G( B* a0 y4 s
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.. ?% g7 G. _  H+ R
  1775. ; http output encoding.
    * O& O0 a) U* @3 @  ~* W& n4 U
  1776. ; mb_output_handler must be registered as output buffer to function.
    8 r' ^2 L% Y% Y
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    , X* r8 G. N$ g  J
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output0 l$ }% L& C1 R5 R+ h
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    6 P/ W3 s+ K% ?4 [$ l6 G
  1780. ; otherwise output encoding conversion cannot be performed.
    ( G: I, z) d4 w) e
  1781. ; http://php.net/mbstring.http-output
    ) m3 F. Y: r4 e
  1782. ;mbstring.http_output =6 \% J" o6 g- t/ w. D
  1783. 4 D9 M! y! ^- }% k% p9 h: j
  1784. ; enable automatic encoding translation according to2 a6 S. k! P5 L6 J/ k
  1785. ; mbstring.internal_encoding setting. Input chars are1 G1 Z! g, N4 q6 |
  1786. ; converted to internal encoding by setting this to On.
    + ]* _# y7 B# L+ ^
  1787. ; Note: Do _not_ use automatic encoding translation for
    2 S6 [. F+ s  G* w
  1788. ;       portable libs/applications.
    * S: O, `% U  R- e# V# k5 }8 c4 |
  1789. ; http://php.net/mbstring.encoding-translation
    " C* C& r4 A" z
  1790. ;mbstring.encoding_translation = Off
    4 s0 u2 K: O( r, |0 E; P& }+ b

  1791. - E, Z( Y) p+ m7 y
  1792. ; automatic encoding detection order.- ^) l5 F6 g  l' P
  1793. ; "auto" detect order is changed according to mbstring.language
    ; o( q" p: e0 D( m9 S5 _8 Z' r
  1794. ; http://php.net/mbstring.detect-order
    % ]3 \- K: R7 _+ I
  1795. ;mbstring.detect_order = auto+ }2 Z2 I5 I  p6 U, ]
  1796. . G8 S% u$ ]8 y7 C" n+ i# j
  1797. ; substitute_character used when character cannot be converted5 K5 r/ {! ]- [
  1798. ; one from another" {) P* W% k# X6 Y/ W$ ?3 S
  1799. ; http://php.net/mbstring.substitute-character. p8 u, j0 \% e7 V1 ~$ a- v
  1800. ;mbstring.substitute_character = none
    8 W# `, S  F! b& s2 o! r" R) }
  1801. . Y# ]1 B# l% W7 \
  1802. ; overload(replace) single byte functions by mbstring functions.
    ( T; _$ a0 ~: {2 f+ C7 o4 X# T
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    0 h+ C" ^9 \$ u) ~' d1 `
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.0 e' v) s! H; T
  1805. ; For example, 7 for overload everything.
    4 b) E6 M+ l! b& l
  1806. ; 0: No overload
    5 K- a5 m/ k6 t$ `, D
  1807. ; 1: Overload mail() function
    6 a: g% L: P& e. r, p4 b
  1808. ; 2: Overload str*() functions: q% ^8 J. R+ p8 T* N
  1809. ; 4: Overload ereg*() functions; q, U2 A7 E2 `- d. d# d
  1810. ; http://php.net/mbstring.func-overload. w1 t; h3 j) j0 q( k4 f
  1811. ;mbstring.func_overload = 0; |" J; G  J$ I  X
  1812. 4 W7 ]' ?2 C- d  j: G+ u
  1813. ; enable strict encoding detection.
    / P+ W6 i$ {! C! G( k$ ?' e! C, e
  1814. ; Default: Off
    / i' H  C4 b$ K5 R7 V
  1815. ;mbstring.strict_detection = On
    % q. L( x# n. M4 O

  1816. , V7 z+ S- q& D
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    * y# U/ A8 A3 J& q- H. m1 j8 |5 H
  1818. ; is activated.
    ) O8 a) h, P, @: L2 r
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)' c  i# [! R" R1 b5 V! \
  1820. ;mbstring.http_output_conv_mimetype=; J' `3 ~: v0 a4 U7 N2 C

  1821. * t/ u6 F! @# k
  1822. [gd]
    + _2 s) T4 j6 r1 P5 L/ ]  Q
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    ) [# I; L, B5 N
  1824. ; a gd image. The warning will then be displayed as notices; S1 O: m4 c; I4 e2 E
  1825. ; disabled by default( I* i2 j( @% ?2 s4 Z! f$ X  W
  1826. ; http://php.net/gd.jpeg-ignore-warning5 G9 p9 J" j4 L8 h: l0 P& G) u
  1827. ;gd.jpeg_ignore_warning = 0: D, H2 d7 o, ^
  1828. 2 A$ U! C% k1 Z  z( g
  1829. [exif]7 g. g4 B: Y5 B
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    8 }, _) |! _: e7 g9 i) [
  1831. ; With mbstring support this will automatically be converted into the encoding
    : I+ }' Y5 B# F4 j) @& @* V
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding1 g$ o- L& N, A# Q) V, w
  1833. ; is used. For the decode settings you can distinguish between motorola and
    & e  y: M: F  Q" a8 I
  1834. ; intel byte order. A decode setting cannot be empty.! f- G4 ^* E- z' W/ {
  1835. ; http://php.net/exif.encode-unicode
    : F8 i2 C& `; v9 A4 r, d9 z
  1836. ;exif.encode_unicode = ISO-8859-15
    & z) g: N; s* b( f- d) O

  1837. 6 o9 P( O# b: N" f5 ~, k
  1838. ; http://php.net/exif.decode-unicode-motorola% }* y: l9 V* _4 w. O  z
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    - T0 R' ]+ U7 f' n& ^. r# b! K

  1840. 9 B3 C- B5 W: s. c/ ]. k
  1841. ; http://php.net/exif.decode-unicode-intel
    ( P- T* [1 s$ v" T! h
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    ! x9 u& M; p  x: D! t
  1843. 6 Q$ _8 T3 u  D/ S; F- v
  1844. ; http://php.net/exif.encode-jis
    1 v( x+ T2 b# C9 W
  1845. ;exif.encode_jis =, i8 v! }8 U" \+ H6 }
  1846. / k3 T# s6 A1 I# w3 `, L. F
  1847. ; http://php.net/exif.decode-jis-motorola
    . l! h, W# y7 Q+ w. ?
  1848. ;exif.decode_jis_motorola = JIS7 m3 c/ @1 B" O* @3 n5 y

  1849. / L3 g8 W% n6 l. J4 s) P; e. X
  1850. ; http://php.net/exif.decode-jis-intel4 p  c+ n* h! _; z0 r0 x3 n1 S
  1851. ;exif.decode_jis_intel    = JIS
    9 E6 i0 I* }! _9 i. \

  1852. 6 J3 _' R1 g- Y& N. z1 v* h& m
  1853. [Tidy]/ ~+ R( I# r3 p/ u6 i
  1854. ; The path to a default tidy configuration file to use when using tidy
    5 f. \- j, w# ~, G+ V8 i9 C4 k# V
  1855. ; http://php.net/tidy.default-config* v. v: e; M" i6 d
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    : T) ?) _. D  h! ^$ f9 ^
  1857. + M( E( D3 A( h- v; N& F
  1858. ; Should tidy clean and repair output automatically?
    : g( I6 a2 y0 A1 r- v  c0 `' Q
  1859. ; WARNING: Do not use this option if you are generating non-html content  y6 |1 G. ^" V8 U! S- X1 [- G# n% I; V
  1860. ; such as dynamic images
    & p! |7 [; D6 H- r3 M
  1861. ; http://php.net/tidy.clean-output
    " r" K: {& X. ~: U9 k
  1862. tidy.clean_output = Off
    + R8 @. v% ~7 q0 y# f3 }+ b
  1863. & {" {. ~1 J2 J* u
  1864. [soap]$ j* o1 a' W; |1 H* V/ F
  1865. ; Enables or disables WSDL caching feature.
    , F; e" g$ \9 x9 j/ Y4 I, U6 v) ?
  1866. ; http://php.net/soap.wsdl-cache-enabled
    # {) {$ L6 f9 N. y
  1867. soap.wsdl_cache_enabled=1
    . z' |2 S2 t# v  T4 ?

  1868. ! O1 D3 E, v9 }: K/ X- {1 ~0 z
  1869. ; Sets the directory name where SOAP extension will put cache files.8 J. l' b* s) A/ T, A
  1870. ; http://php.net/soap.wsdl-cache-dir  D) f; j# H' R4 z$ U: L& Y/ }* F
  1871. soap.wsdl_cache_dir="/tmp"
    5 u2 W" |" p) K5 `

  1872. 4 i8 r0 f7 p5 [/ q- d1 s
  1873. ; (time to live) Sets the number of second while cached file will be used& v# X% ?+ D6 D7 J9 `; l# f* z
  1874. ; instead of original one., u2 P, C8 c$ M0 R- V' O
  1875. ; http://php.net/soap.wsdl-cache-ttl
    4 H% q) w2 _, W- O: b
  1876. soap.wsdl_cache_ttl=86400
    ' c! V; [$ ?1 o5 `$ {! R6 r# ]
  1877. / P$ I8 d# O. d6 z" q5 J* m
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)9 \9 f# T: X; `+ g6 S9 h
  1879. soap.wsdl_cache_limit = 5
    ' i3 R( a$ m% B% p7 e3 i# s$ h8 b
  1880. 8 Q& S8 g4 T+ {  |* q; V
  1881. [sysvshm]% b" l  O7 J1 R/ f% n
  1882. ; A default size of the shared memory segment
    ( G" ^: B! ]% @9 a/ q: Z
  1883. ;sysvshm.init_mem = 10000
    . V9 P% E7 R) ^9 U4 D+ x

  1884. 5 ]4 |) K5 `3 U. E/ K
  1885. [ldap], E. J+ j. q0 i
  1886. ; Sets the maximum number of open links or -1 for unlimited.; ?' g0 \  {: S* {# p' O5 f
  1887. ldap.max_links = -1
    7 \  T! M+ M1 g3 v1 }& b. ^! `4 y" S
  1888. 8 Y, t4 R1 u$ i5 ?8 R; |6 n( s
  1889. [mcrypt]4 u# n" a: ^( _0 N8 E! t
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open9 N- s" L1 c/ z% R/ E! z8 `: ?
  1891. ! O( I" M+ {. ^: g3 j* s
  1892. ; Directory where to load mcrypt algorithms% B& R  H6 ~4 ~- {; O9 V, o
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    . a2 x$ k$ a8 f: G$ d
  1894. ;mcrypt.algorithms_dir=
    ) K+ m  {. t7 I7 B
  1895. 9 L" L5 ]) j" d0 X8 f4 s
  1896. ; Directory where to load mcrypt modes
    0 X2 U( t  ~/ W" f
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    # [: F# X" `4 H* l
  1898. ;mcrypt.modes_dir=
    2 g! Y! }5 @8 K9 N% @

  1899. " i' p  @7 L# x) m
  1900. [dba]" e) K* ]9 Q6 N5 E- V5 N8 t
  1901. ;dba.default_handler=
    " U9 U% |% @# o0 q# F7 ~
  1902. ; ~" i8 H7 c- A5 w5 F6 [4 N
  1903. [opcache]
    , M: V+ e' r' ^% l
  1904. ; Determines if Zend OPCache is enabled; z+ `2 Y9 N1 I5 ~. E$ ^5 A
  1905. ;opcache.enable=0
    * Q, h7 P2 }5 ^  P/ o* j

  1906. $ I! }! i6 V9 e% e" l1 q
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    ) O; x8 ^: n/ q& Q: Y+ x
  1908. ;opcache.enable_cli=0: `3 f+ {1 K+ N- i3 A- v+ R* G+ H
  1909. / T2 J# M1 J, ^/ e% a1 L
  1910. ; The OPcache shared memory storage size.
    . |/ f% {* ~8 R9 R; X2 _
  1911. ;opcache.memory_consumption=64) z$ @7 ?, m8 d& T3 _
  1912. 7 [& ~- j( i* [3 A
  1913. ; The amount of memory for interned strings in Mbytes.
    # _% a2 G8 Z* w* ^- i) d! l4 `
  1914. ;opcache.interned_strings_buffer=4# f1 s/ @; P; F3 Q, l2 Y8 k

  1915. 4 \+ L! v" y; ^
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    0 q! h: r  t1 b" @* P* r- b5 n
  1917. ; Only numbers between 200 and 100000 are allowed.
    ( M: r6 {1 C7 F0 [* F
  1918. ;opcache.max_accelerated_files=2000
    3 M% t* m& ~7 X7 ?, G
  1919. + A4 u( c( Y/ N3 q4 b, L
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    9 e) |* W: r- X) b  M* d
  1921. ;opcache.max_wasted_percentage=54 `' B& {6 Q9 e
  1922. 5 d3 \$ b. S# y7 ^4 V: D2 H+ j
  1923. ; When this directive is enabled, the OPcache appends the current working" l/ O+ w$ K  S* z3 Q) Q& r/ Z4 _
  1924. ; directory to the script key, thus eliminating possible collisions between
    6 V. O! V5 q: ^6 r& |9 W5 }' L
  1925. ; files with the same name (basename). Disabling the directive improves
    " U/ h, }% r6 B$ I  y7 y
  1926. ; performance, but may break existing applications.
      `7 I6 U4 c5 J: _
  1927. ;opcache.use_cwd=1- C; I+ W  ?* h) `
  1928. / h: b" t" O9 S5 x
  1929. ; When disabled, you must reset the OPcache manually or restart the3 U- H1 [4 i; `. r* ]
  1930. ; webserver for changes to the filesystem to take effect., m& K, S, S8 o" X+ y
  1931. ;opcache.validate_timestamps=1
    0 Y' Q  D+ I4 I% d! I) |
  1932. 3 J0 m+ h- F) C+ k- |1 K" A: n
  1933. ; How often (in seconds) to check file timestamps for changes to the shared# {  \5 w1 J+ Z9 a
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    6 ?9 ^* l+ J$ Z( L- M9 c- D
  1935. ; once per request. "0" means always validate), B1 z$ J+ s+ }) E
  1936. ;opcache.revalidate_freq=2
    ! a3 O" \$ \& W# P
  1937. % @5 R1 ?4 \8 @/ N/ @( v! l+ q
  1938. ; Enables or disables file search in include_path optimization; f, U! o' |3 D; X
  1939. ;opcache.revalidate_path=0; M0 e1 Z5 B$ A# W; g
  1940. ( a( C8 t; g% [
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    + O+ i, A: ?' U. H/ @" L5 @
  1942. ; size of the optimized code.% [' G+ H$ k2 o- a9 v2 ^
  1943. ;opcache.save_comments=1
    / J1 o9 r6 }1 H4 L. c+ D

  1944. " Y- p! Q$ ?# c; X  m4 O# r
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"0 F3 P# Q) c4 u- @  d
  1946. ; may be always stored (save_comments=1), but not loaded by applications) O0 E0 O1 X" A/ v; A+ M$ F; q
  1947. ; that don't need them anyway.# A; q' j& _+ `3 W4 l
  1948. ;opcache.load_comments=1
    + z; D) Q/ r' P: Y. V

  1949. ! b* \+ ]$ D$ Z' y: k7 r
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code, Z5 Y4 S! x) I0 n
  1951. ;opcache.fast_shutdown=04 ~/ [- T; E9 N
  1952. , L& R' i) m7 F' M" O: P* s+ P! Z
  1953. ; Allow file existence override (file_exists, etc.) performance feature.3 i8 s8 C9 s' @! t$ w2 V/ t
  1954. ;opcache.enable_file_override=0
    6 P8 v6 F" B' \! {- }

  1955. 0 |. I6 e2 v" z/ O/ s! K( r# I
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    9 l+ J" x3 o" Q& b7 [; m( W
  1957. ; passes
    1 X! U  K$ z$ e9 {$ o, K
  1958. ;opcache.optimization_level=0xffffffff
    : q, T6 V9 M$ G# v3 n+ j
  1959. : f5 Y2 J5 j5 G
  1960. ;opcache.inherited_hack=1
    0 I1 k. V  ?8 q( }* Y
  1961. ;opcache.dups_fix=0
    0 s1 k# m; d8 |7 \
  1962. - i$ ?9 N$ O- b& ?5 W/ m" E
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    ; ]0 ]* ?1 l! v7 G5 }6 b
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    5 A! D3 L4 @9 i: B9 f: \" B- F) c
  1965. ; that should not be accelerated. The file format is to add each filename
    # f; k% P) `( s6 e; a
  1966. ; to a new line. The filename may be a full path or just a file prefix& P- y  w! @* @& c
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
      j( y2 Q: L* k9 M4 s9 K
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).5 _. a; I% b  P% M- E$ d7 e7 j
  1969. ;opcache.blacklist_filename=# `  v* ]1 s3 A1 a5 W$ V) \4 j

  1970. 1 k' }4 E+ v/ Z- }6 i
  1971. ; Allows exclusion of large files from being cached. By default all files
    1 i6 @% k( b$ n2 u5 I0 ^4 b
  1972. ; are cached.
    1 d; O! j3 T& K. X& h
  1973. ;opcache.max_file_size=0
    & Y$ z0 w" \( ?; t( ]0 V, h' t
  1974. % D  z1 q+ Q& U
  1975. ; Check the cache checksum each N requests.
    ) U, b  v) g$ q) u& r* m
  1976. ; The default value of "0" means that the checks are disabled.
    0 D4 _7 o) t) O6 S8 C9 I
  1977. ;opcache.consistency_checks=0: B- i4 c0 \4 e

  1978. 3 r* m% x8 u- j7 M( K
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache" ~* L& e3 W# r% R
  1980. ; is not being accessed.% ^+ p+ I& Y8 z4 v. w  m- r7 i
  1981. ;opcache.force_restart_timeout=180
    3 v( V* O, a: }' p: a' I$ W

  1982. % I0 S9 a2 E  T& i
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    " l% l- E1 R4 g/ W. y7 k% u5 G, r
  1984. ;opcache.error_log=' S+ f  v: [, `& K2 T. Z
  1985. . v$ @$ a4 I0 g( H# g
  1986. ; All OPcache errors go to the Web server log.
    ; w2 i5 w9 ~" `6 v4 V, f
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    4 X" Q( F- T) A$ Y
  1988. ; You can also enable warnings (level 2), info messages (level 3) or: m) X$ m" ?# x( R6 g$ p
  1989. ; debug messages (level 4).
    1 U6 H- T: Q. V6 X
  1990. ;opcache.log_verbosity_level=1
    1 x: U7 Q! q. x% B4 w* o5 r

  1991. 4 G- L+ O! P, ]
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    ( g0 l. M& J7 J& X0 `/ U# G' k
  1993. ;opcache.preferred_memory_model=
    . C: J! H( Z  J2 O! }% O' i

  1994. 3 t  m4 w2 u% f8 F3 ~/ N( |
  1995. ; Protect the shared memory from unexpected writing during script execution.3 |  a) M# Y& A4 ~+ M4 Y  r
  1996. ; Useful for internal debugging only.3 d' R: p- W6 }
  1997. ;opcache.protect_memory=0
    6 B. o5 h. f, ~: t0 C- O( ?

  1998. % ~' l6 X- \" \# v. Y
  1999. ; Validate cached file permissions.
    7 ]- W8 q; Q" o9 b6 i) A1 ?$ i
  2000. ; opcache.validate_permission=0; B) G4 D+ J0 `' D0 g
  2001. . C: `* X9 A) s' q: C
  2002. ; Prevent name collisions in chroot'ed environment.7 V, f# _- v  q" d) S* F
  2003. ; opcache.validate_root=0- S9 E) P, m  m' N! _; o, d  j7 D
  2004. ; t) W( ^5 p& L  a* j
  2005. [curl]1 i& \/ s3 c: w# s2 {4 ~
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    ; q! ?& ~) E+ q( T( ?3 I2 H
  2007. ; absolute path.1 `: e- u9 l# v- Z3 y- T8 S
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    2 ]1 k' G2 ?% |# y8 e1 K

  2009. . ?! D. W1 y5 y
  2010. [openssl]6 C/ D& e8 u  x5 Y! d
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem% |% e, p6 i3 H
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    7 D% R% T* s. b5 n* z( Z; _6 ?2 X  a
  2013. ; not specify a value for this directive as PHP will attempt to use the
    : z& Y. [; z( O
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    # ^, }- f# L. r; w( g! u9 M
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    ; i1 ]/ c8 B: ^# h" p
  2016. ; option.
    % R* H0 F4 }: ?2 K, a
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    : |. k% F7 W3 Y9 l4 k9 d( f
  2018. ! ?6 `. X3 F5 K. @0 H, _$ c! V, y
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the* Y$ |5 y1 ?" _- F4 E
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    & ?' A0 F- }( Z, ~0 |3 p, Z( J
  2021. ; certificate. This value must be a correctly hashed certificate directory.& W, |1 u, Y7 C+ e/ u: e) {
  2022. ; Most users should not specify a value for this directive as PHP will3 A$ }& {5 k) d. `; C) [
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
      \& H1 T7 W+ P1 L/ U0 \: d
  2024. ; this value may still be overridden on a per-stream basis via the "capath"& |' ]7 v# N/ H' h: U2 i* S  @
  2025. ; SSL stream context option.
    3 ^$ s! ?+ P! N+ w4 {
  2026. ;openssl.capath=2 o, L, M; K( J4 l3 C& [2 O: M$ F
  2027. 5 ]& n* x+ \5 I8 y
  2028. ; Local Variables:3 U, z3 Q; @# v/ n6 Z. m9 y
  2029. ; tab-width: 42 B  S  u$ W) M0 F) z- n. G
  2030. ; End:
    1 o8 ^5 {1 E; G  M  f- O
  2031. & @2 L9 m9 A. W9 U0 c
  2032. ;eaccelerator* l$ ?& X7 D# k: u& c

  2033. ) ]( u0 h$ v. [, j# J7 @7 h& _' l
  2034. ;ionCube! B& G' e( K& B7 t7 ]! Y
  2035. , m3 C1 H4 j* [: ~* X
  2036. ;opcache
    ) }# E% j( S; d3 r& V
  2037. * |) s! Z+ W$ g5 o
  2038. [Zend ZendGuard Loader]/ G% X7 i* Z: D' h
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    5 o( y4 i, L+ s* P; M+ ?! }
  2040. zend_loader.enable=1
    * o" }2 v0 u4 q# T' y8 w8 e; Z$ h
  2041. zend_loader.disable_licensing=0
    4 p9 f, C* O7 M7 N( X
  2042. zend_loader.obfuscation_level_support=3  A! f: o* ^( m+ w$ |" |& g9 t
  2043. zend_loader.license_path=# Z1 x0 M/ X7 d" }% E& L# e

  2044. " w. @5 U& D- b$ O( `3 S8 Q: I: K
  2045. ;xcache! R/ o3 G% v/ f1 H+ Q' R2 d( D- E

  2046. ) h2 b; k8 p2 y
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692& C* s( p; ~1 e
% P+ s) V* S* h& ~, H2 u8 ~& a" K, f
9 T0 C  R3 E7 a; v% z! A
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
: |3 E) d7 g  y! L. B! ^+ V' {) d7 Y
Discuz!程序版本选择:  U% ]9 U+ I4 s( N
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
+ z0 D! N, h% L# f9 J. J$ ]' n不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:4 @2 G1 u1 L) t5 V* Q, c
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。
% N) T1 r+ n- H, P6 s" j9 y/ M. q' G( O+ ]# t+ |9 {* I
Discuz!插件模板版本选择:
2 v$ L5 W; z1 R* j0 u( H很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,2 U4 Z- X' \" I1 `
针对这个问题做个统一的普及:
3 I: s6 i5 M. l# V5 V/ s" z$ p# }X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。( |4 u4 G: X- Z
! b9 @3 v' |: c2 q+ C% C! X8 V
所以
( Z2 t! G; y' l适合Discuz!X3、X3.1版本的DZ插件、DZ模板是适合并兼容 Discuz!X3.2站点使用的,请站长放心安装使用。但适用于X3.2版本的应用90%以上是不兼容Discuz! X3.4和php 7.x的,请格外注意!!!
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-12-2 01:25:25 | 显示全部楼层
添加网站的时候一定要添加两个站点,一个是主域名,一个是www的二级域名。
: m* N, ^( [5 Q2 w; a1 ]- ]打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。; Y; G# Z& B, z/ j- Q" U
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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