分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0# ]. V& x) U7 C: X) B+ y
2 i5 ^" s# Z4 r
  1. [PHP]" W1 j$ }: U6 O! d9 ?

  2. 4 w% v  T) k/ Y* a
  3. ;;;;;;;;;;;;;;;;;;;2 m4 r# T: P5 r4 c
  4. ; About php.ini   ;1 D, U" R3 I2 |3 `5 j
  5. ;;;;;;;;;;;;;;;;;;;* S+ v7 \5 `/ p1 l& c6 @$ j
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    8 Y% y# D" B7 J
  7. ; configuring many of the aspects of PHP's behavior.
    $ E+ A, E5 C" H/ R& z7 S6 m
  8. 7 z& ]/ X( K( `% t) h2 [  ~
  9. ; PHP attempts to find and load this configuration from a number of locations.! _* q  f  H( T
  10. ; The following is a summary of its search order:' t) `7 H/ S0 m( W
  11. ; 1. SAPI module specific location.
    % y2 c! u2 g7 ?% }0 _$ [
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    3 n- S# ^7 i/ X! F& t
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)- w" D$ `! L, d0 P- p0 C
  14. ; 4. Current working directory (except CLI)1 U/ s: j( C) }& V
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    8 V/ k6 O& c" G) d+ |. B. E6 R
  16. ; (otherwise in Windows)2 I0 F* q( e7 i' c
  17. ; 6. The directory from the --with-config-file-path compile time option, or the8 D8 Z* }6 K0 C2 Q  K( W& X
  18. ; Windows directory (C:\windows or C:\winnt)1 \* [! e. a% ?# @; L" V9 I
  19. ; See the PHP docs for more specific information.
    ' c/ }; N1 P5 g) ?: R* r0 `
  20. ; http://php.net/configuration.file
    ( ?6 c0 T/ o7 U6 p. A( T$ c
  21. : g$ V1 x; H7 q9 J' _% T8 g
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    9 Z' n. F- g) |; D  S& r
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).1 @$ J3 L/ {% ?' Q
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    ! b' P! j1 T9 Q0 m3 d
  25. ; they might mean something in the future.
    3 h0 g4 u/ _" L- o
  26. $ \6 _% }4 {! @' `9 M6 e
  27. ; Directives following the section heading [PATH=/www/mysite] only, @4 S; V# M9 B* a5 r" l
  28. ; apply to PHP files in the /www/mysite directory.  Directives- C2 T, w: Z2 v1 B) _; U
  29. ; following the section heading [HOST=www.example.com] only apply to& R# e* T+ Z  f- f9 t
  30. ; PHP files served from www.example.com.  Directives set in these& q! _4 U+ w8 B. Y
  31. ; special sections cannot be overridden by user-defined INI files or
    ( D+ k7 p* b4 c
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
      I; B( x, n* k; k' O1 [. N: d( d
  33. ; CGI/FastCGI.
    ) S; v  ~) @: Q% Q1 K! g
  34. ; http://php.net/ini.sections
    0 s5 J% C+ Q# t9 V8 J9 E+ V
  35. . I& o. A, k2 P5 T* t7 [
  36. ; Directives are specified using the following syntax:
    / y, I. E, `) @& B1 Y5 w
  37. ; directive = value
    # S# Z4 \& m$ `- A$ U
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    : q9 B/ W! f+ K1 m( m* y' ~0 U6 ?
  39. ; Directives are variables used to configure PHP or PHP extensions.
    $ I) |( d7 q" T. q# G7 ]5 U% X2 ^
  40. ; There is no name validation.  If PHP can't find an expected
    9 Q4 f* c, ~) s! X* _& z9 v  Q
  41. ; directive because it is not set or is mistyped, a default value will be used.
    ' A5 C4 e+ v/ g1 m

  42. ; _2 Z( r0 X, f! c6 F6 V& e
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    ' D1 j& }6 L* @0 m
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression4 {! o5 j: L* N; S( p
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a  y6 q9 a& i' x3 w
  46. ; previously set variable or directive (e.g. ${foo})7 j+ @+ C( s9 i( f3 _
  47. ; D8 F  q3 ~# t
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:" q: Y6 O; N% F* g$ W, F" T& a
  49. ; |  bitwise OR' o: G* e* Y& B, ?( a# d% |
  50. ; ^  bitwise XOR
    $ x3 j* A9 H# V* n2 r0 V
  51. ; &  bitwise AND" O* u# a2 v8 m
  52. ; ~  bitwise NOT& u6 n0 g# I* n' h" R1 y
  53. ; !  boolean NOT
    4 G1 G1 ]2 f" d4 \: f! |# G

  54.   R/ B% e9 _- D# z9 D
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    3 \6 L* F  j9 q1 I) K
  56. ; They can be turned off using the values 0, Off, False or No.
    ) u" c1 c. r" ]) T1 X0 u5 n
  57. ! ^. z$ s# w; E/ A" \. k" `
  58. ; An empty string can be denoted by simply not writing anything after the equal2 }  t* T$ Y. k! U! j8 D2 }# H/ M
  59. ; sign, or by using the None keyword:6 V$ z/ ^+ q2 K) \* I: U
  60. , q" s1 J: [/ E! a9 t* A
  61. ;  foo =         ; sets foo to an empty string
    $ n2 A. T# C- ?3 o; S7 s( u
  62. ;  foo = None    ; sets foo to an empty string6 j* g3 }  m7 Q+ a  X, m+ f
  63. ;  foo = "None"  ; sets foo to the string 'None'6 Z2 k/ k# {$ ?7 `% x5 p
  64. 6 W2 z3 n# d. N4 E
  65. ; If you use constants in your value, and these constants belong to a3 y& V. l. b% q1 ~5 `3 x6 O
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),2 C1 w5 S' P. f) M  I& z5 T
  67. ; you may only use these constants *after* the line that loads the extension.1 v" e8 w0 `2 e9 q5 }7 ?' Z7 ~

  68. ; Z) c# I+ p! D. @
  69. ;;;;;;;;;;;;;;;;;;;/ O6 }- J! V% {: y+ [3 W$ l
  70. ; About this file ;& t" x/ @% e+ N/ z& ]4 Z
  71. ;;;;;;;;;;;;;;;;;;;
    6 ~' `9 N9 s, Y( x6 Q) D
  72. ; PHP comes packaged with two INI files. One that is recommended to be used7 H3 z; G- P3 F9 h3 r+ Y+ J* A/ q
  73. ; in production environments and one that is recommended to be used in7 I+ c4 F/ D  h$ w
  74. ; development environments.7 a& T- M. s/ x# X+ u6 _
  75. ( e- w. {9 S% S/ O9 v3 ^2 X( O% F
  76. ; php.ini-production contains settings which hold security, performance and
    ! K; h1 W5 F3 A5 J
  77. ; best practices at its core. But please be aware, these settings may break8 Y! Q) ]$ `& C' ]* i' ~
  78. ; compatibility with older or less security conscience applications. We
    * X1 C1 M- d8 a& P- A, u! S& r  G
  79. ; recommending using the production ini in production and testing environments.- k. t0 ~5 D. [2 H

  80. : ~8 ~8 z1 j6 s1 T) t' R; |$ r& x
  81. ; php.ini-development is very similar to its production variant, except it is; ?" T- w5 n) Y; d2 i8 B% Q. r) l6 D5 [
  82. ; much more verbose when it comes to errors. We recommend using the
    8 r0 n/ M7 H/ t6 z, f
  83. ; development version only in development environments, as errors shown to
    : l# j1 B2 H1 B
  84. ; application users can inadvertently leak otherwise secure information.* ]% k. w" D  n* Z5 b! K

  85. 0 w' P4 b+ O0 ^: S) r: I
  86. ; This is php.ini-production INI file.8 h# x; e4 ?" T. o3 V
  87. ! B& M6 U3 R$ [' v7 a. S
  88. ;;;;;;;;;;;;;;;;;;;/ ?' t1 y' I0 s- S. m
  89. ; Quick Reference ;# d/ ~( F9 ]! X* ?+ |
  90. ;;;;;;;;;;;;;;;;;;;# A7 P9 I  T* a5 j/ c5 l
  91. ; The following are all the settings which are different in either the production  `9 S9 _) P. m; c5 ^0 [, x
  92. ; or development versions of the INIs with respect to PHP's default behavior.; ]9 n! m. n& Z" I( F
  93. ; Please see the actual settings later in the document for more details as to why" r- r0 ^9 T7 a
  94. ; we recommend these changes in PHP's behavior.# Z4 M6 g8 s( d; C( g0 h/ U# b& x- \

  95. * e) {; r3 |# G) S
  96. ; display_errors; O) [% m% [7 j* ?  S" ?9 r. h
  97. ;   Default Value: On% x* \4 O  X, f6 @
  98. ;   Development Value: On# w/ J9 T) j+ g' O3 k5 H; Q
  99. ;   Production Value: Off) k- D: L4 r" C/ }

  100. - X$ e5 Z# D' G# g& W& N' b
  101. ; display_startup_errors+ _0 J9 v8 E( b; K
  102. ;   Default Value: Off( M2 c" W- q1 o
  103. ;   Development Value: On
    , q( Z! @4 X$ [; \
  104. ;   Production Value: Off
    & [; o; _  f! P$ c+ L: P

  105. 0 L& Y( U- E, ~" o' A" l
  106. ; error_reporting
    - X9 N1 e5 @1 D
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED9 I/ s% \4 n, u% B7 Z) A
  108. ;   Development Value: E_ALL  A0 {" g" b5 ?& `1 W, A. a6 q
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    " c/ g# x: m9 W  t

  110. " ^7 Q0 M- f4 W( M2 F. k" c
  111. ; html_errors, {! |" j" L9 L1 O  K$ O; r
  112. ;   Default Value: On8 y& `  q# g" s# l
  113. ;   Development Value: On  J4 D: [7 ?4 S5 J5 Q/ |
  114. ;   Production value: On- X1 I: X' V# e+ h1 A

  115. 3 Q( O$ G8 B9 ~+ O" @1 s
  116. ; log_errors+ A- Y, U6 o# r' A! X; s) _
  117. ;   Default Value: Off; D; i" u: d' U& u( t
  118. ;   Development Value: On$ W+ d# K3 H( g( D
  119. ;   Production Value: On
    : G' @3 F* N7 \8 [

  120. 9 N( V9 w; n5 C9 t
  121. ; max_input_time0 n1 ?. v5 M3 m  I
  122. ;   Default Value: -1 (Unlimited)) b, E+ h% K' N# u# k4 C
  123. ;   Development Value: 60 (60 seconds)
    0 q' m$ L# [# l* r/ U2 `: J+ X
  124. ;   Production Value: 60 (60 seconds)" s( M+ i$ X! ]; ^; u
  125. / e, s5 O5 s. k- r1 l- F. W) Z9 L
  126. ; output_buffering6 {& C' Y7 F6 h3 {2 U5 s# s" N
  127. ;   Default Value: Off
    9 m0 }& h. j$ `
  128. ;   Development Value: 4096- i* W9 n; @8 k8 Y$ \. x0 |" y
  129. ;   Production Value: 4096, ~4 m. b0 M3 p$ m, f& a$ u

  130. + X3 r, t0 m  o1 _
  131. ; register_argc_argv/ B9 k/ |* n+ r; R" T4 f/ @
  132. ;   Default Value: On
    4 U, C; K  _0 u. t5 O6 X% ]: E6 w
  133. ;   Development Value: Off4 X  a# f+ M# y$ H
  134. ;   Production Value: Off
    ; g  j. |7 E# V3 U5 P+ R
  135.   K$ d, x5 B! ~" n
  136. ; request_order( ]3 \" h6 A3 y0 H
  137. ;   Default Value: None1 o; B# |0 \$ P, @
  138. ;   Development Value: "GP"
    8 N3 s. r  @! Z
  139. ;   Production Value: "GP"! ~. N) t' ~; n0 V' y4 j
  140. 6 }$ G1 o9 W& I. ?" e7 [
  141. ; session.gc_divisor4 D2 g: \/ k5 J! s1 g/ i8 m
  142. ;   Default Value: 100
    ) V% G- c8 J" O$ ]' L
  143. ;   Development Value: 10006 z  m1 N  L, J7 T1 K! _
  144. ;   Production Value: 1000
    ! \8 N' O* `7 ?  w6 R
  145. ; t! W. f& X6 e9 ^
  146. ; session.hash_bits_per_character4 p: L9 [9 H. Q8 p; ?( E
  147. ;   Default Value: 4
    7 Q6 |* j/ o8 A  X2 k) A& x0 p
  148. ;   Development Value: 5
    7 z3 @7 h% O& C; Q' L9 s
  149. ;   Production Value: 5
    ; M* j* c! S; ^( r

  150. $ T3 l: S5 l+ b, W
  151. ; short_open_tag
    ' k. z: Q* i+ {  Q* o' f" b& ^
  152. ;   Default Value: On3 ^9 p8 g+ y8 P+ B1 G
  153. ;   Development Value: Off
    + O; u- R4 I' E/ E
  154. ;   Production Value: Off
    . p% t5 W; u6 \# |* ^! a$ m/ d
  155. . |) ]% I# _5 [( ~! j! |/ u2 a
  156. ; track_errors
    & J9 ^) d! I' E5 I
  157. ;   Default Value: Off- j: E- ^9 D* g0 A+ o, T: i  X. @
  158. ;   Development Value: On* k! j# @- O- R1 @4 i% a# e
  159. ;   Production Value: Off5 M: Q* @% T# u2 v# s

  160. # R' z, i9 `! `( K' V0 f  l  X
  161. ; url_rewriter.tags
    9 z) |! d7 n3 W0 C& a" g- g
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="' ~# ^* m( U0 m1 ~
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    & S" g+ o7 K5 \7 O7 p
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"0 |2 M! U( j5 B5 v) k
  165. 6 x% T5 H& f( M: Z6 s4 e1 g) @
  166. ; variables_order# L5 g# S0 x' z& K1 G4 x& u
  167. ;   Default Value: "EGPCS"9 @% U" x4 H$ O1 L. ]. I2 u
  168. ;   Development Value: "GPCS"
    / X* Z! y6 }% D' x+ Q9 G9 c
  169. ;   Production Value: "GPCS"& ?0 c3 t' R4 E7 _) z5 q' e- q$ x  g
  170. + Z" z7 z; X1 G; U
  171. ;;;;;;;;;;;;;;;;;;;;* E8 [& Z4 P, E& Y# S6 w% `9 x: F
  172. ; php.ini Options  ;. ?  F2 g0 b+ C4 x0 p9 {
  173. ;;;;;;;;;;;;;;;;;;;;
    / c4 ?0 ^0 Q* @, D9 ~  b# t
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    + |1 N* z4 g4 X3 \% @* S
  175. ;user_ini.filename = ".user.ini"
    7 B6 V- R8 N5 g' Z( Q0 g6 B- ~
  176. ( _; z' B" w% l2 c. X" R
  177. ; To disable this feature set this option to empty value; t5 D2 x8 S& u
  178. ;user_ini.filename =
    " d/ n% h1 J8 J( F& o
  179. & P( O9 A% `1 T9 ~% h4 r- ]) N0 |8 G
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    $ y8 U* H5 h+ q( U7 Y: i8 P: V/ c$ z
  181. ;user_ini.cache_ttl = 300, ?6 p* ?0 w% V% n: [
  182. - t# C# k0 J* q4 T
  183. ;;;;;;;;;;;;;;;;;;;;7 L1 P' G' `" E
  184. ; Language Options ;
    % h3 t" J' A. o
  185. ;;;;;;;;;;;;;;;;;;;;6 D4 ~8 }2 {+ b. p! t2 X

  186. 6 Z5 }3 z# N) t. Z; q  h
  187. ; Enable the PHP scripting language engine under Apache.7 l/ P( S+ N6 E
  188. ; http://php.net/engine
    $ M7 ^* z0 j" Y6 k  D
  189. engine = On) I: o$ Q7 u1 `1 }! `

  190. ! {0 H! t4 w  _6 N9 f- V
  191. ; This directive determines whether or not PHP will recognize code between
    # F' Z# @2 _7 ^
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    % v7 q  O% d/ \  K& Z
  193. ; generally recommended that <?php and ?> should be used and that this feature
    - L( }; B/ ^3 E$ P
  194. ; should be disabled, as enabling it may result in issues when generating XML
    9 p6 S% i! E8 @& e( b5 U
  195. ; documents, however this remains supported for backward compatibility reasons.; y$ x1 S9 W: L+ e5 }" J  k$ ~! E# T# K9 l
  196. ; Note that this directive does not control the <?= shorthand tag, which can be0 @" |$ g6 H, b9 }; R" q
  197. ; used regardless of this directive., ~4 [* S9 o, V
  198. ; Default Value: On
    - V- c0 ]" J3 B8 p, _
  199. ; Development Value: Off  Y! u* t  }6 h( t7 s# c7 H+ p
  200. ; Production Value: Off
    # M2 t: _* e% ~: a1 D7 e
  201. ; http://php.net/short-open-tag# B! x3 j1 u. J$ m
  202. short_open_tag = On
    ; a( L/ O& Q: f. Q7 q8 s5 O
  203. , q7 C  z: y7 ]. t" |
  204. ; The number of significant digits displayed in floating point numbers.$ _. x2 I+ u# p9 A& e4 Y
  205. ; http://php.net/precision' J* I5 N) `0 K% a7 B
  206. precision = 149 ^( {+ p1 f* ^

  207. + L4 D9 i+ g, i$ u8 i9 w2 v3 t
  208. ; Output buffering is a mechanism for controlling how much output data2 H( s) s! D2 T
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that) b' Q$ _% b6 |5 X  j0 e, `
  210. ; data to the client. If your application's output exceeds this setting, PHP' E, ?6 v1 c7 v; z
  211. ; will send that data in chunks of roughly the size you specify.3 `/ K3 t9 ~0 T6 j* C4 H6 r
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    2 b; X+ G, H! M- I& _
  213. ; interesting side-effects depending on your application and web server.: a6 x$ M! |: j4 @5 Z& h
  214. ; You may be able to send headers and cookies after you've already sent output$ ]& N( u2 M6 ]1 V; Z' s2 U
  215. ; through print or echo. You also may see performance benefits if your server is8 J1 t1 }! I+ s/ |
  216. ; emitting less packets due to buffered output versus PHP streaming the output* _: g/ m/ E4 T0 w+ b0 x8 }8 M% w
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance% j/ v, l+ p, @  S2 |
  218. ; reasons.0 d% h5 P2 X2 t# _; b
  219. ; Note: Output buffering can also be controlled via Output Buffering Control( {4 ]% ?& P! t5 P
  220. ;   functions.
    ( r  _0 s% e* L% Z* z' J, {3 P
  221. ; Possible Values:4 }% I3 ?1 w3 g$ [& M
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)$ j- o! J* E- ^! P* T, A4 ~
  223. ;   Off = Disabled
    4 M8 p- D- K1 k( T/ N
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.6 _3 u' ~0 ~& m4 E% l' y
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ! x" v& J7 T& z/ V% R& s
  226. ; Default Value: Off8 P+ ~" w: S0 M* i# z4 Z
  227. ; Development Value: 4096
    - s% n, P- v1 e. c* L3 \( ?8 Z  _* l
  228. ; Production Value: 4096
    9 S3 k- x* y9 A1 g7 `; ^
  229. ; http://php.net/output-buffering
    ) m" f8 Y9 h& }; p1 x0 ^$ {
  230. output_buffering = 4096
    , I8 Y# u8 J$ H; q# ?  y
  231. / _; \& o4 o, H2 u
  232. ; You can redirect all of the output of your scripts to a function.  For
    # `# W4 ?9 z$ ?( J' ?5 i( x8 l
  233. ; example, if you set output_handler to "mb_output_handler", character
    # x) D7 j  C) G
  234. ; encoding will be transparently converted to the specified encoding.) B" L( ~7 P- U8 N' G
  235. ; Setting any output handler automatically turns on output buffering.
    1 E8 j& a6 ?* B# C. o
  236. ; Note: People who wrote portable scripts should not depend on this ini
    , ?: ~3 }# g2 `/ L# N$ g: H
  237. ;   directive. Instead, explicitly set the output handler using ob_start().5 S' B. Q5 |. ~) _
  238. ;   Using this ini directive may cause problems unless you know what script
    ' }* }1 f: Y. E; p) ~) {
  239. ;   is doing.
    , I* e& j5 |  G, y4 i7 [4 p' R
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler") z9 ^6 G' t& l/ g" d& W
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".1 G4 E! q  V( I, ^3 s0 {3 a
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    ) y/ x& F1 j* d! D3 y% s- u
  243. ;   Instead you must use zlib.output_handler.. k0 M. g. P' S, Y% Y
  244. ; http://php.net/output-handler
    8 B& P5 c& ]$ Q/ W* Q( a: E- @
  245. ;output_handler =
    4 r1 F6 D! ]/ |) {& v* P; u' ~: [

  246. 4 S5 E' A; r% M' J' O5 o( ?
  247. ; Transparent output compression using the zlib library3 Q6 `; O1 O" k; Y- N
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size; L8 ]$ S. l; U0 O% z& E
  249. ; to be used for compression (default is 4KB)9 f  I$ R: F8 J$ q, s0 C5 t
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    2 @# ~3 b0 O9 {! z1 K
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    3 h9 {0 F; W- K
  252. ;   compression. If you prefer a larger chunk size for better: I$ @; ]4 J' y' l
  253. ;   performance, enable output_buffering in addition.3 W& C: i, r: D2 ?. x
  254. ; Note: You need to use zlib.output_handler instead of the standard& j, \/ G2 J7 I
  255. ;   output_handler, or otherwise the output will be corrupted.9 O" K) x$ e: M
  256. ; http://php.net/zlib.output-compression
    ; k* r& ?; I% {' k
  257. zlib.output_compression = Off
    2 q- \+ N! f" t5 S+ K7 k( ]
  258. # @, e' x% R6 W+ r5 H& }2 q
  259. ; http://php.net/zlib.output-compression-level/ O( ~8 V" e" `+ V: l+ }- t9 ?6 x
  260. ;zlib.output_compression_level = -1
    1 |. f3 D' L% ?: Z9 ~1 g

  261. 9 J) J2 c3 H2 v, b& h' h
  262. ; You cannot specify additional output handlers if zlib.output_compression
      ^  I. g* L, }7 N7 p8 [& V# ]/ Q
  263. ; is activated here. This setting does the same as output_handler but in: j& p% V6 \" q9 M* R
  264. ; a different order.- R& Q* E- ^1 f1 O2 ?
  265. ; http://php.net/zlib.output-handler5 L4 `. T2 a- x5 h
  266. ;zlib.output_handler =
    ; ], u3 ]1 G! h& M

  267. 1 W& L1 n. Z1 w: `8 y, d9 F
  268. ; Implicit flush tells PHP to tell the output layer to flush itself
    , s2 e+ h3 ^* e4 a+ v; W2 c8 D
  269. ; automatically after every output block.  This is equivalent to calling the
    - c: D, Q6 E: }0 `" F
  270. ; PHP function flush() after each and every call to print() or echo() and each
    . b$ W& ^3 z9 k: p
  271. ; and every HTML block.  Turning this option on has serious performance! d' q7 p) R1 G1 |
  272. ; implications and is generally recommended for debugging purposes only.
    - V/ L( U# ~( H0 r  n9 ?5 V2 x- x
  273. ; http://php.net/implicit-flush
    + n! ?4 g+ }& p8 w) c, k
  274. ; Note: This directive is hardcoded to On for the CLI SAPI0 c8 V8 y& y" z8 u: N; [1 S: |
  275. implicit_flush = Off
    ; O" N' ?4 V4 ^7 S- M

  276. 7 h2 S: m. ~. C3 q& S: s
  277. ; The unserialize callback function will be called (with the undefined class'
    3 |. }! [! M8 g; l& g
  278. ; name as parameter), if the unserializer finds an undefined class
    , }) A- c  ^0 X7 ?7 y; P
  279. ; which should be instantiated. A warning appears if the specified function is
    2 u2 z0 p" J) I9 @5 x6 `
  280. ; not defined, or if the function doesn't include/implement the missing class.
    1 V* C$ U+ x4 A
  281. ; So only set this entry, if you really want to implement such a- G5 q: \& w' V/ e5 ?" w/ H
  282. ; callback-function.
    + D; o& @1 _) `9 @' P5 t
  283. unserialize_callback_func =! ?5 k. A- r8 j) |

  284. - b: L( P, L6 j' `5 s+ R6 E* k
  285. ; When floats & doubles are serialized store serialize_precision significant9 ], f$ q" \" X" f) V' j
  286. ; digits after the floating point. The default value ensures that when floats' H! L; z, c/ z1 V$ E; H( V# V
  287. ; are decoded with unserialize, the data will remain the same.
    ( G/ Z' R+ ?7 h- |& D6 o, ~9 Q
  288. serialize_precision = 170 |6 p7 k4 e: w/ A5 z

  289. 9 \0 i; z/ b& V: Q5 K8 [
  290. ; open_basedir, if set, limits all file operations to the defined directory
    * t4 E) {: d% j( E) P9 P! X6 s7 k
  291. ; and below.  This directive makes most sense if used in a per-directory5 y- J- W, q+ N& _$ U7 C2 o$ k$ E
  292. ; or per-virtualhost web server configuration file.
    2 Q: u6 }. A: z3 E* Z' ~7 y: }9 b
  293. ; http://php.net/open-basedir
    # r# v# Z4 B" q' U# m3 J
  294. ;open_basedir =/ ~( |# N! B6 @% e

  295. , z( N2 G" l. c+ I
  296. ; This directive allows you to disable certain functions for security reasons.
    / p& m  S  c2 `  O
  297. ; It receives a comma-delimited list of function names.) s: I) W' ~1 J$ z6 y, D& e5 p- y% m
  298. ; http://php.net/disable-functions  O+ i+ R5 ^3 L6 W" Z
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru) }; V- A' ~9 w5 r) t2 j
  300. , T1 ^; T: x6 Y! c  B
  301. ; This directive allows you to disable certain classes for security reasons.
    ) b/ }$ U2 c  m' C8 O8 ^; Z% n5 Q
  302. ; It receives a comma-delimited list of class names.
    : [5 E# H, D8 n5 E" s& t4 F7 z) _
  303. ; http://php.net/disable-classes
    * [+ s" r" z5 \; B# U- k( \+ {& u2 Z
  304. disable_classes =
    0 }; U& x1 L3 U/ t6 o% f% `1 L

  305. . X1 U  K0 C! O
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in0 |& O& l7 {# s; F1 h+ W6 O
  307. ; <span style="color: ???????"> would work.
    , f  X+ t+ o* G: I% L
  308. ; http://php.net/syntax-highlighting7 s  q# b6 [2 N8 Q+ Y# i0 a: ?
  309. ;highlight.string  = #DD0000' e! ^/ N' r- s
  310. ;highlight.comment = #FF9900
    3 `, x1 ^/ j; r" |2 i: [9 r: E5 H: S
  311. ;highlight.keyword = #007700
    , s6 F' U; {# J& u
  312. ;highlight.default = #0000BB3 t( G9 S% L# S; `% w
  313. ;highlight.html    = #0000003 B7 Y9 L' H; N

  314. * K9 |% g9 \& n* y. Q# d
  315. ; If enabled, the request will be allowed to complete even if the user aborts$ C2 D. p  u1 i1 O
  316. ; the request. Consider enabling it if executing long requests, which may end up6 {  w, ?' X$ ^) v
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior2 `2 M6 ]% i5 F
  318. ; is to disable this feature.( m; p& z, E5 A! L
  319. ; http://php.net/ignore-user-abort' o2 P! D8 |6 B0 n# E0 g9 z
  320. ;ignore_user_abort = On
    $ u" X' @, I: v$ j% a
  321. 7 ~  O9 T1 M4 k* V7 _& W* E
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    ; o( n2 c" T$ i
  323. ; be increased on systems where PHP opens many files to reflect the quantity of1 _- t: n2 p) @, y, k/ j+ m
  324. ; the file operations performed.
      f/ U) q- s- U' k2 o) o8 @1 K
  325. ; http://php.net/realpath-cache-size% w- y' m5 w5 |) u- q
  326. ;realpath_cache_size = 4096k8 Y: U% ?3 a7 h* [2 ]: W7 U. H/ T' L2 k
  327. 1 N1 ?% M" n8 H' Z- t1 {
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    # l7 x4 e) }. d4 r# M6 O
  329. ; file or directory. For systems with rarely changing files, consider increasing this4 m" Y: J( T" n
  330. ; value.
    5 u. ~) J, I% Y7 x) k
  331. ; http://php.net/realpath-cache-ttl$ I4 J1 I) [! M  `
  332. ;realpath_cache_ttl = 120
    * V' Q+ i0 i1 k, Y, u/ N$ e
  333. , G6 c4 h2 w1 k4 i
  334. ; Enables or disables the circular reference collector.# Y% g  m: B3 ~  Y( u
  335. ; http://php.net/zend.enable-gc
    - s) P9 E5 g$ l8 e3 `
  336. zend.enable_gc = On
    + `0 s' f  {0 ^  }7 V6 H

  337. + U. o* D: g' j' {
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    9 H2 e7 ]0 u- |; T3 m  ]7 p- K4 L$ Q
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such- m. U& M7 u1 n1 q' Y: W7 H; `
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    3 z& ?3 v0 [- K+ e4 r$ a
  341. ; Default: Off
    % n$ j+ @4 |0 k5 o) J
  342. ;zend.multibyte = Off
    3 S' O; n7 Z3 D+ _
  343. 8 S0 K- Q, h" W0 U: G+ J' p! I5 ?+ F
  344. ; Allows to set the default encoding for the scripts.  This value will be used2 Z* C( m; i% @; v- k
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.7 G9 l( {. t2 w5 R2 v& }! C3 P
  346. ; Only affects if zend.multibyte is set.
    7 c3 [+ C. \9 h$ C% G0 D3 D
  347. ; Default: ""( s" x% s- R3 v0 N" q
  348. ;zend.script_encoding =
    ) G0 g& A3 P* ^" F+ U* j. j9 g( l
  349. 5 F4 q& S) b( s  X; Q# c
  350. ;;;;;;;;;;;;;;;;;
    * B1 Q4 e6 h  \
  351. ; Miscellaneous ;
    6 p4 {) a" f% k" L. {# i
  352. ;;;;;;;;;;;;;;;;;
    ( O1 q, `: j4 D. @6 I! b

  353. 7 z  j: l6 [% e+ |
  354. ; Decides whether PHP may expose the fact that it is installed on the server, \! I2 O0 J' ~/ y0 Z
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    ! V% A+ W' p: @# w, f- Z. c
  356. ; threat in any way, but it makes it possible to determine whether you use PHP; A2 ^* ]5 k# \& ^1 X! y; A' Y
  357. ; on your server or not.
    / z( Q& O. Y  u# [8 F
  358. ; http://php.net/expose-php9 w" y, \1 t( s; M
  359. expose_php = On
    . ^- U* W- G+ P2 y, D5 t4 {
  360. % i4 z% `% W, P" ?
  361. ;;;;;;;;;;;;;;;;;;;' e2 ~+ _7 X0 z2 W  e' M7 y
  362. ; Resource Limits ;
    ' Z; ?4 i! _: H) s3 P  B, ?4 y
  363. ;;;;;;;;;;;;;;;;;;;9 K2 i8 j- \* o
  364. + {1 g" h! p; B' O
  365. ; Maximum execution time of each script, in seconds$ v1 n% v( c  b" J* b5 Y5 r  w
  366. ; http://php.net/max-execution-time
    7 J1 ~$ T1 Y$ ?0 f0 Z
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    0 L/ n. b6 e$ ~! v
  368. max_execution_time = 300
    # q4 [0 d: d* L) Q; D) F# o
  369. 4 H% B( D: V. S. v3 C
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    , s1 g/ N. L0 a9 l1 t) C; A
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    * q) @% X2 Y( L9 D5 T# u
  372. ; long running scripts.2 \1 E) t2 k8 ^' d/ ]( k8 Y/ p
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    ( S# H$ g+ n% o9 O/ r. a. C# U
  374. ; Default Value: -1 (Unlimited)
    ; y/ x; j* `( G3 {* u( X
  375. ; Development Value: 60 (60 seconds)
    0 n8 k8 U8 a" e( F: _- D* Y
  376. ; Production Value: 60 (60 seconds)9 I1 S7 ^% Z0 {! C
  377. ; http://php.net/max-input-time- O/ R) h5 R9 T! l: x
  378. max_input_time = 60
    & B  l  q, X& p+ l# G
  379. , K3 ^6 j5 t1 A8 z! ^  C# s
  380. ; Maximum input variable nesting level: p+ W" k# @3 g6 _6 ~  n4 j7 H
  381. ; http://php.net/max-input-nesting-level
    8 R8 r$ h9 A9 k* |' `# m; R
  382. ;max_input_nesting_level = 64/ K  Q% V% g6 D1 d9 H0 ?" `; a
  383. $ v: j/ t8 n% F5 j2 R, L% a- I
  384. ; How many GET/POST/COOKIE input variables may be accepted1 Y+ ?* T- c& s
  385. ; max_input_vars = 1000
    . D, b6 i& q/ G8 X/ _

  386. : Y, L+ E* b# b- W7 S; E" G& `
  387. ; Maximum amount of memory a script may consume (128MB)- N# u3 |9 O* E: t4 V) r' @
  388. ; http://php.net/memory-limit7 O# y# [2 N& P7 _
  389. memory_limit = 128M; J: d: k% n5 n$ f6 }
  390. - \" u4 x7 f2 |8 q! O: f( I9 H
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    , |1 t* c$ A, {( C( u3 D
  392. ; Error handling and logging ;$ y' q( B/ [0 b: \; _
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    " L9 ~, b. G; [( u7 _: c

  394. , B" n# F0 |$ Y2 H# d* j
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    7 m) ~" ?8 d9 }, V6 J4 P: y, \% a$ @5 _
  396. ; it to take action for. The recommended way of setting values for this
    0 O" e+ {; M" Q
  397. ; directive is through the use of the error level constants and bitwise! Q1 i4 H' I, G7 a& `
  398. ; operators. The error level constants are below here for convenience as well as! n) a+ T, _6 B/ P& ~& Y  s0 L% T6 ?
  399. ; some common settings and their meanings.+ _4 N0 v- [/ Y; I3 E4 J
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    & W- P- `& l9 c/ l6 U5 S
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and$ u1 F6 H  _& Y" @
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    / X1 X* t6 s/ @. Y; w
  403. ; recommend error reporting setting. Your production server shouldn't be wasting
    ! A4 o  }# F2 Y( o) o! C3 y
  404. ; resources complaining about best practices and coding standards. That's what4 P3 O; \+ a: f1 k+ H- h: p
  405. ; development servers and development settings are for.
    $ a1 O# G- ?# k- w" g& ]
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    8 N' O5 N) F: L# V; [
  407. ; means it pretty much reports everything which is exactly what you want during
    " ]/ ]) q# l7 ?0 L* Q# |3 e
  408. ; development and early testing.3 X3 F) a3 d) z0 u
  409. ;
    6 o( {  j# y+ r: v& f) `) a; ~
  410. ; Error Level Constants:
    ' U% v) ^. ^, F" q
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)# |/ R& v0 l( A! Y+ O
  412. ; E_ERROR           - fatal run-time errors+ f* s$ E' e0 _% I: e2 T
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    / ^- {0 P% `, }2 o6 G
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
      u9 X! p" m% }4 b
  415. ; E_PARSE           - compile-time parse errors
    9 J, ~7 ^: I+ e' J; ?. A" ?
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    . J2 h% {0 c2 J6 L! |7 g
  417. ;                     from a bug in your code, but it's possible that it was
    8 ~" H" X6 w% a! b6 k! X% s
  418. ;                     intentional (e.g., using an uninitialized variable and
    3 p9 {2 O# t' c: {6 ?: z' |1 k
  419. ;                     relying on the fact it is automatically initialized to an
    * ~% r2 ?: C2 \# U1 L+ Q" n
  420. ;                     empty string)7 W3 R7 E2 y# {( S
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes% Z8 o+ L9 o* I, G+ ]
  422. ;                     to your code which will ensure the best interoperability2 l3 S8 Z+ j6 w+ R  {$ w% z2 _
  423. ;                     and forward compatibility of your code
    8 V7 D( A. x/ `8 l: S; q! j; \
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    1 ]8 Y2 c5 ?, d6 e; a9 U* y
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's( x- l: J# q. G2 ?9 f' Q
  426. ;                     initial startup. k8 X' U- o+ F  F- a, u5 G# ^
  427. ; E_COMPILE_ERROR   - fatal compile-time errors5 K* R7 Y( K, Z* Y9 j
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    ) Y: {# J$ C. N- T$ c+ ?* P
  429. ; E_USER_ERROR      - user-generated error message
    8 r8 \. A: A  |4 d
  430. ; E_USER_WARNING    - user-generated warning message
    2 a- h1 G* Y) Q4 H) ?, F9 n9 ?
  431. ; E_USER_NOTICE     - user-generated notice message
    $ `$ [4 s% M  Y. v2 l* }
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    0 W* ~+ Z, b" y0 K4 F& i
  433. ;                     of PHP
    . H6 [9 W) c7 ~4 a% Q
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    5 I! l5 b) d& \  q6 I4 [, H7 A
  435. ;# A7 I4 C  T& I! V0 ]
  436. ; Common Values:, j- L8 e4 I" \3 B# E. p9 H. X
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)7 |/ [2 k6 v/ o, B' ?' k2 N) c
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    9 ^/ U) E+ g" p  M- Y6 S+ x
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    0 y  c% g' I7 Y
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    6 Q7 J3 f8 ~* o/ m9 C  n8 |* Y
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    " T: @* J/ O6 f9 P) ]
  442. ; Development Value: E_ALL6 ?! y; }+ a7 e: a! M4 `- l
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT9 r5 t! x, T7 e( U2 j* a
  444. ; http://php.net/error-reporting% P6 }9 G6 u* O5 w& _1 O
  445. error_reporting = E_ALL & ~E_NOTICE& `3 n4 C; M2 f( S3 i; {

  446. ' R( g7 {+ h0 }6 n# c" A
  447. ; This directive controls whether or not and where PHP will output errors,
    9 L0 q  n: p  F3 K! k
  448. ; notices and warnings too. Error output is very useful during development, but
    3 Q0 q5 Y2 O; v5 f
  449. ; it could be very dangerous in production environments. Depending on the code
    4 r. S. k# {0 B, L
  450. ; which is triggering the error, sensitive information could potentially leak
      o# ]! ~5 G6 I& b; V0 @! w, V
  451. ; out of your application such as database usernames and passwords or worse.
    3 C( h$ Q' |' H" v) ~
  452. ; For production environments, we recommend logging errors rather than7 s' p6 u2 P' q8 N
  453. ; sending them to STDOUT.
    : D# ^! j) K9 }8 _" o
  454. ; Possible Values:9 C9 F) z- z6 P: E9 m. N
  455. ;   Off = Do not display any errors4 Z8 q+ E0 E/ F: T4 [; S, s
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    : e. h7 J$ a0 Y6 R
  457. ;   On or stdout = Display errors to STDOUT
    / }" x  c% a' N+ b; w
  458. ; Default Value: On! y, Y; G3 v! |$ ]1 S; e
  459. ; Development Value: On4 l$ b7 j7 _) S# m& j) H0 p
  460. ; Production Value: Off1 ~% A, @% e  X
  461. ; http://php.net/display-errors. ]; A4 n* u1 r% T
  462. display_errors = On" |+ N9 t: F& }' O* k3 T

  463. 0 m; |" X, @$ A
  464. ; The display of errors which occur during PHP's startup sequence are handled8 s: F2 `" l+ A( @3 c$ Q
  465. ; separately from display_errors. PHP's default behavior is to suppress those8 Y) Z" U7 T; K* ~3 i
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    9 e+ ~- I# k5 a, e* D
  467. ; debugging configuration problems. We strongly recommend you
    . Y0 A! r0 H: t) Y9 ~% e+ Z4 B: Z9 O
  468. ; set this to 'off' for production servers.2 X, j' x* ^% \0 d9 f  ]6 n# `
  469. ; Default Value: Off
    7 v5 w3 c, P* `9 t8 w: Z- _
  470. ; Development Value: On- R4 q  `, f6 V& L  d
  471. ; Production Value: Off
    1 }2 z2 ]) [5 J3 E
  472. ; http://php.net/display-startup-errors( k" f$ q1 O' D& b6 w" X( S
  473. display_startup_errors = Off, l/ \! _1 V2 \# g  U. Y1 L# s5 A

  474. # d- p5 S, Y9 s& \
  475. ; Besides displaying errors, PHP can also log errors to locations such as a" K  C; x. R$ H4 [0 y- u
  476. ; server-specific log, STDERR, or a location specified by the error_log
    & J' J; x6 C. k) ^
  477. ; directive found below. While errors should not be displayed on productions. C; }+ z# m" x; U9 h. T. t; I- r( K
  478. ; servers they should still be monitored and logging is a great way to do that.
    6 j; Y- |: ^0 `+ D& @1 k  |, Y
  479. ; Default Value: Off) m+ V+ D4 d" ~
  480. ; Development Value: On
    . A) M7 p6 C/ X8 s0 p! F
  481. ; Production Value: On
    % l( }5 {7 w, O  B, G* N
  482. ; http://php.net/log-errors
    0 J, m' @8 L$ x  o! C2 L
  483. log_errors = On
    ; Z( ?; T# G9 u9 p. G
  484. 2 |9 N& ]( e! I
  485. ; Set maximum length of log_errors. In error_log information about the source is. R+ J% }2 ^8 I
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    & `4 ~8 ~" G1 M
  487. ; http://php.net/log-errors-max-len: L" K& p6 `4 ^9 @1 }$ Z) S
  488. log_errors_max_len = 1024
    + e8 E1 j3 j! \  O  @0 H& ]: }

  489. & E( I5 L* J' ?; Q( _' Q
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same  \) ^( W  t! ?1 m/ N$ Z8 Y
  491. ; line unless ignore_repeated_source is set true.$ W- u) c# U: Y! j! [4 N* `# ~
  492. ; http://php.net/ignore-repeated-errors
    : k. q# T  b7 m" Q. h( S* C
  493. ignore_repeated_errors = Off( c9 N9 {0 [" T  P! n, P

  494. 8 C8 B/ l5 p; _1 E
  495. ; Ignore source of message when ignoring repeated messages. When this setting) V+ z4 R; ^" J
  496. ; is On you will not log errors with repeated messages from different files or
    $ B5 A+ N6 s& x9 }
  497. ; source lines.- m/ Q8 x2 Q* R
  498. ; http://php.net/ignore-repeated-source
    + a! J) o+ a" N% B7 k
  499. ignore_repeated_source = Off
    + K. H: L' R. Y/ a+ O! X; z5 R, _

  500. # `3 i* [/ S; l* q
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
      ]: `: k3 e7 a! o! N: y+ j
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    8 P/ v$ F. A$ Z* u# I
  503. ; error reporting includes E_WARNING in the allowed list
    + K6 [" m$ `: H( ^
  504. ; http://php.net/report-memleaks' u+ i' y6 m: Q( T# J9 \7 n
  505. report_memleaks = On
    4 Y# W: h, H. {0 C7 d, s
  506. 6 {! f/ ^; t& g0 x
  507. ; This setting is on by default.2 i  m4 O( l' S; A# X( H8 r) A
  508. ;report_zend_debug = 0. Z: _0 S, D, }- ?4 w1 u* g
  509. : ]& n$ C- Q2 K/ H0 r( Q% Y- Q
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value4 p7 a7 U" L8 W5 ~: X8 `) A0 }* ?7 ]) n& l
  511. ; to On can assist in debugging and is appropriate for development servers. It should( h  z6 q) I# l6 F/ W4 w
  512. ; however be disabled on production servers.
    5 q6 S8 D& P) L3 T$ V
  513. ; Default Value: Off0 C, U3 d8 @+ D" X4 z* U
  514. ; Development Value: On, t; s) E2 d/ R' q- ]" c* r
  515. ; Production Value: Off, L& g) u* \; p$ U  ~
  516. ; http://php.net/track-errors$ V0 g( d6 h" A8 G
  517. track_errors = Off
    " G$ o9 k  U/ h* K0 z6 U9 d+ C

  518. # ~  A; d; @$ {" }
  519. ; Turn off normal error reporting and emit XML-RPC error XML& I+ C: J, x' F# |, L
  520. ; http://php.net/xmlrpc-errors
    # G2 y  L9 \$ g% L0 b# d( w
  521. ;xmlrpc_errors = 01 X' K3 l& d: l* h
  522. 2 O/ i: f. @' j& y9 F. ]" I$ g- a
  523. ; An XML-RPC faultCode# P; V0 I- z# K3 H. j. _% j/ l
  524. ;xmlrpc_error_number = 0) ~, i9 Y2 E( E( L+ x9 @8 P

  525. ' l1 Y* l0 ~  p) f% h) b
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    5 Q, O3 f- u# s3 q0 H, _7 Z7 S
  527. ; error message as HTML for easier reading. This directive controls whether
    ) ^- O3 K7 v4 H, p
  528. ; the error message is formatted as HTML or not.
    ; j) T& ^5 }) ]& p) k+ v% _# f
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    # o+ M4 G2 u. {# o+ Q7 ^2 c
  530. ; Default Value: On
    - `& E' ?  Q3 a' X
  531. ; Development Value: On6 P- p: t: }& ]
  532. ; Production value: On
    ; [+ Q3 B$ r' b1 A
  533. ; http://php.net/html-errors1 q' W* F. l4 |
  534. html_errors = On: F' j1 r( V, |& b# d$ l/ L* p8 J

  535. ) D. {, A2 a& Z
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    9 g: [. ]. J6 K8 b
  537. ; produces clickable error messages that direct to a page describing the error9 t/ |) Q* S1 j" X1 X
  538. ; or function causing the error in detail.+ y6 }8 I: Y+ f
  539. ; You can download a copy of the PHP manual from http://php.net/docs9 t" B8 I  H% c6 J5 U( Q; U6 G
  540. ; and change docref_root to the base URL of your local copy including the- W: ]+ n$ o- H2 W5 j
  541. ; leading '/'. You must also specify the file extension being used including
    - i! S( L- R/ n% a. g4 l
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    1 `5 z" `/ I9 _0 r; }8 _$ U
  543. ; case no links to documentation are generated.
    : ?# V" \9 [. ~9 O. I- G
  544. ; Note: Never use this feature for production boxes.
    . \5 A/ [' K( ^+ W  ?. d
  545. ; http://php.net/docref-root
    : ~: W7 f! b) j6 m
  546. ; Examples: T, h6 A, H8 F. @& ~4 G4 Z. |) @
  547. ;docref_root = "/phpmanual/"3 E# I/ Z( S/ D& q8 W- k9 N; \
  548. " G+ s- y1 o1 w% J/ L
  549. ; http://php.net/docref-ext% x$ F0 A% Z/ j9 a9 A' n- w: _
  550. ;docref_ext = .html% s; C# P( c$ o
  551. 4 a# S# [: J# A# B4 a
  552. ; String to output before an error message. PHP's default behavior is to leave* L) X& P/ Q% l1 L  s& d
  553. ; this setting blank.
    $ L' P. m1 X5 H/ w  r1 T
  554. ; http://php.net/error-prepend-string
    ( V3 {; W5 _; b1 _) R2 i  K
  555. ; Example:
    3 Y- h* ~  h8 z
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    * E5 M" `, T9 A  N

  557. ) P% ~4 m7 x0 u
  558. ; String to output after an error message. PHP's default behavior is to leave
    8 `% q3 A9 z  u9 O5 h, `2 e: g
  559. ; this setting blank.& ?# q' m% }5 {2 @* j; m  m: O
  560. ; http://php.net/error-append-string
    + M* c* A9 E3 p+ o3 e+ i
  561. ; Example:
    1 [& y7 @, W' _- N% n3 N" U
  562. ;error_append_string = "</span>"
    / U* z% R8 p  ?* z' Z2 B
  563. / [( t: Z5 I, c3 |3 m2 ~) k: u
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    7 K: ~( s9 @/ O0 s" O3 a6 q# j* C
  565. ; empty.3 E! I! \: s# t, d1 t5 f
  566. ; http://php.net/error-log
    0 O+ V  X5 }" j
  567. ; Example:/ t1 B9 J6 [  F% Y, y- v0 `
  568. ;error_log = php_errors.log* i2 \- y, u$ ?( A- b( L
  569. ; Log errors to syslog (Event Log on Windows)." G; T& w, o! q' M
  570. ;error_log = syslog0 ]$ I* D3 E) `" _4 j% f
  571. . D5 Q, a' y$ \6 z  f* ]  g) Z5 b
  572. ;windows.show_crt_warning2 f2 P8 T; \, t# _' [* A
  573. ; Default value: 07 J. m5 s2 a8 Y* N. j, f& a2 U
  574. ; Development value: 06 s4 }; i8 T# r) C- a" P& u9 z
  575. ; Production value: 0
    ' \3 B/ G6 J2 t: S

  576. 7 p& e% {/ p3 N- H
  577. ;;;;;;;;;;;;;;;;;
    2 G, }# g$ `) l9 P% Q5 R; w% \, f
  578. ; Data Handling ;
    % H" E- v9 n# L" O
  579. ;;;;;;;;;;;;;;;;;
    - B0 S4 R) r! k+ t5 G
  580. 7 a$ P6 d4 r, }: e9 l# n' f* x
  581. ; The separator used in PHP generated URLs to separate arguments.4 r5 F/ V# H# m  L8 g5 X
  582. ; PHP's default setting is "&".
    " f/ H, j" `7 V% I& n
  583. ; http://php.net/arg-separator.output
    2 B. J6 W  O' E+ S7 p6 @( o. L
  584. ; Example:
    ! k: M* M5 n$ _/ [2 l4 l6 \
  585. ;arg_separator.output = "&"* y0 h/ t3 b9 A1 s$ Y1 u
  586. 9 i) [8 f4 [8 v$ k
  587. ; List of separator(s) used by PHP to parse input URLs into variables.* j9 f0 i# n$ ?1 B+ T7 ~
  588. ; PHP's default setting is "&".
    + @( C5 {$ F3 V5 a/ U
  589. ; NOTE: Every character in this directive is considered as separator!
    ' j% Q. e; O/ }3 u+ w) Y3 E/ O
  590. ; http://php.net/arg-separator.input
    4 U. Y8 c1 X+ d- {7 _
  591. ; Example:
    : F% Q" h+ M$ E# X
  592. ;arg_separator.input = ";&"
    + R& H1 A( w" p
  593. 0 L6 D1 v4 b6 d2 i) r. `; z* N- Y
  594. ; This directive determines which super global arrays are registered when PHP( j3 y: k7 L+ J3 }$ x" y  Q- s
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    5 D  e- t) Z+ @3 D* K9 A9 @
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty% t5 I0 z" l3 `( ^
  597. ; paid for the registration of these arrays and because ENV is not as commonly- O8 e, R. y4 E/ n- d/ Y2 F- G
  598. ; used as the others, ENV is not recommended on productions servers. You* _$ l+ v& v5 [) _" J
  599. ; can still get access to the environment variables through getenv() should you
      u$ K( \9 S3 T* P4 d
  600. ; need to.7 n. ?& n1 s- J% f% W$ |% [/ x
  601. ; Default Value: "EGPCS"
    2 \6 Y) ?7 M- q- A* V
  602. ; Development Value: "GPCS"
    . z/ B0 t* c, t/ V4 h0 c1 H
  603. ; Production Value: "GPCS";
    ( v$ T8 E, t" I* j. k
  604. ; http://php.net/variables-order; a3 u8 m3 ?( v* `1 w$ m
  605. variables_order = "GPCS"
    8 W: N+ r- K" `; x: Z7 ]. I

  606. 0 t; \5 l0 V) W) L8 q- g6 U1 m& y
  607. ; This directive determines which super global data (G,P & C) should be2 @" Q6 y$ u+ @
  608. ; registered into the super global array REQUEST. If so, it also determines+ d) g9 z1 `+ x; ]4 K+ k
  609. ; the order in which that data is registered. The values for this directive
    " J* I% v* ?# D& X. t# [
  610. ; are specified in the same manner as the variables_order directive,3 M  j$ r3 R# e
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    - A( k6 C, }) m+ @5 s
  612. ; in the variables_order directive. It does not mean it will leave the super; ~4 k/ c8 p' `# ~
  613. ; globals array REQUEST empty.
    " Y4 v: i8 H% f# z6 S% Q4 I/ f7 Q0 C
  614. ; Default Value: None
    ( C7 Z1 G( ~; p8 x
  615. ; Development Value: "GP"
    0 e1 f0 `. p/ p/ f8 R1 f
  616. ; Production Value: "GP"' V1 ?5 `  }. y8 `
  617. ; http://php.net/request-order
    ( C+ ~4 M$ G% ~& A3 L" Y$ \4 _
  618. request_order = "GP": f1 W) W0 |3 Z5 i. u
  619. # _" ~$ ?* j4 l8 }; m2 C0 \9 m
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    " q' ^% `* p0 u9 s0 ^8 W
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    - Y  _/ B/ Y" t& I
  622. ; is invoked. $argc contains an integer representing the number of arguments+ \- L: i% d# ?/ h1 O6 b
  623. ; that were passed when the script was invoked. These arrays are extremely2 X3 Q0 w9 J' w; U" s  ~
  624. ; useful when running scripts from the command line. When this directive is9 U6 J4 O" X  F- B2 q
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    4 R; j' @7 B7 k2 s# Z" M+ E* w$ [: J6 T% C
  626. ; a script is executed. For performance reasons, this feature should be disabled
    , s/ ?5 ]0 e. ]& U, u& V
  627. ; on production servers.
    7 ]5 q) W/ {; I6 l
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    , U  k3 {: b: H2 N0 c7 J7 A
  629. ; Default Value: On# {! A+ Q) o6 m/ S! v6 I8 A& C
  630. ; Development Value: Off
    % A& L: n6 Q, ~+ n3 R/ k- V
  631. ; Production Value: Off
    4 Q7 w& l7 M& [7 W4 r1 x/ V- t
  632. ; http://php.net/register-argc-argv7 G. D0 v6 N3 S
  633. register_argc_argv = Off
    . u" ~4 L' X8 k# G! \8 N5 l" M7 \

  634. 8 f: Q- j; H  B5 C
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're) B  A! j  h  F. |; X) g) ~7 v* m
  636. ; first used (Just In Time) instead of when the script starts. If these3 ?6 J- `7 o8 V% J7 A: e2 W; H
  637. ; variables are not used within a script, having this directive on will result+ }# R) N) O3 J) g3 o: G
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    # k5 T# j- a; ?
  639. ; for this directive to have any affect.
    : ^: v, z; N* X
  640. ; http://php.net/auto-globals-jit
    # c! |$ L/ C; x9 l
  641. auto_globals_jit = On% H  @0 L& f( A% e& A- }/ _. L! E
  642. ' _8 {; @" r% X5 o5 D3 V* d( ?7 Q
  643. ; Whether PHP will read the POST data.
    # l) n  y7 \' K! T- ^4 x
  644. ; This option is enabled by default.
    8 \- }9 T6 a3 g9 E# o
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST6 h6 \5 K; f5 {, C5 ~
  646. ; and $_FILES to always be empty; the only way you will be able to read the1 Z) @; A" S3 Z- }' ]. P! N
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    8 m) R& p) K2 X0 x, {
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    ; D7 H! r! J3 j4 x6 y
  649. ; http://php.net/enable-post-data-reading7 k# S. c. Y9 a# {* ]( P3 j& V$ X% M) ^
  650. ;enable_post_data_reading = Off; {2 i% s3 V" o

  651. " ~8 q9 L2 U+ |$ E3 J/ M1 ?/ k
  652. ; Maximum size of POST data that PHP will accept.
    9 `" d4 t; k  B, K# c2 J
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading; x) Y$ B) ~( x2 }# }# F
  654. ; is disabled through enable_post_data_reading.- M4 ?2 v( B2 F& S
  655. ; http://php.net/post-max-size- f# q5 G+ h" _
  656. post_max_size = 50M: x) R4 b2 Y$ m' e: `$ I/ w
  657. ; Q- F2 t9 y# N3 J# k$ q
  658. ; Automatically add files before PHP document.
    : }& q+ }9 a( P. `, p" J
  659. ; http://php.net/auto-prepend-file
    9 S! |' S/ S6 m/ e; X
  660. auto_prepend_file =# o% |1 x7 p/ e6 ?
  661. . G3 r- K: j5 v. Z2 p
  662. ; Automatically add files after PHP document.- A9 Y+ k3 Y6 e0 W" C# h( y) n) q
  663. ; http://php.net/auto-append-file
    ! J! c1 y: H7 W
  664. auto_append_file =
    / i% I8 Z; Z/ w5 p! m& k+ m

  665. 4 m; j: a3 e* x' Z3 E
  666. ; By default, PHP will output a media type using the Content-Type header. To
    , ]( f0 r0 c6 x
  667. ; disable this, simply set it to be empty.5 V8 [$ a# Q/ ^3 @( B  }) ]0 ?
  668. ;. ^  h  D6 r" y& B- d/ M7 s
  669. ; PHP's built-in default media type is set to text/html.
    - M7 P/ m! u4 h! n* b+ Y6 t
  670. ; http://php.net/default-mimetype# {' x, U+ s8 ?6 w" }
  671. default_mimetype = "text/html"
    ) c2 f+ L4 ~0 X/ h  s0 d
  672. - c& Q. e" Z; [  M
  673. ; PHP's default character set is set to UTF-8.
    " Y* q  H" _. Y
  674. ; http://php.net/default-charset. K1 n* p2 f( w! z8 [
  675. default_charset = "UTF-8"
    # x7 \3 h) K& F2 T2 o  m
  676. 8 d! k' E% S. h
  677. ; PHP internal character encoding is set to empty.7 D7 \; V- F& i1 F* e4 m( I
  678. ; If empty, default_charset is used.
    - a0 y' o6 q1 N- g  G. A
  679. ; http://php.net/internal-encoding6 p) p* v( Y9 L
  680. ;internal_encoding =: I. V$ A' A/ x9 v& H0 k2 ?; M& ]

  681. ( U. q& a2 S; l( f* |  Z
  682. ; PHP input character encoding is set to empty.
    7 ]5 A' t; l9 Y7 S/ I
  683. ; If empty, default_charset is used.0 Y3 ]5 N1 A& J& `! a7 F
  684. ; http://php.net/input-encoding. J0 t. i  z& }) H
  685. ;input_encoding =
    ( A: B4 S( u' E, a9 Z% n6 B/ v
  686. : F" W/ p/ j3 s) j
  687. ; PHP output character encoding is set to empty.
    ' k& h5 S( G8 X9 ?
  688. ; If empty, default_charset is used.. d, m9 p' l! C- D1 g
  689. ; See also output_buffer./ r+ ?% T' ]+ e
  690. ; http://php.net/output-encoding& |" W4 z% j1 a' v- @& F1 P- A
  691. ;output_encoding =
    7 j4 `$ n3 d* w6 S' y

  692. 5 e9 S- }) ?6 }
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    6 Q9 c) |$ S* o% r9 U4 I
  694. ; Paths and Directories ;" }# W6 V3 t/ s0 }: L$ y
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;) |5 a' b! C( N; ]# P& @

  696. , I. s" c7 i; L8 B6 U( i
  697. ; UNIX: "/path1:/path2"5 [2 B% t0 j0 d9 j/ q6 q6 Z
  698. ;include_path = ".:/php/includes"
    , U% |5 {6 H' p7 R. I4 V& `7 M4 w$ g
  699. ;
    / @5 z) Z1 ^2 H# K& j
  700. ; Windows: "\path1;\path2"
      w- G# E/ U1 Z5 I
  701. ;include_path = ".;c:\php\includes"
    - M4 K( b' `7 V
  702. ;
    0 {9 x( {1 o: ?6 u5 ~" `7 E
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"/ F, h- w9 |4 p. l! K& p5 X0 f6 X
  704. ; http://php.net/include-path8 G9 q0 ?5 B; m. d0 @. U

  705. . h' I6 {) N6 N  S. V9 Y
  706. ; The root of the PHP pages, used only if nonempty.* W3 [" m& S7 ?& w4 K- F, H) m+ v( w
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    3 E  l. @" Y5 L* {
  708. ; if you are running php as a CGI under any web server (other than IIS). B- c- F+ R, s( ^
  709. ; see documentation for security issues.  The alternate is to use the& ~5 M6 x% e* Y$ f
  710. ; cgi.force_redirect configuration below
    $ L# Y# ?# d. Q# S. I5 m
  711. ; http://php.net/doc-root
    . U/ M& C8 o" y: `
  712. doc_root =7 d, a4 ^4 P9 Q# @
  713. , l" D6 X! p8 P
  714. ; The directory under which PHP opens the script using /~username used only
    ( a: ]- b7 L& T: D3 r$ u: u
  715. ; if nonempty./ z$ ]: v5 a: A. |2 }
  716. ; http://php.net/user-dir3 I9 v4 `4 H) `$ f& J( i' }
  717. user_dir =( J& c2 {  X, ~. W  S+ y- d  Q$ O
  718. / F6 h' Q9 s* d3 _
  719. ; Directory in which the loadable extensions (modules) reside.: t$ w# @; {2 @
  720. ; http://php.net/extension-dir
    & r2 L3 D. U3 ]) T9 i* n$ p1 H, O
  721. ; extension_dir = "./", N5 g* g& d; U+ H* O4 S
  722. ; On windows:
    3 x& c" Q3 L8 d8 _0 l8 Y; ~
  723. ; extension_dir = "ext"
    6 \. F/ d) i1 l+ D3 ~5 l8 m
  724. 7 M( Q4 [: I7 W7 _5 N3 R( r: U
  725. ; Directory where the temporary files should be placed.
    2 j; |. |4 \9 C+ K
  726. ; Defaults to the system default (see sys_get_temp_dir)$ ~& M+ ?, o- z& e0 o% R
  727. ; sys_temp_dir = "/tmp"; E7 ^$ r$ L2 z: }+ Y+ n# J! N
  728. + m3 F. F/ X  k; G
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work/ J% B$ f; N1 X
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically5 i4 k/ ?& v7 x3 }& I2 g
  731. ; disabled on them.2 h' e! R4 b" f0 \, R; j& s3 @
  732. ; http://php.net/enable-dl
    ' E% z# C9 _$ W: O1 f/ g
  733. enable_dl = Off
    ; s7 A* h5 E3 Z. l8 [6 I8 m

  734. ( d& R% N9 _. a
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under1 y) t- ^7 {: Z+ H& W
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can. s6 s% S" E" h4 n
  737. ; turn it off here AT YOUR OWN RISK9 X% N7 ~1 X8 c0 k: i/ t
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**1 H, J* V0 [" Z
  739. ; http://php.net/cgi.force-redirect* B9 L$ _. F  q! D& o
  740. ;cgi.force_redirect = 1  Z9 y/ D5 Q+ w+ M( W

  741. 6 D8 \6 j8 f/ [3 k) u/ j9 x9 h5 w
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with0 k$ r6 |; \- w% B- ]3 P9 \
  743. ; every request. PHP's default behavior is to disable this feature.$ L# B+ C$ ?1 r$ u4 j4 O+ I' L
  744. ;cgi.nph = 1
    - b- W) W* ~. u7 v

  745. 9 ], h8 A1 j8 d6 v* W( q
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape4 V* d. _5 q# ?
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP6 J% L: ]4 d3 @. f
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY% o, D7 g+ b3 F/ h) o
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.$ s7 |: W& E( \7 y: A
  750. ; http://php.net/cgi.redirect-status-env
    , T5 T1 H! z1 G  {- y
  751. ;cgi.redirect_status_env =
    9 \, h& N$ I* s) b7 t
  752. 1 B& G) _$ H, b6 Z* D; g0 Q7 `
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    7 ?$ _2 K+ a5 ^" ?
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    0 c" j# x' G/ n; p& _
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting+ @/ R( Z% s" p' b
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    0 v5 g3 ]+ r1 m0 K  ~
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    3 |/ B# C; |3 t! |0 U* @
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    7 |6 a! Q7 B6 F. w! L, o
  759. ; http://php.net/cgi.fix-pathinfo
    , c7 V* N# d9 Q+ q' }) Q
  760. cgi.fix_pathinfo=1
    ; U% J$ o4 g) s# j# @8 a9 ?2 |
  761. 9 x+ C) m& S  N2 S& T' c' V; P' J
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside  w; p7 `* N: {& H
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    ! m& L. R# x% {% a# _: V' N
  764. ; http://php.net/cgi.dicard-path% y6 J& n6 J, l1 e6 e
  765. ;cgi.discard_path=1: P& I$ Z; X9 ?( o( D8 P; T) P

  766. # ^, Q. C  o3 L0 F3 n
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    3 r  v) x' h' Y1 q4 R. d7 m# I$ J
  768. ; security tokens of the calling client.  This allows IIS to define the4 s5 C$ ~% J( M+ r, W
  769. ; security context that the request runs under.  mod_fastcgi under Apache! A7 @( ~2 ?  w: X$ p5 b4 C
  770. ; does not currently support this feature (03/17/2002)1 \) R+ e2 O- l# V/ ~0 ~
  771. ; Set to 1 if running under IIS.  Default is zero.
    ! }0 w& Y& C4 H% ^$ o) `4 R' }
  772. ; http://php.net/fastcgi.impersonate
    8 e1 ^5 F) O. c/ k% B8 \: e
  773. ;fastcgi.impersonate = 1
    ) r2 ?! ~$ @3 h/ J6 D

  774. ; N  H) v" m2 Q+ h9 a8 ?
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    - ?, T9 r4 C* r* l( J
  776. ; this feature.
    + t+ }, m8 U5 W: N+ Y3 f: a6 {. [
  777. ;fastcgi.logging = 0: p! l6 O3 X) M+ n& i5 Q

  778. 8 S+ u, n- |& g$ s
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to; h% H8 b* c5 u# D( p) r& m9 `  u
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that, |/ O8 Q) W  h9 v7 U! L+ ?- k& E
  781. ; is supported by Apache. When this option is set to 1, PHP will send& b9 C4 H+ C0 U- e& U+ a8 q5 N% i
  782. ; RFC2616 compliant header.+ E' s6 j0 N# {5 F
  783. ; Default is zero.) Z1 Q3 n8 d6 e* E1 p
  784. ; http://php.net/cgi.rfc2616-headers: N) P3 C7 g3 p. j6 Q
  785. ;cgi.rfc2616_headers = 0! e2 r+ n4 D, ?4 P+ \( T
  786. : z3 e% I1 b' Q! y2 T- c
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!( j9 G3 W4 u' O4 |
  788. ; (shebang) at the top of the running script. This line might be needed if the
    ; P* c' t! c0 h( r0 P' b
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI  o8 n- s+ y4 q+ s
  790. ; mode skips this line and ignores its content if this directive is turned on.0 W+ e$ D0 z" y8 D& I5 G% |
  791. ; http://php.net/cgi.check-shebang-line( O& b0 y, V( F
  792. ;cgi.check_shebang_line=1
    " S( P* v) ?* Q- }$ _7 C  k$ _- Q

  793. 9 L! E% |% h! x" O8 w/ `, n
  794. ;;;;;;;;;;;;;;;;8 g1 S" |0 }- F8 R% H/ J
  795. ; File Uploads ;6 U0 `1 r, Y+ ~9 e! q' V
  796. ;;;;;;;;;;;;;;;;
    + X; c; s. E8 f& I
  797.   C: J) c) z3 T6 S! W1 H
  798. ; Whether to allow HTTP file uploads.+ f  z) Q7 k- @4 Z! Z
  799. ; http://php.net/file-uploads8 ~# q2 l9 N- |4 z& d
  800. file_uploads = On( b: l/ s) f# @7 u# h

  801. 9 E% U9 y- p5 B) r8 e
  802. ; Temporary directory for HTTP uploaded files (will use system default if not% ?0 ?# E# N( r* Z+ g+ T5 O
  803. ; specified).* W; J4 j8 ?( x' h* q# h/ y; g6 v
  804. ; http://php.net/upload-tmp-dir
    4 h& R1 l7 \2 @; {6 h9 J
  805. ;upload_tmp_dir =- f4 I/ J/ Z3 R. o4 H, X7 L9 y" ]

  806. : P9 T9 s) f+ Q- A
  807. ; Maximum allowed size for uploaded files.! r& ?1 K$ ~$ P* ]0 N0 Y. a
  808. ; http://php.net/upload-max-filesize. e2 V3 b5 W( t# i3 K1 Q5 s
  809. upload_max_filesize = 50M
    & c( b/ U: x. z4 _1 ^

  810. - ^) j6 r! X0 k+ Q! L7 X+ X9 V  C
  811. ; Maximum number of files that can be uploaded via a single request1 r; A/ e$ S% v& p
  812. max_file_uploads = 20: Q4 G9 T( ^% A
  813. : d8 p; c, T' T9 a- L
  814. ;;;;;;;;;;;;;;;;;;
    ' _, l3 T( t; ~" Z0 N4 {1 n
  815. ; Fopen wrappers ;4 |+ p( o: u2 d& m- ~+ d  _# O9 r
  816. ;;;;;;;;;;;;;;;;;;; r. E! g7 S& Z6 C( N  P

  817. 0 ]# v7 i+ x6 b& M# ~4 m7 N
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    8 h1 j7 k# ^% C4 U% h0 O
  819. ; http://php.net/allow-url-fopen
    % E+ D3 A$ V5 b1 L- z
  820. allow_url_fopen = On
      m/ i4 Q; V2 v& |6 M% C4 p
  821. 9 V2 r$ V- g; x6 Y3 R( [. T& }2 ?
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.2 h+ H& U) x5 W, O5 z
  823. ; http://php.net/allow-url-include
    / _* S( @6 e- w& ]
  824. allow_url_include = Off' k+ J: v7 z# H/ K6 D
  825. 1 D- }- E3 b) k( |7 W( K5 |
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    4 X- f# w$ u, d4 b, o. T' g
  827. ; for this is empty.
    % s5 N% M! @! {. m
  828. ; http://php.net/from
    / I" `  {+ P8 U6 X: {0 j6 m
  829. ;from="john@doe.com"
    $ v. [/ |* X( b6 @8 ?8 a
  830. ! [/ L# F( E; q+ p9 I. ?
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    ; X$ n2 q, n' P/ P2 V6 R. w$ D
  832. ; http://php.net/user-agent) j' t8 }: f! n- L' u
  833. ;user_agent="PHP"& o2 @$ u5 p! Z( ^4 R: m7 j7 y" Q) L
  834. ' n( r3 _( A/ J: S. ?; {
  835. ; Default timeout for socket based streams (seconds)
    / i2 f2 N0 `3 L- T" c6 @. O
  836. ; http://php.net/default-socket-timeout
    ; y. e1 f( n( i: ^
  837. default_socket_timeout = 603 s! p4 x$ o1 j' S4 t  `

  838. + b6 Y) D/ C, N4 ~
  839. ; If your scripts have to deal with files from Macintosh systems,! a- g7 S5 N2 ]) V& {+ @7 v
  840. ; or you are running on a Mac and need to deal with files from
    $ Q" b0 |. G8 m+ w
  841. ; unix or win32 systems, setting this flag will cause PHP to
    % f. i; x4 d0 }& h. v' p7 ^( a- V
  842. ; automatically detect the EOL character in those files so that6 C3 G6 M5 S! o. B  F0 h7 i6 X) I
  843. ; fgets() and file() will work regardless of the source of the file.
    $ `- R$ X* V8 |- J3 u
  844. ; http://php.net/auto-detect-line-endings
    3 g2 k. h4 M+ H7 o! N9 K
  845. ;auto_detect_line_endings = Off  ?8 S7 e# w1 p; i  l
  846. ! e4 W& m+ W: H$ m* q) \% z# g
  847. ;;;;;;;;;;;;;;;;;;;;;;
    % A$ A" U0 S( L5 K& l4 u
  848. ; Dynamic Extensions ;" S" b" M* I7 K
  849. ;;;;;;;;;;;;;;;;;;;;;;
    5 w! r, j; I0 |2 m

  850. ( E' W. f' g: l6 L$ H' L. }
  851. ; If you wish to have an extension loaded automatically, use the following
    9 v' w) o! Y9 }# Q& Q8 D, U
  852. ; syntax:
    - Y- ~4 [7 E( S
  853. ;
    + l% n$ O" t4 o% d2 P
  854. ;   extension=modulename.extension
    : T! C+ d4 `0 \9 W/ C4 O1 a  R
  855. ;
    2 x2 w, q. T3 G! d
  856. ; For example, on Windows:, b7 }5 v: V& r9 P" e
  857. ;" C' s2 M  B* U# ~) o' C; i
  858. ;   extension=msql.dll
    $ {4 x# x. R! h' U$ o2 o
  859. ;
    & d, V) g+ B% s8 k) a0 q& l
  860. ; ... or under UNIX:
    9 w' _; D) L* [" b/ j
  861. ;
      D; K' S+ T+ a2 ~7 T: ^$ g5 N
  862. ;   extension=msql.so$ y: u6 W; {! Z: ^4 p0 Y* ?
  863. ;
    8 G: Z0 V- W9 R# A9 ^9 x1 O
  864. ; ... or with a path:
    # i* u: `8 s& H' `, ?, v
  865. ;1 i4 {1 X1 n2 t! q6 R8 a% t: ]
  866. ;   extension=/path/to/extension/msql.so
    ( k- H4 H  d% b$ F: w" K
  867. ;
    - g8 R8 y$ u, P6 ^; P, [9 T8 s
  868. ; If you only provide the name of the extension, PHP will look for it in its9 p) m) A& V1 t4 a
  869. ; default extension directory.8 n: l+ H2 u" b3 k" E0 v! ]% }$ ]
  870. ;
    3 `) P0 @) ?$ d: F5 h% x' T
  871. ; Windows Extensions/ I) N( \/ |: ]& B
  872. ; Note that ODBC support is built in, so no dll is needed for it.0 c, J% R" d; ~
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    ) j' r4 J5 j9 E
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    6 X+ x, Y( x) X1 D( Q* _! `9 X
  875. ; Be sure to appropriately set the extension_dir directive.
    9 U; t) N) _2 D& K+ Q3 E
  876. ;3 Q4 X2 j0 H# s! `* ~: [6 i
  877. ;extension=php_bz2.dll1 @4 L+ L" D- k. ?6 g6 N
  878. ;extension=php_curl.dll) ^* j  J4 U5 V3 n5 C6 K
  879. ;extension=php_fileinfo.dll
    , \- Q( L2 ?5 l  M6 Y! O+ N- C
  880. ;extension=php_ftp.dll; \5 y: l; @# [# Y6 j  B1 |
  881. ;extension=php_gd2.dll+ @5 i/ c3 }% n
  882. ;extension=php_gettext.dll
    7 Y. b/ l6 @! S4 d+ q3 ]1 @1 q
  883. ;extension=php_gmp.dll* O' w$ x7 U! Z
  884. ;extension=php_intl.dll1 e6 E* _& H6 Z( J( B
  885. ;extension=php_imap.dll, H& u9 i0 a: E! O7 \  `6 J. }
  886. ;extension=php_interbase.dll+ a( ^: B7 P. B7 [$ l; A
  887. ;extension=php_ldap.dll
    2 M& L5 ~) a6 f) k6 x; [( e
  888. ;extension=php_mbstring.dll
    9 u6 d; g; N( ?. s9 w
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it% h# {( G" O. v
  890. ;extension=php_mysqli.dll2 P  J" r$ p% d3 }0 _& F3 ]7 |
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client; K6 G$ h: F6 u
  892. ;extension=php_openssl.dll+ h, t/ K6 ]; l" x
  893. ;extension=php_pdo_firebird.dll4 a. D- z! f* |5 ^
  894. ;extension=php_pdo_mysql.dll1 w) L6 B: s! ?
  895. ;extension=php_pdo_oci.dll5 f, C4 X2 m; X0 c0 \) Y
  896. ;extension=php_pdo_odbc.dll7 x: U: Z4 m/ G% |1 Y# @
  897. ;extension=php_pdo_pgsql.dll
    9 T% [5 H! d9 @" q; [/ U
  898. ;extension=php_pdo_sqlite.dll$ }9 E9 z1 g' g, E( u" F& X" o& H
  899. ;extension=php_pgsql.dll0 u+ b& l$ J) L9 {( [" v
  900. ;extension=php_shmop.dll
    0 x) k. q2 Y. h4 S# N' A

  901. . n( N* j8 C9 j: c! H6 U
  902. ; The MIBS data available in the PHP distribution must be installed.
    ) c, g1 e8 x9 d6 K  ?+ _7 N" R, I
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    . {. v  \' S+ u2 R1 j0 p3 |
  904. ;extension=php_snmp.dll
    9 R, W! J! C, `3 d

  905. * ~7 B# b- f: [9 s5 P
  906. ;extension=php_soap.dll
    . P, y! j) ?4 \
  907. ;extension=php_sockets.dll$ X% @9 J: j1 o8 ^, u+ Q6 ~% X
  908. ;extension=php_sqlite3.dll
    + j5 ~; U" ?7 f% p; [: {
  909. ;extension=php_tidy.dll3 X6 g+ W) w1 l, D! q6 F* ~# X; c
  910. ;extension=php_xmlrpc.dll
    . s- ?  I* W9 O' D8 B& k9 c
  911. ;extension=php_xsl.dll# l8 g$ j5 m2 T

  912. 6 |% x  G8 j3 J2 v
  913. ;;;;;;;;;;;;;;;;;;;8 s' B: I! H, T5 k
  914. ; Module Settings ;
    % b2 g. t( {  r; D. U2 d& m& _
  915. ;;;;;;;;;;;;;;;;;;;
    * T, t* j* @8 v1 ~2 }

  916. " k6 `; B* k" }2 ^) P% K
  917. [CLI Server]
    6 |! c% n  s  ~
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    : W5 [6 g$ i7 E6 _6 O! D2 n! h
  919. cli_server.color = On. R2 Y4 d& G  B7 d8 F6 O
  920. , ~6 \, j0 w) M' ~$ p- M7 b# o, o
  921. [Date]
    3 Q: p" L! x/ V) R
  922. ; Defines the default timezone used by the date functions
    ( y* \3 `( L  [, y% ~
  923. ; http://php.net/date.timezone
    1 M; J/ w2 p$ c( c% X, H$ }6 f# N
  924. date.timezone = PRC
    6 l& j! x# t7 {( N/ P; `! g
  925. 9 F7 f8 }- Y" y' Q+ t- N. H$ i
  926. ; http://php.net/date.default-latitude
    9 _8 v" `/ `$ }
  927. ;date.default_latitude = 31.7667  o0 ]0 G8 }; U' `4 G

  928. ' ^8 s; a0 v$ o. W( R
  929. ; http://php.net/date.default-longitude4 k0 l7 s! l+ d9 M% c
  930. ;date.default_longitude = 35.23332 q" m* c+ P/ R$ E. c2 U

  931. 4 U  o& W7 C( `0 z9 z4 i% e
  932. ; http://php.net/date.sunrise-zenith2 H3 y) z/ M- O8 t! J, y
  933. ;date.sunrise_zenith = 90.583333
    * V6 O3 g) d( S7 Q
  934. 6 e5 X- N2 h/ y' \* k$ u. s( T
  935. ; http://php.net/date.sunset-zenith
    8 w! g  ]1 u! I- R& c
  936. ;date.sunset_zenith = 90.583333
    1 `& d9 h4 q/ N

  937. ; F, r( E4 Q& I( R# Y  e3 a
  938. [filter]. b5 B5 `' z9 H
  939. ; http://php.net/filter.default$ o' p9 f( R% Z1 P1 D  Y& }/ H9 s
  940. ;filter.default = unsafe_raw
    5 G9 J0 t* o( o0 W3 }; W$ o% `

  941. , E+ m8 ~# [5 _* V
  942. ; http://php.net/filter.default-flags6 s0 A" f) X8 `2 Q5 `4 |: z
  943. ;filter.default_flags =" p' e8 s. g2 W7 {* {, C; ^
  944. & f! O: p9 `' v
  945. [iconv]! |$ S% Z! A& a. U8 [. d: @: n# c
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.; I: T1 A* p4 e6 W
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.9 ~* i9 d% I5 I( t" P+ H
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    . x; U  L* F- x0 p8 u
  949. ;iconv.input_encoding =/ Q8 u1 v5 C$ l5 I; z
  950. " F  e* {5 I4 r
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    5 n, q# S, f3 R* w; W1 V& N$ n* V
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    " `3 i0 x9 b% I
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding! F% C0 F6 v3 f5 j
  954. ;iconv.internal_encoding =, C, Z- `0 S6 G" U

  955. $ ^: q* F0 Y, Q+ c/ ]
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    & ~6 |# t  k5 l% g. v  C6 ]
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.+ @5 J8 p: T0 \1 D* x6 P
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding: o  d; |6 B* V8 @- F; t
  959. ; To use an output encoding conversion, iconv's output handler must be set% k8 U. Q! A7 d; F$ O
  960. ; otherwise output encoding conversion cannot be performed.
    4 L1 ]$ h4 Z2 V6 x: s: z7 U
  961. ;iconv.output_encoding =
    # O8 g! m2 g+ r- R: j- n! H9 v5 W1 E

  962. 2 w( t% z3 V5 Y0 t$ f/ Z
  963. [intl]
      i- F$ s, g/ O  p3 d
  964. ;intl.default_locale =+ x! p3 \7 Q# I9 E6 X) P
  965. ; This directive allows you to produce PHP errors when some error' }; @/ c7 G$ I& q" A" g
  966. ; happens within intl functions. The value is the level of the error produced.
    9 f1 b% F) Q5 T' t! H0 Q+ T
  967. ; Default is 0, which does not produce any errors.
    # a+ W$ e& {1 L  u( h2 I' T
  968. ;intl.error_level = E_WARNING
    5 n( a  s  S) S4 y$ N/ m/ W
  969. ;intl.use_exceptions = 0
    7 P9 L: l! D' z! B2 l* |4 W- ^! K

  970. - W4 X. O, L' W3 H& E
  971. [sqlite3]
    ! M% c, [) d0 b$ x3 X
  972. ;sqlite3.extension_dir =
    8 C# `9 T! O3 t4 {% T
  973. ' w  N/ S2 U2 n, Q( l
  974. [Pcre]( y. E0 Q9 a6 Z3 V' f# J
  975. ;PCRE library backtracking limit.
    6 Z  e( [. q: \5 N5 T# A1 E, U
  976. ; http://php.net/pcre.backtrack-limit3 Q- Y/ V; f9 @. M! J' n
  977. ;pcre.backtrack_limit=100000& b! [" y( f% b" L

  978. ! G+ i% V/ e7 J. y1 }+ ]
  979. ;PCRE library recursion limit.4 H9 l/ |4 w, @( F
  980. ;Please note that if you set this value to a high number you may consume all
    & e8 M+ t! r5 r( y# c- z
  981. ;the available process stack and eventually crash PHP (due to reaching the
    . L& g5 w* u0 w8 V: I" [& Z; a
  982. ;stack size limit imposed by the Operating System).
    / C3 \$ s7 M/ e4 u) f
  983. ; http://php.net/pcre.recursion-limit5 t' m4 b! J+ [+ W8 A3 t
  984. ;pcre.recursion_limit=100000" `: R! P6 ~1 {7 a

  985. ( y1 Z" l1 W& ?8 s$ Z* \
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    & x3 J0 H8 e# L6 N+ [8 y  Q$ b
  987. ;library to be compiled with JIT support.* D1 Y, [! d& Y8 h
  988. ;pcre.jit=1, i/ L. h1 Q8 m# Y% J

  989. + k, r1 v7 k& O. T
  990. [Pdo]
    2 `" t3 B7 S' Q* _6 h: f+ C- F
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"9 M3 H* Y4 k+ j, Y
  992. ; http://php.net/pdo-odbc.connection-pooling
    3 O+ Q6 a- x$ K0 Y' d" o: u1 n
  993. ;pdo_odbc.connection_pooling=strict* M( K- P: q# J* }

  994. : k5 D% _% |: L5 F& U! x# o
  995. ;pdo_odbc.db2_instance_name
    3 r! I# Q0 b0 t- Z4 ]6 o
  996. $ @9 ]: ~) {: A* O
  997. [Pdo_mysql]
    # J  Q; V0 X$ A+ y, z
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    4 D9 t( e# Q- w9 O5 V; j6 w/ g
  999. ; http://php.net/pdo_mysql.cache_size
    8 r, |- o* ^3 C* u/ G1 B# }8 U, L
  1000. pdo_mysql.cache_size = 2000
    0 v6 _* }7 R- o* A) k
  1001. ) b  s1 q9 s, i6 p. r1 {
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    $ M+ J9 k; A) B, y: f+ Q
  1003. ; MySQL defaults.9 w/ ]6 ^3 q# R9 A& o. m/ u" x; K6 }3 v
  1004. ; http://php.net/pdo_mysql.default-socket
    * U0 `0 M3 s. i- G
  1005. pdo_mysql.default_socket=
    . A5 t& t3 [% q% {3 l

  1006. ! i& [8 F( _+ y4 @; T
  1007. [Phar]2 s9 f9 r, X4 i& H# R
  1008. ; http://php.net/phar.readonly/ w  b$ C3 [0 e" e6 I
  1009. ;phar.readonly = On4 I; _+ Y( {0 _4 p# K; G+ @( t0 M) W
  1010. ( J4 M- i# K! r- |6 v0 l
  1011. ; http://php.net/phar.require-hash" J( q! K, X4 {; M0 C8 `
  1012. ;phar.require_hash = On$ C: g- h+ \' [) w( B. n! t

  1013. / e6 W! z4 A7 r* k
  1014. ;phar.cache_list =4 r6 Z, |0 V* ]" V) Q
  1015. 8 R" Z: ^& [/ H# g- C4 d  a
  1016. [mail function]  L' j! g4 ]3 {
  1017. ; For Win32 only.! R4 m0 Q2 X/ ^3 _& h% H
  1018. ; http://php.net/smtp
    8 ]' J" \0 B+ P& q2 [2 n* ?* }
  1019. SMTP = localhost9 e! O# y0 }4 w! u5 ]( s3 {  I
  1020. ; http://php.net/smtp-port
    ; q" Y2 @* I& I7 R1 o
  1021. smtp_port = 255 Q! \  `- U0 R

  1022. 4 c3 O+ |( J6 s& W
  1023. ; For Win32 only.
    * f; H' r  d4 A0 j
  1024. ; http://php.net/sendmail-from
    4 ^1 W( B, i7 P) g  l; e7 P6 _
  1025. ;sendmail_from = me@example.com
    * S  D3 m$ P1 n9 F0 ]7 [
  1026. 7 N! d. I' y' Q8 g5 e% A, S
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").6 X, F9 Q. P5 F+ M" S  t1 E
  1028. ; http://php.net/sendmail-path
    + L+ d8 X* t% p; A
  1029. sendmail_path = /usr/sbin/sendmail -t -i  n- W- a. A) o4 u

  1030. 8 P/ A& Q' C+ E% r
  1031. ; Force the addition of the specified parameters to be passed as extra parameters. S7 p3 B0 \' L9 |( _- f& W/ b& l' n
  1032. ; to the sendmail binary. These parameters will always replace the value of
    9 M) b. P- C/ i
  1033. ; the 5th parameter to mail().
    , D6 E2 `+ y1 r3 q+ d
  1034. ;mail.force_extra_parameters =
    7 u/ j/ P3 a8 T, U$ Y- o& X

  1035. 4 R! J8 \/ G/ l7 q
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    * n  |9 d* l& Q( Z% B7 X8 d
  1037. mail.add_x_header = On1 c" T0 I( ?+ q3 J4 J/ a
  1038. * b2 }( w- u; ]. X8 V1 U/ N
  1039. ; The path to a log file that will log all mail() calls. Log entries include) j/ h2 M- T+ A5 q9 `- j8 }: x! D
  1040. ; the full path of the script, line number, To address and headers.6 S( w" {2 W3 ]  c2 O
  1041. ;mail.log =
    + \# {5 L4 H! o: D6 @% l
  1042. ; Log mail to syslog (Event Log on Windows).
    . J+ a/ m/ S7 x, w( b1 D- W0 Y
  1043. ;mail.log = syslog
    9 n& C6 o8 d" Y+ `0 m+ T- h9 ]$ g

  1044. + F8 [- S: F/ F
  1045. [SQL]
    * {3 ]/ X: Q" k; s/ r. N2 U: {9 W2 ]
  1046. ; http://php.net/sql.safe-mode4 v+ T- T1 H* X5 M7 s
  1047. sql.safe_mode = Off
    4 o# c& @( S4 U

  1048. . I7 A* d& T9 a
  1049. [ODBC]
    ; i  g$ A7 a+ w2 r
  1050. ; http://php.net/odbc.default-db
    9 P( I8 r, C( J; y
  1051. ;odbc.default_db    =  Not yet implemented- e0 z& o/ }" k5 J& z: K
  1052. $ A1 K9 }5 c- d/ R2 t" e' ~- W
  1053. ; http://php.net/odbc.default-user; F- I2 B. D% Z- Z
  1054. ;odbc.default_user  =  Not yet implemented
    0 Q/ l( Y2 m* v  ?7 {
  1055. ' u9 p) A/ B0 l6 f8 V7 i
  1056. ; http://php.net/odbc.default-pw
    3 N+ i; e2 y# Q  S4 A. H# ?
  1057. ;odbc.default_pw    =  Not yet implemented
    5 ]. Q5 g7 x; ]8 T. P, t, X

  1058. 3 z' k. X) q: U
  1059. ; Controls the ODBC cursor model., A0 g) X7 S4 N8 k( }# E% {( c: G
  1060. ; Default: SQL_CURSOR_STATIC (default)." v# h4 M% @4 e
  1061. ;odbc.default_cursortype
    % U- O7 R5 m& w, s
  1062. : w! a4 p: N. W# A  t. {
  1063. ; Allow or prevent persistent links.6 Q) X( I/ @7 D* F) m" B
  1064. ; http://php.net/odbc.allow-persistent4 g  b$ E% {7 S$ ^( ]7 u- H" V, R
  1065. odbc.allow_persistent = On$ |& k! Q. E6 }
  1066. 1 H) R- O2 |% s* L* E1 J- o
  1067. ; Check that a connection is still valid before reuse., Z7 K- r+ v. c/ _/ l. k: o; p
  1068. ; http://php.net/odbc.check-persistent7 K, M7 R( R  w9 ~
  1069. odbc.check_persistent = On
    - X/ w, ?" _; N* T4 m
  1070. 2 m! p- L5 Y' k) A: p. p2 n1 E) @
  1071. ; Maximum number of persistent links.  -1 means no limit.
    7 P: a" A' N7 H+ @
  1072. ; http://php.net/odbc.max-persistent
    " J& u4 X/ O* O0 c2 d
  1073. odbc.max_persistent = -1
    . `. d1 e5 n) m- p

  1074. & m0 A# F' e7 V$ `) T$ l8 |  W
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ( c  z5 Q& }0 v/ ?, Y6 ?
  1076. ; http://php.net/odbc.max-links% |/ \, x6 h0 b6 I7 v
  1077. odbc.max_links = -1
    ' L+ ^# c* ^4 T" j; p' V; X; {6 [

  1078.   ~0 Q% v' p* S; A4 b$ U
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    ! f* I1 C, i, v2 q3 t8 \2 X
  1080. ; passthru.
    + s. _  o+ {2 v0 X* q# C
  1081. ; http://php.net/odbc.defaultlrl
    5 Z; b  `/ P; }
  1082. odbc.defaultlrl = 4096# _* a. O  r( \
  1083. 2 p1 B- f0 S; G# y: C2 f/ J
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    5 e- i, G3 q3 {
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    # Q* X( |) K( c9 {5 D
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    6 F3 h& ?, ], O/ a6 Y5 l/ u$ V
  1087. ; http://php.net/odbc.defaultbinmode" {0 Z4 t% U& s1 x' B, j- Y8 Z
  1088. odbc.defaultbinmode = 1
    6 |1 z/ b& R. `! J2 v

  1089. " l5 E1 x1 w; x# N) i
  1090. ;birdstep.max_links = -19 A4 _, \3 D" Y1 G# t
  1091.   \: ?" d& d/ B7 m; P
  1092. [Interbase]! P5 U# A3 ]+ {* V0 I
  1093. ; Allow or prevent persistent links.5 e% d1 ?, K; \2 |
  1094. ibase.allow_persistent = 1
    # |- [* c, e* h2 `3 N
  1095. 8 M3 ~2 r* y. g# Z. P3 G5 V, a
  1096. ; Maximum number of persistent links.  -1 means no limit.
    $ r+ ^! D) t/ n$ j# n% _
  1097. ibase.max_persistent = -1( ^0 [5 z7 R8 @9 R; X

  1098. 8 D8 {! G: a7 |5 b2 R
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    # ]3 Y: s5 Y- \9 m4 w" k& ^4 _! o$ I
  1100. ibase.max_links = -1
    3 q) K8 h2 q5 m  z  H
  1101. * m; l/ Z6 e( ^) c7 r9 C0 V
  1102. ; Default database name for ibase_connect().
    ) Z# f0 Z8 F. B! v% ~" ]
  1103. ;ibase.default_db =
    - @  W$ h: z1 I! R( u

  1104. 9 }0 ^, z: m- G% }7 h" T, P" h9 b
  1105. ; Default username for ibase_connect().+ b3 b# G. F2 l* D0 K9 i8 c
  1106. ;ibase.default_user =
      t2 d: B8 s+ h3 @9 A% d5 \$ C8 X5 t
  1107. + d# U+ H1 U8 M/ j3 v( A
  1108. ; Default password for ibase_connect().
    ! [$ `7 K1 c8 o5 t8 S
  1109. ;ibase.default_password =
    8 X/ ?( g# ~7 s! q
  1110. , J3 C# [' A% X: b: J
  1111. ; Default charset for ibase_connect().
    ) u# V% Z" \1 E0 U3 ]) m- \
  1112. ;ibase.default_charset =0 p5 Q6 \: D% X" q

  1113. 7 r# D# m. M; f2 y7 g0 ]
  1114. ; Default timestamp format.
    9 G* ~. H* B' j5 [4 R
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    8 \8 j$ Q$ Z) _7 T- G

  1116.   F# s* h3 ~& N, Z: O. w
  1117. ; Default date format.
    " ?& i; l; y+ i& U! y% r0 L
  1118. ibase.dateformat = "%Y-%m-%d"
    7 \/ }4 K& B6 _, M
  1119. : o; A! d/ i( E4 J/ B! l
  1120. ; Default time format.
    $ @- G9 Y. [+ D* F5 u; Q7 U  k4 [
  1121. ibase.timeformat = "%H:%M:%S"0 z6 @3 e8 k  J! q# Q
  1122. # ^6 b% i) r/ L4 ?9 Y3 U
  1123. [MySQLi]
    ' o9 W& P% h/ Q

  1124. # x) q6 D3 z& |/ l( e, k  T9 K
  1125. ; Maximum number of persistent links.  -1 means no limit.# X, _! t" G6 |
  1126. ; http://php.net/mysqli.max-persistent
    ( P; C* ^5 c5 l
  1127. mysqli.max_persistent = -1
    6 \2 E- F* {: ^! T) H
  1128. ; t9 A) H+ x% d; M) @
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    / i! f2 ^* Q, P) z
  1130. ; http://php.net/mysqli.allow_local_infile
    $ a2 I9 N# M# Q1 |
  1131. ;mysqli.allow_local_infile = On% }; O; v" p- U+ J: w
  1132. 1 Q+ S% ?! W9 h/ }! |
  1133. ; Allow or prevent persistent links.0 }/ Y& h/ L2 i" ~0 T
  1134. ; http://php.net/mysqli.allow-persistent
    0 @$ c1 t  @/ \9 C9 S
  1135. mysqli.allow_persistent = On
    " n2 r! u/ S) I$ q9 n

  1136. , C& u& w" v! l( [- x
  1137. ; Maximum number of links.  -1 means no limit.  p+ I0 W, e5 c- e2 r+ t
  1138. ; http://php.net/mysqli.max-links
    7 L9 f4 ]! w4 C' m! Z/ n
  1139. mysqli.max_links = -1
    9 {/ m0 p: B- R8 ?
  1140. 1 G8 T( V; O% V: P! I
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    / [+ e. Y; N! i3 K  G7 x) w
  1142. ; http://php.net/mysqli.cache_size0 f# M$ h6 O8 m  M# N
  1143. mysqli.cache_size = 2000
    / T' m5 a4 ~) A8 W& T0 ^

  1144. 6 [$ _) P& z6 @" b: N/ S, j
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use0 e  N3 y$ i6 c7 R
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    0 `" V$ V# A7 p, M
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    ) b( Z2 o' ~( W
  1148. ; at MYSQL_PORT.
    7 @8 I' |! a* ]0 x5 a  U. W  l
  1149. ; http://php.net/mysqli.default-port
    8 s& ~+ A2 O2 }" b) y* M5 T
  1150. mysqli.default_port = 33065 t3 b; c' }) t

  1151. 0 y( J2 M4 ?/ \- X3 ~
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    & `- R) I2 ^( `# f5 a. Z
  1153. ; MySQL defaults.
    " N, T9 E' q" d4 k0 t# `
  1154. ; http://php.net/mysqli.default-socket
    ) t6 p$ I1 J! S3 ]# q
  1155. mysqli.default_socket =. K" k# y0 v# i7 \5 q/ |$ l4 b3 p
  1156. ( c0 ~% k9 M3 J9 j* Z8 B, V9 k
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    : |# R4 i/ z3 k; u( ?7 j
  1158. ; http://php.net/mysqli.default-host
    + p9 U3 ]. g- Y' {
  1159. mysqli.default_host =% W0 _/ `' l% _& L0 n2 C

  1160. 1 _, `4 U! y/ e7 J2 b
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).  n$ p% N4 x  [9 y4 l
  1162. ; http://php.net/mysqli.default-user
    " o# m; R& t; L2 O
  1163. mysqli.default_user =8 h$ n7 w0 f0 M

  1164. . G8 v9 T" z7 [* Y$ G' Y+ m% |8 |0 r8 w, h5 G
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).# N$ I+ @5 }4 G8 U% ^3 F
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    ) R6 V# I  o- _6 G5 S
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")- K4 s7 w1 p; `1 h
  1168. ; and reveal this password!  And of course, any users with read access to this
    $ B. N8 D' @; l
  1169. ; file will be able to reveal the password as well.
    # g- G, r( w7 F1 H; \
  1170. ; http://php.net/mysqli.default-pw& |. K& e: S& V: B$ s; O
  1171. mysqli.default_pw =
    ! R1 t9 P* o( ~: T

  1172. ) L! e  }# g0 _% O/ G2 U/ }  E
  1173. ; Allow or prevent reconnect+ `1 R( T4 V; ^3 T
  1174. mysqli.reconnect = Off
    ( C- V. H/ |: t% l$ v4 d
  1175. * m: x2 c( J+ U; J* Z
  1176. [mysqlnd]! o$ }0 I/ _/ `
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be4 J% z4 H: X7 `1 c
  1178. ; used to tune and monitor MySQL operations.
    ' B" A% H# U; b3 ?
  1179. ; http://php.net/mysqlnd.collect_statistics' p' |' P& K( `
  1180. mysqlnd.collect_statistics = On- _$ N$ C# M5 A% W: \' A

  1181.   h! q, G9 ^3 P" @! y, p
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    & f; i. w4 j* w0 e! P
  1183. ; used to tune and monitor MySQL operations.
    , U+ U+ D& f+ p$ M# S( u* g3 d/ t& b
  1184. ; http://php.net/mysqlnd.collect_memory_statistics0 Y2 L5 i. i/ v9 [/ D
  1185. mysqlnd.collect_memory_statistics = Off4 G( h4 r( d9 ^" Z. X+ |% J

  1186. ( G+ N# Q8 Q/ i. |. H
  1187. ; Records communication from all extensions using mysqlnd to the specified log
      J- S' H! [- S/ X0 F3 x' V
  1188. ; file.2 _( {# e1 u# Z: e! _& i" c
  1189. ; http://php.net/mysqlnd.debug6 S3 n" {% |5 U4 Z5 F
  1190. ;mysqlnd.debug =
    * p: L5 r2 ]7 ]5 m  M8 B

  1191. ' o# d0 f6 ^; C$ W/ C% t
  1192. ; Defines which queries will be logged.$ i  w" A2 T3 g2 `* a+ I: X- Y
  1193. ; http://php.net/mysqlnd.log_mask
    4 I+ n, M( F+ o
  1194. ;mysqlnd.log_mask = 0! a7 ~9 q1 J. \  V" {! r( O7 p1 ^

  1195. & q- C* ]7 k1 B
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.& T  s/ ~' ^, ?* L+ u! q
  1197. ; http://php.net/mysqlnd.mempool_default_size
    . N, ~( a0 _& B( H- L
  1198. ;mysqlnd.mempool_default_size = 16000
    # h6 M, [) I( k( c+ n

  1199. ' M2 k5 a5 i8 ]1 d! a5 M& [
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    ; \5 V/ ]9 n* @) I  R' f
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    " J9 U& v" k! w$ b5 ?
  1202. ;mysqlnd.net_cmd_buffer_size = 2048: P4 ^3 |# x% v

  1203. % e1 M) {0 s* q* P. K
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in
    6 p' \: i' O, f1 z
  1205. ; bytes.
    " L* y% Y2 X, b6 P$ _1 h2 h
  1206. ; http://php.net/mysqlnd.net_read_buffer_size" e( q( e! o1 u7 Y: {) g( q
  1207. ;mysqlnd.net_read_buffer_size = 327682 Z% K% A$ F; Z0 ?+ @- y
  1208. / l" ^( g4 `9 N& Y$ P# Q( ^4 [' J
  1209. ; Timeout for network requests in seconds.- v" D' {4 g9 k$ h- p$ ?9 Q$ ^
  1210. ; http://php.net/mysqlnd.net_read_timeout
    8 T+ {' w  H' m$ b2 x6 O
  1211. ;mysqlnd.net_read_timeout = 31536000
    ' r0 M! e+ s( B( o3 z7 d
  1212. 2 N6 y+ g" c8 T! k$ ?6 ]
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    , A, a( N# @9 ]% l) J
  1214. ; key.
      [0 A: l+ a5 ^3 ~  U8 J
  1215. ; http://php.net/mysqlnd.sha256_server_public_key7 O% v6 _4 m4 e/ {  t; L- H2 K
  1216. ;mysqlnd.sha256_server_public_key =+ R6 B# _) V6 ~

  1217. 8 v+ b2 p" u1 }8 b
  1218. [OCI8]
    + X' P1 X7 H$ ~) S2 c* i7 J
  1219. ! m: O$ m/ {+ w! G6 O- g9 N) n
  1220. ; Connection: Enables privileged connections using external8 w' E; ~. I$ e' L9 i  L( ]. `
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    & Q; l) M  t& J/ M  B. S
  1222. ; http://php.net/oci8.privileged-connect' g2 d5 w4 }! T+ F6 B# O0 I- m9 @
  1223. ;oci8.privileged_connect = Off. c4 \/ L0 k3 d! @" d4 z" y) H

  1224. ! e* d7 Q2 J3 w, o1 ~
  1225. ; Connection: The maximum number of persistent OCI8 connections per! U8 d7 Q9 _( [$ I/ T2 a5 c; T8 y! m
  1226. ; process. Using -1 means no limit.$ X5 o" T8 m. o1 }( N/ O1 e' x3 D
  1227. ; http://php.net/oci8.max-persistent5 z, a  l! R( o- B6 N  p
  1228. ;oci8.max_persistent = -1
    + Z% j' q! y8 `
  1229. 7 J, A) x2 v9 H! ~
  1230. ; Connection: The maximum number of seconds a process is allowed to  N3 k$ z' ?/ J* u6 i( \9 a  ?
  1231. ; maintain an idle persistent connection. Using -1 means idle5 e" R4 n" D: h8 u6 L. J7 j
  1232. ; persistent connections will be maintained forever.
    2 l4 {9 h2 C- V" ~0 x& p+ B4 L: X( ?$ @
  1233. ; http://php.net/oci8.persistent-timeout
    % W2 o. F8 x' I
  1234. ;oci8.persistent_timeout = -1' k1 t8 {! v8 R; l7 W- q

  1235. 8 V# l3 D6 H2 @* p* [% G, D' l
  1236. ; Connection: The number of seconds that must pass before issuing a) ~( j: T9 V6 U
  1237. ; ping during oci_pconnect() to check the connection validity. When
    7 v; Z5 `; J) m1 w8 t
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    0 @& `& D3 s  J5 I: M: R
  1239. ; pings completely.
    9 b9 m: Q" P+ d8 m! l- U; W
  1240. ; http://php.net/oci8.ping-interval, S8 b8 _7 ~) k! G1 T* _( A; {/ F
  1241. ;oci8.ping_interval = 60
    ' S* S; L& k' B8 G2 c( o5 D- N
  1242. 5 z) |  H4 m* V. A% n
  1243. ; Connection: Set this to a user chosen connection class to be used
    $ {( b$ a6 ^/ {. }' o
  1244. ; for all pooled server requests with Oracle 11g Database Resident! D: k# k; E+ c) k
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to* o+ S: B( v1 F- e$ f& }
  1246. ; the same string for all web servers running the same application,
    4 E$ c5 O0 {% l
  1247. ; the database pool must be configured, and the connection string must  L+ Z; P7 e& j& j
  1248. ; specify to use a pooled server.
      D6 R  ~1 Q& y- ^( E
  1249. ;oci8.connection_class =7 T0 H5 r" Z7 X6 ?( C3 u

  1250. 9 j3 W3 F2 |. [& B: A4 k
  1251. ; High Availability: Using On lets PHP receive Fast Application
    2 v9 v) K. G4 D6 ^
  1252. ; Notification (FAN) events generated when a database node fails. The
    # G1 R  N0 l" m  n& O1 e
  1253. ; database must also be configured to post FAN events.
    4 I6 L5 S1 B. n) u
  1254. ;oci8.events = Off( A; v/ _" @' ?' x+ c- U( F4 z
  1255. 7 j& I! v, M: H) ~. V5 z6 w
  1256. ; Tuning: This option enables statement caching, and specifies how6 R5 [  J8 V# a3 M3 [7 C
  1257. ; many statements to cache. Using 0 disables statement caching./ ^* {  }$ U. `1 V: C1 g: }
  1258. ; http://php.net/oci8.statement-cache-size
    2 ~6 _) R5 }; g# q0 B$ p* F
  1259. ;oci8.statement_cache_size = 20
    ; R8 H3 h$ F9 |

  1260. & T: m9 P7 i6 h5 _' x2 f. n
  1261. ; Tuning: Enables statement prefetching and sets the default number of" V% R8 |( C* A2 @5 \, A. I
  1262. ; rows that will be fetched automatically after statement execution.
    , `  K% |: h/ _* ~% M
  1263. ; http://php.net/oci8.default-prefetch+ K+ l9 M: |: z* |2 K- K  X
  1264. ;oci8.default_prefetch = 100
      E" m6 n  t' H7 |
  1265. ' D$ c9 ~: ^+ M- h
  1266. ; Compatibility. Using On means oci_close() will not close
    2 U8 v7 Z& S3 Y4 a2 N; j% }6 @
  1267. ; oci_connect() and oci_new_connect() connections., g+ o5 i: w6 t3 T% g' d' h
  1268. ; http://php.net/oci8.old-oci-close-semantics0 a& w8 T0 v( D3 `" J+ A' E* D5 j4 n. j2 ^
  1269. ;oci8.old_oci_close_semantics = Off
    5 |) z4 ?7 b2 O; O2 `) b, s" v- L% z1 F

  1270. - k1 U$ W5 E- J; N5 v. F
  1271. [PostgreSQL]
    5 G" L0 N; Z* a7 e% a
  1272. ; Allow or prevent persistent links.1 E0 \$ {# _4 m- g4 u
  1273. ; http://php.net/pgsql.allow-persistent* H4 M* `' i7 C, p- R
  1274. pgsql.allow_persistent = On: z6 Q1 Z" j8 Y, ^

  1275. ' @& s+ `3 G. Z* c
  1276. ; Detect broken persistent links always with pg_pconnect().4 i7 a" ^4 M: r( q
  1277. ; Auto reset feature requires a little overheads.% p% t/ }/ D$ r7 v. K
  1278. ; http://php.net/pgsql.auto-reset-persistent& W5 }# d6 l! }( o& g9 v6 u
  1279. pgsql.auto_reset_persistent = Off
    - I" k/ s4 E# J9 ^

  1280. 3 @! z) u$ j5 \
  1281. ; Maximum number of persistent links.  -1 means no limit.! t1 B- Z" m% B6 i% a. Y
  1282. ; http://php.net/pgsql.max-persistent
    : N' Y+ Z+ b  t$ x. H# n1 }
  1283. pgsql.max_persistent = -16 @" N2 k, f* s7 {

  1284. / }, G* A3 a8 g# E) X, a
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    5 \! o* `" Z7 k
  1286. ; http://php.net/pgsql.max-links
    ! F& j% f& I) h/ |6 x" {' ?
  1287. pgsql.max_links = -1" C' a1 {, Q3 K$ }+ n
  1288. 6 Z. {: a- ^% w" ?0 {
  1289. ; Ignore PostgreSQL backends Notice message or not." }( e( O/ M& z$ h5 g8 M. Q6 W
  1290. ; Notice message logging require a little overheads.1 Y3 ^8 P# W6 C. @- ~. n& e
  1291. ; http://php.net/pgsql.ignore-notice
    * Y- `6 p, X* [+ d9 P, B
  1292. pgsql.ignore_notice = 0
    9 X- ?# j2 @' K

  1293. 7 C2 J# S: p2 j% ?7 S
  1294. ; Log PostgreSQL backends Notice message or not./ B2 u$ `# L" }$ U
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    ! g) I6 ^, J9 d! `; K1 P4 Y2 Y
  1296. ; http://php.net/pgsql.log-notice
    6 v0 Z( S9 ^7 p' S% G
  1297. pgsql.log_notice = 0
    : }  I5 M" l. b! P6 P& o) l( Y6 r
  1298. ! h# k8 c2 }  P6 ?
  1299. [bcmath]
    & W: R9 a3 {& Z1 b  U- K/ C( E( Q- l' l, K
  1300. ; Number of decimal digits for all bcmath functions.
    % J# I( y# B6 A; \- j: O
  1301. ; http://php.net/bcmath.scale
    8 [# S% U8 _; l4 x. V: R
  1302. bcmath.scale = 0' V8 s6 |4 m4 v8 K# s0 c

  1303. . \  N7 x5 R4 {( i% i
  1304. [browscap]+ D; p! k. p) ]& M1 ?5 A- H; d* k
  1305. ; http://php.net/browscap
    5 F( {) M% h% n) _9 k; d
  1306. ;browscap = extra/browscap.ini
    4 s" Q( B- J4 S  V9 j" n( }3 O
  1307. 4 C9 C' O$ ^5 U4 G: x/ x# {! M6 q
  1308. [Session]
    8 y$ @7 j8 U  ]
  1309. ; Handler used to store/retrieve data.
    $ Y9 v# }& Y& Z! I& u; n
  1310. ; http://php.net/session.save-handler
    ; P. C1 q2 J( E( ]9 X# N+ n
  1311. session.save_handler = files
    % v8 m9 S1 E% A; Z3 J. ^4 }

  1312. ; r/ t2 R7 h6 X& }: c# C
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    & e; O" L! `! c& ^8 r. {3 ?
  1314. ; where data files are stored. Note: Windows users have to change this) C( ]+ K3 M+ q  ~
  1315. ; variable in order to use PHP's session functions.8 ~8 h$ f& _/ m* G" _
  1316. ;5 f+ E0 o6 B  `) a; j' y! c
  1317. ; The path can be defined as:+ L- a; K0 r) e
  1318. ;' Q- k# o! @9 u4 u) E0 F
  1319. ;     session.save_path = "N;/path"
    " o' N7 k6 Y, j/ r; o% d
  1320. ;
    + G6 X4 L* Z+ e6 |& C( w
  1321. ; where N is an integer.  Instead of storing all the session files in4 X7 }8 D0 D1 x$ P: q8 Q0 f
  1322. ; /path, what this will do is use subdirectories N-levels deep, and0 B* t$ k) J: w$ {" h2 _0 A0 ^
  1323. ; store the session data in those directories.  This is useful if+ ?) D, [# i, T5 W% t+ Z
  1324. ; your OS has problems with many files in one directory, and is; \" n0 p3 v( o3 L# b
  1325. ; a more efficient layout for servers that handle many sessions.- y" k$ m$ t) d( g/ a8 F/ ^
  1326. ;& f- c$ O) M/ M1 I: g
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    1 P7 Y% v! j" C( s+ J3 @
  1328. ;         You can use the script in the ext/session dir for that purpose.5 S7 }% g' P; @& S. p- [! K. J9 L  v
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    6 o" \: f1 i3 u, d+ c
  1330. ;         use subdirectories for session storage! U' H- {* h) ]1 \& K" s1 G5 d. V3 |
  1331. ;& [$ Y2 P) L) D2 R/ {: \
  1332. ; The file storage module creates files using mode 600 by default.9 L8 t: {3 s$ R7 z- P
  1333. ; You can change that by using
    $ S& I7 [. l) |' Y4 y: ]
  1334. ;& K2 D+ K  l+ [+ i2 {! f
  1335. ;     session.save_path = "N;MODE;/path": O0 F, z% m$ r: Z9 u8 L% n
  1336. ;
    / v) _4 W& Q% a) j2 S
  1337. ; where MODE is the octal representation of the mode. Note that this6 n2 {9 F- b0 K; v
  1338. ; does not overwrite the process's umask.
    ; A6 U( W- ?. ?- c7 V6 D
  1339. ; http://php.net/session.save-path
    2 L6 G1 H. L0 g9 L$ d; U
  1340. ;session.save_path = "/tmp"
    % b: _/ }- B! }

  1341.   s- c4 t2 Z1 T/ w/ O- S0 |" Y
  1342. ; Whether to use strict session mode." f! @4 m# Y; b9 R) G3 [
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate! R' R$ Z# j4 x' d! {7 c
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    0 V/ x. L1 z% e3 I# V: U" d
  1345. ; applications from session fixation via session adoption vulnerability. It is
    + D! `4 l6 ^. E$ U" f1 J
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    & m* y# z" }7 h
  1347. ; https://wiki.php.net/rfc/strict_sessions
    8 C  _& m8 w$ v: N% B6 {% ^( V- P1 X
  1348. session.use_strict_mode = 0" B9 t- o' c5 k; N) k. C
  1349. ( c0 h& n- d( I
  1350. ; Whether to use cookies.7 O1 I4 D& J& {& p
  1351. ; http://php.net/session.use-cookies
    ! ~+ I, ^- N9 _) B
  1352. session.use_cookies = 1; Q3 U, {% h$ L  V+ K/ n6 e5 I
  1353. ) O$ ~: X; k9 S; u
  1354. ; http://php.net/session.cookie-secure
    8 Z) r+ a. \: O
  1355. ;session.cookie_secure =! m' |( n* t, ^  C) B" v

  1356. : G2 K4 |# J0 h3 p6 ^% N+ O
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    4 o' ^: L. |6 i2 |3 N
  1358. ; the session id. We encourage this operation as it's very helpful in combating+ H. q. f, M. T! W* N) `9 l  N: [
  1359. ; session hijacking when not specifying and managing your own session id. It is
    4 N1 y5 y4 }. b+ h7 P: }" y
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    # G& d, t1 U7 U: v. ^
  1361. ; http://php.net/session.use-only-cookies9 N/ U* n) O' V& j) q" e
  1362. session.use_only_cookies = 1
    . ]8 n* w$ Z9 j0 Q) V

  1363. 6 j. _, ]( v0 `) }! _# S- T8 T
  1364. ; Name of the session (used as cookie name).( H3 }: n9 Q6 t! {3 }- A: R1 Q9 @
  1365. ; http://php.net/session.name
    * k  D" G2 T4 c9 X7 F' U4 G
  1366. session.name = PHPSESSID
    , u( l  w" X  K1 D# T, C: @: L

  1367. ' K; O" l0 K9 B# }: J) X$ Z
  1368. ; Initialize session on request startup.
    . e, ?2 k& K7 b- ]* `! T
  1369. ; http://php.net/session.auto-start7 h1 E- L- |% Y  c
  1370. session.auto_start = 0
    " \) U3 U# Y% S, g0 }

  1371.   y& E% r! t0 ?! r; r' f
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.6 ?7 y. ^9 f+ E/ w3 }6 s
  1373. ; http://php.net/session.cookie-lifetime, q( c: f0 C, P4 Z. e, H5 E
  1374. session.cookie_lifetime = 0
    / `, v3 L; x( |/ F5 z

  1375. ; \' A( U+ e. e5 Z% }9 v# [
  1376. ; The path for which the cookie is valid.3 {, W' }: Q& t3 s% [. f
  1377. ; http://php.net/session.cookie-path1 N9 K. u& d+ q, N. p& @
  1378. session.cookie_path = /' T% K4 K1 i- Y& c9 J  K# ]" R+ b

  1379. 1 H5 n  f4 ~% u3 f
  1380. ; The domain for which the cookie is valid.0 F" N: G; ]# F# A% D8 N8 V
  1381. ; http://php.net/session.cookie-domain
    6 u* y  a6 ~# q/ d: C
  1382. session.cookie_domain =8 x( ^% h. F0 I

  1383. ! T4 Q5 L6 K0 ^/ _/ W' j' _4 g
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.' R( E1 p/ i6 o( N' z0 ^; \! I
  1385. ; http://php.net/session.cookie-httponly
    2 ]" i5 `' S) l8 ?; s& W/ C4 `
  1386. session.cookie_httponly =) a( c; Y) F& \0 c& v

  1387. . N" D3 v7 M! c( Y% J
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    + e( L8 G6 [( l! r2 a8 M
  1389. ; http://php.net/session.serialize-handler
    6 x5 a' o4 z* X! Z5 o/ x7 g- z
  1390. session.serialize_handler = php: @( i) e# l: ^9 X9 [
  1391. 9 g, S5 K5 Y4 m( B- b& M- H; }
  1392. ; Defines the probability that the 'garbage collection' process is started
    4 d$ l0 R  Q* e; j2 S8 H! L& Q
  1393. ; on every session initialization. The probability is calculated by using
    ( U' j2 i+ E# G. R0 f. q9 P" W
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator0 D( ]: h! W$ a) G' h
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    ) G& u) p7 h0 `  L3 C
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    9 ?' D: U  w' g5 d. `: U3 [. E- i, z+ D' k
  1397. ; the gc will run on any give request.6 l6 t! a7 y# Z+ m' Q5 M2 F8 c# P# |
  1398. ; Default Value: 1- ?) p/ C, I7 {* t; l+ V
  1399. ; Development Value: 1
    ' B; ?4 c8 ^2 T9 k$ l; w  q
  1400. ; Production Value: 1
    8 G; d& |( J  {0 a3 n
  1401. ; http://php.net/session.gc-probability
    1 t- O; }" O/ S0 b5 j- e
  1402. session.gc_probability = 1  ]+ H8 q6 n- m& o* M  o! F
  1403. 8 ~, O2 y3 s2 S+ D; L
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    * c, s# S  I3 I2 ^% F+ H
  1405. ; session initialization. The probability is calculated by using the following equation:
    7 P' e% q' S# B; x3 R3 D$ K, ?$ P6 p
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and& `3 o' h3 Y# N
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    & k' Q& \7 b) L2 t+ O, @; s
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance) J5 b3 {& @! e7 v
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    / W/ @# ?% c! w0 t" M
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    : d% C% H* N/ A$ N; ^2 j) q
  1411. ; this is a more efficient approach.+ X' ?7 E" g) Q7 d- _+ |
  1412. ; Default Value: 100
    ) E1 x1 k  z0 w7 V* ]
  1413. ; Development Value: 1000- ~9 a2 A& |) m$ f* ^5 c) ~2 Q) m
  1414. ; Production Value: 1000
    3 U9 m+ P" O/ f
  1415. ; http://php.net/session.gc-divisor
    4 x5 }2 j' {% E5 Y7 w
  1416. session.gc_divisor = 1000/ ], ?7 i* f  z" c0 b5 r% g
  1417. * u. @0 [2 ?, e1 T
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    8 t% ?& A7 M3 j& v1 v& J
  1419. ; cleaned up by the garbage collection process.3 D, [9 L2 |8 @; {; E
  1420. ; http://php.net/session.gc-maxlifetime2 l5 l8 [' V, v, s& b- P5 Z4 z# k
  1421. session.gc_maxlifetime = 1440
    9 ]  x- l& c5 b' }
  1422. ( `: f# j5 b* l8 y$ F7 l# p
  1423. ; NOTE: If you are using the subdirectory option for storing session files4 q* E+ g. i$ x3 ?/ S' y' X6 p
  1424. ;       (see session.save_path above), then garbage collection does *not*& a: y6 t8 ^0 }7 k, a0 f7 _9 @. [
  1425. ;       happen automatically.  You will need to do your own garbage
    1 W3 @! G$ Q$ ~; R- x+ r, f
  1426. ;       collection through a shell script, cron entry, or some other method.$ e  z4 d9 V- G: @' S4 W
  1427. ;       For example, the following script would is the equivalent of
    ) L$ l2 y9 V  a; ?9 g
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    6 s  Y' x' ?+ N* D& P
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    8 F$ r6 D  s* K: U

  1430. 3 _1 {* m8 ?$ q; F7 K
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.% y( E% ^. G+ f6 |/ E
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    + P  J! A7 p) }0 i& y' }# J
  1433. ; considered as valid.
    1 r' W, }6 k& B( e
  1434. ; http://php.net/session.referer-check
    - Q& k6 O9 O+ Y8 I7 Z
  1435. session.referer_check =9 M" S- U" o% {7 _. ^8 r+ }
  1436.   X6 p0 j) [' a, |/ v
  1437. ; How many bytes to read from the file.
    2 b, U2 S' E0 z9 [9 A
  1438. ; http://php.net/session.entropy-length3 n+ h0 z; u, V) e. z, r
  1439. ;session.entropy_length = 32
    3 }, G% d& w4 P
  1440. ( B; R1 S' ~* Q8 s& j: ]
  1441. ; Specified here to create the session id.7 w5 J' H9 {2 z
  1442. ; http://php.net/session.entropy-file
      n. l- @% c( O# }
  1443. ; Defaults to /dev/urandom; F1 z9 K/ W" c' i& d
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    " r8 y5 q5 k! N2 c& ~$ q
  1445. ; If neither are found at compile time, the default is no entropy file.
    ( ~/ P% C7 }% |
  1446. ; On windows, setting the entropy_length setting will activate the
    / h" L" J. P0 k. J
  1447. ; Windows random source (using the CryptoAPI); @" \  O4 b5 z/ o8 @2 P
  1448. ;session.entropy_file = /dev/urandom
    & u+ B( u0 j/ J3 X1 `8 b, I/ \

  1449. 0 L' d  m: m$ w
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    " h  j8 v+ n8 b+ _8 J0 f3 ^
  1451. ; or leave this empty to avoid sending anti-caching headers.# g! h" j0 F: I7 w2 c' l
  1452. ; http://php.net/session.cache-limiter
    + ]0 R# d! z+ c" r' P. l* @
  1453. session.cache_limiter = nocache* g" N* _0 z7 S* M1 W" Y
  1454. , N, i% H. ~- h# w) B$ p
  1455. ; Document expires after n minutes.4 ~# [1 S2 o9 }: j6 p; O1 V- K7 k
  1456. ; http://php.net/session.cache-expire
    # s1 L! M& y& {( ]7 ^+ V# [
  1457. session.cache_expire = 180
    + P# W% `  E4 L( n- l+ P1 m$ z

  1458. 8 D, o2 T3 J7 a$ D
  1459. ; trans sid support is disabled by default.
    - r7 I% t  J" `$ P5 s/ `% p
  1460. ; Use of trans sid may risk your users' security.
    3 a% ]/ g# Q# G9 L& W* H2 W
  1461. ; Use this option with caution.
    ! m5 z: W: J9 `0 q( m0 @
  1462. ; - User may send URL contains active session ID
    1 i+ d% `5 o: g
  1463. ;   to other person via. email/irc/etc.( D* Q& s* Y, a+ B- }5 k
  1464. ; - URL that contains active session ID may be stored
    * e4 k; w7 n4 l8 I- c
  1465. ;   in publicly accessible computer.6 [. a7 J1 @; _
  1466. ; - User may access your site with the same session ID7 J+ X) W6 W4 n8 ^4 V
  1467. ;   always using URL stored in browser's history or bookmarks.
    4 \: F2 u$ b" ?  |" P4 w
  1468. ; http://php.net/session.use-trans-sid
    9 M* L* }8 e# O  {: f+ D' p( x
  1469. session.use_trans_sid = 0
    ! N3 J! [5 C) R' p( n8 V$ a$ Y
  1470. 8 Q! h, D1 V: V. M3 s
  1471. ; Select a hash function for use in generating session ids.
    5 q' ?: y6 F. {! ^
  1472. ; Possible Values
    / n% T+ R+ Z4 e
  1473. ;   0  (MD5 128 bits)
    9 E. [* i, I0 D( H( x$ |. Z
  1474. ;   1  (SHA-1 160 bits)# J$ q! ^3 f' D5 r
  1475. ; This option may also be set to the name of any hash function supported by
    ( ^: K- A4 n9 _& b6 Z
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()8 ~+ b# ]; W$ N) `! ~4 ]
  1477. ; function.5 ^* r2 B; h2 I7 i
  1478. ; http://php.net/session.hash-function
    + o2 {5 {- ~9 [: `: n
  1479. session.hash_function = 0
    5 Y7 L( E& K6 C% e, s5 m6 B

  1480. , _" U1 [+ o  a
  1481. ; Define how many bits are stored in each character when converting. I# Z, D0 M2 y* j
  1482. ; the binary hash data to something readable.
    1 x! q/ a) f& s
  1483. ; Possible values:4 _: C! H8 v* z/ Y0 K2 E: B$ @3 K
  1484. ;   4  (4 bits: 0-9, a-f)
    ! Q: l. x' \; o; N
  1485. ;   5  (5 bits: 0-9, a-v)1 C7 H8 X& W( m
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    : o3 y9 J. I% Y4 U$ A6 L% d
  1487. ; Default Value: 4; B3 R& _9 y- W: z! P9 ~% {
  1488. ; Development Value: 5
    ' ^3 ~8 x$ J* {0 @$ {! n2 f
  1489. ; Production Value: 5
    # I1 ]+ i* v4 S! M  K
  1490. ; http://php.net/session.hash-bits-per-character
    5 M4 _! v6 t9 P
  1491. session.hash_bits_per_character = 5
    1 P9 i$ d" V! }0 `6 {& ]

  1492. / j. b3 t+ Z, O: t
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.$ P' T1 z1 j6 [4 S5 p
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    7 l' c  k2 x3 T0 Y
  1495. ; add a hidden <input> field with the info which is otherwise appended
    5 \6 N' C" }5 B/ h
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.
    - J: F1 ^# ^6 Z' c( i: d9 L1 h
  1497. ; Note that all valid entries require a "=", even if no value follows.9 X; p  v% o. U# w8 ~
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset=", I- D8 ]) y) x5 n! [3 G. ~5 J
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"* f6 C% S4 `$ J$ H- z( [- p
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    - G7 A, }+ n" n9 Y5 ~: u4 A
  1501. ; http://php.net/url-rewriter.tags
    $ v* s  b) \( h
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    ( c$ d1 K7 T! S- b0 K' E
  1503. . c, q8 S+ h9 K! V4 z" g0 T
  1504. ; Enable upload progress tracking in $_SESSION
    / M+ Q0 [# J9 i: c9 L
  1505. ; Default Value: On
    ; r7 v9 A. S6 d/ B
  1506. ; Development Value: On
    % a! H& R; _+ k8 b+ s. o
  1507. ; Production Value: On  D- ?% _$ E; r& a5 R/ S  X
  1508. ; http://php.net/session.upload-progress.enabled! A7 p2 L' y; J: I# B7 E* ]7 W  M4 I' _
  1509. ;session.upload_progress.enabled = On$ h7 B" ]  Y& u" q' f

  1510. " a  J' C; X. b% ~( I
  1511. ; Cleanup the progress information as soon as all POST data has been read
    + {' ~3 D/ W, s1 W5 Y+ k
  1512. ; (i.e. upload completed).
    : k8 ?! v; ^/ A( M- g1 Y
  1513. ; Default Value: On- [) F& j4 I" N8 P
  1514. ; Development Value: On6 x! D3 h. ^/ a" _" n% L- G
  1515. ; Production Value: On
    3 Z8 G6 l" q. [5 n1 R( d
  1516. ; http://php.net/session.upload-progress.cleanup
    , I/ e( s$ V3 q/ x. \4 Q4 |
  1517. ;session.upload_progress.cleanup = On
    ' _; a( d0 B7 j+ H' a

  1518. 8 G. p1 U0 {5 L+ _( ~2 }: h7 w$ Q( t
  1519. ; A prefix used for the upload progress key in $_SESSION$ b( s5 V& v! R, g4 s- p  E
  1520. ; Default Value: "upload_progress_"0 c" H5 A7 E. @  G& R
  1521. ; Development Value: "upload_progress_"
    2 k  S3 W, y/ |! {; Z6 N
  1522. ; Production Value: "upload_progress_"
    * T. [4 h1 @4 e9 r1 J! ?4 }' S
  1523. ; http://php.net/session.upload-progress.prefix
    % M" [7 i# x1 \+ n
  1524. ;session.upload_progress.prefix = "upload_progress_"0 O! G" Z4 ]+ J% R

  1525. 0 g, w+ {! A0 w& C+ P* ~
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    ; f1 x9 `7 O0 e/ [4 V% \8 V
  1527. ; containing the upload progress information! y8 ?( l# P* j
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    , W  c3 d* j8 y+ E3 m4 ?
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS". K# C2 u- ?$ h& _
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    5 r0 L6 Y$ [6 U+ w% g# Z1 c0 b7 x! @
  1531. ; http://php.net/session.upload-progress.name
    3 {  ]) I. d; M( N
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"- G0 [  X9 j  t* o/ K' m. R
  1533. ! ]: q9 w+ [% m' ^7 `# l- o" q
  1534. ; How frequently the upload progress should be updated.
    . c0 r' F0 [3 b) _! f3 Q; g
  1535. ; Given either in percentages (per-file), or in bytes2 \/ c0 R+ N* K. b0 B  P
  1536. ; Default Value: "1%"
    3 `. k$ i1 ^5 m0 W% ~* U6 Y0 I
  1537. ; Development Value: "1%"! r, q, q, u" r
  1538. ; Production Value: "1%"
    ( `- Q! G# @. F4 B2 s+ ?& t4 b1 K
  1539. ; http://php.net/session.upload-progress.freq& b; v( }0 d' F0 G' {* v0 p+ M5 r
  1540. ;session.upload_progress.freq =  "1%"
    ) e& ]/ _& v/ V" [; h' P$ E
  1541. . H/ i% a" I" Q+ K0 p6 q
  1542. ; The minimum delay between updates, in seconds
    $ u: q' `# b$ t9 N
  1543. ; Default Value: 1
    7 y0 M* z) X; ]& A+ ~! z( F- C
  1544. ; Development Value: 1
    , V5 c- u! j: \( i9 a  K, H
  1545. ; Production Value: 11 K: @  a& ~! |2 ?) d3 s# ]5 h. J
  1546. ; http://php.net/session.upload-progress.min-freq
    $ C/ s2 r- q# M. F. Z% p
  1547. ;session.upload_progress.min_freq = "1"
    - z: h7 n3 N( L4 L  s! T0 u

  1548. 4 F9 @  {) a$ t1 b# E
  1549. ; Only write session data when session data is changed. Enabled by default.1 a6 F+ t& ?- j, l
  1550. ; http://php.net/session.lazy-write
    $ u( k$ ~5 ]- a4 C$ ?; r3 j
  1551. ;session.lazy_write = On& U8 V9 U2 X: l1 A/ a3 |  n' L
  1552. & c: s% V: M: g% Y
  1553. [Assertion]
    - K& V8 Q: H- C1 M8 l' _$ ?0 O
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    ) p6 a/ \4 n9 j, p: }
  1555. ; -1: Do not compile at all
    6 O) w. s( Q! z1 g5 X  y
  1556. ;  0: Jump over assertion at run-time
    ) _5 }5 q- D3 M. c2 V
  1557. ;  1: Execute assertions' N6 @. i* A4 b" {% \
  1558. ; Changing from or to a negative value is only possible in php.ini! (For turning assertions on and off at run-time, see assert.active, when zend.assertions = 1)
    $ F6 ^+ I  b9 q
  1559. ; Default Value: 1* m8 ]2 G2 s9 R& S! U# ?
  1560. ; Development Value: 19 Q# A1 x0 r( d2 Q% K6 Y5 h6 x& X
  1561. ; Production Value: -1& c" h$ z) K" w! t
  1562. ; http://php.net/zend.assertions0 k; Y4 y4 a! w" P) j
  1563. zend.assertions = -19 V  V8 A& n& Y7 F4 l

  1564. ' G/ ]! W2 j; @% |
  1565. ; Assert(expr); active by default.
    . Z8 N( r* K0 X9 W, R# @
  1566. ; http://php.net/assert.active
    7 g$ q2 v' g% r# R: T
  1567. ;assert.active = On& K& Y1 f  _( R- E4 h2 x! r

  1568. 3 j# U. b3 ~' s" g0 x9 Q; s
  1569. ; Throw an AssertationException on failed assertions$ u' f. R, X. O; N2 `. ~! X1 U8 m* C
  1570. ; http://php.net/assert.exception  o7 ^% |: ^  ]' Z
  1571. ;assert.exception = On% i- m; z- _, N, E" z. f

  1572. ( P0 i$ \# k# z+ H' |( j
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    $ R$ P) l$ s. y
  1574. ; http://php.net/assert.warning  }/ d6 u$ U+ d; w
  1575. ;assert.warning = On
    5 _' I1 l: m0 Y9 J3 V: Q' W* J

  1576. $ ^: {  s7 r( i2 ]/ B
  1577. ; Don't bail out by default.- N; z0 R9 ]3 a+ E, n9 p. \6 H
  1578. ; http://php.net/assert.bail
    $ W* s+ E! `: J6 Y( x/ q3 M: d- }
  1579. ;assert.bail = Off
    - G- p, z8 @" e, n/ e0 H! B
  1580. + F5 p0 k# x4 v" j: ?/ v- |
  1581. ; User-function to be called if an assertion fails.
    ( ?: J3 s; P6 M2 W2 ~
  1582. ; http://php.net/assert.callback% b6 }, F+ _5 X! Q
  1583. ;assert.callback = 0
    ) d. k0 H0 B; K( J$ F$ X0 K

  1584. + u: v& E( r9 t8 j+ Q3 Z7 L4 `  [
  1585. ; Eval the expression with current error_reporting().  Set to true if you want" {# x5 Z7 t( ~1 U/ P
  1586. ; error_reporting(0) around the eval().& Y/ D& C8 C" m0 b  A( S
  1587. ; http://php.net/assert.quiet-eval, K* r, ?4 Z% a/ }
  1588. ;assert.quiet_eval = 05 J/ z5 v, q, |% W  F) M5 C

  1589. $ n: A2 F! _6 d& w6 I# g/ Z/ o
  1590. [COM]; u" f. N# Q# Z. K
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    " K4 @7 T1 M" F% c. v
  1592. ; http://php.net/com.typelib-file
    7 a! W% J$ g+ t* l& J& B+ D
  1593. ;com.typelib_file =, {( P! m; x2 E& O2 S/ e( }
  1594. $ z5 ?0 Q4 {$ z3 G8 b
  1595. ; allow Distributed-COM calls
    % r; {1 G; T5 m, J, |4 g' E: ^
  1596. ; http://php.net/com.allow-dcom
    7 S  u- Q1 P7 I" I8 m
  1597. ;com.allow_dcom = true
    # I- Y+ ^: S$ E7 E$ U& h# T
  1598. ; s9 @, \, y4 y1 u6 t+ r5 K1 j
  1599. ; autoregister constants of a components typlib on com_load()
    9 c+ v7 m) l4 m: C
  1600. ; http://php.net/com.autoregister-typelib$ S. X: V+ O* [- U6 f6 V
  1601. ;com.autoregister_typelib = true& |1 F& b' U4 c+ d  @: ~$ ]  X8 g( \
  1602. 9 ~! q# {# u" s" _0 g: L
  1603. ; register constants casesensitive
    ( M( }4 F. L# i% v
  1604. ; http://php.net/com.autoregister-casesensitive( e- q! R# K. m" E6 N9 [$ J
  1605. ;com.autoregister_casesensitive = false
    # D6 V! B  _0 H  W+ s

  1606. - o2 g6 H/ u+ ^7 `7 n7 ^
  1607. ; show warnings on duplicate constant registrations
    1 y( |% i# P& L" m: G
  1608. ; http://php.net/com.autoregister-verbose) Z7 n' q& T2 A+ ^) T! T
  1609. ;com.autoregister_verbose = true
    9 s! f) K2 ?4 T, A' Q. D

  1610.   e# {' A8 b; h8 f( r+ O* A
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    8 B" Q3 s) ]; ?3 _
  1612. ; Default: system ANSI code page% R% v. G7 ~( U% E
  1613. ;com.code_page=( w( S( E7 q" }4 i! q8 P6 f- \

  1614. $ k9 Z$ I2 D4 B* G! u  J4 G! {
  1615. [mbstring]
    0 n; V& h& v  x1 v, p' k, X% X
  1616. ; language for internal character representation., C& c$ X" [3 b* g
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    0 c) |+ H/ V8 i, |6 ^; l
  1618. ; http://php.net/mbstring.language" G) Z3 q5 X! h% C! c$ s
  1619. ;mbstring.language = Japanese
    1 E4 K8 k+ N  h, E$ ^% }' F
  1620. $ z& Z# v8 r% ?# q
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.5 s8 O. a, G. D! c2 G  o8 n$ F
  1622. ; internal/script encoding.9 }% s# }: K, _4 W- h5 l1 t
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    ) ~7 j2 f3 B% D  U$ w- r
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.. i" ~1 a0 Z( ^) _( H) t
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    : ^9 O2 i4 ]2 a5 D* T9 w6 \
  1626. ;mbstring.internal_encoding =: x% p. c* J! k# s) B+ w
  1627. 2 N" T0 M- o* p6 l6 d- k
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    9 l$ E- ~! p2 n
  1629. ; http input encoding.
    7 a0 ^. V( X3 T2 i/ N9 Q* E! j1 M
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.7 c! J4 c8 K! F  @8 f
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.8 c! l  X4 {( }
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    * a. m: W2 i! U# r' L' p9 o7 V2 p
  1633. ; http://php.net/mbstring.http-input! }: ~8 E, ?. x! T+ p
  1634. ;mbstring.http_input =3 l' V0 T+ }* S7 ?9 m) l* p

  1635. ' ^- u% }. i8 G4 ]
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    9 `3 n! C  O" O- `& d! g$ d) ]  B
  1637. ; http output encoding.
    . M6 G- K9 j' I; C# g. h
  1638. ; mb_output_handler must be registered as output buffer to function.
    , c, G. K7 Y" f, H
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.9 x9 ~* h$ d' G1 X
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output' ?5 p! `; Q+ ]0 b
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    & i' O, q8 @* T
  1642. ; otherwise output encoding conversion cannot be performed.
    % T* V  |+ U; R0 j
  1643. ; http://php.net/mbstring.http-output
    2 q; N, L' ]! t% [' U! Q
  1644. ;mbstring.http_output =& w! J& ]. t  f' a, _

  1645. + P! _# Q1 M+ ^" y* [/ _: m, t
  1646. ; enable automatic encoding translation according to
    ; }7 m5 ^# l/ u) R2 R- Q2 I: E( Y
  1647. ; mbstring.internal_encoding setting. Input chars are4 Q& E9 V; P! S8 L. b4 l, d
  1648. ; converted to internal encoding by setting this to On.6 g" R. O$ P! k2 }
  1649. ; Note: Do _not_ use automatic encoding translation for$ A. j. I& G; ]3 `$ u2 B+ T7 h
  1650. ;       portable libs/applications.
    ' C# J, Z) Z. U4 i  p+ w* i1 J7 i
  1651. ; http://php.net/mbstring.encoding-translation2 b8 H( K/ l+ _' h" y
  1652. ;mbstring.encoding_translation = Off
    ; H6 L6 t0 e* ~9 [/ j3 f1 p

  1653. 1 c, C- b1 m4 l  a
  1654. ; automatic encoding detection order.
      F$ P7 O/ P1 _8 `
  1655. ; "auto" detect order is changed according to mbstring.language
    3 P# Z" [' q0 G- k7 X4 \
  1656. ; http://php.net/mbstring.detect-order
    # _, I5 W" n; ~) A1 z
  1657. ;mbstring.detect_order = auto9 c  l( u  ~! y2 x
  1658. ! L' y$ h" }6 p
  1659. ; substitute_character used when character cannot be converted
    ' s1 I0 t* p6 m) g( A, u  Z+ E2 |
  1660. ; one from another
    0 U- ]  B' D" {2 e& ^
  1661. ; http://php.net/mbstring.substitute-character
    6 a  a3 ?) @( S7 I( I2 V+ ~2 o
  1662. ;mbstring.substitute_character = none# n% }1 o3 V7 {
  1663. ) P$ Q6 z3 n: k" C3 x! d+ {
  1664. ; overload(replace) single byte functions by mbstring functions.' I9 V+ k- f2 N
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),2 J$ _4 \0 \. x' Q* h5 H
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.7 e& F. t: X. F& G; B6 B. ~
  1667. ; For example, 7 for overload everything.
    ! P$ o. ~, {9 S) o7 ~8 H
  1668. ; 0: No overload) ~4 {" }" w# Q% Y
  1669. ; 1: Overload mail() function1 \0 G( f/ @$ W6 i5 U7 [% Y% a  ]
  1670. ; 2: Overload str*() functions9 O8 s* t: W8 H# K# D2 j
  1671. ; 4: Overload ereg*() functions
    8 M( E1 \- F' I; a- E
  1672. ; http://php.net/mbstring.func-overload8 v9 t5 H, J8 X% |5 `% @
  1673. ;mbstring.func_overload = 0
    7 w$ F1 |9 v, {$ d
  1674. , R% v( U3 W7 o2 j# N
  1675. ; enable strict encoding detection.% H# W- M. I2 E" P7 B# i5 N1 {
  1676. ; Default: Off" d# }' j2 {& A& u3 o0 K
  1677. ;mbstring.strict_detection = On& T' @/ m+ D- y! K8 p% T$ f; `; T
  1678. 7 N8 f; |6 h) n! @
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()2 o/ w0 r1 q6 R- T2 R+ f
  1680. ; is activated.
    + h* C, b  f( @
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    # h: W( d8 @/ s0 ?  H% t' f
  1682. ;mbstring.http_output_conv_mimetype=
    3 x' h, p1 Q2 u5 o- F
  1683. + B* u3 V) P( ~1 x# f! P
  1684. [gd]& C5 L* w) d) |1 X1 _
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    : i* N0 g4 u' h0 ]% ^) ]+ I$ E) Y# g
  1686. ; a gd image. The warning will then be displayed as notices, r2 t& T" k" N7 J* t" f
  1687. ; disabled by default
    % Y& _0 y/ I- h& z0 _* F+ g
  1688. ; http://php.net/gd.jpeg-ignore-warning0 b$ I% F3 d; [1 @; S; e1 @4 q
  1689. ;gd.jpeg_ignore_warning = 0
    . D2 j/ _7 I6 h8 f
  1690. , T5 ?2 w  z/ B# |/ f5 n
  1691. [exif]
    3 J  ?( ^$ r% _* Z/ L8 O! |4 b+ z
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS., F, y8 J. r$ w9 K* V
  1693. ; With mbstring support this will automatically be converted into the encoding
    3 F8 Z, H. P% ^9 A- c: \+ s
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding* U$ B7 d. J- q$ t
  1695. ; is used. For the decode settings you can distinguish between motorola and
    % S$ |) y3 V" D0 r
  1696. ; intel byte order. A decode setting cannot be empty.8 @! u, \+ t. N7 C! U7 p  h6 F
  1697. ; http://php.net/exif.encode-unicode
    1 Q  |2 G: Q7 m
  1698. ;exif.encode_unicode = ISO-8859-15' f/ n# d- K1 U

  1699. + I5 B; \0 z, _# I8 \, i! Z* P3 S6 w
  1700. ; http://php.net/exif.decode-unicode-motorola
    ; K" q2 i$ b8 z' h/ [* h
  1701. ;exif.decode_unicode_motorola = UCS-2BE! C& e& n) y2 M9 k: d

  1702. 3 |7 |! B) f% r: k$ g$ a0 J
  1703. ; http://php.net/exif.decode-unicode-intel; s! o) t6 S3 \) y
  1704. ;exif.decode_unicode_intel    = UCS-2LE
    8 u1 g. N& F! u3 c2 i* @
  1705. , w9 [/ O* U/ W5 [
  1706. ; http://php.net/exif.encode-jis
    % k) q7 f; K' ]2 Y+ |
  1707. ;exif.encode_jis =
    - L3 H; o! \* V% i9 U4 N6 u
  1708.   G1 O8 a9 r, L
  1709. ; http://php.net/exif.decode-jis-motorola& p. ^7 }7 `! D. g, v- i
  1710. ;exif.decode_jis_motorola = JIS+ w: P0 F+ V# N9 {. A2 P
  1711. . V' S' T! c6 I# C9 L) J
  1712. ; http://php.net/exif.decode-jis-intel$ B* U8 J+ i0 L( u- B, z7 V
  1713. ;exif.decode_jis_intel    = JIS, k& m3 J$ K: F$ q0 t: }
  1714. , I& m9 O2 R- c( j& ]
  1715. [Tidy]2 U0 X0 t5 f: y
  1716. ; The path to a default tidy configuration file to use when using tidy
    " S  K$ U/ C4 n! w; c# H6 L( S7 n
  1717. ; http://php.net/tidy.default-config6 S% N8 Y$ ~8 `0 O' W. ~( N* O
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    1 D8 ?8 j- y5 u

  1719. ! P" Q; F3 n5 {0 i6 C+ {( c8 i; i
  1720. ; Should tidy clean and repair output automatically?
    9 J% W: m- D7 O  q9 s1 I% _
  1721. ; WARNING: Do not use this option if you are generating non-html content
    # }, ?3 ^4 J- }: i- D
  1722. ; such as dynamic images
    / u5 @! E; h: ^/ ~2 O2 v5 u0 `4 ^) R
  1723. ; http://php.net/tidy.clean-output
    + U  D$ J* m4 h' M( h5 m4 S
  1724. tidy.clean_output = Off
    , [0 m+ Y4 Z0 d

  1725. 7 @' K+ Y! @) z) ~  x
  1726. [soap]
    , ^5 s2 O6 Q! r. r
  1727. ; Enables or disables WSDL caching feature.
    " J! g) _2 ~# Q* {
  1728. ; http://php.net/soap.wsdl-cache-enabled
    # |2 q; P5 L0 m2 |2 w% b6 _1 l
  1729. soap.wsdl_cache_enabled=1' s( R6 _+ e% U5 @
  1730. " ]0 m  K. p9 E9 T- i: R8 L
  1731. ; Sets the directory name where SOAP extension will put cache files.
    2 d4 o0 D, L9 ?) N' ?
  1732. ; http://php.net/soap.wsdl-cache-dir
    - f( o7 s3 {. }' H4 H, o  w8 a
  1733. soap.wsdl_cache_dir="/tmp"2 C* v# |/ g' g9 X) ]

  1734. ! o7 k$ a* U/ R  |2 O/ a/ O* E' ~
  1735. ; (time to live) Sets the number of second while cached file will be used, L* r$ ]% c' C5 d& X" p- G6 {5 e
  1736. ; instead of original one.
    # W! ?) }# i2 s8 D" [
  1737. ; http://php.net/soap.wsdl-cache-ttl
      B0 f( b" w8 f( M0 Y- T
  1738. soap.wsdl_cache_ttl=86400: y. w. e3 Y! k9 E

  1739. , x; T4 e' m: i/ w/ D
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)+ r. Q8 @& e2 `6 d% e4 C
  1741. soap.wsdl_cache_limit = 5( U* Z; V5 M' x

  1742. , W- F% k" L  R# }
  1743. [sysvshm]
    " N9 V8 c: |9 H
  1744. ; A default size of the shared memory segment
    ; h' }; q6 J7 L! Y
  1745. ;sysvshm.init_mem = 10000" o* B) h, H' E8 \- k& J# |7 q
  1746. ! [) V( X) K: v8 [
  1747. [ldap]1 Z, d, ~; M. x; y$ r% R- S: x
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    0 y" z: z& |& z1 w0 b# m$ E
  1749. ldap.max_links = -1
    ( y% f6 |# C. b% \

  1750. 9 b! j! g0 S3 r1 }0 c
  1751. [mcrypt], Q8 r( U' p4 `: ?& Y& v/ c
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    + {2 P$ \1 v, w

  1753. 8 p, x3 `; _7 @+ |' m
  1754. ; Directory where to load mcrypt algorithms9 P) Z- W+ d/ X% e9 U" b* l! k
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    ) Q5 H; E8 D$ p/ k8 ]: ~$ u  u
  1756. ;mcrypt.algorithms_dir=
    - Z  K0 ~. X: P1 f" Y6 ~3 z9 j
  1757. 4 ]2 B6 S* R3 e' k: w) t
  1758. ; Directory where to load mcrypt modes/ m' Z0 F9 t) o, A( U
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    6 k% k8 O* B2 S/ h- F
  1760. ;mcrypt.modes_dir=; a) J6 ]% I( j
  1761. / t' s- @. n7 U" {6 R& C( B
  1762. [dba]
    6 ?' h7 _9 ?" B+ j
  1763. ;dba.default_handler=  H2 ?) \( I6 x. M" x$ O% D+ E7 D- ]
  1764. 3 B$ H4 K# b0 k/ r
  1765. [opcache]5 u5 F- C  ^4 h$ o2 ^! a
  1766. ; Determines if Zend OPCache is enabled
    / A9 X$ m# X  \' n
  1767. ;opcache.enable=0% K1 }4 O& |# m0 N( {$ j: n
  1768. . L* b0 u& T& K9 V& M
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP7 w4 W3 k+ S6 H5 j
  1770. ;opcache.enable_cli=0
    2 a' D5 n  ^+ r0 L! N- W

  1771. & k% Y' B) |' g; Z+ i: E
  1772. ; The OPcache shared memory storage size.! u2 ~5 \1 b' o8 L; S# G0 A9 z
  1773. ;opcache.memory_consumption=640 q( v8 V/ D/ \9 b# q1 _8 a

  1774. - q# g5 D- C5 r% l$ k% V2 c$ T
  1775. ; The amount of memory for interned strings in Mbytes.. e7 p9 e: u8 v  w2 B
  1776. ;opcache.interned_strings_buffer=4. x! A# S, c" c0 I& v

  1777. ) V) W; Y; H# D. ^0 Z6 v; |4 V" A) f
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
      f4 P7 \4 M; q1 F; T
  1779. ; Only numbers between 200 and 1000000 are allowed.
    4 n  }! B3 {- {; X& U$ s- q
  1780. ;opcache.max_accelerated_files=2000
    - f- m- B( Q6 N) k2 N; w
  1781. # b( x7 h; V0 O7 L3 `+ V; n+ a$ a' i
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled., r2 y! z3 n& o- F
  1783. ;opcache.max_wasted_percentage=5
      n' R# u, s0 A" R( H

  1784. , d  D, v9 x) F) \* ^* g3 [
  1785. ; When this directive is enabled, the OPcache appends the current working' D# ^& C7 |6 z) s
  1786. ; directory to the script key, thus eliminating possible collisions between
    . y/ ~0 q( g) A, r& ?; `
  1787. ; files with the same name (basename). Disabling the directive improves
      n' s$ d) C! `; {
  1788. ; performance, but may break existing applications.! `# }8 X: U. S, r" c) T; Y' R9 L9 j
  1789. ;opcache.use_cwd=18 Y0 m' _5 W2 o+ l
  1790.   j. y" m7 B! x! c( w/ w# l
  1791. ; When disabled, you must reset the OPcache manually or restart the
    4 F' r) {# M7 h; P! W$ t1 b
  1792. ; webserver for changes to the filesystem to take effect.
    4 @; y& b( w, w8 P3 c
  1793. ;opcache.validate_timestamps=10 [7 i8 o; L& j/ W+ U% {4 N3 @

  1794. 5 ~; A- A7 _$ ^5 x# e" ?
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    ( g9 L0 S$ k: Z3 B+ I
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    . V& x$ g' M! b9 U
  1797. ; once per request. "0" means always validate)" `5 O- [7 T$ W
  1798. ;opcache.revalidate_freq=2* Q- z) O0 t, E1 m
  1799. " d- U% a$ Q2 T9 N# J
  1800. ; Enables or disables file search in include_path optimization. b; U4 C( U. B! k9 o3 Z3 l
  1801. ;opcache.revalidate_path=0( H5 T/ s) n+ L$ _1 W  n

  1802. 5 K- P/ e! A+ b+ G; J/ p) }
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the. Q3 r/ n( D1 W3 n( {+ s
  1804. ; size of the optimized code.
    $ U. h4 K  I7 h0 R
  1805. ;opcache.save_comments=1
    & P: S5 B, U* t( K, T0 a! E2 C

  1806. ( _# {- m, [+ F+ y/ y# g* |! W
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code) ], a4 ^- @0 K9 U, `2 l
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities./ @( k5 ]: X+ l5 H
  1809. ;opcache.fast_shutdown=0
    . e& P7 V0 T+ L6 @8 h7 H
  1810. / O' A( p5 U4 J$ o( h0 B. g# d
  1811. ; Allow file existence override (file_exists, etc.) performance feature.% O3 I, W& R6 N( p9 x
  1812. ;opcache.enable_file_override=0, s- @$ W6 h' x$ f

  1813. ; I2 P$ w' P6 L
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache
      x0 C: W1 v" F
  1815. ; passes9 ]0 w+ L. l: x1 ?, O- O
  1816. ;opcache.optimization_level=0xffffffff
    + S0 A% x0 k0 v- {

  1817. # `! a" H. O, y7 j% C# M* W
  1818. ;opcache.inherited_hack=16 z* Y- m, n5 j
  1819. ;opcache.dups_fix=0
    , O! W  E; r( e) x6 J6 x! l

  1820. # j) [  x2 T0 K4 ?8 j! A
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    " f8 j( |7 O4 q/ c. {; `
  1822. ; Each OPcache blacklist file is a text file that holds the names of files, V/ M* u) J2 n* ]1 |( J) X9 y
  1823. ; that should not be accelerated. The file format is to add each filename' u! B% u$ ~1 C
  1824. ; to a new line. The filename may be a full path or just a file prefix
    4 }1 _) v9 M8 P$ Z2 d- c% X% h
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    , X( d7 g) m& c. o
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).! P$ v: Q( R% f
  1827. ;opcache.blacklist_filename=. A1 V1 ?' I3 c4 j  a

  1828. ( O: {% J# P: o% B
  1829. ; Allows exclusion of large files from being cached. By default all files
    3 n: A& H( M6 Y7 b  ^0 O
  1830. ; are cached.( _; u# C8 k- X0 k0 E7 {/ p4 M
  1831. ;opcache.max_file_size=0# w7 ^' c1 A/ J% B& U
  1832. - N! V0 d0 E/ K
  1833. ; Check the cache checksum each N requests.
    4 g+ {# G- e9 ]; G
  1834. ; The default value of "0" means that the checks are disabled.( \, \$ J) u3 ~/ C: L9 P
  1835. ;opcache.consistency_checks=0$ F6 k4 b7 r: k# `8 q

  1836. / z' r5 Y' C2 W' s. B, r1 G: W
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    0 O. j) V0 X8 o! d
  1838. ; is not being accessed.) ?5 X% C) ?& z5 g% s
  1839. ;opcache.force_restart_timeout=180
    ; |- f9 ]. t* v+ O5 q& Z* c; m

  1840. 0 o; z$ e3 i  E& L& W( I
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    : i  ~3 K( d; _4 ~- X" M, k8 W# O
  1842. ;opcache.error_log=
    : g2 f8 A  s8 O! W+ R
  1843. ' f& n; }! s+ l, B2 f4 L1 f
  1844. ; All OPcache errors go to the Web server log.. g! L8 V3 ]7 |! s
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.6 [1 ]: Y) u, ?% \; |
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    * x, Y& h5 N6 f) ~
  1847. ; debug messages (level 4).
    / m+ U7 j3 |% l/ Q* C! Y
  1848. ;opcache.log_verbosity_level=13 `& z2 U! [4 O$ Z
  1849. 4 i4 O' U  j7 H  J
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    ! @1 S. x. u% L( \
  1851. ;opcache.preferred_memory_model=. l. Z5 A- o: I$ w8 s9 B# M* N

  1852.   a* W" z! y2 D5 v* W6 L2 U
  1853. ; Protect the shared memory from unexpected writing during script execution.! z5 N: N; i  c" N) _2 I. _
  1854. ; Useful for internal debugging only.
    + `+ v4 G( Y; f8 ], w
  1855. ;opcache.protect_memory=0
    9 s/ q( ^( W3 V1 p  O
  1856. , W9 w( R1 Y" h. R. y. j6 i
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is0 ]0 N7 S4 b, J* U8 P+ ~+ L/ z
  1858. ; started from specified string. The default "" means no restriction  P4 l# l. \& @+ `( i- x
  1859. ;opcache.restrict_api=3 ~8 {3 q7 v+ }& S& z4 P6 B

  1860. 4 C- V; O5 v7 S6 ~8 Z/ g
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    4 E. Y: c- O0 P3 ~
  1862. ; processes have to map shared memory into the same address space. This
    : I/ I4 g/ k. E4 B  L: x
  1863. ; directive allows to manually fix the "Unable to reattach to base address"  e1 x  ^/ U+ `2 Q+ X, z
  1864. ; errors.$ j  }5 I. h  C, Z; u
  1865. ;opcache.mmap_base=
    $ u- Z% y8 b; E' i; T
  1866.   b8 Q1 d; b$ c# o, V( D* R2 q
  1867. ; Enables and sets the second level cache directory.
    ' b8 K# Q7 z$ X8 B! m# f! Q/ h' G
  1868. ; It should improve performance when SHM memory is full, at server restart or
    & J# B" Q2 s5 k1 Q" V! p/ R
  1869. ; SHM reset. The default "" disables file based caching.
    3 D& ]9 S* c2 i% T2 z+ S9 t' g
  1870. ;opcache.file_cache=
    : g, W! U& _; b. K' Q

  1871. ) c' Z" \5 p1 n1 j* a8 W
  1872. ; Enables or disables opcode caching in shared memory.
    5 R- P& M% j. n  j! v: \
  1873. ;opcache.file_cache_only=0  k3 p; C$ m6 u% B- P2 H

  1874. ! V& ?5 n) |/ c& G% h; l; T' _
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    # ^  |6 R' F0 J" f9 D' G
  1876. ;opcache.file_cache_consistency_checks=19 F# O1 d8 \* r) l4 c( P

  1877. 7 m" r% |/ H* |; A; U* y& i  v+ F
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to4 B" N. H1 X* O5 y, E2 ~
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file! S: @2 s  {* x- }& j& j
  1880. ; cache is required.1 c- j- M) P" Q, U4 Z3 p
  1881. ;opcache.file_cache_fallback=1
    5 J+ R5 q+ U1 `  k+ @' e
  1882. " [" j$ a7 v/ }" r8 {5 f
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    9 W0 L# U) e, |) P% L: U$ n$ _( k
  1884. ; This should improve performance, but requires appropriate OS configuration.
    9 _: `" K' j9 r( D
  1885. ;opcache.huge_code_pages=1) Q2 R; n, Y) x# z) n5 }

  1886.   x7 q4 n, H- y, Z% o4 u7 s. @& B
  1887. ; Validate cached file permissions.& {! ^3 A5 k7 ^
  1888. ; opcache.validate_permission=0" G9 R8 b3 {6 L2 Y* p
  1889. ) b4 d: w7 V9 V9 ]4 R1 F4 p
  1890. ; Prevent name collisions in chroot'ed environment.- z* S9 ]  n, P4 y
  1891. ; opcache.validate_root=0
    2 h& d, X. ?* ^

  1892. 7 z2 g% |* F- d3 ?2 i: s5 h, h3 V
  1893. [curl]- R$ ]- q; \( @& T& x' E4 \6 N
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    # T; N& p- \; D/ v
  1895. ; absolute path.
    & {& t  w/ H% M! c" K
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    ! P6 s# P" \. J- j- l5 w

  1897. . ^2 h3 w# y$ ?% i! ~
  1898. [openssl]( D; Y* v6 i/ T; `$ L$ y4 s
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem) C2 T, O; W# W; X0 [- ^. `
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    ) j0 E  u3 n7 N& R
  1901. ; not specify a value for this directive as PHP will attempt to use the/ P+ U' ?" x7 l& L2 v
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    9 b" o2 X! c9 H, l( v  D
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context0 L9 Q  t/ _8 O. k/ w' P
  1904. ; option.% c$ ^  ?* b4 Z( @. J, u4 ]: o! R5 r
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt$ t' i4 m# ^, W  y$ A$ q* y* C

  1906. 9 P( @! _3 {' C7 ~5 T, i! p
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    ! S( y2 g$ B7 e
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    , c0 s% M0 E' G) J3 Y! T& c
  1909. ; certificate. This value must be a correctly hashed certificate directory.; N4 Q1 X7 Y& [" D# `7 a' Q
  1910. ; Most users should not specify a value for this directive as PHP will; p  B& v0 i/ H' m! `
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,, o# H: h4 @- a* w1 x7 s
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    / W2 m* U& u' s" i
  1913. ; SSL stream context option.7 Q- _! S2 m2 `# N( Q- }- k3 z
  1914. ;openssl.capath=1 U7 W( T" I9 |, R+ E

  1915. ; A9 O* `! x( j& n
  1916. ; Local Variables:7 ^) }( ^5 K- o' W8 n
  1917. ; tab-width: 4
    8 q5 S' d8 |5 u! s; I
  1918. ; End:0 p9 C! E/ A/ j4 s9 s1 {9 r$ [
  1919. 0 ]0 N4 n0 C. ]/ N1 l3 h# [- k
  1920. ;eaccelerator& [. ]5 A2 @( }0 V  M6 w% w

  1921. 4 N% q6 |/ F$ J8 Y* O
  1922. ;ionCube
    ; g5 {3 j: w( P; O, k3 B
  1923. % T+ W# ~" _5 C4 p6 N; B
  1924. ;opcache1 m9 Q# v, K" b0 X
  1925. ( \7 }. O+ w5 Y8 X" \- L
  1926. [Zend ZendGuard Loader]
    ; g! @, j  Z9 _0 m8 e
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.9 {) L. Y* E! L$ E
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so6 i) w$ L+ e. u& ^% ~' w
  1929. ;zend_loader.enable=15 h6 K& f5 h+ p; `+ I# X- [9 E" W
  1930. ;zend_loader.disable_licensing=0
    8 W# T+ A- v; U# Q; W2 Y" B
  1931. ;zend_loader.obfuscation_level_support=3
    1 Q- S, z# R" M5 W+ l2 |# J5 z
  1932. ;zend_loader.license_path=
    + @1 t0 x( z" p$ t

  1933. 5 X3 R+ T3 z* X( w% |! {
  1934. ;xcache
    ' d0 v1 Z  v1 X2 l9 X
  1935. + Y/ z. F$ v/ e& L' L8 a
复制代码
$ H: f1 [# G5 F7 T5 f4 p

$ @5 E# Q- K* S1 o* D) C3 I$ l, h, @( I2 Z

+ Z" M# f6 t+ S  U8 O" i- Z) U8 U7 a6 o2 ]5 b# q

/ ?# U$ }1 K! d
* G- K3 ~) h4 @/ uPHP5.6版本原始设置
0 j) H1 `% l. A. R9 x5 |  e& F7 X( H$ n
' l9 X' r/ Q2 Q. A' N& n
  1. [PHP]" E8 W. {, p; e- `- ~
  2. ' O; q2 y5 y9 H+ D
  3. ;;;;;;;;;;;;;;;;;;;
    0 Z# a' ]& M2 _5 y' {$ H
  4. ; About php.ini   ;9 y  N7 u! x6 ~" P' |* B
  5. ;;;;;;;;;;;;;;;;;;;9 ^$ a# x5 y+ @$ H
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    5 k' p; @7 y2 W- h2 x& W( v
  7. ; configuring many of the aspects of PHP's behavior.
    5 I6 i3 [4 v9 |+ z# y& l- ~# B
  8. . l4 F. k- R( w! G% e0 a
  9. ; PHP attempts to find and load this configuration from a number of locations.
    3 ~2 B, M) m; N2 p; z( p
  10. ; The following is a summary of its search order:
    8 ]( ^" B2 x  x
  11. ; 1. SAPI module specific location.
    8 Q  s1 j+ A9 Y2 H3 u1 v+ B4 c
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)- Z4 O, ]4 t% H# n  }' z( e- D: U6 `
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    8 T1 ?$ @( ~2 f- s2 m9 s" W1 w' W% L
  14. ; 4. Current working directory (except CLI)
    5 i# }( `  ~* r
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP4 R/ k! t+ {  P2 M. _4 G" R4 n
  16. ; (otherwise in Windows)) [/ m+ D# [% J4 K: L# O
  17. ; 6. The directory from the --with-config-file-path compile time option, or the: `! T+ c  L) z* Z9 r6 P  d' {' M1 b
  18. ; Windows directory (C:\windows or C:\winnt)
    1 T7 ?: M6 s; i
  19. ; See the PHP docs for more specific information.
    * }; R, i% ^& A  F' G, g
  20. ; http://php.net/configuration.file7 b6 ]- W6 J) k+ K$ C2 M& Q- j
  21.   K% p+ q2 ^, u  {) A
  22. ; The syntax of the file is extremely simple.  Whitespace and lines* f. z6 n, g9 ^. d0 R3 Y% t7 T
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    3 Y9 w% E# I# B
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though. E% s$ U) W6 q* T) v7 z1 _. B
  25. ; they might mean something in the future.% s  E6 H1 |5 |7 @7 s1 }9 l

  26. + g! [5 q1 j; w8 B& L
  27. ; Directives following the section heading [PATH=/www/mysite] only! e" z. ?$ q( K7 C: b: }) U2 c
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    / \- n$ }! D6 Y) V- `- v* a' x1 D3 P
  29. ; following the section heading [HOST=www.example.com] only apply to
    + K- T- ~& w- l
  30. ; PHP files served from www.example.com.  Directives set in these. q8 c0 X# H9 x* ?
  31. ; special sections cannot be overridden by user-defined INI files or: z% \. V. C5 @2 J7 R  e
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    8 Q/ a, {& Q; C9 [4 z  h4 g
  33. ; CGI/FastCGI.
    % w% o; g2 o$ H) k8 y3 ?; }
  34. ; http://php.net/ini.sections8 p5 h; g) K( Y) q) x
  35. 3 Z( u9 r# L% y9 e8 g# S, T# N
  36. ; Directives are specified using the following syntax:" Q5 X9 a( F; q  o# T$ e9 _
  37. ; directive = value
    7 o2 s# ?: n% Z( |/ B3 k
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.1 |% o1 L& M( G. ~8 D' K: _  V. H
  39. ; Directives are variables used to configure PHP or PHP extensions.
    & c0 W  d  ^! Y9 q7 ^8 P
  40. ; There is no name validation.  If PHP can't find an expected
    ! l7 r: @) O. ^8 A0 O9 V
  41. ; directive because it is not set or is mistyped, a default value will be used.
    9 Z& b7 z' I, k9 u

  42. / R3 }% ]4 }$ i7 E
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    + U5 I* s  d9 B& v1 F3 N9 t3 ]2 N( Q
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    ! N! k# V& n  Y6 B- B/ Y
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a- N8 T4 a$ i; J6 d% i
  46. ; previously set variable or directive (e.g. ${foo})) n( v( g4 M# S7 R( Z4 n

  47. - {, b9 y5 z4 I# t2 _
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:3 Y# t/ |. j  D6 Y% f0 d
  49. ; |  bitwise OR. A: L, W2 |: ]; W. u  s
  50. ; ^  bitwise XOR
    : _9 W) E3 K( H2 ~
  51. ; &  bitwise AND8 U4 S2 {+ _( z+ l+ y7 Y
  52. ; ~  bitwise NOT
    $ T& N5 d$ a/ p: I- Z( y
  53. ; !  boolean NOT& [1 ?* Q5 J5 o. M3 V) z

  54. 7 W5 \" j! N, K9 d4 ?! y
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes./ C& H6 O0 c' N8 f& f5 i
  56. ; They can be turned off using the values 0, Off, False or No.$ w; n6 O; y6 T+ H- e7 O, J

  57. - |; R2 z1 B8 e  w4 Y
  58. ; An empty string can be denoted by simply not writing anything after the equal
    - F7 C( b/ t) q0 F5 ?
  59. ; sign, or by using the None keyword:* b7 b: x' z0 q1 R* V/ J
  60. ( }6 C, C) G; l1 i. [- g
  61. ;  foo =         ; sets foo to an empty string' j. P) o- w/ o+ R, m3 g
  62. ;  foo = None    ; sets foo to an empty string
    ( z7 O; N& m, K7 p( j) c
  63. ;  foo = "None"  ; sets foo to the string 'None'
    5 [, s6 r: w% ^) i6 U7 E9 ^& \
  64. + ?. ?/ J3 G7 W0 N
  65. ; If you use constants in your value, and these constants belong to a5 C2 T( R  H* n$ F
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    $ A7 x- a7 a3 s, P* E! y8 y' C  ~4 q
  67. ; you may only use these constants *after* the line that loads the extension.
    % B2 h- X5 Q' t+ ?, \) m; d
  68. 4 N! h1 B+ m9 K, \$ g
  69. ;;;;;;;;;;;;;;;;;;;
    ( s3 ~- u. e: I& ?" t9 M1 q
  70. ; About this file ;( I0 L# v3 d; s& a
  71. ;;;;;;;;;;;;;;;;;;;
    6 c7 X6 t5 ^) n: j. `; f1 X+ D  _
  72. ; PHP comes packaged with two INI files. One that is recommended to be used5 K/ H( i+ v4 {4 w
  73. ; in production environments and one that is recommended to be used in9 i  }. t3 L, e) c) b6 M
  74. ; development environments.
    7 V% E$ d/ K$ s1 Z) _2 a: b

  75. , `6 s( P* u3 c9 [  l
  76. ; php.ini-production contains settings which hold security, performance and7 H4 e* ~% Q3 d& N+ ^+ @
  77. ; best practices at its core. But please be aware, these settings may break
    6 f4 v8 ^6 R- [% U3 q' O% [- E
  78. ; compatibility with older or less security conscience applications. We! e* x4 \0 _$ \3 J% E- c/ u9 H
  79. ; recommending using the production ini in production and testing environments.
    , M' N6 a' V& {# I
  80. ) _9 U; Y5 O  C( r' x. x  x
  81. ; php.ini-development is very similar to its production variant, except it is5 ~. E6 S2 c" ^- t
  82. ; much more verbose when it comes to errors. We recommend using the
    0 G7 ~% r" {2 n) K. k
  83. ; development version only in development environments, as errors shown to6 ?( q1 y! ?6 h: r
  84. ; application users can inadvertently leak otherwise secure information.
    1 y9 k- O! [9 e" T& n

  85. 5 V0 ?7 R5 S4 H: H3 C0 N6 r( D
  86. ; This is php.ini-production INI file.' V$ a8 o: B( N. y! d4 ?

  87. % o* n' [6 r! o6 ~8 v
  88. ;;;;;;;;;;;;;;;;;;;8 b) q- _8 e# p  s: V; D
  89. ; Quick Reference ;
    1 x) h- y1 @& m3 Y( ?
  90. ;;;;;;;;;;;;;;;;;;;( e' y& R4 g7 H" T' l
  91. ; The following are all the settings which are different in either the production
    3 j0 O$ b- ^4 f) E
  92. ; or development versions of the INIs with respect to PHP's default behavior.. c* N' f. d+ Q( ?& K- J8 F2 D
  93. ; Please see the actual settings later in the document for more details as to why+ ?* H+ ^! `# a! E, Y, ]4 S# a% C
  94. ; we recommend these changes in PHP's behavior.
    * {+ P% y, j; \' k

  95. ( J7 L& M8 j: M
  96. ; display_errors
    8 E# [+ K% U& w, Q7 Q
  97. ;   Default Value: On
    , i, F+ f- S' o7 e9 g
  98. ;   Development Value: On
    ( L* H  u" q) a
  99. ;   Production Value: Off
    " r% \% J9 H# y; m

  100. + c) d4 z, I2 @" ]5 t5 Y$ p9 S$ j2 U
  101. ; display_startup_errors' }2 d$ s! L! Z) y; w& v9 r
  102. ;   Default Value: Off
    % b( Q# c+ ^3 K
  103. ;   Development Value: On3 O& A2 n, f& O0 V8 P) g
  104. ;   Production Value: Off
    1 a# `. z# A5 ~' b

  105. 7 F0 c- v( T  U/ ^" D. p$ C
  106. ; error_reporting
    ( d2 g; a! d0 t. f- i5 S0 c
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED: B+ p/ j5 p* \% D* W5 Z2 t
  108. ;   Development Value: E_ALL
    + d6 L9 T- D, G* F
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT  O0 t2 t* }3 W' `! v. {! A4 g

  110. & |# ?8 q! W( z1 b( e* l
  111. ; html_errors
    8 i) j3 C1 j* X9 K- w7 U; c8 q4 F& \
  112. ;   Default Value: On
    ( _* _+ z. B& N( C5 S: A, e* F. x3 C
  113. ;   Development Value: On& {# V; a2 r0 q: {
  114. ;   Production value: On
    ; E6 a. V) @) ~2 B3 t
  115. ! L; }8 D5 \+ s
  116. ; log_errors
    ! {0 v$ B* B9 h' o& q1 o
  117. ;   Default Value: Off5 S% i1 F1 ^2 j/ T% P% U& W2 v
  118. ;   Development Value: On" K0 f* n3 r( _4 N6 J2 f
  119. ;   Production Value: On
    # {3 J+ Q9 i$ N3 |" l) ?, U

  120. 6 Q8 k1 }: x0 x* N
  121. ; max_input_time; D! o0 ?' \4 u. r' P2 H
  122. ;   Default Value: -1 (Unlimited): F+ v; Q! P  x+ O- I9 z
  123. ;   Development Value: 60 (60 seconds), }& c5 c; L' ]4 B& ~, F
  124. ;   Production Value: 60 (60 seconds)- d9 q. P8 O# a" \

  125. $ T( g8 ^3 F( b* m4 A& `8 _; d
  126. ; output_buffering0 O) O% O/ @- p+ A8 u
  127. ;   Default Value: Off4 |( e6 ]. [3 e0 y! T
  128. ;   Development Value: 4096; e. X, g, T. B# x/ ^
  129. ;   Production Value: 4096
    + H5 q- a7 _$ c  i$ @

  130. ; d& p3 B* P1 ~
  131. ; register_argc_argv
    ' o) D; i: }9 d0 {0 M4 H$ [8 Q" \) K* G
  132. ;   Default Value: On
    2 g5 n9 e. L3 v5 a" j& Y1 A3 g; a
  133. ;   Development Value: Off: a. ?* r7 o% Z$ |& B
  134. ;   Production Value: Off( x3 y# M4 s6 E- q

  135. ; p7 t9 r( V- d" I
  136. ; request_order; c( |8 u/ ?; X" R& N
  137. ;   Default Value: None2 X# I( S- I( \  _8 ~. M
  138. ;   Development Value: "GP"
    / U2 [# y7 l4 _4 _, _/ a; V, V2 N
  139. ;   Production Value: "GP"  n; `9 t+ }: Q+ m" }& Q- t" J( a+ z7 G
  140. . Z/ q, H+ y# @4 o  ~  o6 L
  141. ; session.gc_divisor
    $ Z3 n% s' n" x+ n% N* p; z. [4 ?
  142. ;   Default Value: 100
    , X& y/ \8 e! B
  143. ;   Development Value: 10009 Y* w+ _2 y! Y: o
  144. ;   Production Value: 1000' N* d: R$ Y9 F+ m

  145. , d- [2 ?8 ]2 u; C
  146. ; session.hash_bits_per_character
    ' @) b  B0 e' a/ W* M. w) ?
  147. ;   Default Value: 4; Z+ f" M4 L: \  k  U  F/ V$ d' i, G
  148. ;   Development Value: 5
    ; a& }0 m- }9 |8 D
  149. ;   Production Value: 51 m4 S  X2 D: x8 [8 F

  150. 7 `4 n+ q8 @- `2 C
  151. ; short_open_tag6 Y3 \: o$ K0 `8 |
  152. ;   Default Value: On
    , ^, A5 ^; H  w& b7 H# m$ L
  153. ;   Development Value: Off
    2 N( }& K* p' V$ T3 e/ z
  154. ;   Production Value: Off* ~5 W' g" b- J' t6 T3 V9 Y

  155. 9 [6 a+ J. w& F$ ~
  156. ; track_errors" p) K3 D4 n1 t: a3 [
  157. ;   Default Value: Off, ~. t# ^/ Q* ~$ U" @
  158. ;   Development Value: On
    # ^4 }, P- d' w% h
  159. ;   Production Value: Off# ~1 M7 q- p; p% q- G

  160. + E; `5 P4 y8 A9 q7 G9 c
  161. ; url_rewriter.tags: n% t6 b0 a6 H6 l
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    5 {. v2 f+ v1 C; @) ]: W( n
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry", ]2 `1 [( j! s0 k. I& O2 s
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"1 l1 j9 b7 \2 g/ z+ D( l& o
  165. ! `6 K; F! V/ x$ E0 t, N
  166. ; variables_order
    ; I; E6 X) U- y) x9 L/ Y2 d
  167. ;   Default Value: "EGPCS"+ g. L+ q7 P) C: z" D# _: X
  168. ;   Development Value: "GPCS"1 w  ]8 Q# r  @% T- x, P
  169. ;   Production Value: "GPCS"1 e2 i5 Q8 n2 L3 [
  170. - V+ p. E1 s, n8 q0 x8 N8 L% V) Z5 [
  171. ;;;;;;;;;;;;;;;;;;;;8 ]0 I$ n. M1 @  P
  172. ; php.ini Options  ;0 E1 L# {; j% x0 ]- G" c
  173. ;;;;;;;;;;;;;;;;;;;;
    8 ?+ o! w& h) [' r) v( g2 m
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"$ s) Q' H  \4 j& f- {! a
  175. ;user_ini.filename = ".user.ini"" }7 R8 F2 j, I

  176. 6 i1 s3 Q: S, T* ?- Z! w* Y; o
  177. ; To disable this feature set this option to empty value
    2 C: ]* s8 A5 d, d/ E
  178. ;user_ini.filename =. s' u8 x9 A* K) k# F
  179. 6 {  d2 n  Q7 l) x
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes); T; }5 _. ^! w7 a2 n; M
  181. ;user_ini.cache_ttl = 300
    : N/ [$ o  L9 |$ {$ j: l

  182. 8 s# J1 K1 J$ k, i( A) m2 C
  183. ;;;;;;;;;;;;;;;;;;;;  a/ a* U4 p  T  m0 q
  184. ; Language Options ;
    5 z; G2 r! g  K& t/ B( W
  185. ;;;;;;;;;;;;;;;;;;;;
    0 o4 S, \, |% C9 _" z' u

  186. " x* ^( R/ d$ [7 V
  187. ; Enable the PHP scripting language engine under Apache.
    - n9 F, h6 {5 h
  188. ; http://php.net/engine  q5 ~. }& Q' m# \9 I
  189. engine = On
    * e+ u8 ~& W/ p* L, A: A

  190. 2 a7 q6 V9 H' K) p7 Y0 j. b: i
  191. ; This directive determines whether or not PHP will recognize code between- W) H  X7 I# J; p3 _
  192. ; <? and ?> tags as PHP source which should be processed as such. It is; |4 s3 j7 W# N" N' V
  193. ; generally recommended that <?php and ?> should be used and that this feature0 G* ]9 r7 @# [! U7 p8 @: `
  194. ; should be disabled, as enabling it may result in issues when generating XML" C/ p% @8 \% k) o, h+ H
  195. ; documents, however this remains supported for backward compatibility reasons.* G, m/ |/ B, L1 V7 U
  196. ; Note that this directive does not control the <?= shorthand tag, which can be2 z  C) Y# k  Q, Q
  197. ; used regardless of this directive.$ [5 _5 K; H) E1 Q6 z
  198. ; Default Value: On
    - o  v9 r4 F% E
  199. ; Development Value: Off
    6 {% }0 R. L  T) o+ M4 v
  200. ; Production Value: Off+ B" N, q6 |1 N2 e! u7 u
  201. ; http://php.net/short-open-tag
    $ I. P% b1 U: `* d7 W$ A) f# r
  202. short_open_tag = On
    . b3 V$ j8 _' ^8 q$ v; F

  203.   o+ `: c4 y  k2 S, N$ T9 t
  204. ; Allow ASP-style <% %> tags.( K  p" l2 w+ r3 M
  205. ; http://php.net/asp-tags
    , [2 h" }$ a7 l' {: r6 }
  206. asp_tags = Off: M- f/ y/ G- x( P
  207. 8 M: B, G2 N8 H( `/ R3 W1 U
  208. ; The number of significant digits displayed in floating point numbers.3 {, U9 K0 m  L9 G% v
  209. ; http://php.net/precision; N" B% e% @$ E1 k& p
  210. precision = 14
    ) u( v9 K* z/ F4 b2 M. X3 j

  211. * K2 X8 P, z. ~0 ^$ u3 d
  212. ; Output buffering is a mechanism for controlling how much output data
    ) C$ Q. v7 K5 D
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    : U# i9 g1 M$ G! C3 b! Q
  214. ; data to the client. If your application's output exceeds this setting, PHP7 P( w; g4 K+ Q5 N" `
  215. ; will send that data in chunks of roughly the size you specify.
    2 z2 v3 s, E' W2 v4 G7 o9 V
  216. ; Turning on this setting and managing its maximum buffer size can yield some: Y+ e  q  P: T7 O& e, q
  217. ; interesting side-effects depending on your application and web server.7 V5 ?! W$ O9 x: c4 ^
  218. ; You may be able to send headers and cookies after you've already sent output9 I$ h2 f% {; A; c/ ]# }6 Z
  219. ; through print or echo. You also may see performance benefits if your server is1 Y; m+ {  J3 V7 h3 f' ^; L3 i: c+ j5 Z
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    5 N0 a: `8 h2 B
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance3 q# C+ [" c, G$ _0 g* ~% j1 ]3 u! |
  222. ; reasons.
    - v+ O9 O9 g- e/ W
  223. ; Note: Output buffering can also be controlled via Output Buffering Control$ @! T4 l/ q- @2 x$ X
  224. ;   functions.
    8 R, D3 ]" f" }9 I# f; C
  225. ; Possible Values:0 j& f" Z0 I$ T# ~$ i4 }
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    & D1 a0 y  G9 [: ~8 U8 o" l
  227. ;   Off = Disabled
    1 F/ \& I4 D8 O% n6 _/ V  ^+ Z8 O. d
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.3 h4 r/ l8 s% r+ `, z4 h% J
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI4 i! Y4 X# k5 k1 W# c3 L2 I2 ?
  230. ; Default Value: Off% m, S+ {, K: R4 \2 c$ Z
  231. ; Development Value: 4096, G6 E8 s' l5 C5 Z
  232. ; Production Value: 4096) K8 i8 a! Y7 k* p
  233. ; http://php.net/output-buffering2 K% o/ s' U, p! X; `5 Z& a
  234. output_buffering = 4096
    3 P6 S& N8 U9 Q) D. g( ]; V+ s4 o1 c9 o
  235. 1 {7 y3 V% {6 W: b/ C
  236. ; You can redirect all of the output of your scripts to a function.  For
    % l+ a/ D9 m& K% p" k
  237. ; example, if you set output_handler to "mb_output_handler", character( p* y" I2 r# q( K" o
  238. ; encoding will be transparently converted to the specified encoding.5 u/ Y6 {# V  Y# J0 J' L
  239. ; Setting any output handler automatically turns on output buffering.
    4 @0 Y0 ]1 V2 t' }9 d( S
  240. ; Note: People who wrote portable scripts should not depend on this ini
    , N" [0 U6 R, |. Z) u  i$ p+ w
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
      i( j# X% P* }- w- |. S3 Y
  242. ;   Using this ini directive may cause problems unless you know what script5 M9 {* I( m% @
  243. ;   is doing.* W- `/ M! h- `5 E9 [# e
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    & W* O( @0 B/ m6 K9 w4 T+ l+ R: s
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".. T! A' Q( l! }8 C! d6 H
  246. ; Note: output_handler must be empty if this is set 'On' !!!!4 r- a. F% H" R- M1 R9 |+ Q, E) k" ~
  247. ;   Instead you must use zlib.output_handler.5 _* L  i& i, u- {. a
  248. ; http://php.net/output-handler
    ' L7 v7 Y* J- G8 l
  249. ;output_handler =/ b  k2 \" \+ F

  250. ) M. ~6 Z$ i, l
  251. ; Transparent output compression using the zlib library# u9 G/ ?) M3 C/ m; R
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size, e# ^" v+ I6 k3 A4 f. }5 E
  253. ; to be used for compression (default is 4KB)9 s, }; u. E3 r! v' E+ `$ A4 w; u4 N
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP+ Y& h" h* M) @) r2 ^
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    3 N2 K) w2 B: M- _
  256. ;   compression. If you prefer a larger chunk size for better* A% |) E! o4 e; ]! z$ d6 F+ S# C5 \
  257. ;   performance, enable output_buffering in addition.* M: \$ Z. }5 K% M7 A. e5 ]
  258. ; Note: You need to use zlib.output_handler instead of the standard- L, j1 j* N* J. U6 h. x
  259. ;   output_handler, or otherwise the output will be corrupted.  f. f/ U/ |5 H8 g6 G: s
  260. ; http://php.net/zlib.output-compression: I/ k& m% b3 F6 u
  261. zlib.output_compression = Off
    # f7 @* R6 T2 B+ O
  262. 9 I# v7 W" Y& e! k( o6 o4 F  v( A
  263. ; http://php.net/zlib.output-compression-level6 W$ C. H" i7 x
  264. ;zlib.output_compression_level = -1$ y3 t. a. h$ c6 W8 @

  265. / ~. y3 Y# T5 z
  266. ; You cannot specify additional output handlers if zlib.output_compression) \$ d8 x8 F: ^8 D" A0 F$ ?) y$ S
  267. ; is activated here. This setting does the same as output_handler but in
    2 Q, K; e8 v+ Z/ h% l8 A
  268. ; a different order.& X( u4 Q1 L3 d& a3 q. b3 m2 f
  269. ; http://php.net/zlib.output-handler, b# S, L9 |4 W# S, r2 O
  270. ;zlib.output_handler =4 i1 U5 s6 _8 o: Y2 l

  271. ; \$ {' \7 \) C0 @0 }
  272. ; Implicit flush tells PHP to tell the output layer to flush itself' L& n6 q( ~' p
  273. ; automatically after every output block.  This is equivalent to calling the
    0 U: ]" t' @5 {+ a- w& d- \
  274. ; PHP function flush() after each and every call to print() or echo() and each
    ) O& ~" K/ z& A5 y) f1 m3 N: ]
  275. ; and every HTML block.  Turning this option on has serious performance
      I1 B& `/ d: @
  276. ; implications and is generally recommended for debugging purposes only.
    # P8 m$ O+ g# y
  277. ; http://php.net/implicit-flush
    $ X) s/ v1 c! c
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
    5 d1 r5 x- ?# r: o
  279. implicit_flush = Off: `, d' K" `  J
  280. : d% ]3 K0 [; X7 j$ @2 o
  281. ; The unserialize callback function will be called (with the undefined class'
    8 m0 A5 k# _0 o
  282. ; name as parameter), if the unserializer finds an undefined class
    3 c6 E' V% s. I5 i0 D1 x  P
  283. ; which should be instantiated. A warning appears if the specified function is% O* o* E8 `0 ]" a5 y* C( d
  284. ; not defined, or if the function doesn't include/implement the missing class.
    , i8 A7 b: h! c8 L3 |! F! |7 U$ G
  285. ; So only set this entry, if you really want to implement such a
    . x5 N' n+ r! w* D5 v
  286. ; callback-function.. D1 `: J. f) l9 f- m
  287. unserialize_callback_func =; ^6 k) L$ R9 T  K, \
  288. * X4 x( p( x, R$ V* Z
  289. ; When floats & doubles are serialized store serialize_precision significant
    1 s1 I( Y; Q! N8 U6 O; d8 m
  290. ; digits after the floating point. The default value ensures that when floats1 d# L. N* I+ k5 I: T
  291. ; are decoded with unserialize, the data will remain the same.* a$ N9 ~; @3 Y- M- y
  292. serialize_precision = 17* g5 Y: G. x8 q( }/ U; z
  293. : L9 @0 b6 j0 U. s* f6 W3 g$ I5 g- v! ~
  294. ; open_basedir, if set, limits all file operations to the defined directory) E3 ^$ k; ~# B' v6 C' o5 g
  295. ; and below.  This directive makes most sense if used in a per-directory4 I# H* |4 U8 \  O) _5 E
  296. ; or per-virtualhost web server configuration file.7 _1 R5 ]8 q( i4 `& y
  297. ; http://php.net/open-basedir6 S# K+ ?9 C# I  }% f% G' q$ W
  298. ;open_basedir =
    / A6 {# H/ ?" u: S  ^
  299. : b8 J' {) P2 P  j7 U8 r; U
  300. ; This directive allows you to disable certain functions for security reasons.1 [* Q( p! b0 o0 t9 B7 n  h5 _6 r) x
  301. ; It receives a comma-delimited list of function names.3 y  E/ W+ q8 i
  302. ; http://php.net/disable-functions
    " ], }: X% y" [$ t
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru, P, F% ?' T; V
  304. ! j; v' Q7 j, \" V& c$ F
  305. ; This directive allows you to disable certain classes for security reasons.4 g- c& e+ D* c0 L
  306. ; It receives a comma-delimited list of class names.: C' S) z* u6 F0 x: C# u6 L
  307. ; http://php.net/disable-classes
    # l4 h5 W' I, ?4 Q: e8 F8 n+ B
  308. disable_classes =
    ! e7 L& @+ G  Q: X- Y" E
  309.   Z# a& j# Y' d* W  q" g6 @' C8 e  }
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    ! M5 M- I- K2 G7 N/ ]0 s6 }' {
  311. ; <span style="color: ???????"> would work.2 L: w9 C. {5 d: q: `6 `
  312. ; http://php.net/syntax-highlighting1 B0 v. k; s; _- N% c
  313. ;highlight.string  = #DD0000
    . Y4 c4 [# Y& E0 \, r
  314. ;highlight.comment = #FF9900; d$ s' o! E4 y9 M
  315. ;highlight.keyword = #007700- o" }' g. z# H
  316. ;highlight.default = #0000BB
    & ~3 R( ~2 i6 C8 U
  317. ;highlight.html    = #000000
    * V2 E7 y3 b: x

  318. 4 v* G5 `' g& C3 F4 y
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    ( j2 p3 _( @8 I; n+ R" l2 ]
  320. ; the request. Consider enabling it if executing long requests, which may end up) Q5 u6 J! N3 h- Q& K4 F4 z
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior: ^9 p  J# J% m1 F) b7 l9 K
  322. ; is to disable this feature.
    9 ?( e4 a% H2 u  g% O
  323. ; http://php.net/ignore-user-abort
    , e# O" x# ^% u
  324. ;ignore_user_abort = On: R! m: d& w4 c- K# }( Y8 ]" ?) F- x
  325. & c  N/ W! {/ a- Y
  326. ; Determines the size of the realpath cache to be used by PHP. This value should- _2 {3 R: k0 b) i3 u( k4 k* T' H
  327. ; be increased on systems where PHP opens many files to reflect the quantity of! h8 W0 f% f5 Z* K+ k( ^
  328. ; the file operations performed.
    3 g& O' O: F5 e6 f( k
  329. ; http://php.net/realpath-cache-size' ^1 k- h' K; z; C. h5 T6 \9 C
  330. ;realpath_cache_size = 16k
    7 \; R: g5 e: q$ w: a
  331. 8 _1 J; D! O+ B  U* t
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    7 @/ P6 ~6 \% G
  333. ; file or directory. For systems with rarely changing files, consider increasing this5 [' ^( f4 }3 N) l8 [
  334. ; value.
    8 p/ m: E( z, M. F) s. r; [4 v4 v
  335. ; http://php.net/realpath-cache-ttl
    ' z+ ~. h" w% ^- J" g: @# I$ ^
  336. ;realpath_cache_ttl = 120
    # G( H  X7 K% {: a+ \  q9 q

  337. + m$ s/ i% ~  }
  338. ; Enables or disables the circular reference collector.
    ( R' \9 l4 l! l! A1 y8 G  m
  339. ; http://php.net/zend.enable-gc" L  G) W  X+ s6 W8 o
  340. zend.enable_gc = On7 c% \8 _; O( Y
  341. 5 l. N  q" m; B* g
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    : e, h" v4 e7 S5 [' Q0 l
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such, S, G' y7 |  K& ^2 `, Z
  344. ; encodings.  To use this feature, mbstring extension must be enabled.3 s5 S% p. ^" B5 C" Q& g, Q/ ^6 }
  345. ; Default: Off
    ' @- ?$ z) n6 q0 L. o
  346. ;zend.multibyte = Off9 L' X* S4 L3 ^$ \# W

  347. 6 c. Q  Z+ ]- A  I& O' r; N. F. j
  348. ; Allows to set the default encoding for the scripts.  This value will be used5 l7 n1 y4 m, c3 z- F) W# ]
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.9 M' L+ B0 A0 c
  350. ; Only affects if zend.multibyte is set.
    ) C7 q' g( O, c4 V
  351. ; Default: ""
    % \! t% p; C* c4 `
  352. ;zend.script_encoding =' X3 f* }! O4 {0 L: c, h
  353. 7 |8 p0 w- `1 S
  354. ;;;;;;;;;;;;;;;;;
    9 u" |) _5 x, e7 z& [. x* p# x  a/ r) ?
  355. ; Miscellaneous ;
    6 }6 ~- @/ y8 P0 V2 D
  356. ;;;;;;;;;;;;;;;;;5 `' d; m* O+ H6 K5 i9 `* z. N
  357. + [$ o% d# U6 b; |! u
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    ' m4 B8 g0 E& F' p7 O* ?- B' \% ]
  359. ; (e.g. by adding its signature to the Web server header).  It is no security4 u1 J4 }6 }* g/ i2 p6 g( E
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    3 d* B# o5 Q* S& }1 g% r( s. ]) q, s4 H, x
  361. ; on your server or not.$ K/ l) s1 ]7 p& }; G
  362. ; http://php.net/expose-php* }; C4 i  |; g6 o% ~: ~
  363. expose_php = On
    0 }) A5 [% N: o/ @3 c2 W5 z6 ?
  364. 4 y6 p, w9 ]+ R3 E" @8 e- S
  365. ;;;;;;;;;;;;;;;;;;;# o* \5 c6 ?6 Z4 g$ [
  366. ; Resource Limits ;8 Y& d. A: ^; G" r  n
  367. ;;;;;;;;;;;;;;;;;;;  ?- f& V% {1 T1 D( z+ C

  368. + ^4 H0 s1 P, [+ T$ s6 H5 ~) B
  369. ; Maximum execution time of each script, in seconds
    ( z: W3 ]/ U6 u; Y3 v
  370. ; http://php.net/max-execution-time4 b. h2 C$ ?! D: o% F& \
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    # G% G' m% d9 c+ h+ @: K
  372. max_execution_time = 3007 m' g, {9 u2 \
  373. 5 g- G3 X7 h4 e
  374. ; Maximum amount of time each script may spend parsing request data. It's a good
    6 q# m5 i* t$ P! \) o
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    5 W/ r& W" I) S& G4 q
  376. ; long running scripts.
    : Z' |5 |; t- g4 D- n! {
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI" i8 V$ B9 A# ~# P7 m# o* ?
  378. ; Default Value: -1 (Unlimited); D+ R- h( ~5 x+ s7 W3 u1 [7 w3 S# C" ]
  379. ; Development Value: 60 (60 seconds)4 Y+ @2 K$ f3 @. D
  380. ; Production Value: 60 (60 seconds)% g' g3 V) a3 O5 x
  381. ; http://php.net/max-input-time- \4 ]2 ?  U+ O
  382. max_input_time = 60. \5 l- u% i; `/ Y! X# R# s

  383. ! N/ a( l* ]; g" X* R% n) S& u
  384. ; Maximum input variable nesting level
    6 z8 N( S4 W' _1 I  z% R
  385. ; http://php.net/max-input-nesting-level) U( K9 t4 C' Q! |" d6 \  u5 N
  386. ;max_input_nesting_level = 64
    . c7 R( ]+ {7 t; }3 r- c+ }* [

  387. % x5 C5 M# N0 v* U: {) }2 g
  388. ; How many GET/POST/COOKIE input variables may be accepted
    & i0 b" v& x0 M
  389. ; max_input_vars = 10009 f5 e2 C9 y3 A6 a8 @6 X; i6 `) j6 P

  390. 1 z  K- H/ ^- B  d' a9 p* z! k
  391. ; Maximum amount of memory a script may consume (128MB)
    ! ]$ }% Y1 \( O  H. H' B# ], z8 ?. Q
  392. ; http://php.net/memory-limit, S( A7 \9 C; M
  393. memory_limit = 128M" A$ e6 V( @& C3 W0 _+ u# e
  394. 8 w; P  q4 {# P" ^9 ]1 @
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    6 @. v. }) p1 c7 ^
  396. ; Error handling and logging ;3 t( c" B, P! X- O' A: D. H5 v
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;* {) W8 z' U+ P- Y3 W0 }. i4 F

  398. - m+ Q1 Z+ A% m; p
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    5 p  l* j6 W5 k! ?, X# o
  400. ; it to take action for. The recommended way of setting values for this. b9 M' f$ W  J7 `7 q; P" x
  401. ; directive is through the use of the error level constants and bitwise
    " c  [" n  i' K  e* B
  402. ; operators. The error level constants are below here for convenience as well as+ D2 v# ]; L6 j3 t! U; N4 n4 J& G
  403. ; some common settings and their meanings.
    $ \% J  \! T$ C2 v2 C8 M
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    ; h: U' }+ V- r  ~
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    " {0 g& V. h0 A& }
  406. ; recommended coding standards in PHP. For performance reasons, this is the* l, m& e  t& L9 f
  407. ; recommend error reporting setting. Your production server shouldn't be wasting& u! L. [% O* l5 ?) {1 T
  408. ; resources complaining about best practices and coding standards. That's what$ w! k, J' M, Q/ r' x2 V0 e
  409. ; development servers and development settings are for.3 N/ P# ?# b+ P% P6 b" b, J; c, W
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
    / o, J4 Z9 Y7 n# U% z9 J
  411. ; means it pretty much reports everything which is exactly what you want during
    & z" ~2 C! o# M0 z8 N, J/ i% L: q+ n& n
  412. ; development and early testing.1 P5 `3 ~9 g$ n" }: E# I/ j
  413. ;! |& k' y; _( `& U" w
  414. ; Error Level Constants:6 a& g9 b& q' U' ^3 I" F
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)$ V0 O! a5 p% _% Q% ?  K
  416. ; E_ERROR           - fatal run-time errors: m  X" {. B2 e) z* H" T( y) @+ u
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    - n, b3 x$ ?0 Q) E
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    9 {9 B; A: w. i: y! m3 ?
  419. ; E_PARSE           - compile-time parse errors
    ( u$ o) \/ ~. }2 y* ], L7 S# J) e
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    1 f8 G9 K: _/ i
  421. ;                     from a bug in your code, but it's possible that it was4 V" o5 X. R. o& Q# P
  422. ;                     intentional (e.g., using an uninitialized variable and! g& x5 q4 b$ u  y1 Z7 w+ ], J
  423. ;                     relying on the fact it is automatically initialized to an
    ( N# ~$ o- T# j5 n# [
  424. ;                     empty string)
    $ C" c$ D- b. L, U) X  J( C( N) @
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes0 i5 y/ b" L" W2 G0 t# E
  426. ;                     to your code which will ensure the best interoperability
    ) m- {( l3 H* k
  427. ;                     and forward compatibility of your code6 U+ b3 c  x7 o- q/ m0 s& Q
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup9 c; E) d0 g, S2 `
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's" z6 I: q% n: [4 J& Z( O  n
  430. ;                     initial startup0 H5 ^, k  R5 a! ~0 p- [
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    4 ?" ?3 A" Y$ X7 T2 L8 c
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors): C  ?3 o6 v4 m0 X! B
  433. ; E_USER_ERROR      - user-generated error message
    - U8 @7 k5 b; X  F
  434. ; E_USER_WARNING    - user-generated warning message( i+ E1 o, r: Z
  435. ; E_USER_NOTICE     - user-generated notice message7 R0 y) {# A) R( ^* e
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    . B9 U  W+ b! T3 u/ Y% p" W
  437. ;                     of PHP
    ) i8 X8 J; f- W. u
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings( U! Q, I' m6 _( R, u
  439. ;8 [4 r0 E- {% S" h% w7 B) w( J
  440. ; Common Values:/ u) z8 W2 @+ ^) |% j- ]5 I; n
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)7 O( g1 E" ]2 ]" i) J7 {3 E
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    2 q' e& ~, N6 L/ P5 m! ~
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    ; Q% w: G! Y$ Z  [  n* C' P$ @- s
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    $ _2 B, u- N* i% }/ @
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    0 E2 |9 K) ]- Z5 p
  446. ; Development Value: E_ALL
    2 B# }: C8 @5 s% w; v; F
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    3 Z6 A1 v/ G" R- Y& ~' `' J
  448. ; http://php.net/error-reporting
    ! P& H; t, D% W. u: Q
  449. error_reporting = E_ALL & ~E_NOTICE7 n# _( P$ F# \4 S- K
  450. & H/ j+ G) [+ l/ i- r  u
  451. ; This directive controls whether or not and where PHP will output errors,
    7 E5 E! F' R# ~. u  C8 P- G
  452. ; notices and warnings too. Error output is very useful during development, but% b& H" c" E# U$ r' K5 x, G
  453. ; it could be very dangerous in production environments. Depending on the code
    ! l9 a! }1 ?( D) M
  454. ; which is triggering the error, sensitive information could potentially leak. q7 d3 m5 U7 c; E
  455. ; out of your application such as database usernames and passwords or worse.
    5 `* m, a1 c( J! `% U
  456. ; For production environments, we recommend logging errors rather than4 y4 N* a- W" P; J! p" H  D
  457. ; sending them to STDOUT., X) S1 n# r: C2 M4 m
  458. ; Possible Values:" m2 r& y9 \/ l0 V) l
  459. ;   Off = Do not display any errors2 q# a3 k: O- a" A
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    ( \4 Y9 j8 s: C' n- K2 p
  461. ;   On or stdout = Display errors to STDOUT
    2 D- D' J3 l; I: h* e$ D
  462. ; Default Value: On8 P8 b& U8 J2 `# D- y# F- `
  463. ; Development Value: On& M2 l- t# H- b: u% d$ ~# Z1 }4 ~
  464. ; Production Value: Off1 x1 k" h: S$ m; a+ U
  465. ; http://php.net/display-errors: P  K2 R+ a2 u8 c% g! H  j! y' ^. c" ^
  466. display_errors = On/ w+ h6 F! z, D$ E% }
  467. 8 N. U' W: K8 |, O  J; v
  468. ; The display of errors which occur during PHP's startup sequence are handled6 U5 K, v" K+ N: Z
  469. ; separately from display_errors. PHP's default behavior is to suppress those- C4 V! O. a7 L- R2 `8 K* ~
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    & k, S6 ~+ c9 L4 B; b2 f
  471. ; debugging configuration problems. We strongly recommend you9 ]2 J9 U% [* Q0 J7 h; w; x0 x5 c: t, N
  472. ; set this to 'off' for production servers.! y7 @5 Q$ K4 s1 P) {
  473. ; Default Value: Off
    / L6 i2 q9 {( S
  474. ; Development Value: On
    - p4 G5 e4 ?1 `" B7 F6 |
  475. ; Production Value: Off- l/ }5 p: q, u( f
  476. ; http://php.net/display-startup-errors4 {6 n0 u$ G/ @; t6 ?( F! }$ S
  477. display_startup_errors = Off
    , L. Y5 p5 i5 k

  478. 2 N! g1 I% }5 S( Q
  479. ; Besides displaying errors, PHP can also log errors to locations such as a# [4 K% m! y9 I/ T# H
  480. ; server-specific log, STDERR, or a location specified by the error_log
    " f, |+ Z, w+ @& w, E
  481. ; directive found below. While errors should not be displayed on productions0 _( ?6 N, x, R2 V9 Q4 {, Z6 p
  482. ; servers they should still be monitored and logging is a great way to do that.- g# `# w5 R2 u5 D, U; `8 I
  483. ; Default Value: Off% y: Y+ m0 i% k) q% v/ Q% c
  484. ; Development Value: On
    8 A9 t. f4 C, g, _. k: b1 N4 e) P
  485. ; Production Value: On
    5 Y; h& g0 e) |; k' f
  486. ; http://php.net/log-errors
    7 e9 O3 h( {: p$ V
  487. log_errors = On
    ' ^; q, b# V0 Y( I

  488.   D) |# f1 C$ Y' o5 y, b% N
  489. ; Set maximum length of log_errors. In error_log information about the source is) j, h/ U/ }/ h6 L+ o4 j  h* b
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.( `, Z' v0 T8 y- K' g4 f+ }
  491. ; http://php.net/log-errors-max-len$ x8 }* k# S; v, C2 A8 x$ q
  492. log_errors_max_len = 10249 q2 V: L% t( l8 J# Z
  493. : N7 {5 Q5 `4 A9 ^
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    6 r1 q- b6 p, \' o
  495. ; line unless ignore_repeated_source is set true.
    8 P0 Y* d6 O1 M, C4 E
  496. ; http://php.net/ignore-repeated-errors$ s* E6 g% T( q7 Q
  497. ignore_repeated_errors = Off$ {* O- I9 y7 c& `5 D

  498. # r- e5 G% t9 p* j; J5 J) X, W
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    + ?8 u* H, o  t
  500. ; is On you will not log errors with repeated messages from different files or( [) n2 d% h# ^7 _& M0 H
  501. ; source lines.  |5 A9 P; G2 w
  502. ; http://php.net/ignore-repeated-source9 S9 b# C$ ]- A; U. I8 D. D& F
  503. ignore_repeated_source = Off
    0 ^; v2 Y  x# H
  504. * p% i8 P% [6 |* [1 i
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    8 ^  @' Z5 v: _- T6 v7 X; b
  506. ; stdout or in the log). This has only effect in a debug compile, and if4 P9 n% w( }3 X& y& M
  507. ; error reporting includes E_WARNING in the allowed list  \& `: a" Z3 q& j# p
  508. ; http://php.net/report-memleaks" d. ^$ G1 w# J% c. i" W
  509. report_memleaks = On& d0 m" W1 V" ?; t
  510. 6 \! X6 B  \9 w1 E
  511. ; This setting is on by default.
    % X+ R' O' C! O2 r
  512. ;report_zend_debug = 0
    ' E4 S7 M* q1 ?# q
  513. 1 l8 W! e: n$ U; x( X2 K: U
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value) L9 z# G; d# c+ i& u, N$ x
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    6 y2 `9 g- z% K' ~3 }
  516. ; however be disabled on production servers.! [) _" `4 F* R# u& |
  517. ; Default Value: Off) z" d2 l" g) ]3 d! t& z
  518. ; Development Value: On* M) P7 t# C! b8 m2 W# ]5 |  u* l
  519. ; Production Value: Off: x* y5 s+ s$ U$ R5 `
  520. ; http://php.net/track-errors
    & Y: D9 {" f6 D
  521. track_errors = Off; C4 O7 r" s4 p& b4 |; g! ~
  522. * d& Z- v: x, S
  523. ; Turn off normal error reporting and emit XML-RPC error XML, X$ U9 K+ l! w+ V2 [: k
  524. ; http://php.net/xmlrpc-errors4 B: {( n4 d* d  X( I
  525. ;xmlrpc_errors = 0
    # {: a2 s4 e* \

  526. 8 C, U! i8 _1 r9 k( e" Z
  527. ; An XML-RPC faultCode
    # S; n9 S. B3 K0 u& K9 w' {
  528. ;xmlrpc_error_number = 0
    9 y( f4 S7 m7 S3 z* z1 t' ^

  529. 8 [( n7 }6 o) E
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    8 K) `) _9 H8 W2 m7 O
  531. ; error message as HTML for easier reading. This directive controls whether
    4 o' V3 ^5 b" R3 B: b
  532. ; the error message is formatted as HTML or not.% a; n0 i1 M: J2 _/ P5 j& r6 t
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI% r  A* }0 ~- J* ^$ \; o
  534. ; Default Value: On! I' E/ d& n! g2 \
  535. ; Development Value: On. s$ _: P6 b( B7 i$ f8 R
  536. ; Production value: On
    6 U; y# X: p, E- l' T; B
  537. ; http://php.net/html-errors
    , P+ O& k" {9 A; j' O
  538. html_errors = On
    2 C6 W/ n' r5 l$ l
  539. * |0 \  n5 C6 R
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    ' g! B4 T* ?: q4 t3 h. W; l1 x
  541. ; produces clickable error messages that direct to a page describing the error+ x$ @0 W0 Z9 u0 I; \
  542. ; or function causing the error in detail.1 z% R6 x0 W" |  p
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    3 {* ~& ]* X9 t6 Z4 W( L
  544. ; and change docref_root to the base URL of your local copy including the
    + |5 H* J/ O( _9 E2 z/ s
  545. ; leading '/'. You must also specify the file extension being used including  Q) d; f! u( V5 r  \! F. l
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    $ a/ f! s3 R% c9 z* z
  547. ; case no links to documentation are generated.) o" K% Q/ S3 @% Q& A
  548. ; Note: Never use this feature for production boxes.
    ' c/ O+ V. E* K( j+ [- U
  549. ; http://php.net/docref-root
    # h' ~) Z, K* p  T3 Q1 k  F+ _
  550. ; Examples
    3 O: [* n. _2 M0 L0 l; Q. O  @
  551. ;docref_root = "/phpmanual/"
    2 _5 a, }' ~9 G, \# G
  552. 5 G3 s2 R# p+ b7 A6 y
  553. ; http://php.net/docref-ext+ R' @2 C1 C* N; O9 Q) Z. W
  554. ;docref_ext = .html
    * H# o) x: z+ A3 @. T! R; H4 G
  555. 8 r2 H7 g4 [0 N0 U  a
  556. ; String to output before an error message. PHP's default behavior is to leave
    ; ]- a& G' D+ V  `# R# {
  557. ; this setting blank.
    1 f9 K: d5 x- S; X
  558. ; http://php.net/error-prepend-string# S; e- W! W2 }1 s: i7 T+ i
  559. ; Example:) l. p- o# }% ]/ `
  560. ;error_prepend_string = "<span style='color: #ff0000'>") n6 e2 j8 i7 Z/ D; Q5 Z

  561. , A) F+ t' F' |" w
  562. ; String to output after an error message. PHP's default behavior is to leave
    , ^( t% I7 c" I4 W& W) ~9 Y. y
  563. ; this setting blank.
    " [- r$ x3 y9 T/ ?
  564. ; http://php.net/error-append-string
    ' C' b; f2 q4 i7 _
  565. ; Example:$ f" T& W# e; t
  566. ;error_append_string = "</span>"( i% b& ^' }( J8 |, `! V' r' C! t
  567. 4 w; H5 d$ i, T
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    4 W8 ?2 ^8 x: x
  569. ; empty.
    7 K5 Z) V) z- y. a
  570. ; http://php.net/error-log' Z2 O" B. b% z% C2 a
  571. ; Example:
    4 a/ z* \# ]6 R
  572. ;error_log = php_errors.log
    5 r. C% {& t$ H7 }! z
  573. ; Log errors to syslog (Event Log on Windows).: V: A9 ?9 |5 p0 v/ B* Y* g" @
  574. ;error_log = syslog6 `( P3 g  `5 \, E6 d
  575.   B7 A& y. s/ c2 s# W% B- i
  576. ;windows.show_crt_warning+ @* Q" G3 S4 ^& K* e1 a
  577. ; Default value: 0
    5 \1 \% O& \4 K: V$ C
  578. ; Development value: 00 I. ]* X* T5 [. T
  579. ; Production value: 0
    9 Y+ G4 L. O3 j' ]$ F& E

  580. # {* V% c" F7 v' L/ h# t
  581. ;;;;;;;;;;;;;;;;;* D# ^6 P+ n3 N& o$ i+ @5 ^
  582. ; Data Handling ;3 o. }) R" Z. ^/ Z( k/ [
  583. ;;;;;;;;;;;;;;;;;
    , _) t: h9 p( d* `0 m& Q& |2 ~
  584. 3 R( N8 W* n+ k$ `" G9 D: M
  585. ; The separator used in PHP generated URLs to separate arguments.
    0 C" b9 ^1 \( ~: ~) G
  586. ; PHP's default setting is "&".% c& o6 a! B" j8 ~& I
  587. ; http://php.net/arg-separator.output
    ! `% Y9 S; S; D) {
  588. ; Example:
    " V/ L$ @* G& O; |6 e6 i
  589. ;arg_separator.output = "&amp;"
    5 l1 m" w/ I4 B5 u/ x- f9 C# P' F2 m

  590. ! S7 d" O: b4 A$ ~) q; B) @5 g3 r
  591. ; List of separator(s) used by PHP to parse input URLs into variables." p& Z$ C* l8 ?/ F9 K5 E
  592. ; PHP's default setting is "&".
    9 \- [0 T, B2 v1 l4 u8 E2 m* U6 b# q8 n, U$ \
  593. ; NOTE: Every character in this directive is considered as separator!' `1 M! ]1 W. I/ Q3 P6 N  f2 `
  594. ; http://php.net/arg-separator.input% j3 O- i. A9 M- }# k
  595. ; Example:' ]* M4 w2 j# a
  596. ;arg_separator.input = ";&"
    4 o: s) R) \: G$ y" p1 Z

  597. + [4 X5 |8 M. W4 ?' c7 ~6 j
  598. ; This directive determines which super global arrays are registered when PHP0 U0 x' x0 Q1 [* F" o/ H8 |2 g
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    , E( z3 s$ F5 T2 l. w) w6 q! C
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty& M9 `" B8 I! F, l; o# D3 U
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    ' R% p+ ]. R: I
  602. ; used as the others, ENV is not recommended on productions servers. You+ t# [' ~& C& A0 }1 @0 x8 a8 R* M' k
  603. ; can still get access to the environment variables through getenv() should you
    5 ~' e9 C+ F/ ]+ n! j, b+ a+ }/ W
  604. ; need to.$ p. L+ Q% B: M) W
  605. ; Default Value: "EGPCS"7 |. \, y/ e. d. |2 N
  606. ; Development Value: "GPCS"
    2 M5 ~: [8 w$ {9 y5 L" c2 P
  607. ; Production Value: "GPCS";
      w+ B! `6 G) U  t! q' S
  608. ; http://php.net/variables-order. F: X9 |2 `) v7 n% V" l
  609. variables_order = "GPCS"& r+ e8 }0 s2 O0 m; E6 J

  610. & p# V  c9 G7 ?/ r* ^
  611. ; This directive determines which super global data (G,P & C) should be0 g5 ]! `7 O. m
  612. ; registered into the super global array REQUEST. If so, it also determines
    1 S7 T. @/ ^; d4 t: L. {
  613. ; the order in which that data is registered. The values for this directive
    + _' K9 L: B6 O
  614. ; are specified in the same manner as the variables_order directive,
    / i3 S! o% J" Z/ O5 Q. y
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set$ H$ ?) E5 L7 J4 t1 |& k7 e; D
  616. ; in the variables_order directive. It does not mean it will leave the super
    # S- z# w4 P7 F7 `+ V
  617. ; globals array REQUEST empty.
    ! W0 Q* u. t1 k  M
  618. ; Default Value: None
    9 A9 D$ x2 B  Z3 [( J
  619. ; Development Value: "GP"
    6 [6 p' G+ v) \/ }. o
  620. ; Production Value: "GP"
    : V2 Z% `' Q$ q/ H# t; U2 B: ?
  621. ; http://php.net/request-order/ k2 f2 Z: h( E* K+ ?/ v
  622. request_order = "GP"
    6 O6 L. k1 r6 x' o2 t. z0 r
  623. 7 H4 @8 k. P8 V. ^
  624. ; This directive determines whether PHP registers $argv & $argc each time it! W% y5 Z; D' b1 c6 N1 V9 H
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    , h( D# U2 l- L0 L7 r& Y, L4 I
  626. ; is invoked. $argc contains an integer representing the number of arguments7 K' i8 ]9 D: [. q
  627. ; that were passed when the script was invoked. These arrays are extremely1 G; Y. x2 U! B* O
  628. ; useful when running scripts from the command line. When this directive is
    2 ~9 d+ B  p2 U6 k  ?! [$ p' N
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    2 ~# O$ d& G. a# S# H& v
  630. ; a script is executed. For performance reasons, this feature should be disabled4 [& o+ Z! j7 R; C% ?7 i, J
  631. ; on production servers.
    7 h/ y8 b" t4 O
  632. ; Note: This directive is hardcoded to On for the CLI SAPI& e9 K% j8 G( |5 v& d
  633. ; Default Value: On
    9 l8 e$ z* _5 P
  634. ; Development Value: Off
    5 x. n/ G% E# u" s' L$ j* L
  635. ; Production Value: Off$ d. S( w! q  y6 p  n: T
  636. ; http://php.net/register-argc-argv
    ) f! F! F7 j# W' M4 U
  637. register_argc_argv = Off5 I, a5 J7 B/ `8 \  W5 u/ G

  638. . p$ ]" P% E+ ^. B! l) X0 A
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're5 R. M4 ^, w  m9 D9 W% b
  640. ; first used (Just In Time) instead of when the script starts. If these
    ( `) C% n) @3 X( @* S
  641. ; variables are not used within a script, having this directive on will result
    $ Y  q" i3 g$ W1 {" w
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    7 S+ g0 d' W  K! O* V
  643. ; for this directive to have any affect.) ?9 n( Q& z" P* y  ?% L& Q( Q
  644. ; http://php.net/auto-globals-jit' a9 p& {2 U' Y. ?% I" K
  645. auto_globals_jit = On1 i! w- M3 d5 Y! E" A0 F

  646. * I/ v8 w' G8 p. a: ~) Q% e
  647. ; Whether PHP will read the POST data.0 }+ N1 g9 r: \
  648. ; This option is enabled by default.+ @6 C: m, j/ ]# U, I' T* u: C
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST% u7 Z, H' @% j* |' ?5 n5 K; [% q
  650. ; and $_FILES to always be empty; the only way you will be able to read the8 d5 r# q9 _/ H
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    / O0 I+ E( o$ O1 Y8 k
  652. ; to proxy requests or to process the POST data in a memory efficient fashion., _1 r: W' g0 Y; t1 O, y% r
  653. ; http://php.net/enable-post-data-reading
    ) N' x3 q6 k- H' Q
  654. ;enable_post_data_reading = Off% N" d- e5 O* v- b) m* v/ w8 X

  655. 1 t' t+ A/ F# b' N9 a. N
  656. ; Maximum size of POST data that PHP will accept.
    + k+ O+ h2 l0 D4 K9 v
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
      P) u! t$ e" a4 F9 _( A& Q1 M
  658. ; is disabled through enable_post_data_reading.
    ) `& C1 n- }, V0 i8 h" q9 s: p
  659. ; http://php.net/post-max-size
    7 |# w* p6 P+ \! O
  660. post_max_size = 50M: Q; R( l0 C0 Z9 T  {
  661. " G( n; G( v# I- r! X
  662. ; Automatically add files before PHP document.
    7 t; t$ J" q9 g/ J6 P0 p
  663. ; http://php.net/auto-prepend-file" o2 J( ^( `" C( o' g# W+ F
  664. auto_prepend_file =
    6 l- ]8 g  Y3 ]# I

  665. * _; x! S5 Q1 Y
  666. ; Automatically add files after PHP document.
    $ D$ K- H0 }/ K4 X$ @8 j
  667. ; http://php.net/auto-append-file* G( A# @( J! H( u, v
  668. auto_append_file =6 m% e+ O, v% p

  669. - [$ g  N5 q4 R  _! G1 U& z- J1 ~
  670. ; By default, PHP will output a media type using the Content-Type header. To
    ' Q0 ~( M# v6 |' Q
  671. ; disable this, simply set it to be empty.1 n5 I) y  c' y+ ~( h+ y
  672. ;& P- l- H+ n% B5 A) a) g& u
  673. ; PHP's built-in default media type is set to text/html.' Y; @) P) R/ a: ~5 c) C' p. e$ ~- t
  674. ; http://php.net/default-mimetype) X  q( D- [, B( Z' b
  675. default_mimetype = "text/html". ]/ i! F5 D6 ~7 k7 f

  676. : o& A. x0 e6 T5 h
  677. ; PHP's default character set is set to UTF-8.* t  q+ \4 a% t" r8 n1 P
  678. ; http://php.net/default-charset* K/ O8 ~) W; Z; E
  679. default_charset = "UTF-8"
    $ c4 T* N2 ^$ w8 {; Z
  680. 3 S8 m% F" p! e
  681. ; PHP internal character encoding is set to empty./ M3 n' t( O- P
  682. ; If empty, default_charset is used.
      n) J5 Q, R( W% C3 O
  683. ; http://php.net/internal-encoding
    ' Q( y6 T, [% V. T- T
  684. ;internal_encoding =" e. d. _. |3 B' B, q9 f- `% x4 W8 ?

  685. ! }# B% Z$ t$ G! l
  686. ; PHP input character encoding is set to empty.0 h& o: \* b$ a* z! A3 B  ~: h1 D
  687. ; If empty, default_charset is used.
    6 N) V' N* R# ^, b+ ]
  688. ; http://php.net/input-encoding
    / a# }2 F, ]7 P' k$ r
  689. ;input_encoding =) j5 q. x6 b) J4 m" C- E

  690. 0 G( V7 N0 J5 J2 n$ K- V
  691. ; PHP output character encoding is set to empty.
    & g# l& j% K8 Q3 W
  692. ; If empty, default_charset is used.8 N9 a6 U) }% D; t0 t- |: n$ M
  693. ; See also output_buffer.
    , S$ j, j7 Y7 Y9 [8 A7 R
  694. ; http://php.net/output-encoding& Z; |2 m8 _& m+ I4 [! a
  695. ;output_encoding =
      o5 A$ k, `7 N; U

  696. # @. E# s/ w" [) j9 t# H; j, M
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    % v, P- w, w( a/ \
  698. ; to disable this feature and it will be removed in a future version.
    " ]& v. ]8 n  @4 k; s2 e/ _
  699. ; If post reading is disabled through enable_post_data_reading,
    : I7 K- q- C' ^7 D1 R+ a+ M1 B
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.
    3 v* r' \# G# f4 M7 Y# |
  701. ; http://php.net/always-populate-raw-post-data: |: {! F9 \6 R3 J/ H* ]# }1 x, m
  702. ;always_populate_raw_post_data = -1
    ) w$ D( a9 c0 D5 M* N
  703. 9 s% ^3 Y, o* }9 c) y
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;! j3 Y1 V* X2 U$ y9 Z% z
  705. ; Paths and Directories ;' t7 ~& R7 f9 e5 g. A% F" e
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;/ ^' B. F; E( @3 V
  707. 9 y; Z$ Q9 T  g' Q, ?: a
  708. ; UNIX: "/path1:/path2"
    ! }( l7 S2 x8 b
  709. ;include_path = ".:/php/includes"8 \$ e/ Q. q4 h
  710. ;
    1 e! r4 l5 p; w- l1 e+ U6 a
  711. ; Windows: "\path1;\path2"
    8 z  j& a' o& D* Z4 ]: E2 F
  712. ;include_path = ".;c:\php\includes"2 A& Q- {5 [1 }. J- l# F. B! i
  713. ;- H, T/ ~: L# J3 _6 V- M
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"- r) t  U/ c  X
  715. ; http://php.net/include-path
    ! y1 J8 X9 @2 N- x2 N' r* e) Z
  716. 3 |5 c1 }6 Y+ h& Z1 E2 ?
  717. ; The root of the PHP pages, used only if nonempty.
    6 C2 }2 \  k' ]! @# g! z
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    - q9 J: k+ y2 j$ @
  719. ; if you are running php as a CGI under any web server (other than IIS)
    1 ~/ n7 V; D) q1 C1 m9 h4 E1 h
  720. ; see documentation for security issues.  The alternate is to use the
    & c, T- a9 k9 X
  721. ; cgi.force_redirect configuration below( D2 h' U1 W3 J( s/ W1 q
  722. ; http://php.net/doc-root
    % i4 F, E  q- k( Y! H) M$ X
  723. doc_root =. u8 ]# @/ r) Z* H

  724. 3 w- a+ D+ Q5 D- W% T" X
  725. ; The directory under which PHP opens the script using /~username used only& \7 D+ w4 A" O& |) ~6 N
  726. ; if nonempty.
    - i) h# @6 X/ \4 m0 G" H" b
  727. ; http://php.net/user-dir0 F, A' s/ o$ v; r( p$ k
  728. user_dir =
    ( w3 W; `. f; i8 ^$ P! O

  729. $ \4 e; H2 Y- d& w- g2 S# v1 g
  730. ; Directory in which the loadable extensions (modules) reside.2 e* ^/ c/ t/ E2 B, t
  731. ; http://php.net/extension-dir
    " y+ j$ Z- d2 i5 \) ?' w+ O
  732. ; extension_dir = "./"2 e+ z) [9 [/ l3 T: R
  733. ; On windows:" X0 p8 R8 p' \& K% u* Q
  734. ; extension_dir = "ext"! C8 ^, y. V6 W, d+ s

  735. " D* B0 X# b8 D9 C8 U1 L" \/ W
  736. ; Directory where the temporary files should be placed.
    + {" o, A; b3 `! ^/ `- l
  737. ; Defaults to the system default (see sys_get_temp_dir)* b) Z0 F3 A$ k! `/ J, H0 Y8 X
  738. ; sys_temp_dir = "/tmp"9 @( e5 _+ S0 t0 v! w8 J5 Z
  739. 7 ~, h8 _7 F. d" e3 F" S) ?
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    / O2 j6 }# q9 r, ~7 ?  r* x4 }0 }
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically% @- J0 s4 S( g- {- H2 q  H3 ]
  742. ; disabled on them.
    4 B7 @/ V) t. {. R, W
  743. ; http://php.net/enable-dl
    ' [8 w2 E, z1 n0 R
  744. enable_dl = Off) O4 V, W$ v  L8 ^% c! B

  745. 1 ~" k% f" s/ u- ~
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under9 c9 s& b, p( {  v- D$ |
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    3 c+ ~! d3 t; I" v
  748. ; turn it off here AT YOUR OWN RISK
    % N3 `7 a& k2 |. K& ~5 l
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    + t; ^1 |; K  ^5 r5 N+ M( j6 B- V' c/ l# j
  750. ; http://php.net/cgi.force-redirect" F% U+ D( h- y" v5 P0 s
  751. ;cgi.force_redirect = 1/ k+ Y" c0 z- _& Q
  752. 8 n) a$ X7 }( F! p: v/ D, {+ a
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with9 }+ \% k( ^& X  [
  754. ; every request. PHP's default behavior is to disable this feature.% u9 R% H& V- i) I0 Q
  755. ;cgi.nph = 1
    2 t5 {" i) ~1 Z0 G
  756. & {) q% k  D3 s: G
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    9 `  d* ?; C; n3 q. A' G! t+ `5 A
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    . u+ u, d* s/ {& U+ U' V
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY5 [; e9 D, f* [; ?; U) ?; Y& u9 N/ I
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    7 D: ]1 |$ D0 @8 C7 q  W# Y
  761. ; http://php.net/cgi.redirect-status-env
      O* |' f, ~8 `" P, V6 x% Z4 U& l
  762. ;cgi.redirect_status_env =* T2 [& R. s2 Z3 _5 \

  763. # x  x" H: Y1 W( I
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's$ n0 Q$ I( e6 _# [& Y0 v) m
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    / p2 O& u7 Z) A. t: i
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    4 o9 S4 w# Q. M7 n- ]6 Y
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting8 B; d. N3 u1 }+ c4 m" S
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts- V% Q- [; H# v: s4 Y8 d: r
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    : v4 W7 M; ]1 N' R! I0 v
  770. ; http://php.net/cgi.fix-pathinfo
    . W" X1 p* Z7 Z! t+ W4 j
  771. cgi.fix_pathinfo=1
    : J9 @+ |* L# w" a' ^

  772. ( R* @, c: u/ G+ B7 `3 }
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    0 u+ W5 a5 U; G
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    # M- [, T7 U' w! _/ b2 Z
  775. ; http://php.net/cgi.dicard-path. e& |  G; a7 \) g
  776. ;cgi.discard_path=1- x1 R# i9 i% E& l

  777. ; F$ @7 ~- p# U7 _" V! f6 {
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate! r: P( A7 Q0 z' E5 x# {" w
  779. ; security tokens of the calling client.  This allows IIS to define the
    $ u+ x3 ^1 S: N! c+ F# B
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    * m6 i4 b' d3 z" C
  781. ; does not currently support this feature (03/17/2002)
    - b0 D+ c( \3 n! Z. ^+ c
  782. ; Set to 1 if running under IIS.  Default is zero.- L4 W* C# N4 g
  783. ; http://php.net/fastcgi.impersonate2 B* e* b+ }# k4 Y8 M
  784. ;fastcgi.impersonate = 1
    ( q$ k3 n" O8 h% Y# R5 ]  C+ N! ~

  785. + M' J; z* E3 k6 l
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    2 z6 x1 D: O& |; N4 d
  787. ; this feature.* N0 F* d7 J) ~) s0 z' z& T
  788. ;fastcgi.logging = 0
    7 Y8 A; N  `* B. G/ R) x- j

  789. 6 @4 o9 p; |. V7 y0 k; x1 }
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    6 @5 z, h/ Z7 Z1 w% b. z- b4 b# {& @
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that  c" B. F2 M8 C% I9 M1 W6 ]! `  _
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    0 H5 S6 U  P4 i. v. Y
  793. ; RFC2616 compliant header." W. u) q5 L' S, {3 v6 _8 a
  794. ; Default is zero.# ~: @7 h$ c3 c: X1 V
  795. ; http://php.net/cgi.rfc2616-headers- U" m) x0 ]/ a0 h; P/ n
  796. ;cgi.rfc2616_headers = 03 P# v% h/ }. l4 K9 E( s: r7 R

  797. , c4 x, D: |" H6 A
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
      f4 ]* t4 r' [1 T* d; t& I1 d8 j
  799. ; (shebang) at the top of the running script. This line might be needed if the
    8 l+ Y9 R; w/ b9 O
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI6 o  F5 ]8 t( p1 ~* ?+ p5 K
  801. ; mode skips this line and ignores its content if this directive is turned on.5 h. a/ t$ J4 q  G* s" L7 U! ]$ Q5 V
  802. ; http://php.net/cgi.check-shebang-line
    6 ?/ U- `5 F& m
  803. ;cgi.check_shebang_line=1
      f3 O7 ^8 s9 O! J% _5 p% w

  804. / }. y7 L" e* [' j/ X
  805. ;;;;;;;;;;;;;;;;
    $ s% F: T# B& t1 G
  806. ; File Uploads ;
    3 C/ B) S+ ^) J& l& s1 h
  807. ;;;;;;;;;;;;;;;;
    . Y# H6 e9 c9 }( n( G

  808. ) a' F  v* J; D! n
  809. ; Whether to allow HTTP file uploads.
    / x; p0 O% \9 V  M2 B
  810. ; http://php.net/file-uploads
    8 Y5 k6 m7 T7 s6 K1 o
  811. file_uploads = On
    * Q) I8 G  \7 P6 l4 Y- w7 L- a

  812. 9 ~5 C: d6 Q. Y: o, h
  813. ; Temporary directory for HTTP uploaded files (will use system default if not0 C+ ^+ Q% K) O$ X' G9 ~# J9 f
  814. ; specified).
    / b3 ^, u4 i& }- I
  815. ; http://php.net/upload-tmp-dir
    9 j( t9 u. f( E
  816. ;upload_tmp_dir =
    $ g& ?0 ^3 L1 W; {: ^# b5 J- E% j

  817. / E& j( @/ f; H5 }2 V. t: _) @7 @
  818. ; Maximum allowed size for uploaded files.$ f' r  o- z) v* I: z/ V) w
  819. ; http://php.net/upload-max-filesize
    ( V- I7 }, Z2 b' @) K! j' J
  820. upload_max_filesize = 50M
    . E. ]( k% d8 ^; l' B
  821. 1 E, }, b. l3 L
  822. ; Maximum number of files that can be uploaded via a single request6 p, r; b/ l) ~) w5 @3 n% z
  823. max_file_uploads = 20# e2 f, {' Q8 _. ^6 n
  824. - w" j9 ~# D( O5 d" X
  825. ;;;;;;;;;;;;;;;;;;$ G9 q7 l. D; n3 a: j/ M3 i
  826. ; Fopen wrappers ;: b' R7 `7 G. M/ A$ z, g) O" F
  827. ;;;;;;;;;;;;;;;;;;
    3 m/ u# l7 j* R+ Z
  828. 8 N( q8 T4 i* k' ]
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    ' g# Z+ B; Q7 f/ ~9 u
  830. ; http://php.net/allow-url-fopen
    ' ?9 i( C- }1 [( t/ ?4 o5 s
  831. allow_url_fopen = On" v6 S6 C# l% ~: l9 o5 o
  832. ) c- b9 t8 r8 s7 ]2 H" d
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    9 J# U2 E% I! s9 d7 x4 @
  834. ; http://php.net/allow-url-include
    9 `9 i* E0 t% w
  835. allow_url_include = Off7 L9 u; D  {* k8 _8 Q- k

  836. $ ^& |& D& e/ G; i# \
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    1 b2 q* T! V( p7 ]1 m& Q9 v" {
  838. ; for this is empty.4 t! F9 K- p& ]. J9 L) p1 E
  839. ; http://php.net/from
    " w5 |( u4 K4 Q
  840. ;from="john@doe.com"
    8 W/ o1 ~0 P' E& O: b8 v( W

  841. 0 s4 r' m. R5 O/ S! \6 w! j! z
  842. ; Define the User-Agent string. PHP's default setting for this is empty., N7 ~7 z( s* i0 l$ X
  843. ; http://php.net/user-agent) c5 Z' V5 P" a: s6 B5 x
  844. ;user_agent="PHP"& m5 c" s: ]* T( r4 {7 u

  845. 7 \3 y* |  `- Z5 N
  846. ; Default timeout for socket based streams (seconds)3 }5 {+ W: }7 A8 J7 \* ?9 o
  847. ; http://php.net/default-socket-timeout2 B& S/ w' ~& q8 a
  848. default_socket_timeout = 609 t2 ^) _  l* Z$ Y5 A$ E0 u
  849. # _2 Y* g4 Z! @
  850. ; If your scripts have to deal with files from Macintosh systems,
    " b& C/ c5 ?2 v; z2 X1 \
  851. ; or you are running on a Mac and need to deal with files from1 ?" j2 I/ k" g
  852. ; unix or win32 systems, setting this flag will cause PHP to
    $ l( k, A" T9 d6 q# S
  853. ; automatically detect the EOL character in those files so that9 d, K+ m* Q7 @
  854. ; fgets() and file() will work regardless of the source of the file.8 X, n4 p( i% q- v
  855. ; http://php.net/auto-detect-line-endings
    ! g1 ]1 ?/ {9 S3 ^
  856. ;auto_detect_line_endings = Off2 Y: a! u1 x, a6 m% V! ~6 O# O

  857. ( ]8 S4 O' j) T3 ]7 d4 W& m) L
  858. ;;;;;;;;;;;;;;;;;;;;;;
    1 N  J( J( j# U9 d0 d/ o6 L
  859. ; Dynamic Extensions ;" p/ G( C* Z+ i, T( u
  860. ;;;;;;;;;;;;;;;;;;;;;;  c$ D; m& C4 U3 M1 Y! u9 ~& o

  861. ) A' F7 i$ W+ }  i% h
  862. ; If you wish to have an extension loaded automatically, use the following
    5 n! r. I, o( T: f( z
  863. ; syntax:
    * E* V  k. y5 L- A  e6 y
  864. ;
    8 e% D  _$ j& r! w; Q$ z
  865. ;   extension=modulename.extension" R# P( P% d" ?5 p
  866. ;
    7 x! J+ g  X9 @9 h# E
  867. ; For example, on Windows:
    2 z  U: x! }* L6 B& Y% y& A
  868. ;/ G7 E- \. s& e: K
  869. ;   extension=msql.dll1 N. t" Q  q, p' X+ }
  870. ;# Z0 Y" D4 i% Y6 j6 h
  871. ; ... or under UNIX:
    : e. P8 l3 e; E5 h" s2 n7 K
  872. ;( q8 t  P1 h1 V2 b
  873. ;   extension=msql.so
    : T5 S- a$ j/ i* X
  874. ;
    0 D6 @. f/ s% z+ n# c# k$ {
  875. ; ... or with a path:7 k+ f7 U% [+ N0 A" I* _7 h9 o
  876. ;
    6 b7 G# w% s+ s! |4 E& d7 S
  877. ;   extension=/path/to/extension/msql.so
      _2 E% ]  [! y; d% p, J) w4 t
  878. ;
    4 |  s7 [; J- o( \+ e; h% }* `
  879. ; If you only provide the name of the extension, PHP will look for it in its
    ) o8 E. ^# k4 d; \" y
  880. ; default extension directory.5 p5 {) O( x; N0 m+ n
  881. ;
    5 K  a/ C/ U! h* h& P  W, T# J/ ^
  882. ; Windows Extensions- b7 j* Q* d, V( S! p) c6 i
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    ) x& x" @% _0 M: W  L; f
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)$ I) u' q: N1 W) b" Y; y' |( x3 y! Y
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    ( ]$ x' E( K) P5 u
  886. ; Be sure to appropriately set the extension_dir directive.+ z  h. m. Y* K0 B
  887. ;
    4 j6 o* y9 P$ t% n0 D
  888. ;extension=php_bz2.dll1 @4 O; a. f9 s4 r
  889. ;extension=php_curl.dll5 r4 h( m. ~4 _5 }; U
  890. ;extension=php_fileinfo.dll3 q0 Y9 \0 a5 l( x" t1 x
  891. ;extension=php_gd2.dll
    ! \2 c0 O2 g- d2 N. T" n# P0 q' M
  892. ;extension=php_gettext.dll, y, Q- y  k2 v. o  E/ ~
  893. ;extension=php_gmp.dll
    . a1 k8 c" S% {
  894. ;extension=php_intl.dll6 W3 y' B  s6 P* W5 l6 I* n
  895. ;extension=php_imap.dll
    " c; ]" v. f9 q$ X. Q* u
  896. ;extension=php_interbase.dll
    3 y( _6 W% k- n7 q" S3 O. _! m
  897. ;extension=php_ldap.dll
    - a  g% w/ M- j* |. p- ~+ Y1 ~/ l
  898. ;extension=php_mbstring.dll3 m- o% H' S) l5 F5 Z! h
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    0 A: w' K( ?# ?$ c9 z
  900. ;extension=php_mysql.dll1 a' G: R$ l. U6 T$ T
  901. ;extension=php_mysqli.dll
    3 z$ ?* B( {7 L9 a
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client2 `% S6 f; W- j  l* i- A
  903. ;extension=php_openssl.dll% d1 B5 I2 c6 K) E: D. J8 h
  904. ;extension=php_pdo_firebird.dll
      a( }, A) L$ U
  905. ;extension=php_pdo_mysql.dll
    ) ?; ~5 s; r3 W) `( l" T5 r7 w( [
  906. ;extension=php_pdo_oci.dll
    + E8 v2 Q! {; `! r9 E
  907. ;extension=php_pdo_odbc.dll$ L: `. G4 \" l5 L2 q& X+ Q$ M
  908. ;extension=php_pdo_pgsql.dll
    . u7 Q) \% j+ B  ^! {+ t
  909. ;extension=php_pdo_sqlite.dll
    ; ~  A" N+ E" h7 r# H
  910. ;extension=php_pgsql.dll
    + k1 d8 p/ H2 l8 ]! P
  911. ;extension=php_shmop.dll
    1 M& P6 e; S3 S" t4 ^

  912. ' F7 _0 s1 Z" ~% l# `( U- T
  913. ; The MIBS data available in the PHP distribution must be installed.
    ' y' W# `, q+ O9 M1 q
  914. ; See http://www.php.net/manual/en/snmp.installation.php 6 Y- k/ b% \, E: {: l
  915. ;extension=php_snmp.dll
    4 k0 q) p( u; o# ?. y

  916. 7 T/ |2 B, `( U& ^, I* j' e
  917. ;extension=php_soap.dll6 |  u2 p/ b3 b6 W: \4 @
  918. ;extension=php_sockets.dll# D6 t0 Z! O8 Z7 r  T/ L
  919. ;extension=php_sqlite3.dll9 `: j; c0 R5 N) R
  920. ;extension=php_sybase_ct.dll, J3 a7 E+ R7 E& ?' @* u
  921. ;extension=php_tidy.dll
    # b% Q4 _1 O; h" I7 W
  922. ;extension=php_xmlrpc.dll
    / n$ |( g! Y2 p( a  D; H) V( ]
  923. ;extension=php_xsl.dll" ]/ _- c& D, C2 F

  924. 2 T% J5 j' M% V; x3 B
  925. ;;;;;;;;;;;;;;;;;;;
    3 w/ e( |0 S3 A9 x
  926. ; Module Settings ;
    ) d- l. {5 ~) s. S6 W" n% m
  927. ;;;;;;;;;;;;;;;;;;;2 g2 {" y6 N3 A9 c$ }3 s' U- S/ g. m& R

  928. ; a# \2 s7 l5 I1 G* A  m
  929. [CLI Server]
    9 m* I* G1 H! l$ D' z: G
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    # q& z2 p4 b4 Z% b$ X
  931. cli_server.color = On1 {, [# b9 |; _" {' r. @2 l
  932. & f, R. A8 w. v5 s! G6 i. N# t
  933. [Date]' Y6 Z, L4 d# W9 N
  934. ; Defines the default timezone used by the date functions5 a& Z" ^( |' `$ d& o+ a% o6 I
  935. ; http://php.net/date.timezone: q; r8 z# V* O2 x/ d, S
  936. date.timezone = PRC) P" Y, d9 @0 {( N$ G  ~
  937. & w4 G& x$ o. H* B& C
  938. ; http://php.net/date.default-latitude
    1 V$ t- n! u# `  `, \+ z/ I. Z
  939. ;date.default_latitude = 31.7667% V! }: S% ^: E8 ~! Y
  940. 9 ~8 x# X& P( a% }) o( ^' P' T
  941. ; http://php.net/date.default-longitude5 l( X  |+ \  Z* y$ K3 G
  942. ;date.default_longitude = 35.2333
    9 @2 l' t, p% o3 @  M. A5 n0 q

  943. & E: L3 f7 _$ n$ h# }
  944. ; http://php.net/date.sunrise-zenith
    . ^- q/ r3 P2 r# z, N
  945. ;date.sunrise_zenith = 90.583333
    7 A4 o  N" L0 I* l; H, ~) Y& }. ^5 H

  946. $ ?; f$ e3 ^3 H( U
  947. ; http://php.net/date.sunset-zenith
    & f6 q2 U* o3 m; p
  948. ;date.sunset_zenith = 90.5833333 ]3 U, i* G5 s: M' l4 K* o2 ~% d

  949. % d, U4 {9 ]- M; H) M8 v2 j* Z
  950. [filter]
    6 {  m' u$ T( K& K( I, u
  951. ; http://php.net/filter.default9 G2 r. @7 h5 D7 d
  952. ;filter.default = unsafe_raw
    6 ?2 @! A) N# ~, p5 Q% t
  953. # U, R2 i& G1 X0 R/ b5 @! l- g0 ^
  954. ; http://php.net/filter.default-flags
    . s! M' {! W/ z  r0 C0 P: S
  955. ;filter.default_flags =& H- ^' l  O5 h" S

  956. # g  U$ M6 I: e
  957. [iconv]6 m2 j+ y. |; N
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    $ }/ E% k3 Z, D% T! P- ?: R7 i
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.+ w/ U/ _  v1 Q+ U
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    ( `' E! s0 q( K; \1 `6 |! T
  961. ;iconv.input_encoding =
    5 r9 A7 M- F& J
  962. ! I- a8 e1 Y- s: F
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.: R* }, x0 `5 j. K3 f" [4 D
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.+ H: a: k) }2 C8 f
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding3 |9 @+ f1 B# {
  966. ;iconv.internal_encoding =
    6 h2 W9 M% L. }  v: F* ~4 _
  967. . L$ T, `# a' ?2 l; H9 |4 y
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.5 t8 _" y$ u- A  y* [+ N* c2 l
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.6 J7 M, v# A" G/ Q% s
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding" |/ ?) n: g0 {) s
  971. ; To use an output encoding conversion, iconv's output handler must be set6 ?' Q6 X9 u8 D: ^. [
  972. ; otherwise output encoding conversion cannot be performed.6 j- ?7 K3 @6 D6 ^' ^) d
  973. ;iconv.output_encoding =: o& ^7 g( g* A. t7 f5 m

  974. 1 I! G" K6 P6 X$ p) {
  975. [intl]7 v& ]% R" P4 K( i. v5 D( n
  976. ;intl.default_locale =4 t/ e4 e6 @) L# D% |0 Q
  977. ; This directive allows you to produce PHP errors when some error
    ( G: `/ k# z/ m, P, x+ J( y4 ?
  978. ; happens within intl functions. The value is the level of the error produced.
    ! W( [+ J( C: B2 ?$ l7 k6 B$ B# a
  979. ; Default is 0, which does not produce any errors.; a1 r0 W, ^) V4 |
  980. ;intl.error_level = E_WARNING
    ) F7 r. Z& ^2 W! _. h/ I0 y
  981. ;intl.use_exceptions = 0
    ) O/ c! O6 k; a( G1 E, y- d* [

  982. & \0 p0 Y! C# r( G: W" V
  983. [sqlite3]
    ; Z5 u; j$ h6 Q# j
  984. ;sqlite3.extension_dir =0 e1 m% u4 r+ i  s, F! X6 e
  985. * J$ m; e4 Z# F. @4 {: e% G! s
  986. [Pcre]
    * p- v8 A( d( V9 A2 F
  987. ;PCRE library backtracking limit.8 h: t1 b1 i( E$ u5 C
  988. ; http://php.net/pcre.backtrack-limit% M. u* `0 G& k3 R* }4 o. F9 d
  989. ;pcre.backtrack_limit=100000
    " ?7 ]% M7 u- F, F. ]2 `
  990. ! H  D/ m9 a& G* }1 _7 `9 E
  991. ;PCRE library recursion limit.& v' q2 F6 a* R
  992. ;Please note that if you set this value to a high number you may consume all
    ( [; v( c+ C. n: V- [
  993. ;the available process stack and eventually crash PHP (due to reaching the
    6 h& Z) @! v4 x! E
  994. ;stack size limit imposed by the Operating System).
    8 D/ Y. J9 M3 c; A; C, b
  995. ; http://php.net/pcre.recursion-limit
    2 \& x) n. [" b3 c9 T
  996. ;pcre.recursion_limit=1000008 e+ ^, d. u2 Q+ w

  997. * Z/ V8 `5 z6 F. n. S1 q" \" Q
  998. [Pdo]
    9 x! Z, d9 Q, f
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"* ]! J+ x- S/ q9 g5 T( P
  1000. ; http://php.net/pdo-odbc.connection-pooling1 h1 M1 `5 N7 z3 T# j- ?% t
  1001. ;pdo_odbc.connection_pooling=strict
    , M, [( Y! F- c/ J, Q( ]' l' X
  1002. 3 T5 z% E/ x- j4 [" R
  1003. ;pdo_odbc.db2_instance_name
    : w3 O- A: L) i7 \( R+ y6 d* W

  1004. # B' Z7 e0 s, c2 f0 O
  1005. [Pdo_mysql]
    0 `- M( @& _- W$ J
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache: f- z+ ^: e* i5 b' W% `
  1007. ; http://php.net/pdo_mysql.cache_size. F( w6 K& O' G9 I# A1 O0 y; ^
  1008. pdo_mysql.cache_size = 2000
    3 S* d6 Z2 y- R) D

  1009. 2 g2 @7 [! }  E; Y
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    5 x& y/ H% @7 B, Y+ {: @; D% w+ M
  1011. ; MySQL defaults.
    4 o9 v) r3 R/ R+ Q% K% B
  1012. ; http://php.net/pdo_mysql.default-socket% u" C- s, ^( B0 j; Y
  1013. pdo_mysql.default_socket=9 g+ R3 P5 t) ^- |% F4 t; s# q

  1014. . |* m/ @! i. ?: @/ J
  1015. [Phar]
    ; c4 c$ F2 z3 u2 a
  1016. ; http://php.net/phar.readonly
    6 ~1 {& U, I0 C1 S
  1017. ;phar.readonly = On+ g, J& c4 j2 a. d
  1018. 1 L. i/ e6 M& m( v0 m3 a
  1019. ; http://php.net/phar.require-hash# B. _$ Z3 q# A4 E
  1020. ;phar.require_hash = On3 k0 G1 ?+ T6 J+ |

  1021. 1 `  r$ a" s3 l% Q' z! ^
  1022. ;phar.cache_list =% k7 A7 p0 [/ a- Y% G& y
  1023. " M+ c  v+ |) w2 c. f% Q
  1024. [mail function]
    , r7 ?& j* Z" n
  1025. ; For Win32 only.
    ' p% a7 {% _2 D/ F
  1026. ; http://php.net/smtp
    % X0 w' j0 o0 W0 E0 _# u
  1027. SMTP = localhost
    7 Q6 T1 @  n9 \( e6 g$ t
  1028. ; http://php.net/smtp-port
    ' |; h: e' w9 R4 n+ w# k
  1029. smtp_port = 25
    6 q5 A6 s; A5 m5 }8 a

  1030.   ^! e: w% H2 J0 c
  1031. ; For Win32 only.
    $ s9 y; I. y6 w- G4 v( x2 S7 R: t
  1032. ; http://php.net/sendmail-from
    8 \0 O$ h3 Z. R8 ^' a2 i) ?1 K& _5 {
  1033. ;sendmail_from = me@example.com0 k7 ^+ d9 l9 ~8 R2 k! l

  1034. 7 D) ]0 V% [6 Q4 E- G& t
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").2 P, `! \+ X1 O% ]
  1036. ; http://php.net/sendmail-path
    " S: W+ n: p8 c$ B
  1037. sendmail_path = /usr/sbin/sendmail -t -i" F* E) G9 W8 W8 P$ v
  1038. ' x* c, a6 N1 Z& G# N
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    , c$ }: z: t) J3 _4 z/ H
  1040. ; to the sendmail binary. These parameters will always replace the value of
    % R/ ]4 O5 U8 _4 z, R7 u) D/ e
  1041. ; the 5th parameter to mail().
    9 [$ _. L4 ^+ j( \& _7 h
  1042. ;mail.force_extra_parameters =5 ?9 n  I# ~+ w5 @8 o! J- d- }, H8 X2 |

  1043.   d5 C2 X+ M' X' j$ v
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    7 l( d- Y) }$ q! g/ Q- ]
  1045. mail.add_x_header = On+ f9 n  B4 U( ]6 y

  1046. * A# z% t# D4 Q! a/ C
  1047. ; The path to a log file that will log all mail() calls. Log entries include% l% u4 ^5 Z) n. z. J
  1048. ; the full path of the script, line number, To address and headers.
    / E# J4 T+ A5 L! Z6 e
  1049. ;mail.log =# [. g6 y  E/ m+ B2 U
  1050. ; Log mail to syslog (Event Log on Windows).; J5 U$ A" ~2 a$ W4 K$ V* o2 w/ _
  1051. ;mail.log = syslog( t( E. Z- H) T1 Y
  1052. 8 `2 K  q; e3 W- w3 y; l
  1053. [SQL]. E, {0 h& x- G
  1054. ; http://php.net/sql.safe-mode
    " T) g( E1 f4 `: H: h2 k, z
  1055. sql.safe_mode = Off; Q( F/ v) T7 p  Z& a* _4 A5 B- F
  1056. # D' o, D8 }1 N& l
  1057. [ODBC]$ M0 @" I3 t: ^, F) ?+ l/ j$ K
  1058. ; http://php.net/odbc.default-db
    - u9 X+ e7 [# l: M& t: m
  1059. ;odbc.default_db    =  Not yet implemented
    7 X* H0 w; m1 m, d; f: j5 U' D3 x
  1060. 1 B  J  n, F3 L: C  x! z
  1061. ; http://php.net/odbc.default-user' r* }% R0 b% L  D
  1062. ;odbc.default_user  =  Not yet implemented
    3 `+ c" K' G5 R
  1063. 1 ]8 E, O3 \& u
  1064. ; http://php.net/odbc.default-pw
      c- m' j7 L- |6 F. l! M% o
  1065. ;odbc.default_pw    =  Not yet implemented
    + n% ^+ E* Z3 x* [6 J
  1066. % z, k/ B8 R; X  `0 Q1 v
  1067. ; Controls the ODBC cursor model.# O8 K/ P3 u' r8 g
  1068. ; Default: SQL_CURSOR_STATIC (default).( R1 a) f+ M* m$ Y/ v, r
  1069. ;odbc.default_cursortype
    . L3 _" e  G) d9 j* `

  1070. 4 M2 m* o0 N6 Q
  1071. ; Allow or prevent persistent links.3 o: K6 j* o, I6 p' S1 m! H
  1072. ; http://php.net/odbc.allow-persistent
      m$ j; x8 b% ^  X6 U3 W! ]1 {
  1073. odbc.allow_persistent = On
    # r2 M& E& R+ m) A. k  q# [+ L% {5 }8 Y

  1074. # @7 V- A# Z% D
  1075. ; Check that a connection is still valid before reuse.0 O6 i( J0 ]4 j0 M
  1076. ; http://php.net/odbc.check-persistent: U3 K+ c: v  o' i
  1077. odbc.check_persistent = On1 o$ D+ q, N. M  ^% R8 |( [: F

  1078. 1 U1 A8 I! \/ L; }: ]
  1079. ; Maximum number of persistent links.  -1 means no limit.* |# N2 K% g5 f" i, t( v
  1080. ; http://php.net/odbc.max-persistent. @0 f$ S( I  h
  1081. odbc.max_persistent = -1! ]# r0 u4 a' `% u8 g

  1082. 7 P3 @5 {3 y4 S0 H
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.0 h+ J& f1 P3 o
  1084. ; http://php.net/odbc.max-links. k3 K4 p) J1 x7 E% U9 {& ]
  1085. odbc.max_links = -1
    9 C  d4 U0 @- x0 [0 `
  1086. ' ]. P( x: T0 s6 s  R! R5 i
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    ( _/ ^7 y$ ?7 e. r0 {
  1088. ; passthru.
    : W& N- A9 V% o# ^8 ^+ V
  1089. ; http://php.net/odbc.defaultlrl
    / {9 J1 W9 [; E0 k8 f2 W
  1090. odbc.defaultlrl = 40965 d" w8 d- k; y5 r* H4 a
  1091. ' x3 _- |3 K7 Z" i
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    5 A$ Z2 G: E$ c% Z- x3 ~
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation  v3 h, V* P# Z0 o5 ~2 L. I: c" M
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode& `& _6 |7 m- Z7 s+ u/ N
  1095. ; http://php.net/odbc.defaultbinmode
    4 \; P  |; t- _
  1096. odbc.defaultbinmode = 1
    3 E, a  F: r; g1 {! X+ j! @
  1097. 2 L- L1 f) W/ W0 p) b8 r
  1098. ;birdstep.max_links = -17 {, R( V0 A6 J: d2 S
  1099. 4 J- Q4 H# Y8 h. M3 k
  1100. [Interbase]
    . N0 S# \. P+ D, K8 T
  1101. ; Allow or prevent persistent links.
    6 P: @. P: S4 n
  1102. ibase.allow_persistent = 1, P2 i1 k0 L- Y; N3 f$ x
  1103. - l: H; h1 I+ ^/ B4 b8 \
  1104. ; Maximum number of persistent links.  -1 means no limit.
    ; C7 j7 N9 c8 ^) c
  1105. ibase.max_persistent = -1
    6 W* c3 }1 h9 k) C7 m  T2 l

  1106. - e6 g$ f! @; f( |4 Q7 j/ a
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.# v; I" E, R  k
  1108. ibase.max_links = -1' m; P9 F0 h% \2 z0 T4 k, y/ k2 U$ \4 O
  1109. , S0 o8 n/ z# G0 |8 b: |/ Q2 S7 t2 s7 K( W
  1110. ; Default database name for ibase_connect().
    . t  {: A8 j) w4 a0 b  o) Y" c: V
  1111. ;ibase.default_db =
    ; v% r$ N+ P' Z! a6 Y: _

  1112.   F2 F, X8 e$ B* F- s5 b
  1113. ; Default username for ibase_connect()., }3 `8 c% G: f# V$ F* y
  1114. ;ibase.default_user =
    ; z: a. k8 h5 N/ `; k& o
  1115. , E# ~( N6 o! L% Y. Y% ~
  1116. ; Default password for ibase_connect().
    6 f0 e8 k7 R" q3 B
  1117. ;ibase.default_password =8 Q# d& d7 h9 F& c) V' A

  1118. - h4 Y* v: r' A0 G. z! `" h
  1119. ; Default charset for ibase_connect().
      s) u+ o: V  v6 ~! [8 V' t
  1120. ;ibase.default_charset =
    8 H8 f* L, _* w+ A* x9 O7 v

  1121.   Y% n& H/ y1 @% P
  1122. ; Default timestamp format.
    & l! N  _* x: @! V& [5 C8 R0 G5 [
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"& i1 ~# j9 O' }5 M/ W3 t/ B0 _
  1124. * W; W7 S# y4 W/ F+ U
  1125. ; Default date format.: y: G. I! v4 p8 U, S  b1 _
  1126. ibase.dateformat = "%Y-%m-%d"4 Y+ g: C) W4 Y" A. m$ |

  1127. ; M2 _. r9 h$ u" C
  1128. ; Default time format.
    7 o* ~  G5 F# O! {: b6 M
  1129. ibase.timeformat = "%H:%M:%S"
    ' D- T$ U! L% U" {3 i* n# P

  1130. 5 M; T- a6 j4 O! o) h
  1131. [MySQL]
    - k+ a% w9 S  ?: W- I
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements" u# j0 f. [! D9 z  a) _7 h
  1133. ; http://php.net/mysql.allow_local_infile
    6 z3 Y. ?; x, d+ C  S. n" _
  1134. mysql.allow_local_infile = On
    ( U- {4 |; T6 R

  1135. 5 S$ X5 v. @# ~# f# \, x
  1136. ; Allow or prevent persistent links.6 z8 ~- i( O# B- h" [# _
  1137. ; http://php.net/mysql.allow-persistent5 o' q5 ^8 a! ]1 o" O% o0 P" [
  1138. mysql.allow_persistent = On% [( J( Q+ u; p

  1139. - x) k7 Q3 z* r: y6 ]
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    ( w1 c/ X3 d2 z
  1141. ; http://php.net/mysql.cache_size# G" T, t1 h; ]( I, j0 J5 t: y
  1142. mysql.cache_size = 2000
    + g" J( c- O! W+ y7 L- }7 H( v

  1143. " i4 j% Y7 E+ V. |0 ]+ V
  1144. ; Maximum number of persistent links.  -1 means no limit.
    0 P& Y/ }) B- H9 a
  1145. ; http://php.net/mysql.max-persistent
    ! m  \9 k  O9 V8 e
  1146. mysql.max_persistent = -1
    ( d& K) E0 I2 Q& l/ h* z
  1147. ; P! ?+ m# V$ K! a4 n  Z: p
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    9 s! V$ k; A+ u1 z# `  n7 j; ^' b
  1149. ; http://php.net/mysql.max-links7 a0 D: ]+ H1 b$ h% M$ ], z, L
  1150. mysql.max_links = -1; Z; A8 v4 Y! i/ {9 m8 \7 ?
  1151. * W( B& y+ Q4 G0 n
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    # R0 r3 @9 S( S' ?: p. c: P1 H. `
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the3 L; E9 E: O4 o" `2 K: g
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    ! }& l- u/ d3 b
  1155. ; at MYSQL_PORT.
    , F: w+ B! a0 F! F0 ?. H3 r
  1156. ; http://php.net/mysql.default-port& E7 z9 K6 o3 X+ ]# |* T
  1157. mysql.default_port =
    , r1 m+ A% g  N- P' p2 Z) e/ j
  1158. 8 w" ]$ d2 W" u. T" _
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in$ f' V7 g' y6 B. b. ]( z! m& `
  1160. ; MySQL defaults.- B1 B( o# H* n: o# j( s6 O6 q( U6 x" ^8 a
  1161. ; http://php.net/mysql.default-socket
    4 D' j0 Q  a: T3 N( w) d1 V
  1162. mysql.default_socket =9 O# u5 ?" d' ^) K( c

  1163. 0 a" a3 P, ^9 r) j- O$ ^$ r& [5 a7 Z
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).# z/ K: F# p7 W3 C
  1165. ; http://php.net/mysql.default-host
    2 J( ?7 f2 U' ?5 `. n! A8 ]6 B6 q
  1166. mysql.default_host =. m0 Q1 G+ V: l: Q% n2 O6 W% F
  1167. 6 Z" p* S+ Z( _& M0 O
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).  o1 W! b" _, O/ _1 S, }
  1169. ; http://php.net/mysql.default-user  S5 n0 q- x( @8 p- C* w: u
  1170. mysql.default_user =
    / m) u/ y, d+ ]; ?1 X$ k+ M. ?
  1171. $ t/ q( a8 R% r) T
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode)." [# D' m, m% @: w. H" C; e8 S/ B
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    % u! p, f) N+ [
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")3 [% J/ X$ R, j. Z; x" \
  1175. ; and reveal this password!  And of course, any users with read access to this) c2 B- f' B7 e  f: I
  1176. ; file will be able to reveal the password as well.
    ( _9 z' V2 a' P) U/ O# I* ?
  1177. ; http://php.net/mysql.default-password
    / u& P1 g* G1 U9 ^$ \0 m
  1178. mysql.default_password =7 H! F/ ]' C$ W+ F: U" q6 d9 x; j% ^

  1179. 4 q6 k  b' |+ X, ]( K% \
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    1 S2 J0 A4 E1 j' a0 I
  1181. ; http://php.net/mysql.connect-timeout$ x7 [+ Z; i( E/ g+ S; P1 m' {
  1182. mysql.connect_timeout = 60
    , V. @! g) g) \; ~

  1183. . E+ ]3 y2 N) G2 j' ~1 E
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    * A8 T4 ?2 |7 E. S# d
  1185. ; SQL-Errors will be displayed.
    $ o5 n8 U4 {" V3 A" K: q4 x
  1186. ; http://php.net/mysql.trace-mode0 P  N+ `/ a6 U1 f
  1187. mysql.trace_mode = Off
    1 J0 p0 s( n. G! v: n
  1188. : f& ~" L2 m+ L3 X
  1189. [MySQLi]8 F0 ^+ [2 G/ K6 p

  1190. * k% T  }! p8 q! M
  1191. ; Maximum number of persistent links.  -1 means no limit.* l) P+ ?" E1 v, i
  1192. ; http://php.net/mysqli.max-persistent! a  B6 [& J! @
  1193. mysqli.max_persistent = -1" m! `4 d8 v; d$ r! U0 E& Z& t
  1194. & M0 T/ u3 T" h
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    9 m) A' D  u5 q. N( @3 u
  1196. ; http://php.net/mysqli.allow_local_infile
    ( `. c; `! _" C5 s* M5 D4 N
  1197. ;mysqli.allow_local_infile = On1 t" K# n) y/ Q. w$ o5 U, D6 i

  1198. ' X/ c0 c' u, g( n% p; X+ c5 |7 b
  1199. ; Allow or prevent persistent links.
    + ~& V9 s. m3 A  j0 n
  1200. ; http://php.net/mysqli.allow-persistent* m0 @: M6 P/ \8 d8 C% N
  1201. mysqli.allow_persistent = On5 D: b3 h0 B' X& _. D

  1202. . Y0 M8 @: F( j( Q$ O; ?/ ~
  1203. ; Maximum number of links.  -1 means no limit.& M1 ^2 O* m# h  y
  1204. ; http://php.net/mysqli.max-links
    " I' E9 p! _3 D. i# n/ N& P( _4 h
  1205. mysqli.max_links = -1
    ( Z6 X# }) e# j, H% G  ~

  1206. $ D' Q& Y6 X" U! D- h$ L9 ~
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    2 k4 m. P  V/ u! D# n
  1208. ; http://php.net/mysqli.cache_size
    + O+ f/ a, x2 j
  1209. mysqli.cache_size = 2000% W5 y9 D1 w+ Z
  1210. , `! ?1 Y. p4 Z8 i; u+ E2 d- T$ o
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    $ Z4 G! E( Z" }$ s$ C5 e
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    # R" `7 ^% Y0 R; K" Z+ j
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    8 E6 P' K5 Y7 W5 L) W9 @
  1214. ; at MYSQL_PORT.
    6 n. I) k& n/ O# h/ D
  1215. ; http://php.net/mysqli.default-port
    2 T1 |0 ^! x( |) O: b3 Y( V
  1216. mysqli.default_port = 3306: _- i1 Q& k6 {0 J$ _7 o& [5 x

  1217. ( F2 w) s" L1 S- d0 a
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in7 g2 f3 l) q- z
  1219. ; MySQL defaults.
    ! ^: w4 b, F# U' c( g, Z- _: I
  1220. ; http://php.net/mysqli.default-socket
    : n. j4 N% ~5 H& V9 u- q
  1221. mysqli.default_socket =! P3 {8 q, i% C7 j
  1222. * e: M: b8 L' Y- Y
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    ! |6 ]* b8 O+ d3 s$ r: f
  1224. ; http://php.net/mysqli.default-host6 T0 l8 T7 J5 Q9 j+ [
  1225. mysqli.default_host =$ ~% C( r% }9 j% X
  1226. " n& m% M- F0 A8 g
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).! r; x. M* {+ L% H! w1 f
  1228. ; http://php.net/mysqli.default-user+ w! O5 u8 S. D/ N( O6 n
  1229. mysqli.default_user =- s, y5 h% I- r' H
  1230. - Q2 Y; e! Z7 J
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).0 ?- U# s, U% p% S1 g; `$ `
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    ( t7 S5 j- Z$ ^
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    $ V6 `  @' S4 G; c) r
  1234. ; and reveal this password!  And of course, any users with read access to this
    % G, K% @( C! T6 {: |# a1 F
  1235. ; file will be able to reveal the password as well.
    / `4 Y& E5 Y% _! }( z/ W
  1236. ; http://php.net/mysqli.default-pw
    0 s2 G( [8 G- _7 j3 ^5 z  K. J
  1237. mysqli.default_pw =
    7 F7 G3 Y) W8 F  T$ d7 O
  1238.   ^0 Z% q7 U+ ^8 C) j* A
  1239. ; Allow or prevent reconnect) t/ A8 K% ]" \( ~
  1240. mysqli.reconnect = Off
    , d' n2 ^" k) Z$ c
  1241. , K  w/ Y0 w; m  }9 A& L
  1242. [mysqlnd]
    : R8 r4 t& c4 {
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    # o  H2 y: a. y  J
  1244. ; used to tune and monitor MySQL operations.3 F! l9 m/ j9 s1 j
  1245. ; http://php.net/mysqlnd.collect_statistics
    ! M+ \. c" y8 a6 I% \  w
  1246. mysqlnd.collect_statistics = On2 F8 q3 z; F# T% m5 P" |

  1247. ) s. ?- b) B4 C+ j( k
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be' ^6 P% b. z* x. W
  1249. ; used to tune and monitor MySQL operations.3 C; A/ Y2 w7 ?- f1 R
  1250. ; http://php.net/mysqlnd.collect_memory_statistics* F# K% u/ b6 G8 S& O
  1251. mysqlnd.collect_memory_statistics = Off
    ( L3 H5 G" X- F" M. j
  1252. 7 W8 g, U- W" H* u% ?
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    , h/ Z  L% O0 U0 q& A/ s) K
  1254. ; file.
    ' F  |4 n7 P, S6 y3 j0 k
  1255. ; http://php.net/mysqlnd.debug
    8 h' m% x. @, C: v9 u
  1256. ;mysqlnd.debug =& \6 l) Q5 i3 P/ ~
  1257. 2 G9 D/ _) i' Y  s4 N! L! F  B6 N
  1258. ; Defines which queries will be logged.. ]6 T, J* M1 {* ?: A* ?; ~
  1259. ; http://php.net/mysqlnd.log_mask
    3 {, x* ]! \0 F
  1260. ;mysqlnd.log_mask = 0- g, ?& u; I  e- k

  1261. . [- o$ F, r9 W, b5 E- l, b
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.# o6 Q2 f* K# r
  1263. ; http://php.net/mysqlnd.mempool_default_size
    8 V( Z* J3 ^! u
  1264. ;mysqlnd.mempool_default_size = 16000
    # \2 |! U/ j* B, g! W
  1265. & T# c1 V+ L" L( [$ a' V0 y
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.9 t& y: d4 f1 X# h. D
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    1 w3 G) g. q( `
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    . R8 P& }0 I. W( O. [+ w. a

  1269. 0 o6 ^5 X8 {! w8 f8 }; }2 }
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    . o* r! l9 }" G* Z8 F# B
  1271. ; bytes.
    8 m4 V# G9 a6 @3 C+ \9 K$ ?! q
  1272. ; http://php.net/mysqlnd.net_read_buffer_size$ O! o7 @4 s- P
  1273. ;mysqlnd.net_read_buffer_size = 32768' u" [) A# X  {$ Q
  1274. 8 ~/ U, ^/ |2 E: k6 t; }! O
  1275. ; Timeout for network requests in seconds.! H2 L% q* g! H6 F8 I! B2 A3 ]
  1276. ; http://php.net/mysqlnd.net_read_timeout
    $ i5 e. M; F# F3 O  I% D0 q" U% z
  1277. ;mysqlnd.net_read_timeout = 31536000
    ' k* i) E: n% Z) ~& v6 m

  1278. 3 I( D$ V9 A  k
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    ' ~8 Y. Y& n& ~; B
  1280. ; key.
    8 V6 s* E9 a" r) Q! f
  1281. ; http://php.net/mysqlnd.sha256_server_public_key3 {0 V6 R8 Y, Y: N4 J
  1282. ;mysqlnd.sha256_server_public_key =( S% I# O1 o3 B0 }: u
  1283. % H. K5 Q, q; j$ ]( l% h, ]! s8 B
  1284. [OCI8]
    ) B, T# [- J0 R5 ?" L. H: P
  1285. 5 J3 i7 }" {% n6 r8 ~. o; u8 ]
  1286. ; Connection: Enables privileged connections using external
    7 Y2 Q( h3 w* _% Z; h, a0 B) [
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)/ @7 h! A( x. d8 e4 ^# h! Z9 X8 x
  1288. ; http://php.net/oci8.privileged-connect$ |+ p- m0 J0 ~5 k. {/ g
  1289. ;oci8.privileged_connect = Off
    7 I( j* b: B  a, v9 S/ L1 G8 l; j7 t9 A
  1290. 9 d1 C% Y" d7 ?! }2 E& e* D
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    4 h1 n, d2 E; v/ a. M
  1292. ; process. Using -1 means no limit.
    2 D% C: ?7 H2 R- a: g+ V7 ]
  1293. ; http://php.net/oci8.max-persistent
    - }1 y' a0 f) f
  1294. ;oci8.max_persistent = -1
    3 }. V, S0 x4 ^) h, M0 }
  1295. 2 m8 q7 U0 \+ K: }- [$ V
  1296. ; Connection: The maximum number of seconds a process is allowed to: r" ^( @' d! ?9 V, I$ F0 R
  1297. ; maintain an idle persistent connection. Using -1 means idle
    2 \+ V2 o+ S4 S. f% N8 J
  1298. ; persistent connections will be maintained forever.
    / N- m. s# ^& F3 m8 @9 f
  1299. ; http://php.net/oci8.persistent-timeout
    0 y7 F- L) B: W* i% H" G
  1300. ;oci8.persistent_timeout = -10 a* Y& E& \" D6 o; p% H

  1301. ! J1 g0 L; k9 |3 f
  1302. ; Connection: The number of seconds that must pass before issuing a
    & h6 |; H; a' t- _
  1303. ; ping during oci_pconnect() to check the connection validity. When' z/ n1 p$ p2 V8 n  S' E. `& _2 B
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables" t0 I+ ^5 V4 J" G
  1305. ; pings completely.# A$ u9 Z, L; B
  1306. ; http://php.net/oci8.ping-interval
    4 T9 j0 A* t# K0 S4 c+ w" \  x) @
  1307. ;oci8.ping_interval = 60
    2 q/ \  ?! E& t8 `

  1308. # x2 J# `- V+ d0 e; ?  l% G
  1309. ; Connection: Set this to a user chosen connection class to be used& ?- @/ N4 O3 i* P( _
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    , m& q0 `2 H& j3 {* i: s% G
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    2 W9 k$ x% F  y9 F, ^
  1312. ; the same string for all web servers running the same application,
    + ^* A$ j( O3 ~3 L0 w
  1313. ; the database pool must be configured, and the connection string must
    : o# y  m* x# P1 U
  1314. ; specify to use a pooled server.4 [0 o! w3 [; e4 Z+ V) E) Q# N
  1315. ;oci8.connection_class =1 h7 m) D5 \7 c( Y- I! [

  1316. 6 n+ z. q! I7 ]' ^% Q+ ?
  1317. ; High Availability: Using On lets PHP receive Fast Application( j. S1 K& U2 ?" E$ t# ^
  1318. ; Notification (FAN) events generated when a database node fails. The7 X/ r" y% o& Q
  1319. ; database must also be configured to post FAN events.
    4 H) d# X% S+ j
  1320. ;oci8.events = Off
    9 J8 |. F# S* Q3 F0 }+ S" |4 d3 n

  1321. : a) a# S, _" R
  1322. ; Tuning: This option enables statement caching, and specifies how) O5 O; W6 E, F
  1323. ; many statements to cache. Using 0 disables statement caching.
    4 O! i& t; @/ {8 g: `5 M( Z& H
  1324. ; http://php.net/oci8.statement-cache-size
    ! O6 {/ q- g, k% s
  1325. ;oci8.statement_cache_size = 20' z6 ?. X5 \% G7 w. g" T

  1326. 5 H. {+ [1 x7 N; {# p! D
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    : g3 i2 Q- }- a1 _1 P* b/ L  i
  1328. ; rows that will be fetched automatically after statement execution.
    7 a; v7 _) |" z" p
  1329. ; http://php.net/oci8.default-prefetch  F8 I) n: C2 S& f9 L
  1330. ;oci8.default_prefetch = 1002 O3 ]) s5 z/ l  D

  1331. ' W- S, b$ W% c4 m2 E5 a
  1332. ; Compatibility. Using On means oci_close() will not close
    , [: C9 N) C0 g8 K6 ~, V6 m
  1333. ; oci_connect() and oci_new_connect() connections.3 p' `1 e$ G+ q' X! c9 ?0 {
  1334. ; http://php.net/oci8.old-oci-close-semantics( @$ w. k0 A4 h2 v3 ]: d( f
  1335. ;oci8.old_oci_close_semantics = Off! X( ^' J3 D" U6 R# K: p" O

  1336. . K4 S! W" V* k6 s
  1337. [PostgreSQL]
    # r; p) B' E3 [. R) _
  1338. ; Allow or prevent persistent links.
    7 M  K& ?, ~  Z$ c' U" J1 w# v9 z
  1339. ; http://php.net/pgsql.allow-persistent
    # s8 k; I2 ?$ }5 m
  1340. pgsql.allow_persistent = On
    1 k$ W, h3 F4 c/ t5 |5 @6 H, t" [

  1341.   i' f( P, \# }; ^
  1342. ; Detect broken persistent links always with pg_pconnect().+ b4 O# F/ D* H7 g: X
  1343. ; Auto reset feature requires a little overheads.& r, ]0 _  C. t% _
  1344. ; http://php.net/pgsql.auto-reset-persistent& |6 d, D" E6 A1 v( T$ O
  1345. pgsql.auto_reset_persistent = Off' K# p7 P( \) H( J" E3 J, ?

  1346. ( c9 `: P& E8 H2 K
  1347. ; Maximum number of persistent links.  -1 means no limit.
    " T2 E5 L* x% c: {
  1348. ; http://php.net/pgsql.max-persistent
    7 N; u" Y! {! N9 ?, B2 i/ z: y% \7 s
  1349. pgsql.max_persistent = -1! o* x( q. w: U3 i6 X2 A" o
  1350. 8 ?  G; s% c, w& x
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.) h$ b! ]/ Q7 P- `3 `% K: s
  1352. ; http://php.net/pgsql.max-links
    ; K2 X! u5 d5 f, K9 X# h
  1353. pgsql.max_links = -1
    ) k1 U" z' F3 v

  1354. ! B- ~+ k3 O/ z; X4 Q
  1355. ; Ignore PostgreSQL backends Notice message or not.- v: A1 p; G# Y9 s. L0 u& Y
  1356. ; Notice message logging require a little overheads.5 X% ?/ c! a6 q
  1357. ; http://php.net/pgsql.ignore-notice  F# O+ A3 C3 m! T" K* R. i, l: K
  1358. pgsql.ignore_notice = 0
    / b' ~2 G, r7 k$ l6 G1 h  _
  1359. 8 W  O7 m# M; w
  1360. ; Log PostgreSQL backends Notice message or not./ c9 o9 S3 S, S$ s6 ]' l. ~
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.1 f+ p3 `: M8 M8 e4 b- X
  1362. ; http://php.net/pgsql.log-notice
    : J! H7 x% Y8 Z. M& a/ y2 W2 v
  1363. pgsql.log_notice = 0/ S" v2 p9 k" Z' o

  1364. " r8 p1 Q. ?& H  |& s- n# J
  1365. [Sybase-CT]
    ; ~3 F% [2 U, j! M$ ^8 K
  1366. ; Allow or prevent persistent links.' @2 H0 {( o' U" d
  1367. ; http://php.net/sybct.allow-persistent
    2 y8 k& S& z9 k& ~
  1368. sybct.allow_persistent = On
    + h4 ^! H# `  R& O# c7 ^

  1369. + x& S: Z- w- P9 }% q: R
  1370. ; Maximum number of persistent links.  -1 means no limit.* j7 E$ M% \& Q0 q% i) s
  1371. ; http://php.net/sybct.max-persistent! v% n6 ]( C1 a3 J# U
  1372. sybct.max_persistent = -1( C/ g9 s0 P; d! Y; Q

  1373. 2 ~& d9 _! V: _# q; @. _. q
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ! Q' ?+ h2 v& `3 c% s8 D& v. W/ S
  1375. ; http://php.net/sybct.max-links# P8 r4 _# q" @
  1376. sybct.max_links = -1. x% F  u- ^5 [6 z
  1377. * M1 N. ]* p  b
  1378. ; Minimum server message severity to display.
    9 b4 r5 l% p' y# l! s8 {. U
  1379. ; http://php.net/sybct.min-server-severity
    ' A1 E  h9 g) b( L; C3 B
  1380. sybct.min_server_severity = 10
    # p+ k; V5 h' w6 _

  1381. 5 O5 D7 ?, O. R; V
  1382. ; Minimum client message severity to display.
    + w7 j" }& I4 a
  1383. ; http://php.net/sybct.min-client-severity
    2 d! ]  Y" H5 M" F5 }. k7 v
  1384. sybct.min_client_severity = 10
      n) X7 ^! e* V- ]+ I) V  T
  1385. $ J4 m" t  E6 P8 q% R
  1386. ; Set per-context timeout% p4 D! e+ Y* v& p. d8 u7 w& |  F& F
  1387. ; http://php.net/sybct.timeout! p# ?( \3 i. Z- w8 u# z; z8 q
  1388. ;sybct.timeout=
    3 W7 A5 `; U9 y
  1389. 7 K# ]* q+ h* B1 J3 `6 I7 m8 p7 @
  1390. ;sybct.packet_size, O8 ^( o( K+ c  x. y2 [

  1391. 3 z- u/ G. m: T( d
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    % m% z8 ?; r+ {: C4 P0 r8 e
  1393. ; Default: one minute
    ! E8 M0 }+ P& i4 [3 m6 z. x. g$ \
  1394. ;sybct.login_timeout=
    ( b$ |" {0 G6 G2 f
  1395. 5 R+ q* y2 V3 G0 U2 g! b5 [0 H
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.1 C* P+ d; B4 S% r/ H! x3 ^
  1397. ; Default: none
    / f4 X: m" b  G1 t
  1398. ;sybct.hostname=4 }$ v3 k6 m: m: ^4 q6 L

  1399. # K2 b- l8 l5 [  S
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    ( g% L3 O! w) ?2 p
  1401. ; Default: 0, q2 p! h/ Q0 r& O6 w2 N! I$ H
  1402. ;sybct.deadlock_retry_count=
    2 r- x) m2 }4 C5 S: _2 ]
  1403. : q3 g: P  Z/ G
  1404. [bcmath]5 u. V  B- T7 `  [7 t
  1405. ; Number of decimal digits for all bcmath functions.
    & J! k4 v0 T& K
  1406. ; http://php.net/bcmath.scale
    ( ~! ^3 }5 e# k4 @
  1407. bcmath.scale = 0
    ) p( c% _: a& ^' w$ [
  1408. $ f/ t: u5 j% v9 B
  1409. [browscap]  |' t' U. Q5 {  p1 I
  1410. ; http://php.net/browscap  w. A3 ?: m" Y/ s; _0 Z$ r
  1411. ;browscap = extra/browscap.ini
    9 |, X0 M8 Q1 M5 b0 ?; D5 \& R: T

  1412. 1 J# e- w! U( Q% @' O( p6 o/ @  X5 [
  1413. [Session]
    1 H3 M# f* K; u: L- [: ?4 b
  1414. ; Handler used to store/retrieve data.
    $ \7 N) |' C+ X; }
  1415. ; http://php.net/session.save-handler% n  K8 N! c5 K/ {4 r! P; x
  1416. session.save_handler = files3 n7 E- z5 L" [# M
  1417. 6 U' W9 m4 B6 G, D1 i
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    : O3 f$ `. j, \* B1 ?7 p
  1419. ; where data files are stored. Note: Windows users have to change this
    9 d2 s8 ]+ s; k& C9 X- ?8 e* |, q
  1420. ; variable in order to use PHP's session functions.  T- L( Y5 t& g6 U, n- P1 W) ~
  1421. ;
    : E* j; j# ]6 S* ~6 c" B& F
  1422. ; The path can be defined as:9 j/ e0 ^; S6 i; J( |7 j* E' }
  1423. ;
    ; I. ^, s7 A! T. e
  1424. ;     session.save_path = "N;/path"
    7 M, }3 r3 X! v' w5 j+ d
  1425. ;) b( Y) d; j3 q# ?6 L
  1426. ; where N is an integer.  Instead of storing all the session files in7 |8 k8 f6 D7 S* t+ @
  1427. ; /path, what this will do is use subdirectories N-levels deep, and/ p4 a7 J5 i- v9 r5 i/ B" \! Z" g  [: r
  1428. ; store the session data in those directories.  This is useful if
    & Z3 ^6 ~+ @/ b; h
  1429. ; your OS has problems with many files in one directory, and is
    9 z- x$ U+ `! b; s% w0 k
  1430. ; a more efficient layout for servers that handle many sessions.$ m% R4 u3 o* {& {! d3 V
  1431. ;7 [7 l! z3 ]5 e
  1432. ; NOTE 1: PHP will not create this directory structure automatically.3 Z, Y; }/ i4 o6 G; i1 q$ S$ K3 f
  1433. ;         You can use the script in the ext/session dir for that purpose.
    , i( M4 o4 J% w( B/ V
  1434. ; NOTE 2: See the section on garbage collection below if you choose to, X; M/ V% f  |! m
  1435. ;         use subdirectories for session storage1 J4 q5 Q, b! m" G( `: m) M
  1436. ;
    : \; p& F9 V5 `4 C7 h3 c5 ?
  1437. ; The file storage module creates files using mode 600 by default.
    ) d5 a. f2 U) q% E; {
  1438. ; You can change that by using' l( v# V& R  ]! U; x1 k) q
  1439. ;
    7 @! e0 o* @1 a) _
  1440. ;     session.save_path = "N;MODE;/path"+ \5 W: }1 J) t: s; O/ |9 O8 D
  1441. ;
    : w) R* `2 y" u; E, d: E9 C% e5 ]
  1442. ; where MODE is the octal representation of the mode. Note that this3 A. s5 u+ Q5 p" X
  1443. ; does not overwrite the process's umask.  M* v/ U' M2 `* f. X0 p4 w1 `4 y
  1444. ; http://php.net/session.save-path6 ~0 b0 a* P% N4 _* i7 o& s+ K
  1445. ;session.save_path = "/tmp"
    3 {0 B/ k& y" p/ Z" B
  1446. 7 E8 t! }7 T1 Z$ Y. J
  1447. ; Whether to use strict session mode.. Q3 ?4 M( ]4 F1 l* S! A
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate& P% {! q, k4 k* h: L
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
      h8 @9 Q- J6 g2 q: s9 \$ q
  1450. ; applications from session fixation via session adoption vulnerability. It is
    9 g2 J0 v  L4 C5 C& o/ k' P6 X' U
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    / q7 k* y5 U5 P# K/ U: A
  1452. ; https://wiki.php.net/rfc/strict_sessions
    $ N5 W' z6 u1 i
  1453. session.use_strict_mode = 0- k9 G+ a4 v8 S# ~0 Y

  1454. % ~$ ^2 o4 n. V% q0 t5 E
  1455. ; Whether to use cookies.
    2 c3 N: ?2 Q3 A6 x; b
  1456. ; http://php.net/session.use-cookies
    ) F8 |0 t/ w# v0 _
  1457. session.use_cookies = 1
    8 z( O& b" E2 l4 s- t$ p: o; h

  1458. & ^! L; `( m" v
  1459. ; http://php.net/session.cookie-secure
    $ P5 D- m7 l" u* R  K1 U9 W
  1460. ;session.cookie_secure =( ?0 |* }5 G" U8 ^

  1461. 3 Z6 v, z. S  ^* Y8 [0 x5 Q
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining7 J2 @! k/ o0 l% R# T/ m1 q
  1463. ; the session id. We encourage this operation as it's very helpful in combating  ]+ c0 x+ ?, P# @# D; w
  1464. ; session hijacking when not specifying and managing your own session id. It is9 I! p0 e0 E) ~  j8 q* _3 y2 w( D2 H& a
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    # V/ y1 n1 n  |6 M
  1466. ; http://php.net/session.use-only-cookies
    , l' |. Z& N* W- Q5 F( k" Z& J' M  X
  1467. session.use_only_cookies = 1
    % ~, ^! Q" w. j8 i% n. b
  1468. 7 Y. d' M" [7 l, i. z
  1469. ; Name of the session (used as cookie name).+ T7 |2 A, F4 j; [3 R) g1 K) d* i: x
  1470. ; http://php.net/session.name  k9 s& _- s! H5 S3 P
  1471. session.name = PHPSESSID' U8 [" y% ?. V( c

  1472. & Z: h! J, g$ A. T; u) H" j
  1473. ; Initialize session on request startup.( ^" }& ], ?9 j" M( ]/ N0 p
  1474. ; http://php.net/session.auto-start
    1 B" p# \" |- B* ~# F' i+ X
  1475. session.auto_start = 0
    ' Y8 I" T- D4 G6 u6 |3 b/ E. I& K' \

  1476.   P; v9 _5 B$ p- b; k
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.( ^' }9 ^3 S7 K3 ^- r1 T0 S6 z4 f) j
  1478. ; http://php.net/session.cookie-lifetime
    5 F. @# u5 l+ _5 o
  1479. session.cookie_lifetime = 0
    ! g# W$ {0 v. t' a" a1 p
  1480. 9 w! t! V6 \2 p) O' }
  1481. ; The path for which the cookie is valid.
    & S1 B, k% n9 t! ~9 E& [  }- j' u) z
  1482. ; http://php.net/session.cookie-path
    $ V- `3 \" ^6 p1 o8 r5 _) }
  1483. session.cookie_path = /  P$ ^- P) U5 [9 E1 [5 K+ D
  1484. 0 a& t9 v/ g) ?5 Y" c1 s2 d& n
  1485. ; The domain for which the cookie is valid.$ _! g6 _7 {: t9 o7 Z7 L/ K. f
  1486. ; http://php.net/session.cookie-domain
    : u8 J5 m' R% L$ l' \7 J5 \# ~3 ]
  1487. session.cookie_domain =
    ! v2 K5 k0 M3 Y2 D  ]6 B0 H

  1488. 7 x! k7 J- q5 S2 X0 l
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.2 M' I% g1 Q% R- M
  1490. ; http://php.net/session.cookie-httponly: ^5 L: h  e* `' g. n
  1491. session.cookie_httponly =: f# L$ k0 w3 d& c' A

  1492. & g; x5 B8 Q+ {1 p
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.; s2 j. a0 c( L( X) r. B
  1494. ; http://php.net/session.serialize-handler6 Z; _: J" }+ _4 f2 ?7 P& L: p, b
  1495. session.serialize_handler = php
    - M+ G& S  O3 H/ s5 J$ H
  1496.   e% c$ R8 t8 u8 N# P3 `* X
  1497. ; Defines the probability that the 'garbage collection' process is started' ^& e$ P$ `' `6 O" L1 B+ ~& ^) k
  1498. ; on every session initialization. The probability is calculated by using. Y# L/ v  U6 }. @) `* ~
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator2 _" @! t! U1 p3 G! g1 c2 q
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    / m) F6 R2 L* j4 m3 j- Z
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance, V0 t" k2 S* k4 ^' D! @+ J# i
  1502. ; the gc will run on any give request.
    % U2 C  A( k  h2 u- O5 _( R$ ^5 [
  1503. ; Default Value: 1! B  w5 C) Z8 c0 H- c9 Z
  1504. ; Development Value: 1; {, t$ [/ d- G; W3 X, F' D$ p6 b
  1505. ; Production Value: 13 m8 q7 b2 S- P( D7 k
  1506. ; http://php.net/session.gc-probability) n: D9 x# H9 ^
  1507. session.gc_probability = 1
    1 J( t( R5 v7 z6 {0 H1 C- @
  1508. : J  z7 d& u; C* |8 o' \
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    1 z0 m0 B  J& P6 L+ l2 T6 a; `! I
  1510. ; session initialization. The probability is calculated by using the following equation:: d9 G( Y( ?. ]. E" U/ y# e
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    ' s) M; g; x7 W# b7 w
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    7 S: u6 g; Y# e, }( S: G: k: q
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance+ H# Z% T0 F. Q  \
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you' W# R6 _' i# _
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    1 f$ g2 {4 C. `+ R5 _9 F
  1516. ; this is a more efficient approach.$ f6 E" V6 Q. P
  1517. ; Default Value: 100
    . f. G* E7 b4 ^% ^, H' C+ O2 `$ F
  1518. ; Development Value: 1000
    ! b2 R! }# J7 _; C8 W
  1519. ; Production Value: 10007 K9 x5 c  m$ p, ]( v9 O
  1520. ; http://php.net/session.gc-divisor
    % y4 ]0 _/ ?$ O! \6 n1 x5 b' J5 [4 f
  1521. session.gc_divisor = 1000
    $ h* I! x4 `/ b3 c0 w

  1522. % o9 n+ |; _& Y, l4 t& n
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and( b5 d  q" w" O- i  W+ j
  1524. ; cleaned up by the garbage collection process.
    . L# ]: \6 @( m* T" P( y7 Y; C
  1525. ; http://php.net/session.gc-maxlifetime
    0 Q4 ?9 }7 z0 H3 D& N' F
  1526. session.gc_maxlifetime = 1440; \' e; L2 h! H" {, \: o/ Y# h2 I
  1527.   J* _5 l" Z/ c$ I1 B! x
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    5 R+ T: f" }& G9 d+ F) f
  1529. ;       (see session.save_path above), then garbage collection does *not*, \3 B$ s6 z; i: N" z3 n  _
  1530. ;       happen automatically.  You will need to do your own garbage
    6 _. A& R1 j! A  I# c0 H
  1531. ;       collection through a shell script, cron entry, or some other method.: n% I2 B4 y. X1 E$ J) {5 h9 n$ {
  1532. ;       For example, the following script would is the equivalent of5 z* b5 v0 A' Q/ L7 |
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):! D+ X- J) C/ Z! T
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm& E5 t# }; f3 k8 ~& e) G

  1535. # n# N3 ?$ B% V" i
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.1 v# _2 _! f+ W0 l" P, V6 j2 P# @
  1537. ; HTTP_REFERER has to contain this substring for the session to be% C9 u( K: R: T1 b
  1538. ; considered as valid.
    ! a6 o# {2 l, I! T  v. g4 E
  1539. ; http://php.net/session.referer-check: I: }0 Z, m: T5 d" \6 O* [
  1540. session.referer_check =: b1 W- j. X* s

  1541. " @. ^" g5 E7 l5 N9 D
  1542. ; How many bytes to read from the file.6 A' S  ~5 t% N1 l: r0 v
  1543. ; http://php.net/session.entropy-length
    , f6 y- r, B$ E7 S
  1544. ;session.entropy_length = 32. c: [' s+ T( X; l

  1545. . o5 q& x: O# e' ~5 m8 P( i
  1546. ; Specified here to create the session id.
    1 J% J, `5 q/ k- _7 p! `  S. E
  1547. ; http://php.net/session.entropy-file
    ( @0 G; F+ }( C2 u+ S
  1548. ; Defaults to /dev/urandom8 {' {9 O0 H1 m9 a: g
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    8 i+ g! Y$ g' P" [+ J5 D! W
  1550. ; If neither are found at compile time, the default is no entropy file.
    2 J. E8 t; t, [
  1551. ; On windows, setting the entropy_length setting will activate the6 n- ]3 _- q6 ^
  1552. ; Windows random source (using the CryptoAPI)
    # v% Q. z9 A9 \; p& k7 W( m. N
  1553. ;session.entropy_file = /dev/urandom
    8 {) W; e8 |" a
  1554. % e* T- D0 Q' @1 H5 w
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects, h" C9 i/ i, @0 v* ~" i1 ]
  1556. ; or leave this empty to avoid sending anti-caching headers.
    ! f9 e( I* C/ D3 \7 x
  1557. ; http://php.net/session.cache-limiter
    9 O" ]' G6 j6 @. Y- f' Z9 _
  1558. session.cache_limiter = nocache
    4 Y9 Z8 h) I7 d3 @. g- J/ ?, V

  1559. ' B8 j4 a0 ]! F6 c
  1560. ; Document expires after n minutes.
    . m$ m0 e% g2 \2 W# R6 C  q& T5 k4 I* c
  1561. ; http://php.net/session.cache-expire4 Y. g& s' A3 y5 C4 D9 l9 {) T, h
  1562. session.cache_expire = 180
    & S$ Y9 a$ j% q

  1563. 9 Y. N1 D$ t+ Y2 F( `6 b) f
  1564. ; trans sid support is disabled by default.
    ( i0 B1 q5 A# u
  1565. ; Use of trans sid may risk your users' security.
    1 @( |9 }0 {, n% Q, I8 r
  1566. ; Use this option with caution.
    % V, j7 w0 R0 f
  1567. ; - User may send URL contains active session ID
      f  g$ H) U2 G: p; O0 j$ H' Y
  1568. ;   to other person via. email/irc/etc.
    / g( V& o  C  V
  1569. ; - URL that contains active session ID may be stored
    4 |- n* R  V% e  f
  1570. ;   in publicly accessible computer.
    . {7 P# Q8 ?  r8 y9 S: O
  1571. ; - User may access your site with the same session ID
    1 s. T# K  X4 Y! N5 n
  1572. ;   always using URL stored in browser's history or bookmarks.
    # \( p' N* A% a2 q& U: h% A
  1573. ; http://php.net/session.use-trans-sid
    ' u1 Q- T2 m9 ^
  1574. session.use_trans_sid = 0
    - Q/ p# Z8 X5 L5 S
  1575. 4 w+ G5 x% r. j8 k, g" `. x
  1576. ; Select a hash function for use in generating session ids.
    : z( `5 V/ T+ [) v4 H
  1577. ; Possible Values
      S, P8 x& I/ u, y8 c$ i1 j4 q( z
  1578. ;   0  (MD5 128 bits)
    " g# b8 c% P3 x. r
  1579. ;   1  (SHA-1 160 bits)
    5 x* @" X! }& y6 _
  1580. ; This option may also be set to the name of any hash function supported by: o% Z/ X  k5 B6 o! m7 d$ O. Y& w/ T
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()% J' w# Y% L+ w& i( H
  1582. ; function.' }. _! e1 N7 r
  1583. ; http://php.net/session.hash-function
    + |$ u& `+ G* Y3 C( K, e; R/ c
  1584. session.hash_function = 03 {' r: ]& R5 }& R& h$ ^

  1585. ) f/ U  S# l0 w
  1586. ; Define how many bits are stored in each character when converting
    ) \/ o+ c; e6 ~$ A/ ~. F3 ?
  1587. ; the binary hash data to something readable.. Y4 h0 D* v+ _; b
  1588. ; Possible values:
    ! L# p) i2 f' [/ W
  1589. ;   4  (4 bits: 0-9, a-f)
    4 B7 V1 A4 O# X- d
  1590. ;   5  (5 bits: 0-9, a-v)$ }- ]' H9 x4 f, C- f4 S% Z, S$ e
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    $ x! u% K. n6 h* x3 O6 T9 K
  1592. ; Default Value: 4! _  ^( D5 i  k& X6 f1 ]
  1593. ; Development Value: 5
      i% B% \+ C0 p6 I+ |6 @
  1594. ; Production Value: 5
    4 W9 I0 ?; {' p4 Y
  1595. ; http://php.net/session.hash-bits-per-character3 C: P+ A/ c) u# N4 g
  1596. session.hash_bits_per_character = 5- F1 B- N$ X, v+ [, m& W

  1597.   r, M0 z+ o, H! K0 M# h
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.6 K& e. @0 X6 @+ r# L, k3 ^
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    0 L- `% [+ ^9 Q
  1600. ; add a hidden <input> field with the info which is otherwise appended
    6 e0 I) |$ D: D2 L( o7 \& T; j
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.# l5 k8 {; g1 |" \
  1602. ; Note that all valid entries require a "=", even if no value follows." N' r2 f. l& @& t4 ]
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="- {6 N+ J0 P4 A; @
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ) e) S6 q) m* E% m
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"- C" k+ A0 Q1 ]* z
  1606. ; http://php.net/url-rewriter.tags
    ) {  f4 |$ w7 X2 I, l0 k( l/ a
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    1 e4 j5 |4 l! Q
  1608. : A6 h) ^" j: H8 w
  1609. ; Enable upload progress tracking in $_SESSION
    ' V. J) m2 H% C* u$ s- {3 r5 J
  1610. ; Default Value: On- }# g7 Q$ ^* W; ?4 X* |
  1611. ; Development Value: On
    ( R2 c0 [! v$ r
  1612. ; Production Value: On0 s' S8 X- ?  ?9 k6 v! Q
  1613. ; http://php.net/session.upload-progress.enabled  K$ K' `, w( y# i- l9 N
  1614. ;session.upload_progress.enabled = On
    * V6 J* L+ Y/ F* O5 S" @

  1615. # u% H; T2 X/ U3 _+ j/ I- L
  1616. ; Cleanup the progress information as soon as all POST data has been read
    + @) l) T  X4 o
  1617. ; (i.e. upload completed)./ I" Z; Z4 v& T6 o/ c9 z( @
  1618. ; Default Value: On+ L) n" w* N# j+ B0 ?
  1619. ; Development Value: On
      h+ W9 {4 L- r! I
  1620. ; Production Value: On
      G3 F  C: |, L" J" S
  1621. ; http://php.net/session.upload-progress.cleanup
    ' s3 T- c5 \7 b( H5 t; N
  1622. ;session.upload_progress.cleanup = On
    ) c6 h4 |( F+ S$ F  N& Y
  1623. 8 Y9 }1 i5 Y3 k5 H: k2 G
  1624. ; A prefix used for the upload progress key in $_SESSION
    0 b+ M4 \% D. X& m8 `( f8 M/ p- I
  1625. ; Default Value: "upload_progress_"1 h1 O3 i8 D6 i9 S
  1626. ; Development Value: "upload_progress_"
    : p8 B0 z9 i+ x* g
  1627. ; Production Value: "upload_progress_"  Q- w% h" O" A; j) P3 }. l# U
  1628. ; http://php.net/session.upload-progress.prefix4 c& \: F2 B) K  `
  1629. ;session.upload_progress.prefix = "upload_progress_"
    ' a& S9 \9 }0 t9 m+ A8 o
  1630. / \+ R7 W, w/ g) j$ b, d7 `5 v
  1631. ; The index name (concatenated with the prefix) in $_SESSION; k& k9 b' I$ \; I, t' t" N( [
  1632. ; containing the upload progress information
    8 K3 n1 M% p$ S2 o8 r( i
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"% q$ c. w$ |+ F& s6 N
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    / ]' i8 L4 |" t2 w
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"9 Y: ]  e! X2 x
  1636. ; http://php.net/session.upload-progress.name
    ! N& c' h3 w8 w* R  R! h% G0 Y
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"- @9 C! {5 m1 f7 e; r7 S6 I. _2 @$ K

  1638.   ^) O3 ^' I7 {5 `- ?" k8 Z; a
  1639. ; How frequently the upload progress should be updated.
    9 S$ n7 P9 j9 C% N6 X/ r( J
  1640. ; Given either in percentages (per-file), or in bytes
    * y. c  R4 [6 ^+ b% }
  1641. ; Default Value: "1%"8 U" {7 x/ }2 o  e6 R
  1642. ; Development Value: "1%"
    . e; ?6 ~# q% R
  1643. ; Production Value: "1%"
    ( j! \  a3 Y- I1 t
  1644. ; http://php.net/session.upload-progress.freq
    # q& U+ u6 K( g8 a; n0 s; a
  1645. ;session.upload_progress.freq =  "1%"; @# r7 v# f* I" P

  1646. 8 E7 {' k: g/ F) X: p
  1647. ; The minimum delay between updates, in seconds
    / ?0 T- a# M$ h5 w; [& d& K/ e3 d
  1648. ; Default Value: 1
    ! j& M; I! a; O  P
  1649. ; Development Value: 1
    + d+ |. D! F9 t' @/ g( ?6 e9 M0 @
  1650. ; Production Value: 1
    7 z* G' p' R5 L/ w) r
  1651. ; http://php.net/session.upload-progress.min-freq
    ' \5 L3 S3 p9 \0 J, ?
  1652. ;session.upload_progress.min_freq = "1"
    8 ~: Q+ B4 T  E7 s' Y0 M

  1653. ( E2 v0 [9 \: Q8 V& _
  1654. [MSSQL]. ?, c3 i9 r  G( M( _4 \
  1655. ; Allow or prevent persistent links.: d4 F5 E0 q$ }. z  b4 R3 i# S! I3 T( w
  1656. mssql.allow_persistent = On' f+ H# }6 J. ?7 D4 p, k1 l

  1657. . {8 I/ B; H6 T% T$ s
  1658. ; Maximum number of persistent links.  -1 means no limit.3 C' A; u* L, w& }1 g' c
  1659. mssql.max_persistent = -13 d5 `' V# d; t7 O# x

  1660. ! \* e4 H0 i6 N* z# P
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    6 J4 S( M+ }- [/ H1 b6 J% Q9 z
  1662. mssql.max_links = -1
    4 h$ T& k3 j/ A$ s
  1663. 3 p8 Q; U# j0 Z2 o+ g/ X; D
  1664. ; Minimum error severity to display.
    * L: w$ Z5 o* V# [
  1665. mssql.min_error_severity = 10/ y( y' {+ `1 ~8 a; l' ]5 y
  1666. ; L  k. m( q4 _: ~( j( ?
  1667. ; Minimum message severity to display.
    - Y: u' w; P  L3 @" W
  1668. mssql.min_message_severity = 10
    4 Z1 o+ o! R/ m8 c1 E

  1669. ( o* e( y0 ?9 Z7 n4 L( p. R" p
  1670. ; Compatibility mode with old versions of PHP 3.0.
    . Q& c. D' }; `" O& F- [7 F
  1671. mssql.compatibility_mode = Off
    + Y1 D/ J9 x6 z

  1672. 1 `+ a: e( \8 v3 T
  1673. ; Connect timeout; _: Q; A/ s) u6 `; U* g& @, s
  1674. ;mssql.connect_timeout = 5! j( l, u& x( b3 f3 Q0 Y/ @
  1675. 2 }* }1 V* B0 C
  1676. ; Query timeout% J) i5 \6 \% J4 J+ }: U
  1677. ;mssql.timeout = 60' M; \# h& r- h. Q7 V

  1678. 0 N, @6 O% ~* i; U% m8 @' c8 ~$ j0 E
  1679. ; Valid range 0 - 2147483647.  Default = 4096.0 L0 j% a7 s- }4 `- |; a
  1680. ;mssql.textlimit = 4096( d6 c- o) {: n- l
  1681. 1 l/ W. m6 S1 G8 V) i
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    ! u1 O+ v$ B" Z3 u/ D4 N5 |, G
  1683. ;mssql.textsize = 4096
    + W2 p& |& J! [, t) |/ X+ h2 q
  1684. ; |! }; w& W" W8 d
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.
    ; D2 _' W! o' G+ [( n, k
  1686. ;mssql.batchsize = 0
    3 M1 k( }' ?4 ^2 s6 v$ ^
  1687. # }$ h8 E: ^% f( n2 v+ k
  1688. ; Specify how datetime and datetim4 columns are returned
    3 A; b  P( q) O5 O) ~2 N
  1689. ; On => Returns data converted to SQL server settings
    8 Y0 g( ~& X$ J# \( W/ v
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    6 ^! d* k/ x  B& y4 V
  1691. ;mssql.datetimeconvert = On% q3 V" v' H( Q0 l

  1692. 9 [8 a1 y$ A. A8 t
  1693. ; Use NT authentication when connecting to the server0 y6 ~) [7 F) v! b7 a9 A7 c/ a
  1694. mssql.secure_connection = Off
    $ o- C3 T: {& w: [

  1695.   m) f9 S3 j9 p8 s4 _4 x/ D
  1696. ; Specify max number of processes. -1 = library default
      u# Y) [% w% e! H  Z
  1697. ; msdlib defaults to 25
    * ?. W" K/ v. o  P3 y
  1698. ; FreeTDS defaults to 4096
    # ]* t( }* U7 P7 p' V( G6 @. X
  1699. ;mssql.max_procs = -1. }" X4 J/ H* |; Y4 x6 _7 @' ?
  1700. 3 y/ j3 ~* i2 a' ]2 E+ b
  1701. ; Specify client character set.
    # \1 L+ V, s; g2 Z- e0 t1 W, H
  1702. ; If empty or not set the client charset from freetds.conf is used
    + i5 a; T% s& z
  1703. ; This is only used when compiled with FreeTDS
    3 B( }3 m, l% p  \' H
  1704. ;mssql.charset = "ISO-8859-1"
    2 w+ p0 H# o4 y% J5 V) x

  1705. 3 @/ _9 p( g& B) K: c. }$ k
  1706. [Assertion]! e2 I2 @( K4 M0 r9 l
  1707. ; Assert(expr); active by default." c6 C; \3 O: r! Q5 t
  1708. ; http://php.net/assert.active
    ' v* v, K1 E- |, x/ Z
  1709. ;assert.active = On/ |' s# r' w1 y8 [* c4 e

  1710. ( T3 Z# J7 g7 y
  1711. ; Issue a PHP warning for each failed assertion.
    7 b5 X+ ~, s" q9 \8 x
  1712. ; http://php.net/assert.warning
    3 ?2 d; j' {- m( D
  1713. ;assert.warning = On# F4 q; X/ R) W3 M6 i* `- r
  1714. , X4 k4 ?  a$ @9 k$ A7 H$ r0 I
  1715. ; Don't bail out by default.8 W. u' t/ A" A7 b% Q% ]" L4 L5 B9 v# E
  1716. ; http://php.net/assert.bail
    - X1 q/ K- H# G- Y; f8 J4 c
  1717. ;assert.bail = Off# A8 Z5 _- b* S7 o4 [! `
  1718. ( q5 o1 M! V, n! Z* i
  1719. ; User-function to be called if an assertion fails.( Z! ^/ P  V3 P3 T# Y9 O9 N
  1720. ; http://php.net/assert.callback
    / k& _* o* a; Z: |
  1721. ;assert.callback = 0
    ) E  G7 d6 K  a, t2 k0 ~  F$ [
  1722.   W7 E% k, r! ~8 T: o4 [
  1723. ; Eval the expression with current error_reporting().  Set to true if you want8 T8 O" l  t4 P" W! z3 K
  1724. ; error_reporting(0) around the eval().
    . F8 @1 n9 z( b  ^
  1725. ; http://php.net/assert.quiet-eval, C* W; E% r$ w+ I
  1726. ;assert.quiet_eval = 06 c5 V9 r2 t' L. k6 B

  1727. & |8 x3 w9 E: ?9 g/ V, C
  1728. [COM]( c+ ?3 R* t6 F; q. c  g1 j$ k
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs: t1 b2 l) O& p' \2 u$ X4 _
  1730. ; http://php.net/com.typelib-file
    - s1 _: i; Y% M1 M
  1731. ;com.typelib_file =/ u: d: o) p' S  N; z' S2 |" J

  1732. + w1 P+ N! r/ h# H
  1733. ; allow Distributed-COM calls
    & X3 u1 H  z' r8 U+ ^1 K2 Z
  1734. ; http://php.net/com.allow-dcom& q3 R0 X6 k% W' ?  W# ]
  1735. ;com.allow_dcom = true; ?+ |. O. n( ^5 Z) p- r! n5 q
  1736. 0 q3 L$ v3 S4 s; S( N
  1737. ; autoregister constants of a components typlib on com_load()
    " l- }  Y6 [- O. {2 j
  1738. ; http://php.net/com.autoregister-typelib
    ' n! Q% Q& r7 e
  1739. ;com.autoregister_typelib = true+ i! s- z9 t2 i& A" \

  1740.   M# L; Y0 U( k$ d0 j% k
  1741. ; register constants casesensitive
    ; a/ i9 }& Q' i5 S- P
  1742. ; http://php.net/com.autoregister-casesensitive
    : f  O) t3 p$ O4 Z- r) I" p, R1 c& R
  1743. ;com.autoregister_casesensitive = false
    1 K6 c7 k8 a+ r
  1744. 6 d' @9 k0 L" Y
  1745. ; show warnings on duplicate constant registrations
    1 p  L* b% k3 P
  1746. ; http://php.net/com.autoregister-verbose" k1 ^% E% Y9 U4 C) A) u3 m. S+ d2 k
  1747. ;com.autoregister_verbose = true
    6 u! I/ z+ E4 t7 C. |
  1748. 4 x. m( i! m( [/ ~# e
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    ) p( ]. L4 d0 ]7 M% B+ ?( A
  1750. ; Default: system ANSI code page4 P8 v& o( _& U: j6 m+ G8 e
  1751. ;com.code_page=  S: K( p4 L6 a# E# ~" Q% T

  1752. & ?% d  _. j" D8 v" m. t; ]
  1753. [mbstring]1 }7 `( B& |! p. T
  1754. ; language for internal character representation.( {: a  m  M/ g& C
  1755. ; This affects mb_send_mail() and mbstrig.detect_order., c7 B1 ^% e. U) ~4 Z+ B
  1756. ; http://php.net/mbstring.language3 ^3 V: K& }% `8 a  h
  1757. ;mbstring.language = Japanese' Y! _' T! f/ Z' [4 O5 D

  1758. 2 w4 H8 k, o5 @9 s  |0 K& E" \
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.2 i* J: z) @- u6 H. t8 M# @$ W
  1760. ; internal/script encoding.& g5 X0 K. i& M, {* b8 p
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)# Y  |! F- h' W# U* h) [6 I
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    8 N( G- a, N' D- I1 l1 Z9 U/ x, L9 m
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding2 M- F, P0 V2 X; b
  1764. ;mbstring.internal_encoding =
    . W( e  k; z5 a% v

  1765. " E( b1 f2 i8 d$ ^# H2 i" D; L
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.1 [. a7 g4 K/ k6 Z+ K
  1767. ; http input encoding.* ]0 i5 E! ?. ]. l+ \
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.+ D" D- D# Z; A  ?: Z4 a- b' A- t
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    4 H# q" J7 h# R2 g
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input9 l4 j0 A: E  k: C- S% j5 ~
  1771. ; http://php.net/mbstring.http-input
    # F1 f+ w, C- `9 W0 Q- W& H3 K
  1772. ;mbstring.http_input =! f8 u* m7 h$ K" S

  1773. $ U% H2 d8 k5 J
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.
    6 \. c3 O4 g  _( }$ B+ W4 x- [, _
  1775. ; http output encoding.( w+ J2 e. B6 S/ y' c2 J
  1776. ; mb_output_handler must be registered as output buffer to function.% x0 v/ \* p6 N
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    1 ^8 V# A7 ]# n- F' Y2 o
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    9 y0 ^6 f* B( v* S8 U
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    ( y& H2 K3 T7 |2 e3 `& m
  1780. ; otherwise output encoding conversion cannot be performed.6 G! R' U4 O. [* B7 i
  1781. ; http://php.net/mbstring.http-output
    7 P' n2 Q& j+ a; v9 ?5 q
  1782. ;mbstring.http_output =
    * k) W8 P( l4 ?' o8 T# Y4 X$ j

  1783.   }% \/ H8 E0 K) W2 B7 s
  1784. ; enable automatic encoding translation according to
    + [# H7 p! R7 b
  1785. ; mbstring.internal_encoding setting. Input chars are
    # ^! l0 V! p! \8 F# q. f! J
  1786. ; converted to internal encoding by setting this to On.
    ' c# l' G! j2 w7 H, R
  1787. ; Note: Do _not_ use automatic encoding translation for
    8 g6 n* W$ S* j
  1788. ;       portable libs/applications.
    3 }) u, A5 a1 e& _! f/ E* z8 _! C
  1789. ; http://php.net/mbstring.encoding-translation
    0 D( \% M- c" ?+ s! u" f
  1790. ;mbstring.encoding_translation = Off% ^: S( ]1 x6 c. [# @/ k7 y, G

  1791. " d1 b. d) e0 a1 C% v" k
  1792. ; automatic encoding detection order.
    / _& [1 c* s# {& l" y
  1793. ; "auto" detect order is changed according to mbstring.language8 f# J; [) Q" m* g& N6 x
  1794. ; http://php.net/mbstring.detect-order- x7 X7 a0 ~, B* h) P5 Q' y- C
  1795. ;mbstring.detect_order = auto& Y0 T/ S3 D! n/ [7 G/ y
  1796. 3 p: ~4 a* Z. k' E/ Y
  1797. ; substitute_character used when character cannot be converted
    " i  J# d3 ?3 \8 w& c
  1798. ; one from another
    2 ^/ C- S& j! Z0 J: H3 V! ~: D
  1799. ; http://php.net/mbstring.substitute-character
    ! U" r! [8 ~) m2 I( H1 o% k% l
  1800. ;mbstring.substitute_character = none  L+ }# q! b+ K! H9 Q. H; w) M
  1801. * D/ J( u; O7 t* ]. X  I4 E% R, u
  1802. ; overload(replace) single byte functions by mbstring functions.
    ! }2 Q  F/ W$ u, c
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),8 q: l) u1 Q; T: e7 o! D( _4 y
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    + }: p8 B) K2 ?, p
  1805. ; For example, 7 for overload everything./ L" W; z) l% C
  1806. ; 0: No overload
    ) o8 X* i$ m* v9 M& g! ?
  1807. ; 1: Overload mail() function8 o7 X- ]/ Z# Z' q
  1808. ; 2: Overload str*() functions
    0 z3 N1 c7 d' E6 [- z6 {
  1809. ; 4: Overload ereg*() functions* x- Y: [- P! {( R' [
  1810. ; http://php.net/mbstring.func-overload) `+ L3 c/ O  J- d. ]8 g% e
  1811. ;mbstring.func_overload = 08 k7 C' _/ J; \/ `8 K2 J6 M
  1812. 8 [' x- @1 j  Z( n' u
  1813. ; enable strict encoding detection.: f% @3 J  \0 Y4 O$ q; k# i/ O7 R
  1814. ; Default: Off0 O" w8 K& s* V0 P  D
  1815. ;mbstring.strict_detection = On
    / e( n# A5 }! R! Q4 Y( F4 {/ {

  1816. , L% m& e0 v$ E& _
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
      A5 g9 N: y' }" P+ ]& N; ^  u, ]
  1818. ; is activated.
    6 w5 Q  o( n. J/ T  R
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)0 ?8 k* H* \! ~
  1820. ;mbstring.http_output_conv_mimetype=4 a( J( c" I' O' D  f, ]2 n

  1821. : l) _2 z4 A& b1 M6 R, ?9 ?! `7 M3 [. C
  1822. [gd]
    8 X; @. N. H4 t
  1823. ; Tell the jpeg decode to ignore warnings and try to create; c6 {" W6 V) ^9 I5 C4 ]' H6 n
  1824. ; a gd image. The warning will then be displayed as notices
    + E3 @5 R* u- }& y
  1825. ; disabled by default9 O+ Z! g" N! d! l6 Y5 N4 s- Q
  1826. ; http://php.net/gd.jpeg-ignore-warning
    1 P4 B4 i7 m) O# Z& E
  1827. ;gd.jpeg_ignore_warning = 03 i8 C$ {! s& B& x
  1828. ) C# U; e) x$ R3 f/ o6 T
  1829. [exif]
    1 Y# m- E0 Q- W, o' b! y: P
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    ( e1 L( f- b! z( c; a5 ]
  1831. ; With mbstring support this will automatically be converted into the encoding
    " w! `1 N$ Q, H) U6 W
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    8 r+ T$ G" |  J% v6 Q, J5 }
  1833. ; is used. For the decode settings you can distinguish between motorola and
    " i, v  n* @! B9 h% k/ {- T4 B
  1834. ; intel byte order. A decode setting cannot be empty.
    5 y! q. x" H( w- x! g+ [' I, ]* u
  1835. ; http://php.net/exif.encode-unicode: ^* k' w; G0 n% f
  1836. ;exif.encode_unicode = ISO-8859-15
    6 k) M% w1 F, @
  1837. " G; R6 n3 G% U5 b% s$ X1 J9 s
  1838. ; http://php.net/exif.decode-unicode-motorola
    , O- @. k- a. I& Z
  1839. ;exif.decode_unicode_motorola = UCS-2BE' k, [# @* Y: c: r  f" O4 K
  1840. : i2 Z$ ?% g" d1 ~3 q6 u" L7 m/ G
  1841. ; http://php.net/exif.decode-unicode-intel! W) w' R3 t$ M. {
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    : Z* ?" P3 R& F3 @) A- i

  1843.   |: n  k: `$ F! ?, g+ m
  1844. ; http://php.net/exif.encode-jis$ b3 z  T: n7 Z# j2 E' c
  1845. ;exif.encode_jis =) R  }! D, ?3 Y& n6 ^

  1846. $ n  o& ?6 D, M) Q% ?) P
  1847. ; http://php.net/exif.decode-jis-motorola4 q( ^0 h" }1 ?4 e% A" g
  1848. ;exif.decode_jis_motorola = JIS! s' ^/ i( P0 ?' P% f% }

  1849. ; S1 V/ U, w; z
  1850. ; http://php.net/exif.decode-jis-intel
    ) U8 S( u* f, q3 J  p/ M4 x
  1851. ;exif.decode_jis_intel    = JIS
    # `4 S% s: W0 g8 \, I8 c& H
  1852. / p7 z# G$ t$ l# V# j
  1853. [Tidy]2 K* u% r, K/ Y. K/ j0 D
  1854. ; The path to a default tidy configuration file to use when using tidy# k1 ?" p8 c' G3 A9 \' g7 o
  1855. ; http://php.net/tidy.default-config# h4 h/ O) ]  R+ p5 y' V! e
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    5 ^& R" o: }7 J, X& t6 q
  1857. $ X& Z5 z9 _( i4 p
  1858. ; Should tidy clean and repair output automatically?, `- Y8 m# y3 C' d2 [
  1859. ; WARNING: Do not use this option if you are generating non-html content% Z- x& |# O* S; x$ R( _  V
  1860. ; such as dynamic images) |7 Q: T5 S& x- [$ j
  1861. ; http://php.net/tidy.clean-output
    + g" n# I2 w9 j9 h( o
  1862. tidy.clean_output = Off
    & C  j( X: Z$ g! ^# g% {
  1863. 8 w+ J/ m) \8 ]
  1864. [soap]' I8 |) U) _" n! S$ S- {% L% X
  1865. ; Enables or disables WSDL caching feature.& Z( D1 ]: ?: [
  1866. ; http://php.net/soap.wsdl-cache-enabled
    * N7 B; a. R& f
  1867. soap.wsdl_cache_enabled=1" _) q: Z6 H" `
  1868. 0 X$ P6 M+ M2 s3 u! J5 H
  1869. ; Sets the directory name where SOAP extension will put cache files.
    : n" F5 [7 `' e6 `( A
  1870. ; http://php.net/soap.wsdl-cache-dir2 l: i$ o4 _% G- ?
  1871. soap.wsdl_cache_dir="/tmp"! c) c- a' c9 ]0 ?

  1872. 9 v$ {& \; T: P- a% h% h. j
  1873. ; (time to live) Sets the number of second while cached file will be used. z# R1 D# p7 u6 b+ {. H
  1874. ; instead of original one.2 z' P- _8 l( i
  1875. ; http://php.net/soap.wsdl-cache-ttl
    6 v* x  x( h% s6 V" r% X* o
  1876. soap.wsdl_cache_ttl=86400
    % T" d; I: B1 U  F8 C' s

  1877. 2 Q" h  M5 z9 w2 y8 Z$ B- G
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    ) |8 f% ?7 n" O# z
  1879. soap.wsdl_cache_limit = 5
    ! X9 D4 ~6 E# i. P$ G
  1880. ' w4 V, X: p) k% ~0 V
  1881. [sysvshm]4 y9 u, d$ S( }. f, \& V
  1882. ; A default size of the shared memory segment0 @; D' t% p6 z
  1883. ;sysvshm.init_mem = 100004 ?: @# q$ T  d' p
  1884. $ H2 e! I# M- L. @0 }
  1885. [ldap]9 ~6 b5 R" v  q: A5 d+ V+ X) U
  1886. ; Sets the maximum number of open links or -1 for unlimited.0 |' M3 `" r  C* _" t/ o) K3 e
  1887. ldap.max_links = -14 J2 B- n% Q+ y- e3 H( t+ _/ ^0 t& O

  1888. 6 C: Z# E, |0 H1 Y1 n  u: s
  1889. [mcrypt]; W/ i$ j9 X' |0 {/ Y( v
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open& J0 f; O. G' y; i

  1891. ! @% Y+ {& e9 s1 m/ N
  1892. ; Directory where to load mcrypt algorithms& Y7 x( s6 V: @
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
      s- f, d: S: L4 [# K
  1894. ;mcrypt.algorithms_dir=
    * ^- m9 B: e, O" v  U, m+ i; v( P0 L

  1895. 8 [1 M0 Z: p5 _' x5 Z8 ?% `
  1896. ; Directory where to load mcrypt modes
    - K  ?9 G) ^1 f5 v7 Y! U
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)& Z" V! a# i4 A
  1898. ;mcrypt.modes_dir=4 w9 y9 t4 d) h' @6 B
  1899. & X6 Q3 O/ v& h4 r- m& ^2 i& V
  1900. [dba]
    . w2 s* N) m+ K2 X/ q% M$ ]% Q
  1901. ;dba.default_handler=; P, f* s: K. U1 b

  1902. 7 J6 N$ B/ \! \, T+ ]5 N9 H
  1903. [opcache]# ^# _* M# ]0 X! a8 e
  1904. ; Determines if Zend OPCache is enabled/ C2 f; z5 P' v
  1905. ;opcache.enable=0) ?5 }+ b; ?- c4 Q+ Z  R( Y* ~) |
  1906. * S( L! U# h7 G6 F- ]% n! [
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    ; m) Q. [3 c1 W2 i9 g) m
  1908. ;opcache.enable_cli=0
    ; W) S! h- y) C9 w
  1909. ! f& ]0 p8 Y0 O5 ]; p8 h
  1910. ; The OPcache shared memory storage size.& I6 S' \5 J  C, F9 P, z" W* i' |
  1911. ;opcache.memory_consumption=64) r( H3 ]" D9 Y) Z+ r3 K

  1912. & s' a, B2 D0 e) c  [- N- \( C& t1 [
  1913. ; The amount of memory for interned strings in Mbytes.& w- p% O) q& q4 B4 Y9 g2 @
  1914. ;opcache.interned_strings_buffer=4* r0 K) P! K! O$ Z% i

  1915. ! G! N& c/ i( N/ f, {% ~
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.! q2 _# S, \; R0 D7 G0 q" f2 u
  1917. ; Only numbers between 200 and 100000 are allowed.# k- E. Z. F' M" w# ?; q: _
  1918. ;opcache.max_accelerated_files=2000
    ( Z( R) y5 F+ U2 F5 i) M

  1919. 5 u! e% z; x, M) f( s& h$ Y
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    # m$ ~- _4 e6 Y: C1 ^" _
  1921. ;opcache.max_wasted_percentage=5! p, Z9 K9 y( p, G; r0 K: C

  1922. 4 z  n3 U: b7 [( ^! b4 n
  1923. ; When this directive is enabled, the OPcache appends the current working! C7 w4 b% G0 M/ O, m% j! K4 f
  1924. ; directory to the script key, thus eliminating possible collisions between
    8 S: N$ z$ @: w0 {
  1925. ; files with the same name (basename). Disabling the directive improves! E5 o/ P, t) ?% Y
  1926. ; performance, but may break existing applications.
    9 g- g  W5 ]2 R% z% u9 H
  1927. ;opcache.use_cwd=10 o. {- F$ _0 W' g& U  Q7 }4 W
  1928. 1 f- _  R! T* [' E5 @4 M# V
  1929. ; When disabled, you must reset the OPcache manually or restart the$ D& v) q% |- A3 }/ L; s( u
  1930. ; webserver for changes to the filesystem to take effect.
    4 Y# \' o9 }; O9 f0 K3 i4 D, v: T: t
  1931. ;opcache.validate_timestamps=1
    5 Y: Z4 j1 K9 @0 f8 @. l
  1932. - m  }. S$ i  `, Q3 O0 @
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    $ J9 |6 P! z$ I1 f
  1934. ; memory storage allocation. ("1" means validate once per second, but only; U+ S) `0 Y1 Z0 X
  1935. ; once per request. "0" means always validate)
    * n$ Z( x2 g( z/ H! u
  1936. ;opcache.revalidate_freq=2
      c% C  c! j: ?7 X+ U2 c
  1937. + `; r# [( a3 M" t+ B% \( c1 h
  1938. ; Enables or disables file search in include_path optimization3 k# H, s, ~' |8 O; U
  1939. ;opcache.revalidate_path=06 N) Z9 c+ k; l: F) m/ D& J% z3 c8 ~

  1940. 3 t! v, T! z0 Z
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    % V* M+ j% M8 z9 ?: e, G8 L+ U' M
  1942. ; size of the optimized code.! Y+ v2 S, [0 m" \: }
  1943. ;opcache.save_comments=1
    " V5 l+ o' Y4 N* E
  1944. & m( F& h" v+ _7 x
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    6 y* ?; k& R8 L- t
  1946. ; may be always stored (save_comments=1), but not loaded by applications0 |( |8 o& J2 u2 T/ n% @
  1947. ; that don't need them anyway.
    , X2 y' E% ^; p- _2 ?% E
  1948. ;opcache.load_comments=1
    0 E: U9 u4 [! t/ U3 q- j

  1949. ) i1 ~7 n5 v* l& u
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    # o$ U, c& C1 t4 A- Z
  1951. ;opcache.fast_shutdown=0( ]* }+ G8 X$ `+ ^5 i

  1952. 3 u3 c' J+ {; p/ H, m
  1953. ; Allow file existence override (file_exists, etc.) performance feature., C& V% B* m; N1 l
  1954. ;opcache.enable_file_override=0
    + C( u$ z1 c9 j% \4 q# |% d9 ^

  1955. 1 R. b  P- Q: R& f
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    - ]# ~2 N" M0 f( H4 a/ S
  1957. ; passes
    . w* A$ X' @& [- X" \) \
  1958. ;opcache.optimization_level=0xffffffff: [; [1 K; {( Q0 d3 y7 M. R, X/ @3 A% e

  1959. 7 l! A8 b3 K- {. W
  1960. ;opcache.inherited_hack=10 H9 q9 M+ \: P$ m1 J, N
  1961. ;opcache.dups_fix=0
    / y: _$ T6 _$ S* u3 n) D( l

  1962. ; j, m3 y. I! m# b
  1963. ; The location of the OPcache blacklist file (wildcards allowed).& F1 X" Z( X) I0 n7 P
  1964. ; Each OPcache blacklist file is a text file that holds the names of files9 h; Z! B' B3 B& p8 ?
  1965. ; that should not be accelerated. The file format is to add each filename5 E# M; k* I5 M# F) S
  1966. ; to a new line. The filename may be a full path or just a file prefix' }) z) ?7 F! ?' \' Q* ^
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    ) G2 c6 H% }; z7 G
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    : r& [; p: C8 c0 M/ P
  1969. ;opcache.blacklist_filename=0 i/ s6 D3 l! P, p: I

  1970. ' c/ |# j7 {6 z6 D! D/ U" B
  1971. ; Allows exclusion of large files from being cached. By default all files0 e- c( g/ ^; j7 X/ f
  1972. ; are cached.5 F  F- d: C+ ^) I/ H& `
  1973. ;opcache.max_file_size=0
    7 p# a4 U$ t" G3 N3 }! `

  1974. 2 t2 p3 `& F5 e) D
  1975. ; Check the cache checksum each N requests.9 F5 P1 D( w* y+ R" _
  1976. ; The default value of "0" means that the checks are disabled." N9 \# A- ]( `
  1977. ;opcache.consistency_checks=0
    # P, ]9 Z- w8 G* a; U
  1978. 5 ^. ]: ^% s8 h# f) s
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    , m$ ^9 d/ `: K4 j% o: x
  1980. ; is not being accessed.5 o0 y, L! d1 r$ k% a1 F
  1981. ;opcache.force_restart_timeout=180, p( `6 H* s7 d2 ?5 s
  1982. 0 s7 d) W! b: t  Y
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    : l9 q2 Q7 [+ g/ x6 j( X/ {
  1984. ;opcache.error_log=; b  T6 ]: `* U1 \+ W3 h. c2 k4 l  x
  1985. 7 f5 B* _3 l0 o4 b+ x
  1986. ; All OPcache errors go to the Web server log.
    ) Y2 z" Z. F6 n. _  `  G3 P& w3 z
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.1 x& R! [5 p1 O: ~1 v# d3 f
  1988. ; You can also enable warnings (level 2), info messages (level 3) or9 `0 l. q0 c$ R1 U  e. L
  1989. ; debug messages (level 4).
    8 E4 c; K/ f: s, d+ q: x
  1990. ;opcache.log_verbosity_level=1- C( q. D& C# R5 I
  1991. 7 b( B  L2 N+ |; l1 c! L
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    $ _& `# S7 }) q; Z
  1993. ;opcache.preferred_memory_model=
    / s2 C% P% m: N5 t
  1994. 3 M4 p4 x0 [1 _
  1995. ; Protect the shared memory from unexpected writing during script execution.
    4 B# p5 ~# ~# e# E
  1996. ; Useful for internal debugging only.. Z" p) q. d7 U; e
  1997. ;opcache.protect_memory=0
    3 Q4 t1 b7 w" N+ K6 ~# \3 ]) n

  1998. & a- ^7 S" E* x
  1999. ; Validate cached file permissions.- f. U+ S3 F- k7 p' \+ i3 y) U( v
  2000. ; opcache.validate_permission=0
    1 P4 X% L- j. k4 }5 ]; `& J& @9 c

  2001. + ?* }' E3 T9 X& k. v
  2002. ; Prevent name collisions in chroot'ed environment.9 l. A% R  R0 V# I1 L* D
  2003. ; opcache.validate_root=0& b' w% P# o$ ?- j, }  A& P
  2004. 6 G' _5 c4 E! N' h# S
  2005. [curl]2 \  ?3 v( {8 H9 Q$ q: J4 N
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    8 m9 }5 A5 ?# C4 q& U' ]+ _6 e
  2007. ; absolute path.. D2 |+ h) ^# ]! p5 r
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt: }! [' i5 _/ e" w2 {+ W$ I# I* H5 G

  2009. + b% R* D5 s/ ?& O1 z
  2010. [openssl]
    & U# t+ ^0 v) F4 B1 ^
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    6 c* G' c( e3 t, i$ M1 c) g' y5 Y* z
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should9 r. S& E2 I9 U8 j
  2013. ; not specify a value for this directive as PHP will attempt to use the
    2 [% I2 K+ w6 {# J# q; X! q
  2014. ; OS-managed cert stores in its absence. If specified, this value may still  Y7 q" f8 }' p6 O8 v; |
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    9 H* m; u$ g- U% s; ~: I
  2016. ; option.
    9 t/ w$ L2 g! l1 R" Q
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    + g* m1 f( z2 C0 \$ ]
  2018. . O; u) u6 i" N8 w) H
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the1 l0 x+ n. j) a
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    $ Z: Y- K) e1 |: P2 }
  2021. ; certificate. This value must be a correctly hashed certificate directory.8 r/ Q9 W6 Y' @) E: K% x4 Q2 S
  2022. ; Most users should not specify a value for this directive as PHP will
    9 i6 I' p; y2 P% T( Y2 d
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    ; q3 h' g4 }. G# {1 I+ L
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    8 r3 ~; Z5 v$ Q& G
  2025. ; SSL stream context option.8 u7 ~# F9 w& I0 I# M, |
  2026. ;openssl.capath=
    & p6 H. J3 d" ]& x- ]& y
  2027. ( Y, k( L6 z" x2 k2 T5 c
  2028. ; Local Variables:# z8 \' S8 [4 t, A! N
  2029. ; tab-width: 4
    8 B/ N7 P2 B$ _  \$ i2 ^
  2030. ; End:
    & \1 ~( ~1 X% }; W. `! k

  2031. 9 B# L4 H- |! `6 Z3 Z4 r$ L0 L
  2032. ;eaccelerator
    3 i* w2 M0 ]% f) ~0 S$ K

  2033. * Q- S3 ^5 z+ f2 Q
  2034. ;ionCube
    $ I& _8 _* t6 H) @3 z5 m

  2035. $ l1 P9 k5 q) @0 T( u7 [: |6 x
  2036. ;opcache
    4 x, t* S/ O1 N3 ?- f
  2037. 2 E& c( e$ z$ q0 ]9 Z! l
  2038. [Zend ZendGuard Loader]/ X4 O. v8 x3 k! H/ D' f. {
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    % I5 G1 ?2 V$ P' V
  2040. zend_loader.enable=1
    & w6 P$ A; T" _  M0 c. t
  2041. zend_loader.disable_licensing=0: x% W( ~9 @$ a, i! Z
  2042. zend_loader.obfuscation_level_support=3
    5 _/ c2 u& e7 Y3 ?* p! _$ ?
  2043. zend_loader.license_path=
    . L' G0 @& H/ B: F- H8 g

  2044. 7 b+ b. P" E& A9 J3 d- n
  2045. ;xcache
    & E, f4 E) c2 P

  2046. 8 \1 B0 O+ ^0 n: a1 w5 R
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692/ S6 g8 s, K( y/ H

4 M( e0 ]3 c6 {7 q7 N) d6 X
8 m, L* q+ ?( k7 j6 n" Y. vDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
3 h$ a: `- e; E" G
- w# t" m8 G1 X9 o* \% w' i9 w% P+ UDiscuz!程序版本选择:
1 M5 y/ i6 C0 J9 u5 i9 n1 R0 g1 L站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,' ?# `: M: Q5 j3 M9 Q6 f  l& K
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:& y2 C; [" x/ Z% |' h: z! S8 p* H7 v
Discuz!F1.0 是应用中心民审、作者爱好者合作基于 Discuz!官方Discuz!X3.2、Discuz!X3.3、Discuz! X3.4版本之上推出的基于PHP 7.1、mysql 5.8最新环境适配、精简的Discuz!论坛程序,目前对Discuz!F1.0 的支持应用DZ插件、DZ模板都相对较少,很多DZ插件、DZ模板对Discuz!F1.0 的支持性也较少,根据目前站长普遍的反馈而言,使用Discuz!F1.0 建站的站长遇到的问题往往比较繁琐,且目前民审、开发作者、爱好者出品的Discuz!F1.0 版本已经处于停摆之中,站长最终都选择了Discuz!F1.0 降级为 Discuz!X3.2、Discuz!X3.3、Discuz! X3.4。
, x6 O% A# E* L# r
+ @! @4 a) J  u- o( \3 pDiscuz!插件模板版本选择:7 g" `0 s- c, K8 }( Q' w
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
) z" Z8 i: O& g( J: b% J+ u针对这个问题做个统一的普及:
, L4 l6 C- J; F6 ]; K4 _. bX3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
/ @2 |6 P( j  I# p; `$ z( A" e; I7 T- B1 [# Q
所以
; @' J2 v) V6 {' ]4 E! _适合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的二级域名。
; L% y. f( E6 K+ O/ ^打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。" I5 G6 v: H* F, [6 P0 B$ c
注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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