分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.01 A( T8 j( x* S/ N( v7 D

4 K  M8 x5 W0 s7 m+ ^0 Z) S
  1. [PHP]
    9 [2 @) }1 E6 _6 F5 u5 Z

  2. " Z' {) n$ @! C/ o* H' Z3 f
  3. ;;;;;;;;;;;;;;;;;;;2 ?, B' L: c/ u" L" F( N0 ]
  4. ; About php.ini   ;
    $ v% F+ S" S0 }( k1 x" ~
  5. ;;;;;;;;;;;;;;;;;;;9 A% ^( u! R# J6 R4 J3 i
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    7 O, j' b) J- G) B
  7. ; configuring many of the aspects of PHP's behavior.4 v0 P" t& z, {, M
  8. 8 b3 \& j( r9 _0 D: y
  9. ; PHP attempts to find and load this configuration from a number of locations.
    5 l' d" k/ F0 Y
  10. ; The following is a summary of its search order:, P5 W" c7 {, s  Y/ D( s8 \
  11. ; 1. SAPI module specific location." R5 F+ z5 J- W! ^, a6 |
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)9 W1 ~6 q& ?% f2 Y9 m
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)* @& Z6 c. e- t0 x. p' I
  14. ; 4. Current working directory (except CLI)
    : X9 Q* T* ~$ O- {0 ^& r) l" Z
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP1 q. H- c" d! ?, S+ R0 C
  16. ; (otherwise in Windows)
    % a! s% V& m4 i! {) ?
  17. ; 6. The directory from the --with-config-file-path compile time option, or the, x# C1 _: f( j: b
  18. ; Windows directory (C:\windows or C:\winnt)
    * C2 \- B  J5 D
  19. ; See the PHP docs for more specific information.
    ) E( w1 D. T8 L/ t' d
  20. ; http://php.net/configuration.file# o( \5 S+ F! _* Z* n: \# \7 R. {

  21. ; y  }9 G" V( H, i+ W
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    ; F4 d# M1 d+ Y9 b7 Q! S5 H
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    4 x7 }: N0 ~/ \; p& b
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though4 @8 ^! `) h& ^) e2 R9 F. Q7 g
  25. ; they might mean something in the future.2 R8 X, ^' d- Y0 o

  26. 3 O# p, P6 o: G0 P7 v; A$ |
  27. ; Directives following the section heading [PATH=/www/mysite] only- k) [. r2 J2 ~4 s/ b% C5 ?
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    # \# c9 _0 d8 B  k* c
  29. ; following the section heading [HOST=www.example.com] only apply to; X' w7 [% ?) C0 C2 N6 O( z; l5 T
  30. ; PHP files served from www.example.com.  Directives set in these9 N# ?( Q7 L" I7 h# W! w
  31. ; special sections cannot be overridden by user-defined INI files or
    ' l! F. U& X% N9 H# |$ L
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    ; W% K0 T6 v/ |/ U7 `2 U
  33. ; CGI/FastCGI.- R, r7 `: X$ S3 a& I
  34. ; http://php.net/ini.sections
    8 }7 T. }; q# h$ s* I9 r

  35.   Y1 k& J- e/ C1 }, }: Y( |8 M8 N
  36. ; Directives are specified using the following syntax:
    - O: E% L. L" C8 Z- G
  37. ; directive = value
    0 X, B- l& J# G. k
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.; ?. k0 _  Z/ A7 |) S& ?
  39. ; Directives are variables used to configure PHP or PHP extensions.
    . R5 o0 w' z  w7 u1 o
  40. ; There is no name validation.  If PHP can't find an expected" ]  v$ x. C+ n5 L3 H& |' _- ~
  41. ; directive because it is not set or is mistyped, a default value will be used.
    3 c+ S- @/ S! ^- f3 b/ r1 e0 t
  42. 3 \" H# T; q# Z' i
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    2 k. m  f. v3 g' Q  k. a
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    1 Y* z- q3 o7 [' T3 K) y
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a8 E3 v0 E1 h- E  X- a- M3 w6 i
  46. ; previously set variable or directive (e.g. ${foo})
    ; \! ]) F/ a+ R2 O% Z9 a

  47. 7 t& W& z! N, B' y0 u; E, R
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:1 s4 ]+ A9 ?5 f2 U3 B: s
  49. ; |  bitwise OR2 b" S6 r( L( f& m
  50. ; ^  bitwise XOR% [  i8 X+ U  M2 l
  51. ; &  bitwise AND: ?- M# `! |. U4 `
  52. ; ~  bitwise NOT
    ! i/ ]  u% A3 G
  53. ; !  boolean NOT
    2 O  f3 A& S4 [* {( t* @

  54. , z3 g9 d" z) x4 @9 f' Q4 a1 A
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    * D8 O& E+ L6 ^; b, T/ Q& Y& ?
  56. ; They can be turned off using the values 0, Off, False or No./ R9 U, s, J2 B: i7 p" C
  57. : P( P( ^1 F6 Z. K# c0 `* M
  58. ; An empty string can be denoted by simply not writing anything after the equal
    2 a7 t' L8 m: `9 H! E4 G
  59. ; sign, or by using the None keyword:
    0 b- ]% r, T9 g6 p2 A2 \& O9 j- A) P
  60. $ F7 S  z; e2 Y. J
  61. ;  foo =         ; sets foo to an empty string9 l9 D  m: G: F5 M- z& q! d
  62. ;  foo = None    ; sets foo to an empty string
    3 h; k0 D  y  |) J8 O
  63. ;  foo = "None"  ; sets foo to the string 'None'! M: s9 r# }5 [7 p$ m' }& A: k1 `

  64. * I6 i+ a" j  _- z9 p2 t- I# a0 g
  65. ; If you use constants in your value, and these constants belong to a# U3 P6 t7 W8 _
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),0 z/ Y+ U, b; ]# ~8 Q" K/ i
  67. ; you may only use these constants *after* the line that loads the extension.0 d. ?- s9 J7 O

  68. * s1 O. g% C' H7 g
  69. ;;;;;;;;;;;;;;;;;;;' T* V2 c' d8 q5 C* U
  70. ; About this file ;) R" W6 w( O9 o+ o
  71. ;;;;;;;;;;;;;;;;;;;+ P4 K& P9 m) f
  72. ; PHP comes packaged with two INI files. One that is recommended to be used) f# L; x/ z$ Y- I
  73. ; in production environments and one that is recommended to be used in
    3 d; [% `' c9 M
  74. ; development environments.
    # q# H5 `& }  F' f9 F

  75. 5 R/ [" @$ {5 D% N
  76. ; php.ini-production contains settings which hold security, performance and
    2 N9 o1 j' P6 u9 S* Q
  77. ; best practices at its core. But please be aware, these settings may break9 K& B% w. j9 B% C9 W. ]
  78. ; compatibility with older or less security conscience applications. We
    ' B1 ~) n/ [/ V* F
  79. ; recommending using the production ini in production and testing environments.# ^% @# q  m# G% \8 b0 V8 F% V
  80. , [3 h2 n  \* S& r
  81. ; php.ini-development is very similar to its production variant, except it is2 x( w6 D! u1 ]' D2 Q! f
  82. ; much more verbose when it comes to errors. We recommend using the5 ^  F; d8 o. e  L" B1 l
  83. ; development version only in development environments, as errors shown to% ?! P4 f3 A8 i9 x4 t
  84. ; application users can inadvertently leak otherwise secure information.
    ! t/ V/ H4 a* X- ]3 L* J

  85. 4 \9 n+ J# I, b, H# U' Y
  86. ; This is php.ini-production INI file.
    $ b8 k5 \) U1 I$ L# `
  87.   X1 I" a* U& V0 K
  88. ;;;;;;;;;;;;;;;;;;;
    7 P4 j' P8 I+ y& j
  89. ; Quick Reference ;1 D& j" d0 L4 u* {4 i, [
  90. ;;;;;;;;;;;;;;;;;;;" G& m; Z2 f) m
  91. ; The following are all the settings which are different in either the production
    " Y/ S/ Y) @8 v# z8 {$ {3 Y: a
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    7 O1 f6 F0 O6 i9 h! [
  93. ; Please see the actual settings later in the document for more details as to why) ]: s1 S. T9 |, M0 Z: M: _
  94. ; we recommend these changes in PHP's behavior.( G: R$ x4 g  c/ j- l* `+ j

  95. # w- p2 w7 C, }. N; K$ z$ z( Q* m
  96. ; display_errors# b6 I0 g2 f' r6 u& S
  97. ;   Default Value: On
    % I4 D9 Z) m; c/ K, Y/ d0 R
  98. ;   Development Value: On0 s6 h0 @6 |3 ?2 D* l4 e; ]
  99. ;   Production Value: Off. ]- `" J" q# I( K3 J
  100. 0 p$ T8 \1 H% }/ s
  101. ; display_startup_errors
    3 Q1 u: s) o- x1 \7 P' r6 L
  102. ;   Default Value: Off
    4 i0 P( Z. s" j, a' ?% n- V" i
  103. ;   Development Value: On
    0 Q9 c1 ?8 m) h- }2 t! V
  104. ;   Production Value: Off
    . _% _. K+ h8 p8 ?$ Q- g

  105. & H- I* M6 u+ j' b  V
  106. ; error_reporting
    $ {! t' ^9 O+ O( k/ o" a
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED  {8 Q% X* O( @
  108. ;   Development Value: E_ALL
    ; H3 S+ o% W9 J/ y/ A
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    + R- m) g+ V/ C+ \4 n' h+ b; e
  110. 6 }9 @% o) f  P3 F! N) {
  111. ; html_errors
    6 L2 @+ O2 y( k( ?( {! x& z
  112. ;   Default Value: On% Y# T& I* g2 l1 H5 M7 I
  113. ;   Development Value: On
    1 q% n6 o; J( L$ y: ]/ f2 e
  114. ;   Production value: On
    2 }( K4 F0 S' [# }( z

  115. ( a$ ?2 ~" @3 ^4 H3 ~# J0 m& F' X0 R
  116. ; log_errors& s/ |7 h, B& |6 A# A) p5 Z, n2 n
  117. ;   Default Value: Off
    & s; I9 ?. @# A1 v: O" A
  118. ;   Development Value: On: e. N5 m* v- A: ^7 e
  119. ;   Production Value: On
    $ F/ W5 w" h9 a# q# {3 v- i% y
  120. + _& }. j0 \7 q0 s3 ~, G
  121. ; max_input_time
    & Q! W6 o; p* D* L5 u9 \
  122. ;   Default Value: -1 (Unlimited)
    5 h: W) ?- v) Y- @  f4 o$ Y2 R+ m
  123. ;   Development Value: 60 (60 seconds)
    8 m' [$ E( {$ `2 p* t
  124. ;   Production Value: 60 (60 seconds)
    ; q$ P' g+ D7 m" I  b  {
  125. , P* H$ _: z1 ^6 ^5 o+ N6 v
  126. ; output_buffering
    # N5 f% {8 t, X5 X! y! v
  127. ;   Default Value: Off) O8 s( [/ Y  {. P
  128. ;   Development Value: 4096
    0 q6 X; }/ Q/ u6 R1 q( }
  129. ;   Production Value: 4096+ ^6 t. g" [$ Y/ ]

  130. & |& x- f6 E+ w% I, ]
  131. ; register_argc_argv
    7 |6 O. _1 b4 G$ T7 w" u7 y' ?. P1 U
  132. ;   Default Value: On
    & e  n4 p1 X* y- B3 J
  133. ;   Development Value: Off
    : V: i8 f8 q3 O3 B* M% t1 M, Y
  134. ;   Production Value: Off0 b# f* p3 C3 [) d( f5 S" l1 a4 D( n* \
  135. - u8 Y( n: L6 L' }9 {$ A) h  V
  136. ; request_order" H3 e9 \" ^, K# b2 `
  137. ;   Default Value: None
    - L9 K! _. {7 |8 }
  138. ;   Development Value: "GP"* n0 V# v7 I' {5 T+ L3 T
  139. ;   Production Value: "GP"
    , i9 t% ~$ j# H4 @% q- e( P) _
  140. ! C1 ]0 z* K& K6 g! R8 K9 E& X
  141. ; session.gc_divisor' U7 T8 u; A$ u. u& ?- j
  142. ;   Default Value: 100" ^6 C  X4 p6 K) ~& e
  143. ;   Development Value: 1000
    " f+ h. x. L+ d3 L  N
  144. ;   Production Value: 1000
    / Z8 c- T+ x$ n( h; k

  145. . B, e4 S. m" W/ C" ?
  146. ; session.hash_bits_per_character/ I! P; e! m6 \' |+ N& a
  147. ;   Default Value: 4
    # p& V; |$ ?& B
  148. ;   Development Value: 54 C) D2 ?$ u" Y- h6 z8 ]. p
  149. ;   Production Value: 5# J) S! |# s  K6 U. q% _& S
  150. 9 }6 K$ `; e. S  @
  151. ; short_open_tag
    5 c  p8 s- Q5 h/ _8 x& C
  152. ;   Default Value: On+ G& t6 }! R2 b6 H9 g/ }( t9 N
  153. ;   Development Value: Off
    ) s% W: k& U5 q: s7 D
  154. ;   Production Value: Off
    7 [+ Q6 y* e5 y/ z/ I* Z# q
  155. " f. i) R8 i" |! O  X+ o  _9 c2 C
  156. ; track_errors
    ! x$ t  u3 z/ ?
  157. ;   Default Value: Off6 Y4 I: E/ Y6 m
  158. ;   Development Value: On; o0 Q# c6 U( k8 D/ `
  159. ;   Production Value: Off
    # c. \* Q9 Q- l; I( y  J+ T" w4 j

  160. ' h- r( k1 v8 P( \. z
  161. ; url_rewriter.tags2 X# U- Q( \" A
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="3 Q0 s4 K, ?2 i6 Z; Z* r6 g. z
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"& i& ]+ u: {* X0 }1 x
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"5 N8 v$ Q. L! Z$ P( m2 B' ^! q' P4 @' H
  165. 6 y! G: u5 {; R! \6 B
  166. ; variables_order
    4 e6 O2 r/ C5 Z- I, G  e
  167. ;   Default Value: "EGPCS"
    9 i1 X: h; K( x
  168. ;   Development Value: "GPCS"( {& V) P: A5 [. e
  169. ;   Production Value: "GPCS"8 B; J( N+ V9 g

  170. ; [  S4 \, i% k9 }
  171. ;;;;;;;;;;;;;;;;;;;;- J3 g+ O4 m& |1 S) L) `0 M- Y, z9 ^
  172. ; php.ini Options  ;- p/ m/ h/ t+ v8 t. [, H+ n4 O
  173. ;;;;;;;;;;;;;;;;;;;;2 x2 `% _8 Y% ?; x3 k8 G$ L! w. Z
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
      ?: M" e; j$ g
  175. ;user_ini.filename = ".user.ini"( w6 V' ^5 V0 }6 z( G: k

  176. * z$ d4 ^0 M2 V* l
  177. ; To disable this feature set this option to empty value$ m, d% Y# V0 L4 I+ s0 r; ^6 `
  178. ;user_ini.filename =
    2 y# e/ N  p7 m

  179. ; r8 W. Q/ ~3 g  y9 r1 t6 ^3 h/ A6 [- M
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    8 A8 i) u* w) B  n2 A
  181. ;user_ini.cache_ttl = 300
    : o9 W' c: J# \0 }& O9 t2 u' p) w% L

  182. " e9 `! q0 K& v! D
  183. ;;;;;;;;;;;;;;;;;;;;/ b3 H/ ~- d- I7 Q
  184. ; Language Options ;
    : t. s# m+ k' J9 Y
  185. ;;;;;;;;;;;;;;;;;;;;9 A# p0 }# G. b! P1 k

  186. + @0 y, Y$ E  L
  187. ; Enable the PHP scripting language engine under Apache.: b; r2 J6 ~& C& Y. R2 q
  188. ; http://php.net/engine
    ; M0 S7 a2 ~7 q' ?4 [4 n4 Y; I8 e
  189. engine = On
    * [+ I2 ?; u4 i- J

  190. 9 C: `* l% x) }( ]3 X
  191. ; This directive determines whether or not PHP will recognize code between
    3 ~" D2 M# c5 G+ d) i4 L* B
  192. ; <? and ?> tags as PHP source which should be processed as such. It is+ `: l) t9 O* y! B& I& e* |2 g$ t( c
  193. ; generally recommended that <?php and ?> should be used and that this feature
    - V( Y! L- g) z1 X" h# L
  194. ; should be disabled, as enabling it may result in issues when generating XML
    0 v+ n+ t6 e4 F8 f& [$ i
  195. ; documents, however this remains supported for backward compatibility reasons./ s9 Z' h8 X1 W8 U! g( m
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    ( S( c7 F3 }, u0 m# r1 f/ B, `
  197. ; used regardless of this directive.
    * d+ k9 [: _% w* v& S1 |, w
  198. ; Default Value: On, R5 ]' C3 L( |% S7 s
  199. ; Development Value: Off
    2 `0 A  A5 t* M% y* b/ ^4 h
  200. ; Production Value: Off
    7 u* e6 J5 T- d' b9 n
  201. ; http://php.net/short-open-tag% m% H" m+ t% l. b
  202. short_open_tag = On( c% B' w  s9 ]3 L' g" \

  203. 4 x& G  Z. G* T2 Z
  204. ; The number of significant digits displayed in floating point numbers.4 N% V, Q3 `9 V
  205. ; http://php.net/precision5 s6 O. _4 }, ]9 V) k+ Y
  206. precision = 149 Y9 D3 g/ E9 `& d; i- I' ~% u
  207. * r9 J% s. b8 o) \; ^; [
  208. ; Output buffering is a mechanism for controlling how much output data: A4 `' V# j+ ~; V7 y) \) q
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that- c/ s  n$ a. Y' y$ a4 T) s, l; i( ?  U
  210. ; data to the client. If your application's output exceeds this setting, PHP1 f0 m9 B  J% R% c" E
  211. ; will send that data in chunks of roughly the size you specify./ b! h3 L" c! e
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    7 R, U1 f0 \4 {' w
  213. ; interesting side-effects depending on your application and web server.
    + R8 U) P" g7 m! H+ c; H
  214. ; You may be able to send headers and cookies after you've already sent output
    2 b5 q, D- [8 S
  215. ; through print or echo. You also may see performance benefits if your server is
    . J6 B* ?, G4 p' T- }
  216. ; emitting less packets due to buffered output versus PHP streaming the output! X. N8 R8 C! a& J/ u
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    : c( ]/ Z% c# h# c; c- L2 P
  218. ; reasons.4 t% L$ V1 O4 `) r# V- _# C
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    0 @6 K$ C2 {( `! n! q, y; z
  220. ;   functions., S0 o+ W9 f4 Y  y, _. L
  221. ; Possible Values:
    $ u4 N1 j9 e" Z  x. c& O6 v$ y3 Z2 H
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)7 |/ H) `' D- m6 R
  223. ;   Off = Disabled: B8 t  u; I0 M6 }  a
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    ' l4 U9 f: b% ^) d" x# ]6 ]( L
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    5 R! u2 C% i$ k. R1 ^
  226. ; Default Value: Off! ^3 M7 }3 m3 j
  227. ; Development Value: 4096
    " q, |7 Y! Q9 \7 n. {
  228. ; Production Value: 4096- i# U% k3 W! r4 L) `& P" W* l  |
  229. ; http://php.net/output-buffering
    ! w7 w$ w! L# O$ Z- u* l
  230. output_buffering = 4096$ @3 {9 c2 [  j2 b' |

  231. 9 @( m3 S% u3 H7 w! ]3 u5 V* t
  232. ; You can redirect all of the output of your scripts to a function.  For3 @6 u4 M% L0 x& V9 ]1 E
  233. ; example, if you set output_handler to "mb_output_handler", character2 l% q& a; k+ N9 G9 T& O) N4 R, k/ L" ?
  234. ; encoding will be transparently converted to the specified encoding.* S/ S/ z( D9 T9 s) M6 o% n
  235. ; Setting any output handler automatically turns on output buffering.3 ~2 E5 {0 G1 }
  236. ; Note: People who wrote portable scripts should not depend on this ini5 p4 _2 a  t; K, D# S& [
  237. ;   directive. Instead, explicitly set the output handler using ob_start().8 J9 E) Z4 w# Q) E
  238. ;   Using this ini directive may cause problems unless you know what script
    / _  Z7 j. R; V( {5 h4 G
  239. ;   is doing.6 z" p/ t% T9 p+ c* m
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler". r" p. p* k8 E/ v3 s: y- |
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".7 A6 [0 M* k5 H5 z% z6 b4 B! }
  242. ; Note: output_handler must be empty if this is set 'On' !!!!# x) b' ]. F; J  p# W# `7 d- b( Y
  243. ;   Instead you must use zlib.output_handler.
      D3 v# @/ ]+ _& [/ L/ V
  244. ; http://php.net/output-handler$ o" H. C4 t  i  o8 L3 h4 ]. L/ G; X
  245. ;output_handler =
    + e$ Y1 M2 w9 F' v; H& U

  246. 8 G5 o" D& O& p& l) g( y
  247. ; Transparent output compression using the zlib library3 d# A, O$ V9 A% ^) G
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    $ s- d! _/ R8 h* F3 P
  249. ; to be used for compression (default is 4KB)
    % D& l4 y0 e3 z/ `! x* N
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    & F' D- ?) M$ x) G' Q( g
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    " e: N/ g; O! L& D+ ?
  252. ;   compression. If you prefer a larger chunk size for better* y8 N# ]; q$ [* a: n7 u
  253. ;   performance, enable output_buffering in addition.( G3 w& X9 Y- ^  f( F" q
  254. ; Note: You need to use zlib.output_handler instead of the standard
    : a$ u1 d: n$ ~  n* S* {; o& `
  255. ;   output_handler, or otherwise the output will be corrupted.
    % R/ t% t$ d) x
  256. ; http://php.net/zlib.output-compression
    ) O( S) J3 Q: o0 p9 G/ b
  257. zlib.output_compression = Off
    * V8 r- d. A9 L( a! q6 k: S

  258. 6 \7 C  K: ~  G6 a7 A) N0 u9 H# i# x
  259. ; http://php.net/zlib.output-compression-level: B: t  E8 O. u& a# S
  260. ;zlib.output_compression_level = -1: J# f# l9 V$ {' U" z1 `
  261. + U, a6 ?: {- d/ h4 Y* V( C$ K5 ^, h& D1 h5 o
  262. ; You cannot specify additional output handlers if zlib.output_compression5 Y6 E2 L5 q7 r% ]1 U! H
  263. ; is activated here. This setting does the same as output_handler but in# c1 J- b9 d# M" b
  264. ; a different order.4 e7 c  F2 f3 r9 H
  265. ; http://php.net/zlib.output-handler; M! g7 q" x# h4 Z' G. d& X7 ~
  266. ;zlib.output_handler =
    " ]  U6 x% t! x3 q! U

  267. : [. Z! E9 f* L9 b$ e
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    % J+ r' X2 R$ s+ Z- y( ]
  269. ; automatically after every output block.  This is equivalent to calling the( Y( V# W+ }& L/ I! d
  270. ; PHP function flush() after each and every call to print() or echo() and each
      _6 G- X/ {  I, r  @' Q' e
  271. ; and every HTML block.  Turning this option on has serious performance
    % K8 I/ P5 L% h- @
  272. ; implications and is generally recommended for debugging purposes only./ ]# O& |; s7 R; q. t9 D
  273. ; http://php.net/implicit-flush
    0 E, Q* _9 ?0 R( l) Z
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    * O( [' ?* v3 Z
  275. implicit_flush = Off
    2 |$ y3 k! f# M: u# I" I

  276. 6 S8 w. H' Y, z+ ?% M' b
  277. ; The unserialize callback function will be called (with the undefined class'1 N! P0 |. S7 [, `4 U9 l) [
  278. ; name as parameter), if the unserializer finds an undefined class0 o) I2 H7 o# Y" O: V
  279. ; which should be instantiated. A warning appears if the specified function is$ X" y. R6 z3 n" M
  280. ; not defined, or if the function doesn't include/implement the missing class.
    ' R$ i$ }' Z! E! l
  281. ; So only set this entry, if you really want to implement such a
    & x# A8 U. b0 A9 n' c* a, q
  282. ; callback-function.
    # i4 E/ i0 ~+ s; L
  283. unserialize_callback_func =3 V/ e& U. F2 o3 J* E
  284. ) g2 K) s$ p& H
  285. ; When floats & doubles are serialized store serialize_precision significant! f8 m6 v# ^  W' }" @
  286. ; digits after the floating point. The default value ensures that when floats  R6 H$ d2 [$ y' v$ c3 \4 p# V
  287. ; are decoded with unserialize, the data will remain the same.5 O1 Z; g$ Z& ~# n6 J* M
  288. serialize_precision = 17
    5 t0 [- E2 Z- t

  289. # U- V8 V% s8 C. H2 y+ a
  290. ; open_basedir, if set, limits all file operations to the defined directory
    % q+ I- [$ F9 P- U$ W* P# j
  291. ; and below.  This directive makes most sense if used in a per-directory
    5 J+ m$ L+ S7 O1 |5 M, r- Y# n
  292. ; or per-virtualhost web server configuration file.
    ' m4 K4 a( r. C/ ?2 x& E6 b
  293. ; http://php.net/open-basedir1 C" Z, l5 G: q( D
  294. ;open_basedir =3 ]/ f; T, |( O& N' V1 M4 j
  295.   R4 w% {& n% h6 v1 I# \
  296. ; This directive allows you to disable certain functions for security reasons.
    ' G6 G1 f6 E6 n( r' e
  297. ; It receives a comma-delimited list of function names.
    2 f0 |7 }  Q8 b; B- r) l' f( Q2 [
  298. ; http://php.net/disable-functions$ Y0 T; k4 k$ L8 \3 A" C
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru& r3 ~* Z0 [8 V; ^- t( J, {

  300. 2 `# u: p# s% n+ {
  301. ; This directive allows you to disable certain classes for security reasons.7 z# V' N1 c3 D% M8 }9 `
  302. ; It receives a comma-delimited list of class names.: M! S+ A' H' U/ ^% i
  303. ; http://php.net/disable-classes
    ; W4 L/ ]; o* M
  304. disable_classes =
    0 j/ {7 G' z3 t* G+ ~8 I

  305. 8 m! N% `" j/ k- E5 K
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    6 y4 c+ Q& B: v4 B! v! p7 C8 ]
  307. ; <span style="color: ???????"> would work.3 s: @2 K* ^; K& X- n+ W$ K: ]/ f- `8 E
  308. ; http://php.net/syntax-highlighting. w2 P1 }+ D8 O2 ]. R! B$ c
  309. ;highlight.string  = #DD0000
    ! Q$ w( ]! P8 F$ Q
  310. ;highlight.comment = #FF9900
    + }4 A$ p7 p; Z0 J6 t9 L) I7 r: A
  311. ;highlight.keyword = #007700
    ( P1 h7 S) M% Z4 l7 |
  312. ;highlight.default = #0000BB: B- c- |; O) p* j
  313. ;highlight.html    = #000000# [1 r% p' @' C7 N6 B) k
  314. 0 H  r# g# Q2 ]( T; M
  315. ; If enabled, the request will be allowed to complete even if the user aborts% t( X( b5 v  C, W  G
  316. ; the request. Consider enabling it if executing long requests, which may end up: p9 q+ d! {4 Z- ]
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    & i* ^" Z: g3 ~$ t
  318. ; is to disable this feature.
    7 a! M! I# B5 Y6 v/ s  b
  319. ; http://php.net/ignore-user-abort
    6 D4 N$ b$ h8 s0 z# d
  320. ;ignore_user_abort = On, Z& D- d2 D# n2 m# k+ n6 L5 J8 h

  321. 1 _  ]6 s" W# r
  322. ; Determines the size of the realpath cache to be used by PHP. This value should3 H/ q% D) h! [. J/ q
  323. ; be increased on systems where PHP opens many files to reflect the quantity of5 q- i$ s$ J8 Q; M/ J$ U6 p, Y
  324. ; the file operations performed.. F: x* l- _1 T0 e( y  w
  325. ; http://php.net/realpath-cache-size
    * I2 y% t3 D0 S  r
  326. ;realpath_cache_size = 4096k" s- |; P2 g, y5 S* o
  327. 1 w/ @3 h) }' M6 d
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    1 ^  H. E% `8 ~5 [8 B6 C
  329. ; file or directory. For systems with rarely changing files, consider increasing this6 A" H& l1 ~5 f
  330. ; value.
    / P. P9 e9 z( ], b( C. w
  331. ; http://php.net/realpath-cache-ttl5 G/ D  e$ }( b: W( w2 S5 |
  332. ;realpath_cache_ttl = 120
    $ P  C+ W. ^, N$ F8 }: @4 _

  333. 9 |  T' t8 V% u. L7 l
  334. ; Enables or disables the circular reference collector.
    $ [0 [0 {" N; _* U
  335. ; http://php.net/zend.enable-gc
    0 P! f( m: i4 h3 d' y2 `4 e
  336. zend.enable_gc = On
    , ~; {" u* F: d# J- |+ J

  337. ' V! B& C$ J: E" i& F# j
  338. ; If enabled, scripts may be written in encodings that are incompatible with8 Z; v' B6 j8 ?. ?6 t8 ~1 R
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such' D# [6 q% [9 g2 Z$ q
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    ( U8 Z% C9 E% X' Y; g* }) o
  341. ; Default: Off
    ) [: D" ~# D  e* C- @6 F
  342. ;zend.multibyte = Off5 y3 B3 f2 n; ^
  343. + H0 G$ [9 m/ q) W% G3 G
  344. ; Allows to set the default encoding for the scripts.  This value will be used% s% [0 Q. V7 |  u+ l4 g4 _/ g
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    8 }8 @8 e* Q2 v8 W; q" X+ A* z& q
  346. ; Only affects if zend.multibyte is set.
    # Q( Y5 J( G( u% N' i; C! T# p1 D
  347. ; Default: ""0 l( J. E! e! h" M$ Y4 ]. }' S
  348. ;zend.script_encoding =9 a7 q+ n6 j2 g- p
  349. & u" q6 J7 q5 K+ A5 R  j- S
  350. ;;;;;;;;;;;;;;;;;
    ) k  J$ x, [8 p) ~+ m
  351. ; Miscellaneous ;5 h5 L/ M, u5 i( V! Q5 E
  352. ;;;;;;;;;;;;;;;;;( W) r, L8 h: s% ~
  353. # i. v! {( u1 S& o" V" k/ U
  354. ; Decides whether PHP may expose the fact that it is installed on the server7 y  r+ b3 K/ ?5 \# ?
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    / R/ l" f3 k- {0 `6 w: g, e
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    ( N* `* W; Y; v) C1 @7 ~+ f
  357. ; on your server or not.) H# x9 _- Y" z& R
  358. ; http://php.net/expose-php$ u# Y! T& D9 V" c$ T% _
  359. expose_php = On. i& a7 F- q+ b( X

  360. 8 G8 f! b, T* O: |$ \; a
  361. ;;;;;;;;;;;;;;;;;;;
    # H5 t& j: S- _! G/ C' l
  362. ; Resource Limits ;
    / I) U- w, g/ [! G1 I! j" c
  363. ;;;;;;;;;;;;;;;;;;;
    ; G. r, O/ ]; J5 L$ [- x+ N  `- |

  364. 0 M* ^0 Z% }6 l3 w! V& F
  365. ; Maximum execution time of each script, in seconds
    $ n* P) m7 h9 k! Y
  366. ; http://php.net/max-execution-time. B( Q% B( w! @- h: L
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI& x. G! u0 v0 K% \# v
  368. max_execution_time = 3003 |" Z8 J  ~1 T
  369. ) Q$ A7 C( w8 v
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    6 n6 G0 F( _( ~; J$ S0 [$ O' Z
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    # L8 R, E% N* V$ b# t  \1 I+ _4 @' [
  372. ; long running scripts.
    2 M+ h2 b) g! m: K
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    # ]0 b2 O' Y. ^
  374. ; Default Value: -1 (Unlimited)
      m1 N( Y8 z2 Y, T0 u, G
  375. ; Development Value: 60 (60 seconds)& T" Y% ~- \2 L# C
  376. ; Production Value: 60 (60 seconds)4 i5 ]- W! N% I9 ^* ^: s% i
  377. ; http://php.net/max-input-time+ P5 V7 d( a( I" y
  378. max_input_time = 608 C5 v: V! ^  w7 c! s6 ?

  379. 1 p$ p1 O3 Z0 T+ H6 Z* `; g
  380. ; Maximum input variable nesting level
    ! Y3 ?! d8 t7 j4 c8 G5 ^- s
  381. ; http://php.net/max-input-nesting-level# z: u- G  ?6 [' ^1 H8 g1 Y* C
  382. ;max_input_nesting_level = 64
    . H( S8 R& I+ P2 ~0 w6 c* W- [

  383. / I$ V* Z, j2 G3 S7 ^
  384. ; How many GET/POST/COOKIE input variables may be accepted3 x$ I" l- C3 q
  385. ; max_input_vars = 10003 X9 s4 G# b1 ?8 i* n

  386. , P# M, U6 ^5 Y1 Y1 R
  387. ; Maximum amount of memory a script may consume (128MB)
    ) C/ }' M5 }' k2 k& b$ L) E* }
  388. ; http://php.net/memory-limit
    ) g; I' E/ z4 ^3 f, O4 ^
  389. memory_limit = 128M
    ; f' R; Z# L: \9 q/ Y8 I& {
  390. : W0 X  R' S; l* O/ a- f3 }
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;, m4 k! \1 ^3 ]" H8 F
  392. ; Error handling and logging ;$ r  M3 q# r7 {7 U; B# _
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8 X$ w. m6 M0 `8 V8 l9 P$ V0 @
  394. - P4 ?' U- M: y) R1 r5 V
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    8 G9 d6 s7 Y2 ]# H
  396. ; it to take action for. The recommended way of setting values for this& R. V4 u3 J  z% Y. Z5 d: x! I. V
  397. ; directive is through the use of the error level constants and bitwise
    % @, ~: O: U. j0 M1 V: x& N  K
  398. ; operators. The error level constants are below here for convenience as well as
    % b( s" [/ S) `5 L
  399. ; some common settings and their meanings.4 n3 z' W7 |1 V- X8 l
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    , D3 a3 I4 l5 K& y% W" s. J
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and6 |, y) e1 N: c! _
  402. ; recommended coding standards in PHP. For performance reasons, this is the% @" f( g& i4 g! ]
  403. ; recommend error reporting setting. Your production server shouldn't be wasting6 |* r8 a- N  v; n" U" w( o7 _
  404. ; resources complaining about best practices and coding standards. That's what* e% s& j* Q+ K+ E
  405. ; development servers and development settings are for.
    # l9 k+ [- }) a; z. U
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    " w) B; M5 p! \/ ~0 _0 [1 P
  407. ; means it pretty much reports everything which is exactly what you want during1 K; w4 \3 }' {% n/ D" K+ _9 o* t
  408. ; development and early testing.
    ! ?2 U/ a$ Z2 `
  409. ;. f/ G5 \4 D  u# e& t- ?
  410. ; Error Level Constants:
    , V7 M& f  ~& A# t- T  k: V: L
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)3 Y3 K; {  F6 e; V  o
  412. ; E_ERROR           - fatal run-time errors: [) t: B- ~0 ~$ W" a5 F; Y6 r5 U- a
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    2 B2 o, W" a% b0 C) f
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    6 o! \8 {6 ]( P
  415. ; E_PARSE           - compile-time parse errors
    ' h- Z$ o* D7 V* L& ?+ V6 ^
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    2 D! ?: A2 z/ k# @" D
  417. ;                     from a bug in your code, but it's possible that it was
    + U& h5 }( f9 c: H
  418. ;                     intentional (e.g., using an uninitialized variable and
    + }. q$ o" M  h9 x7 ]
  419. ;                     relying on the fact it is automatically initialized to an$ c3 @: j$ T5 k/ w
  420. ;                     empty string)" k8 ]" S. y! A4 d
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    ) G; m4 t. S& z7 r  P+ U3 `
  422. ;                     to your code which will ensure the best interoperability$ N# x5 W5 [8 j7 z; `* ^
  423. ;                     and forward compatibility of your code9 j. Q) Z; J3 }& _  R, h
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup9 c$ a: I/ M6 h
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's6 ^( f4 J9 ?; k, B* w& h/ q
  426. ;                     initial startup
    1 D  c, g+ R) N7 F
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    , ]' [/ p) v# p/ w
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)0 T! j! z: z& d2 P" n
  429. ; E_USER_ERROR      - user-generated error message
    . \* R% e' k9 R+ R9 I( U- i; Y' I
  430. ; E_USER_WARNING    - user-generated warning message6 s! b8 C) g7 L- b7 v
  431. ; E_USER_NOTICE     - user-generated notice message/ N* s& w8 a+ B+ O2 r% `: O
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    9 z, i- v1 [7 q
  433. ;                     of PHP; E" P- g; a  ]( f
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    9 e% }/ {6 n# M. o
  435. ;
    7 K" W6 s9 n6 o: X+ U  ?9 k9 v4 B5 s
  436. ; Common Values:- P! R+ e/ d. w- S' `
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)5 [$ ?# A4 E  S; w, u
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)1 E8 ^  {8 r& {/ {* o' Y2 H
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    ' k/ S4 U6 z) _; p
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)5 e1 [/ f& D0 ?3 N# D4 G
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    3 v2 B3 c0 f5 r8 n0 [; r
  442. ; Development Value: E_ALL7 H7 e; N8 ^+ A* k
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    2 x0 J) ?% ~; |& g
  444. ; http://php.net/error-reporting6 w& R2 E2 Z6 B( \" P$ y9 l! y
  445. error_reporting = E_ALL & ~E_NOTICE$ w' n, p' l  k; E# R

  446. , Z  j% h; [% _6 h' ?$ t
  447. ; This directive controls whether or not and where PHP will output errors,. o% K" N& u# m+ k, C
  448. ; notices and warnings too. Error output is very useful during development, but, H8 ~4 Y( w3 }9 b
  449. ; it could be very dangerous in production environments. Depending on the code8 z6 B5 {/ ^5 _% i" C0 Y1 ~- w& K
  450. ; which is triggering the error, sensitive information could potentially leak6 ?6 j6 ^; i1 j' i2 o
  451. ; out of your application such as database usernames and passwords or worse.. u5 u; o! w; [9 O! E. X
  452. ; For production environments, we recommend logging errors rather than
    8 \' W# Q+ z. o' T. s" X3 ~+ S
  453. ; sending them to STDOUT.
    * @/ u% s/ ?  K) l
  454. ; Possible Values:) l+ h. W$ L+ l3 X; ?3 ]( h
  455. ;   Off = Do not display any errors
    1 E! m% h6 q) F$ j$ _' A) ^: s0 \
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)3 }1 p6 t3 P4 W- T
  457. ;   On or stdout = Display errors to STDOUT( ~" I( k( M: B/ K3 t) ?# C
  458. ; Default Value: On6 G4 s/ k$ x  n5 M
  459. ; Development Value: On
    ; @) c. h, B! r, f, m2 e
  460. ; Production Value: Off& h/ {" d, Y! J  x4 u; H) u
  461. ; http://php.net/display-errors
    % ^% H/ f! d$ ^7 ~  S1 }
  462. display_errors = On
    ' H; G5 g: S+ H, D) Z
  463. # C2 `" T. q+ {. J* y
  464. ; The display of errors which occur during PHP's startup sequence are handled  v  r7 z. l2 G# a" F
  465. ; separately from display_errors. PHP's default behavior is to suppress those  Y5 A# ]' s+ G" C+ A2 a
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    ( Q4 t, V* S$ ?  k# ^- u- A( |
  467. ; debugging configuration problems. We strongly recommend you
    / i5 u/ Z5 C3 q  |
  468. ; set this to 'off' for production servers.
    + H8 @7 ^  i- n% A
  469. ; Default Value: Off: l- w+ f5 ?8 d/ ~" o
  470. ; Development Value: On
    ) [9 @6 o& h8 F8 s& g
  471. ; Production Value: Off. v9 F. k; Q1 i4 g
  472. ; http://php.net/display-startup-errors
    ( i. n9 h/ ?, z: r" Y
  473. display_startup_errors = Off
    6 q# v. D) g, F8 S; }, U3 W& N' Z* |2 c

  474. * z; z' ?+ o. f( B4 R' U- P, {* V  J) f
  475. ; Besides displaying errors, PHP can also log errors to locations such as a0 M' V4 A( V0 F# G0 t
  476. ; server-specific log, STDERR, or a location specified by the error_log7 b' }3 i' l. @
  477. ; directive found below. While errors should not be displayed on productions( h$ n. \3 p/ \- S7 \& h/ o
  478. ; servers they should still be monitored and logging is a great way to do that.% M8 r) i4 y  D  [" q% A) t* t9 [
  479. ; Default Value: Off
    ' g5 _0 o/ y; x! u& `# ]2 _& J( T
  480. ; Development Value: On
    6 t! o. W% f+ T& v6 F% h6 O0 r
  481. ; Production Value: On: ~6 D; c5 _  j. b+ \& ^
  482. ; http://php.net/log-errors2 N* y/ A& W5 s. C
  483. log_errors = On
    5 A* c+ M2 c+ s9 E% T3 [; z) s

  484. - Z  l+ H6 d) r" b  R" R
  485. ; Set maximum length of log_errors. In error_log information about the source is
    / ?- i" N% p) I7 ^( X2 Q- L
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.8 Y* ~  a% c# P+ N9 u" i! L/ I
  487. ; http://php.net/log-errors-max-len4 c( x4 T, y" U' N
  488. log_errors_max_len = 1024% H! R/ H7 p2 }/ k! p" g( C& u, ]
  489. + v! z4 L+ U5 v$ I
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    ! Z# D% Y# w7 x4 B3 r, a
  491. ; line unless ignore_repeated_source is set true./ K0 ]) F0 M$ E+ f3 S
  492. ; http://php.net/ignore-repeated-errors! ]& G6 k" m0 `8 H
  493. ignore_repeated_errors = Off
    6 S/ [7 C5 r$ r5 B
  494. % U- s! g( t" x% L+ h
  495. ; Ignore source of message when ignoring repeated messages. When this setting
      o: R8 ?4 B' D2 t5 C8 [: r- L
  496. ; is On you will not log errors with repeated messages from different files or0 O) D3 T! M9 q/ w
  497. ; source lines.! z. r9 O' i2 Y( i
  498. ; http://php.net/ignore-repeated-source
    3 o/ t" p: D: c) k# Q
  499. ignore_repeated_source = Off
    - G5 P6 s& }' ?6 e

  500. 2 x& G# R  T" G) m
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on6 s& f5 J+ }+ R& T" J4 m6 }
  502. ; stdout or in the log). This has only effect in a debug compile, and if1 B4 J8 B, N: t0 k0 M; f; ~& F8 Q
  503. ; error reporting includes E_WARNING in the allowed list
    - G& z+ A* B% a- a5 j5 `0 l
  504. ; http://php.net/report-memleaks
    & W, I3 {" X, q- C, I( X
  505. report_memleaks = On- H) m) t4 w0 V+ @, O  `

  506. ' ]5 u& W$ g8 M# S
  507. ; This setting is on by default.
    & B: `( s% \7 q1 c" a" q6 a
  508. ;report_zend_debug = 0
    5 E0 E1 _8 H6 G' z4 E% Z

  509. - Z' T# J* s- |1 h
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    + v8 S1 m" T0 x, H8 O0 ]( ~& n1 f
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    ! N6 `' Q  f& c) ?0 K
  512. ; however be disabled on production servers.( \' c: Q: D. T. S' o
  513. ; Default Value: Off
    4 W9 \" V& F, C
  514. ; Development Value: On: O7 b9 H" x  [1 c
  515. ; Production Value: Off0 i! A: D; O& ^6 \
  516. ; http://php.net/track-errors5 l* N1 t- G# i# C% K/ y
  517. track_errors = Off
    3 _+ r, Y- R# s) s/ Z
  518. * u9 l5 {# |& F# i9 n2 d
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    7 [/ |& o! ^, i3 h
  520. ; http://php.net/xmlrpc-errors
    + J: N, _0 |* I  K' f
  521. ;xmlrpc_errors = 0: z1 Z. i$ N. O8 t1 O; o) P' W4 x

  522. 5 f$ C4 D- c5 ^8 X
  523. ; An XML-RPC faultCode- s. k" k8 w* r9 F
  524. ;xmlrpc_error_number = 0
    ' t7 K2 c0 e  q5 m

  525. % j; d: Q; F* G/ a! x- }
  526. ; When PHP displays or logs an error, it has the capability of formatting the0 k0 x$ U& g- d5 _
  527. ; error message as HTML for easier reading. This directive controls whether# g' j" q% t' Q7 A! A1 {8 y# s) |5 m$ S
  528. ; the error message is formatted as HTML or not.2 @" P# l: u( d) `4 V
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    # h, [  w% f8 x( A6 Q6 s
  530. ; Default Value: On3 x1 e. d4 g* w6 s
  531. ; Development Value: On. o  F* `8 ]5 ?$ \
  532. ; Production value: On
    : g0 V- z2 v$ R% Q- k+ O! C
  533. ; http://php.net/html-errors
    ) A5 q7 u& _) p! [$ E2 `2 j
  534. html_errors = On
    - u6 Z) ?0 W  J$ j0 E

  535. $ T" F9 t& ]4 O8 M
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    % B+ @& k* F; a
  537. ; produces clickable error messages that direct to a page describing the error
    9 [* ~5 u# S( D! ^7 U3 y9 A6 r
  538. ; or function causing the error in detail.
    3 z* N! R! p9 V0 I1 e
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    & v$ F6 \, _( r$ v+ \
  540. ; and change docref_root to the base URL of your local copy including the, C9 {9 `3 N+ ^% Y7 ^: a; t
  541. ; leading '/'. You must also specify the file extension being used including' Q. j0 C5 n. Y9 l- w& N
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which+ @/ I1 ]) r$ y" i' o' m9 ]
  543. ; case no links to documentation are generated.
    1 A' \4 w4 I) Q$ B6 N1 q
  544. ; Note: Never use this feature for production boxes.
    ' J6 F. |' ]0 e
  545. ; http://php.net/docref-root0 l/ t5 X  ^; r3 \/ e' }; ^! m
  546. ; Examples& j6 }! l1 v$ `% J* f! J/ J
  547. ;docref_root = "/phpmanual/", H0 W  V: n3 W* [) T' h# U" p
  548. & S5 D4 r$ b4 A/ j- u/ h
  549. ; http://php.net/docref-ext
    ) ?1 b  M3 p, X& Y; N4 Q
  550. ;docref_ext = .html; O) K& J6 h0 t

  551. " a& M0 d& c2 i$ W# e5 R+ Q
  552. ; String to output before an error message. PHP's default behavior is to leave7 h6 W% R! \6 f; y" V1 p) B
  553. ; this setting blank.8 R) ]# ]+ u& L# t& g" E
  554. ; http://php.net/error-prepend-string8 p3 z0 l: t' F
  555. ; Example:& ~$ I4 Z, I+ h  U1 p, W
  556. ;error_prepend_string = "<span style='color: #ff0000'>": o1 D; [: f8 z; V
  557. ( P! s) n% z. _
  558. ; String to output after an error message. PHP's default behavior is to leave( i, e% S) O8 f, M$ w+ t
  559. ; this setting blank.
    / [: O2 @0 h% V4 j
  560. ; http://php.net/error-append-string* E& ?# a! M8 P5 l: u
  561. ; Example:
    " y4 _2 }' O: M2 }
  562. ;error_append_string = "</span>"0 F; A% ^" a4 \% U0 ^# G/ o
  563. & h1 @& o, Y5 P
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    3 g$ e7 o* Y" ?  u. j
  565. ; empty.5 c* c/ ^1 d% Q# q# F
  566. ; http://php.net/error-log
    6 o9 A: I1 P# {: N
  567. ; Example:" j; Q2 z- k4 g1 C4 Z# L) @) U
  568. ;error_log = php_errors.log
    ; z$ j) U0 ^& v4 P) [5 P- r! K3 h
  569. ; Log errors to syslog (Event Log on Windows).
    % _1 @9 R+ C; v5 M/ `
  570. ;error_log = syslog
    ( [: ?2 }! c" q: ~6 G

  571. : \) @, n" v) Y& t3 i/ O9 a
  572. ;windows.show_crt_warning6 u* S# P( f0 ~7 h6 r9 X, g, b
  573. ; Default value: 0
    2 {, P4 G5 j% n& U! ?8 |
  574. ; Development value: 0' [* u1 ]; n8 F( F: `0 s3 k
  575. ; Production value: 0
      S* I  i$ I* ^* s3 s& Z
  576. 3 p) h3 W2 @7 r# L
  577. ;;;;;;;;;;;;;;;;;6 A. l, q2 @# k/ h9 e) s1 i
  578. ; Data Handling ;' d1 O9 o3 M, o
  579. ;;;;;;;;;;;;;;;;;
    9 s2 o' k0 U% l" R1 p. l

  580. 9 H$ ?( |. t% b+ U' m, u
  581. ; The separator used in PHP generated URLs to separate arguments." S4 Y/ Z5 y$ g+ E+ [: N
  582. ; PHP's default setting is "&".
    / v* ]. O! n! m0 E8 U( ~
  583. ; http://php.net/arg-separator.output8 s; v  `9 a$ T0 u1 d; R
  584. ; Example:
    , T0 u/ q) d( q$ \; ?- I2 M; d- \
  585. ;arg_separator.output = "&"
    ! w6 `) @; N9 E4 h' }- K6 A

  586. ' ^- t3 y5 o& Q4 t1 D
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    ; O7 v! v' w3 B/ l
  588. ; PHP's default setting is "&".; j! e. p: o! {7 T
  589. ; NOTE: Every character in this directive is considered as separator!
    ! j$ O) R6 u6 J# M' `9 |3 W/ J
  590. ; http://php.net/arg-separator.input
    5 V/ E! e4 S, a1 e1 O
  591. ; Example:
    4 ~, n0 \% R3 q/ y) U
  592. ;arg_separator.input = ";&"/ C0 y* r: \4 t& }3 k5 T
  593. * R- ?5 Q  h* ]: |  B) F& k: J
  594. ; This directive determines which super global arrays are registered when PHP
    8 O" q5 N- {' i5 Y' b: n7 ?/ s: E
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super% E5 G& o0 B2 \3 K
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    5 q8 I7 [8 C, [; B' y( V2 w/ P) {$ Z4 ~
  597. ; paid for the registration of these arrays and because ENV is not as commonly! O: I7 Z5 C- W2 Q4 k/ V  D
  598. ; used as the others, ENV is not recommended on productions servers. You2 A2 C9 w" Y, E  T* P( P5 T2 q
  599. ; can still get access to the environment variables through getenv() should you* \2 b5 {# ~& l/ T. f6 K4 e
  600. ; need to.
    8 K; i8 o  [$ a( ^: p2 X. s$ \) t
  601. ; Default Value: "EGPCS"9 W. s/ z/ g3 x. h8 y
  602. ; Development Value: "GPCS"8 I& l. X0 f/ J3 e4 Q: |
  603. ; Production Value: "GPCS";
    1 B0 B( u' m; H" L0 d; R1 `
  604. ; http://php.net/variables-order1 M" l3 N0 n) P' e4 E
  605. variables_order = "GPCS"5 f* C# J  [  z; o: b9 E% o

  606. - w. c! G3 @, R6 L
  607. ; This directive determines which super global data (G,P & C) should be
    + Q% z! ]8 P5 A" w. ^
  608. ; registered into the super global array REQUEST. If so, it also determines
    # m% a! V9 V, n) }
  609. ; the order in which that data is registered. The values for this directive
    * N+ S* U1 k( P  ^! O
  610. ; are specified in the same manner as the variables_order directive,
    1 b$ L3 F2 H7 V% T  u6 E4 x3 ^% |
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set/ M# `) p- B+ J( a. E/ R
  612. ; in the variables_order directive. It does not mean it will leave the super
    ( E3 F" b: r* C( C6 ?7 U3 M
  613. ; globals array REQUEST empty.
    ( Y# A- ]2 {) F9 F& d- D. f
  614. ; Default Value: None
    & O3 P( x9 K% b- e1 _, q
  615. ; Development Value: "GP"- j, s  ]9 ~  k2 t# x  ~! K6 s7 j
  616. ; Production Value: "GP"5 Q1 J; h( w  q9 x5 A) |
  617. ; http://php.net/request-order
    ! Q$ Z  P$ b. F. o) w) s
  618. request_order = "GP". b: ^; x( [% N7 q$ i8 }
  619. 4 a  ~/ ^, D2 x9 {* L
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    8 Q7 v$ W- P5 k/ p* D/ [
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script8 E; P4 S  _0 x; h3 v. k4 S* z% h
  622. ; is invoked. $argc contains an integer representing the number of arguments
    9 |) ]7 L+ Q, o% R. x1 U
  623. ; that were passed when the script was invoked. These arrays are extremely
    4 o9 E. Y7 v$ {4 f. I+ L
  624. ; useful when running scripts from the command line. When this directive is
    ! Q2 T' [# H7 j7 Q
  625. ; enabled, registering these variables consumes CPU cycles and memory each time9 U& b8 i( D  X8 X  d
  626. ; a script is executed. For performance reasons, this feature should be disabled  h$ \& m$ u9 }$ {; E
  627. ; on production servers.
    + K: [% B( p& q7 ~% V
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    : X7 T  l7 g! d: |
  629. ; Default Value: On
    ' r& ^5 S/ i0 f* V7 Y  r
  630. ; Development Value: Off
    8 j( E5 n$ k0 m! ?5 Q
  631. ; Production Value: Off
    8 w, N' X, s" i+ v5 u7 ]
  632. ; http://php.net/register-argc-argv
    + q0 t8 E+ t3 `5 h9 ]- e
  633. register_argc_argv = Off
      }, F7 O  p% J# K3 e  g( V) B: S
  634. ! Y8 S! g* [6 R# Z. T% g( a
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're1 y5 E3 K" O3 o
  636. ; first used (Just In Time) instead of when the script starts. If these
    4 h4 o) N1 h' h' e# H
  637. ; variables are not used within a script, having this directive on will result1 u0 |9 x3 q5 ~/ k: \
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    , V9 f8 I: m! h% U5 M
  639. ; for this directive to have any affect.9 `) |3 z3 @- }; O
  640. ; http://php.net/auto-globals-jit
    ! ?% p" U  P8 _
  641. auto_globals_jit = On% R: K5 p' }3 ]1 `
  642. 9 n+ J; I+ j9 c! m4 s+ ^
  643. ; Whether PHP will read the POST data., s5 ?6 F! `+ @: @! ~3 M" i: H
  644. ; This option is enabled by default./ b' X! x' I$ ^& D$ R
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    + ?1 I, E2 C" X/ z5 u& T3 J$ ^
  646. ; and $_FILES to always be empty; the only way you will be able to read the  W5 Q# t! E% N2 B
  647. ; POST data will be through the php://input stream wrapper. This can be useful& ]- R5 {2 f. k7 l
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    $ h/ c0 a) H% n9 A# H
  649. ; http://php.net/enable-post-data-reading$ {) r+ R* K, R  g; {. X/ b
  650. ;enable_post_data_reading = Off
    / Y! B( b) b, N' X

  651. ; g! Q9 x$ b7 E
  652. ; Maximum size of POST data that PHP will accept.; _7 I/ O) \0 J, Y  w
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading; W. N! }5 ]$ p
  654. ; is disabled through enable_post_data_reading.- A8 m/ Z. c5 v- l# a
  655. ; http://php.net/post-max-size
    3 @$ o( _# n$ V7 \6 J
  656. post_max_size = 50M# R4 A2 W" t7 Y9 G3 ^% ^( k

  657. & E7 z- l" C; B. l4 A3 w" f  g$ m7 ]
  658. ; Automatically add files before PHP document.) W( F0 }: W8 z/ S: l
  659. ; http://php.net/auto-prepend-file
    , d- T* [: ]+ a6 U  i; B& V
  660. auto_prepend_file =
    # T, N2 ?# z2 z" \5 g* ~, Y" q

  661. # B2 N2 L5 a7 b. I
  662. ; Automatically add files after PHP document.
    $ W  q5 l: E5 h
  663. ; http://php.net/auto-append-file) Y: {  Y% [/ k! U
  664. auto_append_file =- L2 o, z3 Y; v/ I3 f* Z

  665. ' @0 j: ?7 {' m3 m& M5 g6 O
  666. ; By default, PHP will output a media type using the Content-Type header. To" T* h0 m! V3 h8 M$ [. `5 M
  667. ; disable this, simply set it to be empty.: d% Z7 D; P) x% L
  668. ;
    : f/ X: J2 y9 ~& ^7 Q
  669. ; PHP's built-in default media type is set to text/html.( w$ W3 V: H4 s2 @
  670. ; http://php.net/default-mimetype: w" o/ C. U1 L  x6 u
  671. default_mimetype = "text/html"$ x- H5 l5 Z+ S& ]( K

  672. 5 t! E3 S6 T1 ]  R3 y
  673. ; PHP's default character set is set to UTF-8.7 p" A# M6 r6 ?$ D
  674. ; http://php.net/default-charset# m3 O1 e2 M2 ]1 Y4 k
  675. default_charset = "UTF-8"% R4 t; P9 m1 E( l1 G9 l( ]

  676. + t# E( C8 [$ l% g
  677. ; PHP internal character encoding is set to empty.
    & ?) z' U$ x4 c+ _
  678. ; If empty, default_charset is used.9 o4 \9 E, U1 H# B
  679. ; http://php.net/internal-encoding! R) t' v7 {9 Z% ?' ^) I- Y9 ~! Y
  680. ;internal_encoding =. n% R4 U7 r& s! D$ s" S. d
  681. 8 q' \' q" W3 n6 h5 T; X
  682. ; PHP input character encoding is set to empty.2 Y8 X) p) Q3 f4 _
  683. ; If empty, default_charset is used.
    / ~9 `6 ?- D: i1 s. X  N
  684. ; http://php.net/input-encoding, n. N! {5 a  S, m
  685. ;input_encoding =( K+ k" ]0 _2 X% X3 P8 Y5 c4 Z

  686. 8 @# v! J$ m0 z( P$ g
  687. ; PHP output character encoding is set to empty.& V. O) l  Q  ]  w
  688. ; If empty, default_charset is used.
    ! Y/ `+ R# O; e3 M9 ^
  689. ; See also output_buffer.; n! T9 B3 i% ?) {9 c! e
  690. ; http://php.net/output-encoding
    # r3 I( x7 X: L" q2 y
  691. ;output_encoding =7 y. S$ I+ s: p

  692. 3 ^; B- E5 ~8 Z; y( d* o( x2 f
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;" g& T7 t9 s0 W+ \
  694. ; Paths and Directories ;7 B+ S. l; j4 N) P) C
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;1 S  C5 Q/ e+ f: A- S: m
  696. , c) ~$ o5 S  y( E1 U& {- ~3 d
  697. ; UNIX: "/path1:/path2"
    ; f1 s1 N2 z0 Z) z1 w+ O1 @5 S
  698. ;include_path = ".:/php/includes"0 o2 h" W( r$ M1 I
  699. ;
    8 ~4 i! r+ A, ~" g; [; g
  700. ; Windows: "\path1;\path2"
    , n; D/ Z0 @4 L8 \
  701. ;include_path = ".;c:\php\includes"  a5 J! [& j3 D+ I$ n* [% q" w5 L
  702. ;' \6 m7 C& ^# t& M% ?7 h
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    ; R. h# ]/ R; d+ _+ P; x
  704. ; http://php.net/include-path7 E9 R8 v" a5 Z( d" F% o+ T
  705. , G; k9 O* x- W  u5 `/ P
  706. ; The root of the PHP pages, used only if nonempty.
    2 K. }2 V* P% k) ~  f
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    ) y1 s. J/ k: Y8 O/ }/ C! o, W1 b2 N+ U
  708. ; if you are running php as a CGI under any web server (other than IIS)  j$ B5 a( b7 [+ D! w
  709. ; see documentation for security issues.  The alternate is to use the
    7 u4 H# f; r9 n
  710. ; cgi.force_redirect configuration below8 h4 I, f7 O  F- B& ?
  711. ; http://php.net/doc-root! b% `: t  @& R1 a! u( T$ G1 r4 j0 W
  712. doc_root =
    . g, W. E3 ~: P) ]( d
  713. 2 `, Y" a! j9 t) G) y& g
  714. ; The directory under which PHP opens the script using /~username used only8 {6 f! w" r6 y7 g
  715. ; if nonempty.
    ) o7 O" [6 f7 s. }( {
  716. ; http://php.net/user-dir
    4 B1 n/ x  {/ Q- q0 ~& a3 l
  717. user_dir =7 E+ p' K" T" T  ~+ H5 o

  718. ! p/ L( g* Y4 E* }/ j! G1 P
  719. ; Directory in which the loadable extensions (modules) reside.% Z9 I* g$ C; \! b
  720. ; http://php.net/extension-dir, b2 N9 s/ _. {* J
  721. ; extension_dir = "./"$ v: ]( R3 ~- K5 g+ ?
  722. ; On windows:" t5 [4 w5 V( `9 I0 b0 j! Z
  723. ; extension_dir = "ext"
    ) Q: }) t: p' B! p- j& U4 }0 k

  724. 3 z* t) ^" g8 j  h6 k
  725. ; Directory where the temporary files should be placed.
    ( K4 z, _5 f7 V0 T  e9 K( l
  726. ; Defaults to the system default (see sys_get_temp_dir)
    5 g- q: q1 V% Y+ A$ k6 J& l
  727. ; sys_temp_dir = "/tmp"
    ) \5 n) r8 p# |7 e3 I; O

  728. 3 c$ ~+ O. ?" i' {" c( o) A6 w
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    & @4 X. }# X& h: Z2 v! O& r& `
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically$ q7 h' o- _, W" ^* [0 u$ y4 B# b) ^
  731. ; disabled on them.
    & L9 k1 p2 @& M* O: r. t4 ~
  732. ; http://php.net/enable-dl
    ; I1 r: T' \; a8 B. p0 r* i5 u
  733. enable_dl = Off- l' M7 ~# D: x) J1 K- Q9 r
  734. 8 Q6 ]( z2 @% ]
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under- q$ }: d# l4 e
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    ' c" }4 r  Z3 d6 @/ Q4 u* R- m) U
  737. ; turn it off here AT YOUR OWN RISK/ w! f8 a& ^9 J! w
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    ! m5 ]6 a: y! m
  739. ; http://php.net/cgi.force-redirect" a# ]- u& V3 d! I6 N
  740. ;cgi.force_redirect = 14 M  k# O1 z9 H* w5 @5 v& Z9 U

  741. & X8 K0 O& I9 {+ }. \, s
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    1 H( O+ _7 Y2 `' k9 j" J
  743. ; every request. PHP's default behavior is to disable this feature.
    ' ]1 L0 P/ u7 @( @9 d
  744. ;cgi.nph = 1) H1 E+ Q$ E) n, n) }8 V

  745.   w0 n9 E! K8 Q, Q' r+ R/ \
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    7 l& S  [: ]) u
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    # r9 m) J$ R) M7 U6 X. R: u. K
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    , E, h, A1 H1 k6 P, m7 K  u' t. L) B
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.# S5 {* q; o# i  t/ ?
  750. ; http://php.net/cgi.redirect-status-env
    ; B) T: V- W& W
  751. ;cgi.redirect_status_env =0 F+ _6 ?4 y: Z8 m5 o) w

  752. * G" v4 T0 K% y1 ~" U
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's1 M  h6 \7 W3 a1 g2 D* V
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok+ j' ~  \, s: |" `$ m
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting/ z; @$ v* ?$ b. }. E2 L
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting% U; H6 k/ c$ p2 J2 i9 W! @
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
      c1 ]- t" X, Z
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    ) \& Z% C$ M0 g" q% Q2 J& |
  759. ; http://php.net/cgi.fix-pathinfo
    $ |' d, A/ p% j
  760. cgi.fix_pathinfo=1# F$ P' O2 ^" O, l
  761. ' W1 m5 n- k8 r( b; v
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside4 ^# |" P* ~: Y; u# D/ ]
  763. ; of the web tree and people will not be able to circumvent .htaccess security.. @9 Z+ W. G8 Q" Y4 s
  764. ; http://php.net/cgi.dicard-path. G# C8 C7 h# w2 q# o4 V  ~
  765. ;cgi.discard_path=19 x# d( Y% U# a7 T# T( s

  766. ( g; V( b! K. G* }
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    5 o1 P3 B# a) L) |% }4 _7 q
  768. ; security tokens of the calling client.  This allows IIS to define the
    % ^; b! Q$ |9 d5 y3 o3 [
  769. ; security context that the request runs under.  mod_fastcgi under Apache' O; i4 A7 G9 l& L' S
  770. ; does not currently support this feature (03/17/2002)
    - F$ C  W, n9 Y2 c0 `6 ], M
  771. ; Set to 1 if running under IIS.  Default is zero.
    9 m7 x! q, V- ]3 h& P5 x# @% K
  772. ; http://php.net/fastcgi.impersonate
    ( \+ `, x4 p2 R. _. v( @0 Q
  773. ;fastcgi.impersonate = 1% Z) k% ~/ U! @8 P/ t

  774. . C- j) ]! h( N+ ~+ U3 o) r
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    3 l9 }9 L/ B2 m; K- z
  776. ; this feature.
    - U; `3 @( _4 n# Z1 D1 d
  777. ;fastcgi.logging = 0
    9 i) C! ~" t. t  Y# Z
  778. # _* [6 Z* v9 ?) W7 W
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to: t. u% f$ F$ U
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    ) I) V2 b6 y8 T6 L2 o6 m, r. r( o
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    , A$ p+ [5 O1 `; V- F' H, Q
  782. ; RFC2616 compliant header.0 d1 }' |2 }9 V
  783. ; Default is zero.! Z1 B. g3 {: I, F# M
  784. ; http://php.net/cgi.rfc2616-headers* T% r) I6 ~, H. ]1 k2 E
  785. ;cgi.rfc2616_headers = 07 f" h, r) u# ^( {: U; K+ T
  786. " H7 j) Q" R( ^* v7 U2 c
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!2 @3 T# H1 `1 u: ?7 B
  788. ; (shebang) at the top of the running script. This line might be needed if the
    5 k% P& u6 D1 Z6 C8 u5 c
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    6 E" o5 U% W+ j3 e8 E* Y
  790. ; mode skips this line and ignores its content if this directive is turned on.$ @; b3 `+ e8 Z* Y# `( T
  791. ; http://php.net/cgi.check-shebang-line
    * Y6 S. G  p7 }' G4 M
  792. ;cgi.check_shebang_line=14 T' A  l. t5 U4 X$ R# m

  793. / N1 v! I4 V" e  P2 b, ?
  794. ;;;;;;;;;;;;;;;;
    7 y  `" G4 W/ k! q) M
  795. ; File Uploads ;
    2 u* W3 V) a+ w* S
  796. ;;;;;;;;;;;;;;;;
    8 ^  q5 o+ g9 k; x, S; z+ e

  797. 7 [! a/ F( O. r  t
  798. ; Whether to allow HTTP file uploads.) |% }4 g1 ~5 c
  799. ; http://php.net/file-uploads) i5 ?, N( Y6 C; ~6 S" N
  800. file_uploads = On
    $ ]' ]0 ~2 z! E! M" ^

  801. * ~' l7 p+ X  ]0 e
  802. ; Temporary directory for HTTP uploaded files (will use system default if not8 ?* ?' r" X& Q9 ^
  803. ; specified).
    1 o9 q/ F( V: b* E- o2 q
  804. ; http://php.net/upload-tmp-dir
    ; {  S' s( ^& l# w% v# v9 N1 B
  805. ;upload_tmp_dir =4 z! h9 ?' l# v: J9 J- l7 s+ X2 n
  806. , }- I( L( I, q9 b/ U
  807. ; Maximum allowed size for uploaded files.
    8 k: B4 f7 G% `7 l: x/ i
  808. ; http://php.net/upload-max-filesize
    - ~" V8 F9 G. ]) ^8 O; t
  809. upload_max_filesize = 50M. q! b1 `( z* O9 P$ l/ X3 R& A

  810. / i8 J4 U8 {1 K1 Z) u) P
  811. ; Maximum number of files that can be uploaded via a single request
    " i- `- `: `/ c" E- N+ D
  812. max_file_uploads = 20; F0 W. L# |4 N( r8 a

  813. ! m% Z$ k; u# Y  D
  814. ;;;;;;;;;;;;;;;;;;
    $ H7 M6 P- T8 T  u# b! S$ ?* q
  815. ; Fopen wrappers ;
    3 p5 c7 B9 i8 ~. O" r) }
  816. ;;;;;;;;;;;;;;;;;;
      U1 L- [5 U  Y
  817.   Q( F% w4 F- p9 i' w
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.& h. H4 @+ E) d- ^
  819. ; http://php.net/allow-url-fopen7 x2 Q$ H& t* S5 C- t& Z
  820. allow_url_fopen = On  |6 B* k, @5 l1 ~; |

  821. ! r7 f; f  B4 [: C' ~3 l" k
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    & C: w( e) `* u* m# F7 I
  823. ; http://php.net/allow-url-include
    " ]& u! m" S. {" A, m
  824. allow_url_include = Off
    . Q, W0 l% l& y. C8 I5 b+ \

  825. ( F; T5 o, }( r
  826. ; Define the anonymous ftp password (your email address). PHP's default setting2 A2 a6 Y1 `% l. v
  827. ; for this is empty.9 i# `6 q& d: r% d
  828. ; http://php.net/from
    % ?/ ~0 p! \9 f- g0 ]/ K
  829. ;from="john@doe.com"
    ; ?6 E& ~* e& d

  830. 7 \( ^, q( O  n" [, s9 r% W: X
  831. ; Define the User-Agent string. PHP's default setting for this is empty." e( j- R. W) G2 a1 J7 F5 }
  832. ; http://php.net/user-agent
      d7 V  I: Y- y4 \; _
  833. ;user_agent="PHP"
    / z7 `* ~# A, B& q% }
  834. ( K0 ?8 D) b) q3 C/ c& T
  835. ; Default timeout for socket based streams (seconds)
    5 c/ k  n/ O4 P& k) d
  836. ; http://php.net/default-socket-timeout
    4 ], H) p$ s$ Z* T; ?, F, z% z
  837. default_socket_timeout = 60
    3 A, g  e% n; A/ F, Q5 G

  838. . x2 |2 h# {5 e6 {4 r3 [
  839. ; If your scripts have to deal with files from Macintosh systems,- A4 J7 u) E  n6 p
  840. ; or you are running on a Mac and need to deal with files from, G: o  }  b2 `+ D% |
  841. ; unix or win32 systems, setting this flag will cause PHP to
    ( P$ c8 H3 ^( A
  842. ; automatically detect the EOL character in those files so that% ^/ }* ~9 x& I( N% _0 t+ k3 C
  843. ; fgets() and file() will work regardless of the source of the file.
    . F  [5 [' O3 Y) |( D; O
  844. ; http://php.net/auto-detect-line-endings2 G5 o0 w8 H. L4 a: z
  845. ;auto_detect_line_endings = Off# L3 i, w% @0 M6 k

  846. ) |3 n; i* {5 x; F
  847. ;;;;;;;;;;;;;;;;;;;;;;1 Q! P* J+ C; `$ S% }+ e+ A
  848. ; Dynamic Extensions ;
    : z, Z* @5 E% }' m  V9 ]! @8 g9 h
  849. ;;;;;;;;;;;;;;;;;;;;;;" M" z$ M# g" b* l' |' ~3 Q
  850. & Q& `, c* }# J
  851. ; If you wish to have an extension loaded automatically, use the following
    8 _* D' @* B2 L( K2 q" I/ s: C6 V+ @
  852. ; syntax:, t' Z$ {  c7 w1 A" Y7 A+ a0 C' _
  853. ;5 w, B7 y+ v9 V8 ]1 x
  854. ;   extension=modulename.extension8 \: Y+ D, {" z$ [: z' ?
  855. ;2 k( ]: b* l2 x
  856. ; For example, on Windows:
    ! }, _5 Q% K+ z+ B
  857. ;2 F& ?! Z8 T, I5 C/ O2 b+ o7 }+ e
  858. ;   extension=msql.dll& S2 t" Z$ F5 y' S
  859. ;
    1 m& A2 c3 D9 D  e6 \6 m
  860. ; ... or under UNIX:
    , {5 _3 a( w% e: \5 s
  861. ;! a( e. J8 @) H0 V: x$ P
  862. ;   extension=msql.so+ X6 [+ e+ q$ `0 _  M  H+ W
  863. ;3 Q" }$ s& o& T; x% w
  864. ; ... or with a path:
    $ A2 _* P, ^9 T3 q( J
  865. ;
    $ K7 l6 j' a  M# ~- D
  866. ;   extension=/path/to/extension/msql.so
    , B5 p3 ~) R* {+ ]
  867. ;
    " ~3 W- _0 ?5 H6 m  ^2 i
  868. ; If you only provide the name of the extension, PHP will look for it in its
    5 T7 C2 a, u& h; y
  869. ; default extension directory.$ r! q5 M# H4 _1 U# ^- E
  870. ;
    7 f) o7 q  k' E. S
  871. ; Windows Extensions
    # }1 D( G$ @' x2 \4 n9 o3 O; j
  872. ; Note that ODBC support is built in, so no dll is needed for it.
      g0 h3 @/ S4 I$ |$ A/ ^
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)- B) g% ]: R2 Q) t
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).0 _& x* Q+ K* p
  875. ; Be sure to appropriately set the extension_dir directive.
    8 e4 R$ F2 _! B& G- U* O
  876. ;  r- c. n; f. N9 {0 l
  877. ;extension=php_bz2.dll
    & E  S& @! z- T4 ?( C9 v
  878. ;extension=php_curl.dll
    4 S9 L: i: i$ b
  879. ;extension=php_fileinfo.dll
    ; ~2 I* r% Y' A9 v9 E
  880. ;extension=php_ftp.dll( L  w5 ^4 L% @& d) u% \
  881. ;extension=php_gd2.dll
    # q% T; C+ s! v+ H8 ?" W) Z
  882. ;extension=php_gettext.dll+ Y+ Q; E& _2 w+ X; F
  883. ;extension=php_gmp.dll
    ' ]7 z- G/ ]* A9 u5 T1 P
  884. ;extension=php_intl.dll
    ; U5 r9 i( }$ {" ^6 R- s
  885. ;extension=php_imap.dll
    + k& S: s. M# P/ e- `
  886. ;extension=php_interbase.dll1 p! K2 @6 h3 j7 V: ]
  887. ;extension=php_ldap.dll5 V' w3 Z- q9 p) ~
  888. ;extension=php_mbstring.dll/ q6 D% r* w' R% p
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it9 z  b9 W! `  }! }0 x5 U3 t  b- V- L5 h
  890. ;extension=php_mysqli.dll1 W: h1 [( p& W- F* I/ Z
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    # \' S6 d: g9 e  `- U9 ~! a
  892. ;extension=php_openssl.dll
    8 v2 A" l7 S7 W  w3 J+ ?. D9 V/ A3 z
  893. ;extension=php_pdo_firebird.dll
    ( n$ K3 @. H5 y6 Q" T
  894. ;extension=php_pdo_mysql.dll
    9 U! b3 j3 s+ V" R7 d5 |
  895. ;extension=php_pdo_oci.dll2 q1 e: g% f: M2 Q, W
  896. ;extension=php_pdo_odbc.dll
    + ?- r- x0 [" T3 u* T9 ]
  897. ;extension=php_pdo_pgsql.dll5 J1 n9 \, `8 D2 ~- D
  898. ;extension=php_pdo_sqlite.dll- P$ d8 l7 w5 {2 X- d7 a
  899. ;extension=php_pgsql.dll' Q% r5 {  F- m9 n1 v8 d8 Z
  900. ;extension=php_shmop.dll
    : ]6 A; x& i2 Y) I& Y5 f* c+ n

  901. * l4 R! i0 F4 S# L: O
  902. ; The MIBS data available in the PHP distribution must be installed.# U: R) b) w) |6 l1 x# l* ^8 V
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    ) M  b% t1 G: ^3 }
  904. ;extension=php_snmp.dll3 F: b! R; P% N- p) d/ F
  905. ( G! |0 ?0 u8 v/ r5 s  N0 p- A7 J9 `
  906. ;extension=php_soap.dll8 a: _+ ~; V9 ^+ E  t4 L- Z8 X
  907. ;extension=php_sockets.dll
    / N1 @: J( Y1 V' v9 Y7 \
  908. ;extension=php_sqlite3.dll1 q+ D3 y- T+ }& ]1 p
  909. ;extension=php_tidy.dll
    ( e& s4 D1 s* d+ L# \& J
  910. ;extension=php_xmlrpc.dll
    5 K: n( ]8 z8 E6 n
  911. ;extension=php_xsl.dll& O$ d3 j- x& ]9 B

  912. 9 c- T: s7 Q0 J# r
  913. ;;;;;;;;;;;;;;;;;;;! T: ]8 o" z: c5 K( ~5 C% x! B
  914. ; Module Settings ;
    ; i* [$ ?9 M6 M5 J
  915. ;;;;;;;;;;;;;;;;;;;
    ( Q2 m8 G( X" ^- ~/ ]& q2 b

  916. . z2 H2 l) M) `: a# f" W# |+ Z
  917. [CLI Server]- ~3 s5 q# h0 U% |% {) T- t" i
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.0 e) C* B% [; n8 x0 C
  919. cli_server.color = On
    , C/ n: Q1 F. C9 D/ r- n# s

  920. ! C2 L. I; {. f: q) A$ p
  921. [Date]% D$ z  H, _  Y7 f) I
  922. ; Defines the default timezone used by the date functions; S- N+ [. e! g
  923. ; http://php.net/date.timezone
      o. Z! T, D$ _, l: c! h( u7 [
  924. date.timezone = PRC
    3 n; J. E/ p! A" [* D; g- F

  925. : h2 c0 T: y$ W* r0 Q; C
  926. ; http://php.net/date.default-latitude
    : V) X* o- B' o3 z8 N& |; `" ?& p: u
  927. ;date.default_latitude = 31.76679 Y! ^3 r$ ?2 G* ]# ~: b9 b& T
  928. * ~- M" M, w2 x$ {* |9 ]
  929. ; http://php.net/date.default-longitude
    0 x/ J  j5 S) @
  930. ;date.default_longitude = 35.2333. U; Z3 @- ]- K" G

  931. 9 i) r) g  Z% e" p$ G
  932. ; http://php.net/date.sunrise-zenith: x9 a3 }- {+ L8 d& _7 t) Z" o6 h
  933. ;date.sunrise_zenith = 90.583333
    / ^- h8 C' i1 }* a0 n+ h
  934. ' \% l% z1 w# ~
  935. ; http://php.net/date.sunset-zenith
    + _8 V% q' H% t
  936. ;date.sunset_zenith = 90.5833339 {0 j. O9 ~! {2 q
  937. - b9 B0 r1 K0 C) V; b) q2 z2 k: o  a
  938. [filter]8 D5 C8 D4 o; v: X
  939. ; http://php.net/filter.default8 l! v% A- p- c3 l. K2 ^
  940. ;filter.default = unsafe_raw, J: W/ D+ C/ g7 L/ U& [- T) l

  941. 7 G6 o* }3 `2 p* L% Y8 ~
  942. ; http://php.net/filter.default-flags' ]. u8 ^# @6 H4 B/ |
  943. ;filter.default_flags =
    * p5 ]! B6 |. W3 l5 H  W2 _
  944. ! |& K& F9 f9 e  K3 v1 e5 P
  945. [iconv]' s  e- ?; C  }4 G& V9 {, L
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    2 b, \8 q. x% O: j, u8 d
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.7 w) ]" ~0 \4 Q2 P0 T1 {
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    , n' W  {+ b5 F1 g: V  o
  949. ;iconv.input_encoding =
    3 ^, Q3 R- P$ o( _0 d
  950. . p* {( m- k: Y  F3 y) E3 Z5 l1 b; ?
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.! }  p  V0 T* x9 \! g; e
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.: D8 ?4 |4 Y9 D4 ^% Q' S& U1 L
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding4 K+ L* E, F) i$ {# Z3 y
  954. ;iconv.internal_encoding =
    1 m/ `4 G1 J, E% Q' d9 L
  955. 2 y1 n# y9 M. U6 {5 x; j
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.  M8 t4 q! o. ~$ _) m# x  `) H2 ?
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    ' f0 |/ k* Z5 T" D' h7 I
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding: J0 }9 _: i9 n4 u" |
  959. ; To use an output encoding conversion, iconv's output handler must be set
    6 N8 t! I. J( D: G) D
  960. ; otherwise output encoding conversion cannot be performed.
    8 w0 P( F5 Z( i5 ?7 ~3 E& `
  961. ;iconv.output_encoding =" u. i3 j7 p7 H0 J7 m

  962. - @3 h4 T9 e  u) z* w6 t/ `
  963. [intl]
    ) m) M; I& V) J  g7 U' [  l
  964. ;intl.default_locale =/ G) U/ j/ O0 R# W
  965. ; This directive allows you to produce PHP errors when some error, q, {- j5 h( z# c
  966. ; happens within intl functions. The value is the level of the error produced.- T9 B- m2 F# n5 P
  967. ; Default is 0, which does not produce any errors.
    * q  M. ^- x" n2 Z
  968. ;intl.error_level = E_WARNING
    - v4 G4 a+ N( e( G5 Q. k( ?" r
  969. ;intl.use_exceptions = 0
    ; K) R, S4 p! {% c- t( s% ~
  970. ' v9 `, v" A2 ~: w4 R  |! q
  971. [sqlite3]
    4 k' N, F" l- p" a5 S3 ]
  972. ;sqlite3.extension_dir =
    ! [% R" ?0 M9 `# z% A. o2 E
  973. * C+ \: c! g, D4 m
  974. [Pcre]
    % A6 ~9 G9 P' _8 q" b: R
  975. ;PCRE library backtracking limit.
    & N$ k; [/ l( u; j+ m
  976. ; http://php.net/pcre.backtrack-limit2 y% W( c  P$ L0 {( ?7 k, [
  977. ;pcre.backtrack_limit=100000
    7 E6 f% ?0 b. x* E2 w' N3 L+ Y) z4 y

  978. ) `, b1 \' S3 B) e' {- b& |' p& d9 G- g
  979. ;PCRE library recursion limit.  P& T( F5 U$ [3 B' x9 ^
  980. ;Please note that if you set this value to a high number you may consume all/ a3 N! [( z& W2 t, x& ?
  981. ;the available process stack and eventually crash PHP (due to reaching the3 q7 g$ ~+ D6 C9 u* R
  982. ;stack size limit imposed by the Operating System).1 S( j8 T8 {8 F
  983. ; http://php.net/pcre.recursion-limit
    # v! \5 r1 v( q- b: S* n; v
  984. ;pcre.recursion_limit=100000
    ' Y9 x: G7 |/ ]$ z( J4 ~

  985. ( x3 E$ ^! q0 _1 w& h% a  E
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    0 @. i  V( U9 ~, D" ?  Z8 H# C. K2 b
  987. ;library to be compiled with JIT support." ]8 `7 w4 F8 Z, l0 r8 _- |
  988. ;pcre.jit=1
    + f# [$ Y) F( ~3 j0 G
  989. 6 B5 y- W& ~) p! A) M# f! ?8 N
  990. [Pdo]
    ' G0 {" t3 ~; W: [  U
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"1 H: [6 ?1 R' d+ U7 N
  992. ; http://php.net/pdo-odbc.connection-pooling: L9 H3 a' v4 l
  993. ;pdo_odbc.connection_pooling=strict
    $ W* X) s- D$ L; b* o8 I

  994. 9 `1 ]2 [) U; d( u* F( S
  995. ;pdo_odbc.db2_instance_name) p) t+ l8 z* z6 Y
  996. 1 o: T1 j( i: t5 B5 w# q
  997. [Pdo_mysql]* c2 ?* f) [1 O0 v) Z! X( _, t
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache; ]8 Z) H2 W  Q* C4 |. L8 S& |' a
  999. ; http://php.net/pdo_mysql.cache_size" \$ b5 J+ j& Q+ m9 l( V3 I& b; j
  1000. pdo_mysql.cache_size = 2000% p: e: K) R1 O3 V; M) T) H# i
  1001. 3 F# n& }& N- E* x2 I7 M) V9 ^& i
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in- U9 m0 f5 i3 O7 J# B* f/ _4 Y
  1003. ; MySQL defaults.
    * B6 l; m$ u: K+ `3 o
  1004. ; http://php.net/pdo_mysql.default-socket
    ! E$ `: P( ~* s# L; T
  1005. pdo_mysql.default_socket=
    ; T. [9 I4 m( F) K* h  E/ W

  1006. 8 B( V( q8 S, Y
  1007. [Phar]
    9 v5 K0 \% j; c  ]
  1008. ; http://php.net/phar.readonly' ?5 b7 ~2 Z" F1 D
  1009. ;phar.readonly = On
    $ R' ?3 D2 X9 q+ h' A* @: _/ B

  1010. 3 a8 Z5 G3 }( D  d
  1011. ; http://php.net/phar.require-hash& o+ ~7 R9 J! A
  1012. ;phar.require_hash = On
    # l7 r/ D5 |% H: u7 X  @, J, Z2 d
  1013. 1 {& t* g7 N0 T& w5 W' h7 ?6 d
  1014. ;phar.cache_list =
    $ W% ]9 ^/ J/ r# c
  1015. 6 C# L# r& Q: K! v$ g
  1016. [mail function]
    9 T! y  Z, Z, H$ n3 W# J( B+ {
  1017. ; For Win32 only.2 w, I  }' b8 Z: f. j, u
  1018. ; http://php.net/smtp
    5 a; E* E7 `4 ]8 p( V( C9 q7 P
  1019. SMTP = localhost6 A+ x. x$ e: L, L% l6 o% l' J
  1020. ; http://php.net/smtp-port
    6 q3 \, d0 g/ H# s. q3 W# t9 D
  1021. smtp_port = 25& Z; u& ~9 v$ n5 z! J

  1022. ' b1 U+ F! L( P, x
  1023. ; For Win32 only.
    $ W1 E4 n; O6 ]
  1024. ; http://php.net/sendmail-from
    7 \8 c- O1 N2 O% H, H4 `1 J
  1025. ;sendmail_from = me@example.com" n3 a: r7 w" V

  1026. / R* k, G) w: d- Q( }5 G
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    0 p4 k4 S4 j% G8 ]$ b
  1028. ; http://php.net/sendmail-path
    * Q( w' m% y. m% M
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    8 x4 i$ t! D# S) S8 D, B( g
  1030. / |6 X. u4 F7 {, l
  1031. ; Force the addition of the specified parameters to be passed as extra parameters* l- T! ?- j% A: u' k! f! R
  1032. ; to the sendmail binary. These parameters will always replace the value of7 z* `. x9 M2 P' [3 \
  1033. ; the 5th parameter to mail().- l3 w' N- G; U6 o" a; u2 m8 V5 u1 @
  1034. ;mail.force_extra_parameters =
    , t6 k. c' b: I5 P% n
  1035. : e# \2 D& f+ K' C1 `6 U7 O6 n( v
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    $ m  L6 {2 S6 `2 |0 J7 l" N
  1037. mail.add_x_header = On
    + ~; F; _" m, ^1 F
  1038. ; H: t/ P4 j$ w$ X4 e1 H
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    # R0 U5 l1 h# c6 Z" z  V3 ~
  1040. ; the full path of the script, line number, To address and headers.) w. \& \7 V% n1 Q2 L3 i  y1 h- R
  1041. ;mail.log =0 U9 W  |% y$ y7 ^7 ~
  1042. ; Log mail to syslog (Event Log on Windows).
    % X  R' {2 m3 P4 d' c: E; o& V+ \4 D
  1043. ;mail.log = syslog- M6 `1 S( {/ |- ]
  1044. ' z& U: I2 h, ?
  1045. [SQL]0 C* |- n( E+ D9 Z  f
  1046. ; http://php.net/sql.safe-mode
    ' E& L; c$ u- ?- p$ u
  1047. sql.safe_mode = Off8 d+ b5 e0 u; _! w
  1048. % I2 |' @% z6 U0 @+ t; N9 q; O. [
  1049. [ODBC]
    8 w( d$ w( k# B) ~
  1050. ; http://php.net/odbc.default-db9 F0 |" L: O3 c2 w
  1051. ;odbc.default_db    =  Not yet implemented
    # G& ~' _9 c+ p8 d! ]

  1052. 0 t3 q- C( ^+ E1 ^& u
  1053. ; http://php.net/odbc.default-user
    # l# L8 J$ _' l6 d+ C: _" @
  1054. ;odbc.default_user  =  Not yet implemented
    ( [' b# x- A! O1 @

  1055. 7 G" ]  r! X0 b2 b
  1056. ; http://php.net/odbc.default-pw
    " c5 i5 U" H/ N0 x: X
  1057. ;odbc.default_pw    =  Not yet implemented5 ]# @. c( F3 X9 j; J
  1058.   z* Y1 t7 |5 y) L. \4 l3 y  e
  1059. ; Controls the ODBC cursor model.
    9 |0 X2 A5 Q, h4 J% T! I& y  }
  1060. ; Default: SQL_CURSOR_STATIC (default).) ?7 a. y( \: C2 R' x3 ^+ k
  1061. ;odbc.default_cursortype, c/ V+ ?8 _9 C+ ^$ R+ i

  1062. . y( t; Z' S2 t, P6 e' I1 U4 i
  1063. ; Allow or prevent persistent links.
    & _+ U( I7 d9 f0 J2 S: B  h
  1064. ; http://php.net/odbc.allow-persistent
    2 U$ C, e( O- ]
  1065. odbc.allow_persistent = On
    " T* P, E5 T8 {8 o
  1066. ) c; d( H6 r/ x8 `3 F8 Z
  1067. ; Check that a connection is still valid before reuse." O2 O) Q) Q: w* Y0 p% d) \: [
  1068. ; http://php.net/odbc.check-persistent. _3 `2 ?! `. i( }/ J+ s
  1069. odbc.check_persistent = On/ y2 x% d! R5 _$ a9 N4 B4 t
  1070. ' I9 h; }; i/ L! K. A) p* n
  1071. ; Maximum number of persistent links.  -1 means no limit.
    ) o; v) j+ @" u3 t
  1072. ; http://php.net/odbc.max-persistent
    2 J0 Q, @7 r6 s# R( S8 p
  1073. odbc.max_persistent = -12 b6 h' W) H- ?, Y% Y# m# t: k

  1074. 2 s/ G+ ^* F% R! u# a+ }
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.$ z/ O; X7 @& e4 z
  1076. ; http://php.net/odbc.max-links5 C3 Z7 J+ s0 T* x) e+ }1 G
  1077. odbc.max_links = -17 Q1 X! r8 N* Q" r( ~

  1078. 9 w) e4 |4 X3 U  z4 i
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    ) _8 N; Y: N  \& r
  1080. ; passthru.
      k2 Z8 w- X1 `9 h
  1081. ; http://php.net/odbc.defaultlrl9 {; W! m" c- K. \# p/ l
  1082. odbc.defaultlrl = 4096
    3 ?- `$ [. ]) L3 q) T. e
  1083. 3 l, B1 V: ^1 |- u
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.7 y: x# A' H; E5 L0 c! X! p
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    ' V3 l/ ~# G1 {
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    2 W7 D6 j% p* f* }- M, c* R6 M; |
  1087. ; http://php.net/odbc.defaultbinmode' z5 z6 t% ?5 S  v! Y. y
  1088. odbc.defaultbinmode = 1
      B! X( o8 p7 h3 @  ]8 {8 ?7 Q

  1089. ) T, ^1 e; Q3 O9 D1 b
  1090. ;birdstep.max_links = -1
    9 A# [# D. c  d/ _" H
  1091. 7 R0 |1 E0 d! G$ T3 N
  1092. [Interbase]$ U3 A. ^- ^8 l" A0 R' R
  1093. ; Allow or prevent persistent links.( d' |  K5 M1 y: ^9 c
  1094. ibase.allow_persistent = 15 b" s& O6 r) k! D; l4 Y
  1095. 4 A2 }1 c3 O) |2 s
  1096. ; Maximum number of persistent links.  -1 means no limit.
    6 y: B- N# a0 X6 F- ?
  1097. ibase.max_persistent = -1$ ^% L& D& ?  r( Z3 w

  1098. 1 c" l& `2 X# A) ?% i0 ?
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    * D  Z+ F7 @/ {$ N8 O
  1100. ibase.max_links = -1* H8 n0 f; ^& u$ R/ [
  1101. ) @4 e8 J: l) J5 x5 d
  1102. ; Default database name for ibase_connect().
    ' c$ b6 k4 ]  {- }$ R. c# E
  1103. ;ibase.default_db =3 p4 m% G/ g. [* v8 n/ H2 X' v. ~1 O
  1104. 0 n( N% A, E5 y1 C0 i1 T8 x
  1105. ; Default username for ibase_connect().
    4 p3 A( i3 l6 D" b
  1106. ;ibase.default_user =$ f: |5 b6 s6 ]2 D4 ~

  1107. 9 A9 l: u5 h  Q* n0 V+ ?
  1108. ; Default password for ibase_connect().% E. K  O: C+ j/ _8 s/ G
  1109. ;ibase.default_password =
    # |' ]& g8 E+ D- D
  1110. ; D: y7 K6 N( s, i
  1111. ; Default charset for ibase_connect().& l8 J2 }1 ^& v7 P! ~1 b
  1112. ;ibase.default_charset =
    # m' F# e& c$ P% _: x$ k  a

  1113. . d1 b. I: t+ E6 i" C0 a+ L
  1114. ; Default timestamp format., U% i* ^' V- E4 r2 M( M8 d
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"# h+ f' v# d  \# c; u$ |6 f% b6 [) `
  1116. 4 ]2 C9 f2 P3 N+ \. N+ I) I1 |
  1117. ; Default date format.
    ; C; ]( {" n' b- ^2 |3 q
  1118. ibase.dateformat = "%Y-%m-%d"& n! |4 j# l: o) w! e

  1119. : p9 i  F/ {! e! s
  1120. ; Default time format.0 |/ U- ^/ a" m4 \) r% E
  1121. ibase.timeformat = "%H:%M:%S"
    % n2 Y: h0 L! a4 g, |9 p

  1122. 6 p0 B7 F% Z: }
  1123. [MySQLi]
    ) Z6 O: }' d8 K" J$ C
  1124. - S) q) j' m" L6 c" F. [1 V
  1125. ; Maximum number of persistent links.  -1 means no limit.
    ; j& T8 u% C+ o# b  n# \# F
  1126. ; http://php.net/mysqli.max-persistent+ i7 B& w- a" K
  1127. mysqli.max_persistent = -11 ]; j& ?- N" H2 k1 j! l/ \

  1128. & v5 p. M7 U1 A
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    , N9 o7 u1 Q$ ^; x( X) ~
  1130. ; http://php.net/mysqli.allow_local_infile- v" F! A7 F1 q+ L# d& b0 B
  1131. ;mysqli.allow_local_infile = On% w" w; w. C0 V5 O3 l9 E5 O* j2 E

  1132.   W* t/ C! l" J7 M% ^$ [
  1133. ; Allow or prevent persistent links." T: N3 l* ]3 m! S$ _! A3 _; o4 }" @
  1134. ; http://php.net/mysqli.allow-persistent
    & z- b' I! ~$ U# j
  1135. mysqli.allow_persistent = On
    + ^& ^/ ?6 ]& T( B+ F/ r

  1136. ; w' F0 D: Q% D2 K, L% x- J4 j
  1137. ; Maximum number of links.  -1 means no limit.4 S# [1 {6 S6 |+ W: c  Y# U
  1138. ; http://php.net/mysqli.max-links- `* t& e) J5 j0 x- M$ o# d
  1139. mysqli.max_links = -17 F' e! i8 Y5 h

  1140. ' y2 j1 Q$ y3 e$ u
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    1 N, W+ q' n& R
  1142. ; http://php.net/mysqli.cache_size
    4 i, S5 ~  o8 j, h
  1143. mysqli.cache_size = 2000+ G5 R) a' u! C" k+ N

  1144. - S: }6 t9 S! d7 a$ a  t
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    + ?  D5 m9 j) |% O0 B) i
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    3 _) `  ?9 \: w3 c& m
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look$ M2 L8 Q1 s2 p1 u3 @% W' Y+ U
  1148. ; at MYSQL_PORT.. n2 R0 K& l" w! v
  1149. ; http://php.net/mysqli.default-port
    ) f/ l/ t! \) g, F, d! y- ~1 ]; y
  1150. mysqli.default_port = 33068 X2 o! m: n, y' ?5 U8 |
  1151. 8 b% f5 L) A. J9 U$ ]
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    4 ?3 l" I0 k) M& V7 J
  1153. ; MySQL defaults.# O8 R; T7 [' j4 T+ T
  1154. ; http://php.net/mysqli.default-socket9 f$ i0 _& e$ ?  m' `
  1155. mysqli.default_socket =, a/ G, r7 @0 F! _
  1156. ! e3 H  k0 n0 [) l2 w
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).) A# ]- w) S0 E% Q4 ?
  1158. ; http://php.net/mysqli.default-host
    ) D% k! B, [" ?1 E9 }
  1159. mysqli.default_host =- a& @# G, [' y
  1160. ' F1 }4 I# L4 f6 a7 z% v0 \% e
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).1 \1 f, |4 d6 K8 t* Z4 S# _  Z
  1162. ; http://php.net/mysqli.default-user4 q% I  v& {' s$ _2 b
  1163. mysqli.default_user =
    & P" _+ {/ X3 q  x8 u

  1164. % I$ _7 s3 c! u; K$ C
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    5 t) k6 o: f/ V$ k; S  q4 A
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.5 ~& b# A8 T6 j/ e  ~/ P# U
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")) N+ \' n8 J( D. D& r
  1168. ; and reveal this password!  And of course, any users with read access to this2 W# j7 A0 ~1 ~
  1169. ; file will be able to reveal the password as well.
    ' C0 \) T; S8 R& T
  1170. ; http://php.net/mysqli.default-pw1 K4 g6 G) i7 }, A3 \! C
  1171. mysqli.default_pw =" C0 S$ |, l3 ^8 P! e) z
  1172. - k. `$ w" `, h
  1173. ; Allow or prevent reconnect
    / e; z" j  S) n) Y' ~
  1174. mysqli.reconnect = Off
    + L6 M3 a6 H) b0 o9 d- T

  1175. * n- W; [+ D) I. V1 K5 W$ a
  1176. [mysqlnd]
    0 ^. U, F0 x' I2 v# M
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    : M$ V4 I) P9 `4 D& Y! L; p& `5 }
  1178. ; used to tune and monitor MySQL operations.3 f( S  `. B' ^2 u- f
  1179. ; http://php.net/mysqlnd.collect_statistics3 w6 |4 f& t6 X- a8 S. v
  1180. mysqlnd.collect_statistics = On+ F5 B7 v3 y" w+ a* Z/ B/ D

  1181. ; g3 K" L- y0 V. e) [) d+ z
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    & O; |  Z2 M. M! G! L
  1183. ; used to tune and monitor MySQL operations.
    . E6 B. b; [* ~" J' Z
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    , _2 p+ X9 M/ e" R) o
  1185. mysqlnd.collect_memory_statistics = Off
    & ]7 A0 m% U" X
  1186. " [* q2 o1 t! q  P
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    . |( |# Q, |  h; C0 W+ J: n
  1188. ; file.
    5 A4 w8 j6 G- `- ~. b1 H4 J
  1189. ; http://php.net/mysqlnd.debug8 U0 l. C, z( |3 D! U5 K
  1190. ;mysqlnd.debug =
    6 W& t7 I3 \& v3 J

  1191.   l2 Q3 h4 @% i  f/ D! m* X
  1192. ; Defines which queries will be logged.
    2 ]% U9 g# Z$ i( ~9 D3 j
  1193. ; http://php.net/mysqlnd.log_mask2 Q' {. f2 |1 W1 q; O* c8 m
  1194. ;mysqlnd.log_mask = 0; p  J  U* n+ n% \0 M. |0 y! t

  1195. # i3 S: f% `% t- |2 o
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.& T" u1 [! @9 d% Y
  1197. ; http://php.net/mysqlnd.mempool_default_size
    ) K/ h* l& z5 }3 L
  1198. ;mysqlnd.mempool_default_size = 16000# d/ n( _. T$ P' V: E0 y
  1199. 8 ]; e$ M9 ?, g6 ^
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    ( S# O5 i0 [% H) J$ Y% D
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size6 `& s5 i/ D" X& _/ Z- }0 u- s
  1202. ;mysqlnd.net_cmd_buffer_size = 2048; g0 @4 B1 o1 d  _- z

  1203. * C. s5 t! {. f. a6 f
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in! J+ L. ?, `7 u* R6 Y: W( H
  1205. ; bytes.4 g+ r  Z. U8 d' A6 k% y! g
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    9 I! v5 F. _# @7 J8 p
  1207. ;mysqlnd.net_read_buffer_size = 32768
    ' a3 v6 ]. [% E
  1208. , x' G- ]# f/ B$ _/ ~2 ?$ J
  1209. ; Timeout for network requests in seconds." o! t/ ?1 `$ X$ W- f. j: q2 m
  1210. ; http://php.net/mysqlnd.net_read_timeout3 P8 v8 R, A4 C. v# [6 O9 |. T3 r
  1211. ;mysqlnd.net_read_timeout = 31536000
    / @6 i2 z, L0 e7 T/ B
  1212.   Z9 @8 M7 e& ]" V
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA- f& b- k- U; q# E: I% m
  1214. ; key.
    : A8 _2 i' h1 r( |) x8 I
  1215. ; http://php.net/mysqlnd.sha256_server_public_key- u3 `6 _9 b1 u$ e- T: |& \4 ]8 I2 O
  1216. ;mysqlnd.sha256_server_public_key =* |9 Q. F3 c1 P! E8 a' I1 H+ p9 y
  1217. 1 x+ s+ t* W2 M$ D
  1218. [OCI8]( i* O/ b3 k* n+ u. m  M' q

  1219. ; @* q+ M  Z9 r5 @
  1220. ; Connection: Enables privileged connections using external
    , _+ r6 T8 i* H" }5 w
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)- f0 f, f: q9 T5 e7 L  V
  1222. ; http://php.net/oci8.privileged-connect7 s0 N" Y9 D+ W4 e* {) I% J3 C
  1223. ;oci8.privileged_connect = Off5 b  f$ e) y3 M9 r5 X" ]

  1224. # w# O, R# q3 p* C, A2 @- z; y6 W
  1225. ; Connection: The maximum number of persistent OCI8 connections per/ U; [/ \: G4 f3 a8 t1 a
  1226. ; process. Using -1 means no limit.- {0 g, P7 l$ i$ J( Y& n
  1227. ; http://php.net/oci8.max-persistent0 u4 C, F* J0 z- H% M
  1228. ;oci8.max_persistent = -11 }& Q, ]8 `9 u. H! p9 o# G/ w

  1229. 1 c! J7 K! E1 I2 v" w& \: B
  1230. ; Connection: The maximum number of seconds a process is allowed to  z# k; B( v$ K9 V
  1231. ; maintain an idle persistent connection. Using -1 means idle
      t# A7 q! d8 E7 w1 o& u( L
  1232. ; persistent connections will be maintained forever.
    4 [9 H3 V7 ~) _8 m7 a4 t5 `$ s' f  a
  1233. ; http://php.net/oci8.persistent-timeout, ?* p/ B/ Q5 \# y
  1234. ;oci8.persistent_timeout = -1" u, `9 n& S. m) v
  1235. 6 u& p: P1 F% D5 p) c
  1236. ; Connection: The number of seconds that must pass before issuing a
    / L( `1 v# }+ P, N% U8 L6 n$ S
  1237. ; ping during oci_pconnect() to check the connection validity. When. w- x4 n" e1 s- l( ]& Q* b
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables) G4 ]% y  M% A3 U0 l
  1239. ; pings completely.- d* o; d$ O$ c! K; m' P7 I+ H# ?7 n$ f
  1240. ; http://php.net/oci8.ping-interval
    6 J# [/ k. ~) ]& k
  1241. ;oci8.ping_interval = 60* Y5 o% ?# F3 f3 d
  1242. ! w& _; L, A- }& @
  1243. ; Connection: Set this to a user chosen connection class to be used
    9 e, b3 o, `' G( [! r& i
  1244. ; for all pooled server requests with Oracle 11g Database Resident- `/ h$ H7 }% z4 r$ P2 _
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to( w( C+ S( r8 J; N' ~; W! s
  1246. ; the same string for all web servers running the same application,
    : V. M6 V8 [9 ]5 F2 x: {
  1247. ; the database pool must be configured, and the connection string must. p5 Y, |+ I- T( t+ ^* a- V; M* Q
  1248. ; specify to use a pooled server.& `4 V) M' L5 B
  1249. ;oci8.connection_class =& t9 |- \2 Z# |: j
  1250. 5 \! I& w2 Y/ w$ G/ I7 R% A9 g
  1251. ; High Availability: Using On lets PHP receive Fast Application
    : i! v: N5 k! c& l% e
  1252. ; Notification (FAN) events generated when a database node fails. The2 m! n7 t! d. F- z8 Y) H
  1253. ; database must also be configured to post FAN events.
    1 R, e, j# u8 G2 S. i3 A
  1254. ;oci8.events = Off- s& \3 D" v$ [$ {! p; I
  1255. * J; `) z/ v7 y9 R- L1 r" |8 o
  1256. ; Tuning: This option enables statement caching, and specifies how% @+ g) E) {. y9 V0 T+ u
  1257. ; many statements to cache. Using 0 disables statement caching.
    ' [; L6 t3 h0 [
  1258. ; http://php.net/oci8.statement-cache-size  v, Y9 j1 @) A' m1 r, c7 F
  1259. ;oci8.statement_cache_size = 20
    1 Y, [% |  `; Y/ e( Z' ?8 s
  1260. - G; P) ^4 ]3 ]* a  e- s* f- ?
  1261. ; Tuning: Enables statement prefetching and sets the default number of% F  ?1 \* L1 g, X; g* E
  1262. ; rows that will be fetched automatically after statement execution.
    ; k9 Y4 S& S: B% U9 ]' {
  1263. ; http://php.net/oci8.default-prefetch
    0 ^+ H$ G- `+ ?/ }# n& U" J* G& W
  1264. ;oci8.default_prefetch = 100
    ; E' l2 p. l* Q4 Z& I: K

  1265. - K0 k2 r5 j+ D8 b4 p
  1266. ; Compatibility. Using On means oci_close() will not close3 A9 E4 C+ M' U+ p/ d" L3 u
  1267. ; oci_connect() and oci_new_connect() connections.$ ~. O" L/ M9 n! l' @3 u
  1268. ; http://php.net/oci8.old-oci-close-semantics
    : w& \+ J6 Z/ Q8 a
  1269. ;oci8.old_oci_close_semantics = Off
    $ Z6 ?* J$ Y, g
  1270. . N* k0 n, C5 V
  1271. [PostgreSQL]' }" V% Z) T4 G3 [$ d
  1272. ; Allow or prevent persistent links.! |) x( k' `' F
  1273. ; http://php.net/pgsql.allow-persistent
    4 Z. Y/ `  _; ?: v- a2 }! W0 T# @' ?
  1274. pgsql.allow_persistent = On) `, I' W6 n6 i$ W5 s
  1275. % A3 a  n3 N6 ^: r6 T: D
  1276. ; Detect broken persistent links always with pg_pconnect().0 v1 e4 y0 q& v2 @2 J
  1277. ; Auto reset feature requires a little overheads.( E& g. Y6 [+ x8 k, p8 @
  1278. ; http://php.net/pgsql.auto-reset-persistent! J5 @7 P9 L! t2 j% j
  1279. pgsql.auto_reset_persistent = Off, |5 j2 Y$ G2 x% t8 i, I

  1280. # K, ?; X( ~: F- D: t; [; T
  1281. ; Maximum number of persistent links.  -1 means no limit.% f" M' x! }( U# n0 B/ ^  S( g
  1282. ; http://php.net/pgsql.max-persistent
    & f1 q3 k$ ?7 d2 R1 h2 l; o  K
  1283. pgsql.max_persistent = -1$ f) p. l8 U0 R! U; G+ C
  1284. 9 h# M8 F0 [+ r! @3 _2 ~! y' z
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    5 N5 Y9 J* ?* q& m5 Y, y" Q
  1286. ; http://php.net/pgsql.max-links
    / G5 B# a. G2 X. E  m4 d- f1 j8 G
  1287. pgsql.max_links = -1
    9 Q6 v! \( L$ b5 O& ]7 r
  1288. 3 `7 o% M0 w4 s) S
  1289. ; Ignore PostgreSQL backends Notice message or not.
    8 V. S5 ]: Y6 E
  1290. ; Notice message logging require a little overheads.* t/ h6 u( e, U7 W$ t% W
  1291. ; http://php.net/pgsql.ignore-notice4 M; o; U' L& j
  1292. pgsql.ignore_notice = 0/ H; s3 U/ H, @1 f
  1293. $ S# L; K) |# @
  1294. ; Log PostgreSQL backends Notice message or not.3 R7 D2 e; s' D% Y- l, ^) S
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    : @$ `( D" U+ d/ w$ [! k) ?2 c- a
  1296. ; http://php.net/pgsql.log-notice- ~0 u% s7 Z0 x+ C5 U
  1297. pgsql.log_notice = 0: B8 ?( J1 y$ D: ?2 n

  1298. ! h) h/ e4 p- r0 ]' H2 {8 |
  1299. [bcmath]
    ( z$ ?& Q4 G" w; p8 Y6 r
  1300. ; Number of decimal digits for all bcmath functions." x7 W4 }: D8 j2 E. J3 Z
  1301. ; http://php.net/bcmath.scale
    9 \" ~- A6 `0 J3 A% Y
  1302. bcmath.scale = 0% g( _) y+ }5 i; F) t# Z

  1303. ) Z- P9 C) B6 V% \
  1304. [browscap]2 {2 N; K9 s( N9 n9 x  Y" C4 @
  1305. ; http://php.net/browscap
    7 y8 [! f4 N2 q' B
  1306. ;browscap = extra/browscap.ini
    5 e7 O0 p  e3 X  Y4 @
  1307. / ~  [: }2 T  k8 ?
  1308. [Session]6 g5 [% y7 g( V0 O2 q$ S
  1309. ; Handler used to store/retrieve data.1 _; P; _0 f, j5 Y5 q* g: x( Y
  1310. ; http://php.net/session.save-handler' H1 ^9 I. n" j
  1311. session.save_handler = files* y" |+ N3 u7 a

  1312. 3 R( n0 Z, g0 I6 h1 L+ V7 k/ n
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    ' ^0 p) f+ n5 D, _( S
  1314. ; where data files are stored. Note: Windows users have to change this
    9 C7 ^* q) Z3 [. g# r) y
  1315. ; variable in order to use PHP's session functions.1 u0 F1 w$ u( c
  1316. ;- P8 A: n: m$ ?/ z0 j+ W
  1317. ; The path can be defined as:
    0 y) O9 s( k/ G
  1318. ;! h% R/ a  X+ @' @5 ~
  1319. ;     session.save_path = "N;/path"* B: n. l- r% Z
  1320. ;0 s/ Y4 m% W% d9 ~* q% y  A
  1321. ; where N is an integer.  Instead of storing all the session files in
    * ~1 A2 j) K1 L/ k/ X# |3 d
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    7 j( V0 `. G1 U
  1323. ; store the session data in those directories.  This is useful if
    & }, W3 ]& t* n; [
  1324. ; your OS has problems with many files in one directory, and is
    8 r' d8 j4 y: y& D8 C( s
  1325. ; a more efficient layout for servers that handle many sessions.
    : i, z+ R( e$ a6 F! z# Y- P" N  p
  1326. ;
    . |8 H% b( V9 W; n2 {
  1327. ; NOTE 1: PHP will not create this directory structure automatically.- d/ r' z; S) y3 }
  1328. ;         You can use the script in the ext/session dir for that purpose.
    * C  G, _6 A' n; f+ L1 a8 e2 V" y
  1329. ; NOTE 2: See the section on garbage collection below if you choose to9 y9 W! n" Y5 i3 ^7 S- v
  1330. ;         use subdirectories for session storage3 I. ~' ^/ e1 X# {, `! Z/ t
  1331. ;
    * A8 P  b0 b. X7 P
  1332. ; The file storage module creates files using mode 600 by default.
    ) g/ G: E+ E& H) j9 j- F+ Q, e
  1333. ; You can change that by using
    - I2 |% l8 T9 x( K2 K( ?8 c$ U
  1334. ;0 Z- ?* P4 f; n2 G0 V
  1335. ;     session.save_path = "N;MODE;/path"
    # i% C: x" N5 @" h7 G
  1336. ;
    $ e3 |# I7 V% v+ a$ {
  1337. ; where MODE is the octal representation of the mode. Note that this0 ~0 b9 n) \- `& l1 g. s) v
  1338. ; does not overwrite the process's umask.
    + N6 @( w4 |+ _  o
  1339. ; http://php.net/session.save-path* r5 `( _. a/ e/ R. U8 r. l
  1340. ;session.save_path = "/tmp"1 F( m7 d0 t' H, Y3 Q1 _! N3 `1 Q
  1341. + f5 ~9 P( x3 b$ Q& k) G" m) M- ?
  1342. ; Whether to use strict session mode.
    + v  z7 n1 a; _3 b2 E6 K; I
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    ( j1 ]- D: w$ [3 |
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    ( T+ h8 w2 Z  W% O7 Q
  1345. ; applications from session fixation via session adoption vulnerability. It is
    8 o  f8 \% u$ i* g8 \' f( _
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    1 K0 i0 T1 K  }, I
  1347. ; https://wiki.php.net/rfc/strict_sessions
    7 |& \! J7 u- w. {4 N% R# u4 h' v
  1348. session.use_strict_mode = 0+ n) f+ P8 z& z3 X' Z) U+ ^" y
  1349. 7 r2 N% D' m# b1 n' }  q
  1350. ; Whether to use cookies.
    ( L, E. s! O# c/ ~$ Z2 h4 c* v
  1351. ; http://php.net/session.use-cookies. h1 W) J; w! K: y5 H' X9 O
  1352. session.use_cookies = 1
    $ ?& ~9 ^. p3 m- j. ~* l: s+ u

  1353. # b2 B; Z, n/ _( O: X. \! J0 p( H6 {
  1354. ; http://php.net/session.cookie-secure4 s9 L8 E# q. @( l
  1355. ;session.cookie_secure =3 D7 ~8 i9 l6 U; W+ A* l6 W3 z

  1356. - M* M1 P  q9 a8 P4 V
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    - \/ [& S) N1 Q' {# I% w
  1358. ; the session id. We encourage this operation as it's very helpful in combating/ s9 [! [9 x; g& `( \- [
  1359. ; session hijacking when not specifying and managing your own session id. It is
    4 u4 F* z, {' d/ H- V/ H6 d# P
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    * v7 c' J- j5 M* W; |
  1361. ; http://php.net/session.use-only-cookies
    8 u8 T) e# b7 F2 t
  1362. session.use_only_cookies = 1; Z# {( o# h3 c2 _

  1363. 6 h9 {2 }8 q9 N9 _$ a
  1364. ; Name of the session (used as cookie name).5 z7 j4 {$ @+ F4 I, M  D
  1365. ; http://php.net/session.name
    9 a; }. K: Q: i4 F2 n5 d1 a
  1366. session.name = PHPSESSID( Z2 N% S& h$ p- _9 Q. _
  1367. + ^! K$ ~% ?0 [9 S
  1368. ; Initialize session on request startup.9 W; r" }6 G5 L  @
  1369. ; http://php.net/session.auto-start
    & u8 I( J! {) O1 }; H& E( e3 b
  1370. session.auto_start = 0$ D% `; C; W$ W+ o0 J8 v/ _$ D  @

  1371. & D( f% U; f) ^6 B2 d& C3 D
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.* t9 d% Q. F' _/ ], p
  1373. ; http://php.net/session.cookie-lifetime
    ( u8 I9 b  c  ]; V
  1374. session.cookie_lifetime = 0; }$ l: f8 f( v- o8 g6 ]
  1375. / z* Y! I& Y% }0 R0 s' n" T8 m6 r
  1376. ; The path for which the cookie is valid.
    9 v& a8 H' Y' [+ Y4 Y
  1377. ; http://php.net/session.cookie-path( Z' I, [8 `/ _* l2 I& l% w
  1378. session.cookie_path = /0 G$ D2 `3 A6 A. ?: U3 n3 k& s

  1379. 9 e5 X0 `. j; i) @
  1380. ; The domain for which the cookie is valid.
    / z. H' t- _2 G7 x8 Q
  1381. ; http://php.net/session.cookie-domain; H$ v) Q% `4 N& K* Z8 ^
  1382. session.cookie_domain =
    $ z9 k5 R3 l6 a9 V% H

  1383. ; W0 F/ Q1 L% p) A0 O" n! }- X) J
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    2 m! l, z7 N- I' G
  1385. ; http://php.net/session.cookie-httponly8 Q% ?6 ]; r# @' O- M
  1386. session.cookie_httponly =  Q6 I% d4 A- c. p- t. L$ X
  1387. % J8 K0 S# P: h
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    / V+ T" S2 ^7 N3 Y, U  q
  1389. ; http://php.net/session.serialize-handler
    5 m  I! g  v/ o+ M9 x
  1390. session.serialize_handler = php
    6 t3 z% Y4 H4 q$ s6 L% p( F

  1391. 5 d$ u4 ]1 W0 Y1 d& H
  1392. ; Defines the probability that the 'garbage collection' process is started# _- l+ H2 ]7 f& K$ N  o3 R
  1393. ; on every session initialization. The probability is calculated by using6 A- X0 l+ B. ^& _
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator3 b# c- X: U: z% P! D2 J
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 17 ^! D4 {/ s! A" v% R$ L& F
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance' M6 i( ^9 |1 L4 s3 u  w& R; _
  1397. ; the gc will run on any give request./ w# V* J* R" E! `, d/ i) K
  1398. ; Default Value: 1- Q1 Q$ c- O3 ]% R0 {6 p# G% I, S
  1399. ; Development Value: 1# X3 ?0 E3 n# u: k
  1400. ; Production Value: 1
    4 L  r; {. Y' B
  1401. ; http://php.net/session.gc-probability
    6 L4 s* N0 F! V8 e
  1402. session.gc_probability = 1
    3 ?8 ~/ l0 R/ o

  1403. 4 T1 O' }! _! J# \) |: D) _
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    % f! O! {' b) F! z
  1405. ; session initialization. The probability is calculated by using the following equation:( S+ R2 }' l8 g2 x3 }$ P
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and0 j7 X, I: A6 O& G1 w* B# ]3 R
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    0 e4 c" F3 z! F- j7 ~( D
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance- R5 N0 a) M4 D! L, ?
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you. A& }+ {! f, j, u- T
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,0 `. m$ B; B$ W: v
  1411. ; this is a more efficient approach.
    ' H/ {8 e6 I" k; i4 U
  1412. ; Default Value: 100
    ! e- P/ s  Y8 f: A9 Y
  1413. ; Development Value: 1000: D5 h& T$ M& h  X9 x; G
  1414. ; Production Value: 1000% O0 H2 z* Q6 x) B  O
  1415. ; http://php.net/session.gc-divisor; b) Y8 q7 M! Y) r! W
  1416. session.gc_divisor = 1000
    , d2 T# t  u9 ~: h* G3 p, P+ G1 s

  1417. : ?1 W$ \. L5 |4 x  D) Y
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    $ w5 @5 {% @* s8 z. d% \
  1419. ; cleaned up by the garbage collection process.( @* E# m( X: m5 M+ i" L
  1420. ; http://php.net/session.gc-maxlifetime
    . W4 \/ V  d) v8 |
  1421. session.gc_maxlifetime = 1440# _& [5 f' D5 |& Q0 o. g! w

  1422. 6 @/ M2 a! g& s7 m, h
  1423. ; NOTE: If you are using the subdirectory option for storing session files/ ~" d7 L' @5 C
  1424. ;       (see session.save_path above), then garbage collection does *not*
    ( I/ }2 h0 E: g) K# P* ?
  1425. ;       happen automatically.  You will need to do your own garbage
    + \- k% P/ G4 B! e6 r! ]$ f
  1426. ;       collection through a shell script, cron entry, or some other method.
    + M) K) d2 s; I1 `5 I
  1427. ;       For example, the following script would is the equivalent of1 @' K5 q* D5 R: j9 ]
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):4 \$ Q5 l+ g4 N3 }' U4 A
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    8 H( P: g" _4 }' T+ [
  1430. ! s3 S: ?: ~0 h, C0 N
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.* C6 p+ N# O+ G' e
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    : o* w+ f; ^2 V; }
  1433. ; considered as valid.
    ; x) ~( x5 j( x! E, \2 H+ i
  1434. ; http://php.net/session.referer-check# U# d' \, o5 Y
  1435. session.referer_check =
    ; l) y7 H  K: J2 N4 @/ d" z+ Q5 }

  1436.   q9 c) o/ y) e" l9 }1 @/ v5 ~% ~
  1437. ; How many bytes to read from the file.
    : ?. k4 b3 r  v; L2 V
  1438. ; http://php.net/session.entropy-length
    ! l, ~2 n" h% _. {  B. p! H9 Y; d
  1439. ;session.entropy_length = 322 }# J6 ^; u9 k$ f. `
  1440. . Z8 Y9 Z, s* u8 E
  1441. ; Specified here to create the session id.
    ) W6 O* S* Y; L7 X! Z( z# S4 l# e5 ]% w
  1442. ; http://php.net/session.entropy-file6 `3 n; M3 A2 d) n
  1443. ; Defaults to /dev/urandom4 h& x% ~. T/ Q# ]. a8 J
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    9 P) n- `5 q; K2 r; r# J* B; O
  1445. ; If neither are found at compile time, the default is no entropy file.
    . R* x0 u4 N& K4 T1 ~
  1446. ; On windows, setting the entropy_length setting will activate the
    " c' R" `& {% }, a  [( [  x
  1447. ; Windows random source (using the CryptoAPI)* R4 N- X1 p+ l8 y  l# C
  1448. ;session.entropy_file = /dev/urandom6 G2 ~5 Q% S, O% n5 Z) h0 f
  1449. 6 d6 O" r" p; t
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    . c" q4 P1 S) Y/ E  \
  1451. ; or leave this empty to avoid sending anti-caching headers.
    5 W/ v7 n% q. C! O9 z4 Q
  1452. ; http://php.net/session.cache-limiter( o# M' v- g% E8 J+ P
  1453. session.cache_limiter = nocache
    * V( x. v# x" O. Q0 Z. T! e( |
  1454. : J5 l9 x8 f. P* @4 T
  1455. ; Document expires after n minutes.
    3 c  j: F, i; k- i
  1456. ; http://php.net/session.cache-expire( D, t, M. M8 c; d! [
  1457. session.cache_expire = 180& y* \5 K8 t+ ]
  1458. * T$ k/ n" X+ H
  1459. ; trans sid support is disabled by default., l3 G" `1 [4 D9 U9 F2 N
  1460. ; Use of trans sid may risk your users' security.# |. d5 s$ R7 e0 [: q
  1461. ; Use this option with caution.) E& ?) _! A' B( \# w" y! @
  1462. ; - User may send URL contains active session ID
    * [1 l6 j; }3 y/ Y3 v) g% z/ K
  1463. ;   to other person via. email/irc/etc.+ S) s6 w: e, B) t
  1464. ; - URL that contains active session ID may be stored! ~; A1 K: G! t3 w2 C% J. z/ y
  1465. ;   in publicly accessible computer.
    & t! f( P  \( T* ^9 n6 n3 }* \
  1466. ; - User may access your site with the same session ID
    5 C2 v4 ]6 Z3 Y' w, R4 M- g
  1467. ;   always using URL stored in browser's history or bookmarks.
    : ^1 ]/ i. \9 h2 w( L
  1468. ; http://php.net/session.use-trans-sid4 N* `- b* _8 w7 v* k
  1469. session.use_trans_sid = 0
    ( A; l* Z4 g4 [( M( Z* n

  1470. 7 ~. [# z% ^  {1 E) E
  1471. ; Select a hash function for use in generating session ids.
    & E  Q! r0 f; P( Z
  1472. ; Possible Values6 Q0 @" ~+ R; r8 p
  1473. ;   0  (MD5 128 bits)8 |1 \6 x1 h/ s/ g% o' G) D% T
  1474. ;   1  (SHA-1 160 bits): a! S  ?+ q/ D
  1475. ; This option may also be set to the name of any hash function supported by
    0 |1 @% ]2 m9 D1 x
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    # y$ q: f* v! s/ m: q. f( l
  1477. ; function.3 U+ p+ p4 w  B" E9 @
  1478. ; http://php.net/session.hash-function0 O* q4 u+ l/ a# B  O
  1479. session.hash_function = 0
    ( b9 |2 |8 }: F; }& j) R- O% K
  1480. ! e/ S% \* A3 }# N9 o3 z# X
  1481. ; Define how many bits are stored in each character when converting0 C7 {& G; w6 j$ Q+ L
  1482. ; the binary hash data to something readable.
    6 ~/ @; K: P! X( u1 N
  1483. ; Possible values:  z  m" ?/ H, s$ b9 l  Y& s
  1484. ;   4  (4 bits: 0-9, a-f)
    8 `. Z# O2 p$ p: Z) k
  1485. ;   5  (5 bits: 0-9, a-v)0 D* v. P* b, c/ w9 q; s- a) v
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    ' N, n  o9 D& B
  1487. ; Default Value: 44 s- o- S6 [* K& A1 ?2 F
  1488. ; Development Value: 52 p8 s: _' I% c$ ?1 N- S& `
  1489. ; Production Value: 5
    ' [- {# I6 T  [% R
  1490. ; http://php.net/session.hash-bits-per-character
    $ D- j! v& ~" C' [5 C+ d5 P+ a
  1491. session.hash_bits_per_character = 5; g- Q$ E5 }+ T, z' i* W# G7 Y; Q

  1492. 8 P/ j9 I8 ?6 q( a- j! ?9 K
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    # q/ Q/ Y3 N+ x% j6 q7 U' v! [
  1494. ; form/fieldset are special; if you include them here, the rewriter will! D( `! I' I; V0 F, ?$ ^
  1495. ; add a hidden <input> field with the info which is otherwise appended# k- z0 m1 k1 c7 Q* }
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry./ G  A# o) I. _9 K( i: H0 b! ?
  1497. ; Note that all valid entries require a "=", even if no value follows.# M  M- C8 h. l! k) b
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset=", L4 u$ l4 Y! w6 e# c& [
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    0 N: H! A% X& U% T# u0 e
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"+ ~8 b* F" v4 U$ R6 w
  1501. ; http://php.net/url-rewriter.tags* ?0 w$ _, u6 y& b) j' ?
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    ) ~( U  a) g4 N( p+ w3 P3 j) l
  1503. ; E* Z+ ?; j$ E: I# n
  1504. ; Enable upload progress tracking in $_SESSION
    ( c( X" J' ]$ j/ D; Y7 Z: Y
  1505. ; Default Value: On
    , d3 r! \+ E  L' G
  1506. ; Development Value: On, z4 Q4 f! J, N3 k' z
  1507. ; Production Value: On
    , \8 S/ m7 B" P5 F
  1508. ; http://php.net/session.upload-progress.enabled
    ) w( v# u, X6 {' J0 @" S
  1509. ;session.upload_progress.enabled = On
    ( |: r7 N& F7 C, e  q0 ?7 F; r

  1510. # Y# c  M* p! T+ I+ F0 I& ~
  1511. ; Cleanup the progress information as soon as all POST data has been read# b- u2 }! G! ]4 z
  1512. ; (i.e. upload completed).
    ) ]7 e; B' c( c: ~
  1513. ; Default Value: On# }( ]: D! w- w4 u- R% L
  1514. ; Development Value: On
    9 C1 q7 G% C* t* t- e  a$ a
  1515. ; Production Value: On+ y; a* l* M9 ^7 i7 V/ @
  1516. ; http://php.net/session.upload-progress.cleanup
    ! P- t* [. S* f# ^- {3 L
  1517. ;session.upload_progress.cleanup = On( U) M5 _# D* H* ^

  1518. & _0 O& @% e( B4 p& M
  1519. ; A prefix used for the upload progress key in $_SESSION) r. M- `" l9 j9 F" r% \( U
  1520. ; Default Value: "upload_progress_"0 I* D: [. _9 F1 j/ t: \2 `; m
  1521. ; Development Value: "upload_progress_"
      U1 K- C3 T% I, c1 G8 g
  1522. ; Production Value: "upload_progress_"
    ) T3 A3 W7 T# E/ R
  1523. ; http://php.net/session.upload-progress.prefix
    3 X; R/ t% I% w( ^  O5 t( ^- K' H0 v5 Q
  1524. ;session.upload_progress.prefix = "upload_progress_"! d5 k! s* i2 B# u+ Y
  1525. ) {- N7 ]  S* c
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    ! H5 V. A$ s+ P/ m% K( j+ i+ x- ^" d
  1527. ; containing the upload progress information3 _- p" k! p& M/ @' W: w
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    # |1 u- c( H/ ^9 |
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    : i4 Z' K- T8 F
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"' g/ Y* j1 W- E. [* m+ b( Y; X+ e
  1531. ; http://php.net/session.upload-progress.name3 T' \1 s2 U+ l& w6 P* j
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    * v. X8 D4 A, Q& F( Z/ Q0 n  D% D
  1533. - }: d8 U; x4 t$ S
  1534. ; How frequently the upload progress should be updated.0 k: P1 f2 O2 e" Y
  1535. ; Given either in percentages (per-file), or in bytes
    + `: Q& n& ^+ H4 c8 T
  1536. ; Default Value: "1%"( V' z. T, B# `; ^0 g3 w
  1537. ; Development Value: "1%"
    6 W3 g0 `9 {# e8 u- M  e/ C+ {
  1538. ; Production Value: "1%"' @  w' z9 |/ r3 d, i- s( {0 h
  1539. ; http://php.net/session.upload-progress.freq9 ]6 F0 X4 @9 _$ x- J  A
  1540. ;session.upload_progress.freq =  "1%"/ j! V6 k5 u# B, J
  1541. 6 T: d( u; o  M$ u9 `6 O& J( u5 d' Z; W
  1542. ; The minimum delay between updates, in seconds( s9 y* U( ?) y9 g( P. |+ j9 [
  1543. ; Default Value: 1
    : N  {- W8 J: v0 O; ]2 ?
  1544. ; Development Value: 1
    " }; n& g* N% y& |9 U7 g& ~& z
  1545. ; Production Value: 1
    6 H( _. _9 r$ W2 J7 ^" T7 b( x
  1546. ; http://php.net/session.upload-progress.min-freq' V( u  h( d6 }  V1 n
  1547. ;session.upload_progress.min_freq = "1"
    0 E' J0 G+ |0 ]0 w1 ]5 k" c5 L
  1548. * t+ W( S! k5 n5 B# U  q% p
  1549. ; Only write session data when session data is changed. Enabled by default.8 y3 p! i9 G3 G- O! A% x7 R: t
  1550. ; http://php.net/session.lazy-write
    # r& }$ @! I/ z5 U5 o
  1551. ;session.lazy_write = On, j7 g5 L3 U* s3 ^

  1552. " w) G8 ?) N0 Y: @& Z: f
  1553. [Assertion]
    ) G. ?  ?9 U8 k; G3 L, Z+ T
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    ; E  z0 h3 D, x( l4 i, X
  1555. ; -1: Do not compile at all; M7 @: P& P! T/ l* m+ t$ s, f
  1556. ;  0: Jump over assertion at run-time/ A) d0 u4 J9 u. n% ?( y0 E
  1557. ;  1: Execute assertions/ s; ^* o7 X8 s( \$ q0 n1 ~
  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)
    , x$ F  i5 B, b) M
  1559. ; Default Value: 1% y0 o4 L( _  y
  1560. ; Development Value: 1
    0 {4 ~4 |9 r1 \/ y4 _5 k2 C- ?4 C; O
  1561. ; Production Value: -1, e1 V# o/ U! S6 c
  1562. ; http://php.net/zend.assertions4 i8 |  B( v3 d$ f
  1563. zend.assertions = -1
    * l& U5 d0 {3 b  V
  1564. : b' P  i: N4 D, [4 O9 T
  1565. ; Assert(expr); active by default.
    . s! i$ u) N* v0 o7 c. b7 H
  1566. ; http://php.net/assert.active) X* {; h  y) e( d& V7 q) l
  1567. ;assert.active = On
    0 B, [  _' c. `$ x) e8 p8 C
  1568. 4 y8 P* f1 t& n
  1569. ; Throw an AssertationException on failed assertions" N: ?0 t  _; j" T6 z* u& n! C
  1570. ; http://php.net/assert.exception
    6 @+ Y; e0 r4 D5 d% c
  1571. ;assert.exception = On
    2 G8 f9 S  w2 U
  1572. 8 ]* t/ ?3 K: @, c
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)" p* z( I. x$ U% h
  1574. ; http://php.net/assert.warning" P/ @3 F5 x! N7 z+ C( j' W% S
  1575. ;assert.warning = On9 d' w) }) L$ i* Z
  1576. 0 U- e# {+ P6 c, E
  1577. ; Don't bail out by default.
    $ R+ K. r6 y, t+ N
  1578. ; http://php.net/assert.bail+ q4 |2 j6 R' N; m  E9 N6 F2 J* k% L
  1579. ;assert.bail = Off
    9 x+ I/ o4 o6 k- a2 V
  1580. ' X. L  N  G# M
  1581. ; User-function to be called if an assertion fails.6 B8 \; K6 s0 ~( {
  1582. ; http://php.net/assert.callback7 f. ~; J1 ?# R/ P. Q( t) l
  1583. ;assert.callback = 0
    2 }0 u4 C, j$ L0 n
  1584. : [( Z. n- }, L1 `, T1 p0 ?" ?
  1585. ; Eval the expression with current error_reporting().  Set to true if you want. M+ m7 Z+ Y6 b% Z3 i, N
  1586. ; error_reporting(0) around the eval().0 d% |1 G7 D% }& {0 Y5 I
  1587. ; http://php.net/assert.quiet-eval; Q# o: a; M" g+ D( V; t
  1588. ;assert.quiet_eval = 02 D3 |+ G+ R6 L1 \8 a3 d+ M
  1589. 2 l' l: b- M! _4 }2 t( K, l( v8 G
  1590. [COM]
    ( X  X1 w% k/ o+ u0 J% D! W
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs# a. P+ p. j% |' O
  1592. ; http://php.net/com.typelib-file. x! b. _8 f6 b
  1593. ;com.typelib_file =+ d6 E( K# l7 y% {
  1594. 0 c- |) n5 F1 S1 D
  1595. ; allow Distributed-COM calls# ^, z0 g% H6 v6 j* y# Z: \+ Y
  1596. ; http://php.net/com.allow-dcom
    ' v4 k1 n5 z$ K6 k* R
  1597. ;com.allow_dcom = true
    . W$ S. N+ ~, h
  1598. ) p. G' [; a4 ]( n. {$ v* S  c
  1599. ; autoregister constants of a components typlib on com_load()0 D! l# }4 B7 Y2 _) u5 N
  1600. ; http://php.net/com.autoregister-typelib0 Z7 m' ~$ C* F+ x/ J
  1601. ;com.autoregister_typelib = true
    1 t. ]: D. A- Q8 O

  1602. ( @1 @- i! m2 O1 X  t6 a
  1603. ; register constants casesensitive
    6 n$ {) W  \/ r  i. v9 I+ H
  1604. ; http://php.net/com.autoregister-casesensitive& Q! L/ v+ Z  z; x
  1605. ;com.autoregister_casesensitive = false
    9 z, ]* a: L0 v+ O/ k

  1606. 8 F5 R: [. [' D  a- W
  1607. ; show warnings on duplicate constant registrations
    * K9 j" j9 y( c2 ]& o/ G1 l
  1608. ; http://php.net/com.autoregister-verbose
    + ?7 w" c8 _- @5 ?) V1 }$ e
  1609. ;com.autoregister_verbose = true3 u) b4 k: g2 S' |

  1610. : F9 e  ]; }1 i5 H
  1611. ; The default character set code-page to use when passing strings to and from COM objects.& O+ Z% N3 x, ^. R
  1612. ; Default: system ANSI code page
    . A3 W( w; N' k  }( {, w) @
  1613. ;com.code_page=
    ) a0 r+ p$ d% L( T- @3 p; c$ H1 @7 E
  1614. ) B' Q* y! U7 q, k& I  y, J
  1615. [mbstring]( d3 u5 x9 L- L
  1616. ; language for internal character representation.5 L! |1 q2 X: j% T" V
  1617. ; This affects mb_send_mail() and mbstring.detect_order.+ U" N( |3 f! i9 e* M' A6 `
  1618. ; http://php.net/mbstring.language
    7 x( m3 {4 b" W
  1619. ;mbstring.language = Japanese, ^% N5 c) I2 ]  n' U+ @

  1620. , D" s8 A. [! t* {# o6 _8 d5 o( f
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    & \. Q; c/ D; q1 {. n" c
  1622. ; internal/script encoding.
    $ h2 M( H' @" O0 u! J
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    5 j6 K9 {% |$ d6 I' X! n6 U
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    & _* |) P& ^+ X$ b; [3 V+ W' ?, X' {
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    % D7 q( A: ~$ s
  1626. ;mbstring.internal_encoding =
    ( g' A! K- h& P% K
  1627. + ^6 `+ N+ g0 F% P. e  F/ n
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    ) S; s0 ]* D5 N- [) A
  1629. ; http input encoding.) t7 l3 S' a3 y. K- T
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.9 y6 R. D" t* N* \! j
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.* y, P; O. Y( ~$ k" H
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    $ g; B" W$ h; d" _9 G9 Q
  1633. ; http://php.net/mbstring.http-input# Z9 Y9 n$ @) H! W5 A/ Y
  1634. ;mbstring.http_input =7 B. z. f% b2 O" g. V9 b% F8 ]

  1635. # S$ ?; b6 {+ f. g
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    8 c- w/ Z/ v# H3 R2 F
  1637. ; http output encoding.
    ! P; x2 N+ J0 M* u5 T# y
  1638. ; mb_output_handler must be registered as output buffer to function.
    & L4 n. {. i/ g" u% O
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    & k) s* n: Y/ K+ p6 p7 r+ g
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    & G+ n* H* @& O: ^
  1641. ; To use an output encoding conversion, mbstring's output handler must be set3 j; P# i* N0 S
  1642. ; otherwise output encoding conversion cannot be performed.
    , _& B) [6 Z$ _6 w; R' I& s
  1643. ; http://php.net/mbstring.http-output5 m( W  j. g) [6 z( V
  1644. ;mbstring.http_output =% w. D% p. m) q+ J( U" ~

  1645. 4 H3 }# R" E! ?3 c  w3 u
  1646. ; enable automatic encoding translation according to
    . x- U, C6 A* w6 J2 S
  1647. ; mbstring.internal_encoding setting. Input chars are$ v2 l5 l& \& a3 W& N2 P, v6 G
  1648. ; converted to internal encoding by setting this to On.
    8 o/ p4 w# A. y) {9 [
  1649. ; Note: Do _not_ use automatic encoding translation for
    % u( d6 s# L) O4 J% x% L
  1650. ;       portable libs/applications.
    ; T* Z* p5 t$ J; r5 r8 o
  1651. ; http://php.net/mbstring.encoding-translation6 o" U) ]" B$ z( J4 y6 x2 o' s0 Y
  1652. ;mbstring.encoding_translation = Off
    9 C% w" I5 X, i4 {5 c* N* {& A
  1653. & w; i5 r. a% Y+ n
  1654. ; automatic encoding detection order.7 r5 O1 o; t; ^5 R
  1655. ; "auto" detect order is changed according to mbstring.language
    4 H% v, U$ Q: B
  1656. ; http://php.net/mbstring.detect-order
    , w* ]- k6 i3 F# B. Q
  1657. ;mbstring.detect_order = auto# B3 ]+ {6 N4 Z7 k) z) L
  1658. 3 e1 Y* {+ j8 l7 D
  1659. ; substitute_character used when character cannot be converted
    0 _- T6 [$ I$ z: q* w1 N, v, d4 E
  1660. ; one from another
    ; A# Y& [% ?. q6 k
  1661. ; http://php.net/mbstring.substitute-character/ Q- F0 I; a! a( V! e: p
  1662. ;mbstring.substitute_character = none
    0 O5 i* U. q4 P; Q( [' v

  1663. 6 [2 U- M) z% b+ [/ y* ~& k
  1664. ; overload(replace) single byte functions by mbstring functions.  ?( q7 b4 \; _( T4 D$ H
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    9 p9 A+ Q3 s. `* l5 a6 s
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    " d4 S* q2 s. e# p/ }! a
  1667. ; For example, 7 for overload everything.
    + X0 h9 p2 @% k2 D) A3 v3 U
  1668. ; 0: No overload
    , ?: |* x% U# i. s- g
  1669. ; 1: Overload mail() function3 z+ }, S+ R  m1 u" [
  1670. ; 2: Overload str*() functions
    % H# X7 y5 o- J4 j3 R+ [! Q' @
  1671. ; 4: Overload ereg*() functions
      o$ }& ~, k. _7 z/ a
  1672. ; http://php.net/mbstring.func-overload6 G$ X8 K3 @2 B
  1673. ;mbstring.func_overload = 01 q/ M9 [( ?1 S6 s7 |

  1674. ) S  q* z. ~+ c! S! w, q5 n
  1675. ; enable strict encoding detection.& B" d% ~6 M  B
  1676. ; Default: Off
    * G  ?. {0 n# m1 c8 H& i1 j
  1677. ;mbstring.strict_detection = On
    ! n. t, i% c5 _: u8 {' S& h
  1678. % Q+ g% N/ }  `6 b
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    & R+ t6 F1 v3 b4 e) S! a
  1680. ; is activated.  n3 c3 x6 M; |# b) a5 z4 k
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    8 H7 m4 C* N( R8 K
  1682. ;mbstring.http_output_conv_mimetype=
    : x3 ^5 [* ]7 S# n
  1683. ; p- ~( t, ?$ i- ]% e0 t# Z' n' n
  1684. [gd]1 p: V6 R9 g5 N2 j& x; p' {' D
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    2 _1 U. u( w3 E8 T' r
  1686. ; a gd image. The warning will then be displayed as notices
    , \+ g0 F) ?# g
  1687. ; disabled by default
    9 \: \' D0 Z7 Z# s: v' ]9 q
  1688. ; http://php.net/gd.jpeg-ignore-warning
    ! G* {# ]6 K+ Z+ g, E# c
  1689. ;gd.jpeg_ignore_warning = 0
    " d* p2 K5 W+ \

  1690. - S: D% t9 T: P3 T
  1691. [exif]
    & ^; \2 [2 H1 P6 q, B2 L
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS./ a# ?" l; L, x4 ~* Q* i3 C
  1693. ; With mbstring support this will automatically be converted into the encoding" m6 g* h( p8 @
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    9 q. R! y/ A- j2 N/ J
  1695. ; is used. For the decode settings you can distinguish between motorola and
    / P# H+ f0 L0 m
  1696. ; intel byte order. A decode setting cannot be empty./ c3 K& U/ v# o) O3 b, `
  1697. ; http://php.net/exif.encode-unicode3 m" \; U  n* b# ?/ u; S
  1698. ;exif.encode_unicode = ISO-8859-15) [! Y+ v: \4 ~* @# E

  1699. 7 L5 ]! c7 P4 M1 x0 Z
  1700. ; http://php.net/exif.decode-unicode-motorola$ r8 @( x. [9 f8 ^
  1701. ;exif.decode_unicode_motorola = UCS-2BE, q0 x8 P6 {! H2 X

  1702. / O; {) t2 N/ e; O7 }! H
  1703. ; http://php.net/exif.decode-unicode-intel
    8 P5 z+ Q' c- l' V+ [6 u
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    9 v9 t0 V, I4 V) J7 |+ p6 P! F; F! g

  1705. 0 T; g8 J: Z! a3 I
  1706. ; http://php.net/exif.encode-jis
    " \3 ^! G) ^# M* x" c4 d
  1707. ;exif.encode_jis =6 c9 b7 x: q! |

  1708. + ^$ F% D4 v$ C: l( c& a' N
  1709. ; http://php.net/exif.decode-jis-motorola& ?% l! v$ X) A- i* j2 J" u
  1710. ;exif.decode_jis_motorola = JIS* D8 W. M4 k+ R7 j
  1711. / F3 J& e, d5 C, c, d# ?+ a
  1712. ; http://php.net/exif.decode-jis-intel% k+ K, w! D: o$ K3 }7 O0 k
  1713. ;exif.decode_jis_intel    = JIS! G  d: G# \5 F

  1714. & q; |) y/ I# p( |! h
  1715. [Tidy]$ ^* c* ~: G; E4 z4 U6 p! `
  1716. ; The path to a default tidy configuration file to use when using tidy9 c: q' x/ r$ d- x* K0 y3 ^
  1717. ; http://php.net/tidy.default-config
    & ]5 K7 Z4 ]' E& ]% e0 B3 N
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg. c+ B& }* S0 o9 _
  1719. " E  c( M- |( |" f# h
  1720. ; Should tidy clean and repair output automatically?$ s* Z, v% t( ^7 _& a) ]3 `
  1721. ; WARNING: Do not use this option if you are generating non-html content
    . K" v$ a3 x* y* p$ E$ I
  1722. ; such as dynamic images: y! a& h9 x/ [+ m1 B  @* i
  1723. ; http://php.net/tidy.clean-output' x% x* F: e- n* m+ R" R$ K+ N
  1724. tidy.clean_output = Off
    * p9 x+ w7 D* o) W1 Y

  1725. + z6 c. ?$ w- b0 \: t9 J4 X
  1726. [soap]
    8 y/ R$ n( i1 g! f) H& u
  1727. ; Enables or disables WSDL caching feature.
    % I$ U4 Z) d. ]
  1728. ; http://php.net/soap.wsdl-cache-enabled
    # \- P3 d7 \) T4 p
  1729. soap.wsdl_cache_enabled=1* j7 |/ b$ w0 b# z* ^

  1730. 0 v9 P1 j+ ~4 Y6 T" g! d. g4 L
  1731. ; Sets the directory name where SOAP extension will put cache files.6 U  N9 s) ^2 d, W9 |
  1732. ; http://php.net/soap.wsdl-cache-dir
    - L# \! `5 i& M" m2 n. f- n5 m5 C
  1733. soap.wsdl_cache_dir="/tmp"6 U9 K$ W3 ]2 L( R7 i6 p7 K7 J- O- p
  1734. , c; @9 s8 T# P& l" K# p6 v/ X- I
  1735. ; (time to live) Sets the number of second while cached file will be used. n$ S1 m  }  p' L
  1736. ; instead of original one.- `4 M: }4 Z( x2 n! S
  1737. ; http://php.net/soap.wsdl-cache-ttl* [# _0 A( G0 p3 T; H6 k- n. F; ~, o6 A
  1738. soap.wsdl_cache_ttl=86400
    8 A1 I# v# j+ ^" a: f' }1 a7 `" n
  1739. 0 u5 R3 T% w/ {( i# \8 c6 v3 L$ r
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)5 {* X. N5 L0 I" W. X  @  J
  1741. soap.wsdl_cache_limit = 5
    $ R! }% g0 @. S2 `
  1742.   t  o9 B: Y3 D
  1743. [sysvshm]
    / J" N/ R. D* P& M- I+ R  t
  1744. ; A default size of the shared memory segment
    . o6 k% x$ E& t
  1745. ;sysvshm.init_mem = 10000  T/ j8 x6 B& ]$ i9 |7 H( r
  1746. 3 i) u: R7 P& w) \: J6 E* D
  1747. [ldap]4 U! P+ w/ }: b' ^# s1 _2 h1 |
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    + x' `6 ^0 v2 q$ v" A0 {7 E
  1749. ldap.max_links = -1
    " ^5 a0 f: J  Q+ U. n5 M( U/ Q
  1750. 0 y8 \! Z9 }7 V/ Q( D
  1751. [mcrypt]& ^/ l3 U. ?) b0 Z- _
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    7 \' O9 n' \- \+ ~( C3 C+ H: s/ y0 Q, s
  1753. ( l8 p8 B% O8 c  \, G
  1754. ; Directory where to load mcrypt algorithms
    ' \. D9 n6 K' i, Q; z
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)  J1 ~* v; _( F: R, @. M: S
  1756. ;mcrypt.algorithms_dir=
    ) _# l( z& x. ~; J" I
  1757. 0 A  j/ T* S9 L) G( u% M
  1758. ; Directory where to load mcrypt modes" Y; t  `$ H) K
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    " p3 H& w! l" Y' q+ T) ?/ V, c
  1760. ;mcrypt.modes_dir=6 W" a8 e- @$ [4 g) F

  1761. + F2 l' x8 p0 u- R2 {
  1762. [dba]
    % {: P+ V1 w' B
  1763. ;dba.default_handler=$ {9 q) M# k/ u$ |7 }

  1764. 2 t+ `/ O1 R1 d9 B! y  K
  1765. [opcache]; i! W3 K4 M0 y1 @
  1766. ; Determines if Zend OPCache is enabled- Y. g! U+ S" N
  1767. ;opcache.enable=0! p0 Z+ q4 i& n* W

  1768. - v% O: p9 q3 F$ Y1 C# d$ p' R
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    ( ?7 i$ s% E9 w% X* O  c: N  [
  1770. ;opcache.enable_cli=0/ E; p7 F) J: [( f( f& [

  1771. 1 ]4 c/ a8 w; Q
  1772. ; The OPcache shared memory storage size.
      B% i% ?& r/ A- ?% L( d- p, {0 R
  1773. ;opcache.memory_consumption=64
    5 @) k2 I' Y: P% x4 x' k. m
  1774. 3 h6 Z# @. q9 b; ^' J
  1775. ; The amount of memory for interned strings in Mbytes.
    " {# _, E9 o- h. `$ {3 c$ V, y
  1776. ;opcache.interned_strings_buffer=41 Z3 u, B- W4 y& F, `

  1777. $ w% }# g* Q2 @$ S0 u" l; j  _
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    + I: k. F* O1 A2 S0 n
  1779. ; Only numbers between 200 and 1000000 are allowed.
    6 e6 u' \. s/ k& v5 p0 p% U4 i
  1780. ;opcache.max_accelerated_files=2000/ ?7 O, D3 u' R
  1781. " _+ R7 N' p7 |! ?2 @+ e& c
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.* ]/ I- F7 z0 ^% F& q
  1783. ;opcache.max_wasted_percentage=5
    ( ?0 H/ U" \" z! n7 }, D
  1784. ( L* X% S4 K1 E5 q- O. }9 w
  1785. ; When this directive is enabled, the OPcache appends the current working
    $ h2 v, e5 _  u
  1786. ; directory to the script key, thus eliminating possible collisions between
    : C' e2 g# l1 V  b+ x9 e' H
  1787. ; files with the same name (basename). Disabling the directive improves1 k2 x! y1 J6 C0 _/ y3 j7 }$ ~
  1788. ; performance, but may break existing applications.5 v1 Y; o# \# V! E* i; E
  1789. ;opcache.use_cwd=1
    0 ]" T. v# M5 `/ b5 L; p* L( t

  1790. 6 w' W, V! {3 J$ N* u
  1791. ; When disabled, you must reset the OPcache manually or restart the
    " K3 \" ?* e$ j
  1792. ; webserver for changes to the filesystem to take effect.: Z" M7 U, M3 r& R" Q% K
  1793. ;opcache.validate_timestamps=1
    " X# f2 R5 U1 @

  1794. ( |* e: b& N1 I+ V1 h
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    ) q# s3 Q& g8 |6 c5 p& m
  1796. ; memory storage allocation. ("1" means validate once per second, but only# x8 ]; a8 ]3 C0 a
  1797. ; once per request. "0" means always validate)
    * \2 E/ O+ t& q" s6 P1 N; o% `- q# U
  1798. ;opcache.revalidate_freq=28 h" G3 x% @. z+ E
  1799. ) W( v) r. p3 h5 D  W, w5 R- Y
  1800. ; Enables or disables file search in include_path optimization
    : _/ ]8 h1 s9 ^, C& y
  1801. ;opcache.revalidate_path=0
    ) P9 U; [1 V+ S# K+ h2 X; f# |

  1802. # M. ~) d' Y4 r8 e
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    * O5 _; [4 ^0 _8 Q. x! M
  1804. ; size of the optimized code.
      a0 R: l) S2 c7 z2 M* M% F
  1805. ;opcache.save_comments=14 y5 D  }: _6 V4 o. p" C& M+ z

  1806. 4 L( R1 A4 [: W9 ]% J/ S4 G( ]
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    * Q# w9 R+ j$ n1 p( Y
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    ; ]$ L$ z/ w8 q" h( O
  1809. ;opcache.fast_shutdown=0
      p5 B6 `1 ^' t+ t2 i" f0 v3 a
  1810. 9 a& j4 i+ }5 S* @* T
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    1 }" a% B: |' V3 C
  1812. ;opcache.enable_file_override=0' [0 P# W7 R  j# q# V* J3 Z0 K

  1813. $ b3 Q% N0 l* r$ f" \! |1 H4 P
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
    ! v4 Q- T! f' s1 V* \
  1815. ; passes. n" |8 u. F7 e
  1816. ;opcache.optimization_level=0xffffffff
    " o2 |' }/ P3 Q; n

  1817. ) m1 h3 @; ]+ z& H- h& @! B, {
  1818. ;opcache.inherited_hack=1
    . {9 {8 j3 A" z+ R  G# K6 h
  1819. ;opcache.dups_fix=07 t. n" u: c% L9 A( S$ y
  1820. # B) j. `4 w" X# ^# ]
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    1 b/ Z- F3 I0 \- j
  1822. ; Each OPcache blacklist file is a text file that holds the names of files" H$ |. x. g8 H. N
  1823. ; that should not be accelerated. The file format is to add each filename
    * V9 S5 N5 E& Z" i- I4 r
  1824. ; to a new line. The filename may be a full path or just a file prefix2 ~6 ?8 `& m- {$ I; Z
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    3 W! v0 i7 L# D  c2 h7 a
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).2 g) ?6 G" R; f' Q& o
  1827. ;opcache.blacklist_filename=
    & e% v' l4 H+ P, N( U) P( n, e+ Q
  1828. 5 S- d; b4 k9 v/ y6 w
  1829. ; Allows exclusion of large files from being cached. By default all files/ j; S) q* q% ~& g+ B$ D/ [- i
  1830. ; are cached.
    ( V/ j6 J& z- K5 c% x2 B
  1831. ;opcache.max_file_size=0
    : ~  X  U% ]& Z4 ?8 N& s  j' I
  1832. & I/ C, H6 B- m' m/ b& R: F
  1833. ; Check the cache checksum each N requests.2 t3 |2 T& u5 U) B4 G" ]" S' m
  1834. ; The default value of "0" means that the checks are disabled.
    6 ^7 b* c! N+ e: h: ]) x
  1835. ;opcache.consistency_checks=0
    / z% m* C3 n) U5 {; _1 j4 C$ e

  1836.   h1 y0 n& i" N$ u7 R
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    & z( Q7 q! t$ }$ q3 T  q
  1838. ; is not being accessed.* d  o' A2 x/ ~) D# D# i0 d
  1839. ;opcache.force_restart_timeout=180
    # |2 b+ ~; Q% b9 h; ]
  1840. 9 X' m& r5 h, H5 g
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    * l$ l( N% {* {7 c% s, j- t! |9 A0 J
  1842. ;opcache.error_log=9 j7 E5 f. O; O# y' p& o

  1843. - @( _  o% m& A2 h
  1844. ; All OPcache errors go to the Web server log.
    & n7 Y6 c' d+ ^! q/ s0 F- {5 {% i
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.& X5 U& H7 Q: u
  1846. ; You can also enable warnings (level 2), info messages (level 3) or# _- M& y2 W8 B& t- x$ X, B
  1847. ; debug messages (level 4).
    3 I! s6 I& B) ~6 }6 p% N3 Z5 }
  1848. ;opcache.log_verbosity_level=1
    9 g) w- c9 x' N, B4 d( E' K5 N
  1849. - O& {+ f  N( q
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    8 D, t8 Y8 \# a' A% r
  1851. ;opcache.preferred_memory_model=& o6 i* K4 U0 o8 `5 M, o% |6 G, ^' x
  1852. 3 j# B# w9 c6 [* _  g; y. h
  1853. ; Protect the shared memory from unexpected writing during script execution.8 h) s, y* c5 k& _% X
  1854. ; Useful for internal debugging only.0 M4 x- l, Z- a' `/ N
  1855. ;opcache.protect_memory=0
    ! X$ ?' z( `+ K6 b+ d+ ~1 B' D
  1856. ' b3 W' H, m1 K$ x7 s' x
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    ; x2 T9 f; }8 m4 S6 v
  1858. ; started from specified string. The default "" means no restriction) Q, F) }1 W9 ?5 G
  1859. ;opcache.restrict_api=1 ^4 j. t; x% p2 E

  1860. " ~: j8 M! M8 `$ k" i3 F5 X
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP5 e1 x9 F/ k( C; H  t, w7 L
  1862. ; processes have to map shared memory into the same address space. This9 |. t' E9 h/ L2 q* w" R& e4 X
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    . X, u# z2 ?3 g0 ?/ M" Q6 j
  1864. ; errors.
    $ {3 M# s, M$ X4 l, A
  1865. ;opcache.mmap_base=
    # }3 O/ L& z) w& ~# }

  1866. 6 @  R6 D5 f$ F& M5 g' w; n
  1867. ; Enables and sets the second level cache directory.
    ; r8 p3 S$ [& O! v: G7 ?8 |# b
  1868. ; It should improve performance when SHM memory is full, at server restart or
    1 Z: Z3 n& g) g
  1869. ; SHM reset. The default "" disables file based caching.
    % x2 t6 ?: h, @9 A2 [
  1870. ;opcache.file_cache=
    9 z+ g$ H2 O* `. ?3 b& T2 p# u( [

  1871. 5 e  ]2 O" u$ l) e5 c- \
  1872. ; Enables or disables opcode caching in shared memory.
    $ o+ h0 p! A) u  g6 @+ t
  1873. ;opcache.file_cache_only=0- v0 T) ^2 |" x; W  ]  p
  1874. 1 R8 F8 ~% Z9 D& A
  1875. ; Enables or disables checksum validation when script loaded from file cache.- G0 v/ |7 \" L. u
  1876. ;opcache.file_cache_consistency_checks=1- M. L& j) w6 E+ Q8 O. o2 E3 f

  1877. 5 b! H- l3 E$ Y% }
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    . ^. M. V* q2 I+ z
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file/ z; E. m2 W2 ^: o0 I! a9 W
  1880. ; cache is required.( [9 |- G5 H& M+ }" o
  1881. ;opcache.file_cache_fallback=1
    * _7 w. X  P+ |5 ?% N: {) [

  1882. 6 L- [. x% O; _" a: e
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    ; O5 f+ q" \3 ^
  1884. ; This should improve performance, but requires appropriate OS configuration.
    : P4 Q+ u! M9 o4 H5 c
  1885. ;opcache.huge_code_pages=1
    ' z* [7 F6 z* ~. W
  1886. 9 Y- N& P. ]- u( }( H7 t1 S
  1887. ; Validate cached file permissions.4 C- o* X6 b' W" s
  1888. ; opcache.validate_permission=0- |  o, N' X9 j, }8 X& R; |
  1889. 1 f0 _+ K* |2 k8 ?. j0 k' j) K
  1890. ; Prevent name collisions in chroot'ed environment.! a# v& K6 K$ u
  1891. ; opcache.validate_root=0) Y. x8 S: c+ _
  1892. 0 j. L' y: [7 E' d
  1893. [curl], t3 Q5 O; O8 m2 w0 W# h8 w1 S' y
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an0 }# j7 p( A+ H* G. M, i/ l$ \
  1895. ; absolute path.! Z5 R" D! m1 ?
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    ) U4 e- W+ i' f3 b2 |
  1897. 3 s: z2 G# S0 U* v
  1898. [openssl]! L. T% L, ?- z" I3 J
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem  ?- e0 x! Q3 q5 N7 }4 b# |
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should; a0 X! w- S8 i
  1901. ; not specify a value for this directive as PHP will attempt to use the4 z$ h2 U  E7 u- A8 D8 d( B
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    % L/ r' }! A* |# u( s8 U) e4 z, c
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context+ P$ N8 p# K# k: @0 x( u: ?3 s
  1904. ; option." Z: n0 n8 ]2 `7 F; r
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt% Z% W9 r7 V  l" d2 ~3 U
  1906. % l) E! [/ ~( E% i
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    # G" u$ b# V3 T/ U* U: g) G, g
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    . k. x9 c& f& v8 V
  1909. ; certificate. This value must be a correctly hashed certificate directory.+ O( A" q4 v1 ~% t
  1910. ; Most users should not specify a value for this directive as PHP will
    ) L: a+ P. f6 Z
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,$ v, D% E/ N2 ?( f9 d3 W* F* Y
  1912. ; this value may still be overridden on a per-stream basis via the "capath"( c4 n1 T" i6 J, F
  1913. ; SSL stream context option.
    ' N/ P: I& R8 v* O
  1914. ;openssl.capath=2 H) {7 P, g- G. ]/ U
  1915. ! H9 z* W/ p6 H7 s( W
  1916. ; Local Variables:% h4 R; Z$ L8 C4 c/ t
  1917. ; tab-width: 4
    + z2 o+ t1 l8 x5 q5 Y& z- A9 D' X/ y
  1918. ; End:
    , D; T9 X& V5 z# h

  1919. ! k! G' i. b% F
  1920. ;eaccelerator
    2 @  R9 \: H& }8 b! Y5 H- q
  1921. - X" x: F0 }4 ~* d9 O
  1922. ;ionCube5 A2 a* a7 t, }: S% [; x; ^, ~0 Z

  1923. 0 }% G5 h: Q5 H# M5 I" ?; [6 |6 A: _
  1924. ;opcache) f' ?( _3 H% {! z+ A& X0 L

  1925. ; V" f  z6 `6 J! D( \
  1926. [Zend ZendGuard Loader]+ L; X4 ]7 s9 m/ y# x' I
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    ) X! o- B7 U+ l# F! V
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    8 @/ a! {. J, C3 e
  1929. ;zend_loader.enable=1
    0 W  k4 a6 V! }. a4 ~9 c/ d" F0 j9 B
  1930. ;zend_loader.disable_licensing=0
    9 }) x/ @% Y3 W% n$ A
  1931. ;zend_loader.obfuscation_level_support=3
    ) N2 V1 [, e1 E, y# R0 ?! H
  1932. ;zend_loader.license_path=
    6 |% ]  }: R( Z0 q

  1933. 1 R' t& v$ R1 j
  1934. ;xcache. B0 X4 h- o) O- e" a5 B
  1935. $ B/ O) z( J3 |4 w/ O- U
复制代码

& x5 S0 a8 K$ z; X+ p
5 V* B) X: {( u7 E7 W. R! S& Y; b
% r  r; v5 d" b: j$ P$ H- n4 E4 i
( e6 B1 _7 M" J; x! U

; P' W* ]6 e% ]
$ r- r  n3 l( S( o2 JPHP5.6版本原始设置
) d# I0 q7 M' \: _- i+ W4 `' ]) K# u7 a2 H
  1. [PHP]
    1 S6 U" J/ Y5 n' z3 u$ ]! O( k

  2. & k( {2 E; H$ ^9 @% K8 o
  3. ;;;;;;;;;;;;;;;;;;;
    * C0 P1 V. Y. A2 M. ?) z, i  i
  4. ; About php.ini   ;2 G+ @0 v- o2 K  x: \9 i5 Y. {7 u% X
  5. ;;;;;;;;;;;;;;;;;;;' |. C& q. @# u# e3 Z
  6. ; PHP's initialization file, generally called php.ini, is responsible for' n2 h5 w, V- \4 F$ Y2 N
  7. ; configuring many of the aspects of PHP's behavior.
    ; S/ w5 A5 w# y  y

  8. 8 S( V3 R7 W3 ~/ G4 y0 Y' k
  9. ; PHP attempts to find and load this configuration from a number of locations.
    * `6 }% `* X; V) ^2 V3 a7 \6 h
  10. ; The following is a summary of its search order:
    8 S3 v) d% l. V8 `% n/ U
  11. ; 1. SAPI module specific location.
    2 V2 x) k/ h# O, o5 L
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)$ _- \1 o& ?: g4 \% E
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)% z! g; c; p# \! @  R7 f: L  l
  14. ; 4. Current working directory (except CLI)" x& ^: n. j# ], U4 X' r& ^
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    . ?- j& Q7 `, ]$ A7 X: j+ m5 O
  16. ; (otherwise in Windows)
    # H; _3 [" [& ^+ \8 [6 ~( ~
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    2 H% R$ l" P  z7 P6 a0 }4 ]
  18. ; Windows directory (C:\windows or C:\winnt)% v4 l; S' ^2 w  H: Z3 M( I
  19. ; See the PHP docs for more specific information.7 @, Q; _6 K2 L  I5 a+ \
  20. ; http://php.net/configuration.file
    * I8 w- x+ A  u$ l3 b
  21. ) P$ v$ X% O0 H. n9 q
  22. ; The syntax of the file is extremely simple.  Whitespace and lines2 ~# w4 I& f2 S- k8 `
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    ' A' O  I9 {8 R" h
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    & @  O/ U$ F/ {* M& \- p- F
  25. ; they might mean something in the future.
    * y) |; S4 P" @5 k
  26. 7 e3 x! X. S% \* S" J
  27. ; Directives following the section heading [PATH=/www/mysite] only! w" O2 P& H  s9 _6 _( E& n! f# D/ @
  28. ; apply to PHP files in the /www/mysite directory.  Directives3 `4 Q* k' R5 E  z' g
  29. ; following the section heading [HOST=www.example.com] only apply to  E6 c2 W) Z, W2 T( X+ N- y
  30. ; PHP files served from www.example.com.  Directives set in these
    : ~- \0 k- V& [: m/ t
  31. ; special sections cannot be overridden by user-defined INI files or+ e0 L& T# j' x1 x
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under0 }" d- \5 i/ P) J/ B5 W% z
  33. ; CGI/FastCGI.' C" i$ \4 \8 z: j4 e& ~
  34. ; http://php.net/ini.sections
    ! `0 a- N# d- T/ ^* p) G
  35. - Z' j( c1 }. r4 x: c
  36. ; Directives are specified using the following syntax:3 `/ ?9 z( T3 X
  37. ; directive = value/ x0 L: a$ V5 {+ V8 ?
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    5 L) u+ ^: G, x/ a7 o' Y& j
  39. ; Directives are variables used to configure PHP or PHP extensions.4 B, m' N, W% [3 }( `* E+ |
  40. ; There is no name validation.  If PHP can't find an expected
    5 o% D, S' s( ]3 Z- [
  41. ; directive because it is not set or is mistyped, a default value will be used.
    ) B$ l+ \3 K2 f' E* y

  42. 0 T9 h9 c9 q5 E
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    3 }! \( f7 @( J4 X' J
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression) [  Z- S. T1 D% e
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    " i$ z5 Q2 Y' \% L
  46. ; previously set variable or directive (e.g. ${foo})* s# p9 R, t! P' q  Y1 {
  47. - K' d; p+ M* s" b7 _
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    & A3 }3 l+ o' R' T2 @. x+ a7 o5 [: z
  49. ; |  bitwise OR
    9 u2 a4 p+ C* ~. F; }9 V# x
  50. ; ^  bitwise XOR! Z; c$ J2 x9 R9 I2 E
  51. ; &  bitwise AND
    ) C2 w# r0 H! _4 ~$ c
  52. ; ~  bitwise NOT
    ) x, m8 u0 j0 C- Z- ~; y2 P
  53. ; !  boolean NOT6 S9 K0 @' o, C# J) m) _' \7 p
  54. 3 D9 T. c0 F7 C7 R" l0 |3 f
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    . @; V" j! @% y2 X3 c  y
  56. ; They can be turned off using the values 0, Off, False or No.
    & a# Q3 @7 B( Q

  57. 9 K( j  H: }/ h, `$ @; T
  58. ; An empty string can be denoted by simply not writing anything after the equal
    0 p  }" H  a; ?
  59. ; sign, or by using the None keyword:
    8 {8 p: [9 ^2 \+ X0 H

  60. - a! c+ p6 G" s( N/ @1 g5 d" ?
  61. ;  foo =         ; sets foo to an empty string
    / D2 @) G1 y- g6 q
  62. ;  foo = None    ; sets foo to an empty string" F9 Y$ x4 e) f5 ~
  63. ;  foo = "None"  ; sets foo to the string 'None'( [) a% \7 z: j* O8 J% C4 C
  64. " z4 F+ X1 e5 S. n. B8 b
  65. ; If you use constants in your value, and these constants belong to a
    / h5 Z; U& ~; p" @$ ~+ \
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    3 R$ B3 |9 [4 N  x+ D$ w9 {3 g
  67. ; you may only use these constants *after* the line that loads the extension.* i, `# Q5 Z6 [# Y" O* r: ~) n

  68. + w4 ~) J1 P8 j! k" o
  69. ;;;;;;;;;;;;;;;;;;;
    ) M/ r0 N4 A' D  A" T
  70. ; About this file ;/ k" H! n) w1 |4 D9 w
  71. ;;;;;;;;;;;;;;;;;;;
    $ o/ L9 O: a, @4 R8 j9 ]5 K
  72. ; PHP comes packaged with two INI files. One that is recommended to be used% ~7 F1 _4 O) e* H* F$ S& H7 r
  73. ; in production environments and one that is recommended to be used in- g+ m+ \2 x" g7 r- l
  74. ; development environments.; L# C! G( v7 D- R- S2 y9 A
  75. $ r- f5 F" k3 p4 n% V
  76. ; php.ini-production contains settings which hold security, performance and! {* s5 `6 m" c2 v6 u
  77. ; best practices at its core. But please be aware, these settings may break# O# j9 V3 O! Q6 m6 a5 T
  78. ; compatibility with older or less security conscience applications. We
    3 ]; @3 U4 Z3 T
  79. ; recommending using the production ini in production and testing environments.9 R4 c  o1 |" u2 o5 v+ T1 J

  80. + `( J$ i# n, p2 I* e
  81. ; php.ini-development is very similar to its production variant, except it is
    ) }1 w( Z) Z- N; z2 Y' d* G$ [
  82. ; much more verbose when it comes to errors. We recommend using the' ?# i7 D/ n0 p  S% u0 O
  83. ; development version only in development environments, as errors shown to
    9 ?  |* V/ X4 a% C6 o# N
  84. ; application users can inadvertently leak otherwise secure information.- p9 c5 v8 \/ ~( u) s4 m
  85. 8 T$ p0 t) r: M$ e) L( I9 ?* h7 d
  86. ; This is php.ini-production INI file.) ~) F8 g3 E' x0 Q/ M, e
  87. - N" V) E# S# \  \- ~
  88. ;;;;;;;;;;;;;;;;;;;
    % z* V% W5 V' [% c/ R
  89. ; Quick Reference ;) |5 O3 ]; S; I) O0 Z2 T8 G
  90. ;;;;;;;;;;;;;;;;;;;( _/ t1 s& W, W& |9 I5 B9 \
  91. ; The following are all the settings which are different in either the production
      s, q% U6 z1 I" e% E# ]; H
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    0 O& K+ Q) b7 |) f, E
  93. ; Please see the actual settings later in the document for more details as to why; e8 {' L6 S* o  t: R  M* S& y
  94. ; we recommend these changes in PHP's behavior.. ~6 ]& g2 G" X+ `, s
  95. 0 L! l& a# r" i, {1 G8 Z' U
  96. ; display_errors
    $ \2 Y% b4 {4 l3 \: b+ {
  97. ;   Default Value: On/ o4 ?- W2 C* ?
  98. ;   Development Value: On5 R, R+ ]: J! B. y) c) v) V4 b
  99. ;   Production Value: Off  d- R3 Z% O& z: W* O- M1 e: E# c
  100. ' ~3 Q/ A* h7 e- @* [
  101. ; display_startup_errors
    " E! f3 g, \7 [7 y* c
  102. ;   Default Value: Off- j0 K$ Z, q; {, X' w
  103. ;   Development Value: On' j8 w$ O7 n" @& \6 `
  104. ;   Production Value: Off
    ' ?4 h' U5 U2 ]1 _: O# h
  105. 4 [+ R. v4 V; i, n1 `
  106. ; error_reporting
    1 @1 d) c/ h0 o  [
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    + t6 @" D5 z0 u1 V* L# K! ?
  108. ;   Development Value: E_ALL- @: r6 g) t! |0 J/ Q( m& w7 m$ G, f: Z
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    / Q6 K; k% @  x' P* Q0 w

  110. . }5 ~# U$ z$ R1 o; G; A  D5 T
  111. ; html_errors
    4 @4 c. i0 ^8 p3 s% f$ W
  112. ;   Default Value: On4 Y9 q1 c7 m/ z- `! z$ Q  ]8 X5 f
  113. ;   Development Value: On
    # f; i1 [7 {6 h$ p
  114. ;   Production value: On
    & t0 A3 }& j2 f# o
  115. 0 N6 h. u7 Y% L. Y# j3 N
  116. ; log_errors' p: k- F1 J( g! x
  117. ;   Default Value: Off; v; q! v* s* z  _1 N$ W
  118. ;   Development Value: On! i% E5 @1 U: |9 x* G  C
  119. ;   Production Value: On5 y. E4 d! j6 W) T9 z
  120. & J  @8 x- g0 w' S0 }
  121. ; max_input_time( E6 B; w( I! o  j* j* o: E' }
  122. ;   Default Value: -1 (Unlimited)! ]* j5 S* t: S3 m' J( i: |
  123. ;   Development Value: 60 (60 seconds)
    8 o; U8 W( N4 ?& a
  124. ;   Production Value: 60 (60 seconds)+ o7 @+ M& \" a# r1 ~. B, q

  125. 3 @* m$ ?2 h2 r8 J
  126. ; output_buffering
    ( q! u1 Q5 p; O
  127. ;   Default Value: Off6 e( o5 q3 V6 C1 r
  128. ;   Development Value: 40969 h5 P; ~5 B7 Y1 y9 r* W/ g
  129. ;   Production Value: 4096
    * G1 V% h; c1 b

  130. ; ~8 h6 Q8 [5 R7 x
  131. ; register_argc_argv& X5 G- T' B) Q( c# ?$ U2 o
  132. ;   Default Value: On
    ( |  U3 E3 \% f. U- D8 `$ T
  133. ;   Development Value: Off( k; S5 j' L6 n, d
  134. ;   Production Value: Off
    2 j+ p3 L! T+ D# l5 k

  135. " D( j: \1 N# \
  136. ; request_order
    ( i4 W/ R; c3 H2 b" L: l' q
  137. ;   Default Value: None2 n; F7 s( A) j
  138. ;   Development Value: "GP", \6 r) S7 E, o2 z  w: {% |
  139. ;   Production Value: "GP"  g* w4 E9 e4 f8 u: Q5 v
  140. 8 b0 m7 K7 {1 m9 A( f- F+ g4 d  Y
  141. ; session.gc_divisor
    8 @: ~! K  a- D
  142. ;   Default Value: 1008 C9 J: ]8 N3 ^! k5 P' L1 _3 M6 ?
  143. ;   Development Value: 1000
    2 J. V8 ]. N+ Q
  144. ;   Production Value: 1000
    / ~6 }. A8 N- Z" \" a1 E

  145. * o3 L8 x. R# V' O1 V$ c( C
  146. ; session.hash_bits_per_character
    9 Y  J7 N1 m: U! v
  147. ;   Default Value: 4
    7 Z7 ~4 K; x- E! u/ z6 m' L3 u. U
  148. ;   Development Value: 5
    & @. w+ _5 p) V) Y
  149. ;   Production Value: 56 a9 F% V9 k$ u+ m& S0 [) l

  150. 3 m) s/ }6 ~) G) j+ O" i) G
  151. ; short_open_tag
    " S: m3 ~2 T( C6 {9 t
  152. ;   Default Value: On. {7 ^' \8 g4 ]+ a- y
  153. ;   Development Value: Off; @7 J" l/ r+ h0 i2 A) O
  154. ;   Production Value: Off  c' Q" S6 a$ l

  155. , k' v/ g0 r8 A) O" q
  156. ; track_errors
    $ c* t9 l2 F4 G% @
  157. ;   Default Value: Off: [2 R& t2 F7 }- T8 R
  158. ;   Development Value: On
    5 T1 S' O; D$ P1 b. n& E! g
  159. ;   Production Value: Off
    9 Z: n' A9 O6 p

  160. 9 x8 v6 q% J( v0 v
  161. ; url_rewriter.tags
    + [# ]2 |* n6 T, ~$ l; Q3 q  b' |
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="0 m, y- M* e4 X( k; n& N# w0 |
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    8 d' p, h$ f. d2 B, C$ l; U6 w
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    - ~" }1 {5 [5 ~! B9 _; B( P' N& V. I0 n
  165. 9 Q2 ~$ a! K- G% \  B9 p0 s
  166. ; variables_order& r+ A$ R, i3 t' y# |' c) |! {$ J
  167. ;   Default Value: "EGPCS"7 q* D. d: u6 N  ?$ m3 Z
  168. ;   Development Value: "GPCS"
    3 N4 Z, V- Z7 W0 G$ j
  169. ;   Production Value: "GPCS"; K7 _/ b! g/ ?0 n
  170. % E3 f- Q. H8 `
  171. ;;;;;;;;;;;;;;;;;;;;
    * h  \" i# s4 p) r
  172. ; php.ini Options  ;5 _8 F( ^# G6 X, y4 ?
  173. ;;;;;;;;;;;;;;;;;;;;, p1 v6 @- v# ~% s
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"2 V* D) n9 g  L+ `; N! j
  175. ;user_ini.filename = ".user.ini"4 }+ t+ U/ }& I6 P- h
  176. + R: T' y( d8 ?$ L
  177. ; To disable this feature set this option to empty value
    % i9 i5 |5 A) w1 ]- X
  178. ;user_ini.filename =8 t  f4 V9 M) P6 v
  179.   a6 A( H. L# P0 |2 Q3 L; ~( J
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    " a; f, c  {/ W8 F; H; \! ~" E
  181. ;user_ini.cache_ttl = 300- |5 w/ \  _& f

  182. ! f9 F7 n; t8 m6 e0 j
  183. ;;;;;;;;;;;;;;;;;;;;
    9 t1 D6 l# N7 s! F+ [4 e6 Z- h! X
  184. ; Language Options ;; M- u" K, d9 Y' g- m4 t
  185. ;;;;;;;;;;;;;;;;;;;;: \# I% M9 B4 \: B

  186. 6 j. Q3 m1 e" B. @
  187. ; Enable the PHP scripting language engine under Apache.1 t+ [) g0 N+ d: h& |/ M/ Q
  188. ; http://php.net/engine. p* X" }' B4 y# K; q
  189. engine = On
      u3 D: _7 {9 Y& X# Y: i

  190. / R) j3 W  ^1 }5 E
  191. ; This directive determines whether or not PHP will recognize code between( a, d& ]/ S, Z5 _% O% O  r
  192. ; <? and ?> tags as PHP source which should be processed as such. It is+ }1 J7 h9 R7 J
  193. ; generally recommended that <?php and ?> should be used and that this feature1 R: Z$ r2 H; G* q, [
  194. ; should be disabled, as enabling it may result in issues when generating XML& J  Q9 y# Z7 V0 \# k8 E
  195. ; documents, however this remains supported for backward compatibility reasons., t6 r4 t$ ^$ r! p: D# j( `# q
  196. ; Note that this directive does not control the <?= shorthand tag, which can be& w. g0 O2 w( G1 f% p4 L
  197. ; used regardless of this directive.7 N, Z7 I+ i6 |4 ?8 u3 {5 F# F
  198. ; Default Value: On, j- O# Q  a8 e+ H! M8 Y8 U
  199. ; Development Value: Off' [% g# P! D( S9 E( a4 \$ F' h
  200. ; Production Value: Off4 U! X% D, R( U
  201. ; http://php.net/short-open-tag
    4 \! }+ V- G* [4 a4 o" U! @
  202. short_open_tag = On
    : Z* }  |' M# n/ r
  203. . m" i( j* E+ w; }. e6 h
  204. ; Allow ASP-style <% %> tags.
    1 H! a" ^2 s! j* R6 h
  205. ; http://php.net/asp-tags
    % L0 t$ @: d4 U. h! [
  206. asp_tags = Off% Q& M0 b' a. X/ w3 x
  207. 8 k: k. K' Y" U' U; E8 B
  208. ; The number of significant digits displayed in floating point numbers.
    " N/ B- S0 b  V  s
  209. ; http://php.net/precision5 _  S  \1 h+ F2 w% R9 H; x
  210. precision = 143 m0 f4 Q- H( K8 D" K( {  K

  211. $ w, e# [1 J  y+ k
  212. ; Output buffering is a mechanism for controlling how much output data& j* ^; E& k) G$ M1 o' G: |
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    4 ^6 K1 G# k  `
  214. ; data to the client. If your application's output exceeds this setting, PHP
    4 j% F- S! `- R: f- Z" T% X
  215. ; will send that data in chunks of roughly the size you specify.
    0 H0 f7 M  [) [4 F% j# W
  216. ; Turning on this setting and managing its maximum buffer size can yield some* G7 }' M% R  ]0 e0 K( o. S
  217. ; interesting side-effects depending on your application and web server.
    7 T6 j4 a* K8 g6 L0 `. U
  218. ; You may be able to send headers and cookies after you've already sent output
    / u% G3 t- y6 H: ^. U  N
  219. ; through print or echo. You also may see performance benefits if your server is
    2 D' L' V; v) _+ g5 a6 B( v
  220. ; emitting less packets due to buffered output versus PHP streaming the output# {7 q4 V: ?* `# J$ k
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance' {7 e2 n( M6 }! D
  222. ; reasons." H1 B& b; N/ [( U3 ^3 E
  223. ; Note: Output buffering can also be controlled via Output Buffering Control1 y) |- Y# o% i+ Q1 ]
  224. ;   functions.
    , x5 d" S0 O8 J8 ]7 F7 @  C
  225. ; Possible Values:
    5 ^# I0 r. ~8 i7 e6 t  d6 A0 d8 j( F
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    1 T  C0 X: z! d# Y/ x$ W; N
  227. ;   Off = Disabled1 N# `/ q% y/ ~4 b9 k
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.! {) ~1 f  J9 ^. [
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    % ?2 _6 l0 h! U" c- l; V6 E7 m, m' l
  230. ; Default Value: Off9 T2 r  u) f6 q% L$ d) z
  231. ; Development Value: 4096
    & [  Z( w0 a5 P
  232. ; Production Value: 4096
    4 v0 ~% h+ Z+ w0 ?
  233. ; http://php.net/output-buffering
    7 K* [. }3 S9 t3 N
  234. output_buffering = 4096
    # L2 ^9 `2 J" Y7 C. I

  235. 4 y% y5 t: ]- K5 G: b8 p6 ]7 R
  236. ; You can redirect all of the output of your scripts to a function.  For# `. T  h; T+ Y
  237. ; example, if you set output_handler to "mb_output_handler", character
    / R- P- l* O# C( J' S& ?3 G7 _
  238. ; encoding will be transparently converted to the specified encoding.- j3 K, z1 @* K. d& ~
  239. ; Setting any output handler automatically turns on output buffering.0 A2 J# W! T& o- s% M
  240. ; Note: People who wrote portable scripts should not depend on this ini+ {& p( @6 O3 U( P/ w9 z
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    % t  ?! f$ J8 f% ]5 r) |' Q
  242. ;   Using this ini directive may cause problems unless you know what script
    ) y. L  Y/ A1 O' Z/ O; y
  243. ;   is doing.
    : o8 c& e- z, [- o* |0 C: P
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"0 D' y, |3 y" P& M
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".  @5 ^4 Q; |6 X, w
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    8 e2 H  X8 Q1 }& @# p7 z
  247. ;   Instead you must use zlib.output_handler.
    0 ^5 u8 G1 g' j7 e8 `3 `
  248. ; http://php.net/output-handler  Y6 u  E9 N- B4 I
  249. ;output_handler =
    ' h+ h' h7 X, B/ `; z
  250. 8 J4 n' ^: n* a3 X
  251. ; Transparent output compression using the zlib library
    " `0 B" t, |' Q1 S- @
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size  w% P- p2 C6 @# p* T
  253. ; to be used for compression (default is 4KB)3 S0 }# ?5 A6 v. R) p: f+ x
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    : H! }+ l/ c3 x# k$ R4 u0 t
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    . v' C( m- k" G( S+ E( s; y* k
  256. ;   compression. If you prefer a larger chunk size for better0 e2 p5 K) L+ {3 T
  257. ;   performance, enable output_buffering in addition.
    ' F" w! N) @$ U) D2 Q' \$ c: l
  258. ; Note: You need to use zlib.output_handler instead of the standard- U4 y. o) Y$ X
  259. ;   output_handler, or otherwise the output will be corrupted.+ }$ ~6 Y6 y& N! i5 f
  260. ; http://php.net/zlib.output-compression
    : |+ C3 \% D) N2 e: o/ ^8 U
  261. zlib.output_compression = Off9 I8 ^7 k. N$ ~8 K0 i3 o; l
  262. 3 f1 }' `. }4 H% M: ?8 R
  263. ; http://php.net/zlib.output-compression-level# k# Z2 ]% a0 s
  264. ;zlib.output_compression_level = -1
    , g2 E( }: ^* L, R' H) e- ^# o9 H( R
  265. 3 ~  u: R. b3 f8 W( E
  266. ; You cannot specify additional output handlers if zlib.output_compression* ~* R! l# h- O. p1 ]$ j' G
  267. ; is activated here. This setting does the same as output_handler but in
      ]7 K2 \; h0 W9 ]( r- O
  268. ; a different order.
    9 i* @, V+ ], g! z6 o
  269. ; http://php.net/zlib.output-handler6 W2 ]% C, R1 t  g
  270. ;zlib.output_handler =* G* E" t% m; A+ X( Q
  271. , p7 r& X" ]9 t, q/ o
  272. ; Implicit flush tells PHP to tell the output layer to flush itself! p9 @% D8 O/ ?* B& I/ u
  273. ; automatically after every output block.  This is equivalent to calling the9 N3 K' C! X9 D* T& ^
  274. ; PHP function flush() after each and every call to print() or echo() and each
    $ S, c: v) U3 F9 u/ }. E5 s5 F0 W. G
  275. ; and every HTML block.  Turning this option on has serious performance
    . d  L( [8 L& y; u/ [0 K
  276. ; implications and is generally recommended for debugging purposes only.- Y( X; m0 w7 A' G
  277. ; http://php.net/implicit-flush/ P* Y, K8 g- E
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
    , e% o0 k' H; y: S/ I
  279. implicit_flush = Off! V- F& u6 `1 x2 y

  280. . e! H. A' {. l" R' ~% c
  281. ; The unserialize callback function will be called (with the undefined class'
    & M8 o' P* O+ x8 \& w$ J
  282. ; name as parameter), if the unserializer finds an undefined class) [! l. _5 G* [0 A
  283. ; which should be instantiated. A warning appears if the specified function is; c7 k- m+ w# T" d5 L" t: p# j
  284. ; not defined, or if the function doesn't include/implement the missing class.) O: r' t, Z5 ?* |5 Z
  285. ; So only set this entry, if you really want to implement such a" F$ @: H6 Z5 ^5 N
  286. ; callback-function.) W6 \7 F" r+ ?0 ^6 g
  287. unserialize_callback_func =2 u3 f5 v' ~3 C4 C! j1 N) }5 z6 ~
  288. 2 s% @: H# p+ T1 y2 O( G) M. T
  289. ; When floats & doubles are serialized store serialize_precision significant
    ; `( o/ W3 M9 l) Q8 M
  290. ; digits after the floating point. The default value ensures that when floats& C& a! T7 u2 O
  291. ; are decoded with unserialize, the data will remain the same.* Q5 s" A1 q# V. L% L
  292. serialize_precision = 17: D5 s/ B9 s/ C4 g8 k5 m0 N
  293. 6 c: ~# I5 o) Z' [
  294. ; open_basedir, if set, limits all file operations to the defined directory0 [: U( X5 R% z( ?6 Q
  295. ; and below.  This directive makes most sense if used in a per-directory
    9 k( s* I. m  m9 ?3 \8 L# F
  296. ; or per-virtualhost web server configuration file.
    4 R( @: B: j, p3 k+ `
  297. ; http://php.net/open-basedir0 I0 {7 x" s# h+ D3 C/ t6 H6 H3 S
  298. ;open_basedir =% U; P% D0 w3 q3 x: ?

  299. 0 P* R0 f. N* ]- S
  300. ; This directive allows you to disable certain functions for security reasons.
    ( x" o0 q: S" s6 ?2 |2 x
  301. ; It receives a comma-delimited list of function names.
    3 N. L- D+ T; r. T
  302. ; http://php.net/disable-functions+ t7 }( y' Q9 ^% n& v: A
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    4 y: k4 f8 @+ [8 z: n& _- n

  304. ' V- s8 `, W! g/ N% x5 X
  305. ; This directive allows you to disable certain classes for security reasons.- Q+ z5 M% ^( E- C) _* s
  306. ; It receives a comma-delimited list of class names.& k  t4 e' s7 K* a2 Q4 I- c
  307. ; http://php.net/disable-classes
    : Y* N% }$ a8 T' h
  308. disable_classes =
    ' e9 K+ F3 z6 p# b& m6 ?7 O

  309. ' ?  ?! D0 d4 U8 {7 @  U0 f3 M
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in4 Q& {- C# J+ x5 N: H5 t6 Q1 O7 c, _
  311. ; <span style="color: ???????"> would work.0 \7 P! V- m/ }( {* C' U
  312. ; http://php.net/syntax-highlighting  J" r5 S' ]5 ?" w
  313. ;highlight.string  = #DD0000
    + O6 I, j& c- A- e& l
  314. ;highlight.comment = #FF9900
    8 H. U, w/ i5 C( f9 D/ V  ~
  315. ;highlight.keyword = #007700+ w4 ?5 A+ x7 [. Q4 j
  316. ;highlight.default = #0000BB
    " T  i- @$ `# `7 U
  317. ;highlight.html    = #0000007 i1 q/ a) v1 y

  318. . k8 h- X& i" l) y9 s8 C  h
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    : l6 w( e  N4 @0 N
  320. ; the request. Consider enabling it if executing long requests, which may end up
    - h. H; m2 C. t% Q
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    : B$ C5 u" |$ |7 {8 O& |( w
  322. ; is to disable this feature.
    " O* i/ L8 U1 {$ y8 [7 [
  323. ; http://php.net/ignore-user-abort
      A+ C- I+ ?- j$ a+ ?* P
  324. ;ignore_user_abort = On2 j( `: c1 p! |( Y
  325. 6 o7 Y; E+ b5 B/ f' {* I, d
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    ; e7 N' L* J4 z& E/ o1 O3 @
  327. ; be increased on systems where PHP opens many files to reflect the quantity of6 ?4 C8 G. h0 R1 o* y
  328. ; the file operations performed.
    - [6 O2 _; L, y! r8 p- B; c
  329. ; http://php.net/realpath-cache-size/ w2 T2 I5 ^& w. D
  330. ;realpath_cache_size = 16k. T2 ^9 J' p' t+ }0 q! L( w

  331. + ]0 B5 o- H  V4 g
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    $ @- c/ @% `& P
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    ( I* b% `+ [$ [2 J) d
  334. ; value.5 [  A$ Q$ z/ r5 T. f  X
  335. ; http://php.net/realpath-cache-ttl" W  P6 a7 ~; ?, x
  336. ;realpath_cache_ttl = 120
    - s! n7 O, |0 X- \% M2 M# |
  337. " E8 q: U2 g# k. b# T
  338. ; Enables or disables the circular reference collector.
    2 I3 F1 L0 V" J: u3 Z
  339. ; http://php.net/zend.enable-gc
    8 C; N5 S$ K7 n6 l: U5 h. |
  340. zend.enable_gc = On) ~  f! q3 b* l6 R- K2 g

  341. 0 I1 c2 F  ~3 @7 C8 n  T
  342. ; If enabled, scripts may be written in encodings that are incompatible with' l/ a$ f9 A+ X6 d/ p* c4 ]9 w1 [
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such! }1 m, R* A; ^
  344. ; encodings.  To use this feature, mbstring extension must be enabled.9 S' ~9 @- L) K
  345. ; Default: Off
    + f2 c, X) l' R& O: d6 m
  346. ;zend.multibyte = Off
    6 G  ?* j. T3 D& h& C

  347.   x& ?5 {1 B  S$ D5 C
  348. ; Allows to set the default encoding for the scripts.  This value will be used+ a% I; N% `: b8 C% v2 q
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.- c2 k: |% O! z* l6 }
  350. ; Only affects if zend.multibyte is set., E; p  a5 p9 T  m9 H2 G0 n+ q
  351. ; Default: ""9 H1 n2 t' ]5 V: u( o2 T+ V5 d9 P
  352. ;zend.script_encoding =
    . g& T, S2 ?8 L3 D) B
  353. / W7 R% r' T! M+ T; ^. w
  354. ;;;;;;;;;;;;;;;;;
    ' w3 }1 o! ]7 Q
  355. ; Miscellaneous ;. \; x+ _# u' @$ G
  356. ;;;;;;;;;;;;;;;;;1 Z8 {# B( y. ^

  357. - W- M3 R4 J$ \% ]% m
  358. ; Decides whether PHP may expose the fact that it is installed on the server3 x/ M: Q0 t9 ~
  359. ; (e.g. by adding its signature to the Web server header).  It is no security9 \0 k* s* T/ y' @/ O6 H
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    ) F; I/ {4 K/ H; ^) K& ^& }
  361. ; on your server or not.. M, h' K. n2 i  W* n8 z: N
  362. ; http://php.net/expose-php6 W& r- f& \- n
  363. expose_php = On
    % P; o, x; u; l* q* P3 {- W
  364. ! ?, K0 L' C/ c/ c
  365. ;;;;;;;;;;;;;;;;;;;
    / v" p2 [* U! r
  366. ; Resource Limits ;
    5 [  X) [/ ~# }* Q2 y
  367. ;;;;;;;;;;;;;;;;;;;
    + R/ e* A; \# t) {
  368. 5 B/ M' O+ v, M0 Q
  369. ; Maximum execution time of each script, in seconds
    . z, [4 p7 S$ `) W1 z8 C0 `
  370. ; http://php.net/max-execution-time- F1 y: h; w8 m" X6 Y9 e& }
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    , Z+ z4 U4 v  A# W, S3 |4 ?, e7 O
  372. max_execution_time = 300
    & [8 I2 W+ S4 t% c  q" b! i
  373. 1 D6 V1 P1 s6 R
  374. ; Maximum amount of time each script may spend parsing request data. It's a good  s# B+ k! {0 i+ [2 Y) ~  O
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly+ ~( [# c' n6 d# q: q
  376. ; long running scripts.7 w3 E$ [# @3 E/ B' w; x. F9 V
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    $ `" t1 `9 @( M
  378. ; Default Value: -1 (Unlimited)( v9 {' S6 j" m3 l
  379. ; Development Value: 60 (60 seconds), V3 v$ A& m% D
  380. ; Production Value: 60 (60 seconds)
    / J; U9 H% {+ x; a: J* G" D0 n' w
  381. ; http://php.net/max-input-time
    1 F& V& F) u) w& N" j5 `
  382. max_input_time = 60
    / R% U! r/ ^% ~' s$ d/ F) H0 |& O
  383. 1 w' `" L$ f' V7 z
  384. ; Maximum input variable nesting level$ v1 a( E3 w" Q$ X1 ~
  385. ; http://php.net/max-input-nesting-level
    ; O6 |, N' J5 J& ?
  386. ;max_input_nesting_level = 64/ y: P; k) c- g3 L

  387. ) n' }) S' H! i9 k. F6 i3 Y$ H; v& h, G
  388. ; How many GET/POST/COOKIE input variables may be accepted
      p) W; f8 {: ^9 o3 j$ [
  389. ; max_input_vars = 10000 n" ]+ H  w# X7 j- \3 U5 I! v

  390. & {: ~; C; r8 W+ A
  391. ; Maximum amount of memory a script may consume (128MB)
    % f" e1 k9 v  W& Q
  392. ; http://php.net/memory-limit
      i6 @* G/ Z8 }* F, l1 o
  393. memory_limit = 128M3 S8 B, a. v0 x) t3 ]8 C
  394. " W% ?; W( z1 P' M, L" S: Y
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;( `+ U# N1 m; l" g
  396. ; Error handling and logging ;
    * y1 x* [$ O5 y% i
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    6 {* a) U; G+ L* S& h$ E
  398. 6 X' [: }% H2 N1 L  _
  399. ; This directive informs PHP of which errors, warnings and notices you would like: o: ?3 y! ?! t9 ^/ g
  400. ; it to take action for. The recommended way of setting values for this9 {1 }0 W  w5 L# A" O7 _( H
  401. ; directive is through the use of the error level constants and bitwise5 }7 a) z4 v$ x
  402. ; operators. The error level constants are below here for convenience as well as
    ) A6 b, A4 ^* O- S
  403. ; some common settings and their meanings.
    - u; W) R7 I! w6 }
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
      G" t. s# o  `$ a
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    ) A5 y: c% W: e$ R$ y
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    & e: u0 ^3 j$ {4 Z8 Z( d
  407. ; recommend error reporting setting. Your production server shouldn't be wasting5 M) Z+ F- `; S& E
  408. ; resources complaining about best practices and coding standards. That's what5 p' ?# B8 z" A# D9 V8 z2 \
  409. ; development servers and development settings are for.- u/ h" d3 s( |5 C
  410. ; Note: The php.ini-development file has this setting as E_ALL. This0 R9 g' B$ o5 B, G0 A; r
  411. ; means it pretty much reports everything which is exactly what you want during
    ) V7 v. K& P2 v" }, L* F  v, v
  412. ; development and early testing.
    * `' I! N5 q# X; c4 p, q
  413. ;" ]0 V! F  L7 d* F
  414. ; Error Level Constants:: F7 a. k2 |6 g/ K2 N6 Y
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    + h3 s/ A# n: z
  416. ; E_ERROR           - fatal run-time errors; H1 z, b' k- w: c2 a
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors3 z; ]" R0 K2 q5 I# Q( ]
  418. ; E_WARNING         - run-time warnings (non-fatal errors)# g8 t& C1 X" v' A! w8 p; ^
  419. ; E_PARSE           - compile-time parse errors) j0 h$ y/ \: [: F
  420. ; E_NOTICE          - run-time notices (these are warnings which often result; j/ D1 W/ ?! Z
  421. ;                     from a bug in your code, but it's possible that it was
    ; ], a7 c1 V8 z3 e
  422. ;                     intentional (e.g., using an uninitialized variable and4 G9 }  \+ q, C, k* |4 P
  423. ;                     relying on the fact it is automatically initialized to an# ~3 Y1 Z* n* u( j. o* `
  424. ;                     empty string)
    ' F9 n) m' `: k$ @. m$ \  j; s
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes; T5 U1 k; q. i4 R' B2 U4 A
  426. ;                     to your code which will ensure the best interoperability
    6 L( g$ `3 U9 S  u1 n+ C" u
  427. ;                     and forward compatibility of your code
    $ R7 m$ M7 Q2 d( ?/ R; S
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    / C+ ~2 f4 o" u8 m  L" E- h
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    9 W  ?3 W' q7 i4 t
  430. ;                     initial startup4 b- i, P5 m; Y- J$ S! `/ Y: f, B
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    & e& m- b1 a4 i0 W6 \  U( I
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)) _( b, |. w. P( D, @1 E  V
  433. ; E_USER_ERROR      - user-generated error message
    " z" B% x: O9 Q8 A  A7 L
  434. ; E_USER_WARNING    - user-generated warning message3 A) h/ ?5 c4 ]4 J* U
  435. ; E_USER_NOTICE     - user-generated notice message
    + d4 s& t8 Y, M# a* T; O
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    , a1 ]# a% t" }" b8 N# ^
  437. ;                     of PHP% o7 Y# p) E. S. \
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    6 H1 g" q* T5 T6 |/ {
  439. ;
    5 u' Q$ k+ c8 e+ z& I
  440. ; Common Values:
    5 Q: }7 U, v& Y9 A# z
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    2 ?9 E1 z9 _# ~$ z) T
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices), n) s, _, S9 ^9 K
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    9 i: J) |. i) o- C" X' e; Q. r4 k4 F
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    * y6 C! g) j% r# X2 A9 \* m) e( q, x
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    : @8 V+ {( q$ h3 r, k& H% j, T  {
  446. ; Development Value: E_ALL
    ; l9 G+ w$ K+ `* L- y2 `% d" Y; V, M3 Y
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    % O" T; q8 ~6 ]! g& T$ _
  448. ; http://php.net/error-reporting; o( t& E8 }; Q# q3 x) F- Z
  449. error_reporting = E_ALL & ~E_NOTICE
    + x! h- g1 U! t" q6 N% ]# I
  450. 1 @2 x# g+ J- l8 N5 [2 P( z" _
  451. ; This directive controls whether or not and where PHP will output errors,
    3 a1 v& K; i* v" @
  452. ; notices and warnings too. Error output is very useful during development, but
      _5 T  Q! G, \) g- f
  453. ; it could be very dangerous in production environments. Depending on the code: D$ K! [. m/ T2 h: }8 [
  454. ; which is triggering the error, sensitive information could potentially leak4 T% @% I; P5 r7 g. e9 q
  455. ; out of your application such as database usernames and passwords or worse.# B) @$ \3 C5 i- M7 `7 E% N" f
  456. ; For production environments, we recommend logging errors rather than$ ?% v- N& J+ z; ^
  457. ; sending them to STDOUT.
    / n1 j+ n: Z" }0 T* V
  458. ; Possible Values:
    " e/ l5 U2 W# b
  459. ;   Off = Do not display any errors
    . W. ~0 e3 t# m  x9 y
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)8 d8 l* x' L$ T
  461. ;   On or stdout = Display errors to STDOUT
      K0 j2 ?7 i+ Q1 E: ]% o
  462. ; Default Value: On& e/ Z  z8 v1 d- R" ]) s3 m
  463. ; Development Value: On3 U! X' I* I: a. _1 M# O
  464. ; Production Value: Off( M7 A5 j: A: O8 {
  465. ; http://php.net/display-errors8 z) V; m4 y; }
  466. display_errors = On) t( `& P) c5 v; m

  467. ( I$ {4 n" x: u- n  Y* ]
  468. ; The display of errors which occur during PHP's startup sequence are handled
    - q, g* e* L3 E
  469. ; separately from display_errors. PHP's default behavior is to suppress those
      r" E" d/ u+ N% h" w
  470. ; errors from clients. Turning the display of startup errors on can be useful in! j! N" F4 o, @: x1 w. P
  471. ; debugging configuration problems. We strongly recommend you5 B# n8 m% k: A0 x
  472. ; set this to 'off' for production servers.
    3 s, L/ r$ F& z% \
  473. ; Default Value: Off
    . @( o# {$ \; {. _* v
  474. ; Development Value: On
    / ~  z& A' n( `( S
  475. ; Production Value: Off
    1 J# B- Y, o* v" P- E) l
  476. ; http://php.net/display-startup-errors& ~  d$ p0 M+ q7 k
  477. display_startup_errors = Off" C! ~9 N8 w- l, ?9 p8 r9 q

  478. 1 b' w( D- q* ]- H! a, [7 T8 n: G' u' I
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    0 o$ |  v( f9 E% i/ p
  480. ; server-specific log, STDERR, or a location specified by the error_log' I/ V% P7 N' I* g9 F
  481. ; directive found below. While errors should not be displayed on productions
    ( a" s/ x3 h8 G# M. B1 n1 l
  482. ; servers they should still be monitored and logging is a great way to do that.* _: ?: K) `- y* U, ?( I8 O* C! j
  483. ; Default Value: Off
    + X4 {) @( T3 u' ?4 h. [2 l1 @
  484. ; Development Value: On% w; B9 u0 g% N: l0 B& `3 P
  485. ; Production Value: On
    4 U; B" G! K) _& j. N% E9 O
  486. ; http://php.net/log-errors
    4 J5 b& P# r9 a) T* K4 j  Z
  487. log_errors = On
    # U, O; G/ W0 P1 U3 a1 D

  488. ' P5 h, I9 ?# D$ v( O0 `' `5 z- D
  489. ; Set maximum length of log_errors. In error_log information about the source is
    9 t  x6 C$ ^5 O8 t- j2 F# h
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
      G- e3 s* u' w  K1 l. ], W& \2 `
  491. ; http://php.net/log-errors-max-len( G6 z" ]& T0 L& \# T; n( ?
  492. log_errors_max_len = 10248 z7 s, U5 O9 z" x7 z0 B: J# \

  493. ; I2 t- T0 K  k0 i9 U( t
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same; A* h+ ]! ^5 h' x; E% M
  495. ; line unless ignore_repeated_source is set true.
    ! }/ [! i4 _. T. v6 z- c
  496. ; http://php.net/ignore-repeated-errors% e" @7 I* j  N
  497. ignore_repeated_errors = Off
    ; U0 d; Q: T! H3 W! v! C5 `
  498. ; G$ v- c' p; u3 p; ^
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    - q2 G2 |' h* n" C; Q7 g
  500. ; is On you will not log errors with repeated messages from different files or: M0 ~3 X( H% P
  501. ; source lines.+ U$ r& _1 S0 \; O4 X
  502. ; http://php.net/ignore-repeated-source) l, X( k6 W! O7 \. i$ u
  503. ignore_repeated_source = Off- K( |+ }0 Z4 q- F2 i

  504. . v* \9 `. A2 ?" ?* U+ l" R7 f! }
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    $ I* [4 p% \8 F! }! H
  506. ; stdout or in the log). This has only effect in a debug compile, and if! g) U' W3 P+ o5 W& t  G) R
  507. ; error reporting includes E_WARNING in the allowed list
    + U3 `5 Y* O0 {% |
  508. ; http://php.net/report-memleaks/ v: V, }% u, ^! g
  509. report_memleaks = On
    % w! a5 |' k) L6 u

  510. 7 ^" g6 K0 u; X. y8 U6 ?
  511. ; This setting is on by default.: @( z) s5 Z6 H
  512. ;report_zend_debug = 0
    % a: L; v6 n1 L

  513. 9 ?+ N$ {7 f. D* W) {. {* b) A
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value% R! {7 n' S) H' |# a
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    8 N9 z; R' }  \: N
  516. ; however be disabled on production servers.
    : @; q$ M. M# Z! r1 q: E3 O
  517. ; Default Value: Off; A  Y  ^6 I1 U$ P8 I) B. M! e' R
  518. ; Development Value: On; X6 t9 d$ m8 n! R8 w6 H
  519. ; Production Value: Off& g6 [4 D  [7 t% }3 Q3 J! A
  520. ; http://php.net/track-errors
    / `, l6 P9 u. m- C. s+ u. e
  521. track_errors = Off
    , H8 z4 z4 R3 M3 S9 k
  522. " N% J$ A% `5 I/ K5 r
  523. ; Turn off normal error reporting and emit XML-RPC error XML* w+ Q* g) l8 F; j, [1 u
  524. ; http://php.net/xmlrpc-errors
    ! Q5 q- D& W# N( z7 h  P1 \: |  y
  525. ;xmlrpc_errors = 0) L6 e& p8 S& a0 o7 d( C  V
  526. 3 i3 o" d* k3 l
  527. ; An XML-RPC faultCode, o/ Y( H- R6 q! n' X6 w* y
  528. ;xmlrpc_error_number = 0. I' h' r9 R8 {% v2 ]

  529. ; T5 C3 S9 E8 g1 \
  530. ; When PHP displays or logs an error, it has the capability of formatting the: E' W& Q1 L( t+ ~5 @2 T  X. B# {* h
  531. ; error message as HTML for easier reading. This directive controls whether
    & k+ m; o' W7 S$ F7 Q0 h/ k
  532. ; the error message is formatted as HTML or not.  P9 o9 K8 d! E3 w
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI* f; J0 M/ C2 w0 r) W
  534. ; Default Value: On
    , [( [$ [6 x) p" E5 W
  535. ; Development Value: On
    ) q4 [1 [" ?; e# @3 x
  536. ; Production value: On
    + B( S9 @: i$ w- g- t/ Q3 M
  537. ; http://php.net/html-errors
    4 a9 Z9 N  B; J7 q
  538. html_errors = On. S& I$ L7 Y+ l+ k( p# g' w% C

  539. 6 {' @+ V5 L9 v" K/ l- Z
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    ! {5 d+ |' l$ [+ `* x* F7 V
  541. ; produces clickable error messages that direct to a page describing the error
    - `5 \+ q2 i- y
  542. ; or function causing the error in detail.
    $ ~. B% V3 I& C" X% j) A
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    9 Y+ n; f; c: \% a# e  P( ^- x
  544. ; and change docref_root to the base URL of your local copy including the
    0 B- [% z8 l* e" P
  545. ; leading '/'. You must also specify the file extension being used including
    0 ^2 h3 M3 `7 j! r$ _0 i
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which. N3 r# e, x& c$ r
  547. ; case no links to documentation are generated.
    " |6 n" U+ O) z6 k+ r; D
  548. ; Note: Never use this feature for production boxes.
    0 Z# J& m: M9 _6 _+ W! ^
  549. ; http://php.net/docref-root
    + h2 _, J' _' T# G
  550. ; Examples4 o: M( P! H( H: S2 K8 Q
  551. ;docref_root = "/phpmanual/"8 s0 b7 o1 O8 I/ c/ E  W7 N
  552. 3 t7 T2 D* h, p5 N9 M! R
  553. ; http://php.net/docref-ext
    , s) }: D/ i  k
  554. ;docref_ext = .html
    # m6 R! k6 R' N+ Z
  555. ) h0 K/ {+ ]- K3 Z- Y$ Y+ C4 }' x. a
  556. ; String to output before an error message. PHP's default behavior is to leave
    9 {2 z9 {  d- \; O9 s) R
  557. ; this setting blank.
    2 b. @0 U7 X* t
  558. ; http://php.net/error-prepend-string
    5 y& c( F9 L' w3 h5 f& ^
  559. ; Example:
    9 i6 _/ U4 v: W$ x2 ?- k0 f
  560. ;error_prepend_string = "<span style='color: #ff0000'>"4 |* y( L/ T. z7 v) @( u- `& {

  561. 0 i9 [8 w$ U% o* h& v
  562. ; String to output after an error message. PHP's default behavior is to leave
    ' t# f9 B+ E, I& V* E8 A2 I; B
  563. ; this setting blank.
    $ E* E0 s9 o, e3 S
  564. ; http://php.net/error-append-string
    " U& ?& i  P; y1 @$ F
  565. ; Example:
    & S# d+ ?: e8 H
  566. ;error_append_string = "</span>"
    3 l- C% B& E5 s- V

  567. % G; q( _/ c) r8 r
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    % E" R4 K* G( l. V9 c* l* L
  569. ; empty.% W& t" \; h) L3 ]& d% v+ `
  570. ; http://php.net/error-log4 P9 v! Z: d7 q# T) p' I
  571. ; Example:
    1 B; V% j; M6 c% w" w: n, s/ p3 z6 S
  572. ;error_log = php_errors.log# @. ]: d) n# _
  573. ; Log errors to syslog (Event Log on Windows).5 D  [% f8 n$ h6 k8 w" \  X. F
  574. ;error_log = syslog! r3 ~. N, p+ T2 _

  575. : T/ X2 C- A+ W! W& e
  576. ;windows.show_crt_warning$ @& z1 t( j) B8 N: k- Y
  577. ; Default value: 0
    / |8 w# w9 n' d
  578. ; Development value: 0
    ' `  C3 P0 C* B
  579. ; Production value: 07 J" N- \; Z$ H3 l  \, f
  580. * q/ A' C! @5 g: ~
  581. ;;;;;;;;;;;;;;;;;6 ^, ^! S) z8 q* v. b; o( A3 v
  582. ; Data Handling ;
    2 R  R7 ~9 R: E! j% {
  583. ;;;;;;;;;;;;;;;;;1 D: A; y+ @7 ^. y2 H
  584. " O& o5 p8 H$ p" k+ q/ y+ w  j2 l
  585. ; The separator used in PHP generated URLs to separate arguments.
    5 t; q# y5 Z* \6 C" d4 `0 O! A
  586. ; PHP's default setting is "&".
    6 M" j5 q& h2 z: }
  587. ; http://php.net/arg-separator.output
    ( g1 V3 e/ ]6 A2 Z& C% u; [1 r
  588. ; Example:
    ' `- j& ~/ g$ Y7 a. x
  589. ;arg_separator.output = "&amp;"
    1 o& y/ H8 y! X* S' J$ |  _0 X! \
  590. 8 T* ^6 Q" Q+ ^, I+ ^
  591. ; List of separator(s) used by PHP to parse input URLs into variables.# ~4 C9 z: q4 |0 V
  592. ; PHP's default setting is "&".
    5 r. L/ X! I$ w' Z; `( R, R5 B
  593. ; NOTE: Every character in this directive is considered as separator!# z6 o" o( s5 q( C8 S1 H
  594. ; http://php.net/arg-separator.input
    5 ]/ o2 ^8 {, H
  595. ; Example:
    " X/ x6 r* K$ z) Z, `7 F6 Y0 u
  596. ;arg_separator.input = ";&"
    1 ]6 S  o: S: x: H8 Z
  597. ' l- ?# T7 ?: t# n# p( f5 Y0 Q& s0 m
  598. ; This directive determines which super global arrays are registered when PHP
    1 a3 M8 Z4 n" S( |: T6 }; n+ E* [
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    7 \) l3 S2 m) r- M1 s8 t% r. |
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty( b6 I, z6 f: I5 ~. I, M4 \
  601. ; paid for the registration of these arrays and because ENV is not as commonly& b0 ~6 R4 ^: A$ G& `2 r
  602. ; used as the others, ENV is not recommended on productions servers. You
    # [# c5 B( x" P# }
  603. ; can still get access to the environment variables through getenv() should you
      y$ O7 {. }9 l: M9 C- @
  604. ; need to.
    $ F2 O/ H9 {0 d+ v! j' ]8 x
  605. ; Default Value: "EGPCS"5 a" O! a; K; x
  606. ; Development Value: "GPCS"& ~0 K2 E7 @9 d* N' y- {& ~& D
  607. ; Production Value: "GPCS";9 I# d; |7 p6 {' _# m# N
  608. ; http://php.net/variables-order
    + Z) r' \' r; u7 [4 j- i$ C
  609. variables_order = "GPCS"
    ! V" Y7 f: ]! [) r, d" O7 ]
  610. 6 b7 y2 d4 `4 W& h% @2 U+ x- N$ V& ~
  611. ; This directive determines which super global data (G,P & C) should be# G, V$ i1 l  ^$ E! X
  612. ; registered into the super global array REQUEST. If so, it also determines
    . S9 g# }, a6 U
  613. ; the order in which that data is registered. The values for this directive
    - \$ m2 U% ]& ]6 m, Y
  614. ; are specified in the same manner as the variables_order directive,* |. O. y3 z1 o5 L3 J
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set( y+ ^7 j) y% L# l
  616. ; in the variables_order directive. It does not mean it will leave the super
      ~! N; u3 \( B5 G0 {
  617. ; globals array REQUEST empty.( N5 [- S7 ?2 b  v7 C" Q  q
  618. ; Default Value: None; B5 N) V% H8 T" H+ |7 o% w
  619. ; Development Value: "GP"
    3 k3 {0 |9 M2 R! j) Q/ R
  620. ; Production Value: "GP"2 x+ t( |6 D& N8 H
  621. ; http://php.net/request-order
    " K; l9 t& ?! I( Y. b  n
  622. request_order = "GP"3 ]1 `4 I/ m$ w0 ]) ?8 F! w* H

  623. 7 ^1 G# C, C) m& l! ~  o% h. r
  624. ; This directive determines whether PHP registers $argv & $argc each time it- n2 l/ m1 a2 j; @. g" m
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    . |9 p( i. m$ [
  626. ; is invoked. $argc contains an integer representing the number of arguments
    - v" `: e4 m2 i6 `! k3 {) k
  627. ; that were passed when the script was invoked. These arrays are extremely; m  P% C6 o) ^. I: B
  628. ; useful when running scripts from the command line. When this directive is
    1 y" d2 ]+ s% O- `
  629. ; enabled, registering these variables consumes CPU cycles and memory each time& W. s' V; k4 N* O: a# q0 `% M
  630. ; a script is executed. For performance reasons, this feature should be disabled
    6 I$ a# B$ ?% K! ]9 L
  631. ; on production servers.
    ! o3 ~" q3 x8 f9 [
  632. ; Note: This directive is hardcoded to On for the CLI SAPI! f- b% o6 X  x( U! j8 J+ M
  633. ; Default Value: On# ^. I0 G! d- H' E  Y
  634. ; Development Value: Off  X' J$ i4 `: e- q; e! S
  635. ; Production Value: Off
    ( `- p6 `3 H, G" l
  636. ; http://php.net/register-argc-argv
    0 f+ l* X- n4 w4 }' J
  637. register_argc_argv = Off
    ) g  A' B6 t3 |" O' }/ K

  638. , g7 Q! D! Q, y8 y( d
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're6 A% Q$ L* u( t, p# X8 W+ E
  640. ; first used (Just In Time) instead of when the script starts. If these
    0 o- t2 J: D9 X& A; @% B
  641. ; variables are not used within a script, having this directive on will result' X) O4 U$ i% G# {
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled7 p  ?( e  R/ A. q8 a& R2 B
  643. ; for this directive to have any affect.: Z, @" @' b: [4 b8 U' z2 E
  644. ; http://php.net/auto-globals-jit1 r1 t+ z; n# i- K8 w8 J1 A
  645. auto_globals_jit = On- ^. K, C! l/ h

  646. 5 E9 M# `$ S; y$ v
  647. ; Whether PHP will read the POST data.
    9 C0 N0 u) {- U. c' H; Z  W7 X
  648. ; This option is enabled by default.
    ) j5 |; X$ _$ [3 K4 ]
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    9 U5 J5 ]+ ~+ z  m1 o: ?
  650. ; and $_FILES to always be empty; the only way you will be able to read the/ n2 M, o$ k6 F$ x2 @& }! y$ x# B" l
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    5 U  g/ K9 s$ b6 u
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    ( I, }+ a' ?1 a: @: |, l) {  `
  653. ; http://php.net/enable-post-data-reading1 B: w( }" L# v* L6 {; x6 `
  654. ;enable_post_data_reading = Off
    % T! z" m( u9 N+ ~

  655. 5 M* }* W* ]2 ?+ B, t
  656. ; Maximum size of POST data that PHP will accept.
    3 o% e! r0 a( l
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading: ]  Q& Z. i' N( U
  658. ; is disabled through enable_post_data_reading.
    9 P9 y; q, U+ x, S
  659. ; http://php.net/post-max-size! R+ \" V+ S4 k6 d* A
  660. post_max_size = 50M
    * U4 |( ^+ T3 c1 o3 E

  661. 3 q1 W/ h) a" Z$ I( B; A1 F
  662. ; Automatically add files before PHP document.
    1 g0 h' E+ E! D6 G' g
  663. ; http://php.net/auto-prepend-file
    # j5 ]8 h$ S$ Q. y
  664. auto_prepend_file =+ p/ l, I2 v; p
  665. , }+ d8 F" H& p9 Q$ C
  666. ; Automatically add files after PHP document.- p# h$ L5 ^. `' x6 O! {# Y/ p' n* {
  667. ; http://php.net/auto-append-file( f  i* e! N- q% R, [8 P% _/ u
  668. auto_append_file =$ W: T& G! ?3 R, D

  669. 3 ^2 w! g! k1 f- H% G9 ^+ f
  670. ; By default, PHP will output a media type using the Content-Type header. To9 Y6 T8 s& x! F* f1 t8 Z
  671. ; disable this, simply set it to be empty.9 Y# h$ Q1 E- z4 A. T  {/ \3 B
  672. ;" @( @% S' j1 _* G( X
  673. ; PHP's built-in default media type is set to text/html.4 |. B7 Q$ a' ?4 H$ K# h% j) E
  674. ; http://php.net/default-mimetype  C& U( ?+ d$ e0 Y: ~8 z3 T1 ~
  675. default_mimetype = "text/html"
    ! V# a& ^; ~" D1 q$ H+ z% G, l; x5 h

  676. " z: s2 C5 A8 _0 h" b/ o
  677. ; PHP's default character set is set to UTF-8.
    / m8 h* i5 ~' p& r
  678. ; http://php.net/default-charset+ ?! G  ^1 j2 H: J% s8 n9 b
  679. default_charset = "UTF-8"; }" |( O* o9 J$ l8 C
  680. 4 t4 o# T# b- K; b) I- h+ c; v
  681. ; PHP internal character encoding is set to empty.9 J; @+ x* x8 c9 o; [9 A
  682. ; If empty, default_charset is used.! I% s# A$ U; {7 C4 \
  683. ; http://php.net/internal-encoding
    2 t" z( T: H* _
  684. ;internal_encoding =3 O' v! {% q4 Z& K+ W% T' q

  685. : |8 t- C1 I9 x- J& g8 R- r
  686. ; PHP input character encoding is set to empty.; b; _" ]7 Q! ?8 x* W- \
  687. ; If empty, default_charset is used.
    1 B# z9 C: }/ Q; W
  688. ; http://php.net/input-encoding5 ^! \( n- m/ C& X9 {
  689. ;input_encoding =2 q) k% n. b+ F& B  w8 X- y$ o

  690.   }" l; N# |, u/ n; [/ k( M5 t+ c
  691. ; PHP output character encoding is set to empty.
    0 h! H7 H9 B6 i  J
  692. ; If empty, default_charset is used.% N4 D6 r& a3 z( a0 Q3 z/ D/ h$ @
  693. ; See also output_buffer.2 F$ W, T& D8 l4 c% ?
  694. ; http://php.net/output-encoding  x4 i) {+ U8 G  M
  695. ;output_encoding =: G! a6 d# }# V4 Z4 ]4 t

  696. & E1 Z& s4 G6 {3 |
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    " L" e9 J2 ~: t6 e+ e7 V
  698. ; to disable this feature and it will be removed in a future version.
    8 h3 j  x; U6 X5 `
  699. ; If post reading is disabled through enable_post_data_reading,
    . v! k& d6 [6 J5 D3 D9 W
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    ; i1 k  f9 X4 y) M3 v2 _
  701. ; http://php.net/always-populate-raw-post-data7 e, D7 g8 V) T) H0 o* k2 R5 q7 w3 K
  702. ;always_populate_raw_post_data = -1
    9 ]7 w7 e$ z& S

  703. 2 c) M" `& P1 _! j* B
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    3 V/ g  B: o7 }9 t+ P2 w: U$ c3 x
  705. ; Paths and Directories ;' Y/ f6 W  S2 c, R+ a! J: l4 D
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    . T9 B8 r# N; D5 C. _% p* {
  707.   B" q- U. Y. d2 s. m
  708. ; UNIX: "/path1:/path2"; d- ?  [+ r: o7 X, {- w5 f
  709. ;include_path = ".:/php/includes"( m. o- B3 ?7 x" N  q4 `  K
  710. ;( z4 N) h. m1 e; ]8 o, Z) [
  711. ; Windows: "\path1;\path2"
    + x# W( b( R8 j: y+ R( C2 C) h
  712. ;include_path = ".;c:\php\includes"
    ) b, Y- g2 u5 y' r  W
  713. ;
    - S& v0 X& K6 p: O( L1 w1 I
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"  F7 u- }0 ?/ T% |4 P
  715. ; http://php.net/include-path
    . x/ l) c3 Y, D. i! Z" `& g: }

  716. + W! L& }7 n+ a
  717. ; The root of the PHP pages, used only if nonempty.
    # ~& F( L, u# R" |& G( ^
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    6 z( b6 q8 i: Q" l
  719. ; if you are running php as a CGI under any web server (other than IIS)6 A( G- O2 M7 X, s' k7 G
  720. ; see documentation for security issues.  The alternate is to use the
    ) Z( ]0 o& n6 `/ B' s
  721. ; cgi.force_redirect configuration below- Q( X) w) ?# _, n4 @- [
  722. ; http://php.net/doc-root1 u* K2 R2 F5 \$ [, P2 `/ d5 x2 O
  723. doc_root =, h* v! [6 A1 S7 L9 ?. d% P  b

  724. * V& H3 \: K' M0 E5 r
  725. ; The directory under which PHP opens the script using /~username used only  q5 s! L  Q; W6 a  ^9 O1 b
  726. ; if nonempty.' y0 X. y/ G: [: m5 {2 ~6 _9 g
  727. ; http://php.net/user-dir5 a' S  S) a2 r5 [* {6 E
  728. user_dir =" q8 G- B/ V8 @1 N  j4 ~
  729. 7 A+ m+ C) ^$ f/ E* C9 q" p9 f
  730. ; Directory in which the loadable extensions (modules) reside.
      E8 m6 U& f1 n9 ^0 b
  731. ; http://php.net/extension-dir
    - s4 L2 W- y. x6 L4 o8 m
  732. ; extension_dir = "./"
    1 c( a; [5 T8 K! |; H; X. g7 ^) p
  733. ; On windows:
    , x* h! B, ~5 o4 ^4 i3 e, L: s/ v% L
  734. ; extension_dir = "ext"
    9 W# H+ @4 t1 k8 P6 T, h. ?

  735. 4 `; d0 |! Y; [" u* d" k' ], a
  736. ; Directory where the temporary files should be placed.
    , z6 e! U8 H/ z! O6 Q/ W7 `
  737. ; Defaults to the system default (see sys_get_temp_dir)+ l+ ?& i, M0 w
  738. ; sys_temp_dir = "/tmp"
    # J$ K- p. Y1 @% Q  P
  739. $ _  K) _+ @# |$ b6 S" ?
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work" l/ i- `3 W% U. M. L
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically) v" R9 \- I* `! C
  742. ; disabled on them.8 y3 y. |6 Q8 T) J& F4 N
  743. ; http://php.net/enable-dl5 w; g2 R! |3 Y- I! t
  744. enable_dl = Off
    & [( h/ ^  S/ A5 w) R/ B) d

  745. ( ~  V: v! M+ {  z
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    - s7 J  D" F3 @  Z8 x1 O/ p: ^
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    ' @: @# Y7 z' J) q3 X' m9 f4 K/ V
  748. ; turn it off here AT YOUR OWN RISK# o. q) K7 V, T+ H: u2 Q* A
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**! X4 ~7 F" D" Q8 @% n
  750. ; http://php.net/cgi.force-redirect! Z1 x: \( _8 v$ s" H
  751. ;cgi.force_redirect = 1
    & P2 w& x% v( _
  752. : b% q  C7 `* }2 r4 T
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with- H7 ?, V2 b# i  G
  754. ; every request. PHP's default behavior is to disable this feature.
    " c8 w8 a/ m! q- P! T; J
  755. ;cgi.nph = 1
    3 L3 C8 V- G3 F' p7 s0 Y, w

  756. 8 n1 X; M$ B8 n1 R" Q% }1 I
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    ; p# n+ N0 L1 R, c
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP# a$ i7 U7 r4 o, @- j
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    + V7 l! S  c1 G8 f
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.3 r- M$ h& n/ S9 Y2 e7 X  \% l
  761. ; http://php.net/cgi.redirect-status-env- ^/ o$ E* ]2 ?* O. {8 v$ j1 T
  762. ;cgi.redirect_status_env =8 C9 }# {; |- u" @+ ^

  763. * r# @6 J5 S" X  i0 s
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's* C5 X' G5 O% R- A
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    - y7 P) H7 o; a. U
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    & a. E& j& ^. `( s  v' a+ X2 t) U
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    3 Z- Y! q0 g$ ?/ G  S
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    % [$ g/ c6 U+ d$ X2 _9 f
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.+ i1 Z. X7 ?5 f7 {" p+ d! `7 j) r
  770. ; http://php.net/cgi.fix-pathinfo% j! K# m7 ?' ]5 u. Z( _
  771. cgi.fix_pathinfo=10 x9 b# ]2 f4 s: l0 \$ {( |

  772. ) G7 B1 \$ C+ N; G+ \3 z/ R
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
      e! ]* b( o3 \$ w' F# N) H# C7 R
  774. ; of the web tree and people will not be able to circumvent .htaccess security.( X0 b3 {8 W* C+ [
  775. ; http://php.net/cgi.dicard-path
      H. y5 C; O6 X8 N, e/ m9 A
  776. ;cgi.discard_path=1" Z) h, m6 E1 N( u  k& x: ]  M3 T
  777. & N0 i; @9 b- x
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate# ^1 u9 n  Z, N4 ]+ E" ^( A# d& y2 M
  779. ; security tokens of the calling client.  This allows IIS to define the1 y( [6 f# p( P
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    ( y7 g1 Q6 S. m3 H0 U7 m6 _
  781. ; does not currently support this feature (03/17/2002). }& L8 H: {9 K6 y. _
  782. ; Set to 1 if running under IIS.  Default is zero.) d3 S; Z2 P' B
  783. ; http://php.net/fastcgi.impersonate
    * Y0 r! n- O, C6 u5 O$ ~3 Z; t
  784. ;fastcgi.impersonate = 1
    " g$ b" @& e, @* `& q6 D  @' z
  785. , Z# N& f1 H. Y) B- d1 o
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    4 ^, }$ z6 u: y6 S" J
  787. ; this feature.3 ?: t/ u/ N9 g* w
  788. ;fastcgi.logging = 0! S1 D/ N# r- S4 N: {5 c/ U0 K

  789. 8 r1 O8 w3 b) p: r( {7 J8 ?' y
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to7 O/ e) b( o/ s& j
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that% u$ }+ ~! v4 \! s! B5 ?& L( n% E
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    / O, L) K% f: }. d, _; z$ @
  793. ; RFC2616 compliant header.
    2 V# l7 m: F4 [( Q
  794. ; Default is zero.9 \& z4 Z: L$ t  B
  795. ; http://php.net/cgi.rfc2616-headers* ]/ B  P8 ~% o8 d) f
  796. ;cgi.rfc2616_headers = 04 f3 f3 s( ^6 G+ K) f% l: f/ H

  797. 7 y; }, M4 j) G
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    ! _% c2 m) m3 `7 i
  799. ; (shebang) at the top of the running script. This line might be needed if the
    + W% d% S5 m' i' G5 N
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    : F9 o; F: |+ ?3 R' N  D
  801. ; mode skips this line and ignores its content if this directive is turned on.2 |, S1 v. H( a5 j
  802. ; http://php.net/cgi.check-shebang-line5 ?  G7 S* k8 `( B
  803. ;cgi.check_shebang_line=1# v. T% v4 Q+ H! x: o

  804. 5 ?6 Y7 d% h9 S# Q! e& V
  805. ;;;;;;;;;;;;;;;;
    * R; X& @. T  j. ^/ p
  806. ; File Uploads ;
    # ~1 p7 p: p4 i
  807. ;;;;;;;;;;;;;;;;
    , u( _- f; Q" F7 q6 W2 R" A

  808. 3 a% ?3 [7 P* J& u! j) g! M
  809. ; Whether to allow HTTP file uploads.7 x# {% |; l. ?9 p* {5 f& n
  810. ; http://php.net/file-uploads
    . a; Z$ X9 q6 l9 C8 i
  811. file_uploads = On
    0 d' r2 I7 S1 |3 P& L' T" C
  812. 9 }1 |9 A+ j5 M+ G  x+ l$ g
  813. ; Temporary directory for HTTP uploaded files (will use system default if not7 D) D! r- m& d% c3 b+ f: |
  814. ; specified).
    3 Z, Z3 W, k  n8 @5 @" U/ R
  815. ; http://php.net/upload-tmp-dir: j9 h' c  \# w, D
  816. ;upload_tmp_dir =
      W* p. F% e: t+ |) P
  817. - K/ t: t5 f" c/ g
  818. ; Maximum allowed size for uploaded files.  |1 r/ p3 H7 h
  819. ; http://php.net/upload-max-filesize% g: \7 y! Y) H# ?
  820. upload_max_filesize = 50M
    * N3 u' ~% ~) m4 x0 `

  821. 4 P: T9 f# d. ?+ T
  822. ; Maximum number of files that can be uploaded via a single request) K+ U; r  `$ e3 F# _) [) a
  823. max_file_uploads = 20
    * |4 F  ^8 P6 e3 o" G' V

  824. ( z+ E( e4 m2 c- {3 @5 p
  825. ;;;;;;;;;;;;;;;;;;
    & Y/ \) r3 n: [1 C; K. s' [
  826. ; Fopen wrappers ;$ F% W. [) s0 D0 l( e0 a. F2 k' M
  827. ;;;;;;;;;;;;;;;;;;
    # d0 m# [, u/ a! I4 B: d" H

  828. 7 J. n8 E! N4 B6 M" b/ Y' m
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.1 N% K' r) o+ \' J" ^; \
  830. ; http://php.net/allow-url-fopen; d: I! f$ I, r: K( V
  831. allow_url_fopen = On4 g& g1 d( A0 W& z
  832. % W$ m9 J* k4 I) j7 j& Q
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.; S* p+ _% K; D# f. ^
  834. ; http://php.net/allow-url-include
    ; j( o; O7 u0 B1 _0 E! t% g1 d+ D. O
  835. allow_url_include = Off# l9 ~+ Y3 {) y, a0 W7 y
  836. : ]! a: C+ k4 y# P
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    4 l2 O  W3 E* u: R( G
  838. ; for this is empty.- s9 V  y. k1 _0 r  R' k
  839. ; http://php.net/from0 w# B( Z$ h: M. G* {% @! J& B4 O
  840. ;from="john@doe.com"
    6 a6 p5 x) q9 K! K
  841. 6 Z* X# H+ L5 \
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    / s" K# ~# ^$ a' x: _/ B$ n+ v: q
  843. ; http://php.net/user-agent( C5 t* R5 }7 Q% i
  844. ;user_agent="PHP", w* [& H! S# o5 u; Z$ ^
  845. 8 ^6 w# q. }  z6 _+ B! R
  846. ; Default timeout for socket based streams (seconds)2 i9 R5 V0 w& d6 Y% x( W
  847. ; http://php.net/default-socket-timeout2 @" r9 N/ W3 d4 T- B7 ~' ]9 |
  848. default_socket_timeout = 60! Q1 n2 b, n5 A1 u* [3 r

  849. . L. u6 Y1 z0 V/ \( h
  850. ; If your scripts have to deal with files from Macintosh systems,
      E0 u6 m+ X( Z8 h2 u" b
  851. ; or you are running on a Mac and need to deal with files from( ~  X$ E2 D& B8 \. {* ~% j3 S
  852. ; unix or win32 systems, setting this flag will cause PHP to
    4 R2 e; k8 F+ L6 g
  853. ; automatically detect the EOL character in those files so that& r4 f- u( G" x3 j
  854. ; fgets() and file() will work regardless of the source of the file.
    # j/ }- \* e' }+ N
  855. ; http://php.net/auto-detect-line-endings
    1 F8 C: b" ]( O/ P# _4 Q  ?
  856. ;auto_detect_line_endings = Off- e& e0 T8 ^: d4 ~2 g. O
  857. ! j2 ]" @- I0 ~3 E8 v6 V4 n/ q. R
  858. ;;;;;;;;;;;;;;;;;;;;;;$ R$ V7 ~3 u  J+ `7 I
  859. ; Dynamic Extensions ;
    7 {& u6 c5 N( P* h
  860. ;;;;;;;;;;;;;;;;;;;;;;
    / g5 H* T( B. j" d8 x3 ~7 ]
  861. + [6 [' Z0 ]( l2 s
  862. ; If you wish to have an extension loaded automatically, use the following
    $ S3 ]8 o7 f- Y- y
  863. ; syntax:- c3 `+ I5 N% u* f8 O" y$ \
  864. ;
    8 ~% N3 j6 d) W: A
  865. ;   extension=modulename.extension
    / I$ m! ]$ G& q0 L( u& h
  866. ;2 X7 Z1 b1 r$ y0 M6 b* E
  867. ; For example, on Windows:
    . l/ J; _6 k$ G" W. G1 w2 r; s, c8 B
  868. ;
    0 t2 Y1 U+ V  f) `/ n
  869. ;   extension=msql.dll% B. i) a/ R. K9 k0 {1 I6 t
  870. ;, v' I% ]+ l: a+ U5 y: f/ ^' \
  871. ; ... or under UNIX:
    , X$ z. X7 V" u
  872. ;# N6 R0 l; D( O8 T6 L5 u  ?6 X* S
  873. ;   extension=msql.so+ m1 y0 p8 s$ V! g- ~9 z
  874. ;/ E& M. W- P% k" }1 B* T' ~0 g
  875. ; ... or with a path:
    2 q9 ~& V- q# f' O
  876. ;6 z8 K& a/ `$ e4 r% |
  877. ;   extension=/path/to/extension/msql.so, ~% S, E+ F, r+ I7 b1 o
  878. ;% `6 b$ l% Z+ h, ?; A8 Y0 s
  879. ; If you only provide the name of the extension, PHP will look for it in its
    % _6 N" L4 C: c' i
  880. ; default extension directory.
    6 S9 M: ~  g0 A7 s3 ^: Q
  881. ;
    ; O# z+ d2 V, u/ e
  882. ; Windows Extensions
    1 y9 r- b/ q( v* F6 h8 m
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    " O1 Q8 k2 i! p  {
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)# d. r' V$ \: L9 y
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    & D3 H5 A9 O( w- ^* W5 b( r
  886. ; Be sure to appropriately set the extension_dir directive.
    3 N* R& \0 e8 h3 ~
  887. ;
    ( e8 b; L! ^0 l
  888. ;extension=php_bz2.dll7 {% p# B6 v4 D  \5 Z+ `
  889. ;extension=php_curl.dll
    + e% `; w' }3 h; l5 m
  890. ;extension=php_fileinfo.dll$ y  w- n& w) z. a, y% M% p
  891. ;extension=php_gd2.dll
    ! R& D; h' p" w  H- Z9 L
  892. ;extension=php_gettext.dll0 `$ l/ ^! l5 z9 ?4 q
  893. ;extension=php_gmp.dll
    - ?+ Q2 y  [0 J' X% z: Q" A
  894. ;extension=php_intl.dll5 _6 T  [5 ?. ?$ a& L7 u, ?* |
  895. ;extension=php_imap.dll8 e, o3 b. q! H% v& u
  896. ;extension=php_interbase.dll2 N4 P$ v. x  h; v; ^
  897. ;extension=php_ldap.dll
    . C- I0 Q' I5 M9 Y# \
  898. ;extension=php_mbstring.dll* H. s. z9 @0 W" W# S$ `
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it: {) {% ]8 \2 h' E+ ?, ~4 ^
  900. ;extension=php_mysql.dll
    % _/ q. _; s; i4 B" H6 z
  901. ;extension=php_mysqli.dll
    * p  B  z  {$ r3 A+ N' M
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    . w( q% h# ?0 ?( N
  903. ;extension=php_openssl.dll
      @2 f( T5 l' w
  904. ;extension=php_pdo_firebird.dll$ w$ Z1 i4 H- f) u
  905. ;extension=php_pdo_mysql.dll
    ) `* K2 Q  P8 c: h) r+ X, c/ o3 R) ^
  906. ;extension=php_pdo_oci.dll
      ~$ ]# @# p8 X1 e# S& y! s; R  ^" ^
  907. ;extension=php_pdo_odbc.dll& z, x5 }; w9 b% i8 K! _
  908. ;extension=php_pdo_pgsql.dll4 R1 p% ?+ l* i
  909. ;extension=php_pdo_sqlite.dll) X: A! y" W# x2 l8 }6 t' R
  910. ;extension=php_pgsql.dll4 Q+ M: _$ V8 m" |" `4 U5 x
  911. ;extension=php_shmop.dll
    , l  ?; I3 L( S% f# e  s, b4 j" g

  912. % k1 Z5 c1 ]4 l6 J  Y6 i
  913. ; The MIBS data available in the PHP distribution must be installed. 0 _- Z8 w" s/ N5 ^0 Y) r
  914. ; See http://www.php.net/manual/en/snmp.installation.php   r; p3 ?  r1 N+ n0 u: u
  915. ;extension=php_snmp.dll) \8 y/ ~8 p7 s* p" n& Z

  916. 3 g- r/ Y- x8 X" Q' ]" {
  917. ;extension=php_soap.dll
    + b/ j2 h. r* [
  918. ;extension=php_sockets.dll
    - A5 ]! @5 p5 O7 T+ e  B+ t! P
  919. ;extension=php_sqlite3.dll
    ( {/ c, D! N( A  a- n
  920. ;extension=php_sybase_ct.dll
    # e! X2 s" C# ?1 |
  921. ;extension=php_tidy.dll
    2 c* w: R$ K0 {& X' c
  922. ;extension=php_xmlrpc.dll
    ; z# u  g  F1 Q0 k
  923. ;extension=php_xsl.dll) Z/ V* @; ~2 ]  z/ B3 {+ P7 y  `/ l
  924. . I  i6 Z* |, h# c. N6 ^, }
  925. ;;;;;;;;;;;;;;;;;;;8 A) J( k5 {6 l9 F. j/ U, z% p  o. u# X
  926. ; Module Settings ;
    " N- N# s9 h. r; Y( U2 L/ {" Z
  927. ;;;;;;;;;;;;;;;;;;;/ D) Y3 ?2 Q1 y3 J5 E6 p% ^
  928. : `! F8 `& V1 r3 m8 R
  929. [CLI Server]
    $ j: V! X+ s( R
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    , v8 u6 A* b  O
  931. cli_server.color = On# b2 ]& y5 C. ]: w
  932. + H/ ?+ d! W' w2 b( g
  933. [Date]
    ) H. E/ {; J# m" j5 r6 z
  934. ; Defines the default timezone used by the date functions
    $ |9 Z$ H: {0 N4 I3 `3 C
  935. ; http://php.net/date.timezone9 |) ^& J# i0 ^/ U
  936. date.timezone = PRC1 |! ?" m! Z! I
  937. 4 D7 {. @( r4 n6 K6 C  b$ c
  938. ; http://php.net/date.default-latitude! O( x" K( T* {1 [" x) E. t1 A
  939. ;date.default_latitude = 31.7667
    5 u# a  ]: |6 u; k, @3 \( D
  940. * U" H% k- ]9 O8 U1 D; W
  941. ; http://php.net/date.default-longitude( `6 F3 `0 I; _5 O7 S
  942. ;date.default_longitude = 35.2333
    5 q) ~, D* L1 d6 F5 @1 K" b

  943. 2 B* j7 j  G4 F; n! v% h; H
  944. ; http://php.net/date.sunrise-zenith
    . I4 x' w6 T% Y* Y2 S' v
  945. ;date.sunrise_zenith = 90.583333
    . e+ w# f' K- K/ {1 T3 B- V

  946. 5 f7 c" q( L# }
  947. ; http://php.net/date.sunset-zenith/ ?  j3 U& [0 T2 l" J
  948. ;date.sunset_zenith = 90.583333  b8 D4 v5 M# F8 N) H9 q

  949. 9 g; m5 Q2 ~# u3 Z
  950. [filter]
    * o; w3 W/ z" j) c6 |
  951. ; http://php.net/filter.default) S% P" e5 ]2 I2 R* |1 {( E
  952. ;filter.default = unsafe_raw7 U3 {0 U, y! Y& \9 U8 h* g, r
  953. , f* V4 D0 O" ^) J+ l
  954. ; http://php.net/filter.default-flags& u3 b( G. U; a: _3 T- N
  955. ;filter.default_flags =
    / W# K! G+ ]8 o  Q) {& z( m! |

  956. ! `9 _2 m. c: i+ ^8 L7 D
  957. [iconv]$ k# b% }1 Z0 x, r2 |) N9 X6 B
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.! k$ M4 C8 `! @5 Z7 b. d1 v
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    3 E$ s. {) A" h6 F
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding/ \9 x1 _, V3 E" S: u' Y
  961. ;iconv.input_encoding =
    - H9 i2 N. I; G: P

  962. 2 [8 j: w/ g7 D, s7 d' T: l* ]
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead./ p; l; J/ F0 k" d2 \" _
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.1 x6 E) d0 O, X* e+ S. k
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding" E! l' R' `  Z- l: m. k3 g' }
  966. ;iconv.internal_encoding =
    2 f/ c6 W: Q/ l* I% M( J, l5 K
  967. / v" v- a& D2 i; v0 o: A- q
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.) A9 m9 l: U# b4 z' T
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.4 F' Q+ F8 c6 V2 _- p/ @
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding( W$ x: s2 `3 X1 J- X
  971. ; To use an output encoding conversion, iconv's output handler must be set9 g" `0 v7 a. G( b" I
  972. ; otherwise output encoding conversion cannot be performed.
    ( q1 V. m" |9 f' P1 [
  973. ;iconv.output_encoding =* m5 R& ^2 a) A1 L2 W, ]+ v2 I

  974. 4 e! I9 Z3 M( B( i
  975. [intl]4 @1 L, v7 }. G$ W5 x* k! q' ]
  976. ;intl.default_locale =, v6 H; e2 I2 i
  977. ; This directive allows you to produce PHP errors when some error  O0 l. l0 o3 h! n: Y9 a
  978. ; happens within intl functions. The value is the level of the error produced.( q' n9 T7 C7 A
  979. ; Default is 0, which does not produce any errors.
    4 R0 r( Z6 `4 E: \/ W
  980. ;intl.error_level = E_WARNING
    ( W& W8 u  I. X; D5 s
  981. ;intl.use_exceptions = 0
    / C$ m" m3 u2 \

  982. 1 Z7 K  v1 y: t" z7 O
  983. [sqlite3]
    9 x6 }! u8 }/ \
  984. ;sqlite3.extension_dir =
      M( L) a$ ]9 y: u% b

  985. . {# \% m  K% t3 g
  986. [Pcre]
    , {+ I3 }% X. ?% U: G7 P! u
  987. ;PCRE library backtracking limit.  Z" ~  T0 z  z/ e, I
  988. ; http://php.net/pcre.backtrack-limit
    - ^) z4 Y. H5 h
  989. ;pcre.backtrack_limit=100000( f' p8 V0 ^* i: b

  990. * V8 Y' w! ~: m/ L6 z
  991. ;PCRE library recursion limit.
    ! d$ H9 ]& ?* U5 D7 H6 p
  992. ;Please note that if you set this value to a high number you may consume all
    0 ~% b( t$ z7 c" r6 H  v% f* k
  993. ;the available process stack and eventually crash PHP (due to reaching the
    - {7 ^. N( c- b. @8 D
  994. ;stack size limit imposed by the Operating System).+ ?2 [& Z9 Y1 c$ f5 |
  995. ; http://php.net/pcre.recursion-limit
    ( X1 `, w+ A+ Y2 u) p
  996. ;pcre.recursion_limit=100000; Q$ `. B3 P; g' H: p  E! {6 ]* q

  997. 1 I# v7 W- z, Z1 W7 f- S8 }( c
  998. [Pdo]
    , @; @( T( b0 f9 c4 o2 w" Y3 j
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    9 Y1 M: Y; H- e
  1000. ; http://php.net/pdo-odbc.connection-pooling
    " s! i# V$ o0 _8 m
  1001. ;pdo_odbc.connection_pooling=strict
    ! t3 j; \0 n9 e0 F+ e8 k
  1002. % A/ U$ {: r5 ?2 ]% q0 [- O% Q
  1003. ;pdo_odbc.db2_instance_name- N. F9 M. k( k$ W+ o. v, {! k
  1004. : z) _: d; d* _, f  w& V- R/ u
  1005. [Pdo_mysql]1 ?6 i4 b; A, O
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    # g" f8 f9 P: @  s/ W8 u* \/ \
  1007. ; http://php.net/pdo_mysql.cache_size
    ) i* l: I4 Y+ {& g: N8 m2 Q
  1008. pdo_mysql.cache_size = 2000
    ) _; `- z! T8 ~' G

  1009. # r# J) Q: f" A4 }7 P4 I' `
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    5 _8 z4 E" f$ w8 L) G$ O
  1011. ; MySQL defaults.% O' A, `. F* o/ }  r
  1012. ; http://php.net/pdo_mysql.default-socket
    ' @8 @$ ~2 D7 R+ T; [: R0 _4 W' Q
  1013. pdo_mysql.default_socket=; a0 P2 _% {/ u8 Q8 V
  1014. # x) Q' u0 |6 M
  1015. [Phar]
    * |$ ]6 K0 [2 H
  1016. ; http://php.net/phar.readonly# f# M8 x+ }$ z6 v! f/ n
  1017. ;phar.readonly = On
    ; @- D" C# O! h/ b$ R

  1018. 1 H. B: C1 d% Z& S
  1019. ; http://php.net/phar.require-hash
    " m9 u! Q) L4 f/ X# o' |
  1020. ;phar.require_hash = On
    , ^" B7 B+ c# n, u7 B( D
  1021. $ l2 S6 A! U. O, Y- Z" `& P! C
  1022. ;phar.cache_list =
    # ?, ^1 z, }5 D. W* s" S" }

  1023. 2 E1 W5 D& n6 _4 g
  1024. [mail function]
    7 k7 k9 @) S+ r0 b
  1025. ; For Win32 only.
    2 o5 m0 P4 ^, _. \/ ?
  1026. ; http://php.net/smtp4 @5 Q9 c+ R$ f$ W/ f
  1027. SMTP = localhost0 {' C/ i9 t* W1 O. u
  1028. ; http://php.net/smtp-port, @3 |6 H- i+ {1 Z7 b
  1029. smtp_port = 256 |+ }( \* W  F$ U
  1030. 3 A! f- _4 p' Q% }- V0 k
  1031. ; For Win32 only.
    # n" ^: |% ?9 X( E) O8 k
  1032. ; http://php.net/sendmail-from& w. \; @2 ]7 _: k- s4 {
  1033. ;sendmail_from = me@example.com& A. h! |3 @( \8 \: h% i# a/ F8 q

  1034. ( Q# v5 W; G) e7 j
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").( v1 b: y. K( c; g0 c
  1036. ; http://php.net/sendmail-path( e3 Q) z. o2 j2 F$ m1 A, X
  1037. sendmail_path = /usr/sbin/sendmail -t -i6 n  q; @/ w  z' j" Y- m
  1038. 7 p7 y: B7 t3 R6 t+ g8 `# F% g0 ~
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    3 C1 {& E& d4 I" i. }' }
  1040. ; to the sendmail binary. These parameters will always replace the value of7 d! H2 K/ t4 Z7 H" n* ~/ Y2 w# w5 u
  1041. ; the 5th parameter to mail().
    2 B8 Q+ C' W! @+ G
  1042. ;mail.force_extra_parameters =- ^+ O/ ~8 c5 g9 M$ O
  1043. ' f. U. e; C3 k
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename/ I) H% a" E3 W( M% _! \
  1045. mail.add_x_header = On, i8 y3 C2 T7 a! l
  1046. % \% d6 f& Q8 _& R0 z. |  h
  1047. ; The path to a log file that will log all mail() calls. Log entries include- b2 [  t7 j0 H9 G* c; L5 }
  1048. ; the full path of the script, line number, To address and headers.; z! A4 T2 l( \3 f) {  z" I* Y, z3 W
  1049. ;mail.log =
    / W' v5 L7 t/ m) z3 I; x- d4 P
  1050. ; Log mail to syslog (Event Log on Windows).
    9 l; s" O, a: i' M
  1051. ;mail.log = syslog
    * a. L: s) ^0 z5 l: L/ o1 y2 a% t

  1052. % R- |2 Y) U& V" ~
  1053. [SQL]$ @' e2 A$ ]" p5 G+ l
  1054. ; http://php.net/sql.safe-mode
    + t' V6 \5 U! Y5 D: J; W" }
  1055. sql.safe_mode = Off
    0 Q1 W; Q- t& i" E- l
  1056. 6 j, ~5 L) x7 \3 U
  1057. [ODBC]
    # W: @4 Z  e3 M7 E( S, W
  1058. ; http://php.net/odbc.default-db; C. }& P* O  F. \
  1059. ;odbc.default_db    =  Not yet implemented
    ; Z, N# L9 |* K+ ?$ J
  1060. " D$ N' r: j/ n: g6 Q0 f" P
  1061. ; http://php.net/odbc.default-user3 d/ v, Z( W! J  {, @
  1062. ;odbc.default_user  =  Not yet implemented; }0 y9 n5 e7 |! F1 E( V, S

  1063. * M* V' q9 W1 O! s' G- w7 \3 T
  1064. ; http://php.net/odbc.default-pw* o  X' q0 o7 Y8 N6 w  i
  1065. ;odbc.default_pw    =  Not yet implemented2 ^$ f- B: n# O1 H

  1066. & m% o5 Q1 c! P5 d
  1067. ; Controls the ODBC cursor model.
    1 n) o# `5 P5 p6 a9 ]2 V
  1068. ; Default: SQL_CURSOR_STATIC (default).$ D- ^1 s0 ?# N) i
  1069. ;odbc.default_cursortype1 x' L) ^8 y  F" H3 y+ m) w  [
  1070. - g5 l* E! D* E. D! W$ N
  1071. ; Allow or prevent persistent links.- Z6 {4 c7 `+ R, ]
  1072. ; http://php.net/odbc.allow-persistent6 M& O# y; Y+ n& d5 w* j. ?
  1073. odbc.allow_persistent = On
    - ?; C$ }, Q, @6 N& g) _
  1074. 8 c4 L3 I0 v) i! W, i
  1075. ; Check that a connection is still valid before reuse.
    % k$ f7 E0 n0 M$ e7 E. }0 ~9 x
  1076. ; http://php.net/odbc.check-persistent
    ( c, z7 a0 b' a7 o* R
  1077. odbc.check_persistent = On3 N$ ~$ U) w( ]: z  @8 h
  1078. 1 D) L/ C" i2 p5 g* V0 B
  1079. ; Maximum number of persistent links.  -1 means no limit.: G" X/ ^, d5 {' K- E4 Y
  1080. ; http://php.net/odbc.max-persistent
    2 J8 ~  \% N+ ^, C5 [
  1081. odbc.max_persistent = -1
    * m# A4 j% G2 W  d

  1082. & }0 W$ W4 f$ [# ^2 P9 u
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    % x$ e8 a) \4 J* g. w3 d
  1084. ; http://php.net/odbc.max-links/ o7 Q) {: f1 F
  1085. odbc.max_links = -1+ l$ l0 ?" v7 Z# t; u
  1086. 7 I- X( ?( P" G4 w' x
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means7 K8 R+ M" x: v% x6 v0 D; z1 x+ G# @% f1 I
  1088. ; passthru.
    + D' n0 e$ K  K$ K' ?
  1089. ; http://php.net/odbc.defaultlrl! [& Y# K* T2 I, O
  1090. odbc.defaultlrl = 4096
    ' X  `8 C7 S- ^  J& ^: j: g6 T

  1091. 1 e7 s% `: K6 H8 E0 u9 T
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    7 i# e( y4 @* F
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation+ H) b6 f4 i% ?  P: v
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    & U) x: }; ]7 `3 {# h
  1095. ; http://php.net/odbc.defaultbinmode
    * u  o! z1 s, t; U: g# p2 h. l
  1096. odbc.defaultbinmode = 1% @  i5 A, R9 B3 p2 O: ?

  1097. ; E, D0 n/ {) @5 \5 ]$ E
  1098. ;birdstep.max_links = -1/ u* N4 L$ X5 r+ o; a- S, z
  1099. / s6 Z" X% I3 @' m# M- z  I% r
  1100. [Interbase]
    9 ?: c3 A# s6 B2 h
  1101. ; Allow or prevent persistent links.
    # A( I+ M+ T- Y0 j0 m7 X
  1102. ibase.allow_persistent = 11 a9 w$ P$ E+ N+ j) ?% l
  1103. ) G7 l1 h. a+ R2 b6 `5 b
  1104. ; Maximum number of persistent links.  -1 means no limit.
    $ l7 q3 L. D$ j6 G3 `* I* m0 F
  1105. ibase.max_persistent = -1
    9 ^& O1 w- f& u, Q: Q

  1106. 7 k9 N) V; R8 D8 ?. v/ Q$ j
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    2 ^1 Y% B# L7 E. p1 }' Q" f1 T+ S
  1108. ibase.max_links = -1; |: ^6 v  {4 I' {8 Q
  1109. 3 V. ^5 o' S! n' M4 y* }3 i, W& [
  1110. ; Default database name for ibase_connect().
    ; r! }5 K! j$ @  `4 k
  1111. ;ibase.default_db =% n( B$ W; e* d' m2 j6 d. B& o. A9 ~
  1112. ' D% i/ K) \* Y. |" W4 v
  1113. ; Default username for ibase_connect().
    0 Y  @+ }1 N5 H7 ~. H7 G
  1114. ;ibase.default_user =
    2 C' {  ]9 k# O# A3 T" O8 `# A% E

  1115. & T8 U5 n+ ?9 n
  1116. ; Default password for ibase_connect().
    , m  `- `6 O* R" V' d$ g
  1117. ;ibase.default_password =. s6 r# C; L7 B! N4 F

  1118. + J2 \5 h# x# f9 l! V
  1119. ; Default charset for ibase_connect().3 S! c! S2 l! k5 H
  1120. ;ibase.default_charset =9 T3 Q4 p; t/ q; S6 ?8 W- d
  1121. # Z$ O  d. v  e7 u8 n6 g5 s/ y
  1122. ; Default timestamp format.( L& q) j* O- ]% P* x
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    * s7 F6 v# f+ J: T8 G# \

  1124. ( v# q5 M! v$ ^# y6 E
  1125. ; Default date format.
    : A2 [. C, i/ a# }8 ]& I
  1126. ibase.dateformat = "%Y-%m-%d"$ ]9 Q. I! e' m

  1127.   D1 l0 {3 b8 L. g+ [
  1128. ; Default time format.3 K: W% l* G+ D) k
  1129. ibase.timeformat = "%H:%M:%S"
    ) R! E. Z0 u2 w" z" m: F" J
  1130. / q  j8 V# T4 O: H# E; D( E
  1131. [MySQL]
    5 K) f5 c1 P: o' n
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    ! t+ _# x- R3 g) N
  1133. ; http://php.net/mysql.allow_local_infile, v( l, ?- j6 @
  1134. mysql.allow_local_infile = On6 E# C* N0 Z! X& g$ j) @- r# [3 t. f

  1135. ' {) P: S3 X5 H. q
  1136. ; Allow or prevent persistent links.
    / @) O" L  V( T
  1137. ; http://php.net/mysql.allow-persistent
    5 i9 B' Y& x0 s$ {
  1138. mysql.allow_persistent = On
    & p. Y% z. w! C* h; j& c- V9 j+ Q

  1139. 6 [; y& q; Y9 A+ x
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache# t% ^0 @* A5 U+ E- h: g$ ~* O; S
  1141. ; http://php.net/mysql.cache_size
    8 \6 ^9 {6 `5 N4 ^: W+ `
  1142. mysql.cache_size = 20007 l9 {( l/ n; B$ H

  1143. ! ^( G) r- L, \3 z. l/ z  i
  1144. ; Maximum number of persistent links.  -1 means no limit.
      j4 h( b9 I+ T+ j6 r. q4 `9 l
  1145. ; http://php.net/mysql.max-persistent, F7 |6 O& O# }/ M% y3 ]
  1146. mysql.max_persistent = -1
    + q6 ^$ i1 S  r# Y$ e& K
  1147.   v. L; X: A9 p! L# y
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit./ H7 }  f1 _" E0 r% r
  1149. ; http://php.net/mysql.max-links
      s; m1 u. m+ l  I0 @- Y
  1150. mysql.max_links = -1
    0 v& U, `) N2 k, c

  1151. , u9 J3 S" p; G. u
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    # r5 i) k: i) @8 Q
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the3 s. F+ t  K. @4 @( G' t
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look. H* j/ R/ g0 ^* h2 n4 A+ w, b
  1155. ; at MYSQL_PORT.
    ) w# M" H0 F/ i
  1156. ; http://php.net/mysql.default-port
    0 m" E& C% O" C% R3 g% I! C  y; @
  1157. mysql.default_port =
    / y# E, j  O) O7 M" S8 n( \
  1158.   E! c& W( f+ M
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    8 h- l0 A6 N8 H3 l
  1160. ; MySQL defaults.
    ! f2 X6 v# M- @$ j8 j2 Y0 m9 l. \
  1161. ; http://php.net/mysql.default-socket
    ' X# \* S4 l& [4 a
  1162. mysql.default_socket =
    & s4 i* j2 f9 b( v- n3 n
  1163. " L. C3 ?" u- w  W
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    1 Q5 g; e/ ], c3 Q" h
  1165. ; http://php.net/mysql.default-host% B! @8 I% x) e2 r1 V  t
  1166. mysql.default_host =# v$ y& q! q. p
  1167.   {6 x0 M# P6 L' H4 a* V; i" C
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).* Y0 a$ k; G! X; `  e% L
  1169. ; http://php.net/mysql.default-user
    : t8 |1 w( U9 `9 ~' Y
  1170. mysql.default_user =
    $ J8 }0 O" u; ~8 K

  1171. ( L9 j6 O7 v9 e- T
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).5 g3 t- ?4 L: `- ?0 l) d
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.  G  d# j2 t/ Y2 N
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    + o& g% h2 e# {$ ~+ K
  1175. ; and reveal this password!  And of course, any users with read access to this
    3 D2 i' t& c* Q- y# J, H5 ?; t; R: A
  1176. ; file will be able to reveal the password as well.
    & H2 g0 J3 k" Q9 I" I' k0 |
  1177. ; http://php.net/mysql.default-password
      W. v8 d* }: a( K9 K
  1178. mysql.default_password =" I9 h1 S2 w; ]% B
  1179. * b4 s  ~, Z' t7 S" T
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    2 t7 [& N; F# ~5 C6 s
  1181. ; http://php.net/mysql.connect-timeout# F/ L+ ~# ^; D6 D# U" N6 Y
  1182. mysql.connect_timeout = 60% I& R0 ?: |8 h( c
  1183. + p# d- e8 m( w( I8 ]* ~2 E
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and  |% ~9 H% P% b! ^/ `
  1185. ; SQL-Errors will be displayed.
    ' g- z4 I% S3 I' k+ P; u
  1186. ; http://php.net/mysql.trace-mode
    % r: G( x3 \/ B9 o0 @9 m
  1187. mysql.trace_mode = Off
    ! _9 `: _3 p$ g& B, Z

  1188. # c: K: h0 K  _$ s! d% D/ p
  1189. [MySQLi]  W3 ]) |, S7 o" `4 A

  1190. $ F8 K0 @6 P: e, S# Z6 w/ u, r
  1191. ; Maximum number of persistent links.  -1 means no limit.
    4 x8 L* j% k( u
  1192. ; http://php.net/mysqli.max-persistent8 n5 I: z6 Z2 i7 Z
  1193. mysqli.max_persistent = -1) A+ M9 F* K5 J8 f; t3 w; P
  1194. 9 F* Y4 s# S2 H! K) {8 W3 Z, h
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    3 @: o9 g" f/ R& U/ n
  1196. ; http://php.net/mysqli.allow_local_infile, U2 l4 I1 o8 A5 p) A- C
  1197. ;mysqli.allow_local_infile = On
    ' n# M0 E: t! S- p5 ?' _7 c4 E

  1198. 6 x" f9 |; M2 o& @( X
  1199. ; Allow or prevent persistent links.
    5 Z# F2 w7 U! s& \; d- D
  1200. ; http://php.net/mysqli.allow-persistent
    . u, ~' K8 \! j2 \  r
  1201. mysqli.allow_persistent = On- e: Q2 s6 n4 K$ h4 j
  1202. ) C! M$ F0 N) O
  1203. ; Maximum number of links.  -1 means no limit.
    ; w, Z  j) i. V% E
  1204. ; http://php.net/mysqli.max-links! P3 Z! @5 n  g" K
  1205. mysqli.max_links = -1
    # Q2 U1 f/ K, z! }$ K1 E- A1 K

  1206. + f- `; s3 b1 V) _
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache2 z6 p7 e! }" j1 ?- K
  1208. ; http://php.net/mysqli.cache_size* d, J" w% U* i6 v6 b4 I7 p
  1209. mysqli.cache_size = 2000/ p' ], T& w0 A5 z' b
  1210. * o* w6 h5 g$ J
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use; Q- y$ k% M/ y( g; L3 A+ B4 f
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    9 M! P! J1 s8 B7 B2 Y
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look% l4 B  D) c6 o$ q  t
  1214. ; at MYSQL_PORT.
    - M; b" j: ?& s
  1215. ; http://php.net/mysqli.default-port
    ; T' T4 b/ W8 y) J  Y) C
  1216. mysqli.default_port = 3306. t9 m" ^0 I+ ?

  1217. " f, U, _3 z3 R3 ~5 T
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    7 ^/ R- t9 o6 j; b# I
  1219. ; MySQL defaults.
    . U) q& c+ W0 p, e, ]
  1220. ; http://php.net/mysqli.default-socket. v4 v! A1 N* C9 p+ ?! r" x
  1221. mysqli.default_socket =
    . N5 X% A+ k& B6 j# H4 ~

  1222. / x' Z% \2 U/ K; A' F
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    : e+ s; ?' V8 G: z+ V; {
  1224. ; http://php.net/mysqli.default-host
    * j' e/ \: Z# Q5 |: }
  1225. mysqli.default_host =
    2 z0 A  C* K+ _; F( H, U

  1226.   l0 m  D; v% }9 N3 G7 ~# @% S
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).7 z& G% R5 l/ f- F4 x
  1228. ; http://php.net/mysqli.default-user$ z* H* y+ @+ L1 ?# Y
  1229. mysqli.default_user =
    % o" J( Y% B* B6 {  x( f
  1230. ' Z- B& v1 H) m9 d! B2 O  d- g8 j
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).+ Z% E% {( o# u2 ]" @& t7 w+ t
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    ) @3 l; m  D) I/ R4 ^8 C
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    ' ~  n; c; a5 F' I
  1234. ; and reveal this password!  And of course, any users with read access to this% N0 Y2 T6 t: _
  1235. ; file will be able to reveal the password as well.5 j! t) z- A4 u3 N
  1236. ; http://php.net/mysqli.default-pw
    / V; B& ^: Z! i7 a  ~
  1237. mysqli.default_pw =
    3 o& z. y0 v3 J6 I7 W/ z

  1238. ( s$ J0 l6 T' r6 s% l4 s
  1239. ; Allow or prevent reconnect9 l0 p6 d* S6 G
  1240. mysqli.reconnect = Off: [: z, o0 u$ R! l) G
  1241. ! m! l) \. {+ Y0 Y8 b
  1242. [mysqlnd]
    ! N/ C9 A0 r' n; Q9 N  a; X# \- M! N
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    7 S, |% y" f" e; L% [% z( M
  1244. ; used to tune and monitor MySQL operations.1 C* a/ j9 J7 C. D: q
  1245. ; http://php.net/mysqlnd.collect_statistics+ k9 y  m8 @, A  g8 B" M
  1246. mysqlnd.collect_statistics = On
    4 V: m& P( J0 X: Q9 q+ v3 y

  1247. / v7 W: @3 d. T* M  T/ T7 M
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    2 S6 r' D3 N+ I1 ?- b3 o
  1249. ; used to tune and monitor MySQL operations.
    6 I4 {" H& G1 _' u
  1250. ; http://php.net/mysqlnd.collect_memory_statistics, G4 B$ G( U  b. x$ l. J
  1251. mysqlnd.collect_memory_statistics = Off
    + {- |/ Q0 j9 N$ D$ o

  1252. ; n) s) t' x/ d0 ?1 D+ O! z
  1253. ; Records communication from all extensions using mysqlnd to the specified log( \0 i- N8 q* P( r: j9 p
  1254. ; file.0 `* P) I, x, ]* s% N
  1255. ; http://php.net/mysqlnd.debug6 K7 z# d8 g: _$ a5 c
  1256. ;mysqlnd.debug =
    - z1 z. O! B4 K4 g5 e% E
  1257. / j& G. S6 j2 Q5 ^0 V( u
  1258. ; Defines which queries will be logged.( w7 C8 v0 U  a  O; J4 X& R" G
  1259. ; http://php.net/mysqlnd.log_mask
    " s6 k  ^/ K8 k
  1260. ;mysqlnd.log_mask = 0! g" U0 c  e7 Q1 x9 M

  1261. 3 S) l& W$ h9 Q$ \
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.% m. b  Z- l% t, B& S2 f
  1263. ; http://php.net/mysqlnd.mempool_default_size
    + y, y9 ^8 w8 ~( D# @$ S7 n
  1264. ;mysqlnd.mempool_default_size = 16000) N$ H) e* ^0 ^

  1265. ' z+ K' e+ |1 `4 d+ q
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes./ i: T+ z: c+ ~  W2 _+ d; \
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size5 K, Z, t' L! J9 ~
  1268. ;mysqlnd.net_cmd_buffer_size = 20487 ^$ W8 ]) r9 G8 }, o$ i; e
  1269. * p2 Q$ p0 z8 d$ R3 M9 J4 g& U
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    " B/ J+ H* D' l8 c
  1271. ; bytes.* _1 B" ^* J" n
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    1 G; A5 q8 C7 T" L) g, s
  1273. ;mysqlnd.net_read_buffer_size = 32768
    * b' z$ E4 M& J+ O; c
  1274. - }5 w/ ]; x6 c$ N
  1275. ; Timeout for network requests in seconds.
    2 }  M! g3 I7 }+ W* \' ?
  1276. ; http://php.net/mysqlnd.net_read_timeout
    4 l1 Z  `  D' Z/ Q0 M
  1277. ;mysqlnd.net_read_timeout = 315360006 h8 x! ?, x4 p$ n& D5 `
  1278. 1 \7 b6 v! @- |; K2 L% C
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    4 s8 S. ~! l" }" P
  1280. ; key.5 b8 O& W( [5 ~9 o* U& Q+ N
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    & J4 e9 L; c" F3 x: C% P
  1282. ;mysqlnd.sha256_server_public_key =
    ; |! Z) }8 u9 d4 \9 ~* J  x2 \, I

  1283. - C' ?% l" K0 e
  1284. [OCI8]
    - R9 Z0 Z( m' [+ M  B" m) J, j% ?
  1285. # s3 |9 o1 {0 n6 `( v
  1286. ; Connection: Enables privileged connections using external
    & k  x# O1 c& z& U8 V
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    * N2 C7 m" `5 n) [' _8 {
  1288. ; http://php.net/oci8.privileged-connect
    ' D! h. `4 e* m: Z9 P6 ]6 k
  1289. ;oci8.privileged_connect = Off. x: h" l5 _, ?

  1290. / e1 M+ P5 t$ W! h  B4 o4 P. g
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    4 H; ]/ m1 q- L; \
  1292. ; process. Using -1 means no limit.# S# u8 s, t# R7 ?' u" _1 ^
  1293. ; http://php.net/oci8.max-persistent
    & `+ a, @) `- M+ C* y% @9 B
  1294. ;oci8.max_persistent = -1$ `, [+ E: O. t2 L2 [' k' f' L

  1295.   X7 S1 R8 {. ~, E6 f
  1296. ; Connection: The maximum number of seconds a process is allowed to
    0 R+ `2 Y' _1 x8 N# b
  1297. ; maintain an idle persistent connection. Using -1 means idle
    ! [: Y7 ?3 N" G! E8 g1 m
  1298. ; persistent connections will be maintained forever.
    / C4 C1 a! F% i  z4 r8 K
  1299. ; http://php.net/oci8.persistent-timeout% h7 }' _& Q1 v: [
  1300. ;oci8.persistent_timeout = -13 z4 r2 D$ i) t( o) F, \- q& {
  1301. & z. k" f* E* a
  1302. ; Connection: The number of seconds that must pass before issuing a
    - g1 [# h6 d5 s/ a/ b9 j
  1303. ; ping during oci_pconnect() to check the connection validity. When
    2 ?+ |; x4 J8 g! @" m
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables' ?" g9 h0 `% x
  1305. ; pings completely.
    ! ~, f1 m3 {( g" d$ N& C
  1306. ; http://php.net/oci8.ping-interval3 @5 ]1 n) ?- W7 g
  1307. ;oci8.ping_interval = 60; x6 F) i3 N" j% D  ^

  1308. 6 n6 S3 b. a; c4 j" x# o" z
  1309. ; Connection: Set this to a user chosen connection class to be used, F5 k1 g6 n1 r* |# Z
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    1 }& h, P- A! F! J: x2 c1 X! ~
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to+ _; L6 d! A' i7 a' B/ w. t; y* ]
  1312. ; the same string for all web servers running the same application,3 ]' H' q! m; e
  1313. ; the database pool must be configured, and the connection string must2 K# U0 _% @" P2 [
  1314. ; specify to use a pooled server.
    3 G7 W* Z; }6 U$ L- l" t% u( L
  1315. ;oci8.connection_class =
    * E8 f2 F: |. j3 ?' Y& m

  1316. 5 w) {7 S6 y5 e- C- ^( p
  1317. ; High Availability: Using On lets PHP receive Fast Application
    ( @7 E, |  p- {; }& j" V
  1318. ; Notification (FAN) events generated when a database node fails. The6 m* t) W5 g! c' z' i
  1319. ; database must also be configured to post FAN events.) n! j/ m. C9 d% ]
  1320. ;oci8.events = Off, p4 ]7 |( s$ g+ T8 g
  1321. 9 j! ?2 V3 y: d8 Y% X
  1322. ; Tuning: This option enables statement caching, and specifies how% ]* B/ L9 E7 i% ~: s: ?0 g
  1323. ; many statements to cache. Using 0 disables statement caching.
    8 M5 o( _. b" E7 g9 ?
  1324. ; http://php.net/oci8.statement-cache-size6 F+ f- q: w: K8 \- q
  1325. ;oci8.statement_cache_size = 20
    " L) r  O+ V$ A8 I. G9 a9 ?
  1326. : a/ E1 f) p, Q$ ]! n: p
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    , i" |- m$ B  u  e0 o
  1328. ; rows that will be fetched automatically after statement execution.2 d/ I8 [: V, @% @) _! I; x2 J; w" W
  1329. ; http://php.net/oci8.default-prefetch8 q2 U! G! X$ |: z( ~
  1330. ;oci8.default_prefetch = 100
    4 b* I8 A5 Z2 E  y5 R* `
  1331. 2 B4 a# ]/ Z5 \5 w) |4 Z% a* O
  1332. ; Compatibility. Using On means oci_close() will not close
    4 D: S. j, d; ~9 ~( V
  1333. ; oci_connect() and oci_new_connect() connections.
    5 O, G. Q4 y+ ~" K
  1334. ; http://php.net/oci8.old-oci-close-semantics
    " R! s! ~1 t7 Y+ [( n1 R
  1335. ;oci8.old_oci_close_semantics = Off- M. V* K# z! V9 l
  1336. & {* X- [  t+ A5 p3 W% y
  1337. [PostgreSQL]
    + r2 ?4 w6 E% d  y3 Y; {
  1338. ; Allow or prevent persistent links.3 h, K8 ]- {" R
  1339. ; http://php.net/pgsql.allow-persistent) C  P3 O  L% k
  1340. pgsql.allow_persistent = On2 |2 L$ ?0 S6 v- s2 U

  1341. 3 Z3 T/ F1 B% I6 _# Z5 R) \" J& Q
  1342. ; Detect broken persistent links always with pg_pconnect().; m( J! P. l) n( e" L; g, T
  1343. ; Auto reset feature requires a little overheads.
    , [, U2 d- Y3 N- r
  1344. ; http://php.net/pgsql.auto-reset-persistent) f1 l" i+ g  m$ J* U* f# }5 j3 P
  1345. pgsql.auto_reset_persistent = Off
    / d2 N! m6 R7 X+ r/ [2 B

  1346. 8 u1 \1 G" q, K8 k( Z
  1347. ; Maximum number of persistent links.  -1 means no limit., O* j0 X7 w  P
  1348. ; http://php.net/pgsql.max-persistent
    - C+ }9 b+ T7 g: ]3 I9 U
  1349. pgsql.max_persistent = -1
    2 o, A0 A) a% v/ P' o
  1350. ) [! e! l+ V/ n
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.3 z. @' N8 @" h7 ~
  1352. ; http://php.net/pgsql.max-links
    . M& q% m6 G* B" }7 D, d
  1353. pgsql.max_links = -11 z/ O" w! E- R  W

  1354. 3 T0 Z) x4 ?& a# [
  1355. ; Ignore PostgreSQL backends Notice message or not.: N/ }- U5 ?! _4 m
  1356. ; Notice message logging require a little overheads.% Y* A2 c4 O  ~8 n
  1357. ; http://php.net/pgsql.ignore-notice
    - Q; [' ?' E& q0 d
  1358. pgsql.ignore_notice = 0
    ; @/ T( c. x1 A% B9 G3 N

  1359. 1 f# l/ {$ B% H0 m3 u9 [
  1360. ; Log PostgreSQL backends Notice message or not.
    . a4 g7 N& L2 a2 w
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    6 w# L5 C4 ^2 o7 t
  1362. ; http://php.net/pgsql.log-notice3 q7 X/ ~8 _( w- B, j" X
  1363. pgsql.log_notice = 0
    ) x! D/ N9 i( h% L" \+ `' _
  1364. " u/ y" \7 W* M' F9 h8 K" o, f: [2 a
  1365. [Sybase-CT]
    " Y' }$ \; @4 \! ]9 T& o
  1366. ; Allow or prevent persistent links.
    % v3 e$ ~0 _9 E3 \) I) y
  1367. ; http://php.net/sybct.allow-persistent9 p+ h, m$ ]4 u
  1368. sybct.allow_persistent = On
    8 L* l% {4 r9 G5 ^. q  g7 n
  1369. % }8 h& M  c" b; t- v7 @
  1370. ; Maximum number of persistent links.  -1 means no limit." L6 H$ C, y. |$ B3 g
  1371. ; http://php.net/sybct.max-persistent
    9 J" r$ c9 W% T! c
  1372. sybct.max_persistent = -1% \  p' W0 j( c* _& ]$ G

  1373. / n  t6 L  \" Q6 t/ d
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.! K% z) L+ z: V  j2 T. L
  1375. ; http://php.net/sybct.max-links
    ' h; S, K) A: \$ D7 P
  1376. sybct.max_links = -1
    $ I4 }# p- i9 z* W

  1377. % ?- I: l4 R8 ^- c8 U
  1378. ; Minimum server message severity to display.' F+ X+ d7 c$ C
  1379. ; http://php.net/sybct.min-server-severity& k( t; b8 c, N: _2 v0 ^
  1380. sybct.min_server_severity = 10! v: ?; N" L. ^7 \! B) i
  1381. ; Q3 j& e" j1 j* l, J
  1382. ; Minimum client message severity to display.* f( z/ s0 S+ e  s7 [' f
  1383. ; http://php.net/sybct.min-client-severity
    ' |7 L. y) Y" Q1 e+ Y) O
  1384. sybct.min_client_severity = 10
    . P) A- m% h, n  q' ~

  1385. ' g% _( d3 |. D
  1386. ; Set per-context timeout
    ; @2 w' T4 D" L# s: N4 C! \% U
  1387. ; http://php.net/sybct.timeout, }. a4 O$ ^; d+ K/ c
  1388. ;sybct.timeout=, \7 @6 V7 a  C6 |
  1389. * @6 _7 \% T( e; e5 o
  1390. ;sybct.packet_size4 q# C1 g4 x) x( M" ]
  1391. # x8 I$ _! `- y* d+ Y9 F7 m
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.' |8 C& \: Z, S; o( k) L* I
  1393. ; Default: one minute
    1 t+ i/ s5 Q; S- J; F! Q
  1394. ;sybct.login_timeout=" i' e7 i% k  l( q, ?& p
  1395. 8 q3 B3 h. d3 ^) R
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    9 Z  p$ o) z9 \
  1397. ; Default: none
    ( j: G0 \/ s6 ?: ^
  1398. ;sybct.hostname=' z+ [7 E# `4 q) L& v) R: S# F
  1399.   P8 y5 u. X  i# V- a' p
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    $ g- {* v) t  l# i8 O5 i9 g
  1401. ; Default: 04 X+ K5 R' n% Z* j
  1402. ;sybct.deadlock_retry_count=6 T! \9 T" L$ a- p! ?) C& P
  1403. 6 x! N9 \3 C5 Z1 R: |3 M
  1404. [bcmath]
    8 ]9 U+ t. r7 H0 K# T/ q
  1405. ; Number of decimal digits for all bcmath functions.' N8 w9 H% Q0 ^% V
  1406. ; http://php.net/bcmath.scale6 c& Y. F7 c  r1 G" M) E
  1407. bcmath.scale = 0& y8 m, R8 ]7 f5 j; |/ P' L8 t# Z

  1408. + d8 ]' h( t! W# n! R4 V/ o4 ^  [
  1409. [browscap]
    : X8 r$ ^4 T5 J0 L
  1410. ; http://php.net/browscap
    % [  H) _4 B9 Z+ k- F# O) y
  1411. ;browscap = extra/browscap.ini
    . x  Q! R1 [# ^. g% k: }
  1412. ) v, l, J' C3 h
  1413. [Session]1 U, f+ N5 V$ j! G0 b
  1414. ; Handler used to store/retrieve data.. J  K3 k+ ]8 l6 Q7 M; g  ]9 L
  1415. ; http://php.net/session.save-handler5 r4 g9 }! }( J
  1416. session.save_handler = files8 h5 m  D% e, ^5 Z5 S
  1417. ) R% j% I* f" e3 U
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    " y9 S" D5 b( |. d" [0 F# i7 A
  1419. ; where data files are stored. Note: Windows users have to change this
    + j1 i9 I2 r; i# k
  1420. ; variable in order to use PHP's session functions.
    , F. |6 M3 F4 s# @' e- N
  1421. ;( b* U" u' a8 H7 X' i3 T  `
  1422. ; The path can be defined as:
    . L8 u, l! `0 n2 D' D6 y0 @: @
  1423. ;
    ) g& L+ w9 }$ G  Y: N
  1424. ;     session.save_path = "N;/path"
    6 y( m" T" F7 k) w% y! j1 I9 u
  1425. ;
    , x! U( j& s2 J- L
  1426. ; where N is an integer.  Instead of storing all the session files in, v7 r# {9 W) T2 k' R# X
  1427. ; /path, what this will do is use subdirectories N-levels deep, and6 R5 E1 `- g! {+ y7 x0 U& b7 E
  1428. ; store the session data in those directories.  This is useful if
    ' }0 ^4 J9 d% Q+ O- |1 z5 k
  1429. ; your OS has problems with many files in one directory, and is# q9 ~; I/ }4 w% g: a
  1430. ; a more efficient layout for servers that handle many sessions.
    + p2 u! z' @. U7 k% H# Z
  1431. ;! H1 ~' c4 y  _" J  I" y
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    / J% f2 }9 D1 j& J  w; S
  1433. ;         You can use the script in the ext/session dir for that purpose.
    0 [0 R' l# W3 D
  1434. ; NOTE 2: See the section on garbage collection below if you choose to& m: a+ C. D- q$ p
  1435. ;         use subdirectories for session storage
    8 q7 {& m' L4 s2 j4 {6 M
  1436. ;
    ) f. |0 V* z; d) _. }) |
  1437. ; The file storage module creates files using mode 600 by default.' z; z* e( g- s2 i2 e6 u
  1438. ; You can change that by using
    7 ^$ B. }( f( o- w1 {! r7 }
  1439. ;5 Y) Y) e6 r' W+ W8 K9 |! C" z7 [9 P+ k
  1440. ;     session.save_path = "N;MODE;/path"
    2 J( \& |  T9 ^
  1441. ;
    9 K6 u7 Z* @; V# ~* c- D2 i
  1442. ; where MODE is the octal representation of the mode. Note that this1 Y, j5 X$ _5 d+ F' Y
  1443. ; does not overwrite the process's umask.- \  s' w: S3 a) M' A6 v
  1444. ; http://php.net/session.save-path9 A+ ~" ~/ F2 b9 l* z: G/ S
  1445. ;session.save_path = "/tmp", V* ~4 R$ X3 ]7 r( U

  1446. ( J7 _8 t: S  V
  1447. ; Whether to use strict session mode.7 z& \8 W! x+ B
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    ' X. i# q5 G8 _4 [3 p
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    8 ^- a+ P8 X+ I* u2 g8 v% M
  1450. ; applications from session fixation via session adoption vulnerability. It is
    % b  ~. V8 o! U% n9 Q
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    + I  {7 d" K+ F5 j" X% `
  1452. ; https://wiki.php.net/rfc/strict_sessions
    " J; K& v/ q6 X$ h3 `
  1453. session.use_strict_mode = 07 V7 q$ b/ T6 n% w1 _4 n* s

  1454. % y1 a9 x) c( s8 L$ r
  1455. ; Whether to use cookies.
    , A, G4 D( I1 ?+ {7 D7 N
  1456. ; http://php.net/session.use-cookies. A% C3 x: `8 j3 p7 T
  1457. session.use_cookies = 1
    * ]( k: r/ E" b  {! F3 U' K

  1458. 8 R$ X% ?0 ?! }# ^3 \. m- O8 d/ P
  1459. ; http://php.net/session.cookie-secure
    " I% D' c5 a0 U5 S. v  i1 A- Q
  1460. ;session.cookie_secure =
    ) W" n) I6 ?4 _' j# S
  1461. - k8 f3 \$ h2 _% Y- B/ D+ ~8 w
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining' V0 E$ S" q2 {7 E, C
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    . q% ]1 w7 t' u& u
  1464. ; session hijacking when not specifying and managing your own session id. It is
    $ G7 X) g3 _6 F
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.' p8 s# X9 P- o" Z: H
  1466. ; http://php.net/session.use-only-cookies
    + {( X" [3 u5 s" I: R$ t* m: m
  1467. session.use_only_cookies = 1
    3 x0 a0 f3 u, f! V0 S% Q

  1468. 5 B* b- O0 @) h& L3 O
  1469. ; Name of the session (used as cookie name).
    * L+ ]( F  @, s- O6 s5 H" e% z2 |
  1470. ; http://php.net/session.name1 H1 }1 H/ A# D; V5 g6 j  o
  1471. session.name = PHPSESSID
    6 }- G" i6 Z; X4 p# `

  1472. + x* R  G) g4 R% Z
  1473. ; Initialize session on request startup.. V4 w& u( T6 U6 f6 y. A0 ~
  1474. ; http://php.net/session.auto-start" q# G# C, ], T& u: e
  1475. session.auto_start = 0) Y1 \6 _* F( w1 D0 w$ T
  1476. / s2 y' ^# K2 N9 Y9 I
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.% j$ _! D) q% |7 B2 I5 C
  1478. ; http://php.net/session.cookie-lifetime! a; {6 R6 g, D" `. G( ~: I! o
  1479. session.cookie_lifetime = 0
    . [9 }$ V" V- g. C9 a% f
  1480. % h" R$ c& `  A! [
  1481. ; The path for which the cookie is valid.
    - q( Y; a0 |3 c
  1482. ; http://php.net/session.cookie-path5 y* u  M4 O8 {; o* k  |! L2 Y/ [
  1483. session.cookie_path = /4 @# G$ h' W" K( G' }1 Q8 f

  1484. ; V' W- B! y. y" P0 G0 u  X2 K
  1485. ; The domain for which the cookie is valid.
    ) {" U, k3 Q9 W; e2 d2 h
  1486. ; http://php.net/session.cookie-domain0 }& x# Z1 y3 f. N! j( z. K* `0 R2 b1 y
  1487. session.cookie_domain =
    8 F3 h. i( s" n( s3 r
  1488. 9 F# W- C$ n$ M9 x9 V
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.4 y" c" \2 ]- C5 y! {
  1490. ; http://php.net/session.cookie-httponly8 H$ f; q7 r! N
  1491. session.cookie_httponly =
    ) _: U( b5 u) s4 O# k+ ^$ X# \

  1492. . D% }2 W6 Y; R$ s  ]/ i% p1 x
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.2 q4 k3 s3 H( h
  1494. ; http://php.net/session.serialize-handler) _  _) @! k1 y0 g
  1495. session.serialize_handler = php
    8 F( W" [* J2 q. d
  1496. 8 c1 R2 `0 q6 e0 R' W
  1497. ; Defines the probability that the 'garbage collection' process is started
    # F) e4 D' Z' u6 ^5 |9 q
  1498. ; on every session initialization. The probability is calculated by using4 m0 S: g! @- ]9 K0 ^, c' m
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    2 _5 M4 V$ _( [/ e; I/ s
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1, _) R# q, N+ G5 ?
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance* w/ q% P1 l" i5 J6 }' G  C* ^
  1502. ; the gc will run on any give request.
    ' R7 b2 T, P! _1 W
  1503. ; Default Value: 1
    # w, ?8 \5 ]+ ?6 L  ~$ O
  1504. ; Development Value: 1
    3 h6 \1 \9 Q7 [, C6 M
  1505. ; Production Value: 1  ^# ~4 V" k  D8 h  U
  1506. ; http://php.net/session.gc-probability$ F+ O0 y6 d: K' n, H" [' M! L
  1507. session.gc_probability = 1
    # t: U2 `5 e  s8 `- [0 y0 _

  1508. 3 `. D5 Y5 I8 z
  1509. ; Defines the probability that the 'garbage collection' process is started on every) S# A/ E0 |* k! ^' @- s9 \# T
  1510. ; session initialization. The probability is calculated by using the following equation:. a7 T1 Z7 q" A+ Z" @: z' X9 q
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and2 C7 s# S4 Z) P: _. f
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 12 p+ U" p' c( {9 F6 F; J
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance. T% T0 G3 O% l9 V& F0 E& p$ M
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    . r, _- Y5 N' I
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,. L' i- J7 ~( z9 H1 G: N
  1516. ; this is a more efficient approach.# I1 a9 K( n, J  m2 e
  1517. ; Default Value: 100
    2 I% }7 |3 X4 Q7 N
  1518. ; Development Value: 1000
    7 r& n/ c0 m' z( ~8 h6 l  c/ Z
  1519. ; Production Value: 1000
    ( F4 i+ I' O5 z0 E+ x- I! I. X
  1520. ; http://php.net/session.gc-divisor  [6 L3 j5 g6 d5 h1 ?1 h/ k
  1521. session.gc_divisor = 1000
    3 O6 }* f, r) R* o
  1522. % N+ t. [* h& `5 a2 {/ w% a4 O/ q9 B& D
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and# i% A: r0 y  G
  1524. ; cleaned up by the garbage collection process.
    4 O9 a* U0 f1 ~
  1525. ; http://php.net/session.gc-maxlifetime
    * h# ?' x6 E2 L" E% R
  1526. session.gc_maxlifetime = 1440
    " r/ M" \: q5 }2 ]

  1527. % z$ y  T* C4 @$ l+ s
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    0 x1 I: }8 v: {! D8 v
  1529. ;       (see session.save_path above), then garbage collection does *not*
    - J2 @, E: U, |5 [! p
  1530. ;       happen automatically.  You will need to do your own garbage; _7 t5 F# o2 ~6 d$ Q. q1 j
  1531. ;       collection through a shell script, cron entry, or some other method.9 D* Q( b- ?% u
  1532. ;       For example, the following script would is the equivalent of
    " I/ }% b5 L) a* l0 Z
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    ' L) y8 R4 z& n
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    5 f( ^3 F6 a2 l- ~3 }3 j9 X8 l4 w
  1535. 1 i$ l& W! u5 h! E6 s
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    % u9 `) ?. e9 R" n
  1537. ; HTTP_REFERER has to contain this substring for the session to be3 S# G$ J7 w+ _3 C
  1538. ; considered as valid.
    , f2 `: k1 o( ~. m. E( q
  1539. ; http://php.net/session.referer-check
    ) \& @: V  X# v- z3 }
  1540. session.referer_check =0 H) e/ |) D4 S* R* i/ i# T( V8 R
  1541. 9 Q0 L$ J* U3 f: l0 u
  1542. ; How many bytes to read from the file.4 P7 S/ J/ p6 p
  1543. ; http://php.net/session.entropy-length# |' ]+ k' m; `% m1 y
  1544. ;session.entropy_length = 32( M  s3 o4 X& H+ A
  1545. % o! y: H, d& Q7 k
  1546. ; Specified here to create the session id.7 Y# B, P2 [6 i$ t. w7 z, Q' }8 }
  1547. ; http://php.net/session.entropy-file( a$ N0 |5 I/ `* d' O
  1548. ; Defaults to /dev/urandom
    2 m6 p# r1 B" L% Y' p  }
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom+ ~1 n+ R* L) Z8 E3 r' D- k% P8 T" @
  1550. ; If neither are found at compile time, the default is no entropy file.5 Y. x* B4 f* _5 K% \# ]) g
  1551. ; On windows, setting the entropy_length setting will activate the# F$ N; q9 M7 m6 X  z
  1552. ; Windows random source (using the CryptoAPI)
    / ]- C& L7 c+ b# {
  1553. ;session.entropy_file = /dev/urandom! _0 I  X' C7 [5 z7 K

  1554. " A( b) ?; y5 a' Y) W
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects+ H, ~, H1 b/ N
  1556. ; or leave this empty to avoid sending anti-caching headers.
      L$ i% K6 u; Y# D0 H0 u
  1557. ; http://php.net/session.cache-limiter
    ) O  J$ x. \' k" m
  1558. session.cache_limiter = nocache
    . J- v5 a$ {; u  k2 n$ Z$ ]! j
  1559. 8 t, B! ], h0 A5 [0 B' T. d9 y
  1560. ; Document expires after n minutes.
    & D1 M! W) \* l3 ~/ \* Q5 f
  1561. ; http://php.net/session.cache-expire
    " O! T, n* r% F: Y! ]/ U6 w: K6 c
  1562. session.cache_expire = 180
    ( g% }( u: G+ J$ {0 c" a1 U3 B, Q

  1563. $ ]4 s7 s9 ~+ L& v0 K
  1564. ; trans sid support is disabled by default.
    ; C# a! c4 V' r9 ?$ L
  1565. ; Use of trans sid may risk your users' security.% H6 G! `' v) o: }" v& A6 _, b
  1566. ; Use this option with caution.
    3 m8 P5 k4 B. F9 }$ ~7 [; z
  1567. ; - User may send URL contains active session ID2 ^; }, V5 Q( h+ ~8 r
  1568. ;   to other person via. email/irc/etc.
    ; }. n3 f% d: ]. d
  1569. ; - URL that contains active session ID may be stored
    " A4 Q4 ~# S3 L( \5 o. z" ?9 {, a
  1570. ;   in publicly accessible computer.8 P8 T4 y/ P; W8 T# j; b# Q/ r& A
  1571. ; - User may access your site with the same session ID
    * K6 C, W/ L, I2 X
  1572. ;   always using URL stored in browser's history or bookmarks.4 u; V, s% G9 Z
  1573. ; http://php.net/session.use-trans-sid
    " k  A3 U" ?  q$ O
  1574. session.use_trans_sid = 0
    2 V: c; P# q3 {/ J5 J
  1575. - r$ Z5 e6 N# L* [7 D$ v) I+ x/ I
  1576. ; Select a hash function for use in generating session ids.
    * X- u7 Y7 I5 }2 F4 ^
  1577. ; Possible Values' Z. e, Z8 N6 U2 \, D
  1578. ;   0  (MD5 128 bits)
    2 S" ]; V8 E. F; b9 y
  1579. ;   1  (SHA-1 160 bits)
    8 `, E( p9 X# `# d  m
  1580. ; This option may also be set to the name of any hash function supported by5 b$ v0 p1 k$ X7 L  H/ V  b
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()  @% K8 A* o$ A  i8 S$ k
  1582. ; function.
    1 a! B* }) t8 @, ?+ t# `4 U( e
  1583. ; http://php.net/session.hash-function+ C, V+ c  r) T3 r9 A5 t5 Q+ E
  1584. session.hash_function = 0
    $ Y, c4 c' j, x3 ?: d. U5 Y4 l

  1585. + Q8 V/ k, _) u4 M; Y3 o  K
  1586. ; Define how many bits are stored in each character when converting6 _8 f' [8 p  M
  1587. ; the binary hash data to something readable.
    1 n9 D5 s; q7 n* ]+ ?+ R
  1588. ; Possible values:
    3 R' D, I' |, b9 ?4 S. q6 `
  1589. ;   4  (4 bits: 0-9, a-f), `9 H2 _; h& ^/ Q$ Z# v
  1590. ;   5  (5 bits: 0-9, a-v)7 m& D: ?& ]! A
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    ; b# K5 y6 `9 y
  1592. ; Default Value: 4
    : T* v* Q2 _, @
  1593. ; Development Value: 52 {3 J9 e2 i' W. M  W6 n" O8 ]/ m+ z
  1594. ; Production Value: 5
    $ ^- B) |4 {0 E7 _3 e0 D6 p
  1595. ; http://php.net/session.hash-bits-per-character
    ; M2 D* \8 f' g6 S
  1596. session.hash_bits_per_character = 5: k) G& c$ l2 k8 a- l; O# {* b
  1597. * k) k" u. b" {2 q0 h+ N
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.4 |( D7 Q6 P/ h- z9 x
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    ' {. S  L  O# m6 b8 |8 H3 [: D
  1600. ; add a hidden <input> field with the info which is otherwise appended
    $ N6 g, W0 T: @
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    $ Z! o6 n" E: K9 ], K3 Q: ]
  1602. ; Note that all valid entries require a "=", even if no value follows.
    4 `3 @# y; ^6 ~
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="5 s7 i$ V  l5 V  ]
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    8 H+ x6 D% S$ Q) R$ J" u
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"; [* N8 G% F6 l+ F' h* q/ R
  1606. ; http://php.net/url-rewriter.tags
    - d  k4 X) V7 f; @/ r
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"( K6 j) R  E* O3 S" \

  1608. 9 E: N0 m7 F& n& m- B/ d
  1609. ; Enable upload progress tracking in $_SESSION
    8 |1 a9 e. k  x3 K7 c9 W
  1610. ; Default Value: On
    ( Y4 e4 I2 |# O2 n
  1611. ; Development Value: On! v* d4 D* e% ?# W5 {
  1612. ; Production Value: On
    & [1 |! L/ B; d
  1613. ; http://php.net/session.upload-progress.enabled
      c8 G$ B% q, P& R3 f% t( O% c
  1614. ;session.upload_progress.enabled = On
    ( v/ ~4 w& ^' k" I

  1615. 6 }' T, I7 `8 M
  1616. ; Cleanup the progress information as soon as all POST data has been read' B, u( d$ w1 F
  1617. ; (i.e. upload completed)./ v; p0 Q( j) P& [/ j* g# \
  1618. ; Default Value: On
    ; y) s- b4 F9 ^0 \1 R2 |
  1619. ; Development Value: On
    1 j# I( \8 ]# R' i7 c8 h$ h
  1620. ; Production Value: On$ c, Z" U* R0 q
  1621. ; http://php.net/session.upload-progress.cleanup
    . n  _7 e+ I3 E: Q
  1622. ;session.upload_progress.cleanup = On8 h  X% e: A" [- n9 S- `( _% n
  1623. ' \( F" G5 O: ], k! }$ H$ k
  1624. ; A prefix used for the upload progress key in $_SESSION
    ; }% q8 t; ?( a
  1625. ; Default Value: "upload_progress_"6 S3 F; B8 c3 F* x1 l; o: k) p
  1626. ; Development Value: "upload_progress_"6 ^% [0 T; d4 ?4 ?# V& I
  1627. ; Production Value: "upload_progress_"- k. \/ W2 f; F% {) @% E" C6 X
  1628. ; http://php.net/session.upload-progress.prefix- I0 j+ U/ ?$ v1 X: @6 R
  1629. ;session.upload_progress.prefix = "upload_progress_"
    / L2 U, D, Y' i9 _1 N0 _
  1630. , \) l* _; v1 w( i$ ^8 |
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    ! i5 x. O( y) I7 g, [1 `' V3 t3 z
  1632. ; containing the upload progress information) \  B  ]* s% a4 Q9 G! J9 X* E
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ( r% Z7 h6 G0 M7 t3 t9 r# S' {
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"0 F% T9 l) ~2 Y7 e: {
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    7 G0 C6 \0 L9 _, {
  1636. ; http://php.net/session.upload-progress.name7 N, U% i8 V9 z/ D2 T9 t
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"# |8 a8 i3 B/ u# h2 U: F3 k" g
  1638. . f  F  u; d% h
  1639. ; How frequently the upload progress should be updated.
    2 S- ]) I8 A$ s; `+ `0 @3 {7 h
  1640. ; Given either in percentages (per-file), or in bytes
    " O/ f/ r' w9 i4 n, G4 x7 w
  1641. ; Default Value: "1%"
    & A. J& H' v. a* h/ p0 y
  1642. ; Development Value: "1%"
    7 H; {: i& l4 B' b1 z+ J
  1643. ; Production Value: "1%"
    3 ~2 |2 ]8 ~# {% Y( W- {" A& u/ S: M
  1644. ; http://php.net/session.upload-progress.freq
    2 \3 k4 {. Y" n
  1645. ;session.upload_progress.freq =  "1%"
    6 h6 H/ D- N$ B- h3 C4 \$ s

  1646. + x3 w8 R2 w1 o$ D- A( q
  1647. ; The minimum delay between updates, in seconds
    " r+ |+ A0 u7 K
  1648. ; Default Value: 1
    , P/ L3 |" W+ `" }
  1649. ; Development Value: 18 i+ |: f. G0 C$ E6 P
  1650. ; Production Value: 19 Q+ w& \7 k# q6 S, }  K4 a
  1651. ; http://php.net/session.upload-progress.min-freq
    * n; @; W. ~  `5 A' U* a0 h
  1652. ;session.upload_progress.min_freq = "1"1 H1 s/ g: Y9 i+ e9 o5 z
  1653. ' D& p/ i9 d6 d" w  H) a- r+ i5 V
  1654. [MSSQL]
    7 s: v. d8 g5 Z9 w  p. M9 H
  1655. ; Allow or prevent persistent links.: `9 o0 V+ }% k
  1656. mssql.allow_persistent = On2 d6 @# \; }! V6 k

  1657. / @; F6 `1 Q1 z
  1658. ; Maximum number of persistent links.  -1 means no limit." E) _/ U8 A0 S8 A. ?9 t# `& `
  1659. mssql.max_persistent = -1% `+ h6 Z6 N  H. ?, n0 ?" j3 x1 J
  1660. $ f; K2 w. @5 @' c$ {% N
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.; t3 Y$ }+ L& p0 i
  1662. mssql.max_links = -1
    , f; g2 S( A8 {9 D4 H1 c
  1663. % P. A1 o" c* C2 w) [8 E. R
  1664. ; Minimum error severity to display.7 z0 ?9 j; z9 j+ x4 d7 O
  1665. mssql.min_error_severity = 10
    & m) F: i( ?, `
  1666. 4 Y" N+ c5 r$ H: _  a1 b/ y; q
  1667. ; Minimum message severity to display.% I6 A) D" ]: h( h: ]
  1668. mssql.min_message_severity = 10# ?. M: V$ m) O3 @" o' i

  1669. # b2 t" g7 @. S9 f0 A- p
  1670. ; Compatibility mode with old versions of PHP 3.0.
    6 W# d* |; j) j1 k
  1671. mssql.compatibility_mode = Off
    , y" P3 l- ~; a( s3 I! m$ I
  1672. + N; U: t  C" D4 n6 a; V6 D
  1673. ; Connect timeout0 Z  a2 N8 q6 V/ O* Y
  1674. ;mssql.connect_timeout = 5
    ! k  h7 X/ y+ M3 {8 m8 A, T4 ]
  1675. , f! R4 [5 C4 u; f" Y. ^
  1676. ; Query timeout
    5 _( B% Y- V& s* A4 ]
  1677. ;mssql.timeout = 609 `9 i& \" p5 m! D% ~& f

  1678. 0 E( Q# B. w) h, P! Z
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    $ J0 \3 b- \: U
  1680. ;mssql.textlimit = 4096
    , c4 a5 a( o' M5 B. c2 j
  1681. 9 _8 V9 U- f6 w0 e
  1682. ; Valid range 0 - 2147483647.  Default = 4096.! q1 o9 q! C# n6 m
  1683. ;mssql.textsize = 4096: U; u" s2 @/ A- ], ]' q
  1684. * `$ i2 b, j" i5 e! H% ^
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.' q1 g' v8 ~8 z! j5 u( X
  1686. ;mssql.batchsize = 0
    ' [& S! o5 T" z- k+ W
  1687. " A0 y7 l: K2 N; f* n  a" X
  1688. ; Specify how datetime and datetim4 columns are returned
    # k/ \8 n  J% ^) S
  1689. ; On => Returns data converted to SQL server settings
    ) Q8 m" w7 r/ M# t3 q
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss: C7 |( N$ ~- |: m# N2 h, {0 p
  1691. ;mssql.datetimeconvert = On
    & @  o5 T9 `/ l6 J& a- ~
  1692. / F2 T9 ~6 u% g: V7 p
  1693. ; Use NT authentication when connecting to the server8 _% X- n/ o- D7 c$ I: _9 g3 L
  1694. mssql.secure_connection = Off
    2 Q7 o/ P: `2 i, B) F* i
  1695. $ ?$ }. }, E* H
  1696. ; Specify max number of processes. -1 = library default
    # t; K5 j: l7 @" r5 |
  1697. ; msdlib defaults to 25/ ?4 x* b1 [: _% k2 \
  1698. ; FreeTDS defaults to 4096
    7 l0 [& d' g. H# }
  1699. ;mssql.max_procs = -1
    - L. e7 |) {+ D0 s) X( y, h

  1700. 1 U  g# g, R6 J* Z' @: ~
  1701. ; Specify client character set.
    ( M9 T: b7 ?6 b
  1702. ; If empty or not set the client charset from freetds.conf is used
    / E8 G/ f/ ?7 ?/ u
  1703. ; This is only used when compiled with FreeTDS
    . H" E5 D: c' k
  1704. ;mssql.charset = "ISO-8859-1"
    8 b3 Q7 E- j+ E9 t% r5 E
  1705. 5 H. T- p. [# ?9 K( A9 K8 d
  1706. [Assertion]& s! x* X" m6 r( _4 N
  1707. ; Assert(expr); active by default.6 q7 r3 ?' W1 g
  1708. ; http://php.net/assert.active5 f" i$ Y  r4 r, |/ Z! O  E6 a
  1709. ;assert.active = On3 r6 j7 `7 ?% c
  1710. ( ^: O% u+ W" f7 n: \2 Z. q' ?, V
  1711. ; Issue a PHP warning for each failed assertion.
    " Y' Z; A* p- p# r& ]2 ]7 B8 K' d
  1712. ; http://php.net/assert.warning, h  v1 @! t5 M6 w/ A6 t) e
  1713. ;assert.warning = On8 ^& c& j' G! t  P# S

  1714. / u' L& F4 T5 B" p% d+ G5 ?
  1715. ; Don't bail out by default." M2 G4 x# P! l& D
  1716. ; http://php.net/assert.bail" z/ U# d- S# o& i8 B1 y
  1717. ;assert.bail = Off
    & A0 M! `/ N0 M

  1718. ; O0 r: `% q. [& y+ E& a' D" R
  1719. ; User-function to be called if an assertion fails.6 J- M6 R8 |# x( g* C. n
  1720. ; http://php.net/assert.callback
    # R2 R  m- {/ d2 x  w
  1721. ;assert.callback = 0
    3 y- V: X7 C. a2 q, r: T. `' K

  1722. 7 l4 I; H% T, ]4 @% E$ M6 \& y' t
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    ) Q1 W& ~) v2 o' i. G7 P
  1724. ; error_reporting(0) around the eval().
    2 W: c3 p& P. ~$ g4 N- [
  1725. ; http://php.net/assert.quiet-eval* }, s) L) k$ ^' h& z0 P
  1726. ;assert.quiet_eval = 0
    6 p5 d0 H8 l: }! Y

  1727. + ], v/ {6 p! R* t: a; b) z8 p: C
  1728. [COM]% N7 P, I  w" r1 [: q3 @5 D' ^
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    ) U1 I, p; A( e
  1730. ; http://php.net/com.typelib-file
    ; b, \  e% d8 {# m
  1731. ;com.typelib_file =- f% d+ t/ d$ k
  1732. . M! f$ K, J: O5 H! M
  1733. ; allow Distributed-COM calls) t& C( K! ~8 \' g8 }
  1734. ; http://php.net/com.allow-dcom4 \, g# F8 N2 Q2 t9 {3 T' }
  1735. ;com.allow_dcom = true6 E* u) O0 i) Z6 k% l2 |, i, u
  1736. 1 C9 P" r9 m: H" W
  1737. ; autoregister constants of a components typlib on com_load()$ O. n# c7 G  e5 C, J7 Y
  1738. ; http://php.net/com.autoregister-typelib
    . R  N# @% S9 t9 m, U. }
  1739. ;com.autoregister_typelib = true
    % }8 _) q. b* B, A0 H6 O+ e5 S. ?# H

  1740. 3 m& u8 M6 I5 D7 \8 Y
  1741. ; register constants casesensitive
    & M* J4 e4 i" J
  1742. ; http://php.net/com.autoregister-casesensitive
    8 S. r; R2 m! y. B& `4 B
  1743. ;com.autoregister_casesensitive = false
    : R' [. a) {2 b1 Y! ^2 ?* [$ X
  1744. 8 [. y- d% W# R2 S* d: J! i
  1745. ; show warnings on duplicate constant registrations
    9 I- t3 E% G- b% |/ ~, T# u8 J& y
  1746. ; http://php.net/com.autoregister-verbose
    . G$ d1 k, z- ]- m
  1747. ;com.autoregister_verbose = true
      X" [6 e" l$ _; F) Z

  1748. * S. ^) O2 v' a8 n5 O- @/ M8 k5 s
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    ' ~, t2 p. H9 ^. I& g. B
  1750. ; Default: system ANSI code page  h* ^$ H' e2 P; o7 g4 o2 ~, \
  1751. ;com.code_page=* ?" R6 `: O6 M9 a$ T& u3 w+ Q
  1752. * ^) I- S- \" z' Q) G  ?9 p8 p
  1753. [mbstring]; q6 G  c0 u& `# v, D
  1754. ; language for internal character representation.
    2 H! A6 m; H% m1 P2 n
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.* F* D' F0 n/ s8 P2 ?" G
  1756. ; http://php.net/mbstring.language) @- B( W' Z$ y" L0 y5 `
  1757. ;mbstring.language = Japanese' e6 I" }+ m; m0 f+ o; f7 q* L. V# W( H/ }
  1758. $ N7 n  P+ \2 v7 }
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    0 r4 U9 k. Q. w/ y+ L
  1760. ; internal/script encoding.
    / [. `& A% y* g% u
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)- o, J* `, Z' Z) z8 o% a( z
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    . \$ x# ]7 _0 u
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding/ i7 Q/ U7 d) {5 r& C
  1764. ;mbstring.internal_encoding =
    ! S2 }6 j( y: ?( S

  1765. 5 ^; T5 U2 `" m! {/ @2 r4 e
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.+ O' p9 y! _( A* X. a5 N0 |+ p
  1767. ; http input encoding.4 `6 ?, I$ D  l  b2 g" \
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    & O) K; N) e3 j
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    ( ]6 U. ?/ Q+ S
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input) ]+ G3 N( C% y, u0 v
  1771. ; http://php.net/mbstring.http-input* p1 Y" I) l4 m6 v! ]$ w
  1772. ;mbstring.http_input =" ~1 Y2 D" P5 z% V, C% e1 T0 n

  1773. 4 t  ^+ M1 P, G1 M0 k! q) t4 a* ^7 `
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.  c5 w3 v- K0 T$ e
  1775. ; http output encoding.( ]; g9 S, [3 |
  1776. ; mb_output_handler must be registered as output buffer to function." h2 z9 Z' G2 @: b" }' W0 O
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.1 O0 S6 J. h) L8 x3 L. k
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    $ ?- q/ Y, E% I) A$ o
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    $ A8 [3 w2 K$ S
  1780. ; otherwise output encoding conversion cannot be performed.1 ~) q2 C) E) Q; ^+ u
  1781. ; http://php.net/mbstring.http-output
    . u) H! J- y+ r! R+ Y! _/ T/ I+ q) B
  1782. ;mbstring.http_output =
    ' z8 d& O; i6 L7 R" I, j

  1783. : a7 h. T" h& K1 E; i! F/ e
  1784. ; enable automatic encoding translation according to$ u3 `( m2 N- u1 Z! o
  1785. ; mbstring.internal_encoding setting. Input chars are& u+ @! S" p& n* s+ M
  1786. ; converted to internal encoding by setting this to On.
    0 n. K" }% R  [  k" m/ t
  1787. ; Note: Do _not_ use automatic encoding translation for
    $ ~& z( |3 B" n/ B' c
  1788. ;       portable libs/applications.
    3 c1 S! G4 R7 x6 f3 ?0 w
  1789. ; http://php.net/mbstring.encoding-translation
    5 ~# m4 X! \# k& C$ p; {/ [
  1790. ;mbstring.encoding_translation = Off9 _- u) Z# d( A- ?

  1791. 6 B3 ^9 S( m' v0 N9 o5 `0 K
  1792. ; automatic encoding detection order.5 w5 ]% W  v6 s' U8 Y9 Y
  1793. ; "auto" detect order is changed according to mbstring.language
    7 m( `) }# T1 T+ z: z
  1794. ; http://php.net/mbstring.detect-order
    ( j4 A3 o0 y# _
  1795. ;mbstring.detect_order = auto
    - G# \2 S8 U$ R% w

  1796. 3 R' V0 U+ e, u/ \0 B8 `
  1797. ; substitute_character used when character cannot be converted
    . ]0 P! G  T0 V5 z5 J7 v
  1798. ; one from another
    . `) x  [7 B! _' d2 a- x4 k3 q3 q  f
  1799. ; http://php.net/mbstring.substitute-character& w$ J+ h( u, G, f  I" F
  1800. ;mbstring.substitute_character = none  [$ Y( G2 A& N) ?( O

  1801. " U0 x; n, L7 J) j
  1802. ; overload(replace) single byte functions by mbstring functions.: v6 Y1 _7 k# E. j3 a
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    ' i+ N, j0 l, G0 ]* y7 o" ^8 y# {" T
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    * J+ N  ], d9 u) i# {
  1805. ; For example, 7 for overload everything.1 d# r. v  l0 o0 ^# Y
  1806. ; 0: No overload, C% ~  n: b) o- W0 B+ K" R
  1807. ; 1: Overload mail() function  l, r, Y4 i. c- @/ z4 z" Z6 A/ q
  1808. ; 2: Overload str*() functions
    : L2 E/ f* ~1 ~4 u9 c
  1809. ; 4: Overload ereg*() functions& y: _3 b. |5 @8 R3 O8 }& k2 ?
  1810. ; http://php.net/mbstring.func-overload
    6 ^- ~; m3 e7 Q0 }* h
  1811. ;mbstring.func_overload = 0
    1 _! U1 u% g* U4 m% z( R
  1812. 5 C4 p" R- H7 q! Z% A; I. N# d
  1813. ; enable strict encoding detection.
    5 E; H% n9 B- ^; j. V1 C5 J7 {; e& O
  1814. ; Default: Off) i6 [, z9 A+ @- e+ E4 }) r
  1815. ;mbstring.strict_detection = On
    8 W2 |  c6 }! u! m
  1816. 2 A3 p  u) T6 S  j; T4 ^6 u
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    2 L. T) e, ]+ M7 z  p: ^0 t6 A9 W* q4 t
  1818. ; is activated.
    ' \' K& y2 }5 Q+ p/ i
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    4 g+ q9 m" F% e: q4 D
  1820. ;mbstring.http_output_conv_mimetype=6 v. v9 w+ M8 \; k' A
  1821. 7 E5 c( x0 Z8 f2 {
  1822. [gd]9 J$ Z* t  c% o( s3 w& z8 \
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    , b$ g8 ?1 d- K
  1824. ; a gd image. The warning will then be displayed as notices! t: s* L, ]$ ~% W
  1825. ; disabled by default! u2 M& S# m/ S" `5 w  d& ]7 W
  1826. ; http://php.net/gd.jpeg-ignore-warning
    & i  D. \5 d% o5 _5 h* n6 c/ \
  1827. ;gd.jpeg_ignore_warning = 0: r  V# k! b% X! ?, m/ t- U) g! Y
  1828. * M; {+ y: u/ E% g: f5 w
  1829. [exif]) r& i* j/ p( x, k% |$ l5 ^
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.+ H5 z2 x) a: n" Z. \; X0 T8 J
  1831. ; With mbstring support this will automatically be converted into the encoding
    , G8 x4 B' @% p. S, N4 @4 Q- I
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding" ~$ J) s. e7 Q. L7 K
  1833. ; is used. For the decode settings you can distinguish between motorola and3 Y4 ?6 s. L/ f7 a6 N8 n
  1834. ; intel byte order. A decode setting cannot be empty.8 q( E* t4 l& P* V. k
  1835. ; http://php.net/exif.encode-unicode
    0 Z/ m5 W4 `6 m/ o- Y! f
  1836. ;exif.encode_unicode = ISO-8859-15) @. n" ~" h' `! u  r

  1837.   G# C0 p# b* Y& b
  1838. ; http://php.net/exif.decode-unicode-motorola
    - {5 W0 B2 E5 ?- k5 J+ [, ?
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    & V8 ^3 ^) I4 e& U7 y9 l) Q( p6 e

  1840. 9 x6 u, |) c7 M% D5 ^
  1841. ; http://php.net/exif.decode-unicode-intel
    . z3 [+ w8 ^5 K4 x4 A
  1842. ;exif.decode_unicode_intel    = UCS-2LE) }$ X5 e; m! Y$ a( i/ U# x

  1843. 2 V0 f; k: _8 x: ]
  1844. ; http://php.net/exif.encode-jis3 F  ]& S1 \  p# e* c/ |# ^
  1845. ;exif.encode_jis =
    4 Y/ i; k1 w' e/ j# V

  1846. ' J5 t3 j( {: ^! U; t6 l4 \
  1847. ; http://php.net/exif.decode-jis-motorola
    2 Y/ d' r, b' F: @* t
  1848. ;exif.decode_jis_motorola = JIS3 }6 m1 q8 x0 x3 w+ `+ w

  1849. 9 P9 g' w9 k8 ?! P( f
  1850. ; http://php.net/exif.decode-jis-intel4 \& n0 u, c8 ]% Z5 z& q+ i! F
  1851. ;exif.decode_jis_intel    = JIS
    1 K  z* T6 `" Q. z& |4 W

  1852. 4 Z( p# \1 ?- S& o0 l4 U6 w  }) \
  1853. [Tidy]
    3 M' q! I( v+ ]( x
  1854. ; The path to a default tidy configuration file to use when using tidy
    % i/ k! ~! q$ [; k6 j0 z" {' d
  1855. ; http://php.net/tidy.default-config9 N9 V( Q9 q, h% c, c3 k: G
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg% N0 O% m: V! ]4 e: l% H
  1857. - Z4 I) |# K6 B: \6 K( y1 H! r2 E; O
  1858. ; Should tidy clean and repair output automatically?) `; O0 e4 O3 A3 H1 E/ Q# {' {
  1859. ; WARNING: Do not use this option if you are generating non-html content& u( S% I" B# ~( q/ H, h
  1860. ; such as dynamic images
    4 o9 O& w# ?: c4 t" |+ q
  1861. ; http://php.net/tidy.clean-output
    . U2 O) w7 G! [: X4 M3 ?, T' C
  1862. tidy.clean_output = Off
    6 f9 D! U5 R3 q( K! s

  1863. + x- K) {& r3 ~5 q- i
  1864. [soap]
    * D# o4 w3 a* W" @# Q; Y+ q# g
  1865. ; Enables or disables WSDL caching feature.
    0 M( ~2 E1 Z8 }/ O; g6 x
  1866. ; http://php.net/soap.wsdl-cache-enabled3 B; c( L3 |/ f2 I
  1867. soap.wsdl_cache_enabled=1
    * B" \( K- [" ^' p) _  V: U

  1868. 3 J; h4 T- t, A2 ?
  1869. ; Sets the directory name where SOAP extension will put cache files.& o" U8 e! e+ L. d0 b8 i, i' l
  1870. ; http://php.net/soap.wsdl-cache-dir4 B; T7 x7 P% T9 Q/ g; `+ D9 L
  1871. soap.wsdl_cache_dir="/tmp"9 d0 K9 J: s: i" z2 }+ I/ R3 p
  1872. / l% {  u! C; l0 E4 d. _% \
  1873. ; (time to live) Sets the number of second while cached file will be used
    ( i) i( [" p6 m
  1874. ; instead of original one.1 x5 a: `# s) a0 m. y+ L* g1 _
  1875. ; http://php.net/soap.wsdl-cache-ttl
    " q) f2 w& f' J% c( `, l3 U
  1876. soap.wsdl_cache_ttl=86400- }+ ^0 |  P# o" K8 Y

  1877. 8 `$ b- [9 x3 y+ E
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    ; _3 K: L+ Z6 D: z1 ?" |+ y
  1879. soap.wsdl_cache_limit = 5# [, K1 q5 p& I6 O+ h! Y
  1880. 9 L6 Y4 z9 u8 N. r1 y
  1881. [sysvshm]
      L8 c% b. `5 [* X
  1882. ; A default size of the shared memory segment
    & }  n9 y1 j2 z6 t7 m1 v4 L, C
  1883. ;sysvshm.init_mem = 10000
    6 J7 ~: o8 |" b# w
  1884. - f1 f( u; Q; w7 }7 I
  1885. [ldap]
    : i" u! E& ?3 Z+ j% F
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    : A+ V7 ~) B! E+ q2 r8 y  {
  1887. ldap.max_links = -1$ @' r, n+ _  T! I! f+ D

  1888. 8 W1 D( Z; o0 X3 m* K: a  w
  1889. [mcrypt]
    , _, V5 {! F* i7 j
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    5 m$ g# g9 A& H6 p

  1891. & m) x2 D) {. b; ?, E8 i
  1892. ; Directory where to load mcrypt algorithms
    0 c, v+ Y+ F' }! Z7 G
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    % ~% H! F0 v" C8 ^/ l" Z/ d7 Q
  1894. ;mcrypt.algorithms_dir=
    ' e1 U* U  _' u' F0 t: B

  1895. " v* X' y+ e" P; t
  1896. ; Directory where to load mcrypt modes3 Y( R1 l8 V; v/ a) V$ u
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)0 k5 S- [3 O0 y8 j& ~) z
  1898. ;mcrypt.modes_dir=2 `5 z8 p, R6 m- a
  1899. ) m& R6 A  z) f' j7 h8 y$ r. g
  1900. [dba]- n- [5 q! S" a2 z0 I" o8 ]( J
  1901. ;dba.default_handler=: x+ L  u7 O  b+ T0 U) ~6 Y

  1902. 6 k, k+ A8 D7 T) j  [
  1903. [opcache]
    $ o! S2 d7 R2 v! `5 h4 d) w
  1904. ; Determines if Zend OPCache is enabled: r1 E6 L* I" ]# W3 r
  1905. ;opcache.enable=0
    ' t) x$ {: B+ r1 C
  1906. 6 Y6 c6 @5 [/ D3 @) j2 _
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    ; e* ]6 X' x$ I) w( a+ k' J
  1908. ;opcache.enable_cli=0
    " S, C" B4 j# ?: O
  1909. 6 Y) Y- k7 u: j4 o
  1910. ; The OPcache shared memory storage size.% P  ]9 O6 D4 `6 j( n
  1911. ;opcache.memory_consumption=64
    3 U3 m! M9 v0 F, A1 n5 ^0 r+ x
  1912. $ c- @6 {5 K/ E6 P! y
  1913. ; The amount of memory for interned strings in Mbytes.
      Q5 X' \2 J8 C
  1914. ;opcache.interned_strings_buffer=4
    6 h* I  j7 c' @* o
  1915. / `1 v6 }' f- e! U
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.  p2 s+ s  C, o7 g: Y7 m
  1917. ; Only numbers between 200 and 100000 are allowed.
    + T9 @: S( a* L/ o
  1918. ;opcache.max_accelerated_files=20009 K/ U& t; C, o% y7 b  U( B8 K8 ?
  1919. . a) R! _& C9 C. k: B4 l9 o
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    5 k4 c1 I3 O; f6 P5 _8 X# c
  1921. ;opcache.max_wasted_percentage=5  J* V+ b2 K- }9 U$ C

  1922. ' V1 c3 Q; H# y$ H0 z! Q
  1923. ; When this directive is enabled, the OPcache appends the current working
    3 _; s0 j8 p7 E( d" E1 h+ o
  1924. ; directory to the script key, thus eliminating possible collisions between( q7 b  E$ d3 z! P+ r1 F6 k4 O
  1925. ; files with the same name (basename). Disabling the directive improves$ J0 v& A% _1 d8 a
  1926. ; performance, but may break existing applications.8 r0 N# V; U% K' j
  1927. ;opcache.use_cwd=1
    : X% l6 N. f$ V: I2 L0 n
  1928. . |6 r* e: w( c3 E/ e! c. B5 E
  1929. ; When disabled, you must reset the OPcache manually or restart the* c! E, ~8 z9 [) K
  1930. ; webserver for changes to the filesystem to take effect.+ ]6 n/ k5 N7 J3 r0 v9 \7 A$ V# l
  1931. ;opcache.validate_timestamps=1. p0 Y- _# X+ {$ v. |  i$ E9 |

  1932. 7 ~* [. y, W/ m% ?  z  ]5 ^
  1933. ; How often (in seconds) to check file timestamps for changes to the shared1 M' i' [: j4 X* D. w6 V
  1934. ; memory storage allocation. ("1" means validate once per second, but only3 u1 K# [! y8 [1 C$ |. ]
  1935. ; once per request. "0" means always validate)# Q" G2 G* I. C' N$ \2 y
  1936. ;opcache.revalidate_freq=27 O  o. o% ~6 }; \. a. X8 ]: l
  1937. 5 c' K2 B1 D3 Q9 g2 B+ m3 w
  1938. ; Enables or disables file search in include_path optimization( S5 f# ?; L5 o: _9 M$ z
  1939. ;opcache.revalidate_path=02 E2 m: x' Z3 A# K. m/ B! `
  1940. " z' Q1 j2 I) Z+ t& e8 p# ?' f
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the. ~3 `$ H; k- o) _1 {
  1942. ; size of the optimized code.: v9 }+ x* }- B
  1943. ;opcache.save_comments=15 p- H; A: F2 f

  1944. , P3 ]: |2 T) {( z5 l
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"" D8 L! L' \- A( l( c: d; J. l
  1946. ; may be always stored (save_comments=1), but not loaded by applications( A  A+ L; b# G3 U
  1947. ; that don't need them anyway.) B7 N! H8 N& [1 G. {1 k+ x3 D
  1948. ;opcache.load_comments=1
    , D  I2 y1 C/ I  X9 N' S% l! V' l

  1949. * f  o7 F' l- M! c
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    ! |, G1 j  A7 e  o9 s7 x8 I4 ?8 g4 V
  1951. ;opcache.fast_shutdown=0- o5 J2 ~% K  r8 T0 [& D
  1952. & O- S2 Y- {7 }
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    $ Y& m7 |* E) w/ X8 q2 B
  1954. ;opcache.enable_file_override=07 D# j$ ~6 O6 D8 }4 a: {
  1955. 7 p) Y$ A' }) v% u& ^
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache3 c4 l) H" `% Y- P* J3 c% Q
  1957. ; passes* {( b" \4 l# i8 X: Y+ Z
  1958. ;opcache.optimization_level=0xffffffff
    ' v9 l' Z1 {5 r/ D1 H0 p' b5 G# @

  1959. , Z, r  [% u( J) n4 h# W
  1960. ;opcache.inherited_hack=1: t2 x9 y0 I# ^! I
  1961. ;opcache.dups_fix=0
    8 C0 }& Z4 d0 c% d6 S; E
  1962. 4 {$ j- k9 Z  y( W: i
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    1 S* o$ D6 {. H+ o
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    ( L. q" s* K4 O+ d
  1965. ; that should not be accelerated. The file format is to add each filename5 z  j; P6 T1 a7 t1 }. M/ U
  1966. ; to a new line. The filename may be a full path or just a file prefix
    - U# U$ K' y" M6 K8 k9 Z8 f
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www7 s. A' J2 m9 x6 {- `
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    * t+ G( U) L/ m4 m6 z) v
  1969. ;opcache.blacklist_filename=8 `# E% x3 _0 I

  1970. 8 S" j( u( `3 E$ `0 I& G
  1971. ; Allows exclusion of large files from being cached. By default all files
    $ D8 a. @# i  ~; `
  1972. ; are cached.
    % B3 m% A3 j8 y" r
  1973. ;opcache.max_file_size=0* G0 I5 f8 z' D% l& z  w; i- [
  1974. 4 t5 G9 w  U) U& f
  1975. ; Check the cache checksum each N requests., s4 x- r5 w% L5 f( E4 i
  1976. ; The default value of "0" means that the checks are disabled.
    7 C9 c7 }$ `: i- ~. z5 S2 A
  1977. ;opcache.consistency_checks=0& V. ?; V. m, R9 I1 \1 {

  1978. 7 M. c9 E# Q5 P: l1 B3 {, {2 h6 j( f
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    ( u- \. ?  j3 w( J
  1980. ; is not being accessed.
    ( d" h% ?% R. ]( g0 _# G& [
  1981. ;opcache.force_restart_timeout=1806 r* L1 b0 [: ?1 U! l8 f
  1982. 1 G9 r" [9 B% D9 ]3 v5 V
  1983. ; OPcache error_log file name. Empty string assumes "stderr".2 U9 ^7 t! M" w+ I
  1984. ;opcache.error_log=8 O) Z8 r! `, ?6 x$ o9 q

  1985.   y1 y. D+ d+ X! g6 g+ H, v, e
  1986. ; All OPcache errors go to the Web server log.
    # Z/ B5 G$ }2 F4 B
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    3 {. [! J% ~& E. e6 M
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
      o+ a7 @. ~4 \# [! d4 X
  1989. ; debug messages (level 4).
    , @# i+ x8 A& z" ?* o3 w  E9 r
  1990. ;opcache.log_verbosity_level=18 p& v3 r; L5 u
  1991. - f+ K; J4 D. j7 _' M
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    ( K% ^1 |( h& \& n0 i' ?! _' f
  1993. ;opcache.preferred_memory_model=
    * h& W+ q8 ?: \' G3 e7 C& [
  1994. 4 h" j. x  Z' U, ^
  1995. ; Protect the shared memory from unexpected writing during script execution.
    # ~6 ~& A: G% T5 t1 o6 D+ m
  1996. ; Useful for internal debugging only.
    # m7 @/ C( a  w2 n1 D
  1997. ;opcache.protect_memory=03 b/ Z; E/ C5 s& D5 m' m

  1998. # o. q* t9 w0 N- P
  1999. ; Validate cached file permissions.
    2 F$ a" n) r+ }7 ~7 {5 l# u" l
  2000. ; opcache.validate_permission=05 C8 v1 g- m0 A

  2001. 4 R6 J, `; ]" I8 c* F" H" w7 E
  2002. ; Prevent name collisions in chroot'ed environment.
    * Z9 O, F! P/ p! B
  2003. ; opcache.validate_root=09 O. v- `" Z( m1 s

  2004. , F+ y5 H% h" ^. u
  2005. [curl]
    ) E, M; n( g5 B6 B/ n- L
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    0 f4 A1 V& V8 k$ L& ~2 S/ l% l8 s
  2007. ; absolute path.
    + I% Y" _+ l' s! }, B% U8 t/ T
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    . [& x  k) O2 j  }! X5 D, G, \

  2009. * R" d- F# P) K
  2010. [openssl]
    1 a$ H6 o5 i/ y
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem/ U! R  V0 U8 P
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    4 _3 G1 r9 P( S. }3 [
  2013. ; not specify a value for this directive as PHP will attempt to use the
    9 J$ ]/ J' T7 L1 Q) s7 o, }! t
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    ; N% ?. w3 j5 G/ }; }
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context3 O! l' M+ [; `
  2016. ; option.) L; b6 H" L% E& [0 K: J
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    $ O( G) `- v* ?! F  ^8 H
  2018. * H  W6 c% b, A0 R, }9 Y
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    & s1 w3 }  o6 V
  2020. ; directory pointed to by openssl.capath is searched for a suitable! f! P2 S  G: O5 k+ y$ G
  2021. ; certificate. This value must be a correctly hashed certificate directory.4 V( L- q3 v% d% t0 h' H# Z
  2022. ; Most users should not specify a value for this directive as PHP will
    7 N- p) Y+ x% d  W+ B" [3 A& x
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,2 ]5 p0 Z5 |/ {" }6 P7 g% R
  2024. ; this value may still be overridden on a per-stream basis via the "capath"( T8 T7 @4 {; i1 d3 F* ?# ^; v* E
  2025. ; SSL stream context option.+ G' \" {9 m/ e! N
  2026. ;openssl.capath=9 R8 j/ m5 Y; c% B1 a

  2027. ( `, x  m- \1 M" c
  2028. ; Local Variables:
    9 l. |9 z* S- ^' h4 W" R
  2029. ; tab-width: 4& D/ M' \8 W" X" D, P  g
  2030. ; End:7 [" V( e* |& r" i

  2031. 8 z6 R& @$ M7 ~4 B
  2032. ;eaccelerator
    - c6 F: N, e. |! b1 @" c

  2033. ' h! Y, l; N/ g# {
  2034. ;ionCube
    + v' A- U( J& c$ |

  2035. ( A9 E4 c  t8 D* Z- e6 T, J$ i
  2036. ;opcache
    5 n4 c) v4 e* E2 |$ d

  2037. + }2 ~! ?3 f2 Q" U
  2038. [Zend ZendGuard Loader]
    * W8 d1 n# x9 l' d
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so7 A( ^; f1 _; z
  2040. zend_loader.enable=1
    ) K6 L8 t) j1 n# S: d5 {; }
  2041. zend_loader.disable_licensing=02 p9 \1 r1 |- v: T
  2042. zend_loader.obfuscation_level_support=3! F2 j) C2 m, ?) @' a+ I$ {4 ?' Y
  2043. zend_loader.license_path=
    * q& G- s" `7 q/ _4 P5 S) T+ {
  2044. 0 Z* H8 Y# y1 k/ w+ R& T
  2045. ;xcache
    4 O8 J" V6 R9 G2 L# W! F) |8 F
  2046.   n( O8 D- Q" V9 i; L) d/ H
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/818146929 M2 r  P6 U1 Z+ |% i, u
8 f' u$ v7 [) y5 i* O- W7 r$ E

  j% B% N& k7 w+ E6 M. H( ODiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,1 w4 F# b' a) B' Q4 s

5 ^1 _8 K$ w, c6 X$ ~Discuz!程序版本选择:8 W) N, y6 l, P1 z% t% K3 f- t
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,- S7 H4 ~3 C2 s+ `
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
: N% \, Y8 u6 h7 j: YDiscuz!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。
; T+ M- |3 t$ J- |8 z! d, i: G! G! u3 O9 x' P6 L" U0 E1 a! g# X
Discuz!插件模板版本选择:" y% k3 [+ k' G8 o* ]3 [
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
( e( P9 d# s- j8 {" v% c/ u. _针对这个问题做个统一的普及:& [9 a& A. M" B7 f, w% Y
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。$ Z' G& w8 M6 J7 }1 o4 Z9 y- u9 {+ c

$ p* E3 X: m; j9 e$ P6 u( G; L所以
+ K) ?: z( O& ?$ G3 ]适合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的二级域名。
0 N9 G& q3 G; R打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
! h) g4 N! A8 E) x% B% A5 A注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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