分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
: v0 }, o4 Z9 N  @2 j. s6 A4 z' K, a7 [( K! j
  1. [PHP]; @; h4 l1 S( s4 w6 Y
  2. 4 z9 S' S9 p, l, }: }9 R  }* |
  3. ;;;;;;;;;;;;;;;;;;;
    % C6 m/ Y% ^( F2 G, W! p
  4. ; About php.ini   ;
    ( ^% T0 N4 m& X0 [
  5. ;;;;;;;;;;;;;;;;;;;
    % @) W, X& ?% f7 {
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    3 {  w* ~" n: x9 {; N, d" D6 S3 @) l
  7. ; configuring many of the aspects of PHP's behavior., n( v" l2 [, f3 o8 G
  8. 2 p  {/ \& j* R8 O. f
  9. ; PHP attempts to find and load this configuration from a number of locations.
    2 U4 G# h) B( b* {% m
  10. ; The following is a summary of its search order:
    0 X6 N& s. g$ r- a! f( o7 I
  11. ; 1. SAPI module specific location.
    0 R/ D8 |: T$ M) i9 `3 K4 a# A
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)! B1 _8 p5 S8 k5 B+ y3 g& E
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    # w; R6 B* J% a/ l* z
  14. ; 4. Current working directory (except CLI)7 x7 Z. Z" S; u- X$ J3 k8 u
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    ; E  ?/ M7 `: @# l. y
  16. ; (otherwise in Windows)
    8 B2 U3 o$ p6 A  j1 l. H1 q0 g% d
  17. ; 6. The directory from the --with-config-file-path compile time option, or the- [6 O$ |/ ?: a" V: B1 H& @4 r
  18. ; Windows directory (C:\windows or C:\winnt)
    0 P0 H& a' U' V* w# O3 @& @
  19. ; See the PHP docs for more specific information.
    ; }# T; b6 r( t
  20. ; http://php.net/configuration.file
    : K5 ~: e/ o. h1 W+ _6 U
  21. / A" |: \: t9 H7 U6 C5 u4 S
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    3 k4 ^$ r2 p: \( Q0 F
  23. ; beginning with a semicolon are silently ignored (as you probably guessed)., F1 F5 f! g9 B; T  a
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though1 r9 n( U+ k/ D" S% }; W1 s
  25. ; they might mean something in the future.! Y6 {9 j  V, s8 V$ B+ l# `8 B
  26. 2 B% p1 v/ Y; I6 n
  27. ; Directives following the section heading [PATH=/www/mysite] only6 }' o' V% Q$ t9 |- k
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    3 O! M0 e0 r! l
  29. ; following the section heading [HOST=www.example.com] only apply to9 Y$ \5 L' l/ T( @5 i5 D
  30. ; PHP files served from www.example.com.  Directives set in these) {9 ?1 K& ~+ Q: o/ G$ p8 y
  31. ; special sections cannot be overridden by user-defined INI files or1 q8 }* w$ T# \* K
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under4 l# v' J" ?1 q4 z6 g' b, C- \+ J
  33. ; CGI/FastCGI.
    % V6 f% F( k' }* b. a% f
  34. ; http://php.net/ini.sections
    9 \* ~2 q# i. c

  35. % v$ F( {' g  W( \7 z
  36. ; Directives are specified using the following syntax:! S$ Q9 N5 L+ K9 n! j, p
  37. ; directive = value  a- a( G. d3 o* d6 D- y' T
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    9 u. x/ s1 y/ D7 `
  39. ; Directives are variables used to configure PHP or PHP extensions.9 u! }( D2 b+ M7 o% t+ \
  40. ; There is no name validation.  If PHP can't find an expected+ h* t$ B& Q8 s* U
  41. ; directive because it is not set or is mistyped, a default value will be used.
    0 k3 s2 V# l8 H7 k" J  e' b
  42. $ p1 v7 V- s6 Z" p; x
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    # }7 \3 ]3 q1 p  O* W1 t
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression6 L9 t( {+ e( r' v( P: p0 v
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    & l+ A+ E: V! M, [$ }: U
  46. ; previously set variable or directive (e.g. ${foo})4 u: P& Y8 H2 v: c% Q; Q: R& Y
  47. 2 X7 G' B$ P( M" L
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:0 n5 Q8 f4 h- u
  49. ; |  bitwise OR1 o7 ?' k+ G9 W2 U& ~$ w
  50. ; ^  bitwise XOR/ ^1 {, j6 H0 `/ G: d
  51. ; &  bitwise AND
    & D' j( }3 W, P+ a
  52. ; ~  bitwise NOT" |$ V+ y7 S6 Q* X/ |8 Z
  53. ; !  boolean NOT
    - o7 C: B$ r0 W% L) S

  54. & y1 @3 D1 `( B  l3 o& u9 Y. y
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    , p" i/ d( b" C/ E8 ]: s
  56. ; They can be turned off using the values 0, Off, False or No.6 O9 T7 t- r) v2 {5 E, ]

  57. 7 i+ _7 \' |4 }. g5 }$ m
  58. ; An empty string can be denoted by simply not writing anything after the equal
      x: g+ {- H: R$ s0 H, Y; S; I/ X; T
  59. ; sign, or by using the None keyword:
    , e# }/ C- P3 v/ S( A5 @

  60. ) Y2 n0 z" d* O, R. c3 z
  61. ;  foo =         ; sets foo to an empty string. X( T* I/ J' Z+ a) a
  62. ;  foo = None    ; sets foo to an empty string1 h% E9 V5 _8 _* F+ k/ D4 ]
  63. ;  foo = "None"  ; sets foo to the string 'None'
    % o3 N" Z: o& S& Q
  64. % b1 F9 ]  p  s, h* Y
  65. ; If you use constants in your value, and these constants belong to a, D# Q: j( _& V' V" l4 _
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),( T9 R8 d/ }! B# L
  67. ; you may only use these constants *after* the line that loads the extension.
    / R; I- Y, n- f; t; }0 O
  68. 7 a. \; `# D1 T- D
  69. ;;;;;;;;;;;;;;;;;;;
    & _$ L, \$ w  ^. [
  70. ; About this file ;
    ) w9 N- k' N0 m3 c6 M! G
  71. ;;;;;;;;;;;;;;;;;;;% s6 |9 R6 I' j
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    9 l& [! `7 S# _" N7 |/ W; w6 R3 m' W/ V
  73. ; in production environments and one that is recommended to be used in
    8 X" p5 F- {. K- z5 F7 O
  74. ; development environments.
    + J7 u# p( K2 j

  75. / I+ i5 M$ I5 }( i
  76. ; php.ini-production contains settings which hold security, performance and: B: ^- H7 z0 }$ u# V9 W
  77. ; best practices at its core. But please be aware, these settings may break9 A' y6 I3 o" `- v6 w
  78. ; compatibility with older or less security conscience applications. We" M! G: O- b  I0 m. y
  79. ; recommending using the production ini in production and testing environments.* T4 U. G) \0 f

  80. 6 H* n7 e! h% X4 h; x# d
  81. ; php.ini-development is very similar to its production variant, except it is
    7 s, h" c5 s* q( _: v1 o
  82. ; much more verbose when it comes to errors. We recommend using the
    , d3 v* \) S: \7 O
  83. ; development version only in development environments, as errors shown to
    & ?, N8 ]' \7 S6 q/ |2 U+ `
  84. ; application users can inadvertently leak otherwise secure information.' E% S6 @' V7 s8 D. u+ k- w
  85. 0 i0 }& R3 y: D$ o0 x: X3 ~* o+ B1 I
  86. ; This is php.ini-production INI file.) ~" t+ u9 ^0 a% O! S" f9 w
  87. 5 L) v; l& w. P: V. [' R) e
  88. ;;;;;;;;;;;;;;;;;;;
    # e! b0 h$ A5 g0 w$ m! l
  89. ; Quick Reference ;
    ) _: H) A0 i9 k# r0 J, \
  90. ;;;;;;;;;;;;;;;;;;;% a7 B) [% w' j8 G
  91. ; The following are all the settings which are different in either the production1 ?, b/ N. A! ^. H  e, ~5 A
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    ( A8 S1 e) v: c( y: p
  93. ; Please see the actual settings later in the document for more details as to why
    ; ?* f  n% F7 X7 F* i7 a
  94. ; we recommend these changes in PHP's behavior.4 _+ m6 ^: \% X) R( u2 v: [
  95. : A/ V% [0 C. U) M5 n% c: t2 f% i
  96. ; display_errors
    ) [# l% O' h) M( P
  97. ;   Default Value: On5 N' ]4 m. m# L$ A! }4 U# J
  98. ;   Development Value: On
    5 D) S, L: h) K1 c+ R
  99. ;   Production Value: Off
    1 u* l4 S0 U; M3 a

  100. * [& d! c# B& v" W3 J, d
  101. ; display_startup_errors" p, y/ N1 N+ ^! V
  102. ;   Default Value: Off. G' d. b: A# e2 Z5 N3 A0 c
  103. ;   Development Value: On
    $ y& D6 L: s! Y
  104. ;   Production Value: Off& n/ u: W+ o0 P

  105. ! `# ?8 {) B( z
  106. ; error_reporting
      X: j. F3 Z- w; v
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED$ r& ^( D4 N6 x1 R) p5 p/ y8 {
  108. ;   Development Value: E_ALL6 w7 Y$ p/ l, J7 G1 J# A6 B8 r5 f& f/ K
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT. o: T  C# i! k1 ?

  110. % H# Y+ y% M7 T, x4 B* V
  111. ; html_errors
    . V8 j" @4 }! Y% U, x1 K0 h* e5 G8 R
  112. ;   Default Value: On* j& s8 d0 ]+ K9 f
  113. ;   Development Value: On) G3 A5 z% z6 [# f2 w9 u
  114. ;   Production value: On
    ! w6 f. I% x/ g" x" T8 O) H& h  e/ o  b

  115. 8 B8 M1 {( Y& c4 `* q) k" ^4 M" c7 r
  116. ; log_errors
    1 O1 M6 O" ~$ b( m7 V
  117. ;   Default Value: Off
    9 Y# {. y8 x, i" U0 _
  118. ;   Development Value: On; S9 ^3 r; `/ R0 d6 q0 `
  119. ;   Production Value: On( X: F, \4 G2 q, j! z: D% g

  120. 6 D: q+ @7 z& [& A- v  {. O
  121. ; max_input_time. U" j, o: j& w4 F2 \
  122. ;   Default Value: -1 (Unlimited)5 z" q3 ^; J' e: I8 b
  123. ;   Development Value: 60 (60 seconds)7 H# }5 _. v4 n
  124. ;   Production Value: 60 (60 seconds)
    ' X* B7 I9 \0 ?2 K" n+ X* o

  125. : t* I+ I1 C) C1 x6 K" m5 P& C  n, q
  126. ; output_buffering7 k9 {2 D4 ^; h1 n5 r0 ^
  127. ;   Default Value: Off
    ) z4 p7 j/ L) n1 _* _, V4 I6 C
  128. ;   Development Value: 40963 K+ M. B; x- ?/ p' l# }$ E! D
  129. ;   Production Value: 4096% }) g+ x  ]; d" N+ }, _+ \% \4 T

  130. , a, Y6 v2 S- I  w5 N4 @7 b
  131. ; register_argc_argv
    3 ]$ u, o6 A$ U
  132. ;   Default Value: On
    # E2 o4 W% _' _4 o" ~( Q/ B
  133. ;   Development Value: Off
    1 J7 I8 V% j4 ^
  134. ;   Production Value: Off' k( R0 {: F* X! d- M: D

  135. ) U5 i" ]/ Q1 w  ]0 ~. a- c$ n( k, t
  136. ; request_order
    8 H' [" \2 h9 C( A1 ~" O, K/ H2 p
  137. ;   Default Value: None( B5 L# H' `, L; `, g/ h6 M) B
  138. ;   Development Value: "GP"
    4 M' ^$ S8 p! f$ H' m- r
  139. ;   Production Value: "GP"
    2 l8 z: _2 ?: ?; ^6 m/ A$ V
  140. * I0 T6 v& F1 A% y  M/ u. k+ Z
  141. ; session.gc_divisor
    ! p) d0 T) Y1 t+ q( f
  142. ;   Default Value: 100
    ) Z5 ?) H4 @( R6 p% B
  143. ;   Development Value: 10005 V- C: f9 l- s$ |  Z2 e4 \2 M
  144. ;   Production Value: 10001 u1 {) g; d; R. C

  145. $ s( c* }) T9 N1 x
  146. ; session.hash_bits_per_character
    - w: L. U5 |& }* C# l4 h1 @
  147. ;   Default Value: 4
    - a& ?7 _2 a1 c- L# I$ u" O
  148. ;   Development Value: 5# ^' [) [8 U0 F7 f/ u& }
  149. ;   Production Value: 5
    + l( a' ~% _, ]! F

  150. / _5 m* ~8 q) X
  151. ; short_open_tag- N, J: E$ j* e3 l1 j
  152. ;   Default Value: On
    0 f; A( p* Q$ `8 @4 y, K4 O
  153. ;   Development Value: Off4 t: t( W4 l3 H5 w: a. ^% t! e4 }
  154. ;   Production Value: Off7 ?2 `3 Z# a/ C% N, I

  155. & a% z0 p% t# c) G! p4 k8 H
  156. ; track_errors
    5 h4 a* w% O3 h/ m
  157. ;   Default Value: Off
    1 ?2 |6 X4 O# M5 z  B* z/ f+ {
  158. ;   Development Value: On
    ( k+ F5 S$ f$ K4 e% @
  159. ;   Production Value: Off
    / p* `+ P/ O  ]. ~$ N- O/ N: A9 B3 J

  160. - G" i3 C% ]  Q6 V
  161. ; url_rewriter.tags
    2 Z; t6 h; z" B- r# e8 ^
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="* T8 n4 c  M* i: r7 i( p$ V& ?; f/ d
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"0 {; h! g- h% f+ R% D' s
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    9 }; A, W7 k! p" B
  165. 3 Z0 C+ `5 K0 [2 K  {& [# T# D8 S
  166. ; variables_order
    - h5 N9 k4 s3 x
  167. ;   Default Value: "EGPCS"
    . B6 L1 R9 C/ X: L3 ?' Q: d
  168. ;   Development Value: "GPCS"6 K. H8 m( p& m4 F  S: |1 e1 M
  169. ;   Production Value: "GPCS"
    * G! l# T8 ?! j; T6 v6 t' e- a

  170. 3 `0 g8 i! U8 H. P# H) ^# P
  171. ;;;;;;;;;;;;;;;;;;;;1 J+ A9 H# l2 V
  172. ; php.ini Options  ;7 i% @# ?' p: f0 O: ^2 k$ S; B
  173. ;;;;;;;;;;;;;;;;;;;;; _7 f/ [) A& \. ^
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    + \; V7 S4 g( @' ^. L. R, `
  175. ;user_ini.filename = ".user.ini"7 {* Z, C, h" ?8 o, }  q9 B' Z4 \% T

  176. ; x9 q/ x3 c1 Y( Q. }6 s' f
  177. ; To disable this feature set this option to empty value; g% |9 f: i9 A) g. O
  178. ;user_ini.filename =2 q1 j9 t- o* O% V: Y. J
  179. 5 z  y2 ^, X2 e
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)( B3 B. c2 a! |  n+ L) u* p
  181. ;user_ini.cache_ttl = 300$ n9 S- f1 \% X3 _5 F* F
  182. ! ?7 b+ z8 n# j& ^) t8 X
  183. ;;;;;;;;;;;;;;;;;;;;
    ( T9 K! C& v( Q2 b, n
  184. ; Language Options ;
    $ P7 v0 A2 n; [- o: O
  185. ;;;;;;;;;;;;;;;;;;;;* m/ I" o( {# U
  186. * d% N, m7 U5 n1 t
  187. ; Enable the PHP scripting language engine under Apache.' n# g+ T% f) r3 f
  188. ; http://php.net/engine
    3 f! x% C8 ]" B
  189. engine = On1 u( K' k! k# `2 y8 p
  190. 8 p/ Q8 Q* U! C7 Q
  191. ; This directive determines whether or not PHP will recognize code between( S8 N; J3 _7 C9 O
  192. ; <? and ?> tags as PHP source which should be processed as such. It is$ Y1 L6 z0 r+ n
  193. ; generally recommended that <?php and ?> should be used and that this feature4 w1 a1 }9 \- ^
  194. ; should be disabled, as enabling it may result in issues when generating XML
    5 E" v# `' m$ E7 y
  195. ; documents, however this remains supported for backward compatibility reasons.
    + K" R% u* S- K! \  r# J; {
  196. ; Note that this directive does not control the <?= shorthand tag, which can be& y6 H7 m8 k& K
  197. ; used regardless of this directive.) x0 W2 a1 C. j# r9 X
  198. ; Default Value: On( S5 v2 O/ Q1 G! n
  199. ; Development Value: Off
    % [2 {9 A/ J- p' ~$ q
  200. ; Production Value: Off
    ) e: [' S, x# f! A" m1 H" ~& T" Q
  201. ; http://php.net/short-open-tag/ M9 y# A& j- d& h9 B" S+ y
  202. short_open_tag = On7 [0 M9 e9 {3 W: ]

  203.   c. E, w( f2 ^9 k  x: C3 K6 B, j) d
  204. ; The number of significant digits displayed in floating point numbers.: ?! \3 X' {; ?
  205. ; http://php.net/precision
    5 o" R/ f% n9 O( T  L: J. ]
  206. precision = 14/ e% B' x* }, o

  207. 4 K0 B* f% M/ W  u" S! U/ r
  208. ; Output buffering is a mechanism for controlling how much output data
    % {- Q0 {6 f- e7 u
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    $ |4 L5 F5 N# o* Y, S
  210. ; data to the client. If your application's output exceeds this setting, PHP
    2 t/ E7 [' Z: _0 e7 d; {8 T
  211. ; will send that data in chunks of roughly the size you specify., d7 V. R: C" _, Z
  212. ; Turning on this setting and managing its maximum buffer size can yield some* i9 `4 d- ~7 ^$ R6 h7 ~$ z7 a
  213. ; interesting side-effects depending on your application and web server.
    " w9 s0 t, k4 D' w. g% c) w5 o2 {
  214. ; You may be able to send headers and cookies after you've already sent output1 g0 A# b$ F6 r* u2 Z) s
  215. ; through print or echo. You also may see performance benefits if your server is2 q: B7 R' g* c5 o
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    / t$ d$ a% x! s) U
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    5 o2 I) \& b- r4 s& R
  218. ; reasons.
    8 B" x$ k5 H& M. Z6 U4 ?
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    2 T! z+ H, J- p/ d
  220. ;   functions.
    3 {1 M3 s! A. h# z; j
  221. ; Possible Values:
    ( q. Z) {4 ?8 ]: _% Y8 p  V
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)/ e: Q* V3 J3 u2 ]
  223. ;   Off = Disabled
    ' s% `6 l: M8 u( C$ }  ^1 o8 O
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.1 T4 O& J3 F; i; f* I; q1 }% m
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
      e. h4 q. k. P5 B2 U
  226. ; Default Value: Off
    8 p+ {* s: a/ _* @5 }: L& L
  227. ; Development Value: 4096
    1 a* J/ p; ?" n% x4 Q! M
  228. ; Production Value: 40965 E, {: L4 \; n) r, \; y
  229. ; http://php.net/output-buffering
    * S3 U' `0 o4 M( T
  230. output_buffering = 40967 G2 J3 G+ E% s" ]2 ]: r% t
  231. ! [& S. m# R/ o, j) N
  232. ; You can redirect all of the output of your scripts to a function.  For- |. u1 w. J$ O8 j% h
  233. ; example, if you set output_handler to "mb_output_handler", character+ I( d8 X& T( x0 y" a
  234. ; encoding will be transparently converted to the specified encoding.
    4 e4 m" b' c0 @. N+ x/ @$ y% n7 u9 S! J) [
  235. ; Setting any output handler automatically turns on output buffering.& s0 \- D9 c- n+ W% a7 W
  236. ; Note: People who wrote portable scripts should not depend on this ini
    2 Q$ D( A/ n3 N5 B5 L9 e  a
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    ; d( }" Z( Y6 e; k+ [, j
  238. ;   Using this ini directive may cause problems unless you know what script( }( V: T4 T2 e, s3 H
  239. ;   is doing.
    : p* |/ t) u$ j6 [/ P, G$ G; l
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"+ f6 f/ E7 z. L
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    $ W+ U! k% `4 N
  242. ; Note: output_handler must be empty if this is set 'On' !!!!
    9 N5 M" d& Z8 _
  243. ;   Instead you must use zlib.output_handler.
    4 S2 O8 w5 s  }) {3 e" y2 P7 }; `
  244. ; http://php.net/output-handler7 H+ C& G- L: l( H8 v9 Y) N! j, O
  245. ;output_handler =
    : g) I% W1 G/ N3 I9 m; e% H
  246. , P% e4 u& Y7 m3 x; w) A  k& I" L
  247. ; Transparent output compression using the zlib library7 B; W) o7 I* n$ a& X
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size9 P# ~% `' M0 T8 e4 q. _% o4 N
  249. ; to be used for compression (default is 4KB)1 @: l  _/ x* r
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP- q$ _9 V* x! T7 b1 m7 \; _1 Z
  251. ;   outputs chunks that are few hundreds bytes each as a result of* U* T  y9 r% {& _0 n
  252. ;   compression. If you prefer a larger chunk size for better* O& K. S, ^* n. }- t
  253. ;   performance, enable output_buffering in addition.
    ( y" r6 b( C# c8 f# `# c7 s
  254. ; Note: You need to use zlib.output_handler instead of the standard8 R# w' [1 f2 h. ~" E0 s! G
  255. ;   output_handler, or otherwise the output will be corrupted.
    ! K3 j% P! b/ |; V" u8 c  {
  256. ; http://php.net/zlib.output-compression3 G! h" i9 v( r/ z
  257. zlib.output_compression = Off
    % z* _+ L$ b! w7 i. r
  258. % a& J; X+ K# m( y4 m- R( z
  259. ; http://php.net/zlib.output-compression-level
    3 O6 Y4 [/ C: J0 u, V, W7 [
  260. ;zlib.output_compression_level = -1! t! Y/ f, }& E
  261. 8 y  G1 }; o7 K- P2 `* N7 R
  262. ; You cannot specify additional output handlers if zlib.output_compression& ~9 z' V  B1 N( V6 T6 [/ i
  263. ; is activated here. This setting does the same as output_handler but in
      N( }& D5 p0 X7 K! p
  264. ; a different order.
    # i! D3 ]; O( u) Q6 \9 o
  265. ; http://php.net/zlib.output-handler
    9 @" a0 E9 f( V- _+ [
  266. ;zlib.output_handler =2 r) g# _" z4 E6 \8 b

  267. ( G/ ^) E4 F& s6 c: t+ p
  268. ; Implicit flush tells PHP to tell the output layer to flush itself3 _1 v0 A8 e( k( `& B+ j
  269. ; automatically after every output block.  This is equivalent to calling the
    0 j, j' {5 X1 a
  270. ; PHP function flush() after each and every call to print() or echo() and each
    1 r; r! Q: t9 t( H5 \$ \# f
  271. ; and every HTML block.  Turning this option on has serious performance9 t5 z6 H3 u5 `# f- o
  272. ; implications and is generally recommended for debugging purposes only.
    ! h; a2 p# E& w. ?* H. {5 }
  273. ; http://php.net/implicit-flush7 J- ^. O" ^/ E8 y
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    ) A: R- X$ c1 J
  275. implicit_flush = Off, i% [. L# P1 G. F: W! [5 ?2 ~# a
  276. 4 z, r. I8 t2 _
  277. ; The unserialize callback function will be called (with the undefined class'
    3 D1 ~7 P' r: C, k- y& n0 H
  278. ; name as parameter), if the unserializer finds an undefined class
    " `- T+ q- ], o1 y# ^3 D
  279. ; which should be instantiated. A warning appears if the specified function is, M, L( {- b& I& F' e; y8 M" a
  280. ; not defined, or if the function doesn't include/implement the missing class.
    ) E! M7 _, X$ k# B& r8 a0 m
  281. ; So only set this entry, if you really want to implement such a
    ' K7 w5 J. H! Z$ d( N% r+ h
  282. ; callback-function.! [* D2 h; R9 n
  283. unserialize_callback_func =
    - J& ~- r( ^, l9 O0 q2 h% d
  284. ) `& @/ }& H2 e% v4 ~/ ^
  285. ; When floats & doubles are serialized store serialize_precision significant4 f/ j! m0 N: w1 W
  286. ; digits after the floating point. The default value ensures that when floats% J! |) v9 }- K& ?0 j! W# p
  287. ; are decoded with unserialize, the data will remain the same.
    , {+ b0 p, {% f
  288. serialize_precision = 17* a" [2 H3 p- S& y2 y

  289. 6 c0 \7 P6 R: c" T
  290. ; open_basedir, if set, limits all file operations to the defined directory
    - x7 E$ `: D* b: i. }" q
  291. ; and below.  This directive makes most sense if used in a per-directory4 E0 @1 I2 x5 N% P" {0 F, {) i
  292. ; or per-virtualhost web server configuration file.$ m2 s- ^. M8 U0 x( N% q
  293. ; http://php.net/open-basedir
    0 r5 I4 i* t$ O) s/ W/ a. Q) z) Q
  294. ;open_basedir =
    * [5 }0 f+ p* P5 U$ J& \$ n% d

  295. + E2 n- g% n: D5 O  f# Y! R
  296. ; This directive allows you to disable certain functions for security reasons.* P. c2 m: o8 }5 o/ X
  297. ; It receives a comma-delimited list of function names.8 ^# ^3 R" m: t! T8 x3 S
  298. ; http://php.net/disable-functions2 F$ M  L# P0 x
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru, A# d) h9 Y8 J( O3 F
  300. $ {) a% H' L7 ]4 {5 O, g
  301. ; This directive allows you to disable certain classes for security reasons.8 _! E4 n* V; p. J7 h
  302. ; It receives a comma-delimited list of class names./ j# X5 S# J* a" N9 i
  303. ; http://php.net/disable-classes
    6 T& S/ s3 |/ s
  304. disable_classes =
    - J; V$ F1 I) _
  305. / v. p* S7 E4 M1 p1 V* t! `
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in8 L" @. @6 y. R6 U+ K0 }" s* v$ c
  307. ; <span style="color: ???????"> would work.
    6 K2 B& p  ?+ V6 b+ o9 x* z; A
  308. ; http://php.net/syntax-highlighting
    ( |( ]# z3 Z8 [
  309. ;highlight.string  = #DD0000
    0 p, |% l8 Z7 C. ?) R
  310. ;highlight.comment = #FF99007 X3 `. H: z8 G( Z* X# ^8 M( V
  311. ;highlight.keyword = #007700
    ) E( Q) R- S) C7 n
  312. ;highlight.default = #0000BB
    $ N% ]/ d1 M1 J* W
  313. ;highlight.html    = #000000, X, I  C1 D' o, t0 [  m: C

  314. 0 J% l) C& ~3 V8 ^
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    ( b! H+ c5 e- o. ~
  316. ; the request. Consider enabling it if executing long requests, which may end up5 s7 }8 A. [" h
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior4 a  P3 L: h2 y9 d6 [
  318. ; is to disable this feature.
      }9 @9 H' u6 K; J
  319. ; http://php.net/ignore-user-abort6 p+ E  x  _" @$ i" x2 a
  320. ;ignore_user_abort = On$ i5 P) G2 q/ q9 B) y: |3 f" `
  321. 7 i# x, `) }. g
  322. ; Determines the size of the realpath cache to be used by PHP. This value should: j' q  `. q- j# u+ p' g8 Q
  323. ; be increased on systems where PHP opens many files to reflect the quantity of
    8 F3 y# @9 Z) C. {1 M
  324. ; the file operations performed.1 `5 ^' E2 t- M6 k/ o' k$ J- X
  325. ; http://php.net/realpath-cache-size6 |/ o/ \( j3 ^3 x4 |5 W4 V
  326. ;realpath_cache_size = 4096k+ I" W' |& ~, N1 a# x
  327. : U7 U3 A8 I/ ~+ w. a% f
  328. ; Duration of time, in seconds for which to cache realpath information for a given' a- @. K2 s( L* F- V
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    7 C) a9 c. y* o
  330. ; value.
      {( M( n) H6 O
  331. ; http://php.net/realpath-cache-ttl
    " [" _, f: H% d; v& q8 o
  332. ;realpath_cache_ttl = 1203 G, M& I/ M/ \/ X

  333. ; F/ ^: H( i8 e( d
  334. ; Enables or disables the circular reference collector.! X4 c6 C2 A8 H5 q/ N3 {
  335. ; http://php.net/zend.enable-gc3 R2 r; p- x' Y2 s
  336. zend.enable_gc = On
    : N* n0 V) R/ W# ?
  337. 6 _0 }) w: T3 O2 Q" c2 J% [. }0 @
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    " e* ~3 u- p4 A1 r1 O" [4 h5 Q0 T
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such2 w" M8 g3 M9 C/ n( v1 L2 m- \* p6 J
  340. ; encodings.  To use this feature, mbstring extension must be enabled.' F$ E* p4 }. W+ ]7 O3 j
  341. ; Default: Off
    4 e3 h5 S* M* j7 U7 ^
  342. ;zend.multibyte = Off, q# H$ R9 _  A
  343. " }  n6 w# Q0 A/ ]: y2 z) f( _
  344. ; Allows to set the default encoding for the scripts.  This value will be used; d1 ~" L, J8 L* R
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.- P0 K1 w% l/ E+ r
  346. ; Only affects if zend.multibyte is set.' n% Z$ f0 z" S3 z+ w$ |+ p- C' p
  347. ; Default: ""
    $ z$ o7 d' k3 a5 _
  348. ;zend.script_encoding =
    4 w/ d: i5 R( ^8 I4 h) D

  349. # P3 _: S2 `0 d7 x( Q
  350. ;;;;;;;;;;;;;;;;;
    % ~8 J8 Q  u7 @- L* y3 F: g
  351. ; Miscellaneous ;6 M4 t8 M7 x: z6 F. J  X5 s
  352. ;;;;;;;;;;;;;;;;;1 [4 T; M/ p" `+ W! d0 s

  353. 4 C+ H: M5 T- G1 a
  354. ; Decides whether PHP may expose the fact that it is installed on the server# k- t4 l; T- w0 N/ X0 y5 o
  355. ; (e.g. by adding its signature to the Web server header).  It is no security( {/ I3 D2 \& y
  356. ; threat in any way, but it makes it possible to determine whether you use PHP# a8 t; @1 p/ R; u0 s
  357. ; on your server or not.7 z, S+ X' `5 a9 V3 ^: h7 `% _' y
  358. ; http://php.net/expose-php
    # z! K6 R: n, N
  359. expose_php = On
    5 G% G# z1 p( m
  360. 2 [. u  {  n+ q1 R, T+ ?+ L' B. m
  361. ;;;;;;;;;;;;;;;;;;;3 c) L# |: h2 @( U: }8 P
  362. ; Resource Limits ;
    : I9 ?7 V; t! S8 u+ h
  363. ;;;;;;;;;;;;;;;;;;;
    0 O2 S7 ]8 u$ B$ @' u

  364. 3 ]' q4 j! I- F0 g* b! m) x
  365. ; Maximum execution time of each script, in seconds
      m& f% A: X( u0 M# B
  366. ; http://php.net/max-execution-time
    ; v' e5 A  r6 O6 t9 y
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI$ A0 b; l8 ?. D4 Q
  368. max_execution_time = 300
    ' u% @+ g, B3 W# n

  369. / m' ?9 _1 Z+ |6 g6 V0 j
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    3 I, H$ k3 t7 B" {& j2 f
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly+ H9 S+ N" u! E0 i" W# c& `
  372. ; long running scripts.+ |* s/ [1 k. _( Z+ i4 h" ?0 R) J
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    8 t! t# M, u- v- f
  374. ; Default Value: -1 (Unlimited)
    4 W  f  y+ ?+ T/ e; m  v7 s1 m
  375. ; Development Value: 60 (60 seconds)
    + c7 E8 q1 o: n/ v! D( J% n
  376. ; Production Value: 60 (60 seconds); \* W7 L. v/ N4 R
  377. ; http://php.net/max-input-time' W- M  N2 j. L4 I
  378. max_input_time = 60
    6 L( s: t6 t; ]/ L1 y
  379.   D- d% G  ?# h. y# b& i. c" [, z
  380. ; Maximum input variable nesting level
    * q, g9 y6 b0 R! C4 y! l
  381. ; http://php.net/max-input-nesting-level
    3 |; U- H* I$ `; x+ j
  382. ;max_input_nesting_level = 64  J7 i4 H% G) S4 f0 f8 {

  383. / G% x5 Q3 z. ?
  384. ; How many GET/POST/COOKIE input variables may be accepted0 b6 v6 q% y( o- G$ g0 X/ ]2 o+ b
  385. ; max_input_vars = 1000
    - R, w" ~7 J1 B4 t8 A
  386. 9 \4 [4 o; p- ~( t6 [& g
  387. ; Maximum amount of memory a script may consume (128MB)9 [* \( M! b% h( I- I8 K1 w' v
  388. ; http://php.net/memory-limit7 w* j1 ?% E5 G& Q, o. F
  389. memory_limit = 128M
    + D' U0 t6 r; Y6 \2 K
  390. , R! n4 \7 s% X- D& n
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    0 M9 ^. q" Y) S; `% h7 S3 c
  392. ; Error handling and logging ;
    + r3 }5 t7 a3 Z+ f
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6 {: U* b9 c- S4 j

  394. : Y5 U6 \! q: A3 P- X+ h9 a" b
  395. ; This directive informs PHP of which errors, warnings and notices you would like; [+ \, F- i! x. e
  396. ; it to take action for. The recommended way of setting values for this4 w: V9 g& v+ c4 c$ q3 o
  397. ; directive is through the use of the error level constants and bitwise
    6 R7 d4 ]/ ^- i
  398. ; operators. The error level constants are below here for convenience as well as# M1 _; k  Z4 Y: `2 N
  399. ; some common settings and their meanings.) [# E$ P% ?( ^. {- J: B
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT/ Y9 \$ @5 e2 D* o2 Y
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and" L5 p. F) @: W6 ^7 d+ o
  402. ; recommended coding standards in PHP. For performance reasons, this is the
    / x: R1 @$ x; P# @; c
  403. ; recommend error reporting setting. Your production server shouldn't be wasting* @+ A7 e; f+ l& {
  404. ; resources complaining about best practices and coding standards. That's what
    ; ?( H0 q* t1 i& V
  405. ; development servers and development settings are for.
    4 U9 {" v* z, r; s9 W
  406. ; Note: The php.ini-development file has this setting as E_ALL. This; b. f+ b3 `% S! {. \& M+ }% U! j
  407. ; means it pretty much reports everything which is exactly what you want during! `5 w9 ]  n9 j5 k2 L* \
  408. ; development and early testing.
    4 E. y  d: K( g
  409. ;, `8 P+ A+ `* U" x: w; m/ Y- W9 J
  410. ; Error Level Constants:
    7 C# R" [0 W/ M8 w* K/ j
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)2 J4 j5 @6 E, H, w
  412. ; E_ERROR           - fatal run-time errors7 W1 c9 e% [# c% K5 a( L9 C4 r1 K
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    ( C2 B5 n; r+ R4 t. l% P& k& p# r1 {* Y
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    1 z/ k& p+ F* I8 v# ^& r: `
  415. ; E_PARSE           - compile-time parse errors
    3 e) |0 `$ s' z- A4 m+ _% n
  416. ; E_NOTICE          - run-time notices (these are warnings which often result$ ]: _; R9 y, Q9 B
  417. ;                     from a bug in your code, but it's possible that it was* G2 c, Q; j% B8 y; U9 C& H
  418. ;                     intentional (e.g., using an uninitialized variable and; t* J! N& p! C  A3 g
  419. ;                     relying on the fact it is automatically initialized to an
    8 q$ ]  X, u& S6 g0 @* c" f
  420. ;                     empty string)2 T* B6 _; M; u/ S; c" A: U, ]3 C
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    / B' z( D3 z+ h% A
  422. ;                     to your code which will ensure the best interoperability& q9 X$ K9 z1 |/ E" E
  423. ;                     and forward compatibility of your code, |5 j/ x" G7 E$ g4 c. a* ~( b
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    ( a+ b* i8 q+ Y* f# D1 B1 [
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's+ y5 @3 c$ l. w: S+ V' k5 C! p
  426. ;                     initial startup! r9 e5 y( ?) _6 r, Z1 H4 ~1 L# i
  427. ; E_COMPILE_ERROR   - fatal compile-time errors
      N. c/ h2 q# b6 ]/ ^. t$ d0 r9 j) h
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    6 c' m, B3 P5 T) x- @1 x
  429. ; E_USER_ERROR      - user-generated error message
    / e( b; W- A( h) b* I" r
  430. ; E_USER_WARNING    - user-generated warning message
    2 Y  t- M8 v3 ~0 s3 d
  431. ; E_USER_NOTICE     - user-generated notice message: B3 _' Y: k  U9 D2 a  S
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    * c# c. G! P& _; d: Z7 B
  433. ;                     of PHP0 U3 q" E/ X2 A$ @. G) d
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings6 g( D) O& f. M) f* Q
  435. ;
    - k4 P7 w' R: ~) g* e, q
  436. ; Common Values:
    9 L* C2 H% o( U. [! S
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    8 p, [0 G! ^: B1 q/ ~
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)! V3 w) v- e: B
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)9 X3 b: l7 R' ?8 R
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    ) l# T- T& V" _* B: \
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    $ b0 h) i3 \/ v3 g
  442. ; Development Value: E_ALL1 O: w6 M* I: l( }
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    7 w" {4 l' Y; x
  444. ; http://php.net/error-reporting
    5 g, {9 D0 G! }, P" X8 @
  445. error_reporting = E_ALL & ~E_NOTICE
    & {$ m- S1 Q* C1 G8 B' B$ h8 F
  446. 2 N$ ~3 m# _, N# [. F& D
  447. ; This directive controls whether or not and where PHP will output errors,. D: ^3 O( P4 P) e) L2 z9 s2 @
  448. ; notices and warnings too. Error output is very useful during development, but* G" `. f$ |! R6 [
  449. ; it could be very dangerous in production environments. Depending on the code" b) ?/ ~/ o3 j/ L1 A; a
  450. ; which is triggering the error, sensitive information could potentially leak
    1 g) Z' n( G$ ?7 r  }
  451. ; out of your application such as database usernames and passwords or worse.5 i" O' }* o' C, t! R
  452. ; For production environments, we recommend logging errors rather than+ s1 i' R) k1 a0 j
  453. ; sending them to STDOUT.8 x, ^- Q$ ~# t8 w' y
  454. ; Possible Values:
    0 O$ F3 ^7 ]& H- E0 [
  455. ;   Off = Do not display any errors! c: s5 {4 G+ y- x  T4 q
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    . C: F8 p( N1 F2 H# i% X
  457. ;   On or stdout = Display errors to STDOUT* P* x, q$ z' y3 S' T' k; n3 t7 V
  458. ; Default Value: On" R% |3 x+ I. M6 i
  459. ; Development Value: On4 C* F/ O: M( ]% D$ q# |9 P
  460. ; Production Value: Off
    ' H, @4 z9 N- i% f, F/ X; q: p7 u; k9 g
  461. ; http://php.net/display-errors
    & X$ e3 V$ A7 Z0 s4 t* z
  462. display_errors = On+ v/ f( C7 Z! y0 U- \) K" G

  463. & d: {  h, Z# \$ j
  464. ; The display of errors which occur during PHP's startup sequence are handled! ]& a/ G- R& g. }
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    ' L* y: w: w* {1 K5 c7 Q
  466. ; errors from clients. Turning the display of startup errors on can be useful in9 \9 [5 M2 ?* B* c& _. J4 c
  467. ; debugging configuration problems. We strongly recommend you0 F" }) d' x# e
  468. ; set this to 'off' for production servers.' R" H" S' D  z. a2 h8 A
  469. ; Default Value: Off' ^: c1 c% I( v
  470. ; Development Value: On/ h2 c% {4 J/ k& d8 ~  S
  471. ; Production Value: Off9 O, U+ Z( x" r2 U
  472. ; http://php.net/display-startup-errors
    ' p+ m( x$ e7 k) I- m* m$ B' P
  473. display_startup_errors = Off
    6 H" }& n8 g+ d# Z' C3 |  {# O$ {

  474. 7 ~9 z  {7 F6 r/ W# @
  475. ; Besides displaying errors, PHP can also log errors to locations such as a4 N- j7 ^, g6 _5 `2 T( a
  476. ; server-specific log, STDERR, or a location specified by the error_log, L. J$ {9 i" R" ^* Z
  477. ; directive found below. While errors should not be displayed on productions
    8 S; a" O# s9 d* j; F
  478. ; servers they should still be monitored and logging is a great way to do that.
    9 x! }. m: b( [. U5 R6 Z& B" j$ g
  479. ; Default Value: Off5 v% y" T; G5 y5 m. @4 f% g$ ^
  480. ; Development Value: On
    8 d2 ?6 }! P" s& F
  481. ; Production Value: On
    : W3 o' |3 h* c- e' ?" W
  482. ; http://php.net/log-errors/ V: }# q3 M; k0 f
  483. log_errors = On
    ! f1 G. P: t9 R+ ~

  484. 9 W7 Q0 ?+ ~% t7 |
  485. ; Set maximum length of log_errors. In error_log information about the source is
    7 y0 E% x5 z5 x$ N  c$ s* R
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.% }4 Z9 x) y) s. O3 J" d
  487. ; http://php.net/log-errors-max-len
    . f* o) D% R! I& N
  488. log_errors_max_len = 1024; o( {0 E0 X8 l* o

  489. 3 U3 W$ W9 }  `, n6 S% Y( s, l
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same/ W8 v8 e# V3 f% a  u
  491. ; line unless ignore_repeated_source is set true.2 ]' r$ Q+ [0 S0 o0 L
  492. ; http://php.net/ignore-repeated-errors# \2 [5 I! @3 z" q4 N0 n- U
  493. ignore_repeated_errors = Off
    . {$ C$ w$ f4 l8 p$ C; v4 q

  494. ; a$ N. N3 Z0 V8 Q$ \( n
  495. ; Ignore source of message when ignoring repeated messages. When this setting0 E. \5 v( O7 [5 o. V
  496. ; is On you will not log errors with repeated messages from different files or2 c7 Q+ m1 h+ i3 }! N/ z
  497. ; source lines.
    $ ]* U8 B  R* @7 F
  498. ; http://php.net/ignore-repeated-source
    9 f3 b& L( z# }: {+ w
  499. ignore_repeated_source = Off# ]1 @0 ~* @! q- m6 G5 h' K" ?

  500. 9 s8 k" x7 `/ x/ ~8 [3 r
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on6 g" |4 p5 }8 K: r4 B/ x
  502. ; stdout or in the log). This has only effect in a debug compile, and if5 p6 C& M2 F+ F3 _+ ~
  503. ; error reporting includes E_WARNING in the allowed list) u2 \# l8 U# G4 A- Q0 @( Y. q+ g2 R
  504. ; http://php.net/report-memleaks4 j! a. o# r3 E+ A# B% ^) a
  505. report_memleaks = On5 ?1 {9 M. H, b$ G/ ]  u
  506. + S+ ^8 F" E! P" d  k9 x: |
  507. ; This setting is on by default.
    5 P. S& F5 M" Q- W# B( e
  508. ;report_zend_debug = 0' t+ J, r. B/ F& ~

  509. ) t) b; Z) S6 r/ k
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    " R$ ]+ F$ `7 S0 q) k, u
  511. ; to On can assist in debugging and is appropriate for development servers. It should0 _. l/ d& n# U2 A0 R9 z
  512. ; however be disabled on production servers.
    $ z' \) [0 T( _4 x2 c
  513. ; Default Value: Off8 j- |1 I% G/ d
  514. ; Development Value: On. k) L' D5 O$ S/ d- T7 J
  515. ; Production Value: Off; q. W9 E" R- q3 D
  516. ; http://php.net/track-errors$ z% t/ V3 @/ i) Z2 f' j
  517. track_errors = Off
    8 `: u# ]( R% m: O! L

  518. ( V& W. g3 o1 o
  519. ; Turn off normal error reporting and emit XML-RPC error XML) _; ?  e5 R5 {% L/ x
  520. ; http://php.net/xmlrpc-errors
    , V9 P, t/ Y8 |4 H# V
  521. ;xmlrpc_errors = 0
    8 w' ~3 N# c+ u, g$ e" l. ~) B$ T4 @
  522. : J5 M: t5 l1 H
  523. ; An XML-RPC faultCode
    3 l* g, l) ]( I+ H! X# Y* o
  524. ;xmlrpc_error_number = 0
    % i5 L  o; a) e! f

  525. 1 K1 m0 z, P/ d6 T7 p1 N9 U
  526. ; When PHP displays or logs an error, it has the capability of formatting the
    1 }- H  @- m% x8 e4 K' x
  527. ; error message as HTML for easier reading. This directive controls whether" M: r" ^! d% X+ o5 O
  528. ; the error message is formatted as HTML or not.
    ! q0 ^+ C/ @; V
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI7 v6 }/ y  L- e
  530. ; Default Value: On
      H& c- A/ P" G/ L  p3 J+ o1 T5 d
  531. ; Development Value: On3 r5 f' Y0 ~  R; s; x5 R1 _6 y
  532. ; Production value: On% B& k) c$ b1 l% Y
  533. ; http://php.net/html-errors
    4 ?+ U; m1 |0 b6 N4 @# d* i
  534. html_errors = On
    2 ?: I! ]  A7 o, J3 h

  535. ; }9 l) c% P# o! g( K% [8 z
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP% `; ?  Y# k  z* h( f' U/ {
  537. ; produces clickable error messages that direct to a page describing the error
    , C; p- {$ D) c1 n7 r, Y. K/ N, I
  538. ; or function causing the error in detail.9 L/ b$ l7 ^0 q' ?) o
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    9 z  a7 S. |: D
  540. ; and change docref_root to the base URL of your local copy including the
    : i; `# a& ^" \0 S: |
  541. ; leading '/'. You must also specify the file extension being used including3 C2 L. M7 S* _) O' O
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    + w! X9 O# i! _; _
  543. ; case no links to documentation are generated.  r5 L5 _5 V' _( W: }" o
  544. ; Note: Never use this feature for production boxes.. E; u2 C4 B# B5 K! {( G/ x
  545. ; http://php.net/docref-root0 T) \  o9 P1 S
  546. ; Examples
      M; S- D) R& _: S
  547. ;docref_root = "/phpmanual/"
      Z" |) R+ p/ G, w1 F: ^) p
  548. 2 y( U' Y2 A! |  l* _0 z$ W9 ~
  549. ; http://php.net/docref-ext
    0 ]" ?/ E% t0 ?8 D# v6 v
  550. ;docref_ext = .html, E0 U3 u$ F9 l% @2 N8 O  H' Q& y" {3 [
  551. # ]- p1 n2 }4 C, S6 s
  552. ; String to output before an error message. PHP's default behavior is to leave
    1 v1 u) ~+ \- T  y8 p
  553. ; this setting blank.+ g1 C: j3 g. `7 x3 C! r& x
  554. ; http://php.net/error-prepend-string
    ) [. S  d* }& Z, j0 U
  555. ; Example:2 S# i2 u! U4 X) [' U, q# |
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    % W) x6 R+ O6 t" A( c
  557. : o6 _. A/ ^7 D/ q. M* r
  558. ; String to output after an error message. PHP's default behavior is to leave
    % A7 }7 k( K3 k' [
  559. ; this setting blank.' g6 c, Z( W! f! t6 u
  560. ; http://php.net/error-append-string; Z4 \2 @8 x* p& v  ]4 S
  561. ; Example:
    * K. p' I( H/ x* B* M6 C
  562. ;error_append_string = "</span>"4 @5 q: A1 K) u: s

  563. : T5 ^9 n# U% ]! G  s
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    4 ?$ w4 }  a$ b- m8 m, I
  565. ; empty.
    * y$ u, |8 E) T( y
  566. ; http://php.net/error-log
    # |0 O* H7 R/ w
  567. ; Example:
    & }6 u2 u, {5 |& K$ R
  568. ;error_log = php_errors.log# k$ `& B. E$ \  x& G
  569. ; Log errors to syslog (Event Log on Windows).. y* F" ]* F7 T; _
  570. ;error_log = syslog% p8 u! \$ z9 d& n, }7 Z" f* A2 U
  571. , u: g" c4 D- Y* _7 f
  572. ;windows.show_crt_warning( T4 g1 ]/ B) E! R) U
  573. ; Default value: 09 Q+ u, x  J" \, [
  574. ; Development value: 0
    7 b$ B' R7 @, Q# Y3 O. y& t5 W
  575. ; Production value: 0
    ) b2 t) ~- H$ |# n3 l2 b7 R2 L
  576.   N& S+ k5 w) o( y8 m) R
  577. ;;;;;;;;;;;;;;;;;
    8 E. L$ a" @2 F: @4 _
  578. ; Data Handling ;: e! C0 a3 Z0 [5 ], P0 z
  579. ;;;;;;;;;;;;;;;;;
    ' R* G/ {2 ^! O3 t6 X' T# F5 H

  580. 5 S4 g9 Q2 p. k
  581. ; The separator used in PHP generated URLs to separate arguments.* H! a! s0 p% Q& k/ [
  582. ; PHP's default setting is "&".; j( T9 \3 c$ v
  583. ; http://php.net/arg-separator.output
    ) U* k9 d) C4 G  J( K$ t$ n
  584. ; Example:0 |# Q( _( A2 w( b
  585. ;arg_separator.output = "&"5 \4 n7 i7 z2 X2 y. h
  586. : D$ X+ ^( b, o" \- F: T% N
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    2 _  ]" ?% Y. T; K! O
  588. ; PHP's default setting is "&".4 Y% P0 _( Y; z8 u  F1 n, r/ O
  589. ; NOTE: Every character in this directive is considered as separator!/ H' G; R/ o& j& W2 e7 |
  590. ; http://php.net/arg-separator.input
    2 ?$ W' U# h2 A) c& H- f
  591. ; Example:; N9 V/ |% S' o
  592. ;arg_separator.input = ";&"
    ) {1 J/ x. D) `8 `3 {/ ]. E5 q! O  w
  593. 3 ~$ O  b. U8 }" P0 x' V& t) u7 G
  594. ; This directive determines which super global arrays are registered when PHP
    7 ?  N! e% q8 s& Y
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super& N. J6 @: s- a0 o0 E& j! V& }
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty& f6 u" j1 w9 Z- y/ I; U/ P
  597. ; paid for the registration of these arrays and because ENV is not as commonly2 G% ?0 S! j/ s
  598. ; used as the others, ENV is not recommended on productions servers. You0 V8 H( e7 m1 J9 O4 y7 L! k( R
  599. ; can still get access to the environment variables through getenv() should you% G$ {4 p3 S* K) }* V' j; w  n
  600. ; need to.$ ?; j' W0 t3 x7 G8 T: u9 i, E
  601. ; Default Value: "EGPCS"
    ! g% W" y" V( s
  602. ; Development Value: "GPCS"
    + B/ K4 ]: M& u  E+ m. g
  603. ; Production Value: "GPCS";
    1 K& T6 {: \$ e7 m" |% C
  604. ; http://php.net/variables-order/ C3 X$ |( w  E, e: S1 c/ @
  605. variables_order = "GPCS") m* x" p8 j# l7 s

  606. 3 i9 H# V$ y0 Q$ R% ~+ i6 B# [- `
  607. ; This directive determines which super global data (G,P & C) should be
    . }: d, m" K& ~; e# w3 v
  608. ; registered into the super global array REQUEST. If so, it also determines
    3 \; u' m7 c5 b& @. g7 d8 B
  609. ; the order in which that data is registered. The values for this directive
    . ?) L- j& B" u- Y1 @0 V% B& {
  610. ; are specified in the same manner as the variables_order directive,
    2 N, ?% q; T+ B9 g! C; ?
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set& R4 o1 g7 s* J& O3 o# S2 ]2 G
  612. ; in the variables_order directive. It does not mean it will leave the super
    ! u/ i: a2 ]% K  K3 l* Q2 _
  613. ; globals array REQUEST empty.
    3 a) T% W0 D9 b& G2 M' E
  614. ; Default Value: None4 e; D9 [$ S$ D. c8 U6 T
  615. ; Development Value: "GP"3 F8 w) ]% H) x) t; {: O, E$ `
  616. ; Production Value: "GP"
    ) d# B0 I9 z: x- C% a) W0 v
  617. ; http://php.net/request-order: ^. |/ |: p1 z  `$ c
  618. request_order = "GP"- A$ o$ P, S6 Q  m
  619. : S1 j" J( @* C8 }$ o4 h
  620. ; This directive determines whether PHP registers $argv & $argc each time it8 r' U% F3 {5 @1 M: y2 M
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    ) ?1 O) {$ p2 Y3 K+ E& N4 K
  622. ; is invoked. $argc contains an integer representing the number of arguments( K: X0 S; `% L' S
  623. ; that were passed when the script was invoked. These arrays are extremely
    3 j$ {' m* u+ a) v0 N2 T3 a
  624. ; useful when running scripts from the command line. When this directive is* J5 V2 J7 N. \
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    5 f& Z7 x% W7 v2 u: J6 K
  626. ; a script is executed. For performance reasons, this feature should be disabled
    9 U% W7 j7 x$ |! X5 B- k: [& d
  627. ; on production servers.
    & B8 h6 S% X& J( e) ?' W$ I2 a
  628. ; Note: This directive is hardcoded to On for the CLI SAPI; M& ]( b. _+ q
  629. ; Default Value: On
    / a5 A! _7 ?  \4 R$ s8 r
  630. ; Development Value: Off
    + @! p# u: `: A, q
  631. ; Production Value: Off
    : W( S% k; x& d* E
  632. ; http://php.net/register-argc-argv5 a& o: T) f) n% P2 D# V" `6 q
  633. register_argc_argv = Off
    . Q+ |$ l. e5 Q) c' T. c4 d# O
  634. , Q, A+ |+ l/ j7 ~) W/ ~
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're/ d( ~2 v$ D$ x  f0 o2 o% A
  636. ; first used (Just In Time) instead of when the script starts. If these* k- w/ J/ g6 }) o3 h
  637. ; variables are not used within a script, having this directive on will result
    ( ^0 n2 q: Y2 b% D
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    ' }2 B* F1 |2 U
  639. ; for this directive to have any affect.
    ! s4 z. s: K$ o2 H2 I2 j( H
  640. ; http://php.net/auto-globals-jit
    6 t6 ^/ W# p2 t2 P! ^' _
  641. auto_globals_jit = On
    ! k* [5 ], j# Y9 e; m* x3 x
  642. ! h; V. {. t+ K. L; \4 @* K9 U  r
  643. ; Whether PHP will read the POST data.
    - E) u/ ]8 A- a1 _& z- T9 D* H# A
  644. ; This option is enabled by default.
    0 q6 h( k2 D4 Y& w  c9 G0 |# b
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    $ J( f% b% X+ ?' Q* X; W2 S
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    % E2 v) f  M6 j
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    & P3 h% F" P, c
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    % I9 }, S: @3 j- t% q1 w' |
  649. ; http://php.net/enable-post-data-reading* Q5 e, T. d4 Z+ u& {
  650. ;enable_post_data_reading = Off
    8 u/ e0 C9 T! y

  651. 4 k" o/ l% L7 e' B
  652. ; Maximum size of POST data that PHP will accept.
    - v; Q: q5 R6 U0 \) d; c+ J: [
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading* S" U3 t$ p# ^$ {$ z
  654. ; is disabled through enable_post_data_reading.
    . P( h) z8 b: w2 J" m4 I5 Q
  655. ; http://php.net/post-max-size8 p% W; V; C6 Q
  656. post_max_size = 50M
    & R! b: g' j" i1 o. d4 x/ M
  657. / O' I! v% `6 m
  658. ; Automatically add files before PHP document.
    + |4 _! x" ]4 o! a2 Z4 c
  659. ; http://php.net/auto-prepend-file' @# r* T! [! c, j' _
  660. auto_prepend_file =
    % i. Z' O2 g# i$ I) M0 I6 I
  661. - |! v5 u1 E3 R3 B% w9 ?
  662. ; Automatically add files after PHP document.
    # I/ l, E, e! }
  663. ; http://php.net/auto-append-file! g5 S5 L+ ^$ D" ?" S6 M& r/ R6 L6 i
  664. auto_append_file =% L" p8 {3 H* x! m: k
  665. % C* T4 h+ |3 s$ @0 y8 \
  666. ; By default, PHP will output a media type using the Content-Type header. To
    3 I- Q+ [$ Q+ q4 a1 R3 @
  667. ; disable this, simply set it to be empty.
    ! R. \8 o* i' h/ h$ }2 S
  668. ;) @5 o( l6 `4 |1 G6 J+ t5 ^4 p
  669. ; PHP's built-in default media type is set to text/html.7 g1 N6 X. M3 w
  670. ; http://php.net/default-mimetype, c% I% W( x0 e. x7 m0 v
  671. default_mimetype = "text/html"
    6 ^; J7 B. x& Y2 I
  672. ! L" p$ y- z( n  P2 d! `! }
  673. ; PHP's default character set is set to UTF-8.
    - c( `6 \9 M" |8 H" g' z3 q
  674. ; http://php.net/default-charset3 P4 x) T. @/ Y
  675. default_charset = "UTF-8": B7 x# l0 }2 }
  676. 0 `( T$ {4 S$ B% o! ^: j
  677. ; PHP internal character encoding is set to empty.
    4 f# t  q* ^4 E$ ]
  678. ; If empty, default_charset is used.% \( M2 C1 r% Q: O5 V1 P8 U: N
  679. ; http://php.net/internal-encoding8 k: g' I: a, G% ~# [
  680. ;internal_encoding =0 ?% i$ C- D: M6 P( J

  681. % R2 |) P' ~; r4 q9 v  E3 r# U
  682. ; PHP input character encoding is set to empty.
    ' s- A. V2 `1 N4 @
  683. ; If empty, default_charset is used.3 ~6 a6 e! G3 O
  684. ; http://php.net/input-encoding5 K$ z) ^( o% b
  685. ;input_encoding =3 o: N( v  c5 W: h* C9 U& \: z9 @
  686. 9 i/ f2 \6 e2 R6 `& C4 h" l
  687. ; PHP output character encoding is set to empty.* T! A  V2 O8 @' ^
  688. ; If empty, default_charset is used./ ]& [! l, _; N2 F1 x
  689. ; See also output_buffer.' u# ~1 N1 i/ Z4 J! G
  690. ; http://php.net/output-encoding2 ]! v: P, h, ~2 H, n0 a: O4 j
  691. ;output_encoding =2 |" \! ^+ ]5 d3 B8 a3 c4 y
  692. 6 r. M/ r3 l) P+ ?9 J' {% {! a
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;. x0 c; U5 F/ _! L0 L
  694. ; Paths and Directories ;
    6 i# O, D$ s5 Q0 S5 o0 I
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;$ X1 _! k3 v5 n% w" o5 i* V) v
  696. ' k- N0 m4 x2 o9 t
  697. ; UNIX: "/path1:/path2"
    / g3 T; c- S) k  u
  698. ;include_path = ".:/php/includes"! }# ]5 Z0 K0 B+ [, }" A4 Q  |
  699. ;
    5 l* A0 {( {0 P0 u
  700. ; Windows: "\path1;\path2"8 D' |, \5 ^  p4 B+ q
  701. ;include_path = ".;c:\php\includes"
    ' ]2 e% J3 D+ d6 U5 K# J# \  a
  702. ;; _- H% b. I  N, v' T# G7 D2 Z
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    * ^6 `1 F( d: Y( q! n" Y7 K- {3 E
  704. ; http://php.net/include-path
    ) z- S- p2 R3 w* |7 }5 M

  705. ! d; S9 _* B% @! C. Y
  706. ; The root of the PHP pages, used only if nonempty.3 `9 J, S0 P$ q0 \
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root. {3 v0 I# j1 U# D" @! B
  708. ; if you are running php as a CGI under any web server (other than IIS)$ f# |3 c; S7 \
  709. ; see documentation for security issues.  The alternate is to use the& J' s, t" }# T  c% y
  710. ; cgi.force_redirect configuration below
    / C- x* [9 b9 L/ Y( m5 E) W1 i
  711. ; http://php.net/doc-root! L" u3 h- g, j0 |
  712. doc_root =
    - S' J" m1 H8 T- c, R

  713. - Z9 L  p: f4 g- V
  714. ; The directory under which PHP opens the script using /~username used only
    / m" Q- }" y8 Y! L/ u
  715. ; if nonempty.
    7 k6 P1 J! u% M! |& d: b, W% t+ P; L
  716. ; http://php.net/user-dir' d# m6 U0 c  g5 k
  717. user_dir =
    ) [* {; [; B+ m
  718. 8 ^# f/ u9 ~2 S: l! B
  719. ; Directory in which the loadable extensions (modules) reside.
    . K; q# u1 J6 ^( y
  720. ; http://php.net/extension-dir
      {  c3 F0 h$ M3 @# A) e0 m
  721. ; extension_dir = "./"
    ) o6 N: |% i/ k8 ^
  722. ; On windows:
    ! |( e9 Z$ {) l- E4 K
  723. ; extension_dir = "ext"3 `- c( e# [1 [( D3 A

  724. ; \! s# ^5 B3 e7 ], z1 h" B7 X
  725. ; Directory where the temporary files should be placed.
    " b, X0 n4 e: Q
  726. ; Defaults to the system default (see sys_get_temp_dir)
    , Y8 p; l) e  \! u; _; R, F! H( ~
  727. ; sys_temp_dir = "/tmp"
    : f* k  {! i% F3 }

  728. 7 {  {6 G/ e# S' z# `
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    ( n" P1 F4 I0 A7 \6 {5 k& {
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically3 x3 p1 ?' n$ }/ z2 `. _
  731. ; disabled on them.0 k0 h. i! o$ r; }  i+ R" y, O( b
  732. ; http://php.net/enable-dl6 w1 N4 _2 u5 }. d) F
  733. enable_dl = Off
    3 z+ D8 s% f* L5 Y8 K: a  r; H4 X- ?

  734.   t* r  b) M9 m4 n$ i3 F; \$ w  m, B
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    3 Z  B, |9 h) R# U( w
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    $ S7 Z; V& H8 `5 ]3 ^  L% }  ^  H; J  x
  737. ; turn it off here AT YOUR OWN RISK
    & O& A" W, F8 n7 j* v
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**8 @) v* |# i) F% u4 k2 l
  739. ; http://php.net/cgi.force-redirect
    6 C- `' j6 A! a8 G# h
  740. ;cgi.force_redirect = 1
    5 O; D; P9 q9 R" v

  741. . I% O6 z! D6 x8 f" b2 L
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with  r$ P+ q2 I+ _* s) V
  743. ; every request. PHP's default behavior is to disable this feature.
    7 h+ B& S' r* I2 F
  744. ;cgi.nph = 13 r, P7 `$ s2 R$ ~
  745. 0 O! T* r% L9 V
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape  g! Z: K. c; d+ _, L: c3 Y
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    ( o9 d" ~) u4 J5 C( r
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY+ I* b) G) p2 x$ T
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.& N' W7 F0 `& ?( q- g) u( S. B- _2 E$ ~
  750. ; http://php.net/cgi.redirect-status-env  I7 G* J. X# w9 I2 r+ o
  751. ;cgi.redirect_status_env =
    8 h* u1 d  f8 F. o. v( I! S
  752. 7 R) Y- r! G# [2 e
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    4 [+ [. J2 t0 h8 v
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    ; R+ s8 e9 B' m' |8 V& S4 W
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting& ^* ]+ `- l( ]. {
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting$ a$ T# d1 n3 H5 v) o0 Z5 L
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts) r3 Q( P( v6 E+ |$ \; o. k! k
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.1 G7 C: C) a' e. B4 y
  759. ; http://php.net/cgi.fix-pathinfo/ s1 U3 A( E1 v  E* }/ {$ a
  760. cgi.fix_pathinfo=1! K9 h  m2 M, P1 ?" o) g. e

  761. + t! u. `) [2 `" }5 r, ]& M) ^
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside8 q- E; }8 `( a
  763. ; of the web tree and people will not be able to circumvent .htaccess security.% q. t; V% n: x5 a; m* `6 N  S
  764. ; http://php.net/cgi.dicard-path
    3 H7 B' Q9 X: e; Y; e1 H% y0 S
  765. ;cgi.discard_path=1, g  ~8 }9 d$ O: t$ x: X
  766. % l$ S. [/ t) g6 t/ n
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate& w; w7 H! `$ b5 _$ A0 [' p/ a. r
  768. ; security tokens of the calling client.  This allows IIS to define the3 N  H7 A2 _. q
  769. ; security context that the request runs under.  mod_fastcgi under Apache7 j0 K( }* ^' Y/ q0 F' ^
  770. ; does not currently support this feature (03/17/2002)
    % K. x4 @6 p* }  R3 K' P
  771. ; Set to 1 if running under IIS.  Default is zero.
    4 U- `7 W  n/ m- n( _
  772. ; http://php.net/fastcgi.impersonate" }# M* I1 Z) F$ c' z, I( _
  773. ;fastcgi.impersonate = 1$ d; g( H% `, K1 X
  774. 0 f# ^, V! V& D) k
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    : Y; S( V5 a4 N, H' Y& h
  776. ; this feature.
    - X, _4 m9 R4 Q' O3 @3 O
  777. ;fastcgi.logging = 0
    3 ~# ]- A7 j4 x- _+ w# P0 H6 ^
  778. 0 `8 [- K3 K7 i% J: Y% ?9 d
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to4 T6 e& q( s, f. Z7 Q
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that1 T" I# M% ?7 F! s
  781. ; is supported by Apache. When this option is set to 1, PHP will send7 c! B4 Y+ n' K4 Q, n
  782. ; RFC2616 compliant header.: T" Z3 R" t% R& F" Y0 f$ g  Y* M
  783. ; Default is zero.. a3 L/ ]' l2 p& @: M
  784. ; http://php.net/cgi.rfc2616-headers
    + ]: l! F( D! |6 \% p5 s1 y
  785. ;cgi.rfc2616_headers = 09 J# o- l  I, {3 A

  786. - ^' r+ A$ F9 T9 w* Y! H+ e
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    ; U- U  J- F. k" F" m
  788. ; (shebang) at the top of the running script. This line might be needed if the
    : X6 t0 u% i8 ^  h/ ^/ O) q
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
      ^9 ~; H4 q4 X, N
  790. ; mode skips this line and ignores its content if this directive is turned on.
    / g; h; l; a9 H- ^$ x) S: m
  791. ; http://php.net/cgi.check-shebang-line
    # t5 @/ Z6 Q3 w+ s! ?) z0 Y
  792. ;cgi.check_shebang_line=1+ d' d' s! Z" H" |8 i; {
  793. ( A+ p7 n5 T2 r2 l
  794. ;;;;;;;;;;;;;;;;
    & f/ |% r8 u* s( i, \
  795. ; File Uploads ;
    % [+ E/ T: ?3 Q; i& F+ t6 p
  796. ;;;;;;;;;;;;;;;;2 j' t) _+ k# b8 \6 E
  797. # N, I9 d$ m2 d6 R1 {% a
  798. ; Whether to allow HTTP file uploads.+ ~: s# ?* X, o. M
  799. ; http://php.net/file-uploads
    4 V  c* Y/ ~  q* T- W/ ~
  800. file_uploads = On
    ' A6 n5 F: q" d9 z/ d4 }& r
  801. 7 i: i6 K" K1 J9 G) ^  k" J
  802. ; Temporary directory for HTTP uploaded files (will use system default if not0 s& Y9 R& ^' o+ L1 H
  803. ; specified).
    ! a2 a- W8 @5 a: w
  804. ; http://php.net/upload-tmp-dir
    $ D: C% ]1 z. g% Z5 I# {/ r$ Y$ ?
  805. ;upload_tmp_dir =5 J: |& o- d; y; e7 J5 x

  806. * E# N) h/ @' f* s1 I8 Q. |' O
  807. ; Maximum allowed size for uploaded files.0 b, ^- u# L7 S0 y( t
  808. ; http://php.net/upload-max-filesize' R: E3 k# o" M) D/ ?8 |/ w: o: D& C
  809. upload_max_filesize = 50M- Q  u/ C3 ~1 s, C6 i

  810. $ ?- S( e/ ^" j8 Z) Q
  811. ; Maximum number of files that can be uploaded via a single request
    6 M; B$ |8 o. A1 }- M( X! h2 x
  812. max_file_uploads = 20
      w. W# C( m: P: E0 Y* i/ X

  813. 2 k: U  D6 C( G" z7 \6 a0 O
  814. ;;;;;;;;;;;;;;;;;;( C# f- V+ [' b& D/ u& p
  815. ; Fopen wrappers ;
    9 ]  P: e3 E" K( ~+ A0 d2 o# G! J! `
  816. ;;;;;;;;;;;;;;;;;;
    0 C- }3 b) i; J0 p" a" J+ O0 |

  817. / u7 k/ P4 |8 u7 ]
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.$ W8 Z8 y3 B# O. J2 s) H% Y
  819. ; http://php.net/allow-url-fopen* j/ }5 W* F3 R0 K+ X+ d
  820. allow_url_fopen = On
    ' |0 D; f$ f: C! X$ y
  821. 5 t7 u* ]: t- R; b. o' n( A$ |
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.2 O* t6 V+ h' r6 T4 r
  823. ; http://php.net/allow-url-include
    ( Y$ c; b0 U. v' F! ]7 U- {
  824. allow_url_include = Off
    . z2 y# B7 v% S) C# A5 b6 S
  825. ; }& h. D! T& p9 p- Z& a& m
  826. ; Define the anonymous ftp password (your email address). PHP's default setting4 O( Q3 H2 S8 x5 S2 M, M2 R5 Z
  827. ; for this is empty.( M. g  A7 L5 Q+ z& ?6 _; w# M
  828. ; http://php.net/from4 M  ]' I: d' A  d( N
  829. ;from="john@doe.com"* W8 k4 m! f0 b/ x% c. ^( V

  830. - I; K, s, m2 X  J! s0 C
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    " w+ i9 I  N6 c) f2 Q* o. B/ p: P
  832. ; http://php.net/user-agent
    & ~  S+ T! x$ j5 @6 j) b/ N
  833. ;user_agent="PHP") l* \/ r" E5 X# [- E5 z& J% f
  834. 6 P/ x4 W8 R) Y
  835. ; Default timeout for socket based streams (seconds)9 n5 ~. @) |% a, Z; u) J
  836. ; http://php.net/default-socket-timeout* m. j, t3 _% |  \) M' x8 n
  837. default_socket_timeout = 60/ y6 Q( P6 f/ C( V& I4 S8 f
  838. 5 G" z! ?6 l, V) |$ ]5 |# S
  839. ; If your scripts have to deal with files from Macintosh systems,
    2 T; g$ U# S+ I6 t( T( {
  840. ; or you are running on a Mac and need to deal with files from
    8 {2 b& p! o/ Q7 D5 m8 B, z
  841. ; unix or win32 systems, setting this flag will cause PHP to) J" o/ m0 h7 V* i/ A
  842. ; automatically detect the EOL character in those files so that7 I& ^; \) ~9 @! f7 ^- s
  843. ; fgets() and file() will work regardless of the source of the file.0 F- k4 U9 B2 y' F6 b+ H, _
  844. ; http://php.net/auto-detect-line-endings
    % {2 d3 z0 c% R; x% O
  845. ;auto_detect_line_endings = Off
    8 a; z: X( z' q; W/ `" k

  846. 0 j( E, G4 ~' h, Y3 K- t& m
  847. ;;;;;;;;;;;;;;;;;;;;;;% s3 d0 X' u( F3 \2 z% Q. f
  848. ; Dynamic Extensions ;
    0 E' y" |* u, D, B6 U4 P3 q
  849. ;;;;;;;;;;;;;;;;;;;;;;" @8 b* ~0 i: o- j- y; C  T
  850. 5 R' W/ _& w4 R1 p0 k
  851. ; If you wish to have an extension loaded automatically, use the following, P: w$ g( u1 [8 c0 e
  852. ; syntax:" Y8 V* a% h  t: |/ f
  853. ;% B/ u% H* p( Q' ^6 Y% G
  854. ;   extension=modulename.extension) @. I9 z8 `- K: B6 U! x
  855. ;
    9 I0 x2 {6 I' _; i
  856. ; For example, on Windows:3 Z% d- e& J) K0 n# J
  857. ;+ L0 ]% `% V- s6 W; C7 ^
  858. ;   extension=msql.dll9 H. N2 p( ?7 c2 I) X2 z7 q( k
  859. ;5 f: p/ P2 X/ y' I
  860. ; ... or under UNIX:
    ) S4 Y0 t3 h! b0 s# }( W3 W. c2 a3 N5 b
  861. ;  `2 d: b% W$ \+ v
  862. ;   extension=msql.so1 y" h  ^% v: Y5 g) Q
  863. ;0 y- b# h8 P3 r5 e6 I* H3 r
  864. ; ... or with a path:( N: m4 Q9 J* U- Q* O- v
  865. ;! i+ N. P- e6 z) Z
  866. ;   extension=/path/to/extension/msql.so) I# ~; z, |1 b: J0 C3 Z% e
  867. ;
    ) D5 T0 {# y- S$ D) s/ m/ h7 P6 t+ Z3 `
  868. ; If you only provide the name of the extension, PHP will look for it in its" ]6 D* J2 d% `  R1 a/ z8 }
  869. ; default extension directory.
    ' V2 {- Q: e# a' B, C; J: z1 L
  870. ;
    1 D4 |$ V+ `4 i& |5 z' |
  871. ; Windows Extensions
    : W$ a- k: h. j) @
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    & W6 ?) T; x2 x; n
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)/ H( ^  ^9 r+ G' A& V1 W6 r
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).9 ?- J0 C, X; @- o' m
  875. ; Be sure to appropriately set the extension_dir directive.
      P5 U7 H0 ^) l7 w. x* S8 d( v
  876. ;
    1 q! j7 m( z4 P
  877. ;extension=php_bz2.dll3 h$ m- N7 B4 w
  878. ;extension=php_curl.dll
    : C- D( @) Z- s
  879. ;extension=php_fileinfo.dll
    , y, {7 y! {, b
  880. ;extension=php_ftp.dll
    * `! [# ^& i' ?4 r, o$ ?& a
  881. ;extension=php_gd2.dll3 ^, h" V( j5 ^2 I: d5 K# f
  882. ;extension=php_gettext.dll( |7 F) K* d. O- ^4 D
  883. ;extension=php_gmp.dll$ Y2 I+ l1 @8 }9 c, D% D
  884. ;extension=php_intl.dll# l  g0 }6 g; p% O0 @4 M) i2 X
  885. ;extension=php_imap.dll
    ! T. ^! k; S# l+ L1 A2 |
  886. ;extension=php_interbase.dll0 a( g/ C& |1 Z  c+ I; y
  887. ;extension=php_ldap.dll% I% z  c* C1 o6 n  |1 h7 T! w' b
  888. ;extension=php_mbstring.dll
    6 }! S) f* R1 W
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it& F2 ?' T, ~5 a7 W1 S# T4 K
  890. ;extension=php_mysqli.dll# B/ X2 h$ v3 F3 X1 G5 E
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client) M' a: o# n- P" ]' W& B. k  B# Y9 |
  892. ;extension=php_openssl.dll
    - L0 ?# k8 J+ z. d# h3 E; _, Z
  893. ;extension=php_pdo_firebird.dll+ b% b" ?5 L, ]
  894. ;extension=php_pdo_mysql.dll1 }% J" K3 C' H8 e5 B
  895. ;extension=php_pdo_oci.dll
    ; k6 Q8 I& T! r% k( ?
  896. ;extension=php_pdo_odbc.dll
    5 I6 u1 m4 F' p' I1 C6 l
  897. ;extension=php_pdo_pgsql.dll
    * `+ P1 F+ `, a# D( ^, t
  898. ;extension=php_pdo_sqlite.dll, ?" ~1 K7 t: S- u
  899. ;extension=php_pgsql.dll* `3 g: f7 U! z. @- G3 c0 ]/ n* c7 q. m! E
  900. ;extension=php_shmop.dll, L7 b' D& T' K& U: ]# f* \
  901. & I# {& T- j& c5 g
  902. ; The MIBS data available in the PHP distribution must be installed., I4 {+ P( Q* f6 d6 d: Z
  903. ; See http://www.php.net/manual/en/snmp.installation.php8 ^' A$ \& ~- N. q/ b, y; @
  904. ;extension=php_snmp.dll
    8 V( L2 X5 y9 a. t& [( B  H/ k
  905. 6 K6 _3 |0 I+ o1 C
  906. ;extension=php_soap.dll9 p6 G  O$ G  z0 S9 w) V: Y* p/ q! }
  907. ;extension=php_sockets.dll. `" ~2 I& x( q. r+ @
  908. ;extension=php_sqlite3.dll6 E* r+ A. C7 d; K' g
  909. ;extension=php_tidy.dll
    ( m  y) R/ I- j- }. O' p
  910. ;extension=php_xmlrpc.dll
    , e5 |) q" Z! b
  911. ;extension=php_xsl.dll8 e+ w  Q5 |3 v5 R' ^

  912. * q, T" M. [0 o) I
  913. ;;;;;;;;;;;;;;;;;;;
    & S, U# s) f8 f6 e( n
  914. ; Module Settings ;4 M0 j# J: Z/ ~+ |
  915. ;;;;;;;;;;;;;;;;;;;
    1 I0 c  h& w+ W. ~4 o! G" o" H

  916. 8 Y5 r% V* s0 a4 Z: @
  917. [CLI Server]! S$ s' d* N  Q! S, I
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.$ t  q  |3 j- U" d+ R+ n! a  s
  919. cli_server.color = On
      p+ }* A5 Q. {
  920. % ^, }8 Z, i& t1 F5 F% U
  921. [Date]) ^! d- P2 ?# l  h8 j1 g/ I0 }3 l
  922. ; Defines the default timezone used by the date functions# c7 Y2 ~% B- S5 n& w6 B
  923. ; http://php.net/date.timezone
    / G, \! w& v5 T4 d
  924. date.timezone = PRC
    / |+ P* D2 D2 W6 B) j
  925. $ ~$ m! e' E$ k, T
  926. ; http://php.net/date.default-latitude. @  G% ~9 F0 o  B1 }/ G
  927. ;date.default_latitude = 31.7667
    2 J( b. d( ?' {" P

  928. ) O; d6 |8 G$ h1 W, t; N9 z$ b
  929. ; http://php.net/date.default-longitude: ^, N: k7 r# d0 g
  930. ;date.default_longitude = 35.2333+ o3 V2 u8 Z- w7 R1 @
  931.   j' \* t& O9 _5 E
  932. ; http://php.net/date.sunrise-zenith
    0 N) a1 u; ]: d4 u% k
  933. ;date.sunrise_zenith = 90.583333
    , X1 g2 C5 I  N& z

  934. ; q( w) Y/ _8 p- j
  935. ; http://php.net/date.sunset-zenith* e+ u) w: G; I) _2 ]) {
  936. ;date.sunset_zenith = 90.5833330 _3 `2 I9 R9 x/ \: h) s
  937. 2 r" i5 {7 h+ r- }( Y: M
  938. [filter]
    ' {' n8 ]! F: q9 E! B
  939. ; http://php.net/filter.default) P. K7 O/ f) `/ h1 V) Q& S$ O
  940. ;filter.default = unsafe_raw
    1 j0 l" }6 d2 I# J7 s: K7 c

  941. & X2 O- d+ z7 w3 N9 w5 G& c" r6 ?
  942. ; http://php.net/filter.default-flags
    8 z$ j2 z1 b+ \5 f
  943. ;filter.default_flags =- h* o* ]9 l' F1 r. P; w
  944. ' Y; S! h: f; o, I
  945. [iconv]/ \/ p1 `/ S- Y
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.1 z% H* o) z6 c2 k+ f# R' A
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    $ Z& W5 q( n/ H$ o# R9 g
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding# b9 N0 m( T7 K2 \0 P; O; w
  949. ;iconv.input_encoding =
    , I9 X4 [! u" Z0 d

  950. . h' w2 q% _) r# U9 \1 L
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    " d" T+ P" o, T* p0 ^$ ?# V
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.  h, v' q4 j* W9 T" r# I/ _
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding0 d- S' [# p, b, Y% a& `8 M' ^
  954. ;iconv.internal_encoding =4 i+ Z$ _  g6 v  X

  955. 8 z) @5 T/ d# _9 c2 o' J, k. C
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.' ]" U9 ~4 Y( H- g
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.+ O/ L" g1 u# _9 n; J" m9 I
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    + P$ v. a) G0 j
  959. ; To use an output encoding conversion, iconv's output handler must be set
    4 p4 s  z9 d; U" Z
  960. ; otherwise output encoding conversion cannot be performed.& ^- T; L" r& d! n& T# _
  961. ;iconv.output_encoding =
    # l: [! C( H2 b( Y. Z; y1 f1 P

  962. 8 e" _3 q& `; u1 \' O
  963. [intl]# V9 o9 i  P8 w! _+ y
  964. ;intl.default_locale =9 a1 g1 ?! K3 _5 ^, o- j. p
  965. ; This directive allows you to produce PHP errors when some error
    1 T0 [# z, G7 d) x* Z" z- {
  966. ; happens within intl functions. The value is the level of the error produced.  V. |: a9 f& o$ u" Q; ]* C
  967. ; Default is 0, which does not produce any errors.
    ' D# {" R$ ^# V6 N& r
  968. ;intl.error_level = E_WARNING, E: q, S' V. U& ^! {5 Y
  969. ;intl.use_exceptions = 0
    ( D8 i8 ~+ J6 G5 A. [
  970. & P, c# p$ G' T3 ?+ J1 I
  971. [sqlite3]0 b7 \* V* ?# V7 R
  972. ;sqlite3.extension_dir =
    6 }4 F. }. V0 [# w8 w
  973. $ t6 C6 |' y5 ]
  974. [Pcre]
    5 |+ Q9 ?0 V2 Y% n$ a
  975. ;PCRE library backtracking limit., E' P& x/ w2 \4 @7 D- k8 {
  976. ; http://php.net/pcre.backtrack-limit1 g" u2 m7 t& V" [0 L
  977. ;pcre.backtrack_limit=100000
    % d( w+ a5 J1 z. V, {

  978. : j! L; R. o* X, V0 C) A
  979. ;PCRE library recursion limit.$ J& U9 L. [8 z/ W. V2 U
  980. ;Please note that if you set this value to a high number you may consume all
    $ h$ M( B8 T/ F- ^% b% E
  981. ;the available process stack and eventually crash PHP (due to reaching the! |5 W4 ~1 d; G# W. r7 ~: C
  982. ;stack size limit imposed by the Operating System).
    # u: q. b9 m& D$ g6 h+ |
  983. ; http://php.net/pcre.recursion-limit
    7 Z' D0 p( q' q8 U
  984. ;pcre.recursion_limit=1000004 o* n1 o/ G& d! I6 }" D
  985. * K& d: g9 }/ \' E+ Y# J: H6 [
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE! N0 N7 ~1 U0 V
  987. ;library to be compiled with JIT support.
    + d9 J" @6 ]' r( a$ [+ B! ?
  988. ;pcre.jit=1
    ! b0 k7 }6 M$ n9 ^
  989. ) k8 x. p+ F9 `
  990. [Pdo]# F' R7 o2 j. H- ?/ Y: f
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"+ z2 c7 L$ z/ ?- }, }" u
  992. ; http://php.net/pdo-odbc.connection-pooling
    4 u4 \' j: `, I0 O; D. |$ i. a* d
  993. ;pdo_odbc.connection_pooling=strict
    3 Z$ k5 B% c2 ?9 ~% J
  994. 9 c) l5 x3 l4 Y8 s/ R
  995. ;pdo_odbc.db2_instance_name
    5 K! R$ t! [0 W: ?; [- [* t: A

  996. 6 w+ M: k# q& w; {- Z  z
  997. [Pdo_mysql]
    4 Q/ N4 B9 z7 }' V
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache& f3 @! a' W  o+ F7 w6 R
  999. ; http://php.net/pdo_mysql.cache_size* w; u$ `( P: L$ c( o! l
  1000. pdo_mysql.cache_size = 20006 i& X- i  N5 {! s- \; U
  1001. 3 E' \$ x) a3 w* ]. Z! e* Q  s
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in$ M. a4 l7 m6 {, i7 a. P
  1003. ; MySQL defaults.
    % H4 t- _8 Z! _: }
  1004. ; http://php.net/pdo_mysql.default-socket
    7 P2 P+ s! w' r
  1005. pdo_mysql.default_socket=; \- M5 k3 r5 ^9 B% U6 a' U

  1006. 8 S$ K/ B0 i0 B: |$ l4 ]
  1007. [Phar]- ^7 F+ C) |! M: E/ c. T
  1008. ; http://php.net/phar.readonly. c  ^# {+ A- ^4 H/ _
  1009. ;phar.readonly = On% `! {7 B  i. p# s! [

  1010. 4 t' O( M- n: Z' t4 ~& F2 U
  1011. ; http://php.net/phar.require-hash
    9 ], R0 F$ y9 \# R0 \" G. C
  1012. ;phar.require_hash = On* y/ P: o- t# x) p, ?: i0 M
  1013. 8 W$ n% [# Z, z' E( a
  1014. ;phar.cache_list =4 T+ E. H' k9 i$ b1 X& o6 H
  1015. - \( d3 \" n' f
  1016. [mail function]) O+ J  N, k# Z
  1017. ; For Win32 only.. A+ G2 L" S* y+ Y* ^
  1018. ; http://php.net/smtp
    & i7 ?& p. e$ s3 v* j
  1019. SMTP = localhost
    2 }3 V- w+ ]+ ~1 v! g
  1020. ; http://php.net/smtp-port( q. S8 g5 q- w; u/ Q3 f7 u
  1021. smtp_port = 25, f$ p. k# T4 `6 H
  1022. - p& {# ~+ }+ T
  1023. ; For Win32 only.
    / r# d9 h% |: `( |
  1024. ; http://php.net/sendmail-from6 g8 M$ @0 O6 ~: ?! ?4 D9 {
  1025. ;sendmail_from = me@example.com
    # o$ {* U$ C. n+ w! C) o* P

  1026. 2 h' H" s+ a# x; W& C9 s
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").  H. U, s2 c. }; T  \' |
  1028. ; http://php.net/sendmail-path: U5 r. S6 E, l9 u+ ~$ E
  1029. sendmail_path = /usr/sbin/sendmail -t -i" T% s# o7 m8 y
  1030. ; l6 U0 h; ?, S, x4 |) t, s8 C% a
  1031. ; Force the addition of the specified parameters to be passed as extra parameters1 t! A5 l$ ^7 {5 T
  1032. ; to the sendmail binary. These parameters will always replace the value of
    2 i# R' u( H: e- p: z
  1033. ; the 5th parameter to mail().
    5 @4 b8 t( h! s* J  [
  1034. ;mail.force_extra_parameters =# X' g/ T% Z6 _5 o2 _% B3 s
  1035. 9 z5 e; [! N, ~0 }) B
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    5 N+ V& r% m9 o3 E; R
  1037. mail.add_x_header = On
    5 f3 Z7 s5 A/ P* R$ q# N
  1038. # g5 N2 n: ]+ v5 ]
  1039. ; The path to a log file that will log all mail() calls. Log entries include: b. }) A' s6 N, n9 k& L, T2 t
  1040. ; the full path of the script, line number, To address and headers.# y! G' V; ]4 D
  1041. ;mail.log =0 [% Z) d. d2 l' p
  1042. ; Log mail to syslog (Event Log on Windows).
    - q4 _' d! f* Z  ~
  1043. ;mail.log = syslog
    ! g  M! W- T9 @- P. z8 z
  1044. ; w' h9 P% b) x) ^) J4 U* j
  1045. [SQL]: j: g6 q, z$ y5 \! N5 G1 Q6 E& c
  1046. ; http://php.net/sql.safe-mode% u" v; L( {9 L8 s
  1047. sql.safe_mode = Off) I* B% B: _, ~
  1048. $ W( s/ X$ I, {1 N
  1049. [ODBC]
    ' T' t/ b4 {" x2 t7 w1 h
  1050. ; http://php.net/odbc.default-db
    % l7 j- ?% J# l! V4 B6 k
  1051. ;odbc.default_db    =  Not yet implemented& c' u6 L+ v% {' Q

  1052. . R: M8 j$ F/ H+ v+ Q5 C2 D
  1053. ; http://php.net/odbc.default-user) l8 ^7 O7 |* f% C; f3 [/ [
  1054. ;odbc.default_user  =  Not yet implemented
    5 x5 r+ g0 I  A9 X

  1055.   j5 s2 [7 Y! G2 d* k; `
  1056. ; http://php.net/odbc.default-pw/ a" N/ L3 O! U$ E
  1057. ;odbc.default_pw    =  Not yet implemented
    7 k$ A# A8 G4 E% o
  1058. & a9 @3 W  t$ z
  1059. ; Controls the ODBC cursor model.; w/ `$ l# [$ b. y
  1060. ; Default: SQL_CURSOR_STATIC (default).) n. T) V6 F* o) H! A; s$ l7 d$ L
  1061. ;odbc.default_cursortype
    % w; B* W3 [  u- v6 @2 ]

  1062. 4 L: ~4 z7 [$ D' T# h; H( l
  1063. ; Allow or prevent persistent links./ g( L( s# e# z
  1064. ; http://php.net/odbc.allow-persistent
    , N) m; D- z( H
  1065. odbc.allow_persistent = On1 F# L- s# t, Q* Y7 n: p: c0 h  b

  1066. * r. K6 A4 Z* e4 i) N
  1067. ; Check that a connection is still valid before reuse.; }" b4 p8 m8 Q. P
  1068. ; http://php.net/odbc.check-persistent4 e: W% @2 @0 D4 t
  1069. odbc.check_persistent = On
    - z" w+ |& {) l9 Z, y$ S

  1070. 4 o( T  u& x5 Z3 z4 Q$ z. Z, |
  1071. ; Maximum number of persistent links.  -1 means no limit.1 j! r4 ]( }0 a2 Y9 P
  1072. ; http://php.net/odbc.max-persistent1 x! g' l3 d- ~+ C5 a
  1073. odbc.max_persistent = -1
    6 Q- N! K3 u5 \( d2 b. f

  1074. # U" B" v7 t2 a0 i& n3 s& z
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    4 x" p9 l2 k! p
  1076. ; http://php.net/odbc.max-links! v# q7 n3 j" z" A- [1 O
  1077. odbc.max_links = -1/ P6 c3 k' V; Y+ l

  1078. . X. n2 P- V9 @+ E
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means3 ]5 ~# m1 P3 \  |- u9 x4 W, j
  1080. ; passthru.
    # V1 S4 \; v- w1 X" i' S
  1081. ; http://php.net/odbc.defaultlrl
    ; {# D  I4 t' S# P3 V
  1082. odbc.defaultlrl = 4096
    0 ]# t, d( F; _& E
  1083. 7 [0 O) ?7 {* j$ Y
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    1 W  _' M6 @9 a/ v2 i0 I- s
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation- m: S& _. _9 w' W. l
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode9 K3 {; F$ _% ]; {3 `
  1087. ; http://php.net/odbc.defaultbinmode
    & y/ Q, ~. v  V8 |2 k
  1088. odbc.defaultbinmode = 1
    $ V4 Z; `+ A+ ^/ ?) b4 {

  1089. ' e! ^1 W5 F) q- U
  1090. ;birdstep.max_links = -18 \1 `) K6 g2 A5 v" I2 P2 l: Q

  1091. ; p2 T" y$ K$ H( y2 y
  1092. [Interbase]
    ) d3 l+ I8 m+ I. v8 C$ u& i6 b" x
  1093. ; Allow or prevent persistent links.
    - T9 E* p% a( Y- y0 r& s& l
  1094. ibase.allow_persistent = 12 O, k! W6 f# U6 Y1 Q5 p
  1095. % `& d: C' j9 b7 c5 H# T/ J
  1096. ; Maximum number of persistent links.  -1 means no limit." I3 i: u2 {, O& l4 y
  1097. ibase.max_persistent = -16 ^: N3 R$ k1 f, n1 E
  1098. ' H5 B1 E/ c% o! o( `% X& T
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.  }9 u$ V( l, w5 P% _: X
  1100. ibase.max_links = -1+ L. ^" j; D) y

  1101. 5 N0 L& f5 b1 T/ Z9 D, T1 K: c
  1102. ; Default database name for ibase_connect().! D6 o4 y/ G8 y9 x
  1103. ;ibase.default_db =1 K$ Z3 b+ r9 s  N; [# h& s! S

  1104. 2 L6 b! H, n) A9 \
  1105. ; Default username for ibase_connect().! k- Y$ V4 U, T# ^  Y
  1106. ;ibase.default_user =
    + K5 b) o( U- [5 n! o
  1107. 8 ?4 f" V+ M! `0 M( J
  1108. ; Default password for ibase_connect().
    4 x4 f: H. I7 D5 I
  1109. ;ibase.default_password =
    * u. k2 v2 X% p$ U
  1110.   Z7 @8 M' D; W; x* i  A4 F
  1111. ; Default charset for ibase_connect().) y. G" V" s7 [0 B1 ^, D. _
  1112. ;ibase.default_charset =
    4 S% m5 X8 a( A: i, z! n
  1113. ( z/ c4 r% q( A
  1114. ; Default timestamp format.
    ' o. p# ]+ Z8 G% Q3 m0 X
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    * G- g' U2 |0 ~

  1116. . e4 @% J1 i2 Q7 p
  1117. ; Default date format.3 u; Q1 j; p+ j: X4 b
  1118. ibase.dateformat = "%Y-%m-%d"
    $ {: N! N1 h0 ~+ q1 R! G0 U, s7 L
  1119. 9 ^" b+ G8 U3 S6 G9 J
  1120. ; Default time format.) P" y9 R( `" m% o5 O4 X: o/ p
  1121. ibase.timeformat = "%H:%M:%S"# Y  i2 y$ X0 P( V

  1122. 5 K: t3 ?$ N& v" ^1 D1 l9 |
  1123. [MySQLi]" n( Z9 H5 o* ^) W, n9 _

  1124. 3 S9 n. n! @8 r1 q0 r* U
  1125. ; Maximum number of persistent links.  -1 means no limit.
    3 p$ _3 @2 O5 z$ I/ v$ c' {" J
  1126. ; http://php.net/mysqli.max-persistent# O$ Z; C3 c! P
  1127. mysqli.max_persistent = -1* F' l  f, q, D( ^
  1128. : D; B! N" i8 L7 a& F4 L
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements+ U/ ?! K+ T4 D6 C# D6 [; i7 v6 `
  1130. ; http://php.net/mysqli.allow_local_infile
    ' [8 ]+ \  g7 F1 y
  1131. ;mysqli.allow_local_infile = On: _- r  V  ]0 @7 a: z8 Q
  1132. ! K6 P6 r! N8 c5 i- g+ A+ h& F
  1133. ; Allow or prevent persistent links.8 U$ [, u. ]% y' [
  1134. ; http://php.net/mysqli.allow-persistent
    3 z  E: I1 j* d" B" Z8 `; x
  1135. mysqli.allow_persistent = On
    . [9 i% C. J1 Z( z
  1136. $ D1 Q$ C* I: H0 n" v$ C2 P2 p% ]
  1137. ; Maximum number of links.  -1 means no limit.2 l, R' ]# Q; o" D  b8 L
  1138. ; http://php.net/mysqli.max-links$ O% C- N0 S- N) t# E& [! _
  1139. mysqli.max_links = -16 }8 i' S6 x5 o/ _' y

  1140. . m3 R. i: n4 i( B; \" P. w  w
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    # `* p1 r6 f! K! x: I% d& E
  1142. ; http://php.net/mysqli.cache_size. l. {4 I: l) w- ]' J4 C* x
  1143. mysqli.cache_size = 2000( E% n4 F: s8 F+ d: C
  1144. 1 H3 i% M5 C+ `" H7 I# O
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    ' T- R( h6 A$ k
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    : Z+ ]2 `4 `% ^6 E
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    , u# M0 Z4 ]" G. J$ \; Z( z5 p
  1148. ; at MYSQL_PORT.9 Q3 b7 a- Z3 S7 N
  1149. ; http://php.net/mysqli.default-port5 ]2 o  }0 S8 K; q3 q! W( v( m+ i' S
  1150. mysqli.default_port = 3306
    $ l, g4 ^6 ^/ E/ h+ N3 M
  1151. ' N# S" p5 x9 b. X0 L
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in; o: t7 F2 p- d: W& i$ V
  1153. ; MySQL defaults.
    + z" ^$ J3 `3 w% S  _, C
  1154. ; http://php.net/mysqli.default-socket
    1 ?1 n, K7 |8 x+ P* A
  1155. mysqli.default_socket =
    6 L; Q# L5 {0 W

  1156. % s: \+ x/ g# q) _  P
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).: r& L, s4 z6 r4 k, W
  1158. ; http://php.net/mysqli.default-host7 E/ u/ x4 E. Y! K! @8 h
  1159. mysqli.default_host =/ o: U5 O) {6 z# R9 y( O2 C1 O

  1160. 9 F4 I0 A/ \1 f+ _# a1 t; ?
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode)./ x+ Q* Y$ @1 o, `: K# ]0 O+ n
  1162. ; http://php.net/mysqli.default-user
    9 y9 V- ^% J" x( b" u- E, H
  1163. mysqli.default_user =
    % J5 w+ \) ?: {0 U1 B+ {

  1164. + m7 k2 T! E2 k/ l
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    7 g6 R# K+ T# j, ~  W0 e2 W7 Q: C
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.
    $ m/ B" d. J2 P. N% j# U2 k: g: r
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    " w: H, H2 x+ ~, m, V
  1168. ; and reveal this password!  And of course, any users with read access to this
    1 \1 L* G; F! f6 R
  1169. ; file will be able to reveal the password as well.
    * S- p0 u* P$ t/ ]  a
  1170. ; http://php.net/mysqli.default-pw
    ) V# n+ E# X" W# @4 N- t
  1171. mysqli.default_pw =
    " j2 E, `6 R/ |3 J0 P; q" q6 r; n0 L
  1172. ' P% Q7 A3 |# J# g& ]' M0 b% x) f
  1173. ; Allow or prevent reconnect, b- g. t) y4 H/ z7 D
  1174. mysqli.reconnect = Off6 V$ T( X/ J' T3 B9 Y0 |

  1175. # L, f" R& t: I. |
  1176. [mysqlnd]
    2 q# Y8 R, O; T4 |5 V+ t" P3 Q) _
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be3 s+ u/ H7 D7 ]) X0 l6 v
  1178. ; used to tune and monitor MySQL operations.3 u& V  G" H- ^& N
  1179. ; http://php.net/mysqlnd.collect_statistics
    ! F2 q9 X6 f  l2 s* n: l
  1180. mysqlnd.collect_statistics = On# N  E8 e: r' d+ c. R* [* r+ D$ l

  1181. 8 _6 e$ y% l8 m7 l$ j& ]
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be/ q7 F2 z. F+ d: R
  1183. ; used to tune and monitor MySQL operations.2 s) O' Z/ O- {: ^: j
  1184. ; http://php.net/mysqlnd.collect_memory_statistics/ Q0 L( c; ^+ s+ o, I4 k8 W. D
  1185. mysqlnd.collect_memory_statistics = Off
    . ~1 z7 G" S4 E" E# h8 M

  1186. & x9 j/ L5 n. D- d$ K
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    # l7 A# [1 O8 q! ]
  1188. ; file.
    6 j& W* X9 b; r* p9 E$ A2 S
  1189. ; http://php.net/mysqlnd.debug
    0 Y. V4 s7 Z$ d  S) i( l
  1190. ;mysqlnd.debug =
    2 ]. t( @" ]( S; j. X6 n, w& |

  1191. " U4 N% u$ d7 Z$ X' ^7 D
  1192. ; Defines which queries will be logged.
    8 |8 ]$ ]; I" I" f
  1193. ; http://php.net/mysqlnd.log_mask
    ' o/ ?! t8 a+ A' y& S. M
  1194. ;mysqlnd.log_mask = 06 d& p5 `; }  T% V3 y
  1195. 9 i2 I( O% G6 O1 O; i( g! K
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    , V- n  D! H7 y( i
  1197. ; http://php.net/mysqlnd.mempool_default_size
    % w0 |3 U. G! o  _
  1198. ;mysqlnd.mempool_default_size = 160005 Y' k0 J$ F3 P  T
  1199. / Q& b5 l% j; z
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    % _. ?; B+ a6 Z
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    * J9 Y: D" j% q6 s0 T; b
  1202. ;mysqlnd.net_cmd_buffer_size = 2048( L2 V' G3 w3 Q: g

  1203. 9 N4 J$ S" p6 E5 b% I
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in; v3 |$ Z7 u2 m8 T- n' _, D# P& ~  t
  1205. ; bytes.8 J& ]/ h  @7 ~! f+ k9 X
  1206. ; http://php.net/mysqlnd.net_read_buffer_size
    6 x$ ?# B4 k. U
  1207. ;mysqlnd.net_read_buffer_size = 32768- J$ ]6 g" s$ |+ @
  1208. . ~' C1 F3 t) a9 H& K
  1209. ; Timeout for network requests in seconds.! Y$ M& u) B2 m. b  {; o" e! M7 L5 r
  1210. ; http://php.net/mysqlnd.net_read_timeout$ e& Z; L/ ?/ p& H# ^3 A0 k7 c
  1211. ;mysqlnd.net_read_timeout = 315360007 d9 e" s+ v  f( \( [
  1212. - Y3 m2 _- D+ o0 |$ o) n
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA/ H, {9 d' e; Y5 E, f1 V% }  Y
  1214. ; key.5 X! M0 l5 w5 x1 h$ d
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    " }9 h  H6 j" z% x8 m+ ]( `
  1216. ;mysqlnd.sha256_server_public_key =* F  f/ b- m6 Z! J' o

  1217. 1 z4 i/ |$ }2 a
  1218. [OCI8]
    4 r2 R2 C! m* M3 e4 ?& w0 ~
  1219. + [4 S* z4 c& i2 @
  1220. ; Connection: Enables privileged connections using external, X) W" t8 ^! a$ ^7 }
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    ' Q$ [# D3 b2 l7 T
  1222. ; http://php.net/oci8.privileged-connect7 J$ R$ l# V# V  m2 S% K( k  H: V! ]
  1223. ;oci8.privileged_connect = Off
    8 F1 J; i9 w5 V1 k1 O1 B

  1224. + z- T6 ^9 I. F. h: A: a" ?" X
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    / ~* r) m+ }, Y3 b
  1226. ; process. Using -1 means no limit.! X9 u' B3 c  @4 y- d
  1227. ; http://php.net/oci8.max-persistent
    / |0 W$ `0 W! _* P1 g5 _+ y6 B
  1228. ;oci8.max_persistent = -1, Z" b" s8 ~: l  {- ~
  1229. ! M3 `' F* q4 z0 Y
  1230. ; Connection: The maximum number of seconds a process is allowed to
    $ Q0 `5 ^6 i! i$ u3 q4 U, t5 `9 E9 s7 e
  1231. ; maintain an idle persistent connection. Using -1 means idle9 a  G' i9 `: C, F
  1232. ; persistent connections will be maintained forever.
    2 ~+ G+ |+ A+ \1 `
  1233. ; http://php.net/oci8.persistent-timeout
    " Y7 [: Z5 n6 L- D* ~1 D0 f
  1234. ;oci8.persistent_timeout = -1& \* s) L3 w- e6 C

  1235. ) j* P) g+ r" q% e- T. p
  1236. ; Connection: The number of seconds that must pass before issuing a: r! t, Y9 B" }' x" a
  1237. ; ping during oci_pconnect() to check the connection validity. When5 J) W+ F' s( _& @
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    5 V: x1 Y2 I' x2 V8 F
  1239. ; pings completely.0 g9 ]% o7 u* b* B
  1240. ; http://php.net/oci8.ping-interval8 W$ l( ~' y/ g4 e
  1241. ;oci8.ping_interval = 600 F/ c5 i$ u5 C+ }, a$ `

  1242. : P/ ?" q/ X9 o$ w- P) U
  1243. ; Connection: Set this to a user chosen connection class to be used
    3 x# v! z) n0 N
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    , T. p( K0 m  o2 N$ `6 O, K
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to+ i5 g1 M( [: Q, K8 m
  1246. ; the same string for all web servers running the same application,- l+ L1 `. S% D. q6 Z! L
  1247. ; the database pool must be configured, and the connection string must2 h/ I. e+ {! ^/ J9 m) a7 U2 Q
  1248. ; specify to use a pooled server.
    & {. L, [; h$ i& {# h# q
  1249. ;oci8.connection_class =, y. q/ s! W; ~0 `

  1250. . S- A. G, i2 z/ k# F/ z% n* o
  1251. ; High Availability: Using On lets PHP receive Fast Application6 P7 e) P7 P; e
  1252. ; Notification (FAN) events generated when a database node fails. The! f+ y- ]* W) F: h, S7 k
  1253. ; database must also be configured to post FAN events.
    7 p0 ]# ~, X, H% n+ C4 J/ Q
  1254. ;oci8.events = Off
    8 a! m# V8 r5 u7 t+ F
  1255. 8 \4 T8 |; A4 i  @# M
  1256. ; Tuning: This option enables statement caching, and specifies how
    5 u- R0 f# b. ]$ k3 \" d
  1257. ; many statements to cache. Using 0 disables statement caching.. ]5 R% m! V# G- n) h5 c1 I- D& g
  1258. ; http://php.net/oci8.statement-cache-size
    + N, ?- K0 k$ @
  1259. ;oci8.statement_cache_size = 204 v3 k5 ~* P$ q1 D

  1260. : n9 j$ H$ q: V. r
  1261. ; Tuning: Enables statement prefetching and sets the default number of" h* `4 f5 n5 e  U- `" z& O
  1262. ; rows that will be fetched automatically after statement execution.
    3 U( z- G! V9 C+ P
  1263. ; http://php.net/oci8.default-prefetch
    8 U, P1 ?  P# H6 C* o: F! l. \
  1264. ;oci8.default_prefetch = 100) {8 M8 F6 o' M! P

  1265. 7 E/ Q- ^! N" c
  1266. ; Compatibility. Using On means oci_close() will not close
    3 [& E9 L4 v+ R. y* C
  1267. ; oci_connect() and oci_new_connect() connections.
    ' v2 d3 K! s  p
  1268. ; http://php.net/oci8.old-oci-close-semantics$ M: o9 {) f4 X; B6 \( ?5 t0 S4 x- L
  1269. ;oci8.old_oci_close_semantics = Off
    * R, ^/ u% X9 C! s. ?

  1270. ( {! L: z# x! U0 W2 H" A7 \$ L! p
  1271. [PostgreSQL]
    ) u% ^& R) p$ i  c
  1272. ; Allow or prevent persistent links.
    - P6 C0 d3 u1 L9 @3 c& L( [( Z
  1273. ; http://php.net/pgsql.allow-persistent
    7 Z  N7 Y( G' H
  1274. pgsql.allow_persistent = On
    4 r, k  V. \; h  p8 {- u

  1275. % c1 z# t* I4 V/ [& S# }
  1276. ; Detect broken persistent links always with pg_pconnect().
      x4 f. G2 q! c0 Q" I* x, @
  1277. ; Auto reset feature requires a little overheads.6 n+ v6 P2 O2 Q* J, j; ^
  1278. ; http://php.net/pgsql.auto-reset-persistent9 C: c2 E0 i4 n; F
  1279. pgsql.auto_reset_persistent = Off! i, v* d6 R" g9 f

  1280. 5 |. C" f5 T9 i, N! c0 D7 c
  1281. ; Maximum number of persistent links.  -1 means no limit.4 b, v! @8 F9 q/ m
  1282. ; http://php.net/pgsql.max-persistent
    2 U5 p, H2 Q+ R) l4 P
  1283. pgsql.max_persistent = -12 H+ Z- u% D0 s5 d, Q
  1284. + v5 U$ ?4 ^8 K7 }! h4 [9 H! e1 H
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    $ y/ u( d3 {4 f( Y* ]# _
  1286. ; http://php.net/pgsql.max-links8 y+ k) e7 ^. V- Y3 i2 a% g7 [# D. S
  1287. pgsql.max_links = -1% V. K. G/ k* R9 u
  1288. / g3 `0 n, A/ [
  1289. ; Ignore PostgreSQL backends Notice message or not.4 }4 C- T# \) p# s0 [
  1290. ; Notice message logging require a little overheads.
    . b' {6 b+ H: h- w* I- P2 x* o) E6 ~
  1291. ; http://php.net/pgsql.ignore-notice
    ) C. ^/ Y7 w. ^. D" ^! u7 j
  1292. pgsql.ignore_notice = 0+ N* m5 O# Q/ x
  1293. % ~, ?2 D8 X+ Y' I7 i5 X0 O2 i
  1294. ; Log PostgreSQL backends Notice message or not.5 r/ l$ J, p+ a* q2 T
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.9 H4 O' d" |" K
  1296. ; http://php.net/pgsql.log-notice$ @1 i& K" q# P" T
  1297. pgsql.log_notice = 0
    * ^; ^' u" L( V& R2 ~

  1298. ! m5 K0 N9 l: q# ^
  1299. [bcmath]* F( _, z$ @! n) c. P0 _$ m
  1300. ; Number of decimal digits for all bcmath functions.# e- |; f, Z  e" T5 i+ s
  1301. ; http://php.net/bcmath.scale
    ( q/ `; X" g# z0 h4 M  @1 a/ }
  1302. bcmath.scale = 04 `6 _, c8 z6 `5 j7 y) o/ R9 \

  1303. 3 n8 A0 m* f+ ?% c: x9 Y' n$ l
  1304. [browscap]2 d. p: o" J! Q: |: K
  1305. ; http://php.net/browscap
    0 s* B2 V# e/ u; D0 E& Z
  1306. ;browscap = extra/browscap.ini
    * |$ E2 {9 C- q) \( e1 E, P8 f

  1307. 9 {; P# u7 N- d) ]( ?6 a' a) G. d
  1308. [Session]) B; `! A' W3 ]; s. N% d' M# L
  1309. ; Handler used to store/retrieve data.
    * w2 M6 f' z) o. c
  1310. ; http://php.net/session.save-handler9 y2 @4 J5 L/ P2 L7 f" H" Y
  1311. session.save_handler = files
    ; u. H! G/ L$ l& _

  1312. . a  t0 Z; `  ^2 k, [- L/ |- o- P
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    " o9 _7 V, O9 n
  1314. ; where data files are stored. Note: Windows users have to change this- W' K- U, a8 ]9 f+ N0 j
  1315. ; variable in order to use PHP's session functions., s+ ]- A  ?' P' V& @, p
  1316. ;
    & M0 l" j" B' ]) a, n3 A& T1 r  o& p, v9 x
  1317. ; The path can be defined as:
    & g! A. P. _3 n% z8 j  l1 ~# ~/ h* ?
  1318. ;
    ( R" U% Z' n. Z! g; h# y7 N
  1319. ;     session.save_path = "N;/path"
    9 A2 e  D5 ]2 S# [: a+ T
  1320. ;
    ; d3 x: n; L) {3 j+ |5 [2 L: x
  1321. ; where N is an integer.  Instead of storing all the session files in# l! t* T2 Q* z2 K0 ]9 n  S
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    . _' l( ^7 h& i; a) s) T
  1323. ; store the session data in those directories.  This is useful if/ N$ u- g& \5 V4 I$ y
  1324. ; your OS has problems with many files in one directory, and is
    * d- ?8 D# J7 V9 E' ~6 ?
  1325. ; a more efficient layout for servers that handle many sessions.
    6 X4 t" h& Y+ R8 N# _
  1326. ;: E9 p) |; q2 {( }/ h2 j( w
  1327. ; NOTE 1: PHP will not create this directory structure automatically.
    4 X7 J( d' F, D8 O  H
  1328. ;         You can use the script in the ext/session dir for that purpose.( ?" ?3 V  K9 W  j; J0 i# z$ k
  1329. ; NOTE 2: See the section on garbage collection below if you choose to1 h5 P2 Q; I7 K9 e  q1 t
  1330. ;         use subdirectories for session storage, i9 ~2 Z$ U, ^' V, q3 B
  1331. ;
      A: e5 j1 l" O! _9 w, ]
  1332. ; The file storage module creates files using mode 600 by default.
      b6 H: z) y; y$ p$ f" n# ?
  1333. ; You can change that by using
    * P) [- @; B& s  J
  1334. ;7 T/ c/ f* A: L+ _  E' ?! \
  1335. ;     session.save_path = "N;MODE;/path"
    ' p) G4 m% @7 M# v
  1336. ;" \7 O4 n* s! e$ g7 ^  X6 _* g
  1337. ; where MODE is the octal representation of the mode. Note that this" R, S% F' i& B- r2 v- X
  1338. ; does not overwrite the process's umask.+ s1 K4 t0 k' _4 s
  1339. ; http://php.net/session.save-path, Y* {2 O& B( d- P! n* [
  1340. ;session.save_path = "/tmp"
    0 m& m3 f  J& @5 p5 d; [$ _" l

  1341. : A4 _6 n& G; h% D( C! M9 ~
  1342. ; Whether to use strict session mode.
    ; h6 w; v2 [0 O: H! Y
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    : h) ]4 O- E9 T7 _
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects5 R9 G8 v3 w1 d0 J+ ?) F, _& J
  1345. ; applications from session fixation via session adoption vulnerability. It is
    0 G& |2 c" [2 R) \7 z6 N
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.  S- C) M9 |# C% n6 ]
  1347. ; https://wiki.php.net/rfc/strict_sessions
    % M$ Z7 m+ y" d9 d  G+ j
  1348. session.use_strict_mode = 0; D9 F2 N+ d' G. d. O7 o8 t2 W$ N

  1349. $ t$ D+ |! l, R( C9 K& F
  1350. ; Whether to use cookies.3 w! @+ B% N) i+ p3 h1 e
  1351. ; http://php.net/session.use-cookies% l# Z0 D5 |% u* }& N
  1352. session.use_cookies = 1
    , R4 a( ~6 d' L& p* \1 ^

  1353. ' c9 p7 Z2 D0 p* E2 s! U2 C
  1354. ; http://php.net/session.cookie-secure4 L8 E9 J* E2 Y& M. ]
  1355. ;session.cookie_secure =) ^4 k, N4 V% _- J3 X) S

  1356. $ n! I3 Q. `2 h5 A5 ?- ]3 p
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    7 h& I+ Q; E) j: U2 ~2 F( o
  1358. ; the session id. We encourage this operation as it's very helpful in combating  e: C' f, K4 w
  1359. ; session hijacking when not specifying and managing your own session id. It is
    4 f9 a1 Q. n4 J7 F
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    8 c2 D8 C1 W6 c% D1 r$ I
  1361. ; http://php.net/session.use-only-cookies' L. x; Q* x! z
  1362. session.use_only_cookies = 1( v, M1 s/ C; i( O2 S
  1363. 5 u; f0 I  @: l- v
  1364. ; Name of the session (used as cookie name).
    / N. F1 S* h% r/ J5 k; y4 d
  1365. ; http://php.net/session.name
    2 q1 C( L" P3 U  V+ t
  1366. session.name = PHPSESSID
    * p* m5 f! B8 c; q/ J0 ^
  1367. 5 L& `. _! ~6 J- g3 a% H
  1368. ; Initialize session on request startup.0 j6 W  S/ ^$ r! i
  1369. ; http://php.net/session.auto-start
    % P- r# h  R% F
  1370. session.auto_start = 0# W+ x+ E# b, f# P1 V* q/ |

  1371.   s4 ~$ K' ]+ @- w3 _5 h: \
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    ( l4 W5 m0 G; M; M
  1373. ; http://php.net/session.cookie-lifetime4 ^! y/ N# `4 Y
  1374. session.cookie_lifetime = 0' A; `* u0 x0 y; a

  1375. 5 W8 q' o. v' t1 Z
  1376. ; The path for which the cookie is valid.
    ! F% N, o: B! k; i
  1377. ; http://php.net/session.cookie-path& p* z# Q3 V+ d5 V# U3 j( n4 x7 [
  1378. session.cookie_path = /; r; K- G: l! g: U! j" ]

  1379. $ r2 ?3 S* ~1 K
  1380. ; The domain for which the cookie is valid.8 F5 h+ R4 ?4 ^1 ^' b! G
  1381. ; http://php.net/session.cookie-domain
    2 m& i: Z# l4 I% d* I" o
  1382. session.cookie_domain =
    0 b; h+ c9 d) i7 ?. Z) W
  1383. / `6 [& Y9 m& _4 p
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    % @5 ]9 m+ \0 \9 k$ j8 O
  1385. ; http://php.net/session.cookie-httponly+ X* z# `. a/ t; U
  1386. session.cookie_httponly =
    * w+ s1 p- b5 u& T5 G
  1387. ) g$ q+ p+ o' s; a1 d: _
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    6 m  x+ C: r- P3 b4 h
  1389. ; http://php.net/session.serialize-handler
    # j+ _: W1 T5 J: z$ Z
  1390. session.serialize_handler = php
    # m% Z% g' H; M
  1391. / i7 Q1 `/ P% S* n7 _, W8 H# D
  1392. ; Defines the probability that the 'garbage collection' process is started
    ' h5 J8 ]5 T" }: I0 @
  1393. ; on every session initialization. The probability is calculated by using
    ! k6 O; Q' Y1 D7 ^
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    ! ~2 Z7 w! a8 F1 a
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 14 q' f/ ^  Q9 y% M
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance. e( L0 D/ H  ]4 x! }
  1397. ; the gc will run on any give request.
    1 F# u% d' F$ l, f. ]/ i* w
  1398. ; Default Value: 1
      X5 R$ |7 a  e
  1399. ; Development Value: 1
    1 [! Q% D1 a, G! B
  1400. ; Production Value: 1
    ! ~: l+ U1 A. N0 O6 E
  1401. ; http://php.net/session.gc-probability* \! e+ N2 U- k2 _  k* i: _% i! ^
  1402. session.gc_probability = 1
    4 Y( [! C+ ]5 z7 H8 _$ K: o0 t
  1403. , ~: p( P1 ?" Z" i) c" _
  1404. ; Defines the probability that the 'garbage collection' process is started on every* w2 D# e: _. y& [1 c# Y$ ]
  1405. ; session initialization. The probability is calculated by using the following equation:
    1 S; w7 K/ Q" I
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and/ b4 z/ I; d& P( R
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1  H$ S8 t8 z; g
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance. _/ `! A8 R; Z+ c; |
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    % r* P: D/ n# g
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,7 ~  L* Y" a5 U
  1411. ; this is a more efficient approach." X8 P7 b+ j% h) n4 k
  1412. ; Default Value: 100: ]8 `5 ~* `: e
  1413. ; Development Value: 10002 O7 t; o. P7 u' F5 a# G9 n% O
  1414. ; Production Value: 1000
    2 W# R$ V8 g, s- R* Y9 D, ^- C. S* \+ H
  1415. ; http://php.net/session.gc-divisor
    2 u' l1 L6 X# Q, X8 V7 C
  1416. session.gc_divisor = 10007 F, N/ ?8 Q: R& Z
  1417. + T$ Y7 H. X) f+ ]8 e
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    7 G, B  m8 \% J
  1419. ; cleaned up by the garbage collection process." s8 G# n5 \1 i2 I
  1420. ; http://php.net/session.gc-maxlifetime  X' s2 m! N: d8 J# n% D2 }
  1421. session.gc_maxlifetime = 1440
    - g" B; E* q1 a6 Z, Z

  1422. % J5 N& ]( l7 R- Y
  1423. ; NOTE: If you are using the subdirectory option for storing session files* }' g- }% D: L9 {
  1424. ;       (see session.save_path above), then garbage collection does *not*2 c3 v. N4 c2 F) @+ o
  1425. ;       happen automatically.  You will need to do your own garbage
    8 P, S* F. [, K5 [
  1426. ;       collection through a shell script, cron entry, or some other method.
    % E# `9 }& K, G
  1427. ;       For example, the following script would is the equivalent of: g* l9 k2 p. v' s  h
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    & }  F, I6 ^; |, l
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm  U" m3 ~# P' m" _- E* i6 s

  1430. 8 ^" C2 U+ F4 T4 [5 w
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    ' R% r9 u8 M/ W
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    : P! A8 a! T- M, d8 L2 s# l  a" _
  1433. ; considered as valid.9 N7 A1 a; a2 W5 L2 N8 M1 I+ O
  1434. ; http://php.net/session.referer-check
    . {9 X# \) O* a
  1435. session.referer_check =" v; P1 H7 w. {" @1 c3 E1 F9 Z

  1436. 0 h) Y- d; L" P8 m3 h4 o% G: q
  1437. ; How many bytes to read from the file.
    ; w/ u) l) u" W5 w
  1438. ; http://php.net/session.entropy-length
    6 w3 @. Y$ E6 G9 k0 a
  1439. ;session.entropy_length = 32
    0 r( v% X; u: N% B6 W! k
  1440. " Q8 g& T* a5 }& _$ G$ u. z, l
  1441. ; Specified here to create the session id.
    + @9 h6 k/ v' ]. x# W. Q& Z
  1442. ; http://php.net/session.entropy-file
    9 `( x4 s2 @# [$ w) |
  1443. ; Defaults to /dev/urandom7 ^$ [: H! F1 C! y: |0 e
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    9 |- M. N5 f, R2 c+ P3 r
  1445. ; If neither are found at compile time, the default is no entropy file.' V' J' Y: c6 l* x
  1446. ; On windows, setting the entropy_length setting will activate the
    9 i9 q+ F1 @! O" ^+ D6 U
  1447. ; Windows random source (using the CryptoAPI)' q1 l: S. m. V
  1448. ;session.entropy_file = /dev/urandom# X$ c7 d2 I: h8 Q

  1449. # L( k. \* [6 T; A& e
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    , W# G9 d! A( N7 X" w
  1451. ; or leave this empty to avoid sending anti-caching headers.% k3 `( Z" k; l- Z1 V
  1452. ; http://php.net/session.cache-limiter  f' Q. p; h! K' F1 J9 Z
  1453. session.cache_limiter = nocache
    0 j, p7 E; C/ H

  1454. 7 s  j7 P2 M1 \) X) B
  1455. ; Document expires after n minutes.5 y3 H# _7 f& @, X
  1456. ; http://php.net/session.cache-expire
      Y, W3 P' @' i5 r
  1457. session.cache_expire = 180- T3 u9 {8 B; a( w+ p) M

  1458. 4 P) g0 x/ X( B
  1459. ; trans sid support is disabled by default.) f$ e, N6 h% u$ O* H
  1460. ; Use of trans sid may risk your users' security.
    ( Z* a9 U% E) o# v$ I4 Z# p
  1461. ; Use this option with caution.
    0 k" Z' ]: |" @" |
  1462. ; - User may send URL contains active session ID5 N* C! y$ y: Z4 w
  1463. ;   to other person via. email/irc/etc.
    ' C" t9 r; r; {) g/ G% s/ l
  1464. ; - URL that contains active session ID may be stored' }; A0 f. }, k! t8 [4 K& f  G- h
  1465. ;   in publicly accessible computer.
    6 r  t" L% {0 b% u/ \+ b
  1466. ; - User may access your site with the same session ID2 x" f+ |9 o0 g0 x
  1467. ;   always using URL stored in browser's history or bookmarks.8 `( W& D# g4 Z% @2 |1 R
  1468. ; http://php.net/session.use-trans-sid- ^2 v# F- v' d. K
  1469. session.use_trans_sid = 0
    2 X+ _7 |/ J/ w9 f) j

  1470. ; s/ ?( K2 X, }. |- r4 U3 l
  1471. ; Select a hash function for use in generating session ids." Y) k$ r+ Y4 h
  1472. ; Possible Values/ f  L" L: I& C- o, f8 w' M, b
  1473. ;   0  (MD5 128 bits)
    5 n1 m! V7 W, r3 X5 W! O* U  a
  1474. ;   1  (SHA-1 160 bits)
    & Q6 b# C% \8 C8 D9 n( ^; y
  1475. ; This option may also be set to the name of any hash function supported by% X, {# `$ z' V$ [* _
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()/ \! m8 E+ {0 A" {7 X: h' S
  1477. ; function.% J" {) D) o4 ]5 }7 F  x
  1478. ; http://php.net/session.hash-function
    $ X. z& g0 `0 b6 ~/ f6 s
  1479. session.hash_function = 0% M7 E. z$ e- v8 |( s: T' g

  1480. 6 [  U1 C/ Q+ y- q4 d- B+ |( r3 D" F
  1481. ; Define how many bits are stored in each character when converting7 K* K4 H! p. d5 V
  1482. ; the binary hash data to something readable.
    ) }; ~3 M. I3 S( W
  1483. ; Possible values:
    ( s. Q6 E  q2 F% K
  1484. ;   4  (4 bits: 0-9, a-f)7 J# h( |5 V1 k2 n! v
  1485. ;   5  (5 bits: 0-9, a-v)
    + N, B& {" A. u, H
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")( G$ x# D( v, h6 J4 _% y
  1487. ; Default Value: 4; v4 k( ?. n: H: ^. F! \, Q
  1488. ; Development Value: 53 |: {: n; h% ^% h; j9 u
  1489. ; Production Value: 5
    7 b  a# N# I. O& s0 A5 \
  1490. ; http://php.net/session.hash-bits-per-character) A  n' h, R* @/ H, Q  d
  1491. session.hash_bits_per_character = 5" t5 V. Y5 m" _, }2 G

  1492. ' K1 {. W* x6 Z* y/ x, H' E
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    9 e+ V7 C$ t% a- C
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    0 G/ J) y& ?$ i4 J, D
  1495. ; add a hidden <input> field with the info which is otherwise appended' }/ h+ Q: m! M: v6 o# _
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.4 D; ]7 S+ a  h8 q
  1497. ; Note that all valid entries require a "=", even if no value follows." t* w, Q: v( U5 P
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="/ n5 j% d% I; f5 D1 H7 i3 s8 P
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry": d9 R, R/ c" a- _- a0 X7 L
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"1 b$ p# x% g: T; e7 s! j  t
  1501. ; http://php.net/url-rewriter.tags
    2 X% J* K8 ^( J& Y2 K
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    7 T1 q' A8 ?3 T# E

  1503. " t. y& R6 `) O0 U- {; N8 a, Y
  1504. ; Enable upload progress tracking in $_SESSION
    $ J1 I! {% K8 E; b+ H5 U
  1505. ; Default Value: On
    8 J# U0 h7 A# C: o9 e
  1506. ; Development Value: On
    8 L0 J9 q! `6 y/ v$ F4 v
  1507. ; Production Value: On
    . b: w% U! M( b* Y
  1508. ; http://php.net/session.upload-progress.enabled" Y+ ^$ X( A( U3 O2 @- c8 m2 P  W
  1509. ;session.upload_progress.enabled = On7 P! M+ A) L6 @9 [, w/ D$ q) Z
  1510. / ^* U: w7 o2 q. i2 t+ v
  1511. ; Cleanup the progress information as soon as all POST data has been read) n  b9 e4 y5 k5 B$ a. c3 g
  1512. ; (i.e. upload completed).
    ( r+ e) G, t! v
  1513. ; Default Value: On
    ; [4 R) E; c9 N( {. }) j+ E4 @4 @
  1514. ; Development Value: On
    ! i6 A2 Q3 _$ d  v
  1515. ; Production Value: On$ o6 B) G) _4 a! m- _
  1516. ; http://php.net/session.upload-progress.cleanup
    9 r4 |5 u* |: G* l
  1517. ;session.upload_progress.cleanup = On. S& ^7 w7 S. y; F5 _' \, D# k
  1518. $ t* f: [9 K6 s3 ^- l& j) [1 @  s
  1519. ; A prefix used for the upload progress key in $_SESSION8 O& C9 ]* p, R/ _
  1520. ; Default Value: "upload_progress_"9 q$ S9 k3 m4 i& B1 P" j
  1521. ; Development Value: "upload_progress_"
    1 H: S$ S  z# m) _, W! f
  1522. ; Production Value: "upload_progress_"  c2 T; f) w; N7 C. o
  1523. ; http://php.net/session.upload-progress.prefix
    . S/ L: F7 h0 C* h( j4 }
  1524. ;session.upload_progress.prefix = "upload_progress_"
    . V" @* d& K; N( f. c
  1525. 5 C3 K7 ], z6 ^: u2 U7 d. X5 \
  1526. ; The index name (concatenated with the prefix) in $_SESSION& {/ _7 t/ _$ M9 Y2 _0 U4 N
  1527. ; containing the upload progress information) G  N# u/ G! D7 Q  d  s
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"; y! C; z2 c) G; D
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"; _/ o8 N" R& i: N( k
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"' V5 J3 b, h) ^+ }8 T9 s
  1531. ; http://php.net/session.upload-progress.name
    ( b! r2 C% g" _& h; m6 W
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"' A8 g" k! M) U+ r" @
  1533. 1 w2 C2 h7 c" O% F( l
  1534. ; How frequently the upload progress should be updated.. q' b7 q! j; m& p; |& r0 Z5 l
  1535. ; Given either in percentages (per-file), or in bytes
    ) D7 }4 F7 @7 j6 R3 g  E! ]
  1536. ; Default Value: "1%"
    3 t) _' H2 a9 g+ Q
  1537. ; Development Value: "1%"
    ) ]0 Z: @1 _0 I) k6 v
  1538. ; Production Value: "1%"
    ) m9 y; V+ d: S  r
  1539. ; http://php.net/session.upload-progress.freq9 J* U$ {+ I. }3 N
  1540. ;session.upload_progress.freq =  "1%"+ f; i4 Z) n; O. }9 b
  1541. - C/ t, A' O" B/ g8 i
  1542. ; The minimum delay between updates, in seconds* x- u# m1 N. O6 y, d+ e
  1543. ; Default Value: 16 y0 N  X8 J% P. r7 _9 p0 ~
  1544. ; Development Value: 1
    3 |; d7 N& f, i- ?/ s3 M/ D
  1545. ; Production Value: 1! q, y. {) G+ S2 k
  1546. ; http://php.net/session.upload-progress.min-freq
    5 K9 [, \1 P- f. r, G& c
  1547. ;session.upload_progress.min_freq = "1"2 e8 s% d$ x6 o- V$ l
  1548. * `$ ~1 _# @- V" o  [. p9 }
  1549. ; Only write session data when session data is changed. Enabled by default.! B$ j- B, c7 }) W7 `
  1550. ; http://php.net/session.lazy-write+ }0 C, c2 `- q" L9 J
  1551. ;session.lazy_write = On8 C$ c! k0 J. o/ D  t/ E

  1552. 5 N0 W9 c7 Z; x
  1553. [Assertion]1 Y" g& l  [7 Y$ a/ Q' l# c
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    ! n: w  m# ], I7 f; Y2 ^/ `. [6 t
  1555. ; -1: Do not compile at all
    8 \6 i: p0 T7 [6 h! ]
  1556. ;  0: Jump over assertion at run-time, \( k) V9 r- b* J. h
  1557. ;  1: Execute assertions+ Q$ x  c( c; B1 ]7 Z# E
  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)3 M( b% J  _% K+ A( [
  1559. ; Default Value: 13 B$ ?: S% F4 }. K
  1560. ; Development Value: 1
    6 R1 y# s* A- ^3 v6 _
  1561. ; Production Value: -13 {$ e, m3 Z+ S1 C: B' v- Q
  1562. ; http://php.net/zend.assertions( x/ ~/ s" K* G5 g, ?5 X; n% b
  1563. zend.assertions = -18 t) j1 E% K6 X( g9 u

  1564. / n! c9 ~6 |! o2 j/ {9 w
  1565. ; Assert(expr); active by default.
    8 J1 g# F) @; S0 L
  1566. ; http://php.net/assert.active
    % {$ Q2 L4 ~0 v! |# o5 R) ]
  1567. ;assert.active = On
    2 }9 I. {' {6 s3 r0 z! W
  1568. , q, Q% Z% M' U1 H
  1569. ; Throw an AssertationException on failed assertions4 u) w; D( j2 R9 B* C# N4 H
  1570. ; http://php.net/assert.exception
    6 W( t8 O8 V0 m3 i
  1571. ;assert.exception = On
    ! j. F! g' q/ W

  1572. 4 K8 x6 k$ ]$ r
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)3 |9 L' \- E2 R- {: r$ B, _. v% S
  1574. ; http://php.net/assert.warning5 G' N8 X, C/ x; p; ~. T
  1575. ;assert.warning = On2 j8 p: z. H2 M9 {: O

  1576. - N/ Q" j  B$ S+ J
  1577. ; Don't bail out by default.  j) c4 O  H& v, Q/ l/ l; o' M
  1578. ; http://php.net/assert.bail
    , [+ |% r' X; B3 v" k
  1579. ;assert.bail = Off- g% J4 t+ q3 b/ |0 ^
  1580. ; l, i% n/ n  g" \: a
  1581. ; User-function to be called if an assertion fails.
    0 ^* c& E% i7 n& w' D
  1582. ; http://php.net/assert.callback4 m" z0 [1 W4 l  c: ^! h- Z- b
  1583. ;assert.callback = 0; u( Z. F/ z3 A3 @7 e: e$ l

  1584. + v( L3 ^( v- H" C. r8 ^- W
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    / c: ?. X# B, M0 R
  1586. ; error_reporting(0) around the eval().5 Q* a& J" v& o4 i' R! d5 H4 y
  1587. ; http://php.net/assert.quiet-eval
    % O) G4 g; S0 \# V7 `* F
  1588. ;assert.quiet_eval = 0
    " c! D" p9 \+ ]" d# d& \$ x. m
  1589. 3 \9 t( G6 Q  m; I
  1590. [COM]
    3 ~$ h( b7 Q7 x5 I' ]
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    3 _8 i6 R9 k; H( W( U- N8 \6 v. c
  1592. ; http://php.net/com.typelib-file( q- U& T+ m2 [* g+ p5 e
  1593. ;com.typelib_file =- o" A$ c/ Q' O5 Q- x7 g
  1594. * l. D6 A( I, O& l
  1595. ; allow Distributed-COM calls  F. ~2 |& l) w  r2 ?
  1596. ; http://php.net/com.allow-dcom
    ! d% H% m, ~, B" s% Y4 K0 X4 I
  1597. ;com.allow_dcom = true
    : y" N3 ?0 C. W" m

  1598. 1 }' M# ^* U1 l
  1599. ; autoregister constants of a components typlib on com_load()
    , l9 E& @+ J$ N5 X
  1600. ; http://php.net/com.autoregister-typelib
    6 u- Q- k1 m$ l4 l+ I
  1601. ;com.autoregister_typelib = true
    : g7 T- `# D2 t7 I% R' z

  1602. / \( l" l" C3 f' B0 F
  1603. ; register constants casesensitive
    $ m2 N# X" `1 D% S6 @! q8 \. f/ S) x1 f
  1604. ; http://php.net/com.autoregister-casesensitive
    5 n" y/ H6 _% w4 [/ m4 v
  1605. ;com.autoregister_casesensitive = false
    ; m2 l& Y0 J% T/ L4 I

  1606. 2 z8 [: O2 K2 }: N/ l- e: ]6 Q
  1607. ; show warnings on duplicate constant registrations3 \, F3 K2 ^8 [/ U+ s, ?% F
  1608. ; http://php.net/com.autoregister-verbose
    3 c) {. p8 E  V- q3 P. p7 m: D0 \1 G) G
  1609. ;com.autoregister_verbose = true+ Y/ k. D% o0 ~/ n
  1610. 2 z6 E$ h, @' s* ~( \) ^
  1611. ; The default character set code-page to use when passing strings to and from COM objects.4 h  ]# i; }% A9 ~
  1612. ; Default: system ANSI code page
    : B7 z8 e1 A: E+ u
  1613. ;com.code_page=
    , R1 a/ G7 H1 ?! X

  1614. % q" p4 I" i9 ~$ @6 }) V$ u8 v9 O' @
  1615. [mbstring]$ x& B, V# A. Y2 D: V$ y
  1616. ; language for internal character representation.
    # }, Q# i: m" N/ x6 O+ B) Q* S6 K7 S+ \
  1617. ; This affects mb_send_mail() and mbstring.detect_order.
    ; s6 s' M8 V+ V. }
  1618. ; http://php.net/mbstring.language
    1 T6 H& b6 l3 ]9 H9 O
  1619. ;mbstring.language = Japanese
    0 Z8 @6 `$ a* g2 j# I. i/ e$ [" Q
  1620. 2 @% V' U, H9 x$ k4 d& z
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    7 B7 X2 c' L8 B' t. U( b
  1622. ; internal/script encoding.& ?- ]1 I( y9 K3 G' z9 s' P
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)2 ?8 y, x4 J( M# j/ P
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.5 T$ l% x8 J4 X+ M  q- M# Q
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    - v) O. `2 e. P6 w0 V8 P8 {
  1626. ;mbstring.internal_encoding =: [0 M) N( g2 f; O8 K/ Q

  1627. 0 h: S: }$ \% B: v5 d  l' _
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    + s0 }. t% u& }- |! a- x8 ~: A
  1629. ; http input encoding.
    4 }& j* j& v8 G
  1630. ; mbstring.encoding_traslation = On is needed to use this setting." `+ R8 m$ A: e: m/ S1 \
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    4 a% R3 P) E) {- }% C6 D
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input9 `3 y, I/ w8 @, ]& k, A2 b5 b
  1633. ; http://php.net/mbstring.http-input* f# K6 |7 _9 i  F% m
  1634. ;mbstring.http_input =( \8 w+ @% J. F& X
  1635. 6 }" Q6 b4 f$ _1 F4 |& n
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    3 L+ h$ C- C$ T* @9 L& r7 d: I8 q- B
  1637. ; http output encoding.
      \% W' c1 \) {4 a
  1638. ; mb_output_handler must be registered as output buffer to function.$ H( M% ]( T9 y3 q1 p. S+ H
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.1 Y% y4 Q+ R' ?: f& d4 w2 i1 T
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
      A9 a+ v; M6 E" x3 B& o
  1641. ; To use an output encoding conversion, mbstring's output handler must be set- ?* x. G+ m& c0 T
  1642. ; otherwise output encoding conversion cannot be performed.
    # `8 G1 I$ U1 W2 E+ l- f- B! w
  1643. ; http://php.net/mbstring.http-output
    * t1 I# B: q* B' {  i! \( K9 L
  1644. ;mbstring.http_output =- ]* _+ u! f, v5 {; A
  1645. 7 O0 s5 N. C' n
  1646. ; enable automatic encoding translation according to9 S% m$ W) ~& e7 {! j- C% }" |
  1647. ; mbstring.internal_encoding setting. Input chars are/ ^/ a& d7 g+ W! B; p* F. Z7 ]& h
  1648. ; converted to internal encoding by setting this to On.* |0 \' M8 C1 v% W& U, M% q
  1649. ; Note: Do _not_ use automatic encoding translation for
    / ~3 Y3 H  m0 t3 D6 [& g0 P( s
  1650. ;       portable libs/applications.
    ) C! @5 m) u# A9 v( Q, h* n" Y
  1651. ; http://php.net/mbstring.encoding-translation
    3 t, q2 g$ V/ ?; ^
  1652. ;mbstring.encoding_translation = Off. g# C' a5 e* F5 Y+ x  C

  1653. / R4 {- |2 X6 ~2 @
  1654. ; automatic encoding detection order.. u0 v2 B# l& L: _2 o
  1655. ; "auto" detect order is changed according to mbstring.language3 [/ k( D! f9 \/ o/ {% a1 v
  1656. ; http://php.net/mbstring.detect-order
    $ _& t5 V% ]1 b" A1 a9 c3 F
  1657. ;mbstring.detect_order = auto
    . T- A' U. U+ c! k
  1658. # x# R. g7 I' L# ?2 @
  1659. ; substitute_character used when character cannot be converted
    & i/ a" Z5 g* l. V. u" d
  1660. ; one from another- \$ [% T* n. A
  1661. ; http://php.net/mbstring.substitute-character
    & ^% G( ]' n% o" ^5 s
  1662. ;mbstring.substitute_character = none
    ( K; V( I* D) D* f+ _* a
  1663. 7 f) T/ R/ P. [$ L3 |
  1664. ; overload(replace) single byte functions by mbstring functions.
    ' r8 Z  d( Q# T: {& L, C6 S4 J; q
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),1 M% A3 {+ i. K! Q  l: \: Y
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    6 u% ~+ S) {( M7 |4 z  j6 l
  1667. ; For example, 7 for overload everything.
    9 }3 p4 X- ~& v/ _
  1668. ; 0: No overload
    * O- z: m. d5 Y, s+ K
  1669. ; 1: Overload mail() function  ?6 u, q0 s5 |) i- A5 V
  1670. ; 2: Overload str*() functions
    9 f4 f; g! ]& y% S# F$ q
  1671. ; 4: Overload ereg*() functions
    * G2 t& L6 H% l  X- V; G2 P8 N
  1672. ; http://php.net/mbstring.func-overload
    6 F3 B  U$ {, A% ~7 F' J" A
  1673. ;mbstring.func_overload = 0$ s9 v' O) J, ^) z2 w
  1674. & n3 T/ @' |. @/ X9 `) l
  1675. ; enable strict encoding detection.
    ) F  B! Q1 D& u" B# y7 Q
  1676. ; Default: Off5 i9 |* q) p. R% N2 ]5 R
  1677. ;mbstring.strict_detection = On
    : S' V$ v: b' t
  1678. * h/ u5 p( g( y+ u7 W  u
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    * H0 o  k" S( H: ?6 a& C4 a- x
  1680. ; is activated., \7 f6 R' _: O0 _
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    0 L: k4 Z# }6 A; F
  1682. ;mbstring.http_output_conv_mimetype=% N/ K1 W: ~+ J" S1 m
  1683. 0 x6 y5 E0 y% x$ P
  1684. [gd]
    # o8 n, {# v5 ]9 }+ L( y: n1 k, Q
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    3 r0 ^2 u; _5 ?, N* Y9 H1 j
  1686. ; a gd image. The warning will then be displayed as notices
    / |7 d4 E% U+ H; W* X
  1687. ; disabled by default& T6 s& M% ?5 I
  1688. ; http://php.net/gd.jpeg-ignore-warning# x" I1 b8 W2 V% X) }+ m
  1689. ;gd.jpeg_ignore_warning = 03 r: a, g9 G7 c/ m- k" Z
  1690. 2 h8 f' F" d; ^; b  Q
  1691. [exif]
    0 k. v$ Q# n% O; N0 \
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.6 |/ q0 g$ R2 r" e- b$ q% [
  1693. ; With mbstring support this will automatically be converted into the encoding, [! s) S+ j# W6 f6 [
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding+ C) J( ~+ B6 r; ^
  1695. ; is used. For the decode settings you can distinguish between motorola and
    7 W0 T; ?: W/ n: w2 Y4 _( G
  1696. ; intel byte order. A decode setting cannot be empty.6 k! P; S4 ]! x/ C! E8 M3 P* E1 o, \
  1697. ; http://php.net/exif.encode-unicode
    2 B% w' n! O  R
  1698. ;exif.encode_unicode = ISO-8859-15; {" N# Y% f; _7 Y( v6 N# x

  1699. 4 c+ U  v! l; a: e4 q( ]$ T4 C
  1700. ; http://php.net/exif.decode-unicode-motorola
    + I: w6 `. `( c6 `% }
  1701. ;exif.decode_unicode_motorola = UCS-2BE5 ?; [2 P6 k" v% Y

  1702. ' D# ]: v( Y8 r& M
  1703. ; http://php.net/exif.decode-unicode-intel
    ! `, Q6 j7 d; g7 U- r
  1704. ;exif.decode_unicode_intel    = UCS-2LE$ }6 s; j9 l1 o+ j% u& h3 o5 s

  1705. + B( D( E# _: v; J! X3 m1 ^
  1706. ; http://php.net/exif.encode-jis
    & F' ?& n8 [- K, k' g4 C: }& a' d
  1707. ;exif.encode_jis =3 c* I/ _" \) u9 G+ n3 b
  1708. $ Y- o; [7 k/ \8 s  o$ W% B$ g
  1709. ; http://php.net/exif.decode-jis-motorola: h& E( J! p+ L# W2 g, U, ~$ }# L; h
  1710. ;exif.decode_jis_motorola = JIS5 ]0 u, e; `$ K% C% k: W( T
  1711. 0 g$ h7 j( F4 J- ~; t+ `
  1712. ; http://php.net/exif.decode-jis-intel  I) o. ]  ~% v. g4 M% }
  1713. ;exif.decode_jis_intel    = JIS
    ! \6 `- J& X3 p* C+ \3 M$ {) K

  1714. $ {4 X, ]9 v1 S# K4 D5 h% M+ k
  1715. [Tidy]* I2 T: r' d$ w8 J- s6 K
  1716. ; The path to a default tidy configuration file to use when using tidy
    2 ~6 f( {$ I! z  J9 Y- f* n
  1717. ; http://php.net/tidy.default-config
    % X. I+ i# T1 q$ i% g! ?  @7 g
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    9 \5 K* W0 C& _9 y) v/ D
  1719. ' d: n, z7 A8 [# K* ]1 H1 u2 F
  1720. ; Should tidy clean and repair output automatically?6 u3 f- G- w& v  x1 C
  1721. ; WARNING: Do not use this option if you are generating non-html content
    0 {( t! C' X: p. b
  1722. ; such as dynamic images
    3 Y' P$ u/ _  |0 G) K4 d4 y
  1723. ; http://php.net/tidy.clean-output
    5 ^1 g4 I; q2 @6 ^; b) {9 E
  1724. tidy.clean_output = Off2 L: ?% p/ K( K6 _; d; s

  1725. 6 h9 K1 \4 [- ?
  1726. [soap]! g0 Y8 \- p: x5 b
  1727. ; Enables or disables WSDL caching feature.* }- w! M3 F+ s  g: M. R# t; l
  1728. ; http://php.net/soap.wsdl-cache-enabled
    , B# u9 L8 L( J) X( R3 ?
  1729. soap.wsdl_cache_enabled=1
    3 w  m1 N- X* C0 _

  1730. 6 L; p4 G; @# _% W! j+ h
  1731. ; Sets the directory name where SOAP extension will put cache files.
    ' C) j" a; f. f
  1732. ; http://php.net/soap.wsdl-cache-dir. ?+ j# b) r. U* J( x" [/ Q  s
  1733. soap.wsdl_cache_dir="/tmp"& H* i& l  P* [6 t
  1734. ; H0 q, I; a7 J7 _7 n! {1 t& |) l. p' ]
  1735. ; (time to live) Sets the number of second while cached file will be used% K9 j& ~0 S5 ~/ C& j
  1736. ; instead of original one.5 @* b9 V; h- |& ^$ H/ `8 `
  1737. ; http://php.net/soap.wsdl-cache-ttl. n6 {. d' p9 O( X% ]
  1738. soap.wsdl_cache_ttl=86400
    5 p+ ~" P# k4 T. I8 U% l
  1739. 6 [1 M9 p; h2 u4 W
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)8 ]7 |. E. v+ n) H$ ]1 z% T% s
  1741. soap.wsdl_cache_limit = 5# T5 O( j4 S  M4 I% k" e" j

  1742. ) r2 j, G% S5 U
  1743. [sysvshm]
    6 D8 L* M% R) t; j) ^
  1744. ; A default size of the shared memory segment$ x) S. |; ^' L' Y
  1745. ;sysvshm.init_mem = 10000
    . _1 u/ W9 ~  `3 ^& ]( A. y% U

  1746. - _8 V# N/ y! k2 G3 E1 M- _
  1747. [ldap]$ p2 W2 m- ?) s+ B7 `: M
  1748. ; Sets the maximum number of open links or -1 for unlimited.1 t4 [! d7 e3 _- X9 C. `8 b
  1749. ldap.max_links = -1
    1 Q3 R/ c3 h6 O3 I* Q
  1750. + U& E0 q) n9 I5 t
  1751. [mcrypt]: R+ l# d+ G. `4 m9 ~) \
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open0 ^4 G4 i% @, T8 `! J* @3 F  S1 B  }0 J  j
  1753. , w! `4 p( H$ N6 q$ `  l$ ~
  1754. ; Directory where to load mcrypt algorithms
    1 d& z$ ~+ m/ O9 u
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    - G. e+ _7 k* `$ ^; ?3 z
  1756. ;mcrypt.algorithms_dir=
    - {8 a4 ?0 s  P5 e# I7 R0 ^
  1757. * y2 L8 d& M( a# t" X# r
  1758. ; Directory where to load mcrypt modes- W* k% g  s) x4 }8 `* ?  r: F
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt), X* @  l, [7 S* a  \3 q. G. j; W
  1760. ;mcrypt.modes_dir=
    4 @- X) P/ }9 [1 Q
  1761.   q' y- p0 @) Q& Y0 z/ `
  1762. [dba]
    , s( ]  z* h: U% B0 u4 V) P7 j
  1763. ;dba.default_handler=% S4 K4 h  Y2 _6 t

  1764. 6 A1 p5 r9 N3 ?( {4 r. D
  1765. [opcache]6 z0 I3 n8 R( k) t+ D# i
  1766. ; Determines if Zend OPCache is enabled5 X- a' ^% `- W8 F& i2 `; r9 i, D% ]
  1767. ;opcache.enable=0; s( L/ Z  E  E& ?/ q
  1768. - m+ p) d; s  P
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP% o7 _' H$ ?2 C4 [" i: K( W/ W& I
  1770. ;opcache.enable_cli=01 \" ]$ \! u* l5 ]. ~( J

  1771. 3 v9 P' O4 a) d. d) Y6 V
  1772. ; The OPcache shared memory storage size.
    3 y: g! {3 z" Y" {4 R. x! S" I2 X
  1773. ;opcache.memory_consumption=64
    + J" c6 U2 t- h' Q

  1774. + H/ c+ S9 Y/ x' N
  1775. ; The amount of memory for interned strings in Mbytes.
    7 O- L) D0 X0 L; T
  1776. ;opcache.interned_strings_buffer=43 \) O' X( n, {

  1777. 6 u4 c" o- a3 I
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.! Z2 ?" ]. t0 t$ Z1 T
  1779. ; Only numbers between 200 and 1000000 are allowed.% ]- f2 L: w2 r( o
  1780. ;opcache.max_accelerated_files=2000
    1 p% z' |% H* m2 S0 F8 G

  1781. 4 ^6 D, M. k# u
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    ! `* J7 ?# D" Q: c4 C7 X2 X# Z
  1783. ;opcache.max_wasted_percentage=5( ]# f6 v3 v& L$ R3 J$ @) a
  1784. ( B$ k: H" O" q) E
  1785. ; When this directive is enabled, the OPcache appends the current working
    : i( `2 E/ ]3 `- y8 g  v3 v
  1786. ; directory to the script key, thus eliminating possible collisions between
    & l1 ?& N, y) R/ e5 [  y: |8 h
  1787. ; files with the same name (basename). Disabling the directive improves8 t1 ]1 |7 ?4 I! r- y$ [
  1788. ; performance, but may break existing applications.
    ; p, K$ v/ N. W. r$ c7 n
  1789. ;opcache.use_cwd=1
    ( t6 ^' M# v" g/ l
  1790. 2 Q; A- |& _, B5 c7 k) r
  1791. ; When disabled, you must reset the OPcache manually or restart the
      `' }, v7 v- |+ e; q
  1792. ; webserver for changes to the filesystem to take effect.
    2 K% c  a8 W* |
  1793. ;opcache.validate_timestamps=1
      _* r  O7 L: v4 W

  1794. : s5 V# Q6 T* F2 N4 i- ~" |& e
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    5 c3 x- j: H# ~
  1796. ; memory storage allocation. ("1" means validate once per second, but only
      t! i6 ]' U$ X  R; O
  1797. ; once per request. "0" means always validate)
    7 O* ^1 I. X2 z* ]
  1798. ;opcache.revalidate_freq=26 d( `9 b! i: ]4 f) o6 h, `7 q

  1799. ) x+ k* G  A. n; S
  1800. ; Enables or disables file search in include_path optimization# N, |  \3 }" c. ~' _! o
  1801. ;opcache.revalidate_path=0# g; f# ^2 x2 E$ }  X
  1802.   p. b- }" w3 P  U
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the3 v+ a% u6 x4 Y2 Q( d
  1804. ; size of the optimized code.
    : m. E# o1 K/ \$ J( a. Z0 K3 O
  1805. ;opcache.save_comments=1( X' H- T9 {" C1 a8 ~+ C" a

  1806. ; c3 ]- h5 i  F/ l
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    * C! o6 S1 f8 X% @
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    3 V6 {* B7 o0 r3 p7 z3 D+ D* ~! F
  1809. ;opcache.fast_shutdown=01 c- l1 p2 |2 L% s2 \! j9 u
  1810.   ~2 Z. I: x% o0 ]
  1811. ; Allow file existence override (file_exists, etc.) performance feature.: ^: S8 l; a! l+ |8 _; l+ v
  1812. ;opcache.enable_file_override=0
    5 A- B1 A: Z# t8 w  t) e

  1813. : e: \+ r3 v5 O# |' U+ s
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache" r. V5 J$ H6 f( t$ |4 P9 d1 m
  1815. ; passes
    : n' a8 a8 g1 q% J+ J9 |
  1816. ;opcache.optimization_level=0xffffffff
    ! u+ X! Q3 J6 P, F
  1817. , L4 G1 l. ?2 p& t/ f1 j; a
  1818. ;opcache.inherited_hack=15 l. |: T. e+ E6 \
  1819. ;opcache.dups_fix=0: a) B  j5 \/ m. O. y

  1820. $ S, I: F, [3 J3 h8 D
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    0 R6 c& H: d" h& Q
  1822. ; Each OPcache blacklist file is a text file that holds the names of files+ g4 g" q/ l3 e8 c9 S% i
  1823. ; that should not be accelerated. The file format is to add each filename
    # J- M2 ]6 A9 U7 V4 E: Z
  1824. ; to a new line. The filename may be a full path or just a file prefix7 b7 ^0 U6 ]/ f  g! v
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www$ f( r# ^4 k6 r3 L& Z9 J
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).0 ]' {- C9 c" o: ^* N
  1827. ;opcache.blacklist_filename=
    ; ?; X" s5 r* s, U* T

  1828. 2 x8 `. X5 m8 I- w& [1 o- t
  1829. ; Allows exclusion of large files from being cached. By default all files* B5 v% ^8 n* M& e2 }
  1830. ; are cached.
    . K. U3 i0 g+ l9 E  f+ s
  1831. ;opcache.max_file_size=0$ B* ?6 ?7 [  s* r4 s5 ~2 Y
  1832. % |4 f6 w! G& g9 N) l
  1833. ; Check the cache checksum each N requests.
    : S3 M* Q. }% l1 z; {/ Q: H# H, T0 M
  1834. ; The default value of "0" means that the checks are disabled.
    ( s8 X* {9 F8 u% {
  1835. ;opcache.consistency_checks=0
    + T6 N' `/ m3 m" p! q

  1836. # t) z: a/ C8 O' t' O
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    0 C0 T( Y) q" m4 f5 f
  1838. ; is not being accessed.' c6 H6 S7 t5 B) ~3 O
  1839. ;opcache.force_restart_timeout=180
    5 a' g. v5 a) m
  1840.   {( _9 e) m- @3 `# q
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    1 v/ I# X  D: N
  1842. ;opcache.error_log=
    & {) ^; n4 J; a/ K& F1 ?
  1843. ) M/ K7 I8 }  ~' g4 u
  1844. ; All OPcache errors go to the Web server log.
    5 o* M% a& y  d" h9 q
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.1 N7 I8 {; j0 Q+ i* [, i# R" w
  1846. ; You can also enable warnings (level 2), info messages (level 3) or
    # ]- M6 i, F. f; z8 f" u! {2 f
  1847. ; debug messages (level 4).# T9 x3 c3 g" e
  1848. ;opcache.log_verbosity_level=1
    5 B6 P" ~4 N9 M2 b

  1849. 0 s4 a4 P* G0 B( S& i7 \# z
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    ) p% G7 J) J" Z9 w- w; L" g
  1851. ;opcache.preferred_memory_model=2 x* t; R  K3 _1 `

  1852. + ?- |: i3 y" ^3 E, F
  1853. ; Protect the shared memory from unexpected writing during script execution.
    0 I" F, j- d6 M0 J! S
  1854. ; Useful for internal debugging only.
    ( k/ |1 r6 p# M9 m# A* p
  1855. ;opcache.protect_memory=0" [5 J/ g" P: G6 V2 O3 ^2 u- `

  1856. ' y1 m5 J( w) p; \8 z4 R
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is) L& M5 f- d+ [( p: ]
  1858. ; started from specified string. The default "" means no restriction8 G: ]8 d7 I! ~5 {- G" m: Z- r
  1859. ;opcache.restrict_api=
    . O( u* l/ Q/ v, S

  1860. 6 e+ ?- T8 `. d2 W  p+ J7 D
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP% f* n% a9 ?9 q
  1862. ; processes have to map shared memory into the same address space. This
    ' g( A+ G; S$ L6 D, M
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    . o- f5 r4 o, d4 ~2 _& ]
  1864. ; errors.
    ( Q9 V$ T) M, n
  1865. ;opcache.mmap_base=
    ; M, `% `- b/ o
  1866. - B9 F9 S' d, @% A% d' r( @
  1867. ; Enables and sets the second level cache directory.# n8 O' n) u- J9 `* Y( c
  1868. ; It should improve performance when SHM memory is full, at server restart or
    ! s4 F  U" Y" q) w4 B
  1869. ; SHM reset. The default "" disables file based caching.
    + Z* f) |' t1 u+ A: x  W) n
  1870. ;opcache.file_cache=
    ( i$ f  e# Y9 |$ V) o6 ~5 i: |

  1871.   _' U$ A; A, b2 j) D* o& F2 Y
  1872. ; Enables or disables opcode caching in shared memory.1 {' a( \) x) l. l
  1873. ;opcache.file_cache_only=02 @. L+ P4 I& _, _. z8 Q

  1874. 2 c6 J+ c, X- w7 Y1 h
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    % F0 P2 I; [1 M6 F. v; ~  C. c
  1876. ;opcache.file_cache_consistency_checks=1  w7 h( o0 I7 I+ D) ~) ]; A
  1877. % g( g$ p* G! t7 w8 |3 ^. b$ s
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to
    - Q. z4 R% Z: m, _6 A* a
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file
    $ Z+ n% J; L) Z/ |- O% e
  1880. ; cache is required.
    ; O/ `: ]+ c2 P' x* f
  1881. ;opcache.file_cache_fallback=1- i0 E/ t" E, L" M% V0 t% o  M

  1882. ! D( G0 U. P, t, I$ S% g6 ]
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.7 S' D( g: p" F0 v, v+ {
  1884. ; This should improve performance, but requires appropriate OS configuration." o: C/ ?6 Y4 j$ F& k
  1885. ;opcache.huge_code_pages=1
    1 R# C/ U! t. I0 G

  1886. $ S% N; ]# o9 u6 a4 |
  1887. ; Validate cached file permissions.% I  t% W' L  Q4 e: o4 c  u
  1888. ; opcache.validate_permission=0* _' c' \2 F; I

  1889. 3 Q( T8 n' _6 [
  1890. ; Prevent name collisions in chroot'ed environment.
    / f; \6 z; T4 ]# q5 F
  1891. ; opcache.validate_root=01 R1 l9 U+ j0 h

  1892. 0 q+ S; G3 b7 f2 O
  1893. [curl]
    # M* @+ I  W4 n4 i
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    # w6 H: i2 {4 @9 y( h: \0 O8 U
  1895. ; absolute path.. Q, }* B+ A; F9 q( U  c
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt4 W$ M1 [: c" i7 o! g6 n
  1897. 5 [* Y/ z4 d- F
  1898. [openssl]. W$ N) D, T. N
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem& Z" v3 {' |9 `# U1 r
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    . |6 H& Y0 b: U7 ~
  1901. ; not specify a value for this directive as PHP will attempt to use the
    ; Q* e/ s' d1 A9 t, D; Z4 N
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    9 \( ~1 ^. v* v! O$ s5 E7 b$ n
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context9 D3 o6 h5 G$ a1 F* \: x, \
  1904. ; option.1 n, X6 J- I/ k
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    6 X3 o4 Y& ]5 ~

  1906. 2 ^+ U( ~# J# e8 @
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the
    % C" B; a$ S+ ]0 z; m1 m/ W: o! i
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    ; v4 x+ S9 i5 W5 d: U
  1909. ; certificate. This value must be a correctly hashed certificate directory., ^- S' ^/ ^# j" u- R6 G2 `) H
  1910. ; Most users should not specify a value for this directive as PHP will
    - G2 j1 o1 x# F$ y- g+ ?& A
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    % ]# k, K+ l4 B0 d0 ]
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
      ?; m6 i9 E4 Y3 h. j' n. `# [
  1913. ; SSL stream context option.
    . k7 Y: v. m" V+ f$ U
  1914. ;openssl.capath=
    ) I( P. j$ y+ k% K* [3 B1 Y) N

  1915. $ `6 l) L5 ~6 w: w
  1916. ; Local Variables:  T/ z* a' H) H" z& m  l+ @- q
  1917. ; tab-width: 46 i6 s9 R( L; ]) |) |; g8 y
  1918. ; End:
    3 @5 W! h& @+ r4 o( ~0 H% L6 m

  1919. 1 }, K, W! q) H2 k$ ]* b! q9 T& z
  1920. ;eaccelerator
    % ~5 Q; p" s  Z

  1921. ' e+ g7 R- @0 X+ ]- w. ]
  1922. ;ionCube
    6 L( _' W) y/ `! c$ d

  1923. 4 ?. t# q1 t9 b8 p5 w" s) {; {
  1924. ;opcache
    4 m. \8 [( x- W' K- e! Y

  1925. ( R9 n5 p/ h& ^1 s4 H9 V6 B" r
  1926. [Zend ZendGuard Loader]
    ( |: e8 J" z" _( i6 I
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.) `- t+ \+ Y- ^9 }
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    * P. H/ Y7 P) g' ^* h
  1929. ;zend_loader.enable=17 F8 a* i) k- Y: |5 ]! D! @
  1930. ;zend_loader.disable_licensing=0
    2 X9 k  A  v$ T2 R% X
  1931. ;zend_loader.obfuscation_level_support=3) s$ V; Q- k) o  u) |
  1932. ;zend_loader.license_path=, f7 V' X( M: }, C
  1933. " V) H5 d: h. l4 _% G% d, X
  1934. ;xcache
    ' ^3 T( M$ k% t& F, z2 v9 g
  1935. . ^. U$ O, o* y! e6 v3 p$ U( Q& g; i
复制代码
& A7 f' Y9 ~& d6 K7 Q; @

2 I  L8 \% E1 Q5 U9 j
$ C$ L2 q4 d. ^* F6 p4 _, c. }! f1 T# t0 ?
! y% l5 i/ e3 H! Y& T5 n8 u1 m& i
1 `( f% A# ^( A) u( m* h' G
: Y: X% n/ Z8 N8 h8 X- Q/ H; Y$ g1 V
PHP5.6版本原始设置5 q' F  o% G) W0 B

* S. x9 W9 C( C; ?
  1. [PHP]
    + o; F! l; X2 v% {+ v5 G  i
  2. 8 K( s, a# S( O, b
  3. ;;;;;;;;;;;;;;;;;;;$ ~5 S$ `1 S5 G( K, n
  4. ; About php.ini   ;
    $ t4 a, S; L" ]/ ~9 G; o
  5. ;;;;;;;;;;;;;;;;;;;
    4 j2 n* s: h: j& ~, B9 {  a/ k2 d( J
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    2 O, Q, r1 S' B; i
  7. ; configuring many of the aspects of PHP's behavior.
    5 H% t$ D! Y, z. j

  8. & w2 \' X7 ?" b; G( P: t* g
  9. ; PHP attempts to find and load this configuration from a number of locations.( q3 n. {0 d) k
  10. ; The following is a summary of its search order:& k1 b: E8 g2 h
  11. ; 1. SAPI module specific location.8 ^1 f4 z+ ?8 w
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)$ {& m( ^2 ?$ R; b$ ~6 I# D
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)& L9 f' Q* P  }' y# T; b) @
  14. ; 4. Current working directory (except CLI)
    / `' M1 J9 G% a; `, U
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP/ r8 \$ \) {" t! s: C; S/ J, e; \
  16. ; (otherwise in Windows)$ O% _' D( F/ R
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    $ \$ u- h+ f" c
  18. ; Windows directory (C:\windows or C:\winnt)' y+ d8 @0 V0 _7 N8 ?/ l# y. N
  19. ; See the PHP docs for more specific information.
    1 j  p( H/ m( Z. Q
  20. ; http://php.net/configuration.file
    ' k& @9 q4 C5 N$ C7 n3 k
  21. # A9 E' o6 j6 W  a
  22. ; The syntax of the file is extremely simple.  Whitespace and lines* _2 D4 H/ @4 @$ J+ I
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    6 t. P5 a* h$ U! t
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though. k! i) Z5 n& J: I8 V9 S8 ], B
  25. ; they might mean something in the future.
    5 h3 f( Q1 T, K( T8 F' G
  26. 0 j. w, r) M/ b2 M$ v6 _" F5 w
  27. ; Directives following the section heading [PATH=/www/mysite] only
    ! H" C5 u+ x/ C6 a. X
  28. ; apply to PHP files in the /www/mysite directory.  Directives' W, K$ c4 c, l/ ~
  29. ; following the section heading [HOST=www.example.com] only apply to
    & g- H0 z8 y7 I) _& [
  30. ; PHP files served from www.example.com.  Directives set in these( \0 c# B+ s7 p. p
  31. ; special sections cannot be overridden by user-defined INI files or
    % w" C, r1 G; q4 a# R5 q
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under( N! }/ v$ B& y
  33. ; CGI/FastCGI.) b+ Z, O3 e& ^, @( F! X* C7 T# \2 T% r; d
  34. ; http://php.net/ini.sections8 G, E! P0 n* e1 S, u. O" U
  35. ! x1 X) T# ]. b8 Y+ b1 [
  36. ; Directives are specified using the following syntax:
    0 G4 y! J+ m2 L) l9 @/ t
  37. ; directive = value
    " ^4 Y$ p( B/ v* Y, S* Q) ^
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    + y2 \: F% @3 W
  39. ; Directives are variables used to configure PHP or PHP extensions.- q0 L3 P9 y2 c' O. L+ i
  40. ; There is no name validation.  If PHP can't find an expected# S' R, M. a8 n. q/ r
  41. ; directive because it is not set or is mistyped, a default value will be used.
    4 i6 d6 q- n) X" }# w6 D

  42. ! [$ Y+ T3 J7 w9 N8 o2 N0 w
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one# @% A3 K! j3 ?9 {
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    $ g6 y3 r6 _7 B- f
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    4 R: L: k/ O, R7 q: F8 x' b
  46. ; previously set variable or directive (e.g. ${foo})* v1 F+ N3 X! G* J1 f# r

  47. 4 ~) u" X5 H4 B* t- V( Q
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:9 `% [; I0 M9 b1 F; K
  49. ; |  bitwise OR, ?5 a! X) Q5 l0 M  y
  50. ; ^  bitwise XOR
    5 C: Y' p. q1 o# J; X7 v
  51. ; &  bitwise AND# F  l: [9 H! Q, ]* s" e" C
  52. ; ~  bitwise NOT( H( l2 k+ B2 b
  53. ; !  boolean NOT( f) Z3 V9 v1 B! q0 {* Z% w" `  E6 T

  54. 9 {: D; n+ F  j4 }$ ?5 C
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    ( O% G0 R  k2 c& l* d1 f$ q  d5 @
  56. ; They can be turned off using the values 0, Off, False or No.) d2 r6 x2 l% o+ V4 y( L% A% M

  57. . I, @9 C- `4 V( Q% ^% C8 a7 ~  `
  58. ; An empty string can be denoted by simply not writing anything after the equal
    & ]- k  W5 i, C
  59. ; sign, or by using the None keyword:3 w1 z2 [3 [; @
  60. 2 U6 S% S% N4 ~" N/ ]8 _! N7 B
  61. ;  foo =         ; sets foo to an empty string5 D  o* M' [$ w+ s' Z3 x# `# |
  62. ;  foo = None    ; sets foo to an empty string3 H3 W* y2 i( d4 x; b! R4 r, z* Y' f
  63. ;  foo = "None"  ; sets foo to the string 'None'
    6 K, L" M* H+ g. ~" c; j+ x) l

  64. 0 }! |3 m4 u6 w
  65. ; If you use constants in your value, and these constants belong to a. ^. u/ W; J# p+ Q
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),1 F& ]/ d1 O2 ~4 W8 I2 j2 g
  67. ; you may only use these constants *after* the line that loads the extension.: h+ l+ |8 I0 U: l! G- ?3 J% x  R
  68.   x! t% q1 j6 n2 }; x
  69. ;;;;;;;;;;;;;;;;;;;2 j6 O+ ]! Z7 c/ q% Y
  70. ; About this file ;+ Y* [1 m; T5 [/ P& j+ j; x$ o
  71. ;;;;;;;;;;;;;;;;;;;0 |3 ?- r+ x3 \" i- E% V# W
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    2 D6 x$ W1 g/ j2 C0 R/ {
  73. ; in production environments and one that is recommended to be used in- @# N% V8 u9 }1 n3 @
  74. ; development environments.
    . k) U0 h1 J) [! P/ t' Q; i: {

  75. * N' X  h- `( ~& [
  76. ; php.ini-production contains settings which hold security, performance and- R( d  J; C% x, S
  77. ; best practices at its core. But please be aware, these settings may break( U6 e$ g4 g0 c( X9 z
  78. ; compatibility with older or less security conscience applications. We4 _6 M$ T" f% \
  79. ; recommending using the production ini in production and testing environments.6 j  e4 ~; _9 t

  80. ( N. W# N0 c; G& E  M' R" n+ F
  81. ; php.ini-development is very similar to its production variant, except it is
    # v0 @! U, `8 |* ]/ N
  82. ; much more verbose when it comes to errors. We recommend using the: A( G& _7 x3 ~6 ~, q5 `
  83. ; development version only in development environments, as errors shown to1 |" Y& a5 A$ W+ D9 c
  84. ; application users can inadvertently leak otherwise secure information.7 k; N7 H9 B3 P

  85. ; l2 U( K1 x% S
  86. ; This is php.ini-production INI file.1 B- F( T8 ^* V. P. W$ }, z# k
  87. . ^% M! A4 Q& y  k5 K/ Z
  88. ;;;;;;;;;;;;;;;;;;;+ F* }( S) C9 @- q! u5 e  \
  89. ; Quick Reference ;$ Z6 j2 D: Q3 \+ {
  90. ;;;;;;;;;;;;;;;;;;;4 n' C  s6 P' O+ w4 x2 w7 E
  91. ; The following are all the settings which are different in either the production) U* h, b9 X9 Y
  92. ; or development versions of the INIs with respect to PHP's default behavior.1 o0 M8 ~/ b8 k+ g6 D, S
  93. ; Please see the actual settings later in the document for more details as to why
    9 y( m; H# R$ q* p' [: I; }' p* @
  94. ; we recommend these changes in PHP's behavior.3 U% j/ |; h7 I* G7 M" B
  95. 8 H2 X4 p, ~& e# i
  96. ; display_errors& G% h; r6 n5 C) n5 M/ R# @
  97. ;   Default Value: On6 D. C, @6 Z$ t  i* n; \) v3 p
  98. ;   Development Value: On
    & c; s& H/ X  E6 l  R9 X
  99. ;   Production Value: Off
    * g7 T6 [1 ~% p+ O: s* ?
  100. ) f; p6 c; F* M# \) x' s
  101. ; display_startup_errors$ e+ L6 K0 P2 l7 p$ |( Y% G
  102. ;   Default Value: Off. R  z7 h" V: U8 [! p7 T
  103. ;   Development Value: On, i1 m7 @$ G5 @4 t
  104. ;   Production Value: Off
    8 C" @0 V5 }6 \$ Q! A

  105. 4 g" _5 B8 B- \4 s( t' k7 m4 z
  106. ; error_reporting
    8 A8 h1 c) p* S  ]
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    % Y/ Y$ s' G, s5 X$ J! x) |
  108. ;   Development Value: E_ALL/ J. @2 W; W+ S
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    4 y- t; k3 N$ _; m4 u% m

  110. 9 {' _/ H4 z4 u0 r3 h, y
  111. ; html_errors5 R$ v- D5 l4 _# ?- ]
  112. ;   Default Value: On
    , K$ m9 v% d# F+ w! f& D; f
  113. ;   Development Value: On) y+ K' s2 `" f
  114. ;   Production value: On5 s3 x7 ^: k8 ]* n
  115. ! c' ~5 ^& ]+ P  \- d
  116. ; log_errors
    2 [% d: i( j) n, a) W# E! P( E9 N
  117. ;   Default Value: Off: E8 K! G) c. e4 n" D
  118. ;   Development Value: On8 L, [% f& f) K
  119. ;   Production Value: On' v1 R" v9 C/ \- c
  120. + o9 {# |8 d+ X( M8 g3 Z
  121. ; max_input_time; f  y+ H# I7 \5 B! x
  122. ;   Default Value: -1 (Unlimited)' D9 `- `% V+ R* n8 J9 k+ |" t9 r
  123. ;   Development Value: 60 (60 seconds)
    : o' r* h: ?2 {& q
  124. ;   Production Value: 60 (60 seconds): ?. m+ C6 _( ]; S2 ~7 ?' m  l8 U
  125. 3 a( y# B3 c# N8 [
  126. ; output_buffering7 m' }6 i0 H" L- n2 {* ~" o; l6 X
  127. ;   Default Value: Off
    # r1 J' L; p9 a( B% o& q  u
  128. ;   Development Value: 4096) T& A; ~, p& x+ P
  129. ;   Production Value: 4096# i% f  f/ s+ K
  130. ! z. _' R, U  E) s
  131. ; register_argc_argv. K+ S' o2 W$ X/ d* \4 Z
  132. ;   Default Value: On
    9 E5 K3 [1 ]5 w: N; m! [
  133. ;   Development Value: Off5 M/ x- }9 B* x; }+ @' n% X
  134. ;   Production Value: Off
    - [/ `4 l. g. U

  135. 0 Q, A- y) f# J! R, F. L
  136. ; request_order) B7 V3 [0 b# N5 D% x/ v
  137. ;   Default Value: None1 }6 ?# u) ]  J8 j+ Q4 c
  138. ;   Development Value: "GP"
    # M% ~& w3 _0 v' p( Z$ N
  139. ;   Production Value: "GP"
    % e1 F7 h- M% W+ l! B# Y6 c
  140. ' V! S, z; t0 z1 J3 R! e) T# b! h
  141. ; session.gc_divisor. P: O2 T1 u9 M& H
  142. ;   Default Value: 100
    / U$ j5 Z7 z) G% i5 z
  143. ;   Development Value: 1000; S' Q2 l' F, @# M" q( R
  144. ;   Production Value: 10001 V& Z" p$ q: x1 o$ z8 [, n. V1 x

  145. 7 j  K1 y2 P( G: S4 u( N
  146. ; session.hash_bits_per_character
    6 H( h7 o6 U+ ?8 O# [# f* R! ?
  147. ;   Default Value: 4
    2 Z. G# ]2 G/ t- k3 G" d2 w
  148. ;   Development Value: 5( b6 ^) z7 D9 y. M; c, j  m- f9 e$ z
  149. ;   Production Value: 5
    . O8 i# H* f# j+ Q; J4 ]+ U- K. I

  150. ( Z" ?1 j4 r6 L- h2 a- v
  151. ; short_open_tag
    $ y& C: X# O% f0 U$ v
  152. ;   Default Value: On2 u5 F! x% z, w' U9 r
  153. ;   Development Value: Off; L1 c1 L6 g6 Z$ |# i0 u
  154. ;   Production Value: Off1 H% m6 y9 x+ p

  155. 5 v! V1 f  _8 T0 n' Q
  156. ; track_errors4 x" }* \. }) f8 Z3 E" T  u
  157. ;   Default Value: Off2 V) N2 L) D4 q& P0 g
  158. ;   Development Value: On
    9 s- a# M* P% g5 Q; ^! v
  159. ;   Production Value: Off
    ! J  B2 z3 }6 @
  160. . P% @  @, i6 [$ M& F
  161. ; url_rewriter.tags0 Q+ n* z: H" h0 _- \7 i; \0 M
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="! @) Q' `2 k9 D- M& B$ |5 n
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"6 Z7 `$ V5 _* v! p1 F) v
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ; \. w8 z# u7 S: k
  165. 9 Y1 Y- b# A5 Z0 l8 |: Q
  166. ; variables_order  R0 o/ T* b7 B6 \8 H. Z
  167. ;   Default Value: "EGPCS"
    ; y+ ?4 y- n: j9 G/ [5 N8 l3 e
  168. ;   Development Value: "GPCS"
    8 s, `9 W- L1 m
  169. ;   Production Value: "GPCS"4 U/ i; s; Z1 c

  170. 9 ]" {  l8 v0 q( ~2 @
  171. ;;;;;;;;;;;;;;;;;;;;" S% Q+ t8 J; W. n) r
  172. ; php.ini Options  ;
    4 t3 y) {: l, t/ f$ T6 t% u1 g- {% i
  173. ;;;;;;;;;;;;;;;;;;;;/ J1 R7 w1 r6 q/ Q8 f( O; b" @
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini". N! ^; Q4 Y2 b
  175. ;user_ini.filename = ".user.ini"
    , ]5 ~$ ^( C8 u# C
  176. - G5 S0 m& V# z; z/ v7 x6 s
  177. ; To disable this feature set this option to empty value8 G6 T' D  ?+ ]$ l
  178. ;user_ini.filename =" J3 W; ~4 V$ y8 `9 g. }" W
  179. " Q2 {/ Z3 M$ f+ E
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)0 `5 q9 f5 U* d$ P; V! o
  181. ;user_ini.cache_ttl = 300
    1 \. _- `8 f: Y: R- y7 [1 p- [
  182. . V. k& j. Z# Z4 F
  183. ;;;;;;;;;;;;;;;;;;;;
    . d% v0 m, U% u, g
  184. ; Language Options ;  ?0 J. i# K4 }% @) c& Y
  185. ;;;;;;;;;;;;;;;;;;;;
    " t4 t& }$ X, I2 t
  186. ) V7 j& ]0 T( X4 g
  187. ; Enable the PHP scripting language engine under Apache.
    / e+ v3 ~2 Y9 g' Z# m+ ^0 i$ x
  188. ; http://php.net/engine
    1 w% M: k, s; J* W2 I' b
  189. engine = On
    / F8 O# j: R0 c9 t  k3 z

  190. ( B' m  B8 q! F4 V" ^6 j
  191. ; This directive determines whether or not PHP will recognize code between
      `6 B) j7 A/ L; m) T* i
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    . t3 e) P" T# ~8 `9 y$ G
  193. ; generally recommended that <?php and ?> should be used and that this feature
    ( ^3 @0 y" T7 t& b! f: G
  194. ; should be disabled, as enabling it may result in issues when generating XML
    # l+ |2 _1 U8 S: u
  195. ; documents, however this remains supported for backward compatibility reasons.
    : h" K; _* z2 d0 B& q' g( M/ @
  196. ; Note that this directive does not control the <?= shorthand tag, which can be: x- O$ i4 \& h3 G6 K1 l3 f7 A
  197. ; used regardless of this directive.) K7 V7 h! M" f, a- Y: Q* |. W9 t
  198. ; Default Value: On" D& n. H8 s. o+ i2 S
  199. ; Development Value: Off! x& Y: k! P" D1 B
  200. ; Production Value: Off
    , @- A1 _2 N  T" R% ^0 X! I5 a
  201. ; http://php.net/short-open-tag
    . `; a- q4 {2 G& ?7 ^" h2 G' r- o
  202. short_open_tag = On8 T& D+ ~9 l1 ^8 l, Q- k
  203. ' N& D5 \' {3 B6 o! B3 u3 {4 S
  204. ; Allow ASP-style <% %> tags.- g& W) s  K$ i2 v" K* W
  205. ; http://php.net/asp-tags6 O* {5 M9 |& t( X: p3 w
  206. asp_tags = Off
    ; S8 G6 L1 S( Y3 `3 Z3 J

  207. - d- a. R) ?9 V( Y) y9 x
  208. ; The number of significant digits displayed in floating point numbers.
    # P- ^4 N- @. G1 S
  209. ; http://php.net/precision  E' J* [, {) m
  210. precision = 14
    7 z# b6 l0 t8 ^- @6 P, U, l

  211. 3 ~! g7 v. w* `7 j6 F; r. J" V
  212. ; Output buffering is a mechanism for controlling how much output data6 t0 T2 e  z. v' A* N
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that1 k6 E& L- w5 l, Z, ^
  214. ; data to the client. If your application's output exceeds this setting, PHP
    : _7 H- @$ D: L7 H( e
  215. ; will send that data in chunks of roughly the size you specify.
    5 f5 T+ }8 `. i* T  Q, S$ M, e
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    2 ~* n( z8 S! t  m" b8 W$ p
  217. ; interesting side-effects depending on your application and web server.: H, d- _+ H  B  M& p+ Z, O: s5 s
  218. ; You may be able to send headers and cookies after you've already sent output; @- a# J4 R3 w8 k. m, P, l4 b
  219. ; through print or echo. You also may see performance benefits if your server is' a: N" q+ _9 v" y; R+ q2 }% K2 ?
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    $ y5 l' _( A" g( _& }/ L  n9 F% _8 m3 c
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance* X! ], a5 D& N$ |9 K& Z2 o; N
  222. ; reasons.2 k1 e$ O$ S. S% x( V6 W
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    . Z/ ^; h1 F" n  W, I. V
  224. ;   functions.
    / L. J7 g7 {; y" i
  225. ; Possible Values:
    & d- D" V* d6 `* J0 q" c) F# s
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    6 O0 r$ @4 ]1 m6 ]2 M
  227. ;   Off = Disabled
    0 V# _! j- h$ f9 g1 w
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    5 e5 \9 ]; z2 @, K+ i/ S! b0 h
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI& h: U# b) ~* K& {$ w" v0 [
  230. ; Default Value: Off) `0 n: `9 g% d! o) [6 y# w
  231. ; Development Value: 4096
    2 k9 w5 O: E9 @) W$ m. W
  232. ; Production Value: 40967 B* L, M8 ?( i" ~
  233. ; http://php.net/output-buffering
    1 F' I) |8 `. N! S; G
  234. output_buffering = 4096
    ; R) n7 w  g. v5 y4 s% [' t
  235. ) b) N8 W5 x$ B
  236. ; You can redirect all of the output of your scripts to a function.  For
    # ?& S" a0 W. r/ t7 j8 i
  237. ; example, if you set output_handler to "mb_output_handler", character
    ) p! C9 V7 J8 u. a
  238. ; encoding will be transparently converted to the specified encoding.7 _) @5 M3 n3 Z: J1 g: ]. O
  239. ; Setting any output handler automatically turns on output buffering.7 j. d5 A& {- f1 J% _$ M9 t
  240. ; Note: People who wrote portable scripts should not depend on this ini0 p+ g# O, f6 [
  241. ;   directive. Instead, explicitly set the output handler using ob_start().5 p( r! |+ B" f3 B7 J* z4 Y
  242. ;   Using this ini directive may cause problems unless you know what script  t% I$ T2 Y6 j4 Y' R
  243. ;   is doing.$ ?* v2 `. [" \8 T) Y) E; v
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler". e: [  B6 w$ I7 t3 s6 w
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    ! r" V" x  a2 D! x7 x
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    2 v6 j4 F& e+ O! p
  247. ;   Instead you must use zlib.output_handler.  i& k  T4 p7 ], L2 |( q6 S8 v
  248. ; http://php.net/output-handler
    # k6 h8 R: V: c! H" f
  249. ;output_handler =
    - a! S) c8 ~. Q) K

  250. 4 d9 |* y% l" i& T1 |
  251. ; Transparent output compression using the zlib library
    ' A6 V1 x" F. d% K4 a# R% ]
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size
    + ^7 q! f9 ~" D
  253. ; to be used for compression (default is 4KB); y2 e  O) |+ S& e" g
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    7 V$ k9 N/ z; D# R
  255. ;   outputs chunks that are few hundreds bytes each as a result of- j: e2 D( G2 q8 N' N
  256. ;   compression. If you prefer a larger chunk size for better- V- e( u, |% y6 d
  257. ;   performance, enable output_buffering in addition.* m( C; S, u% p, v- o9 D4 Q
  258. ; Note: You need to use zlib.output_handler instead of the standard. J; r4 B2 M/ ]; Z/ Z
  259. ;   output_handler, or otherwise the output will be corrupted.
    7 W% [  Y1 R! Y5 U: U* z+ l
  260. ; http://php.net/zlib.output-compression" j' |: ?+ [( r4 h9 J
  261. zlib.output_compression = Off
    - _" y* L- M, z5 M" R
  262. 2 {( {( D# F' ~# u# p; L7 I7 Q
  263. ; http://php.net/zlib.output-compression-level$ W; d& y! q" H6 e8 ?- I; @
  264. ;zlib.output_compression_level = -17 L) l+ B/ g+ h+ O& f; q9 i

  265. 3 R+ ]8 B8 Z& u) b4 d
  266. ; You cannot specify additional output handlers if zlib.output_compression
    - P( \( q7 o! B2 M7 @
  267. ; is activated here. This setting does the same as output_handler but in
    : ]1 y$ b3 Z" b  }; B
  268. ; a different order.5 z* J% d7 {4 K) g
  269. ; http://php.net/zlib.output-handler+ P. c7 W4 u- M, b$ s
  270. ;zlib.output_handler =8 `# z, \& x$ `( ]& f2 X, F
  271. # L, x3 N$ J2 |3 v' X
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    : l* t2 h' R7 ~, e
  273. ; automatically after every output block.  This is equivalent to calling the
    1 P% @7 B& g1 _4 T5 e
  274. ; PHP function flush() after each and every call to print() or echo() and each  B; l7 l* m% v3 R
  275. ; and every HTML block.  Turning this option on has serious performance
    + P; C+ C; ]. b' v9 b% ~
  276. ; implications and is generally recommended for debugging purposes only.! ~% m  v5 Y3 A* b
  277. ; http://php.net/implicit-flush
      B# ]8 q8 z: x8 G# U# C
  278. ; Note: This directive is hardcoded to On for the CLI SAPI6 R, [9 B  E8 o4 M- p6 ^3 L8 r1 S
  279. implicit_flush = Off$ O( e7 H5 Q$ m! L$ G

  280. ( g: P' A0 s) p
  281. ; The unserialize callback function will be called (with the undefined class'
    # H% F" D1 ?! {9 ?2 ?" `2 \
  282. ; name as parameter), if the unserializer finds an undefined class
    , x( e- e3 w. {
  283. ; which should be instantiated. A warning appears if the specified function is# D% t0 L6 V* N( ]4 g- Y
  284. ; not defined, or if the function doesn't include/implement the missing class.
    ' H: |' K- B" \  y0 s
  285. ; So only set this entry, if you really want to implement such a! Y. o$ c8 R8 V
  286. ; callback-function.
      d: ?6 d4 r5 K. }, u4 ]% e4 W
  287. unserialize_callback_func =
      Q8 L5 K. Q, _9 d  X1 k' X

  288. / R9 D- Z. i8 C* H6 ?- `
  289. ; When floats & doubles are serialized store serialize_precision significant* W2 h6 x8 W& d. S
  290. ; digits after the floating point. The default value ensures that when floats3 k3 L4 z+ B( u7 J' t" S  q
  291. ; are decoded with unserialize, the data will remain the same.
    ; \+ o, y. q" M. M5 |
  292. serialize_precision = 174 v/ ?9 q  g$ A+ M+ ?! i+ v$ p' C1 D! {
  293. & w9 g! q. `0 U- |' e2 N5 |+ s
  294. ; open_basedir, if set, limits all file operations to the defined directory$ v9 N3 @" [+ d! f/ A  z, W
  295. ; and below.  This directive makes most sense if used in a per-directory
    " o4 W! s2 z, x" J& b  G# W
  296. ; or per-virtualhost web server configuration file.
    5 }, l$ {, p/ |% d
  297. ; http://php.net/open-basedir
    & D: ?. e5 @) p8 g! Z% j. r  p
  298. ;open_basedir =2 @9 n& y. q, K. B5 ]
  299. & Y: \+ |0 ]+ }1 m* {. ^
  300. ; This directive allows you to disable certain functions for security reasons.7 N1 F1 Y+ Q* z$ u8 e5 x0 D
  301. ; It receives a comma-delimited list of function names.
    . C$ v% i! a* D" i
  302. ; http://php.net/disable-functions
    $ @3 Z7 k& I8 }- j  ]
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    6 |. g# g/ p. E7 S) f

  304. : D8 R* H# C" C  y1 Z2 g
  305. ; This directive allows you to disable certain classes for security reasons., o/ L- X% I: J1 t/ T
  306. ; It receives a comma-delimited list of class names./ l. \4 b. S5 ]* R. o% d3 a/ K
  307. ; http://php.net/disable-classes
    4 ^  E7 K: {$ w/ H
  308. disable_classes =& p" E" w, A# D+ J2 I, W- Z

  309. 4 B% a; ?) u' v$ J) [3 b
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    ( p; k3 B0 }: X  y" `! u" [
  311. ; <span style="color: ???????"> would work.  C3 {2 }5 N4 s" ^
  312. ; http://php.net/syntax-highlighting1 c6 M& w5 v- o+ h
  313. ;highlight.string  = #DD0000+ W- L1 g3 O4 k: v
  314. ;highlight.comment = #FF9900
    0 z+ \3 P4 o! D8 e0 X
  315. ;highlight.keyword = #007700
    # U7 o1 w! M/ I  w
  316. ;highlight.default = #0000BB+ _$ T2 q' T1 v& R/ @6 W
  317. ;highlight.html    = #000000( a# v3 M) p* V) N$ X; e

  318. + \( d0 F, f  f5 D
  319. ; If enabled, the request will be allowed to complete even if the user aborts. V% S# X! `$ I$ i7 a+ U7 E
  320. ; the request. Consider enabling it if executing long requests, which may end up/ q* w2 \/ i; g: t0 J! ^+ b$ [) l
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior
    1 a; A5 o8 H1 d* W1 {
  322. ; is to disable this feature.
    / R' G4 n+ I# A: G
  323. ; http://php.net/ignore-user-abort# N6 J; b2 O2 M/ P6 I0 e7 S, C
  324. ;ignore_user_abort = On* ?" r* K/ ^" e/ F0 z" M4 e

  325. , n, u$ F8 {  p. ]/ W% ]0 @
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    & ^# ?# I* f5 i+ P) [. R
  327. ; be increased on systems where PHP opens many files to reflect the quantity of9 |* j. c* ~, f$ o
  328. ; the file operations performed.) a) v! Z: u* G; T
  329. ; http://php.net/realpath-cache-size
    9 y; Z5 v6 m' @9 M% e
  330. ;realpath_cache_size = 16k5 B4 c  S$ [( L* l  o6 S

  331. ) f" ?8 V- O- x. W7 Q
  332. ; Duration of time, in seconds for which to cache realpath information for a given- G& h4 E. i5 X/ u7 y; Y
  333. ; file or directory. For systems with rarely changing files, consider increasing this3 J# Y' z: ?% r+ |
  334. ; value.
    ; Z; J3 v/ `: M6 e# q1 S' B
  335. ; http://php.net/realpath-cache-ttl0 Z% `7 l, R* o( e# F. n; m
  336. ;realpath_cache_ttl = 120- |: f* m, k. d3 R0 U+ I6 F
  337. 5 I" K/ }3 j! N$ ]# n
  338. ; Enables or disables the circular reference collector.
    , s) P1 O( O/ _0 o- d7 T
  339. ; http://php.net/zend.enable-gc
    ( M  q; w9 ?9 s' ?
  340. zend.enable_gc = On
    ( {  o. _* v* S% p' o( B' u9 c
  341. / P& H7 q" T- {0 {" b* H. x
  342. ; If enabled, scripts may be written in encodings that are incompatible with* n! X, [+ u: u  t; C3 s- U
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    4 ^& Q5 y8 t3 h' R$ L
  344. ; encodings.  To use this feature, mbstring extension must be enabled.4 z" ~* h0 R8 ?$ L6 T* d- `
  345. ; Default: Off
    ' ]2 g- Y+ X) Z+ H& W# a8 S
  346. ;zend.multibyte = Off8 v" n( F$ B& N
  347. 8 C; v0 C3 z8 F4 Q  e1 W3 s! ?
  348. ; Allows to set the default encoding for the scripts.  This value will be used5 Q! t) d% Q# g; N- \
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.
    # u6 i/ k. }3 v3 d
  350. ; Only affects if zend.multibyte is set.) V8 E6 {4 F5 R: Q7 t4 s
  351. ; Default: ""% Q5 q! R" i" v+ S( X: v
  352. ;zend.script_encoding =8 P0 }$ J# g$ N, D

  353. 7 T' K4 E$ `, Q( M% x5 t6 _
  354. ;;;;;;;;;;;;;;;;;2 f; z" L$ Z: @: Q7 M( l0 |& q  C
  355. ; Miscellaneous ;
    4 {/ \/ C, c% ]4 Q9 M8 r
  356. ;;;;;;;;;;;;;;;;;, X& n9 ^: t6 o3 X5 a' W

  357. ! Z3 T7 _% G8 d/ j
  358. ; Decides whether PHP may expose the fact that it is installed on the server
      n. f; Z, X0 }' t& n
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    & a) D1 K( i- k3 C/ i) {: r
  360. ; threat in any way, but it makes it possible to determine whether you use PHP# c" W1 ^3 I0 J' b5 g7 {9 Z
  361. ; on your server or not.( H! Q( Q; R/ T5 w7 P* R# E; o! G, d0 S7 A
  362. ; http://php.net/expose-php
    ; M9 O& W- |9 J  w% O: d
  363. expose_php = On
    3 C" ^0 n1 r6 E7 k
  364. ) ]9 @4 u5 R6 V6 Z
  365. ;;;;;;;;;;;;;;;;;;;
    2 r6 ~. x* s& ?( r- Z1 w' q' T' D
  366. ; Resource Limits ;7 r: Y5 `% s; e4 S2 e1 U: }& C  Z' Q* t
  367. ;;;;;;;;;;;;;;;;;;;  C0 x3 j4 e$ U1 [

  368. # {" L3 `8 Q' X4 A+ U
  369. ; Maximum execution time of each script, in seconds# h( d# S* k/ P, x
  370. ; http://php.net/max-execution-time( ?6 R9 O- ^  s/ t- h! j' X( _
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI: }" x1 \/ x2 p, N9 e: ~. K9 V
  372. max_execution_time = 300
    8 j4 b9 P3 Q% R0 J2 g( K% a
  373. * d" q+ y6 T9 g/ ~3 x; w! K& X- S
  374. ; Maximum amount of time each script may spend parsing request data. It's a good9 o: N2 O, _5 ]! M: J! n
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    3 k+ v0 J5 A5 P7 l7 g% s3 j
  376. ; long running scripts.
    9 L: A4 i. X: l
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    7 x% A1 q( |! S( L0 c: z
  378. ; Default Value: -1 (Unlimited)
      L- q6 l7 S7 l* k) y# D+ E9 U
  379. ; Development Value: 60 (60 seconds)
    , T& r, ~) @: E, d
  380. ; Production Value: 60 (60 seconds)
    % V# C# u# e6 r2 ?' v# z$ \
  381. ; http://php.net/max-input-time$ y/ O: ^' @2 B* g) ^! ?
  382. max_input_time = 60
      F& N! R0 ^# v' c& q6 g. m

  383. ! g  ^) q4 O7 P% P9 x! U
  384. ; Maximum input variable nesting level
    . \  X5 k( `' c% t% h
  385. ; http://php.net/max-input-nesting-level
    1 J3 e1 _5 \4 k% |! u" w3 j
  386. ;max_input_nesting_level = 64
    6 Z' a* t7 }/ g" k" |, T/ N7 R5 b8 a
  387. " t/ \: p3 T) a. L) n+ l9 F, S
  388. ; How many GET/POST/COOKIE input variables may be accepted' r: |( |7 A% W4 D$ \
  389. ; max_input_vars = 10000 \! z2 U1 Z- q* G4 n( o+ c( C
  390. - I* T. P# I! o
  391. ; Maximum amount of memory a script may consume (128MB)
    5 \4 A0 \0 E6 |
  392. ; http://php.net/memory-limit
    0 E9 @+ ~4 G: {7 \
  393. memory_limit = 128M
    7 m2 `$ Z9 H; x  D- a2 g- d1 j+ y
  394. ; u" b/ e# W6 N! Q/ G5 m/ T0 g, L
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    5 [# v9 r' l5 k5 V) B1 l+ o6 v( V$ ^
  396. ; Error handling and logging ;
    ! _! Z. B# x8 ]& a/ _( t$ b
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    $ v( O+ ~. a6 S
  398. " g& {8 J* f. W/ p, A* K8 f% Q
  399. ; This directive informs PHP of which errors, warnings and notices you would like3 @, k) u3 f& ~6 I1 m
  400. ; it to take action for. The recommended way of setting values for this: V: ~$ U( A1 @. d( G% v& z" \) z7 o' j
  401. ; directive is through the use of the error level constants and bitwise
    ! r7 K" b* M! e% L- U+ c1 T9 G
  402. ; operators. The error level constants are below here for convenience as well as
    / s+ N* L" g/ p
  403. ; some common settings and their meanings.+ I' ?6 W- I. D5 Q; ~
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT* y8 g1 C6 g0 O) d( z& p
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    . `/ e' i4 o" M' x5 Y- Y+ v
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    ! I% l1 b/ {5 Q" M! t/ B9 V
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    ! ?5 e6 ~; f. X7 F
  408. ; resources complaining about best practices and coding standards. That's what
    ' V2 o1 x) H8 O' c4 \
  409. ; development servers and development settings are for.3 n5 v4 m3 ]# ~
  410. ; Note: The php.ini-development file has this setting as E_ALL. This* p4 f* y# X$ g  ]5 S! T* L/ k
  411. ; means it pretty much reports everything which is exactly what you want during
    2 O; }" y8 x/ k' H; r+ S3 ?
  412. ; development and early testing.
    5 n+ T3 G0 T  d6 y, G/ A
  413. ;5 W- p: M. y3 [. P
  414. ; Error Level Constants:
    . |" e1 b  O; Z) Q0 R2 d; [
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)* V+ j4 U/ U5 A' X3 _- L& G
  416. ; E_ERROR           - fatal run-time errors' ]. d7 b7 S( a* }' {
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors+ Z1 x7 |$ N" f& P) n/ |$ Q
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    4 b: G: \' H3 [" u- e' G
  419. ; E_PARSE           - compile-time parse errors# ?8 Z8 y! W+ g" t; f; p
  420. ; E_NOTICE          - run-time notices (these are warnings which often result& U* ^3 P$ t  f- ]8 q
  421. ;                     from a bug in your code, but it's possible that it was
    * a! s: b$ f# @% s: [  W3 \
  422. ;                     intentional (e.g., using an uninitialized variable and
    3 h% r/ T# o  g$ a9 o' w6 T# {
  423. ;                     relying on the fact it is automatically initialized to an$ |. y/ N: m* m* G4 W
  424. ;                     empty string); f  O) v, S4 r, V: J
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes0 D5 {9 e+ t: M9 s- j% c
  426. ;                     to your code which will ensure the best interoperability
    " r! w! A' v$ A
  427. ;                     and forward compatibility of your code
    3 ^9 g9 _& V5 |  e- u
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    7 T: j# u' \3 z/ B: ]
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's8 r. `+ ?) C" Y" O7 U- `
  430. ;                     initial startup$ Q' _5 n3 f- |  \0 Y, {
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    " H; Y- P' L# r/ P- V" g) Z# W
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)4 X8 }( P% R7 C
  433. ; E_USER_ERROR      - user-generated error message
    . R. u8 @+ C+ J$ t
  434. ; E_USER_WARNING    - user-generated warning message$ A* E$ j1 \: Y" h' K6 ?1 S7 }
  435. ; E_USER_NOTICE     - user-generated notice message
    * X8 ~2 s* @) y, U4 y
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    ' K3 F- t4 H& {0 e8 W! J
  437. ;                     of PHP. @' f2 w! }8 J% ^) B6 e
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    . ]* ?9 k" d$ \# Z  w, `
  439. ;
    $ f* Q+ J. I7 R  m/ X: j
  440. ; Common Values:
    , M( V6 s6 O8 r+ |2 p! ^. i
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)  s- t; o2 p! G+ ~, J8 I+ Z. A) _
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    ( S* B! z& F8 N9 P/ I
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)0 Z8 \' A" n" I
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)+ ^' C# E6 {3 p. A$ @% s# n) B
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    , o0 w. y' u% a- K
  446. ; Development Value: E_ALL
    * c+ J( e9 a8 j9 ]) v
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    2 P  y7 ^9 e* v5 X8 Z7 ~  v
  448. ; http://php.net/error-reporting
    * t$ G* I1 y$ u$ l( l& G* C
  449. error_reporting = E_ALL & ~E_NOTICE; Y( G6 J0 A0 g
  450. & w2 D1 [2 s9 `/ r
  451. ; This directive controls whether or not and where PHP will output errors,3 M/ o6 L( M8 R, ?; P9 i7 H$ T+ L/ {
  452. ; notices and warnings too. Error output is very useful during development, but
    * K. ~8 J% ~) M- O$ I( l
  453. ; it could be very dangerous in production environments. Depending on the code: r0 J; c; i: \6 p/ e
  454. ; which is triggering the error, sensitive information could potentially leak
    0 W$ M4 Z6 O/ N: ~, y
  455. ; out of your application such as database usernames and passwords or worse.
    1 ]7 H" s8 o) A
  456. ; For production environments, we recommend logging errors rather than0 B* h" L" ]" j& o6 k0 z% b
  457. ; sending them to STDOUT.) L: x4 M- m% z' y
  458. ; Possible Values:
    6 O$ S7 _' Y2 m8 d' h
  459. ;   Off = Do not display any errors/ u8 m9 ^' M7 [6 A
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!): z# s( w" y) i3 T
  461. ;   On or stdout = Display errors to STDOUT2 e9 ?$ k& G- W+ r+ C% Z
  462. ; Default Value: On
    # O; e+ A2 ^% Y2 ]
  463. ; Development Value: On% l" f0 b; |) F* X; b
  464. ; Production Value: Off3 L+ G# W8 N$ F/ e' X. O
  465. ; http://php.net/display-errors; l5 ~4 j; k6 U: `& c5 s6 x+ Z  }
  466. display_errors = On
    : Z  b4 \8 F; _6 V" o) |5 e
  467. 8 w( @, ]' p& x3 G. A
  468. ; The display of errors which occur during PHP's startup sequence are handled( d9 |' P: d" v! u
  469. ; separately from display_errors. PHP's default behavior is to suppress those' k& c, }% |( Q! @6 G0 a
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    , B6 U* O+ i, K5 `  p# V
  471. ; debugging configuration problems. We strongly recommend you" I- L; j. l6 q% C8 m7 P9 \% n4 G
  472. ; set this to 'off' for production servers.2 C6 M% Y6 _( _, }5 S9 ?
  473. ; Default Value: Off! T$ S+ L4 e5 c, V
  474. ; Development Value: On
    " n. x7 ~6 r2 e$ i2 q( f
  475. ; Production Value: Off1 M' [. v5 G: U2 T
  476. ; http://php.net/display-startup-errors
    + U, ^" D0 Z  d$ x% H( j
  477. display_startup_errors = Off
    5 o! H9 N- S* ]% p
  478. , A" G/ V5 ~* Q. z' a
  479. ; Besides displaying errors, PHP can also log errors to locations such as a% d# \7 ?  ?1 l" _) A1 S+ h
  480. ; server-specific log, STDERR, or a location specified by the error_log
    2 T4 D- g* U: q7 l& s
  481. ; directive found below. While errors should not be displayed on productions
    0 `% V1 I# e2 A" ?: c
  482. ; servers they should still be monitored and logging is a great way to do that.6 I& p0 V: ?4 F+ j  k& A0 G
  483. ; Default Value: Off
    ; s+ B5 r; O* X" B; A- o2 B/ Y( S
  484. ; Development Value: On
    / i6 D$ l' f# |- r* i+ w" v
  485. ; Production Value: On* ~9 I9 |2 \' h% y% Q3 H5 S: w
  486. ; http://php.net/log-errors8 J: F9 W3 u4 j- G
  487. log_errors = On
    5 c3 {7 ]( ^8 A$ Y# R9 f0 A. i
  488. 6 v/ z9 ]" r3 G4 Q' P. P8 i9 `
  489. ; Set maximum length of log_errors. In error_log information about the source is0 c, p% l9 t. w* I& L
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.; Q& I2 {" [4 q3 H' S( O
  491. ; http://php.net/log-errors-max-len
    . n( M8 c6 m/ q; l% }% i* i
  492. log_errors_max_len = 1024
    : `; Z; B1 @" I
  493. 8 G/ W: E' {% [8 ~- y# K; _2 z
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same, W$ E+ d& n8 m9 O1 d- p: T, ?
  495. ; line unless ignore_repeated_source is set true.* Y  S, {& l+ M4 S9 |
  496. ; http://php.net/ignore-repeated-errors
    , N  [* k  i2 j% f7 C6 T5 z/ k  ^
  497. ignore_repeated_errors = Off
    * E, c! S9 `" N# l0 p
  498. + p% G. [; B. f* ^5 Y
  499. ; Ignore source of message when ignoring repeated messages. When this setting) j! e5 I5 s: f! R1 n/ c* y
  500. ; is On you will not log errors with repeated messages from different files or
    0 _. E! H. i- v8 e
  501. ; source lines.$ q1 d0 S6 G& F+ C# I8 i$ _+ P
  502. ; http://php.net/ignore-repeated-source3 t  v( j7 W: P8 O% z; ?
  503. ignore_repeated_source = Off( F2 p) G6 u% C. _

  504. , x6 _7 q% k, {- I
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    5 w% P  {+ v7 S) M+ V5 M
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    , B% H1 R, [& U6 U( y" |
  507. ; error reporting includes E_WARNING in the allowed list9 _3 G# G- C/ s, p
  508. ; http://php.net/report-memleaks) G3 \% k1 f$ @
  509. report_memleaks = On* a+ r4 m$ V# y# D- i9 x! `1 r
  510. 2 W* B" _. v8 c2 c
  511. ; This setting is on by default.
    2 r) ^$ A9 x0 A4 r. M% \& W; a
  512. ;report_zend_debug = 0, I4 O' G1 R: o/ w+ Z6 Q

  513. ) S3 ?/ G. d) g% B0 n
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value2 z/ {- L( T; n  z* O8 I$ O
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    5 u- |8 O* Z3 D& U5 G
  516. ; however be disabled on production servers.
    2 U% ]  o! O4 C/ l8 a+ n4 m0 N
  517. ; Default Value: Off. }8 |4 d7 {; ^6 y: y% j2 d
  518. ; Development Value: On2 ]) d9 ^& s/ \6 T& V2 y
  519. ; Production Value: Off% C( i, z+ c& T/ f  l
  520. ; http://php.net/track-errors5 [/ L9 d! g" b- J5 y" a
  521. track_errors = Off
    $ q' _2 T/ Z& ?/ D/ K0 Y8 i3 O# ~

  522. , G0 V9 _3 ]# f2 w5 l9 I
  523. ; Turn off normal error reporting and emit XML-RPC error XML, t, G4 {6 ^# Z7 I0 N0 x# y3 c
  524. ; http://php.net/xmlrpc-errors6 d) N& N2 b* o2 @2 Y
  525. ;xmlrpc_errors = 0
    $ C3 y. I' p  e5 R' o: K# B% D3 k7 o0 Y

  526. ; |5 {7 W" o# [4 S7 C% o& n
  527. ; An XML-RPC faultCode
    $ F4 V2 G4 k$ m' r" S+ m- v
  528. ;xmlrpc_error_number = 0' c* O; ~- D. c3 t# J
  529.   f0 U: E/ \1 Q/ `) |
  530. ; When PHP displays or logs an error, it has the capability of formatting the0 y; F0 m% F4 x2 Q4 q; K
  531. ; error message as HTML for easier reading. This directive controls whether
    : h7 S9 [3 R7 ?% D
  532. ; the error message is formatted as HTML or not.
    + S% h& R! p1 @4 T4 V0 ]
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI: G5 ]. c% B+ G6 }7 [0 X" p
  534. ; Default Value: On: z( f( ?! Z7 r1 Y" c0 a
  535. ; Development Value: On
    . U! H* n+ H0 R) c2 D
  536. ; Production value: On3 @' }- k/ X+ {8 T
  537. ; http://php.net/html-errors
    3 M$ b1 Z4 u% D% R/ |0 [
  538. html_errors = On
    7 U+ j8 |% P! P' ]: E+ m* f: `
  539. $ [9 s. u6 E9 i- C+ i8 M# A
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    4 d8 L+ b$ t2 ]' j, ]2 ~
  541. ; produces clickable error messages that direct to a page describing the error! L1 M% U0 T/ I3 S# h& |
  542. ; or function causing the error in detail.
    # T* C+ S/ x# w% L8 j1 m  `
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    ! ~6 T1 z  j4 z. P) d; d
  544. ; and change docref_root to the base URL of your local copy including the; F: c& B% M2 V+ h1 X7 R
  545. ; leading '/'. You must also specify the file extension being used including( w6 P  J, \& C8 G- V
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which" G2 n% l7 |* W0 d5 ~/ \5 Y
  547. ; case no links to documentation are generated.7 |; n6 C8 @7 l% ^
  548. ; Note: Never use this feature for production boxes.
    9 |9 t9 P9 n7 T$ h% @3 l7 ^
  549. ; http://php.net/docref-root
    ( v- f+ [1 a( p7 S# L
  550. ; Examples
    ! W  F: l9 f, g
  551. ;docref_root = "/phpmanual/"# P- i7 D8 _( B/ M9 B0 V2 u! Q; W
  552. / r$ v' z% @$ S8 J6 M
  553. ; http://php.net/docref-ext/ ?, {% [+ G9 H0 X7 e' [
  554. ;docref_ext = .html, l: w2 B' j/ D' }" Y

  555. 7 z  _! f# l  s" c# W& z4 G: x
  556. ; String to output before an error message. PHP's default behavior is to leave
    ! r. X* _$ T' P/ x. ~; L0 ^
  557. ; this setting blank.9 t. c3 h: k/ V! j$ H  X" b& D0 w
  558. ; http://php.net/error-prepend-string
    0 X8 f6 a; G8 o" v' ?' R
  559. ; Example:+ N' G+ n/ R9 v% k7 N
  560. ;error_prepend_string = "<span style='color: #ff0000'>", a& v% f/ y1 I( {/ p

  561. ; `# m, b5 r7 ~) S5 l
  562. ; String to output after an error message. PHP's default behavior is to leave' ^0 z9 u+ g* b! J% h) D+ Q& w3 x
  563. ; this setting blank.7 ^: e9 K( p: ]
  564. ; http://php.net/error-append-string
    , C) ^1 V& q4 @+ v9 V+ j
  565. ; Example:
      k5 z6 R- `2 D, ?; [- I9 M2 K
  566. ;error_append_string = "</span>"
    / [. v! W  p0 \
  567. , \. _6 Q- R& I: F9 {; ]* h- T
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    3 Q8 B- }# t5 J1 l6 |9 o6 q9 L
  569. ; empty.
      j* z& s( l4 P" v+ G
  570. ; http://php.net/error-log# y- F8 I3 Y3 y" H$ s
  571. ; Example:: Y6 F$ C' z: N: H0 J
  572. ;error_log = php_errors.log
    0 b- u1 t; S3 c0 x  Z9 f- M
  573. ; Log errors to syslog (Event Log on Windows).
    ; W; H' O$ I8 S- E+ q5 U( Q+ _: a
  574. ;error_log = syslog
    & R( H( Y  c) l' L" n) j; j7 }; _

  575. 8 l, K, S) K' s; z4 S) U5 c
  576. ;windows.show_crt_warning6 t- @7 X  ^5 C$ L' O3 `
  577. ; Default value: 07 e' ?, |/ l) P7 \
  578. ; Development value: 0
    9 B3 ~' B  x. P4 ?8 d! m
  579. ; Production value: 0
    ) W  d0 Z# e4 c$ U8 m

  580. & ]  X4 [( c& x; k6 X2 _* L2 l
  581. ;;;;;;;;;;;;;;;;;" G, Q! ?0 j: n
  582. ; Data Handling ;: Z" u/ C+ u5 @4 y. _% c
  583. ;;;;;;;;;;;;;;;;;
    ! W. ?, `/ H7 b+ S: }; o
  584. $ O6 a' J  R: X# [
  585. ; The separator used in PHP generated URLs to separate arguments.
    3 b) e- q/ {& @7 z$ K7 z
  586. ; PHP's default setting is "&".$ K# F( F+ \* A# c3 }/ p  c$ O' H
  587. ; http://php.net/arg-separator.output
    ; g% {6 C/ h$ G0 _5 B1 i
  588. ; Example:0 w& Q% U1 s% ]
  589. ;arg_separator.output = "&amp;"0 o+ s! C- C6 c3 X; D% h
  590. % V( H0 A: _9 n  ^4 t) d
  591. ; List of separator(s) used by PHP to parse input URLs into variables.! G" @% u" L4 S, w0 [9 n+ c9 r! w0 v
  592. ; PHP's default setting is "&".
    : F& g: ~5 s5 N( D  r, P% H1 ?% e
  593. ; NOTE: Every character in this directive is considered as separator!
    + g3 E* S% l9 e
  594. ; http://php.net/arg-separator.input0 P6 B  A& l9 N
  595. ; Example:5 {4 g5 H2 {! ^* ]; M) _
  596. ;arg_separator.input = ";&"0 J% B3 r/ _( b% [- q' j
  597. 8 {8 V$ `' e6 s! ?1 k9 ^
  598. ; This directive determines which super global arrays are registered when PHP: M5 ~: c1 R) l4 e9 b6 D
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super* Z/ v4 P4 A* k, T+ S3 k6 T& s
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    ( ?. _; a( I% T- B+ a5 G8 ]- T9 H" g
  601. ; paid for the registration of these arrays and because ENV is not as commonly- o; u, O# F& l6 a+ s/ {( D
  602. ; used as the others, ENV is not recommended on productions servers. You, H. c5 V; @+ h, R' o8 d
  603. ; can still get access to the environment variables through getenv() should you
    : u3 m  _% H. ]1 j4 ]# ^2 c" g3 K8 T
  604. ; need to.
    0 _- U9 e; l; \0 G- d
  605. ; Default Value: "EGPCS"4 a& M$ Q7 G5 {/ \
  606. ; Development Value: "GPCS"
    - i- y) t" |1 V2 s7 _
  607. ; Production Value: "GPCS";  A4 v6 r8 Q8 H2 Y8 I
  608. ; http://php.net/variables-order) c& L8 k, s/ o8 Y$ t  J  X
  609. variables_order = "GPCS"
    5 ?( A% D/ Q2 j; B$ B' A
  610. ( ]+ U, J1 V8 L
  611. ; This directive determines which super global data (G,P & C) should be
    2 Q5 j" Y3 E0 p! o  g: B2 `- S1 t
  612. ; registered into the super global array REQUEST. If so, it also determines
    , Y: |8 t4 T1 u" R/ h  s
  613. ; the order in which that data is registered. The values for this directive
    * q1 |  @. ^3 B3 O$ e
  614. ; are specified in the same manner as the variables_order directive,
    ; e5 Y, n" I  A2 l8 a3 U' s. p
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    , k' X$ q+ b0 |
  616. ; in the variables_order directive. It does not mean it will leave the super4 F) w8 R6 Q0 I; ~; \; G. d
  617. ; globals array REQUEST empty.
    8 U# y2 A* I( T8 p
  618. ; Default Value: None; \8 X. d, ~. |
  619. ; Development Value: "GP"
    % X) `9 s$ C* r! v/ C$ p+ M/ U
  620. ; Production Value: "GP"2 s+ H% A. R& a. X; T5 y
  621. ; http://php.net/request-order
    8 i8 H# A3 R% q; B5 h5 \
  622. request_order = "GP"4 r$ `' j+ A4 ]+ v. s5 |' w

  623. / _4 C/ t' C$ _6 N- [' h" J1 O
  624. ; This directive determines whether PHP registers $argv & $argc each time it* N! r9 q% e* D
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script* P) z% a3 Y0 h$ O
  626. ; is invoked. $argc contains an integer representing the number of arguments
    2 u5 U$ r0 B* f! V
  627. ; that were passed when the script was invoked. These arrays are extremely. ^; e4 ?! F7 l# Z0 ^
  628. ; useful when running scripts from the command line. When this directive is- T  t6 ?3 l2 S4 `% v. z, d# v
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
    ) e- L* o5 G! o! d  a
  630. ; a script is executed. For performance reasons, this feature should be disabled9 C. X- @! R9 x; k
  631. ; on production servers.. L! n, m) H6 h
  632. ; Note: This directive is hardcoded to On for the CLI SAPI* W& [$ @4 U0 ~' }& q3 @
  633. ; Default Value: On& S; j2 r; S  V+ k* o7 [
  634. ; Development Value: Off
    2 ?3 n# ?+ v# q" Q) w
  635. ; Production Value: Off. I! ?( C8 {2 Z/ J
  636. ; http://php.net/register-argc-argv7 u9 M: x! N* H5 p2 |
  637. register_argc_argv = Off0 l4 r) t* |$ t' ]$ ?; N1 }7 ~4 U4 m

  638. 9 g8 g7 y! P5 j- y9 f9 D' i1 E8 C
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    ' [6 z1 H2 t" k/ T: P- ~
  640. ; first used (Just In Time) instead of when the script starts. If these
    # E1 A8 D2 Q; K  `) M
  641. ; variables are not used within a script, having this directive on will result
    2 q, F( \3 u) f2 a6 z+ T; ]
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    - D/ {  I; U% Y1 x
  643. ; for this directive to have any affect.
    5 N% R; @( g  g
  644. ; http://php.net/auto-globals-jit/ L+ K* \' }9 q! J9 U4 H
  645. auto_globals_jit = On
    7 B# S  y3 ^* G- s
  646. ' Y" b" C! e( g  G5 j' S
  647. ; Whether PHP will read the POST data.# m& G+ T* {; Z6 g; Q  |
  648. ; This option is enabled by default.
      ^0 o3 ?$ o% S" x% U+ X: {# b. r/ }
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST& J8 j! @- c. _
  650. ; and $_FILES to always be empty; the only way you will be able to read the: y, a$ T7 L# S* n* j5 Y: H  [
  651. ; POST data will be through the php://input stream wrapper. This can be useful3 ?& ~$ v& T* `, E0 @1 m' n0 C, d, q# ?
  652. ; to proxy requests or to process the POST data in a memory efficient fashion., D) |+ A8 J& D5 m8 K9 Q
  653. ; http://php.net/enable-post-data-reading
    - R) E& X3 r8 K- D1 e* Z
  654. ;enable_post_data_reading = Off- V7 S& _$ ]  f, P
  655. ! B2 p% Z5 F+ u/ L2 c1 R# A( L" u+ }5 E
  656. ; Maximum size of POST data that PHP will accept.  ^+ L% Q' m9 e
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading7 _; h# P4 Y7 F. x7 C1 k
  658. ; is disabled through enable_post_data_reading.% p. g1 D: X  y1 n$ ]6 |4 d
  659. ; http://php.net/post-max-size
    - V& z5 v/ u8 q/ C. t
  660. post_max_size = 50M
    ) D' N, V- m6 X1 ?

  661. " }6 h* D3 o1 y" _6 Q
  662. ; Automatically add files before PHP document.7 ]8 W7 r) H9 d
  663. ; http://php.net/auto-prepend-file. g) `( h( ]  z3 B: X& X: C7 \
  664. auto_prepend_file =0 N4 L: {, m9 K
  665. % L) G$ \4 u. P7 s
  666. ; Automatically add files after PHP document.
    ! B( A# U7 z; z- ]5 V) j4 v
  667. ; http://php.net/auto-append-file$ ]8 |2 T, I& t4 D& E% _. f
  668. auto_append_file =. M- o3 b* \5 O) y
  669. % ~1 R  r" N6 Z
  670. ; By default, PHP will output a media type using the Content-Type header. To
    + x5 F1 ]) ?$ x) Y2 u/ w9 b. p
  671. ; disable this, simply set it to be empty.
    & Q- M( K5 i0 v# i) Q
  672. ;
    2 t: y9 @. A( U0 j5 I, H. F' F
  673. ; PHP's built-in default media type is set to text/html./ g0 [$ t. f2 h, D9 E
  674. ; http://php.net/default-mimetype
    ! T0 z' d2 s3 Y" A, f7 w
  675. default_mimetype = "text/html"  r8 I! [; v5 s2 H9 W; m

  676. 6 M8 n/ ^5 X/ k+ o% W2 M0 t
  677. ; PHP's default character set is set to UTF-8.
    8 E0 i0 U( Y+ v( H! J
  678. ; http://php.net/default-charset
    2 z( {: ^( S  q2 ~! L: y  z6 U
  679. default_charset = "UTF-8"
    ' N: w# z/ U9 c  O( D

  680. 6 N* g1 C8 S, _1 Q
  681. ; PHP internal character encoding is set to empty.# Z% P( m: e. W! b2 N0 w3 _& N
  682. ; If empty, default_charset is used.% S. }/ c3 q9 p
  683. ; http://php.net/internal-encoding  V4 y% i  ~' I6 K  D+ _2 f1 `! K
  684. ;internal_encoding =
    , ], ?7 r1 d* z& C( Q. @( ~
  685. + V: j; N( E  n5 o  i
  686. ; PHP input character encoding is set to empty.8 W9 [) V7 I7 `# r* e, Y
  687. ; If empty, default_charset is used.
    0 I" f9 ?4 K( U9 W  q3 D) F, J
  688. ; http://php.net/input-encoding
    " v7 G2 ~- V9 o( c0 h  Z& Y* D  X5 u
  689. ;input_encoding =/ }* i" p# V& O+ r: `

  690. / x' B1 ?- ?4 Y, |5 i
  691. ; PHP output character encoding is set to empty.' Q9 O: b( T  M, O" y7 _
  692. ; If empty, default_charset is used.! g  M6 J1 n5 h: H8 T- G; s
  693. ; See also output_buffer.
    ) \: r7 h+ c2 |5 F
  694. ; http://php.net/output-encoding
    , `" {/ q9 P* G. C3 i: g
  695. ;output_encoding =7 ]4 B8 W4 q$ e) g, l0 V9 O

  696. # ^( v1 F6 |; C: h1 e
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    4 H8 F9 U' [: E8 S' F; i5 S
  698. ; to disable this feature and it will be removed in a future version.
    ; [5 W3 U( I" x( }
  699. ; If post reading is disabled through enable_post_data_reading,
    : P8 Q$ X+ v3 U
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.4 f! {. V5 D" ]9 b6 i) Y
  701. ; http://php.net/always-populate-raw-post-data- h3 n! Z- f) Q, T2 b
  702. ;always_populate_raw_post_data = -1
    ' h' v$ B) [0 L# U  W

  703. " ?/ g  A/ D' w- }0 D
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;9 M, h. S. \/ e9 W3 m
  705. ; Paths and Directories ;( X$ F0 P0 B2 N
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;
    4 i9 p% L$ y* {* N

  707. # u  }: o6 Q3 T, c
  708. ; UNIX: "/path1:/path2"
    9 G% D* D1 X; ]. Q% U. R
  709. ;include_path = ".:/php/includes"
    / T; u/ X' W3 K( r# B( n& H2 k
  710. ;
    1 R4 A! g0 b+ ^: _6 x+ b) n2 z" |
  711. ; Windows: "\path1;\path2"- T4 [3 _- \# h, P
  712. ;include_path = ".;c:\php\includes"
    % I& a" L( f6 |: O! x7 {+ ^' C# P, J, o/ k
  713. ;) R; Z! M2 I6 Z. t
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
    ; K6 G' `0 ?; y1 f+ U/ r
  715. ; http://php.net/include-path/ Y6 i# X5 C* b9 M: d1 h0 N' @
  716. " G/ K; A9 [# f/ n
  717. ; The root of the PHP pages, used only if nonempty.
    " q. s9 z4 ?4 h" D5 |: Y, s+ {
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root) b0 [3 T/ @' N+ y& A# O3 l
  719. ; if you are running php as a CGI under any web server (other than IIS)
    . Y) Y, [* D; G* T3 i
  720. ; see documentation for security issues.  The alternate is to use the( s, Q# ?. q4 \/ u+ n* z! D; p
  721. ; cgi.force_redirect configuration below: H  z4 w# o( z: |& [+ T# `$ R
  722. ; http://php.net/doc-root
    3 S/ q" i( X* U1 o; i$ c
  723. doc_root =* B! M4 b, a3 H+ }# @& H( p

  724. 1 l& E. l3 y! o, w$ V0 C9 p% ?2 _
  725. ; The directory under which PHP opens the script using /~username used only. y; K( g2 Y) p! A3 t  D7 [
  726. ; if nonempty.' c' H1 }, A9 n8 b5 y8 S$ m* N
  727. ; http://php.net/user-dir1 L, C7 v8 S. W% A
  728. user_dir =0 G. \# O- J9 t
  729. " q4 o: K$ s; y, Z  `" i  V
  730. ; Directory in which the loadable extensions (modules) reside.
    - F+ N4 L! z0 z9 {. x
  731. ; http://php.net/extension-dir
    7 E# i: Y. z; @6 o
  732. ; extension_dir = "./"' H. q3 W+ [- V+ `
  733. ; On windows:
    . F( @# P, h1 q4 }* j
  734. ; extension_dir = "ext"% h( g) P- @$ ?0 v; V
  735. ( l- Q8 @7 l/ t% t% s
  736. ; Directory where the temporary files should be placed.$ V5 G5 Z8 f9 E7 W  J
  737. ; Defaults to the system default (see sys_get_temp_dir)4 y$ i4 o, c1 k5 }
  738. ; sys_temp_dir = "/tmp"! y" `6 ~6 |3 e2 A

  739. 7 @" a9 u% [, N" ~' Y
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work9 p: [  z$ p% L
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically! I1 b# j9 K% k6 E, ~& Z* ]* a
  742. ; disabled on them.8 `1 q1 Z% t- B2 K# q1 }
  743. ; http://php.net/enable-dl
    ! c9 Y0 D7 Z2 i. o' ]
  744. enable_dl = Off
    % W: @/ l1 W- @
  745. $ K6 I7 ]2 C4 E# c- X6 f' i
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under$ L" v* g( E; f
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    0 J7 e! Q' \7 A4 C3 U
  748. ; turn it off here AT YOUR OWN RISK
    0 d4 u1 q2 U2 }
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**4 V0 z( C9 o* l9 o) i
  750. ; http://php.net/cgi.force-redirect3 O9 F2 w3 b1 V) O
  751. ;cgi.force_redirect = 1% S3 P$ l. {9 H

  752. 9 q2 a* a' q$ b0 ^
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with; I& }# B' Y+ t2 R5 c# ^& d6 n
  754. ; every request. PHP's default behavior is to disable this feature.
    * c8 n) C9 d/ X1 ^- [% X
  755. ;cgi.nph = 1
    " R% @6 D, ~: d

  756. , z% C" z2 Y$ l% S8 R5 A$ y2 ?
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape8 J4 Y7 @" @, p' F( r. I
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    " e* F' p% [+ U; e- a8 R7 [
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY  I: G* Y5 U( a- z) \
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    # t1 D* G% U) O0 c0 @- r
  761. ; http://php.net/cgi.redirect-status-env8 Y5 ~" u5 W4 [1 u% H0 O  D5 }3 p
  762. ;cgi.redirect_status_env =
    ) V+ I8 W& x& k! v8 l3 i- W7 j- N4 b
  763. 0 a  Y+ s2 v9 y, L) i+ b, Q, i1 j
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    ; q' k0 e" A6 _& M
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok6 a: s. F; [# T3 }( u  n' {
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting8 d6 s3 e6 ^' y5 [4 n( T6 _
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting3 ]* W; Q+ x& T3 k0 I
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    # m6 O  D8 [9 K" W# O+ u
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.8 x$ M5 @9 {1 a  [  P+ G0 k
  770. ; http://php.net/cgi.fix-pathinfo( C: N7 [+ t/ v) X( W2 Y" U
  771. cgi.fix_pathinfo=1. C- t/ g4 L) x% b5 u
  772. $ M: \) [+ B' y  R' g. t
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside; `" x8 E& ~. v. w; N: q
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    9 O! {4 O, _/ ~/ k8 `
  775. ; http://php.net/cgi.dicard-path
    3 ]  K3 c8 M6 N
  776. ;cgi.discard_path=19 O, W4 U' O2 L$ A9 Z
  777. : T% i8 Z7 k$ B  Q: ^$ B6 K6 p& Q
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    - a" m, c( `& a1 W1 [; {
  779. ; security tokens of the calling client.  This allows IIS to define the
    3 H, l( o3 [% J/ f; _
  780. ; security context that the request runs under.  mod_fastcgi under Apache4 N% x8 _1 c# [) K$ {
  781. ; does not currently support this feature (03/17/2002)
    ) a) O8 d: Z- {% [  O- G4 a5 ~6 h
  782. ; Set to 1 if running under IIS.  Default is zero.( U# w2 A. z  Y/ f
  783. ; http://php.net/fastcgi.impersonate
    1 b! u. q! J$ c. M. n
  784. ;fastcgi.impersonate = 1
    " C9 q( u& k: n! s

  785. . k" T8 i" X( K1 C& ^( i8 h
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable* f0 w/ {8 A" `$ D: ]
  787. ; this feature.6 Y  k% b8 z7 B
  788. ;fastcgi.logging = 02 K( G% Y" T! f6 @7 x: U4 k7 G" q
  789. 7 c0 b) k- g7 F4 v& Y' \
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to, q" q/ I* {1 B9 G4 e
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    ! X& D% z) F; ~- j9 g4 P& X
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    $ F8 O! n' m' d- f: d
  793. ; RFC2616 compliant header.1 i" z1 f" P0 ~/ M3 k
  794. ; Default is zero.
    " i3 T. `4 t0 J
  795. ; http://php.net/cgi.rfc2616-headers
    6 E; j) b; Y, |3 x! [( }- E
  796. ;cgi.rfc2616_headers = 00 p# Y& i) M$ V- S) r9 {" E

  797. # L/ a" f! F' r, b, T
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!+ |/ _, f2 {" @  z9 N: y
  799. ; (shebang) at the top of the running script. This line might be needed if the
    9 z" j  x+ @2 h- C" O" E3 ]
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI* J  G  S7 e$ u/ G7 x+ c# g
  801. ; mode skips this line and ignores its content if this directive is turned on.9 l1 Q) G9 `5 j- Y/ e1 T( X
  802. ; http://php.net/cgi.check-shebang-line  O% S' \6 i6 F
  803. ;cgi.check_shebang_line=1
    7 b8 |6 Y+ x0 @& c4 N

  804. 3 Q$ z7 H- [' e/ ~$ }. Z
  805. ;;;;;;;;;;;;;;;;% H1 {; A0 _, Q  Q; S* |
  806. ; File Uploads ;) q- Q3 N& S  O* B& j$ @
  807. ;;;;;;;;;;;;;;;;* E* r8 D0 p4 y
  808. 3 P% W0 b6 @3 K$ g  V( ?. k7 p( ?, B
  809. ; Whether to allow HTTP file uploads.
    + }8 L" t, o% r* P
  810. ; http://php.net/file-uploads
    ' o* z! G' d+ s. I+ u
  811. file_uploads = On2 S2 W; ?8 b4 [% p3 u- F3 P% M
  812. " x% x) K- |5 ^: a# O; I1 m8 m
  813. ; Temporary directory for HTTP uploaded files (will use system default if not; C% _  l5 d8 A  d4 X9 b
  814. ; specified).
    " `! h( y, q) O4 a. t
  815. ; http://php.net/upload-tmp-dir
    ; d& m( ]4 K9 v' w
  816. ;upload_tmp_dir =
    % ^8 m! t$ s3 ~& |9 C% ~
  817. 9 a# h* q/ D" j, U
  818. ; Maximum allowed size for uploaded files.
    1 a! V9 b! b& V" |/ t  n& u
  819. ; http://php.net/upload-max-filesize
    . K) ^6 |. K/ v# F/ t: J
  820. upload_max_filesize = 50M- c( c" d. {- p6 n$ l- }9 G- e/ F5 {
  821. . M2 v& M1 p, K8 t8 D
  822. ; Maximum number of files that can be uploaded via a single request0 d& A! B1 L( L
  823. max_file_uploads = 20
    1 w, [9 h7 v; T4 l* g. G$ a

  824. 9 ]( @% V5 o5 U% x* O
  825. ;;;;;;;;;;;;;;;;;;% ]" W! V+ l7 \# |3 u
  826. ; Fopen wrappers ;
    : R* Z+ @  l+ b8 {4 r
  827. ;;;;;;;;;;;;;;;;;;0 M$ S/ @$ F. f- \: \( t- U/ c

  828. 8 O$ v$ S" @6 A7 o9 x/ M
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.# {( h, r' i3 C1 O8 w+ {
  830. ; http://php.net/allow-url-fopen
    ) D% e: f% ~7 A8 v/ w8 q/ M  q
  831. allow_url_fopen = On
    7 g$ z4 x1 K' |4 n1 O& ~; J

  832. % }, @- g  A; d3 S% e. {+ @+ H1 V3 p  e
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    $ U9 X2 K" S( m, ]1 a
  834. ; http://php.net/allow-url-include
    + x/ b0 i$ T, d; I7 Z, @( _3 ^
  835. allow_url_include = Off5 I% x4 ^( n# `7 H4 x" ~* i8 r* F/ C

  836. ! w0 P, b; f7 [1 J! e; P
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    ; Z; ]. m2 _4 ~( E3 r  G
  838. ; for this is empty.& T4 ~; s2 P# f( u3 ]2 P, H
  839. ; http://php.net/from9 [3 F+ X% m" }: J$ Z" m
  840. ;from="john@doe.com"
    * G: X9 F, y/ G5 a

  841. 1 O7 D( T1 I$ A6 c. f
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    0 \7 ~" g2 a; R# o# l9 g
  843. ; http://php.net/user-agent
    3 G0 c5 ^9 [" D2 ]4 T+ K
  844. ;user_agent="PHP"
    ' ?  D5 P: t- I5 I! g' Z

  845. - [+ S! i4 D6 `
  846. ; Default timeout for socket based streams (seconds)0 @+ O! s8 d1 r0 S+ l
  847. ; http://php.net/default-socket-timeout
    9 z3 c& y# {8 R  ^) v
  848. default_socket_timeout = 607 U. q4 B. s1 x  w$ C

  849. + o7 D5 M1 [8 }2 J2 S3 t$ o
  850. ; If your scripts have to deal with files from Macintosh systems,& k3 h4 X( {2 t  k6 M+ P
  851. ; or you are running on a Mac and need to deal with files from" }+ |1 F9 a1 z; ]; _- o) K  J$ {
  852. ; unix or win32 systems, setting this flag will cause PHP to  l. Q; |  K1 W+ c6 z+ P2 A; T: W4 d
  853. ; automatically detect the EOL character in those files so that# Q4 K+ z* c$ B
  854. ; fgets() and file() will work regardless of the source of the file.# U9 j* O- L: |+ U0 ^% i* h# B
  855. ; http://php.net/auto-detect-line-endings% `# G$ h4 y; i& a5 `- G, z5 W( J
  856. ;auto_detect_line_endings = Off7 G9 i( Z0 t- s% ]
  857. # E- l% b: Y: }
  858. ;;;;;;;;;;;;;;;;;;;;;;
    ) @3 |' \7 S9 ^! E+ T
  859. ; Dynamic Extensions ;, M7 b1 \- L; z% i* T. F- p4 B" M
  860. ;;;;;;;;;;;;;;;;;;;;;;! n7 N8 w) u. z1 w
  861. 0 z0 e8 r5 A3 ^0 O  r9 X: z
  862. ; If you wish to have an extension loaded automatically, use the following, `  o: P6 s4 u% T
  863. ; syntax:
    & D$ ~; J# {4 ?2 q" d$ [
  864. ;
    , r& U3 g4 n- t' K: I9 N# g8 |4 G
  865. ;   extension=modulename.extension& ~9 e' t2 F! v$ c3 B9 X( X; e9 f
  866. ;
    " Y, U1 w" L7 ~* \
  867. ; For example, on Windows:
    4 z( F2 I( x' |# g3 i# z" Z) F$ W
  868. ;
    " }# r5 z! K8 @  t
  869. ;   extension=msql.dll
    - s7 ]- I( C' |" G( s+ D2 P
  870. ;. o( p, F7 P% G. C
  871. ; ... or under UNIX:0 ~* H5 W1 `9 H! `+ a3 _9 Q
  872. ;
    3 U: C5 h0 r4 e" P/ p$ T
  873. ;   extension=msql.so( v7 Q) D' H% `1 L- Q8 b
  874. ;
    2 [# H* U0 g2 M0 B( M
  875. ; ... or with a path:: Q. ?  s; W3 Z, a& G& Q
  876. ;) M1 {8 Q0 e2 f
  877. ;   extension=/path/to/extension/msql.so
    , k; Q1 F9 o6 v; i
  878. ;
    2 N, A" j9 J' `( Q& b- l/ {
  879. ; If you only provide the name of the extension, PHP will look for it in its* M1 Z4 o& t4 K: a4 @
  880. ; default extension directory.
    ( u2 }# T# c7 r, P' E; ^
  881. ;
    ( N8 R0 ?- x8 s" I% e
  882. ; Windows Extensions$ c, t6 _# g3 t9 R. W/ Z
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    & _1 }/ [9 R( V4 F3 M
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)9 i! b3 i) @1 L  a- _( V$ S! w
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    ; v: K/ c, E3 w; O" q; p
  886. ; Be sure to appropriately set the extension_dir directive.* v$ V, a$ ~7 a8 `' E+ ~2 L
  887. ;* P1 q/ R5 m# e6 k
  888. ;extension=php_bz2.dll
    # b. y( @" z$ E. o! U" }0 H
  889. ;extension=php_curl.dll
    ; w, }0 @9 G8 m( Q2 @" d
  890. ;extension=php_fileinfo.dll
    & K* q& @9 `9 H5 E
  891. ;extension=php_gd2.dll
    $ I) ]0 b" D- d" l( T: i! W; j
  892. ;extension=php_gettext.dll+ K0 O8 h: R+ g6 g
  893. ;extension=php_gmp.dll
    0 p# O1 O3 g4 X7 G) d6 {: b( f
  894. ;extension=php_intl.dll
      ^9 \5 d+ x% K
  895. ;extension=php_imap.dll
    ( J: K/ L, W& I6 @. M
  896. ;extension=php_interbase.dll
    + j* j1 P& Q0 f, d+ b' Z0 I$ `
  897. ;extension=php_ldap.dll* j5 s# J/ t. L4 S+ ~9 b- N
  898. ;extension=php_mbstring.dll
    ) ~* E6 T$ c1 H5 Q
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it4 |5 j4 v4 y" f* k" A4 B
  900. ;extension=php_mysql.dll* w0 `1 [! G; n1 S* g5 C& ]7 E
  901. ;extension=php_mysqli.dll
    7 v; G1 j. C, r. O7 s, N
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    4 Q6 J6 ^% |; B3 Q4 k
  903. ;extension=php_openssl.dll
    6 L: f9 X% l1 J7 Z0 _
  904. ;extension=php_pdo_firebird.dll" v! C3 E" Q+ N: u' L
  905. ;extension=php_pdo_mysql.dll
    " r7 Q  ]1 C4 n' r+ _, h, l' K
  906. ;extension=php_pdo_oci.dll6 J! r; d6 ^9 d
  907. ;extension=php_pdo_odbc.dll& v; r. K% v# m, y# H: ]
  908. ;extension=php_pdo_pgsql.dll+ ^# `: y# @7 a. C- a4 e1 Y; h
  909. ;extension=php_pdo_sqlite.dll# G2 f  l3 `' @& _. z0 W) k
  910. ;extension=php_pgsql.dll  n/ T& Z: T; _
  911. ;extension=php_shmop.dll
    ' O( R( N1 R) l8 I( S+ y
  912. 0 b$ }. j7 t+ d, P
  913. ; The MIBS data available in the PHP distribution must be installed.
      k" f; T, z2 x4 \2 ^# ^
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    * B" ?# q# ~. }% b# I0 |# [
  915. ;extension=php_snmp.dll7 \/ w3 B" Q! Q2 O* U8 q/ L$ _
  916. 2 y; G7 \# c; _4 R
  917. ;extension=php_soap.dll
    $ D4 n9 v  d6 O/ e4 U5 b* U% M7 o! z3 @
  918. ;extension=php_sockets.dll( U: Z/ q6 q2 z- n+ l) C
  919. ;extension=php_sqlite3.dll1 r4 Q+ O9 d- H8 o  N  _, Z6 v
  920. ;extension=php_sybase_ct.dll
    6 |8 |/ O* z" Y) P7 X
  921. ;extension=php_tidy.dll5 Q4 W) v+ d' l$ c% w% s
  922. ;extension=php_xmlrpc.dll
    , S" ~' Q+ N6 f4 `6 @8 e6 {
  923. ;extension=php_xsl.dll% I, j8 `/ N. R2 p, j

  924. 7 `4 c1 o, r% m8 _  W
  925. ;;;;;;;;;;;;;;;;;;;
    ( o2 F* ^6 \" J. Q
  926. ; Module Settings ;
    5 z) C; t( M4 ]/ w
  927. ;;;;;;;;;;;;;;;;;;;1 K, S  }$ w6 R

  928. 9 u. g3 q# O% U. |5 ]0 P  h
  929. [CLI Server]
    # b5 Y' U, D" E+ z
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output." e9 w1 B$ z+ y, c, W, B) V1 ?
  931. cli_server.color = On
    2 u5 G! r/ o2 }  J

  932. # D/ z9 a. E- O
  933. [Date]& Z9 ~1 b! s5 o# J! ?
  934. ; Defines the default timezone used by the date functions
    ! I5 ^% T, p5 b4 a1 A0 a
  935. ; http://php.net/date.timezone+ x' ^( c5 e$ j. M% Q
  936. date.timezone = PRC
    + [; K, k1 B1 C; u

  937. * I+ r" ~4 ?5 l( l- V# q9 \
  938. ; http://php.net/date.default-latitude, ?6 x* h  x% i, s# k1 S
  939. ;date.default_latitude = 31.7667; ~2 E/ o" C3 X% L( K% B  B

  940. ) x& U6 T5 E0 I) a
  941. ; http://php.net/date.default-longitude
    0 @6 H& ^8 |, z0 l* n6 X7 |
  942. ;date.default_longitude = 35.2333
    . |$ V$ I7 i. S  y) c1 l3 y

  943. # K) f/ w- I( T/ `3 V
  944. ; http://php.net/date.sunrise-zenith
    ) R/ W* W5 c+ {: B' n7 d0 V; O" ~0 _
  945. ;date.sunrise_zenith = 90.5833336 B+ f. b9 Y$ w, N
  946. 5 ?7 S; b2 D5 K$ n$ t  ^
  947. ; http://php.net/date.sunset-zenith
    3 x2 J. J5 X3 z" r0 A. o! o
  948. ;date.sunset_zenith = 90.5833333 [8 X  R* Y9 U3 N" H

  949. 1 L/ s% w1 z7 J6 V
  950. [filter]
    8 m% |2 [% q$ N
  951. ; http://php.net/filter.default5 Y6 x1 k* \+ h" t* i3 T) Z
  952. ;filter.default = unsafe_raw
    + t0 r) g) W+ R; @( J

  953. # O8 ]( [& P1 g  n, `1 y
  954. ; http://php.net/filter.default-flags5 K" B# E, Z1 i6 y* V) u( o# j; _
  955. ;filter.default_flags =
    & K/ N. |! {' y5 j

  956. ( [, R0 M  L8 }, F1 I( y
  957. [iconv]- ]8 j, x, c) k+ K3 d
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.) r$ G$ R& M1 G9 ?1 E4 F
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    ; B3 j5 j* u9 X5 a( r+ n
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    7 T; L, @; T. z
  961. ;iconv.input_encoding =( `$ f8 c4 q0 `! _
  962. 5 Z2 P, y' M8 P! S" r' U! \
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.) y- B3 [, A' _$ S# Z
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ( L1 m, m: D2 }
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding0 H) y; X1 v$ }" ?. @. O; H
  966. ;iconv.internal_encoding =
    , R" s2 Z! \" }  N- E& F2 @0 g+ B0 [
  967. 8 }. }' |% a$ T' o7 t2 x) }
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    , r) N& I( ]7 v+ ~+ U* J$ F! `5 A
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.+ X3 A% R- L! j. B1 y
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    ' D6 D2 M' _# w) t) ]
  971. ; To use an output encoding conversion, iconv's output handler must be set
    " c; X  E3 u3 u- _
  972. ; otherwise output encoding conversion cannot be performed.
    : K* x( j5 W' _8 R
  973. ;iconv.output_encoding =. }3 a5 ?" b0 v

  974. , Y8 G: F' ~' x" i1 u
  975. [intl]. o( r+ V4 J+ z9 M
  976. ;intl.default_locale =# E& `5 V. |7 V7 r1 i9 I" r
  977. ; This directive allows you to produce PHP errors when some error
    5 w$ @6 r+ E! R/ S
  978. ; happens within intl functions. The value is the level of the error produced.
    9 h# G# J# n/ U/ Q
  979. ; Default is 0, which does not produce any errors.
    ! w0 p$ \) U8 m& W; Z& L
  980. ;intl.error_level = E_WARNING( F3 V1 H4 I& G# Y  U
  981. ;intl.use_exceptions = 08 }. f# Q$ z$ K1 Y+ X5 Q

  982. $ S% Q8 M) m' d) Q  n6 c% r
  983. [sqlite3]
    * x+ h" W+ S0 u5 [- e  \  s
  984. ;sqlite3.extension_dir =
    - e7 x$ L5 c! L9 d6 p1 G
  985. , A* h- t1 j' G" S
  986. [Pcre]
    4 m4 h7 n7 a0 g& S/ |/ k9 L' t! E7 Z
  987. ;PCRE library backtracking limit.. x& T! M' w* L8 U
  988. ; http://php.net/pcre.backtrack-limit  U: G5 _4 G: Y' o2 l' F' p
  989. ;pcre.backtrack_limit=1000006 ]1 \7 A* A7 L8 {7 J( H1 X

  990. / M. \+ D7 a- \
  991. ;PCRE library recursion limit.2 s4 _$ _) j# ]' u
  992. ;Please note that if you set this value to a high number you may consume all
    2 X2 w3 a' D" C2 Q
  993. ;the available process stack and eventually crash PHP (due to reaching the8 x2 C/ O/ f. O* P+ {3 M
  994. ;stack size limit imposed by the Operating System)., D/ E+ E: z  T
  995. ; http://php.net/pcre.recursion-limit
    ! r9 g0 F9 R, i* U$ \$ g- d
  996. ;pcre.recursion_limit=1000002 J3 w1 z0 Q8 z! C" ]

  997. 5 T2 r/ i6 P' D
  998. [Pdo]
    6 ]) f5 ~7 r; n9 ?+ W3 u
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"& k" f$ M$ z* F9 {( K
  1000. ; http://php.net/pdo-odbc.connection-pooling% I  S  i1 t/ u7 A7 T5 s+ f$ T3 c
  1001. ;pdo_odbc.connection_pooling=strict( X7 B# a- d: ]! S, v
  1002. 7 D; q2 Z: X# `- O* [& d' N, H+ S
  1003. ;pdo_odbc.db2_instance_name& S+ d" Y- Z8 ]. h$ s/ ?) A0 X

  1004. / p6 p1 a6 e7 P9 R5 v3 K
  1005. [Pdo_mysql]$ R' [$ T& Q# p2 N8 T" J9 y
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache& T$ D; H- P! f7 F% s5 I7 g: Q
  1007. ; http://php.net/pdo_mysql.cache_size$ E$ h9 z/ J" B
  1008. pdo_mysql.cache_size = 2000
      h7 z4 o3 @3 B% G9 a, ?+ A. b

  1009.   h$ D7 [9 o4 f! e2 p2 ]
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    / [6 B  A) \2 Z
  1011. ; MySQL defaults.
    0 v8 \/ H9 W( T+ @# @! I# N! d
  1012. ; http://php.net/pdo_mysql.default-socket
    5 f$ f2 ?1 F$ A
  1013. pdo_mysql.default_socket=% N( Y" O3 {4 |, L

  1014. 2 w1 |+ _* S6 s' S: n
  1015. [Phar]- a, u9 ~0 z) I# g
  1016. ; http://php.net/phar.readonly! u5 Z$ i1 q3 K% b0 X3 }5 U
  1017. ;phar.readonly = On4 e% W3 _% }4 v& e- d  q
  1018. + U8 c8 z9 R$ Z3 o- T7 S  n
  1019. ; http://php.net/phar.require-hash
    " J5 S4 x0 v5 V  u6 ~  Q7 K
  1020. ;phar.require_hash = On, ^1 v# M, _/ W9 K$ V
  1021. ; d1 L% c2 |, P4 _* V, k
  1022. ;phar.cache_list =" e4 Q/ C2 M8 R9 a1 ]. X5 d" V

  1023. ' B5 Z, F2 _8 W
  1024. [mail function]4 t2 L/ d: X$ Q% O* Y$ E
  1025. ; For Win32 only.7 B  Q; k9 e/ x* g
  1026. ; http://php.net/smtp
    " K. Q7 B3 R5 [$ ?
  1027. SMTP = localhost
    * b' z. w  e+ _8 s- x
  1028. ; http://php.net/smtp-port, x1 v8 @2 s% a, F& D* E3 G
  1029. smtp_port = 25
    - C6 y" }' J. P6 a$ g; Z/ p
  1030. 3 I" V8 D6 V. M- h  e
  1031. ; For Win32 only.  h! \; a& k/ _2 W) p
  1032. ; http://php.net/sendmail-from8 R( ^4 v) h% \
  1033. ;sendmail_from = me@example.com
    + t( _7 r8 ]- \* O. G2 U  T

  1034. ; T" B( X- B. F( _3 T& V) {  w3 ?0 {
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    2 V. X, S6 H; F% D4 i6 l
  1036. ; http://php.net/sendmail-path
    , m3 ]# J7 c& e) s
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    5 ^8 H4 A% _( {# I0 h7 y; i

  1038. ! x( X; J7 Z7 ~( T: Q& M
  1039. ; Force the addition of the specified parameters to be passed as extra parameters: h6 ~" R" X4 z4 r, |
  1040. ; to the sendmail binary. These parameters will always replace the value of" ?$ s  R- `( d6 L. F; c8 p' f) p) \
  1041. ; the 5th parameter to mail().% }5 k, c5 p7 C. h
  1042. ;mail.force_extra_parameters =* q6 X" n) q  `, _5 G

  1043. & \! C! \  Q" @8 F: |# ~5 G
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename$ x$ b  |( V9 Y7 y
  1045. mail.add_x_header = On
    / K$ N" s# H& \4 _, y) l" }0 g& C

  1046. ; g# W9 {% S8 u+ l( n* J
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    + y. P: i! x8 I& a( F1 X/ G0 i  _6 f
  1048. ; the full path of the script, line number, To address and headers.
    $ r# V4 Y7 U* N- M' N2 s6 a$ K
  1049. ;mail.log =' T% f/ {! H2 N5 v6 z
  1050. ; Log mail to syslog (Event Log on Windows).
    . X5 L. V4 h( a/ D
  1051. ;mail.log = syslog" u0 p" I! ]. D
  1052. ' a( E4 ~% C1 U
  1053. [SQL]$ p/ s6 N) v) F2 u7 T. w
  1054. ; http://php.net/sql.safe-mode; l9 H- P. s# K0 g
  1055. sql.safe_mode = Off
    # g# A  _$ U8 c, Y
  1056. 9 m! v: g7 U) w6 m( Q/ m. `
  1057. [ODBC]& Z- E4 W7 ?* a. {: n7 H0 z4 v
  1058. ; http://php.net/odbc.default-db* V4 u' M  ~$ i+ I
  1059. ;odbc.default_db    =  Not yet implemented, s9 g& P2 y3 W5 N6 B5 Z" D
  1060. 0 n1 X2 q) Y9 [" `& b" g
  1061. ; http://php.net/odbc.default-user
    4 Q6 `8 {9 y! A7 i- w0 f
  1062. ;odbc.default_user  =  Not yet implemented
    0 R; i; F+ m5 J8 T
  1063. . t  m6 y/ C( E7 _5 Y+ I
  1064. ; http://php.net/odbc.default-pw1 X& r3 e. X0 S3 p+ A" k" m
  1065. ;odbc.default_pw    =  Not yet implemented
    . P, H& S& T1 M9 w$ ?" f
  1066. 7 a* L" i4 m/ {
  1067. ; Controls the ODBC cursor model.% W; a! q7 t; r- i. u; g2 K
  1068. ; Default: SQL_CURSOR_STATIC (default).
    - h+ u' [3 E. i9 a4 p' a  C' _
  1069. ;odbc.default_cursortype: S6 `3 D+ X, I
  1070. 3 N5 `8 d5 S1 z& b, H1 T
  1071. ; Allow or prevent persistent links./ `  y; m) D9 x  h  }
  1072. ; http://php.net/odbc.allow-persistent9 q+ \( _( v: |
  1073. odbc.allow_persistent = On
    1 |) n4 y6 l% J* L. F- D: n7 J4 b
  1074. 7 n1 Z& O) `: D3 P
  1075. ; Check that a connection is still valid before reuse.& n+ W8 d# k, a+ [+ ~# v  G
  1076. ; http://php.net/odbc.check-persistent) d, Q, A3 c0 @) N+ _, {! R+ r. {$ ~
  1077. odbc.check_persistent = On* F7 J' }* J9 [
  1078. ! }6 B! [9 W, o4 y+ v
  1079. ; Maximum number of persistent links.  -1 means no limit., p1 }# ]$ f2 P* q
  1080. ; http://php.net/odbc.max-persistent
    ( P  w0 {% J: w' b
  1081. odbc.max_persistent = -15 W8 R0 t4 x) d* Y3 r
  1082. " s2 Q( |0 @0 ?5 P4 M
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    . h# |2 s3 v5 ?# i& K
  1084. ; http://php.net/odbc.max-links
    & u8 K4 y2 u2 ]
  1085. odbc.max_links = -1# c  G2 M' [: E( o

  1086. 6 F: ^1 ]! |9 g2 E: s
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means# Z. l. p9 t; X! u1 `* N
  1088. ; passthru., u8 \" J# t! k* q
  1089. ; http://php.net/odbc.defaultlrl
    - r! u. R" h% t4 j7 V
  1090. odbc.defaultlrl = 4096
    6 i* K3 _. W% ]
  1091. , D( G; R$ Y, n
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    5 n' y7 f. p  r$ v7 x; w8 V
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation1 w; F( T- f. H- d& ]
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    - B9 s- F/ x, }1 a2 n4 S( ]4 v4 I
  1095. ; http://php.net/odbc.defaultbinmode
    6 |# J+ U  X1 q8 C+ Z
  1096. odbc.defaultbinmode = 1
    6 f! N, W3 ~7 w* A: o
  1097. " H3 k8 D* T/ L
  1098. ;birdstep.max_links = -1
    2 Z; u2 V& y4 X  D2 |4 W
  1099. ( J5 M6 ]% t6 T0 v( @( Y
  1100. [Interbase]
    ' `. a  w, @5 o: o+ E" d7 g
  1101. ; Allow or prevent persistent links.
    2 u0 [; k7 O* F& b
  1102. ibase.allow_persistent = 19 V5 e1 q# c7 u5 l: K

  1103. * t7 T9 l* d! B% B
  1104. ; Maximum number of persistent links.  -1 means no limit.
    4 a) x, c1 z# M6 W1 K5 D# o
  1105. ibase.max_persistent = -1
    9 j- b1 A  j$ p# }6 e" {1 s

  1106. 7 a) h2 w5 s" |" @) M0 p+ y) O2 n
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    * o/ ]" O% R" y
  1108. ibase.max_links = -13 o$ n7 L+ O4 J+ Q% F& d
  1109. 8 }( J% n# ~5 L, s/ R
  1110. ; Default database name for ibase_connect().
    4 U  O' G2 [' k1 ?  d0 O0 |
  1111. ;ibase.default_db =
    - v8 e. h  I4 |6 H3 }3 |' X

  1112. / y: J- C- N. r% a' e
  1113. ; Default username for ibase_connect().
    - A/ W8 Y# W4 M, A& q2 F
  1114. ;ibase.default_user =  }0 z/ S2 J, E* Z" N( J5 z1 E

  1115. 7 T# c! C8 f8 M% ?, c7 h' ], ~
  1116. ; Default password for ibase_connect().
    ! S: w( g2 f5 l+ ]2 w# u7 ^/ M
  1117. ;ibase.default_password =
    8 j! M: s4 i1 Z1 A; ^7 C. f
  1118. / W7 z1 D% A5 g' Z3 ]6 p
  1119. ; Default charset for ibase_connect().
    $ s6 V% D2 Y* Y  j
  1120. ;ibase.default_charset =) Y( c% V1 u, Y* D& P" L

  1121. 0 b% B, C8 g0 h: z; r4 q6 D* m/ A
  1122. ; Default timestamp format.
    : W$ I! \( O2 v. U( K3 b. j' o% w
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"  |9 X7 L! Y8 ?
  1124. 5 a, c# I# ^# }' M# T2 \
  1125. ; Default date format./ Z  [4 ~( `4 z+ [0 q
  1126. ibase.dateformat = "%Y-%m-%d"1 l0 l; X+ G, d" I2 Z  ]; ~
  1127. * _. O8 R- i6 l" [) F# G2 Q& Z; \
  1128. ; Default time format.8 W6 w$ p3 D3 ^  }
  1129. ibase.timeformat = "%H:%M:%S"- s; d5 s$ X" C! C$ k7 g& V
  1130. * }" L1 }5 F0 Y, K
  1131. [MySQL]; Z: Q9 T& i6 E  ?: [7 N
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements- n; J+ Q: p1 ^1 F$ T4 E/ [' p% U
  1133. ; http://php.net/mysql.allow_local_infile( D: A" E( y& u
  1134. mysql.allow_local_infile = On+ _  `* |0 f! j) v. u+ z% J
  1135. 3 ]  W; }. v2 s4 X7 @, C$ X
  1136. ; Allow or prevent persistent links.( R- g: n6 t% P2 ], C' y, ]
  1137. ; http://php.net/mysql.allow-persistent) p* {& n' q+ {$ f2 n! x6 x
  1138. mysql.allow_persistent = On9 C* h! }( B' C. A

  1139. 4 q. g$ J! w+ Z" M
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache5 p" ?  o9 m* f  n0 k! Z- q8 a
  1141. ; http://php.net/mysql.cache_size/ A# f5 e  c0 [  U1 a% b. D+ ~
  1142. mysql.cache_size = 2000
    ( s* x0 g& q/ s! ?) [3 q9 |
  1143. . ^4 j! V) s# L+ l7 L
  1144. ; Maximum number of persistent links.  -1 means no limit.
    ! E: J$ L7 l9 ~8 J- S
  1145. ; http://php.net/mysql.max-persistent
    . Y3 k4 k8 {2 v9 I/ Z
  1146. mysql.max_persistent = -1
    7 H6 ^# j1 J6 h, J5 f2 h! N
  1147. $ V# F8 m  N1 Q" M- W* _( G1 j1 {
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    7 i" _4 a, r( S* d* G. f5 x- B
  1149. ; http://php.net/mysql.max-links
    & X% @& l0 ^* L! v; |
  1150. mysql.max_links = -12 I9 \- y0 C) b# b- W
  1151. 8 H( U  m) L: A0 n
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    & I8 d; D- Y$ o  P1 X
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    * L2 B5 W% Y9 Q2 [
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look' i9 O, p: L' X( Y
  1155. ; at MYSQL_PORT.4 C7 f4 y, D5 y8 Y; P2 u
  1156. ; http://php.net/mysql.default-port2 G. n% t- T; @9 T$ T
  1157. mysql.default_port =4 {, a: `" S' @9 @; p$ _

  1158. ( z- ~; e- g5 R9 d- |
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    9 t6 o! o, a- s/ {( ^$ K
  1160. ; MySQL defaults.
    3 w, Y& |, w% l* N; ]$ r! c5 U
  1161. ; http://php.net/mysql.default-socket2 \2 X8 b  c# p  `' e& e, Y6 _
  1162. mysql.default_socket =9 r, P; ^( `! s
  1163. * h, \4 V# w( O' S' ]
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    & k. R# s, O& T4 Z+ E8 [- L+ f
  1165. ; http://php.net/mysql.default-host6 D8 v) e. |; v2 U* i5 J0 v
  1166. mysql.default_host =
    0 O& ]/ L7 u9 `  \. G3 ~& W$ ~

  1167. * R" c& U+ R3 J9 ^7 F
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).& ^0 O( z7 f, L8 k
  1169. ; http://php.net/mysql.default-user+ |4 ~) k9 i# d: V7 q
  1170. mysql.default_user =2 o: R& M" F( q9 u% ]; v' d1 S( v
  1171. 0 Y! x. }; T- a
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).( Z0 f! o# w- N$ v: f; S5 Q
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.  a/ Y( H& ^. O+ ]
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    2 t7 E# T: M5 j+ V( X' a9 V7 ~
  1175. ; and reveal this password!  And of course, any users with read access to this
    6 d  }/ Z8 f/ a1 C: {, Q6 E
  1176. ; file will be able to reveal the password as well.& L1 k# ~$ X$ g. v( S( p
  1177. ; http://php.net/mysql.default-password$ t! s, A, m- a6 G
  1178. mysql.default_password =
    ! a) l, `6 O1 C1 u

  1179. # P( ^$ z+ k5 \  }: {
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    2 o& X6 y7 X6 T& Q$ @
  1181. ; http://php.net/mysql.connect-timeout
    : @9 F( D: \' h7 o: r5 U4 G
  1182. mysql.connect_timeout = 60
    % _' W8 [, q/ v8 p, ~6 O

  1183. ( B: Z6 T4 y3 `) X  w* Q) _3 }) ?- ~
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    % O) \- J5 }( p; [
  1185. ; SQL-Errors will be displayed.2 `, U2 p: @5 K
  1186. ; http://php.net/mysql.trace-mode
    - D" Y! k  }7 b0 x$ a" ^5 v
  1187. mysql.trace_mode = Off
    5 S( r) y7 R: W$ _
  1188. ) j. z6 ^3 `6 e7 W7 q" ~3 V( r# G* d
  1189. [MySQLi]4 Z$ a0 J1 ], I: `  ~9 I

  1190. 5 V  P; J* x! `) H: O
  1191. ; Maximum number of persistent links.  -1 means no limit.) z3 U; w2 e+ z# h
  1192. ; http://php.net/mysqli.max-persistent% ]2 |+ k' ]( t5 j/ T6 }- |
  1193. mysqli.max_persistent = -1
    3 i6 n. {2 ]+ P

  1194. $ m4 t3 D' E2 d$ r( Y) S
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements8 a) C0 T6 j0 S/ G- j+ F
  1196. ; http://php.net/mysqli.allow_local_infile9 N. U# W/ S- y- a& c; M4 v: f
  1197. ;mysqli.allow_local_infile = On# X0 V, p, P3 O% o7 P1 N5 l5 B

  1198. 2 l1 S" z% y) g( {
  1199. ; Allow or prevent persistent links.% r' C/ j& f, p4 z
  1200. ; http://php.net/mysqli.allow-persistent* b: N7 C* P  C9 g, q9 l
  1201. mysqli.allow_persistent = On
    ' `) S0 b6 @% T, s

  1202. 7 H& h, ^1 E6 g3 ]2 E
  1203. ; Maximum number of links.  -1 means no limit.
    ) f: x& z& \. ?5 p
  1204. ; http://php.net/mysqli.max-links6 ~0 m4 B+ h& ~0 T1 o, m1 f
  1205. mysqli.max_links = -1
    4 z2 m+ z3 J7 ?  B, q
  1206. - D4 W6 A0 V: W) Z6 r1 q
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    / l6 u; ~8 {3 V( ?, T4 H
  1208. ; http://php.net/mysqli.cache_size8 B" k! e# {, W' ^' P* D0 }& h$ f
  1209. mysqli.cache_size = 2000' Q+ z/ C0 Q' j7 R# e

  1210. * ]! _/ k! J; P9 u/ t
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use! }( e9 |; U/ c8 ^" ]1 d) }1 j0 c. X
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    ! ]  k) Q1 W/ A: h0 g( t
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    9 N# B* N7 b8 M( l/ k: B
  1214. ; at MYSQL_PORT.; L6 N2 J) H1 K* s( f+ C2 {
  1215. ; http://php.net/mysqli.default-port* S4 S6 x# {! d: H- o
  1216. mysqli.default_port = 33064 ]2 t2 X; f% s
  1217. " J  Y' L; Y/ D+ _
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    - R5 T4 K6 _- M
  1219. ; MySQL defaults.0 ?4 o" a( w$ C- C4 P
  1220. ; http://php.net/mysqli.default-socket
    # a# ~6 ~8 G. U. M/ D. K- J
  1221. mysqli.default_socket =
    ' C' Q1 |3 p6 K5 ]

  1222. 3 i! g: M( `$ O' ~, s
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    ; z4 `7 p1 t8 `" l6 Y, j
  1224. ; http://php.net/mysqli.default-host2 l1 C! d( b$ _: i6 [1 }
  1225. mysqli.default_host =0 x/ |. b0 T% }% r/ ?# \

  1226. 2 ~  ^/ u% ?/ y% |/ \' S
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).+ s/ a  l0 O: E: n# x2 [, M
  1228. ; http://php.net/mysqli.default-user# p  |: N" n3 ~+ \- H0 V+ d# g
  1229. mysqli.default_user =0 V4 X' W2 _/ X7 ]- I
  1230. * H8 W1 F+ ]3 N! X6 W
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    8 B; l- l1 _, f9 B1 v9 L
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.( V, {% G- \: z: u6 @! i+ U8 c
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    ( h! \/ w6 I7 L3 {- @) G
  1234. ; and reveal this password!  And of course, any users with read access to this3 n5 b; W. ^$ d2 y$ V* v5 E( d
  1235. ; file will be able to reveal the password as well., x8 v7 e% Q# ]1 H8 J+ N
  1236. ; http://php.net/mysqli.default-pw
    ( D* W0 A) h. S" t- A& j0 y, L
  1237. mysqli.default_pw =/ L3 M# r) u: q! E( c, J6 ]
  1238. ' J. ~) E8 t9 }& Y6 q
  1239. ; Allow or prevent reconnect
    * t0 O/ |' U( m" r" Y. t6 N) S
  1240. mysqli.reconnect = Off
    % k$ F+ D) }: c  g; T# j+ ^

  1241. - f) ~: \7 R4 a3 L" h$ ^3 u
  1242. [mysqlnd]( O* ?* W7 K6 z2 g
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    3 K+ }- v/ J( d: i$ k& p
  1244. ; used to tune and monitor MySQL operations.
    / N( L1 v6 W. l' S* w( U4 l* |  I
  1245. ; http://php.net/mysqlnd.collect_statistics
    - W2 T! N8 x! T/ g$ o! a8 O( Z
  1246. mysqlnd.collect_statistics = On# m: l4 i- U/ Y2 T  m1 }6 y2 M

  1247. 2 m/ H$ J" q- U# ~# @: X
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be
    4 i: L, x1 e8 X4 z. }8 {
  1249. ; used to tune and monitor MySQL operations.
    % ]  h" `! K: W% Z  X6 I# ~6 `1 E1 K3 q; w
  1250. ; http://php.net/mysqlnd.collect_memory_statistics1 L& B0 d6 _: w4 e6 G8 {( r$ }0 f
  1251. mysqlnd.collect_memory_statistics = Off
    9 M7 D0 A; d, N& B6 l2 Q" L0 y

  1252. , a+ p/ |9 \1 R
  1253. ; Records communication from all extensions using mysqlnd to the specified log; X! h9 c* ^+ @
  1254. ; file.+ J, Z, \0 l6 e* N$ j
  1255. ; http://php.net/mysqlnd.debug
    9 z- r  k* ?$ b6 ~4 Z- i
  1256. ;mysqlnd.debug =
    1 l- |$ ]* C8 x: j+ P9 D# V
  1257. - L, P% o; z; G  U4 i
  1258. ; Defines which queries will be logged.  [6 I, T) V. y$ \: T  _5 d* v6 n( @
  1259. ; http://php.net/mysqlnd.log_mask
    ' I4 s# I! t" R8 V+ w4 Y/ I% R
  1260. ;mysqlnd.log_mask = 0: y  U! R  q- d. J/ W
  1261. * k; c5 q4 q1 Y0 o  P6 V* ?
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    8 O/ ^9 l; }6 h# `* D9 ?+ D1 d
  1263. ; http://php.net/mysqlnd.mempool_default_size' `2 z# u( q' @0 o( h5 ?9 v) P% L. v
  1264. ;mysqlnd.mempool_default_size = 16000) W6 L/ l. l3 G* l* h; w; M
  1265. ; N6 A+ Q* g, H8 Y* v# c3 o& D5 {
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    1 M. L6 V/ A, F. ^9 f( Z
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    ) m0 k. [8 S6 n1 w! S( g5 C
  1268. ;mysqlnd.net_cmd_buffer_size = 2048! P% s. r2 A1 l

  1269. 2 ?9 u4 o$ i) W- K
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in
    % V0 Q$ f3 i. X+ v
  1271. ; bytes.
    & N8 u. r3 C, r9 `  D$ |6 y
  1272. ; http://php.net/mysqlnd.net_read_buffer_size: Z0 z) h# W, `! j2 @
  1273. ;mysqlnd.net_read_buffer_size = 32768
    % ~) s5 _' A, {: O& R& n

  1274. ) U' t7 u9 p  ~, k( D. J
  1275. ; Timeout for network requests in seconds.; P* a# @5 Y  O/ o3 f6 T
  1276. ; http://php.net/mysqlnd.net_read_timeout; J* @9 Q: i( _  [/ E
  1277. ;mysqlnd.net_read_timeout = 31536000$ b- U) ^. n5 H8 {9 R

  1278. 4 U: p& |& @4 g8 \$ P1 u9 I
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA0 s" m9 B' a5 E$ X/ @" F( q4 E2 D2 u
  1280. ; key.
    0 M! Y8 D$ \( X& v+ [' X( K* d
  1281. ; http://php.net/mysqlnd.sha256_server_public_key5 a$ \% x7 P; R
  1282. ;mysqlnd.sha256_server_public_key =
    ( C  h3 k9 F/ O0 h' E/ I5 {4 |( u

  1283. / u: W# N9 W+ O! P
  1284. [OCI8]
    / k3 ]  d/ l8 V' t. P1 x

  1285. & l' N( |, Q, j6 H# g& a9 _
  1286. ; Connection: Enables privileged connections using external
    * v" m! G# }' ?
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)2 V# ~9 X& `* M5 O& J! H& \) Y
  1288. ; http://php.net/oci8.privileged-connect
    # v( S4 X& O: n8 M
  1289. ;oci8.privileged_connect = Off
    . y8 k/ I+ A- x3 {

  1290. 3 S! z! y. n2 N  d8 o1 _7 W
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    % C2 I  u& v' g/ Y' b# j7 S! S
  1292. ; process. Using -1 means no limit.- t; ], [0 O8 X* T, v( m8 Y
  1293. ; http://php.net/oci8.max-persistent5 Z0 {8 @# \" q: ^
  1294. ;oci8.max_persistent = -1
    & U  t/ B; w: G  }3 W& b3 K$ ~

  1295. 2 p" z! s+ y$ {7 V/ T$ `6 K& P+ X! j# Q
  1296. ; Connection: The maximum number of seconds a process is allowed to8 j/ R4 G6 W1 X( J5 g3 h# M
  1297. ; maintain an idle persistent connection. Using -1 means idle
    ; {5 ]: _" m  k
  1298. ; persistent connections will be maintained forever.6 R" V; Q0 L& ]& S7 b
  1299. ; http://php.net/oci8.persistent-timeout; G, ]1 [6 c9 \9 \3 K, W7 B
  1300. ;oci8.persistent_timeout = -1
    4 ^4 Z: d& k8 \; m8 x* [! p, F

  1301. 7 J. R3 @. ]* C0 A( D& U
  1302. ; Connection: The number of seconds that must pass before issuing a- @6 n- N5 v$ C2 A+ }
  1303. ; ping during oci_pconnect() to check the connection validity. When  O( J2 G/ W3 G2 r  }* E
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables1 \6 d: K' X% o+ a
  1305. ; pings completely.; _8 n* }1 ]  n, w1 ]7 }
  1306. ; http://php.net/oci8.ping-interval+ g1 k+ n* [+ w0 B
  1307. ;oci8.ping_interval = 60
    7 w. K6 O# r( A& G5 W/ ~
  1308. / `3 a, E7 T8 E' a
  1309. ; Connection: Set this to a user chosen connection class to be used; [; [6 |$ D" M
  1310. ; for all pooled server requests with Oracle 11g Database Resident9 V2 O* j9 |7 N7 O1 K% g0 C! S9 S) {
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    4 G" ]1 i* w9 D' N2 D) n! U
  1312. ; the same string for all web servers running the same application,6 ^6 _% }3 Q7 b, r+ [$ l7 F
  1313. ; the database pool must be configured, and the connection string must
    1 @9 p" t' \. t+ ?4 m( n
  1314. ; specify to use a pooled server.
    0 D; Z3 U$ P% [1 }- d9 r# F3 K+ a
  1315. ;oci8.connection_class =
    " R, o, e8 H; n" @9 _- b; ~. I

  1316. 2 W: K' I8 r  B. C
  1317. ; High Availability: Using On lets PHP receive Fast Application
    ' b, b# M2 f1 B3 x, p
  1318. ; Notification (FAN) events generated when a database node fails. The/ }' g; Z: a2 h* f  r  G; p
  1319. ; database must also be configured to post FAN events.
    9 W3 S+ [. @6 {5 p3 B
  1320. ;oci8.events = Off
    + R& c) N& p8 q2 n, `
  1321. 7 f8 A! n2 \& n2 |
  1322. ; Tuning: This option enables statement caching, and specifies how
    + I8 H+ [3 A, p* _4 a9 H" }& J
  1323. ; many statements to cache. Using 0 disables statement caching.% g- @( y9 V/ H" c/ ~$ Q+ \' T
  1324. ; http://php.net/oci8.statement-cache-size; Z& N: K- N* z" L- K) {" j
  1325. ;oci8.statement_cache_size = 20
    - m/ P$ W1 N4 e, l

  1326. 7 U* T  C$ x& @6 p7 J4 L5 B
  1327. ; Tuning: Enables statement prefetching and sets the default number of* u. k- E$ y9 K) n7 s
  1328. ; rows that will be fetched automatically after statement execution.
    # @* n+ j) ^$ G) ]/ W* f
  1329. ; http://php.net/oci8.default-prefetch
    ( p8 Z$ G' B) o
  1330. ;oci8.default_prefetch = 100; D$ Y; r) h* R
  1331. . }- S# E; }6 v# k$ C! e9 M
  1332. ; Compatibility. Using On means oci_close() will not close
    & z4 p2 C8 L( z% Q8 {: Y' P/ ^* F. f
  1333. ; oci_connect() and oci_new_connect() connections.: X2 \8 ]+ \5 X( [
  1334. ; http://php.net/oci8.old-oci-close-semantics: k, p( f8 B1 n/ M
  1335. ;oci8.old_oci_close_semantics = Off! t# X  i1 V# h9 G
  1336. 7 g5 N! o: q& i* S' u
  1337. [PostgreSQL]
    ! N6 o' }; m: Z5 p0 ^6 v6 }( D
  1338. ; Allow or prevent persistent links.9 y# T) _& A+ A0 R& [* L, C  F
  1339. ; http://php.net/pgsql.allow-persistent
    " ^$ y. R& _+ V1 C: Y6 @: N
  1340. pgsql.allow_persistent = On
    4 w6 `( A! M+ r

  1341. 7 J1 w! w! Q4 g# p- [
  1342. ; Detect broken persistent links always with pg_pconnect().
    ) ?4 ]  |# t) u6 d8 U. P+ n, l
  1343. ; Auto reset feature requires a little overheads.
    ; A& w  N' J( x
  1344. ; http://php.net/pgsql.auto-reset-persistent
    . s$ o: }) t/ Q3 w2 n0 p
  1345. pgsql.auto_reset_persistent = Off
    0 n% b3 {0 I& O" O1 i

  1346. # w4 _, B( R& [
  1347. ; Maximum number of persistent links.  -1 means no limit.0 U$ r; @! }4 N. C
  1348. ; http://php.net/pgsql.max-persistent
    # n! Z. g  }# |4 {$ R( _
  1349. pgsql.max_persistent = -1  L0 ^3 t0 F; J5 N8 t
  1350. 1 F# S* Y( x5 T& F; S/ |7 D
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.3 Q  n+ c% H/ ?* g
  1352. ; http://php.net/pgsql.max-links' ~& V& k8 C2 k6 H# j$ O- @
  1353. pgsql.max_links = -1( S& p( s- C* q. F8 k/ E: t2 L

  1354. % g* T. M# Z& [0 r" T- k
  1355. ; Ignore PostgreSQL backends Notice message or not.
    % d- g9 D/ r; f  w
  1356. ; Notice message logging require a little overheads.
    . o9 _  q% m" Z. u  s% u1 E: E
  1357. ; http://php.net/pgsql.ignore-notice
    , H  I1 j8 K7 }. U6 [" _0 y9 [6 ^
  1358. pgsql.ignore_notice = 0
    7 s  k9 t* w6 i( v' s9 Y8 }

  1359. % s  E& Y8 z7 V5 H
  1360. ; Log PostgreSQL backends Notice message or not.
    0 s  \) D  ^% q
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    ! m" H" H1 Z# q, v
  1362. ; http://php.net/pgsql.log-notice
    , D2 Z( k0 p' D9 m; e8 R7 `
  1363. pgsql.log_notice = 0* a. g! H  c" H# P- \
  1364. # d. Z0 B, ^- _( \
  1365. [Sybase-CT]
    . _( `9 S7 z2 q& p; ?# T' g
  1366. ; Allow or prevent persistent links.9 b0 f# V& `1 b3 A$ M
  1367. ; http://php.net/sybct.allow-persistent: q$ \& q' i! Y0 B8 Y
  1368. sybct.allow_persistent = On
    $ O) q! T# S. Y. H" y6 r4 ]

  1369. ( d, R* W5 v. f) X
  1370. ; Maximum number of persistent links.  -1 means no limit.- T8 @* C4 f3 c, l! }
  1371. ; http://php.net/sybct.max-persistent) T. b. ^( ]7 b! N) `1 e  R( ^
  1372. sybct.max_persistent = -1# [& X8 ^! E; ^
  1373. 2 Z! M8 N3 j$ h/ ^
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    4 e7 `4 ~0 N' S7 A: i# ~
  1375. ; http://php.net/sybct.max-links
    / T  v% L& _2 T& ^+ V; {7 X
  1376. sybct.max_links = -1
    ! ^2 Q- X7 X/ h2 g! ~

  1377. , g: v, G8 U0 k- z7 ^/ K: {
  1378. ; Minimum server message severity to display.5 T. t/ X4 F  k7 N- r
  1379. ; http://php.net/sybct.min-server-severity- `4 N$ S( F6 \. e7 [: m( w+ q3 i
  1380. sybct.min_server_severity = 10- O& E" F/ x) `3 v$ k: v

  1381. 2 J# a2 }5 i8 z. G" Q5 F) B* x
  1382. ; Minimum client message severity to display.
    ' j4 m5 r& g& w
  1383. ; http://php.net/sybct.min-client-severity
    $ P! i9 H3 k! x+ H3 P( _; P7 V1 ]
  1384. sybct.min_client_severity = 106 P) I& h1 n$ l4 d6 P; B
  1385. , q  g7 O! b6 J* l- [; [
  1386. ; Set per-context timeout
      x' c$ `2 s) E$ g6 s( s! H
  1387. ; http://php.net/sybct.timeout) L$ _: v8 l8 C% X8 O. g+ E
  1388. ;sybct.timeout=
    9 \& \, v0 x3 I! G( y. U3 C2 ^$ q' H

  1389. 0 t' {, f  U( D5 L2 @
  1390. ;sybct.packet_size0 {( O7 V  D# X8 a8 t; l1 F# w" ^
  1391. - a5 ?5 |. C% h4 X0 W: D
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    3 G6 x3 z: f6 X3 R# h) I7 M
  1393. ; Default: one minute
    / a2 g' [6 w9 o4 V! v7 O" v
  1394. ;sybct.login_timeout=! _: j/ L; H# y
  1395. 5 t, t0 H2 R6 o
  1396. ; The name of the host you claim to be connecting from, for display by sp_who., [# H0 h- z. V6 U! E" k' ^
  1397. ; Default: none! v" D; n8 S$ n6 x3 X2 }
  1398. ;sybct.hostname=, w+ o) n1 K" G- `+ v5 ?3 x
  1399. 2 h9 @0 t  d! J6 J! R) j$ [8 w2 }
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".5 p3 _7 u/ e! Y' {4 S& D* a
  1401. ; Default: 0) T: z/ b* f* M1 u2 J+ K; G$ B* K
  1402. ;sybct.deadlock_retry_count=2 ~  b& K' v8 j* r; v+ `6 V

  1403. % |3 V. K) g5 J, H. s- L& e! n! }" R
  1404. [bcmath]  c% m/ e% a/ r2 ~8 g
  1405. ; Number of decimal digits for all bcmath functions./ e: T2 t* I9 ^2 ~
  1406. ; http://php.net/bcmath.scale
    2 g9 N. i7 }; Z+ \6 g# ^& i
  1407. bcmath.scale = 0
    9 I9 h2 E5 J/ z/ K$ q' `% F9 U

  1408. ; Z8 H: L7 J6 `3 J6 D4 V( f; \
  1409. [browscap]
    ( }; y7 g! @3 H" }% d) U' K
  1410. ; http://php.net/browscap- G% l3 g0 @$ s# o9 l8 C, A1 q
  1411. ;browscap = extra/browscap.ini9 v: J+ d1 G! h% D# \
  1412. ! P5 i# A+ l: l, d7 e, t- b
  1413. [Session]9 y6 ]# J/ e9 K1 {7 q% A3 y
  1414. ; Handler used to store/retrieve data./ i! Q- u8 H. I2 T
  1415. ; http://php.net/session.save-handler
    * a0 _( N4 K+ g; W. n. g
  1416. session.save_handler = files
    : d5 v: j  N* u

  1417. 5 {" i# t8 ~) d- D3 }
  1418. ; Argument passed to save_handler.  In the case of files, this is the path0 g7 G3 A" Y: X; f. t: |: D
  1419. ; where data files are stored. Note: Windows users have to change this% M# l, G/ [- J+ C; }; a1 Y* |
  1420. ; variable in order to use PHP's session functions.( J; e1 M8 z$ y. F, d! L7 u3 P
  1421. ;% r/ O$ ^! Y( H! j) m1 b% B
  1422. ; The path can be defined as:
    3 i" F1 L& x( V
  1423. ;; R; ?2 |8 r( o& J
  1424. ;     session.save_path = "N;/path"
    - `& x6 |- z9 j4 P, p' Q
  1425. ;
    ( [4 H4 F; P5 A! I  F2 G; {! Y/ ?
  1426. ; where N is an integer.  Instead of storing all the session files in
    0 V9 \4 Z! W! U
  1427. ; /path, what this will do is use subdirectories N-levels deep, and7 u- X: |9 w2 ^) @
  1428. ; store the session data in those directories.  This is useful if
    ( v$ Z: |5 d0 j* F& h! g( }4 V% @
  1429. ; your OS has problems with many files in one directory, and is
    - ^% W1 @/ O+ O0 b/ d" n! \* g! v  E
  1430. ; a more efficient layout for servers that handle many sessions.
    ! ]1 ?- ^& Y  d1 f  C
  1431. ;' T$ }7 \0 G6 M
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    3 c( z. t, P# m3 x
  1433. ;         You can use the script in the ext/session dir for that purpose.
    . a# @6 h1 B1 S6 k* o3 C3 Q+ ]: f. q
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    ) R  h( L, r: c, D) i
  1435. ;         use subdirectories for session storage
    2 p6 V* Y& O, |3 _, ?! N7 x9 p
  1436. ;$ M9 R3 R  Z) W3 I: [: p
  1437. ; The file storage module creates files using mode 600 by default.
    $ c0 X+ d5 o/ @; J6 s4 O7 ]' `: U
  1438. ; You can change that by using  \( @" e* H2 J8 J
  1439. ;
    # q9 V' g9 S0 u% Y+ Y, }
  1440. ;     session.save_path = "N;MODE;/path"+ `; c, r" \. I- R; K
  1441. ;: x; D: o' L, q
  1442. ; where MODE is the octal representation of the mode. Note that this' H' m& o6 `% F
  1443. ; does not overwrite the process's umask.& I! s) K( @8 I) T% b% Q. R
  1444. ; http://php.net/session.save-path; r+ K4 t. A! v- y
  1445. ;session.save_path = "/tmp"  O: `3 Z9 O1 a

  1446. 3 Z* X4 E" a+ r8 h1 J5 |- J
  1447. ; Whether to use strict session mode., I  W, \1 e: i5 n) g9 E
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate0 U- T* M& u0 Q" _  x' f( o
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects% |( ~- j% p$ _' q0 Z1 q
  1450. ; applications from session fixation via session adoption vulnerability. It is
    % K" s; y/ Q: u0 s3 d. e
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    9 u- j- D0 O# }0 ~8 b' d- t
  1452. ; https://wiki.php.net/rfc/strict_sessions
    $ S. W, n8 t/ W, V+ _
  1453. session.use_strict_mode = 0
    ' ]4 z0 P; b$ D1 ], I
  1454.   T* q8 k4 x: m5 ^' g
  1455. ; Whether to use cookies.
    8 r' X0 `7 P- ^3 N9 o8 r
  1456. ; http://php.net/session.use-cookies
    7 a3 ~4 y% [$ t) }6 U) l" I6 b/ b
  1457. session.use_cookies = 12 r; B( {0 ^& }! y2 b* j
  1458. ; M1 v% n5 q! g5 ]
  1459. ; http://php.net/session.cookie-secure- V  e+ Z  ]" j! O# h
  1460. ;session.cookie_secure =
    * K& S6 L0 L) T8 t2 a9 ^

  1461. ! H6 l7 [9 F9 X" g6 C% L" d( |
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining9 r' v& u% F- P9 @0 O
  1463. ; the session id. We encourage this operation as it's very helpful in combating3 _8 A3 K% i% l) y# L
  1464. ; session hijacking when not specifying and managing your own session id. It is
    $ p! e- i( N' T9 l
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.+ H% Q3 o& o! C) t
  1466. ; http://php.net/session.use-only-cookies2 y! b$ w7 s6 P/ h  g
  1467. session.use_only_cookies = 1$ o) |$ j% T" d- C9 F
  1468. - ~9 U9 R8 o" J
  1469. ; Name of the session (used as cookie name)./ c- X0 a3 R' h+ I
  1470. ; http://php.net/session.name- y$ O; D1 z9 `6 _5 N; r
  1471. session.name = PHPSESSID4 C" V5 _' z* @" N+ G: w+ S

  1472. 7 y1 E0 a7 T6 r& `! Y
  1473. ; Initialize session on request startup.  n- P; U" x7 O" b+ s" p" E
  1474. ; http://php.net/session.auto-start# V$ K9 t, G! I1 D
  1475. session.auto_start = 0
    5 x  s; O5 U4 j4 J$ e$ r
  1476. 9 T  ~1 p4 Y% `: |
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    6 i. _3 z3 E2 p9 |& ?" T1 ?
  1478. ; http://php.net/session.cookie-lifetime# q7 C1 F6 J& z( ^: M
  1479. session.cookie_lifetime = 0
    2 d8 Q5 p2 D6 y6 ~5 K5 D) |
  1480. 2 V# h+ y/ Y1 ~$ E6 ?
  1481. ; The path for which the cookie is valid.1 J4 _! S) p, r% W3 T
  1482. ; http://php.net/session.cookie-path3 k- t- E/ w6 F, P5 T
  1483. session.cookie_path = /: |; G. J% q* O9 }
  1484. ; [, @7 ~4 q5 g/ g# y3 g$ {
  1485. ; The domain for which the cookie is valid.; J2 R  h6 A) X( u
  1486. ; http://php.net/session.cookie-domain, `# z9 S' K0 c- V; ~
  1487. session.cookie_domain =
    . C+ B5 V* O; c: M; e
  1488. % x1 W& y  j& T, [1 ]7 L, o
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.+ W: t$ ~* c: X1 {* N0 h
  1490. ; http://php.net/session.cookie-httponly; O* b, p& h1 \& j# A
  1491. session.cookie_httponly =# ~! ]2 N6 H5 p$ N* G
  1492. ' f! t- p7 K$ R9 I, c4 ?
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    ) y6 d! u+ p7 \, t( ^, D
  1494. ; http://php.net/session.serialize-handler
    ( W& t7 ~' _4 h; @3 p
  1495. session.serialize_handler = php
    9 T7 d( l$ }$ X& n( K

  1496. " ]! w. f" T6 l9 v* e5 L9 c( u
  1497. ; Defines the probability that the 'garbage collection' process is started) Y+ B8 l2 l' x* G# t; K2 s
  1498. ; on every session initialization. The probability is calculated by using5 m# D" X+ w9 d" x' N
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator3 p& N" _. c* }5 a2 {' Y
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1( p( f7 w! k3 T, Q( W
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance% \4 A# r& l7 B/ R0 [
  1502. ; the gc will run on any give request.
      A* w% t$ t" O* B  W/ Z6 X5 s
  1503. ; Default Value: 11 i0 D. F; g: u) z; a8 M
  1504. ; Development Value: 13 y2 |( O5 x8 K3 Z" K
  1505. ; Production Value: 1
      g: L0 Z0 t- {1 F: e
  1506. ; http://php.net/session.gc-probability) @; l/ W& J/ o1 p5 n' B; D- c
  1507. session.gc_probability = 15 s4 _+ {& X* j# ]' r

  1508. , Q3 h; v9 h& C: V6 p  r# r  i  ?
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    * O( K, e7 D& z. k$ ?2 G+ K
  1510. ; session initialization. The probability is calculated by using the following equation:
    9 N% r! ]& A9 b  G& n5 w
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    - d. O  P/ F' @, L% D
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    + ~" B$ f- V5 i: T
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    3 c, h9 I6 p) K. b% z7 U* I
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
      ~# S# ?& j8 k5 h+ x! y$ Y
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    & p8 t# q" f5 @; x
  1516. ; this is a more efficient approach.- Q5 h9 m: w/ [/ _  `2 p
  1517. ; Default Value: 100
    ; k- V- ^$ Z+ U7 R! H2 \
  1518. ; Development Value: 1000: g! n9 X) i% H/ }
  1519. ; Production Value: 10003 ?; p6 g/ P) l* ~
  1520. ; http://php.net/session.gc-divisor8 `' M' I! |( F+ h0 w2 ^* F* |
  1521. session.gc_divisor = 1000/ k5 v2 j1 k4 ~3 u; Z  Q# C9 k; q
  1522. % s/ W. E2 e3 E; D0 k& }  m
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and) y9 t! M# G6 a
  1524. ; cleaned up by the garbage collection process.
    7 V2 Q4 ^, D6 D7 i
  1525. ; http://php.net/session.gc-maxlifetime
    + F5 y8 \9 g* `5 G+ _
  1526. session.gc_maxlifetime = 1440* a3 D. l6 U) a% h
  1527. 0 P9 w/ l" ~* y8 Z1 @' C
  1528. ; NOTE: If you are using the subdirectory option for storing session files! e  \! [( V- _" |* S: R
  1529. ;       (see session.save_path above), then garbage collection does *not*) w+ o; n- D$ X) Q; w+ X" k6 J
  1530. ;       happen automatically.  You will need to do your own garbage4 J- I3 C7 {! F+ a- ?6 @) h0 i
  1531. ;       collection through a shell script, cron entry, or some other method.
    2 m# {" D& }5 X& v  w8 `* M' \, x
  1532. ;       For example, the following script would is the equivalent of) o5 U: C7 g  a+ g; M
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    4 q+ A: y/ B) U5 `
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm9 L! P$ i% c8 o" l& C) p

  1535. * g3 Z! I% ]3 o7 m
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    , c( Z* ~, \. r+ W$ W  L7 m4 @) j
  1537. ; HTTP_REFERER has to contain this substring for the session to be7 n( j5 E  K" M( r: Z3 ]8 r
  1538. ; considered as valid.# y, {! _/ ]4 d" s
  1539. ; http://php.net/session.referer-check! I, b- I' l( b$ v# I. P2 L+ Q
  1540. session.referer_check =; D: t' s- H6 g
  1541. 8 u& s; y0 l  o% C. ~
  1542. ; How many bytes to read from the file.( U* ?% P" ]* j
  1543. ; http://php.net/session.entropy-length
    . [; ~6 [* c7 q' v( H& O9 b' k
  1544. ;session.entropy_length = 32
    - B- |4 ]# t2 v

  1545. + n# P7 C* s4 g6 i! W4 [, a! R* G
  1546. ; Specified here to create the session id.
    , r$ g5 y. l$ T
  1547. ; http://php.net/session.entropy-file
    8 X; `) ]$ Q6 c4 M4 H
  1548. ; Defaults to /dev/urandom
    , \+ O/ j4 O8 t( t( T: P
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom( F, J& c: k+ a2 f. b! `+ x
  1550. ; If neither are found at compile time, the default is no entropy file.
    % s  M$ |4 V, }9 i
  1551. ; On windows, setting the entropy_length setting will activate the
    2 M# Z& R. y- N- |* j
  1552. ; Windows random source (using the CryptoAPI)+ M3 B- d/ v9 ?: O
  1553. ;session.entropy_file = /dev/urandom  H! ~+ b. k- G

  1554. ( U/ ~2 E, g) h; }
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    ' a1 K6 W% A6 _6 o7 y) E, d
  1556. ; or leave this empty to avoid sending anti-caching headers.7 o& H" H. A* J5 e
  1557. ; http://php.net/session.cache-limiter0 L% a1 b0 s/ z) ]
  1558. session.cache_limiter = nocache3 U/ u/ i  m* N

  1559. & W9 p; {' H1 |$ \5 j1 ^
  1560. ; Document expires after n minutes.
    # r; @& ~5 Z. j: p) G# {' r' I
  1561. ; http://php.net/session.cache-expire
    ( v1 p$ q; i5 }: N
  1562. session.cache_expire = 180
    7 m! u6 H6 u3 b, C* n8 e# U
  1563. - g" ~" h& L& h0 Q, P% p
  1564. ; trans sid support is disabled by default.  j1 r: n+ r/ ]* P8 e
  1565. ; Use of trans sid may risk your users' security.
    + P2 |* A: q5 |4 f" Q+ h8 s9 q
  1566. ; Use this option with caution.9 a2 V# y' I8 E) f" L
  1567. ; - User may send URL contains active session ID
    . A' M) z/ @$ H+ K: n, [
  1568. ;   to other person via. email/irc/etc.$ `% a! o5 ]& N0 y' S
  1569. ; - URL that contains active session ID may be stored
    1 p: U, y1 H0 g9 h$ \" g
  1570. ;   in publicly accessible computer.
    3 T; U$ J5 P9 ?' |3 x' R6 W
  1571. ; - User may access your site with the same session ID
    # m! \' C# E2 x- Q! S/ {; o) V
  1572. ;   always using URL stored in browser's history or bookmarks.
    2 A, I  m# ?: q! ]& x
  1573. ; http://php.net/session.use-trans-sid$ g6 F; w* m5 y! C
  1574. session.use_trans_sid = 0
    # m# F, `0 ]* L  Z8 p

  1575. 9 q7 J4 h' g8 |4 K; Z8 o
  1576. ; Select a hash function for use in generating session ids.% e$ Y, V- r, l! e# }& N- m; k$ O
  1577. ; Possible Values
    ) W6 R( ~2 S2 K& N* k
  1578. ;   0  (MD5 128 bits)
    9 }* |" U1 M7 P4 b# z, o+ w
  1579. ;   1  (SHA-1 160 bits)
    , s/ S* {; w0 B0 m+ O
  1580. ; This option may also be set to the name of any hash function supported by
    4 g* e: {" R$ ]' U
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()" D/ b& _6 K- I4 L1 K( Q
  1582. ; function./ W) _' U0 ~8 c/ ?8 w" g. p! v
  1583. ; http://php.net/session.hash-function
    + e: G3 b( M1 W0 O
  1584. session.hash_function = 0  y' v# T* D9 g5 Y- j9 L" x0 s& S
  1585. 1 o# S, _% n" Y# u: P3 A! h  `9 ]
  1586. ; Define how many bits are stored in each character when converting
    + s2 e: A& C: j1 \! T- W& ^# P, t: H
  1587. ; the binary hash data to something readable.9 ?3 V& P' o: |8 U9 _$ j8 Z
  1588. ; Possible values:2 h8 r- I, V  E+ q6 V% S& E
  1589. ;   4  (4 bits: 0-9, a-f)! F% F  ~% u/ I1 ?
  1590. ;   5  (5 bits: 0-9, a-v)
    - \/ o! K6 V/ _! S1 P; d/ f) w
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    ( j0 ~/ D& j$ g3 [/ i% w
  1592. ; Default Value: 4* D2 U! ]9 h& @! S2 L* a% \
  1593. ; Development Value: 5
    ( H/ {5 E  I4 h2 t  ^6 |
  1594. ; Production Value: 5
    2 O) ]# R4 F" I9 W9 X: q
  1595. ; http://php.net/session.hash-bits-per-character
    5 W$ w/ b/ }& u0 ]
  1596. session.hash_bits_per_character = 5* o% `( ~, i$ ~7 G# V% L
  1597. . W) y6 q; p! W  ?- j4 u7 i
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.+ R8 H0 a* w: d' `! Z# C; p
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    . }- \! g' [! l" M( P
  1600. ; add a hidden <input> field with the info which is otherwise appended6 }3 M, i- Q8 D+ V: O) Q# m+ R
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.2 @7 Q4 e- z) ?5 O
  1602. ; Note that all valid entries require a "=", even if no value follows.6 c7 ]1 M  D, y% Q: [7 P3 ]
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    * i. b) n1 J9 O1 g4 _8 X- ^/ z) _
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"1 F' A$ I! J5 a" T
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"$ z: m% G3 i1 ~- s7 C
  1606. ; http://php.net/url-rewriter.tags8 l2 c) u/ `, l3 h" o8 D  ~. \, X
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"8 E& i, H0 o) m9 p/ `

  1608. " u* R( g. e4 C# ?
  1609. ; Enable upload progress tracking in $_SESSION
    / c& p/ b. h9 d; o$ v* t
  1610. ; Default Value: On7 ?; c+ t. Y' Y9 J. |
  1611. ; Development Value: On
    - Z7 o% v+ ^8 V1 v8 \6 w# x
  1612. ; Production Value: On
    " d" v% j5 {% q  @3 {' p
  1613. ; http://php.net/session.upload-progress.enabled) a3 j& Y% G/ }% S* U8 ?; ?# D
  1614. ;session.upload_progress.enabled = On& ?& l6 W& Z/ N* G! D/ V

  1615. ! u* }. Q5 A4 Z$ s! d) F
  1616. ; Cleanup the progress information as soon as all POST data has been read
    ' A+ p% s: M/ M& x% L$ j: W( a
  1617. ; (i.e. upload completed).
    - E, H% Z  N6 u/ ?) r  y9 \9 R
  1618. ; Default Value: On- S6 [7 x, |/ s+ b) S) \$ p$ w9 ?2 w
  1619. ; Development Value: On  c5 K: S! n- K
  1620. ; Production Value: On
    ) w4 f. E0 ^- g4 ^5 Q; W6 i
  1621. ; http://php.net/session.upload-progress.cleanup! N5 C# u+ q8 G7 k! x
  1622. ;session.upload_progress.cleanup = On
    2 u1 g- {$ X7 F8 b- g8 F

  1623. : U: Q! A  ]$ ^! S
  1624. ; A prefix used for the upload progress key in $_SESSION
    ! F" g4 z$ H/ ^3 H6 j0 K
  1625. ; Default Value: "upload_progress_"1 A  s. d3 P( A
  1626. ; Development Value: "upload_progress_"! A8 k* Q7 D5 @7 x- j
  1627. ; Production Value: "upload_progress_"
    9 F' I8 s; t9 }  }0 }
  1628. ; http://php.net/session.upload-progress.prefix/ z! h  v5 s3 B' T3 C
  1629. ;session.upload_progress.prefix = "upload_progress_"; P7 T1 X( z, x7 N# }3 t
  1630. 7 r, b. a# N4 v% c
  1631. ; The index name (concatenated with the prefix) in $_SESSION& W; h6 v1 ?4 N* i8 w3 _
  1632. ; containing the upload progress information
    9 u4 Q0 V% C/ H  v$ ~
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    8 J. _7 V) g, \, m9 w
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"7 ]# P, ~  o6 A  _: _
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"6 N: B# q4 M) N6 \
  1636. ; http://php.net/session.upload-progress.name
    ; N( g" ]5 n2 i% C' q
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    & ?. H  n2 ]9 Q7 L
  1638. 5 O+ \- Z- q1 k8 _
  1639. ; How frequently the upload progress should be updated., m/ s2 F* Y3 Z% V# n- b
  1640. ; Given either in percentages (per-file), or in bytes
    , V' E8 f& a" t  L9 v- [( i
  1641. ; Default Value: "1%"; Z" R; P, u/ M' E
  1642. ; Development Value: "1%"
    % \! c9 a6 V2 @. Q: b$ o* o  [. L
  1643. ; Production Value: "1%"
    8 o: }. h4 |8 N8 N7 N
  1644. ; http://php.net/session.upload-progress.freq
    " o) P4 x8 J% I
  1645. ;session.upload_progress.freq =  "1%"
    0 i6 f0 @# e' l, i
  1646. 5 d; ~& d/ i& V' J# B1 S" \
  1647. ; The minimum delay between updates, in seconds
    9 F! I; k) J6 {. W8 M. p
  1648. ; Default Value: 14 C6 j9 c4 c  s2 V
  1649. ; Development Value: 1
    6 q" Y. o9 Z7 F: b9 x
  1650. ; Production Value: 12 Z. v: D* |+ ~! S
  1651. ; http://php.net/session.upload-progress.min-freq* }" I0 o4 N0 z) D& R
  1652. ;session.upload_progress.min_freq = "1"
    ! b( u0 P; X7 w( {4 U; M$ U  @$ A
  1653. + q8 e: z: |9 A7 n0 C* F2 f. {2 }
  1654. [MSSQL]  ?4 K- Z: Q4 v2 h6 F* h! D6 t/ t! n
  1655. ; Allow or prevent persistent links.- f# f7 n" Y6 c2 {
  1656. mssql.allow_persistent = On, o8 O8 M$ }7 Y0 V" ~! E

  1657. # O4 q, I$ X) D6 [" L( B8 f: D8 v
  1658. ; Maximum number of persistent links.  -1 means no limit.
    / g- V& Z) ]9 }
  1659. mssql.max_persistent = -1
    ) x% r, |; o7 D: @4 _4 _* C& R

  1660. 8 `& B% P6 R8 L4 V+ E6 E7 E
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    * N; w1 m# d# ]3 F
  1662. mssql.max_links = -1
    + ~/ }, G5 H& V! z5 X5 \

  1663. 0 R2 o% {6 [1 }, I' M% Y. U4 E
  1664. ; Minimum error severity to display.
    3 |( o5 c; y0 y$ U) T5 P
  1665. mssql.min_error_severity = 10( S- b3 P# D) |/ J0 B3 e
  1666. - x2 _; K' `# d
  1667. ; Minimum message severity to display.0 q# @9 C- H7 V) j) W
  1668. mssql.min_message_severity = 10
    4 X) }7 j" A% }) G" B5 V! v

  1669. : K1 `& K9 F. W" U9 t
  1670. ; Compatibility mode with old versions of PHP 3.0.
    & A9 R! M7 R! ~% j
  1671. mssql.compatibility_mode = Off
    , i# x- |- k( Z. R+ V# E
  1672. 4 }& \" V% j6 Y  A6 ?1 l5 v3 Z% K
  1673. ; Connect timeout
    1 J4 G1 p5 ?' ?! c7 ?6 _
  1674. ;mssql.connect_timeout = 5: @2 n3 O9 n, ?; U6 D
  1675. : V) K9 L. h) A) m" W" Z  i
  1676. ; Query timeout! Y5 k# ?7 o1 t' G
  1677. ;mssql.timeout = 60  y# ^; \, C& o7 M
  1678. , N2 E* n5 t  _" `
  1679. ; Valid range 0 - 2147483647.  Default = 4096.; _! m2 |2 c2 Y9 O0 a3 c
  1680. ;mssql.textlimit = 4096$ g: V$ q/ w' X4 U

  1681. : H' o; z3 u' m  Y8 p; @3 A3 Q
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    * q2 c/ e% B0 |9 l: P6 x8 U( F
  1683. ;mssql.textsize = 40965 t$ R3 n6 |: p

  1684. 2 l' S" p/ O% h0 P) J  W& Y: r  q
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.& Z, z6 z4 o0 C. q) p
  1686. ;mssql.batchsize = 0
    " K! S; S! q( @/ p+ H; w. L

  1687. ; m* S; l" n- P
  1688. ; Specify how datetime and datetim4 columns are returned
    ; B4 ~9 `& F& J* {! x5 L
  1689. ; On => Returns data converted to SQL server settings
    ( @2 F! q3 \# X0 E/ V2 t. z
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    : x: B% T. y& R1 Y
  1691. ;mssql.datetimeconvert = On- R0 M" m# ?, }  D, e( H

  1692. 2 v/ ~4 T% q; G* R% `* ^
  1693. ; Use NT authentication when connecting to the server
    2 N3 E1 v+ x- I
  1694. mssql.secure_connection = Off) c3 U  M" }4 w; d: R* {& _1 u

  1695. 5 w' v% a; D) X  h  q, h. L
  1696. ; Specify max number of processes. -1 = library default( t9 O  i& v; }6 H( o6 l8 ]
  1697. ; msdlib defaults to 25
    8 q, I5 {. x) o
  1698. ; FreeTDS defaults to 4096
    - d$ j- e4 V* N7 z6 O
  1699. ;mssql.max_procs = -1, Z, H8 @% {; z+ C# h1 x3 I

  1700. / n! n; A0 |/ q% r# X0 C/ c! @' F) _
  1701. ; Specify client character set.3 I& L( @/ O1 I5 R
  1702. ; If empty or not set the client charset from freetds.conf is used
    3 g- k3 ^7 b9 P5 [. U- [, f
  1703. ; This is only used when compiled with FreeTDS6 G' p. J1 A6 Z) @( s- j
  1704. ;mssql.charset = "ISO-8859-1"
    4 u) `/ y, r9 N  X- l5 ^

  1705. * A* U! W% ^% x# R4 ^
  1706. [Assertion]2 t% \" w$ {7 l5 U+ N$ U, v
  1707. ; Assert(expr); active by default.
    4 f+ u. j, n/ R7 ^  a$ o
  1708. ; http://php.net/assert.active! X6 S5 F$ o3 f
  1709. ;assert.active = On% N* t* U, a1 Y; _9 F$ I
  1710. 3 P" {/ u# x  q' H- `
  1711. ; Issue a PHP warning for each failed assertion.
    8 k0 P& n( m% h1 a2 O- W: _/ ?% Q
  1712. ; http://php.net/assert.warning$ Y+ D/ w# x7 `$ X4 H, u
  1713. ;assert.warning = On
    : _: z: H* t* H- F* N0 k, e2 h

  1714. , l5 e4 q5 z2 p
  1715. ; Don't bail out by default.
    ( x7 @: L  c' q
  1716. ; http://php.net/assert.bail& t! w* Y# F7 O6 w' k5 ]
  1717. ;assert.bail = Off
    ; ]0 ?& D) I0 o. c

  1718. % A1 b5 O5 j; E& m) P
  1719. ; User-function to be called if an assertion fails.
    , j& \5 L. Y+ G- D- \( p
  1720. ; http://php.net/assert.callback2 w/ i7 ], U: I4 a: X9 E5 e+ B  t
  1721. ;assert.callback = 0
    7 O9 H  n2 T6 g6 D' T, B8 K
  1722. 4 m! c/ n1 k* B9 h4 k! e! R
  1723. ; Eval the expression with current error_reporting().  Set to true if you want- j& z6 ~& y1 Y# g
  1724. ; error_reporting(0) around the eval().
    9 _5 B, }4 N, \8 E
  1725. ; http://php.net/assert.quiet-eval5 v+ s# x/ p' J* z" Q2 g0 z
  1726. ;assert.quiet_eval = 0
    1 x4 ~' V- r4 B/ V  z# I3 A  ]3 B

  1727. 5 B- h# X6 P' L1 O3 {% s
  1728. [COM]
    , k/ s4 q: S. ]4 g9 y
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    * s; p! q) N' m$ e: K2 Z1 r
  1730. ; http://php.net/com.typelib-file: S$ M5 a4 B( W! ^( [2 p
  1731. ;com.typelib_file =
    # X3 S( j5 D! D6 Y$ l" x

  1732. ! g# ~7 {) f! Z$ _' x& G
  1733. ; allow Distributed-COM calls& {% y  i1 J9 I
  1734. ; http://php.net/com.allow-dcom+ m4 {+ V# n1 ]0 J5 l0 A
  1735. ;com.allow_dcom = true
    ' n# D& N. _& i

  1736. / V+ I1 R8 B! Q
  1737. ; autoregister constants of a components typlib on com_load()+ T2 V$ a7 L0 ^
  1738. ; http://php.net/com.autoregister-typelib) l: i* [9 J+ J' w& s5 t
  1739. ;com.autoregister_typelib = true
    : U( ?0 n( f- o/ k  J# g8 Y* q
  1740. " i2 b/ Q; W8 G5 q+ N5 k$ \
  1741. ; register constants casesensitive
    # r/ Y( Y0 Z7 L/ ?# z
  1742. ; http://php.net/com.autoregister-casesensitive
    % H  Y5 G  H* s: Z" k! H8 R; |; L
  1743. ;com.autoregister_casesensitive = false
    4 `! D2 u( Z1 _/ [+ S0 ?7 @# n
  1744. 9 `2 Z9 H4 s1 D/ r$ K* h- R" j
  1745. ; show warnings on duplicate constant registrations, }5 l2 x* q0 w  E. ~% J
  1746. ; http://php.net/com.autoregister-verbose
    # T# o+ s/ z! g
  1747. ;com.autoregister_verbose = true; C' g& G6 t/ M8 a2 e
  1748. " U# M! ~/ n( ^/ w$ \3 q
  1749. ; The default character set code-page to use when passing strings to and from COM objects.
    1 ?. b- D# O+ ]' ~
  1750. ; Default: system ANSI code page
    5 h! k2 S) F9 V! f& l
  1751. ;com.code_page=
    5 E. v3 w4 j9 i+ Y' l  T% e
  1752. * |2 a5 O- e9 A$ ~, x
  1753. [mbstring]
    9 Z  W0 E5 D& h
  1754. ; language for internal character representation.
    2 Z9 i5 E2 c6 @0 p% ~# e5 G7 J
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    6 a1 n$ Y+ O9 C# K
  1756. ; http://php.net/mbstring.language3 o5 S4 Q5 W2 l# Z. W6 @) t2 r
  1757. ;mbstring.language = Japanese
    $ Z% u9 ]7 @. b. \2 q

  1758.   R/ _5 `; \+ R% z  Y
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.9 `$ D; n' m  K' F
  1760. ; internal/script encoding.+ p" I5 M3 a- K! A, S: w( p
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    ) C# y2 o) r, g5 v1 t
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ; u: l. S4 a: o3 S
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding% A& K; Z; z( q% L  c' {2 I
  1764. ;mbstring.internal_encoding =
    8 d8 @1 m% T) G

  1765. ) w1 Z, e9 P  B+ @
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.7 M- l) Z; f. Q3 a% U
  1767. ; http input encoding.
    2 c4 ^9 [+ i! T5 [8 m% [! `4 C
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    7 {+ d, B% k0 P2 X# U- l- v' r
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    0 T/ ?3 d. ~( s3 k, G; ?
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    - e; O- e" p$ [' N! Z3 Q
  1771. ; http://php.net/mbstring.http-input
    / i% v; k4 |# {/ I+ K0 o
  1772. ;mbstring.http_input =
    $ N0 x, b7 C) s/ b9 V. H, X
  1773. ! i* F4 c) U( K: {6 C  v( A. \5 e
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.# H! p$ I3 \$ D3 b4 P2 z7 Z3 d: i
  1775. ; http output encoding.
    9 s' {' Z$ I# V# c) \3 L# T  {
  1776. ; mb_output_handler must be registered as output buffer to function.. w3 A# i; P% g0 \% ~
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.# d6 ?& [; p8 T+ b3 O4 G/ Z3 C
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    / B/ F8 ]: @+ Z
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    , `7 L4 O0 N- [' k* i6 [! S
  1780. ; otherwise output encoding conversion cannot be performed.4 D8 i- M4 n% @+ n
  1781. ; http://php.net/mbstring.http-output/ n4 h/ l7 R+ v/ D
  1782. ;mbstring.http_output =/ h5 P' ]( M1 G0 A7 H

  1783. % _. v5 g4 ~. {% R, n  v
  1784. ; enable automatic encoding translation according to
    - c' m+ d+ L3 d7 }
  1785. ; mbstring.internal_encoding setting. Input chars are
    5 y. W2 K& E8 s; R% ~* d# T0 D
  1786. ; converted to internal encoding by setting this to On.
    " R& X  R/ n1 Y& W
  1787. ; Note: Do _not_ use automatic encoding translation for
    1 o7 y$ C  X! v  d
  1788. ;       portable libs/applications.
    ' H- U! Z' d9 t2 u
  1789. ; http://php.net/mbstring.encoding-translation( _: r% Q0 p4 J1 i, Y5 p
  1790. ;mbstring.encoding_translation = Off6 B* V- l8 [1 r6 u3 M$ x
  1791. 6 R9 c- I) L$ c
  1792. ; automatic encoding detection order.
    ; J  E3 S- L9 [
  1793. ; "auto" detect order is changed according to mbstring.language
    - H0 d2 d/ u) E( Z7 ~
  1794. ; http://php.net/mbstring.detect-order+ e6 e7 o. S+ h* w" e
  1795. ;mbstring.detect_order = auto( W5 K$ \2 P+ b
  1796. % z5 E+ ?6 I1 U3 L* J" t. R
  1797. ; substitute_character used when character cannot be converted- S3 r% }+ i$ a1 u" ^  Z2 F
  1798. ; one from another
    4 b  v: C1 o- e, i$ A
  1799. ; http://php.net/mbstring.substitute-character6 Y) a. g1 D& ^) G+ e8 J
  1800. ;mbstring.substitute_character = none1 Q' q( w# ]6 f) g  {6 f- `5 T
  1801. 0 ^; V7 L! V1 E8 w3 {
  1802. ; overload(replace) single byte functions by mbstring functions.+ e9 ~$ e" q; E; g& A
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),# F; o; D# w% w" ^5 K
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.
    + I( T5 K; k" O
  1805. ; For example, 7 for overload everything.
    9 V# Y* Y; C/ w+ j
  1806. ; 0: No overload* v' w% o; h9 E+ e  [4 B6 a. f
  1807. ; 1: Overload mail() function
    $ M) l! _# P: O  s
  1808. ; 2: Overload str*() functions
    * _" B5 l$ `! u8 t' A! i
  1809. ; 4: Overload ereg*() functions# e7 K& c! h/ D( L3 \5 B
  1810. ; http://php.net/mbstring.func-overload
      K0 w3 H$ Z/ g8 y- P" L  k
  1811. ;mbstring.func_overload = 0
    ) P8 Q  C) L4 V3 p' a+ m1 V, \

  1812. % P! g. q! B1 v; p$ a0 Y
  1813. ; enable strict encoding detection.( y; v# k/ y) A
  1814. ; Default: Off
    2 l# f( ^. X# c$ X3 K& u
  1815. ;mbstring.strict_detection = On
    7 S; y  G" |- M- a# [
  1816. ( q) d! h1 k/ {8 r' m* |; Y" H
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    & o% E8 N! h; c+ {2 u7 ~( c& l
  1818. ; is activated.
    9 p! ]7 v( X* D' E$ f( V
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    ' o/ u$ u- N8 b& ^) h/ r$ V
  1820. ;mbstring.http_output_conv_mimetype=: z: W- c' m9 _
  1821. + S: k! a3 _0 w' ^( N- s1 M
  1822. [gd]
    " G: K+ C2 q- Q) W# g
  1823. ; Tell the jpeg decode to ignore warnings and try to create- ~3 J5 i& V& h* G
  1824. ; a gd image. The warning will then be displayed as notices
    ' y% c4 T5 O' k! U
  1825. ; disabled by default" S. S+ b1 n) R! H
  1826. ; http://php.net/gd.jpeg-ignore-warning
    0 l, X; x5 L0 {
  1827. ;gd.jpeg_ignore_warning = 0& A: b5 M- j* \% r8 E1 x9 l
  1828. 6 }! ^6 s7 L! _, o, U9 H
  1829. [exif]  k7 T' [4 q3 d/ ~  P# B( r, V0 T4 D
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.- l$ B! ^; H; B1 m5 r
  1831. ; With mbstring support this will automatically be converted into the encoding
    3 {8 a( Z" I3 u, l' K1 k7 E
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding- C. Z" G6 ~6 G  ~# o" U- t. G: ~$ V
  1833. ; is used. For the decode settings you can distinguish between motorola and9 F9 [0 P) D0 h# S7 B' k, z3 ?/ s3 c
  1834. ; intel byte order. A decode setting cannot be empty.
    + |" T7 T* S& s( R4 V
  1835. ; http://php.net/exif.encode-unicode, S1 h* }( z! l  m' ?
  1836. ;exif.encode_unicode = ISO-8859-150 ^0 z2 w2 k, Z/ T
  1837. 0 d+ d2 @% c% \; y5 ?( t5 e3 m
  1838. ; http://php.net/exif.decode-unicode-motorola3 {$ x' k" [1 U& E0 ]+ c6 `
  1839. ;exif.decode_unicode_motorola = UCS-2BE3 {7 g. s6 f; z+ L) A, o3 J2 w; \) B
  1840. , V  [9 S$ P; |' u# {1 L# {
  1841. ; http://php.net/exif.decode-unicode-intel
    + t7 |7 l& B- k: A) @
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    ( n6 |3 u- K% Q! c% R0 @, t( O

  1843. 0 C+ E6 n8 _* X
  1844. ; http://php.net/exif.encode-jis% P. T, T; z" A2 d) @7 c
  1845. ;exif.encode_jis =
    ' ]4 |8 o' i+ `$ H5 D  t

  1846. ( x4 B; {7 S! e! Z3 a
  1847. ; http://php.net/exif.decode-jis-motorola9 l8 u" h3 B7 c
  1848. ;exif.decode_jis_motorola = JIS
    ( J9 C: N* U8 y+ k& h' x' m- G' N
  1849. : N3 m. g/ G" L- N9 J% f5 s
  1850. ; http://php.net/exif.decode-jis-intel
    7 U# e  x, l5 u4 Q9 z
  1851. ;exif.decode_jis_intel    = JIS
    5 d! B3 g# t$ T' B* |2 F0 a: r! q4 i! D

  1852. 0 E1 B9 [* }4 v) Y5 k
  1853. [Tidy]
    ; G2 |: {$ L% j6 V8 i
  1854. ; The path to a default tidy configuration file to use when using tidy
    2 f) |! ?* W, i5 p7 }$ h( T* g5 h) I
  1855. ; http://php.net/tidy.default-config
    + H8 a- F; ?% R. R  V/ @6 [# W
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
      R3 Z% K+ O+ ?

  1857. ) [7 r6 Q  }6 C2 f+ T
  1858. ; Should tidy clean and repair output automatically?
    + ~6 ]# m. Q2 ]% u/ O
  1859. ; WARNING: Do not use this option if you are generating non-html content
    $ V! l: C: N) f+ q: ~# ~/ D
  1860. ; such as dynamic images$ c9 ^2 B0 F/ t: t
  1861. ; http://php.net/tidy.clean-output
    + l# {! j8 v" K$ \9 l0 E+ z. D
  1862. tidy.clean_output = Off% ]& ?7 D5 R4 p/ U, ?, J

  1863. 4 Z  h( e6 I# ~7 R5 t
  1864. [soap]
    " w! e6 P( _" f% I, G* D, r* n
  1865. ; Enables or disables WSDL caching feature.3 w) U% g1 U  }, j: J; ^4 @
  1866. ; http://php.net/soap.wsdl-cache-enabled
    ! d9 o) l. J0 Y9 p+ v
  1867. soap.wsdl_cache_enabled=1
    + H$ Z! |' m- T1 ~

  1868. 1 E+ {* t) L, s6 u) ?7 J4 C; A
  1869. ; Sets the directory name where SOAP extension will put cache files.& w# o4 t, I9 |1 }$ Y
  1870. ; http://php.net/soap.wsdl-cache-dir$ b8 |& _& q! n! B5 V  Z
  1871. soap.wsdl_cache_dir="/tmp"  r# _) S% G  T: M- a6 w7 Z( r9 Y

  1872. , b0 l4 N, w! n
  1873. ; (time to live) Sets the number of second while cached file will be used) O% P. T% t; x. H" U* a
  1874. ; instead of original one." @, l- b- {8 i; g+ F
  1875. ; http://php.net/soap.wsdl-cache-ttl% Q( ]- T$ R, k3 S1 A
  1876. soap.wsdl_cache_ttl=86400
    7 I+ ^, C' ~" t: P# G7 F4 B

  1877. " q1 u; `. c" b$ e& j
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)* `' a4 a2 e% [# Q& t4 G6 s0 j
  1879. soap.wsdl_cache_limit = 5* E5 W" |7 p* y" N! g
  1880. ! Q2 e5 W8 r" q) _* K1 a& G
  1881. [sysvshm]
    * v. @. z& t, o& g
  1882. ; A default size of the shared memory segment
    9 n. f7 r0 ~5 w- b" v9 v* \5 R
  1883. ;sysvshm.init_mem = 100000 w( t: \3 l6 @. c- r

  1884. 4 V. `  S0 B* c; Y+ \
  1885. [ldap]
    0 g6 Z' v2 E3 e( y, ]" ~/ ^+ Z/ t4 \
  1886. ; Sets the maximum number of open links or -1 for unlimited.+ c4 J8 j$ R8 X2 s+ O4 ~" F
  1887. ldap.max_links = -1
    % t2 s, X8 I7 ~6 c

  1888. 1 Z, A# _3 E" C1 f$ g( }) k
  1889. [mcrypt]
    $ K- e  H7 b( s
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open; F' w, U+ A0 p5 }

  1891. ' A/ o% o% Z# A6 U2 \
  1892. ; Directory where to load mcrypt algorithms  T/ Q0 j' P) o" a3 c6 y: Y) c
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    , g  g) t* m  w& `! [" z
  1894. ;mcrypt.algorithms_dir=
    , n3 `# W. J( b
  1895. 3 p0 ?! |4 f% T, I# y$ g/ k
  1896. ; Directory where to load mcrypt modes) _5 }4 I" z8 ^' k) Y* P+ i3 J
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)) i" ~5 O4 U5 c1 W; w* B
  1898. ;mcrypt.modes_dir=- b0 V7 D' f2 |' x( n, B3 Z4 ?/ `9 H
  1899. 1 e, D" y! L2 H1 `4 V
  1900. [dba]" c, W, ?0 x; t2 L. s
  1901. ;dba.default_handler=
    ' M" j, j( d0 D# O% A  m
  1902. . U% W' l) S' a4 f
  1903. [opcache]' V" h1 k* p0 i/ g- v% h; O
  1904. ; Determines if Zend OPCache is enabled/ X; B; V( s% b0 }+ d% }/ s
  1905. ;opcache.enable=0
    4 C. [! q2 x& n( B8 ^. ~
  1906. ( J5 Z4 X$ C7 v$ W) o
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    # A: d2 r3 h' K+ n: S7 X
  1908. ;opcache.enable_cli=0
    9 ^; t5 W4 x2 T& D) z. `( A

  1909. ( U- L1 V$ `3 b" }0 G
  1910. ; The OPcache shared memory storage size.. L, e0 ?7 S* [+ w/ Q
  1911. ;opcache.memory_consumption=64  S' c; Z, N# u4 a) P

  1912. 2 F$ H8 _: [& ^& b0 E5 p4 P# k
  1913. ; The amount of memory for interned strings in Mbytes.# D& ~! E4 ?# v$ h
  1914. ;opcache.interned_strings_buffer=40 d8 j! g5 {' `. ?+ R
  1915.   H6 r2 u! I3 x
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    , g% g+ m  L7 k& H' z
  1917. ; Only numbers between 200 and 100000 are allowed.8 ]5 J% f9 y1 F) c9 M. j: f
  1918. ;opcache.max_accelerated_files=2000' t2 K' D9 u* i6 V2 I0 f

  1919. 3 `7 A3 G* H' J8 B/ I
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    + [' |6 r9 h' e
  1921. ;opcache.max_wasted_percentage=5
    , b, q& g8 ^8 i, H4 U3 r' f5 `! a. P
  1922. ; K9 h0 g- L: N9 v0 h6 _
  1923. ; When this directive is enabled, the OPcache appends the current working
    1 c7 g* a1 J' ]% g& Y# h
  1924. ; directory to the script key, thus eliminating possible collisions between
    . {% h) T+ X% @- t
  1925. ; files with the same name (basename). Disabling the directive improves
    $ t! Y5 @) ]/ v( e: B- Q. k' i
  1926. ; performance, but may break existing applications.2 ^+ Q+ j6 V/ E: N0 O' G/ S! D5 i2 E
  1927. ;opcache.use_cwd=1/ \: c5 a" [9 N& n8 f8 }
  1928. * ^- V6 K. K; n$ g
  1929. ; When disabled, you must reset the OPcache manually or restart the
    * ~/ H: t5 R5 h/ k. Z8 L1 E) T  N( w: Q
  1930. ; webserver for changes to the filesystem to take effect.
    4 F- a# V* o4 @1 Q2 \# ], U. t
  1931. ;opcache.validate_timestamps=15 {+ H, v. m1 {# }
  1932. ( G4 ^5 U! i8 D, _1 d: ?
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    + f& O$ O& F. T/ l7 E
  1934. ; memory storage allocation. ("1" means validate once per second, but only
    0 f& F( C. I; W  m- c* e0 C
  1935. ; once per request. "0" means always validate)& r  F8 p, j6 B7 f
  1936. ;opcache.revalidate_freq=2
    / w1 j* {2 b* a  w9 U" q' z
  1937. 9 {$ m& c' a3 R; F7 U' U
  1938. ; Enables or disables file search in include_path optimization
    ) Y) x/ O2 U- o
  1939. ;opcache.revalidate_path=0' W3 T! e& |) O& g9 U. t2 j
  1940. % t/ x& Z$ h6 c1 j/ e0 l
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    ; V" ^7 L$ u1 M
  1942. ; size of the optimized code.' ~4 j1 s& i' C# V
  1943. ;opcache.save_comments=1
    : o  q7 h, q. I7 ]5 G
  1944. 4 p3 A, q; C6 C
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"0 p2 L" c7 U( R3 k# l8 ~5 v* Q  X% X
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    % \; ]7 a& s( N: F
  1947. ; that don't need them anyway.
    9 h" |4 i* c; |
  1948. ;opcache.load_comments=1; c+ [" e1 ?! D% x
  1949. - q3 Q% T5 p, @6 e& z
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code; o. g) ?7 L6 x1 @6 F+ |# G
  1951. ;opcache.fast_shutdown=0
    : E( l) a! A+ s4 r

  1952. ( O3 X. c1 h- f2 X8 m
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    : [8 K* y( r! B0 Q7 H
  1954. ;opcache.enable_file_override=0# B# p( O: u3 U' p3 A

  1955. ) }) }: X. b% u
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache& Y) X! ^; G/ C
  1957. ; passes1 |- A9 b9 N) E3 x
  1958. ;opcache.optimization_level=0xffffffff
    ; L& |% }0 X( U

  1959. : T5 Y( \7 H- W) r" [" f/ G4 _
  1960. ;opcache.inherited_hack=1
    3 R: i  w; m! |) g( K. ^0 @1 ]
  1961. ;opcache.dups_fix=0
    & @8 I; `1 m/ P/ a8 a! P3 y

  1962. ' Y, R! z6 {+ p
  1963. ; The location of the OPcache blacklist file (wildcards allowed).0 v; }7 j+ l1 s5 y  W$ y5 @+ a. d: ?
  1964. ; Each OPcache blacklist file is a text file that holds the names of files% A8 m0 ^- J$ Z# g7 l1 ], l, w
  1965. ; that should not be accelerated. The file format is to add each filename
    3 z) A0 j# @* o, T
  1966. ; to a new line. The filename may be a full path or just a file prefix
    ' j' M% B. {* Z4 m. p
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www# R" C$ V; w: O; N
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).1 n& p6 g; {  C
  1969. ;opcache.blacklist_filename=
    9 @8 \, N7 Y9 x! L
  1970. : W! J; Q5 f6 G
  1971. ; Allows exclusion of large files from being cached. By default all files$ p5 |4 W: c; m$ ?
  1972. ; are cached.
      w8 R) @6 j1 J4 q* i4 W
  1973. ;opcache.max_file_size=0
    & h4 d. C, s" L8 @; B* j

  1974. 4 E: x0 K/ b8 u3 K/ B, X; {6 Y
  1975. ; Check the cache checksum each N requests.
    ! ^! V% b# M/ J: J. K8 }
  1976. ; The default value of "0" means that the checks are disabled.) E6 T% `' A" r+ q8 W
  1977. ;opcache.consistency_checks=0
    9 }5 A: z0 Q5 f, J

  1978. 1 W: V8 J/ P3 a6 D
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
      \, X- o5 @, w" J( u
  1980. ; is not being accessed.: M( G2 h) \$ a+ O& r
  1981. ;opcache.force_restart_timeout=180
    / q8 D4 q5 b% y" _. S; @4 T
  1982. ( q1 W: G* O/ ?5 S! `- N- \+ ?4 B
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    % @  Y$ b$ o" u1 w6 `
  1984. ;opcache.error_log=
    ' T7 q( H2 a! `! _- M- R' v
  1985. 0 A$ c) v+ \4 y; f# \7 t
  1986. ; All OPcache errors go to the Web server log.
    % D! D: F( M2 \4 |$ e/ B+ H6 Z6 q9 Y) I
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.9 `: s) I4 m& e% t) s- r9 x
  1988. ; You can also enable warnings (level 2), info messages (level 3) or" R/ X6 {, j) v: {" d1 O
  1989. ; debug messages (level 4).9 s7 e9 z5 x+ w# g" [
  1990. ;opcache.log_verbosity_level=1
    & F4 I" B( b8 n# ]2 T/ V% q
  1991. 5 A7 [2 y9 {8 c& Q
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.' Z! q7 b$ Q% m- |
  1993. ;opcache.preferred_memory_model=6 V& z* }# h; P* E! S7 u3 v7 Z

  1994. " k% u4 q- A* b( [! T
  1995. ; Protect the shared memory from unexpected writing during script execution.9 R9 P+ a$ n# i2 L
  1996. ; Useful for internal debugging only.. r. T& K# _4 u3 O* r. k6 _
  1997. ;opcache.protect_memory=0
    6 k" [$ Z( X3 O  a
  1998. + V1 h) N  \) Y; b: J
  1999. ; Validate cached file permissions.
    : z4 w  ]$ A1 x. W9 C  |
  2000. ; opcache.validate_permission=08 }* S, i6 ^$ i2 F0 R

  2001. 0 F4 k6 X# G, W0 I. T. |
  2002. ; Prevent name collisions in chroot'ed environment.
    5 P  [; v: e( G/ Z3 j  h
  2003. ; opcache.validate_root=08 y9 H3 y0 X: b/ e

  2004. ( r4 Z$ {; w  b
  2005. [curl]  Y9 c" u% p; P4 h# Z6 w
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    & c: l& ~: [( n$ Z& k+ f! ]0 _
  2007. ; absolute path.: I/ u4 n, b: ~3 j& o
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt- ~) u: u3 v- U; d0 u9 r: e

  2009. 8 e8 e" S* f3 X# R+ o% f% K6 S& o
  2010. [openssl]
    6 f" |* P, X" |7 G! Q( l. C2 U2 }: J
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    8 J, N# ?$ G' C3 F
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should' N$ C9 p/ s1 v
  2013. ; not specify a value for this directive as PHP will attempt to use the
    2 W' {( y, ?, t( i0 A
  2014. ; OS-managed cert stores in its absence. If specified, this value may still1 \, t$ o9 w8 H7 ]$ F* V, U9 p  ]/ g1 Q9 A
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    . I* C: z) e# h+ b
  2016. ; option.5 s1 F& o, a1 U$ r
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt4 ^- _! u2 B) H$ E, e  y4 M

  2018. ! s* X9 E) a! `. d' I
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the
    " y2 b% d( |. H% [/ C1 @1 a
  2020. ; directory pointed to by openssl.capath is searched for a suitable& b1 b  ]& b7 \- r; ?
  2021. ; certificate. This value must be a correctly hashed certificate directory.
      v5 x+ W2 O  V1 S. C
  2022. ; Most users should not specify a value for this directive as PHP will. t5 }6 z- W( L# K
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    0 A* {1 ~. y& e% i8 f4 i$ u
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    + p/ K" u* y6 X. O
  2025. ; SSL stream context option." I# o& w5 k" X0 d
  2026. ;openssl.capath=
    ' P& @2 R9 s+ h) l

  2027. / K6 E! x4 f2 P/ N$ @
  2028. ; Local Variables:
    ! z. K! W) @3 B2 i7 e5 }4 z
  2029. ; tab-width: 43 [9 |! T: f; Y: m$ v* ~% V7 H
  2030. ; End:
    1 t' Y# c: E  d

  2031. ! P& {" M5 f0 \, j0 D6 [- c3 r
  2032. ;eaccelerator* f/ S. a. t  X. |6 d3 X2 F
  2033. 8 Y3 L4 l5 z9 V! d& K
  2034. ;ionCube" f* Q: y' }: g2 e9 O
  2035. & i, j' \) N; Q: p2 O2 R
  2036. ;opcache
    - H* J4 I/ x5 X6 T/ c+ ~, ~! E

  2037. / ]( N5 p( c- w0 ]. K
  2038. [Zend ZendGuard Loader]+ c) l0 @0 J" {; z. v) P
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so# F5 H  m" \0 V  Y1 ?, n9 G
  2040. zend_loader.enable=1
    3 l2 ~. Z, M8 V/ ?) N
  2041. zend_loader.disable_licensing=0. t# {* I1 t: t# c+ s
  2042. zend_loader.obfuscation_level_support=3. r' r+ ]# r( T7 E+ p. P2 w# w( U6 I
  2043. zend_loader.license_path=
    , D" z3 `2 r  K4 _8 u

  2044. 0 o# l3 [* a5 o! T- k2 i1 x
  2045. ;xcache
    " j" g* f$ Q' ]$ s9 k

  2046. 1 G! u  z$ N( y$ g' x9 ^
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
$ }  e- O5 ?' t( k. h3 F5 G7 k. ]; p# E6 H3 x) `6 Q- G& w

4 {$ e: ^0 t+ p4 k# _% Z4 DDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,# l9 |; z5 O! {
7 z0 ]- j& g7 _; l7 H3 ?; z
Discuz!程序版本选择:' w2 Z( O2 H  i6 t+ x+ K$ F+ A
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
6 J6 Z9 H4 L8 A0 v+ @不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:/ }- v4 q7 {+ B$ s) |& {- ^* r2 }
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。
$ z: w0 y+ ?6 y2 \
+ N$ u0 z4 V" F  B# bDiscuz!插件模板版本选择:. D  \# h( D- O% I+ C7 x
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
" t; t4 E+ U7 \5 k0 c3 H  W针对这个问题做个统一的普及:$ b7 F6 S- K5 P& f! ~; N5 D
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。1 Z( `; {* N- L$ w$ B/ Y2 U; \, X: [; p
1 C; @" {% A; N  b4 L2 b; s/ Q
所以2 O0 B3 u6 L: U3 y
适合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的二级域名。
" x6 [) d* g- U& K& |, p打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
# l8 H0 d* m: D+ r注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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