分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.09 P6 a7 M& ~- h
. A' v( M5 J5 @8 Q( g
  1. [PHP]
    ; u, `: S% U0 o0 N& ]& A; Y
  2. ! K6 d! T9 \+ B( _- |
  3. ;;;;;;;;;;;;;;;;;;;3 ~2 T+ q  P4 [$ C2 H( [# a
  4. ; About php.ini   ;- _. o: G# I8 X# |0 g5 b
  5. ;;;;;;;;;;;;;;;;;;;
    5 y( f  a2 r" J, d( x; }. o: u
  6. ; PHP's initialization file, generally called php.ini, is responsible for- E6 K0 w( N5 [( Z/ Q; Y/ \
  7. ; configuring many of the aspects of PHP's behavior.
    8 Q- A0 f* O( C7 k+ A8 b. T
  8. % _& V7 }$ f  h7 _0 s
  9. ; PHP attempts to find and load this configuration from a number of locations.* h" F1 D+ c. y
  10. ; The following is a summary of its search order:
    $ ^( C( Y8 l% t, J2 h- b
  11. ; 1. SAPI module specific location.
    3 ~2 n! V$ n5 {% H; Q0 o  u& ^
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    2 ]( F7 H  j. r* W# |
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)& c. [. n! J$ i) e6 x0 Z! m) ~% l
  14. ; 4. Current working directory (except CLI)
    ; _. x! \+ d( D) S; J/ d% i
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP/ m% t$ h. K3 I' `
  16. ; (otherwise in Windows)
    7 A8 q4 J& u  n) t+ \& }' w8 @
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    7 V5 ?0 V" J& N, w7 x" W2 }( y- S
  18. ; Windows directory (C:\windows or C:\winnt)
    ) u, w3 z* Q7 N; A1 p2 T
  19. ; See the PHP docs for more specific information.
    . \/ E' |6 r) r0 O4 w0 k" Q4 z
  20. ; http://php.net/configuration.file6 A9 N2 h. q, I8 t
  21. $ p) x) U4 c* ]+ z8 x  y
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    ; ~* t; j8 A5 C9 ^1 T  x
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).3 s+ h7 o5 L# \( u7 n
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    # p& F8 i4 H% S, s
  25. ; they might mean something in the future.
    " L5 n" z3 ?1 w4 I/ v: `
  26. % U+ `6 {& i, l' a" u+ h8 z
  27. ; Directives following the section heading [PATH=/www/mysite] only
    ' R) l: Z% V, _: s  G) D* m3 r
  28. ; apply to PHP files in the /www/mysite directory.  Directives& C9 u5 R9 q4 ~) C" Q6 W  u# Z
  29. ; following the section heading [HOST=www.example.com] only apply to
    3 h5 L& v6 U) T) X
  30. ; PHP files served from www.example.com.  Directives set in these/ F* W, \, o. v- \4 l( R
  31. ; special sections cannot be overridden by user-defined INI files or, M# c% m; P4 G% n3 Y
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    8 J( b$ C2 ]0 j; X+ H* y! ~
  33. ; CGI/FastCGI.
    : F8 ~% [% U" r2 J, C
  34. ; http://php.net/ini.sections. ]& m" C5 W* I3 p4 K6 {

  35. * Y, ~" O' x! B. J/ D
  36. ; Directives are specified using the following syntax:
    ; Z% Z! Q' S7 y/ N. i! [
  37. ; directive = value
    ) W# u/ T4 _0 v5 X: ?! S8 ~! N
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    + V8 J5 {; N4 x  g; y
  39. ; Directives are variables used to configure PHP or PHP extensions.
    9 l+ ^! w- T1 o* A- x$ ?
  40. ; There is no name validation.  If PHP can't find an expected
    # b8 ^6 J$ D4 _$ H' K! Z
  41. ; directive because it is not set or is mistyped, a default value will be used.
    1 U% U6 k( t  h( {4 x
  42. 3 `: a: I, @/ e% w$ f
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    ' F: J) }" d6 ?9 W7 ^' t5 Z" G2 v
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    , d  m" s2 _; z6 X; G
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    3 L) z, ~: Z+ O# f/ s9 S
  46. ; previously set variable or directive (e.g. ${foo})
    8 J$ c' |# F" F5 C- a+ D  u0 {
  47. - h# f4 J+ C7 X) t/ ]
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:/ @8 e7 C5 j4 N
  49. ; |  bitwise OR$ [3 J5 V$ ]  H# Y) J+ S5 K: I
  50. ; ^  bitwise XOR
    / n* Q  r: t* W( A
  51. ; &  bitwise AND0 X( |3 h7 z: O" d. W$ @) a, Y
  52. ; ~  bitwise NOT
    : e4 m' x8 `& I8 U8 ~% C7 p
  53. ; !  boolean NOT/ V8 W" }' ^6 p* d
  54. % u% Q8 J/ G/ Y  c8 K
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.0 q) G) d: [9 w9 c9 a3 i5 o
  56. ; They can be turned off using the values 0, Off, False or No.$ [: b. \1 L3 R+ Q+ f0 n$ _9 ]

  57. 8 {: c3 c% v7 ~' Z6 l4 }& S2 S/ A
  58. ; An empty string can be denoted by simply not writing anything after the equal5 n5 }; t9 k) B5 z0 o
  59. ; sign, or by using the None keyword:( `" ?4 Y) l% L4 @- V

  60. & G6 Q6 m) K; Y
  61. ;  foo =         ; sets foo to an empty string
    % {$ B7 W. C# {$ R! v
  62. ;  foo = None    ; sets foo to an empty string
    ' x2 B  K4 D, K3 c" G: c7 Y
  63. ;  foo = "None"  ; sets foo to the string 'None'
    : G) d$ L! [# t5 E. P+ c2 h& c
  64. % s8 j6 I" i' t0 T2 m" o$ v
  65. ; If you use constants in your value, and these constants belong to a, Q+ \/ B) m: k2 A& ]3 F) y5 s" I
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),1 V: j  A0 O/ X4 j
  67. ; you may only use these constants *after* the line that loads the extension.' t* G. e9 m  ^7 l2 T+ x4 k% f( E

  68. ; L8 }. Z" L) l9 }
  69. ;;;;;;;;;;;;;;;;;;;! c& ]4 A+ E' N# R5 v+ q+ E
  70. ; About this file ;
    - y. I) @8 j: n
  71. ;;;;;;;;;;;;;;;;;;;: [0 G# D* d( x, Y+ `  L
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    ! H! n3 ]; ^5 I/ N# W
  73. ; in production environments and one that is recommended to be used in* g8 [& s6 n3 H
  74. ; development environments.
    ' M' \  ?# m2 x/ p/ i& B

  75. , |' ?, y/ F$ k" m& @; W
  76. ; php.ini-production contains settings which hold security, performance and* m0 E: Q) `3 v7 J2 V2 e# W
  77. ; best practices at its core. But please be aware, these settings may break
    , n1 P" G  p/ Y% ^$ W' u% e  I
  78. ; compatibility with older or less security conscience applications. We
    ' h! [1 f- A# U( M5 _
  79. ; recommending using the production ini in production and testing environments.
    $ A, x3 I) s: H2 g5 u" j2 S, Z

  80. 2 R$ Y5 p0 U0 k& j& G+ l
  81. ; php.ini-development is very similar to its production variant, except it is  `' `4 L" W9 q
  82. ; much more verbose when it comes to errors. We recommend using the
    ( |4 |" I5 |9 B( A: I, R! I+ S
  83. ; development version only in development environments, as errors shown to
    ) _0 i" v- H" y. X! G8 ?4 J
  84. ; application users can inadvertently leak otherwise secure information.
    ) M; y7 }& E+ l+ ?' `' [8 g1 A
  85. 3 s8 q& M0 g' U4 U7 V* L( b
  86. ; This is php.ini-production INI file.
    , z6 ?0 E- _' h5 \& a
  87. 5 ^9 E% F  ]# J; `( s
  88. ;;;;;;;;;;;;;;;;;;;  U$ I/ ]  p0 {8 s! b/ K
  89. ; Quick Reference ;; v6 Y( p9 a  ?$ q) b7 X
  90. ;;;;;;;;;;;;;;;;;;;
    % g4 ^5 S2 H6 h( t
  91. ; The following are all the settings which are different in either the production* F  I% h; C* s- T6 n, G" J
  92. ; or development versions of the INIs with respect to PHP's default behavior.: q6 M6 i$ ]- P" _6 w7 b7 ?
  93. ; Please see the actual settings later in the document for more details as to why
    , J6 P! ?! y9 f2 |% k* @- x8 c
  94. ; we recommend these changes in PHP's behavior.0 e0 n% `! w+ [# k, Y8 a

  95. 4 O5 D. m8 ^: M
  96. ; display_errors3 P- x; H/ ?& D+ W* M0 Y$ M+ o
  97. ;   Default Value: On3 }3 M- _) v7 \; w% Y1 G; [$ h
  98. ;   Development Value: On
    ' Z5 F' G' M4 t  m1 Q! x
  99. ;   Production Value: Off9 j! c0 O7 R% B4 W! ]7 o0 K, W' }

  100. , n6 n" Z$ Q) w- B6 Z
  101. ; display_startup_errors
    4 C8 G3 S5 _7 g. D/ Y8 _# U% ^
  102. ;   Default Value: Off
      ]5 _7 q8 H& N' g/ i, s
  103. ;   Development Value: On
    5 S/ u1 g1 Z- M% d/ D
  104. ;   Production Value: Off0 [9 Q* `8 @. s' \; F1 Z% F9 ~

  105. ) t4 t* {" d$ P
  106. ; error_reporting
      H$ Y2 s! l) Z0 J
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    ) c( b) G3 v* _9 H# k1 C# e& }
  108. ;   Development Value: E_ALL% n. a( o- V% k, h  G5 b+ Z5 l
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    " L0 h3 N; Z! ]- s* F; E3 u
  110. # @/ w1 ^7 d8 N" L! k; j
  111. ; html_errors
    8 f2 Z3 z+ {+ p4 Z" K
  112. ;   Default Value: On& g( q, j6 Z% t; R
  113. ;   Development Value: On
    3 f1 b% i4 i: O8 g3 h) r; ?* L
  114. ;   Production value: On9 c! L. C' F) {0 P

  115. * W2 J/ C& n( ]) w! K4 m! J& Y
  116. ; log_errors$ V- I; \/ G2 m8 i0 V% y. ~
  117. ;   Default Value: Off
    ( Q! |7 K+ q* [8 y0 w/ L9 C& Z# w# T
  118. ;   Development Value: On
    + u) }- M. v; [
  119. ;   Production Value: On
    5 J' x: v, E) r4 B; J+ M6 q
  120. 3 O' M5 A" W& A  L; u1 v
  121. ; max_input_time+ h4 M9 c7 ~$ R5 b
  122. ;   Default Value: -1 (Unlimited)# u" F+ W+ x: f6 ^, x  G
  123. ;   Development Value: 60 (60 seconds)
    - j2 F( |% d0 \
  124. ;   Production Value: 60 (60 seconds)
    ' q; a: r$ H# I3 P6 A! Z" v  N
  125. ' v% j! I( c2 s& T- ?5 w) B
  126. ; output_buffering9 }: M- @/ ]. e  _
  127. ;   Default Value: Off( n3 S) a4 |. X8 m( V+ h
  128. ;   Development Value: 4096! W2 a4 U/ ~+ f8 @. Y8 p
  129. ;   Production Value: 4096' G! a7 i; z6 J5 M
  130. 8 n& {" t% t7 S0 m7 J, T: x2 d
  131. ; register_argc_argv
    7 E& T* @9 }. y' y! R' Q7 U7 I
  132. ;   Default Value: On
    " i9 I: r$ ~! i
  133. ;   Development Value: Off. k1 k( ^0 H& `+ h2 s3 J
  134. ;   Production Value: Off+ _& l. g" e: O" g( e  S9 h
  135. 0 l6 n( @- P; t0 g1 q& x
  136. ; request_order
    " \6 J5 T9 u# e
  137. ;   Default Value: None) ?/ I* j: O- _: |1 I
  138. ;   Development Value: "GP"6 G" P3 j3 K+ U: x1 u
  139. ;   Production Value: "GP"' M$ s5 u+ f6 l) m8 K- O7 w8 W
  140. 5 F: Q9 R7 A* P" m3 n; u1 Q6 m
  141. ; session.gc_divisor
    " l6 K/ ?& b' m" t
  142. ;   Default Value: 100
    % f' [& w( M# Z8 T, X, p/ \! q
  143. ;   Development Value: 1000
    ) [/ t9 L% }$ i
  144. ;   Production Value: 1000
    4 Y) z# E/ g4 B, }3 o

  145. ' p( h$ \" y" K
  146. ; session.hash_bits_per_character
    & q1 l% l3 |: M8 w
  147. ;   Default Value: 4, I' v2 h# g9 A5 X1 e9 t& T
  148. ;   Development Value: 5
    * n, |& X2 I! W1 l4 s9 f9 j
  149. ;   Production Value: 5$ T2 \4 r% \2 [4 O5 X) L
  150. % W0 e. S& Z0 ]6 i% l% k' J
  151. ; short_open_tag
    # @% o% a$ h8 `+ N0 ?% u' X
  152. ;   Default Value: On' l. E4 m  B/ J! `4 Q4 [, ~6 S3 v
  153. ;   Development Value: Off
    1 j- o; ~3 ]+ Z! _. e1 _( H9 b
  154. ;   Production Value: Off# M" Y) Q$ `4 i2 g( y- U4 H
  155. " ^# V8 v  V; s
  156. ; track_errors
    7 y8 D# E5 U# B3 X/ M
  157. ;   Default Value: Off, _2 c7 W1 \8 l" B+ U* w4 V
  158. ;   Development Value: On, T. J- A0 j# w& n
  159. ;   Production Value: Off' p. A" X- A- [* ~4 J
  160. 3 K/ ]! [# b* ~
  161. ; url_rewriter.tags# R. z# O0 C+ K: `9 X3 t) ^
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="+ G% X* h  G4 p/ A
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    * M0 ~: [' w4 F5 h/ S' S& T
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ) X( M! N7 n3 I1 _2 y" P! A; L
  165. 3 k$ I. v/ ]  p, X0 o/ u" P# P
  166. ; variables_order6 K, P+ ]! y4 l( H
  167. ;   Default Value: "EGPCS"9 w8 d7 y" M! b- x7 F+ _8 H
  168. ;   Development Value: "GPCS"
    4 s) v0 g. S, Z5 |( ]# k4 W
  169. ;   Production Value: "GPCS"
    + S9 L5 Y! K& u+ m. `! R" z# q* p

  170. % {  |" E9 m3 C
  171. ;;;;;;;;;;;;;;;;;;;;( D, A. W) o' }4 e, A- R
  172. ; php.ini Options  ;
    : E3 M" m7 J) B2 `% Q' j/ {6 v
  173. ;;;;;;;;;;;;;;;;;;;;
    8 x3 T1 ?/ j0 w. I$ I* Y
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    9 X# X6 L& F% J
  175. ;user_ini.filename = ".user.ini"; \+ d# J% x% J
  176. 5 d' U! R: ]: _1 @/ w( D) E
  177. ; To disable this feature set this option to empty value! p9 U' c: |1 N6 u* {0 ~- c& ~
  178. ;user_ini.filename =
    , K! q7 H* S; \  z4 G

  179. 3 m! r( \7 F: @; n! e9 V  `
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)3 a9 [7 _1 s7 H0 d6 Q
  181. ;user_ini.cache_ttl = 300
    6 W: `  w' F/ g
  182. 6 O$ B  r1 a2 f. D- l) I: A7 e
  183. ;;;;;;;;;;;;;;;;;;;;% G6 _/ j( ~6 Y2 w
  184. ; Language Options ;
    ; `$ F$ r% n7 h, v# O
  185. ;;;;;;;;;;;;;;;;;;;;! _8 D( Q* V2 ?& `; j0 C
  186. ' {6 ~$ x1 Y' o
  187. ; Enable the PHP scripting language engine under Apache.
    - r& J( V& a) a. w. T% C) t; W) q' \
  188. ; http://php.net/engine
    ; A8 X4 C1 J, I( A
  189. engine = On
    % q3 [( A- R8 ^. s2 a4 K9 G! Z, c
  190. ! l. u) C! H7 F2 f! L
  191. ; This directive determines whether or not PHP will recognize code between
    - |3 {7 N9 m6 x% U; k) W
  192. ; <? and ?> tags as PHP source which should be processed as such. It is- a( B5 F- g' J+ N/ J
  193. ; generally recommended that <?php and ?> should be used and that this feature
    . E" P3 R( S: D/ x+ X. s  f0 _
  194. ; should be disabled, as enabling it may result in issues when generating XML. t( D# a, Q7 z& F: `& {7 A
  195. ; documents, however this remains supported for backward compatibility reasons.1 m' ]$ [; g6 `( O, Q+ C3 \
  196. ; Note that this directive does not control the <?= shorthand tag, which can be, y" x2 C  a; R0 S$ Z' \, {
  197. ; used regardless of this directive.6 `. t+ G; T, n5 V# m
  198. ; Default Value: On9 j- p( ]# I5 s
  199. ; Development Value: Off) ]6 f$ w1 B' z" j3 N( h3 R
  200. ; Production Value: Off
    $ \( B1 [3 ~, E% [' i
  201. ; http://php.net/short-open-tag
    7 I3 s+ a; _* M
  202. short_open_tag = On
    : p8 o1 r% U0 g) c; Q9 b6 d
  203. # H6 o% U9 Y) P, n: L4 l
  204. ; The number of significant digits displayed in floating point numbers.
    - _8 V3 Z' @- p' a3 K! N
  205. ; http://php.net/precision/ |7 m" z2 ?9 ~! Y7 V, H: a
  206. precision = 14
    . ^0 S4 [8 i8 X, L0 q
  207. ( R& u. P1 Z- S
  208. ; Output buffering is a mechanism for controlling how much output data2 Y' X4 H* d2 u) i, |
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that
    1 s) G4 J  J6 i4 s# z
  210. ; data to the client. If your application's output exceeds this setting, PHP
    7 a, X% a. U" A: f( K4 J
  211. ; will send that data in chunks of roughly the size you specify." K) J2 ]+ _( [" G1 ^
  212. ; Turning on this setting and managing its maximum buffer size can yield some
    , I3 Y2 z; H9 ?6 c8 I
  213. ; interesting side-effects depending on your application and web server.
    4 B: T" d7 D5 M5 ~5 t# }* {
  214. ; You may be able to send headers and cookies after you've already sent output- y4 C& B  T+ l0 |
  215. ; through print or echo. You also may see performance benefits if your server is( k- r, r# B& b+ g8 `
  216. ; emitting less packets due to buffered output versus PHP streaming the output  q8 `' H! N  I6 o; m1 u
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    " W) o% K( Q9 ?6 M0 f
  218. ; reasons.2 B7 H$ \1 q) e7 g; h. G2 c
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    $ r; f% J" b6 X: y% P
  220. ;   functions.% r. m1 K: S/ e) ]$ X
  221. ; Possible Values:/ E: E) b- _! S+ C0 f* s
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)
    8 U1 m+ I# e2 K+ J$ P
  223. ;   Off = Disabled8 W; I( c. k6 \" I/ O' D+ V% c
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.# \. O% q, a/ b! S* {' T
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    0 d/ }& w9 ?7 i% C
  226. ; Default Value: Off
    & q. ]7 [- R# u  c7 @6 V, A. O
  227. ; Development Value: 4096
    * M7 j0 L0 e- A) `
  228. ; Production Value: 4096
    * G# s9 R* B& x3 ?+ b
  229. ; http://php.net/output-buffering
    ; Q4 h1 {8 D& b
  230. output_buffering = 4096- W7 R1 r( z* y. h9 }5 M
  231. * s4 B3 y* j1 Y
  232. ; You can redirect all of the output of your scripts to a function.  For# J! R% y0 K# e- i5 X; O0 l  ?, `
  233. ; example, if you set output_handler to "mb_output_handler", character# g0 J9 H9 K7 M( ~+ N2 c8 C
  234. ; encoding will be transparently converted to the specified encoding.
    5 f: b' d% ]9 R* x0 b
  235. ; Setting any output handler automatically turns on output buffering.6 ?4 R& p# e0 ]2 J0 H. o
  236. ; Note: People who wrote portable scripts should not depend on this ini% J) d) n4 L$ i2 V2 R5 j0 A6 ?% M
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    : Z0 Q2 u) W, M5 P
  238. ;   Using this ini directive may cause problems unless you know what script
    + J3 r* ]/ x2 i- b/ V- u% ~: i  G
  239. ;   is doing.. s/ K$ J# a5 \' U: l
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    1 N0 s1 c- s% ?" `  A
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".7 ?# K/ M6 z& ?- m
  242. ; Note: output_handler must be empty if this is set 'On' !!!!/ T) g$ e1 w$ F9 Z+ I
  243. ;   Instead you must use zlib.output_handler.$ w& M% ?" A, {' a5 s8 M# Y8 {
  244. ; http://php.net/output-handler; G8 n/ E$ \$ Q, A9 X
  245. ;output_handler =3 [4 J4 M8 R" S3 [$ H
  246. $ L' c) t# r0 S4 q0 l' f8 |
  247. ; Transparent output compression using the zlib library* a/ _1 \# r+ j" X% K1 b) _
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size% p2 ^3 d, H/ }% N( o4 X% S/ X
  249. ; to be used for compression (default is 4KB)9 C1 y7 `6 D1 G' _( G; G
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    + m! ~% \" U1 h: \7 z4 y3 }6 L
  251. ;   outputs chunks that are few hundreds bytes each as a result of/ X* V, V: U$ r+ p
  252. ;   compression. If you prefer a larger chunk size for better
    * V: h- Z6 i! ?3 u1 I1 K( R
  253. ;   performance, enable output_buffering in addition.' T' X  v4 o5 G2 \0 Z) [
  254. ; Note: You need to use zlib.output_handler instead of the standard" ]' J; \0 h2 G/ \8 g" H! A4 s; a
  255. ;   output_handler, or otherwise the output will be corrupted., L' E# _9 y: }1 N% e
  256. ; http://php.net/zlib.output-compression
    , Z) K) `8 N! ?- l) A; [% v
  257. zlib.output_compression = Off  c! ?% I2 F, C: P" \% v# k6 H

  258. , r# |" j6 i# Y4 B' c3 B* [! m
  259. ; http://php.net/zlib.output-compression-level
    ) l; w9 l9 g3 J6 H9 J9 u8 {+ k! m
  260. ;zlib.output_compression_level = -10 q0 P: Z( ^$ |

  261. 7 ]* D3 _2 Z- ?
  262. ; You cannot specify additional output handlers if zlib.output_compression
    * Y8 t' @3 n. ~  y
  263. ; is activated here. This setting does the same as output_handler but in  x5 M' n; w3 S$ _! d+ B
  264. ; a different order.
    , m' n1 E' ]% P: B. c9 T3 M" ]
  265. ; http://php.net/zlib.output-handler& x" o8 B: d% p2 W# R+ |
  266. ;zlib.output_handler =% ]% i0 ?0 a4 ~# J& u  i& c: f+ R
  267. & O, p  I: Q" z3 O* o; j; A
  268. ; Implicit flush tells PHP to tell the output layer to flush itself8 H5 |  H. v: E" {% ~+ s
  269. ; automatically after every output block.  This is equivalent to calling the
    1 n7 l. I& s8 C2 c6 F/ K" A
  270. ; PHP function flush() after each and every call to print() or echo() and each
    , i( g5 r. ], u: g1 {7 n
  271. ; and every HTML block.  Turning this option on has serious performance/ h9 f! T, R. f' V9 w3 y: [7 ?$ m
  272. ; implications and is generally recommended for debugging purposes only.
    8 N# I; o% y3 M* Z! F
  273. ; http://php.net/implicit-flush; D$ w6 [- |' [
  274. ; Note: This directive is hardcoded to On for the CLI SAPI0 n3 j& c" o4 ?1 M3 L1 j+ n
  275. implicit_flush = Off& U" ]$ r4 h" K: F
  276. 8 z" P& ], [5 ~8 F' S) G8 J5 C! q
  277. ; The unserialize callback function will be called (with the undefined class'6 r, Z+ {8 I3 s$ Z
  278. ; name as parameter), if the unserializer finds an undefined class
    % g6 U4 {5 p. m1 n/ g+ Y* h
  279. ; which should be instantiated. A warning appears if the specified function is
    ' H) C) ]! A5 {4 R: ~9 ^
  280. ; not defined, or if the function doesn't include/implement the missing class.
    - y2 Q0 i1 v3 }3 y1 f, i
  281. ; So only set this entry, if you really want to implement such a4 N, {  Q5 M) X- p1 Y: w
  282. ; callback-function., q% F; i& P" _$ F% B7 p+ G  @
  283. unserialize_callback_func =
    0 _# V. N$ H. ?

  284. # b9 j0 R, u! g( B) Z9 q: s
  285. ; When floats & doubles are serialized store serialize_precision significant: U) J! o- T9 T* O$ }
  286. ; digits after the floating point. The default value ensures that when floats
    1 k% p& O: c+ d/ q+ k
  287. ; are decoded with unserialize, the data will remain the same.
    2 X& ]$ ?+ @$ T
  288. serialize_precision = 17
    & |. ?. j. v2 H! p# e$ {
  289. 7 x: {& o) Z9 z, X! F# h+ {
  290. ; open_basedir, if set, limits all file operations to the defined directory
    . m8 c* f! _8 G5 {
  291. ; and below.  This directive makes most sense if used in a per-directory
    0 @3 h7 c  _: }
  292. ; or per-virtualhost web server configuration file." m2 ?5 W' v# A0 x; l9 E9 f7 T
  293. ; http://php.net/open-basedir
    / X* K+ N& J& H* e5 N4 V
  294. ;open_basedir =
    . R; \/ Q- h  G6 Q5 H6 Y; P
  295. , e( w# D5 m/ ?7 ]3 g8 E5 [$ C
  296. ; This directive allows you to disable certain functions for security reasons.% W8 w# A; q2 _/ J4 [8 {
  297. ; It receives a comma-delimited list of function names.
    8 k- J# n# v) R+ K$ b! \/ O
  298. ; http://php.net/disable-functions' s/ K2 W& a; s5 z; @- U4 `$ G
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru' y+ ~. b# f/ e) K. v) v4 ^

  300. 1 A. k0 A, V; b  M/ A0 W8 M
  301. ; This directive allows you to disable certain classes for security reasons.
    , V1 x: M7 L* W5 u( s
  302. ; It receives a comma-delimited list of class names.+ H/ }$ l+ S5 M: r6 S- c% g
  303. ; http://php.net/disable-classes
    1 ?. y; H; Z: S8 s
  304. disable_classes =$ m" ^6 Q; q3 r! R

  305. ' o* H, C% @; g# |) G
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in" z' \( P7 ~- w
  307. ; <span style="color: ???????"> would work.
    : ~. m% q- x! L" k
  308. ; http://php.net/syntax-highlighting
    + R; q& J9 v3 C+ I% Y% L$ p% }
  309. ;highlight.string  = #DD0000
    * s: @8 e, w  ~2 k1 d" Q
  310. ;highlight.comment = #FF9900: g* }9 w2 h* m+ [2 A% H6 |
  311. ;highlight.keyword = #007700
    $ d+ T& [% r$ i1 L* {+ Z( P
  312. ;highlight.default = #0000BB
    3 {$ Y  g* ?  Q# R  b
  313. ;highlight.html    = #000000! m' D' K$ Q) K! H7 c+ _& g
  314. ( S( P  s$ S; t
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    + z6 Z! D1 b- Y+ y* [
  316. ; the request. Consider enabling it if executing long requests, which may end up) B0 @! I3 n9 }7 {
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior! ?0 Q% x( F. t% }; v( T3 h
  318. ; is to disable this feature.
    9 \1 g1 _) W* V* J: ~
  319. ; http://php.net/ignore-user-abort
    : |8 `6 D; Q4 G& k* S2 o  n% X: c: h( r
  320. ;ignore_user_abort = On
    ; c3 B$ @8 O) n
  321. * z5 x* _. r+ D. p& I
  322. ; Determines the size of the realpath cache to be used by PHP. This value should
    " Q  V. r" Z  |
  323. ; be increased on systems where PHP opens many files to reflect the quantity of, x5 x) O# r& h0 X1 [
  324. ; the file operations performed.2 l2 m7 Q( f( K4 J; I
  325. ; http://php.net/realpath-cache-size/ ^+ [- F  I* g# H) F% w
  326. ;realpath_cache_size = 4096k
    4 R0 t( k) H5 g  @: d3 I/ M

  327. 0 {5 A1 U! ]% _5 f+ w9 |( m
  328. ; Duration of time, in seconds for which to cache realpath information for a given  v+ |! p) [2 \% \3 x
  329. ; file or directory. For systems with rarely changing files, consider increasing this
    1 T9 E! w% u0 H0 a$ T; i
  330. ; value.
    $ `; W( U( s( g+ z
  331. ; http://php.net/realpath-cache-ttl; O+ L7 Z1 S: e
  332. ;realpath_cache_ttl = 120
    ' S/ ]# W/ G$ Y: Y" W

  333. 8 O4 |: w9 m% p& @1 i
  334. ; Enables or disables the circular reference collector.$ q0 D) M, I0 s& K: M
  335. ; http://php.net/zend.enable-gc
    : O- c2 H3 w" j
  336. zend.enable_gc = On! N2 B8 R! I! X( Z) A3 j8 ^$ g

  337. ) T2 M9 v5 O1 d, n
  338. ; If enabled, scripts may be written in encodings that are incompatible with0 ]! s; }# |* n+ v% q4 u
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    & a/ n3 m/ S! t  i% f
  340. ; encodings.  To use this feature, mbstring extension must be enabled.
    ) W* h0 x3 z! X( a
  341. ; Default: Off) n8 L0 {; S$ p4 G2 `" s
  342. ;zend.multibyte = Off/ E% C) V4 ^* E2 u! q. f
  343. 3 k8 {3 p0 u; C* d' V
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    % B2 ]0 t4 o; H
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.- s8 ?; Q9 D4 c/ s+ B
  346. ; Only affects if zend.multibyte is set.
    % E5 t9 T: a9 ?
  347. ; Default: ""8 j0 f0 N# I6 M1 p7 N% v$ ~4 j/ d
  348. ;zend.script_encoding =2 `$ s) b9 v1 u% f! X, E6 s& M4 f
  349. ' J, s4 c9 ]2 Q6 U$ H+ }- d; L, H
  350. ;;;;;;;;;;;;;;;;;
    ; i1 l( u3 @( G+ M
  351. ; Miscellaneous ;
    $ {! P+ R) ^9 n& f7 w  ]! H
  352. ;;;;;;;;;;;;;;;;;) \* A: X2 I  x' B

  353. 6 \% J( V9 v) |! ?1 P3 _- k, k
  354. ; Decides whether PHP may expose the fact that it is installed on the server
    : g4 ?( n+ e- i4 U8 m
  355. ; (e.g. by adding its signature to the Web server header).  It is no security
    9 G! ~) n0 D: A8 {* S9 I
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    9 ?6 A) }) g* z* z6 T2 b
  357. ; on your server or not.7 P" u  W: }' C6 L: ?
  358. ; http://php.net/expose-php& ?3 x* W/ z* t
  359. expose_php = On
    ; Z" l2 j. X- B: }' R8 W

  360. # w7 k4 ~4 T/ U2 D( k' K- D& P
  361. ;;;;;;;;;;;;;;;;;;;
    % `# g/ j% K$ ^0 F. h3 ]8 \5 V$ @3 l
  362. ; Resource Limits ;
    ! b/ u1 i% s8 V$ T  g
  363. ;;;;;;;;;;;;;;;;;;;7 H) x8 _' y( ^6 H

  364. 1 _2 w  b4 y: g; K) o
  365. ; Maximum execution time of each script, in seconds
    $ p' |# P- C) M+ B. \3 j- N
  366. ; http://php.net/max-execution-time
    8 [) e, l% D3 v, e0 i  E( H
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI. E$ V# h' C) m, |2 h7 \
  368. max_execution_time = 300' [' K7 `; u9 z+ x  R4 R

  369. 8 i1 v( ^6 S. P* f$ Y
  370. ; Maximum amount of time each script may spend parsing request data. It's a good
    # `2 Y0 o# t7 Q7 ~3 Q1 G
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly( b2 x& U3 p- F8 b2 h/ f
  372. ; long running scripts.1 g! Y. L% d  n; Z# }* e& w
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    / B7 v$ ^" c3 ?
  374. ; Default Value: -1 (Unlimited)) j. m' Q0 I+ v9 u2 I6 c/ i
  375. ; Development Value: 60 (60 seconds), b. j9 ~, i6 a. a& v7 B7 U
  376. ; Production Value: 60 (60 seconds)% o0 N/ L) V: H
  377. ; http://php.net/max-input-time  d5 B- ]+ s& ?- X/ q& O1 c
  378. max_input_time = 60: {- k  u7 d7 X* j8 `6 T
  379. 8 z9 {  o8 L/ g) o# G8 A  a' w
  380. ; Maximum input variable nesting level; }3 X! q) ]1 s! p
  381. ; http://php.net/max-input-nesting-level8 b, Q% m/ t7 J: D" `- M
  382. ;max_input_nesting_level = 64: u4 w* t1 j( g) v$ q  j% g
  383. 2 {$ r' T* _1 q2 e+ K
  384. ; How many GET/POST/COOKIE input variables may be accepted
    8 _9 P4 p; p( `2 h1 t
  385. ; max_input_vars = 1000! Z+ g$ d% w2 H. R
  386. 9 \* T) |! j$ t1 |( |+ q' G
  387. ; Maximum amount of memory a script may consume (128MB)
    1 c- C! @; \/ D  {2 O, F5 K7 q
  388. ; http://php.net/memory-limit, I& s+ a$ }6 z
  389. memory_limit = 128M( P- L0 T0 U6 @3 a2 v4 i2 @1 }

  390. + L2 d/ m' t. |. T4 }
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;" J% t8 E% Z" O: C) ?
  392. ; Error handling and logging ;
    ! D; \4 n4 |# W# u
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;$ A! L1 h9 S" f# y+ m3 M4 c; R

  394. : ~7 z. W7 O4 W
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    ! r0 q6 @% R" g2 i# b, U
  396. ; it to take action for. The recommended way of setting values for this
    , |. m% |* }$ e- Q
  397. ; directive is through the use of the error level constants and bitwise
    + Q( o" C- `9 N' M  [6 I/ i
  398. ; operators. The error level constants are below here for convenience as well as9 W3 M+ Z! ], b5 Y) S
  399. ; some common settings and their meanings.
    , f( v0 X% _8 w$ Y1 c: q5 z# T( o
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT1 W6 ?; }1 r. j: G; q
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and/ D$ p2 [! k$ S1 J7 \" t
  402. ; recommended coding standards in PHP. For performance reasons, this is the  ^' D$ l% W% P% A
  403. ; recommend error reporting setting. Your production server shouldn't be wasting& |: t6 k& f  Z% r9 U0 M& g
  404. ; resources complaining about best practices and coding standards. That's what" W+ V. o4 v/ M2 p! t/ E/ K
  405. ; development servers and development settings are for.
    - \' t4 Z& Q5 Z# @
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    6 c8 y( j) N; b  I0 L$ x8 \
  407. ; means it pretty much reports everything which is exactly what you want during& f# m# v7 I* |9 _  B+ p  ~6 j9 {
  408. ; development and early testing.4 U* {6 |$ Y6 _. H
  409. ;# P- b9 o2 k& r2 O! q
  410. ; Error Level Constants:% V5 }: e; ?, ?" \5 w1 ]
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)& F! C: z+ p: E- H. l, b) h
  412. ; E_ERROR           - fatal run-time errors
    ( O0 l& C  o7 [5 B0 A/ i
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    % H8 i# u* x/ Y8 y
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    0 S$ y& T9 S3 q
  415. ; E_PARSE           - compile-time parse errors
    $ n1 h3 q2 F" [# J
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    ) S4 Z* L9 k3 Z# z9 {
  417. ;                     from a bug in your code, but it's possible that it was
      _: _4 E1 [; \+ ~
  418. ;                     intentional (e.g., using an uninitialized variable and7 h3 c7 b1 Z: h
  419. ;                     relying on the fact it is automatically initialized to an
    1 D! B( {8 D8 W/ Q
  420. ;                     empty string)
    & v7 b' J  [8 ]( [) H
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes) c! ~, |3 N) |) x3 L: K* W
  422. ;                     to your code which will ensure the best interoperability
    % S0 [6 J' Y! z" W. V" k4 I" b
  423. ;                     and forward compatibility of your code/ A- m* R: l5 W% s- F+ V0 J; S$ t
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup
    2 U+ C: U# t: ~! _
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's2 B* u5 Y  I9 A& j6 [2 b2 V
  426. ;                     initial startup$ i, x  y: v6 T0 o% F, I
  427. ; E_COMPILE_ERROR   - fatal compile-time errors# N* A: a& r/ P# f, r
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)# f. l- l2 b' p; y" P/ j# X+ u  A
  429. ; E_USER_ERROR      - user-generated error message
    ' L' J; U; h' ]
  430. ; E_USER_WARNING    - user-generated warning message( q+ ?* c0 n! _/ F- t: d2 s
  431. ; E_USER_NOTICE     - user-generated notice message1 u$ y' U% D/ I
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    2 T1 E8 t8 `5 P: e: O( A
  433. ;                     of PHP
    5 I1 R+ G# h% x5 E- \
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    & k/ c( p3 a# _7 I( t7 ~8 L" c5 T7 q
  435. ;) ^+ f3 ^3 b# i7 U9 }: g
  436. ; Common Values:
      l9 V, a6 h' n; t
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    3 b0 Z+ s% E: Z( h/ E! h9 K
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)
    & e) ?/ n  F5 ?7 e/ b
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    ! X* ~# @* x1 x6 x( @8 `
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)& E; \6 ^* b$ w8 z3 `6 K
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    3 ]  i" j; _. u% P. _
  442. ; Development Value: E_ALL: }6 U2 v6 t; a) E" Y* f; [
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT# v5 Z3 c8 `6 A& Y# X/ j" O
  444. ; http://php.net/error-reporting6 O; {: Z! \1 I5 z
  445. error_reporting = E_ALL & ~E_NOTICE. D& U, j0 }" r( e) O) Q
  446. 5 F7 {/ L/ H6 h+ l5 r2 A/ |
  447. ; This directive controls whether or not and where PHP will output errors,) u4 L5 e! e- B: u
  448. ; notices and warnings too. Error output is very useful during development, but
    3 @: e7 a: j' N/ M
  449. ; it could be very dangerous in production environments. Depending on the code  H/ I$ m4 n7 W+ k9 b
  450. ; which is triggering the error, sensitive information could potentially leak# n3 U7 E0 h) X5 x
  451. ; out of your application such as database usernames and passwords or worse.& F' R7 e9 D. z* U8 I" Q& A9 i
  452. ; For production environments, we recommend logging errors rather than
    - k" m# o* b5 }6 g, i5 p8 @$ r" V3 W
  453. ; sending them to STDOUT.0 B' _9 E, |, N! W$ J; X; ~& z. e
  454. ; Possible Values:
    - X' Y" }- h# Z% s4 m
  455. ;   Off = Do not display any errors8 z: F0 a' a5 ]( w- R
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    ) X5 }* ?, j! q) T8 B
  457. ;   On or stdout = Display errors to STDOUT
    8 U: @; b' k3 w5 j
  458. ; Default Value: On
    + x3 q6 e7 J7 M5 `* |, Y  k
  459. ; Development Value: On
    2 V9 L# [8 [* C' i
  460. ; Production Value: Off
    ' Z2 h1 U) X4 C' w8 O0 y8 F
  461. ; http://php.net/display-errors' W$ b, k; i/ E
  462. display_errors = On
    / p7 u2 j  S+ }) S" S& J3 I& f
  463. ' H6 [$ X- u: A, o; \- ^
  464. ; The display of errors which occur during PHP's startup sequence are handled8 m0 n  |2 z5 a; Y! X
  465. ; separately from display_errors. PHP's default behavior is to suppress those9 G1 y0 h$ e, E; G: Q
  466. ; errors from clients. Turning the display of startup errors on can be useful in3 r) N5 H; B. P  y. o
  467. ; debugging configuration problems. We strongly recommend you& p. n" A% F$ H. r* \" M3 [" I
  468. ; set this to 'off' for production servers.
    $ y9 F. ~( E, X0 B% a3 S
  469. ; Default Value: Off6 B. z; x2 K# L# I3 s' S
  470. ; Development Value: On# ^7 g/ |/ f' }# E- x2 K  V5 D  e2 d
  471. ; Production Value: Off1 l" w8 q; M- g) X6 k$ M
  472. ; http://php.net/display-startup-errors
    4 A' V9 D! p% Q" I
  473. display_startup_errors = Off' u' I& R2 s- }8 ]) }4 D

  474. : ]) B! @2 V& Y( e- h
  475. ; Besides displaying errors, PHP can also log errors to locations such as a7 z# M* q$ x( a( q! L0 q# A! T: j! o0 c
  476. ; server-specific log, STDERR, or a location specified by the error_log/ h8 r& U* U+ o; e4 g% Y
  477. ; directive found below. While errors should not be displayed on productions
    3 B: s( b* z" X% t4 x1 z. O
  478. ; servers they should still be monitored and logging is a great way to do that.
    # w$ p! [2 w: ]5 @) Y3 c' c5 R- m
  479. ; Default Value: Off1 ^1 R8 G: F1 T' @
  480. ; Development Value: On: j' g% w( d" @$ V# z, j
  481. ; Production Value: On( [- s9 P0 H( @# \( ^2 g
  482. ; http://php.net/log-errors. A6 p! A3 ^! g; ^1 m  r4 n
  483. log_errors = On
    - t/ w, n8 I: P: C2 y) O4 d

  484. ' Y1 H: O, B- y; M5 w0 x4 e! T
  485. ; Set maximum length of log_errors. In error_log information about the source is
    % R: ?( Q* A8 s2 E1 N: {0 l
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    ! v3 D: d/ s5 {: L' |8 h4 H' D
  487. ; http://php.net/log-errors-max-len
    : {) t1 y7 w# w
  488. log_errors_max_len = 1024
    - X8 |: m0 y3 o- [( i* G

  489. 0 W7 U  `# Q0 r" w
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same* L$ K' l" T& V8 J. l* B/ j% Y
  491. ; line unless ignore_repeated_source is set true.1 u' W# R* @* R1 H! Y
  492. ; http://php.net/ignore-repeated-errors5 {, M) h4 `1 a/ @3 Y
  493. ignore_repeated_errors = Off: l+ {6 p! k7 H5 i  P, k. Z, G

  494. # O  V- }; \# _& r
  495. ; Ignore source of message when ignoring repeated messages. When this setting
    7 }; j% a8 l6 z* v, y: H
  496. ; is On you will not log errors with repeated messages from different files or* J4 a9 E+ |/ H" z- N
  497. ; source lines.& K/ |  W, e! x) D* r: B- x" e
  498. ; http://php.net/ignore-repeated-source
    $ h0 @; f) d' R
  499. ignore_repeated_source = Off
    1 V& F' n, B* E; M. @% m
  500. * `7 F- H, }% ^; `: X
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on& Q' V" @: q* R7 P$ b( q* q% y
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    , E# b" y9 g% l1 T; w, k2 x
  503. ; error reporting includes E_WARNING in the allowed list
    9 Z: H/ l- \" W" c) W: a
  504. ; http://php.net/report-memleaks1 ?5 {2 f; U0 X6 H7 z5 R
  505. report_memleaks = On4 A; `, R0 m. H$ `; V8 z

  506. ; ]% l1 ?# Z. }1 c$ y/ S/ v/ Q, X8 L
  507. ; This setting is on by default.; I, R1 X" K3 F) {* q
  508. ;report_zend_debug = 0# P/ G6 g! L6 Z% P  G9 ^& g7 H

  509.   p! @" N, M/ n: r% a2 V0 o
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value6 A* v& R. T+ H, J  `" `4 Y
  511. ; to On can assist in debugging and is appropriate for development servers. It should% M1 Z& Z1 G7 J
  512. ; however be disabled on production servers.8 y: I# u% x" l3 K
  513. ; Default Value: Off5 ]7 h1 s$ z# E  q4 m, U! Y
  514. ; Development Value: On$ }+ Q% I4 @) ^0 z) o! M: l
  515. ; Production Value: Off9 v( t( u+ w- G4 @2 j
  516. ; http://php.net/track-errors2 H6 n& F/ Q9 @5 w! V5 z
  517. track_errors = Off
    9 K  Z* G9 d' s: E( T; ^
  518. / e" F6 W4 U. U( y6 e
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    7 K6 ^( N4 n# l, b
  520. ; http://php.net/xmlrpc-errors5 I9 }: {* H+ l! c) G3 v* I5 E
  521. ;xmlrpc_errors = 02 D; q  T9 u, Z; T8 [% k
  522. & s! [% @$ d& m$ g/ Y
  523. ; An XML-RPC faultCode$ T, w  y( }+ k+ q
  524. ;xmlrpc_error_number = 03 o4 p3 c1 L5 ?

  525. 3 Y1 z" X- o2 q, p# b
  526. ; When PHP displays or logs an error, it has the capability of formatting the7 B  n1 `9 ?2 P5 t
  527. ; error message as HTML for easier reading. This directive controls whether, ?0 V2 S5 T# V9 u, K5 \$ m, _
  528. ; the error message is formatted as HTML or not.$ a# o. w6 ~% u9 N. v
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI
    - A2 S2 t$ o- K
  530. ; Default Value: On
    * o1 h0 K- O' g( @  q3 i
  531. ; Development Value: On: s, }$ W9 L: y3 k8 J$ d( J( d
  532. ; Production value: On
    & ]: D' W8 a/ U2 R
  533. ; http://php.net/html-errors; M# B, W1 c5 E0 b: h8 _
  534. html_errors = On
    : p: \5 [0 {8 T$ e

  535. : W* U1 {- F& G, a7 a4 R
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP
    8 p1 Q1 B, A; D( J
  537. ; produces clickable error messages that direct to a page describing the error
    5 t) Q2 p# G1 n7 R2 l
  538. ; or function causing the error in detail.
    ; F" E0 {  L5 K1 s' C, X" D) p) j
  539. ; You can download a copy of the PHP manual from http://php.net/docs
    + s5 a; L8 e! E0 A- H
  540. ; and change docref_root to the base URL of your local copy including the5 s1 n) w( d" J' M$ V2 w
  541. ; leading '/'. You must also specify the file extension being used including& p/ W) q! n3 k7 c8 N6 r% D- C1 b
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which/ \' e, O* b- Q+ ?* t
  543. ; case no links to documentation are generated.
    : S8 l+ I$ ^. O% G# _( H4 K! ]0 X
  544. ; Note: Never use this feature for production boxes.9 k! [9 p6 Q, ^3 {  R
  545. ; http://php.net/docref-root2 R( F# A/ s1 x$ i" g8 d
  546. ; Examples
    . ]; g8 h. V# X/ S
  547. ;docref_root = "/phpmanual/"
    - H$ O1 g7 N7 ?6 ~$ U: J8 h
  548. : ?& B% d- r9 v" V3 s% B
  549. ; http://php.net/docref-ext6 r% e( {0 B8 k& W5 w' K
  550. ;docref_ext = .html
    4 i" j) z; g! b% d$ U; g% x

  551. ( J, [( \7 y, w0 l% N/ J. ?
  552. ; String to output before an error message. PHP's default behavior is to leave
    1 u5 I- b2 w% Y. D1 P
  553. ; this setting blank.4 ?: I; A" [( X- B1 K
  554. ; http://php.net/error-prepend-string7 ^4 Z" N% U/ q0 x
  555. ; Example:
    3 {5 U$ m1 q6 U7 `7 ^/ _7 C
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    9 T& Z9 g6 g' n$ Z- P( p6 S

  557. 1 x' T) d2 o& [
  558. ; String to output after an error message. PHP's default behavior is to leave
    ! C0 I  Q6 t/ ]( G( M. Z9 ?
  559. ; this setting blank.0 w4 W" }1 @) g
  560. ; http://php.net/error-append-string) E1 T8 n0 @' T
  561. ; Example:1 {6 D6 l; q; c9 o6 k
  562. ;error_append_string = "</span>"7 C* O' [$ E8 M1 O$ P, U
  563. 1 G" R$ O% l! |# |: }+ I
  564. ; Log errors to specified file. PHP's default behavior is to leave this value" p% j6 Q4 q, [8 n) d  J
  565. ; empty.
    , f; H) j* m9 S1 ^7 x
  566. ; http://php.net/error-log
    6 C# F* A7 u5 u8 b" b7 t, m8 `& _
  567. ; Example:; d( M8 b- l7 C
  568. ;error_log = php_errors.log# }. e. z8 [) d
  569. ; Log errors to syslog (Event Log on Windows).
    - \6 A8 n/ v8 V
  570. ;error_log = syslog! w$ |- q5 u) z
  571. 0 ^% c8 a& y  G
  572. ;windows.show_crt_warning' D# ^) r1 Q) c$ f8 }9 |; B
  573. ; Default value: 0
    8 r# P+ t. r4 z
  574. ; Development value: 00 a0 ~, {% ^- z+ u0 ^! N
  575. ; Production value: 07 d, e, Z" x( G2 x, f

  576. 4 N( K" E) F2 P, w
  577. ;;;;;;;;;;;;;;;;;8 D& ?9 U+ i/ Y, a# L
  578. ; Data Handling ;& @8 p- ]& J# _) W
  579. ;;;;;;;;;;;;;;;;;  N. R$ Y7 [, M- _+ z3 B1 @. p0 O
  580. & t& l  N% W6 |
  581. ; The separator used in PHP generated URLs to separate arguments.
    . L. W' i& y" y5 u* \
  582. ; PHP's default setting is "&".  D/ x3 U& T& K; y7 Z
  583. ; http://php.net/arg-separator.output
    . m& W; d# Y5 `0 T3 g
  584. ; Example:
    ; P0 |1 [/ D1 j/ g* W/ g
  585. ;arg_separator.output = "&"
    ' X$ E% B( s; ?" D; \& A
  586. , d5 k0 s3 D, T2 J
  587. ; List of separator(s) used by PHP to parse input URLs into variables.
    " I& q1 ~8 k- `0 D& F
  588. ; PHP's default setting is "&".% j" ^8 d6 H! W5 X
  589. ; NOTE: Every character in this directive is considered as separator!
    5 `3 W* X& ?5 Z1 x% B9 ?
  590. ; http://php.net/arg-separator.input
    # y+ W1 j2 b; }# C
  591. ; Example:
    % K- c3 G$ m) M8 U" @7 S; e+ e6 Q
  592. ;arg_separator.input = ";&"
    5 Z' Y1 d* I1 Q' ~- S+ {) e

  593. 5 }2 C4 d, M( }8 b: a
  594. ; This directive determines which super global arrays are registered when PHP# n4 ^, K4 F6 i: L
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    4 H1 F7 }) }1 M: g, d. u
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty( F0 [, ]* H, A
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    " [1 H* N- X' n6 X  L
  598. ; used as the others, ENV is not recommended on productions servers. You
    8 U% C, p, I: M3 z5 q
  599. ; can still get access to the environment variables through getenv() should you( d- l$ w& |' W8 d
  600. ; need to.
    * C& B' I/ o3 ?  I: o+ }
  601. ; Default Value: "EGPCS"
    8 m  E% r. J1 X  ?4 I+ W
  602. ; Development Value: "GPCS"
    - W7 ]$ c4 l  N! C3 q# \' Q
  603. ; Production Value: "GPCS";5 v+ o( |3 c7 O2 o% L% v, g$ r" m
  604. ; http://php.net/variables-order
    8 g  @, r. B; k% @- ?) p
  605. variables_order = "GPCS"
    . ^1 p* d$ w, M  m3 m& Y. p; D: ^
  606. ) _  K! u. p$ S3 Q' g2 ^4 e# `( c
  607. ; This directive determines which super global data (G,P & C) should be% A# s1 k' y1 a3 a
  608. ; registered into the super global array REQUEST. If so, it also determines
    . [+ s' |3 ]! ]" W1 q
  609. ; the order in which that data is registered. The values for this directive, {7 m. S2 _1 D
  610. ; are specified in the same manner as the variables_order directive,
    7 ]1 B0 M2 I7 r4 b1 i" [$ Q9 ~! W
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set. n+ ]7 W: H2 e7 I3 n& _$ w
  612. ; in the variables_order directive. It does not mean it will leave the super. L5 {$ s9 t: ]/ c
  613. ; globals array REQUEST empty.
    $ C2 F7 N; C( R2 V; S
  614. ; Default Value: None
    1 A2 [5 X% f' \
  615. ; Development Value: "GP"
    & v/ z# v- j$ ~0 T3 V
  616. ; Production Value: "GP"
    8 [: ]4 W3 q+ F
  617. ; http://php.net/request-order0 t% D# _0 |  N( W  b  Q/ j
  618. request_order = "GP". X# u, w: ]9 D) E2 E

  619. 2 r0 x6 T- B; I! _( p8 |7 s" a4 V
  620. ; This directive determines whether PHP registers $argv & $argc each time it+ c- a7 |+ C! G  K6 b5 l; P
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script8 t  u* Q* O* u
  622. ; is invoked. $argc contains an integer representing the number of arguments
    ( l& L) e, z/ B& |3 U0 D
  623. ; that were passed when the script was invoked. These arrays are extremely
    + a; e$ Y- \4 s0 `, p
  624. ; useful when running scripts from the command line. When this directive is
    , D: I7 E: S% E. U! A
  625. ; enabled, registering these variables consumes CPU cycles and memory each time6 i% _. Y' R/ Z+ N; Y$ C
  626. ; a script is executed. For performance reasons, this feature should be disabled% i# z5 C& Z0 ]$ P8 [' _( X
  627. ; on production servers., f% h* q7 ?* c6 V" q' M
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    ; L5 K4 s, \2 ^* o7 d) k5 k6 Y, [
  629. ; Default Value: On
    , `$ _6 h+ z3 I+ I
  630. ; Development Value: Off
    & ~( T% w7 I" i; O) z, q
  631. ; Production Value: Off
    , G7 c. ^! H5 D
  632. ; http://php.net/register-argc-argv
    9 t- ^8 \' U' o# ~5 j5 N7 N
  633. register_argc_argv = Off* M: O1 e# s, n8 C, ~
  634. % E( ~  m* [5 k# n8 f% b, C% p7 h
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    4 Z5 i0 O" E  Y9 I; ]- Q
  636. ; first used (Just In Time) instead of when the script starts. If these
    2 ^8 ]1 g# k0 e( I; O
  637. ; variables are not used within a script, having this directive on will result
    3 _6 |2 V8 y, r) G
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled
    8 W4 c( K; a' z- q1 r
  639. ; for this directive to have any affect.% ^% ~5 H# X3 X  n4 S
  640. ; http://php.net/auto-globals-jit
    ! z3 z+ X! U5 A+ f0 K
  641. auto_globals_jit = On- e) e$ t5 r. K% e7 t& O* g
  642. 3 T7 k# L# n& h: W) H0 c7 q& U
  643. ; Whether PHP will read the POST data.7 m# T: v. {2 ~) @
  644. ; This option is enabled by default.
    " W' }9 S3 b& N7 ~* J' R2 A
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST0 `6 l) T7 g) Z: ^8 s: Y
  646. ; and $_FILES to always be empty; the only way you will be able to read the4 _# M) @" v2 L" |# H
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    6 K) C- L$ N, b
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.( Q/ Y- U/ F8 ~
  649. ; http://php.net/enable-post-data-reading) r; d, X, r+ u: L4 l
  650. ;enable_post_data_reading = Off
    $ M$ f" j" V' M# Z7 g5 h

  651. ; @1 f; G/ d! V/ d. s* g( x
  652. ; Maximum size of POST data that PHP will accept.0 X6 E& h5 P2 y5 e
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    ; E2 o; H8 t# Q/ }4 h2 A' n
  654. ; is disabled through enable_post_data_reading.5 c- ^/ @1 Z( K( R# n
  655. ; http://php.net/post-max-size
    # t6 E1 |) O$ A5 T# U
  656. post_max_size = 50M
    * W6 x4 v+ F- `0 x3 w4 X

  657. / s1 \1 k- ~7 K/ y3 j- R, }6 x9 A8 Y
  658. ; Automatically add files before PHP document.- x" y, V& b: A
  659. ; http://php.net/auto-prepend-file
    4 I& p8 X. S% F: c
  660. auto_prepend_file =" _, }0 @' w* x  Q4 Z& b9 T: C

  661.   \/ I5 }6 X1 V" {4 f4 E! S: B
  662. ; Automatically add files after PHP document.) \, c7 A1 y( g/ B0 V
  663. ; http://php.net/auto-append-file8 v! w# S: p( Y' ^  r# r* B
  664. auto_append_file =
    - k& |6 d6 w) u$ k2 |  T
  665. ' I/ ~: x3 c: @! X6 P& X7 ~8 H& J6 n
  666. ; By default, PHP will output a media type using the Content-Type header. To  i: N  Z5 ~7 x9 s
  667. ; disable this, simply set it to be empty.- T: J) O- I! H
  668. ;
    4 v5 @8 y1 E1 S( {7 k
  669. ; PHP's built-in default media type is set to text/html.1 D9 D1 l' ]/ ?. h8 h
  670. ; http://php.net/default-mimetype
    - e3 u! o' U  ]1 ]6 f- z
  671. default_mimetype = "text/html"
    ; M* I2 u1 s' `# L0 ^6 L! r. I

  672. ( B( ^0 @: C8 Z+ w
  673. ; PHP's default character set is set to UTF-8.3 x8 s" j' i3 D
  674. ; http://php.net/default-charset
    ( v& f+ _; J5 l
  675. default_charset = "UTF-8"
    5 Y7 B' a6 u1 h

  676. 7 N4 ^) D/ s) d$ I
  677. ; PHP internal character encoding is set to empty.0 P) Z* ~1 {7 k9 B2 J
  678. ; If empty, default_charset is used.
    ! `' H$ m$ H" @, h1 R6 _
  679. ; http://php.net/internal-encoding' K; X+ B4 E' M0 X6 e  p
  680. ;internal_encoding =
    / r- H3 N8 M0 a; p' ]8 g9 }

  681. 8 J- D8 n0 H( M: v; f
  682. ; PHP input character encoding is set to empty.. n$ Y- u9 R$ J7 |' |# g( m6 B
  683. ; If empty, default_charset is used.
    % k# _; n% O  G$ W* k: ~6 h
  684. ; http://php.net/input-encoding' T4 s! U- Z/ k8 \' d; D
  685. ;input_encoding =
    4 Q  X% U- z' {) I$ H# {" L: s
  686. 8 l! F2 G# C) \/ [
  687. ; PHP output character encoding is set to empty.3 F$ U+ }. ]6 q: u
  688. ; If empty, default_charset is used.( }+ N8 G& Y6 J3 ^  g( ]7 Z
  689. ; See also output_buffer.4 }% Z) \! e  v4 W5 q9 h. @& k
  690. ; http://php.net/output-encoding, N8 d: E) W' i- h% v
  691. ;output_encoding =
    6 `3 i+ k9 T6 r

  692. 5 Q3 g& T6 Q, @' f
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;- K) V" W( Q+ }* Y
  694. ; Paths and Directories ;
    ) ^1 g4 M- Z) F% J. |, W
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;, Y) ^) h. }1 a0 Z3 c2 }

  696. " i' I$ a$ B0 z0 I3 }" v
  697. ; UNIX: "/path1:/path2"5 l) B. I" X. t5 }1 G
  698. ;include_path = ".:/php/includes"
    / s1 j0 _; U: z2 L+ R" n
  699. ;0 S/ u$ B1 g5 M$ e! y
  700. ; Windows: "\path1;\path2"
    , j0 W4 Q0 a# T" l; T& Y8 r* t. g1 y- `
  701. ;include_path = ".;c:\php\includes"
    " f( e  k( |/ z% f
  702. ;" p5 ^! a: k4 w# o# l9 I- |
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"0 z/ C6 g* v9 b! D+ h4 [6 q
  704. ; http://php.net/include-path
    7 R1 d1 W' E7 A, d$ O7 k2 j: T

  705. ! U% d; T5 y! ^2 e) y
  706. ; The root of the PHP pages, used only if nonempty.! T+ ~  ?, Y& D( ]; w
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    ; m& Y0 ^  e$ e9 J* r
  708. ; if you are running php as a CGI under any web server (other than IIS)
    2 F2 D4 _: a4 }4 R. D- s
  709. ; see documentation for security issues.  The alternate is to use the
    $ I2 h/ s8 V) L1 t3 {" U' d) H
  710. ; cgi.force_redirect configuration below: x- f4 Y' C: s3 Y
  711. ; http://php.net/doc-root
    2 _% q# g0 b! a
  712. doc_root =
    ) l( E& Y( A/ L6 K, L0 g
  713. 9 X' n: X1 v8 d0 L, M# f* Y+ r
  714. ; The directory under which PHP opens the script using /~username used only5 b3 {8 @$ N9 x- Y7 A0 y
  715. ; if nonempty.! @" q* I5 J+ H; @0 d6 G/ X
  716. ; http://php.net/user-dir
    ' Z# S) R4 D, N& t9 q# T+ X. x
  717. user_dir =
    5 Q$ L" D& X2 {5 D3 ~5 h
  718. " b* y9 d# \% L% f; _
  719. ; Directory in which the loadable extensions (modules) reside.: G+ ?6 p, A( k* @
  720. ; http://php.net/extension-dir
    ) o0 _* N. U, V% u$ Z' I
  721. ; extension_dir = "./"( }$ a6 V( _4 J4 u  F5 ?
  722. ; On windows:
    * J' E" u5 |% G/ l+ K
  723. ; extension_dir = "ext"
    , K( h! U- a. _+ a; S8 q5 g% K
  724.   f; Z2 ?( ~. E7 [& |
  725. ; Directory where the temporary files should be placed.* ?- ~% s, E2 W% r! L
  726. ; Defaults to the system default (see sys_get_temp_dir)7 K3 [/ B' G1 b. U" @8 g0 b
  727. ; sys_temp_dir = "/tmp": m+ q: p5 n4 C" T" ^+ E8 v

  728. 8 o) F& f& l+ m- v
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    5 f1 ?6 h" V. c0 O% k
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    0 G0 U1 B% R+ J, o8 ?) Q. |2 [
  731. ; disabled on them.$ M: Y: h* _& J& {/ S
  732. ; http://php.net/enable-dl
    $ ]) w! J' x( x- H9 r2 T
  733. enable_dl = Off
    9 V& W& s. |9 ?% O$ E
  734. ( Z% H5 u4 i  B0 X7 F( A
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under; j+ v! A$ l2 S+ S3 K: f; O2 m
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can
    8 h6 W* Y  h  ~; q/ K
  737. ; turn it off here AT YOUR OWN RISK
    * z* h1 U  c2 c. A: `) W
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    ) X' r7 m5 @7 O, p) \; O4 Y! I
  739. ; http://php.net/cgi.force-redirect
    ( |1 F3 O- [% c3 o! B- y
  740. ;cgi.force_redirect = 1, p* U' U7 b& \4 i2 C
  741. 8 V' A' [, D0 E8 `; D9 ?4 q5 G
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with+ E: r6 F6 }2 v
  743. ; every request. PHP's default behavior is to disable this feature.
    ' C1 _* g; J. m6 ~1 {
  744. ;cgi.nph = 1. X) D  }+ [. t* m( ~3 q5 L
  745. ! Y& D6 b7 B* q0 |
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    / _( O3 Z$ ]. ^3 U( ]3 g
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    4 q- u  v" c" T, C6 A; O5 O
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY2 z4 H- T5 L/ {  u* }5 H
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.
    8 ^, N* F; M4 e* Q
  750. ; http://php.net/cgi.redirect-status-env
    1 ?4 o0 O+ [$ O1 U- `8 X- ~1 d
  751. ;cgi.redirect_status_env =  D1 e6 A5 c  z6 Z) U4 n

  752. % f* K: Q5 y, `, I& f; c4 ^2 A
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's/ S) @& s, C" t9 T: U
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok3 s( A, W1 U  L# m% [& y# S% K
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting3 O' E4 p! a7 u, |2 Y1 g5 p6 P
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
      P3 v2 e2 V- ^' t3 ^
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    ( D, a. D" z" z% X. d
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    8 @8 k3 X! d+ U" W
  759. ; http://php.net/cgi.fix-pathinfo
    ( F3 j8 {4 x! d; E
  760. cgi.fix_pathinfo=1( K3 m2 D8 n* e9 @

  761. . `! Y# h) Z3 {9 D" i, T
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside5 v- J# P( I3 m5 T
  763. ; of the web tree and people will not be able to circumvent .htaccess security.8 ^$ z% }# o9 l+ s; Z+ G4 \2 T  p* W
  764. ; http://php.net/cgi.dicard-path3 @. m! f; ?6 q9 j' o9 a" J3 g
  765. ;cgi.discard_path=1
    . R) S7 S* X: ]( a9 W  m: X

  766. ) E3 u- P. e9 B
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    : u  R) W$ M$ I% q7 D) E. C
  768. ; security tokens of the calling client.  This allows IIS to define the
    4 c4 H4 h* v$ U
  769. ; security context that the request runs under.  mod_fastcgi under Apache0 D) R. v( i2 y4 ]9 c- D5 x
  770. ; does not currently support this feature (03/17/2002)
    5 j; l' @7 _: w+ s- v: o0 n+ w  O
  771. ; Set to 1 if running under IIS.  Default is zero.
    ' g" J$ M7 ], s5 R6 f  @( J$ q
  772. ; http://php.net/fastcgi.impersonate, f1 D2 c! k. ]& u
  773. ;fastcgi.impersonate = 1
    . c5 T8 Z" Z2 r0 B+ W1 T. d9 W

  774. ' F( Z0 B" K' b& `. U3 W
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable+ d: P7 y4 b, i* }5 v+ E; w2 z
  776. ; this feature.
    & U  G7 r0 ]& b; b" v% s/ S
  777. ;fastcgi.logging = 0
    % _* l0 F% O, K# ?/ r

  778. 2 M$ n  o2 {4 S( ?9 R4 R  s: X9 f
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    6 R7 e9 d$ F/ f- X
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    # X& w4 f8 F( R& c: `( p6 d3 o
  781. ; is supported by Apache. When this option is set to 1, PHP will send
    ! r, D3 b1 @  E4 K/ U0 O5 N
  782. ; RFC2616 compliant header.( r! s6 d; Z& L
  783. ; Default is zero.* P; t, a3 Q+ E1 |9 C* ~
  784. ; http://php.net/cgi.rfc2616-headers
    ) B; n% b* N6 m4 X; L
  785. ;cgi.rfc2616_headers = 0
    # J* l  k- ^" G7 C
  786. 9 W5 a1 W* c3 h* a$ `4 g* W/ U
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!- k) q' m* Z2 o  J& ^" O
  788. ; (shebang) at the top of the running script. This line might be needed if the. n$ X- T" P1 X! C* @, \; t
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI( ]' |7 d: A. I+ k2 n7 K
  790. ; mode skips this line and ignores its content if this directive is turned on.! _! H# I, b2 j
  791. ; http://php.net/cgi.check-shebang-line! _' G4 e+ D* l! S. Y4 k
  792. ;cgi.check_shebang_line=1* e4 _# N9 h! Y9 s0 E/ J% n0 b
  793. ' y3 t* ]" Z- [4 F+ ]
  794. ;;;;;;;;;;;;;;;;
    / I! w$ {+ ~" z9 F
  795. ; File Uploads ;8 ~8 `$ y3 |/ W4 P9 K3 r' H
  796. ;;;;;;;;;;;;;;;;
    $ T( J1 C* P) K" v, P
  797. 9 H9 n" E  D& ~8 v6 M
  798. ; Whether to allow HTTP file uploads.0 V" R/ x) G9 t& x. E3 P. K) y
  799. ; http://php.net/file-uploads5 r$ e' F$ x; I( {; U4 {
  800. file_uploads = On+ L; K# D& q  Z& @, T
  801. 6 }: [- v; R5 a. m
  802. ; Temporary directory for HTTP uploaded files (will use system default if not
    4 c* d  P9 z- f
  803. ; specified).
    6 j9 }* m2 k3 {3 G- x2 J4 Y- F
  804. ; http://php.net/upload-tmp-dir
    + I& K  s" F4 ^4 P0 ~
  805. ;upload_tmp_dir =. B* @$ t& ^0 v. k/ _/ B; J

  806. ( c+ J9 a4 I. k5 ^6 P
  807. ; Maximum allowed size for uploaded files.% L' E+ b$ {% @" ]7 E
  808. ; http://php.net/upload-max-filesize4 r9 ~8 k7 d% |% E' B8 A( u
  809. upload_max_filesize = 50M
    ! f" f; g7 J, g' v+ F! W
  810. - O" o/ T3 q/ K: _
  811. ; Maximum number of files that can be uploaded via a single request
    2 ?% x9 ?& T! Y& u  g, D
  812. max_file_uploads = 20
    8 M7 n: A9 y0 }+ g# F4 F" `
  813. ( m- B* f! V8 y6 I( G/ }4 q
  814. ;;;;;;;;;;;;;;;;;;1 Y1 k9 I8 \' Y/ A6 |9 l0 Y5 b$ v
  815. ; Fopen wrappers ;
    * x9 l8 i% W- U& O* L" {' D
  816. ;;;;;;;;;;;;;;;;;;% W! j/ t  N" }- \

  817. ) d) T' Z" K" S5 {
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    0 o2 {* ~, z! H: v- `5 D+ o
  819. ; http://php.net/allow-url-fopen
    1 P9 y' C+ X$ x, {1 p- n8 G& T
  820. allow_url_fopen = On. X: h* k) f9 k; _
  821. 3 \! \( q8 B9 d; j
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.  z- _# B' }7 Y& l2 c# ~$ S
  823. ; http://php.net/allow-url-include' b4 |2 Z' H1 y3 s" M5 E
  824. allow_url_include = Off
    ; Y, O6 B7 |3 x' s1 T

  825. 3 B1 q( ^; C. f
  826. ; Define the anonymous ftp password (your email address). PHP's default setting
    6 r( R$ @$ i5 v/ \: F8 S
  827. ; for this is empty.
    : @, ?) n  s$ O+ I1 B# d! c
  828. ; http://php.net/from
    . S6 X# |0 r) M8 D1 @# L  S
  829. ;from="john@doe.com"3 O- C6 i+ A6 R4 \( C

  830. ! o! U. t& {! }9 P. g! v: C% J
  831. ; Define the User-Agent string. PHP's default setting for this is empty.; c2 w0 {' y4 g3 \
  832. ; http://php.net/user-agent% a& ~% i+ c( `2 G
  833. ;user_agent="PHP"
      A/ }: w2 c* f, |3 r
  834. . q8 f( I$ q: Z* ?% U/ `
  835. ; Default timeout for socket based streams (seconds)% w4 w9 F. b  e  U2 r$ u5 P
  836. ; http://php.net/default-socket-timeout
    + ^) x! m- K" q! Q$ ?7 w
  837. default_socket_timeout = 60
    8 r  Y1 _3 B8 Y& F: t/ {

  838. & ~( q% Y# T3 s+ @" h9 x$ Y" I
  839. ; If your scripts have to deal with files from Macintosh systems,8 |6 \2 A! a! ]* f6 Y* l
  840. ; or you are running on a Mac and need to deal with files from; s3 v+ w/ ~) \+ J% W7 u
  841. ; unix or win32 systems, setting this flag will cause PHP to
    6 C+ C, p) ^3 ]* s' _% \; [! t
  842. ; automatically detect the EOL character in those files so that
    9 s. b  ~8 P8 e2 p% G- n* U% b' _
  843. ; fgets() and file() will work regardless of the source of the file.
    : P* `$ D, }! z) @. M- B+ O
  844. ; http://php.net/auto-detect-line-endings4 m" Z% p" c8 g
  845. ;auto_detect_line_endings = Off# p! l- j3 ~1 J  ]" E, {% F
  846. 1 s/ A" r3 b; d6 k# T
  847. ;;;;;;;;;;;;;;;;;;;;;;2 |4 K5 c" |9 C4 ?, z# ^% i1 H+ ]. V
  848. ; Dynamic Extensions ;+ E4 _1 @" v* V# K+ ]
  849. ;;;;;;;;;;;;;;;;;;;;;;, o2 q" M% N8 i4 `$ P

  850. 4 e+ U5 ?( S9 m; g. V" A9 M, y! j7 h
  851. ; If you wish to have an extension loaded automatically, use the following6 g! [$ D: V# }* D  N7 p; R* F8 ~
  852. ; syntax:( `4 Z1 X+ x8 q( G, K- T
  853. ;
    8 R$ b% ]1 R' H' Y& @6 R/ {
  854. ;   extension=modulename.extension
    4 m5 I6 P: Z8 l) V$ z% U$ }
  855. ;8 w$ H, p: f' D! R6 a# D- k
  856. ; For example, on Windows:
    ) T# c, l' k; b9 k9 h8 @8 q! p  O
  857. ;
    , ~8 ~3 `, a' [# @
  858. ;   extension=msql.dll7 Q- s: C7 i& {% {( }/ k' M, Z4 n
  859. ;# H/ e- r. v+ L! S! s" N
  860. ; ... or under UNIX:
    2 h1 I" }" X1 Z" p6 L  p, D4 I
  861. ;
    * p7 \- i3 ?7 T0 h+ h0 }% M
  862. ;   extension=msql.so: ~) _0 E6 ^6 {! Q) ^( t4 v
  863. ;
    ' q2 o; x& }' J( _% [4 @
  864. ; ... or with a path:
    " g( a" M: A0 w" F( p
  865. ;- O% a% O8 y+ x: S
  866. ;   extension=/path/to/extension/msql.so
    . X$ a8 b$ {& \
  867. ;$ n# E2 F  s% \
  868. ; If you only provide the name of the extension, PHP will look for it in its
    + R: ^0 f5 ^( y9 k% B* `! M
  869. ; default extension directory.5 M" U4 f# B" c0 \% S
  870. ;
    * Q; G0 ]: u7 R. J- ^
  871. ; Windows Extensions  S) G. e3 Q  y2 a  ^, L3 I
  872. ; Note that ODBC support is built in, so no dll is needed for it." K: W- |% h( F/ K" }+ t
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)# _, P2 P% Y0 k! |0 d
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).( Z+ s) _7 O1 t
  875. ; Be sure to appropriately set the extension_dir directive.# N! t( w, d( d- \8 h! K
  876. ;
    1 z' F& K  k6 W4 z8 x
  877. ;extension=php_bz2.dll
    " J3 f; L7 D# e0 I: a, O
  878. ;extension=php_curl.dll
    1 V7 b4 ]8 ?& @6 X
  879. ;extension=php_fileinfo.dll: R3 J3 P" ^6 j
  880. ;extension=php_ftp.dll; P7 o( }2 P! J+ m1 U7 X
  881. ;extension=php_gd2.dll0 p7 i, ~% O: f1 C0 R
  882. ;extension=php_gettext.dll/ R& P( t3 x  z" _
  883. ;extension=php_gmp.dll
    6 m- H! Z6 [9 N2 O; l% \! F
  884. ;extension=php_intl.dll
    . l/ o5 s( J! n8 O2 Y. S6 ?3 D
  885. ;extension=php_imap.dll
    : _2 w6 }- ~! L2 }3 j  o
  886. ;extension=php_interbase.dll
    : ]. g* N5 ]$ E7 Z
  887. ;extension=php_ldap.dll
    2 R3 M) O; A: }, D
  888. ;extension=php_mbstring.dll
    7 S1 D; M. w6 ^* K
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    . `3 h6 j; A) @$ g
  890. ;extension=php_mysqli.dll
    7 J: V1 D2 |9 S5 h, s& e
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client4 M6 P& N* d; h. E) s& k
  892. ;extension=php_openssl.dll! D8 s7 P% U. [. P8 ]
  893. ;extension=php_pdo_firebird.dll" @6 I2 @: _! `1 \: C2 N; U2 h0 P
  894. ;extension=php_pdo_mysql.dll
    8 p9 I7 {8 J9 P+ \9 b9 z
  895. ;extension=php_pdo_oci.dll
    ) w  F- S" T8 ^3 U. s# C
  896. ;extension=php_pdo_odbc.dll7 y1 ?- m6 t9 l& j4 c0 R; t0 @7 N
  897. ;extension=php_pdo_pgsql.dll
    , T1 }  v) N# P- S6 ~) E6 Y
  898. ;extension=php_pdo_sqlite.dll
    : c3 Z! x+ U& @! Q2 ~
  899. ;extension=php_pgsql.dll  S5 V' @' K0 {. q3 `2 S* o
  900. ;extension=php_shmop.dll
    2 S: k. B7 z8 z" H: D% y- ^0 d) @3 E
  901. : P7 l0 I2 ]: E7 x% I2 H) o
  902. ; The MIBS data available in the PHP distribution must be installed.
    2 [. g; z0 r( D( N
  903. ; See http://www.php.net/manual/en/snmp.installation.php
    * ?; \. S. n* ^2 R% t2 ]
  904. ;extension=php_snmp.dll6 H3 |+ _( w) M- G* r9 x# N

  905. 3 k' X4 A3 n2 e* Q5 ^
  906. ;extension=php_soap.dll
    2 w4 O" Y( u" w6 ]# p# \6 M5 B
  907. ;extension=php_sockets.dll9 e5 j2 P! H+ Q, ?, Y0 |
  908. ;extension=php_sqlite3.dll$ F3 j( G, n5 X* X$ s+ J
  909. ;extension=php_tidy.dll5 |6 x2 b) b6 [" C) k$ s; k
  910. ;extension=php_xmlrpc.dll
    ) t. a2 o# d3 w' o; }0 S3 q4 t; p
  911. ;extension=php_xsl.dll
    # @5 y% K" d- x, v7 g, i
  912. 3 J- U" \% C: M+ t
  913. ;;;;;;;;;;;;;;;;;;;7 Z2 B, [4 y! A" ?0 b
  914. ; Module Settings ;) o+ k) Z5 M. h# Y3 d% F" |
  915. ;;;;;;;;;;;;;;;;;;;' x6 g3 F$ X0 O7 M% v& u
  916. * d  M6 ^: G" ^5 I* M
  917. [CLI Server]
    % m  I# U/ S' l. u# m  H
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    . p) K  ~3 ]  h' {% |( g) X
  919. cli_server.color = On! {( Y  g! W1 Q; j  F4 R' v
  920. ' W: X4 q, C8 ?
  921. [Date]/ }5 f$ X; i/ w
  922. ; Defines the default timezone used by the date functions3 J5 E* b) b% w/ ?1 N/ J$ ^
  923. ; http://php.net/date.timezone
    6 e6 ]  Y; _1 u: W7 t
  924. date.timezone = PRC
    , b( l( p6 l- o: X+ k! \) J% T

  925. 3 I  I; P) ~4 S1 E0 k
  926. ; http://php.net/date.default-latitude
    5 K2 K% B- k  ?" N/ U/ D6 K
  927. ;date.default_latitude = 31.7667* _* f8 [& k6 D4 g$ _
  928. ! E3 o6 e/ X9 b( R& z
  929. ; http://php.net/date.default-longitude
    " N8 S% l5 P6 u: {" g
  930. ;date.default_longitude = 35.23339 m8 K6 u, ], s7 \; Y6 N) L

  931. 4 w- @6 w3 d7 i  L
  932. ; http://php.net/date.sunrise-zenith, g$ g5 F% z1 ^
  933. ;date.sunrise_zenith = 90.583333
    9 t. b2 m! x6 \' X0 X3 g0 u

  934. " ^; A/ K# G8 \
  935. ; http://php.net/date.sunset-zenith2 ]! c& \1 n4 p  z: Y! D$ S
  936. ;date.sunset_zenith = 90.583333
    ( D2 R' V- B% R& @

  937. 0 [7 G! D4 ?! s% D2 A  u. i2 J
  938. [filter]
    9 c% l! b; h; P- t" M: h
  939. ; http://php.net/filter.default
    ' Z5 h0 {) a8 i: W0 v( S
  940. ;filter.default = unsafe_raw; _4 t/ Z7 K- M4 _) u4 ^5 k
  941. 6 r5 h" X( i, I& G5 ?
  942. ; http://php.net/filter.default-flags
    % i9 |; T2 @- T' y0 w% o1 f
  943. ;filter.default_flags =
    ! T. K9 v! N/ J+ u4 m

  944. , R6 c; {( z" s6 x" p- e; f. }, p- y
  945. [iconv]: ?* X! z5 S: v
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.- I1 t3 T" j- c& Y& }
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.
    7 o& l: r$ N1 k
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding" |5 O* [5 X2 ?
  949. ;iconv.input_encoding =
      |! h5 {9 t: h$ H

  950. ) Y7 w: Z2 y) m* t( \2 E; U) K
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.! l: Y, d( c/ c
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    6 A- y4 I4 |' ?; y1 I. d
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    - e' ?$ C. f  j* l6 O& M2 A
  954. ;iconv.internal_encoding =4 p9 G7 k" Q( I# D& x, ]
  955. 5 b% m, t4 m7 I
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.% u& k; ^) @$ ~  c3 L, m# A& T
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used./ }# q& i3 R9 B9 P* ]
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding$ y% r" f, i1 U8 `6 I- a$ T
  959. ; To use an output encoding conversion, iconv's output handler must be set
    " d; f+ L; j& j- F9 Y/ T
  960. ; otherwise output encoding conversion cannot be performed.% U! z" n: b" V' f3 V9 G, E
  961. ;iconv.output_encoding =
    6 q' [3 p" X3 \& N' w, \5 g' O$ N7 ]4 U

  962. ; U3 a. o# j+ [& u4 I; Y
  963. [intl]9 e7 E9 G9 J3 b. e- _8 K4 {
  964. ;intl.default_locale =$ C6 _4 Z+ T4 X; h* D( B! k$ |
  965. ; This directive allows you to produce PHP errors when some error
    * I6 a2 n3 y3 @& s  m0 K
  966. ; happens within intl functions. The value is the level of the error produced.9 b2 |$ A+ Z: [+ P( G
  967. ; Default is 0, which does not produce any errors.
    . K: K/ C0 Z$ Z
  968. ;intl.error_level = E_WARNING
    ( q9 b# s# ^/ n
  969. ;intl.use_exceptions = 07 w7 I  L  C! P( h
  970. ( b0 A! V1 A* b6 H6 }! k& Z( @& Q, P
  971. [sqlite3]' a+ U. n: b/ D8 }
  972. ;sqlite3.extension_dir =
    $ [9 h; Q/ V" N5 x

  973. ) I7 \7 ?1 D8 P; O8 [' _
  974. [Pcre]
    ! t; q2 L# N9 S1 [# X7 M
  975. ;PCRE library backtracking limit.
    0 N& `( O/ z  W- x
  976. ; http://php.net/pcre.backtrack-limit
    5 @% d$ W7 l2 Q0 T1 q" p% _) F
  977. ;pcre.backtrack_limit=100000
    ' p% ^/ R8 l3 u  {
  978. + H, g5 ]8 ]0 j3 Z/ N$ E( Y# t
  979. ;PCRE library recursion limit.* S( }# ]* T# `7 b+ F+ D8 P- C
  980. ;Please note that if you set this value to a high number you may consume all
    0 `+ y4 O$ z1 i; y2 I
  981. ;the available process stack and eventually crash PHP (due to reaching the
    / T/ U/ q, f+ |+ o3 B- y0 c
  982. ;stack size limit imposed by the Operating System).
    * J6 E; D8 N* h0 e* W
  983. ; http://php.net/pcre.recursion-limit/ X5 s- n4 c5 ?
  984. ;pcre.recursion_limit=100000! }7 c( ]" @4 y/ L: u# ^5 V

  985. 8 W2 g4 v; [9 x; e, ^9 N: Z
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE( f  n: r; X- ^7 W+ x
  987. ;library to be compiled with JIT support.
    0 w$ P+ |8 Q9 a( l
  988. ;pcre.jit=1) o% ]2 \; o8 f/ W8 x. k/ P
  989. ! o* ]6 Z! L/ l1 m6 C, z
  990. [Pdo]9 W$ o5 N6 n* P2 P0 o
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    / u0 C6 T' \$ [
  992. ; http://php.net/pdo-odbc.connection-pooling1 H. N3 A( c4 ]: r
  993. ;pdo_odbc.connection_pooling=strict8 v% c3 p. {) j% K# c6 ?8 m
  994. ' \7 i5 [6 l" C/ J) L" `) J
  995. ;pdo_odbc.db2_instance_name5 P# t1 U! _. |2 Z$ f

  996. 1 k5 I' d7 H1 l  ?; h6 Q: E6 `: G
  997. [Pdo_mysql]# l% j1 J1 V9 p
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache( o" r" _+ e( W. u$ @. |' {
  999. ; http://php.net/pdo_mysql.cache_size
    % }! i$ ^0 ]  @# `( W
  1000. pdo_mysql.cache_size = 2000
    4 w0 m9 t; v. e% p2 C$ t1 E
  1001. $ F+ n" X- s6 z- e3 \, E
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    # y, u* m4 G( T% r( H) l, G
  1003. ; MySQL defaults.
      V; h3 P' [2 ~0 f- P: k3 `
  1004. ; http://php.net/pdo_mysql.default-socket
    . J/ H/ p) S7 E! J
  1005. pdo_mysql.default_socket=3 j+ K" ]# [$ W
  1006. * }+ y4 n6 L" [3 l) g; c
  1007. [Phar]
    * y. O2 g. t- c/ m/ m# B$ X
  1008. ; http://php.net/phar.readonly
    , l# _1 L) J8 T# @) V3 y" P
  1009. ;phar.readonly = On
    * \/ y( r0 e" p4 H+ b& ?% W9 F1 t5 Z
  1010. 6 f- N# O, k$ X
  1011. ; http://php.net/phar.require-hash5 r2 [' H( M+ U& m. L- o' |
  1012. ;phar.require_hash = On" U. N! ~+ I5 L* R$ t
  1013. 2 q7 f$ j3 S2 t; |
  1014. ;phar.cache_list =' c- K! ~3 z9 a+ C+ O
  1015. ; V0 v. y% B' l
  1016. [mail function]5 k" W! r0 D, R& [+ q" E
  1017. ; For Win32 only.
    ! w% x2 U, S3 B8 n
  1018. ; http://php.net/smtp
    ( U. g$ V8 o4 G9 k: {! U& Q
  1019. SMTP = localhost3 j; y6 ^$ f1 Y, j
  1020. ; http://php.net/smtp-port
    . K6 k! T2 M1 F' b
  1021. smtp_port = 25. v# }# M5 E5 {" ~
  1022. - D" a9 U+ {; M+ C0 C6 I2 O" [
  1023. ; For Win32 only., ~  O% {0 h' T8 J
  1024. ; http://php.net/sendmail-from
    * o8 [# y/ _/ r) P. P
  1025. ;sendmail_from = me@example.com
    5 g$ M& `. M0 ~5 o9 B4 n

  1026. 3 s+ h" M2 d2 i. w+ ?
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").+ M* m% y) M/ w- Y1 L$ R( E! f
  1028. ; http://php.net/sendmail-path* f0 J% ?. P: \4 I8 y' Q
  1029. sendmail_path = /usr/sbin/sendmail -t -i. j0 }% {" C& @' T
  1030. 1 c: S) u+ j- S/ N" I
  1031. ; Force the addition of the specified parameters to be passed as extra parameters5 [" [% T3 [7 d  r' d
  1032. ; to the sendmail binary. These parameters will always replace the value of
    ( p8 t4 E) Y# x: J8 [5 ]2 {! Q+ t
  1033. ; the 5th parameter to mail().
    1 O1 b6 ?  h$ s4 ^+ E
  1034. ;mail.force_extra_parameters =& z" R. \7 b# x* I; t- X

  1035. 6 B8 T) V3 j+ h" X4 S
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename" p4 M9 m" ^8 Q+ `- C8 ^
  1037. mail.add_x_header = On
    , ?* ], F& R9 l1 q3 X9 l  v7 C
  1038. 7 S- B# w/ Q' n2 M  h
  1039. ; The path to a log file that will log all mail() calls. Log entries include
    ; b$ P2 k$ ^) ?
  1040. ; the full path of the script, line number, To address and headers." S% X) [$ ?1 x- j" e% ^
  1041. ;mail.log =3 S% Q. ?. N# u3 y' m5 y- ]
  1042. ; Log mail to syslog (Event Log on Windows).+ R  i* I* Q& o  r
  1043. ;mail.log = syslog9 w. m4 M5 ?! U8 T

  1044. " y, s! y& J  o* I
  1045. [SQL]2 U) u# P+ b. @6 ^5 {7 n5 N, X! v
  1046. ; http://php.net/sql.safe-mode
    % j$ |0 S  s6 h/ y' X; C
  1047. sql.safe_mode = Off& P# ^; H) ^5 A0 [
  1048. 0 u4 F, |$ h, r
  1049. [ODBC]
    : ]7 d. v5 V' s$ g" M8 }* `4 B
  1050. ; http://php.net/odbc.default-db
    " n8 w% `! s5 R8 Y% C" C) g
  1051. ;odbc.default_db    =  Not yet implemented6 A2 `/ s% {) u  {
  1052. % e; c9 K& [8 F' a
  1053. ; http://php.net/odbc.default-user* R% W# z+ w: O6 [0 M- Q4 {
  1054. ;odbc.default_user  =  Not yet implemented
    7 ~8 q7 J. F  g3 o
  1055. - X" r% y) ^/ P1 C
  1056. ; http://php.net/odbc.default-pw5 f9 E  u4 P* u2 j6 c* N
  1057. ;odbc.default_pw    =  Not yet implemented
    * \, Q3 i7 P$ |3 _& E2 `

  1058.   }' {5 |) b3 M) S) y! c
  1059. ; Controls the ODBC cursor model.& X" m- [. A! L
  1060. ; Default: SQL_CURSOR_STATIC (default).
    : J; O4 \% ?. ^9 w
  1061. ;odbc.default_cursortype+ ^0 a9 Z2 E8 O! P; i8 h9 d

  1062. , U/ u; q9 v$ T9 x8 G( L
  1063. ; Allow or prevent persistent links.
    ( Z9 ^0 d+ c5 i# }5 V7 Q
  1064. ; http://php.net/odbc.allow-persistent
    + v+ X9 w4 c! Z4 n1 s
  1065. odbc.allow_persistent = On
    1 J& ~. m, D  d3 u( z0 y
  1066. # q" [: y/ n! e' p6 a9 z  V$ r
  1067. ; Check that a connection is still valid before reuse.
    + {& m$ a' W6 o1 {
  1068. ; http://php.net/odbc.check-persistent
    8 i& p! r7 s$ g( V: d2 T1 z
  1069. odbc.check_persistent = On
    - \: Q. N2 q' G' A

  1070. 8 {+ {2 ~, K: z7 k" [7 V8 k
  1071. ; Maximum number of persistent links.  -1 means no limit.- s- _. j# \" I. X, C3 [: m
  1072. ; http://php.net/odbc.max-persistent
    + F, C9 `, g5 i  A6 b
  1073. odbc.max_persistent = -1; A, F7 D. ]) Z+ H0 v

  1074. 5 w/ t2 [. k" j) z) V, B
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.0 j; B% @* F$ l' P# T9 S7 O
  1076. ; http://php.net/odbc.max-links
    . P+ \' |4 H, B# t8 B# m4 J
  1077. odbc.max_links = -1
    6 Q& G; T2 ^+ l7 J( W
  1078. + V: y2 ~# h% D. n/ q
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    2 l8 c" Y% [4 g" T2 U- x5 s' a/ m
  1080. ; passthru.
    ! G5 P7 k6 w! r9 A# ~5 j
  1081. ; http://php.net/odbc.defaultlrl$ Z9 O! S0 L9 J$ _
  1082. odbc.defaultlrl = 4096
    2 X  z. U& m7 J( B& |
  1083. , B; L( p( c8 d( ~
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.
    5 `! i! ~! Z/ M+ H$ R
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation  Y, I) m  x3 [, Y6 s, A2 _1 s
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode% |5 ]. n) U- M0 H0 T! ]* _
  1087. ; http://php.net/odbc.defaultbinmode
    % K9 m( t3 o' [2 [1 H  o4 M- q
  1088. odbc.defaultbinmode = 1, Q9 O/ E: G) R8 P2 g0 H4 p8 A, {
  1089. + N5 u) D- I" _$ q3 w2 J6 c
  1090. ;birdstep.max_links = -1
    * `) n5 ?' X" c- K7 ]* }

  1091. ' X) {2 Y- S8 W$ \
  1092. [Interbase]5 Z: O3 I( N% }$ a
  1093. ; Allow or prevent persistent links.8 U. n9 a( K4 I3 W# I
  1094. ibase.allow_persistent = 1
    # ^& X* s! B8 Y: ~# E

  1095. " \7 T) H5 z0 f% s( }
  1096. ; Maximum number of persistent links.  -1 means no limit.& I5 w4 X& g. @/ ^1 o6 f" X$ T- V
  1097. ibase.max_persistent = -1
    : U9 Q+ {- t& w$ |2 r/ e% m) \5 a
  1098. ' Y1 v2 u" E1 x
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.! ?) Q" b. R+ x6 x6 Y( }: n* |
  1100. ibase.max_links = -1. ~4 g( b6 ]% S; L0 v; C

  1101. # H" N4 }* g9 {. J6 W4 @
  1102. ; Default database name for ibase_connect().
    . v. \7 v9 Q$ [" d2 s) r# m
  1103. ;ibase.default_db =0 _$ s0 C9 Q( d: `" d
  1104. - b9 l( ?$ e- Z& P+ l
  1105. ; Default username for ibase_connect().
    , [* d! A/ X9 W5 ]; y& Z" m: ?
  1106. ;ibase.default_user =* A7 {( s. S# ~' J0 f
  1107. % W* b9 _1 ~2 E( e2 }6 q5 `
  1108. ; Default password for ibase_connect().
    8 X5 H' R& F3 {2 d, G
  1109. ;ibase.default_password =
    $ H: L6 w! e7 H" l; K7 r# v5 b

  1110. 3 a* H. N. z' {% [# ~( g- Y
  1111. ; Default charset for ibase_connect().
    5 ?/ u! s1 H/ M7 F
  1112. ;ibase.default_charset =( I4 H  O& M( O% D5 h9 O4 M5 Y1 J1 t

  1113. 5 n. {5 ^- r- _1 a1 `  W
  1114. ; Default timestamp format.
    , g$ \* U: Q9 k  b8 `
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"% b+ r" S( Z8 \- f  d% ]* b6 L
  1116. - k6 f  d# r9 Y6 _2 a# t, S9 }: S
  1117. ; Default date format.
    ( R; s4 S5 [* A& O# [' s( q
  1118. ibase.dateformat = "%Y-%m-%d": v' t  j4 Z! |: c0 O$ F5 n) X7 K& ?
  1119. 5 w8 h( T1 K, c# C4 H8 L, J
  1120. ; Default time format.* _6 W: j! h7 o: A& Z2 I4 P. {+ k
  1121. ibase.timeformat = "%H:%M:%S"# J% L4 D; k$ N9 m

  1122. / }! {; [3 `$ R
  1123. [MySQLi]( b7 ^' v/ C" ]) w
  1124. + x# ~4 Z% a8 F: o6 E. r1 `; @& e
  1125. ; Maximum number of persistent links.  -1 means no limit.& A3 ^* J4 X+ P1 Q* d2 V
  1126. ; http://php.net/mysqli.max-persistent
    2 b- V- s* O$ G0 P7 Q' K% u: G
  1127. mysqli.max_persistent = -16 O, V- Z1 O% p& M* w# h! h" W: _

  1128. % ]* L$ Q( G8 g
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    9 v9 j0 r2 a% L: d) r& N5 v/ N& D
  1130. ; http://php.net/mysqli.allow_local_infile
    % c9 i) H; g- v* O, B# g& y
  1131. ;mysqli.allow_local_infile = On
    + Y9 S; }  F, c: V* T
  1132. ( [3 J1 a; b3 q5 h
  1133. ; Allow or prevent persistent links.( \6 j+ ]8 Y* s) f4 v: |! `) g5 f
  1134. ; http://php.net/mysqli.allow-persistent/ T- n( H& u+ u- G5 U6 t
  1135. mysqli.allow_persistent = On
    $ B" T, {; t$ U

  1136. % M, ?/ y2 w- y) B0 Z$ I
  1137. ; Maximum number of links.  -1 means no limit.
    5 m5 d) B5 t5 D0 w
  1138. ; http://php.net/mysqli.max-links
    , j( b" l- K- b% ^( S6 m
  1139. mysqli.max_links = -1" e+ q% w) d- ^* Q3 W+ ], J

  1140. / ]7 l2 ]! O) v5 s: _* q
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache& l% @( w: P! b# M3 }0 @: q
  1142. ; http://php.net/mysqli.cache_size
    ' X' A+ V9 ~. O/ v
  1143. mysqli.cache_size = 2000+ h* O# D$ K7 U4 |: D; M/ j
  1144. 1 d+ b1 ~, T+ a$ _, S
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use% h1 I! `9 J5 ^6 ]- m: j/ _) Z
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the9 ^2 {' V8 m. G* w) \( x
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    ! A' c1 m! ]  k" x5 d3 x
  1148. ; at MYSQL_PORT.
    $ ?$ H" W/ E& }7 `( E" P6 s
  1149. ; http://php.net/mysqli.default-port9 R' b7 _+ w! W' g
  1150. mysqli.default_port = 3306$ h3 H3 f8 Q4 Z: y& t7 b+ q
  1151. ! e9 E/ [- L5 ~. J$ p5 j/ ?/ \3 {2 x
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in& c2 f- X. b1 I; ]" G3 K. B
  1153. ; MySQL defaults.
    5 h0 T  U* u/ t: u7 M. P
  1154. ; http://php.net/mysqli.default-socket+ e1 a6 E0 o! r7 g0 T
  1155. mysqli.default_socket =' Q% ^% b$ a& _- `/ n9 `
  1156. 0 g, U' ?/ E! P& X  M0 I
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).* {+ h- F6 K  b( o6 m1 Y& z# V* `
  1158. ; http://php.net/mysqli.default-host2 g7 [& W( @% x6 s9 j) |# w; X0 Q
  1159. mysqli.default_host =, ~* S  j9 k+ g' j

  1160. 4 h0 u% D6 a3 x1 I; j
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).
    7 i, Q+ S  a( ~1 p7 Z! T$ l
  1162. ; http://php.net/mysqli.default-user
    ( p6 D7 [% W4 V( V+ o* A( d* N
  1163. mysqli.default_user =
    ) G* R0 D! r. N2 Y$ l
  1164. 8 f) X7 o: r4 r  t+ b
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    ' t3 F2 I, U7 I3 x. [# V( T
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.2 z+ m+ ?7 q* D3 }3 ]) m7 R: T
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")) |; H8 p, P+ V& k% e# X
  1168. ; and reveal this password!  And of course, any users with read access to this
    ' d& y) g/ N- A* y9 O/ |' v
  1169. ; file will be able to reveal the password as well.+ `+ [; h- f' M/ v
  1170. ; http://php.net/mysqli.default-pw
    ) m) L* p* R/ ~, G1 {' q
  1171. mysqli.default_pw =
    5 u  P+ g6 u8 D- ^2 H& K
  1172. " ^& B) R& C6 q1 J' @. k$ D: B
  1173. ; Allow or prevent reconnect
    : b% j* ~% U/ ]4 S
  1174. mysqli.reconnect = Off) g7 v6 N2 D* P) l; F6 h5 g& r

  1175. $ B9 Y4 B9 J, p$ A  A2 P% H
  1176. [mysqlnd]
    0 t9 ^* E! i0 _
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be
    & X2 ~+ |, b! X0 ?9 u1 k& u5 f4 v
  1178. ; used to tune and monitor MySQL operations.6 h; m6 l# H, O* x
  1179. ; http://php.net/mysqlnd.collect_statistics6 e; V& ~" |) t2 h/ b  p6 s
  1180. mysqlnd.collect_statistics = On) m$ P7 X* z/ s" W6 e, _& O
  1181. ! E- |9 O; n5 d! T: H6 f
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be0 B5 v  j& |5 m
  1183. ; used to tune and monitor MySQL operations.1 _0 d; T7 F9 L+ [' o7 o
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    * K4 x2 B2 @" b
  1185. mysqlnd.collect_memory_statistics = Off
    8 {# x3 I# Y& k0 p
  1186. : X  m6 z& T; m. c3 y
  1187. ; Records communication from all extensions using mysqlnd to the specified log8 V4 |7 v  D& z& Q/ ~/ W
  1188. ; file.- ^# \. ]/ ~5 }' W. V5 X9 l: _
  1189. ; http://php.net/mysqlnd.debug
    . p' k, X. Z% x4 s1 {0 d* z  t
  1190. ;mysqlnd.debug =
    # D% }4 z6 M9 y( C

  1191. 3 J- L9 y" S; b  {* D
  1192. ; Defines which queries will be logged.
    ) D( C9 G1 V2 H" G' a8 l3 o. |
  1193. ; http://php.net/mysqlnd.log_mask
    : N7 M4 s1 U! h' O
  1194. ;mysqlnd.log_mask = 03 c/ c  Z7 U( y# @

  1195. * Y- i7 I- \3 a7 r4 {
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.) q6 l/ i# C. K( I8 M$ n
  1197. ; http://php.net/mysqlnd.mempool_default_size
    * T7 f+ M9 _. k" o! p
  1198. ;mysqlnd.mempool_default_size = 16000' [* j1 O8 d2 D& ~+ s- ]9 _8 X5 q

  1199. ) X6 i' e4 _3 v* ~
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    6 M) s; B- m$ T# e7 o  y
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size  R1 D1 M) K/ _1 K
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    7 h1 Y+ }  O* F4 J
  1203. " F: p" W. X$ u
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in4 D4 u& P; V2 [" r4 ^7 Y+ e
  1205. ; bytes.. R% K+ D0 k, p8 G% d
  1206. ; http://php.net/mysqlnd.net_read_buffer_size  e/ f, L, ^$ }8 {% \% p1 s
  1207. ;mysqlnd.net_read_buffer_size = 32768
    " Y" [  f# c- Q3 f
  1208. 1 H% \5 h- G5 D
  1209. ; Timeout for network requests in seconds.
    # n+ T+ }6 ^0 k8 [
  1210. ; http://php.net/mysqlnd.net_read_timeout
    # s4 }- ^* t7 b3 I
  1211. ;mysqlnd.net_read_timeout = 31536000
    - d: s+ ?! o# a7 m7 p  O; o
  1212. 0 {4 L0 B6 j4 p. O# X: A
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    , f' a' G4 A0 V' U/ @
  1214. ; key.$ F( i  |4 k" m
  1215. ; http://php.net/mysqlnd.sha256_server_public_key
    5 ^4 {9 v# O3 |4 m7 @% \4 w% i
  1216. ;mysqlnd.sha256_server_public_key =
    ; e# h0 K$ r$ U/ D5 z7 Z
  1217. % j- J4 G/ K0 m; w3 D' k
  1218. [OCI8]: V& l, ~+ y2 a  O, \

  1219. & _0 e# a; Z2 ^1 Y9 s+ m& ~
  1220. ; Connection: Enables privileged connections using external
    + S9 A' O9 ?, d4 {5 ]9 r3 J. E: e8 s' H
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)( C0 h7 Q  h7 q" B5 U! d) ^" L+ `
  1222. ; http://php.net/oci8.privileged-connect' j* U- ]" W  }
  1223. ;oci8.privileged_connect = Off
    6 v' r; L- y$ W9 U7 v; Y. R

  1224. ( Q  O3 ]" f" N/ Y  {; w) c5 k
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    7 R. `. d9 u4 o; L0 E
  1226. ; process. Using -1 means no limit." U$ O# O0 Y* K9 t
  1227. ; http://php.net/oci8.max-persistent
      m" s8 c( [% F" _) n. I2 ]/ ~3 D6 k
  1228. ;oci8.max_persistent = -1
    $ ]9 c& W/ U& l8 w8 l3 v

  1229. * d+ b2 f/ T& {! m! V
  1230. ; Connection: The maximum number of seconds a process is allowed to
    - N3 S" U: E6 N) D  H1 \3 U6 ^
  1231. ; maintain an idle persistent connection. Using -1 means idle
    * P$ x* h5 j. W) [0 g& v
  1232. ; persistent connections will be maintained forever.
    1 b/ b" V* A% a, l
  1233. ; http://php.net/oci8.persistent-timeout
    6 k3 c5 N% [' S$ M8 J
  1234. ;oci8.persistent_timeout = -1
    / E* p( C# [9 u$ F5 p

  1235. # w2 K6 ?' A5 Q5 [1 h0 ?
  1236. ; Connection: The number of seconds that must pass before issuing a6 v  Y% P# @* X; ]  h+ ]
  1237. ; ping during oci_pconnect() to check the connection validity. When, v1 K  @7 ^( j0 {% l. m
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables+ t. x5 p0 q  L! g
  1239. ; pings completely.
    4 j. _) d" _) m! |  \, Z
  1240. ; http://php.net/oci8.ping-interval0 F) h! Q, S, _2 B7 A1 n9 A$ ~
  1241. ;oci8.ping_interval = 60
    : N$ }; y, m0 V9 c: t! Q

  1242. 1 O3 C/ s4 w: g# s  m+ m# a+ E
  1243. ; Connection: Set this to a user chosen connection class to be used$ q% Z( z$ L; O2 L# Z9 |
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    ( n2 \1 B: z; v' i8 j2 X5 c
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    2 }  }, w5 K, c3 U; t
  1246. ; the same string for all web servers running the same application,
    , ~8 `+ a! y1 g4 Z# C+ N8 C$ A  [
  1247. ; the database pool must be configured, and the connection string must8 k" F9 n5 u9 |7 ^
  1248. ; specify to use a pooled server.
    0 V: _& X) `& a; v$ B% C5 z& a
  1249. ;oci8.connection_class =
    0 x: h& H8 J0 p1 ~% C2 F

  1250. 4 {4 u& [( M# I! u6 y
  1251. ; High Availability: Using On lets PHP receive Fast Application- N& {) Z# r! h4 c0 ]# Y: `0 w
  1252. ; Notification (FAN) events generated when a database node fails. The
    * `& U  T* U. l4 I2 E
  1253. ; database must also be configured to post FAN events.; g% ^1 u# p4 M4 M3 k
  1254. ;oci8.events = Off7 [4 h/ R1 ]% p5 W  h( c
  1255. 3 j* D2 M6 S) y& o  u
  1256. ; Tuning: This option enables statement caching, and specifies how
    ' |8 {! ^  V5 R" x. w
  1257. ; many statements to cache. Using 0 disables statement caching.0 `4 u) c  N" ^  B+ z0 _2 Z
  1258. ; http://php.net/oci8.statement-cache-size
    ( @  o* ^$ F! V' p- n
  1259. ;oci8.statement_cache_size = 20* J9 E- h( u5 d+ u, d

  1260. ) T: ~+ s$ R% R* L
  1261. ; Tuning: Enables statement prefetching and sets the default number of  T( q8 u3 x3 X
  1262. ; rows that will be fetched automatically after statement execution.
    7 }; I4 w' n/ G( w/ E
  1263. ; http://php.net/oci8.default-prefetch
    % t. F9 d. {  x" p+ O! P3 }$ D
  1264. ;oci8.default_prefetch = 100. `( x# k' G3 F1 D1 H: D
  1265. 8 J' y4 Z1 I  D3 x
  1266. ; Compatibility. Using On means oci_close() will not close
    / l% F) Q  k" Z. p4 p1 m
  1267. ; oci_connect() and oci_new_connect() connections.
    % C6 H/ t+ C! A% N/ c8 U4 E, q+ M; W
  1268. ; http://php.net/oci8.old-oci-close-semantics
    4 F5 w4 T: N" _  l8 ?) }
  1269. ;oci8.old_oci_close_semantics = Off5 |' ~/ l% Q4 o1 d; F9 Y1 B

  1270. ; g+ X) c; g9 H1 Y. p
  1271. [PostgreSQL]
    : Q9 r+ z6 J( {
  1272. ; Allow or prevent persistent links.
    ( t  s( e5 |# ^6 |  ~
  1273. ; http://php.net/pgsql.allow-persistent
    - n0 r) S. `# N8 \0 v
  1274. pgsql.allow_persistent = On
    + [: C8 p+ t; v: `

  1275. 5 Y1 }; A2 y$ r. L7 t5 A
  1276. ; Detect broken persistent links always with pg_pconnect().
    . Q& x# n; c- q
  1277. ; Auto reset feature requires a little overheads.1 ]( F6 \2 q, c& l) o
  1278. ; http://php.net/pgsql.auto-reset-persistent
    3 N- }7 C# K" f* n
  1279. pgsql.auto_reset_persistent = Off2 V3 E) H# k# {, ^

  1280. " Q! E6 `; ~* A, ?1 I7 r# ~7 i+ y0 M
  1281. ; Maximum number of persistent links.  -1 means no limit.
    $ C9 M/ ]) ]7 H! u( H5 z
  1282. ; http://php.net/pgsql.max-persistent
    ) g) d/ K' V; \' c* E
  1283. pgsql.max_persistent = -1
    - V: S- Q: \+ Q6 D! Z3 H

  1284. ( I: }+ u( C* o2 G, O
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    1 ]2 }" `! k. i+ M: S, e, b! i
  1286. ; http://php.net/pgsql.max-links- z+ U& C$ P, j- k6 m0 _
  1287. pgsql.max_links = -1
    ( V7 k. ?1 ]8 \

  1288. / Q' Z" s, m4 g; ^
  1289. ; Ignore PostgreSQL backends Notice message or not.' C$ Y, {5 Y3 I+ F5 K
  1290. ; Notice message logging require a little overheads.
    # [" Z/ m  `# K# X
  1291. ; http://php.net/pgsql.ignore-notice9 m: m* A3 y' ^3 P
  1292. pgsql.ignore_notice = 0
      |& x2 O2 P/ ]$ V

  1293. ! _# s4 v3 |4 O. d- w; ?' e4 E# z
  1294. ; Log PostgreSQL backends Notice message or not., Q  S: d* W$ R
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message./ |. g2 }+ b; ?# X0 H8 V* T
  1296. ; http://php.net/pgsql.log-notice* G' e$ V! l* q0 O" D; r9 I
  1297. pgsql.log_notice = 0
    5 {; a1 O+ p. I1 U$ @
  1298. 9 s1 t/ R+ z$ i! G4 ?1 S
  1299. [bcmath]
    9 u5 I3 e" _; f3 e
  1300. ; Number of decimal digits for all bcmath functions.
    4 }! t3 D& p$ U. t
  1301. ; http://php.net/bcmath.scale
    4 Q/ R. p. m" m  j- l! O7 Q
  1302. bcmath.scale = 0
    8 r% i& w: G7 j1 k+ d  z% S) {

  1303. 9 S' t* K# R8 w1 p! `5 b) ]2 P
  1304. [browscap]/ Q- e: t& i6 A+ n$ a
  1305. ; http://php.net/browscap
    4 b% {/ _6 R9 [3 @5 L* M
  1306. ;browscap = extra/browscap.ini7 [: o8 M' W7 V. l% K
  1307. 1 c$ W" v9 Y- ], l1 H" q6 ]( D& Q+ i
  1308. [Session]
    ) v( a$ d+ m9 K2 i2 K  _4 R5 I
  1309. ; Handler used to store/retrieve data.
    ) _  i# b4 F" I: F$ v! u
  1310. ; http://php.net/session.save-handler2 x( j/ W: h/ n' r/ m( r' g: q
  1311. session.save_handler = files% k# o% ]4 @* ?- G
  1312. & }+ U- t9 Y7 Y1 `$ [: e
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    ' L' y9 n8 t( h- X% O
  1314. ; where data files are stored. Note: Windows users have to change this
    ; t- a+ A% C& c3 `
  1315. ; variable in order to use PHP's session functions." p7 E6 c2 `4 j, {' T9 [
  1316. ;7 r( g$ M' w: y( V5 c- f0 d0 f
  1317. ; The path can be defined as:
    : o& G) `# t9 \, \0 n' \
  1318. ;! n9 l+ m' K$ }. X/ d
  1319. ;     session.save_path = "N;/path"3 v0 @8 M5 D) |: [7 f7 L8 t) o
  1320. ;
    5 z3 F# O# T0 a6 k  [
  1321. ; where N is an integer.  Instead of storing all the session files in% r. Q# Q! n6 `  V
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    # @& X, D* {! [; O* Y# W
  1323. ; store the session data in those directories.  This is useful if
    5 ?. M. `' ~9 l; a$ a/ a" ]
  1324. ; your OS has problems with many files in one directory, and is2 |6 @* Z3 X4 U9 G7 o; F
  1325. ; a more efficient layout for servers that handle many sessions.
    ! H( B7 l2 H! l2 `3 L, Z3 p
  1326. ;
    3 V5 M# B" ~% h+ C' {2 n+ S
  1327. ; NOTE 1: PHP will not create this directory structure automatically.$ q- s7 N  I! U7 d$ U, r  `% E
  1328. ;         You can use the script in the ext/session dir for that purpose.) _5 O7 r1 {, J8 ?" N
  1329. ; NOTE 2: See the section on garbage collection below if you choose to. s" A1 k( h3 H' L
  1330. ;         use subdirectories for session storage, |2 K% U* ^  \' X5 m, [4 S; I
  1331. ;8 D; ?  Y5 i( `5 }
  1332. ; The file storage module creates files using mode 600 by default.8 \: m) a  `, A2 v. o) Z
  1333. ; You can change that by using3 W, ?/ h, i: |, p/ k+ u1 u, V
  1334. ;
    " Z* `" |0 O4 `" U5 B
  1335. ;     session.save_path = "N;MODE;/path"
      Z2 J* r& _  Q! w/ t
  1336. ;+ |. Y0 e3 \  P
  1337. ; where MODE is the octal representation of the mode. Note that this8 W4 m# I% D6 F3 s5 v2 c0 X: ]
  1338. ; does not overwrite the process's umask./ Q  F' \% D+ t4 U* y
  1339. ; http://php.net/session.save-path
    % d* m1 j. c! {/ P3 P) k" s% @; ^2 L, Z
  1340. ;session.save_path = "/tmp"
    0 K: U3 [- d- x& y  e
  1341. . n: L. m' L! h  V" f. L" ~
  1342. ; Whether to use strict session mode.% J% [9 X3 D0 o6 t
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    : r5 ?7 C; m5 Q4 X! c7 C
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects% }; I& c3 U" ]- r
  1345. ; applications from session fixation via session adoption vulnerability. It is% V' u" |" W5 B+ b" A
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.4 A6 P4 g# r0 p
  1347. ; https://wiki.php.net/rfc/strict_sessions* m0 y6 h& Y1 k+ S8 T) Q
  1348. session.use_strict_mode = 0
    0 r- k/ D0 h6 j/ _8 K

  1349. 1 G" r" ?5 }8 N: o& W2 B, l6 [
  1350. ; Whether to use cookies.
    & q8 c/ H* z: z: m7 G3 S
  1351. ; http://php.net/session.use-cookies8 Q% E- f+ V6 k: C! D
  1352. session.use_cookies = 17 z1 B; c5 F$ r# |+ @% P" [$ h
  1353. : k. u& l2 C: {% N4 {
  1354. ; http://php.net/session.cookie-secure+ ~( d# I7 w6 |
  1355. ;session.cookie_secure =5 j# l/ E  V! i3 F3 E, i- h, \; u& a

  1356. 6 c) K6 d) X) v! Q6 W7 N
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining) R( H7 x7 x+ @, D: @1 I
  1358. ; the session id. We encourage this operation as it's very helpful in combating+ I% V" {% e+ A8 ^
  1359. ; session hijacking when not specifying and managing your own session id. It is
    & }0 {! X0 E" I! {
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.7 a4 @+ b1 u" @+ o) J: j9 E
  1361. ; http://php.net/session.use-only-cookies
    . E9 K" ?; L+ Y
  1362. session.use_only_cookies = 1" |3 X3 R* C5 B( g- x: S
  1363. 7 F9 W9 i" Z" U* l0 @& ]
  1364. ; Name of the session (used as cookie name).& M* d6 [8 y+ O+ T3 z6 O) x" V1 l
  1365. ; http://php.net/session.name
    0 t' O1 N2 b2 y$ x/ Q+ N
  1366. session.name = PHPSESSID
    8 m) t7 i8 s! Y' S$ J$ b

  1367. 5 I7 Y8 [5 u, c! I
  1368. ; Initialize session on request startup./ d9 N7 \+ A4 }
  1369. ; http://php.net/session.auto-start
    4 _! ^- m' _' ^2 I" B! N
  1370. session.auto_start = 0
    ! y( g% E+ h' t) K3 r+ ^

  1371. : I9 s& U& U1 z! B9 |- F$ e9 l, g
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.# r6 n$ H- }: e0 l
  1373. ; http://php.net/session.cookie-lifetime
    3 [" S: V  Q4 D" l( ~( n9 h
  1374. session.cookie_lifetime = 0
    % w. p* J+ ~: Y" h# _

  1375. 8 _. ^& f3 R" N4 p. H
  1376. ; The path for which the cookie is valid.4 U- X5 J9 i7 b2 d; x) H& ]
  1377. ; http://php.net/session.cookie-path
    0 Y3 \' a/ n) O6 ]% r
  1378. session.cookie_path = /
    0 h# p: q: n! \( c* y

  1379.   Q' w  P, s/ C* O+ O4 q8 A
  1380. ; The domain for which the cookie is valid.6 P& K% @! a5 b4 ?
  1381. ; http://php.net/session.cookie-domain! u3 C1 _0 n5 ]( d* g
  1382. session.cookie_domain =
    2 b1 S% e/ S3 w2 L3 p

  1383. 5 U- G, D/ b! Q9 q) k3 @( T
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    ( T3 v0 t- q/ U1 T4 ?( o5 v
  1385. ; http://php.net/session.cookie-httponly! }8 }  M( _8 I3 z
  1386. session.cookie_httponly =- Y, B! r, W. D7 s

  1387. - j8 U  u. A' s9 C$ o. y$ ^- c: k$ {
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.7 N  ]5 O5 G" E& ?7 k( ^
  1389. ; http://php.net/session.serialize-handler% ^3 b7 {- ?: L' [) s+ Q( Q
  1390. session.serialize_handler = php1 N* m: A* |7 u  w

  1391. . t: _4 Q  _2 c" T8 G
  1392. ; Defines the probability that the 'garbage collection' process is started4 q; {' U* O. N" u- p
  1393. ; on every session initialization. The probability is calculated by using
    & M" I1 P9 \8 Z4 i1 v4 ]
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    ; c+ l  ]2 l" M8 ]7 c  Q9 \
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1( j: V+ R( A; D
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance, B1 [4 o; I% \& s8 D) k7 K
  1397. ; the gc will run on any give request.
    4 ^4 R- {* n, ^. {2 ?
  1398. ; Default Value: 13 u# K. Q7 |2 L$ A3 v, O8 i
  1399. ; Development Value: 1
    - Q$ n% F' E5 i+ u1 g
  1400. ; Production Value: 1
    6 Z+ ~! T  M/ ~& U2 h% M: h7 U/ l
  1401. ; http://php.net/session.gc-probability4 x- O; b, g" D- e/ V: J7 E
  1402. session.gc_probability = 1
    # `/ s9 Z- ?$ J2 J- A

  1403. . u' n1 O, @5 i
  1404. ; Defines the probability that the 'garbage collection' process is started on every
    * k" ^# D+ Q: i0 T7 m' \: x
  1405. ; session initialization. The probability is calculated by using the following equation:
    4 e* Q* M  U9 }7 Y* x7 {
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and6 l4 G2 A4 w/ R$ H2 r5 w8 q' I
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    ; {* Z/ |8 k) k
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance) l! `( Z; j% U9 k# C, \4 h: j9 ^
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you1 K9 |' a! ~+ s. x
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,7 m2 E6 m! x: X: y3 C% J5 H. n! H
  1411. ; this is a more efficient approach.3 t/ K5 u) s, S
  1412. ; Default Value: 1006 e4 d2 G# ~9 F' A8 ]
  1413. ; Development Value: 1000$ o$ k! v# _9 q2 d
  1414. ; Production Value: 10007 n5 ^' g, S1 Z1 ?) y! P
  1415. ; http://php.net/session.gc-divisor
    & Z/ b4 e4 J/ x8 `9 X7 _% ]
  1416. session.gc_divisor = 1000
    , F, s- t4 T' g

  1417. 5 z0 t' n/ u5 f  H: S0 Z
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    ( g/ k6 |+ y! y# D# w2 L$ `
  1419. ; cleaned up by the garbage collection process.3 ]! J3 n* Z7 |$ x' e" K
  1420. ; http://php.net/session.gc-maxlifetime* G2 J7 k; K, q0 E3 c0 Y
  1421. session.gc_maxlifetime = 14402 P0 R/ H( d0 v2 i6 R$ I

  1422. ( e! b$ r( x# W* t
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    3 ]) Z7 \2 F8 d0 h) R8 g  g3 ]0 m7 t
  1424. ;       (see session.save_path above), then garbage collection does *not*% X" H6 x) @' H" Y) }( m$ G
  1425. ;       happen automatically.  You will need to do your own garbage- ^6 d/ }" T2 x5 E
  1426. ;       collection through a shell script, cron entry, or some other method.
      O5 h$ W" [3 q0 z
  1427. ;       For example, the following script would is the equivalent of4 F; i) k/ K1 W+ c$ s
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    ; p$ L" f+ [0 J8 P* I1 F% a
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm) Q$ S. }5 d# C2 G- n" Z

  1430. : t3 e3 L5 m" l* {2 ?, U* y8 z' [5 Y
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.) J' U$ o* X" L* F2 m# j" |
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    # ~5 l% c' `& {) s
  1433. ; considered as valid.+ S* W2 m5 v/ z$ k; a$ q
  1434. ; http://php.net/session.referer-check' G0 w" V& d. I) C% r" B
  1435. session.referer_check =
    1 @" e$ F' N( t* X( c
  1436. : e2 X3 \) D5 \2 [! X/ E
  1437. ; How many bytes to read from the file.
    . J+ @+ e2 q! I& F
  1438. ; http://php.net/session.entropy-length/ |, m$ `, X7 ^* S1 D1 [# [  z
  1439. ;session.entropy_length = 326 d( z& t3 a2 e) w) }4 n& e
  1440. 7 N9 e3 a8 o6 V: S5 Q
  1441. ; Specified here to create the session id.
    * X: `& l2 e, t7 q( i
  1442. ; http://php.net/session.entropy-file$ R2 T8 l8 ^& l4 C0 p
  1443. ; Defaults to /dev/urandom- r9 P2 `" c8 Z% G
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom! ^# d9 N( a6 `% E: A" j  w2 }  i! o
  1445. ; If neither are found at compile time, the default is no entropy file.& |5 j5 k1 R8 J6 A6 \. p4 E+ Q% {
  1446. ; On windows, setting the entropy_length setting will activate the
    4 S! i% n( j: O( h% @5 J5 n) n  X2 x3 ]
  1447. ; Windows random source (using the CryptoAPI)
    9 O* V3 N& L- f  |( B
  1448. ;session.entropy_file = /dev/urandom
    6 \! P5 O) U( o% S

  1449. 8 r% M7 A1 ~) J
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    , W4 Y* G5 o9 L# B2 V" l
  1451. ; or leave this empty to avoid sending anti-caching headers.
    9 {- E: W: l6 p+ M2 K- q: z
  1452. ; http://php.net/session.cache-limiter+ v9 F* _) W, q2 `! P9 O5 _/ ^8 J4 E
  1453. session.cache_limiter = nocache
      d' |+ k: }3 f+ p' p; Z. _3 `

  1454. 3 v  }% v" h# E+ y8 V
  1455. ; Document expires after n minutes.
    7 @2 V$ i, w8 f8 Z9 Q. R  ^
  1456. ; http://php.net/session.cache-expire5 Q5 {9 a! ^2 G; l* h' U) S7 J* \. t
  1457. session.cache_expire = 180
    ( Y1 }: J# y8 x
  1458. 2 ]* H' f/ i; A2 L. P
  1459. ; trans sid support is disabled by default.
    . e: P+ e( \' y2 e' p+ Q$ L8 Z
  1460. ; Use of trans sid may risk your users' security.
    & o5 q! q4 u8 Q* N
  1461. ; Use this option with caution.
      {" Q$ Q" h" N. D1 v5 d" ~+ ^
  1462. ; - User may send URL contains active session ID% O2 c% b3 g# a5 _
  1463. ;   to other person via. email/irc/etc.
    7 {$ l4 ^6 m: M( T
  1464. ; - URL that contains active session ID may be stored) f3 g6 I  \; F+ C# X
  1465. ;   in publicly accessible computer.+ T! a; ?% f4 H1 R* b  d
  1466. ; - User may access your site with the same session ID, g8 ]* E% d- b9 z0 z4 l' R
  1467. ;   always using URL stored in browser's history or bookmarks.: S4 X( M2 g7 z
  1468. ; http://php.net/session.use-trans-sid
    : \. F2 b1 s; t) U  {) I
  1469. session.use_trans_sid = 0
    1 k* \5 Z, u4 q; b$ S( l

  1470. ! G) ~2 ~# K4 w9 J1 q! ]
  1471. ; Select a hash function for use in generating session ids.2 W+ ]8 d( V  q  r0 B' H$ }; [
  1472. ; Possible Values
    * Q/ ]+ ?( D+ p9 M
  1473. ;   0  (MD5 128 bits)
    . u1 ^9 W+ d& c" @
  1474. ;   1  (SHA-1 160 bits)& c, G( `6 T% w% I
  1475. ; This option may also be set to the name of any hash function supported by/ L9 G. `, o$ B+ S
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
    5 h, g: W% i- a0 p
  1477. ; function.  d! L* g& ?. l4 ~+ U
  1478. ; http://php.net/session.hash-function
    * w8 U/ `3 H: L( F+ z6 e
  1479. session.hash_function = 0* U# B, ]( A* [! Q. Y* _2 t
  1480. 5 ?# J* H7 o0 {" u9 a+ Z# y2 l
  1481. ; Define how many bits are stored in each character when converting4 [, D' X$ V8 V0 v; X1 g
  1482. ; the binary hash data to something readable., }" E& @) G& G0 a( L
  1483. ; Possible values:
    $ I+ _: \0 y; K5 K
  1484. ;   4  (4 bits: 0-9, a-f)
    " a) v8 V- V( F8 k
  1485. ;   5  (5 bits: 0-9, a-v)& j0 j$ x5 \( b, _: N+ f
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    , n. V+ v  k& ~% u
  1487. ; Default Value: 4
    # p% V0 W4 A2 Y" ^' F0 b$ H
  1488. ; Development Value: 5+ y. M+ c$ _; q
  1489. ; Production Value: 5
    . H) k1 e- P0 B& D# ]
  1490. ; http://php.net/session.hash-bits-per-character; ?0 `) D& b  o
  1491. session.hash_bits_per_character = 5
    ! \/ e  Q) g1 g) L( V1 ]
  1492. ( a, B/ i5 G" f2 C) H
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.$ u; z4 k% G, H- h' Z2 X0 x9 f
  1494. ; form/fieldset are special; if you include them here, the rewriter will' g$ E% ?' C* c
  1495. ; add a hidden <input> field with the info which is otherwise appended1 A! @! r3 D; z+ R( i* F
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry." ]. g: ?- f5 R8 r
  1497. ; Note that all valid entries require a "=", even if no value follows.
    ! @& S! _3 \- Q6 H
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ' @( G$ l" Q* b" b" ]# K1 k
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"% z" ~# Y3 _. D9 S3 z" t- @% o
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"+ z2 h; y; Z, H% e# f" ]4 S  ?! X; i
  1501. ; http://php.net/url-rewriter.tags
    3 v5 n1 K- _( {7 Q: i" C9 x, `
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"
    ) n1 C5 P3 M+ a& `6 T+ f

  1503. 2 G: T' L$ J$ Y+ e
  1504. ; Enable upload progress tracking in $_SESSION
    , t- z4 D) @& U1 R
  1505. ; Default Value: On
    4 n" N8 V% v1 S: `
  1506. ; Development Value: On
    % o& G2 E$ c( `! ?
  1507. ; Production Value: On. _( b* A" p2 k/ K) s5 I
  1508. ; http://php.net/session.upload-progress.enabled
    % e$ j' I  ?, h4 t; P& z6 h
  1509. ;session.upload_progress.enabled = On* F- _* q% \( G1 F+ l8 t

  1510. . S- I' l8 ]7 }% I9 T& }
  1511. ; Cleanup the progress information as soon as all POST data has been read
    1 f" ~# y. j5 _% B
  1512. ; (i.e. upload completed).
    , t6 b. t/ j5 [4 z! C
  1513. ; Default Value: On
    ; o3 N+ B! B% `! _8 v. ]( V: v# F0 s
  1514. ; Development Value: On/ p+ s6 E: r. F0 \* V( L' j8 v  ~7 y
  1515. ; Production Value: On8 n9 y" m; J6 t) o$ U
  1516. ; http://php.net/session.upload-progress.cleanup
    : R. p" R6 s+ T" {
  1517. ;session.upload_progress.cleanup = On
    ' K1 q  q+ l! `* Z4 g" \

  1518. ! B5 u+ a4 l& a/ p3 ?8 Z9 y
  1519. ; A prefix used for the upload progress key in $_SESSION0 N1 ?& M- X$ ?4 L
  1520. ; Default Value: "upload_progress_"
    * Y) ^( _4 M* \+ T8 Z" M
  1521. ; Development Value: "upload_progress_"2 N/ x  D$ ]: }+ A" o
  1522. ; Production Value: "upload_progress_"( E9 b& G6 }) X5 d/ J- W% w/ |# t
  1523. ; http://php.net/session.upload-progress.prefix
    % T0 z. a! b; b1 J$ ?
  1524. ;session.upload_progress.prefix = "upload_progress_"% x; G4 E0 d( s& K; o: l
  1525. 5 |7 l; B: X8 \! Z% o
  1526. ; The index name (concatenated with the prefix) in $_SESSION
    / \  g7 v9 c- a7 W
  1527. ; containing the upload progress information
    & b  Z0 j: m3 q8 F$ v
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"6 t& C) C$ h  t4 r1 r
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    2 d0 D0 U) b: r- k- D2 h
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    : w+ W4 ^, x$ g
  1531. ; http://php.net/session.upload-progress.name
    3 c0 y* g% u7 @5 R
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    , F/ H& J8 Z" J6 W* A
  1533. " c. i  o( n- H- G) K
  1534. ; How frequently the upload progress should be updated.
    : u7 r8 M8 f0 N9 F! }. U5 F
  1535. ; Given either in percentages (per-file), or in bytes
    ( |+ @7 i, a* Z+ F- d2 `2 }
  1536. ; Default Value: "1%"/ g/ _' u  t1 A, j) r2 `
  1537. ; Development Value: "1%", C/ E6 a! {. w
  1538. ; Production Value: "1%"
    : s& w% `" }  W% w2 @7 X5 L* m) x
  1539. ; http://php.net/session.upload-progress.freq
    " C, g2 |& ^, Z% `; P
  1540. ;session.upload_progress.freq =  "1%"5 K! [$ d2 z8 f4 H" R

  1541. 5 o' X- J( l- b# |# N" L
  1542. ; The minimum delay between updates, in seconds" a2 z6 @* d0 M. v4 }- Y& D  {/ ^& z/ R
  1543. ; Default Value: 19 }9 Y; b0 Y" j
  1544. ; Development Value: 1
    : s) G, ?, B, I
  1545. ; Production Value: 1
    + i8 \$ A- n. W: B! A
  1546. ; http://php.net/session.upload-progress.min-freq
    1 X" l: q2 a* j3 c
  1547. ;session.upload_progress.min_freq = "1"
    ( _' W0 b, t9 G: N
  1548.   h8 m/ Y: |$ P* ?; m
  1549. ; Only write session data when session data is changed. Enabled by default.
    6 A& R3 o  r# i: Y. g- \; b6 ^
  1550. ; http://php.net/session.lazy-write( k1 L$ g* V: k2 @2 m, o" b# T
  1551. ;session.lazy_write = On
    % ]( h. ]1 T1 c6 |3 s3 l
  1552. : S2 q" P* Y- j  H- |# e
  1553. [Assertion]8 F9 k- F9 [: M) |/ r
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time)
    ( F0 b$ g  r) R8 `' `$ L
  1555. ; -1: Do not compile at all7 K. K; L# T2 S
  1556. ;  0: Jump over assertion at run-time
    ' p4 c1 O+ P3 o, C
  1557. ;  1: Execute assertions$ D: z, |5 e6 [3 A7 t
  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)
    2 d/ |4 M& O0 n6 H. N: A
  1559. ; Default Value: 1
    0 r0 A, {- r4 C9 G( }3 Q
  1560. ; Development Value: 1
    8 d* \6 S5 y7 p) ?" k$ g
  1561. ; Production Value: -1' c4 u2 x# o! F0 `: o/ l9 r+ q
  1562. ; http://php.net/zend.assertions
    ' X+ H9 f' T; ?6 q; x1 ]: g
  1563. zend.assertions = -1
    . I  e  Z2 }/ x' W" C$ [! o8 [
  1564. 7 K8 p& F' P8 p: g5 H5 t! K
  1565. ; Assert(expr); active by default.
    " _8 s" K* l+ a6 r1 H1 g
  1566. ; http://php.net/assert.active
    & O7 n: x) d1 ?2 C; U) p7 X0 }& C
  1567. ;assert.active = On5 U7 ]6 Z5 @* E; b7 G
  1568. $ I0 t: T9 C( E. f) k( \7 K8 q' G
  1569. ; Throw an AssertationException on failed assertions
    # t/ r2 W/ H0 J" `3 ^/ ]! _* o& I
  1570. ; http://php.net/assert.exception: W- Z. J/ V6 B2 H
  1571. ;assert.exception = On/ g/ C6 s4 y# m

  1572. / Z) h) q8 N% C& k! l) o3 I. }( J) [
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    ) u- s$ q  j) ]6 t
  1574. ; http://php.net/assert.warning2 M8 o7 t. m' C: x$ A( b
  1575. ;assert.warning = On" X2 _* H; a  |2 h

  1576. 7 m, h: I- {5 M8 y& Q1 k5 Q
  1577. ; Don't bail out by default.
    8 F8 N0 t9 J, ~6 C6 ]5 I
  1578. ; http://php.net/assert.bail
    # p+ V" }* g7 r! d  [; M, T
  1579. ;assert.bail = Off7 v, a/ h/ D! K4 M& d8 v2 W5 Q
  1580. + ]) [4 }& Q: V" i. v. k
  1581. ; User-function to be called if an assertion fails.' S$ x( [6 o$ P6 D/ F- E! p: W  @% \
  1582. ; http://php.net/assert.callback; \8 t4 }; Q/ {' M& l3 v
  1583. ;assert.callback = 0' R5 e7 z# T2 o& N
  1584. : ^: ]" \# b' d* D* o6 r
  1585. ; Eval the expression with current error_reporting().  Set to true if you want
    % @  _. e; c8 F0 D1 t1 I
  1586. ; error_reporting(0) around the eval().
    ( j. B* Q: t% m
  1587. ; http://php.net/assert.quiet-eval
    6 F$ D* H9 E; ^  I
  1588. ;assert.quiet_eval = 0, A/ n6 H  K, c# q$ I; ?7 i
  1589. ! w6 Y+ g/ L% y4 z/ \' n7 Q; w& `
  1590. [COM]
    ( V5 A& T; P- v
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    ; v! B% S! x. F2 y  h1 N
  1592. ; http://php.net/com.typelib-file
    4 v5 v5 W' o- J4 m: e
  1593. ;com.typelib_file =( _: z8 u  Q+ P( |8 b
  1594. 5 Y4 T5 J3 o# b2 `" O
  1595. ; allow Distributed-COM calls
    ' `# a/ a9 b! F. ^$ A
  1596. ; http://php.net/com.allow-dcom  C9 j% D  X' r) i9 n, b
  1597. ;com.allow_dcom = true
    0 q1 b3 I7 B& B) a& d/ _

  1598. - m- F$ g( X' P  y7 G0 c6 W; x
  1599. ; autoregister constants of a components typlib on com_load()
    ; M* f! w; r0 d
  1600. ; http://php.net/com.autoregister-typelib7 o9 W3 `, Y* v$ Y" s2 d* E
  1601. ;com.autoregister_typelib = true
    , N* w9 q5 y1 n, O

  1602. + h3 L1 I. n4 z
  1603. ; register constants casesensitive
    ( ~( S% d8 j; z# p& {, f
  1604. ; http://php.net/com.autoregister-casesensitive
    3 X2 q7 @! F# D5 F) {3 P5 }( q
  1605. ;com.autoregister_casesensitive = false- I9 V1 S3 n9 N& S5 y( H7 ?3 T% R

  1606. ; m2 S( \' L% L# z0 V$ k
  1607. ; show warnings on duplicate constant registrations
    9 y, r+ V& _4 ]1 j5 ?  E
  1608. ; http://php.net/com.autoregister-verbose& t! b4 U& I8 ?" W' J7 q1 k
  1609. ;com.autoregister_verbose = true
    : ~- u  W8 b5 H* E8 c: w1 [# J
  1610.   A  ]/ ]: K- V/ V2 D
  1611. ; The default character set code-page to use when passing strings to and from COM objects.
    7 o5 W% W3 y) L& t
  1612. ; Default: system ANSI code page
    / ^1 {6 Y9 L( x4 C, o+ g
  1613. ;com.code_page=
    3 |8 q" [: ?4 G& Z& X3 Z
  1614. 6 ]3 v( x4 Q2 Q7 q5 |- _$ x
  1615. [mbstring]# `$ D! E# Q2 N; N! G% _! H/ m( n9 ?
  1616. ; language for internal character representation.
    - S- I8 o8 v6 \
  1617. ; This affects mb_send_mail() and mbstring.detect_order.1 i4 K7 E- `: M; w: j+ x
  1618. ; http://php.net/mbstring.language
    2 w# M( U* [2 B% k! F/ s- o2 g
  1619. ;mbstring.language = Japanese
    : o4 {& a" j; [# S% C

  1620. , U0 I3 _% k: R$ t0 r
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    7 v& y; n- ?/ e" Z! W7 W  k: d
  1622. ; internal/script encoding.0 O% N' \4 \3 j: H$ Y- N+ e
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*), ^$ f8 Z6 Z( ]' O9 s
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    / l3 {+ R: \; i. x" z
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding* }6 v- _9 H3 @
  1626. ;mbstring.internal_encoding =
    ; ?! L! \. V2 {4 a, J- G' T
  1627. ! S- r3 C) x& l# W, \% t& r- m
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.
    ' N2 i/ @+ m7 k* E
  1629. ; http input encoding.
    ( T, ?  |/ a4 \
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.
    ) h( z: Q% e& l, w9 E. ]
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.- K( k+ f8 V( M9 I
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    ' o+ N* z: g' R7 g0 [
  1633. ; http://php.net/mbstring.http-input2 v( j/ w' u' o& f
  1634. ;mbstring.http_input =9 H8 _# Z& N6 x( Q- [# h
  1635. $ T# ]4 c1 E: M6 S2 p4 S  ^2 x1 h
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.
    . a4 i- t2 D0 ?5 o8 n- }
  1637. ; http output encoding.0 I2 G2 r: D7 g- ^7 T( A! Z
  1638. ; mb_output_handler must be registered as output buffer to function.  m0 C) I+ b7 E& ?9 }& L, K
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    5 Z. z! G) ?$ {3 \' {% ~1 o  y0 {
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    , T2 v+ s5 X+ r/ t. `: d
  1641. ; To use an output encoding conversion, mbstring's output handler must be set" A+ m% M' Q& B- f- e& K3 b: _
  1642. ; otherwise output encoding conversion cannot be performed.
    ; p8 {1 _# T0 ~: D- A& t6 Q
  1643. ; http://php.net/mbstring.http-output2 B) w( b9 ?+ p, ]: a1 Y
  1644. ;mbstring.http_output =
    : g( B; P0 X0 w) `

  1645. : ~- M: Q' Q" `0 I5 Z8 Z( I; b, B
  1646. ; enable automatic encoding translation according to
    1 a6 e4 H, h2 D6 P; ^9 [9 s2 @
  1647. ; mbstring.internal_encoding setting. Input chars are9 x. D# P: w" a
  1648. ; converted to internal encoding by setting this to On.% Y/ L2 T' w3 |5 `% ~
  1649. ; Note: Do _not_ use automatic encoding translation for
    8 m" ~% _+ q1 r5 b& }
  1650. ;       portable libs/applications.
    5 x( C# q) o' G+ s; z. j8 L
  1651. ; http://php.net/mbstring.encoding-translation
    & O8 I% X& _: ?% I
  1652. ;mbstring.encoding_translation = Off
    4 C) L* L7 a7 _9 m7 l

  1653. % y! z5 T/ Y% r" e9 y* x
  1654. ; automatic encoding detection order.* z- E" @3 B2 s6 q8 R, W
  1655. ; "auto" detect order is changed according to mbstring.language
    " g6 A- |- K: B! s. V, Y; D! f) i) D
  1656. ; http://php.net/mbstring.detect-order& m, ]% l* _8 y4 l0 a: t% `. o
  1657. ;mbstring.detect_order = auto
    9 a. y5 j' G/ W8 D% C7 n! i( Y
  1658. # s2 k. t6 b/ e9 ~2 j0 s
  1659. ; substitute_character used when character cannot be converted) q* W2 j; G9 l4 v1 w) b2 H/ x
  1660. ; one from another
    ( B( r- [4 C  e9 o1 u) E9 b/ G8 f
  1661. ; http://php.net/mbstring.substitute-character/ k# r! _0 {) J! f- }# I7 c
  1662. ;mbstring.substitute_character = none# L/ {* W& g+ V+ d- W/ M( e% B

  1663. ' Z8 i  L0 S$ A  D
  1664. ; overload(replace) single byte functions by mbstring functions.' |% I8 U) m5 z) t6 [. D" t
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    - m, c5 A) B' k, ?+ [" Y
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    ) C& ~! b6 f# I4 ]$ U( n, D' E
  1667. ; For example, 7 for overload everything." h0 {! x, r1 E
  1668. ; 0: No overload
    ! z- C8 Q  M6 ?. N$ h. f
  1669. ; 1: Overload mail() function
    7 p7 X( F  F* `: _# w
  1670. ; 2: Overload str*() functions
    ; _- I3 d3 |( g6 C5 Q2 `
  1671. ; 4: Overload ereg*() functions
    - Z! a5 W3 H  K' X6 @
  1672. ; http://php.net/mbstring.func-overload3 `7 v" N9 a7 A( h5 h+ P
  1673. ;mbstring.func_overload = 0. D$ T( K0 ?0 C: z9 a0 B  y
  1674. + _4 l$ r9 M' F8 m; Z0 {0 M
  1675. ; enable strict encoding detection.
    5 ]% d; n# _2 P3 Y. @* T9 A! F$ y
  1676. ; Default: Off$ ?- H2 R" z( H- D' E
  1677. ;mbstring.strict_detection = On7 ^4 w7 L( @( b; l
  1678. ) s+ T0 x2 h. L1 K, R- ^- [
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()  g; I  d  t& ^. {* m+ Y
  1680. ; is activated.
    : L. x! ~" T, G- h
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    2 L/ L% U' W2 v2 G
  1682. ;mbstring.http_output_conv_mimetype=
    " ^: B9 j8 P& Y" `
  1683. 3 z. I. s; T$ X4 K( j
  1684. [gd]
    6 \! d& Y7 `' L, R: t; Y0 b4 o
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    ' l% F0 E, k6 e2 w% b9 X" L( r
  1686. ; a gd image. The warning will then be displayed as notices
    5 g) t: K8 r. x7 D' V4 a5 ^
  1687. ; disabled by default& j" g: H9 f2 j
  1688. ; http://php.net/gd.jpeg-ignore-warning
    7 d  ~6 P. w* h2 c" h
  1689. ;gd.jpeg_ignore_warning = 0
    1 E* J. S2 Q2 k6 D: S  u; I; C2 ^/ x

  1690. 1 g: B" f$ @, f; F' S) D1 d! R
  1691. [exif]2 v9 w5 X0 p8 \/ ~: j6 y
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    3 o9 B8 W, m+ e4 L( M& z5 E/ y% q
  1693. ; With mbstring support this will automatically be converted into the encoding1 }  C, i5 O' b* N2 ~- L
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding, b$ u( A* q$ t5 W; {3 k
  1695. ; is used. For the decode settings you can distinguish between motorola and
    ' ], @/ h- v6 l  p2 @6 A$ f) k4 B
  1696. ; intel byte order. A decode setting cannot be empty.
    % |4 b, H1 n2 r6 S) W
  1697. ; http://php.net/exif.encode-unicode( ]4 `- b: U- S$ U8 O7 ?4 R
  1698. ;exif.encode_unicode = ISO-8859-15
    1 S$ Y% J4 t8 [
  1699. 6 U' }4 m3 `; K  w8 h2 ^, M; L- q
  1700. ; http://php.net/exif.decode-unicode-motorola$ W9 m& ]0 `5 G: A' k5 N
  1701. ;exif.decode_unicode_motorola = UCS-2BE) Y9 K- R* p; i- t( }
  1702. ( N* E6 x* {/ a7 e$ b
  1703. ; http://php.net/exif.decode-unicode-intel: o7 j+ S# d0 l+ h( ~6 O3 G
  1704. ;exif.decode_unicode_intel    = UCS-2LE4 S3 \& O& _9 G; N
  1705. 0 H3 m: q. @/ c! L" A" \$ a
  1706. ; http://php.net/exif.encode-jis
    $ A0 j: [0 o. L7 A" s/ E7 v
  1707. ;exif.encode_jis =
    9 K& ^7 S! P3 Q7 h4 N3 }

  1708. . F2 Y; a$ U; G7 v8 i
  1709. ; http://php.net/exif.decode-jis-motorola
    / j, ^+ D$ l! d5 U7 k
  1710. ;exif.decode_jis_motorola = JIS
    ( }6 m, U6 @: O, B
  1711. ( L4 J' t- M5 ~  {2 X# G, J
  1712. ; http://php.net/exif.decode-jis-intel* h( a0 |7 P5 N# @! P; z
  1713. ;exif.decode_jis_intel    = JIS
    7 W6 [0 @# O- i( y  `* L4 D- r

  1714. 1 B/ i$ h  ~( j3 Q- [/ q
  1715. [Tidy]
    8 W5 p- h0 n5 Z: S' A" r  j# e
  1716. ; The path to a default tidy configuration file to use when using tidy
    ; G2 S( s( \0 j! W( ^; X
  1717. ; http://php.net/tidy.default-config
    ' d7 P  g0 H" Q& O: G
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg; o" s4 J5 o2 K, W) ?
  1719. ' `1 h2 W$ S# a/ @' m
  1720. ; Should tidy clean and repair output automatically?
    7 h5 [2 g7 ^; J: r( X! W7 D, |* |
  1721. ; WARNING: Do not use this option if you are generating non-html content
    1 ?, O" [" x0 q( Q$ Z0 ]5 H7 C2 t, ~
  1722. ; such as dynamic images9 O' u3 s7 v2 x+ h3 d  e! k
  1723. ; http://php.net/tidy.clean-output# o! Z- g/ ]; L6 j% n0 c
  1724. tidy.clean_output = Off# V. C+ m% t/ M& `

  1725. 5 `+ Q# }7 i, k- O) W
  1726. [soap]
    4 E8 @: Y( r! O
  1727. ; Enables or disables WSDL caching feature.. k# U2 R1 d/ @. o
  1728. ; http://php.net/soap.wsdl-cache-enabled
    3 @* m6 N# g) }2 t$ b% I/ W
  1729. soap.wsdl_cache_enabled=1
    ) m0 Q% ?' r, z- f
  1730. : w: x6 b- v: {0 k5 w
  1731. ; Sets the directory name where SOAP extension will put cache files.5 ~3 o0 f9 u0 V5 O) D2 u
  1732. ; http://php.net/soap.wsdl-cache-dir) @$ x! s6 `! z% f, J6 P
  1733. soap.wsdl_cache_dir="/tmp"
    7 p4 n- T4 D$ `. A; [5 `4 A; m% F2 `

  1734. / E3 a4 j, U& G, q
  1735. ; (time to live) Sets the number of second while cached file will be used* o9 G* T5 ?7 f" O6 k* \- s
  1736. ; instead of original one.
    6 l+ j; O; K7 v6 b# p5 s
  1737. ; http://php.net/soap.wsdl-cache-ttl8 Y5 k7 A2 e2 B# \3 K
  1738. soap.wsdl_cache_ttl=86400
    / p; o2 \: d8 I# M" @9 A

  1739. # G$ }  r9 J! m6 w8 k
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    * s/ ]9 @6 @9 l3 N" W
  1741. soap.wsdl_cache_limit = 5
    8 f- l8 Q5 e2 {' b/ w  T

  1742. 9 V  E1 I6 \. `0 U% f9 C# r
  1743. [sysvshm]$ ~6 C/ u& s  S( _6 T/ z7 G1 k# d# L3 E
  1744. ; A default size of the shared memory segment
    . r" ^6 B6 |) w9 ^) h: N/ V- b( g5 Z. s
  1745. ;sysvshm.init_mem = 10000  f5 j( Q) C4 E2 o* S8 G

  1746. ( R  K, A) n9 B
  1747. [ldap]* T% |* L$ U- z9 g9 e
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    4 Q5 d! s$ D" i& @6 A7 o) m( _
  1749. ldap.max_links = -1' O) u% o/ y" f; ?
  1750. 3 |# b; A3 t, E$ q4 _1 g
  1751. [mcrypt]
      M* g. I7 b8 E1 C  q
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    4 W$ f$ p1 |7 W, H+ }" S0 o, M5 z

  1753.   h: e% w3 l. {
  1754. ; Directory where to load mcrypt algorithms
    2 E7 U; J6 m  F4 r( c- F! q
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    + t, C) ^/ i' @" @- a& {
  1756. ;mcrypt.algorithms_dir=6 s! @9 K; N" _1 y& B1 p. `3 f
  1757. 6 D7 j& N1 P2 g( C; O% k$ x
  1758. ; Directory where to load mcrypt modes0 {( f2 C9 P! l: C# _3 _# G1 a
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)2 U: c8 T  }9 F, _1 R3 U
  1760. ;mcrypt.modes_dir=$ O. k; C( {  L8 t) s! {

  1761. 6 z5 J/ Q6 k7 {# d1 q0 g+ a: d
  1762. [dba]
    # p: n; f& e, C( l, \, |% S
  1763. ;dba.default_handler=
    / L, p5 v& n" A4 H
  1764. % `1 a+ M- _) c# I9 G1 G$ Y  _
  1765. [opcache]& a* B& C0 l# h+ H5 R3 |
  1766. ; Determines if Zend OPCache is enabled6 n4 g# U5 J# O% \3 g# f& s
  1767. ;opcache.enable=0+ `7 q  P5 t. h6 @2 q$ X/ v3 ^
  1768. $ {- P2 m" x3 V- ~
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    . e0 Z- r$ ~/ R1 {
  1770. ;opcache.enable_cli=04 B; q5 q) K; m; @9 A- e

  1771. 1 V( ?, d  R6 I  M9 R3 N9 K
  1772. ; The OPcache shared memory storage size.( v; r3 }+ k  y6 `
  1773. ;opcache.memory_consumption=64
    8 r- {' G3 W4 g8 V5 [- G! x

  1774. + I0 f* ?" }& O3 j, z4 j
  1775. ; The amount of memory for interned strings in Mbytes.1 w$ J1 g/ n9 R
  1776. ;opcache.interned_strings_buffer=4
    ; T9 v. C; u0 I9 t

  1777. ( i% H0 ]$ s* W/ g. w2 N
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    % P+ U- p$ v2 z% _
  1779. ; Only numbers between 200 and 1000000 are allowed.) m' ^+ y# i0 P6 [
  1780. ;opcache.max_accelerated_files=2000
    $ |% v) d, I( \1 s: ^' L/ a& e
  1781. % M) o) _  ?! H' I+ J; {
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.5 y2 Y7 X; U2 ?  M% Z5 `3 f
  1783. ;opcache.max_wasted_percentage=5
    5 B3 ]8 X, U5 z6 O3 s" @' P
  1784. : y' c+ h: x! k5 v
  1785. ; When this directive is enabled, the OPcache appends the current working
    , v7 {! U; C$ T2 _' x
  1786. ; directory to the script key, thus eliminating possible collisions between
    / \: \" V' n1 O( ^2 S2 y' Y0 @
  1787. ; files with the same name (basename). Disabling the directive improves
    / L& z+ C3 G" r2 D$ ~
  1788. ; performance, but may break existing applications.5 `; b# Q5 u& i2 B1 c7 U
  1789. ;opcache.use_cwd=1
    . Q: k' r- a' l. z
  1790. 8 w3 {; ]% I6 d6 l& `4 |! m% l
  1791. ; When disabled, you must reset the OPcache manually or restart the
    " z3 C% k1 a0 l7 B4 L6 l
  1792. ; webserver for changes to the filesystem to take effect.) V) V6 {) {- F1 n8 o
  1793. ;opcache.validate_timestamps=1
    + V( D# Q5 @0 ~3 C* C
  1794. + ?4 _7 r8 Q9 u9 H3 n  c
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    % M, p3 V* f! G% }! x3 p9 F
  1796. ; memory storage allocation. ("1" means validate once per second, but only( c, g' m: f3 b, c0 [/ v
  1797. ; once per request. "0" means always validate)
    & g- k4 S6 W" f' L6 X. P
  1798. ;opcache.revalidate_freq=2# R# l% H' h7 N7 X

  1799. & `: M( J( n- N: `) f) y; s. O5 M
  1800. ; Enables or disables file search in include_path optimization
    . |3 ?6 Z8 y7 o0 F9 W
  1801. ;opcache.revalidate_path=0
    1 C  @) O  v" L  C' o  y
  1802. & s. w8 F2 t$ ~; T" \. y# X
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the- E- F' ?5 j6 M/ R. w7 f
  1804. ; size of the optimized code.
      P+ G' b! X$ i4 ^; E5 N/ G, W
  1805. ;opcache.save_comments=1$ e8 H* `; m# H; o% D. m6 V
  1806. , Y& c4 |5 E! g* Z" E
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code) W/ J9 V( L) j1 l$ e
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.5 R4 f7 Y6 Y: V. X( E
  1809. ;opcache.fast_shutdown=0
    1 J) {+ I4 n. `! J' k; k) B; Y9 M0 H
  1810. 9 Y! n8 [( `. p$ c4 T; `; C( P5 @
  1811. ; Allow file existence override (file_exists, etc.) performance feature.* h: Z" ?- K7 c. w5 U
  1812. ;opcache.enable_file_override=0
    8 ?4 y9 n. V; n. Z! N9 s6 V, q2 x& r" o

  1813. / I9 {# O/ G8 x. f8 o2 f! c% A
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache$ G! ?# |5 C6 t" a
  1815. ; passes
    9 C, t7 n- F2 q' X: B# [2 u& p
  1816. ;opcache.optimization_level=0xffffffff
    9 b( ~' F5 F  D* W8 ^% ?9 h
  1817.   L1 @4 ]( d0 e1 f9 k& l9 X. g
  1818. ;opcache.inherited_hack=1
    ' Y& c* R9 ?# y- @  {+ ]
  1819. ;opcache.dups_fix=0
    1 E3 u# ^6 Q; [( v- g
  1820. ' x, Z8 C6 z3 l0 f; D2 v0 B. u
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    ' @0 g: I/ O1 B$ i8 ?7 N: I
  1822. ; Each OPcache blacklist file is a text file that holds the names of files, |7 j1 U* \/ O. ^7 I% K& K
  1823. ; that should not be accelerated. The file format is to add each filename; G9 c9 a1 ]( k. I! J7 }5 B1 a
  1824. ; to a new line. The filename may be a full path or just a file prefix# c! J1 R% i9 ?6 m/ V
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    ) v; ^; k$ _1 z- F8 E
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).
    1 |, ~8 \6 V0 D6 h  j) h' |( \
  1827. ;opcache.blacklist_filename=; j" E2 |# k, [

  1828. 3 E/ h1 m7 D# U) s: ^
  1829. ; Allows exclusion of large files from being cached. By default all files) G" A3 H0 z, G& Y; C1 S. a/ }
  1830. ; are cached.3 D( e1 ~  b6 [5 L
  1831. ;opcache.max_file_size=0
    ; ^& ?0 d+ ~6 R4 J! {! m% d4 D7 Y

  1832. + H; e4 C' M, l; a& {6 x
  1833. ; Check the cache checksum each N requests.# ]. ]9 p, V: \" Z
  1834. ; The default value of "0" means that the checks are disabled.
    ' {8 h5 v" D! L8 ]
  1835. ;opcache.consistency_checks=0  D5 \' f, o# s1 M3 p6 j3 g1 [4 @

  1836. 7 }, ]; W5 U0 O" z) P  L
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache, O3 N3 t/ U5 s' S' |
  1838. ; is not being accessed.
    2 E* N6 d; g, h# N
  1839. ;opcache.force_restart_timeout=180
    8 X, f; f+ N7 P. Z2 P; Z
  1840. 0 o- \$ p7 K7 V
  1841. ; OPcache error_log file name. Empty string assumes "stderr".) Y8 h  J. g: c1 o* |9 R
  1842. ;opcache.error_log=) I7 Q; s# B- v1 B

  1843. 7 W7 `/ F, P. N3 E" W3 e$ C2 n4 w
  1844. ; All OPcache errors go to the Web server log., C. y1 s& Q& L. I, ]  C
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.
      c2 h& y- _/ W9 s! b
  1846. ; You can also enable warnings (level 2), info messages (level 3) or8 t7 |. A  i0 Q4 R1 z# V
  1847. ; debug messages (level 4).
      [7 a: B3 A6 i( p9 v- @, _5 a( K
  1848. ;opcache.log_verbosity_level=1
    2 h# \8 w3 ~7 J1 y( S# Y4 Z

  1849. 4 o) b( P( ^: J" P
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.2 S7 G) V6 R% }& f
  1851. ;opcache.preferred_memory_model=
    : P0 _  ]7 F, t+ ~+ I$ `' Y4 c1 A. f- K

  1852. 8 i2 G& u2 v- V8 r3 c  V+ I
  1853. ; Protect the shared memory from unexpected writing during script execution.
    5 H' C8 ]9 L3 E5 v
  1854. ; Useful for internal debugging only.+ n' i1 T5 y9 T
  1855. ;opcache.protect_memory=0) k# m/ W& \' r5 l, R
  1856. 3 p4 j* y; a& B5 `" _( @
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    1 O- d* d0 I" W) B, j. M/ Z
  1858. ; started from specified string. The default "" means no restriction. U1 {4 {  g# ]
  1859. ;opcache.restrict_api=' o1 f# w- Y- w0 T, U# R) ]2 J
  1860. 8 k% |  {/ b  M2 s: ]& N/ f* V" G0 K
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP% \6 k1 O! R$ S
  1862. ; processes have to map shared memory into the same address space. This
    6 p5 e* W4 p9 j) C
  1863. ; directive allows to manually fix the "Unable to reattach to base address"
    0 O$ \0 T% P4 b, \/ h! z
  1864. ; errors.
    ! n- b: N* ~5 D' a2 Y* {$ _
  1865. ;opcache.mmap_base=
    / \7 Q8 ^/ o6 E: S6 u
  1866. 0 U; ?5 ]; J% b. M0 W
  1867. ; Enables and sets the second level cache directory.! O2 O' l5 u) j, Q0 q& h3 L5 \
  1868. ; It should improve performance when SHM memory is full, at server restart or! ?) C" J$ t7 w' e
  1869. ; SHM reset. The default "" disables file based caching.( _* D1 z5 _; M: p( M8 y4 N
  1870. ;opcache.file_cache=8 s9 h4 T  N/ ~- n/ r
  1871. / T+ s- K% `6 w: }. w
  1872. ; Enables or disables opcode caching in shared memory.: `+ d; g7 C) R; ~" b
  1873. ;opcache.file_cache_only=0  P2 b7 k) j" w0 N" A* S  s

  1874. ! G& K' \& p. e
  1875. ; Enables or disables checksum validation when script loaded from file cache.( j. z. `& A' ~5 ^8 ^5 `& l9 x
  1876. ;opcache.file_cache_consistency_checks=1# i; P! D3 U7 V8 ?+ A& S. n

  1877. ( {! U) u; \6 |/ H" ?6 z* v
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to  {# ?! {8 C0 b
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file" i: J: O  c; ^
  1880. ; cache is required.
    2 ^! a) n' p" S8 p( {
  1881. ;opcache.file_cache_fallback=1
    ! _" h& Z# W( t& o7 s: g2 {! U

  1882. $ w/ @/ |7 S2 u+ _; M
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.2 D0 M+ R! k5 ~2 z
  1884. ; This should improve performance, but requires appropriate OS configuration.. k) F3 q4 a' v; n; ]
  1885. ;opcache.huge_code_pages=10 E+ p' ]) P) ]  V# c0 ^6 V" ]
  1886. $ @1 x/ B+ r3 E3 ]. {( y5 T) P& s
  1887. ; Validate cached file permissions.5 A8 [0 u+ f9 |7 o) [
  1888. ; opcache.validate_permission=0
    : b0 N$ \* F+ l8 N. w
  1889. - P" v% q1 K/ \; @  x0 L0 f/ z
  1890. ; Prevent name collisions in chroot'ed environment.2 K" G8 h( ^9 B- y& W# O2 W* k
  1891. ; opcache.validate_root=0" t% e4 i3 y2 H; s! ^8 @3 H

  1892. 7 o9 X5 w9 C, W: z5 R
  1893. [curl]# p  m, n  x9 ?
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an
    : g# B' [- @, A/ f" \
  1895. ; absolute path.6 V/ w# g. W1 _5 K. [7 ]; e6 x+ g
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt7 P/ g  C' X/ h* z' D0 ~0 C. z
  1897. % e* o$ i3 n. Q" [# J
  1898. [openssl]9 d! q, `; B" O7 m# _  c8 K
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem& n2 f4 |& _( b* i8 m- S) v
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    1 d) Z9 |  V& f2 `' [
  1901. ; not specify a value for this directive as PHP will attempt to use the
    2 N* `8 A  I/ k; C9 E7 V
  1902. ; OS-managed cert stores in its absence. If specified, this value may still7 I+ O& V  K) y* l) M
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context1 }0 r0 a6 |  ^, _5 }  c
  1904. ; option.9 a: i6 K, J8 ~9 y2 Q
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt
    : F% o; J& ]) w0 H  }0 B

  1906. ) G3 I  g) [* A( T$ W$ ^
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the# w4 T( N" K* `7 n/ T
  1908. ; directory pointed to by openssl.capath is searched for a suitable
    $ i4 R& Z/ t! L8 x
  1909. ; certificate. This value must be a correctly hashed certificate directory.2 O- W  d3 k$ C. O) j
  1910. ; Most users should not specify a value for this directive as PHP will
    6 ~8 a+ Z1 @7 s8 B
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    % u& R: J+ {! G$ l- l% U
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    5 m) N/ E( A6 T1 q6 a# y) e
  1913. ; SSL stream context option.6 V% N( t+ P7 v% G$ N
  1914. ;openssl.capath=
    - ?6 C" q" p% A2 C6 k2 T

  1915. : e5 b& N0 E7 O
  1916. ; Local Variables:
    9 T; L: `' \, n9 k
  1917. ; tab-width: 4
    8 T+ ?9 T- a. G4 v! }  o
  1918. ; End:
    $ y/ m4 k; H  a$ ]

  1919. * h& k6 d0 Z$ H; v
  1920. ;eaccelerator) ^; L/ N# N2 o( |1 Z5 f
  1921. 0 R  r$ k6 E' n2 j
  1922. ;ionCube
    , Y4 V; I) E2 `
  1923. ) I$ ^" L# P" o) e4 f7 a" m
  1924. ;opcache
    . X, |  x/ q) q2 m5 I
  1925. * G/ e- _5 ?2 s! l
  1926. [Zend ZendGuard Loader]) f2 O' q& u9 I( Z. F& h
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.: Q( ]7 h# N# B
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    4 d5 X3 r: K, w0 Y& Q% N0 Q5 Q
  1929. ;zend_loader.enable=1: l; c: u; W: @' v
  1930. ;zend_loader.disable_licensing=0
    6 s6 B0 M, t( v3 p8 G% G% e
  1931. ;zend_loader.obfuscation_level_support=3
    $ A# e8 A. q/ X. P
  1932. ;zend_loader.license_path=! E7 n( Z: b% p( q

  1933. & a+ Q$ i- D) Y/ H( `; j
  1934. ;xcache
      Y4 D* m) w; S& X) ]- @

  1935. 4 E7 h7 `/ b; q3 Z
复制代码
3 \& \: p# R, q- `9 N4 d

* B4 x' Z% d) M  T
' W4 l+ N6 v# [, a% R, W: ]1 {. i( ?% k, e) s* G
, I0 A( u/ \- ?1 {  ]4 V; G
/ X0 v# G" U5 Z$ R) n/ f1 P) e

1 _+ ]" K5 \. m! @" R1 n9 D2 qPHP5.6版本原始设置& J1 Y9 ?* q/ k: Q/ g4 c' s( W
+ ~9 v$ {, `& A: V: [3 M9 P
  1. [PHP]
    5 H1 s2 p7 w# I0 A
  2. : v! j! i2 M- I" l
  3. ;;;;;;;;;;;;;;;;;;;" [9 E3 F3 [5 Z& j3 D4 ]; F# m
  4. ; About php.ini   ;
    7 f1 T; J' Q* Z0 P
  5. ;;;;;;;;;;;;;;;;;;;. l, b+ M* R9 k6 _2 e& B! R& ]
  6. ; PHP's initialization file, generally called php.ini, is responsible for
    0 B5 T0 w7 o2 ]7 ^- f$ J
  7. ; configuring many of the aspects of PHP's behavior.
    - L7 K, @; w/ y5 o' X" P
  8. & E) R% G( x, N" X7 I
  9. ; PHP attempts to find and load this configuration from a number of locations.$ m6 P% i$ X! ?
  10. ; The following is a summary of its search order:
    8 F( Q0 g# y0 R
  11. ; 1. SAPI module specific location./ G- s& Q' R% l% q& X! T
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    2 S) m; k: b- g- r9 K
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)
    2 L" k2 Y7 K7 {, k) Y# L
  14. ; 4. Current working directory (except CLI)( d- p% Q0 v/ J% o& K
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP% a7 ]5 u- i  P8 X
  16. ; (otherwise in Windows)1 p4 w2 b4 O( c) C; C5 O
  17. ; 6. The directory from the --with-config-file-path compile time option, or the- {7 }% a- f4 ~) X! Q
  18. ; Windows directory (C:\windows or C:\winnt)
    3 O. N# y3 H, e: Z, N
  19. ; See the PHP docs for more specific information.
    # O6 G" |: V7 U
  20. ; http://php.net/configuration.file
    8 _! C+ N0 Q8 f/ C" L( E
  21. 4 a/ K: F  y& b$ T9 S  n
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    2 w/ U, D1 C/ C1 W
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).8 }# I- H- {: a8 w% j
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    & O- |: V% S* i( w" r7 b( M% B
  25. ; they might mean something in the future.3 X8 X8 @8 o3 N9 |" J) G0 Y

  26. ) _" L: {# G9 z. q0 \. W" s
  27. ; Directives following the section heading [PATH=/www/mysite] only# y+ T8 w  c7 x# ~$ o
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    5 g% Y9 o- X3 H
  29. ; following the section heading [HOST=www.example.com] only apply to
    & _# y0 f; l$ Z( q4 q
  30. ; PHP files served from www.example.com.  Directives set in these7 H0 g0 @9 U! j. C- t" P4 a6 `
  31. ; special sections cannot be overridden by user-defined INI files or7 H2 X6 @! s% u2 d1 P
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under3 K2 W9 O* \- @& V7 l6 `* U) ]
  33. ; CGI/FastCGI.
    ! i# J+ I! H7 L9 ]3 n
  34. ; http://php.net/ini.sections+ f0 e( m9 A0 c' b" m% }& s
  35. / @. ?3 L' l3 z) |( ^1 i
  36. ; Directives are specified using the following syntax:0 h6 d. ^: o( M4 f4 _
  37. ; directive = value# i3 d7 y$ N3 \8 @% S0 o& U1 _
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.7 ~! W$ v; K; ~( ^
  39. ; Directives are variables used to configure PHP or PHP extensions.
    5 s1 Y4 p; f8 ^7 D$ _: \
  40. ; There is no name validation.  If PHP can't find an expected
    - x% e, W* x8 e1 v8 k4 D
  41. ; directive because it is not set or is mistyped, a default value will be used.0 P% f! m. j2 Y/ ]$ h% Q

  42. ( t$ C2 [8 g% U9 O
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one
    2 w: F4 T* a( n. h
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression6 c6 N: ^6 ~, _/ O3 N/ E7 x$ N
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    % g5 o; x; p& G- W3 u
  46. ; previously set variable or directive (e.g. ${foo})6 Q$ D" E" w2 N7 f: @5 z
  47. 4 O/ A& \6 u  `6 A- ~( @
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:% {* `& h6 u% H/ Z+ D
  49. ; |  bitwise OR1 O% Y' T5 P, O3 M4 g
  50. ; ^  bitwise XOR( b2 b* ^0 t+ |5 T; i$ t+ Y% a
  51. ; &  bitwise AND6 M2 ]1 U6 n7 O3 }
  52. ; ~  bitwise NOT3 D$ \9 R" J; M+ O
  53. ; !  boolean NOT/ m( Z0 }( s+ Q# n/ @
  54. 5 \  a) o4 `: ~3 w  R; E3 Z
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.7 R% w2 i, I7 ?) m1 M& X
  56. ; They can be turned off using the values 0, Off, False or No.9 T; D8 G4 g. C3 W1 p0 }' c$ m% O1 c* b
  57. 7 c- o& H0 R9 K' h5 u9 I0 n  y" S3 S
  58. ; An empty string can be denoted by simply not writing anything after the equal
    : D+ K' H3 t  j9 I6 A9 ^
  59. ; sign, or by using the None keyword:# u3 Y; z/ l+ U+ w

  60. . Z5 E  ~3 N  f. G; x9 j: C
  61. ;  foo =         ; sets foo to an empty string
    * H6 i" q% O& @: ?" a+ Q0 b( @% b2 b3 V
  62. ;  foo = None    ; sets foo to an empty string0 R3 Q  s  O: b  Z. C. G* _
  63. ;  foo = "None"  ; sets foo to the string 'None'/ y- b% V5 K$ F) m- [5 [$ K, u

  64. 9 d4 _; @) h8 P5 O
  65. ; If you use constants in your value, and these constants belong to a& R8 x0 r8 `' S& T5 |- N
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),! c+ V( O& G; m# t/ ^( {4 X
  67. ; you may only use these constants *after* the line that loads the extension.' E( n  W8 Z9 E& V" i
  68. 2 f0 _$ N% z. P# \4 ^! b
  69. ;;;;;;;;;;;;;;;;;;;6 v' Z4 q  t7 h8 y
  70. ; About this file ;) c* F) Q" i. S5 V# w! @
  71. ;;;;;;;;;;;;;;;;;;;
    + @. E* u9 N0 a# A. C
  72. ; PHP comes packaged with two INI files. One that is recommended to be used
    3 Y# _* r3 W- T# ]' j2 ~' o
  73. ; in production environments and one that is recommended to be used in
    : Z9 a0 F9 g+ V
  74. ; development environments.
    + G4 ^  Y' T8 n# q% ~
  75. ( e0 E# k* e2 D1 v. t
  76. ; php.ini-production contains settings which hold security, performance and
    ( C0 @0 m0 a0 ^
  77. ; best practices at its core. But please be aware, these settings may break5 g$ X  ~4 y8 ^- H6 n$ \# Z
  78. ; compatibility with older or less security conscience applications. We
    2 L# Q9 H: {3 M. O& {4 b% w
  79. ; recommending using the production ini in production and testing environments.
    # |3 f0 w; [& r! V6 M

  80. - t: i1 i7 Z- w. _; k% j
  81. ; php.ini-development is very similar to its production variant, except it is1 I/ s  l& k- ^9 I) k8 V
  82. ; much more verbose when it comes to errors. We recommend using the
    2 C& }  `/ ?- E* |7 A
  83. ; development version only in development environments, as errors shown to
    / F& t5 a6 a9 ^+ W1 K5 A# f
  84. ; application users can inadvertently leak otherwise secure information.
    % N3 G% k* L; u
  85. & q$ V7 |. W) Q
  86. ; This is php.ini-production INI file.
    1 l' B! b8 T4 I. Y

  87. " R1 |8 u" q8 b
  88. ;;;;;;;;;;;;;;;;;;;/ J# A4 t7 g1 z9 P0 H
  89. ; Quick Reference ;
    - ~4 X$ \$ b8 I6 j
  90. ;;;;;;;;;;;;;;;;;;;- a% K4 X7 \( J6 A0 K, i( j
  91. ; The following are all the settings which are different in either the production  d" n, O; c# P; T" V9 U
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    6 d  l! X1 k" S' v) u' |4 W
  93. ; Please see the actual settings later in the document for more details as to why
    / b( U* }# Y0 m( s6 D. w$ a
  94. ; we recommend these changes in PHP's behavior.
    ; l8 T) A0 j4 U3 D

  95. $ ?' d$ ^4 P( I
  96. ; display_errors9 _/ y0 O* C% J9 {# s3 L
  97. ;   Default Value: On$ D) c( v, a1 L, t+ w
  98. ;   Development Value: On
    : m- B. l) K. `2 A) v3 |8 F4 q
  99. ;   Production Value: Off' I0 U. N* w( @# ]3 U3 m# s3 Y! d

  100. ; r: v6 B7 v  J3 {+ N' _8 \1 h0 t
  101. ; display_startup_errors8 o' K8 `% y4 k/ d& M( N. Z, n& f
  102. ;   Default Value: Off
    / M% O% M3 R% v; N/ u3 e# @) T! l2 N
  103. ;   Development Value: On
      _& k0 {5 l# K6 w1 `& Y# A
  104. ;   Production Value: Off& e0 T$ P* ?, L, f8 ]5 U  D% J
  105. : A2 O* I" w0 a" j3 V, g
  106. ; error_reporting
    ' `, {0 |2 k6 v- [6 P' g
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED) _/ w4 G2 j( e: C5 r# v" T' k
  108. ;   Development Value: E_ALL  X$ v- o. m8 H: P( x( e# k
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    3 P' S$ H9 G7 o0 _( |) v
  110. 9 V& g! E3 Z* W7 V. e$ m& i
  111. ; html_errors3 D6 C4 i& v: p
  112. ;   Default Value: On0 p' U2 h: _+ R* H1 G9 w) C% X3 Z
  113. ;   Development Value: On
    # F+ m% [1 n5 [8 U+ {4 B
  114. ;   Production value: On
    + R) w  l+ u" x( N* l$ a( C

  115. 5 D9 {  M, p( G& G2 A+ l
  116. ; log_errors
    9 E8 |4 g1 E* A& M
  117. ;   Default Value: Off
    6 q& L7 w; o& t6 }% f7 @
  118. ;   Development Value: On1 w: Q. |& ^# B# l- A5 ~' j0 G
  119. ;   Production Value: On, R4 n' v8 `7 y, p' T. M
  120. ; b! S- P9 O: H
  121. ; max_input_time
    4 u4 i3 b2 J7 ]/ B4 L! x
  122. ;   Default Value: -1 (Unlimited)  W1 Z) q7 y" O. t( F3 U
  123. ;   Development Value: 60 (60 seconds)% C$ T  h8 X* Y' [8 R7 t
  124. ;   Production Value: 60 (60 seconds)9 t5 g  w* m1 Z& r9 K
  125.   o1 i, h2 F( e2 z9 D, y4 J6 \0 f
  126. ; output_buffering$ C3 K( Y9 ]7 a
  127. ;   Default Value: Off9 V3 a" z. ~! w& X. F, V* T
  128. ;   Development Value: 40964 u! ^1 ^6 }1 J5 z, Q  a- `( W
  129. ;   Production Value: 4096& B' r0 d0 t( _7 h& r9 C" |

  130. , M# E7 Q% N9 U
  131. ; register_argc_argv
    4 r: Z6 P% s! ^+ A8 \6 r
  132. ;   Default Value: On$ l7 y, p  i7 E9 p& W  A$ U1 e
  133. ;   Development Value: Off
    2 D8 W! y6 z) D4 E( h/ `
  134. ;   Production Value: Off# j4 E2 N* g5 D, p! r5 K: P
  135. ; V! K1 l" x6 ]7 B4 p4 ]' u1 d
  136. ; request_order
    & @0 q- g; ^! ]6 A$ B
  137. ;   Default Value: None3 j3 ]( l8 H  B* t1 x
  138. ;   Development Value: "GP"5 S9 F1 i2 r. o9 V( ]* `
  139. ;   Production Value: "GP"
    ! j" Z4 @1 n" B

  140. 5 Z/ P6 R/ v5 U7 O  |% |) ]
  141. ; session.gc_divisor5 M0 |% W0 Y8 B& A2 p/ H- @
  142. ;   Default Value: 100
    . D& W9 p5 z- @6 ^0 m# e4 {
  143. ;   Development Value: 1000' e5 P" F' i$ U% p  E4 ^$ F
  144. ;   Production Value: 10002 K, P+ F$ I+ P$ K* p

  145. 4 u; R( R; N) l6 x$ u8 D( |, z3 S. T
  146. ; session.hash_bits_per_character
    + j, c' O% a4 M6 D. _
  147. ;   Default Value: 4" F% v, q5 W3 x
  148. ;   Development Value: 5
    . u5 c0 x+ D9 |
  149. ;   Production Value: 5
    0 F0 u& J- Q6 ^; h$ U
  150. 8 H( C; t& M  j3 g* _
  151. ; short_open_tag
    3 c( q: e- Q0 r& u' _0 o
  152. ;   Default Value: On
    : ?3 a7 ^$ q7 y& |) t
  153. ;   Development Value: Off
    : @8 L, d5 k, M' u3 ~* @
  154. ;   Production Value: Off
    # _' h$ w& q! y- W" f/ L8 z5 p& [8 E  [

  155. # ^; ~( P2 q3 ?' a+ \5 p
  156. ; track_errors
    7 M! e( u9 Y/ m  _8 q& y' L/ _8 M6 l
  157. ;   Default Value: Off2 v" e( f3 y7 _# U) H# d
  158. ;   Development Value: On/ |' W; A' I# L9 G' z: G
  159. ;   Production Value: Off  g  D( j2 x- V( v+ C( \
  160. 7 f& x3 W0 a+ G  g
  161. ; url_rewriter.tags
    # j% [' z0 s# m+ C3 o# J5 X
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="
    1 G/ T# ~3 a2 E7 L% _) K
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    * M: L7 J+ E. p3 N$ B0 Q
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    & n, M8 ?6 d# G( v8 e; v2 K  k
  165. * Z$ x  r, A$ |) O1 w4 D/ Q
  166. ; variables_order
    * Z( o7 s' N, l! T  }( d' R
  167. ;   Default Value: "EGPCS"
    + V, o% M0 [  K; ?7 S2 C
  168. ;   Development Value: "GPCS"
    1 g  T9 r4 f- [3 U8 i
  169. ;   Production Value: "GPCS"
    * h+ T$ Y- |5 D7 |" p& x

  170. 7 X2 {8 |# s; L, r
  171. ;;;;;;;;;;;;;;;;;;;;
    4 U! {. W2 k% Q5 ?5 F
  172. ; php.ini Options  ;
    * \: E1 p+ k% j/ O! u- o
  173. ;;;;;;;;;;;;;;;;;;;;0 e' A! w' \2 O: `! R; _( y
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"
    5 N$ K- x1 I8 s! X' s- k
  175. ;user_ini.filename = ".user.ini"
    & D- {5 ?6 v! q# [# e) O" l
  176. . `' [3 ^  `; j
  177. ; To disable this feature set this option to empty value' W$ W4 y; a& p' E) s
  178. ;user_ini.filename =
    2 }0 w) @0 u2 V

  179. ; Z# y7 i1 Z- s" f2 j8 @% u4 H  F
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)9 }+ H" V" ?( c% _2 _$ z
  181. ;user_ini.cache_ttl = 300
      U& w) H& w0 a9 Z
  182. + H: b' c/ H  {3 ~
  183. ;;;;;;;;;;;;;;;;;;;;: F8 ^8 |$ S( `3 p; D
  184. ; Language Options ;
    6 g: O5 H# [2 j1 I8 h4 H
  185. ;;;;;;;;;;;;;;;;;;;;( X3 e2 P' T  j: L7 D1 \

  186. . T1 s: s, P! P  g: z
  187. ; Enable the PHP scripting language engine under Apache.( j: \& Q0 j/ f
  188. ; http://php.net/engine* \" Y2 s! p# B  u( ?1 c8 N3 w
  189. engine = On
    8 f9 H* N$ {2 W7 w# E

  190. ! k, n8 }' m& u1 b, o: ~7 n
  191. ; This directive determines whether or not PHP will recognize code between
    & F' t# m. F; v# j; Y  p5 e4 Q
  192. ; <? and ?> tags as PHP source which should be processed as such. It is  F8 j* O' G: I
  193. ; generally recommended that <?php and ?> should be used and that this feature
    $ ]% I5 \9 y5 @1 d
  194. ; should be disabled, as enabling it may result in issues when generating XML3 ?* r3 \* V; z. U  u/ d' o
  195. ; documents, however this remains supported for backward compatibility reasons.
    9 X8 M  C; R" U: [- V/ Z- h
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    0 v) {3 h+ z" r( }& {0 |9 y; P0 T. a
  197. ; used regardless of this directive.
    " L: ~5 b9 A. X6 ^/ L' G8 f
  198. ; Default Value: On. _7 K/ C/ c( I
  199. ; Development Value: Off* n. y3 X& b3 v
  200. ; Production Value: Off
    7 ?3 b7 S' M; o; r  T% ?
  201. ; http://php.net/short-open-tag" B9 r7 g" y6 H" l
  202. short_open_tag = On
    * B; f' c# X, v$ I9 }& O8 h9 ?: R0 L

  203. ) k9 T# J7 T; I8 C
  204. ; Allow ASP-style <% %> tags.
    ; ~; p2 T; W2 t/ g9 l9 w
  205. ; http://php.net/asp-tags4 L3 F" s  {6 _1 B5 F( z
  206. asp_tags = Off
    ! }  ^/ E0 J* x- U

  207. - ?( T6 ?+ C- i4 ]8 g
  208. ; The number of significant digits displayed in floating point numbers.1 F3 o7 o4 @+ _, w6 b# T
  209. ; http://php.net/precision
    - r9 ^% K7 g' \% ?8 O0 Z1 h/ C
  210. precision = 14% z+ o+ S% I: h& T
  211. + \& M3 m5 N0 }6 X. U! c% |7 }
  212. ; Output buffering is a mechanism for controlling how much output data
    " r: H; w; r8 S& d  o. M6 l
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    " ?& N- M$ {2 f5 V1 V. {% v
  214. ; data to the client. If your application's output exceeds this setting, PHP
    : R# Q& G% Q) z
  215. ; will send that data in chunks of roughly the size you specify.: S' v; _% a4 g% F& G6 o5 ^% T
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    3 w* k' z2 `! R( M( C/ ?6 |3 a; |
  217. ; interesting side-effects depending on your application and web server.  D2 E7 a! T( p& W- O
  218. ; You may be able to send headers and cookies after you've already sent output
    ; a: f1 k* {8 H) [
  219. ; through print or echo. You also may see performance benefits if your server is% }, F* \2 v9 H, f$ |. @5 }3 D5 E
  220. ; emitting less packets due to buffered output versus PHP streaming the output
    ' k* q  X: E, @4 ^% h2 A) w
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
      _  ~3 [# q; W( p3 y9 n" Y$ A
  222. ; reasons.
    5 ]6 H: X5 ]1 N3 N
  223. ; Note: Output buffering can also be controlled via Output Buffering Control  F" n1 \9 n1 k8 t& h) v1 H
  224. ;   functions.
    ! ^# k5 T- X3 F: Q: R
  225. ; Possible Values:
    / U% z: d# A# X0 O
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)7 Q& \& ?' ?) v0 T# Q' [: M" Q% j% K
  227. ;   Off = Disabled
    + l* ~6 f! v) W3 @7 l9 A9 p3 @
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.' [% {- h& r+ K6 M. ^# J
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI, R6 Z4 z* {1 p9 r6 o
  230. ; Default Value: Off
    2 y0 ~: A0 k, r' w, s4 T  Y, Z
  231. ; Development Value: 4096
    " ?* V- t; F) b4 H- Y5 V2 w
  232. ; Production Value: 4096
    $ F# q6 B2 }6 _* p2 q- B
  233. ; http://php.net/output-buffering
    / ~% X& H0 v9 V; t
  234. output_buffering = 4096; }, A: _( K2 Q2 @: o, ]& t

  235. " X3 r- l# m0 w2 p7 c
  236. ; You can redirect all of the output of your scripts to a function.  For" _* k* [2 |/ U5 Y3 T6 e1 r  F- v) C
  237. ; example, if you set output_handler to "mb_output_handler", character  F+ L# s  t0 Y# N4 {
  238. ; encoding will be transparently converted to the specified encoding.
    ' J, b  J6 |, D, n( R4 W6 O; ?5 k
  239. ; Setting any output handler automatically turns on output buffering.$ [' k9 k6 r7 `0 c. _% q! R
  240. ; Note: People who wrote portable scripts should not depend on this ini
    % N, E% x' s" R% [9 T2 a. q
  241. ;   directive. Instead, explicitly set the output handler using ob_start().
    8 _9 j- m) I" M4 L0 V& c
  242. ;   Using this ini directive may cause problems unless you know what script
    1 I" i3 T" @" a' b# d- h
  243. ;   is doing.
    ' `2 t+ e8 K, T* c9 ~' L. p
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"
    # p, G3 F, L4 _+ @% b
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    8 ?# {% Z! \/ g
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    8 ~3 }/ z6 C: @7 f4 l# s- `4 N
  247. ;   Instead you must use zlib.output_handler.5 q0 m! _1 R/ c/ g4 d& j& i# L
  248. ; http://php.net/output-handler
    3 D% F: g  q7 t3 {3 o  F, {- D/ g
  249. ;output_handler =  j& @" [6 [! z# i. `

  250. ! {8 N! {- P# h
  251. ; Transparent output compression using the zlib library
    2 Y2 q% N) D- x9 j5 D! t; _1 p/ r
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size. s4 _3 I% F' \# Y2 G* X
  253. ; to be used for compression (default is 4KB)8 o4 b! b0 V: y- _
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    ( K) \! |! s# n0 @0 L
  255. ;   outputs chunks that are few hundreds bytes each as a result of
    4 v5 j/ M5 ~0 p& t  d  f. A% m
  256. ;   compression. If you prefer a larger chunk size for better1 k* X7 I5 z+ S/ I7 ^2 m# m; I" @
  257. ;   performance, enable output_buffering in addition.
    0 P. G+ ~- A( v2 T
  258. ; Note: You need to use zlib.output_handler instead of the standard
    0 O- G' P. g8 q! ]0 S  n" ^
  259. ;   output_handler, or otherwise the output will be corrupted.2 `: ]% T& h* c$ E, o: J
  260. ; http://php.net/zlib.output-compression# D  r& D  L* c% y+ w" H( O
  261. zlib.output_compression = Off
    * v+ n# V2 `2 N4 m- c- t

  262. * B9 G: f/ K' D; o. d, Y
  263. ; http://php.net/zlib.output-compression-level- Q: U1 y) I4 J$ g$ L* g1 w
  264. ;zlib.output_compression_level = -1! f: ]( e; M% W/ ~
  265. 7 {7 W9 ?- V% K; [2 z7 ?
  266. ; You cannot specify additional output handlers if zlib.output_compression# J7 q' g; V% V; S3 x% t/ F
  267. ; is activated here. This setting does the same as output_handler but in' t- ^( U% T. _5 D
  268. ; a different order.0 H7 o+ w- w# a5 h! ^
  269. ; http://php.net/zlib.output-handler
    $ l8 C( N' X+ k) j6 t3 I* l$ C1 t
  270. ;zlib.output_handler =* x0 u. w, @  o3 E. ~
  271. ' y8 B2 R( ~! ?- {) o
  272. ; Implicit flush tells PHP to tell the output layer to flush itself8 T1 r. D& ]. N% s; q# Z& W" @( p
  273. ; automatically after every output block.  This is equivalent to calling the' Z+ J6 K, n1 \0 F/ [5 w! E0 S  y
  274. ; PHP function flush() after each and every call to print() or echo() and each! k% R  A' }" Z! k  t
  275. ; and every HTML block.  Turning this option on has serious performance2 {0 q; C; P' }2 j% Z8 l! P
  276. ; implications and is generally recommended for debugging purposes only.
    7 L0 x' T9 f. M# i
  277. ; http://php.net/implicit-flush) d- t) `+ C$ [6 ^2 N9 V1 ~5 L. d1 U
  278. ; Note: This directive is hardcoded to On for the CLI SAPI
    0 k6 f' i3 j: q
  279. implicit_flush = Off
    2 ?2 d! k; l- U6 w0 t# a- N

  280. 0 `& w' I: H# @1 Z" n  @( ~  h& A
  281. ; The unserialize callback function will be called (with the undefined class'
    / h) w$ T2 O% @( Z
  282. ; name as parameter), if the unserializer finds an undefined class
    1 q7 U& x1 H; n4 X) R
  283. ; which should be instantiated. A warning appears if the specified function is% j" J$ p, T* H3 _7 S3 u
  284. ; not defined, or if the function doesn't include/implement the missing class.# n8 Z% F) S. ?( G3 a) }) a
  285. ; So only set this entry, if you really want to implement such a
    2 T* B7 ~: X5 O# R+ P1 t
  286. ; callback-function.
    / S' @6 X6 d8 v  m' b
  287. unserialize_callback_func =! m  Z3 G6 t1 @' c; W: ]. G8 ]& p$ f

  288. " m; z# L8 z) R% S5 g' }# j
  289. ; When floats & doubles are serialized store serialize_precision significant( C) s) [5 R7 b7 _! O8 p' ~
  290. ; digits after the floating point. The default value ensures that when floats
    1 F& k* Y# K& f" G! ^+ n5 K
  291. ; are decoded with unserialize, the data will remain the same.
    3 Y- y# p% R9 a* P1 r% M# ^& k
  292. serialize_precision = 17& l0 F& Z! d8 b$ R
  293. 4 P% v" T" u! O. T5 t# ]
  294. ; open_basedir, if set, limits all file operations to the defined directory
    # s& K3 Z) a  V$ g6 `
  295. ; and below.  This directive makes most sense if used in a per-directory& R3 y9 B) m4 D9 W7 p6 P
  296. ; or per-virtualhost web server configuration file.2 J' u) O! _# y8 q
  297. ; http://php.net/open-basedir( _* c( s  H9 C* @% J
  298. ;open_basedir =% R1 }- w; x9 o& g) i

  299. - S  `$ t6 n* h! T4 K
  300. ; This directive allows you to disable certain functions for security reasons.
    , I$ y% U7 t$ R! e  }- ~6 p
  301. ; It receives a comma-delimited list of function names.1 L' M4 a9 z7 |+ I( A# N  n
  302. ; http://php.net/disable-functions
    . `( w# m" c3 \5 H1 P! X) i7 f, ^
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru* w+ }. }7 [8 _# Y6 B' J; l5 K5 ^
  304. 1 |' e% k) k3 T% R  @, o
  305. ; This directive allows you to disable certain classes for security reasons.' q) c2 V) l2 v( ^2 _
  306. ; It receives a comma-delimited list of class names.3 ]% _! e3 N% N. j2 n3 O6 }
  307. ; http://php.net/disable-classes. N8 v$ n8 M* h9 p( b7 l. J
  308. disable_classes =
    , {: D1 ?& |' `/ D; Z$ ]( ?% }3 F3 k
  309. 8 ^$ O* |$ `* k4 D' K# T8 K
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in8 c! ^% x% p) w( x' H* F' e, H
  311. ; <span style="color: ???????"> would work.
    8 z: \, m$ Q  @8 f( w1 C3 g
  312. ; http://php.net/syntax-highlighting9 a7 V; B. }9 |' Z
  313. ;highlight.string  = #DD00003 Q0 U  R4 \0 {4 U
  314. ;highlight.comment = #FF9900& R0 ~5 J7 D7 r) _
  315. ;highlight.keyword = #0077006 }" N. L( L, n% w9 \: p5 M1 e
  316. ;highlight.default = #0000BB  N. f! x* a# u' z, o& w3 X' A
  317. ;highlight.html    = #000000$ r3 V8 p! s0 M

  318. 5 y4 W3 o- Q( h4 d
  319. ; If enabled, the request will be allowed to complete even if the user aborts( V2 I+ A+ b* F) j) p" n4 `+ u
  320. ; the request. Consider enabling it if executing long requests, which may end up% f2 X+ _. q$ M4 ?3 r- N) [
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior1 O( \2 Y  B$ k
  322. ; is to disable this feature.# B1 B0 |8 {* \
  323. ; http://php.net/ignore-user-abort% }, C: J: Z0 V& s8 |$ c7 n0 N
  324. ;ignore_user_abort = On. Y( f& G- B) g  `- ^: [7 i! H
  325. $ u  p1 w$ s8 |8 _) m
  326. ; Determines the size of the realpath cache to be used by PHP. This value should
    # L# T6 p) u$ x3 c4 E- Z6 g; g
  327. ; be increased on systems where PHP opens many files to reflect the quantity of% E4 z) k; W/ q
  328. ; the file operations performed.5 I" c$ o/ `% S, r: P
  329. ; http://php.net/realpath-cache-size
    ; l7 [/ C' P- D6 x/ j
  330. ;realpath_cache_size = 16k; Y( P9 J" W2 g% D+ N
  331. 7 S* o+ V. C* {, Q
  332. ; Duration of time, in seconds for which to cache realpath information for a given4 o, @% Q5 O7 a& i
  333. ; file or directory. For systems with rarely changing files, consider increasing this, j- M7 q4 a4 B
  334. ; value.
    - B3 u# m5 q7 n) `
  335. ; http://php.net/realpath-cache-ttl
      l5 N& K: y0 f6 k
  336. ;realpath_cache_ttl = 120
    ) A! L0 ]% P( x5 j. K, i0 f
  337. 1 K3 E) p' ?1 [) z
  338. ; Enables or disables the circular reference collector.
    ! h# q. c' O4 p8 I8 x5 w! y
  339. ; http://php.net/zend.enable-gc& T4 D0 s/ O6 K6 |' z! i2 E: _+ s
  340. zend.enable_gc = On- U; `) T  J0 b
  341. # n+ t. }( B, w/ i
  342. ; If enabled, scripts may be written in encodings that are incompatible with/ k( R  A6 ?& b' L) m" Q% b* ]- V
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such
    : X; h$ M# M, F7 V. B! E  r& u
  344. ; encodings.  To use this feature, mbstring extension must be enabled.% C! T+ k4 ?( P9 }: |
  345. ; Default: Off
    " l  m, |4 {4 t7 q: j; ?% z1 ^
  346. ;zend.multibyte = Off9 o3 q+ k* W5 v& \! ]/ C7 y- X
  347. . m/ L1 S6 Y1 o( e
  348. ; Allows to set the default encoding for the scripts.  This value will be used4 R# k8 K' j5 w. Z& l) b1 c
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.& E4 j- U: J& }: K5 h. Q
  350. ; Only affects if zend.multibyte is set.# |$ e1 c$ h9 ]% A" d1 D  U3 f
  351. ; Default: ""
    " p, y; R- ~7 n' i" b& c- o
  352. ;zend.script_encoding =
    , p2 s* Y9 ?0 m5 K% y9 M8 H; U
  353. ' s$ n; l% H5 l3 {" x+ ^
  354. ;;;;;;;;;;;;;;;;;0 P" p5 C; [$ {1 s' I7 v
  355. ; Miscellaneous ;% E: Z4 W' _: V6 d" c: _
  356. ;;;;;;;;;;;;;;;;;
    3 z; |  ?8 F6 Z' b/ M  _( x
  357. 6 w6 b+ M7 |/ W" I3 K* Z
  358. ; Decides whether PHP may expose the fact that it is installed on the server
    $ O# A0 ]3 e9 T9 r6 {
  359. ; (e.g. by adding its signature to the Web server header).  It is no security1 P" r! v+ @5 g6 N  J5 o7 T
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    + W$ l/ y3 e  O8 _6 k
  361. ; on your server or not.4 x8 `1 ?: C! m$ o! z  ^4 w8 J
  362. ; http://php.net/expose-php( B! E2 F; a6 U0 T6 B( d
  363. expose_php = On
    8 I9 @' b3 u+ M- Z! S

  364. , `$ U/ p( E  Z2 ~3 Q: k3 V
  365. ;;;;;;;;;;;;;;;;;;;
    ; ~( Z9 E5 @0 `, }
  366. ; Resource Limits ;
      f; A; c4 n7 _
  367. ;;;;;;;;;;;;;;;;;;;& z7 \+ Z' o# x' N
  368. 9 G1 W$ N) r1 n" A8 _6 _, D6 J
  369. ; Maximum execution time of each script, in seconds: |% D1 j$ l: w
  370. ; http://php.net/max-execution-time
    4 l. V: h1 o8 x! c# p3 h* ~' o
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI. u, m. d% _- q0 t: j
  372. max_execution_time = 300' N5 C- `* p. c# {) B+ z

  373. + U1 s& S7 w2 z
  374. ; Maximum amount of time each script may spend parsing request data. It's a good/ L8 {, ^8 r$ O5 t6 E4 j% T
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly- O1 u$ A( g( i: O
  376. ; long running scripts.4 }. ]7 J+ u1 a' J( m/ U9 D, F
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    ) N: Q# w, u& _" H# L
  378. ; Default Value: -1 (Unlimited)
    " O4 [+ q! o2 v9 U
  379. ; Development Value: 60 (60 seconds)4 T$ K# D& y" \( K; Y$ H, e
  380. ; Production Value: 60 (60 seconds)$ v8 d2 q. \2 z. z/ R# K
  381. ; http://php.net/max-input-time! @1 U* E, K4 f. i/ p$ N
  382. max_input_time = 605 X3 S/ ~5 E9 w9 ]# z" r9 t
  383. , z) e/ r+ p+ V3 p  `
  384. ; Maximum input variable nesting level
    ) [+ |  D3 b1 P- `
  385. ; http://php.net/max-input-nesting-level
    ! e& t0 T' o7 k$ r- S; h1 W
  386. ;max_input_nesting_level = 64
    % D/ Q4 Z" Q9 Q5 B

  387. * n: p0 W. y. A
  388. ; How many GET/POST/COOKIE input variables may be accepted/ P9 T5 X; ~/ z" V" ?  ^0 s$ T
  389. ; max_input_vars = 1000! C: k9 r: k7 `1 p
  390. # L% C. o8 B2 g3 ?
  391. ; Maximum amount of memory a script may consume (128MB)9 Q$ `; D: k: I( S( F$ ^
  392. ; http://php.net/memory-limit, q9 N7 S' i8 o4 p7 h/ B9 Y
  393. memory_limit = 128M
    ) L( Q, m  z# i7 h* x  G

  394. ( E% d1 I0 I$ J: q
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    * G* `: Q7 `! J
  396. ; Error handling and logging ;! j& Z( a, C, `3 i! i* _! S0 G9 f
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    , D" J$ j" l: D* Q

  398. ) r8 l4 P4 }- s7 h2 t2 x
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    3 R* B6 J- T3 {6 g# f* B) W0 w7 c. Y
  400. ; it to take action for. The recommended way of setting values for this  Y  C" z7 L; |4 r5 t; z8 q
  401. ; directive is through the use of the error level constants and bitwise
    : ^1 U. o1 T5 v+ m2 B8 M
  402. ; operators. The error level constants are below here for convenience as well as, S, H: y& ^$ n7 p; h; K
  403. ; some common settings and their meanings.
    , p. r3 e% k: v- s# T' h
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT7 ], v- Y/ Z9 E* r& G
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    & z. i$ f8 ~6 J* ^6 ^- {
  406. ; recommended coding standards in PHP. For performance reasons, this is the
    * a( g/ b% O& D  s1 W7 U! R1 g
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    3 p3 f0 B8 B$ i2 F# O
  408. ; resources complaining about best practices and coding standards. That's what
    1 O# h7 v* Y2 K4 i
  409. ; development servers and development settings are for.
    8 P0 }$ k3 Q  X$ h" g& R0 m
  410. ; Note: The php.ini-development file has this setting as E_ALL. This) {1 `- Y7 S+ X2 T; v
  411. ; means it pretty much reports everything which is exactly what you want during; w' ]# ]  R" V0 G' B5 C
  412. ; development and early testing.
    ! ^8 g7 v3 e% r. D3 q
  413. ;5 c, Q5 r0 [9 Z5 z
  414. ; Error Level Constants:( G& e# a2 u3 o# {( F, u) |; x% Y
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    * ^# A" {5 M1 I
  416. ; E_ERROR           - fatal run-time errors+ Z5 @- m% V$ P
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    8 g% d4 f( F% m7 }7 |( a
  418. ; E_WARNING         - run-time warnings (non-fatal errors)4 l$ m$ s" a( D6 u( ]
  419. ; E_PARSE           - compile-time parse errors6 V3 N0 P7 V5 ]2 V1 N! @
  420. ; E_NOTICE          - run-time notices (these are warnings which often result
    2 M+ I3 {  `" B8 H, j" v* W
  421. ;                     from a bug in your code, but it's possible that it was3 }; f. W) I% F/ l( I
  422. ;                     intentional (e.g., using an uninitialized variable and" m1 |9 P1 @" [. d: C$ {3 M. v
  423. ;                     relying on the fact it is automatically initialized to an
    1 Y" j1 b) g! |/ \5 G( q
  424. ;                     empty string)
    % K* C/ w) b' V% q- l) c0 w
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes  c+ E* H/ B# N( X( z6 e
  426. ;                     to your code which will ensure the best interoperability
      j0 Y( i- H. n$ a( @, u3 E5 I
  427. ;                     and forward compatibility of your code1 w/ ]) M) e, A2 _/ o! q4 Z
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup/ J) B; h! ~1 b. M, ]+ Z- n; {
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    + f3 ?' A; k4 N6 E: X8 I. \0 m
  430. ;                     initial startup6 k7 z% i+ o% G* G* @  _8 I
  431. ; E_COMPILE_ERROR   - fatal compile-time errors" S1 R$ E+ }! |, P) U+ ]$ j
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)
    6 D9 \$ y: X6 m0 E1 o
  433. ; E_USER_ERROR      - user-generated error message
    0 c6 }1 {7 d% o5 _; L
  434. ; E_USER_WARNING    - user-generated warning message& r8 k0 K1 q* [
  435. ; E_USER_NOTICE     - user-generated notice message
    ( D2 m7 I5 g' x: e* L; p
  436. ; E_DEPRECATED      - warn about code that will not work in future versions
    , l. |( S& n6 F! {& Q
  437. ;                     of PHP
    0 V/ s. @- V0 Q! y) Y; s
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    / P2 b; i' Z& O
  439. ;1 A. c+ w. S8 k. B# U5 F
  440. ; Common Values:
    / J4 ^+ }3 ^( t' e1 {1 s
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)7 h2 C, O8 O: N/ S) N+ |& g. Y! D
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)4 ~' {+ Z9 V5 {! \
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    2 L2 V  p( j3 Y; M: j6 s
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    ( H  g1 x0 r% }! N
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED" r& U1 T9 w) k* y
  446. ; Development Value: E_ALL
    - p- n, {7 `/ U4 ]+ {, ~
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT2 m; B# P' N) Z3 F3 E: P1 Q) G
  448. ; http://php.net/error-reporting' B. L: b2 E/ h4 _. ?
  449. error_reporting = E_ALL & ~E_NOTICE3 Y( d! L5 g% r/ h6 |3 a) [' U

  450. % \0 H8 z6 w, q. \5 Q: h
  451. ; This directive controls whether or not and where PHP will output errors,
    ' y! d9 {/ c. k6 s
  452. ; notices and warnings too. Error output is very useful during development, but
    & `' S9 n& Y. }4 R: T& ^
  453. ; it could be very dangerous in production environments. Depending on the code
    + N& |0 [$ b2 C3 s5 e) F
  454. ; which is triggering the error, sensitive information could potentially leak  J# G. g( \; _, W( d- S' H' L) P" D
  455. ; out of your application such as database usernames and passwords or worse.# p7 H4 Z! I. D8 q; v0 z
  456. ; For production environments, we recommend logging errors rather than
    " n0 i* ^3 k9 n. K2 l: v; Q& p+ V
  457. ; sending them to STDOUT.
    % X- u) h0 W$ e3 ]
  458. ; Possible Values:5 O! P6 K* s8 b8 t, Z7 {" s
  459. ;   Off = Do not display any errors
    4 K& [) `; R% B$ r' f
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)
    5 {/ }$ K5 {: e7 A% p7 {, r
  461. ;   On or stdout = Display errors to STDOUT
    3 h$ L4 S$ n6 J2 r5 e0 A
  462. ; Default Value: On
    ' h# g# q  L- J2 j$ u/ N
  463. ; Development Value: On! C6 g& J1 k0 r0 X1 t6 d
  464. ; Production Value: Off- Y' L: u1 C9 b3 m1 _8 u
  465. ; http://php.net/display-errors
    # {. {2 s& M( a( H  K  x' K- m# ^
  466. display_errors = On7 p) P) x1 l8 a/ x- A, `

  467. % p$ H% T, W( F. u2 S" ]
  468. ; The display of errors which occur during PHP's startup sequence are handled
    . N4 D$ S. n; l! u
  469. ; separately from display_errors. PHP's default behavior is to suppress those& m  i) i5 P: I. J% T* e. W
  470. ; errors from clients. Turning the display of startup errors on can be useful in$ V# A, F0 n2 u. D3 b
  471. ; debugging configuration problems. We strongly recommend you
    ! H! n  H; F3 F
  472. ; set this to 'off' for production servers., M! D8 Q8 O0 T
  473. ; Default Value: Off! A5 i! e- o# g9 V9 n
  474. ; Development Value: On
      O9 d5 G; D. r+ N! \. g  I2 j) c
  475. ; Production Value: Off7 m- {% p! }7 n; N% L! J* h
  476. ; http://php.net/display-startup-errors" H* {# F, I7 k" B' }
  477. display_startup_errors = Off/ ~0 O9 f, v* P- `2 T: ?
  478. 0 ?" ~" H9 {+ B8 M6 z
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    - W  @) _. i* m) v' Y1 h( J
  480. ; server-specific log, STDERR, or a location specified by the error_log
    " W; e2 \+ q9 r, _8 p4 |
  481. ; directive found below. While errors should not be displayed on productions
    ( h0 t7 F& z9 p) h% J
  482. ; servers they should still be monitored and logging is a great way to do that.. N) _" R' }- [6 r7 J6 n7 D" u6 S
  483. ; Default Value: Off
    . B8 |: n) Y0 F6 k1 r+ W
  484. ; Development Value: On
    9 l- N* H% s+ K
  485. ; Production Value: On
    , \: n) Y, c' u" K
  486. ; http://php.net/log-errors# z: Z6 T' z7 e# H
  487. log_errors = On7 E2 S5 {5 B( O8 y" y" Q- V9 I2 S; a
  488. 5 b$ v. f- H9 P
  489. ; Set maximum length of log_errors. In error_log information about the source is- y# _! T+ g; S: m2 @! v
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.1 A2 O3 I% r, s+ X) V4 `
  491. ; http://php.net/log-errors-max-len8 \! P& s, l" M2 q
  492. log_errors_max_len = 1024$ e- @( N' n; j4 X1 @6 b3 [
  493. / ^/ {0 ^* }9 H% I7 M
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    ' \! _3 S0 J* B1 f0 S, O$ w  [
  495. ; line unless ignore_repeated_source is set true.
    ; J% ?( E& D& I7 R, }6 C
  496. ; http://php.net/ignore-repeated-errors2 l0 N% p8 Z' d9 \
  497. ignore_repeated_errors = Off
    % q$ p0 e* ^  @0 i8 x

  498. 5 X7 c; i9 `( b& O+ k* ]3 j
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    9 a+ P& g% J2 y# X
  500. ; is On you will not log errors with repeated messages from different files or% h" w2 ]1 s+ t
  501. ; source lines.
    ; u$ W- f" y0 W3 u7 x+ z
  502. ; http://php.net/ignore-repeated-source
    0 ~3 y) o# E/ X3 N1 q8 S
  503. ignore_repeated_source = Off
    * T0 X9 p" z, G5 T
  504. # v# Z7 o4 R" x
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    5 H* ?. ?3 }3 ?( b! ~
  506. ; stdout or in the log). This has only effect in a debug compile, and if2 t- a; A! p; k
  507. ; error reporting includes E_WARNING in the allowed list" y, D5 z, r9 N7 N$ X  e
  508. ; http://php.net/report-memleaks$ M& J* @3 r. z4 Q
  509. report_memleaks = On! J' c! G' I% h! s4 P
  510. 1 P) t/ G) \" |3 H
  511. ; This setting is on by default.
    $ C* R1 d0 S4 v# i
  512. ;report_zend_debug = 0
    2 p- F6 {! y6 w7 K. g' F* L

  513. + i' x8 l+ f6 ?3 Y3 |3 y5 d
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    ' N+ T; m: q) e( p9 [: H9 X
  515. ; to On can assist in debugging and is appropriate for development servers. It should
    1 m# Y, `/ ~2 b: J0 E$ I: V
  516. ; however be disabled on production servers.! @" j) M6 }. I- D6 I2 l# {
  517. ; Default Value: Off$ w# B2 m  S# E7 Q; z% i- ?0 }. y; _
  518. ; Development Value: On
    . G0 Q/ t. Q! x- T6 D1 d
  519. ; Production Value: Off
    ; X- a. O7 Q0 c) _9 [, ~( a
  520. ; http://php.net/track-errors& J2 F6 ~: N' d0 W
  521. track_errors = Off
    : H9 l. U% h5 u
  522. 8 f, }* |5 _# z! p
  523. ; Turn off normal error reporting and emit XML-RPC error XML0 J; v' M, o$ [1 W
  524. ; http://php.net/xmlrpc-errors
      z7 h; n* o- v! O
  525. ;xmlrpc_errors = 0
    2 l4 C6 g8 r$ r7 s5 n1 b
  526. / I) N, [3 Y9 J$ N: X! g
  527. ; An XML-RPC faultCode' q5 [3 Z" E  V: f
  528. ;xmlrpc_error_number = 06 W" t! }0 h# \1 H( c  W0 J0 H

  529. 0 Q3 J$ E& A9 h& B! p
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    ; c0 O5 b/ }. N+ K+ \
  531. ; error message as HTML for easier reading. This directive controls whether1 |7 B! G7 ^/ N' q5 Z/ N
  532. ; the error message is formatted as HTML or not.4 Q, d$ ~1 X0 \
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    5 f$ _- O5 V. m5 O/ {/ a
  534. ; Default Value: On
    1 y9 b$ n' _7 P( J; k5 m
  535. ; Development Value: On) Q# R+ i# s& `1 m8 Q
  536. ; Production value: On' R, F2 z; E) @3 V% @' m7 j
  537. ; http://php.net/html-errors
    + F2 u# ?3 ]! C) C8 v
  538. html_errors = On) Q' |- ]9 `: E8 J
  539. + ]$ Y  w4 k# w2 M% ~
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP- Z  i- q, Z, V' u# V4 {: ^& K
  541. ; produces clickable error messages that direct to a page describing the error
    5 B1 c1 u: l; o! T% y$ _
  542. ; or function causing the error in detail.+ W7 j$ O. j( a6 @0 `
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    0 y8 b8 Q* S- M+ {/ f$ W
  544. ; and change docref_root to the base URL of your local copy including the
    % A! i7 X. {6 s0 }2 R* _# v
  545. ; leading '/'. You must also specify the file extension being used including- N0 l4 Q3 L# Z$ R; o* J
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which7 X6 V  x3 n# }
  547. ; case no links to documentation are generated.
    & e) {! \; ]$ i0 E8 t2 b& `: G
  548. ; Note: Never use this feature for production boxes.7 \# q" }* A6 S
  549. ; http://php.net/docref-root
    ) O2 T: m  Q/ X4 M9 U3 P
  550. ; Examples
    ) h$ X" ]6 u# [/ a7 p
  551. ;docref_root = "/phpmanual/"
    ; a4 c1 J8 J( r9 R9 o
  552. 6 B8 A0 ], H" n: h7 h: ?% A
  553. ; http://php.net/docref-ext6 u: I$ }8 J: K' f
  554. ;docref_ext = .html
    . k% v! v8 P  A8 ?4 R  B- E
  555. * g. `$ j, a8 a9 z: f
  556. ; String to output before an error message. PHP's default behavior is to leave! @& O% M( h3 l
  557. ; this setting blank.
    3 A* ]' v. M2 L3 L2 ]
  558. ; http://php.net/error-prepend-string
    9 u6 a' ?$ n" G5 `1 P7 I
  559. ; Example:
    ; _% j! d5 t+ N! {1 `, n5 x1 f6 T5 z
  560. ;error_prepend_string = "<span style='color: #ff0000'>"/ [# J8 U+ R2 ?) V5 N

  561. ' [& {6 k( k1 ]4 x, G0 `# \2 P6 [
  562. ; String to output after an error message. PHP's default behavior is to leave* p# P/ |  j1 n% ^
  563. ; this setting blank.- I1 _% H. a5 i) u& J
  564. ; http://php.net/error-append-string1 o7 k' ]& M$ p  ~/ C$ {/ Z" k; f
  565. ; Example:
    # R7 Z9 E( @" }
  566. ;error_append_string = "</span>"
    ( T% Z* X, F' u* Z; `3 N
  567. ! Z* n% L' u3 z
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    * {$ m! l- |; L
  569. ; empty., G, \+ H* ]7 X, e
  570. ; http://php.net/error-log! X/ [; ], a' t! w5 J% M
  571. ; Example:& X* c$ v# w( Z% x, n. O  n% F' `$ u
  572. ;error_log = php_errors.log3 ]/ ~3 }) K5 g7 D
  573. ; Log errors to syslog (Event Log on Windows).
    $ ~7 z8 }, C5 k8 A
  574. ;error_log = syslog
    & \( o( N4 O/ M& M. a# s& s
  575. 4 M2 I/ y( [4 t0 j
  576. ;windows.show_crt_warning
    0 z1 E6 \; ^) W+ l. m
  577. ; Default value: 02 S+ h* P4 Q, p; U
  578. ; Development value: 0
      [. c- Y! M6 b4 J& @' h
  579. ; Production value: 0
    0 v  o" L# `5 G. M+ ]9 Q

  580. ) c# L: T* ~2 K* `) q
  581. ;;;;;;;;;;;;;;;;;* B) }/ ]9 X0 d( s* x
  582. ; Data Handling ;
    & n4 s) B9 m9 v  H
  583. ;;;;;;;;;;;;;;;;;; `& w& ~5 |0 z$ E* d

  584. ' N( p" }8 a+ w! P) W
  585. ; The separator used in PHP generated URLs to separate arguments.) i# N, @3 }. ?! g' o" o6 W) X( y, ]
  586. ; PHP's default setting is "&".
    $ |# O* R$ m- S  J- E5 s  k+ \
  587. ; http://php.net/arg-separator.output
    4 o% m3 f9 D; N2 s
  588. ; Example:6 K2 G  _7 N% t3 d5 V: v
  589. ;arg_separator.output = "&amp;"
      O. c9 {2 F. X  V% ~+ g+ R& [; o

  590. 6 H. w0 Y. B8 v6 ^
  591. ; List of separator(s) used by PHP to parse input URLs into variables.
    2 N- [$ a0 T5 B! x
  592. ; PHP's default setting is "&".4 i+ H. L- U# K5 N* }' w8 M  v* G
  593. ; NOTE: Every character in this directive is considered as separator!
    ' I4 N, |% J8 w' q1 R
  594. ; http://php.net/arg-separator.input
    ( j3 N; ]1 k% G0 G* b# b% \! m
  595. ; Example:
    / w* k9 X7 H% M4 q
  596. ;arg_separator.input = ";&"
    ' R  m8 ?6 }, c4 B5 P1 i) a7 o. o

  597. $ o1 l# u4 x5 t% p7 p
  598. ; This directive determines which super global arrays are registered when PHP
    * c; k9 O1 ?8 \4 `; I% m# ^; P
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super* ~8 f/ C, Z1 |
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty
    6 C- s" F9 s% t1 ]! F# |! E
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    0 ^- l$ W7 \  F5 B0 ]
  602. ; used as the others, ENV is not recommended on productions servers. You
    1 h* p- c( A5 K
  603. ; can still get access to the environment variables through getenv() should you
      o0 _. x6 b1 ?  R+ P
  604. ; need to.
    + C2 V) p5 p/ \9 T; f9 a' h
  605. ; Default Value: "EGPCS"
    ! b, ]. }8 P( P( G; M
  606. ; Development Value: "GPCS"
    7 y" A. M6 P3 L, v; M
  607. ; Production Value: "GPCS";
    ; q, P3 p* k6 n, {+ R
  608. ; http://php.net/variables-order
    9 `0 a+ Z7 }) ^6 X
  609. variables_order = "GPCS"( Y7 ?; J' A3 k/ y. U

  610. ! k* E) P; m6 G1 e- i, \$ F4 B# h
  611. ; This directive determines which super global data (G,P & C) should be
    ! |5 }9 d+ b6 w5 B# X2 h* O
  612. ; registered into the super global array REQUEST. If so, it also determines" T0 P6 ?& F! c, I+ ?' R
  613. ; the order in which that data is registered. The values for this directive" i  c- p6 _) t" L
  614. ; are specified in the same manner as the variables_order directive,
    2 c  V/ W4 Z# _1 F/ I
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set! E. o( J! w- w
  616. ; in the variables_order directive. It does not mean it will leave the super  M8 z1 i+ r# N: ]7 ~6 z
  617. ; globals array REQUEST empty.- R9 m2 T8 R0 ?# N% F. a$ p* N' N% _
  618. ; Default Value: None$ R4 Y! `6 X( u% l2 w# L8 j# p
  619. ; Development Value: "GP"
    ; ^! I, |% P# w8 H0 j
  620. ; Production Value: "GP"
    2 ^5 _9 a" h0 f3 r, b; @
  621. ; http://php.net/request-order
    2 U1 ]* J, P$ i6 E" U2 i+ Q4 Q2 F
  622. request_order = "GP"
    8 E) |/ t# g: P

  623. # D, W) Q7 |9 _8 O0 \
  624. ; This directive determines whether PHP registers $argv & $argc each time it
    " `# }& R4 ^! o; W
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script6 m* G9 }- E8 t- F
  626. ; is invoked. $argc contains an integer representing the number of arguments! t. P6 s: i& R
  627. ; that were passed when the script was invoked. These arrays are extremely; c& d$ [9 |$ O0 }7 f
  628. ; useful when running scripts from the command line. When this directive is. Y. c* A5 z- Q/ ]( n) P  ~4 L
  629. ; enabled, registering these variables consumes CPU cycles and memory each time1 k: p+ j' V4 u0 U6 Z
  630. ; a script is executed. For performance reasons, this feature should be disabled
    " o! [7 h' w" S" A( M! [
  631. ; on production servers.
    ' W2 J, r, h$ a5 w; |
  632. ; Note: This directive is hardcoded to On for the CLI SAPI# _/ }" Y1 E0 {4 D
  633. ; Default Value: On
    * s5 d+ ]% ?- m7 \* b
  634. ; Development Value: Off
    * ~' }. m* I& k. C  T" O$ G9 Z! I# T2 f
  635. ; Production Value: Off7 e% G% |, u  @+ A0 A
  636. ; http://php.net/register-argc-argv5 ^8 _" G3 w& S0 F  ?+ z# m) Z6 z- I$ j  j
  637. register_argc_argv = Off
    5 Z, i: n7 |  o- S* U7 v. T. Y

  638. % P. L0 g/ N$ A' k8 Q
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're
    4 q' S' X, E1 ]+ N
  640. ; first used (Just In Time) instead of when the script starts. If these' m" E) a7 F$ W
  641. ; variables are not used within a script, having this directive on will result# u( `# d8 h7 {8 g( B
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled6 w# D; n. M$ j' r5 C) T! ?
  643. ; for this directive to have any affect.
    ; e  T6 Y) k+ \. M- @% B3 g
  644. ; http://php.net/auto-globals-jit1 K! b6 k# n4 k2 w+ ^7 {1 E# q9 I
  645. auto_globals_jit = On
    ; b5 E8 c5 O' J) d1 {# Z' ^6 \; U
  646. / c, F) n7 ~- [: k# ]& a% z
  647. ; Whether PHP will read the POST data.
    : ?" q+ F0 t2 {/ X
  648. ; This option is enabled by default.& X& N$ f9 I& k$ n, @
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST
    ) G2 c, @+ `8 g" P
  650. ; and $_FILES to always be empty; the only way you will be able to read the. N4 u6 a0 O6 ^( N8 g5 x8 A
  651. ; POST data will be through the php://input stream wrapper. This can be useful- N& \* `  E+ Z: n& L
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.
    6 T4 i3 @: v  s- d
  653. ; http://php.net/enable-post-data-reading; X! U2 K  B: r" _6 {' Y, t
  654. ;enable_post_data_reading = Off' G3 }- R! u4 u4 M( b

  655. $ P6 J; _6 h- i8 l) u
  656. ; Maximum size of POST data that PHP will accept.
    " x6 r: \5 D, z9 u
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading+ Q' L+ q& z% k/ v- ~8 D7 Y# x
  658. ; is disabled through enable_post_data_reading.# k) \. M8 w9 }& M4 @0 @% t
  659. ; http://php.net/post-max-size
    & y: }" H6 y# [' j
  660. post_max_size = 50M
    - D" o' g* i6 k/ }) H3 H

  661. * Q7 R# D, {0 m
  662. ; Automatically add files before PHP document.- l0 j8 \+ U4 g
  663. ; http://php.net/auto-prepend-file8 c$ \7 V& L" m$ `/ b& Q* w. X2 o
  664. auto_prepend_file =+ t' d# V- a* M2 d

  665. / ~. B1 e) e0 G
  666. ; Automatically add files after PHP document.
    9 Y$ i0 e$ k  F2 r
  667. ; http://php.net/auto-append-file9 o2 i0 u9 _. z  E4 ?
  668. auto_append_file =% f+ E7 T. D! D( N7 z& ^
  669. 2 j* b" l2 T7 E
  670. ; By default, PHP will output a media type using the Content-Type header. To
    % N) j; t) ]% R! X8 J: P7 z. R
  671. ; disable this, simply set it to be empty.
    9 H1 w$ c; P- B# i! ^
  672. ;
      E3 B0 H% s) X& T1 M$ Y/ \6 f6 h
  673. ; PHP's built-in default media type is set to text/html.7 ^6 b8 d6 U/ X
  674. ; http://php.net/default-mimetype4 l0 [8 L: t5 A  ~. n
  675. default_mimetype = "text/html"
    & D5 ]! n# `* M. q
  676. ( Z. j! r$ A  d- B' q+ o% q
  677. ; PHP's default character set is set to UTF-8.' t2 v5 ?0 ~0 W$ M7 p! e
  678. ; http://php.net/default-charset
    9 g9 v: S$ x! a9 a$ h
  679. default_charset = "UTF-8"% B" ]" }6 W3 r4 G% Q7 t- n

  680. 5 V, [1 W! L$ J. N( F& J! }
  681. ; PHP internal character encoding is set to empty.
    , g' o9 N/ M% T3 U/ A8 _) O9 ~
  682. ; If empty, default_charset is used.
    0 A" c2 V/ Z3 M# Q. g) ]* z; @1 {
  683. ; http://php.net/internal-encoding; t# i- W) ^  R
  684. ;internal_encoding =
    7 [/ ~3 [$ l+ `# W

  685. ) J/ q; c# ^: O( K3 x
  686. ; PHP input character encoding is set to empty.' O9 g( u, A; q8 Q% U
  687. ; If empty, default_charset is used.
    1 R: h, V+ C0 U) T" W& d& M2 L5 A
  688. ; http://php.net/input-encoding/ d$ f* ^- a+ p2 S% X# C7 {
  689. ;input_encoding =
    3 r3 [) C0 ?8 B: r# u2 F6 T3 c
  690. 8 _  u9 S6 S( d' s; r$ X, d6 S
  691. ; PHP output character encoding is set to empty.) S; f* }8 v: R6 d
  692. ; If empty, default_charset is used." W- r1 Z3 V/ U0 q. @
  693. ; See also output_buffer." q7 T% y) q* L; @
  694. ; http://php.net/output-encoding
    0 H( [6 q  `) g2 [/ L# ]+ I3 i
  695. ;output_encoding =% G# `  L. V, J+ e" R

  696. ) ]/ N9 Z4 N& [" v
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    ; e& @' q* ~- C7 t1 i
  698. ; to disable this feature and it will be removed in a future version.
    2 V6 T" v9 }% Y( k1 K
  699. ; If post reading is disabled through enable_post_data_reading,) A6 M& z4 S* B% i9 [- a
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.& x2 _$ s& w3 v2 x: {5 s
  701. ; http://php.net/always-populate-raw-post-data
    9 |% C4 R- \) ]: J+ k/ R# _
  702. ;always_populate_raw_post_data = -1
    8 y  x2 l8 ^, I3 M, J% m7 H
  703. ) V9 q+ _4 @. [/ x
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    # v& {1 o& i8 \! u7 u/ N# o
  705. ; Paths and Directories ;
    ! p9 n# O) `) V' Z# y& x
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;! m: K( ^. Z9 ^

  707. 8 Q) V  D: l4 Q. |+ ]2 a, S
  708. ; UNIX: "/path1:/path2"
    ' S, R$ q9 o) E. {
  709. ;include_path = ".:/php/includes". b6 D- g) L' s8 [3 x) s
  710. ;& s# D) b+ r3 P) ]9 L  J
  711. ; Windows: "\path1;\path2"
    6 J' {2 _" B8 H8 _
  712. ;include_path = ".;c:\php\includes", r% `. y+ z" l0 P* ~1 J
  713. ;, Z; o: X" O0 ?0 [4 H9 g
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear"# h' R" R9 @3 U5 D
  715. ; http://php.net/include-path
    2 i7 Z$ L8 U1 T. S2 q3 N3 s

  716. 1 t' ?% b% W9 N0 Y7 r7 {8 V  T
  717. ; The root of the PHP pages, used only if nonempty.
    ( |: `8 h3 W3 G$ ?" t  m4 K& t* l
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root, N+ R9 i( {2 T( n
  719. ; if you are running php as a CGI under any web server (other than IIS)! b7 `5 @- I" j) R: Y! v" ^# M
  720. ; see documentation for security issues.  The alternate is to use the
    # d, l' n8 w' T3 u
  721. ; cgi.force_redirect configuration below
    9 g( q+ Q, k& b2 M
  722. ; http://php.net/doc-root  r* y9 k+ R' l: R" o; P
  723. doc_root =
    ; N( _9 \; s$ s$ ?

  724. ! ?- }" o1 i/ A
  725. ; The directory under which PHP opens the script using /~username used only* F6 r( N/ {4 |6 A9 Z6 h
  726. ; if nonempty.2 M3 v  L: E% K) T# w3 d
  727. ; http://php.net/user-dir7 [- s2 d9 W7 Y$ y0 Z4 {: p
  728. user_dir =
    % W, n" l" h7 e' p3 M

  729. 2 m* |% w# g  [* f- g4 `4 S9 n$ |4 {3 \
  730. ; Directory in which the loadable extensions (modules) reside.
    7 _* L# b' M7 Y4 S% U
  731. ; http://php.net/extension-dir1 N* y8 y/ z5 e/ R8 Q
  732. ; extension_dir = "./"; ?: P" e9 G+ g" ?5 u# S
  733. ; On windows:
    . @+ p: j! B3 L8 v% z
  734. ; extension_dir = "ext"  N& ~# {2 \' J1 |( q& U6 Z

  735. : I0 g& n" S, I- d4 L: j% E3 h* V
  736. ; Directory where the temporary files should be placed.# d8 a3 ^, g, A( N2 L1 f( e3 a0 v
  737. ; Defaults to the system default (see sys_get_temp_dir)
    9 _3 ?- \: r, P4 N3 q
  738. ; sys_temp_dir = "/tmp"
    $ P  ~% w0 J  @9 y7 e' W: q

  739. - w4 E& N# q) o9 S  z8 T" s
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    - g! p( _0 k# W2 H) l9 m
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically& U* I1 ~; i# r$ L# n
  742. ; disabled on them.
    & q" G8 K' E( V+ D+ R: |
  743. ; http://php.net/enable-dl* D0 c# @6 m6 ]8 ?
  744. enable_dl = Off. V# x! v7 L4 K: d' o( ~  T  s+ U) e

  745.   h2 p9 Q# K% M  ]+ f: l
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under8 Y8 p+ E0 ?( ^$ A# L, ]: |5 f% m
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can9 _3 Z: j# R1 ]! H) N
  748. ; turn it off here AT YOUR OWN RISK
    0 g8 T. Z: M. ]* h+ K% T
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    * C" @) {( J( k9 O% @* E
  750. ; http://php.net/cgi.force-redirect
    $ N+ w3 Q( _* [# z% k3 @5 b, }
  751. ;cgi.force_redirect = 1
    : A2 D$ h( \) x0 ~
  752. & y4 m* q  o& k3 `6 S& @
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    ( O. {9 p: R& ?1 i
  754. ; every request. PHP's default behavior is to disable this feature./ U6 I& [/ U1 q9 P1 [2 S. A
  755. ;cgi.nph = 1# H- s/ O# m' X# j1 h% G7 ]
  756. 8 x" }$ z! [' B, V3 [: V
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    ; h7 H) x4 }) g1 \: V$ u1 P. [
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    ; ?% }) |4 ?& i& I4 g1 l8 L+ B
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY" f8 M) J- a) W  I3 f5 ^) {. Z
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.) w% Z5 h. p9 h9 M
  761. ; http://php.net/cgi.redirect-status-env
    # y5 I! ?0 j9 F7 H7 G# q
  762. ;cgi.redirect_status_env =
    $ \8 C  N( {8 \2 m- t2 e/ O* _

  763. ( M, i7 F( @- l
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's
    " J) L/ ]7 P. y6 \
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    ; g7 w+ x* p- \6 r% [3 k* F% ]: d: K
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    * s3 X; h$ S0 {, k' q
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting! [& @0 s7 p- R0 m6 `, G1 l8 n: `
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts
    2 M9 @" T/ |( \- L+ I
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    8 `+ |1 |: H* o" w
  770. ; http://php.net/cgi.fix-pathinfo- h. ]6 A2 K' D, }; i$ r  B  S/ @5 \
  771. cgi.fix_pathinfo=1
    : [7 W# B+ b3 Z8 u
  772. ) M9 Z0 Q7 ?, ?4 A# Y; y$ W; e
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside6 |& ~; A9 W) c( M+ ~! V7 j
  774. ; of the web tree and people will not be able to circumvent .htaccess security.
    7 x& u% P1 d2 p# ?
  775. ; http://php.net/cgi.dicard-path% [9 G' D0 n' ~$ u4 s! D* U0 d
  776. ;cgi.discard_path=1
    % R. |+ B& b9 S, O- [
  777. 5 G! S6 R5 s, g! `9 M0 m
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    ! Y" `; @2 ]" e
  779. ; security tokens of the calling client.  This allows IIS to define the
    7 t9 f) @! ]; Q7 E1 X. X
  780. ; security context that the request runs under.  mod_fastcgi under Apache  w/ ^7 ?% n! d# b0 \0 w
  781. ; does not currently support this feature (03/17/2002)
    3 a) P2 |: q  p: a8 k8 n
  782. ; Set to 1 if running under IIS.  Default is zero.& \2 `$ S( E# R- n0 H0 M! y  w$ m
  783. ; http://php.net/fastcgi.impersonate; U* Y8 k; w/ J. \2 `2 H
  784. ;fastcgi.impersonate = 1
    1 G8 Y8 q; h) X0 ~6 P- v) m

  785. 3 l( Z4 A0 z! @3 M" p7 U
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    $ L+ D4 k% {5 z$ c3 f
  787. ; this feature.
    " d5 m! {: t; m% P% |
  788. ;fastcgi.logging = 0
    3 @8 c: f: S9 i0 N7 X
  789. 8 Y. ]" F: E% Z7 C0 m7 S- M
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to
    % g  \3 i2 ?  n1 [
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    : {1 `4 ^& z, m; b+ R
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    3 H2 [2 R# w, k2 Z% W. \
  793. ; RFC2616 compliant header.0 }  k6 F  [+ [6 N6 B( O
  794. ; Default is zero.
    9 ]  v5 f* z5 Y% ^. i9 J. J" L
  795. ; http://php.net/cgi.rfc2616-headers, |3 C- C7 c4 s" P% g  ]3 r- R9 m
  796. ;cgi.rfc2616_headers = 0
    & E& h8 o' j' d+ L' q

  797. 8 P. E0 }) a5 U  [2 i9 e
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    + }  |0 z: p* i, p9 m' C" a; H6 C
  799. ; (shebang) at the top of the running script. This line might be needed if the8 H$ Z3 Z( h' O. k) j
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI4 T, S+ H8 S& G- b; G( U6 W
  801. ; mode skips this line and ignores its content if this directive is turned on.$ o1 y3 p" B3 G* U
  802. ; http://php.net/cgi.check-shebang-line
    % P9 G& H2 w1 Y# F/ G, F* c
  803. ;cgi.check_shebang_line=1
    / M# F, {; }  o6 O9 b

  804. 7 o, s" Z3 r/ O# ]4 U7 ]; w9 u
  805. ;;;;;;;;;;;;;;;;1 ?7 d+ [- A( {& d/ w, o
  806. ; File Uploads ;
    3 f0 d' N3 r% {$ N( j
  807. ;;;;;;;;;;;;;;;;7 l: J% G4 \! d5 U2 r! G" V1 l: V

  808. * C, ^8 p3 ~4 r3 Y9 ^6 q. y9 `, A2 w
  809. ; Whether to allow HTTP file uploads.: ]+ G2 U0 I% X5 i7 O
  810. ; http://php.net/file-uploads
    6 e8 f2 w" T0 Z4 ~8 h4 L5 D9 S' w
  811. file_uploads = On
    % _( ^' w, Y8 S; C" @

  812. 5 K0 u' p6 s& j6 {8 r
  813. ; Temporary directory for HTTP uploaded files (will use system default if not3 ]0 g) k2 i+ J$ d+ L
  814. ; specified)./ e. K  q3 ~* H. Z' B2 Z. b
  815. ; http://php.net/upload-tmp-dir1 [& Z3 _1 T. l: Q8 v
  816. ;upload_tmp_dir =
    " K9 G' Q" U  G0 C- d

  817. 5 ?1 D0 T! E3 ^& w: }( e- @
  818. ; Maximum allowed size for uploaded files.7 k, v" T4 r4 k& m3 V' Y5 J8 b
  819. ; http://php.net/upload-max-filesize
    / O$ q9 q  }7 ^
  820. upload_max_filesize = 50M
      ^" ]0 e+ U" E( s

  821. 5 x& N1 ?, b8 K& h0 P  @9 [
  822. ; Maximum number of files that can be uploaded via a single request" i2 @3 t- s5 k7 b0 j6 L' h( U
  823. max_file_uploads = 20
    6 D6 W) l1 P0 g

  824. ( e4 t( Q) I2 F# t. N% {0 v% E# Y
  825. ;;;;;;;;;;;;;;;;;;- d; P' Y" A6 k
  826. ; Fopen wrappers ;- h) l0 J* `/ H! p. m/ l
  827. ;;;;;;;;;;;;;;;;;;* F: E) m& P9 I$ ?  C4 }$ r

  828. - B# B; l9 N) I; D7 \. T% P5 B
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.
    / n4 ^$ X% ~$ {/ S; U
  830. ; http://php.net/allow-url-fopen
    / q- g+ K+ T7 i/ u$ }/ m# {
  831. allow_url_fopen = On/ `9 e: \0 E! \* J9 H9 |

  832. 2 @% S% ?0 q8 G- |3 y2 x% R/ R
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files." T5 s2 R1 q7 y% r+ v
  834. ; http://php.net/allow-url-include2 h$ y* y( J2 p4 z/ d. u
  835. allow_url_include = Off
    * Z9 w+ x( P: f. c

  836. ( A" w% `, E0 m1 }
  837. ; Define the anonymous ftp password (your email address). PHP's default setting* ~+ c* c( m! v! Q! v
  838. ; for this is empty.+ d+ w# [2 I$ |7 x! H4 `
  839. ; http://php.net/from
    ; M# `3 Q' X" @6 Z8 K7 m
  840. ;from="john@doe.com"
    ' U6 b# z# @! g- i. h. @' Y
  841. 3 [  w: \, z. O" E
  842. ; Define the User-Agent string. PHP's default setting for this is empty.
    8 A! a0 _8 A3 o) b6 T" J
  843. ; http://php.net/user-agent) _' P. @; B# @% |
  844. ;user_agent="PHP") y* M0 @( ^8 H; B4 J4 N1 w: n& Q

  845. ; V- ]* z! y- Z" o
  846. ; Default timeout for socket based streams (seconds)
    / E+ m: \. S" p0 O  y
  847. ; http://php.net/default-socket-timeout& c( a* Q: F: j' f
  848. default_socket_timeout = 60% |; L" H9 B/ i- E# ^
  849. 6 V: \# h% y4 M+ b1 e5 E2 j) g
  850. ; If your scripts have to deal with files from Macintosh systems,
    - U1 J( H7 P& |# k2 `
  851. ; or you are running on a Mac and need to deal with files from
    4 R' Q+ \9 }& p9 f* x$ c/ A0 w. c
  852. ; unix or win32 systems, setting this flag will cause PHP to
    # ^$ L! T" u7 D
  853. ; automatically detect the EOL character in those files so that3 l" f" _4 P  c. J2 Z
  854. ; fgets() and file() will work regardless of the source of the file.
    / F9 i: Q- D% g* Z  f
  855. ; http://php.net/auto-detect-line-endings
    7 ]; X: E& i; R8 Y- W
  856. ;auto_detect_line_endings = Off- g2 E- N& M- T  {1 h  W' c- W& r5 H

  857. / [) u+ N7 t6 J3 i  d
  858. ;;;;;;;;;;;;;;;;;;;;;;
    : j8 J# n0 G- a5 K' ]
  859. ; Dynamic Extensions ;5 [; B2 Y1 N5 G# c( C0 v* a( f
  860. ;;;;;;;;;;;;;;;;;;;;;;
    7 a7 I' A- L0 }- @% ^

  861. + c2 G/ S6 ]9 D2 t* d. \& n
  862. ; If you wish to have an extension loaded automatically, use the following
    6 t$ _* V4 _  g  n$ ~8 T7 A: `
  863. ; syntax:4 f) f. ^( Y+ N  L
  864. ;" i* m4 t- O- E2 `+ V! H
  865. ;   extension=modulename.extension
    8 z2 R- \3 U# Y
  866. ;
    & W5 Z8 `  y% w, B
  867. ; For example, on Windows:% X; {' ]" v  e" w
  868. ;
    ) v& L( G& I& K
  869. ;   extension=msql.dll. F$ W* m/ q$ l
  870. ;/ R) O, X7 B6 {# T' W" }  w) R7 B1 J2 s
  871. ; ... or under UNIX:
    : n* D6 T$ Y* ^6 L& Y
  872. ;0 U$ l$ ~9 P4 w3 t1 v
  873. ;   extension=msql.so
    / {1 A1 h$ f# k! c8 B
  874. ;$ J+ L" E. Q+ j$ m
  875. ; ... or with a path:
      h1 P, H5 X3 `! B& }
  876. ;
    3 N& ^* C, K9 h# N# n, b$ Y7 z
  877. ;   extension=/path/to/extension/msql.so
    # F/ H' ^0 W3 q7 r, l! x' O9 Y/ B
  878. ;
    9 r' h8 H# ]- _
  879. ; If you only provide the name of the extension, PHP will look for it in its9 s# j& r9 S. @$ _" Y4 A: m" r5 H
  880. ; default extension directory.6 U6 M4 c7 P# k- C
  881. ;
    % l3 B8 r6 F& F- ^% L
  882. ; Windows Extensions1 o$ @( [( W/ k) a
  883. ; Note that ODBC support is built in, so no dll is needed for it.  c" B( L: a( x2 C6 i* X
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5). R2 a6 z% f& [& i; X2 N6 D
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).
    5 M; B  k2 W9 |  f) U+ m
  886. ; Be sure to appropriately set the extension_dir directive.
    2 {9 S" |$ G" h6 b: Y7 G9 i
  887. ;
    ) z- i; h$ S: ]  n
  888. ;extension=php_bz2.dll
    # u$ ~* Y! \, z! e) o
  889. ;extension=php_curl.dll4 m0 U# G9 J  }, a2 Z6 v6 w8 R
  890. ;extension=php_fileinfo.dll) b( m* T( ^" \$ }( z
  891. ;extension=php_gd2.dll+ A' r# h6 i1 h  Q1 m& l
  892. ;extension=php_gettext.dll# [( P7 q  A0 \
  893. ;extension=php_gmp.dll& a4 H0 ~* O" j# r3 \
  894. ;extension=php_intl.dll
    0 R- S/ l" U& `
  895. ;extension=php_imap.dll
    ( U# w: H, l# Z5 Q* m4 |* C
  896. ;extension=php_interbase.dll4 A- ~3 C  q+ B5 m
  897. ;extension=php_ldap.dll
    , E" A' t1 K! ?! k- B6 O' V  D
  898. ;extension=php_mbstring.dll4 _; _0 T& `- J6 c1 z' g) W
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    # y) a; h: x; g5 @  P  h0 I2 ^
  900. ;extension=php_mysql.dll
    , N2 U& {2 h! k2 w
  901. ;extension=php_mysqli.dll/ {/ @; J9 W# V5 b; |
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client" p. l' c/ B/ M8 f
  903. ;extension=php_openssl.dll4 ^# M6 H# J& d; Y7 M
  904. ;extension=php_pdo_firebird.dll
    ; \, Z: s" g8 \+ F  d$ G' N9 \+ @' f
  905. ;extension=php_pdo_mysql.dll1 A8 a  M& Z" a  V0 p4 R
  906. ;extension=php_pdo_oci.dll6 X1 `. v0 u8 t
  907. ;extension=php_pdo_odbc.dll
    2 {3 a1 p+ F6 r1 p; _
  908. ;extension=php_pdo_pgsql.dll- }) \* ~2 E! F, [
  909. ;extension=php_pdo_sqlite.dll
    8 G7 q3 p+ c' p" S5 d
  910. ;extension=php_pgsql.dll
    * _8 Y' O4 {5 [
  911. ;extension=php_shmop.dll1 }8 j  g* d5 C# E, T0 z

  912. . U; J# A) u9 S9 ]4 y) y1 p
  913. ; The MIBS data available in the PHP distribution must be installed. ; l- g4 q- k  T( B5 x
  914. ; See http://www.php.net/manual/en/snmp.installation.php & o6 P- z+ F1 x7 K, [
  915. ;extension=php_snmp.dll
    9 |, P5 m$ n- A6 Z+ J$ d7 q

  916. 9 p+ B7 |9 z! X+ n
  917. ;extension=php_soap.dll$ G  i* Y1 B2 N0 L: @1 b
  918. ;extension=php_sockets.dll
    : {) L* _; t9 T+ a" S
  919. ;extension=php_sqlite3.dll
    1 Y7 z8 x- b9 p4 |9 b+ q/ Z
  920. ;extension=php_sybase_ct.dll+ h# Q: I0 T# h% {& m; Q; q
  921. ;extension=php_tidy.dll
    3 w/ Y. q* r& f
  922. ;extension=php_xmlrpc.dll
    4 H! [4 M) `8 K0 Z8 v9 M
  923. ;extension=php_xsl.dll
    0 Q- m* ?+ \8 D4 F

  924. 8 b1 k+ t8 @: ?8 Z9 i: j+ `8 Z: B! n
  925. ;;;;;;;;;;;;;;;;;;;* s. Z+ M. {* A9 [4 N2 d3 C  Q
  926. ; Module Settings ;, ~1 \+ q3 o# `3 `9 V
  927. ;;;;;;;;;;;;;;;;;;;
    / F2 P- n& H* a" z3 L; k

  928.   R) T' Z# ~% o
  929. [CLI Server]
    & {  d( x2 y) W7 n. x
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
    7 U) [  ]% S1 `; e: D
  931. cli_server.color = On. w: ~4 T& |0 h
  932. 8 r+ i+ ~4 l! n3 t
  933. [Date]
    , g6 O4 N$ b0 l
  934. ; Defines the default timezone used by the date functions4 C% D3 G! F! L  v4 V
  935. ; http://php.net/date.timezone, `: x' F8 X0 F" m6 S
  936. date.timezone = PRC
    * Y7 M, d1 T' e3 X/ F6 o
  937. + z+ o% p" D# L" N5 {+ w! n
  938. ; http://php.net/date.default-latitude
    : B. N! `$ }3 }& @; }
  939. ;date.default_latitude = 31.7667
    " Y1 v7 q+ t  g6 V; b

  940. " G' K. s  U% f+ a* A9 f- n
  941. ; http://php.net/date.default-longitude# t1 w. C6 R3 ~2 E* Z$ m
  942. ;date.default_longitude = 35.2333
    $ e5 v; a" [, X# K" P
  943. . p* Z/ B" Y. h
  944. ; http://php.net/date.sunrise-zenith
    3 L  v7 r( _. i/ F( V
  945. ;date.sunrise_zenith = 90.583333
    & e+ |4 H  V+ ^' Z% c7 I5 l( p
  946. 2 P* L9 Z8 ?) c
  947. ; http://php.net/date.sunset-zenith, m7 k: M6 c* f; j; L( u2 B
  948. ;date.sunset_zenith = 90.583333
    . l' ^  F4 @9 ^) L
  949. # z" A0 h: r- ?3 T0 `
  950. [filter]
    : B( _8 U% J0 u) j3 ?4 J, Q$ j: q
  951. ; http://php.net/filter.default% Q% e4 o  |, b
  952. ;filter.default = unsafe_raw
    1 @$ z. g- a2 W  u" N  Z: S

  953. 0 t; L. F6 N7 N; v: h
  954. ; http://php.net/filter.default-flags% H- Q" `) R3 d8 \
  955. ;filter.default_flags =
    8 G# h, r" h9 O! E# F

  956. 7 s" W8 d9 U: D
  957. [iconv]
    4 V- B1 C6 E0 T- r+ l1 l3 z2 O
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.
    : `, o! V6 f" m' U& N
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.. G1 G; D, z! S. b( a# T  w2 |
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding# n9 _' W% g7 E
  961. ;iconv.input_encoding =
    ! M7 x7 `" y6 j' _& [& _
  962. 7 \$ _' t5 k1 }6 R6 {9 B& z. }6 b
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.* C9 L0 ~1 ]; c8 V, G
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ) B! z; D8 B) @7 ^1 P
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding; }/ p7 |7 ~: Y2 J: p! k
  966. ;iconv.internal_encoding =
      |! }, I# V6 b7 O/ ~
  967. 4 t: W1 ^: g# G. X9 A
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    0 f  e& v, S$ W/ Q" X. X
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.- ]+ ]  D  o  ^5 b- {6 Q  j, b
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding
    - P. `' }- P" k8 ^
  971. ; To use an output encoding conversion, iconv's output handler must be set' }. b+ n" Z/ A$ d9 C+ R
  972. ; otherwise output encoding conversion cannot be performed.
    9 D0 f0 M, i" m. o7 B% N$ C; S
  973. ;iconv.output_encoding =; @7 Y) N6 a$ ~: v# m

  974. , G+ K! D$ B' `2 D9 l
  975. [intl]
    2 K/ v; H4 \1 J& A
  976. ;intl.default_locale =% E* v# n! x9 s% y9 L5 h
  977. ; This directive allows you to produce PHP errors when some error0 J2 Z( t7 d& C( h6 |
  978. ; happens within intl functions. The value is the level of the error produced.
    1 N/ R  c' a3 i( H$ Q
  979. ; Default is 0, which does not produce any errors.
    6 w: I" ]) X7 |$ M: _: z
  980. ;intl.error_level = E_WARNING
    2 z$ `; \; y+ `& X7 x# E
  981. ;intl.use_exceptions = 0
    ) B4 \& B" P- E3 L8 Y2 W

  982. ; i' I* ^: X5 d/ ^* F
  983. [sqlite3]6 H3 u8 }1 q9 e) Y# x/ _
  984. ;sqlite3.extension_dir =2 f4 Z& ]' w6 J! y

  985. 0 h# _0 D5 f1 e7 p* {+ b3 B
  986. [Pcre]8 z* Q% l; J% H/ e7 M# i; C4 p* [
  987. ;PCRE library backtracking limit.- W9 Z$ W3 h+ T. L, v: `7 X
  988. ; http://php.net/pcre.backtrack-limit
    6 ~8 K$ k3 R0 R) n9 C
  989. ;pcre.backtrack_limit=100000
    3 w) \8 h3 q! @% \2 F

  990. 2 U) X8 j) y+ ~1 X) ^- I
  991. ;PCRE library recursion limit.
    + p, S& l" K9 o0 F  {! i: t1 E/ m
  992. ;Please note that if you set this value to a high number you may consume all
    8 S1 I8 R$ N* {7 e; Y+ w+ ^# P
  993. ;the available process stack and eventually crash PHP (due to reaching the
    $ Y3 f/ _2 e' E0 _. T. I
  994. ;stack size limit imposed by the Operating System).+ n% Z9 [# B9 k& |0 ^8 U$ M
  995. ; http://php.net/pcre.recursion-limit7 H: k% d9 p, j4 v, l
  996. ;pcre.recursion_limit=1000007 N& L( ~2 G+ p8 g8 S  Q  y

  997. $ @9 u$ P% o# e' w; j4 i7 f
  998. [Pdo]) h; ?. l0 A) p, o1 E5 G) F
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"
    + l4 u5 F- Z! ?- U2 f
  1000. ; http://php.net/pdo-odbc.connection-pooling
    % o2 ]6 c/ o, B
  1001. ;pdo_odbc.connection_pooling=strict- L8 e0 Z/ c& r

  1002. " F8 @4 p+ K* T" M9 C
  1003. ;pdo_odbc.db2_instance_name- s0 ?( a+ G% T* U
  1004. / N$ ~# v: `# A
  1005. [Pdo_mysql]
    7 G$ t: \4 o$ M' t
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache8 s* Q3 z4 J* K! _% p
  1007. ; http://php.net/pdo_mysql.cache_size
    . @7 |- z  k. b. y) F7 P$ E
  1008. pdo_mysql.cache_size = 2000
    * L, _- v  H- J9 K

  1009. 9 R4 N, v8 H" r
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    " n" \4 e3 n5 ?6 W0 z9 T
  1011. ; MySQL defaults.1 b$ z# }& v% d1 N# |
  1012. ; http://php.net/pdo_mysql.default-socket
    . S; d$ t/ P# b/ |) h- ]) c
  1013. pdo_mysql.default_socket=; F$ B  H. d' [$ V3 c* {4 C
  1014. ; t% G3 o: W/ f* V" d
  1015. [Phar]
    4 Q. j: l5 U" E; ]
  1016. ; http://php.net/phar.readonly6 ^1 z7 t; q# B& c" p
  1017. ;phar.readonly = On
    , X/ \) W6 |6 D' V, B% g8 M

  1018. : @# l5 j+ p1 p+ g
  1019. ; http://php.net/phar.require-hash
    + q4 P2 O9 ~; i/ k
  1020. ;phar.require_hash = On
    9 n( P2 J- X; B

  1021. # P4 U* U1 `1 U1 E
  1022. ;phar.cache_list =
    ' ~' L6 L+ c+ A
  1023. 3 ^, a; J* Z! U0 N
  1024. [mail function]0 k$ G" k5 D  X+ A  U5 q
  1025. ; For Win32 only.
    . N% k% y8 d% x
  1026. ; http://php.net/smtp
    " q* Z0 ~) y) i" ~' F$ e& \1 S! c
  1027. SMTP = localhost
    + C1 s4 n$ u# d5 q3 f* d3 u  F
  1028. ; http://php.net/smtp-port* D8 Z* f6 ?% C- ^6 X
  1029. smtp_port = 25+ Y) x1 Y' T7 ]# A% T

  1030. " R4 o1 I5 n5 C3 V
  1031. ; For Win32 only.8 o& M! h: r9 q3 V9 ^) \: \
  1032. ; http://php.net/sendmail-from
    / {" D; V5 w6 ?" c$ N6 I' m7 ?
  1033. ;sendmail_from = me@example.com
    1 l4 \  j( q8 e

  1034. 4 O: N/ t5 T# P
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    , J) i2 D. w7 h: z( u6 Q% l
  1036. ; http://php.net/sendmail-path! v9 @$ s2 z& n3 E# _8 v" s
  1037. sendmail_path = /usr/sbin/sendmail -t -i
    & a4 G) p9 Y# M3 S1 v* }- ~  m, T

  1038. 7 u1 ?0 A2 r4 K8 W6 P* `" [* U; r
  1039. ; Force the addition of the specified parameters to be passed as extra parameters( E. I- Q' c- j% T  g
  1040. ; to the sendmail binary. These parameters will always replace the value of
    2 @8 C7 R# Z3 d) V7 x; `. B4 u- W
  1041. ; the 5th parameter to mail().
    # O. R( _+ B! X! h1 E
  1042. ;mail.force_extra_parameters =4 E, o1 A. b' m& C& U

  1043. - h2 S1 {' v" j8 H1 x( W! ~$ p* w
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename+ `" s+ ~, S5 W0 I$ o5 A
  1045. mail.add_x_header = On/ m& C( G# _7 A5 s2 Y- U
  1046. ! E8 \8 c# a7 i
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    - C6 t7 ~8 `& p: {: d
  1048. ; the full path of the script, line number, To address and headers.6 p# H0 X* ?8 ~, Q3 y
  1049. ;mail.log =: G3 z; c% k4 D( E
  1050. ; Log mail to syslog (Event Log on Windows).0 ]2 b/ D  s! Y  @
  1051. ;mail.log = syslog
    7 }; X. U6 D7 ]: G$ n0 x, b

  1052. 4 j/ G+ D. K, F, o. R" D" p! }
  1053. [SQL]
    ( f4 q+ i- L% O- g
  1054. ; http://php.net/sql.safe-mode
    5 Q5 n8 I, q6 _5 o" N
  1055. sql.safe_mode = Off$ e5 B; d$ d. G8 M
  1056. 2 \. Z. \9 e' J6 m- E' m. d
  1057. [ODBC]
    : ]/ `( z7 _  `% ?' V" }
  1058. ; http://php.net/odbc.default-db
    8 x  d$ c3 d9 y
  1059. ;odbc.default_db    =  Not yet implemented! s% ?5 d5 b2 L

  1060. , m! a6 t- s0 @, _! H% N
  1061. ; http://php.net/odbc.default-user
    % O. u8 W7 E4 ?
  1062. ;odbc.default_user  =  Not yet implemented8 j& ?: R3 o5 S
  1063.   I# k& N* L- T0 N, {- v; g' W" s
  1064. ; http://php.net/odbc.default-pw& G' m: K! {4 W5 ?8 w1 j9 [
  1065. ;odbc.default_pw    =  Not yet implemented/ L; d3 W* v9 r
  1066. 9 n8 X  n8 g( l* s4 ]9 ~
  1067. ; Controls the ODBC cursor model.
    1 c7 U7 b) c; x/ Z
  1068. ; Default: SQL_CURSOR_STATIC (default).4 ^8 {, r  n8 d$ y3 ], `/ l! `
  1069. ;odbc.default_cursortype$ Q; m2 E) h. k0 ~6 {8 L
  1070. 3 e* I+ s/ ]1 a4 ^( L. c: e
  1071. ; Allow or prevent persistent links.8 w6 u' T( G4 I- s
  1072. ; http://php.net/odbc.allow-persistent
    + N" F8 j1 F/ |- |2 v
  1073. odbc.allow_persistent = On
    % Y4 ^& K9 ^6 J
  1074. ( q6 f5 U* F( S6 M" b
  1075. ; Check that a connection is still valid before reuse., b  o: i  k6 E$ E' F7 Z0 ~
  1076. ; http://php.net/odbc.check-persistent
    & Z  u; g) y, s3 J
  1077. odbc.check_persistent = On) m; a7 s+ ?, I. U$ K  O) O

  1078. ! h; I0 F+ r# I; X' F8 D$ Z
  1079. ; Maximum number of persistent links.  -1 means no limit.4 C6 y9 ^$ Z+ x& P' ?/ a# I
  1080. ; http://php.net/odbc.max-persistent
    . D. x/ G0 P3 I
  1081. odbc.max_persistent = -15 y& Q7 b5 J, P  u5 N, N

  1082. ( q" F1 W4 h- m
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    5 {4 [) y: f4 x1 e0 W, ^
  1084. ; http://php.net/odbc.max-links9 L6 n+ G& r4 `7 X
  1085. odbc.max_links = -1
    $ r0 z6 G7 e2 C# n$ C- C4 i: O# B

  1086. ; N% X  u3 q' J7 P
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    : R2 }( \  ?  p7 Q7 U* R) ]. B
  1088. ; passthru.
    & g. F7 U3 Q" d  |, i3 x8 k. F1 S
  1089. ; http://php.net/odbc.defaultlrl; W2 S/ k7 q# o8 ^
  1090. odbc.defaultlrl = 4096
    6 |- d% s9 f" [9 U
  1091. ) @6 o# p9 U- j
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.5 ~3 r; l2 x( V
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    + N0 }% `5 q- j+ V) p) u
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode, w! n) @% g0 u* @7 ^
  1095. ; http://php.net/odbc.defaultbinmode
    0 S; U; F/ C8 |, f5 J) F3 U$ O% [
  1096. odbc.defaultbinmode = 1. n' {6 A) C& }1 z- }
  1097. $ R* U4 S; `- Y$ w0 @' z) M
  1098. ;birdstep.max_links = -1" r# J$ }( U# x6 g

  1099. * w( h# Y3 k5 f3 {: p
  1100. [Interbase]* q0 E. d% c3 n
  1101. ; Allow or prevent persistent links.# Y9 ?5 L- y$ S- t4 P1 e7 a
  1102. ibase.allow_persistent = 1
    0 k( n+ h! i* j) o6 ^$ z6 ^

  1103. $ L, R5 n6 E6 l1 |2 |' c  l& Y
  1104. ; Maximum number of persistent links.  -1 means no limit.; ]& g5 ~. t# C& r8 S/ z0 I
  1105. ibase.max_persistent = -16 l1 B! k5 `) `& @/ L: ?

  1106. " @6 e4 u0 a. v8 b2 {" M1 V6 Y& p. r
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    * I+ Z+ X' `1 j' F
  1108. ibase.max_links = -1
    4 g# n6 M/ g8 s+ K- u# H8 ~
  1109. 9 W6 Z. l, F- h: A4 D" P8 h
  1110. ; Default database name for ibase_connect().8 q: y/ x% q2 A4 g' u2 {
  1111. ;ibase.default_db =: J0 }% Y# Y& Q7 [4 {( t( ^

  1112. # l$ k6 O6 [; h% o
  1113. ; Default username for ibase_connect().
    % J+ H8 P4 k3 Z5 j
  1114. ;ibase.default_user =
    2 e0 d' S9 Z! ?# J! A4 c( a: s
  1115. 5 e' S  ~) a. R7 q# Z& v
  1116. ; Default password for ibase_connect().. l) b/ i3 Q4 A- Z( i
  1117. ;ibase.default_password =
    3 ~5 y& q0 ~' d( M; b9 u
  1118. 1 j: U) z) p; _
  1119. ; Default charset for ibase_connect().
    , |2 {$ k0 e) m. T9 s8 L* @$ V, Q' Y. S
  1120. ;ibase.default_charset =
    ( i( j+ P" f4 x$ |) n' _

  1121. 5 Y0 V0 x1 d+ F
  1122. ; Default timestamp format.
    ( W/ h3 H5 _& Z" S! N" T
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    , x5 i: ]7 x6 C, i) F) S) z1 F; K2 [

  1124. & L8 Y8 M8 Q7 p2 B: W& j
  1125. ; Default date format.3 L9 n1 C: Y# h0 A
  1126. ibase.dateformat = "%Y-%m-%d"2 g  m* x; E# s3 s# f

  1127. . S' V8 g% K: |. V7 h. Z6 {
  1128. ; Default time format.) ?" h- B7 t6 s4 e0 }8 L
  1129. ibase.timeformat = "%H:%M:%S"
    - w, u& M4 \+ X1 s

  1130. 9 ^( a* d" e8 ?) t. Y/ v
  1131. [MySQL]& W- s9 [2 }$ ?. g6 F
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements* s6 ]! D6 A5 f# Z
  1133. ; http://php.net/mysql.allow_local_infile
    / Z5 c& }9 U( d0 k# |% b% E" v, }; q
  1134. mysql.allow_local_infile = On
    $ m, F6 z" t8 O1 u" a4 R% e
  1135.   {# I# v1 d) V; H8 H' w2 |* |
  1136. ; Allow or prevent persistent links.
    $ \' e. X4 O' |& z0 ^  v
  1137. ; http://php.net/mysql.allow-persistent
    ( M- P. [- ^! o' B0 P' t  Y
  1138. mysql.allow_persistent = On0 J: T7 a8 W" J3 ^

  1139. & \9 M- W5 O$ I7 p
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache$ G! {+ j7 O3 n& f7 E) i$ E3 G/ a
  1141. ; http://php.net/mysql.cache_size
    9 \$ c. g+ F/ |' _6 \
  1142. mysql.cache_size = 2000
    - _/ ^8 o' c5 L1 b5 f

  1143. / f6 J% j0 a# z* }3 U
  1144. ; Maximum number of persistent links.  -1 means no limit.: b3 I7 V$ [) Z* M- e1 e, l
  1145. ; http://php.net/mysql.max-persistent0 x8 i% M8 b; r4 z" z
  1146. mysql.max_persistent = -17 A+ h- r6 M) D( d( v, c
  1147. 2 @" B' D9 w8 i0 }! _" z, W
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.* Z! |& |% Q7 l: r/ r- F1 F# w
  1149. ; http://php.net/mysql.max-links
    % b& c$ V7 n; j& U( A
  1150. mysql.max_links = -11 t- o3 o& R- }5 I8 t* @  u. _

  1151. 0 a. |! Q3 a+ d% f3 }: ~
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use" c5 L4 P% s6 V+ ^% N/ F; b4 _
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    # x# b& {$ g" w/ W+ S
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look; J1 F- w8 V8 |& d1 B* I- s
  1155. ; at MYSQL_PORT., j" ~$ O1 s% W) Z  P: c+ k, @
  1156. ; http://php.net/mysql.default-port' ^/ m6 k, g* O0 F
  1157. mysql.default_port =
    8 n; Y, F$ `* f$ h6 S& a2 u. t
  1158. , s# q2 u! E6 F- g1 j4 c( F
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in. Q; }. r* i2 _8 D
  1160. ; MySQL defaults.
    % D/ m/ H) O+ c, a$ u+ _" D" {
  1161. ; http://php.net/mysql.default-socket
    : U1 S. n: A# q+ T$ T, i8 N
  1162. mysql.default_socket =2 H& ^. D, |, W8 d5 p+ c2 {% g, I; y
  1163. 1 z9 Q. y. {' s: N4 ]. T
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).
    * j/ F0 P1 f3 J" ]. _/ r% u; l& W
  1165. ; http://php.net/mysql.default-host% w$ l& t3 z$ n8 [% l8 X
  1166. mysql.default_host =
    8 K* a7 Z5 H* {5 K4 V

  1167. , p% _. n/ n! F  j4 y. D- _7 P
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).- l: S, y4 M2 W
  1169. ; http://php.net/mysql.default-user
    . ?" D, D* {' x7 G5 q3 P8 u
  1170. mysql.default_user =: \  d! g% {0 t+ ^0 @0 e
  1171. : y+ b5 q. w: y1 n) l
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode).: G( i! ?* Z; }/ d& F5 E$ N1 v
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.
      [& F( K2 }5 j# \
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")& q3 d! ?$ b( N: Y+ n/ K; p
  1175. ; and reveal this password!  And of course, any users with read access to this
    ' W$ N7 ~6 ]# Z! z
  1176. ; file will be able to reveal the password as well.! m+ B$ J! p$ b6 j" `: ^6 [
  1177. ; http://php.net/mysql.default-password# [+ U& d. d3 _2 a7 b) h
  1178. mysql.default_password =3 T( q1 ?+ }2 [

  1179. 9 O' `% b4 \# L' K% e, I$ r( ?
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit
    9 q# V/ p  M4 Y
  1181. ; http://php.net/mysql.connect-timeout8 u5 V( O$ a# q& R- r
  1182. mysql.connect_timeout = 60# }$ F7 g( z& G* t/ N7 t
  1183. / h& ?( X, s" l
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and- y( c( P  \: m, W2 J4 @6 t
  1185. ; SQL-Errors will be displayed.
    , l3 ~7 y1 X4 y8 V+ S  h7 ]9 d( [( C
  1186. ; http://php.net/mysql.trace-mode
    ' U9 k  X" {: c4 f6 U9 `/ C* Z
  1187. mysql.trace_mode = Off. `  k; t: N% j& F# s- y

  1188. : `( I  {6 A7 j8 v/ T0 q1 ^' |
  1189. [MySQLi]) O. C5 d& h# f. o' p/ w4 |, E
  1190. # _6 I4 M: |. h( P1 [1 \& r" |" S$ A
  1191. ; Maximum number of persistent links.  -1 means no limit.
    4 B2 V8 c7 x. l! Q1 E
  1192. ; http://php.net/mysqli.max-persistent( ?. U& c% m0 R, f& j3 x
  1193. mysqli.max_persistent = -1
    : z9 X  d. A3 e1 }. v. l

  1194. 7 z+ j* u2 F! @2 |; H& k, r+ ?
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements3 s) M5 k+ }: r% S1 F4 p; d
  1196. ; http://php.net/mysqli.allow_local_infile
    ) I4 _3 Q$ h+ V9 E
  1197. ;mysqli.allow_local_infile = On( m1 J4 X" Q0 j' B4 a: g9 M" j
  1198. ! Z0 M" }, m" Y
  1199. ; Allow or prevent persistent links.
      J3 E3 F6 X: @+ P8 h% f7 X" l+ c, ~
  1200. ; http://php.net/mysqli.allow-persistent9 U& d+ w# t2 K& _2 R! o
  1201. mysqli.allow_persistent = On
    ) T1 m+ o- `5 G3 P: G+ x

  1202. & U2 q/ ?  U* D& a
  1203. ; Maximum number of links.  -1 means no limit.1 M/ d1 M7 J( f& v) ^
  1204. ; http://php.net/mysqli.max-links9 B: @+ ^& b5 y8 H
  1205. mysqli.max_links = -1, t  A: c! v4 R8 Y5 X0 [) {

  1206. 1 `% u. b/ A: l3 ^8 M6 p2 Q
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache: d- A) h7 M" J8 \* z
  1208. ; http://php.net/mysqli.cache_size
    7 E) i" ~- I5 u4 q6 A/ q' T
  1209. mysqli.cache_size = 2000
    ' N& ^" Y" _0 H5 N

  1210. 0 }7 D  Q6 p! a. P1 c1 T
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use$ w/ H( F0 I( m
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the, w- m: z; g+ B/ m
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    0 B8 N- n( S5 X/ p
  1214. ; at MYSQL_PORT.
    , g5 n# M9 k3 L
  1215. ; http://php.net/mysqli.default-port
    , X1 j9 [5 w3 E% y2 ?
  1216. mysqli.default_port = 3306* b/ H0 w4 c9 r2 F7 S- {! G8 ?
  1217. ! \3 c! k8 U: V" Q: S
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    # R" r; N2 G2 T8 {
  1219. ; MySQL defaults.9 X/ b4 q  e' z' L' j( w1 m
  1220. ; http://php.net/mysqli.default-socket
    2 y$ c7 n# K  S  {. L1 h8 B
  1221. mysqli.default_socket =; F6 @  z1 v, E$ u- [! ^

  1222. 3 i$ U, |0 }5 h* d1 Z2 P
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode).- ]3 I1 u7 b: K6 f6 x5 N
  1224. ; http://php.net/mysqli.default-host
    ' ]% v+ R4 r- j& D
  1225. mysqli.default_host =
    ) X& U, Z3 Y7 F6 R/ f2 C4 x; I7 y9 A! }% x
  1226. 6 a5 D3 n) u8 o  i% l" K* }
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).2 F# H6 B& z8 ]
  1228. ; http://php.net/mysqli.default-user2 F( i  A" }5 M! y
  1229. mysqli.default_user =7 u- c8 I4 @- E) I: ]+ F/ H8 ^
  1230. 7 ?) b" ]5 a" U* p( Z) z
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).& G" Q; Z2 l; j) K# O  \! W
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.6 }. H6 h$ ?' f. M0 y, U4 P  |9 z/ d9 W
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
    1 p& X( Q/ _( |4 D3 q7 l
  1234. ; and reveal this password!  And of course, any users with read access to this' C0 a) Z8 a8 z8 p2 x& j
  1235. ; file will be able to reveal the password as well./ w- m8 n3 C6 j3 e/ w
  1236. ; http://php.net/mysqli.default-pw+ h  Q3 R2 r9 t- K0 t" s7 V
  1237. mysqli.default_pw =
    $ \! Q9 Y, u5 i  O4 \2 V# Y

  1238. $ D' p0 z  w6 N8 e; }$ l
  1239. ; Allow or prevent reconnect- U; ]% |5 o9 Q6 @8 B
  1240. mysqli.reconnect = Off
    - e8 k* S6 l& d3 N* \
  1241. & V! V# ]9 F3 q) h
  1242. [mysqlnd]6 F+ v. i  B. d* G6 S: X4 t
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be. _. n; L1 u) _$ k" a! I; a+ L
  1244. ; used to tune and monitor MySQL operations.' M; T; h6 e) Q$ M
  1245. ; http://php.net/mysqlnd.collect_statistics
    0 S* c9 U1 C  Q6 b+ }
  1246. mysqlnd.collect_statistics = On
    . e7 m6 @( b$ H
  1247. : D& t3 m; ]& l7 i9 D1 }
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be( g% m" A; ^/ Q0 k9 ^* [) G
  1249. ; used to tune and monitor MySQL operations.; P( @0 {/ z) u" s
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    9 Q$ s% X# R: l/ Y: W8 ^
  1251. mysqlnd.collect_memory_statistics = Off+ b" B% ?! S; f' K0 M% j* D9 g

  1252. $ W) m. b1 N# E/ r1 h$ q
  1253. ; Records communication from all extensions using mysqlnd to the specified log. k1 L- Q6 ^7 k6 X
  1254. ; file.0 l- i! H. H$ z
  1255. ; http://php.net/mysqlnd.debug
    9 }; R  @: G3 |: u
  1256. ;mysqlnd.debug =
    0 b5 }) y" u. [& z3 _2 u9 |. C

  1257. , O! D& i) N$ ~8 g
  1258. ; Defines which queries will be logged.7 r+ a9 t7 u6 H) ^( ^) h
  1259. ; http://php.net/mysqlnd.log_mask9 Y: a, ^9 X5 w8 ?
  1260. ;mysqlnd.log_mask = 0( L. M! Y$ d! H- Z/ H% J; ]
  1261. 7 E( ]7 h/ c+ ^& v! F
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.4 g1 O& K7 r% r& w/ w8 H  I/ a, H
  1263. ; http://php.net/mysqlnd.mempool_default_size+ S+ ]" \: g/ g
  1264. ;mysqlnd.mempool_default_size = 16000) Z0 Y+ Q8 J2 Z* A' w' p
  1265. ) E0 C3 q/ Z) i5 h9 v
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.
    0 y0 K# ?! d  e; b4 ^1 H  [
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size
    ; T" ]* L. }6 x0 W
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    ' q( l/ e5 |2 o9 ]5 I

  1269. 2 A1 T( C# G/ U4 x% Z0 }
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in  Z$ m4 H5 g3 ]% h3 G* i& [. w: a
  1271. ; bytes.
    : \8 i! d9 S: w. l, \
  1272. ; http://php.net/mysqlnd.net_read_buffer_size
    8 A4 V9 ], G3 W6 a8 j! x
  1273. ;mysqlnd.net_read_buffer_size = 32768( x$ J/ `+ p+ N0 p- |
  1274. ( v; D; R, F! w, q7 f. D$ a+ O- _
  1275. ; Timeout for network requests in seconds.; B2 S. q/ ]3 ]2 i- @3 o2 i7 u
  1276. ; http://php.net/mysqlnd.net_read_timeout+ r6 v( a; s% s* k* F
  1277. ;mysqlnd.net_read_timeout = 31536000
    " Y0 g  Q  r, r

  1278. * D8 O7 `5 c: d$ i2 {; B1 D  r
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    1 J: X7 z) e$ z# @5 Q. Q5 p
  1280. ; key.% _; ^, w& [& ?+ t8 w) A4 F
  1281. ; http://php.net/mysqlnd.sha256_server_public_key  l  L9 m: ]! G# R+ n! Y
  1282. ;mysqlnd.sha256_server_public_key =
    ' L# \. H8 i2 x
  1283. + x$ R5 a) K9 Q  I# z5 j
  1284. [OCI8]6 A+ }0 W5 }- H5 k. B
  1285. : f2 b& a% X. a- @# I! G( W' q
  1286. ; Connection: Enables privileged connections using external
    + |8 O! g: c" W% V0 _) o% M
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA)
    ' y" P; f8 f! M2 Q  _' ~
  1288. ; http://php.net/oci8.privileged-connect
    % t! x8 M9 [- h- W7 D- Y
  1289. ;oci8.privileged_connect = Off
      h* g3 n7 @% ~1 d) B
  1290. 2 p8 @3 K% C  Z' R- _1 |
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    , |. Y/ P, g. |! q9 a8 B
  1292. ; process. Using -1 means no limit.
    7 L6 r1 {- ?: B! D! y: v4 L: Z/ c
  1293. ; http://php.net/oci8.max-persistent- m9 E+ n# e8 t) d- _8 o- C1 k) O
  1294. ;oci8.max_persistent = -1+ e9 z2 e9 x+ x, ~) M. X3 k
  1295. ' u3 X. a! c/ T: j5 Y1 ^  n/ v
  1296. ; Connection: The maximum number of seconds a process is allowed to+ j9 M# a- V( i: l
  1297. ; maintain an idle persistent connection. Using -1 means idle
    3 p0 ]) P  X, I) @, s# G& ~
  1298. ; persistent connections will be maintained forever.: P2 v' u; S3 a" ^* J2 Z" Z
  1299. ; http://php.net/oci8.persistent-timeout5 h) f9 m  F2 n/ _! v
  1300. ;oci8.persistent_timeout = -1
    6 k8 f, C0 u- |1 Q0 j7 m3 u6 c; K

  1301. ) a8 `( V( M; I: t8 O8 x7 F" o
  1302. ; Connection: The number of seconds that must pass before issuing a
    % I& \  G9 R  r
  1303. ; ping during oci_pconnect() to check the connection validity. When
    - w0 Y+ M& r  x, N9 K; l
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables; [# e" C, j9 C
  1305. ; pings completely.
    / e$ P$ _! @) f- L0 ?* k( ]6 o+ n
  1306. ; http://php.net/oci8.ping-interval# g: a# c; C$ h0 [
  1307. ;oci8.ping_interval = 60
    9 ^& S$ C4 ~7 h5 A( I' I2 W
  1308. 6 l& x, C6 @( ?( H9 |
  1309. ; Connection: Set this to a user chosen connection class to be used, p$ O$ d0 K+ ]/ x. W8 s% ]( k+ z3 o/ J
  1310. ; for all pooled server requests with Oracle 11g Database Resident! C8 |5 E  b4 Y5 Q
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to- G! k8 w* t$ L; z' o
  1312. ; the same string for all web servers running the same application,
    $ j  O$ p7 z5 u+ c  \* v0 M2 g
  1313. ; the database pool must be configured, and the connection string must
    0 `& [, ~3 L) `$ ?7 S: {
  1314. ; specify to use a pooled server.
    . }: [% q6 T: I- E# o' @: U9 ]9 i
  1315. ;oci8.connection_class =
    + B9 I' J8 V7 f3 `9 X; f

  1316. 5 }' c2 n  x/ i3 g; z% E$ U5 Z
  1317. ; High Availability: Using On lets PHP receive Fast Application5 {& \7 k: y+ @. a5 _. l( H
  1318. ; Notification (FAN) events generated when a database node fails. The
    4 c8 n. C. |5 d7 Q
  1319. ; database must also be configured to post FAN events.
    3 ?. n1 w; {8 v9 d+ _. a; e6 q
  1320. ;oci8.events = Off
    - ^. |# \5 N/ i% @

  1321. 1 }3 N/ d2 }7 q# y
  1322. ; Tuning: This option enables statement caching, and specifies how
    : v& T4 K. j+ v$ z" m5 \+ o$ ^
  1323. ; many statements to cache. Using 0 disables statement caching.
    . F( d; o& p$ H+ [. J7 J6 q
  1324. ; http://php.net/oci8.statement-cache-size
    ! q3 z/ c3 o- f
  1325. ;oci8.statement_cache_size = 205 Y6 _6 L  k- Z' E8 |
  1326. ; l6 \. a% p# A: ~2 _
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    % @# D8 E  u3 b# Q. }. p% W5 w* ?
  1328. ; rows that will be fetched automatically after statement execution.  J0 H1 |& @- j+ y
  1329. ; http://php.net/oci8.default-prefetch
    ) ^; `2 `! I1 c& ]& [
  1330. ;oci8.default_prefetch = 100" Q. g# h2 j( t5 L( c

  1331. , s4 Y, l3 b# w: U, y/ J* l+ h
  1332. ; Compatibility. Using On means oci_close() will not close% Y: e0 F; z& w! L5 `
  1333. ; oci_connect() and oci_new_connect() connections.
    ( o+ Z& {( L$ a( P& h! n
  1334. ; http://php.net/oci8.old-oci-close-semantics
    9 W4 i9 m1 \8 U+ d
  1335. ;oci8.old_oci_close_semantics = Off
    & y1 c$ t5 |: N6 {

  1336. . U7 |9 K. C% B$ m) u+ A
  1337. [PostgreSQL]+ [2 g. a/ D; {3 m
  1338. ; Allow or prevent persistent links.
    % u' n! U! X# X8 ~8 w' }
  1339. ; http://php.net/pgsql.allow-persistent
    / e/ `) A! e( J+ b6 x! _5 p
  1340. pgsql.allow_persistent = On: @! S2 W5 s. C  y5 A/ L9 E

  1341. ' S5 g/ z3 M( r
  1342. ; Detect broken persistent links always with pg_pconnect().
    # G8 i% B/ @) M6 ]5 W
  1343. ; Auto reset feature requires a little overheads.
    2 M+ r( U( A0 ]5 |0 y
  1344. ; http://php.net/pgsql.auto-reset-persistent' L: s1 l+ O0 y7 J
  1345. pgsql.auto_reset_persistent = Off
    5 ~  h# m0 F  {" m' q8 ?7 N8 x+ m
  1346. $ Y$ M6 m3 v( B0 J; W/ {
  1347. ; Maximum number of persistent links.  -1 means no limit.6 [8 G9 x% \, E6 Q5 I$ x9 C. H) z
  1348. ; http://php.net/pgsql.max-persistent2 C5 W. ^% H, ?( ~; [
  1349. pgsql.max_persistent = -1
    # Z) k# o; _  I3 o/ L- H

  1350. 4 Z' g. R! X& E* R$ [
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.9 D! q# C; S% A
  1352. ; http://php.net/pgsql.max-links6 B' ?( D# H  h$ h; ^
  1353. pgsql.max_links = -1
    8 k# G* H' W" I( b, X7 m+ ^5 r

  1354. % b, _0 v1 v+ u
  1355. ; Ignore PostgreSQL backends Notice message or not.
    & _& O- v- z: r" I
  1356. ; Notice message logging require a little overheads.
    7 c0 d0 \% _- i0 ]5 S! o
  1357. ; http://php.net/pgsql.ignore-notice0 B5 }! V' t4 |* A; `* k
  1358. pgsql.ignore_notice = 0
    ; p# f4 {6 h/ @- h7 [

  1359. 1 T3 r& V- Q6 ?) M. g
  1360. ; Log PostgreSQL backends Notice message or not.
    ! _4 Z: A& w! a6 Z- ^$ }
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.
    # J$ c# r4 D5 \9 T3 Z
  1362. ; http://php.net/pgsql.log-notice
    ) F! ]; x; R7 W6 @* S
  1363. pgsql.log_notice = 08 @: ^2 [0 h. q
  1364. + S- i3 @9 {( _5 u! D
  1365. [Sybase-CT]
    7 d/ R1 F0 H; W: \& T1 D
  1366. ; Allow or prevent persistent links.
    * x, F4 E* M. [0 A$ o
  1367. ; http://php.net/sybct.allow-persistent
    + X( v  c/ O5 ~; o- S; T9 j
  1368. sybct.allow_persistent = On
    * H* }) c  @8 }. h

  1369. . N: [' A$ d3 @' f, u" P
  1370. ; Maximum number of persistent links.  -1 means no limit.; ^# L- s1 a. g. G  }- a. N( f
  1371. ; http://php.net/sybct.max-persistent( ~3 g# m' A. g1 q- d/ b
  1372. sybct.max_persistent = -1) w1 N" D1 l, Z- m; j* g. ^

  1373. 8 W5 S0 I0 V3 l/ l
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.  z* w2 F' }6 x+ p. [
  1375. ; http://php.net/sybct.max-links/ G3 H0 i6 O$ `5 F; P- Y
  1376. sybct.max_links = -1
    $ j( K( Y& ~4 }$ r2 o0 r5 A/ p
  1377. , p0 z6 E+ c+ ?
  1378. ; Minimum server message severity to display.
    1 B. i$ b8 Z% F. _+ q+ ^
  1379. ; http://php.net/sybct.min-server-severity1 w" I1 S; l2 B3 x
  1380. sybct.min_server_severity = 10
    " D9 d- V3 `9 v% t5 |

  1381. 3 P% w8 x+ ]6 o% Z2 T' G' L4 k
  1382. ; Minimum client message severity to display.6 ^6 l/ o" O* A" u* p# M+ u
  1383. ; http://php.net/sybct.min-client-severity2 w# f, \" R. I# S
  1384. sybct.min_client_severity = 100 a# I# x& N1 v. x3 T/ x6 R' Z* {: A

  1385. ! D: T8 e* E- }- X6 a
  1386. ; Set per-context timeout
    " b" V5 u3 a7 k' w# n
  1387. ; http://php.net/sybct.timeout
    . }. w& W! U/ v6 A; i, @" m
  1388. ;sybct.timeout=. {8 _6 ~! @% Y) q( y1 k+ l2 O
  1389. # M  ~! V2 I( z; V) A
  1390. ;sybct.packet_size& g: [% V9 l1 g+ @
  1391. # L) x  r' ~" J
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    0 p6 @( f  P! F' w
  1393. ; Default: one minute+ P- O6 |; Z4 k) C
  1394. ;sybct.login_timeout=
    - w' i: L* _) F

  1395.   e  u) t" t( Y2 r# \) i5 E# C
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    4 \  J! C1 S* G& [( D. x0 a" L
  1397. ; Default: none. D' p- D2 o- ?9 B/ b. d+ S6 r
  1398. ;sybct.hostname=8 ~2 j, g. I# c3 a" K1 k* D) B

  1399. + D8 u0 y$ p, A0 F! C; |0 ~
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    : ~: M1 ?; k- _- V6 g* m. j
  1401. ; Default: 0$ Z% y0 O; t2 [6 S% U. b! O
  1402. ;sybct.deadlock_retry_count=% D) _5 `8 y+ E5 J

  1403. + b# |; j" k& ?/ ~% E5 _
  1404. [bcmath]
    / q* }, u: f) @8 [- [$ F
  1405. ; Number of decimal digits for all bcmath functions.
    " {- B3 {# S$ K; M7 Q1 R3 H
  1406. ; http://php.net/bcmath.scale* \) f! T6 C; g  j
  1407. bcmath.scale = 0
    & y+ S, f, L- e' i/ E
  1408. 0 \7 K5 ]5 e. R! S
  1409. [browscap]
    : ?: _& N5 N  s" h- ?
  1410. ; http://php.net/browscap
    $ h5 X  n4 Z" f/ D" z
  1411. ;browscap = extra/browscap.ini
    & s' m2 e% H: w& ?

  1412. + W9 R; V: E! ?# `7 v
  1413. [Session]- v( l) W' n( N- X) l
  1414. ; Handler used to store/retrieve data.
    ) \5 Z; Q8 n/ ^# r+ R! c
  1415. ; http://php.net/session.save-handler" {" ?* }$ |1 Z
  1416. session.save_handler = files3 v, v! W0 T4 w  j- t$ C

  1417. % ~8 o4 m/ T% X( E7 V
  1418. ; Argument passed to save_handler.  In the case of files, this is the path
    / t, b. a4 ]7 k# Y% ^
  1419. ; where data files are stored. Note: Windows users have to change this0 l) F' L( A1 \
  1420. ; variable in order to use PHP's session functions.
    ) q9 S/ a' Z% h) J: g4 t& s
  1421. ;! F: i- h- ]4 b: F
  1422. ; The path can be defined as:
    / u* ^, L1 ]* ?  Q. x1 W. H: ^
  1423. ;
    4 g* d7 x# |: ^* w; Q8 c
  1424. ;     session.save_path = "N;/path"
    3 ]- X' \7 c; {1 E7 h* x' o" [0 W$ M
  1425. ;/ w7 f# F! Y7 M' O7 o# F3 }% j
  1426. ; where N is an integer.  Instead of storing all the session files in
    / E) Z6 ?6 t+ b5 {
  1427. ; /path, what this will do is use subdirectories N-levels deep, and/ i* a0 w8 h! K  b
  1428. ; store the session data in those directories.  This is useful if# U8 z0 Y% }9 ^7 X0 L
  1429. ; your OS has problems with many files in one directory, and is. U4 {- |/ k3 i8 u/ S$ ]/ ?
  1430. ; a more efficient layout for servers that handle many sessions.0 i+ l3 d. K3 a, d5 j+ J
  1431. ;
    + R2 |8 {5 k* k" M
  1432. ; NOTE 1: PHP will not create this directory structure automatically.
    5 C$ e1 \5 p& K) u) x) B' ]
  1433. ;         You can use the script in the ext/session dir for that purpose." H- M+ b6 D: W/ K% R$ M! B! q
  1434. ; NOTE 2: See the section on garbage collection below if you choose to0 b; O( K! u5 s/ a8 C9 v" s
  1435. ;         use subdirectories for session storage$ j. P# Z4 s; f( S5 z1 Z
  1436. ;
    $ I2 o% t( r# z& ^4 X* H' D7 g: e
  1437. ; The file storage module creates files using mode 600 by default.
    ! g+ _3 R4 l% k' |2 Y* C* F" i
  1438. ; You can change that by using% ]% F3 U; l, A$ r2 p7 X
  1439. ;- R" _. M# h& U  n3 d- r. f
  1440. ;     session.save_path = "N;MODE;/path"
    9 s$ B6 {. I6 G0 o
  1441. ;2 S' J( l) k+ Z/ e- J
  1442. ; where MODE is the octal representation of the mode. Note that this$ h. t0 B% K: ^0 O+ F
  1443. ; does not overwrite the process's umask.
    % @% P8 j+ j7 N1 n5 Q2 F: Y( Y
  1444. ; http://php.net/session.save-path' W( y( v  N# m
  1445. ;session.save_path = "/tmp"
    6 e* t! V. r: ^+ U

  1446. 4 W9 d0 E4 }0 b% k: a/ k
  1447. ; Whether to use strict session mode.
    ( F0 ]. _( N- k( X+ g6 O& s  p/ A
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate, j! f( s3 E% }
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    - k: [( ?9 ^# K8 ~' R
  1450. ; applications from session fixation via session adoption vulnerability. It is1 k3 }8 [$ B1 c8 D/ j
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    ' |1 {. n" r; P1 }7 V) N0 X* h" Y
  1452. ; https://wiki.php.net/rfc/strict_sessions
    , [$ ~# `6 e2 H, J' Q
  1453. session.use_strict_mode = 06 `9 H' |' R/ _
  1454.   n+ M% {4 Q1 h" S+ j2 g' o
  1455. ; Whether to use cookies.- o0 W$ w5 h$ l! k& y
  1456. ; http://php.net/session.use-cookies
    # l. E/ G: g+ N: Y/ ?" C( o
  1457. session.use_cookies = 18 G- y, m7 d7 u; ~8 w7 L
  1458. " `! v0 w; x) h# D5 t0 ]; N
  1459. ; http://php.net/session.cookie-secure! n$ t- f+ A2 j
  1460. ;session.cookie_secure =
    : H+ ~! @- S6 t, A& X: E+ g4 l
  1461. ; u: b; j2 ]4 A' w( F
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining
    * ^0 f8 A" A6 F" N: ]) h
  1463. ; the session id. We encourage this operation as it's very helpful in combating! o; ~$ f3 Y" u, }( j
  1464. ; session hijacking when not specifying and managing your own session id. It is8 |- k; s' h& M& q" Z
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    0 A% E2 c' b$ ~5 @+ w0 a7 S, B
  1466. ; http://php.net/session.use-only-cookies) q9 ~0 t- X, o: y
  1467. session.use_only_cookies = 1
    2 B! o5 b4 S/ F4 i
  1468. + M+ I( A" ?0 r$ {/ C0 B  @
  1469. ; Name of the session (used as cookie name).
    3 o7 E8 t9 Z. W, s; [7 t% D2 U
  1470. ; http://php.net/session.name
    ) ^0 R" D* C5 T( _
  1471. session.name = PHPSESSID4 E* \# V" F  G7 ^+ z+ N8 [/ x

  1472. 6 j7 z# P; v' n) D$ R1 U
  1473. ; Initialize session on request startup." d! f/ g. f+ Z* M7 X+ ?- ?
  1474. ; http://php.net/session.auto-start, _" E  V% C& u4 j- @
  1475. session.auto_start = 0
    1 \8 H& D7 |" c9 G( Z2 _0 v

  1476. # R0 I6 x) q. u* F8 F
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.3 }' ]$ F6 {2 Z2 j& U/ O$ f
  1478. ; http://php.net/session.cookie-lifetime
    : i0 q# m" y) T  n/ t
  1479. session.cookie_lifetime = 0
    . v" k! H4 B  e/ w

  1480. % \$ p- l# r0 c0 p: c+ j
  1481. ; The path for which the cookie is valid.* C2 D3 T! m+ O! O$ t
  1482. ; http://php.net/session.cookie-path, j" m' m, k. L* k
  1483. session.cookie_path = /
    ; b& |7 q2 f8 ^* M7 E5 ?# y

  1484. 2 j! W3 \2 t  V+ B1 L0 [
  1485. ; The domain for which the cookie is valid.
    : o( s' \7 i8 g9 ?- b5 c8 I) [
  1486. ; http://php.net/session.cookie-domain
    . M, I7 L) p3 E2 _3 i
  1487. session.cookie_domain =
      o7 f6 X% f: Q

  1488. & n" O. Q7 C; N# R. V, k# L5 }
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.5 A- D$ f  \" B
  1490. ; http://php.net/session.cookie-httponly
    / K2 |7 P) v$ w# W6 j3 h
  1491. session.cookie_httponly =
    * a: A/ k0 r% O0 X! j( o
  1492. 0 @1 @" |. m. e
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.
    1 x( W/ B% z: n& p5 j0 [
  1494. ; http://php.net/session.serialize-handler
    & ^  h9 F. J3 W9 p
  1495. session.serialize_handler = php
    ! t" S: X: b+ i. `" D$ L
  1496. 0 H/ }% y/ P9 n& J4 v& R
  1497. ; Defines the probability that the 'garbage collection' process is started( Y/ f3 g3 Y3 c5 e3 |: X
  1498. ; on every session initialization. The probability is calculated by using" T! O3 R( Q7 q0 O; t7 V
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    * U1 L" L6 W$ O8 g# h9 p
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1
    - V) h) B2 r& a. A; k5 k5 w
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance) [; t$ n" m. {$ z3 ~3 X5 K+ M
  1502. ; the gc will run on any give request.
    9 a% L: f. y4 y1 @; r& m
  1503. ; Default Value: 1
    / a9 C0 {+ Q! x* |6 Y0 U$ d; I) P& m
  1504. ; Development Value: 1+ l  R) e4 w3 L2 N( \
  1505. ; Production Value: 1/ I7 A. U3 }0 g: G3 Y; P
  1506. ; http://php.net/session.gc-probability
    % X. s* a' V; y) c. }* v- ^2 r
  1507. session.gc_probability = 1
    8 D+ e: p* ]3 y

  1508. 1 K; Q+ E% J% N" R. T
  1509. ; Defines the probability that the 'garbage collection' process is started on every
    & j4 `6 C% _, f
  1510. ; session initialization. The probability is calculated by using the following equation:3 o. I# T1 a( ~3 u
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    7 t' i$ Z! @4 A+ L  a0 Y
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    7 D  m$ u( q# w5 L5 X5 w
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance3 p0 ]: b: a6 j- p. j$ l: ~: C
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you
    0 z6 R- Y3 G* V& O) l& {; x
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,
    6 A0 g$ d8 }" m  [$ P
  1516. ; this is a more efficient approach.0 I  u# X" n& n, P( _3 L
  1517. ; Default Value: 100
    4 A6 D5 k) M/ c2 Z( ^! n6 u+ Q$ G% a
  1518. ; Development Value: 1000
    . W) D" y& z% {; P% B
  1519. ; Production Value: 1000
    # w5 I% h- W4 p. i# P
  1520. ; http://php.net/session.gc-divisor% c# t8 Y* p9 _. r$ a
  1521. session.gc_divisor = 10002 f, L4 d' {# b, k
  1522. 7 B$ j$ K2 m: W6 P
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and) _& T/ j; K7 D* D
  1524. ; cleaned up by the garbage collection process.
    0 |$ R: l. o$ E/ g
  1525. ; http://php.net/session.gc-maxlifetime
    & K! b2 Z. j1 T
  1526. session.gc_maxlifetime = 1440& y9 N1 A3 j; |& I  y$ _3 `1 G

  1527. + Z6 j& h9 G1 w; ?7 E
  1528. ; NOTE: If you are using the subdirectory option for storing session files5 M, C: u6 m& s9 {9 W  z
  1529. ;       (see session.save_path above), then garbage collection does *not*
    ( U: d$ @# I* }& C
  1530. ;       happen automatically.  You will need to do your own garbage. a% H2 a4 J) g2 u$ s# c. j
  1531. ;       collection through a shell script, cron entry, or some other method.
    $ ?# j0 }  r. Y1 {% g; B
  1532. ;       For example, the following script would is the equivalent of+ q6 G0 u. E( b# Z' r
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    - R1 F) ]  Z5 Y- ~7 w4 n
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    ) q  r6 ^7 j7 n. d
  1535. $ w) \( m) h4 p: V) ^
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    * \; O3 i4 b- E
  1537. ; HTTP_REFERER has to contain this substring for the session to be
    1 J2 a( ~. ?; s. B4 o# ~$ x: t
  1538. ; considered as valid.
    ( t* H# ~  u' S; @
  1539. ; http://php.net/session.referer-check
    , d5 s8 `( ?- l& r, |
  1540. session.referer_check =) _- g/ o! y& T3 F# G" {

  1541. ' r. p8 W0 @& ]3 y' X  ?
  1542. ; How many bytes to read from the file.2 @, F, z$ W  y: E, a9 h
  1543. ; http://php.net/session.entropy-length
    . U- O( v/ c9 u4 O
  1544. ;session.entropy_length = 32: p' x* o7 @" Y' \/ C

  1545. 0 @9 r0 W2 z; `  g! V
  1546. ; Specified here to create the session id.# Z% h3 j* e- t) u0 H
  1547. ; http://php.net/session.entropy-file! A% ]6 o: h" b/ G) h
  1548. ; Defaults to /dev/urandom
    9 |' S+ Q  B2 m
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom6 P$ g. V( ^' E( l- J
  1550. ; If neither are found at compile time, the default is no entropy file.
    9 v' X% a% u5 B. U% w( X! t9 g
  1551. ; On windows, setting the entropy_length setting will activate the
    * y* B/ |. d/ p1 W# ?/ b! c
  1552. ; Windows random source (using the CryptoAPI)
    6 j& q" B. L" }. X# w
  1553. ;session.entropy_file = /dev/urandom
    + J2 }9 A5 K0 {6 G

  1554. / g+ L. Q) h$ A. `- k
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects  K% l" ~1 ?& e! @) ]1 z
  1556. ; or leave this empty to avoid sending anti-caching headers.6 s1 l2 V: k3 Y* d
  1557. ; http://php.net/session.cache-limiter2 m- s8 `2 O  H3 r) E/ A
  1558. session.cache_limiter = nocache
    8 y$ L4 z* I/ L+ x! X; c5 s( B

  1559. # f: n/ J0 F" @
  1560. ; Document expires after n minutes.+ I" l4 i1 y, h
  1561. ; http://php.net/session.cache-expire
    : U$ \9 S2 f. u3 {; A9 h& ~
  1562. session.cache_expire = 1805 z, m3 i- d) I7 w  a0 [

  1563. 0 L: Y, x+ m( a+ Z( Y% A+ n  D  _
  1564. ; trans sid support is disabled by default.
    ( |. X, M5 k' z) D' F! Q9 ~
  1565. ; Use of trans sid may risk your users' security." ]) F" S. _/ y
  1566. ; Use this option with caution.
      Q; Q/ I$ c* p0 U5 l" w
  1567. ; - User may send URL contains active session ID% X' Q! f& L3 u
  1568. ;   to other person via. email/irc/etc.* u' a/ Q! t3 o  N; v
  1569. ; - URL that contains active session ID may be stored
    * C* w: H% V$ L0 X7 o3 v
  1570. ;   in publicly accessible computer.
    ( I: L. t; h3 v; r  v: j
  1571. ; - User may access your site with the same session ID
    $ @6 j  G& C, P: e9 p
  1572. ;   always using URL stored in browser's history or bookmarks.- e1 W- u; |- B" _
  1573. ; http://php.net/session.use-trans-sid
    : b) d6 q+ B# p( f
  1574. session.use_trans_sid = 0+ B# }! s( I$ \3 y- A# F, Z
  1575. 0 T- n5 Y, R! R, v% z0 z
  1576. ; Select a hash function for use in generating session ids." L6 c9 J" ^2 W- V! G
  1577. ; Possible Values
    ( f: e. T) }- O( H, \* @1 n
  1578. ;   0  (MD5 128 bits)& M: ?' s0 ~3 \6 _, X
  1579. ;   1  (SHA-1 160 bits)9 ~5 ?* R' m) `, X% }& I$ v' t
  1580. ; This option may also be set to the name of any hash function supported by2 N  \) Z$ A4 u0 G- w& ?6 V
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()6 w/ ]# X5 k. T& F5 K% k0 n2 j6 B
  1582. ; function.
    - |3 N8 `7 a# p- y" I
  1583. ; http://php.net/session.hash-function
    + d0 l5 t) Y/ s$ g3 v! k$ P
  1584. session.hash_function = 0
    4 A' ^* u. m( W) k  S# A, I$ L% }

  1585. ' o: x* U4 w/ r  N: I
  1586. ; Define how many bits are stored in each character when converting
    ' Y5 Z% {6 T+ R  a* v) b
  1587. ; the binary hash data to something readable.# R9 e* A; z2 v. p- A5 H5 U$ s
  1588. ; Possible values:
    : D  k3 `9 a2 n  g0 W* J
  1589. ;   4  (4 bits: 0-9, a-f)
    : t' V' V7 g' F: O
  1590. ;   5  (5 bits: 0-9, a-v): E4 Q. w$ C$ u3 `& ^
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")$ y- Y$ z6 i2 e
  1592. ; Default Value: 4
    7 _- Z; {$ |. o' R6 V
  1593. ; Development Value: 57 t8 G. b( s' x2 N& Y- j
  1594. ; Production Value: 5
    % |# I" y' `# l: R7 c9 r3 x- W. v- {
  1595. ; http://php.net/session.hash-bits-per-character
    # j. o  X6 X6 j% u) j+ ?7 g
  1596. session.hash_bits_per_character = 5
    : a5 k- F0 V) I8 L, K2 u
  1597. ! c; X: p3 ?+ }1 s7 M6 g
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.+ c$ [8 l; Q* K0 U, S9 U; M
  1599. ; form/fieldset are special; if you include them here, the rewriter will! D1 ]: J$ G  D  D; v( T* x8 u6 Z
  1600. ; add a hidden <input> field with the info which is otherwise appended
    + |, W6 q- M" W: U1 `. m) e3 x) h( B
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.
    2 n& v) ~3 j" [" E. r% g
  1602. ; Note that all valid entries require a "=", even if no value follows.
    / X) @9 z# n1 A4 |
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    , l- g' }  d* N, f6 C* p
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"! u, p- v  u5 o% H" ?
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"* h  G% ~8 q$ Q, e8 f0 W
  1606. ; http://php.net/url-rewriter.tags
    : j2 J% N0 t5 z" Q, Q2 i2 F
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"2 P0 z) {6 R, n$ R$ `+ z* i

  1608. " X6 c/ O- @, r7 m8 t1 J
  1609. ; Enable upload progress tracking in $_SESSION/ ~, X  D5 ~0 N: d; {- o1 r( d
  1610. ; Default Value: On
    * l6 ]. c: W1 P
  1611. ; Development Value: On
    8 D7 Y4 N: ~% ?6 z. w( u( A
  1612. ; Production Value: On; b$ @3 G  N+ J3 z
  1613. ; http://php.net/session.upload-progress.enabled- @, u  q" E% l5 t' f
  1614. ;session.upload_progress.enabled = On# U2 B3 U; D# k* t' w
  1615. 9 u, Z, Z/ p! {2 Q4 x0 l
  1616. ; Cleanup the progress information as soon as all POST data has been read
    " }- q# [8 a7 N) n9 n: J
  1617. ; (i.e. upload completed).# `# E& f% \! s$ w3 V; K! ]
  1618. ; Default Value: On" |, n0 K$ b$ x- |4 T2 Y% A
  1619. ; Development Value: On
    6 b; r2 }% O9 a. [
  1620. ; Production Value: On
    ( f0 k$ }; s* F( L) h% B
  1621. ; http://php.net/session.upload-progress.cleanup
    $ w' Z! d& n9 C# ]# {* |
  1622. ;session.upload_progress.cleanup = On
    3 G; ]0 i9 x8 K  ^. _: |! _; A7 G( x

  1623. & L8 X, ^: H* m% J$ l5 v8 f) P
  1624. ; A prefix used for the upload progress key in $_SESSION! a" `4 C& `" _! P2 T8 y5 R
  1625. ; Default Value: "upload_progress_"% u7 w8 q8 A1 i$ i! H  l6 d; ^
  1626. ; Development Value: "upload_progress_"& M, M. g9 d) F3 j/ k
  1627. ; Production Value: "upload_progress_"
    ' m# C+ v' N7 m- r  a
  1628. ; http://php.net/session.upload-progress.prefix
    ) z$ ?) c6 ]4 C8 X! |
  1629. ;session.upload_progress.prefix = "upload_progress_"
    1 y: f+ a9 _6 a0 W" U
  1630. 9 t3 Z0 ~9 y! C+ x$ ^3 j
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    9 G/ `% v& D% [* G: N( n
  1632. ; containing the upload progress information
    3 E( g5 a9 B( d1 c2 J$ c: t( S
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"+ |3 [9 O% G! F. h
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"$ N4 H! n+ S& K
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    * W5 T) W2 x3 ?2 L/ {; G9 w2 h
  1636. ; http://php.net/session.upload-progress.name
    1 y0 Z2 ^) M0 x) d& ]
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    & h5 H0 [( D' C, P3 ^( I

  1638. 6 R1 c  `3 F, X
  1639. ; How frequently the upload progress should be updated.& t! A+ w9 `. [, D1 ?/ _
  1640. ; Given either in percentages (per-file), or in bytes
    . ~9 Q6 ]# m" ^
  1641. ; Default Value: "1%". h; F/ F) b& J
  1642. ; Development Value: "1%"
    . D- n! ?! a4 p
  1643. ; Production Value: "1%"
    & {' M. y( \2 H6 z1 l; ~! C
  1644. ; http://php.net/session.upload-progress.freq
    4 V. l. n- \9 M& A8 G" ~( r9 V
  1645. ;session.upload_progress.freq =  "1%"
    & |. V  `' d( V/ x5 f5 Z& q, _
  1646. 2 s& f5 z! u. _! [9 z" _# @
  1647. ; The minimum delay between updates, in seconds
    : a# S% t* B; Q5 O
  1648. ; Default Value: 1
    ! h6 Q0 Q+ v% v3 V: Z
  1649. ; Development Value: 1
      {+ y3 c* ~( z, K
  1650. ; Production Value: 1
    * Y* z. R" |) M: ~3 P0 R" i
  1651. ; http://php.net/session.upload-progress.min-freq7 {9 j% R! {3 w: j& s# a; e! e! A
  1652. ;session.upload_progress.min_freq = "1"0 z2 `5 }+ _( i7 `+ g1 z% L

  1653. 7 q6 Y$ c1 D6 E9 x3 x$ s) s! H
  1654. [MSSQL]* ^6 C+ r% o& r6 M) ^
  1655. ; Allow or prevent persistent links.
    $ d0 \( O- [5 Z3 V
  1656. mssql.allow_persistent = On
    " l' D& v, P+ P$ q9 C

  1657. 4 C5 ^) c0 J3 I; Q) @& R" x
  1658. ; Maximum number of persistent links.  -1 means no limit.
    % T; A: |$ e) h8 h! |5 {
  1659. mssql.max_persistent = -1
    ' z1 ]. d' O1 H* F

  1660. 0 s( x% Z" l1 Q: e; ^
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.' s& B  q/ G  e4 T% P0 @8 o5 m0 x
  1662. mssql.max_links = -1
    ; Z5 K/ Z& Q9 {1 s1 [0 R
  1663. 2 g0 {3 @5 V/ z+ m2 @! R" e
  1664. ; Minimum error severity to display., a) T/ t) _' {* a, n2 H6 s
  1665. mssql.min_error_severity = 10
    , U( Z: z$ U& m! w5 _( p
  1666. 2 g: v% S2 r- @
  1667. ; Minimum message severity to display.7 Y  r5 a' Q% K. ~1 i9 ~+ \6 }' N
  1668. mssql.min_message_severity = 10  r% |, `$ |4 r3 a! k9 D
  1669. 3 g! a7 Q0 ~# r" u- m+ P4 T2 h" J5 D
  1670. ; Compatibility mode with old versions of PHP 3.0.
    8 K0 A+ Y5 O% T" r+ u2 c, Q  U& Z
  1671. mssql.compatibility_mode = Off4 h  i* e# s. y1 x$ Y

  1672. ' j: N# e9 I& J# J4 k, S
  1673. ; Connect timeout
    0 |. H# H, q( Z/ \2 z% T
  1674. ;mssql.connect_timeout = 5
    + H6 H% l, Q# x8 Y' [

  1675. 9 {7 J, \  c  S) l% d. ?
  1676. ; Query timeout
    ' k" Q2 {/ b$ `. K# W' b& m, D8 ]
  1677. ;mssql.timeout = 60
    % `$ ^3 z. P% {$ R$ W& Q: H$ w

  1678. # i) o" z. G+ i6 ^$ b( X' _4 ~
  1679. ; Valid range 0 - 2147483647.  Default = 4096.- I% A9 Q( W5 {9 Z9 |; A
  1680. ;mssql.textlimit = 4096
    ' j8 Q  ?0 U& c+ X$ f# {$ G

  1681. 3 @! Y# }& L% q- D; r
  1682. ; Valid range 0 - 2147483647.  Default = 4096.: l7 S0 h. }0 C, j4 u2 ]
  1683. ;mssql.textsize = 40968 m0 A6 w% j% G0 z( s# l% t4 R

  1684. + O+ O' n7 S4 I# u0 d! G: s
  1685. ; Limits the number of records in each batch.  0 = all records in one batch.& t2 V4 @( G% o
  1686. ;mssql.batchsize = 0
    & N; @8 o: B9 O9 P+ H# y, Y

  1687. ( W' ~8 m% ]! @' Z
  1688. ; Specify how datetime and datetim4 columns are returned& P8 C: N1 K: ?" v' S. j3 `, d
  1689. ; On => Returns data converted to SQL server settings' j# S& T' J- ~! ?0 G* @1 |# h
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    . r" }( m. W( f  v1 V% B
  1691. ;mssql.datetimeconvert = On3 a0 z1 n9 p/ l8 z

  1692. 5 }# V3 ], R) W. K& m" F- I9 Z; Z5 A
  1693. ; Use NT authentication when connecting to the server# N% j; d! R( ~
  1694. mssql.secure_connection = Off
    0 b/ h% I4 ^, s. J  s8 f9 r

  1695. ( A  T7 X6 X9 Y+ e7 F; d% W' r" _
  1696. ; Specify max number of processes. -1 = library default
    , B- u1 `9 W0 S$ W4 e
  1697. ; msdlib defaults to 25. U' j! ~: ^$ W
  1698. ; FreeTDS defaults to 40963 S1 A' o6 T" a+ p' R6 V! C+ G
  1699. ;mssql.max_procs = -1; s: Z) _. g3 H2 }" @" ]! ?! r2 \
  1700. 5 O# g& C7 G+ O7 [7 x4 D
  1701. ; Specify client character set.# b4 ], ~. v: ]1 @1 S) \
  1702. ; If empty or not set the client charset from freetds.conf is used
    $ r7 p4 G6 j& L: G2 D% i# W
  1703. ; This is only used when compiled with FreeTDS
    5 Z: R# v1 X# e" o! R) y. b
  1704. ;mssql.charset = "ISO-8859-1"
    3 ^- D) b/ }& N2 c8 Z# Z5 K* e) p4 M

  1705. / n+ [) F' q# p# N# {4 W, h
  1706. [Assertion]+ d/ [' x1 v# M1 ^
  1707. ; Assert(expr); active by default.
    4 M# S, ^$ }8 l8 W; m7 I, w
  1708. ; http://php.net/assert.active1 D1 C2 F" X3 N8 y& n
  1709. ;assert.active = On- m( h  v0 a) I: X5 Y
  1710. 8 `, ]- z( B# m0 V  U4 o/ S
  1711. ; Issue a PHP warning for each failed assertion.
    4 }+ X" P; F3 b7 h  q
  1712. ; http://php.net/assert.warning" @, J/ [/ r3 p% {
  1713. ;assert.warning = On
    3 N( N: y6 v& ~6 y& e

  1714. ( y5 \& U: ?% ]: C' a0 Z
  1715. ; Don't bail out by default.9 \! _) N. r8 d. T0 N* ]0 F
  1716. ; http://php.net/assert.bail7 n) w/ |; M+ r7 R
  1717. ;assert.bail = Off& A! A7 X! J4 O+ m2 M4 h+ A0 U: Y

  1718. % w- h+ x) ?1 E0 i- K6 H6 A
  1719. ; User-function to be called if an assertion fails.
    / F9 ]/ X- ]2 H+ E2 p( w" h4 \
  1720. ; http://php.net/assert.callback" z2 ]5 \0 t# p) {
  1721. ;assert.callback = 07 S7 ]' C6 ?+ p
  1722. - I/ f4 k& _# H  a4 u. n
  1723. ; Eval the expression with current error_reporting().  Set to true if you want
    1 |( H1 e1 G% h- X/ m* u
  1724. ; error_reporting(0) around the eval().
    % v! ^  M# l+ T. D& e" V# f
  1725. ; http://php.net/assert.quiet-eval
    1 P( V# \+ i! B8 i
  1726. ;assert.quiet_eval = 0
    # z, y, s4 S. H  T/ J/ `

  1727. ; \  f) m2 K/ R
  1728. [COM]) j: t" j  T) {2 ^0 A. h+ W7 w- W6 R
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs0 p0 Y+ W4 Z8 K1 j$ ?
  1730. ; http://php.net/com.typelib-file& }- J# Q3 e# c. _& d0 v
  1731. ;com.typelib_file =
    " d8 D3 z0 S% _, a

  1732. - {2 r$ f0 g; a
  1733. ; allow Distributed-COM calls
    % Y  s, L4 J; d" y" O
  1734. ; http://php.net/com.allow-dcom
    ; Y! @1 ?; G/ P% z& d+ e
  1735. ;com.allow_dcom = true" x  A  ^/ G4 n1 D+ ~, Z

  1736. . G0 |) c) ]( z- n2 S, ^
  1737. ; autoregister constants of a components typlib on com_load()
    7 g6 |! L( k. m. |& ?% G: `! J
  1738. ; http://php.net/com.autoregister-typelib
    6 N! C5 T9 ~7 T6 M3 V
  1739. ;com.autoregister_typelib = true
    - w- \, P! @; h+ c) h& i

  1740. 7 Y/ y. V) l% G  Y
  1741. ; register constants casesensitive
    - q/ t( a- c0 t% U+ j  ~8 M
  1742. ; http://php.net/com.autoregister-casesensitive
    9 N4 C2 f! u. M  {- {( ~
  1743. ;com.autoregister_casesensitive = false
    8 e' [; b+ p# n* z4 g9 i

  1744. 5 K6 [* Q( V$ x4 y% Y
  1745. ; show warnings on duplicate constant registrations4 X* r% |' t+ p1 |
  1746. ; http://php.net/com.autoregister-verbose
    + t" E6 q, e3 E- N; c% P, ~, [
  1747. ;com.autoregister_verbose = true1 ?; g4 i$ A) q
  1748. 6 U' A' s! Y! |) v" I
  1749. ; The default character set code-page to use when passing strings to and from COM objects." O9 r2 l$ h! z: m
  1750. ; Default: system ANSI code page
    & k9 ?- W7 ]# {& q
  1751. ;com.code_page=
    5 @5 o" F' ~( E  b+ r
  1752. ! x& Z% l5 h3 |* c. ]- H
  1753. [mbstring]! b' T) {4 R- a' D, T6 P
  1754. ; language for internal character representation.
    , U% D- f! Q  W# ~) @
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    ! W6 }& K: R7 }8 S
  1756. ; http://php.net/mbstring.language- a! ?! a. C/ S) y+ S* t9 H3 x( N
  1757. ;mbstring.language = Japanese' u/ Y3 {7 e7 W% D. K5 d$ z+ x
  1758. 2 \' t( J2 e6 g( d# O3 R
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    ) t; s/ u" d' J" i8 q, h" G
  1760. ; internal/script encoding.
    / f- C6 w! ]3 x
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)8 F/ r" R+ ~1 [" a1 Y9 v
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    : o; h4 _4 L2 _& r
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding' m% B0 N- C3 ~7 b9 c1 W' H0 L3 G
  1764. ;mbstring.internal_encoding =
    + P) D+ k" ]. k9 j* e. `
  1765. . T/ O( y. D) U! t, l
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.: R7 C' b* p7 f6 x. x% F3 P$ s
  1767. ; http input encoding.
    # r$ t2 H5 {; W4 Z& M4 O1 I: s( Q' A
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.% {$ j- y2 _; u3 b, u
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
      r* J" P" z3 h# x
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    6 A/ R$ ^" p0 V0 w
  1771. ; http://php.net/mbstring.http-input6 C; V% K: C6 Q6 B$ a9 v
  1772. ;mbstring.http_input =
    0 B7 w# x# A0 w' ?5 \* `. F  Z
  1773.   E& H2 [. x7 M
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead." A* u) [* K# D6 Q  V4 M0 R
  1775. ; http output encoding./ ~1 `! H! i% K2 }- E* y: M
  1776. ; mb_output_handler must be registered as output buffer to function.
    : c2 D1 V$ g$ l
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.! J" _$ t. `+ Z' n/ |, U: E
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output
    , b9 ~$ m4 A; L: [$ D& _5 ]
  1779. ; To use an output encoding conversion, mbstring's output handler must be set; t9 z; G) |/ I. A2 a) a
  1780. ; otherwise output encoding conversion cannot be performed., j  w9 b- Q( o& S
  1781. ; http://php.net/mbstring.http-output
    4 h5 a2 L4 p) e7 ]: s
  1782. ;mbstring.http_output =
    6 d% S2 \3 v' z2 b

  1783. % O5 ?/ l+ ^. U+ k
  1784. ; enable automatic encoding translation according to
    , R6 ]2 a* l( o" G
  1785. ; mbstring.internal_encoding setting. Input chars are
    3 X* s% @) N7 ^
  1786. ; converted to internal encoding by setting this to On.
    8 J$ V+ {" k& c+ h6 e
  1787. ; Note: Do _not_ use automatic encoding translation for
    6 f9 c! ], h: P7 N; v
  1788. ;       portable libs/applications.7 H3 C6 S% |6 t, R
  1789. ; http://php.net/mbstring.encoding-translation
    9 K9 @% o! K  _  [
  1790. ;mbstring.encoding_translation = Off
    0 U3 w5 G9 J' F$ j

  1791. ) t" Z; u9 ^* E* W, k. [* X% i
  1792. ; automatic encoding detection order.- S# `9 q( e/ ]/ ]- W1 i' ]
  1793. ; "auto" detect order is changed according to mbstring.language
    2 o" r, ~. c, E* ~( Q
  1794. ; http://php.net/mbstring.detect-order( I, K6 V4 T( L/ M
  1795. ;mbstring.detect_order = auto; ~* ^: [* ~. _/ h( A# ~3 N# q

  1796. & J) F. N8 M4 |  G+ A% Y
  1797. ; substitute_character used when character cannot be converted
    & l  n! v0 z8 x( I/ v! m
  1798. ; one from another
    ' R+ F8 ?$ N! j
  1799. ; http://php.net/mbstring.substitute-character
    6 _3 ~3 i+ b0 o
  1800. ;mbstring.substitute_character = none
      j5 z3 q0 v8 R
  1801. 8 u. h; o- l, c/ ~1 _$ q
  1802. ; overload(replace) single byte functions by mbstring functions.5 T" [3 b/ q9 \# V
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),# ?% K" K9 ?  U' ?
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.3 s: Z1 A& A  t# M' \, X
  1805. ; For example, 7 for overload everything.
    4 |1 ~9 ?) G6 m( p, [
  1806. ; 0: No overload  [% ]1 N. D% t
  1807. ; 1: Overload mail() function
    : j3 T% Q! f% |. E+ C- t6 k" V
  1808. ; 2: Overload str*() functions  h" ?( T8 \3 ~
  1809. ; 4: Overload ereg*() functions; A! j' Y: L2 ^6 h- v/ D
  1810. ; http://php.net/mbstring.func-overload9 C! o4 s) |  X0 E- I" d$ F5 S
  1811. ;mbstring.func_overload = 0
    1 @7 [: p* p- `

  1812. 4 z' [$ j9 n* x" B
  1813. ; enable strict encoding detection.7 U8 l) }. e! B# Q# J
  1814. ; Default: Off
    ' ~% `  ?- g6 N( R- q, s
  1815. ;mbstring.strict_detection = On* y/ {* g1 h' K2 ~0 |+ R
  1816. . V/ W9 \8 z: T, A
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler(). P/ F& V9 r; V* }% ]& d. l: G6 D
  1818. ; is activated.
    ! y7 d" @& l6 T7 X6 N( Z
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    . |. e$ y0 W; X$ [  [3 R
  1820. ;mbstring.http_output_conv_mimetype=9 I% y" Y6 w7 d! O2 w0 f4 J# H. V0 A

  1821. 9 `& m! Z0 e% \6 C; w1 p
  1822. [gd]# ?' M! e' F# ~3 f0 h6 F! K
  1823. ; Tell the jpeg decode to ignore warnings and try to create& k; a' `9 ~$ \2 z! u( I
  1824. ; a gd image. The warning will then be displayed as notices5 F. @& s3 B( F7 p/ P
  1825. ; disabled by default3 o5 f) `. {7 R6 {6 M9 {% ^
  1826. ; http://php.net/gd.jpeg-ignore-warning9 Y0 V9 b5 A3 S
  1827. ;gd.jpeg_ignore_warning = 00 {0 u2 v% g1 h4 ?
  1828. 0 W8 R( W1 B1 {- U3 ]
  1829. [exif]
    ) ^( |. s6 I! w! @" m. K8 Y
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    . K$ g; U; C- @9 {( k1 p
  1831. ; With mbstring support this will automatically be converted into the encoding& u/ G- Z# K4 }! l
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding  ^2 e" r( e1 I/ t
  1833. ; is used. For the decode settings you can distinguish between motorola and
    6 Q5 X$ I$ [1 K' z3 }6 q. u! v
  1834. ; intel byte order. A decode setting cannot be empty.
    ! o3 N2 s, ^, _5 H1 s7 o
  1835. ; http://php.net/exif.encode-unicode6 e7 u, l( h. ]4 m6 ~
  1836. ;exif.encode_unicode = ISO-8859-15+ R. g; [9 T! o% r1 c4 F% w) c0 C- z
  1837. 2 I. k7 e" d5 x' P1 E
  1838. ; http://php.net/exif.decode-unicode-motorola+ ~5 s) j* n7 w- c* U# ~6 R  {
  1839. ;exif.decode_unicode_motorola = UCS-2BE/ y3 D# m% x" Y% r

  1840. # S4 ?- O& f; c$ A1 m- V, ^: V3 p
  1841. ; http://php.net/exif.decode-unicode-intel8 t( _  a9 s- L* R6 Q
  1842. ;exif.decode_unicode_intel    = UCS-2LE
    9 i( M* V5 R! y) k! B" `6 d
  1843. ( w1 Q2 j& f5 {' @5 e9 ^- u' g0 y5 a
  1844. ; http://php.net/exif.encode-jis  T! p5 }  p* H7 D2 m, B* Q
  1845. ;exif.encode_jis =1 {& u' a9 q4 v! C  u4 P( P/ Z$ O

  1846. ( |" }8 {" ~" s3 @- o# d% O
  1847. ; http://php.net/exif.decode-jis-motorola
    5 r& t1 ]" s, U
  1848. ;exif.decode_jis_motorola = JIS
    ' w) O! I# u5 F

  1849. * U# F7 t0 W2 \
  1850. ; http://php.net/exif.decode-jis-intel
    8 y& W# X& P( F3 M
  1851. ;exif.decode_jis_intel    = JIS: q: Q0 e  X. T4 |- f. L/ d
  1852. 7 F5 W# p" _' V- N1 d* }
  1853. [Tidy]7 l) D! d. p2 a% B0 V0 j# q
  1854. ; The path to a default tidy configuration file to use when using tidy7 m1 b% h! \& P$ G
  1855. ; http://php.net/tidy.default-config" v+ {+ g4 z. P  \2 m0 {' q
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    ) A, e* A) [0 M! N" I( L$ s

  1857. : Q# ^, @9 X. k% z% {
  1858. ; Should tidy clean and repair output automatically?
    ) O: S( o- {/ w( ^& Y
  1859. ; WARNING: Do not use this option if you are generating non-html content1 R" t, e3 i* R: T' l& i; W- c
  1860. ; such as dynamic images
    - {  v9 C* C3 O1 v" C* O
  1861. ; http://php.net/tidy.clean-output
    . v9 o& @* ?$ ~1 v0 T' Z5 B
  1862. tidy.clean_output = Off2 Y: _% O9 M1 |  V$ U
  1863. ' {9 W: y& u3 y9 h8 s. z
  1864. [soap]+ ^  ]- c( C8 M# q$ |' [
  1865. ; Enables or disables WSDL caching feature.
    % n/ ^% k- H) w) a3 Q5 p- H' i
  1866. ; http://php.net/soap.wsdl-cache-enabled
    ) F* K8 K/ a7 I5 m) J: N
  1867. soap.wsdl_cache_enabled=1: Q& C* h9 _$ r' x3 z0 u
  1868. ) U0 T% V% ]# ?9 c
  1869. ; Sets the directory name where SOAP extension will put cache files.
    ( Q  t2 Q5 o- u( p  [% p
  1870. ; http://php.net/soap.wsdl-cache-dir, b4 h) b2 l/ }3 V$ q* [( x3 t  x* F
  1871. soap.wsdl_cache_dir="/tmp", o  N4 k2 Y& `: o+ E! X: L

  1872. / K' G$ w' Z2 ]. C1 j# c. I
  1873. ; (time to live) Sets the number of second while cached file will be used
    5 `5 m) @0 b/ c, [
  1874. ; instead of original one.4 c9 w0 Q$ r  r9 w$ f; I
  1875. ; http://php.net/soap.wsdl-cache-ttl- u6 e. c4 z' H7 U7 {2 }' n
  1876. soap.wsdl_cache_ttl=86400
    ) F( j5 D1 `. F( D% e4 A: B- c

  1877. ( ?2 X9 U, I7 i% e/ {- t
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)2 D) J' G# H8 n4 d. I
  1879. soap.wsdl_cache_limit = 5( A( s+ K) B1 _" E, F1 a/ k

  1880. 8 D& O  r9 M3 o  l
  1881. [sysvshm]
    : z# l8 e0 {- j8 `+ d9 l: |
  1882. ; A default size of the shared memory segment9 N* U% C" w) z+ @/ l  S
  1883. ;sysvshm.init_mem = 10000
    ' j! v8 M0 O9 g0 v/ k. f4 c

  1884. 6 c( ~- R5 R, F$ U" R
  1885. [ldap]
    6 C2 q' Z' N( E2 |) I; W" A
  1886. ; Sets the maximum number of open links or -1 for unlimited.2 V: R; m4 O9 W& t: Y/ |& i
  1887. ldap.max_links = -1
    / o$ i& \! ?' N# ]

  1888. 1 V$ h0 z6 W! V, X
  1889. [mcrypt]% C3 I; L3 X9 b  A) x* j
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open
    $ `% f( F: v) d9 t: C
  1891. 7 _& |* b. q1 I- I& V( R
  1892. ; Directory where to load mcrypt algorithms
      t- ]- [2 @" \$ c5 F- z4 F
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    9 a% t9 G  p4 z, v3 P2 V
  1894. ;mcrypt.algorithms_dir=
    0 I. p2 k2 O- W0 O# x4 l9 ]

  1895. 4 C$ ^* o( g% L6 H$ Y4 Y
  1896. ; Directory where to load mcrypt modes5 D0 _: ~8 j1 g* z6 H
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)  s* C9 A& r  d) T0 ?$ t
  1898. ;mcrypt.modes_dir=& Y1 R& G% k5 r

  1899. 2 Q) k& ?0 ^8 J3 y3 W( G9 t( @. R
  1900. [dba]
    . u" s3 U3 L* E' w, P
  1901. ;dba.default_handler=7 z" M4 h7 J, B/ V/ t* m9 x/ A7 P

  1902. : P  j, y6 @$ W6 G$ f
  1903. [opcache]7 J7 x% a& E3 S- f2 f& p1 |
  1904. ; Determines if Zend OPCache is enabled
    * R' p; c. ]3 e, W$ _5 s" f
  1905. ;opcache.enable=0
    ; o7 u9 Y" Q" p5 ~! J/ D

  1906. * I  b% E) K( T( O
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    8 D; B8 `2 [* a* P
  1908. ;opcache.enable_cli=0# K/ W, }) A  w$ ]! B1 t" S$ U

  1909. 5 c+ L1 ~3 ?7 W% i
  1910. ; The OPcache shared memory storage size.
    , D0 U! b# @9 o2 i
  1911. ;opcache.memory_consumption=64, v* l" m6 u6 s7 c! v
  1912. * O9 R3 T3 U1 j2 `7 y6 @2 M
  1913. ; The amount of memory for interned strings in Mbytes.' g: G: g2 U) i/ A$ ]0 Y
  1914. ;opcache.interned_strings_buffer=4, ~; ^+ [" `9 k) Q- q9 j6 [
  1915. % L% G$ B# _* G. a/ h
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.' F/ T; X/ e) s# \$ m
  1917. ; Only numbers between 200 and 100000 are allowed.
    . E6 p% B7 y6 x) L+ I9 I
  1918. ;opcache.max_accelerated_files=2000
    % o: n  g. c0 m+ s4 P' u0 X

  1919. - S4 j5 p2 e. }( U6 |- D1 g# q9 {
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.% A4 z* T3 z0 j" n. s, X
  1921. ;opcache.max_wasted_percentage=5
    + R. O  z# [3 }0 M) a+ Q
  1922. ! N3 t* J  }5 |: z
  1923. ; When this directive is enabled, the OPcache appends the current working
    4 Z) p3 ?/ w3 Q5 x0 A8 w
  1924. ; directory to the script key, thus eliminating possible collisions between( W4 h/ @* {  Q! `; k/ D- i& B0 P
  1925. ; files with the same name (basename). Disabling the directive improves
    ! r" `: C1 n6 ]: }: a
  1926. ; performance, but may break existing applications.7 N5 e1 y1 f  u* p
  1927. ;opcache.use_cwd=1
    ; C" _3 B4 I# R" a9 {7 y
  1928. # a( m$ ^* h" a
  1929. ; When disabled, you must reset the OPcache manually or restart the  I% N3 L2 L* _: r; I% d) v$ v
  1930. ; webserver for changes to the filesystem to take effect.
    0 c" V  M2 s& L+ ?$ g6 h# |) d
  1931. ;opcache.validate_timestamps=1
    8 F7 }+ ^3 y  c, S

  1932. 9 W  b) S- I* _& Q
  1933. ; How often (in seconds) to check file timestamps for changes to the shared" E; s& x1 ^4 E7 i" \
  1934. ; memory storage allocation. ("1" means validate once per second, but only, U" i; T/ v5 l0 n
  1935. ; once per request. "0" means always validate)/ n; d  P( D* Z9 K1 Y6 p
  1936. ;opcache.revalidate_freq=2
    : D0 x- p7 s7 f& c$ `* V
  1937. ( {/ {# ]. j6 n
  1938. ; Enables or disables file search in include_path optimization' i& {: h$ Q( o5 j. w. P3 [: f5 b
  1939. ;opcache.revalidate_path=0" _  D0 P% N" A

  1940. ( _* o1 c5 h7 |; ?
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the9 D. E) N# k! T$ q7 D/ a
  1942. ; size of the optimized code.
    $ Q" C0 b& @/ I( R% n
  1943. ;opcache.save_comments=1; E/ M* O% L* {
  1944. / l+ a; A  {, f) u$ J( q" ~# R- a
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    1 f4 p' t' o5 m! f& Q& \$ J2 s
  1946. ; may be always stored (save_comments=1), but not loaded by applications
    ' M+ ~8 v' C9 Z
  1947. ; that don't need them anyway.7 ^5 D6 c; {4 Z9 Y
  1948. ;opcache.load_comments=1
    $ G$ y0 {2 p0 N( R% M6 ]$ u
  1949. , p# O5 W3 E) j
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code  v) j) \1 Z8 }3 t
  1951. ;opcache.fast_shutdown=0- v4 e. R4 n9 \4 G7 A" R
  1952. / m. ^5 s+ Z6 T+ G! \
  1953. ; Allow file existence override (file_exists, etc.) performance feature.
    ; a3 u1 x4 k, Z( z3 n- `2 O/ L5 K' q
  1954. ;opcache.enable_file_override=0
    ( W; G* j' {; }1 u5 s  Q
  1955. % D0 I. Z8 a3 |! t% o' i4 q
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    & S* R- x5 i# O6 Q7 }% l
  1957. ; passes
    - x* _, |. ~2 y5 h
  1958. ;opcache.optimization_level=0xffffffff
    ) ~; W) b; i& V6 k
  1959. 6 U2 _6 k8 N. w' @; j
  1960. ;opcache.inherited_hack=15 u! l3 l4 x. |, _
  1961. ;opcache.dups_fix=0
    6 l9 f1 H2 E! z- l! j

  1962. 2 C7 d6 [: D  b% {. o3 N/ w
  1963. ; The location of the OPcache blacklist file (wildcards allowed).
    / p) a& X2 G0 b7 K0 r
  1964. ; Each OPcache blacklist file is a text file that holds the names of files0 q8 R7 v" |6 z6 J2 E
  1965. ; that should not be accelerated. The file format is to add each filename
    . n0 K. t$ Z0 H; n5 U5 D
  1966. ; to a new line. The filename may be a full path or just a file prefix
    % N7 k* K5 B& m7 z! _' Q& j
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    & @- H7 J& X8 y$ ^& X1 _$ q
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).
    : V/ O, n3 `- {7 q- H9 ^
  1969. ;opcache.blacklist_filename=
    $ Z: n2 d& f; _) ~
  1970. " N& h# E" \+ Z) f! H
  1971. ; Allows exclusion of large files from being cached. By default all files
    ( _* }- H& U; J  m! b. g  n
  1972. ; are cached.
    / p4 n7 }+ X6 P, g5 @3 _# \* A
  1973. ;opcache.max_file_size=07 e/ I6 p& r6 G' M8 j" B9 G7 k
  1974. 2 S# }" i& c, X0 H0 f) v
  1975. ; Check the cache checksum each N requests.
    ! A6 z6 ]. h& g
  1976. ; The default value of "0" means that the checks are disabled.
      E6 g  t9 d1 D$ y/ b) {: g+ ]/ l' l
  1977. ;opcache.consistency_checks=0
      r- y- ?$ |  m# H2 T
  1978. + A# Z* [8 K/ b  H6 y8 N, b& j
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    & \5 @9 |% o6 H& T6 X
  1980. ; is not being accessed.3 T( t) B% f+ ^! x. w# L9 l
  1981. ;opcache.force_restart_timeout=180: M- h7 ^3 U4 F0 @4 s. N

  1982. : [/ w# E# b# O  O; s1 ]$ r
  1983. ; OPcache error_log file name. Empty string assumes "stderr".: U7 U) g* E$ K+ [7 l- X
  1984. ;opcache.error_log=; y/ P7 _. g9 D
  1985. 8 F! f2 z; {' R. Q
  1986. ; All OPcache errors go to the Web server log.) z2 w" e5 Q  F; x. `; {, G! v
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.4 s- {, _/ P1 a8 e" I% @" M+ p; m
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    8 Y  i! y( f$ ~! ?8 n" L
  1989. ; debug messages (level 4).
    ( C* A- o2 {( H* X
  1990. ;opcache.log_verbosity_level=16 R: K, F' z& R2 L! D- d, z
  1991. * R, j6 g7 S' I' ?2 `
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    6 j4 e: P& E" x4 N+ l4 K8 b9 p
  1993. ;opcache.preferred_memory_model=# D9 x. U) @6 [" Y5 M! @

  1994. ) j! n7 Z- ?1 V* k% g  d
  1995. ; Protect the shared memory from unexpected writing during script execution.
    6 t' h/ D; ~/ H8 Y
  1996. ; Useful for internal debugging only.& }$ g/ \$ a4 x" W' S$ T
  1997. ;opcache.protect_memory=0' t3 \" c3 f0 o  a. \6 @4 U
  1998. 1 T" ?& t8 E+ A7 d" A
  1999. ; Validate cached file permissions.
    & Y: B5 K3 d$ H. D# h* _
  2000. ; opcache.validate_permission=04 h3 b1 e0 V8 ^1 [: j! q
  2001. $ u+ H. Y7 `8 _) \
  2002. ; Prevent name collisions in chroot'ed environment.
    4 P# G3 p! ~( ^
  2003. ; opcache.validate_root=0/ T4 t: \% h; P

  2004. # ^$ q# J; X# W5 G- h0 H3 B
  2005. [curl]
    * P! Q% l$ m3 e0 O: }* s# ^
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an- q$ e$ q$ ~% ^( ^7 t, q
  2007. ; absolute path.
    ' @% X3 g: y" ?% p
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt
    2 n) Y+ b5 o. }8 O' _6 `2 w
  2009. 0 O8 K6 }0 }3 O) t3 `' h+ g
  2010. [openssl]: v1 p& d# ?+ `) G  O
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    ' w  S. w5 X* ]% v/ b, p! J
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    + _, \/ z6 \3 C6 f  A1 P
  2013. ; not specify a value for this directive as PHP will attempt to use the  d$ P/ O5 f. `) E3 b4 l
  2014. ; OS-managed cert stores in its absence. If specified, this value may still- S2 m  x. ^& _, p2 b$ d
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    , Y1 B( o* C4 i2 R# S1 I) K5 W
  2016. ; option.8 |5 x6 Y1 Z* ?2 J" i- o, R
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt; t8 r8 T' H- R6 C
  2018. 4 I8 v. o8 Q$ g$ b# m& L
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the1 x  i1 R, {1 K
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    2 s0 i: c+ q1 w/ u3 h( h& u
  2021. ; certificate. This value must be a correctly hashed certificate directory.9 `7 {+ M( U) p. ]+ n1 D7 q* Y
  2022. ; Most users should not specify a value for this directive as PHP will
    . S6 b* c  S$ o3 r6 @5 j) ]
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,# f' ~8 K( o  M$ N
  2024. ; this value may still be overridden on a per-stream basis via the "capath"
    4 v2 D& x  w! N$ p% P7 o
  2025. ; SSL stream context option.
    % T! H8 y. z) E4 h, `
  2026. ;openssl.capath=
    " b9 `1 `" W* w  {  h5 L

  2027. ; ]  W% ?3 F' W! M
  2028. ; Local Variables:
    : d* `: I, A! d& ]3 T0 e
  2029. ; tab-width: 4/ D/ v* [% O7 e9 E( J! g& X
  2030. ; End:
    - E# W7 ?; @* F1 O

  2031. 9 p: U& @4 e) D* q8 z& t9 _) v+ V' a6 \
  2032. ;eaccelerator5 F( `- @9 {( \
  2033. $ }/ U( b: Y& h$ o
  2034. ;ionCube
    # ?! Y4 o8 i# P6 p* q, n2 \3 H

  2035. & v; b$ P' O& E0 y
  2036. ;opcache
    & b. ^7 c* k: r! \6 I! @0 k; N

  2037. ; z% E- a4 k( G# g' r+ K
  2038. [Zend ZendGuard Loader]" X8 Z4 l' W7 x8 {* f/ y- V
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so; W- ]. Y! W8 D; [. Q) y
  2040. zend_loader.enable=1
    . j' m9 y8 B0 C& A" z
  2041. zend_loader.disable_licensing=0
    0 T% l# g/ Q) n9 ^, }: s
  2042. zend_loader.obfuscation_level_support=3# |! j9 D' i) ^  V& {5 ?
  2043. zend_loader.license_path=
    % t+ c; `7 p$ e
  2044. 5 q. |9 v9 P% g, f: a
  2045. ;xcache
    2 ]' B  B# Z9 e& v8 O' v

  2046. $ g9 `/ f" o) B0 U# c4 G
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/818146924 F- F6 w- B0 T
! A# E1 Z6 A* ~# r! U5 q- {' m

3 _$ T- Q, E$ h7 ^4 [Discuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,
1 j; _6 `7 m( Y/ U6 z5 t; \# [
/ Z% K# E# M3 U& _( S. p) c6 ?Discuz!程序版本选择:# C" e! u1 U5 M9 U+ q
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
( K! S9 j( k: t不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
( ^' ^& w2 b* n5 w; ~8 O- p1 vDiscuz!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 r5 ^' J+ h0 b- f, e

; }4 x% S1 t6 j3 {6 s. nDiscuz!插件模板版本选择:
/ y' C$ Q0 g. b很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
% d& h4 I1 Y5 r- t/ T: b+ v7 j" {  [针对这个问题做个统一的普及:/ v2 \" H$ L7 f: N" }: t
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。( f: x  |; J% {- ]
; K3 M, d* D: s2 a, m) L8 j" ^' P, ~: r
所以" v7 a+ \* G* p! J1 U: g# u. m# s; K
适合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的二级域名。) P) t1 _6 W( {9 D8 Z% L( y
打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
/ o- j# p1 _( b5 Q+ r8 i注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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