分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0' u! l% h4 ]2 X' G# b( K; G  I
( y( x6 K9 [" U" D0 `' Q& d
  1. [PHP]
    & k7 c. |. [& M$ r) R- m

  2. 8 c  ?3 d* \/ r( S
  3. ;;;;;;;;;;;;;;;;;;;
    ! o1 L- q, R; X6 Z2 w3 w
  4. ; About php.ini   ;
    : h1 B4 I5 g" V2 u5 c: c
  5. ;;;;;;;;;;;;;;;;;;;
    6 e3 X' x9 D0 V7 e
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    ( w2 _4 L) Q' z8 B& O
  7. ; configuring many of the aspects of PHP's behavior.
    . T! A5 V; m) o& J8 d( {

  8. $ {0 t' q- ~) A  l6 G. L9 W6 F) j
  9. ; PHP attempts to find and load this configuration from a number of locations.. N2 I/ {, G* J  d" m: |- U$ S
  10. ; The following is a summary of its search order:
    * X( ]9 e7 ^3 L& Z0 t" g* D. B
  11. ; 1. SAPI module specific location.; `$ Q0 ~7 r0 c9 Y
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)% c  F4 \9 a/ t( n
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)) t+ Z* ~' c7 \* Q( i
  14. ; 4. Current working directory (except CLI)
    : M  n3 V- j$ P: b4 ?7 O4 R0 j9 O, M
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP% F; W5 X3 R( }/ m" |( @9 f* V
  16. ; (otherwise in Windows)" y% j4 o2 t5 P
  17. ; 6. The directory from the --with-config-file-path compile time option, or the  l2 y2 N2 w: X" z  Y. f# c
  18. ; Windows directory (C:\windows or C:\winnt)
    + C7 K9 @8 N4 ^6 o& h
  19. ; See the PHP docs for more specific information.
    1 g2 W4 r* I% Z3 ^
  20. ; http://php.net/configuration.file# A/ E, ^- L+ P2 G4 u( ~

  21. " n5 X. `2 Z3 x
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    , S/ u" `, ], O$ u3 c
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    2 X8 s. ^1 `& ^
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though$ H2 u# a' _; F. c  B
  25. ; they might mean something in the future." `% X4 C1 E; w, n8 ~: B$ I. k0 z

  26. 4 ]+ c+ w, v  m/ A) e
  27. ; Directives following the section heading [PATH=/www/mysite] only4 K' @0 Z% B" v& k4 o5 y
  28. ; apply to PHP files in the /www/mysite directory.  Directives: a7 Q2 c5 F( t, O7 \. T, ?  [
  29. ; following the section heading [HOST=www.example.com] only apply to
    2 S% A6 K/ G9 c+ b+ _4 V
  30. ; PHP files served from www.example.com.  Directives set in these
    9 o; [2 Z8 F  R
  31. ; special sections cannot be overridden by user-defined INI files or
    " N5 V! ~. H2 U
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    & O3 T0 U: i2 P5 b4 P
  33. ; CGI/FastCGI.
    2 R* v+ w6 r- q% z2 j: R9 X
  34. ; http://php.net/ini.sections  O( v) n0 o. n8 z* [% [3 n! W
  35. ) W; m4 g" s8 \* Q2 \7 c
  36. ; Directives are specified using the following syntax:$ G9 v1 O7 P" s8 F
  37. ; directive = value, }4 f+ R& J, Y' U
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    6 a+ ~/ N& z1 W$ Q! v: \! l# E
  39. ; Directives are variables used to configure PHP or PHP extensions.
    2 H/ g; j& Q7 K0 k  M
  40. ; There is no name validation.  If PHP can't find an expected. L$ ~* h# v7 j% ~
  41. ; directive because it is not set or is mistyped, a default value will be used.
    3 l3 k* a( t4 f  _" l- r

  42. ! ?4 }4 ]- N; I  U5 v  c# M
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    " y1 D" ]- p0 G# j
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression1 E; O) U4 d+ j- w0 ]
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    6 Q: _* a& i6 N: w# E. }9 y, D8 _0 I
  46. ; previously set variable or directive (e.g. ${foo})5 H3 x1 T( k: s

  47. 0 [3 R5 O1 f9 |# v8 b
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:' \$ h3 T# R' |* Y* v
  49. ; |  bitwise OR
    ; j3 V& }) m% N8 X3 N/ X
  50. ; ^  bitwise XOR' G! R: Y$ N" L3 n$ o
  51. ; &  bitwise AND
    4 d. O+ Q& t5 I! S$ M1 K
  52. ; ~  bitwise NOT7 A, D! r7 s3 ~% k
  53. ; !  boolean NOT! [. q5 i) {& A$ r  u/ E+ y5 f4 L2 q' k" v
  54. - J) S/ j$ ]1 Q$ y3 G5 V; J2 _$ d2 ^
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    4 S+ O) Q  \0 Y, z4 b- P
  56. ; They can be turned off using the values 0, Off, False or No., F+ j$ a/ H* c+ z: P0 w" e
  57. 6 d4 N& ]- ~/ o( G! S! Y, ]/ X
  58. ; An empty string can be denoted by simply not writing anything after the equal( W# L- f) ^( [
  59. ; sign, or by using the None keyword:
    ! y- z5 Z6 {7 g. p2 ]! H# X

  60. $ t) Z0 N% [0 e8 c, v
  61. ;  foo =         ; sets foo to an empty string
    8 o7 _- F; j0 @2 C$ L. F3 {" s6 N* h
  62. ;  foo = None    ; sets foo to an empty string( _; N) |3 N! h, f: T7 p8 c
  63. ;  foo = "None"  ; sets foo to the string 'None'/ a. z$ k7 R  i2 `! I, m

  64. 2 S- P4 y1 n3 n
  65. ; If you use constants in your value, and these constants belong to a; m; z7 R0 G. f+ `* c; I7 W
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),& }! U; m% E' E0 w7 N, D
  67. ; you may only use these constants *after* the line that loads the extension.
    ! _  v$ l" {# J: G

  68. 4 B+ R" e7 A. O, Q
  69. ;;;;;;;;;;;;;;;;;;;
    " j1 t. G9 D5 m: [' t( x2 H
  70. ; About this file ;6 o, O* g. E: X. B' M
  71. ;;;;;;;;;;;;;;;;;;;' h& J" F: Y6 g- A8 N) R
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    2 C$ o/ n. k0 k+ Y1 N" w
  73. ; in production environments and one that is recommended to be used in
    # t+ ~7 s0 g) R5 p9 F) x/ Q: |& s
  74. ; development environments.
    - H  T0 o9 s: X& e
  75. , l4 l0 u" J( C7 B  }
  76. ; php.ini-production contains settings which hold security, performance and
    5 [! b/ N- R; e% X9 y+ I: [
  77. ; best practices at its core. But please be aware, these settings may break$ }4 _# x! i/ w: U, g' z
  78. ; compatibility with older or less security conscience applications. We3 U; H' T; ]! T( u, `- o' P
  79. ; recommending using the production ini in production and testing environments.& l# S5 j4 R9 a1 Q- R1 D

  80.   D# X; F& z$ F
  81. ; php.ini-development is very similar to its production variant, except it is( J0 a# I) f% b" u- L
  82. ; much more verbose when it comes to errors. We recommend using the( i' _4 X! g% Q$ z
  83. ; development version only in development environments, as errors shown to
    # j# M0 [8 g# n" |# t+ o, ^; S
  84. ; application users can inadvertently leak otherwise secure information.3 C- D& p8 A5 B$ ~6 R9 |( K+ k

  85. 2 F; I, W  |) T$ `
  86. ; This is php.ini-production INI file./ |1 ~+ e2 `* h

  87. ) x& E! N1 G" C- w& S9 W5 R3 ]2 C
  88. ;;;;;;;;;;;;;;;;;;;
    : `: B4 l! `9 X4 U
  89. ; Quick Reference ;
    : l+ N) d/ c5 s; ]6 O
  90. ;;;;;;;;;;;;;;;;;;;4 ]! }+ t- J6 e+ d( z8 Q5 M
  91. ; The following are all the settings which are different in either the production
    , a$ U4 M- g3 U
  92. ; or development versions of the INIs with respect to PHP's default behavior.  k8 e  o0 l- H
  93. ; Please see the actual settings later in the document for more details as to why
    # `- g! z1 c1 M
  94. ; we recommend these changes in PHP's behavior.
    * c* n9 U: S9 L0 N

  95. % x! X( t) m- ^) p, p# |( b% |
  96. ; display_errors8 @& x7 |2 m, Z% ~9 a0 a/ O4 T% U5 I
  97. ;   Default Value: On6 }2 l2 p) n9 ^. N
  98. ;   Development Value: On
    ( h1 u7 i+ S7 W9 C( y* b
  99. ;   Production Value: Off% U. f+ s* {. Y9 h7 v3 L
  100. 1 `4 m$ t' N' n4 M# m" I1 J8 f
  101. ; display_startup_errors
    * K, l4 ~$ p0 o" {
  102. ;   Default Value: Off
    6 T: ^+ u& t& }  G
  103. ;   Development Value: On
    + H" ?6 v4 C7 l# U( F( r' K1 d* y- V
  104. ;   Production Value: Off
    - G: _4 ?0 l; L# T2 e9 l
  105. " W: W6 r* S5 K' ?
  106. ; error_reporting
    6 w" a! y. v! W8 v
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED: `# F. _) d7 z$ H) c( P) b! F
  108. ;   Development Value: E_ALL0 i( `0 E% V3 Z6 |. H( z# l% q
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    & A1 f( u8 ^0 e% G; J
  110. ( }0 x$ f0 v; I* K: g  Q
  111. ; html_errors# K; j' ~) V/ i8 N, o3 I
  112. ;   Default Value: On* R# R, {) P5 u( i4 m- N
  113. ;   Development Value: On
    7 R% S' U% c8 s
  114. ;   Production value: On
    : T) H. F4 V7 C! \' X
  115. % p0 x2 D/ c8 M8 Q2 {
  116. ; log_errors5 {8 e) @2 X& _) x+ [/ m- k
  117. ;   Default Value: Off
    + k# N7 X+ O$ v8 e, e& t2 Q
  118. ;   Development Value: On
    9 U+ }1 d9 Z1 H0 u# n1 w$ W
  119. ;   Production Value: On
    7 \. N* [$ b; p6 p

  120. 1 f4 H( I, A  W. J4 z; N
  121. ; max_input_time
    2 q" n; Z, v- k0 A
  122. ;   Default Value: -1 (Unlimited)) R6 [- L1 a6 B
  123. ;   Development Value: 60 (60 seconds)
    " o) ^' P! c' M
  124. ;   Production Value: 60 (60 seconds)
    4 W8 L1 Q# Q9 f! T8 }$ l

  125. , H8 \( d, A; _. F
  126. ; output_buffering
    8 e3 s% f$ b7 {) [7 F! k2 c
  127. ;   Default Value: Off. Z2 R: Y& c, C
  128. ;   Development Value: 40966 R- T/ B( M8 S8 H
  129. ;   Production Value: 4096  U7 t4 M3 d) U! ]/ i7 M# x

  130. 2 f) b+ @8 F+ `& H
  131. ; register_argc_argv
    " v* w8 _8 b# g8 B& M$ Z3 ]5 I
  132. ;   Default Value: On
    8 v5 @3 d/ ^3 ]9 o' a7 A
  133. ;   Development Value: Off
    ( A3 `. Q1 L8 R5 o4 v" k
  134. ;   Production Value: Off% Q9 x! L" I1 u3 ~# j

  135. $ P1 k) w6 v" R7 C# |+ w
  136. ; request_order
    : j. w+ F; o5 _+ Y2 l- h
  137. ;   Default Value: None
    ) k  a. m2 \+ p" b* X9 N
  138. ;   Development Value: "GP"
    - x- {# j, j5 ~5 p8 W% j
  139. ;   Production Value: "GP"4 Q; G) r$ W5 I3 {$ R+ F  y% a5 a8 p- ^
  140. 0 m3 t, o; f+ E9 S
  141. ; session.gc_divisor% S" o4 U4 `1 _3 L
  142. ;   Default Value: 100' ^/ l: ]" a7 d
  143. ;   Development Value: 10005 C, k3 _2 K2 w
  144. ;   Production Value: 1000
    9 m/ j- X8 E3 o' O2 \
  145. ' Z. @' [" M7 m5 ^- P& G1 P" P
  146. ; session.hash_bits_per_character
    : z5 T/ e. S& r2 G# E; E
  147. ;   Default Value: 4
    ! P5 f0 T1 G( \
  148. ;   Development Value: 5( e7 d) X- s6 w& ^4 C$ Y/ @9 H
  149. ;   Production Value: 5
    $ E0 O. a; l. Z1 P$ ]

  150. 5 w# B& K6 b1 @. ^0 o
  151. ; short_open_tag* r- d1 o. ?0 K7 s* S3 C
  152. ;   Default Value: On8 ^) Q3 R6 i% r- P2 P5 H: o
  153. ;   Development Value: Off7 n% f0 E8 l0 o) Z8 e4 b8 ]" C
  154. ;   Production Value: Off1 v) u$ y/ J. K. @

  155. # j3 |1 f4 R2 H5 r
  156. ; track_errors# R& a) K; B* G
  157. ;   Default Value: Off
    4 E  i* L# }0 c3 n3 S  m1 ^: D4 K
  158. ;   Development Value: On4 Y' x9 e4 T/ _/ M! R
  159. ;   Production Value: Off
    # b! ]$ z, _  I

  160. . g4 ^& N/ |* w- J% U, `
  161. ; url_rewriter.tags/ F& Q4 c5 d% ?# o1 z3 ^- c( \9 s3 L
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="& z! P$ S- z! Z& ^
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"! d* U& a* d; E9 i# k4 M2 \: C
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    : z" S, ^8 K6 {

  165. ' E6 X; E8 r/ `& q' C/ ]. |6 R
  166. ; variables_order
      @! f' b' q( Q
  167. ;   Default Value: "EGPCS"
    . G1 n; _0 e* n
  168. ;   Development Value: "GPCS"
    / I; t6 d3 p: u' l! T
  169. ;   Production Value: "GPCS"
    : C; N8 a/ o/ F- \9 U. i7 X
  170. ) F2 z7 \% x* U
  171. ;;;;;;;;;;;;;;;;;;;;
    8 y) Y  h4 h# B5 z: E/ s+ k% @- ]
  172. ; php.ini Options  ;
    * m9 u, \% X( g) Y& F. z/ n
  173. ;;;;;;;;;;;;;;;;;;;;
    - ~/ B! o& g( C' g; {/ r3 A& ^
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    + k% A! t4 Z8 s9 @6 X2 C2 x
  175. ;user_ini.filename = ".user.ini"3 e7 k% [, m+ y' Q, w

  176. ' n1 W) ^# L1 A
  177. ; To disable this feature set this option to empty value) Q$ `8 _! [3 Q* Z, N+ |
  178. ;user_ini.filename =
    $ W) l2 q1 _1 v2 d* |3 N' x* H
  179. 1 E. P6 `9 U" F+ Q! R8 _
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    , r% a( k* X8 X# x/ B3 e4 @
  181. ;user_ini.cache_ttl = 300
    ' a; L  E% n3 C; p  W3 `9 s+ J

  182. 9 u3 q3 T! K7 P. e$ C) B. q/ I
  183. ;;;;;;;;;;;;;;;;;;;;
    6 }2 a& t7 V+ N% A5 l2 K. K
  184. ; Language Options ;
    : K/ F+ X, l4 v/ J0 S4 {3 v
  185. ;;;;;;;;;;;;;;;;;;;;) w2 c: z' U0 l3 N% M% o: d* j

  186. ' R$ U+ q# z7 e, y& v
  187. ; Enable the PHP scripting language engine under Apache.3 y" K: L4 n" g
  188. ; http://php.net/engine: ~) ?& N4 I' x- J/ y
  189. engine = On& r, B2 W1 C4 \  X$ I: O

  190. 5 l: Y+ n- y1 r3 V
  191. ; This directive determines whether or not PHP will recognize code between: U! X( a  T. [0 r5 x- w8 Z7 W; u
  192. ; <? and ?> tags as PHP source which should be processed as such. It is- n; N( v/ N: N
  193. ; generally recommended that <?php and ?> should be used and that this feature$ N& ^$ ?; [' q+ e0 h
  194. ; should be disabled, as enabling it may result in issues when generating XML
    1 l( t9 [2 [# U
  195. ; documents, however this remains supported for backward compatibility reasons.
    5 L1 e, v+ b, l+ s% F
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    ) D9 u: \: b# o& o2 f# E
  197. ; used regardless of this directive.
    & i: j" Z. O: [- k. Z9 G2 R
  198. ; Default Value: On
    3 B2 f5 G+ B& r4 B  c4 W& |/ ?4 x1 d! z$ J
  199. ; Development Value: Off
    4 j9 O3 g4 Z- L- G0 q
  200. ; Production Value: Off
    $ M' W) A+ B2 l  Q! ~  G, t+ W
  201. ; http://php.net/short-open-tag
    ( A. b- B8 ^" d' ]1 W
  202. short_open_tag = On! k6 W. H5 D  ~- I

  203. 2 \' _9 @8 o5 \
  204. ; The number of significant digits displayed in floating point numbers.- @; x: m. s& V; s
  205. ; http://php.net/precision# J$ }4 y  g9 z3 d
  206. precision = 14
    " M$ }0 |: m) q0 X) r  x

  207. 0 w- [, N2 V  K: u# m6 }3 D; l! a
  208. ; Output buffering is a mechanism for controlling how much output data
    0 c% `+ K: R0 _8 E
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    * W3 T3 ~2 U/ h; x) ^' H6 Q
  210. ; data to the client. If your application's output exceeds this setting, PHP
    $ k7 Q0 [/ P4 x
  211. ; will send that data in chunks of roughly the size you specify.
    . I3 @% c& k& l  m* [8 c" W. z$ f7 B
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    ' B- y+ c; I( H. \* M+ T
  213. ; interesting side-effects depending on your application and web server.
    . `6 A  `5 g7 i& {7 V0 l
  214. ; You may be able to send headers and cookies after you've already sent output
    - p. `- D3 _; E7 D
  215. ; through print or echo. You also may see performance benefits if your server is
    * g9 @8 k* ?9 y# T' k/ E" Z
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    # w3 k- c, R2 P; J
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    * h' a9 j" n, l7 ~* d% q9 C
  218. ; reasons.
    $ h1 x+ j, n; T% Q/ q- L% N
  219. ; Note: Output buffering can also be controlled via Output Buffering Control2 u+ |# X: l: s
  220. ;   functions.
    ( r7 g; H6 B$ C4 z3 J) z/ x
  221. ; Possible Values:' i( I0 l3 i4 a. R! `7 n
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    ; z" |4 x  Q! n6 X% W: @
  223. ;   Off = Disabled
    % O( W4 t8 a1 S+ t8 b- y
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.$ ?3 E/ C, [. H: W( Q8 N) \' b
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ! i; h! j, |& t4 |1 I
  226. ; Default Value: Off
    * ?0 G  B+ p8 ~. a0 J
  227. ; Development Value: 4096
    9 R0 a, L8 K" R# x
  228. ; Production Value: 4096& \3 u; ^: [" z7 W+ Q7 R6 y# I( K- Q8 S
  229. ; http://php.net/output-buffering
    8 i' d: S) M1 A8 @& p" Q2 q
  230. output_buffering = 4096
    ; _% I: k3 l3 c" i/ S5 V

  231. - U8 b. x" J% W  `% K
  232. ; You can redirect all of the output of your scripts to a function.  For
    ! b* L# n# k  S4 R' b
  233. ; example, if you set output_handler to "mb_output_handler", character
    ' `; G' G9 C$ j; k8 t& I6 U
  234. ; encoding will be transparently converted to the specified encoding.
    9 h: v# P/ \* B$ u: J/ z
  235. ; Setting any output handler automatically turns on output buffering.
    ) H" o$ ~4 i1 [; Q. F) v
  236. ; Note: People who wrote portable scripts should not depend on this ini% G. K. f* I0 r+ [
  237. ;   directive. Instead, explicitly set the output handler using ob_start().4 F! W2 a$ }6 Z1 C
  238. ;   Using this ini directive may cause problems unless you know what script
    ' m% f* m  A0 c2 b3 y; t
  239. ;   is doing.
    2 O7 G! m* q. T4 |0 a
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"6 V  t1 ]8 n7 Q( U
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".: g0 V- \8 T" W* O) Z
  242. ; Note: output_handler must be empty if this is set 'On' !!!!' y1 v  O* }# `8 W
  243. ;   Instead you must use zlib.output_handler.
    & _$ j. _  m% }6 F
  244. ; http://php.net/output-handler8 N1 D( {+ R- d
  245. ;output_handler =& I0 i& R( I) f) E) f' S
  246. 0 ]# R( a& D; N6 J- h% q5 ^
  247. ; Transparent output compression using the zlib library9 _3 J5 T* a4 g& }( L0 E; c& O
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    : g4 a1 J6 x9 F2 o; w( u9 b
  249. ; to be used for compression (default is 4KB)
    7 B( n$ y. u4 e6 O3 A7 m  V- K
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    # ]/ }) t7 I/ z$ ^
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    - h2 M* o- P* {) D7 b. b
  252. ;   compression. If you prefer a larger chunk size for better
    * A2 B8 p9 P/ L8 n
  253. ;   performance, enable output_buffering in addition.9 N9 D5 J7 x/ i" f- H- q
  254. ; Note: You need to use zlib.output_handler instead of the standard
    5 ^; [6 A( K) i+ q% R( j
  255. ;   output_handler, or otherwise the output will be corrupted.$ H5 B- B/ b! H) r
  256. ; http://php.net/zlib.output-compression
    ' u9 ~; F! @; q
  257. zlib.output_compression = Off( M3 @% w4 J, U
  258. * F0 G* }5 z0 X: w3 y8 x) ?6 J2 `; r1 x
  259. ; http://php.net/zlib.output-compression-level
    3 N. z+ ]$ X, z  e
  260. ;zlib.output_compression_level = -1
    : ^( {0 {8 Z0 w
  261. + t9 n. x! I- O9 V8 ?7 s% O
  262. ; You cannot specify additional output handlers if zlib.output_compression
    ( E- {: n2 P) c
  263. ; is activated here. This setting does the same as output_handler but in
    * x- u5 |( _+ H4 a4 n( l
  264. ; a different order.
    & o. n5 h0 a: |, d( B
  265. ; http://php.net/zlib.output-handler
    ; @# l4 K! H0 c0 _4 g, M
  266. ;zlib.output_handler =
    ) |8 S4 v3 I! `# [: I2 C
  267. 0 q; E( Z! }2 H. j. @/ a/ _2 v
  268. ; Implicit flush tells PHP to tell the output layer to flush itself  s* I& w% d, X9 B% r( q
  269. ; automatically after every output block.  This is equivalent to calling the
    % M/ m1 x& f6 e8 n/ h9 E
  270. ; PHP function flush() after each and every call to print() or echo() and each
    % |" Q9 M- I6 l" k9 U1 V! O0 V/ C
  271. ; and every HTML block.  Turning this option on has serious performance" t& y% A1 c3 y& h
  272. ; implications and is generally recommended for debugging purposes only.
    % a4 S; M. ~5 c9 g4 ?, d) F
  273. ; http://php.net/implicit-flush
    ( q- [! O7 h; m9 J' l0 L
  274. ; Note: This directive is hardcoded to On for the CLI SAPI( F( l$ {: J6 K5 H+ q2 \
  275. implicit_flush = Off
    4 z* V; P$ Y% _) z- m: B# j( o; G

  276. 4 P3 N& i5 s7 I1 e4 i$ I  ^
  277. ; The unserialize callback function will be called (with the undefined class'
    , z7 b9 ?: m' p8 @  m
  278. ; name as parameter), if the unserializer finds an undefined class
    * S5 x: h7 l/ R- v0 `5 R( M" T
  279. ; which should be instantiated. A warning appears if the specified function is
    5 r1 Y$ a6 P" R/ G3 q0 o
  280. ; not defined, or if the function doesn't include/implement the missing class.# m! |) F7 }" ~& u! h% c
  281. ; So only set this entry, if you really want to implement such a9 Z2 b* _% G+ _0 Z
  282. ; callback-function.# i$ r1 r4 D& j: p
  283. unserialize_callback_func =6 W" r3 l  T" ^# h
  284. . ?  W8 i: b) P' {- `
  285. ; When floats & doubles are serialized store serialize_precision significant
    : f' K+ i. ?9 ~) @, h
  286. ; digits after the floating point. The default value ensures that when floats9 \1 |6 H' K$ ?/ i% i& m/ ^
  287. ; are decoded with unserialize, the data will remain the same.
    . M) H+ z2 S# u3 L2 x
  288. serialize_precision = 17! ?1 |5 z3 F  F

  289. " i* {$ }+ h' ~4 U. y  J
  290. ; open_basedir, if set, limits all file operations to the defined directory0 o8 U! P6 s, W
  291. ; and below.  This directive makes most sense if used in a per-directory; i% n4 ], c& Q% J
  292. ; or per-virtualhost web server configuration file.
    ! ^3 w% _  j- C% o6 O. u
  293. ; http://php.net/open-basedir1 o$ z' v# l/ Q3 m3 j4 u+ X! e0 T$ c0 O
  294. ;open_basedir =. A. e7 f, O9 S: `* H# |8 i$ i
  295. 0 D6 O: k( G7 z: f
  296. ; This directive allows you to disable certain functions for security reasons.) Q" s+ g! n5 c9 P
  297. ; It receives a comma-delimited list of function names.
    ; R& o- L' A6 Y0 u" i, X7 W
  298. ; http://php.net/disable-functions
    0 g! P/ M9 @: [# R" l" {
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    . A& T3 I2 @4 h/ B- u* C% ~6 H# ~
  300. # i8 z6 a& J2 k" _6 o; [. \' g
  301. ; This directive allows you to disable certain classes for security reasons.
    # P8 x( H' \. m' k
  302. ; It receives a comma-delimited list of class names.
    6 j" Q. L7 {6 w4 h
  303. ; http://php.net/disable-classes+ Y) f  \5 y/ \+ o. \
  304. disable_classes =
    - F7 G" L7 w0 _% A# k# t

  305. 6 t$ f1 _1 i0 p( [% G8 H' \' K
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    9 h& T' h: n: M. b7 G+ J7 `
  307. ; <span style="color: ???????"> would work.* {' L+ W" \; ^% [) U- \
  308. ; http://php.net/syntax-highlighting
    4 Z2 B6 V3 m- W; s; f
  309. ;highlight.string  = #DD0000
    7 u* P3 G5 G% K+ d9 c
  310. ;highlight.comment = #FF9900' D% h  ]# N; v6 \2 n& ^( x5 I" R
  311. ;highlight.keyword = #007700: p( r1 ?$ ^9 \, p5 `
  312. ;highlight.default = #0000BB
    % e% j9 M8 B* B) k+ I
  313. ;highlight.html    = #000000
    4 ?2 g0 f. x- z7 x2 `

  314. + S7 H$ @$ h7 n: z. n
  315. ; If enabled, the request will be allowed to complete even if the user aborts& b0 R+ y( ~( x! j) v( ~' ]
  316. ; the request. Consider enabling it if executing long requests, which may end up$ L; Z2 @4 {4 V% Y* a; M( N+ A
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    3 j: B9 ]( F. ~
  318. ; is to disable this feature.
    * M, @2 y1 L- L/ b
  319. ; http://php.net/ignore-user-abort
    % w: R. K2 t$ m
  320. ;ignore_user_abort = On
    6 L6 q9 J# ~" y8 n4 `, z: P

  321. . t; O, W3 O! U
  322. ; Determines the size of the realpath cache to be used by PHP. This value should+ {+ i2 `3 ]0 C  A8 ]7 p' z( ?; A
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    7 A$ ~; Q. t2 H+ q4 S
  324. ; the file operations performed.
    $ K- N: r. s& p5 C4 s0 `6 p
  325. ; http://php.net/realpath-cache-size! F: {- i& ]0 O
  326. ;realpath_cache_size = 4096k
    2 m1 o# x7 e; \3 r- N8 g# L2 Q

  327. * |" ]6 B" c& N1 f8 t- y& i
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    5 f0 a4 Q, r6 g7 q/ A0 t
  329. ; file or directory. For systems with rarely changing files, consider increasing this# Q& c1 O9 k0 x
  330. ; value.( R! |0 V8 R4 ]. N0 i
  331. ; http://php.net/realpath-cache-ttl
    9 m# g1 p& a& U' n1 V- ~
  332. ;realpath_cache_ttl = 120
    : `* L% O3 ^2 [7 P; S
  333. ( g. o+ |; e$ K; u2 m1 d5 j
  334. ; Enables or disables the circular reference collector.& p% J, A) E! R) X  X$ Y' s
  335. ; http://php.net/zend.enable-gc/ x  m# H4 I3 P; |9 s- q! b" j
  336. zend.enable_gc = On# u- Q- ^9 u+ r2 S0 m
  337. ) F( Q9 n( m3 h& F) i
  338. ; If enabled, scripts may be written in encodings that are incompatible with- B( A+ _& b7 X$ ?1 {0 j
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such/ z( h5 C2 v% ~8 P$ U8 V
  340. ; encodings.  To use this feature, mbstring extension must be enabled.8 b3 d& O, a9 ?- j4 }
  341. ; Default: Off  Z* s0 d) P* Z7 z
  342. ;zend.multibyte = Off0 [0 |( q: V- [
  343. : R' S+ Z9 Q6 ^5 z6 S" t' C
  344. ; Allows to set the default encoding for the scripts.  This value will be used; |( d' ]5 `5 f8 m5 |
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.* M! q+ }; j4 z" E
  346. ; Only affects if zend.multibyte is set.
    3 t7 d$ f4 [( Q& q: [( v4 |
  347. ; Default: ""% V# x1 N9 ~. c3 _* s3 ?. W
  348. ;zend.script_encoding =
    3 }& n9 d: i# X' T
  349. ' K4 s6 F8 z* J
  350. ;;;;;;;;;;;;;;;;;5 l0 M$ k7 S; M$ b' @
  351. ; Miscellaneous ;
    / C: m1 e1 Z+ W/ H2 B! l
  352. ;;;;;;;;;;;;;;;;;2 l& G& B  F" j5 m

  353. 2 V) h# X- G4 r4 q! @1 t9 K
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    6 X* v1 v$ z2 E- p4 R
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    ; }- @9 M; ~# u, {0 c( E# L: l
  356. ; threat in any way, but it makes it possible to determine whether you use PHP9 Z4 X9 M' M. a7 S( S9 z
  357. ; on your server or not.% C1 J- W. p2 |. h! w* o
  358. ; http://php.net/expose-php. O9 _! V  t0 g- S$ N
  359. expose_php = On& p3 l4 z- z' s% w0 H) X/ [* T# e
  360. - U) {( ^5 a3 V2 z1 W
  361. ;;;;;;;;;;;;;;;;;;;
    ; Z! @% F+ q8 v' ]7 B1 d
  362. ; Resource Limits ;
    2 f* @  Y$ ]3 G! U; a' W8 O
  363. ;;;;;;;;;;;;;;;;;;;
    ; n) E! S2 u* c1 t1 O( s! K6 C
  364. " W5 G  X/ a9 w# M
  365. ; Maximum execution time of each script, in seconds# |$ R4 y( s; Z4 w' M# P
  366. ; http://php.net/max-execution-time' c% o( B5 L+ n$ t
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI7 c( m# z- O- U* d. [, ?; i+ R2 B' O
  368. max_execution_time = 300/ i% p0 Z! F" ^8 T, o* F
  369. + G3 j# o+ R/ [4 N; L1 Z# M3 T
  370. ; Maximum amount of time each script may spend parsing request data. It's a good2 V# e! H8 w& |) S, z$ z* l7 k
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly1 C1 ^' r, r% q# r- n8 z
  372. ; long running scripts.% K6 l! O* }6 Y! S4 U4 `( o# S
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI+ V3 u& b6 D" \' K: I% f$ u
  374. ; Default Value: -1 (Unlimited)
    . K8 U* u6 j) T
  375. ; Development Value: 60 (60 seconds): a% h1 D* |# r. l. y# V
  376. ; Production Value: 60 (60 seconds)% O9 [9 i7 @7 P! J0 o6 [# R
  377. ; http://php.net/max-input-time
    + ]' h7 i+ C% K+ x% [# q& l& }
  378. max_input_time = 60; w9 c% c  O  \
  379. & j8 l3 N; f% @5 X' t7 }) D* d! S# X
  380. ; Maximum input variable nesting level
    7 T( v6 F8 |5 H- |) ?; x; T2 g
  381. ; http://php.net/max-input-nesting-level
    5 o& z7 p3 C2 L3 L
  382. ;max_input_nesting_level = 64( f; U4 ]6 _4 Y( N! |# j

  383. & q. }3 c1 ?+ u1 X! |( I- P0 ?0 a
  384. ; How many GET/POST/COOKIE input variables may be accepted7 [1 G8 U3 ?# w' Z  s  d
  385. ; max_input_vars = 1000* \9 f& P* d' s: N
  386. ! [8 F' G3 s5 i
  387. ; Maximum amount of memory a script may consume (128MB)# [6 ^: {! c0 F( L+ U, V
  388. ; http://php.net/memory-limit& @* g: w/ Y: A, g
  389. memory_limit = 128M$ Q+ o2 B2 k* O3 _; C% s" k

  390.   _, D- K8 f0 @- z/ T
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    7 D0 D" R7 Z: ]$ H8 w4 C/ W
  392. ; Error handling and logging ;
    6 G) Z0 |* |2 D" [+ b
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    3 R4 k# q# l' K

  394. ' U  }( X5 `/ L0 ~
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    : p5 a- ]; v$ B* T6 W
  396. ; it to take action for. The recommended way of setting values for this
    , z' q3 t- G; b7 @( y8 R
  397. ; directive is through the use of the error level constants and bitwise
    1 }& z: z/ L% |1 _- K
  398. ; operators. The error level constants are below here for convenience as well as
    2 n! K6 ]7 O( H  W1 h' s9 O  d
  399. ; some common settings and their meanings.& [, w: O- T6 |, U% e3 Z+ [8 j$ K
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    + ]  X1 w7 c' o
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and' O! d# Y# R' k! o
  402. ; recommended coding standards in PHP. For performance reasons, this is the  Z" D( V( O% y8 m! O
  403. ; recommend error reporting setting. Your production server shouldn't be wasting+ d( v& G% w  c7 f' j, p7 D$ b& k( D
  404. ; resources complaining about best practices and coding standards. That's what
    + f5 ~4 O' r* R" `/ b
  405. ; development servers and development settings are for.
    - @! r$ _+ ?: C# d- t2 s
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    8 C( f. m8 x4 P" _8 J
  407. ; means it pretty much reports everything which is exactly what you want during& ]' P. L# x- |- c
  408. ; development and early testing.
    8 e7 W7 u3 H8 j0 `: l
  409. ;6 Z- l( w4 j* _9 w6 O
  410. ; Error Level Constants:& ^6 n9 _, A! X& }4 ?
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    7 L8 Q8 K  v9 j) z1 H8 C
  412. ; E_ERROR           - fatal run-time errors
    3 o; q5 e# P/ `5 a
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors5 B/ [: y8 t3 d! v( v
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    & o6 B8 j3 P3 @0 I
  415. ; E_PARSE           - compile-time parse errors
    + m- S" i+ H' `6 g. M0 s
  416. ; E_NOTICE          - run-time notices (these are warnings which often result2 k) m7 m; c  H2 e- ?. i2 |
  417. ;                     from a bug in your code, but it's possible that it was
    ! l/ ?5 J9 w! [0 `5 E# N: p
  418. ;                     intentional (e.g., using an uninitialized variable and
    6 h8 R3 Y( u/ u% w; V) Y3 |
  419. ;                     relying on the fact it is automatically initialized to an
    - N5 {3 p# ~6 a. r! [
  420. ;                     empty string)
    1 _  ^" T) [" ]
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes0 A: g7 T4 l+ \: z
  422. ;                     to your code which will ensure the best interoperability9 _/ P5 O4 A" Y3 Z! \+ u
  423. ;                     and forward compatibility of your code+ p( u, j5 z% R! X  [
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup& D# w6 _/ _2 x* X! u% j
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's1 u5 K, w' h/ |* Z* _
  426. ;                     initial startup4 F* I' ]' x. X/ W
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
    5 a4 S( Y# l; ]: P; V! a: m; K
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)  c3 l' L# p" I; d
  429. ; E_USER_ERROR      - user-generated error message  c& ~- ^1 t' z
  430. ; E_USER_WARNING    - user-generated warning message
    * C4 Q3 |3 v% z+ {4 U0 F" J3 P( ]
  431. ; E_USER_NOTICE     - user-generated notice message
    ' s) ~/ r& @) U$ ^
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    + _5 N  \0 t$ r. ~0 Q, M, e) D
  433. ;                     of PHP
      z) A. S3 A% d. L
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings( ^/ }( L, x) b: ?
  435. ;/ ?+ b0 _7 P2 M* o. i: Z% ?0 J% X
  436. ; Common Values:5 @" q5 j- ?2 K2 z8 ?$ i& X2 T
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    # E5 f+ L8 s0 B% c
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)( L, k9 k+ f0 J
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)5 W3 w9 J3 d$ M- I' p
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors), Z- O7 a. R1 d0 p2 }9 H  c8 Z4 J
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED2 A; Z# j# u4 b' T6 I
  442. ; Development Value: E_ALL
      d8 M6 A% N8 P- T6 V" ~6 w3 j* N
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT1 h& ~# e0 {' k; L
  444. ; http://php.net/error-reporting
    7 V+ h8 P9 L  r2 a( ~, ^( _; w
  445. error_reporting = E_ALL & ~E_NOTICE
    " p0 ^( F( }& M' b5 H

  446. ) z2 s* Q; }+ p
  447. ; This directive controls whether or not and where PHP will output errors,
    7 o8 s/ R- w+ e# U8 F( `
  448. ; notices and warnings too. Error output is very useful during development, but
    * N, k" F6 {. N8 t) V, ~
  449. ; it could be very dangerous in production environments. Depending on the code$ }8 B# e" f4 M
  450. ; which is triggering the error, sensitive information could potentially leak
    # b' m% U; F) k! S9 r- y% j% a6 x
  451. ; out of your application such as database usernames and passwords or worse.9 U9 s, w9 \0 Q
  452. ; For production environments, we recommend logging errors rather than
    ) m( D6 t8 p7 p8 n5 J
  453. ; sending them to STDOUT.* H% A7 Y1 Y* T
  454. ; Possible Values:7 |3 w3 U! k6 C( I4 B( n7 s
  455. ;   Off = Do not display any errors
      z* m( y6 A! Z5 h
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    % }9 x8 e& g8 _7 p
  457. ;   On or stdout = Display errors to STDOUT
    " l6 N) H0 R( i
  458. ; Default Value: On
    7 i( l7 o9 ], z( c) C% k# i) Q5 y
  459. ; Development Value: On8 c: |9 t- `% z" p' V* I
  460. ; Production Value: Off$ g$ R1 r/ P; }& M/ c9 i0 F& J( D8 Q- @
  461. ; http://php.net/display-errors( o" s- P. Q2 J2 j
  462. display_errors = On
    % Z( }' O' ^: }7 N3 ]: E

  463. 7 Y9 I$ Y. E8 r( `2 i' R4 i
  464. ; The display of errors which occur during PHP's startup sequence are handled0 J# i2 i; |- w
  465. ; separately from display_errors. PHP's default behavior is to suppress those' l2 N! h" `, C4 H. Z/ R$ \; j% x5 V
  466. ; errors from clients. Turning the display of startup errors on can be useful in
    " E* `# h1 K6 ?. W4 ]* x9 O9 V
  467. ; debugging configuration problems. We strongly recommend you2 z: }4 f: h* i) ?, ?& ?4 G
  468. ; set this to 'off' for production servers.# h# M. ]. ?2 S/ ~% M1 c  j/ I  ^
  469. ; Default Value: Off! G. F- D9 \6 w% e$ u
  470. ; Development Value: On$ V  T  w- ^  ~
  471. ; Production Value: Off
    5 `0 \7 ?# L2 p% O
  472. ; http://php.net/display-startup-errors
    6 ]% J- m/ b4 R& f
  473. display_startup_errors = Off
      S$ Z2 G2 t' t. G" `

  474. 2 B* Y7 @$ m! q( }) y7 l& N3 ^/ e& b
  475. ; Besides displaying errors, PHP can also log errors to locations such as a- i9 i0 V& Y  F
  476. ; server-specific log, STDERR, or a location specified by the error_log
    $ \3 y! P9 [9 w& q/ l5 \8 X
  477. ; directive found below. While errors should not be displayed on productions
    ; H$ T" q3 c+ g* d7 @- Y6 n
  478. ; servers they should still be monitored and logging is a great way to do that.( s8 L/ ]1 N5 q6 x
  479. ; Default Value: Off
    & y7 u) {8 T* X7 M! `
  480. ; Development Value: On
      S; }1 {) l4 D* V0 c* {0 x
  481. ; Production Value: On
    . n4 l) P4 Z* S$ ~& P& U' P9 n
  482. ; http://php.net/log-errors
    4 S& a# O& g( b; d7 n
  483. log_errors = On
    4 C/ ^/ ?) j- U% |, s* u1 `8 a
  484. 2 j3 u4 d# g) ]0 }3 @, B% z
  485. ; Set maximum length of log_errors. In error_log information about the source is
    $ f/ y4 d) ]2 g. h7 B
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.  d1 }6 I4 {6 v4 V& Z. s" f
  487. ; http://php.net/log-errors-max-len4 J0 I" ~; F( L/ q
  488. log_errors_max_len = 1024& C0 C! Q, T7 q+ L- A

  489. / ~6 H& |( O$ B
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    # r3 {" u& S. C# W* }3 h0 X
  491. ; line unless ignore_repeated_source is set true.
    # l+ z1 b* d2 \$ B! S! A% P7 T- p; v# W2 i
  492. ; http://php.net/ignore-repeated-errors1 r  \6 E9 |% p7 s- e
  493. ignore_repeated_errors = Off
    + X  n) x: O* `8 Q
  494. % _9 U) [+ |( d. d4 H6 C9 r% R6 m
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    9 t8 f/ u" V$ c. t* N
  496. ; is On you will not log errors with repeated messages from different files or6 Z' X( r4 I+ e4 W0 V
  497. ; source lines.
    - l, o6 r! }) n! y; e9 d
  498. ; http://php.net/ignore-repeated-source  Q) c0 [/ y3 J2 L- _
  499. ignore_repeated_source = Off
    ' ?" ~3 [! m6 f( _9 E1 a0 t

  500. ! e# W+ J" N4 b
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on
    , x8 ]7 f" I$ e+ P* E
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    & ~* t! z8 q3 P8 T( n9 s7 z, @
  503. ; error reporting includes E_WARNING in the allowed list  h. W: w8 e5 y# r5 s
  504. ; http://php.net/report-memleaks8 i9 Y/ F% U, r9 W$ p
  505. report_memleaks = On5 D' U, {* G1 z

  506. & E  n( I( a" s* L( {& P+ e
  507. ; This setting is on by default.7 B$ v; q! _5 T
  508. ;report_zend_debug = 0
    7 k! l, I2 w3 E, y+ P: z+ P) L4 ^  `9 d

  509. % o9 j6 H! M% x5 R4 F( C
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    * y! C; C0 K3 r+ [' y) D
  511. ; to On can assist in debugging and is appropriate for development servers. It should3 }' j1 W% m1 U# s7 }" U  U2 {0 h) h( n$ Z
  512. ; however be disabled on production servers.8 b4 c( R) `( d8 w% p, L
  513. ; Default Value: Off; a% j0 N; b1 v/ r4 [3 j( N
  514. ; Development Value: On0 B: N/ R4 L8 j
  515. ; Production Value: Off/ X: D3 q7 h* i: Y/ h
  516. ; http://php.net/track-errors& c7 a- K/ w% ^) g" ?( p# S0 `
  517. track_errors = Off" n9 G% ]1 ?/ q/ m
  518. # i, R3 H8 V- B
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    2 P1 ]  I* W: H5 n0 r
  520. ; http://php.net/xmlrpc-errors
    . Y* F& f. Y- _( T, k# ]
  521. ;xmlrpc_errors = 0
    2 O  P; g8 _# K3 j0 [$ z( P, ]

  522. 9 h$ x2 H$ {! {8 y
  523. ; An XML-RPC faultCode
    ( L. l. o4 j1 K" P" [
  524. ;xmlrpc_error_number = 08 P; F. w; O4 m& ^; S2 t5 w3 d
  525. 3 v* q, G6 C$ q9 c* C% h# n
  526. ; When PHP displays or logs an error, it has the capability of formatting the, S8 U/ W* I( {0 A# J
  527. ; error message as HTML for easier reading. This directive controls whether
    8 e+ F, ~1 P- I" ^
  528. ; the error message is formatted as HTML or not.8 u( f. }: M5 n
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI4 m) n1 R/ F; Y' Z6 }
  530. ; Default Value: On
    " E, a! ~3 Q/ b  @
  531. ; Development Value: On
    ( s! e2 u7 i1 A/ {
  532. ; Production value: On
    6 f. N% K  N3 @/ ~& _
  533. ; http://php.net/html-errors, O$ g+ N& G: a3 i# O1 o8 m8 y+ z5 ?! Y
  534. html_errors = On
    + h( a( }* P4 j0 ?! s9 n( t; W
  535. - [% y7 ^7 H: O4 Y$ F
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    4 r& B: E5 g! w7 H! [  S
  537. ; produces clickable error messages that direct to a page describing the error
    & S1 F) a5 f- k# A. |
  538. ; or function causing the error in detail.
    ! O( `4 Z! \, l4 Y
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    * \" |5 @  {# a" A5 O
  540. ; and change docref_root to the base URL of your local copy including the8 x6 F% H& u1 b/ B% A8 e
  541. ; leading '/'. You must also specify the file extension being used including3 ~/ @  N7 v# O& \
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which0 ~: }- x; D8 T, S, o! f4 Y
  543. ; case no links to documentation are generated., N: h( W% C. \) g! o2 E
  544. ; Note: Never use this feature for production boxes.! N0 \' j( E4 a! e1 G" }: d: O
  545. ; http://php.net/docref-root7 T' Z& x7 X+ X! P( ]. U* ~; G; w( v
  546. ; Examples2 B  Q& G/ u, a
  547. ;docref_root = "/phpmanual/"
      G# `: p) v5 M2 V# x) e9 y0 d
  548. + ^6 g3 ^8 B) x- K
  549. ; http://php.net/docref-ext9 K0 s3 U3 H$ p2 t  e% P
  550. ;docref_ext = .html
    7 [/ u% q( {' o% [3 m" K
  551. * C1 E( k( v2 f% Z0 P( S- j: }) a
  552. ; String to output before an error message. PHP's default behavior is to leave# N" h8 Y# E6 r: Y+ a7 |
  553. ; this setting blank.7 w: H9 `. ]- f8 N7 d  v0 Q3 l( D
  554. ; http://php.net/error-prepend-string
    ; ]% |& W# d. e! G2 b# I; F6 T
  555. ; Example:& L5 U- G+ i' q5 z
  556. ;error_prepend_string = "<span style='color: #ff0000'>"9 y0 t6 |7 R3 Q

  557. + H1 K8 j* `# H, A7 S% I# y6 \
  558. ; String to output after an error message. PHP's default behavior is to leave
    ; i! x/ n* Q! |. {# E6 ~  c6 n. h
  559. ; this setting blank.
    ( {) W: g, V! t
  560. ; http://php.net/error-append-string, J/ `3 d- ]9 C) }! a: C
  561. ; Example:
    1 f' b' K5 M  R/ R/ _$ D
  562. ;error_append_string = "</span>"& Q7 z4 |, v% F" r  L
  563. ; E4 C  u& E% C+ T2 ~( t) ]
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    - X6 L- e5 J8 Q* \/ t9 n* a8 o3 Z
  565. ; empty.
    , T' k6 L4 j0 v  _$ T( h5 _9 S
  566. ; http://php.net/error-log
    4 ?5 U) b- l5 V( ]9 }$ m5 Q9 n# T
  567. ; Example:
    ; ]: ~2 R8 _/ k' ?# A  \' T
  568. ;error_log = php_errors.log
    0 A6 y3 P$ d. G6 p4 l/ b. J8 ]
  569. ; Log errors to syslog (Event Log on Windows).1 p4 E" q% u' W6 M* @7 r
  570. ;error_log = syslog
      G) y1 |8 O, o5 }. _
  571. ; E. n# W  |  C4 O
  572. ;windows.show_crt_warning9 ~4 J. v% {7 {8 l1 M# V+ d' U# m* b) l
  573. ; Default value: 0
      L. C) A1 _. K2 }, ]6 p6 f/ ~
  574. ; Development value: 0
      z4 T3 p; q/ y7 {* _
  575. ; Production value: 0
    . H: D) u+ Y  d

  576. & I  ~3 R( K. ~8 ]" a
  577. ;;;;;;;;;;;;;;;;;( G9 W9 f1 w. a5 H) E# V
  578. ; Data Handling ;* G6 v2 m) }2 I7 h% n7 t  M$ X( B, T
  579. ;;;;;;;;;;;;;;;;;
    8 L5 P9 O2 t+ e' a

  580. % ~& i% ?+ W  `( i) R2 j
  581. ; The separator used in PHP generated URLs to separate arguments., b9 [+ U0 {* M% i6 m' b
  582. ; PHP's default setting is "&".
    ; e+ W4 J. N  z! ]; N
  583. ; http://php.net/arg-separator.output+ _  }7 o4 j& Q1 S+ H
  584. ; Example:
    ' V- T; `" ?, X' A0 Q$ ~
  585. ;arg_separator.output = "&": k* {, i; o$ D8 f. ^6 n

  586. ) M' }2 i! b7 V# H! d
  587. ; List of separator(s) used by PHP to parse input URLs into variables.  x3 z0 Z' c1 J& n% v9 V2 X7 Q
  588. ; PHP's default setting is "&".+ I! s- Z7 D3 T0 m3 `3 b5 Z6 X& C
  589. ; NOTE: Every character in this directive is considered as separator!
    & D2 _3 H1 }( {/ i. Z; Y* Y0 {4 j
  590. ; http://php.net/arg-separator.input2 M$ P  d9 M: H, a0 i. Z
  591. ; Example:
    ) f( A+ a6 y9 o1 O$ D" S9 M4 T
  592. ;arg_separator.input = ";&"
    ' F8 J* J9 H' }! A

  593. ( @  m! G9 ]6 b: s3 ^( `4 h1 s. R
  594. ; This directive determines which super global arrays are registered when PHP
    $ `. D0 T0 `0 z+ y: }+ a
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    ' O% p3 L  X7 b2 n
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty, V$ f9 x+ u$ _. Q' F3 m
  597. ; paid for the registration of these arrays and because ENV is not as commonly$ P  \7 j! P& i7 b! |9 \0 V' d
  598. ; used as the others, ENV is not recommended on productions servers. You$ s' T$ R. ?6 h
  599. ; can still get access to the environment variables through getenv() should you" k6 T1 X( d. h  o' a- s# K' m
  600. ; need to.6 N& d$ X$ {! ~; a, m% a2 e
  601. ; Default Value: "EGPCS"
    # B0 U4 ]# G! {7 q6 F8 V  o; W5 h
  602. ; Development Value: "GPCS"2 k8 Q  [0 V7 J
  603. ; Production Value: "GPCS";
    6 j. B( g% O; s
  604. ; http://php.net/variables-order+ x$ ~4 _7 w3 L1 E8 [
  605. variables_order = "GPCS"& F5 A+ U( w% Q2 K7 x) r3 I$ S, M/ a
  606. $ m3 W6 \9 t# j$ Y& q. _  k5 \
  607. ; This directive determines which super global data (G,P & C) should be9 P" Y. l) X: p$ A3 U
  608. ; registered into the super global array REQUEST. If so, it also determines
    8 Z( m8 w4 L3 H* r& H
  609. ; the order in which that data is registered. The values for this directive" L. u- m( U, F
  610. ; are specified in the same manner as the variables_order directive,7 v7 x) _$ V: N& @
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set  c: E# t7 P/ H  z+ ]- c
  612. ; in the variables_order directive. It does not mean it will leave the super
    4 C6 q; n  v  R8 x$ j( U/ q5 T; p
  613. ; globals array REQUEST empty.
      E; f, H( r+ l6 I
  614. ; Default Value: None% I, F9 ~: F: M1 O+ \' f4 w
  615. ; Development Value: "GP"
    % I* i5 g, A- u% f- {( N
  616. ; Production Value: "GP"
    " @) y" \' l/ D9 [+ y
  617. ; http://php.net/request-order
    # d# a& s7 }. h* r& t- ~: C
  618. request_order = "GP"( B) w, j! t6 T* ]+ k- `

  619. 5 A" }) L7 p! e( A* Q; n) p6 F, l, r# v
  620. ; This directive determines whether PHP registers $argv & $argc each time it6 G, w8 {# B6 V( [- H* w9 \7 h! {
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script/ {' d  w) p' y. p- f$ r
  622. ; is invoked. $argc contains an integer representing the number of arguments
    9 H  r9 u0 T9 V3 p( r6 e. D7 j
  623. ; that were passed when the script was invoked. These arrays are extremely  p; \$ b; y3 I0 `+ A. z
  624. ; useful when running scripts from the command line. When this directive is4 j+ O/ m5 b5 r# }: l+ M0 V
  625. ; enabled, registering these variables consumes CPU cycles and memory each time, D& B" S9 y. C2 k  z3 [7 k5 k
  626. ; a script is executed. For performance reasons, this feature should be disabled
    ! C& r9 H7 I  v  |
  627. ; on production servers.& q2 [& \1 q/ V/ g; o8 M. F. `
  628. ; Note: This directive is hardcoded to On for the CLI SAPI6 b8 [- k, b( O8 I% c% n6 V8 V
  629. ; Default Value: On% v! H% A" o5 h! ?. \5 s
  630. ; Development Value: Off/ S) F" X; ?/ {0 Q9 W
  631. ; Production Value: Off3 i/ a/ m$ u3 Z8 ~1 F1 a
  632. ; http://php.net/register-argc-argv. X' m* \  k( d4 L
  633. register_argc_argv = Off
    + l0 v0 n: K. Z1 t
  634. 9 I0 n7 D" c* ^; i1 G- e* G% S
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    ; U6 U# h3 e8 i  O( ]  O
  636. ; first used (Just In Time) instead of when the script starts. If these
    % r( Q5 a# y! p; ?$ P/ j3 v
  637. ; variables are not used within a script, having this directive on will result; P' @% ]: z  G( ^
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled. k: R0 t% ^9 s; j
  639. ; for this directive to have any affect.# x& P: l) Q, F) T5 b& ]9 T
  640. ; http://php.net/auto-globals-jit# u, {6 X0 O$ G0 P' b* R4 h7 x: W
  641. auto_globals_jit = On
    $ U: J% k+ H. a$ g  k6 k
  642. - I, ^+ }( N6 B9 B9 R" I6 t; R
  643. ; Whether PHP will read the POST data.) g% A. m/ E; |
  644. ; This option is enabled by default.
    , Q0 a0 r; w; `& ~
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST  @6 h5 V7 ]1 P# V
  646. ; and $_FILES to always be empty; the only way you will be able to read the& [+ n& M) d3 C" H! ^+ y8 n7 ~. X
  647. ; POST data will be through the php://input stream wrapper. This can be useful8 X( W2 E# {9 C" E+ h  Q% O0 T6 s- A  q
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    ! l6 D: N) ~( }! L' G
  649. ; http://php.net/enable-post-data-reading. l# ~; N' ~0 T( Z$ T4 B. d
  650. ;enable_post_data_reading = Off
    + |7 a5 e% u1 I! Q7 `6 C) p7 q
  651. 8 d5 c) z# n, L" K6 a, P" `, @
  652. ; Maximum size of POST data that PHP will accept.
    5 d' Z2 |6 N% Y
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    9 \8 B) O8 ]5 j0 t
  654. ; is disabled through enable_post_data_reading.
      }9 S+ v7 U) a! s+ a8 L0 G! Q, K
  655. ; http://php.net/post-max-size" I1 d: i7 y7 a0 e
  656. post_max_size = 50M1 Q) E4 i% Y5 g& R, O

  657. 1 q9 Y# F& C& n) U0 P6 I' r) Q
  658. ; Automatically add files before PHP document.
    9 z* Q9 J; Y  e3 ?! A
  659. ; http://php.net/auto-prepend-file
    - K. {2 u+ B4 J
  660. auto_prepend_file =
    & N, G% n" E, n( f. s* ~

  661. 8 i2 d) L2 @2 S4 P/ D0 H9 X
  662. ; Automatically add files after PHP document.
    0 A' h1 v9 ]* j2 |" c
  663. ; http://php.net/auto-append-file, J/ I9 W0 ~7 O% W  n- }
  664. auto_append_file =. Q3 u# J" u0 Y) x; i& E7 i& |

  665. ) M5 y( r* Y. D$ g+ {0 A0 v
  666. ; By default, PHP will output a media type using the Content-Type header. To6 U% W) h- u, }9 `( h3 I
  667. ; disable this, simply set it to be empty.
    : h. i; C! ]. P" _+ @) X
  668. ;; M: x. ~& d$ a1 n- U  v7 u" `" U
  669. ; PHP's built-in default media type is set to text/html.6 H& {: x, m) U9 B
  670. ; http://php.net/default-mimetype
    + W3 e& T7 W8 e+ b# `, d2 @! a& Q1 a
  671. default_mimetype = "text/html", |( n2 Z! Y2 f7 G* d: R; B

  672. ) Q/ |8 v3 F  Y: x) X6 Q# H8 {
  673. ; PHP's default character set is set to UTF-8.$ s$ ]9 @" b, C" f% e6 e7 R) N# m
  674. ; http://php.net/default-charset; |$ h0 M0 H0 h
  675. default_charset = "UTF-8"
    ) y+ Z5 z- G6 X7 G
  676. ) L0 C3 n. ?# G
  677. ; PHP internal character encoding is set to empty.( I; d# [4 t2 d- U( M! |
  678. ; If empty, default_charset is used.
    , W8 n; Y5 F" M$ D; f3 r
  679. ; http://php.net/internal-encoding
    1 ?5 z: m+ P3 j% U- k/ N; P$ V
  680. ;internal_encoding =7 Q/ Z' v" I4 a/ [3 o" D
  681. ! c# t0 w  U1 u+ h
  682. ; PHP input character encoding is set to empty.
    9 U3 ^% b7 j: t+ {4 K4 g
  683. ; If empty, default_charset is used.
    . l8 B0 N- z, y( R6 x" l
  684. ; http://php.net/input-encoding! ?2 H, M5 C- c1 N' b
  685. ;input_encoding =
    " j% x7 @7 `0 x6 o  |) B: L

  686. - g7 `1 f0 R6 X3 Q3 z+ [' H
  687. ; PHP output character encoding is set to empty.4 ?. P2 L* C9 v( O  ?5 B7 e
  688. ; If empty, default_charset is used.
    / v: N' w1 w7 I  Y/ A% c9 @
  689. ; See also output_buffer.
      e+ g% A# o& S; }1 {7 ^/ k- A# o8 i
  690. ; http://php.net/output-encoding, n5 X7 [! b( J8 S
  691. ;output_encoding =
    4 \9 w' ^" e; ^
  692. 7 b4 F" p2 f# c
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;3 Y& M2 {4 r# X+ ?+ U% q
  694. ; Paths and Directories ;
    , ]& Y- p. o) p1 Q- l6 |
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;
    ; q$ B# e% v: P
  696.   G  l7 {2 l" L
  697. ; UNIX: "/path1:/path2"
    ! m8 U5 |" o' E% `' d; R$ V
  698. ;include_path = ".:/php/includes"
    : E' A# y, x: @0 Y
  699. ;2 b/ R' j: B. l0 o- \1 w
  700. ; Windows: "\path1;\path2"
    8 V( m& ]% i3 t$ `( A1 P1 k
  701. ;include_path = ".;c:\php\includes"4 y' J9 R, D. H7 \( {4 L
  702. ;
    / x3 {, `2 S8 t
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"  p5 |4 O5 A: v
  704. ; http://php.net/include-path2 e0 P- b- c9 o
  705. : u8 F: N3 e" e  A! f
  706. ; The root of the PHP pages, used only if nonempty.
    " k* w# }/ R' w  p; M! }0 H- I6 K# i
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    % e" [* O  f" D  F
  708. ; if you are running php as a CGI under any web server (other than IIS)
    $ m' c$ M6 B/ H1 @
  709. ; see documentation for security issues.  The alternate is to use the3 Z2 q6 M8 u% J
  710. ; cgi.force_redirect configuration below
    * U+ c( y9 w' m) g9 U( b1 S
  711. ; http://php.net/doc-root' y( b$ i4 W, |- K/ Y# e, C, `
  712. doc_root =
    * R  H- c4 e0 K# I# M+ i3 J4 f
  713. 7 z  A* U7 Z+ `- m5 R* ^+ P' x
  714. ; The directory under which PHP opens the script using /~username used only
    5 {; O8 b( @! A* b; o# R
  715. ; if nonempty.
    & m! E: C" }/ k! M. `: L: \
  716. ; http://php.net/user-dir. D  X1 M& S/ o9 Q* @
  717. user_dir =' I0 ]: L; E4 f: F/ c1 p
  718. 2 N! y( u1 v6 a$ {# q  p
  719. ; Directory in which the loadable extensions (modules) reside.
      {+ V' P9 s: l& a
  720. ; http://php.net/extension-dir
    + w% B$ h3 B# k2 m
  721. ; extension_dir = "./"
    ; F9 Z2 }9 w8 ]' E
  722. ; On windows:: I% o4 f8 {2 n* `5 B+ Y  }
  723. ; extension_dir = "ext"
    ; M. h  k0 @0 g

  724. ' @. X% ~$ h9 r# }
  725. ; Directory where the temporary files should be placed.
    : n* u7 W# I" w. y7 k  X! S
  726. ; Defaults to the system default (see sys_get_temp_dir)/ T4 r2 p: g; o7 }0 X* r" Y
  727. ; sys_temp_dir = "/tmp"
    ( j' ~5 Y" i2 w# s5 O+ o3 h
  728. ! P8 R/ ^) k. P3 J, W! o, J
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    . q+ f* {0 t9 J( _! p$ y, B" E
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically2 W) B& u+ P: O( q7 _5 f$ q' E
  731. ; disabled on them.
    5 f+ ?( J+ N7 D* w9 a( @
  732. ; http://php.net/enable-dl2 m7 L+ f/ U3 {  i1 j6 z
  733. enable_dl = Off
    + J" B5 s8 [5 J$ K8 n

  734. ( g- {0 T: M( I& I2 n% @0 @
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under* u0 w2 E7 L9 M; A
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    3 J! ~; ~0 |5 d! I
  737. ; turn it off here AT YOUR OWN RISK, |# x  n7 }2 {! Z  C
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**, j: w' F9 f" P" h1 {0 R
  739. ; http://php.net/cgi.force-redirect/ Q! d( g  k9 R4 R7 Y# m: l
  740. ;cgi.force_redirect = 1
      L2 R) |( H' L* g
  741. 2 F6 u7 X% D! Z+ |+ T2 h
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    ; P7 {8 N' ~0 }( ]+ ?  `- o/ P* ~/ ^
  743. ; every request. PHP's default behavior is to disable this feature., B/ Y: Z" R5 q; j5 ]0 h/ K
  744. ;cgi.nph = 16 R6 J$ \) U! Z% _9 A6 f1 j" v% I3 p

  745. ' c/ H8 F% G9 T  a" V' D
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    2 Y/ [- I# H# {: h5 H# y
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    6 A( g7 q' n6 D
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    / n- R2 [5 y+ c% R% U2 C. N+ d
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.& ]$ a7 k* a) m0 }
  750. ; http://php.net/cgi.redirect-status-env2 S5 T+ P. X5 Q
  751. ;cgi.redirect_status_env =$ B: R' q9 N9 i  W

  752. + m' p9 ^5 {6 `; A2 L: G
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's$ N: h: ~5 @3 k  o) L
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok! T# u- R" X$ o' }3 ~) r
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting3 ~  S7 I: Y( t4 I( |
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    ; F0 t* k7 ~& F& R9 x% l* m
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    / {' v( t; K4 I; k. y6 B0 F
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    7 J' c6 p: l  M
  759. ; http://php.net/cgi.fix-pathinfo
      M" u9 t5 K; N: [
  760. cgi.fix_pathinfo=1
    ! w# Q: m* I6 [0 ]5 N$ T
  761. & S! ~7 g/ O5 h0 m
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside8 e, V8 p/ {1 {! a5 }9 T. Z
  763. ; of the web tree and people will not be able to circumvent .htaccess security.- Z# V* g. `5 ]5 X0 W2 r
  764. ; http://php.net/cgi.dicard-path
    4 ^% f: s' P$ H/ g
  765. ;cgi.discard_path=1
    $ C8 c5 C/ s) B' F7 T$ {3 V

  766. 5 R; P( p. m- J  C# D3 ~6 j
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    0 L8 E3 B: k8 y9 A" K6 R  m9 x$ o1 T* U
  768. ; security tokens of the calling client.  This allows IIS to define the! d8 s: S  J% Z3 r( Q8 S, S
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    : T4 f, ?8 [# T. B+ V: D
  770. ; does not currently support this feature (03/17/2002)
    8 J! Z! O3 ~" a8 q  l( Z
  771. ; Set to 1 if running under IIS.  Default is zero.
    4 [$ ?0 }) B  x. L- @8 I
  772. ; http://php.net/fastcgi.impersonate
    $ \4 Z5 D+ N7 T* i0 A
  773. ;fastcgi.impersonate = 12 d. x" J8 v3 Q4 e/ }3 b
  774. / D  E. M, \0 ^# `
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable* T7 I: f+ p  l
  776. ; this feature.
    1 y9 p0 m$ ]1 j6 b' i8 `! M; s" {
  777. ;fastcgi.logging = 0
    + C6 f- @4 D8 |) F; W" O
  778. $ w) S/ @* u5 {4 u' q
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    1 N! q: {6 P; `) K# L: y1 Q
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    6 k% J6 W0 g0 L1 @% `1 q! s
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    ( Z+ b. x- n; e; u
  782. ; RFC2616 compliant header.
    ! P: E' A; e( C& X! P
  783. ; Default is zero.
    - j9 c% P) Z% B
  784. ; http://php.net/cgi.rfc2616-headers
    ! }! {/ U) D* y5 o
  785. ;cgi.rfc2616_headers = 0
    1 B1 k6 v; R! K4 V& e6 P( _4 m; ^0 |

  786. " z/ P9 p+ K% l# |' L1 A" B
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    3 X  f  `7 F7 r$ ~$ T" ^/ ?
  788. ; (shebang) at the top of the running script. This line might be needed if the
    $ H( ^8 x/ n7 y$ S  W+ H
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    ; b" D7 I! L1 R) g
  790. ; mode skips this line and ignores its content if this directive is turned on.) ~& k: Q+ y" R0 c4 M
  791. ; http://php.net/cgi.check-shebang-line' i3 Q5 E5 h2 Z7 V' C, E  k
  792. ;cgi.check_shebang_line=1
    # p$ c- X- |$ t5 Q! k

  793. " ~$ @; ?3 {' o$ B3 N" q
  794. ;;;;;;;;;;;;;;;;" i4 T4 z, \! S' C0 ?1 f- a
  795. ; File Uploads ;; a6 h' P) u) q4 v7 g  z& a/ \& d; x
  796. ;;;;;;;;;;;;;;;;
    7 i5 a1 }6 O. h8 P$ M

  797. 8 c) L4 ]2 Q& S, n* |$ U! ]+ t& Z  ?
  798. ; Whether to allow HTTP file uploads.
    4 a& C! Q$ M/ ]8 S0 S, l
  799. ; http://php.net/file-uploads! Y8 Z6 `# t7 l& B# r
  800. file_uploads = On
    / v. r. J" o$ z( Z8 k' x9 V9 h

  801. - I  M- H5 L4 M( ~' J3 U
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    7 `) @* |% m0 w# q
  803. ; specified).
    5 O# f* m3 |6 w2 z# W" ~% }6 g8 e
  804. ; http://php.net/upload-tmp-dir
    ' z+ p; ~2 i9 O" w
  805. ;upload_tmp_dir =
      L2 Z2 n1 d/ c% R! L( X
  806. 7 ~9 ?( ?* G4 X, u! f% d0 E
  807. ; Maximum allowed size for uploaded files.
    ' G: R) k5 `7 P5 E+ x7 R9 H
  808. ; http://php.net/upload-max-filesize  u, ?( W9 A* l( T6 w
  809. upload_max_filesize = 50M
    ! l; j/ L& w4 s3 E
  810. " \0 j9 J% |% _7 w7 T
  811. ; Maximum number of files that can be uploaded via a single request
    % g* r1 |: u+ u! o6 n
  812. max_file_uploads = 20
    $ J* X* n: s& L9 u3 W: [
  813. 2 [6 w/ b, ~% F1 S7 I
  814. ;;;;;;;;;;;;;;;;;;
    ! Q7 l; z9 b$ @; r
  815. ; Fopen wrappers ;
    9 J0 d, D2 l1 {
  816. ;;;;;;;;;;;;;;;;;;' w; D" V" X' S5 N$ A( o0 I
  817. : H1 s) f- Q4 T
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.% B8 S6 U2 {. P# T( i, j( s
  819. ; http://php.net/allow-url-fopen' W) n: v4 g9 \) b, I# V& `9 \
  820. allow_url_fopen = On6 Y. r1 B" M$ v7 s# Y- m8 _! b
  821. 0 n5 I! Y9 U: p+ W( J8 @
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.7 }$ s$ q, `# q# J3 R6 T; K
  823. ; http://php.net/allow-url-include8 u/ X5 D% r& T1 A: \0 r4 d7 A
  824. allow_url_include = Off# H, q. {9 m- M+ z/ \9 P
  825. 0 O. a; J$ b  {! P+ D7 O3 a
  826. ; Define the anonymous ftp password (your email address). PHP's default setting" ^) o! n2 G  T  P
  827. ; for this is empty.! Q. b" q& e0 Z& M* w& V2 p
  828. ; http://php.net/from( @, t/ e5 G4 P2 a
  829. ;from="john@doe.com"
    % e, G+ D4 Q, Y% S) W/ e, q

  830. / @1 H9 _5 s5 V+ \; u
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    & a* n! N8 {; {3 z/ R  ?, l* u* n% i
  832. ; http://php.net/user-agent- G  W) R; L% d" \
  833. ;user_agent="PHP"" k  g$ ^' O% K& e7 a0 j
  834. ) u- }8 U& q' p1 V4 W3 @# _9 g
  835. ; Default timeout for socket based streams (seconds)) v# o2 p. f$ P+ x" u( ?
  836. ; http://php.net/default-socket-timeout) s* R  B, E% V9 Q
  837. default_socket_timeout = 60
    ) ?7 g! q+ W& D
  838. ! T( x& }8 |# K" Z1 Y1 p
  839. ; If your scripts have to deal with files from Macintosh systems,
    ( s6 F1 G( u9 q1 O  b5 y2 G
  840. ; or you are running on a Mac and need to deal with files from
    3 a% Q/ K# }7 g
  841. ; unix or win32 systems, setting this flag will cause PHP to
    , Z8 b( x% u, M8 z+ G0 j
  842. ; automatically detect the EOL character in those files so that& Z5 P9 O: I, c3 K" E+ [
  843. ; fgets() and file() will work regardless of the source of the file.
    9 D1 q# Z  x. {0 T) B
  844. ; http://php.net/auto-detect-line-endings
    9 ^1 H" C6 |( u2 z
  845. ;auto_detect_line_endings = Off# q+ ]9 i, t; w1 m) Y- Y5 D" K5 n

  846. 4 A" I0 }6 s$ L/ y1 W
  847. ;;;;;;;;;;;;;;;;;;;;;;
    7 Y9 A0 F" l: i% b' w* ?+ Y- L
  848. ; Dynamic Extensions ;9 G7 Z6 q! s) X. S8 B
  849. ;;;;;;;;;;;;;;;;;;;;;;# B2 P2 m' U% {* u3 Y

  850. $ \( c/ i# j) ~: ^7 N' `+ s
  851. ; If you wish to have an extension loaded automatically, use the following
    5 Z$ u- E+ c3 ~6 ~
  852. ; syntax:
    # o2 y6 e9 A' I- n3 i' _; W
  853. ;/ h& R# ?: u  q3 R: \3 K, b
  854. ;   extension=modulename.extension
    , E: F7 s9 H  ~1 y5 U
  855. ;
    5 z" m7 i6 s' z' \6 C, r6 Z
  856. ; For example, on Windows:" ~8 z. f  P' k: f6 i
  857. ;
    3 K% W8 \! c; {2 J
  858. ;   extension=msql.dll2 Z, C3 M0 I8 O; c! F
  859. ;  C5 Q  B. a! Q# X# ^
  860. ; ... or under UNIX:3 O* k7 J' e% Q! i. I. W9 ?
  861. ;
    ! b0 B2 `" J' x6 }1 K
  862. ;   extension=msql.so1 y7 F6 [1 s. S& Z
  863. ;
    $ P2 I# v: i7 p. k% \8 B  b0 i
  864. ; ... or with a path:/ C$ H: H+ z0 N) y' _1 N( r
  865. ;
    ; i2 Q% ]( r: h, x9 T7 d0 {
  866. ;   extension=/path/to/extension/msql.so8 a8 U& V8 o% Z' i" v  H* R
  867. ;  g& @: I+ `2 z2 R+ \) y) m4 \. X
  868. ; If you only provide the name of the extension, PHP will look for it in its
    , y/ K7 `! i% L$ Q- @/ b. M
  869. ; default extension directory.
    ; I9 A. i0 W) |7 J
  870. ;
    % V/ w  ~) S6 K& j
  871. ; Windows Extensions
    5 j1 W/ v4 o; a; E/ V$ Q
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    2 I7 W3 T( j- l  F
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
    + `8 [8 F, R( a3 ]0 j9 b
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).. ?  I5 E4 V- f& _4 {; H
  875. ; Be sure to appropriately set the extension_dir directive.
    % l  V+ n* M0 K. i0 M7 O
  876. ;8 y" n! C0 k' O" O; w
  877. ;extension=php_bz2.dll
    $ `( g9 b4 I) F; R: Q! o
  878. ;extension=php_curl.dll
    " r) z% F4 s2 s
  879. ;extension=php_fileinfo.dll! `( m8 y5 b5 Q+ B' n
  880. ;extension=php_ftp.dll( @8 g: j: c. a* C3 O
  881. ;extension=php_gd2.dll
    , N+ z* A1 ?+ E  p
  882. ;extension=php_gettext.dll' x' I4 b: S+ J: I5 t9 I/ I( [
  883. ;extension=php_gmp.dll
    . b) P0 B! s2 t/ w: @2 [
  884. ;extension=php_intl.dll! j# G- n: `8 U* }# ?% T) C9 d
  885. ;extension=php_imap.dll
    / @) @9 {* c% P+ @5 _% p. q
  886. ;extension=php_interbase.dll1 X0 ]; [+ h  H: L2 {
  887. ;extension=php_ldap.dll8 I: g, _( ^' A- {* Z! Q8 q
  888. ;extension=php_mbstring.dll
    # P9 r' J0 }3 F8 Z+ y( q
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    . t& T9 G, O& x
  890. ;extension=php_mysqli.dll
    ( M$ r( P9 v# ]' m* @/ K
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    : j6 ^! E1 D+ w6 E. y, R1 ^* ^
  892. ;extension=php_openssl.dll3 [( T, c# z! m3 S+ F
  893. ;extension=php_pdo_firebird.dll: l, w6 J9 s7 x( P
  894. ;extension=php_pdo_mysql.dll
    ! e4 @" l9 x6 I% J4 a$ c2 @
  895. ;extension=php_pdo_oci.dll# s' h# g# _4 e: w( `
  896. ;extension=php_pdo_odbc.dll
    , J. \" c- G) b  X; P+ m5 S
  897. ;extension=php_pdo_pgsql.dll
    2 ~  d3 ?& O9 j
  898. ;extension=php_pdo_sqlite.dll7 p& ~: p' k5 \$ O6 e0 p: ~( {
  899. ;extension=php_pgsql.dll1 G5 q2 K+ S  B1 v, d- Z
  900. ;extension=php_shmop.dll
    $ y. @5 }: m; ]- G

  901. 2 R& k" Y+ e0 @6 Y' `* F3 g& J( j
  902. ; The MIBS data available in the PHP distribution must be installed.
    $ p8 K, A3 n9 ?' A. d& s  Z
  903. ; See http://www.php.net/manual/en/snmp.installation.php8 O) x6 Q: C7 s+ ]" k& v* V
  904. ;extension=php_snmp.dll# Y! ?, K2 W3 {4 g. i
  905. 1 [9 f$ y2 l  _
  906. ;extension=php_soap.dll1 Q7 }* f/ V# M! a
  907. ;extension=php_sockets.dll
    - V3 P4 m! R4 T- A
  908. ;extension=php_sqlite3.dll6 M8 f* d. x" L  k! R
  909. ;extension=php_tidy.dll+ n& r7 X7 ~/ ?4 g; G$ l3 g7 K0 I+ M
  910. ;extension=php_xmlrpc.dll
    6 a3 s$ T3 N' v) s8 w& T: o$ ]" Y
  911. ;extension=php_xsl.dll
      W8 p, j$ r1 M  J

  912. / Y# V7 ~% h7 Y+ r$ ^$ d
  913. ;;;;;;;;;;;;;;;;;;;4 c3 \0 I( g& t; ~* G2 {
  914. ; Module Settings ;1 T3 \" F; _* V
  915. ;;;;;;;;;;;;;;;;;;;% e7 q3 l, G( q1 g# d- T

  916. " i2 v# e6 X$ D2 ]: ^
  917. [CLI Server]
    ' m6 p9 U6 _' P+ I. T8 @
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    " g$ K) R1 M% A/ w
  919. cli_server.color = On# `8 p- l+ Z6 i  T1 D
  920. - k' u. w# h1 D" ]' n- G' Q# m1 G! U
  921. [Date]
    & ?9 O% w; k$ @# ?
  922. ; Defines the default timezone used by the date functions
    . B) t$ K, N$ _  B
  923. ; http://php.net/date.timezone6 m  q8 w" B4 ?0 e
  924. date.timezone = PRC
    5 y$ r# J' F& q/ [3 b; G" v8 {/ F

  925. & x. y- I/ \' z" s; i
  926. ; http://php.net/date.default-latitude9 a# T1 X# t$ |% E9 t5 Z
  927. ;date.default_latitude = 31.7667
    - T+ L3 ]3 m+ T1 W% u* u& X

  928. : `3 o7 V& S; c+ l' F, r
  929. ; http://php.net/date.default-longitude, R+ N1 _# X& _4 {: }2 W1 X1 j$ s
  930. ;date.default_longitude = 35.2333, j9 X) H  Y% ]* I# @

  931. . A; X" U( t. |0 U% @
  932. ; http://php.net/date.sunrise-zenith" R% Z: L6 s1 B0 y: ~3 }: ?
  933. ;date.sunrise_zenith = 90.583333
    ! M) C* i7 P9 W' ^' W# O7 w
  934. 7 x% X! b. A  S, X  C
  935. ; http://php.net/date.sunset-zenith
    : G3 w- S) D2 J8 t0 K* g
  936. ;date.sunset_zenith = 90.583333" x- l& O! V% ^1 y
  937. 2 T, e  k2 G! b: K. A, O
  938. [filter]
    ! I6 V- K$ q$ H- [
  939. ; http://php.net/filter.default4 u2 e! n7 E7 _% B# O! H
  940. ;filter.default = unsafe_raw
    & z' F4 r* e& o5 M: o

  941. / G# }6 O" T( I8 ^
  942. ; http://php.net/filter.default-flags
    . d9 `' ]' {3 x! _: \% l
  943. ;filter.default_flags =
      I: o& \( P: e& A/ y  V

  944. 9 L+ ^& k: Q) [0 O/ l" N6 ]
  945. [iconv]
      u. {, G6 z" H, z. @
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    9 I4 V/ F5 q% w* g# |7 X# w
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.% d# r: s2 Y" K1 S% J5 c# r
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
      ], U# q  f* L" d8 d
  949. ;iconv.input_encoding =: k  m1 t$ {  m" T5 K/ `% M' }

  950. 0 V9 r" m8 v: n! w9 G$ m' G
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.. y/ y5 G4 z; x( P4 L
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used./ K" J8 F. P( ^3 y" i+ P
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding0 m8 F  `2 {4 x0 {/ {
  954. ;iconv.internal_encoding =
    2 ]! b  X$ d' a2 H

  955. . F; t& Y0 ^3 u5 W6 m$ @9 q/ \; j  ?. v# J
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.: m* k1 j2 T) c0 ^7 H! ^/ k$ n( r
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    + ]$ f) y+ C7 H$ Z: k4 C$ d$ l+ s
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding5 \1 R, h: M! O0 G! }- n0 Z6 Q
  959. ; To use an output encoding conversion, iconv's output handler must be set4 p! N6 ?: E1 B9 q$ r
  960. ; otherwise output encoding conversion cannot be performed.
    6 `. ^( T8 b2 s' A" S. Q. f! g, ]" T, l* U
  961. ;iconv.output_encoding =; V7 k0 {. W0 y7 ]9 f

  962. 0 n# P1 h9 R, y) p
  963. [intl]
    ( ?, O1 u8 H2 D# y# t/ p# S9 K; K$ s4 A
  964. ;intl.default_locale =
    # |/ u) }) f( r% n7 _9 M7 G
  965. ; This directive allows you to produce PHP errors when some error# n. t' z2 Y% w6 p( e
  966. ; happens within intl functions. The value is the level of the error produced.
    ' g5 {0 S; L( J. X5 o5 K" ]
  967. ; Default is 0, which does not produce any errors.8 B6 p! R0 d+ z( a3 X
  968. ;intl.error_level = E_WARNING" }/ ?7 r! }3 z4 `: ~" C( \
  969. ;intl.use_exceptions = 0
    - @" a! F& l5 G( w5 ?2 G
  970. 3 Z  J8 B5 x  ]; R" |
  971. [sqlite3]/ H5 [  b3 Q* ?* Y* d7 A+ k
  972. ;sqlite3.extension_dir =
    ; x$ w/ z& G/ g: u+ r- i
  973. : @% B5 m0 D' H, l
  974. [Pcre]
    $ j: T- L8 m( m8 p$ Q
  975. ;PCRE library backtracking limit./ x5 J" y2 b+ R$ J4 |9 `
  976. ; http://php.net/pcre.backtrack-limit
    + E4 m& A' R+ w0 _4 `$ h
  977. ;pcre.backtrack_limit=100000. ]( }- T+ m  @3 m5 t& f7 j, a

  978. # X  w1 @9 H  [9 R
  979. ;PCRE library recursion limit.$ C6 q: ^) x* c1 F$ t
  980. ;Please note that if you set this value to a high number you may consume all
    4 o6 b6 _$ y, G: J( ~
  981. ;the available process stack and eventually crash PHP (due to reaching the
    : [, |, m5 O) [4 K" b- b' t
  982. ;stack size limit imposed by the Operating System).0 I% F# ]5 Q* P5 M  \, W
  983. ; http://php.net/pcre.recursion-limit
    1 P5 E  D7 |2 X6 t! z; a5 l; M
  984. ;pcre.recursion_limit=100000
    * ~& _' Y* o' y6 W' e

  985. 8 C+ T8 ]$ }7 h
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE# a/ d  I$ f: }6 z  }6 m. X
  987. ;library to be compiled with JIT support.& v( Y! j5 H) L$ A# _7 q$ c
  988. ;pcre.jit=1) }0 c5 |; I  k: |
  989. 1 ]% r" F0 X& g* D) v4 g
  990. [Pdo]( m  A6 g8 C& g. T" v) o: I
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off". k2 J' z  a! c. v( O0 t/ E: f" ~
  992. ; http://php.net/pdo-odbc.connection-pooling9 u4 k2 }( u- f4 M# l1 H
  993. ;pdo_odbc.connection_pooling=strict7 |: q3 m* Q+ r$ f
  994. : V  `) X6 h- L2 H( o
  995. ;pdo_odbc.db2_instance_name
    $ l* I* z- x( r0 ~. p( O

  996. 9 F( e, P$ |6 P7 j3 d8 ^3 F8 H
  997. [Pdo_mysql]
    $ ^0 R. c. p3 V6 e3 d* C' Z! [
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
      k% |0 u1 k4 D, U6 _
  999. ; http://php.net/pdo_mysql.cache_size
    + D5 q( B$ ?) R% P, Z( F3 W) w
  1000. pdo_mysql.cache_size = 2000, _' A1 g/ N. X0 J. K
  1001. 1 C4 k" S, E7 ]! z& z
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    ; z3 L! r$ \/ k: y* r' R
  1003. ; MySQL defaults.
    ( b5 N1 i0 H- t" E0 p* `/ d
  1004. ; http://php.net/pdo_mysql.default-socket
    + n( J- X+ m2 a7 k" N9 {4 P; k
  1005. pdo_mysql.default_socket=
    " m* U9 e. P0 B! [" s) Z- |
  1006. 0 Z5 q" V+ t8 e6 [2 G
  1007. [Phar]
    * [8 z6 @& K/ r* ^
  1008. ; http://php.net/phar.readonly
    % S$ p7 t; D1 h) B# _
  1009. ;phar.readonly = On
      a* M2 G# p5 Z5 L

  1010. . b0 p+ a, a; V& [5 ^6 E
  1011. ; http://php.net/phar.require-hash7 \  d* S$ k: z" b2 ]' _
  1012. ;phar.require_hash = On0 ]: f2 ?5 I8 s9 }! x/ w3 s5 T+ m

  1013. & _& u" J% N# c' q: U
  1014. ;phar.cache_list =
    % X; {- p" S' g# N# B
  1015. # @2 ]2 a3 ^- k
  1016. [mail function]! j8 N; b" H& Q2 s" F# p
  1017. ; For Win32 only.
    6 P$ O! x6 I  Q" o2 \
  1018. ; http://php.net/smtp! t7 B+ H( _4 R. g2 A
  1019. SMTP = localhost$ T; m* o! B3 C/ S9 B# H
  1020. ; http://php.net/smtp-port
    ; ?0 S3 Y7 s( N1 h& W
  1021. smtp_port = 257 R. T9 I% a$ q% @

  1022. 2 K, i6 G  }! m* Y
  1023. ; For Win32 only.
    9 `/ N, F8 Q9 q6 m' M: S3 h8 o
  1024. ; http://php.net/sendmail-from* {2 k$ P. T$ J  V- f
  1025. ;sendmail_from = me@example.com
      r) T1 t! @9 E
  1026. 2 Y: R9 v. ~, ^- ?; C) ?
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    . Q' X6 Z" `4 a
  1028. ; http://php.net/sendmail-path- a2 G9 q1 m% Y; u* u) m
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    $ z6 ~( r# Z) R) C2 i

  1030. * f' ]+ N+ Y5 Q% t* K" b8 y* W( `
  1031. ; Force the addition of the specified parameters to be passed as extra parameters& z6 h7 h$ S* ^! G( K* u4 z1 P0 [* {' m' f
  1032. ; to the sendmail binary. These parameters will always replace the value of
    9 i$ q% O. G' S7 ^( N4 J; g( }; u
  1033. ; the 5th parameter to mail().
    ; M% u  G' c: g5 D
  1034. ;mail.force_extra_parameters =
    $ I% M; k2 w8 x8 Z+ u

  1035. 6 q3 A- W5 }3 m' V; q# H1 V
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    . Q+ h0 _3 q6 m
  1037. mail.add_x_header = On
    - c- a+ ]' y# A/ Y, i9 N

  1038. + ?( X! ]+ f+ P% d  b
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    ' ^# x. _3 j; G. `/ p% U( }: t
  1040. ; the full path of the script, line number, To address and headers.
    2 Y- F8 E8 T. k' @8 S2 P
  1041. ;mail.log =
    9 c3 C9 d& L% o3 E3 E$ G7 ]+ P
  1042. ; Log mail to syslog (Event Log on Windows).; X. a1 P( V- ^
  1043. ;mail.log = syslog$ t8 F5 w1 j! n  e6 ^$ Y
  1044. ; u& ^5 `9 o/ J! g' f7 a
  1045. [SQL]
    + b. l$ S- y% X  G7 x
  1046. ; http://php.net/sql.safe-mode8 }7 Z: k" h* L  k+ r
  1047. sql.safe_mode = Off
    2 b4 ^5 L! G4 y1 A, N9 }
  1048. 8 t& [; w5 ~+ t% x6 O* T7 e5 @, [
  1049. [ODBC]. Y$ B# p4 I+ O* z. B% x' @
  1050. ; http://php.net/odbc.default-db( I+ a6 m& z5 N7 q. A( g6 P
  1051. ;odbc.default_db    =  Not yet implemented
    . u, x- K1 G; Y- e9 W

  1052. 4 F7 v$ Q8 g* u$ y- Z+ b5 N
  1053. ; http://php.net/odbc.default-user# Z, r& ~2 g- E) g
  1054. ;odbc.default_user  =  Not yet implemented
    1 E' Q( \, E( ?/ m
  1055. ( c) ^* C( h  a6 P
  1056. ; http://php.net/odbc.default-pw
    : l/ ~# W9 H; a6 C( b
  1057. ;odbc.default_pw    =  Not yet implemented) o$ H7 z$ G6 I0 L0 G2 V: F

  1058. 2 ?+ }4 m7 E9 q0 f2 t* [7 r3 u& d
  1059. ; Controls the ODBC cursor model.; w% B. ^& v/ U2 B
  1060. ; Default: SQL_CURSOR_STATIC (default).3 p' ?& g! y' _6 a7 Z
  1061. ;odbc.default_cursortype
    0 p' p4 x0 s' Z, s1 w
  1062. . V# z$ b! f1 A+ q! _. i
  1063. ; Allow or prevent persistent links.! u# V; [$ |) X0 O( w5 U/ R5 ?
  1064. ; http://php.net/odbc.allow-persistent$ \; }- M; r9 H) M' t
  1065. odbc.allow_persistent = On
    2 b" u6 v8 k3 i5 O+ q+ O4 x- k

  1066. ) c8 m7 ?5 s6 q9 w
  1067. ; Check that a connection is still valid before reuse.
    6 [1 o$ g4 M1 o
  1068. ; http://php.net/odbc.check-persistent" b4 H  ]4 D$ O/ _8 `; ^/ V# v# J8 `
  1069. odbc.check_persistent = On  ]3 Q. K' V; |7 C3 d9 k
  1070. " g* I' D. {5 x0 c! ~4 J! c/ u4 {
  1071. ; Maximum number of persistent links.  -1 means no limit.
    3 ~1 R3 @2 O6 s
  1072. ; http://php.net/odbc.max-persistent
    ; d* S* U$ ]2 c; f
  1073. odbc.max_persistent = -1
    ' b8 w" s) R* D2 R/ a5 Y; t( `
  1074. - y$ i! A' G2 h  c. E9 t
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ( R& E( d1 H4 G% G* u- D- o6 z  C
  1076. ; http://php.net/odbc.max-links( }- Z. ~$ r( T) p7 j0 @
  1077. odbc.max_links = -18 |. @6 w. Y# W6 Q3 e# U
  1078. 0 `8 Z" t7 e. S
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    9 w1 @. }  N  |/ J5 [* O+ a4 X
  1080. ; passthru.
    7 x1 H, J4 L! }2 k" ]) X9 K
  1081. ; http://php.net/odbc.defaultlrl+ y  a4 n6 h0 n4 ~* K2 D
  1082. odbc.defaultlrl = 40962 A) N' e8 [% w8 w
  1083. + H: W5 n$ c% G6 g) I% ?
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    " D: P* j1 r/ W  H9 ^5 u% T8 q
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation+ s- t- f; u* r( Y4 j+ D
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    0 h2 ?& V# g3 c. [% Q
  1087. ; http://php.net/odbc.defaultbinmode( p) q1 f' ~4 |7 t& h( H9 `; e
  1088. odbc.defaultbinmode = 1' }8 P7 k) k; k2 O$ j% r& j# d

  1089. : X0 }: [1 T& f; x! t
  1090. ;birdstep.max_links = -1
    3 {6 X! R: y8 _7 N2 s" }8 ]% e9 E
  1091. % h' b8 q. t: s$ m" V
  1092. [Interbase]/ U5 _' L% B5 G4 q
  1093. ; Allow or prevent persistent links.1 u$ f* m6 F$ y9 h- ^, f
  1094. ibase.allow_persistent = 1. a( h  E6 ?; c0 D4 i8 W3 [
  1095. / B/ a3 ]8 x7 `' {. w% Y$ y
  1096. ; Maximum number of persistent links.  -1 means no limit.
    / n6 C" `: y+ i' W, a0 m# r# X" t
  1097. ibase.max_persistent = -1
      }3 T  V& u2 B; ~; x! J

  1098. 5 \% a, X3 k  O2 r; }' ]) G0 A2 c
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.7 P1 f) u) r% {1 N. S; O6 a
  1100. ibase.max_links = -1
    ; o, [" Y' a( A

  1101. ; \, W' |4 ]! G5 C  ]
  1102. ; Default database name for ibase_connect().# Y" {" w5 s! _" r
  1103. ;ibase.default_db =0 ]7 ~# ^, n: L7 t! j
  1104. 8 u) ?9 r+ p. }3 ]7 d0 U; ]2 a
  1105. ; Default username for ibase_connect().% @, E% V+ s5 F; u) \3 b) o9 Z
  1106. ;ibase.default_user =! a& D: ~& l" C# v) U
  1107. . L6 i1 J7 q, b' X8 h
  1108. ; Default password for ibase_connect().
    1 ?% q* \; N( `
  1109. ;ibase.default_password =
    / j$ E9 \* x# q8 v9 l: n3 P

  1110.   W3 h4 v9 A3 B4 Y4 V8 E
  1111. ; Default charset for ibase_connect().
    . |; d% U( H, Q, S8 ~4 a
  1112. ;ibase.default_charset =
    0 V+ D0 n2 Y% K
  1113. 4 K5 N5 c: _4 k5 m) h0 V4 G
  1114. ; Default timestamp format.
      `2 ]. g, h* t; |8 A, h  O0 t
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    % E7 X3 |# ~7 E' O) w! G. S
  1116. & C* h0 J# A0 B
  1117. ; Default date format.3 G3 z9 Y2 Y4 j$ S; }9 L" A
  1118. ibase.dateformat = "%Y-%m-%d"! L7 y4 @  h0 K. l3 J+ F5 n

  1119. ( }' T4 }; e0 s% N+ Q* h* ]
  1120. ; Default time format./ g' S$ w7 u) g0 |4 w
  1121. ibase.timeformat = "%H:%M:%S"
    5 T0 k) A$ X% L

  1122. 7 a; j( X. z5 ]$ {& w* d- n
  1123. [MySQLi]# N5 L  i( c. `. K) V
  1124. ! d5 D/ J; V! u" E  E1 I
  1125. ; Maximum number of persistent links.  -1 means no limit.
    ! X+ q7 Y- c$ q; M) U
  1126. ; http://php.net/mysqli.max-persistent
    ' _6 u; c& [3 z8 D: v2 L- d
  1127. mysqli.max_persistent = -19 ^$ N/ r$ o2 c

  1128. , g" m2 G: S: s, W& o
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    - F+ \5 u* t% J0 A1 D
  1130. ; http://php.net/mysqli.allow_local_infile
    & C( ]# `- M. `, g8 E/ d+ {' ]: Z+ _
  1131. ;mysqli.allow_local_infile = On; {# j: J1 ?2 [8 S1 f0 n) v
  1132. " b5 Y8 f8 \3 C+ z
  1133. ; Allow or prevent persistent links.
    " o1 X! E& j$ x0 J
  1134. ; http://php.net/mysqli.allow-persistent
    % K9 `% V# [+ V
  1135. mysqli.allow_persistent = On
    6 t( V7 y( I! j7 B+ m$ \
  1136. + l) d8 X4 c2 F& y
  1137. ; Maximum number of links.  -1 means no limit.# [5 G. y* q3 ?4 l% U% ]
  1138. ; http://php.net/mysqli.max-links
    7 {; m+ ?9 y& T3 v# Z% Y
  1139. mysqli.max_links = -1
    / ^/ \7 S# ^" O5 ^- {/ T: r5 G: I
  1140. 5 B2 v, J$ x3 O# W, k" Y3 J, O
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
      q) x) Y7 L$ g% K8 O
  1142. ; http://php.net/mysqli.cache_size
    % H# K9 k; Y" @9 R
  1143. mysqli.cache_size = 2000
    9 D( H/ g0 T8 I4 a
  1144. 4 g% U/ o' y$ `" S: e, f. k% f' s- z
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use  E4 w( Y  \% ~, P. t" N
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the2 @* ]" e: t6 x) L. Q) E
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look: y' j6 q4 n: X. i4 b
  1148. ; at MYSQL_PORT.4 p; ]3 t3 ?1 E3 ^. M
  1149. ; http://php.net/mysqli.default-port
    : e. g1 u+ G( k
  1150. mysqli.default_port = 3306
    . T# m) d! \* ?1 R0 T

  1151. , A5 O( z5 l$ v: G! w" ?: j
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
      [& C$ u  M' c+ ~4 L
  1153. ; MySQL defaults.. R& ~& m& n$ F6 ]
  1154. ; http://php.net/mysqli.default-socket8 S7 }, C: G0 G. ]! Q, @$ H5 l
  1155. mysqli.default_socket =
    1 T  x' D: K$ [- y

  1156. 2 x3 Q' v! ]# G, J; q, w/ O
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    8 ~& r) s3 z0 N' t
  1158. ; http://php.net/mysqli.default-host
    4 o4 U, m: v3 Q8 s1 C/ S( C
  1159. mysqli.default_host =/ M" x. J# K8 Z! L5 I7 U% I
  1160. + A) c# c& |& F; @2 z2 k3 B
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode)., Y% d" u) x$ E. V$ {
  1162. ; http://php.net/mysqli.default-user
    - q& l' l' [# f
  1163. mysqli.default_user =
    % g( @4 g( y+ X% B
  1164. ' @* b9 l6 O2 X) m$ ^
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode)./ q% ]3 ^# s/ u# Y2 [3 ?7 }4 o
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.: Q9 a. q. f/ m- F6 m" N" r2 d' {4 h0 L
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    9 ]6 a/ m+ I5 r
  1168. ; and reveal this password!  And of course, any users with read access to this/ [- ?7 q1 ^: z9 a, c. D/ \
  1169. ; file will be able to reveal the password as well.
    ! p5 f7 \' t+ B" N
  1170. ; http://php.net/mysqli.default-pw
    1 J6 V) d: c+ Y) k, Q
  1171. mysqli.default_pw =$ B' S: m( g" x  S
  1172. / B7 s3 _& y! m$ ^) Z5 }
  1173. ; Allow or prevent reconnect$ S' k# ~  ~0 ~
  1174. mysqli.reconnect = Off
    . p  E! C+ i- [3 w+ W1 N3 o

  1175. " A2 E; L% {) E9 S: I; {2 _9 C
  1176. [mysqlnd]! w) B2 l' ?& g/ J7 C
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be3 h/ p9 x. S# {( l; d0 R9 p
  1178. ; used to tune and monitor MySQL operations.7 O: {( E* h! l8 p, U  V8 u
  1179. ; http://php.net/mysqlnd.collect_statistics8 |6 n) D, f7 G
  1180. mysqlnd.collect_statistics = On
    4 T& S0 K9 f1 J3 y  Y8 _. V
  1181. 2 a/ ~' C5 H# A" q" G* }
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    . ^) z3 M/ c7 ~! z1 k
  1183. ; used to tune and monitor MySQL operations.% U( q1 c6 m7 ?1 g' Q9 U5 t
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    " b. Z7 p& q( T/ I
  1185. mysqlnd.collect_memory_statistics = Off
    : m3 N  f6 S# b$ z) `  ]6 H+ d
  1186. 6 Z+ G+ S+ u# o2 V* i+ F2 |8 P
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    2 c8 u. x8 b$ w7 _4 S
  1188. ; file.
    + i# m9 P7 l1 n% o& ^* T# S8 B
  1189. ; http://php.net/mysqlnd.debug
    : I5 G$ I% c3 x$ r9 `: \
  1190. ;mysqlnd.debug =$ h6 {/ X8 T9 G
  1191. $ U# y, i' L" ^, n# e" t4 c. {
  1192. ; Defines which queries will be logged.1 X( A/ Z$ Y" }- v* M/ P1 Y
  1193. ; http://php.net/mysqlnd.log_mask1 ^- C# S$ X9 q
  1194. ;mysqlnd.log_mask = 0) j  h( e$ }+ f
  1195. ) o2 d- l9 H, _
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.1 }2 Q% |" [$ E7 u, W
  1197. ; http://php.net/mysqlnd.mempool_default_size
    * `# f- c8 |# Z* \7 X7 L$ L: V) O
  1198. ;mysqlnd.mempool_default_size = 16000
    5 M: p- r9 h6 ~# M

  1199. , e% t& T" x* t6 P' v/ x$ K, p
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.# Z! Q, i( \! @
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size1 J( }8 \5 C6 e$ f# V- z
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    1 ]) Q" T2 Z2 O0 C4 w# B% j' [

  1203. ; g. O4 e* A+ J& L& B% i
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in+ z5 ~6 t4 L( E; p% g# S
  1205. ; bytes.5 x0 y8 l1 C0 X5 }1 y# ]* Q  D$ |
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    7 @1 h, n( V4 i9 F
  1207. ;mysqlnd.net_read_buffer_size = 32768
    / B, G, ]: ^3 y
  1208. $ T8 \* L0 S9 H! B( |9 g
  1209. ; Timeout for network requests in seconds.
    . C) g. y7 a2 Y2 R* U/ b+ ~+ q( u( z
  1210. ; http://php.net/mysqlnd.net_read_timeout) W- P* D, n5 O# E; k
  1211. ;mysqlnd.net_read_timeout = 31536000
      U1 m& A& i5 @  c$ F1 h) o
  1212. $ s3 }7 A5 v$ }! K# M. H  n6 W
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA# L% h9 h: `( O- \# }1 X$ c0 R! w2 P; G
  1214. ; key.+ t, A) Q9 v1 f$ H- s5 p$ \
  1215. ; http://php.net/mysqlnd.sha256_server_public_key! Q& q( Y7 n: C
  1216. ;mysqlnd.sha256_server_public_key =9 H. P0 g0 l1 ^) C3 s. l3 S

  1217. $ k: j  O! _7 O
  1218. [OCI8]+ R8 f! r5 J2 F' }  p

  1219. ' l& W4 N6 a7 H1 S2 Z2 s
  1220. ; Connection: Enables privileged connections using external
    $ t' j9 o8 v5 G  |/ @
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    % z: E8 |3 L- O# `1 Z
  1222. ; http://php.net/oci8.privileged-connect
    ; r, L$ h( g/ A
  1223. ;oci8.privileged_connect = Off7 ~( L2 R8 S7 V! G% o7 d

  1224. - O: C* S; E6 l% }6 ?
  1225. ; Connection: The maximum number of persistent OCI8 connections per, c! Q$ T& {7 w- G; C% H& S
  1226. ; process. Using -1 means no limit.8 E8 g/ T/ L: w1 [% J7 N: @& k
  1227. ; http://php.net/oci8.max-persistent4 f% F. U2 k- M7 @$ {5 h" w
  1228. ;oci8.max_persistent = -1
    2 H" y. b/ z+ P/ W- e4 \' ]) m
  1229. 9 r" w' X( [" N  V7 a
  1230. ; Connection: The maximum number of seconds a process is allowed to
    1 ]: F! C+ s. A2 y' r: g
  1231. ; maintain an idle persistent connection. Using -1 means idle" ]- a% J# p* V6 Y# p1 O
  1232. ; persistent connections will be maintained forever.
    ) j/ D' h' R* f/ ]8 l
  1233. ; http://php.net/oci8.persistent-timeout
    " a- ?. D# J7 \& \
  1234. ;oci8.persistent_timeout = -1
    ! r: T3 _8 s. i* O- `/ V4 @

  1235. 4 D( A/ A# U0 l- ?2 ~& v
  1236. ; Connection: The number of seconds that must pass before issuing a: V3 Q( p; L/ k; O# D8 v( h& `
  1237. ; ping during oci_pconnect() to check the connection validity. When
    # Z! y- R' H9 c
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables& ?# u1 }" I7 `6 m  j' D
  1239. ; pings completely.
    ) q! `  N' x$ Y+ a
  1240. ; http://php.net/oci8.ping-interval
    0 `- U6 P& n; o( K9 y* O
  1241. ;oci8.ping_interval = 60
    9 }& g0 W9 C9 S5 n- p
  1242. 0 Y5 m9 i; K/ |, k9 _/ \5 O9 a: J
  1243. ; Connection: Set this to a user chosen connection class to be used7 x3 |# Y% c& U3 ?! Q
  1244. ; for all pooled server requests with Oracle 11g Database Resident7 B7 Y7 `: E7 q' [: N8 L
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    0 J4 a' w3 I; W
  1246. ; the same string for all web servers running the same application,+ w% I  h+ }/ x1 |
  1247. ; the database pool must be configured, and the connection string must8 l/ d% k. O7 V$ O0 R
  1248. ; specify to use a pooled server.
    ! z3 V: J$ g- u% Q: J+ B5 L2 |
  1249. ;oci8.connection_class =; B; U: Z1 f# M, \; g& n
  1250. , f5 D, N& ?: f8 Z& @
  1251. ; High Availability: Using On lets PHP receive Fast Application0 Q2 }" S5 U+ q5 @
  1252. ; Notification (FAN) events generated when a database node fails. The
    , M) \! W6 N# L$ @. u9 m. w0 g
  1253. ; database must also be configured to post FAN events.
    ( I, @5 w: [: h4 r6 m" ]
  1254. ;oci8.events = Off
    " a! c8 H6 z; C+ o) P. q

  1255. - ?$ M$ k9 V. U' o) Q5 s
  1256. ; Tuning: This option enables statement caching, and specifies how
    1 Y0 o* L' n6 A% |0 R: N
  1257. ; many statements to cache. Using 0 disables statement caching.9 K1 }, {% Y0 c/ L" E* R
  1258. ; http://php.net/oci8.statement-cache-size
    + t9 E( v* g" F* E2 m' ?
  1259. ;oci8.statement_cache_size = 20
    - A1 |# |, x. n0 \

  1260. 0 c. n+ E  u) ]% q6 W* E
  1261. ; Tuning: Enables statement prefetching and sets the default number of$ I7 R1 F6 A! I3 o! v0 |
  1262. ; rows that will be fetched automatically after statement execution.( a& n# w! l5 X. |) U
  1263. ; http://php.net/oci8.default-prefetch4 ?0 V! J8 V0 m0 ~7 ?, j
  1264. ;oci8.default_prefetch = 100
    2 W$ q3 R8 H) q( z; n  o
  1265. / s* i0 M& l/ D& s3 s
  1266. ; Compatibility. Using On means oci_close() will not close/ j0 D' K! h' t, x  |9 M( t2 p2 H
  1267. ; oci_connect() and oci_new_connect() connections.
    1 u9 r& z' v/ a" _# H5 {! |' z9 i
  1268. ; http://php.net/oci8.old-oci-close-semantics7 k) J: l& ~6 I! N4 ~
  1269. ;oci8.old_oci_close_semantics = Off
    6 l4 C! J. ?& n( p. q
  1270. * `/ H$ [* @2 J  @( X  z) T7 u5 l
  1271. [PostgreSQL]
    1 e, I4 @+ Z/ B$ \+ z* m; b, K
  1272. ; Allow or prevent persistent links." Z3 L% G$ J: \" r- P
  1273. ; http://php.net/pgsql.allow-persistent3 e7 [9 M: g9 W( \/ q$ `! x* l
  1274. pgsql.allow_persistent = On
    6 ~! t& a1 y; {$ B, s6 ?5 |

  1275. + T5 }  V5 h: h% I; A
  1276. ; Detect broken persistent links always with pg_pconnect().8 C4 ~; ^% f) v4 x  X5 e7 ]
  1277. ; Auto reset feature requires a little overheads.
    ! H+ C! W& ?3 K$ W
  1278. ; http://php.net/pgsql.auto-reset-persistent
    . I9 y8 {" T* A
  1279. pgsql.auto_reset_persistent = Off
    + B1 U2 l  e1 b6 w7 g
  1280. $ X! |/ ~$ `& V. H0 W* K) o- D
  1281. ; Maximum number of persistent links.  -1 means no limit.
    7 O9 c/ c/ v! h) J' s
  1282. ; http://php.net/pgsql.max-persistent' U4 i; X9 _% y3 W
  1283. pgsql.max_persistent = -1
    ; i8 O& {0 |7 g
  1284. ' J% \: y" f' L4 n
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    ' ~! p* S/ c* t& J
  1286. ; http://php.net/pgsql.max-links& S% q4 M" m! |" V' {
  1287. pgsql.max_links = -1
    5 F8 Q# \6 P* |. k' v

  1288. * D4 t' m6 q" ?: C4 d% D1 j
  1289. ; Ignore PostgreSQL backends Notice message or not.! r1 |2 w. x0 H( h. r
  1290. ; Notice message logging require a little overheads.( ~! H) ^3 o; I# @8 P% O  E
  1291. ; http://php.net/pgsql.ignore-notice
    ( d0 g5 m9 r' |% z* V
  1292. pgsql.ignore_notice = 0
    , |6 ~/ Z# y3 H$ o9 S; ~* W

  1293. 5 B  H6 Y: ~' v7 T  b
  1294. ; Log PostgreSQL backends Notice message or not.
    2 S3 w8 n- d' r3 f2 M
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.) l4 E6 E$ _# O
  1296. ; http://php.net/pgsql.log-notice
    # o: e' m4 _3 s' g' S
  1297. pgsql.log_notice = 0# [! v( I- w& j* q

  1298. - E/ w( A9 [- z0 ~6 R% E
  1299. [bcmath]
    # j' V8 [- q2 C& P2 c
  1300. ; Number of decimal digits for all bcmath functions.' K" \' W  i8 _' [# Q, ?2 X0 F
  1301. ; http://php.net/bcmath.scale
    2 |8 B  s8 y3 b; D! u
  1302. bcmath.scale = 0& j1 M0 j3 X  O1 N# z% `

  1303. ' H- V3 Y/ |6 ~
  1304. [browscap]
    % A1 o# [3 a0 J: b2 D, U# P
  1305. ; http://php.net/browscap( [' [" d7 S8 B6 v1 a8 G
  1306. ;browscap = extra/browscap.ini7 k- O# [- s, e  P
  1307. 1 q: B% b( u7 K
  1308. [Session]
    $ E8 f  d- V7 u+ B
  1309. ; Handler used to store/retrieve data.* L9 ?+ e6 w) f: W5 o9 ?1 F( |+ l
  1310. ; http://php.net/session.save-handler7 w" |! ~+ @& I" V$ e6 Y3 }
  1311. session.save_handler = files7 D* J$ ~, Z: P$ Z$ y# F% [; g
  1312. 6 j& R1 n3 d. N: |% X' e. F
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    & E* R! U* P& H% t
  1314. ; where data files are stored. Note: Windows users have to change this
    1 f# k4 i3 i. Q
  1315. ; variable in order to use PHP's session functions.
    ' t/ T) D) L3 e
  1316. ;' c' K  v4 @3 ?8 P
  1317. ; The path can be defined as:& z2 L$ E0 O" U. B# U' j
  1318. ;* M# A7 C# ~6 O# x- |/ M# B: c" e
  1319. ;     session.save_path = "N;/path"
    " @- L! W0 i% d3 D( E" D; g1 m
  1320. ;
    2 s# R; u( L- @, H
  1321. ; where N is an integer.  Instead of storing all the session files in
    0 p; c( |# d$ g9 M! d* e- p
  1322. ; /path, what this will do is use subdirectories N-levels deep, and1 E5 c  y  K7 g6 Y6 y: ]
  1323. ; store the session data in those directories.  This is useful if
    & O7 o& H4 Q( T0 i' f
  1324. ; your OS has problems with many files in one directory, and is) Q( Q" z: x. y
  1325. ; a more efficient layout for servers that handle many sessions.) {# [& M! K4 l0 o' E& \
  1326. ;
    4 k3 m% C% C. `4 h; V$ m
  1327. ; NOTE 1: PHP will not create this directory structure automatically.3 M/ h0 G" r1 [" W
  1328. ;         You can use the script in the ext/session dir for that purpose./ m) c' A% r* {/ n  d" |$ O; {9 I
  1329. ; NOTE 2: See the section on garbage collection below if you choose to
    ( {9 Q! n) O* X$ j
  1330. ;         use subdirectories for session storage
    7 C1 u; M" i( A8 {7 b: S
  1331. ;. R4 w+ D' |, i
  1332. ; The file storage module creates files using mode 600 by default.  q$ O  A) e. A" o- u
  1333. ; You can change that by using
    2 }5 J7 F$ \3 F& p# G- k
  1334. ;
    8 c! R1 q" r! [/ {
  1335. ;     session.save_path = "N;MODE;/path"9 X. }, p3 }5 ^! j. X& X3 ^/ j8 b
  1336. ;
    , A$ x4 Z4 \) o. d1 g0 g
  1337. ; where MODE is the octal representation of the mode. Note that this
      ~8 W, W& R' t  u' Z% D
  1338. ; does not overwrite the process's umask.
    7 Q, r: W0 ?, _, g
  1339. ; http://php.net/session.save-path
    ( T2 D- P# I; K$ A( T( M* b) C
  1340. ;session.save_path = "/tmp"
    7 u. A# B6 A' F3 C1 u
  1341. 2 P: i4 M* B% D; C8 d, k+ f+ S
  1342. ; Whether to use strict session mode.1 d2 t$ P! d/ h/ L/ Z
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate* M' b- I$ l8 r: m* n, G/ ]
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    9 m1 N2 }3 ]( m
  1345. ; applications from session fixation via session adoption vulnerability. It is
    " u/ ~  E4 `9 O  A* h, f- A
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    & y4 a' F$ K, R, I. d* [9 K
  1347. ; https://wiki.php.net/rfc/strict_sessions7 r, k5 ~; E  O3 i6 [
  1348. session.use_strict_mode = 0% ?2 f3 `3 }* T) O. [) k0 h4 c7 A8 ^! b2 {
  1349. % [8 p3 I% }$ T8 N
  1350. ; Whether to use cookies.
      l, w( ?8 p) P* L. `; d# m# b
  1351. ; http://php.net/session.use-cookies2 n/ {) q% W6 ~& `
  1352. session.use_cookies = 1
    6 M3 ^' X5 }. W* w+ K; l# k9 c
  1353. ' n& p7 h' W/ }& n
  1354. ; http://php.net/session.cookie-secure4 h# v, ~( q0 [3 ?5 F+ w
  1355. ;session.cookie_secure =
    ) p, W4 x- e6 h0 b
  1356. 4 }2 n+ @$ H) S( q
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining- e1 k1 \) i  j
  1358. ; the session id. We encourage this operation as it's very helpful in combating% U* B" {& P5 Q. N3 R% D2 p
  1359. ; session hijacking when not specifying and managing your own session id. It is3 |# H, ]  d4 W+ S8 y) v1 }, R
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    4 J7 _: o: h5 r, e
  1361. ; http://php.net/session.use-only-cookies
    * F( C& [: p$ U5 }$ |: h* p
  1362. session.use_only_cookies = 1" a* L5 j4 f1 v9 ~3 c  Q

  1363. ( j  Q! N* f; ?2 E3 K5 @, ^
  1364. ; Name of the session (used as cookie name).
    8 y7 d* K. \6 s3 `" M' N0 U' B
  1365. ; http://php.net/session.name/ B- ?" j* h) ]0 X) [5 s# s
  1366. session.name = PHPSESSID; l, p  e$ u! u. H& H- b/ g' p" L$ M

  1367. : S9 ?# F0 D6 Q+ X) N$ T: Q
  1368. ; Initialize session on request startup.
    ( L9 _8 Q! C% o) \) n" t, M, t
  1369. ; http://php.net/session.auto-start" _% Q- E! A8 w4 m- B$ Z) M
  1370. session.auto_start = 07 a& e( ~$ E0 S
  1371. $ C3 J. B' p. t% Y
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    2 Z$ _9 G, a( U6 }* o5 r2 ^  B+ U
  1373. ; http://php.net/session.cookie-lifetime
    * L( y, q6 Y6 V5 J
  1374. session.cookie_lifetime = 0
    4 `8 L4 t# s2 m& V9 c! y8 p, ^* {
  1375. ! {- q) n8 V! \+ f" Y
  1376. ; The path for which the cookie is valid.
    ; ^/ b7 s* n% ~0 ?, q! u, e
  1377. ; http://php.net/session.cookie-path4 \" W4 s; T; z1 T
  1378. session.cookie_path = /
    1 D5 m0 {6 F# s8 X2 L, L
  1379. & r8 N" n& _/ f3 c* r
  1380. ; The domain for which the cookie is valid.* `8 s- L# P- z/ c  M* r
  1381. ; http://php.net/session.cookie-domain
    2 t4 ]8 B+ r& E( a
  1382. session.cookie_domain =
    / `2 _  e+ Y5 `) h6 u  W% k
  1383. 1 r- l1 O5 r& B, n! w! z1 H
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.4 R& \  ^9 ]# ~
  1385. ; http://php.net/session.cookie-httponly% D( L. o2 ]! j/ v. p
  1386. session.cookie_httponly =
    / K  ?. s+ N  }4 i- t7 n

  1387. + y: E2 O! X, u2 A$ z( L2 E
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.8 f$ \( M. h" {9 M
  1389. ; http://php.net/session.serialize-handler5 Z: E  q0 Y! y0 b: \2 @/ L! x
  1390. session.serialize_handler = php
    - I, Y$ j, y+ P
  1391. 9 q, ?+ _( f4 J4 F+ q. R
  1392. ; Defines the probability that the 'garbage collection' process is started, l# x  i* |4 E7 i' o
  1393. ; on every session initialization. The probability is calculated by using* d3 ~/ w, N* n  S( p9 {
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator: c$ q7 H, H: W; u# I
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    5 B% b9 D" T4 `5 o! `0 I
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    4 C% n) v3 P: _1 S  `% i6 g
  1397. ; the gc will run on any give request.
    9 ]# m4 }  Y8 h( q$ o
  1398. ; Default Value: 1" c3 f) {* f, i6 L) v6 A% G* Z
  1399. ; Development Value: 1
    3 s4 g+ |+ m) K6 D, a
  1400. ; Production Value: 1
    ' J9 t6 D1 w$ ^4 u9 U& _1 _: F
  1401. ; http://php.net/session.gc-probability
    5 {9 S9 V( G/ Q# c4 ^
  1402. session.gc_probability = 1( z! @+ \+ e; Q5 i2 h8 c6 A* ?5 I

  1403. , n" l6 \* S0 p$ t4 f! J1 G
  1404. ; Defines the probability that the 'garbage collection' process is started on every9 k9 e* o8 I: C
  1405. ; session initialization. The probability is calculated by using the following equation:
    ' g. E* \0 E/ L( K6 q4 h
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    + ^# ~, ~  C( D0 M' v
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1; ~) n  @( r# d* ^' B& N
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    " q* h. x: ^# Y! j; D
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you$ J& a- }- t4 |! q/ |
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    3 M- c6 R$ Y* ]4 E+ H0 E; X( G
  1411. ; this is a more efficient approach.0 T6 k) M# E; i2 u
  1412. ; Default Value: 100
    9 [% H, b1 q# N9 d" K
  1413. ; Development Value: 1000
    % n6 l5 Y$ K* B8 @
  1414. ; Production Value: 10002 C# t, K4 t6 n1 c2 @
  1415. ; http://php.net/session.gc-divisor
    8 c7 [" w$ D  g/ w2 j! R3 Z& K; {
  1416. session.gc_divisor = 1000
    # G" |' g% j3 {3 E
  1417. 1 H1 ~+ o1 a4 t3 s. K
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    : y, O& F. t- T! i: J! @- f
  1419. ; cleaned up by the garbage collection process.* D* c6 H& e8 c& v# F+ q/ i4 E4 k
  1420. ; http://php.net/session.gc-maxlifetime$ C/ t6 C% a" g9 b1 z
  1421. session.gc_maxlifetime = 1440- T) G) {! z7 B* w8 S
  1422. 9 W/ K. Q; r# B+ T5 v
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    8 C* |- e" h# K) m" \8 j
  1424. ;       (see session.save_path above), then garbage collection does *not*( Y- K4 }# e# F! F0 `. {
  1425. ;       happen automatically.  You will need to do your own garbage
    1 I; P# h& D1 v# i" ?3 U
  1426. ;       collection through a shell script, cron entry, or some other method.
    ) E& i! _5 u1 x1 s' C! D
  1427. ;       For example, the following script would is the equivalent of
    9 ^9 C% ^! i0 R2 x  a
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    , G% x0 C& J- V0 S5 A
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    & ?# M( M/ K# Y/ M
  1430. 4 q3 m/ K7 {* @. C& E, d
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    - M& |' T7 @$ l5 X
  1432. ; HTTP_REFERER has to contain this substring for the session to be
      n6 q1 t! m1 l8 _- u
  1433. ; considered as valid.
    7 l% @$ c8 w0 D" O8 X* q
  1434. ; http://php.net/session.referer-check
    * U& u+ u1 q/ a7 B' n" B1 d- `6 d; a
  1435. session.referer_check =  Y* x) L" T1 _0 r7 Z8 }- S' ^0 R
  1436. 7 U4 D7 g' |/ k% W6 \7 L) r
  1437. ; How many bytes to read from the file.
    . D4 |$ u3 T5 Y9 f
  1438. ; http://php.net/session.entropy-length
    5 b5 c' C2 u! d# p2 j/ B
  1439. ;session.entropy_length = 32
    $ l) A* ~! T, L
  1440. # s# \  }: Z  H1 F
  1441. ; Specified here to create the session id.
    : r+ d- s) Z0 s3 z. D
  1442. ; http://php.net/session.entropy-file
    0 v& o0 U3 D) r3 w& K9 T
  1443. ; Defaults to /dev/urandom
    ' P) l7 O' [' J0 l/ D" @( @9 u% C
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom$ W0 h3 f/ X2 P4 X) c; {
  1445. ; If neither are found at compile time, the default is no entropy file.+ q- U) S3 T' Q$ j9 Q9 Q- Z
  1446. ; On windows, setting the entropy_length setting will activate the5 q- l" a2 w7 c1 x% J6 d0 V1 ~$ q
  1447. ; Windows random source (using the CryptoAPI)7 E7 e. s  @0 _2 X% x# E) ]
  1448. ;session.entropy_file = /dev/urandom* E7 t0 O! D+ {$ K+ w6 `
  1449. 6 Y1 e) m3 H) f2 O. N
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects6 O5 N8 h) y4 C+ p6 D
  1451. ; or leave this empty to avoid sending anti-caching headers.% q, a" g' u- u8 m# q+ I' ^/ g! {. F
  1452. ; http://php.net/session.cache-limiter
    / n, w8 t% \& g/ V" L, D& l
  1453. session.cache_limiter = nocache
    % U2 ~- r) g9 {2 D6 R
  1454. * ]: K& E1 Z/ j- C9 ~" C+ T/ O
  1455. ; Document expires after n minutes.' V- i, u/ J  q1 J6 l% k
  1456. ; http://php.net/session.cache-expire; n1 \, o2 V/ d1 ?
  1457. session.cache_expire = 180
    5 E7 v1 G) J3 X9 {7 |

  1458. - B) p; w/ n; M. X7 w
  1459. ; trans sid support is disabled by default.! a9 \! T+ p$ H* U) P. V1 E
  1460. ; Use of trans sid may risk your users' security.
    ) Q% N- C' s; j% j
  1461. ; Use this option with caution.
    : c/ U' l- c/ V
  1462. ; - User may send URL contains active session ID
    5 ?- p3 g. T3 `/ f- `5 L$ |( ~
  1463. ;   to other person via. email/irc/etc.0 B! i; S" ^! M5 z( q
  1464. ; - URL that contains active session ID may be stored* K4 e# X# v  T/ s! A$ A. J
  1465. ;   in publicly accessible computer.: r. X7 A0 Z! T; E8 e, P$ v
  1466. ; - User may access your site with the same session ID
    $ }. _4 D2 f* Q- q
  1467. ;   always using URL stored in browser's history or bookmarks.
    * k- l2 |1 W/ G' a4 H
  1468. ; http://php.net/session.use-trans-sid
    6 I0 F* I1 T% T5 u% i: ^1 A! r, ]
  1469. session.use_trans_sid = 0
    6 D9 B9 O7 ^# |) C# O* S

  1470. 3 |' I" o& [  M0 l3 h- `3 c- y( Q
  1471. ; Select a hash function for use in generating session ids.  I- f1 K7 }7 y. v; o
  1472. ; Possible Values1 o- L/ b5 Q4 K, O. `0 s
  1473. ;   0  (MD5 128 bits)5 r! ^5 u1 k$ ]9 O. w% H8 K
  1474. ;   1  (SHA-1 160 bits)
    & Z( X. c( W# D! s. g, ~* {3 o
  1475. ; This option may also be set to the name of any hash function supported by4 m9 j& Y& z3 G1 x6 i9 r
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    8 i3 }; m% w; u3 F
  1477. ; function.; p: w! ~% A) |2 n
  1478. ; http://php.net/session.hash-function
    - Y$ ^4 B! e! _8 w2 x9 X) f1 d
  1479. session.hash_function = 0! Y( Z: I: z0 w& D/ o
  1480. 6 E( e& J, {/ T; N
  1481. ; Define how many bits are stored in each character when converting& ?8 T$ M4 S0 {  B
  1482. ; the binary hash data to something readable.
    # Q, c3 {) e. ^# k, b: u8 ~( H
  1483. ; Possible values:% G: P: b1 \, e
  1484. ;   4  (4 bits: 0-9, a-f)0 w1 _; R# f4 l5 O  q3 M& S
  1485. ;   5  (5 bits: 0-9, a-v); z+ K& J; I0 i1 f, S
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")1 c% @% c/ {% v. w
  1487. ; Default Value: 4
      y/ y8 x# O* q. [" I
  1488. ; Development Value: 51 t" w# c9 w! z; H
  1489. ; Production Value: 5  x0 l5 i* F+ y2 u
  1490. ; http://php.net/session.hash-bits-per-character
    & ^$ B9 f. r: q+ B/ A$ B. p7 r
  1491. session.hash_bits_per_character = 50 [! ?+ |* p+ D% r$ H3 G

  1492. 5 C- e% U' w# H
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    ( K. k6 w) }* e5 Z* H- R
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    : |& _3 U' k+ L) z+ m0 A" T
  1495. ; add a hidden <input> field with the info which is otherwise appended! K+ s# G+ k7 q1 T
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.: W+ W5 T0 T. c
  1497. ; Note that all valid entries require a "=", even if no value follows.
    9 X( Z. w. n0 t) X" K
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset=". l; i/ `2 b# ^$ p& \! \
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"* V: @* s+ `; i8 `
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"% ^& R' {( g6 x1 u3 T
  1501. ; http://php.net/url-rewriter.tags
    $ v/ z+ y! y; {0 |
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    3 j, l3 Y" H4 d% h0 k

  1503. 8 O, R' U. J3 n! h5 e% N
  1504. ; Enable upload progress tracking in $_SESSION
    ! j# ^' B$ e8 }. X. C: o
  1505. ; Default Value: On
    6 i, R0 d9 @* L+ F8 k$ Y
  1506. ; Development Value: On" {! J8 `! z& v* O5 V: P  x: G
  1507. ; Production Value: On: J2 Y1 M9 ], o6 _, x4 j. H
  1508. ; http://php.net/session.upload-progress.enabled
    # _+ {5 s7 R3 c
  1509. ;session.upload_progress.enabled = On/ B# S* @& {7 i" F0 B

  1510. * ]" _: ~1 L( s( L7 D
  1511. ; Cleanup the progress information as soon as all POST data has been read' }9 B5 g" F2 Z
  1512. ; (i.e. upload completed).
    5 D. h3 b6 A% `3 c$ p- w" @. d
  1513. ; Default Value: On3 r' q& D# ]/ D
  1514. ; Development Value: On
    ! [) g$ D& _! f  t
  1515. ; Production Value: On
    . `* L$ L  A0 `; E+ j
  1516. ; http://php.net/session.upload-progress.cleanup
    0 k+ v8 ~: ^9 F) z5 x
  1517. ;session.upload_progress.cleanup = On/ T* B& Y/ U: G/ f" M
  1518. 3 ^9 }$ s  k  e: C
  1519. ; A prefix used for the upload progress key in $_SESSION" Z- }1 S" c8 l9 d$ U* K
  1520. ; Default Value: "upload_progress_"
    : h6 V1 y9 I1 {% A; y9 h
  1521. ; Development Value: "upload_progress_"
    - ^, @% k& }, P% k0 f
  1522. ; Production Value: "upload_progress_"% t( m, c" Z6 t% p$ ?) }( w3 q( H
  1523. ; http://php.net/session.upload-progress.prefix1 y5 J: O9 x9 l3 h0 E: a
  1524. ;session.upload_progress.prefix = "upload_progress_"
    . [- h9 t8 v& B4 V7 Q7 |' ?3 Y
  1525. ! R! P( }6 g% y
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    0 Q- `( p2 ^' B. K4 f; `
  1527. ; containing the upload progress information
    / @' Y! a! {! [- d$ ^8 F9 _' _
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"" ~. l1 g+ i: M- D6 ?. i: _/ {% Q
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"  V  j0 U# G) x2 Q7 ]9 @
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    8 C" T5 q  u6 y" \) W
  1531. ; http://php.net/session.upload-progress.name
    ' W1 c' `2 m+ [3 q/ a# c$ V
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS". @: }7 A( t8 z1 ]+ u) w
  1533. 4 {( f' D  j  Y& d( K9 Q
  1534. ; How frequently the upload progress should be updated.
    " n6 B7 t# R+ Z  h
  1535. ; Given either in percentages (per-file), or in bytes
    + ^+ r" ?1 D, E( ?- k) F
  1536. ; Default Value: "1%"
    , e2 ~$ c- @( m' D& X, e
  1537. ; Development Value: "1%"- H* o5 q7 j) |0 B4 T
  1538. ; Production Value: "1%"
    2 L$ P# r/ m( O( J0 Y8 F6 \
  1539. ; http://php.net/session.upload-progress.freq: X# L0 R7 G  h2 n
  1540. ;session.upload_progress.freq =  "1%"
      t3 N* n* q% S0 V
  1541. : m: p2 i6 Y/ Z/ }$ C* d
  1542. ; The minimum delay between updates, in seconds
    & O- ?: s. m: O* ?) ]$ a5 M4 f
  1543. ; Default Value: 1) i% ?3 j# |' ]9 e7 I9 V& E& @4 w* S
  1544. ; Development Value: 1  G( R0 x8 T% I- [2 U, N
  1545. ; Production Value: 1
    0 O3 a1 c) E& \% N* N
  1546. ; http://php.net/session.upload-progress.min-freq! `/ k4 Z  O6 X2 l3 x# r; P7 _
  1547. ;session.upload_progress.min_freq = "1"
    1 C# G0 [% j/ r* ?+ x6 y$ ?) T2 U
  1548.   E7 k+ |; d3 X3 e
  1549. ; Only write session data when session data is changed. Enabled by default.
    $ Q" O1 e$ |" J( m
  1550. ; http://php.net/session.lazy-write
    3 l* V# Z( ]( j2 c3 E
  1551. ;session.lazy_write = On
    , x% h, T9 C. ^* v
  1552. " C4 ?- b! H  d) {1 X6 Y
  1553. [Assertion]# m8 W  F' p( K& ]7 y
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    , M7 T  A( X% k7 J9 M, G
  1555. ; -1: Do not compile at all/ C" v) W( a" R1 x( k8 H
  1556. ;  0: Jump over assertion at run-time
    6 Q* ]6 N4 w& D6 U
  1557. ;  1: Execute assertions7 H. H+ J0 f+ H5 h
  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)
    + e! _3 D$ T; |+ z
  1559. ; Default Value: 1, x! V6 ~0 J. n6 u) ]
  1560. ; Development Value: 1
    3 E  E) k% w0 L
  1561. ; Production Value: -1
    ! e0 U# ?/ Z4 G: A
  1562. ; http://php.net/zend.assertions
    ! \- @8 m. Y- }& Z% i" U* q
  1563. zend.assertions = -19 `7 u& [# U6 ?% `( T) e* F
  1564. * f5 ?* M  V' B3 \% z& k) y7 h; J2 G9 U
  1565. ; Assert(expr); active by default.% `$ h( L: m. @& E
  1566. ; http://php.net/assert.active% z! \) X, d; r4 {! E1 O
  1567. ;assert.active = On0 \- a7 E! T% f) D' o- M, E

  1568. 7 y5 l# k/ s0 x" h! Y# ~: p- @
  1569. ; Throw an AssertationException on failed assertions
    : {) q) v" K/ y; L# G  l" b
  1570. ; http://php.net/assert.exception( ]& l& @' N+ `' X
  1571. ;assert.exception = On
      S: U! p, e5 j2 ]

  1572. + P* X7 V1 s9 {/ \2 O3 q
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    6 s$ n" O9 q% y/ `
  1574. ; http://php.net/assert.warning
    4 g$ h9 p  N( I+ t  W; o( h
  1575. ;assert.warning = On
    6 ?& U  {) [. ?- S! M
  1576. 4 h3 H4 v1 M; l. g* [1 v: V" B
  1577. ; Don't bail out by default.# [7 m* q: ?0 k0 S
  1578. ; http://php.net/assert.bail
    % a1 X0 L  g7 g2 S! y* I
  1579. ;assert.bail = Off6 D- k3 Y# c3 \. z
  1580. # {6 c3 n8 [8 Q' a
  1581. ; User-function to be called if an assertion fails.
    7 I; p$ k( X) \  A
  1582. ; http://php.net/assert.callback
    ( W; E. R- k9 u# P, S0 R7 |  p
  1583. ;assert.callback = 0) W: A8 V3 G9 J8 O- b+ a1 Q

  1584. " r' o1 f* y0 d9 k+ S- F
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    . g' l) Z' q6 V* u2 ~
  1586. ; error_reporting(0) around the eval().1 I) j6 \! G9 L( w* E9 y
  1587. ; http://php.net/assert.quiet-eval
    4 [/ m4 X  R5 G( C
  1588. ;assert.quiet_eval = 0
    2 A8 D7 p! Q5 V
  1589. 4 _, c. u' X; B  p
  1590. [COM]
      y8 W$ V& P. i* I! S1 }! K  x( A
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs8 j  K4 H2 i; y
  1592. ; http://php.net/com.typelib-file  O, k7 @. F1 B8 W
  1593. ;com.typelib_file =2 y  A8 X, J/ n

  1594. - n+ P3 E6 y; ]
  1595. ; allow Distributed-COM calls
    " s* O. r' g7 A% |
  1596. ; http://php.net/com.allow-dcom1 b6 A( D4 u; Z& G
  1597. ;com.allow_dcom = true5 q7 ^" K' R+ w$ f! Y7 v
  1598. . E8 r! o' D, j: O! @
  1599. ; autoregister constants of a components typlib on com_load()
    1 r- I$ J' l/ E: q: C8 ?  b
  1600. ; http://php.net/com.autoregister-typelib
    : k! |( B. O/ E/ I& w" o
  1601. ;com.autoregister_typelib = true
    2 `( Z$ }; M9 n' I* i5 _+ S
  1602. : t- Y' R5 Y! p( L4 T0 d( p
  1603. ; register constants casesensitive: x9 v8 q3 f& Z8 e9 p' d8 m
  1604. ; http://php.net/com.autoregister-casesensitive
    % q2 `6 Y; N! O4 v3 c, [
  1605. ;com.autoregister_casesensitive = false4 Q( F; }! C* I+ Q
  1606. ! g) m& Z3 K" R0 ^4 [, P; n
  1607. ; show warnings on duplicate constant registrations8 w6 b- G$ u7 H- u  ]& a; e
  1608. ; http://php.net/com.autoregister-verbose2 q1 z. |5 m. i3 s9 n
  1609. ;com.autoregister_verbose = true
    ; V3 e' f7 f5 N. ]8 A3 ?; U' M

  1610. 9 }* i/ s  n7 U
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    ) q) z+ Y7 X: u' ~
  1612. ; Default: system ANSI code page
    " M. \" E' H% h+ K& K( M# V- t
  1613. ;com.code_page=0 A; B! |- _2 U( t! w0 V( x

  1614. 0 D7 C6 u/ C& P) p( g8 a/ b
  1615. [mbstring]
    ) `) O) y  Y3 O0 O. k3 y' \
  1616. ; language for internal character representation.
    / P. J, s- f) }. i& N
  1617. ; This affects mb_send_mail() and mbstring.detect_order.4 \, U& y; ~, n* n/ [- i" x
  1618. ; http://php.net/mbstring.language
    5 @; j2 Z- Y% R# F! L! @. R
  1619. ;mbstring.language = Japanese0 e9 N' T4 D# a; q8 y3 B7 P5 F+ @
  1620. ! v5 i0 ~& \2 q
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    5 i, T. I/ W; x. P
  1622. ; internal/script encoding.+ D; f8 Q0 t: t, ^
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    ; K5 {! h1 r& \
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.; {: \+ `9 t+ N6 s# w2 {* d; @! r
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding9 N9 E: f& R8 `
  1626. ;mbstring.internal_encoding =$ m9 E7 P& i2 D# q
  1627. & `0 d" j$ `3 b4 ~8 a
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    % ]/ z& K! ~, z( a) z8 q
  1629. ; http input encoding.
    + q2 \  [0 i# c% R
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    ( k$ D; B7 C  j  v$ d' c+ d7 H
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    . B8 {+ a5 H  q
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input! r# c3 ]) M, g- ]" S2 [
  1633. ; http://php.net/mbstring.http-input
    5 d, q# |! Y. W+ M: U+ R: @1 M; V
  1634. ;mbstring.http_input =
    - n& V/ l9 s( G+ C3 {+ o2 l5 L

  1635.   f2 Q6 E9 D( W" g* F9 C0 w
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.( H6 b7 C  v' a6 z% F
  1637. ; http output encoding.
    ) }& {% v+ }: l9 B  R- b& Q
  1638. ; mb_output_handler must be registered as output buffer to function.
    ( S. o+ x0 @$ `3 d
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
      v5 _2 z- l0 L* l. s& Q
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output' s- ^& h) J9 G, I2 u3 L
  1641. ; To use an output encoding conversion, mbstring's output handler must be set. W3 S- a: w, t. X8 q. P6 o
  1642. ; otherwise output encoding conversion cannot be performed.7 p# X1 t1 G2 N+ U
  1643. ; http://php.net/mbstring.http-output
    ( ^3 w7 ^' _9 l4 c6 d
  1644. ;mbstring.http_output =
    ( S; ~4 A( k' F7 v; d$ u! P5 V

  1645. ) I5 z' |5 L1 n2 C' _
  1646. ; enable automatic encoding translation according to* Y3 _- p/ k8 R/ l  ~
  1647. ; mbstring.internal_encoding setting. Input chars are
    4 C' E& Y: \5 v5 {: Y) |+ ]
  1648. ; converted to internal encoding by setting this to On.% Q3 }4 [8 w, P
  1649. ; Note: Do _not_ use automatic encoding translation for; c6 K4 |$ Y: S" s" g6 Q' _0 ~
  1650. ;       portable libs/applications.
    $ ?/ v: J# w  G4 C" l1 M/ v
  1651. ; http://php.net/mbstring.encoding-translation% @3 _- u- ~$ c; Y. X) h
  1652. ;mbstring.encoding_translation = Off
    6 J: _9 G' `; i% ?. d
  1653. 6 Q. d0 H+ E% I9 _
  1654. ; automatic encoding detection order.
    2 I, b+ n! I# A7 R- o  e& U0 J8 Y
  1655. ; "auto" detect order is changed according to mbstring.language4 @( m, J& M/ b0 N& j) [
  1656. ; http://php.net/mbstring.detect-order2 k; n2 A! j9 k& ]4 e) i
  1657. ;mbstring.detect_order = auto
    1 a1 |" E: H" _- v7 }, L

  1658. ( t( B& T1 {  ?$ Q- s4 I$ z0 C
  1659. ; substitute_character used when character cannot be converted) s* J( X/ \1 I
  1660. ; one from another
    / Z! i$ c) r- X# y# ]. C
  1661. ; http://php.net/mbstring.substitute-character
    ( o8 `  x. i1 j' v) u& Q4 f6 B- h8 g
  1662. ;mbstring.substitute_character = none
    0 J! q: `- J6 h& l& p, O/ F
  1663. $ h/ U9 W9 z9 B4 y2 j' h
  1664. ; overload(replace) single byte functions by mbstring functions.
    7 C0 V! f! O. ^* T( }
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    9 k! o# P, K$ ^0 T9 ^3 W% _
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    / W. d) |8 b8 I; N" e' ~
  1667. ; For example, 7 for overload everything.) f# ?1 h; C9 r. P
  1668. ; 0: No overload1 u  ^8 Z" \' o
  1669. ; 1: Overload mail() function& U# P; o5 N& [* D
  1670. ; 2: Overload str*() functions& q8 [3 t  T# V. J% [
  1671. ; 4: Overload ereg*() functions' u# y; H% y2 L. q- F- S
  1672. ; http://php.net/mbstring.func-overload
    0 k5 m" f4 k- I3 Z. T
  1673. ;mbstring.func_overload = 0
    1 h1 \  a- A9 H* z, [/ Q8 T

  1674. 8 T+ f0 y- _: }1 [
  1675. ; enable strict encoding detection.
    ! M& ?) w% F1 u  N: `
  1676. ; Default: Off5 b' k7 {  Z$ P0 M, Q
  1677. ;mbstring.strict_detection = On
    . Z3 O( G& K+ `7 ^

  1678. ' D3 J/ m& p3 ?. Q5 F* N6 L. N6 T
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()+ k& {7 D' D5 |5 E8 F( W. p
  1680. ; is activated.
    4 T6 h; v9 |. k: y; a
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    7 h+ j# C& ~6 _3 ^1 G
  1682. ;mbstring.http_output_conv_mimetype=  a$ S: n, k' s, J  J

  1683. 0 n. b3 k7 _% l3 j
  1684. [gd]
    6 b1 @# r- q/ u9 @
  1685. ; Tell the jpeg decode to ignore warnings and try to create
      I/ H, H7 \( U( _/ c2 \* V7 J
  1686. ; a gd image. The warning will then be displayed as notices
    ) F8 Y+ ]5 r) z/ q, t- g9 _5 d6 B
  1687. ; disabled by default
    8 H0 P$ H+ ^7 S9 ~3 c/ v, C5 ^1 C: Z% @
  1688. ; http://php.net/gd.jpeg-ignore-warning  u7 y  o4 O! `
  1689. ;gd.jpeg_ignore_warning = 0
    - k1 ^) G0 t  x2 U1 G3 k' v5 n
  1690. ! U5 t+ j# r) G0 g9 e( w( `
  1691. [exif]9 f# d% h" f& Z$ K4 x: ^2 {9 z
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.# @) d2 N  ?; B6 q  m4 p  ^3 W: d# p
  1693. ; With mbstring support this will automatically be converted into the encoding
    4 h' [+ b# {; f0 J# t* `
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    # k; p. h: c+ [. c
  1695. ; is used. For the decode settings you can distinguish between motorola and! D% n) s, ]9 J  M- G/ [
  1696. ; intel byte order. A decode setting cannot be empty.
    * E1 h2 P5 r5 h
  1697. ; http://php.net/exif.encode-unicode
    * b4 v( [& V& k6 R# M/ u5 `
  1698. ;exif.encode_unicode = ISO-8859-155 P/ s8 L$ H9 V
  1699. ' M( |9 l" U! h# {0 s7 U) k8 \- B
  1700. ; http://php.net/exif.decode-unicode-motorola. W) l1 E$ }  o9 c! B
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    5 N  v# f# k0 T1 ~; _6 Q& {
  1702. 5 K: I; p" B' S! J+ O5 d, I
  1703. ; http://php.net/exif.decode-unicode-intel
    , g( ~: y7 N6 ^3 I- c
  1704. ;exif.decode_unicode_intel    = UCS-2LE7 h6 j& n  V/ {: A1 x
  1705. 8 s) x% m! ^7 J! q1 B- ~
  1706. ; http://php.net/exif.encode-jis" ~# l9 V# i& B5 t
  1707. ;exif.encode_jis =
    3 B/ P+ f3 f- w1 r; n0 Z* i
  1708. ( j- ~0 ~7 U  z  G1 Q8 a
  1709. ; http://php.net/exif.decode-jis-motorola
    & S8 W$ p0 C3 _* X9 b" s: [- B2 h
  1710. ;exif.decode_jis_motorola = JIS5 V+ j6 f0 f) m) h$ G" |
  1711. ! N* F  E* R$ ]
  1712. ; http://php.net/exif.decode-jis-intel; X! x. k  E# w1 W3 }, @9 o( k
  1713. ;exif.decode_jis_intel    = JIS
    3 H$ i' q% b0 j! J# q. _& q
  1714. " R8 Q$ f: L' f  s+ B3 A
  1715. [Tidy]! v- D. T3 ^$ ^2 S3 d8 H3 L: Z
  1716. ; The path to a default tidy configuration file to use when using tidy
    ( S2 u" S, p( a
  1717. ; http://php.net/tidy.default-config
    % y" i2 b; M6 N% s: D, C, {" q
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    9 `. x7 J. w# Q! K: w5 h2 h+ v$ u- D6 Y

  1719. . p* t3 I; H  |/ [: S. a6 X
  1720. ; Should tidy clean and repair output automatically?
    ( S5 P6 K8 M  C' i1 K
  1721. ; WARNING: Do not use this option if you are generating non-html content0 G/ |, C* O% g+ e9 s
  1722. ; such as dynamic images7 z5 B( _+ L" D7 n+ i1 ]
  1723. ; http://php.net/tidy.clean-output, B! [& n3 F) z- h9 S2 C9 C
  1724. tidy.clean_output = Off3 z9 v2 O( \( q( h9 T
  1725. . k, q# M0 x5 h# }# q& Q9 {" E
  1726. [soap]  r6 c5 Q: R- n6 @4 L1 A3 K5 B/ M
  1727. ; Enables or disables WSDL caching feature.
    $ Q4 p# a; _0 x
  1728. ; http://php.net/soap.wsdl-cache-enabled
    9 W% e$ F1 m* B' _+ T
  1729. soap.wsdl_cache_enabled=1
    6 `: F6 r# P0 V- h; G
  1730. : J/ y% L3 T1 e0 O% }
  1731. ; Sets the directory name where SOAP extension will put cache files.
    % n4 x& ?8 y( m3 F
  1732. ; http://php.net/soap.wsdl-cache-dir; ^& p; i7 n: H6 i5 s" S% d
  1733. soap.wsdl_cache_dir="/tmp"
    ; n, ^1 e7 ]) g4 R& \$ _9 z. O( z
  1734. ( `  j; J5 a$ s9 f. E6 u  M7 |  Z
  1735. ; (time to live) Sets the number of second while cached file will be used  M- r5 B2 P* r) d3 G8 q
  1736. ; instead of original one.
    / h% A9 g) D' T  R( W( `3 a8 V
  1737. ; http://php.net/soap.wsdl-cache-ttl$ |1 g( a  {9 Z1 ~5 N3 Q) {2 O
  1738. soap.wsdl_cache_ttl=86400
    ; U$ b+ R+ n# `; ]2 X9 o7 E- w

  1739. , C. Y# V" R( x5 H3 K1 c% y
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)) Q8 B- P, ?& T& q% g
  1741. soap.wsdl_cache_limit = 5
    7 U  h( N( }3 P' Y
  1742. 9 d3 G) d# |3 _
  1743. [sysvshm]
    : C0 ^! w' n/ p" d+ @
  1744. ; A default size of the shared memory segment
    . M' I) P' o9 j! \3 `6 z( x& C; Z. K
  1745. ;sysvshm.init_mem = 10000
    " y! a. H3 d  H, Q5 t
  1746. 3 x( F2 w; O: z, O: m. \
  1747. [ldap]
    ( y) G* R, x% s2 x2 l3 D
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    ! E  W# n0 E5 h( v0 A! d; \
  1749. ldap.max_links = -13 y9 [; j. X0 o( v: T* D

  1750. , l: x' P: J) Z8 Q
  1751. [mcrypt]
    3 F$ |  a0 O/ ]" C# F# k: Y7 ?- G7 W
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open9 d$ ?* C; g" F+ }7 _

  1753. + Y% B" @& w( p) B6 [- Q
  1754. ; Directory where to load mcrypt algorithms. V( ~6 ]0 \3 C% L5 C) c8 ]" b
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)# z1 W* Y# C9 V: g
  1756. ;mcrypt.algorithms_dir=
    1 d. Q2 c1 ~' |' h4 |8 T9 P( V! B( X2 ^
  1757. / @5 P& N: u' E! h8 T3 J8 O" q6 `
  1758. ; Directory where to load mcrypt modes. _2 v0 C8 \% S6 H. C! l
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)9 s) A4 X  E3 U1 j$ M# e. f, ]' d6 I6 U
  1760. ;mcrypt.modes_dir=9 O: j1 }8 I- z0 i6 R
  1761. % x; d, j- p" t* ?; V, M+ B
  1762. [dba]
    1 f$ y% o$ p2 @) x
  1763. ;dba.default_handler=; E( g+ f0 f) k5 H5 M6 E

  1764. 4 [4 v) X+ z3 O4 T: o) J1 E9 U
  1765. [opcache]5 K6 }* k2 w; I" h
  1766. ; Determines if Zend OPCache is enabled
    0 i- u6 {* ]+ Y+ v  p* x
  1767. ;opcache.enable=0
    & E: z" x+ a" j$ E9 S- l
  1768. ; J$ o' L1 v3 ^, I3 i9 _
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    8 N6 n3 u: w6 w# P, m
  1770. ;opcache.enable_cli=0- Y4 i0 r/ W# x" p* k/ n- D
  1771. 8 B+ ]- R$ D, r9 T( Q
  1772. ; The OPcache shared memory storage size.
    ; w) d1 t" W$ {6 R) D
  1773. ;opcache.memory_consumption=64: C! T; P7 F- e' x: O- _
  1774. 6 I) V- A% G5 o
  1775. ; The amount of memory for interned strings in Mbytes.
    $ \5 `0 E6 J0 s0 \$ ~
  1776. ;opcache.interned_strings_buffer=4
    $ k8 C/ f: X# H7 [! V% l) k- I
  1777. # [7 G( J& K4 V  o, w
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.- z. r2 R( R! i
  1779. ; Only numbers between 200 and 1000000 are allowed.
      Q+ i0 [- u; C0 o. K! e2 J, \+ Y
  1780. ;opcache.max_accelerated_files=2000
    & h1 O" E% Q+ x0 ?

  1781. 2 ?5 K% [1 w2 I
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    1 ^" Z# ]- i/ @3 n$ S5 b3 q+ g
  1783. ;opcache.max_wasted_percentage=57 m- |6 }( |% [  _' }7 K/ u6 \

  1784. ( Q' T* B7 v( e4 w3 G0 `8 C) l
  1785. ; When this directive is enabled, the OPcache appends the current working3 |2 n8 V) L2 g
  1786. ; directory to the script key, thus eliminating possible collisions between$ Z  x/ k& n. [
  1787. ; files with the same name (basename). Disabling the directive improves
    . V* R- f! N; J2 |
  1788. ; performance, but may break existing applications.7 \6 A  L5 g$ n# U) }
  1789. ;opcache.use_cwd=14 r  O; V& d" |/ K
  1790. ' O0 T8 f8 ~- }% }5 q
  1791. ; When disabled, you must reset the OPcache manually or restart the+ w- g6 P# h& ]1 u/ L
  1792. ; webserver for changes to the filesystem to take effect.
    % I* z' F- m; _0 U$ i
  1793. ;opcache.validate_timestamps=1
      [* W& Q2 r! ~" B2 M/ C3 ?' _

  1794. # }4 E/ |7 Y% S9 |9 Y* ~! J
  1795. ; How often (in seconds) to check file timestamps for changes to the shared2 J4 \0 s4 t. m- e
  1796. ; memory storage allocation. ("1" means validate once per second, but only, h4 {3 w9 H4 Q8 Z: e. [  t
  1797. ; once per request. "0" means always validate)" _# ?! u! P8 o. z5 t6 |' B
  1798. ;opcache.revalidate_freq=2& F: E$ }; Q$ L& M) ~" q& {0 h, i
  1799. $ w  q$ J+ P! u/ y3 F" x7 Y+ _
  1800. ; Enables or disables file search in include_path optimization* ^: N7 r; P0 j  s9 c$ m
  1801. ;opcache.revalidate_path=0
    ; `! T1 X' I* C% }

  1802. / c' q, }, q4 P, Q6 K
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the) M) u5 _' ~1 O" h0 a# T+ g
  1804. ; size of the optimized code.0 W' b1 |- F4 c
  1805. ;opcache.save_comments=10 ]! S. C; Y; v- @4 |

  1806. 6 w6 P* m% C, ], e% N# N: P
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    : E1 q7 N$ p8 F0 R" A
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.. n. p- M/ ?+ r0 A+ {0 ?
  1809. ;opcache.fast_shutdown=0
    $ y, Y& M# R8 R3 [% i

  1810. % q- o+ Z/ r! r4 [% k
  1811. ; Allow file existence override (file_exists, etc.) performance feature./ q. I) u& d2 H* C) y" U' `
  1812. ;opcache.enable_file_override=0
    6 p2 ]- x7 X. x! J

  1813. 1 M/ ]/ R. f* [! v; B/ C4 C7 Y
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache5 T/ J" x1 j5 [
  1815. ; passes! K! L/ R$ T2 N
  1816. ;opcache.optimization_level=0xffffffff  r" b. s) n& T9 n! ?0 ?% R; v8 x2 w
  1817. ' ~/ X8 F: Z+ J; k' e' X$ L
  1818. ;opcache.inherited_hack=1
    - U! q3 W: q, ]& `# K& `
  1819. ;opcache.dups_fix=0& n3 T2 x, g7 |; {1 F
  1820. 3 o9 M1 ^/ o" a& D
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    3 ~. a) X* c3 X( `% x: s( E  W7 x0 r
  1822. ; Each OPcache blacklist file is a text file that holds the names of files5 Y1 @1 X8 a% k, h6 K9 j
  1823. ; that should not be accelerated. The file format is to add each filename
    0 @. f. u: e4 p
  1824. ; to a new line. The filename may be a full path or just a file prefix% x. P' m0 s( k1 D/ |
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www( v& `+ K) L" N. a% U
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).: a( |3 ?- h0 r# W) ^
  1827. ;opcache.blacklist_filename=
    9 Y, i5 l3 x8 F- [

  1828. 5 h! `- J/ b) _. n
  1829. ; Allows exclusion of large files from being cached. By default all files
    $ u9 {8 A/ n! H
  1830. ; are cached.
    ) \" l+ a- Q2 Z/ }# ?5 ]
  1831. ;opcache.max_file_size=01 p, `2 d( ?3 |. H

  1832. % g( Y! J" M; F+ `0 V7 J1 k
  1833. ; Check the cache checksum each N requests.! j2 S5 [- `9 F5 l3 q9 s5 g9 Q- R$ g
  1834. ; The default value of "0" means that the checks are disabled., n1 k( ^& n5 h1 |) V
  1835. ;opcache.consistency_checks=00 W8 W- _, `( c* j! R! _& @) F

  1836. ( ^$ Z9 @9 ]+ p6 j! w/ V: g% S1 o$ W
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    # S. U5 Y9 N; c6 o
  1838. ; is not being accessed.+ G; X; I: U$ t/ R" N
  1839. ;opcache.force_restart_timeout=1801 r+ z4 J/ y' W+ H
  1840. / ]+ O2 Z: v5 O3 y7 o! `1 {  ~# \
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    8 n4 B& U" [6 h* z6 w# K
  1842. ;opcache.error_log=2 t6 W& z/ i0 c, M2 W# d
  1843. 4 d9 b- D1 y. Z: N4 N% f
  1844. ; All OPcache errors go to the Web server log.
    ( z4 X1 S3 q$ n
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.' z3 P4 Q1 E+ m+ S
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    + X4 Y3 u. p" [
  1847. ; debug messages (level 4).
    8 g& o/ B" h7 n3 w# `; y: X# K% @0 z
  1848. ;opcache.log_verbosity_level=17 u- U1 o4 g" ]5 H% N0 O

  1849. 5 l8 P. a! g2 h& A- X& |6 M
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    3 K2 k  r0 a- Q5 F5 e
  1851. ;opcache.preferred_memory_model=
    ) D" l9 R% L. k/ E3 Q, h

  1852.   j: O: C; V; h6 o4 T+ Q
  1853. ; Protect the shared memory from unexpected writing during script execution.
    , T3 T5 M* {3 U3 a5 W% q0 F) B
  1854. ; Useful for internal debugging only.6 v, o" h' f8 l+ \- p" j: e( r
  1855. ;opcache.protect_memory=08 _9 ~# c% Q# Z3 o- h5 @) Z
  1856. 9 z- }2 y* k7 ~  a
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is7 h: C6 F, F4 `. A* e+ R
  1858. ; started from specified string. The default "" means no restriction9 f2 s" j3 q7 j
  1859. ;opcache.restrict_api=, x) i) Z! z4 e# P1 W2 }- F

  1860. ' G; j# f% q# u5 M8 `0 K% G
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP0 Z- ?. P! F6 F
  1862. ; processes have to map shared memory into the same address space. This6 T  Y% L! b$ o
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    5 U+ h; A( q3 D% G
  1864. ; errors.% G$ A  R" E* O3 A+ {7 L! d% ]
  1865. ;opcache.mmap_base=
    7 @# b" j- q- D; k

  1866. 1 d# [" p' t2 G& K
  1867. ; Enables and sets the second level cache directory.
    : a9 ]" n# t0 ~$ M" m
  1868. ; It should improve performance when SHM memory is full, at server restart or# n3 g0 i+ j9 a9 j/ _# C6 V
  1869. ; SHM reset. The default "" disables file based caching.0 ^  b1 P# h  y7 W: J$ t
  1870. ;opcache.file_cache=# b0 \# |7 c# h. x$ V

  1871. 8 r, d: P. }; I. h2 n
  1872. ; Enables or disables opcode caching in shared memory.9 y$ ?9 k/ I- Y$ c
  1873. ;opcache.file_cache_only=02 d7 Q, l5 ]" h

  1874. , W- `7 j* a1 }) S' M- q
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    ' O3 z# y. {* w
  1876. ;opcache.file_cache_consistency_checks=1
    % o% D! t1 V, A; g
  1877. + D8 S+ |0 e3 H+ A* ^
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
      ]  T% S2 b% l; s+ `/ T; T
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file; d9 m/ ]% G1 ?8 X* x
  1880. ; cache is required.
      B  O! z8 b: w( P) f5 m3 i
  1881. ;opcache.file_cache_fallback=1
    6 z# O+ q# M- X+ u3 \

  1882. : I" \( D& z& Z+ d4 S0 e& b+ Z
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.% `5 B+ e4 z& Z8 M7 p5 A
  1884. ; This should improve performance, but requires appropriate OS configuration.
    1 `) x9 X: q) I& |5 [
  1885. ;opcache.huge_code_pages=1
    + P  z$ G5 M! |/ J
  1886. ; R2 s1 Y& C8 Q4 C' H' `, H
  1887. ; Validate cached file permissions./ D9 Y: U1 k4 p, h/ ^
  1888. ; opcache.validate_permission=0
    1 Y- I/ ?$ P+ N8 p, N
  1889. / [% ]2 m" j& y# v( W" O8 y- ^
  1890. ; Prevent name collisions in chroot'ed environment.2 e' q  \  ~" M* U+ Q$ M  ]
  1891. ; opcache.validate_root=02 G8 D. y2 \& z
  1892. 6 ~$ W/ y# T0 D- B6 W, n9 b
  1893. [curl]% b7 _" W: ^/ D+ G2 o- @# m* f
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    / c0 s+ B" P7 p. S' b5 D& H
  1895. ; absolute path.
    - u& d" I' X& W8 t7 z4 k. M7 B& w! q
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    * i( v1 b6 Q2 a' j3 E6 t+ @

  1897. ) H$ y/ @: ^+ ?3 [1 t4 z2 P
  1898. [openssl]0 o" n( Y, D3 j/ u  Y
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    4 h! x5 u- u' u, o* Y# t5 |9 h
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should! S( x9 J( s- ?3 J$ t7 |- S- u
  1901. ; not specify a value for this directive as PHP will attempt to use the
    / e! H8 _& I& m( Z  C* l
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    ( Q5 n( L3 Q5 a  Z# t
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    / V# Y' I8 G5 |8 Y" n6 [# W$ w
  1904. ; option.
    , o- O0 \3 A; v0 R
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt6 e2 L4 e% N2 \! i8 P1 p/ w4 T4 O

  1906. + h) o- Y) M. i& M, s- q- E
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the6 [: c- Y3 L& o% J
  1908. ; directory pointed to by openssl.capath is searched for a suitable7 P* N/ j% C' \
  1909. ; certificate. This value must be a correctly hashed certificate directory.' D1 c6 I$ L' |/ \+ G. B
  1910. ; Most users should not specify a value for this directive as PHP will
    6 C( v/ ?4 M2 j, S" f% E! N5 d
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    . b; {- \, Y! x8 X1 r3 F
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    ) S; w- S9 w/ c* a
  1913. ; SSL stream context option.
    ; Z1 P, ~/ ^- v8 n
  1914. ;openssl.capath=" x# r7 J, }* h  j% Y

  1915. 5 R, W& }- Y# j& f
  1916. ; Local Variables:* V5 U' R/ h+ ~9 e+ D
  1917. ; tab-width: 47 T6 v8 x, b* F5 O8 X" q/ X0 |
  1918. ; End:
    ! U! w: H* T! C; I1 G
  1919. * G1 F( j& d. [8 b" I+ y
  1920. ;eaccelerator0 j8 k: e; {% N9 T$ x

  1921.   k# G, K: L& a9 n- Z
  1922. ;ionCube5 C- v- y  z. Y* D

  1923. , h9 k/ c, f) J" ^$ i
  1924. ;opcache" W& L. q5 \& H1 A6 V8 P8 l
  1925. & V# j" `& k) d2 j2 V# {7 C
  1926. [Zend ZendGuard Loader]5 {( K  `7 _% Y5 u9 f3 z* y/ H
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    % b/ L; }" S) F" m( O: @: M# r6 z
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    9 Y1 T: `" w$ \$ g8 R/ h
  1929. ;zend_loader.enable=1% A7 E3 o" Q# a' j' o( ~
  1930. ;zend_loader.disable_licensing=0, \( D# P6 f: }1 C" n$ k, |
  1931. ;zend_loader.obfuscation_level_support=3
    4 n6 p% l" M; I$ Z% S& N8 ]5 x& \
  1932. ;zend_loader.license_path=8 P4 _! c/ y- X2 V
  1933. 2 K0 a6 P9 @7 m) a% N) v0 L) l& s
  1934. ;xcache
    + ~, j6 {* z5 E" P% L
  1935. 9 T  t3 d8 T( t8 b
复制代码

: y# J+ \+ V  u6 f
, S6 r) L: f: w2 x( B8 g& w- d% N) m4 T! l. s" `/ @  h

% n0 }& o( e0 _7 V0 r+ L
+ g5 X3 }* q6 X' \; L; i5 T7 R2 h4 S! `4 b3 ]+ q9 L
" O& ~7 y5 X. u; J8 c6 [/ K) |7 s/ a# S
PHP5.6版本原始设置* z# H% d" i: M0 `8 W
- H% g, a- U  m# w  l
  1. [PHP]
    7 t- n& L# R/ p6 U" e  c6 R2 M
  2. : b  J7 H: ~& I) U; U: a0 A
  3. ;;;;;;;;;;;;;;;;;;;
    ! u4 `. Z' T0 \) r
  4. ; About php.ini   ;, B$ c  o5 w" f3 g+ A' W, d( i9 n
  5. ;;;;;;;;;;;;;;;;;;;: i$ O2 @+ ]. f
  6. ; PHP's initialization file, generally called php.ini, is responsible for  g! Q- j0 z4 u5 Y
  7. ; configuring many of the aspects of PHP's behavior.
    0 G5 z/ H0 t" K4 P% y* ~( C
  8. % [/ k6 P) P  b- N: a; f
  9. ; PHP attempts to find and load this configuration from a number of locations.+ z' B" Q( ]. w
  10. ; The following is a summary of its search order:( H! v' V, M7 ~4 Z% h2 i5 T
  11. ; 1. SAPI module specific location.
    & k  _% s. A  O1 X' u
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    ; Q5 E3 R" w) z
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)% Y5 T9 K$ _5 y* `6 R# t1 a! J' F! ?
  14. ; 4. Current working directory (except CLI)- M2 D! ~6 ~8 M' o2 y4 X( @
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP- g8 |1 ^" {* e# |' H, q: A
  16. ; (otherwise in Windows)
    7 h" I1 A! x" \, Y3 U
  17. ; 6. The directory from the --with-config-file-path compile time option, or the9 t2 D& c- a+ r" y! G: v
  18. ; Windows directory (C:\windows or C:\winnt)& m& ~8 O# b: |, z  c1 {
  19. ; See the PHP docs for more specific information.
    ' D: Q, q1 e' n2 F+ y
  20. ; http://php.net/configuration.file  B8 e7 a' f6 E6 l
  21. , c1 _# m: `3 t: R) m1 B
  22. ; The syntax of the file is extremely simple.  Whitespace and lines: S2 S% k8 \6 q' ~
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    ( a2 }# Z% ?" |/ f, R& ^! y$ c0 P
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though1 d" O. u/ k, ^' B" G1 g8 ~
  25. ; they might mean something in the future.6 q, i2 m/ A3 s$ b% B

  26. 0 c9 d9 {0 C: i
  27. ; Directives following the section heading [PATH=/www/mysite] only1 B1 {5 R2 z) H- Z2 j2 R9 J
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    % b+ N& w3 i, d2 J4 P: x4 J
  29. ; following the section heading [HOST=www.example.com] only apply to' H8 n! O+ j2 q4 Z
  30. ; PHP files served from www.example.com.  Directives set in these9 B- Z& z: m& y$ b- H
  31. ; special sections cannot be overridden by user-defined INI files or
    5 H" I1 u( I$ T( v, `: [9 b' S8 c
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    5 ]& L" O" b9 Q: t, l( E+ N
  33. ; CGI/FastCGI.8 q; R$ G; ~8 _4 S3 p
  34. ; http://php.net/ini.sections
    ; }, i" O# j# ?' D5 p" D. v

  35. 0 G; ~( d5 V0 o# u; |2 l& q
  36. ; Directives are specified using the following syntax:
    . h% ~& r+ ^. T5 I; }
  37. ; directive = value
    ' S) X6 \# ]) a: q2 m5 P/ F- u% q
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
      v7 t& J# ?6 M$ a( t7 a! ]1 v% ?& M
  39. ; Directives are variables used to configure PHP or PHP extensions.7 n$ X7 d4 g" k/ I; S7 F6 y
  40. ; There is no name validation.  If PHP can't find an expected
    - t+ d$ F& d0 Z, }- G
  41. ; directive because it is not set or is mistyped, a default value will be used.
    1 O* j! F+ T: |. t
  42. 3 l5 b7 \2 L7 d$ w( y- v
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one9 R. Z  R. I+ E' f" [+ G
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    * }5 u' \9 c) y- ]1 E
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    - ]! V3 S0 _( j9 T# T* B" Q2 E
  46. ; previously set variable or directive (e.g. ${foo})
    2 C5 H9 r6 J- W/ e
  47. / l8 o0 Q9 c, ?8 z" `* i
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:+ ^( L% @/ ?  u: y& H& x' B
  49. ; |  bitwise OR, e: G2 \+ w6 o+ N/ y" b7 g3 g8 g
  50. ; ^  bitwise XOR: ~: @. Y2 e# Q: e
  51. ; &  bitwise AND
    6 S! X$ M) _% P3 s7 I9 U. `+ C5 @
  52. ; ~  bitwise NOT
    : H0 x( y2 W4 D4 Q9 M
  53. ; !  boolean NOT2 P& s) L; l  U* V3 p4 k7 \
  54. 5 T! W6 ]8 L8 V9 h  \, F
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    * C  J2 S4 W+ f; D( w; n  O1 t$ [
  56. ; They can be turned off using the values 0, Off, False or No.( J2 U6 a/ d! b4 X
  57. 1 ~' o, Q$ z/ h3 C# \5 c' |/ i
  58. ; An empty string can be denoted by simply not writing anything after the equal4 M! G4 I( J1 T8 M: {4 [
  59. ; sign, or by using the None keyword:, G$ Z) G; u: o2 u% D; h& V

  60. ; o' [+ \: J6 W' C, R# D
  61. ;  foo =         ; sets foo to an empty string% ]$ N5 V/ t" w9 P! l: z
  62. ;  foo = None    ; sets foo to an empty string
    ; ?) M6 J  |2 p/ c" w9 k7 J
  63. ;  foo = "None"  ; sets foo to the string 'None'0 q# h# n( t) {; C) U* l
  64. ( Z2 G1 K/ k: v3 Q4 E" I, [
  65. ; If you use constants in your value, and these constants belong to a
    $ ^# l/ o1 i; a2 u3 b0 F1 I  N+ y$ |4 m
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    & S- f9 m. C+ R& T
  67. ; you may only use these constants *after* the line that loads the extension.
    9 V6 B3 q8 r% e& I+ D3 O
  68. - \# O# Y0 b( M) \; Z/ T
  69. ;;;;;;;;;;;;;;;;;;;& M3 M" ?4 _" u( L* @1 p/ ]* h
  70. ; About this file ;4 `  p9 o7 D- `7 H* C
  71. ;;;;;;;;;;;;;;;;;;;' A) T" B1 |4 X: m
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    ' D6 t7 p) U$ I1 {
  73. ; in production environments and one that is recommended to be used in$ X" Q5 `3 b2 K
  74. ; development environments.1 m. P4 B8 J# C6 e/ k% s: d
  75. 3 V7 |0 M; ^" B
  76. ; php.ini-production contains settings which hold security, performance and- J  j4 _8 @, @, p5 T
  77. ; best practices at its core. But please be aware, these settings may break
    ( @6 B! m! M5 k
  78. ; compatibility with older or less security conscience applications. We6 E' j# @9 k% R0 u0 W. i- i
  79. ; recommending using the production ini in production and testing environments.4 m# j/ i  Q, W0 v) ^' m$ Y

  80. ) }- H, q) L6 ~6 w: [$ Z
  81. ; php.ini-development is very similar to its production variant, except it is
    8 \8 E- e3 A) m) O6 ?  |1 ]  c9 G
  82. ; much more verbose when it comes to errors. We recommend using the
    , _7 W8 [' i& ]3 k/ i; P1 f0 D. j. D
  83. ; development version only in development environments, as errors shown to
    . x4 d, e! ?9 W* R4 q9 z
  84. ; application users can inadvertently leak otherwise secure information.
    % {4 g+ H, v5 ]4 N
  85. % K0 n- r, h2 C. D
  86. ; This is php.ini-production INI file., r6 `+ v8 L1 @
  87.   G5 e- Z6 w, ~" O
  88. ;;;;;;;;;;;;;;;;;;;2 c8 ]; q  ^' c
  89. ; Quick Reference ;
    + Y  O2 ]+ t4 ^- O% g4 I% k
  90. ;;;;;;;;;;;;;;;;;;;, i8 k2 q% y! M' V
  91. ; The following are all the settings which are different in either the production# j" v8 Q- ~" t  V
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    ' a  o& N) }# f3 T
  93. ; Please see the actual settings later in the document for more details as to why
    + e, }, H3 |1 ]  F* e& H5 ~: o- Z
  94. ; we recommend these changes in PHP's behavior.: }/ U& P9 F  B( g* ~' U

  95. 7 j) p, F# w3 }5 F
  96. ; display_errors0 J8 r/ P. [2 e0 J& ]! d
  97. ;   Default Value: On; ?0 {$ N# q" l1 c4 C- r1 D) l! u
  98. ;   Development Value: On4 J! Z% Q% x0 r- E; k% e3 ~% p
  99. ;   Production Value: Off, W' T, n# W' l3 S! N4 J

  100. 3 ^: R5 i: b/ ^5 g
  101. ; display_startup_errors
    3 }, |" E( @0 v2 R1 E) Q
  102. ;   Default Value: Off
    - L8 o7 U; a# q: P& ~
  103. ;   Development Value: On- v/ i9 K5 s3 q3 V! T& c3 D1 D3 w
  104. ;   Production Value: Off, g) ~- y% F/ }- g: ?: Y+ s

  105. , G9 v$ R  O* G2 ~( O" Y
  106. ; error_reporting
    ( j" B6 h: V4 `8 V
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED; Q$ u3 ?0 P% x% z* j
  108. ;   Development Value: E_ALL
    4 g* w1 x% V* ~7 f  D/ _
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT* D$ Q5 t/ `- s* ~4 d+ H2 S9 I& W- w

  110. , x: B  `/ M% {: j3 ~
  111. ; html_errors
    ! n6 {5 k8 {; [; p1 e1 E8 a
  112. ;   Default Value: On
    / I5 v) r# m" {; n
  113. ;   Development Value: On
    ) z5 t; c9 @: e; i3 d9 E- ~$ q' j9 @
  114. ;   Production value: On
    0 j8 c7 V) j# R0 j

  115. - F& N- P/ Q0 g9 Q9 A; J& B% ]% f
  116. ; log_errors
    $ |* Q, Z! {3 A6 P7 g& h5 Y
  117. ;   Default Value: Off. v- u. ]$ ?# |  d3 L0 _1 V: Z* K
  118. ;   Development Value: On% V% T8 D6 B- B: y" o
  119. ;   Production Value: On
    6 a* Y0 C& N7 r2 l! }& q& i
  120. 1 W/ L0 x% [1 M( O9 w3 z& Q
  121. ; max_input_time8 `; V. W: ~4 B1 d
  122. ;   Default Value: -1 (Unlimited)0 _6 U( S" W+ g  s" }% T9 H
  123. ;   Development Value: 60 (60 seconds)7 ~2 \' ?0 T3 f7 D
  124. ;   Production Value: 60 (60 seconds)8 H' Y2 [, h6 c' P: m9 d% |
  125. # C' Y8 l9 e4 q. S, T, B$ c  n8 t0 _
  126. ; output_buffering
    : \, a3 P( R1 N1 O" [$ k
  127. ;   Default Value: Off# i7 n3 T1 \- o1 ^" v# Q3 E
  128. ;   Development Value: 40960 u1 v! R! H; ^$ e2 i# a
  129. ;   Production Value: 4096
    - B% k# d8 K; p8 L( B" Y% k( ~8 n
  130. 2 X3 H' U* L" N2 f2 G
  131. ; register_argc_argv" b0 v+ |. h5 y
  132. ;   Default Value: On
    ! H  _3 e! y: `% R- |. H: G
  133. ;   Development Value: Off
    6 o6 @5 ~- B9 ?7 q3 h* d5 y  {; v  Z
  134. ;   Production Value: Off
    1 ?' Y; U- ^1 v. S$ @' h* @+ j. W

  135. 6 D+ A; Y" O" j  q$ P) I+ T
  136. ; request_order0 A) b6 h# U% K& T" h, F
  137. ;   Default Value: None
    ) Q; P! a6 K1 k! L
  138. ;   Development Value: "GP"& v3 d+ D) `1 ?
  139. ;   Production Value: "GP"9 r1 V9 {9 _1 Y! ^# I
  140. 1 U- R# {6 Z# G3 G7 `/ `1 ]' _
  141. ; session.gc_divisor- D2 o. B, _/ ?
  142. ;   Default Value: 100
    7 T- I8 F7 M. e$ D. q" O8 E
  143. ;   Development Value: 10000 ]! i( M) S; _) i3 l% ^2 H
  144. ;   Production Value: 1000
    - m* v! ~  h* J4 ?
  145. ' w5 P( E/ n5 F1 h! {# G+ H
  146. ; session.hash_bits_per_character1 b% E, w" |* c- x  v; h
  147. ;   Default Value: 4
    ! t8 I) T1 d$ I! y) H8 d- O3 f+ E
  148. ;   Development Value: 58 S7 a& f: w/ ]4 |8 m5 V# p
  149. ;   Production Value: 5% D) c- V! Q1 d! o! X0 _/ u2 a
  150. ; K# N/ U* g, r) O9 k0 D1 m- e& `
  151. ; short_open_tag
    # u$ ]9 G4 p7 n2 G8 @% o5 _: Z6 |
  152. ;   Default Value: On! X; X9 {+ E5 ]) @0 ~( R
  153. ;   Development Value: Off
    4 b& ?% x# L9 a# j9 A" y
  154. ;   Production Value: Off" K8 k" M7 V0 M% O2 e* ]4 d( d0 T# @
  155. & M# B! [3 ^. j
  156. ; track_errors5 I4 \9 X) S, \; _- u, e) e! G
  157. ;   Default Value: Off6 ]! i2 S/ v3 r3 I2 ~
  158. ;   Development Value: On  I8 k3 s( t% E9 r9 j
  159. ;   Production Value: Off: Y- F: c' `3 i* _
  160. , J3 f" I& }/ Y# M' A. e9 s( E( O
  161. ; url_rewriter.tags, E5 V; d  T  R6 B- g8 Z( n
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    2 J0 K+ g" Z5 [% C3 I: p. n9 |
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    * U5 P2 X! B$ V
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry", z% f& B5 ?/ d* M! ?

  165. . B& v' U9 V" {% K: q! k9 B
  166. ; variables_order8 C  X- Z" y  p1 x6 D2 d3 v
  167. ;   Default Value: "EGPCS"9 Y3 ~/ _# F: S* ]7 J" V$ {; s
  168. ;   Development Value: "GPCS"3 W% l! W  Z8 Q( @- b
  169. ;   Production Value: "GPCS"4 B1 g! I# F4 D) Y6 j

  170. 5 m' h' |! a  A! X. S- t& `0 c9 R* x
  171. ;;;;;;;;;;;;;;;;;;;;4 U2 L! W7 L( W2 p2 A+ B$ Y, m' q
  172. ; php.ini Options  ;2 H6 }0 D' \* U9 v
  173. ;;;;;;;;;;;;;;;;;;;;
    ! `5 f; R9 n2 U+ K* I% H# q4 H0 |! ~
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    . T  b) d+ n' G5 y) T4 F
  175. ;user_ini.filename = ".user.ini"
    1 o4 y+ @0 X$ T& o# p" R7 ?0 ]% Q

  176. * i2 [& c( s: M! q$ R$ r9 C
  177. ; To disable this feature set this option to empty value5 \7 ]( |: r' b, x& j: h# a
  178. ;user_ini.filename =" S( Q, J" J+ l* E' x% ?
  179. % \# \7 T2 l- T0 @
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    & S  w( B1 j1 a4 n  y8 q% X
  181. ;user_ini.cache_ttl = 3005 r2 E8 g& P; `: o

  182. 7 X; y8 e% b0 _  L2 i2 W
  183. ;;;;;;;;;;;;;;;;;;;;
      H; d" r3 @/ l3 x- J/ Y
  184. ; Language Options ;% n/ o3 k+ S. K0 ^! w" [2 }
  185. ;;;;;;;;;;;;;;;;;;;;
    0 Q+ x7 z# F) T1 w0 R# z2 p* ]

  186. 6 x9 {. W% v  l" E" ]+ O& h  J
  187. ; Enable the PHP scripting language engine under Apache.
    5 l, T* I+ i# z
  188. ; http://php.net/engine# E, @. }; ^9 C9 y" F4 g
  189. engine = On, b2 A9 ~7 n! z( y/ a) W& `
  190. 9 n' n, r0 ?5 @! H" Q0 P  F
  191. ; This directive determines whether or not PHP will recognize code between& f% ?# n7 u- ~! A  ]
  192. ; <? and ?> tags as PHP source which should be processed as such. It is2 g) k  [" M/ y& n6 x* r% N' Y
  193. ; generally recommended that <?php and ?> should be used and that this feature$ t* G9 L1 z; _' ~7 E
  194. ; should be disabled, as enabling it may result in issues when generating XML
    0 c/ y7 p* ^* O2 w7 C3 E4 @  }
  195. ; documents, however this remains supported for backward compatibility reasons.6 L! M) v- ]& Y; V; `5 R8 }
  196. ; Note that this directive does not control the <?= shorthand tag, which can be8 |" x4 y8 A& c
  197. ; used regardless of this directive.
    4 S& {* L5 _7 C1 U2 X
  198. ; Default Value: On. W2 i* l) l( x( v6 ?
  199. ; Development Value: Off: h$ S' ]! v" W# x9 B3 i
  200. ; Production Value: Off
    5 y. T6 O. S! X$ F
  201. ; http://php.net/short-open-tag
    % J; B- @- p0 h' T+ I; c
  202. short_open_tag = On
    ) E+ Q, ?' d$ f' J+ d+ P1 D

  203. 6 E4 n. B0 Y/ Y/ c( Z4 |
  204. ; Allow ASP-style <% %> tags.
    2 N9 j- [. j; g& v
  205. ; http://php.net/asp-tags
    ; K2 K: z3 x  X, h2 w. d
  206. asp_tags = Off& ^$ X/ A" D+ S1 ]& \
  207. 3 |( J! E9 g: p8 P( z2 U
  208. ; The number of significant digits displayed in floating point numbers.
    : F9 ^6 g0 X& [. |( n1 W
  209. ; http://php.net/precision! D/ t9 n% Z/ R6 [) |' a5 c
  210. precision = 146 ^) y5 }6 S. O$ n- }  }3 ~
  211. 9 s/ \7 {0 a9 C8 K4 M
  212. ; Output buffering is a mechanism for controlling how much output data
    + d$ _& q8 o, E% {4 _  d
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that0 t& ^5 b3 H! i  x
  214. ; data to the client. If your application's output exceeds this setting, PHP
    9 o- L( G- v- g4 g) }
  215. ; will send that data in chunks of roughly the size you specify.1 c! y  }7 f8 g
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    : u* k; H" [( X$ I- k
  217. ; interesting side-effects depending on your application and web server.
    5 D  m& W/ Q% c3 o0 T% f
  218. ; You may be able to send headers and cookies after you've already sent output
    2 T4 O) Z1 K) X$ }
  219. ; through print or echo. You also may see performance benefits if your server is$ j* B, W, H6 [2 X+ `7 j5 r7 {' _
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    5 ?2 l( j0 |# c" x
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    # N9 N. n1 N' K+ X: g  G
  222. ; reasons.
      R, T  J& e& ~4 Y! e5 `* m) O
  223. ; Note: Output buffering can also be controlled via Output Buffering Control# ~( S$ \( O, P) w
  224. ;   functions.' u7 t$ Y! U7 v% m" [
  225. ; Possible Values:
    9 p8 i) x$ k1 E" R) G5 U
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    + B- x$ w! P2 F& }: K5 p5 M
  227. ;   Off = Disabled) l+ `3 A# Z, z  q
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    + L5 f4 ~; |" H8 v
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ' C% w0 H6 B8 ]% p! B! G
  230. ; Default Value: Off3 X, G- v: n0 x
  231. ; Development Value: 4096
    5 H+ Z# p  I# a8 D
  232. ; Production Value: 4096. A% y) y- ^0 i! U% u2 C  {
  233. ; http://php.net/output-buffering
      I5 y/ X/ o2 a$ r1 [
  234. output_buffering = 4096
    4 S0 G  f; |+ I. N

  235. 6 w! t$ n, d9 D# Q" i+ Y4 @
  236. ; You can redirect all of the output of your scripts to a function.  For4 g  I, N2 |4 w1 g: x) a" D- K
  237. ; example, if you set output_handler to "mb_output_handler", character$ C/ S$ D& C+ Z4 Y; J8 s7 H7 x6 h6 I' u5 h
  238. ; encoding will be transparently converted to the specified encoding.
    5 c2 {0 P, ?* I! ]7 E8 H
  239. ; Setting any output handler automatically turns on output buffering.
    ) H# c' r0 r* {2 W6 ]) S+ q' O
  240. ; Note: People who wrote portable scripts should not depend on this ini
    ) S: t+ t7 X8 m0 i. b8 M# J
  241. ;   directive. Instead, explicitly set the output handler using ob_start().7 ]; p% q2 U2 I. t5 V9 d9 G
  242. ;   Using this ini directive may cause problems unless you know what script) N! d2 ]/ M& V4 c9 H: P% Q* p
  243. ;   is doing.3 N8 V$ @9 F8 C" H8 `" ?1 z
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"/ t' ^5 Y/ ]- f, H# ?0 A
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    2 o- h( e9 n5 ~, z7 B
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    ' N) R8 p+ X" [$ A, }. d
  247. ;   Instead you must use zlib.output_handler.( A5 x8 U' b7 r6 p" K7 H- z- _
  248. ; http://php.net/output-handler
    - X  s5 c) j! I0 @( X- H
  249. ;output_handler =
    + h& ~2 a+ E% q9 y  m
  250. & }. T. t  o# @3 r
  251. ; Transparent output compression using the zlib library5 j7 F3 X3 J, a
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size. K# M. [2 E0 Y0 G7 S6 A
  253. ; to be used for compression (default is 4KB)3 Y5 b& w4 a. ]
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP) f2 [2 `  }& X# v7 E2 |
  255. ;   outputs chunks that are few hundreds bytes each as a result of+ K/ z2 a% {( Q
  256. ;   compression. If you prefer a larger chunk size for better4 z; _. R" ]; p: T) l
  257. ;   performance, enable output_buffering in addition.! C9 u4 T2 p2 |1 r* h' _
  258. ; Note: You need to use zlib.output_handler instead of the standard
    9 p0 B8 R8 L" b% g
  259. ;   output_handler, or otherwise the output will be corrupted.3 B' z5 ~/ y! D. e, @" c: Q
  260. ; http://php.net/zlib.output-compression
    5 l! A: G5 \, ^/ S( l! i$ v
  261. zlib.output_compression = Off' d# j% R( D3 ]+ z/ _9 D

  262. / n' {$ E5 G& i+ F' E; K5 n
  263. ; http://php.net/zlib.output-compression-level
    ! |* u8 J% N+ ~+ x# @2 w6 O
  264. ;zlib.output_compression_level = -1
    - F0 H7 o- u6 \4 x; r$ }( h$ O

  265. $ F2 w' _7 s: M
  266. ; You cannot specify additional output handlers if zlib.output_compression, x4 \8 O/ ?  j5 |
  267. ; is activated here. This setting does the same as output_handler but in# R* b- J: i% \! U5 w
  268. ; a different order.7 c2 r/ z8 P" t
  269. ; http://php.net/zlib.output-handler) B1 B8 ?& v4 f) a! o4 A) G# b) L
  270. ;zlib.output_handler =
    + q9 _5 I; \8 y# y/ T% d  F( Q

  271. . C: c: Y) s7 p0 v5 b
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    ' ?3 Q1 w. x: S7 W8 T8 }
  273. ; automatically after every output block.  This is equivalent to calling the
    . ~0 |1 Z5 N' u/ C* [- }
  274. ; PHP function flush() after each and every call to print() or echo() and each
    ! U: b6 q  p$ v( c
  275. ; and every HTML block.  Turning this option on has serious performance
    / n2 X: p* v# l9 d( r4 {! Y
  276. ; implications and is generally recommended for debugging purposes only.% v5 R: W4 P) p+ H! N
  277. ; http://php.net/implicit-flush0 |( g" Y* p/ P
  278. ; Note: This directive is hardcoded to On for the CLI SAPI+ @) ^" R! v3 ^* J6 r! t) n
  279. implicit_flush = Off
      p+ s2 ]$ |  C% @$ ]1 q  l6 \1 [9 X

  280. , T! ?- D- @& x; H7 G: }
  281. ; The unserialize callback function will be called (with the undefined class', ?4 F3 k: C" S9 g4 \% V
  282. ; name as parameter), if the unserializer finds an undefined class) k! i& D, H# x% `2 W0 j6 ]
  283. ; which should be instantiated. A warning appears if the specified function is4 l: A& L, o+ c5 R% \+ q6 X9 _
  284. ; not defined, or if the function doesn't include/implement the missing class.
    + Z5 B. p6 u# ?- Z9 `- ^; q
  285. ; So only set this entry, if you really want to implement such a6 [: K  i6 _8 H" d; L9 ?
  286. ; callback-function.7 ~* n+ ^7 a8 Z8 b) y$ V: P/ G. y
  287. unserialize_callback_func =; j' g& [  }; y* i5 A. b5 [
  288. , \- L& g' [  G. m; b! n
  289. ; When floats & doubles are serialized store serialize_precision significant
    & u! {8 d5 K+ P6 R, O. F- z8 \
  290. ; digits after the floating point. The default value ensures that when floats: ?$ y( L, K% ~: {! v- d: R; [
  291. ; are decoded with unserialize, the data will remain the same.
    0 M( O% q2 k# c6 e" u
  292. serialize_precision = 172 s$ x6 @0 J5 l9 a' a9 w4 d
  293. / T# I0 \' a6 F( }5 [0 H
  294. ; open_basedir, if set, limits all file operations to the defined directory/ k' H( r0 E+ I: ]$ c) v/ M  s) M
  295. ; and below.  This directive makes most sense if used in a per-directory
    7 f9 ~, g" x3 Z9 b
  296. ; or per-virtualhost web server configuration file.
    9 ^5 S& g: X2 [! u+ W3 j
  297. ; http://php.net/open-basedir
    3 Z5 [7 m0 m2 `- y3 Q3 ]! k# R
  298. ;open_basedir =
    5 [  k: M4 G9 [& {" ?
  299. * o, ~' ^$ h- ~# K& J# [. U
  300. ; This directive allows you to disable certain functions for security reasons.
    4 ?5 s/ ~% ?  z' |
  301. ; It receives a comma-delimited list of function names.; r% [6 R, r! g% L. i7 N) n" O
  302. ; http://php.net/disable-functions
    1 o( N1 j( R8 U( z
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru' h7 p/ z$ ]2 J0 ^. x( W5 C
  304. 5 P7 {6 p8 x( d: ?+ Z. [
  305. ; This directive allows you to disable certain classes for security reasons.: G( e/ l6 r- ~9 ]( ~  y! @
  306. ; It receives a comma-delimited list of class names.
    , @2 i9 }# I8 R/ t
  307. ; http://php.net/disable-classes
    % i2 b" s* a2 ?6 @
  308. disable_classes =
    2 [) _4 d0 H" `; ~7 y# t: Y

  309. 6 U& O! q3 b" T# W% l7 r
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    5 L4 M$ Q' v5 B# t4 c! L0 L4 J
  311. ; <span style="color: ???????"> would work.
    , S$ A% w2 t, l" a# D/ H# j# ~
  312. ; http://php.net/syntax-highlighting
    , Q# ^1 z2 ^3 s
  313. ;highlight.string  = #DD0000
    / m; ]$ |, J, @+ ~; Z9 T9 {* v4 f5 G
  314. ;highlight.comment = #FF9900
    - S0 r$ [& ?% e: A
  315. ;highlight.keyword = #0077006 [7 \, G9 i5 w" `) _; T
  316. ;highlight.default = #0000BB
    9 _9 p1 R5 b* G5 U" C& A, s* t
  317. ;highlight.html    = #000000
    - n1 E  e  ^/ r: h+ k
  318. . [: q* A: k9 a
  319. ; If enabled, the request will be allowed to complete even if the user aborts6 S0 r6 t0 i( a$ m; o
  320. ; the request. Consider enabling it if executing long requests, which may end up
    1 @7 J/ l, ]" m
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior" h/ f  N, `& q- j0 z1 n
  322. ; is to disable this feature.
    ' h/ C, l; o6 w$ a9 r" s9 \
  323. ; http://php.net/ignore-user-abort% F5 `& o% ?: R# w9 q# Z6 L' B
  324. ;ignore_user_abort = On0 c- r& g! Y2 q2 }

  325. $ T4 d) e: \: o
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    . w  |7 R/ J& r+ i0 c1 l
  327. ; be increased on systems where PHP opens many files to reflect the quantity of! E1 m8 p2 W% C8 i; m
  328. ; the file operations performed.
    9 x  Q: e* b7 k7 I
  329. ; http://php.net/realpath-cache-size7 m% c- v/ }( R& o, e6 T
  330. ;realpath_cache_size = 16k5 D" X$ j4 J7 O

  331. ' T! C  F" j# W, b8 v
  332. ; Duration of time, in seconds for which to cache realpath information for a given
    + c4 M& U) f/ K" W" l/ T
  333. ; file or directory. For systems with rarely changing files, consider increasing this( U8 j; A+ c* i
  334. ; value.* O8 d) x7 Y  I: o
  335. ; http://php.net/realpath-cache-ttl8 u, q  f/ T% k; d. `7 n7 A
  336. ;realpath_cache_ttl = 120; B! [1 C6 j( ^7 Y: m1 }9 G

  337. 2 f5 Y, K. B! ]! T4 n5 }* y; f4 [
  338. ; Enables or disables the circular reference collector./ l9 r" b# S9 J4 F8 g2 _, \
  339. ; http://php.net/zend.enable-gc
    4 ~+ j6 E/ {9 R* Y7 ^4 V9 j3 T
  340. zend.enable_gc = On# W8 z) P0 Z2 W/ ?% p
  341. 2 _: Q+ r0 u2 y
  342. ; If enabled, scripts may be written in encodings that are incompatible with) m) g: f/ E7 |2 {- k/ J7 P
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such$ H  [& c# y  c- [4 b
  344. ; encodings.  To use this feature, mbstring extension must be enabled.$ x4 w8 D) l2 h2 [/ ^; n5 y
  345. ; Default: Off) R* L2 j) |" D9 M1 K4 l, f
  346. ;zend.multibyte = Off- j  I$ ?% y7 g% k

  347. - T" V' ?; o8 ?$ o$ N; W
  348. ; Allows to set the default encoding for the scripts.  This value will be used
      L& _9 D4 T% Y" T6 X9 m- h8 y4 ?3 t
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.+ z( ^! M6 S& @7 d
  350. ; Only affects if zend.multibyte is set.  }2 q. D! Q0 w9 B( S
  351. ; Default: ""
    0 ]% h- F' C4 ~$ v: }7 x& U/ b1 F0 P8 w
  352. ;zend.script_encoding =0 w, a" J7 c- S1 T

  353. ; f$ Q, i4 p, X
  354. ;;;;;;;;;;;;;;;;;
      u7 D2 N& O# j; n$ p6 G
  355. ; Miscellaneous ;
    " Y+ L$ g0 G- x+ V  Y, f+ \  Q
  356. ;;;;;;;;;;;;;;;;;# U2 l" d8 C3 d6 s6 V) c% T: H9 p6 N

  357. - x" g8 P7 r6 c
  358. ; Decides whether PHP may expose the fact that it is installed on the server% z; U5 J, Z& e8 I! R
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    4 W% {' x  s/ r" D7 f
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    / T, m1 x, [% I$ Y. H0 y( L
  361. ; on your server or not.
    ; v) |: X* E, Q: `/ ?: E
  362. ; http://php.net/expose-php4 ~5 |' g1 d" ^. |2 {
  363. expose_php = On
    5 I  B2 C' ?3 g% Y, c- r4 \

  364. 9 A' ^" x* q! X' Y
  365. ;;;;;;;;;;;;;;;;;;;6 b, P/ ?) \( J. q8 l, X
  366. ; Resource Limits ;* N3 D* e# X6 p! C# g
  367. ;;;;;;;;;;;;;;;;;;;% a, V- H, O! O) b6 {) L
  368. ' g: C  T1 D( X" N$ W0 `- ~
  369. ; Maximum execution time of each script, in seconds! F) z4 |) Y8 I& b. O
  370. ; http://php.net/max-execution-time" L" S* {  L3 e9 D- J; ^* t8 G4 ~8 P
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    - F. ?* Q! M, @/ L! G6 A
  372. max_execution_time = 3001 `8 V$ Z6 r1 u0 {. L

  373. 5 v8 r8 G% N  H; g5 X2 @
  374. ; Maximum amount of time each script may spend parsing request data. It's a good: L7 H& T# G' n( N3 K' k( d
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly+ u% |0 L' y) \7 P
  376. ; long running scripts.
    2 D) P: Q5 Q! T0 z7 i, @" K4 j
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    ( D" g* P% J6 v2 {" W1 i5 w
  378. ; Default Value: -1 (Unlimited)
    / d. M4 j1 ~+ R% z- j- v
  379. ; Development Value: 60 (60 seconds)4 b; B9 b% p$ Z! \7 T& [
  380. ; Production Value: 60 (60 seconds). U4 i( O, B6 j4 \( R
  381. ; http://php.net/max-input-time
    1 v) J) i3 r! o0 \# ^5 e) I; [6 t2 K
  382. max_input_time = 60
    6 U7 ~; w& u9 p) w- p; w
  383. 4 `) j7 c* c2 {. g7 q
  384. ; Maximum input variable nesting level
    0 g# ^' j* g3 I% w' ^0 s
  385. ; http://php.net/max-input-nesting-level
    9 Q, |# ?1 j, Y: h: r9 u+ A" m
  386. ;max_input_nesting_level = 64- y4 q0 U4 D( J7 Z9 ]* a& m

  387. 6 m" w) N) N# y2 S% J8 V" A
  388. ; How many GET/POST/COOKIE input variables may be accepted+ G+ s& h5 A8 {$ p( j3 L/ G! R
  389. ; max_input_vars = 1000" I. U% s" j3 }- q
  390. 7 \, c) I4 Z8 A, T/ I  [+ ^* B+ G: w
  391. ; Maximum amount of memory a script may consume (128MB). I2 _) m. N- M7 k
  392. ; http://php.net/memory-limit* z  P5 T% j3 Q
  393. memory_limit = 128M) H6 Q: o5 P9 K! O& ~% W9 y, A

  394. / p% a4 l  w% k2 D, @: o; I4 g( [
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;, Q$ X0 I. _. S; H% h
  396. ; Error handling and logging ;
    * U: |2 E: D6 l7 e/ j6 M! T% u
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7 R1 s' ?4 I& Z$ S
  398. ; j/ A2 B+ u% e  U3 T9 i
  399. ; This directive informs PHP of which errors, warnings and notices you would like+ G* w+ P$ w# W$ l, P$ b- [
  400. ; it to take action for. The recommended way of setting values for this, c$ \: J; s" i" L* t% _8 |: K
  401. ; directive is through the use of the error level constants and bitwise
    ; a' V8 i9 @9 D, Z- j- `: _
  402. ; operators. The error level constants are below here for convenience as well as1 o: E0 }  V5 \1 w
  403. ; some common settings and their meanings.
    3 ?, r! ^. a; E$ _
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT' m+ N+ ]9 J. ?# y/ w
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and! v2 d- _- Q( d5 }
  406. ; recommended coding standards in PHP. For performance reasons, this is the* d/ d/ A+ r* g3 n. N
  407. ; recommend error reporting setting. Your production server shouldn't be wasting3 E& [" m: t/ i# C4 F
  408. ; resources complaining about best practices and coding standards. That's what
    1 c' f: F. i! i' A  Z. E
  409. ; development servers and development settings are for.' ~$ K0 F7 L( X( m5 |$ b" E
  410. ; Note: The php.ini-development file has this setting as E_ALL. This: \* u6 T# z! G0 V2 Z0 E. c! R
  411. ; means it pretty much reports everything which is exactly what you want during! G. A! Z. c& L  \
  412. ; development and early testing.9 \. M+ n! i4 z" m3 R! d
  413. ;
    ( A2 X: m+ u1 Q' c; o
  414. ; Error Level Constants:8 x: X1 b, i. S0 F/ L' Y* S9 \
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)0 ^# f5 Y7 B' F. p' {2 s: M
  416. ; E_ERROR           - fatal run-time errors
      Z9 X0 ^8 L% o4 i6 u
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors& d* k: E1 D+ s7 }% B1 l
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    4 M0 v; B# l/ }
  419. ; E_PARSE           - compile-time parse errors
    ' w: d8 j. X: g; ]) _1 Q* s1 f+ D
  420. ; E_NOTICE          - run-time notices (these are warnings which often result+ d3 [  Q. `5 f/ J6 j7 T& U
  421. ;                     from a bug in your code, but it's possible that it was  f/ A! m4 f8 z% a7 S$ G
  422. ;                     intentional (e.g., using an uninitialized variable and3 [! I7 v& U: O( k( S" K$ v; E
  423. ;                     relying on the fact it is automatically initialized to an
    6 U( Y9 j/ l5 |
  424. ;                     empty string)
    2 i! _4 N: t0 e$ O" h
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes4 p" V) C9 x: z5 [
  426. ;                     to your code which will ensure the best interoperability: Z2 L' D# v) t( N3 p
  427. ;                     and forward compatibility of your code
      V- H( c, R- g
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    ) N( [5 B* k7 r) E2 n' u  z
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's* Z4 T1 Q1 W! B: t' X0 e0 z
  430. ;                     initial startup
    " |0 @- W( S- X; w- i1 P* O$ d
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    7 c' I. I! H; A( C5 \
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)7 k: [6 t2 l! C* H2 M9 e" O
  433. ; E_USER_ERROR      - user-generated error message
    " A2 e3 i1 t! d% C( {
  434. ; E_USER_WARNING    - user-generated warning message
    6 v0 W! G" j1 q+ z& q
  435. ; E_USER_NOTICE     - user-generated notice message5 d4 H! h! y+ G: J, e! Y" N# ]
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    / |3 J! [2 M: c8 ?
  437. ;                     of PHP. ?& {3 [5 j; Y
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    0 ^, n+ W# w8 ^* ^# n1 @7 d# V  I
  439. ;) F1 c9 q! X7 }, z% R
  440. ; Common Values:+ r5 d& U" R) b$ P
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)7 p; P3 q2 \- E7 k
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    ; p# g: \5 j: H5 _" u* q. y" D; P
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)/ V' F5 T! l6 p5 [( a" D
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)# t0 }' }6 ^* F4 K( `8 [
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    . }: D6 C. I; c$ q3 H+ A
  446. ; Development Value: E_ALL
    6 A* J$ t0 Y# v8 Y# d9 v+ h
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT. d' M8 I* g+ C7 b, N9 x6 M
  448. ; http://php.net/error-reporting5 T( @. }1 p* H3 O
  449. error_reporting = E_ALL & ~E_NOTICE
    ) \! ?6 [* ?4 x; E- T
  450. ; ]* g, `1 l* M7 ^- G, Z, V
  451. ; This directive controls whether or not and where PHP will output errors,5 S% U4 Z6 z& k
  452. ; notices and warnings too. Error output is very useful during development, but7 Z0 N2 l- f8 `. ^
  453. ; it could be very dangerous in production environments. Depending on the code
    3 u( V$ r! ?! w% y7 _
  454. ; which is triggering the error, sensitive information could potentially leak
    * @# h. ]! V- ?; V; q' ~
  455. ; out of your application such as database usernames and passwords or worse.
    ' `4 S  j9 o( W
  456. ; For production environments, we recommend logging errors rather than: [8 Y! B2 j+ ~% b6 W
  457. ; sending them to STDOUT.0 Q1 N& N% Z- r' L. y$ Y
  458. ; Possible Values:
    * J6 J5 @7 X( w  {6 L& a
  459. ;   Off = Do not display any errors
    * _3 T6 [  A; D0 w
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    7 X3 j7 ]+ i4 F
  461. ;   On or stdout = Display errors to STDOUT
    6 n7 n: k  T3 b
  462. ; Default Value: On
    1 v5 {# B3 T& X' [, W( a2 n
  463. ; Development Value: On. F% W6 k) y4 N; f6 X6 }
  464. ; Production Value: Off
    # J$ ]. m" {& e% p" u' z! q" Q8 [* B
  465. ; http://php.net/display-errors
    + q7 K" G: X# w2 ^: k/ ~
  466. display_errors = On. h" f$ O6 G4 |- `6 Q1 J

  467. 2 y2 E; o, }; p2 y% E0 a
  468. ; The display of errors which occur during PHP's startup sequence are handled
    0 g) k; N3 x6 n  {3 @
  469. ; separately from display_errors. PHP's default behavior is to suppress those  N! u- |/ i- l, e) [9 A
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    # T( ]. l4 I( a! a+ R  ?2 g' r
  471. ; debugging configuration problems. We strongly recommend you% ?; B/ r. j) ?/ Y
  472. ; set this to 'off' for production servers.% i( v  @3 v6 X
  473. ; Default Value: Off3 Z! Y, Y# j1 h1 `! {/ N3 z2 i9 p
  474. ; Development Value: On% o8 ^: V( w+ R& [5 {0 V
  475. ; Production Value: Off
    # E) d$ O8 Z/ S2 D& L& o
  476. ; http://php.net/display-startup-errors& L) w- e0 Z) G( e! r
  477. display_startup_errors = Off9 Y5 l" j! p) N: u; y

  478.   M! s7 A  r: _% I& |
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    4 N- H; c+ `# ~; g  ]
  480. ; server-specific log, STDERR, or a location specified by the error_log
    ! G8 e4 Q+ q+ O& T( N
  481. ; directive found below. While errors should not be displayed on productions. |; b4 E& D4 }3 }. Y8 Y2 k$ k
  482. ; servers they should still be monitored and logging is a great way to do that.
    ( S8 j% e$ Q% _. I% r0 V4 s7 p5 {, Z
  483. ; Default Value: Off
    % G$ w+ t  ]( Y. H* c
  484. ; Development Value: On2 C7 Z& B2 g: g& e" W3 {5 T
  485. ; Production Value: On
    0 k& J( w6 i# L- ~* y4 n5 ^- b
  486. ; http://php.net/log-errors3 k  g* Y2 s( [' _2 s8 a) u
  487. log_errors = On
    / v+ @3 k9 R: y' q5 v

  488. / ?4 d# H& m: ~0 j; I5 B5 _
  489. ; Set maximum length of log_errors. In error_log information about the source is
    % e) E  k5 n* a( e3 b: S
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    " B% v3 }: q6 ~$ h
  491. ; http://php.net/log-errors-max-len
    ; [/ R' i# h4 i
  492. log_errors_max_len = 1024
    0 z- c, l( _! L4 H* M* d
  493. / V9 P& O1 L! u; q
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    ) l5 a- v" V3 k. P, v: ^3 c7 G
  495. ; line unless ignore_repeated_source is set true.
    - m* e0 D$ p7 q* j: u) G' m
  496. ; http://php.net/ignore-repeated-errors  g: `  }' o/ K5 t! U) N: ]
  497. ignore_repeated_errors = Off
    3 |' {  ~. ?7 L. c6 I

  498. 7 ~# R. u  D0 @1 `/ |
  499. ; Ignore source of message when ignoring repeated messages. When this setting) U4 o1 C  ?: W; g9 I! P
  500. ; is On you will not log errors with repeated messages from different files or
    , v" H9 s  K" l) t* H; H6 S
  501. ; source lines.- U& U) G, \6 U5 V
  502. ; http://php.net/ignore-repeated-source
    4 q; ^  O0 H& b& r- l" O2 G- K
  503. ignore_repeated_source = Off$ \& R; }% P+ H2 ]' |* j" v+ l

  504. 4 e$ S# [1 V* C1 U8 b; T
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    ) j0 O! @- p1 y: l7 W. q
  506. ; stdout or in the log). This has only effect in a debug compile, and if! e4 A8 Q6 `% [
  507. ; error reporting includes E_WARNING in the allowed list
    3 f1 E3 d3 V3 S1 ?1 E* \3 ~* Z
  508. ; http://php.net/report-memleaks3 b; u& d) L6 C: i" r2 ?
  509. report_memleaks = On. x/ v( @+ H  N
  510. * \/ R( n& G! n! d
  511. ; This setting is on by default.
    9 D; W. S4 _5 U2 g: P6 Q$ G) P1 X
  512. ;report_zend_debug = 0
    ! w3 K8 [0 c; K7 z5 f) X9 @" X
  513. 3 a! n# _% p$ i# B; {, D& c( t
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value  ], d0 Z7 T2 t7 ^) l4 z% K. f
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    0 w; O, O- _+ i2 V! s
  516. ; however be disabled on production servers.  i0 Z3 _" b" r( d. Y% V# \
  517. ; Default Value: Off2 k- x+ s: ^# r! K. ]6 j9 j" F
  518. ; Development Value: On; Y" i& O! q: o
  519. ; Production Value: Off( E/ Z( E: E3 `# Z6 C8 ^9 u1 z
  520. ; http://php.net/track-errors
    - e$ l& J, @: j" W
  521. track_errors = Off( C$ m6 z, U, k- S; P, T. Q
  522. 1 E! x" }! @$ Y7 `7 W* h) \" z7 J2 g
  523. ; Turn off normal error reporting and emit XML-RPC error XML
    ( v1 n; S2 i& k  R9 O
  524. ; http://php.net/xmlrpc-errors# B4 {1 G+ L7 y
  525. ;xmlrpc_errors = 0
    ) l  k* e- U2 c0 r3 F) Z+ l
  526. 9 |- @5 j7 u4 h' r, D
  527. ; An XML-RPC faultCode
    , v% j( \! o( j: B! _
  528. ;xmlrpc_error_number = 02 E2 u5 p! P! M4 F3 z, x

  529. ' A* b" C8 h& M
  530. ; When PHP displays or logs an error, it has the capability of formatting the$ Q/ r& e% M/ z/ t& I
  531. ; error message as HTML for easier reading. This directive controls whether$ D/ L" V$ X) g
  532. ; the error message is formatted as HTML or not.3 o. Q9 w, E+ o6 B( S; {
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ) _! ~$ l2 |4 R2 l/ L9 v* r' s
  534. ; Default Value: On; I: L  T9 S% w: ~7 j
  535. ; Development Value: On1 o" L* p6 @- Q$ w* [+ x
  536. ; Production value: On; p: P4 |  b9 s, h5 j8 V2 L: G
  537. ; http://php.net/html-errors$ V* @" t7 O9 u
  538. html_errors = On
    . o, ?& L+ ^# s& Q1 \

  539. 8 w; U! L, O+ y. ]
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    ) _) r1 {6 H5 j% \
  541. ; produces clickable error messages that direct to a page describing the error
    ' B' S8 r: s8 D; O; K
  542. ; or function causing the error in detail.
    8 q3 l( P- p! ?7 i2 n8 ?& u' X0 Z
  543. ; You can download a copy of the PHP manual from http://php.net/docs4 D, r! R" r+ k* n( u5 e
  544. ; and change docref_root to the base URL of your local copy including the5 f6 R* Y2 v# `1 m( g6 K+ G
  545. ; leading '/'. You must also specify the file extension being used including3 I& C% {' ]" N3 h( K% n" J" k/ Q/ I
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which2 v0 `  [$ q: Y4 a
  547. ; case no links to documentation are generated.
    / ?* \. F3 @( ]5 j+ K6 R* b, x
  548. ; Note: Never use this feature for production boxes.
    $ A) i3 ~& l4 N4 k. U6 w# F8 E; A
  549. ; http://php.net/docref-root7 P, t* Q2 N$ F/ j2 R6 @* L
  550. ; Examples  |. \  v# N) h. U  l) y
  551. ;docref_root = "/phpmanual/"
    8 e& l  V  Q% z
  552. 6 @. d+ u7 ~) q' w+ F! Y
  553. ; http://php.net/docref-ext; F5 }( @2 P4 J9 Q
  554. ;docref_ext = .html1 C+ S7 T  K, k5 m. ]/ k8 W8 ^7 }
  555. : V9 P3 A3 ~3 V* v! Z
  556. ; String to output before an error message. PHP's default behavior is to leave, _3 A& m1 B9 A8 ^
  557. ; this setting blank.
    ) D8 _8 q4 R3 [
  558. ; http://php.net/error-prepend-string
    ( @6 ~8 |0 c8 S8 F' M/ u1 a/ |
  559. ; Example:
    2 G0 ~# x5 g: _( R
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    , E  K" V4 n, `4 k% k* y
  561. 9 q+ l" R4 o: l; k& ~5 U3 k4 z
  562. ; String to output after an error message. PHP's default behavior is to leave, x1 O5 g0 T8 u" S, ~2 z
  563. ; this setting blank.
    4 ^) G) x' `+ V) M1 b' g
  564. ; http://php.net/error-append-string
    ) g& `6 G+ I4 K& R5 D
  565. ; Example:
    7 z; G2 i+ d: K! y  N
  566. ;error_append_string = "</span>"
    & D. J  Q+ L, g/ V" K4 I

  567. 5 x) y4 m3 O0 A5 Q
  568. ; Log errors to specified file. PHP's default behavior is to leave this value; `: B0 M9 W, r3 I# {
  569. ; empty.- G- h( a! q6 E% A( l7 M
  570. ; http://php.net/error-log. D( D: i9 h$ y) M( ?
  571. ; Example:" n* @" Q6 C/ z  Q' d5 k
  572. ;error_log = php_errors.log
    0 z2 J! F' u; j7 f: Z+ J; u
  573. ; Log errors to syslog (Event Log on Windows).
    + |; c- x& _6 C5 \
  574. ;error_log = syslog
    0 X# b6 {0 [3 `4 E$ s" |0 t! i) `
  575. " a, P* |/ ~4 i9 d
  576. ;windows.show_crt_warning6 J& f7 K- W- p1 d9 \0 x
  577. ; Default value: 05 w. Y4 P% x! h4 v- E" \
  578. ; Development value: 0) Q5 `# s: S" m3 j- Z  d8 E3 k0 |
  579. ; Production value: 0" l. u& s7 k/ v0 A6 w

  580. & d" M; E; E$ ^, R/ y- u) {: O
  581. ;;;;;;;;;;;;;;;;;
    ! M$ S/ [" ?! u# w$ H5 F/ ~
  582. ; Data Handling ;
    & n! L) M: s+ l' R, u9 g4 ?
  583. ;;;;;;;;;;;;;;;;;* V5 f1 j4 E/ H  Z& |. u

  584. ; C, v5 X4 a6 C7 G* g% L. X4 _0 @
  585. ; The separator used in PHP generated URLs to separate arguments.
    & w8 _+ N6 q2 R# ^& ^
  586. ; PHP's default setting is "&".
    0 s, X. N# L, P* @% f1 ~
  587. ; http://php.net/arg-separator.output' B# Q) X7 C  q/ Y3 u5 r3 e. y
  588. ; Example:1 o; w9 i+ A) P% h$ Z- A! y) c
  589. ;arg_separator.output = "&amp;"5 F  p/ X; w0 r  c; F
  590. 1 z2 I7 j8 ?' r% }) ]
  591. ; List of separator(s) used by PHP to parse input URLs into variables./ y8 K" a7 M% Z" B* q% U( C0 s
  592. ; PHP's default setting is "&".& c! G4 x" y- {! w: X: {/ k" k
  593. ; NOTE: Every character in this directive is considered as separator!* G6 A! X4 K6 N# c/ [5 S6 G8 Q" I
  594. ; http://php.net/arg-separator.input. I+ s! d; ]% e, V8 i  P! P
  595. ; Example:
    ! ~& i. t9 L, E: B5 g& O, M; L( s# `
  596. ;arg_separator.input = ";&"9 z$ P' d5 `- N7 h7 L

  597. 3 P) n  I* d3 A% o9 A
  598. ; This directive determines which super global arrays are registered when PHP1 E# O& G9 M3 H8 R9 x9 s6 a
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super2 g5 q4 k" f) u5 \; C8 d2 I
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    + R1 B6 P- G( k: p  A
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    % I# B- g* s9 I; A& o$ @
  602. ; used as the others, ENV is not recommended on productions servers. You
    & K. ?' ?' K- I9 f# `" R% d! U5 Y
  603. ; can still get access to the environment variables through getenv() should you& p8 ^4 S( ^; |5 b" P( m" ^
  604. ; need to.
    5 v$ J% n- T( [% _
  605. ; Default Value: "EGPCS"3 u2 L4 L0 Y7 z
  606. ; Development Value: "GPCS"
    ' O4 Y7 L- W- t
  607. ; Production Value: "GPCS";$ z' l% |$ \, C
  608. ; http://php.net/variables-order
    ! G8 U" N2 W0 \
  609. variables_order = "GPCS"2 u. ~6 U' g( o
  610. 3 i9 e+ }; T& e3 s. n
  611. ; This directive determines which super global data (G,P & C) should be* I0 u1 j7 x# j3 A2 h/ M% n
  612. ; registered into the super global array REQUEST. If so, it also determines9 L9 t( P' u7 i
  613. ; the order in which that data is registered. The values for this directive
    ) X- T/ r6 Z: v7 u6 O  k
  614. ; are specified in the same manner as the variables_order directive,
    & z7 }, k! d6 V' i+ y
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set" ~# h( X! n2 o
  616. ; in the variables_order directive. It does not mean it will leave the super
    + W1 |- k* H1 C- {6 G' G
  617. ; globals array REQUEST empty., K* [% t; F' J* Y0 {
  618. ; Default Value: None
    " F2 M9 R5 S8 {. K
  619. ; Development Value: "GP"1 H1 j6 d* S" h
  620. ; Production Value: "GP"  ^3 `: j: d: J9 A6 W+ g* K5 U3 E
  621. ; http://php.net/request-order/ J' K$ t) L* g8 ^
  622. request_order = "GP"8 p  D1 P! U1 u# @' z7 ?

  623. # R& ~1 j9 q- k8 m
  624. ; This directive determines whether PHP registers $argv & $argc each time it" s* `* c5 R: n# \, D
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    * I& o0 I( Q# [- ?; I) m; B9 m
  626. ; is invoked. $argc contains an integer representing the number of arguments* y9 ~9 X) I! q
  627. ; that were passed when the script was invoked. These arrays are extremely% D8 V9 K1 z" z1 r# z4 `5 w
  628. ; useful when running scripts from the command line. When this directive is, `  g+ Z- f9 T; B3 Q( C+ A
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    ! h0 K) T( y6 Y$ R' F) i
  630. ; a script is executed. For performance reasons, this feature should be disabled
    8 e. g% Z1 ^6 z* h- I4 I% k$ c
  631. ; on production servers.2 b; Y. n' _" y# g
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    + Q/ `. S( p9 x1 o" E6 {0 O( L* j) B
  633. ; Default Value: On8 ^( `+ N5 {# U/ i) t3 ?
  634. ; Development Value: Off6 q! l( E1 e5 D% F0 O7 [% w- Z
  635. ; Production Value: Off3 ]2 ?* F" @  T; P& ]
  636. ; http://php.net/register-argc-argv
    * W( ~3 D+ W- ]! Y5 K- y
  637. register_argc_argv = Off
    3 g; s$ o% X4 c+ n& e  L- I
  638. # y( W+ i* @9 e4 ?6 n5 V. Z
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're) `* U+ r; ]. f8 S+ B8 G
  640. ; first used (Just In Time) instead of when the script starts. If these
    6 b. Y. }$ x$ H) ?. e; }
  641. ; variables are not used within a script, having this directive on will result
    " a, V6 b8 \- m! `* }1 ]& V$ {
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    2 X+ o% I- b# W& C( V( g" }8 J
  643. ; for this directive to have any affect.. F' A; s& u4 N, {" t5 R2 ~. ^
  644. ; http://php.net/auto-globals-jit
    : f+ C8 A/ Z8 J4 H% B& L+ ~
  645. auto_globals_jit = On
    ! K6 A" w. [) K# y. b

  646. 1 ?& ]  e9 ~# D9 a4 B* h1 _7 d) }7 y
  647. ; Whether PHP will read the POST data.: b) @. F; T  X0 _/ l5 _
  648. ; This option is enabled by default., v/ G9 ]2 @( x) D8 z
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    ) m+ A, M6 G5 R, ]& k6 c1 n
  650. ; and $_FILES to always be empty; the only way you will be able to read the2 \0 Y2 T) v3 g( X7 R
  651. ; POST data will be through the php://input stream wrapper. This can be useful
    % u0 E& J8 l4 o8 X: Y4 P
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    / P* f2 v* k+ z$ l8 t& |
  653. ; http://php.net/enable-post-data-reading; w& L  N2 H0 \0 q* W3 \
  654. ;enable_post_data_reading = Off
    5 ^- a) S7 W% \0 \# |8 u' q3 Q! E

  655. 4 E8 `: i/ X( C" B4 a
  656. ; Maximum size of POST data that PHP will accept.
    9 q6 x. @; [# L1 C# b" ]
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading' g% }7 q: Q3 y% {
  658. ; is disabled through enable_post_data_reading." s' h. Y. `$ F, a) S* `
  659. ; http://php.net/post-max-size
    * ^6 }. u$ d7 \) ?' |" t
  660. post_max_size = 50M$ E8 Q$ K4 i/ p7 h& H  h4 j: i

  661. 5 O4 W/ T- ?7 m$ W
  662. ; Automatically add files before PHP document.  H. N5 X0 S4 a3 K  I. V. c
  663. ; http://php.net/auto-prepend-file8 C4 n" x' w/ S/ g- f4 U
  664. auto_prepend_file =
    4 D: _4 X: j; a% b3 L

  665. / e( [5 z# o6 ]2 t1 R* q% k
  666. ; Automatically add files after PHP document.
    , @! q+ Y  W# H: D* M7 Y
  667. ; http://php.net/auto-append-file
    / `1 U) [6 F. m; M
  668. auto_append_file =( ?' R' U& b% i3 z/ F$ {$ q
  669. 3 Q% S1 Y7 f! |& @1 W' n
  670. ; By default, PHP will output a media type using the Content-Type header. To" @# R$ I4 J5 N( S
  671. ; disable this, simply set it to be empty.
    0 D; B: Y$ |  }- n; t
  672. ;4 ^) U# A! _6 M2 _) Q
  673. ; PHP's built-in default media type is set to text/html.8 d  S! n$ W, F; ]( E
  674. ; http://php.net/default-mimetype# O3 e) g, y0 r- k
  675. default_mimetype = "text/html"; t( e) ]7 ^( J* `

  676. ) c9 D" J. @6 k. N; M: K4 H- Y/ ^
  677. ; PHP's default character set is set to UTF-8.
    1 S  M0 @' l( S/ H2 Y2 o& i3 ?9 j
  678. ; http://php.net/default-charset
    $ b+ W, r( {1 r
  679. default_charset = "UTF-8"
    7 S2 L4 `0 \7 R8 V, r; r* X! f

  680. 1 o. i. \" j* @8 ^
  681. ; PHP internal character encoding is set to empty.3 b. M0 l& c$ _% d
  682. ; If empty, default_charset is used.
    " @% m# k, G2 p4 H" o3 ^7 T( M
  683. ; http://php.net/internal-encoding# z! d, v5 H# w* N6 N# e# R" l
  684. ;internal_encoding =( M9 g& a9 {" H0 @: e: Z
  685. ) v) p  ]- Z% v$ D4 X
  686. ; PHP input character encoding is set to empty.0 z; D) t/ i& g4 W8 H: N
  687. ; If empty, default_charset is used.
    1 J6 U7 ^: o/ [
  688. ; http://php.net/input-encoding
    ' t" J3 D" q2 n) X
  689. ;input_encoding =1 v. B! Y+ c7 V0 Y) ~

  690. ( |( k7 u* F7 f$ ?5 j2 q, c7 b8 k9 M
  691. ; PHP output character encoding is set to empty.. k4 x& C1 g: z, N% Z
  692. ; If empty, default_charset is used.
    - D5 ]2 a0 r1 P( @  h/ F7 ^
  693. ; See also output_buffer.1 j: c3 p5 M% Q0 R# X
  694. ; http://php.net/output-encoding, X0 [* \  S1 h# k5 o$ u7 B
  695. ;output_encoding =
    ! G8 y+ s/ E5 g1 I7 E
  696. ! n* g/ C: X3 K( e9 Q3 m7 Z
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    - @, c1 m1 ?6 C5 m6 p+ P
  698. ; to disable this feature and it will be removed in a future version.
    1 B. e7 K9 P/ Q4 P6 O( a
  699. ; If post reading is disabled through enable_post_data_reading,
    ' M5 S6 a0 R4 r5 }2 @7 ^/ v6 h
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated./ T6 ~$ N8 k9 V1 c; A
  701. ; http://php.net/always-populate-raw-post-data
    , }7 n+ E- t: m$ l) h
  702. ;always_populate_raw_post_data = -1
    . T( j, Q& \6 F4 ?- a! t
  703. ( o+ E9 v  X* `" {# q
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    . }. f1 |$ b0 t% L3 |5 q* @0 _/ ^
  705. ; Paths and Directories ;
    9 b; z$ p+ \. R$ c; O
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;$ H* d' k* P# f" C# V& U

  707. * l! o6 v/ O1 P. M% F5 p/ `
  708. ; UNIX: "/path1:/path2"9 V- U# a4 H9 ~" }" C/ s
  709. ;include_path = ".:/php/includes": x/ A5 ~3 d" x" Q
  710. ;! t" I( L" Y$ k4 s- o6 W
  711. ; Windows: "\path1;\path2"
    % N6 N; b2 ?- X6 b. ]
  712. ;include_path = ".;c:\php\includes"
    1 x, w" t2 a+ C" g: R
  713. ;
    : b- a. w+ b7 v; B! ^- I9 F
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    ! U) b$ j- i4 G5 M9 }
  715. ; http://php.net/include-path
    1 V3 _  u% n# q/ ?+ A4 W: j. |
  716. , z5 Y7 i* e7 @$ K( h
  717. ; The root of the PHP pages, used only if nonempty.
    8 g- K& t4 |1 g! ?: r' W
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
      t$ _! i' g: U, A, Q& {, s
  719. ; if you are running php as a CGI under any web server (other than IIS)! w! L/ ?: V8 N$ o" I* q& C; N
  720. ; see documentation for security issues.  The alternate is to use the
    ) B8 H7 f1 b& h" S
  721. ; cgi.force_redirect configuration below9 H0 p! O6 E0 C
  722. ; http://php.net/doc-root
    , `3 a9 E5 F" i# |" W/ {
  723. doc_root =0 g; Y' m( u: g4 p
  724. * n. y$ f2 x  x/ F) n
  725. ; The directory under which PHP opens the script using /~username used only
    ( ^$ T; O9 `/ `) P. X5 G% v
  726. ; if nonempty.
    6 _& |! B$ ^6 \: Q
  727. ; http://php.net/user-dir
    % s! U( Q* \# T. g& x
  728. user_dir =
    , o  O" h1 m7 e! R; N  K8 f" q  y
  729. . [- M1 L9 _1 |/ `1 \
  730. ; Directory in which the loadable extensions (modules) reside.3 Z* {# _" b- r) _/ K  p
  731. ; http://php.net/extension-dir/ j. Q$ n" M& M9 n5 L
  732. ; extension_dir = "./"
    ! o. o, W+ ]/ L- P
  733. ; On windows:. s; A7 k* v8 u/ i2 m, Z1 h( n6 Y
  734. ; extension_dir = "ext"
    3 ?2 G2 Q+ o, y9 j8 Y" J
  735. . G/ T; N* m( o! z( T) |. b
  736. ; Directory where the temporary files should be placed.
    . m0 C- T% S: i1 C
  737. ; Defaults to the system default (see sys_get_temp_dir)
    ; x1 W8 q$ g. l
  738. ; sys_temp_dir = "/tmp"
    ) m! L3 a' ?2 Z  v) Q
  739. 9 C) q: }+ Q0 Q9 T; s, J7 `0 [' |+ S
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work& G/ p+ K) d1 ?) A6 V. l
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    - X* s: O$ }( \, @0 i) X
  742. ; disabled on them.3 x4 r/ L) x. J3 [; k! c' D& b5 B
  743. ; http://php.net/enable-dl5 j% t- e  L' u5 u
  744. enable_dl = Off
    " J# |* r( N! z1 w' r
  745. & I( P0 M) A" W. Q3 d; [7 z5 J2 \
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under1 p0 ^/ S4 v1 A( `- U
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    # [: n' [) t; [: _8 @$ m5 T* C
  748. ; turn it off here AT YOUR OWN RISK
    ( q& K/ n! k) v8 |. V/ ~
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**$ \+ u% k6 |. i: J( s3 t+ r6 S
  750. ; http://php.net/cgi.force-redirect+ i! p( L" I8 @. |. ~! [- G& M/ S
  751. ;cgi.force_redirect = 1
    5 K) V8 `4 F" i( l* t

  752. % i3 r( F# V. D- D; d- j
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with7 B) m! c. _' [+ t) R1 y
  754. ; every request. PHP's default behavior is to disable this feature.3 F# E; V+ O  L. p1 V3 N
  755. ;cgi.nph = 1
    & W; l4 T' o" d0 B: _
  756. ( O  T2 _2 J  F: |; Q2 ?
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape' _" P) m' k8 [+ R* ]8 A! j( s8 |
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP3 |. a0 Y7 t; h9 p
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY; C- v4 E" `0 _0 t# E
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.1 ?  R  U0 J$ C$ D& f5 J8 \3 O
  761. ; http://php.net/cgi.redirect-status-env7 o! b- m! q/ N; |
  762. ;cgi.redirect_status_env =- A  x! l: y9 g

  763. 3 M& {7 a4 N8 M5 S' U! Y
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's2 Q. c  ^; K. _% f) \" s( R
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    . T9 `' u+ _$ H& z2 k  y
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting0 C+ E$ K) x0 x
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    + D. b! a6 y% a3 T4 H, L9 {2 v
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts' i- |3 X' t* z1 L3 o
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.1 j3 t5 T' j# h2 l% h: Q
  770. ; http://php.net/cgi.fix-pathinfo4 k  L' I% W4 S. x
  771. cgi.fix_pathinfo=1
    : [) F  b, h- C$ ?( }

  772. + T" ^" s" a( c
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    4 T0 \' X7 M: a! I% _% }7 B" D5 c
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    / N7 f* {. ~/ D/ r7 f
  775. ; http://php.net/cgi.dicard-path7 D1 r9 q4 |2 V& ]0 {- `% H- R+ a
  776. ;cgi.discard_path=1$ ?: k* S& \! g9 x5 z  y8 }0 {9 i
  777. 9 H/ A. ~2 }0 S# f& x
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate$ x+ J1 \2 d# n& e
  779. ; security tokens of the calling client.  This allows IIS to define the
    3 p7 q8 w1 }* J7 e! y
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    7 {, l7 Q" n% `" k$ b
  781. ; does not currently support this feature (03/17/2002)
    & ]4 }1 a& g. B
  782. ; Set to 1 if running under IIS.  Default is zero.3 E7 t7 E7 ~' _( i: }
  783. ; http://php.net/fastcgi.impersonate
    3 ]+ t  Y2 D6 S* z8 r# ~4 h
  784. ;fastcgi.impersonate = 1
    & h) t+ Q7 o) I9 A* D

  785. # J2 p7 d! D6 u% _7 x
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
      Q& ~5 e0 A0 x2 I, y5 _
  787. ; this feature.
    # j* E6 g* k& U5 i- Z" C
  788. ;fastcgi.logging = 0
    5 ?1 [: X( r. }5 X
  789. + y6 Q) D( h$ S3 N3 ~
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to2 i. a# w$ `( e; b0 D" }
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that; C" S+ P4 G1 L! P1 a' S+ b" h1 s
  792. ; is supported by Apache. When this option is set to 1, PHP will send! o0 |: X2 y6 i9 b- }8 u
  793. ; RFC2616 compliant header.) ~( [( h& k1 u3 g6 w$ D7 s
  794. ; Default is zero.
    8 U" k" v' }3 N8 ?4 y( r
  795. ; http://php.net/cgi.rfc2616-headers
    6 O; {' y1 g& i& E4 }% H: U6 w
  796. ;cgi.rfc2616_headers = 0
    5 ]6 N4 Q3 b+ A& V

  797. - \" I; v' y7 B; K6 t! K- S9 i4 s
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    6 f5 U4 _) N7 X# N4 T
  799. ; (shebang) at the top of the running script. This line might be needed if the6 X7 e9 R" j1 G1 i2 ~4 o$ @% c
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    : z7 I8 Z. R- n1 K. ~" X! f0 [
  801. ; mode skips this line and ignores its content if this directive is turned on.0 A- v; L6 x$ Q8 }8 B: {9 L
  802. ; http://php.net/cgi.check-shebang-line
    4 x/ f# t/ q; B7 P# E
  803. ;cgi.check_shebang_line=1& {. e: R% y0 z6 ~" y# X  s6 f' Y
  804. 9 K& _# Y  n/ ~/ \! u
  805. ;;;;;;;;;;;;;;;;
    2 _3 D2 o7 F, k+ j- X/ V
  806. ; File Uploads ;
    $ ?/ X9 c' H; K. i9 D$ I6 ?6 C
  807. ;;;;;;;;;;;;;;;;
    + Z4 y% \0 M. v) b
  808. 3 W7 O; O5 W$ M; d8 n$ y2 k9 ?. z, I) |
  809. ; Whether to allow HTTP file uploads.# q8 K( d+ B% m) K! C  m: Z
  810. ; http://php.net/file-uploads2 ]7 R  [( ]8 {! D6 N: I$ T5 M/ w
  811. file_uploads = On
    4 }7 o( ^, N, p5 h+ {# Q. w

  812. 8 g) g6 y) H1 J: ~( A+ v
  813. ; Temporary directory for HTTP uploaded files (will use system default if not. U) d3 u" U/ s8 Y6 B5 v
  814. ; specified).
    6 k% h, [# `; h" }6 q+ s8 K; p9 ]
  815. ; http://php.net/upload-tmp-dir1 m& ^2 U  x" V$ b  a. z: ~' r. a: K
  816. ;upload_tmp_dir =! \, o- e- M5 v4 B! G
  817. . p3 N  h/ s/ M+ T: j8 {5 L6 D3 a
  818. ; Maximum allowed size for uploaded files.
    ' U  U$ {1 t& V2 d
  819. ; http://php.net/upload-max-filesize( _# n) X/ s( [) t" {; s) M  L
  820. upload_max_filesize = 50M
    " x5 `2 k- T3 I3 K- m5 m4 r

  821. # g* p/ P6 ^# u5 W$ P* a! R# t) M
  822. ; Maximum number of files that can be uploaded via a single request
    5 p5 U) {" w: ^$ p) L
  823. max_file_uploads = 20% ~0 n" W! T) p0 y# ^
  824. 4 K2 E; T* u: }* }: ]* k
  825. ;;;;;;;;;;;;;;;;;;
    ( P* L; O( F5 W7 H5 E
  826. ; Fopen wrappers ;
    - l' n9 B, I! f* m
  827. ;;;;;;;;;;;;;;;;;;$ N7 Z3 E% I3 J- [) ~

  828. : b, ~- F+ k$ a3 y  X
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.0 y+ R* _: M! e
  830. ; http://php.net/allow-url-fopen3 M* N0 Q& E- v+ X& b8 o7 J# J
  831. allow_url_fopen = On5 K3 Y- \6 O* N/ x
  832. # F3 h; C, ~1 {8 m$ T) ?9 e
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    - `& X) c+ f9 w+ C2 [6 j2 j
  834. ; http://php.net/allow-url-include
    7 z  U3 Q3 C0 P. m
  835. allow_url_include = Off
    8 b  o# D5 L7 n: k& Z. M
  836. $ B5 U. u  s4 h/ Y# _
  837. ; Define the anonymous ftp password (your email address). PHP's default setting: [2 P; M2 \2 z$ c& l1 j/ V
  838. ; for this is empty.
    7 Y. e9 E6 j! P1 h" D% H% b* U0 z
  839. ; http://php.net/from( y0 o3 Q* J+ x* A3 I# o) \7 I9 h
  840. ;from="john@doe.com"
    # Q" a8 r) z- s
  841.   U8 J+ l) j2 z/ Q% g; Q: q
  842. ; Define the User-Agent string. PHP's default setting for this is empty.% g1 i) g  T3 `7 h
  843. ; http://php.net/user-agent
    6 b/ e# Q- y$ k4 E7 d' n! y1 S
  844. ;user_agent="PHP"+ }& @. e4 p" b* M9 m2 b
  845. 0 J+ n6 E% c. H( N+ K% @
  846. ; Default timeout for socket based streams (seconds). M4 R0 w6 n* {+ i7 p' i/ S
  847. ; http://php.net/default-socket-timeout& ]/ K/ u& \6 F+ ^. w
  848. default_socket_timeout = 60, f0 X8 v! U( H  s0 K  a! F% C
  849. 2 @* U5 r2 O: u/ a
  850. ; If your scripts have to deal with files from Macintosh systems,
    ( M! B$ |  q% Y4 L# @9 J
  851. ; or you are running on a Mac and need to deal with files from
    1 E4 p# t9 j' Q1 |
  852. ; unix or win32 systems, setting this flag will cause PHP to
    8 b( Z# b. ~$ o$ a% o
  853. ; automatically detect the EOL character in those files so that8 C' z( |9 Z8 |8 T
  854. ; fgets() and file() will work regardless of the source of the file.
    . \! D  b- P5 k3 ^/ L
  855. ; http://php.net/auto-detect-line-endings
    . V- Q' }  F! Y7 P
  856. ;auto_detect_line_endings = Off) V/ j( i4 H" J$ s: l

  857. , v! p0 Q+ @& d) D' Y: Y
  858. ;;;;;;;;;;;;;;;;;;;;;;1 P3 C* i9 b% w4 C, b  J
  859. ; Dynamic Extensions ;
    6 Y! D" P8 I  `9 _+ u
  860. ;;;;;;;;;;;;;;;;;;;;;;! Y6 F) P% x. C$ X& W& p5 s

  861. $ m( B2 k' x6 u# D% d; w
  862. ; If you wish to have an extension loaded automatically, use the following
    . D6 M/ L9 \* x% x# M
  863. ; syntax:
    - H0 l8 N; u( W# _- c
  864. ;/ I3 \6 M& E4 N, A* D6 n
  865. ;   extension=modulename.extension
    * q7 P- s% Z. s# B& O
  866. ;7 I) l. p; _6 U! Q' w; a) C/ }
  867. ; For example, on Windows:
    % M7 L4 k) u1 q) w$ Y
  868. ;
    ( [8 R* _! c: k( a$ {. Z
  869. ;   extension=msql.dll% c& \9 D( Y8 Y* c& n, i) |& c( ?
  870. ;9 {9 A8 U# U  b. z! I
  871. ; ... or under UNIX:1 {4 F. r- `  h+ C& ]
  872. ;
    ! `' g- Y: Y6 W0 I
  873. ;   extension=msql.so
    6 A7 x1 t( A+ r5 P4 y5 n; x: ?
  874. ;
    ; w/ f5 q7 q, ^. ^& ~
  875. ; ... or with a path:, M$ y: t# o: K7 v0 L- M' d
  876. ;5 U. N0 p" ~7 x5 n- r
  877. ;   extension=/path/to/extension/msql.so
    ! g! P# j( @" J  u/ R
  878. ;
    2 w- U, Y7 A% ^6 {& D( B9 l
  879. ; If you only provide the name of the extension, PHP will look for it in its5 [2 g5 f1 L+ o* _) S; b( r& w( F9 p
  880. ; default extension directory.0 D4 N! W4 a' u. m' _) o4 G2 z
  881. ;
    9 X# L/ R* ?8 k) c' h- r3 @- K  \+ E
  882. ; Windows Extensions
    # ]2 Y! X  \" f2 Y5 M5 i
  883. ; Note that ODBC support is built in, so no dll is needed for it.
      n' M0 ?1 M) N  [3 x1 Z
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    2 ^! D$ g( W3 p* J
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
      s. j) B$ L4 ^% \$ V
  886. ; Be sure to appropriately set the extension_dir directive.
    + _+ R* I5 f5 [8 N9 p
  887. ;+ f1 j, F* U3 _1 c6 c8 m" k
  888. ;extension=php_bz2.dll* i; G) y- n( I  D* R
  889. ;extension=php_curl.dll
    4 T) ^" @8 |" H# y6 ]& K; A9 D
  890. ;extension=php_fileinfo.dll
    ( K: W# `7 I3 R3 U! s
  891. ;extension=php_gd2.dll7 y4 N. ?% k6 b) ]* H! a6 Q9 \& z
  892. ;extension=php_gettext.dll, X& _$ B: j/ }1 S& b7 x' g
  893. ;extension=php_gmp.dll
    / R  n. c9 U4 J$ s+ t
  894. ;extension=php_intl.dll- J7 n& a$ |( P1 k
  895. ;extension=php_imap.dll
    / x6 U  q) ?$ Y1 `
  896. ;extension=php_interbase.dll
    2 R, W/ e8 t* b4 }2 ?! S
  897. ;extension=php_ldap.dll
    9 v' m* E3 M5 X, ?' N2 j
  898. ;extension=php_mbstring.dll4 x2 C" e7 i4 L' Z
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    " B6 y& P/ a1 v1 c" h" ~
  900. ;extension=php_mysql.dll
    ! |# D: ?7 s: P5 N& E
  901. ;extension=php_mysqli.dll' n; Z2 B9 i  p1 b. X; L
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    6 Z% V3 B8 C: w# u3 {# J% t
  903. ;extension=php_openssl.dll8 W  k" o6 y- b
  904. ;extension=php_pdo_firebird.dll/ [" x& y( a% s1 K5 D
  905. ;extension=php_pdo_mysql.dll
    # r+ y9 d- _& L
  906. ;extension=php_pdo_oci.dll
    ) g4 {8 u: Q2 f: _7 J9 u/ P
  907. ;extension=php_pdo_odbc.dll- U5 S/ {  @5 H" [( A% c
  908. ;extension=php_pdo_pgsql.dll
    4 H0 u; b5 {! W1 s7 ], e& ?
  909. ;extension=php_pdo_sqlite.dll
    : ]& ?& I/ `& K; l3 A' S
  910. ;extension=php_pgsql.dll9 L4 J5 L2 e- b: v
  911. ;extension=php_shmop.dll* A6 l1 t" B4 b0 e( t
  912. - `: k) {; D; Q9 f/ O9 [8 s
  913. ; The MIBS data available in the PHP distribution must be installed.
    / L' d; y2 z: v  Q- N( P: v
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    4 b- n- k* @( s: \
  915. ;extension=php_snmp.dll# K9 O% [- y5 m+ w$ V

  916. ! J0 ~- `. k: r: j! ]! o% y
  917. ;extension=php_soap.dll
    2 \" Y7 V# n) h
  918. ;extension=php_sockets.dll  \9 B3 H& p6 _  A& j( F
  919. ;extension=php_sqlite3.dll, t3 a, E; |* I
  920. ;extension=php_sybase_ct.dll/ V( {0 h" e. w
  921. ;extension=php_tidy.dll3 [8 {4 |$ @8 K4 J* r  l
  922. ;extension=php_xmlrpc.dll
    & n, j3 U: s  J0 Q
  923. ;extension=php_xsl.dll8 L# V* d! M. D

  924. + G. O- @4 w( j. T* V/ f
  925. ;;;;;;;;;;;;;;;;;;;  Z- U5 y  F% X! g: c( [/ R  u
  926. ; Module Settings ;
    4 S! X8 s/ D- z3 E
  927. ;;;;;;;;;;;;;;;;;;;/ L+ ?+ W) l# X4 n9 ?4 @8 W5 f
  928. % v! M7 j3 |* v/ J
  929. [CLI Server]
    & W/ o# J* e% h" ^
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output., Q+ U5 o# n$ L" c8 O& d
  931. cli_server.color = On3 A1 y& @9 ~* Q3 y1 j+ o5 ^6 q# K
  932. 3 O/ d* c# F" M
  933. [Date]
    + |* {' ?& E9 }# j) H; C9 h
  934. ; Defines the default timezone used by the date functions
    7 {# P( v1 U2 ?+ T; T9 s8 R5 m3 o; ^
  935. ; http://php.net/date.timezone
    - K& G) Q; |! e2 {4 ~
  936. date.timezone = PRC3 s* i# o1 d5 y
  937. 6 H# Y; y* p3 w1 u+ A/ [
  938. ; http://php.net/date.default-latitude
    " T' E* \: X0 g0 p
  939. ;date.default_latitude = 31.7667- B8 H; e9 _4 @5 t
  940. ( {9 l$ D+ |: X; O- H& V0 O& B
  941. ; http://php.net/date.default-longitude8 ^. @2 R1 t- ~. A+ V( K3 }0 i' e
  942. ;date.default_longitude = 35.2333
    1 }3 |$ {0 i8 P  O7 V7 y0 i
  943. 4 Z) f5 Q7 r/ f7 x& c" D
  944. ; http://php.net/date.sunrise-zenith
    3 G- @: v5 A6 X6 F" g
  945. ;date.sunrise_zenith = 90.583333
    4 i2 C' t5 s' B+ O5 l3 X% Z
  946. - e; R( i' u* s- u, a) Z6 }
  947. ; http://php.net/date.sunset-zenith
    , l) W2 _* l  A! o" i7 ?8 W" S" E: P4 y
  948. ;date.sunset_zenith = 90.583333. ~$ p  F; [1 w& {& q# V

  949. - @, e& D7 ^# V/ B5 [! `
  950. [filter]5 j9 M. c/ V' W3 E. ~7 Z8 _
  951. ; http://php.net/filter.default
    , y6 ?* O& j  z; ?3 q, ~
  952. ;filter.default = unsafe_raw
    * T! w$ p3 x  N% g+ u
  953. , u5 R+ R, K3 o" r2 ]  W! {3 n& }
  954. ; http://php.net/filter.default-flags
    & g" J+ _9 S7 h5 x
  955. ;filter.default_flags =% B$ P8 f: @: @; x, w3 ~* \1 t
  956. 2 q- n2 _9 b: u: b( o
  957. [iconv]
    9 |' N% p4 ]% j+ C# o* T
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    ) I3 S/ i5 @$ u" B- q2 [+ A
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    & {1 G- }1 y) l0 H" o2 L3 U( t, B
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding' s2 }/ ~0 p" f+ a
  961. ;iconv.input_encoding =
    ; R6 ~; k' @; k) V+ M
  962. # o6 m5 c" C# S; ?0 Q
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.! Z+ g4 S" j: ~
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    1 f8 z, _3 W- g7 d( s2 @
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding  m8 N( S: S  y" }" K) X
  966. ;iconv.internal_encoding =. S! Z7 E. |. d; Z# w

  967. 4 A* E6 D- n1 C2 Q+ ^" I
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    ( O1 @1 W0 ^; o: G2 ^( `* n& S% M
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.1 _& s( s( m  `: y: M, \
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding9 j2 U9 ?+ B; w5 e) A# O0 [/ q
  971. ; To use an output encoding conversion, iconv's output handler must be set
    & \7 }7 m- j2 m! D* ?$ n
  972. ; otherwise output encoding conversion cannot be performed.
    6 Y* Z9 X% n$ ~# C5 ?
  973. ;iconv.output_encoding =  w/ ^/ `, B/ S0 Y, X8 ^# O
  974. ! `: j" h1 f. g( V
  975. [intl]' \+ m" m/ v" C  s. k% \
  976. ;intl.default_locale =
    % G, ]! `% U, D; z! p: m" N& S
  977. ; This directive allows you to produce PHP errors when some error5 Q6 ]" }. j7 B7 s
  978. ; happens within intl functions. The value is the level of the error produced.
    , J  c/ s! }. E$ n1 m
  979. ; Default is 0, which does not produce any errors.
    - y9 M' p+ L9 c, ?8 o
  980. ;intl.error_level = E_WARNING( ^3 R1 @5 s$ Y
  981. ;intl.use_exceptions = 0; y. @* I- h9 e, v
  982. 9 Z( n( Z, n) J# t8 R' D
  983. [sqlite3]
    . O4 q! _- E: T& |: @
  984. ;sqlite3.extension_dir =
    4 b  H, U" B3 q6 h- r5 r& m9 p& t

  985. + P5 u) k5 v# R: m3 F5 J
  986. [Pcre]) m! [  c1 P5 Z$ z; Y/ D2 D! X# E
  987. ;PCRE library backtracking limit./ z5 H6 j+ E- M& W7 g1 [6 j
  988. ; http://php.net/pcre.backtrack-limit0 {. g6 `- [0 I* h; L
  989. ;pcre.backtrack_limit=100000. A% u- z7 P" R" U3 O0 R9 V

  990. 7 v7 g2 D; t, ]9 h5 Y8 \) B- n+ L9 p
  991. ;PCRE library recursion limit.3 h  x, j7 z3 I; p- \
  992. ;Please note that if you set this value to a high number you may consume all
    ! K. }4 i; F9 k% ~" d9 s
  993. ;the available process stack and eventually crash PHP (due to reaching the. X" R. {4 H- N4 M+ X
  994. ;stack size limit imposed by the Operating System).
    ) N0 S4 z9 }) I3 _: w! x
  995. ; http://php.net/pcre.recursion-limit/ u3 l5 g/ L$ l4 `- W
  996. ;pcre.recursion_limit=100000
    9 e7 q6 F( s3 _# k4 O, N

  997. ( {; s$ J  T2 a% `
  998. [Pdo]
    7 [( }# ?( U( p% x, }
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    : }- \* g! I! j7 ?& p8 _/ M
  1000. ; http://php.net/pdo-odbc.connection-pooling
    / q( V$ S$ s. q$ O% F- _3 m) x
  1001. ;pdo_odbc.connection_pooling=strict
    1 o8 I" q' F9 I. p

  1002. " z2 V& \4 a% C9 Z- {/ j
  1003. ;pdo_odbc.db2_instance_name
    ! x+ k: b0 m' {# g1 p) e

  1004. ; B2 M) V% s0 w. E: R) J; v
  1005. [Pdo_mysql], Q1 |5 N- O; U, N1 \
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    % \: x2 _& \/ ^9 e# ~, m1 i: @
  1007. ; http://php.net/pdo_mysql.cache_size
    # ?5 {% `6 A0 Z% M  G7 k: v- Q
  1008. pdo_mysql.cache_size = 2000" [6 R( c+ c5 q8 ?) W
  1009.   x. K8 Z+ W* ]8 Q  y, E; L
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    * K: p& q( Y) F! a/ U. i
  1011. ; MySQL defaults.
    , `1 {' f7 @  S5 l
  1012. ; http://php.net/pdo_mysql.default-socket
      R% V( O' W- f! o+ d
  1013. pdo_mysql.default_socket=( d, T2 h7 G7 r3 Z0 o  y) g- j
  1014. ; K3 x) M* ~+ O# U
  1015. [Phar]
    ! u$ N0 ^- ?; i3 E; N
  1016. ; http://php.net/phar.readonly
    / B1 j' ?% j4 m: u  w
  1017. ;phar.readonly = On% d" U9 W. M+ O
  1018. 5 L" x# {) o) Z1 W+ o8 j* o! C
  1019. ; http://php.net/phar.require-hash  w% L  e+ q5 e7 }2 |
  1020. ;phar.require_hash = On1 ^' X; r/ l# M1 V
  1021. ' t% h. S5 T& H/ x$ h; w* H
  1022. ;phar.cache_list =
    * ^% p# K: J! i  r1 I5 W* \0 ~

  1023. ) d+ F! `- A, W8 C9 f9 a
  1024. [mail function]
    1 S" L6 ~4 M6 Q: [
  1025. ; For Win32 only.+ f: j" c5 k! K7 t
  1026. ; http://php.net/smtp
    8 g% x( y/ w8 F$ c2 D
  1027. SMTP = localhost
    - O6 M" M0 f) ^+ L$ g4 j' o
  1028. ; http://php.net/smtp-port
    8 c5 j% J0 K* L% M# L7 ]
  1029. smtp_port = 25& _0 O2 \$ }& w

  1030. / A, v8 s# G" g* O
  1031. ; For Win32 only.$ {7 g8 U7 N; V  M( J+ L
  1032. ; http://php.net/sendmail-from: s& d) [* w4 G9 \
  1033. ;sendmail_from = me@example.com
    / G1 F' M: K: w! e
  1034. . q' s* B& N) M; c
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").  f) J- w' |5 F. R6 G
  1036. ; http://php.net/sendmail-path
    6 O0 j# P! m, _, D6 n" t$ z! n7 G! X
  1037. sendmail_path = /usr/sbin/sendmail -t -i
      X8 M" ]) s8 W

  1038. 4 j  D  L; m/ ?0 A: T  D( s
  1039. ; Force the addition of the specified parameters to be passed as extra parameters' ]5 v  O' k! h% y' @0 B5 Y
  1040. ; to the sendmail binary. These parameters will always replace the value of1 H4 C4 Z2 t% [& B( i
  1041. ; the 5th parameter to mail().5 ?7 U* k4 G* n8 z5 o
  1042. ;mail.force_extra_parameters =! x+ V- R7 L0 z
  1043. 9 W/ b  k+ h% k0 u* N$ {# ?
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    & `5 T+ T9 {( V, W3 C/ x# @) ^
  1045. mail.add_x_header = On* X8 _& m+ b: {/ r: D9 ^2 t
  1046. - C4 F! v% E7 g" D/ x
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    ! e% I/ m1 `6 @" u
  1048. ; the full path of the script, line number, To address and headers.
    . p2 d5 K+ b) |+ ], b0 M
  1049. ;mail.log =
    5 C& o8 W! C4 v' ?; X
  1050. ; Log mail to syslog (Event Log on Windows).
    ( R- F' W  C- D
  1051. ;mail.log = syslog
    # S- C& s7 S) Q+ q/ N* w- A
  1052. 9 T, D& p. G9 h4 I) v) @
  1053. [SQL]9 {) {# ], N( d) ?' I3 q
  1054. ; http://php.net/sql.safe-mode) b$ J- o+ u* x9 y
  1055. sql.safe_mode = Off( ?+ i6 |. m/ g1 s" \
  1056. ' l7 \# U; P2 j- f; \7 L: m
  1057. [ODBC]( H, Q3 s8 c. e! W
  1058. ; http://php.net/odbc.default-db4 K% K# N8 K  a4 x
  1059. ;odbc.default_db    =  Not yet implemented
    4 P1 t' D  y" Q
  1060. 1 I5 U- F2 o6 @9 J6 \4 B
  1061. ; http://php.net/odbc.default-user  Y9 q- h' H+ E" z# L
  1062. ;odbc.default_user  =  Not yet implemented: D5 V/ J6 W4 s

  1063. 6 w6 q& X: d$ ]; }
  1064. ; http://php.net/odbc.default-pw
    9 i- @  P/ b3 Q& m) U
  1065. ;odbc.default_pw    =  Not yet implemented
    ) O' j4 W4 {$ i8 Z# S: [; a
  1066. ! Z3 G, G- n) x) q
  1067. ; Controls the ODBC cursor model.
    # `4 q1 r+ b& }1 z/ C9 a
  1068. ; Default: SQL_CURSOR_STATIC (default).0 }: @& Y5 G  A5 }! Z- o' X! Y
  1069. ;odbc.default_cursortype: d; H4 r, e8 n8 F2 N1 o3 _# O) r$ z
  1070. / C" {/ o+ c* W
  1071. ; Allow or prevent persistent links.
    % i5 @9 n# p( L. J6 S/ a8 e: m
  1072. ; http://php.net/odbc.allow-persistent
    ' g1 Z% h- P: y8 u: W2 n( J" G
  1073. odbc.allow_persistent = On
    + L" ~: C% i6 @3 |' u  D
  1074. ! s- R/ x9 O; n, Y5 q% X9 D
  1075. ; Check that a connection is still valid before reuse.- |2 ^6 T8 u. H) [% S6 ?) ~% @
  1076. ; http://php.net/odbc.check-persistent
    / l4 E* M  @% C' J9 t: H5 @
  1077. odbc.check_persistent = On
    ; \' U# V- T5 z& g

  1078.   @/ \  z$ w6 L7 @7 S5 l6 @
  1079. ; Maximum number of persistent links.  -1 means no limit.9 }9 I6 h9 u+ l, u
  1080. ; http://php.net/odbc.max-persistent
    6 k/ H6 W# P9 h& ]7 W9 p1 ]! J
  1081. odbc.max_persistent = -1) t: S! o7 v, ~6 `$ X
  1082. / @3 n7 L7 q1 s! Q% ?
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.( s: r0 ]3 u3 m2 h& W1 f
  1084. ; http://php.net/odbc.max-links% U/ q+ g# O" N- f- Q4 i* k# U5 R
  1085. odbc.max_links = -13 S/ [. @  o/ B6 j1 _

  1086. * V. D( A# V6 A9 t! u
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means) x" i# @6 N6 b1 c$ v  Z
  1088. ; passthru.8 g& R! V4 V% D
  1089. ; http://php.net/odbc.defaultlrl
    0 f+ X% R* m  ]
  1090. odbc.defaultlrl = 4096" U4 s& _1 Q, g! t( ~  x
  1091.   z& }* G$ i1 W
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    % s: o3 Y0 N9 h+ e0 ~- j
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    3 g: Y# c: \( i& \* y1 p# P
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    ' p6 o7 o: J+ {4 r9 Q* ]
  1095. ; http://php.net/odbc.defaultbinmode
    " [- p7 \# W1 Z- D( E) K
  1096. odbc.defaultbinmode = 18 i6 B# x9 T1 b) S' h6 S9 S# |

  1097. ; I- u2 f5 H7 p; H
  1098. ;birdstep.max_links = -1. |: Y4 R2 p/ b" x6 k, b, K
  1099. 1 p( X0 L( L* ~6 _. i" V8 z
  1100. [Interbase]- J8 u: c8 R+ S3 G/ o8 ~! h
  1101. ; Allow or prevent persistent links.
    $ I% I2 }2 N1 Z# M6 g' O/ R
  1102. ibase.allow_persistent = 1
    7 s- s3 g; @* l+ S& F1 I. r

  1103. 4 z8 \: ]4 N5 H" B5 m
  1104. ; Maximum number of persistent links.  -1 means no limit.
    2 \) |1 D$ P+ @& [
  1105. ibase.max_persistent = -11 f7 \2 Z% M+ V7 C" f

  1106. 5 q: b) U* j/ y, a  b
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    * m$ n( Y/ E. Q7 z9 K0 o: z2 D
  1108. ibase.max_links = -11 e; g5 X  ]. Q( P5 Z9 n9 f
  1109. & {' n) S% K9 d6 q& W
  1110. ; Default database name for ibase_connect().% C/ K) z( _" E7 Z1 `+ F4 _" `$ B
  1111. ;ibase.default_db =
    " Z* E1 v) S9 x7 b. c

  1112. : j3 B$ [4 ?  H4 Z$ `; G" |1 x
  1113. ; Default username for ibase_connect().' A- F& n+ A' D/ b; i, }
  1114. ;ibase.default_user =
    : O  j( M$ Q! o) ~8 d" s3 a) V! f

  1115. 3 j% F( F. J7 o& s/ s+ Y: _
  1116. ; Default password for ibase_connect().4 y0 I' A; b, a- ^2 @
  1117. ;ibase.default_password =
    2 q) W9 H6 C) K7 F+ i

  1118. 4 f  u* T# r' M0 x* j# a! m/ j8 E
  1119. ; Default charset for ibase_connect().
      u7 W8 Y7 ~, F  V5 `
  1120. ;ibase.default_charset =
      X3 Q* Z9 C! l* d$ q7 O' V0 R" S: y

  1121. 8 P" m3 a4 |2 y- N& g  u% N
  1122. ; Default timestamp format.7 Q* u. G/ H" [6 U6 B, }6 K, x
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S") n6 Q; Y) N6 D; D1 L, G: ]1 B  X
  1124. , B  t2 I4 t( }- B, q* [
  1125. ; Default date format.8 ]( V% s! L6 K" Z2 H$ e6 \
  1126. ibase.dateformat = "%Y-%m-%d"8 Q) J9 P1 F- [" o6 s5 ]" u! ?& d
  1127.   I; m% A8 P( V5 z9 a
  1128. ; Default time format.
    0 j4 H+ d7 {+ ?1 h; f
  1129. ibase.timeformat = "%H:%M:%S"
    , b& w" m) |. T

  1130. / N; k/ P. y9 @5 W, M8 T" x) |, ~: U7 n
  1131. [MySQL]7 u: t- M! _  e7 D
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    6 J0 G: e" _7 `, \5 e
  1133. ; http://php.net/mysql.allow_local_infile  G: Z* E/ Z( ~
  1134. mysql.allow_local_infile = On
    ) F# h7 C2 c, [! N' N& u

  1135. 9 U3 o1 s' w- ~' y  u  a
  1136. ; Allow or prevent persistent links.
    : X  J- e' T+ `; ~6 C& ]0 F
  1137. ; http://php.net/mysql.allow-persistent
    # W: k  K) p0 L7 a$ J- U$ c
  1138. mysql.allow_persistent = On
    6 j* Y# U+ {# N6 `. S& m4 u; M
  1139. 8 x) F3 a  A& N+ s" L- x! Y/ H- K0 ~
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache" y- z) W9 A" L% F/ C
  1141. ; http://php.net/mysql.cache_size! I  x: V. F0 r2 R, K0 d. |
  1142. mysql.cache_size = 2000
    & O+ }3 f7 T; k- p9 x( H

  1143. 2 v& I6 W4 Y2 k  e7 q. ?0 h6 e" ?& V
  1144. ; Maximum number of persistent links.  -1 means no limit.' |5 R% }/ \7 i) b. q+ _9 B
  1145. ; http://php.net/mysql.max-persistent
    " ?1 j% b$ }, D! j
  1146. mysql.max_persistent = -1
    ( r6 r' V! l8 r0 r8 Q! O. h, W

  1147. 8 ?; z" p7 D% K  Q% e2 s8 a
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    2 K0 v5 A/ @+ a# T( l  q  z) [
  1149. ; http://php.net/mysql.max-links) [& `1 Z8 y5 Z( ~8 P2 M/ D
  1150. mysql.max_links = -1) p2 l1 r+ M3 h  Q- |: t9 R! {: j3 L
  1151. 6 k1 O+ _0 U% g$ i  y, H3 D4 X
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use" v! s" z4 n" i' a1 b8 g- R" n
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the9 V/ e" `- S# ^5 X
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    ' u6 t. }$ t2 M4 t9 R6 {- Y' V
  1155. ; at MYSQL_PORT.& W; {% G# Q1 w& J9 }  P2 w9 ?: V
  1156. ; http://php.net/mysql.default-port
    / a$ v8 e( ], r4 i
  1157. mysql.default_port =
    % ~4 K/ h. M/ [3 s# ^; T# I
  1158. - T0 F" m& L2 e4 B
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in1 U4 `% U) R' X% y, k4 x4 f
  1160. ; MySQL defaults.
    : `; E( Q& @( s! V; _
  1161. ; http://php.net/mysql.default-socket1 s. c" p/ n7 s3 F& U! Y2 h
  1162. mysql.default_socket =
    2 S* S; B5 y6 t5 b6 I! _% c

  1163. ! X: {/ Q9 q* l6 N( A
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).. E' O3 l& n) ]) y  G! x: X# \5 s
  1165. ; http://php.net/mysql.default-host7 K8 m( F: C( U2 \7 j6 `
  1166. mysql.default_host =
    4 E  E4 z: a# t4 m# i  C
  1167. 4 [( p1 z# a* i: V: M2 c- j
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).* o( {, r, Y1 b$ F$ Y
  1169. ; http://php.net/mysql.default-user% O! D" b% S+ Y
  1170. mysql.default_user =
    ( B$ u, O6 [7 d+ }5 ]

  1171. * ~: s- K/ F8 q& X0 \# o3 i  n6 ~
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).2 Z; J. P1 S( \' o1 S
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
    5 e  p6 }. u3 Z9 {2 K: K. A! F
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password"); S. }: e# @: J
  1175. ; and reveal this password!  And of course, any users with read access to this1 m# {# l& V( L) E% M8 p- g
  1176. ; file will be able to reveal the password as well.
    " w/ @& O' _2 `" X- P6 _
  1177. ; http://php.net/mysql.default-password$ D+ C7 s* y7 a2 F5 Z8 f" a* j
  1178. mysql.default_password =9 O1 b! L4 [9 @. E3 Z3 z) X% y

  1179. - m, V9 y4 L% Z/ i2 C! b
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit8 Y0 U$ E1 R* M, O+ J! |
  1181. ; http://php.net/mysql.connect-timeout. N  {7 ]6 s6 g7 [: [; _
  1182. mysql.connect_timeout = 60; @7 C- e: U( v, q; g, R

  1183. / q) r+ ?* x1 \, s( X
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    8 c% v2 N" c" U* {. J, e9 t
  1185. ; SQL-Errors will be displayed.! X8 J. \/ |- v; ?: J" t7 @
  1186. ; http://php.net/mysql.trace-mode
    / B1 g) @0 U5 M* b2 \
  1187. mysql.trace_mode = Off
    / k& S* t! G% H

  1188. 3 S) ~/ H; {' Z4 K* G- U
  1189. [MySQLi]
    : z% _2 k. g  `- H

  1190. ( B0 f1 N/ X: @
  1191. ; Maximum number of persistent links.  -1 means no limit.
    / Q) t9 S0 x& M
  1192. ; http://php.net/mysqli.max-persistent+ d# Y  I6 z9 g/ k
  1193. mysqli.max_persistent = -1( m1 n1 j. M8 G9 ~/ c! Y, B

  1194. 3 h9 L" I4 e. l. I+ R8 I0 _
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements9 ~3 y& b. O0 H$ M5 M/ _2 J
  1196. ; http://php.net/mysqli.allow_local_infile
    9 g; a, ]" G5 n" I' W
  1197. ;mysqli.allow_local_infile = On
    ' k- v6 i* g& \
  1198. : d: L/ h- N$ q1 h5 Z) L3 W* X
  1199. ; Allow or prevent persistent links.
    6 T  [( V) J; B# @/ f$ P
  1200. ; http://php.net/mysqli.allow-persistent
    , o0 v& `; \" M( w
  1201. mysqli.allow_persistent = On
    " S8 E# s% R* B' z; t

  1202. 6 l# \& D6 d0 z. K4 @
  1203. ; Maximum number of links.  -1 means no limit., L$ s  q) R& }: E1 |! D. [0 F
  1204. ; http://php.net/mysqli.max-links
    5 |+ q/ n6 K9 u, k9 Y' {# ^( ~1 K
  1205. mysqli.max_links = -1
    7 i0 x6 S( B1 v; E" n2 v
  1206. . C% h* \+ h9 z4 ~+ ?
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    " C6 _" Z! v* O2 W0 n: l. ]3 y
  1208. ; http://php.net/mysqli.cache_size
    % Y" X, F) w8 E
  1209. mysqli.cache_size = 2000# U1 C8 r* E3 |3 C+ @* R  ~+ h
  1210. + O% C# y" U+ ?3 ^) h: J
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    $ U1 ?4 F% G0 E$ F  r" u
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    $ S1 |) ?4 ?/ b
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look7 C/ a& E8 G1 i5 N4 H/ O
  1214. ; at MYSQL_PORT.
    + D2 H5 Y' {5 o- [2 O% W& p
  1215. ; http://php.net/mysqli.default-port4 E1 X9 f" M( t$ Q* Q1 p  w
  1216. mysqli.default_port = 3306
    + s% J9 U) r0 h8 r

  1217. ( n5 k% `# _4 _( Y1 ^3 B
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    * H! ~0 t* m: d( e
  1219. ; MySQL defaults.3 ?3 h, B) A* [" C+ r# P
  1220. ; http://php.net/mysqli.default-socket2 q9 m/ x. v( y6 S) u; L, @
  1221. mysqli.default_socket =* M" ~4 @, U$ I2 E

  1222. 2 G+ H! ^4 S; E0 Z+ |
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
      l( p) m! U  }3 Y# F
  1224. ; http://php.net/mysqli.default-host$ C) N; F5 b! |, |  @
  1225. mysqli.default_host =
    : k/ E) i" w/ ~2 Z
  1226.   q. q% \' E4 L% n
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).  h" }4 u# a6 L: k' o
  1228. ; http://php.net/mysqli.default-user- p- B5 w; f/ }
  1229. mysqli.default_user =3 G+ K- e1 r" p9 }/ Z5 w
  1230. 9 @6 `5 h7 g, U' o
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    - L( R0 ?/ v) p5 @  A! o
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.% h; S& J$ V& R' k+ @2 y0 T) F
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")( v+ _' k3 v% F' N# a0 P1 R
  1234. ; and reveal this password!  And of course, any users with read access to this1 o9 S, I& l1 Z+ Z  B( d& ?
  1235. ; file will be able to reveal the password as well.
    . e; u1 z) L" r8 r
  1236. ; http://php.net/mysqli.default-pw8 i# }3 e+ I. V8 {& p+ _: `3 X+ }
  1237. mysqli.default_pw =
    1 ~5 a0 D! G  o
  1238. - c: L) g4 W' H
  1239. ; Allow or prevent reconnect
    , N4 w6 {3 L0 N) }# {. d# v
  1240. mysqli.reconnect = Off
    ! f7 X$ G$ a' i, v
  1241. ' q. Z- {' L3 l1 w, M, E
  1242. [mysqlnd]
    4 r& c) Q2 X9 U( ~
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    3 f' g" K8 e. L# C- q
  1244. ; used to tune and monitor MySQL operations.
    % f9 J8 z& P" ~* W9 s: g
  1245. ; http://php.net/mysqlnd.collect_statistics
    ' z6 W$ ?& r  D4 b- v
  1246. mysqlnd.collect_statistics = On
    * @6 g0 M# `# d% P! O

  1247. 0 O' r( q% O6 E# ]# k4 b- ~
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    7 \2 L. p' F2 U: t. w6 Q$ d
  1249. ; used to tune and monitor MySQL operations.4 _( n" z% V/ R" X4 D, O5 D/ ~
  1250. ; http://php.net/mysqlnd.collect_memory_statistics; C9 q/ d4 I! A: \
  1251. mysqlnd.collect_memory_statistics = Off
    7 k. y4 Q% A1 I0 s3 z9 m) H
  1252. % N2 q' x$ ?( X: h6 u5 N2 a. r
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    & E' i8 P, Q- N' s
  1254. ; file.
    , S! Y8 E0 m: ?9 _- X( ~# b
  1255. ; http://php.net/mysqlnd.debug9 j/ r7 O" w3 N' d, ]" `
  1256. ;mysqlnd.debug =
    * Z! a7 D! _+ l4 p/ t$ k7 n3 X

  1257. + s$ S7 W7 }7 H0 D+ R) P0 P
  1258. ; Defines which queries will be logged.8 S! c9 N' M% _0 q+ d
  1259. ; http://php.net/mysqlnd.log_mask
    1 Z/ U* h3 K: t2 `' }/ o
  1260. ;mysqlnd.log_mask = 0
      U# B* ~% `4 P/ K  O

  1261. $ n1 v, L/ \& M2 j) r4 P7 C) R- t# D
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    $ Q! M$ A5 ?2 U2 V" J: a7 U  V
  1263. ; http://php.net/mysqlnd.mempool_default_size
    % a! I  h6 Y0 D$ [. n
  1264. ;mysqlnd.mempool_default_size = 16000; q7 G4 I$ `$ M
  1265. 7 T& f% i( N2 F  @* B' N
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    ! Y# q2 B" q+ G. e+ r4 R8 Q  f
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size5 G: ~0 ?' L3 m, Z1 f# l. b9 @
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    6 Y7 l' \3 y) M6 M+ F5 P

  1269. / K2 C9 [- v$ g8 Q
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in2 M5 W+ A, ~) I5 T0 ^, [
  1271. ; bytes.6 e. n: S/ n( W# N8 ]/ A$ n
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    4 j) O9 s; R' b$ L
  1273. ;mysqlnd.net_read_buffer_size = 32768* g# ~  ?: I, i. A: ^
  1274. 0 z" E! q5 e+ g/ J* n- T" M* {( b7 K
  1275. ; Timeout for network requests in seconds.
    ! K2 e, _1 n$ Z0 a" a4 A& I
  1276. ; http://php.net/mysqlnd.net_read_timeout
    ' F8 @) Q- `6 l$ Z9 g
  1277. ;mysqlnd.net_read_timeout = 31536000! ~, P7 n8 |3 t) E0 u7 \: z$ }& O

  1278. $ B) }1 T  k. @
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    - e( ~9 s2 @0 w6 n
  1280. ; key.
    5 _8 x- }5 T% V* h5 j, ]
  1281. ; http://php.net/mysqlnd.sha256_server_public_key3 S0 n( R7 H7 f  ~
  1282. ;mysqlnd.sha256_server_public_key =
    " W# Z* l+ ]! e/ ~* R

  1283. ' U$ N$ X( ~9 V9 d
  1284. [OCI8]
    4 D" s+ k3 x) A5 X
  1285. # _$ Z* Q) H. d5 v6 z# }8 `! \
  1286. ; Connection: Enables privileged connections using external! q! B2 V" Q" f: I
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA); f9 }! L+ }5 ]
  1288. ; http://php.net/oci8.privileged-connect
    7 v0 t5 P5 D' f" I9 @) f& u
  1289. ;oci8.privileged_connect = Off
    $ f, z# `8 ^, |* E6 d

  1290. 7 g; \$ a  y+ Y; `9 i) A
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    . T/ `) R0 p* Q0 Y
  1292. ; process. Using -1 means no limit.
    # i# m! y7 U- o: R8 E0 I) H
  1293. ; http://php.net/oci8.max-persistent
    8 U. k+ \  `( L; T1 H, r
  1294. ;oci8.max_persistent = -1
    ) o" K3 k4 O6 x* S
  1295. . B% _! M4 ?. G% @7 W
  1296. ; Connection: The maximum number of seconds a process is allowed to0 J1 A' `& ^5 t$ ~% e' x6 U$ g
  1297. ; maintain an idle persistent connection. Using -1 means idle
    , n, k" A5 L$ a; h
  1298. ; persistent connections will be maintained forever.
    4 P9 K5 m8 A4 i. w3 |' V
  1299. ; http://php.net/oci8.persistent-timeout
    , l/ T* |7 q, {! w6 |! G
  1300. ;oci8.persistent_timeout = -1" d( [$ I  ~+ j+ f$ N, v
  1301. : M7 y6 ?0 j) ?0 S* _! V! ^' r+ _" ]
  1302. ; Connection: The number of seconds that must pass before issuing a
    5 w  K  Y: ~8 @# t$ s: {' A
  1303. ; ping during oci_pconnect() to check the connection validity. When
    9 ]7 N% I% P1 y' K4 v
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    4 z9 ?4 a' k: N; u0 b' D
  1305. ; pings completely.( c4 t8 j) j% a5 F8 S
  1306. ; http://php.net/oci8.ping-interval
    ' F' r# c* N' o  D% S3 T* G
  1307. ;oci8.ping_interval = 608 v5 L- R3 M9 l, w4 a2 I( y7 O
  1308.   }9 e' Z1 A; ]9 g- T7 q5 p
  1309. ; Connection: Set this to a user chosen connection class to be used) v- [8 G3 H! v/ P
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    5 w5 Y0 D+ a# N' r) a1 _% U7 K  d" i
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    % W1 D% l4 h1 |
  1312. ; the same string for all web servers running the same application,
    ) ^* @" i( `6 \; `
  1313. ; the database pool must be configured, and the connection string must
    ( Q. w4 n4 B% W5 Y3 N/ C9 w8 p& I: a
  1314. ; specify to use a pooled server.# P# c' ~9 x) A
  1315. ;oci8.connection_class =+ Q; _2 u' W2 {, t2 U2 v/ N5 P
  1316. 4 U7 [6 Q, y, E1 d
  1317. ; High Availability: Using On lets PHP receive Fast Application" G6 S' D9 q  f. d! r8 Y6 ]
  1318. ; Notification (FAN) events generated when a database node fails. The6 u7 ]4 f0 p# v4 r* `1 z. m  P( M
  1319. ; database must also be configured to post FAN events.3 u# d& H& ]( Q% d/ x4 |
  1320. ;oci8.events = Off( v0 [2 T2 c! t( j2 r5 e- l
  1321. * X- m* r  X- K1 u5 U# K
  1322. ; Tuning: This option enables statement caching, and specifies how
    ! B8 H( Q7 |( Z* [# ^  K* j" m
  1323. ; many statements to cache. Using 0 disables statement caching.
    " u1 D9 G2 n+ t8 U" i( o: P8 q/ w
  1324. ; http://php.net/oci8.statement-cache-size  o9 T" a4 e1 M; @- q/ f
  1325. ;oci8.statement_cache_size = 20" N' t7 K- f9 J) E1 L' q. N

  1326. ) l) B! p/ `. B9 v
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    , g$ N) `- I; Q  t1 x( j" B
  1328. ; rows that will be fetched automatically after statement execution.! T) T5 M' I1 w+ H/ x$ X
  1329. ; http://php.net/oci8.default-prefetch
    4 v2 v  ]. t$ y7 Z
  1330. ;oci8.default_prefetch = 1008 q, c4 K) z* {) \: O7 Y0 L+ a
  1331. 1 |! t8 `4 R! }: f
  1332. ; Compatibility. Using On means oci_close() will not close
    $ K  l! m* m, [  v4 n
  1333. ; oci_connect() and oci_new_connect() connections.( c$ x6 f% l7 t. r
  1334. ; http://php.net/oci8.old-oci-close-semantics( A( V% Z" d, s5 z) u- s8 Y
  1335. ;oci8.old_oci_close_semantics = Off( v  X' I. f- v
  1336. ; U" j7 B- q- a, e) M
  1337. [PostgreSQL]
    ! M* x) V/ f2 l9 M
  1338. ; Allow or prevent persistent links.
    4 ?! b& H9 `- s) M! j) s) Y
  1339. ; http://php.net/pgsql.allow-persistent+ ?1 c4 X4 X3 b8 m
  1340. pgsql.allow_persistent = On
    - e4 E: Q5 H$ e' H
  1341. / O" K1 D) _# |2 V' n' m1 G
  1342. ; Detect broken persistent links always with pg_pconnect().6 `! L5 e- o9 Q  x* R& n% X& W7 m
  1343. ; Auto reset feature requires a little overheads.* Q! w& E4 v; ?& Z. f
  1344. ; http://php.net/pgsql.auto-reset-persistent+ }1 S7 T  y( B( J
  1345. pgsql.auto_reset_persistent = Off* _* U+ n6 }0 r6 Z: Z; U
  1346. 7 x6 s% h% c' {6 I% ?' k8 N* A# l
  1347. ; Maximum number of persistent links.  -1 means no limit.+ N9 L5 J. G. z4 b1 L
  1348. ; http://php.net/pgsql.max-persistent) s: G/ }/ z1 @, I
  1349. pgsql.max_persistent = -1' P/ d9 O" b1 o

  1350. ; @4 b2 F& N# A" A
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.* _! S( Y: Z5 x" S/ H( K
  1352. ; http://php.net/pgsql.max-links% ?7 P' ^: [, j+ o' \* r7 P
  1353. pgsql.max_links = -1
    $ m" k/ h0 f9 q9 x4 H' ^
  1354. 2 X& c! T) |* E! g8 M
  1355. ; Ignore PostgreSQL backends Notice message or not.
    / `/ U: F+ {+ C7 i. q
  1356. ; Notice message logging require a little overheads.4 q5 C- t1 d+ n. c( t- i6 R4 v5 c4 E
  1357. ; http://php.net/pgsql.ignore-notice
    7 N$ R, U7 n- O& ~8 E" Z
  1358. pgsql.ignore_notice = 09 H3 M9 }* P/ k- Z

  1359. , g& |8 P% d$ K$ D* Y/ `
  1360. ; Log PostgreSQL backends Notice message or not.
    , G2 j, _1 O0 ]0 P: r
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.& n0 H  \- @: S: ]
  1362. ; http://php.net/pgsql.log-notice* H0 F7 e9 m, a+ ^: ?
  1363. pgsql.log_notice = 0
      K1 m# I! u' B% g3 m

  1364. ( R# J4 Q/ H0 J5 \! W
  1365. [Sybase-CT]
    - ]) m6 C9 \/ k% x3 I$ [
  1366. ; Allow or prevent persistent links.
    5 g, b* I2 h7 C" @% w3 A; t
  1367. ; http://php.net/sybct.allow-persistent& r0 B; w* p3 p1 t6 b7 n$ x8 q
  1368. sybct.allow_persistent = On
    - @) K& J$ N" o0 ]

  1369. 6 m- l+ f1 Q/ Q( _( P
  1370. ; Maximum number of persistent links.  -1 means no limit.
    0 Y! _' C. O) q" d- `
  1371. ; http://php.net/sybct.max-persistent6 i$ C) Y: F; K+ w$ w; n/ `
  1372. sybct.max_persistent = -1
    - B; R2 o( {, j4 N- K2 a2 B

  1373. # r  p+ a; m/ B- ?
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.* A" m# ]$ c* Q+ l9 D
  1375. ; http://php.net/sybct.max-links7 l" z' D+ B5 ^9 B$ A5 I
  1376. sybct.max_links = -14 G+ e# x5 u8 `& F) ]

  1377. 6 s5 q7 U  z8 E: y% Y$ j
  1378. ; Minimum server message severity to display.
    $ W) w) i: l/ D
  1379. ; http://php.net/sybct.min-server-severity
    % g* O5 g, {# v
  1380. sybct.min_server_severity = 10* I3 M0 ~! {! P* _

  1381. 9 l3 C. I. M1 L0 X4 B2 T& |; c5 ^" B
  1382. ; Minimum client message severity to display.
    % i) T5 R% j. d8 Y0 q" @4 w
  1383. ; http://php.net/sybct.min-client-severity
    ; G" b, r2 |  I/ W. J
  1384. sybct.min_client_severity = 10
    9 \2 Q. W1 h% W+ Y3 D
  1385. : B6 D$ z! C- C2 o
  1386. ; Set per-context timeout3 B$ [4 J. X; s
  1387. ; http://php.net/sybct.timeout* P& U* Q1 T( z4 f, }8 A
  1388. ;sybct.timeout=4 e% i2 D6 r& J" _' R$ m
  1389. 1 e- i. U9 f! c1 ~
  1390. ;sybct.packet_size& W! A* x1 C  c* H4 m
  1391. # O' E) O% W' e9 ~$ P4 ?
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.8 @, @4 N" x  `
  1393. ; Default: one minute" J) m3 K; x. a, _
  1394. ;sybct.login_timeout=; h- R' ]7 f. h# v; R& V7 w
  1395. " F% b  w% p( o8 i
  1396. ; The name of the host you claim to be connecting from, for display by sp_who./ D/ |- V) C  o. H" q1 i) W
  1397. ; Default: none$ K0 F1 ]8 n7 j/ S, X3 x
  1398. ;sybct.hostname=
    ( Q7 n3 N0 r2 u/ e; D1 c* I

  1399. - T4 U  z( x1 Z! e
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".1 e0 s8 r$ K% p/ m4 H# N( R
  1401. ; Default: 0/ s, z9 L( R; i6 Y; J
  1402. ;sybct.deadlock_retry_count=
    ' b# ?" T8 a) \$ U

  1403. 3 {" ^6 ?" C9 |% g
  1404. [bcmath]+ |8 C3 f6 M7 I/ X/ @+ j
  1405. ; Number of decimal digits for all bcmath functions.; B. I  W, k# _6 K
  1406. ; http://php.net/bcmath.scale
    ; I6 i- A' m" X  f
  1407. bcmath.scale = 0- y4 ~( \+ G4 H& G$ V& l9 Y+ Z9 |

  1408. ( ~. c' A: m# q* b! Y; y1 ]
  1409. [browscap]
    ; T8 o  `# {) y
  1410. ; http://php.net/browscap) j+ n0 k' L; X4 h% }
  1411. ;browscap = extra/browscap.ini2 z* ^' s: P0 \5 i2 e$ l

  1412. 2 p& y# Z) b' E7 ^$ f
  1413. [Session]' Q& u% Y1 G; T9 m2 z+ F0 @$ Z# E& N
  1414. ; Handler used to store/retrieve data.. h- A. ]1 y( z- m
  1415. ; http://php.net/session.save-handler
    ( d3 O& a* t1 c1 Z3 y- u
  1416. session.save_handler = files' B: W4 G4 C  u! n- j6 J6 b$ X

  1417. % s6 a) B. [  @* g  i
  1418. ; Argument passed to save_handler.  In the case of files, this is the path2 f/ F1 |2 o' Z, F. c) B" p1 _
  1419. ; where data files are stored. Note: Windows users have to change this
    , y% K9 w* m8 p) {; Y8 H3 O" P
  1420. ; variable in order to use PHP's session functions.
    " @2 F  |% c# G: }1 G7 A( C
  1421. ;3 X6 [+ Z: V/ r( m+ W2 i
  1422. ; The path can be defined as:
    4 [6 u) N5 @- D" q+ I
  1423. ;; u# Z- a3 \. c
  1424. ;     session.save_path = "N;/path"# B6 S# n" b1 P  N
  1425. ;
    ' `7 |. v3 G5 r9 D& F
  1426. ; where N is an integer.  Instead of storing all the session files in
    2 v0 \* e' u! a$ b" i
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    6 X: k2 b" Q% \, n& I, a) G/ K
  1428. ; store the session data in those directories.  This is useful if( o, t8 {, c& R* x/ T% f! T& J  ^, B
  1429. ; your OS has problems with many files in one directory, and is
      v8 r8 E4 c3 u' H8 W, V
  1430. ; a more efficient layout for servers that handle many sessions.
    7 J$ ]4 M; {- |+ }
  1431. ;7 S4 B8 K4 L  Q3 e
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    9 e: N2 H7 L' y4 K. Q5 o2 e
  1433. ;         You can use the script in the ext/session dir for that purpose.0 ^1 N1 N  f% n" E2 |
  1434. ; NOTE 2: See the section on garbage collection below if you choose to- U/ Z  P5 h3 O4 S% ^
  1435. ;         use subdirectories for session storage
    $ M! P  f, _, y) M. b
  1436. ;. U+ Z4 f! Y7 L; O8 U
  1437. ; The file storage module creates files using mode 600 by default.
    ( A0 B7 Q, B- p1 P" h2 n+ B
  1438. ; You can change that by using
    * T0 T+ t* E* f; W+ f2 b
  1439. ;. h3 c$ P- [2 v" a9 `
  1440. ;     session.save_path = "N;MODE;/path"
    / x) @) @3 Y: s9 n! q+ A
  1441. ;4 w* E2 v* ^0 `" r- O
  1442. ; where MODE is the octal representation of the mode. Note that this
    4 U7 G( h. f5 H1 Y0 r& U) j
  1443. ; does not overwrite the process's umask.1 ~- e1 f' q* j6 `
  1444. ; http://php.net/session.save-path
    0 J! D8 V; P/ i" W9 Y' ?7 m
  1445. ;session.save_path = "/tmp"  {* n3 }7 ?9 O: I
  1446. * Y, ?1 P4 U/ p% e& ]% {( N$ l0 c& l
  1447. ; Whether to use strict session mode.' U! b; X) z0 a6 F
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate5 Y! u* @# r1 `7 K8 a1 Y6 k8 c2 x
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    6 u/ p. U. M4 k
  1450. ; applications from session fixation via session adoption vulnerability. It is; W4 @" O: V; B
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.: e& [4 |! f$ g9 k( c, D! [
  1452. ; https://wiki.php.net/rfc/strict_sessions: R* b8 G9 w  n( y  ~
  1453. session.use_strict_mode = 02 F' [  |/ F3 O0 b. _  `$ |- g
  1454. 3 R& w* M9 f' y" n9 `
  1455. ; Whether to use cookies.! t% L# i4 d2 T( ^
  1456. ; http://php.net/session.use-cookies) G) X: f" @. t, v9 l1 K+ m$ W, O3 R, g
  1457. session.use_cookies = 1
    ' r) w+ I8 F; ?+ P

  1458. 0 a6 I3 g4 v& \1 t6 I  ], a6 w
  1459. ; http://php.net/session.cookie-secure9 ]; _! I- f+ y4 w$ t  O9 u
  1460. ;session.cookie_secure =7 D7 o' m! G$ R
  1461. - }) Q3 l% K/ b' i
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining6 l5 k, z' f+ t/ C) R+ n
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    - S- {* b  U" d
  1464. ; session hijacking when not specifying and managing your own session id. It is, ]  w3 p) e7 y$ R) Y
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    , R! j$ Q- |8 U3 U+ V4 p
  1466. ; http://php.net/session.use-only-cookies
    , V* w/ o2 q$ f9 f
  1467. session.use_only_cookies = 1
    6 L1 ]$ M; c. F' u) i& B8 W

  1468. 6 n8 \5 j1 d) ]
  1469. ; Name of the session (used as cookie name).
    3 x/ A6 n% V4 B" r
  1470. ; http://php.net/session.name9 `7 X. k) `9 ]' o* s7 ~
  1471. session.name = PHPSESSID
    # p, }4 |- ^, g+ [# a2 c2 E

  1472. 1 a* ?: F. n% @+ }+ E. X
  1473. ; Initialize session on request startup.
    ) I, [# x# _- k) R
  1474. ; http://php.net/session.auto-start
    # S, b. C. j- z
  1475. session.auto_start = 0
    $ v' N/ p2 u4 p+ j: ~
  1476. , G) c& l" c1 f
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    0 R% }1 I# H: v! \' c/ v$ I: Y
  1478. ; http://php.net/session.cookie-lifetime
    ! \7 ^' w$ t: V& I$ Q; Z( R
  1479. session.cookie_lifetime = 06 D4 P9 x8 D/ i: \& ~$ E' d+ v
  1480. 6 f% Y# t9 r% h
  1481. ; The path for which the cookie is valid.8 j: z& h8 e7 b- n
  1482. ; http://php.net/session.cookie-path
      B0 U( e2 Y4 g
  1483. session.cookie_path = /
    5 q2 Y. k& {! n4 j4 c3 @1 g, D
  1484. ; l% T" K# [8 _
  1485. ; The domain for which the cookie is valid.; Y% z5 }7 N* [, N4 \& M
  1486. ; http://php.net/session.cookie-domain
    % B1 f" f- R7 J9 q
  1487. session.cookie_domain =4 z( v& }# b9 @" @, B( b

  1488.   R) E8 R' t$ `& Q  L
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.. F5 S5 q/ P. f5 |: @! J
  1490. ; http://php.net/session.cookie-httponly
    4 u/ i2 A9 N" q6 m& A' h" I
  1491. session.cookie_httponly =
    4 J1 k. V9 \- `" [) _+ g* V
  1492. 2 u+ V0 K( p9 M, i7 E
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.* ~1 g: z: Y3 N2 h3 t9 w! C) {
  1494. ; http://php.net/session.serialize-handler' n7 ?( C" y1 B8 r0 d+ O; s) x
  1495. session.serialize_handler = php9 O  i$ \% |) ?- C% i: A; q& k0 C0 b

  1496. 3 i4 a* u/ u, [, e# a& C* v: k( R
  1497. ; Defines the probability that the 'garbage collection' process is started7 F9 j  U, H! L' \, D6 y
  1498. ; on every session initialization. The probability is calculated by using4 u* P$ q+ ]/ E9 R% }7 T: ?1 |
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator1 B0 @) l6 ^' D' l3 z6 n
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    + b; f. ]  t7 k$ d
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    & K+ E: Q; }1 O" \" e. l1 Q1 R5 A6 x
  1502. ; the gc will run on any give request.
    ' I8 G, Y% p0 I5 M0 m
  1503. ; Default Value: 1. q% w7 R3 V: ~! P5 h0 a7 o
  1504. ; Development Value: 1
    " J- W" X+ I8 u6 {9 W1 W* H
  1505. ; Production Value: 19 `9 f- x, _) r7 y+ d2 |' P1 T
  1506. ; http://php.net/session.gc-probability
    ( @/ {7 \0 t6 p" {+ V1 q' ^( H$ [
  1507. session.gc_probability = 1# F2 p$ a3 q; m- v9 R
  1508. 8 H, x5 o# q- H2 W) ?2 J% f' U
  1509. ; Defines the probability that the 'garbage collection' process is started on every) E8 N8 _4 j; H0 p
  1510. ; session initialization. The probability is calculated by using the following equation:- k5 f5 E; Z5 n  L* Q; M. m3 N2 i* m
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and* R) z$ m& W& o! |' A. J
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    1 ~. s- f5 j6 L5 T( w" \
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance1 J' a4 n( m3 H: l: D3 v$ w
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    . {$ n* u9 `( q5 A
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    - P5 k  [' N' `
  1516. ; this is a more efficient approach.
    ) M: s( ^3 @* R% Q+ B1 W
  1517. ; Default Value: 100
    : A5 W( S. w7 N. j; _, m" F9 Z, y: }
  1518. ; Development Value: 1000
    % d( @3 `0 q' O4 B% |; W+ @1 z
  1519. ; Production Value: 1000
    6 k. C5 h; A% c+ t
  1520. ; http://php.net/session.gc-divisor
    # V2 Z: b, I* S% f4 _4 P5 F# T
  1521. session.gc_divisor = 1000
    9 B+ c  j  I! X$ `
  1522. ; p% A0 _; i# F- r; _# [9 ~
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and3 s3 I. `' d0 d. I# y$ @2 t
  1524. ; cleaned up by the garbage collection process.+ n* @. c) Y: u; Z$ K2 D8 k
  1525. ; http://php.net/session.gc-maxlifetime( O; v2 K+ q6 N! G9 v' @4 k  `9 I" `4 ]$ x
  1526. session.gc_maxlifetime = 14405 @! {4 S$ I( ?, w8 t; u
  1527. , e% T, X& w2 N( H5 X5 Q
  1528. ; NOTE: If you are using the subdirectory option for storing session files/ X% a: ~+ H- y+ R
  1529. ;       (see session.save_path above), then garbage collection does *not*
    1 z# T% U8 C' {8 D: ^5 y
  1530. ;       happen automatically.  You will need to do your own garbage+ A( G9 V* E3 c( `$ j7 S
  1531. ;       collection through a shell script, cron entry, or some other method.
    8 r- A' W% D4 n- J/ m
  1532. ;       For example, the following script would is the equivalent of
    $ _! p; {( W. N' t% ^+ `/ U* J
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    $ B! A6 M' u6 g
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    * |, `  Z3 H) V4 K4 S  @! X

  1535. , j% W0 m6 B$ F, H3 E. \6 i
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.5 H# s! P8 n* g! G! L
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    ) x% h- i* N( a- Q2 `$ [* A
  1538. ; considered as valid.
    7 ^, P0 C1 C7 T% [
  1539. ; http://php.net/session.referer-check
    8 s+ `" [2 @  ]& q* \# M# r8 [  E
  1540. session.referer_check =
      |) b, B) A* W! B
  1541. 3 U/ s, t% e, v8 A& |8 z' P
  1542. ; How many bytes to read from the file.  X/ Z2 b/ l0 G' j! q; W
  1543. ; http://php.net/session.entropy-length9 j% |: H' w0 @+ v& x" `: ~
  1544. ;session.entropy_length = 32
    : ^- j  g: w6 B

  1545. 7 P% B& h: g5 j! g* I' ]) S% V/ F
  1546. ; Specified here to create the session id.9 p8 t9 @0 z$ x* e- g' ], F8 Z
  1547. ; http://php.net/session.entropy-file
    7 C% C5 s; _, T: O2 _
  1548. ; Defaults to /dev/urandom
    6 C$ m. D" \! O
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    2 C% \: r" m1 J: U
  1550. ; If neither are found at compile time, the default is no entropy file.
    ' k: R7 Q# G0 U: }2 Y1 w  X# `
  1551. ; On windows, setting the entropy_length setting will activate the  Q& k0 o% i3 m; ^
  1552. ; Windows random source (using the CryptoAPI)# U/ k0 u$ c. p) B2 z
  1553. ;session.entropy_file = /dev/urandom* s! G2 l# N6 z' Y4 B; ^

  1554. % C/ q1 e& O* k# b) [4 C
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects3 n1 A9 @" {; m& G  S
  1556. ; or leave this empty to avoid sending anti-caching headers.7 N3 R! c, o+ F7 b6 t  \5 H
  1557. ; http://php.net/session.cache-limiter
    0 y/ g8 ?' s/ q: U
  1558. session.cache_limiter = nocache
    6 H  \7 q# k8 s9 \

  1559. , g3 g; L7 Y7 f; z6 r6 u$ p, D* Z
  1560. ; Document expires after n minutes.  z' e5 w: e& V1 z6 P$ m
  1561. ; http://php.net/session.cache-expire9 E2 Y! |; a7 K* F; G2 w
  1562. session.cache_expire = 180
    % B# [  j: K8 i1 L
  1563. ! @" n" R6 D* m7 O3 T
  1564. ; trans sid support is disabled by default.
    6 a" ]! I% h! {) T7 ?0 C
  1565. ; Use of trans sid may risk your users' security.+ m( C! O2 |3 P) e; U- G
  1566. ; Use this option with caution., ^, T1 V& Q# n6 [, U
  1567. ; - User may send URL contains active session ID
    & Y1 D( L( w3 F( F- ?5 W8 `
  1568. ;   to other person via. email/irc/etc.
    ! B3 [6 w3 q8 r, K
  1569. ; - URL that contains active session ID may be stored
    & j% ]" l  x  l6 R
  1570. ;   in publicly accessible computer.
    7 N" I. L9 n% |
  1571. ; - User may access your site with the same session ID
    & v/ E7 f/ b" x6 _6 j
  1572. ;   always using URL stored in browser's history or bookmarks.
    $ r  Y' Z  t1 O9 _! }
  1573. ; http://php.net/session.use-trans-sid
    6 a' s5 k, I9 I0 L1 {5 |7 N$ ~) D
  1574. session.use_trans_sid = 0# F' ?7 _! B' J$ E* y7 j

  1575. $ ]. y( N$ a( r0 W
  1576. ; Select a hash function for use in generating session ids.
    8 Y4 K+ C; _$ w# e2 ]( l. P
  1577. ; Possible Values8 x& ?+ m! c" I1 v' ^9 a, x7 o$ z0 u
  1578. ;   0  (MD5 128 bits)( Z8 m% G4 q9 T& n; _
  1579. ;   1  (SHA-1 160 bits). G8 I3 w" y& c% {6 D6 j2 y
  1580. ; This option may also be set to the name of any hash function supported by
    * c* J% ]3 K) L6 m: U, }
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()- \' O! B' N# }
  1582. ; function.
    5 j' w1 D( N7 I* y
  1583. ; http://php.net/session.hash-function7 Q8 a9 j8 q' z+ s
  1584. session.hash_function = 06 |$ _& S$ v% k1 ]0 }+ P$ ~7 ^
  1585. 1 c- O+ a$ B. N
  1586. ; Define how many bits are stored in each character when converting- p0 o& b6 u  H" X0 A+ ^# a
  1587. ; the binary hash data to something readable.; p$ u+ N% ~! }. P  o; s& ~4 w4 I8 s( x
  1588. ; Possible values:
    ( _+ i" E* d* P( R$ `
  1589. ;   4  (4 bits: 0-9, a-f)0 k3 c0 R0 U- f- R. E
  1590. ;   5  (5 bits: 0-9, a-v). c3 G. t! E/ n% p# a4 q* x/ Z
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    3 D- I5 i: d- Y+ W4 ?6 s, ^
  1592. ; Default Value: 45 m8 c2 R& C  v" W3 K
  1593. ; Development Value: 52 H8 ?, H& X% a& A  ^
  1594. ; Production Value: 5
    ! G2 J& Y# N( F' q$ L) g* s
  1595. ; http://php.net/session.hash-bits-per-character
    ) @; q5 B# r/ P  j0 N3 B
  1596. session.hash_bits_per_character = 5
    * x/ ]# h+ `$ v' V
  1597. / M, M9 V8 `+ u; q
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.+ J% V7 A/ f2 {
  1599. ; form/fieldset are special; if you include them here, the rewriter will8 i) q2 }) I  a/ \) U
  1600. ; add a hidden <input> field with the info which is otherwise appended$ z; Q. a' J8 B4 j' J$ _
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    & _5 h' ?% C0 m3 k) D' l
  1602. ; Note that all valid entries require a "=", even if no value follows.
    % S- ~2 K4 J* |4 z2 W) o% v
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="5 @7 n  Y% `5 E
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    . @1 `  E5 c0 R  u# e: h- f
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    * W6 L  ~6 q$ p* a
  1606. ; http://php.net/url-rewriter.tags  X7 R) Y- w7 J: Z  B
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    * Q; \/ e# _* V% V8 |1 G! g" j

  1608. ) F+ P* o; v5 {9 G6 q# O
  1609. ; Enable upload progress tracking in $_SESSION
    , T' v8 A  n/ X2 z
  1610. ; Default Value: On, S1 z& h7 j- }' l! I
  1611. ; Development Value: On. {3 y+ ~% V/ P, d  f& c
  1612. ; Production Value: On
    - w$ Z; d7 r4 ?; Z* e8 [
  1613. ; http://php.net/session.upload-progress.enabled& w, ?) K8 f3 @* ?: q
  1614. ;session.upload_progress.enabled = On, }7 l. |0 S' S' \4 Z

  1615. - t% H7 l! l7 @3 v* W& X0 D# Y* a
  1616. ; Cleanup the progress information as soon as all POST data has been read. W- M  D0 l2 K+ B! N  N( ?
  1617. ; (i.e. upload completed).1 R3 T. A6 X: t; k1 V$ c3 X
  1618. ; Default Value: On
    8 m1 r& k; e" i) `, s; t) [, X
  1619. ; Development Value: On
    ) g5 t$ x5 ?! m- W& L& }
  1620. ; Production Value: On
    , y+ q; t/ M5 J( M
  1621. ; http://php.net/session.upload-progress.cleanup
    ! i* c( [; x/ J/ `* Z# R- n
  1622. ;session.upload_progress.cleanup = On* i6 s, @* c, c) l; D* p& m& Z

  1623. : i% r: ?( o( u2 y% ~5 E) T" [+ A
  1624. ; A prefix used for the upload progress key in $_SESSION; V! [& U9 D+ O) [! t& Q1 _
  1625. ; Default Value: "upload_progress_"
    2 l7 ~! g, z3 t) p! R
  1626. ; Development Value: "upload_progress_"
    / Z$ t, l( S, w0 w6 W
  1627. ; Production Value: "upload_progress_"
    # k0 `! s& [9 ?! b
  1628. ; http://php.net/session.upload-progress.prefix8 D  o$ _/ R# o
  1629. ;session.upload_progress.prefix = "upload_progress_". l  V2 I' s# ~/ g2 |
  1630. 7 x- w: Z2 R2 U5 ~+ n) ], p% H
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    ) P1 Z7 m7 N- R2 ]+ F9 p  {4 S. T0 @
  1632. ; containing the upload progress information* \3 h8 b+ l( p# _% c) E. [
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    . E$ {0 \8 x) U! ^! s9 u
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"3 P% c5 k9 D0 d4 S6 A# F, O
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"" l, m9 i6 x# V7 h
  1636. ; http://php.net/session.upload-progress.name' J0 A2 d- P2 ?0 F0 b
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    ( Q) v& G) C! U3 K! F! Q
  1638. * v1 M# q1 I0 c
  1639. ; How frequently the upload progress should be updated.
    6 }2 b; G% Q; ~  Z- y; `. t
  1640. ; Given either in percentages (per-file), or in bytes
    + W: S( e) W* q
  1641. ; Default Value: "1%"; v. |/ \& l9 s
  1642. ; Development Value: "1%"
      t9 }  ~8 j* I, y0 ~
  1643. ; Production Value: "1%"
    - w2 J! g+ f1 u& Z* V
  1644. ; http://php.net/session.upload-progress.freq
    7 ?* ]( @  z9 V) S3 \+ Q
  1645. ;session.upload_progress.freq =  "1%"
    / p& g6 C9 [0 c- }+ t/ s* r- D
  1646. + F% w% A5 C# ]/ S$ W% o
  1647. ; The minimum delay between updates, in seconds
    5 ^7 P9 i, B1 Z+ c" `* A$ y; ~5 f, t: ~
  1648. ; Default Value: 11 Q# J2 E/ V% R& a4 [
  1649. ; Development Value: 1
    $ y% a) o4 f' E. K0 ^7 i- B+ X
  1650. ; Production Value: 1
    ! E9 f+ E( R8 s$ u& K& v/ k
  1651. ; http://php.net/session.upload-progress.min-freq4 ?0 q; ^4 P( s% N5 |
  1652. ;session.upload_progress.min_freq = "1"
      X$ t) ~4 e. L0 d) |$ P
  1653. 9 n4 m3 U6 M4 E& z+ f& J' f+ \! P
  1654. [MSSQL]- W3 k+ U" O0 x
  1655. ; Allow or prevent persistent links.; U) i0 r* ?' q9 A1 S* [3 K8 L
  1656. mssql.allow_persistent = On# n5 @% T% U, X0 @) z
  1657. ) z/ S% u3 |) ?- `
  1658. ; Maximum number of persistent links.  -1 means no limit.
    3 D% Y- K7 ?. a' Y
  1659. mssql.max_persistent = -16 ~  o0 O! s1 e7 E+ O. G
  1660. 1 W! U/ W% ?, E: ?7 j) x4 x
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    7 y) J5 ]1 H2 x) T1 F/ C
  1662. mssql.max_links = -1
    % D$ }6 l- _) d* K7 ]
  1663. $ `( l7 D7 O% {# n1 S: f, T% B( [
  1664. ; Minimum error severity to display.
    ' P4 f5 \( Z- p$ c( ^1 Y7 d% w, g
  1665. mssql.min_error_severity = 10. H( y1 L  a( b8 J
  1666. 3 _+ n4 U+ P& e! y9 v
  1667. ; Minimum message severity to display.
    7 d% ^* N# N  n% b8 ~, i# J% b
  1668. mssql.min_message_severity = 10
    8 f* x3 |- c! d* [% `

  1669. 7 p  T: K6 M2 M
  1670. ; Compatibility mode with old versions of PHP 3.0.! N: D8 T. W+ d" J4 u7 O
  1671. mssql.compatibility_mode = Off
    $ U$ b, o- k. |4 x

  1672. ( v% y3 T. M8 g. P( h" S
  1673. ; Connect timeout$ h' G! E0 R3 ]! e" @: ?; ^( E
  1674. ;mssql.connect_timeout = 56 U9 V( Z6 S+ P0 |% U

  1675. 0 I& I; J+ }! _4 x( C; r4 O" G! f. y
  1676. ; Query timeout6 g( p+ \2 R' D" _6 h& W/ G7 F
  1677. ;mssql.timeout = 60
    ! e9 ~5 h! B" E4 N

  1678. 8 p, Y% ?& v) d4 G- A  a) |6 v
  1679. ; Valid range 0 - 2147483647.  Default = 4096." n3 Y3 b0 F9 |5 |
  1680. ;mssql.textlimit = 40961 W! G1 C! F8 X: `( e
  1681. 6 m8 @" e. P0 U$ ?. z  C& `4 |
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    / I( f- d" z7 I( J0 M
  1683. ;mssql.textsize = 4096
    2 u9 |& V$ @; g) U9 G4 V
  1684. + _/ c. L, f6 h1 }
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.0 a) q: J. E- y. @! l8 R
  1686. ;mssql.batchsize = 0
    ' _5 C7 a+ a7 ^- E

  1687. ' _4 [9 p* n  n* \) W7 ^
  1688. ; Specify how datetime and datetim4 columns are returned
    % q! |1 ~8 y' M; w# ?6 ^, _
  1689. ; On => Returns data converted to SQL server settings
    1 k3 `/ h. Y" U
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    9 D4 q, ^# h  E2 W0 ^: D; n
  1691. ;mssql.datetimeconvert = On; z7 c9 R, J2 e; v1 W3 o5 F2 e
  1692. 7 t* I- b) M# i8 o5 w# o
  1693. ; Use NT authentication when connecting to the server3 P% G5 |5 Z- F8 p) o- @; C
  1694. mssql.secure_connection = Off
    0 F9 \- E$ j) P* i
  1695. : G: z0 H( C" t' w) J
  1696. ; Specify max number of processes. -1 = library default
    3 d' x- ^1 P8 s7 E1 U% y
  1697. ; msdlib defaults to 259 ^' R) \; B8 n; E
  1698. ; FreeTDS defaults to 4096
    & b7 q0 X8 X( f/ u( ]
  1699. ;mssql.max_procs = -1  {" ~. Z" n* L# y2 S3 O: J' m

  1700. * D* R: p( R/ o, B" N4 M" Z0 f
  1701. ; Specify client character set.
    * E/ c- `+ V3 P9 N
  1702. ; If empty or not set the client charset from freetds.conf is used
    , g9 t" E2 L; x& P# o/ P
  1703. ; This is only used when compiled with FreeTDS
    # {0 @6 B# h; h4 n2 o7 Y. w/ N
  1704. ;mssql.charset = "ISO-8859-1"
    ) i8 V: c/ {4 g

  1705. : K9 d6 n/ l3 ~/ D8 w
  1706. [Assertion]8 o" h0 @( y/ ~4 [) I
  1707. ; Assert(expr); active by default./ W! V) C- p* d! [+ l; H2 w0 E
  1708. ; http://php.net/assert.active
    - o$ |9 E, j+ q3 `" v' m* O" |
  1709. ;assert.active = On' J6 m: K5 ?* }% k$ f# o$ r
  1710. ; [4 `7 ^) R/ m& N
  1711. ; Issue a PHP warning for each failed assertion.+ O; K& C9 F! l
  1712. ; http://php.net/assert.warning
    % T" ?0 R+ t2 p% N$ e
  1713. ;assert.warning = On
    4 V0 x' M% N9 ^: z7 k

  1714. ' K( h2 k7 t3 g8 s( o( U
  1715. ; Don't bail out by default.+ q' m) W0 G# Y/ |# `, ]. I
  1716. ; http://php.net/assert.bail
    8 y/ \2 `1 Y3 P* X9 T
  1717. ;assert.bail = Off
    4 Q1 ~- J; g. I1 V/ N0 ^
  1718. ) e5 g, F( V  |# {1 h. ~* c# s
  1719. ; User-function to be called if an assertion fails.
      [, G' i. ]8 G, u
  1720. ; http://php.net/assert.callback3 v) p' f2 e0 o9 {" V
  1721. ;assert.callback = 0
    1 v* x* x. i! T: e

  1722. ) e% j4 ^1 n+ M/ v
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
      W- i9 a9 p0 S. h
  1724. ; error_reporting(0) around the eval().
    / [2 ]7 S. \6 P/ J  |) V7 ?3 s
  1725. ; http://php.net/assert.quiet-eval7 Z+ q: S7 U; B* Q! j% x* o9 T) V* G
  1726. ;assert.quiet_eval = 0
    8 A7 W3 p; N. T& H

  1727. $ t; N* c6 O0 z7 |! F% j
  1728. [COM]! b# r- ?8 {( f" S8 |
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    / ~& z( c! A) V; P5 D; w6 ^3 X
  1730. ; http://php.net/com.typelib-file' l9 d! n2 o/ ]8 y) {
  1731. ;com.typelib_file =
    ) Y7 \. u% v# ]$ l0 L: K
  1732. 0 y( B/ o0 C% w1 F# K' c! U6 b
  1733. ; allow Distributed-COM calls- n6 {7 r, |  F8 k! M
  1734. ; http://php.net/com.allow-dcom
    / j1 R$ X; `$ ~/ j! K
  1735. ;com.allow_dcom = true) H$ R7 v( J& n3 e; W) z  a

  1736. & Z9 d( Y  J7 r
  1737. ; autoregister constants of a components typlib on com_load()# m- I9 u8 M, _5 v2 {1 k6 h5 u
  1738. ; http://php.net/com.autoregister-typelib
    7 F$ D( a4 H7 [) f- Q6 h5 _  O
  1739. ;com.autoregister_typelib = true
    8 E& R  m! @8 \. ]  C( |
  1740. & y% ?' Y+ v/ ?
  1741. ; register constants casesensitive
    + f3 X9 g4 Y) B( Q* ]4 }
  1742. ; http://php.net/com.autoregister-casesensitive
    - R4 U# [6 g$ L
  1743. ;com.autoregister_casesensitive = false
    " O" ]% [, [6 q3 _5 W- V  S

  1744. # U- _9 b% F# Y/ h$ B( l3 k# J
  1745. ; show warnings on duplicate constant registrations7 T7 h5 a7 C; \1 e
  1746. ; http://php.net/com.autoregister-verbose
    & N  A) \* u. s7 R/ U$ j5 E
  1747. ;com.autoregister_verbose = true7 Z, n5 f% p# L& r1 I8 B, W8 L
  1748. - h2 f, b3 V, z" y! U0 R9 v4 B
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    2 F/ e- ~5 V% L7 d  l
  1750. ; Default: system ANSI code page+ m0 \/ z& Z' ]
  1751. ;com.code_page=$ J1 P2 I' H$ x. d7 i$ p

  1752. $ p0 K3 B: W$ \7 T8 {' @0 p( v
  1753. [mbstring]3 b; A. }$ h( ^1 J+ E3 R4 v
  1754. ; language for internal character representation.
    # a1 E: x& G8 H. _6 F
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.2 v: _, R! I  Z. E  N, m# V
  1756. ; http://php.net/mbstring.language& A6 y# U; X$ q0 ]3 K
  1757. ;mbstring.language = Japanese8 P( ~0 g' d9 e8 B+ W7 H4 m/ T0 V
  1758. ! m! `$ Q7 K' p! ?
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    ( s9 f; f% r  T" P5 \2 e9 I
  1760. ; internal/script encoding.
    $ {& k) P+ \+ ~6 T0 b
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)7 I2 H, `5 R0 Z0 ~, {
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.6 A5 d1 b, ?9 h+ f
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    ) r6 N; \$ r4 x
  1764. ;mbstring.internal_encoding =
    , _- r1 A- P8 `; D6 U" c( j
  1765. - q+ i' C8 t& x) r
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.
      ?. u* f' N' c/ G( H! R
  1767. ; http input encoding.6 r! o" w7 S1 g8 p  c. O9 _) `
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.8 Q  x; u. e1 l4 W( T' G
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    , E( c# I' R! y
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    - x: K5 s- R; v1 O
  1771. ; http://php.net/mbstring.http-input9 `2 ^8 e/ E. x% p; t0 X; a
  1772. ;mbstring.http_input =
    ( c2 }: O$ E% V' Y. F
  1773. % f2 R5 n4 p3 @5 Y5 z2 p
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.4 G. ~+ Z0 z) ?# t$ G  A% q* h; W
  1775. ; http output encoding.) _4 B$ }0 Q  `/ P8 v3 ]( }8 L/ h' _
  1776. ; mb_output_handler must be registered as output buffer to function.8 g; d: B, s/ O2 O: q. Y
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    * A$ m) g) K* O
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    ; j1 d- H3 z4 a" K, H4 r; s
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
      j7 a* N& b" g# |1 n4 @1 n
  1780. ; otherwise output encoding conversion cannot be performed.
    : ^5 n/ t: @0 U8 v" V" c+ o
  1781. ; http://php.net/mbstring.http-output# X( d3 Y) g$ \
  1782. ;mbstring.http_output =
    4 }' o; M' R$ r. y
  1783. 8 w' Q, t9 u, o
  1784. ; enable automatic encoding translation according to& g# `! n# n. U1 q, j' k* L: p
  1785. ; mbstring.internal_encoding setting. Input chars are
    3 {0 ?  e, ]  c/ X; _
  1786. ; converted to internal encoding by setting this to On.- x, L( b( V$ n1 ]+ `
  1787. ; Note: Do _not_ use automatic encoding translation for
    - u8 @2 k6 P1 P9 k8 O9 O
  1788. ;       portable libs/applications.$ w1 ]/ q/ V" F! T- V
  1789. ; http://php.net/mbstring.encoding-translation
    . B4 R; p; G. k& F/ o* ]
  1790. ;mbstring.encoding_translation = Off
    7 x/ x+ H8 P" s2 o: x9 i4 t$ h8 u% i. E
  1791. ! |7 l7 l" h' V# N3 h
  1792. ; automatic encoding detection order.
    3 J# s5 M+ o3 @4 \! D, A
  1793. ; "auto" detect order is changed according to mbstring.language
    , r# i7 ]* k- W1 U: P# R4 q: t7 i
  1794. ; http://php.net/mbstring.detect-order
      g  m! K% [) m+ ]' `
  1795. ;mbstring.detect_order = auto) j, ]/ q! a, X8 a

  1796. ! Z$ L# D, _+ [# ]$ P9 P
  1797. ; substitute_character used when character cannot be converted$ N. }5 ]8 H7 @  F" y$ `
  1798. ; one from another
    4 e' I+ V  N4 K, V5 C  Y
  1799. ; http://php.net/mbstring.substitute-character
    8 r3 l# P2 L* H+ k1 ]% o
  1800. ;mbstring.substitute_character = none
    6 t) D, M6 Y7 F# d0 s+ C$ b; T
  1801. 2 v+ D0 J/ U7 ]- Q- z
  1802. ; overload(replace) single byte functions by mbstring functions.
      }8 z' B3 Q" J. }' G( f& J2 ^/ v
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),2 B% P% l6 K* L5 M: q
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    0 e+ |# w1 X# I. ^6 d
  1805. ; For example, 7 for overload everything.* p; y" [. X8 }, y. b
  1806. ; 0: No overload. `& m6 u3 l* f  `* [* ?3 E- n+ M
  1807. ; 1: Overload mail() function' J& v$ v7 S) @
  1808. ; 2: Overload str*() functions
    7 I/ j( ^2 Y  a
  1809. ; 4: Overload ereg*() functions. Q; V, X* b; `0 J+ _& i1 s4 d" f# @
  1810. ; http://php.net/mbstring.func-overload
    - W0 p2 M% e  n- `2 y6 x% O8 \
  1811. ;mbstring.func_overload = 0
    ' i  f) J- D8 l& j. }
  1812. ) Y) W; A/ i  B7 ?. u4 j
  1813. ; enable strict encoding detection.7 }% B: n9 S5 ~0 m/ {$ @3 x
  1814. ; Default: Off1 b/ z" s8 \$ q3 t7 I
  1815. ;mbstring.strict_detection = On1 |$ w; u7 B( [- m1 H! R* q2 ^3 a
  1816. 8 Z; G6 n3 @/ U" {5 N
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    . d( Q, b- U0 S. K: [& g  `
  1818. ; is activated.
    # a$ w0 `  t/ x+ _) `' E" J- b
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml), M6 r/ u* D# G9 B
  1820. ;mbstring.http_output_conv_mimetype=
    . w) a) x- B( ^6 q$ e" ]
  1821. $ H3 V! w8 Y' s4 A* o$ l0 V0 ?
  1822. [gd]
    8 P# H/ U" o6 a9 I/ `0 S1 C( |9 [
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    " [' w; M; J/ i. A, x% F
  1824. ; a gd image. The warning will then be displayed as notices. W& o0 h! J. @" T3 W7 ]
  1825. ; disabled by default
    7 J( V2 E% r- u/ ]* Q: W* I
  1826. ; http://php.net/gd.jpeg-ignore-warning
    9 z4 q" ~1 c3 V: q0 N2 ?8 M1 z
  1827. ;gd.jpeg_ignore_warning = 0
    $ Y" @& H4 j' q( o
  1828. ) l  P# ~% U2 {! ~1 k
  1829. [exif]
    5 F: C  `, g8 V4 m
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS., T% Q' [4 Y! ]! l6 Q) V
  1831. ; With mbstring support this will automatically be converted into the encoding
    3 b9 _4 f& f5 U' z
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    6 N+ o+ ~; e& {$ Z6 L: ^
  1833. ; is used. For the decode settings you can distinguish between motorola and% g7 l7 R% d8 X8 z" o" n+ }
  1834. ; intel byte order. A decode setting cannot be empty.
    # W. Z0 z' @  o
  1835. ; http://php.net/exif.encode-unicode
    7 ^5 y6 [0 Q, A- q
  1836. ;exif.encode_unicode = ISO-8859-15
      B; e4 S+ f0 _& z3 _9 |) T
  1837. ! }. a( R6 d& `; @" ?7 ]
  1838. ; http://php.net/exif.decode-unicode-motorola
    % V6 \0 }; U3 N$ h/ E
  1839. ;exif.decode_unicode_motorola = UCS-2BE
    3 v' L" s" K. U
  1840. 6 @0 w4 H4 w  e& G
  1841. ; http://php.net/exif.decode-unicode-intel
    . J7 }! A& o' O4 Y& f
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    8 E: s8 r" X# R! p9 J. E- ]4 T

  1843. ) E! }& }. C1 _/ w8 a
  1844. ; http://php.net/exif.encode-jis8 W' W0 S) k4 F' N. `' @
  1845. ;exif.encode_jis =
    0 {8 W; s, f, i
  1846. ' L( k% e) y: _- R
  1847. ; http://php.net/exif.decode-jis-motorola
    ; D, J& j) Q' C" t1 {! z
  1848. ;exif.decode_jis_motorola = JIS
    # t- v! Z/ o+ L& X

  1849. + s3 Y8 d6 I, k" t0 y+ X3 U
  1850. ; http://php.net/exif.decode-jis-intel
    ' L( A- G$ [' k5 A* L% _
  1851. ;exif.decode_jis_intel    = JIS' v) F6 I4 j5 k7 M! ?9 J

  1852. 0 l! U* }" D% b& C0 h/ m* w' z
  1853. [Tidy]
    % z! n  `8 r8 b" }" ~
  1854. ; The path to a default tidy configuration file to use when using tidy7 v( n7 s$ n4 A* t; P
  1855. ; http://php.net/tidy.default-config
    3 t( H% u4 |) t( K
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg2 V. d& {( w* b5 z. t3 E
  1857. ; E8 s/ {) r3 n; ]* Z
  1858. ; Should tidy clean and repair output automatically?$ [  w8 g" @0 }; J  z2 H
  1859. ; WARNING: Do not use this option if you are generating non-html content; u' a0 c) s6 A0 s
  1860. ; such as dynamic images
    & N7 j! p' q9 X2 B& W3 F
  1861. ; http://php.net/tidy.clean-output! y! |' I+ n, j5 q
  1862. tidy.clean_output = Off
    / X. B: m" q, I5 u) g( c  E) k

  1863. 4 y% u  E3 {& x- I& i. m
  1864. [soap]- J& h$ ]% a( f  ~
  1865. ; Enables or disables WSDL caching feature.
    ; P6 O2 _/ l8 g% w
  1866. ; http://php.net/soap.wsdl-cache-enabled. J+ D: }! _0 _( v0 h3 K$ C
  1867. soap.wsdl_cache_enabled=1
    ; \/ X* A& u+ Z( b
  1868. ! m3 K5 l$ h- d( W. R) e9 N
  1869. ; Sets the directory name where SOAP extension will put cache files.
    2 Y  r  z1 l" D9 s: U# k) e' T
  1870. ; http://php.net/soap.wsdl-cache-dir( |& |( w- D: N2 Z0 m1 y
  1871. soap.wsdl_cache_dir="/tmp"
    6 N- M1 e9 ^" |  u! J/ z1 b' X0 [" }
  1872. - |" [  v- [( |- ]% F" s
  1873. ; (time to live) Sets the number of second while cached file will be used9 {( |; P9 u2 @4 o
  1874. ; instead of original one.; Y2 p: s/ J! L- h/ [
  1875. ; http://php.net/soap.wsdl-cache-ttl
    6 x" ?* c0 d4 \( \% B" M" O% V$ h
  1876. soap.wsdl_cache_ttl=86400
    1 y3 g$ M8 R7 d5 p
  1877. 3 T3 z0 ]- \' o0 ^
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    ! B+ p6 U6 q& `8 v( v3 C
  1879. soap.wsdl_cache_limit = 5% Y3 b! @, s4 ?# S0 a% N

  1880. + r# @6 G5 v* K' U+ |3 B+ |
  1881. [sysvshm]8 m  V6 J& M4 D4 k; @! }9 U/ P
  1882. ; A default size of the shared memory segment
      E" M  `( ^" F) y/ E8 ]
  1883. ;sysvshm.init_mem = 100001 a6 z5 @: e7 O

  1884. , c% s# c8 T" X, i
  1885. [ldap]
    % e! [! E+ e6 v# F2 p8 N
  1886. ; Sets the maximum number of open links or -1 for unlimited.) Q/ T; Y3 P. D' z/ \% R1 D
  1887. ldap.max_links = -1
    6 `/ ~9 \1 \: x3 D" n& I) k
  1888. 9 ]0 L5 ^) H+ I. b. ]/ P, z( E
  1889. [mcrypt]
    ! m/ u# F1 M1 H; K# [4 A5 c& O& f( _
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open) l0 p2 v: W* B  s, ?/ u$ M8 o
  1891.   e2 }5 ~( ]6 y7 `/ f. `$ H4 m- E
  1892. ; Directory where to load mcrypt algorithms
    - W5 L  x7 ?4 D" E% z7 l
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    8 \1 b3 T8 ?( }6 w
  1894. ;mcrypt.algorithms_dir=# M0 g( x& }6 _6 c6 i" B
  1895. 3 e! G% x7 \4 X. Y* H
  1896. ; Directory where to load mcrypt modes' M% y' T* l! G/ [2 y; `$ @+ M8 E
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt), J3 ~7 F3 j; B7 C
  1898. ;mcrypt.modes_dir=
    . Q' X$ L7 `6 o4 G0 o. m1 H

  1899. & h2 d8 u* a1 g& M. m' R
  1900. [dba]
    3 {/ L: w: r5 ?% t& L6 h
  1901. ;dba.default_handler=
    " g! s8 x  g6 g2 z, x( ]3 Q& w
  1902. 5 F  L/ T, _$ t2 P/ k
  1903. [opcache]
    5 t7 ]3 _, n0 x0 {( [6 Q( w
  1904. ; Determines if Zend OPCache is enabled
    0 {* _* G  F* }, t% M
  1905. ;opcache.enable=0+ o( H" Y) }5 \7 _" k! e( U! I

  1906. 1 P, B5 r) e1 P# m
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP2 H; d) P' a% n; Y% j1 ^
  1908. ;opcache.enable_cli=0
    6 U1 o4 `9 Q  @( s' P( W* e

  1909. 2 U( q, o& t4 u! Z
  1910. ; The OPcache shared memory storage size.
    ( O* _! y5 P5 X8 G& C; }; g  @- |
  1911. ;opcache.memory_consumption=64$ \" m2 A9 a' T% d4 Z5 [8 L

  1912. 2 m, C( {" E9 c
  1913. ; The amount of memory for interned strings in Mbytes.. Z, W& R  f; V% A( i; n6 N1 G
  1914. ;opcache.interned_strings_buffer=4
    ; t9 k( O2 y8 N0 v1 w( _5 a3 A
  1915. 7 B& b7 R7 C9 S& C) I. t& ^
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.) U4 U) ^* S; m2 X: H
  1917. ; Only numbers between 200 and 100000 are allowed.
    ) s$ v1 K: e2 }5 V! I: G
  1918. ;opcache.max_accelerated_files=2000  Y2 e* G7 k  W

  1919. . f$ X: s+ F4 `$ F2 Z+ a# ]
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.3 @9 Z3 j' |: g( y9 V
  1921. ;opcache.max_wasted_percentage=5
    4 x$ G; R6 x! v8 E

  1922. - ]3 h) S  R+ g0 F
  1923. ; When this directive is enabled, the OPcache appends the current working
    0 }! I3 b% i" k
  1924. ; directory to the script key, thus eliminating possible collisions between) Z1 n) U/ }8 f" p2 c
  1925. ; files with the same name (basename). Disabling the directive improves6 e  |* ^# s) E4 [3 Q
  1926. ; performance, but may break existing applications., n% l  {+ |8 s  z$ S! p8 l. V" f
  1927. ;opcache.use_cwd=11 M0 d0 ?  N4 l5 Y) i0 U. J* G

  1928. 6 M5 l* C7 h4 e& J( Y
  1929. ; When disabled, you must reset the OPcache manually or restart the
    8 d7 c+ K% e7 i: P/ s
  1930. ; webserver for changes to the filesystem to take effect.
    4 P- W' y- _& z9 g% _
  1931. ;opcache.validate_timestamps=1
    9 \. ?* @8 ^2 ]( {4 t$ R  Z2 @

  1932. 3 B# S9 j1 h( a5 G2 m3 g8 \
  1933. ; How often (in seconds) to check file timestamps for changes to the shared. R8 r" K$ s5 Y- q. h( v
  1934. ; memory storage allocation. ("1" means validate once per second, but only' Z7 x9 W+ ^4 G1 P
  1935. ; once per request. "0" means always validate)
    ( e5 y9 x& H, m  L; k$ ^1 S6 Y
  1936. ;opcache.revalidate_freq=28 o: N/ \: Z) @, p5 ?" x4 R. k6 }
  1937. / \, Z' l7 c% H' s4 c4 i( w
  1938. ; Enables or disables file search in include_path optimization1 U, f* e& }2 _4 F! l
  1939. ;opcache.revalidate_path=0: o3 W+ e. N2 n3 H( t
  1940. 0 @) M% ]  l3 X1 U
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    5 J1 O5 G. p8 s2 Z& ^( S1 ^. _
  1942. ; size of the optimized code.
    " z/ u" B: m7 {3 y) [0 `7 ^
  1943. ;opcache.save_comments=1! h5 S" v" G# a
  1944. 1 e- M4 @" ]. i7 `
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    " f5 z8 H: G  v8 I' Y* Z/ d' n
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    ' T: v2 f6 y0 a2 C" B$ _
  1947. ; that don't need them anyway.% U! S) e+ ~5 I$ V
  1948. ;opcache.load_comments=1% v( ~/ ^* J5 H5 n* Z
  1949. 0 g  t5 B2 X% t
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code: X7 k* W" l4 Q4 P
  1951. ;opcache.fast_shutdown=0
    0 v  d5 z  n1 l' _6 O4 D
  1952. & `( _4 d6 `# u8 }$ V8 W
  1953. ; Allow file existence override (file_exists, etc.) performance feature./ L) {& R) U7 y; f7 b1 [
  1954. ;opcache.enable_file_override=0" v1 b: b* u8 `% `4 V
  1955. ( S# z, Y+ I2 q5 M4 A! F: x/ k2 V# E
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache- G% |1 z9 T+ ?. \- I$ N
  1957. ; passes* i  i6 B5 i) @  B; B8 m! S
  1958. ;opcache.optimization_level=0xffffffff% E3 H' }- h1 ]; p$ ~- ~  S2 m4 u

  1959. ' {* W0 g' t* o
  1960. ;opcache.inherited_hack=1
    1 Q. f, y: H  |0 U1 c4 N
  1961. ;opcache.dups_fix=0
    7 z. F. G. ?/ c1 ^2 F: g
  1962. . o& c8 Y7 p2 R) P( z+ a  Q/ g- i
  1963. ; The location of the OPcache blacklist file (wildcards allowed).- W! @. v# A# u/ X; u6 {8 F
  1964. ; Each OPcache blacklist file is a text file that holds the names of files
    , z) Q2 x9 c4 H2 ?
  1965. ; that should not be accelerated. The file format is to add each filename1 B; B1 Q9 p' R( y( W% M
  1966. ; to a new line. The filename may be a full path or just a file prefix. N% @& H$ D) X+ {
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www2 @6 }5 x% C1 c  @1 P
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).8 h6 m* ]5 M. y! s/ b1 t5 L
  1969. ;opcache.blacklist_filename=
    : S0 S. u1 l# r. h) I: S6 t
  1970. - s! I2 J: _2 }$ _8 T
  1971. ; Allows exclusion of large files from being cached. By default all files/ O$ c& v+ ?. N  K" `: i  _
  1972. ; are cached.
    ; X0 C8 W! V' Z) M4 S
  1973. ;opcache.max_file_size=02 Z! w  L  j2 V
  1974. ; ^1 X  y! Y, T7 M6 B/ W+ P/ T( ^
  1975. ; Check the cache checksum each N requests.
    & H$ B  h: J) a3 U; o0 }+ D0 x
  1976. ; The default value of "0" means that the checks are disabled.
      y$ e  m0 a3 N: j1 @
  1977. ;opcache.consistency_checks=0
    # ~; {! _9 Z9 m* S

  1978. ; x5 ]& |9 e4 Z$ b4 R2 ]' j* l
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    & y; H' j% I3 m" A1 Q
  1980. ; is not being accessed.
    ( V$ j6 P: F9 p& z" y- y, J# `! d0 ]
  1981. ;opcache.force_restart_timeout=1805 j! J' F6 i) P* @+ b7 y6 N! d
  1982. 7 i0 }3 i" D8 z2 H# [6 A8 ^# u
  1983. ; OPcache error_log file name. Empty string assumes "stderr"./ S. v# w' G( N0 E1 L. z
  1984. ;opcache.error_log=( B8 J) }' o/ w/ v3 h* m

  1985. $ |& U, G3 \# `# o2 J
  1986. ; All OPcache errors go to the Web server log.
    8 d5 Q" [; S: \/ c3 Z5 w  H
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    " W1 q1 f4 I  g# N
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    0 T4 C2 |" ]; l
  1989. ; debug messages (level 4).: Q3 S8 p$ a+ ^- \% A% p8 g  x
  1990. ;opcache.log_verbosity_level=1
    $ T4 T/ F; {( U+ N9 C
  1991. 3 p, P* Q) L) u. E! h% E
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    2 p5 Z( [  Y3 ~# N, n/ p
  1993. ;opcache.preferred_memory_model=
    7 X% I3 `" f& @4 p

  1994. - d* P5 S: q- A9 f/ [5 b
  1995. ; Protect the shared memory from unexpected writing during script execution.: t( U. U: {3 y9 h
  1996. ; Useful for internal debugging only.) K0 m/ h$ h* {: A7 D  {3 l% E
  1997. ;opcache.protect_memory=0
    ; x. I* E: \" ?& A

  1998. / _# _# G& U& W' ^6 X4 V
  1999. ; Validate cached file permissions.
    8 _  x; t5 ^9 n6 s! E! w; u
  2000. ; opcache.validate_permission=0" G9 Y0 h7 C5 q. a9 V
  2001. . r& {. N# y' h: e# l1 I
  2002. ; Prevent name collisions in chroot'ed environment.
    ! Z, }! _1 s* S# n
  2003. ; opcache.validate_root=0
    . L/ B4 D. [+ R

  2004. ! j, Y. x. D1 ]: P" ], }
  2005. [curl]7 }/ k, M2 J& n
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an( e# a  ?9 b/ E
  2007. ; absolute path.: U2 c7 d2 j( |+ [+ V9 S
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    - f  z* J, v9 Y; ^

  2009. 6 L+ E/ U, u6 }, N
  2010. [openssl]
    - P4 e8 c, f# X8 Q- N
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem. s& V) N  `/ ?! y/ m- p9 ~
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    3 O( i. }! X! B% ~" y& \
  2013. ; not specify a value for this directive as PHP will attempt to use the
    / q. m) ^7 {2 b
  2014. ; OS-managed cert stores in its absence. If specified, this value may still: C/ S7 S' o" }3 U
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    4 B2 g0 a& i+ d! A
  2016. ; option.6 O2 z+ ]# U: B# f3 _/ o
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    5 v8 o8 X* h# {( w, G, F8 V
  2018. : B: Z1 T+ C( m$ P2 u* C
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    6 O8 c5 @$ @; N7 H6 b/ {
  2020. ; directory pointed to by openssl.capath is searched for a suitable+ V3 v) H3 R  U, x1 e
  2021. ; certificate. This value must be a correctly hashed certificate directory.1 X' Q9 x0 E1 ^. G9 t0 u4 e
  2022. ; Most users should not specify a value for this directive as PHP will* g' [4 q* F! C) x2 C
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    & C8 `- |# Z, j
  2024. ; this value may still be overridden on a per-stream basis via the "capath"$ G+ m1 f+ d$ P1 H5 C* V( ]7 o
  2025. ; SSL stream context option.
    , F! ^6 I1 ~, {; q5 T; A3 D  v
  2026. ;openssl.capath=
    ) w% B" o+ M7 k7 p0 x5 `
  2027. 2 D8 I. v4 B% w3 T8 [1 G
  2028. ; Local Variables:8 X% m0 n) g. i. L5 L* D. f
  2029. ; tab-width: 4
    3 ~0 b. _1 J  W6 a
  2030. ; End:3 G  Y, J5 H2 c. o$ `

  2031. 6 o- u- ?# h' U9 p+ j5 r9 l
  2032. ;eaccelerator
    6 C2 c8 }' x2 K2 K* Q0 n, \$ |8 B* d

  2033. ) \+ y3 Y; Y' j- `8 |7 \
  2034. ;ionCube- G4 [( G- O: a/ {+ H3 d: Q
  2035. 6 W0 Y; t$ `- Y: J! b5 i. @& {
  2036. ;opcache. x% F" g1 J4 I" o! v( s

  2037. " d* e6 E# [" f7 d1 a' ]7 o% g
  2038. [Zend ZendGuard Loader]
    4 c2 W# K7 r- k9 u8 P3 f) A
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so7 `- k# L* K+ V- W' o: C
  2040. zend_loader.enable=1
      i( K( u. g1 Q" j, r
  2041. zend_loader.disable_licensing=05 C  q- G0 K2 x; m0 m
  2042. zend_loader.obfuscation_level_support=3
    0 g$ ?7 \1 l% l# V
  2043. zend_loader.license_path=- m* S5 s$ Q. {6 f$ c  I
  2044. , V: C" J6 C" y2 M! T
  2045. ;xcache
    % g) i; c- ~0 U, k* j
  2046. ' f( g9 d& g' q* O
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
& a% z$ N  Q% [* }% }" H. }2 h5 H2 O: U9 f

5 j+ h* K/ {4 E8 P( `1 qDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
" X) L$ O, F  F% r8 j
( R9 \) c8 `* ^& ]6 A' i8 mDiscuz!程序版本选择:
% L& ?2 p4 R4 [, A* q4 r( G站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,. c  U. u, p$ h6 ]9 W4 M
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:: I) b9 y$ x& ~  F# ]3 E
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。' d' x+ `/ d. c
3 G; d, s) @4 n/ f- t4 h/ Q
Discuz!插件模板版本选择:9 p+ i! l9 H' O% T$ s, U
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,& p- c. t/ @4 Z% ^3 y+ \6 |
针对这个问题做个统一的普及:
" O3 m' d& v6 S' O# J! W9 v; z$ M/ |X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。
. x  L/ U9 |* H/ A# w/ U, i& q1 S" T5 u1 s0 u
所以: d. u  g+ B7 }7 P0 j
适合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的二级域名。
8 J$ s- @" }- v打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
3 o6 y8 M9 h+ p9 q  j注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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