分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.0
7 O- q3 W! T) s. x1 j& W$ x/ P3 d; X
  1. [PHP]9 q# w) `& w6 M1 |

  2. * y7 w4 `4 ?; Y0 E+ @2 L
  3. ;;;;;;;;;;;;;;;;;;;' u) E. L$ h2 d, u/ F
  4. ; About php.ini   ;
    $ y) G6 w2 f' e
  5. ;;;;;;;;;;;;;;;;;;;
    9 H; N/ _3 e8 i  S
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    % |' H( n& t1 ?0 b/ M$ c+ |; o0 q
  7. ; configuring many of the aspects of PHP's behavior.
    % e2 c/ ~" \; I" h
  8. 5 h# y8 b$ S4 O8 ^
  9. ; PHP attempts to find and load this configuration from a number of locations.  G" {5 g2 Z" ~3 R6 ?; A2 X; O
  10. ; The following is a summary of its search order:
    ) N' o  M* E: V& W$ P; Q: g& _
  11. ; 1. SAPI module specific location.8 a- h4 t% J1 `) \: S; k6 e
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)# @/ c' A4 |# Y$ }( E
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)  r6 \) t3 {; s+ X4 t' G
  14. ; 4. Current working directory (except CLI)( s$ i) C3 |$ `: m! \2 ?
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    8 P  k4 L/ z; U) p5 y
  16. ; (otherwise in Windows)" g* F" h: Q9 A5 R
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    5 E% s% Q5 k) p
  18. ; Windows directory (C:\windows or C:\winnt)
    , e8 R) ]3 a8 g9 o/ Q5 k# O
  19. ; See the PHP docs for more specific information.
    " D( \8 X5 Y( ?0 f* ?0 c
  20. ; http://php.net/configuration.file
    8 s! T6 w2 ?8 p  \, \
  21. 9 R2 \* i# R, r2 _
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    3 ?+ p9 u% p1 C. ]8 N
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).8 c& z" o4 ^: @/ q% b
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though' i0 t" k& k3 g) A; g+ [
  25. ; they might mean something in the future.
    ; z3 ]9 b, T  Z( t
  26. * b2 Z3 t. g! i, S# }  s
  27. ; Directives following the section heading [PATH=/www/mysite] only2 B8 T7 Z( X' U2 \4 F$ a
  28. ; apply to PHP files in the /www/mysite directory.  Directives) q$ W, L  P1 |- W. I
  29. ; following the section heading [HOST=www.example.com] only apply to* V# G6 Z: b3 E5 x7 X% k  P" ~
  30. ; PHP files served from www.example.com.  Directives set in these
    ) ?& I+ R7 x& i( s& h
  31. ; special sections cannot be overridden by user-defined INI files or
    1 _4 Y1 ~% g6 ?3 s' `2 n
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    : r' ~' T2 `1 C; u$ \
  33. ; CGI/FastCGI.
    * ?  ?5 }3 B5 U% n; a3 n; @$ e6 _
  34. ; http://php.net/ini.sections
    ' C& m2 W5 x  s  ?3 L! s) R! o1 p
  35.   f& |0 @) K) {1 @
  36. ; Directives are specified using the following syntax:
    * u2 k6 J- w9 ^( I- d8 Q% r
  37. ; directive = value& G1 ^4 L7 i( F6 ?1 b1 F
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.# t5 U, W  \! I; V: b% F% c
  39. ; Directives are variables used to configure PHP or PHP extensions.
    1 [0 E" b: g$ |2 T  q# H
  40. ; There is no name validation.  If PHP can't find an expected
    4 j+ d: o  V+ G$ [/ \
  41. ; directive because it is not set or is mistyped, a default value will be used.
    : R) E0 D2 A' Q% M4 g8 \6 T( f
  42. 5 m4 R, j! a# y6 \
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    5 V/ V/ a. y5 G5 |* ^! f
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    ; z9 `2 o! q) O
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a7 n# Z" B) S) q+ d
  46. ; previously set variable or directive (e.g. ${foo})+ ?: v4 K0 I  I  I+ t" G' b$ _5 v5 \
  47. 6 q$ E% s! e) g9 o5 q$ b0 E0 z/ ~
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:
    ; d! I- S% I  b1 p
  49. ; |  bitwise OR9 P1 Q7 ^: [' b
  50. ; ^  bitwise XOR0 h  r, Z0 u. Q8 g' z
  51. ; &  bitwise AND4 f: y2 _; ~$ d3 f; j
  52. ; ~  bitwise NOT
    5 F; O4 S: }# U6 b% Z6 s
  53. ; !  boolean NOT
    % @- `2 ^+ |. t1 G! L: c" K& l6 D0 p6 `2 V
  54. ( R; n) h, m0 i0 ?
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    " K; G* K7 n4 z& ?
  56. ; They can be turned off using the values 0, Off, False or No.& D  M: {* u* U* h/ f5 d

  57.   O  t$ A5 B/ L2 ~
  58. ; An empty string can be denoted by simply not writing anything after the equal) f0 T, f8 r$ H; q* G" z' y
  59. ; sign, or by using the None keyword:
    7 X6 a, q9 Q2 o7 ?- Q9 ^
  60. / Y% Q" W" n4 A1 M0 @# ?7 }* n
  61. ;  foo =         ; sets foo to an empty string
    * E2 j0 t0 f7 L+ T9 f
  62. ;  foo = None    ; sets foo to an empty string
    7 i) z9 I0 q2 Z8 ]3 V. H  J/ a
  63. ;  foo = "None"  ; sets foo to the string 'None'
    . |! X1 B+ @& O! X

  64. 4 y" ^4 v0 \$ Q0 l- i2 {  `
  65. ; If you use constants in your value, and these constants belong to a# g# ^& V0 H' l: v$ a6 }
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    3 n" u! t: y1 Q) @
  67. ; you may only use these constants *after* the line that loads the extension.
    7 e/ B" y7 d) h% @* r5 u9 m

  68. 8 y3 Z) i1 p- K1 Q5 F
  69. ;;;;;;;;;;;;;;;;;;;3 C. y/ H$ c: T$ X* E
  70. ; About this file ;
    + Y* I' z: v$ Z  P: B8 Y
  71. ;;;;;;;;;;;;;;;;;;;  {$ _  t' {5 |' K
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    5 w2 R0 `6 Z$ m: z5 R+ t
  73. ; in production environments and one that is recommended to be used in
    # I$ @  `. H" e
  74. ; development environments.' k3 z. M! J, Z- [7 r

  75. ; j& a: W* n! o4 H8 i5 G2 F( j
  76. ; php.ini-production contains settings which hold security, performance and
    0 h2 s& @+ P" d0 N
  77. ; best practices at its core. But please be aware, these settings may break
    , t/ {  }% @* Q5 b
  78. ; compatibility with older or less security conscience applications. We
    2 D! U8 S- ]" u  X) G
  79. ; recommending using the production ini in production and testing environments.3 \( {6 ]- O$ D

  80. % ]* G3 L& b* {0 t' Q1 Q' J
  81. ; php.ini-development is very similar to its production variant, except it is
    8 _( E6 ~/ z1 s- d2 l, D  K
  82. ; much more verbose when it comes to errors. We recommend using the8 k# x# K& h9 K' |3 t' e5 \
  83. ; development version only in development environments, as errors shown to* U! Q* \4 J) V( o' S* W8 p
  84. ; application users can inadvertently leak otherwise secure information.  o" A7 c1 g- J( x+ M

  85. $ z8 P1 Q' h% G) h
  86. ; This is php.ini-production INI file.2 i$ m) I' d2 K0 `
  87. ' g. n7 M& d% x
  88. ;;;;;;;;;;;;;;;;;;;" O/ L. a$ g2 r9 ]" ^# \; [- K
  89. ; Quick Reference ;
    : D: W& [2 B/ w% M/ u# o0 |
  90. ;;;;;;;;;;;;;;;;;;;
    5 L) b. r2 c. @8 n9 @
  91. ; The following are all the settings which are different in either the production: |& a- l& t3 [/ ]$ c
  92. ; or development versions of the INIs with respect to PHP's default behavior.  D% Q3 }! \4 l9 U4 Q' E, m
  93. ; Please see the actual settings later in the document for more details as to why
    5 M3 G7 h( C( a6 }, P
  94. ; we recommend these changes in PHP's behavior.- Z; \% r* V2 R0 {
  95. . j" i8 v7 a" L2 v7 {
  96. ; display_errors2 r* g; l9 b4 l3 h  |
  97. ;   Default Value: On
    + x6 z2 q/ Y1 Q" Q+ d/ y0 M
  98. ;   Development Value: On. K, l! f# N& u7 ]' @
  99. ;   Production Value: Off0 G* a. x0 e7 s3 U( f5 v5 L5 m0 n
  100. / F( r" W: q+ M" a& p/ m$ j. p5 [
  101. ; display_startup_errors# t3 Z7 S$ U7 I$ e
  102. ;   Default Value: Off
    : W9 r+ N$ a2 r* D
  103. ;   Development Value: On
    1 V+ o  l. {( ^2 _, Z; y% ^  b- n  _
  104. ;   Production Value: Off
    6 p+ y  d" ?9 s
  105. - s0 d1 |) ]% N: Z( b; O9 t; c
  106. ; error_reporting- b1 X6 A8 Q! Y; U1 d  x
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    . x7 ^% h2 w- I6 \% e9 c( W% Y! \
  108. ;   Development Value: E_ALL
    3 A+ u) Y1 O8 R+ P9 b
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    % ~8 o3 i1 N4 @- i' [4 g7 Q

  110. / _, b4 r4 ]- n. c4 i0 b; Y
  111. ; html_errors
    ) @& l* `* ]( E# _
  112. ;   Default Value: On
    2 }. x5 T2 \2 u( g; \$ ]% ]# b
  113. ;   Development Value: On; @7 s: `1 |- k: e9 n( P* {( z
  114. ;   Production value: On% W" r7 k" \6 z
  115. ) g- ]7 {8 a4 l; m
  116. ; log_errors; Z) ]- Z2 k! c/ g: D% t
  117. ;   Default Value: Off; M8 k- v+ o7 I1 w
  118. ;   Development Value: On( j' N. ~! I( Q+ C3 ]5 A
  119. ;   Production Value: On
    7 g  i% v2 x7 K9 g
  120. 6 W: j  ^, |5 Q
  121. ; max_input_time3 b" n. v  f0 p0 x% d. X
  122. ;   Default Value: -1 (Unlimited): b% q. l2 g, `7 C* w( ^6 l# o% X" H
  123. ;   Development Value: 60 (60 seconds)( q- A9 z1 T3 a2 f! i
  124. ;   Production Value: 60 (60 seconds)
    . Y+ M" k( k7 m9 n% q

  125. " B- U9 G* v8 \9 v; p
  126. ; output_buffering% p! w) ]3 Z: J1 n4 D. Q: Z/ f8 A; ~
  127. ;   Default Value: Off
    + Q# v9 x0 T/ x/ @
  128. ;   Development Value: 4096
    ) Z$ w9 c  s1 i/ \8 h
  129. ;   Production Value: 4096- }. `  ^& }8 z, f5 r* N% O

  130. 7 {8 A/ d8 ^4 N2 N1 C, {" L' o9 m0 q
  131. ; register_argc_argv( p1 J0 Z4 D7 m# B$ q
  132. ;   Default Value: On
    7 Z. J+ o% p: \9 T7 H" c
  133. ;   Development Value: Off
    ; Q; E. {% J  h
  134. ;   Production Value: Off' I7 Z- x: e/ I; [: H

  135. + |( v( \* c5 A: e
  136. ; request_order
    . M  S8 e! b8 G  h' u
  137. ;   Default Value: None5 D+ P- v. s5 I8 J) }; X
  138. ;   Development Value: "GP"- m! Q7 B, K2 J; x
  139. ;   Production Value: "GP"2 E4 f' g0 U* R
  140. , |3 _5 g* q% V! B" b2 m
  141. ; session.gc_divisor
    / P% u1 D$ c* C5 u
  142. ;   Default Value: 100" W# X4 T% h4 |
  143. ;   Development Value: 1000& T# b, x% o- E/ G& Z3 P: A
  144. ;   Production Value: 1000+ m& S1 L' l2 u3 ~0 `

  145. 0 j, B; _3 H# g+ K+ p
  146. ; session.hash_bits_per_character6 }# q9 W4 {( I
  147. ;   Default Value: 4) Q% W% d6 j& |$ x( I5 i% w+ [
  148. ;   Development Value: 5
    ' S* g' z, b% x' S, x2 c6 d
  149. ;   Production Value: 50 M( G4 B$ \* U0 R! c) l
  150. 3 l" [" |2 t8 B1 F2 U( @
  151. ; short_open_tag
    & d- R9 w' m7 \8 X! L
  152. ;   Default Value: On
    * V, G! }/ |3 k+ V
  153. ;   Development Value: Off
    # S+ P. v0 O2 M* u3 {" d. j& b2 v! s. P& G
  154. ;   Production Value: Off1 n) o* {. O- n' {
  155. 3 Z2 g+ A6 P8 d1 J/ |6 g
  156. ; track_errors
    # Z1 k" F* I9 T7 L7 @! h- L
  157. ;   Default Value: Off4 L# |0 Z. x$ M. z; ?" c- S6 {
  158. ;   Development Value: On
    7 l* C" k" j0 ?* }0 `+ |4 ~6 R3 e
  159. ;   Production Value: Off" P8 |. q  m- T3 V1 N" Y
  160. 3 T( X& k% r7 S& E7 P0 I% S; a2 C
  161. ; url_rewriter.tags! {; T( t7 K8 ~
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset=", P! f2 C; a7 m/ X
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    0 v) ?# e7 g3 X( _: ]" J  H
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    + d, b) C+ p3 J1 Q& n2 E. y

  165. & ^7 v& T$ J3 s  g% U. z
  166. ; variables_order/ V3 c* f" o7 r# U
  167. ;   Default Value: "EGPCS"
    6 g* J0 a5 e9 e* L1 c1 p& z* e9 z
  168. ;   Development Value: "GPCS"
    . E0 N9 W- C. o6 E! Q) h
  169. ;   Production Value: "GPCS"4 T% {2 [% M# l0 B: C
  170. 3 ~/ F( k7 F6 |% }- I$ j  H
  171. ;;;;;;;;;;;;;;;;;;;;; s) R3 T5 M; z- j
  172. ; php.ini Options  ;
    % d% F; N; r4 }6 J! q' r
  173. ;;;;;;;;;;;;;;;;;;;;
    5 S' B5 H+ C9 ~
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini") P1 F  V+ Y% v  A( e6 J: Q
  175. ;user_ini.filename = ".user.ini"
    6 _1 }5 d: \: W! U! L: }7 s# U
  176. 6 r' S1 @* y$ h/ O3 b5 S, i
  177. ; To disable this feature set this option to empty value
    & u; C5 I5 p. r3 ?4 k$ b$ ^& X
  178. ;user_ini.filename =, F# {; v: h0 b

  179. 1 r5 n* @% j6 I
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    $ C$ g4 F, j) Q2 y) x
  181. ;user_ini.cache_ttl = 300
    ( q# z8 k" i. `$ ^. A

  182. & V8 ~2 f$ l2 X
  183. ;;;;;;;;;;;;;;;;;;;;
    ' `4 l5 E" e! h* T2 W8 u
  184. ; Language Options ;
    & d* o9 O6 B4 H5 ~, k& c; o) f
  185. ;;;;;;;;;;;;;;;;;;;;1 X) L6 u) G6 i
  186. * |, i) ~: |" @2 D
  187. ; Enable the PHP scripting language engine under Apache.9 ?8 t3 b6 {  N8 T8 ^* \) Y" c
  188. ; http://php.net/engine
    ! U6 G' E* D' h- d6 d6 S1 x9 J: T
  189. engine = On9 j- E" i$ j% p8 F
  190. 9 x- O. I, |5 T1 |* {! f/ L
  191. ; This directive determines whether or not PHP will recognize code between; A" C: U' K: `1 ~' m; z
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    + E( i& L& G1 M: S8 q& a1 ?+ l
  193. ; generally recommended that <?php and ?> should be used and that this feature8 {1 s, [8 }+ G! W! V- s" a3 p
  194. ; should be disabled, as enabling it may result in issues when generating XML5 @" v% K2 {0 D- O6 H+ y9 ^7 H8 p
  195. ; documents, however this remains supported for backward compatibility reasons.
    . {( W* }% M% u
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    & z1 O; S9 I3 S& w; m, \1 J1 f
  197. ; used regardless of this directive.
    # i" u; \( k6 q% P7 L# r; P
  198. ; Default Value: On
    1 }2 f0 J. @! D
  199. ; Development Value: Off6 S1 b; R- I: L  @
  200. ; Production Value: Off
    ( ]# i0 R' l4 D. T
  201. ; http://php.net/short-open-tag) L5 d& Z0 K9 B
  202. short_open_tag = On: B+ z) K2 \* }. B6 V- E, N

  203. 1 k- c0 O8 {: U1 Y- f
  204. ; The number of significant digits displayed in floating point numbers.8 {- d* E# `* A
  205. ; http://php.net/precision
    6 }% X7 k( e9 [% W3 H5 A
  206. precision = 14
    # i5 \) W5 V& w( b6 k( u$ P" J

  207. , c  P( ]/ w  w( B) {+ O% }
  208. ; Output buffering is a mechanism for controlling how much output data2 b( ~5 S0 y7 E  \9 _$ s) b7 C: @7 R
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that# N/ X* H0 O: W: E) I; C, s
  210. ; data to the client. If your application's output exceeds this setting, PHP# t( Y7 K6 I( V9 F
  211. ; will send that data in chunks of roughly the size you specify.; x+ [8 I' F; a7 C  P
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    6 `, z2 T- D5 X- j2 U; O6 X
  213. ; interesting side-effects depending on your application and web server.
    " O; S4 U+ a( Q4 a9 R, h& y! u
  214. ; You may be able to send headers and cookies after you've already sent output
    - t6 Y: m& @& m& u, q" b+ k
  215. ; through print or echo. You also may see performance benefits if your server is
    8 c# e& Z# `5 m  j4 m- B, h0 ?* m+ L
  216. ; emitting less packets due to buffered output versus PHP streaming the output
    & `0 |, V1 c! z6 ]
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    8 _9 M* l* G# f
  218. ; reasons." k1 p5 Y  s- O. L* S2 e$ e! A
  219. ; Note: Output buffering can also be controlled via Output Buffering Control. K4 `+ K. b& }$ k8 L& u) F4 D
  220. ;   functions.* G8 N2 [: j4 {5 t3 p# ]7 ~
  221. ; Possible Values:: l7 K! g) P0 S1 D* ]# Y- `
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)8 H+ u5 |7 |" {. M' x
  223. ;   Off = Disabled( O0 p3 O& a# v0 k7 b7 k: n; u1 v5 x
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    5 N0 b( g+ Z) U+ ^' G- f" _' |
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI* m6 y) E4 k9 ~' ]3 M. N
  226. ; Default Value: Off
    : ]& |/ E- Q! |( k8 Y# K  t0 O
  227. ; Development Value: 4096
    # r! y8 B1 H( R! }3 n
  228. ; Production Value: 4096
    ! ]: X6 J5 j$ k
  229. ; http://php.net/output-buffering6 @: o! k8 ^: B# M! j; @" U
  230. output_buffering = 4096
    9 p  [4 a) H/ v. ?4 _& }, I+ w

  231. ' y: a. I& }( u; s* g
  232. ; You can redirect all of the output of your scripts to a function.  For
    / o4 z; E+ U9 M( H1 B
  233. ; example, if you set output_handler to "mb_output_handler", character  t' s7 B/ m& V2 A
  234. ; encoding will be transparently converted to the specified encoding.% ]5 r' Y( r3 W; Y: Y1 h- _
  235. ; Setting any output handler automatically turns on output buffering.
    , u4 v* g: v8 k
  236. ; Note: People who wrote portable scripts should not depend on this ini
    + U1 R4 E& R3 g. M* r, I' g9 N
  237. ;   directive. Instead, explicitly set the output handler using ob_start()./ A9 b6 G' A' f# j+ M
  238. ;   Using this ini directive may cause problems unless you know what script: p3 Q. V6 u: [, G7 N
  239. ;   is doing.
    9 K. v+ U0 k7 [9 x5 o
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"" D2 k& d! N" ^- X% W: a6 w6 I
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    ! k2 U8 A; W3 s- C# k3 {; _" ]* E
  242. ; Note: output_handler must be empty if this is set 'On' !!!!' ~+ M. Y- n9 w0 R3 x/ `& l' [
  243. ;   Instead you must use zlib.output_handler.. t+ v5 |) ]2 S: [
  244. ; http://php.net/output-handler6 d1 D, C* ^0 A: `# s7 G2 z
  245. ;output_handler =1 T( r: I- `2 m. V. H* v

  246.   c/ i- f5 A; s5 B2 f7 ], A+ k9 Q
  247. ; Transparent output compression using the zlib library1 {, {) w( N* h' T
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size8 v: j+ ~4 m7 E; P
  249. ; to be used for compression (default is 4KB)! E0 C  {" X7 E5 s* Y$ ^6 H
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    6 H" ?/ N! D0 _! x- ?! d) G
  251. ;   outputs chunks that are few hundreds bytes each as a result of
    : h* S" D% t$ g8 F  _+ D) \4 r
  252. ;   compression. If you prefer a larger chunk size for better
    ) I) a. L. u1 X8 v/ ?; z# W
  253. ;   performance, enable output_buffering in addition.
    / ^( h7 a% B$ y2 F: z
  254. ; Note: You need to use zlib.output_handler instead of the standard4 s; c( y) ^7 G  K8 Y( `! S
  255. ;   output_handler, or otherwise the output will be corrupted.
    7 E6 u5 g$ H- l( f
  256. ; http://php.net/zlib.output-compression
    / V2 J2 |6 C, _- {
  257. zlib.output_compression = Off
    2 u! {: i& ^  F6 m' w/ O+ _
  258. & a+ E( o% q, @+ |. J
  259. ; http://php.net/zlib.output-compression-level9 r! W$ q+ U$ M+ n$ k# d
  260. ;zlib.output_compression_level = -1
    5 E7 T) S9 L3 W

  261. - `/ n1 v# P  T: B8 [
  262. ; You cannot specify additional output handlers if zlib.output_compression
    ! r1 {. V9 o4 Z: _' u
  263. ; is activated here. This setting does the same as output_handler but in
    ) R; d, ^6 {2 @; w$ O
  264. ; a different order.0 @* e6 ^3 {" E2 ~  B0 H
  265. ; http://php.net/zlib.output-handler
      g: b7 R. q# ~. |; c/ c0 M, U: u
  266. ;zlib.output_handler =
    0 k1 n1 j: W8 D+ R2 X

  267. + o' ^! ~# W' d2 s* z
  268. ; Implicit flush tells PHP to tell the output layer to flush itself3 \% z2 W2 p6 a" ^0 l6 T
  269. ; automatically after every output block.  This is equivalent to calling the0 ?" t  K8 M8 ?, p) W
  270. ; PHP function flush() after each and every call to print() or echo() and each7 b  T( t9 H( h/ f" c
  271. ; and every HTML block.  Turning this option on has serious performance
    ' A- v8 Z  [# d; L1 h& g
  272. ; implications and is generally recommended for debugging purposes only.
    , V# S  I* {8 o2 X
  273. ; http://php.net/implicit-flush
    6 _' z1 u# B3 d4 K  w. G5 ^
  274. ; Note: This directive is hardcoded to On for the CLI SAPI3 {1 p. n3 O& e2 p$ D4 y5 a  {
  275. implicit_flush = Off( L' X2 E( }$ l+ H; R) u

  276. % Y3 r/ H- a5 m# E1 p
  277. ; The unserialize callback function will be called (with the undefined class'
    - G( t& S; I+ }2 c2 D
  278. ; name as parameter), if the unserializer finds an undefined class% D, u8 |* W+ U7 `" L7 N
  279. ; which should be instantiated. A warning appears if the specified function is
    0 e  S1 o: x; Z& {+ V
  280. ; not defined, or if the function doesn't include/implement the missing class.
    1 n5 t' `5 s# ?' D1 e
  281. ; So only set this entry, if you really want to implement such a3 T% B- x: i/ ]" Y, R' J! A& B/ i
  282. ; callback-function.8 D( \0 N' N( `! J
  283. unserialize_callback_func =
    % k3 V2 s8 V/ D' u6 p

  284. 0 p. C% ~' K: e  X" a8 h$ n  R
  285. ; When floats & doubles are serialized store serialize_precision significant/ d) K( Y  P$ h% B  p
  286. ; digits after the floating point. The default value ensures that when floats
    8 X. ?2 I8 X+ ~& p) k( V1 f5 w
  287. ; are decoded with unserialize, the data will remain the same.( R# \6 _8 a4 m, U8 L
  288. serialize_precision = 17* o0 D0 G8 N& `' B3 U5 R4 H
  289. $ z! ^8 D6 y/ |0 _* v
  290. ; open_basedir, if set, limits all file operations to the defined directory  a3 H, G. L* b
  291. ; and below.  This directive makes most sense if used in a per-directory( I9 ^' ], s6 B0 x) S1 x8 J
  292. ; or per-virtualhost web server configuration file.
    - l+ h$ Q. [# P4 n/ g/ u
  293. ; http://php.net/open-basedir
    7 ?. R7 ^/ K; f0 U
  294. ;open_basedir =
    1 i' ?+ [" r: H, {

  295. ! T) n4 E+ }' z2 k& w
  296. ; This directive allows you to disable certain functions for security reasons.
    ' A* r( d8 `# k) K
  297. ; It receives a comma-delimited list of function names.& B8 T/ |. Y' }( v/ k! ?5 C
  298. ; http://php.net/disable-functions1 a) c' x. M7 b' `
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru( B& a+ M% M9 ~; j  D; B0 [" g" R0 X
  300. 9 U7 Z4 V( l' K
  301. ; This directive allows you to disable certain classes for security reasons.
    / h% i- S  v" o. K9 k
  302. ; It receives a comma-delimited list of class names." k4 p: j* {6 A' t
  303. ; http://php.net/disable-classes4 u- @9 C" p/ V- Y7 j* E! ^# w
  304. disable_classes =
    $ C0 J/ i+ t9 @% D# J$ A3 a
  305. - N3 L  F& j2 q  z/ B: A, T
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    9 M) p; A, B4 Q  X1 @. J) n3 f: ~
  307. ; <span style="color: ???????"> would work.
    ; K! V2 h5 y: w1 J9 c# w
  308. ; http://php.net/syntax-highlighting, {1 x3 Y1 b# u8 Q4 Y+ f$ K3 K
  309. ;highlight.string  = #DD0000
    1 {0 o% M+ r6 `& q: V5 s
  310. ;highlight.comment = #FF9900
    " r! [* B$ B' L5 B
  311. ;highlight.keyword = #0077005 z9 Y) e4 R# s3 H6 g& s
  312. ;highlight.default = #0000BB8 z4 X2 K! o! Q* k
  313. ;highlight.html    = #000000
    % @+ W. R" T9 L
  314. 7 `& m" l" h8 X3 g& @, [  N
  315. ; If enabled, the request will be allowed to complete even if the user aborts  M" Z+ F" x! K9 z6 {
  316. ; the request. Consider enabling it if executing long requests, which may end up
      q0 X- T' J$ E( b
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    # E- _) G( L8 {" Y* c
  318. ; is to disable this feature.8 x3 r% f) c+ C2 [3 o, F8 U
  319. ; http://php.net/ignore-user-abort
    / f" c0 {4 z" T3 t& a
  320. ;ignore_user_abort = On
    6 Q8 r& `5 d( g) s- b& i
  321. . {) [; I/ [5 t
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    ) u6 N. D  x5 j, G% Y& q  }
  323. ; be increased on systems where PHP opens many files to reflect the quantity of- v3 d. j/ t! p* t6 {. c5 I
  324. ; the file operations performed.: `7 n# d/ j& |' |) [+ I
  325. ; http://php.net/realpath-cache-size+ \4 [7 t3 k5 d, k
  326. ;realpath_cache_size = 4096k0 l7 }  g, x2 A: \
  327. % H  A9 I( R- j( ]7 S* z
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    , K5 U; o. ?; ]" c
  329. ; file or directory. For systems with rarely changing files, consider increasing this/ E8 [; V$ M' ^+ N: J
  330. ; value.5 g; A# P+ A# Y. Z8 a
  331. ; http://php.net/realpath-cache-ttl
    6 g) x. O+ I6 d" r
  332. ;realpath_cache_ttl = 120) B0 M; u/ F) r/ i: @5 Q' P6 Z

  333. 3 I/ ~( u, U+ `$ g
  334. ; Enables or disables the circular reference collector.
    5 P: t/ r* F5 k- m' `- r8 x
  335. ; http://php.net/zend.enable-gc  r6 R8 D7 J' G! x( w
  336. zend.enable_gc = On1 n4 X9 {) Q# w- `$ l4 w6 W: G
  337. # W8 e! F8 y9 r" \$ g
  338. ; If enabled, scripts may be written in encodings that are incompatible with! a; r% v7 l3 W8 R2 M+ H
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such8 n- C+ I! u3 z& |( S
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    " t, s3 _$ P. B6 |: C
  341. ; Default: Off
    " F, n7 f# Q, r+ Z
  342. ;zend.multibyte = Off& Q. a. c: j& W3 ]4 p

  343. 1 Q! U0 G& k9 f0 |0 b0 }
  344. ; Allows to set the default encoding for the scripts.  This value will be used, @( k- i7 e& U
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.) l3 O3 @/ R0 a3 A
  346. ; Only affects if zend.multibyte is set.; H# |, M$ f) f* L$ M  F
  347. ; Default: ""' N7 e9 I- H9 _2 n' ^8 O
  348. ;zend.script_encoding =
    % V; G3 h& H/ c- k& @3 o

  349. ) |& H6 q! e3 k6 N/ X2 Z# s
  350. ;;;;;;;;;;;;;;;;;+ E4 T  N! G& r9 h
  351. ; Miscellaneous ;
    / D; i* d7 R& f! w# q& h
  352. ;;;;;;;;;;;;;;;;;
    * N: X2 z" N7 q9 A  |" s: X' d) T

  353. 1 c7 Z/ M, K/ _, x& g" a2 }
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    # {" A: O) L! H) g: v, `% S3 @( i
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    3 r9 }5 A7 z( e0 \
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    - l) i/ C( t+ h* \- B6 i
  357. ; on your server or not.! B; h& U8 e) z: n: R. v5 F0 o  n
  358. ; http://php.net/expose-php
      y; c2 T/ R  J/ W
  359. expose_php = On
    ! V8 I; ~& R3 e" P" p

  360. ! f9 M0 U( |$ o8 N, L
  361. ;;;;;;;;;;;;;;;;;;;
    . A& D" i; ^0 M. g, `3 w
  362. ; Resource Limits ;: S$ W' Z- |5 K, z' L
  363. ;;;;;;;;;;;;;;;;;;;  s6 [1 c! r  t. g% v2 a( B' L. X( {
  364. . K" Z" x# T! j4 y5 _' B1 E- D
  365. ; Maximum execution time of each script, in seconds
    $ D6 @4 n7 r6 V. J3 K
  366. ; http://php.net/max-execution-time7 X6 I' w# G8 u3 l" Y: n/ ]$ i
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    . J8 D* R" i' k
  368. max_execution_time = 300
    , X% X5 _" T* W0 E% ^2 L- C
  369. , H2 F5 h1 h) C  u6 l, T
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    3 G, F: _8 @* q0 ]5 t1 H4 g
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    6 `' ^, p9 r9 r# ^# @) n
  372. ; long running scripts.
    ' V3 n6 ]* n2 Y6 B2 Y
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    1 K  Q( i+ Z+ t, B
  374. ; Default Value: -1 (Unlimited)
    : X3 s$ {" M: R/ f& R
  375. ; Development Value: 60 (60 seconds)/ w$ e. @$ t& M0 h
  376. ; Production Value: 60 (60 seconds)8 u6 d" u, |2 w$ V8 A. r
  377. ; http://php.net/max-input-time
    ; G  s( c* D4 p9 Z' e9 _( g8 u  w
  378. max_input_time = 60
    7 O5 k( o, j, O4 V+ [% J8 w- C
  379. : _) v8 ]3 e2 I- _- y6 Y' ?1 `- m
  380. ; Maximum input variable nesting level& t) X4 N, M" ^/ w2 q
  381. ; http://php.net/max-input-nesting-level6 B, a7 t. g* y- r( u( H/ |
  382. ;max_input_nesting_level = 64
    $ R+ s( ?* u8 }3 D& O
  383. ( t  Y' e5 h1 f" m: [3 u1 l
  384. ; How many GET/POST/COOKIE input variables may be accepted
    ) H, W* K% @5 m- g$ E
  385. ; max_input_vars = 1000
    ' y- E* q2 M$ D; S

  386. 4 |# v) g1 p/ P0 Q2 H8 z
  387. ; Maximum amount of memory a script may consume (128MB)
    : i' I: A) i2 I) O' W5 |8 l7 K
  388. ; http://php.net/memory-limit( v1 `# v1 K2 D9 T1 e
  389. memory_limit = 128M8 y( ~2 H4 n1 k

  390. 5 F( f& [1 C2 O
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;$ K+ E% f- L: y) r3 L
  392. ; Error handling and logging ;; |; W& p9 v; m8 u
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4 {6 X$ J- }: @5 y
  394. ! p6 Q/ g' n) @5 F. ~
  395. ; This directive informs PHP of which errors, warnings and notices you would like3 I* ]0 t' U  N5 {$ s! y
  396. ; it to take action for. The recommended way of setting values for this
    ; N2 D7 M% F- }% @- `8 V+ v" ?* B
  397. ; directive is through the use of the error level constants and bitwise
      w2 O4 f$ J- e3 F. |+ m
  398. ; operators. The error level constants are below here for convenience as well as  p9 X7 y- u- H- d& N' f9 w" \
  399. ; some common settings and their meanings.
    , f1 B: \$ d- d
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT9 i" @! x2 A3 G7 C
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and4 Z) u( L5 B8 b: o0 l2 y
  402. ; recommended coding standards in PHP. For performance reasons, this is the/ b# s" q* s4 {0 ~8 k6 s
  403. ; recommend error reporting setting. Your production server shouldn't be wasting/ k/ h! o4 c" \8 r5 p1 H
  404. ; resources complaining about best practices and coding standards. That's what
    % Q0 U) c+ R3 z; H3 N) G: V. ?
  405. ; development servers and development settings are for.
    0 Z: N: _9 w9 P* o- s% N& ^9 r
  406. ; Note: The php.ini-development file has this setting as E_ALL. This5 g. n2 q7 H9 {( m# S1 Y( A0 g2 ]+ ~
  407. ; means it pretty much reports everything which is exactly what you want during" B  R9 j5 m$ r$ }" _! t
  408. ; development and early testing.
    " @( M4 K7 E' U( j
  409. ;$ Z4 |5 |5 n; I1 F0 K4 T$ z
  410. ; Error Level Constants:  t! p" R6 \& N+ ]2 C: p
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    + V: x" W0 o% X; [: Q
  412. ; E_ERROR           - fatal run-time errors
    / i1 e0 N8 o1 c4 d
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors& p8 o2 m" x7 @2 K- v& E0 i/ H& g
  414. ; E_WARNING         - run-time warnings (non-fatal errors)# W7 M$ y5 g1 {
  415. ; E_PARSE           - compile-time parse errors
    , b% B7 F% K0 E4 [6 c' Z5 x
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    0 L. o0 l* A% a  X7 e. x5 B: u
  417. ;                     from a bug in your code, but it's possible that it was* I/ m7 e3 l( c# k) t# y
  418. ;                     intentional (e.g., using an uninitialized variable and& F$ I: F1 j$ w; f5 D' ]# M" v3 M
  419. ;                     relying on the fact it is automatically initialized to an$ c; C; K/ A/ J7 P; T2 o9 [, ~: D: y; B# G
  420. ;                     empty string)
    2 E$ b  M; ^# @* c9 i
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    ' x9 i7 I' D4 M; j3 Y
  422. ;                     to your code which will ensure the best interoperability
    : a& l( B9 Z# M5 a
  423. ;                     and forward compatibility of your code! w5 x( R9 N5 H& B5 m4 i, f" H& b
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    $ N5 j* ^$ M1 w! e8 J% e0 U- I
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    ) _+ t! ]0 e* ?  r
  426. ;                     initial startup
    . [2 v5 T+ j" N6 m
  427. ; E_COMPILE_ERROR   - fatal compile-time errors; T+ `6 L" A( J
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)+ m  i) k* R  E5 \8 ^# q8 F" {
  429. ; E_USER_ERROR      - user-generated error message0 R* Y2 V. d2 M3 C% T
  430. ; E_USER_WARNING    - user-generated warning message+ C. Z( R& j. I# S
  431. ; E_USER_NOTICE     - user-generated notice message
    * D8 m. Z2 @' p: i, a& a
  432. ; E_DEPRECATED      - warn about code that will not work in future versions8 `# q. [; w% X' V4 F8 G) v
  433. ;                     of PHP( A" f* [3 o3 F( m; T
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    / u8 N" C6 u7 e& A9 i
  435. ;  d+ G( N) _* Z6 h- E
  436. ; Common Values:
    - O. j. n! ~% v4 `' J) B
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    3 C* Q3 ]1 |+ P1 b+ N6 ?5 w( R
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)- S* K* z! A2 q0 R' `, U0 F  S
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)9 `' Y) [$ v0 _3 D' H' w
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)5 f; Q/ t3 R* B3 t! c: H, p+ Z+ t
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    # ]6 W3 m8 ~0 y4 p5 Y! m8 j( G
  442. ; Development Value: E_ALL7 U$ s: q- ?3 A$ X! @0 i
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    " P0 G. F7 D0 h" l
  444. ; http://php.net/error-reporting) o: K8 N9 E" g, j/ ]
  445. error_reporting = E_ALL & ~E_NOTICE# b6 ?- x' f8 s( }
  446. 7 R, a* F  O3 N7 S) q/ I
  447. ; This directive controls whether or not and where PHP will output errors,
      Q$ G5 p# }+ E% w
  448. ; notices and warnings too. Error output is very useful during development, but
    ; X5 I; r2 c, }" e
  449. ; it could be very dangerous in production environments. Depending on the code
    1 p! ]0 S* _9 N; @) i
  450. ; which is triggering the error, sensitive information could potentially leak
    7 ~1 C4 W# Y# _9 R; y: d
  451. ; out of your application such as database usernames and passwords or worse./ m  O0 t3 L/ {/ p. J  f2 p
  452. ; For production environments, we recommend logging errors rather than$ X- h' D4 ?5 ~
  453. ; sending them to STDOUT.4 {+ u/ m* D/ J
  454. ; Possible Values:! f9 U3 q; _( l" C) i, ~
  455. ;   Off = Do not display any errors+ c. O- ~6 P4 C  c& W6 y1 n
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    1 M$ h4 U& X! g" U
  457. ;   On or stdout = Display errors to STDOUT
    / R# `9 c/ i7 C& W! b: J( k6 @4 }; t# |
  458. ; Default Value: On
    / F) M4 z2 w: z8 F9 S! _
  459. ; Development Value: On9 q  _6 H; M  \* ~; k' B
  460. ; Production Value: Off
    ) i7 L$ x- G" T; _5 ^* X) S
  461. ; http://php.net/display-errors
    ) s5 ?' r* d, v( L2 S" c' ^, C! G7 w
  462. display_errors = On& t/ D# G5 q8 v# Q! m

  463. ! C& i9 x' ~8 q; w& {1 Y
  464. ; The display of errors which occur during PHP's startup sequence are handled
    & @6 X$ G! Z3 c& ?# a; J& p
  465. ; separately from display_errors. PHP's default behavior is to suppress those
    8 M3 i+ }; C% P
  466. ; errors from clients. Turning the display of startup errors on can be useful in- q8 V* d1 d# i& I. K8 ]- C
  467. ; debugging configuration problems. We strongly recommend you
    8 l% i9 r9 S( a; P( |0 e
  468. ; set this to 'off' for production servers.
    $ _: F* U- u/ m, h: C
  469. ; Default Value: Off
    . O: ]. X" A) \, r
  470. ; Development Value: On& h) T4 t& J3 t" e9 o; f
  471. ; Production Value: Off
    9 _% a4 c3 h0 R& |  t8 Q, W( H) }
  472. ; http://php.net/display-startup-errors7 h; d. d# A1 P: p, N; M* Z$ O1 k
  473. display_startup_errors = Off
    7 P5 Z+ `: p. E' W' |/ I& G0 y
  474. ; ]; ~" w0 d6 d1 A$ q
  475. ; Besides displaying errors, PHP can also log errors to locations such as a
    1 |, V; Y  \! j# e
  476. ; server-specific log, STDERR, or a location specified by the error_log7 [) T6 J8 k% y( C1 I! j
  477. ; directive found below. While errors should not be displayed on productions, ]5 E* Y1 h+ `* P
  478. ; servers they should still be monitored and logging is a great way to do that.. }3 Y9 l3 L5 {! r+ I  G/ T: h) \
  479. ; Default Value: Off
    ; d# @% }% L! Z/ A( t
  480. ; Development Value: On( v0 v. I* B/ H* F2 S1 j7 u' k; p
  481. ; Production Value: On/ ~0 w1 Y) c( k* ]7 ^1 G
  482. ; http://php.net/log-errors
    9 F6 E4 N( _/ t- L8 t" f9 ]
  483. log_errors = On$ O6 d6 d' A- u6 ~

  484. 0 f5 D! L) `/ Z: K) E
  485. ; Set maximum length of log_errors. In error_log information about the source is, m0 ~! v+ x% B, N; Y1 z6 w
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    7 s& w/ p6 _5 `1 @# q/ o  r1 W
  487. ; http://php.net/log-errors-max-len
    # j) f. L" E* H# @4 i' c% `# P6 T
  488. log_errors_max_len = 1024
    - j1 Z& F- O8 |

  489. 7 E. {* h0 H; }! `4 Y, Y5 v
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same
    - S# c( J+ X& Z$ t
  491. ; line unless ignore_repeated_source is set true.5 x' H0 z4 E2 }( q
  492. ; http://php.net/ignore-repeated-errors' x) ?, R: b7 T" L
  493. ignore_repeated_errors = Off
    , @" A/ x! W- r& C0 R. w+ e" T0 R

  494. 1 a! ]/ a0 c8 b3 B+ p' ^' x  v
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    . o8 e; \$ Z6 Y1 {% |
  496. ; is On you will not log errors with repeated messages from different files or& f; R+ m( r8 J2 u/ s
  497. ; source lines.* q2 h" ~+ |% w
  498. ; http://php.net/ignore-repeated-source- B. D1 P6 T5 q
  499. ignore_repeated_source = Off
      v* E; u5 v4 A# q  Z4 `
  500. . W; Y2 N) Z7 q* @8 v  i9 }6 N+ e
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on5 h0 Q* R& g) q9 j, s, h
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    0 \& [8 y4 [# ]8 G  v: w2 C( @
  503. ; error reporting includes E_WARNING in the allowed list7 f' B( S1 ~: @. U# n' J9 B
  504. ; http://php.net/report-memleaks: ~' [8 g* [, v( B+ o# q
  505. report_memleaks = On  S% r2 O; ^8 f% A

  506. - x0 S- J8 R' T% k& I
  507. ; This setting is on by default.
    6 ?0 W8 f: X5 }& F( y7 p
  508. ;report_zend_debug = 0
    " P- d) |0 Y0 A: h
  509. ( B. t3 q: [8 B  v
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value: S  b* o4 t% w5 u6 c  c% p
  511. ; to On can assist in debugging and is appropriate for development servers. It should/ k3 K1 {4 J5 `" O7 a4 q' `) R
  512. ; however be disabled on production servers.. n- f$ w" A% R: [7 q
  513. ; Default Value: Off' R$ Z1 q# p2 h$ Z: r
  514. ; Development Value: On* w4 w: o( ~0 K4 B, y8 i1 d
  515. ; Production Value: Off
    % N& e& K3 _( Z$ N  I6 e
  516. ; http://php.net/track-errors* c" \/ }: |' m0 ^
  517. track_errors = Off
    ' h3 O0 g! M  p8 A7 |- B6 ~

  518. 4 W. b5 ^; h6 K# j% k% ~: C
  519. ; Turn off normal error reporting and emit XML-RPC error XML2 `. s* [5 K; F9 f  D
  520. ; http://php.net/xmlrpc-errors
      \! [: x) V0 f, i  e
  521. ;xmlrpc_errors = 0
    : l( j- H; e8 u5 s0 Q4 ]  Q

  522. ! Z/ D; O( y  \5 a4 N, K
  523. ; An XML-RPC faultCode3 v: `) y5 c6 e- L3 z) h
  524. ;xmlrpc_error_number = 0
    & A  w! q* F- o' Z  S$ k
  525. 2 f! E) u# k! X  T
  526. ; When PHP displays or logs an error, it has the capability of formatting the% v+ Q8 L9 V6 E7 |! c# e3 Y' A
  527. ; error message as HTML for easier reading. This directive controls whether
    ) F9 u' p. f  q/ N# q0 O
  528. ; the error message is formatted as HTML or not.: a1 R9 f0 s3 a" y0 K2 [
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
      S: m' J8 O3 j) p- \3 ~# F" B5 y
  530. ; Default Value: On6 M0 ~2 i0 B5 v3 t! k: R/ a% ~4 M8 n
  531. ; Development Value: On9 c* \' \3 `9 M9 ^. R
  532. ; Production value: On
    ( o5 e4 M2 E0 Q- ]! h4 \" A1 N
  533. ; http://php.net/html-errors# ~1 g4 G6 J) j
  534. html_errors = On3 u( m2 d6 \9 e3 u, o5 ?) d( J

  535. % C0 Y  E) ?4 ^. z
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    . b0 A. m& k+ X2 p) ]$ Z, X
  537. ; produces clickable error messages that direct to a page describing the error
    0 s, m! W  c& t) `' x9 G! ]
  538. ; or function causing the error in detail.8 X. o5 J" H* }% n# M: W5 ]/ a! r
  539. ; You can download a copy of the PHP manual from http://php.net/docs* w. H2 t$ q8 R- b* S6 w$ Z
  540. ; and change docref_root to the base URL of your local copy including the/ A& S0 e! x7 q* b5 O; q
  541. ; leading '/'. You must also specify the file extension being used including
    . q! R' a. t: r  E
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which& f. Z1 A. p- S! Y& R
  543. ; case no links to documentation are generated.
    + N% t8 U0 h' L9 W
  544. ; Note: Never use this feature for production boxes.
    9 K5 O. R8 k& t% h
  545. ; http://php.net/docref-root! K/ s( O* p2 r: l- Q1 k
  546. ; Examples: Q  P, {3 B$ n6 a: `2 b, _7 ^
  547. ;docref_root = "/phpmanual/"
    ' W0 A- a3 S6 @  e. `1 o
  548. ' p: ~: F3 A; u3 m+ L
  549. ; http://php.net/docref-ext5 B9 U% {. e. Z
  550. ;docref_ext = .html
    4 M' G0 Q1 T+ f' |8 H) E- V( V
  551. ! i  C5 @7 u# {7 l
  552. ; String to output before an error message. PHP's default behavior is to leave
    ) |* v& b9 L3 H0 t
  553. ; this setting blank.
    3 A( w% S1 t& \, m
  554. ; http://php.net/error-prepend-string1 u6 b7 `$ U4 X+ p* o6 ?
  555. ; Example:
    & F+ V7 M$ [% n" J
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    % v0 c6 d6 y# w, U5 k

  557. ( C+ Q. U  Q: m/ Y4 J" X
  558. ; String to output after an error message. PHP's default behavior is to leave' I  ^+ y: j- n' A/ o, z
  559. ; this setting blank.
    , Z- E- p# l( g# _4 K6 D
  560. ; http://php.net/error-append-string
    / Z6 R( q; Q7 z' }# q$ o
  561. ; Example:
    ! X  ~! }6 a& x! W$ I
  562. ;error_append_string = "</span>"+ d/ U3 ]8 u, X  x- L, T7 ]) G: P

  563. . Z) P% y6 W& J3 M* o8 F
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    5 e. R4 T, Y% d* R( [( q8 X. h2 Y
  565. ; empty.9 S% T" K1 c+ G1 V, s5 T4 K
  566. ; http://php.net/error-log+ U" v9 _' F& b
  567. ; Example:
    0 ^( L) @2 `: {8 R& d2 e
  568. ;error_log = php_errors.log* d) e2 u, M2 `! t! z  r
  569. ; Log errors to syslog (Event Log on Windows).
    ' L. C2 W/ D) G: ~
  570. ;error_log = syslog8 C# e2 y; f4 }% |! g7 I
  571. 2 h" H4 ~" @. M1 }6 t  I
  572. ;windows.show_crt_warning
    6 m# J: i" W; ?# y# Z' v8 d3 }) p* P
  573. ; Default value: 0
    % _( ^) v. H; m+ \" M% d
  574. ; Development value: 0- S; o0 b5 h2 t: k) }8 b+ J' C4 j
  575. ; Production value: 0
    & ^6 b& S/ G5 ~2 X% e9 W

  576. - V1 o' C9 K3 c) h( f
  577. ;;;;;;;;;;;;;;;;;8 S  P1 C; i0 e* [# }/ O+ F
  578. ; Data Handling ;
    ! u* ]" Y( K  b: \+ Y0 z
  579. ;;;;;;;;;;;;;;;;;6 }3 J+ H. F# L( ?

  580. ( ~( h9 l, {" ]& {0 ]+ U0 z' T
  581. ; The separator used in PHP generated URLs to separate arguments.
    % j+ ?6 Q" n; h" J1 D8 y% ~' k7 l9 X
  582. ; PHP's default setting is "&"./ d* F0 ?  y4 l% M8 i9 A
  583. ; http://php.net/arg-separator.output
    1 w/ l0 }9 E8 w2 f3 y+ y
  584. ; Example:
    $ P# t7 D( S( @* G5 l. T' N3 m
  585. ;arg_separator.output = "&"3 {: \' J( }: s( G" v1 [7 q3 B

  586. " m; X( D  P- p( u1 A. m
  587. ; List of separator(s) used by PHP to parse input URLs into variables.+ I' t8 w2 `% I7 P! Y
  588. ; PHP's default setting is "&".
    9 B6 o0 m4 M3 ~* |4 K1 u% |
  589. ; NOTE: Every character in this directive is considered as separator!. O; L% J6 X! h* B
  590. ; http://php.net/arg-separator.input/ k& o4 \, Q3 y2 \
  591. ; Example:, a  i( x; |7 e2 m2 K2 J
  592. ;arg_separator.input = ";&"
    9 S! M5 B6 b" J! y- i' Q
  593. 6 M- K% h. }4 l- j
  594. ; This directive determines which super global arrays are registered when PHP
    3 G: u$ s0 \& k' c
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    + e# d' |  j8 q6 o4 E- B- {6 C- [8 J
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty4 s# q4 C! H1 C+ x  w) x, R$ W
  597. ; paid for the registration of these arrays and because ENV is not as commonly6 j1 k+ {( @/ x
  598. ; used as the others, ENV is not recommended on productions servers. You
    ; C) [, r- e+ y9 D) b
  599. ; can still get access to the environment variables through getenv() should you3 @3 ~9 c) o7 B0 |6 N
  600. ; need to." P1 o, G9 M: w- |! m' c. T
  601. ; Default Value: "EGPCS"! z) P$ M, h; J: `- P6 X  ~
  602. ; Development Value: "GPCS"
    ) s  U1 k7 l3 G& K
  603. ; Production Value: "GPCS";+ D7 x$ C2 c; G: Y% n" ^
  604. ; http://php.net/variables-order; L2 u: D; H- a% ^
  605. variables_order = "GPCS"
    ) L& n3 S1 ?2 I' a6 }) Q

  606.   l6 b: G, F/ `2 Y# t
  607. ; This directive determines which super global data (G,P & C) should be' b+ R% W0 ]" a8 G- }/ Q. S9 k
  608. ; registered into the super global array REQUEST. If so, it also determines
    0 g! H$ S' t( n- J( w6 E
  609. ; the order in which that data is registered. The values for this directive; i( e6 h$ z9 Y: D, |9 s! m
  610. ; are specified in the same manner as the variables_order directive,, B& u, e0 h0 W  s: V3 Y* ^
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    3 e; o. j. }2 k9 X* W( ]. ]0 n
  612. ; in the variables_order directive. It does not mean it will leave the super
    . c5 J6 V% p, r' c5 G
  613. ; globals array REQUEST empty.. E" b. A8 e+ _4 N. X
  614. ; Default Value: None
    % d5 Z+ i* G3 |. W7 p% F
  615. ; Development Value: "GP"  [" r1 n, R- ]3 N1 y' M, J
  616. ; Production Value: "GP"- c) T- e' k- v$ k' b5 l
  617. ; http://php.net/request-order
    3 x' o/ R: V7 j5 x; I; J3 U6 D
  618. request_order = "GP"" O' g' @6 k8 o  E- K& X

  619. 2 d( y1 ~; d/ G) b
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    4 \: f# I) I/ Y1 n
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script
    ( f5 U$ M" m# o. b  P& Q6 d6 ]
  622. ; is invoked. $argc contains an integer representing the number of arguments
    3 s; f' A* @- n- ]$ P
  623. ; that were passed when the script was invoked. These arrays are extremely
    ' Q. N& Q/ ~9 ]4 `1 F( S: ^' C
  624. ; useful when running scripts from the command line. When this directive is
    " `6 [7 G. Q! S5 n+ c( j, u( ^* \! n
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    1 k+ ]& v0 O1 L4 M9 M
  626. ; a script is executed. For performance reasons, this feature should be disabled, ~! Q" }, U2 d
  627. ; on production servers.
    7 [6 ?  m, G, m' I# T5 {, p9 i8 ~
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    / ?' ?. U* n& H" H* E  G
  629. ; Default Value: On8 ?3 C) Z: ]( P; b; I
  630. ; Development Value: Off
    * M# ?. M, o3 W! n! }
  631. ; Production Value: Off
    9 J% \( t# }4 R; V% N: M
  632. ; http://php.net/register-argc-argv# P" t, E9 W3 R/ u0 H' C5 u
  633. register_argc_argv = Off% Y  h0 Z1 V9 `" H5 U

  634. 4 i8 h. _. m$ e+ G% _
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're0 E3 E  Y9 W) N8 _) [4 q
  636. ; first used (Just In Time) instead of when the script starts. If these' z1 s- Q1 y1 |7 H; X* `
  637. ; variables are not used within a script, having this directive on will result
    & H4 I/ d* u7 T1 ^# d
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled; d7 \0 U: c% w- B# T) L( e
  639. ; for this directive to have any affect.
    9 Q; Y! ]2 j4 @* t
  640. ; http://php.net/auto-globals-jit. W: f  R5 `) _5 R& S' Y, X: @- H9 E
  641. auto_globals_jit = On
    % _% i' W. w8 j
  642. % c' B) L$ a, G/ P1 w5 m( N
  643. ; Whether PHP will read the POST data.
    + ^0 M! T0 }5 {" G8 w
  644. ; This option is enabled by default.
    4 v7 q7 \  G8 `! w, b+ R2 `
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST8 J/ M8 ]% T! H6 K; G' J0 f
  646. ; and $_FILES to always be empty; the only way you will be able to read the" _3 X9 B$ }3 q: v. U% y4 c
  647. ; POST data will be through the php://input stream wrapper. This can be useful. m; u" E( c) c. d8 g2 a3 r
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.
    # c. Z7 X9 s4 I  o' o) Y
  649. ; http://php.net/enable-post-data-reading
    * t, @! @2 d/ r" e
  650. ;enable_post_data_reading = Off
    . T4 y  p9 r. n) @0 c

  651. ' }! T7 Q% T3 |  w% h( F3 F
  652. ; Maximum size of POST data that PHP will accept.! P- I2 i, l) g/ D# a2 p
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    / B/ b- x) u! a6 B# U% Z
  654. ; is disabled through enable_post_data_reading.1 I% @: T) k5 E$ T: f6 c6 _
  655. ; http://php.net/post-max-size6 M  J$ e$ q( d1 G
  656. post_max_size = 50M
    : S, y1 @! |0 h2 l+ k! g8 l0 ]2 u

  657. % N% d: ~; a9 B' O/ U
  658. ; Automatically add files before PHP document.# W8 Z4 P- l: {/ v6 Q; q7 x/ O$ x
  659. ; http://php.net/auto-prepend-file+ I9 H# J* b) h% {9 E9 }( Z
  660. auto_prepend_file =% I  B, L( S/ n* o
  661. : j) z; m6 C' w+ m9 u" a1 D& L
  662. ; Automatically add files after PHP document.
    $ I, R3 ]6 w( A# s' \* O
  663. ; http://php.net/auto-append-file+ r+ n+ N! Z$ a" G# N. b; h
  664. auto_append_file =8 g5 D5 R$ H, R

  665. - L7 l6 E& n1 _4 P$ u' d0 v
  666. ; By default, PHP will output a media type using the Content-Type header. To
    $ @+ ]( r8 M" T' B9 l( G
  667. ; disable this, simply set it to be empty.: Z9 U2 ]; E, ~! N, I9 {8 i5 K6 w
  668. ;
    7 ^7 O/ ~6 B7 V% w7 W3 y# |: @
  669. ; PHP's built-in default media type is set to text/html.
    3 x% S( A4 t- X4 Q3 M
  670. ; http://php.net/default-mimetype; Z; o9 W" Y! l2 W4 x
  671. default_mimetype = "text/html"
    ! M4 W2 E) t' z9 u8 }1 o, @
  672. 8 D% w0 e1 l" ^& F
  673. ; PHP's default character set is set to UTF-8." D% I! E9 A$ m/ \  m
  674. ; http://php.net/default-charset
      ~1 W& r7 q+ s6 j( c0 V) d4 D1 A& X8 d
  675. default_charset = "UTF-8"
    8 g/ U5 l: A: M
  676. # U& U5 d, [$ n9 h1 B
  677. ; PHP internal character encoding is set to empty.
    . S1 L2 B6 a! s1 l
  678. ; If empty, default_charset is used.
    9 |. e0 f( O- X$ j5 O
  679. ; http://php.net/internal-encoding
    3 ^7 G/ p! @! a' p( d8 C
  680. ;internal_encoding =" B! E7 _* f6 a  t$ y6 W! x& j! w

  681. - {' c# k# ^+ u; ]
  682. ; PHP input character encoding is set to empty.( F) \4 V2 w( q* R" s- T
  683. ; If empty, default_charset is used.! `, y9 j* y! z+ r
  684. ; http://php.net/input-encoding+ `! r- {2 m0 N2 S  b2 q. T6 X
  685. ;input_encoding =! y( H5 X+ c+ ^1 q5 V) U  [
  686. ) v) G* l/ J. G; y: a% F7 a& Y
  687. ; PHP output character encoding is set to empty.
    % E8 V& r5 y9 a- X! U
  688. ; If empty, default_charset is used.
    7 [: H/ I+ N" b. A8 {" m
  689. ; See also output_buffer./ b. p7 {- D3 L2 P
  690. ; http://php.net/output-encoding
    $ S# c) p8 E: \5 V
  691. ;output_encoding =6 s5 Q* a5 ~- O/ W- v

  692. 0 r5 E! U9 O& ~$ w7 l1 K& g* o0 t
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    : h( n, |0 q5 M$ ~* t+ F
  694. ; Paths and Directories ;; {/ U4 a3 y: R* c7 c9 X
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;7 E5 i0 r% D% ^4 v7 J
  696. # ~$ Q2 C) I1 c: g' L  Y& v
  697. ; UNIX: "/path1:/path2"' z; H: [. s. ?0 F# I
  698. ;include_path = ".:/php/includes"8 Q' l# Q1 s+ E
  699. ;
    ) I. f  c- _& c2 [  _$ A
  700. ; Windows: "\path1;\path2"
    0 d& }: @. n! z( F0 q0 I+ X0 {5 E! r
  701. ;include_path = ".;c:\php\includes"3 |3 |7 M, |- \* k  K) u3 c
  702. ;
    ) h7 n) j4 B: a9 b7 G$ x
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"+ J3 _! V6 w( `3 Z
  704. ; http://php.net/include-path% M1 s' R4 y+ Q1 \0 z; s" e

  705. " i8 P& t2 [4 w
  706. ; The root of the PHP pages, used only if nonempty.
    5 t8 i; ?# _8 E/ s% b) W# ?
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root, l0 a. j7 ?( {
  708. ; if you are running php as a CGI under any web server (other than IIS)5 l/ Q- L6 Z2 b8 L0 ]( o3 Z
  709. ; see documentation for security issues.  The alternate is to use the8 |" K; C4 B8 L; s7 g. t% _  ]3 [+ U7 _
  710. ; cgi.force_redirect configuration below7 L% j# S4 p8 {, G
  711. ; http://php.net/doc-root. }* I' n5 z* {
  712. doc_root =
    . |; b& S* l& X$ P

  713. / c: {# U; b4 N7 s/ z) l9 j. b
  714. ; The directory under which PHP opens the script using /~username used only
    5 t: q# K/ m2 n$ Q+ ?' A& z7 F
  715. ; if nonempty.! |. Z% F; M& M8 i3 t. o. }
  716. ; http://php.net/user-dir4 H: O3 Q$ {& @7 U* c
  717. user_dir =2 y0 V& v. S8 l! y( i. @

  718.   B3 u9 \2 N: P4 c" Z. k6 s7 y& K
  719. ; Directory in which the loadable extensions (modules) reside.- V: U- d  P' s2 j5 x
  720. ; http://php.net/extension-dir7 d" W! @5 ~' L; B4 m: [
  721. ; extension_dir = "./"* p& T0 E: u# f  j
  722. ; On windows:
    2 Z  N* Z$ o* H. N& e4 g
  723. ; extension_dir = "ext"
    ; T  B: o/ R9 z! }
  724. # D# D( q& r* n9 p8 ^* z
  725. ; Directory where the temporary files should be placed./ r, l' X$ C* u7 r: e! W( Q  ^
  726. ; Defaults to the system default (see sys_get_temp_dir)/ k- Z! a8 j! p% {( k7 p, u. |
  727. ; sys_temp_dir = "/tmp"' M( \9 m; q4 V4 ?7 ?+ [7 _5 r* Q; H

  728. ( u' v  J: S2 v- ^) |9 ?
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work3 a# E# F& I; ?6 C  |& `0 H  `
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically1 L/ y& Y2 _, s3 }$ v0 M. [$ }
  731. ; disabled on them.$ E+ W' ]0 U% \( a0 L& F
  732. ; http://php.net/enable-dl
    ' e" H. d2 P: l' u! r
  733. enable_dl = Off8 S, h4 s; L# v; h
  734. & Z5 d: z6 j: f* ?7 U
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    & O2 [1 J1 D3 }
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can& E7 y, ~2 r( f; R& j/ L2 b/ V
  737. ; turn it off here AT YOUR OWN RISK
    : x" y; i8 J  k: ~7 `( Q% s! [
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    / c+ N2 |2 M3 t5 y% l+ a
  739. ; http://php.net/cgi.force-redirect: Y7 X5 |3 |0 U+ k& g7 |) d2 }
  740. ;cgi.force_redirect = 1
    , \; P8 I' J2 m9 i; H

  741. # I8 T) O0 |4 L, T  O) s* j
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    % A: K( M$ ?$ `# M! Q' E+ Z! |! z
  743. ; every request. PHP's default behavior is to disable this feature.% h6 I- M. P6 W& K
  744. ;cgi.nph = 1! T) o) D0 h* D/ R& P: j$ {! j

  745. 2 f2 ~6 l4 t# j" q+ Z$ r: M& a& F
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape) g8 T4 y9 a+ W* C8 r5 X) _, v
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP# f8 `+ l: x0 q* ?" i& E, A
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    : j$ ~5 j  d* o0 C
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.' k/ {( I- m- ^8 J1 ~
  750. ; http://php.net/cgi.redirect-status-env5 b+ S5 t2 U6 g& _) e) z
  751. ;cgi.redirect_status_env =
    % n/ P7 V/ F7 u5 I& R- L( \% S0 z$ S
  752. 7 [4 I" `( E( Z0 |; D/ f
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's+ d- o2 R) ^- [
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok/ [7 J% E% f% i/ z9 O- p/ \; v
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting7 W8 \* ^# N7 T7 P% q& {4 a: H
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    6 I  I! }  I5 b/ ~% S8 _: ]
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    # |+ ^3 v3 I* ~  Q
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.7 B, Y# O3 A) M8 i4 J" j7 m- c" x
  759. ; http://php.net/cgi.fix-pathinfo
    / w8 N. R: i, j1 u
  760. cgi.fix_pathinfo=1
    ) Y# a4 d# f6 H

  761. ) Z6 _) E$ |# Y1 [
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside7 h* J. n8 b; H, r
  763. ; of the web tree and people will not be able to circumvent .htaccess security.
    ' D+ T+ z7 c$ h7 T8 u
  764. ; http://php.net/cgi.dicard-path4 f6 I$ J  F# t0 w( j( @
  765. ;cgi.discard_path=19 n( C4 J- f$ f" g, n
  766. / w8 ~, T  E2 n# k6 M7 m
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    8 D# g' b1 t4 ]6 F# Z7 e: p
  768. ; security tokens of the calling client.  This allows IIS to define the
    2 ]5 C6 a3 i5 a( F* C2 i! |
  769. ; security context that the request runs under.  mod_fastcgi under Apache
    " A- _7 q3 V" O# k  Q4 }
  770. ; does not currently support this feature (03/17/2002)
    0 D! C1 q7 b# [" H: Z2 H- V" H
  771. ; Set to 1 if running under IIS.  Default is zero.7 \" B" h6 ~, |' ?
  772. ; http://php.net/fastcgi.impersonate
    , d) n! C0 u7 N9 v, U. }: T4 q
  773. ;fastcgi.impersonate = 1; G% _  |% J4 g

  774. ! h; g5 b* L- Y4 S* b: o. S
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    - e% `5 z6 ~' Q3 K
  776. ; this feature.& T! V- o% O1 ]8 g7 B' v
  777. ;fastcgi.logging = 0% U0 P) `  @/ L1 D. z6 n2 h

  778. # p% C/ x' T' e# |6 e
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to6 F# P, J. q# ]; B/ k% ]' ]3 A
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    ) o8 l+ V. M# F; m) V3 s
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    2 z/ r# W1 I$ a) i" D
  782. ; RFC2616 compliant header.! ^- z+ {; i/ V
  783. ; Default is zero.% O1 A' A. {4 _, |0 T
  784. ; http://php.net/cgi.rfc2616-headers
      C/ f$ U3 i5 L" O: a
  785. ;cgi.rfc2616_headers = 0
    ) D# D6 A0 A" [  u7 Y
  786. / U% _1 v: q) [
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!& |. u7 o' \4 d9 }4 @
  788. ; (shebang) at the top of the running script. This line might be needed if the
    . z3 z+ ]+ f# I7 ^
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI- p1 @$ `6 }5 n, |
  790. ; mode skips this line and ignores its content if this directive is turned on.
    6 Q2 t$ n2 X6 T1 d- \* t6 F
  791. ; http://php.net/cgi.check-shebang-line# r# t* q' H* h7 I
  792. ;cgi.check_shebang_line=1
    % J% l5 {: ]6 @9 B

  793. & x. _4 _7 k% j( V
  794. ;;;;;;;;;;;;;;;;; T& u$ X& Y, P8 [
  795. ; File Uploads ;
    4 Z8 @! M( }! H9 G
  796. ;;;;;;;;;;;;;;;;
    7 z; F) m  C# ]9 B7 `
  797. ( N: }# [  v0 L. L# I1 x
  798. ; Whether to allow HTTP file uploads./ C0 M7 L' K/ ?
  799. ; http://php.net/file-uploads& e* S  d  E8 L0 D* H' A* V
  800. file_uploads = On0 }* W/ ^2 M: N, ~0 t' ^
  801. 7 I( {, b2 X3 |2 b$ T
  802. ; Temporary directory for HTTP uploaded files (will use system default if not$ _) }! ~" `  L
  803. ; specified).' u0 D4 p0 Q5 u' _7 r$ ~/ `; R7 D! ?
  804. ; http://php.net/upload-tmp-dir
    8 }& T9 S. F1 O% {% [+ y  b' j8 I
  805. ;upload_tmp_dir =
    3 @4 z* x/ [8 w/ _) W8 X
  806. 3 e. X* o% D. g1 T; X& Z8 \
  807. ; Maximum allowed size for uploaded files.
    / i$ Z5 F4 s5 C0 d
  808. ; http://php.net/upload-max-filesize
    ! C9 r  f! _1 y$ G/ K1 Y5 \
  809. upload_max_filesize = 50M
    5 W3 x3 a- ?/ q* ]5 H5 f  @

  810. ! Y6 H6 V2 @3 d
  811. ; Maximum number of files that can be uploaded via a single request
    + |& }6 q* S) `( s0 n  a
  812. max_file_uploads = 20
    0 ?: `1 \' N. t% B6 m" r/ q0 M$ o- o

  813. 1 L- @& T2 j# J. m( M% j( x
  814. ;;;;;;;;;;;;;;;;;;
    ; O9 i# O8 p! \
  815. ; Fopen wrappers ;
    8 Y* J+ S6 B# [) }, z
  816. ;;;;;;;;;;;;;;;;;;
    & w3 [# u" d0 y' B
  817. $ O" K+ _. Z9 w) f# u+ K4 y' C
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    5 d3 b7 j) Q. A6 S, A+ m, i- L! V
  819. ; http://php.net/allow-url-fopen
    : ^4 C* b3 r) z! P; P
  820. allow_url_fopen = On5 I1 X3 a$ v1 M
  821. 0 _) O  d* P+ L* N2 O9 _; ?: X! {
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    : V; u% B* L( E0 E) H6 Y
  823. ; http://php.net/allow-url-include1 v( x5 [! F3 P( F1 R- N
  824. allow_url_include = Off
    % ~' x5 `9 V: l. M1 {

  825. & s4 H# A2 n! f
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    & W4 D2 p# u4 n/ a
  827. ; for this is empty.; b. `, p$ B8 ~
  828. ; http://php.net/from
    4 F7 H1 K5 u" J7 i2 }
  829. ;from="john@doe.com"
    : M; U; F( v, d$ p6 `4 t3 w! k

  830. 2 W3 V3 O! C9 u& V0 S1 R
  831. ; Define the User-Agent string. PHP's default setting for this is empty.
    1 g' ^5 e4 z5 g" X6 t. s  e
  832. ; http://php.net/user-agent
    0 R5 \0 T* _- A# u; y& ^) v! q. W
  833. ;user_agent="PHP"/ b8 E' B$ ]2 U1 F2 j/ j- ~0 h6 E

  834. 8 k9 Y" e, ^" D; y1 A
  835. ; Default timeout for socket based streams (seconds)
    ; d# ~5 {: h, Y8 `) f
  836. ; http://php.net/default-socket-timeout. l0 w9 e6 O# n. o) S5 s% z) |3 t
  837. default_socket_timeout = 60
    " g  F3 b( q* @, _2 }& R
  838. : u1 T% B' I7 k2 S, w, v$ Z
  839. ; If your scripts have to deal with files from Macintosh systems,6 O+ \! S# A, p4 K, B
  840. ; or you are running on a Mac and need to deal with files from* j# g6 t7 O+ _+ A) G8 a$ \
  841. ; unix or win32 systems, setting this flag will cause PHP to
    : k8 ~' ]( d$ X- S2 m, l$ O0 T
  842. ; automatically detect the EOL character in those files so that2 ?' C; E: M0 @! O* d8 K& G
  843. ; fgets() and file() will work regardless of the source of the file.+ q/ s  G8 \. _) p- N
  844. ; http://php.net/auto-detect-line-endings
    / e& W- a  t, W
  845. ;auto_detect_line_endings = Off- ~; h2 B! p3 F, _
  846. ! o. H# B1 `: e! [* n6 Y
  847. ;;;;;;;;;;;;;;;;;;;;;;; p: \5 t2 g& e( G7 L
  848. ; Dynamic Extensions ;; g& c! o1 v- f3 q; j3 n6 F, q
  849. ;;;;;;;;;;;;;;;;;;;;;;* H% E+ K) }$ m7 ], `
  850. 0 i/ |6 {* q7 T! `- w4 g' C
  851. ; If you wish to have an extension loaded automatically, use the following
    # ~) i. n6 |+ K( g1 s, G' a8 Q
  852. ; syntax:
    $ W  N( c7 v0 m% p# t
  853. ;4 M$ X6 y0 J9 \0 k* G4 i0 k# S
  854. ;   extension=modulename.extension
    & y, ]# [# U$ x' Y7 z5 O# o
  855. ;0 L% Q* Y+ o0 ~6 |% v& u
  856. ; For example, on Windows:: {/ `+ \+ I6 z! L% K4 d4 W/ Z
  857. ;
    8 g- ]1 ~- t6 W/ ]3 e
  858. ;   extension=msql.dll2 r+ [$ e- o  x- J* m
  859. ;+ j: J  C( Q' o3 E' M& H
  860. ; ... or under UNIX:
    " @% L6 k+ T1 g. [2 e
  861. ;
    5 t; m8 {8 l( T$ \8 O3 a1 M7 y3 h
  862. ;   extension=msql.so6 Q! C' W! V, D0 n* n
  863. ;5 m. u3 j, d# b7 C
  864. ; ... or with a path:' C3 K$ \" d; O
  865. ;3 s" ~6 S6 Y% t( I
  866. ;   extension=/path/to/extension/msql.so
    ; H& b$ y$ k( L. g* P
  867. ;( k; q6 t* Y# L  c8 i
  868. ; If you only provide the name of the extension, PHP will look for it in its3 k7 @3 `% X2 A
  869. ; default extension directory.
    0 P9 q0 M" m7 A% D; \, p
  870. ;6 i5 A4 f, e( U6 K
  871. ; Windows Extensions( G- \& J) ~' r) y7 w: w
  872. ; Note that ODBC support is built in, so no dll is needed for it.+ Q  {+ Y6 F$ M& ~/ H1 z8 c
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)
      D- D2 |; g/ j) e+ o! s
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).
    # n4 @2 O: V5 P7 K7 |; P. z( z
  875. ; Be sure to appropriately set the extension_dir directive.
    ' i! u/ f; U9 W, E5 v- E: ]3 j' O& I
  876. ;
    ' s5 C0 h: G# Y0 K9 |, {
  877. ;extension=php_bz2.dll& ]" {  r: l. a( [8 E2 P
  878. ;extension=php_curl.dll- \% Q( X. y5 S+ a- K+ [
  879. ;extension=php_fileinfo.dll# u: {0 o4 E5 O$ S/ ^% H0 @
  880. ;extension=php_ftp.dll/ ?6 U9 J, j9 X2 G
  881. ;extension=php_gd2.dll
    / _, `0 l& K( s7 D2 u0 C
  882. ;extension=php_gettext.dll
    6 m* O1 C. [  T. i( |, M2 H, n
  883. ;extension=php_gmp.dll
    , c. x# @3 E. N
  884. ;extension=php_intl.dll
    ( q3 C0 O& j3 N8 y/ e( Q
  885. ;extension=php_imap.dll
    5 p' o7 R& Z2 B/ Z; J) ]6 u
  886. ;extension=php_interbase.dll* U0 w2 X5 Y, @& B# E9 O
  887. ;extension=php_ldap.dll! ?! Y  s' }. S$ _
  888. ;extension=php_mbstring.dll) R" F! Q9 \. r9 r5 i4 J9 W
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it4 ]" u; K% V/ Z
  890. ;extension=php_mysqli.dll0 A8 R) q+ V, V+ b8 B7 r
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    7 v6 N" n" L$ Z# N* `
  892. ;extension=php_openssl.dll6 N/ g3 u2 e$ U: h
  893. ;extension=php_pdo_firebird.dll0 J8 i# g) Z5 `
  894. ;extension=php_pdo_mysql.dll/ H; y- B' E$ [; V& B% Q/ i
  895. ;extension=php_pdo_oci.dll
    ; m' r2 S& k! C
  896. ;extension=php_pdo_odbc.dll
    & `4 X* {( V& g' W, M/ a
  897. ;extension=php_pdo_pgsql.dll  z) u6 P$ o) Q0 Q$ y" @
  898. ;extension=php_pdo_sqlite.dll  ?- h' v. z9 |* |2 u
  899. ;extension=php_pgsql.dll
    , u1 c0 d1 q- z4 I, g
  900. ;extension=php_shmop.dll6 `+ P+ ^. _, e1 [7 H5 R2 I
  901. , j6 k4 v" S2 |- u5 S# ^* G& u
  902. ; The MIBS data available in the PHP distribution must be installed.
    ! k6 w: v6 U/ e! D* s5 [& ^
  903. ; See http://www.php.net/manual/en/snmp.installation.php5 v& Y5 Z; v' B3 T  @* }/ B5 ^
  904. ;extension=php_snmp.dll
    4 U4 `! o' }4 m9 P( L6 M( _  E
  905. 8 R$ S: t0 t, z9 q  f
  906. ;extension=php_soap.dll2 Q% l8 q  ~+ ~
  907. ;extension=php_sockets.dll0 n, }( s* W1 t# f: @
  908. ;extension=php_sqlite3.dll) k2 q- r! l( @5 ^6 e  q( \
  909. ;extension=php_tidy.dll
    3 O; Q8 ]; U8 c0 `- {
  910. ;extension=php_xmlrpc.dll! N- ]6 S1 V$ P! e( H+ `
  911. ;extension=php_xsl.dll
    3 `6 }1 i% u& g+ o. @5 l

  912. / K0 m4 V9 ?/ c
  913. ;;;;;;;;;;;;;;;;;;;8 b2 A/ d6 N) U* d
  914. ; Module Settings ;
    4 O( m( G4 s1 n9 J( @
  915. ;;;;;;;;;;;;;;;;;;;
    8 N5 m% ?8 ]# P

  916. ; H$ a/ s( v/ H4 F
  917. [CLI Server]
    5 N& g9 S& A* }, y9 T4 `' O
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    " C2 s: m2 i/ l; _3 `
  919. cli_server.color = On
    # W& }2 S  a% V
  920. 8 o0 W+ z3 L0 I
  921. [Date]
      \5 @9 ?% s% M$ \
  922. ; Defines the default timezone used by the date functions1 C+ J- f/ f  z5 }/ p
  923. ; http://php.net/date.timezone* b# y$ B2 X1 w0 b
  924. date.timezone = PRC
    " \3 r& Q0 B8 ^% k

  925. ; ^4 q" J. C, O8 n6 {* }
  926. ; http://php.net/date.default-latitude
    ) n* j3 r8 s9 S7 K
  927. ;date.default_latitude = 31.7667
    ) r) ^& q+ t- U& r0 Y

  928. % [8 B5 Q& Z1 Z# |( S5 ^
  929. ; http://php.net/date.default-longitude! f' q  b( d5 q5 L% M2 L) z
  930. ;date.default_longitude = 35.2333
    1 d7 Z7 v4 Q* ~* Z* Q; P' }' o1 k
  931. 1 o, A  t7 Y! F4 N% x  F
  932. ; http://php.net/date.sunrise-zenith
    # g+ Q6 W$ M8 w2 Q$ @
  933. ;date.sunrise_zenith = 90.583333' X: G8 a- W; N1 z2 [" c

  934. 6 ^! b1 C. t$ d% e9 X6 n% E
  935. ; http://php.net/date.sunset-zenith
    9 ]" i; {1 z; u7 y: D
  936. ;date.sunset_zenith = 90.583333) d/ h6 j  V$ I& F: g8 R
  937. 2 L; W+ S5 P; A; G
  938. [filter]
    % L) k7 W# c, k* ?; m0 B3 ~1 y
  939. ; http://php.net/filter.default4 C' q% S  V3 C2 d- b! O& Y& x$ G" A
  940. ;filter.default = unsafe_raw
    4 n) b$ R( F* S$ R

  941. ; w0 O' h, e' X
  942. ; http://php.net/filter.default-flags
    % e8 _4 a6 J9 v) ]6 T
  943. ;filter.default_flags =. M! c9 G3 c4 o

  944. " Y/ x/ K4 r* h
  945. [iconv]
    $ v2 M5 Y  q6 `7 s- W8 N( Z
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.
    0 s1 r+ j3 \. d1 S# O8 e
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    & \; F0 |$ N4 i- h* W% h! l
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    2 v. U$ K" ~' o$ k* @7 T! `
  949. ;iconv.input_encoding =
    / ^) }; y: @. W( F1 U4 w

  950. ( b0 n( ]: A: ~7 y$ u; x2 p2 A$ b
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    : l6 w1 n* g' Q
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.& u! x7 }3 T8 F. g, {; N
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    * m, D# ?) h" t7 Y  _: Q
  954. ;iconv.internal_encoding =
    5 e" V- N$ c" ^2 M+ M

  955. ; r0 @; ]0 q8 y, r0 H
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.7 d1 q2 {. c) w, [! x
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    # G7 z1 W& g' f! T6 F
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    8 F) C4 v% t0 \4 f
  959. ; To use an output encoding conversion, iconv's output handler must be set
    1 h+ p* _* N& j2 ]0 C5 u- E5 f
  960. ; otherwise output encoding conversion cannot be performed.
    & a8 u* n" m' S) P
  961. ;iconv.output_encoding =
    4 C9 |% g. P9 F

  962. ' K; R2 `  D, t) B& E; {' Y
  963. [intl]
    # w: z  a1 h  {! K/ h
  964. ;intl.default_locale =
    & F+ e) m. G" j5 s
  965. ; This directive allows you to produce PHP errors when some error$ U; n- p) _+ F1 w$ I+ X. t9 ]
  966. ; happens within intl functions. The value is the level of the error produced.' d# M9 M* X0 X; Z/ R# E6 {
  967. ; Default is 0, which does not produce any errors.
    : \" {2 @( \9 `0 @) v4 J7 R& d
  968. ;intl.error_level = E_WARNING
    1 Y" N7 J8 F& J% M% L3 L; S
  969. ;intl.use_exceptions = 0
    8 o+ m0 f, o- N8 l6 T% j4 l" r" z/ W5 U; h2 b
  970. , r: k) K- P3 ]6 e$ V( k
  971. [sqlite3]
    8 b' n7 ]) T, ^7 Z0 T- R
  972. ;sqlite3.extension_dir =
    1 t8 k, @6 w( [. Y  I, F9 C  Z! _
  973. 8 H3 D5 g# p5 o; X! W) P4 K* b
  974. [Pcre]* W5 k0 u2 |2 ^4 M, F" t1 X( R4 I
  975. ;PCRE library backtracking limit.2 g. A9 `" t; X
  976. ; http://php.net/pcre.backtrack-limit
    4 x' U) o6 j3 c- H
  977. ;pcre.backtrack_limit=1000008 U9 ^+ Z  z6 E, ~

  978. ' ]0 H  A$ ~1 I
  979. ;PCRE library recursion limit.) R5 j8 z/ `: p, u/ Q0 i
  980. ;Please note that if you set this value to a high number you may consume all
    + {* R9 U; u- m. u7 V, ?( L
  981. ;the available process stack and eventually crash PHP (due to reaching the
    0 p6 I+ N" P$ p6 L' R) Z9 y
  982. ;stack size limit imposed by the Operating System).% X6 B, X! q8 V! L5 z2 ^/ j  [
  983. ; http://php.net/pcre.recursion-limit
    : T" E+ S0 A  P, E3 ~+ Z- i
  984. ;pcre.recursion_limit=1000009 y: r( V3 _) V7 d
  985. 3 |5 f9 s5 T$ z% y- |& c
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    $ r: l8 t  O5 ^7 N, T4 @8 ]4 b, l: g
  987. ;library to be compiled with JIT support.
    ; M/ q4 `2 J: j& f) |
  988. ;pcre.jit=1
    / \& f6 J. |6 V) d+ B4 |  P8 \2 f( Y" ^
  989. ) D! v' y" b# `! \. Q
  990. [Pdo]
    & s/ d: i% ~/ M% c
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    1 k" e* C/ |- M" R( _
  992. ; http://php.net/pdo-odbc.connection-pooling
    ) U. A0 N. L$ n, N; X/ ~' F
  993. ;pdo_odbc.connection_pooling=strict* g6 x' c  S* N
  994. 1 ?5 ?7 v; n# n3 V& w9 B
  995. ;pdo_odbc.db2_instance_name
    1 e# A8 \6 |/ J
  996. 4 ^( v! ?( i, g" _1 v# i( h, C3 W
  997. [Pdo_mysql]$ J9 f' w" c1 ?* y
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache2 R' v1 a6 N$ y
  999. ; http://php.net/pdo_mysql.cache_size+ W- s/ N3 z1 [7 |6 ~  X% b7 [* k
  1000. pdo_mysql.cache_size = 2000$ G2 V* s9 E( ^- y

  1001. 6 J! d& X- M* }; @$ D
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    & d2 l) T& l1 h
  1003. ; MySQL defaults.' Z2 c. V+ l& A
  1004. ; http://php.net/pdo_mysql.default-socket
    % U5 \: f! q$ U( K
  1005. pdo_mysql.default_socket=
    * z. V: p, v% ]  l1 I7 G: b
  1006. . T% N7 X9 ]7 Y7 M( X
  1007. [Phar]
    " k! j8 W/ r- g( R; L* K
  1008. ; http://php.net/phar.readonly
    ; Y5 k& c% t3 x$ A+ k, e% C' v
  1009. ;phar.readonly = On5 S+ m& ?1 y5 A5 M- L. z2 H. W
  1010. ' E, V) l; o( q, Y! y' v
  1011. ; http://php.net/phar.require-hash' N! N5 s7 x) Y+ R
  1012. ;phar.require_hash = On
    1 b1 M# U" `5 t3 H
  1013. 5 b: \3 o4 |* h6 c7 ~
  1014. ;phar.cache_list =
    - x% X3 q# R/ f) t

  1015. $ Q& s' W2 f% E% o
  1016. [mail function]: H2 L$ @1 ^5 R1 Q
  1017. ; For Win32 only.
    2 n% X3 O2 p8 Y: x- v8 l4 m: r. j
  1018. ; http://php.net/smtp. X+ Q7 c: ~' ~
  1019. SMTP = localhost
    % E9 S# t  Z- Q9 i; ^$ J: A
  1020. ; http://php.net/smtp-port4 s6 s  Q& h9 g" m0 ^
  1021. smtp_port = 25
    8 h% m" J4 l) h0 x: c4 i

  1022. , v; T1 G* K! m! ~( Y
  1023. ; For Win32 only.
    ) R7 I, i+ F3 ^7 k8 m2 V
  1024. ; http://php.net/sendmail-from- g8 u: p( N& C* s4 ]- e( i* M3 A
  1025. ;sendmail_from = me@example.com
    6 y- @8 n0 `" [& S1 v
  1026. & s6 v) Y/ N4 j! v  x9 g
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").. G7 t* O# w9 q* _- u. a3 n: J
  1028. ; http://php.net/sendmail-path( w. T: A$ E9 r( d
  1029. sendmail_path = /usr/sbin/sendmail -t -i
    5 ?  F+ g$ W- w3 B. d5 G

  1030.   t  T+ w' x7 `; m: {; l. H  H
  1031. ; Force the addition of the specified parameters to be passed as extra parameters( d6 E6 {0 B$ h( e
  1032. ; to the sendmail binary. These parameters will always replace the value of
      S/ F; J$ h( Q2 J
  1033. ; the 5th parameter to mail().
      q: R, O0 U5 l7 y0 _4 y. _/ m
  1034. ;mail.force_extra_parameters =
    1 }. F- D7 w$ I( E

  1035. # X, Y; ^, @, M% `/ N3 S) c
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename- f$ Z( D# x+ W5 j4 I/ P3 a- _
  1037. mail.add_x_header = On  r0 j& f4 Q) x2 R
  1038. , c3 B) j1 T: s: {- O$ f) O
  1039. ; The path to a log file that will log all mail() calls. Log entries include1 ]( {% v" H6 [; O/ ^# Y
  1040. ; the full path of the script, line number, To address and headers.
    / R) G" T/ d1 [& M
  1041. ;mail.log =
    ) }3 D9 A2 }: U0 r& W3 d& [5 g* V
  1042. ; Log mail to syslog (Event Log on Windows).
    1 u& ~1 c& `$ O# y: |5 g3 G
  1043. ;mail.log = syslog
    , }: h4 Z. ~  H- H* f( z" ?; Z
  1044. ; _& ]! W- @, n$ s* p$ ?
  1045. [SQL]
    ( P# k2 p! a: h1 ~0 X& o
  1046. ; http://php.net/sql.safe-mode/ k5 }9 W+ C4 ~8 ?" |
  1047. sql.safe_mode = Off0 d$ `) j3 o7 ?& a& n/ b
  1048. 6 t9 L# U* B% \+ T
  1049. [ODBC]1 X/ Q3 ?0 \3 k6 E& c
  1050. ; http://php.net/odbc.default-db) N+ n% R% Y5 T: q7 V: h. [
  1051. ;odbc.default_db    =  Not yet implemented" r8 r- Y5 L+ Z

  1052. ! x4 [1 p" x7 _" |
  1053. ; http://php.net/odbc.default-user- A# ~5 T% W2 w; ~6 y& u" R3 M
  1054. ;odbc.default_user  =  Not yet implemented
    : M! w% P4 ^+ G/ z! {- f$ J4 C* h

  1055. 6 f$ `+ F" [5 u, Y  q0 e5 ~
  1056. ; http://php.net/odbc.default-pw
    ; r! ?6 n, t& j) o
  1057. ;odbc.default_pw    =  Not yet implemented7 l- }) `# i& q8 u0 P
  1058. 4 G7 Q5 s0 N9 L0 r& a* t
  1059. ; Controls the ODBC cursor model.
    3 r* Z3 n. w" S
  1060. ; Default: SQL_CURSOR_STATIC (default).
    . ]$ r; [% W8 h3 K% u
  1061. ;odbc.default_cursortype, }# g( G. U* b, |2 W

  1062. % b- H5 h+ u8 [  U' b, L
  1063. ; Allow or prevent persistent links.% |. e* f3 Z5 w; o
  1064. ; http://php.net/odbc.allow-persistent
    - h9 j" ~7 l* E7 y* J8 H( F
  1065. odbc.allow_persistent = On
    3 s5 Y: e, r# g6 f4 E/ f3 B: g

  1066. 9 p7 E1 T7 @2 ^9 ]" A5 m1 [
  1067. ; Check that a connection is still valid before reuse.1 @6 a+ A, D. P! s8 U. }
  1068. ; http://php.net/odbc.check-persistent
    1 L( T7 v1 }, \, P2 L
  1069. odbc.check_persistent = On
    . u* q3 c$ Q9 U4 ^* V

  1070. 9 W; A  t7 Q8 |& k% d5 ]" ?
  1071. ; Maximum number of persistent links.  -1 means no limit.
    6 R: o6 u8 q4 D
  1072. ; http://php.net/odbc.max-persistent% }" v* D" i( u: }- A+ e0 I+ D
  1073. odbc.max_persistent = -11 C& c2 N, k7 n7 O- v' b/ k& W7 G
  1074. 1 j& l  |6 e8 X, ~; y5 f0 s8 m
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
      O0 A. l9 r1 A! D: r
  1076. ; http://php.net/odbc.max-links8 `7 z  O. D* ?
  1077. odbc.max_links = -1
    5 z0 ^6 x% a- T9 t& y

  1078. ( @3 B6 Y; g' w5 N! W
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means- t0 I) x  |) x* g
  1080. ; passthru.
    , [- Q% J+ o* n4 }" Z$ m
  1081. ; http://php.net/odbc.defaultlrl1 h7 d, k/ E" i" ~/ e
  1082. odbc.defaultlrl = 4096
    # \; s' a( {! G; k( W

  1083. $ H$ Z0 f7 u4 Z( a+ S* ?- m6 w
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    " {6 t) r6 ?/ j) |$ G: V
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    : y6 o' B$ H2 ^/ T( y/ u0 N
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode- n5 g4 l% x2 H9 o0 d
  1087. ; http://php.net/odbc.defaultbinmode( |3 Z1 P7 J' I. l! Q3 m
  1088. odbc.defaultbinmode = 1
    ; v+ r5 R$ \3 u8 ^' Z

  1089. & Y# H3 ^6 \+ I, `- E! q1 Z
  1090. ;birdstep.max_links = -1
    " a: W  Q% Z8 p; e% W' E* R

  1091. " j% j; p& h; F  m1 w1 m% m$ g
  1092. [Interbase]9 H7 _( Q" T  ]+ e
  1093. ; Allow or prevent persistent links.
    , l" q% C' ~$ e7 G
  1094. ibase.allow_persistent = 1
    0 [7 C6 _. b  ~1 h% h
  1095. / U* j# J. u$ v  c7 I' P
  1096. ; Maximum number of persistent links.  -1 means no limit.
    $ c2 |9 y/ m) ?' E
  1097. ibase.max_persistent = -1* h" V( k: P* r6 ?3 C

  1098. ! z0 m8 p* F2 J
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.4 }2 D" h' d/ `3 b* o+ g
  1100. ibase.max_links = -1
    : U5 B9 v% {) b" ^9 E0 |

  1101. 7 ?/ G7 N! l6 @# k# V  L9 g
  1102. ; Default database name for ibase_connect().% c4 x( H* G# o3 i8 s5 j
  1103. ;ibase.default_db =* K* F, G0 H! |9 o

  1104. 9 n5 X! F+ a$ k! R( P
  1105. ; Default username for ibase_connect().7 H5 v8 n4 Q! P# P* b
  1106. ;ibase.default_user =" ?* w7 m2 A  u. `# S

  1107. ( p2 p3 n3 p" h( x* k# c: [
  1108. ; Default password for ibase_connect().1 y+ O5 }2 B: M) ]6 h) a4 `
  1109. ;ibase.default_password =
    6 U" Q% g- o3 F- s
  1110. 6 F2 q8 k4 _$ i( T; N  M( H
  1111. ; Default charset for ibase_connect().4 M' ~- T: R( g" D' V) ?4 o: v' M, [
  1112. ;ibase.default_charset =2 y; z, y0 T5 k
  1113. , N# v* |* q0 N( _5 x" A# J
  1114. ; Default timestamp format.; {  X/ O( s6 {* x# H( N
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"- g5 }6 e& H1 o9 r

  1116. 4 w) y, X. a; O; R4 z0 O1 e8 L
  1117. ; Default date format.
    + \# C, p/ k6 |# F
  1118. ibase.dateformat = "%Y-%m-%d"
    3 M9 R) w& V) R" l0 B9 {" G
  1119. , B4 z5 Z! G$ s
  1120. ; Default time format.# T; B- I# W: c6 F8 Q
  1121. ibase.timeformat = "%H:%M:%S"
    % k" A( P/ h6 B% k" {# {$ Z

  1122. 0 v; J. ?: K8 V: }+ v/ W
  1123. [MySQLi]
    . C: O+ o6 q+ D$ y/ ?5 _, U) f/ i

  1124. 3 F* N5 E3 D% j2 D- X! B( ^" a% u- R
  1125. ; Maximum number of persistent links.  -1 means no limit.7 K& i0 ^5 K5 J3 d2 `
  1126. ; http://php.net/mysqli.max-persistent
    $ \: z2 p6 a+ Y
  1127. mysqli.max_persistent = -18 P, e; @: x$ g+ [, _: g, `

  1128. 0 s0 D/ {9 {6 q* w& {5 x3 a- t
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    & @1 a  j- S' C& }$ S' i& c: I* }9 c
  1130. ; http://php.net/mysqli.allow_local_infile$ I& Y) L. P9 l. m  J( `( Y" h
  1131. ;mysqli.allow_local_infile = On7 b4 n$ L- p% g+ @

  1132. 9 e6 K" c& _1 A1 R
  1133. ; Allow or prevent persistent links.* ]7 ^1 h% i- i" D( T2 Y
  1134. ; http://php.net/mysqli.allow-persistent
    $ R" B0 \& s6 I' K
  1135. mysqli.allow_persistent = On
    ( }# s' `+ V, g/ W' h

  1136. # t% ^0 E- M% d. N$ l/ A1 s
  1137. ; Maximum number of links.  -1 means no limit.
    + T% ~4 Y0 @" A+ {
  1138. ; http://php.net/mysqli.max-links
    5 ^1 x6 a% o: P& z* D; h; D% J5 R  h
  1139. mysqli.max_links = -1
    ! n  S2 m# l6 |
  1140. 3 Y$ B( p, [4 K  E; T! b
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    9 u5 G. o/ t, {1 `- i( D6 U
  1142. ; http://php.net/mysqli.cache_size
    5 B- I/ m/ F; H
  1143. mysqli.cache_size = 2000
    8 \; I) e/ G6 B/ b1 b

  1144. ) e/ E# @- `9 G# f
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    4 ~6 V: A, g0 g& V) u4 f. K( I" J
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the! b& e5 Z% ]( G4 |6 M
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look! [: K/ m& ^  N! o
  1148. ; at MYSQL_PORT.
    ( ?+ L; N2 h7 l' E( }
  1149. ; http://php.net/mysqli.default-port
    + r  g& ?, G4 q: C5 S
  1150. mysqli.default_port = 33064 c- P" a4 i0 I8 J2 L

  1151. 7 _& g! Z& m# x" ?/ f2 b
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    : L1 L- Y( V# O1 B
  1153. ; MySQL defaults./ g4 x. R: @( P3 q: u
  1154. ; http://php.net/mysqli.default-socket
    8 s' K. G9 H, c7 q, ]8 w' p5 h, U
  1155. mysqli.default_socket =
    0 l! X9 y7 ]4 _4 O/ }

  1156. ' ?  ?9 D6 z  O* I# o$ g6 Z  ^
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).
    - X; N5 o: I2 T
  1158. ; http://php.net/mysqli.default-host% `' m) d* P; V$ J; D
  1159. mysqli.default_host =
    # ~4 p8 {2 [& e

  1160. % l, k. m1 Z: G
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    7 B# |& q6 Y" q2 l7 H- M$ J. Z8 l: X; ?
  1162. ; http://php.net/mysqli.default-user
    + V5 D7 Y" o$ M/ B. }' M
  1163. mysqli.default_user =
    + t* B/ P) ]8 B8 L! r
  1164. 3 K# Y8 v, \; Y2 N$ }
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    2 Y/ O9 f2 O9 d, S% {5 k/ a
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.4 i/ k2 u& V: |- b5 M6 g3 O
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    2 \  q& M4 C8 {6 V4 Q  O/ [0 e
  1168. ; and reveal this password!  And of course, any users with read access to this4 `- m" P( L9 Q8 [  U3 t: A6 `
  1169. ; file will be able to reveal the password as well.
    , \; U* b; p0 x
  1170. ; http://php.net/mysqli.default-pw
    & Y& i, N: b4 Z0 n5 n( w* N: u
  1171. mysqli.default_pw =
    ' ]# L8 Z3 Y. |5 @+ l
  1172. 8 n( U- ?5 B/ j% r! R: n2 t1 k% B
  1173. ; Allow or prevent reconnect; r+ ~" Q8 Z! a3 a) L" S
  1174. mysqli.reconnect = Off+ t, F+ u2 K. O
  1175. ( }6 R" l" K. M/ N2 f
  1176. [mysqlnd]
    # h/ |2 C# n, v2 F9 y0 \
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be1 a. @% a" U! o- G
  1178. ; used to tune and monitor MySQL operations.: j! g/ K% I" o& E( r5 ]0 ~$ e
  1179. ; http://php.net/mysqlnd.collect_statistics3 X" Z" f0 z5 Q; t! Y% i8 y
  1180. mysqlnd.collect_statistics = On1 E, i: j- O  p  }
  1181. , P+ U' Y' ~7 `. g; K
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be3 ]# ^, U& y/ G6 ]9 Z* g
  1183. ; used to tune and monitor MySQL operations.
    " G7 Z  Q! O6 y- U4 g
  1184. ; http://php.net/mysqlnd.collect_memory_statistics5 a+ g( x% |8 C2 R4 o) G
  1185. mysqlnd.collect_memory_statistics = Off
    % Q2 B' ?9 W8 H8 k, I4 F- r
  1186. ' a8 n3 S6 _4 O' o: f* K
  1187. ; Records communication from all extensions using mysqlnd to the specified log% \8 r1 Z+ I: l+ w
  1188. ; file.3 l) n+ O0 m* S0 `3 h3 [# g
  1189. ; http://php.net/mysqlnd.debug; S  M: J3 K7 ?% D0 I
  1190. ;mysqlnd.debug =
    0 z( }7 L" ?+ z6 S
  1191. 0 I2 N- S6 M8 ~2 F3 ^
  1192. ; Defines which queries will be logged.# u  i( [/ J+ A2 M
  1193. ; http://php.net/mysqlnd.log_mask
    " l( a! j) X+ k
  1194. ;mysqlnd.log_mask = 0
    7 L: H9 K0 W  _9 l9 B* C& W& @

  1195. $ X  ^$ ?4 S, O' W
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets." R& v  j7 M- d3 ?" f' d* R
  1197. ; http://php.net/mysqlnd.mempool_default_size8 W: ?/ L# Y9 M. C9 C
  1198. ;mysqlnd.mempool_default_size = 16000
    - n1 d2 A' E; l# j( ?

  1199. & \* L/ @' s% ?; B$ o  U) S
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.1 \5 j8 }! M1 e
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size
    - ]( p# R4 a- {) M* X
  1202. ;mysqlnd.net_cmd_buffer_size = 20488 r5 l) M! i, s: Y+ M

  1203. ; o2 p! Z( F8 V+ X* o
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in+ L, B# u2 I2 Q% L7 W: p+ n) n
  1205. ; bytes.
    $ \6 ^1 \, n8 O" _8 W4 `7 O: b
  1206. ; http://php.net/mysqlnd.net_read_buffer_size5 z( }0 U5 ]5 T# ]- N  Z% C
  1207. ;mysqlnd.net_read_buffer_size = 32768
    " V/ I' |9 [9 L! s+ b: S) G/ i

  1208. 2 L& O' @  j! l7 f" r
  1209. ; Timeout for network requests in seconds.: `8 u8 Q) `9 X8 n* {" C
  1210. ; http://php.net/mysqlnd.net_read_timeout
    ; B+ }% a( v9 |/ k% }
  1211. ;mysqlnd.net_read_timeout = 315360005 u3 d# b- s( [6 |! j" z9 C& T8 o4 Z/ M. w0 n

  1212. 7 O  a. `$ C- F& @$ S+ B" O* g
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA, d3 r' m& \( q* k
  1214. ; key.4 g0 Q0 T4 P9 E$ P+ E9 i
  1215. ; http://php.net/mysqlnd.sha256_server_public_key, q7 z& D7 b+ q; E4 [& n& b/ Y
  1216. ;mysqlnd.sha256_server_public_key =$ M: t$ ]' [2 P/ e6 g% r

  1217.   S. e9 y9 z* ~3 T3 e  ~+ v
  1218. [OCI8]
    " V" W$ j) c' x* q) v' M" A! \
  1219. 1 s0 ]- b5 m! _6 \6 z+ c6 m  P- f
  1220. ; Connection: Enables privileged connections using external9 q* f$ X; E+ U
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    / V+ C" \* M3 f2 E6 F$ k1 w# }
  1222. ; http://php.net/oci8.privileged-connect
    7 g9 ?. V- \$ `( Q: Z
  1223. ;oci8.privileged_connect = Off
    / D8 u4 ~- a& _* A
  1224. ! a! u& h4 F% z( a* v/ E( O. j
  1225. ; Connection: The maximum number of persistent OCI8 connections per7 A) J9 T+ X; `
  1226. ; process. Using -1 means no limit.: L# g  o% T/ R- P: G& A( D5 @. g4 ~
  1227. ; http://php.net/oci8.max-persistent
    - v( P8 G# x0 G1 t0 i' T& w
  1228. ;oci8.max_persistent = -14 a2 m7 L- w  P: g, ?0 h) }
  1229. ; X  R0 Y) q. y3 n' n
  1230. ; Connection: The maximum number of seconds a process is allowed to
    & j3 M3 L& n  _; D/ r
  1231. ; maintain an idle persistent connection. Using -1 means idle, H) v' b" |, c
  1232. ; persistent connections will be maintained forever.! h6 L* l8 H/ e. w2 U
  1233. ; http://php.net/oci8.persistent-timeout# n$ b7 B+ u- |: `# }
  1234. ;oci8.persistent_timeout = -1
    / H0 b$ T% z6 l1 s$ n

  1235. # q2 p9 }" }& s9 v) V
  1236. ; Connection: The number of seconds that must pass before issuing a) G: r) r4 |. f( m, `  F
  1237. ; ping during oci_pconnect() to check the connection validity. When$ F' ]3 Y/ D9 v, O; q$ [
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables
    5 K# w9 w3 r0 q# t: |
  1239. ; pings completely.# U! t+ S7 X# P( F6 ^( E
  1240. ; http://php.net/oci8.ping-interval
    + m% d. @) E. d5 Q
  1241. ;oci8.ping_interval = 60
    * Q' H1 J( ~- e* d* [; q

  1242. - \5 D$ S6 G; ~0 J- l
  1243. ; Connection: Set this to a user chosen connection class to be used
    * t7 E0 v) g8 N$ O' j
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    % s& ?$ X) t$ z6 g# W) P, ?
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to. H3 _2 I+ _- j8 F) b* K
  1246. ; the same string for all web servers running the same application,) `: L- g# D% X& E$ B- _0 H0 ]" S
  1247. ; the database pool must be configured, and the connection string must6 V5 K5 q1 ?( n, {7 R1 z, h, {
  1248. ; specify to use a pooled server.
    - c2 M" q, ^; b) h
  1249. ;oci8.connection_class =
    1 a! t" {5 ^1 q7 P& B. |4 ?

  1250. 1 P: z! [% @" i. B) r- ^8 O
  1251. ; High Availability: Using On lets PHP receive Fast Application
    8 L( z. G9 D; R! R( ]3 j% p. k
  1252. ; Notification (FAN) events generated when a database node fails. The
    , V: p5 S5 i' c) P$ A9 F
  1253. ; database must also be configured to post FAN events.' F' \' X$ G9 W6 \: G) D! ?! t7 @
  1254. ;oci8.events = Off
    / w! o9 O, W6 f

  1255. + J( C* V1 T* R9 z# U" ?, g; `
  1256. ; Tuning: This option enables statement caching, and specifies how: R0 f3 W) k) F4 U
  1257. ; many statements to cache. Using 0 disables statement caching." g  K$ F- G* Q1 `
  1258. ; http://php.net/oci8.statement-cache-size
    8 e' R! x+ U* s) i1 M! B4 s5 N4 D
  1259. ;oci8.statement_cache_size = 20
    5 J# n: ]/ Z, q
  1260. . F7 k2 Q$ c7 W3 H: N2 P
  1261. ; Tuning: Enables statement prefetching and sets the default number of# T# w6 T& q5 \) a* g% C+ V- t' G
  1262. ; rows that will be fetched automatically after statement execution.
    ' S* Y; N2 J2 |( X/ o. O* s- t
  1263. ; http://php.net/oci8.default-prefetch
    5 J6 R1 X  ]+ _4 E$ d" Z) h
  1264. ;oci8.default_prefetch = 100
    8 V" z3 f: y/ [" {5 C- O

  1265. : o: h/ M" Y7 F
  1266. ; Compatibility. Using On means oci_close() will not close% e, l" @; x4 B% _. q- Q; }
  1267. ; oci_connect() and oci_new_connect() connections.
    % e  G1 F/ j* j; Q, D
  1268. ; http://php.net/oci8.old-oci-close-semantics0 m7 z/ i) Q0 L' R; n5 s& h
  1269. ;oci8.old_oci_close_semantics = Off
    9 F% L$ x0 t( I( e" ~4 a! W9 a

  1270. 9 ?* U- G6 d: N* R, F3 h3 t2 X
  1271. [PostgreSQL]
    1 `7 o- C$ ]. j
  1272. ; Allow or prevent persistent links.
    - g6 y: a( t0 l+ r. f: W
  1273. ; http://php.net/pgsql.allow-persistent
    ) r# [+ {: L; y) C
  1274. pgsql.allow_persistent = On& h$ X' m6 t' q

  1275. 6 ?3 O2 @3 l3 {5 {' S
  1276. ; Detect broken persistent links always with pg_pconnect().
    ( z. H1 N+ ], \* h; _) [; L" b7 t
  1277. ; Auto reset feature requires a little overheads.) T+ c# G% p, l) z2 r8 g
  1278. ; http://php.net/pgsql.auto-reset-persistent
    8 |$ t1 m& o/ m5 j2 c
  1279. pgsql.auto_reset_persistent = Off
    : H( X4 W) Q0 Y. N

  1280. * ?7 W  L, O6 t5 e
  1281. ; Maximum number of persistent links.  -1 means no limit." Q9 R6 Y1 M7 z1 U6 ]
  1282. ; http://php.net/pgsql.max-persistent
    2 I1 W0 C) G7 W( s# W! Z
  1283. pgsql.max_persistent = -1
    2 F; e! m  u' `

  1284. # {& d: ~+ G  s; @& R; x, N/ Q5 n
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.* X( h& C/ C# U
  1286. ; http://php.net/pgsql.max-links
    " U* i$ S1 D  O+ ~/ h0 O9 X; N
  1287. pgsql.max_links = -19 w0 A) R( n1 T

  1288. ( V& }7 E4 y, o
  1289. ; Ignore PostgreSQL backends Notice message or not./ h9 j& w' X9 s& X8 R, J4 ]
  1290. ; Notice message logging require a little overheads.
    " B5 m7 w6 n/ s3 H8 U9 y; I
  1291. ; http://php.net/pgsql.ignore-notice/ F% q  x; L3 L6 F  F
  1292. pgsql.ignore_notice = 08 `5 Q* q  E/ ]/ A

  1293. 8 i2 m$ T! h% T$ x7 @7 g
  1294. ; Log PostgreSQL backends Notice message or not.% P; \6 s0 V# E7 I# o1 K
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.- ~! P: K# P1 H( }
  1296. ; http://php.net/pgsql.log-notice6 S: N2 x0 U5 q9 t8 C" R$ R- U8 W8 G- `
  1297. pgsql.log_notice = 0# H6 C  C' Z" G9 P2 ^; X" \7 H9 |

  1298. & |9 `7 o, w  A
  1299. [bcmath]
    ; S; v, a& w/ A6 V: T
  1300. ; Number of decimal digits for all bcmath functions.- R9 r/ g- p7 L  }: \' |7 z7 d
  1301. ; http://php.net/bcmath.scale3 R) ]4 Z0 A4 p( V. ~7 r8 x
  1302. bcmath.scale = 09 `" d) a% A( a. A! o# j; i6 ~
  1303. % |  t& I: Q, G" d# R* _2 n( `) ~
  1304. [browscap]' ?9 \$ }$ ~" m! D
  1305. ; http://php.net/browscap- x) \$ h. N# D6 i1 W( X/ i
  1306. ;browscap = extra/browscap.ini8 v2 U% E7 n: z, A% q
  1307. ( }6 l- o2 p4 M3 B- V' o2 m4 q, F
  1308. [Session]  A' A- T( B, z) H0 L" U
  1309. ; Handler used to store/retrieve data.
    5 s( H& P' c" ]- C6 s7 H
  1310. ; http://php.net/session.save-handler3 l8 f( D2 W3 I; u  s
  1311. session.save_handler = files
    % `& n: }- ~) U; r4 x- A: _
  1312. . b$ A: Z+ {) T$ P$ I# [+ z
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    ' {) I4 t. B. X$ Q' r3 s
  1314. ; where data files are stored. Note: Windows users have to change this2 H! W+ X+ l" w$ q$ l
  1315. ; variable in order to use PHP's session functions.  R/ O9 F7 t- I, f% o' C/ N. Y
  1316. ;$ M% M" h) u0 t2 n
  1317. ; The path can be defined as:
      `1 B4 A7 v: t( m* I3 ^( K
  1318. ;
    - P3 `  s: s# H* L  C- m  _
  1319. ;     session.save_path = "N;/path"
    * y' d2 b8 `  K3 @3 z
  1320. ;* o8 h( [$ S/ e
  1321. ; where N is an integer.  Instead of storing all the session files in5 R+ e6 p. ~; i5 B% \6 \
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    " U: |) U2 p  n  [$ k5 ~
  1323. ; store the session data in those directories.  This is useful if- I) I" p' f& k) ~% g) T
  1324. ; your OS has problems with many files in one directory, and is+ a$ n1 N8 a  O
  1325. ; a more efficient layout for servers that handle many sessions.
    " Q; ~0 |( B; S% [% ^% h0 I
  1326. ;5 X7 b6 H& {' X, d, A
  1327. ; NOTE 1: PHP will not create this directory structure automatically.% Q% }; I$ D& ?  R) Q4 ^
  1328. ;         You can use the script in the ext/session dir for that purpose.
    1 g3 Z$ L+ |5 C9 w% {2 H$ d
  1329. ; NOTE 2: See the section on garbage collection below if you choose to9 S8 x0 {  r, m5 z6 [
  1330. ;         use subdirectories for session storage
    7 J0 D* q# P% b. _
  1331. ;
      A/ ~* e' }' Y2 c) [/ K: F6 [. W
  1332. ; The file storage module creates files using mode 600 by default.
    ! h- X4 X  B6 V# o, U( e  B
  1333. ; You can change that by using3 d3 \5 K5 T2 k0 |1 C
  1334. ;* M& j( v: K3 ?- \( e9 n% D
  1335. ;     session.save_path = "N;MODE;/path"% Z8 K2 o, p. A
  1336. ;2 V1 b: @5 r0 J" \& W' V
  1337. ; where MODE is the octal representation of the mode. Note that this$ }# y5 |' {- c) K) N
  1338. ; does not overwrite the process's umask.9 y1 |( ]$ P' p% Y0 j' I( n
  1339. ; http://php.net/session.save-path
    ' V0 Z6 J# D! V/ G5 N3 K
  1340. ;session.save_path = "/tmp"
    5 L7 a' `9 T/ k8 G& a
  1341. & |! _, w" ^; W5 M3 a8 _3 I
  1342. ; Whether to use strict session mode.; o) r3 R5 L- W4 D- z7 e& }' \
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate2 v. w. `: b- J$ g' ^
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects
    9 C5 ~& j7 F8 M# h6 Z
  1345. ; applications from session fixation via session adoption vulnerability. It is
    4 V0 H( q. R  N( |  Q8 L
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.8 H& S! _0 l3 x0 d) t" Z
  1347. ; https://wiki.php.net/rfc/strict_sessions5 i, h5 o# G" [3 j8 {7 ]
  1348. session.use_strict_mode = 0
    4 x! A6 X$ Z7 Q& D- h$ L

  1349. " Z3 g7 s" Q9 X; R7 @8 [
  1350. ; Whether to use cookies.
    - B, e9 L4 S. j9 B
  1351. ; http://php.net/session.use-cookies
    3 [) \4 ]& C+ S2 Q/ ~4 c
  1352. session.use_cookies = 15 f5 o8 J# l. U$ P1 U' Y

  1353. ! k: _/ @' m9 y5 j! Q0 A6 I) d& ]) J* {
  1354. ; http://php.net/session.cookie-secure
    ) O# T, T. [/ ]  g
  1355. ;session.cookie_secure =8 x2 b& g$ b: y& a
  1356. % v0 i( i0 p- `* U
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    6 g3 Q8 W9 e. k4 Q
  1358. ; the session id. We encourage this operation as it's very helpful in combating
    # f3 U. r1 b4 O# P& f& G6 b
  1359. ; session hijacking when not specifying and managing your own session id. It is
    ; B% e' V6 u$ ^# U) A$ G4 M' ~& t
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    2 H' g7 ~( \2 u, W
  1361. ; http://php.net/session.use-only-cookies6 ~; b' I. t8 h+ {& O3 d: P
  1362. session.use_only_cookies = 1
    + ~  b0 Q0 h, a5 O, j

  1363. 3 x) c. d/ e: H  V) y
  1364. ; Name of the session (used as cookie name).
    7 e0 O4 B! [: l/ |" e- N0 `
  1365. ; http://php.net/session.name+ r! I, `! B& x; t
  1366. session.name = PHPSESSID) e& o" ]( Z$ x7 f

  1367. ) I( f" [- s* O* b0 {! J
  1368. ; Initialize session on request startup.8 X% p& [) |' Y2 b; X
  1369. ; http://php.net/session.auto-start
    : D' r4 ?: c6 n. S' O1 D3 b
  1370. session.auto_start = 0
    - v1 \2 p. d/ Z
  1371. ( }" j8 i8 J+ ~! |; x
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    5 h) C+ T6 F: M" I8 x! H
  1373. ; http://php.net/session.cookie-lifetime
    1 v' f1 V( P/ f5 A
  1374. session.cookie_lifetime = 0
    3 X/ P1 [9 z* r! m6 i1 t# K. d- f9 _
  1375. # X( e) L7 [+ A( V: l
  1376. ; The path for which the cookie is valid.& \! A2 ^3 m* f0 H1 o8 E8 e" Q" ~
  1377. ; http://php.net/session.cookie-path
    % A1 j4 g- G6 F1 P; C& w" O: k+ I
  1378. session.cookie_path = /0 C' P2 \' b2 k3 K2 p
  1379. # q7 }. t9 t( ^; [0 u: A
  1380. ; The domain for which the cookie is valid.
    0 K+ t% A0 w9 s% _5 a
  1381. ; http://php.net/session.cookie-domain2 l; A0 f- r, P8 p  ~
  1382. session.cookie_domain =) ~* J) u& \% }! Y1 T2 Q

  1383. 8 i$ r0 f1 z4 j' M9 L/ z3 I
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.* u2 K! v7 `3 K& T: @0 u
  1385. ; http://php.net/session.cookie-httponly
    7 T5 s# s( e8 j4 v! ]  a
  1386. session.cookie_httponly =
    ( g  b, v8 D4 n0 C  _- h
  1387. $ l, P. ~% w, G- [% `5 R# y
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.' |0 o6 |7 G3 N4 y: {$ \. x
  1389. ; http://php.net/session.serialize-handler
    ( p- [' P9 {# P: a% q; m
  1390. session.serialize_handler = php' x+ D0 o7 Q# O9 f0 \9 f

  1391. $ l- q+ m- y0 c3 t5 Q8 x; z
  1392. ; Defines the probability that the 'garbage collection' process is started
    8 J, A5 D, d9 U; t5 Q% D3 m5 [" \
  1393. ; on every session initialization. The probability is calculated by using
    / ^- n8 v0 w  v0 x+ Y: A! D9 V
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    ' c! a+ r) i/ O0 `# N
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    . J/ ^% z$ r+ [# G' o- P9 f$ _
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance8 r) B& s- R6 `
  1397. ; the gc will run on any give request.9 y5 j0 Z: T4 `; ?2 X8 u
  1398. ; Default Value: 1
    ; U! W0 z9 [; r; n+ J, Y
  1399. ; Development Value: 1! N& j1 J! A$ A! w: l
  1400. ; Production Value: 1
    2 R1 r( w: L3 y  f& t& D
  1401. ; http://php.net/session.gc-probability
    6 v+ [* t" U8 p- _
  1402. session.gc_probability = 1. Y6 H! s8 u  D7 Q

  1403. 7 A, I. z. p) ?" H, Z4 m$ u! G
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    8 S+ f! Z; c+ Q( a/ \6 @7 l6 A
  1405. ; session initialization. The probability is calculated by using the following equation:8 b8 t9 q/ g0 q" @7 `3 W
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    " w! W( p7 M. D  ?
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
      K7 a  E% l2 `4 k& x1 y
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    7 v3 Z0 s' h" ^; b: ?
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you6 W3 ]9 {$ R7 W2 q3 ^7 J3 s
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,% p9 O+ f- a! [# i
  1411. ; this is a more efficient approach.
    ( H/ O- V3 m; o4 ]# ~! |7 L$ ~
  1412. ; Default Value: 100: x8 n$ C& N$ ^( t0 d: J- v- K2 d
  1413. ; Development Value: 1000; G& I: \3 u! E- k! f
  1414. ; Production Value: 1000
    ; N9 h: C5 Y" A- q; B" p
  1415. ; http://php.net/session.gc-divisor: U1 v) m. ~1 A+ D/ P
  1416. session.gc_divisor = 1000; g- p! D5 Y  V) o2 h

  1417. ) D4 ]/ F) a3 e7 k0 T8 _
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    / x! a5 I/ z' V6 M
  1419. ; cleaned up by the garbage collection process.5 C+ I' b# N! L: {
  1420. ; http://php.net/session.gc-maxlifetime
    % K( F: k( E" q0 U6 \
  1421. session.gc_maxlifetime = 1440
    ) z; {# D$ }* E0 u7 q7 f

  1422. $ ]3 j4 x% H: K+ ?! k/ v
  1423. ; NOTE: If you are using the subdirectory option for storing session files+ C7 b2 `% i$ A# o
  1424. ;       (see session.save_path above), then garbage collection does *not*
    $ n8 C* r2 q# ?" t, P
  1425. ;       happen automatically.  You will need to do your own garbage5 s  l" s5 T9 W7 j8 s$ e. j# l+ H
  1426. ;       collection through a shell script, cron entry, or some other method.
    ' p  ?1 I: v& i' P8 c
  1427. ;       For example, the following script would is the equivalent of) y; i8 ~& A" C) m
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    / n- n0 a, Y" q1 B- q
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm; x. `' S  B- s9 g

  1430. : ]+ d/ ~9 e/ u# }5 d
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.5 U: s; |- B- n! h4 l
  1432. ; HTTP_REFERER has to contain this substring for the session to be/ ?9 k- E( Z" [; m
  1433. ; considered as valid.7 D+ i4 V2 o* Y
  1434. ; http://php.net/session.referer-check$ ?7 ?8 }9 I' D8 ?8 g5 X3 ^
  1435. session.referer_check =
    2 ]  d! F4 b" h0 P8 O, v# N; `

  1436. & O8 ?4 C% J5 d) D* `) z
  1437. ; How many bytes to read from the file.: y: R- }9 h& _
  1438. ; http://php.net/session.entropy-length
    1 }' ~$ m  ]8 v  K; c- l
  1439. ;session.entropy_length = 32
    ! R; k& o) `) q( @

  1440. + @3 n7 W: }) l0 v0 J7 r
  1441. ; Specified here to create the session id.# T  w0 D% \6 s1 a5 U% q6 s
  1442. ; http://php.net/session.entropy-file
    . Q! t3 v! O8 z+ {$ a$ I: B
  1443. ; Defaults to /dev/urandom
    * B% a  u, M/ }9 g& ?# j/ y: q
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    + y+ A+ k$ N- x
  1445. ; If neither are found at compile time, the default is no entropy file.0 T3 K3 a  M3 x. O
  1446. ; On windows, setting the entropy_length setting will activate the
    & h% g# N. j+ M/ h2 L3 c$ g4 S( E
  1447. ; Windows random source (using the CryptoAPI)& `# e3 f# w9 o9 [
  1448. ;session.entropy_file = /dev/urandom& V2 s  _3 u- {  X/ G& p
  1449. $ V- n9 U9 |8 l5 H
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    " M: J0 C6 L" {& x1 }8 [! k
  1451. ; or leave this empty to avoid sending anti-caching headers.4 z' ^; a9 K: p2 F' a
  1452. ; http://php.net/session.cache-limiter( ~  p/ }, U7 |) ^: }
  1453. session.cache_limiter = nocache
    0 J# U# W! \. f
  1454. " C6 }  |+ ~" v& p7 X% U
  1455. ; Document expires after n minutes.; o8 H; b4 h' M
  1456. ; http://php.net/session.cache-expire
    ! W; d8 ~* F: H
  1457. session.cache_expire = 180
    + i7 A/ I' s6 u" \

  1458. 5 |) Y; s  A/ e; U5 C
  1459. ; trans sid support is disabled by default.3 W2 J( [. ]: \; A# m$ C% e; Q
  1460. ; Use of trans sid may risk your users' security.* M' ^, E, S9 S! v( {3 {: g: b
  1461. ; Use this option with caution./ `* Y% @5 }, g, p7 L
  1462. ; - User may send URL contains active session ID
    ( X- Y( D/ O/ a. i, H0 R: V/ A3 e
  1463. ;   to other person via. email/irc/etc.5 T; a$ f1 x" n8 Y6 h& m0 g$ c
  1464. ; - URL that contains active session ID may be stored& l: Y- G! O6 k1 n  ?) v
  1465. ;   in publicly accessible computer.
      ~+ F/ o: }/ w# q; @5 x
  1466. ; - User may access your site with the same session ID
    " s; e. E9 u5 \& A1 v8 W9 u6 U
  1467. ;   always using URL stored in browser's history or bookmarks.
    $ s* M* o2 a# S3 D5 t) [0 d
  1468. ; http://php.net/session.use-trans-sid4 L  j9 L% g/ r: W0 b5 |
  1469. session.use_trans_sid = 0
    ' R! Q. \4 j# k' O9 X$ _  [

  1470. 6 M# L$ \2 q+ n. z1 N- f4 D
  1471. ; Select a hash function for use in generating session ids.# O7 P8 W. e# C$ `- Y
  1472. ; Possible Values
    . G9 }( f; x% i' @, V
  1473. ;   0  (MD5 128 bits)
    & J  ^4 s3 B. x& O
  1474. ;   1  (SHA-1 160 bits)) `. Y; P4 n0 X4 F
  1475. ; This option may also be set to the name of any hash function supported by
    3 u1 O" v: ^6 i( ^( ^
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    * ^* n; j5 F: v6 T& K7 [/ O0 i
  1477. ; function.2 N) K9 J% B/ [  z, F+ d; l
  1478. ; http://php.net/session.hash-function
    + ]" X8 h( P. r8 o4 d6 e% t2 Y4 F- I
  1479. session.hash_function = 0
    - I& ^0 `& W7 h* U/ M* z4 U

  1480. % N+ K4 O/ e' a6 N% g
  1481. ; Define how many bits are stored in each character when converting
    " h6 o2 u& m4 P3 j& b$ a# [5 j
  1482. ; the binary hash data to something readable.
    3 `' M& g# z% @2 `! `
  1483. ; Possible values:; q! w7 n" }% }+ ?
  1484. ;   4  (4 bits: 0-9, a-f)
    ! w8 j$ O% u3 I8 _/ [+ x# L
  1485. ;   5  (5 bits: 0-9, a-v)6 l& X: e8 T9 _. K* F
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")9 @: e7 h) |& v6 t
  1487. ; Default Value: 4
    4 N6 z2 r$ z% ~2 j: X
  1488. ; Development Value: 5; K' H. n/ e! h
  1489. ; Production Value: 5
    7 q% ]  P+ E- i* g# U# P; u7 M- G
  1490. ; http://php.net/session.hash-bits-per-character
    " O% z3 r3 _2 s
  1491. session.hash_bits_per_character = 5
    ! C& ]1 P" S' a3 b5 b2 b0 X

  1492. / Y6 {" ?: \, C; Z" i0 v$ {
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.( n/ f: L9 G4 `) \* a
  1494. ; form/fieldset are special; if you include them here, the rewriter will$ P% n: V# q; v2 ^: h: x
  1495. ; add a hidden <input> field with the info which is otherwise appended
    * r  O/ u" E; R6 N
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.7 b* t/ S3 G- A; ]
  1497. ; Note that all valid entries require a "=", even if no value follows.5 K2 o6 U+ O6 b+ z
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="$ ~# e5 @* [4 D% F
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    $ \# ~3 k2 V/ u5 X# U' V6 g
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    / f) \8 S/ U6 W- q
  1501. ; http://php.net/url-rewriter.tags
    3 p4 D+ F6 u+ b# l) q2 o8 \
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"8 _8 U1 V) z+ {: k% V  Q& Y2 b

  1503. & m$ x% f; n7 J8 e( e
  1504. ; Enable upload progress tracking in $_SESSION: L& K" q/ J  b+ x3 x" D; r
  1505. ; Default Value: On
    ! f6 r" B" d) i7 R) Z/ Z
  1506. ; Development Value: On
    % r* O* {) U. r  s8 J
  1507. ; Production Value: On: ?% ]5 J$ a6 i6 ?  t
  1508. ; http://php.net/session.upload-progress.enabled
    $ k) A& S+ E2 m, O3 a9 f
  1509. ;session.upload_progress.enabled = On* ]- ?2 f  I8 A, y& @4 R
  1510. # ^2 g4 |! f5 z; ~7 R6 B) d
  1511. ; Cleanup the progress information as soon as all POST data has been read! j) Z" P; o+ t8 _( j( B/ x
  1512. ; (i.e. upload completed).
    $ I4 t1 [6 M/ x$ t. ]' \7 i
  1513. ; Default Value: On! M) _1 B/ f5 B2 U
  1514. ; Development Value: On" K  Y$ @2 N- ]; c
  1515. ; Production Value: On7 F* }! s# L& l& L
  1516. ; http://php.net/session.upload-progress.cleanup; b) ?( j$ W8 U; I
  1517. ;session.upload_progress.cleanup = On- M# ?! B; J1 V4 F6 |
  1518. 8 D0 Y4 }) W- F
  1519. ; A prefix used for the upload progress key in $_SESSION
    1 q) b6 y% K$ |) I9 a# O- S
  1520. ; Default Value: "upload_progress_"* M5 i  m1 z, j, h# e
  1521. ; Development Value: "upload_progress_"2 X5 z0 r( H2 S6 z) h
  1522. ; Production Value: "upload_progress_"0 y5 {- I' `% l! V' ?/ }
  1523. ; http://php.net/session.upload-progress.prefix
    ( k0 _# f4 E) C  D
  1524. ;session.upload_progress.prefix = "upload_progress_"
    9 c1 U& X# {. e1 Y$ h* j
  1525. ' U3 V9 w# u) w; T) \
  1526. ; The index name (concatenated with the prefix) in $_SESSION( d; O. i9 m# _/ Y+ {* u+ m
  1527. ; containing the upload progress information
    8 v! [# K- F+ Q/ a* r
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    + R9 O/ p6 `4 N3 {6 [! m
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    $ L8 j7 W* h! K5 E
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    1 f) A% g% W% C; M4 D, _. O" ]: A
  1531. ; http://php.net/session.upload-progress.name
    ) B: S/ d7 r& _( d% ]. N9 M
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"0 U& b: F' P0 P& C, n
  1533. , k  G+ j- @1 c3 I( C
  1534. ; How frequently the upload progress should be updated.
    ' f7 ^9 _; B' h6 u) }
  1535. ; Given either in percentages (per-file), or in bytes$ Y! r, V) j- f# Q+ D
  1536. ; Default Value: "1%"3 I+ g# [2 l7 _% O
  1537. ; Development Value: "1%"8 @3 @3 k! a$ a+ S. M
  1538. ; Production Value: "1%"
    ; t( k% u* i4 g$ i* `) R, v
  1539. ; http://php.net/session.upload-progress.freq
    $ @9 K# |/ j) K+ t3 [. i1 k) T1 T
  1540. ;session.upload_progress.freq =  "1%"
    ! |2 x# Z( b9 S1 T2 _; Q) |
  1541. 3 V% ~% a: l8 R! M
  1542. ; The minimum delay between updates, in seconds+ z1 s( m4 G: v3 |: V/ H
  1543. ; Default Value: 15 A( q* G9 @. }1 a
  1544. ; Development Value: 1! `5 m1 K8 C5 S* f
  1545. ; Production Value: 15 h/ D" a# g- @/ c4 y* ]
  1546. ; http://php.net/session.upload-progress.min-freq
    ; x: M3 V  b- G7 ?- E, a
  1547. ;session.upload_progress.min_freq = "1"6 _6 ?) u& X- d4 ?) b! q# o8 ?
  1548. * X1 [, ~) n7 r# X* L
  1549. ; Only write session data when session data is changed. Enabled by default.9 Q8 ^+ u1 O! V/ ~5 `9 O0 h9 Z4 T
  1550. ; http://php.net/session.lazy-write* H* ?1 u! j! m$ r
  1551. ;session.lazy_write = On
    0 l) S2 b- d+ _8 C( f1 X+ o. O# F

  1552. 6 i! e* g( L  |+ Q0 C2 V
  1553. [Assertion]
    ; V& w( V0 G! c! b1 ~
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)( i9 ^$ V1 t+ m( h" X+ |
  1555. ; -1: Do not compile at all- @/ j. w9 Q1 l0 a5 j
  1556. ;  0: Jump over assertion at run-time
    " O, w$ y+ D- G; R  ~" x
  1557. ;  1: Execute assertions! H( M+ k) B  E8 r
  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)
    7 F, S5 Z  a% ?0 Z, R
  1559. ; Default Value: 1
    1 F. t& v9 b! y! |' C* J6 {
  1560. ; Development Value: 1- C% q; C0 F5 O6 D1 x, c
  1561. ; Production Value: -1
    7 E" S8 i1 W" u+ m5 F9 n
  1562. ; http://php.net/zend.assertions; Y2 L9 @5 D4 x7 d5 x8 A6 w
  1563. zend.assertions = -1
      ~& y# \5 I# `8 p0 n

  1564. 6 {8 X" C9 Z5 S; ]
  1565. ; Assert(expr); active by default." G/ Q" @( W& D8 H: X5 z& w
  1566. ; http://php.net/assert.active
    3 R+ m# Q! O3 R# d3 K* V
  1567. ;assert.active = On+ y$ n5 @6 J3 z) r2 I% q: j, L1 Y6 I3 }

  1568. * e, e, I; a% ]3 ?
  1569. ; Throw an AssertationException on failed assertions
    % a' |% _0 b+ Z3 b1 V
  1570. ; http://php.net/assert.exception" C# }4 ~9 E) b# w" u. m# I
  1571. ;assert.exception = On
    5 [6 {' ?. e5 R; r5 b
  1572.   P0 I: L: ?9 I' @  D9 \
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    2 Y. V4 T' r  n( G4 z, Y8 R
  1574. ; http://php.net/assert.warning
    , H' W0 m, d: v" q- J  f. z& j
  1575. ;assert.warning = On$ `1 r" r  u- E, b- R0 l5 {. r7 h
  1576. ; j! K9 P' k: P3 L8 g
  1577. ; Don't bail out by default.
    ; J6 C, h, r( j
  1578. ; http://php.net/assert.bail
    & W" _& j+ G8 N: `3 @3 y' u
  1579. ;assert.bail = Off4 q: m2 ^6 g& I- ]

  1580. - p: w9 l/ }/ D  j( Y6 E
  1581. ; User-function to be called if an assertion fails.
    . u6 V, `& b3 A' B3 f$ M0 N6 J
  1582. ; http://php.net/assert.callback; I7 J" d. Y' I( `0 ^7 t
  1583. ;assert.callback = 0) ^4 Z7 p/ @! c( w+ j* L" U7 J

  1584. + R) x( B3 |2 A  u6 \
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    , {- L3 @& e8 F$ {) q  f+ j
  1586. ; error_reporting(0) around the eval().& r/ [% n6 j  t, u" Y
  1587. ; http://php.net/assert.quiet-eval
    7 Y4 z( k8 K! j7 Z1 o, T
  1588. ;assert.quiet_eval = 0
    - O! t9 Z# r6 e
  1589. : I$ ~, G! e* E" B9 `
  1590. [COM]
    / Z- N5 C! D# I7 y4 K2 X- k
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs5 m) i2 r8 t4 S+ M: @7 Y
  1592. ; http://php.net/com.typelib-file
    4 f+ ?3 Y8 u, N4 e
  1593. ;com.typelib_file =
    9 V- {5 \/ V7 }( n2 T) [

  1594. ; h' z  @" E8 w. ?$ ]
  1595. ; allow Distributed-COM calls4 s5 p6 \! h6 h+ W, q8 d
  1596. ; http://php.net/com.allow-dcom" E+ w* n+ F) ^) T& J# U, f: U$ S
  1597. ;com.allow_dcom = true
    4 u( C9 l  D) w! B8 S1 ]* ?
  1598. + M  m- V' Z) ~- R  O6 F3 I
  1599. ; autoregister constants of a components typlib on com_load()
    3 |5 s$ k( |' s. ]- N4 T4 ]# C
  1600. ; http://php.net/com.autoregister-typelib+ f; ^/ y! D8 N: @* U
  1601. ;com.autoregister_typelib = true3 ^8 k3 e# x  d. d. i; L

  1602. $ I+ ~" W' S, r$ s. [
  1603. ; register constants casesensitive
    * {/ i" i# j  G3 S: }1 \# Z
  1604. ; http://php.net/com.autoregister-casesensitive5 O$ V- e, V8 e7 e7 I- M9 N
  1605. ;com.autoregister_casesensitive = false8 g. C' k  d, r% @

  1606. 4 z  r( j3 }2 j1 }. A
  1607. ; show warnings on duplicate constant registrations) R( J  O( o' h( J9 ?. Z! o6 _
  1608. ; http://php.net/com.autoregister-verbose
    6 O) g# N, f: ]. n: [" f6 X) ]
  1609. ;com.autoregister_verbose = true& h" _9 V5 m2 N' H0 e: f

  1610. 6 _  E: Y; v4 ~7 t2 ]
  1611. ; The default character set code-page to use when passing strings to and from COM objects.  ]4 z  f, [2 V% b& u/ ]! G0 z5 \
  1612. ; Default: system ANSI code page
    6 K$ e& m1 M/ ]
  1613. ;com.code_page=) G" v* [" t8 r/ R( Z

  1614. 9 e0 s, e( m" t2 p8 S6 Z) y9 M
  1615. [mbstring]
    4 N. w0 Y% _) J
  1616. ; language for internal character representation.% W1 d; t9 t% j# K& t6 E9 x5 g
  1617. ; This affects mb_send_mail() and mbstring.detect_order.; i" P* |% X+ o
  1618. ; http://php.net/mbstring.language; f! @4 }2 r8 h7 X7 s8 `
  1619. ;mbstring.language = Japanese0 |8 b& @/ p5 }- T/ `! T( {( m
  1620. # ?6 \* e" g( p/ O
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead., T- W5 H' e7 K: \* s
  1622. ; internal/script encoding.
    5 J8 h! m. h' {) w: t
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    * o/ O! A+ G! N( `
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    : h; L/ U; u% O* T* w' O
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding  B4 P+ Y  p2 f; |9 j* t
  1626. ;mbstring.internal_encoding =
    8 y  D' v* \3 K" q1 y& N
  1627. ! j( d- h- X9 S+ q% |; \
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.. D1 p2 ~9 D) ^4 F4 f
  1629. ; http input encoding.
    # v, p9 `2 M! ?* Y; m' t5 z
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    0 @' q! D; I# [# \: }4 F: b6 A
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    * @$ i! M* |) ~
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    ' S2 ?# u1 F. a; e1 N
  1633. ; http://php.net/mbstring.http-input
    / K9 ^4 e8 J) z* @
  1634. ;mbstring.http_input =
    ( B; O& l! r" e# @# Y

  1635. 4 h! `2 q& ]6 N/ ^4 X
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    ( @! D, o# M1 h7 c/ U
  1637. ; http output encoding." N' d5 _. d6 `. q( K2 S* B
  1638. ; mb_output_handler must be registered as output buffer to function.% j" M2 _0 N( K9 Q
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.. Y8 n' f! {. U9 L; j
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    . T+ x. r, h+ z
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
      I& ^- w: d9 C# t) V! S
  1642. ; otherwise output encoding conversion cannot be performed.4 M/ [0 p: e7 P8 F, @$ k+ q
  1643. ; http://php.net/mbstring.http-output# K7 Q; o# E( T1 _4 u# J2 k8 C
  1644. ;mbstring.http_output =2 {2 c) H% v5 m9 Y8 d% w! b2 n

  1645. ' v9 i, C* l* X+ J( h
  1646. ; enable automatic encoding translation according to
    - a  y) K6 x. o" u$ W9 A
  1647. ; mbstring.internal_encoding setting. Input chars are
    - @; H2 }! X3 M$ v4 |
  1648. ; converted to internal encoding by setting this to On.# v" A% j1 V* j) L0 S. D% s
  1649. ; Note: Do _not_ use automatic encoding translation for
    " e/ A. G- h# q9 W; r
  1650. ;       portable libs/applications.
    . S* f* y9 q' n
  1651. ; http://php.net/mbstring.encoding-translation0 n$ h/ J. }3 x; `4 q& l& a1 ?
  1652. ;mbstring.encoding_translation = Off) w" R9 b! D4 V! b

  1653. 5 t# P$ z. Y5 d+ T4 y: c3 l
  1654. ; automatic encoding detection order.: o3 B- O/ |( ~( b$ ~$ w3 l
  1655. ; "auto" detect order is changed according to mbstring.language
    : q# @  y5 k$ [% }+ _
  1656. ; http://php.net/mbstring.detect-order
    % A) H0 a7 p6 h3 m  ]- y
  1657. ;mbstring.detect_order = auto
    $ C, d, R6 {: f, U1 ^& z7 E5 W* |& g
  1658. 4 C3 H, r: m  m1 y) E- u
  1659. ; substitute_character used when character cannot be converted" t1 t( F9 u+ b0 m' k8 }. _
  1660. ; one from another
    - n$ \4 m' L; T* \, J9 v' ^& o/ ?
  1661. ; http://php.net/mbstring.substitute-character
    3 j  ~' m+ p+ B. X/ t
  1662. ;mbstring.substitute_character = none8 F1 f1 \0 h) h" A1 s: v% N& C

  1663. / \/ M+ Y! V( B
  1664. ; overload(replace) single byte functions by mbstring functions.
    # q- {. D: j& g& L
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    + y9 }0 T4 F  c* h
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.0 K: a3 U6 J. l, p+ B: J9 A. h, ~
  1667. ; For example, 7 for overload everything.
    , \  C9 `9 |$ p- j, `
  1668. ; 0: No overload0 ~* X9 [9 o8 l* h  C! b) Y
  1669. ; 1: Overload mail() function4 ^* u: b% w5 i" [4 _
  1670. ; 2: Overload str*() functions$ H' j# u  }8 T& I
  1671. ; 4: Overload ereg*() functions  L8 }% O- D  i
  1672. ; http://php.net/mbstring.func-overload
    * P% S" X0 ]; r5 n' |( W
  1673. ;mbstring.func_overload = 0  ~. s+ j' H6 S' N1 h" I
  1674. 2 x/ t! Z5 o# A& h+ o
  1675. ; enable strict encoding detection.$ n: ]' u6 b. r7 g8 n) ^
  1676. ; Default: Off$ h% j! H/ N3 I. T- R: `
  1677. ;mbstring.strict_detection = On$ Z& t% y5 v3 q
  1678. 0 ]" Y/ F/ n3 o, Q% A% q
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    & \# k* d8 ]( d: n) F/ _( B
  1680. ; is activated.
      ~4 G$ g% @+ A: i" A8 R% |
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)3 |; [: v3 P4 R0 D( e
  1682. ;mbstring.http_output_conv_mimetype=4 d: i, R% S. l7 |
  1683. 2 b0 a% V7 ^6 I' G% Q
  1684. [gd]
    , V9 x+ B6 m2 U; a+ K8 H
  1685. ; Tell the jpeg decode to ignore warnings and try to create7 `- y! i8 m0 w
  1686. ; a gd image. The warning will then be displayed as notices8 e3 U* i! O. l* ]% t4 G5 k
  1687. ; disabled by default
    7 o8 Z7 g, m( p# c
  1688. ; http://php.net/gd.jpeg-ignore-warning
    : ?, o! \1 k; c4 n; M; D+ \7 M
  1689. ;gd.jpeg_ignore_warning = 0
    . n7 g- a3 m" |  g7 g9 {$ {
  1690. 8 T. z/ s/ Y0 ?) }
  1691. [exif]) G) e' w' U  V. v
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.; V) P* e- t8 S& G$ H
  1693. ; With mbstring support this will automatically be converted into the encoding
      i$ d$ N( S0 ^. B
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    " r4 N. p0 X2 p& M" m6 o* ^* V2 U
  1695. ; is used. For the decode settings you can distinguish between motorola and% Z: y( }7 {* D+ A) [/ E: p
  1696. ; intel byte order. A decode setting cannot be empty.
      w7 x+ K8 w9 L1 H
  1697. ; http://php.net/exif.encode-unicode
    6 B3 A+ s" j" [3 O  b' S6 k' @
  1698. ;exif.encode_unicode = ISO-8859-15
    1 \4 b' \6 x' k+ c

  1699. ' B7 T- K4 I" C5 y
  1700. ; http://php.net/exif.decode-unicode-motorola0 L4 b6 \: L" D" O$ O! H
  1701. ;exif.decode_unicode_motorola = UCS-2BE8 j/ f9 j$ z' e
  1702. + ^: i( w+ v- P1 k# M' o
  1703. ; http://php.net/exif.decode-unicode-intel8 W8 a, d& W9 s6 k5 X* j* W
  1704. ;exif.decode_unicode_intel    = UCS-2LE' A4 d; @4 U+ T: ]

  1705. ; w9 h, v3 L8 H0 S. @8 ]
  1706. ; http://php.net/exif.encode-jis$ _, i* y8 P# ~
  1707. ;exif.encode_jis =
    ; ^1 C' U, D/ {: K; `6 Z. P1 X' }8 f; n

  1708. : F7 C' s# T* h4 e! p. }5 j1 Q
  1709. ; http://php.net/exif.decode-jis-motorola
    8 U; J* y. u2 _/ p4 g
  1710. ;exif.decode_jis_motorola = JIS
    4 \% A2 r% J- `3 J" Q
  1711. ; u6 w  y& }- X" r, |3 T" D
  1712. ; http://php.net/exif.decode-jis-intel9 i% |: W( D" J: {; c  `
  1713. ;exif.decode_jis_intel    = JIS
    4 d; {8 f. W: ]$ g5 z' H* c2 Y
  1714. ; z' K6 q$ u9 [+ H" m) F" {
  1715. [Tidy]+ [# R# C; R0 q( n& K! ?) m
  1716. ; The path to a default tidy configuration file to use when using tidy
      W3 P) b' K# ^8 l, u/ o6 ^
  1717. ; http://php.net/tidy.default-config3 a+ [* l" o9 O/ O+ |; g
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    0 ~/ u* C5 {% n# n# x3 u  s% P

  1719. + C' h& ]# e7 S7 K( g6 i. E
  1720. ; Should tidy clean and repair output automatically?
    . q6 a2 ]6 h5 ~: G5 f% p! I& j6 v: z
  1721. ; WARNING: Do not use this option if you are generating non-html content
      c5 A$ P# k5 i% f. E0 n( Q$ j
  1722. ; such as dynamic images6 W' E$ D. A  U5 F4 e$ q3 b
  1723. ; http://php.net/tidy.clean-output( V( t, s4 P, |
  1724. tidy.clean_output = Off
    / ]! X, ~3 G+ G7 s) u' H
  1725. & u$ ^/ ~- v& }% d- Z3 R0 ]
  1726. [soap]7 h2 c, S4 r- ^; Z! G: p: ?
  1727. ; Enables or disables WSDL caching feature.5 `  X" I; g: H  ~+ N) G) m$ \
  1728. ; http://php.net/soap.wsdl-cache-enabled
    3 `! P! }* d6 Y1 h% T$ G" }7 c
  1729. soap.wsdl_cache_enabled=1* w3 K& V' P, X& m8 b

  1730. 8 M- @! P( X" o( ~+ \. k
  1731. ; Sets the directory name where SOAP extension will put cache files.
    : d- h, \# W. y$ f
  1732. ; http://php.net/soap.wsdl-cache-dir0 {0 H9 k( }6 L; X0 y% g; G
  1733. soap.wsdl_cache_dir="/tmp"
    5 e$ F5 I9 ]# _( W

  1734. & m$ m; ~  M; w' U9 |* W  p9 }
  1735. ; (time to live) Sets the number of second while cached file will be used# p( Z4 `4 L7 Z$ k, v3 j3 w
  1736. ; instead of original one.
    0 e1 C1 p. A3 Q3 a
  1737. ; http://php.net/soap.wsdl-cache-ttl
    0 B/ V9 y( J& _" D7 D1 _
  1738. soap.wsdl_cache_ttl=86400
    3 @( g% \# ^  D+ V0 x! r7 i

  1739. 2 d6 p4 c1 w  o
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)/ L% g5 o) x; M7 J3 M3 @- }
  1741. soap.wsdl_cache_limit = 56 g, ~" V3 m3 J7 _* m4 {1 g
  1742. 8 Z& s: \1 h  g; n" J0 }; ]
  1743. [sysvshm]
    7 a% O* _0 b" [) w( i/ }- A! D9 e
  1744. ; A default size of the shared memory segment+ Y7 j7 N6 c# V5 u
  1745. ;sysvshm.init_mem = 10000
    ( A6 X  N0 y% P2 v5 ~
  1746. 9 J: N1 B  i- [: Z) E
  1747. [ldap]
    ( b- p1 j: F# F7 \
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    8 F* Q# l- l' p5 ?4 b; P3 G6 ~0 y
  1749. ldap.max_links = -1
    & i: R) q9 M* z8 p' I

  1750. % C& _! D: R: X7 {+ W
  1751. [mcrypt]% Z5 d* J+ _0 t0 C/ `7 [" J$ f
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    " [  `' K7 B* V, N. C* y
  1753. % F: e* }* l. B: r' B
  1754. ; Directory where to load mcrypt algorithms% L0 s. `/ _! K1 }8 t0 o
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    + b" {' {2 U" j, b
  1756. ;mcrypt.algorithms_dir=
    7 c7 X3 ?& H; e6 y' w$ ^9 \

  1757. & f  V. Z: U+ k
  1758. ; Directory where to load mcrypt modes
    : v4 n& X1 O6 M4 e4 N! n
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    + L" v; x) w& y9 j# T% b, R
  1760. ;mcrypt.modes_dir=
    # g+ ?' M5 s6 P9 R

  1761. 9 |3 N8 Z8 J3 g' D$ m' g8 F
  1762. [dba]  v& D" A% t4 G6 {6 w' k7 ]
  1763. ;dba.default_handler=
    9 J* e* A  ]9 d+ d

  1764. 1 M+ F$ E4 f& V- K& q
  1765. [opcache]) w5 _& Z' @) i8 A6 q
  1766. ; Determines if Zend OPCache is enabled% G! V+ ?3 N9 D( y9 [* a
  1767. ;opcache.enable=0, q1 T# N5 G  ]8 Y5 ?/ \
  1768. 0 H+ X; i. `! W( j
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP6 X) g0 j+ h; a9 r5 Q$ J1 H
  1770. ;opcache.enable_cli=0
    / ~5 {; D7 \4 H7 C: ~( d; W

  1771.   A0 a+ m5 C. L2 m
  1772. ; The OPcache shared memory storage size.
    6 [! D; }3 V) d2 D
  1773. ;opcache.memory_consumption=64
    3 g$ F; @! g+ G) e; \( T
  1774. 8 b6 k/ i9 n  C# k- ~% v
  1775. ; The amount of memory for interned strings in Mbytes.
    1 I, C2 t7 Z9 N  h4 B6 R& l$ K$ ?
  1776. ;opcache.interned_strings_buffer=4
    ! h# @* K3 m3 l; w2 N+ [
  1777. 5 N; y. z. Z5 Y- \
  1778. ; The maximum number of keys (scripts) in the OPcache hash table., |4 j# l  _" I" L
  1779. ; Only numbers between 200 and 1000000 are allowed.2 m4 Z  G  [* a0 L. b
  1780. ;opcache.max_accelerated_files=2000
    % @9 D, w, l2 `' q. e" O# ]: X

  1781. , G2 D9 E1 k8 k& w! E- F
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.2 n% M0 D- h$ H
  1783. ;opcache.max_wasted_percentage=5
    / n( `# l/ c1 X, p0 i

  1784. 6 O+ Z* @1 ^7 G8 E1 q2 y; j7 J
  1785. ; When this directive is enabled, the OPcache appends the current working
    : v. V! X$ V5 G" K: S+ Y
  1786. ; directory to the script key, thus eliminating possible collisions between! p" F# x) X, Q
  1787. ; files with the same name (basename). Disabling the directive improves
    ( i) Q2 }$ H& j# n* @* G/ C4 X4 C
  1788. ; performance, but may break existing applications.3 v# B4 \5 R4 h2 B
  1789. ;opcache.use_cwd=12 u# D* ]- V. N0 r. K. H

  1790. , U" r6 M! O) C& c, X# d$ e
  1791. ; When disabled, you must reset the OPcache manually or restart the+ `: u1 {0 F0 V! v) P
  1792. ; webserver for changes to the filesystem to take effect.- A9 B: S0 L; v& p3 ^! d
  1793. ;opcache.validate_timestamps=1) v! A  W/ A8 }# Q/ t" H4 U1 ?

  1794. $ b% Q' H4 ]# @" b- g
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    ( ]* Z1 Z8 `' V
  1796. ; memory storage allocation. ("1" means validate once per second, but only3 J- c. m  ~) \
  1797. ; once per request. "0" means always validate)
    * x4 Y, ^2 g; O) D3 m' S
  1798. ;opcache.revalidate_freq=2
    . s9 u: t5 c9 s9 b) j

  1799. , ~% I* {" C- J+ j  Z
  1800. ; Enables or disables file search in include_path optimization
    ( F" h/ L% c2 g* c( w
  1801. ;opcache.revalidate_path=0
    9 |1 Y' N8 O* M9 E

  1802. - Y* L$ J4 }' X: B! J
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    4 T  B* y, ?$ D) f6 O3 t" `8 [
  1804. ; size of the optimized code.- H5 J8 V- Q: J- b
  1805. ;opcache.save_comments=1' M# R' w4 Y4 j2 a9 n
  1806. # q6 g$ f. v. Y; D- Y& R: C6 F4 f( X0 W
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code/ P7 y+ @. t) h0 a
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.
    - I* J0 T/ o" g0 m/ V% I
  1809. ;opcache.fast_shutdown=0& _+ V2 Q; @& T2 U# I4 P
  1810. 6 O8 w1 M; Z  B2 c5 Y
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    0 @  |8 C; L- p. |" R
  1812. ;opcache.enable_file_override=0
    - x# b; E  _, c7 F- C( W9 u, U* K

  1813. : f2 b) z0 o. ^3 ^# o9 y
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache7 o: P" T- \* w% ^+ Q
  1815. ; passes
    4 M6 F/ T: k/ B. r$ y1 Q
  1816. ;opcache.optimization_level=0xffffffff, Q) n! k  P5 ]) p

  1817. ) M( u/ v/ g! C6 H
  1818. ;opcache.inherited_hack=1, d! s; W3 P4 L9 n5 e3 e# N
  1819. ;opcache.dups_fix=0
    * c) C9 f5 ^% X; l4 j0 Z% S
  1820. & n) b' e3 |% c# K# u
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    , e+ E+ E9 v0 w$ }& B- ~  V
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    4 ]6 p6 }* u" j* Z+ p
  1823. ; that should not be accelerated. The file format is to add each filename
    8 v" X; \0 e0 s  V( m! n/ R
  1824. ; to a new line. The filename may be a full path or just a file prefix" C. B9 M% F, t, d7 Q& o
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    7 t- {/ N8 W" }) U6 ~+ K7 M0 o9 u6 `7 D' x
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    " h9 g/ {: d! ]' _+ L- E
  1827. ;opcache.blacklist_filename=
    $ a) }& E) D( ^0 v! m

  1828. ) ]" t9 ~2 k/ k/ G1 b% r. I. k) B
  1829. ; Allows exclusion of large files from being cached. By default all files$ s3 @1 c& @5 g2 v8 M0 ~9 M
  1830. ; are cached.
    , Q  @9 d0 O2 G3 J- j
  1831. ;opcache.max_file_size=0# P) |8 Q, p: a7 ~9 ]( U

  1832. - G! I  s  T0 R7 W) K+ H) T. \+ W( S
  1833. ; Check the cache checksum each N requests.
    2 x4 q4 E" Y- e- q( I1 S4 j* L/ t
  1834. ; The default value of "0" means that the checks are disabled.
    : m% E' I/ v% Q2 S' d6 o
  1835. ;opcache.consistency_checks=0
    7 C& T. }; i' }$ J  |

  1836. ' @5 n! g5 `0 v/ t1 W& D- P" r2 Q
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache4 P( u; E: d9 z! r  ?1 R+ F: }
  1838. ; is not being accessed.
    + i/ k2 J5 Q2 g% R& `: H/ B
  1839. ;opcache.force_restart_timeout=180* z" D! t8 v, c$ x7 v; a. v6 Y9 W
  1840. / q* R  N% U) V, p! j8 J' l' d, t
  1841. ; OPcache error_log file name. Empty string assumes "stderr".8 {( V' d* S( D+ L
  1842. ;opcache.error_log=) L  k* [0 h  i- \9 c

  1843. 2 V+ F9 N3 q" ]- @- M# n
  1844. ; All OPcache errors go to the Web server log.
    # ^$ p: {9 ~# F+ p. t0 T
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.2 r* b! }2 H$ J6 b) _3 O; q
  1846. ; You can also enable warnings (level 2), info messages (level 3) or; b) H% C+ ~7 l7 v
  1847. ; debug messages (level 4).
    4 G; e7 G! A  N+ l/ F
  1848. ;opcache.log_verbosity_level=1/ v; k  N8 U  S" i3 p7 L! K

  1849. . t# {, q! N( u" ~( o
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    5 z7 S2 j$ ?+ P# A2 P
  1851. ;opcache.preferred_memory_model=5 L" O2 B& ?8 h7 h$ _
  1852. $ o, z) \% ~- q! g9 K
  1853. ; Protect the shared memory from unexpected writing during script execution.
    % Q8 f0 a5 }2 ?" A# }& U  t
  1854. ; Useful for internal debugging only.
    3 N8 p4 _! X& e! X% D' k
  1855. ;opcache.protect_memory=0& }2 @3 X+ V7 X' @
  1856. , \" X2 t7 N5 A2 O/ D+ L
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    1 v$ f: r' e, j
  1858. ; started from specified string. The default "" means no restriction8 [: c6 N$ z* P! G  C
  1859. ;opcache.restrict_api=1 f/ R( i4 I# {. S5 m/ f, T$ }
  1860. 8 m. a1 t8 d8 P" O: L6 F' J
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP* X- K% L% P$ o+ u0 q- s2 d2 m' T
  1862. ; processes have to map shared memory into the same address space. This' R1 ^* f. j% E# U: k
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    / n; K6 F2 z: J& O+ H0 \
  1864. ; errors.
    - q9 X0 o; e- J) D
  1865. ;opcache.mmap_base=( M, T8 c2 M" m5 [% o: \# Y3 O9 l: J

  1866.   @; G8 ^1 K( I& n0 X; _' K4 _
  1867. ; Enables and sets the second level cache directory.) J( x" H' d( K4 t5 w" r
  1868. ; It should improve performance when SHM memory is full, at server restart or: L! Y- f8 \" X( X2 r& Q
  1869. ; SHM reset. The default "" disables file based caching.7 {2 ?; _: M/ N2 A
  1870. ;opcache.file_cache=
    & E! {: a3 x: y6 F6 b

  1871. ) q' R7 V) P/ K2 Z* q
  1872. ; Enables or disables opcode caching in shared memory.! \- _% _4 j1 X9 J2 u% `
  1873. ;opcache.file_cache_only=0; }. A* Q, O0 X

  1874. / W5 X) I! s- L3 v  }9 x
  1875. ; Enables or disables checksum validation when script loaded from file cache.
    + t; W! A  s. Z! M% z, ^; ?6 \
  1876. ;opcache.file_cache_consistency_checks=1
    & B0 B) E# U$ g8 g7 |* v0 E& O# s
  1877. / R; F' s: r9 d9 H
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to  L4 I: A7 L7 \7 H( w1 u) [5 h2 ]+ F
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file0 f/ F6 j! }$ i+ L- ~& T6 ~" X
  1880. ; cache is required.' x5 K$ E1 a8 z  m6 l
  1881. ;opcache.file_cache_fallback=1
    ! W0 B8 h7 i: [) S  o8 H6 ~
  1882. - O4 d8 p& Z( s  |# e, M+ z7 n
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES." |' t# J; }( Y& z/ d4 N, C
  1884. ; This should improve performance, but requires appropriate OS configuration." d' w6 a( @. U  c4 D$ R  y1 f
  1885. ;opcache.huge_code_pages=1+ y$ w! I& K: [) ~" `

  1886. & G# O* D6 l& w) ~/ p$ j
  1887. ; Validate cached file permissions.# a& L7 t" O; G! R# X) }! Q4 C
  1888. ; opcache.validate_permission=01 o9 }0 X$ u  I; S0 X

  1889. ; i8 N& I" E# W  {; q* m2 C; Y! X
  1890. ; Prevent name collisions in chroot'ed environment.
    ( _0 n7 L& |9 O6 z  H* T9 i( x& O
  1891. ; opcache.validate_root=03 V  K6 P  E4 k/ t% }8 {4 a/ c. Y

  1892. 4 s5 E( _! q( D2 S9 I+ j3 X$ _
  1893. [curl]7 u2 p% ~* f- |4 f$ O
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an2 o) L+ G# d7 D; g, q% S
  1895. ; absolute path.
    - I7 ?+ r1 W! t3 h0 w* h
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt, t& L7 [' s' y6 r9 a' I/ q5 V

  1897. & j; v: z1 B+ X+ q9 A
  1898. [openssl]* c- V- G/ q8 Z5 C& Q, N
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    5 v: p- v, B4 A. Y1 d  D! l
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should$ k% ^& v: i; n+ l6 _1 E# e
  1901. ; not specify a value for this directive as PHP will attempt to use the* r0 T* ~7 e+ {! |# k
  1902. ; OS-managed cert stores in its absence. If specified, this value may still, d" U7 L# d# w
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    # z: }! k  k( L
  1904. ; option.4 T9 m5 i% U% i! O  r
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
      \4 w1 x  f0 g" g" r# B
  1906. ! `! \0 B' R, |: g0 D
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the7 m- S" p2 V# I$ j8 x4 H3 F: q, R
  1908. ; directory pointed to by openssl.capath is searched for a suitable' C# J  d* _3 ~3 X% K; S
  1909. ; certificate. This value must be a correctly hashed certificate directory.! N- ~3 M% P$ {8 z& I0 K9 N- F
  1910. ; Most users should not specify a value for this directive as PHP will
    / j+ A6 E9 O( t; W( k/ K9 _) L
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,7 [4 A' F' Q1 C7 j1 U5 J
  1912. ; this value may still be overridden on a per-stream basis via the "capath"# v6 }5 m8 M$ j. a
  1913. ; SSL stream context option.! ?- G% e( c/ P  c6 q* n
  1914. ;openssl.capath=" O5 V' V8 Z+ f' y: P' i9 m

  1915. * e0 C) A5 H& Q7 c- E
  1916. ; Local Variables:
      P. U4 S. c$ v
  1917. ; tab-width: 4$ `2 @& H0 f6 {1 o/ o5 d; F  h- c
  1918. ; End:
      @: Z! L9 p+ O9 @, |2 X# X

  1919. 3 e( ^( E0 C) G) s
  1920. ;eaccelerator
    . ]5 E  T/ q/ X% S' G
  1921. - L% @' x' W% a% w& Z' o' v
  1922. ;ionCube5 \8 o( }. ^: S. x0 T5 t9 a* I; C9 L  t

  1923. - T! @# d0 n' r$ X* [
  1924. ;opcache& {* I/ _2 C6 N" @
  1925.   H1 N% i/ u# i/ N' o
  1926. [Zend ZendGuard Loader]6 M# K% L( ^/ X; W, j
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    - `# W7 r0 @* y4 z$ T, t! F
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    $ z2 Q+ }0 e: l/ c+ N- M5 Z8 H
  1929. ;zend_loader.enable=1  \+ m/ F+ C" e& [6 k! A7 L, v0 x9 |
  1930. ;zend_loader.disable_licensing=0! m& b1 M2 z8 \& I# G5 k  A
  1931. ;zend_loader.obfuscation_level_support=3
    9 L' M9 v1 ^# o
  1932. ;zend_loader.license_path=
    . L  z& T! u3 F) K
  1933. - e; a, \* D5 t) [& O" e
  1934. ;xcache
    2 b/ R; M- l( Y# [9 y5 k! f
  1935. + p* \: A7 u: p
复制代码

% R! u+ W5 Q1 d1 v
" P; F. x9 U! E" Y
" h  c2 b: N9 X* J* t& T# M0 Q( x' r$ t# D- n) m* Z
2 O! f! G" l8 r  Z* @4 ~
( W/ k( r# u& p
- c- ^, i1 L7 b9 K: i( l1 u
PHP5.6版本原始设置
: y; D# |4 C# r. |3 M5 w% b7 J4 X% ]; ]  \
  1. [PHP]
    + H( Z- p9 b5 @' C! {. M
  2. 3 H7 q% g" S3 N4 J
  3. ;;;;;;;;;;;;;;;;;;;
    % {* u7 y* H8 ~, l+ c4 d
  4. ; About php.ini   ;
    & `% J3 s- S- _) {$ ?' P4 g6 z1 ^
  5. ;;;;;;;;;;;;;;;;;;;- t5 c8 s2 [+ D% L7 r
  6. ; PHP's initialization file, generally called php.ini, is responsible for$ w2 Q- g3 N) x, f* E
  7. ; configuring many of the aspects of PHP's behavior.
    / w' [2 R8 y- {/ g; D: X1 [" v
  8. 8 [* D6 D' X0 t( C( x+ d" y, e
  9. ; PHP attempts to find and load this configuration from a number of locations.0 b, u% t. s4 V+ G) m; j. E
  10. ; The following is a summary of its search order:- g. E0 q% I  F. t2 ~! n
  11. ; 1. SAPI module specific location.! s0 h+ V" v$ _' z2 v2 i5 I
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)) o/ c& T- z* Y; Z  i
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)# h/ \3 a- U" T$ r/ J
  14. ; 4. Current working directory (except CLI)
    3 G  t$ C4 X% l9 k8 d2 L
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP: P3 q; s8 S1 I  o) B* m
  16. ; (otherwise in Windows)
    5 O6 g  p4 X/ o! T2 t3 K/ _
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    1 y9 E$ C6 f, M7 b
  18. ; Windows directory (C:\windows or C:\winnt)9 \: w$ I$ ^+ C: }4 u0 c: m* g; J
  19. ; See the PHP docs for more specific information.6 c# |- y% B# M0 p* v8 m" F
  20. ; http://php.net/configuration.file. ~( W& R/ X4 \+ l* i7 O
  21. 6 M+ @' y8 R; K8 R2 x0 a, d, {; }2 ]- L
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    3 ~1 w9 ~9 z2 D% i$ O- B7 g
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).6 L3 T; d  `3 L, L* h4 R
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though" H; T% i* m% P. O$ |" I
  25. ; they might mean something in the future.& @0 Z. B" |! [8 R4 f: G
  26. 0 ?8 f( q3 @: p7 c
  27. ; Directives following the section heading [PATH=/www/mysite] only
    ' d6 ~- s! i3 |6 _1 R
  28. ; apply to PHP files in the /www/mysite directory.  Directives. X4 j3 v! j+ A( Y  K4 O
  29. ; following the section heading [HOST=www.example.com] only apply to
    " f7 ~5 j  r7 J9 F8 \6 j8 x7 p
  30. ; PHP files served from www.example.com.  Directives set in these0 s4 M5 b1 l8 d5 Q6 ~
  31. ; special sections cannot be overridden by user-defined INI files or
    9 p: B6 q# b" F% ]! j) P7 j" o! l
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under( ?( C- z- ~& R; C* Q, N& L: X, u
  33. ; CGI/FastCGI.
    9 D+ D5 B" ^. T: H
  34. ; http://php.net/ini.sections
    ; s! x- r7 X, ~+ K! I

  35. 3 A: Z% L6 W' n5 w+ M
  36. ; Directives are specified using the following syntax:
    : O/ s, ]2 {( h! i  @$ _
  37. ; directive = value) C0 P& R, w5 L7 ?
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.- P' \3 N  w: c4 j
  39. ; Directives are variables used to configure PHP or PHP extensions.
    ' o, b$ ?2 G# n$ s/ g
  40. ; There is no name validation.  If PHP can't find an expected6 d+ \* P; V9 x# Y
  41. ; directive because it is not set or is mistyped, a default value will be used.& |: T) n. ?1 f5 s! ^$ e
  42. ( z  _' e( |1 r
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one  s7 W" D" _, w! B& _8 |7 Q; o
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression) O5 J5 C2 d( N7 ?
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    9 c, D& n% \  x7 H4 a1 I& h# \
  46. ; previously set variable or directive (e.g. ${foo})) P/ e( w" V* s( ?

  47. % ?* S- T; b: T/ j2 ~
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:1 Z8 M: E1 R/ C' z5 y1 ~2 Y7 [
  49. ; |  bitwise OR9 i9 C( I6 x0 c5 Z4 k  ]7 K# ]0 M
  50. ; ^  bitwise XOR
    ) Y, K& T. G$ k4 X  [. E/ C9 v# @
  51. ; &  bitwise AND
    * X" [5 T/ K, ~+ {  {
  52. ; ~  bitwise NOT
    ! j  Y- ?# A2 ~" c; ~& F& A0 J
  53. ; !  boolean NOT: I$ p8 x  r$ Z  q! {

  54. . ]# J/ j( v, d
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.5 @. K5 ?; e! x# M$ j1 o* ^1 o6 C
  56. ; They can be turned off using the values 0, Off, False or No.3 e3 \" L2 h* Z$ T
  57. + N& M% |9 t7 q+ C) A  ]5 K3 Z
  58. ; An empty string can be denoted by simply not writing anything after the equal
    ) F8 a' s4 `9 r" c' D2 b
  59. ; sign, or by using the None keyword:: }* j% l8 \" k5 u( G; R% `
  60. , U' |  a* B* b* G$ B5 S5 P# V
  61. ;  foo =         ; sets foo to an empty string( @, g2 a6 V, S3 v/ P- a; w
  62. ;  foo = None    ; sets foo to an empty string) }) N) u, Z. e: t
  63. ;  foo = "None"  ; sets foo to the string 'None': \9 |# C/ g6 p! |6 u, ^- p- h

  64. 2 V$ u& _3 S/ K6 T% I# E% n+ ]  M
  65. ; If you use constants in your value, and these constants belong to a
    % ^- [+ O, o- `) _: V' G' F5 c: s# k
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),, B  B5 W& s9 v( ^) f/ @
  67. ; you may only use these constants *after* the line that loads the extension.5 [1 m  T& l! \" [, U/ _0 Q" G

  68. & t1 ]* O+ y. x
  69. ;;;;;;;;;;;;;;;;;;;1 y# L! \2 P! H: k4 E
  70. ; About this file ;2 u1 }2 L" G1 o# l/ V/ V
  71. ;;;;;;;;;;;;;;;;;;;
    ; g1 t. Y: c6 B  A
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    : Y! d9 f) ~4 v" D
  73. ; in production environments and one that is recommended to be used in
    # y' }- k0 X( A' p5 }
  74. ; development environments.& m/ ]; V) @* V7 ]! M

  75. 0 h! x$ |/ m" {/ Q8 M2 W2 G
  76. ; php.ini-production contains settings which hold security, performance and3 d3 V; @' O* W/ q5 Z6 ?6 ]% C
  77. ; best practices at its core. But please be aware, these settings may break. s$ R4 w- W  @2 C! ?' `- D
  78. ; compatibility with older or less security conscience applications. We5 u4 o+ s1 \& n. h1 O& m% V
  79. ; recommending using the production ini in production and testing environments.6 B# x5 R: i8 a1 E+ [
  80. ' R" [) D$ ^6 F! P/ Y0 J: Y
  81. ; php.ini-development is very similar to its production variant, except it is
    % T' w; W4 _% U+ \% ]
  82. ; much more verbose when it comes to errors. We recommend using the: l& u, Q" H6 ]# r6 l& i7 Q
  83. ; development version only in development environments, as errors shown to0 L- A) q. L2 @: X' W, X, H
  84. ; application users can inadvertently leak otherwise secure information.- [( W3 i8 ?6 M: R& p* v

  85. $ |; l+ h7 v, g) S$ X9 h1 M5 O
  86. ; This is php.ini-production INI file.
    8 _" K5 ^) b' U
  87. ; m, z) P- ?+ P& |- l. j
  88. ;;;;;;;;;;;;;;;;;;;
    8 A0 P3 u+ t& Y  r
  89. ; Quick Reference ;
    2 M; x; h/ k+ o
  90. ;;;;;;;;;;;;;;;;;;;2 r! [7 a/ L6 Y/ }
  91. ; The following are all the settings which are different in either the production0 b) ]% ^6 r# V% E- {% ?1 l# Z
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    ( J9 V! r9 Z8 c3 y# x0 r% j" k  q
  93. ; Please see the actual settings later in the document for more details as to why2 f: ^/ S, J" @. g$ z# C
  94. ; we recommend these changes in PHP's behavior.' e- A5 |1 O/ f. z9 n9 B* }

  95. " U6 C$ [8 P8 ^3 r% X! p, p2 V) L; v
  96. ; display_errors/ T5 }0 _2 H) A4 s3 ?
  97. ;   Default Value: On. Z! Y6 p" b- S) ^: _2 _% }7 c
  98. ;   Development Value: On
    1 F! k! ^1 ]8 _  q7 t4 z4 g' ~) t3 S
  99. ;   Production Value: Off0 i0 q& T( x# o" p. F4 H, \7 F, z

  100. / |8 M, ^+ z( Z5 [0 ^# U! F; M
  101. ; display_startup_errors7 N/ B- _' j. r: p, p1 s5 U
  102. ;   Default Value: Off: v, _5 p- t6 w: A, ^
  103. ;   Development Value: On
    5 w4 L7 m2 {3 C) g$ j
  104. ;   Production Value: Off
    . O, f: C7 O- i7 j

  105. 3 d5 E& @- I) {
  106. ; error_reporting
      X5 B* C6 {) k, x) n: ]  b
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED4 z7 N+ w% M2 C' b" e9 C! J
  108. ;   Development Value: E_ALL) q- R# |1 Y" u) _% {
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    0 e/ p0 o8 Z; Y! z9 z

  110. 3 n& i/ @6 T6 b/ M; e& z5 V: W& [
  111. ; html_errors1 M' Q" _: ~2 g8 K! }! G
  112. ;   Default Value: On
    8 A$ E& Q% n1 K( X5 T% d
  113. ;   Development Value: On
    + N; S5 \/ I# J1 b
  114. ;   Production value: On
    " F3 P% H2 j* J# E8 r( A6 y

  115. # F+ R  X( \% Y
  116. ; log_errors6 k+ I4 L: v5 @
  117. ;   Default Value: Off' D. l4 i9 p( t5 `
  118. ;   Development Value: On6 `9 b6 o- g4 r5 K$ v+ {! m
  119. ;   Production Value: On5 l# |& ^$ k& D" P2 w- G" q
  120. + ~; O' E( v% L
  121. ; max_input_time. p1 g* x" U! E+ g; M# B
  122. ;   Default Value: -1 (Unlimited)
    + v1 y) l& s* z  k2 K
  123. ;   Development Value: 60 (60 seconds)3 \" H" m; }, W" Y: r) H3 K
  124. ;   Production Value: 60 (60 seconds)  t4 i+ A  I  S; T9 r2 ^

  125. ) F0 D4 R" j! x0 @' E/ r
  126. ; output_buffering
    9 Q. _: g# G2 {/ d: F% r5 `$ I
  127. ;   Default Value: Off: f' v  X2 E, @) y6 S
  128. ;   Development Value: 4096
    4 v/ v4 l( \3 _7 _1 p5 p' W
  129. ;   Production Value: 4096) D6 z& x0 b$ i( ?" c$ E

  130. + x4 ?: _) A( I8 L5 u4 {
  131. ; register_argc_argv% U/ q2 C( Y! G1 w# ~
  132. ;   Default Value: On' p' l- _- N# _
  133. ;   Development Value: Off& m8 d9 {$ R% c. e9 A1 x$ q
  134. ;   Production Value: Off+ v! G2 L8 m% D; U- V4 _& ^
  135. ! b  i' f8 X+ I, [' g& P
  136. ; request_order. _' ]+ Q# E6 A4 i& E; j0 z/ ]
  137. ;   Default Value: None6 M: H5 Y% H2 W7 `! j( t3 v
  138. ;   Development Value: "GP": g- z$ i$ F  T* `9 q# [
  139. ;   Production Value: "GP"; R7 X, \( d8 ~  e5 U) t
  140. + R" i3 Q1 S' ]: M
  141. ; session.gc_divisor
    % R$ Y$ u/ p. Y3 I- A& }. P
  142. ;   Default Value: 100
    9 s4 A3 H; E3 M
  143. ;   Development Value: 1000
    4 o6 t4 {, {* g) \% t
  144. ;   Production Value: 1000# V9 Q9 w$ m' r8 _- Q
  145. 0 F& q4 G4 V( ]" D& k
  146. ; session.hash_bits_per_character
    + O# T' v* M: r# [1 X
  147. ;   Default Value: 4
    ' @& w& T# ~; P% {" r
  148. ;   Development Value: 5
    7 q* m  p: w8 m" I7 _
  149. ;   Production Value: 5
    # Q" m6 c% @( i; u9 N3 x) u( w% M
  150. 9 I' X; w: z1 G3 M) v8 n
  151. ; short_open_tag
    2 I0 y) f6 `. d+ K) y. k
  152. ;   Default Value: On
    # S: X) @) m, D0 I+ ?3 ~
  153. ;   Development Value: Off" u9 z" e9 f0 U; L$ T2 S1 a
  154. ;   Production Value: Off- q9 X- O) x6 b5 j4 j3 ^7 b, R& G

  155. 3 r$ K0 q8 i/ b/ N. L3 E6 N
  156. ; track_errors
    6 x! ]) u* |& s9 ^9 m
  157. ;   Default Value: Off+ ?0 c, Q: V( ~. ?, p
  158. ;   Development Value: On2 ]4 h# d' R$ C5 b5 m. F
  159. ;   Production Value: Off
    , J+ W2 @% ^: A2 N" \) c5 l

  160. 0 h: X% S) C$ i
  161. ; url_rewriter.tags
    , K) E$ ^- a5 b  ^& q& O
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    1 k- Q( N0 z2 S7 d7 J
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    7 M6 y! s5 H& D% \( e( ^8 H
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"7 _1 N" u9 `6 a! O
  165. 0 H  ^& b! X1 _+ ^+ w& T
  166. ; variables_order# S5 z: t1 v+ s- L9 E' ?4 P9 y$ R
  167. ;   Default Value: "EGPCS"
    6 H" ]8 l4 q. s
  168. ;   Development Value: "GPCS"
    0 F% Z# @; x8 S* s7 m  a2 c) k: G# W
  169. ;   Production Value: "GPCS"
    : O2 c8 S# o3 p" ]

  170. , P+ q6 _" {0 A* `+ ^# f; F/ e
  171. ;;;;;;;;;;;;;;;;;;;;" J- ?/ x+ f5 E: `7 ]
  172. ; php.ini Options  ;: C8 s3 `$ J6 T
  173. ;;;;;;;;;;;;;;;;;;;;3 X9 z  \' ]: f- C; A. Y+ G: w
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"# N; l1 B) w3 v4 I5 E1 Y+ o
  175. ;user_ini.filename = ".user.ini"7 b4 b7 C6 b; [* r* s* B

  176. % V$ Y7 R) O- K2 @3 \/ a
  177. ; To disable this feature set this option to empty value$ O+ s$ w6 a% s+ B  @; [1 E( g
  178. ;user_ini.filename =
    ' h# @' W: a! ^# S& h
  179. : p; T' @! J- o" Y
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    % y, \- ?6 z# I4 }5 S
  181. ;user_ini.cache_ttl = 300" g# `, W: I4 N

  182. . ^" A3 M7 o) H4 ^% p
  183. ;;;;;;;;;;;;;;;;;;;;# n. R( W0 C) O8 `5 H
  184. ; Language Options ;5 k+ {3 W# L( G
  185. ;;;;;;;;;;;;;;;;;;;;/ l, `, {# w7 Z) }+ D7 Y. c
  186. + g% J/ H, [$ N! P8 p; A* I8 d3 j
  187. ; Enable the PHP scripting language engine under Apache.
    0 R. S+ L  J' ^! F
  188. ; http://php.net/engine9 m3 I! x7 t' i2 e+ |$ z
  189. engine = On+ O1 D3 a; n1 t# N5 z

  190. % M4 U, |9 Q& S5 K& |
  191. ; This directive determines whether or not PHP will recognize code between; C- F& Y/ k6 s3 u* o( Q
  192. ; <? and ?> tags as PHP source which should be processed as such. It is0 A/ M6 |5 A2 f, N( Z8 Q
  193. ; generally recommended that <?php and ?> should be used and that this feature
    : o+ H- j+ z2 m3 a% x9 @' G& `. ~
  194. ; should be disabled, as enabling it may result in issues when generating XML
    1 n) ~7 h/ b$ S6 @" F3 _
  195. ; documents, however this remains supported for backward compatibility reasons.) t9 M3 K7 ~# E- r' t0 \# U
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    3 O5 S- L5 P+ S2 X- f" |* u
  197. ; used regardless of this directive.
    , F+ ?' a# ~# |8 u* u# t* O2 z
  198. ; Default Value: On
    5 f+ E  ^, d1 _1 y
  199. ; Development Value: Off
    ! f6 |7 T. N* O5 W+ X/ m. b( H7 d
  200. ; Production Value: Off
    2 i8 E# k3 Z6 O4 P; X& N
  201. ; http://php.net/short-open-tag
    . D8 @" c& M4 @. B+ a* G- t
  202. short_open_tag = On# b8 B) |" r( [6 q! W
  203. " v' p0 v5 `+ R$ ?2 T: h. D# t5 E3 I6 I, \
  204. ; Allow ASP-style <% %> tags.
    / D4 \+ t! r  o0 i
  205. ; http://php.net/asp-tags8 P0 s! K, p& L8 R
  206. asp_tags = Off
      _2 r' d- R4 v4 B4 s9 R( L2 T  ^

  207. 1 ~+ D1 V) w/ [1 P) V
  208. ; The number of significant digits displayed in floating point numbers.* ~/ `$ O6 N' ]% s1 _4 z
  209. ; http://php.net/precision
    % `% m, P- l5 Y1 N; T
  210. precision = 14/ K! q( f# i$ ^: P6 u

  211. . m# }. |7 p$ x; y; m
  212. ; Output buffering is a mechanism for controlling how much output data1 z6 n' B5 D0 t
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    . `# y8 y0 J6 ]5 [$ n: j
  214. ; data to the client. If your application's output exceeds this setting, PHP8 m% j3 q! U& ^& W1 O
  215. ; will send that data in chunks of roughly the size you specify.
    : a" j/ Z" Y. I6 }- B4 y4 F
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    - w9 o4 }+ {8 C
  217. ; interesting side-effects depending on your application and web server.
    % n: j8 m  V) T' |9 g# h/ z
  218. ; You may be able to send headers and cookies after you've already sent output5 W' n4 x) z' j" {
  219. ; through print or echo. You also may see performance benefits if your server is  p9 x+ R8 D* T9 D1 ?
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    ' j" \, ?; `0 @, {
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    3 O( m! Y  H! J, }
  222. ; reasons.% J8 i) y( n5 |
  223. ; Note: Output buffering can also be controlled via Output Buffering Control
    / J0 x2 g2 {, D
  224. ;   functions." ~0 d! ~! w# X; Y
  225. ; Possible Values:
    " G" v9 l4 v8 O- G
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)/ q8 N/ K2 x" A5 r/ e1 M' ^
  227. ;   Off = Disabled+ b! M8 X1 z- j, k
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.' A9 R2 k4 z# N' D$ Q- Y7 o# e: z/ J
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI
    3 ^3 Z3 m5 {2 F4 N+ P. @4 m& x
  230. ; Default Value: Off
      T# C  |$ x$ i- k( ~
  231. ; Development Value: 4096+ ?1 V- i6 _# A2 R7 _
  232. ; Production Value: 40969 m* z# V# r% q; N7 N7 E
  233. ; http://php.net/output-buffering
    9 Q8 s. y" C! ?; g
  234. output_buffering = 4096
    ! c. E3 m9 b; M! q! n) x

  235. ' n) p4 U5 h% a
  236. ; You can redirect all of the output of your scripts to a function.  For
    + p3 c3 ^# E8 `  }) \/ ^8 i) c
  237. ; example, if you set output_handler to "mb_output_handler", character
    3 Z- A/ ]5 J' z/ ]- e( \4 o
  238. ; encoding will be transparently converted to the specified encoding.' c' D+ r7 a; }% C) p
  239. ; Setting any output handler automatically turns on output buffering.
    1 F, f( p3 Q$ t" C
  240. ; Note: People who wrote portable scripts should not depend on this ini
    ) S6 u. V$ H: }
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    $ ^2 R" S% n% k5 l4 `( L
  242. ;   Using this ini directive may cause problems unless you know what script
    0 [2 _; f6 h& [9 E1 `( o+ e
  243. ;   is doing.
    % }) a5 K& [- [0 R
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    6 N  D- Y% p0 y' h
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".1 c- u/ [1 Z, y5 z6 i, B
  246. ; Note: output_handler must be empty if this is set 'On' !!!!0 G# _& J3 C0 M8 @8 _
  247. ;   Instead you must use zlib.output_handler.  L* e1 m" l0 L
  248. ; http://php.net/output-handler% _% k% M3 _( U) S9 S  r0 p
  249. ;output_handler =* k0 p9 L0 Y/ k6 d( Z  c
  250. 1 W. _1 _, y2 }  [' U/ [
  251. ; Transparent output compression using the zlib library
    % U: M& w! L9 K! m1 C
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size* a# i( K  R3 H
  253. ; to be used for compression (default is 4KB)
    3 a! Z( }. P+ ?0 ^8 S$ I( u
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    - D. K9 H5 j) U6 v. w
  255. ;   outputs chunks that are few hundreds bytes each as a result of4 I. M! A! f5 C
  256. ;   compression. If you prefer a larger chunk size for better
    % m7 U) g: [6 h* E0 d9 E
  257. ;   performance, enable output_buffering in addition.3 M* U/ y2 O* N" r, G0 L0 Y
  258. ; Note: You need to use zlib.output_handler instead of the standard# e" A9 R, G4 ?3 ~3 F
  259. ;   output_handler, or otherwise the output will be corrupted.5 {1 O% y, p* @" z; O9 H! R
  260. ; http://php.net/zlib.output-compression
    5 t: U+ w2 F9 I9 M& z# M- I  l
  261. zlib.output_compression = Off
    " v# M# x: M8 H
  262. 7 \- Z2 s7 E" B  P' v
  263. ; http://php.net/zlib.output-compression-level
    1 D" I. {" z* a9 S" j' J
  264. ;zlib.output_compression_level = -1
    , v5 @/ h0 }+ ~; k
  265. * z- p  C. {, f  ~
  266. ; You cannot specify additional output handlers if zlib.output_compression
    & O7 J9 D$ |9 S* C; c
  267. ; is activated here. This setting does the same as output_handler but in
    + n2 ?- m0 Y) {' s8 ?
  268. ; a different order.: H  \; b; L$ _0 H0 l
  269. ; http://php.net/zlib.output-handler1 f+ m1 R" T$ G2 w9 _
  270. ;zlib.output_handler =2 p% g# s/ D* K( A4 B8 g- H) \' g: `/ C
  271. 1 D2 y1 z2 H4 L- H
  272. ; Implicit flush tells PHP to tell the output layer to flush itself' a9 c% Y& A1 x, f. k# s0 ^
  273. ; automatically after every output block.  This is equivalent to calling the& S& _: F1 H  m( j( a' l, O. o
  274. ; PHP function flush() after each and every call to print() or echo() and each
      j; @# a. E5 [7 B
  275. ; and every HTML block.  Turning this option on has serious performance3 b7 X8 Q' C& w2 a/ o
  276. ; implications and is generally recommended for debugging purposes only.& F7 w7 M1 V8 b' I/ d! B
  277. ; http://php.net/implicit-flush
    # }5 C2 H  q8 ^& I- g: |7 K6 j
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
    # U" v/ m' P; }* u$ K* z
  279. implicit_flush = Off* G1 z+ P$ M9 ~

  280. 3 O& |1 K2 V9 b* _0 u1 R9 b: ~
  281. ; The unserialize callback function will be called (with the undefined class'. n1 a4 s. Y1 o3 S/ C
  282. ; name as parameter), if the unserializer finds an undefined class! B8 ~$ s( y  s0 e# @
  283. ; which should be instantiated. A warning appears if the specified function is) b4 T+ z1 b! H$ ?8 e( x
  284. ; not defined, or if the function doesn't include/implement the missing class.
    7 ~/ T" \6 j, J: ?! `
  285. ; So only set this entry, if you really want to implement such a
    . n2 G+ F! R5 I2 l, o
  286. ; callback-function.3 `- N6 k4 ?+ m; E% u: F+ o
  287. unserialize_callback_func =) d9 n4 ~3 x7 t5 W/ r+ ?+ ?* p
  288. - q5 @$ P' _' H; X6 N
  289. ; When floats & doubles are serialized store serialize_precision significant( `! d0 I: [# J
  290. ; digits after the floating point. The default value ensures that when floats
    6 M* r; m; N& N0 M
  291. ; are decoded with unserialize, the data will remain the same.
    ; b0 s& {& E; K: h
  292. serialize_precision = 17
    & o* h' d) B8 G* U
  293. ! {; J  |/ N( m5 l
  294. ; open_basedir, if set, limits all file operations to the defined directory
    ( ]) _+ Y* N$ R' c: P
  295. ; and below.  This directive makes most sense if used in a per-directory
    3 P& z+ ^; M7 R  P0 I
  296. ; or per-virtualhost web server configuration file.
    - U7 {! j+ x$ Y2 N& h/ Y" o3 \4 m
  297. ; http://php.net/open-basedir1 m6 ?; L5 F4 p% E1 |! ?9 H
  298. ;open_basedir =8 r2 M( I( F+ D2 [7 ?, ~" s
  299. - K9 A+ i* L3 _7 K" q4 B
  300. ; This directive allows you to disable certain functions for security reasons.& M2 f3 t7 f! _1 f0 w
  301. ; It receives a comma-delimited list of function names.) _* y; t* F1 q# M) F. `6 Q; ]
  302. ; http://php.net/disable-functions8 i& z. w$ O6 ^, E, D$ e% _1 }
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru& T- w4 R- Z; V/ B+ S
  304. , X0 P  A1 t4 M0 b. `3 e
  305. ; This directive allows you to disable certain classes for security reasons.% U1 A) R9 w/ W0 v6 n) |8 Q
  306. ; It receives a comma-delimited list of class names.$ U/ ]4 P# v3 E$ L, {' v8 K6 o9 o, @
  307. ; http://php.net/disable-classes
    1 G$ H8 l# `) Z( T0 d$ o1 _
  308. disable_classes =. h# U" p$ h" c3 u0 q

  309. 2 y# X& w% Y  X6 ^* [, _9 O
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    1 T1 D5 E7 @4 s7 f7 c; B, Y5 C
  311. ; <span style="color: ???????"> would work.: ^2 w% A& C9 ?3 \5 E% z, z
  312. ; http://php.net/syntax-highlighting1 Y7 E) P0 f. L/ H7 c4 g( v
  313. ;highlight.string  = #DD00004 u% `/ r8 Q, I% I$ o6 W: t" v
  314. ;highlight.comment = #FF99002 u) L+ p% Q2 g4 l. C' G
  315. ;highlight.keyword = #007700
    4 W7 X1 T0 [' Y& m/ c4 g
  316. ;highlight.default = #0000BB
    1 d& D2 [0 @) U4 V; @7 h8 w: G1 _
  317. ;highlight.html    = #0000009 B: ]2 o3 c: q3 Q/ g2 Y, Y; D

  318. 3 b7 l1 y7 i& I$ R# X
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    3 t8 s5 l5 q$ r, Z# K
  320. ; the request. Consider enabling it if executing long requests, which may end up/ q5 t2 E0 h! ]! y5 M7 A
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior1 M; Q8 Y* U5 Z& \
  322. ; is to disable this feature.( Y  ?2 H$ n+ C( t
  323. ; http://php.net/ignore-user-abort
    ; R. `# [, T5 j( B; h9 Y& W$ k
  324. ;ignore_user_abort = On
    5 U2 u& ~2 ?$ N. W
  325. # l, D" W! C9 h' W+ O1 s8 `
  326. ; Determines the size of the realpath cache to be used by PHP. This value should7 m$ W8 o" G) @" V) G! r' b5 s3 P
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
      ^) o# L5 \9 m4 O
  328. ; the file operations performed.
    ; p6 n. B. m6 w
  329. ; http://php.net/realpath-cache-size
    $ r  {0 L, l/ ~0 y' s
  330. ;realpath_cache_size = 16k
    " g7 x, |' k+ j  r) C) Z% {) \( ^
  331. # d! X5 x  M5 ~  [* }0 Y
  332. ; Duration of time, in seconds for which to cache realpath information for a given' S: j3 o6 {1 r
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    , ], O# t3 t( b* S+ w0 {8 P6 g
  334. ; value.
    * ?' I  ^* e4 C; {- k
  335. ; http://php.net/realpath-cache-ttl
    : u. S9 r( A: \0 Y
  336. ;realpath_cache_ttl = 120
    5 ^; \5 ?+ {' n; S% W

  337. 4 Z  c: z3 P; V3 A- b$ J% \* @! j
  338. ; Enables or disables the circular reference collector.
    ( e7 }. @! T  L
  339. ; http://php.net/zend.enable-gc
    ! z0 V# S" m) ]- e
  340. zend.enable_gc = On
    . V! m, d' W" |" K. C
  341. . S# t/ A. u$ y& I
  342. ; If enabled, scripts may be written in encodings that are incompatible with
    8 B0 E4 Y; T) |3 {$ A! H/ X
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    ; [/ X  T2 {2 p4 [% T, c6 v& p
  344. ; encodings.  To use this feature, mbstring extension must be enabled." D! R* x5 C+ o2 r
  345. ; Default: Off( n/ L- b' j5 N+ M
  346. ;zend.multibyte = Off
    8 M. w1 w# X! Y/ d# @
  347. $ g4 `- u8 z* i
  348. ; Allows to set the default encoding for the scripts.  This value will be used, l* T! N  d% c
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.0 ?! C$ `8 K" y6 c
  350. ; Only affects if zend.multibyte is set.1 T8 q: X! K9 p  c
  351. ; Default: ""3 w6 O6 b. A$ Z! K
  352. ;zend.script_encoding =
    . `9 R8 T( R8 k( o
  353. 3 t, c7 C& `" ~
  354. ;;;;;;;;;;;;;;;;;
    # I8 _- e2 H& N) _) ]1 I
  355. ; Miscellaneous ;2 O0 N" m' k( ?. q% H9 ]& u
  356. ;;;;;;;;;;;;;;;;;5 h. N$ P: C4 `! }" }

  357. " u; @3 `# H' [% M1 Q0 V
  358. ; Decides whether PHP may expose the fact that it is installed on the server& v' M5 ~% q8 V( M
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
      \# @% n( f# K& O: J
  360. ; threat in any way, but it makes it possible to determine whether you use PHP1 a( O6 K$ A- c4 {
  361. ; on your server or not.
    ( z9 P0 x& \8 U( q3 [' F
  362. ; http://php.net/expose-php
    " R) r5 w8 e$ q
  363. expose_php = On
    * K" {' m- a9 e$ B6 L
  364. ) X- V. G- C- Z! y7 f9 w" e
  365. ;;;;;;;;;;;;;;;;;;;
    ! C. W& @3 l1 V, y. }
  366. ; Resource Limits ;; e# f5 A: ~. u% z: ~
  367. ;;;;;;;;;;;;;;;;;;;' c( C" P( \4 q& m- [2 A7 J

  368. - H  R9 {2 F* W
  369. ; Maximum execution time of each script, in seconds/ r. b! q6 j$ @8 ?
  370. ; http://php.net/max-execution-time. l# W( _1 c6 ]9 y0 B) j
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI+ h, `1 f% s5 ~# w$ B
  372. max_execution_time = 300" n# Z5 X9 ^8 W: o) `" a* ~% v% R

  373. 2 N' P( g1 S, P4 l! [0 ?
  374. ; Maximum amount of time each script may spend parsing request data. It's a good7 {% h! l: V" p/ n# U3 d$ K
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    3 Z4 k5 O3 S+ ~: Q
  376. ; long running scripts.3 J, u0 a# |9 @$ ~7 H# g
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI5 S) d; x5 |* i" a9 n% f3 @: u' s
  378. ; Default Value: -1 (Unlimited)
    8 P: |) Q1 B& u6 V
  379. ; Development Value: 60 (60 seconds)
    4 d2 r; N3 i: G5 y
  380. ; Production Value: 60 (60 seconds)5 S! m8 S" Y% g4 v1 l
  381. ; http://php.net/max-input-time
    : h) I7 A; ^+ g, m% ^
  382. max_input_time = 60  f% Z2 ^* h: m8 E) A
  383. % T" p$ O' \3 `* {2 S5 c( ~
  384. ; Maximum input variable nesting level
    # z* ^( E) Y" f% q' Z% W
  385. ; http://php.net/max-input-nesting-level' X2 `/ Z0 |2 t
  386. ;max_input_nesting_level = 64/ L* r* n9 X/ V0 B% N
  387. 6 J* @/ R( L# \% t- z  U
  388. ; How many GET/POST/COOKIE input variables may be accepted
      _  F3 K, Q* E% z6 f7 q. Z  L0 I
  389. ; max_input_vars = 1000
    : b) k; b, I! O$ |3 p7 B0 b. ^

  390. ' F+ o1 y3 n9 i8 x' j; G
  391. ; Maximum amount of memory a script may consume (128MB)
    3 z4 b& Q% L) g3 v  U$ h: Q* d
  392. ; http://php.net/memory-limit
    ! n' q1 _0 y: T# ?& `8 r% @5 U  u
  393. memory_limit = 128M
    " ?. e; n0 p& z4 s9 A

  394. " G( H* M( X' d3 m4 s
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;) {& X/ O7 A0 X/ r
  396. ; Error handling and logging ;
    & v/ G4 e! Z! a+ o
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;" x4 Q% U% B* e, e9 [, Z

  398. $ \. |+ @: F$ i8 ?' D' k: i3 z* Y
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    , X/ g: L5 B' U: z' D7 O: L* E1 T8 O
  400. ; it to take action for. The recommended way of setting values for this0 y8 g+ N, z) a6 J) X
  401. ; directive is through the use of the error level constants and bitwise) F9 W8 `$ |1 c/ R" J
  402. ; operators. The error level constants are below here for convenience as well as
    6 g. z: A% q& T8 @/ T
  403. ; some common settings and their meanings.
    % B9 J2 ^1 L0 ~( z
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT
    " L- ]! B" L& ~* \; U# i/ ~2 S, @
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and3 M. |5 b, g5 r) {2 S
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    9 b; H) k1 J8 Q. S' I. y+ w
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    / O$ L' c0 i1 f3 U& z# `
  408. ; resources complaining about best practices and coding standards. That's what
    5 w! h; s7 h. W3 P1 h/ q$ C
  409. ; development servers and development settings are for.- U- W, K' \. F+ L) F; y
  410. ; Note: The php.ini-development file has this setting as E_ALL. This
      h- L; x6 u$ \7 c# ~0 p
  411. ; means it pretty much reports everything which is exactly what you want during
    9 V) h( q$ k) I) W$ ]
  412. ; development and early testing.
    : ~9 E3 _' Y7 t2 n8 K# V
  413. ;; f& n: A1 x% ^& J: c
  414. ; Error Level Constants:1 v" P+ A1 ?' ^/ ]) a" @
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    ' S3 o8 n9 M  |2 D3 }
  416. ; E_ERROR           - fatal run-time errors
    & K; C0 `  U% J8 ^  F& F5 X& q
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors8 S' q" m" n& ^; Q
  418. ; E_WARNING         - run-time warnings (non-fatal errors)  I( z5 a9 Z% n6 B
  419. ; E_PARSE           - compile-time parse errors  s( u. l, Y( R8 ?7 n& o5 e
  420. ; E_NOTICE          - run-time notices (these are warnings which often result  h9 R+ J6 I, {4 a, \; D' _
  421. ;                     from a bug in your code, but it's possible that it was
    ( N/ U( i5 r+ c  T: P1 ^" g
  422. ;                     intentional (e.g., using an uninitialized variable and
      [& ^3 Y2 u' u
  423. ;                     relying on the fact it is automatically initialized to an
    % }9 T. L/ E. f% F% t; D  N9 R/ N
  424. ;                     empty string)
    8 l7 i: c0 K4 s
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    6 d! r3 o' f1 [. x2 P
  426. ;                     to your code which will ensure the best interoperability
    & m  i6 `2 h1 x% b! H6 b" }
  427. ;                     and forward compatibility of your code9 {6 k' m4 ]: o/ p) o
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    ' c8 r# `2 a) x" U: L1 s
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    ' o6 |: k) w) u/ m
  430. ;                     initial startup
    6 x* ?7 k  |& j, {- K
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
    . `2 R3 c0 L3 {1 m" Y% O6 S. k
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    3 {0 [0 |, c, l) Z4 G$ ^
  433. ; E_USER_ERROR      - user-generated error message+ ?) C$ q* m* R- f8 @% ^" A7 Z" z0 Z
  434. ; E_USER_WARNING    - user-generated warning message# D/ _6 K2 t* k. T" K5 r; b! \" u* R4 d$ \
  435. ; E_USER_NOTICE     - user-generated notice message
    2 f$ N/ h* A7 c7 L6 z3 n5 A
  436. ; E_DEPRECATED      - warn about code that will not work in future versions# q( j1 o& ?1 v
  437. ;                     of PHP3 k6 N( g2 S0 S, w- h
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    $ ?( E# i" t1 C8 M: f6 }4 V
  439. ;
    ; C* [/ p3 _/ H5 m" J
  440. ; Common Values:0 U: ]9 k& _' d0 V8 [7 w
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    ( b3 c7 `% j8 U; \: t( N3 ~; t0 W
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)- p) s( u2 N, h( N" C* o  _
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    4 K$ b, \( t6 r" b
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)* [% N1 M8 G) C$ E% W  N, x
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
      Y4 W; A! d+ I! x9 P
  446. ; Development Value: E_ALL
    0 Q- z9 f( P: M0 `2 I9 |
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT7 u$ G& ^. D# y0 F2 ?" F6 K
  448. ; http://php.net/error-reporting
    & b" T6 p" c; `
  449. error_reporting = E_ALL & ~E_NOTICE+ l& }8 U2 E& G  G

  450. " k6 k% f7 O$ z0 `
  451. ; This directive controls whether or not and where PHP will output errors,  L5 x# D" ~/ ~7 Y! U, D
  452. ; notices and warnings too. Error output is very useful during development, but
    / m; G& ~( y4 @# x4 k" v. H3 n
  453. ; it could be very dangerous in production environments. Depending on the code
    & P5 P5 C# D5 H6 y" d
  454. ; which is triggering the error, sensitive information could potentially leak
    ! h6 ]' s' V/ d. H$ X
  455. ; out of your application such as database usernames and passwords or worse.
    3 m$ o" j0 y5 v- U
  456. ; For production environments, we recommend logging errors rather than
    # F, o5 O9 e# ]* w: }8 Q! l
  457. ; sending them to STDOUT.7 q% S) Y  u9 I) g* e8 `
  458. ; Possible Values:
    # O: g% Z0 C5 Y! q; F" U
  459. ;   Off = Do not display any errors
    ; a3 k- B3 V2 {: z1 W# x  d
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    * {5 I$ p0 e  |" A+ X7 g
  461. ;   On or stdout = Display errors to STDOUT! p, w- |# Z, H. Z
  462. ; Default Value: On  g0 j, W! T. \9 U0 f9 E2 j5 z0 d
  463. ; Development Value: On
    0 z9 k% ~9 `$ X& H- i- R. o6 T. p
  464. ; Production Value: Off
    + Q) ?$ [5 y0 E) _" `: M0 d0 P9 T
  465. ; http://php.net/display-errors
    0 _, t# a, e3 ?. K2 o
  466. display_errors = On# H% n) n  H% B2 u, V% \

  467. : H/ e1 T+ a* K: _# k" C) v# b
  468. ; The display of errors which occur during PHP's startup sequence are handled
    ' }8 D9 L' d+ B2 l, `% M
  469. ; separately from display_errors. PHP's default behavior is to suppress those" H3 }# w: Z: m  q% S
  470. ; errors from clients. Turning the display of startup errors on can be useful in
    . B# ]# J) i# q
  471. ; debugging configuration problems. We strongly recommend you) m; W" a0 }' u' {+ _
  472. ; set this to 'off' for production servers.+ f4 l2 u0 l' c" u) o  W* ]- [
  473. ; Default Value: Off% O3 G; D% b$ K
  474. ; Development Value: On
    % H# o. \9 b& P; y& K. K0 t
  475. ; Production Value: Off( ^7 p( I; d& j0 c0 L: E, K
  476. ; http://php.net/display-startup-errors
    , q; V3 L' E1 b& f" E) T
  477. display_startup_errors = Off
    ' `3 d! |( O6 R. d% g/ P
  478. 1 D) \1 N; I4 G
  479. ; Besides displaying errors, PHP can also log errors to locations such as a2 o- R/ C! W, q3 O# z' O; Y
  480. ; server-specific log, STDERR, or a location specified by the error_log) a& L- ^. ~  o' a" Q; [
  481. ; directive found below. While errors should not be displayed on productions
    5 r+ Q4 B6 K3 q- q9 {
  482. ; servers they should still be monitored and logging is a great way to do that.8 J9 f- E$ f# T0 R* N! c! a
  483. ; Default Value: Off
    5 A: {) U1 ~+ Y! D/ w
  484. ; Development Value: On
    ! F7 G" ]4 O" j$ i  E# g7 H
  485. ; Production Value: On# [; W, d& ]. a8 F% ?2 H( M- l
  486. ; http://php.net/log-errors
    2 w  H; L; _* r& y8 M
  487. log_errors = On: L5 B  R- u$ m, M; n: Y# w
  488. 6 G& L& y2 ]9 q. Y; e$ @% ?
  489. ; Set maximum length of log_errors. In error_log information about the source is
    6 L# h7 }* O# q1 n% O! K5 i
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.: {; @3 ?  W* g9 ?$ Z. U* ^; j' M6 k' J
  491. ; http://php.net/log-errors-max-len
    / l) B" m6 c3 _$ I) k
  492. log_errors_max_len = 1024
    ! \# E" ^4 w* g% {% _% F6 g

  493. : G# A9 _: u, \) K! G& j
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same. L" E* U. @; m' H) Z* C% X; [
  495. ; line unless ignore_repeated_source is set true.
    3 l& a! M8 A. A- s
  496. ; http://php.net/ignore-repeated-errors6 L2 o* Z7 Q3 I6 N3 J' s( i# i$ ?# P7 |
  497. ignore_repeated_errors = Off, a; v) B+ O  J  a
  498.   f  k/ Q6 I4 W4 [& S$ q( Z  A
  499. ; Ignore source of message when ignoring repeated messages. When this setting6 ]& u# V! w' J8 n# Z' P4 f
  500. ; is On you will not log errors with repeated messages from different files or- n6 Y) l; ?5 G: [& _" X* Y
  501. ; source lines.9 |' v$ P& s1 Q; ?2 N; j
  502. ; http://php.net/ignore-repeated-source
    8 j$ Y3 x9 ?- ^/ W
  503. ignore_repeated_source = Off4 u4 ^1 z) }& `1 x; F# O& G

  504. 4 h4 B: ^3 n$ s
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on& l2 K- B; j. d5 x" g" J
  506. ; stdout or in the log). This has only effect in a debug compile, and if0 [. |. g% P; q5 L; Q$ J' H
  507. ; error reporting includes E_WARNING in the allowed list- f3 d# M- @2 Q" L% T! |; Q, S$ s
  508. ; http://php.net/report-memleaks
    6 c" r: W$ I" G7 p6 A. y' B
  509. report_memleaks = On
    6 W8 b9 k  w+ J% S# V. ~: f7 a# s
  510. : M  i8 K5 P! \" d8 _4 ^
  511. ; This setting is on by default.
    . x: d1 d# _, Z; k! ^
  512. ;report_zend_debug = 0
    2 k; R) X' l/ m6 o9 e0 u! j; U
  513. ( T( u7 m3 l! J# z
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    6 _, q+ T% ]6 L3 S6 A: l
  515. ; to On can assist in debugging and is appropriate for development servers. It should/ ]3 U! R/ O' v2 r* I2 l3 i
  516. ; however be disabled on production servers.5 k0 Z( \6 u& }% }$ ?2 \
  517. ; Default Value: Off; }" n2 o0 Y( ]
  518. ; Development Value: On8 u6 I: \( K! t$ t
  519. ; Production Value: Off
    ! g% l' r. w5 A/ l
  520. ; http://php.net/track-errors
    * O: V* J3 [; R: f5 X
  521. track_errors = Off. ^' Q( J5 w/ G
  522. % N& E3 F. O5 h3 h& @8 L
  523. ; Turn off normal error reporting and emit XML-RPC error XML, c; T/ f2 v3 X- Y' L. ~! @" _
  524. ; http://php.net/xmlrpc-errors0 b  P% d+ R  m6 k  M0 F# N
  525. ;xmlrpc_errors = 07 V( \9 o. l& R: r% O
  526. - L1 H/ ~5 n$ r: b5 T; d
  527. ; An XML-RPC faultCode8 N% u1 U$ D3 A& V. }7 n0 L
  528. ;xmlrpc_error_number = 07 ^( \8 b9 R! I* Z7 M2 E- [
  529. 6 [' u$ t6 O6 U4 R
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    6 L8 f2 P  x6 {" O
  531. ; error message as HTML for easier reading. This directive controls whether
    ) C6 f5 D& d0 O( I: K
  532. ; the error message is formatted as HTML or not.3 e, F9 I( M0 b& x6 ~7 O
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI5 Q( Y; u- W5 ^9 Z# {: T' y
  534. ; Default Value: On  W! e, R  A  a' d0 ?8 v' I- P
  535. ; Development Value: On
    4 l3 v: |& I8 d! j
  536. ; Production value: On. T) a8 L7 ]$ y
  537. ; http://php.net/html-errors
    / t* f- q8 m6 g2 E; `
  538. html_errors = On
    * R( r7 m3 N  `# Y8 C9 O% X

  539. , A. c& D1 K$ I
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    8 ^4 D. G2 W8 M5 N
  541. ; produces clickable error messages that direct to a page describing the error- V) h2 x" G2 {* A# I% @) k8 {: n. m
  542. ; or function causing the error in detail.
    6 }8 K6 l' t4 v( F1 G9 |
  543. ; You can download a copy of the PHP manual from http://php.net/docs9 h/ T5 L" f+ s- v
  544. ; and change docref_root to the base URL of your local copy including the9 \0 `9 J# M; K# \/ u/ c$ [
  545. ; leading '/'. You must also specify the file extension being used including! {- B! J+ T% G! C! i% d
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which
    # \, I1 J8 I- _. \. s
  547. ; case no links to documentation are generated.% C, s6 u' V; {( F3 C
  548. ; Note: Never use this feature for production boxes.
    + k7 l9 k7 ?" f# X; C
  549. ; http://php.net/docref-root: g) d. I) E$ x: x1 L
  550. ; Examples! B3 t  i2 w4 o
  551. ;docref_root = "/phpmanual/"
    " y$ V, V! J: J
  552. 5 r/ [# J' i8 {
  553. ; http://php.net/docref-ext1 Q( n: N5 J. x1 c1 p
  554. ;docref_ext = .html
    2 ]7 ?3 W6 {$ h; R$ I
  555. : u% ?. ^0 o' z3 W  G+ Y$ I, c! `
  556. ; String to output before an error message. PHP's default behavior is to leave
    5 N: d4 V  G0 |6 b' t! t6 i
  557. ; this setting blank.9 j3 K- M7 x" O0 {( P8 k, @
  558. ; http://php.net/error-prepend-string$ L6 A# Z" z+ H2 e0 e& y
  559. ; Example:. I/ w8 C& s9 b  h8 ?- y
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    ; y# f6 u8 _2 O; f

  561. 2 [: P; H& [, W! z6 }1 ^; }9 A
  562. ; String to output after an error message. PHP's default behavior is to leave, s1 I  [7 M% F9 r5 ^3 ?! R
  563. ; this setting blank.- e& H6 d5 z; }) ]; o
  564. ; http://php.net/error-append-string5 u1 h) Y/ s# }7 p+ R7 t
  565. ; Example:
    3 x+ |/ J) k( _5 [6 L: |( s
  566. ;error_append_string = "</span>"( `; U6 D: \8 |4 ]1 R0 g

  567. : i: t% H$ x$ B: S5 V# |8 v, F
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    * g) W  E3 s+ \+ f$ o
  569. ; empty.: j  ~/ D# `8 b1 {" T1 R; f
  570. ; http://php.net/error-log6 M6 y# T; m5 b' ~* q! U
  571. ; Example:% t0 ~! `1 K# _
  572. ;error_log = php_errors.log/ c4 F% K6 r! f' A
  573. ; Log errors to syslog (Event Log on Windows).
    + f7 m- P  K: N* F* K' D( }# [  e
  574. ;error_log = syslog
    $ [5 R* m% S9 R; m; y/ w4 t& y3 w

  575. ' m4 ~3 t; _- N/ l6 g  \
  576. ;windows.show_crt_warning9 }& |7 y" w0 D% C3 n- x: M
  577. ; Default value: 0
    9 a# Q" t- P4 O+ C
  578. ; Development value: 04 z& R6 y9 u( q1 A0 s/ D
  579. ; Production value: 0
    3 Q+ o6 H# X4 }& H. G5 g4 C

  580. ) V" ^8 {. S5 o+ w* q
  581. ;;;;;;;;;;;;;;;;;
    * s$ Y% n( v( E2 _. V  T6 a+ `
  582. ; Data Handling ;* p$ V$ i- i) R* C1 }3 Y* V* p
  583. ;;;;;;;;;;;;;;;;;
    ) E- P1 Z% W! X. e  j9 j7 L$ g# V0 ?

  584. 4 w. |- F* k% n$ g
  585. ; The separator used in PHP generated URLs to separate arguments.8 k2 h3 n; A* @$ e( o5 B
  586. ; PHP's default setting is "&".
    7 \, n8 G( Z5 P7 Y# g" H6 i
  587. ; http://php.net/arg-separator.output
    6 E$ |1 z) ^- q$ R! F/ W
  588. ; Example:
    " x0 v- q0 D3 u9 |2 G! L
  589. ;arg_separator.output = "&amp;"
    6 h: ~/ G. i3 _& A6 n
  590. $ q/ [" ?9 C) I
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    5 D  Z; g( e* a5 \
  592. ; PHP's default setting is "&".+ I' Y$ R% b  P. X
  593. ; NOTE: Every character in this directive is considered as separator!; R5 R  s) o& `2 @0 W& }
  594. ; http://php.net/arg-separator.input  z# _; z2 F- X6 _: m
  595. ; Example:
    : T7 i. g9 Q& k0 U9 b' n% G
  596. ;arg_separator.input = ";&"4 i! k1 F/ [" H" a
  597.   q0 S  K: E0 Q8 t
  598. ; This directive determines which super global arrays are registered when PHP
    2 x# O' P9 \" @$ n8 s0 h
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super" u1 H3 W5 v9 E
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    2 ~7 ?- T1 n: |1 E; H: i( h
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    ) b% x" \: n) |0 M% B
  602. ; used as the others, ENV is not recommended on productions servers. You
    ; o6 I5 h3 b1 p  T; y
  603. ; can still get access to the environment variables through getenv() should you
      ^; ?, k6 V3 u
  604. ; need to.
    5 A6 q. h' _2 p! Y9 m0 `9 Q( b
  605. ; Default Value: "EGPCS"
    / q0 p, }5 J& ~# {$ \6 S
  606. ; Development Value: "GPCS"
    5 J4 J" h- S  h& ]
  607. ; Production Value: "GPCS";
    ; c6 Z) v! a8 u* {$ l1 k7 v
  608. ; http://php.net/variables-order
    + ]3 ~% D$ L/ j' e
  609. variables_order = "GPCS") ]7 m! U1 a6 `! S3 ~- I& s
  610. 0 [* |3 L9 P) Y9 N+ u  D9 X
  611. ; This directive determines which super global data (G,P & C) should be
    # \6 K# P' f+ b0 d" R; r/ A
  612. ; registered into the super global array REQUEST. If so, it also determines# K! [( `" F6 w2 Q- I# g( _
  613. ; the order in which that data is registered. The values for this directive7 N) F/ L0 L+ K* k$ J7 u4 X/ S
  614. ; are specified in the same manner as the variables_order directive,, p1 |2 y! F" |4 [% H- `: j
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    / f% y/ f- }' V5 o+ l. h8 o
  616. ; in the variables_order directive. It does not mean it will leave the super
    / j) f1 P- [" M! L
  617. ; globals array REQUEST empty.
    ; r2 q2 l5 J( B" M: d
  618. ; Default Value: None
    ) x, G. A1 C7 F+ t
  619. ; Development Value: "GP"* j- x8 o! |% i
  620. ; Production Value: "GP"$ b8 ~& o7 E+ [; j- Q
  621. ; http://php.net/request-order" U9 J+ t/ G: v. o: I
  622. request_order = "GP"
    " U! g$ p' d- e9 O7 C4 Q

  623. " d  m# c* `' D$ ?
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    . A# i" I# n: Q" E+ {$ ?
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script5 r4 H! U5 U3 B2 M9 A
  626. ; is invoked. $argc contains an integer representing the number of arguments
    : ~1 }. R& u. T  u' }
  627. ; that were passed when the script was invoked. These arrays are extremely
    6 Q1 O5 e" p2 P+ v
  628. ; useful when running scripts from the command line. When this directive is' X% {* u: N: R6 Q( M; `
  629. ; enabled, registering these variables consumes CPU cycles and memory each time3 {1 u6 d6 E' w
  630. ; a script is executed. For performance reasons, this feature should be disabled
    0 K2 }% I, d; o) G! _6 m# D. v0 P
  631. ; on production servers.. f& W9 \5 I, S9 r6 H
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    7 ^' ?1 ~; f) I0 o- e
  633. ; Default Value: On# V( k. |# r* v- L" B# P( h9 J- }
  634. ; Development Value: Off% }/ K0 g; \  V6 ]/ n. F
  635. ; Production Value: Off
    - B4 m$ D& O* k
  636. ; http://php.net/register-argc-argv+ ~& L! W, C- ]2 a! [0 ^
  637. register_argc_argv = Off
    " K  v2 P' C, Z
  638. 3 B: U! o. c( A
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
      s+ a7 q/ ^2 o9 N; o, S; B
  640. ; first used (Just In Time) instead of when the script starts. If these6 h6 A/ Y0 |4 Q+ M
  641. ; variables are not used within a script, having this directive on will result
    : w* K' B, a; t6 x5 }
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled" R1 j) ?: |. ?) K% Y% o0 |/ }/ S2 Z( V
  643. ; for this directive to have any affect.
    * n- D% g0 G3 M: D3 ?+ L: b3 J& z$ G
  644. ; http://php.net/auto-globals-jit
    ) e% ]) \+ L5 o% g5 }6 ^3 i6 \0 E; I. B- E
  645. auto_globals_jit = On
    - w/ v( g; g% N

  646. ) U* E' A% V" O/ _. V. [; J
  647. ; Whether PHP will read the POST data.- p' s; ^) f4 n5 Q# e4 O
  648. ; This option is enabled by default.
    6 U3 ]( B( {  k6 z: Q& A$ \; j
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST% ^( E" O; z' ^7 k9 I, W
  650. ; and $_FILES to always be empty; the only way you will be able to read the$ y# y( W4 V" F3 y, S
  651. ; POST data will be through the php://input stream wrapper. This can be useful! y1 J  q$ N) Q' s, R
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.0 I8 |8 J* h4 ]/ c
  653. ; http://php.net/enable-post-data-reading, ~$ n! }$ z$ C7 Q7 P
  654. ;enable_post_data_reading = Off
    7 ^  L0 A0 Y5 E& i) g4 D
  655. ( D2 d' m* ^* |6 W5 C& Y" e
  656. ; Maximum size of POST data that PHP will accept." R! l& N; t1 `
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading8 @5 y7 q$ S; B- i$ ^
  658. ; is disabled through enable_post_data_reading.7 e' i3 l2 x; o2 m8 S0 T. P
  659. ; http://php.net/post-max-size
    ) W4 H! G1 \. P3 f+ A8 F
  660. post_max_size = 50M8 [, q9 v7 c0 d) l  t
  661. 0 l% W+ o# z% w5 o/ a/ d: H  S
  662. ; Automatically add files before PHP document.
    3 s8 Y8 {7 D1 p8 R" z1 X/ U
  663. ; http://php.net/auto-prepend-file  k) g! Q0 I; q  F9 d2 O8 i
  664. auto_prepend_file =
    % m# d+ m. {; @

  665. ) O: C3 c( |! Z$ {1 p1 r1 q
  666. ; Automatically add files after PHP document.
    0 U* }' t& s/ a  N/ k
  667. ; http://php.net/auto-append-file; Q' W2 F& f" ?, L6 ?
  668. auto_append_file =1 a- P7 h' {3 h$ x+ q

  669. , h* l/ m9 [) I0 n5 F* t, t
  670. ; By default, PHP will output a media type using the Content-Type header. To3 a/ Z; U# {# d1 G0 S
  671. ; disable this, simply set it to be empty.( {* w$ d0 o- [- }, f- U/ R4 @2 W
  672. ;
    # t4 f  q( |5 |3 }
  673. ; PHP's built-in default media type is set to text/html.5 r9 a) `, ?" c0 u
  674. ; http://php.net/default-mimetype
    0 \4 z+ Y2 M+ \: }) Q! Y
  675. default_mimetype = "text/html". ?3 f& }5 P+ v9 k6 S
  676. 9 }+ `4 F4 x# B8 ]! \! Z
  677. ; PHP's default character set is set to UTF-8.0 f* J2 U! E$ }- C" m; W
  678. ; http://php.net/default-charset+ r: I6 H' C! ?
  679. default_charset = "UTF-8"
    % _* g5 e2 _; m' u; f4 @

  680. $ x8 S8 A% G5 [5 P  r6 F
  681. ; PHP internal character encoding is set to empty.
    3 o: A5 B4 W5 T1 V
  682. ; If empty, default_charset is used./ N/ w) g" N9 P5 o
  683. ; http://php.net/internal-encoding
    $ ?& P. U: S) c" ]8 x( U6 K0 \
  684. ;internal_encoding =
    * s- L2 }: p3 ~9 o! M0 Q! X

  685. 4 r" P+ R; G5 P/ g/ X
  686. ; PHP input character encoding is set to empty.2 ^; x3 S9 [9 ^, |2 F
  687. ; If empty, default_charset is used.% I5 N+ O5 \" H2 x, H. Q
  688. ; http://php.net/input-encoding
    # G: x; ^$ }. O0 j, e; F" J5 W$ m
  689. ;input_encoding =
      i9 b, o9 S; q; J" A5 Z0 b
  690. ( c! Y5 h7 o0 ?" |8 n0 b
  691. ; PHP output character encoding is set to empty.
    ! h- p# B2 A6 K' n# e2 F
  692. ; If empty, default_charset is used.5 T. D- r& w5 a' u) c
  693. ; See also output_buffer.  ?9 b: U2 H* m) {# B$ y, F4 m
  694. ; http://php.net/output-encoding1 R+ l1 i) h( O$ _
  695. ;output_encoding =$ W! l5 C8 \9 @# ]/ e! U* b
  696. 4 I3 R4 ?, _" A% X1 O* r
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    & w; E* P, Z1 Z$ P0 T0 y% {) q3 q; p
  698. ; to disable this feature and it will be removed in a future version.
    $ i: @$ F7 }& L6 ~
  699. ; If post reading is disabled through enable_post_data_reading,
    # e9 ]  n0 w# N' s( S# _
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.+ t' D3 S& P3 P1 H- {$ w
  701. ; http://php.net/always-populate-raw-post-data
    + a- M  o  r3 F. m1 _- R' \$ V& S
  702. ;always_populate_raw_post_data = -18 q" Y7 t7 `# T) n! y
  703. 5 U# `- c- }+ ?( X6 P
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    ; A1 z, X5 C$ y+ j! D1 a0 y
  705. ; Paths and Directories ;
    : G  E$ e7 H% O$ Y' D! u/ f
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;! W. W6 q$ R. \: g" @2 h
  707. . S) B1 i8 C+ B2 p- e
  708. ; UNIX: "/path1:/path2"- E. Z2 g6 v! @# h
  709. ;include_path = ".:/php/includes"/ k1 f4 M+ S, V8 t0 k+ a. J
  710. ;3 J: c% x& e, T+ e6 n9 |
  711. ; Windows: "\path1;\path2"
    ! f  X" ?+ K: n7 X1 a. N
  712. ;include_path = ".;c:\php\includes"
    3 X4 E# R3 f5 R3 R5 w. L
  713. ;* w/ Y% R! n5 S
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"
      s8 p' x2 k4 ]/ c, ]2 P4 \) b
  715. ; http://php.net/include-path
    + x1 i. u# A5 _/ u

  716. " X3 F. X+ s! q# B. {5 W
  717. ; The root of the PHP pages, used only if nonempty.' ^: I) e0 u, Z! R) ^
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    8 X; p  ?- N( |1 y% n. `
  719. ; if you are running php as a CGI under any web server (other than IIS)
    9 c* ^, S& b* w
  720. ; see documentation for security issues.  The alternate is to use the
    7 O9 @- r/ c0 U# G; H
  721. ; cgi.force_redirect configuration below7 g5 u; B3 H) E& L% o' s9 T
  722. ; http://php.net/doc-root8 C0 ?: C& {2 V( J/ Z' V7 T+ G: v
  723. doc_root =
    2 ]9 w- S0 ?' U7 W& \- T/ {7 W9 }
  724. 3 J0 s7 c  L$ D, E% {
  725. ; The directory under which PHP opens the script using /~username used only
    9 I) D( y( V8 A/ i% j( }# C( f$ {
  726. ; if nonempty.: Z2 S8 ]( W* |; a; |) D
  727. ; http://php.net/user-dir
    3 ~( T  \. w. a
  728. user_dir =
    8 s8 A1 x/ u6 e" U1 f

  729. 7 D# m/ }& U4 [. j3 R6 E
  730. ; Directory in which the loadable extensions (modules) reside.' b( R/ U( ?) @0 n. a. ]; _
  731. ; http://php.net/extension-dir
    " ]* S5 b( b- |# T$ H" j. a
  732. ; extension_dir = "./"; {9 M  t0 |  N8 R/ z
  733. ; On windows:$ J. r& B+ L! q4 G: w, Y
  734. ; extension_dir = "ext"' N; s7 {- [1 k  g
  735. 9 M( {4 \+ v3 R8 y6 B* j& p, t% v
  736. ; Directory where the temporary files should be placed.! u9 m8 d: S8 |1 }0 r' v
  737. ; Defaults to the system default (see sys_get_temp_dir)- v6 s2 A* @" P
  738. ; sys_temp_dir = "/tmp"
    : h) G( ?$ ?( E  a# ^
  739. 5 }; W# }7 _  b) x% k
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work1 q$ V  a% F0 z5 v; l# O
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    & u& i) R$ I% h0 |% \: `
  742. ; disabled on them.
    ' P% k" n4 E# y' f* |9 K( c1 `
  743. ; http://php.net/enable-dl& @4 T, H# O1 V/ U! E. f1 V1 s4 r
  744. enable_dl = Off) B( Q9 ?* a+ I8 L! G/ ]
  745. & {! |9 q3 Q2 e# H% \% [4 Z
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under" `* Z; P2 \# T) q2 `1 B' h$ C
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    . ^$ G" n0 W" x# e
  748. ; turn it off here AT YOUR OWN RISK0 T" o+ T* l1 o* B3 F! Q
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    & r# }( c& K' v* m/ y4 E. W
  750. ; http://php.net/cgi.force-redirect: V: ?* X. `# C. S3 `
  751. ;cgi.force_redirect = 1, b3 x$ i9 z  ]/ g

  752. % @: V: U7 q- V$ N
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    " x; ?6 k( W4 f( S# y; G4 m( c
  754. ; every request. PHP's default behavior is to disable this feature.3 l+ S, ?, ~3 v) w
  755. ;cgi.nph = 13 [8 V' k9 o2 M* ?% j! X8 l
  756. 8 D+ f& X$ w) _3 {2 a) V; k$ Q
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape% x+ a; x$ ?( _8 d- L; W2 W9 S
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP1 f+ @. g# h, Z8 |
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    1 B3 Z0 V* h/ g9 p1 r5 I' ~
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    1 A7 V: f$ \7 u# w" |
  761. ; http://php.net/cgi.redirect-status-env2 X: b7 Q7 p6 Z. U; N  _, J& Q* j. G
  762. ;cgi.redirect_status_env =, T, e9 B* S# f* u

  763. 6 e2 U  T" C2 e. ~  D4 e
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    7 d0 y' E: E6 q0 |5 e6 C! k: y- A
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok. z/ H( \, w: r8 a1 W( L3 f9 y2 P4 m1 H
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting: N+ h9 |* R5 m* }3 Y3 E: V
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting) E7 s6 s# `7 Z* h' B. U% `9 c( B
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts/ K" d  z/ h2 m2 @
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.; w1 m+ y# o) }' s: l4 s6 ^
  770. ; http://php.net/cgi.fix-pathinfo8 H6 K" \4 I/ r0 O! w
  771. cgi.fix_pathinfo=1
    / ?) s6 M' f/ b6 ]2 E9 J
  772. . Z- n! R2 s* s! F  z/ T- ^
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    . ]$ U9 ~! U+ B4 @5 _- y) z; A+ A; \
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    ) _8 S0 V) X0 |/ x% m2 S
  775. ; http://php.net/cgi.dicard-path
    7 d0 {" M7 v$ `/ N5 P, v1 p& {  |1 |
  776. ;cgi.discard_path=1
    # y6 q& T7 V4 {2 b
  777. 2 D2 N4 U5 K" P6 _
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate, n& U- `- P& |2 g7 O3 ^
  779. ; security tokens of the calling client.  This allows IIS to define the) z' {6 ^( l/ P' H" i$ n
  780. ; security context that the request runs under.  mod_fastcgi under Apache( B, d( [& K, H; z" ]
  781. ; does not currently support this feature (03/17/2002)
    , u2 ~/ I, m  S; V" |% Z" }6 M3 M
  782. ; Set to 1 if running under IIS.  Default is zero.) J0 n* y: Z& l$ d8 G" N- Q# l
  783. ; http://php.net/fastcgi.impersonate( h$ E! o1 R/ @% D* Y# P* T
  784. ;fastcgi.impersonate = 1/ H1 b& Q! |+ r/ `

  785. 0 {8 V5 N& H6 b, r, @
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    " n% }, q2 j6 E4 G/ }# v5 }/ X* C
  787. ; this feature.
    4 `1 i* T" a! J: O# P+ }; ~( J( @
  788. ;fastcgi.logging = 03 U/ p1 o" p  @0 w
  789. ' y! C9 Q6 C! e; N. D0 N* D
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to  w+ F, _/ B6 r& S
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that; f9 |4 ~2 \8 A/ S. o
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    0 h7 W9 b9 m! w1 v
  793. ; RFC2616 compliant header.
    % o& t& j+ o; K
  794. ; Default is zero.* z0 n- X7 B( v! C+ ]
  795. ; http://php.net/cgi.rfc2616-headers5 L- d* `9 l" O5 }5 {; y
  796. ;cgi.rfc2616_headers = 0* Z# |7 }- w: r$ o* n
  797. ! @$ e6 E2 T  p& X# z5 b
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    - J  j/ _7 z& Q7 \$ b
  799. ; (shebang) at the top of the running script. This line might be needed if the, A5 e: f: Z# ]% I* h: V% q& P
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI& M& M+ K4 I4 ]) _: B
  801. ; mode skips this line and ignores its content if this directive is turned on.7 [- O/ u3 c# D3 `) I  ]
  802. ; http://php.net/cgi.check-shebang-line. O% _8 W0 \% [9 H0 @* a
  803. ;cgi.check_shebang_line=1
    % Q& b, z! \+ a. X) `9 V
  804. / |1 q- d( N6 R& v/ c, b
  805. ;;;;;;;;;;;;;;;;
    , G% [$ l2 t- q+ s& \
  806. ; File Uploads ;
      n  G( M" j2 G# r( K& l
  807. ;;;;;;;;;;;;;;;;
    $ b8 n/ j. @1 k' c  p# q  D. q
  808. % I' \/ S' v% C0 K  j  C
  809. ; Whether to allow HTTP file uploads.$ m: c# m! P+ \+ n
  810. ; http://php.net/file-uploads
    ) g  ]- e. w: s+ T
  811. file_uploads = On* W0 q+ f: e' F1 G
  812. % y5 C) Y% W0 `! y  n1 L8 ^
  813. ; Temporary directory for HTTP uploaded files (will use system default if not0 x: n% V; X9 Q* G
  814. ; specified).
    * l( L" h  x8 C" t: U5 v+ `& R
  815. ; http://php.net/upload-tmp-dir' M% t  X0 T3 R& G
  816. ;upload_tmp_dir =
    8 [. l3 O4 {7 d4 J. Y( O

  817. 7 b2 H; p/ V# f
  818. ; Maximum allowed size for uploaded files.; {: W- W6 n, `9 k( S- Z* p; @
  819. ; http://php.net/upload-max-filesize7 ?% @2 K1 ?* ?
  820. upload_max_filesize = 50M
    , P6 ~$ A# y+ ?3 f+ ^7 `& b8 _
  821. # |1 ?" r; q! g% X
  822. ; Maximum number of files that can be uploaded via a single request
    : `. n$ C  j$ e% x% N
  823. max_file_uploads = 20" y( h' L6 z. V6 u  S5 J! ?
  824. " C& M2 U$ N( O: \$ x4 l5 }
  825. ;;;;;;;;;;;;;;;;;;0 O4 g4 X- B6 x. e: J$ p& K
  826. ; Fopen wrappers ;$ e- I# y" S1 f, {1 B+ r
  827. ;;;;;;;;;;;;;;;;;;8 T2 j6 N9 w5 ^$ K$ Q2 {* u8 p

  828. 2 ]7 V9 w& U9 Q# a  Z% A, X
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.! n' z& Y( p& |* f6 B! r3 \
  830. ; http://php.net/allow-url-fopen4 c6 H  v$ e! q- o0 y
  831. allow_url_fopen = On
    ) S, x9 b& L0 N% v7 h1 G; F" Q
  832. ; r* ^" w( N" x8 E
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.! f8 B8 I. x$ V- k3 R( C
  834. ; http://php.net/allow-url-include
    , j# q2 ?, X% I0 g0 k
  835. allow_url_include = Off
    " f! u" e, q% M: r  F7 v
  836. ( w6 w9 ^1 L% G8 n/ V4 o8 h
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    ( G, R7 g& J4 w/ t! F! _: }
  838. ; for this is empty.& ]% `- b6 B6 K7 F0 c  t  ~% w
  839. ; http://php.net/from# J: o. d( h) c9 v& L, C: C* x
  840. ;from="john@doe.com"
    : N  V# s1 c8 u# H

  841. * i- T, A4 `* B0 x. l
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    # l7 T' X) Y. O7 V. x* \0 v: t
  843. ; http://php.net/user-agent
    4 ]( i& _8 e0 X: G, M. Y( }! o
  844. ;user_agent="PHP"* P$ r& k+ W. R% _+ M/ o$ ]
  845. % r# P) |7 P8 C: [( I% a/ S
  846. ; Default timeout for socket based streams (seconds)' b* k+ z. t( F6 q: z; ^
  847. ; http://php.net/default-socket-timeout
    , s+ j/ H$ b* W) B' f* T3 k9 T
  848. default_socket_timeout = 60
    6 A8 {& @; {' B1 ~( d7 h0 Y
  849. 0 }) b; G/ p3 p6 ~/ d% I
  850. ; If your scripts have to deal with files from Macintosh systems,
    / r5 O) ]7 Q6 k- D; f9 L
  851. ; or you are running on a Mac and need to deal with files from' v2 {7 E  y; e9 U: P" m
  852. ; unix or win32 systems, setting this flag will cause PHP to% L' E* B# ~" d  J5 k0 W! D
  853. ; automatically detect the EOL character in those files so that
    / E' Z4 m1 E- M$ N% J5 \: U9 a
  854. ; fgets() and file() will work regardless of the source of the file.6 T. X' N9 z9 ~8 y
  855. ; http://php.net/auto-detect-line-endings
    7 a6 q% |1 T* }( N; K
  856. ;auto_detect_line_endings = Off
    ; F# l' y5 G8 U) L) a5 j+ O0 k

  857. & n6 ^# f3 L7 b& K+ L. l
  858. ;;;;;;;;;;;;;;;;;;;;;;
    7 @1 Q- j$ j7 k7 _6 @2 K7 B- V
  859. ; Dynamic Extensions ;8 c0 u  o" j+ j0 [- O) o
  860. ;;;;;;;;;;;;;;;;;;;;;;
    % E: f! _# h$ N6 ]1 r$ s$ C7 A' [

  861. 1 R0 R0 B0 R. K" A" Z6 w# [" I, Q
  862. ; If you wish to have an extension loaded automatically, use the following
    ( e- [+ ?5 k0 Z6 ?" A0 {* X
  863. ; syntax:
    5 S+ M; u* v! v  I6 t
  864. ;
    ) e6 b2 J  q2 ~/ b3 ]# d( }
  865. ;   extension=modulename.extension0 k. s. U# N4 p, {# D
  866. ;( a& v5 @7 w; Y. Z
  867. ; For example, on Windows:: s6 x1 |% q: L- g! q
  868. ;
    ; B! l9 F& g8 s! T
  869. ;   extension=msql.dll
    5 j; g6 Y6 u. f: [8 |0 W
  870. ;  \0 d! s  G1 Q
  871. ; ... or under UNIX:9 s4 B* A+ L- m) E
  872. ;8 i& M8 B, i+ L. I, b( ^
  873. ;   extension=msql.so, ]/ F) l$ a! i3 O% z- D
  874. ;/ N2 ~1 ?" S7 J3 c6 E
  875. ; ... or with a path:! d: t# Q5 D0 E2 M* B: c
  876. ;
    ; k3 r: B  O& V2 [$ w5 S7 }. m
  877. ;   extension=/path/to/extension/msql.so) C. F, C$ P; O2 M$ h% u& T
  878. ;$ |* H' m" P' d3 W
  879. ; If you only provide the name of the extension, PHP will look for it in its- Q# C* Z# S' j8 t. ^) ^% B6 P; C. X
  880. ; default extension directory.
    # ~5 G" _8 i; n0 D3 k
  881. ;
    5 V4 U+ I0 j' W* J# e+ S
  882. ; Windows Extensions; ?2 J. `% m/ V/ X1 J2 t, \
  883. ; Note that ODBC support is built in, so no dll is needed for it.( J9 J9 T8 u+ E9 w/ ]5 F
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)
    / [. Z2 F, b) o! {4 W- R, y
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
      Q: Y+ l7 l9 B. g
  886. ; Be sure to appropriately set the extension_dir directive.
    0 }, m7 g2 ^$ B# b8 s
  887. ;, p6 U( x. e$ i; C" o, E
  888. ;extension=php_bz2.dll
    0 R3 n  T8 U9 C. _% B% k
  889. ;extension=php_curl.dll, Z$ d& ~2 f6 f8 b8 u
  890. ;extension=php_fileinfo.dll
    ; ~! W4 E0 ?7 ]' v9 z1 x
  891. ;extension=php_gd2.dll
    + G- K" S5 L4 f. Q: e
  892. ;extension=php_gettext.dll* H; W6 x: ^/ j6 c5 @( ~0 e
  893. ;extension=php_gmp.dll
    2 ]+ B% R; i$ L
  894. ;extension=php_intl.dll
    ) T( L9 X& Z* l7 L! i! [
  895. ;extension=php_imap.dll# z6 _& z' ^8 N3 G* l. E
  896. ;extension=php_interbase.dll
    2 J* ~% d  s& c1 I/ I6 E% E3 j6 W# y
  897. ;extension=php_ldap.dll
    + E8 I- {+ {0 g
  898. ;extension=php_mbstring.dll, [- |0 g: U9 a2 f5 D( f4 _
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it! Z# \& m" e7 `, ~0 @1 M  b
  900. ;extension=php_mysql.dll
    . M. M! x8 B* p) ]2 o$ T! v/ Q+ i9 ~
  901. ;extension=php_mysqli.dll
    % r( d" ?: f- B0 \- i. x: e
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client
    , m1 E! ^0 }" e# L4 X8 \
  903. ;extension=php_openssl.dll4 }/ o- s+ c3 ?* |2 D
  904. ;extension=php_pdo_firebird.dll6 |& v$ p/ j( V' X. r' e* t9 \
  905. ;extension=php_pdo_mysql.dll
    # a, y, \7 ?3 g8 }; e4 S% i
  906. ;extension=php_pdo_oci.dll
    0 [2 E8 [( B. a! r
  907. ;extension=php_pdo_odbc.dll" p/ r. n4 ~( Y$ w* [( }9 L) m
  908. ;extension=php_pdo_pgsql.dll
    3 m7 x7 i2 e( ~  g' z1 u
  909. ;extension=php_pdo_sqlite.dll
    5 W* f/ x9 M: J4 n6 f
  910. ;extension=php_pgsql.dll" H, P7 P4 S' l( C
  911. ;extension=php_shmop.dll
    $ j/ W; a, b- [7 E+ u

  912. * S! W) v4 b9 E2 P
  913. ; The MIBS data available in the PHP distribution must be installed. ( l! W# y/ b% }$ c. B- h
  914. ; See http://www.php.net/manual/en/snmp.installation.php , w3 c- h! q  m3 K6 U
  915. ;extension=php_snmp.dll* m4 x0 S& Y6 S
  916. , B2 }+ w; G3 z- R8 m6 z: D& a
  917. ;extension=php_soap.dll5 b# s. x4 s1 e# c4 g! G- I* ^
  918. ;extension=php_sockets.dll
    % t9 Y" e' X: u( r
  919. ;extension=php_sqlite3.dll
    # `5 q' \) W5 C0 O( l; h5 E/ [. ]* W
  920. ;extension=php_sybase_ct.dll
    - ?4 E' h6 G* r; u! T
  921. ;extension=php_tidy.dll: f: H$ {! c3 ^) j% g! ?6 o# c
  922. ;extension=php_xmlrpc.dll' X' o% `  f( g" x& E; F, Q" o
  923. ;extension=php_xsl.dll1 H3 o. m2 r1 ?* K0 B
  924. 7 `; L6 C8 O9 j4 _2 f
  925. ;;;;;;;;;;;;;;;;;;;7 N4 a- l2 u& s8 |0 [# P
  926. ; Module Settings ;. J1 a3 E  o8 f0 N4 B5 i
  927. ;;;;;;;;;;;;;;;;;;;/ ~! e, I, B0 O- V

  928. % P$ l: F! {8 |: u
  929. [CLI Server]
    / L; I# R! Y' c$ ^! n! u
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    1 [9 n9 b, T7 A: ~) S
  931. cli_server.color = On
    ( ?1 x5 x9 l" O9 O

  932. * k4 N% k& B: v: m
  933. [Date]- g* w7 [# Y" M
  934. ; Defines the default timezone used by the date functions
    " g$ i+ G1 f. s; i( N
  935. ; http://php.net/date.timezone
    6 f& R& a# g4 G8 w8 N3 H5 w
  936. date.timezone = PRC
    6 p- Z) X4 q& w" y. h) F

  937. ; U$ C' T6 C9 N4 f" m) T
  938. ; http://php.net/date.default-latitude
    & _1 z. L; t' j3 _; c
  939. ;date.default_latitude = 31.7667, P( ~. k/ @/ `3 t

  940. " `6 F. R. P; P& T  H
  941. ; http://php.net/date.default-longitude
    7 `" R5 _6 m' g* @. C- x; k4 W8 C
  942. ;date.default_longitude = 35.2333
    1 n. o# @! Q  w  q0 q! q

  943. / `! Y$ z" {- \9 a5 s1 J. O( i% w
  944. ; http://php.net/date.sunrise-zenith
    * B' c: }) q1 N2 ?' f  d) D8 r
  945. ;date.sunrise_zenith = 90.583333, e3 n  y2 \! f5 S9 L2 t, x
  946. 3 G  G  y# Q. e4 A
  947. ; http://php.net/date.sunset-zenith
    , i6 d# S4 ^8 H$ d7 F+ U7 k
  948. ;date.sunset_zenith = 90.583333
    % l7 y; E9 V) V* H8 L# N) V

  949. ( r! K+ {8 r* n4 c9 ]7 M, u! w
  950. [filter]
      }* `) h$ Y% |! c' l9 ?- b
  951. ; http://php.net/filter.default5 ?' `: d" i  a. D9 {+ @7 x
  952. ;filter.default = unsafe_raw4 ^/ j$ M5 J, I

  953. ) `& X# M* x% r6 ~) h6 p7 G
  954. ; http://php.net/filter.default-flags
    6 n# P3 k3 J- i# {& w! f5 p
  955. ;filter.default_flags =& p  `) g! c9 `6 I  [

  956. ' U* _  z$ ^, K0 x: I. e4 |
  957. [iconv]# Y' Y# {' e  A" a' M8 n3 ~$ Z' C4 @
  958. ; Use of this INI entry is deprecated, use global input_encoding instead." a1 L, }' |+ \
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    % Z% ]5 M5 ]7 w; X9 I: d3 O
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
      j. c" q3 M' n7 [: a
  961. ;iconv.input_encoding =! e$ J# @. t' y- q4 \. ^- G- h
  962. 6 B  _2 D/ L# K* q
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    3 L8 W, o4 }% Z2 A* K
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.7 e: j  e) K. A, p: \+ Y
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    9 ~0 J; P0 T  g( `0 C/ Z( h  X5 ~
  966. ;iconv.internal_encoding =
    3 f: @5 q" c' A. s: a

  967. $ M8 X; Y; v; K3 M- \
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    , d! N3 @7 N7 W
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    9 [5 P' o& p7 b3 `) h2 L8 [: u
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    8 \# F9 X( a! m+ U, M* l+ K! e
  971. ; To use an output encoding conversion, iconv's output handler must be set* Y9 v. c# e7 P( ^
  972. ; otherwise output encoding conversion cannot be performed.; n/ L" r" W1 |+ P0 i) F6 T9 ]
  973. ;iconv.output_encoding =5 n+ q7 |/ a9 M7 l+ I5 F/ {
  974. " B4 w9 n% d: H. Z
  975. [intl]
    & @  N( S  l* Q9 f& X
  976. ;intl.default_locale =" y- g. U; u2 m# `/ S: _
  977. ; This directive allows you to produce PHP errors when some error9 X( @4 t! e" X+ v7 O
  978. ; happens within intl functions. The value is the level of the error produced.
    ' w" m: q% r, @* q2 `* X5 w  B
  979. ; Default is 0, which does not produce any errors.& v9 f0 X7 R: ]. M
  980. ;intl.error_level = E_WARNING& C% J5 H7 i1 W) }) n) q
  981. ;intl.use_exceptions = 0* _! x. A% V) k6 B$ i

  982. 3 p4 F: }+ V! z/ i: x: s& x
  983. [sqlite3]
    : D, v: K: P1 g# m
  984. ;sqlite3.extension_dir =
    + Q; l- z( d+ J+ y: ^

  985. % ~1 l6 J$ t  ^* P! Y: t
  986. [Pcre]! c# o1 W! k3 ~
  987. ;PCRE library backtracking limit.4 ^4 A) p' p; P. ~
  988. ; http://php.net/pcre.backtrack-limit, Q8 q7 }: h5 m1 n( u
  989. ;pcre.backtrack_limit=100000
      ?$ {: ~; f. d. K1 Z- J& j2 ^+ ~
  990. & y& H) r1 b- D2 }$ c
  991. ;PCRE library recursion limit.
    * W6 f: Z" C6 q% }) z
  992. ;Please note that if you set this value to a high number you may consume all& N9 e! Q5 }/ y( ?7 }( P
  993. ;the available process stack and eventually crash PHP (due to reaching the
    : A  e$ a6 N$ E. ], W' O3 Q
  994. ;stack size limit imposed by the Operating System).
    6 a0 N0 e' _6 n% m* W* _, v
  995. ; http://php.net/pcre.recursion-limit) H; H3 D& n  o9 h) U/ i+ u
  996. ;pcre.recursion_limit=100000; Y5 ?1 Q3 t3 U$ U, j1 o* L3 A

  997. # M/ I& e2 L' ]
  998. [Pdo]
    2 W5 d" @6 T) c. a
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    ; I5 t8 n% h2 ~! F/ X8 L! E
  1000. ; http://php.net/pdo-odbc.connection-pooling
    + S% b5 q2 b, f- b1 ~
  1001. ;pdo_odbc.connection_pooling=strict
    & N+ X' ]) B* l4 C$ v0 p3 l4 B/ q) B

  1002. " s/ E7 R! U0 e* f% i! _
  1003. ;pdo_odbc.db2_instance_name: O4 e* b% m% Z0 F; P. k! E) p" ]+ p  A
  1004. % w# G1 X; W& Z0 l7 F
  1005. [Pdo_mysql]
    & Y' p1 w- I" T# }$ }- c
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    3 B+ w& I# @: P6 o
  1007. ; http://php.net/pdo_mysql.cache_size% t% Z: F$ ?$ L; ?- V
  1008. pdo_mysql.cache_size = 2000) V& g8 e% d) d7 n" }4 ]
  1009. " H1 Z7 g/ w8 e0 s% r; C" v
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in/ w0 N) U0 `* z
  1011. ; MySQL defaults.
    * Y9 h0 \! d9 N' {/ E
  1012. ; http://php.net/pdo_mysql.default-socket
      _' C+ b& Z7 Z' K1 n4 [2 L: U) R
  1013. pdo_mysql.default_socket=
    4 D/ Q% j2 @/ ]6 K+ B

  1014. ! [3 `- C* C- t3 a: K9 V
  1015. [Phar]+ G. A. G' A* f$ r
  1016. ; http://php.net/phar.readonly* K" f( K  C6 r: ^7 \7 M- T
  1017. ;phar.readonly = On
    " `; I( L) C( d, G9 q1 H1 m

  1018. ( _0 @& q" U. y' C! K* d
  1019. ; http://php.net/phar.require-hash
    2 y8 ^! @( [, I8 n# X0 \; s
  1020. ;phar.require_hash = On5 ~' G' D7 W& h+ |% U; N. y

  1021. # f. d5 Q) F; ^
  1022. ;phar.cache_list =
    ) u. H# }% Q& \: ^: c4 W) S
  1023. 6 t: ]6 Z9 f% C# K: z/ w
  1024. [mail function]1 r: c7 S6 ^( H
  1025. ; For Win32 only.
    , s* I# V& ~% h) O5 V. H, X; F( z
  1026. ; http://php.net/smtp
      E3 P& ~  _% u% {& {: C# Z6 d
  1027. SMTP = localhost% j2 ^: ?. O6 L" S
  1028. ; http://php.net/smtp-port
    7 Q4 v1 h( }1 x4 h
  1029. smtp_port = 25
    6 W) k4 v4 W+ m: j* n

  1030. 1 V, H0 t" J/ M
  1031. ; For Win32 only.) t7 y; o9 X* ^7 l) k
  1032. ; http://php.net/sendmail-from
    3 M. U( d6 @- B: Q% g! o/ ~# \) }3 c" Y  c
  1033. ;sendmail_from = me@example.com
    , i) t+ W) ]: k  F8 K( [* V3 W; q( n
  1034. ; f+ ~& E- F$ s
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").& o  Z* M: [' Z
  1036. ; http://php.net/sendmail-path5 e2 k2 G7 _: S- F& W& C" ?
  1037. sendmail_path = /usr/sbin/sendmail -t -i* v) n! f1 S1 A( x* |. V) _
  1038. ' m# m# p+ y% P# b8 d% d: U' A
  1039. ; Force the addition of the specified parameters to be passed as extra parameters7 X# [( K& R9 g
  1040. ; to the sendmail binary. These parameters will always replace the value of
    1 p- ~. j' C1 @9 @! |7 I( {& N! K
  1041. ; the 5th parameter to mail().$ d2 _# J$ [: }/ O* q9 W
  1042. ;mail.force_extra_parameters =# _' J. j$ d* D9 x9 x; G# ~6 ~

  1043. " h! D$ S5 a' L/ R- u
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
    9 l. m- i4 ^; i" {% ?
  1045. mail.add_x_header = On' ~1 F7 K9 U; H) U' X: G" o4 m! O+ N
  1046. ( I/ Q; a+ O, Y2 c. a
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    " U' ~/ F" ~6 h% X' J
  1048. ; the full path of the script, line number, To address and headers.
    " H. l# y7 v. e2 |
  1049. ;mail.log =, x5 Z9 D. ]" E; V- q" X- s4 \) {( a
  1050. ; Log mail to syslog (Event Log on Windows).
    ; m0 y* d- P5 _
  1051. ;mail.log = syslog
    ! b  C6 j& ^7 o/ g

  1052. 2 b/ ^4 ]  H( z
  1053. [SQL]
    & t3 f5 a0 U" ?* p: Z9 H4 X  T
  1054. ; http://php.net/sql.safe-mode
    , e& N7 M  V# v* {
  1055. sql.safe_mode = Off# U0 E0 B, ]! {  ]$ ~

  1056. $ m! n  G) y/ k+ W
  1057. [ODBC]1 q+ K3 f* [" [, L
  1058. ; http://php.net/odbc.default-db! p4 o6 I7 ]) G  `" A0 A( B. U
  1059. ;odbc.default_db    =  Not yet implemented
    9 e8 O3 f* H& z! q6 V
  1060. 7 g$ O7 `/ v1 M! N+ z
  1061. ; http://php.net/odbc.default-user
    . M8 o% d$ I! B1 M( l! z
  1062. ;odbc.default_user  =  Not yet implemented
    " h3 D/ x  `0 v
  1063.   o. G& s( |3 w( v+ y) |5 e
  1064. ; http://php.net/odbc.default-pw
    * `  Y. |: f# W$ o# \: x, g
  1065. ;odbc.default_pw    =  Not yet implemented  c/ \: V! W9 K5 n; U3 h2 |  H
  1066. ! R6 c4 P8 D2 O) }1 Z5 w
  1067. ; Controls the ODBC cursor model.& v; ~: }' w* L  _( }
  1068. ; Default: SQL_CURSOR_STATIC (default).( n+ M2 J6 T8 b) s3 Z0 j2 X
  1069. ;odbc.default_cursortype/ G8 Z2 L+ a6 q- G8 N& n

  1070. * g0 P1 U) H. F5 ]
  1071. ; Allow or prevent persistent links.
    $ G/ @6 Q: a  G$ j) c
  1072. ; http://php.net/odbc.allow-persistent
      b) O0 a. I3 D8 L
  1073. odbc.allow_persistent = On
    ) s( z( K2 a( A3 o' k/ q. S6 ~

  1074. ) {' v- s9 K' j) P% G& V5 K
  1075. ; Check that a connection is still valid before reuse.
    % M/ v* x  d6 H
  1076. ; http://php.net/odbc.check-persistent
    # k( d3 d# A: T$ a4 Q; C7 s
  1077. odbc.check_persistent = On3 e) T: H% c  ~: q0 t& P
  1078. & W/ A+ \! Y) \" C
  1079. ; Maximum number of persistent links.  -1 means no limit.9 j& r# s* L6 y2 ~
  1080. ; http://php.net/odbc.max-persistent7 ^8 v- ^) }9 p
  1081. odbc.max_persistent = -1
    + U  C/ F/ ?! I* a; y0 ?5 W
  1082. 2 J0 R0 u/ w2 }
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.$ g1 ?  X1 e0 n# ]. e' ~+ m5 j
  1084. ; http://php.net/odbc.max-links
    / E1 k* X1 c" R$ ], O; Y1 f
  1085. odbc.max_links = -1
    8 |4 D; v* N& |1 P4 H; ~

  1086. * a" _6 ?: E8 u& |) V
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    / j7 E; K) N/ ^' O& O
  1088. ; passthru.
    8 c! M: _# s4 j3 ?5 j4 L
  1089. ; http://php.net/odbc.defaultlrl: T% R" c; m5 t3 ^' X0 ?2 O
  1090. odbc.defaultlrl = 40964 Z  i8 ]7 f( N8 M" p1 M! \. k+ l
  1091. * O  w% h# e) u  o
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    , Y5 z* k2 Y  j  o, ^0 L7 ?" k& I; I2 ^
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    9 F3 s/ D0 X' [
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode
    8 [' J6 g; v( O% `3 f  {& U: D5 F
  1095. ; http://php.net/odbc.defaultbinmode
    / K$ e" y; Q% m6 `0 T
  1096. odbc.defaultbinmode = 1) m$ I, H; p2 I3 ]3 s

  1097. 0 l  B8 S/ N4 `; p% F1 Q! T/ h, \2 q% s
  1098. ;birdstep.max_links = -1% S% U6 P* r7 s$ {
  1099. 4 Q& D- A) t. F9 @8 t
  1100. [Interbase]
    ; `, `1 r4 E. }! j  `1 u; ]
  1101. ; Allow or prevent persistent links.3 _- x8 |8 V! d- l
  1102. ibase.allow_persistent = 1
    ! J% o. s$ f/ f7 @$ [, p( b- ]0 r
  1103. $ F& u, o( q/ l& o
  1104. ; Maximum number of persistent links.  -1 means no limit.; w) E% P6 ?$ j
  1105. ibase.max_persistent = -19 p3 |! l! y. F  Z1 K
  1106. 7 [) y9 H* x- Y5 r) B
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.& s% u, `- O, S. o  f( G6 A
  1108. ibase.max_links = -1
    " a7 X! D$ u: `

  1109. * u- J& q5 B) Q
  1110. ; Default database name for ibase_connect().
    # Y. B/ Q4 I5 m8 {# m" t6 w
  1111. ;ibase.default_db =  \! f" H' Y: B  p
  1112. / B' }) G! l0 o" ?
  1113. ; Default username for ibase_connect().$ t8 S, B- ]! T% `- o
  1114. ;ibase.default_user =
    ) Z3 `; ?, ]2 ^

  1115. 2 _3 N' J0 u2 d+ V8 p- ]
  1116. ; Default password for ibase_connect().
    # q0 x# i  r0 u" B3 i- b
  1117. ;ibase.default_password =
    2 F8 M9 Q+ R' D* u

  1118. 9 u# J3 g0 H" G+ Z& p1 [
  1119. ; Default charset for ibase_connect().
    1 i! o' |: Q6 H. c1 x/ g0 w
  1120. ;ibase.default_charset =3 t! j: u( L$ Y) t9 g. Z, [6 U

  1121. 6 i4 q) ]) J4 d7 m8 H
  1122. ; Default timestamp format.
    ( l# M. O# p- L6 Y* ^7 U3 Z+ _
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
      r8 L0 y$ d( |7 B; r! Y0 w

  1124. . K8 ^; e- u& `
  1125. ; Default date format.
    * F5 e& g0 \  {# {4 @
  1126. ibase.dateformat = "%Y-%m-%d"
    $ E9 n/ N" k- p0 i; R  y0 V
  1127. # n7 h$ v, X  }1 h$ C& l3 I8 E
  1128. ; Default time format.! [' h8 e! o7 ]" w5 ~+ O
  1129. ibase.timeformat = "%H:%M:%S"
    / V) W1 U5 n2 x* s0 O

  1130. : A" E- \7 Q# @, r$ N& [/ d# C
  1131. [MySQL]
    ( c: H) [3 d  @8 d+ E6 H
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    & E* ]: f; O; J; w# B
  1133. ; http://php.net/mysql.allow_local_infile
    : Z6 b, f9 T" a5 l+ H
  1134. mysql.allow_local_infile = On
    - q& S' _7 m# G& A

  1135. " W% E- W. q/ p  o
  1136. ; Allow or prevent persistent links.# v1 y6 f- e, C( A% @5 {" z
  1137. ; http://php.net/mysql.allow-persistent: ~2 M5 S3 o. k6 j  A. q3 u
  1138. mysql.allow_persistent = On
    1 \% @# V) F0 \" Y- B+ F% _
  1139. * _. Q, H7 v1 p# o
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    . F, v7 v' m7 ~- s
  1141. ; http://php.net/mysql.cache_size* g( w: i* X- G. ~
  1142. mysql.cache_size = 2000
    2 @( U7 b+ L0 `6 Z; g
  1143. + Y6 ]' U4 m3 ~5 {2 R9 L
  1144. ; Maximum number of persistent links.  -1 means no limit.
    0 e" X' P; r$ R& N- H
  1145. ; http://php.net/mysql.max-persistent
    4 G5 w& \; v! q6 X3 m/ g6 n& w
  1146. mysql.max_persistent = -1
    0 P: N; t5 Q/ ]  B6 F- X( N

  1147. & y2 p* b; K# c' D3 n
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ; s+ \8 w" s; l$ n- ~! y. J7 f
  1149. ; http://php.net/mysql.max-links
    , f" l6 q+ r9 q4 i9 b: S8 Y
  1150. mysql.max_links = -1- t3 D1 T/ N. X( @7 S' Q1 l2 e
  1151. ( @9 E) o9 P0 A6 c
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use  ~& P; F1 F! U% F4 F8 l" o
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the/ b, s4 c! F1 w: {0 Y7 W
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    ' @; g( i' b; R6 }8 U5 b. X
  1155. ; at MYSQL_PORT., p, S: `& c: K2 ~' C
  1156. ; http://php.net/mysql.default-port
      h, ?; F' N& E* ?% d1 j4 z9 ^
  1157. mysql.default_port =
    - _9 x! {. w0 [% a' [  N
  1158. . s. L. @& I3 U. q
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    9 S" D, L1 A7 }$ F& }0 j. x
  1160. ; MySQL defaults.
    0 N" c' a  M, i: p! t- G6 V
  1161. ; http://php.net/mysql.default-socket# ]- R& i1 ~+ G; X" R7 C! F- O
  1162. mysql.default_socket =
      Q2 `( K- d! k: t: g

  1163. : N' `9 N- o! P: Q- \# m
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    + {2 D/ T$ |: F
  1165. ; http://php.net/mysql.default-host! t! w9 K% O0 P* G
  1166. mysql.default_host =
    ) I# f/ p/ D, v% Y7 T4 e. y

  1167. 0 h$ H, W9 V1 P* R8 e* ]  n5 f
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).
    2 ]8 [7 q+ k8 |. k
  1169. ; http://php.net/mysql.default-user3 y' q; u  f/ X% R
  1170. mysql.default_user =
    & U/ |$ g. ]$ }# Z7 R
  1171. / R* d. n! Q% z2 {) Q
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).) N/ I( u3 H4 ]3 N, ]
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.! ]$ U' g$ N+ O: ^9 a
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    ( q- ^5 L) m4 u( @
  1175. ; and reveal this password!  And of course, any users with read access to this+ V+ r+ `# K5 w( A4 Q. A. M
  1176. ; file will be able to reveal the password as well.
    . f) ^% W2 A8 Q7 Z1 r6 B
  1177. ; http://php.net/mysql.default-password0 q7 k0 G: z/ W+ ]8 v2 {% l( `
  1178. mysql.default_password =$ t" D& \7 w; W% s8 L9 C& r

  1179. , o0 I8 u" n2 X7 q) I( P
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    ) X6 @9 A) H  v# ^1 S, T) L+ B
  1181. ; http://php.net/mysql.connect-timeout
    : r8 v: X$ V* w" @# V
  1182. mysql.connect_timeout = 60& x6 w! n4 T9 o6 R& h

  1183. ' q" v" |' m/ R$ p6 l
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and4 x8 ~. D% ?! O& t8 b) Y
  1185. ; SQL-Errors will be displayed.
    ; s% Y7 R/ ?& a4 P) j9 ~' o6 l
  1186. ; http://php.net/mysql.trace-mode' ]4 [; @7 @; G( S
  1187. mysql.trace_mode = Off1 d4 t5 \' l( Y- }% m( e7 S) }  f
  1188. : {, m4 `6 J3 M  V  y* `
  1189. [MySQLi]
    4 }5 a+ W1 h: M

  1190. 3 D0 S) ^( X* n6 ^- g$ j6 H6 c  D
  1191. ; Maximum number of persistent links.  -1 means no limit.6 h" S( e- ?  ]( e
  1192. ; http://php.net/mysqli.max-persistent
    % M: h# a' y/ i, i  f& U. r
  1193. mysqli.max_persistent = -1! L0 y! Q0 P' g0 x) L  m9 ]
  1194. 5 w0 X. x! M# U5 m2 O7 p5 S
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    ) z; [8 K2 a/ g+ a! f/ G
  1196. ; http://php.net/mysqli.allow_local_infile
    7 u$ {5 D# j8 S: @
  1197. ;mysqli.allow_local_infile = On
    " y8 u. m% }; ~1 }/ C7 p
  1198. 8 Y: H) n8 b) S. I
  1199. ; Allow or prevent persistent links.- m" O" n$ n, R" p6 U9 U3 _. f
  1200. ; http://php.net/mysqli.allow-persistent
    ! W- c5 l: W! B; N; m
  1201. mysqli.allow_persistent = On
    ; W( E/ T- G) y+ O& _9 q9 h
  1202. 1 m# D- \* i$ m- R+ U) }7 A
  1203. ; Maximum number of links.  -1 means no limit.. l% _# K& g8 ?/ z2 K7 o
  1204. ; http://php.net/mysqli.max-links
    2 b3 t- r, u# q- r
  1205. mysqli.max_links = -17 ^; U' `! o' l# Z6 D
  1206. ) k% Q+ e' G3 N  t: N6 V  [* n
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache( f' ~2 k% M3 p( `) H$ C& U) G
  1208. ; http://php.net/mysqli.cache_size
    - |3 \5 }% w* f2 Q, G( p9 L7 I  m  n5 B
  1209. mysqli.cache_size = 2000
    * g8 ^4 K& q+ x1 C! [

  1210. $ l& x' A+ p# B- l" C+ I
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use
    # s, B& a! P2 Y& C* m8 Z1 F
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the' ?8 {0 p  N0 u+ o6 i% i6 S
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look. s# L! U4 p8 x5 s, I& q
  1214. ; at MYSQL_PORT.
    4 \. ^2 E! ^+ t$ y% P6 j& j# ~# h
  1215. ; http://php.net/mysqli.default-port
    ; u# Z/ Q8 [1 D+ }: h  T$ m/ l
  1216. mysqli.default_port = 3306
    ) ^# g/ \. a! H* N( Q, c8 o
  1217. ( N/ b5 f% R5 @6 D$ ]+ Q, ?% Z
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in$ ^& e2 h* n. Q, c
  1219. ; MySQL defaults.
    2 o8 g) r  S, W- F; m" f* h
  1220. ; http://php.net/mysqli.default-socket
    ' n  }! P7 O+ }- C( x1 P: j# o
  1221. mysqli.default_socket =
    * U; N: E$ K0 ]' r
  1222. / L' n2 B# f4 _( P. @
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).
    % e$ e3 O, B9 m6 b+ k
  1224. ; http://php.net/mysqli.default-host
    : u  y) y' f- N8 [+ D4 k) g3 y5 w% @% G
  1225. mysqli.default_host =( p5 V! c5 L# ~1 ^- A

  1226. 2 w: {! a3 \3 m5 e
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).; p" k8 D9 I3 h
  1228. ; http://php.net/mysqli.default-user% ]1 ~$ l7 S2 n4 S
  1229. mysqli.default_user =# L: j6 L0 ?- i: P
  1230. & ^- g3 }) X( K' D9 W# D. r4 A" n
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).& [& j8 l- t& l9 z' J) Y" h
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.
    + @$ _3 n4 m% p0 k
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")/ E4 o( m" q' n0 ?) O6 f
  1234. ; and reveal this password!  And of course, any users with read access to this
    2 X, H4 r9 p" L5 b. ?) Y
  1235. ; file will be able to reveal the password as well." c6 S" J: i; I9 m5 Z
  1236. ; http://php.net/mysqli.default-pw
    3 N5 t; Z+ J4 d8 T: j1 @
  1237. mysqli.default_pw =' n! `7 i; [* L9 C" |# @

  1238. # i" t8 ^$ B: }
  1239. ; Allow or prevent reconnect/ g6 V2 R7 d6 N3 N
  1240. mysqli.reconnect = Off
    $ ~: A- [. s  K1 [) P

  1241. 5 L: |8 p+ B8 h
  1242. [mysqlnd]1 Q8 b0 r" X! s9 B2 r+ U2 J9 n
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be* u2 B- M# ?( W' I/ f
  1244. ; used to tune and monitor MySQL operations.- D; d3 O# A/ [# U' b" ]
  1245. ; http://php.net/mysqlnd.collect_statistics
    9 J$ G  v2 a- U2 O4 Y) U
  1246. mysqlnd.collect_statistics = On
    * o( V% V: @- u% |& S

  1247. 0 c2 s( w) K3 Y/ g4 f6 C, Q3 W3 J
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be# s2 y$ X* r! D0 h& {9 d7 F' V9 d1 z
  1249. ; used to tune and monitor MySQL operations.# G0 P( M3 J9 l5 R" Y
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    : U. S1 Q7 o" Q8 j9 P
  1251. mysqlnd.collect_memory_statistics = Off
    + Q5 d; n/ e/ A) q5 a' B7 m

  1252. ' Z  v! b. b: f# {, B' \' [7 g4 u
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    0 T5 t2 G7 Q  `" c/ I  N
  1254. ; file.
    $ D/ Z" g1 u  p: q9 y9 b
  1255. ; http://php.net/mysqlnd.debug5 J) s3 j# v, g
  1256. ;mysqlnd.debug =
    ( N& ?, o5 B8 x. [" m

  1257. ) Q, [0 {6 e) k  Q3 ]$ c& d; H
  1258. ; Defines which queries will be logged.8 h- V. @+ x. \" K. y
  1259. ; http://php.net/mysqlnd.log_mask8 N' w# M9 |) R2 V3 X  G, M
  1260. ;mysqlnd.log_mask = 0# P6 ]$ r$ u/ h4 j9 \6 I
  1261. % p' j+ ~( |' B( n
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    ) R' N  c: r( x/ W8 o& u1 ^
  1263. ; http://php.net/mysqlnd.mempool_default_size7 X; M! Z, Q5 a$ h: q
  1264. ;mysqlnd.mempool_default_size = 160001 t/ q7 F8 F4 X- {

  1265. 9 |' v0 [6 i! `" E0 h* T
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    ' y  ?' @8 B/ f* o
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size  N: V' {. g: @) q% @
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
      ]3 M: a# @$ s4 T

  1269. 5 z9 L! y3 i( z4 c# z2 A+ o# V" u
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in5 J0 U( d; W& U0 X, Q$ n( K3 K: v
  1271. ; bytes./ x, _6 r, T( z1 O! |! P& K/ A" l
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    ( `+ r+ n4 o7 `. ]5 `
  1273. ;mysqlnd.net_read_buffer_size = 327686 h, ^) T* H0 o' j

  1274. 7 `' b( P7 [% Y5 }) p1 E- m
  1275. ; Timeout for network requests in seconds., ~0 ?9 e9 @3 t$ R9 z4 k* Y$ \' {/ H
  1276. ; http://php.net/mysqlnd.net_read_timeout9 M4 h0 e9 r" k7 I
  1277. ;mysqlnd.net_read_timeout = 315360000 C) A4 _! b# @# _& N

  1278. # Q3 ?; F% x4 Z: ~
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    # m) p  I! f3 J& w( W4 Z5 g
  1280. ; key.
    % T7 W* a" m# M
  1281. ; http://php.net/mysqlnd.sha256_server_public_key7 w" C# q, T, t7 i
  1282. ;mysqlnd.sha256_server_public_key =! G7 e" W' ~$ }

  1283. / H. `) A% i1 [6 E
  1284. [OCI8]4 E, B) B% r# x& H4 {/ R' s0 h

  1285. , L- J7 x) m+ a( O2 b# q9 @
  1286. ; Connection: Enables privileged connections using external- \) o6 I  }6 ~, O. `% q
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    ; B# \$ D  M7 ~
  1288. ; http://php.net/oci8.privileged-connect
    8 k* G9 o  o0 i" B/ a# j# u3 l
  1289. ;oci8.privileged_connect = Off
      f$ Q' j6 n! ~% L' l
  1290. 0 b  k) I0 g' E- f( E( k6 ]( B
  1291. ; Connection: The maximum number of persistent OCI8 connections per0 u# F5 U4 N% w) V  c
  1292. ; process. Using -1 means no limit.  ^6 U1 D. S, E# Y, Z" M
  1293. ; http://php.net/oci8.max-persistent
    1 m8 \" n8 t7 ?% k/ S# r, g
  1294. ;oci8.max_persistent = -1
    ) y6 U8 e& K; G8 O) d

  1295. 0 n' Y7 X$ P5 E: Q1 r: ~
  1296. ; Connection: The maximum number of seconds a process is allowed to
    2 r- v9 N2 J8 d0 q' N
  1297. ; maintain an idle persistent connection. Using -1 means idle" V6 y: P1 v- y7 J2 T  N: |7 x* g' _
  1298. ; persistent connections will be maintained forever.) l$ @: S. K7 i  Z5 b
  1299. ; http://php.net/oci8.persistent-timeout
    # Z0 s+ x- L# W" _
  1300. ;oci8.persistent_timeout = -1
    7 a; r' l7 q3 d2 {9 @
  1301. : G% ]- E3 x. b7 u. N6 [% N
  1302. ; Connection: The number of seconds that must pass before issuing a
    ; P5 |  V% w' m- z9 t  U$ }
  1303. ; ping during oci_pconnect() to check the connection validity. When2 P& T% V+ z5 y( k7 v7 V/ o
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables" S0 E, D. ]9 \- T4 H# @
  1305. ; pings completely.
    8 c! u1 [) V* [. l
  1306. ; http://php.net/oci8.ping-interval3 e$ e+ h# d, }, Y5 J
  1307. ;oci8.ping_interval = 60
    ) N* A: k  r; a

  1308. 2 W' {% V- Z+ j$ ~9 \
  1309. ; Connection: Set this to a user chosen connection class to be used/ F+ @' o7 p" ~& t7 A5 O6 P
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    " ~; }, D4 A/ K1 {5 A7 M: \/ O: _
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to/ z% B6 D$ s; }2 X( c$ D& C/ R
  1312. ; the same string for all web servers running the same application,( l, ?" X) u" w" E3 V* T$ }+ W
  1313. ; the database pool must be configured, and the connection string must; H" t9 ~7 I( z4 q( k
  1314. ; specify to use a pooled server.0 M  R* k& K' ~: O1 P5 J
  1315. ;oci8.connection_class =
    # P, ]3 @6 ^+ O1 k: i* V( O. Z4 ]

  1316. $ R" K! v, m  T- i; b' A
  1317. ; High Availability: Using On lets PHP receive Fast Application0 ]* U2 V- N6 z$ G9 h
  1318. ; Notification (FAN) events generated when a database node fails. The8 Z" L9 E$ [. v; a8 j
  1319. ; database must also be configured to post FAN events.
    % h6 d! ], z7 O* \% Y# C3 I
  1320. ;oci8.events = Off, h( \9 k* `& \; G9 Q+ N

  1321. - t; a! j' s: ~6 s  i
  1322. ; Tuning: This option enables statement caching, and specifies how2 e! V8 W! ^9 ^) ~  Z
  1323. ; many statements to cache. Using 0 disables statement caching.
    : M! v! {& w: O
  1324. ; http://php.net/oci8.statement-cache-size
    ' P. _' B  v3 q# i* h
  1325. ;oci8.statement_cache_size = 20
    & F) a3 U/ D7 {* E" W* R4 R1 z
  1326.   W' `. `/ I, O. S- Y
  1327. ; Tuning: Enables statement prefetching and sets the default number of5 B1 n) s; a8 o2 d8 k$ b" Y% g
  1328. ; rows that will be fetched automatically after statement execution.7 {7 F' B! J1 ]
  1329. ; http://php.net/oci8.default-prefetch
    7 D! K& T  e& O- M; m4 h  ?
  1330. ;oci8.default_prefetch = 100
    4 s6 V( d" r& ^. ~8 X9 c

  1331. * ^, a: D3 N+ z; \: e3 _# }
  1332. ; Compatibility. Using On means oci_close() will not close5 S4 d' [. f# Q# Q1 F
  1333. ; oci_connect() and oci_new_connect() connections.# M: l8 L  L5 P. C7 Z( m
  1334. ; http://php.net/oci8.old-oci-close-semantics7 B" h9 j8 n  R" `, K: p
  1335. ;oci8.old_oci_close_semantics = Off  o  W" {& o& v5 a. }5 q0 }

  1336. ' E4 }  k; y2 _7 V8 m
  1337. [PostgreSQL]6 ~* _' M. Q1 o/ [- K6 v
  1338. ; Allow or prevent persistent links.
    6 W/ S" \) S) v/ v& o8 q* T0 I
  1339. ; http://php.net/pgsql.allow-persistent
    : P' `% {) X6 \
  1340. pgsql.allow_persistent = On, c% [/ \- t5 D$ R+ [

  1341. : m8 D: D* ~5 }( l
  1342. ; Detect broken persistent links always with pg_pconnect().
    & A9 n) n. G" y3 Q# f
  1343. ; Auto reset feature requires a little overheads.
    6 s; T: ]# M$ l) E9 n- M
  1344. ; http://php.net/pgsql.auto-reset-persistent
    6 N4 C; O" g3 f  E' A
  1345. pgsql.auto_reset_persistent = Off
    / g0 ?8 |$ T4 L$ ?, j
  1346. 2 P4 V% x  B, s3 G4 |* m4 `, D
  1347. ; Maximum number of persistent links.  -1 means no limit.
    . y9 ~- Y* [8 \7 g
  1348. ; http://php.net/pgsql.max-persistent* J' w4 [; {$ Y1 w! y
  1349. pgsql.max_persistent = -12 M* S0 v+ J" f  \. _+ P

  1350. : u  b  Q# I8 L7 ]# }: ]1 C
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.9 T6 g: ^/ a! ^  }1 C7 p( [
  1352. ; http://php.net/pgsql.max-links2 [& P# f  K! R# U3 P
  1353. pgsql.max_links = -1
    % m2 E/ x4 w1 c/ h  E4 D' b+ ~
  1354. ; K- b( Z+ K3 v0 l' T: \
  1355. ; Ignore PostgreSQL backends Notice message or not.% C. r% q/ G) i% \4 K, Y
  1356. ; Notice message logging require a little overheads.! ?$ |7 W& U3 m! l/ N
  1357. ; http://php.net/pgsql.ignore-notice
    " m1 b0 W4 r3 G: o4 V
  1358. pgsql.ignore_notice = 0
    ( d1 w0 O$ O8 p+ e3 l
  1359. ( ~+ S( f( h6 B0 h7 ^, s
  1360. ; Log PostgreSQL backends Notice message or not." L( _  U3 H5 w$ l; ^% ^- z
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.' _3 x2 F5 x  K; m' p& \
  1362. ; http://php.net/pgsql.log-notice& B8 }! G9 l$ f+ V7 ]
  1363. pgsql.log_notice = 0! Z1 h- R7 m2 R) W

  1364. 3 d3 s" d8 F: |' N# q" W  K
  1365. [Sybase-CT]' g1 r. C6 }0 S! W0 N
  1366. ; Allow or prevent persistent links.
      C$ Q3 t1 f/ B1 n2 B8 k$ Z% V9 q; q
  1367. ; http://php.net/sybct.allow-persistent
    . k# z# i$ e% X3 O/ M! G5 h
  1368. sybct.allow_persistent = On
    + w0 o/ r, U& i

  1369. 8 i& J  q4 I+ H5 V# `4 B
  1370. ; Maximum number of persistent links.  -1 means no limit.; M3 W: [! z0 _3 y* @
  1371. ; http://php.net/sybct.max-persistent# c7 w1 [7 \5 \( O  O
  1372. sybct.max_persistent = -12 c& Y! w1 ]1 o& t! P
  1373. ! W/ i  m6 V' h1 \
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.8 F5 z; F$ Q3 H9 b
  1375. ; http://php.net/sybct.max-links% D, ], e  |! k' @/ Q' Q! z1 t- _& [- H6 d
  1376. sybct.max_links = -1. R/ P! Z0 L% Y6 G+ `

  1377. " d/ P6 X  i  }4 G, U. A5 @' S
  1378. ; Minimum server message severity to display.. _, Z9 f  s8 ]8 X- w9 Q" Q' w
  1379. ; http://php.net/sybct.min-server-severity
    + l1 g7 A, F2 _3 M3 r
  1380. sybct.min_server_severity = 10+ ~; M; U2 Y1 M, m. r
  1381. # S, b' p: s/ Y4 D5 g( R* ~
  1382. ; Minimum client message severity to display.
    . D5 Q2 T; u, `, Y& `
  1383. ; http://php.net/sybct.min-client-severity( B8 v% x6 D; V- e
  1384. sybct.min_client_severity = 107 t& _5 ~" \& u8 l7 p% G" `

  1385. ! g1 j. K4 u' \, j& Y8 q
  1386. ; Set per-context timeout
    % D  H1 X  I4 H# A* T- x* L
  1387. ; http://php.net/sybct.timeout# t- Y9 c. E0 h8 J& w$ E% ~1 S
  1388. ;sybct.timeout=0 a7 D  D1 G" Z9 q
  1389. ' z- C  Y, b8 n! l( i+ t8 I
  1390. ;sybct.packet_size
      v- U9 y8 O- o+ s# B
  1391. . C( R/ n$ `  g2 `
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.; Q+ d6 H+ d1 M4 ^0 F& g, L
  1393. ; Default: one minute. s9 G$ g% _0 z+ u9 w0 h7 M. s
  1394. ;sybct.login_timeout=
    8 ~; E& @) p" e5 ?2 J0 S( |
  1395. * b4 s: a. x9 T5 u1 E
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    - ^+ \& ]& V0 z$ x5 k
  1397. ; Default: none! [7 A  @; K9 R# W
  1398. ;sybct.hostname=) s9 v1 N3 A" ?3 _5 I2 C
  1399. ( a7 U( A# ?0 k( [5 z& i' f
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever"." }" B- W/ j% F& v+ L' S
  1401. ; Default: 06 A: \3 I6 V$ r# }( ^* g
  1402. ;sybct.deadlock_retry_count=. ]* m3 _, R% O$ g# a

  1403. ) @: Y( b% d" H. N2 E
  1404. [bcmath]
    * j0 U( d3 m5 t) S+ \
  1405. ; Number of decimal digits for all bcmath functions.) q) ?/ y- t" N; n
  1406. ; http://php.net/bcmath.scale( @" k# p) m0 j$ P9 R
  1407. bcmath.scale = 0  p2 _4 `4 S% C
  1408. / f# c) M. C' s& H1 {/ x8 z
  1409. [browscap]
    + r) U, B& p+ x
  1410. ; http://php.net/browscap; t# w, N$ X% L& c6 y& O
  1411. ;browscap = extra/browscap.ini+ q$ S7 b: c! j$ ^8 Z

  1412. 6 F2 W# X5 R: I4 K; P9 j1 s) P( H
  1413. [Session]/ M9 P" C; w. n0 i0 e: x$ O5 S! |
  1414. ; Handler used to store/retrieve data.! p$ g9 r0 z5 w' D1 ?
  1415. ; http://php.net/session.save-handler: T1 C8 x+ O$ f* N- p! P
  1416. session.save_handler = files+ ^+ \  _) F' f5 v: ]/ k) J

  1417. ! X% l1 N! I$ r3 S+ }
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    : p6 _1 n8 P( I1 ]/ c$ `
  1419. ; where data files are stored. Note: Windows users have to change this/ ^! i, u6 t& i# K1 |8 E
  1420. ; variable in order to use PHP's session functions.
    , L' ]! G+ {/ t" Z9 x. M
  1421. ;" T4 f& m2 Q& A1 h) p% J
  1422. ; The path can be defined as:# u9 h5 a; u/ g/ D# ?; m
  1423. ;
    % |) [# p; @1 m
  1424. ;     session.save_path = "N;/path") Q0 a  W" S( L4 i
  1425. ;7 C. S! F7 y4 N" ]4 Q! y( Z; b
  1426. ; where N is an integer.  Instead of storing all the session files in: V# u7 q/ e5 J3 G* [; d, x/ T1 R
  1427. ; /path, what this will do is use subdirectories N-levels deep, and
    3 Q. k) {. c1 f! p& R8 d0 G: v( Y
  1428. ; store the session data in those directories.  This is useful if
    8 N0 ]1 ^% v  t( B! Q
  1429. ; your OS has problems with many files in one directory, and is
    " |! {4 c' h, F: F6 F
  1430. ; a more efficient layout for servers that handle many sessions.
    6 Y8 X* v6 P6 b
  1431. ;( U0 O' Q% R1 S+ ^  N. b3 I7 k: E
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    + E3 o: f8 p& s. j
  1433. ;         You can use the script in the ext/session dir for that purpose.1 y4 |+ o+ C: |
  1434. ; NOTE 2: See the section on garbage collection below if you choose to
    ( P1 Q  J) \# o: K; q3 a1 _
  1435. ;         use subdirectories for session storage0 S2 L+ U& s8 v3 h9 N; t, v8 C
  1436. ;5 F# I& a0 P5 w
  1437. ; The file storage module creates files using mode 600 by default.
    ' I. H0 N9 B( t* ^
  1438. ; You can change that by using
    , P( ^, w( ]' o6 `& y% a; R1 l
  1439. ;
    $ @; G0 b- T2 C4 I' @2 W7 h
  1440. ;     session.save_path = "N;MODE;/path"
    * i! b" D6 g7 U% Q3 |1 Y
  1441. ;0 D5 ~) I8 r, h
  1442. ; where MODE is the octal representation of the mode. Note that this
    0 v3 V$ `% d6 ]$ ]
  1443. ; does not overwrite the process's umask.
    6 o7 N, N; Q3 ^8 ]0 J3 z+ _* f
  1444. ; http://php.net/session.save-path
    1 @* j( L4 c$ W) b2 o
  1445. ;session.save_path = "/tmp"+ H+ X9 n+ ^: {! M

  1446. ! }. j0 N, j, ~! W% P& X: E7 R
  1447. ; Whether to use strict session mode.
    : d9 m0 d9 m3 A5 k) U
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    $ a( h! i: [5 W- t1 J
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects4 u$ l# H& v* P$ r# o
  1450. ; applications from session fixation via session adoption vulnerability. It is( L# I9 ^+ h$ V, a5 M
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.$ ^$ T1 y. x) T9 T
  1452. ; https://wiki.php.net/rfc/strict_sessions
    , r7 h* ]6 L& N0 [- v4 f2 j& [
  1453. session.use_strict_mode = 0
    1 m: v# I2 O, {
  1454. 4 D9 B7 q5 s2 Q1 @5 f
  1455. ; Whether to use cookies.
    + N; l* [7 b) T& R" g. d0 ^$ e
  1456. ; http://php.net/session.use-cookies
    ' M" W' F& d- W8 w& W
  1457. session.use_cookies = 18 F' m9 t- [- E$ L, A9 O+ b# A

  1458. $ ^: N- _4 ~7 @' B) N8 T
  1459. ; http://php.net/session.cookie-secure3 U* j8 d* G8 o% v/ ~3 V! a
  1460. ;session.cookie_secure =
    * t1 j% g. [6 A7 w# G& d" g
  1461. 3 t  h8 r6 Y. ]* `* |' a
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining" g: c/ Q7 M7 j! r7 b1 P* \
  1463. ; the session id. We encourage this operation as it's very helpful in combating
    . [4 k$ i/ N) z% m
  1464. ; session hijacking when not specifying and managing your own session id. It is1 j, W/ y/ v+ Q& G4 G; W! I/ [
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.4 Q' J- \2 }  _, V! g0 l1 h! T
  1466. ; http://php.net/session.use-only-cookies
    / ~' @; \6 d- X+ D- o2 S' _. x
  1467. session.use_only_cookies = 16 O7 J/ `, U% o7 G4 m0 F; `# h

  1468. & _: ~& N& n+ P+ N4 U# b
  1469. ; Name of the session (used as cookie name).2 l/ f' f) d! b6 K. ]
  1470. ; http://php.net/session.name
    . k' H$ m5 e$ ]" m" ^6 g  J$ K0 i
  1471. session.name = PHPSESSID9 ]) j+ c7 }( U
  1472. ! P. a7 L8 W6 P% B. g; Y% U$ d
  1473. ; Initialize session on request startup.
    0 E2 s% ^8 M% o, P8 _* }
  1474. ; http://php.net/session.auto-start
    , b5 y6 \6 Q& P, D6 x/ O
  1475. session.auto_start = 0/ B0 L; F1 ^: B% Q" o

  1476. : Y; [0 N& O( a$ F0 f% P6 m
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    8 Y1 _$ H; V0 h% B$ v8 P
  1478. ; http://php.net/session.cookie-lifetime8 c7 a, B2 |5 f2 G1 X
  1479. session.cookie_lifetime = 0
    , E6 h. y8 U$ [0 T1 W+ ~0 ^

  1480. $ s  U/ D/ h7 Z8 C9 G
  1481. ; The path for which the cookie is valid.
    0 F) f+ v4 P4 o; a# f2 ~9 E2 W
  1482. ; http://php.net/session.cookie-path
    4 e6 c4 R3 i  D1 m8 U
  1483. session.cookie_path = /
    8 l8 j2 K  o5 ?* A- X
  1484. ' Y5 f/ ]- I. R! ]/ J" n
  1485. ; The domain for which the cookie is valid.: [( G0 h8 ]( Y1 i6 D& a! _4 M
  1486. ; http://php.net/session.cookie-domain
    ! P/ l( X( n2 ]- @* o: _' U
  1487. session.cookie_domain =( ]3 i9 P  V1 }! O; O- S" e
  1488. 6 V( Y8 `" o5 ^3 T+ R/ J0 w
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    % c+ X6 m- Q/ ]$ R
  1490. ; http://php.net/session.cookie-httponly$ f9 F" e  P: \% Z7 m+ Y/ i* {
  1491. session.cookie_httponly =; Z' L% e0 B! V
  1492. ' |$ x9 C" V0 s; y8 E' i, V# o3 V  z, f- t
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    ( I8 h& ]5 Z4 }) A
  1494. ; http://php.net/session.serialize-handler
    2 ]2 y5 I3 J, A$ S# C- C3 c
  1495. session.serialize_handler = php
      T' @) L2 p& b" \4 j

  1496. 4 Q1 s5 Q1 Q+ T. ~( c2 W9 r( T
  1497. ; Defines the probability that the 'garbage collection' process is started
    & t1 P0 o( W* w) ~% g
  1498. ; on every session initialization. The probability is calculated by using( R) l- e" R/ s3 s8 A! R
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator5 |; l! L+ [( y5 J# y
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    1 p. o/ O5 p8 x
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
      `' y7 V/ F9 T+ I5 }2 P: y9 k
  1502. ; the gc will run on any give request." d  `9 S3 ~9 `; M3 y$ w1 B
  1503. ; Default Value: 17 a  M. z* D- T8 \  c2 V  [
  1504. ; Development Value: 1
    1 ]8 W* o8 Y1 o; d# b& u8 _& Q
  1505. ; Production Value: 1# Y$ s# Z* v( b- H3 J
  1506. ; http://php.net/session.gc-probability! X& Z  R3 R& p3 T/ k* }/ v% A8 M- S* Y
  1507. session.gc_probability = 1
    ; i0 X, D, P# z8 t7 j
  1508. + h! V5 e+ ~5 w7 _  x, d
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    2 @* x  D+ z* }1 F) M4 i
  1510. ; session initialization. The probability is calculated by using the following equation:4 A0 c, X0 i( E0 Y* @% S7 i" D
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and9 H. K; Z; p) @2 |6 R
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 18 w: o! f# x; ]3 {) B
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    ' i2 P( Z  I- y- ?: G
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    9 W& R9 v7 S& J8 n. A0 ^
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,; l! U% Q0 H! a- A$ c/ c, K  O
  1516. ; this is a more efficient approach.$ F# K; ?& i$ ^  c8 U9 {1 n: H) U
  1517. ; Default Value: 100+ h: y, v0 ~& e2 e0 t* s
  1518. ; Development Value: 1000
    ( i. T6 l. Q/ z5 o2 e6 K1 f
  1519. ; Production Value: 1000
      ~9 O! Z; u( r2 [
  1520. ; http://php.net/session.gc-divisor
    - t9 [9 \: S% U/ O* n1 U2 T
  1521. session.gc_divisor = 10001 u: y# a6 }5 S8 e# c$ |) z, P

  1522. 8 G5 b  k# k- \$ {! _- |
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and4 X  C1 L! s$ P6 c( b( ?# q, R1 l
  1524. ; cleaned up by the garbage collection process.+ `( B3 ~4 ?7 L
  1525. ; http://php.net/session.gc-maxlifetime- ~# s# n3 z0 k7 T) Z# w: Q8 Y' e
  1526. session.gc_maxlifetime = 1440
    * f1 b0 }) s$ q* |1 ~$ n9 F" X& `
  1527. ; p; P. t4 |7 ]6 i& j; u
  1528. ; NOTE: If you are using the subdirectory option for storing session files& I( i$ N1 v! P' `7 I
  1529. ;       (see session.save_path above), then garbage collection does *not*
    4 A( G# H2 j+ B1 S$ p
  1530. ;       happen automatically.  You will need to do your own garbage2 I) {5 G" k( e" m% \0 l1 ]1 x6 L
  1531. ;       collection through a shell script, cron entry, or some other method.% k; U" A  ^" Z0 [
  1532. ;       For example, the following script would is the equivalent of
    0 B' ^4 D4 B7 p% f: z  b
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):, }, C" n  e) R% x) m6 ]: M$ V
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    ' O( u, `2 q/ O

  1535. 2 Z- B+ s. ?+ N% x5 m9 b& C2 k. _
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    ' ]/ s) L4 _0 w- h
  1537. ; HTTP_REFERER has to contain this substring for the session to be: ?& T6 i9 A- @; e: p
  1538. ; considered as valid.6 G: ]8 M1 G! D" y5 M9 o$ Y
  1539. ; http://php.net/session.referer-check9 B9 U, y1 A  Y5 b0 Q
  1540. session.referer_check =" ]/ W, U& Z5 k# ?6 T( m8 h: E

  1541. , H8 K, y2 X, t" u1 `, X
  1542. ; How many bytes to read from the file.& X; A2 k& o1 Q1 r% ~2 J2 M
  1543. ; http://php.net/session.entropy-length
    - W' X0 Y$ \+ h
  1544. ;session.entropy_length = 32
      Y9 V* q4 J+ R5 L+ N
  1545. # q- z+ Q* n1 n$ m7 A
  1546. ; Specified here to create the session id.
    / }" G1 E# V+ f- N8 ~% q
  1547. ; http://php.net/session.entropy-file
    " p7 u$ y, v# {  U. K
  1548. ; Defaults to /dev/urandom
      e3 B: w1 w- U3 c+ F% j& M
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    * W( R4 C/ p! J# C$ a
  1550. ; If neither are found at compile time, the default is no entropy file.* h0 P7 e0 B+ Z# t& P; }
  1551. ; On windows, setting the entropy_length setting will activate the
    0 ?* R2 U) V; U/ m( \- Z2 Y
  1552. ; Windows random source (using the CryptoAPI)( A5 v" C  m! C' N
  1553. ;session.entropy_file = /dev/urandom
    1 _% e: z) h) d! L8 b2 i: C4 f

  1554. . g1 N3 g2 _5 ^) {# ~. [
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects) e5 |+ J: z' ]4 ~* Y
  1556. ; or leave this empty to avoid sending anti-caching headers.9 G, n4 _2 L& Q8 |
  1557. ; http://php.net/session.cache-limiter$ z& b' o) C; h' Y) p
  1558. session.cache_limiter = nocache
    ! B( Q  M" S) N9 ^+ g

  1559. ' C: ]+ M" e+ H7 D: e4 j9 l# s2 B  ]
  1560. ; Document expires after n minutes.
    # R1 f3 f/ H* |& o9 g& x, {
  1561. ; http://php.net/session.cache-expire6 [7 Y% D2 W  c0 K5 l2 Z* M, i8 p2 h
  1562. session.cache_expire = 1801 R7 ~( h( p; \

  1563. : c9 g! i8 A; |( R6 p
  1564. ; trans sid support is disabled by default.
    ! K0 A, x  Q/ k
  1565. ; Use of trans sid may risk your users' security.5 u& J0 S7 F. q6 C3 N9 u
  1566. ; Use this option with caution.
    , w! Y6 i( a7 P% u4 H
  1567. ; - User may send URL contains active session ID% `# o- F! c) B/ m* N
  1568. ;   to other person via. email/irc/etc.3 U! F) H- V3 L& Z+ `8 d2 j
  1569. ; - URL that contains active session ID may be stored
    8 x3 ~9 Q# O$ E: ~) L0 V
  1570. ;   in publicly accessible computer.
    4 w1 t' \: n5 {6 Q
  1571. ; - User may access your site with the same session ID
    6 o# e7 x; U; @& X0 S
  1572. ;   always using URL stored in browser's history or bookmarks.) V8 d, u, _( m
  1573. ; http://php.net/session.use-trans-sid# I8 D4 A6 _5 t; G3 ?
  1574. session.use_trans_sid = 0
    + v7 P( q% f5 l1 ~) e

  1575.   \. z+ N' P" E6 U5 y
  1576. ; Select a hash function for use in generating session ids.! k' D% @' f- K
  1577. ; Possible Values% f8 W; k0 }6 [
  1578. ;   0  (MD5 128 bits); h: _7 k' @1 P0 F$ d9 b8 N2 I! L* p9 h
  1579. ;   1  (SHA-1 160 bits)
    & {; d  _2 v5 j9 B, R
  1580. ; This option may also be set to the name of any hash function supported by
    7 o& G+ `) H% i
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
    3 p) ?8 X- N: `; F) L! [4 t
  1582. ; function.. s: E: Q' f+ ~- e0 R
  1583. ; http://php.net/session.hash-function; [& F* l+ R% [  p
  1584. session.hash_function = 06 d9 @2 s) X" D9 w5 G
  1585. , b! R2 t  N7 X4 o6 r
  1586. ; Define how many bits are stored in each character when converting. _1 g% U9 g& g# R. i* q
  1587. ; the binary hash data to something readable.0 p  Q2 p8 |& Q2 ?7 Y5 g
  1588. ; Possible values:
    % K5 E, g6 {) e: t0 Z
  1589. ;   4  (4 bits: 0-9, a-f)# w% t2 i- ], w5 J! A% B; R3 Z
  1590. ;   5  (5 bits: 0-9, a-v)
    / u/ X: g! n% y
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")$ P* e9 `( _1 X
  1592. ; Default Value: 4
    0 v; ]$ h* P% m% }
  1593. ; Development Value: 5; i) m# r1 S7 x5 k! B
  1594. ; Production Value: 52 D( V: O7 R( Q9 v, o1 d2 w" H
  1595. ; http://php.net/session.hash-bits-per-character$ P* K2 H- q  u2 k
  1596. session.hash_bits_per_character = 5
    * U7 D& ]: x1 K5 Q9 v2 Z( F
  1597. # {3 ?) M$ S+ p4 t) T8 \! |% I& o
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags./ O: g: W9 o$ M( ^6 L( ?4 W1 \5 l
  1599. ; form/fieldset are special; if you include them here, the rewriter will% P6 X" I# ^( J0 L" F
  1600. ; add a hidden <input> field with the info which is otherwise appended
    6 g' w2 N  a  k3 u9 c4 J
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    7 X" y$ M& [( M# K# M
  1602. ; Note that all valid entries require a "=", even if no value follows.
    ' ]! D/ ?1 u" u8 l/ x, `
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset=": f' N4 M+ q  w; Z  h8 B
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ! K7 a/ R# q1 g7 W6 u3 x) f
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"! O- y# ]- H5 @3 ^3 Y
  1606. ; http://php.net/url-rewriter.tags+ h; I8 r4 y# F- r( y
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    1 X% X9 F+ h2 T* j3 d5 h  A; ^
  1608. - i7 q& F+ c4 x. o7 M* Q
  1609. ; Enable upload progress tracking in $_SESSION" y7 E7 g! m; n6 o/ k9 I
  1610. ; Default Value: On4 L3 m* ^+ @& j& c. M
  1611. ; Development Value: On
    7 ]- \# q% P- @% q& g
  1612. ; Production Value: On
    8 `! L' ~& E0 Q5 ]+ {# V  I0 I
  1613. ; http://php.net/session.upload-progress.enabled2 V$ W% b! \5 T
  1614. ;session.upload_progress.enabled = On
    / o. s. t" f* b6 f
  1615. # `7 x0 F9 X8 F+ ?+ G
  1616. ; Cleanup the progress information as soon as all POST data has been read
    3 L" q1 h2 m: a% K4 a* p
  1617. ; (i.e. upload completed).  S, K2 T% q3 m
  1618. ; Default Value: On
    & y) w- `$ L: Y9 A
  1619. ; Development Value: On' x* q, V; P, k( y0 w& e/ I
  1620. ; Production Value: On
    2 |, ^& }( d) m0 T% s
  1621. ; http://php.net/session.upload-progress.cleanup
    1 M& y  u8 \9 c& v* Q8 Z5 m" F! h3 D
  1622. ;session.upload_progress.cleanup = On1 P( w* t8 v2 {

  1623. , K! r- s( z% D& b7 u- D( y
  1624. ; A prefix used for the upload progress key in $_SESSION
    1 P. Q" ?5 @. V% U
  1625. ; Default Value: "upload_progress_"% ?& U. Y0 x, Z: J7 p4 {2 o
  1626. ; Development Value: "upload_progress_"+ ]3 C' g. b3 D
  1627. ; Production Value: "upload_progress_"
    ! Q8 t- M6 \! @( p
  1628. ; http://php.net/session.upload-progress.prefix
    & S' n* v9 P' [0 Z" v5 Y
  1629. ;session.upload_progress.prefix = "upload_progress_"( W7 X5 q8 J- Y' z  [- O

  1630. 4 y8 L- ]0 {: A
  1631. ; The index name (concatenated with the prefix) in $_SESSION% L9 n$ j0 n$ J0 h
  1632. ; containing the upload progress information
    3 y) B! a! i% h# v: X( L$ `( ~3 `
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    & k! X. D( [5 I4 N3 O. y9 k' c: h
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"* w5 n" y, g, V) s1 u
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ( M% ]- H# _' _2 _: [9 y/ X# Y
  1636. ; http://php.net/session.upload-progress.name) [, F& w- O/ z6 z
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    ; B+ r' K0 h3 {: F

  1638. - {$ n/ ]% `% n! J, O
  1639. ; How frequently the upload progress should be updated.
    / E2 w: @& M  z' g0 V; Q: {; {0 k8 R
  1640. ; Given either in percentages (per-file), or in bytes
      f9 g+ l7 ?0 V: a9 }; O
  1641. ; Default Value: "1%"2 C  O, y: O, [8 I& L! U8 S# S
  1642. ; Development Value: "1%"+ w0 V4 m1 D: U6 `; h
  1643. ; Production Value: "1%"$ _' B4 V- Q  x3 l
  1644. ; http://php.net/session.upload-progress.freq
    + x9 t; G! ]1 t
  1645. ;session.upload_progress.freq =  "1%"  W  M/ F% V- v& W: @; A+ T7 B
  1646. + ~  b1 ]9 [2 n& [
  1647. ; The minimum delay between updates, in seconds
    . W% p7 P1 ]9 T9 M( u& y/ o0 r
  1648. ; Default Value: 1
    # V0 F- X  g( J3 A/ p& }
  1649. ; Development Value: 16 B3 _3 e, E0 R* z" ?. f
  1650. ; Production Value: 1: x  z6 O, J7 U  P- b$ O
  1651. ; http://php.net/session.upload-progress.min-freq) c; }1 h; J0 D) v+ T) _
  1652. ;session.upload_progress.min_freq = "1"2 s' M) H) m, \$ Y( j2 E

  1653. " p% E- d8 R( T* s
  1654. [MSSQL]
    ; S0 I6 n5 `& E5 R# c+ t0 x
  1655. ; Allow or prevent persistent links.1 V! @0 G% g' l: s
  1656. mssql.allow_persistent = On5 K+ S: \0 S) h
  1657. " r8 ^4 T7 `) X* @4 P  A/ G
  1658. ; Maximum number of persistent links.  -1 means no limit.5 |% {$ _! a/ S" R  i3 [
  1659. mssql.max_persistent = -1
    ( g+ P) I* p5 k% S7 j, I2 M/ R  ?
  1660. + T# x9 h5 R9 I. _! `: u4 A3 Z3 [
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    8 U% u  e% s6 x* t- n( A; Y( z. o
  1662. mssql.max_links = -1% o# _9 ~" \: ]

  1663. 1 }. E% o: z5 `
  1664. ; Minimum error severity to display.
    9 c- c' _( I" b! R* \5 p
  1665. mssql.min_error_severity = 10
    ! t; X6 k  H6 d/ z. i

  1666. ; F8 h5 [: T* S8 s
  1667. ; Minimum message severity to display.. h1 W) X: J8 `
  1668. mssql.min_message_severity = 10( V/ e, e  T3 C+ r; L

  1669. 7 ?: b  J# ]8 u) _7 Q
  1670. ; Compatibility mode with old versions of PHP 3.0.
    % s3 G$ Z& ~/ k9 r4 `( n) J- L' _
  1671. mssql.compatibility_mode = Off
    , ?% W1 f2 {& P! w3 I3 \- O. w

  1672. 7 M4 i+ a, d- g/ Q3 f$ f
  1673. ; Connect timeout
    ( ]8 Q4 C; n; f& q. v
  1674. ;mssql.connect_timeout = 5
    2 R- T$ v: A3 i

  1675. 1 N% {/ @4 M, x
  1676. ; Query timeout
    6 Z: L7 c' p# H2 K" |% {
  1677. ;mssql.timeout = 60
    / f. P9 h9 z7 C# v- `1 ?% X+ [
  1678. , a& U  L0 b+ r/ v
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    . h9 U3 D' h" z( x
  1680. ;mssql.textlimit = 4096
    . e& R: f- c5 {! o, H3 q7 _7 _
  1681. - H6 [- ]. T' ?, l! W8 @. q3 ~
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
      L2 q6 W6 h4 M' D3 N/ R
  1683. ;mssql.textsize = 4096
    ; N0 e# ]" g" I$ j5 W' S& [; V
  1684. # e( f) n+ Q8 Q/ `; `7 r& l/ C
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.8 k$ q# [) i# p) I( J( _' b# R
  1686. ;mssql.batchsize = 0
    : v; E# j/ e" v0 \1 X3 P
  1687. % H7 v2 ^* \5 S+ D* h4 M
  1688. ; Specify how datetime and datetim4 columns are returned  k5 E  s" ]3 X- N' ~. x# t: ?0 W
  1689. ; On => Returns data converted to SQL server settings
    ; P! V) ]1 ?  ]/ w
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
      x4 O$ ?% }& b- G% O9 c$ I+ B" e
  1691. ;mssql.datetimeconvert = On
    * i+ l' s) \( w( l- x
  1692. # q( b6 j! @* H+ R: R- u8 \
  1693. ; Use NT authentication when connecting to the server
    . ^6 ?- |7 {7 h2 N( l
  1694. mssql.secure_connection = Off  E2 B* `" H$ T
  1695. , d- ]' Z; G6 ]: R
  1696. ; Specify max number of processes. -1 = library default! }$ I, H3 Z/ C0 r+ k7 N* _
  1697. ; msdlib defaults to 25
    7 [5 f' |9 R; U+ P3 O+ `1 \
  1698. ; FreeTDS defaults to 4096
    9 B; x0 J' H8 m
  1699. ;mssql.max_procs = -1
    9 O/ B2 ^7 P6 b& l# l+ T

  1700. 8 U/ V. ~4 ]  q! ^  D& J
  1701. ; Specify client character set.! l' @) g( {& e5 t# s; ^0 i) M% @6 A8 ^
  1702. ; If empty or not set the client charset from freetds.conf is used
    7 B" X) k: X) t. i$ R6 f" o
  1703. ; This is only used when compiled with FreeTDS
    ( Z$ _9 S/ G/ n) v& b" K
  1704. ;mssql.charset = "ISO-8859-1"
    . L7 h  h2 Y- ^& G: d8 C

  1705. : J# _8 N( o1 C
  1706. [Assertion]: y* v: `' B6 [2 S
  1707. ; Assert(expr); active by default.5 C1 h% c* \: @; i: {, `! w9 S
  1708. ; http://php.net/assert.active
    : C) a/ E* f  t" S. N, w, U
  1709. ;assert.active = On
    1 U+ n! p4 B" Q/ d0 Y5 l9 c. `: `) |% X
  1710. + ^# o" E2 D" y; H8 d$ w
  1711. ; Issue a PHP warning for each failed assertion.
    $ s: \) N3 J6 T! _
  1712. ; http://php.net/assert.warning+ D- s, {; R: ~4 {" U+ r
  1713. ;assert.warning = On
    / I  S3 y+ i5 u: A. g

  1714. 3 l( ]6 \& s  {
  1715. ; Don't bail out by default.
    + R9 }5 A) c# G9 q9 R- m+ c
  1716. ; http://php.net/assert.bail
    - Y3 w6 I. l5 u% m
  1717. ;assert.bail = Off* q: I# ]6 Y' X
  1718. 1 Y0 z. \0 `2 s
  1719. ; User-function to be called if an assertion fails.
    - l- s# k9 d4 w' b8 d
  1720. ; http://php.net/assert.callback
      P# U5 R$ C  M8 B4 t
  1721. ;assert.callback = 0: a/ g$ c/ z* V. n+ [* A. c- ^
  1722. 7 z7 n9 j2 |' z# y
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    % E" f0 J; s8 A; U+ ~( N( [% ~
  1724. ; error_reporting(0) around the eval().
    , a, I. N8 j1 W3 j! X: z
  1725. ; http://php.net/assert.quiet-eval
    3 B2 }; g4 g+ q- W2 I
  1726. ;assert.quiet_eval = 06 l  U3 p8 j9 s7 ]5 J

  1727. 6 H# @# F% p: N2 r  N
  1728. [COM]
    . [2 d3 r3 I( N
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    ! L1 N* O! m, I6 u: [6 @4 r
  1730. ; http://php.net/com.typelib-file: y2 Y! P4 v4 v
  1731. ;com.typelib_file =
    ( V8 J- [& C& t5 U+ j; L" B

  1732. & Q3 [; ^, Y1 X, X3 ?% X2 x9 _
  1733. ; allow Distributed-COM calls
    & D% k7 i, U8 O- L0 e7 J
  1734. ; http://php.net/com.allow-dcom
    : }' w9 L! y& {* z0 v
  1735. ;com.allow_dcom = true
    & u  Y$ W1 M2 z
  1736. & l) Y. I& l4 @. d
  1737. ; autoregister constants of a components typlib on com_load()
    & k7 c9 G. c3 W0 B* ?9 b, b
  1738. ; http://php.net/com.autoregister-typelib
    * j0 g' T! Q8 i& ~9 [+ B' h
  1739. ;com.autoregister_typelib = true1 u8 R2 ?9 c: F" K
  1740. % ~+ L( o) c/ m! h+ `* O+ c: \
  1741. ; register constants casesensitive
    6 ~5 U* D, z& v3 @2 F
  1742. ; http://php.net/com.autoregister-casesensitive
    ( y6 o; V5 f# U4 H& {7 F0 Q  @0 w
  1743. ;com.autoregister_casesensitive = false& N7 Z+ r7 ?# p
  1744. * o! E* a) N! r1 w# ~* s7 a- Z
  1745. ; show warnings on duplicate constant registrations* _: Y2 T' P/ ]$ h8 k, t4 J
  1746. ; http://php.net/com.autoregister-verbose; V- g" ^* g3 A0 s" @; [, Z
  1747. ;com.autoregister_verbose = true
    " {7 J7 g. h. t0 d" ~* T8 P

  1748. 4 y; `! e7 U, W" d
  1749. ; The default character set code-page to use when passing strings to and from COM objects.5 ^9 N3 D& j) m2 j8 @7 \
  1750. ; Default: system ANSI code page: Y* A5 O9 P0 Y  P) N% E% u) V
  1751. ;com.code_page=  |: w  P& o( |. ?. }$ c

  1752. 9 b6 o3 `# D. `
  1753. [mbstring]% D$ x) \. m% `/ t
  1754. ; language for internal character representation.: l0 @6 b; z, J: T9 ~% ~% I
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
      Y4 @. N0 v! v
  1756. ; http://php.net/mbstring.language
    5 D+ y8 `( E, ?" P4 n1 E( ^
  1757. ;mbstring.language = Japanese8 g* H* v9 o( ]

  1758. & _" {$ C+ ~, X- }  ~# J* L
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    9 x' ]; u5 u3 i! W9 d
  1760. ; internal/script encoding.0 \% n: l/ m8 g0 r5 D0 I% D) s& c
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    : ^* z- [! }1 U& c) Z
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    * L4 j  g7 i* r& v" k
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding- F( w+ i" p5 O, h+ W: p
  1764. ;mbstring.internal_encoding =1 p: w# T# A" r
  1765. 6 r  s. Y: f4 F9 O, k! s# U
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.% q% k: H: [% N& ^
  1767. ; http input encoding.+ q  C- h  s4 d- R
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.
    0 F/ D. t7 r$ h- `' h; g4 s
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.' U1 j9 Y$ u( S# F. ?; b0 P( [+ n$ G/ @
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    5 Q; x/ @; h  C# ^+ R' w
  1771. ; http://php.net/mbstring.http-input
    , p6 t9 P, E% b% p6 _, K0 u* Z% g! }/ }1 Z
  1772. ;mbstring.http_input =) k$ `/ S& N6 G

  1773. 3 P$ @# T/ H% S5 m1 M+ W
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.9 U9 y  t1 |. f% x" ], P
  1775. ; http output encoding.$ @$ o$ D4 j# B) @* z" \' J
  1776. ; mb_output_handler must be registered as output buffer to function.
    ' i: {; M: b, t5 ~2 H3 c
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.. Y3 Z3 n1 u) [' ^/ g5 Q
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    . Q; [- W' A  T( l
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    : J6 |: ], P; c6 Q4 y9 n& c
  1780. ; otherwise output encoding conversion cannot be performed.
    6 b: h# F3 Z- r6 N: o
  1781. ; http://php.net/mbstring.http-output
    & M3 X+ j2 D' z& n0 z
  1782. ;mbstring.http_output =, G" v5 q. M! F& a

  1783. 2 U/ V0 O& n( ]6 d" u
  1784. ; enable automatic encoding translation according to2 u- b2 P2 Q6 d& I
  1785. ; mbstring.internal_encoding setting. Input chars are3 A: D  x; }' Q
  1786. ; converted to internal encoding by setting this to On.
    - g' k3 d6 q' e$ n3 }  V7 W
  1787. ; Note: Do _not_ use automatic encoding translation for
    . I: W) p2 R+ S
  1788. ;       portable libs/applications.
      C0 g+ t: w8 ?: e
  1789. ; http://php.net/mbstring.encoding-translation$ j; ?, b/ \2 B) J/ d7 D/ A% X, b
  1790. ;mbstring.encoding_translation = Off
    * H' R* j2 x- c! R# ~* W, z
  1791. % B! z! i+ K+ `0 F2 F) m
  1792. ; automatic encoding detection order.4 h, }  c  O) g5 p1 J
  1793. ; "auto" detect order is changed according to mbstring.language
    : }! m' u5 |# V$ o" a) c3 v
  1794. ; http://php.net/mbstring.detect-order
    - n2 {7 f: E; `: e" z
  1795. ;mbstring.detect_order = auto6 a8 ?+ [8 F0 y/ _; d& C
  1796. ! f/ i9 o1 J( w4 [: g) _' E( n
  1797. ; substitute_character used when character cannot be converted8 H! h+ t- O! N3 u4 G' Q( h6 [
  1798. ; one from another
    ' Q' w0 h+ e/ f( y3 y2 F4 O
  1799. ; http://php.net/mbstring.substitute-character; g* l6 l( V. R& A* s* ^
  1800. ;mbstring.substitute_character = none: X' J7 [0 q. ~: ~# T

  1801. ) ^& ]2 B( K2 b+ n
  1802. ; overload(replace) single byte functions by mbstring functions.+ X: ~  k4 f) O2 D; U) x
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    ) ~# u1 i  K7 M9 D& g( r  ?. L5 p
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.0 W4 L6 \0 Z$ S  a! k+ @
  1805. ; For example, 7 for overload everything.
    6 \/ u$ s) \% V! N* o+ ^% l
  1806. ; 0: No overload
    7 t7 Q, u+ F6 {& R) ?
  1807. ; 1: Overload mail() function  J& x+ A2 q( q9 X
  1808. ; 2: Overload str*() functions
    2 l5 \& @! p, B+ A; ^
  1809. ; 4: Overload ereg*() functions; h" J6 `& q2 |7 p2 J8 k
  1810. ; http://php.net/mbstring.func-overload
    " I$ P& ?' e5 j
  1811. ;mbstring.func_overload = 0+ v+ b: h1 [. m/ C% s, y! t

  1812. - F' i' Z0 k! s# O6 s
  1813. ; enable strict encoding detection.! @7 C- v2 [- S; n
  1814. ; Default: Off
    8 s/ n; X/ B- f4 k
  1815. ;mbstring.strict_detection = On
    4 H: s  K. o! A0 W- h# z9 Q

  1816. + t, u) f: }9 W/ @/ \
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()8 Z! H7 I% `& E" W
  1818. ; is activated.2 q! {5 ]% M1 d) R6 [
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)6 ?8 R9 s) q8 K! l3 H
  1820. ;mbstring.http_output_conv_mimetype=
    6 e/ {2 f* [: J  g& U  A8 l
  1821. 4 S* M4 a- o0 y8 L, Q* O) P6 t
  1822. [gd]
    ; N2 T1 v8 Z# C8 p
  1823. ; Tell the jpeg decode to ignore warnings and try to create1 t+ v/ ?: h& R2 k; }; }# D/ _
  1824. ; a gd image. The warning will then be displayed as notices; ?4 X# e# s7 K' T0 a% p& m
  1825. ; disabled by default
    / g0 d' ]( ?; e
  1826. ; http://php.net/gd.jpeg-ignore-warning; A" @8 d; E  h1 E, m* }9 }
  1827. ;gd.jpeg_ignore_warning = 03 R( V- r$ {  m4 }; m; I4 J

  1828. # Y+ p! V4 b2 {/ A. x, d
  1829. [exif]& N' n5 |% l& v" X
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    ( M9 n3 E2 Y1 m  Q4 a( L
  1831. ; With mbstring support this will automatically be converted into the encoding! Z" `2 H, I4 |7 J# n
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding7 h$ r3 j% L2 S% R
  1833. ; is used. For the decode settings you can distinguish between motorola and
    ' M  W; ]4 i; ~1 s" [( `5 [$ v
  1834. ; intel byte order. A decode setting cannot be empty.
    6 [" N. n- j3 j  z: r
  1835. ; http://php.net/exif.encode-unicode
    7 s8 r' O/ L: X4 N+ o2 O) u5 h. R
  1836. ;exif.encode_unicode = ISO-8859-15! g& a0 I. k& G" Q+ D# I) W

  1837. : N7 }7 }  H9 b) R
  1838. ; http://php.net/exif.decode-unicode-motorola% `5 g* a7 p" o! o
  1839. ;exif.decode_unicode_motorola = UCS-2BE0 x( g! F7 z  O% R
  1840. 8 M! K; L$ s. D) ~
  1841. ; http://php.net/exif.decode-unicode-intel
    , j: V3 Y0 L' S7 V: {3 D  }
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    0 H1 |: M! k4 a% F8 }
  1843. . Q% X5 B% d! N/ i
  1844. ; http://php.net/exif.encode-jis6 h% K# ^' h$ E6 P5 A
  1845. ;exif.encode_jis =
    ( B9 m  ^4 q9 ]9 Y: u& e. _4 S2 z
  1846. / d* d2 Q9 |" R& a
  1847. ; http://php.net/exif.decode-jis-motorola. }+ H9 b7 \7 o
  1848. ;exif.decode_jis_motorola = JIS. ~' c  L7 J& B" J8 L+ f# z; x. u
  1849. 3 [+ t! \3 N  y* ~
  1850. ; http://php.net/exif.decode-jis-intel% G0 `$ D2 c7 X! i
  1851. ;exif.decode_jis_intel    = JIS6 G. e3 }5 d1 Z
  1852. " q. L2 u# i% \' v6 r
  1853. [Tidy]
    7 o: p- i1 y6 R- z% g
  1854. ; The path to a default tidy configuration file to use when using tidy
    ) w' I  m" R+ J1 d
  1855. ; http://php.net/tidy.default-config
    7 J' ?* R  s# c+ E
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg$ D0 Q4 V) i) B3 h  O" u
  1857. * p% z4 r1 E7 [+ v' o6 }
  1858. ; Should tidy clean and repair output automatically?" {. ]. w, W! ~* ~9 M3 g
  1859. ; WARNING: Do not use this option if you are generating non-html content
    0 K2 T/ T% @/ a" W$ D$ A
  1860. ; such as dynamic images! b) C7 |  \6 k
  1861. ; http://php.net/tidy.clean-output# W: r/ a/ Q4 H( H, h
  1862. tidy.clean_output = Off, x$ L% u1 \5 R5 ]
  1863. % g% q3 Q. n2 G  X9 Z
  1864. [soap]
    & C* c$ }" c; O! b' `& s, ]
  1865. ; Enables or disables WSDL caching feature.% @9 c8 q/ `) m0 p
  1866. ; http://php.net/soap.wsdl-cache-enabled* ?9 S' V' |3 H$ Q8 P3 k% G
  1867. soap.wsdl_cache_enabled=1, {% }1 A- j- k/ v

  1868. # j+ w- n( k1 i2 P7 t' y- t
  1869. ; Sets the directory name where SOAP extension will put cache files.6 ^( Q) N( }$ y6 T' K
  1870. ; http://php.net/soap.wsdl-cache-dir
    2 ~  ~; Y6 x( T2 j
  1871. soap.wsdl_cache_dir="/tmp"; b7 r; _5 t" U+ Q' E5 z! z9 F7 H

  1872. . D& U" c; F, }$ x. u; A+ |
  1873. ; (time to live) Sets the number of second while cached file will be used: x% i% D1 G, G/ X$ l5 c
  1874. ; instead of original one.) W% p. u' x  z; e/ n% I
  1875. ; http://php.net/soap.wsdl-cache-ttl
    . W0 w  C! C7 V  z- Y
  1876. soap.wsdl_cache_ttl=86400  s6 i4 e* ^- Q( w. y- f
  1877. " V* h& n. F1 @. S1 W2 n
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)' x) i3 k0 d, S! `) K
  1879. soap.wsdl_cache_limit = 5
    % A+ `5 h  J6 x" A- L8 e
  1880. $ F9 u) S* p/ ~! P
  1881. [sysvshm]
    9 S$ T+ V0 l* P) b8 K
  1882. ; A default size of the shared memory segment/ `' f7 l& F; B
  1883. ;sysvshm.init_mem = 100005 d7 p+ @8 p% e- \6 ^) R
  1884. & M) [2 ~4 Q% N# G7 B3 }( G
  1885. [ldap]0 Z' u" f2 }# z0 q: z. ~
  1886. ; Sets the maximum number of open links or -1 for unlimited.% e5 x( I" M/ y0 O, Z2 S4 v& [
  1887. ldap.max_links = -1
    0 ?7 D- K8 O9 v+ b+ D& g5 `

  1888. 4 ~7 t: c* W4 A. ]  v
  1889. [mcrypt]
    $ z. F2 b6 ^& ^# j3 o) Z5 Z% U2 f
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    6 @8 q. g; P- n/ q1 _( {% s
  1891. 1 d- ^9 g" E* h
  1892. ; Directory where to load mcrypt algorithms, L  Q: [- D4 ]0 b
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)) E4 i! c0 x  f. b, R5 n
  1894. ;mcrypt.algorithms_dir=
    ; k  w8 d/ Z: `9 t* Z! X
  1895. 3 }) e. Q" v" `5 w- q! c" q
  1896. ; Directory where to load mcrypt modes2 ^& s% E* \* w. c& L! ~3 F0 \* w* a
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    7 l0 u" P$ m# j+ o1 H
  1898. ;mcrypt.modes_dir=
    % e4 b. _) v8 l& j* p( ^

  1899.   v5 r7 U/ r7 _0 r0 Q. ^1 q
  1900. [dba]
    3 ^1 `( ]0 B7 y; n. X
  1901. ;dba.default_handler=0 P* g, n+ \0 v- H' h0 V& F4 \

  1902. : T- T) O2 D* `: E
  1903. [opcache]
    " T+ w7 |4 Z9 O0 h" ]& _4 m! c
  1904. ; Determines if Zend OPCache is enabled) x7 ~6 n' u7 k) F7 d) P' {% ]
  1905. ;opcache.enable=0
    # z& P1 D! R5 \' t* l0 V
  1906. ; j% c/ v, S+ r" j1 K( j: H
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP4 l- e. a) h" m2 P. a% W
  1908. ;opcache.enable_cli=0' }& L6 C/ Y* l9 F; ^0 t; p+ }. n
  1909. , H) D1 [$ `* z2 ]; J+ Y" V5 R2 {
  1910. ; The OPcache shared memory storage size.& k" H- h0 [% C: M, j. ?( {
  1911. ;opcache.memory_consumption=645 n: U7 T5 b( b& k
  1912. + u' ?/ Z, P! B! ^- w1 @) y0 n. n
  1913. ; The amount of memory for interned strings in Mbytes.1 }) o7 C, Y( h
  1914. ;opcache.interned_strings_buffer=49 W, i8 E  }# k/ \% j: x

  1915. 1 R9 _* Y9 Z+ t. R* I4 U% Q
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    & v* Q# l% ^' N% A$ k& x
  1917. ; Only numbers between 200 and 100000 are allowed./ X7 i5 R; ~  i
  1918. ;opcache.max_accelerated_files=2000' z) [$ u0 x; P) Y+ E- f) |3 u
  1919. ! d0 o+ C; D+ k4 l: E! o5 @2 ?
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    , Z7 o  s+ A& A2 |' U8 |
  1921. ;opcache.max_wasted_percentage=5; q9 ?" B, N( B1 [8 L- ~
  1922. " S' U! ?+ l* H2 _
  1923. ; When this directive is enabled, the OPcache appends the current working
    7 r+ S4 A' W2 l% Q7 f5 y
  1924. ; directory to the script key, thus eliminating possible collisions between# T3 A/ A& n4 A
  1925. ; files with the same name (basename). Disabling the directive improves0 F# M  O! u2 j% d% R
  1926. ; performance, but may break existing applications.3 @7 J5 }1 v1 Z
  1927. ;opcache.use_cwd=1
    6 w/ D7 N& B9 }$ M0 p* j
  1928. $ [  X2 L0 N# U2 S
  1929. ; When disabled, you must reset the OPcache manually or restart the3 b  R1 u! v; n$ L9 Q
  1930. ; webserver for changes to the filesystem to take effect.; }8 h9 f1 T/ ?8 h* ~4 ]
  1931. ;opcache.validate_timestamps=1) }4 h$ t" |- a3 \, d

  1932. 6 C0 a* L2 W( ]/ H5 O
  1933. ; How often (in seconds) to check file timestamps for changes to the shared1 r5 ~, z2 ^2 f4 g
  1934. ; memory storage allocation. ("1" means validate once per second, but only9 M' z" f% |: m8 M0 B
  1935. ; once per request. "0" means always validate); N' ~7 b( w4 r" ]) _: V# H) I
  1936. ;opcache.revalidate_freq=2, X: x. Y- C! j  n
  1937. " Z1 i4 B( T- D, M
  1938. ; Enables or disables file search in include_path optimization
    / b: }4 S% p' `8 a
  1939. ;opcache.revalidate_path=0; `) S3 s8 x& D! P5 S; I+ h+ U! D

  1940. 7 ~; T9 h7 R' ]
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the7 [8 ?6 {% f2 o/ J* X1 d1 Z" C, K
  1942. ; size of the optimized code.
    6 q2 e: J; W. {7 m; B
  1943. ;opcache.save_comments=1
    ' N; F# p) U, k4 D" u6 u

  1944. ! q" y" L. f6 D$ Z$ C! u$ b2 G
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    ' {, Q# c  m4 R) l7 v' ?
  1946. ; may be always stored (save_comments=1), but not loaded by applications% _+ l5 ^% j2 m5 I7 Y; ~* o
  1947. ; that don't need them anyway.8 [: o5 w' `4 f& Y$ g5 R7 l' f
  1948. ;opcache.load_comments=1; J* m* x) X' m  R- @3 P3 w

  1949. 0 E; s" \! Z& T3 O) G/ [
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    6 {4 |; g+ P4 [) r" O6 D
  1951. ;opcache.fast_shutdown=07 N: P% e! w5 U1 h( |. z

  1952. - r8 C5 {, V1 u* f& @( |0 W4 b
  1953. ; Allow file existence override (file_exists, etc.) performance feature.7 b+ l1 G. j- |3 m, f' l
  1954. ;opcache.enable_file_override=0
    $ K" R. {+ U% X9 N

  1955. ( G! Q$ J0 x. ~0 t" ^8 ?$ a
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache! v" V* J- p& p+ Y9 H  f$ d
  1957. ; passes* x6 }7 `# z" Y- U" E2 J
  1958. ;opcache.optimization_level=0xffffffff6 n* @; g3 d/ r- j; m. [

  1959. 9 W2 u! E" A8 b9 [
  1960. ;opcache.inherited_hack=1
    8 H9 [, y5 {9 |$ Z# l
  1961. ;opcache.dups_fix=0
    * Y' }& i* {. v  Y

  1962. : S8 o" y8 m. G' {  k2 ~7 o
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    5 u; O4 D& h  ~; W7 s/ s: i2 R0 t
  1964. ; Each OPcache blacklist file is a text file that holds the names of files  c4 E* i, y2 o* V1 r
  1965. ; that should not be accelerated. The file format is to add each filename
    , L1 N$ Y8 l0 w$ r* f
  1966. ; to a new line. The filename may be a full path or just a file prefix
    ( U5 {: [  h6 s" o. M' y- ]( r
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    4 ^/ L# H( p) c: B6 Q2 h  W
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).! o* H, g& }: R8 u) X* x- a) p7 K
  1969. ;opcache.blacklist_filename=/ q3 `* R; g7 ]# ?* p2 u# [1 A0 ^
  1970. 4 Y& Z- |3 [# \/ U# ]5 V
  1971. ; Allows exclusion of large files from being cached. By default all files
    8 _2 q, u2 h0 Q( e
  1972. ; are cached.
    " ~8 l) j, ]8 S+ v, X
  1973. ;opcache.max_file_size=01 S/ M4 j1 N( p7 c; E. `3 |6 b
  1974. # k+ L3 k. m" Q# X
  1975. ; Check the cache checksum each N requests.4 G+ \0 ]5 W% Y' b. U' r
  1976. ; The default value of "0" means that the checks are disabled.
    0 v8 p4 \; V# @; X* x/ l% y& M
  1977. ;opcache.consistency_checks=0+ P: g' J% i' M! U( U

  1978. , e( H4 _9 M# b- x7 a; v& X$ L
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache( [: _3 }- K- x
  1980. ; is not being accessed.
    , D7 c) B8 R9 {6 R6 D' Z8 h
  1981. ;opcache.force_restart_timeout=1800 S% m! q' t( O! }/ H

  1982. $ A) |. o! m3 A
  1983. ; OPcache error_log file name. Empty string assumes "stderr".0 k  s/ D% k1 R" `
  1984. ;opcache.error_log=
    7 t, U9 o) o  R& ~; `3 P8 c. [

  1985. 9 M  w& {$ x: a; Y$ G6 P8 ~- X/ |  H
  1986. ; All OPcache errors go to the Web server log.$ l0 O9 N7 X  |3 `+ K" K* E9 _8 \
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
    ; c3 Q. `  L+ e$ ^) s
  1988. ; You can also enable warnings (level 2), info messages (level 3) or5 A0 y/ e" E, ]" n; r0 S
  1989. ; debug messages (level 4).) R8 P% F8 S) v8 Y3 z
  1990. ;opcache.log_verbosity_level=1, S- x! ?" r6 l* A) P
  1991. 4 `5 `% T5 Z  Q9 `& d, [
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
      K, c' i* ^$ d, d
  1993. ;opcache.preferred_memory_model=
    # G6 u& E, Y; l+ {+ d

  1994. $ M( R$ O- t  t; N! o$ `8 M
  1995. ; Protect the shared memory from unexpected writing during script execution.* [# w) [2 D( ?" I! c8 K
  1996. ; Useful for internal debugging only.* I' a( v! ?) r- `' R
  1997. ;opcache.protect_memory=09 r! s( n& H& W! R+ }

  1998. 6 C+ B) r2 K/ d* E- n
  1999. ; Validate cached file permissions.  F. ?# l' T( [( i0 v7 I" g7 F
  2000. ; opcache.validate_permission=0
    1 `/ ~* m1 z/ |) _( J& o

  2001. + c2 @) C' J& @4 \, V6 p% [% D* q( I
  2002. ; Prevent name collisions in chroot'ed environment.
    1 G: a( ?6 {- [) |; ]- }  f8 a2 S
  2003. ; opcache.validate_root=0* c- Q% y( {% _0 X. Q, \6 j
  2004. 2 v0 `: f; j$ k
  2005. [curl]
    * L4 F% e  \8 P2 c( j, R; ~8 G
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    : K$ |* ]1 D) z3 F1 G4 B9 P+ e* D7 ~/ S
  2007. ; absolute path./ o7 e/ I' \" c, n8 j
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    6 H4 p! @4 V1 }5 N" n* B, S
  2009. ' ~( O9 a9 I( ~1 @: D6 `
  2010. [openssl]
    9 I. \( l4 t& V9 G5 H" F7 b
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    + T  |6 A6 U! [+ H7 W
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    + B3 t$ C5 N5 @% S3 f- e. U
  2013. ; not specify a value for this directive as PHP will attempt to use the
    7 t& M) ]! r* j- `
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    * Q1 W& }. Y" C5 Q5 I( t; d5 j6 e
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context: q& ^3 U8 I9 T1 f
  2016. ; option.* ?. J4 t1 D1 n% t
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt) E' L3 z$ L4 R0 m
  2018. % ~5 u' T2 q, H$ I  }
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the& n" z2 E, {. ?* |
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    5 k  U) i" p* A4 i
  2021. ; certificate. This value must be a correctly hashed certificate directory.
    & g  }2 X5 X1 ~% i' ~
  2022. ; Most users should not specify a value for this directive as PHP will
    1 H, @8 j& r' {3 i7 J2 h# w
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,
    7 e) t4 y7 H6 q6 N. m: x2 ^9 p
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    & Z1 }; P! {1 D8 c* @
  2025. ; SSL stream context option.
    ' ~1 s+ X" t+ o
  2026. ;openssl.capath=
    : H6 u" L+ u( u$ c8 T+ x* L$ f
  2027. ; C+ s7 }4 y1 L
  2028. ; Local Variables:
    . j* L& c1 w! y$ c+ T- l
  2029. ; tab-width: 4$ }; [+ \" o- J. D( L2 G$ d
  2030. ; End:
    % b0 ]( o# F" t8 ?
  2031. 8 i, x5 ?! K- y- K0 L; \
  2032. ;eaccelerator
    / C, Y+ c1 m. H) }. B/ t% C* m# \
  2033. % k! j4 M) o% M: [8 R& |- u
  2034. ;ionCube& g3 ]: I1 X( P' `

  2035. 6 v% u+ W; p: i# A# T
  2036. ;opcache
    / J8 G4 @! w( L+ d
  2037. 3 o( X; v% R5 f8 ~
  2038. [Zend ZendGuard Loader]
    " S  D  ~$ y* _% i6 W+ A
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    9 S# s+ {3 s0 s; O
  2040. zend_loader.enable=1, K" D& Q; [7 {3 e2 f# O8 h1 h
  2041. zend_loader.disable_licensing=0
      r. S  W' ^. @6 a
  2042. zend_loader.obfuscation_level_support=39 @6 B8 J, o* c" Y
  2043. zend_loader.license_path=
    : h6 O+ G: G1 o2 m) L  H
  2044. * B0 R# F5 s3 `% O% Q' z! a4 l) b
  2045. ;xcache( A3 j' b: `4 F: i3 [, C( l9 d

  2046. . T  n0 N' v! T, J: x* g
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
$ B0 h; F; b4 C. K) Z1 \' K3 B7 U8 f5 i. F; l
) X) i( ~% F/ P
Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
0 l* ?3 P+ n) P% a) I7 ~, z+ X/ ^# I3 C+ J" J5 D/ \
Discuz!程序版本选择:
( {0 \0 B/ x/ m" t' u3 O2 A站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,9 a* N+ c% H1 v; c3 n3 L
不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
# j; ]% ?  q$ z8 R9 c) U4 JDiscuz!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。8 q# [3 o0 v. S! K
8 p+ L: s5 D- v" k9 f7 ?
Discuz!插件模板版本选择:# R8 ?4 l/ @2 j1 J
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,9 `# l& ?! N! i! m5 D! m
针对这个问题做个统一的普及:  `3 t7 }+ u1 T. U5 g
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。) ^( @" D* H3 Y5 N5 E0 D3 I
% D9 z6 o" H8 t, v' v
所以1 r; ]6 H  k/ J  H; B+ c
适合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的二级域名。$ G  p, j# D0 ~+ w3 e
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
' k8 b9 q0 J5 s! o+ G. `注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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