分享到:
发表于 2018-11-21 08:59:16 | 显示全部楼层 |阅读模式
安装DZ乱码前PHP7.09 u# f- `  y  {6 E8 d

. ~' _. M; P2 t$ S
  1. [PHP]3 w0 f0 J7 U# \) F8 Q

  2. 2 [, K) A3 U, C2 ]  Q
  3. ;;;;;;;;;;;;;;;;;;;
    6 j. a& Z- A9 ^+ D: M" P) B
  4. ; About php.ini   ;% d+ ?) M, n5 `9 ?6 o2 g/ H4 O
  5. ;;;;;;;;;;;;;;;;;;;
    1 C7 I( I$ i( w. E- [, \
  6. ; PHP's initialization file, generally called php.ini, is responsible for" W9 V/ v% Q% b! ~
  7. ; configuring many of the aspects of PHP's behavior.2 ^$ G% E$ N) q2 m8 M

  8. 0 m2 t- O% m9 o. |* m
  9. ; PHP attempts to find and load this configuration from a number of locations.8 `2 L9 I6 f( c: o
  10. ; The following is a summary of its search order:
    ! L9 ~' ^+ S$ q% O& r
  11. ; 1. SAPI module specific location.
    4 x2 o6 O. p4 y; h! [/ g
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)
    1 o* X: [- t8 [# z) @: r
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)4 b1 J0 l: e% s) G; ~; A+ I
  14. ; 4. Current working directory (except CLI)& N0 ]9 k; H0 o0 E
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    / R& x$ m  O0 o- H! C9 ]
  16. ; (otherwise in Windows)
    7 o8 a. V! l9 E2 b' k" R& ~
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    : w2 l. Z# d6 v$ z' A/ u
  18. ; Windows directory (C:\windows or C:\winnt)
    * c, V/ |- c! j  N
  19. ; See the PHP docs for more specific information.
    2 Q) [6 U: Q" J/ f; a* A' K  |
  20. ; http://php.net/configuration.file
    ! I/ u2 i1 [0 r2 f( D
  21. ) {4 I& }+ e8 t- r% }. [. R
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    ' O, s3 f2 J8 ]+ H* H( Z
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).# s; ]- ?; I' r6 G6 s4 N
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    ) O% E0 O9 N4 d* L1 C2 a
  25. ; they might mean something in the future.. ]* U+ p. D( p: Z" [8 ]4 i2 y; q& [
  26. . \0 H! X0 d# ]$ g2 d" i
  27. ; Directives following the section heading [PATH=/www/mysite] only( T/ F8 h- V8 B2 p
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    6 r6 d6 Q( }5 j6 s
  29. ; following the section heading [HOST=www.example.com] only apply to
    5 t* m" r2 D  D3 Y3 ~# h
  30. ; PHP files served from www.example.com.  Directives set in these" @8 o! Q+ f9 V- E9 |+ x7 A& O
  31. ; special sections cannot be overridden by user-defined INI files or
    ; c1 `4 c! k) r0 _5 \* I) N: y) I
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    2 H" o+ ^- W- O5 U# i
  33. ; CGI/FastCGI.
    7 |; J5 T7 z; Q
  34. ; http://php.net/ini.sections7 }5 q% n1 A5 Q4 {
  35. ' \6 c7 Q2 ?- V4 ~, ^2 G" W
  36. ; Directives are specified using the following syntax:
    % B" U+ i/ O# M# B
  37. ; directive = value
    0 ^& ~5 J+ C$ f( D5 T# ~
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    & B% p: B" f8 a. A9 ?9 D6 g4 Z* |
  39. ; Directives are variables used to configure PHP or PHP extensions.! r- ~2 B. x. q4 o: m
  40. ; There is no name validation.  If PHP can't find an expected
    ; X: M" L1 a* T; Q6 P8 I2 S" q1 M
  41. ; directive because it is not set or is mistyped, a default value will be used.- d/ l  {& J' T2 M5 _/ r
  42. 4 F2 K; O& `% m% x* a" b8 i
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one1 U2 N- L' t- H$ G' k
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression
    ( ?6 T* J, B& v8 x' @! @  `/ C
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    % B. L& \' b& K) V- M9 N* T5 c" p
  46. ; previously set variable or directive (e.g. ${foo}): ?3 E1 C* i/ p) s2 ~
  47. 9 p% ?* i5 a+ j. s5 M
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:: F0 O7 h: Q" F9 v- P7 G2 o: M
  49. ; |  bitwise OR
    ( P3 Z/ `" k  M" Z: w
  50. ; ^  bitwise XOR
    ) U3 A5 ^/ P: T- I$ ]% f
  51. ; &  bitwise AND
    " |% H! B0 J2 @8 Z% W/ r
  52. ; ~  bitwise NOT1 f' s: p5 X+ V( |
  53. ; !  boolean NOT
    ; m- Y+ N* e% G$ r" M$ e+ D, x" F

  54.   f9 |9 g! r, [2 A
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.# L% ~" y, f5 o# m
  56. ; They can be turned off using the values 0, Off, False or No.6 {) G! P# l7 W1 @# M
  57. * N& }6 U* v, r! Z9 O
  58. ; An empty string can be denoted by simply not writing anything after the equal, z# R$ D- q: u( m. O1 f" J
  59. ; sign, or by using the None keyword:
    : p( m2 y0 R5 [! v+ x! C

  60. 6 t4 F; }, c. ?: D+ V, F0 z
  61. ;  foo =         ; sets foo to an empty string
    : \( }5 w& C  N4 N) j: m+ a3 k; D
  62. ;  foo = None    ; sets foo to an empty string
    6 p0 B7 h% t1 h( a
  63. ;  foo = "None"  ; sets foo to the string 'None', T. B) A' O8 e; B, z
  64. . c! U1 U6 _3 m! }; l/ ?
  65. ; If you use constants in your value, and these constants belong to a
    . E. O  r1 t: b' [$ D
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),
    . {8 q  ]$ s* W& a
  67. ; you may only use these constants *after* the line that loads the extension.% o2 [; ~" E* k# f3 ~4 d
  68. - v$ D7 B& U& B6 M" K
  69. ;;;;;;;;;;;;;;;;;;;
    + m. |0 r7 J+ ~4 t9 H4 h9 A" U% a* ^
  70. ; About this file ;' q0 {* q" }1 N/ o
  71. ;;;;;;;;;;;;;;;;;;;
    5 v3 E5 I/ h3 e
  72. ; PHP comes packaged with two INI files. One that is recommended to be used! [. G  D( t0 P
  73. ; in production environments and one that is recommended to be used in/ C* v: B, o  z1 K
  74. ; development environments.
    : A5 \) C. r5 A! L3 ^; S1 ?1 g9 |
  75. 9 `8 R/ A/ n0 ]7 J* L6 ?
  76. ; php.ini-production contains settings which hold security, performance and
    7 |: m. O6 m. b
  77. ; best practices at its core. But please be aware, these settings may break! p# y- g4 I% X' Q  R
  78. ; compatibility with older or less security conscience applications. We
    2 m: h5 c4 r/ O
  79. ; recommending using the production ini in production and testing environments.
    / O, A) a+ w" Z5 L3 q; ^* `
  80. % f  E# \3 ]9 [  ^, u: O
  81. ; php.ini-development is very similar to its production variant, except it is
    ' V) r1 g; H1 |% w& ]$ X
  82. ; much more verbose when it comes to errors. We recommend using the
    6 F8 L% H  _" H" X/ W
  83. ; development version only in development environments, as errors shown to4 A% X' u) x, C: b
  84. ; application users can inadvertently leak otherwise secure information.* E4 C- g% j" V8 Q. E- N
  85. 2 g5 |, S* i7 n$ {7 a  B' x& u3 R
  86. ; This is php.ini-production INI file.) F8 a  @  v" O
  87. 8 k5 R% Z9 ~/ C& [
  88. ;;;;;;;;;;;;;;;;;;;
    : a  w* a, i( E
  89. ; Quick Reference ;* C- R: N$ ]- s9 B* R& E
  90. ;;;;;;;;;;;;;;;;;;;) }' e5 P- Z, h8 A; K6 C
  91. ; The following are all the settings which are different in either the production) c* f; ], J. T1 G! J6 @% g
  92. ; or development versions of the INIs with respect to PHP's default behavior.
    7 Q4 p& w5 w$ Y' a4 V* [
  93. ; Please see the actual settings later in the document for more details as to why1 _3 p4 y; g2 W1 z8 F
  94. ; we recommend these changes in PHP's behavior.
    # w) x8 Y  r" i/ J7 e9 e
  95. 0 K) l/ }4 X' @1 \9 m
  96. ; display_errors
    ! m" y! s# O* h* s8 W# I2 Y
  97. ;   Default Value: On( j# n9 z3 y! O1 R: A" R
  98. ;   Development Value: On6 S2 @5 |5 c7 G+ Q7 ]4 V& W8 [9 V
  99. ;   Production Value: Off
    " r8 f9 m  }" f2 s; j' l5 w! O

  100. 4 ]& ]/ ^+ J! Y6 W+ S9 U4 Q
  101. ; display_startup_errors
    + D& [9 a, ]7 u
  102. ;   Default Value: Off0 {0 V" R3 Q* x) F/ _+ w5 W
  103. ;   Development Value: On
    " p6 t% d8 o: p/ V
  104. ;   Production Value: Off
    2 z" L" Z3 B* Y$ Z, y% H

  105. ( y. N2 ^4 b; X1 A# a, P' ~6 {7 m' R4 H
  106. ; error_reporting/ H6 A, a+ N6 P) y
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
      I$ B; T2 z/ N! `
  108. ;   Development Value: E_ALL0 T5 t; A' E8 H0 }% n
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    ) {+ g& C( A& K3 ~6 t
  110. & B5 N2 b) s) {/ F: v; d/ l# u
  111. ; html_errors* W' C$ _4 g) f4 \
  112. ;   Default Value: On0 v! }/ b" R& Q' P( n1 @* M
  113. ;   Development Value: On- ?* J4 r0 E# s3 K: u
  114. ;   Production value: On
    ; l/ j7 `% e% w  k

  115. , L8 p. H& w- @. |, o) R- H- y
  116. ; log_errors: S4 h( q* r* A& V0 b
  117. ;   Default Value: Off
    8 H4 y$ H! M1 n/ F
  118. ;   Development Value: On$ K; ]! \' B' I) x0 v- ^( x
  119. ;   Production Value: On$ F8 [; D8 i$ f0 v7 G9 }
  120. 7 [0 Q$ a# ^7 n# ?0 i) C% `! r
  121. ; max_input_time" c9 R) ?- f" C  O# z8 A& d
  122. ;   Default Value: -1 (Unlimited)
    $ J4 K+ ]# w, n3 i/ x
  123. ;   Development Value: 60 (60 seconds)
    3 {8 E: Q8 a& t( ^- t& h
  124. ;   Production Value: 60 (60 seconds)
    4 o" x* o) n5 g
  125. 4 ?' a4 q4 _! I5 t  c
  126. ; output_buffering
    # i& Q2 E1 i! ~; `7 O9 I
  127. ;   Default Value: Off
    * U3 X; ^7 }0 E# |/ ~
  128. ;   Development Value: 4096
    / C5 ?9 v: ~7 c7 N
  129. ;   Production Value: 4096
    " N5 B5 O" V5 y* z( O. ?  i

  130. 2 m. P) A6 [( G) X+ e
  131. ; register_argc_argv
    9 A% U+ \% A3 B, D- T5 I0 ]: T! b
  132. ;   Default Value: On0 R8 Y) [7 u. F, u* |6 T: I
  133. ;   Development Value: Off
    $ ^9 K) I, ^# H+ h
  134. ;   Production Value: Off
    6 u! z% k. ?. y: w' s" F! S
  135. , Y+ }- i& t( R) K7 Y, j' y' a2 h
  136. ; request_order
    4 y6 e9 w& a& @* b0 K
  137. ;   Default Value: None: P" r$ I& F% ~$ X
  138. ;   Development Value: "GP"4 q$ J/ ]+ q/ E5 [( b+ N7 G& E
  139. ;   Production Value: "GP"
    ' \# i9 j+ T" t" D$ ]/ x5 s1 `
  140. / y9 H4 [6 Q0 L1 i! X
  141. ; session.gc_divisor
    + L4 K% O9 j  b! ^! H  v* M9 ]
  142. ;   Default Value: 100
    0 n) H3 |, w' _0 n
  143. ;   Development Value: 1000
    * I+ {4 k/ z' Z0 F0 m/ Y3 }
  144. ;   Production Value: 1000
    + b7 G0 T& h; e/ g" m& I5 ?2 L
  145. 9 p- g2 ^6 C" i8 k
  146. ; session.hash_bits_per_character4 s# K9 m$ o2 n, r: [5 E7 P
  147. ;   Default Value: 4) Q8 q4 b1 f6 J7 u5 `
  148. ;   Development Value: 5" i$ a7 V9 v8 o1 v3 ?; ~; E
  149. ;   Production Value: 5+ V( c: W) U' v( w
  150. # J7 G2 Z8 c! L4 e0 Z" M  H6 v
  151. ; short_open_tag/ T, c5 y5 S# J
  152. ;   Default Value: On
    ) ?: [' b: c' ^- q3 T  f. j
  153. ;   Development Value: Off
    ! ?, S3 o! K: `, \& j
  154. ;   Production Value: Off
    1 V" T; i7 s/ [

  155. 9 w& @( `/ m( p# x5 B  [
  156. ; track_errors+ V' W5 }3 c' v2 @% ^
  157. ;   Default Value: Off
    % B# r* v+ L' f7 I, J  l+ W
  158. ;   Development Value: On2 k, u3 c" P* ^, N
  159. ;   Production Value: Off
    ' R) {. y7 l$ l7 T# T# _
  160. : l: q) K, m. L$ k2 Z7 r
  161. ; url_rewriter.tags
    3 v. R6 j% n8 `# T* j
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset="4 e  x' f# d6 o0 U% ~" a( |& c" c  e
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ( k* j- n/ b; _* M
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    $ h' U& u6 z0 c/ E9 i1 F
  165. 1 h8 o0 x0 b. m/ X. C  n1 B
  166. ; variables_order+ B4 C' E2 {) E; A8 D1 F
  167. ;   Default Value: "EGPCS"/ b5 d( _, m: u/ |- b4 Z- I
  168. ;   Development Value: "GPCS"
    7 u$ v0 |2 }9 \" U: o
  169. ;   Production Value: "GPCS"" C/ |/ \$ a5 p+ Y/ |
  170. ( J+ h7 b1 }9 @% ~+ I7 j+ J
  171. ;;;;;;;;;;;;;;;;;;;;
    ! a4 v) ^' I7 f9 {2 d
  172. ; php.ini Options  ;6 ]9 k; q% s7 p; I" p/ B8 A
  173. ;;;;;;;;;;;;;;;;;;;;
    & G5 Z( h% H9 R, [2 i# d2 O+ V3 J- q
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"( A. r: d+ I0 a7 N# O
  175. ;user_ini.filename = ".user.ini"
    * t! C. F: F- i
  176. 7 h8 Q  s: |& N1 @2 l6 V4 m5 b
  177. ; To disable this feature set this option to empty value
    1 e, ^2 T; m$ c' d. D
  178. ;user_ini.filename =
    * A, J3 M/ X0 O7 m
  179. ' i3 X: Y+ ?/ u9 R6 [+ H, O# a2 f
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)
    ) c7 ]  ]: s5 b( @% O1 i# L( `8 S- Z6 e
  181. ;user_ini.cache_ttl = 300
      ^# H9 Z% s5 c% H7 E5 c
  182. % U$ Z. K" [: O* k* S/ Y9 }4 T9 v
  183. ;;;;;;;;;;;;;;;;;;;;/ v4 _0 ^4 N9 X) e2 s
  184. ; Language Options ;7 r7 T" K: z# D; S( Y1 d
  185. ;;;;;;;;;;;;;;;;;;;;
    ' n9 B+ R+ G8 a/ @* T  u+ N
  186. 0 d$ d+ @" g7 h$ ?' ?# w% e
  187. ; Enable the PHP scripting language engine under Apache.
    7 V; T4 t- I" g" `5 _6 I2 s: b
  188. ; http://php.net/engine
    & Q. \/ N+ Q* P
  189. engine = On  ]5 {3 X7 U  L/ [( f: P
  190. 3 e0 ?0 n# p) h0 h% q' K
  191. ; This directive determines whether or not PHP will recognize code between& z( X2 Y; E9 \5 _
  192. ; <? and ?> tags as PHP source which should be processed as such. It is- P) ?- `$ v8 ]+ t1 Q: }: J4 [
  193. ; generally recommended that <?php and ?> should be used and that this feature
    6 \2 n! U8 |, n5 W4 e( }
  194. ; should be disabled, as enabling it may result in issues when generating XML
    : N9 ~/ h7 j$ {5 ?) K& X6 B
  195. ; documents, however this remains supported for backward compatibility reasons.& E- `: \8 u/ d6 R( v
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
    / O! j( I& A% l" X5 o; \
  197. ; used regardless of this directive., [, ?! F3 T, h
  198. ; Default Value: On
    2 R8 X5 J. ?% T# h0 {* A( Z
  199. ; Development Value: Off
    * G/ z: R7 r# b
  200. ; Production Value: Off
    0 v) _/ d- {6 _  U* w& I" i9 h
  201. ; http://php.net/short-open-tag
    ) a5 w8 L9 p$ |+ W9 q' N
  202. short_open_tag = On
    9 g7 N2 {+ d. X% e7 p. D
  203. ) r. L: H! L, K2 D
  204. ; The number of significant digits displayed in floating point numbers.
    + ]: j9 _# v, A2 Z, r/ q9 F0 q
  205. ; http://php.net/precision& W7 ]# u. S: {$ S( }$ H
  206. precision = 14$ h6 \4 E% t, L+ U, ~- ]
  207. 0 I, R* U# W6 r6 X% Q' u
  208. ; Output buffering is a mechanism for controlling how much output data
    5 V: A7 w7 h  c; I6 B9 T/ h9 f: c
  209. ; (excluding headers and cookies) PHP should keep internally before pushing that7 V; T5 C* U+ ]! |2 y! z+ E) [: A, @
  210. ; data to the client. If your application's output exceeds this setting, PHP) E8 A0 h! f0 R) G' L
  211. ; will send that data in chunks of roughly the size you specify.
    7 r7 {: b# |0 ]: r. `: N6 a2 f2 `
  212. ; Turning on this setting and managing its maximum buffer size can yield some! A- V; e( o( P  a
  213. ; interesting side-effects depending on your application and web server.
    6 `& f& u; J/ E' X' n# N4 |
  214. ; You may be able to send headers and cookies after you've already sent output' ]5 n* p1 A3 h+ g! F
  215. ; through print or echo. You also may see performance benefits if your server is
    / Z; @4 ^4 X' ?1 p- M4 l1 E# l7 J
  216. ; emitting less packets due to buffered output versus PHP streaming the output& b% g! R) W, u* @+ f; Q& `
  217. ; as it gets it. On production servers, 4096 bytes is a good setting for performance
    - K' Y$ }; S  R! ]* T  s2 h; E
  218. ; reasons." E& ~: B- J  A4 M
  219. ; Note: Output buffering can also be controlled via Output Buffering Control
    ' F/ C5 d* @* E3 r
  220. ;   functions.
    8 l7 f! g1 E% i5 B8 L
  221. ; Possible Values:: m- E' e+ V; R( ]& O% D
  222. ;   On = Enabled and buffer is unlimited. (Use with caution)1 G3 y' y4 P) k, |: U4 b& k
  223. ;   Off = Disabled4 N9 G# T3 ~# I# `
  224. ;   Integer = Enables the buffer and sets its maximum size in bytes.* O8 i  v! L. {4 H1 E: e* J
  225. ; Note: This directive is hardcoded to Off for the CLI SAPI
    - K& p7 P' l9 M( A) i- ^
  226. ; Default Value: Off1 I' A' _8 D3 o
  227. ; Development Value: 4096( W* |6 ?0 p/ n$ f
  228. ; Production Value: 4096( E5 Q5 ^( t$ N% E1 E
  229. ; http://php.net/output-buffering6 y% g, x3 N7 L6 Q3 r0 k1 X8 [: A5 z
  230. output_buffering = 40969 G, [+ r2 A" M  y& Y

  231. ( v4 A9 ?6 o7 J6 @
  232. ; You can redirect all of the output of your scripts to a function.  For
    6 m* ?& z: h4 m5 p( N8 V
  233. ; example, if you set output_handler to "mb_output_handler", character
    $ K6 E; u9 k6 U8 C" `4 u) s# \7 C
  234. ; encoding will be transparently converted to the specified encoding.
    $ \# j0 ]) ^  i1 Q& q8 n
  235. ; Setting any output handler automatically turns on output buffering.
    8 g8 _* e( {: K2 D* G
  236. ; Note: People who wrote portable scripts should not depend on this ini$ m9 s' n/ y9 w4 ]  x
  237. ;   directive. Instead, explicitly set the output handler using ob_start().
    + S9 ^$ y) U3 A& q2 [
  238. ;   Using this ini directive may cause problems unless you know what script
    $ O& ^, _- X% |' }
  239. ;   is doing.1 M9 X  e& C. w- Y, |# x% z3 ]! O
  240. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler"2 g3 w# U7 |/ ~! d  ^; A
  241. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".5 D2 s& K8 u+ N1 q8 }
  242. ; Note: output_handler must be empty if this is set 'On' !!!!/ ~" }* _2 ^, S7 @
  243. ;   Instead you must use zlib.output_handler." n1 Y* d$ F" @9 n: @4 X9 ?6 q
  244. ; http://php.net/output-handler& x: B! B2 G( v
  245. ;output_handler =6 v* j  {! v3 R% O! [! d' g
  246. , C+ z& x0 K% `7 ^/ o
  247. ; Transparent output compression using the zlib library
    ; w3 T& g& \' [. w& Y/ p
  248. ; Valid values for this option are 'off', 'on', or a specific buffer size
    , ]' e  M  N  L) m; |( G0 P/ E$ J
  249. ; to be used for compression (default is 4KB)9 M& G7 M  v& Y/ t& w; d( Z
  250. ; Note: Resulting chunk size may vary due to nature of compression. PHP
    + V# Y1 ]0 \1 ^& l5 s# \: Q
  251. ;   outputs chunks that are few hundreds bytes each as a result of2 ~  z# f, a$ ^* P6 C# s% S
  252. ;   compression. If you prefer a larger chunk size for better: Z' e7 N6 V) r9 k0 o4 r! G7 c* U
  253. ;   performance, enable output_buffering in addition.
    , s# S) t, P  p8 ?/ \. a, Z
  254. ; Note: You need to use zlib.output_handler instead of the standard7 J* }: V6 v& P3 s" G
  255. ;   output_handler, or otherwise the output will be corrupted.6 X, R" T2 N' D# j) p7 s5 P
  256. ; http://php.net/zlib.output-compression* `5 U! @5 o5 r1 S" R  ]; `0 |
  257. zlib.output_compression = Off  X3 }( v# ?+ ?: E
  258. 6 M" f" C3 O; P' ~+ w1 g
  259. ; http://php.net/zlib.output-compression-level
    8 c1 ]" w1 _/ L" x
  260. ;zlib.output_compression_level = -1# D. T! n* Y' @  p$ z* v

  261. 6 |5 r! t) n  _$ N
  262. ; You cannot specify additional output handlers if zlib.output_compression, A8 [+ a1 g) L3 H
  263. ; is activated here. This setting does the same as output_handler but in
    ! a0 x' R- K" v
  264. ; a different order.0 d" ?, r8 a2 t) z+ V& Y' M1 h/ s
  265. ; http://php.net/zlib.output-handler
    2 `" L) a! `% P7 m* T- E* a
  266. ;zlib.output_handler =4 D+ j) A, f$ C' t7 E- d  e1 p

  267. ' m! ]* @% Z4 H" \3 ]
  268. ; Implicit flush tells PHP to tell the output layer to flush itself) U+ Q' a( @4 I" \5 n
  269. ; automatically after every output block.  This is equivalent to calling the
    2 _) c! ]4 @2 ~1 F/ o) N
  270. ; PHP function flush() after each and every call to print() or echo() and each6 j' h% }% Y0 V1 @
  271. ; and every HTML block.  Turning this option on has serious performance
    / S3 u. P- M& z0 F& {
  272. ; implications and is generally recommended for debugging purposes only./ m5 o$ U7 C5 [8 p) U; M
  273. ; http://php.net/implicit-flush' E( i6 k2 A* Y
  274. ; Note: This directive is hardcoded to On for the CLI SAPI
    9 Y7 T0 L/ h) s, |) p( T6 E% T+ F
  275. implicit_flush = Off
    : e: {/ K8 K% Q9 Z# H1 j0 b

  276. & t+ c" Y7 |  i
  277. ; The unserialize callback function will be called (with the undefined class'
    ) G) \8 l' G& d, F
  278. ; name as parameter), if the unserializer finds an undefined class3 ^9 X6 H' o& k4 G( T
  279. ; which should be instantiated. A warning appears if the specified function is& Q) r' g. Z, x9 q1 s
  280. ; not defined, or if the function doesn't include/implement the missing class.
      z  m8 c( i$ _6 D4 G, \3 u) Q
  281. ; So only set this entry, if you really want to implement such a& ^2 I+ `6 {) U" k2 U& P6 x* o
  282. ; callback-function.
    : g, n0 N2 B. c) q) R
  283. unserialize_callback_func =4 |/ q7 b9 T/ ~) w0 ^

  284. + @) b  u( o: m5 C& ~! }# ~* ^) {
  285. ; When floats & doubles are serialized store serialize_precision significant8 \  G& W8 l  D
  286. ; digits after the floating point. The default value ensures that when floats9 I2 e: y7 I( K5 ~: N1 g
  287. ; are decoded with unserialize, the data will remain the same.
    7 l' D" k8 T& \! V7 X* Q- n& J
  288. serialize_precision = 17
    * a, ]4 H8 H( t0 x, D
  289. . I& {+ I6 D# C* V: L6 S/ H! g, Y
  290. ; open_basedir, if set, limits all file operations to the defined directory
    $ {4 \" l2 n8 o5 X
  291. ; and below.  This directive makes most sense if used in a per-directory
    ) s% L0 E3 B$ i; v: N; Q
  292. ; or per-virtualhost web server configuration file.* a9 f/ [% q, O5 e+ H* ?7 K
  293. ; http://php.net/open-basedir" \* d3 G8 u. Q5 S$ U
  294. ;open_basedir =; M' N/ l0 ~3 O) I" x4 g+ ^
  295. 6 C3 W( Z5 }* ^
  296. ; This directive allows you to disable certain functions for security reasons.
    ! t) g5 d) ]8 ^
  297. ; It receives a comma-delimited list of function names.
    # h1 [3 e( ]( [# f! c2 y
  298. ; http://php.net/disable-functions& w6 A5 X0 Z: O  G; y- b: k& y6 L
  299. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,proc_open,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    1 x6 t* ~6 k) ~! [# D
  300. 0 V" C! H5 ]2 h$ Q0 c
  301. ; This directive allows you to disable certain classes for security reasons." S# C1 ]  c3 f6 |4 j% z0 ?
  302. ; It receives a comma-delimited list of class names.
    3 `5 S! l# a8 R7 w! d4 d( O
  303. ; http://php.net/disable-classes' r6 k  |0 Z+ W: d; Y# ?
  304. disable_classes =$ q6 Y/ O  e5 @+ E3 h  F* j3 r

  305. 8 E) y! ~' f( w  W& N  q
  306. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in$ c9 E1 b: L" x) F% I
  307. ; <span style="color: ???????"> would work.
    4 G# a' Z. W9 e1 d  X) L
  308. ; http://php.net/syntax-highlighting  f+ L  |$ {* V8 X5 g' h
  309. ;highlight.string  = #DD0000( e! L! A" E( `5 b
  310. ;highlight.comment = #FF9900
    2 }0 x5 |) t, m) ^3 q. F" [
  311. ;highlight.keyword = #007700" f$ W" Z7 ~; a+ p% x0 @3 k9 j
  312. ;highlight.default = #0000BB2 r( R6 |  W4 m& D2 C4 R+ ]% v
  313. ;highlight.html    = #000000
    9 E0 V+ l6 d- i' j' h; Z' f4 [) @
  314. 3 n5 {) i& k! b  S8 Q$ d: r% r
  315. ; If enabled, the request will be allowed to complete even if the user aborts
    * \/ r4 A$ l: f- h- s
  316. ; the request. Consider enabling it if executing long requests, which may end up
    % M  I3 Y" X, h" h  l
  317. ; being interrupted by the user or a browser timing out. PHP's default behavior
    # p/ r( U% w% j) G6 W) T& g$ c
  318. ; is to disable this feature.
    # ~2 f, z% D, _, T1 Z3 C
  319. ; http://php.net/ignore-user-abort
    # B; Q. D! [' k# S4 z' D
  320. ;ignore_user_abort = On* F( I/ X8 J+ d

  321. 0 @5 m6 o7 w3 N
  322. ; Determines the size of the realpath cache to be used by PHP. This value should3 m; n" u. k' C8 I
  323. ; be increased on systems where PHP opens many files to reflect the quantity of  Z9 X* r# e; U- W5 ^
  324. ; the file operations performed." o/ [) K) d, [
  325. ; http://php.net/realpath-cache-size
    $ \2 ]$ O/ ]# o
  326. ;realpath_cache_size = 4096k
    : r" T4 z7 _; s) y3 P

  327. " g, t/ d7 O  Q. z* C8 i% p) E
  328. ; Duration of time, in seconds for which to cache realpath information for a given
    1 D! n: y, \- q$ O$ }# N4 \5 [
  329. ; file or directory. For systems with rarely changing files, consider increasing this
      [3 M2 e9 }0 w0 q7 n5 p
  330. ; value.
    9 y$ z2 w/ ?; B! k+ N& F
  331. ; http://php.net/realpath-cache-ttl
    # t9 D0 Z/ w/ X7 u
  332. ;realpath_cache_ttl = 120
    2 C; s& H8 M$ I7 e! F" N2 Z

  333. 5 k: d1 g) o" r0 z: L$ v
  334. ; Enables or disables the circular reference collector.- F* ?4 ~  ]8 i# M8 A. Z8 u; X: b
  335. ; http://php.net/zend.enable-gc/ k( l% f$ S8 s+ w' ~+ ^4 R% |
  336. zend.enable_gc = On* z& X; N  i, N3 b  }/ R1 F
  337. . g) s& o! @; A" h
  338. ; If enabled, scripts may be written in encodings that are incompatible with
    * U* L2 @7 {& Q, O/ U  c
  339. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such! O4 C) q" F9 a
  340. ; encodings.  To use this feature, mbstring extension must be enabled.2 M# v! g" Z( f3 \* v" f' ^( f; A7 N
  341. ; Default: Off
    : B1 W+ [2 a) j  i4 {+ {2 f$ w
  342. ;zend.multibyte = Off
    8 V1 y9 |) R1 t6 X( k7 E& B

  343. ; B! t9 s: B1 L! D, q' i8 k$ s" ^
  344. ; Allows to set the default encoding for the scripts.  This value will be used
    8 j: a4 l6 g& ]! w" m
  345. ; unless "declare(encoding=...)" directive appears at the top of the script.
    ! {7 I6 W; g) n* |: X4 k
  346. ; Only affects if zend.multibyte is set., L& f' u- K2 T' x# b
  347. ; Default: ""
    3 [+ i" [( C+ a. {* r( B% E4 v; y/ I
  348. ;zend.script_encoding =
    1 \" U4 s3 T" U
  349. ) n# W- M1 x) |2 w& U' v
  350. ;;;;;;;;;;;;;;;;;7 X9 }3 f" B' ^- D+ V; f1 _
  351. ; Miscellaneous ;. C1 }- H, b; f4 E8 _
  352. ;;;;;;;;;;;;;;;;;+ q" X. ?! ]9 C6 ]% ~4 I0 O

  353. 5 l! g1 t+ [5 r. I2 L3 W+ a9 P
  354. ; Decides whether PHP may expose the fact that it is installed on the server1 B% `3 G' G8 J& p5 y" t. _/ q  E* Y
  355. ; (e.g. by adding its signature to the Web server header).  It is no security* b9 o- t, y! ]0 q# }: N
  356. ; threat in any way, but it makes it possible to determine whether you use PHP
    5 O- G% z: G+ x
  357. ; on your server or not.
    ' W, {* N3 {4 G& p0 k, U
  358. ; http://php.net/expose-php
    8 W/ o9 R1 l5 k2 `: X9 X
  359. expose_php = On( U( b6 }+ F% u8 m) e

  360. 2 Y+ ?. i. I" _0 e# O3 ?9 x
  361. ;;;;;;;;;;;;;;;;;;;) \0 x: H' V; O
  362. ; Resource Limits ;
    # m' z; n4 M; E) |0 X
  363. ;;;;;;;;;;;;;;;;;;;
    6 M- n$ u( u, P4 u6 r( s

  364. . \8 s* b8 O& U: t; k# F; K
  365. ; Maximum execution time of each script, in seconds
    ( E( I- O; L( k. C
  366. ; http://php.net/max-execution-time( P1 L8 w6 R  A+ A! Y9 a# B
  367. ; Note: This directive is hardcoded to 0 for the CLI SAPI
    * ?0 @7 t! f0 n; ]
  368. max_execution_time = 300
    " T) X* j1 f7 o1 f, Y& z. m
  369. ) B/ O& X6 A" ^
  370. ; Maximum amount of time each script may spend parsing request data. It's a good- v" A7 I, F8 q" F  ^% |1 o
  371. ; idea to limit this time on productions servers in order to eliminate unexpectedly
    4 x+ B0 f/ p: Q% a& @; N
  372. ; long running scripts.
    ) @  H/ g$ x0 d: S
  373. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    9 {0 I' d7 R% B5 A3 j& k2 J7 J
  374. ; Default Value: -1 (Unlimited)
    ; ]4 c) {  E. @' ]3 s5 v! h) s
  375. ; Development Value: 60 (60 seconds), _; f* J" V% v- m9 C0 Y- }
  376. ; Production Value: 60 (60 seconds)' y1 i8 e% x& Q5 K3 y- v4 w
  377. ; http://php.net/max-input-time
    7 Z+ w. u& Y9 D' S0 b' A6 t) w; ^: z/ l1 T2 q
  378. max_input_time = 602 t- `* L6 t9 v1 {; G

  379. 0 g. k: U; ^1 Q
  380. ; Maximum input variable nesting level
    2 w! h; U, T& m
  381. ; http://php.net/max-input-nesting-level  l; C+ h1 C7 [3 g- T
  382. ;max_input_nesting_level = 64
    - f# j! F4 g7 W, l% P' _$ L

  383. 5 j% G7 v0 L4 ?$ p- P+ `
  384. ; How many GET/POST/COOKIE input variables may be accepted
    ! {& K( M* d' d
  385. ; max_input_vars = 1000) x6 K5 e! s6 W- `; Q' _8 J

  386. . q- E( f2 R# @$ v
  387. ; Maximum amount of memory a script may consume (128MB)% W0 C3 d. m9 {/ v( f, @- Y- k5 J
  388. ; http://php.net/memory-limit
    ! z7 g& @  o6 Q
  389. memory_limit = 128M
    5 ~# a1 p. ~8 e/ ^) A0 l- D
  390. - n6 v+ K% ]! L8 O5 F
  391. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    2 k) l9 x) ^% ]7 k3 Q1 H
  392. ; Error handling and logging ;
    4 c, _, G0 p% E) \4 U9 H
  393. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;- w! n, |; t% z: E9 o6 k- U

  394. ; I; {- x2 d" }4 j# J4 q+ f1 `! F6 b7 H' v
  395. ; This directive informs PHP of which errors, warnings and notices you would like
    0 e7 y* k2 \* f& A. e
  396. ; it to take action for. The recommended way of setting values for this  P8 D0 }/ k8 V6 r5 ?1 E  e' Y. S
  397. ; directive is through the use of the error level constants and bitwise
    0 p1 s' `+ Y& o9 J" s5 T
  398. ; operators. The error level constants are below here for convenience as well as2 Y9 n, x& z0 C/ q; Y
  399. ; some common settings and their meanings.% D2 |4 Y- x; N; e
  400. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT# [! r5 t! J6 v$ \# g
  401. ; those related to E_NOTICE and E_STRICT, which together cover best practices and
    1 q9 l) T# F* L
  402. ; recommended coding standards in PHP. For performance reasons, this is the
      T# {% G# H/ K% `9 P9 T5 T
  403. ; recommend error reporting setting. Your production server shouldn't be wasting9 `1 Y+ O" t% e" s
  404. ; resources complaining about best practices and coding standards. That's what
    + q- F; c6 Z' @. p6 s7 T
  405. ; development servers and development settings are for.
    ; D; {+ X! t; e* Z
  406. ; Note: The php.ini-development file has this setting as E_ALL. This
    # o0 a" S" V1 f- C% Y! d0 F6 h7 Y
  407. ; means it pretty much reports everything which is exactly what you want during( Z9 H4 h( |+ ~& I" v9 ]( g! m
  408. ; development and early testing.5 ]+ ]/ ]/ v3 b; ^7 e& b
  409. ;, k2 Q4 F- l9 l. h
  410. ; Error Level Constants:
    % a2 a$ p9 y+ ^% t
  411. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)
    ! \7 H8 g" y$ V! q
  412. ; E_ERROR           - fatal run-time errors, J1 t1 Y0 ~( }  }) D: P
  413. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors' J" X; ^  ^8 A% @$ i; d
  414. ; E_WARNING         - run-time warnings (non-fatal errors)
    + `( U% E8 n5 x% S" r0 j: X
  415. ; E_PARSE           - compile-time parse errors
    6 c% K  N, L! T8 U) s
  416. ; E_NOTICE          - run-time notices (these are warnings which often result
    ) \+ Q$ V: l& I- G: [" c+ W  d
  417. ;                     from a bug in your code, but it's possible that it was
    7 e6 M- T2 v" U/ C# S
  418. ;                     intentional (e.g., using an uninitialized variable and
    7 e7 q) B4 J9 ~8 T7 f; k/ z
  419. ;                     relying on the fact it is automatically initialized to an
    7 z5 W2 F; n, L2 J) d
  420. ;                     empty string)
    & H; L9 Y( J. Y: O! O: A1 _
  421. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    2 y. Z. ~/ h8 i2 O7 v9 h
  422. ;                     to your code which will ensure the best interoperability
    ; R4 z- y  h0 v
  423. ;                     and forward compatibility of your code
    1 ?; u6 O# V! C! c! a8 x; @. J: I6 Q
  424. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup4 \2 A# }- L0 m
  425. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's
    ) h3 u- k+ A3 \* d' _. p+ x
  426. ;                     initial startup0 w# {* Q2 j3 D* b$ X0 l# Y
  427. ; E_COMPILE_ERROR   - fatal compile-time errors- X' t, \6 E/ m+ P; D
  428. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)) m( w$ i$ ?5 _3 R3 g) t# V
  429. ; E_USER_ERROR      - user-generated error message
    + {) R0 B) H) C8 U* `5 B
  430. ; E_USER_WARNING    - user-generated warning message
    * ]% L3 T/ m, l) D2 X5 l
  431. ; E_USER_NOTICE     - user-generated notice message" ^7 ?. i: \. a, ]/ p/ c' p
  432. ; E_DEPRECATED      - warn about code that will not work in future versions
    + P, j/ H0 J2 T+ D8 Q1 O
  433. ;                     of PHP
    ' A9 k. y0 a. J( ^! E# i8 y
  434. ; E_USER_DEPRECATED - user-generated deprecation warnings
    ' ?. f  b9 o; X# k) D$ D
  435. ;
    - ]& ?/ M: E! {8 N$ j& I8 w  a
  436. ; Common Values:. k. M: M! P9 `) n* n
  437. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    ; s" E- z1 C) k0 O- |$ E1 C
  438. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)# Q0 m: h( Q% S: z
  439. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)6 T3 H# K6 r# e7 I2 B2 T
  440. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors)
    $ q7 i) ]0 p4 L5 x! L9 p1 n4 @
  441. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED8 [% D. y; l$ C
  442. ; Development Value: E_ALL
    1 v$ f8 M0 \0 V5 {# k
  443. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    . o5 y3 L) g1 m0 C
  444. ; http://php.net/error-reporting5 e! N" X& p0 }6 X% \7 G. j
  445. error_reporting = E_ALL & ~E_NOTICE
    # K. c1 M4 Z4 D% ]4 d, ~
  446. 4 T0 I5 }8 }! F; H
  447. ; This directive controls whether or not and where PHP will output errors,
    3 C) _- O; j8 d; x5 t
  448. ; notices and warnings too. Error output is very useful during development, but
    4 z1 B+ k6 V: N8 o! E0 [
  449. ; it could be very dangerous in production environments. Depending on the code, j0 a  ^" q9 W( Q7 B' |
  450. ; which is triggering the error, sensitive information could potentially leak
    - A0 p: ?+ u$ J; G3 j6 `( U( b
  451. ; out of your application such as database usernames and passwords or worse.
    " _2 w, Q: r! B8 R- b* m! C. h
  452. ; For production environments, we recommend logging errors rather than
    ( r, {7 H5 F2 b' m3 P
  453. ; sending them to STDOUT.8 a' Q- V% l2 \# K8 L
  454. ; Possible Values:" m7 f) F5 X9 ^6 s% a0 [. Q$ E
  455. ;   Off = Do not display any errors
    ! V& r- o& _9 w  V; n
  456. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)  e; W% G: i* w5 Z! Y6 p' i
  457. ;   On or stdout = Display errors to STDOUT
    % H1 \2 m" v( S; p9 U* q
  458. ; Default Value: On9 W" i* k3 U1 J2 O
  459. ; Development Value: On
    3 X$ d) h+ `& N
  460. ; Production Value: Off8 B: ~0 `; L/ _' ~5 R$ x% ?' P
  461. ; http://php.net/display-errors. y  _. @4 B' o3 P3 r+ K
  462. display_errors = On8 j  V2 ]& n. I
  463. ) N4 V5 r) y" V
  464. ; The display of errors which occur during PHP's startup sequence are handled$ g: L0 k, q( e. _: |6 H$ x
  465. ; separately from display_errors. PHP's default behavior is to suppress those7 n$ M" x1 Y- Z- D. {
  466. ; errors from clients. Turning the display of startup errors on can be useful in  F$ `' f1 b9 v: Z/ f
  467. ; debugging configuration problems. We strongly recommend you
    2 ^* R7 ?! P2 S" l+ a5 e0 v$ f
  468. ; set this to 'off' for production servers.
    4 V+ {- ]4 E! q! |# E
  469. ; Default Value: Off
    - ?5 X6 Z" F, Q' `1 E2 V4 Z* b7 f
  470. ; Development Value: On
    ) i/ ~) C- g5 e; [! ~5 T
  471. ; Production Value: Off
    6 S8 A- I- A/ u1 B- W
  472. ; http://php.net/display-startup-errors
    , T  F. M  D2 x6 P: u- _0 R
  473. display_startup_errors = Off% W2 o. j% g" P5 }/ M

  474.   m! F' c4 w( ?' Q
  475. ; Besides displaying errors, PHP can also log errors to locations such as a. v( o$ ~7 F; W! ~5 p
  476. ; server-specific log, STDERR, or a location specified by the error_log. D, Q6 G: o9 t0 e
  477. ; directive found below. While errors should not be displayed on productions
    7 s$ x# r; s) L1 Y$ _# |
  478. ; servers they should still be monitored and logging is a great way to do that.
    5 y( k4 b9 c% f& g1 ~
  479. ; Default Value: Off
    3 m# m6 C1 z" u- D1 p
  480. ; Development Value: On8 `: E8 C. ?5 a; J7 }) E
  481. ; Production Value: On
    3 t6 X: U4 |/ j6 ~- `3 _
  482. ; http://php.net/log-errors/ L7 M: x+ A* e! k) \
  483. log_errors = On
    - X/ f* Y1 J, Z

  484. * }8 B/ P$ V- v4 B- U( z$ T
  485. ; Set maximum length of log_errors. In error_log information about the source is% r" H. i* N6 _3 r! h1 r
  486. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.
    ! l. R- Q( B6 c, t2 g% \0 i
  487. ; http://php.net/log-errors-max-len; F( Y) p9 A- Z( l9 v0 b+ @# R
  488. log_errors_max_len = 1024
    6 M" r! Z% i9 M8 l
  489. 7 a; u; `3 ^$ H3 b7 L: F% ]
  490. ; Do not log repeated messages. Repeated errors must occur in same file on same: X$ d, l4 i9 U/ o- a: r# P
  491. ; line unless ignore_repeated_source is set true.
    4 d  n2 y. U) F! B) J  j% c) |
  492. ; http://php.net/ignore-repeated-errors' f; ~- i. V' @* M
  493. ignore_repeated_errors = Off  ]6 B4 ?* j% A/ T$ l: H& I
  494. # w: K) L9 t! R, ~/ N
  495. ; Ignore source of message when ignoring repeated messages. When this setting8 P2 R4 J$ I! ?9 n  w" V
  496. ; is On you will not log errors with repeated messages from different files or
    5 p# B6 c0 s, e
  497. ; source lines.5 e+ _9 a6 k* B; W
  498. ; http://php.net/ignore-repeated-source
    & R3 R. S5 W6 N( c9 q- A/ ?! n$ H
  499. ignore_repeated_source = Off
    ' n& C/ s: v% i" S6 ?! k9 h
  500.   |" D+ m* `: G: S& w0 g9 n
  501. ; If this parameter is set to Off, then memory leaks will not be shown (on7 L, l+ M" y6 t7 x& [- B/ b& l, l
  502. ; stdout or in the log). This has only effect in a debug compile, and if
    4 K5 i$ T! |9 p9 Z, s" h8 I) ]
  503. ; error reporting includes E_WARNING in the allowed list
    ; I2 ^; `5 m: {
  504. ; http://php.net/report-memleaks
    & E2 B* S7 {' A
  505. report_memleaks = On
    0 j" e2 Z4 c: W% ~% M& i* f
  506. . n9 n+ }% h/ }4 W/ K
  507. ; This setting is on by default.
    ! x8 ~$ v, n- f4 D7 A  m! r; n/ [% V
  508. ;report_zend_debug = 0# U+ J2 E; _6 D( x' i: N
  509. - T! |1 b) l. T  i
  510. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    9 t+ s& v( B$ C! \; i0 v' U, I
  511. ; to On can assist in debugging and is appropriate for development servers. It should
    ! L& y- G$ Q2 X, ~, j9 V* b( ^5 s
  512. ; however be disabled on production servers.8 t% |% O" y! y# b2 X4 v
  513. ; Default Value: Off
    : m" C' t8 i4 V
  514. ; Development Value: On
    0 R- r% `/ {) [' }( B0 q/ b
  515. ; Production Value: Off
    5 p$ j0 k' m" v* T0 e0 R' y, r
  516. ; http://php.net/track-errors
    " `! \# H, @# L$ ~9 u
  517. track_errors = Off3 `) F7 p9 n) g5 b  \6 ^! S, A
  518. ! \$ V% s: H( X1 X5 m) y  d2 G6 {
  519. ; Turn off normal error reporting and emit XML-RPC error XML
    ' X1 ?% G1 L6 x
  520. ; http://php.net/xmlrpc-errors
    . o* E1 C* S* H6 Q
  521. ;xmlrpc_errors = 0) `: t8 `( q. E* L1 L' f

  522. ! r- E+ p0 L! z- Q6 l
  523. ; An XML-RPC faultCode
    " G7 o% Y; I4 q' Y/ z3 P
  524. ;xmlrpc_error_number = 0
    3 x' J" j  _3 J2 R) W; E) q( e- W

  525. 0 m- P( V! o# W  l. Q+ b
  526. ; When PHP displays or logs an error, it has the capability of formatting the; @/ x. \9 I( ~. E/ M
  527. ; error message as HTML for easier reading. This directive controls whether
      A) m; \% D$ _- y
  528. ; the error message is formatted as HTML or not.! z- S+ N% |0 B  J9 Z- f  W7 I
  529. ; Note: This directive is hardcoded to Off for the CLI SAPI# o; Q% F/ F4 O8 x8 @/ i8 B
  530. ; Default Value: On
    $ b, m" D4 Z$ W5 [
  531. ; Development Value: On
    ) @' ]7 n8 }! a
  532. ; Production value: On
    ' i" I  w, q' I# z( l) h7 B' u
  533. ; http://php.net/html-errors
    2 N& W1 U$ \5 Y2 U; d
  534. html_errors = On/ g8 t% |% m' q- S" G& l7 C/ O
  535. + _$ [% g" M2 t/ }. u2 H( l/ w
  536. ; If html_errors is set to On *and* docref_root is not empty, then PHP+ E  C6 a/ r$ n! S1 D6 i0 u
  537. ; produces clickable error messages that direct to a page describing the error! M$ w6 B4 a8 {- ]6 G
  538. ; or function causing the error in detail.& h' V7 y: q/ @7 Z8 [; U1 S
  539. ; You can download a copy of the PHP manual from http://php.net/docs. \1 V& S! z# G6 j- `# i5 n
  540. ; and change docref_root to the base URL of your local copy including the  \$ p% l0 m8 E$ }+ I. J4 C9 E. ?# J
  541. ; leading '/'. You must also specify the file extension being used including0 w+ N3 y$ I6 w5 J  W2 u' V1 `, Y
  542. ; the dot. PHP's default behavior is to leave these settings empty, in which
    $ F3 ^7 y7 n6 ?5 H
  543. ; case no links to documentation are generated.  ^" y/ A! {1 w0 ~
  544. ; Note: Never use this feature for production boxes.  e9 @/ U' s/ t7 z6 Z- i
  545. ; http://php.net/docref-root+ C# ?* _& z: }0 P
  546. ; Examples
    " e# s' z2 y3 g8 ~: Q/ z
  547. ;docref_root = "/phpmanual/": U& `5 ~6 c3 s- S4 W; u

  548. , ~6 s, Q4 [. m
  549. ; http://php.net/docref-ext
    - r/ L0 ?8 W- H! T0 O
  550. ;docref_ext = .html
    8 x, K" q( ^$ k! \* h3 F. |" o
  551. & N8 {9 ]/ g  W' J
  552. ; String to output before an error message. PHP's default behavior is to leave
    $ m# a1 {; Y! j2 K# ~. l
  553. ; this setting blank.
    " }3 L  i3 U2 ?2 r7 ?: C
  554. ; http://php.net/error-prepend-string$ h" g5 ^3 B0 V0 K& m+ k) n) ^3 W4 F
  555. ; Example:
    . P, ?3 P5 n, t
  556. ;error_prepend_string = "<span style='color: #ff0000'>"
    % N; }. `4 c+ P- C$ j

  557. * t: v9 Q4 F  b
  558. ; String to output after an error message. PHP's default behavior is to leave, F  t8 @( p" R6 p4 r/ v0 H3 G
  559. ; this setting blank.$ G7 @) W' v9 R6 l
  560. ; http://php.net/error-append-string" m+ {! k4 g/ m& j$ S
  561. ; Example:
    & ]" w4 v+ i7 I$ X
  562. ;error_append_string = "</span>"4 ^, ^9 P# c0 D! H+ X: \
  563. ( Q9 C  [$ g7 j/ X) b+ P7 p) d- T
  564. ; Log errors to specified file. PHP's default behavior is to leave this value
    1 W0 I  k2 W/ ~& n; @
  565. ; empty.4 h; q; e6 X+ x  s! `9 h
  566. ; http://php.net/error-log, J  ^  }! @7 u
  567. ; Example:
    % ^2 D  R% O2 Y0 O! F" T
  568. ;error_log = php_errors.log( \3 f. N! \  n- j
  569. ; Log errors to syslog (Event Log on Windows).
    & f* q7 a/ x6 z! x0 u
  570. ;error_log = syslog% G. o  r  D. y  ^! G

  571. % Y$ ^  b. k, b" ]% G  a# [% w
  572. ;windows.show_crt_warning9 Y  A+ i/ L; d. \! R0 v* P3 I
  573. ; Default value: 09 J5 u& ~8 A5 f
  574. ; Development value: 0
    / J" i# c: m+ y( q7 C1 Z4 q
  575. ; Production value: 0! j  h9 r$ _) p
  576. ' u' l" N0 W- f! S9 T8 D) x
  577. ;;;;;;;;;;;;;;;;;
    0 `/ ^) e. n5 y- n+ g
  578. ; Data Handling ;
    9 P6 X. O; v4 U+ ^& v
  579. ;;;;;;;;;;;;;;;;;) d! @0 z1 }" L0 p' H! c8 ?

  580. 6 M# W1 Y' J! Z' R6 n, e9 m2 S/ I
  581. ; The separator used in PHP generated URLs to separate arguments.. F" A* b, T3 q- N" `, J$ m9 ?8 v
  582. ; PHP's default setting is "&".
    * V  C$ q  Y6 Z8 A
  583. ; http://php.net/arg-separator.output' U4 i2 {  i% `' r
  584. ; Example:' L+ c  f: i$ v3 h# p
  585. ;arg_separator.output = "&"
    ( F3 \2 N0 p0 `6 j2 L; _- t1 h
  586. 9 T  b1 p/ Y: H) f- O
  587. ; List of separator(s) used by PHP to parse input URLs into variables.( [" @( R+ K* R5 ]/ r9 L1 D
  588. ; PHP's default setting is "&".
    " ^% _# Z& o8 Q' P& a* T' k
  589. ; NOTE: Every character in this directive is considered as separator!
    7 q. ~4 R6 N. Z; p4 v
  590. ; http://php.net/arg-separator.input7 m% `. f; A6 p% V1 y* d/ B3 ]
  591. ; Example:; C; B# Z  y' q: n: ]
  592. ;arg_separator.input = ";&"
    3 F; x) e0 M% }! O1 d
  593. ( ?$ F/ _, J2 h/ W2 w+ q% `0 K$ }6 [
  594. ; This directive determines which super global arrays are registered when PHP/ l  D7 I% A; p4 ?& X7 |  B2 \
  595. ; starts up. G,P,C,E & S are abbreviations for the following respective super" w# O4 G, `1 A: O; p$ j
  596. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty( N! _8 I  o$ Q7 w: K4 K- H* ~2 D
  597. ; paid for the registration of these arrays and because ENV is not as commonly
    * O6 L& g: V7 ?8 s4 e! b
  598. ; used as the others, ENV is not recommended on productions servers. You+ d3 i* M, T3 Q
  599. ; can still get access to the environment variables through getenv() should you; s! n$ k; x& j) m. h
  600. ; need to.
    % x! x. [; @5 c+ H! z( d% k5 I. ]
  601. ; Default Value: "EGPCS"
    . O1 O& ~5 _7 @: I6 O" g
  602. ; Development Value: "GPCS"1 Q5 W9 g# a% X1 u( l; Z
  603. ; Production Value: "GPCS";$ J* P' r: E1 e, M
  604. ; http://php.net/variables-order
    ; q' `! Z" e  X# w2 q
  605. variables_order = "GPCS"
    , E, H& W2 {1 p% C1 H, z3 J
  606. 8 s( K5 J* H) C+ o
  607. ; This directive determines which super global data (G,P & C) should be; |9 n0 Q3 k* }7 Y
  608. ; registered into the super global array REQUEST. If so, it also determines6 d" \4 v9 t( j! g5 D
  609. ; the order in which that data is registered. The values for this directive
    ) t# Y/ k  J1 U7 \1 d6 t% |
  610. ; are specified in the same manner as the variables_order directive,
    ! B, \' n* X' ?% i8 M# Y, M
  611. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    , M2 [2 @+ q0 t3 q9 v
  612. ; in the variables_order directive. It does not mean it will leave the super9 Y, y$ V( a" [) O: J4 O
  613. ; globals array REQUEST empty.
    : l: p2 Y& {2 n+ d
  614. ; Default Value: None1 j0 y1 A' o- J. O
  615. ; Development Value: "GP": L* \$ r4 R+ D) n
  616. ; Production Value: "GP"7 x7 Z4 q* R+ v6 V/ d
  617. ; http://php.net/request-order
    8 r2 {& `) K  y) ^5 K6 s
  618. request_order = "GP"/ T% d# A; F4 Z; _: r
  619. 8 w2 ^, t" W* B$ |! }9 P4 l
  620. ; This directive determines whether PHP registers $argv & $argc each time it
    6 r+ d4 ^3 v' w3 ?/ P
  621. ; runs. $argv contains an array of all the arguments passed to PHP when a script4 S; T: z( m+ I! o
  622. ; is invoked. $argc contains an integer representing the number of arguments) ?6 ]- k# l& S7 y& R( }
  623. ; that were passed when the script was invoked. These arrays are extremely1 ?4 ?% ^0 a  \* b0 [
  624. ; useful when running scripts from the command line. When this directive is
    4 Q3 _4 D% `' l; p3 m: Z
  625. ; enabled, registering these variables consumes CPU cycles and memory each time
    8 i# Q3 _! ], F3 _( E! ^
  626. ; a script is executed. For performance reasons, this feature should be disabled8 a# w, L& f# \8 ^# Y# H
  627. ; on production servers.' Z1 J, E. ^0 }# y
  628. ; Note: This directive is hardcoded to On for the CLI SAPI
    ) w) |( r# B  z. Z7 o
  629. ; Default Value: On
    , G# v; e; v2 R; V  X" f
  630. ; Development Value: Off
    8 ]) _# T: s* W' m6 S
  631. ; Production Value: Off
    & j7 o0 Z; A* a5 X6 j; b
  632. ; http://php.net/register-argc-argv0 G( |) x! d) K8 V7 [7 d, z
  633. register_argc_argv = Off# B5 F' d' ~: }2 k

  634. " \; r0 t$ f: i. N$ `' \; u
  635. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're. m  e" H2 N2 b4 L( q6 u
  636. ; first used (Just In Time) instead of when the script starts. If these# q$ ]# R9 X: C4 @
  637. ; variables are not used within a script, having this directive on will result
    ) i) M$ Z# s2 b4 K7 j- O
  638. ; in a performance gain. The PHP directive register_argc_argv must be disabled% O0 h% F/ ?4 m- b5 V
  639. ; for this directive to have any affect.0 E; q. _( r# Q! Y9 P- S
  640. ; http://php.net/auto-globals-jit
    " Q4 r4 K9 h0 T4 g' S0 L
  641. auto_globals_jit = On4 K2 d/ ?- @. r; ?0 n' i* Q' G
  642. 1 d$ O) i8 N: k! p
  643. ; Whether PHP will read the POST data.
    . S' z4 c/ N2 K3 x+ Y8 Z
  644. ; This option is enabled by default., h" ]8 U. a$ [) m1 F1 R
  645. ; Most likely, you won't want to disable this option globally. It causes $_POST
    $ q6 F* Q% C+ G( F$ d
  646. ; and $_FILES to always be empty; the only way you will be able to read the
    * G) o9 ^+ o6 @9 H8 _& r
  647. ; POST data will be through the php://input stream wrapper. This can be useful
    : O3 r0 E; Z% V5 k
  648. ; to proxy requests or to process the POST data in a memory efficient fashion.( b- }8 G8 a& u1 V  c  I
  649. ; http://php.net/enable-post-data-reading; X% k# r4 e: r6 U; Z
  650. ;enable_post_data_reading = Off
    * k1 K% H$ I8 R% O
  651. 3 u. D+ G/ B8 X, J8 }5 t; M
  652. ; Maximum size of POST data that PHP will accept.
    3 Y* U$ F' M' E* c" g) I& k# j
  653. ; Its value may be 0 to disable the limit. It is ignored if POST data reading. v' V3 z8 y1 l2 H* l! T: Q
  654. ; is disabled through enable_post_data_reading.* @% }1 b4 T- W" T
  655. ; http://php.net/post-max-size: ]7 n) n% Q* j: D- `% B; T
  656. post_max_size = 50M
    " L) J8 {" [- y9 Y

  657. 6 E& I; Z! w! G' P5 Y% ~# d. _
  658. ; Automatically add files before PHP document.. m* G0 t9 V; Z% N/ b$ ~1 M% H
  659. ; http://php.net/auto-prepend-file
    . K. |" m/ E9 i0 f
  660. auto_prepend_file =* m7 g. g- _$ ~! q$ d8 c
  661. ( p+ Y  u6 J. k) m0 D& U; N( Y& x& y! A
  662. ; Automatically add files after PHP document.
    + L  b) R" w! g' k& x
  663. ; http://php.net/auto-append-file! `6 r# O/ F9 }$ o8 N& _! i
  664. auto_append_file =' R" e6 P. H# x' H

  665. ! }; G/ ~  j. W2 N5 J* }; @
  666. ; By default, PHP will output a media type using the Content-Type header. To
      C! L' n$ d4 ~
  667. ; disable this, simply set it to be empty.
    # O) L; u- [8 R
  668. ;# B5 Q3 n" P) F5 b
  669. ; PHP's built-in default media type is set to text/html.& G, |. F3 P0 I+ [2 [
  670. ; http://php.net/default-mimetype
    % p3 l- Z0 M$ x3 j( q. ^* e
  671. default_mimetype = "text/html"
    * @$ V7 q" C/ m0 }# D

  672. 2 o4 B6 _; F6 l8 Z) Y
  673. ; PHP's default character set is set to UTF-8.( |! T: W. w$ [# v+ @% h7 S
  674. ; http://php.net/default-charset
    8 v! U5 p& T% D
  675. default_charset = "UTF-8"
    2 d3 f; |  A; Q/ u

  676. % O. {& q- e3 h' C3 A
  677. ; PHP internal character encoding is set to empty.
      v- T) A! |/ H& v9 Y
  678. ; If empty, default_charset is used.
    5 s7 C( k5 l# v0 b) m
  679. ; http://php.net/internal-encoding  H& u5 k- d& w% y7 p
  680. ;internal_encoding =
    * a+ y7 X4 E3 U% |

  681. 2 ]5 Y: Y7 [2 t$ ?; C5 I
  682. ; PHP input character encoding is set to empty.( o8 z7 S0 F. ?& B( `' A5 ~
  683. ; If empty, default_charset is used.# [2 X2 h. w/ ^- p- `9 q
  684. ; http://php.net/input-encoding
    2 j0 E( q4 O" G& g, C
  685. ;input_encoding =
    2 e1 M1 t: |& l9 r- x( h
  686. 4 J. f* N7 P/ Z
  687. ; PHP output character encoding is set to empty.
    5 V$ |5 V5 t! z* H  @1 a0 H! Y- I
  688. ; If empty, default_charset is used.6 A, n0 R) j# i6 o9 Z. W1 W: d
  689. ; See also output_buffer.
    * l' L6 l5 M  L3 b0 A# `
  690. ; http://php.net/output-encoding5 a1 c2 t* `5 D$ R9 U7 A% l
  691. ;output_encoding =# i$ V  x* o7 A# V
  692. ' \& ]+ x% H. I6 c! S, Z2 ^
  693. ;;;;;;;;;;;;;;;;;;;;;;;;;
    - j  J* O% r$ [8 ?: j3 K% {
  694. ; Paths and Directories ;; G" E1 e& Z% T9 w
  695. ;;;;;;;;;;;;;;;;;;;;;;;;;7 f$ D! d6 C$ c: H

  696. 2 [% M: ]5 I! x; U
  697. ; UNIX: "/path1:/path2"
    8 k9 L; M* M# M0 d% e
  698. ;include_path = ".:/php/includes"
    8 ~! x6 g3 c/ |
  699. ;6 i  c- W, c% R, [! J% l
  700. ; Windows: "\path1;\path2"( y! E, E' q0 X6 P$ E% [
  701. ;include_path = ".;c:\php\includes"
    7 y5 P# T" Q# G1 @1 M3 h
  702. ;
      V6 _; r, T2 ~* ]
  703. ; PHP's default setting for include_path is ".;/path/to/php/pear"7 `8 @+ v& s& R6 e* H" n) Q, p, q) f' C
  704. ; http://php.net/include-path
    & y: }3 Y7 [9 K9 E* I
  705. ) s9 f' i. H4 T% C9 e
  706. ; The root of the PHP pages, used only if nonempty.+ X: d5 M9 {6 d! E$ x" s
  707. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    3 a& m: W  s$ f! a2 G
  708. ; if you are running php as a CGI under any web server (other than IIS)
    ! F+ i9 \9 d, y# b& x# o: Q% G" A
  709. ; see documentation for security issues.  The alternate is to use the" y/ ~  d( g: M5 H9 b5 }
  710. ; cgi.force_redirect configuration below
    & y$ N0 E. J7 T  }
  711. ; http://php.net/doc-root
    , S0 X' c# X" M3 B! }4 ?) S  i
  712. doc_root =
    5 P# Y0 T. ~  ]9 _+ @& l* B
  713. . I. {" W! g, U( C& c# R
  714. ; The directory under which PHP opens the script using /~username used only
    4 i# E) [: m2 Y. m4 v+ K
  715. ; if nonempty.
    ( s) Z/ O: p$ i" l! f* k, @
  716. ; http://php.net/user-dir
    2 y  S/ N8 [$ d$ ~' {
  717. user_dir =+ h4 M4 E( D8 y0 H- j& n

  718. ! D: r2 @" }' o; D- r5 z
  719. ; Directory in which the loadable extensions (modules) reside.3 ]9 Q$ p7 i$ W0 Y
  720. ; http://php.net/extension-dir: f1 m& f0 ~) f8 }: H7 q% w% H
  721. ; extension_dir = "./"
    . f' ?: ]; i- x9 f5 p
  722. ; On windows:/ H- B' P* G  C, m6 n- ?: q
  723. ; extension_dir = "ext"- g6 J1 I( l  D. i9 g
  724. ( U: j. ~# O1 B
  725. ; Directory where the temporary files should be placed.6 S. N/ X7 }  b' Z% G) v- p
  726. ; Defaults to the system default (see sys_get_temp_dir)
    8 p3 x* C  q2 f& C  A! o
  727. ; sys_temp_dir = "/tmp"
    ' w% a( d! A- i5 O" o
  728. / r4 k$ Y; `, J, A; F, p
  729. ; Whether or not to enable the dl() function.  The dl() function does NOT work
    5 H3 \$ s& A5 ~, K1 h% s
  730. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    7 ]: n5 B* O3 _- |6 v
  731. ; disabled on them.
    . y# T3 ~1 v3 @) T
  732. ; http://php.net/enable-dl
    / ~0 B( l7 [& N6 {( d9 c0 m
  733. enable_dl = Off/ P8 x0 ^+ |, h: B' O, `
  734. + K2 t# Y% @2 C: K. M
  735. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under+ O- d7 H/ X) N
  736. ; most web servers.  Left undefined, PHP turns this on by default.  You can% F( k% D" `. O5 b
  737. ; turn it off here AT YOUR OWN RISK
    4 U8 e& p9 {. W1 f8 r
  738. ; **You CAN safely turn this off for IIS, in fact, you MUST.**! l4 N7 j2 a# I# t" z' k, S8 l
  739. ; http://php.net/cgi.force-redirect. K, r# I% O4 m$ q
  740. ;cgi.force_redirect = 1, I/ ^% n6 z. {# h2 }& S  l- z

  741. 6 O- c0 Y+ a9 l& O
  742. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with+ x; a2 T1 z, w3 g
  743. ; every request. PHP's default behavior is to disable this feature.
    5 ?9 }' P& t4 x+ g8 W4 p
  744. ;cgi.nph = 1
    # Y9 ?) ~* N" b

  745. , l" q. c( J5 y
  746. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    ' @; |* {4 Q0 @) C! `: V8 O
  747. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP3 l$ ?3 s5 |  b/ @
  748. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    0 N3 B) ?" G+ b2 }7 J! m4 m
  749. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.2 w7 ^8 \$ [  M7 k1 y* B6 |
  750. ; http://php.net/cgi.redirect-status-env
    & Q+ p8 `$ \, [* f# z& }- D6 c7 n
  751. ;cgi.redirect_status_env =
    4 F7 T+ K7 v6 t# m# m3 \$ c, Q; y
  752. 3 w/ h, x# s9 u& K9 \0 B+ N* s8 T
  753. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's/ W) H% p- P2 o, ~% N+ N
  754. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    3 w; ?. h) Q, ~! a5 Z; _5 v' p
  755. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting
    2 E, x: W+ D) q$ ~, \, k2 N
  756. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    " t& U& q% I- k3 r; i
  757. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts" W! u% ?7 u; W+ d: C
  758. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.; q  M0 I% j: f* [, i1 J
  759. ; http://php.net/cgi.fix-pathinfo% @. P; |" ]1 e, Z. K5 Q
  760. cgi.fix_pathinfo=1+ X1 X8 z0 F, n. H% u& v, n

  761. + D. P9 }  G; i' Q
  762. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside  y( {  _& _! s
  763. ; of the web tree and people will not be able to circumvent .htaccess security.! ?( M9 d' p+ k- ~, X; {4 D7 r
  764. ; http://php.net/cgi.dicard-path6 `) G# k( k. v, @9 R, S
  765. ;cgi.discard_path=14 I- Q* w1 s+ [- Y

  766. , g1 v* V& ]* p$ U; d, B
  767. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate
    ) p3 p' Z* s, L" q3 e' B1 x% F
  768. ; security tokens of the calling client.  This allows IIS to define the# k5 r2 a! U6 O3 M
  769. ; security context that the request runs under.  mod_fastcgi under Apache+ G% p/ [5 `/ q) {& L6 _' J+ o
  770. ; does not currently support this feature (03/17/2002)$ H* X3 ^( l; F/ l- u
  771. ; Set to 1 if running under IIS.  Default is zero.3 j" R: P& o  b
  772. ; http://php.net/fastcgi.impersonate
    9 }% ~/ H! b$ p) F9 _
  773. ;fastcgi.impersonate = 17 |- u' q- D2 U

  774. . Q* f3 p" b  T1 y
  775. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
      G9 b: r+ |# |& T; l
  776. ; this feature.
    3 C& j% k1 \; d) S4 k
  777. ;fastcgi.logging = 0$ ]& Q6 D5 Q( G2 W& U, G% S  U

  778. ' B! G  x1 b  {6 u, ?
  779. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to( x7 E5 B' c$ d( E) V
  780. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that2 g" v) e- z3 b& v* G9 Q
  781. ; is supported by Apache. When this option is set to 1, PHP will send; t  w& v6 h* a, R. G( e. D* m
  782. ; RFC2616 compliant header.
    " j  ]9 T# c5 L1 P
  783. ; Default is zero.
    $ }: [. d, n$ P& s4 Z0 [
  784. ; http://php.net/cgi.rfc2616-headers+ q* [/ [6 o1 Z& c
  785. ;cgi.rfc2616_headers = 0" W; f. J- k8 m5 @# u" F
  786. / d: _& I1 L! A9 M8 u1 J- u
  787. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!2 l" b2 Z+ h6 N6 A2 W4 I
  788. ; (shebang) at the top of the running script. This line might be needed if the; q/ P9 l5 E, r$ F! h! M2 f9 Q
  789. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    : G/ Q0 r0 y: F; @# x9 c4 j9 _- j: j! J
  790. ; mode skips this line and ignores its content if this directive is turned on.0 p4 S" m- }! b- Z
  791. ; http://php.net/cgi.check-shebang-line
    % v0 R% J+ ]! m" ^! T
  792. ;cgi.check_shebang_line=1
    1 o/ i4 I+ B+ K8 A, b9 Y' k* ~
  793. . {& A7 u$ e6 Y
  794. ;;;;;;;;;;;;;;;;
    # y/ C* W, W- A* y' P
  795. ; File Uploads ;1 f" U# Z) L/ [0 B7 B
  796. ;;;;;;;;;;;;;;;;# i' s( A4 y/ R2 ]5 g' m

  797. / Z: u, {* t5 s$ d; M/ w: h8 j
  798. ; Whether to allow HTTP file uploads.
    ! G4 g/ j! j, }0 B9 s3 B7 t" |
  799. ; http://php.net/file-uploads
    5 C* u+ X) l5 l& e0 }1 ?
  800. file_uploads = On
      K9 I) e% H+ q& C
  801. 6 z, L; C. q8 j2 P/ [$ J
  802. ; Temporary directory for HTTP uploaded files (will use system default if not6 g( B5 H, D' j5 ^
  803. ; specified).
    1 w. e7 D' ~( b# x/ x, |. ~
  804. ; http://php.net/upload-tmp-dir. K7 K- [8 ^) u' W
  805. ;upload_tmp_dir =
    8 c" e3 s; a) S# k: `: E
  806. - \  N& X  S3 D- \# x( q
  807. ; Maximum allowed size for uploaded files.! K* ]; R( _; Z! y4 y
  808. ; http://php.net/upload-max-filesize
    5 Q" u2 w6 Q0 I7 V+ J! G
  809. upload_max_filesize = 50M  Q" Z& Q9 z# f: x' B$ ~( S5 L
  810. & j# Q6 z8 J9 P; \/ W2 q  U- W
  811. ; Maximum number of files that can be uploaded via a single request
    ( ^2 J% @6 a" Q/ S
  812. max_file_uploads = 20, j( A' B; s7 n/ u) B& p! y0 p

  813. 8 |" h1 \! J( b7 L# }- h* O/ |
  814. ;;;;;;;;;;;;;;;;;;/ P* {7 M  Z  r! G6 [* w, {/ Y4 ~
  815. ; Fopen wrappers ;
    / `1 ]2 g3 q5 b& t7 E
  816. ;;;;;;;;;;;;;;;;;;$ l# r' H/ _9 I0 y
  817. * Q# _! f8 b9 b' e, I0 X
  818. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.# t3 Y# ?/ i$ P) k& [
  819. ; http://php.net/allow-url-fopen
    9 B! m$ x& j0 I% S; C
  820. allow_url_fopen = On
    - F: c% o( x$ F4 b" o
  821. 5 O9 S, J* ]9 Z4 _
  822. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.
    " g0 j& A4 k, ]/ o
  823. ; http://php.net/allow-url-include
    & h3 D5 k$ u3 l5 U% n* J0 J
  824. allow_url_include = Off
    ' n1 Y7 J' D& Z- V. Y

  825. 8 I1 r2 @, U' @1 h; r" r4 d5 C
  826. ; Define the anonymous ftp password (your email address). PHP's default setting( t9 Q- H! ?0 k! z
  827. ; for this is empty., G4 {9 _* R: n# h* G5 {& B% s. C
  828. ; http://php.net/from8 O: o/ h5 l- h! b' z3 w' v  z' M
  829. ;from="john@doe.com"
    : [& U6 f4 t$ G+ K: B
  830. 7 p1 ~) z; }8 t! T, i
  831. ; Define the User-Agent string. PHP's default setting for this is empty.! [! P$ k+ H2 h  c( \9 u1 e
  832. ; http://php.net/user-agent
    6 w2 p* Z# b( C( n- N
  833. ;user_agent="PHP"; g+ K- @8 T. L
  834. % k: i5 h1 C# Z4 |2 @% U% I
  835. ; Default timeout for socket based streams (seconds)1 H! S/ d8 O5 O  ]
  836. ; http://php.net/default-socket-timeout
    9 r% {+ s, b+ J2 y/ `0 Y
  837. default_socket_timeout = 60
    * i: M0 D; f0 O. u5 O; f
  838. 2 {9 d) D  L5 n" U8 ?4 k4 f# h
  839. ; If your scripts have to deal with files from Macintosh systems,
    2 M& E3 o) K6 e+ e6 g' v; Q
  840. ; or you are running on a Mac and need to deal with files from
    5 x' ]: _/ s1 [3 h5 F- \  l
  841. ; unix or win32 systems, setting this flag will cause PHP to  J4 L  j1 x  Q
  842. ; automatically detect the EOL character in those files so that
    ! I# N3 G$ [/ `, Y, w. o
  843. ; fgets() and file() will work regardless of the source of the file.
    " R9 a9 ?& V: r6 Y9 d. q6 z
  844. ; http://php.net/auto-detect-line-endings
    . l5 t4 k, Q; ?) W
  845. ;auto_detect_line_endings = Off$ `" n& _$ k# Y$ z# j( g7 r* n
  846. 4 T; J3 V$ z, q* L' T/ _3 c
  847. ;;;;;;;;;;;;;;;;;;;;;;  n( W$ U/ y; F! j
  848. ; Dynamic Extensions ;& R; l) L# l4 Q" i* u# o
  849. ;;;;;;;;;;;;;;;;;;;;;;
    ; B  ~3 w5 Y( H5 Q2 L

  850. 1 X# X# f2 A* ~3 L* I
  851. ; If you wish to have an extension loaded automatically, use the following% p' i; p8 I6 s; q$ z
  852. ; syntax:
    ; [3 i9 \5 q; G. K6 _6 C: G6 V7 F  H
  853. ;8 w6 u, C1 T$ L/ ^+ [
  854. ;   extension=modulename.extension( q; m9 w- O8 e- ?6 c7 ^
  855. ;
    7 @# H! n* D( J
  856. ; For example, on Windows:
    ! C" R. g7 N* L
  857. ;
    $ q! J8 e. V/ {$ O9 |
  858. ;   extension=msql.dll: M1 A  q  B- a! C$ v: z3 _. W
  859. ;8 E7 y. i; \4 t. A" z
  860. ; ... or under UNIX:
    5 k( g! j$ z% _' G0 ^4 f) `
  861. ;+ Z7 {* M5 }: Y! h9 t
  862. ;   extension=msql.so
    0 M& E/ S" q" m3 {
  863. ;* T# `$ }& z2 o8 Q. L" W: m" W; P
  864. ; ... or with a path:4 }+ g: z: w  f+ \5 n) X
  865. ;
    - d. n2 J: q9 G' d) a* E0 B4 |
  866. ;   extension=/path/to/extension/msql.so
    ( w6 Y  n$ X1 z0 a; r6 Y
  867. ;# M) P1 n: R; C. w  \
  868. ; If you only provide the name of the extension, PHP will look for it in its
    # Y. P' l5 Y. U$ s6 }3 g! m  f
  869. ; default extension directory.
    3 V$ [3 |3 s3 }% ~& b; Y
  870. ;
    3 {. Z- n" }' N/ L; [
  871. ; Windows Extensions- B; d% v9 _: W
  872. ; Note that ODBC support is built in, so no dll is needed for it.
    5 G6 [# X" F4 [- ^* |7 ^
  873. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5+)5 q9 j) x) V1 {
  874. ; extension folders as well as the separate PECL DLL download (PHP 5+).9 L9 q* v! f4 Z( g: q
  875. ; Be sure to appropriately set the extension_dir directive.
    # D3 K9 n8 u; w9 P4 f! M, X6 Y, g
  876. ;
    - ~0 \) I' Y; @6 T6 q& |( L7 @6 M
  877. ;extension=php_bz2.dll
    6 [5 g, S2 S4 e) F& A
  878. ;extension=php_curl.dll
    9 }, E, F9 b9 `
  879. ;extension=php_fileinfo.dll8 `5 K' U' f2 o9 ^( f
  880. ;extension=php_ftp.dll
    % o9 j) E5 O' `" T3 c2 N0 i
  881. ;extension=php_gd2.dll+ A3 w- }1 O3 R  I
  882. ;extension=php_gettext.dll
    3 R' [2 P' i, H  ~
  883. ;extension=php_gmp.dll
    * i( K' ~( B9 F: Q5 ]1 P& e. f8 H  c7 z
  884. ;extension=php_intl.dll3 |( {, c% z' x0 _) @* l
  885. ;extension=php_imap.dll" [$ W6 E' f! f# M' I
  886. ;extension=php_interbase.dll% x9 L. R4 N3 R8 f2 L8 T
  887. ;extension=php_ldap.dll+ |) r1 V4 x6 H' A0 @( z
  888. ;extension=php_mbstring.dll; y1 C  U3 s! Q1 r$ w; G
  889. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    : G$ z) Y$ M1 f2 g
  890. ;extension=php_mysqli.dll
    2 J( h  M' O7 U. q7 t+ s/ B- y
  891. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client! G. R+ G( @& ~- ~4 C
  892. ;extension=php_openssl.dll
    " \; B# T# ~0 I
  893. ;extension=php_pdo_firebird.dll
    6 W& I( s8 |/ }1 w6 B: f
  894. ;extension=php_pdo_mysql.dll
    # i: l5 Q9 t/ v" p: C
  895. ;extension=php_pdo_oci.dll
      Z, i8 ]0 B3 M
  896. ;extension=php_pdo_odbc.dll2 G& Q1 @1 `: j9 J  K" _# V5 Y
  897. ;extension=php_pdo_pgsql.dll
    3 x7 |& d! g0 l, X$ M
  898. ;extension=php_pdo_sqlite.dll1 E2 _" i; u/ |  ]" ?2 y; k& r
  899. ;extension=php_pgsql.dll
    " y0 f. B9 x" M# l  ~" o+ w
  900. ;extension=php_shmop.dll
    ( t8 }1 g* l- x4 ^# x3 y* B

  901. 5 k0 p2 ]. m# n) T( m
  902. ; The MIBS data available in the PHP distribution must be installed.
    1 j* v0 i- q/ H, `
  903. ; See http://www.php.net/manual/en/snmp.installation.php! |5 p0 k0 N0 F0 p; M- h! K: {) o
  904. ;extension=php_snmp.dll# ]3 v7 v( A: K9 i& |, w9 F+ ]

  905. & n6 S6 u9 q3 \8 H; l; I" ?. m$ B
  906. ;extension=php_soap.dll
    , J# `) [$ ~! k. t2 q- L) ?
  907. ;extension=php_sockets.dll  V9 b, \* I% _! f; x& f, O, I
  908. ;extension=php_sqlite3.dll& Q: S, V; c3 j
  909. ;extension=php_tidy.dll4 t6 ?  I. C2 N, h) K& C. W: L$ E
  910. ;extension=php_xmlrpc.dll; ~  p- y! S+ i+ C- f' S6 _9 @
  911. ;extension=php_xsl.dll9 ?4 J& a0 N! b' E1 j) L6 d

  912. : d0 D( T" {8 o& \4 D, ~
  913. ;;;;;;;;;;;;;;;;;;;5 z. J, v8 M8 w; s; q8 G
  914. ; Module Settings ;
    0 A/ W% g" {( l7 ?0 \6 O6 X
  915. ;;;;;;;;;;;;;;;;;;;/ p+ d+ U7 X! z! B3 ^3 |
  916. & D! @. n) M3 U/ W: `# {
  917. [CLI Server]
    ! Y$ ^0 d2 D3 E0 V# A
  918. ; Whether the CLI web server uses ANSI color coding in its terminal output.4 `; D/ ^! C+ ]9 A2 o1 ?
  919. cli_server.color = On
      d2 l& t7 I$ D5 ~
  920. + V: L2 f$ y0 `& i
  921. [Date]3 M8 m; r2 r4 A( A6 n, P3 L
  922. ; Defines the default timezone used by the date functions% `5 x* b5 S4 V% T$ ]5 b
  923. ; http://php.net/date.timezone* Z7 O0 Z0 x% b9 o+ R# Y; M" |
  924. date.timezone = PRC
    / Q7 R, K* y2 d& `6 z3 ]# _2 G
  925. * c. x: {5 E4 m( A" b
  926. ; http://php.net/date.default-latitude/ u! l2 d- N+ A7 W' A6 E
  927. ;date.default_latitude = 31.76675 R2 T* \& E3 _' q
  928. ; Q; I; P' c5 t- c; e; v
  929. ; http://php.net/date.default-longitude
    7 N9 `5 r5 O9 l( C8 a
  930. ;date.default_longitude = 35.23338 L! }( O2 j8 ]4 r( A9 g+ i6 a

  931. 7 H# U% X8 U7 [2 }8 H& S5 x: C" u2 A; B+ Q
  932. ; http://php.net/date.sunrise-zenith, B  H. z& E5 X( M5 y5 f
  933. ;date.sunrise_zenith = 90.583333
    $ H) X) T) E8 G. Z  \9 S8 A) m4 `- z2 q

  934. % F" y! s% _# }: u% P' L+ [; X
  935. ; http://php.net/date.sunset-zenith
    1 z5 T0 q* d  I% z1 y- g' O  g
  936. ;date.sunset_zenith = 90.583333
    & X7 b* e" c. R/ i3 u9 S
  937. ; _6 o7 D- E& [% m  M
  938. [filter]8 ]' D" p# Y2 @# d7 t& ]2 l
  939. ; http://php.net/filter.default" M( t" P- o* t* ?" Y5 ]# D
  940. ;filter.default = unsafe_raw' A3 Y9 n! J7 S; P: a( ^

  941. / V1 a2 i+ w- ^
  942. ; http://php.net/filter.default-flags+ z5 n0 @7 K* W* W; W6 V
  943. ;filter.default_flags =: s  l+ L! z, {" D( \7 Y0 P" c
  944. 9 r7 ~9 \; l& @1 K4 _  X2 B
  945. [iconv]* j6 K8 w1 Z5 d3 L, I
  946. ; Use of this INI entry is deprecated, use global input_encoding instead.% X" g5 W1 S0 @4 J8 ]4 \' |9 R/ {
  947. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.0 @- W* m4 {3 A+ p8 w
  948. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    . @8 o* t) p! Z: Y  R; b1 m
  949. ;iconv.input_encoding =
    ( o; S% J, }. {5 F( b
  950. 0 x9 {5 _7 B3 F4 _7 ^
  951. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    2 ^$ o; M9 a! E! z! V/ r$ H0 u
  952. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.
    ! {: J) z1 @0 _( E; }* H
  953. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    % \" N& h- A) A  ]/ B
  954. ;iconv.internal_encoding =
    $ r8 ~' L" ~! C4 }+ }6 l+ o
  955. & `* x! F4 X' ^) T' E4 @* P
  956. ; Use of this INI entry is deprecated, use global output_encoding instead.
    6 ?% v& z3 v9 ?- b' _
  957. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.8 q7 c" C7 q6 u8 r, l
  958. ; The precedence is: default_charset < output_encoding < iconv.output_encoding- ]" K& R$ B, l  @4 @
  959. ; To use an output encoding conversion, iconv's output handler must be set% z$ ?8 F4 u7 v1 i
  960. ; otherwise output encoding conversion cannot be performed.4 @( P# c9 V! M( m/ h0 f! |2 x  @
  961. ;iconv.output_encoding =
    - G6 i- F$ L; X& U' z
  962. 0 ?) T2 y# g+ x3 p+ D
  963. [intl]9 d) I8 C* z2 B4 o7 {- H/ p9 O; o
  964. ;intl.default_locale =! i- T0 m8 @) n4 P
  965. ; This directive allows you to produce PHP errors when some error! P' a# a2 t) ^! g
  966. ; happens within intl functions. The value is the level of the error produced.' o2 m8 i( {. m, ~
  967. ; Default is 0, which does not produce any errors.* y. x) T, A7 |8 O5 j
  968. ;intl.error_level = E_WARNING$ k: @9 k* M" p/ _& c2 j
  969. ;intl.use_exceptions = 0
    ! A" e: k3 y2 e+ M! t

  970. / a7 x' \+ N* X; s5 }  F$ W  A
  971. [sqlite3], L# e' M# W2 z  I, l
  972. ;sqlite3.extension_dir =
    , X% W+ S) i, B$ `% r
  973. 1 G  p- Q! z8 I( f  q8 O4 B
  974. [Pcre]
    - t* K7 Q. k; @* Z
  975. ;PCRE library backtracking limit.  g& }0 ?0 H/ c! e5 h; J* z
  976. ; http://php.net/pcre.backtrack-limit  R% b: ~' |: z8 Z3 H- k; ^
  977. ;pcre.backtrack_limit=1000008 M. H7 K% l5 T- g! i! H! x$ E
  978. 8 i! \- R  v+ T- _4 t- L
  979. ;PCRE library recursion limit.
    - }- K* S$ d8 M2 Q
  980. ;Please note that if you set this value to a high number you may consume all
    , h# v- ?% h3 U- a- w: M
  981. ;the available process stack and eventually crash PHP (due to reaching the
    ) F9 ]! E* x6 q6 w1 S: S
  982. ;stack size limit imposed by the Operating System).
    7 ^! Q- Z# Y; H% a
  983. ; http://php.net/pcre.recursion-limit$ x" Z1 X6 F9 o; `& X. S* C# o* x
  984. ;pcre.recursion_limit=100000, M& `  R! Z5 }4 Q1 S
  985. 1 M( j; R$ y% ]' B) q" q) `) i/ L
  986. ;Enables or disables JIT compilation of patterns. This requires the PCRE
    ' c* n) b# `' u" W
  987. ;library to be compiled with JIT support.
    5 s* U. f& K" R( P% r) f* T
  988. ;pcre.jit=1
    , S0 |' b( r) E# }8 t8 Y! G" S
  989.   c7 w4 y- |0 ^1 `
  990. [Pdo]9 H; m- O8 _5 u5 _4 Y/ d* l. f
  991. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"' x/ F8 B# M2 }
  992. ; http://php.net/pdo-odbc.connection-pooling
    ' ~% S6 B% N4 A( j% P2 S" b9 t3 \( N
  993. ;pdo_odbc.connection_pooling=strict3 @5 C' F$ z2 g# {, }' A4 v* J
  994. # k" T1 b6 x% l# @+ q3 M
  995. ;pdo_odbc.db2_instance_name) J1 i0 W- Y1 \+ k9 G- y$ x
  996. 1 M* g+ O2 Q! ]. b$ F5 e" c, ~; J
  997. [Pdo_mysql]  f6 m# Z" j( Q& e7 ?% y4 p9 M
  998. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    & d+ h* {6 S/ E; O! Y, M
  999. ; http://php.net/pdo_mysql.cache_size
    + _, U. c2 |: W$ B" H7 _* d
  1000. pdo_mysql.cache_size = 2000) N7 E, S. ~* J/ r! A. W
  1001. " }, v: o) K8 N1 k# B
  1002. ; Default socket name for local MySQL connects.  If empty, uses the built-in8 p2 N( y( R# Z, r
  1003. ; MySQL defaults./ o1 _0 S0 A0 ^. U
  1004. ; http://php.net/pdo_mysql.default-socket" f3 D# [' ?' B! S. C
  1005. pdo_mysql.default_socket=
    2 `6 i. R  G. |: p$ g/ c/ ~
  1006. - ~& @8 d. G2 u9 g  _9 e$ A$ f; ?$ k
  1007. [Phar]
    6 V: q  A6 \+ Z' |1 X# J
  1008. ; http://php.net/phar.readonly
    ) y8 C- b3 e4 q/ [& a
  1009. ;phar.readonly = On: H. \/ K& Z- P
  1010. # z- t/ }; f2 \* T/ J: f% E- X
  1011. ; http://php.net/phar.require-hash* y9 K8 t6 p4 E  y
  1012. ;phar.require_hash = On
    7 C' L" d$ s  e* Y: M
  1013. 5 R1 \& x; q4 ]  {, L4 _' d
  1014. ;phar.cache_list =
    0 z8 ?( s! {8 h1 T2 N! o- J0 @

  1015. 6 O% \4 @6 a3 x2 a+ }. _0 I: y/ T
  1016. [mail function]4 q* i$ b7 z! s8 q( S
  1017. ; For Win32 only.
    5 ]* w/ y% e9 `/ u5 v  S* j
  1018. ; http://php.net/smtp/ r. W' R' \; \3 z
  1019. SMTP = localhost
    & N% U8 ~# a- T8 Q$ u  Q9 f* U
  1020. ; http://php.net/smtp-port
    1 `) p: n9 i+ K$ ^8 X, {( B
  1021. smtp_port = 25
    4 i9 ?7 l0 ?- R. u( B# g% A

  1022. / m0 W2 R% G: E% V7 N4 Z# o
  1023. ; For Win32 only.
    ) O; B) Q) P. {( s
  1024. ; http://php.net/sendmail-from4 u% z2 ]3 [& o- O5 }
  1025. ;sendmail_from = me@example.com
    6 p/ c  F+ a7 l6 W# f2 x. A5 i# K
  1026. 2 B) [  m% r( ^( [
  1027. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").- G$ V1 g$ A6 j. o- b7 N; M" k
  1028. ; http://php.net/sendmail-path
    6 X& p* |  m# F  b$ P. ^
  1029. sendmail_path = /usr/sbin/sendmail -t -i- z! N+ Z+ L5 |5 p: u  b) v- n

  1030. . G# B/ J, E8 r/ d4 O5 L
  1031. ; Force the addition of the specified parameters to be passed as extra parameters8 s$ q! p* ^1 n/ I
  1032. ; to the sendmail binary. These parameters will always replace the value of$ K4 k1 T; P# S6 {; X7 j" b% w
  1033. ; the 5th parameter to mail().
    ( M0 Y3 y+ L" p
  1034. ;mail.force_extra_parameters =% F) k0 i# W: _" c

  1035. 5 u* N8 H2 Q' S% D6 V1 }
  1036. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename+ m" r' t: U. a5 r* W; n! O
  1037. mail.add_x_header = On, H; s$ ^" o' ]6 Q3 l6 b! H- x
  1038. " z) a; [" o) j6 y
  1039. ; The path to a log file that will log all mail() calls. Log entries include3 \& I  Y9 y8 D2 ~0 m5 ?
  1040. ; the full path of the script, line number, To address and headers.
    3 k! F  H0 l7 a6 b; C; V! F
  1041. ;mail.log =/ J1 L+ Q' P" _; S
  1042. ; Log mail to syslog (Event Log on Windows).8 y% m" n# ]( ^8 x8 v- p
  1043. ;mail.log = syslog2 `' R/ E+ v4 b! o
  1044. 6 J* v' R" Z" k4 u1 k1 [; O
  1045. [SQL]
    ; m7 X$ r" W. m1 {" F
  1046. ; http://php.net/sql.safe-mode1 S: Y3 [8 U3 k. j# _
  1047. sql.safe_mode = Off& O& R- M* I% d* [& f

  1048. 9 z4 e) r+ M0 r9 [- n) s9 T
  1049. [ODBC]
    & c* t6 A, x4 b( a/ J! N+ s! s
  1050. ; http://php.net/odbc.default-db& K7 Q+ Y6 z5 E
  1051. ;odbc.default_db    =  Not yet implemented, T- i# a/ u5 G* B9 L1 _
  1052. 4 A6 ?2 P% {& ~+ i
  1053. ; http://php.net/odbc.default-user8 O. D% P/ k. v1 q1 \
  1054. ;odbc.default_user  =  Not yet implemented
    9 M, R9 c/ r- [- I/ \$ a

  1055. $ ~( u* [5 Y+ v: U: x. O
  1056. ; http://php.net/odbc.default-pw
    . u2 h+ e0 x$ X
  1057. ;odbc.default_pw    =  Not yet implemented9 a- u% t: G; u$ A$ S( ?3 L
  1058. ( V. @! W8 c, a6 U. P9 i2 }
  1059. ; Controls the ODBC cursor model.
      ]7 U+ O5 p, ~+ B
  1060. ; Default: SQL_CURSOR_STATIC (default).
    ; y5 r$ }$ A1 I, \
  1061. ;odbc.default_cursortype6 o" h5 [9 h" {8 J

  1062. 8 g# O) J8 e+ E2 `
  1063. ; Allow or prevent persistent links.: A2 ^0 x# k6 {" w) G* [
  1064. ; http://php.net/odbc.allow-persistent
    ; M" G) L8 u* O1 l7 `
  1065. odbc.allow_persistent = On0 g  O& o* M+ X4 H& S( l
  1066. 8 L( q1 m4 L- n! _& O1 J' _
  1067. ; Check that a connection is still valid before reuse.# L, U. p7 s6 x- [3 ]3 c
  1068. ; http://php.net/odbc.check-persistent; C. h! l: h! t
  1069. odbc.check_persistent = On7 G5 M) z9 m& ]/ }) r( n; [
  1070. 2 y* S3 C2 K: \( X# d
  1071. ; Maximum number of persistent links.  -1 means no limit.% Q, x% q( [' U( I% i: }
  1072. ; http://php.net/odbc.max-persistent
    : o( J2 R5 x  b3 F: p) d# u7 O$ G
  1073. odbc.max_persistent = -1
    + R& H3 p1 }; o
  1074. % ?0 j, o/ G% I
  1075. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    5 I* G8 @. J2 {* r7 A
  1076. ; http://php.net/odbc.max-links
    6 Q7 L) ]$ h4 [6 s. Q. s# `4 d& c/ I
  1077. odbc.max_links = -1: n0 d1 h7 }/ t+ ~- \! ~

  1078. % X) ]. Z" n; f$ H
  1079. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means
    4 ~/ s7 b; x  d) t1 M
  1080. ; passthru.
    7 Y' o2 H) K: l, w+ P. F+ b
  1081. ; http://php.net/odbc.defaultlrl( T/ i+ V6 V/ d; l. `6 J
  1082. odbc.defaultlrl = 40964 F: e$ |5 e9 n  r  s

  1083. ) c  ^3 u0 [; F7 [
  1084. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.  `2 D7 H$ N; r$ ^% c( X
  1085. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation# \+ m' k! A$ @/ p/ R" j
  1086. ; of odbc.defaultlrl and odbc.defaultbinmode
    ! Q$ h+ g7 Q2 C* ~+ o
  1087. ; http://php.net/odbc.defaultbinmode
    / x' W) K4 b- s
  1088. odbc.defaultbinmode = 1$ W4 w9 m5 y# ]6 Z6 i3 J# g; K$ X: @
  1089. & U+ N2 T, ?+ `
  1090. ;birdstep.max_links = -1: b& E6 v# J% x
  1091. ; s( S0 B7 G" P
  1092. [Interbase]+ B4 D# Z: l3 k1 w+ \; n; l" A* h
  1093. ; Allow or prevent persistent links.
      R: C5 h2 I. }; J) w' [
  1094. ibase.allow_persistent = 1
    ( h$ @7 A/ f0 [1 |7 L
  1095. - I) j$ n" ]& K' ~7 r: j- d1 N
  1096. ; Maximum number of persistent links.  -1 means no limit.
      X  L  ~# U1 s6 H5 [# N
  1097. ibase.max_persistent = -1
    8 S6 \1 w: i' j2 F, h0 E0 g6 o

  1098. % Y& J6 Y, S% t
  1099. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.2 |+ K# w! ?; g. _
  1100. ibase.max_links = -1
    0 {4 }6 a9 V5 ^) H
  1101. % G& {7 `' {2 r. }9 p  n
  1102. ; Default database name for ibase_connect().
    + [. _& R; q6 S1 l
  1103. ;ibase.default_db =& q$ w4 y2 J% K

  1104. - X1 z4 ^& ^2 U5 ?4 J
  1105. ; Default username for ibase_connect().9 m6 |$ |' A" ?1 d* S* w
  1106. ;ibase.default_user =
    3 _3 R. ]2 V& L5 p
  1107. ) F% N  {: ~! s( Z+ n) P+ a
  1108. ; Default password for ibase_connect().$ _& a( ~; Z  {1 x' X* h2 Y
  1109. ;ibase.default_password =3 c1 L6 q- {3 V& D/ Z

  1110. - d9 p. p. U; [
  1111. ; Default charset for ibase_connect().
    , `3 G5 `, d9 ?
  1112. ;ibase.default_charset =8 A8 _. w  I# F( k9 [3 f2 I6 a3 [
  1113. + ^' G" L+ U. r
  1114. ; Default timestamp format.7 m" h( }3 b# V5 |9 {5 n  R
  1115. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"; R1 l# l1 Q$ a: v8 v2 _2 o! D
  1116. - n: F6 I5 b1 G' \
  1117. ; Default date format.  B$ k4 l3 W, ^0 {( f
  1118. ibase.dateformat = "%Y-%m-%d": V  i+ t9 b2 R' F3 B2 z
  1119.   m6 @( b: S7 L$ ~( Z6 X
  1120. ; Default time format.
    5 Z9 k' Z% L7 T: J& p* d
  1121. ibase.timeformat = "%H:%M:%S"  t$ I; _* V# C  P1 |
  1122. 0 Z4 R, I; b- D
  1123. [MySQLi]
    * }- N" g1 L2 n! w. @- o6 s* ~5 k
  1124. & p* `8 q' i. I
  1125. ; Maximum number of persistent links.  -1 means no limit.
      \6 k, \( ]/ O: S  ^& y
  1126. ; http://php.net/mysqli.max-persistent( C: }9 o8 S" b: m5 n7 K: [
  1127. mysqli.max_persistent = -1
    " r' Y7 U9 m7 Z3 K

  1128. % O  _  @( _# X4 d" Z1 |2 [
  1129. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
    * J3 L8 ^  W4 Y
  1130. ; http://php.net/mysqli.allow_local_infile
    2 ^/ ~7 s1 z) K: E# z" e
  1131. ;mysqli.allow_local_infile = On
    # R/ S3 y- e6 }7 _) X1 c+ c& c3 p7 u
  1132. $ v1 s. m0 v. r) |  R6 t6 G' x! S
  1133. ; Allow or prevent persistent links.
    8 O) }" t" m# W& s& \5 c# n
  1134. ; http://php.net/mysqli.allow-persistent3 s( c4 {  P' G1 J+ i% J! _
  1135. mysqli.allow_persistent = On( H, t2 w) H! u0 n) o

  1136. : K  k' l4 q" v' u  P/ U# M
  1137. ; Maximum number of links.  -1 means no limit.
    & S4 x9 y  M/ T% A& f5 i, r$ I; D
  1138. ; http://php.net/mysqli.max-links
    7 G1 D: I4 e7 @) @9 p/ T
  1139. mysqli.max_links = -1. U0 I. J0 ~+ u1 \; U4 ^% O

  1140. . A2 q6 d8 c4 `' K
  1141. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    & b1 X& T# U$ T3 ~
  1142. ; http://php.net/mysqli.cache_size
    0 o+ A" h5 z; {+ v6 @9 q
  1143. mysqli.cache_size = 2000
    ) U# k6 R9 z; Y" N4 ^  k# }
  1144. . ?$ b7 z% d0 x6 V8 f2 X
  1145. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use  V$ P( I( L. Y0 _1 ]
  1146. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the1 p6 L8 M/ R  Q9 W5 v
  1147. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look) u7 k* u# o' G- G) \1 G
  1148. ; at MYSQL_PORT.6 V( g5 `# b6 I/ e
  1149. ; http://php.net/mysqli.default-port) f& ]) ~9 d7 ~. B* K
  1150. mysqli.default_port = 33061 o# @+ b; \  G4 P. Y% |
  1151. # L. G. h2 z$ v" V) D3 m0 t
  1152. ; Default socket name for local MySQL connects.  If empty, uses the built-in- v  ], h! S8 ?- ?7 \5 V
  1153. ; MySQL defaults.
    ( v  ~. V% h* @+ j2 z# J5 D
  1154. ; http://php.net/mysqli.default-socket
    " p' E" R* i" o, c
  1155. mysqli.default_socket =/ U& R4 b# u' m$ C  i; S) S( m

  1156. / @/ j# l0 W0 P  \
  1157. ; Default host for mysql_connect() (doesn't apply in safe mode).5 h5 ?; X* W; ?, |* D
  1158. ; http://php.net/mysqli.default-host: F+ _8 f4 m1 z8 E1 b
  1159. mysqli.default_host =
    $ b4 H- w* N+ L: q; d

  1160. % {0 P; H. C7 V4 G& Z
  1161. ; Default user for mysql_connect() (doesn't apply in safe mode).! _6 ~" K1 y- ^$ ?, ?4 r3 B
  1162. ; http://php.net/mysqli.default-user+ y/ G; c) R5 ^$ H: Q
  1163. mysqli.default_user =+ J0 y" b4 x# e0 y, ^4 b

  1164. " m3 R5 _1 z7 {0 k# ~& b  M
  1165. ; Default password for mysqli_connect() (doesn't apply in safe mode).
    7 I8 j6 M4 s1 L9 q( M
  1166. ; Note that this is generally a *bad* idea to store passwords in this file.0 F  l) y4 g/ Y% C" T
  1167. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")! R0 v+ D0 i9 ~3 y1 K* t6 ~' m
  1168. ; and reveal this password!  And of course, any users with read access to this9 e* m* f  G7 H0 D* Y, f9 t' l
  1169. ; file will be able to reveal the password as well.
    - m2 w6 X  p  `' V5 I9 {
  1170. ; http://php.net/mysqli.default-pw3 o, v9 |; O. D3 A/ l2 u0 S
  1171. mysqli.default_pw =2 _! N& L4 ]8 e+ g8 q2 @9 x

  1172. " Z+ W9 M+ @8 r4 H4 C
  1173. ; Allow or prevent reconnect8 N1 S4 ~- H' t' Z# ~' i; g
  1174. mysqli.reconnect = Off
    6 Z* _3 n4 @  ^! s* c

  1175. * ?  c( x" `$ t0 w$ L- X
  1176. [mysqlnd]/ W7 y* A5 R& L6 W) R2 u
  1177. ; Enable / Disable collection of general statistics by mysqlnd which can be/ {: I8 C6 ?& J% H- p- w/ J
  1178. ; used to tune and monitor MySQL operations.
    . U( h/ E! e( T# ^8 z  L
  1179. ; http://php.net/mysqlnd.collect_statistics
      S. b! o, w6 {- I' a6 C' h: x& X
  1180. mysqlnd.collect_statistics = On, D0 W7 g2 i' z2 [3 Q9 }$ t+ ]$ k

  1181. 5 w' i% o2 H. C9 y+ i, W6 e  d
  1182. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be# M" T4 _4 R8 H' j9 I
  1183. ; used to tune and monitor MySQL operations.
    # E0 F# T& z4 P1 Q' e, S& N
  1184. ; http://php.net/mysqlnd.collect_memory_statistics
    : l1 I& V; H6 R' I+ E
  1185. mysqlnd.collect_memory_statistics = Off7 t- V, @; Q+ ~: K) h" a- `9 b
  1186. 8 }4 ?9 ~5 T  a1 F+ ~1 u, s8 t
  1187. ; Records communication from all extensions using mysqlnd to the specified log
    , `, x( {: E: C8 e8 z( r/ l; z
  1188. ; file.
    $ ]8 k" C6 J3 D
  1189. ; http://php.net/mysqlnd.debug* s5 {  ]: E% e# O
  1190. ;mysqlnd.debug =+ q# H6 |+ x7 B
  1191. . C: V. G" w% x2 k8 z
  1192. ; Defines which queries will be logged.
    * E6 l* E% W# K) N; v6 P( O
  1193. ; http://php.net/mysqlnd.log_mask2 Q& s$ ~  W% p! v: y! A  Z% [7 w
  1194. ;mysqlnd.log_mask = 0
    1 _5 r/ x* P& d1 e8 y: w  y' ?. T

  1195. % |. a5 z+ d1 @
  1196. ; Default size of the mysqlnd memory pool, which is used by result sets.
    % r/ D7 [; j2 T* {8 H5 E" J
  1197. ; http://php.net/mysqlnd.mempool_default_size, V" f& u8 w5 z5 F7 E+ X3 \# [
  1198. ;mysqlnd.mempool_default_size = 16000. ~& ^, W2 n1 v/ E" u6 d
  1199. " @% \5 u  q- {( d& s% K2 C% `
  1200. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.6 E5 \7 j6 V, c
  1201. ; http://php.net/mysqlnd.net_cmd_buffer_size- y" r( m" j- t4 U- x
  1202. ;mysqlnd.net_cmd_buffer_size = 2048
    0 ^, d: D, B% ?  y' e- U$ X

  1203. 5 d% H2 k6 |" I/ Z$ k
  1204. ; Size of a pre-allocated buffer used for reading data sent by the server in: S" s6 o- k- g* I8 a  f
  1205. ; bytes.
    7 s# ?2 T% t! X3 [4 S5 l/ }6 [; G
  1206. ; http://php.net/mysqlnd.net_read_buffer_size# M% j. d* D, F  o1 R# ^0 y2 H
  1207. ;mysqlnd.net_read_buffer_size = 32768. z4 _  T7 _9 i& _6 l9 P5 ]6 Q6 b/ P

  1208. & l' t8 }$ _" E& @) e) w
  1209. ; Timeout for network requests in seconds.3 C- D7 G. T) u! B0 k' ?5 n
  1210. ; http://php.net/mysqlnd.net_read_timeout/ h: }  _) q! g" K; z; S+ {7 D
  1211. ;mysqlnd.net_read_timeout = 31536000
    # e3 J3 ~7 _, n7 j. r2 Y5 [" ]

  1212. 1 k! [2 j* t, k3 T& `
  1213. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA1 Y: f# T5 \; O3 _4 j1 y
  1214. ; key.
    1 g; q3 J9 D8 [2 U  w
  1215. ; http://php.net/mysqlnd.sha256_server_public_key' D1 E) l) Z5 T( _& J- J- o2 |/ V7 y- d
  1216. ;mysqlnd.sha256_server_public_key =
    , c4 F8 f% d8 n+ a+ h4 q: {1 t

  1217. 3 U0 F0 g# M' ?6 s
  1218. [OCI8]: U% k. C8 z! J7 q; ?' c) q6 h1 }
  1219. 9 S& o; z+ v" {/ M0 u% \
  1220. ; Connection: Enables privileged connections using external* [2 G% v, \2 a9 J6 I$ {3 p, i
  1221. ; credentials (OCI_SYSOPER, OCI_SYSDBA)1 E+ L: a8 R: o: {
  1222. ; http://php.net/oci8.privileged-connect0 y% o1 b" P8 S" N+ x  E
  1223. ;oci8.privileged_connect = Off
    ! i' o8 q- \1 ?5 p1 z! \9 v

  1224. , J) u' R) T/ R! ^
  1225. ; Connection: The maximum number of persistent OCI8 connections per
    0 `8 U4 N/ a2 g" M
  1226. ; process. Using -1 means no limit.
    . o7 [+ v& r; g% t" V3 x0 V
  1227. ; http://php.net/oci8.max-persistent4 V. t1 z3 _! u3 k  e# m. a5 L6 F
  1228. ;oci8.max_persistent = -19 l9 U8 e" t, \

  1229. 7 ^& O( ^/ q0 X. z
  1230. ; Connection: The maximum number of seconds a process is allowed to
    8 l  B  X8 r) ]
  1231. ; maintain an idle persistent connection. Using -1 means idle" m" q' P) e# M" t1 ^" \( x
  1232. ; persistent connections will be maintained forever.
    ) I0 L$ m; u9 Q$ S; G: N) v& q/ k
  1233. ; http://php.net/oci8.persistent-timeout
    $ W4 V; o7 j; I, L" M) Y( n
  1234. ;oci8.persistent_timeout = -1
    5 i/ E3 p3 y. k/ H% U

  1235. 4 [9 H1 @( q! H/ c5 \( X# ]
  1236. ; Connection: The number of seconds that must pass before issuing a
      H( ]/ l% n$ D# u5 V) |2 H
  1237. ; ping during oci_pconnect() to check the connection validity. When8 B5 V& w- c" G1 k! s
  1238. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables6 y6 _1 t6 R9 O; a
  1239. ; pings completely.4 t8 F# Y  x+ [" C' \* g# u
  1240. ; http://php.net/oci8.ping-interval. k5 b6 ~$ H$ Q
  1241. ;oci8.ping_interval = 60# M+ @* f, T$ d

  1242. / j/ j% T$ A: \1 ]) |
  1243. ; Connection: Set this to a user chosen connection class to be used- B- J$ W  U  D& \5 L0 a
  1244. ; for all pooled server requests with Oracle 11g Database Resident
    ' ~9 A9 F8 g: o/ T: N% P
  1245. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    $ ?6 G7 w* V/ n; U. {- k, y9 G
  1246. ; the same string for all web servers running the same application,
    / b/ w! d8 w2 u
  1247. ; the database pool must be configured, and the connection string must
    & O1 ^6 s2 }" w' F5 V1 h* j
  1248. ; specify to use a pooled server.
    0 B+ d* h. {% Z  h, {; {$ K$ m, n0 I
  1249. ;oci8.connection_class =: X* w( `( A4 f  B0 ]) O, k
  1250. $ j( e; `* K! T- a! J# `0 G8 M) d
  1251. ; High Availability: Using On lets PHP receive Fast Application9 o/ n4 d) \6 H7 [$ J& q7 c
  1252. ; Notification (FAN) events generated when a database node fails. The
    " l- A3 o& ~; m9 ?6 ~
  1253. ; database must also be configured to post FAN events.% V5 n  ?0 S- k+ i% Q
  1254. ;oci8.events = Off4 V' x! \. q1 _& w5 z
  1255. 3 C0 c. O. t# }# [: F, E2 R
  1256. ; Tuning: This option enables statement caching, and specifies how4 O4 d6 u& M# |( o' x9 C
  1257. ; many statements to cache. Using 0 disables statement caching./ r' |" ]2 _0 ~. G2 V# C
  1258. ; http://php.net/oci8.statement-cache-size
    ! |( r7 M/ X6 W2 a- B# v
  1259. ;oci8.statement_cache_size = 20
    & N; m1 r# S- H4 G

  1260. 3 z# L( o7 S' r6 b) q7 V
  1261. ; Tuning: Enables statement prefetching and sets the default number of  `- L6 j2 M  x. T6 U
  1262. ; rows that will be fetched automatically after statement execution.# W( s! w# }4 y, N) ?; Z! p
  1263. ; http://php.net/oci8.default-prefetch
    - y' `( T# U: k, m
  1264. ;oci8.default_prefetch = 100
    8 \# f( x8 m9 |# v) C
  1265. 8 T: B# T, p3 ^; Q) h1 L- ~
  1266. ; Compatibility. Using On means oci_close() will not close
    ( F7 V. H, s, h5 Z3 }6 e0 b
  1267. ; oci_connect() and oci_new_connect() connections.; q0 U0 {( f/ p7 @2 K( i( G5 w% y
  1268. ; http://php.net/oci8.old-oci-close-semantics! p& C/ g9 C  C( m$ P1 b
  1269. ;oci8.old_oci_close_semantics = Off
    * L) [4 }5 {7 U( c% t
  1270. : c: e7 B* S% q! q% V
  1271. [PostgreSQL]: X* V$ ]9 ^( k% e4 B; C1 q- D
  1272. ; Allow or prevent persistent links.* {4 u  M4 s$ _$ H6 Y: P9 A
  1273. ; http://php.net/pgsql.allow-persistent
    + O; T* `4 X* k8 C# o  R/ o+ a% s. g
  1274. pgsql.allow_persistent = On7 l$ Q2 h% D5 K% s
  1275. - o) {0 o. z8 [5 L% U
  1276. ; Detect broken persistent links always with pg_pconnect().; L9 t& \" e6 k5 h, ]: y( w) W
  1277. ; Auto reset feature requires a little overheads., F% I* K' u: a5 j( v
  1278. ; http://php.net/pgsql.auto-reset-persistent
    ' R; Q# ^/ O7 J9 r* R" C2 n
  1279. pgsql.auto_reset_persistent = Off8 b- x* T' y2 U/ p
  1280. 9 d6 T) [# j/ m% }, Q* z; w
  1281. ; Maximum number of persistent links.  -1 means no limit.
    " Y" H6 H) a! E
  1282. ; http://php.net/pgsql.max-persistent
    * p8 G: E& [9 `$ C" r$ v% p
  1283. pgsql.max_persistent = -1
    7 E6 d; [' A1 H- N! b

  1284. 7 S1 u6 h# X/ U2 Z2 g, o
  1285. ; Maximum number of links (persistent+non persistent).  -1 means no limit.
    - J$ k) ^( ~9 f: `$ y$ V1 B- o
  1286. ; http://php.net/pgsql.max-links
    / q' x0 T) W  ?$ G- Q" W& a& z
  1287. pgsql.max_links = -1- A: t& o1 n" b# ?) I2 ^

  1288. # L: r7 q! g% h4 d' x5 ]; M- w/ o
  1289. ; Ignore PostgreSQL backends Notice message or not.; S& ?5 E$ t: a* U. [
  1290. ; Notice message logging require a little overheads.
    4 J" w& h  R9 s/ R4 |
  1291. ; http://php.net/pgsql.ignore-notice  H) Y+ t( P, O( T( M  F) `- m
  1292. pgsql.ignore_notice = 0
    & _2 g) K0 R5 q+ v' t

  1293. ; T0 Q6 s0 g, ]" v9 ]
  1294. ; Log PostgreSQL backends Notice message or not.
    ) d1 U8 ]2 ~0 Z7 q* e9 i" W
  1295. ; Unless pgsql.ignore_notice=0, module cannot log notice message.  F  n) y+ F% X$ M& O
  1296. ; http://php.net/pgsql.log-notice
    7 w+ f0 }* d, ?) o
  1297. pgsql.log_notice = 0
    3 I1 F" L1 v1 g3 D" Y! n5 Z* Q
  1298. 9 X7 o+ E, L9 r- p- i
  1299. [bcmath]
    / y7 U5 p! {! O* n; v
  1300. ; Number of decimal digits for all bcmath functions.
    6 F. r3 Q, ^* m5 d
  1301. ; http://php.net/bcmath.scale
    2 f# t8 @) s: z) Z# v0 B" Z
  1302. bcmath.scale = 0
    ; [7 \6 h  O, l) T- [: z( x8 R2 Q: c
  1303. : J6 ~4 _" X& u, I
  1304. [browscap]" K3 N5 L  l5 c0 D/ M% Y* a
  1305. ; http://php.net/browscap; ~2 |; l! N3 B8 ^5 k
  1306. ;browscap = extra/browscap.ini
    $ Q# c  |  ~* z, l/ g6 a

  1307. ) n/ F& F* q! ?$ C- k5 f* K
  1308. [Session]# [! x, `% x% L2 G* k
  1309. ; Handler used to store/retrieve data.( A4 ?5 R4 B& w. A
  1310. ; http://php.net/session.save-handler; o1 x( y- c+ x& a7 s
  1311. session.save_handler = files" C9 j9 b# \2 V7 C) Y6 ~# k: T

  1312. 0 ^  B3 n+ y* Q
  1313. ; Argument passed to save_handler.  In the case of files, this is the path
    . A1 a% W2 C; M* d/ Z4 e  N% N
  1314. ; where data files are stored. Note: Windows users have to change this2 X- z/ L) O: g0 v
  1315. ; variable in order to use PHP's session functions.
    ! w5 u4 Q& L- w& U8 X, \
  1316. ;
    % I, G* }" A: t7 D' z2 h
  1317. ; The path can be defined as:+ K) O) u0 L7 {2 g
  1318. ;
    / ?( |# I$ B" Y+ E% c% x
  1319. ;     session.save_path = "N;/path"% }( u9 v" M9 |4 d* x
  1320. ;# k# t4 o2 k2 [& |" V
  1321. ; where N is an integer.  Instead of storing all the session files in$ p/ x9 k4 o2 H" k, y: C0 A
  1322. ; /path, what this will do is use subdirectories N-levels deep, and
    - d0 B; a- q: Z' k8 q! ]" P$ A9 }' p
  1323. ; store the session data in those directories.  This is useful if
    * T' A7 C% {; Q' T/ x
  1324. ; your OS has problems with many files in one directory, and is7 Z& j7 g1 X: |4 }
  1325. ; a more efficient layout for servers that handle many sessions.% p, d  t8 p: O* @
  1326. ;
    + }, a* p6 J) I0 M# j
  1327. ; NOTE 1: PHP will not create this directory structure automatically.& P( x  b" F+ z: K/ h
  1328. ;         You can use the script in the ext/session dir for that purpose.5 _  J/ V/ R7 k. l; n( h. L9 ^
  1329. ; NOTE 2: See the section on garbage collection below if you choose to0 m8 z7 y; S5 V* H* s, p
  1330. ;         use subdirectories for session storage
    6 G, z4 n. J, f& M0 p
  1331. ;1 x  F; Y$ r, x# t7 A( ?! O' A' m" l
  1332. ; The file storage module creates files using mode 600 by default.
    % m0 I; @$ O; F% ~1 e2 d- B4 v
  1333. ; You can change that by using6 ~/ u# e# [) g
  1334. ;- q0 |$ _( k( q# ?; Y
  1335. ;     session.save_path = "N;MODE;/path"  v. d& |; U/ W+ K" j; _
  1336. ;
    ; @- l- L! ~6 X
  1337. ; where MODE is the octal representation of the mode. Note that this
    5 \- j% G) }  n. A  P
  1338. ; does not overwrite the process's umask.4 u( G# G$ J! F( q. T0 H! R2 z
  1339. ; http://php.net/session.save-path
    3 `% K/ _- q- }) t
  1340. ;session.save_path = "/tmp"
    # ^  ?& U; X* [9 ?8 U3 Y
  1341. % ]( Z3 `* v  c
  1342. ; Whether to use strict session mode.* c0 c) W+ Y( t( }' m* r* n
  1343. ; Strict session mode does not accept uninitialized session ID and regenerate
    , g6 o" n* s, F5 D
  1344. ; session ID if browser sends uninitialized session ID. Strict mode protects) c/ e4 O! g( L' a" _2 @& D0 ?5 X4 b
  1345. ; applications from session fixation via session adoption vulnerability. It is4 V+ G: ?8 C" O' x' o0 K9 x
  1346. ; disabled by default for maximum compatibility, but enabling it is encouraged.
    , E4 Y0 y1 |% V) z! ^
  1347. ; https://wiki.php.net/rfc/strict_sessions7 y: l" u; s6 t, f! [9 h) i( P- D
  1348. session.use_strict_mode = 0" F& H' ~% i' W  U" m9 @+ S

  1349. # @- ?6 W  a, `& B* @) _5 n
  1350. ; Whether to use cookies.
    2 P+ A/ P" t: Y5 E4 _5 B
  1351. ; http://php.net/session.use-cookies
    ) Z4 D' }, p/ y. I- H
  1352. session.use_cookies = 1
    9 R; A6 ?2 k. Y5 N9 G$ C

  1353. 4 T9 k' V0 d% z/ a6 [
  1354. ; http://php.net/session.cookie-secure
    - m2 U5 G7 b# `% x$ [9 }1 z6 s
  1355. ;session.cookie_secure =. ?6 s( G' R& v% i7 G$ e
  1356. 1 r% l: X* c& w2 G
  1357. ; This option forces PHP to fetch and use a cookie for storing and maintaining! a: t& G) D1 b% f0 R
  1358. ; the session id. We encourage this operation as it's very helpful in combating1 e2 w4 W& U! {+ T+ O+ ]. z
  1359. ; session hijacking when not specifying and managing your own session id. It is
    6 |+ Y: Q5 \+ b1 O4 }$ d
  1360. ; not the be-all and end-all of session hijacking defense, but it's a good start.
    1 Q$ d3 ~7 n* U7 Y. W( i! }
  1361. ; http://php.net/session.use-only-cookies
    / S+ V. @- W% B, E+ X3 N$ x9 I
  1362. session.use_only_cookies = 1% I- k- T" k5 j# d
  1363. 2 R4 Y; a! p; v+ k) h) Y; e5 \5 w
  1364. ; Name of the session (used as cookie name).
    & k4 V- J, x4 b4 W2 j! N  l
  1365. ; http://php.net/session.name
    / D  o8 ?* Q) v5 N, u- h) u+ T; t9 Y
  1366. session.name = PHPSESSID8 O$ ]# u9 {8 [. a. ]$ H! ]

  1367. ; `0 g! M- K6 X+ Q6 ]$ H+ H
  1368. ; Initialize session on request startup., ^2 }8 f; R; ~: w( x0 w
  1369. ; http://php.net/session.auto-start/ j. k) _' }/ ^  Q0 a% G
  1370. session.auto_start = 0* C# ~! c. b( K( D' F
  1371. 6 Q, H$ {& g, H& o, M5 p, h+ ], Q: @
  1372. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.0 t7 Q" F3 L5 w/ T3 l2 B5 Z
  1373. ; http://php.net/session.cookie-lifetime
    0 Y0 \. y, ?) W6 ?4 B5 w
  1374. session.cookie_lifetime = 01 i) y8 j+ [) {( r) c$ X

  1375. 8 S9 }) v( V0 z2 c2 P, {0 g8 m1 |) @4 o
  1376. ; The path for which the cookie is valid.) @  h- O; w9 N
  1377. ; http://php.net/session.cookie-path
    4 m9 x1 i  i- x% z) r- g' p! ?8 O8 S
  1378. session.cookie_path = /# a3 k  M, t9 t  V( F9 |

  1379. - O6 v1 `  [: _% V6 o, q2 Z( O; G
  1380. ; The domain for which the cookie is valid./ l1 L6 S0 y( f5 v
  1381. ; http://php.net/session.cookie-domain
    ! l2 d! b; W3 y' C( {( t
  1382. session.cookie_domain =2 w0 j# a8 c, }# }; g

  1383. $ ?. \* l' M* \  m
  1384. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.% A9 W& w6 a$ Y' Q" V' m
  1385. ; http://php.net/session.cookie-httponly7 x4 x$ M2 S' t8 o$ d
  1386. session.cookie_httponly =0 A5 M0 T1 J1 v8 _0 I; A. G+ `
  1387. 5 @6 v% v$ I- B/ A6 l4 ^
  1388. ; Handler used to serialize data.  php is the standard serializer of PHP.
    ! H3 T: v+ P: K9 n; L. R# q
  1389. ; http://php.net/session.serialize-handler
    ( k7 w) ^" A, P0 z* T
  1390. session.serialize_handler = php
    / i9 S- I& c% o9 v" t4 I+ y
  1391. 1 C" a2 _/ \+ K- R+ j+ t( w  ]0 a
  1392. ; Defines the probability that the 'garbage collection' process is started1 a# L) A$ c0 y& m
  1393. ; on every session initialization. The probability is calculated by using% |: \3 Y5 r, \! |( Z  K
  1394. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    " N9 s. c$ e, R( }& i
  1395. ; and gc_divisor is the denominator in the equation. Setting this value to 1* `( ?  y4 P7 q( o  _
  1396. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    2 S. @+ e  c+ P% p' g( i. S
  1397. ; the gc will run on any give request.
    7 [# B+ m1 q  |+ j; w
  1398. ; Default Value: 1
    * l7 ?9 b7 {, h
  1399. ; Development Value: 16 M( C7 j. k: d
  1400. ; Production Value: 1" [, ~2 s5 ?; t/ n( a! j  `
  1401. ; http://php.net/session.gc-probability
    ; O! k3 E1 @' x# A7 x7 C
  1402. session.gc_probability = 1- {& ^  W; B' N% z3 g4 s2 m9 G- P
  1403. 8 z" S, ]3 D' X( B# |
  1404. ; Defines the probability that the 'garbage collection' process is started on every/ \  B5 t. J* @8 B( U) @- U9 |
  1405. ; session initialization. The probability is calculated by using the following equation:' Z+ M& b" I- d$ ~
  1406. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and
    % G& g/ L$ P4 J
  1407. ; session.gc_divisor is the denominator in the equation. Setting this value to 11 _  o- O0 H, P% p, V8 |, F
  1408. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    ( P$ ^0 _( {% d  x% k+ K
  1409. ; the gc will run on any give request. Increasing this value to 1000 will give you
    $ t: R' ^1 @3 C$ U; l8 G, `
  1410. ; a 0.1% chance the gc will run on any give request. For high volume production servers,! G! f1 I  J) d+ Q6 b& H
  1411. ; this is a more efficient approach.5 X: v" k9 u5 d( Y
  1412. ; Default Value: 1009 y  p8 k* }% w: g) ?
  1413. ; Development Value: 10006 \$ n# f+ n' ~
  1414. ; Production Value: 10009 K3 i+ m; @! R% X
  1415. ; http://php.net/session.gc-divisor
    - r: T/ z+ X' `4 P6 C# I
  1416. session.gc_divisor = 1000
    * W0 ?1 s3 `+ F9 l8 r; l

  1417. 2 Q8 x/ V' t9 V- U4 M6 E
  1418. ; After this number of seconds, stored data will be seen as 'garbage' and
    & H0 S2 A" d3 D; B# r5 H
  1419. ; cleaned up by the garbage collection process." r2 |( U3 u$ ]  X1 W
  1420. ; http://php.net/session.gc-maxlifetime" u# o2 a2 \8 ?0 _
  1421. session.gc_maxlifetime = 1440
    8 n9 k3 r: r# H
  1422. 9 L- X) S2 U  Z$ I9 v) Q: \. ?
  1423. ; NOTE: If you are using the subdirectory option for storing session files
    6 q1 U& B  c( O
  1424. ;       (see session.save_path above), then garbage collection does *not*+ g$ @8 U: `: y
  1425. ;       happen automatically.  You will need to do your own garbage& ?% x% l0 d- W0 O
  1426. ;       collection through a shell script, cron entry, or some other method.
    7 |2 v  V- j) x9 t; G
  1427. ;       For example, the following script would is the equivalent of4 |/ p5 m) t# H$ A0 |0 L
  1428. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):3 K3 L5 o3 J1 ?; b
  1429. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    ) t7 p3 ^( @9 }& K3 B4 s) a1 [* G" ~
  1430. 7 ^4 f, h3 H- O5 s, G
  1431. ; Check HTTP Referer to invalidate externally stored URLs containing ids.* r) g2 H8 n, b- S8 l3 W! d
  1432. ; HTTP_REFERER has to contain this substring for the session to be
    $ o$ O# M/ Y2 s9 n' L8 E
  1433. ; considered as valid.' `4 d9 O6 Y6 _* A( J. a$ o; V
  1434. ; http://php.net/session.referer-check2 _9 S: l4 L$ Q# f7 U
  1435. session.referer_check =$ \  J/ [8 ^* T, [2 o6 L

  1436. ' f# H9 c/ M. {5 r
  1437. ; How many bytes to read from the file.8 _1 x8 Q1 [" e# W8 I
  1438. ; http://php.net/session.entropy-length
    % T7 m3 H! {0 }" K3 l, e
  1439. ;session.entropy_length = 32) t: E* h) n3 U/ l% u& O. t6 ?
  1440. / P* K3 X5 L& T& h' q5 d5 D+ B
  1441. ; Specified here to create the session id.
    7 H: i- j; f/ q8 [
  1442. ; http://php.net/session.entropy-file; m% V% a6 G, X/ r4 y
  1443. ; Defaults to /dev/urandom/ N0 Y3 O3 o- [; A9 t
  1444. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    2 n$ P% V8 W! p4 W- _
  1445. ; If neither are found at compile time, the default is no entropy file.8 f) x+ P* U4 A- ~5 l: N* \0 B4 t
  1446. ; On windows, setting the entropy_length setting will activate the
    7 k$ v# Y7 w3 `; F' Q+ ]
  1447. ; Windows random source (using the CryptoAPI)! r" v+ G# {( m- r! I. _
  1448. ;session.entropy_file = /dev/urandom
    # b+ N  }) q$ ^% e% Z, D7 e. ^
  1449. $ b; u- J6 Q3 I5 i
  1450. ; Set to {nocache,private,public,} to determine HTTP caching aspects
    ) B: w  H8 k$ w: @. ~# Z  h! Y5 f
  1451. ; or leave this empty to avoid sending anti-caching headers.
    ; X9 |$ K, q& Z0 J: q6 M
  1452. ; http://php.net/session.cache-limiter. C5 n/ l  S! o( Q7 N) J
  1453. session.cache_limiter = nocache5 `3 S4 I7 q, K( F8 K" k0 S
  1454.   p6 m! L% z8 P' @
  1455. ; Document expires after n minutes." B7 x" _7 l* O" C% ^
  1456. ; http://php.net/session.cache-expire
    7 Q$ l0 w: v8 b. F' j# ]
  1457. session.cache_expire = 180
    - a' B& Z% `( w4 x3 m

  1458. / T& _! Y. }# }8 ], L& [1 i! ~* w
  1459. ; trans sid support is disabled by default.# |6 w3 e" c, f* d7 E
  1460. ; Use of trans sid may risk your users' security.
    4 @9 Y2 k: T! Z3 H
  1461. ; Use this option with caution.' n7 ]# [8 Z4 W* Z
  1462. ; - User may send URL contains active session ID% i; q& H, z) r* ]
  1463. ;   to other person via. email/irc/etc.' X" A4 s/ u& Y( R/ |9 A
  1464. ; - URL that contains active session ID may be stored2 R* r2 j  u& I  b& q
  1465. ;   in publicly accessible computer.
    " [  ~& g! C4 O5 [! n. t9 j6 E  s
  1466. ; - User may access your site with the same session ID
    7 K' a2 n% a+ h4 k& ~& [
  1467. ;   always using URL stored in browser's history or bookmarks.( j8 U" x$ Z4 Q! d
  1468. ; http://php.net/session.use-trans-sid! c% F4 e2 @3 Y/ ?, ~$ s8 h1 ^
  1469. session.use_trans_sid = 09 y1 c5 S& O0 @$ \+ \9 t4 R4 S
  1470. $ C4 p, n( ]2 v7 ~3 h2 e+ c
  1471. ; Select a hash function for use in generating session ids.8 h/ u6 Z) }0 e/ i! T
  1472. ; Possible Values
    ! D* l% o, ^( o* d
  1473. ;   0  (MD5 128 bits)
    3 k/ t" j# E0 d, V: d: B
  1474. ;   1  (SHA-1 160 bits)
    * A. v0 M0 G( |, t7 i0 X" `
  1475. ; This option may also be set to the name of any hash function supported by& P3 r! ~2 c. ]# i5 M( G- c7 v5 O
  1476. ; the hash extension. A list of available hashes is returned by the hash_algos()
      v6 T8 r1 y- _' W2 U; Z! R4 b& U1 U$ r
  1477. ; function.2 c& I5 F9 u& G6 {3 G. ?$ h
  1478. ; http://php.net/session.hash-function
    & Y) a6 }/ i, w( o+ Y/ o8 p) z# h
  1479. session.hash_function = 0
    9 k5 O8 O8 b3 B# d; k; s0 w/ G
  1480. ! i  D5 [- Q+ e* C0 I/ U
  1481. ; Define how many bits are stored in each character when converting2 i( g  D7 R/ ^+ |. ~2 A; z/ Y
  1482. ; the binary hash data to something readable.- @5 l: m- O" ?) n% Y
  1483. ; Possible values:* q" m7 i5 N! U
  1484. ;   4  (4 bits: 0-9, a-f)
    / h( E6 x  P" b/ Q- a% ?: q" J
  1485. ;   5  (5 bits: 0-9, a-v)
    3 t! d. H- c5 `7 \' P2 ~
  1486. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ",")
    / p  ?: R5 p1 k! ^8 G5 `
  1487. ; Default Value: 4
    : D8 R, t3 _6 V# m
  1488. ; Development Value: 5
      ^- H# |% o' t
  1489. ; Production Value: 55 t3 p7 m4 \& U+ Y' A( Z" H
  1490. ; http://php.net/session.hash-bits-per-character
    2 c" Q) G' l1 p' _5 D4 Q
  1491. session.hash_bits_per_character = 5
    : \5 i+ a6 e0 N9 C  x
  1492. 7 P1 C3 g( B% q" v( w; t# c* d
  1493. ; The URL rewriter will look for URLs in a defined set of HTML tags.
    5 U( U3 t4 P( d: U
  1494. ; form/fieldset are special; if you include them here, the rewriter will
    0 T  o- D& i% z, b- D5 g
  1495. ; add a hidden <input> field with the info which is otherwise appended
    1 X4 X9 u6 r/ l, x
  1496. ; to URLs.  If you want XHTML conformity, remove the form entry.% w2 j& g+ C- }
  1497. ; Note that all valid entries require a "=", even if no value follows.; ^& O6 T3 c: s7 S
  1498. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="
    ' v' N! A( z1 V9 s
  1499. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"& B+ p- k+ p# q! w  Z# B1 S
  1500. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"* }, g. d7 n/ K8 ^
  1501. ; http://php.net/url-rewriter.tags
    7 H# X  v; Y- L* q- u2 ?/ X! C
  1502. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"3 V8 N, ?! |- r' r
  1503. 2 h! s7 @. g: i1 l' B
  1504. ; Enable upload progress tracking in $_SESSION
    0 M$ ^. V0 p% {: r: _
  1505. ; Default Value: On% `: R6 p% u# r% B
  1506. ; Development Value: On
    ) A* ?3 }1 T& _: ]
  1507. ; Production Value: On
    0 n0 L+ a. N1 L! z! n8 A
  1508. ; http://php.net/session.upload-progress.enabled- i  h1 ^* y5 r
  1509. ;session.upload_progress.enabled = On
    2 Z& Y1 h. M5 `6 J2 g

  1510. + }: z6 }  X# d% C: x* l
  1511. ; Cleanup the progress information as soon as all POST data has been read
    : C' a* D" K& o0 I& t8 A
  1512. ; (i.e. upload completed).4 C" D# D) q9 g% W, b7 S( ]
  1513. ; Default Value: On$ T1 p/ s+ h0 \- T1 O
  1514. ; Development Value: On
    8 {2 l3 a$ T3 K) Y) p$ b7 S
  1515. ; Production Value: On% H7 z  ~5 d# b
  1516. ; http://php.net/session.upload-progress.cleanup
    8 U. {, ?% D- A! _% }+ D& s( [
  1517. ;session.upload_progress.cleanup = On1 U/ o; t: v" c
  1518. & \  g( K& s; P8 E% o
  1519. ; A prefix used for the upload progress key in $_SESSION
    * W2 \: T: g" g+ B
  1520. ; Default Value: "upload_progress_"
    ; x7 D3 C5 S" {
  1521. ; Development Value: "upload_progress_"2 ?( F2 A1 s& d! s
  1522. ; Production Value: "upload_progress_"+ u- _% v* y2 K" R3 S! g
  1523. ; http://php.net/session.upload-progress.prefix6 ]9 g4 \/ e! n3 L( K
  1524. ;session.upload_progress.prefix = "upload_progress_"
    - @1 w0 n' T" M) e6 W0 u) L

  1525. 7 J4 c) L  O$ z$ l# d" j% r. T5 ^/ S
  1526. ; The index name (concatenated with the prefix) in $_SESSION7 g" a0 l# d  }8 u
  1527. ; containing the upload progress information. E6 }- V3 Z/ `! O
  1528. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    , Q+ n  o4 ^) g" O) K5 l
  1529. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    / _4 W6 N4 Q+ S: s, C
  1530. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"4 `1 G. [: G& M5 [* a* Q
  1531. ; http://php.net/session.upload-progress.name
    $ H- G& A: h2 _
  1532. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS". f+ k( ~" N- g  Y+ p0 C' R4 h

  1533. 0 j9 w8 i7 Q& A" Y+ u' @/ S
  1534. ; How frequently the upload progress should be updated.
    , Z4 I0 `5 V* {( B7 Q( ?
  1535. ; Given either in percentages (per-file), or in bytes
    % T- l! n) d& t6 k
  1536. ; Default Value: "1%"
    ( ]/ K# @' T$ f+ E  k* o4 `$ M
  1537. ; Development Value: "1%"
    * \) D' b6 u9 s9 n) ^' j% y
  1538. ; Production Value: "1%"- u& T  V7 X  o5 d& p8 H# F
  1539. ; http://php.net/session.upload-progress.freq; r. s- |2 {2 W# T
  1540. ;session.upload_progress.freq =  "1%"* W' v8 }  P6 f8 n/ U$ s  {5 y

  1541. " S- Y/ u7 b$ n1 E- k; \$ R
  1542. ; The minimum delay between updates, in seconds
    0 h* U7 W: m, ^; s9 K+ V8 H
  1543. ; Default Value: 10 N4 |  }2 X+ y+ Q5 p$ Q/ I/ i
  1544. ; Development Value: 17 L: V4 I7 z# R* @$ q
  1545. ; Production Value: 1- l4 h/ e& h  u/ K/ ~! O5 j9 R
  1546. ; http://php.net/session.upload-progress.min-freq
    ! G& g0 [, @1 Z' s
  1547. ;session.upload_progress.min_freq = "1"; l3 i0 p) C; Q: z  }8 b

  1548. " Q% F) W1 }4 l0 o  |
  1549. ; Only write session data when session data is changed. Enabled by default.
    ) U" b1 Q8 e' i8 y9 b: W: `
  1550. ; http://php.net/session.lazy-write& H4 E3 B' J# H: C3 |1 K
  1551. ;session.lazy_write = On2 `: N$ g& g* @9 E. F

  1552. . b9 l6 \- t; e
  1553. [Assertion]4 i' p! @. s0 i$ d! C
  1554. ; Switch whether to compile assertions at all (to have no overhead at run-time), ~, M. _6 z" D& j& k+ T7 P
  1555. ; -1: Do not compile at all( B6 p2 d9 T5 O0 t( ^
  1556. ;  0: Jump over assertion at run-time
    5 s& C7 d/ T. e/ W! q: D1 F
  1557. ;  1: Execute assertions1 W. a5 i4 J; C5 j" k. g3 r$ k
  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)
    & Z& }9 ]$ F  h
  1559. ; Default Value: 1
    9 F+ V$ ~+ o1 y- v
  1560. ; Development Value: 11 K0 L) L. ?6 p1 z0 }
  1561. ; Production Value: -1
    $ U4 g' V" X' d- ~( k
  1562. ; http://php.net/zend.assertions
    ) ?& ^% v* _5 P
  1563. zend.assertions = -18 c* i* l0 a4 A7 Z/ c

  1564. " G# L6 ?5 I' }
  1565. ; Assert(expr); active by default.
      ?/ y; n4 K8 `) R. c
  1566. ; http://php.net/assert.active) y+ b/ C0 ]7 J3 L& q6 `+ g4 i
  1567. ;assert.active = On6 o1 j% e. M) p9 x2 j+ r

  1568. # F# E; @/ a: H) P0 i
  1569. ; Throw an AssertationException on failed assertions* g; `8 m2 ~' a& n
  1570. ; http://php.net/assert.exception  M! v+ T' \1 B
  1571. ;assert.exception = On* D. _+ ~/ I( c7 W5 u3 A$ p

  1572. ; X/ S7 k) {7 u0 F+ `  `
  1573. ; Issue a PHP warning for each failed assertion. (Overridden by assert.exception if active)
    0 m; `/ {8 K8 C; z3 w' v, s4 v- d. t
  1574. ; http://php.net/assert.warning* E5 \6 p. R, M- B. ^# {( B
  1575. ;assert.warning = On
    5 f% R& q* j* ~/ k2 |4 D

  1576. % Q5 I" ?0 x  D$ U
  1577. ; Don't bail out by default.
    1 G3 l: a! Z7 p# X
  1578. ; http://php.net/assert.bail
    * G3 J( Z# z# a' a# ^1 t
  1579. ;assert.bail = Off
    3 g! M8 l  h! b5 G  ~
  1580. 2 ?( I+ ^# L' N4 A% Q
  1581. ; User-function to be called if an assertion fails.; {. ~0 K9 O: q- r
  1582. ; http://php.net/assert.callback
    ' R' ~9 D% b9 X! d# ^. v1 _1 {+ [
  1583. ;assert.callback = 0
      V* J7 A3 K2 O* S0 A1 X5 ]
  1584.   y" i! I% N' }! A
  1585. ; Eval the expression with current error_reporting().  Set to true if you want9 r0 t4 P8 J, r7 N* g3 R
  1586. ; error_reporting(0) around the eval().- q. N6 A5 u  [
  1587. ; http://php.net/assert.quiet-eval
    7 x' X6 G  S6 Z  V$ _7 E
  1588. ;assert.quiet_eval = 0
    + @5 p) k+ @4 E' d: O

  1589. ' r/ H* J  S# O6 n  W
  1590. [COM]) ^9 u) Y" I/ S. f4 A' [
  1591. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    2 @) A7 y6 a9 Z. @# X! S( t* l
  1592. ; http://php.net/com.typelib-file8 Z" q) r% Z. J
  1593. ;com.typelib_file =
    % }3 s) c/ m6 z) c+ K  q

  1594. 6 ?( ^/ _9 L* n: E* x* O
  1595. ; allow Distributed-COM calls9 v7 ~) t; U& r5 N
  1596. ; http://php.net/com.allow-dcom
    8 R  x' d& L* C% r" p
  1597. ;com.allow_dcom = true
    , G. W$ S" c" i! A  T( f9 @2 l

  1598. , P* p9 V- I2 T! s; K& A$ e3 |1 E1 r
  1599. ; autoregister constants of a components typlib on com_load()4 G; j9 |4 _( l$ i. @
  1600. ; http://php.net/com.autoregister-typelib
    - u4 D1 X, v1 K9 r) ^& l& k
  1601. ;com.autoregister_typelib = true
    6 S5 ?7 `$ H* w

  1602. ' u5 W; w1 f9 A
  1603. ; register constants casesensitive5 c/ d  I; s8 v$ H* W
  1604. ; http://php.net/com.autoregister-casesensitive
    ; M; w/ x8 z* H  j
  1605. ;com.autoregister_casesensitive = false
    1 C; ~/ G" P& ~* U2 H" f- _( v
  1606. 1 @8 Z! y2 W) D, H1 {. B
  1607. ; show warnings on duplicate constant registrations/ i, B2 C; X' J9 ?6 F) i
  1608. ; http://php.net/com.autoregister-verbose
    : U2 n2 J, o, Q, t: @( W
  1609. ;com.autoregister_verbose = true
    * w# F$ `# `$ V% d6 a

  1610. 4 \8 G0 f$ {9 S
  1611. ; The default character set code-page to use when passing strings to and from COM objects.' ^) P) b$ C' u7 q
  1612. ; Default: system ANSI code page0 a; w9 U5 p# S: r' p! \
  1613. ;com.code_page=
    : v3 R$ \% B& J* d) W

  1614. - W' w8 h/ X5 E7 V% X1 l! \
  1615. [mbstring]
    # p7 D3 _& t( E6 M" H
  1616. ; language for internal character representation.6 k$ V" T" G  N" t
  1617. ; This affects mb_send_mail() and mbstring.detect_order.8 m8 I/ {+ u2 ]/ `
  1618. ; http://php.net/mbstring.language
    " a( M$ h0 N% E1 J0 Y( v: {
  1619. ;mbstring.language = Japanese
    ( {+ i( g# n# r# z7 r5 ?9 l* ~0 T8 H
  1620. 1 n9 q  W& o5 B" s
  1621. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    " F. s' y. I4 H9 Y/ x% i# _" }. u
  1622. ; internal/script encoding.
    ; X5 q; h7 }, K& x9 _  i
  1623. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    $ e' L# y! ]  Q4 K
  1624. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.3 b8 I5 G* q- V6 X2 r; m' c# [9 a
  1625. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    * L, K. x$ [0 x3 d* T1 ?
  1626. ;mbstring.internal_encoding =, B( m" V6 r- I3 n- K
  1627. - Z1 W$ p- ^" @: l2 H. s
  1628. ; Use of this INI entry is deprecated, use global input_encoding instead.$ _2 S7 G' E" R4 k# R- o" i
  1629. ; http input encoding.
    . z9 b2 p7 V; Z! |3 @% @. O
  1630. ; mbstring.encoding_traslation = On is needed to use this setting.4 [- \# k- \/ ]9 a
  1631. ; If empty, default_charset or input_encoding or mbstring.input is used.
    . I! S6 c1 I! d( z- v
  1632. ; The precedence is: default_charset < intput_encoding < mbsting.http_input
    9 T+ i, ?, T" Z7 S% r" @
  1633. ; http://php.net/mbstring.http-input
    5 n+ A1 S( `8 M1 L- U* s
  1634. ;mbstring.http_input =
    3 Q. ]% r& V% B, m. P3 Y' D& {
  1635. 4 `# w( N8 S5 c
  1636. ; Use of this INI entry is deprecated, use global output_encoding instead.9 X9 v! ~* n+ F+ J
  1637. ; http output encoding.
    / c; H# j- h5 u; r- s, M0 _5 _5 M" {
  1638. ; mb_output_handler must be registered as output buffer to function.$ e8 N. ?9 e3 N; z- T
  1639. ; If empty, default_charset or output_encoding or mbstring.http_output is used.7 o4 X- U' N6 c+ k1 }
  1640. ; The precedence is: default_charset < output_encoding < mbstring.http_output8 d% e, N; G; W3 w; a, I
  1641. ; To use an output encoding conversion, mbstring's output handler must be set
    0 N6 k# P) c* E3 q
  1642. ; otherwise output encoding conversion cannot be performed.
    ( N  F$ W" B9 g5 N
  1643. ; http://php.net/mbstring.http-output
    " U% h$ b+ ~% b0 a0 W( `9 L' j
  1644. ;mbstring.http_output =1 |7 D, p1 ~% `5 r
  1645. * l4 W5 `9 e7 t+ H9 z9 F- m
  1646. ; enable automatic encoding translation according to
    2 i  W( J8 b% |5 Q8 @+ ?
  1647. ; mbstring.internal_encoding setting. Input chars are4 w  T9 e( p6 w) ~9 A" z  l. x* D! G
  1648. ; converted to internal encoding by setting this to On.4 j/ I* A5 G. u6 i) B. F
  1649. ; Note: Do _not_ use automatic encoding translation for
    # m$ Z5 S- Q* L/ z7 P! U( D) g
  1650. ;       portable libs/applications./ s' _! y, m' R( {+ d) B5 w2 {# }
  1651. ; http://php.net/mbstring.encoding-translation9 C  A5 v6 A+ R! T$ d, m
  1652. ;mbstring.encoding_translation = Off$ P2 s; o! z# j3 V

  1653. 9 M; w& f' N* {$ H% @6 A
  1654. ; automatic encoding detection order.2 k4 t* D: d! k' P  f( g
  1655. ; "auto" detect order is changed according to mbstring.language4 }5 J6 E& t; P0 m' x/ z
  1656. ; http://php.net/mbstring.detect-order. r1 G+ E/ ~* ]5 t7 Q7 a! T# E# O8 z
  1657. ;mbstring.detect_order = auto# B' d1 J: \$ v) @# h
  1658. 5 n! j% A$ ?1 [+ ~$ O
  1659. ; substitute_character used when character cannot be converted, j) s' ]8 e$ d7 A! M
  1660. ; one from another
    2 T& H4 X* j: z3 c% b$ ?
  1661. ; http://php.net/mbstring.substitute-character
    7 u0 J& a, r! J1 G. X; ?
  1662. ;mbstring.substitute_character = none
    " P  v2 X- l: Y9 w( ]; ]

  1663. # `3 |; {1 L& g
  1664. ; overload(replace) single byte functions by mbstring functions.& K. G. y; w7 Z
  1665. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),
    0 q+ T$ ^  v0 Q" @" F
  1666. ; etc. Possible values are 0,1,2,4 or combination of them.
    % @3 {/ W0 D; N: B" N
  1667. ; For example, 7 for overload everything.
    3 U4 _! t$ I9 j) w" R! j9 f
  1668. ; 0: No overload
    ' U/ V' P4 u4 {3 j- M% F$ P
  1669. ; 1: Overload mail() function8 W! F, T4 \  w0 w7 `" q* L" z. X/ R
  1670. ; 2: Overload str*() functions
    , p% {1 N: M. i- G* `1 c
  1671. ; 4: Overload ereg*() functions" F( o$ @$ j3 P
  1672. ; http://php.net/mbstring.func-overload
    ; ~+ z- q* ?9 l  `9 _' ~. t3 t
  1673. ;mbstring.func_overload = 0
    8 g7 M  o2 y7 b. N3 f

  1674. ; I6 O- A4 {2 f5 T  F" d2 Z
  1675. ; enable strict encoding detection.
    ' s) O, L" M# Y0 W/ t
  1676. ; Default: Off3 ?6 `( ]& R7 f
  1677. ;mbstring.strict_detection = On
    1 }- @6 Y9 l- b% E& O) F
  1678. : ^! x3 j3 h) k$ p
  1679. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    , k9 A4 ?# ]" \* u: E
  1680. ; is activated.
    4 |# p3 `) R4 w6 i# m/ Z7 L/ J& b( b, u
  1681. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)
    8 K' B% j0 S0 W% H# X5 I% ]
  1682. ;mbstring.http_output_conv_mimetype=/ |! l4 ]# v% I6 w* Z
  1683. % X- E! A0 a. |" m
  1684. [gd]
    3 K. R9 b0 j7 C6 _2 V
  1685. ; Tell the jpeg decode to ignore warnings and try to create
    1 d) v* h8 o% G
  1686. ; a gd image. The warning will then be displayed as notices# X3 ^+ A, l) V! R
  1687. ; disabled by default
    + c3 [. U6 W2 i1 @+ c% @
  1688. ; http://php.net/gd.jpeg-ignore-warning( G( o4 X' T% o. \: f  K3 s
  1689. ;gd.jpeg_ignore_warning = 00 F0 @3 p4 x# q4 \" e8 u# ^3 w

  1690. 1 f  o2 |1 f8 H& K9 S
  1691. [exif]: J  o. w: V* t4 v+ }9 X4 h/ A
  1692. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.
    6 y; \( i% V& a0 J' q( s. q. U8 y
  1693. ; With mbstring support this will automatically be converted into the encoding0 D- r& s" P6 z: Y
  1694. ; given by corresponding encode setting. When empty mbstring.internal_encoding" v" Y& b8 Q% v
  1695. ; is used. For the decode settings you can distinguish between motorola and
    # \# l, [3 }) t- h5 p5 b
  1696. ; intel byte order. A decode setting cannot be empty.
    ; Q2 u  Z: U& w
  1697. ; http://php.net/exif.encode-unicode
    % n7 W9 d4 p+ Z3 U: C) ~: r# p# }
  1698. ;exif.encode_unicode = ISO-8859-15
    9 K6 a6 E" i. S% @. ~# G2 `
  1699. / r% D$ Y8 t1 w9 q* A% x+ a9 r
  1700. ; http://php.net/exif.decode-unicode-motorola
    3 ~1 q6 \7 o2 x: I- t; _
  1701. ;exif.decode_unicode_motorola = UCS-2BE
    3 Q; f/ o- c9 I0 w' f* A
  1702. 1 t$ S# o7 @! R$ w, D# R% X. }: t
  1703. ; http://php.net/exif.decode-unicode-intel
    % u9 B  \- S* P6 Q# W
  1704. ;exif.decode_unicode_intel    = UCS-2LE, D0 [1 c, {) P0 O9 k) V

  1705. / m4 r9 o5 ~3 p  ?/ a$ Q
  1706. ; http://php.net/exif.encode-jis2 n1 ~1 ?& j) ?) m) o5 N
  1707. ;exif.encode_jis =* B9 S  \7 m1 y. ?+ z
  1708. , j5 D8 K  m* S
  1709. ; http://php.net/exif.decode-jis-motorola3 P0 E3 H: ?& J$ M5 a" K
  1710. ;exif.decode_jis_motorola = JIS  h: @( v& e1 y

  1711. 9 k( D+ `. Q# {* N
  1712. ; http://php.net/exif.decode-jis-intel+ }7 G- @" I4 l
  1713. ;exif.decode_jis_intel    = JIS6 b$ ]3 l6 w- }! N
  1714. " J6 H  h: B+ G. U0 O0 ~1 W
  1715. [Tidy]
    6 l- `9 r) f6 G4 f- V4 Y* {
  1716. ; The path to a default tidy configuration file to use when using tidy" W. |6 D5 b: d( ~
  1717. ; http://php.net/tidy.default-config
    * {; ]; J. y6 [) |9 }, g' m" z0 b
  1718. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    1 w6 `  N# p  ?9 [! I. n/ R

  1719. 9 v! a( `/ J8 O; [' o4 d5 D/ {
  1720. ; Should tidy clean and repair output automatically?3 [- a0 G0 v/ y) B7 O6 }) R
  1721. ; WARNING: Do not use this option if you are generating non-html content
    ) `1 j  L8 ]$ Y) @9 {0 v
  1722. ; such as dynamic images
    5 E+ R' x( k5 ^8 V" H8 Q
  1723. ; http://php.net/tidy.clean-output
    & S, e; w0 P' g) M  P& A6 X
  1724. tidy.clean_output = Off
    0 F# ]/ R+ j5 o; J" X7 k
  1725. 9 [5 E9 b: s. D
  1726. [soap]0 s/ ]* F; m) [' b0 e) ?" K, `
  1727. ; Enables or disables WSDL caching feature.
    # w# F' D* x2 C- j$ D- O: v1 u
  1728. ; http://php.net/soap.wsdl-cache-enabled, H) K, \* E. ]2 g# e" ?
  1729. soap.wsdl_cache_enabled=1
    , T5 r) D% n+ p5 N
  1730. " i; i, g/ d! x2 {* Z  j' |6 g9 H
  1731. ; Sets the directory name where SOAP extension will put cache files.
    ) U. K8 W0 Y' M' A) _6 m
  1732. ; http://php.net/soap.wsdl-cache-dir( r* W5 L% v% U
  1733. soap.wsdl_cache_dir="/tmp"2 O) A. L& E, W) z# Z+ E* ~- W7 n

  1734. ' u0 i2 Y; c, p1 A2 y: Z
  1735. ; (time to live) Sets the number of second while cached file will be used
    , o8 r5 [* ]! O$ M7 {' ^" X
  1736. ; instead of original one.
    8 s: j+ e, a1 l0 ]0 C) K* U" ^
  1737. ; http://php.net/soap.wsdl-cache-ttl  M# F* c8 Z6 U$ E% D
  1738. soap.wsdl_cache_ttl=86400
    7 F) G# L7 _6 h6 f- M

  1739.   ?4 k, K5 R& A) ?+ ]2 f# d  E8 M
  1740. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)# Z, D% I- w. c5 }; X2 G
  1741. soap.wsdl_cache_limit = 5
    4 g" u# b9 t' c+ I$ P5 ]
  1742. 9 v! C/ t1 E( q; p
  1743. [sysvshm]
    ) z1 N8 |+ _4 W
  1744. ; A default size of the shared memory segment
    * S  E2 r; r1 H! N1 k
  1745. ;sysvshm.init_mem = 100009 V. H: r; e1 p5 O6 p$ a! j# \

  1746. $ C4 L7 h' c7 ?, m
  1747. [ldap]4 G  ?! [+ J& p4 ^1 W1 M
  1748. ; Sets the maximum number of open links or -1 for unlimited.
    5 @7 t; @* j& ?- F* k* p# ]
  1749. ldap.max_links = -1/ v8 _; t3 d) C+ d( f/ h3 i5 u
  1750. : [# l0 C) J4 Z; ]3 y' s
  1751. [mcrypt]
    . x9 z0 o. ]& H  m
  1752. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open) t/ v, P% E) ^1 j8 Q$ u. B# m

  1753. 1 c; [9 {- t5 ]3 s7 [0 a
  1754. ; Directory where to load mcrypt algorithms
    ' n; H) b- @4 W- _# S5 L+ C
  1755. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)9 G0 f2 D6 b$ T7 w5 r
  1756. ;mcrypt.algorithms_dir=
    4 {) C$ f  a* a  v$ U: y! K8 A
  1757. " n* a- B) f8 e: ?/ Y+ X. Y
  1758. ; Directory where to load mcrypt modes" n' W* f. d- p
  1759. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)
    2 i1 \, @* \. l  J* L2 J
  1760. ;mcrypt.modes_dir=2 N; t) t' T. U- L! d3 K: l

  1761. $ m* ~9 F% ]0 C+ F( e
  1762. [dba]
    ! k8 W4 u" Q) }' A  [/ _% o
  1763. ;dba.default_handler=
    8 n% W( R. I5 Z4 B

  1764. - T( ]- ^! r4 Z9 U* ]1 i
  1765. [opcache]
    + @; V5 a, w8 O& @9 f1 k
  1766. ; Determines if Zend OPCache is enabled% y( S7 y# {6 z: L5 n. f2 V
  1767. ;opcache.enable=0& L# s, B4 z1 V2 J. h
  1768. # [! P, Y) D9 H* S# d2 X
  1769. ; Determines if Zend OPCache is enabled for the CLI version of PHP& N+ {9 e4 A  g2 F- r* O
  1770. ;opcache.enable_cli=0+ q5 P6 @' t# I
  1771. 9 k( u( T4 \& G$ j" k  v9 N
  1772. ; The OPcache shared memory storage size.! I( `9 w' z9 |! b/ R: ^
  1773. ;opcache.memory_consumption=64
    1 @" N! @+ W9 r2 i
  1774. 3 L5 U5 r9 W% S
  1775. ; The amount of memory for interned strings in Mbytes.; W7 J( Q2 l* U6 T
  1776. ;opcache.interned_strings_buffer=4* ?+ I& o5 ^) t2 E" G0 v  k
  1777. ! [5 L1 L; d1 z8 ^. V( k
  1778. ; The maximum number of keys (scripts) in the OPcache hash table.
    / J1 p9 d$ I3 G0 _* K9 U
  1779. ; Only numbers between 200 and 1000000 are allowed.. ?$ ]. ?, o$ ?
  1780. ;opcache.max_accelerated_files=2000
    - J$ P4 l& i9 {7 {; J* Z% z7 y

  1781. " |7 E& i: ~( }: ~+ F& m
  1782. ; The maximum percentage of "wasted" memory until a restart is scheduled.' t+ p* _! G- s& R% |6 Z3 A
  1783. ;opcache.max_wasted_percentage=5
    0 S' f& F' u! ^, N* [
  1784. 6 i. B+ R7 l! l8 S6 l- g8 E' D( l
  1785. ; When this directive is enabled, the OPcache appends the current working2 _* e- b( j# B! n' {
  1786. ; directory to the script key, thus eliminating possible collisions between
    ! H4 N! y" M9 Q" B
  1787. ; files with the same name (basename). Disabling the directive improves
    " A' M6 T% j% T! ?" `1 [5 J9 E
  1788. ; performance, but may break existing applications.
    0 W& }- h" L6 z
  1789. ;opcache.use_cwd=1
    $ _9 Q: g1 Z2 E+ J3 L) a0 u5 r  k
  1790. 4 m+ |& Q. k5 p0 M& Y
  1791. ; When disabled, you must reset the OPcache manually or restart the
    6 E* D4 [+ f/ L
  1792. ; webserver for changes to the filesystem to take effect.
    & l5 w# j$ @9 \6 q3 F
  1793. ;opcache.validate_timestamps=1
    3 G6 V# U5 D* c
  1794. 8 q7 M) R& b* E7 W& V
  1795. ; How often (in seconds) to check file timestamps for changes to the shared
    6 _- ]# J0 |" I( l6 h( I
  1796. ; memory storage allocation. ("1" means validate once per second, but only
    ' R% P- @. R. [% a3 ~% I1 W  p
  1797. ; once per request. "0" means always validate)
      n8 h, `( P! _" L* k4 p
  1798. ;opcache.revalidate_freq=2
    8 Q% l: m- ]) S4 E, {

  1799. * c# \9 x2 ?. v
  1800. ; Enables or disables file search in include_path optimization
    ( G7 e; V" b+ A! P
  1801. ;opcache.revalidate_path=0
    : L- d' ~0 H  t+ S( D

  1802. + G6 ]4 \1 l' Y) F2 [# W% _
  1803. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    ) W  h1 q' v+ F% N+ O
  1804. ; size of the optimized code.  h9 `) ?: {/ O0 o
  1805. ;opcache.save_comments=1
      T! o! ?. G( E

  1806. 2 A1 m/ H4 H+ T: p- y) n
  1807. ; If enabled, a fast shutdown sequence is used for the accelerated code
    ! f9 y" _9 n/ F6 t+ d/ V6 X
  1808. ; Depending on the used Memory Manager this may cause some incompatibilities.& A& v/ W& [& I* {1 V( x
  1809. ;opcache.fast_shutdown=0$ B( `4 z( G9 P! a' N. j
  1810. 1 _; ~$ S3 V3 g) T" |4 n
  1811. ; Allow file existence override (file_exists, etc.) performance feature.
    1 q7 [/ ], _; `$ l1 D
  1812. ;opcache.enable_file_override=02 [% G1 G2 \6 h: n

  1813. 6 y: b2 X9 f. y% ?4 C% L: o
  1814. ; A bitmask, where each bit enables or disables the appropriate OPcache, u2 @# J7 V, |8 \( ?0 O
  1815. ; passes
    0 _- M$ b+ N! S8 b0 R$ e  @
  1816. ;opcache.optimization_level=0xffffffff
    % C6 ~6 W" R0 x5 @
  1817. 7 B" D& ~5 ^' G
  1818. ;opcache.inherited_hack=1
    ( R6 f" o- @. Z/ j$ N3 q) J' v" Z
  1819. ;opcache.dups_fix=0
    5 g( Y: F& A8 q% A- b

  1820. 6 N. E5 ~$ Y; D' s, {0 U' z
  1821. ; The location of the OPcache blacklist file (wildcards allowed).
    % g6 w* R; f, \& S9 [+ g3 _' F
  1822. ; Each OPcache blacklist file is a text file that holds the names of files
    % C9 @9 [3 r; r' _- I' D8 y
  1823. ; that should not be accelerated. The file format is to add each filename' o4 h6 ^: m0 ]: X! B9 M
  1824. ; to a new line. The filename may be a full path or just a file prefix: l5 Q6 J4 A3 i- M$ K
  1825. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    ! H2 ?. \5 ?8 f8 X3 h( ^! b
  1826. ; that start with 'x'). Line starting with a ; are ignored (comments).: l+ ^& O( C: N3 k$ v4 ~+ m- Y
  1827. ;opcache.blacklist_filename=* w+ l. {& H9 p! ]) ]& h

  1828. + t+ m) h/ ]  g! D& Q: w; C0 f
  1829. ; Allows exclusion of large files from being cached. By default all files" j. V' r0 y$ {9 _" L9 g# v7 s4 a
  1830. ; are cached.
    0 J, Y) P4 a5 g8 r$ N4 f8 t  C
  1831. ;opcache.max_file_size=0' d% ~5 Z& S1 k$ V8 v8 M
  1832. 1 y4 K' q: \' H: A) A
  1833. ; Check the cache checksum each N requests.
    3 Y7 S- `9 b3 o! Z! k3 ]/ ^/ g
  1834. ; The default value of "0" means that the checks are disabled.* m& ]5 c, e7 J9 v3 b& `* W) _
  1835. ;opcache.consistency_checks=0
    * }" m8 i; D$ J7 ^
  1836. & T5 p8 W' X: ?$ y& h4 M1 d
  1837. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    % b8 t% t  K5 g  y% }; R
  1838. ; is not being accessed.
    2 ]' V! Y( J- b8 c5 l
  1839. ;opcache.force_restart_timeout=180/ ?7 B' T& m& S( L" `

  1840. / W' W2 r, @2 G
  1841. ; OPcache error_log file name. Empty string assumes "stderr".
    $ k, v# I6 Q5 a; {, z2 S
  1842. ;opcache.error_log=) Z$ S+ M0 \* X. M2 o

  1843. 3 }; V+ l2 p9 p
  1844. ; All OPcache errors go to the Web server log.& P+ r8 A9 R/ H3 j' B9 f" u) p
  1845. ; By default, only fatal errors (level 0) or errors (level 1) are logged.1 O6 v' |: i- k: `
  1846. ; You can also enable warnings (level 2), info messages (level 3) or7 r: m$ z2 U/ W% ^! N& V3 }
  1847. ; debug messages (level 4).
    3 Q: s( R) N$ n5 j0 }
  1848. ;opcache.log_verbosity_level=1% V( h, Y8 D8 \# d6 i
  1849. & `  p6 G0 U$ d* j5 \8 `
  1850. ; Preferred Shared Memory back-end. Leave empty and let the system decide.% z: H0 ^' r; Q
  1851. ;opcache.preferred_memory_model=
    & R1 ^5 r! H% }& r% g' R% A
  1852. ! |0 u7 |3 W- Y* W: X
  1853. ; Protect the shared memory from unexpected writing during script execution.
    7 }- g3 X# B' N$ D0 v: c/ j
  1854. ; Useful for internal debugging only.
    7 n  @: d$ ~( B( c
  1855. ;opcache.protect_memory=08 Q4 _& C, B# X  k- F# E

  1856. 0 c" l; t( l$ T, D- ]
  1857. ; Allows calling OPcache API functions only from PHP scripts which path is
    9 v8 o4 i( r  M6 H  D7 b) j
  1858. ; started from specified string. The default "" means no restriction
    + h, v# q3 @8 F3 @( e! w
  1859. ;opcache.restrict_api=8 X0 |/ M" R8 \# |$ `- a

  1860. ( C1 R, G& E7 x' d4 M0 Q" G5 i
  1861. ; Mapping base of shared memory segments (for Windows only). All the PHP
    ! J5 A$ {& P% f1 o6 `- c: `9 i4 }
  1862. ; processes have to map shared memory into the same address space. This
    5 r4 p$ G: i* g( M0 A9 X
  1863. ; directive allows to manually fix the "Unable to reattach to base address"! H' Q% g. r1 `" s+ x
  1864. ; errors.* E2 M2 ]( F& W" v  w
  1865. ;opcache.mmap_base=* P0 V( |4 x/ |/ N

  1866. 9 P* V* u/ G& ]6 \3 g: W# `
  1867. ; Enables and sets the second level cache directory.6 V) y- j) _$ K& \: l, W! k
  1868. ; It should improve performance when SHM memory is full, at server restart or+ [8 ?3 F3 ~* ~( r* g2 V
  1869. ; SHM reset. The default "" disables file based caching.! h; i( O8 }: m: i
  1870. ;opcache.file_cache=5 J3 e9 a2 G! `+ V. `4 J! q

  1871. . C) \* N, z/ z" r
  1872. ; Enables or disables opcode caching in shared memory.' H; k! O/ n! ~* y& h
  1873. ;opcache.file_cache_only=0
    # g! A8 j2 k, f

  1874. & N7 Y2 t* |* K8 f6 w7 z
  1875. ; Enables or disables checksum validation when script loaded from file cache.
      r/ x9 R5 m& i, y5 `4 a
  1876. ;opcache.file_cache_consistency_checks=1
    * k* d+ j+ X! `
  1877. - x8 k( x' W5 S5 N5 |9 s
  1878. ; Implies opcache.file_cache_only=1 for a certain process that failed to, {7 U+ I0 \- ]0 X; _4 E
  1879. ; reattach to the shared memory (for Windows only). Explicitly enabled file9 c$ q! c/ y! Y  x5 U" W
  1880. ; cache is required.; T5 t' Z7 x1 `2 K3 R  e/ G1 Y
  1881. ;opcache.file_cache_fallback=1
    8 p- l9 ~, m5 V3 B5 G

  1882. 3 R* A9 _/ ]+ S$ `" a+ }  @
  1883. ; Enables or disables copying of PHP code (text segment) into HUGE PAGES.
    . [: \% F8 a% J$ [
  1884. ; This should improve performance, but requires appropriate OS configuration.( _' G% e; {2 R/ z: G1 M! E
  1885. ;opcache.huge_code_pages=12 T$ r7 S4 h, I( O

  1886. 2 G, x. e0 i; x2 K2 o* t" [
  1887. ; Validate cached file permissions.
    ' W/ u, J9 ^' [( f
  1888. ; opcache.validate_permission=07 G! n$ Y# Z5 g9 a
  1889. 3 G0 c' t+ k) s: x  F% x
  1890. ; Prevent name collisions in chroot'ed environment.
    8 I' }2 `" c4 T7 M3 ~
  1891. ; opcache.validate_root=0
    : |4 w# I: C- Y7 ?& k( u1 w

  1892. $ L3 D% u  z, y: W$ J
  1893. [curl]
    ; d0 \" L" P8 f- i2 Q" V/ v1 j
  1894. ; A default value for the CURLOPT_CAINFO option. This is required to be an: O( N( w$ |$ }4 m% L
  1895. ; absolute path.
    2 v) c' j6 B0 Y& ^
  1896. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt# ~7 `/ }# m9 W3 m; j8 w/ _
  1897. ( J- I% U9 ~5 g# K) M2 B
  1898. [openssl]' n0 E7 |: |& y; B, s! g4 ^
  1899. ; The location of a Certificate Authority (CA) file on the local filesystem
    ' b7 x8 Y% @* |# W9 Q7 L+ l5 M. A
  1900. ; to use when verifying the identity of SSL/TLS peers. Most users should
    8 X. u) D) c+ p; p8 t
  1901. ; not specify a value for this directive as PHP will attempt to use the- c# e' _6 r- e
  1902. ; OS-managed cert stores in its absence. If specified, this value may still
    : Y: c" |) g1 d: L8 Y
  1903. ; be overridden on a per-stream basis via the "cafile" SSL stream context
    8 f; d; e3 U4 d$ N6 e5 x
  1904. ; option.9 A% _4 @; O- a
  1905. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt5 E0 I; H4 ?- m1 z# P6 x% E
  1906. + S/ l* B% T1 _) R( w, f
  1907. ; If openssl.cafile is not specified or if the CA file is not found, the$ i( B  M( K+ i) v0 e  X: d( {2 B
  1908. ; directory pointed to by openssl.capath is searched for a suitable/ z  {: f  ^8 Y- w7 s! T  @
  1909. ; certificate. This value must be a correctly hashed certificate directory.
    ( T. K. D6 ~1 E' B" k
  1910. ; Most users should not specify a value for this directive as PHP will
    " x- I' j9 J( c9 C/ F) h9 X
  1911. ; attempt to use the OS-managed cert stores in its absence. If specified,
    * g' q" s* n% L- g: n5 n  r
  1912. ; this value may still be overridden on a per-stream basis via the "capath"
    ( q0 }5 ~2 q5 s5 k$ h
  1913. ; SSL stream context option.
    5 T/ D0 y) k) w. X1 d$ T
  1914. ;openssl.capath=$ ^" ]6 U3 v% O$ b+ j

  1915. . U. a# o+ S$ G5 A
  1916. ; Local Variables:
    0 ]# r% T0 Q. V5 h/ B2 P+ V3 k! I
  1917. ; tab-width: 4
    + c4 i3 t4 y( d% D4 h/ i1 c
  1918. ; End:
    1 ?2 y2 S3 E% ]& D* {& O3 A4 ?
  1919. ( O7 B6 B3 r% j8 S2 q
  1920. ;eaccelerator: q$ B4 |1 q+ W4 P0 c5 A

  1921. / R, X& W3 {- `4 J7 K% w" `" P4 a' V
  1922. ;ionCube$ f) C5 M" F( Z) F6 _4 W# R( B

  1923. 3 K6 Z- u5 I8 ]# ^8 H, L* J$ c
  1924. ;opcache0 D: f/ X( A& i! `7 i5 X( V4 I

  1925. # w! j3 K4 N( M, i( s
  1926. [Zend ZendGuard Loader]& h; M3 T& U" _
  1927. ;php7 do not support zendguardloader @Sep.2015,after support you can uncomment the following line.
    / S8 D& `! g+ s
  1928. ;zend_extension=/usr/local/zend/php70/ZendGuardLoader.so
    ( {1 N  m1 z) l% s; ~
  1929. ;zend_loader.enable=16 }% @. O( [9 Q4 Y
  1930. ;zend_loader.disable_licensing=02 F( `' i) {6 ^! G5 m2 b' y3 }: o
  1931. ;zend_loader.obfuscation_level_support=3, A8 g% o* F: h% _* c& r
  1932. ;zend_loader.license_path=
    % m1 ?' V& b- h( R* k
  1933. , [* ?  Z. K) R/ w) T7 N
  1934. ;xcache* j1 O. U9 c  S8 L, X
  1935. , Q: [+ @& }* W4 s5 j
复制代码

9 P" f7 X/ N( V4 j& T9 T% ~3 g: o
" W6 ?7 g8 ?3 ^! x$ D6 `" |, R0 P3 |% c2 K1 t5 k- W
7 @5 i" V$ [' E; O
  x1 v# j9 T+ ^; p* q! N

+ n# c2 p% \9 x. s5 G
, X2 D3 @" {6 k+ `2 i, n" iPHP5.6版本原始设置2 q. i! k* U$ [+ ^1 m
+ O& h7 J& t3 L2 S
  1. [PHP]
    . M* Y- K: S; V) @9 M
  2. 9 ^% B' L9 L2 y- E9 N
  3. ;;;;;;;;;;;;;;;;;;;
    2 e4 z( x9 y5 ^5 l
  4. ; About php.ini   ;7 E" v/ j% P6 Y' _3 x% D( T. ?
  5. ;;;;;;;;;;;;;;;;;;;7 E# n0 o2 `! j! N9 Q4 Y! `- P
  6. ; PHP's initialization file, generally called php.ini, is responsible for  y1 X1 X1 Q! _4 f
  7. ; configuring many of the aspects of PHP's behavior.
    2 i1 a5 g$ y. ?! h! n
  8. . Z; z1 n) p& _3 b1 y% c: y
  9. ; PHP attempts to find and load this configuration from a number of locations.) Z# q( L3 o! z. F+ D
  10. ; The following is a summary of its search order:
    $ Z* M+ A0 D7 f+ v, A% l8 X
  11. ; 1. SAPI module specific location.
    2 a& C0 ~* i8 w% A( A1 [6 K- k
  12. ; 2. The PHPRC environment variable. (As of PHP 5.2.0)/ w3 L% P8 p1 @/ S! y# y
  13. ; 3. A number of predefined registry keys on Windows (As of PHP 5.2.0)9 G% q! l- g8 u/ r; v
  14. ; 4. Current working directory (except CLI)) h0 M1 A* x' t. v, L5 I. A
  15. ; 5. The web server's directory (for SAPI modules), or directory of PHP
    4 l7 {( W5 c( v9 p9 s; ?3 U
  16. ; (otherwise in Windows)+ N! u& N+ }; j3 z/ C5 ]6 N) g  D9 K' x
  17. ; 6. The directory from the --with-config-file-path compile time option, or the
    2 }1 u9 {8 f2 @" P: i7 o
  18. ; Windows directory (C:\windows or C:\winnt)
    # a; B- c$ i9 X2 J' W
  19. ; See the PHP docs for more specific information.2 c" J! {9 Q5 }
  20. ; http://php.net/configuration.file8 Z5 R. s/ S( w3 N0 r

  21. ; d7 u; K' B! v$ T0 F  g
  22. ; The syntax of the file is extremely simple.  Whitespace and lines
    1 x! p7 B/ {/ ~$ G
  23. ; beginning with a semicolon are silently ignored (as you probably guessed).
    ' W4 K; J3 Y; b6 Z5 y+ H4 d+ \
  24. ; Section headers (e.g. [Foo]) are also silently ignored, even though
    3 _1 K6 j! t, [# }
  25. ; they might mean something in the future.
    / P4 S  h4 {* t3 D$ r) ]  i
  26. ' ]) b2 R+ l* v
  27. ; Directives following the section heading [PATH=/www/mysite] only
    3 `8 U$ o4 e/ P' S" z4 o
  28. ; apply to PHP files in the /www/mysite directory.  Directives
    ' Q! q) C% {, e; L  g( D
  29. ; following the section heading [HOST=www.example.com] only apply to0 d+ k2 F2 `" V5 `2 F- q
  30. ; PHP files served from www.example.com.  Directives set in these4 S' z: K0 Y) V9 y; _
  31. ; special sections cannot be overridden by user-defined INI files or9 O' e1 M& h2 `& j# a# p
  32. ; at runtime. Currently, [PATH=] and [HOST=] sections only work under
    $ b% t5 z' b- @0 e; C+ h6 R/ g  Y% l
  33. ; CGI/FastCGI.) s$ K# V3 z; {2 ~& [; W
  34. ; http://php.net/ini.sections; q: w  ]4 w5 m9 ^% \
  35. 5 i0 I% O: p: f1 e& D% P
  36. ; Directives are specified using the following syntax:+ c! v+ v4 [( Q( A% {5 H' h1 P
  37. ; directive = value/ h9 I/ E) C: U  E
  38. ; Directive names are *case sensitive* - foo=bar is different from FOO=bar.
    ; b, {) u. z% X2 {
  39. ; Directives are variables used to configure PHP or PHP extensions.9 n% h/ v! r! k/ b% J5 W) S
  40. ; There is no name validation.  If PHP can't find an expected: N* I8 Q2 V! q  ?
  41. ; directive because it is not set or is mistyped, a default value will be used.
    . c; K/ H- m4 R" k
  42. . |' @: z3 y0 z% D  d* [% L; u
  43. ; The value can be a string, a number, a PHP constant (e.g. E_ALL or M_PI), one$ i5 G+ S" _# L- i
  44. ; of the INI constants (On, Off, True, False, Yes, No and None) or an expression! u& c/ ]9 e* b* l! t
  45. ; (e.g. E_ALL & ~E_NOTICE), a quoted string ("bar"), or a reference to a
    3 d( W- G9 b2 l% [- U3 e" U6 l
  46. ; previously set variable or directive (e.g. ${foo})
    - x! V$ n2 X9 b- @! m1 d

  47. : c8 k7 M) _' s, a3 B
  48. ; Expressions in the INI file are limited to bitwise operators and parentheses:. z6 e2 |9 j/ e, b/ ^' L9 X) q
  49. ; |  bitwise OR
    : b$ p- C6 o  l5 i- C
  50. ; ^  bitwise XOR- q* l/ U6 ]8 U1 O: t4 M" x4 `; A
  51. ; &  bitwise AND
    , U. c! s9 D2 W  ?
  52. ; ~  bitwise NOT5 ~& \0 R: i( W$ _) w8 a! Q- k. S
  53. ; !  boolean NOT
    . N/ Z- L5 A9 k9 ^
  54. * L6 x$ x8 w3 C* B
  55. ; Boolean flags can be turned on using the values 1, On, True or Yes.
    2 x7 I8 E- d+ J+ g8 `- a+ S8 d
  56. ; They can be turned off using the values 0, Off, False or No.3 C5 a4 W, Q' p* t* H' Y. |
  57. 4 T- A  M, A' h6 z
  58. ; An empty string can be denoted by simply not writing anything after the equal
    , J' K' R+ ?% t; C1 h
  59. ; sign, or by using the None keyword:
    / [- T: g% q: r
  60. - m$ ^0 J+ y! A  y
  61. ;  foo =         ; sets foo to an empty string
    ! o2 ^& g3 t$ E
  62. ;  foo = None    ; sets foo to an empty string4 N7 o5 L8 G% Q. G
  63. ;  foo = "None"  ; sets foo to the string 'None'
    * k7 i" v% {4 }' i

  64. # J0 }* N( |0 n) J5 M- u# N7 p
  65. ; If you use constants in your value, and these constants belong to a7 ^% x* l9 t9 i, x) h9 X
  66. ; dynamically loaded extension (either a PHP extension or a Zend extension),0 c+ S& F- h7 \) m1 Y
  67. ; you may only use these constants *after* the line that loads the extension.- m: E( n5 S( u7 J; p5 I

  68. 6 z8 E. K, W8 M% E+ T5 E
  69. ;;;;;;;;;;;;;;;;;;;
    * E7 ^/ ~* q1 G* m+ T7 L) z5 d
  70. ; About this file ;  D! b5 g( b. d+ y
  71. ;;;;;;;;;;;;;;;;;;;7 u8 x9 r5 L- L# ]% L+ f
  72. ; PHP comes packaged with two INI files. One that is recommended to be used( O- z* i8 i  A0 [* U1 q
  73. ; in production environments and one that is recommended to be used in
    7 Z" V9 }2 D0 m: U) T" B! ]" u
  74. ; development environments.6 U" R4 Y% r5 h+ N. h6 j! e8 p# v
  75. - r9 t; O* l- `/ h3 Z6 c# V
  76. ; php.ini-production contains settings which hold security, performance and
    7 P2 ^! r% Z1 ~9 A
  77. ; best practices at its core. But please be aware, these settings may break
    6 G% r4 P, e# ^
  78. ; compatibility with older or less security conscience applications. We+ s( ?; j1 x! q4 Q
  79. ; recommending using the production ini in production and testing environments.% s& Z& O; W5 p" u
  80. 5 H# v9 E, ^7 @/ w1 [4 m
  81. ; php.ini-development is very similar to its production variant, except it is
    " e% m) J  R: X+ W
  82. ; much more verbose when it comes to errors. We recommend using the5 g- F% b; H4 v5 [: ^$ P; H
  83. ; development version only in development environments, as errors shown to
    $ B: g$ a+ f0 `' R4 y
  84. ; application users can inadvertently leak otherwise secure information.8 F- M+ g- k) r- r2 o
  85. 5 U1 l$ c, v2 |
  86. ; This is php.ini-production INI file.4 }! J, B8 b, c+ l

  87. & K1 J9 `: S* W; I
  88. ;;;;;;;;;;;;;;;;;;;' _, P; J* J; l- P! }/ `
  89. ; Quick Reference ;
    5 \. w' P/ o  \) P/ b
  90. ;;;;;;;;;;;;;;;;;;;9 r+ Y! q. ], y8 h
  91. ; The following are all the settings which are different in either the production
    2 T* ?0 z) }+ B' a1 T
  92. ; or development versions of the INIs with respect to PHP's default behavior.3 Q) ~( y6 S5 J. D( j
  93. ; Please see the actual settings later in the document for more details as to why/ y) f7 t' G6 U! C+ E
  94. ; we recommend these changes in PHP's behavior.
    / V! m: h0 O5 D+ {: _0 Q
  95. 6 `. J4 p& F; M" @
  96. ; display_errors
    9 E9 d( {. _1 M' @  \% t
  97. ;   Default Value: On1 F* _+ F3 f' W, o2 q  Y! _$ ]
  98. ;   Development Value: On/ D4 |! o* O3 l! e- a, d
  99. ;   Production Value: Off
      P- z  \. ]- h: W
  100. " q4 E. B# i0 r8 D3 x! ^/ Z: Z, f* \
  101. ; display_startup_errors
    3 [' J; O- ~& [8 r- U% F
  102. ;   Default Value: Off
    . R% U3 n7 Y  u$ b' m
  103. ;   Development Value: On
    / D) c( x% v( X
  104. ;   Production Value: Off
    8 g7 E5 ?" c0 n  s  }' k
  105. 3 v- F. a& D" a% {& i. {8 p$ R  S
  106. ; error_reporting0 V; ^2 i  B/ E4 U
  107. ;   Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED
    9 A9 |* n+ |& K
  108. ;   Development Value: E_ALL
    0 `! \! Q6 A2 Q3 t  V, |
  109. ;   Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT$ K3 D) Q0 i, @+ a1 u, [( e3 s0 D$ q

  110. # \% \6 M# O6 H7 ^
  111. ; html_errors
    / q, @% ?. \8 Y+ Q' h4 [
  112. ;   Default Value: On
    2 X" I* n0 h! m. g# i1 z
  113. ;   Development Value: On2 Q4 N6 S0 C& R; F& P0 B
  114. ;   Production value: On8 u7 T- F7 Q6 g! O# P# G- _" {. P& H
  115. : L" {2 U* Q) W" f
  116. ; log_errors
    0 {* ^( s3 T( g" A! U. g! s
  117. ;   Default Value: Off7 V  c6 r6 W9 ^$ y! J0 S
  118. ;   Development Value: On6 L- k$ M$ I+ z3 ]
  119. ;   Production Value: On* x+ |1 C- l) K, z7 k

  120. . h4 l+ }$ c3 J# G
  121. ; max_input_time
    " I1 m( F/ m! t* I: m2 q9 P
  122. ;   Default Value: -1 (Unlimited)9 b/ O/ K/ j: \  V: D
  123. ;   Development Value: 60 (60 seconds)
    ' E0 A2 v7 x" z( j5 X# i
  124. ;   Production Value: 60 (60 seconds)
    , i  d8 \! T( \" N9 R( C

  125. # Y: |1 `1 O3 j# [0 X' X
  126. ; output_buffering
    7 {) K$ H; D: p: _+ c; Z
  127. ;   Default Value: Off
    * p; C; O' t9 m
  128. ;   Development Value: 4096
    " t7 q" u* M  d6 S0 s
  129. ;   Production Value: 4096
    ; {1 W, k# O3 ~8 A4 O
  130. * @+ P" ~- Q$ @, ^1 B) P4 {6 I. ?
  131. ; register_argc_argv
    6 a* e0 c) \. \
  132. ;   Default Value: On
    ! ?) w5 Q, K; ~+ k2 o
  133. ;   Development Value: Off
    $ R! F% l9 ^- b3 x
  134. ;   Production Value: Off
    7 [0 r4 S+ |2 M5 k  t

  135. ' l* F$ f1 n- F  c1 h
  136. ; request_order
    ! F/ a$ _( f& K9 Z& \2 j8 Y
  137. ;   Default Value: None
    ) ]# s4 K& ^7 D6 Y/ u) M
  138. ;   Development Value: "GP"& A5 g, k; K8 J7 _2 L+ E
  139. ;   Production Value: "GP"7 y2 I* N1 [" t9 T* |: Y- B

  140. 2 X; w. t1 }7 n0 K1 U$ c3 a
  141. ; session.gc_divisor
    9 `' k* u. y7 U' j0 f
  142. ;   Default Value: 100$ v8 E' S* h! T! S0 N& t
  143. ;   Development Value: 1000
    ! b% {7 Y3 v& E% z9 N) b
  144. ;   Production Value: 1000. _: V6 n$ _/ c* P' s; z3 l

  145. 4 e9 y4 Y( u" t* q
  146. ; session.hash_bits_per_character# W% A: [6 V  h7 z! X. C8 R! E4 n) p
  147. ;   Default Value: 4
      A0 Y$ G7 Q" c" Y" r
  148. ;   Development Value: 5
    6 a" G7 X: F( S  Q7 ^
  149. ;   Production Value: 5
    + e# h. C/ B8 X! i  Z& ~& y2 e
  150. 3 c* o9 x/ B% K0 b# I
  151. ; short_open_tag
    # D0 ~9 \& w- g5 t9 k
  152. ;   Default Value: On
    9 M8 z) Y; `1 I' x8 z
  153. ;   Development Value: Off4 a) m8 x& D- v2 P6 H
  154. ;   Production Value: Off
    ) G5 `, C  b) C/ J5 V  _) J
  155. ' A3 H; ~7 v* I3 p( R  P
  156. ; track_errors; w7 R# d5 F+ m5 d$ l1 L3 a9 _  g
  157. ;   Default Value: Off
    % V" m% `: ?& T0 o0 Y4 F' K
  158. ;   Development Value: On0 `% M; O  y3 t* |, N5 w
  159. ;   Production Value: Off, A  E3 v, o3 l' x. O* E' A
  160. 9 H+ t& f+ Y! a; N
  161. ; url_rewriter.tags% x! h( i* V) O" C, v6 t+ Q
  162. ;   Default Value: "a=href,area=href,frame=src,form=,fieldset=": ^! j' o$ t* d
  163. ;   Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry": s0 \' `, c8 {0 D: U# e! z0 |1 E
  164. ;   Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ! x5 p8 _4 d9 C  w: j" M/ Q
  165. 7 ?8 X, i& {# u0 ]; l
  166. ; variables_order
    1 {9 U) K7 j. b/ g' O. s
  167. ;   Default Value: "EGPCS"
    0 N7 q! U/ q+ C, w5 B# i  j
  168. ;   Development Value: "GPCS"* X1 L- J% U0 F7 R$ `  B
  169. ;   Production Value: "GPCS"
    . p0 k- F3 `1 B+ ]5 V

  170. 9 [- l; d/ t$ M( \! |4 N
  171. ;;;;;;;;;;;;;;;;;;;;9 ?4 k( I5 l$ q9 A/ e8 S0 m3 a
  172. ; php.ini Options  ;7 M) Y( A6 x1 o% r6 D2 j8 G  f6 }
  173. ;;;;;;;;;;;;;;;;;;;;# k% [. {0 Y& ?6 |
  174. ; Name for user-defined php.ini (.htaccess) files. Default is ".user.ini"* R4 q2 l8 N6 j+ V! [5 c! g
  175. ;user_ini.filename = ".user.ini"9 W7 R; W! z! K5 S+ s

  176. ' v; y. V! j/ g6 ]
  177. ; To disable this feature set this option to empty value
    2 M/ ]1 J, R) [3 Q" L5 x$ L
  178. ;user_ini.filename =
    - V( E; u+ I6 y

  179. 2 E8 [9 m4 V* F6 V* I+ o
  180. ; TTL for user-defined php.ini files (time-to-live) in seconds. Default is 300 seconds (5 minutes)7 P, r2 F. \5 a: A& k7 G7 L
  181. ;user_ini.cache_ttl = 300
    / \9 K5 u, A6 P) s# Y4 |8 I
  182. $ @; c9 B6 @! K) o9 ~3 {1 I
  183. ;;;;;;;;;;;;;;;;;;;;& D6 }4 I2 i# x4 {" X0 z3 S. U
  184. ; Language Options ;
    ' R& E( j% s8 x) M1 i5 D! E
  185. ;;;;;;;;;;;;;;;;;;;;* ]- H" j; ~: A+ D
  186. 4 N6 U$ s% N/ m) ^- p  g
  187. ; Enable the PHP scripting language engine under Apache.
    - S& x9 `+ B. n' V
  188. ; http://php.net/engine
    ' |  d2 I4 T* t2 q* P4 L. h& L
  189. engine = On* B3 L. r  l1 H3 {- R

  190. . P# Y5 `, p* U8 z# G) O
  191. ; This directive determines whether or not PHP will recognize code between
    - j7 z5 M3 V. s- W; X" N  ?
  192. ; <? and ?> tags as PHP source which should be processed as such. It is
    ; \# Y' s" c, L2 w6 U. f0 A
  193. ; generally recommended that <?php and ?> should be used and that this feature: _( U3 |8 z1 w4 q: l8 w
  194. ; should be disabled, as enabling it may result in issues when generating XML
    ' I% V! ^" ]% q0 @
  195. ; documents, however this remains supported for backward compatibility reasons.9 p9 X9 ]& x& A4 l$ |; o2 I
  196. ; Note that this directive does not control the <?= shorthand tag, which can be
      n6 A1 u6 b/ o7 [  }
  197. ; used regardless of this directive.' ^8 c+ e) I) L0 F$ h1 Z
  198. ; Default Value: On
    + L# n3 L6 w# `
  199. ; Development Value: Off
    , s! {" F+ ^4 ~
  200. ; Production Value: Off
    5 _1 S( m& Y0 V' s5 L
  201. ; http://php.net/short-open-tag$ u) r) m$ G/ H) h* o
  202. short_open_tag = On& Q2 R+ f% Y; Q: p1 [

  203. , o; G' ?' ^# r! z/ e
  204. ; Allow ASP-style <% %> tags.
    , i3 q$ g4 q) [( z4 a$ B/ ?
  205. ; http://php.net/asp-tags( k2 \1 Y$ Q) k/ J2 @8 o3 g
  206. asp_tags = Off  W; s" L' B4 b* C
  207. 3 I: T! |9 v/ |. k) ~" R
  208. ; The number of significant digits displayed in floating point numbers.
    * g1 C/ @6 s& O4 \- P( P% M; @. i
  209. ; http://php.net/precision6 |. d9 f, |) G7 P& K
  210. precision = 14: w* J* h# }# Q( \, v: {
  211. # K: f/ F1 W' Y! @
  212. ; Output buffering is a mechanism for controlling how much output data5 f% r9 r2 t- `/ o. U3 s% |6 y
  213. ; (excluding headers and cookies) PHP should keep internally before pushing that
    ! M. ~) Z4 H& F) K
  214. ; data to the client. If your application's output exceeds this setting, PHP' P! }) R  a4 R% |: o; X- \  b
  215. ; will send that data in chunks of roughly the size you specify.
    5 e7 I, z3 [% y* u, V1 {8 x
  216. ; Turning on this setting and managing its maximum buffer size can yield some
    9 [- e0 t* m8 w  ~6 @
  217. ; interesting side-effects depending on your application and web server.
    0 n1 t( F8 y2 a( `6 y2 |) i
  218. ; You may be able to send headers and cookies after you've already sent output
      I; ?6 Y  l% D! {9 @; X
  219. ; through print or echo. You also may see performance benefits if your server is
    ' A5 c# A+ m3 v7 V* G4 _
  220. ; emitting less packets due to buffered output versus PHP streaming the output' R  t/ Q4 i0 P; _* j3 O
  221. ; as it gets it. On production servers, 4096 bytes is a good setting for performance! B1 I$ N# a2 k6 [+ S
  222. ; reasons.
    * O$ i$ w- @9 @+ p5 @+ a# _: T9 U
  223. ; Note: Output buffering can also be controlled via Output Buffering Control. q7 C6 f* e: P4 m, i# L
  224. ;   functions.& z' _& z# Y7 k/ A- a; h3 d
  225. ; Possible Values:' u% b4 d; Z# U) ]' ]8 e$ y+ D
  226. ;   On = Enabled and buffer is unlimited. (Use with caution)
    % L; R8 ~+ V3 f7 h8 f
  227. ;   Off = Disabled5 {6 l( b0 b) L1 {& @2 d; d
  228. ;   Integer = Enables the buffer and sets its maximum size in bytes.
    * }  }7 j- e( A
  229. ; Note: This directive is hardcoded to Off for the CLI SAPI! f: U8 L7 B+ o$ a4 _
  230. ; Default Value: Off
    2 w; v) H" K; h6 U/ [: M% {
  231. ; Development Value: 4096% P9 J0 P# ]! Y8 q# ?) o7 T2 V
  232. ; Production Value: 40964 P- M% q/ B! _7 [2 X
  233. ; http://php.net/output-buffering
    + s/ ]) c; C# W5 h) s2 B
  234. output_buffering = 4096
    # ]! Z! y* p/ Q( e5 G
  235. & K0 H- B* U& {4 d# `! C& f$ B
  236. ; You can redirect all of the output of your scripts to a function.  For
    . j' Q! u9 W5 R; ?* U9 |2 m1 h
  237. ; example, if you set output_handler to "mb_output_handler", character
    , j( s$ W+ _1 x/ }' c# j% S+ [, ]
  238. ; encoding will be transparently converted to the specified encoding.
    5 v$ }" f2 h7 w5 P8 w% J
  239. ; Setting any output handler automatically turns on output buffering.! I0 N6 u( J% p. x1 K; J7 H$ k/ I- u; E
  240. ; Note: People who wrote portable scripts should not depend on this ini
    " L1 o3 |4 @2 @
  241. ;   directive. Instead, explicitly set the output handler using ob_start().0 a0 F5 ?0 D3 ?/ M
  242. ;   Using this ini directive may cause problems unless you know what script9 Y1 d- [$ w0 E% Y4 {
  243. ;   is doing.
    1 J$ y: Y& A% V; P' h: W
  244. ; Note: You cannot use both "mb_output_handler" with "ob_iconv_handler". ]) @4 Y6 x4 N0 [; `
  245. ;   and you cannot use both "ob_gzhandler" and "zlib.output_compression".
    * j- ?/ q5 Y7 U0 N! x7 g
  246. ; Note: output_handler must be empty if this is set 'On' !!!!
    6 e3 ?# |0 C0 f* M" b- f9 _0 k' \
  247. ;   Instead you must use zlib.output_handler.1 B4 M  F; _) x& V6 G
  248. ; http://php.net/output-handler
    ( p2 H* z1 D3 _
  249. ;output_handler =
    9 W. s9 b  D, ^# r
  250. 1 [) v% Z8 J3 z  \6 e; j  F/ Z
  251. ; Transparent output compression using the zlib library
    ) x0 M, N/ Y. n- }2 i
  252. ; Valid values for this option are 'off', 'on', or a specific buffer size+ {% L) ^5 @. H. ^. L
  253. ; to be used for compression (default is 4KB)& H. H0 I' s' y! J
  254. ; Note: Resulting chunk size may vary due to nature of compression. PHP# q4 V0 y4 d. }5 Q  j, o& y
  255. ;   outputs chunks that are few hundreds bytes each as a result of
      C# G8 S, G4 [( W
  256. ;   compression. If you prefer a larger chunk size for better; T' t9 N+ ?) O/ `3 x: x3 B
  257. ;   performance, enable output_buffering in addition.% k! e. |9 y: J( ?! j/ {1 {+ x: Y
  258. ; Note: You need to use zlib.output_handler instead of the standard
    ; z, ]0 p# v, ?0 `# a* m& S
  259. ;   output_handler, or otherwise the output will be corrupted.  K: z6 ^1 r9 a7 b" r
  260. ; http://php.net/zlib.output-compression& W6 E! D, u# ]$ u8 o" Q
  261. zlib.output_compression = Off& u7 s: i# @1 V
  262. - A# c# w5 E1 I. _/ L) P
  263. ; http://php.net/zlib.output-compression-level, ?! x# W' T( F7 n" v% `) J
  264. ;zlib.output_compression_level = -1+ P! @  ]: _$ p6 c8 h

  265. 3 u5 k) [$ q$ j7 @. r1 N  C) l2 k
  266. ; You cannot specify additional output handlers if zlib.output_compression
    0 Y$ P  `, B. }8 M. g4 t
  267. ; is activated here. This setting does the same as output_handler but in7 z2 e9 [- n( B, \' t1 f
  268. ; a different order.
    2 }$ x! a5 {3 k* x0 d$ _% O% Z9 p
  269. ; http://php.net/zlib.output-handler
    4 p' [' A. t/ B, \/ x
  270. ;zlib.output_handler =+ E$ A4 W8 c' i; z$ M

  271. # @. x7 `0 w3 a7 ]  s& t
  272. ; Implicit flush tells PHP to tell the output layer to flush itself
    9 I) b1 h/ K' B
  273. ; automatically after every output block.  This is equivalent to calling the/ C% d! L8 k. o0 u& A: ^. k
  274. ; PHP function flush() after each and every call to print() or echo() and each
    ) z+ u3 m- H& _$ A6 c% H$ M
  275. ; and every HTML block.  Turning this option on has serious performance
    " `( n2 N3 c& L9 B  D8 _3 K
  276. ; implications and is generally recommended for debugging purposes only.
    8 M  t) z' C" j- ~- c/ A! u
  277. ; http://php.net/implicit-flush
    # Y1 X" E, W, ]
  278. ; Note: This directive is hardcoded to On for the CLI SAPI, C2 s. V) w8 i: q
  279. implicit_flush = Off. u* S* o# b% f

  280. 5 L4 E% N7 d$ L) W/ h
  281. ; The unserialize callback function will be called (with the undefined class'
    * d3 e1 E, F3 {% Y. [9 K$ K
  282. ; name as parameter), if the unserializer finds an undefined class) x  Y  C3 |9 d8 p! C
  283. ; which should be instantiated. A warning appears if the specified function is
    - o' z3 F9 ?# S* l5 T, X
  284. ; not defined, or if the function doesn't include/implement the missing class., \6 Z' E+ f7 m- K/ |
  285. ; So only set this entry, if you really want to implement such a' s; r! u7 x0 [( G  T
  286. ; callback-function., i) P. ^, M' ^6 m% b* O
  287. unserialize_callback_func =/ G0 h  B/ K0 x& K, i2 i

  288.   Z" W# J/ R  X3 C
  289. ; When floats & doubles are serialized store serialize_precision significant# G7 e" W7 y- d/ h3 v! v/ P9 Q$ `
  290. ; digits after the floating point. The default value ensures that when floats
    3 [; E5 p: K" k4 e
  291. ; are decoded with unserialize, the data will remain the same.: Y& q/ s2 Y2 r: Q( y: [
  292. serialize_precision = 173 j8 v6 Q, \  Q& P( }. }
  293. 6 r& }3 X% \5 n0 q: |
  294. ; open_basedir, if set, limits all file operations to the defined directory
    * [+ v( A3 _, K+ T! n5 Q2 ]5 C
  295. ; and below.  This directive makes most sense if used in a per-directory
    . Q. D7 |* E! s: {
  296. ; or per-virtualhost web server configuration file.
    ! I. g6 H, g3 G7 |% w  B
  297. ; http://php.net/open-basedir
    1 u  g) u8 r) x; J1 ?
  298. ;open_basedir =3 q. u# H" j2 ]2 {  R

  299. 5 g7 P" w: U, @4 F& o/ h7 r
  300. ; This directive allows you to disable certain functions for security reasons.* y% K" m- z7 I6 A, N$ a( k
  301. ; It receives a comma-delimited list of function names.
    * r1 o" ]9 U. M0 [: ~4 t/ m6 C. e+ A
  302. ; http://php.net/disable-functions
    # I6 L9 p' n: y+ Z. @
  303. disable_functions = passthru,exec,system,chroot,chgrp,chown,shell_exec,popen,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru
    - h, r. b) Z" d' P; N# Q' D

  304. 0 S' c* _5 \) ?+ n8 H
  305. ; This directive allows you to disable certain classes for security reasons.4 m' w5 X5 |6 b; Y6 C
  306. ; It receives a comma-delimited list of class names.
    + G$ @1 l/ R. f/ [0 B8 B2 j
  307. ; http://php.net/disable-classes
    : A0 Y4 U/ `* a$ P
  308. disable_classes =
    ; W' J( R$ o3 ?& ?

  309. ; I9 a8 `, x4 X; X& q. a7 P
  310. ; Colors for Syntax Highlighting mode.  Anything that's acceptable in
    1 U% q+ k' l; Q6 z- r
  311. ; <span style="color: ???????"> would work.
    ; G& T0 A: C3 P+ K& `" s
  312. ; http://php.net/syntax-highlighting. C- h5 Q+ i5 t! p& G
  313. ;highlight.string  = #DD0000
    ( N/ \" V5 T  ~# d
  314. ;highlight.comment = #FF9900
    ( [$ O; F" Q5 r8 }* D2 E
  315. ;highlight.keyword = #007700
    ; N3 U5 S& f" N& N' v3 `
  316. ;highlight.default = #0000BB) r! @" M/ K! O
  317. ;highlight.html    = #000000' U& t/ Y' }1 ]% z4 V7 @+ c$ G8 s

  318. 3 y2 i5 d5 h5 N* \5 d7 u- X: @
  319. ; If enabled, the request will be allowed to complete even if the user aborts
    * L+ a" ~1 h( F0 g# ?3 ?0 g6 u
  320. ; the request. Consider enabling it if executing long requests, which may end up
    8 `5 U" ?4 M  b" G' r
  321. ; being interrupted by the user or a browser timing out. PHP's default behavior) _% |/ D0 A( Q4 ]5 s* P
  322. ; is to disable this feature.
    9 P. o' f- E" E0 k( q
  323. ; http://php.net/ignore-user-abort
    : G5 t4 R* K! [1 k  j+ w% o' a
  324. ;ignore_user_abort = On
    ) G. M( c& i# _) G$ v

  325. - s4 I) q4 q& b3 T/ P2 v  `
  326. ; Determines the size of the realpath cache to be used by PHP. This value should! J. g" {# r) P. J6 C
  327. ; be increased on systems where PHP opens many files to reflect the quantity of
    " x. n8 G, L3 ]1 @- f. Y7 z/ O
  328. ; the file operations performed.
    ! S# Y" L7 B% i! u- J9 C
  329. ; http://php.net/realpath-cache-size! _9 V$ x4 J- D: N& X+ Z! a, e9 m
  330. ;realpath_cache_size = 16k; `. }) R  X- A+ w! X  ]$ X/ x
  331. 7 {8 e/ b% }( I+ B+ a7 a
  332. ; Duration of time, in seconds for which to cache realpath information for a given2 K: C' ^/ U* s1 N
  333. ; file or directory. For systems with rarely changing files, consider increasing this
    ; E# y+ k! R0 K# m1 a* M
  334. ; value.
    - N3 s/ z) v, z
  335. ; http://php.net/realpath-cache-ttl" }! L0 I6 V5 q3 y+ Y/ k. N% ?
  336. ;realpath_cache_ttl = 120- y. [; f2 T, h( v  b. V  L' f. `
  337. 4 I$ ^$ c. f4 s" G0 a; N
  338. ; Enables or disables the circular reference collector.& S! B/ _' D& @! Y6 F% P) a
  339. ; http://php.net/zend.enable-gc
    * }4 x& R+ C* T$ o" u7 v
  340. zend.enable_gc = On9 c8 d: N$ G$ q

  341. ' T: K( l/ c# |9 S! \
  342. ; If enabled, scripts may be written in encodings that are incompatible with9 I. ^" N& a) |- ~
  343. ; the scanner.  CP936, Big5, CP949 and Shift_JIS are the examples of such- O  J# B# b6 R. v. |$ s
  344. ; encodings.  To use this feature, mbstring extension must be enabled.
    . ~( N3 m' ]& h; }. }' X
  345. ; Default: Off
    # N4 |. W* W+ G% l7 G
  346. ;zend.multibyte = Off
    0 O# u9 X" V( F, m4 T% `' f4 U# I4 @

  347. 1 k* y3 `+ R/ c! X5 ^
  348. ; Allows to set the default encoding for the scripts.  This value will be used
    % q3 r' x9 b  P  j8 L" Z2 P7 V
  349. ; unless "declare(encoding=...)" directive appears at the top of the script.: \6 m( A) S: f/ Z1 i7 a
  350. ; Only affects if zend.multibyte is set.
    5 w% |* ~/ V4 G0 j5 S* \  ]5 D
  351. ; Default: ""6 m2 g  G. j7 v- g: A/ s
  352. ;zend.script_encoding =) {2 `  l  R2 @+ R# e* ~

  353. ; O  ^+ x5 D5 x& {4 o
  354. ;;;;;;;;;;;;;;;;;
    + F8 B: W/ T5 e) p% K- o% W
  355. ; Miscellaneous ;
    0 o' b! h3 X0 _6 A( P' _
  356. ;;;;;;;;;;;;;;;;;
    + B4 {/ z0 k- \! P, Y) F
  357. $ C$ w, {9 l. z0 b- T' s, A* a" Z7 `
  358. ; Decides whether PHP may expose the fact that it is installed on the server9 ]8 n4 v* X1 N9 }9 w
  359. ; (e.g. by adding its signature to the Web server header).  It is no security
    , p# V0 w  B! w3 ?& B% B
  360. ; threat in any way, but it makes it possible to determine whether you use PHP
    7 g0 n4 K+ A/ a! d; ]
  361. ; on your server or not.
    " [# k: b) ]8 Y
  362. ; http://php.net/expose-php
    5 z! }0 I3 O  U  g) W, Z
  363. expose_php = On, L6 o% B# E- @7 x" i  w$ |/ q

  364. ; H% r( f: ]0 n& f' \! w- b
  365. ;;;;;;;;;;;;;;;;;;;
    0 j+ v# |  S4 y7 O: N9 s
  366. ; Resource Limits ;
    ) X, @+ T) U: O6 i+ l, {
  367. ;;;;;;;;;;;;;;;;;;;
    . x6 R& N% L$ r6 u, H" M
  368. : w/ N( N5 x2 u, V! \% a. L" r
  369. ; Maximum execution time of each script, in seconds3 m! I4 z  W) _& h5 ?# G0 t/ \" C
  370. ; http://php.net/max-execution-time
    / s; H* p3 O/ }& O! P
  371. ; Note: This directive is hardcoded to 0 for the CLI SAPI. P  }$ w. J. g* K" e
  372. max_execution_time = 300
    " J! n% Y' S: E

  373.   V% h5 }8 `2 k9 g& G+ Y
  374. ; Maximum amount of time each script may spend parsing request data. It's a good2 ~0 Y( J' b3 y2 ~
  375. ; idea to limit this time on productions servers in order to eliminate unexpectedly' i/ D+ R2 G& e( h, {5 R1 f
  376. ; long running scripts.
    2 H! V8 l, i2 B) e
  377. ; Note: This directive is hardcoded to -1 for the CLI SAPI
    4 P: p7 {% X2 W$ k" k0 k* y; J
  378. ; Default Value: -1 (Unlimited)
    7 c- u& ]$ @- z. p
  379. ; Development Value: 60 (60 seconds)
    9 L+ n/ G1 L, ?  c* }: B
  380. ; Production Value: 60 (60 seconds)
    # |: L* k( N  a! N$ t# U
  381. ; http://php.net/max-input-time, ~( ]( s2 `& D! D* K
  382. max_input_time = 60: S6 M; w# N+ O4 Y# m( a3 ~

  383. 9 N! Y* Z+ R) n% }$ _
  384. ; Maximum input variable nesting level
    9 e+ M! l' o; `7 R
  385. ; http://php.net/max-input-nesting-level4 w2 S5 \3 }  z- C/ a3 q4 V
  386. ;max_input_nesting_level = 64
    # y( |* E9 B1 a* A. J
  387. 6 ]. g6 p! R2 L8 w
  388. ; How many GET/POST/COOKIE input variables may be accepted
    2 h0 W- r0 A% R/ q4 R/ N
  389. ; max_input_vars = 1000+ E) U3 q# G7 s( e! @! a8 \) n0 u9 v
  390. / U$ c( u; M4 j
  391. ; Maximum amount of memory a script may consume (128MB)
    : ]! a( r, z; I+ E0 R: r: t- k
  392. ; http://php.net/memory-limit+ U+ Q7 `$ \; e: Y
  393. memory_limit = 128M; L# P8 f; e( T0 J7 |; V
  394. ' T2 j. k% g9 P" n
  395. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    5 q3 [2 K, I; u0 r6 g8 k( {
  396. ; Error handling and logging ;
    . D: f. P0 [, r4 @8 [. F
  397. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;! t# N$ j6 K& L7 _8 k, ?0 |

  398. $ B' c" ]" @5 K
  399. ; This directive informs PHP of which errors, warnings and notices you would like
    ; [8 Y4 C1 |* q8 `
  400. ; it to take action for. The recommended way of setting values for this6 w6 j% I3 K. O% _, x+ A4 F
  401. ; directive is through the use of the error level constants and bitwise
    ! I& X9 E$ h; G7 j) @
  402. ; operators. The error level constants are below here for convenience as well as
    / \7 ]& G8 y/ c" d5 f- V2 n- y
  403. ; some common settings and their meanings.
    + W" S! T; P. I# _" p/ l$ }
  404. ; By default, PHP is set to take action on all errors, notices and warnings EXCEPT: _, A! H% Y4 n' z" ?) ?
  405. ; those related to E_NOTICE and E_STRICT, which together cover best practices and) h7 e& M; H9 c
  406. ; recommended coding standards in PHP. For performance reasons, this is the( d4 T' c) I' z- `
  407. ; recommend error reporting setting. Your production server shouldn't be wasting
    . d& B. [: x8 T6 ~/ M- l/ P6 s
  408. ; resources complaining about best practices and coding standards. That's what
    3 _, ?3 k( Q( ?+ r4 D( b
  409. ; development servers and development settings are for.
    9 M% u3 F6 L3 |) {' H; Q! F8 y
  410. ; Note: The php.ini-development file has this setting as E_ALL. This; L/ t3 A6 B8 m8 u5 Y- i: ?9 y
  411. ; means it pretty much reports everything which is exactly what you want during
    1 @& A# h/ }% }- {
  412. ; development and early testing.
    0 ]+ t, [& R% Z! ~
  413. ;( D. o4 m" v: b; N% b0 c
  414. ; Error Level Constants:
    ! z. `3 S! X# `2 L
  415. ; E_ALL             - All errors and warnings (includes E_STRICT as of PHP 5.4.0)6 z( z; K9 E! M
  416. ; E_ERROR           - fatal run-time errors& n4 R2 n# ]/ J4 e3 t3 l; ~" s
  417. ; E_RECOVERABLE_ERROR  - almost fatal run-time errors
    ; ?0 N2 i! Q# V8 W8 }
  418. ; E_WARNING         - run-time warnings (non-fatal errors)
    & j6 D7 y8 X% V2 h" K: C7 S1 [, W
  419. ; E_PARSE           - compile-time parse errors
    - I! F, G0 f5 m/ q5 `4 T0 o
  420. ; E_NOTICE          - run-time notices (these are warnings which often result9 H# [7 @9 {' h/ K+ ~! j+ J
  421. ;                     from a bug in your code, but it's possible that it was
    " C# b. Q7 M0 S1 e* }
  422. ;                     intentional (e.g., using an uninitialized variable and
    1 [& u  }! s# d6 f1 d
  423. ;                     relying on the fact it is automatically initialized to an/ I+ d# r( f( D- W* _+ L! e
  424. ;                     empty string)9 u: T1 _$ \+ Q% }8 p& t5 O
  425. ; E_STRICT          - run-time notices, enable to have PHP suggest changes
    + S' L' }3 h8 n6 H& d' s( J1 L
  426. ;                     to your code which will ensure the best interoperability
    , U/ ^8 n6 ~$ W1 ~8 l
  427. ;                     and forward compatibility of your code
    / e4 U7 a- s; p* j; v; H6 M
  428. ; E_CORE_ERROR      - fatal errors that occur during PHP's initial startup: |3 D1 a# \: z5 [  B4 \4 f
  429. ; E_CORE_WARNING    - warnings (non-fatal errors) that occur during PHP's. J  b5 l" x" e- {$ }
  430. ;                     initial startup
    $ x' j  R# ~- o2 C$ P
  431. ; E_COMPILE_ERROR   - fatal compile-time errors
      b3 l' I* l0 D6 J
  432. ; E_COMPILE_WARNING - compile-time warnings (non-fatal errors)( b; m1 z3 `/ d4 r" N
  433. ; E_USER_ERROR      - user-generated error message
    5 P$ n, }" M7 T1 j
  434. ; E_USER_WARNING    - user-generated warning message
    * r1 K- \1 P' A! a+ v  J! a
  435. ; E_USER_NOTICE     - user-generated notice message
    % f1 x, E6 |. L+ P( o: H
  436. ; E_DEPRECATED      - warn about code that will not work in future versions. E3 k1 g3 P0 d7 |, C
  437. ;                     of PHP  b( _+ h7 U4 W
  438. ; E_USER_DEPRECATED - user-generated deprecation warnings
    : ~1 |4 e1 M  }
  439. ;& V: f% F( c3 E
  440. ; Common Values:+ c. V# K3 q/ r, O4 p% F
  441. ;   E_ALL (Show all errors, warnings and notices including coding standards.)
    0 Q5 T+ L) q; [, b7 T% [' k; g
  442. ;   E_ALL & ~E_NOTICE  (Show all errors, except for notices)* z% K3 c1 O) W) @6 m
  443. ;   E_ALL & ~E_NOTICE & ~E_STRICT  (Show all errors, except for notices and coding standards warnings.)
    ' l% L7 B: T2 O0 z* ~  }
  444. ;   E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR  (Show only errors); q$ g$ e, j1 V. R2 O
  445. ; Default Value: E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED4 D% d# {  z. t- p/ y7 _
  446. ; Development Value: E_ALL
    5 R5 b( z" O% i1 g" M  H
  447. ; Production Value: E_ALL & ~E_DEPRECATED & ~E_STRICT
    ; N1 G/ J, @+ l( ?0 N
  448. ; http://php.net/error-reporting
    / T! Z3 G  f8 B8 R
  449. error_reporting = E_ALL & ~E_NOTICE
    ) F3 J- @7 x/ [$ ~9 h9 `
  450. 6 w6 S7 |% I( C- ?
  451. ; This directive controls whether or not and where PHP will output errors,
    ( p/ N% Z0 p: p9 e7 O% T
  452. ; notices and warnings too. Error output is very useful during development, but
    ; \  b5 H0 b8 R5 t) h) \" p
  453. ; it could be very dangerous in production environments. Depending on the code' X. ~. t! K3 ^! ^% x0 y+ B
  454. ; which is triggering the error, sensitive information could potentially leak
    6 v7 y2 U' `- t0 L7 i+ Y) p
  455. ; out of your application such as database usernames and passwords or worse.+ D$ w6 S; d' q: b3 y% w
  456. ; For production environments, we recommend logging errors rather than
      h& ~5 Z9 h: g+ `7 f  W
  457. ; sending them to STDOUT.
    ! ^- S7 a* K) I
  458. ; Possible Values:$ P6 w/ W# ?# `& u' U, b7 H
  459. ;   Off = Do not display any errors1 H2 R% {9 M/ |
  460. ;   stderr = Display errors to STDERR (affects only CGI/CLI binaries!)9 S* k$ N0 S5 U; l0 E' |) A5 M
  461. ;   On or stdout = Display errors to STDOUT- \9 k/ P3 f8 P( f; Z7 W
  462. ; Default Value: On1 g6 m) p5 E# t7 x( s7 |. D
  463. ; Development Value: On
    0 X! t( C; }* n5 X- L3 t3 o4 J5 H
  464. ; Production Value: Off
    1 T. |8 `' C8 \& h, V5 S! d
  465. ; http://php.net/display-errors
    $ Y" `- v* P0 y* S* S( g' m
  466. display_errors = On; [: Q/ }; L4 U) w' x$ E
  467. ; v1 O) H( H9 O: I1 x2 Y/ U
  468. ; The display of errors which occur during PHP's startup sequence are handled/ u- q7 {: g% |8 u2 L+ R
  469. ; separately from display_errors. PHP's default behavior is to suppress those4 y* G7 W/ x6 Y: ~7 i: |
  470. ; errors from clients. Turning the display of startup errors on can be useful in$ Y" ~; K4 H2 q6 b9 m# i0 {6 {1 c
  471. ; debugging configuration problems. We strongly recommend you
      p: n9 w# z6 _8 ?: E- g( F7 K. i
  472. ; set this to 'off' for production servers.
    ! y: Q3 p" U5 O1 ^/ j6 g/ \' c2 V* O  H
  473. ; Default Value: Off5 i7 t$ \7 Z3 I- Q0 D# K
  474. ; Development Value: On
    4 o( p: [% J1 X: _) V( [4 m
  475. ; Production Value: Off% ~5 T/ F5 C: r/ N2 G2 O
  476. ; http://php.net/display-startup-errors
    ) W! e% ^! c7 {1 q7 S
  477. display_startup_errors = Off7 q& [2 _& B4 d. a8 d2 ^; ~9 B% J- P
  478. 5 R1 M1 J7 V3 {2 E3 d. \
  479. ; Besides displaying errors, PHP can also log errors to locations such as a
    6 [8 v  J, s" o" p
  480. ; server-specific log, STDERR, or a location specified by the error_log
    . G6 G# L$ p0 X" w1 y
  481. ; directive found below. While errors should not be displayed on productions' R5 c. W- w( w0 \8 f
  482. ; servers they should still be monitored and logging is a great way to do that.
    ' j9 I4 R7 A$ f. G: W2 J; P
  483. ; Default Value: Off
    1 n5 s! g5 ^+ z" M, a8 X
  484. ; Development Value: On
    8 H5 N0 j# t! q, i" |
  485. ; Production Value: On
    2 T4 ^& O; h2 n( W& [. `
  486. ; http://php.net/log-errors3 n' y" V5 b* A& q7 _6 J6 `
  487. log_errors = On& i. `. R$ h4 C' I% M- w: |
  488. ! z) F. w$ r3 V# u$ G4 ^6 X
  489. ; Set maximum length of log_errors. In error_log information about the source is$ i" N/ [  ^: [" w
  490. ; added. The default is 1024 and 0 allows to not apply any maximum length at all.$ G& k) C  u- u2 b( U# n& k& A
  491. ; http://php.net/log-errors-max-len
    " T3 y6 @: o6 e- i0 r
  492. log_errors_max_len = 1024% v8 T% J4 E. `- D0 q& Y

  493. + x# S/ S% @' t; }0 K7 {
  494. ; Do not log repeated messages. Repeated errors must occur in same file on same
    . h& z6 n" M, |3 d# M
  495. ; line unless ignore_repeated_source is set true.3 V* V1 Z) K6 l5 H
  496. ; http://php.net/ignore-repeated-errors
    1 M& d6 o0 H# V5 o; |  X6 d
  497. ignore_repeated_errors = Off- A( R( m6 W! q2 P6 {- [$ ?

  498. 6 B  w8 d$ X/ B$ O) M* H
  499. ; Ignore source of message when ignoring repeated messages. When this setting
    : h3 j' ]* x0 k, H) F$ z
  500. ; is On you will not log errors with repeated messages from different files or
    9 |0 F& f7 V: |
  501. ; source lines.
    ) T" P! U3 J/ ?* P4 R3 r* j
  502. ; http://php.net/ignore-repeated-source. E# ]- d" p5 K7 c
  503. ignore_repeated_source = Off
    * E* A* _6 E) E; E; x$ J
  504. 4 \7 @# v% |5 ^. k0 }( U1 _
  505. ; If this parameter is set to Off, then memory leaks will not be shown (on
    + a) s8 o* Z3 n, v9 C3 Q
  506. ; stdout or in the log). This has only effect in a debug compile, and if
    # j7 r0 V0 i9 W" d" T& r
  507. ; error reporting includes E_WARNING in the allowed list2 H4 S3 x( k6 W6 h! u$ }, n
  508. ; http://php.net/report-memleaks
    0 `/ p3 a5 z" M' S4 E; T
  509. report_memleaks = On
    ; G& L+ X) _/ f" L2 s% c" O2 f4 ]

  510.   c, @2 x. P5 w/ N9 s$ ^+ t$ |
  511. ; This setting is on by default.8 @" H5 |' I9 p+ G
  512. ;report_zend_debug = 0  g9 ^% A  N: `" I8 \) X
  513. . S/ @* G( {1 s: k2 f
  514. ; Store the last error/warning message in $php_errormsg (boolean). Setting this value
    * }! M: F" f0 [* o/ o
  515. ; to On can assist in debugging and is appropriate for development servers. It should, h) [: x5 t+ v
  516. ; however be disabled on production servers.
    * w4 B% Y. [+ B+ |6 E) t
  517. ; Default Value: Off
    - b; b4 |; W9 Z/ G# P/ ?0 i
  518. ; Development Value: On. r9 Z- q$ j! p9 h$ y+ v( C
  519. ; Production Value: Off% A0 B, |4 J4 l$ I
  520. ; http://php.net/track-errors$ s$ w- k9 `6 @9 C
  521. track_errors = Off+ g  p/ m, L2 g* N' b% }2 c

  522. - e6 v) t& \9 c  Q3 v& x4 q
  523. ; Turn off normal error reporting and emit XML-RPC error XML  G0 u+ |, S- `6 x2 q& ~8 O
  524. ; http://php.net/xmlrpc-errors
    3 C7 M3 D7 w2 V1 ^
  525. ;xmlrpc_errors = 0
    " r% p5 `7 B4 h5 S
  526.   I" ~- ~4 f, J3 G: J: B+ W
  527. ; An XML-RPC faultCode2 z$ S* U% h& V4 v4 j# J" i
  528. ;xmlrpc_error_number = 0! U) K0 B) M( I- s$ c
  529. 4 y) Z+ O$ \2 j  `5 A
  530. ; When PHP displays or logs an error, it has the capability of formatting the
    # J$ h. M0 D% E: B6 |4 g
  531. ; error message as HTML for easier reading. This directive controls whether. y& K: e9 K4 c- [' v; p- X, S
  532. ; the error message is formatted as HTML or not.
    ; U: h, r7 z' W/ d; g4 ~0 |2 K( U
  533. ; Note: This directive is hardcoded to Off for the CLI SAPI
    ( m" D; \" F; m7 U% A
  534. ; Default Value: On
    ' h! t  O, f  G; l+ p
  535. ; Development Value: On
    ! O# I- B  A& F6 a
  536. ; Production value: On
    ) q3 s9 t6 ?6 m' D+ E$ I
  537. ; http://php.net/html-errors3 ]9 O2 Q; O7 g9 g& h3 q
  538. html_errors = On+ L9 P6 N/ G* i$ m2 i
  539. 5 m# N  `3 H' {$ N  }0 o* X4 Y
  540. ; If html_errors is set to On *and* docref_root is not empty, then PHP" G( i" G2 m2 t/ O7 `
  541. ; produces clickable error messages that direct to a page describing the error
    3 G( |  H" S" R1 r; n; E
  542. ; or function causing the error in detail.
    6 N* |, @4 V. G5 ^8 c; |
  543. ; You can download a copy of the PHP manual from http://php.net/docs
    9 x$ n$ l/ F/ l0 |
  544. ; and change docref_root to the base URL of your local copy including the
    : v- [  ~$ i  g( ]3 Y( v1 m
  545. ; leading '/'. You must also specify the file extension being used including
    7 c( F0 L& `/ r) I8 b3 `: F* U/ n
  546. ; the dot. PHP's default behavior is to leave these settings empty, in which* O% {* I  B9 W
  547. ; case no links to documentation are generated.
    " O" f0 a/ a- M, ]
  548. ; Note: Never use this feature for production boxes.
    & v6 V* B* [, k3 S2 Y' ~
  549. ; http://php.net/docref-root
    2 r! K8 \, v+ Y; }. z
  550. ; Examples
    4 u1 l7 k9 ?- B$ h) m
  551. ;docref_root = "/phpmanual/"3 K; [6 [  e7 V0 {1 H9 }, k: ]( H
  552. 1 c- I8 `- c1 K9 x" J' c; h( H
  553. ; http://php.net/docref-ext+ |- t: s9 {/ d' u
  554. ;docref_ext = .html: s3 M" }2 x1 {$ Y4 j

  555. / {; b! V. W+ @5 Y' m+ g
  556. ; String to output before an error message. PHP's default behavior is to leave
    : A6 @" b  j2 D  L! W
  557. ; this setting blank.
    3 B8 ~3 v4 z; _% s0 X4 g. I& y
  558. ; http://php.net/error-prepend-string
    4 c5 f- q' f) V. h5 A
  559. ; Example:
    $ |# B% G  ~! R+ s( K. b5 X) [
  560. ;error_prepend_string = "<span style='color: #ff0000'>"
    : u9 z0 _2 U) l; j7 c* \

  561. ( {  x0 v% }5 `5 W+ m9 f7 l" M
  562. ; String to output after an error message. PHP's default behavior is to leave
    8 @; L, B8 e) b8 [
  563. ; this setting blank.
    0 G6 ~' C2 e! i9 g0 g! B
  564. ; http://php.net/error-append-string9 d8 l9 N# G* C
  565. ; Example:
    . O$ x5 C: k; U; B5 d
  566. ;error_append_string = "</span>"3 @! b" w: b/ w

  567. ) X5 |) `/ t. |- A& _5 q" m# E
  568. ; Log errors to specified file. PHP's default behavior is to leave this value
    " D, T( g: T6 ~( [! k+ `- ^7 w0 E
  569. ; empty.# B/ w$ Z" c) x$ }+ a  y
  570. ; http://php.net/error-log
    % y8 k5 p3 n0 J; T
  571. ; Example:
    8 a  M+ a; Y" e0 z
  572. ;error_log = php_errors.log
    , o4 j  j+ j2 W( h' X1 R  G2 e$ b
  573. ; Log errors to syslog (Event Log on Windows).
    ( D- m6 ?) a8 f( c  i$ t
  574. ;error_log = syslog
    $ Q1 A% `$ x2 l( _; Q! J- P* o. w
  575. . U5 G9 p" z6 C/ t0 i0 S6 R: j7 Z) w8 m
  576. ;windows.show_crt_warning
    " v& k2 \. a* v5 F; _( o. N
  577. ; Default value: 0: m! y# u" i" C9 Z6 H- R/ m" C
  578. ; Development value: 0: f0 \' i# M3 [+ `5 f. @( @" d% H
  579. ; Production value: 0
    - V2 Y) w1 o3 O0 \& F* ~

  580. 1 N0 p: b% U7 Y- R" l" ^$ ^
  581. ;;;;;;;;;;;;;;;;;5 ], I+ }8 f9 Q- E7 B
  582. ; Data Handling ;/ K1 B; k' t* T1 X9 f; g& g
  583. ;;;;;;;;;;;;;;;;;, P+ x; }1 }6 o) \. _

  584. 1 [2 t7 q. |: F0 j  b/ ?
  585. ; The separator used in PHP generated URLs to separate arguments.& i6 e, _3 A* l( ~+ g8 |2 {# P
  586. ; PHP's default setting is "&".1 g. }( R- n$ a
  587. ; http://php.net/arg-separator.output
      c% i: V/ ^1 B& z
  588. ; Example:5 S: ^6 N, @- C* o5 U0 q$ }# o
  589. ;arg_separator.output = "&amp;"
    ; y/ d5 I1 h: ^" _9 K/ [2 b0 W+ w4 _0 ?

  590. * k1 U+ c" e8 e# y
  591. ; List of separator(s) used by PHP to parse input URLs into variables.9 k6 m% R; [; Y( P# K0 ^. D
  592. ; PHP's default setting is "&".9 e' d+ Z. I3 w4 ]# |# F$ Q
  593. ; NOTE: Every character in this directive is considered as separator!7 _+ e1 C" g/ }+ C
  594. ; http://php.net/arg-separator.input
    $ I: H" O/ i. t
  595. ; Example:
    * R3 E7 ~7 U7 O4 J
  596. ;arg_separator.input = ";&"
    % {( C/ B7 G9 T+ V  X
  597. - {5 |! n% Q: U/ e5 f2 p( U) t7 n
  598. ; This directive determines which super global arrays are registered when PHP: b! B9 e2 Z. i* _% ]3 ]8 z
  599. ; starts up. G,P,C,E & S are abbreviations for the following respective super
    * L) J% v' @5 v, S4 N" {' W
  600. ; globals: GET, POST, COOKIE, ENV and SERVER. There is a performance penalty( L9 y/ D5 K3 d) ?
  601. ; paid for the registration of these arrays and because ENV is not as commonly
    4 r* y: g, `0 |& V. b% r" k/ k
  602. ; used as the others, ENV is not recommended on productions servers. You
    ; ]3 b) p' |% s# H" r* x9 y
  603. ; can still get access to the environment variables through getenv() should you
    ' U- S  r  f9 O" k
  604. ; need to.( Q6 S0 f) f0 p9 e" B: P: _, o
  605. ; Default Value: "EGPCS"
    " \4 U+ f. i, [& @1 O) y" ]
  606. ; Development Value: "GPCS"
    " {& h2 g/ Q4 E1 }! _4 Y! f
  607. ; Production Value: "GPCS";4 `/ A& s0 B! S- {+ l  p* l5 x" |
  608. ; http://php.net/variables-order
    , w! g+ x7 ~9 U" s1 J. g4 B
  609. variables_order = "GPCS"7 v: P: L( d4 v

  610. - m, I3 L1 Y" H9 ~1 `0 `
  611. ; This directive determines which super global data (G,P & C) should be: M3 }9 s7 F6 o% w* z
  612. ; registered into the super global array REQUEST. If so, it also determines! e0 d3 D/ E  W% p
  613. ; the order in which that data is registered. The values for this directive$ f2 T4 D7 D5 f1 F$ o
  614. ; are specified in the same manner as the variables_order directive,0 G" S( C7 w2 J3 u4 i  b
  615. ; EXCEPT one. Leaving this value empty will cause PHP to use the value set
    ' q! D+ w: a& Y& \! _4 U
  616. ; in the variables_order directive. It does not mean it will leave the super+ I: s& Q' P0 l- s% s5 K
  617. ; globals array REQUEST empty.) C; n1 a; _1 j0 _" S2 n
  618. ; Default Value: None# n9 U$ Q0 a* v+ k/ S1 O4 S0 \3 g
  619. ; Development Value: "GP"
    . S9 E" j5 ^! ^; q, a5 F  J
  620. ; Production Value: "GP"" v1 b$ W; E1 C% E, f
  621. ; http://php.net/request-order
    2 m. G6 @5 _, ~2 t7 V1 L6 ~4 E
  622. request_order = "GP"9 P: y. k2 u4 c% P+ r/ f5 e! m

  623. 6 n9 V. o2 Q. ~% V
  624. ; This directive determines whether PHP registers $argv & $argc each time it- K* L/ n( f7 {
  625. ; runs. $argv contains an array of all the arguments passed to PHP when a script- u5 Z# w' T9 r1 a0 Q$ S
  626. ; is invoked. $argc contains an integer representing the number of arguments
    ; ]- B& B2 C: ^" t" @( U3 {4 o  e
  627. ; that were passed when the script was invoked. These arrays are extremely
    . ^3 _" F7 U. O
  628. ; useful when running scripts from the command line. When this directive is
    . r; Z: Q% W' @& Q) B1 H4 P
  629. ; enabled, registering these variables consumes CPU cycles and memory each time
      c1 h; m; u/ @& Q+ q
  630. ; a script is executed. For performance reasons, this feature should be disabled
    9 _" S+ @* ?7 a, ?  r9 b1 v
  631. ; on production servers.$ g+ w7 i/ m* P  H. o0 B
  632. ; Note: This directive is hardcoded to On for the CLI SAPI
    * |7 y; l; \$ J( l3 [
  633. ; Default Value: On  S3 o! d7 Q: K9 J5 {9 P
  634. ; Development Value: Off1 ]0 A! }6 ^/ z6 _9 m( d) A' F
  635. ; Production Value: Off) R) N/ \+ V* E4 G6 F: X
  636. ; http://php.net/register-argc-argv: h9 @: v. }) G9 w5 X" v5 n) Z
  637. register_argc_argv = Off
    ; I8 G1 r0 X* m+ r! Z; K7 ~, T3 F6 n% _

  638. ; _+ V& w# Q/ v6 O! m
  639. ; When enabled, the ENV, REQUEST and SERVER variables are created when they're. a5 Q" Y# O  k& d2 G1 \
  640. ; first used (Just In Time) instead of when the script starts. If these2 ^6 J% L( b' `& x2 h' a
  641. ; variables are not used within a script, having this directive on will result
      G* ?' V; [+ p- U2 J7 H
  642. ; in a performance gain. The PHP directive register_argc_argv must be disabled1 X) w9 J' g, J  j# i8 x; d! k
  643. ; for this directive to have any affect.
    3 d" o1 r. `# G0 p3 l2 H, H4 U
  644. ; http://php.net/auto-globals-jit
    - G. e& `; c5 F8 p
  645. auto_globals_jit = On
    4 j0 j& m  ]. c3 h8 k
  646. ! b! A. w, |9 L! A" g7 w* Q' u
  647. ; Whether PHP will read the POST data.
    * F& D3 C2 ~& f: M( }( ]" n0 w
  648. ; This option is enabled by default.0 ]  c& A; X# r9 P7 H' r# e. ~; L
  649. ; Most likely, you won't want to disable this option globally. It causes $_POST- P% Y5 J0 ^0 r* I7 U0 t* b
  650. ; and $_FILES to always be empty; the only way you will be able to read the- O4 m" S' U1 O3 ~- i  P8 n
  651. ; POST data will be through the php://input stream wrapper. This can be useful* Q; @+ ?: W7 f* \
  652. ; to proxy requests or to process the POST data in a memory efficient fashion.- a; [& _6 H8 M- g; v# _6 {4 w  u- l
  653. ; http://php.net/enable-post-data-reading* q' D% s) _' q# A
  654. ;enable_post_data_reading = Off- h' M+ `' Z  d" c6 P) s* \; ?

  655. # {! H: G9 L, A; @
  656. ; Maximum size of POST data that PHP will accept.7 O. M, o; T/ b, l* o4 @
  657. ; Its value may be 0 to disable the limit. It is ignored if POST data reading
    2 e8 s! G- W* g2 B
  658. ; is disabled through enable_post_data_reading., k( B7 O. G* Y$ w$ A5 S- }3 o
  659. ; http://php.net/post-max-size
    0 I7 ?( q1 \. x! ~" S8 C) y' J. `4 {
  660. post_max_size = 50M
    ( D2 P  x1 _/ K- O& R  _. }+ u0 _
  661. 0 z. c- S' _: w( m5 N, Q
  662. ; Automatically add files before PHP document.
    4 @4 s5 A2 j# z) N1 ]+ T
  663. ; http://php.net/auto-prepend-file5 x+ G  c. V% X* D: _
  664. auto_prepend_file =0 M- j% }* O# R8 @9 S  A/ O
  665. 3 j$ b. }8 c1 T" x9 _7 h
  666. ; Automatically add files after PHP document.  J0 Z+ W, e6 Z3 U8 c7 V
  667. ; http://php.net/auto-append-file
    7 q% Z" U+ g5 d
  668. auto_append_file =# s8 i2 V6 B6 l1 u( t, w
  669. ) r9 {$ \7 P. v9 s! R
  670. ; By default, PHP will output a media type using the Content-Type header. To( m/ n8 A9 Y5 A$ D) F1 Q, |( U$ ~
  671. ; disable this, simply set it to be empty./ X$ j" }2 Q& `& p1 m% U5 q+ t. y
  672. ;5 J; p  @1 h5 z9 C6 Y
  673. ; PHP's built-in default media type is set to text/html.' k4 O3 H3 s; Y# k; P
  674. ; http://php.net/default-mimetype! @9 @5 w% R9 x( M% f- g7 [9 h
  675. default_mimetype = "text/html"4 t" g9 t$ \! N2 U" A

  676. " X4 s8 J; Y0 c/ `' G, h. E
  677. ; PHP's default character set is set to UTF-8.# k( k% Z/ y1 K
  678. ; http://php.net/default-charset
    + E) ?1 e) r0 U0 u  _, m5 f3 R
  679. default_charset = "UTF-8"
    2 C( k" [7 `- b+ X* A

  680. * s; ~: Q' Y; _- u& b7 Q% k& f0 M
  681. ; PHP internal character encoding is set to empty.) q( O' v& Z5 n! }- m
  682. ; If empty, default_charset is used.* C) Z' p3 {5 P) R$ z/ U
  683. ; http://php.net/internal-encoding8 U5 |+ P6 W: `* {# X( L
  684. ;internal_encoding =$ m# t4 G& N; I/ k7 W2 R
  685. : D+ N# c* {/ w9 y
  686. ; PHP input character encoding is set to empty.
    ( n9 T" R* O( g8 k
  687. ; If empty, default_charset is used.
    : B" ?% a, u& m- Y* N# @
  688. ; http://php.net/input-encoding! N. A& K8 w" k6 w! m8 f
  689. ;input_encoding =
    9 ~9 V& ~/ g6 o# @7 f

  690. - v0 ]! y. s& l7 C4 W8 C+ @
  691. ; PHP output character encoding is set to empty.
    ; E. z- `! _$ i% [3 W! C
  692. ; If empty, default_charset is used.
    : H7 \; p, q; j1 N9 f
  693. ; See also output_buffer.
    9 v3 J2 O- C: t. x% [- d6 t
  694. ; http://php.net/output-encoding2 o+ ^3 d# c4 x
  695. ;output_encoding =' w: k4 _! z' s- ]0 l* `8 S& c

  696. 3 H3 b$ R; e+ R* A5 r
  697. ; Always populate the $HTTP_RAW_POST_DATA variable. PHP's default behavior is
    - A! Y: ?( I1 I6 q% s
  698. ; to disable this feature and it will be removed in a future version.
    ' k& |" _6 o8 A1 L! l, I6 h7 p
  699. ; If post reading is disabled through enable_post_data_reading,
    ' O5 ?, F+ ]- Q2 G$ ~+ i' f" C7 ?
  700. ; $HTTP_RAW_POST_DATA is *NOT* populated.; y) t+ e5 U$ p" `6 E
  701. ; http://php.net/always-populate-raw-post-data
    $ y" O, U1 X% ?
  702. ;always_populate_raw_post_data = -11 Z6 t# `$ p  S* v- f

  703. 1 P0 h* M! [8 p) F" J6 Y- s
  704. ;;;;;;;;;;;;;;;;;;;;;;;;;
    ) y' y+ W! y; j  x/ ~
  705. ; Paths and Directories ;
    , O6 `- K" I) m; e2 L8 G: g
  706. ;;;;;;;;;;;;;;;;;;;;;;;;;* x1 p; T) R! _6 K) R* U

  707. 2 Q( C: T  ~8 v6 [5 [
  708. ; UNIX: "/path1:/path2"
    : B  I' z+ ^- e- r7 W
  709. ;include_path = ".:/php/includes": c, a. C5 z- N; S5 T' E
  710. ;" x; _+ {# R8 J
  711. ; Windows: "\path1;\path2"/ y$ q% J2 ~+ }5 j" i
  712. ;include_path = ".;c:\php\includes"+ o' L8 O$ u7 k% ^+ _
  713. ;
    ! h7 G- c& C/ ]6 F0 m. D* S
  714. ; PHP's default setting for include_path is ".;/path/to/php/pear", ]' c$ u: ~! ]; R. [
  715. ; http://php.net/include-path
    " K9 \! B) }* p5 X  y: h+ K7 X
  716. # m* k5 Q" b+ g! A7 e
  717. ; The root of the PHP pages, used only if nonempty.& h/ w1 |+ F1 Z% f% |1 q- z
  718. ; if PHP was not compiled with FORCE_REDIRECT, you SHOULD set doc_root
    . R0 m% j' x7 `' O
  719. ; if you are running php as a CGI under any web server (other than IIS), f% o- ^; k" [9 Y: P
  720. ; see documentation for security issues.  The alternate is to use the+ W; G' K$ k6 ?  M# L
  721. ; cgi.force_redirect configuration below
    7 B/ A) `( O4 }/ s1 t+ ]! E
  722. ; http://php.net/doc-root
    5 r" P: \2 l2 ~2 J/ x* J, X
  723. doc_root =5 c, q/ v) z2 N- P

  724. & r2 _  V' i' ~8 Z! |$ N
  725. ; The directory under which PHP opens the script using /~username used only
    / [3 m% y/ u0 a& g8 `
  726. ; if nonempty.- m/ [0 }* I/ W
  727. ; http://php.net/user-dir
    ; u  o, b2 ~& t2 `+ X) y1 [* Y( n
  728. user_dir =
    / B# C8 T$ D! {' O7 T

  729. ( C6 ~- D8 E& x% }: i( `6 K/ ~+ r
  730. ; Directory in which the loadable extensions (modules) reside.
    9 ^! H' A, [# k; K
  731. ; http://php.net/extension-dir  s8 m1 C3 O4 B
  732. ; extension_dir = "./", z  b4 o  B/ R( @+ `
  733. ; On windows:2 \# C+ X- Z- G3 O+ M
  734. ; extension_dir = "ext"
    ' k  q* K: [, J% |" |

  735. 1 V, g* \% D' V: d/ a* ~5 a( V
  736. ; Directory where the temporary files should be placed.2 J" V6 [) {1 ]- |6 @7 g
  737. ; Defaults to the system default (see sys_get_temp_dir): T5 R' b) i' j4 g
  738. ; sys_temp_dir = "/tmp"
    + y0 v# X4 _7 h% y8 F: R- Z
  739. + V' a1 r( ^( e( y
  740. ; Whether or not to enable the dl() function.  The dl() function does NOT work6 _) x6 |: _5 M, w8 t
  741. ; properly in multithreaded servers, such as IIS or Zeus, and is automatically
    9 [( J% Q; G9 y* q4 ^" L( ?. G
  742. ; disabled on them.' g) Z2 p7 ^/ X% Y: ?. O3 D  x& ]
  743. ; http://php.net/enable-dl0 s3 G$ H0 h) P: v; a* Z; E
  744. enable_dl = Off9 b3 G8 `) g0 v0 C' C( Z

  745. ) V. k: J* c3 |8 Q" ?9 L
  746. ; cgi.force_redirect is necessary to provide security running PHP as a CGI under
    ( }9 Y/ O9 @1 U1 i. b# I
  747. ; most web servers.  Left undefined, PHP turns this on by default.  You can6 b( e/ G" D$ E1 A7 D) D3 v9 p- P
  748. ; turn it off here AT YOUR OWN RISK( o7 I4 W) w9 O: V; Q6 t
  749. ; **You CAN safely turn this off for IIS, in fact, you MUST.**
    , B! u; S1 J1 z9 f- L2 c
  750. ; http://php.net/cgi.force-redirect* k1 f1 \! r8 T9 t/ H; g9 i
  751. ;cgi.force_redirect = 1
    / B% W3 O6 H7 Z6 M8 l0 R
  752. 5 y, {, \+ n" g8 K3 s
  753. ; if cgi.nph is enabled it will force cgi to always sent Status: 200 with
    # [- f# Y2 m! k& q
  754. ; every request. PHP's default behavior is to disable this feature.
    # X, Y8 @2 K# S! K! A: L% _
  755. ;cgi.nph = 1
    ! p3 [8 q1 s$ f6 r3 r) B
  756. $ ]7 Q% Q5 g" ^1 e+ A
  757. ; if cgi.force_redirect is turned on, and you are not running under Apache or Netscape
    ( I4 Q% n/ b4 f8 g& c0 G7 o
  758. ; (iPlanet) web servers, you MAY need to set an environment variable name that PHP
    0 M3 ?2 A5 g8 L% [5 A# d
  759. ; will look for to know it is OK to continue execution.  Setting this variable MAY
    4 o2 f+ C4 Q8 z6 {* H
  760. ; cause security issues, KNOW WHAT YOU ARE DOING FIRST.) F4 p; S9 T5 X$ ]" I
  761. ; http://php.net/cgi.redirect-status-env
    ; H" Z) ^7 G8 b( }+ Z6 k) m
  762. ;cgi.redirect_status_env =3 T: [9 x6 ~) x) v9 p8 \- ~
  763. 1 P9 Y/ a' ^1 A% U! S  P
  764. ; cgi.fix_pathinfo provides *real* PATH_INFO/PATH_TRANSLATED support for CGI.  PHP's" r3 p* t9 o( Q; I3 z
  765. ; previous behaviour was to set PATH_TRANSLATED to SCRIPT_FILENAME, and to not grok
    0 U& H" V) j" R# v0 c1 H
  766. ; what PATH_INFO is.  For more information on PATH_INFO, see the cgi specs.  Setting' |3 j0 B: s# C9 V8 K0 Z, W; z- u
  767. ; this to 1 will cause PHP CGI to fix its paths to conform to the spec.  A setting
    / Q0 [; X/ I6 r6 R# }- Z
  768. ; of zero causes PHP to behave as before.  Default is 1.  You should fix your scripts" n- I) u' p$ W" d
  769. ; to use SCRIPT_FILENAME rather than PATH_TRANSLATED.
    ( {$ z$ V/ ~2 _/ P$ l! b, I) ^
  770. ; http://php.net/cgi.fix-pathinfo! L' j7 w( e5 C: W: a2 _
  771. cgi.fix_pathinfo=12 r. f* Z, y7 b$ @5 n+ I

  772. 2 Z: g; z6 ~$ A# [; ^$ y2 \
  773. ; if cgi.discard_path is enabled, the PHP CGI binary can safely be placed outside
    4 g% }0 m; I7 V( A) l" s
  774. ; of the web tree and people will not be able to circumvent .htaccess security.3 @- f* S/ }; w
  775. ; http://php.net/cgi.dicard-path
    3 X+ g, y& s, X) p" J( a" R+ a
  776. ;cgi.discard_path=1) ~6 P) Z& a# q8 z! ~

  777. . U! N- ^3 v3 l$ |8 H" `# q
  778. ; FastCGI under IIS (on WINNT based OS) supports the ability to impersonate9 K( S3 D; H, i2 h# g
  779. ; security tokens of the calling client.  This allows IIS to define the' B+ L3 \# C  |0 U& C' E' a
  780. ; security context that the request runs under.  mod_fastcgi under Apache
    5 i* n+ u1 _7 W; d4 O' a3 y
  781. ; does not currently support this feature (03/17/2002)# U* w+ j  u3 p. z; F4 D
  782. ; Set to 1 if running under IIS.  Default is zero., H: y. u3 z7 R; c- Z- A+ O, G3 d2 H
  783. ; http://php.net/fastcgi.impersonate- Q4 M0 M4 u. s3 e0 r/ t
  784. ;fastcgi.impersonate = 1
    ) Q6 t4 g' E6 K
  785. ( T, ~9 V6 ^, p- A* f! N& |
  786. ; Disable logging through FastCGI connection. PHP's default behavior is to enable
    6 o2 N* {6 o0 y, _/ `5 \* E
  787. ; this feature.
    : A# r4 q1 I8 E% a# D  x. S
  788. ;fastcgi.logging = 0
    0 P) u; ?* O1 W7 _1 Y

  789. 0 m% _- g: k% \
  790. ; cgi.rfc2616_headers configuration option tells PHP what type of headers to1 M2 ?1 @; v5 ~* }5 b" t' o* l4 n
  791. ; use when sending HTTP response code. If set to 0, PHP sends Status: header that
    1 Y9 v, T, R( a# q% A
  792. ; is supported by Apache. When this option is set to 1, PHP will send
    # }6 z* S4 q; V. W
  793. ; RFC2616 compliant header.2 _1 `7 }) h9 s! n, B
  794. ; Default is zero.
    7 Q# d) @) h/ ]
  795. ; http://php.net/cgi.rfc2616-headers3 q% x9 o6 ~* Q. x% p
  796. ;cgi.rfc2616_headers = 0
    " z" ~- L( R& D$ y$ x$ k
  797. 0 H1 N$ _/ s" l, y: }
  798. ; cgi.check_shebang_line controls whether CGI PHP checks for line starting with #!
    ; W4 m; Y" K- [# h( S) k7 M
  799. ; (shebang) at the top of the running script. This line might be needed if the
    4 y( o* e" w0 [9 v* c7 W8 j
  800. ; script support running both as stand-alone script and via PHP CGI<. PHP in CGI
    # q( m9 x3 ^& \& q  B
  801. ; mode skips this line and ignores its content if this directive is turned on.
    3 G6 H9 S$ ~0 ]7 ]! _
  802. ; http://php.net/cgi.check-shebang-line5 D( H# |- n, H+ z" j$ B
  803. ;cgi.check_shebang_line=1
    4 f0 T, O! M( E* d* w  X% X% l

  804. ) s, W3 ?1 R" c" C" H' n/ [
  805. ;;;;;;;;;;;;;;;;
    1 B( g$ n# N. R% e* i; C: ^
  806. ; File Uploads ;; _% Y, e6 n( _
  807. ;;;;;;;;;;;;;;;;
    ( Z& O( w% |. y4 `6 ~5 `
  808. " j7 F9 J) S- D& \+ J
  809. ; Whether to allow HTTP file uploads.( j" P% I' B' S) g* M" M
  810. ; http://php.net/file-uploads' }4 M9 ^; K7 j9 z& b! f. v# o
  811. file_uploads = On
    5 }) L5 M/ v/ l& F; Y9 Q
  812. / ^' c8 k. z. y* X
  813. ; Temporary directory for HTTP uploaded files (will use system default if not
    . ~7 p, F7 k, {0 a/ t; S
  814. ; specified).3 _7 a( W$ ~5 I5 q/ b
  815. ; http://php.net/upload-tmp-dir
    ; W6 y; }/ C/ Y$ {5 I; f5 E
  816. ;upload_tmp_dir =
    ) c2 g  G; W2 x. ?3 y+ O( H

  817. 3 l! _" A0 a$ D0 \% q( e4 @
  818. ; Maximum allowed size for uploaded files.
      b$ N& ~" \( @. ~
  819. ; http://php.net/upload-max-filesize! f) }/ e. p* `) j
  820. upload_max_filesize = 50M
    $ W% ^0 J2 q( J% E" [) U
  821. . Q, T& t# t# P. h( B/ S1 @  e
  822. ; Maximum number of files that can be uploaded via a single request
    % ?/ V0 P" E# j: O
  823. max_file_uploads = 208 {9 v1 x  r) @
  824. * q8 r! Y& S9 i) _. V* y$ E7 U
  825. ;;;;;;;;;;;;;;;;;;: h; q/ @( j( |/ @
  826. ; Fopen wrappers ;7 d" @2 `; r1 W4 [1 J/ o
  827. ;;;;;;;;;;;;;;;;;;
    . i' ~) m% U! ?' D- T
  828. 2 F8 Y7 n% Z: \$ D  G! m# n
  829. ; Whether to allow the treatment of URLs (like http:// or ftp://) as files.; z5 B* d% `( \4 |: W- I) V
  830. ; http://php.net/allow-url-fopen
    8 n2 z! k; X; @- ~# Q0 k  t
  831. allow_url_fopen = On5 X' w! N. R2 `
  832. ) F7 Y0 U5 ]4 h# P
  833. ; Whether to allow include/require to open URLs (like http:// or ftp://) as files.- N: c7 T# Y4 H# {
  834. ; http://php.net/allow-url-include4 Y+ s: J7 W6 O- r5 u. v
  835. allow_url_include = Off
    ; G% W0 K" k, }0 ?8 t! H

  836. ' t  D8 l: e+ @
  837. ; Define the anonymous ftp password (your email address). PHP's default setting
    # O2 }7 L/ a9 f% W3 z8 K; w
  838. ; for this is empty.
    / J) H* E9 b# ^3 f
  839. ; http://php.net/from
    1 X  D/ x2 x. ]9 u: D
  840. ;from="john@doe.com"% Y1 [8 A4 I& b( ^4 Y8 V0 `
  841. : F) G. w4 i$ u# p8 k7 |* b; U
  842. ; Define the User-Agent string. PHP's default setting for this is empty.* I! n/ i' L' T
  843. ; http://php.net/user-agent
    2 r" K; U4 ~' p: F1 A7 K
  844. ;user_agent="PHP"
    0 t% q3 Y: d; l4 x/ w

  845. # o+ S3 e* ^8 f0 e& L; z+ S" _% w
  846. ; Default timeout for socket based streams (seconds)0 P0 H# W- c- {4 Z, m6 S& ]8 f
  847. ; http://php.net/default-socket-timeout) t+ S5 K8 M! O. a) m
  848. default_socket_timeout = 60
    3 l2 n0 b6 U0 p: v0 _6 K( K! G
  849. / L; n8 G' L! q) D0 t! s1 r
  850. ; If your scripts have to deal with files from Macintosh systems,
    : O) M( v/ p% ]
  851. ; or you are running on a Mac and need to deal with files from
    0 V# ~  U* Z/ G' S, y! f0 P
  852. ; unix or win32 systems, setting this flag will cause PHP to
    - B8 U2 j1 L5 \9 A- x1 j
  853. ; automatically detect the EOL character in those files so that, t, A+ ^2 ]' K' U3 H
  854. ; fgets() and file() will work regardless of the source of the file.
    $ a$ a/ ?& c5 u, b( v# {4 G+ j4 @
  855. ; http://php.net/auto-detect-line-endings0 a' F# D7 |3 H( Z' B6 z
  856. ;auto_detect_line_endings = Off
    6 A- U+ q) _! {9 ~% W
  857. ( w  e: Y9 _+ v
  858. ;;;;;;;;;;;;;;;;;;;;;;
    0 Y1 E( w/ V; x; i, S; d$ Q+ r
  859. ; Dynamic Extensions ;
    : _9 }' G  i/ K5 J8 B
  860. ;;;;;;;;;;;;;;;;;;;;;;( _1 A- p! ]$ p" y, C" [  ]% ?

  861. ! M/ \- ?1 R4 h& r2 S) ?& t
  862. ; If you wish to have an extension loaded automatically, use the following* d# [2 N6 c9 l1 F9 x6 F6 g
  863. ; syntax:( G# w/ ~$ f! w, u% n+ A
  864. ;1 K3 f9 f2 O! i/ @- Z
  865. ;   extension=modulename.extension
    % _* C" g2 d' z% p( M* k. v- _
  866. ;
    # Y4 [2 U9 P* ]- X; H9 w( R& n# F
  867. ; For example, on Windows:
    ) z3 f7 X8 y( n: a+ P6 w
  868. ;
    & g) h7 s2 [+ u
  869. ;   extension=msql.dll! @7 w* U3 x( `) p# n" e
  870. ;
    # M5 V9 }9 h. z- f
  871. ; ... or under UNIX:
    7 W. F2 _; d. Q. R
  872. ;3 n/ r6 v% r  ^; J! M- ~0 m& m# S
  873. ;   extension=msql.so
    5 o+ F! D/ d  T1 q3 a, w9 p2 |! g
  874. ;
      L2 S: W% y0 q5 S- \1 F: ?1 D& {
  875. ; ... or with a path:
    0 w# o' M* k/ ?7 L* ]+ E
  876. ;
    ; H9 S0 n* m- S
  877. ;   extension=/path/to/extension/msql.so
    1 r6 y0 O4 V; B/ \2 k
  878. ;
    , s  j% v/ J7 X# M, \, S' j
  879. ; If you only provide the name of the extension, PHP will look for it in its  {8 d% O# g) [% v# W$ G
  880. ; default extension directory.- {' l. s& G! J4 N; T
  881. ;
    1 t4 _% l& D/ g: p
  882. ; Windows Extensions
    8 g. g; ~# u) {: ~7 q
  883. ; Note that ODBC support is built in, so no dll is needed for it.
    % A9 {5 q: J# w# w- H, }6 w, ?0 [
  884. ; Note that many DLL files are located in the extensions/ (PHP 4) ext/ (PHP 5)5 t8 L/ |3 O3 ^
  885. ; extension folders as well as the separate PECL DLL download (PHP 5).+ A+ [/ G2 x9 r
  886. ; Be sure to appropriately set the extension_dir directive.& [- [9 e) k5 j2 W
  887. ;9 U1 N3 a# S' _; G- V; a
  888. ;extension=php_bz2.dll
    / c1 a  z, r9 c2 I9 R, x) z2 n
  889. ;extension=php_curl.dll+ _4 c# {! K/ D1 `# P9 M, l# \
  890. ;extension=php_fileinfo.dll
    3 X7 L/ e& {. j7 Z/ T4 R- S) E
  891. ;extension=php_gd2.dll
    5 k# f( @/ c) ?2 s5 F
  892. ;extension=php_gettext.dll
    . {; o# c1 D+ n# b3 T  ?6 I" t
  893. ;extension=php_gmp.dll) ]9 e( C( i3 M/ Z- t+ F) B$ ]
  894. ;extension=php_intl.dll
    . w1 v' X; Z. b* d! x9 R
  895. ;extension=php_imap.dll
    . N1 Q  D+ P" z6 a
  896. ;extension=php_interbase.dll+ {; h* p$ \* k
  897. ;extension=php_ldap.dll" C6 f: b% f9 h: L
  898. ;extension=php_mbstring.dll% i' v" C# U5 i$ X2 `/ x/ s
  899. ;extension=php_exif.dll      ; Must be after mbstring as it depends on it
    " `) t5 N7 Y/ s; |) X; Z2 w
  900. ;extension=php_mysql.dll) s4 N' C) u7 _9 S# s. F
  901. ;extension=php_mysqli.dll5 C8 F# h8 ?+ F! l
  902. ;extension=php_oci8_12c.dll  ; Use with Oracle Database 12c Instant Client" X0 L& Y6 [4 J
  903. ;extension=php_openssl.dll' H7 a. x* o# ?/ ]# i: w( D3 h
  904. ;extension=php_pdo_firebird.dll: l. O1 U+ Y# T/ x* E5 r. D
  905. ;extension=php_pdo_mysql.dll4 V  P  e- ]; ?2 Y9 v' h
  906. ;extension=php_pdo_oci.dll( C+ X3 e7 ]* }
  907. ;extension=php_pdo_odbc.dll9 ?- G" `% K) G1 `$ _- R
  908. ;extension=php_pdo_pgsql.dll
    & c* p+ _2 k" t6 ^5 {- ^
  909. ;extension=php_pdo_sqlite.dll# p; e' r# s- ]8 Z  }7 f+ P
  910. ;extension=php_pgsql.dll
    , E; a- y: h+ h
  911. ;extension=php_shmop.dll
    7 \4 ]: ~/ A) ]

  912. $ a/ ?6 `, g- E0 m
  913. ; The MIBS data available in the PHP distribution must be installed. ' Z, B' O3 q* O. D5 v
  914. ; See http://www.php.net/manual/en/snmp.installation.php
    , W4 `6 l* T: f
  915. ;extension=php_snmp.dll% f! L4 Z! _& G
  916. 3 v# q! x3 i+ h2 a" p3 `
  917. ;extension=php_soap.dll
    1 D" n" R% z  h1 ]; ]$ \6 Y
  918. ;extension=php_sockets.dll
    " Y' @6 ~- V8 G& J
  919. ;extension=php_sqlite3.dll
    : M3 U2 c& c4 C6 ]. z. n4 t% n9 W
  920. ;extension=php_sybase_ct.dll/ i" n  m2 B2 y8 d9 }  Z$ Y& b
  921. ;extension=php_tidy.dll0 D+ h- T# W, w) B! u5 J2 H; a! s
  922. ;extension=php_xmlrpc.dll
    ( L: m5 ?, E, J5 R3 h6 z4 ]
  923. ;extension=php_xsl.dll6 @$ U  I! D2 \8 @* g+ h- _8 B
  924. 3 r% ?% x# ?( |0 r3 N. ~
  925. ;;;;;;;;;;;;;;;;;;;
    9 a0 V+ g9 Q( M4 K/ q
  926. ; Module Settings ;
    , i8 P* y' l2 w
  927. ;;;;;;;;;;;;;;;;;;;* U$ N8 w3 B. q$ [' ^5 t, W
  928. ( i- F) E, B8 |: Z) i. T9 ]
  929. [CLI Server]
    $ J4 A8 o9 `7 T0 Q" W' ^
  930. ; Whether the CLI web server uses ANSI color coding in its terminal output.
      @0 C9 X/ \2 G7 ^. ?$ ~$ T
  931. cli_server.color = On1 ^2 F2 D/ W  I% a7 q' z& E) I
  932. ! C5 _0 F& O9 `. @/ O* j- P/ E2 J
  933. [Date]4 e% ~0 W% h; K8 s: U
  934. ; Defines the default timezone used by the date functions; T$ _5 M* O4 {! E
  935. ; http://php.net/date.timezone( p6 G+ ?. w8 @% Q
  936. date.timezone = PRC& T5 R) G$ ?* O

  937. 3 |, K6 B* j$ b) a) `
  938. ; http://php.net/date.default-latitude
    % V% k  m4 C$ S( K  U
  939. ;date.default_latitude = 31.7667
    # h$ _0 A! s' x* m( F( J( Z* N: R8 g: A

  940. 4 B8 f4 Q- i( L* @, j
  941. ; http://php.net/date.default-longitude9 M* I' W" u) i) ~! z) R
  942. ;date.default_longitude = 35.23339 Q9 _4 p2 z, {( I$ R& d
  943. ; p6 [) ?! p. S0 O
  944. ; http://php.net/date.sunrise-zenith
    1 f8 A" s) n7 U8 u: T% X0 X
  945. ;date.sunrise_zenith = 90.583333
    0 F* q9 q& z/ ?' I- F0 [7 ?
  946. $ c# a4 C  j* {& k3 z
  947. ; http://php.net/date.sunset-zenith" o: {5 w: ]7 X+ A, A' B
  948. ;date.sunset_zenith = 90.583333
    ( ]0 F: |+ ^4 s5 a: T6 {

  949. 8 R+ g; F4 _  v0 w! G4 O3 _8 \
  950. [filter]
    & E2 W4 K: l5 I! A; N* l9 }
  951. ; http://php.net/filter.default
    2 x! H' i! R: \4 k% X" i* |) c0 c
  952. ;filter.default = unsafe_raw
    0 |  n( J' y2 T0 x+ [

  953. ) B- _; K- N/ s# G
  954. ; http://php.net/filter.default-flags* ?; N9 w# s5 Y- u  t% p" ^
  955. ;filter.default_flags =
    . P: G4 k1 C7 g
  956. 5 ^/ p3 u, J: o8 V+ b! w* J$ D
  957. [iconv]
    3 F% Z+ {  ]$ `& f3 u1 [9 U+ Z' s
  958. ; Use of this INI entry is deprecated, use global input_encoding instead.8 D5 U# e& m; m
  959. ; If empty, default_charset or input_encoding or iconv.input_encoding is used.0 \" j$ u. p, V$ {3 s! X. ]
  960. ; The precedence is: default_charset < intput_encoding < iconv.input_encoding
    8 g7 O$ @: x: o
  961. ;iconv.input_encoding =: e- w2 x$ }2 c* J

  962. , c8 C4 p4 K! `' F# j1 q
  963. ; Use of this INI entry is deprecated, use global internal_encoding instead.) ]4 p. @/ V3 y2 ^
  964. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.8 c. l" ^3 A. k" i6 f* u
  965. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding3 E; Z2 A( A, r, p1 T( @
  966. ;iconv.internal_encoding =) B7 {: B* u1 ]/ p; Z+ T

  967. 5 a. o. x1 M6 e& R& D) k
  968. ; Use of this INI entry is deprecated, use global output_encoding instead.
    + Z) O6 ^0 T, a9 w3 W" ?
  969. ; If empty, default_charset or output_encoding or iconv.output_encoding is used.
    3 {. }( t2 t4 ~$ |" L! k1 U
  970. ; The precedence is: default_charset < output_encoding < iconv.output_encoding& @- }0 O% m& R" m; _# {
  971. ; To use an output encoding conversion, iconv's output handler must be set
    8 i, Y! E6 f/ w/ T/ x
  972. ; otherwise output encoding conversion cannot be performed.
    * \: I6 B2 Y/ _* y% T/ `  m
  973. ;iconv.output_encoding =, |9 P* `; u; Q: d
  974. 2 Z6 S$ b5 r" A' ~! p7 F
  975. [intl]
    " S( \/ T/ x8 }  r6 g
  976. ;intl.default_locale =
    " |+ P5 M/ W! Z
  977. ; This directive allows you to produce PHP errors when some error3 W8 f7 o' j9 Z7 L/ n
  978. ; happens within intl functions. The value is the level of the error produced.
    : c! p/ }" ~6 T! f% J4 X1 p2 k; P' C
  979. ; Default is 0, which does not produce any errors.
    * T) g/ C- V! [( g' w
  980. ;intl.error_level = E_WARNING4 v$ w. n3 D' `+ G2 J. F2 Q
  981. ;intl.use_exceptions = 0
    " R$ ~0 U% ~% y. L/ w- F
  982. 0 g3 {* _$ q1 C5 c8 ~
  983. [sqlite3]
      [- l1 r' i) M" n8 ]
  984. ;sqlite3.extension_dir =
    ) p% F1 i4 L+ O% i+ B6 n+ v) p

  985. 2 I$ T# z, ]! ]) B' @2 I& T
  986. [Pcre]6 [/ y. [. M' r1 X
  987. ;PCRE library backtracking limit.0 f- U& N; x1 L# L; ^
  988. ; http://php.net/pcre.backtrack-limit2 C; P- m! t! M5 t5 H0 Q' u
  989. ;pcre.backtrack_limit=100000+ y0 V4 H# e+ }4 D
  990. # ^( p4 }# T% T& r
  991. ;PCRE library recursion limit.! y( V* U3 t2 h$ T
  992. ;Please note that if you set this value to a high number you may consume all
    - W5 m# V% J2 t% X6 T
  993. ;the available process stack and eventually crash PHP (due to reaching the
    ) {; R) h- \: y3 |8 R
  994. ;stack size limit imposed by the Operating System).
    3 T$ X+ ?/ }& u! `# G
  995. ; http://php.net/pcre.recursion-limit( y: T. M4 ^5 n: x( x$ F
  996. ;pcre.recursion_limit=100000
    , T) h( ?5 W, f. w
  997. $ ~- U+ ^8 R! ?* }: f
  998. [Pdo]
    ; l7 O3 @7 u  m* ?; h. K9 D5 x% {
  999. ; Whether to pool ODBC connections. Can be one of "strict", "relaxed" or "off"* L+ c4 V) v% q. `  d
  1000. ; http://php.net/pdo-odbc.connection-pooling8 c& ^. r1 U6 ~, Q7 r, E& F( k: z
  1001. ;pdo_odbc.connection_pooling=strict! f5 R. L$ b+ |$ s( y: M

  1002. : b( @6 Y/ ?1 P8 q( w: k7 A* U
  1003. ;pdo_odbc.db2_instance_name
    % [2 ]& {7 B/ f5 V  D; U

  1004. # T( S( e$ ]2 Z; [2 M* u# l- m
  1005. [Pdo_mysql]
    2 D* _4 P& g$ G: D
  1006. ; If mysqlnd is used: Number of cache slots for the internal result set cache
      O2 O% o/ x9 W2 k$ z
  1007. ; http://php.net/pdo_mysql.cache_size
    & t& P: X, g+ P) t1 l" _, v& k, K
  1008. pdo_mysql.cache_size = 2000
    0 w; y- l) n# O# P  D/ X  q+ t

  1009. ' T9 K( @3 c, f
  1010. ; Default socket name for local MySQL connects.  If empty, uses the built-in" ~4 p9 g  ?3 @# Z* {5 @
  1011. ; MySQL defaults.- @" m; L) e& n, L# y/ k# f8 }6 k5 c
  1012. ; http://php.net/pdo_mysql.default-socket
    & ^: l! n0 m6 F
  1013. pdo_mysql.default_socket=" G4 c+ Y+ E# h1 P
  1014. 5 c  c7 }- _" ^4 S2 Z
  1015. [Phar]* c0 U& y1 t  q- O0 e5 o
  1016. ; http://php.net/phar.readonly
    1 S  z0 [; {7 U2 W
  1017. ;phar.readonly = On: `( w0 q0 a; o3 ]: S4 ?' F: l2 U

  1018. $ Z% P3 z* T$ f: r
  1019. ; http://php.net/phar.require-hash# z. D/ R% Y& y* i8 N0 [" j. t
  1020. ;phar.require_hash = On+ |; H! D) i: K1 X/ D4 d

  1021. ( L0 @& K. `4 D5 k: L* m; O3 f; a% \
  1022. ;phar.cache_list =
    2 c4 R+ U  K5 N" N* E2 |
  1023. 0 q& Q2 s7 ]$ g* w
  1024. [mail function]
    3 N; o! w$ f8 {
  1025. ; For Win32 only.- K4 J) e9 L: j
  1026. ; http://php.net/smtp
    ' e/ X2 H) ]! _4 F0 s
  1027. SMTP = localhost
    5 R: J) b2 f6 K) P5 }' o
  1028. ; http://php.net/smtp-port% t' q, a0 i7 `
  1029. smtp_port = 253 Q0 r5 T% d) F! X

  1030. 1 g# }! p2 d$ J$ [
  1031. ; For Win32 only.- r* n7 t/ D/ b$ l  I2 S# ]
  1032. ; http://php.net/sendmail-from6 s# J0 W/ l- w7 X/ ^2 Z# o
  1033. ;sendmail_from = me@example.com* N$ p) x: w; C; d
  1034. . ?5 H5 S$ P/ w/ ?' ?, ~) \/ V. O
  1035. ; For Unix only.  You may supply arguments as well (default: "sendmail -t -i").
    2 P; f# ]+ g8 S5 N
  1036. ; http://php.net/sendmail-path& o2 Y  x8 K$ |+ ^
  1037. sendmail_path = /usr/sbin/sendmail -t -i6 Z/ C% k. \# Z. }2 }, b
  1038. % L, q0 o" T: E9 ^
  1039. ; Force the addition of the specified parameters to be passed as extra parameters
    $ c4 `: p4 x( Q2 u  `
  1040. ; to the sendmail binary. These parameters will always replace the value of
    . z) r& u$ C* z& F* a; p* i' h( y; q
  1041. ; the 5th parameter to mail().+ W8 p+ M4 v, B+ E5 D
  1042. ;mail.force_extra_parameters =* Q# o- B6 N9 o6 N/ z: g3 W
  1043. ; N1 ?+ [5 w3 z% E8 S& z7 l" E
  1044. ; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename( \  @$ I' H! [. h, \/ x4 m- S) Y
  1045. mail.add_x_header = On" @% {3 H: ~6 u, x+ B/ q5 T- V8 t
  1046. 9 Q' e. @2 l4 O+ s* ]% |
  1047. ; The path to a log file that will log all mail() calls. Log entries include
    7 x, u9 t+ ]+ C' G: ?9 E
  1048. ; the full path of the script, line number, To address and headers.
    ! @5 |8 C! m+ e" t1 G& x
  1049. ;mail.log =
    $ `0 R# i/ P7 l2 b
  1050. ; Log mail to syslog (Event Log on Windows).
    / x( B% `9 O9 v: V
  1051. ;mail.log = syslog
    5 ^% z5 d8 }% g2 m; g- z7 i
  1052. 1 R0 z: D  P  F
  1053. [SQL]
    # v$ O2 V: E2 |7 f  r% w
  1054. ; http://php.net/sql.safe-mode+ K7 N4 t8 d) {( i; ]. y6 U+ E4 a
  1055. sql.safe_mode = Off1 {4 D; u, P( b- Y4 Z) Q* B

  1056. # f' E' T8 M4 E
  1057. [ODBC]
    , C1 @1 B. p) w
  1058. ; http://php.net/odbc.default-db
    7 J3 o5 ?; U3 D
  1059. ;odbc.default_db    =  Not yet implemented/ m/ i6 Z- Q; M6 N5 l

  1060. - @8 l6 t9 {0 _
  1061. ; http://php.net/odbc.default-user: }& n0 j5 q# c+ M
  1062. ;odbc.default_user  =  Not yet implemented
    0 C5 ^; ?% _# q' {7 j4 q6 }
  1063. % Y# f6 ?' D8 w) X$ y5 A
  1064. ; http://php.net/odbc.default-pw! ^) S- P4 |' L/ w$ e" p/ C
  1065. ;odbc.default_pw    =  Not yet implemented7 Y+ I# a/ P* s9 o; |0 x* Z7 r* ^% z

  1066. $ d$ P1 l4 n2 ~: D7 u* \
  1067. ; Controls the ODBC cursor model.2 `% {( B: N  M/ N$ \! Q, u
  1068. ; Default: SQL_CURSOR_STATIC (default).
    : j5 \5 m- V7 l" l* B# k/ E' J
  1069. ;odbc.default_cursortype* [, }! m8 s5 }* G
  1070. 8 r# N8 ?  @! k1 }4 G9 F
  1071. ; Allow or prevent persistent links.; r0 u2 }2 _5 }7 t2 J
  1072. ; http://php.net/odbc.allow-persistent
    , {# f2 s0 a  B+ o6 z
  1073. odbc.allow_persistent = On
    4 s& k* F$ v0 B* n

  1074.   _2 A" [0 Q4 w7 l
  1075. ; Check that a connection is still valid before reuse.
    2 n! ^+ S' E7 Q4 a5 a$ h; B
  1076. ; http://php.net/odbc.check-persistent& K7 z  d. L. a/ r, u/ J7 h1 O
  1077. odbc.check_persistent = On
    ; b4 |' _5 r5 l* I4 @: x

  1078. 1 m' r# a* q# x* |( l4 n$ c
  1079. ; Maximum number of persistent links.  -1 means no limit.
    9 |% G1 n! A; }) S, J
  1080. ; http://php.net/odbc.max-persistent5 n+ `& Z" P( U1 m% J1 q
  1081. odbc.max_persistent = -1
    * y# \3 R8 n' k( ~/ e

  1082. 8 I# d) _7 o# o; b' x
  1083. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    & G: o! U! u# l) j: Z( p3 v
  1084. ; http://php.net/odbc.max-links
    8 m! d+ K& m* p3 ^: @% T
  1085. odbc.max_links = -1
    8 m, N) t  r/ M2 B6 Z
  1086.   ~( Y9 C7 F' l$ ~1 O$ |
  1087. ; Handling of LONG fields.  Returns number of bytes to variables.  0 means4 t4 a7 ]" |$ m, h" c' `, E5 I8 v1 ?
  1088. ; passthru.
    6 b% V. m  i5 a; b
  1089. ; http://php.net/odbc.defaultlrl
    " a/ s/ k0 t$ @( d% B. F. a9 H  ]
  1090. odbc.defaultlrl = 4096
    ( M. A0 i; p5 g7 F/ e- s/ r5 @

  1091. * ~( J* a( c5 q3 E. B8 j
  1092. ; Handling of binary data.  0 means passthru, 1 return as is, 2 convert to char.$ t8 F9 y6 C2 f) c
  1093. ; See the documentation on odbc_binmode and odbc_longreadlen for an explanation
    / T: j- @6 T  C2 F' x5 n
  1094. ; of odbc.defaultlrl and odbc.defaultbinmode' e' Y' C( v2 `$ p
  1095. ; http://php.net/odbc.defaultbinmode, d: |  z4 v! \- c% w1 s
  1096. odbc.defaultbinmode = 11 r! Q/ o2 T/ w% b  u) e9 i2 B
  1097. , u- j! Q3 u/ X5 D& `1 D) w
  1098. ;birdstep.max_links = -18 z' s3 x2 @, s% s4 g& ]$ S
  1099. ! J  I5 m6 I' m- X" X$ v* a
  1100. [Interbase]
    9 l' @8 F; N& j/ \2 w9 M
  1101. ; Allow or prevent persistent links.
    1 [8 q$ \% T2 G3 X
  1102. ibase.allow_persistent = 1: b" ^! n' g3 g$ i) F

  1103. $ H% c3 ~) p$ b- l. ]7 g$ ~! H0 N1 h
  1104. ; Maximum number of persistent links.  -1 means no limit.
    + g4 z. }  D  a# H' o/ V
  1105. ibase.max_persistent = -10 K7 F( V0 f7 W) r) n% X( `5 K
  1106. 2 c$ a$ E2 L, B) F# Z& C
  1107. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    8 O) O" l. l7 t" t2 v$ }
  1108. ibase.max_links = -1
    3 L( q' K7 U* T: Y
  1109.   _- F, P6 l8 T3 A" \  j  e
  1110. ; Default database name for ibase_connect().
    . [* U$ w1 k9 z5 s) B
  1111. ;ibase.default_db =- a3 ?9 `% j/ [* c7 x( R

  1112. / z9 \; \2 U( d8 A5 Q$ c3 ?) \
  1113. ; Default username for ibase_connect().* i3 e8 t: ^! o6 F4 G
  1114. ;ibase.default_user =
    - z* q  B9 O2 e* R* A/ j/ X
  1115. : t2 ]. u" m. o; p  a
  1116. ; Default password for ibase_connect().- d9 J. v/ C3 q. _) n6 V$ p2 I9 o+ ?
  1117. ;ibase.default_password =0 p) J2 f9 x& c& o
  1118. ( q% n" g9 q& f! n! b6 P( }" q; Y
  1119. ; Default charset for ibase_connect().. I) c, r" l8 l, \! c/ z0 P
  1120. ;ibase.default_charset =! G: F' v9 e) |7 s2 x# T

  1121. 2 N# j- e  R% Q$ p' s
  1122. ; Default timestamp format.  F* o0 t& B* o! ], Z3 ]+ L7 ]
  1123. ibase.timestampformat = "%Y-%m-%d %H:%M:%S"
    9 {5 V, ~; K* W- q

  1124. ) \1 B3 X3 Q3 F( v3 H6 [. ?" T
  1125. ; Default date format.% ~8 ?5 Y; u& @! t# E, V
  1126. ibase.dateformat = "%Y-%m-%d"
    1 f1 P1 N. K1 F  f& D
  1127. 8 O0 P% I1 @$ _6 |' p
  1128. ; Default time format.
    7 }6 M. p# z; ]+ @  [* b; J
  1129. ibase.timeformat = "%H:%M:%S"
    ! y6 N; t5 z2 V: v1 n3 X/ c+ g
  1130. 3 e, E! N2 u" R6 D2 u2 l* |
  1131. [MySQL]9 l4 q/ k0 g: W$ G  }
  1132. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements0 f- W- P3 w8 R0 X+ W0 g8 l1 f# p6 C
  1133. ; http://php.net/mysql.allow_local_infile- M6 s7 h$ T5 {1 I- q
  1134. mysql.allow_local_infile = On
    " L, [, l. |1 j

  1135. * z& ^9 {" R% u! O
  1136. ; Allow or prevent persistent links.
    , R/ Z( K; e5 J- Z1 L, j8 d; P
  1137. ; http://php.net/mysql.allow-persistent/ N# ^- Z6 K9 ]) z# N* k( v
  1138. mysql.allow_persistent = On
    9 X" m; X& y: Y  A+ V5 X4 L. _

  1139. 3 @& q2 L5 I' B1 D
  1140. ; If mysqlnd is used: Number of cache slots for the internal result set cache
    0 ?9 V+ Z" F6 R: }
  1141. ; http://php.net/mysql.cache_size! r' r7 B& @" q; L: j1 q
  1142. mysql.cache_size = 2000
    " {7 N2 ?4 N; d% f' {0 v' c/ |

  1143. " W' V! \9 J3 S" D+ ]7 a. W
  1144. ; Maximum number of persistent links.  -1 means no limit." b6 R. ]3 d& h
  1145. ; http://php.net/mysql.max-persistent
    " b. Q3 o) D# @+ x6 k# n0 V9 x1 v
  1146. mysql.max_persistent = -1
    4 Q+ v6 U' P+ q

  1147. # R8 s; |# r, f  L) b+ l4 b
  1148. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.- l5 A4 Y$ S2 _2 B" C/ Z9 o
  1149. ; http://php.net/mysql.max-links2 E# d, ]& C7 s) O- W& X) Q
  1150. mysql.max_links = -1
    4 O3 q' Z8 t2 Q  _% g5 ]3 i+ C
  1151. * m6 {. `8 B' g( Q9 p, z3 H: W: h
  1152. ; Default port number for mysql_connect().  If unset, mysql_connect() will use
    ' s( o( d, O6 a; z* Q7 O/ a
  1153. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
    1 l/ P: M( W7 G( i0 H; k+ t6 K. X
  1154. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look3 a6 Q" Z, Q  j3 ^
  1155. ; at MYSQL_PORT.
    % s  E+ _) [, d* ^
  1156. ; http://php.net/mysql.default-port
    ; w0 A6 \" x/ T4 ^+ L1 R% y
  1157. mysql.default_port =
    7 H6 V9 A1 A6 L+ Q4 ~* N

  1158. ( r; P; ^6 C9 L( {& R% l8 [
  1159. ; Default socket name for local MySQL connects.  If empty, uses the built-in* Y- z& Z, q0 v  M6 g: R
  1160. ; MySQL defaults.! ?$ \# ~  F  a4 M4 W
  1161. ; http://php.net/mysql.default-socket
    6 [" b$ {& q( C" e: I. Q! z9 E) e
  1162. mysql.default_socket =
      S# Q0 a. b+ X  B2 r" {
  1163. 8 N+ J% }7 a9 O6 q4 I
  1164. ; Default host for mysql_connect() (doesn't apply in safe mode).' s$ D  N. O  ~/ [( u$ |: g
  1165. ; http://php.net/mysql.default-host
    & Y  N8 Y" V% K6 P  M* }
  1166. mysql.default_host =
    # s& h/ F+ t: z) T# k/ b$ K

  1167. ! J0 ~. B$ f$ |
  1168. ; Default user for mysql_connect() (doesn't apply in safe mode).; e8 T; D& Q% W$ j' V% m& R
  1169. ; http://php.net/mysql.default-user( H# Z8 ]0 H. {% z* n
  1170. mysql.default_user =
    6 b( Q0 C* }8 q

  1171. & o, n1 J' o2 K% T* _+ }9 N
  1172. ; Default password for mysql_connect() (doesn't apply in safe mode)./ P" {& ~1 N+ D# r2 S; L% d4 ^
  1173. ; Note that this is generally a *bad* idea to store passwords in this file.& r) ^* |* K) a+ S8 I/ H% d
  1174. ; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
    5 |0 M6 b( S) L2 a$ s( i- i
  1175. ; and reveal this password!  And of course, any users with read access to this
    # b! |$ z+ l. q# X
  1176. ; file will be able to reveal the password as well.
    5 }8 w0 Q7 }) X, [7 Q5 r1 x/ Z
  1177. ; http://php.net/mysql.default-password4 O# X& Y8 Z3 ^" L
  1178. mysql.default_password =
    6 H7 ?. G6 Z8 [& O+ J
  1179. & P; b" q/ q' C6 j% v2 \! {
  1180. ; Maximum time (in seconds) for connect timeout. -1 means no limit' U8 F/ Y, `9 R7 |
  1181. ; http://php.net/mysql.connect-timeout
    6 ?( j4 ?; n# i
  1182. mysql.connect_timeout = 60+ i/ c$ g, r; j' ?5 b& F) h( v
  1183. : m/ E! M3 R4 g6 [% T1 X5 E- T
  1184. ; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
    % t# D- Q* k# L( `) R8 m5 g7 }
  1185. ; SQL-Errors will be displayed.4 y/ e- P6 M* ^; j! [: b
  1186. ; http://php.net/mysql.trace-mode5 f# X& [% I/ z; F
  1187. mysql.trace_mode = Off
    ! K2 |( H. Q  I0 [- W6 C0 B
  1188. / w% X' t* F6 b0 H; ^( Z5 I
  1189. [MySQLi]* D+ a6 x, k0 D6 M7 b4 E* T, j( A/ g

  1190. 5 \2 L# h$ `, f: l2 q1 P# V8 X
  1191. ; Maximum number of persistent links.  -1 means no limit.
    ' ^4 X. b, h* B
  1192. ; http://php.net/mysqli.max-persistent
    % O0 d2 \, |, Z0 l/ _" Q$ N+ w
  1193. mysqli.max_persistent = -1. x* M' R) g4 T4 E+ h

  1194. 9 `% }0 }6 W2 E, I! l$ Q
  1195. ; Allow accessing, from PHP's perspective, local files with LOAD DATA statements$ a# K7 G2 N6 i$ f" w' _0 o9 N
  1196. ; http://php.net/mysqli.allow_local_infile, T0 r- _) Z9 P7 e6 @
  1197. ;mysqli.allow_local_infile = On
    9 V2 W4 _: c8 }9 _) ?/ N

  1198.   ^6 r: f+ ?$ a: S) P0 s- |
  1199. ; Allow or prevent persistent links.- y3 K# D% N) v2 F1 r& n: z
  1200. ; http://php.net/mysqli.allow-persistent- ?( G5 B) T& E* G
  1201. mysqli.allow_persistent = On! |1 I% `" }! a5 N  y0 ~) c

  1202. * K) W5 \! H* j' X" ^1 @
  1203. ; Maximum number of links.  -1 means no limit.% t! S5 s  m+ t1 \# a1 h
  1204. ; http://php.net/mysqli.max-links& a+ n. _' s0 \& U; Z% _" d3 O
  1205. mysqli.max_links = -1
    9 q" b( H+ K1 }) H% Z
  1206. . e& `5 k* q1 y' U& d
  1207. ; If mysqlnd is used: Number of cache slots for the internal result set cache+ `8 k) ]. P. M6 M5 C
  1208. ; http://php.net/mysqli.cache_size
    . T# S( o2 S/ Y. s/ T! S3 @
  1209. mysqli.cache_size = 2000" w  ^6 X, h9 ~% [: q* H
  1210. + j$ l) T/ i! r  L: L
  1211. ; Default port number for mysqli_connect().  If unset, mysqli_connect() will use$ Q4 w5 O6 u& `* e4 o$ \
  1212. ; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the$ B" N- l6 p  Z- z# ~+ `
  1213. ; compile-time value defined MYSQL_PORT (in that order).  Win32 will only look
    7 I& U) X/ {( f% R
  1214. ; at MYSQL_PORT.
    8 G- J% m, p. i2 j6 E3 W* q7 r/ h
  1215. ; http://php.net/mysqli.default-port1 Q1 C0 p- i+ q) V5 e
  1216. mysqli.default_port = 3306
    / T+ U9 L2 w3 D, z+ F; G5 n
  1217. & H' f# H7 m" K" f$ u
  1218. ; Default socket name for local MySQL connects.  If empty, uses the built-in
    % T& f; t4 e0 D: u% h
  1219. ; MySQL defaults.' x6 q6 F/ O5 a( M# X; P
  1220. ; http://php.net/mysqli.default-socket8 D) M- K$ q: g+ A9 n" u; T& a
  1221. mysqli.default_socket =
    ' ~; n# n' L/ ]! h% J# C( l
  1222. 6 ~2 b8 Y/ s! k
  1223. ; Default host for mysql_connect() (doesn't apply in safe mode)., ?3 ?; v, y) T3 I5 A
  1224. ; http://php.net/mysqli.default-host
    4 [! O4 F/ f( A  f3 [" S4 g
  1225. mysqli.default_host =( Z) }7 V$ i# \5 Z

  1226. * _. P6 C* a& z" z# E
  1227. ; Default user for mysql_connect() (doesn't apply in safe mode).& U& y$ G4 Z4 y
  1228. ; http://php.net/mysqli.default-user
    $ m$ M* z! b1 {$ u
  1229. mysqli.default_user =5 V( J& Y1 D8 H/ @

  1230. $ @- Y, V& t% B
  1231. ; Default password for mysqli_connect() (doesn't apply in safe mode).# V! y" I3 A" U; X6 y2 x4 W- J6 L
  1232. ; Note that this is generally a *bad* idea to store passwords in this file.% r6 [2 p  k! k$ l% X; \
  1233. ; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")3 ~' R$ |! F6 T1 K6 T
  1234. ; and reveal this password!  And of course, any users with read access to this
    / C4 ]" x" V9 \
  1235. ; file will be able to reveal the password as well.
    : G& F3 {% D) ^, t
  1236. ; http://php.net/mysqli.default-pw+ P9 }6 `: e* t! u* d) H3 {  g
  1237. mysqli.default_pw =
      e( ~, O8 u. G8 y, _
  1238. ! z$ ^8 P- y# ~# M- M2 M+ S
  1239. ; Allow or prevent reconnect" C: s/ P4 m$ C1 M; {* f
  1240. mysqli.reconnect = Off
    ) a6 Q8 {4 l4 G$ t3 _, l

  1241. 9 \4 i3 k) s8 u4 R( }2 f
  1242. [mysqlnd]
    3 q$ A- y, A8 `4 `& V
  1243. ; Enable / Disable collection of general statistics by mysqlnd which can be
    1 R. K6 \6 A( C2 b$ M
  1244. ; used to tune and monitor MySQL operations.3 U4 X4 |7 n5 ^0 s8 C( i1 m5 O
  1245. ; http://php.net/mysqlnd.collect_statistics( S+ m* u: S" i: k
  1246. mysqlnd.collect_statistics = On
    ' c" i) Q* m1 r

  1247. - o7 A) {) q: V8 X7 M, Y$ }/ A
  1248. ; Enable / Disable collection of memory usage statistics by mysqlnd which can be( v0 }) b9 e4 Y6 h! ~- F
  1249. ; used to tune and monitor MySQL operations.
    % ?, Z; ?' G4 ^8 R
  1250. ; http://php.net/mysqlnd.collect_memory_statistics
    0 N% [2 l) o$ U  C$ f  E7 J
  1251. mysqlnd.collect_memory_statistics = Off- G" b) y8 F, m5 ^$ \! j: R' s: D

  1252. 5 n1 E) I# U0 e/ N# }8 u. V
  1253. ; Records communication from all extensions using mysqlnd to the specified log
    : ~. ~! D9 B# a$ v
  1254. ; file.
    6 D. Z% \" t' u! a+ i5 u+ Y# l0 b
  1255. ; http://php.net/mysqlnd.debug
    8 t8 n6 H4 a+ O% i* @' t( v
  1256. ;mysqlnd.debug =
    $ d3 x  x2 S! F) R

  1257. ; R9 J; m! m# M- l
  1258. ; Defines which queries will be logged.* Z: w5 n0 o0 ^4 D5 ]; Y
  1259. ; http://php.net/mysqlnd.log_mask. e( x! S  M, a+ I* Q
  1260. ;mysqlnd.log_mask = 0
    . t& l; z7 D1 e& L& A/ c

  1261. ' z# s! a: W! |. f
  1262. ; Default size of the mysqlnd memory pool, which is used by result sets.
    ; D  |1 {, H8 I8 K8 s/ O- J+ Z$ O* W
  1263. ; http://php.net/mysqlnd.mempool_default_size2 ^( ~, N; _' q8 c2 H8 L; ?; u, `+ A
  1264. ;mysqlnd.mempool_default_size = 16000. A* \6 A4 i) T/ A$ F6 D" p0 H
  1265. ' y0 o5 u( N- N2 k- E- x4 K$ I
  1266. ; Size of a pre-allocated buffer used when sending commands to MySQL in bytes.2 B6 m) a8 g6 x* Y4 l
  1267. ; http://php.net/mysqlnd.net_cmd_buffer_size+ n# |) F7 ~" H- s9 ~& L
  1268. ;mysqlnd.net_cmd_buffer_size = 2048
    " ^9 I- M7 p* ~) F) S3 T7 _
  1269. 9 y3 ^* f; l9 r- e6 e: z* N
  1270. ; Size of a pre-allocated buffer used for reading data sent by the server in$ N+ A: t% }# g
  1271. ; bytes.; ^+ Z8 N+ ^3 Y/ P
  1272. ; http://php.net/mysqlnd.net_read_buffer_size" R  M( n! Y+ W: I% Z0 W, q
  1273. ;mysqlnd.net_read_buffer_size = 32768( R& i) w( E+ ^9 @

  1274. ) ]! m- s' C) D
  1275. ; Timeout for network requests in seconds.
    + z! M2 ~3 v7 A5 p4 s+ T& L
  1276. ; http://php.net/mysqlnd.net_read_timeout! f3 I  |( `7 V3 h% B7 B% O0 ~8 ^
  1277. ;mysqlnd.net_read_timeout = 31536000
    & k' B* M( T$ ^4 Y& q

  1278. + t' e( {) d" v: ~6 L( }
  1279. ; SHA-256 Authentication Plugin related. File with the MySQL server public RSA
    , w+ Q" X2 ?& v/ ~/ N' ^( V
  1280. ; key./ |* V8 M1 ?' I0 Q& H
  1281. ; http://php.net/mysqlnd.sha256_server_public_key
    3 s' |8 ~" t. t; B$ V
  1282. ;mysqlnd.sha256_server_public_key =
    - @, ]6 f4 l, ~' s0 Z

  1283. : n4 h# G( q' p: H
  1284. [OCI8]
    % k  k1 ]2 Q, A7 ?
  1285. , o6 t: Y$ K2 r3 D
  1286. ; Connection: Enables privileged connections using external
    9 g* l; {3 K" ^/ t, z
  1287. ; credentials (OCI_SYSOPER, OCI_SYSDBA), Z6 v" j. t% @9 K
  1288. ; http://php.net/oci8.privileged-connect
    & m" }; g! q+ S' G' w4 W, P% Z
  1289. ;oci8.privileged_connect = Off
    & g6 ~& e* r" C1 n% S# X4 {4 ]5 s+ b
  1290. 6 i' k3 D7 Y6 W
  1291. ; Connection: The maximum number of persistent OCI8 connections per
    5 c3 b$ m3 M, D* |, y, Q
  1292. ; process. Using -1 means no limit.
    , P0 h! Q# _( ^- g# D8 ?
  1293. ; http://php.net/oci8.max-persistent7 W$ t3 [# k; y
  1294. ;oci8.max_persistent = -1
    + q3 }, [3 \, N0 B, L) o$ t8 G

  1295. / x* Q0 P- _' u
  1296. ; Connection: The maximum number of seconds a process is allowed to
    ( H. h6 A7 h+ |4 f' ?
  1297. ; maintain an idle persistent connection. Using -1 means idle2 ?) E5 H9 b! M/ U3 R
  1298. ; persistent connections will be maintained forever.
    ) l/ o% Y( }; B$ V- Q
  1299. ; http://php.net/oci8.persistent-timeout4 T( _7 z9 R: D% G# F2 y/ T$ C
  1300. ;oci8.persistent_timeout = -14 a3 u9 k( S% L, q) G! \3 `2 b$ R

  1301. 1 T2 ~' m1 `2 ^$ O8 k3 \, X6 s
  1302. ; Connection: The number of seconds that must pass before issuing a
    ; b9 W1 g/ F7 @
  1303. ; ping during oci_pconnect() to check the connection validity. When  ^) x7 }9 ^. L( r
  1304. ; set to 0, each oci_pconnect() will cause a ping. Using -1 disables, t; D) s5 f. [3 [$ ?" l0 M7 m
  1305. ; pings completely.$ [- k7 ~: z0 s+ E3 t6 I' d
  1306. ; http://php.net/oci8.ping-interval1 T4 A# {$ u( m. B; \
  1307. ;oci8.ping_interval = 60
    1 _: z# C1 F4 x5 e/ U9 `! v
  1308. 8 e; {: C$ `# H$ X# s, B6 G
  1309. ; Connection: Set this to a user chosen connection class to be used
    9 t- r6 X  I& W- q& ?7 }% s
  1310. ; for all pooled server requests with Oracle 11g Database Resident
    $ _9 C' S% G" \  v
  1311. ; Connection Pooling (DRCP).  To use DRCP, this value should be set to
    7 D+ O- G% V3 b! g4 i! u# u- j
  1312. ; the same string for all web servers running the same application,1 h" U+ X2 p1 ]! g. u& b8 y
  1313. ; the database pool must be configured, and the connection string must
    0 K* W# H& W8 s" l7 f. O
  1314. ; specify to use a pooled server.) y6 f+ D& M4 K
  1315. ;oci8.connection_class =
    # B% Y& `' E1 t& Y0 a5 t

  1316. ' d% N; x' y) W3 L, D
  1317. ; High Availability: Using On lets PHP receive Fast Application, I; x' S+ n1 ~) M
  1318. ; Notification (FAN) events generated when a database node fails. The7 @$ e# p4 l4 k; Y4 D" {6 _
  1319. ; database must also be configured to post FAN events.
    ' P; _) \8 g: A' `% d6 t: r3 g
  1320. ;oci8.events = Off
    & f/ ]2 V- h- D+ m8 a2 A

  1321. ; Y5 |" I1 O7 k8 [' B* `
  1322. ; Tuning: This option enables statement caching, and specifies how
    * I8 ]- b/ }4 X
  1323. ; many statements to cache. Using 0 disables statement caching.* w9 P2 ?7 P0 b1 Y/ Y
  1324. ; http://php.net/oci8.statement-cache-size
    1 R4 e+ ^' [- f0 r3 G0 o
  1325. ;oci8.statement_cache_size = 20
    0 J! ]4 c. v5 n% S; A
  1326. $ \* C8 u% i. M  w- a
  1327. ; Tuning: Enables statement prefetching and sets the default number of
    8 r3 R4 n  L0 e6 x, i
  1328. ; rows that will be fetched automatically after statement execution.
    6 m9 a+ Q9 j# y4 h9 s
  1329. ; http://php.net/oci8.default-prefetch$ _+ b$ S3 b8 ]5 t0 s+ T
  1330. ;oci8.default_prefetch = 100% C+ j$ \4 N. \8 C0 I" R0 [
  1331. - K1 k: H. X3 y& s
  1332. ; Compatibility. Using On means oci_close() will not close
    0 T7 Q1 d0 C! p& d1 ]7 e
  1333. ; oci_connect() and oci_new_connect() connections.
    ' F* c' T/ m- |* p% O
  1334. ; http://php.net/oci8.old-oci-close-semantics
    6 m# Q( E% g6 N% H9 m- `
  1335. ;oci8.old_oci_close_semantics = Off  Z2 }, a; o) V+ _: q  E
  1336. ( Z' h% ?, a* @4 f( S
  1337. [PostgreSQL]
    , n- M8 U5 K. Z# b; Q/ C9 |
  1338. ; Allow or prevent persistent links.! [( S8 h* M* N. R1 m" \' W! H  z
  1339. ; http://php.net/pgsql.allow-persistent* Y0 ^- C( h7 d+ o7 {+ {7 ~/ D, P
  1340. pgsql.allow_persistent = On4 T; n7 x, k( I3 O
  1341. , M5 [& Q5 P4 B& |6 n9 u* v
  1342. ; Detect broken persistent links always with pg_pconnect().
      m- g8 p) s+ @0 r, f( l, Y4 j
  1343. ; Auto reset feature requires a little overheads.  W4 M/ H- l2 f# F. f- d5 X
  1344. ; http://php.net/pgsql.auto-reset-persistent; j4 C) }5 R& \7 y+ e
  1345. pgsql.auto_reset_persistent = Off% f1 \9 W3 y. \' M8 I5 F

  1346. # a/ u  \  N, p$ n; D
  1347. ; Maximum number of persistent links.  -1 means no limit.& K2 S3 ^% W' n2 [# Z
  1348. ; http://php.net/pgsql.max-persistent
    8 z& ]0 g. U6 m) b4 ?$ g4 P
  1349. pgsql.max_persistent = -1
    * f8 N5 C8 ~+ u
  1350. 4 ~1 t. U3 @1 ^/ M
  1351. ; Maximum number of links (persistent+non persistent).  -1 means no limit.5 H* ^' W: f: \$ W& C" c0 B
  1352. ; http://php.net/pgsql.max-links* j" @- `" g. N, e
  1353. pgsql.max_links = -1
    7 \* I3 O4 B5 u7 u# X+ l# L
  1354. ' `/ m0 w: u4 f1 D$ I; E
  1355. ; Ignore PostgreSQL backends Notice message or not.
    2 c8 \9 o, N) d3 X1 U0 r9 O8 w8 @
  1356. ; Notice message logging require a little overheads.
    / K, K. G- L4 U# \
  1357. ; http://php.net/pgsql.ignore-notice
    2 |, {  w. g( e' E8 [
  1358. pgsql.ignore_notice = 0
    & R! |8 k, a2 A7 @3 w* y

  1359. , Z5 ]. @( u  G! @
  1360. ; Log PostgreSQL backends Notice message or not.# `- k# }; C: o0 M
  1361. ; Unless pgsql.ignore_notice=0, module cannot log notice message.  D2 h: ?. `/ r2 p3 s3 M
  1362. ; http://php.net/pgsql.log-notice
    ; g, l7 g& t& d' q' B( D/ s% b
  1363. pgsql.log_notice = 0
    * n/ T. l$ a9 _+ `
  1364. 8 R3 |( t- I# f3 A9 z
  1365. [Sybase-CT]
    ' P  F/ Y$ h. [$ j
  1366. ; Allow or prevent persistent links.. d% Q* G# C- V5 k
  1367. ; http://php.net/sybct.allow-persistent1 s5 S- v; V5 G& l( {
  1368. sybct.allow_persistent = On
    6 g2 F. R1 _5 W4 x% W

  1369. 2 ^; K7 `% Y$ c3 D) G/ R7 J6 }- l! w
  1370. ; Maximum number of persistent links.  -1 means no limit.$ z$ E3 F( A, m
  1371. ; http://php.net/sybct.max-persistent
    & b5 [. j9 {7 E9 V+ I0 @
  1372. sybct.max_persistent = -1
    / M" a7 A; H$ I* C0 b

  1373. ' D2 X7 p. k) L4 f
  1374. ; Maximum number of links (persistent + non-persistent).  -1 means no limit.
    ( \- b, J) C) E
  1375. ; http://php.net/sybct.max-links( Q  q" t( f9 x4 H
  1376. sybct.max_links = -1+ t4 y& Y, k  W9 \  Q, v

  1377. 3 M& ~6 Z: l) w' ]: ~4 j
  1378. ; Minimum server message severity to display.
    , m# D5 v' ~+ R) u0 `! x1 E3 O' \; V
  1379. ; http://php.net/sybct.min-server-severity9 ^) Y4 q# F9 k* F6 L- Y6 F' A
  1380. sybct.min_server_severity = 10$ f' p# R8 N+ z5 A' O. k

  1381. 7 {3 }) H7 B. H7 |" W( e, }
  1382. ; Minimum client message severity to display.5 ?" y+ _* W9 M* D( M2 C; Q
  1383. ; http://php.net/sybct.min-client-severity: o4 F: t5 v; d4 @3 D8 v
  1384. sybct.min_client_severity = 102 F+ K& w  G& m; M' F! D+ T* c
  1385. $ k3 {. Q; B( M6 t! E4 C( [' A
  1386. ; Set per-context timeout
    6 Q' s$ U  b5 U* S( y
  1387. ; http://php.net/sybct.timeout7 m1 G1 s& Z, {
  1388. ;sybct.timeout=
    : Z0 |- ]  f, B( I* K
  1389. 1 N- x3 @+ j( ^# Z( x3 |% `' l
  1390. ;sybct.packet_size
    - ]; N: ^2 S! W+ z* R7 R* l" Q4 I
  1391. : @  r; \* B8 \7 v* X5 k& Z! d
  1392. ; The maximum time in seconds to wait for a connection attempt to succeed before returning failure.
    - L% N) ~- p% g9 L# t; H0 a6 X
  1393. ; Default: one minute( |9 C; R# i; S  F% |0 I
  1394. ;sybct.login_timeout=& J1 a( d! ~1 V" L% B$ e! J
  1395. ) A: C- g! `: Z$ a- X( D7 @
  1396. ; The name of the host you claim to be connecting from, for display by sp_who.
    ) Q1 F# i  B  N' d: v0 x
  1397. ; Default: none" h5 F, ]. }, C2 e& n1 R) {. A
  1398. ;sybct.hostname=
    / r( b# e! L5 ~6 |6 `4 _
  1399. $ n5 _/ _2 d& o; h. b: W+ \
  1400. ; Allows you to define how often deadlocks are to be retried. -1 means "forever".
    3 }- v/ e2 r# I# I" y! ?2 S& f4 h$ R
  1401. ; Default: 0
    # r6 L7 r4 n: q
  1402. ;sybct.deadlock_retry_count=
    9 X* |1 f2 x8 o" b  Y+ _

  1403. , Z! |% o) d$ `% @
  1404. [bcmath]
    7 m/ m: `$ @- X$ {1 p- V% P! X0 v
  1405. ; Number of decimal digits for all bcmath functions.
    ( `( |) L$ g8 d8 Y; i6 w
  1406. ; http://php.net/bcmath.scale' @% x" D8 e- @: T8 t
  1407. bcmath.scale = 0
    ! E  \# H' P" z+ V. X6 u- E

  1408. 4 a& v9 ~- V) [% _
  1409. [browscap]$ F. |- d/ N  {% Z$ l, x( [* W
  1410. ; http://php.net/browscap
    2 o: b+ r) z  p& A
  1411. ;browscap = extra/browscap.ini
    . r" g- q5 _7 b8 B/ ]$ w1 I

  1412. 6 H- q9 B) h8 c0 L) t
  1413. [Session]
      p' r" Z% j- E5 T; b6 G
  1414. ; Handler used to store/retrieve data.% N3 z3 F$ _; o3 Q! ^+ e
  1415. ; http://php.net/session.save-handler
    5 s: f* A& w/ |5 B. O
  1416. session.save_handler = files
    & L* L' p% O7 b$ R+ a5 z: c

  1417.   [9 Y' p6 i' i
  1418. ; Argument passed to save_handler.  In the case of files, this is the path, P* D: \$ |0 d6 t
  1419. ; where data files are stored. Note: Windows users have to change this; g. I5 ?& z# J& M* v( T$ u$ M
  1420. ; variable in order to use PHP's session functions.% C) g0 O" a. \/ i) D( H
  1421. ;
    & @. _) N' _1 B+ |& o0 ]  n9 G
  1422. ; The path can be defined as:
    ) R  J$ h9 c% _) l
  1423. ;
    1 x2 a8 M& O: _* V$ a" b
  1424. ;     session.save_path = "N;/path"
    # V% l* c$ O9 u: C  k8 S5 P% J$ `
  1425. ;
    * m) U0 {! S3 U+ T8 b
  1426. ; where N is an integer.  Instead of storing all the session files in
    3 c. p; z  s  L  A& `% \
  1427. ; /path, what this will do is use subdirectories N-levels deep, and2 B! Z+ H: z/ K1 b  p
  1428. ; store the session data in those directories.  This is useful if
    ' c9 W9 L( f( ?& d' n) v
  1429. ; your OS has problems with many files in one directory, and is, i2 n% Z: b9 w
  1430. ; a more efficient layout for servers that handle many sessions.! _7 Y5 x9 P: C/ F2 P
  1431. ;- G4 s  d) a6 a9 K# T9 \- w, G) y
  1432. ; NOTE 1: PHP will not create this directory structure automatically.3 r! g2 u! `4 R. R
  1433. ;         You can use the script in the ext/session dir for that purpose.# h( _3 J4 k, Q* f# ]9 w
  1434. ; NOTE 2: See the section on garbage collection below if you choose to. O+ H5 {9 T  w' ~
  1435. ;         use subdirectories for session storage
    , {* H% V, z% O- {9 N2 @9 ?+ `& V
  1436. ;
    + \( `2 L8 M1 S# x$ u% l  r
  1437. ; The file storage module creates files using mode 600 by default.
    * \( j; ]2 m& x2 m
  1438. ; You can change that by using$ d; a. J9 J: V" q/ {
  1439. ;
      M: ?# x7 f' z+ n9 f3 E3 B
  1440. ;     session.save_path = "N;MODE;/path"/ z( N0 u2 E8 l) I
  1441. ;' Z* u) K4 c6 X8 o. R- y4 c
  1442. ; where MODE is the octal representation of the mode. Note that this3 G0 p; n7 c( R% F3 d, j% s( S6 a; N
  1443. ; does not overwrite the process's umask.( p( G4 d$ a* D6 z# s8 o  ^
  1444. ; http://php.net/session.save-path6 _- T' K9 W" `& |
  1445. ;session.save_path = "/tmp"0 q1 j# U9 f# B

  1446. 4 l. u! `0 k+ V; g3 M& Z8 ]. E
  1447. ; Whether to use strict session mode.
    # |# g( C4 k0 O8 z- J) Y
  1448. ; Strict session mode does not accept uninitialized session ID and regenerate
    0 Q  Y  R9 G; B# h
  1449. ; session ID if browser sends uninitialized session ID. Strict mode protects
    4 Y* u: a: D9 B- R! b1 b, z% _, ]
  1450. ; applications from session fixation via session adoption vulnerability. It is) |8 G  |% O, m  H" }' h5 k
  1451. ; disabled by default for maximum compatibility, but enabling it is encouraged.- ?. H2 K/ c+ p. _! n
  1452. ; https://wiki.php.net/rfc/strict_sessions* T% U- b( @* ~
  1453. session.use_strict_mode = 0
    % ^& U* E% l4 j

  1454. $ U& J1 {. n) {0 ~4 y" ~/ T7 u) R
  1455. ; Whether to use cookies.; h, \+ Y1 a8 J
  1456. ; http://php.net/session.use-cookies' ?; y5 j0 l0 J' u. `4 s
  1457. session.use_cookies = 1
    6 N9 V3 V/ p, ^) p  N
  1458. $ a2 f" [! _$ C8 N( ~, v* W
  1459. ; http://php.net/session.cookie-secure4 Q. _4 S, v& `' `4 q, @( o
  1460. ;session.cookie_secure =; C1 c/ g  v1 }" C0 q
  1461. / F8 D5 Y" V- F
  1462. ; This option forces PHP to fetch and use a cookie for storing and maintaining* i6 h5 Z  g8 r# s
  1463. ; the session id. We encourage this operation as it's very helpful in combating
      B+ e" ^2 w7 s$ y( e
  1464. ; session hijacking when not specifying and managing your own session id. It is. c! x, }4 ]  ~; N; t
  1465. ; not the be-all and end-all of session hijacking defense, but it's a good start.1 ?/ \$ {) j- z; W5 ?$ l- p* [( l
  1466. ; http://php.net/session.use-only-cookies% I6 t: C6 C2 T. g3 `2 {
  1467. session.use_only_cookies = 1
    ! k6 m: a8 p0 }* T9 y
  1468. - L. k; `& h4 P- E( A0 e; {
  1469. ; Name of the session (used as cookie name).
    ! ?. p+ ^5 @, N6 @! c* p5 v
  1470. ; http://php.net/session.name% l% \3 n. `7 i# {
  1471. session.name = PHPSESSID9 Q% E8 \) z6 ~! Y
  1472. & J5 d  v, {% ~: u/ M9 M
  1473. ; Initialize session on request startup.0 i. a7 {& _2 Y8 _6 m( r
  1474. ; http://php.net/session.auto-start7 w$ ]4 c, |8 v. W5 `: f& ~
  1475. session.auto_start = 06 i. j, v! u; j' d6 w# Y8 r

  1476. ) E  r2 @: B/ {2 {6 |* h! e
  1477. ; Lifetime in seconds of cookie or, if 0, until browser is restarted.
    # D: V7 @+ k3 n1 w. t
  1478. ; http://php.net/session.cookie-lifetime
    4 X' e- s$ }# ]4 X" M/ Y0 ?! H
  1479. session.cookie_lifetime = 0
    % \9 W2 u7 ~( r" D7 y3 C
  1480. ' K9 u$ B$ x) S3 E! l1 [
  1481. ; The path for which the cookie is valid.' W$ o: J2 Y& ^& N7 T( s" v
  1482. ; http://php.net/session.cookie-path
    : j. a$ M& U* p9 v
  1483. session.cookie_path = /
    ( F# T& \. l8 _" W3 @

  1484. 0 K0 G' O6 x2 e. O# P
  1485. ; The domain for which the cookie is valid.
    , h$ z/ d# b% o+ y, N  c. l. z: |
  1486. ; http://php.net/session.cookie-domain0 [2 t1 z# J. X; k. S4 Y! a
  1487. session.cookie_domain =* w1 `' t! \/ ^! y
  1488. " }3 A2 d8 a  N8 G* X) O  Q& s
  1489. ; Whether or not to add the httpOnly flag to the cookie, which makes it inaccessible to browser scripting languages such as JavaScript.
    * p% S! Y6 P/ d, @# y- Z/ d
  1490. ; http://php.net/session.cookie-httponly
    ) I9 u" N: a$ W  q. g% Q# i
  1491. session.cookie_httponly =
    ! z* i& F, _1 _) L$ W: }/ J
  1492. 5 C& Z/ h5 N5 g, G
  1493. ; Handler used to serialize data.  php is the standard serializer of PHP.* O3 e3 K* [; Z! x
  1494. ; http://php.net/session.serialize-handler
    8 E7 N9 b& t& a
  1495. session.serialize_handler = php  {$ C" \4 T& p* B# l' n

  1496. " X* N( P, H  R
  1497. ; Defines the probability that the 'garbage collection' process is started
    . H4 a/ _+ }4 {. I7 g
  1498. ; on every session initialization. The probability is calculated by using( Q  s1 c2 |8 x; n6 G/ j. u
  1499. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator
    & m5 T2 m: m; F: d7 W' F0 C& b
  1500. ; and gc_divisor is the denominator in the equation. Setting this value to 1$ B8 g' c3 C5 [5 v8 N4 G! Y
  1501. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance* q4 y. Z1 o* x+ Y6 j
  1502. ; the gc will run on any give request.
    - V* s" q) `) V2 Q
  1503. ; Default Value: 1
    1 V5 p% M0 [' H8 _6 w) p
  1504. ; Development Value: 1$ E) T' n, `* S+ \
  1505. ; Production Value: 1
    ; K7 M/ q3 B- C/ P2 X( v
  1506. ; http://php.net/session.gc-probability1 Z) H0 N7 E$ X% A+ x+ V$ |7 ~% `
  1507. session.gc_probability = 1$ U: M3 x# ?/ G$ s- l: T& `2 Z
  1508. 4 q* L. Q$ J2 X2 q: X: i
  1509. ; Defines the probability that the 'garbage collection' process is started on every, q& C6 ~1 ~( N- J; r; \
  1510. ; session initialization. The probability is calculated by using the following equation:- L" W/ n* X4 D9 c0 E
  1511. ; gc_probability/gc_divisor. Where session.gc_probability is the numerator and3 T, \4 _9 F5 j* a3 e) j/ w
  1512. ; session.gc_divisor is the denominator in the equation. Setting this value to 1
    # W/ w2 k0 ~/ Q; d) A4 W7 ^3 H
  1513. ; when the session.gc_divisor value is 100 will give you approximately a 1% chance
    : ?- x' p' F4 G0 n- Q$ M" j
  1514. ; the gc will run on any give request. Increasing this value to 1000 will give you  h8 X. i. @- i$ y/ }4 j5 L+ b
  1515. ; a 0.1% chance the gc will run on any give request. For high volume production servers,# E$ u+ {: Z4 y0 o% z
  1516. ; this is a more efficient approach.+ A. _8 Q( q3 V& B6 e
  1517. ; Default Value: 100
    4 U: o' X( H3 H1 B5 b) S7 {, F( K
  1518. ; Development Value: 10003 L/ M; m- `3 ]. B
  1519. ; Production Value: 10001 T/ u. |1 X! U' Q4 p! J+ ~
  1520. ; http://php.net/session.gc-divisor4 j. x8 O* I. O/ u0 D5 e9 n: H
  1521. session.gc_divisor = 1000
    2 r7 W$ n% n0 X' ?* [/ V

  1522. & M" I# Q4 ]* {0 C/ @
  1523. ; After this number of seconds, stored data will be seen as 'garbage' and
    4 w+ e( F% U* V+ P
  1524. ; cleaned up by the garbage collection process.
    ' h2 J' [" `& w
  1525. ; http://php.net/session.gc-maxlifetime0 x+ f" T; z6 W& ]# g0 d3 \3 T
  1526. session.gc_maxlifetime = 14408 N  H1 q4 ]) v
  1527. # X  a+ |, {8 Q5 S, E
  1528. ; NOTE: If you are using the subdirectory option for storing session files
    . r, t! f, B. ]8 t  B. i% w8 F$ u
  1529. ;       (see session.save_path above), then garbage collection does *not*/ O. e7 u4 z) _9 `8 U7 R
  1530. ;       happen automatically.  You will need to do your own garbage3 \' ]/ [& I6 B4 g: b8 [
  1531. ;       collection through a shell script, cron entry, or some other method.
    9 R+ w  G5 `+ h% B; H
  1532. ;       For example, the following script would is the equivalent of# ^7 \* m! y5 X
  1533. ;       setting session.gc_maxlifetime to 1440 (1440 seconds = 24 minutes):
    : a; z) i  p) Y9 T
  1534. ;          find /path/to/sessions -cmin +24 -type f | xargs rm
    2 p+ Q# s/ [& U, u

  1535. & w$ O' _7 Y' n/ v
  1536. ; Check HTTP Referer to invalidate externally stored URLs containing ids.
    # f3 n6 S4 N! c* e) P2 F/ @
  1537. ; HTTP_REFERER has to contain this substring for the session to be7 L. t$ U. T! }3 P) M" a
  1538. ; considered as valid.
    % z8 P/ \4 d8 Y; H5 j6 A
  1539. ; http://php.net/session.referer-check. m2 o, c: ?/ D
  1540. session.referer_check =9 f! p( t9 o7 o4 A1 ~1 w# K
  1541. ) ~6 U2 k& R1 e+ l% w
  1542. ; How many bytes to read from the file.
    , Y/ e' V! Y3 ^# x' T
  1543. ; http://php.net/session.entropy-length
    " A  W. }5 F5 n9 ]  S/ R8 E1 Z5 S
  1544. ;session.entropy_length = 32
    4 \2 V7 H" q2 P. ]2 X+ t. D" Q: q

  1545. & S8 }. G$ I5 D9 N$ @3 K- ~) b
  1546. ; Specified here to create the session id.
    1 C) _" G1 v3 b
  1547. ; http://php.net/session.entropy-file# k- V: k: ?0 U1 i$ o1 s/ s( Z
  1548. ; Defaults to /dev/urandom
    6 ~* z( U# _" d5 }# O
  1549. ; On systems that don't have /dev/urandom but do have /dev/arandom, this will default to /dev/arandom
    . L( M: z* U7 N' z9 W3 H
  1550. ; If neither are found at compile time, the default is no entropy file., F& u9 \9 k- j; \+ F
  1551. ; On windows, setting the entropy_length setting will activate the2 O# W$ ?! P$ @- V
  1552. ; Windows random source (using the CryptoAPI)- h& o0 _  v/ R6 r
  1553. ;session.entropy_file = /dev/urandom
    # L/ g# ]  s! [* s8 s! T5 j( }
  1554. ( B  |" q7 e* |5 F. `; e# k
  1555. ; Set to {nocache,private,public,} to determine HTTP caching aspects! u; B# t3 a( E8 B
  1556. ; or leave this empty to avoid sending anti-caching headers.% P* N6 C, L- \0 a% i  y3 n; c- ?
  1557. ; http://php.net/session.cache-limiter
      F  j) c# x$ b  q5 U6 K
  1558. session.cache_limiter = nocache
    0 @2 x; B' |9 J  x+ l
  1559. * `6 h' k7 e3 _
  1560. ; Document expires after n minutes.
    3 R4 F+ R* ~4 z
  1561. ; http://php.net/session.cache-expire5 d4 v3 p# N2 x+ _
  1562. session.cache_expire = 180
    : k  r, \" b6 k# \8 s  c  m" t* c

  1563. - m' n2 t2 K, h4 s6 n, w
  1564. ; trans sid support is disabled by default.+ i/ {( s4 N) {' t
  1565. ; Use of trans sid may risk your users' security.
      h: N- @8 L- _. e( V
  1566. ; Use this option with caution.% f. b+ x3 H% S- {
  1567. ; - User may send URL contains active session ID
    6 g8 n0 n) i7 Z/ p- w
  1568. ;   to other person via. email/irc/etc., I5 E6 I2 g4 j. W/ m9 e
  1569. ; - URL that contains active session ID may be stored
    , }1 F1 ^* N% ^7 S( n! f' x
  1570. ;   in publicly accessible computer.
    7 T; T4 E( F, `
  1571. ; - User may access your site with the same session ID
    # q  m) G: H4 a6 v. \
  1572. ;   always using URL stored in browser's history or bookmarks.
    " X4 q7 O: h% L4 L( H
  1573. ; http://php.net/session.use-trans-sid$ r6 {9 A0 {8 U3 H) H2 C
  1574. session.use_trans_sid = 0# Z) V1 L+ c1 Y, D

  1575. ! N: w" u$ x3 _% e5 j
  1576. ; Select a hash function for use in generating session ids.
    & l8 q. K" E; P/ U0 B2 F7 I5 r8 J
  1577. ; Possible Values
    8 k, n7 L# R% g2 i) m
  1578. ;   0  (MD5 128 bits)$ |' u1 R: r4 U8 P+ G  f* R
  1579. ;   1  (SHA-1 160 bits)- [0 H/ s8 @4 ?; f: p7 R
  1580. ; This option may also be set to the name of any hash function supported by2 M- p0 a/ I, L4 k6 J$ F5 P- e
  1581. ; the hash extension. A list of available hashes is returned by the hash_algos()
      h- ]5 P( t( `. T! j6 y
  1582. ; function.8 W5 S( l" U  K% v
  1583. ; http://php.net/session.hash-function
    6 B" v& ^9 |- j5 X" z! N  I
  1584. session.hash_function = 0
    3 N0 j8 Y2 D. F" d0 `& a/ ?! @
  1585. . s& s  H2 V0 P( K4 K- \; ~. }7 K& }
  1586. ; Define how many bits are stored in each character when converting
    0 V" Z& X( ?" b4 ~
  1587. ; the binary hash data to something readable.! i9 F7 K2 C' ^/ p+ r+ Y3 h
  1588. ; Possible values:
    7 x, f; l7 A( ]! F9 M8 k5 W0 e: i
  1589. ;   4  (4 bits: 0-9, a-f)' s1 e9 ?3 k" `
  1590. ;   5  (5 bits: 0-9, a-v)
    5 O( y( d5 l. f, g0 g- t
  1591. ;   6  (6 bits: 0-9, a-z, A-Z, "-", ","). w$ E5 F' n9 x+ s; {% e
  1592. ; Default Value: 4& `$ g! q7 Y7 n5 t$ U$ S# y
  1593. ; Development Value: 5
    $ D, X7 w3 y' ?
  1594. ; Production Value: 5
    # I9 q$ i  g$ F! S" J  E4 g& T
  1595. ; http://php.net/session.hash-bits-per-character
    ! `' R1 @  \* G# m& |4 z! L! k  D
  1596. session.hash_bits_per_character = 5
    $ L+ _$ e# _, ^. M0 I$ x
  1597. ( ?8 }- i! C% o' A% {
  1598. ; The URL rewriter will look for URLs in a defined set of HTML tags.5 C4 g* A* Y( _; w! F6 |4 N" i; m
  1599. ; form/fieldset are special; if you include them here, the rewriter will
    % ]: q0 f- \1 @/ l8 m! Z$ l
  1600. ; add a hidden <input> field with the info which is otherwise appended
    1 h. y% t" z; Y8 P; o
  1601. ; to URLs.  If you want XHTML conformity, remove the form entry.2 h' h+ P; {9 [* U
  1602. ; Note that all valid entries require a "=", even if no value follows.% y- g6 \5 p& W, G2 ?9 L
  1603. ; Default Value: "a=href,area=href,frame=src,form=,fieldset="1 H6 W  U0 i# a# b# o
  1604. ; Development Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    ; {. u! C* C) I4 M2 J' i
  1605. ; Production Value: "a=href,area=href,frame=src,input=src,form=fakeentry"
    . A- z7 z& Z, k- W/ k' |: [, o- y
  1606. ; http://php.net/url-rewriter.tags( j9 n0 L' V) h: l# H. M: P
  1607. url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=fakeentry"/ I( ]+ g  {; s; _7 p0 k6 ~( ^( k* |

  1608. ( U; n7 x+ x7 s! _" h
  1609. ; Enable upload progress tracking in $_SESSION
    8 t) u9 W0 u5 |0 i/ Y  F
  1610. ; Default Value: On6 B5 Y) [) ~2 K& m# ~" W
  1611. ; Development Value: On
    0 ]  W6 M( X9 u8 q/ l
  1612. ; Production Value: On
    1 X' g! B* a3 s' P
  1613. ; http://php.net/session.upload-progress.enabled5 v3 l8 D8 A0 p- I
  1614. ;session.upload_progress.enabled = On
    / r9 a: u) A! ^) Z" y

  1615. ( ?! ]+ z$ W8 ^- W4 K
  1616. ; Cleanup the progress information as soon as all POST data has been read
    4 d7 P) m3 k$ n( f+ M
  1617. ; (i.e. upload completed).! R  ^5 ?1 c" H1 N* u' s
  1618. ; Default Value: On
    7 F' i3 u/ N& W0 j! }
  1619. ; Development Value: On
    $ w7 I1 i! |* _6 l* j, M
  1620. ; Production Value: On
    2 `3 \4 C8 Q' D
  1621. ; http://php.net/session.upload-progress.cleanup
    7 ]0 P$ ]. ?5 c, n
  1622. ;session.upload_progress.cleanup = On
    & H& O( |3 D: `

  1623. # C$ j" i& ]' G* I6 s; k
  1624. ; A prefix used for the upload progress key in $_SESSION
    7 z: [0 |6 J, h! c/ O0 i( f1 ^, v
  1625. ; Default Value: "upload_progress_"
    0 s5 E3 D" u  M. I( p
  1626. ; Development Value: "upload_progress_"6 w- T8 E7 o. Z
  1627. ; Production Value: "upload_progress_"
    % J3 |. ^# V0 Q4 G8 X) u; j
  1628. ; http://php.net/session.upload-progress.prefix
    ; J) m2 X% f8 _8 D
  1629. ;session.upload_progress.prefix = "upload_progress_"
    7 R' S( Q/ P& S( q
  1630. # g  U' q; O4 t" W5 q
  1631. ; The index name (concatenated with the prefix) in $_SESSION
    * v, R: D6 d# S$ Y5 \
  1632. ; containing the upload progress information
    * P2 |: B1 J( T' M1 I! u- ^
  1633. ; Default Value: "PHP_SESSION_UPLOAD_PROGRESS"
    7 @5 p4 L. x, X1 a" u% G8 Q. t
  1634. ; Development Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ) r9 T$ ]$ q3 Z3 T0 D2 u5 a
  1635. ; Production Value: "PHP_SESSION_UPLOAD_PROGRESS"
    ' d* h$ ~0 Y6 R5 Z
  1636. ; http://php.net/session.upload-progress.name% g( d0 ^. f& n( M7 k$ }" O: D
  1637. ;session.upload_progress.name = "PHP_SESSION_UPLOAD_PROGRESS"
    & _$ I" Z9 s0 N% W9 {
  1638. : T# s  V# Q" e
  1639. ; How frequently the upload progress should be updated.
    0 x$ G% S0 I2 q4 j, c, w
  1640. ; Given either in percentages (per-file), or in bytes' D" _1 \8 r+ s6 j  v/ R7 _. a( D% s
  1641. ; Default Value: "1%"& V9 k" @, m, ^* @
  1642. ; Development Value: "1%"
    / E8 ~! h1 K3 y* f: V. |! G- c) C
  1643. ; Production Value: "1%"
    - {  H6 S. L) G6 }! I* `
  1644. ; http://php.net/session.upload-progress.freq/ N" Y6 b# r5 c  T' g# L
  1645. ;session.upload_progress.freq =  "1%", E$ o: g9 Q( `: d# Y
  1646. 5 ]6 \0 @. H$ K  u8 g
  1647. ; The minimum delay between updates, in seconds
    & P. |# I/ ?# c$ a) ~( ~; [
  1648. ; Default Value: 16 d2 A& E1 x  w, L6 |- G( E& ?: W
  1649. ; Development Value: 1
    ) K0 F/ S  O2 V* `8 Y4 L3 r9 X$ }+ |
  1650. ; Production Value: 1
    $ D' i1 i) j2 n) p, t) ?( [
  1651. ; http://php.net/session.upload-progress.min-freq1 R3 r5 c, X; O5 p$ H. b  @
  1652. ;session.upload_progress.min_freq = "1"
    ' W9 W" A& Q6 v( r6 s7 C

  1653. $ e0 L( ?) A2 Z+ ?5 ^: L% e& C
  1654. [MSSQL]0 s3 Q/ G8 [% u: g7 Q( i
  1655. ; Allow or prevent persistent links.
    ' b/ M9 f  c! Q: Q6 D
  1656. mssql.allow_persistent = On- z& h: \2 T; r8 _  u3 j, T2 T0 t
  1657. 9 O. y% y' A: Y, N; g' _" b6 A
  1658. ; Maximum number of persistent links.  -1 means no limit.- H) l% [+ V; W0 x+ t: z
  1659. mssql.max_persistent = -15 ~& u8 Z* b' Y

  1660. ( M8 d7 f6 @5 h3 O+ N: Q* j+ E3 ^
  1661. ; Maximum number of links (persistent+non persistent).  -1 means no limit.9 i) N: u( U+ C0 q6 Y
  1662. mssql.max_links = -1, n( Q  ]; `8 L: X$ i' M8 Y

  1663. % i9 E# R7 c+ G# L0 c, K1 ]
  1664. ; Minimum error severity to display.
    - l! N. V+ X4 ?2 T3 {8 F
  1665. mssql.min_error_severity = 10
    , `% ]+ @6 Y2 k  Y6 J9 f* f
  1666. 8 z# \  w. V( L6 Y6 n, e7 v9 Q6 K3 q
  1667. ; Minimum message severity to display.
      P0 A4 n( y8 Z
  1668. mssql.min_message_severity = 103 p5 ]3 ~, ^. q; d/ W% G
  1669. 9 w8 x" c/ \! n- h* O6 K) s
  1670. ; Compatibility mode with old versions of PHP 3.0.+ m- s- q. v4 m7 Y
  1671. mssql.compatibility_mode = Off
    1 _% m2 w9 [1 a* s4 e8 F8 y% \
  1672. + R" S+ D( a. j3 G3 J7 K
  1673. ; Connect timeout
    0 _: `) ]  F" `8 @& E! @
  1674. ;mssql.connect_timeout = 5
    " b$ x; _; Z' h& u2 K. s
  1675. * h+ S+ g# I/ D6 w0 K
  1676. ; Query timeout) M+ l; i8 ]; ]! K8 u
  1677. ;mssql.timeout = 60
    : n& |0 m( n$ ]. e  _% [
  1678. ; m1 ~! ]# q# X
  1679. ; Valid range 0 - 2147483647.  Default = 4096.
    2 `9 d: N. C# w9 z; p. s
  1680. ;mssql.textlimit = 4096% Z7 H1 _- F* J5 ^. o

  1681. 9 K2 S4 J& W) y: L9 h- `% S
  1682. ; Valid range 0 - 2147483647.  Default = 4096.
    3 B! b8 {6 j* V- a% F8 v; L" a
  1683. ;mssql.textsize = 4096
      v/ x% @- b' z
  1684. 6 U9 T, ]7 x, q/ k; g
  1685. ; Limits the number of records in each batch.  0 = all records in one batch., e% O* K  E$ j) T1 C
  1686. ;mssql.batchsize = 0, ]7 R- N4 W0 A/ L
  1687. # A( f7 b% Y% T* G+ c* w8 r1 S
  1688. ; Specify how datetime and datetim4 columns are returned5 V0 {, o$ z+ n1 T7 t* i
  1689. ; On => Returns data converted to SQL server settings
    " e/ h* }1 N% t% p3 `+ _8 K8 Z
  1690. ; Off => Returns values as YYYY-MM-DD hh:mm:ss
    ! I2 w  O# G+ j; H. f
  1691. ;mssql.datetimeconvert = On
    * b! Z/ F  O8 @. B" e% y
  1692. ! Q) X. M5 `- k+ }
  1693. ; Use NT authentication when connecting to the server
    ( ]9 U' `/ d9 C% f( Q$ G6 r
  1694. mssql.secure_connection = Off2 A. j* w. U0 p8 n; v# g1 e# x' G

  1695. 3 e+ \1 L% \( m$ T! B+ @7 U) Q0 i* S
  1696. ; Specify max number of processes. -1 = library default. [  |4 v6 a( N5 @
  1697. ; msdlib defaults to 25
    $ h8 e' Y$ R; j# t. a: Q
  1698. ; FreeTDS defaults to 4096
    ! `8 H; P" Y7 A/ G9 x" I
  1699. ;mssql.max_procs = -1
    0 q  a3 X# D. w" K8 R) D7 P5 U

  1700. - b8 F& m+ t' j& q  N9 C3 s
  1701. ; Specify client character set.
      Y! n% w& w$ S# Y5 N
  1702. ; If empty or not set the client charset from freetds.conf is used: V- I; A3 v7 Y* @9 f) ]5 s) P) T9 }/ ^
  1703. ; This is only used when compiled with FreeTDS
    # {+ h# i4 R& t' j( Z
  1704. ;mssql.charset = "ISO-8859-1"% s' }4 F0 G* M$ R6 h

  1705. / h  F0 U7 Z, N6 w# X0 `
  1706. [Assertion]2 i$ D& X8 |5 M) [
  1707. ; Assert(expr); active by default.# r+ z0 W1 h# W$ Q, i( S( x; f
  1708. ; http://php.net/assert.active
    9 @( y0 ]5 B& c6 I! |
  1709. ;assert.active = On
    - ^0 c6 W' P- U! \2 D( t
  1710. " M3 E4 S# Z# w) u6 j
  1711. ; Issue a PHP warning for each failed assertion.$ a2 o3 k. ?( F- \6 H( H2 i$ x
  1712. ; http://php.net/assert.warning. S  ]3 Q& L, H" y  n- ~  p
  1713. ;assert.warning = On( j4 p3 m+ D+ D1 _
  1714. # n6 \1 c' U- I
  1715. ; Don't bail out by default.% E3 e% k/ ^) q: J
  1716. ; http://php.net/assert.bail0 [- e. x; l! C; a
  1717. ;assert.bail = Off/ c, D9 a5 A) \
  1718. + d, T5 L) |2 h: n: Z6 Z3 u0 ]
  1719. ; User-function to be called if an assertion fails.
    $ J1 T/ ]0 N" l4 x' t1 Y* z1 d
  1720. ; http://php.net/assert.callback
    $ X2 ?% f5 a4 d
  1721. ;assert.callback = 0
    " h! P9 _* Z) H; m/ C. e
  1722. 4 h# t2 K' Z, q4 `
  1723. ; Eval the expression with current error_reporting().  Set to true if you want7 ^  S4 ~, ]1 |; ?" ?1 d2 i- b
  1724. ; error_reporting(0) around the eval().: V, s: l! g+ f7 ?' Z( n
  1725. ; http://php.net/assert.quiet-eval; R' x5 w% i) C# _: w1 g# [
  1726. ;assert.quiet_eval = 0
    # V" J- i! R2 [7 v  v6 v! Z
  1727.   j" _* f- o$ v  `( J- A' U) N) B( L
  1728. [COM]7 {: d; ^3 u4 l. O, m
  1729. ; path to a file containing GUIDs, IIDs or filenames of files with TypeLibs
    , d) T4 K& ]- y4 N3 w
  1730. ; http://php.net/com.typelib-file  l+ S+ O2 N; y# h8 I
  1731. ;com.typelib_file =
    " X2 ^- ^8 T6 \& z9 n- a/ E
  1732. 5 |2 b0 s- @$ x5 z8 i9 x
  1733. ; allow Distributed-COM calls& v! T5 N; Y& r  V" U* ?
  1734. ; http://php.net/com.allow-dcom9 Z+ G% @+ d1 ?5 L$ X3 `
  1735. ;com.allow_dcom = true. [; d' v5 ~: v% _
  1736. $ ]) u; o+ V, `
  1737. ; autoregister constants of a components typlib on com_load()) s* b6 p4 ~: Q- v% B  R- ]
  1738. ; http://php.net/com.autoregister-typelib  c9 a1 o7 [+ O0 l1 U
  1739. ;com.autoregister_typelib = true9 r! u( A, ]+ M% a' q
  1740. , w8 ]* h5 k- d* B
  1741. ; register constants casesensitive- V+ G8 C* Y8 d, g  p$ Z
  1742. ; http://php.net/com.autoregister-casesensitive
    ) X6 R" G! n; X, N" @8 K/ }
  1743. ;com.autoregister_casesensitive = false
    5 O) g) y( O4 ]7 d& i# H
  1744. 0 w; Z/ u6 F  s' A2 r2 \
  1745. ; show warnings on duplicate constant registrations
    $ I; L' A# m( g& A6 ^- \
  1746. ; http://php.net/com.autoregister-verbose
    / A$ `" z( u; _! D
  1747. ;com.autoregister_verbose = true5 C1 h/ E" @  a& c9 e" c

  1748. & D( M2 J* o4 R: I& I- v2 y1 n# x
  1749. ; The default character set code-page to use when passing strings to and from COM objects.. v( z9 x4 t$ P0 L
  1750. ; Default: system ANSI code page
    8 Q- P) T0 [/ i  c9 {1 c% G* H1 T
  1751. ;com.code_page=
    3 E! @7 x* A6 O3 w' Q# \, i8 c- a& I

  1752. , n- g0 }2 c* B
  1753. [mbstring]! t+ E# e8 Q: U6 z* w2 A! ~
  1754. ; language for internal character representation.; O0 }7 v) b) O0 I; ~1 K, ~
  1755. ; This affects mb_send_mail() and mbstrig.detect_order.
    5 i% Q9 G: B* ?% a! b
  1756. ; http://php.net/mbstring.language
    * z8 w5 w2 z6 t; |
  1757. ;mbstring.language = Japanese
    : F  \3 V2 x; a, u6 p

  1758. . `+ r  U9 S2 ]! ~" K: J
  1759. ; Use of this INI entry is deprecated, use global internal_encoding instead.
    $ C- e1 ^2 W4 g0 [' A* u1 f0 F" ?+ F
  1760. ; internal/script encoding.
    ' k# y0 R4 ]5 \  L2 O
  1761. ; Some encoding cannot work as internal encoding. (e.g. SJIS, BIG5, ISO-2022-*)
    ( P" D6 r- Q% E- o4 m
  1762. ; If empty, default_charset or internal_encoding or iconv.internal_encoding is used.' u: ?2 m* T: t0 g3 P# {) r
  1763. ; The precedence is: default_charset < internal_encoding < iconv.internal_encoding
    9 b) l2 y5 v6 ?- U# ]4 @( j- G' l& k
  1764. ;mbstring.internal_encoding =
    8 ^6 u' j0 J2 d( n
  1765. 1 E6 @* \) k/ |8 A' o
  1766. ; Use of this INI entry is deprecated, use global input_encoding instead.3 k. h/ M1 d% k
  1767. ; http input encoding.# w+ C' \+ k+ c0 n. h5 b
  1768. ; mbstring.encoding_traslation = On is needed to use this setting.- W0 F5 z# ~  k6 U: E
  1769. ; If empty, default_charset or input_encoding or mbstring.input is used.
    - y' ^/ J. _/ |7 w2 \- I4 C
  1770. ; The precedence is: default_charset < intput_encoding < mbsting.http_input6 X' b5 l# E& v  }
  1771. ; http://php.net/mbstring.http-input% Z* K# p- d4 {$ Z* U" n
  1772. ;mbstring.http_input =
    ' H% W7 G0 _! t$ y; v3 F
  1773. 3 O* v$ c) R5 t0 H
  1774. ; Use of this INI entry is deprecated, use global output_encoding instead.! J% G  G- t+ K, T, }
  1775. ; http output encoding." M3 b! U9 a5 m2 C
  1776. ; mb_output_handler must be registered as output buffer to function.
    . s1 F4 t3 N2 s- H$ I
  1777. ; If empty, default_charset or output_encoding or mbstring.http_output is used.
    1 g. a$ E( C& G& k
  1778. ; The precedence is: default_charset < output_encoding < mbstring.http_output/ F3 Z* ?. A  o0 r# Y) W, L, ]0 J( x8 B  l
  1779. ; To use an output encoding conversion, mbstring's output handler must be set
    8 K, L9 Y; c+ A* K8 p0 e. W
  1780. ; otherwise output encoding conversion cannot be performed.: q4 I2 z0 `* z# Z9 k/ _
  1781. ; http://php.net/mbstring.http-output
    1 H* a9 B6 B8 S4 D/ x) A- z; E
  1782. ;mbstring.http_output =% A! y2 r! ^( }* {
  1783. ; [1 o" }9 P3 c
  1784. ; enable automatic encoding translation according to& }6 [) b" r7 d. H# f8 h
  1785. ; mbstring.internal_encoding setting. Input chars are
    2 s( q5 Z6 h) }$ q
  1786. ; converted to internal encoding by setting this to On.0 |, J. G, Q0 V9 G
  1787. ; Note: Do _not_ use automatic encoding translation for/ z2 j* t; Z0 u( }9 b; B9 |
  1788. ;       portable libs/applications.
    7 D0 ~. ]' v/ v9 N$ B! f" Z% m
  1789. ; http://php.net/mbstring.encoding-translation6 p( W% {, C* |5 Y# _; x- i
  1790. ;mbstring.encoding_translation = Off
    : p5 X* s! G; c: q

  1791. " k$ Y- b4 G& @+ _7 W; H
  1792. ; automatic encoding detection order.4 L# d. r3 {3 ~8 W
  1793. ; "auto" detect order is changed according to mbstring.language
      q3 H* t- m: \, A
  1794. ; http://php.net/mbstring.detect-order
    + Q' o+ h7 H% G- c/ L* x% l
  1795. ;mbstring.detect_order = auto
    - M$ o  q5 u( @( O9 I, L$ j
  1796. . H, K: a6 x+ J+ a! E" o1 d
  1797. ; substitute_character used when character cannot be converted/ ^4 f& {- t" W5 C6 G. C
  1798. ; one from another3 R4 x. R! W' l
  1799. ; http://php.net/mbstring.substitute-character
    : Q- n: t2 ]: h5 @; F
  1800. ;mbstring.substitute_character = none
    & l+ ?- R3 P3 g0 _" V

  1801. 7 _+ A" R: q4 X) Z4 [! I/ o
  1802. ; overload(replace) single byte functions by mbstring functions., \& p8 C' J! {, R, U& Y/ [
  1803. ; mail(), ereg(), etc are overloaded by mb_send_mail(), mb_ereg(),! l2 K% R, r( x! m. v
  1804. ; etc. Possible values are 0,1,2,4 or combination of them.' C7 L/ c2 N) Y3 n' N  H
  1805. ; For example, 7 for overload everything.
    0 Y# X. A. Z8 F' Z6 L
  1806. ; 0: No overload
    / m3 G# ?4 S7 {' F
  1807. ; 1: Overload mail() function& }% Q) I3 F- y& X
  1808. ; 2: Overload str*() functions) T9 c- o" Y) ~8 v/ H
  1809. ; 4: Overload ereg*() functions
    0 I: H1 |  E) I5 p
  1810. ; http://php.net/mbstring.func-overload' a; Z0 h* [( x6 P- C, j/ _
  1811. ;mbstring.func_overload = 0
    5 i) W+ @7 d$ X" X+ d
  1812. ; r! F, O% ?6 a+ _2 n8 ]8 e
  1813. ; enable strict encoding detection.; Y: y  v$ `8 _
  1814. ; Default: Off: K  X1 h2 ?8 }! o+ [8 f' v& B, ?1 k4 v
  1815. ;mbstring.strict_detection = On
    / U3 W0 z- A& q1 `1 q' {

  1816. ' B* A  X$ [0 _& F$ z' O
  1817. ; This directive specifies the regex pattern of content types for which mb_output_handler()
    ! w* ]2 H. y" t3 H0 |6 l6 ~1 t; h
  1818. ; is activated.! R4 J/ E2 h8 w5 p3 G- ~
  1819. ; Default: mbstring.http_output_conv_mimetype=^(text/|application/xhtml\+xml)5 |: J8 ^1 P' P6 V, G" o
  1820. ;mbstring.http_output_conv_mimetype=
    + R4 q! S; X) l3 ^- K5 [2 Q
  1821. ; Q3 a$ v2 P4 p( [; p( M/ Q& ~" e; ~
  1822. [gd]
    * }- O4 `2 D' `, T- u- e
  1823. ; Tell the jpeg decode to ignore warnings and try to create
    + z% K& U( a4 B2 g
  1824. ; a gd image. The warning will then be displayed as notices! u5 Z4 Y7 z7 x
  1825. ; disabled by default
    . Y8 `4 t3 R! Z* S- h$ P
  1826. ; http://php.net/gd.jpeg-ignore-warning5 J$ d8 v9 O9 F5 i2 H. r
  1827. ;gd.jpeg_ignore_warning = 0
    ; t9 t" Y6 R' s4 c% N# p; r

  1828. / Z; v% K6 K- G2 R# T2 L
  1829. [exif]
    4 [5 S5 T! M5 b& m; N0 |: W1 q! d
  1830. ; Exif UNICODE user comments are handled as UCS-2BE/UCS-2LE and JIS as JIS.* W6 J- A( ], d* A
  1831. ; With mbstring support this will automatically be converted into the encoding* l1 O( V: r/ I) ?2 ?& e& q- O
  1832. ; given by corresponding encode setting. When empty mbstring.internal_encoding
    * w6 D/ X  v% e! J! y8 t
  1833. ; is used. For the decode settings you can distinguish between motorola and  l4 |7 L2 Z. W- b& ]
  1834. ; intel byte order. A decode setting cannot be empty.% u) u3 S  V6 v
  1835. ; http://php.net/exif.encode-unicode2 |0 A$ V" Z7 W& ~
  1836. ;exif.encode_unicode = ISO-8859-15+ [: G5 i- d. \0 W
  1837. * E6 Y# V7 N9 r; z+ _2 F9 T
  1838. ; http://php.net/exif.decode-unicode-motorola
    : _+ F3 c6 v( O$ B: z8 J/ ]5 R( v
  1839. ;exif.decode_unicode_motorola = UCS-2BE/ u/ P! J5 E4 ?: p5 G( J2 Y

  1840. 2 }8 m' m2 C5 p' s
  1841. ; http://php.net/exif.decode-unicode-intel2 C( J3 y6 B0 Y* ?
  1842. ;exif.decode_unicode_intel    = UCS-2LE8 z7 Q  c8 b& ~* s6 J- ?9 ]

  1843. " F) G  `$ o* u: s
  1844. ; http://php.net/exif.encode-jis- {) i. j% f5 V1 d
  1845. ;exif.encode_jis =* o  }- x3 o. h7 N1 @1 M
  1846. : u5 V+ M* Z" l* L$ ]
  1847. ; http://php.net/exif.decode-jis-motorola
    5 Q* ^6 u; k; u. J$ c
  1848. ;exif.decode_jis_motorola = JIS
    8 w& [/ N" s1 L9 a# j7 Y

  1849. ' ?7 O! S) `3 e( M3 t) e
  1850. ; http://php.net/exif.decode-jis-intel
    & ], \. B* ?9 ]# b/ m5 ^7 A! o
  1851. ;exif.decode_jis_intel    = JIS
    7 I9 E: B' [! P3 K6 _- I6 R: ?

  1852. & [# \7 Y7 g6 m# }7 e8 c& g( B: Y
  1853. [Tidy]5 B- d) n: j- a* o7 s6 m
  1854. ; The path to a default tidy configuration file to use when using tidy$ p1 [0 r# u# s2 v* {1 u
  1855. ; http://php.net/tidy.default-config
    ' K4 Q5 Z' P" Q- Q6 \
  1856. ;tidy.default_config = /usr/local/lib/php/default.tcfg
    & J8 Q6 [4 {, o4 q/ e

  1857. $ Q3 G! d, n) F& b9 S+ l
  1858. ; Should tidy clean and repair output automatically?
    8 c( F' K8 O# S
  1859. ; WARNING: Do not use this option if you are generating non-html content
    7 A$ t- j; t0 o( k% n$ c- X0 u
  1860. ; such as dynamic images
    0 Y  s) f2 O& j- `3 a0 g! H6 {0 B
  1861. ; http://php.net/tidy.clean-output+ B! K! B* p+ m  o3 j
  1862. tidy.clean_output = Off
    : t& f3 n& u# i) P! J
  1863. " J, r/ A' z  U9 q
  1864. [soap]7 E. u. g" Z- K& {5 }( J; W
  1865. ; Enables or disables WSDL caching feature.
    ; T0 [% s) N1 y( J
  1866. ; http://php.net/soap.wsdl-cache-enabled+ N' J, b5 m7 @$ k( X  X  @
  1867. soap.wsdl_cache_enabled=1
    4 O4 t0 }6 M; L" |4 m

  1868. - v4 E; }) i( o( E1 m: c. p
  1869. ; Sets the directory name where SOAP extension will put cache files.
    $ b" a/ l* a  A7 s: ~
  1870. ; http://php.net/soap.wsdl-cache-dir# b. B" m1 `0 J7 E$ v/ U
  1871. soap.wsdl_cache_dir="/tmp"3 {: e* v* k% ~, h0 R
  1872. % d' H# J0 z% h7 Q( _1 h
  1873. ; (time to live) Sets the number of second while cached file will be used9 K+ c) [/ u# |* Q% T- U
  1874. ; instead of original one.% H% Y. U3 t5 K9 Y2 U' M% {
  1875. ; http://php.net/soap.wsdl-cache-ttl
    $ V4 P! R7 a! n* b9 G2 s1 u
  1876. soap.wsdl_cache_ttl=86400
    % G3 h5 _+ U! J% P) [
  1877. # Z) U8 y1 [+ Q# M! f3 x5 M
  1878. ; Sets the size of the cache limit. (Max. number of WSDL files to cache)
    ; I: ]6 O- T* B# L
  1879. soap.wsdl_cache_limit = 5
    / u& {4 B/ y- k4 Z7 M
  1880. 7 B) j6 B: y, g+ ]9 t8 P, _
  1881. [sysvshm]: @$ M# S) o# b9 r6 C, `
  1882. ; A default size of the shared memory segment5 Q9 s* R9 o0 U" @
  1883. ;sysvshm.init_mem = 10000% z2 r2 k  e' H4 F, @
  1884. - D9 d0 G( Y+ [5 Y9 t) s, i
  1885. [ldap]; x3 z4 O, R( |# C1 {
  1886. ; Sets the maximum number of open links or -1 for unlimited.
    - v' p# {, Y1 f/ d( o7 P$ q8 |7 e
  1887. ldap.max_links = -1
    & K) N& _0 e6 r
  1888. $ t2 }6 T# x, V2 L
  1889. [mcrypt]
    ! }8 B9 t0 P( p  x6 B0 u
  1890. ; For more information about mcrypt settings see http://php.net/mcrypt-module-open; B( q+ f! |& K4 M; Z

  1891. ! l! k6 o- n$ ]/ \
  1892. ; Directory where to load mcrypt algorithms
    ! @7 A5 O; w0 D" m. i& n+ c8 x: M3 p
  1893. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt): S; H! W, X5 d5 [
  1894. ;mcrypt.algorithms_dir=2 {8 Q: W9 c1 l- g/ H- `

  1895. ) F% |. T: a( P+ E
  1896. ; Directory where to load mcrypt modes
    5 i+ B) P. C5 D- x" p' E, R* `
  1897. ; Default: Compiled in into libmcrypt (usually /usr/local/lib/libmcrypt)' p7 y1 }; d7 j" {) f" [
  1898. ;mcrypt.modes_dir=7 C3 {' m  G* C7 Q! E

  1899. , l+ s8 w/ {4 O( r
  1900. [dba]
    + h' C3 Q! b4 C3 b
  1901. ;dba.default_handler=
    * b5 w% [. p; O' c
  1902.   k" ]3 |/ p# e
  1903. [opcache]; r  D& l5 q8 U, I, ~- U& y
  1904. ; Determines if Zend OPCache is enabled* `+ x% c1 B' \/ R8 S+ O
  1905. ;opcache.enable=0
    9 x7 k3 s, D: I0 d0 s" Z
  1906. 4 O: U7 b9 ?* B; S
  1907. ; Determines if Zend OPCache is enabled for the CLI version of PHP
    9 y/ l0 i, X3 A+ h% n
  1908. ;opcache.enable_cli=0
    5 Z9 F2 d& P  |% c; g3 v6 p$ W
  1909. 5 c+ ?3 y- ?1 t/ S& y- ]$ @, A3 u# b
  1910. ; The OPcache shared memory storage size.
    ) M+ s! W& G) m% K5 X- V; A$ h, y3 k
  1911. ;opcache.memory_consumption=64
    * C+ D. O* g' S
  1912. , j1 G: I% ~3 H% |/ }4 i
  1913. ; The amount of memory for interned strings in Mbytes.' R: r+ M- d) ^# ?6 y( b+ ~
  1914. ;opcache.interned_strings_buffer=4
    & }" p: B- c' @* B9 Y0 Y1 r
  1915. 1 J5 u7 H5 B+ N$ q
  1916. ; The maximum number of keys (scripts) in the OPcache hash table.
    6 H& E  b2 ?" Z0 x0 W
  1917. ; Only numbers between 200 and 100000 are allowed.! H& F" i* g) M
  1918. ;opcache.max_accelerated_files=2000+ n( H+ u9 \8 F3 K
  1919. " ^. B! H9 N7 @
  1920. ; The maximum percentage of "wasted" memory until a restart is scheduled.
    8 `+ z0 t, x& v
  1921. ;opcache.max_wasted_percentage=5
    # y4 z" a, f# @( C; ^; F  f

  1922. 4 t4 J6 l0 b! S) R
  1923. ; When this directive is enabled, the OPcache appends the current working' v8 P( o% P2 C* v# ]* n8 C1 s
  1924. ; directory to the script key, thus eliminating possible collisions between% D. p* W+ O, W: i9 [; B1 v
  1925. ; files with the same name (basename). Disabling the directive improves
    + R: ~6 _9 G$ X' V8 b$ L& C7 |- D
  1926. ; performance, but may break existing applications.
    ; B0 N+ Z4 {3 b) x$ U' z
  1927. ;opcache.use_cwd=1
    # J1 ?3 x- Q$ `- |+ H9 p

  1928. / V' y* r' D2 U5 P/ L9 K2 k
  1929. ; When disabled, you must reset the OPcache manually or restart the( b* K$ L, L- ~; R! C8 G
  1930. ; webserver for changes to the filesystem to take effect.
    7 ?0 D+ R" |$ Q5 {% ]& M; G1 E. ^
  1931. ;opcache.validate_timestamps=1
    . B# Y% N0 H# T9 G

  1932. ( C( p9 z5 N) u  J- |1 X
  1933. ; How often (in seconds) to check file timestamps for changes to the shared
    / R( K7 w# Q6 V$ s& `/ h" T$ \
  1934. ; memory storage allocation. ("1" means validate once per second, but only4 {: t1 H7 x3 a- Z6 r
  1935. ; once per request. "0" means always validate)8 }. r$ Z/ i2 K# X" a/ @& L( J
  1936. ;opcache.revalidate_freq=2
    & [5 ?4 e9 V2 r: T( [/ B
  1937. " T* K" o: i/ d. K
  1938. ; Enables or disables file search in include_path optimization/ w# ?. ^' c: r0 f) e
  1939. ;opcache.revalidate_path=0: O( G3 x: |' e$ M! l$ E
  1940.   x1 _) x* f5 C; w- Y# f
  1941. ; If disabled, all PHPDoc comments are dropped from the code to reduce the
    0 l/ m- G# l, \8 i: Z1 o$ [7 y
  1942. ; size of the optimized code.+ x3 v( M6 V* `! x, u2 n
  1943. ;opcache.save_comments=1) l* J% X5 t. s. m9 \4 a1 P
  1944. 4 S& t. r# q# _: v
  1945. ; If disabled, PHPDoc comments are not loaded from SHM, so "Doc Comments"
    , a" F5 ^9 v0 r( _8 I
  1946. ; may be always stored (save_comments=1), but not loaded by applications  L6 u' K# N0 I5 `( t/ _
  1947. ; that don't need them anyway.5 P- @! z3 C4 |8 ^5 X7 `. V
  1948. ;opcache.load_comments=1
    ' ^# l7 V) e0 l2 i7 i9 K1 Q7 U. ]4 n& C6 ?

  1949.   l9 w; m6 e5 G0 [' {; a
  1950. ; If enabled, a fast shutdown sequence is used for the accelerated code
    ! [5 L* |: p; ?+ d' A
  1951. ;opcache.fast_shutdown=0$ h: E% E' Q) f7 l, ^& s2 k& E
  1952. 9 z% D% V$ H  ]$ _9 r
  1953. ; Allow file existence override (file_exists, etc.) performance feature.( v5 e9 [5 k( M; G
  1954. ;opcache.enable_file_override=0% u0 u8 K1 {. d! ^
  1955.   c. o2 l0 J+ U. W  u$ I2 n
  1956. ; A bitmask, where each bit enables or disables the appropriate OPcache
    1 Q; G: A# F+ F- |4 [3 |
  1957. ; passes: e; v0 ?& E) K
  1958. ;opcache.optimization_level=0xffffffff
    9 y' z$ U  m4 W( u3 ^( I1 G' n
  1959. 5 _" [* R5 Y3 s9 |- J; j, L
  1960. ;opcache.inherited_hack=1
    - W) m/ l3 ?4 V
  1961. ;opcache.dups_fix=0
    5 `+ t* c# j* L' _2 F6 K0 ?

  1962. * t: y! B2 h7 w: X+ R9 z- S
  1963. ; The location of the OPcache blacklist file (wildcards allowed).( P! ?# u: c: K, \) w
  1964. ; Each OPcache blacklist file is a text file that holds the names of files3 w; ]5 N# x* U5 Q& }
  1965. ; that should not be accelerated. The file format is to add each filename6 f0 o7 B! [; V0 Q1 S4 c
  1966. ; to a new line. The filename may be a full path or just a file prefix
    6 [. |, @" N, f- g( T
  1967. ; (i.e., /var/www/x  blacklists all the files and directories in /var/www
    1 h) R9 P# o8 h
  1968. ; that start with 'x'). Line starting with a ; are ignored (comments).3 s; L/ G" Z5 }0 y
  1969. ;opcache.blacklist_filename=, ~8 |& j- y  h: |5 Z

  1970. + h# Q1 w- s0 l0 f/ b) Q
  1971. ; Allows exclusion of large files from being cached. By default all files# l  ^& P8 R0 v0 `, y
  1972. ; are cached., j0 y8 `+ A  Q) Q
  1973. ;opcache.max_file_size=0
    9 y* H2 a! u' p1 i

  1974. " q& c% v" b  W& C: R, p  k6 n. w5 H! Z
  1975. ; Check the cache checksum each N requests.
    7 p9 ?/ g0 f- ?7 C! y
  1976. ; The default value of "0" means that the checks are disabled.) W9 R  p9 C% b6 h; h
  1977. ;opcache.consistency_checks=09 s) O9 v# d$ q
  1978. ( i- _* d4 K8 @) }9 q2 M
  1979. ; How long to wait (in seconds) for a scheduled restart to begin if the cache
    ; H0 A( @- ?# \( A. m$ J
  1980. ; is not being accessed.9 t* g* G! C: r
  1981. ;opcache.force_restart_timeout=180
    8 W8 h8 _2 v% B! y, ~2 J

  1982. 9 ?" f) v( X/ Q9 `
  1983. ; OPcache error_log file name. Empty string assumes "stderr".
    ( h! [1 t+ U: D
  1984. ;opcache.error_log=, ~5 Z4 _# O, s  G- `
  1985. 2 _) e" _" w+ w8 }- b) _: m
  1986. ; All OPcache errors go to the Web server log.
    & c; R6 Q/ g$ I, ^% z7 Q; }
  1987. ; By default, only fatal errors (level 0) or errors (level 1) are logged.! l2 O6 Z/ z! S2 I
  1988. ; You can also enable warnings (level 2), info messages (level 3) or
    : Z4 k  l/ j& N$ D- O/ D  [
  1989. ; debug messages (level 4).
      C' {3 D( P. A& C
  1990. ;opcache.log_verbosity_level=1
      ]) ?! j1 U3 b# k
  1991. . ^( h9 C8 G1 g; G
  1992. ; Preferred Shared Memory back-end. Leave empty and let the system decide.
    0 B9 R. k( G, p% w  y; i
  1993. ;opcache.preferred_memory_model=
    ) ]& v- q  w- l' q; _
  1994. 6 n; V6 x+ \9 @* L: ~3 u0 G* b
  1995. ; Protect the shared memory from unexpected writing during script execution.
    9 R) a7 B% ^- s1 `
  1996. ; Useful for internal debugging only.
    % P, F  L9 w& L7 y
  1997. ;opcache.protect_memory=0
    & a' ^% ]6 N9 J6 y2 \! \$ a

  1998. & z0 b$ n7 |: y& B
  1999. ; Validate cached file permissions.
    8 U+ E8 U; Y( s
  2000. ; opcache.validate_permission=0
    & r' s. W- s% b& b9 Z9 v- E# `  X
  2001. 9 f8 _- u, F4 V* r* g9 ?
  2002. ; Prevent name collisions in chroot'ed environment.7 c$ m9 }) D8 o1 i( Q
  2003. ; opcache.validate_root=05 N, J" ~1 V- E/ @& Z8 R' e' u
  2004. 4 c( a/ J( F6 M4 M& s/ c8 G
  2005. [curl]
    ( t7 G: `- g% H7 k) J( c6 C) h
  2006. ; A default value for the CURLOPT_CAINFO option. This is required to be an* n  G' I( K: ?( S* Y9 _8 q
  2007. ; absolute path.: K' `2 V5 p3 W9 ~, {) b! W0 n: V
  2008. curl.cainfo = /etc/pki/tls/certs/ca-bundle.crt0 ~$ x9 v9 Y* @1 z
  2009. 0 E$ Z. C  u, Z/ Q- i, F
  2010. [openssl]- N% ^0 c- d& ~& l
  2011. ; The location of a Certificate Authority (CA) file on the local filesystem
    $ }8 o" E1 d5 O) X  ]
  2012. ; to use when verifying the identity of SSL/TLS peers. Most users should
    " n. H' X; h7 m2 u
  2013. ; not specify a value for this directive as PHP will attempt to use the6 Z6 W; X5 S4 B. H
  2014. ; OS-managed cert stores in its absence. If specified, this value may still
    1 X% }% A4 f1 x4 ^$ K7 L& G
  2015. ; be overridden on a per-stream basis via the "cafile" SSL stream context. @; Z/ \' N0 K" D* P# z5 }8 f: p
  2016. ; option.
    - m8 ]" q7 U) z1 S
  2017. openssl.cafile=/etc/pki/tls/certs/ca-bundle.crt3 i+ h- t1 M3 h% Q; A* l/ w+ p

  2018. ! R- L4 c7 F7 A5 }# X* ?! |4 N
  2019. ; If openssl.cafile is not specified or if the CA file is not found, the  {# m8 ?8 v2 S  v* \6 @8 X3 c
  2020. ; directory pointed to by openssl.capath is searched for a suitable
    . K( g, K% ?' N& K3 t( {
  2021. ; certificate. This value must be a correctly hashed certificate directory.4 X' {( `* n0 G- N
  2022. ; Most users should not specify a value for this directive as PHP will
    % W' H! q0 x' D8 `/ j
  2023. ; attempt to use the OS-managed cert stores in its absence. If specified,9 z# J# V0 f# c1 H4 d0 E1 [
  2024. ; this value may still be overridden on a per-stream basis via the "capath"1 {/ S" P- T2 `8 M8 G
  2025. ; SSL stream context option.& f5 j* }9 t4 ^
  2026. ;openssl.capath=
      h4 o5 J, |: ~3 Q

  2027. , ?9 x5 h- p+ Z) g$ @2 P, U) A
  2028. ; Local Variables:1 f! r( W7 ^' t# a' h' }3 e1 I/ z
  2029. ; tab-width: 4
    ; K9 G" j( j0 ?; Z- w% [
  2030. ; End:3 t! V3 A4 d: V  h5 A
  2031. ; B' q$ V) A) q! A
  2032. ;eaccelerator
    5 e, [, n: E. a! J% o. v1 P( o
  2033. $ Z4 M4 T* ?1 N6 B* A
  2034. ;ionCube
    ! v: I& z' q1 M% G
  2035. ) L1 ]2 l9 }6 k; a+ Q
  2036. ;opcache
    3 E$ D9 |/ A9 C3 g9 _3 ?. A+ q

  2037. 6 S! c) Z9 v- m$ k
  2038. [Zend ZendGuard Loader]' o0 `: ]2 V$ S* p
  2039. zend_extension=/usr/local/zend/php56/ZendGuardLoader.so
    ' i) e  T( n+ P6 x
  2040. zend_loader.enable=1* n" V9 r/ e. }
  2041. zend_loader.disable_licensing=0
    + S6 _, t; Y, \& \) f2 `3 p
  2042. zend_loader.obfuscation_level_support=3
    : M: ~5 N+ ?. t- G
  2043. zend_loader.license_path=$ w, X9 @* J8 Q# I" W

  2044. 0 ~9 B, K5 j- I7 F+ N+ r. m& i' D
  2045. ;xcache6 ~1 }& `& b5 o" g6 Z# _$ F

  2046. ; G' j* b  [6 i2 F$ \/ d
复制代码
关注微信公众号《神采飞扬网》,即可获取最新回复通知!
 楼主| 发表于 2018-11-21 10:30:16 | 显示全部楼层
https://blog.csdn.net/cangyingaoyou/article/details/81814692
/ r8 J; r, G3 r# [8 l
- j: o# W* H7 r% s" K. O
+ i  K9 ?1 {% Z6 B" GDiscuz!是一套通用的社区论坛软件系统,草根站长可以很轻松上手的搭建出来一个论坛、门户、地方网站等网站出来,6 E2 J, g% d% S5 H

+ u% S3 ~# Q5 d& ]0 o# yDiscuz!程序版本选择:5 q, e! Q) r4 D1 j- P
站长在刚选用Discuz!建站的时候对目前市面流行的Discuz! X3.4、Discuz!X3.3、Discuz!X3.2、Discuz!F1.0、Discuz!+ SlimBBS Team等官方的、民审作者的、爱好者的众多版本,其中Discuz!X3.2 和 Discuz!F1.0 在站长的选择和使用中最常见,
, I" F8 e  a: I: r% N5 {不推荐站长选择安装Discuz!F1.0 ,如果建站运营请选择 Discuz!X3.2 ,支持https(ssl)建议选择 Discuz! X3.4:
2 j1 V0 t  S$ ?$ {Discuz!F1.0 是应用中心民审、作者爱好者合作基于 Discuz!官方Discuz!X3.2、Discuz!X3.3、Discuz! X3.4版本之上推出的基于PHP 7.1、mysql 5.8最新环境适配、精简的Discuz!论坛程序,目前对Discuz!F1.0 的支持应用DZ插件、DZ模板都相对较少,很多DZ插件、DZ模板对Discuz!F1.0 的支持性也较少,根据目前站长普遍的反馈而言,使用Discuz!F1.0 建站的站长遇到的问题往往比较繁琐,且目前民审、开发作者、爱好者出品的Discuz!F1.0 版本已经处于停摆之中,站长最终都选择了Discuz!F1.0 降级为 Discuz!X3.2、Discuz!X3.3、Discuz! X3.4。
3 @1 q1 \1 _8 X" h7 u/ P. x9 D  L- h
' w& D* ?9 G; w+ g: i: D, E: uDiscuz!插件模板版本选择:- \& I3 X4 W; N7 V' d4 ]. k
很多站长也问到有些老的DZ插件、DZ模板写的适合Discuz!X3、Discuz!X3.1,是否可以使用在Discuz!X3.2上面,
0 R5 x) O  n& H# F8 L针对这个问题做个统一的普及:) i6 ?/ S# g8 Z$ ^1 ~0 }) ]! z/ M
X3.2 是X3版本以来的最终修订版   X3 X3.1 X3.2 X3.3 X3.4 都是X3版本  .1 .2表示修订版本号,Discuz!X3.2 是Discuz!X3系列最终稳定版本,Discuz! X3.4是DZ仅次于官方的开发维护版本。) _4 `; _* I& n$ c/ R
4 l: T+ M6 ^" |( ]
所以2 N$ F' v$ u- X) G. K. R
适合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的二级域名。
7 v4 }6 y3 [9 ^: A) I打开“301重定向”的参数栏,我们在第一个访问域名的选择栏选中主域名。切记不要选择整站!目标URL就填写http://www.***.com。然后在浏览器上输入主域名测试ok了。
& O6 y: ]" N1 O( s0 l9 X8 Z- R注意事项,“301重定向”的时候不要选择整站或者www的域名,否则会出现重定向次数过多,或者循环重定向报错。
关注微信公众号《神采飞扬网》,即可获取最新回复通知!

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

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

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

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

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