分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
1 D$ s8 [2 c8 M6 w5 ~# N# {! H- S, y% k
  1. [PHP]
    : ]* h2 d: N8 `2 Q% I

  2. + Y/ }; j. K1 |
  3. ;;;;;;;;;;;;;;;;;;;3 O7 O- c. p' [6 \# X+ M$ f
  4. ; About php.ini   ;. M9 r7 [; X) i* I* ~, K
  5. ;;;;;;;;;;;;;;;;;;;) `  _; q. `6 w5 |& Q; T
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    5 [, m) x! w) f$ \+ z& R
  7. ; configuring many of the aspects of PHP's behavior., S7 H& I' k$ O+ j
  8. * i% |+ a% C5 I* E" z
  9. ; PHP attempts to find and load this configuration from a number of locations.; o+ S5 Z- f+ J4 Y0 c$ v
  10. ; The following is a summary of its search order:
    / g2 u, b* N* s4 B. }  U
  11. ; 1. SAPI module specific location.
    ( {& u( K. h5 Y7 j8 Z! l# o
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    9 R% a; s! I0 I! b) D
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)- b4 L( B/ |! B6 q9 @9 Y1 P, U
  14. ; 4. Current working directory (except CLI)6 U# |' p0 Q) [2 d' b& v' `% U
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    7 A/ b, K; U0 W' l( f
  16. ; (otherwise in Windows)- P1 `) K( W8 @+ p
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    ( r, _3 @& x3 w7 l3 F: P
  18. ; Windows directory (C:\windows or C:\winnt)) w* s* n& w$ @) g8 h
  19. ; See the PHP docs for more specific information.1 A! @. H- b, d0 I; K
  20. ; http://php.net/configuration.file
    $ A, B3 K' Z  M% @

  21. 8 r" S. R& ?/ s! g/ [; E2 ~
  22. ; The syntax of the file is extremely simple.  Whitespace and lines$ `+ l4 D; p+ i- j0 Y1 t/ p, ?4 h
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).* \; x$ N+ n+ `7 B! e
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though6 Q8 k: `3 T0 `" Y6 _! f
  25. ; they might mean something in the future.
    + @+ y" t$ A- ?6 e; x7 S  X; V

  26. ( x+ a' B- r! N" B& [
  27. ; Directives following the section heading [PATH=/www/mysite] only% a* G7 O2 v8 N) m4 `/ U" c: Q$ [; j
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    * V6 F( ~3 Y6 T
  29. ; following the section heading [HOST=www.example.com] only apply to  g9 s" S" b2 c) ~6 ~3 c, C
  30. ; PHP files served from www.example.com.  Directives set in these! x8 h3 ~) M0 z. N% r1 K$ P
  31. ; special sections cannot be overridden by user-defined INI files or  [  B/ I& R+ G1 C! z% l; y
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    # e$ `5 i) [  f0 ~
  33. ; CGI/FastCGI.
    9 c- S2 P$ {, ?0 q
  34. ; http://php.net/ini.sections
    * ^: l5 j. @3 X
  35. 7 S7 o  z7 n5 ~7 n
  36. ; Directives are specified using the following syntax:7 K1 P- e1 j2 C8 B) _% a
  37. ; directive = value. E) r% p" h. E, F
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    $ V' f+ A7 `' U3 x
  39. ; Directives are variables used to configure PHP or PHP extensions.
    ( N7 z' Q4 M; Z: A9 Y% k6 P
  40. ; There is no name validation.  If PHP can't find an expected
    1 z& f% {5 n2 M" g+ P- W& t
  41. ; directive because it is not set or is mistyped, a default value will be used.
    # c9 }4 ?5 X, w( f) p/ \, T

  42. 4 [8 s) Q- r* A! P/ t# z3 t8 t& Z
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    % F8 R+ b* t$ T) S( V
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression! A5 ]3 @4 B) a' r
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a" s% O$ s$ _0 }& D
  46. ; previously set variable or directive (e.g. ${foo})" ]6 ^+ f6 }7 M" ~  v: Q7 o8 x% N

  47. $ {+ l6 f$ z' D) ^
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:% M! m% _' j) W7 y4 j5 g
  49. ; |  bitwise OR) L# S& |8 t4 @. _3 P# w
  50. ; ^  bitwise XOR
    7 \* o* Q* {+ g. d/ J/ k) A- i
  51. ; &  bitwise AND. P+ H# z5 \4 t( L* a( Y
  52. ; ~  bitwise NOT
    1 e  _# C; n. z
  53. ; !  boolean NOT9 U8 D  C/ x# s& A# d, N

  54. 7 T1 {! S) J5 {6 [- L8 r
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.2 Z3 `! w( w: n: a4 n
  56. ; They can be turned off using the values 0, Off, False or No.# I, r+ A0 ^. `9 a6 k. o, V$ I% x; r

  57. 2 i1 O! c; P5 K1 r1 E6 s; W9 I
  58. ; An empty string can be denoted by simply not writing anything after the equal
    : P) S* M6 t/ J
  59. ; sign, or by using the None keyword:
    . W; n/ x3 ~" U. `3 j

  60. , Z' q+ [3 n9 n: P3 |& x, V  `
  61. ;  foo =         ; sets foo to an empty string
    % J8 ]0 ^2 R2 m5 u
  62. ;  foo = None    ; sets foo to an empty string
    # F5 T& O( }6 Z  [% t
  63. ;  foo = "None"  ; sets foo to the string 'None'
    9 c8 B2 t. L; F% y; O

  64. - Y- x3 h: u( B, e* [
  65. ; If you use constants in your value, and these constants belong to a
    # C( a9 u9 K1 E4 N: x
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),& {' z) _/ a8 N9 A
  67. ; you may only use these constants *after* the line that loads the extension.
    : C# {9 |4 @" Z! e5 E4 T

  68. 6 R4 Q. z( o2 W* O4 x/ c6 W
  69. ;;;;;;;;;;;;;;;;;;;/ Z6 }/ L4 o7 |" j/ I$ x  C
  70. ; About this file ;) i9 i. X, h7 n* d) J" D
  71. ;;;;;;;;;;;;;;;;;;;
    , P0 Y( G0 g: Y8 V# e: l
  72. ; PHP comes packaged with two INI files. One that is recommended to be used9 j. {+ b- k& L' U' s$ v9 s
  73. ; in production environments and one that is recommended to be used in
    % i& {5 I8 \( M
  74. ; development environments.# L8 k6 S4 [% c: K4 y
  75. % a3 k1 Y, P# @' q  n1 z( f
  76. ; php.ini-production contains settings which hold security, performance and
    - p5 L8 _, ^+ v9 H8 Z$ G1 z% U; S
  77. ; best practices at its core. But please be aware, these settings may break
    1 @7 E4 f, O( Q. h5 r* [# C
  78. ; compatibility with older or less security conscience applications. We
    ( M' S$ w6 l. n: O
  79. ; recommending using the production ini in production and testing environments., J% t6 ]: D# S0 H" U: A  e/ A
  80. 1 D" Q+ P0 O. \6 ~" L
  81. ; php.ini-development is very similar to its production variant, except it is1 ^  {* u, f0 ]$ v! `: \# f; ~- l
  82. ; much more verbose when it comes to errors. We recommend using the
    . P. ~, M1 P4 l2 e3 V; A8 s
  83. ; development version only in development environments, as errors shown to
    0 Q2 n6 d0 i- `
  84. ; application users can inadvertently leak otherwise secure information.
    ) Q+ F+ K* e! N
  85. % `! _: a; W2 F2 n2 y& |
  86. ; This is php.ini-production INI file.
    / L7 o5 {: W$ R( H4 s* h; h2 w/ c3 g
  87. 3 y  ?, k* T0 f0 R5 ]) y
  88. ;;;;;;;;;;;;;;;;;;;+ {+ {8 d( u  E  C, w% A+ U  i# h
  89. ; Quick Reference ;/ I( T/ D# i: y- s( {9 G' Z: Y, t
  90. ;;;;;;;;;;;;;;;;;;;
    & F7 j! b" O3 s6 G: g3 G
  91. ; The following are all the settings which are different in either the production+ o0 g0 \  U$ q1 U  u; k, B! k
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    3 ]  r+ E4 E  w- i) n  q( i; n
  93. ; Please see the actual settings later in the document for more details as to why8 P+ @" D8 R, D: ]$ P  X: ~$ J8 z, K
  94. ; we recommend these changes in PHP's behavior.
    6 w6 J3 X3 ?; w
  95. " t3 d# ~+ u( @' b2 H
  96. ; display_errors$ [. I* J# H4 q: s4 F2 b6 G
  97. ;   Default Value: On  u, E' p1 |2 Z, o
  98. ;   Development Value: On
    0 C- T0 W8 x9 b" l; V+ r
  99. ;   Production Value: Off
    8 v/ Q- |$ S8 P# w" g' R0 f% c$ f

  100. : Q% L+ R; |7 R+ Y
  101. ; display_startup_errors
    " }; K* G: Q2 I4 s$ {4 V7 m* G4 x
  102. ;   Default Value: Off1 q8 @# L- p5 H* j# P
  103. ;   Development Value: On
    * P! I/ T6 u- u4 j* H$ y1 q
  104. ;   Production Value: Off
    7 l( `& X8 S: E# h7 ^, R3 x

  105. 4 E& c. s  b+ h+ J$ n& m
  106. ; error_reporting
    0 r2 j5 [* d5 Y1 b5 X: q" c) B
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ) [  |  r5 u. Q) X4 O
  108. ;   Development Value: E_ALL
    % A3 V% g4 B. U
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT1 A; E" J% j2 ?- D

  110. % f9 W: E" d0 k5 E. H
  111. ; html_errors
    9 z- z1 Q; Y. {9 U8 K
  112. ;   Default Value: On6 a) G$ ^; ~, f$ k% z4 g
  113. ;   Development Value: On# q/ A$ T; Y  B+ }
  114. ;   Production value: On
    - |) y( p% \4 r7 Z4 [+ g0 \
  115. , ~2 l" x1 c$ Y
  116. ; log_errors! s2 U: k+ v  X& A
  117. ;   Default Value: Off
    6 J7 q+ H! t/ ]3 C$ y; }! k
  118. ;   Development Value: On
    9 L: ?9 E$ a& x6 a% U
  119. ;   Production Value: On: M* E' l- |3 B/ w
  120. + h  M9 U" j- r% U  u
  121. ; max_input_time
    & ~; s- L$ w- t3 F* Q
  122. ;   Default Value: -1 (Unlimited)8 l0 k" d' o: |3 T; O3 r3 b
  123. ;   Development Value: 60 (60 seconds)
    - {' d/ s3 t/ ?
  124. ;   Production Value: 60 (60 seconds)
    5 A9 r9 j" y8 R' J) ^& q! M) I
  125. 4 X4 r# s- e! B1 O
  126. ; output_buffering4 z; g+ g' Z) W5 R+ n- P4 s; [
  127. ;   Default Value: Off
    ; F3 P$ k2 Z; J$ H3 v1 z
  128. ;   Development Value: 4096; Z) m8 @! q( k% s) L
  129. ;   Production Value: 4096  ]- |3 ?, Q% f5 W5 B
  130. ) ^, g1 a" `$ \* [+ j/ r" g
  131. ; register_argc_argv
    ! {: [$ x, V% N; w# w# H( m
  132. ;   Default Value: On1 G" Y. P" x9 I7 M7 y
  133. ;   Development Value: Off3 r0 t9 q, \5 j
  134. ;   Production Value: Off
    + ~% v+ e6 r$ m: u$ I
  135. ) D: t0 J; R4 k+ }5 ?6 E
  136. ; request_order
    7 P, j4 T7 F$ w( f( L7 I
  137. ;   Default Value: None8 `# g4 f! F2 _) w8 [# C( m
  138. ;   Development Value: "GP"
    ! P" z& M; R* p9 e
  139. ;   Production Value: "GP". V1 N$ |/ f1 k! @: I$ {2 M
  140. ( E& o- W" S4 X5 V0 `; R& q0 x
  141. ; session.gc_divisor
    : _* S# D. ^+ N! n
  142. ;   Default Value: 1000 u. o) Y0 ?) u+ \0 U
  143. ;   Development Value: 1000
    / ~; `7 L3 x1 V' Y
  144. ;   Production Value: 1000' j0 v% R# c; a7 E' m4 K+ M, H6 j4 T

  145. ! F3 `/ ^2 a: Q
  146. ; session.hash_bits_per_character7 Y, G. L8 F7 B9 r
  147. ;   Default Value: 4. _. ~7 E( X. m9 Y0 c
  148. ;   Development Value: 5' E$ [% r0 f' r# f4 z
  149. ;   Production Value: 5
    / R( P. C- n; ?$ u7 b% L! E& i

  150. 1 \! \) t: A( }! L' `9 U$ V
  151. ; short_open_tag9 ~; D! _! ~! f9 G+ ^
  152. ;   Default Value: On
    ( @6 x" N: ?- a- y
  153. ;   Development Value: Off
    6 }/ s/ S5 X2 k9 O5 ?2 e6 y
  154. ;   Production Value: Off
    6 |. y+ t. F5 s+ x  ^% m
  155. 1 \5 ~3 ~( B( `6 y
  156. ; track_errors* p1 U& K! }" W1 m! l7 H
  157. ;   Default Value: Off
    ) D5 T( i. @' S1 Z5 `: b1 c! x
  158. ;   Development Value: On
    . ?' s  M" _4 a6 V7 b1 U
  159. ;   Production Value: Off
      T5 Q2 N5 |- H+ y; \

  160. . k9 j/ x/ n' w8 @
  161. ; url_rewriter.tags
    3 ~4 T: [4 h: J: V) n0 p4 {
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
      p' R+ E5 M8 l
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    * q4 v" i& D+ I: a, c/ W6 }
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"0 d& p. r" }( X7 P$ V3 M6 ^% ]4 F" j
  165.   w1 {" H: R! j+ O# V  P6 }, v
  166. ; variables_order7 b& D. c: ^* f
  167. ;   Default Value: "EGPCS"
    8 i! j  w" J& u2 e# Y! x
  168. ;   Development Value: "GPCS"
    - E9 N$ J: Q6 H: f
  169. ;   Production Value: "GPCS"- F' Z7 \1 S; l, j& c5 ~7 Y

  170. + R/ H5 V% E7 b4 r' N
  171. ;;;;;;;;;;;;;;;;;;;;6 Y$ l4 U# s2 D0 Q* c8 ~& P7 T
  172. ; php.ini Options  ;
    . Y. l0 Z0 |' x, F- t
  173. ;;;;;;;;;;;;;;;;;;;;
    % W6 u$ d* f' [5 Y/ Z
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"" y6 t8 R! f* I2 c/ b
  175. ;user_ini.filename = ".user.ini"9 h! ^$ b: \$ f& P; l3 l

  176. & C8 `- |% k7 r! x0 n, t* j
  177. ; To disable this feature set this option to empty value
    6 A! i- g1 k" w6 c% c
  178. ;user_ini.filename =
    ) c2 }: a! O3 ^, C" t

  179. : ]3 W! e/ K$ m
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)3 T* D( `% b) m9 {
  181. ;user_ini.cache_ttl = 300! F1 m4 v- ?3 O; M; A6 ~

  182. 7 o2 P  I0 s3 L& J4 V$ u
  183. ;;;;;;;;;;;;;;;;;;;;
    . {: h, M5 H1 G" m0 p% A
  184. ; Language Options ;: J$ W& y" @- g  \0 E# h8 A% _
  185. ;;;;;;;;;;;;;;;;;;;;
    & P0 X  \; o0 M, V% v4 ]8 p0 _$ L3 I

  186. 4 l: q% x: s' v9 ^2 b, [
  187. ; Enable the PHP scripting language engine under Apache.
    * M8 i6 y2 l. e: {- t# e
  188. ; http://php.net/engine
    ( Q& a9 W, Y- A. w/ t
  189. engine = On: T. x7 ~: {1 f  M/ l+ K
  190. 1 X1 b  f. J( [4 g
  191. ; This directive determines whether or not PHP will recognize code between. ?; N6 F3 k9 F. l- d
  192. ; <? and ?> tags as PHP source which should be processed as such. It is# Y7 e  n" O$ Y* t, i
  193. ; generally recommended that <?php and ?> should be used and that this feature3 A) I: A, I) H+ B7 R
  194. ; should be disabled, as enabling it may result in issues when generating XML
    & }& e8 N/ q8 d4 [0 M& k
  195. ; documents, however this remains supported for backward compatibility reasons.- i2 Q1 m5 @  ?
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    % P; N8 ]8 ?1 L& T- B
  197. ; used regardless of this directive.# G, n/ i( j" b& U5 n
  198. ; Default Value: On
    9 p' C0 L4 l3 }1 m( r7 Q
  199. ; Development Value: Off% v7 k* k7 g/ \9 o$ h
  200. ; Production Value: Off# u6 O2 H/ w; l+ U" o: o0 m" I2 V
  201. ; http://php.net/short-open-tag
      F. p# Z5 r: Y/ ]
  202. short_open_tag = On6 K. z+ s! O3 H$ P7 E
  203.   [+ L3 P$ C& f# F7 c/ W) W
  204. ; The number of significant digits displayed in floating point numbers.9 j5 e$ e' [6 Z: M( ]5 j1 }1 x: \. s' g% h
  205. ; http://php.net/precision
    9 g  C% A; s" G
  206. precision = 14$ |6 ]7 {! g; f+ [) }) @

  207. 2 u" C  l+ e/ C1 x( s: ^
  208. ; Output buffering is a mechanism for controlling how much output data, E5 y! l+ A% `% N7 m( u* `) r
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    $ T8 p5 U+ C! T. a' k
  210. ; data to the client. If your application's output exceeds this setting, PHP) d3 U- F) G2 E% g7 F0 s
  211. ; will send that data in chunks of roughly the size you specify.
    + r. Q. i: E) m- N0 J+ Q3 K) l
  212. ; Turning on this setting and managing its maximum buffer size can yield some) l# t4 m. c4 Z5 ]- U8 L8 P+ e
  213. ; interesting side-effects depending on your application and web server.
    5 |" e3 W4 I8 k- W
  214. ; You may be able to send headers and cookies after you've already sent output
    1 O- X9 ]5 i0 f0 N$ r( D5 E$ O
  215. ; through print or echo. You also may see performance benefits if your server is* \( r( A3 I$ \+ M3 w: k  Z
  216. ; emitting less packets due to buffered output versus PHP streaming the output2 f  f& o* @/ H7 k
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance( L0 d7 j- J  z; M
  218. ; reasons.
    * e5 c5 G. H5 I" g
  219. ; Note: Output buffering can also be controlled via Output Buffering Control9 S: `7 x5 e* x. h* c
  220. ;   functions.* Y% Z$ E% K- e7 ?: I' c
  221. ; Possible Values:
      Q' G) q% ?( e" ~  f
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    / Y' T1 H  {1 M/ o0 t$ k$ l4 s
  223. ;   Off = Disabled7 o" e9 N. R. N1 z
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.# \1 O* R4 H. A% d. H8 O! p, |5 H
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    / x7 T( m- Y0 B" ^2 c* \
  226. ; Default Value: Off5 g: q8 T9 b% ~: J6 y; b( }
  227. ; Development Value: 4096
    * K: A( y2 h7 k( t
  228. ; Production Value: 4096. V, T$ S; B5 f, m  g
  229. ; http://php.net/output-buffering
    2 {# K9 b2 f( q# Q, n& D* z
  230. output_buffering = 4096
    ) w+ x; {; z' L& ?/ w" _

  231. 5 D2 g0 q3 p7 n+ w- G% ^+ _
  232. ; You can redirect all of the output of your scripts to a function.  For0 c6 o' ]+ {. F+ `9 ]# Y
  233. ; example, if you set output_handler to "mb_output_handler", character( T0 v$ R* h7 i/ y2 m% J
  234. ; encoding will be transparently converted to the specified encoding.
    / M3 g4 ~8 x" w) a1 C
  235. ; Setting any output handler automatically turns on output buffering.2 I; @% j5 k& L4 k$ X
  236. ; Note: People who wrote portable scripts should not depend on this ini
    7 X9 N, N; V" Z$ |
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    # C0 s% Q0 L" _8 Z
  238. ;   Using this ini directive may cause problems unless you know what script
    $ O  w3 n8 R0 |! L
  239. ;   is doing.0 {; j; ~9 X. q8 Z, F8 J" R& P+ M( S
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    4 p9 j/ r  I* v& A% v7 E
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".) i5 ^: D, O  s& g6 g- V
  242. ; Note: output_handler must be empty if this is set 'On' !!!!, ]' Z1 M6 R* B9 x* x
  243. ;   Instead you must use zlib.output_handler." y5 P0 c" r4 ~7 i) y, z
  244. ; http://php.net/output-handler+ j, x5 q1 [  H3 I, u
  245. ;output_handler =" s2 Q2 t2 T- n1 k! Z$ h( s$ i, P

  246. 9 a" O7 s4 v& v$ f3 B: S
  247. ; Transparent output compression using the zlib library
    5 u" f) n. ?% T( v& V
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size3 }( q/ c6 ~  Z8 w
  249. ; to be used for compression (default is 4KB)
    " f; {6 i  e+ u' L1 o0 w% f  f5 o, j
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP# f* [  F: {+ _+ C
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    ' Y) n; j# k+ e) R
  252. ;   compression. If you prefer a larger chunk size for better3 t2 q' y/ G1 \8 [, X' P
  253. ;   performance, enable output_buffering in addition.! S  h/ v( F3 E5 t" V
  254. ; Note: You need to use zlib.output_handler instead of the standard; K  ?! k# o/ s9 g; O4 {
  255. ;   output_handler, or otherwise the output will be corrupted.  a) G% O2 u" N2 k- A- a/ F; Z9 r, e: l
  256. ; http://php.net/zlib.output-compression! p: f# F8 I1 Y* L$ ?0 x, C( i
  257. zlib.output_compression = Off
    ! {' h0 Q. J" p) ?( [( B0 I8 @
  258. : y1 {* h; q( a
  259. ; http://php.net/zlib.output-compression-level  G* [4 Y1 \$ y* O  Y+ g1 w4 D
  260. ;zlib.output_compression_level = -1% ?  N7 @0 t1 V# m) O
  261. 3 R/ M' F1 b4 D
  262. ; You cannot specify additional output handlers if zlib.output_compression' q$ W  J# s2 b0 O4 s
  263. ; is activated here. This setting does the same as output_handler but in
    / s7 E- O" A1 Z& L0 H
  264. ; a different order.2 p! S4 r) I9 L' j" g9 Y+ B
  265. ; http://php.net/zlib.output-handler2 E# q. I! m* j! l/ O4 M
  266. ;zlib.output_handler =% H1 S, Y" i% r* p' h
  267. & D( T1 k7 R. [' I4 t
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    7 d2 r7 O& Q5 O8 @
  269. ; automatically after every output block.  This is equivalent to calling the
    & Z/ c- }0 e: j! S' N
  270. ; PHP function flush() after each and every call to print() or echo() and each# f( o- g  d: b* b- h6 y
  271. ; and every HTML block.  Turning this option on has serious performance# ^9 m% ~6 F! w9 T
  272. ; implications and is generally recommended for debugging purposes only.
    2 p* b( p, t0 X5 l, A$ J" w
  273. ; http://php.net/implicit-flush# g2 c2 O& Q% }/ g
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    4 y7 U$ ~, H% _# i- k; j
  275. implicit_flush = Off, J6 d/ H( Q( u: g

  276. . O; n) t3 Z' X
  277. ; The unserialize callback function will be called (with the undefined class'
    3 }2 K5 r, ?* P! f1 E6 c
  278. ; name as parameter), if the unserializer finds an undefined class
    ) g# N! @" p7 g" k
  279. ; which should be instantiated. A warning appears if the specified function is
    3 S! w) }# D/ h
  280. ; not defined, or if the function doesn't include/implement the missing class.
    ( q5 ]* f/ `0 v! m7 S9 t( g" Z
  281. ; So only set this entry, if you really want to implement such a# s# m% g+ ~& y6 G& m% ?2 k! J
  282. ; callback-function.( V3 Y9 g# p( \+ t  \: J  C4 Q
  283. unserialize_callback_func =
    + {2 i) l+ ?' M& v4 k& a( Z0 }

  284. 7 [6 X/ Q$ j0 c% ^) B) B& }8 r
  285. ; When floats & doubles are serialized store serialize_precision significant
    1 q3 y  `! c* f6 n
  286. ; digits after the floating point. The default value ensures that when floats2 w% N( j/ M9 W! i- X9 E3 F4 F
  287. ; are decoded with unserialize, the data will remain the same.
    2 q; @3 ]' I/ A0 `" I6 Z3 z8 ]
  288. serialize_precision = 17* ]( Y7 X( l+ s# ^

  289. 1 E' ^( |4 f# T3 D
  290. ; open_basedir, if set, limits all file operations to the defined directory4 c0 L, R, P& _8 X' V9 ?
  291. ; and below.  This directive makes most sense if used in a per-directory
    1 C. Q9 K# z9 c% Q2 a
  292. ; or per-virtualhost web server configuration file.
    9 d- Y# }5 v4 G- D
  293. ; http://php.net/open-basedir0 b' X) i) p' r& S2 l- e) ~* K
  294. ;open_basedir =
    / a( G  G, F* B% {

  295. 2 \/ |; z$ ?& _* Z: V% ]' v; u/ }
  296. ; This directive allows you to disable certain functions for security reasons.8 j0 e- s9 @, Z% g/ [* F
  297. ; It receives a comma-delimited list of function names.
    9 |: o# T" q1 M  X
  298. ; http://php.net/disable-functions  M2 C4 V0 @; M: ]) G% l) C
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru3 E& p3 T6 J+ c% a4 n# i" J9 [" q
  300. ! v. I& Z( j# l8 s
  301. ; This directive allows you to disable certain classes for security reasons.
    + x' R6 q' i6 f( s0 f
  302. ; It receives a comma-delimited list of class names.
    % R. J! A& ]3 K4 C
  303. ; http://php.net/disable-classes
    3 b/ o2 w' e5 ^. }6 _" N! Y* M  y
  304. disable_classes =
    . P6 f( S" R1 b

  305. 6 k+ h2 F; e: ?0 B/ @) ?- ?
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in0 l9 A  L3 \. u; ]8 u
  307. ; <span style="color: ???????"> would work.& O# L# `$ l: S1 v1 ~( x
  308. ; http://php.net/syntax-highlighting
    9 t% G/ R8 Q( c6 n: A
  309. ;highlight.string  = #DD0000
    1 x. j2 d+ B" ?; q
  310. ;highlight.comment = #FF99009 M$ Z5 e0 x8 z9 P
  311. ;highlight.keyword = #007700
    6 Z1 d8 Q/ J5 s+ n+ W
  312. ;highlight.default = #0000BB
    ) S- y: J) w, u6 _0 s0 C: U0 t
  313. ;highlight.html    = #000000; s* i( `4 e$ V3 B3 v# |" }

  314. . ^: `3 I% n) ?+ ^( z# z
  315. ; If enabled, the request will be allowed to complete even if the user aborts1 C0 v6 W1 b$ l5 S
  316. ; the request. Consider enabling it if executing long requests, which may end up
    . C- q8 k1 l/ t/ g4 P/ c- o6 E
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    # J  \& A: k8 v
  318. ; is to disable this feature.) d) v/ C, D, H6 K9 g
  319. ; http://php.net/ignore-user-abort
    3 C4 I4 j% S) U  N
  320. ;ignore_user_abort = On' a( n# v! @( R# O) Y2 W

  321. 9 t2 B5 K' g3 w3 K" c4 D7 T$ m
  322. ; Determines the size of the realpath cache to be used by PHP. This value should0 k% g7 y+ G  g, I
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    $ \* [, B5 K3 T  b% @3 O  f
  324. ; the file operations performed.
    0 q* z0 h" [! a2 @1 Z+ p4 _7 d
  325. ; http://php.net/realpath-cache-size8 j- V  T0 D( Z5 k+ X% [2 n
  326. ;realpath_cache_size = 4096k
    ; g' ?9 k, |, k7 Y; v6 h; c' [9 |) N
  327. / x1 h& G6 R) y9 k9 N0 u; }
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    7 v5 V( X( A! Y  Z, y
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    * r5 \' Z, O. D( H) \
  330. ; value.
    , G" Z' U) ]) J2 D
  331. ; http://php.net/realpath-cache-ttl
    , q  \% u& i( q" v+ v& p
  332. ;realpath_cache_ttl = 1200 c) b2 W8 D3 a) s* F

  333. + X1 U* d" B( \  @6 U$ P
  334. ; Enables or disables the circular reference collector.
    # K! `% v" m) [
  335. ; http://php.net/zend.enable-gc
    1 W& ~# D8 b' m3 m) h" s3 y
  336. zend.enable_gc = On* l$ h/ v/ c3 Q7 Y  F: n/ C7 Y+ E
  337. 3 C, s' V+ {+ ]0 e2 n
  338. ; If enabled, scripts may be written in encodings that are incompatible with/ O' [: {' P( c8 ~# C
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such6 \/ k" _$ l+ k3 f0 W
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    ; v' m' b) X% S+ b
  341. ; Default: Off
    % J8 o" S* Y9 W0 D- k
  342. ;zend.multibyte = Off# q6 t5 z. ?  Y* Z& e' }6 O
  343. & V4 S/ E; U8 Y9 z; O
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    # d1 N+ }3 c# \7 f  G  |
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    2 {. J) p" H/ B2 w" I
  346. ; Only affects if zend.multibyte is set.
    + Z2 ^2 T, G. y& n2 [
  347. ; Default: ""7 t! O) f, m( {* a$ j
  348. ;zend.script_encoding =0 i# y! m# R# \
  349. ! m% s+ O9 ~4 D* H/ e
  350. ;;;;;;;;;;;;;;;;;
    . _3 i" h4 V- w
  351. ; Miscellaneous ;
    % P  M& h0 M% o# _
  352. ;;;;;;;;;;;;;;;;;
    " z- _! l6 ^) m: z5 V. b" x' Y, Z

  353. - G; t) o4 q- \9 n8 k4 w6 F
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    & [2 Q+ c0 }+ k- q* a
  355. ; (e.g. by adding its signature to the Web server header).  It is no security5 R4 z0 j, f% {" O( x7 f
  356. ; threat in any way, but it makes it possible to determine whether you use PHP7 T& y1 h" V3 z0 U7 v0 _) V
  357. ; on your server or not.
    5 e" E2 ?6 J7 l6 U6 [
  358. ; http://php.net/expose-php
    . H3 m) o' C7 \4 H* a; G# [+ ^
  359. expose_php = On
    % Q' J+ e3 K8 n+ l" z6 q/ u' H
  360. 5 ]- q+ @! X& S% D, l
  361. ;;;;;;;;;;;;;;;;;;;6 s- v6 v7 q: X
  362. ; Resource Limits ;% l8 N) p& C' o! z; z0 H
  363. ;;;;;;;;;;;;;;;;;;;: [6 ?+ U* |' C9 `. g! S2 @

  364. 0 Z8 Y0 f% _: Y
  365. ; Maximum execution time of each script, in seconds% D/ Y: Z- m% a& N- u& J
  366. ; http://php.net/max-execution-time8 @/ O& t% ~" {. \
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI/ G: }: o7 N' V2 h5 X
  368. max_execution_time = 300
    # U) Z" s" f% Q( Q8 Z, ]

  369. $ L) V0 Q: j6 G2 D! S
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    % x9 M9 v& q3 O, u4 ^+ i" d- i6 ?- c
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly7 u& O5 `. m- D# i  J
  372. ; long running scripts.1 t# C2 }/ y5 M
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    ! {; r  i: }1 k# g0 L, r
  374. ; Default Value: -1 (Unlimited)$ @( `; b& B% ^
  375. ; Development Value: 60 (60 seconds)! M9 n8 H' ]2 J
  376. ; Production Value: 60 (60 seconds)& d+ L* ~& [  J& U) k
  377. ; http://php.net/max-input-time
      p3 t/ M( S  S2 b* }; d
  378. max_input_time = 60
    7 q" M+ i0 ], h( v& k/ E

  379. - T7 D+ b- h! m" K. N& K- i5 O
  380. ; Maximum input variable nesting level
    $ K/ j6 l3 ~) X. x1 S+ J% ?
  381. ; http://php.net/max-input-nesting-level# Y" J; U+ Q0 A
  382. ;max_input_nesting_level = 64! B. s' K/ r" q
  383. % W' M# U- S* H
  384. ; How many GET/POST/COOKIE input variables may be accepted
    : X: O* \0 r+ H% y9 g! U" V
  385. ; max_input_vars = 1000% s# k, a* q' ]0 T4 O
  386. ' Z- N3 k/ K9 S
  387. ; Maximum amount of memory a script may consume (128MB)4 V$ e' d9 c& E. Z0 L5 W! w
  388. ; http://php.net/memory-limit* v- ~- p6 E1 V+ R9 _  t/ p$ b
  389. memory_limit = 128M7 [1 b, T5 q0 Z4 e

  390. : b, Z) t0 I3 b/ C
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4 Y% |- _$ D+ h' s5 k- R
  392. ; Error handling and logging ;( v' y$ x% [# B, d& o, Z1 J, u8 L
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3 y: s8 B0 s- J: x! ?

  394. & k- k7 ^; V# h; O+ c6 s9 D
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    8 K$ h5 l5 s1 y" \
  396. ; it to take action for. The recommended way of setting values for this
    ! [2 O) b. g1 v  e3 \- j2 n3 s/ ~
  397. ; directive is through the use of the error level constants and bitwise* p- S, z$ _' \( B
  398. ; operators. The error level constants are below here for convenience as well as. ]! v# c6 [3 x5 _' H
  399. ; some common settings and their meanings.$ d/ }, @; Y, n4 V* D: g7 P9 g. U
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    ) O1 y* l- R7 [
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and, Q* x( ^- f' e$ E
  402. ; recommended coding standards in PHP. For performance reasons, this is the" F2 U" L* G3 t- ?$ N( A: A7 Y3 M
  403. ; recommend error reporting setting. Your production server shouldn't be wasting9 q* i* d1 u* t
  404. ; resources complaining about best practices and coding standards. That's what; D! e$ S- x. }" v  T
  405. ; development servers and development settings are for.
    ) o: X! g, ?' M# ]; U: M
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    / D$ z: F4 S6 B9 }6 f
  407. ; means it pretty much reports everything which is exactly what you want during' U" c" O( ~& |1 W
  408. ; development and early testing.
    $ n' T: A) I# |% I$ N+ c3 M
  409. ;
    - i% Y# Z6 B; l, M
  410. ; Error Level Constants:
    # R3 y6 S0 |+ \1 h  E" ]; s- T9 @
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)2 r" X- |$ h8 P4 i) j4 U, S
  412. ; E_ERROR           - fatal run-time errors$ x( }3 S* h* ^% K+ V
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors: C% X: V3 c5 U. ^9 [6 g; q7 d
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    ( G/ }. r( v4 P2 @1 x3 ^
  415. ; E_PARSE           - compile-time parse errors5 Z( [/ ^1 i3 H% `& J
  416. ; E_NOTICE          - run-time notices (these are warnings which often result6 g* h, e' c: o$ z! W+ z; |
  417. ;                     from a bug in your code, but it's possible that it was0 X$ S1 h, N! t4 H3 F! N
  418. ;                     intentional (e.g., using an uninitialized variable and
    $ M; q0 d2 Q- v
  419. ;                     relying on the fact it is automatically initialized to an
    - N' w* S; Z' L. n
  420. ;                     empty string): m* G' z6 q. ^* q
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes3 K3 Q, V, v# S+ g( y! K
  422. ;                     to your code which will ensure the best interoperability
    ; m& e, I, \" m$ t: z) e" w* ^7 _: u; U
  423. ;                     and forward compatibility of your code# F: t* c! N: L. Y
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup6 \( q# ^/ f( a( R% i) P$ s& Z
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    $ k; k# j7 b) c
  426. ;                     initial startup* \& B9 a% _; ?7 Y# `" `0 [
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    % S; K' i2 @; p! [6 [+ @% R
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    + k; E3 O" B( c- R3 y. W, K+ H0 x
  429. ; E_USER_ERROR      - user-generated error message
    # E) W* O* z) q3 e+ B
  430. ; E_USER_WARNING    - user-generated warning message3 ?/ y4 e# I8 T" A$ ]
  431. ; E_USER_NOTICE     - user-generated notice message
    % ?2 o5 S. `2 d  h$ u2 K2 \+ k1 ~
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    , Q0 s3 \" ]8 O, M; K
  433. ;                     of PHP
    1 T) _; x: _# p# y3 T
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    : t$ g5 R2 y0 c9 P! t6 s
  435. ;' U, v4 |5 u5 ]& q" ~6 W
  436. ; Common Values:4 f5 o% v3 f, h( j, u* i' l. Y7 i% F
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.), y7 n# z  Q. \
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)% |4 V2 C' A, G* `
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    + `2 k- u$ ^$ L4 D
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)6 ^1 u# F; I! u% m9 |% \! n
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    & C! T9 Q1 t, l2 \  `+ P2 F
  442. ; Development Value: E_ALL# `( [4 Z( u  n- i* \& W
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT* X. b, X! C4 y' ]; q% W; y
  444. ; http://php.net/error-reporting6 x) U7 K- i7 _* h: \
  445. error_reporting = E_ALL & ~E_NOTICE- ^" F9 w7 B/ p0 w

  446. 2 q$ F% f) N# J5 R% u- P
  447. ; This directive controls whether or not and where PHP will output errors,
    1 |; S) W5 k5 |/ T, p4 n
  448. ; notices and warnings too. Error output is very useful during development, but
    $ Z. q- b# y) h( Z
  449. ; it could be very dangerous in production environments. Depending on the code
    3 V3 e/ l* T* m! p. a5 r
  450. ; which is triggering the error, sensitive information could potentially leak
    7 C& h$ }  r8 z  }. ^
  451. ; out of your application such as database usernames and passwords or worse., r& j; q3 |6 j4 R& F* H1 x
  452. ; For production environments, we recommend logging errors rather than; s8 W. _' K- u9 t; b. P+ s2 d
  453. ; sending them to STDOUT.) N5 B% f$ ~2 J9 X5 M
  454. ; Possible Values:
    - [- u; f! a8 t6 s) w5 w
  455. ;   Off = Do not display any errors, W! g3 v9 @0 {; `; w# T6 l
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)8 ?6 K* R" a$ O1 L; C4 L& P8 B
  457. ;   On or stdout = Display errors to STDOUT
    3 `' M" d( G6 P# h! B7 |
  458. ; Default Value: On2 O* d7 c8 H  W5 V5 x0 Q1 u
  459. ; Development Value: On
    ! K, V! D% }8 P$ ?8 _
  460. ; Production Value: Off) b& p% u  X* d$ e0 I
  461. ; http://php.net/display-errors
    - h& s9 T; m9 f
  462. display_errors = On
    # Q4 b1 y4 n% e7 L" v

  463. . D) x2 X1 d2 C- |4 N, c; K( k
  464. ; The display of errors which occur during PHP's startup sequence are handled
    8 `9 n; U! a: _1 _1 H( l
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    ' t0 e$ H4 o9 x* y4 C8 h
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    " |! ]3 G- G7 H- y, i6 F
  467. ; debugging configuration problems. We strongly recommend you  x& {& q8 u& D
  468. ; set this to 'off' for production servers.$ G1 Q: d/ A7 [2 p
  469. ; Default Value: Off2 D. ~6 s# b" }1 U7 {' |) }7 ]* ~
  470. ; Development Value: On
    0 I# O' ^. c7 }* Q
  471. ; Production Value: Off
    , o( C  B+ X' ]
  472. ; http://php.net/display-startup-errors
    8 _& m3 e) Y' ~4 z
  473. display_startup_errors = Off
      q0 g- S' s0 z$ w' f4 b

  474. " O  p9 ~7 Y2 p9 l5 [% Q
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    7 j; f" P" J$ l; x4 h: `
  476. ; server-specific log, STDERR, or a location specified by the error_log4 c1 c8 @0 Y# l/ B. p
  477. ; directive found below. While errors should not be displayed on productions! \% [/ O) U" x2 O0 C) P
  478. ; servers they should still be monitored and logging is a great way to do that.
    ' v$ q6 h% u9 z9 L( x9 l6 R
  479. ; Default Value: Off
    * p: r) P; s: z# k% V; r1 k
  480. ; Development Value: On
    2 V" q9 m8 N0 x9 T
  481. ; Production Value: On  ~# o1 @* ]# S1 x+ a# f
  482. ; http://php.net/log-errors
    ( y; @0 ]+ p7 r" H
  483. log_errors = On
    6 ]- y: d( R/ G1 j5 B6 Q4 _6 N" h* ?
  484. 9 H6 P& G7 ~% ?  Z
  485. ; Set maximum length of log_errors. In error_log information about the source is( M6 w9 [+ l) U
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    3 H$ ^2 o  e( M* G- X: _2 e9 {2 |
  487. ; http://php.net/log-errors-max-len3 p0 Z' M- {# S9 ]7 z) S- s
  488. log_errors_max_len = 10244 {' c1 t+ |6 ^0 Z- w" ~5 M/ o

  489. + D) O) d, \8 Y, q' ^4 L
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same2 H4 G+ U, Y# `0 c, g$ w
  491. ; line unless ignore_repeated_source is set true.
    3 f: R! U) p& w( h& v
  492. ; http://php.net/ignore-repeated-errors
    / u8 c' ^) D+ h
  493. ignore_repeated_errors = Off1 A4 v* c. V" P# S

  494. 6 {& x: Q* U$ n) `. g
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    ) }3 f2 y; v) d4 T0 w
  496. ; is On you will not log errors with repeated messages from different files or( K" z) K: k* E) |( l- t
  497. ; source lines.. D7 x( Y8 W, X0 V7 {- Z
  498. ; http://php.net/ignore-repeated-source
    & X5 a# b( u+ T0 g% f2 P# A
  499. ignore_repeated_source = Off
    7 o1 l$ {4 g! J% {/ f# x2 y
  500. ! K# y0 z6 r7 i' K
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    + d* E" c# Q0 V5 Z
  502. ; stdout or in the log). This has only effect in a debug compile, and if2 R& \: ]" n0 v$ e
  503. ; error reporting includes E_WARNING in the allowed list. B7 F- F, z4 N/ e% p& ^( n
  504. ; http://php.net/report-memleaks2 B% N3 }5 }  q0 Z3 {. {, q
  505. report_memleaks = On' F  j* g8 d  z8 @, M- I! {( f

  506. ( P; d& j' t" G- A! w; A: e1 c
  507. ; This setting is on by default.
    ' q1 r6 \+ ]! U/ ?4 A$ Q$ _/ m! E
  508. ;report_zend_debug = 0, R# [0 w! ~5 u7 ^/ R* {0 J9 X
  509. & E/ C7 O2 k7 j& m$ j
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value- X2 T" f$ a  k: M. S( }1 T0 J
  511. ; to On can assist in debugging and is appropriate for development servers. It should) r0 t# Q9 [$ Q; Q9 q$ f. g) v
  512. ; however be disabled on production servers.# J8 B/ s6 A$ h% y
  513. ; Default Value: Off
    ! g' J  t6 n) ?7 ~' u  M
  514. ; Development Value: On' P/ V! H1 k* K0 e$ l4 i
  515. ; Production Value: Off! J/ Y3 P; H; Q- K) n# f! j0 r. S
  516. ; http://php.net/track-errors
    3 A3 Z7 S+ y: y0 T
  517. track_errors = Off4 L  ], S, \3 Q; M; `4 z2 \

  518. " s' @! ]: [$ @
  519. ; Turn off normal error reporting and emit XML-RPC error XML+ @* f& ^$ T* E4 L
  520. ; http://php.net/xmlrpc-errors, I9 @4 V9 U0 U
  521. ;xmlrpc_errors = 0
    ' N6 ]- T1 V- j# {
  522. " K) ]+ N, d: H5 `# T2 Z
  523. ; An XML-RPC faultCode! k. N' p+ b0 P# r- G9 Z
  524. ;xmlrpc_error_number = 08 F* e( b- h4 p, p+ \- @

  525. 1 I  L3 ]$ r* W7 P" W* @
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    , c. C4 U9 Y1 ~1 y; h
  527. ; error message as HTML for easier reading. This directive controls whether% i2 i, y& ?% [# Q3 g* M) K
  528. ; the error message is formatted as HTML or not.
    $ j: A5 B2 ?, F1 ~, g
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ! T1 R9 M1 f9 c5 R" Z
  530. ; Default Value: On; a0 e  w: b* C$ p6 K
  531. ; Development Value: On( ?; g3 |9 c: a4 o. g
  532. ; Production value: On# h- C: Y! a4 l9 p% _0 O0 z
  533. ; http://php.net/html-errors) b% [% b4 c+ z  G; u
  534. html_errors = On
    . ]  H& Y- T0 {4 \

  535. 3 Z  i4 n: V4 Q; B; v$ Y
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    2 D7 k8 r1 D7 a6 V
  537. ; produces clickable error messages that direct to a page describing the error7 {) w" w6 t1 D/ u: Q& _
  538. ; or function causing the error in detail.
    3 k& z3 n+ M4 O, |4 S
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    7 ?+ L- o9 y8 e; E1 h" K& M
  540. ; and change docref_root to the base URL of your local copy including the, N. |' ^' o( ~7 c. F( H5 C
  541. ; leading '/'. You must also specify the file extension being used including& T' S3 j7 @# ?+ i% `
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    ' t5 [/ I& R# N7 M2 t# A
  543. ; case no links to documentation are generated.
    1 Q' Y9 L- L2 W; p1 O5 z2 K: l
  544. ; Note: Never use this feature for production boxes.6 b& A# @2 i: P" u* ^# ^% h
  545. ; http://php.net/docref-root1 p+ z" A$ Z, k
  546. ; Examples+ m& u* h% n  f; W! s( b) ]
  547. ;docref_root = "/phpmanual/"
    0 x# `( Y, {$ @1 h  w
  548. 6 w0 T3 B( ?2 O  M* g. e, t9 F' M
  549. ; http://php.net/docref-ext0 u0 O9 Y) }' y  x' I
  550. ;docref_ext = .html; Z" C% e& Q1 a! I1 k( w7 r2 r

  551. 5 r5 a( F: _% n: V/ a. o
  552. ; String to output before an error message. PHP's default behavior is to leave
    + f, S& x2 z) P( o  w8 Q- i
  553. ; this setting blank.
    * o2 ?- s% T+ s6 w; w
  554. ; http://php.net/error-prepend-string8 D$ b! b3 e+ F7 G! n8 U
  555. ; Example:
      Q- l9 P8 k1 K- D1 J
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    / d1 C0 E, e/ F3 M2 \% F

  557. + [* O3 ^7 k1 S" M$ Y6 A. ]% g2 a
  558. ; String to output after an error message. PHP's default behavior is to leave# \* G3 `" `; @% s. c: F) p  D
  559. ; this setting blank.
    % y5 Z$ j+ ~# G/ l# @
  560. ; http://php.net/error-append-string. G' b# U" E* X1 R& U- D+ J( j
  561. ; Example:
    1 j% ^9 c. u/ @( w0 c
  562. ;error_append_string = "</span>"8 |$ P7 _% d5 c; r* y- G

  563. . g" G: ^- y' {4 M  V$ X; I
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    . M& |, J# [! {9 l/ [8 @
  565. ; empty.
    / a+ ?* ~! h  X( V; O1 a
  566. ; http://php.net/error-log
    * W" W$ `0 D9 n
  567. ; Example:
    5 x- J$ x. K0 i# L
  568. ;error_log = php_errors.log/ e& E$ }0 ]6 g# z: ~
  569. ; Log errors to syslog (Event Log on Windows).
    2 t6 B) W2 h7 p) O2 K
  570. ;error_log = syslog/ C" D, y  ]8 g8 j

  571. + ~. J) j3 Q- K; g8 m
  572. ;windows.show_crt_warning
    ! v4 q* i! i2 `
  573. ; Default value: 07 M. k" c  ?% I4 I, J
  574. ; Development value: 0* }( j: O$ a, j8 C4 ?1 @* C
  575. ; Production value: 0% K- J/ a& Y% ]: D) v* _2 {( C

  576. 1 a* y: d" W7 t* ^( X! d1 Z
  577. ;;;;;;;;;;;;;;;;;
    " g# ~$ t0 g! Q- a, f7 J  |, }
  578. ; Data Handling ;
    - H% w4 ?4 a) r2 R  ~9 O. h# Y
  579. ;;;;;;;;;;;;;;;;;/ P2 V% I4 p$ y  |6 Y: {8 v) \6 b5 D

  580. 8 G: [0 ]+ B, F* Q( E
  581. ; The separator used in PHP generated URLs to separate arguments.
    6 J: v% a* d! \$ M  l
  582. ; PHP's default setting is "&".$ C' u& E) A2 N2 {0 s  T
  583. ; http://php.net/arg-separator.output
    4 R& c: n! v- d9 B/ G+ p! x
  584. ; Example:4 Q$ j. g: H/ g2 S: Y* A# c5 ~
  585. ;arg_separator.output = "&"- i9 s+ J/ U( A5 V- V- C( k. W$ q

  586. , D8 m( w( _2 K7 {& ]+ G
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    7 L) @7 }/ C) p3 `
  588. ; PHP's default setting is "&".+ @2 R* Q: N8 L0 C
  589. ; NOTE: Every character in this directive is considered as separator!# i  q% ~& H$ L5 P+ p8 l
  590. ; http://php.net/arg-separator.input6 ~+ F, J" I3 J7 ^/ w
  591. ; Example:
    3 p  X& ~/ x9 D$ [
  592. ;arg_separator.input = ";&"& I* j+ P6 z/ F- L, O5 B8 }/ ]
  593. 4 [1 G, D1 O  I
  594. ; This directive determines which super global arrays are registered when PHP& ^% C" z3 J* U
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    : e. ]4 f, P& e# v5 E
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty8 [; @3 y, W) n8 j6 c5 Z
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    9 A! @; V' Q3 E
  598. ; used as the others, ENV is not recommended on productions servers. You/ V0 f* E7 z6 [4 z! S
  599. ; can still get access to the environment variables through getenv() should you
    - f" |8 T9 T" h3 z& X0 H
  600. ; need to.5 B, u- q- V! {( a$ ^; S5 N/ w
  601. ; Default Value: "EGPCS"
    1 E) M8 e  t" j" L# f1 y
  602. ; Development Value: "GPCS"
    8 A' H. I6 B; K0 z
  603. ; Production Value: "GPCS";$ e) Z" e  I# m" Y; K
  604. ; http://php.net/variables-order
    . ~6 ]( |; L7 x% r, ^
  605. variables_order = "GPCS"9 D; |8 O1 h6 i& e: K2 ?

  606. ' X6 K0 X  H# P8 N% h
  607. ; This directive determines which super global data (G,P & C) should be5 x6 J" b5 \- D7 w
  608. ; registered into the super global array REQUEST. If so, it also determines
    0 X( m' h! ^  Q7 ~3 s! o7 a. O' w
  609. ; the order in which that data is registered. The values for this directive! Z3 t1 h; ~  g7 @
  610. ; are specified in the same manner as the variables_order directive,
    ; Y+ a+ M# `- z/ j& M; z' N
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    5 t: z9 _/ v6 @. ]7 V. U2 [
  612. ; in the variables_order directive. It does not mean it will leave the super- O" V+ ?  Q! T+ g' h
  613. ; globals array REQUEST empty.! _9 r* V' S0 r6 g
  614. ; Default Value: None" C5 ^0 x9 H! _5 j4 O5 V
  615. ; Development Value: "GP", P7 U  u& ^0 Z
  616. ; Production Value: "GP"7 ]7 g5 R$ x" M& g1 J9 q2 ^
  617. ; http://php.net/request-order
    + ~# Z, O  N' z% I# l
  618. request_order = "GP"
    % r( X4 S4 [* \# ]% [0 y: l

  619. , Y% D0 h" `0 V
  620. ; This directive determines whether PHP registers $argv & $argc each time it/ V+ N8 S2 ^- o4 V  G2 q
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script1 q3 ~! B# K# u/ L$ F
  622. ; is invoked. $argc contains an integer representing the number of arguments
    3 B. R: I' d# j/ c) p
  623. ; that were passed when the script was invoked. These arrays are extremely
    : q2 K5 ~! n7 t$ R9 ?
  624. ; useful when running scripts from the command line. When this directive is
    ) i) g' R# L# C
  625. ; enabled, registering these variables consumes CPU cycles and memory each time3 b, Z9 A% P& m1 Y
  626. ; a script is executed. For performance reasons, this feature should be disabled
    7 f  H" T3 v% a6 T5 ]
  627. ; on production servers.  ^4 I3 a% o  u) j) Q, B
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    6 p' X, Y& H5 p9 Q9 E
  629. ; Default Value: On
    & U/ ?: c; A  l+ V  n
  630. ; Development Value: Off5 D: |& b0 u3 F1 M! T) H
  631. ; Production Value: Off
    / \' Q4 [% F: \
  632. ; http://php.net/register-argc-argv
    9 E  \& ]- z2 Z0 g8 h& Y
  633. register_argc_argv = Off
    1 j- ]( m' W3 ~* J+ k0 y% w

  634. * s. d9 s- m3 k0 n
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    ; c5 z. I. R5 ]. t) O( X  M
  636. ; first used (Just In Time) instead of when the script starts. If these* B/ _" M1 M, i, u1 M* D
  637. ; variables are not used within a script, having this directive on will result
    0 V+ F4 R& Q- n2 Y5 |; R3 }
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled# N8 s( c: D% g
  639. ; for this directive to have any affect.
    9 |3 ]$ t# x9 o; i( J
  640. ; http://php.net/auto-globals-jit
    - O2 W3 M  S5 t! N( h
  641. auto_globals_jit = On& ~, \5 `* I8 N6 c- d! ]

  642. 2 _! m, E8 Z+ w5 N8 Q9 c( x8 n
  643. ; Whether PHP will read the POST data.
    6 @8 B- v6 N. q( n5 c" N  j
  644. ; This option is enabled by default.
    1 X+ w7 b/ K& O, r
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    6 M0 O0 C/ O2 \  i; z
  646. ; and $_FILES to always be empty; the only way you will be able to read the7 O+ y- g. t/ o, f* E0 }6 p
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    * \: H. L2 \0 B, s
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    - c2 V, u- g2 X7 p
  649. ; http://php.net/enable-post-data-reading
    # a- X# s  z( c4 c1 N+ W
  650. ;enable_post_data_reading = Off
    $ b& w1 O/ G; Z) S

  651. - W% J  E6 _# A" I' j
  652. ; Maximum size of POST data that PHP will accept., X- A+ V: l3 S+ X; R' l
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    ) M8 [  {6 {, Y( _7 ]. i, y) ^
  654. ; is disabled through enable_post_data_reading.
    7 n2 w+ m, r0 A0 g
  655. ; http://php.net/post-max-size
    2 y7 [+ z/ P! `; A( O- L
  656. post_max_size = 50M' M( l3 v# x( Z3 X0 l1 m0 U; O

  657. ) x' H0 L  a6 I' U  X! \' a1 G
  658. ; Automatically add files before PHP document.
    # o: \3 j- n5 P) i. Y  E
  659. ; http://php.net/auto-prepend-file
    7 _: [  t: c. O% d8 ~
  660. auto_prepend_file =# s6 d5 z4 k/ j0 ?6 q: @$ P

  661. 5 _) f8 U2 R( ]4 m' b4 l- A
  662. ; Automatically add files after PHP document.
      E. D; F# a! _  g9 p  I3 i
  663. ; http://php.net/auto-append-file& a) f) h) y' j) r: z2 Q
  664. auto_append_file =
    - Q! `3 A7 m) ]7 q& P4 c7 K" S
  665. 1 v  U) q! o' R3 C: t- R; G
  666. ; By default, PHP will output a media type using the Content-Type header. To6 @( g" f' a4 V* k
  667. ; disable this, simply set it to be empty.
    ! n0 b! S+ `4 ~) v7 A) N6 ], l' Y% L' I
  668. ;, q# G+ _- Y  y3 ~; f
  669. ; PHP's built-in default media type is set to text/html.: v4 p- g" B  v& C  @
  670. ; http://php.net/default-mimetype$ Q( d. L* ?; Q9 y  g% F
  671. default_mimetype = "text/html"
    . c/ A+ ~. O0 F+ |5 N
  672. * L- r4 I7 p& t8 E
  673. ; PHP's default character set is set to UTF-8.9 q: x* c# x" r0 F8 B  M) }, g
  674. ; http://php.net/default-charset
    ; U3 v/ G" }- T. }2 J9 V6 J* n5 O
  675. default_charset = "UTF-8"  S" w2 O% y/ h2 A8 g
  676. * o! J- g' k1 W% e5 C% b3 t; y
  677. ; PHP internal character encoding is set to empty./ C7 a  E# t* m- x( [
  678. ; If empty, default_charset is used.
    + w$ Z" x  w+ G. k- m9 u: E
  679. ; http://php.net/internal-encoding- W3 ^/ g0 V5 W2 m9 g( x
  680. ;internal_encoding =& h7 C) w/ w0 ^8 I

  681. : u+ M: m) b' U8 G4 ^! E$ C
  682. ; PHP input character encoding is set to empty.5 y2 H* U& e1 |: x2 p( Z
  683. ; If empty, default_charset is used.
    5 H9 Y1 S  G* H% z1 \
  684. ; http://php.net/input-encoding1 W* i9 r2 M2 r
  685. ;input_encoding =
    & E5 X2 v! h5 W" _3 `& h

  686. ! G, P) P4 J6 [& L3 R
  687. ; PHP output character encoding is set to empty.% P! l0 J" z: e- V- G% g/ r( k9 ^
  688. ; If empty, default_charset is used.9 H; V: W* z' H: s' o; H, U& J
  689. ; See also output_buffer.: b3 p& \$ S& W' h1 j
  690. ; http://php.net/output-encoding
    2 m0 I$ X" I. ^. Q6 G: g& n
  691. ;output_encoding =
      N- h& d# M( D! a  ]5 u

  692. * ^4 p2 S2 e3 j$ B( z, C$ ?
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;) o9 W3 Z. s7 T5 g0 s2 J
  694. ; Paths and Directories ;
    # L6 N! a$ W7 F- u9 ?1 J0 g0 g( n
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;& I! P/ N5 A* r; q' t: H( H3 I
  696. , L1 I9 Z+ [* ]9 r" ?# y
  697. ; UNIX: "/path1:/path2"# I  M  Z1 o( v& D  E* K
  698. ;include_path = ".:/php/includes"
    0 S, x4 W- W$ B: N3 h0 ~% y
  699. ;
    , d9 v5 w! m) ~/ h3 Y: y
  700. ; Windows: "\path1;\path2"7 {( N0 H' e3 O
  701. ;include_path = ".;c:\php\includes"
    9 R+ @* O' ~. |/ s6 {, u
  702. ;
    $ v7 B$ H  U- l' w; @0 x
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    ) f6 K3 d& i2 r+ C
  704. ; http://php.net/include-path
    : L8 c% n+ w5 K, H% Q+ {

  705. # @: R% n4 }1 c8 l$ ?0 t* y3 Q
  706. ; The root of the PHP pages, used only if nonempty.
    0 j  N# x9 u5 c. R
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root) ~" Y3 Z/ i5 A$ @. h* `1 K7 ]
  708. ; if you are running php as a CGI under any web server (other than IIS)
    . R3 y! [, B0 K+ H! ~
  709. ; see documentation for security issues.  The alternate is to use the2 g5 t# v/ t; g& T+ L( a
  710. ; cgi.force_redirect configuration below
    ) d+ B! f7 d" ?5 }
  711. ; http://php.net/doc-root4 C! D. s. p3 n" _; Y: \
  712. doc_root =- q, k& e! A) B7 G, b( `4 D

  713. - y8 z- y" d5 l, k
  714. ; The directory under which PHP opens the script using /~username used only9 D# M& j; O+ d% w- G. V
  715. ; if nonempty.8 I+ J1 a! K& Z8 ?
  716. ; http://php.net/user-dir
    9 n* R2 u, @. z8 j# |* m
  717. user_dir =. d8 Z  N; }4 W
  718.   X/ z6 w( c3 W" W
  719. ; Directory in which the loadable extensions (modules) reside.
    ) D$ J. T9 q0 }! m
  720. ; http://php.net/extension-dir" L( t+ C$ r9 p2 C, g8 B
  721. ; extension_dir = "./"! T4 k: z3 [8 b, B
  722. ; On windows:
    9 t; D- n! ]9 Q  W, x. ~
  723. ; extension_dir = "ext"7 j' }# h! Z5 O# b
  724. 7 k$ ?7 M# J& e; M. r; z5 p7 ?& t
  725. ; Directory where the temporary files should be placed." K. X" N* X# }. N& {# v
  726. ; Defaults to the system default (see sys_get_temp_dir)2 V1 F& j& c+ J1 x( ^8 E4 {0 n$ C
  727. ; sys_temp_dir = "/tmp"( c) B7 v8 j) i6 Y

  728. 0 F3 H9 A4 }. t% w1 L, S  G
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work" T3 e9 ^6 D# `& h( y9 m7 y
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically9 e: \: [, p; f& ^3 k! D/ z1 j
  731. ; disabled on them.$ E. e# t& z$ i8 z' }
  732. ; http://php.net/enable-dl
    / {( w) \" W6 z( q
  733. enable_dl = Off! x  x$ E6 h6 V: P
  734. 3 U( N8 d9 \2 Z& T" z0 e( ^/ X
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    , I# h+ d- c# x- J- S& C
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    & L% r# k" T  h, q/ S" _
  737. ; turn it off here AT YOUR OWN RISK
    # l& l. v$ V- a! ]4 B8 @
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    - H% A: a, V/ c& c
  739. ; http://php.net/cgi.force-redirect1 Q/ M0 V* m& i. @0 O
  740. ;cgi.force_redirect = 1) y! a/ g7 k& L+ H# {

  741. & F+ L7 o; D5 A2 O9 }( i$ E: f
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with+ w% Q/ X4 z, H4 b% E  H3 a
  743. ; every request. PHP's default behavior is to disable this feature.
    ! I8 G) _# e  [6 `
  744. ;cgi.nph = 1( R% o6 {' e- L* `  m
  745. : q; x( v  K/ s/ I
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape# t$ X. R5 N4 r
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    $ V+ u! Q/ n9 p: d  S! D; @
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    0 _& i) R( Z8 y4 v0 B
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.8 C, r% l2 ~8 ]& d  h! Q6 v
  750. ; http://php.net/cgi.redirect-status-env
    ' a' l% _- v5 C7 l1 X1 q/ Y" b
  751. ;cgi.redirect_status_env =
    " e. v( O  ?& j5 K* O. Q' I# C
  752. $ p- y) q2 l) ?
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    & n0 m" Y9 a/ f; x
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    7 \$ e2 U( ]' u+ V* e4 c: N
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting( L- ?: U# Q) F/ R
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    ! x$ }' m2 H! Y* r+ F
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts, i, c, @0 A2 U* y
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.1 {& q7 d* L5 L' h
  759. ; http://php.net/cgi.fix-pathinfo
    " S. _, i1 W6 R
  760. cgi.fix_pathinfo=14 X* L; I  g, n8 S

  761. ; j& e6 I! E* Z0 w' Q' o9 c" P& Y; z
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    5 d+ g5 o+ i! @
  763. ; of the web tree and people will not be able to circumvent .htaccess security., a" z- }" r7 B7 t7 L
  764. ; http://php.net/cgi.dicard-path
    8 @, R' G) U: W( H; h9 }
  765. ;cgi.discard_path=1
    5 J0 v0 J7 y; a' T
  766. . l" k' ]# c# a
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    . K0 N( x  k" p; ]. L& o! d: F
  768. ; security tokens of the calling client.  This allows IIS to define the
    6 f  r; B8 V# F" P
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    % W2 K- J# \6 C% \2 s) L" L+ m5 ~9 t
  770. ; does not currently support this feature (03/17/2002)! k# g( e8 f% U6 H
  771. ; Set to 1 if running under IIS.  Default is zero.
    0 x* \" q+ F% ?& u
  772. ; http://php.net/fastcgi.impersonate
    4 Q( G3 B) C, `  G/ z5 l1 ?
  773. ;fastcgi.impersonate = 1+ ]4 g7 @5 l  ]" A5 N$ O+ d0 [6 ^
  774. 1 b8 e0 t: q, l! U8 D) Y- x
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    ) i# R; F7 K$ {# V9 F/ A7 z* d
  776. ; this feature.1 G5 d* j" V, {* E) @+ v
  777. ;fastcgi.logging = 08 c+ W4 |5 J. J+ h
  778. 8 k% n! L( H3 A& {. f) I
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    9 Y( V* X$ @+ q
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that" e" n$ G* v& [" R9 ~
  781. ; is supported by Apache. When this option is set to 1, PHP will send2 ^: c3 I2 h$ K# O( r/ }% R
  782. ; RFC2616 compliant header., C' M' `# r3 v5 D+ j, T
  783. ; Default is zero.7 h, O+ D6 E2 ^$ V
  784. ; http://php.net/cgi.rfc2616-headers  W1 ~. q8 R$ Q' c* k( v  u) L' L" A8 v
  785. ;cgi.rfc2616_headers = 0
      {" ^3 U+ Z2 p# A( f% U
  786. 8 D1 \8 r* @# M7 A! m. }
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!' r# g8 j' g  |
  788. ; (shebang) at the top of the running script. This line might be needed if the
    1 F$ }, k; b1 q6 B% M) L+ S
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI8 n0 u3 Z3 R" o5 ]+ G: s$ C# p
  790. ; mode skips this line and ignores its content if this directive is turned on.$ L& ~: A1 }& l
  791. ; http://php.net/cgi.check-shebang-line% V, k0 A( g1 _% q. a
  792. ;cgi.check_shebang_line=1: z9 _6 c3 S: v: S6 M
  793. - q+ O5 R# H0 g7 H
  794. ;;;;;;;;;;;;;;;;
    $ u$ p" x, i5 Z. l, G  i; z
  795. ; File Uploads ;$ r; `5 ~/ l: L6 x, g
  796. ;;;;;;;;;;;;;;;;
      A& r6 M& F) _- }0 O
  797. ( R% `: V2 N2 N$ i. H% t
  798. ; Whether to allow HTTP file uploads.- D. Y5 o2 t+ J) ^: }6 S3 H
  799. ; http://php.net/file-uploads
    5 L* {5 K  u, L% o: B5 d2 h
  800. file_uploads = On$ S, G6 O. U: Z4 \& C
  801. 9 Y. G8 l* \7 N& U; W& V' Z3 E
  802. ; Temporary directory for HTTP uploaded files (will use system default if not* ^* T: d0 W% \/ B7 \
  803. ; specified).. S* i3 t" ^: n/ X- d
  804. ; http://php.net/upload-tmp-dir/ f3 u( D0 ^/ N; ^% P
  805. ;upload_tmp_dir =
    + m! u7 s, M2 _' q2 O* X! G! B

  806. ; ~0 _, U, z3 Z) R6 {0 P+ _4 f3 ?
  807. ; Maximum allowed size for uploaded files.
    3 R" S5 g( R+ Z( w; b
  808. ; http://php.net/upload-max-filesize3 k! V2 o+ N# ~0 A
  809. upload_max_filesize = 50M
      V- C( u  R$ [( |& e. w
  810. % p8 I7 C9 ?* l% j4 y$ u
  811. ; Maximum number of files that can be uploaded via a single request4 {0 X2 ^+ M/ ?5 z3 n. G& J
  812. max_file_uploads = 20# h# Y- V- P0 U7 N! M

  813. ' N; }7 V. k, \8 ?1 A( K3 s
  814. ;;;;;;;;;;;;;;;;;;, i5 ?& Z: B) o& c
  815. ; Fopen wrappers ;$ e# l; Q4 K9 D4 X3 |
  816. ;;;;;;;;;;;;;;;;;;+ ~- J9 u( X; E# ]3 F" m
  817. , l% y1 j, a8 }9 h7 E
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    0 x% i% D- N* [* Q+ O+ D0 Y
  819. ; http://php.net/allow-url-fopen
    % z. j2 J# @. E' f2 m! z+ i
  820. allow_url_fopen = On, P1 y9 x) d; o: h
  821. 8 f- y, V1 P, ^' Z2 m4 h
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    ( d% J$ z0 g# V& z
  823. ; http://php.net/allow-url-include
    ! ]4 N+ [; s4 `7 k+ z
  824. allow_url_include = Off
    4 I: b4 w* q1 i" T& A& m
  825.   x3 G1 M/ n4 G
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    4 R, k! `& Z7 X% a& z/ l
  827. ; for this is empty.
    8 T' |# z* k% B( Q" L
  828. ; http://php.net/from
    9 w  s( w' N2 s% k7 X# T  m) E6 F3 a! i
  829. ;from="john@doe.com"' i$ X* E- K% g  p
  830. 9 ^1 L: |8 p$ t% N, U. U# p
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    6 F/ o) B+ O$ a, J) p
  832. ; http://php.net/user-agent1 I0 a1 G5 ~2 _8 R& J% N3 {
  833. ;user_agent="PHP"& G3 e1 [: ^- y8 d& E% w0 u

  834. & H; o8 v! k/ F$ J
  835. ; Default timeout for socket based streams (seconds)
    ' M! ~! l+ A4 @
  836. ; http://php.net/default-socket-timeout
    / L4 |7 h$ P% |( L  F2 Y
  837. default_socket_timeout = 60
    # k% Q1 u: S: ]  x* B; g5 X/ x+ S. @

  838. 2 E& s0 j8 s  e6 g' e; v
  839. ; If your scripts have to deal with files from Macintosh systems,
    4 p0 }/ K. J3 ~7 ]7 \  @
  840. ; or you are running on a Mac and need to deal with files from" N5 U4 _) w+ X0 z0 z
  841. ; unix or win32 systems, setting this flag will cause PHP to- U9 Q" Q0 }( V& p6 o* ~* S' o
  842. ; automatically detect the EOL character in those files so that) ]; H/ u, X. Y! x3 ~
  843. ; fgets() and file() will work regardless of the source of the file.
    / I. }; ]1 E9 i0 C
  844. ; http://php.net/auto-detect-line-endings
    8 i" K: ]( @2 P5 ?( S
  845. ;auto_detect_line_endings = Off
    ) _' q( y, l& n( V9 e

  846. ! \. m; |2 W5 w) Q/ h
  847. ;;;;;;;;;;;;;;;;;;;;;;3 E! v: b2 I! b. g; t
  848. ; Dynamic Extensions ;0 j$ O1 f% a& A1 ^3 C* g
  849. ;;;;;;;;;;;;;;;;;;;;;;- h' `9 n& [8 ^

  850. 0 ~! s3 k/ C! s, j7 W2 y1 }
  851. ; If you wish to have an extension loaded automatically, use the following
    $ \4 ]; X) S* Q
  852. ; syntax:
    ) C" {% B) g5 n8 x4 @# K
  853. ;# K, ~' M4 ^% P, m
  854. ;   extension=modulename.extension1 }8 o* p$ S4 }* p/ o6 b
  855. ;& t: [% l) c7 V! Q8 _% m" H
  856. ; For example, on Windows:1 A+ f, P" M  A7 a9 M
  857. ;
    4 k/ x$ w! z  w
  858. ;   extension=msql.dll
    6 I7 ~, u; ]# W* f
  859. ;8 \( B/ E! ]# V& f8 m
  860. ; ... or under UNIX:4 _4 T2 O3 m" _! ~* Y
  861. ;
    9 j# c6 J& t7 S( \
  862. ;   extension=msql.so
    , O  R& l, @5 _- B0 @# j& b4 o
  863. ;7 `8 A' y  B2 f7 {* y5 `
  864. ; ... or with a path:
    2 |, N8 h; J! V; o4 i0 G6 D
  865. ;& u* C0 ~& ]" T, m# X4 j
  866. ;   extension=/path/to/extension/msql.so
    : b/ ^6 a% y8 @8 X
  867. ;" h6 P1 I9 Q4 d8 O# T
  868. ; If you only provide the name of the extension, PHP will look for it in its- T8 A& O$ y1 H( Y* C! [
  869. ; default extension directory.& B. ]- \$ |' _" [
  870. ;
    ' t  e- F9 A. w% Q; d; l8 h+ Z
  871. ; Windows Extensions
    . _: p2 E3 }+ P! u% ]0 X5 S
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    # @3 B+ W" Q& m  M. e
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)' R- D2 P1 {" i, D  X/ C7 K
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).* F1 @% p: r( W# k$ Y) Y( x: {
  875. ; Be sure to appropriately set the extension_dir directive.
    3 C0 w2 H* S/ g; h& s$ v- ~
  876. ;
    + }1 P/ Y. s! R' F9 w% X+ T1 x
  877. ;extension=php_bz2.dll
    7 [: K4 k9 f6 S) T8 s8 ]  T
  878. ;extension=php_curl.dll
    / M& `# d  e8 a4 w! E
  879. ;extension=php_fileinfo.dll
    8 _* V% @0 v) m3 [4 N$ D+ [' o
  880. ;extension=php_ftp.dll
    ( `  w  Q# o; l# i! h- t: B
  881. ;extension=php_gd2.dll
    : b. w  t* Q6 t
  882. ;extension=php_gettext.dll; W( }3 p/ R$ U/ _1 M& v$ j+ w
  883. ;extension=php_gmp.dll2 U; V3 I: Z! I* W4 ^* R/ W
  884. ;extension=php_intl.dll, H2 ^; y* @. J- A6 F$ x
  885. ;extension=php_imap.dll
    * v. M4 N) B: R8 @
  886. ;extension=php_interbase.dll2 z7 I) c! s  `  i7 h; w! i
  887. ;extension=php_ldap.dll
    8 G1 u$ n+ i5 a% }# n8 ^* G( S
  888. ;extension=php_mbstring.dll0 l5 l1 R( G7 i& ~% Q0 X3 t
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it( Y1 h+ ~- j8 y9 k; K! ~1 _
  890. ;extension=php_mysqli.dll
    & a; F5 c7 g! {7 I' m2 w; W
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client* U$ X" Q: @% t* y/ Y+ \  B' C4 j& c7 h
  892. ;extension=php_openssl.dll- K$ N5 x: D4 e, {
  893. ;extension=php_pdo_firebird.dll
    / c( p" ?, D2 u3 L
  894. ;extension=php_pdo_mysql.dll6 p; j) `6 L$ d, A' g- v' C# a
  895. ;extension=php_pdo_oci.dll
    ; V' c& V+ z' g
  896. ;extension=php_pdo_odbc.dll; X, V% P+ i& V( c, Z1 _
  897. ;extension=php_pdo_pgsql.dll
    ; V9 p- e; Y$ b8 f  H2 O
  898. ;extension=php_pdo_sqlite.dll3 C9 ^$ s9 _/ j- H$ P
  899. ;extension=php_pgsql.dll
    . p1 w9 G& O0 J% l% m
  900. ;extension=php_shmop.dll
    ! ~7 e1 L" {1 q1 F& L% d
  901. # |" q% K4 A' z. Z6 @: P' Y7 y$ W
  902. ; The MIBS data available in the PHP distribution must be installed.
    . ^3 }' |) Z( j8 u  J0 S
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    # ?$ E$ U/ O, u8 E8 B
  904. ;extension=php_snmp.dll
    , Q7 h% ^+ l% |7 [, r. P; j& R

  905. 5 s* M! a$ e" D  f: T4 c3 S7 l% Z
  906. ;extension=php_soap.dll
    ( G9 l7 U" R* I/ M8 P' r! j
  907. ;extension=php_sockets.dll
    * g6 {% Q; O' X
  908. ;extension=php_sqlite3.dll9 ]+ B3 `* N; {
  909. ;extension=php_tidy.dll
    0 V+ a9 _. e$ [8 A7 o& S% P
  910. ;extension=php_xmlrpc.dll/ L  e& n4 w8 \4 a6 q7 A) X
  911. ;extension=php_xsl.dll$ E& V6 W; r, j
  912. : Y! _5 y5 ]$ D
  913. ;;;;;;;;;;;;;;;;;;;
    " Z7 t% ^8 g0 n( E
  914. ; Module Settings ;3 U( I0 F5 c- u3 ~. f! t: e
  915. ;;;;;;;;;;;;;;;;;;;; ]1 [9 a) P0 c
  916. . O. U4 H  |, j
  917. [CLI Server]( N! a5 x  @' T- J* n  ?2 S9 M
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output." i3 j- ~$ S9 P- d$ A  Y+ f
  919. cli_server.color = On( {" w4 t' i  t: e
  920.   L0 R5 r) r/ y( y0 I
  921. [Date]
    7 X. |6 F  {# W5 v! v% T
  922. ; Defines the default timezone used by the date functions
    3 P9 j6 g3 C, e. q) Z, }
  923. ; http://php.net/date.timezone. W# k" g# m* a$ h! ^5 r( P4 G& N
  924. date.timezone = PRC$ F! c6 u: l1 t9 ]
  925. 4 r2 F) L+ ~- L% a2 E8 R) g% G
  926. ; http://php.net/date.default-latitude3 Z( B$ y: [5 N8 _6 A6 g
  927. ;date.default_latitude = 31.7667) i4 e9 o0 J6 B# A

  928. ( s( ]; c) S) }
  929. ; http://php.net/date.default-longitude" M6 R  [; f8 E$ y# M1 ?9 S9 E
  930. ;date.default_longitude = 35.2333
    / S" V8 t7 o9 }% v; `: \' p5 L' ?

  931. / r: g  D! S. c$ U% L
  932. ; http://php.net/date.sunrise-zenith
    2 x9 V+ `! D& d/ o, E3 G$ J) @( Y! W
  933. ;date.sunrise_zenith = 90.583333# p- W8 }9 |  ~* R% S5 R4 I8 t2 g/ }
  934. * y% G& ^* g. u1 n& }3 F5 S
  935. ; http://php.net/date.sunset-zenith
    ! Y, ?2 j8 V" Q( Q$ l( Z$ ~. M
  936. ;date.sunset_zenith = 90.5833330 y- P- e. z) v" x, w

  937. " \2 P: y3 K# d; N4 O% b/ d9 ?
  938. [filter]
    1 N, e, i4 g# z7 E
  939. ; http://php.net/filter.default& d! o: L! w2 }
  940. ;filter.default = unsafe_raw* S3 j- `$ c; Y. |" ~+ ^, z

  941. % H* c. w  h+ W0 @4 Q
  942. ; http://php.net/filter.default-flags
    * c! Y4 s% c5 _( Q3 k7 T' A
  943. ;filter.default_flags =2 d8 S3 ^4 `7 H% F- M

  944. / ^5 ^0 T  n8 v, Y  D* L! J# _
  945. [iconv]: l" n- D1 T$ A; B9 I+ y
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    $ }( Q3 u& r' S+ @! @" s
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    ) e+ `1 l' a9 q' Z! c: S  Q5 H
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding' N- g& p  h/ m! s8 V. l2 b$ P- P
  949. ;iconv.input_encoding =
    9 O6 Y& L$ u+ c" D1 A

  950. " j+ |8 |* O3 e( _6 d
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    4 h+ d9 m+ t( W7 n! p
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used." R- V: t! T/ `- z5 l4 J4 z
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    1 P3 W" u' i: ~; @' T% Q, [
  954. ;iconv.internal_encoding =
    3 [: }6 x/ N- u  [. M
  955. 2 e& t* j. ^, p- |& q; b
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.) v+ h1 m- J2 [6 [/ Z+ D' G  _
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    & z7 c5 u8 S% b0 I$ h& I+ |) I
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    5 S9 W8 X9 t7 h; F
  959. ; To use an output encoding conversion, iconv's output handler must be set
    2 f3 |# A0 R9 M* O$ I
  960. ; otherwise output encoding conversion cannot be performed.
      F' @$ j: E  o: j7 s9 Z
  961. ;iconv.output_encoding =
    9 L6 \: l( p* i6 Q  G

  962. 6 F7 ?' f7 s+ [1 q6 F1 G2 d1 m
  963. [intl]
    ; L" w! q9 g3 B; h9 _3 e6 B% q
  964. ;intl.default_locale =
    % e3 |1 b5 `* p3 X2 x2 x
  965. ; This directive allows you to produce PHP errors when some error( \/ o4 x  {; l8 I( m
  966. ; happens within intl functions. The value is the level of the error produced.! T4 D8 L" l. k: v% s, w" e$ E
  967. ; Default is 0, which does not produce any errors.# Q( X% C* x4 d0 ~" q+ D
  968. ;intl.error_level = E_WARNING
    2 ~* f& r# s5 x- }; t
  969. ;intl.use_exceptions = 0
    . E4 [7 W5 D+ |8 A

  970. ! f5 L8 E2 W) S7 j( Z
  971. [sqlite3]4 H: H, c& b+ F5 r- n: x
  972. ;sqlite3.extension_dir =: y( A8 e6 S% \- ^# V" B- g* \
  973. 8 @! z4 d- n9 ^3 F1 N
  974. [Pcre]5 ]/ r8 q0 k4 Z% e
  975. ;PCRE library backtracking limit.# }6 {- ]0 i# l) D; \5 Z) B6 _
  976. ; http://php.net/pcre.backtrack-limit
      Y/ C  w. l% V! `9 {
  977. ;pcre.backtrack_limit=100000
    / z( J" E& m! Y2 G& u+ Q

  978. & r6 v5 a' @; {3 u( C) R9 Q8 U2 D
  979. ;PCRE library recursion limit./ s, c! y& L; \8 L" q$ ?
  980. ;Please note that if you set this value to a high number you may consume all
    2 x# ]; E9 U/ y
  981. ;the available process stack and eventually crash PHP (due to reaching the
    : p  k* d! \9 i
  982. ;stack size limit imposed by the Operating System).& z; G$ I& I: [% ~$ M8 h! S4 V. b! W% [
  983. ; http://php.net/pcre.recursion-limit
    ( P0 \! q" V+ i
  984. ;pcre.recursion_limit=100000" Z2 Y. H6 d8 J/ X
  985. 2 c7 M: C1 d: r0 y0 ?9 j
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE& h1 v$ S- h3 {% K
  987. ;library to be compiled with JIT support.  v! X; c# C; w3 i; A3 J3 k
  988. ;pcre.jit=1- T* `$ k3 r0 F; A3 F5 B
  989. , g- ?0 M" M) f$ I# u  l
  990. [Pdo]
    ; O) f% X( s1 K: V
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"6 h' U  R9 O1 Q% r2 N7 P
  992. ; http://php.net/pdo-odbc.connection-pooling
    : _4 u4 N6 Z* z4 @% [7 l, g
  993. ;pdo_odbc.connection_pooling=strict' N6 g) a+ M1 g3 k- e

  994. - x9 s+ C& A5 j$ S; R% u' k; [: ^& _' u
  995. ;pdo_odbc.db2_instance_name
    ( w) J# V. |  }$ H
  996. 9 V9 S+ Y" R* \
  997. [Pdo_mysql]
    / m2 H  y3 i0 O  r/ x
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    $ [4 v" x" F) i2 m2 a4 V
  999. ; http://php.net/pdo_mysql.cache_size# l5 ^" D% f+ M$ k2 r
  1000. pdo_mysql.cache_size = 2000$ M& Y/ ~* ]: s7 g+ ]/ k

  1001. + U/ b- F2 d4 _: U9 u" ]1 J
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    0 v: H  J* X3 |/ a6 D' s% D* c
  1003. ; MySQL defaults.
    8 W, [$ v7 k; S
  1004. ; http://php.net/pdo_mysql.default-socket
    . e; c# H& B* G# ]6 x1 I
  1005. pdo_mysql.default_socket=
    8 N# m& K/ L7 P

  1006. 2 @, d; f9 v$ n7 n2 r/ P: C- o3 b
  1007. [Phar]" ^( L$ ^& f5 m& K& N4 S
  1008. ; http://php.net/phar.readonly
      ~8 i. @2 C" |# s3 Z, m7 w* y
  1009. ;phar.readonly = On  ?3 Q, q2 v1 U" K" q9 G2 y) N
  1010. ( h! H. Z8 Z5 \7 T: D" M
  1011. ; http://php.net/phar.require-hash
    2 i' Y6 f( ~6 t6 l7 d& m- f; k; n
  1012. ;phar.require_hash = On0 C% V6 N9 a  e3 F" T" k# n
  1013. + o2 B4 a; X8 Q" \
  1014. ;phar.cache_list =
    1 {% o# F. m7 S. k
  1015.   V$ e/ H4 s' f7 u! |: [
  1016. [mail function]
    7 Z4 {) t2 d: Q& p9 v
  1017. ; For Win32 only.$ z9 n  m4 u- d' d
  1018. ; http://php.net/smtp
    7 v4 Z) p% W$ V& E4 |/ Y0 g4 B
  1019. SMTP = localhost2 K$ }3 w8 \8 w% E/ y0 v7 j; f
  1020. ; http://php.net/smtp-port
    . Y" ]2 W3 c& e2 D) M
  1021. smtp_port = 25
    ! v( e1 ^6 O0 l1 R
  1022. 8 k& `/ w1 N- v' n( ^3 E
  1023. ; For Win32 only.2 R5 g, s; Y% H& L6 G1 B6 T: s: z
  1024. ; http://php.net/sendmail-from
    + R' ~  W6 [, F
  1025. ;sendmail_from = me@example.com) t) _# f3 c" {. \
  1026. 6 Y5 N9 a( {4 a' G
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    4 V% b+ t0 t; N/ x5 B$ P
  1028. ; http://php.net/sendmail-path8 g  o$ x) {0 V3 {0 f1 X; \1 J
  1029. sendmail_path = /usr/sbin/sendmail -t -i  B6 a8 v$ j& S. L* `) ^
  1030. * z. J3 T0 y& A% Z# w9 |8 a+ k
  1031. ; Force the addition of the specified parameters to be passed as extra parameters
    1 J  p, m9 e% ~+ y3 J/ W
  1032. ; to the sendmail binary. These parameters will always replace the value of  \' h' y6 I" t1 Q6 u
  1033. ; the 5th parameter to mail().0 k' U; k' y  @  @- {4 L3 \9 J
  1034. ;mail.force_extra_parameters =
    , S5 {  J4 v% r, ?% X8 z7 }
  1035. ) k! a7 g8 T# C" f0 P1 v1 |  ~
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename0 S+ u+ U1 V5 [1 S7 D
  1037. mail.add_x_header = On8 {. Q) q& v! H2 W
  1038. + S! L" ?% l6 k( g8 v
  1039. ; The path to a log file that will log all mail() calls. Log entries include8 i+ T* f* x. }* J4 d3 y2 m) `
  1040. ; the full path of the script, line number, To address and headers." U, e' O% C. }) G$ u! ^' M
  1041. ;mail.log =% O" F" T/ f- {; [3 Z" _
  1042. ; Log mail to syslog (Event Log on Windows).
    : c+ b1 V$ }3 c+ k5 b. [
  1043. ;mail.log = syslog
    $ l" N, t  |  D( ~

  1044. * [" J% A9 ]- C4 r  w$ \
  1045. [SQL]
    / W$ y+ g8 ^; F
  1046. ; http://php.net/sql.safe-mode
    ' [6 c( m# o: W$ H! Y
  1047. sql.safe_mode = Off
    ; M' D8 O/ S  j5 H( K3 m2 N

  1048. : w: w7 K/ O5 z6 Z
  1049. [ODBC]
    ' i. l3 U# T2 x; M% f  v. e
  1050. ; http://php.net/odbc.default-db
    4 ]# b& Z5 s+ P4 Y
  1051. ;odbc.default_db    =  Not yet implemented
    ' _( x. s+ B/ u
  1052. & \! K/ z( d9 `' c/ j3 o8 c: R
  1053. ; http://php.net/odbc.default-user1 t+ @  H) U3 A& N0 O$ n
  1054. ;odbc.default_user  =  Not yet implemented
    , c4 N  e% C! `0 o2 A' U

  1055. - c) N8 x; k. a
  1056. ; http://php.net/odbc.default-pw
    ! A8 ]& a  a9 R2 J  p9 k& }0 d
  1057. ;odbc.default_pw    =  Not yet implemented
    4 C4 n& H$ O2 N" y% j4 u3 t

  1058. ! E# q- G- X1 I3 [# N. W
  1059. ; Controls the ODBC cursor model.2 ]! w( _5 L' d4 i! M+ _' u
  1060. ; Default: SQL_CURSOR_STATIC (default).: n% J9 A: z4 G2 h5 j0 V  U& t0 G9 g
  1061. ;odbc.default_cursortype
    / w8 \# x# j# R" |% m0 U/ I, z

  1062. 2 M7 t) @$ m5 i5 N3 \
  1063. ; Allow or prevent persistent links.
    ' |/ g) X. r3 `
  1064. ; http://php.net/odbc.allow-persistent
    " ]# r! R; R$ z3 @5 s3 k6 L! _
  1065. odbc.allow_persistent = On
    : F4 |6 t5 a7 N

  1066. ; c  K" y; q; B) b
  1067. ; Check that a connection is still valid before reuse.0 u; h+ J" f5 g" J
  1068. ; http://php.net/odbc.check-persistent7 G. R* z: K6 J# s5 s) o. x
  1069. odbc.check_persistent = On2 m! ~# _! \) C$ I6 R
  1070. # Z1 {6 G) V$ l5 ?1 t6 q( t
  1071. ; Maximum number of persistent links.  -1 means no limit.
    3 B/ b5 y& j7 K) u: u- Q% K* _
  1072. ; http://php.net/odbc.max-persistent6 \! \7 G5 F$ I, B0 r9 H
  1073. odbc.max_persistent = -1$ }" L) ^/ A7 u: M% x/ ?

  1074. ' P! c) T; @9 A% M3 o
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.! z9 |0 {$ {7 e4 F1 F% w
  1076. ; http://php.net/odbc.max-links3 O: {4 e: \& O
  1077. odbc.max_links = -16 U& k/ k9 a  }( w# |4 e
  1078. & U9 i" y6 ?+ i4 ]$ h. b
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    ' {7 Y. s1 R, B8 [+ l% i
  1080. ; passthru.- U( y, X* F$ Y% R- z
  1081. ; http://php.net/odbc.defaultlrl
    1 J/ S2 ~% e( Y+ q
  1082. odbc.defaultlrl = 4096" d/ q7 ]: n, R4 R
  1083. $ h$ b6 S' h4 y7 g+ x* t
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.* }8 l0 L6 o% i3 G
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation. n! u5 E9 x8 [! y2 u
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode1 I* u! d5 Z) p& l# R
  1087. ; http://php.net/odbc.defaultbinmode
    9 g5 z% I: C) T, p( C& V$ K/ _
  1088. odbc.defaultbinmode = 1
    " H: i$ h+ W/ _7 q, p

  1089. % h! ?5 [3 O( b8 V
  1090. ;birdstep.max_links = -1
    # y0 S' X* G. o' z: {; ?

  1091. ( J9 a% a. C( }# b- l' X
  1092. [Interbase]
    6 ?$ [9 g( O* S5 c9 F
  1093. ; Allow or prevent persistent links.% M2 `3 c) u( E; l: c/ o5 O1 u
  1094. ibase.allow_persistent = 1
    8 m2 u3 N0 B' G

  1095. 8 G. ~. X+ ~  f
  1096. ; Maximum number of persistent links.  -1 means no limit.% u3 M9 ~  r; K+ ^" D3 O
  1097. ibase.max_persistent = -1
    , }+ c9 n7 c% T7 O; o. n; j3 U
  1098. % B& l9 m3 y) B* K
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.' b) q1 C# T' ^
  1100. ibase.max_links = -1  R# S7 J* Q3 D6 Y

  1101. " p5 f7 o- d1 i6 b
  1102. ; Default database name for ibase_connect()." @1 X. ?! L0 }# y3 I+ X
  1103. ;ibase.default_db =
    - W" i: A3 T( O
  1104. ) w. D1 t" d& Y5 G
  1105. ; Default username for ibase_connect().
    ) l2 w! u) O% M: U% e
  1106. ;ibase.default_user =
    # i6 q7 Y* q' J$ f
  1107. 9 R7 E5 K$ D" W& W
  1108. ; Default password for ibase_connect().6 C3 i/ x" h! D' v( i
  1109. ;ibase.default_password =
    ( M2 F1 S( @- t9 J0 I; `' T$ e

  1110. 1 f* ~" o$ t1 Z8 I1 L
  1111. ; Default charset for ibase_connect().
    3 E4 ~* x- T$ S' C
  1112. ;ibase.default_charset =% N7 \+ M; u: e
  1113. / m! j1 x- o& V& y+ `+ T9 X
  1114. ; Default timestamp format.
    8 b, J( K" b  D
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    4 L$ b3 S/ U7 b% s. e2 A
  1116. ! K# s: T3 e- Z7 x- m& Y: d9 B
  1117. ; Default date format.( |- v$ l$ c* M* a- t# E4 T  C
  1118. ibase.dateformat = "%Y-%m-%d": |  {  D5 @: \' V1 l: R# ^

  1119. : q/ O7 a4 [. u: I# \
  1120. ; Default time format.
    / j8 M1 Z# F; l  w7 V. J
  1121. ibase.timeformat = "%H:%M:%S"& p- ~% A9 v% V+ E

  1122. - p" y: u1 }* o4 Z8 D9 T- \
  1123. [MySQLi]1 T% v3 b, ~' E# ]5 F2 L

  1124. ! C# e5 p5 }, g' I4 X
  1125. ; Maximum number of persistent links.  -1 means no limit.
    ; E1 B# [3 P; R& W6 M
  1126. ; http://php.net/mysqli.max-persistent
    # {, j% T) Q4 G, X& [' u
  1127. mysqli.max_persistent = -1
    3 z+ K7 Z; q4 W2 Y8 b

  1128. 6 J0 F" Y/ B. O* t7 {- E  h/ v
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    " ]8 J8 v" R) Z- }* k
  1130. ; http://php.net/mysqli.allow_local_infile
    ( \( i3 X! r( d0 u
  1131. ;mysqli.allow_local_infile = On
    : N" R+ O2 v- Q! a8 F8 W

  1132. 4 x0 [) }. N5 c) P/ g  H6 s7 l
  1133. ; Allow or prevent persistent links./ @+ ?6 _1 K: a$ |+ W' i2 o2 L
  1134. ; http://php.net/mysqli.allow-persistent5 l8 ], H( I/ U8 F' j: f
  1135. mysqli.allow_persistent = On
    ' T9 S$ O2 e; j. }+ ?5 ]

  1136. # E* ~, X8 B: ~+ i+ Q9 Q* b4 Z5 O8 `
  1137. ; Maximum number of links.  -1 means no limit.
    : ~  a, y& o, W. Q
  1138. ; http://php.net/mysqli.max-links
    5 R& |4 P1 E' z
  1139. mysqli.max_links = -18 M7 I, M* Z( r+ V7 p

  1140. ) j$ a4 C' {' z: w1 e$ h  R/ z" m/ J' @
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache/ p: f; [$ ]3 k
  1142. ; http://php.net/mysqli.cache_size
    - B. |4 P+ p* o' ~% ]- _( l
  1143. mysqli.cache_size = 2000
    3 s; Z% ~3 D: Q# F/ `! S
  1144. . e" ?  o9 F5 [, k0 G7 W
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    6 M6 l  F; y: r+ s+ L0 X! u
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    8 K- p, k: I6 Q; f( j
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    1 `( z7 B' n( \" K& l6 R
  1148. ; at MYSQL_PORT.
    / O- z* ~7 g8 t! r4 M: v
  1149. ; http://php.net/mysqli.default-port' o5 M) x' Q# a5 _
  1150. mysqli.default_port = 3306% O) Y- t  v7 H/ M3 g/ T- w, i
  1151. , E, e: r4 X, G+ h1 ?( r
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ; R+ Z; \: C# _# d. U
  1153. ; MySQL defaults.* z& t# l* w% k7 }
  1154. ; http://php.net/mysqli.default-socket
    , r) c& ~# `5 j! G7 @
  1155. mysqli.default_socket =
    ; r4 M' f) i; p+ L; D9 o( w- Q

  1156. / R1 h+ ]$ U8 g+ w/ |8 R
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    % {) k* i- c; K4 i; F2 V
  1158. ; http://php.net/mysqli.default-host
    / H; Z8 o1 W: X4 I* G
  1159. mysqli.default_host =
    , P* x  F( U* A
  1160. 3 H3 b  U( ~! o) z5 @: m/ b, d5 T  [
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).. k+ ?( |) h4 k: j% z* z5 _
  1162. ; http://php.net/mysqli.default-user4 Y, H, C( x. d3 \8 i' A! ~1 a
  1163. mysqli.default_user =- L. S0 x! o2 ]: P* s
  1164. 9 i. I# x$ u5 J
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).8 e- L& {+ t% A
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.5 G$ ?4 \+ L" ]7 q- ?% t0 x
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw"): p  B" y& z3 b3 {
  1168. ; and reveal this password!  And of course, any users with read access to this
    . w! {: j! f) t& r; Z8 B
  1169. ; file will be able to reveal the password as well.6 M0 w% L; V/ W1 k) }
  1170. ; http://php.net/mysqli.default-pw
    ; ]- z7 }7 {' o) F" j
  1171. mysqli.default_pw =% {, y+ m2 [+ Z: ]! B1 g/ c* `

  1172.   {: O/ L; g# n9 R# m
  1173. ; Allow or prevent reconnect
    6 `8 `7 b: Q; [" R  K/ _
  1174. mysqli.reconnect = Off  X* h) a) |- {1 I. v
  1175. $ i8 Y6 G4 \7 y- \
  1176. [mysqlnd]# D" |' V0 y* D9 l! P! I1 g
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be' n% W2 s8 w0 ^& u( Q# I/ N, @
  1178. ; used to tune and monitor MySQL operations.) b' H3 m7 ]& D  a  e; j
  1179. ; http://php.net/mysqlnd.collect_statistics  _: f3 d  Q* I, k) f
  1180. mysqlnd.collect_statistics = On
    # @- W. g8 Z0 H7 O

  1181. : v; e$ j- p+ C
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be, T* ~$ r" s& L/ p! P, R2 q5 Y6 ~
  1183. ; used to tune and monitor MySQL operations.
    $ w) G8 K/ J* R6 u; s/ O: c: p
  1184. ; http://php.net/mysqlnd.collect_memory_statistics. I. K5 D- f; U$ z: N  ~
  1185. mysqlnd.collect_memory_statistics = Off8 }3 n# h$ h8 D: e1 G' x6 L) ]; `. A
  1186. . c/ B4 J5 }4 X
  1187. ; Records communication from all extensions using mysqlnd to the specified log' W7 h+ g- b2 Z# L  l7 \# |
  1188. ; file.. b5 ?. ?5 e1 b: z3 ^
  1189. ; http://php.net/mysqlnd.debug  K% _/ ?2 O5 D, D: P0 {
  1190. ;mysqlnd.debug =9 R* I. }% u9 R+ }
  1191. # _8 V+ j/ _) i8 o5 |
  1192. ; Defines which queries will be logged., C1 `( B8 U' H9 r3 X! B3 ]: C. a
  1193. ; http://php.net/mysqlnd.log_mask9 R! b/ {: @) [
  1194. ;mysqlnd.log_mask = 0) A6 |* y* n) a7 g  t
  1195. / F' [( b# u9 R; |  u* Z
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets./ x( A# U" C* O6 P
  1197. ; http://php.net/mysqlnd.mempool_default_size
    ) S0 ]: h$ ~3 @+ _8 K# S
  1198. ;mysqlnd.mempool_default_size = 16000, t5 d" d, H7 |" U3 k2 z# }
  1199. # L0 A" V# B8 i
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.. M- j2 y( S3 g5 J* {* K" ]
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    ! q. E% v" ~( }5 a" |) k
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
      ?! ^9 Q( ~3 d9 t* Q
  1203. 7 r; v( |$ n* @3 j' S, o# m/ w6 s
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in* e. I' s2 T& j- W6 `2 i
  1205. ; bytes.
    ! V8 }0 \( o% C! x9 L
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    ! `( Y- @  n5 J! Y9 Y1 y
  1207. ;mysqlnd.net_read_buffer_size = 32768" t2 M7 D( ?  T* k  f3 F
  1208. . g& m7 t' m9 G/ G* n
  1209. ; Timeout for network requests in seconds.5 ^: x& G+ j' F$ i4 n4 S+ f
  1210. ; http://php.net/mysqlnd.net_read_timeout
    ) x! p* C7 t2 ?. P' U. w
  1211. ;mysqlnd.net_read_timeout = 31536000* @3 r, d9 u& Q2 ]
  1212. + n7 ]. ?* c: \" Y
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    ; F3 ]& p. V  ?7 j  E
  1214. ; key.( ^! J: I/ \5 P3 t- g. R
  1215. ; http://php.net/mysqlnd.sha256_server_public_key+ x6 W! p, z: w7 P
  1216. ;mysqlnd.sha256_server_public_key =( n( p- l" x* H1 H
  1217. 1 n* ?+ R! ]( H4 H5 f
  1218. [OCI8]
    . J9 B" b* M; S, j4 q7 _

  1219. 8 h6 W9 p9 v# B8 [
  1220. ; Connection: Enables privileged connections using external& a& l# M  A8 l( A
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    6 e8 n5 ?/ `% l/ f
  1222. ; http://php.net/oci8.privileged-connect
    $ B" x6 F, O, u' p: |7 G6 S5 b$ }
  1223. ;oci8.privileged_connect = Off
    ! }& m! K+ c" E' J  w

  1224.   l" s/ z' r  Q0 p, V
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    9 H* t& ]# I- S0 Z% Y
  1226. ; process. Using -1 means no limit.
    / v/ g4 a6 n* H7 |3 B2 q, e
  1227. ; http://php.net/oci8.max-persistent
    ' |9 u$ n& I% n! h
  1228. ;oci8.max_persistent = -1
    ' w2 H5 V! C: G5 B6 J8 W

  1229. 5 P- M: B/ ^! R; a- g
  1230. ; Connection: The maximum number of seconds a process is allowed to
    - G, o, [0 L0 i* X6 |
  1231. ; maintain an idle persistent connection. Using -1 means idle
    * v0 i( o& `9 y8 Q  v4 D; B0 b* P
  1232. ; persistent connections will be maintained forever.
    9 s6 \7 [0 j0 E) C5 _& M2 A
  1233. ; http://php.net/oci8.persistent-timeout% I) A& t' G1 E  x/ q6 D3 s
  1234. ;oci8.persistent_timeout = -1
    + B. ~) j2 D( K' y: ?" l; d: |3 ]

  1235. / q% W8 }( U2 B6 b
  1236. ; Connection: The number of seconds that must pass before issuing a
    ) u2 q2 o/ k- |7 D
  1237. ; ping during oci_pconnect() to check the connection validity. When
      n) _3 Y) Z3 D
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    " G" [+ N0 ^8 E8 I
  1239. ; pings completely.9 Z% u3 x$ z/ P/ w2 S
  1240. ; http://php.net/oci8.ping-interval
    7 N, u8 Z; Q( C8 y- E
  1241. ;oci8.ping_interval = 60" g* O+ s: E% g( ~2 [/ s

  1242. : i1 v* O$ g6 T, b* X" }
  1243. ; Connection: Set this to a user chosen connection class to be used3 y/ s9 Y( j5 N2 _7 H' a: \( h
  1244. ; for all pooled server requests with Oracle 11g Database Resident, U/ u8 F- D( y+ ^! v; A# A" [
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    8 \5 k/ g& s5 k: ]
  1246. ; the same string for all web servers running the same application,$ I5 l* M: e& P& p; ^% p. j, Y& ^
  1247. ; the database pool must be configured, and the connection string must, W  g# c. Q% Z% F
  1248. ; specify to use a pooled server.
    , N: V% U' D' k0 o1 S% g  J
  1249. ;oci8.connection_class =) s/ I1 _3 e7 n+ J+ g
  1250. 5 U& k7 G! X! r' g
  1251. ; High Availability: Using On lets PHP receive Fast Application6 t1 M( y$ g: m6 z+ Q! `
  1252. ; Notification (FAN) events generated when a database node fails. The! \4 n# q3 a$ H/ D; Z. u
  1253. ; database must also be configured to post FAN events.- k- @$ V9 M) h; s! X( E
  1254. ;oci8.events = Off4 w" ^+ u4 r0 t2 c" a8 b/ N: q* W
  1255. 8 }7 V  f& C" y7 J
  1256. ; Tuning: This option enables statement caching, and specifies how! c; R& X  V" x1 E$ z
  1257. ; many statements to cache. Using 0 disables statement caching.
    3 X, t! ^9 l# J% C0 r0 w
  1258. ; http://php.net/oci8.statement-cache-size8 i7 W8 d" I0 k" F: y
  1259. ;oci8.statement_cache_size = 20
    " h) x  ]3 N  S+ X( o! u& V9 X

  1260. 3 L! A' t3 b- ]! ?
  1261. ; Tuning: Enables statement prefetching and sets the default number of, _; c6 U; p0 V+ P! q: W  Y6 I
  1262. ; rows that will be fetched automatically after statement execution.
      j, |& \2 D. o) B% g
  1263. ; http://php.net/oci8.default-prefetch6 a4 }+ v6 m7 a
  1264. ;oci8.default_prefetch = 1006 Q% S9 h4 ~6 y, t" p) b9 Q
  1265.   o+ o3 w8 |- B" a  G
  1266. ; Compatibility. Using On means oci_close() will not close) j" u8 h- G- A
  1267. ; oci_connect() and oci_new_connect() connections.
    7 R( ]) N& _  O- ~( v+ k& T
  1268. ; http://php.net/oci8.old-oci-close-semantics, j6 v. H# ?; n( M8 S
  1269. ;oci8.old_oci_close_semantics = Off
    / b. G2 w. V- ]0 G1 P0 S1 N& U0 {

  1270. 1 a2 L9 {7 @3 \' [- T% `- q! T
  1271. [PostgreSQL]; G+ j6 H# O/ D: R9 j8 @
  1272. ; Allow or prevent persistent links./ e5 ~, r+ a) p. Q7 q7 O) ]
  1273. ; http://php.net/pgsql.allow-persistent! A  ~7 i. c& J) }; s
  1274. pgsql.allow_persistent = On
    7 M2 f+ H( P( M1 D! f

  1275. 0 H0 d+ N& _* ]: k
  1276. ; Detect broken persistent links always with pg_pconnect().* U! w- ?2 E3 L  w
  1277. ; Auto reset feature requires a little overheads.
    + [$ l. _4 Y- e5 M: z9 P% o" W
  1278. ; http://php.net/pgsql.auto-reset-persistent
    % y8 G9 S, W) ]+ T+ d; |  V5 {! ]5 z' j
  1279. pgsql.auto_reset_persistent = Off  F! U  j: r: d8 N  I: Q9 i  \
  1280. 6 @; b" G+ |2 W4 \/ u3 L4 ?. N
  1281. ; Maximum number of persistent links.  -1 means no limit.; b3 _/ @3 \4 O! R: O! G* a" A. x
  1282. ; http://php.net/pgsql.max-persistent
    + x! A9 s  L: Y0 U$ A. }
  1283. pgsql.max_persistent = -1
    ( i* D  [' W9 i% E3 ~3 p6 _1 {

  1284. ( s9 C1 T# [- v  B: n7 {
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit." R  l, v6 b1 q. D: W
  1286. ; http://php.net/pgsql.max-links  l1 c" I9 l2 }4 V# W' w( Z
  1287. pgsql.max_links = -1! W# ]7 L, i% r0 e
  1288. 7 ], }5 {! l# s" d. Z; V
  1289. ; Ignore PostgreSQL backends Notice message or not.
    . z# K1 w1 s2 [. t  K' {
  1290. ; Notice message logging require a little overheads.
    / Z  d' I  E9 G6 G3 b6 P2 X
  1291. ; http://php.net/pgsql.ignore-notice
    / R+ {3 q; C& F# F! u  `  \
  1292. pgsql.ignore_notice = 0
    # q# W$ o) o! w

  1293. 5 f0 N/ ?7 n4 H/ U
  1294. ; Log PostgreSQL backends Notice message or not.; D: K. f5 m- o  G
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.# t2 Y5 z4 b% _& v$ Z4 v2 w9 D
  1296. ; http://php.net/pgsql.log-notice
      W! ?  J8 r6 _' S# G
  1297. pgsql.log_notice = 0
    ( U' C9 c7 v. i6 K2 r( w
  1298. 9 X/ B) g5 q9 T. r9 h& i! Q
  1299. [bcmath]
    , J! Z8 Y, Z, I  o) N
  1300. ; Number of decimal digits for all bcmath functions.1 e9 ~* u; g4 w- {
  1301. ; http://php.net/bcmath.scale! H. v( n. I0 c* L4 b: j0 l
  1302. bcmath.scale = 0
    & B" |; [/ p$ E- h" H( G8 K) S' a/ r

  1303. 8 G+ |  M; |! A3 i
  1304. [browscap]
    1 X0 N9 [" b: _- i6 D
  1305. ; http://php.net/browscap
      G8 t- g) G/ u4 v( z3 E
  1306. ;browscap = extra/browscap.ini
    ( P8 s$ k$ J9 ?
  1307. & Z: l, W! P( o2 w  X, Z+ y
  1308. [Session]
    " O5 @. ~/ K% v- }* t
  1309. ; Handler used to store/retrieve data.
    6 a; K5 h5 P2 O! i( T% C: @
  1310. ; http://php.net/session.save-handler
    ; p5 C6 h' a. f2 o, W4 s7 F; g/ P
  1311. session.save_handler = files
    ! Q5 X( m% n) f* m2 J
  1312. # a# w+ s( `4 P! D4 S
  1313. ; Argument passed to save_handler.  In the case of files, this is the path) q& {. p5 O3 l  U
  1314. ; where data files are stored. Note: Windows users have to change this
    9 s2 a( h- A8 G9 s% _5 k/ U" t
  1315. ; variable in order to use PHP's session functions.7 Z7 c' `  W+ ?6 j0 x
  1316. ;
    % z; L3 @' d% ?- \
  1317. ; The path can be defined as:* L/ M$ v+ m2 k' W/ U7 i$ m5 }+ R9 g
  1318. ;' T( d4 A+ F" c( Y* y
  1319. ;     session.save_path = "N;/path"
    9 m  S0 _% s* O; I" e
  1320. ;' |" }. k5 r# D/ B$ k. P: k( x
  1321. ; where N is an integer.  Instead of storing all the session files in
    2 P$ m% u1 F, V1 l- t$ w4 d0 ?4 n
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
      H1 u# e* T0 t4 n0 C
  1323. ; store the session data in those directories.  This is useful if
    " R% m5 \1 A9 |8 B
  1324. ; your OS has problems with many files in one directory, and is
      ]4 C! {6 @. {& [; R! j% z# I
  1325. ; a more efficient layout for servers that handle many sessions.
    6 R% ]$ z# q0 |+ m0 m% r/ Y
  1326. ;
      `5 F, u* _! l: J
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    + J$ B2 M& s" r$ v& }
  1328. ;         You can use the script in the ext/session dir for that purpose.5 \  T8 E  t; D3 i; L1 }6 \
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    0 W5 I/ ^4 d' f' i' b# A
  1330. ;         use subdirectories for session storage+ p1 Z9 S3 Q0 N4 L( Y- u6 {
  1331. ;
    3 O" S( F3 s( v. P7 U
  1332. ; The file storage module creates files using mode 600 by default.
    % R# ]: K2 M$ [4 F, D1 i1 |
  1333. ; You can change that by using1 U! a  j. `' q5 \
  1334. ;4 z6 s2 B6 j+ L9 y
  1335. ;     session.save_path = "N;MODE;/path"
    7 q  p8 r8 S6 R3 H
  1336. ;
    1 q( o% n7 w5 p: B1 O1 g8 o* t
  1337. ; where MODE is the octal representation of the mode. Note that this
    ! ~2 ~9 t3 ~4 J
  1338. ; does not overwrite the process's umask.
      a, t  k/ @% C, @' ~
  1339. ; http://php.net/session.save-path
    6 m1 X% r; z0 |+ c* o
  1340. ;session.save_path = "/tmp"
    6 G6 s+ F1 s& e6 L8 s
  1341. & V9 ~* r4 Q3 O5 G8 l) P! i( K
  1342. ; Whether to use strict session mode.
    + u' {$ z, t  w; L% @  K. ^
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    5 w2 l3 W* v- y. e5 _8 g+ d
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    % |& S( [7 n* B
  1345. ; applications from session fixation via session adoption vulnerability. It is& n& ~4 ?* L2 U: ~9 ]- [0 \& s
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    ; {' m% c! t: X  t7 I" O& i
  1347. ; https://wiki.php.net/rfc/strict_sessions* Z% Z1 v  x4 y
  1348. session.use_strict_mode = 0* |* w" r; [, L7 q: m2 i$ E  O
  1349. " t# V5 X; ?* M# q
  1350. ; Whether to use cookies.
    ) w! S! A( _, g6 [
  1351. ; http://php.net/session.use-cookies
    ; |& ^& W0 @& k# J: K
  1352. session.use_cookies = 1
    * H9 C: j6 A6 U5 o

  1353. ' p( Q2 P7 R7 l0 b8 z. ^: S
  1354. ; http://php.net/session.cookie-secure
    ( F+ O6 E$ S6 s$ n2 {2 f* w: `
  1355. ;session.cookie_secure =$ `1 t2 X$ u/ i/ u" l8 E$ f2 m: Y+ K1 I

  1356. 7 y# n* z1 `. n- c
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    . j" h, o7 P: Y
  1358. ; the session id. We encourage this operation as it's very helpful in combating+ U' ?; I% o" J
  1359. ; session hijacking when not specifying and managing your own session id. It is
    , W. G  o; x" l5 u( _4 R
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    7 f$ N/ T8 ?+ x+ R! ^- V. e/ _
  1361. ; http://php.net/session.use-only-cookies' I7 @9 `3 a2 f) ^! H3 o
  1362. session.use_only_cookies = 18 O- F! _2 ?/ A; J
  1363. 7 d7 t! O! ?1 Q5 R* \! @7 e
  1364. ; Name of the session (used as cookie name).
    - Q" u  l' }0 A; P, q) T, H( v4 l8 r
  1365. ; http://php.net/session.name
    7 L7 ^9 o6 w  T
  1366. session.name = PHPSESSID) {) Y, U, ]% ?
  1367. % r: @1 u! ~& T& r* `6 v3 a7 ?
  1368. ; Initialize session on request startup.+ d! b0 d" `( o- j/ s
  1369. ; http://php.net/session.auto-start
    0 N8 D3 W' D/ q, j; n
  1370. session.auto_start = 0, F! m8 w3 G& c9 Q3 p

  1371. 6 m$ Z6 J; Q  y$ x& q# a
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted., p% b$ z8 B. I
  1373. ; http://php.net/session.cookie-lifetime
    0 K5 X/ k$ J( [. K
  1374. session.cookie_lifetime = 0# b: Q- G! S; @$ o! m7 H, P3 z8 z& ~
  1375. - @% o9 \6 U* L- Q5 ~' V
  1376. ; The path for which the cookie is valid.3 f! R0 m( |, A' c' F
  1377. ; http://php.net/session.cookie-path- D$ [8 T6 d4 \% z
  1378. session.cookie_path = /
    ; J' F' w( i. a6 {, A

  1379. 2 E( S% O. m( H! a8 `# d6 ^
  1380. ; The domain for which the cookie is valid.: h1 m7 h! y* X
  1381. ; http://php.net/session.cookie-domain5 v! Z; `  _$ u
  1382. session.cookie_domain =+ m! W, s9 B" p

  1383. 8 T: W. f; n4 Y; V
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.3 A# R9 f1 R/ s7 k7 U
  1385. ; http://php.net/session.cookie-httponly1 g. O# w- O  k6 H$ S  P& ?
  1386. session.cookie_httponly =
    8 O! a4 [* v2 q' {
  1387. 0 ]2 N5 n3 ^# R4 V5 D' ]
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    4 h: q1 z' N5 ?1 Z: [, W5 L* u1 }
  1389. ; http://php.net/session.serialize-handler, Y5 y6 ^6 J- f1 S' M
  1390. session.serialize_handler = php
    ! a5 s! R8 L! C, l
  1391. . S6 }& n* m; [$ D6 x; L$ J% h
  1392. ; Defines the probability that the 'garbage collection' process is started9 x# R: _+ G) F* Z2 V9 ?
  1393. ; on every session initialization. The probability is calculated by using
    2 |/ S$ I7 X  ~2 w: a
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    ; |8 J2 f' W  E/ P' ]
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1% n0 E) Q+ X0 S+ [/ U
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    3 x7 y- t) d0 N) X0 b, U
  1397. ; the gc will run on any give request.8 a/ M" {2 ?4 s( N6 K
  1398. ; Default Value: 1/ Y" R. ?. \2 S3 p* t
  1399. ; Development Value: 1
    % p( g6 T8 C* L. T) [
  1400. ; Production Value: 1
    ( @5 a1 _7 x; b1 T
  1401. ; http://php.net/session.gc-probability$ p$ u) z/ A# G+ z+ d0 ~
  1402. session.gc_probability = 13 S/ }$ Q1 h1 A  U7 J/ {

  1403. ( O; b+ S! I% ]! H- M1 X" y
  1404. ; Defines the probability that the 'garbage collection' process is started on every
      x: S5 n8 K0 q0 y0 S( L
  1405. ; session initialization. The probability is calculated by using the following equation:
    : U1 a- c% H$ Y1 _
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    ( S' z% Y% L# K  K
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    + c: V0 X1 e7 L
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance4 j! K/ l! {! k! Q: @# Z- t8 [
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you; h& I  p, f- l  G
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,1 j8 T1 x  J: ~
  1411. ; this is a more efficient approach.
    8 g2 g2 j3 S7 c
  1412. ; Default Value: 100
    - b2 Q. N2 H' U0 J7 t- j
  1413. ; Development Value: 10008 P, R# @  W' U" ~$ D2 u
  1414. ; Production Value: 1000
    9 e5 ]% d5 P$ l5 D0 C2 D, L, w
  1415. ; http://php.net/session.gc-divisor& B* I* Q2 h2 \$ ?! l5 I
  1416. session.gc_divisor = 1000# W0 g/ J; w$ C
  1417. 4 a- T/ ^1 P  t8 N) n2 m+ T, j, [
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and* j8 a$ `: c  W) V( Y
  1419. ; cleaned up by the garbage collection process.- I3 m; k: m0 \- D+ r: f: e
  1420. ; http://php.net/session.gc-maxlifetime# z6 q  D, A$ q6 r9 j& f4 c
  1421. session.gc_maxlifetime = 1440
    * R9 H3 V' J# c$ |0 ^

  1422. $ b  H9 y2 M: C! G1 q4 j8 E
  1423. ; NOTE: If you are using the subdirectory option for storing session files( j3 ~  r8 ~/ }. y+ ]' t) C
  1424. ;       (see session.save_path above), then garbage collection does *not*8 i8 g( W" I& {' S* p  B
  1425. ;       happen automatically.  You will need to do your own garbage
    7 d! p# ~% A4 J2 {# U' M" M
  1426. ;       collection through a shell script, cron entry, or some other method., w& Z1 M( C5 {! `8 G
  1427. ;       For example, the following script would is the equivalent of+ r; V7 P$ {2 T$ I+ U; V
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    0 T5 U9 A  K5 O2 ?" Y. w* F2 ^) ?1 f
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    . Y: ]: H, D& q$ y
  1430. 9 \! }( f2 K5 i# ?' C
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    ' V; m0 P2 |8 c* S
  1432. ; HTTP_REFERER has to contain this substring for the session to be- J0 |3 r7 n5 K, x' u
  1433. ; considered as valid.
    ( r( Q* G# W& m/ O( s3 N8 m
  1434. ; http://php.net/session.referer-check
    8 [+ g$ }; c% y6 O
  1435. session.referer_check =
    9 N% I$ s( Y( I  D  V
  1436. 8 ?2 U6 n* b# e" |6 z6 C
  1437. ; How many bytes to read from the file., P5 [8 N7 _. s2 A0 M: P: s
  1438. ; http://php.net/session.entropy-length  F* r  F5 b; j. i! t5 Y/ f0 x" X! j
  1439. ;session.entropy_length = 32
    8 }, M9 z( k8 w/ a1 V2 K
  1440.   j% c* }" s  R" R
  1441. ; Specified here to create the session id.
    + r/ L- M3 c5 i
  1442. ; http://php.net/session.entropy-file" ]0 V4 @# _# n2 A+ S8 Y, [
  1443. ; Defaults to /dev/urandom
    ! f: F& z1 ^6 R7 W3 x, ^6 ]
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom5 T% I/ z  E/ U% u: g* B4 C; z
  1445. ; If neither are found at compile time, the default is no entropy file.
    + k4 ]) ]8 a' E* `" o! G( i) Y
  1446. ; On windows, setting the entropy_length setting will activate the& }  r4 i* q6 d1 y, x" b: V+ ?+ r
  1447. ; Windows random source (using the CryptoAPI)
    + A: Q  C7 n8 S$ U( n
  1448. ;session.entropy_file = /dev/urandom
    : G+ D- G) J# g
  1449. 1 N1 e$ p7 }/ x! a) |
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    5 b% Q1 U: {( }' m
  1451. ; or leave this empty to avoid sending anti-caching headers.
    3 e' P9 r! L) L  }) ]
  1452. ; http://php.net/session.cache-limiter
    / Y0 z& n, W; }7 v7 i0 x
  1453. session.cache_limiter = nocache7 W0 x: {( k5 }+ }( u$ h- ]% p
  1454. + I2 X% C# \4 J1 y; b+ p
  1455. ; Document expires after n minutes.
    + ?* g( M. G+ K9 }& \! q
  1456. ; http://php.net/session.cache-expire: c4 J$ U- _0 p5 S7 @# ?# m& @
  1457. session.cache_expire = 180; P3 d0 t4 G% P/ z7 I! p
  1458. ! ?' p2 h( {1 b% {8 s& b
  1459. ; trans sid support is disabled by default.
      I% b- u# z8 O
  1460. ; Use of trans sid may risk your users' security.
    4 K5 @/ i8 O- ?8 K
  1461. ; Use this option with caution.0 N( S* {, i2 {3 N( v
  1462. ; - User may send URL contains active session ID4 ~( U+ r1 o( P! G8 g6 s! M2 C
  1463. ;   to other person via. email/irc/etc.1 q; i. z7 U' _- L  E
  1464. ; - URL that contains active session ID may be stored
    2 A  j9 v: J  M1 r. a2 s
  1465. ;   in publicly accessible computer.
    + A  _* A6 U  k* r$ q- I
  1466. ; - User may access your site with the same session ID
    % g, I  N' m# M
  1467. ;   always using URL stored in browser's history or bookmarks.- e% `; g3 \# Q! c
  1468. ; http://php.net/session.use-trans-sid! N$ U3 L) @9 F% V: ]; f$ }8 H
  1469. session.use_trans_sid = 0% L# g7 B  _4 I" }$ y2 T) K
  1470. 8 A' D" h8 d+ ^  n
  1471. ; Select a hash function for use in generating session ids.
    ' B1 @6 f& s+ X4 a# \; Q
  1472. ; Possible Values6 j' M. z( N/ |
  1473. ;   0  (MD5 128 bits)7 T0 z( S3 ?% ^0 b  [1 M+ C
  1474. ;   1  (SHA-1 160 bits)
    7 l# k2 G5 C8 R7 @/ {4 I
  1475. ; This option may also be set to the name of any hash function supported by0 L) f* U- x# f( U" U1 I7 X
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()% U5 @' B; F: n1 |9 _! F9 J$ w
  1477. ; function.
    5 Y" r# Z3 T0 n( R& f
  1478. ; http://php.net/session.hash-function) {* }0 w1 l" B5 Y# J2 M+ \
  1479. session.hash_function = 0
    9 A: L3 M+ m2 y. V+ m9 H

  1480. : b- }( H5 m4 P
  1481. ; Define how many bits are stored in each character when converting
    4 x# s/ {. ^0 S7 @- f! C) _$ m
  1482. ; the binary hash data to something readable.; |1 M4 Q8 v9 w
  1483. ; Possible values:
    0 Z1 o2 D4 n3 h8 B
  1484. ;   4  (4 bits: 0-9, a-f)
    & g& _  E9 I) P. q+ M. b
  1485. ;   5  (5 bits: 0-9, a-v)
    9 X9 H) P7 U+ J
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    ( [5 h- y( l0 T/ i5 ]: Z
  1487. ; Default Value: 4- t! E3 z3 f" ^( A5 v/ P2 u6 g
  1488. ; Development Value: 5" F3 C* {9 @8 e* i
  1489. ; Production Value: 5( z) N, i9 [" z; }9 r* H9 {' f
  1490. ; http://php.net/session.hash-bits-per-character# Q1 H0 p0 }# R. @( d
  1491. session.hash_bits_per_character = 53 q% i2 r( ?5 l

  1492. + x' l3 F) o) {2 T$ M1 H
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    ( O, K, f6 {& F- x7 j# n5 y4 ~9 V
  1494. ; form/fieldset are special; if you include them here, the rewriter will4 @% j! I8 _; ~  E: |' `. ^5 B" m
  1495. ; add a hidden <input> field with the info which is otherwise appended+ C0 n2 z6 a2 L4 Z
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.1 ]+ S8 F* z) h& R% G: ^' r9 M
  1497. ; Note that all valid entries require a "=", even if no value follows.
    6 I7 R4 V$ z  j$ f& ?9 b
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="% t0 Z. w0 J! q5 [1 N5 E, P$ I; i
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    8 G' k  W% U1 A% N( [" z
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ; T/ U4 F! e8 |; U
  1501. ; http://php.net/url-rewriter.tags8 j" A7 P  q0 _* D! p
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    ! u% a3 s+ Q  e6 }, X5 h: M8 c8 U6 Z
  1503.   ^4 c5 ]8 z2 Q! o1 [- V
  1504. ; Enable upload progress tracking in $_SESSION
    5 n1 J) B4 }; g7 n6 E9 n
  1505. ; Default Value: On
    - C1 T* b" ~# E/ @5 o/ x
  1506. ; Development Value: On
    + X( O) K) u( {# E
  1507. ; Production Value: On7 g3 [: i& J) K2 e- D5 f
  1508. ; http://php.net/session.upload-progress.enabled
    9 O% ]0 P: o* i# E
  1509. ;session.upload_progress.enabled = On
    6 Q3 b( T( u/ q' S, s3 x3 e' a3 j

  1510. ' O) u+ t" J, f5 L% Z/ D
  1511. ; Cleanup the progress information as soon as all POST data has been read0 {" x( H) W/ ~! ~9 ]" e9 m: y
  1512. ; (i.e. upload completed).: Z6 Q# H5 _  i
  1513. ; Default Value: On
    2 b' L# R! A2 K* ?4 U( Y/ L
  1514. ; Development Value: On0 F2 G2 y4 G7 Q( T8 e
  1515. ; Production Value: On2 Q1 k" A- J& m% P* K7 L- k
  1516. ; http://php.net/session.upload-progress.cleanup
    8 x/ l* _/ {- M
  1517. ;session.upload_progress.cleanup = On' a& O& f  t2 H2 M/ S
  1518. 3 b8 D+ i% o$ S% i2 ]
  1519. ; A prefix used for the upload progress key in $_SESSION4 ?# U/ Z9 J2 q( R( J1 m. e1 {
  1520. ; Default Value: "upload_progress_"+ t$ {/ R4 \4 B0 V3 ]" m
  1521. ; Development Value: "upload_progress_"
    1 L7 {9 T: M. `7 C& i
  1522. ; Production Value: "upload_progress_"
    2 g8 g5 D: [2 x1 P7 p
  1523. ; http://php.net/session.upload-progress.prefix
    ( {* Z; [9 o5 S0 G1 v! Y( W$ i& T! H
  1524. ;session.upload_progress.prefix = "upload_progress_"
    # S% {" E; s/ D. R1 v
  1525. . n* u7 K; v" z- w" K
  1526. ; The index name (concatenated with the prefix) in $_SESSION% t7 H" a) Z* G! _' w8 S
  1527. ; containing the upload progress information
    - z# C6 R$ C  I% P( t+ Y
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
      T  m. r# D+ K# `
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"* C( W' U/ j. Q. B& ~% y- X- n
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ! O4 b9 J; d! T: A
  1531. ; http://php.net/session.upload-progress.name9 U! r, {4 C) W: X
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    # D0 b0 b9 O( O$ }% U+ I& ^8 g
  1533. . h, y. B6 `; r
  1534. ; How frequently the upload progress should be updated.
    7 ^; \- q$ k! m
  1535. ; Given either in percentages (per-file), or in bytes
    ! y. N5 k- x  Y1 U# _1 r# [& j
  1536. ; Default Value: "1%"
    0 J  ?$ M" m: i+ h3 @' m
  1537. ; Development Value: "1%"
    ; w% @! w+ u$ i* T
  1538. ; Production Value: "1%"# j) [1 P8 n) ~$ d1 M$ D9 V
  1539. ; http://php.net/session.upload-progress.freq
    ' F1 D! F5 [: c, N  M
  1540. ;session.upload_progress.freq =  "1%"( z( W/ C- @, M% s( m

  1541. ) a& `1 Q- a' p
  1542. ; The minimum delay between updates, in seconds2 I/ U  Q8 B4 T7 W. ^% [: u0 Y! E8 S
  1543. ; Default Value: 1
    0 G5 l/ l5 R- m: j
  1544. ; Development Value: 1
    4 |- f# u+ p0 ]9 O, f. Z) U$ T" [
  1545. ; Production Value: 1
    * q% z" \# @, Z+ b7 v  l4 Q$ y
  1546. ; http://php.net/session.upload-progress.min-freq
    : H9 f- _7 Y" l* e& A4 b! ~) T
  1547. ;session.upload_progress.min_freq = "1"5 ~- q  ^9 d4 x+ e" H5 D
  1548. * e) {9 C! T1 M" s0 U- W
  1549. ; Only write session data when session data is changed. Enabled by default.3 C7 r) N# l+ E
  1550. ; http://php.net/session.lazy-write
    9 ]' y0 l9 }6 p3 Z8 Z$ p
  1551. ;session.lazy_write = On9 ~& C" P1 x* h- J
  1552. + E6 A' e6 m7 y
  1553. [Assertion]
    1 w0 z9 s  I, ~1 r+ Z/ n4 x
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    + b( S7 V1 d3 C8 C
  1555. ; -1: Do not compile at all3 C+ s) t5 ?4 e2 r" j, a, S! D
  1556. ;  0: Jump over assertion at run-time: l' L! ?. O  o8 p# j' w
  1557. ;  1: Execute assertions/ h! N' y) H! a4 Y& k1 q% _
  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)4 i" m+ ~7 }5 k# u' z
  1559. ; Default Value: 1' Z( {* P$ ]9 Z! a8 v
  1560. ; Development Value: 1
    - g8 u, ^1 D2 |& Z- e8 E
  1561. ; Production Value: -1) ^) b& v8 v" a
  1562. ; http://php.net/zend.assertions2 W+ {( ^* z5 @" E, ]
  1563. zend.assertions = -1, n- u& e5 n' e7 x, H5 F

  1564. 6 \) e9 i7 H2 U
  1565. ; Assert(expr); active by default.# J; k$ [& @! M; l& S: }7 Z
  1566. ; http://php.net/assert.active( v7 H3 z$ a7 S( D) c
  1567. ;assert.active = On6 D' t8 T5 @6 G" s8 j2 k9 F
  1568. * G" T. X, x% |* f9 D
  1569. ; Throw an AssertationException on failed assertions
    / f: g% ~. @" K- O( g9 d, Q
  1570. ; http://php.net/assert.exception
    7 j1 J! d7 T1 O5 m& S# Z' K. r
  1571. ;assert.exception = On
    5 l$ Y6 R& n% S* }7 ~0 ~/ R
  1572. 2 t" R% o4 ]3 L% ~1 X
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    + K! ^& a/ Y: m2 u( R
  1574. ; http://php.net/assert.warning
    : w1 o7 @9 g+ O" A) }1 U: E6 n! r
  1575. ;assert.warning = On
    7 i% O+ c& L$ u' j! O+ \2 x; q

  1576. 8 S- D& x  i1 Z
  1577. ; Don't bail out by default.4 W  f! z2 K( K; @' R' _
  1578. ; http://php.net/assert.bail2 k, d9 F* b/ b) _
  1579. ;assert.bail = Off) }* K% l; K# y0 ]! J
  1580. ; G. ?. u  k# L: `+ x( G+ V6 r& {
  1581. ; User-function to be called if an assertion fails.
    , B! G6 N: R, d6 q( d; {
  1582. ; http://php.net/assert.callback9 t+ k0 q- ~" |4 H' q
  1583. ;assert.callback = 03 Y1 S% |# ~6 h7 ]( t, ?
  1584. , F+ {& Z0 X' B% [6 I
  1585. ; Eval the expression with current error_reporting().  Set to true if you want; G2 N! ^2 Q- {4 C( @) P& I8 Q1 d) E' B
  1586. ; error_reporting(0) around the eval()./ v# R2 O: }9 K* M8 Y# C6 u0 [
  1587. ; http://php.net/assert.quiet-eval
    # N( ^, A2 i3 [8 B; y+ p
  1588. ;assert.quiet_eval = 0
      v$ b+ m2 g9 R8 j0 a, N: O7 G
  1589. 2 o, x9 X& x0 a$ d1 W
  1590. [COM]
    9 ]: V) ]; T. _2 {* V8 Q$ b
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs; v# |: N2 f1 X* ?3 C
  1592. ; http://php.net/com.typelib-file
    # X. n* l& R' V4 t9 {( l
  1593. ;com.typelib_file =$ q8 Z/ h9 p- ^1 p9 d
  1594. ( T& S4 R5 K2 D( v# A
  1595. ; allow Distributed-COM calls8 |; c! {$ f9 `3 _
  1596. ; http://php.net/com.allow-dcom: S8 e! t  k- Z" h. K1 }; [' _+ b, R
  1597. ;com.allow_dcom = true
    " ?& ?7 c" N5 o1 G$ M8 L0 r0 a/ E

  1598. , b5 J9 U5 R3 t9 A( Q9 @
  1599. ; autoregister constants of a components typlib on com_load()
    & a8 }8 W2 ^8 j% Y8 V" E' G: [
  1600. ; http://php.net/com.autoregister-typelib/ F' l+ F# h! [- p
  1601. ;com.autoregister_typelib = true6 R. x" Q! ?# S9 c

  1602.   c8 x9 G! b/ p- b
  1603. ; register constants casesensitive
    " c1 B4 @3 P$ k6 [
  1604. ; http://php.net/com.autoregister-casesensitive/ K0 F/ Y9 r8 R6 u2 A6 {
  1605. ;com.autoregister_casesensitive = false) ~# m( @: \9 E& B1 Y6 R$ z, s1 S

  1606. % w. A! U! z2 D9 {7 T. p  u0 e; W+ h. s
  1607. ; show warnings on duplicate constant registrations5 U. T, `& R. G: M" ~* V
  1608. ; http://php.net/com.autoregister-verbose
    % |( U. S" ^% L) k* g5 _& M, o
  1609. ;com.autoregister_verbose = true/ o  [5 [8 H) w
  1610. ( G2 B) T8 [& C& d. k" s' z# z1 c; l5 n0 R
  1611. ; The default character set code-page to use when passing strings to and from COM objects.! \7 q0 W9 P" ~$ ~' m9 D6 l
  1612. ; Default: system ANSI code page7 I$ M! U, C: s+ P. M
  1613. ;com.code_page=8 R8 d' {; D5 j1 H9 ~/ R) J+ U

  1614. $ R" h0 {3 _( r; X
  1615. [mbstring]5 z; k" W# \2 _( P
  1616. ; language for internal character representation.. N. g6 d' w* X( X/ x5 _! E: I7 b
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    ; v  ~0 Y( K6 [' U
  1618. ; http://php.net/mbstring.language2 s0 |& ~- g" \9 @# F( q3 ?! R
  1619. ;mbstring.language = Japanese
    1 ?4 n" a% U0 {" {% X

  1620. 1 J9 L2 H2 T5 M  K+ M6 X7 {
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    6 ]( d2 d! G( n, k# q( S2 u
  1622. ; internal/script encoding.  q+ P- Y- m0 e
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)" f1 y: G! x7 t2 v) Z
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.; P" t1 A6 D5 G) E9 a$ M5 A* R! {
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding2 ?" W& X6 U" l  i. D
  1626. ;mbstring.internal_encoding =
      F, u9 Z; o; |2 V* e' |
  1627. + _7 U* U- l/ `4 E- N4 v- t3 f
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    % I7 b8 }& c0 ~( O8 a5 G% E* E8 ?
  1629. ; http input encoding.
    4 ~2 \$ j* k" e6 A( Z
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.3 L; P4 \" p. _4 d
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.; C/ \9 y# u6 W
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input* b9 ?: ~6 a# ~6 b1 A
  1633. ; http://php.net/mbstring.http-input* E# _$ k; n6 t, l& ^
  1634. ;mbstring.http_input =: h' T3 u3 R8 T8 ^/ C

  1635. " k4 e6 w, J2 b' z
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    6 h3 v0 ^" O' p0 K
  1637. ; http output encoding.
    2 _# S8 G0 {  y: j8 ^% B5 o4 ]
  1638. ; mb_output_handler must be registered as output buffer to function.
    " p4 {" G* b" H
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    0 Y0 G% }) T+ }5 }. F: Y
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output7 Z# T$ j$ E4 t, x. }) t9 C
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    " c% D1 e- ~3 s# z7 i( v3 v( A3 U
  1642. ; otherwise output encoding conversion cannot be performed., h4 F2 N& L) ~/ {
  1643. ; http://php.net/mbstring.http-output, g. k, L* l" r8 f
  1644. ;mbstring.http_output =
    7 ?+ E4 B1 y9 d$ ?4 t
  1645. , v0 S( s' G) N" @* v
  1646. ; enable automatic encoding translation according to
    0 u( F& m3 K% H0 r- t: B, R5 u
  1647. ; mbstring.internal_encoding setting. Input chars are/ R3 s2 D. k' p
  1648. ; converted to internal encoding by setting this to On.
    5 z3 s% H: Y6 r4 ]+ H
  1649. ; Note: Do _not_ use automatic encoding translation for
    / S  A/ ?& V1 ^( i
  1650. ;       portable libs/applications.
    . l4 g0 G3 b6 n" C* J3 ^2 J
  1651. ; http://php.net/mbstring.encoding-translation
    # i8 D" |1 t9 z4 e9 O# t
  1652. ;mbstring.encoding_translation = Off
    # `) _' x0 s6 `' |" C& E, n* l& m

  1653. 8 E" J5 ]  m  f3 n6 [
  1654. ; automatic encoding detection order.# U; S( t# L, o" N
  1655. ; "auto" detect order is changed according to mbstring.language
    2 G7 l9 h: i6 s
  1656. ; http://php.net/mbstring.detect-order
    + h7 |2 I$ X( D1 t& n
  1657. ;mbstring.detect_order = auto# T, M7 [  y) v
  1658.   Q* |. q7 g) I4 B: Y( J+ _( U- \! r
  1659. ; substitute_character used when character cannot be converted
    ! `- Z1 z: i7 H. F
  1660. ; one from another
    4 R2 q, f) }4 i8 C% J8 O
  1661. ; http://php.net/mbstring.substitute-character" G! O  P8 V% [8 D0 O3 P4 U3 ]0 k; P% S# Y
  1662. ;mbstring.substitute_character = none# J+ u! u, l5 t" }" K, G+ J

  1663. ( D; D2 T, h0 s: r/ {! f, I1 l
  1664. ; overload(replace) single byte functions by mbstring functions.
    8 v+ r. I! t- {$ ^. X! ^/ r2 W
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),% ]1 g# @0 N& ^. [) R4 `
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    : J( \; T* W7 t9 o+ K! R  H* c  Q* F
  1667. ; For example, 7 for overload everything.8 x) r( E3 s1 x* ]/ [" g
  1668. ; 0: No overload# ^  f7 {& j5 d  |2 Q0 H
  1669. ; 1: Overload mail() function  S# e/ e- J" k
  1670. ; 2: Overload str*() functions
    $ J1 t, O) o+ t. @* i
  1671. ; 4: Overload ereg*() functions6 P* x. O' q6 q5 x
  1672. ; http://php.net/mbstring.func-overload
    - c" H! ]( K1 x) W
  1673. ;mbstring.func_overload = 0- K: `1 a% f" A' l$ f8 C  s6 p# J9 I
  1674. 0 _8 A) w1 l) C$ m3 K
  1675. ; enable strict encoding detection.5 L" O6 a+ p' H1 X, A" w
  1676. ; Default: Off
    ( `, l4 I( ~: x4 h
  1677. ;mbstring.strict_detection = On) w7 y; u* {% G: ]3 R0 A) D8 ~
  1678. , `7 N/ E4 b' B
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()& V( ~8 m$ W/ X2 Z$ X; Y' r
  1680. ; is activated.
    7 H1 i$ t; ]; L, e
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)! N" y" Y7 B$ ?+ I6 K, z  X
  1682. ;mbstring.http_output_conv_mimetype=8 O* u: H  p" S0 [

  1683. 8 n; v8 d/ i" w% G2 K0 A8 @
  1684. [gd]- @2 y. }1 p2 l+ K- W0 U: G1 u
  1685. ; Tell the jpeg decode to ignore warnings and try to create# l* B  [2 D! j0 Q8 v$ M. t7 m& n
  1686. ; a gd image. The warning will then be displayed as notices
    7 t' g# p$ S6 G% v6 f. U$ f" t
  1687. ; disabled by default, i% D! {; e8 f% J& S, o% b
  1688. ; http://php.net/gd.jpeg-ignore-warning
    # y' g8 v+ b  E& w6 t: I
  1689. ;gd.jpeg_ignore_warning = 08 f5 g  A' S  S4 O7 M' L! F

  1690. ! {) v3 d* {5 X; v6 f
  1691. [exif]
    ' Y" H  D- Q& K& D  G" \
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    $ {& S2 |$ q7 X7 G( I+ x9 y6 R5 B
  1693. ; With mbstring support this will automatically be converted into the encoding
      [2 `5 C' _7 r; p: A, J
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    9 K" y( k- D, O1 v) e7 A- ]% U7 H
  1695. ; is used. For the decode settings you can distinguish between motorola and
    $ y! B; y2 y* d2 }
  1696. ; intel byte order. A decode setting cannot be empty.' X9 {  u+ l* M
  1697. ; http://php.net/exif.encode-unicode+ U3 S3 D% ^9 c
  1698. ;exif.encode_unicode = ISO-8859-15
    - q/ Z9 g; u- D% U: ?4 M

  1699.   x  J2 m9 {" k
  1700. ; http://php.net/exif.decode-unicode-motorola
      S5 E2 q) r4 G9 B" Q  Z
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    ( u  V1 d! ^# S- z/ T* G

  1702. : b9 P: L, o% i+ f$ V$ L' Y3 t1 S
  1703. ; http://php.net/exif.decode-unicode-intel
    % |1 l/ ^* X' Q5 h
  1704. ;exif.decode_unicode_intel    = UCS-2LE4 D  M0 ~9 k" Y" k3 L- c( O

  1705. : A& p0 u& t- t. \: G  ]
  1706. ; http://php.net/exif.encode-jis0 W+ U2 Y! \) M# {
  1707. ;exif.encode_jis =
    $ d) m4 Y% T* H- H
  1708. $ v% @1 q( {& O: w, j  I- S
  1709. ; http://php.net/exif.decode-jis-motorola
    + E  l' {$ m- e$ U: Q) [: N
  1710. ;exif.decode_jis_motorola = JIS
    5 c. m5 A* D; U

  1711. % u; {' F. [  }% T4 g
  1712. ; http://php.net/exif.decode-jis-intel$ h; Y* E* b5 ^) I
  1713. ;exif.decode_jis_intel    = JIS
    . r* ?$ e- `/ O& U+ [6 m  N
  1714. : L$ I: s$ L3 W9 S
  1715. [Tidy]$ C. O8 n, {# p
  1716. ; The path to a default tidy configuration file to use when using tidy
    - N: D; A% D9 C4 ?% |5 a
  1717. ; http://php.net/tidy.default-config' a: F5 Q9 _$ B% H: s- E
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    + ~( k3 i4 O0 u% c* s/ Y% c* L
  1719. # n6 u6 w; |" ]; k
  1720. ; Should tidy clean and repair output automatically?- q: o2 `. N* y& @* {7 b
  1721. ; WARNING: Do not use this option if you are generating non-html content: T* v/ f/ n  G7 J( @  B0 B) ?- f
  1722. ; such as dynamic images* Q6 Z0 V7 t' D8 N5 Z! T
  1723. ; http://php.net/tidy.clean-output
    7 Q% X) q! @1 H5 ~, m% o  R
  1724. tidy.clean_output = Off
    7 O# i. R- F( b, d
  1725. / u4 p; N) b1 i' T% N
  1726. [soap]6 I0 \: ~7 S0 Z3 Q3 a  b. K6 _
  1727. ; Enables or disables WSDL caching feature.
    3 R. G3 Z/ Z% ~0 y
  1728. ; http://php.net/soap.wsdl-cache-enabled
    3 s! J. o* \& g) |) y4 N1 S% @
  1729. soap.wsdl_cache_enabled=13 l& ?2 q3 K% t+ ?0 `

  1730. 5 r; J+ ?  m5 T9 {2 c1 Q
  1731. ; Sets the directory name where SOAP extension will put cache files.2 U9 G, k8 H- H6 d/ d. ?' S! ]) ?" w
  1732. ; http://php.net/soap.wsdl-cache-dir
    % _' F; a2 j+ C; f6 S
  1733. soap.wsdl_cache_dir="/tmp"
    ( K' f6 U( c/ O" E- D- `* N0 h
  1734. 4 {2 z: r: J9 i' |2 j
  1735. ; (time to live) Sets the number of second while cached file will be used
    # n& r# H  E9 Z6 S1 R9 f# @5 s
  1736. ; instead of original one.% z, v- u5 @3 Y! b8 Y
  1737. ; http://php.net/soap.wsdl-cache-ttl
    ! k, c6 j' s' \2 y
  1738. soap.wsdl_cache_ttl=86400
      M" M, ^. Q; R+ s' c
  1739. ' M( ^! H+ T2 `
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)* l) y0 i+ F* z4 B
  1741. soap.wsdl_cache_limit = 5
    . o, @. t& O5 y6 \3 q" u
  1742. ; n  Z( T9 g/ F
  1743. [sysvshm]9 c3 H* {  F) W3 g
  1744. ; A default size of the shared memory segment8 D3 \! p/ Q( H" K
  1745. ;sysvshm.init_mem = 10000
    8 M1 i. q- t. c
  1746. ( @* K- _! Y6 l+ [3 d
  1747. [ldap]
    4 O' i7 E" X; X1 _* G# n: h6 w' ]
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    2 j' E6 S) K9 g3 G" [
  1749. ldap.max_links = -1, \, X1 C9 N. y# t* t* e) _
  1750. ' S2 t4 k7 a0 t) L, w) W2 p
  1751. [mcrypt]
    7 G, |$ j! b8 m" b' q5 V# T
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    0 v* r: I7 w* V

  1753. 7 l. l: l& J/ b( p
  1754. ; Directory where to load mcrypt algorithms
    5 \7 E  F4 r' Y
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt): z4 P: q! S3 y' @1 o
  1756. ;mcrypt.algorithms_dir=
    1 f4 T" h. K0 U6 f# o  l7 r

  1757. ' q* F, r  h" C0 f0 N
  1758. ; Directory where to load mcrypt modes
    8 h  x, d, X3 o5 g$ K
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ( m3 p" u4 C$ Q* A: F. w( G0 z
  1760. ;mcrypt.modes_dir=+ G& t) f8 I& _) b0 P2 \
  1761. + |" w" d' k( U, t+ O
  1762. [dba]
    ! U( h) ?$ A* h* @
  1763. ;dba.default_handler=' u6 k4 i& l8 {6 u0 P6 [. f; q  v
  1764. ' ]1 Q/ i$ q. Y% [! ~8 B) W
  1765. [opcache]  g- n& T0 |1 X. ?+ e" F, o
  1766. ; Determines if Zend OPCache is enabled
    . @/ D; [( b) G9 t% B4 @7 J. L
  1767. ;opcache.enable=0
    0 y# i" i% k, m( s9 ~; ^

  1768. 9 |7 ?7 Z5 ~6 N8 m, J6 b0 C' B
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP3 q7 O$ Z7 V' J5 x
  1770. ;opcache.enable_cli=0, i0 {0 D% y: A  T

  1771. 4 L+ B' w" n4 W8 R; `* T( ^6 v
  1772. ; The OPcache shared memory storage size.+ O+ E8 Y' I* D" u8 ]" J# s# X% [
  1773. ;opcache.memory_consumption=641 d. O. g9 v" D7 p% R

  1774. 3 }& y$ H9 x. k3 I8 r; F7 x
  1775. ; The amount of memory for interned strings in Mbytes.) ?6 G% r, n0 `* \) F
  1776. ;opcache.interned_strings_buffer=4( n, K! _6 r* K6 t& U$ x* x/ w
  1777. - o! G+ r9 D( J2 |( x1 O2 n& o
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.7 W' ^4 x* T; f/ w* ^' |
  1779. ; Only numbers between 200 and 1000000 are allowed.7 z9 e7 @  _# p6 B2 @" _
  1780. ;opcache.max_accelerated_files=2000# w6 f0 o- {' d  h# O0 _6 X" r

  1781. ' }- H) m# ^3 Z" u* X
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.* G% ^# i, ^% g4 d0 r* V* A# z
  1783. ;opcache.max_wasted_percentage=59 T9 R; r( N( D

  1784. 3 Y; d2 Y) Y7 @- E; f4 X: i* y3 A
  1785. ; When this directive is enabled, the OPcache appends the current working+ \5 m1 j5 z0 L7 z/ p
  1786. ; directory to the script key, thus eliminating possible collisions between& p  m8 X0 L- o+ q1 n7 ^
  1787. ; files with the same name (basename). Disabling the directive improves
    6 x5 L3 i. T. J- i
  1788. ; performance, but may break existing applications.
    $ a& p. \- I+ }: ^; i
  1789. ;opcache.use_cwd=10 \! r2 y; Z. j

  1790. ( D" W) a4 ]2 t) [( z% Q
  1791. ; When disabled, you must reset the OPcache manually or restart the
    ; H/ r8 }: B/ P( q/ X0 D% W
  1792. ; webserver for changes to the filesystem to take effect.
    . W' z, Z: h3 o8 C1 ]
  1793. ;opcache.validate_timestamps=12 O7 b) z* b' N! l; X) b

  1794. 5 Q+ w8 [* W6 m5 a/ Z, ]3 t
  1795. ; How often (in seconds) to check file timestamps for changes to the shared+ _+ p% P9 T! x% s% @* \
  1796. ; memory storage allocation. ("1" means validate once per second, but only; k7 x& X% O, }  E& Z& J7 |/ b+ |
  1797. ; once per request. "0" means always validate)5 J' W/ [3 @- l% N. P
  1798. ;opcache.revalidate_freq=2$ ^* Q+ L# H. h1 p$ Y* G/ a* c

  1799. - `% `2 h5 J* o. z. M: X, n; Z
  1800. ; Enables or disables file search in include_path optimization
    % n# k. R! v- [6 y( {4 u$ a
  1801. ;opcache.revalidate_path=0) L& @0 |( e- u! H6 a( G  v* T
  1802. - I. M  y' X$ R" x! O
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    6 R' S0 {2 p$ Q$ u0 D. V6 X
  1804. ; size of the optimized code.
    $ W) F2 Z. j- g7 O
  1805. ;opcache.save_comments=16 N7 g6 f8 v* Q1 r- Z. `

  1806. : a& H- j" z- ?" f5 \
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code" z9 i5 T3 U4 ^4 F/ H. J/ X7 K
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.& u! I+ |7 N$ ~$ `( L
  1809. ;opcache.fast_shutdown=0
    ! Q4 u# u  R& {" {( Z' v' D4 Z
  1810. 3 _  f9 b; c! v; y7 T5 }" c. G
  1811. ; Allow file existence override (file_exists, etc.) performance feature.( i; R1 k" M5 f1 `& M8 \
  1812. ;opcache.enable_file_override=0
    ) g0 a3 \- n$ N4 N: D9 X! p
  1813. 5 `+ r$ k) V2 A
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    7 X! X8 ]! L* U' y
  1815. ; passes2 x- t* R) F/ U" {4 p& _
  1816. ;opcache.optimization_level=0xffffffff
    / \& N2 l: m# A& W% q- y
  1817. " p& M& h% y$ l( c6 B  f
  1818. ;opcache.inherited_hack=1
    : s7 h2 f) g/ T) i1 X- \, }
  1819. ;opcache.dups_fix=01 N" v2 W& o! |9 q* @

  1820. ) Y% k7 I% x4 N+ h# a, x
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    / h- O1 p) S' W6 n; s6 u5 _+ o6 N
  1822. ; Each OPcache blacklist file is a text file that holds the names of files% x7 l7 N8 D* f( r& B2 I$ W
  1823. ; that should not be accelerated. The file format is to add each filename9 z3 o; [( P# N3 O& H& p, w7 P& u
  1824. ; to a new line. The filename may be a full path or just a file prefix
    ) S3 K& Q- A3 D8 ~* j; n
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www0 ?) m* w. f' ~0 I
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    $ @. k" A# m; E+ {: {- T/ W
  1827. ;opcache.blacklist_filename=
    , l3 @4 Y; K  Y8 O6 t' `
  1828. ; W3 m, }7 T, k. Y# R+ U* M
  1829. ; Allows exclusion of large files from being cached. By default all files  R0 T' f1 @4 ?  `+ ]( D; i& T2 A
  1830. ; are cached." P" n+ x! {# z3 m
  1831. ;opcache.max_file_size=0
    ( p9 X. u4 F# L$ u' G  w6 ]
  1832. 1 `7 n( i9 E' T! E8 W! V
  1833. ; Check the cache checksum each N requests.
    ; N* u6 t, A0 w5 Q( O( s" f
  1834. ; The default value of "0" means that the checks are disabled., }7 `$ L. _  d# j. F' i
  1835. ;opcache.consistency_checks=0
    2 K6 P8 Z+ k' ?- K+ K9 b

  1836. 7 G5 j- h' \% S
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache/ |3 A; y# F+ r( g0 |7 z
  1838. ; is not being accessed.' i8 |+ V; l! p9 A% W
  1839. ;opcache.force_restart_timeout=180
    & W! r' `6 Z  r7 \- T  d3 ~
  1840. . b) ~) X( o9 i" V1 ^2 t3 u% A
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    # t5 @( z1 K& V
  1842. ;opcache.error_log=
    1 {/ ^4 T5 `8 j2 ~: S) F
  1843. 6 f% F' ~1 b$ C: B3 ?
  1844. ; All OPcache errors go to the Web server log.
    ) z+ P. X5 Z9 ?
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.( L+ [7 Q/ E' |8 @2 M. l
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    5 M. l' H* I" A8 g. c8 K! [3 x
  1847. ; debug messages (level 4).
    2 s9 h+ i% ?5 Q0 y0 G" e/ N" ]/ l- {
  1848. ;opcache.log_verbosity_level=1) l! m1 Q  S/ [' o
  1849. # ]# p- l% }- l
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.7 I2 g/ A* E& N6 h
  1851. ;opcache.preferred_memory_model=
    7 L9 H7 B3 s: S4 T+ @* b
  1852.   w( x& C1 R, ^! O
  1853. ; Protect the shared memory from unexpected writing during script execution.
    ( q3 z# R, C& D+ S- q
  1854. ; Useful for internal debugging only.% Q! S  Z; a5 j6 Q- H9 N) @0 @- U
  1855. ;opcache.protect_memory=01 b$ S3 L: L2 }* e* y

  1856. . F( Z; c* u; a
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is+ z! o7 u( S5 b; g
  1858. ; started from specified string. The default "" means no restriction7 Q& @" d0 @- z$ m
  1859. ;opcache.restrict_api=
    : E4 W3 [3 t1 ?$ q8 J
  1860. 4 h* h& @6 y& \. n5 }. f
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP- p" E; I& p4 m; N) L  J" ?" H5 [
  1862. ; processes have to map shared memory into the same address space. This' M# i9 S" u7 M& k
  1863. ; directive allows to manually fix the "Unable to reattach to base address"- I3 f% x2 o$ W  K9 @) z
  1864. ; errors.% `6 }2 R2 w% c/ u/ X3 A5 H/ q
  1865. ;opcache.mmap_base=- d# L! _7 q2 N$ U% l3 R4 M

  1866. 5 q/ y! u; D8 u/ T
  1867. ; Enables and sets the second level cache directory.
      _& B0 r( l( c9 h* J6 n
  1868. ; It should improve performance when SHM memory is full, at server restart or
    ' z* r- T' R9 B+ m
  1869. ; SHM reset. The default "" disables file based caching.
    - l1 f; l: b, ?, E  r
  1870. ;opcache.file_cache=4 o, V5 m. h9 R$ g5 P8 ~/ g; r% c
  1871. 3 [; ]6 R9 u$ h4 z
  1872. ; Enables or disables opcode caching in shared memory.. J  z/ D1 Q2 j
  1873. ;opcache.file_cache_only=03 |5 k. s5 n: M! s2 D2 Z

  1874. 9 F6 U7 U, ?2 X. C6 I- c. j- o& Y9 B
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    ; u; \1 A" ^9 w& o9 L5 Z2 k/ N4 f" d
  1876. ;opcache.file_cache_consistency_checks=10 b. L8 Q$ d  y- \" m5 a

  1877. # _/ G# U! n  d7 K9 l4 |3 d
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to, x/ p: ~1 z5 l3 v, O
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    / u# f+ M/ \& q$ U6 M6 L9 q0 n2 H
  1880. ; cache is required.- y% G/ }8 i* n  |2 E& K- R+ P
  1881. ;opcache.file_cache_fallback=1
    2 G( }2 w) J# r' `
  1882. 9 K7 {* t+ F4 e  P3 i0 Z7 J
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    4 L6 m) n9 H9 j6 L% O2 i
  1884. ; This should improve performance, but requires appropriate OS configuration.  E, u7 \4 r. @4 e  h6 q2 A
  1885. ;opcache.huge_code_pages=1# Z1 I0 p  }6 R5 x/ v$ I

  1886. 6 |9 t' R4 Y7 U1 m- Q# n
  1887. ; Validate cached file permissions.2 J# S- m) p- v9 Z) }
  1888. ; opcache.validate_permission=0
    8 `4 H/ M& f+ l- j! h3 S, E2 h# K
  1889. , q3 V: U) n" S4 l( j# ^: ?) u
  1890. ; Prevent name collisions in chroot'ed environment.
    # J5 T* l' P8 K
  1891. ; opcache.validate_root=09 Q2 d1 L: b) r7 ^) C0 n

  1892. 2 [8 p! Q3 L9 g
  1893. [curl]' u. w4 W- V' ?
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an" v0 T% `5 W$ Y( d' e  j0 a
  1895. ; absolute path.
    / E- n3 {& o( [6 u  _
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    / P( F' l- B1 `& A+ u& A

  1897. 2 z# ], u# N  r. m
  1898. [openssl], w- l; Z1 R! `
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem: X8 w6 U* |: I& L
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    $ r: C8 J- a2 {  K
  1901. ; not specify a value for this directive as PHP will attempt to use the
    & q* \5 r( y8 L
  1902. ; OS-managed cert stores in its absence. If specified, this value may still; X: F* u/ U- h7 }% N( N4 C* @
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context! _" X0 q: `- E
  1904. ; option.- u; G3 Q' G" O) @. r
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt* _) p4 N# a6 N2 Q& A  X6 n
  1906. 6 G3 f' q& b/ y8 d2 }, j
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the. n4 i" y3 W6 y+ K
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    * x& ~5 R3 x# a- Y1 M* e8 B% H
  1909. ; certificate. This value must be a correctly hashed certificate directory.2 _$ f/ g, U3 P/ d
  1910. ; Most users should not specify a value for this directive as PHP will6 H6 h1 L1 m! ?8 o5 v
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,! O' X& r, X7 `: M2 G5 n3 D
  1912. ; this value may still be overridden on a per-stream basis via the "capath"" L4 A3 H- c  T& y' n. e
  1913. ; SSL stream context option.7 o; v' W  T& I7 U" z
  1914. ;openssl.capath=
    % B7 Q8 R8 ]0 k
  1915. ) O; q( h9 C9 t/ q. C1 w0 S
  1916. ; Local Variables:
    3 `7 c$ ]( P2 h; o- P5 i0 r
  1917. ; tab-width: 4* p* `$ P4 N& l' }3 I0 a/ M6 f$ H
  1918. ; End:! @# E3 ?/ S& `- w  g9 ]! C/ g
  1919. 5 u1 b7 h9 f. s# h% z' D
  1920. ;eaccelerator
    ; @+ |0 b) m* l' u' ?5 E

  1921. : h0 k' @2 l) C4 A) A3 v$ M
  1922. ;ionCube. B% z! [  S$ n% m" }
  1923. 7 S0 K8 X" x( w- {
  1924. ;opcache$ T1 ]2 \- Z# k% U5 d8 @$ O* Y
  1925. , {1 \* V. ?8 v
  1926. [Zend ZendGuard Loader]
    1 A8 b, Y. j3 p. `1 X; L
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    " M) T9 w9 y( h: q6 q. \
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so7 f. Y5 x) R" u, T
  1929. ;zend_loader.enable=1: M# P2 x" `  y+ B+ q* a
  1930. ;zend_loader.disable_licensing=0# z! l8 W# d& Z& ~, I/ I' E5 X
  1931. ;zend_loader.obfuscation_level_support=3
    3 e" ^6 Y( q! W; Q. R
  1932. ;zend_loader.license_path=
    * Z* T" R) R4 `' F; ^  {
  1933. 3 Q* }& Q9 I% S8 q! ]
  1934. ;xcache
    8 c4 I/ [5 P9 j( i( a8 J

  1935. 4 @8 s0 z1 O5 u) ]1 |$ A9 u
复制代码

/ e  e& L9 v2 J
1 _1 p( ^; m+ s1 }
/ y8 d( b8 G& S6 q8 R6 B, l
8 }0 g3 B" Z* E
/ O: F  {" d) T% f2 r( F* }  V  k# i0 {' n0 f0 c: O) u- D3 L
- i4 s6 A, L/ k$ t' ?  R. k; e. a
PHP5.6版本原始设置& ^5 F+ N- q+ K2 D% L
5 ?$ l7 C2 i: v  [- |, A8 f
  1. [PHP], g& Z; @+ I! t/ c9 I

  2. $ x0 t" ^& u5 |, X' T+ v, y/ b
  3. ;;;;;;;;;;;;;;;;;;;, t$ b" J6 F1 U7 f
  4. ; About php.ini   ;3 B( I$ U, @. |+ d& L* d* H
  5. ;;;;;;;;;;;;;;;;;;;: Y& l9 M; O. t# E9 M
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    6 i! Q; i1 ?8 Y0 S. t9 B6 e
  7. ; configuring many of the aspects of PHP's behavior.- P( d" ]% M7 o' k. m
  8. 7 _5 X1 o. c/ O9 X
  9. ; PHP attempts to find and load this configuration from a number of locations.2 P2 Y# Y& y: S% N" X2 P5 c0 U' ^3 Z
  10. ; The following is a summary of its search order:
    3 l7 z) m6 M1 F/ ^1 D" z
  11. ; 1. SAPI module specific location.
    0 d$ }$ E0 J. H
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    , G$ g: a5 g; l1 z, K0 a
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    $ w5 u- n" H4 a8 L: d" f
  14. ; 4. Current working directory (except CLI)
    ( ~6 o  {( ]/ L5 Y
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP8 ^, U) t+ ^! A4 b
  16. ; (otherwise in Windows)
    , Y4 j; B6 I) ~; d
  17. ; 6. The directory from the --with-config-file-path compile time option, or the$ i5 H% y8 h3 a" i3 j* Q* L
  18. ; Windows directory (C:\windows or C:\winnt): `, k  s2 X( F) X! p# B, a
  19. ; See the PHP docs for more specific information.* h* E4 X9 ^  \1 d% \/ G5 w$ q
  20. ; http://php.net/configuration.file
      ^7 ~' P0 S  ^0 ?4 A$ }

  21. ' k. A1 B! d  C/ H3 @
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    . D$ M" f2 l. w# S, P+ @) j' F$ g/ p
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).( s3 q$ |6 e3 N) V' C
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    ; e4 B) o+ I6 l0 i3 p0 S
  25. ; they might mean something in the future.
    ! r" A* m3 r+ C; ?

  26. 2 U5 h# j5 |  K
  27. ; Directives following the section heading [PATH=/www/mysite] only
    1 G& V, G! J! R6 W
  28. ; apply to PHP files in the /www/mysite directory.  Directives/ D7 g3 j; E  n6 Z% c: u
  29. ; following the section heading [HOST=www.example.com] only apply to
    " p# ?5 p) x5 n: _
  30. ; PHP files served from www.example.com.  Directives set in these! {/ A6 C4 k. Z! z9 m6 ]
  31. ; special sections cannot be overridden by user-defined INI files or
    6 _2 s3 c; G3 b: C; D+ y
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    % G. I# k; A( u% N3 Y
  33. ; CGI/FastCGI.  i7 n& S. w$ J! |! e
  34. ; http://php.net/ini.sections# f! y6 h9 b# p& o$ o

  35. - q; j$ N* L# @8 q( U7 J' h) \
  36. ; Directives are specified using the following syntax:
    * ~$ M1 T- o7 [7 b( s2 K& q: _
  37. ; directive = value
    6 f1 D* t' U% T3 _# d3 R! g
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    1 x: C4 G9 Z# y5 v/ S  P
  39. ; Directives are variables used to configure PHP or PHP extensions.% Y! v) M# L4 J8 y% U5 h
  40. ; There is no name validation.  If PHP can't find an expected
    8 ?4 \! H. @# ]! I3 }& l" P
  41. ; directive because it is not set or is mistyped, a default value will be used.3 a7 |+ {: {. e7 I7 k: }
  42. 6 z: x% ~* t( H5 b# I% l9 z2 u
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one$ a7 v) W. }$ g% d. ?5 W
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression1 [+ c6 z: D" e0 w) J* W
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a# q0 L+ V- m5 _
  46. ; previously set variable or directive (e.g. ${foo})
    - x* J' d/ d0 a4 V  E; D
  47. 6 O, u; e6 m& l, R& K! ]
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    / y6 X. n( w! l0 R4 L
  49. ; |  bitwise OR7 u/ J7 a% k/ k2 g# {1 ^
  50. ; ^  bitwise XOR3 F) {; I8 f2 U  V7 N; p
  51. ; &  bitwise AND
      q& H3 |' c  s0 V* T
  52. ; ~  bitwise NOT
    8 O3 z% \, x: z- C0 Z% r
  53. ; !  boolean NOT
    * K$ s3 S; ~! h0 p

  54. 1 {4 J: i2 L& H7 H$ O0 I
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.! n6 x' [4 N. ?) a7 S+ o) M- s
  56. ; They can be turned off using the values 0, Off, False or No.0 G% Z% ]% P5 m7 }4 \7 J+ s, u

  57. + S8 z: P* V0 Z/ o
  58. ; An empty string can be denoted by simply not writing anything after the equal
    - v$ c( ?9 k5 }" V- n
  59. ; sign, or by using the None keyword:# t9 \$ o0 t1 ^' |6 ^: r3 O: e8 y' w

  60. 9 X* o  x/ V" Y& f4 F
  61. ;  foo =         ; sets foo to an empty string
    7 b+ |: Z' L' C- r; [- b
  62. ;  foo = None    ; sets foo to an empty string
    ) n% c& j7 Z. O" ^
  63. ;  foo = "None"  ; sets foo to the string 'None'
    + q$ L8 l$ M1 A' T6 J
  64. 5 R! j3 t7 V0 X3 ~
  65. ; If you use constants in your value, and these constants belong to a
    3 D. o8 C8 W! w# \
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),9 o  @% j! z" J( ]/ H8 g
  67. ; you may only use these constants *after* the line that loads the extension.1 `0 _, f& @* f
  68. # ^$ N3 z# d5 I
  69. ;;;;;;;;;;;;;;;;;;;
    5 a# ^: ?. M- ~/ e* s. `( Q  l! l
  70. ; About this file ;  Z) G, \6 w3 D  p3 E
  71. ;;;;;;;;;;;;;;;;;;;+ D' w" z+ i+ l: r
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    1 j4 V  w7 M- i8 V" Z
  73. ; in production environments and one that is recommended to be used in
    . C& r) i3 x& w3 ~
  74. ; development environments.: b, [9 n3 u: P& d

  75. 8 M8 y: W$ y0 v& m) a
  76. ; php.ini-production contains settings which hold security, performance and. c7 ^! W- _2 n4 a6 H0 ^
  77. ; best practices at its core. But please be aware, these settings may break6 }3 t' h4 U" z; E. H
  78. ; compatibility with older or less security conscience applications. We
    4 d& j" e2 w) F1 \  z+ E
  79. ; recommending using the production ini in production and testing environments.3 F* N- V. _9 ]  l& [0 h( z& N6 y

  80. % S, Y* t) i8 Y
  81. ; php.ini-development is very similar to its production variant, except it is1 k% {4 {) F0 G1 z) V( ^; e
  82. ; much more verbose when it comes to errors. We recommend using the3 @% ]1 P, e  c* Q3 B: y8 \! W" F2 ~
  83. ; development version only in development environments, as errors shown to
    * [2 ]. `. m: a& F  f
  84. ; application users can inadvertently leak otherwise secure information.
    ; S5 t9 I1 j0 \: u5 Q+ s
  85. 3 a& q$ D) s5 S. p0 `. K: q8 d
  86. ; This is php.ini-production INI file.
    $ X: b1 A1 V# b& p2 F7 V

  87. 8 r" g" \+ m2 h8 H2 u
  88. ;;;;;;;;;;;;;;;;;;;
    % O; O/ _6 L8 n. k
  89. ; Quick Reference ;
    , K; J5 e; H, f! D# i4 L2 ~
  90. ;;;;;;;;;;;;;;;;;;;, p; P( t# m. G. P  O) U' [
  91. ; The following are all the settings which are different in either the production) S$ D( w# Y3 e7 E1 J
  92. ; or development versions of the INIs with respect to PHP's default behavior.; L1 ?% d1 L6 q$ y* r$ \, r. y# |
  93. ; Please see the actual settings later in the document for more details as to why! ]' ~3 ^' J& V& l; d
  94. ; we recommend these changes in PHP's behavior.
    % t  [6 G* N$ S! u

  95. 3 ~( z+ G) _- \3 m' D9 j( O
  96. ; display_errors
      W. o( G' G( I1 t0 f( s  x# M0 l
  97. ;   Default Value: On+ A$ ?+ ?" w2 z( e& ^
  98. ;   Development Value: On
    6 G" d' {% E; \
  99. ;   Production Value: Off
    ( x  W! Q5 e* _/ X* r6 N

  100. ) ]* E  }9 H9 A: v) F4 y
  101. ; display_startup_errors! x* ~4 A- ~( @* x
  102. ;   Default Value: Off, L: J1 ^6 I; l9 r
  103. ;   Development Value: On% B5 n; H' Q2 z$ G5 E  J' `. O
  104. ;   Production Value: Off8 M7 D1 ~0 f5 s  `

  105. 3 _, n1 T' F% X& h# E% m
  106. ; error_reporting7 q* `5 g  q6 j
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    : a" `3 b$ Y: R$ n% s& ?
  108. ;   Development Value: E_ALL8 w3 J$ |7 z+ ~& M
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT: h. |* j- @3 {8 Y9 Z/ B0 z* F
  110. # i6 d9 t2 o. B
  111. ; html_errors) N$ n7 Y  `5 a8 v5 w
  112. ;   Default Value: On
    6 {: F/ z) A  f  ^7 P
  113. ;   Development Value: On
    3 T9 F' t" B  [( {) C
  114. ;   Production value: On, \1 f2 ?2 u: H6 w4 t' a
  115. + L* Y# [6 C( s/ o3 K0 x9 h
  116. ; log_errors
    ' g7 @8 B, p( ?8 U( q/ J
  117. ;   Default Value: Off
    1 T/ O2 u( i6 o3 w
  118. ;   Development Value: On+ o1 O( A9 Z. o) o
  119. ;   Production Value: On9 b+ @/ s# K. p& B" ~. j
  120. , N5 a2 b+ P' \7 w' m" A( P1 K
  121. ; max_input_time7 V8 R. J$ z8 `/ a& q" T( o
  122. ;   Default Value: -1 (Unlimited), f+ u1 }! ~) r: V; g& y
  123. ;   Development Value: 60 (60 seconds)* t' p7 _1 N; c* t
  124. ;   Production Value: 60 (60 seconds)+ z- `5 j9 s" E* j7 @) n

  125. 3 l. {: A) K' t$ M. ?: w
  126. ; output_buffering
    % u. b0 ]( n# X/ }3 h/ Y
  127. ;   Default Value: Off. T% Y5 G, m  |. Q
  128. ;   Development Value: 40967 ?9 |  {7 J$ p; d- Q6 Q
  129. ;   Production Value: 40960 A5 j6 x0 ?/ p$ X* {, ~* S
  130. : E0 C+ ~9 d8 s$ n$ a
  131. ; register_argc_argv
    % R% d  ~2 X2 f& q1 ]/ O
  132. ;   Default Value: On
    9 a" M" I$ j! Q6 ]$ a+ H* S, ]
  133. ;   Development Value: Off0 `9 U7 J1 u9 D. h6 t( d
  134. ;   Production Value: Off9 O7 E2 K! P- n1 V6 m3 R7 L
  135. 4 E; a- E) u! r( B9 N) f
  136. ; request_order
    0 T9 v- R! I/ h3 y4 S& S; q
  137. ;   Default Value: None
    2 F# Y0 [( [& B& H' C. t
  138. ;   Development Value: "GP"! M) o4 k& e3 S3 y
  139. ;   Production Value: "GP"8 \2 H" j6 a  a; R% D& d) [/ a

  140. & x+ u1 g( m' y3 h8 b; i: j& `
  141. ; session.gc_divisor+ G8 S* ^  {$ d1 X  t9 M9 r
  142. ;   Default Value: 100
    # R- G4 R9 k/ K& S+ [
  143. ;   Development Value: 1000
    ' G! l  d$ Y) ~8 a+ J
  144. ;   Production Value: 10006 d; ~' N+ g6 A+ T2 v, ]% s

  145. 1 K: L: }9 h: G; q
  146. ; session.hash_bits_per_character
      M$ {4 ]  @2 y% V# S1 I- d
  147. ;   Default Value: 42 {! @% c/ p9 }
  148. ;   Development Value: 5) R  r6 E& @3 Z- ^
  149. ;   Production Value: 5
    2 L7 ]! x5 c7 e2 F; \

  150. 6 c: [0 i+ i$ \7 Q" V0 b. r" G
  151. ; short_open_tag1 G( {# M% x  b4 N
  152. ;   Default Value: On7 C- O9 `& q: X7 j. O, o
  153. ;   Development Value: Off
    & |. o; A% G# F6 j1 T
  154. ;   Production Value: Off
    . M" w* W8 x9 |( G2 W
  155.   s6 x9 W$ n9 q
  156. ; track_errors
    0 B( k4 U6 B$ ?% U" N1 k9 n
  157. ;   Default Value: Off
    : v: h- u+ Y0 `5 `1 |
  158. ;   Development Value: On
    $ F4 X) U7 j0 j% d* o
  159. ;   Production Value: Off
    * j- k5 v- q8 e- K1 L, ~% o
  160. 9 C4 P# ?; g8 u: l1 }7 N+ T
  161. ; url_rewriter.tags4 ^- _" f" X2 f( B4 _
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    - f2 @# R" x# n% i
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    " H  \# L. U0 E) d: K
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"! v& |$ s& P+ T) x6 x0 s# S
  165. 8 [7 j4 u4 _$ g9 h; h8 U# r
  166. ; variables_order8 h! n1 q) C: u( b
  167. ;   Default Value: "EGPCS"
    * h4 k# w4 P. y& ?2 }: J) m
  168. ;   Development Value: "GPCS"
    / N% T& Q, R3 j1 Z! b  j
  169. ;   Production Value: "GPCS"% u) M, P3 O* _' A: _9 H& o  r

  170. . s9 F) W$ W" \$ [, f& J2 J- I% n' W
  171. ;;;;;;;;;;;;;;;;;;;;1 w$ m4 l+ q# i1 x6 e- |7 n" [' O7 H
  172. ; php.ini Options  ;' E& q- D1 T' I
  173. ;;;;;;;;;;;;;;;;;;;;- L6 l! L$ d1 F8 E
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"/ ^4 K2 r/ k8 E
  175. ;user_ini.filename = ".user.ini"# e5 u0 H1 {) X# `6 ^

  176. ' T6 b7 [2 K+ T4 }' h  C
  177. ; To disable this feature set this option to empty value9 `, ?0 g4 f. a8 x- d) x
  178. ;user_ini.filename =
    ( S* U  t4 z% S  `" q! H- N" u

  179. 8 o2 Q4 P$ F/ M: T4 }
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    8 u5 ^( t* }5 J, a0 Q; ]
  181. ;user_ini.cache_ttl = 3002 T% |. \& Z: q& h4 u

  182. ! G4 E6 ]8 ~: S7 E8 E$ \% k
  183. ;;;;;;;;;;;;;;;;;;;;0 w: m& E; r1 V* j/ o) f0 T
  184. ; Language Options ;
    ' D+ Y  O* B# ?2 g4 p' G$ ^
  185. ;;;;;;;;;;;;;;;;;;;;
    ! K3 o9 f; x8 _. r) h& Q: H. _7 z

  186. + p* e+ I3 i, b3 i/ d9 ~# o
  187. ; Enable the PHP scripting language engine under Apache.
    . m: e! g& t3 V) p% k: B8 u4 Y" `$ e0 D9 o
  188. ; http://php.net/engine
    " p' n: `# l8 \" _; U; _% J( ~
  189. engine = On
    " V* T) J5 j3 S. G: U
  190. , z9 |* G$ y/ \2 g9 x  B
  191. ; This directive determines whether or not PHP will recognize code between
    2 w, @- A: _8 j: o
  192. ; <? and ?> tags as PHP source which should be processed as such. It is; q7 L! b3 h* _
  193. ; generally recommended that <?php and ?> should be used and that this feature: q5 z9 @& k" W$ W& G5 C4 W
  194. ; should be disabled, as enabling it may result in issues when generating XML
    0 w5 I6 R; l$ K8 t6 B2 D
  195. ; documents, however this remains supported for backward compatibility reasons.& z# v! V% L8 \% P$ m9 D- A* r6 u4 i2 a
  196. ; Note that this directive does not control the <?= shorthand tag, which can be4 o. ~" K9 g' m! ?8 H% ~& G( n/ J
  197. ; used regardless of this directive.0 z  L, D' k# H4 C5 S
  198. ; Default Value: On
      G; P  v* K+ ]6 x% E: t1 ~
  199. ; Development Value: Off! \# Z- r4 |, ?6 s; E( M/ l8 R
  200. ; Production Value: Off6 x" f- p  Z" t4 w
  201. ; http://php.net/short-open-tag
    $ D& K/ u; a9 A7 j: g% P* i, c
  202. short_open_tag = On* ?6 d! N; z- v
  203. : I* v4 u9 v4 W2 A( @' @- ?' i$ G
  204. ; Allow ASP-style <% %> tags.
    - L' Y; ?  O8 @2 t4 w
  205. ; http://php.net/asp-tags
    ; s' f, E) O7 s( H. L0 B
  206. asp_tags = Off! @6 b6 Y: {* g) R# m( |
  207. ' x; n% Z- y9 n3 ^3 b7 v
  208. ; The number of significant digits displayed in floating point numbers.0 d: z' J9 k" V7 J4 P+ T0 U9 x4 T
  209. ; http://php.net/precision
    2 k+ I- U  v1 W% e6 v
  210. precision = 14
    * i: B, ^- P6 v$ `
  211. - `1 [. S9 W* r# l" s' \
  212. ; Output buffering is a mechanism for controlling how much output data$ H; |+ N  i; @6 m5 a
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    $ N; a8 R5 V" B6 c1 s( k1 X. U( s/ t9 q' h
  214. ; data to the client. If your application's output exceeds this setting, PHP/ a* s: J4 j/ D. N& G
  215. ; will send that data in chunks of roughly the size you specify.
    / r( g1 A: z- J8 S4 m, v) z
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    8 }/ ^7 J/ A: N+ I4 P# @: ?8 ^
  217. ; interesting side-effects depending on your application and web server.3 Y3 s4 b- _5 N. b8 j
  218. ; You may be able to send headers and cookies after you've already sent output
      e- N# M. u, O" G% F& d% p
  219. ; through print or echo. You also may see performance benefits if your server is
    6 Q9 s$ f& K( k2 c/ W  ]$ v
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    + Q1 l9 y7 z8 m. g" ]
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    7 b7 y9 _( `- t: C4 t1 @
  222. ; reasons.* Z2 V! I; l3 o- C1 w8 d
  223. ; Note: Output buffering can also be controlled via Output Buffering Control- H3 t# f+ G) H1 @. V! F
  224. ;   functions.! ]& z) Z* v& M( ^* ^
  225. ; Possible Values:& G9 _; `+ @. S) v! Y% W
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)( @- c& I0 l. ~5 T
  227. ;   Off = Disabled6 ~7 w& P) _) p$ \: ~
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    / m0 P# F4 F, ?1 W" o& l
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI* n. h0 Q! l9 e: N
  230. ; Default Value: Off! V! o9 R% q6 g) \4 ^, L& F7 p
  231. ; Development Value: 4096! H7 v& k4 n; q$ x
  232. ; Production Value: 4096) J1 w9 B( D+ M5 {" k
  233. ; http://php.net/output-buffering
    $ @) |. [$ V+ f
  234. output_buffering = 4096
    1 v% f% Z$ k9 @$ t

  235. 5 ~4 Z7 w' k6 S! _3 A) i7 d; ^
  236. ; You can redirect all of the output of your scripts to a function.  For
    5 N) K  O# n5 M8 W" d
  237. ; example, if you set output_handler to "mb_output_handler", character0 o  p4 Q" B5 ~: }4 y& ]# \6 D
  238. ; encoding will be transparently converted to the specified encoding.
    $ V/ T* o  o) G$ h8 V
  239. ; Setting any output handler automatically turns on output buffering.! _$ u. W  J* J5 b" Z
  240. ; Note: People who wrote portable scripts should not depend on this ini
    ( S# `* V. w2 Z: ?+ d6 d
  241. ;   directive. Instead, explicitly set the output handler using ob_start().4 g" x% A! f: C* n
  242. ;   Using this ini directive may cause problems unless you know what script2 I6 t7 D. k$ o& a
  243. ;   is doing.- t# m4 i: F! A/ E9 G5 x/ ^
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    . r  H9 }3 t, C: Q$ G' R/ P7 o
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".: r4 J+ o0 a1 R7 a/ g8 q: v- y# H5 P
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    9 x5 Q/ s0 u, l9 w/ L+ ]
  247. ;   Instead you must use zlib.output_handler.
    0 O! I. t+ f' K6 B4 M  Q  W& x
  248. ; http://php.net/output-handler. e7 f/ G0 [8 B3 D5 m
  249. ;output_handler =
    , a4 o5 y7 L- T: E( M4 j/ t
  250. # J% y/ L. R2 p( r- o
  251. ; Transparent output compression using the zlib library$ \$ W# C2 }  m0 M" _7 h
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size# B, d9 Y( T6 [1 _, L$ |! Y* Q8 u
  253. ; to be used for compression (default is 4KB)
    ) o  f0 }- k% P# q* a1 y
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP: I+ F+ b! g* o3 Z/ e, N; T' ]
  255. ;   outputs chunks that are few hundreds bytes each as a result of2 w/ F) D5 E* P" i
  256. ;   compression. If you prefer a larger chunk size for better
    + A' \/ o% N4 ^% k( P6 r' m
  257. ;   performance, enable output_buffering in addition.- B; u# l! B8 `. F! q, c3 ~
  258. ; Note: You need to use zlib.output_handler instead of the standard* b8 K( c. h# B/ B4 U: z1 B
  259. ;   output_handler, or otherwise the output will be corrupted.
      L- l" V% Q0 D  C% `* i3 ?
  260. ; http://php.net/zlib.output-compression
    . }" a0 k9 T0 g3 Q* y5 W
  261. zlib.output_compression = Off  x& u- K2 m+ z. f, ?$ D+ ^
  262. 7 m! X, l" n  M% ~, p6 }
  263. ; http://php.net/zlib.output-compression-level
    " ]/ j( N  o" s  `
  264. ;zlib.output_compression_level = -1* y3 i- r. A2 t4 u5 p

  265. ; M' H) {3 u. V) K$ _
  266. ; You cannot specify additional output handlers if zlib.output_compression
    , E3 C* C9 s6 `! A
  267. ; is activated here. This setting does the same as output_handler but in5 O- }3 t4 j9 X! t1 g7 y* g+ Q
  268. ; a different order.
    5 m$ Y' g# E0 t) I/ B
  269. ; http://php.net/zlib.output-handler" \' C/ Z3 i' K- c5 t
  270. ;zlib.output_handler =
    , \# |# a1 P, U) r/ p9 H, |6 C0 @

  271. . c- f! t- U9 q& e1 P
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    6 U$ d8 g# [) V8 e/ Z
  273. ; automatically after every output block.  This is equivalent to calling the" V% G# @2 C5 }' U) |3 F
  274. ; PHP function flush() after each and every call to print() or echo() and each
    ( @' _4 J: f' n1 T$ P# \0 \% r
  275. ; and every HTML block.  Turning this option on has serious performance1 g9 {8 ^$ C6 G2 U& s8 U
  276. ; implications and is generally recommended for debugging purposes only.
    1 Q7 e$ N. \9 o- g
  277. ; http://php.net/implicit-flush
    $ U% A* a# l8 a
  278. ; Note: This directive is hardcoded to On for the CLI SAPI. ?9 K: G/ w' \* R3 L
  279. implicit_flush = Off
    " ]1 ?. l. a4 u: f! K( x7 G8 g

  280. " H: W: |% @: }/ J; i2 s% z. n+ z
  281. ; The unserialize callback function will be called (with the undefined class'0 D# Z3 V4 ]+ ~1 N, u
  282. ; name as parameter), if the unserializer finds an undefined class0 x- S- q* e9 @1 T, o
  283. ; which should be instantiated. A warning appears if the specified function is
    8 ^* g# m' ]: B: t
  284. ; not defined, or if the function doesn't include/implement the missing class.; ~  w2 |1 f7 x0 O( `7 G
  285. ; So only set this entry, if you really want to implement such a+ _' {; l. V% T! \6 `2 l
  286. ; callback-function.$ N3 w7 t; O# G. A% y) j, R
  287. unserialize_callback_func =! Q# q% U# k4 A1 L6 _1 R& f
  288. % [: z# l  r5 Z9 b
  289. ; When floats & doubles are serialized store serialize_precision significant8 d# m9 A, L5 g
  290. ; digits after the floating point. The default value ensures that when floats# \  k6 C  \$ ]8 E7 K# s' x# H
  291. ; are decoded with unserialize, the data will remain the same.4 j5 p6 X9 j! [7 i( c/ R& _; m
  292. serialize_precision = 17
    ) ?: p9 @8 t0 u$ U

  293. 4 R' g7 F- o3 `* }
  294. ; open_basedir, if set, limits all file operations to the defined directory
    * o. j# R7 v3 ?5 m' e, K0 V
  295. ; and below.  This directive makes most sense if used in a per-directory8 V+ Q5 W( \$ y7 K% K. p- s/ l
  296. ; or per-virtualhost web server configuration file.
    ( J4 d5 u0 S3 D  a# \% b$ L
  297. ; http://php.net/open-basedir1 B1 O) [) ]6 j7 L
  298. ;open_basedir =% V  G; x% A( l0 }# {$ {9 g& w- z
  299. % a+ |! R: L: U! U" t$ }
  300. ; This directive allows you to disable certain functions for security reasons.
    7 e: |6 i( `: w: z
  301. ; It receives a comma-delimited list of function names.! R: h! Z- I+ x4 ?
  302. ; http://php.net/disable-functions' E* ]/ N# J9 O, L
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru1 e5 s1 U) o) R6 g' w
  304. % D" P  X' N  S3 m+ a
  305. ; This directive allows you to disable certain classes for security reasons.2 a1 t4 |6 g+ t7 n) \
  306. ; It receives a comma-delimited list of class names./ o1 H7 q% }: j. U- t0 E
  307. ; http://php.net/disable-classes
    2 N' U! r; z' k* K: B1 ?) T# ^
  308. disable_classes =; L1 T& w9 D- q  l6 e6 \& M

  309.   \/ Y) s4 h  |  C2 N* L: D' O
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in0 w3 }) K; ?3 w6 k. o
  311. ; <span style="color: ???????"> would work.* R& E0 o0 N6 v4 m
  312. ; http://php.net/syntax-highlighting
      V7 ?) ?- f1 B
  313. ;highlight.string  = #DD00008 Q1 A* @: J8 `+ ?" S' [
  314. ;highlight.comment = #FF9900
    & Y# {8 D4 W  [$ m
  315. ;highlight.keyword = #007700
    & H& I/ T5 o2 Y+ c. ~
  316. ;highlight.default = #0000BB
    ) Y- W4 v) \$ T
  317. ;highlight.html    = #000000/ ?6 w1 O2 R7 J

  318. " h* E9 y: @. E
  319. ; If enabled, the request will be allowed to complete even if the user aborts7 \) `2 w8 P# [; p% c- O
  320. ; the request. Consider enabling it if executing long requests, which may end up
    ' k( \. u4 {4 ^
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    ) t/ ]1 `1 E5 X; G
  322. ; is to disable this feature.5 |% K4 T9 e0 @
  323. ; http://php.net/ignore-user-abort* `" o' J, w3 Z1 D% k7 e$ w7 `
  324. ;ignore_user_abort = On
    8 C* x3 L1 }8 q$ Y4 ?0 r
  325. 7 q: E& T# d/ Y2 y- Q/ U
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    6 p2 ^6 Z. U. b
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    . e2 c& M9 I# K/ n5 _  [
  328. ; the file operations performed., I' L4 K  {1 l0 Q
  329. ; http://php.net/realpath-cache-size
    ) x! W: Y3 I. w
  330. ;realpath_cache_size = 16k
    4 o) |' R( E1 q3 E* z! Z

  331. % P, C" N5 |2 T0 p3 L
  332. ; Duration of time, in seconds for which to cache realpath information for a given- w) H" D4 x' i
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    # Q# R4 N- n% T9 z; m
  334. ; value.
    0 S9 n3 i( I* o  X
  335. ; http://php.net/realpath-cache-ttl5 T. o; `+ c$ p$ [  Z9 t  @
  336. ;realpath_cache_ttl = 120
    4 _6 m7 c3 [# ?% a8 g) Z/ ^
  337. ) W2 U0 l# f: W* [  X
  338. ; Enables or disables the circular reference collector.
    5 _8 G7 {, z, j+ \& B( y
  339. ; http://php.net/zend.enable-gc. X  u' H, g" Y' C
  340. zend.enable_gc = On+ z6 t2 n1 x2 y$ v4 M
  341. 9 G9 g' n+ @# d1 y. K! G! b
  342. ; If enabled, scripts may be written in encodings that are incompatible with. Z% ]5 k8 |: m# v9 I- Y
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such( \! e# L9 o) `  d$ ?4 O  M, r
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    , q3 @! y# ]/ }4 V
  345. ; Default: Off
    " [. o& u& }7 j. e8 s; {; L1 w
  346. ;zend.multibyte = Off# C, s. N+ v; J' u; S
  347. ; Z+ A% W/ v4 v; @# [) k3 ~/ X, N
  348. ; Allows to set the default encoding for the scripts.  This value will be used0 r: R! r2 S* l
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    6 n" {0 T' E3 |* c
  350. ; Only affects if zend.multibyte is set.
    & Q+ y# z5 y% L- }2 o/ r
  351. ; Default: ""
    ) u' o4 x5 C$ Y' K: U" V
  352. ;zend.script_encoding =& j# e4 @% q# h# T

  353. ! G+ `) ^# W+ \% p1 @
  354. ;;;;;;;;;;;;;;;;;' h) a6 e4 E; @" M5 |4 X2 h
  355. ; Miscellaneous ;
    . _% r# b( C' c$ w. G) T
  356. ;;;;;;;;;;;;;;;;;9 l! H7 j: @7 Y$ _) C0 V# A
  357. 2 W' x, S( B4 K" Q- A2 r: x" I
  358. ; Decides whether PHP may expose the fact that it is installed on the server- \) N/ w, t  Q5 p& _4 Y
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    9 S" g8 g  a, F3 r8 Y! ~
  360. ; threat in any way, but it makes it possible to determine whether you use PHP: r& J  p3 f- j- v
  361. ; on your server or not.
    ( N, M: c% f$ X: n
  362. ; http://php.net/expose-php9 [9 `+ P# a& x
  363. expose_php = On
    $ j" A$ Z4 c" `3 Y; U' N1 w2 ~6 {
  364. $ B# p' o2 q4 w6 Z
  365. ;;;;;;;;;;;;;;;;;;;9 ^! z: H* y# P( q3 V# \
  366. ; Resource Limits ;( X: J2 u! O0 \. ?! h% o  @
  367. ;;;;;;;;;;;;;;;;;;;6 ]. N% f5 s& @9 j& P- i

  368. 1 @, ?+ q7 y5 D* ]: ]$ G
  369. ; Maximum execution time of each script, in seconds" ~6 K9 M* j+ r" |
  370. ; http://php.net/max-execution-time
    / s# o' Q9 o! ~: y/ Q0 i1 `
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI% E- \) |3 t1 O# s* J; y2 g8 |
  372. max_execution_time = 300
    0 [6 B) Y2 q* e; l

  373.   c. }* |$ j1 t9 y; i" x
  374. ; Maximum amount of time each script may spend parsing request data. It's a good6 T5 ?& c8 M6 E! ~3 u( d7 \; |4 i( F) K
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly6 X4 W! {3 c! p% s3 A2 x: S* ?
  376. ; long running scripts.
    9 Z0 U& a3 U# g5 s
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI7 T% b/ y& }' y) i( J
  378. ; Default Value: -1 (Unlimited)
    - v1 |5 w$ t9 n( h0 n: l
  379. ; Development Value: 60 (60 seconds)
    ( N. g9 H7 i  F1 M
  380. ; Production Value: 60 (60 seconds)
    ; x- C) g- l$ X+ Y9 e
  381. ; http://php.net/max-input-time+ i7 p# X  v  F+ f! g) z
  382. max_input_time = 60" I! N2 I( f) y/ H% ^
  383. 9 U8 F) x5 z, C3 }! Q; F
  384. ; Maximum input variable nesting level# _0 L$ y6 i' ?9 j
  385. ; http://php.net/max-input-nesting-level: a9 I' B1 W7 N1 g  V# q
  386. ;max_input_nesting_level = 64! o7 f  V. H- Y/ F
  387. * j/ Q8 t" n1 B) I
  388. ; How many GET/POST/COOKIE input variables may be accepted
    - r- H$ U( g- `; \& m: O
  389. ; max_input_vars = 10009 T1 W/ R5 U8 K6 ]

  390. ' }/ U$ i1 `5 F( s
  391. ; Maximum amount of memory a script may consume (128MB)5 j$ x+ b8 j% x8 G3 h
  392. ; http://php.net/memory-limit
    - o6 c. ?) ~1 U2 O6 d2 |0 V
  393. memory_limit = 128M
    5 s1 F$ J. Q- U! ?& Q

  394. 3 P8 r9 ^8 M( Y" b
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5 k" z; v7 k. c1 O3 l
  396. ; Error handling and logging ;9 U+ w* w7 k! E
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ! c5 O2 }0 M/ [4 @
  398. * ]; A( A- [' C" R' r2 p) S* c
  399. ; This directive informs PHP of which errors, warnings and notices you would like/ c* s- d4 E( d" N1 o% C; c; Y
  400. ; it to take action for. The recommended way of setting values for this, i* S" f' _" G' Y% e9 V
  401. ; directive is through the use of the error level constants and bitwise0 g4 M- v+ ]9 O- u! M' A0 R3 \
  402. ; operators. The error level constants are below here for convenience as well as5 p5 `6 v& e% [, G3 @8 h- U: d+ e8 |
  403. ; some common settings and their meanings.* J$ m% ?( u* O& l  y! W/ Q
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT$ m, o( d  t1 C) W
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    # e" z0 @5 o& ^( b- k; J; W5 m
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    $ e. W' Z$ h% p: D7 _
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    ) b; J0 j2 }. }, N; y. z
  408. ; resources complaining about best practices and coding standards. That's what
    4 f, [* r2 g& `$ t5 Y
  409. ; development servers and development settings are for., Y. v7 Z$ z" H# ~+ ^4 }
  410. ; Note: The php.ini-development file has this setting as E_ALL. This+ J5 g& M, n4 |/ V$ k
  411. ; means it pretty much reports everything which is exactly what you want during/ M; u- c$ O/ x  M9 u5 }
  412. ; development and early testing.4 x3 g/ N1 a7 B! s
  413. ;
    & _2 I' L  C! h: f3 u7 s: R# q
  414. ; Error Level Constants:
    * b# C+ N, D# M8 e# u* m
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)6 s7 x% f; H4 E4 d3 s' r5 Y
  416. ; E_ERROR           - fatal run-time errors
    ! D1 }/ _, ?* a9 o+ W
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors+ o( y* f$ x9 s/ [+ J9 s
  418. ; E_WARNING         - run-time warnings (non-fatal errors)* ^, d; e1 C  x! n9 O# c1 V
  419. ; E_PARSE           - compile-time parse errors
      E; f6 X( I, ^" C
  420. ; E_NOTICE          - run-time notices (these are warnings which often result$ n- H' T  g; u) C% h$ D
  421. ;                     from a bug in your code, but it's possible that it was
    & {7 z% v( |/ F( P0 Z0 N3 _
  422. ;                     intentional (e.g., using an uninitialized variable and* O, B! b7 r, U/ c; u% W9 t6 N
  423. ;                     relying on the fact it is automatically initialized to an; |# q/ k% j, [) ?
  424. ;                     empty string)
    : ^& H; T4 I% W4 s9 Z- ]
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes9 s7 |7 b: J" E2 g
  426. ;                     to your code which will ensure the best interoperability$ p% t; O8 x. x* R- X
  427. ;                     and forward compatibility of your code; h# K9 \5 m2 d6 k& Y) g# L! S
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup4 l; `4 R/ w+ `% r* b
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    " P" j6 R& a. b6 D/ T; y! ^
  430. ;                     initial startup
    4 A5 s& Z) W0 W1 \8 l/ R
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    # \5 [. O  E0 v) x7 }
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    ' y& J% F: c- ^5 K, [
  433. ; E_USER_ERROR      - user-generated error message8 ~2 t/ D- M. S# D$ Z
  434. ; E_USER_WARNING    - user-generated warning message
    - U6 ?1 H0 i" X5 h( F! U- U0 M' _
  435. ; E_USER_NOTICE     - user-generated notice message
    , T1 G8 `* F5 z1 E
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    . B$ z! k1 g4 w  }5 z- X2 @
  437. ;                     of PHP7 p# r; U" a/ N$ ^/ w5 k$ W
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings6 B) b) [" B6 _/ ~$ T
  439. ;
    . ~9 E  X- b6 `  R7 \+ {
  440. ; Common Values:. O" X. t; ]6 _0 u9 y3 H
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)$ F1 [! N0 d, [6 i
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    8 h' s6 Y8 E% e5 u
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)' l; R0 N; R) `# K
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    8 N+ I3 `$ Q( @$ }% U- P9 R
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED( {0 A3 _2 Q4 {+ X3 f# z
  446. ; Development Value: E_ALL
    ) B' i7 F& ]& T& u$ z
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    + _" y/ u! E" S; ]  v" Q
  448. ; http://php.net/error-reporting
    - c5 S/ ]2 s2 u1 p, T
  449. error_reporting = E_ALL & ~E_NOTICE
    7 f$ g9 ]0 q1 Q% i$ Y/ d; x6 q

  450. / N$ p6 {+ U5 Q4 j/ y. i) D9 p, V
  451. ; This directive controls whether or not and where PHP will output errors,4 p! X4 {% l# W7 w2 s! {% Z+ F9 Q
  452. ; notices and warnings too. Error output is very useful during development, but% i5 x/ M6 B& o. X
  453. ; it could be very dangerous in production environments. Depending on the code
    5 w5 A3 P7 G9 |. y4 a, n
  454. ; which is triggering the error, sensitive information could potentially leak. h0 j. A+ L: |0 I' m* K7 Z
  455. ; out of your application such as database usernames and passwords or worse.
    9 w; b  l2 @6 ]4 i" H* j
  456. ; For production environments, we recommend logging errors rather than6 O9 r. G& [2 p( \( d% Y
  457. ; sending them to STDOUT.
    ) i/ j& J7 T5 K0 x# }: {; K
  458. ; Possible Values:
    , t+ q' M2 y8 l! I! K7 Q
  459. ;   Off = Do not display any errors# y/ |' \" Z6 B: e( ?' c
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    , o: A% H' p9 h0 A% ]/ I) p7 ^
  461. ;   On or stdout = Display errors to STDOUT
    7 h" c/ ~" @- C) ~" c- y- s: D' c& W0 w
  462. ; Default Value: On
    ' V/ A- @; v0 y7 n( Y! F) J
  463. ; Development Value: On9 ?( [) j/ T3 K# o! c0 h
  464. ; Production Value: Off
    * n9 n( Y. r6 f
  465. ; http://php.net/display-errors
    7 n1 c* N* P; t6 c1 l- v  m
  466. display_errors = On( j2 [6 g2 H6 D' n+ M

  467. ' r, L! S6 Z4 ~
  468. ; The display of errors which occur during PHP's startup sequence are handled
      H; m8 o6 e/ I8 f: ^/ t) }
  469. ; separately from display_errors. PHP's default behavior is to suppress those
    & v6 \: f/ t' i( `" q1 S( Q- i# c
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    # L/ J8 m, A2 r+ N* H1 O6 l  }
  471. ; debugging configuration problems. We strongly recommend you. U  M% {' t: X5 Y. i( k! W0 U- R5 U
  472. ; set this to 'off' for production servers.' @7 F8 i) |$ v% l# `
  473. ; Default Value: Off
    ! o; ?* E2 _. S( B& z; |) ~& d
  474. ; Development Value: On% h3 I/ i% ~& w9 {( |. v
  475. ; Production Value: Off- r* z- H" X/ R8 p) u  [
  476. ; http://php.net/display-startup-errors
    ) M8 f' b- p3 Q) l4 [$ ?
  477. display_startup_errors = Off) V1 p1 O$ R  \) E
  478. ! B* Y/ d/ [' U
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    # @5 ]" s* a& _; _) v
  480. ; server-specific log, STDERR, or a location specified by the error_log
    / q( {( N6 V8 ~7 R. @
  481. ; directive found below. While errors should not be displayed on productions& r& J0 w; n$ _
  482. ; servers they should still be monitored and logging is a great way to do that.
    + ~5 F* \8 C) H7 P
  483. ; Default Value: Off
    4 `. e& F! d4 b$ K- G
  484. ; Development Value: On' ^8 i. ~' o  J2 r
  485. ; Production Value: On' C6 @& Y* w6 V& e6 e( |8 g4 E7 N3 R
  486. ; http://php.net/log-errors$ W% {3 r; e. G  Q3 r
  487. log_errors = On
    ! }9 E/ \: S# Q3 L7 G8 @+ U
  488. / k9 o+ e# |. {
  489. ; Set maximum length of log_errors. In error_log information about the source is
    $ @' y4 E: Y0 A' C0 y
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    : Y8 X5 Y- Z$ I; X
  491. ; http://php.net/log-errors-max-len
    3 y. Q) Q2 x8 }" M' Y3 {/ p
  492. log_errors_max_len = 1024
    5 P; q+ r% \1 H7 n
  493. , `" ~. Z" D: O' R, X
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same9 S: @8 {5 n4 u" m1 e/ }  z
  495. ; line unless ignore_repeated_source is set true., ^3 O$ A) d& I( c, i
  496. ; http://php.net/ignore-repeated-errors
    % u! M: k- Y' u. [
  497. ignore_repeated_errors = Off$ K: V5 Q8 E1 x$ Y  {2 W) [  e
  498. 3 b7 ~6 Y. P( v
  499. ; Ignore source of message when ignoring repeated messages. When this setting% h  J9 m# j9 g# M2 {
  500. ; is On you will not log errors with repeated messages from different files or" U5 o+ X+ i( M5 C3 i/ h& H8 D% o# u) j
  501. ; source lines.. Q. X7 w; b* w4 z2 j
  502. ; http://php.net/ignore-repeated-source
    " J8 t+ |# S9 S
  503. ignore_repeated_source = Off' r+ s$ l+ r( Y

  504. 5 ?. O8 V3 ~$ T+ F0 p, l7 z
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    & C/ ^0 @" l9 ^0 d- K" Z
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    ! q+ B8 n. ~( Q+ N! {& B
  507. ; error reporting includes E_WARNING in the allowed list
    4 B* v& ^9 K0 ]& L$ b  w
  508. ; http://php.net/report-memleaks
    9 |5 {- H/ d% `; _
  509. report_memleaks = On
    3 s% `+ Y: r1 w
  510. ( V' G! x% y5 S- p7 S
  511. ; This setting is on by default.# f9 W) v/ c, o- w3 @
  512. ;report_zend_debug = 0: g; i2 c% w4 `# {* U/ Q2 Q1 @
  513. 2 j9 R7 U# s6 q, e5 o, {
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value3 X9 ?1 w& Y( K2 C$ B
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    2 g  E/ ~6 k* [9 L/ c$ y/ @
  516. ; however be disabled on production servers.
    " O- g0 O* z' \% s: z) B
  517. ; Default Value: Off' M' Q8 B5 P" j# L1 Y  }/ o: ~
  518. ; Development Value: On
    % E8 Y7 e# W% U, B; O3 r1 y
  519. ; Production Value: Off  a: Q# V- F- [1 n+ @; h
  520. ; http://php.net/track-errors
    8 v: ^) B# ~( {0 A! n" W
  521. track_errors = Off
    $ I  c4 K4 O" V5 N( I$ f2 h
  522. . j; T, P6 a* i* s8 h- a
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    - p9 a% ]4 l- y# s; [0 a) _; F
  524. ; http://php.net/xmlrpc-errors
    2 K9 h4 {+ J/ P0 f: M" g! G$ L
  525. ;xmlrpc_errors = 0  }) ?7 b  m/ v

  526. 5 |- v2 c- m4 w3 ~, m- r
  527. ; An XML-RPC faultCode
    5 W0 [1 O3 l" f
  528. ;xmlrpc_error_number = 0- J: M; j: `8 ~/ f; t& C# ?& J
  529. + O) m( }/ E2 F3 L# V
  530. ; When PHP displays or logs an error, it has the capability of formatting the! |6 K, d! t3 W
  531. ; error message as HTML for easier reading. This directive controls whether3 i$ h* ^" Z: ]3 a
  532. ; the error message is formatted as HTML or not.9 w8 p& N0 D0 x9 c+ Y) `
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI% b  o* {- K& I& K" G
  534. ; Default Value: On# H* X" A, v2 y6 c: @+ ?" S/ z
  535. ; Development Value: On
    8 n1 x. x5 b$ j$ G5 a* b( z
  536. ; Production value: On8 k5 D: k# l2 C3 r2 [' h8 L0 d
  537. ; http://php.net/html-errors6 ]' W9 n) E, }# \
  538. html_errors = On
    3 s2 T' g& T5 `$ o' i* n! U

  539. , }/ H3 `& G& ]
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP  s( T. D, X' x: K: r
  541. ; produces clickable error messages that direct to a page describing the error* \4 I1 }) e) X! o' y& e" i6 ]" J. \
  542. ; or function causing the error in detail.# x0 d4 {6 @( k# ]# V+ v
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    ' p7 [: p1 C& [9 l4 ]; H  b. p
  544. ; and change docref_root to the base URL of your local copy including the! D+ ~- S. ~- V7 P$ {
  545. ; leading '/'. You must also specify the file extension being used including
    9 x' ~& N9 }6 O4 ]& x8 J
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which; e& y- L# B; S+ X
  547. ; case no links to documentation are generated.
    ! s2 o& ?8 x( ^* J1 b
  548. ; Note: Never use this feature for production boxes.: z% C1 q0 d& R  B
  549. ; http://php.net/docref-root
    * g$ P  Q9 N3 \1 ~' V* F3 }  Z3 |+ G7 j
  550. ; Examples
    9 l. A3 M$ h" A' z5 {. g
  551. ;docref_root = "/phpmanual/": X; J+ V9 H6 z9 S/ Q* ^- J5 r
  552. 8 O; `0 }. w. l# m% I" L! P
  553. ; http://php.net/docref-ext
    # Z+ m. z* u5 l9 I
  554. ;docref_ext = .html& Y, [) W* Y; C: |

  555. 8 \- w1 G1 b3 p
  556. ; String to output before an error message. PHP's default behavior is to leave
    ! m1 c1 k$ \/ @# W6 m
  557. ; this setting blank.
    * J% S1 h+ Z2 W
  558. ; http://php.net/error-prepend-string
    7 d8 R, q$ {; M3 j+ Q9 l& c
  559. ; Example:
    * i" O  `3 r- a: u/ x
  560. ;error_prepend_string = "<span style='color: #ff0000'>"+ _: ~9 R" `3 o# S- j( |3 c) }
  561. % ~. B; ?. e' O. R! o# `0 \* S
  562. ; String to output after an error message. PHP's default behavior is to leave
    7 S9 w5 t% \5 D) L% ?- N4 R4 c
  563. ; this setting blank.
    / U% f5 |$ {* B; U5 }* d5 f8 N" _
  564. ; http://php.net/error-append-string
    * B$ n! l; l, k, }3 O3 o
  565. ; Example:
    ! g* q3 K' i  n; B0 C
  566. ;error_append_string = "</span>"
    3 p* a, t: E4 _; e, S" {5 |% ^

  567. 5 m, O: U5 R2 q/ b
  568. ; Log errors to specified file. PHP's default behavior is to leave this value8 y. d$ c- t1 ~5 L" w
  569. ; empty.' h" H/ s  P) n* P! g* C: d
  570. ; http://php.net/error-log
    + ~- j) S7 z! `$ j, d
  571. ; Example:
    2 b! t+ B2 G6 T/ |: y+ S6 x' T9 ~
  572. ;error_log = php_errors.log! ?) c/ w2 V; A. a/ F: }
  573. ; Log errors to syslog (Event Log on Windows).
    ! o0 d) ~( e7 y3 r6 \. q
  574. ;error_log = syslog
    ( v, y! W- n. v3 T% Q, w

  575. 7 Y7 \4 J) t" c2 \: G) K2 e
  576. ;windows.show_crt_warning
    , C; s* e; z: X2 k7 z
  577. ; Default value: 0
    ; m6 E$ b/ b% M- o3 p
  578. ; Development value: 0
    ) O8 k( J8 b' `  @2 p" Y: I
  579. ; Production value: 03 e9 ?. n" o! C% s: a" T( u, I

  580. " H: n( W1 [. A
  581. ;;;;;;;;;;;;;;;;;) g+ {# e3 i6 p8 e( d
  582. ; Data Handling ;- X; A& J9 O$ _  h3 H4 h& c# M
  583. ;;;;;;;;;;;;;;;;;
    . d7 f8 B; p2 g( u

  584. ( q3 C/ u7 g7 R4 _6 S1 p
  585. ; The separator used in PHP generated URLs to separate arguments.
      Z' B/ g2 \) M# J: o7 b: T& p
  586. ; PHP's default setting is "&".
    * c% h8 Z! E' }: J) @* y- B; {
  587. ; http://php.net/arg-separator.output
    ) |% T) G! X* q; ?6 S9 t
  588. ; Example:
    6 {7 N2 C0 m8 R' O
  589. ;arg_separator.output = "&amp;"
    1 e; @2 l1 p/ i) U9 @& G" \
  590. $ r8 @" I: W- X. T8 m: o$ d7 G- N
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    ' i, o/ Z, h, S; d3 [& z" S- z1 H5 r
  592. ; PHP's default setting is "&".  C* O- G' }* R8 E2 ~6 K
  593. ; NOTE: Every character in this directive is considered as separator!* q; R3 Y- [! e3 [( X; p2 b
  594. ; http://php.net/arg-separator.input
    ; k  v/ z& ]8 g2 o6 `
  595. ; Example:* b8 x/ s2 s2 b/ e6 C- W
  596. ;arg_separator.input = ";&"6 f# Y* {# `# L9 M# _" C. X

  597. / B5 j% a$ i5 d. M1 o* k0 |# Q
  598. ; This directive determines which super global arrays are registered when PHP0 z- _0 a  @& p# [
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    + f! `0 x+ e8 m  U" q" T$ R7 ]
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty. q9 P) O3 u# a' n
  601. ; paid for the registration of these arrays and because ENV is not as commonly: [4 H7 O) F8 b3 t0 T# X7 P
  602. ; used as the others, ENV is not recommended on productions servers. You& G5 C0 A% w3 H7 E, a% y2 L1 n7 @
  603. ; can still get access to the environment variables through getenv() should you
    $ O* x* r7 f/ J# C$ c
  604. ; need to.! \: J$ a# z+ I. s
  605. ; Default Value: "EGPCS"
      Z1 f0 z! M6 }' R( y1 p
  606. ; Development Value: "GPCS"
    ; H7 J7 p$ x5 N  u0 l7 c+ f
  607. ; Production Value: "GPCS";: n0 m7 G; {" ^- |: T
  608. ; http://php.net/variables-order" u& ^/ E: Z1 P5 |3 m! w# `
  609. variables_order = "GPCS"
    ' K4 h  }# @. k5 J8 V

  610. 3 \9 i) h* H+ b6 Q% b0 d6 z
  611. ; This directive determines which super global data (G,P & C) should be1 O4 n# W0 K5 \, v
  612. ; registered into the super global array REQUEST. If so, it also determines
    5 d' Y0 Y3 j) \) C4 K& \8 F
  613. ; the order in which that data is registered. The values for this directive
    7 s' {, @3 t& f" n, n* u; v& A7 J
  614. ; are specified in the same manner as the variables_order directive,& \3 Y9 M& f. h( d& x9 y6 D
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    ' H' Z! `/ F* E
  616. ; in the variables_order directive. It does not mean it will leave the super
    6 J% X5 z' J+ t; a. @. Y" s
  617. ; globals array REQUEST empty.4 K4 _' _8 W% k2 ^3 D4 \( G1 W
  618. ; Default Value: None3 R7 R8 p5 b8 j+ n
  619. ; Development Value: "GP"
    + N0 M8 ]: W% P0 n8 x
  620. ; Production Value: "GP"6 |  y! G. S# b; _
  621. ; http://php.net/request-order
    ' `7 X* o, V+ q' c
  622. request_order = "GP"
    # [; X% u+ f0 e5 V* F, M
  623. & W, T( V' a8 u6 c0 U8 ^- F. S
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    ' f% R  j% Y4 N! D+ P5 j3 A8 q& R+ M% z) H
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script, D1 N& M, N  C! J
  626. ; is invoked. $argc contains an integer representing the number of arguments
    . ]0 r4 o! o' P0 s. t: {
  627. ; that were passed when the script was invoked. These arrays are extremely0 f+ S2 F! |. ]# Y4 F& A7 g
  628. ; useful when running scripts from the command line. When this directive is) b4 B! @2 ?$ T# c7 J" f) q
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    ; U# P/ e$ \% H! c9 \/ b+ b
  630. ; a script is executed. For performance reasons, this feature should be disabled
    $ s. a, b- W4 W6 y2 C) M9 X/ J
  631. ; on production servers.
    2 ^  [0 F( ^5 q1 _
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    " q& f9 G+ p; F  W
  633. ; Default Value: On
    1 U) \7 P) [* u. D) c6 Y
  634. ; Development Value: Off
    9 t! @" ~8 O* q* ~- {6 S
  635. ; Production Value: Off" d! u& E! e" ?8 N7 O6 a0 Y6 x
  636. ; http://php.net/register-argc-argv2 I/ I+ X) u' J0 L5 b
  637. register_argc_argv = Off
    3 b/ s8 C# s( O- D/ @! f' v
  638. 6 t+ x, K+ g, @; q+ m- u! i
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're" K5 Y: |: b6 M" i- C
  640. ; first used (Just In Time) instead of when the script starts. If these
    2 }6 i& `+ H! m4 r, b$ G, _
  641. ; variables are not used within a script, having this directive on will result
      p; p0 y, ~* y4 }8 }# V9 h; `' `
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled: a; `# B! P$ h  a+ X2 v- p
  643. ; for this directive to have any affect.
    ( J& _- K& c" p6 G& ~" F+ @8 K
  644. ; http://php.net/auto-globals-jit- ?( h) u- h. B
  645. auto_globals_jit = On6 b* N; M# D* N9 ~( _

  646. ( h. a9 o; r6 I6 b' H& Z8 x
  647. ; Whether PHP will read the POST data.. s; h; R" i# t+ [5 B
  648. ; This option is enabled by default.
    6 g" P9 y0 f4 Q( \/ E' I
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST# ?4 ?6 r( z& P. u2 _2 H. F& I
  650. ; and $_FILES to always be empty; the only way you will be able to read the) @# u$ G$ m: I8 y4 P- N5 m2 n$ q- E
  651. ; POST data will be through the php://input stream wrapper. This can be useful; O# [, ^) P% R8 S8 _: Q
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    % ]7 m5 h: a, d; `2 ^( \* h' z* I
  653. ; http://php.net/enable-post-data-reading/ g: ]0 Q$ L' Q/ _: ?
  654. ;enable_post_data_reading = Off5 R2 h9 H& G  `, @  d  `

  655. 1 z9 ^/ u. g! V5 v) }
  656. ; Maximum size of POST data that PHP will accept.
    9 v. u+ ^& Y; B* c
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    ' N6 j' d. O" f: ~; O2 ^
  658. ; is disabled through enable_post_data_reading.
    . L( _0 _9 J0 V/ b
  659. ; http://php.net/post-max-size
    , b: Z- Y; z4 P& m* _+ m$ e
  660. post_max_size = 50M. V9 k- i  B0 A: a2 L8 V! P) k1 t
  661. : C/ [# o% g( C- G
  662. ; Automatically add files before PHP document.
      c  V) Z7 x" b$ h' p  w+ d
  663. ; http://php.net/auto-prepend-file
    2 [6 O7 w* x% b/ n* A
  664. auto_prepend_file =
    . b8 d% \: r' l9 Z+ p7 v
  665.   b) \: o( ^; D( X
  666. ; Automatically add files after PHP document.! k: Q" q4 d% `8 ~# V! j
  667. ; http://php.net/auto-append-file
    * Z& X' F0 e0 |3 B3 x+ n1 u* g
  668. auto_append_file =
    ' }, W) A$ l; Q6 a
  669. 8 j3 z0 j, t5 o: E. P2 M0 k/ ^/ W- s
  670. ; By default, PHP will output a media type using the Content-Type header. To+ n8 F  N: v/ O2 V* m- `
  671. ; disable this, simply set it to be empty.
    5 i! s! h) w  N0 H, l
  672. ;% _+ U+ x( j/ F5 O/ F' ^. G  `! ]7 x- A
  673. ; PHP's built-in default media type is set to text/html.! k! H# w  }" Z0 c- R7 s1 q% ^1 C
  674. ; http://php.net/default-mimetype
    4 m' R0 k' t7 R' Y4 j1 i5 r6 F
  675. default_mimetype = "text/html"! `$ F5 g" ]+ i5 \- w5 N

  676.   ?5 E0 k/ Y5 r0 D7 [
  677. ; PHP's default character set is set to UTF-8.7 [4 f0 g: a! o2 M' U
  678. ; http://php.net/default-charset/ P" ]2 X% @  O+ E0 t* u7 [
  679. default_charset = "UTF-8"
    ; s$ [* A1 s& B% `) k# r2 L9 c4 a, I. y

  680. ) p( _5 v9 V+ F7 O
  681. ; PHP internal character encoding is set to empty.
    " b0 C* S+ m1 z0 V/ t
  682. ; If empty, default_charset is used." q4 x0 c3 f( D# H
  683. ; http://php.net/internal-encoding
    ! @% b2 H- z7 `0 u
  684. ;internal_encoding =
    3 L7 `$ q) j1 F# d2 R
  685. ( ]! }, o% P3 q9 t! K4 x- ]
  686. ; PHP input character encoding is set to empty.$ q. K  m% K! j2 e
  687. ; If empty, default_charset is used.
    % q" a6 s. J5 B8 h
  688. ; http://php.net/input-encoding' ^. Q+ ^1 i( [. O: K: s3 @9 f" \
  689. ;input_encoding =
    2 p8 N& `0 u7 W" X0 n! t
  690. " Q8 D3 X$ c' l9 q4 A9 f+ L& g
  691. ; PHP output character encoding is set to empty.$ }7 b" R2 i' H$ w8 B* J( v& Y
  692. ; If empty, default_charset is used.
    ; q: R$ B; H4 \( }2 `8 m
  693. ; See also output_buffer.- Z6 A$ S* }3 S. \1 C2 }7 S( ^
  694. ; http://php.net/output-encoding
    3 J9 U5 a( y0 U8 [" [
  695. ;output_encoding =
    $ s/ A7 M( a5 g0 ~% a, }
  696. - v4 w# W3 ~: z: `- m
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    9 ]4 Q$ X) x1 c/ u- L" C2 l
  698. ; to disable this feature and it will be removed in a future version.7 X( C3 X7 `5 t/ V7 {1 E
  699. ; If post reading is disabled through enable_post_data_reading,! T  ^$ A1 G% u8 O" F  N) n& V. B
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    , Q. E% i8 D8 h! T; R  ?1 `
  701. ; http://php.net/always-populate-raw-post-data
    , B8 J/ L' }5 g& u
  702. ;always_populate_raw_post_data = -1
    . n# x4 c( s. W+ |

  703. " O8 }% f" T; b8 f. w/ B4 `
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    " q8 f7 J% Y0 r1 \& |: x6 d
  705. ; Paths and Directories ;8 m% g) B0 Z2 e7 `' e' h+ l
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    : k: C$ @, r1 u2 J8 [
  707. ) E# d' [9 m, o% e
  708. ; UNIX: "/path1:/path2"
    ) T$ M) C8 G# Z; p6 G: O
  709. ;include_path = ".:/php/includes"# X. I4 Y9 k; V# Y* j# f
  710. ;
    9 U( R0 e9 x! @& P# n) z9 C- ^
  711. ; Windows: "\path1;\path2". h- d8 |2 H& T# E3 D( o% M# D
  712. ;include_path = ".;c:\php\includes"
    " l0 p( O5 e. I
  713. ;6 S$ ?0 J: A9 N) |
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"% M$ `9 f, F% e4 W- \/ @2 M
  715. ; http://php.net/include-path$ \8 x2 @  T' ]/ K% o

  716. - M$ ]7 A. ]3 \: {8 g+ v  M/ t
  717. ; The root of the PHP pages, used only if nonempty.
    % v# N+ l4 I2 I# b9 p5 `  n& e
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root6 P/ r5 b1 \5 S& j
  719. ; if you are running php as a CGI under any web server (other than IIS)
    - H& z- w: |  c2 d; Q
  720. ; see documentation for security issues.  The alternate is to use the1 p8 F/ g6 X  f/ p$ E; \
  721. ; cgi.force_redirect configuration below2 F, t* G; s7 q3 C2 K
  722. ; http://php.net/doc-root/ I8 [  y  {2 B5 C( o
  723. doc_root =
    ) v9 H! y9 c! N: `$ c+ d
  724. * `8 N+ |# b" U6 A: t
  725. ; The directory under which PHP opens the script using /~username used only% r% \2 B6 I4 D3 J9 k! w
  726. ; if nonempty.
    1 a9 ^7 ?6 {) w3 i. U. T" |
  727. ; http://php.net/user-dir; \, U0 f" @( s% V& k
  728. user_dir =- Z: u2 J/ _$ c/ b, S  R

  729. 2 l& {2 m$ ]( c1 ~! ^# W# z, }) I
  730. ; Directory in which the loadable extensions (modules) reside.
    . V) C% }8 X1 ~2 _, q
  731. ; http://php.net/extension-dir, [2 X9 Q5 e8 e& K
  732. ; extension_dir = "./"
    $ X) X9 @" j# p3 Y$ F
  733. ; On windows:7 [' |0 {* R1 [& U2 a4 T" Y
  734. ; extension_dir = "ext"& g' T9 S! P) k# I- p* `! j

  735. 2 Q- V9 v; N& @
  736. ; Directory where the temporary files should be placed.2 @) }' ]+ Z, i
  737. ; Defaults to the system default (see sys_get_temp_dir)
    9 r1 k4 U. @- g6 M: I4 r( w# H( G( |
  738. ; sys_temp_dir = "/tmp"
    % O" w$ j+ c" B2 P/ A1 j8 ^' X/ Y2 ?2 M
  739. 9 ?; P* D. h0 {3 L6 d. M% `$ K2 B
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    ; \$ z4 ~% e7 J. O( R
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically5 L6 {2 H! v+ j+ m  j+ d
  742. ; disabled on them.
    ) I- e% c& O$ ?6 y) n
  743. ; http://php.net/enable-dl" U3 P* N* U/ |, k8 G, ?9 ^6 ?& V
  744. enable_dl = Off) e& ?/ A' R% ?6 _

  745. " P# s2 ^/ i7 h
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under; s' x: ]9 a7 d; O5 j
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    9 Y- R2 j( `' R. B. \" Y9 x
  748. ; turn it off here AT YOUR OWN RISK
    & s( [, k# n4 y. C3 Q
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**4 r$ `2 y7 F! r% w
  750. ; http://php.net/cgi.force-redirect
    ( X2 P. c& W4 _# x* m
  751. ;cgi.force_redirect = 1
    - W; J% d3 O4 s& h, \

  752. / d4 \3 ]# V& m  h
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    8 d7 d+ k0 z9 T! U
  754. ; every request. PHP's default behavior is to disable this feature.
    $ Y9 K7 e7 p" b: _9 ?8 b$ u4 K" l
  755. ;cgi.nph = 1
    / H% S) f$ A$ V0 u' |: d
  756. & t+ V' b, ~' r
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape3 K$ |  h9 j6 b, L7 j, F
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP/ W' S+ o4 Q4 S' F2 p5 g$ F+ ?6 ]
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY1 ?- i% ^: h; D7 ^3 d
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.+ K9 u& z# ]0 K" v2 V% U
  761. ; http://php.net/cgi.redirect-status-env* k6 s6 z& o; s5 ^) \% v, J
  762. ;cgi.redirect_status_env =  ^. y5 |1 c4 F" [1 [' d0 f8 `$ Q
  763. / ]; I9 Y2 ?  a! e9 a  ?
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    * ~' V9 _  X8 Z% _8 ~' A/ P' d8 B1 L0 t
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    ' p) q! D( i; k' G" o# f) ]+ c/ b; c4 S
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting9 V/ L/ b) e  ^8 t5 D( l' |7 L3 \3 A
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting( ?  K" p2 L3 ^5 b
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts) }% n8 d5 A* H( \
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    + A% \* r7 f6 B
  770. ; http://php.net/cgi.fix-pathinfo
    9 z& T3 N8 }5 b7 U# O7 O% E
  771. cgi.fix_pathinfo=1! W5 n, h& o* S$ s" y( @& \3 z
  772. , |* U' B7 w& D4 k$ Z% c
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    - B0 A6 |& y: R- W  ]# t$ O; U
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    7 s5 C% L! Z: f, e% c
  775. ; http://php.net/cgi.dicard-path
    - R& ?) {8 x+ H* S
  776. ;cgi.discard_path=11 f& N3 ?. @. v1 c# J, R! k/ U( k

  777. ) W1 x* S" x4 t9 X: r
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate( y! `* I( v% o$ y% y
  779. ; security tokens of the calling client.  This allows IIS to define the
    ! M+ j; n* v3 r
  780. ; security context that the request runs under.  mod_fastcgi under Apache% y" X: b* T# q4 q7 W
  781. ; does not currently support this feature (03/17/2002)5 G# m7 ^" G0 Q. M: D* T
  782. ; Set to 1 if running under IIS.  Default is zero.
    : B  H2 o' k: ?/ X* T
  783. ; http://php.net/fastcgi.impersonate
    & `( x9 _0 l& b: G  P6 R
  784. ;fastcgi.impersonate = 1" z3 r! j% ]& }0 f( }$ I2 u: _

  785. 7 q; g4 e( V1 e7 Q
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    * }; T1 C; a+ m. p: f. [
  787. ; this feature.
    6 M) x0 g: }& X+ U$ n) w( Y
  788. ;fastcgi.logging = 0
    ( W2 \- D# H. f+ |5 z! @. y

  789. ( Y! Z6 R# a8 U& Y% P  o; Y: N
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to! g* f# M. {+ h6 R9 N  ]8 n+ _
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that8 d: l6 G! S& ?1 ]% T. h
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    9 x3 M9 E' r2 `5 Q' F
  793. ; RFC2616 compliant header.& o$ P5 z6 k. ]9 k- l
  794. ; Default is zero.2 L0 _5 [# h( M2 r
  795. ; http://php.net/cgi.rfc2616-headers
    & h# q- p' x  U: T5 ~  p: r
  796. ;cgi.rfc2616_headers = 0. q( e5 Q( h7 \/ J* |. n0 C/ w9 b( U

  797. 1 d' c- t; R6 _; M' z1 H; |
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    1 E, _4 X- f7 i1 C
  799. ; (shebang) at the top of the running script. This line might be needed if the
    # J: Y0 o8 B% ?/ Y: L- Q8 L
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    . \% J4 A0 V1 J  ?/ p2 I9 R& N
  801. ; mode skips this line and ignores its content if this directive is turned on.
    5 w; R3 r, \5 s$ J! g: n# @  I
  802. ; http://php.net/cgi.check-shebang-line
    & Y0 t( u: i$ ]1 e7 a2 d" V& o
  803. ;cgi.check_shebang_line=14 n; _  {  m+ N
  804. . z! l2 O, ?0 ?  i/ G9 D
  805. ;;;;;;;;;;;;;;;;
    $ P7 e! O2 I+ X, D; ^6 Z
  806. ; File Uploads ;
    5 d9 s( F3 c% M- ]9 R, U
  807. ;;;;;;;;;;;;;;;;" _& H; a" N6 q  }
  808. : J2 a: a7 W3 p9 \6 p6 Z9 j
  809. ; Whether to allow HTTP file uploads.  h) N. l! {- @
  810. ; http://php.net/file-uploads
    ; l9 {7 e- ~# d6 I) R" c% L
  811. file_uploads = On- c& K/ a& E+ k" f+ r

  812. 5 `3 r4 n5 _$ Q4 o; |, S3 M# T" \9 e
  813. ; Temporary directory for HTTP uploaded files (will use system default if not: Q9 V: ~2 I* F4 i9 \( @
  814. ; specified).
    7 n& W$ \' _6 {2 f+ N  \% r
  815. ; http://php.net/upload-tmp-dir% n# _0 R1 G7 g. n0 Y0 H
  816. ;upload_tmp_dir =7 y, P$ V# t( P) G

  817. ! C: l) n% A& k; y7 d1 r9 B2 W2 M
  818. ; Maximum allowed size for uploaded files.1 n% @' B  m$ t$ f3 d
  819. ; http://php.net/upload-max-filesize- c9 }8 \' ^! H6 C9 i- f9 ~$ c
  820. upload_max_filesize = 50M
    # j: I. J6 s0 d7 x1 ]: D

  821. 6 d5 c( d8 h8 a! s" B& ~3 [
  822. ; Maximum number of files that can be uploaded via a single request  g* Z4 H3 }3 ~* l( l; @
  823. max_file_uploads = 20
    ' X) T& }$ w; h( J% ~
  824. . ?1 U  P$ Y+ U6 L
  825. ;;;;;;;;;;;;;;;;;;) z2 s; B; D$ l& h, b
  826. ; Fopen wrappers ;0 g: C- L7 @7 d; }
  827. ;;;;;;;;;;;;;;;;;;! |% b6 R$ s6 Z" d

  828. 1 m- d3 w8 g& `, d* N) X
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files." K& G' [  i9 }6 l! W. a/ n
  830. ; http://php.net/allow-url-fopen
    , {5 M+ W7 `5 F3 O' z
  831. allow_url_fopen = On, @' p. U6 m4 k

  832. " F1 X  r0 C2 t1 c' W  V
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.& P: x" X+ N9 L  T9 P
  834. ; http://php.net/allow-url-include. }2 z! ^3 s9 o) i- w( z
  835. allow_url_include = Off
    5 T  P& s4 k9 q: v: L: L
  836. ' _& V1 R8 o) G2 I
  837. ; Define the anonymous ftp password (your email address). PHP's default setting, V% F1 i3 G' O( B+ E
  838. ; for this is empty.9 A" c' ]7 z2 G& I" q# p
  839. ; http://php.net/from, d2 w+ A; F9 q0 |+ P
  840. ;from="john@doe.com"
    # a# w9 ?7 J( B- N

  841. + w. N+ ^8 d* X/ ~9 f
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    / v2 x/ T: r% n2 L' H3 l
  843. ; http://php.net/user-agent5 T& v" T5 ]# G" e6 s, d, \
  844. ;user_agent="PHP"
    8 H+ `( \& Q$ r
  845. 8 o1 g# q7 F- l3 [
  846. ; Default timeout for socket based streams (seconds)
    - \7 w" w1 K5 Q' D' a* w
  847. ; http://php.net/default-socket-timeout: B! `" W  L  k
  848. default_socket_timeout = 60
    # |5 X' q; A7 d" N5 R1 U
  849.   p& H- @8 ^; }7 @1 |, H4 A
  850. ; If your scripts have to deal with files from Macintosh systems,+ G$ h: _/ ]; C. Y2 H
  851. ; or you are running on a Mac and need to deal with files from! R" @9 b  U5 m( z4 ?4 L
  852. ; unix or win32 systems, setting this flag will cause PHP to
    ) x$ I- c, ]' F
  853. ; automatically detect the EOL character in those files so that2 n  j0 h# @2 q' c0 m8 ?) n3 a
  854. ; fgets() and file() will work regardless of the source of the file.
      i4 P2 a' A, \2 e
  855. ; http://php.net/auto-detect-line-endings) o  W( e) c. t* Y) w- ~
  856. ;auto_detect_line_endings = Off5 J, X+ }# [( `, `) t
  857. 2 o" e& m4 p* i! @0 I6 u; G
  858. ;;;;;;;;;;;;;;;;;;;;;;
    , e) I- ^& q9 s( V6 _( M& f
  859. ; Dynamic Extensions ;
    4 w* E8 n% B% G4 z! X1 p
  860. ;;;;;;;;;;;;;;;;;;;;;;
    ' w$ U! y3 F  ~+ ~6 b9 i+ V  Y2 R
  861. 5 A# f  }% ?; @9 \' s! ^  m: A9 d$ [
  862. ; If you wish to have an extension loaded automatically, use the following  t+ U8 N% e6 a8 S1 R( v+ _" v6 p8 v
  863. ; syntax:
    2 I6 d  x5 n2 U  @6 e* O  E, j( n
  864. ;# L: Z7 I# ^3 V' s4 D
  865. ;   extension=modulename.extension
    ) Z3 ]( r9 {" _5 X/ ~
  866. ;
    8 l- ]% `2 s+ \. Q. F
  867. ; For example, on Windows:* s& ^9 ?  u7 A3 }
  868. ;
    8 P3 n' R( q$ _/ ?  [+ p4 i
  869. ;   extension=msql.dll
    ) R9 Z) {$ [6 B4 q& m
  870. ;+ O' @* H$ \& W7 e1 `
  871. ; ... or under UNIX:
    : H8 N4 o+ I, r: V
  872. ;
    % ?1 }1 P" R; l: R
  873. ;   extension=msql.so
    ! q# Q4 \" @# O+ R$ M
  874. ;2 [, M# Q- J0 d
  875. ; ... or with a path:: h3 D2 `% y2 B! w: [; W' C
  876. ;4 p. W7 g: }, b# ^$ C2 V
  877. ;   extension=/path/to/extension/msql.so! M) Y6 u2 ^- P, q1 M
  878. ;4 L. s8 Q3 `9 M1 Y4 w
  879. ; If you only provide the name of the extension, PHP will look for it in its( f/ \; L! g% P# ~, P4 Z
  880. ; default extension directory.% k" B6 q) X6 X' O' Q3 D
  881. ;
    7 X- y/ X- \6 o
  882. ; Windows Extensions; W/ b. v# J) x. Y& S# g4 a
  883. ; Note that ODBC support is built in, so no dll is needed for it.' n# t+ f, y7 e# e& r+ c% d
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    ; A" V+ k/ `. X
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).) A0 q. J2 k! q4 |& D
  886. ; Be sure to appropriately set the extension_dir directive.
    ' M& l) m& W# V2 F% }7 w
  887. ;4 j) L% j( B, P4 c
  888. ;extension=php_bz2.dll
    1 Q: _- X2 l- U5 S2 }
  889. ;extension=php_curl.dll
    1 B# M8 e* b2 V0 q2 O' Y0 S
  890. ;extension=php_fileinfo.dll
    ' H: a6 D% z9 c
  891. ;extension=php_gd2.dll
    " n- y8 L/ q( _7 ~0 O7 m7 d
  892. ;extension=php_gettext.dll
    " r' C. {$ Y' e! ]0 p2 ^! n
  893. ;extension=php_gmp.dll
    ) j* @' \4 G2 t
  894. ;extension=php_intl.dll2 i# B4 f, s4 I3 Q% {
  895. ;extension=php_imap.dll+ ?' r, {- u2 \# J2 z  @4 U
  896. ;extension=php_interbase.dll6 U  K' k( |) D( d- F
  897. ;extension=php_ldap.dll, C7 B0 r3 m/ M% G5 N
  898. ;extension=php_mbstring.dll6 K# m! I2 B8 W$ T" V+ P5 r
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    6 u+ s+ B4 F4 [# A3 m5 J, V
  900. ;extension=php_mysql.dll
    , A% C- j, [8 }! J( Q% P
  901. ;extension=php_mysqli.dll
    " r. n) U1 ]+ X  V& i0 I" A
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client/ O* Q/ t# A& |- c; [+ D
  903. ;extension=php_openssl.dll5 @8 h! c$ d: i. ~# c
  904. ;extension=php_pdo_firebird.dll& {+ x, C: f" x4 O5 z
  905. ;extension=php_pdo_mysql.dll) h0 q1 ~" H2 C2 W) A
  906. ;extension=php_pdo_oci.dll
    2 g/ D* S5 l, X3 G3 F  I: p$ p3 d
  907. ;extension=php_pdo_odbc.dll
      a$ @! o. e' T+ y3 |4 h# F
  908. ;extension=php_pdo_pgsql.dll
    / W. ~. Y7 L2 b8 m/ ]
  909. ;extension=php_pdo_sqlite.dll! M$ C  G& D) {7 H. J
  910. ;extension=php_pgsql.dll
    $ `& c2 `0 u/ e$ T" W
  911. ;extension=php_shmop.dll8 L- x5 o# z/ E. U

  912. " {6 I) R+ J/ `5 X4 s0 h
  913. ; The MIBS data available in the PHP distribution must be installed. : I7 M2 J! o- A
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    8 Q- K0 x" ^8 t  D; U' U
  915. ;extension=php_snmp.dll" t1 I. a5 z. g, z

  916. ! p1 h+ N( j; D/ L
  917. ;extension=php_soap.dll5 X  c% X% o4 b2 F
  918. ;extension=php_sockets.dll
    5 ^$ O% e; w+ u8 r" o0 ?
  919. ;extension=php_sqlite3.dll
      |- J! n, S: U. a. J/ A- I+ F* X
  920. ;extension=php_sybase_ct.dll# d) B1 l) |( C( P9 n9 e* e" P3 Y
  921. ;extension=php_tidy.dll
    $ t" o) U7 |1 o6 @: A# a
  922. ;extension=php_xmlrpc.dll
    ' I* P0 K) q+ V5 ~
  923. ;extension=php_xsl.dll: C# Z: J, S! v" g$ F
  924. 1 J% C7 m1 }2 l
  925. ;;;;;;;;;;;;;;;;;;;  e7 @) Y1 o- E) f7 N$ U4 W, u
  926. ; Module Settings ;& F$ m/ h5 R5 t
  927. ;;;;;;;;;;;;;;;;;;;
    3 G& j' i' t2 h

  928. ( m, Z# E# s$ K: ?
  929. [CLI Server]
    & n1 t& R$ K6 j, a5 n5 \9 S
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.1 G2 @- l  K4 U/ ?
  931. cli_server.color = On
    ' Z. b% I; X8 _. ~+ l

  932. ( ?6 u; `9 K/ |
  933. [Date]
    ( e! ~5 t) y& B
  934. ; Defines the default timezone used by the date functions
    5 y" O% M6 m1 I3 x0 y( i4 s. ^
  935. ; http://php.net/date.timezone7 T- k( b% B* V: A! C+ T/ V, t" F2 N
  936. date.timezone = PRC
    : O+ ~9 O( L0 S3 V9 b

  937. & c% D& ~( i* x
  938. ; http://php.net/date.default-latitude
    9 b( A: |7 s! t
  939. ;date.default_latitude = 31.76675 q8 ~  Y% P: B* J( s, @$ E- c9 o
  940. & z" I( q' C# o6 m: b/ \
  941. ; http://php.net/date.default-longitude
    7 F( `' x9 q2 k" }
  942. ;date.default_longitude = 35.23334 @7 Q1 D5 ]( b( a. ?
  943. - h/ @: ^4 _2 ^. i/ T8 W
  944. ; http://php.net/date.sunrise-zenith" X, n9 c) g  T& D8 I/ d
  945. ;date.sunrise_zenith = 90.583333
    ' ]  A6 c1 {# s" O, y
  946. # u8 z5 x( V1 g1 n, n6 X
  947. ; http://php.net/date.sunset-zenith/ ~+ d5 K! p" e. V) o; Y2 e1 |
  948. ;date.sunset_zenith = 90.583333
    , Y, \3 D* F4 ^7 b
  949. 8 ?7 l+ v) j/ O- i& M
  950. [filter], b& e; z5 |# G, j( v- `% r
  951. ; http://php.net/filter.default! f6 }* N: B! U: q& t  z# v5 h
  952. ;filter.default = unsafe_raw
    ' E5 {2 V1 [! \- m7 o) m1 P
  953. - l8 l2 G) {# \+ h9 I2 U+ l* b9 Y' x6 K
  954. ; http://php.net/filter.default-flags
      O2 F* K3 i5 X4 z
  955. ;filter.default_flags =
    5 B/ @5 R% p# v6 ]
  956. 1 y& E8 c; P/ m: c# `; j
  957. [iconv]
    3 n+ }! {( a. K0 b) k
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.9 @- a3 {  m; L# R
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.5 U; u5 u# d% b, \
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding$ Z$ v# h& J/ k9 I
  961. ;iconv.input_encoding =+ ^( t  _$ a# a- a
  962. : Q+ L$ W6 P! R7 r
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.+ ^: m$ a* J, f# f  Q
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.. W9 k' _' |1 A
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding3 Y0 h6 u' @& a2 A6 g& _$ g
  966. ;iconv.internal_encoding =$ w9 P6 ?3 b1 |! ^

  967. 3 \: x6 X% t& h( y; P
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    ! d" P  C9 P7 G; F5 o8 h
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    4 e) n9 j& ^2 _. o& j6 ^
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding$ O* z* ]. a2 a3 G- Q2 }9 o
  971. ; To use an output encoding conversion, iconv's output handler must be set
    0 F- d( V) g+ y! v/ I
  972. ; otherwise output encoding conversion cannot be performed.
    ( @$ F: X; `/ D% K7 L
  973. ;iconv.output_encoding =* {  C  ]. q5 @1 t& g

  974. 7 {8 i# f4 D( Q2 i: \: o
  975. [intl]0 n) U" G. y% H  r; u2 f$ S& Z: v
  976. ;intl.default_locale =- c+ @% z# s8 c" S/ H% @
  977. ; This directive allows you to produce PHP errors when some error
    * S& _; l. R8 P! m; O5 M0 u
  978. ; happens within intl functions. The value is the level of the error produced.
    4 A$ X' A- c) J+ K2 i9 I
  979. ; Default is 0, which does not produce any errors.
    , ^' M4 l  p: j
  980. ;intl.error_level = E_WARNING
    ) ?3 \/ d" |0 N; c
  981. ;intl.use_exceptions = 0* A( C' W# p  Z0 I" o# Y. w# v! L# k* \
  982.   t5 U* [- Z; d
  983. [sqlite3]. m- t4 O9 X( V- G8 @
  984. ;sqlite3.extension_dir =& s4 l+ ^7 c2 D' O

  985. ' z$ z2 N* r* B  X6 n9 Y* X
  986. [Pcre]
    " _( o5 a9 E" d1 }7 k1 A5 ^
  987. ;PCRE library backtracking limit.% A4 m2 I3 P% U) }
  988. ; http://php.net/pcre.backtrack-limit
    # u4 i3 Q9 [; G) L" v+ J4 [
  989. ;pcre.backtrack_limit=100000" v4 }% N$ T% ?) G
  990. * p6 c; o- B* y1 R) k# N
  991. ;PCRE library recursion limit.
    4 g- q3 X' h* j9 Q9 P* A- F' T% ?
  992. ;Please note that if you set this value to a high number you may consume all7 o( {/ y. w3 W! K6 b( {- Q% f& J
  993. ;the available process stack and eventually crash PHP (due to reaching the; t8 x! y" ^* T* N6 X
  994. ;stack size limit imposed by the Operating System).+ V  m2 s& o% y* `' n
  995. ; http://php.net/pcre.recursion-limit9 y5 U9 k( u. _' `$ E/ C# R
  996. ;pcre.recursion_limit=1000002 d. O6 L4 L) U9 n6 Y
  997. % r& y! e8 M) }1 C
  998. [Pdo]
    9 ?8 V5 k8 W/ X2 f
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    . ~& `  Y8 _+ ?1 Q( d0 d
  1000. ; http://php.net/pdo-odbc.connection-pooling
    " q5 Z$ M* M* }" t
  1001. ;pdo_odbc.connection_pooling=strict; X2 M. n% U- ^* s( Z( X

  1002. ) S. t0 e. d; Q6 Q) d
  1003. ;pdo_odbc.db2_instance_name
    # y, ^7 [& _$ i* ?/ U

  1004. - g& r) b, C1 f: s. |- \
  1005. [Pdo_mysql]
    , ?' P9 J  }& O: U, G- ?
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ( r# M9 m$ }; t5 q
  1007. ; http://php.net/pdo_mysql.cache_size
      E! ]- k+ S" k. |  o
  1008. pdo_mysql.cache_size = 20009 Z4 q% h! V  Y# {, h& P
  1009. 0 z+ K/ D$ w' s5 y. C. |
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    8 X+ c: ?) J# h3 T
  1011. ; MySQL defaults.+ M/ e. c' U* O# a$ R2 w# l
  1012. ; http://php.net/pdo_mysql.default-socket$ L7 S* t8 f; b$ N7 ?; Y' K$ q
  1013. pdo_mysql.default_socket=
    " ]( `" a# ]7 O! ^: w
  1014. 9 u8 {* U* s3 B0 S, m+ @% L
  1015. [Phar]  J4 p9 `: J9 A9 d* d2 B8 v6 |. s/ D
  1016. ; http://php.net/phar.readonly
    3 D3 ?  q' m4 U. m1 Y+ K, I
  1017. ;phar.readonly = On# ^1 x+ O9 @# W( I

  1018. 6 Z6 ~: L) j4 K$ G' k  ~; N
  1019. ; http://php.net/phar.require-hash& Q  z, d; P% K: |- r7 R: e, V
  1020. ;phar.require_hash = On  w$ U" j  q8 ^* E4 b, q' d

  1021. # ~& ?$ J- j  v
  1022. ;phar.cache_list =' @7 P8 V2 w* n( D& U. I/ e; I
  1023. 5 n. y; y3 H; v
  1024. [mail function]
    , k. @3 Z0 t( k. F
  1025. ; For Win32 only.
    : \! R$ H% k5 H6 n% W% j# @
  1026. ; http://php.net/smtp0 X4 M3 r7 x) c* G$ u4 B; Y! w6 F
  1027. SMTP = localhost" d0 b8 L0 f4 E
  1028. ; http://php.net/smtp-port5 D" d% q& ]- n
  1029. smtp_port = 25
    ; {) [! E- G  Q. F

  1030.   L7 e/ n. F: f9 I6 f9 B
  1031. ; For Win32 only.6 {* b' S1 }$ T: X
  1032. ; http://php.net/sendmail-from
    + X; {' m. M4 b5 ?9 q( ~& ?
  1033. ;sendmail_from = me@example.com
    0 k: e9 ~7 _8 @( O/ i  _$ ?+ b

  1034. 7 R& O# `, }/ g' `& i4 }
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    8 N, ~3 K9 }( n" C  U
  1036. ; http://php.net/sendmail-path$ ]! t' Z; d! K* `9 r: ~
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    4 m9 \+ u  s) M: P# M
  1038. , h1 c# C" G7 _$ t6 V  V
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    . {1 p) g; d' _; d
  1040. ; to the sendmail binary. These parameters will always replace the value of
    ! d. c$ c+ g# _+ w2 j
  1041. ; the 5th parameter to mail().4 i( `! }. |& a
  1042. ;mail.force_extra_parameters =7 G' F9 ^/ _+ O# |
  1043. : g, ^/ S  `$ p4 Q1 n
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    . F1 P) a) q6 J: [# {( N
  1045. mail.add_x_header = On4 t  |4 t; m' z1 e1 S$ [1 J) R$ y

  1046. 8 C2 _; V9 m3 r2 \: }9 V/ n
  1047. ; The path to a log file that will log all mail() calls. Log entries include  _* o! u  H7 u! b: k6 ^# v
  1048. ; the full path of the script, line number, To address and headers.
    ; N* f2 P6 H, W1 k4 S0 ]! f
  1049. ;mail.log =  J  n- G  m- s$ D" b
  1050. ; Log mail to syslog (Event Log on Windows).' y* x) T! J6 }3 e& y
  1051. ;mail.log = syslog
    9 ?9 a3 V* K0 ]4 T, i  C+ Y
  1052. 4 I0 U0 S$ t& D0 V$ L# }& |8 [
  1053. [SQL]
    5 {0 d3 c& t4 o+ T& X
  1054. ; http://php.net/sql.safe-mode4 ^, r5 C8 H4 K. G% a$ g* b
  1055. sql.safe_mode = Off
    ( ]5 C. _4 Q$ |1 [5 Z( }, C
  1056. 1 e: I( G; K$ o* C
  1057. [ODBC]  e; f2 `; y" C, \5 r6 }
  1058. ; http://php.net/odbc.default-db
    - Q9 O9 S- d: p- x' A. H! q: A7 d
  1059. ;odbc.default_db    =  Not yet implemented% [6 V: D& u/ r, E3 a
  1060. 5 G" w# z" B/ t! N) ?
  1061. ; http://php.net/odbc.default-user) K. q; s: y1 Y* Q# p
  1062. ;odbc.default_user  =  Not yet implemented: N7 j% m+ ~& p- @4 ?& s" @
  1063. 4 r) E3 _5 U2 j' g  k( N2 `
  1064. ; http://php.net/odbc.default-pw7 u# g) @* p1 j6 E# y" ~: ?' {
  1065. ;odbc.default_pw    =  Not yet implemented  F% V, ~9 b2 [+ L8 H" p6 W

  1066. + x0 J+ p+ \5 Z8 s) y
  1067. ; Controls the ODBC cursor model.
    ) [* m4 g/ O% Y, K( y9 d
  1068. ; Default: SQL_CURSOR_STATIC (default).
    8 `9 T2 S; f5 ^! j( v! P2 Y. Z
  1069. ;odbc.default_cursortype
    9 w8 m  G$ l  B3 i' i/ r

  1070. 4 d9 r4 Q$ `3 y4 ]
  1071. ; Allow or prevent persistent links.' }: k8 t7 b/ s
  1072. ; http://php.net/odbc.allow-persistent* L/ V$ p7 f. j/ C& H, P3 d
  1073. odbc.allow_persistent = On
    / F( _) j/ W- ~6 L

  1074. 1 _% s! F7 s9 ]- b) Q1 C
  1075. ; Check that a connection is still valid before reuse.. K! p# J3 E) q  ~5 v, O. K
  1076. ; http://php.net/odbc.check-persistent
    , b/ Y, J8 t; E! t( D3 D$ \- X
  1077. odbc.check_persistent = On/ ~) a) k% ]. b) F* Y- |! f8 |* x

  1078. # ]% ~* E" _. M* H" q  ~
  1079. ; Maximum number of persistent links.  -1 means no limit.
    ( X- y. `+ |2 c9 v5 G8 f$ {
  1080. ; http://php.net/odbc.max-persistent
    4 V5 [- `+ ?1 u! }4 |& D) _
  1081. odbc.max_persistent = -1
    * h, h# G: @7 r% k' E* J. n

  1082. * l+ b2 [  E2 f% }6 e  P
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    . W. [( A1 _) `" X* P% `! m) b* b
  1084. ; http://php.net/odbc.max-links
    / G: |1 r  |/ U  {3 G- {# }2 j
  1085. odbc.max_links = -1+ a  \) A( M" O- ]
  1086. % v4 Y9 Y( K( C; L( B/ f: M
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    ) C) s, w  ~* U2 z" C% T
  1088. ; passthru.
    $ O7 w8 S* H+ l( P& s
  1089. ; http://php.net/odbc.defaultlrl
    1 m/ G" k8 U" F) b& I8 b1 L% H" k: Z7 Z
  1090. odbc.defaultlrl = 4096' {: S2 o4 s& E$ k# }, h$ G+ x
  1091. , c9 `! M6 \1 k3 {  q' T
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    7 ]" c! K2 u: L, G$ U8 s* `7 o
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    7 V* h( [8 w! M7 H& F
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
      M* \3 x0 D/ K- q, M& [0 H6 W) A7 E
  1095. ; http://php.net/odbc.defaultbinmode) j& M' Z: l5 ?: L; v4 n2 N
  1096. odbc.defaultbinmode = 1
    , F& r* v: ?2 x
  1097. ; v4 r7 f$ S  r
  1098. ;birdstep.max_links = -1
    8 B, J# ]7 ?% z( a3 w# ?: C; ?

  1099. * G+ m  i: {1 |1 x+ `
  1100. [Interbase]
    $ ~" q. Y5 e* v; r4 u
  1101. ; Allow or prevent persistent links.
    . l7 l+ C. |* A8 c  @
  1102. ibase.allow_persistent = 1
    3 O5 T% G, }8 |7 @6 C# d$ b6 N) w

  1103. 3 L& a2 \. y3 G2 s: A
  1104. ; Maximum number of persistent links.  -1 means no limit.
    ! C  S4 d. m& L/ ~1 _) k
  1105. ibase.max_persistent = -1" J) R$ y, b0 w" K, J

  1106. ! w; e) P( |3 u5 f
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.7 [7 l, o4 G* G
  1108. ibase.max_links = -1( d# T* A. W, H+ P: w

  1109. - K0 w) O. l) _2 C) }% M, n7 J5 N! q
  1110. ; Default database name for ibase_connect().
    # q0 A8 J+ l" e3 \8 Y5 w
  1111. ;ibase.default_db =7 g; b; H- _; M% ?( q  y! P
  1112. $ V/ m0 I  Y1 W2 F) J$ ~' o
  1113. ; Default username for ibase_connect().4 G# q' e; d1 `6 _4 x0 d: U
  1114. ;ibase.default_user =
    # g  y+ Z9 w4 N5 s4 E
  1115. * y$ D/ I8 Q: q' @. Y  ^* p
  1116. ; Default password for ibase_connect().( a# N7 K9 ]3 q* o; Q( a
  1117. ;ibase.default_password =
    ) i& V* e1 P# B% h% w( n

  1118. # h, _* [, H4 B. A: H' ~
  1119. ; Default charset for ibase_connect().5 L3 ?/ G" E: b( I; E
  1120. ;ibase.default_charset =
    - j; s: h% v! Q% p

  1121. # x+ L4 T' C  b) m- o$ d9 l
  1122. ; Default timestamp format.; E% O4 \( k. Y2 |
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S", T% D+ ~, E# C

  1124. 3 h2 _. ^' p6 q, v0 }& u; E% c
  1125. ; Default date format.4 g' X# J( x3 v$ k5 |6 ]( |! @
  1126. ibase.dateformat = "%Y-%m-%d"
    " J+ i: U. e+ r' F3 ^
  1127. + x2 Q9 b, b  h1 e! I
  1128. ; Default time format.5 v+ s' N1 m4 N6 F- B- q1 O+ ?& K
  1129. ibase.timeformat = "%H:%M:%S"
    ( K) w6 i5 i5 F

  1130. $ U1 G( \2 f/ I8 @
  1131. [MySQL]% Z' p, ?! m6 c" c! \1 p
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements# Z9 d6 J( k$ B6 ~
  1133. ; http://php.net/mysql.allow_local_infile: u8 R$ v  E/ x" f9 G
  1134. mysql.allow_local_infile = On
    6 ^5 T! W. d  P: M% W% a+ H3 [/ v% a

  1135. / Y! ^- p6 x# U' _
  1136. ; Allow or prevent persistent links., b0 b8 z# H" _
  1137. ; http://php.net/mysql.allow-persistent
    3 _7 b" G! z* B. q- f# Q' S$ Y2 n8 q7 H- o
  1138. mysql.allow_persistent = On/ y% ?- v0 E; o# f" B1 {% o9 ?
  1139. - c& b: {2 `) \$ r
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache2 t$ Y; }. |0 ^2 |6 G" i, m
  1141. ; http://php.net/mysql.cache_size( `- d# i$ S) q/ [' L' f
  1142. mysql.cache_size = 2000
    8 I0 z/ Z& t9 a  ~9 K$ x( K
  1143. % b9 ~6 Q& p3 I% h6 y5 B
  1144. ; Maximum number of persistent links.  -1 means no limit.
    3 u& k2 @4 e. E, G
  1145. ; http://php.net/mysql.max-persistent( s9 g3 o' S% a
  1146. mysql.max_persistent = -13 V) ]$ [" g6 S

  1147. 7 ^; r/ S* a, K5 `
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    2 ]! F$ y0 g: e/ u) E" t
  1149. ; http://php.net/mysql.max-links8 y7 q: A8 g! P6 U
  1150. mysql.max_links = -1
    + K9 l/ k3 o. F$ Z4 i
  1151. 4 G% O; c  o* f) q4 o- Z! o
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use/ P3 Y( w7 w5 d4 e
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    5 P2 l* F$ S. |1 Q+ p$ `, ]) z
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look+ Q7 O, ^% H2 t
  1155. ; at MYSQL_PORT.
    8 n/ J' u$ V2 p- j4 S% |
  1156. ; http://php.net/mysql.default-port- G, S  v* G; K9 E: ]7 G, O, R
  1157. mysql.default_port =2 ?7 M6 n& t9 f7 ?
  1158. 9 d! l0 x, n2 e
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in: r: N; b5 e) k7 C1 k! D- h
  1160. ; MySQL defaults." t& [, R1 a+ J3 x$ J
  1161. ; http://php.net/mysql.default-socket
    & K2 J6 L0 j( ]+ `& X
  1162. mysql.default_socket =
    : j, o* L7 U8 y7 K/ U/ e

  1163. , Q3 z+ _7 }! i1 n& W1 N( _9 A
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    ; y* b* h; ^! W
  1165. ; http://php.net/mysql.default-host$ S$ q1 }0 D3 f. N5 S* M0 L4 m; A* m8 m
  1166. mysql.default_host =
    3 I8 }6 J, n" \. C
  1167. % ~( ]% c) U4 ?! z! v& \5 L
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).9 ^0 v* [. e2 h* v# L* O7 g7 I
  1169. ; http://php.net/mysql.default-user: e# Y2 I1 ]& a; @8 ~7 z8 [
  1170. mysql.default_user =
    . i% Z9 e4 t$ j- R( {

  1171. 0 G" k$ M' Y$ @2 l; ?4 J6 n
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).$ D+ J+ Z/ m* S0 t# M6 a
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.; W1 L1 |, b- f
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    & L% ^, ~/ t3 C7 ?3 G/ B3 I# c, g
  1175. ; and reveal this password!  And of course, any users with read access to this6 S  V# X: F0 ?$ k: \+ ]7 u
  1176. ; file will be able to reveal the password as well.
    $ K' ]# o+ s* S# ~4 [
  1177. ; http://php.net/mysql.default-password
    : h. A; D' q/ I% d, C6 [" e
  1178. mysql.default_password =+ E8 r4 Z) _, s0 h& G
  1179. 2 t  `9 S$ a. @8 I2 u
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit$ S% ?% a. k, n& L2 j$ @' ?
  1181. ; http://php.net/mysql.connect-timeout
    8 Y; I: E2 u) }; m0 Q
  1182. mysql.connect_timeout = 60
      c. c' s- m# J: v5 k
  1183. 5 i$ j" O4 \) ]1 @
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and  [) F0 R7 u3 Q) c5 K
  1185. ; SQL-Errors will be displayed., U' M; |# ?7 B/ {5 T: v
  1186. ; http://php.net/mysql.trace-mode
    + `' [9 c1 C1 R
  1187. mysql.trace_mode = Off
    . b2 _& j- A: g9 W
  1188. ; h3 T. O) o; p8 M0 H- v4 G6 X- _
  1189. [MySQLi]
    ) b9 Z7 Y/ g2 B* i- K6 E! L; v
  1190. + G$ M! e  N/ o) x4 Q9 V" h
  1191. ; Maximum number of persistent links.  -1 means no limit.& Q1 K* y3 F) y: ^: V- C! K
  1192. ; http://php.net/mysqli.max-persistent
    : x! F8 Q. D. ]0 s9 t( a( _
  1193. mysqli.max_persistent = -1
      [4 k: B  j3 _8 d' R% i
  1194. ) B4 I: H2 m; G
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    ( r. m4 a5 V. C# `- S$ P
  1196. ; http://php.net/mysqli.allow_local_infile
    . C. B  G6 X! D' v
  1197. ;mysqli.allow_local_infile = On
    2 y7 P/ G) r; |. p  Z1 g' A

  1198. . n( g& }% f+ R& m$ B! x
  1199. ; Allow or prevent persistent links.
    0 z2 ~# v  y0 f1 d( w: Q1 a
  1200. ; http://php.net/mysqli.allow-persistent
    5 e2 \6 h( y. i3 @! e
  1201. mysqli.allow_persistent = On
    ' X2 {- r6 j) @* c1 S4 R
  1202. 7 d* h1 `- T( y$ G5 L$ W- t# |1 }
  1203. ; Maximum number of links.  -1 means no limit." C1 y0 C* Z6 Y( }
  1204. ; http://php.net/mysqli.max-links
    4 q6 j: a/ q; q/ ~. O9 K& f
  1205. mysqli.max_links = -1
    9 X7 L# {( A8 \: V8 w& p5 x
  1206. ) G, Q: f* a/ [, w: W, l3 ?
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ; O% K/ s! O% q
  1208. ; http://php.net/mysqli.cache_size: o1 M3 ^% m0 y5 r" z6 K  N
  1209. mysqli.cache_size = 2000) n" s! M# z* O5 `

  1210. . n4 o8 ]1 x1 z' |4 f! K$ R7 _
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    ( R! B+ x0 r6 r( E
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    6 N0 c5 h. n5 y" P: }+ C( y5 i
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look8 Y: H3 i( S% G$ J
  1214. ; at MYSQL_PORT.8 G  ?* y. P" B
  1215. ; http://php.net/mysqli.default-port
    % u/ I9 V. K7 k! ~
  1216. mysqli.default_port = 3306
    & S$ D# Q% h" q% i" x/ y) g. Y

  1217. 9 _8 Q) L5 }( }4 P! J
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in1 Y$ r) Q, d1 N+ q8 h
  1219. ; MySQL defaults.& K8 O+ j0 q+ |6 d
  1220. ; http://php.net/mysqli.default-socket1 a% V& {2 I& h1 U
  1221. mysqli.default_socket =4 t5 s4 }4 n7 `/ u6 }
  1222. 3 q( m2 R, h; T+ y5 ~
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).1 W1 y' t3 s" m5 i* E' ~
  1224. ; http://php.net/mysqli.default-host3 P# T/ G0 b! W+ H, e9 d) ~
  1225. mysqli.default_host =0 |2 A& u! z* x& O* m8 w

  1226. 5 }( z( q) h, V4 j  Z/ y' P
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).% O0 M8 V6 v5 B- j* ^8 [, Y3 r, m
  1228. ; http://php.net/mysqli.default-user
    " s; f+ E! O; m+ I5 J) }
  1229. mysqli.default_user =" v- h2 Q! d6 c+ g" S

  1230. - j) K$ a  q5 x& \, v+ ]+ o
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    $ l  @; Z5 |2 O# p
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    . g+ }: B8 G. A3 t2 E5 b
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")" Z6 \! l- a! A$ R' n$ `
  1234. ; and reveal this password!  And of course, any users with read access to this
    , O! P3 X1 p3 B% m* n
  1235. ; file will be able to reveal the password as well.- \; a# j! ]$ X) T6 V4 B2 h# a9 X0 r
  1236. ; http://php.net/mysqli.default-pw4 A+ D$ ?( ?1 v
  1237. mysqli.default_pw =: O) w. e! v# J- C

  1238. ' k! ~* i, P3 A* f6 j
  1239. ; Allow or prevent reconnect
    / W6 [6 E3 T" J# h8 }
  1240. mysqli.reconnect = Off1 L3 @; q+ C8 {, }# \8 U) c7 O

  1241. 4 I! N9 L' E' o
  1242. [mysqlnd]
    ' g: ?  s$ \, j5 q1 c! O
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    . q/ A& I- V1 z4 M* w/ `) |( p5 J  \
  1244. ; used to tune and monitor MySQL operations.
    7 N/ t2 N! t2 q$ r' Z6 D
  1245. ; http://php.net/mysqlnd.collect_statistics
    ' ~) l7 K' }- A" C
  1246. mysqlnd.collect_statistics = On+ v6 n& E0 S* Z" F1 N* ]- B4 y( ]
  1247. ; _0 [8 N! N+ l8 V
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    0 d5 C9 h% f6 q) K3 T: v4 _6 ~
  1249. ; used to tune and monitor MySQL operations.
    - Q" Y- I4 o4 U2 G& J
  1250. ; http://php.net/mysqlnd.collect_memory_statistics* r; j1 P' t# D" t7 z5 C7 u
  1251. mysqlnd.collect_memory_statistics = Off( q! ]  t) X* W* F% y6 `6 Y

  1252. % Q  G9 N7 M) Q/ L" a7 n
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    / t( @8 ]. t/ \2 @
  1254. ; file.
    0 r* k0 V, j% H/ b5 u3 P
  1255. ; http://php.net/mysqlnd.debug
    2 m; T( S$ m- j+ k$ I) q7 y
  1256. ;mysqlnd.debug =7 m6 ]& [& o" b8 f% W+ d7 S/ b

  1257.   S7 ~9 F9 [" ~* F  `4 Y
  1258. ; Defines which queries will be logged.$ s+ v1 U1 k. L$ V" v$ w9 H! \$ T
  1259. ; http://php.net/mysqlnd.log_mask
    7 s6 C0 |8 o. X) w' y
  1260. ;mysqlnd.log_mask = 0
    - N9 z9 w' M2 B3 n! k1 K

  1261. * r' G* b: _7 @/ Q0 Q
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    ! d  M  a3 w- j, M  H1 w4 c
  1263. ; http://php.net/mysqlnd.mempool_default_size4 h1 j' J' T) v6 u
  1264. ;mysqlnd.mempool_default_size = 160003 O( C) Y% w! X0 `* B7 i
  1265. ) s0 P" N' e0 Y) }! r) p- w
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.$ }6 |$ s( X3 P( }5 ]0 ^* t, {
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    6 ]. g$ G3 P& ]& Q$ \+ G, ~
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    4 t' d! ]# \! |1 t7 W1 S' V9 \
  1269. ' F; z% n; c  H! |: p/ x0 [
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    8 E  J$ c  ^1 U+ [, J/ a$ B
  1271. ; bytes.
    5 Q7 c+ \! P& H0 S; M; R
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    : X% }1 H6 Y- N8 R5 I" C
  1273. ;mysqlnd.net_read_buffer_size = 32768
    9 R9 G$ M$ l: g) f& `

  1274. ' H8 e/ E+ R% e) t# m7 L
  1275. ; Timeout for network requests in seconds.
    8 n+ P9 G: b6 p; O
  1276. ; http://php.net/mysqlnd.net_read_timeout
    0 \) P  M* g" `9 I: n6 o
  1277. ;mysqlnd.net_read_timeout = 315360003 B" j5 o- F% D
  1278. 7 Q# J% _' e( K8 b: ]" h- @! d8 C
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA1 @) b9 a. L6 J/ d; u+ c
  1280. ; key.
    9 Z3 o1 N& T+ [" Q. {% W- j; v
  1281. ; http://php.net/mysqlnd.sha256_server_public_key- M: C. ]1 Z% ]! y# _5 Y0 S
  1282. ;mysqlnd.sha256_server_public_key =& ]: u7 j3 |' Q  b$ `

  1283.   l& Z  @2 n1 _  N5 a& O4 X
  1284. [OCI8]2 A8 i5 M% i" {7 c" U- n
  1285. " Y! L7 H) {+ d  Y, q0 h
  1286. ; Connection: Enables privileged connections using external5 y& Z5 [& k2 S+ y% n" o; P
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)6 C2 {3 U( Q1 L8 t3 Q! M
  1288. ; http://php.net/oci8.privileged-connect
      t# ?2 @, L/ [4 ]  t* K  P
  1289. ;oci8.privileged_connect = Off7 T0 }  j; t9 o5 o

  1290. ' {0 [2 k# I) L9 `2 I* l
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    + |% H0 o6 q: {/ [7 j( x0 V
  1292. ; process. Using -1 means no limit.
    # o7 o' y0 u8 X/ D& s& Y; G" i1 n
  1293. ; http://php.net/oci8.max-persistent
    , v$ s' c4 j3 w* @$ W
  1294. ;oci8.max_persistent = -1- D7 D6 c! y* o- o- W. t0 Y
  1295. : r) Z; C9 L5 G  d8 l
  1296. ; Connection: The maximum number of seconds a process is allowed to
    : c- u) H) n& k9 n8 _
  1297. ; maintain an idle persistent connection. Using -1 means idle1 F' I1 f8 W5 v( T* D/ h3 O
  1298. ; persistent connections will be maintained forever.
    ! K# X: A3 E$ ]2 c' A1 L# D$ n
  1299. ; http://php.net/oci8.persistent-timeout& P" m: s- r8 ~/ |
  1300. ;oci8.persistent_timeout = -1
    + R) W4 M. z7 @- [; E( k' h

  1301. 1 L( C; \$ V- l4 Z7 |
  1302. ; Connection: The number of seconds that must pass before issuing a- U0 Z# Q( S0 ?4 q
  1303. ; ping during oci_pconnect() to check the connection validity. When' Q- D9 B: z$ G% X# m4 A; n3 c
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    ; N& Q( E' `7 \
  1305. ; pings completely.
    2 U2 D- u( S  H) M
  1306. ; http://php.net/oci8.ping-interval4 x' B4 b1 _; L; f! a
  1307. ;oci8.ping_interval = 60( G: t/ A6 @% L$ u" E2 x1 L

  1308. 8 M- R2 J7 t1 {5 c: O+ h$ @# Q- U+ H
  1309. ; Connection: Set this to a user chosen connection class to be used
      F9 W) u. j( Y1 p% ~5 a; e
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    0 f2 z1 t1 y% Q% B- a: E
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to. g2 t+ a# C; c+ o
  1312. ; the same string for all web servers running the same application,1 _4 x* U8 t* v: P% _
  1313. ; the database pool must be configured, and the connection string must
    * {) b! v% H7 |1 f: o
  1314. ; specify to use a pooled server.
    0 U1 ^. |8 \9 c0 y$ i
  1315. ;oci8.connection_class =& P7 H( {, M7 V

  1316. ) g% O' Z( T* W! _9 O/ l
  1317. ; High Availability: Using On lets PHP receive Fast Application
    9 @. @. e% @# O; o# i7 T9 L
  1318. ; Notification (FAN) events generated when a database node fails. The
    % D! r5 g: R" P
  1319. ; database must also be configured to post FAN events.. T; I! p: O- l0 N
  1320. ;oci8.events = Off
    4 f) F  Q; f, [! p6 B9 @) h

  1321. 4 f8 C7 W7 v* a+ v  W
  1322. ; Tuning: This option enables statement caching, and specifies how
    7 X$ F/ ]: U( F4 r! W( s4 g
  1323. ; many statements to cache. Using 0 disables statement caching." X3 m& P  i- k/ M$ B- J
  1324. ; http://php.net/oci8.statement-cache-size
    ) M4 K- w+ W5 O- S
  1325. ;oci8.statement_cache_size = 20$ a1 O# D  k) d  j: L

  1326. 7 j" k: b4 s: b. f8 R
  1327. ; Tuning: Enables statement prefetching and sets the default number of  k6 R! B1 x! A0 q. v
  1328. ; rows that will be fetched automatically after statement execution.
    . O# B' P' ~1 M. s3 b
  1329. ; http://php.net/oci8.default-prefetch, a9 N! V5 f5 ?- @) Z0 E
  1330. ;oci8.default_prefetch = 1001 e1 k6 q+ v# E

  1331. 9 }9 z% i: @0 f! J0 {
  1332. ; Compatibility. Using On means oci_close() will not close1 I2 @4 K4 o4 L. [/ V
  1333. ; oci_connect() and oci_new_connect() connections.
    $ G3 W6 {; F; T- T
  1334. ; http://php.net/oci8.old-oci-close-semantics
    3 }: G6 }# ^2 h, ]$ i3 _
  1335. ;oci8.old_oci_close_semantics = Off
    ' l) T) X# q6 o
  1336. 1 K$ z, w( Y/ e$ U5 k7 i
  1337. [PostgreSQL]# _0 G$ w% k. \- X' w* e$ w9 O% x
  1338. ; Allow or prevent persistent links.
    ' _9 G% ^7 t  i7 B  s, S% c( d8 Y$ X) p
  1339. ; http://php.net/pgsql.allow-persistent3 R! z4 P) @  D5 d& g% o" D
  1340. pgsql.allow_persistent = On, `3 o! {* R. _* q; t

  1341. # ]/ q. _& |3 [6 m
  1342. ; Detect broken persistent links always with pg_pconnect().
    8 z/ V# |  P. A+ D( K
  1343. ; Auto reset feature requires a little overheads.
      @$ _. p: F$ j: E2 y
  1344. ; http://php.net/pgsql.auto-reset-persistent2 Z" y- n2 D# ]8 |! G6 h
  1345. pgsql.auto_reset_persistent = Off( V) l& f+ \( @" @4 o
  1346.   X+ V+ ^' L* M. i" V
  1347. ; Maximum number of persistent links.  -1 means no limit.- [) _) z8 x  H0 R: N( E
  1348. ; http://php.net/pgsql.max-persistent. P8 V& i/ q' L; e" S0 _# E) ~5 ]
  1349. pgsql.max_persistent = -1
    0 @: }2 ]2 M* c5 h; T8 I
  1350. * B. L9 v: S6 H$ b, k
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    % N9 T% g. }* B. S- V
  1352. ; http://php.net/pgsql.max-links
    0 |3 k9 Q) l: f# v0 V# _
  1353. pgsql.max_links = -1: g+ w% o& T# {) @  t, q; c

  1354. * ?$ q, }; _% C# N3 e
  1355. ; Ignore PostgreSQL backends Notice message or not.# E$ k2 m1 J+ E
  1356. ; Notice message logging require a little overheads.: E, E0 m& t0 v
  1357. ; http://php.net/pgsql.ignore-notice
    1 ?* T8 w- Z: g, i( G# J+ u
  1358. pgsql.ignore_notice = 09 b1 E8 s" K( P0 v7 A

  1359. , b7 [, ^7 `, a6 d
  1360. ; Log PostgreSQL backends Notice message or not." f7 e8 p  d; x+ c
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.# C- p5 A( ~. G+ b; M" e
  1362. ; http://php.net/pgsql.log-notice
    1 Q9 V8 U0 S2 j3 ^, m* W& L
  1363. pgsql.log_notice = 0
    6 j' {! v% v4 f6 J7 L6 C% F

  1364. ! |& q9 r+ [' f6 G/ x1 z3 }1 |
  1365. [Sybase-CT]) h+ h: j) Q) V: O5 _$ y
  1366. ; Allow or prevent persistent links.$ ]/ M; }  L: g( B  P9 o
  1367. ; http://php.net/sybct.allow-persistent/ }( E2 a( @6 S5 `) N, T- K
  1368. sybct.allow_persistent = On4 b8 J7 d8 b; t# C% b* a& r

  1369. 1 g# u# P( l0 R9 A0 k, e5 b
  1370. ; Maximum number of persistent links.  -1 means no limit.) G  z+ d6 E7 |' v9 o6 [/ s
  1371. ; http://php.net/sybct.max-persistent
    1 P+ c' O. L! l; @6 R# t
  1372. sybct.max_persistent = -1" H' `# j( [+ f" \
  1373. . a3 s" o, {$ ^7 [+ J  o
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.* O  f7 A6 O7 B$ }5 N, q2 |2 {4 B; G
  1375. ; http://php.net/sybct.max-links* M: i( I6 B9 b( C$ u
  1376. sybct.max_links = -1
    * ^' J$ C& S" N
  1377. # A5 q5 `% }1 l& H8 R
  1378. ; Minimum server message severity to display.
    : ?6 C, p' {+ v& F
  1379. ; http://php.net/sybct.min-server-severity
    2 Q! h; N% n8 R8 o( a; M; Z4 ^
  1380. sybct.min_server_severity = 10
    6 I$ c. x9 Z+ @% L* ]1 B3 ~0 D, g

  1381. 6 w% R7 d: s( ?4 f; A
  1382. ; Minimum client message severity to display.
    ) g. @7 ?2 r2 X& {
  1383. ; http://php.net/sybct.min-client-severity# l% l  x# [5 u! N
  1384. sybct.min_client_severity = 10/ o2 N; ]& n" f) x; _5 }# a6 N

  1385. 9 i3 f8 d: y+ E9 F: k
  1386. ; Set per-context timeout5 v' V- P0 J& ^# @' ?+ z! v
  1387. ; http://php.net/sybct.timeout! K- o) Y+ `5 q  P. j  F/ w% t
  1388. ;sybct.timeout=8 d4 |7 \/ |2 q& V

  1389. 1 d8 B+ w0 b% t5 I& Q) P2 Q' q
  1390. ;sybct.packet_size6 n% h! n% n) M' S+ a

  1391. $ l9 y; U4 V9 r0 p9 f6 v* x9 N
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.$ F% j' q, u2 v  W2 a0 m' }$ A
  1393. ; Default: one minute
    ' Z" ~0 }2 l$ F# d
  1394. ;sybct.login_timeout=2 _* ^$ }( H6 m' ~+ b9 t7 H
  1395. , R5 r- J- [2 i
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.  {+ o7 h4 d( ~$ c( U7 a8 `
  1397. ; Default: none
    1 P, I" ^" [4 c6 _: v$ q9 @
  1398. ;sybct.hostname=
    & U1 D1 n: s  O

  1399. ( u# S/ e0 e! P7 P- V4 _/ G6 [) Z* m- |; X
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".0 ]. U4 @( N5 w  s8 M
  1401. ; Default: 0- u# t% R- K. D8 I% p, q
  1402. ;sybct.deadlock_retry_count=
    , V8 Q6 Y7 \$ c: a: V

  1403. ; l9 K1 n( ?. u- g, r) u1 K
  1404. [bcmath]6 J3 q+ ]1 w/ I0 S2 [4 ]
  1405. ; Number of decimal digits for all bcmath functions.
    9 v. a2 n+ a; g' p# `
  1406. ; http://php.net/bcmath.scale
    ( U& Z' o6 C+ ]! ~: M" S
  1407. bcmath.scale = 0  @, E  t" R. l* q- u
  1408. 1 \6 E1 b* \: D4 I* `  l( c
  1409. [browscap]
    & ]1 c$ J5 G# j4 q* ?( X! q1 \
  1410. ; http://php.net/browscap7 A# C' _5 T, @5 F, E
  1411. ;browscap = extra/browscap.ini5 f" `% q" d: F

  1412. " l, \4 q+ B9 T' _+ l
  1413. [Session]
    8 r* E& B. j% ~
  1414. ; Handler used to store/retrieve data.5 U8 e1 s  k$ G/ @8 U2 M3 d' V+ X
  1415. ; http://php.net/session.save-handler
    . A+ K/ o( Q* w5 w# |
  1416. session.save_handler = files( t: e  g# Z, k6 W& \
  1417. ( f7 r$ Y8 \' Q9 |
  1418. ; Argument passed to save_handler.  In the case of files, this is the path; D  z' d( [8 `& w3 E
  1419. ; where data files are stored. Note: Windows users have to change this9 d* t& r: T* d. R
  1420. ; variable in order to use PHP's session functions.' s5 S' u; Z% r6 M8 @& I3 m7 y
  1421. ;8 w- J" j4 n: q7 f+ S& g
  1422. ; The path can be defined as:
    ) U; B' i/ e3 q- M' q3 t
  1423. ;
    8 R" @$ V! `8 ?+ c! a
  1424. ;     session.save_path = "N;/path": K. u8 A# ]% N
  1425. ;
    " w- k: \' R9 y
  1426. ; where N is an integer.  Instead of storing all the session files in' R0 V3 [0 `# B! z/ P0 f7 v
  1427. ; /path, what this will do is use subdirectories N-levels deep, and- i; F; w) o( X7 n% J
  1428. ; store the session data in those directories.  This is useful if
    , y# G( [7 Y5 h' G, ~* u
  1429. ; your OS has problems with many files in one directory, and is
    : n$ q/ P9 E0 O8 O& C9 X1 E) n6 l
  1430. ; a more efficient layout for servers that handle many sessions.# J, }6 B4 X1 ^2 }
  1431. ;5 ~; u/ i1 C7 F. p. |) F2 i
  1432. ; NOTE 1: PHP will not create this directory structure automatically.* _6 n6 V# Z2 q% c; t: n' I! q
  1433. ;         You can use the script in the ext/session dir for that purpose.
    7 ?& L# o. I9 y1 A+ P
  1434. ; NOTE 2: See the section on garbage collection below if you choose to4 S' c- |2 E- Q: i1 [
  1435. ;         use subdirectories for session storage3 k( ^( U, L/ k6 n! U) e6 c0 n
  1436. ;
    + s! j: ~+ ]. u( D
  1437. ; The file storage module creates files using mode 600 by default.
    ; S: z, D) U, g8 c4 a1 I/ V) t
  1438. ; You can change that by using! f7 a/ v# E$ S0 j
  1439. ;2 g$ \. |  X# s/ G5 @! ?
  1440. ;     session.save_path = "N;MODE;/path"* g. G- `1 n2 L
  1441. ;
    ( r8 G* r# R$ p1 `# m
  1442. ; where MODE is the octal representation of the mode. Note that this0 g4 B: F: Z1 F) x+ S# o
  1443. ; does not overwrite the process's umask.
    3 P- w% W7 a5 q( d# f# H, q
  1444. ; http://php.net/session.save-path
    " Y% T. s$ C+ f/ M& G" i3 Z+ W+ ~$ t
  1445. ;session.save_path = "/tmp"
    / Z) e7 O$ @$ B: F# X4 J+ M# R% D; I
  1446. 1 L! o0 U" P' f' _5 \9 W
  1447. ; Whether to use strict session mode.
    . R6 Z' X$ C4 K  a+ b) R' x
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    ) V0 ^: U( n1 q$ O4 M0 b  ?
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects. j0 U7 Z. p4 n, ?/ M0 X  _
  1450. ; applications from session fixation via session adoption vulnerability. It is
    7 i4 _8 B- A- F& r: K  `) ~
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    5 D. L, R  @* {. l
  1452. ; https://wiki.php.net/rfc/strict_sessions% Y/ }9 X6 e+ e7 k
  1453. session.use_strict_mode = 0
    2 n, h8 y/ @$ K3 L4 Y+ t% _

  1454. / b# x. j  c2 k7 K
  1455. ; Whether to use cookies., {, r- r" G6 P1 W
  1456. ; http://php.net/session.use-cookies
    8 }9 C) \7 x  T3 Z9 C" O
  1457. session.use_cookies = 1
    . k& u: o" @$ W* ~, d0 D# B

  1458. ! I3 _; ^+ i  r. v8 X  V( D3 D$ R9 S
  1459. ; http://php.net/session.cookie-secure3 F, l# K3 R  t$ `# l" _
  1460. ;session.cookie_secure =9 ^0 h4 z0 p) M% I4 u

  1461. ( w  y' @$ a6 d" w" [; L) B1 `' Q
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    3 ?' g* J9 S" Q
  1463. ; the session id. We encourage this operation as it's very helpful in combating8 ^2 F6 j8 O4 Z% Z
  1464. ; session hijacking when not specifying and managing your own session id. It is
    4 ?; w3 J7 l6 g) U6 i  ~' ]
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    6 K  [  O- r: g  b, C! W8 s
  1466. ; http://php.net/session.use-only-cookies0 f/ v1 N. I4 ?9 \
  1467. session.use_only_cookies = 19 L5 r: B2 j0 S

  1468. * x  I+ S' ~- T: j. n
  1469. ; Name of the session (used as cookie name).
    7 f* o" K! z- M2 d5 p" B
  1470. ; http://php.net/session.name
    : |$ i# D4 R- _3 {; J
  1471. session.name = PHPSESSID& u5 w2 n, z( a) I

  1472. 8 c) ]! o  T& w* H4 P! e2 y
  1473. ; Initialize session on request startup.0 L" K& Q; m4 D( f% M3 \$ a* {
  1474. ; http://php.net/session.auto-start
    & W+ ?3 ]/ T# T: m0 ~
  1475. session.auto_start = 0! b8 f, U! t& u  g% [+ l

  1476. 9 |6 d( J7 E( D4 ^
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.* y* N6 y. i! `
  1478. ; http://php.net/session.cookie-lifetime
    ! ^0 n7 [, i7 h4 V. n
  1479. session.cookie_lifetime = 08 Z' L" Y, b6 g* W! w

  1480. ' C( V& \6 E% r& W0 Q4 U$ G
  1481. ; The path for which the cookie is valid.
    4 Z& M7 s% A6 h7 q
  1482. ; http://php.net/session.cookie-path$ D* U" B6 Z5 H' c/ Z) t
  1483. session.cookie_path = /
    1 E- F, d7 }! L/ W, d" E. o

  1484.   _, h/ E1 T& s* s$ w: {' x
  1485. ; The domain for which the cookie is valid.4 x) ^8 n) Y8 L
  1486. ; http://php.net/session.cookie-domain
    ! |+ u/ s9 @& _
  1487. session.cookie_domain =8 k" t9 f! F8 E+ r+ `; Z

  1488. + V1 K, V  R, ?$ B2 [8 @8 F
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    * c- y' F! T$ d( E
  1490. ; http://php.net/session.cookie-httponly
    3 L6 Y% Y% [" s# _- v: j/ e
  1491. session.cookie_httponly =5 `6 t$ U2 o  a; [$ z  Z  w, K
  1492. ) ^6 b. P1 S$ ^- [- e
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    5 e0 V2 |! e+ l4 |3 k, |& Q, I
  1494. ; http://php.net/session.serialize-handler
    6 T/ t* c9 Y( g
  1495. session.serialize_handler = php8 x1 ^1 V, W3 N
  1496. , K1 T; n$ \6 d0 P" d, q
  1497. ; Defines the probability that the 'garbage collection' process is started% Q0 q4 B( B, L: }8 k
  1498. ; on every session initialization. The probability is calculated by using
    ) U8 L( }. z5 M) ]" l$ q
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator- C+ `, |' x8 u. Z" B
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 19 M) q% v, I. k5 e3 w4 T; i: k% s
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance+ c) ^. e) ~$ P/ t7 r& s
  1502. ; the gc will run on any give request.6 h+ f; N: Y' f0 }: q
  1503. ; Default Value: 1
    $ X* F% v0 O  f4 M
  1504. ; Development Value: 1
    1 J0 A: n$ V! I  L9 y  f
  1505. ; Production Value: 1
    ; \- X5 z; R4 q6 [; V# ^) ?) f
  1506. ; http://php.net/session.gc-probability& F, r! O$ e7 d' e2 p4 C% H% h' f
  1507. session.gc_probability = 1( G7 N, ~4 Z4 H5 P) O

  1508. ) o, W7 O$ `% H! d; v3 j
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    - d! p" J: g. e  r1 E- B
  1510. ; session initialization. The probability is calculated by using the following equation:/ X1 h9 b1 f$ u' e. S' ~$ b
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and: K3 M  w5 ^- S, l
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    * w, T( [$ R7 [7 [+ n; |" R- J
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance: e$ @9 F0 i/ ~* a
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    2 l9 P- |+ O1 F! }6 m) n; q" w8 r
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    0 v- E( c4 ]/ l' a
  1516. ; this is a more efficient approach.5 U& e: a& u" g) u  B
  1517. ; Default Value: 100$ ~: B& T/ ]6 I
  1518. ; Development Value: 10002 d& i7 T8 i" [# M
  1519. ; Production Value: 1000
    8 M( o$ k8 T$ v0 L- I' b2 C2 f
  1520. ; http://php.net/session.gc-divisor. x3 v* J# [3 Q% h
  1521. session.gc_divisor = 1000& E5 h0 y! b+ p, [0 A7 b

  1522. 9 Y8 \1 p8 z- [2 x9 R5 C
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and3 H9 w: {: z5 W
  1524. ; cleaned up by the garbage collection process.' `; W; m8 `+ m3 ^* p$ C
  1525. ; http://php.net/session.gc-maxlifetime6 V+ {& C2 R7 `0 s3 P8 j
  1526. session.gc_maxlifetime = 1440
    / _  C$ Y# X9 j# n6 i% r
  1527. 1 M& `. l) y. `% C, m% F& o. o! v
  1528. ; NOTE: If you are using the subdirectory option for storing session files8 N$ u# m/ n) i4 e9 M/ J
  1529. ;       (see session.save_path above), then garbage collection does *not*% G" o) m" Q0 n9 w# x2 @" B
  1530. ;       happen automatically.  You will need to do your own garbage
    - M# a3 T3 f+ R8 d9 k
  1531. ;       collection through a shell script, cron entry, or some other method.
    # e1 A) O- r/ x- @: i% I
  1532. ;       For example, the following script would is the equivalent of
    % ~7 Q1 f) U9 i$ B; J
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    : C: c6 n. r- L. z
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm7 g: D( G( v/ U" _4 G$ e
  1535. 6 u# L, u: A0 b: I2 l& i/ B2 F5 r
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids., i# z4 r  }! e8 r# Z% ]
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    # x" d; F4 q, S( u8 x
  1538. ; considered as valid.: `# ~2 n6 p# o5 z
  1539. ; http://php.net/session.referer-check7 L! m5 j6 C  x& O% l: g4 k8 Z
  1540. session.referer_check =' ~4 O" a% ^* T; @+ x+ S
  1541. , s9 w5 p6 p+ i. o0 y: R+ b6 h! }
  1542. ; How many bytes to read from the file.8 i  I+ \% w& Y; `
  1543. ; http://php.net/session.entropy-length. K+ [8 N. u5 r) j/ V% g4 g
  1544. ;session.entropy_length = 32
    # ?, |9 b( c! @% F: W
  1545. ( |. ^4 [. i6 `5 w4 s0 N
  1546. ; Specified here to create the session id.
    # f2 d! @; N; D8 x  s& s
  1547. ; http://php.net/session.entropy-file
    " K  S6 d3 M5 i+ ]  p
  1548. ; Defaults to /dev/urandom
    # L  }3 J7 }  l0 l% H
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    ) }0 }9 A: Y. D1 a- F, c4 N: S
  1550. ; If neither are found at compile time, the default is no entropy file.
    0 ]; ~$ F6 O5 S, i0 I" N
  1551. ; On windows, setting the entropy_length setting will activate the
    : D9 l5 {7 ]( M8 w# Z+ K( ~: D
  1552. ; Windows random source (using the CryptoAPI)1 D  a7 \; e4 @$ L  d$ {; [, x' {
  1553. ;session.entropy_file = /dev/urandom
    % V/ A# f- L) v) r

  1554. 4 J' L& D. B8 |  B6 ~& H
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    2 S% K0 T0 X1 t' M/ H
  1556. ; or leave this empty to avoid sending anti-caching headers.
    . [+ H. `' Q0 @* ?( E
  1557. ; http://php.net/session.cache-limiter
    . \% `' s, q: j
  1558. session.cache_limiter = nocache
    1 D- w: u% s$ t- j
  1559. & X& I! x2 M* E8 A! \
  1560. ; Document expires after n minutes./ V9 g/ b) f: e& W
  1561. ; http://php.net/session.cache-expire
    + c0 F' ^4 Z3 [2 t* e/ D
  1562. session.cache_expire = 180: q: N9 b+ _# ?6 \/ q2 p7 m
  1563. " h* ?2 F2 D# a3 S* Q# {
  1564. ; trans sid support is disabled by default.+ Q! m+ E: K8 R* c/ u: x1 I
  1565. ; Use of trans sid may risk your users' security.: t) Y5 E2 Z) C& \1 g
  1566. ; Use this option with caution.
    $ Q" H: O, Z$ g5 r8 ~
  1567. ; - User may send URL contains active session ID
    : O8 C9 v" B4 |; R" D* V0 G
  1568. ;   to other person via. email/irc/etc.* B/ N) Y5 M9 j; q9 V3 S
  1569. ; - URL that contains active session ID may be stored5 k; d6 A2 v& ?3 Z
  1570. ;   in publicly accessible computer.) ~" b' N( g2 k$ L& t
  1571. ; - User may access your site with the same session ID
    % W, x6 I- y% j
  1572. ;   always using URL stored in browser's history or bookmarks.2 k# R! A# g+ Q, a
  1573. ; http://php.net/session.use-trans-sid
    2 L5 T+ ]0 A) O$ [* Q
  1574. session.use_trans_sid = 0  }; `( u/ l. B* _/ d& |4 O
  1575. # z2 p% g- {2 U# _3 o9 O
  1576. ; Select a hash function for use in generating session ids.
    6 ?4 Y' Q" i3 D- L- V3 E# p# Y& B
  1577. ; Possible Values% {0 J5 C4 ]4 }1 g- w0 Y- u; ~7 H
  1578. ;   0  (MD5 128 bits)' x: ~; t5 s" l1 i& m
  1579. ;   1  (SHA-1 160 bits)' @( V7 F" V1 S; J: A1 R
  1580. ; This option may also be set to the name of any hash function supported by% f* `# P# k. I; L* Y+ P
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    : H9 r* r* Y* U" E$ c' M
  1582. ; function.
    3 s' U& {" a( V; a# O7 r: c/ i
  1583. ; http://php.net/session.hash-function
    * i3 H  {$ J: i' I1 B
  1584. session.hash_function = 0
    - j' @; U6 X' \9 a' h1 M

  1585. 3 u  h& D+ U" [# ~; Z/ Q9 j5 z
  1586. ; Define how many bits are stored in each character when converting
    6 @# z- h& X0 v: ?
  1587. ; the binary hash data to something readable.. F8 [7 z7 v. q  {8 F1 v5 `5 l  S
  1588. ; Possible values:
    " w' i) E6 [, e& d
  1589. ;   4  (4 bits: 0-9, a-f)
      U0 ?. A: p* f! Q5 ?
  1590. ;   5  (5 bits: 0-9, a-v)4 s% f( a6 q( g
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    7 I* {# j+ R" U2 Y! D7 p9 F8 }
  1592. ; Default Value: 4
    , ?1 d4 T+ d$ ]& J/ X
  1593. ; Development Value: 5
    : o9 d/ L1 }1 `8 x8 @! m8 E% q
  1594. ; Production Value: 5
    ; r% `  J/ G" G7 C9 P
  1595. ; http://php.net/session.hash-bits-per-character6 m  O' N! V/ {4 c2 x
  1596. session.hash_bits_per_character = 55 B- @9 `- q$ A

  1597.   S; ~; i% Z0 X) @- L6 B
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    / X& e3 K. ]+ j
  1599. ; form/fieldset are special; if you include them here, the rewriter will! O, h4 ^8 w2 e8 D' X$ F+ j% f
  1600. ; add a hidden <input> field with the info which is otherwise appended* O7 f- G  N4 @  r5 G% D; C* c
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    ( K2 |( I  w/ s8 \- j6 `
  1602. ; Note that all valid entries require a "=", even if no value follows.+ D0 l3 A$ [) h/ o# S
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    . A* M; m# x) A
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ; m2 ~& ]8 U% s3 x: A6 B
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"( z4 u, O6 T. E: d% g/ s
  1606. ; http://php.net/url-rewriter.tags
    . y& v( e1 U) t7 Q  {: X
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry". I; P2 u; c) ]+ G; @

  1608. % q8 }# C9 |% a; _1 h/ K
  1609. ; Enable upload progress tracking in $_SESSION
    " G" K3 [' k9 H9 ^& ?
  1610. ; Default Value: On
      q3 o, U2 D& U5 t3 t" S2 C
  1611. ; Development Value: On
    $ Q. ^4 u* ?- F' F) ]
  1612. ; Production Value: On
    . w# B0 S8 b: U3 M, s  z
  1613. ; http://php.net/session.upload-progress.enabled& a# v' ]3 x7 F: z& c% V# C
  1614. ;session.upload_progress.enabled = On
    ! T1 I  N) _, h6 H; x; ^& z- b
  1615. * M: t. o: t! S. ?# p: j; E3 K
  1616. ; Cleanup the progress information as soon as all POST data has been read) J( N( H5 H( |( j" Z
  1617. ; (i.e. upload completed).' A' I9 E' _$ l" p+ X
  1618. ; Default Value: On; q2 h/ E: H4 b4 u' w  i/ I
  1619. ; Development Value: On% \2 Y* z6 M/ ?5 I0 m! @
  1620. ; Production Value: On
    % X; P  v; z, q) a3 S) Q' q9 q+ y
  1621. ; http://php.net/session.upload-progress.cleanup
    ) V% r- t( j! ]( Y! O
  1622. ;session.upload_progress.cleanup = On/ j0 A/ ?: w( g) V

  1623. 4 n" x" F- t! r& I
  1624. ; A prefix used for the upload progress key in $_SESSION  \' l& d& @$ m7 c0 V; C/ j4 [* D
  1625. ; Default Value: "upload_progress_"
    ( U1 j4 s0 m6 A6 j3 K. k- V- C$ u
  1626. ; Development Value: "upload_progress_"
    3 U6 z( c( V- H0 a" E
  1627. ; Production Value: "upload_progress_"
    * N& d/ {6 p4 U, v6 a1 w& G/ @3 w
  1628. ; http://php.net/session.upload-progress.prefix
    3 x; P9 U5 t) p( D
  1629. ;session.upload_progress.prefix = "upload_progress_"& M% O6 n. M, }8 B

  1630. 4 K( a! W! m/ y/ l, G
  1631. ; The index name (concatenated with the prefix) in $_SESSION* h& _% L. k% l4 A3 Y
  1632. ; containing the upload progress information
    ' N  c1 h- W; C8 }2 g% ?+ n1 n: k
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    0 ], Z* f9 k3 M2 h5 D3 e/ q) \, ?
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    + h, D# v/ q0 U/ A# K1 Z
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS". n. m- ]  z  {% V& [5 a
  1636. ; http://php.net/session.upload-progress.name
    3 T7 o# m: U6 ]9 v/ s
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"& D( B6 ?. Z2 b7 H! @

  1638. : ?+ K7 W7 B! l7 D+ w* u8 q, l
  1639. ; How frequently the upload progress should be updated.
    # ^! ~+ {! Q4 w1 j+ k
  1640. ; Given either in percentages (per-file), or in bytes
    8 c) q- X9 D2 E! Z. h
  1641. ; Default Value: "1%"& M+ I3 q% F" j7 c' k
  1642. ; Development Value: "1%"2 h. a- Q2 k8 ?+ P' b, I
  1643. ; Production Value: "1%"0 r2 ?9 h; q) ^4 ]' W5 R
  1644. ; http://php.net/session.upload-progress.freq1 F3 h  w7 ~7 X( b6 D$ b
  1645. ;session.upload_progress.freq =  "1%"
    1 W+ n: h+ M/ W# E( `+ w

  1646. % Q  p! a. X: A
  1647. ; The minimum delay between updates, in seconds# V5 O7 s/ m& B% c9 A. ~
  1648. ; Default Value: 1
    - J7 Q- c7 m5 o
  1649. ; Development Value: 1* f' y) }+ h" |* O1 R
  1650. ; Production Value: 1
    ( C; n) m2 _1 O+ v& x% W
  1651. ; http://php.net/session.upload-progress.min-freq
    7 N( b2 T) C; g7 |
  1652. ;session.upload_progress.min_freq = "1"; x# ^( \" ]! y

  1653. 7 N( Y. C3 p3 U6 }+ y, p% R
  1654. [MSSQL]
    , a& B6 d. L" x: n+ I
  1655. ; Allow or prevent persistent links.
      }) I! {4 `9 J' W1 M# `4 r$ j
  1656. mssql.allow_persistent = On
    & O4 N9 k5 z! a) F8 G

  1657. ! i1 `& c8 O# C$ K3 r
  1658. ; Maximum number of persistent links.  -1 means no limit.
    7 V3 \" P: [$ o' O9 t4 _! F
  1659. mssql.max_persistent = -16 E! Q! W  S8 u, R

  1660. * Z% o( ^' }8 D/ ^; D
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.) G: @& b, i& q
  1662. mssql.max_links = -1" h8 s" X5 t3 H$ V" ~: @5 M
  1663. ; \8 I% K- G5 m. O: _9 P- x
  1664. ; Minimum error severity to display.
    4 I/ s. A% G# h* \1 v6 |1 |
  1665. mssql.min_error_severity = 10
    % P. C6 J5 O( P- }/ i
  1666. $ V+ F5 V9 J2 F9 u( h3 S
  1667. ; Minimum message severity to display.
    9 J% H! K4 P+ p8 ]* l
  1668. mssql.min_message_severity = 10
    ; A( W- \+ H7 w9 A% p0 J6 L

  1669. : b% D/ H9 `+ _/ B: W% Y
  1670. ; Compatibility mode with old versions of PHP 3.0.' S1 `* N6 x6 ^# d
  1671. mssql.compatibility_mode = Off
    8 H- A% W# U& }: [% P) G

  1672. ) A- [: W5 M. d& }8 K
  1673. ; Connect timeout4 i# f& F; Q& Y
  1674. ;mssql.connect_timeout = 5
    2 `+ i4 ?6 _7 C) {* J( U- V
  1675. ) G& K( c4 N% U9 k9 ~& x' h
  1676. ; Query timeout3 K/ c8 o' d9 @; k  P' K9 m* O
  1677. ;mssql.timeout = 60
    4 K; E& j5 D2 R4 u
  1678. * A9 f+ f0 q2 w; I  p6 s* W) L
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    " ^- y; N) @/ P. ~& `, M
  1680. ;mssql.textlimit = 40965 P; d( H( x) s. z
  1681. 9 e/ V7 o6 ]& H4 ?0 x/ R0 r2 f7 w
  1682. ; Valid range 0 - 2147483647.  Default = 4096." U4 b. b" o2 g
  1683. ;mssql.textsize = 40965 h0 ~3 J: b& ?2 Z" {
  1684. : z. U; E3 F$ R9 I5 `
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.0 r# I( s2 ?3 s1 V
  1686. ;mssql.batchsize = 0
    1 P' n* `. s/ L- W8 ~+ h( T

  1687. ) G0 g" i+ t/ t$ ~
  1688. ; Specify how datetime and datetim4 columns are returned
    $ n% ^1 \  B/ N! |  L" [* g8 H
  1689. ; On => Returns data converted to SQL server settings
    & i  Q$ _( d2 ^/ W
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss7 f# F$ E% E8 ^, n& N0 T
  1691. ;mssql.datetimeconvert = On
    : [4 @* C8 S( y
  1692. 8 T) G6 i& c  q8 p
  1693. ; Use NT authentication when connecting to the server" Q: g) S, N9 B
  1694. mssql.secure_connection = Off
    ; n2 I7 H1 G0 g! r2 q# T0 {9 O/ A
  1695. , D7 Z6 i0 ]: s: `) m
  1696. ; Specify max number of processes. -1 = library default+ Q, N1 B1 \( e: V* g* S
  1697. ; msdlib defaults to 25
    : B/ e6 Y& n  s# Q) G
  1698. ; FreeTDS defaults to 4096: w9 m' b! T; f* V) |3 i
  1699. ;mssql.max_procs = -1% M! ?' R5 j  I; E
  1700. 7 _( l: R# i/ @# y/ S
  1701. ; Specify client character set.3 }: D5 j1 _9 P
  1702. ; If empty or not set the client charset from freetds.conf is used; z4 I- z' D7 c
  1703. ; This is only used when compiled with FreeTDS
    & S+ O1 S& Z" a7 F% v' U( V9 w  w' e
  1704. ;mssql.charset = "ISO-8859-1"- w5 k$ K, g+ G' G* r

  1705. ; E( v- ~- G: e1 }) V* ]
  1706. [Assertion]( c  g3 q; j! j0 m, |
  1707. ; Assert(expr); active by default.% ]  _2 g" D! U9 |6 N9 v  f- _
  1708. ; http://php.net/assert.active5 R' O; t$ S  O) J  B- f3 l& h+ M  K
  1709. ;assert.active = On: [$ f  W- O8 i; f7 D

  1710. 9 z" Q5 f/ V6 O: p* C/ t/ I* N- h
  1711. ; Issue a PHP warning for each failed assertion.
    3 L) n4 d: f+ O5 i1 j  o3 d. l! P
  1712. ; http://php.net/assert.warning# s7 }  t$ l: U  k
  1713. ;assert.warning = On
    $ Z( V4 K  `1 @+ y/ J

  1714. " ^5 U6 m, `0 T
  1715. ; Don't bail out by default.3 I! v& l3 Q- Z) G) F( Q# r1 r& _
  1716. ; http://php.net/assert.bail+ F3 g( O) }* A" F% L. D. J1 ^9 s
  1717. ;assert.bail = Off, I3 @3 D3 U& D. I2 Q& @' U
  1718. 3 O4 @3 _9 {! X! J
  1719. ; User-function to be called if an assertion fails.! F% `4 t" e$ L2 D3 g
  1720. ; http://php.net/assert.callback# g3 O2 r9 b' d+ d& i3 Y' B7 K
  1721. ;assert.callback = 0' t7 E* K& ^# u9 F# Z
  1722. . F0 [) |8 W/ v, J& f9 R8 f
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    2 m) H! v; ?, w  s
  1724. ; error_reporting(0) around the eval().: C$ h( ?% Y: q6 m% S
  1725. ; http://php.net/assert.quiet-eval+ o' [4 U8 h% ]; @2 b  I9 b9 K
  1726. ;assert.quiet_eval = 0; A" A, ^( W  C$ ]
  1727. - k& s8 O+ v5 t4 v- A* s
  1728. [COM]3 F( a, ?5 v: z$ [- G  ^
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    4 h$ E4 |5 i4 ~4 Q; M
  1730. ; http://php.net/com.typelib-file' V. s" V1 t1 f: W$ k, e2 N
  1731. ;com.typelib_file =
    4 [0 R/ S' z; E9 K- \. L" ?  D
  1732. & k; v7 N. ^/ d+ Z
  1733. ; allow Distributed-COM calls5 Z+ F# @: {1 e' Z0 g) p! l7 k
  1734. ; http://php.net/com.allow-dcom5 r+ q4 i9 R: ]# f: U! w' H% \
  1735. ;com.allow_dcom = true, S6 K" \! f$ g
  1736. 8 l0 e3 e! n( V% X: F/ @: o
  1737. ; autoregister constants of a components typlib on com_load()( U0 m9 X+ J$ b3 G
  1738. ; http://php.net/com.autoregister-typelib
    / O) M1 D' e) x" I
  1739. ;com.autoregister_typelib = true' V5 ?2 P$ c+ y) p, \6 F

  1740. # w. [+ P* u  R3 c
  1741. ; register constants casesensitive
    : Z, G- g% D& D0 @) G) ?" y6 l
  1742. ; http://php.net/com.autoregister-casesensitive
    9 ]8 p3 Y' ]' x# r  H/ [5 d
  1743. ;com.autoregister_casesensitive = false
    6 b$ \9 d9 [# w$ p3 f

  1744. ; Q2 Y9 ~7 e" z+ O
  1745. ; show warnings on duplicate constant registrations, f- r7 r% O) N. f
  1746. ; http://php.net/com.autoregister-verbose
    4 k8 K/ {; U% i) K; w$ d
  1747. ;com.autoregister_verbose = true- c0 T% s  v7 Q; J& J$ d
  1748. * G+ B+ _. o/ `  [$ a/ v+ u
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    & `0 V  c! `3 B$ J) ]: g8 a, W
  1750. ; Default: system ANSI code page7 n! r& o2 K) [/ C# V
  1751. ;com.code_page=
    + n9 K, h; m( B' r# I

  1752. , r* Y: D+ m4 Q( J
  1753. [mbstring]
    # s4 }7 x. p* `. {/ ]
  1754. ; language for internal character representation.
    / o& e1 o) l4 D6 ?  \0 R0 {
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    ) H) l7 M  F5 ~+ Y/ }
  1756. ; http://php.net/mbstring.language
    4 O4 y& Q/ f9 S" j! z6 \
  1757. ;mbstring.language = Japanese# U& T- K1 B4 _
  1758. : c# C- A( Q! L* ^
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    0 ?3 x. F% o6 \+ d# \
  1760. ; internal/script encoding.1 |- K- N1 `" M. D. Q
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)8 O  i: v  O$ K3 d
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.4 L: {5 q, r# U. }/ g' p
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding8 N3 R# y0 S# B  p! k& E
  1764. ;mbstring.internal_encoding =
    % \) C6 k5 _" @& D# K2 _6 v/ l
  1765. - T+ N; Y: g* z* V
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.2 A6 {4 Y  }. @" h4 }
  1767. ; http input encoding.: o  k1 h/ x, u/ I& u0 o  U
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.# }" U4 x# q& d; Z* K  p
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.: a7 h6 m) n" @
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    5 c. P$ L" H( R: E
  1771. ; http://php.net/mbstring.http-input8 Z. X7 s0 N1 ?0 @
  1772. ;mbstring.http_input =! d/ V1 X- M6 V1 Y8 Z
  1773. $ V4 ^$ r) p! K) c, V+ G9 Y
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.1 E9 z" r4 ~, Q1 S& W# g0 X3 m
  1775. ; http output encoding.
    % [8 ]" R% j# n" R& @2 s2 q3 E3 \
  1776. ; mb_output_handler must be registered as output buffer to function.
    , X5 Y' g% g; t) s. s
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    8 K. n6 ~3 u0 {
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    0 M' D, Z, J( Y& n9 P
  1779. ; To use an output encoding conversion, mbstring's output handler must be set/ l* h) `+ r- Z3 n$ ^: x; O! c
  1780. ; otherwise output encoding conversion cannot be performed.
    1 ]2 q! I, r$ ~1 k9 K
  1781. ; http://php.net/mbstring.http-output
    4 m8 y) r+ u# @" I2 F
  1782. ;mbstring.http_output =) u  m9 u5 S: ]

  1783. & [* r. h. ^3 l/ [' K# d4 O, s' A
  1784. ; enable automatic encoding translation according to
    ) o9 L; b0 g: W4 c+ Y! [
  1785. ; mbstring.internal_encoding setting. Input chars are. Z. B  H- [% p1 M
  1786. ; converted to internal encoding by setting this to On.
    ; u7 n  |* O) {0 ^' X1 `) F
  1787. ; Note: Do _not_ use automatic encoding translation for. x6 q$ i6 x" x# B; v
  1788. ;       portable libs/applications.
    9 ]3 v0 ~4 k8 I) d# R4 j. x! u& X
  1789. ; http://php.net/mbstring.encoding-translation( c7 q1 B& T- i+ @- m8 {/ S" t% {  V
  1790. ;mbstring.encoding_translation = Off
    1 J0 U! j% \( k2 j

  1791. 8 C5 y& O( m4 I5 U9 S( G
  1792. ; automatic encoding detection order., b" I+ P! I1 E$ ?- f" M
  1793. ; "auto" detect order is changed according to mbstring.language
    ' A+ n5 T, j: |
  1794. ; http://php.net/mbstring.detect-order
    5 {. \/ R1 X2 c: Y: ~
  1795. ;mbstring.detect_order = auto
    3 Y4 o* z# @* z2 `
  1796. ; W7 K' D! F( I7 L4 ]% n4 M" b. ?! d
  1797. ; substitute_character used when character cannot be converted
    $ N9 o1 \) H& J0 o  n  V4 j
  1798. ; one from another
    $ ~& Z  |" H( B, B( p
  1799. ; http://php.net/mbstring.substitute-character
    * ~' r' r% t  Q$ K. [! F
  1800. ;mbstring.substitute_character = none# ?5 Z( s9 `% y* H6 ]

  1801. 4 {1 U) D6 z# H* `% H" T
  1802. ; overload(replace) single byte functions by mbstring functions.
    ' K3 U" n1 g6 v* O/ }2 ]
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    % G' J" v: B$ h, H6 d8 K
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.  F3 x& ]$ d( J( B
  1805. ; For example, 7 for overload everything.- q/ H- b2 I+ \# y
  1806. ; 0: No overload7 Y2 A  ^+ i. {8 u
  1807. ; 1: Overload mail() function3 E6 f, f$ [1 @0 w$ c
  1808. ; 2: Overload str*() functions
      O  f; D: I2 `5 x
  1809. ; 4: Overload ereg*() functions
    & O: O6 Z) Q+ B: E* j& J, {% o
  1810. ; http://php.net/mbstring.func-overload
      E4 r1 }* k% j4 K5 c' U
  1811. ;mbstring.func_overload = 0
    ; U0 E7 w# @0 d+ M
  1812. 3 `& O; V2 ?3 I6 d  [# @
  1813. ; enable strict encoding detection.
    , [- F; G* j$ r1 d0 ^' I" d' S
  1814. ; Default: Off, N' j  J4 L4 ~$ i3 g
  1815. ;mbstring.strict_detection = On
    1 g+ Y' R6 E* g- r2 t: ]
  1816. ' p2 f6 Z" d! ], L4 N$ k; C
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()) V, e. R+ Y4 J" s
  1818. ; is activated.& H0 A& V! D; K7 M
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)+ R; S; Y$ V. h* F& B" d$ }
  1820. ;mbstring.http_output_conv_mimetype=# u1 t/ g2 v5 e& X
  1821. & c1 e9 u) `- ~6 w
  1822. [gd]9 n7 F% o: z- e5 l& t
  1823. ; Tell the jpeg decode to ignore warnings and try to create) ~! j! a$ }) ~) r
  1824. ; a gd image. The warning will then be displayed as notices' z2 k. c+ g% T$ ?. e$ B2 E% w5 o
  1825. ; disabled by default% C) S5 s, N$ [
  1826. ; http://php.net/gd.jpeg-ignore-warning
    / W9 s! n% s+ d( o
  1827. ;gd.jpeg_ignore_warning = 08 @- {, a7 }+ G# I4 A+ w0 L" ?5 y2 ^
  1828. 7 k: t% t+ n7 w. A1 V
  1829. [exif]& `+ I9 A4 n# l
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.* o7 p$ F. _3 e) R
  1831. ; With mbstring support this will automatically be converted into the encoding1 T. A4 h6 g; P7 u
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    3 S$ t& `2 c4 w/ k6 d# T5 t
  1833. ; is used. For the decode settings you can distinguish between motorola and) ^" |# a! o& E1 |) v
  1834. ; intel byte order. A decode setting cannot be empty.6 C7 p/ ?* ]4 F4 {3 I: V
  1835. ; http://php.net/exif.encode-unicode
    5 h2 `; q! `, R6 u$ R
  1836. ;exif.encode_unicode = ISO-8859-15- Y' G! M2 S, s, Q6 V

  1837. ) G+ D: L5 Z8 e% d
  1838. ; http://php.net/exif.decode-unicode-motorola/ h1 ^$ U3 s5 u
  1839. ;exif.decode_unicode_motorola = UCS-2BE. b2 Y1 A: V6 c! D- i. {) I6 I

  1840. 7 }7 n4 ~7 F9 B: d/ \" {1 V
  1841. ; http://php.net/exif.decode-unicode-intel
    1 N% r) g( P' ^/ ]8 T1 q4 }
  1842. ;exif.decode_unicode_intel    = UCS-2LE5 _- F$ a6 X/ c0 J* ~  l; V

  1843. , N5 Y9 A  f3 m* w' o
  1844. ; http://php.net/exif.encode-jis
    4 B1 c4 k& o7 n2 T. p. T( @: b
  1845. ;exif.encode_jis =
    : [. Y9 T; q) b, {+ O$ [+ E

  1846. . X$ x; k; i% ~4 M; C+ X& E
  1847. ; http://php.net/exif.decode-jis-motorola; b' j1 I- ?. j
  1848. ;exif.decode_jis_motorola = JIS# f) I4 B* l* J5 Y& V+ j, V$ Q" t

  1849. ( _3 H) o; |) z2 x
  1850. ; http://php.net/exif.decode-jis-intel
    5 S( v) \" T8 U5 z1 D7 q6 @& p
  1851. ;exif.decode_jis_intel    = JIS
    & |) T8 h% l/ g# U- t- _/ {

  1852. ! ]8 @) h  Q0 X  z
  1853. [Tidy]
    2 x* K1 k3 X# ]# W& N0 c' E
  1854. ; The path to a default tidy configuration file to use when using tidy
    ! {# E, J& {3 C) L9 e8 A6 U
  1855. ; http://php.net/tidy.default-config
    6 B2 k7 c3 V+ ?( S( n
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    - E4 k. v' M* {, z7 \' g! a
  1857. " H% C1 _) _5 U' \7 j8 e0 \
  1858. ; Should tidy clean and repair output automatically?
    + f1 I& k& v  d4 ?! |. F
  1859. ; WARNING: Do not use this option if you are generating non-html content
    % j# E; S; G/ {. Z$ O0 e
  1860. ; such as dynamic images
    % c6 N# d$ ]7 i- A9 Q
  1861. ; http://php.net/tidy.clean-output
    - a8 m2 x3 t8 l
  1862. tidy.clean_output = Off
    * ]/ [2 o' c! y: r9 e- h
  1863. * T& c# V( b9 e9 a
  1864. [soap]
    - K! C1 m: J; r: A# [; b
  1865. ; Enables or disables WSDL caching feature.
    6 H+ H1 l. G! H3 c( t6 J
  1866. ; http://php.net/soap.wsdl-cache-enabled& J/ E) a: r# A1 D9 K  n
  1867. soap.wsdl_cache_enabled=1' I; t; }' ~* ~1 I$ ?
  1868. 4 t6 c# e+ w- k6 x- E# [+ C/ D3 N8 `
  1869. ; Sets the directory name where SOAP extension will put cache files.0 Y) O# ]; J8 _
  1870. ; http://php.net/soap.wsdl-cache-dir
    & R3 `5 b6 w7 i* ~1 w& W
  1871. soap.wsdl_cache_dir="/tmp"
    $ V0 g  |4 H2 s: m6 {, |  ?
  1872. ' e" L2 }, ?- z2 J# ?. }* j$ K( V
  1873. ; (time to live) Sets the number of second while cached file will be used
    6 g' q- b3 A5 K$ O8 a: a! c( g
  1874. ; instead of original one.! k7 w: O* @+ M( A3 w. {# \
  1875. ; http://php.net/soap.wsdl-cache-ttl' e: s: z' H: t
  1876. soap.wsdl_cache_ttl=86400
    ' a: N3 L* S- M" H  k/ L. e( x3 S! j

  1877. 4 ]9 Y$ H: F1 \- {
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    , [8 K( y8 `8 u! N( i* J
  1879. soap.wsdl_cache_limit = 5
    ( ~' x; ^8 G2 V8 P0 s; {

  1880. # r8 c; n" W5 L( i* o  T* d/ O
  1881. [sysvshm]  G3 o8 F( A/ a  |7 f$ F
  1882. ; A default size of the shared memory segment
    5 Q" H+ t. X1 J1 W% u( \5 j
  1883. ;sysvshm.init_mem = 10000
    / R5 Q0 n  t7 f$ `# G& P7 [
  1884. * q  k: Y( p# }. E: P
  1885. [ldap]. K7 q4 i% k( g0 r7 L7 M6 G
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    & u; M$ ?* o( u0 y
  1887. ldap.max_links = -12 V1 T& t/ W5 P1 Q/ I

  1888. ; O/ Z+ V+ ?( Q& p: L$ k; X$ h6 S
  1889. [mcrypt]
    3 d) R9 R0 N+ c# B3 I+ U4 ~# i; V
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open0 U4 r5 k, C" Z5 w; R+ g: `& C1 H4 z7 a
  1891. : f& ?% F  c  x6 \7 X5 u
  1892. ; Directory where to load mcrypt algorithms8 \# D1 G  n' ]- I" M
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    / M& Z# J0 N$ S. i
  1894. ;mcrypt.algorithms_dir=* E  g/ I1 @1 k" F9 ?/ ~. N

  1895. ; l$ B- s1 T0 T. a" _5 m5 p
  1896. ; Directory where to load mcrypt modes
    1 g4 z5 b4 s1 [* F% I
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)9 q6 @+ a  ]" K3 P; g$ t
  1898. ;mcrypt.modes_dir=
    6 s4 E- W# a- F: Q% |- H' U

  1899. 4 Z" J" }# i% S: [+ f- G: |
  1900. [dba]
    : O. L, A2 s5 ]* H+ \$ n
  1901. ;dba.default_handler=1 @9 ^9 Z5 i0 J& s) U

  1902. , W7 F3 I; o9 _1 l8 V
  1903. [opcache], p4 N8 q/ B3 @+ ?( |1 Q& ^
  1904. ; Determines if Zend OPCache is enabled$ F3 b: k& N: u: R( Z0 ~& e. P
  1905. ;opcache.enable=07 u- \# _2 |% M4 c8 x, _
  1906. ) w, }$ o  I9 D/ Y  T4 \
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP5 R% v8 T* F6 o9 u
  1908. ;opcache.enable_cli=0
    0 D9 y1 h: |7 J. w; K" r6 T4 d
  1909. 7 l  N1 D1 A! ]/ ], ?# z' t2 ?
  1910. ; The OPcache shared memory storage size.
    * _0 Q$ N* I, s; ~$ ~
  1911. ;opcache.memory_consumption=64: c( o+ k! B$ ]' [) Z
  1912. * d6 R1 j3 B& U% `: l  e
  1913. ; The amount of memory for interned strings in Mbytes.
    : N6 a0 [/ I; j% X/ {
  1914. ;opcache.interned_strings_buffer=4
    : z2 i9 b5 V. O. S! [

  1915. ; F  B) G) }: p  }8 m
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    4 J8 [: [. h9 e8 N5 x1 n6 Y
  1917. ; Only numbers between 200 and 100000 are allowed.
    4 s0 m: _; h5 o/ K# ~
  1918. ;opcache.max_accelerated_files=20007 ~. Y' ?; L3 w% \. g# y& y

  1919. % |, c0 [! m' `, n/ c) ~
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    % l& C& n3 @% z' D. y8 ]; b' O& ~. n( W
  1921. ;opcache.max_wasted_percentage=5
    0 h  z( ~, F% ]3 M
  1922. , g/ `. A- u  }. {" t2 a
  1923. ; When this directive is enabled, the OPcache appends the current working6 P# u$ t7 L8 Y
  1924. ; directory to the script key, thus eliminating possible collisions between3 S  n$ |, c- D$ G& a& P
  1925. ; files with the same name (basename). Disabling the directive improves
    ' q. n+ D( D1 D) B% y
  1926. ; performance, but may break existing applications.
    6 \: Q# N/ @+ i" u( p% M
  1927. ;opcache.use_cwd=1
    - g9 P. ?' e. W8 }; E% D; ~! z

  1928. ( @4 b9 O4 i2 e9 C: M
  1929. ; When disabled, you must reset the OPcache manually or restart the
    2 Z  j6 e/ J+ }' d& s; o
  1930. ; webserver for changes to the filesystem to take effect.! M1 I; T" k4 f
  1931. ;opcache.validate_timestamps=1
    / M* C, ~) O6 {- x+ W

  1932. / W& y! I  P. k# M3 C
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    $ \7 R$ \3 S) t; x) Q# L0 ?
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    0 n' S0 s1 X  \2 X. P
  1935. ; once per request. "0" means always validate)
    1 u- W" D9 P% t# o
  1936. ;opcache.revalidate_freq=2
      U6 i; ^# x+ M% ?) z- q

  1937. & Q4 G0 n2 N! ~; g* }+ T
  1938. ; Enables or disables file search in include_path optimization" E1 j, {# y! ]3 J. Y& p) ]
  1939. ;opcache.revalidate_path=0( G" N1 F4 U# }. X# K- [2 c8 R3 ]

  1940. ) G- I7 _$ |- h& ^% l1 _
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the' U2 w7 S  H3 }' F/ W
  1942. ; size of the optimized code.% M6 m3 ]7 ^5 r* f! f2 n
  1943. ;opcache.save_comments=1& ?1 L; u% ^% X4 f) M, v
  1944. / G# @5 Y6 K/ X, O+ S
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"# T. _9 }, N2 s
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    # ^) Y% E# Q8 X+ @' d* V1 k
  1947. ; that don't need them anyway.
    / m% F* e- i2 ]; y' n6 s
  1948. ;opcache.load_comments=1
    - W: j) l+ X, n1 K( W

  1949. ' W& l6 R4 I# w4 T1 _
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    ' {+ D+ S& {0 g% ^$ q
  1951. ;opcache.fast_shutdown=0, l$ c! l' t( q, A; V
  1952. + r0 D8 \/ I2 t9 p5 @
  1953. ; Allow file existence override (file_exists, etc.) performance feature.! J. _: l2 t+ B) u
  1954. ;opcache.enable_file_override=05 U1 c  l+ e7 Z( o
  1955. 4 J/ R& g& g6 A& [
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache: o; a% ~/ D& V4 P
  1957. ; passes
    ; i' p9 F% {( L0 d" J
  1958. ;opcache.optimization_level=0xffffffff; F0 d+ F( c2 ]8 y
  1959. " t, ^* k2 G- L- N! C7 J. f' I) h- h
  1960. ;opcache.inherited_hack=1
    $ `; u( u. _4 D% W
  1961. ;opcache.dups_fix=0
    + p% M. ^5 F! G! |- V

  1962. . c* U1 ]* h0 O7 O: S. ~
  1963. ; The location of the OPcache blacklist file (wildcards allowed).9 }! q- s5 P+ J) _5 X
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    & z$ R2 H$ K* T5 n( S: M
  1965. ; that should not be accelerated. The file format is to add each filename
    % ^5 @; B2 o1 A! a
  1966. ; to a new line. The filename may be a full path or just a file prefix3 T3 c' T9 e" v$ A7 n  F
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www; X# |# D* S  T" [
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).8 O% v) f( _) ?2 Q
  1969. ;opcache.blacklist_filename=! A& _1 S& K7 \
  1970. ) e2 I2 h) @. G2 ^+ F; w7 g
  1971. ; Allows exclusion of large files from being cached. By default all files
    9 s9 C! h7 P3 x# [
  1972. ; are cached.9 ^2 Z$ [; f8 j/ j$ G
  1973. ;opcache.max_file_size=0  B2 {" P5 K+ v3 a4 ~  C9 J+ R
  1974. 1 l8 h% J# w+ o, i- `% |  c
  1975. ; Check the cache checksum each N requests.' w+ j7 ]) }5 p) x2 I- Y
  1976. ; The default value of "0" means that the checks are disabled.  A1 h! `* E8 j9 o) V$ q
  1977. ;opcache.consistency_checks=06 b- F6 ?4 t: [3 k$ @. u/ o6 J$ u0 q

  1978. $ V! j7 `: b, ^5 O5 H  f9 M
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache* s7 |' U1 X3 V; ~. i$ m
  1980. ; is not being accessed.
    6 Z  m1 I9 q0 K7 l' y
  1981. ;opcache.force_restart_timeout=180
    5 ~$ ~5 h6 a! d4 ]% l# y
  1982. , ~+ j2 Y# d2 j" Q
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    ) A# [! e' n$ q1 Q* e7 g
  1984. ;opcache.error_log=
    ) Y6 u& }4 e6 F- r1 T/ Y) o
  1985. # J# r/ d2 p+ N1 @4 s- o9 N) y
  1986. ; All OPcache errors go to the Web server log.
    * {, t8 B4 s$ q
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.8 C" I' M1 f- l  W4 n2 C5 `
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    + A% S, d% M6 Z) T
  1989. ; debug messages (level 4).
    ! V) y+ ]; H5 [2 W9 i
  1990. ;opcache.log_verbosity_level=13 O7 {9 f9 L% L( H

  1991. 1 v& C0 T1 R' d' c0 a! a6 x( S
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide., ~8 [0 {/ {. u! U- ?8 W7 r
  1993. ;opcache.preferred_memory_model=
    " O! n/ k& D- k  _

  1994. ( x, V2 U3 [, `* i7 f$ z3 r
  1995. ; Protect the shared memory from unexpected writing during script execution.
    7 L5 K, D0 p$ L; r# O
  1996. ; Useful for internal debugging only.
    + |& ?8 {! s+ |0 g/ ?1 [, a
  1997. ;opcache.protect_memory=0  |! z0 j% w$ ^8 J

  1998. + O; f- v) [( x3 N
  1999. ; Validate cached file permissions.
    # Z% F' Y2 m8 ^! u% F4 v2 X
  2000. ; opcache.validate_permission=0% n5 {4 o2 s  }- y/ H3 u: \7 @
  2001.   e5 ^/ _3 h. {) D9 d. w6 x
  2002. ; Prevent name collisions in chroot'ed environment.( r5 D/ I7 H: `% Y* Z. B
  2003. ; opcache.validate_root=0
    ' [6 J) Y2 i9 N  T+ L
  2004. / j& q" {% C% v9 E* M* L
  2005. [curl]
    7 B# F7 x# ?  G3 D5 S
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an6 W, D9 l  z' u6 |4 y
  2007. ; absolute path.
    ; F  r+ x8 p3 @( f  E! \  G
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt& u: a* v$ c% v, w; N4 [

  2009. 0 W) f+ Y# H0 A/ v  u/ e
  2010. [openssl]' [3 T3 k9 }2 k0 T# V' Q
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem% j5 @& b$ o% X) {/ W
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    - T$ ^; @9 ~+ s  x
  2013. ; not specify a value for this directive as PHP will attempt to use the
    5 @3 l) T5 L$ X, z0 i
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    0 N6 d; c# N- N
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context5 J6 D- L" i7 X% W: k
  2016. ; option.
    6 K* Y% S  {. c4 [" r- K: B
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    2 v! H5 s; B8 K( ?3 t

  2018. $ U; X: c; K1 Y' V6 x
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    ) w% L. O' Z0 g, @* C
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    5 \5 K) {7 z7 W! d# ^/ [' N  x
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    ) y) x0 Q7 e0 Y3 K+ k# b
  2022. ; Most users should not specify a value for this directive as PHP will! `6 t, l# S5 M
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,; `) ^/ l% r3 Q  L6 @
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    ' J' Y. \4 X. M" e% j1 c9 f/ t
  2025. ; SSL stream context option.7 n7 v& ?0 `6 s* I- r5 t  Q
  2026. ;openssl.capath=
    : k- k) X$ V1 R+ N1 \% u

  2027. 4 O! f& |$ J& u* ^; b3 B3 R6 {8 W
  2028. ; Local Variables:
    - |6 B" W' G& F/ y+ ~4 K+ Y6 c: {
  2029. ; tab-width: 41 s& x, ?  s& C- A1 i) l
  2030. ; End:
    , a' \# F' B* J! Y: c
  2031. ' B- j1 C5 O" H  G  V
  2032. ;eaccelerator
    1 @% Z# ^% ?8 z. I/ P  u

  2033. 0 I: [8 s1 T; }5 R
  2034. ;ionCube
    * L2 Y. G7 E: t

  2035. ; G( P2 t$ @- u/ y0 t2 C! K
  2036. ;opcache
    + }" y1 `7 A. H3 ~% n

  2037. 0 Q' [7 B5 H; [2 N* A
  2038. [Zend ZendGuard Loader]
    8 ]6 I4 ]9 P. R. w- I* q; [) m, s; {
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so( K1 T3 V8 s6 E6 ?1 a; I9 w7 Y
  2040. zend_loader.enable=1& U; T8 C' A3 E& S
  2041. zend_loader.disable_licensing=01 O0 Y9 M5 T; F; `  B: E
  2042. zend_loader.obfuscation_level_support=3
    / Q2 Y2 v2 _2 I6 [; T& q6 r
  2043. zend_loader.license_path=
    7 W2 c0 r7 v4 a+ q3 ^6 H
  2044. + Q) w, o; _* x1 n" X
  2045. ;xcache
    8 v0 w2 t$ g6 Y6 C& u

  2046. 3 Z/ m7 Y2 g5 s; t
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
/ ~( y/ G/ Y1 a& E3 G. g2 [9 C
5 _  O: y2 ~! N& ]; W
& [/ a+ Z# m! P, J. bDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,* x" `% X- i0 K$ j% J) n
2 }4 m- \- R* Y- o( s! q6 R
Discuz!程序版本选择:6 _; I+ i! J: ]8 u9 ?! I
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见," c" {+ T/ o1 t& {& Y) I+ t
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:' L+ f% @- j4 _" C% W7 W
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。
4 @! T/ K3 E2 K% ?  f) @3 a8 q/ y+ S0 a* [9 z3 M; d/ ]% V6 l
Discuz!插件模板版本选择:
9 `" F, X  Y4 o, K5 V很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
* M; B, }9 H% I! U9 ?% a针对这个问题做个统一的普及:- {! u( b$ ^8 A8 \
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
7 ]! y! |# b3 Q2 L$ G8 m
& v' L9 F( b! k: a所以* }* ?& [1 A2 L; W
适合Discuz!X3、X3.1版本的DZ插件、DZ模板是适合并兼容 Discuz!X3.2站点使用的,请站长放心安装使用。但适用于X3.2版本的应用90%以上是不兼容Discuz! X3.4和php 7.x的,请格外注意!!!
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-12-2 01:25:25 | 显示全部楼层
添加网站的时候一定要添加两个站点,一个是主域名,一个是www的二级域名。* k; \$ O  J$ d, o' q+ w
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
, \6 \6 p" y! h8 J" Y+ o注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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